{"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": 0, "Length": 401, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_print_operand_reloc", "(", "FILE", "*", "file", ",", "rtx", "op", ",", "bool", "hi_reloc", ")", "{", "const", "char", "*", "reloc", ";", "switch", "(", "riscv_classify_symbolic_expression", "(", "op", ")", ")", "{", "case", "SYMBOL_ABSOLUTE", ":", "reloc", "=", "hi_reloc", "?", "\"%hi\"", ":", "\"%lo\"", ";", "break", ";", "case", "SYMBOL_PCREL", ":", "reloc", "=", "hi_reloc", "?", "\"%pcrel_hi\"", ":", "\"%pcrel_lo\"", ";", "break", ";", "case", "SYMBOL_TLS_LE", ":", "reloc", "=", "hi_reloc", "?", "\"%tprel_hi\"", ":", "\"%tprel_lo\"", ";", "break", ";", "default", ":", "output_operand_lossage", "(", "\"invalid use of '%%%c'\"", ",", "hi_reloc", "?", "'h'", ":", "'R'", ")", ";", "return", ";", "}", "fprintf", "(", "file", ",", "\"%s(\"", ",", "reloc", ")", ";", "output_addr_const", "(", "file", ",", "riscv_strip_unspec_address", "(", "op", ")", ")", ";", "fputc", "(", "')'", ",", "file", ")", ";", "}", ""], "natrual_language": ["Print", "symbolic", "operand", "OP", ",", "which", "is", "part", "of", "a", "HIGH", "or", "LO_SUM", "in", "context", "CONTEXT", ".", "HI_RELOC", "indicates", "a", "high-part", "reloc", "."], "TS_V_token": ["riscv", "\"%hi\"", "\"%lo\"", "\"%pcrel_hi\"", "\"%pcrel_lo\"", "\"%tprel_hi\"", "\"%tprel_lo\"", "\"invalid use of '%%%c'\"", "\"%s(\""], "File": "riscv", "Func": "riscv_print_operand_reloc", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "RISCVTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "StringRef", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'r'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "RISCV", "::", "GPRRegClass", ")", ";", "default", ":", "break", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "TRI", ",", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["RISCV", "RISCV", "1", "0", "0U", "RISCV::GPRRegClass"], "File": "RISCVISelLowering", "Func": "getRegForInlineAsmConstraint", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "function_builder", "::", "append_name", "(", "const", "char", "*", "name", ")", "{", "obstack_grow", "(", "&", "m_string_obstack", ",", "name", ",", "strlen", "(", "name", ")", ")", ";", "}", ""], "natrual_language": ["Add", "NAME", "to", "the", "end", "of", "the", "function", "name", "being", "built", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "append_name", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "machine_mode", "function_checker", "::", "arg_mode", "(", "unsigned", "int", "argno", ")", "const", "{", "return", "TYPE_MODE", "(", "TREE_TYPE", "(", "m_args", "[", "argno", "]", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "machine_mode", "of", "the", "corresponding", "arg", "type", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "arg_mode", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4, "Length": 25, "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", "(", ")", ";", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", "->", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "*", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlign", "(", "FI", ")", ")", ";", "unsigned", "Opcode", ";", "if", "(", "RISCV", "::", "GPRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "TRI", "->", "getRegSizeInBits", "(", "RISCV", "::", "GPRRegClass", ")", "==", "32", "?", "RISCV", "::", "LW", ":", "RISCV", "::", "LD", ";", "else", "if", "(", "RISCV", "::", "FPR16RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "RISCV", "::", "FLH", ";", "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", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", ""], "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::FPR16RegClass", "RISCV::FLH", "RISCV::FPR32RegClass", "RISCV::FLW", "RISCV::FPR64RegClass", "RISCV::FLD", "\"Can't load this register from stack slot\"", "0"], "File": "RISCVInstrInfo19", "Func": "loadRegFromStackSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5, "Length": 238, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "compare_lmul", "(", "vlmul_type", "vlmul1", ",", "vlmul_type", "vlmul2", ")", "{", "if", "(", "vlmul1", "==", "vlmul2", ")", "return", "0", ";", "switch", "(", "vlmul1", ")", "{", "case", "LMUL_1", ":", "if", "(", "vlmul2", "==", "LMUL_2", "||", "vlmul2", "==", "LMUL_4", "||", "vlmul2", "==", "LMUL_8", ")", "return", "1", ";", "else", "return", "-", "1", ";", "case", "LMUL_2", ":", "if", "(", "vlmul2", "==", "LMUL_4", "||", "vlmul2", "==", "LMUL_8", ")", "return", "1", ";", "else", "return", "-", "1", ";", "case", "LMUL_4", ":", "if", "(", "vlmul2", "==", "LMUL_8", ")", "return", "1", ";", "else", "return", "-", "1", ";", "case", "LMUL_8", ":", "return", "-", "1", ";", "case", "LMUL_F2", ":", "if", "(", "vlmul2", "==", "LMUL_1", "||", "vlmul2", "==", "LMUL_2", "||", "vlmul2", "==", "LMUL_4", "||", "vlmul2", "==", "LMUL_8", ")", "return", "1", ";", "else", "return", "-", "1", ";", "case", "LMUL_F4", ":", "if", "(", "vlmul2", "==", "LMUL_F2", "||", "vlmul2", "==", "LMUL_1", "||", "vlmul2", "==", "LMUL_2", "||", "vlmul2", "==", "LMUL_4", "||", "vlmul2", "==", "LMUL_8", ")", "return", "1", ";", "else", "return", "-", "1", ";", "case", "LMUL_F8", ":", "return", "0", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["return", "0", "if", "LMUL1", "==", "LMUL2", ".", "return", "-1", "if", "LMUL1", "<", "LMUL2", ".", "return", "1", "if", "LMUL1", ">", "LMUL2", "."], "TS_V_token": ["riscv", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0"], "File": "riscv-vsetvl", "Func": "compare_lmul", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVAsmParser", "::", "validateTargetOperandClass", "(", "MCParsedAsmOperand", "&", "AsmOp", ",", "unsigned", "Kind", ")", "{", "RISCVOperand", "&", "Op", "=", "static_cast", "<", "RISCVOperand", "&", ">", "(", "AsmOp", ")", ";", "if", "(", "!", "Op", ".", "isReg", "(", ")", ")", "return", "Match_InvalidOperand", ";", "unsigned", "Reg", "=", "Op", ".", "getReg", "(", ")", ";", "bool", "IsRegFPR32", "=", "RISCVMCRegisterClasses", "[", "RISCV", "::", "FPR32RegClassID", "]", ".", "contains", "(", "Reg", ")", ";", "bool", "IsRegFPR32C", "=", "RISCVMCRegisterClasses", "[", "RISCV", "::", "FPR32CRegClassID", "]", ".", "contains", "(", "Reg", ")", ";", "if", "(", "(", "IsRegFPR32", "&&", "Kind", "==", "MCK_FPR64", ")", "||", "(", "IsRegFPR32C", "&&", "Kind", "==", "MCK_FPR64C", ")", ")", "{", "Op", ".", "Reg", ".", "RegNum", "=", "convertFPR32ToFPR64", "(", "Reg", ")", ";", "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": ["RISCV", "RISCV", "RISCV", "RISCV", "RISCV", "RISCV::FPR32RegClassID", "RISCV", "RISCV::FPR32CRegClassID"], "File": "RISCVAsmParser", "Func": "validateTargetOperandClass", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_vector_mode_supported_p", "(", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_VECTOR", ")", "return", "riscv_v_ext_vector_mode_p", "(", "mode", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VECTOR_MODE_SUPPORTED_P", "."], "TS_V_token": ["riscv"], "File": "riscv1", "Func": "riscv_vector_mode_supported_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "RISCVTTIImpl", "::", "getMinMaxReductionCost", "(", "VectorType", "*", "Ty", ",", "VectorType", "*", "CondTy", ",", "bool", "IsUnsigned", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "if", "(", "!", "isa", "<", "FixedVectorType", ">", "(", "Ty", ")", ")", "return", "BaseT", "::", "getMinMaxReductionCost", "(", "Ty", ",", "CondTy", ",", "IsUnsigned", ",", "CostKind", ")", ";", "if", "(", "!", "ST", "->", "useRVVForFixedLengthVectors", "(", ")", ")", "return", "BaseT", "::", "getMinMaxReductionCost", "(", "Ty", ",", "CondTy", ",", "IsUnsigned", ",", "CostKind", ")", ";", "if", "(", "Ty", "->", "getScalarSizeInBits", "(", ")", ">", "ST", "->", "getELEN", "(", ")", ")", "return", "BaseT", "::", "getMinMaxReductionCost", "(", "Ty", ",", "CondTy", ",", "IsUnsigned", ",", "CostKind", ")", ";", "InstructionCost", "BaseCost", "=", "2", ";", "unsigned", "VL", "=", "cast", "<", "FixedVectorType", ">", "(", "Ty", ")", "->", "getNumElements", "(", ")", ";", "std", "::", "pair", "<", "InstructionCost", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "Ty", ")", ";", "return", "(", "LT", ".", "first", "-", "1", ")", "+", "BaseCost", "+", "Log2_32_Ceil", "(", "VL", ")", ";", "}", ""], "natrual_language": ["Try", "to", "calculate", "op", "costs", "for", "min/max", "reduction", "operations", "."], "TS_V_token": ["RISCV", "RISCV", "2", "1"], "File": "RISCVTargetTransformInfo10", "Func": "getMinMaxReductionCost", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "riscv_address_insns", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "bool", "might_split_p", ")", "{", "struct", "riscv_address_info", "addr", "=", "{", "}", ";", "int", "n", "=", "1", ";", "if", "(", "!", "riscv_classify_address", "(", "&", "addr", ",", "x", ",", "mode", ",", "false", ")", ")", "{", "return", "3", ";", "}", "if", "(", "!", "riscv_v_ext_vector_mode_p", "(", "mode", ")", "&&", "mode", "!=", "BLKmode", "&&", "might_split_p", ")", "n", "+=", "(", "GET_MODE_SIZE", "(", "mode", ")", ".", "to_constant", "(", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "if", "(", "addr", ".", "type", "==", "ADDRESS_LO_SUM", ")", "n", "+=", "riscv_symbol_insns", "(", "addr", ".", "symbol_type", ")", "-", "1", ";", "return", "n", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "needed", "to", "load", "or", "store", "a", "value", "of", "mode", "MODE", "at", "address", "X", ".", "Return", "0", "if", "X", "is", "n't", "valid", "for", "MODE", ".", "Assume", "that", "multiword", "moves", "may", "need", "to", "be", "split", "into", "word", "moves", "if", "MIGHT_SPLIT_P", ",", "otherwise", "assume", "that", "a", "single", "load", "or", "store", "is", "enough", "."], "TS_V_token": ["riscv", "1", "3", "1", "1"], "File": "riscv1", "Func": "riscv_address_insns", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10, "Length": 101, "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", ",", "const", "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": "RISCVISelLowering75", "Func": "LowerReturn", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11, "Length": 312, "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": 12, "Length": 362, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "gimple", "*", "gimple_fold_builtin", "(", "unsigned", "int", "code", ",", "gimple_stmt_iterator", "*", "gsi", ",", "gcall", "*", "stmt", ")", "{", "registered_function", "&", "rfn", "=", "*", "(", "*", "registered_functions", ")", "[", "code", "]", ";", "return", "gimple_folder", "(", "rfn", ".", "instance", ",", "rfn", ".", "decl", ",", "gsi", ",", "stmt", ")", ".", "fold", "(", ")", ";", "}", ""], "natrual_language": ["Attempt", "to", "fold", "STMT", ",", "given", "that", "it", "'s", "a", "call", "to", "the", "SVE", "function", "with", "subcode", "CODE", ".", "Return", "the", "new", "statement", "on", "success", "and", "null", "on", "failure", ".", "Insert", "any", "other", "new", "statements", "at", "GSI", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "gimple_fold_builtin", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13, "Length": 51, "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", "{", "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", ")", ";", "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", "1"], "File": "riscv", "Func": "riscv_move_integer", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "RISCVTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "report_fatal_error", "(", "\"unimplemented operand\"", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "lowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "lowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "lowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "lowerSELECT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "lowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "lowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "lowerRETURNADDR", "(", "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", "::", "BITCAST", ":", "{", "assert", "(", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Subtarget", ".", "hasStdExtF", "(", ")", "&&", "\"Unexpected custom legalisation\"", ")", ";", "SDLoc", "DL", "(", "Op", ")", ";", "SDValue", "Op0", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "if", "(", "Op", ".", "getValueType", "(", ")", "!=", "MVT", "::", "f32", "||", "Op0", ".", "getValueType", "(", ")", "!=", "MVT", "::", "i32", ")", "return", "SDValue", "(", ")", ";", "SDValue", "NewOp0", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ANY_EXTEND", ",", "DL", ",", "MVT", "::", "i64", ",", "Op0", ")", ";", "SDValue", "FPConv", "=", "DAG", ".", "getNode", "(", "RISCVISD", "::", "FMV_W_X_RV64", ",", "DL", ",", "MVT", "::", "f32", ",", "NewOp0", ")", ";", "return", "FPConv", ";", "}", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["RISCV", "RISCV", "\"unimplemented operand\"", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::ConstantPool", "ISD::SELECT", "ISD::VASTART", "ISD::FRAMEADDR", "ISD::RETURNADDR", "ISD::SHL_PARTS", "ISD::SRA_PARTS", "ISD::SRL_PARTS", "ISD::BITCAST", "\"Unexpected custom legalisation\"", "0", "MVT::f32", "MVT::i32", "ISD::ANY_EXTEND", "MVT::i64", "RISCVISD::FMV_W_X_RV64", "MVT::f32"], "File": "RISCVISelLowering56", "Func": "LowerOperation", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15, "Length": 276, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "pass_shorten_memrefs", "::", "execute", "(", "function", "*", "fn", ")", "{", "basic_block", "bb", ";", "FOR_ALL_BB_FN", "(", "bb", ",", "fn", ")", "{", "regno_map", "*", "m", ";", "if", "(", "optimize_bb_for_speed_p", "(", "bb", ")", ")", "continue", ";", "m", "=", "analyze", "(", "bb", ")", ";", "transform", "(", "m", ",", "bb", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Main", "entry", "point", "for", "this", "pass", "."], "TS_V_token": ["riscv", "0"], "File": "riscv-shorten-memrefs", "Func": "execute", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "if", "(", "!", "hasFP", "(", "MF", ")", ")", "{", "report_fatal_error", "(", "\"emitEpilogue doesn't support framepointer-less functions\"", ")", ";", "}", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "const", "RISCVRegisterInfo", "*", "RI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "FPReg", "=", "getFPReg", "(", "STI", ")", ";", "unsigned", "SPReg", "=", "getSPReg", "(", "STI", ")", ";", "MachineBasicBlock", "::", "iterator", "LastFrameDestroy", "=", "MBBI", ";", "std", "::", "advance", "(", "LastFrameDestroy", ",", "-", "MFI", ".", "getCalleeSavedInfo", "(", ")", ".", "size", "(", ")", ")", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "RI", "->", "needsStackRealignment", "(", "MF", ")", "||", "MFI", ".", "hasVarSizedObjects", "(", ")", ")", "{", "adjustReg", "(", "MBB", ",", "LastFrameDestroy", ",", "DL", ",", "SPReg", ",", "FPReg", ",", "-", "StackSize", ",", "MachineInstr", "::", "FrameDestroy", ")", ";", "}", "adjustReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "SPReg", ",", "SPReg", ",", "StackSize", ",", "MachineInstr", "::", "FrameDestroy", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["RISCV", "RISCV", "\"emitEpilogue doesn't support framepointer-less functions\"", "RISCV"], "File": "RISCVFrameLowering30", "Func": "emitEpilogue", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetMachine", "::", "isNoopAddrSpaceCast", "(", "unsigned", "SrcAS", ",", "unsigned", "DstAS", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "a", "cast", "between", "SrcAS", "and", "DestAS", "is", "a", "noop", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVTargetMachine1", "Func": "isNoopAddrSpaceCast", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVAsmParser", "::", "validateTargetOperandClass", "(", "MCParsedAsmOperand", "&", "AsmOp", ",", "unsigned", "Kind", ")", "{", "RISCVOperand", "&", "Op", "=", "static_cast", "<", "RISCVOperand", "&", ">", "(", "AsmOp", ")", ";", "if", "(", "!", "Op", ".", "isReg", "(", ")", ")", "return", "Match_InvalidOperand", ";", "Register", "Reg", "=", "Op", ".", "getReg", "(", ")", ";", "bool", "IsRegFPR64", "=", "RISCVMCRegisterClasses", "[", "RISCV", "::", "FPR64RegClassID", "]", ".", "contains", "(", "Reg", ")", ";", "bool", "IsRegFPR64C", "=", "RISCVMCRegisterClasses", "[", "RISCV", "::", "FPR64CRegClassID", "]", ".", "contains", "(", "Reg", ")", ";", "if", "(", "(", "IsRegFPR64", "&&", "Kind", "==", "MCK_FPR32", ")", "||", "(", "IsRegFPR64C", "&&", "Kind", "==", "MCK_FPR32C", ")", ")", "{", "Op", ".", "Reg", ".", "RegNum", "=", "convertFPR64ToFPR32", "(", "Reg", ")", ";", "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": ["RISCV", "RISCV", "RISCV", "RISCV", "RISCV", "RISCV::FPR64RegClassID", "RISCV", "RISCV::FPR64CRegClassID"], "File": "RISCVAsmParser13", "Func": "validateTargetOperandClass", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVELFTargetObjectFile", "::", "getModuleMetadata", "(", "Module", "&", "M", ")", "{", "TargetLoweringObjectFileELF", "::", "getModuleMetadata", "(", "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": "RISCVTargetObjectFile3", "Func": "getModuleMetadata", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "addPass", "(", "createRISCVMergeBaseOffsetOptPass", "(", ")", ")", ";", "addPass", "(", "createRISCVCoreVHwlpBlocksPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCV"], "File": "RISCVTargetMachine2", "Func": "addPreRegAlloc", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDLoc", "DL", "(", "N", ")", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Don't know how to custom type legalize this operation!\"", ")", ";", "case", "ISD", "::", "READCYCLECOUNTER", ":", "{", "assert", "(", "!", "Subtarget", ".", "is64Bit", "(", ")", "&&", "\"READCYCLECOUNTER only has custom type legalization on riscv32\"", ")", ";", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "MVT", "::", "i32", ",", "MVT", "::", "i32", ",", "MVT", "::", "Other", ")", ";", "SDValue", "RCW", "=", "DAG", ".", "getNode", "(", "RISCVISD", "::", "READ_CYCLE_WIDE", ",", "DL", ",", "VTs", ",", "N", "->", "getOperand", "(", "0", ")", ")", ";", "Results", ".", "push_back", "(", "DAG", ".", "getNode", "(", "ISD", "::", "BUILD_PAIR", ",", "DL", ",", "MVT", "::", "i64", ",", "RCW", ",", "RCW", ".", "getValue", "(", "1", ")", ")", ")", ";", "Results", ".", "push_back", "(", "RCW", ".", "getValue", "(", "2", ")", ")", ";", "break", ";", "}", "case", "ISD", "::", "ADD", ":", "case", "ISD", "::", "SUB", ":", "case", "ISD", "::", "MUL", ":", "assert", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i32", "&&", "Subtarget", ".", "is64Bit", "(", ")", "&&", "\"Unexpected custom legalisation\"", ")", ";", "if", "(", "N", "->", "getOperand", "(", "1", ")", ".", "getOpcode", "(", ")", "==", "ISD", "::", "Constant", ")", "return", ";", "Results", ".", "push_back", "(", "customLegalizeToWOpWithSExt", "(", "N", ",", "DAG", ")", ")", ";", "break", ";", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SRL", ":", "assert", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i32", "&&", "Subtarget", ".", "is64Bit", "(", ")", "&&", "\"Unexpected custom legalisation\"", ")", ";", "if", "(", "N", "->", "getOperand", "(", "1", ")", ".", "getOpcode", "(", ")", "==", "ISD", "::", "Constant", ")", "return", ";", "Results", ".", "push_back", "(", "customLegalizeToWOp", "(", "N", ",", "DAG", ")", ")", ";", "break", ";", "case", "ISD", "::", "SDIV", ":", "case", "ISD", "::", "UDIV", ":", "case", "ISD", "::", "UREM", ":", "assert", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i32", "&&", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Subtarget", ".", "hasStdExtM", "(", ")", "&&", "\"Unexpected custom legalisation\"", ")", ";", "if", "(", "N", "->", "getOperand", "(", "0", ")", ".", "getOpcode", "(", ")", "==", "ISD", "::", "Constant", "||", "N", "->", "getOperand", "(", "1", ")", ".", "getOpcode", "(", ")", "==", "ISD", "::", "Constant", ")", "return", ";", "Results", ".", "push_back", "(", "customLegalizeToWOp", "(", "N", ",", "DAG", ")", ")", ";", "break", ";", "case", "ISD", "::", "BITCAST", ":", "{", "assert", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i32", "&&", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Subtarget", ".", "hasStdExtF", "(", ")", "&&", "\"Unexpected custom legalisation\"", ")", ";", "SDLoc", "DL", "(", "N", ")", ";", "SDValue", "Op0", "=", "N", "->", "getOperand", "(", "0", ")", ";", "if", "(", "Op0", ".", "getValueType", "(", ")", "!=", "MVT", "::", "f32", ")", "return", ";", "SDValue", "FPConv", "=", "DAG", ".", "getNode", "(", "RISCVISD", "::", "FMV_X_ANYEXTW_RV64", ",", "DL", ",", "MVT", "::", "i64", ",", "Op0", ")", ";", "Results", ".", "push_back", "(", "DAG", ".", "getNode", "(", "ISD", "::", "TRUNCATE", ",", "DL", ",", "MVT", "::", "i32", ",", "FPConv", ")", ")", ";", "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": ["RISCV", "RISCV", "\"Don't know how to custom type legalize this operation!\"", "ISD::READCYCLECOUNTER", "\"READCYCLECOUNTER only has custom type legalization on riscv32\"", "MVT::i32", "MVT::i32", "MVT::Other", "RISCVISD::READ_CYCLE_WIDE", "0", "ISD::BUILD_PAIR", "MVT::i64", "1", "2", "ISD::ADD", "ISD::SUB", "ISD::MUL", "0", "MVT::i32", "\"Unexpected custom legalisation\"", "1", "ISD::Constant", "ISD::SHL", "ISD::SRA", "ISD::SRL", "0", "MVT::i32", "\"Unexpected custom legalisation\"", "1", "ISD::Constant", "ISD::SDIV", "ISD::UDIV", "ISD::UREM", "0", "MVT::i32", "\"Unexpected custom legalisation\"", "0", "ISD::Constant", "1", "ISD::Constant", "ISD::BITCAST", "0", "MVT::i32", "\"Unexpected custom legalisation\"", "0", "MVT::f32", "RISCVISD::FMV_X_ANYEXTW_RV64", "MVT::i64", "ISD::TRUNCATE", "MVT::i32"], "File": "RISCVISelLowering13", "Func": "ReplaceNodeResults", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22, "Length": 491, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "Operands", ".", "push_back", "(", "RISCVOperand", "::", "createToken", "(", "Name", ",", "NameLoc", ",", "isRV64", "(", ")", ")", ")", ";", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "return", "false", ";", "if", "(", "parseOperand", "(", "Operands", ",", "shouldForceImediateOperand", "(", "Name", ",", "0", ")", ")", ")", "return", "true", ";", "unsigned", "OperandIdx", "=", "1", ";", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "getLexer", "(", ")", ".", "Lex", "(", ")", ";", "if", "(", "parseOperand", "(", "Operands", ",", "shouldForceImediateOperand", "(", "Name", ",", "OperandIdx", ")", ")", ")", "return", "true", ";", "++", "OperandIdx", ";", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "getParser", "(", ")", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token\"", ")", ";", "}", "getParser", "(", ")", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "0", "1", "\"unexpected token\""], "File": "RISCVAsmParser11", "Func": "ParseInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 23, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVInstrInfo", "::", "isBranch", "(", "const", "MachineInstr", "*", "MI", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "const", "MachineOperand", "*", "&", "Target", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "RISCV", "::", "J", ":", "case", "RISCV", "::", "J64", ":", "case", "RISCV", "::", "JAL", ":", "case", "RISCV", "::", "JAL64", ":", "case", "RISCV", "::", "JALR", ":", "case", "RISCV", "::", "JALR64", ":", "Cond", "[", "0", "]", ".", "setImm", "(", "RISCV", "::", "CCMASK_ANY", ")", ";", "Target", "=", "&", "MI", "->", "getOperand", "(", "0", ")", ";", "return", "true", ";", "case", "RISCV", "::", "BEQ", ":", "case", "RISCV", "::", "BEQ64", ":", "Cond", "[", "0", "]", ".", "setImm", "(", "RISCV", "::", "CCMASK_CMP_EQ", ")", ";", "Target", "=", "&", "MI", "->", "getOperand", "(", "0", ")", ";", "return", "true", ";", "case", "RISCV", "::", "BNE", ":", "case", "RISCV", "::", "BNE64", ":", "Cond", "[", "0", "]", ".", "setImm", "(", "RISCV", "::", "CCMASK_CMP_NE", ")", ";", "Target", "=", "&", "MI", "->", "getOperand", "(", "0", ")", ";", "return", "true", ";", "case", "RISCV", "::", "BLT", ":", "case", "RISCV", "::", "BLT64", ":", "Cond", "[", "0", "]", ".", "setImm", "(", "RISCV", "::", "CCMASK_CMP_LT", ")", ";", "Target", "=", "&", "MI", "->", "getOperand", "(", "0", ")", ";", "return", "true", ";", "case", "RISCV", "::", "BLTU", ":", "case", "RISCV", "::", "BLTU64", ":", "Cond", "[", "0", "]", ".", "setImm", "(", "RISCV", "::", "CCMASK_CMP_LT", "|", "RISCV", "::", "CCMASK_CMP_UO", ")", ";", "Target", "=", "&", "MI", "->", "getOperand", "(", "0", ")", ";", "return", "true", ";", "case", "RISCV", "::", "BGE", ":", "case", "RISCV", "::", "BGE64", ":", "Cond", "[", "0", "]", ".", "setImm", "(", "RISCV", "::", "CCMASK_CMP_GE", ")", ";", "Target", "=", "&", "MI", "->", "getOperand", "(", "0", ")", ";", "return", "true", ";", "case", "RISCV", "::", "BGEU", ":", "case", "RISCV", "::", "BGEU64", ":", "Cond", "[", "0", "]", ".", "setImm", "(", "RISCV", "::", "CCMASK_CMP_GE", "|", "RISCV", "::", "CCMASK_CMP_UO", ")", ";", "Target", "=", "&", "MI", "->", "getOperand", "(", "0", ")", ";", "return", "true", ";", "case", "RISCV", "::", "BGT", ":", "case", "RISCV", "::", "BGT64", ":", "Cond", "[", "0", "]", ".", "setImm", "(", "RISCV", "::", "CCMASK_CMP_GT", ")", ";", "Target", "=", "&", "MI", "->", "getOperand", "(", "0", ")", ";", "return", "true", ";", "case", "RISCV", "::", "BGTU", ":", "case", "RISCV", "::", "BGTU64", ":", "Cond", "[", "0", "]", ".", "setImm", "(", "RISCV", "::", "CCMASK_CMP_GT", "|", "RISCV", "::", "CCMASK_CMP_UO", ")", ";", "Target", "=", "&", "MI", "->", "getOperand", "(", "0", ")", ";", "return", "true", ";", "case", "RISCV", "::", "BLE", ":", "case", "RISCV", "::", "BLE64", ":", "Cond", "[", "0", "]", ".", "setImm", "(", "RISCV", "::", "CCMASK_CMP_LE", ")", ";", "Target", "=", "&", "MI", "->", "getOperand", "(", "0", ")", ";", "return", "true", ";", "case", "RISCV", "::", "BLEU", ":", "case", "RISCV", "::", "BLEU64", ":", "Cond", "[", "0", "]", ".", "setImm", "(", "RISCV", "::", "CCMASK_CMP_LE", "|", "RISCV", "::", "CCMASK_CMP_UO", ")", ";", "Target", "=", "&", "MI", "->", "getOperand", "(", "0", ")", ";", "return", "true", ";", "default", ":", "assert", "(", "!", "MI", "->", "getDesc", "(", ")", ".", "isBranch", "(", ")", "&&", "\"Unknown branch opcode\"", ")", ";", "return", "false", ";", "}", "}", ""], "natrual_language": ["Returns", "true", "if", "this", "is", "a", "conditional", ",", "unconditional", ",", "or", "indirect", "branch", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::J", "RISCV::J64", "RISCV::JAL", "RISCV::JAL64", "RISCV::JALR", "RISCV::JALR64", "0", "RISCV::CCMASK_ANY", "0", "RISCV::BEQ", "RISCV::BEQ64", "0", "RISCV::CCMASK_CMP_EQ", "0", "RISCV::BNE", "RISCV::BNE64", "0", "RISCV::CCMASK_CMP_NE", "0", "RISCV::BLT", "RISCV::BLT64", "0", "RISCV::CCMASK_CMP_LT", "0", "RISCV::BLTU", "RISCV::BLTU64", "0", "RISCV::CCMASK_CMP_LT", "RISCV::CCMASK_CMP_UO", "0", "RISCV::BGE", "RISCV::BGE64", "0", "RISCV::CCMASK_CMP_GE", "0", "RISCV::BGEU", "RISCV::BGEU64", "0", "RISCV::CCMASK_CMP_GE", "RISCV::CCMASK_CMP_UO", "0", "RISCV::BGT", "RISCV::BGT64", "0", "RISCV::CCMASK_CMP_GT", "0", "RISCV::BGTU", "RISCV::BGTU64", "0", "RISCV::CCMASK_CMP_GT", "RISCV::CCMASK_CMP_UO", "0", "RISCV::BLE", "RISCV::BLE64", "0", "RISCV::CCMASK_CMP_LE", "0", "RISCV::BLEU", "RISCV::BLEU64", "0", "RISCV::CCMASK_CMP_LE", "RISCV::CCMASK_CMP_UO", "0", "\"Unknown branch opcode\""], "File": "RISCVInstrInfo (2)1", "Func": "isBranch", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 24, "Length": 478, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVCallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "ArrayRef", "<", "Register", ">", "VRegs", ",", "FunctionLoweringInfo", "&", "FLI", ")", "const", "{", "MachineInstrBuilder", "Ret", "=", "MIRBuilder", ".", "buildInstrNoInsert", "(", "RISCV", "::", "PseudoRET", ")", ";", "if", "(", "Val", "!=", "nullptr", ")", "{", "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": ["RISCV", "RISCV", "RISCV::PseudoRET"], "File": "RISCVCallLowering", "Func": "lowerReturn", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 25, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "unsigned", "getFormat", "(", "uint64_t", "TSFlags", ")", "{", "return", "(", "TSFlags", "&", "InstFormatMask", ")", ">>", "InstFormatShift", ";", "}", ""], "natrual_language": ["Return", "the", "DWARF", "format", "of", "this", "table", "."], "TS_V_token": ["RISCV"], "File": "RISCVBaseInfo", "Func": "getFormat", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 26, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_pass_by_reference", "(", "cumulative_args_t", "cum_v", ",", "enum", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "HOST_WIDE_INT", "size", "=", "type", "?", "int_size_in_bytes", "(", "type", ")", ":", "GET_MODE_SIZE", "(", "mode", ")", ";", "struct", "riscv_arg_info", "info", ";", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "if", "(", "cum", "!=", "NULL", ")", "{", "riscv_get_arg_info", "(", "&", "info", ",", "cum", ",", "mode", ",", "type", ",", "named", ",", "false", ")", ";", "if", "(", "info", ".", "num_fprs", ")", "return", "false", ";", "}", "return", "!", "IN_RANGE", "(", "size", ",", "0", ",", "2", "*", "UNITS_PER_WORD", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PASS_BY_REFERENCE", "."], "TS_V_token": ["riscv", "0", "2"], "File": "riscv2", "Func": "riscv_pass_by_reference", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 27, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "Operands", ".", "push_back", "(", "RISCVOperand", "::", "createToken", "(", "Name", ",", "NameLoc", ")", ")", ";", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "return", "false", ";", "if", "(", "parseOperand", "(", "Operands", ")", ")", "return", "true", ";", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "getLexer", "(", ")", ".", "Lex", "(", ")", ";", "if", "(", "parseOperand", "(", "Operands", ")", ")", "return", "true", ";", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "getParser", "(", ")", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token\"", ")", ";", "}", "getParser", "(", ")", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "\"unexpected token\""], "File": "RISCVAsmParser20", "Func": "ParseInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "riscv_function_arg_boundary", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "unsigned", "int", "alignment", ";", "if", "(", "type", "&&", "!", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "alignment", "=", "TYPE_ALIGN", "(", "TYPE_MAIN_VARIANT", "(", "type", ")", ")", ";", "else", "alignment", "=", "type", "?", "TYPE_ALIGN", "(", "type", ")", ":", "GET_MODE_ALIGNMENT", "(", "mode", ")", ";", "return", "MIN", "(", "PREFERRED_STACK_BOUNDARY", ",", "MAX", "(", "PARM_BOUNDARY", ",", "alignment", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_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", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_function_arg_boundary", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 29, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmBackend", "::", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "int64_t", "Offset", "=", "int64_t", "(", "Value", ")", ";", "switch", "(", "(", "unsigned", ")", "Fixup", ".", "getKind", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "RISCV", "::", "fixup_riscv_rvc_branch", ":", "return", "Offset", ">", "254", "||", "Offset", "<", "-", "256", ";", "case", "RISCV", "::", "fixup_riscv_rvc_jump", ":", "return", "Offset", ">", "2046", "||", "Offset", "<", "-", "2048", ";", "}", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::fixup_riscv_rvc_branch", "254", "256", "RISCV::fixup_riscv_rvc_jump", "2046", "2048"], "File": "RISCVAsmBackend32", "Func": "fixupNeedsRelaxation", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 30, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_set_current_function", "(", "tree", "decl", ")", "{", "if", "(", "decl", "==", "NULL_TREE", "||", "current_function_decl", "==", "NULL_TREE", "||", "current_function_decl", "==", "error_mark_node", "||", "!", "cfun", "->", "machine", ")", "return", ";", "cfun", "->", "machine", "->", "naked_p", "=", "riscv_naked_function_p", "(", "decl", ")", ";", "}", ""], "natrual_language": ["Sanity", "cheching", "for", "above", "function", "attributes", "."], "TS_V_token": ["riscv"], "File": "riscv3", "Func": "riscv_set_current_function", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 31, "Length": 41, "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", ".", "getLastNonDebugInstr", "(", ")", ";", "if", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "MBBI", "=", "MBB", ".", "getFirstTerminator", "(", ")", ";", "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", "=", "getStackSizeWithRVVPadding", "(", "MF", ")", ";", "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", ",", "MachineInstr", "::", "FrameDestroy", ")", ";", "}", "uint64_t", "FirstSPAdjustAmount", "=", "getFirstSPAdjustAmount", "(", "MF", ")", ";", "if", "(", "FirstSPAdjustAmount", ")", "{", "uint64_t", "SecondSPAdjustAmount", "=", "getStackSizeWithRVVPadding", "(", "MF", ")", "-", "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": "RISCVFrameLowering (2)", "Func": "emitEpilogue", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 32, "Length": 415, "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", "::", "CALL", ":", "return", "\"RISCVISD::CALL\"", ";", "case", "RISCVISD", "::", "SELECT_CC", ":", "return", "\"RISCVISD::SELECT_CC\"", ";", "case", "RISCVISD", "::", "BuildPairF64", ":", "return", "\"RISCVISD::BuildPairF64\"", ";", "case", "RISCVISD", "::", "SplitF64", ":", "return", "\"RISCVISD::SplitF64\"", ";", "}", "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::CALL", "\"RISCVISD::CALL\"", "RISCVISD::SELECT_CC", "\"RISCVISD::SELECT_CC\"", "RISCVISD::BuildPairF64", "\"RISCVISD::BuildPairF64\"", "RISCVISD::SplitF64", "\"RISCVISD::SplitF64\""], "File": "RISCVISelLowering10", "Func": "getTargetNodeName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 33, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "RISCVRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", ")", "const", "{", "auto", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"interrupt\"", ")", ")", "{", "if", "(", "Subtarget", ".", "hasStdExtD", "(", ")", ")", "return", "CSR_XLEN_F64_Interrupt_RegMask", ";", "if", "(", "Subtarget", ".", "hasStdExtF", "(", ")", ")", "return", "CSR_XLEN_F32_Interrupt_RegMask", ";", "return", "CSR_Interrupt_RegMask", ";", "}", "switch", "(", "Subtarget", ".", "getTargetABI", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unrecognized ABI\"", ")", ";", "case", "RISCVABI", "::", "ABI_ILP32", ":", "case", "RISCVABI", "::", "ABI_LP64", ":", "return", "CSR_ILP32_LP64_RegMask", ";", "case", "RISCVABI", "::", "ABI_ILP32F", ":", "case", "RISCVABI", "::", "ABI_LP64F", ":", "return", "CSR_ILP32F_LP64F_RegMask", ";", "case", "RISCVABI", "::", "ABI_ILP32D", ":", "case", "RISCVABI", "::", "ABI_LP64D", ":", "return", "CSR_ILP32D_LP64D_RegMask", ";", "}", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "\"interrupt\"", "\"Unrecognized ABI\"", "RISCVABI::ABI_ILP32", "RISCVABI::ABI_LP64", "RISCVABI::ABI_ILP32F", "RISCVABI::ABI_LP64F", "RISCVABI::ABI_ILP32D", "RISCVABI::ABI_LP64D"], "File": "RISCVRegisterInfo10", "Func": "getCallPreservedMask", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 34, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "riscv_move_integer", "(", "rtx", "temp", ",", "rtx", "dest", ",", "HOST_WIDE_INT", "value", ")", "{", "struct", "riscv_integer_op", "codes", "[", "RISCV_MAX_INTEGER_OPS", "]", ";", "machine_mode", "mode", ";", "int", "i", ",", "num_ops", ";", "rtx", "x", ";", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "num_ops", "=", "riscv_build_integer", "(", "codes", ",", "value", ",", "mode", ")", ";", "if", "(", "can_create_pseudo_p", "(", ")", "&&", "num_ops", ">", "2", "&&", "num_ops", ">=", "riscv_split_integer_cost", "(", "value", ")", ")", "x", "=", "riscv_split_integer", "(", "value", ",", "mode", ")", ";", "else", "{", "x", "=", "GEN_INT", "(", "codes", "[", "0", "]", ".", "value", ")", ";", "for", "(", "i", "=", "1", ";", "i", "<", "num_ops", ";", "i", "++", ")", "{", "if", "(", "!", "can_create_pseudo_p", "(", ")", ")", "x", "=", "riscv_emit_set", "(", "temp", ",", "x", ")", ";", "else", "x", "=", "force_reg", "(", "mode", ",", "x", ")", ";", "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", "1"], "File": "riscv3", "Func": "riscv_move_integer", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 35, "Length": 165, "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", ",", "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": "RISCVInstPrinter20", "Func": "printInst", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 36, "Length": 109, "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", ";", "const", "auto", "*", "FII", "=", "llvm", "::", "find_if", "(", "FixedCSRFIMap", ",", "[", "&", "]", "(", "auto", "P", ")", "{", "return", "P", ".", "first", "==", "Reg", ";", "}", ")", ";", "if", "(", "FII", "==", "std", "::", "end", "(", "FixedCSRFIMap", ")", ")", "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": "RISCVRegisterInfo12", "Func": "hasReservedSpillSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 37, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "DebugLoc", "&", "DL", ",", "MCRegister", "DstReg", ",", "MCRegister", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "if", "(", "RISCV", "::", "GPRRegClass", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "RISCV", "::", "ADDI", ")", ",", "DstReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ".", "addImm", "(", "0", ")", ";", "return", ";", "}", "unsigned", "Opc", ";", "if", "(", "RISCV", "::", "FPR32RegClass", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", ")", "Opc", "=", "RISCV", "::", "FSGNJ_S", ";", "else", "if", "(", "RISCV", "::", "FPR64RegClass", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", ")", "Opc", "=", "RISCV", "::", "FSGNJ_D", ";", "else", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DstReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["RISCV", "RISCV", "RISCV::GPRRegClass", "RISCV::ADDI", "0", "RISCV::FPR32RegClass", "RISCV::FSGNJ_S", "RISCV::FPR64RegClass", "RISCV::FSGNJ_D", "\"Impossible reg-to-reg copy\""], "File": "RISCVInstrInfo11", "Func": "copyPhysReg", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 38, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "RISCVTargetLowering", "::", "emitMaskedAtomicRMWIntrinsic", "(", "IRBuilderBase", "&", "Builder", ",", "AtomicRMWInst", "*", "AI", ",", "Value", "*", "AlignedAddr", ",", "Value", "*", "Incr", ",", "Value", "*", "Mask", ",", "Value", "*", "ShiftAmt", ",", "AtomicOrdering", "Ord", ")", "const", "{", "assert", "(", "!", "RISCVABI", "::", "isCheriPureCapABI", "(", "Subtarget", ".", "getTargetABI", "(", ")", ")", ")", ";", "unsigned", "XLen", "=", "Subtarget", ".", "getXLen", "(", ")", ";", "Value", "*", "Ordering", "=", "Builder", ".", "getIntN", "(", "XLen", ",", "static_cast", "<", "uint64_t", ">", "(", "AI", "->", "getOrdering", "(", ")", ")", ")", ";", "Type", "*", "Tys", "[", "]", "=", "{", "AlignedAddr", "->", "getType", "(", ")", "}", ";", "Function", "*", "LrwOpScwLoop", "=", "Intrinsic", "::", "getDeclaration", "(", "AI", "->", "getModule", "(", ")", ",", "getIntrinsicForMaskedAtomicRMWBinOp", "(", "XLen", ",", "AI", "->", "getOperation", "(", ")", ")", ",", "Tys", ")", ";", "if", "(", "XLen", "==", "64", ")", "{", "Incr", "=", "Builder", ".", "CreateSExt", "(", "Incr", ",", "Builder", ".", "getInt64Ty", "(", ")", ")", ";", "Mask", "=", "Builder", ".", "CreateSExt", "(", "Mask", ",", "Builder", ".", "getInt64Ty", "(", ")", ")", ";", "ShiftAmt", "=", "Builder", ".", "CreateSExt", "(", "ShiftAmt", ",", "Builder", ".", "getInt64Ty", "(", ")", ")", ";", "}", "Value", "*", "Result", ";", "if", "(", "AI", "->", "getOperation", "(", ")", "==", "AtomicRMWInst", "::", "Min", "||", "AI", "->", "getOperation", "(", ")", "==", "AtomicRMWInst", "::", "Max", ")", "{", "const", "DataLayout", "&", "DL", "=", "AI", "->", "getModule", "(", ")", "->", "getDataLayout", "(", ")", ";", "unsigned", "ValWidth", "=", "DL", ".", "getTypeStoreSizeInBits", "(", "AI", "->", "getValOperand", "(", ")", "->", "getType", "(", ")", ")", ";", "Value", "*", "SextShamt", "=", "Builder", ".", "CreateSub", "(", "Builder", ".", "getIntN", "(", "XLen", ",", "XLen", "-", "ValWidth", ")", ",", "ShiftAmt", ")", ";", "Result", "=", "Builder", ".", "CreateCall", "(", "LrwOpScwLoop", ",", "{", "AlignedAddr", ",", "Incr", ",", "Mask", ",", "SextShamt", ",", "Ordering", "}", ")", ";", "}", "else", "{", "Result", "=", "Builder", ".", "CreateCall", "(", "LrwOpScwLoop", ",", "{", "AlignedAddr", ",", "Incr", ",", "Mask", ",", "Ordering", "}", ")", ";", "}", "if", "(", "XLen", "==", "64", ")", "Result", "=", "Builder", ".", "CreateTrunc", "(", "Result", ",", "Builder", ".", "getInt32Ty", "(", ")", ")", ";", "return", "Result", ";", "}", ""], "natrual_language": ["Perform", "a", "masked", "atomicrmw", "using", "a", "target-specific", "intrinsic", "."], "TS_V_token": ["RISCV", "RISCV", "RISCVABI::isCheriPureCapABI", "Intrinsic::getDeclaration", "64", "64"], "File": "RISCVISelLowering42", "Func": "emitMaskedAtomicRMWIntrinsic", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 39, "Length": 328, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVMCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "unsigned", "Size", "=", "Desc", ".", "getSize", "(", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "PseudoCALL", "||", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "PseudoTAIL", ")", "{", "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": ["RISCV", "RISCV", "RISCV::PseudoCALL", "RISCV::PseudoTAIL", "2", "RISCV::PseudoAddTPRel", "1", "\"Unhandled encodeInstruction length!\"", "2", "support::endian", "support::little", "4", "support::endian", "support::little"], "File": "RISCVMCCodeEmitter36", "Func": "encodeInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 40, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstrInfo", "::", "insertIndirectBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "&", "DestBB", ",", "MachineBasicBlock", "&", "RestoreBB", ",", "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", "(", ")", ";", "if", "(", "!", "isInt", "<", "32", ">", "(", "BrOffset", ")", ")", "report_fatal_error", "(", "\"Branch offsets outside of the signed 32-bit range not supported\"", ")", ";", "Register", "ScratchReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "RISCV", "::", "GPRRegClass", ")", ";", "auto", "II", "=", "MBB", ".", "end", "(", ")", ";", "MachineInstr", "&", "MI", "=", "*", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "get", "(", "RISCV", "::", "PseudoJump", ")", ")", ".", "addReg", "(", "ScratchReg", ",", "RegState", "::", "Define", "|", "RegState", "::", "Dead", ")", ".", "addMBB", "(", "&", "DestBB", ",", "RISCVII", "::", "MO_CALL", ")", ";", "RS", "->", "enterBasicBlockEnd", "(", "MBB", ")", ";", "Register", "Scav", "=", "RS", "->", "scavengeRegisterBackwards", "(", "RISCV", "::", "GPRRegClass", ",", "MI", ".", "getIterator", "(", ")", ",", "false", ",", "0", ")", ";", "assert", "(", "Scav", "!=", "RISCV", "::", "NoRegister", "&&", "\"No register is scavenged!\"", ")", ";", "MRI", ".", "replaceRegWith", "(", "ScratchReg", ",", "Scav", ")", ";", "MRI", ".", "clearVirtRegs", "(", ")", ";", "RS", "->", "setRegUsed", "(", "Scav", ")", ";", "}", ""], "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", "32", "\"Branch offsets outside of the signed 32-bit range not supported\"", "RISCV::GPRRegClass", "RISCV::PseudoJump", "RISCVII::MO_CALL", "RISCV::GPRRegClass", "0", "RISCV::NoRegister", "\"No register is scavenged!\""], "File": "RISCVInstrInfo22", "Func": "insertIndirectBranch", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 41, "Length": 225, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "riscv_load_store_insns", "(", "rtx", "mem", ",", "rtx_insn", "*", "insn", ")", "{", "enum", "machine_mode", "mode", ";", "bool", "might_split_p", ";", "rtx", "set", ";", "gcc_assert", "(", "MEM_P", "(", "mem", ")", ")", ";", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "might_split_p", "=", "true", ";", "if", "(", "GET_MODE_BITSIZE", "(", "mode", ")", "<=", "32", ")", "might_split_p", "=", "false", ";", "else", "if", "(", "GET_MODE_BITSIZE", "(", "mode", ")", "==", "64", ")", "{", "set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "set", "&&", "!", "riscv_split_64bit_move_p", "(", "SET_DEST", "(", "set", ")", ",", "SET_SRC", "(", "set", ")", ")", ")", "might_split_p", "=", "false", ";", "}", "return", "riscv_address_insns", "(", "XEXP", "(", "mem", ",", "0", ")", ",", "mode", ",", "might_split_p", ")", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "needed", "to", "implement", "INSN", ",", "given", "that", "it", "loads", "from", "or", "stores", "to", "MEM", "."], "TS_V_token": ["riscv", "32", "64", "0"], "File": "riscv2", "Func": "riscv_load_store_insns", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 42, "Length": 110, "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": 43, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintType", "RISCVTargetLowering", "::", "getConstraintType", "(", "StringRef", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'a'", ":", "case", "'d'", ":", "case", "'f'", ":", "case", "'r'", ":", "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": ["RISCV", "RISCV", "1", "0"], "File": "RISCVISelLowering (2)2", "Func": "getConstraintType", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 44, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "RISCVTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "RISCVISD", "::", "SplitF64", ":", "{", "SDValue", "Op0", "=", "N", "->", "getOperand", "(", "0", ")", ";", "if", "(", "Op0", "->", "getOpcode", "(", ")", "!=", "RISCVISD", "::", "BuildPairF64", ")", "break", ";", "return", "DCI", ".", "CombineTo", "(", "N", ",", "Op0", ".", "getOperand", "(", "0", ")", ",", "Op0", ".", "getOperand", "(", "1", ")", ")", ";", "}", "}", "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": ["RISCV", "RISCV", "RISCVISD::SplitF64", "0", "RISCVISD::BuildPairF64", "0", "1"], "File": "RISCVISelLowering29", "Func": "PerformDAGCombine", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 45, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "riscv_atomic_assign_expand_fenv", "(", "tree", "*", "hold", ",", "tree", "*", "clear", ",", "tree", "*", "update", ")", "{", "if", "(", "!", "TARGET_HARD_FLOAT", ")", "return", ";", "tree", "frflags", "=", "GET_BUILTIN_DECL", "(", "CODE_FOR_riscv_frflags", ")", ";", "tree", "fsflags", "=", "GET_BUILTIN_DECL", "(", "CODE_FOR_riscv_fsflags", ")", ";", "tree", "old_flags", "=", "create_tmp_var_raw", "(", "RISCV_ATYPE_USI", ")", ";", "*", "hold", "=", "build4", "(", "TARGET_EXPR", ",", "RISCV_ATYPE_USI", ",", "old_flags", ",", "build_call_expr", "(", "frflags", ",", "0", ")", ",", "NULL_TREE", ",", "NULL_TREE", ")", ";", "*", "clear", "=", "build_call_expr", "(", "fsflags", ",", "1", ",", "old_flags", ")", ";", "*", "update", "=", "NULL_TREE", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ATOMIC_ASSIGN_EXPAND_FENV", "."], "TS_V_token": ["riscv", "0", "1"], "File": "riscv-builtins", "Func": "riscv_atomic_assign_expand_fenv", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 46, "Length": 88, "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", "(", ")", ";", "unsigned", "FrameReg", ";", "int", "Offset", "=", "getFrameLowering", "(", "MF", ")", "->", "getFrameIndexReference", "(", "MF", ",", "FrameIndex", ",", "FrameReg", ")", "+", "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\"", ")", ";", "unsigned", "ScratchReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "RISCV", "::", "GPRRegClass", ")", ";", "TII", "->", "movImm32", "(", "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": "RISCVRegisterInfo", "Func": "eliminateFrameIndex", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 47, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"RISCV RI5CY IR pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["RISCV", "\"RISCV RI5CY IR pass\""], "File": "RISCVRI5CYHelpers", "Func": "getPassName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 48, "Length": 13, "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", "(", ")", ";", "DebugLoc", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "getIndex", "(", ")", ";", "unsigned", "FrameReg", ";", "int", "Offset", "=", "getFrameLowering", "(", "MF", ")", "->", "getFrameIndexReference", "(", "MF", ",", "FrameIndex", ",", "FrameReg", ")", "+", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "getImm", "(", ")", ";", "assert", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", "->", "hasFP", "(", "MF", ")", "&&", "\"eliminateFrameIndex currently requires hasFP\"", ")", ";", "if", "(", "!", "isInt", "<", "12", ">", "(", "Offset", ")", ")", "{", "report_fatal_error", "(", "\"Frame offsets outside of the signed 12-bit range not supported\"", ")", ";", "}", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "FrameReg", ",", "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": ["RISCV", "RISCV", "0", "\"Unexpected non-zero SPAdj value\"", "1", "\"eliminateFrameIndex currently requires hasFP\"", "12", "\"Frame offsets outside of the signed 12-bit range not supported\"", "1"], "File": "RISCVRegisterInfo27", "Func": "eliminateFrameIndex", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 49, "Length": 176, "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": 50, "Length": 11, "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", "IsPCRel", ")", "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": "RISCVAsmBackend9", "Func": "applyFixup", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 51, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_canonicalize_int_order_test", "(", "enum", "rtx_code", "*", "code", ",", "rtx", "*", "cmp1", ",", "enum", "machine_mode", "mode", ")", "{", "HOST_WIDE_INT", "plus_one", ";", "if", "(", "riscv_int_order_operand_ok_p", "(", "*", "code", ",", "*", "cmp1", ")", ")", "return", "true", ";", "if", "(", "CONST_INT_P", "(", "*", "cmp1", ")", ")", "switch", "(", "*", "code", ")", "{", "case", "LE", ":", "plus_one", "=", "trunc_int_for_mode", "(", "UINTVAL", "(", "*", "cmp1", ")", "+", "1", ",", "mode", ")", ";", "if", "(", "INTVAL", "(", "*", "cmp1", ")", "<", "plus_one", ")", "{", "*", "code", "=", "LT", ";", "*", "cmp1", "=", "force_reg", "(", "mode", ",", "GEN_INT", "(", "plus_one", ")", ")", ";", "return", "true", ";", "}", "break", ";", "case", "LEU", ":", "plus_one", "=", "trunc_int_for_mode", "(", "UINTVAL", "(", "*", "cmp1", ")", "+", "1", ",", "mode", ")", ";", "if", "(", "plus_one", "!=", "0", ")", "{", "*", "code", "=", "LTU", ";", "*", "cmp1", "=", "force_reg", "(", "mode", ",", "GEN_INT", "(", "plus_one", ")", ")", ";", "return", "true", ";", "}", "break", ";", "default", ":", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "*", "CMP1", "(", "of", "mode", "MODE", ")", "is", "a", "valid", "second", "operand", "for", "integer", "ordering", "test", "*", "CODE", ",", "or", "if", "an", "equivalent", "combination", "can", "be", "formed", "by", "adjusting", "*", "CODE", "and", "*", "CMP1", ".", "When", "returning", "true", ",", "update", "*", "CODE", "and", "*", "CMP1", "with", "the", "chosen", "code", "and", "operand", ",", "otherwise", "leave", "them", "alone", "."], "TS_V_token": ["riscv", "1", "1", "0"], "File": "riscv2", "Func": "riscv_canonicalize_int_order_test", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 52, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "shouldNormalizeToSelectSequence", "(", "LLVMContext", "&", ",", "EVT", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "we", "should", "normalize", "select", "(", "N0", "&", "N1", ",", "X", ",", "Y", ")", "=", ">", "select", "(", "N0", ",", "select", "(", "N1", ",", "X", ",", "Y", ")", ",", "Y", ")", "and", "select", "(", "N0|N1", ",", "X", ",", "Y", ")", "=", ">", "select", "(", "N0", ",", "select", "(", "N1", ",", "X", ",", "Y", ",", "Y", ")", ")", "if", "it", "is", "likely", "that", "it", "saves", "us", "from", "materializing", "N0", "and", "N1", "in", "an", "integer", "register", "."], "TS_V_token": ["RISCV"], "File": "RISCVISelLowering12", "Func": "shouldNormalizeToSelectSequence", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 53, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "switch", "(", "ConstraintID", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected asm memory constraint\"", ")", ";", "case", "InlineAsm", "::", "Constraint_m", ":", "SDValue", "Base", ",", "Offset", ";", "selectMemRegAddr", "(", "Op", ",", "Base", ",", "Offset", ")", ";", "OutOps", ".", "push_back", "(", "Base", ")", ";", "OutOps", ".", "push_back", "(", "Offset", ")", ";", "return", "false", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["RISCV", "RISCV", "\"Unexpected asm memory constraint\""], "File": "RISCVISelDAGToDAG (2)", "Func": "SelectInlineAsmMemoryOperand", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 54, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "riscv_hard_regno_rename_ok", "(", "unsigned", "from_regno", "ATTRIBUTE_UNUSED", ",", "unsigned", "to_regno", ")", "{", "return", "!", "cfun", "->", "machine", "->", "interrupt_handler_p", "||", "df_regs_ever_live_p", "(", "to_regno", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "register", "FROM_REGNO", "can", "be", "renamed", "to", "register", "TO_REGNO", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_hard_regno_rename_ok", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 55, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVAsmParser", "::", "validateTargetOperandClass", "(", "MCParsedAsmOperand", "&", "AsmOp", ",", "unsigned", "Kind", ")", "{", "RISCVOperand", "&", "Op", "=", "static_cast", "<", "RISCVOperand", "&", ">", "(", "AsmOp", ")", ";", "if", "(", "!", "Op", ".", "isReg", "(", ")", ")", "return", "Match_InvalidOperand", ";", "MCRegister", "Reg", "=", "Op", ".", "getReg", "(", ")", ";", "bool", "IsRegFPR64", "=", "RISCVMCRegisterClasses", "[", "RISCV", "::", "FPR64RegClassID", "]", ".", "contains", "(", "Reg", ")", ";", "bool", "IsRegFPR64C", "=", "RISCVMCRegisterClasses", "[", "RISCV", "::", "FPR64CRegClassID", "]", ".", "contains", "(", "Reg", ")", ";", "bool", "IsRegVR", "=", "RISCVMCRegisterClasses", "[", "RISCV", "::", "VRRegClassID", "]", ".", "contains", "(", "Reg", ")", ";", "if", "(", "(", "IsRegFPR64", "&&", "Kind", "==", "MCK_FPR32", ")", "||", "(", "IsRegFPR64C", "&&", "Kind", "==", "MCK_FPR32C", ")", ")", "{", "Op", ".", "Reg", ".", "RegNum", "=", "convertFPR64ToFPR32", "(", "Reg", ")", ";", "return", "Match_Success", ";", "}", "if", "(", "IsRegFPR64", "&&", "Kind", "==", "MCK_FPR16", ")", "{", "Op", ".", "Reg", ".", "RegNum", "=", "convertFPR64ToFPR16", "(", "Reg", ")", ";", "return", "Match_Success", ";", "}", "if", "(", "IsRegVR", "&&", "(", "Kind", "==", "MCK_VRM2", "||", "Kind", "==", "MCK_VRM4", "||", "Kind", "==", "MCK_VRM8", ")", ")", "{", "Op", ".", "Reg", ".", "RegNum", "=", "convertVRToVRMx", "(", "*", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ",", "Reg", ",", "Kind", ")", ";", "if", "(", "Op", ".", "Reg", ".", "RegNum", "==", "0", ")", "return", "Match_InvalidOperand", ";", "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": ["RISCV", "RISCV", "RISCV", "RISCV", "RISCV", "RISCV::FPR64RegClassID", "RISCV", "RISCV::FPR64CRegClassID", "RISCV", "RISCV::VRRegClassID", "0"], "File": "RISCVAsmParser (2)", "Func": "validateTargetOperandClass", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 56, "Length": 212, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "RISCVTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "OPCODE", "(", "RET_FLAG", ")", ";", "OPCODE", "(", "CALL", ")", ";", "OPCODE", "(", "PCREL_WRAPPER", ")", ";", "OPCODE", "(", "Hi", ")", ";", "OPCODE", "(", "Lo", ")", ";", "OPCODE", "(", "FENCE", ")", ";", "OPCODE", "(", "SELECT_CC", ")", ";", "OPCODE", "(", "SMIN", ")", ";", "OPCODE", "(", "UMIN", ")", ";", "OPCODE", "(", "SMAX", ")", ";", "OPCODE", "(", "UMAX", ")", ";", "}", "return", "NULL", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVISelLowering75", "Func": "getTargetNodeName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 57, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVFrameLowering", "::", "canUseAsEpilogue", "(", "const", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "MachineBasicBlock", "*", "TmpMBB", "=", "const_cast", "<", "MachineBasicBlock", "*", ">", "(", "&", "MBB", ")", ";", "const", "auto", "*", "RVFI", "=", "MF", "->", "getInfo", "<", "RISCVMachineFunctionInfo", ">", "(", ")", ";", "if", "(", "!", "RVFI", "->", "useSaveRestoreLibCalls", "(", "*", "MF", ")", ")", "return", "true", ";", "if", "(", "MBB", ".", "succ_size", "(", ")", ">", "1", ")", "return", "false", ";", "MachineBasicBlock", "*", "SuccMBB", "=", "MBB", ".", "succ_empty", "(", ")", "?", "TmpMBB", "->", "getFallThrough", "(", ")", ":", "*", "MBB", ".", "succ_begin", "(", ")", ";", "if", "(", "!", "SuccMBB", ")", "return", "true", ";", "return", "SuccMBB", "->", "isReturnBlock", "(", ")", "&&", "SuccMBB", "->", "size", "(", ")", "==", "1", ";", "}", ""], "natrual_language": ["Check", "whether", "or", "not", "the", "given", "MBB", "can", "be", "used", "as", "a", "epilogue", "for", "the", "target", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "1", "1"], "File": "RISCVFrameLowering (2)", "Func": "canUseAsEpilogue", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_valid_offset_p", "(", "rtx", "x", ",", "machine_mode", "mode", ")", "{", "if", "(", "!", "const_arith_operand", "(", "x", ",", "Pmode", ")", ")", "return", "false", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ".", "to_constant", "(", ")", ">", "UNITS_PER_WORD", "&&", "!", "SMALL_OPERAND", "(", "INTVAL", "(", "x", ")", "+", "GET_MODE_SIZE", "(", "mode", ")", ".", "to_constant", "(", ")", "-", "UNITS_PER_WORD", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", ",", "for", "every", "base", "register", "BASE_REG", ",", "(", "plus", "BASE_REG", "X", ")", "can", "address", "a", "value", "of", "mode", "MODE", "."], "TS_V_token": ["riscv"], "File": "riscv1", "Func": "riscv_valid_offset_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 59, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_extend_comparands", "(", "rtx_code", "code", ",", "rtx", "*", "op0", ",", "rtx", "*", "op1", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "word_mode", ")", ">", "GET_MODE_SIZE", "(", "GET_MODE", "(", "*", "op0", ")", ")", ".", "to_constant", "(", ")", ")", "{", "if", "(", "unsigned_condition", "(", "code", ")", "==", "code", "&&", "(", "GET_MODE", "(", "*", "op0", ")", "==", "QImode", "&&", "!", "(", "GET_CODE", "(", "*", "op0", ")", "==", "SUBREG", "&&", "SUBREG_PROMOTED_VAR_P", "(", "*", "op0", ")", "&&", "SUBREG_PROMOTED_SIGNED_P", "(", "*", "op0", ")", "&&", "(", "CONST_INT_P", "(", "*", "op1", ")", "||", "(", "GET_CODE", "(", "*", "op1", ")", "==", "SUBREG", "&&", "SUBREG_PROMOTED_VAR_P", "(", "*", "op1", ")", "&&", "SUBREG_PROMOTED_SIGNED_P", "(", "*", "op1", ")", ")", ")", ")", ")", ")", "{", "*", "op0", "=", "gen_rtx_ZERO_EXTEND", "(", "word_mode", ",", "*", "op0", ")", ";", "if", "(", "CONST_INT_P", "(", "*", "op1", ")", ")", "*", "op1", "=", "GEN_INT", "(", "(", "uint8_t", ")", "INTVAL", "(", "*", "op1", ")", ")", ";", "else", "*", "op1", "=", "gen_rtx_ZERO_EXTEND", "(", "word_mode", ",", "*", "op1", ")", ";", "}", "else", "{", "*", "op0", "=", "gen_rtx_SIGN_EXTEND", "(", "word_mode", ",", "*", "op0", ")", ";", "if", "(", "*", "op1", "!=", "const0_rtx", ")", "*", "op1", "=", "gen_rtx_SIGN_EXTEND", "(", "word_mode", ",", "*", "op1", ")", ";", "}", "}", "}", ""], "natrual_language": ["Sign-", "or", "zero-extend", "OP0", "and", "OP1", "for", "integer", "comparisons", "."], "TS_V_token": ["riscv"], "File": "riscv1", "Func": "riscv_extend_comparands", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 60, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "expand", "(", "function_expander", "&", "e", ")", "const", "override", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "e", ".", "target", ")", ";", "rtx", "vlenb", "=", "gen_int_mode", "(", "BYTES_PER_RISCV_VECTOR", ",", "mode", ")", ";", "emit_move_insn", "(", "e", ".", "target", ",", "vlenb", ")", ";", "return", "e", ".", "target", ";", "}", ""], "natrual_language": ["Expand", "the", "call", "and", "return", "its", "lhs", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins-bases", "Func": "expand", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 61, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "pass_vsetvl", "::", "need_vsetvl", "(", "const", "vector_insn_info", "&", "require", ",", "const", "vector_insn_info", "&", "curr_info", ")", "const", "{", "if", "(", "!", "curr_info", ".", "valid_p", "(", ")", "||", "curr_info", ".", "unknown_p", "(", ")", "||", "curr_info", ".", "uninit_p", "(", ")", ")", "return", "true", ";", "if", "(", "require", ".", "compatible_p", "(", "static_cast", "<", "const", "vl_vtype_info", "&", ">", "(", "curr_info", ")", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "dem_info", "is", "required", "to", "transition", "from", "curr_info", "to", "require", "before", "INSN", "."], "TS_V_token": ["riscv"], "File": "riscv-vsetvl", "Func": "need_vsetvl", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 62, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "RISCVRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "auto", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "if", "(", "CC", "==", "CallingConv", "::", "GHC", ")", "return", "CSR_NoRegs_RegMask", ";", "switch", "(", "Subtarget", ".", "getTargetABI", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unrecognized ABI\"", ")", ";", "case", "RISCVABI", "::", "ABI_ILP32", ":", "case", "RISCVABI", "::", "ABI_LP64", ":", "return", "CSR_ILP32_LP64_RegMask", ";", "case", "RISCVABI", "::", "ABI_IL32PC64", ":", "case", "RISCVABI", "::", "ABI_L64PC128", ":", "return", "CSR_IL32PC64_L64PC128_RegMask", ";", "case", "RISCVABI", "::", "ABI_ILP32F", ":", "case", "RISCVABI", "::", "ABI_LP64F", ":", "return", "CSR_ILP32F_LP64F_RegMask", ";", "case", "RISCVABI", "::", "ABI_IL32PC64F", ":", "case", "RISCVABI", "::", "ABI_L64PC128F", ":", "return", "CSR_IL32PC64F_L64PC128F_RegMask", ";", "case", "RISCVABI", "::", "ABI_ILP32D", ":", "case", "RISCVABI", "::", "ABI_LP64D", ":", "return", "CSR_ILP32D_LP64D_RegMask", ";", "case", "RISCVABI", "::", "ABI_IL32PC64D", ":", "case", "RISCVABI", "::", "ABI_L64PC128D", ":", "return", "CSR_IL32PC64D_L64PC128D_RegMask", ";", "}", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "\"Unrecognized ABI\"", "RISCVABI::ABI_ILP32", "RISCVABI::ABI_LP64", "RISCVABI::ABI_IL32PC64", "RISCVABI::ABI_L64PC128", "RISCVABI::ABI_ILP32F", "RISCVABI::ABI_LP64F", "RISCVABI::ABI_IL32PC64F", "RISCVABI::ABI_L64PC128F", "RISCVABI::ABI_ILP32D", "RISCVABI::ABI_LP64D", "RISCVABI::ABI_IL32PC64D", "RISCVABI::ABI_L64PC128D"], "File": "RISCVRegisterInfo17", "Func": "getCallPreservedMask", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 63, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RISCVSubtarget", "*", "RISCVTargetMachine", "::", "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", ";", "std", "::", "string", "Key", "=", "CPU", "+", "FS", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "Key", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "auto", "ABIName", "=", "Options", ".", "MCOptions", ".", "getABIName", "(", ")", ";", "if", "(", "const", "MDString", "*", "ModuleTargetABI", "=", "dyn_cast_or_null", "<", "MDString", ">", "(", "F", ".", "getParent", "(", ")", "->", "getModuleFlag", "(", "\"target-abi\"", ")", ")", ")", "{", "auto", "TargetABI", "=", "RISCVABI", "::", "getTargetABI", "(", "ABIName", ")", ";", "if", "(", "TargetABI", "!=", "RISCVABI", "::", "ABI_Unknown", "&&", "ModuleTargetABI", "->", "getString", "(", ")", "!=", "ABIName", ")", "{", "report_fatal_error", "(", "\"-target-abi option != target-abi module flag\"", ")", ";", "}", "ABIName", "=", "ModuleTargetABI", "->", "getString", "(", ")", ";", "}", "I", "=", "std", "::", "make_unique", "<", "RISCVSubtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "ABIName", ",", "*", "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": ["RISCV", "RISCV", "RISCV", "\"target-cpu\"", "\"target-features\"", "\"target-abi\"", "RISCVABI::getTargetABI", "RISCVABI::ABI_Unknown", "\"-target-abi option != target-abi module flag\"", "RISCV"], "File": "RISCVTargetMachine21", "Func": "getSubtargetImpl", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 64, "Length": 225, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixup", "*", "RISCVMCExpr", "::", "getPCRelHiFixup", "(", ")", "const", "{", "MCValue", "AUIPCLoc", ";", "if", "(", "!", "getSubExpr", "(", ")", "->", "evaluateAsRelocatable", "(", "AUIPCLoc", ",", "nullptr", ",", "nullptr", ")", ")", "return", "nullptr", ";", "const", "MCSymbolRefExpr", "*", "AUIPCSRE", "=", "AUIPCLoc", ".", "getSymA", "(", ")", ";", "if", "(", "!", "AUIPCSRE", ")", "return", "nullptr", ";", "const", "auto", "*", "DF", "=", "dyn_cast_or_null", "<", "MCDataFragment", ">", "(", "AUIPCSRE", "->", "findAssociatedFragment", "(", ")", ")", ";", "if", "(", "!", "DF", ")", "return", "nullptr", ";", "const", "MCSymbol", "*", "AUIPCSymbol", "=", "&", "AUIPCSRE", "->", "getSymbol", "(", ")", ";", "for", "(", "const", "MCFixup", "&", "F", ":", "DF", "->", "getFixups", "(", ")", ")", "{", "if", "(", "F", ".", "getOffset", "(", ")", "!=", "AUIPCSymbol", "->", "getOffset", "(", ")", ")", "continue", ";", "switch", "(", "(", "unsigned", ")", "F", ".", "getKind", "(", ")", ")", "{", "default", ":", "continue", ";", "case", "RISCV", "::", "fixup_riscv_pcrel_hi20", ":", "return", "&", "F", ";", "}", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["Get", "the", "corresponding", "PC-relative", "HI", "fixup", "that", "a", "VK_RISCV_PCREL_LO", "points", "to", ",", "and", "optionally", "the", "fragment", "containing", "it", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::fixup_riscv_pcrel_hi20"], "File": "RISCVMCExpr (2)", "Func": "getPCRelHiFixup", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 65, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "function_builder", "::", "get_attributes", "(", "const", "function_instance", "&", "instance", ")", "{", "tree", "attrs", "=", "NULL_TREE", ";", "if", "(", "!", "instance", ".", "modifies_global_state_p", "(", ")", ")", "{", "if", "(", "instance", ".", "reads_global_state_p", "(", ")", ")", "attrs", "=", "add_attribute", "(", "\"pure\"", ",", "attrs", ")", ";", "else", "attrs", "=", "add_attribute", "(", "\"const\"", ",", "attrs", ")", ";", "}", "if", "(", "!", "flag_non_call_exceptions", "||", "!", "instance", ".", "could_trap_p", "(", ")", ")", "attrs", "=", "add_attribute", "(", "\"nothrow\"", ",", "attrs", ")", ";", "return", "add_attribute", "(", "\"leaf\"", ",", "attrs", ")", ";", "}", ""], "natrual_language": ["Return", "the", "appropriate", "function", "attributes", "for", "INSTANCE", "."], "TS_V_token": ["riscv", "\"pure\"", "\"const\"", "\"nothrow\"", "\"leaf\""], "File": "riscv-vector-builtins", "Func": "get_attributes", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 66, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "RISCVTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "RETURNADDR", ":", "return", "lowerRETURNADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "lowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "lowerGlobalAddress", "(", "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", "::", "VASTART", ":", "return", "lowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VAARG", ":", "return", "lowerVAARG", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ATOMIC_FENCE", ":", "return", "lowerATOMIC_FENCE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "STACKSAVE", ":", "return", "lowerSTACKSAVE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "STACKRESTORE", ":", "return", "lowerSTACKRESTORE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "lowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "default", ":", "llvm_unreachable", "(", "\"Unexpected node to lower\"", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["RISCV", "RISCV", "ISD::RETURNADDR", "ISD::SELECT_CC", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::BlockAddress", "ISD::JumpTable", "ISD::ConstantPool", "ISD::VASTART", "ISD::VAARG", "ISD::ATOMIC_FENCE", "ISD::STACKSAVE", "ISD::STACKRESTORE", "ISD::FRAMEADDR", "\"Unexpected node to lower\""], "File": "RISCVISelLowering (2)2", "Func": "LowerOperation", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67, "Length": 225, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "RISCVTTIImpl", "::", "getIntImmCost", "(", "unsigned", "Opcode", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", "&&", "\"getIntImmCost can only estimate cost of materialising integers\"", ")", ";", "if", "(", "Imm", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "bool", "Takes12BitImm", "=", "false", ";", "unsigned", "ImmArgIdx", "=", "~", "0U", ";", "switch", "(", "Opcode", ")", "{", "case", "Instruction", "::", "GetElementPtr", ":", "return", "TTI", "::", "TCC_Free", ";", "case", "Instruction", "::", "Add", ":", "case", "Instruction", "::", "And", ":", "case", "Instruction", "::", "Or", ":", "case", "Instruction", "::", "Xor", ":", "case", "Instruction", "::", "Mul", ":", "Takes12BitImm", "=", "true", ";", "break", ";", "case", "Instruction", "::", "Sub", ":", "case", "Instruction", "::", "Shl", ":", "case", "Instruction", "::", "LShr", ":", "case", "Instruction", "::", "AShr", ":", "Takes12BitImm", "=", "true", ";", "ImmArgIdx", "=", "1", ";", "break", ";", "default", ":", "break", ";", "}", "if", "(", "Takes12BitImm", ")", "{", "if", "(", "Instruction", "::", "isCommutative", "(", "Opcode", ")", "||", "Idx", "==", "ImmArgIdx", ")", "{", "if", "(", "getTLI", "(", ")", "->", "isLegalAddImmediate", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "}", "return", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "}", "return", "TTI", "::", "TCC_Free", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["RISCV", "RISCV", "\"getIntImmCost can only estimate cost of materialising integers\"", "0", "0U", "1"], "File": "RISCVTargetTransformInfo8", "Func": "getIntImmCost", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 68, "Length": 190, "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": 69, "Length": 189, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "function_checker", "::", "report_out_of_range", "(", "unsigned", "int", "argno", ",", "HOST_WIDE_INT", "actual", ",", "HOST_WIDE_INT", "min", ",", "HOST_WIDE_INT", "max", ")", "const", "{", "error_at", "(", "location", ",", "\"passing %wd to argument %d of %qE, which expects\"", "\" a value in the range [%wd, %wd]\"", ",", "actual", ",", "argno", "+", "1", ",", "fndecl", ",", "min", ",", "max", ")", ";", "}", ""], "natrual_language": ["Report", "that", "LOCATION", "has", "a", "call", "to", "FNDECL", "in", "which", "argument", "ARGNO", "has", "the", "value", "ACTUAL", ",", "whereas", "the", "function", "requires", "a", "value", "in", "the", "range", "[", "MIN", ",", "MAX", "]", ".", "ARGNO", "counts", "from", "zero", "."], "TS_V_token": ["riscv", "\"passing %wd to argument %d of %qE, which expects\"", "\" a value in the range [%wd, %wd]\"", "1"], "File": "riscv-vector-builtins", "Func": "report_out_of_range", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 70, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createRISCVMergeBaseOffsetOptPass", "(", ")", ")", ";", "addPass", "(", "createRISCVInsertVSETVLIPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCV"], "File": "RISCVTargetMachine1", "Func": "addPreRegAlloc", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 71, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "IsEligibleForTailCallOptimization", "(", "CCState", "&", "CCInfo", ",", "CallLoweringInfo", "&", "CLI", ",", "MachineFunction", "&", "MF", ",", "const", "SmallVector", "<", "CCValAssign", ",", "16", ">", "&", "ArgLocs", ")", "const", "{", "auto", "&", "Callee", "=", "CLI", ".", "Callee", ";", "auto", "CalleeCC", "=", "CLI", ".", "CallConv", ";", "auto", "IsVarArg", "=", "CLI", ".", "IsVarArg", ";", "auto", "&", "Outs", "=", "CLI", ".", "Outs", ";", "auto", "&", "Caller", "=", "MF", ".", "getFunction", "(", ")", ";", "auto", "CallerCC", "=", "Caller", ".", "getCallingConv", "(", ")", ";", "if", "(", "Caller", ".", "getFnAttribute", "(", "\"disable-tail-calls\"", ")", ".", "getValueAsString", "(", ")", "==", "\"true\"", ")", "return", "false", ";", "if", "(", "Caller", ".", "hasFnAttribute", "(", "\"interrupt\"", ")", ")", "return", "false", ";", "if", "(", "IsVarArg", ")", "return", "false", ";", "if", "(", "CCInfo", ".", "getNextStackOffset", "(", ")", "!=", "0", ")", "return", "false", ";", "for", "(", "auto", "&", "VA", ":", "ArgLocs", ")", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "Indirect", ")", "return", "false", ";", "auto", "IsCallerStructRet", "=", "Caller", ".", "hasStructRetAttr", "(", ")", ";", "auto", "IsCalleeStructRet", "=", "Outs", ".", "empty", "(", ")", "?", "false", ":", "Outs", "[", "0", "]", ".", "Flags", ".", "isSRet", "(", ")", ";", "if", "(", "IsCallerStructRet", "||", "IsCalleeStructRet", ")", "return", "false", ";", "if", "(", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", ")", "{", "const", "GlobalValue", "*", "GV", "=", "G", "->", "getGlobal", "(", ")", ";", "if", "(", "GV", "->", "hasExternalWeakLinkage", "(", ")", ")", "return", "false", ";", "}", "const", "RISCVRegisterInfo", "*", "TRI", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "const", "uint32_t", "*", "CallerPreserved", "=", "TRI", "->", "getCallPreservedMask", "(", "MF", ",", "CallerCC", ")", ";", "if", "(", "CalleeCC", "!=", "CallerCC", ")", "{", "const", "uint32_t", "*", "CalleePreserved", "=", "TRI", "->", "getCallPreservedMask", "(", "MF", ",", "CalleeCC", ")", ";", "if", "(", "!", "TRI", "->", "regmaskSubsetEqual", "(", "CallerPreserved", ",", "CalleePreserved", ")", ")", "return", "false", ";", "}", "for", "(", "auto", "&", "Arg", ":", "Outs", ")", "if", "(", "Arg", ".", "Flags", ".", "isByVal", "(", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["IsEligibleForTailCallOptimization", "-", "Check", "whether", "the", "call", "is", "eligible", "for", "tail", "call", "optimization", "."], "TS_V_token": ["RISCV", "RISCV", "16", "\"disable-tail-calls\"", "\"true\"", "\"interrupt\"", "0", "0", "RISCV"], "File": "RISCVISelLowering", "Func": "IsEligibleForTailCallOptimization", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 72, "Length": 316, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "RISCVTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "OPCODE", "(", "RET_FLAG", ")", ";", "OPCODE", "(", "CALL", ")", ";", "OPCODE", "(", "PCREL_WRAPPER", ")", ";", "OPCODE", "(", "Hi", ")", ";", "OPCODE", "(", "Lo", ")", ";", "OPCODE", "(", "FENCE", ")", ";", "OPCODE", "(", "SELECT_CC", ")", ";", "}", "return", "NULL", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVISelLowering (2)2", "Func": "getTargetNodeName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 73, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVInstrInfo", "::", "reverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "assert", "(", "(", "Cond", ".", "size", "(", ")", "==", "3", ")", "&&", "\"Invalid branch condition!\"", ")", ";", "auto", "CC", "=", "static_cast", "<", "RISCVCC", "::", "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": ["RISCV", "RISCV", "3", "\"Invalid branch condition!\"", "RISCVCC::CondCode", "0", "0"], "File": "RISCVInstrInfo (2)", "Func": "reverseBranchCondition", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 74, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixup", "*", "RISCVMCExpr", "::", "getPCRelHiFixup", "(", ")", "const", "{", "MCValue", "AUIPCLoc", ";", "if", "(", "!", "getSubExpr", "(", ")", "->", "evaluateAsRelocatable", "(", "AUIPCLoc", ",", "nullptr", ",", "nullptr", ")", ")", "return", "nullptr", ";", "const", "MCSymbolRefExpr", "*", "AUIPCSRE", "=", "AUIPCLoc", ".", "getSymA", "(", ")", ";", "if", "(", "!", "AUIPCSRE", ")", "return", "nullptr", ";", "const", "auto", "*", "DF", "=", "dyn_cast_or_null", "<", "MCDataFragment", ">", "(", "AUIPCSRE", "->", "findAssociatedFragment", "(", ")", ")", ";", "if", "(", "!", "DF", ")", "return", "nullptr", ";", "const", "MCSymbol", "*", "AUIPCSymbol", "=", "&", "AUIPCSRE", "->", "getSymbol", "(", ")", ";", "for", "(", "const", "MCFixup", "&", "F", ":", "DF", "->", "getFixups", "(", ")", ")", "{", "if", "(", "F", ".", "getOffset", "(", ")", "!=", "AUIPCSymbol", "->", "getOffset", "(", ")", ")", "continue", ";", "switch", "(", "(", "unsigned", ")", "F", ".", "getKind", "(", ")", ")", "{", "default", ":", "continue", ";", "case", "RISCV", "::", "fixup_riscv_got_hi20", ":", "case", "RISCV", "::", "fixup_riscv_pcrel_hi20", ":", "return", "&", "F", ";", "}", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["Get", "the", "corresponding", "PC-relative", "HI", "fixup", "that", "a", "VK_RISCV_PCREL_LO", "points", "to", ",", "and", "optionally", "the", "fragment", "containing", "it", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::fixup_riscv_got_hi20", "RISCV::fixup_riscv_pcrel_hi20"], "File": "RISCVMCExpr13", "Func": "getPCRelHiFixup", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 75, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "SDLoc", "DL", "(", "Node", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"Selecting: \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"== \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "return", ";", "}", "unsigned", "Opcode", "=", "Node", "->", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "case", "ISD", "::", "FrameIndex", ":", "{", "SDValue", "imm", "=", "CurDAG", "->", "getTargetConstant", "(", "0", ",", "DL", ",", "Subtarget", ".", "isRV64", "(", ")", "?", "MVT", "::", "i64", ":", "MVT", "::", "i32", ")", ";", "int", "FI", "=", "cast", "<", "FrameIndexSDNode", ">", "(", "Node", ")", "->", "getIndex", "(", ")", ";", "SDValue", "TFI", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "getTargetLowering", "(", ")", "->", "getPointerTy", "(", "CurDAG", "->", "getDataLayout", "(", ")", ")", ")", ";", "unsigned", "Opc", "=", "Subtarget", ".", "isRV64", "(", ")", "?", "RISCV", "::", "ADDI64", ":", "RISCV", "::", "ADDI", ";", "EVT", "VT", "=", "Subtarget", ".", "isRV64", "(", ")", "?", "MVT", "::", "i64", ":", "MVT", "::", "i32", ";", "if", "(", "Node", "->", "hasOneUse", "(", ")", ")", "{", "CurDAG", "->", "SelectNodeTo", "(", "Node", ",", "Opc", ",", "VT", ",", "TFI", ",", "imm", ")", ";", "return", ";", "}", "ReplaceNode", "(", "Node", ",", "CurDAG", "->", "getMachineNode", "(", "Opc", ",", "DL", ",", "VT", ",", "TFI", ",", "imm", ")", ")", ";", "return", ";", "}", "}", "SelectCode", "(", "Node", ")", ";", "return", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["RISCV", "RISCV", "\"Selecting: \"", "\"\\n\"", "\"== \"", "\"\\n\"", "ISD::FrameIndex", "0", "MVT::i64", "MVT::i32", "RISCV::ADDI64", "RISCV::ADDI", "MVT::i64", "MVT::i32"], "File": "RISCVISelDAGToDAG42", "Func": "Select", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 76, "Length": 249, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "RISCVTTIImpl", "::", "getRegUsageForType", "(", "Type", "*", "Ty", ")", "{", "TypeSize", "Size", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "Ty", "->", "isVectorTy", "(", ")", ")", "{", "if", "(", "Size", ".", "isScalable", "(", ")", "&&", "ST", "->", "hasVInstructions", "(", ")", ")", "return", "divideCeil", "(", "Size", ".", "getKnownMinValue", "(", ")", ",", "RISCV", "::", "RVVBitsPerBlock", ")", ";", "if", "(", "ST", "->", "useRVVForFixedLengthVectors", "(", ")", ")", "return", "divideCeil", "(", "Size", ",", "ST", "->", "getMinRVVVectorSizeInBits", "(", ")", ")", ";", "}", "return", "BaseT", "::", "getRegUsageForType", "(", "Ty", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "estimated", "number", "of", "registers", "required", "to", "represent", "Ty", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::RVVBitsPerBlock"], "File": "RISCVTargetTransformInfo3", "Func": "getRegUsageForType", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 77, "Length": 86, "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": 78, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "Operands", ".", "push_back", "(", "RISCVOperand", "::", "createToken", "(", "Name", ",", "NameLoc", ",", "isRV64", "(", ")", ")", ")", ";", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "return", "false", ";", "if", "(", "parseOperand", "(", "Operands", ",", "Name", ")", ")", "return", "true", ";", "unsigned", "OperandIdx", "=", "1", ";", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "getLexer", "(", ")", ".", "Lex", "(", ")", ";", "if", "(", "parseOperand", "(", "Operands", ",", "Name", ")", ")", "return", "true", ";", "++", "OperandIdx", ";", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "getParser", "(", ")", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token\"", ")", ";", "}", "getParser", "(", ")", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "1", "\"unexpected token\""], "File": "RISCVAsmParser22", "Func": "ParseInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 79, "Length": 163, "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": 80, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "riscv_output_move", "(", "rtx", "dest", ",", "rtx", "src", ")", "{", "enum", "rtx_code", "dest_code", ",", "src_code", ";", "enum", "machine_mode", "mode", ";", "bool", "dbl_p", ";", "dest_code", "=", "GET_CODE", "(", "dest", ")", ";", "src_code", "=", "GET_CODE", "(", "src", ")", ";", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "dbl_p", "=", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "8", ")", ";", "if", "(", "dbl_p", "&&", "riscv_split_64bit_move_p", "(", "dest", ",", "src", ")", ")", "return", "\"#\"", ";", "if", "(", "dest_code", "==", "REG", "&&", "GP_REG_P", "(", "REGNO", "(", "dest", ")", ")", ")", "{", "if", "(", "src_code", "==", "REG", "&&", "FP_REG_P", "(", "REGNO", "(", "src", ")", ")", ")", "return", "dbl_p", "?", "\"fmv.x.d\\t%0,%1\"", ":", "\"fmv.x.s\\t%0,%1\"", ";", "if", "(", "src_code", "==", "MEM", ")", "switch", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", "{", "case", "1", ":", "return", "\"lbu\\t%0,%1\"", ";", "case", "2", ":", "return", "\"lhu\\t%0,%1\"", ";", "case", "4", ":", "return", "\"lw\\t%0,%1\"", ";", "case", "8", ":", "return", "\"ld\\t%0,%1\"", ";", "}", "if", "(", "src_code", "==", "CONST_INT", ")", "return", "\"li\\t%0,%1\"", ";", "if", "(", "src_code", "==", "HIGH", ")", "return", "\"lui\\t%0,%h1\"", ";", "if", "(", "symbolic_operand", "(", "src", ",", "VOIDmode", ")", ")", "switch", "(", "riscv_classify_symbolic_expression", "(", "src", ")", ")", "{", "case", "SYMBOL_GOT_DISP", ":", "return", "\"la\\t%0,%1\"", ";", "case", "SYMBOL_ABSOLUTE", ":", "return", "\"lla\\t%0,%1\"", ";", "case", "SYMBOL_PCREL", ":", "return", "\"lla\\t%0,%1\"", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "if", "(", "(", "src_code", "==", "REG", "&&", "GP_REG_P", "(", "REGNO", "(", "src", ")", ")", ")", "||", "(", "src", "==", "CONST0_RTX", "(", "mode", ")", ")", ")", "{", "if", "(", "dest_code", "==", "REG", ")", "{", "if", "(", "GP_REG_P", "(", "REGNO", "(", "dest", ")", ")", ")", "return", "\"mv\\t%0,%z1\"", ";", "if", "(", "FP_REG_P", "(", "REGNO", "(", "dest", ")", ")", ")", "{", "if", "(", "!", "dbl_p", ")", "return", "\"fmv.s.x\\t%0,%z1\"", ";", "if", "(", "TARGET_64BIT", ")", "return", "\"fmv.d.x\\t%0,%z1\"", ";", "gcc_assert", "(", "src", "==", "CONST0_RTX", "(", "mode", ")", ")", ";", "return", "\"fcvt.d.w\\t%0,x0\"", ";", "}", "}", "if", "(", "dest_code", "==", "MEM", ")", "switch", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", "{", "case", "1", ":", "return", "\"sb\\t%z1,%0\"", ";", "case", "2", ":", "return", "\"sh\\t%z1,%0\"", ";", "case", "4", ":", "return", "\"sw\\t%z1,%0\"", ";", "case", "8", ":", "return", "\"sd\\t%z1,%0\"", ";", "}", "}", "if", "(", "src_code", "==", "REG", "&&", "FP_REG_P", "(", "REGNO", "(", "src", ")", ")", ")", "{", "if", "(", "dest_code", "==", "REG", "&&", "FP_REG_P", "(", "REGNO", "(", "dest", ")", ")", ")", "return", "dbl_p", "?", "\"fmv.d\\t%0,%1\"", ":", "\"fmv.s\\t%0,%1\"", ";", "if", "(", "dest_code", "==", "MEM", ")", "return", "dbl_p", "?", "\"fsd\\t%1,%0\"", ":", "\"fsw\\t%1,%0\"", ";", "}", "if", "(", "dest_code", "==", "REG", "&&", "FP_REG_P", "(", "REGNO", "(", "dest", ")", ")", ")", "{", "if", "(", "src_code", "==", "MEM", ")", "return", "dbl_p", "?", "\"fld\\t%0,%1\"", ":", "\"flw\\t%0,%1\"", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "appropriate", "instructions", "to", "move", "SRC", "into", "DEST", ".", "Assume", "that", "SRC", "is", "operand", "1", "and", "DEST", "is", "operand", "0", "."], "TS_V_token": ["riscv", "8", "\"#\"", "\"fmv.x.d\\t%0,%1\"", "\"fmv.x.s\\t%0,%1\"", "1", "\"lbu\\t%0,%1\"", "2", "\"lhu\\t%0,%1\"", "4", "\"lw\\t%0,%1\"", "8", "\"ld\\t%0,%1\"", "\"li\\t%0,%1\"", "\"lui\\t%0,%h1\"", "\"la\\t%0,%1\"", "\"lla\\t%0,%1\"", "\"lla\\t%0,%1\"", "\"mv\\t%0,%z1\"", "\"fmv.s.x\\t%0,%z1\"", "\"fmv.d.x\\t%0,%z1\"", "\"fcvt.d.w\\t%0,x0\"", "1", "\"sb\\t%z1,%0\"", "2", "\"sh\\t%z1,%0\"", "4", "\"sw\\t%z1,%0\"", "8", "\"sd\\t%z1,%0\"", "\"fmv.d\\t%0,%1\"", "\"fmv.s\\t%0,%1\"", "\"fsd\\t%1,%0\"", "\"fsw\\t%1,%0\"", "\"fld\\t%0,%1\"", "\"flw\\t%0,%1\""], "File": "riscv2", "Func": "riscv_output_move", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 81, "Length": 418, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetMachine", "::", "parseMachineFunctionInfo", "(", "const", "yaml", "::", "MachineFunctionInfo", "&", "MFI", ",", "PerFunctionMIParsingState", "&", "PFS", ",", "SMDiagnostic", "&", "Error", ",", "SMRange", "&", "SourceRange", ")", "const", "{", "const", "auto", "&", "YamlMFI", "=", "static_cast", "<", "const", "yaml", "::", "RISCVMachineFunctionInfo", "&", ">", "(", "MFI", ")", ";", "PFS", ".", "MF", ".", "getInfo", "<", "RISCVMachineFunctionInfo", ">", "(", ")", "->", "initializeBaseYamlFields", "(", "YamlMFI", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Parse", "out", "the", "target", "'s", "MachineFunctionInfo", "from", "the", "YAML", "reprsentation", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCV"], "File": "RISCVTargetMachine10", "Func": "parseMachineFunctionInfo", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 82, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "valid_sew_p", "(", "size_t", "sew", ")", "{", "return", "exact_log2", "(", "sew", ")", "&&", "sew", ">=", "8", "&&", "sew", "<=", "64", ";", "}", ""], "natrual_language": ["Is", "this", "a", "SEW", "value", "that", "can", "be", "encoded", "into", "the", "VTYPE", "format", "."], "TS_V_token": ["riscv", "8", "64"], "File": "riscv-vsetvl", "Func": "valid_sew_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 83, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "assert", "(", "&", "MF", ".", "front", "(", ")", "==", "&", "MBB", "&&", "\"Shrink-wrapping not yet supported\"", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "auto", "*", "RVFI", "=", "MF", ".", "getInfo", "<", "RISCVMachineFunctionInfo", ">", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "unsigned", "FPReg", "=", "getFPReg", "(", "STI", ")", ";", "unsigned", "SPReg", "=", "getSPReg", "(", "STI", ")", ";", "DebugLoc", "DL", ";", "if", "(", "shouldEnableVectorUnit", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "STI", ".", "getInstrInfo", "(", ")", "->", "get", "(", "RISCV", "::", "VCONFIG", ")", ")", ".", "addImm", "(", "0x60", ")", ";", "}", "determineFrameLayout", "(", "MF", ")", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "0", "&&", "!", "MFI", ".", "adjustsStack", "(", ")", ")", "return", ";", "adjustReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "SPReg", ",", "SPReg", ",", "-", "StackSize", ",", "MachineInstr", "::", "FrameSetup", ")", ";", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "std", "::", "advance", "(", "MBBI", ",", "CSI", ".", "size", "(", ")", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "adjustReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "FPReg", ",", "SPReg", ",", "StackSize", "-", "RVFI", "->", "getVarArgsSaveSize", "(", ")", ",", "MachineInstr", "::", "FrameSetup", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["RISCV", "RISCV", "\"Shrink-wrapping not yet supported\"", "RISCV", "RISCV::VCONFIG", "0x60", "0"], "File": "RISCVFrameLowering41", "Func": "emitPrologue", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 84, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "RISCVTargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "EVT", "VT", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "Register", "Reg", "=", "MatchRegisterAltName", "(", "RegName", ")", ";", "if", "(", "Reg", "==", "RISCV", "::", "NoRegister", ")", "Reg", "=", "MatchRegisterName", "(", "RegName", ")", ";", "if", "(", "Reg", "==", "RISCV", "::", "NoRegister", ")", "report_fatal_error", "(", "Twine", "(", "\"Invalid register name \\\"\"", "+", "StringRef", "(", "RegName", ")", "+", "\"\\\".\"", ")", ")", ";", "BitVector", "ReservedRegs", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", "->", "getReservedRegs", "(", "MF", ")", ";", "if", "(", "!", "ReservedRegs", ".", "test", "(", "Reg", ")", "&&", "!", "Subtarget", ".", "isRegisterReservedByUser", "(", "Reg", ")", ")", "report_fatal_error", "(", "Twine", "(", "\"Trying to obtain non-reserved register \\\"\"", "+", "StringRef", "(", "RegName", ")", "+", "\"\\\".\"", ")", ")", ";", "return", "Reg", ";", "}", ""], "natrual_language": ["Return", "the", "register", "ID", "of", "the", "name", "passed", "in", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::NoRegister", "RISCV::NoRegister", "\"Invalid register name \\\"\"", "\"\\\".\"", "\"Trying to obtain non-reserved register \\\"\"", "\"\\\".\""], "File": "RISCVISelLowering48", "Func": "getRegisterByName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 85, "Length": 117, "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", "::", "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\"", ";", "}", "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::CALL", "\"RISCVISD::CALL\"", "RISCVISD::SELECT_CC", "\"RISCVISD::SELECT_CC\"", "RISCVISD::BuildPairF64", "\"RISCVISD::BuildPairF64\"", "RISCVISD::SplitF64", "\"RISCVISD::SplitF64\"", "RISCVISD::TAIL", "\"RISCVISD::TAIL\""], "File": "RISCVISelLowering58", "Func": "getTargetNodeName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 86, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_disqualify_components", "(", "sbitmap", ",", "edge", ",", "sbitmap", ",", "bool", ")", "{", "}", ""], "natrual_language": ["Implement", "TARGET_SHRINK_WRAP_DISQUALIFY_COMPONENTS", "."], "TS_V_token": ["riscv"], "File": "riscv1", "Func": "riscv_disqualify_components", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 87, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVExpandAtomicPseudo", "::", "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": ["RISCV", "RISCV", "RISCV"], "File": "RISCVExpandAtomicPseudoInsts", "Func": "runOnMachineFunction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "opt_machine_mode", "get_vector_mode", "(", "scalar_mode", "inner_mode", ",", "poly_uint64", "nunits", ")", "{", "enum", "mode_class", "mclass", ";", "if", "(", "inner_mode", "==", "E_BImode", ")", "mclass", "=", "MODE_VECTOR_BOOL", ";", "else", "if", "(", "FLOAT_MODE_P", "(", "inner_mode", ")", ")", "mclass", "=", "MODE_VECTOR_FLOAT", ";", "else", "mclass", "=", "MODE_VECTOR_INT", ";", "machine_mode", "mode", ";", "FOR_EACH_MODE_IN_CLASS", "(", "mode", ",", "mclass", ")", "if", "(", "inner_mode", "==", "GET_MODE_INNER", "(", "mode", ")", "&&", "known_eq", "(", "nunits", ",", "GET_MODE_NUNITS", "(", "mode", ")", ")", "&&", "riscv_v_ext_vector_mode_p", "(", "mode", ")", ")", "return", "mode", ";", "return", "opt_machine_mode", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "RVV", "vector", "mode", "that", "has", "NUNITS", "elements", "of", "mode", "INNER_MODE", ".", "This", "function", "is", "not", "only", "used", "by", "builtins", ",", "but", "also", "will", "be", "used", "by", "auto-vectorization", "in", "the", "future", "."], "TS_V_token": ["riscv"], "File": "riscv-v", "Func": "get_vector_mode", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 89, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "init_builtins", "(", ")", "{", "rvv_switcher", "rvv", ";", "if", "(", "!", "TARGET_VECTOR", ")", "return", ";", "register_builtin_types", "(", ")", ";", "if", "(", "in_lto_p", ")", "handle_pragma_vector", "(", ")", ";", "}", ""], "natrual_language": ["Initialize", "all", "compiler", "built-ins", "related", "to", "RVV", "that", "should", "be", "defined", "at", "start-up", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "init_builtins", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 90, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "riscv_expand_conditional_move", "(", "rtx", "dest", ",", "rtx", "cons", ",", "rtx", "alt", ",", "rtx_code", "code", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "riscv_emit_int_compare", "(", "&", "code", ",", "&", "op0", ",", "&", "op1", ")", ";", "rtx", "cond", "=", "gen_rtx_fmt_ee", "(", "code", ",", "GET_MODE", "(", "op0", ")", ",", "op0", ",", "op1", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "gen_rtx_IF_THEN_ELSE", "(", "GET_MODE", "(", "dest", ")", ",", "cond", ",", "cons", ",", "alt", ")", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "cond", "move", ":", "If", "OP", "holds", ",", "move", "CONS", "to", "DEST", ";", "else", "move", "ALT", "to", "DEST", ".", "Return", "0", "if", "expansion", "failed", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_expand_conditional_move", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 91, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "riscv_pass_fpr_pair", "(", "enum", "machine_mode", "mode", ",", "unsigned", "regno1", ",", "enum", "machine_mode", "mode1", ",", "HOST_WIDE_INT", "offset1", ",", "unsigned", "regno2", ",", "enum", "machine_mode", "mode2", ",", "HOST_WIDE_INT", "offset2", ")", "{", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec", "(", "2", ",", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "mode1", ",", "regno1", ")", ",", "GEN_INT", "(", "offset1", ")", ")", ",", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "mode2", ",", "regno2", ")", ",", "GEN_INT", "(", "offset2", ")", ")", ")", ")", ";", "}", ""], "natrual_language": ["Pass", "or", "return", "a", "composite", "value", "in", "the", "FPR", "pair", "REGNO", "and", "REGNO", "+", "1", ".", "MODE", "is", "the", "mode", "of", "the", "composite", ".", "MODE1", "and", "OFFSET1", "are", "the", "mode", "and", "byte", "offset", "for", "the", "first", "value", ",", "likewise", "MODE2", "and", "OFFSET2", "for", "the", "second", "value", "."], "TS_V_token": ["riscv", "2"], "File": "riscv2", "Func": "riscv_pass_fpr_pair", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 92, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isReg", "(", ")", "const", "override", "{", "return", "Kind", "==", "Register", ";", "}", ""], "natrual_language": ["isReg", "-", "Is", "this", "a", "register", "operand", "?"], "TS_V_token": ["RISCV"], "File": "RISCVAsmParser", "Func": "isReg", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 93, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "unsigned", "Opcode", "=", "Node", "->", "getOpcode", "(", ")", ";", "MVT", "XLenVT", "=", "Subtarget", "->", "getXLenVT", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Selecting: \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"== \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "Node", "->", "setNodeId", "(", "-", "1", ")", ";", "return", ";", "}", "EVT", "VT", "=", "Node", "->", "getValueType", "(", "0", ")", ";", "if", "(", "Opcode", "==", "ISD", "::", "Constant", "&&", "VT", "==", "XLenVT", ")", "{", "auto", "*", "ConstNode", "=", "cast", "<", "ConstantSDNode", ">", "(", "Node", ")", ";", "if", "(", "ConstNode", "->", "isNullValue", "(", ")", ")", "{", "SDValue", "New", "=", "CurDAG", "->", "getCopyFromReg", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "SDLoc", "(", "Node", ")", ",", "RISCV", "::", "X0", ",", "XLenVT", ")", ";", "ReplaceNode", "(", "Node", ",", "New", ".", "getNode", "(", ")", ")", ";", "return", ";", "}", "}", "if", "(", "Opcode", "==", "ISD", "::", "FrameIndex", ")", "{", "SDLoc", "DL", "(", "Node", ")", ";", "SDValue", "Imm", "=", "CurDAG", "->", "getTargetConstant", "(", "0", ",", "DL", ",", "XLenVT", ")", ";", "int", "FI", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "Node", ")", "->", "getIndex", "(", ")", ";", "EVT", "VT", "=", "Node", "->", "getValueType", "(", "0", ")", ";", "SDValue", "TFI", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "VT", ")", ";", "ReplaceNode", "(", "Node", ",", "CurDAG", "->", "getMachineNode", "(", "RISCV", "::", "ADDI", ",", "DL", ",", "VT", ",", "TFI", ",", "Imm", ")", ")", ";", "return", ";", "}", "SelectCode", "(", "Node", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["RISCV", "RISCV", "\"Selecting: \"", "\"\\n\"", "\"== \"", "\"\\n\"", "1", "0", "ISD::Constant", "RISCV::X0", "ISD::FrameIndex", "0", "0", "RISCV::ADDI"], "File": "RISCVISelDAGToDAG10", "Func": "Select", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 94, "Length": 273, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "poly_int64", "riscv_v_adjust_precision", "(", "machine_mode", "mode", ",", "int", "scale", ")", "{", "if", "(", "riscv_v_ext_vector_mode_p", "(", "mode", ")", ")", "return", "riscv_vector_chunks", "*", "scale", ";", "return", "scale", ";", "}", ""], "natrual_language": ["Call", "from", "ADJUST_PRECISION", "in", "riscv-modes.def", ".", "Return", "the", "correct", "PRECISION", "size", "for", "corresponding", "machine_mode", "."], "TS_V_token": ["riscv"], "File": "riscv1", "Func": "riscv_v_adjust_precision", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 95, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "poly_uint16", "riscv_convert_vector_bits", "(", "void", ")", "{", "if", "(", "TARGET_MIN_VLEN", ">", "32", ")", "{", "riscv_bytes_per_vector_chunk", "=", "8", ";", "}", "else", "{", "riscv_bytes_per_vector_chunk", "=", "4", ";", "}", "return", "TARGET_VECTOR", "?", "poly_uint16", "(", "1", ",", "1", ")", ":", "1", ";", "}", ""], "natrual_language": ["Return", "the", "VLEN", "value", "associated", "with", "-march", ".", "TODO", ":", "So", "far", "we", "only", "support", "length-agnostic", "value", "."], "TS_V_token": ["riscv", "32", "8", "4", "1", "1", "1"], "File": "riscv1", "Func": "riscv_convert_vector_bits", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 96, "Length": 39, "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": 97, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "add_vundef_operand", "(", "machine_mode", "mode", ")", "{", "add_input_operand", "(", "RVV_VUNDEF", "(", "mode", ")", ",", "mode", ")", ";", "}", ""], "natrual_language": ["Since", "we", "may", "normalize", "vop/vop_tu/vop_m/vop_tumu", "..", "into", "a", "single", "patter", ".", "We", "add", "a", "undef", "for", "the", "intrinsics", "that", "do", "n't", "need", "a", "real", "merge", "."], "TS_V_token": ["riscv"], "File": "riscv-v", "Func": "add_vundef_operand", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 98, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVFrameLowering24", "Func": "emitEpilogue", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 99, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ")", "const", "{", "bool", "HasStdExtC", "=", "STI", ".", "getFeatureBits", "(", ")", "[", "RISCV", "::", "FeatureStdExtC", "]", ";", "unsigned", "MinNopLen", "=", "HasStdExtC", "?", "2", ":", "4", ";", "if", "(", "(", "Count", "%", "MinNopLen", ")", "!=", "0", ")", "return", "false", ";", "for", "(", ";", "Count", ">=", "4", ";", "Count", "-=", "4", ")", "OS", ".", "write", "(", "\"\\x13\\0\\0\\0\"", ",", "4", ")", ";", "if", "(", "Count", "&&", "HasStdExtC", ")", "OS", ".", "write", "(", "\"\\x01\\0\"", ",", "2", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::FeatureStdExtC", "2", "4", "0", "4", "4", "\"\\x13\\0\\0\\0\"", "4", "\"\\x01\\0\"", "2"], "File": "RISCVAsmBackend15", "Func": "writeNopData", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 100, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "riscv_builtin_decl", "(", "unsigned", "int", "code", ",", "bool", "initialize_p", "ATTRIBUTE_UNUSED", ")", "{", "unsigned", "int", "subcode", "=", "code", ">>", "RISCV_BUILTIN_SHIFT", ";", "switch", "(", "code", "&", "RISCV_BUILTIN_CLASS", ")", "{", "case", "RISCV_BUILTIN_GENERAL", ":", "if", "(", "subcode", ">=", "ARRAY_SIZE", "(", "riscv_builtins", ")", ")", "return", "error_mark_node", ";", "return", "riscv_builtin_decls", "[", "subcode", "]", ";", "case", "RISCV_BUILTIN_VECTOR", ":", "return", "riscv_vector", "::", "builtin_decl", "(", "subcode", ",", "initialize_p", ")", ";", "}", "return", "error_mark_node", ";", "}", ""], "natrual_language": ["Implement", "TARGET_BUILTIN_DECL", "."], "TS_V_token": ["riscv", "riscv_vector::builtin_decl"], "File": "riscv-builtins1", "Func": "riscv_builtin_decl", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 101, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVCallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "ArrayRef", "<", "Register", ">>", "VRegs", ")", "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": "RISCVCallLowering2", "Func": "lowerFormalArguments", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 102, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVFrameLowering", "::", "canUseAsPrologue", "(", "const", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "*", "TmpMBB", "=", "const_cast", "<", "MachineBasicBlock", "*", ">", "(", "&", "MBB", ")", ";", "const", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "auto", "*", "RVFI", "=", "MF", "->", "getInfo", "<", "RISCVMachineFunctionInfo", ">", "(", ")", ";", "if", "(", "!", "RVFI", "->", "useSaveRestoreLibCalls", "(", "*", "MF", ")", ")", "return", "true", ";", "RegScavenger", "RS", ";", "RS", ".", "enterBasicBlock", "(", "*", "TmpMBB", ")", ";", "return", "!", "RS", ".", "isRegUsed", "(", "RISCV", "::", "X5", ")", ";", "}", ""], "natrual_language": ["Check", "whether", "or", "not", "the", "given", "MBB", "can", "be", "used", "as", "a", "prologue", "for", "the", "target", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCV::X5"], "File": "RISCVFrameLowering (2)", "Func": "canUseAsPrologue", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 103, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "*", "function_builder", "::", "finish_name", "(", ")", "{", "obstack_1grow", "(", "&", "m_string_obstack", ",", "0", ")", ";", "return", "(", "char", "*", ")", "obstack_finish", "(", "&", "m_string_obstack", ")", ";", "}", ""], "natrual_language": ["Zero-terminate", "and", "complete", "the", "function", "name", "being", "built", "."], "TS_V_token": ["riscv", "0"], "File": "riscv-vector-builtins", "Func": "finish_name", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 104, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVPassConfig", "::", "addPreISel", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createHardwareLoopsPass", "(", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVTargetMachine2", "Func": "addPreISel", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 105, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "section", "*", "riscv_elf_select_rtx_section", "(", "enum", "machine_mode", "mode", ",", "rtx", "x", ",", "unsigned", "HOST_WIDE_INT", "align", ")", "{", "section", "*", "s", "=", "default_elf_select_rtx_section", "(", "mode", ",", "x", ",", "align", ")", ";", "if", "(", "riscv_size_ok_for_small_data_p", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", ")", "{", "if", "(", "strncmp", "(", "s", "->", "named", ".", "name", ",", "\".rodata.cst\"", ",", "strlen", "(", "\".rodata.cst\"", ")", ")", "==", "0", ")", "{", "char", "*", "name", "=", "(", "char", "*", ")", "alloca", "(", "strlen", "(", "s", "->", "named", ".", "name", ")", "+", "2", ")", ";", "sprintf", "(", "name", ",", "\".s%s\"", ",", "s", "->", "named", ".", "name", "+", "1", ")", ";", "return", "get_section", "(", "name", ",", "s", "->", "named", ".", "common", ".", "flags", ",", "NULL", ")", ";", "}", "if", "(", "s", "==", "data_section", ")", "return", "sdata_section", ";", "}", "return", "s", ";", "}", ""], "natrual_language": ["Return", "a", "section", "for", "X", ",", "handling", "small", "data", "."], "TS_V_token": ["riscv", "\".rodata.cst\"", "\".rodata.cst\"", "0", "2", "\".s%s\"", "1"], "File": "riscv2", "Func": "riscv_elf_select_rtx_section", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 106, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetStackID", "::", "Value", "RISCVFrameLowering", "::", "getStackIDForScalableVectors", "(", ")", "const", "{", "return", "TargetStackID", "::", "ScalableVector", ";", "}", ""], "natrual_language": ["Returns", "the", "StackID", "that", "scalable", "vectors", "should", "be", "associated", "with", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVFrameLowering (2)", "Func": "getStackIDForScalableVectors", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 107, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_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": ["riscv"], "File": "riscv", "Func": "riscv_memmodel_needs_release_fence", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 108, "Length": 55, "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": ["RISCV", "RISCV", "MVT::i32"], "File": "RISCVISelLowering1", "Func": "shouldSignExtendTypeInLibCall", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 109, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "void", "function_expander", "::", "add_input_operand", "(", "machine_mode", "mode", ",", "rtx", "op", ")", "{", "create_input_operand", "(", "&", "m_ops", "[", "opno", "++", "]", ",", "op", ",", "mode", ")", ";", "}", ""], "natrual_language": ["Create", "op", "and", "add", "it", "into", "M_OPS", "and", "increase", "OPNO", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "add_input_operand", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 110, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_legitimize_poly_move", "(", "machine_mode", "mode", ",", "rtx", "dest", ",", "rtx", "tmp", ",", "rtx", "src", ")", "{", "poly_int64", "value", "=", "rtx_to_poly_int64", "(", "src", ")", ";", "int", "offset", "=", "value", ".", "coeffs", "[", "0", "]", ";", "int", "factor", "=", "value", ".", "coeffs", "[", "1", "]", ";", "int", "vlenb", "=", "BYTES_PER_RISCV_VECTOR", ".", "coeffs", "[", "1", "]", ";", "int", "div_factor", "=", "0", ";", "emit_move_insn", "(", "tmp", ",", "gen_int_mode", "(", "BYTES_PER_RISCV_VECTOR", ",", "mode", ")", ")", ";", "if", "(", "BYTES_PER_RISCV_VECTOR", ".", "is_constant", "(", ")", ")", "{", "gcc_assert", "(", "value", ".", "is_constant", "(", ")", ")", ";", "riscv_emit_move", "(", "dest", ",", "GEN_INT", "(", "value", ".", "to_constant", "(", ")", ")", ")", ";", "return", ";", "}", "else", "if", "(", "(", "factor", "%", "vlenb", ")", "==", "0", ")", "div_factor", "=", "1", ";", "else", "if", "(", "(", "factor", "%", "(", "vlenb", "/", "2", ")", ")", "==", "0", ")", "div_factor", "=", "2", ";", "else", "if", "(", "(", "factor", "%", "(", "vlenb", "/", "4", ")", ")", "==", "0", ")", "div_factor", "=", "4", ";", "else", "if", "(", "(", "factor", "%", "(", "vlenb", "/", "8", ")", ")", "==", "0", ")", "div_factor", "=", "8", ";", "else", "gcc_unreachable", "(", ")", ";", "if", "(", "div_factor", "!=", "1", ")", "riscv_expand_op", "(", "LSHIFTRT", ",", "mode", ",", "tmp", ",", "tmp", ",", "gen_int_mode", "(", "exact_log2", "(", "div_factor", ")", ",", "QImode", ")", ")", ";", "riscv_expand_mult_with_const_int", "(", "mode", ",", "dest", ",", "tmp", ",", "factor", "/", "(", "vlenb", "/", "div_factor", ")", ")", ";", "HOST_WIDE_INT", "constant", "=", "offset", "-", "factor", ";", "if", "(", "constant", "==", "0", ")", "return", ";", "else", "if", "(", "SMALL_OPERAND", "(", "constant", ")", ")", "riscv_expand_op", "(", "PLUS", ",", "mode", ",", "dest", ",", "dest", ",", "gen_int_mode", "(", "constant", ",", "mode", ")", ")", ";", "else", "{", "rtx", "high", ";", "high", "=", "gen_int_mode", "(", "CONST_HIGH_PART", "(", "constant", ")", ",", "mode", ")", ";", "constant", "=", "CONST_LOW_PART", "(", "constant", ")", ";", "riscv_emit_move", "(", "tmp", ",", "high", ")", ";", "riscv_expand_op", "(", "PLUS", ",", "mode", ",", "dest", ",", "tmp", ",", "dest", ")", ";", "riscv_expand_op", "(", "PLUS", ",", "mode", ",", "dest", ",", "dest", ",", "gen_int_mode", "(", "constant", ",", "mode", ")", ")", ";", "}", "}", ""], "natrual_language": ["Analyze", "src", "and", "emit", "const_poly_int", "mov", "sequence", "."], "TS_V_token": ["riscv", "0", "1", "1", "0", "0", "1", "2", "0", "2", "4", "0", "4", "8", "0", "8", "1", "0"], "File": "riscv1", "Func": "riscv_legitimize_poly_move", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 111, "Length": 333, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "if", "(", "getSTI", "(", ")", ".", "getFeatureBits", "(", ")", "[", "RISCV", "::", "FeatureRelax", "]", ")", "{", "auto", "*", "Assembler", "=", "getTargetStreamer", "(", ")", ".", "getStreamer", "(", ")", ".", "getAssemblerPtr", "(", ")", ";", "if", "(", "Assembler", "!=", "nullptr", ")", "{", "RISCVAsmBackend", "&", "MAB", "=", "static_cast", "<", "RISCVAsmBackend", "&", ">", "(", "Assembler", "->", "getBackend", "(", ")", ")", ";", "MAB", ".", "setForceRelocs", "(", ")", ";", "}", "}", "Operands", ".", "push_back", "(", "RISCVOperand", "::", "createToken", "(", "Name", ",", "NameLoc", ",", "isRV64", "(", ")", ")", ")", ";", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "getParser", "(", ")", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "if", "(", "parseOperand", "(", "Operands", ",", "Name", ")", ")", "return", "true", ";", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "getLexer", "(", ")", ".", "Lex", "(", ")", ";", "if", "(", "parseOperand", "(", "Operands", ",", "Name", ")", ")", "return", "true", ";", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "getParser", "(", ")", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token\"", ")", ";", "}", "getParser", "(", ")", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::FeatureRelax", "RISCV", "RISCV", "RISCV", "\"unexpected token\""], "File": "RISCVAsmParser (2)", "Func": "ParseInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 112, "Length": 229, "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", "(", ")", ";", "Register", "SPReg", "=", "getSPReg", "(", ")", ";", "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", ",", "MachineInstr", "::", "FrameDestroy", ")", ";", "}", "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": "RISCVFrameLowering21", "Func": "emitEpilogue", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 113, "Length": 439, "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", "(", ")", ";", "unsigned", "FPReg", "=", "getFPReg", "(", "STI", ")", ";", "unsigned", "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", "(", ")", ")", "{", "unsigned", "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", ")", "{", "unsigned", "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": "RISCVFrameLowering32", "Func": "emitEpilogue", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 114, "Length": 452, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTTIImpl", "::", "isLoweredToCall", "(", "const", "Function", "*", "F", ")", "{", "if", "(", "F", "->", "getName", "(", ")", ".", "startswith", "(", "\"llvm.riscv.cv\"", ")", ")", "return", "false", ";", "return", "BaseT", "::", "isLoweredToCall", "(", "F", ")", ";", "}", ""], "natrual_language": ["Test", "whether", "calls", "to", "a", "function", "lower", "to", "actual", "program", "function", "calls", "."], "TS_V_token": ["RISCV", "RISCV", "\"llvm.riscv.cv\""], "File": "RISCVTargetTransformInfo1", "Func": "isLoweredToCall", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "function_expander", "::", "add_vundef_operand", "(", "machine_mode", "mode", ")", "{", "add_input_operand", "(", "mode", ",", "RVV_VUNDEF", "(", "mode", ")", ")", ";", "}", ""], "natrual_language": ["Since", "we", "may", "normalize", "vop/vop_tu/vop_m/vop_tumu", "..", "into", "a", "single", "patter", ".", "We", "add", "a", "undef", "for", "the", "intrinsics", "that", "do", "n't", "need", "a", "real", "merge", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "add_vundef_operand", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 116, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "support_relaxed_compatible_p", "(", "const", "vector_insn_info", "&", "info1", ",", "const", "vector_insn_info", "&", "info2", ")", "{", "if", "(", "fault_first_load_p", "(", "info1", ".", "get_insn", "(", ")", "->", "rtl", "(", ")", ")", "&&", "info2", ".", "demand_p", "(", "DEMAND_AVL", ")", "&&", "info2", ".", "has_avl_reg", "(", ")", "&&", "info2", ".", "get_avl_source", "(", ")", "&&", "info2", ".", "get_avl_source", "(", ")", "->", "insn", "(", ")", "->", "is_phi", "(", ")", ")", "{", "hash_set", "<", "set_info", "*", ">", "sets", "=", "get_all_sets", "(", "info2", ".", "get_avl_source", "(", ")", ",", "true", ",", "false", ",", "false", ")", ";", "for", "(", "set_info", "*", "set", ":", "sets", ")", "{", "if", "(", "read_vl_insn_p", "(", "set", "->", "insn", "(", ")", "->", "rtl", "(", ")", ")", ")", "{", "const", "insn_info", "*", "insn", "=", "get_backward_fault_first_load_insn", "(", "set", "->", "insn", "(", ")", ")", ";", "if", "(", "insn", "==", "info1", ".", "get_insn", "(", ")", ")", "return", "info2", ".", "compatible_vtype_p", "(", "info1", ")", ";", "}", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "instruction", "support", "relaxed", "compatible", "check", "."], "TS_V_token": ["riscv"], "File": "riscv-vsetvl", "Func": "support_relaxed_compatible_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 117, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstrInfo", "::", "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", "Opcode", ";", "if", "(", "RISCV", "::", "GPRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "Subtarget", ".", "is64Bit", "(", ")", "?", "RISCV", "::", "SD", ":", "RISCV", "::", "SW", ";", "else", "if", "(", "RISCV", "::", "FPR32RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "RISCV", "::", "FSW", ";", "else", "if", "(", "RISCV", "::", "FPR64RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "RISCV", "::", "FSD", ";", "else", "llvm_unreachable", "(", "\"Can't store this register to stack slot\"", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opcode", ")", ")", ".", "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": ["RISCV", "RISCV", "RISCV::GPRRegClass", "RISCV::SD", "RISCV::SW", "RISCV::FPR32RegClass", "RISCV::FSW", "RISCV::FPR64RegClass", "RISCV::FSD", "\"Can't store this register to stack slot\"", "0"], "File": "RISCVInstrInfo54", "Func": "storeRegToStackSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "riscv_output_move", "(", "rtx", "dest", ",", "rtx", "src", ")", "{", "enum", "rtx_code", "dest_code", ",", "src_code", ";", "machine_mode", "mode", ";", "bool", "dbl_p", ";", "dest_code", "=", "GET_CODE", "(", "dest", ")", ";", "src_code", "=", "GET_CODE", "(", "src", ")", ";", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "dbl_p", "=", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "8", ")", ";", "if", "(", "dbl_p", "&&", "riscv_split_64bit_move_p", "(", "dest", ",", "src", ")", ")", "return", "\"#\"", ";", "if", "(", "dest_code", "==", "REG", "&&", "GP_REG_P", "(", "REGNO", "(", "dest", ")", ")", ")", "{", "if", "(", "src_code", "==", "REG", "&&", "FP_REG_P", "(", "REGNO", "(", "src", ")", ")", ")", "return", "dbl_p", "?", "\"fmv.x.d\\t%0,%1\"", ":", "\"fmv.x.w\\t%0,%1\"", ";", "if", "(", "src_code", "==", "MEM", ")", "switch", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", "{", "case", "1", ":", "return", "\"lbu\\t%0,%1\"", ";", "case", "2", ":", "return", "\"lhu\\t%0,%1\"", ";", "case", "4", ":", "return", "\"lw\\t%0,%1\"", ";", "case", "8", ":", "return", "\"ld\\t%0,%1\"", ";", "}", "if", "(", "src_code", "==", "CONST_INT", ")", "{", "if", "(", "SMALL_OPERAND", "(", "INTVAL", "(", "src", ")", ")", "||", "LUI_OPERAND", "(", "INTVAL", "(", "src", ")", ")", ")", "return", "\"li\\t%0,%1\"", ";", "if", "(", "TARGET_ZBS", "&&", "SINGLE_BIT_MASK_OPERAND", "(", "INTVAL", "(", "src", ")", ")", ")", "return", "\"bseti\\t%0,zero,%S1\"", ";", "abort", "(", ")", ";", "}", "if", "(", "src_code", "==", "HIGH", ")", "return", "\"lui\\t%0,%h1\"", ";", "if", "(", "symbolic_operand", "(", "src", ",", "VOIDmode", ")", ")", "switch", "(", "riscv_classify_symbolic_expression", "(", "src", ")", ")", "{", "case", "SYMBOL_GOT_DISP", ":", "return", "\"la\\t%0,%1\"", ";", "case", "SYMBOL_ABSOLUTE", ":", "return", "\"lla\\t%0,%1\"", ";", "case", "SYMBOL_PCREL", ":", "return", "\"lla\\t%0,%1\"", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "if", "(", "(", "src_code", "==", "REG", "&&", "GP_REG_P", "(", "REGNO", "(", "src", ")", ")", ")", "||", "(", "src", "==", "CONST0_RTX", "(", "mode", ")", ")", ")", "{", "if", "(", "dest_code", "==", "REG", ")", "{", "if", "(", "GP_REG_P", "(", "REGNO", "(", "dest", ")", ")", ")", "return", "\"mv\\t%0,%z1\"", ";", "if", "(", "FP_REG_P", "(", "REGNO", "(", "dest", ")", ")", ")", "{", "if", "(", "!", "dbl_p", ")", "return", "\"fmv.w.x\\t%0,%z1\"", ";", "if", "(", "TARGET_64BIT", ")", "return", "\"fmv.d.x\\t%0,%z1\"", ";", "gcc_assert", "(", "src", "==", "CONST0_RTX", "(", "mode", ")", ")", ";", "return", "\"fcvt.d.w\\t%0,x0\"", ";", "}", "}", "if", "(", "dest_code", "==", "MEM", ")", "switch", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", "{", "case", "1", ":", "return", "\"sb\\t%z1,%0\"", ";", "case", "2", ":", "return", "\"sh\\t%z1,%0\"", ";", "case", "4", ":", "return", "\"sw\\t%z1,%0\"", ";", "case", "8", ":", "return", "\"sd\\t%z1,%0\"", ";", "}", "}", "if", "(", "src_code", "==", "REG", "&&", "FP_REG_P", "(", "REGNO", "(", "src", ")", ")", ")", "{", "if", "(", "dest_code", "==", "REG", "&&", "FP_REG_P", "(", "REGNO", "(", "dest", ")", ")", ")", "return", "dbl_p", "?", "\"fmv.d\\t%0,%1\"", ":", "\"fmv.s\\t%0,%1\"", ";", "if", "(", "dest_code", "==", "MEM", ")", "return", "dbl_p", "?", "\"fsd\\t%1,%0\"", ":", "\"fsw\\t%1,%0\"", ";", "}", "if", "(", "dest_code", "==", "REG", "&&", "FP_REG_P", "(", "REGNO", "(", "dest", ")", ")", ")", "{", "if", "(", "src_code", "==", "MEM", ")", "return", "dbl_p", "?", "\"fld\\t%0,%1\"", ":", "\"flw\\t%0,%1\"", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "appropriate", "instructions", "to", "move", "SRC", "into", "DEST", ".", "Assume", "that", "SRC", "is", "operand", "1", "and", "DEST", "is", "operand", "0", "."], "TS_V_token": ["riscv", "8", "\"#\"", "\"fmv.x.d\\t%0,%1\"", "\"fmv.x.w\\t%0,%1\"", "1", "\"lbu\\t%0,%1\"", "2", "\"lhu\\t%0,%1\"", "4", "\"lw\\t%0,%1\"", "8", "\"ld\\t%0,%1\"", "\"li\\t%0,%1\"", "\"bseti\\t%0,zero,%S1\"", "\"lui\\t%0,%h1\"", "\"la\\t%0,%1\"", "\"lla\\t%0,%1\"", "\"lla\\t%0,%1\"", "\"mv\\t%0,%z1\"", "\"fmv.w.x\\t%0,%z1\"", "\"fmv.d.x\\t%0,%z1\"", "\"fcvt.d.w\\t%0,x0\"", "1", "\"sb\\t%z1,%0\"", "2", "\"sh\\t%z1,%0\"", "4", "\"sw\\t%z1,%0\"", "8", "\"sd\\t%z1,%0\"", "\"fmv.d\\t%0,%1\"", "\"fmv.s\\t%0,%1\"", "\"fsd\\t%1,%0\"", "\"fsw\\t%1,%0\"", "\"fld\\t%0,%1\"", "\"flw\\t%0,%1\""], "File": "riscv", "Func": "riscv_output_move", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 119, "Length": 456, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "th_mempair_order_operands", "(", "rtx", "operands", "[", "4", "]", ",", "bool", "load_p", ",", "machine_mode", "mode", ")", "{", "int", "mem_op", "=", "load_p", "?", "1", ":", "0", ";", "bool", "reversed", "=", "false", ";", "if", "(", "!", "th_mempair_check_consecutive_mems", "(", "mode", ",", "operands", "+", "mem_op", ",", "operands", "+", "mem_op", "+", "2", ",", "&", "reversed", ")", ")", "gcc_unreachable", "(", ")", ";", "if", "(", "reversed", ")", "{", "std", "::", "swap", "(", "operands", "[", "0", "]", ",", "operands", "[", "2", "]", ")", ";", "std", "::", "swap", "(", "operands", "[", "1", "]", ",", "operands", "[", "3", "]", ")", ";", "}", "}", ""], "natrual_language": ["Given", "OPERANDS", "of", "consecutive", "load/store", "that", "can", "be", "merged", ",", "swap", "them", "if", "they", "are", "not", "in", "ascending", "order", ".", "Return", "true", "if", "swap", "was", "performed", "."], "TS_V_token": ["riscv", "4", "1", "0", "2", "0", "2", "1", "3"], "File": "thead", "Func": "th_mempair_order_operands", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 120, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDLoc", "DL", "(", "N", ")", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "LowerOperationWrapper", "(", "N", ",", "Results", ",", "DAG", ")", ";", "break", ";", "case", "ISD", "::", "READCYCLECOUNTER", ":", "{", "assert", "(", "!", "Subtarget", ".", "is64Bit", "(", ")", "&&", "\"READCYCLECOUNTER only has custom type legalization on riscv32\"", ")", ";", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "MVT", "::", "i32", ",", "MVT", "::", "i32", ",", "MVT", "::", "Other", ")", ";", "SDValue", "RCW", "=", "DAG", ".", "getNode", "(", "RISCVISD", "::", "READ_CYCLE_WIDE", ",", "DL", ",", "VTs", ",", "N", "->", "getOperand", "(", "0", ")", ")", ";", "Results", ".", "push_back", "(", "RCW", ")", ";", "Results", ".", "push_back", "(", "RCW", ".", "getValue", "(", "1", ")", ")", ";", "Results", ".", "push_back", "(", "RCW", ".", "getValue", "(", "2", ")", ")", ";", "break", ";", "}", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SRL", ":", "assert", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i32", "&&", "Subtarget", ".", "is64Bit", "(", ")", "&&", "\"Unexpected custom legalisation\"", ")", ";", "if", "(", "N", "->", "getOperand", "(", "1", ")", ".", "getOpcode", "(", ")", "==", "ISD", "::", "Constant", ")", "return", ";", "Results", ".", "push_back", "(", "customLegalizeToWOp", "(", "N", ",", "DAG", ")", ")", ";", "break", ";", "case", "ISD", "::", "SDIV", ":", "case", "ISD", "::", "UDIV", ":", "case", "ISD", "::", "UREM", ":", "assert", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i32", "&&", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Subtarget", ".", "hasStdExtM", "(", ")", "&&", "\"Unexpected custom legalisation\"", ")", ";", "if", "(", "N", "->", "getOperand", "(", "0", ")", ".", "getOpcode", "(", ")", "==", "ISD", "::", "Constant", "||", "N", "->", "getOperand", "(", "1", ")", ".", "getOpcode", "(", ")", "==", "ISD", "::", "Constant", ")", "return", ";", "Results", ".", "push_back", "(", "customLegalizeToWOp", "(", "N", ",", "DAG", ")", ")", ";", "break", ";", "case", "ISD", "::", "BITCAST", ":", "{", "assert", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i32", "&&", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Subtarget", ".", "hasStdExtF", "(", ")", "&&", "\"Unexpected custom legalisation\"", ")", ";", "SDLoc", "DL", "(", "N", ")", ";", "SDValue", "Op0", "=", "N", "->", "getOperand", "(", "0", ")", ";", "if", "(", "Op0", ".", "getValueType", "(", ")", "!=", "MVT", "::", "f32", ")", "return", ";", "SDValue", "FPConv", "=", "DAG", ".", "getNode", "(", "RISCVISD", "::", "FMV_X_ANYEXTW_RV64", ",", "DL", ",", "MVT", "::", "i64", ",", "Op0", ")", ";", "Results", ".", "push_back", "(", "DAG", ".", "getNode", "(", "ISD", "::", "TRUNCATE", ",", "DL", ",", "MVT", "::", "i32", ",", "FPConv", ")", ")", ";", "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": ["RISCV", "RISCV", "ISD::READCYCLECOUNTER", "\"READCYCLECOUNTER only has custom type legalization on riscv32\"", "MVT::i32", "MVT::i32", "MVT::Other", "RISCVISD::READ_CYCLE_WIDE", "0", "1", "2", "ISD::SHL", "ISD::SRA", "ISD::SRL", "0", "MVT::i32", "\"Unexpected custom legalisation\"", "1", "ISD::Constant", "ISD::SDIV", "ISD::UDIV", "ISD::UREM", "0", "MVT::i32", "\"Unexpected custom legalisation\"", "0", "ISD::Constant", "1", "ISD::Constant", "ISD::BITCAST", "0", "MVT::i32", "\"Unexpected custom legalisation\"", "0", "MVT::f32", "RISCVISD::FMV_X_ANYEXTW_RV64", "MVT::i64", "ISD::TRUNCATE", "MVT::i32"], "File": "RISCVISelLowering62", "Func": "ReplaceNodeResults", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 121, "Length": 417, "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", "(", ")", ";", "C", ".", "initLRU", "(", "*", "TRI", ")", ";", "LiveRegUnits", "LRU", "=", "C", ".", "LRU", ";", "return", "!", "LRU", ".", "available", "(", "RISCV", "::", "X5", ")", ";", "}", ";", "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": "RISCVInstrInfo (2)", "Func": "getOutliningCandidateInfo", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 122, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "DestSourcePair", ">", "RISCVInstrInfo", "::", "isCopyInstrImpl", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "MI", ".", "isMoveReg", "(", ")", ")", "return", "DestSourcePair", "{", "MI", ".", "getOperand", "(", "0", ")", ",", "MI", ".", "getOperand", "(", "1", ")", "}", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "RISCV", "::", "ADDI", ":", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "0", ")", "return", "DestSourcePair", "{", "MI", ".", "getOperand", "(", "0", ")", ",", "MI", ".", "getOperand", "(", "1", ")", "}", ";", "break", ";", "case", "RISCV", "::", "FSGNJ_D", ":", "case", "RISCV", "::", "FSGNJ_S", ":", "case", "RISCV", "::", "FSGNJ_H", ":", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "isReg", "(", ")", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", "return", "DestSourcePair", "{", "MI", ".", "getOperand", "(", "0", ")", ",", "MI", ".", "getOperand", "(", "1", ")", "}", ";", "break", ";", "}", "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": ["RISCV", "RISCV", "0", "1", "RISCV::ADDI", "1", "2", "2", "0", "0", "1", "RISCV::FSGNJ_D", "RISCV::FSGNJ_S", "RISCV::FSGNJ_H", "1", "2", "1", "2", "0", "1"], "File": "RISCVInstrInfo22", "Func": "isCopyInstrImpl", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 123, "Length": 202, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "RISCVTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "case", "RISCVISD", "::", "NODE", ":", "\\", "return", "\"RISCVISD::\"", "#", "NODE", ";", "switch", "(", "(", "RISCVISD", "::", "NodeType", ")", "Opcode", ")", "{", "case", "RISCVISD", "::", "FIRST_NUMBER", ":", "break", ";", "NODE_NAME_CASE", "(", "RET_FLAG", ")", "NODE_NAME_CASE", "(", "URET_FLAG", ")", "NODE_NAME_CASE", "(", "SRET_FLAG", ")", "NODE_NAME_CASE", "(", "MRET_FLAG", ")", "NODE_NAME_CASE", "(", "CALL", ")", "NODE_NAME_CASE", "(", "SELECT_CC", ")", "NODE_NAME_CASE", "(", "BuildPairF64", ")", "NODE_NAME_CASE", "(", "SplitF64", ")", "NODE_NAME_CASE", "(", "TAIL", ")", "NODE_NAME_CASE", "(", "SLLW", ")", "NODE_NAME_CASE", "(", "SRAW", ")", "NODE_NAME_CASE", "(", "SRLW", ")", "NODE_NAME_CASE", "(", "DIVW", ")", "NODE_NAME_CASE", "(", "DIVUW", ")", "NODE_NAME_CASE", "(", "REMUW", ")", "NODE_NAME_CASE", "(", "ROLW", ")", "NODE_NAME_CASE", "(", "RORW", ")", "NODE_NAME_CASE", "(", "FSLW", ")", "NODE_NAME_CASE", "(", "FSRW", ")", "NODE_NAME_CASE", "(", "FMV_H_X", ")", "NODE_NAME_CASE", "(", "FMV_X_ANYEXTH", ")", "NODE_NAME_CASE", "(", "FMV_W_X_RV64", ")", "NODE_NAME_CASE", "(", "FMV_X_ANYEXTW_RV64", ")", "NODE_NAME_CASE", "(", "READ_CYCLE_WIDE", ")", "NODE_NAME_CASE", "(", "GREVI", ")", "NODE_NAME_CASE", "(", "GREVIW", ")", "NODE_NAME_CASE", "(", "GORCI", ")", "NODE_NAME_CASE", "(", "GORCIW", ")", "NODE_NAME_CASE", "(", "VMV_X_S", ")", "NODE_NAME_CASE", "(", "SPLAT_VECTOR_I64", ")", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["RISCV", "RISCV", "RISCVISD::NODE", "\"RISCVISD::\"", "RISCVISD::NodeType", "RISCVISD::FIRST_NUMBER"], "File": "RISCVISelLowering7", "Func": "getTargetNodeName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 124, "Length": 165, "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": 125, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "unsigned", "int", "nregs", "=", "riscv_hard_regno_nregs", "(", "regno", ",", "mode", ")", ";", "if", "(", "GP_REG_P", "(", "regno", ")", ")", "{", "if", "(", "!", "GP_REG_P", "(", "regno", "+", "nregs", "-", "1", ")", ")", "return", "false", ";", "}", "else", "if", "(", "FP_REG_P", "(", "regno", ")", ")", "{", "if", "(", "!", "FP_REG_P", "(", "regno", "+", "nregs", "-", "1", ")", ")", "return", "false", ";", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_FLOAT", "&&", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_COMPLEX_FLOAT", ")", "return", "false", ";", "if", "(", "GET_MODE_UNIT_SIZE", "(", "mode", ")", ">", "UNITS_PER_FP_REG", "||", "(", "!", "call_used_regs", "[", "regno", "]", "&&", "GET_MODE_UNIT_SIZE", "(", "mode", ")", ">", "UNITS_PER_FP_ARG", ")", ")", "return", "false", ";", "}", "else", "return", "false", ";", "for", "(", "unsigned", "i", "=", "1", ";", "i", "<", "nregs", ";", "i", "++", ")", "if", "(", "call_used_regs", "[", "regno", "]", "!=", "call_used_regs", "[", "regno", "+", "i", "]", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_MODE_OK", "."], "TS_V_token": ["riscv", "1", "1", "1"], "File": "riscv3", "Func": "riscv_hard_regno_mode_ok", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 126, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_pragma_intrinsic", "(", "cpp_reader", "*", ")", "{", "tree", "x", ";", "if", "(", "pragma_lex", "(", "&", "x", ")", "!=", "CPP_STRING", ")", "{", "error", "(", "\"%<#pragma riscv intrinsic%> requires a string parameter\"", ")", ";", "return", ";", "}", "const", "char", "*", "name", "=", "TREE_STRING_POINTER", "(", "x", ")", ";", "if", "(", "strcmp", "(", "name", ",", "\"vector\"", ")", "==", "0", ")", "{", "if", "(", "!", "TARGET_VECTOR", ")", "{", "error", "(", "\"%<#pragma riscv intrinsic%> option %qs needs 'V' extension \"", "\"enabled\"", ",", "name", ")", ";", "return", ";", "}", "riscv_vector", "::", "handle_pragma_vector", "(", ")", ";", "}", "else", "error", "(", "\"unknown %<#pragma riscv intrinsic%> option %qs\"", ",", "name", ")", ";", "}", ""], "natrual_language": ["Implement", "``", "#", "pragma", "riscv", "intrinsic", "''", "."], "TS_V_token": ["riscv", "\"%<#pragma riscv intrinsic%> requires a string parameter\"", "\"vector\"", "0", "\"%<#pragma riscv intrinsic%> option %qs needs 'V' extension \"", "\"enabled\"", "riscv_vector::handle_pragma_vector", "\"unknown %<#pragma riscv intrinsic%> option %qs\""], "File": "riscv-c1", "Func": "riscv_pragma_intrinsic", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 127, "Length": 85, "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": 128, "Length": 82, "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": 129, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "riscv_legitimize_address", "(", "rtx", "x", ",", "rtx", "oldx", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ")", "{", "rtx", "addr", ";", "if", "(", "riscv_tls_symbol_p", "(", "x", ")", ")", "return", "riscv_legitimize_tls_address", "(", "x", ")", ";", "if", "(", "riscv_split_symbol", "(", "NULL", ",", "x", ",", "mode", ",", "&", "addr", ")", ")", "return", "riscv_force_address", "(", "addr", ",", "mode", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", "&&", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", "!=", "0", ")", "{", "rtx", "base", "=", "XEXP", "(", "x", ",", "0", ")", ";", "HOST_WIDE_INT", "offset", "=", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ";", "if", "(", "!", "riscv_valid_base_register_p", "(", "base", ",", "mode", ",", "false", ")", ")", "base", "=", "copy_to_mode_reg", "(", "Pmode", ",", "base", ")", ";", "addr", "=", "riscv_add_offset", "(", "NULL", ",", "base", ",", "offset", ")", ";", "return", "riscv_force_address", "(", "addr", ",", "mode", ")", ";", "}", "return", "x", ";", "}", ""], "natrual_language": ["This", "function", "is", "used", "to", "implement", "LEGITIMIZE_ADDRESS", ".", "If", "X", "can", "be", "legitimized", "in", "a", "way", "that", "the", "generic", "machinery", "might", "not", "expect", ",", "return", "a", "new", "address", ",", "otherwise", "return", "NULL", ".", "MODE", "is", "the", "mode", "of", "the", "memory", "being", "accessed", "."], "TS_V_token": ["riscv", "1", "1", "0", "0", "1"], "File": "riscv3", "Func": "riscv_legitimize_address", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 130, "Length": 153, "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": 131, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "RISCVTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "RISCVPassConfig", "(", "*", "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": ["RISCV", "RISCV", "RISCV"], "File": "RISCVTargetMachine", "Func": "createPassConfig", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 132, "Length": 22, "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_tprel_hi20\"", ",", "12", ",", "20", ",", "0", "}", ",", "{", "\"fixup_riscv_tprel_lo12_i\"", ",", "20", ",", "12", ",", "0", "}", ",", "{", "\"fixup_riscv_tprel_lo12_s\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_riscv_tprel_add\"", ",", "0", ",", "0", ",", "0", "}", ",", "{", "\"fixup_riscv_tls_got_hi20\"", ",", "12", ",", "20", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_riscv_tls_gd_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_call_plt\"", ",", "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_tprel_hi20\"", "12", "20", "0", "\"fixup_riscv_tprel_lo12_i\"", "20", "12", "0", "\"fixup_riscv_tprel_lo12_s\"", "0", "32", "0", "\"fixup_riscv_tprel_add\"", "0", "0", "0", "\"fixup_riscv_tls_got_hi20\"", "12", "20", "\"fixup_riscv_tls_gd_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_call_plt\"", "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": "RISCVAsmBackend13", "Func": "getFixupKindInfo", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 133, "Length": 309, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "expand", "(", "enum", "insn_code", "icode", ",", "bool", "temporary_volatile_p", "=", "false", ")", "{", "if", "(", "temporary_volatile_p", ")", "{", "temporary_volatile_ok", "v", "(", "true", ")", ";", "expand_insn", "(", "icode", ",", "m_opno", ",", "m_ops", ")", ";", "}", "else", "expand_insn", "(", "icode", ",", "m_opno", ",", "m_ops", ")", ";", "}", ""], "natrual_language": ["Expand", "the", "call", "and", "return", "its", "lhs", "."], "TS_V_token": ["riscv"], "File": "riscv-v", "Func": "expand", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 134, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "riscv_flatten_aggregate_argument", "(", "const_tree", "type", ",", "riscv_aggregate_field", "fields", "[", "2", "]", ",", "bool", "ignore_zero_width_bit_field_p", ")", "{", "if", "(", "!", "type", "||", "TREE_CODE", "(", "type", ")", "!=", "RECORD_TYPE", ")", "return", "-", "1", ";", "return", "riscv_flatten_aggregate_field", "(", "type", ",", "fields", ",", "0", ",", "0", ",", "ignore_zero_width_bit_field_p", ")", ";", "}", ""], "natrual_language": ["Identify", "candidate", "aggregates", "for", "passing", "in", "floating-point", "registers", ".", "Candidates", "have", "at", "most", "two", "fields", "after", "flattening", "."], "TS_V_token": ["riscv", "2", "1", "0", "0"], "File": "riscv", "Func": "riscv_flatten_aggregate_argument", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 135, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "riscv_pass_fpr_single", "(", "machine_mode", "type_mode", ",", "unsigned", "regno", ",", "machine_mode", "value_mode", ")", "{", "rtx", "x", "=", "gen_rtx_REG", "(", "value_mode", ",", "regno", ")", ";", "if", "(", "type_mode", "!=", "value_mode", ")", "{", "x", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "x", ",", "const0_rtx", ")", ";", "x", "=", "gen_rtx_PARALLEL", "(", "type_mode", ",", "gen_rtvec", "(", "1", ",", "x", ")", ")", ";", "}", "return", "x", ";", "}", ""], "natrual_language": ["Return", "the", "representation", "of", "an", "argument", "passed", "or", "returned", "in", "an", "FPR", "when", "the", "value", "has", "mode", "VALUE_MODE", "and", "the", "type", "has", "TYPE_MODE", ".", "The", "two", "modes", "may", "be", "different", "for", "structures", "like", ":", "struct", "__attribute__", "(", "(", "packed", ")", ")", "foo", "{", "float", "f", ";", "}", "where", "the", "SFmode", "value", "``", "f", "''", "is", "passed", "in", "REGNO", "but", "the", "struct", "itself", "has", "mode", "BLKmode", "."], "TS_V_token": ["riscv", "1"], "File": "riscv3", "Func": "riscv_pass_fpr_single", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 136, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "riscv_function_value", "(", "const_tree", "type", ",", "const_tree", "func", ",", "enum", "machine_mode", "mode", ")", "{", "struct", "riscv_arg_info", "info", ";", "CUMULATIVE_ARGS", "args", ";", "if", "(", "type", ")", "{", "int", "unsigned_p", "=", "TYPE_UNSIGNED", "(", "type", ")", ";", "mode", "=", "TYPE_MODE", "(", "type", ")", ";", "mode", "=", "promote_function_mode", "(", "type", ",", "mode", ",", "&", "unsigned_p", ",", "func", ",", "1", ")", ";", "}", "memset", "(", "&", "args", ",", "0", ",", "sizeof", "args", ")", ";", "return", "riscv_get_arg_info", "(", "&", "info", ",", "&", "args", ",", "mode", ",", "type", ",", "true", ",", "true", ")", ";", "}", ""], "natrual_language": ["Implement", "FUNCTION_VALUE", "and", "LIBCALL_VALUE", ".", "For", "normal", "calls", ",", "VALTYPE", "is", "the", "return", "type", "and", "MODE", "is", "VOIDmode", ".", "For", "libcalls", ",", "VALTYPE", "is", "null", "and", "MODE", "is", "the", "mode", "of", "the", "return", "value", "."], "TS_V_token": ["riscv", "1", "0"], "File": "riscv2", "Func": "riscv_function_value", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 137, "Length": 88, "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": ["RISCV"], "File": "RISCVRegisterInfo (2)", "Func": "requiresRegisterScavenging", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 138, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "RISCVRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "for", "(", "size_t", "Reg", "=", "0", ";", "Reg", "<", "getNumRegs", "(", ")", ";", "Reg", "++", ")", "{", "if", "(", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ".", "isRegisterReservedByUser", "(", "Reg", ")", ")", "markSuperRegs", "(", "Reserved", ",", "Reg", ")", ";", "}", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X0", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X2", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X3", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X4", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X8", ")", ";", "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": ["RISCV", "RISCV", "0", "RISCV", "RISCV::X0", "RISCV::X2", "RISCV::X3", "RISCV::X4", "RISCV::X8"], "File": "RISCVRegisterInfo4", "Func": "getReservedRegs", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 139, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "RISCVDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "CS", ")", "const", "{", "uint32_t", "Insn", ";", "DecodeStatus", "Result", ";", "if", "(", "(", "Bytes", "[", "0", "]", "&", "0x3", ")", "==", "0x3", ")", "{", "if", "(", "Bytes", ".", "size", "(", ")", "<", "4", ")", "{", "Size", "=", "0", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "Insn", "=", "support", "::", "endian", "::", "read32le", "(", "Bytes", ".", "data", "(", ")", ")", ";", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "RISCV", "::", "FeatureStdExtZdinx", "]", "&&", "!", "STI", ".", "getFeatureBits", "(", ")", "[", "RISCV", "::", "Feature64Bit", "]", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Trying RV32Zdinx table (Double in Integer and\"", "\"rv32)\\n\"", ")", ";", "Result", "=", "decodeInstruction", "(", "DecoderTableRV32Zdinx32", ",", "MI", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "Size", "=", "4", ";", "return", "Result", ";", "}", "}", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "RISCV", "::", "FeatureStdExtZfinx", "]", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Trying RVZfinx table (Float in Integer):\\n\"", ")", ";", "Result", "=", "decodeInstruction", "(", "DecoderTableRVZfinx32", ",", "MI", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "Size", "=", "4", ";", "return", "Result", ";", "}", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Trying RISCV32 table :\\n\"", ")", ";", "Result", "=", "decodeInstruction", "(", "DecoderTable32", ",", "MI", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "Size", "=", "4", ";", "}", "else", "{", "if", "(", "Bytes", ".", "size", "(", ")", "<", "2", ")", "{", "Size", "=", "0", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "Insn", "=", "support", "::", "endian", "::", "read16le", "(", "Bytes", ".", "data", "(", ")", ")", ";", "if", "(", "!", "STI", ".", "getFeatureBits", "(", ")", "[", "RISCV", "::", "Feature64Bit", "]", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Trying RISCV32Only_16 table (16-bit Instruction):\\n\"", ")", ";", "Result", "=", "decodeInstruction", "(", "DecoderTableRISCV32Only_16", ",", "MI", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "Size", "=", "2", ";", "return", "Result", ";", "}", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Trying RISCV_C table (16-bit Instruction):\\n\"", ")", ";", "Result", "=", "decodeInstruction", "(", "DecoderTable16", ",", "MI", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "Size", "=", "2", ";", "}", "return", "Result", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["RISCV", "RISCV", "0", "0x3", "0x3", "4", "0", "support::endian", "RISCV::FeatureStdExtZdinx", "RISCV::Feature64Bit", "\"Trying RV32Zdinx table (Double in Integer and\"", "\"rv32)\\n\"", "4", "RISCV::FeatureStdExtZfinx", "\"Trying RVZfinx table (Float in Integer):\\n\"", "4", "\"Trying RISCV32 table :\\n\"", "4", "2", "0", "support::endian", "RISCV::Feature64Bit", "\"Trying RISCV32Only_16 table (16-bit Instruction):\\n\"", "RISCV", "2", "\"Trying RISCV_C table (16-bit Instruction):\\n\"", "2"], "File": "RISCVDisassembler22", "Func": "getInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 140, "Length": 376, "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", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "RISCVMachineFunctionInfo", "*", "RVFI", "=", "MF", "->", "getInfo", "<", "RISCVMachineFunctionInfo", ">", "(", ")", ";", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "unsigned", "Opcode", ";", "bool", "isRISCVVector", "=", "false", ";", "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", "if", "(", "RISCV", "::", "VRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "Opcode", "=", "RISCV", "::", "VL1RE8_V", ";", "isRISCVVector", "=", "true", ";", "}", "else", "if", "(", "RISCV", "::", "VRM2RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "Opcode", "=", "RISCV", "::", "VL2RE8_V", ";", "isRISCVVector", "=", "true", ";", "}", "else", "if", "(", "RISCV", "::", "VRM4RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "Opcode", "=", "RISCV", "::", "VL4RE8_V", ";", "isRISCVVector", "=", "true", ";", "}", "else", "if", "(", "RISCV", "::", "VRM8RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "Opcode", "=", "RISCV", "::", "VL8RE8_V", ";", "isRISCVVector", "=", "true", ";", "}", "else", "llvm_unreachable", "(", "\"Can't load this register from stack slot\"", ")", ";", "if", "(", "isRISCVVector", ")", "{", "RVFI", "->", "setHasSpillVRs", "(", ")", ";", "MFI", ".", "setStackID", "(", "FI", ",", "TargetStackID", "::", "RISCVVector", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opcode", ")", ",", "DstReg", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "}", "else", "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", "RISCV", "RISCV", "RISCV::GPRRegClass", "RISCV::GPRRegClass", "32", "RISCV::LW", "RISCV::LD", "RISCV::FPR32RegClass", "RISCV::FLW", "RISCV::FPR64RegClass", "RISCV::FLD", "RISCV::VRRegClass", "RISCV::VL1RE8_V", "RISCV", "RISCV::VRM2RegClass", "RISCV::VL2RE8_V", "RISCV", "RISCV::VRM4RegClass", "RISCV::VL4RE8_V", "RISCV", "RISCV::VRM8RegClass", "RISCV::VL8RE8_V", "RISCV", "\"Can't load this register from stack slot\"", "RISCV", "RISCV", "0"], "File": "RISCVInstrInfo25", "Func": "loadRegFromStackSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 141, "Length": 336, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isUnknown", "(", ")", "const", "{", "return", "State", "==", "Unknown", ";", "}", ""], "natrual_language": ["Tests", "if", "this", "MemDepResult", "represents", "a", "query", "which", "can", "not", "and/or", "will", "not", "be", "computed", "."], "TS_V_token": ["RISCV"], "File": "RISCVInsertVSETVLI", "Func": "isUnknown", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 142, "Length": 12, "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": 143, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "has_vector_insn", "(", "function", "*", "fn", ")", "{", "basic_block", "cfg_bb", ";", "rtx_insn", "*", "rinsn", ";", "FOR_ALL_BB_FN", "(", "cfg_bb", ",", "fn", ")", "FOR_BB_INSNS", "(", "cfg_bb", ",", "rinsn", ")", "if", "(", "NONDEBUG_INSN_P", "(", "rinsn", ")", "&&", "has_vtype_op", "(", "rinsn", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "FN", "has", "a", "vector", "instruction", "that", "use", "VL/VTYPE", "."], "TS_V_token": ["riscv"], "File": "riscv-vsetvl", "Func": "has_vector_insn", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 144, "Length": 47, "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", "auto", "&", "CSI", "=", "getNonLibcallCSI", "(", "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", "+=", "MFI", ".", "getStackSize", "(", ")", ";", "}", "else", "if", "(", "RI", "->", "needsStackRealignment", "(", "MF", ")", "&&", "!", "MFI", ".", "isFixedObjectIndex", "(", "FI", ")", ")", "{", "if", "(", "hasBP", "(", "MF", ")", ")", "FrameReg", "=", "RISCVABI", "::", "getBPReg", "(", ")", ";", "else", "FrameReg", "=", "RISCV", "::", "X2", ";", "Offset", "+=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "FI", "<", "0", ")", "Offset", "+=", "RVFI", "->", "getLibCallStackSize", "(", ")", ";", "}", "else", "{", "FrameReg", "=", "RI", "->", "getFrameRegister", "(", "MF", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "Offset", "+=", "RVFI", "->", "getVarArgsSaveSize", "(", ")", ";", "if", "(", "FI", ">=", "0", ")", "Offset", "-=", "RVFI", "->", "getLibCallStackSize", "(", ")", ";", "}", "else", "{", "Offset", "+=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "FI", "<", "0", ")", "Offset", "+=", "RVFI", "->", "getLibCallStackSize", "(", ")", ";", "}", "}", "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", "0", "0", "0"], "File": "RISCVFrameLowering22", "Func": "getFrameIndexReference", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 145, "Length": 321, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVInstrInfo", "::", "getMemOperandWithOffsetWidth", "(", "const", "MachineInstr", "&", "LdSt", ",", "const", "MachineOperand", "*", "&", "BaseReg", ",", "int64_t", "&", "Offset", ",", "unsigned", "&", "Width", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "assert", "(", "LdSt", ".", "mayLoadOrStore", "(", ")", "&&", "\"Expected a memory operation.\"", ")", ";", "if", "(", "LdSt", ".", "getNumExplicitOperands", "(", ")", "!=", "3", ")", "return", "false", ";", "if", "(", "!", "LdSt", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "||", "!", "LdSt", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", ")", "return", "false", ";", "if", "(", "!", "LdSt", ".", "hasOneMemOperand", "(", ")", ")", "return", "false", ";", "Width", "=", "(", "*", "LdSt", ".", "memoperands_begin", "(", ")", ")", "->", "getSize", "(", ")", ";", "BaseReg", "=", "&", "LdSt", ".", "getOperand", "(", "1", ")", ";", "Offset", "=", "LdSt", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "get", "the", "base", "operand", ",", "byte", "offset", "of", "an", "instruction", "and", "the", "memory", "width", "."], "TS_V_token": ["RISCV", "RISCV", "\"Expected a memory operation.\"", "3", "1", "2", "1", "2"], "File": "RISCVInstrInfo39", "Func": "getMemOperandWithOffsetWidth", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 146, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVMCAsmBackend", "::", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCInst", "&", "Res", ")", "const", "{", "unsigned", "Opcode", "=", "getRelaxedOpcode", "(", "Inst", ".", "getOpcode", "(", ")", ")", ";", "assert", "(", "Opcode", "&&", "\"Unexpected insn to relax\"", ")", ";", "Res", "=", "Inst", ";", "Res", ".", "setOpcode", "(", "Opcode", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["RISCV", "RISCV", "\"Unexpected insn to relax\""], "File": "RISCVMCAsmBackend", "Func": "relaxInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 147, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "RISCVSelectionDAGInfo", "::", "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", "{", "return", "EmitTargetCodeForMemOp", "(", "DAG", ",", "dl", ",", "Chain", ",", "Dst", ",", "Src", ",", "Size", ",", "Alignment", ",", "isVolatile", ",", "AlwaysInline", ",", "MustPreserveCheriCapabilities", ",", "DstPtrInfo", ",", "SrcPtrInfo", ",", "true", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memcpy", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVSelectionDAGInfo", "Func": "EmitTargetCodeForMemcpy", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 148, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVMCCodeEmitter", "::", "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", "(", "\"Unexpected operand type!\"", ")", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["RISCV", "RISCV", "\"Unexpected operand type!\""], "File": "RISCVMCCodeEmitter34", "Func": "getMachineOpValue", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 149, "Length": 80, "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", ")", ";", "}", "}", ""], "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"], "File": "RISCVFrameLowering28", "Func": "determineCalleeSaves", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 150, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "RISCVTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "case", "RISCVISD", "::", "NODE", ":", "\\", "return", "\"RISCVISD::\"", "#", "NODE", ";", "switch", "(", "(", "RISCVISD", "::", "NodeType", ")", "Opcode", ")", "{", "case", "RISCVISD", "::", "FIRST_NUMBER", ":", "break", ";", "NODE_NAME_CASE", "(", "RET_FLAG", ")", "NODE_NAME_CASE", "(", "URET_FLAG", ")", "NODE_NAME_CASE", "(", "SRET_FLAG", ")", "NODE_NAME_CASE", "(", "MRET_FLAG", ")", "NODE_NAME_CASE", "(", "CALL", ")", "NODE_NAME_CASE", "(", "SELECT_CC", ")", "NODE_NAME_CASE", "(", "BuildPairF64", ")", "NODE_NAME_CASE", "(", "SplitF64", ")", "NODE_NAME_CASE", "(", "TAIL", ")", "NODE_NAME_CASE", "(", "SLLW", ")", "NODE_NAME_CASE", "(", "SRAW", ")", "NODE_NAME_CASE", "(", "SRLW", ")", "NODE_NAME_CASE", "(", "DIVW", ")", "NODE_NAME_CASE", "(", "DIVUW", ")", "NODE_NAME_CASE", "(", "REMUW", ")", "NODE_NAME_CASE", "(", "ROLW", ")", "NODE_NAME_CASE", "(", "RORW", ")", "NODE_NAME_CASE", "(", "FSLW", ")", "NODE_NAME_CASE", "(", "FSRW", ")", "NODE_NAME_CASE", "(", "FMV_H_X", ")", "NODE_NAME_CASE", "(", "FMV_X_ANYEXTH", ")", "NODE_NAME_CASE", "(", "FMV_W_X_RV64", ")", "NODE_NAME_CASE", "(", "FMV_X_ANYEXTW_RV64", ")", "NODE_NAME_CASE", "(", "READ_CYCLE_WIDE", ")", "NODE_NAME_CASE", "(", "GREVI", ")", "NODE_NAME_CASE", "(", "GREVIW", ")", "NODE_NAME_CASE", "(", "GORCI", ")", "NODE_NAME_CASE", "(", "GORCIW", ")", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["RISCV", "RISCV", "RISCVISD::NODE", "\"RISCVISD::\"", "RISCVISD::NodeType", "RISCVISD::FIRST_NUMBER"], "File": "RISCVISelLowering38", "Func": "getTargetNodeName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"RISCV Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["RISCV", "\"RISCV Assembly Printer\""], "File": "RISCVAsmPrinter", "Func": "getPassName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "function_expander", "::", "use_compare_insn", "(", "rtx_code", "rcode", ",", "insn_code", "icode", ")", "{", "machine_mode", "mode", "=", "TYPE_MODE", "(", "builtin_types", "[", "type", ".", "index", "]", ".", "vector", ")", ";", "machine_mode", "mask_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", "(", "mask_mode", ")", ";", "rtx", "op1", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "arg_offset", "++", ")", ")", ";", "rtx", "op2", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "arg_offset", "++", ")", ")", ";", "if", "(", "!", "insn_operand_matches", "(", "icode", ",", "opno", "+", "1", ",", "op1", ")", ")", "op1", "=", "force_reg", "(", "mode", ",", "op1", ")", ";", "if", "(", "!", "insn_operand_matches", "(", "icode", ",", "opno", "+", "2", ",", "op2", ")", ")", "{", "if", "(", "VECTOR_MODE_P", "(", "GET_MODE", "(", "op2", ")", ")", ")", "op2", "=", "force_reg", "(", "mode", ",", "op2", ")", ";", "else", "op2", "=", "force_reg", "(", "GET_MODE_INNER", "(", "mode", ")", ",", "op2", ")", ";", "}", "rtx", "comparison", "=", "gen_rtx_fmt_ee", "(", "rcode", ",", "mask_mode", ",", "op1", ",", "op2", ")", ";", "if", "(", "!", "VECTOR_MODE_P", "(", "GET_MODE", "(", "op2", ")", ")", ")", "comparison", "=", "gen_rtx_fmt_ee", "(", "rcode", ",", "mask_mode", ",", "op1", ",", "gen_rtx_VEC_DUPLICATE", "(", "mode", ",", "op2", ")", ")", ";", "add_fixed_operand", "(", "comparison", ")", ";", "add_fixed_operand", "(", "op1", ")", ";", "if", "(", "CONST_INT_P", "(", "op2", ")", ")", "add_integer_operand", "(", "op2", ")", ";", "else", "add_fixed_operand", "(", "op2", ")", ";", "for", "(", "int", "argno", "=", "arg_offset", ";", "argno", "<", "call_expr_nargs", "(", "exp", ")", ";", "argno", "++", ")", "add_input_operand", "(", "argno", ")", ";", "add_input_operand", "(", "Pmode", ",", "get_mask_policy_for_pred", "(", "pred", ")", ")", ";", "add_input_operand", "(", "Pmode", ",", "get_avl_type_rtx", "(", "avl_type", "::", "NONVLMAX", ")", ")", ";", "return", "generate_insn", "(", "icode", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "call", "using", "instruction", "ICODE", ",", "with", "a", "1:1", "mapping", "between", "arguments", "and", "input", "operands", "."], "TS_V_token": ["riscv", "0", "1", "2"], "File": "riscv-vector-builtins", "Func": "use_compare_insn", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 153, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "function_expander", "::", "generate_insn", "(", "insn_code", "icode", ")", "{", "gcc_assert", "(", "opno", "==", "insn_data", "[", "icode", "]", ".", "n_generator_args", ")", ";", "if", "(", "!", "maybe_expand_insn", "(", "icode", ",", "opno", ",", "m_ops", ")", ")", "{", "error", "(", "\"invalid argument to built-in function\"", ")", ";", "return", "NULL_RTX", ";", "}", "return", "function_returns_void_p", "(", ")", "?", "const0_rtx", ":", "m_ops", "[", "0", "]", ".", "value", ";", "}", ""], "natrual_language": ["Generate", "instruction", "ICODE", ",", "given", "that", "its", "operands", "have", "already", "been", "added", "to", "M_OPS", ".", "Return", "the", "value", "of", "the", "first", "operand", "."], "TS_V_token": ["riscv", "\"invalid argument to built-in function\"", "0"], "File": "riscv-vector-builtins", "Func": "generate_insn", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 154, "Length": 58, "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", ";", "case", "'S'", ":", "return", "C_Other", ";", "}", "}", "else", "{", "if", "(", "Constraint", "==", "\"vr\"", "||", "Constraint", "==", "\"vm\"", ")", "return", "C_RegisterClass", ";", "}", "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", "\"vr\"", "\"vm\""], "File": "RISCVISelLowering1", "Func": "getConstraintType", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 155, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_canonicalize_int_order_test", "(", "enum", "rtx_code", "*", "code", ",", "rtx", "*", "cmp1", ",", "machine_mode", "mode", ")", "{", "HOST_WIDE_INT", "plus_one", ";", "if", "(", "riscv_int_order_operand_ok_p", "(", "*", "code", ",", "*", "cmp1", ")", ")", "return", "true", ";", "if", "(", "CONST_INT_P", "(", "*", "cmp1", ")", ")", "switch", "(", "*", "code", ")", "{", "case", "LE", ":", "plus_one", "=", "trunc_int_for_mode", "(", "UINTVAL", "(", "*", "cmp1", ")", "+", "1", ",", "mode", ")", ";", "if", "(", "INTVAL", "(", "*", "cmp1", ")", "<", "plus_one", ")", "{", "*", "code", "=", "LT", ";", "*", "cmp1", "=", "force_reg", "(", "mode", ",", "GEN_INT", "(", "plus_one", ")", ")", ";", "return", "true", ";", "}", "break", ";", "case", "LEU", ":", "plus_one", "=", "trunc_int_for_mode", "(", "UINTVAL", "(", "*", "cmp1", ")", "+", "1", ",", "mode", ")", ";", "if", "(", "plus_one", "!=", "0", ")", "{", "*", "code", "=", "LTU", ";", "*", "cmp1", "=", "force_reg", "(", "mode", ",", "GEN_INT", "(", "plus_one", ")", ")", ";", "return", "true", ";", "}", "break", ";", "default", ":", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "*", "CMP1", "(", "of", "mode", "MODE", ")", "is", "a", "valid", "second", "operand", "for", "integer", "ordering", "test", "*", "CODE", ",", "or", "if", "an", "equivalent", "combination", "can", "be", "formed", "by", "adjusting", "*", "CODE", "and", "*", "CMP1", ".", "When", "returning", "true", ",", "update", "*", "CODE", "and", "*", "CMP1", "with", "the", "chosen", "code", "and", "operand", ",", "otherwise", "leave", "them", "alone", "."], "TS_V_token": ["riscv", "1", "1", "0"], "File": "riscv", "Func": "riscv_canonicalize_int_order_test", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 156, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVMCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "unsigned", "Size", "=", "Desc", ".", "getSize", "(", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "PseudoCALL", "||", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "PseudoTAIL", ")", "{", "expandFunctionCall", "(", "MI", ",", "OS", ",", "Fixups", ",", "STI", ")", ";", "MCNumEmitted", "+=", "2", ";", "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": ["RISCV", "RISCV", "RISCV::PseudoCALL", "RISCV::PseudoTAIL", "2", "\"Unhandled encodeInstruction length!\"", "2", "support::endian", "support::little", "4", "support::endian", "support::little"], "File": "RISCVMCCodeEmitter", "Func": "encodeInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 157, "Length": 182, "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", ")", ";", "}", ""], "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": "riscv2", "Func": "riscv_unspec_offset_high", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 158, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVInsertVSETVLI", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "RISCVSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "if", "(", "!", "ST", ".", "hasStdExtV", "(", ")", ")", "return", "false", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "assert", "(", "BlockInfo", ".", "empty", "(", ")", "&&", "\"Expect empty block infos\"", ")", ";", "BlockInfo", ".", "resize", "(", "MF", ".", "getNumBlockIDs", "(", ")", ")", ";", "bool", "HaveVectorOp", "=", "false", ";", "for", "(", "const", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "HaveVectorOp", "|=", "computeVLVTYPEChanges", "(", "MBB", ")", ";", "if", "(", "HaveVectorOp", ")", "{", "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", ")", "emitVSETVLIs", "(", "MBB", ")", ";", "}", "BlockInfo", ".", "clear", "(", ")", ";", "return", "HaveVectorOp", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCV", "\"Expect empty block infos\""], "File": "RISCVInsertVSETVLI", "Func": "runOnMachineFunction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 159, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVAsmParser (2)1", "Func": "ParseDirective", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 160, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_setup_incoming_varargs", "(", "cumulative_args_t", "cum", ",", "machine_mode", "mode", ",", "tree", "type", ",", "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", ")", ",", "mode", ",", "type", ",", "1", ")", ";", "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", "1", "0", "0"], "File": "riscv3", "Func": "riscv_setup_incoming_varargs", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 161, "Length": 145, "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", ";", "}", "}", "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": "RISCVISelLowering4", "Func": "getConstraintType", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 162, "Length": 52, "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": 163, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "hasAndNot", "(", "SDValue", "Y", ")", "const", "{", "EVT", "VT", "=", "Y", ".", "getValueType", "(", ")", ";", "if", "(", "VT", ".", "isVector", "(", ")", ")", "return", "false", ";", "return", "Subtarget", ".", "hasStdExtZbb", "(", ")", "&&", "!", "isa", "<", "ConstantSDNode", ">", "(", "Y", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "has", "a", "bitwise", "and-not", "operation", ":", "X", "=", "~A", "&", "B", "This", "can", "be", "used", "to", "simplify", "select", "or", "other", "instructions", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVISelLowering18", "Func": "hasAndNot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 164, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "HOST_WIDE_INT", "riscv_asan_shadow_offset", "(", "void", ")", "{", "return", "TARGET_64BIT", "?", "(", "HOST_WIDE_INT_1", "<<", "29", ")", ":", "0", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASAN_SHADOW_OFFSET", "."], "TS_V_token": ["riscv", "29", "0"], "File": "riscv", "Func": "riscv_asan_shadow_offset", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 165, "Length": 20, "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": 166, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "if", "(", "NoAliases", "||", "!", "printAliasInstr", "(", "MI", ",", "O", ")", ")", "printInstruction", "(", "MI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVInstPrinter22", "Func": "printInst", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 167, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_print_operand_punct_valid_p", "(", "unsigned", "char", "code", ")", "{", "return", "(", "code", "==", "'~'", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PRINT_OPERAND_PUNCT_VALID_P"], "TS_V_token": ["riscv"], "File": "riscv1", "Func": "riscv_print_operand_punct_valid_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 168, "Length": 17, "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", "::", "SLLW", ":", "case", "RISCVISD", "::", "SRAW", ":", "case", "RISCVISD", "::", "SRLW", ":", "case", "RISCVISD", "::", "DIVW", ":", "case", "RISCVISD", "::", "DIVUW", ":", "case", "RISCVISD", "::", "REMUW", ":", "case", "RISCVISD", "::", "ROLW", ":", "case", "RISCVISD", "::", "RORW", ":", "case", "RISCVISD", "::", "GREVIW", ":", "case", "RISCVISD", "::", "GORCIW", ":", "case", "RISCVISD", "::", "FSLW", ":", "case", "RISCVISD", "::", "FSRW", ":", "return", "33", ";", "case", "RISCVISD", "::", "VMV_X_S", ":", "if", "(", "Op", ".", "getOperand", "(", "0", ")", ".", "getScalarValueSizeInBits", "(", ")", ">", "Subtarget", ".", "getXLen", "(", ")", ")", "return", "1", ";", "return", "Subtarget", ".", "getXLen", "(", ")", "-", "Op", ".", "getOperand", "(", "0", ")", ".", "getScalarValueSizeInBits", "(", ")", "+", "1", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["Determine", "the", "number", "of", "bits", "in", "the", "operation", "that", "are", "sign", "bits", "."], "TS_V_token": ["RISCV", "RISCV", "RISCVISD::SLLW", "RISCVISD::SRAW", "RISCVISD::SRLW", "RISCVISD::DIVW", "RISCVISD::DIVUW", "RISCVISD::REMUW", "RISCVISD::ROLW", "RISCVISD::RORW", "RISCVISD::GREVIW", "RISCVISD::GORCIW", "RISCVISD::FSLW", "RISCVISD::FSRW", "33", "RISCVISD::VMV_X_S", "0", "1", "0", "1", "1"], "File": "RISCVISelLowering70", "Func": "ComputeNumSignBitsForTargetNode", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 169, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "DebugLoc", "&", "DL", ",", "MCRegister", "DstReg", ",", "MCRegister", "SrcReg", ",", "bool", "KillSrc", ")", "const", "override", "{", "copyPhysReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "DstReg", ",", "SrcReg", ",", "KillSrc", ",", "MachineInstr", "::", "NoFlags", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["RISCV"], "File": "RISCVInstrInfo14", "Func": "copyPhysReg", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 170, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVInstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "{", "if", "(", "MI", ".", "getParent", "(", ")", "&&", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ")", "{", "const", "auto", "MF", "=", "MI", ".", "getMF", "(", ")", ";", "const", "auto", "&", "TM", "=", "static_cast", "<", "const", "RISCVTargetMachine", "&", ">", "(", "MF", "->", "getTarget", "(", ")", ")", ";", "const", "MCRegisterInfo", "&", "MRI", "=", "*", "TM", ".", "getMCRegisterInfo", "(", ")", ";", "const", "MCSubtargetInfo", "&", "STI", "=", "*", "TM", ".", "getMCSubtargetInfo", "(", ")", ";", "const", "RISCVSubtarget", "&", "ST", "=", "MF", "->", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "if", "(", "isCompressibleInst", "(", "MI", ",", "&", "ST", ",", "MRI", ",", "STI", ")", ")", "return", "2", ";", "}", "return", "get", "(", "Opcode", ")", ".", "getSize", "(", ")", ";", "}", "case", "TargetOpcode", "::", "EH_LABEL", ":", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "KILL", ":", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "return", "0", ";", "case", "RISCV", "::", "PseudoCALLReg", ":", "case", "RISCV", "::", "PseudoCALL", ":", "case", "RISCV", "::", "PseudoTAIL", ":", "case", "RISCV", "::", "PseudoLLA", ":", "case", "RISCV", "::", "PseudoLA", ":", "case", "RISCV", "::", "PseudoLA_TLS_IE", ":", "case", "RISCV", "::", "PseudoLA_TLS_GD", ":", "return", "8", ";", "case", "TargetOpcode", "::", "INLINEASM", ":", "case", "TargetOpcode", "::", "INLINEASM_BR", ":", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "auto", "&", "TM", "=", "static_cast", "<", "const", "RISCVTargetMachine", "&", ">", "(", "MF", ".", "getTarget", "(", ")", ")", ";", "return", "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": ["RISCV", "RISCV", "RISCV", "RISCV", "RISCV", "2", "0", "RISCV::PseudoCALLReg", "RISCV::PseudoCALL", "RISCV::PseudoTAIL", "RISCV::PseudoLLA", "RISCV::PseudoLA", "RISCV::PseudoLA_TLS_IE", "RISCV::PseudoLA_TLS_GD", "8", "RISCV", "0"], "File": "RISCVInstrInfo31", "Func": "getInstSizeInBytes", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 171, "Length": 276, "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": 172, "Length": 270, "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", ";", "case", "SystemRegister", ":", "OS", "<<", "\"'", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["RISCV", "\"\"", "\"'\"", "\"'\"", "\"", "bool", "RISCVSExtWRemoval", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", "||", "DisableSExtWRemoval", ")", "return", "false", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "const", "RISCVSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "if", "(", "!", "ST", ".", "is64Bit", "(", ")", ")", "return", "false", ";", "bool", "MadeChange", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "auto", "I", "=", "MBB", ".", "begin", "(", ")", ",", "IE", "=", "MBB", ".", "end", "(", ")", ";", "I", "!=", "IE", ";", ")", "{", "MachineInstr", "*", "MI", "=", "&", "*", "I", "++", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "!=", "RISCV", "::", "ADDIW", "||", "!", "MI", "->", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", "||", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "!=", "0", "||", "!", "MI", "->", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", ")", "continue", ";", "Register", "SrcReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "if", "(", "!", "SrcReg", ".", "isVirtual", "(", ")", ")", "continue", ";", "const", "MachineInstr", "&", "SrcMI", "=", "*", "MRI", ".", "getVRegDef", "(", "SrcReg", ")", ";", "if", "(", "!", "isSignExtendedW", "(", "SrcMI", ",", "MRI", ")", ")", "continue", ";", "Register", "DstReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "if", "(", "!", "MRI", ".", "constrainRegClass", "(", "SrcReg", ",", "MRI", ".", "getRegClass", "(", "DstReg", ")", ")", ")", "continue", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Removing redundant sign-extension\\n\"", ")", ";", "MRI", ".", "replaceRegWith", "(", "DstReg", ",", "SrcReg", ")", ";", "MRI", ".", "clearKillFlags", "(", "SrcReg", ")", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "++", "NumRemovedSExtW", ";", "MadeChange", "=", "true", ";", "}", "}", "return", "MadeChange", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCV", "RISCV::ADDIW", "2", "2", "0", "1", "1", "0", "\"Removing redundant sign-extension\\n\""], "File": "RISCVSExtWRemoval", "Func": "runOnMachineFunction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 174, "Length": 288, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "VSETVLIInfo", "intersect", "(", "const", "VSETVLIInfo", "&", "Other", ")", "const", "{", "if", "(", "!", "Other", ".", "isValid", "(", ")", ")", "return", "*", "this", ";", "if", "(", "!", "isValid", "(", ")", ")", "return", "Other", ";", "if", "(", "isUnknown", "(", ")", "||", "Other", ".", "isUnknown", "(", ")", ")", "return", "VSETVLIInfo", "::", "getUnknown", "(", ")", ";", "if", "(", "*", "this", "==", "Other", ")", "return", "*", "this", ";", "if", "(", "hasSameAVL", "(", "Other", ")", "&&", "hasSameVLMAX", "(", "Other", ")", ")", "{", "VSETVLIInfo", "MergeInfo", "=", "*", "this", ";", "MergeInfo", ".", "SEWLMULRatioOnly", "=", "true", ";", "return", "MergeInfo", ";", "}", "return", "VSETVLIInfo", "::", "getUnknown", "(", ")", ";", "}", ""], "natrual_language": ["Intersect", "this", "set", "with", "a", "temporary", "other", "set", "in", "place", "."], "TS_V_token": ["RISCV", "VSETVLIInfo::getUnknown", "VSETVLIInfo::getUnknown"], "File": "RISCVInsertVSETVLI", "Func": "intersect", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 175, "Length": 100, "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": 176, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVFrameLowering", "::", "determineFrameLayout", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "RISCVRegisterInfo", "*", "RI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "uint64_t", "FrameSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "for", "(", "int", "ID", "=", "MFI", ".", "getObjectIndexBegin", "(", ")", ",", "EID", "=", "MFI", ".", "getObjectIndexEnd", "(", ")", ";", "ID", "<", "EID", ";", "ID", "++", ")", "{", "if", "(", "MFI", ".", "getStackID", "(", "ID", ")", "==", "TargetStackID", "::", "RISCVVector", "&&", "!", "MFI", ".", "isDeadObjectIndex", "(", "ID", ")", ")", "{", "FrameSize", "=", "alignTo", "(", "FrameSize", ",", "TRI", "->", "getSpillAlignment", "(", "RISCV", "::", "GPRRegClass", ")", ")", ";", "FrameSize", "+=", "TRI", "->", "getSpillSize", "(", "RISCV", "::", "GPRRegClass", ")", ";", "MFI", ".", "setObjectOffset", "(", "ID", ",", "-", "FrameSize", ")", ";", "}", "}", "Align", "StackAlign", "=", "getStackAlign", "(", ")", ";", "if", "(", "RI", "->", "needsStackRealignment", "(", "MF", ")", ")", "{", "Align", "MaxStackAlign", "=", "std", "::", "max", "(", "StackAlign", ",", "MFI", ".", "getMaxAlign", "(", ")", ")", ";", "FrameSize", "+=", "(", "MaxStackAlign", ".", "value", "(", ")", "-", "StackAlign", ".", "value", "(", ")", ")", ";", "StackAlign", "=", "MaxStackAlign", ";", "}", "uint64_t", "MaxCallSize", "=", "alignTo", "(", "MFI", ".", "getMaxCallFrameSize", "(", ")", ",", "StackAlign", ")", ";", "MFI", ".", "setMaxCallFrameSize", "(", "MaxCallSize", ")", ";", "FrameSize", "=", "alignTo", "(", "FrameSize", ",", "StackAlign", ")", ";", "MFI", ".", "setStackSize", "(", "FrameSize", ")", ";", "}", ""], "natrual_language": ["Determine", "the", "frame", "layout", "but", "do", "not", "update", "the", "machine", "function", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCV", "RISCV::GPRRegClass", "RISCV::GPRRegClass"], "File": "RISCVFrameLowering20", "Func": "determineFrameLayout", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 177, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "th_mempair_save_regs", "(", "rtx", "operands", "[", "4", "]", ")", "{", "rtx", "set1", "=", "gen_rtx_SET", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ")", ";", "rtx", "set2", "=", "gen_rtx_SET", "(", "operands", "[", "2", "]", ",", "operands", "[", "3", "]", ")", ";", "rtx", "insn", "=", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "set1", ",", "set2", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_OFFSET", ",", "copy_rtx", "(", "set1", ")", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_OFFSET", ",", "copy_rtx", "(", "set2", ")", ")", ";", "}", ""], "natrual_language": ["Similar", "like", "riscv_save_reg", ",", "but", "saves", "two", "registers", "to", "memory", "and", "marks", "the", "resulting", "instruction", "as", "frame-related", "."], "TS_V_token": ["riscv", "4", "0", "1", "2", "3", "2", "1"], "File": "thead", "Func": "th_mempair_save_regs", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 178, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "outliner", "::", "InstrType", "RISCVInstrInfo", "::", "getOutliningType", "(", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "unsigned", "Flags", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "MBBI", ";", "MachineBasicBlock", "*", "MBB", "=", "MI", ".", "getParent", "(", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "MBB", "->", "getParent", "(", ")", "->", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "if", "(", "MI", ".", "isPosition", "(", ")", ")", "{", "if", "(", "MI", ".", "isCFIInstruction", "(", ")", ")", "return", "MI", ".", "getMF", "(", ")", "->", "getFunction", "(", ")", ".", "needsUnwindTableEntry", "(", ")", "?", "outliner", "::", "InstrType", "::", "Illegal", ":", "outliner", "::", "InstrType", "::", "Invisible", ";", "return", "outliner", "::", "InstrType", "::", "Illegal", ";", "}", "if", "(", "MI", ".", "isInlineAsm", "(", ")", ")", "return", "outliner", "::", "InstrType", "::", "Illegal", ";", "if", "(", "MI", ".", "isTerminator", "(", ")", "&&", "!", "MBB", "->", "succ_empty", "(", ")", ")", "return", "outliner", "::", "InstrType", "::", "Illegal", ";", "if", "(", "MI", ".", "isReturn", "(", ")", ")", "return", "outliner", "::", "InstrType", "::", "Illegal", ";", "if", "(", "MI", ".", "modifiesRegister", "(", "RISCV", "::", "X5", ",", "TRI", ")", "||", "MI", ".", "getDesc", "(", ")", ".", "hasImplicitDefOfPhysReg", "(", "RISCV", "::", "X5", ")", ")", "return", "outliner", "::", "InstrType", "::", "Illegal", ";", "for", "(", "const", "auto", "&", "MO", ":", "MI", ".", "operands", "(", ")", ")", "if", "(", "MO", ".", "isMBB", "(", ")", "||", "MO", ".", "isBlockAddress", "(", ")", "||", "MO", ".", "isCPI", "(", ")", "||", "MO", ".", "isJTI", "(", ")", ")", "return", "outliner", "::", "InstrType", "::", "Illegal", ";", "if", "(", "MI", ".", "isMetaInstruction", "(", ")", ")", "return", "outliner", "::", "InstrType", "::", "Invisible", ";", "return", "outliner", "::", "InstrType", "::", "Legal", ";", "}", ""], "natrual_language": ["Returns", "how", "or", "if", "MIT", "should", "be", "outlined", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::X5", "RISCV::X5"], "File": "RISCVInstrInfo24", "Func": "getOutliningType", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 179, "Length": 260, "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": 180, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "poly_int64", "riscv_initial_elimination_offset", "(", "int", "from", ",", "int", "to", ")", "{", "poly_int64", "src", ",", "dest", ";", "riscv_compute_frame_info", "(", ")", ";", "if", "(", "to", "==", "HARD_FRAME_POINTER_REGNUM", ")", "dest", "=", "cfun", "->", "machine", "->", "frame", ".", "hard_frame_pointer_offset", ";", "else", "if", "(", "to", "==", "STACK_POINTER_REGNUM", ")", "dest", "=", "0", ";", "else", "gcc_unreachable", "(", ")", ";", "if", "(", "from", "==", "FRAME_POINTER_REGNUM", ")", "src", "=", "cfun", "->", "machine", "->", "frame", ".", "frame_pointer_offset", ";", "else", "if", "(", "from", "==", "ARG_POINTER_REGNUM", ")", "src", "=", "cfun", "->", "machine", "->", "frame", ".", "arg_pointer_offset", ";", "else", "gcc_unreachable", "(", ")", ";", "return", "src", "-", "dest", ";", "}", ""], "natrual_language": ["Implement", "INITIAL_ELIMINATION_OFFSET", ".", "FROM", "is", "either", "the", "frame", "pointer", "or", "argument", "pointer", ".", "TO", "is", "either", "the", "stack", "pointer", "or", "hard", "frame", "pointer", "."], "TS_V_token": ["riscv", "0"], "File": "riscv1", "Func": "riscv_initial_elimination_offset", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 181, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "riscv_address_cost", "(", "rtx", "addr", ",", "enum", "machine_mode", "mode", ",", "addr_space_t", "as", "ATTRIBUTE_UNUSED", ",", "bool", "speed", "ATTRIBUTE_UNUSED", ")", "{", "return", "riscv_address_insns", "(", "addr", ",", "mode", ",", "false", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ADDRESS_COST", "."], "TS_V_token": ["riscv"], "File": "riscv2", "Func": "riscv_address_cost", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 182, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DstReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RISCV", "::", "GPRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "RISCV", "::", "LW", ")", ",", "DstReg", ")", ".", "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": ["RISCV", "RISCV", "RISCV::GPRRegClass", "RISCV::LW", "0", "\"Can't load this register from stack slot\""], "File": "RISCVInstrInfo17", "Func": "loadRegFromStackSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 183, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_valid_lo_sum_p", "(", "enum", "riscv_symbol_type", "sym_type", ",", "enum", "machine_mode", "mode", ")", "{", "if", "(", "riscv_symbol_insns", "(", "sym_type", ")", "==", "0", ")", "return", "false", ";", "if", "(", "!", "riscv_split_symbol_type", "(", "sym_type", ")", ")", "return", "false", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "UNITS_PER_WORD", "&&", "GET_MODE_BITSIZE", "(", "mode", ")", ">", "GET_MODE_ALIGNMENT", "(", "mode", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "LO_SUM", "can", "address", "a", "value", "of", "mode", "MODE", "when", "the", "LO_SUM", "symbol", "has", "type", "SYM_TYPE", "."], "TS_V_token": ["riscv", "0"], "File": "riscv2", "Func": "riscv_valid_lo_sum_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 184, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "addUses", "(", "const", "MachineInstr", "&", "MI", ",", "SmallVectorImpl", "<", "const", "MachineInstr", "*", ">", "&", "Worklist", ",", "MachineRegisterInfo", "&", "MRI", ")", "{", "for", "(", "auto", "&", "UserOp", ":", "MRI", ".", "reg_operands", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", "{", "const", "auto", "*", "User", "=", "UserOp", ".", "getParent", "(", ")", ";", "if", "(", "User", "==", "&", "MI", ")", "continue", ";", "Worklist", ".", "push_back", "(", "User", ")", ";", "}", "}", ""], "natrual_language": ["Add", "uses", "to", "the", "set", "."], "TS_V_token": ["RISCV", "0"], "File": "RISCVSExtWRemoval1", "Func": "addUses", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 185, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVInstrInfo", "::", "verifyInstruction", "(", "const", "MachineInstr", "&", "MI", ",", "StringRef", "&", "ErrInfo", ")", "const", "{", "const", "MCInstrInfo", "*", "MCII", "=", "STI", ".", "getInstrInfo", "(", ")", ";", "MCInstrDesc", "const", "&", "Desc", "=", "MCII", "->", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "for", "(", "auto", "&", "OI", ":", "enumerate", "(", "Desc", ".", "operands", "(", ")", ")", ")", "{", "unsigned", "OpType", "=", "OI", ".", "value", "(", ")", ".", "OperandType", ";", "if", "(", "OpType", ">=", "RISCVOp", "::", "OPERAND_FIRST_RISCV_IMM", "&&", "OpType", "<=", "RISCVOp", "::", "OPERAND_LAST_RISCV_IMM", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OI", ".", "index", "(", ")", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "int64_t", "Imm", "=", "MO", ".", "getImm", "(", ")", ";", "bool", "Ok", ";", "switch", "(", "OpType", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected operand type\"", ")", ";", "case", "RISCVOp", "::", "OPERAND_UIMM2", ":", "Ok", "=", "isUInt", "<", "2", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_UIMM3", ":", "Ok", "=", "isUInt", "<", "3", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_UIMM4", ":", "Ok", "=", "isUInt", "<", "4", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_UIMM5", ":", "Ok", "=", "isUInt", "<", "5", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_UIMM7", ":", "Ok", "=", "isUInt", "<", "7", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_UIMM12", ":", "Ok", "=", "isUInt", "<", "12", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_SIMM12", ":", "Ok", "=", "isInt", "<", "12", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_UIMM20", ":", "Ok", "=", "isUInt", "<", "20", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_UIMMLOG2XLEN", ":", "if", "(", "STI", ".", "getTargetTriple", "(", ")", ".", "isArch64Bit", "(", ")", ")", "Ok", "=", "isUInt", "<", "6", ">", "(", "Imm", ")", ";", "else", "Ok", "=", "isUInt", "<", "5", ">", "(", "Imm", ")", ";", "break", ";", "}", "if", "(", "!", "Ok", ")", "{", "ErrInfo", "=", "\"Invalid immediate\"", ";", "return", "false", ";", "}", "}", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Perform", "target-specific", "instruction", "verification", "."], "TS_V_token": ["RISCV", "RISCV", "RISCVOp::OPERAND_FIRST_RISCV_IMM", "RISCVOp::OPERAND_LAST_RISCV_IMM", "\"Unexpected operand type\"", "RISCVOp::OPERAND_UIMM2", "2", "RISCVOp::OPERAND_UIMM3", "3", "RISCVOp::OPERAND_UIMM4", "4", "RISCVOp::OPERAND_UIMM5", "5", "RISCVOp::OPERAND_UIMM7", "7", "RISCVOp::OPERAND_UIMM12", "12", "RISCVOp::OPERAND_SIMM12", "12", "RISCVOp::OPERAND_UIMM20", "20", "RISCVOp::OPERAND_UIMMLOG2XLEN", "6", "5", "\"Invalid immediate\""], "File": "RISCVInstrInfo (2)", "Func": "verifyInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 186, "Length": 332, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "add_vector_type_attribute", "(", "tree", "type", ",", "const", "char", "*", "mangled_name", ")", "{", "tree", "mangled_name_tree", "=", "get_identifier", "(", "mangled_name", ")", ";", "tree", "value", "=", "tree_cons", "(", "NULL_TREE", ",", "mangled_name_tree", ",", "NULL_TREE", ")", ";", "TYPE_ATTRIBUTES", "(", "type", ")", "=", "tree_cons", "(", "get_identifier", "(", "\"RVV type\"", ")", ",", "value", ",", "TYPE_ATTRIBUTES", "(", "type", ")", ")", ";", "}", ""], "natrual_language": ["Add", "type", "attributes", "to", "builtin", "type", "tree", ",", "currently", "only", "the", "mangled", "name", "."], "TS_V_token": ["riscv", "\"RVV type\""], "File": "riscv-vector-builtins", "Func": "add_vector_type_attribute", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 187, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_verify_type_context", "(", "location_t", "loc", ",", "type_context_kind", "context", ",", "const_tree", "type", ",", "bool", "silent_p", ")", "{", "return", "riscv_vector", "::", "verify_type_context", "(", "loc", ",", "context", ",", "type", ",", "silent_p", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VERIFY_TYPE_CONTEXT", "."], "TS_V_token": ["riscv", "riscv_vector::verify_type_context"], "File": "riscv1", "Func": "riscv_verify_type_context", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 188, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "riscv_address_cost", "(", "rtx", "addr", ",", "machine_mode", "mode", ",", "addr_space_t", "as", "ATTRIBUTE_UNUSED", ",", "bool", "speed", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_RVC", "&&", "!", "speed", "&&", "riscv_mshorten_memrefs", "&&", "mode", "==", "SImode", "&&", "!", "riscv_compressed_lw_address_p", "(", "addr", ")", ")", "return", "riscv_address_insns", "(", "addr", ",", "mode", ",", "false", ")", "+", "1", ";", "return", "riscv_address_insns", "(", "addr", ",", "mode", ",", "false", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ADDRESS_COST", "."], "TS_V_token": ["riscv", "1"], "File": "riscv", "Func": "riscv_address_cost", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 189, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "riscv_legitimize_address", "(", "rtx", "x", ",", "rtx", "oldx", "ATTRIBUTE_UNUSED", ",", "enum", "machine_mode", "mode", ")", "{", "rtx", "addr", ";", "if", "(", "riscv_tls_symbol_p", "(", "x", ")", ")", "return", "riscv_legitimize_tls_address", "(", "x", ")", ";", "if", "(", "riscv_split_symbol", "(", "NULL", ",", "x", ",", "mode", ",", "&", "addr", ")", ")", "return", "riscv_force_address", "(", "addr", ",", "mode", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", "&&", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", "!=", "0", ")", "{", "rtx", "base", "=", "XEXP", "(", "x", ",", "0", ")", ";", "HOST_WIDE_INT", "offset", "=", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ";", "if", "(", "!", "riscv_valid_base_register_p", "(", "base", ",", "mode", ",", "false", ")", ")", "base", "=", "copy_to_mode_reg", "(", "Pmode", ",", "base", ")", ";", "addr", "=", "riscv_add_offset", "(", "NULL", ",", "base", ",", "offset", ")", ";", "return", "riscv_force_address", "(", "addr", ",", "mode", ")", ";", "}", "return", "x", ";", "}", ""], "natrual_language": ["This", "function", "is", "used", "to", "implement", "LEGITIMIZE_ADDRESS", ".", "If", "X", "can", "be", "legitimized", "in", "a", "way", "that", "the", "generic", "machinery", "might", "not", "expect", ",", "return", "a", "new", "address", ",", "otherwise", "return", "NULL", ".", "MODE", "is", "the", "mode", "of", "the", "memory", "being", "accessed", "."], "TS_V_token": ["riscv", "1", "1", "0", "0", "1"], "File": "riscv2", "Func": "riscv_legitimize_address", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 190, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "RISCV", "::", "X8", ":", "RISCV", "::", "X2", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::X8", "RISCV::X2"], "File": "RISCVRegisterInfo", "Func": "getFrameRegister", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 191, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmBackend", "::", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "if", "(", "(", "Count", "%", "4", ")", "!=", "0", ")", "return", "false", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "<", "Count", ";", "i", "+=", "4", ")", "OW", "->", "write32", "(", "0x13", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["RISCV", "RISCV", "4", "0", "0", "4", "0x13"], "File": "RISCVAsmBackend10", "Func": "writeNopData", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 192, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RISCVSubtarget", "&", "getSubtarget", "(", ")", "const", "{", "return", "Subtarget", ";", "}", ""], "natrual_language": ["getSubtarget", "-", "Return", "the", "subtarget", "for", "which", "this", "machine", "code", "is", "being", "compiled", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVISelLowering12", "Func": "getSubtarget", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 193, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "register_builtin_types", "(", ")", "{", "tree", "int8_type_node", "=", "get_typenode_from_name", "(", "INT8_TYPE", ")", ";", "tree", "uint8_type_node", "=", "get_typenode_from_name", "(", "UINT8_TYPE", ")", ";", "tree", "int16_type_node", "=", "get_typenode_from_name", "(", "INT16_TYPE", ")", ";", "tree", "int32_type_node", "=", "get_typenode_from_name", "(", "INT32_TYPE", ")", ";", "tree", "int64_type_node", "=", "get_typenode_from_name", "(", "INT64_TYPE", ")", ";", "machine_mode", "mode", ";", "VECTOR_MODE_MIN_VLEN_32", ",", "ARGS", "...", ")", "\\", "mode", "=", "TARGET_MIN_VLEN", ">", "32", "?", "VECTOR_MODE", "##", "mode", "\\", ":", "VECTOR_MODE_MIN_VLEN_32", "##", "mode", ";", "\\", "register_builtin_type", "(", "VECTOR_TYPE_", "##", "NAME", ",", "SCALAR_TYPE", "##", "_type_node", ",", "mode", ")", ";", "}", ""], "natrual_language": ["Register", "the", "built-in", "RVV", "ABI", "types", ",", "such", "as", "__rvv_int32m1_t", "."], "TS_V_token": ["riscv", "32"], "File": "riscv-vector-builtins", "Func": "register_builtin_types", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 194, "Length": 85, "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", "(", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected instr type to insert\"", ")", ";", "case", "RISCV", "::", "Select_GPR_Using_CC_GPR", ":", "case", "RISCV", "::", "Select_FPR32_Using_CC_GPR", ":", "break", ";", "}", "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", "\"Unexpected instr type to insert\"", "RISCV::Select_GPR_Using_CC_GPR", "RISCV::Select_FPR32_Using_CC_GPR", "1", "2", "ISD::CondCode", "3", "RISCV::PHI", "0", "4", "5"], "File": "RISCVISelLowering31", "Func": "EmitInstrWithCustomInserter", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 195, "Length": 381, "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": 196, "Length": 104, "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", "{", "MCContext", "&", "Ctx", "=", "Asm", ".", "getContext", "(", ")", ";", "MCFixupKindInfo", "Info", "=", "getFixupKindInfo", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "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!\"", ")", ";", "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": ["RISCV", "RISCV", "8", "8", "\"Invalid fixup offset!\"", "0", "8", "0xff"], "File": "RISCVAsmBackend11", "Func": "applyFixup", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 197, "Length": 161, "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", ".", "is64Bit", "(", ")", ")", ";", "int", "ShiftedC1Cost", "=", "RISCVMatInt", "::", "getIntMatCost", "(", "ShiftedC1Int", ",", "Ty", ".", "getSizeInBits", "(", ")", ",", "Subtarget", ".", "is64Bit", "(", ")", ")", ";", "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": "RISCVISelLowering34", "Func": "isDesirableToCommuteWithShift", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 198, "Length": 231, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "riscv_memory_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "rclass", ",", "bool", "in", ")", "{", "return", "(", "tune_param", "->", "memory_cost", "+", "memory_move_secondary_cost", "(", "mode", ",", "rclass", ",", "in", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MEMORY_MOVE_COST", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_memory_move_cost", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 199, "Length": 31, "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": 200, "Length": 97, "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", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Implement", "CLASS_MAX_NREGS", "."], "TS_V_token": ["riscv", "0"], "File": "riscv", "Func": "riscv_class_max_nregs", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 201, "Length": 50, "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": 202, "Length": 295, "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": 203, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVAsmPrinter", "::", "emitBasicBlockStart", "(", "const", "MachineBasicBlock", "&", "MBB", ")", "{", "AsmPrinter", "::", "emitBasicBlockStart", "(", "MBB", ")", ";", "auto", "*", "RVFI", "=", "MF", "->", "getInfo", "<", "RISCVMachineFunctionInfo", ">", "(", ")", ";", "RISCVTargetStreamer", "&", "RTS", "=", "static_cast", "<", "RISCVTargetStreamer", "&", ">", "(", "*", "OutStreamer", "->", "getTargetStreamer", "(", ")", ")", ";", "if", "(", "RVFI", "->", "isHwlpBasicBlock", "(", "&", "MBB", ")", ")", "{", "RTS", ".", "emitDirectiveOptionPush", "(", ")", ";", "RTS", ".", "emitDirectiveOptionNoRVC", "(", ")", ";", "}", "}", ""], "natrual_language": ["Targets", "can", "override", "this", "to", "emit", "stuff", "at", "the", "start", "of", "a", "basic", "block", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCV", "RISCV"], "File": "RISCVAsmPrinter1", "Func": "emitBasicBlockStart", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 204, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVAsmPrinter", "::", "emitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "if", "(", "emitPseudoExpansionLowering", "(", "*", "OutStreamer", ",", "MI", ")", ")", "return", ";", "MCInst", "TmpInst", ";", "LowerRISCVMachineInstrToMCInst", "(", "MI", ",", "TmpInst", ",", "*", "this", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "TmpInst", ")", ";", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV"], "File": "RISCVAsmPrinter13", "Func": "emitInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 205, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVRegisterInfo", "::", "hasReservedSpillSlot", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Reg", ",", "int", "&", "FrameIdx", ")", "const", "{", "const", "auto", "*", "RVFI", "=", "MF", ".", "getInfo", "<", "RISCVMachineFunctionInfo", ">", "(", ")", ";", "if", "(", "!", "RVFI", "->", "useSaveRestoreLibCalls", "(", ")", ")", "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": "RISCVRegisterInfo18", "Func": "hasReservedSpillSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 206, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVCallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "ArrayRef", "<", "Register", ">", "VRegs", ")", "const", "{", "MachineInstrBuilder", "Ret", "=", "MIRBuilder", ".", "buildInstrNoInsert", "(", "RISCV", "::", "PseudoRET", ")", ";", "if", "(", "Val", "!=", "nullptr", ")", "{", "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": ["RISCV", "RISCV", "RISCV::PseudoRET"], "File": "RISCVCallLowering2", "Func": "lowerReturn", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 207, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVAsmPrinter", "::", "emitFunctionEntryLabel", "(", ")", "{", "AsmPrinter", "::", "emitFunctionEntryLabel", "(", ")", ";", "RISCVTargetStreamer", "&", "RTS", "=", "static_cast", "<", "RISCVTargetStreamer", "&", ">", "(", "*", "OutStreamer", "->", "getTargetStreamer", "(", ")", ")", ";", "RTS", ".", "setTargetABI", "(", "STI", "->", "getTargetABI", "(", ")", ")", ";", "}", ""], "natrual_language": ["EmitFunctionEntryLabel", "-", "Emit", "the", "label", "that", "is", "the", "entrypoint", "for", "the", "function", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCV"], "File": "RISCVAsmPrinter", "Func": "emitFunctionEntryLabel", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 208, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "riscv_const_insns", "(", "rtx", "x", ")", "{", "enum", "riscv_symbol_type", "symbol_type", ";", "rtx", "offset", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "HIGH", ":", "if", "(", "!", "riscv_symbolic_constant_p", "(", "XEXP", "(", "x", ",", "0", ")", ",", "&", "symbol_type", ")", "||", "!", "riscv_split_symbol_type", "(", "symbol_type", ")", ")", "return", "0", ";", "return", "1", ";", "case", "CONST_INT", ":", "{", "int", "cost", "=", "riscv_integer_cost", "(", "INTVAL", "(", "x", ")", ")", ";", "return", "cost", "<", "4", "?", "cost", ":", "0", ";", "}", "case", "CONST_DOUBLE", ":", "case", "CONST_VECTOR", ":", "return", "x", "==", "CONST0_RTX", "(", "GET_MODE", "(", "x", ")", ")", "?", "1", ":", "0", ";", "case", "CONST", ":", "if", "(", "riscv_symbolic_constant_p", "(", "x", ",", "&", "symbol_type", ")", ")", "return", "riscv_symbol_insns", "(", "symbol_type", ")", ";", "split_const", "(", "x", ",", "&", "x", ",", "&", "offset", ")", ";", "if", "(", "offset", "!=", "0", ")", "{", "int", "n", "=", "riscv_const_insns", "(", "x", ")", ";", "if", "(", "n", "!=", "0", ")", "return", "n", "+", "riscv_integer_cost", "(", "INTVAL", "(", "offset", ")", ")", ";", "}", "return", "0", ";", "case", "SYMBOL_REF", ":", "case", "LABEL_REF", ":", "return", "riscv_symbol_insns", "(", "riscv_classify_symbol", "(", "x", ")", ")", ";", "case", "CONST_POLY_INT", ":", "return", "4", ";", "default", ":", "return", "0", ";", "}", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "needed", "to", "load", "constant", "X", ".", "Return", "0", "if", "X", "is", "n't", "a", "valid", "constant", "."], "TS_V_token": ["riscv", "0", "0", "1", "4", "0", "1", "0", "0", "0", "0", "4", "0"], "File": "riscv1", "Func": "riscv_const_insns", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 209, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVFrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "MutableArrayRef", "<", "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", "(", ")", ";", "const", "auto", "&", "NonLibcallCSI", "=", "getNonLibcallCSI", "(", "*", "MF", ",", "CSI", ")", ";", "for", "(", "auto", "&", "CS", ":", "NonLibcallCSI", ")", "{", "Register", "Reg", "=", "CS", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "TII", ".", "loadRegFromStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "CS", ".", "getFrameIdx", "(", ")", ",", "RC", ",", "TRI", ")", ";", "assert", "(", "MI", "!=", "MBB", ".", "begin", "(", ")", "&&", "\"loadRegFromStackSlot didn't insert any code!\"", ")", ";", "}", "const", "char", "*", "RestoreLibCall", "=", "getRestoreLibCallName", "(", "*", "MF", ",", "CSI", ")", ";", "if", "(", "RestoreLibCall", ")", "{", "MachineBasicBlock", "::", "iterator", "NewMI", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "RISCV", "::", "PseudoTAIL", ")", ")", ".", "addExternalSymbol", "(", "RestoreLibCall", ",", "RISCVII", "::", "MO_CALL", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameDestroy", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", "&&", "MI", "->", "getOpcode", "(", ")", "==", "RISCV", "::", "PseudoRET", ")", "{", "NewMI", "->", "copyImplicitOps", "(", "*", "MF", ",", "*", "MI", ")", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "}", "}", "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": ["RISCV", "RISCV", "\"loadRegFromStackSlot didn't insert any code!\"", "RISCV::PseudoTAIL", "RISCVII::MO_CALL", "RISCV::PseudoRET"], "File": "RISCVFrameLowering (2)", "Func": "restoreCalleeSavedRegisters", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 210, "Length": 271, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "switch", "(", "Kind", ")", "{", "case", "KindTy", "::", "Immediate", ":", "OS", "<<", "*", "getImm", "(", ")", ";", "break", ";", "case", "KindTy", "::", "Register", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "KindTy", "::", "Token", ":", "OS", "<<", "\"'\"", "<<", "getToken", "(", ")", "<<", "\"'\"", ";", "break", ";", "case", "KindTy", "::", "SystemRegister", ":", "OS", "<<", "\"'", ";", "break", ";", "case", "KindTy", "::", "VectorRegister", ":", "OS", "<<", "\"'", ";", "break", ";", "case", "KindTy", "::", "VTypeImm", ":", "SmallVector", "<", "char", ",", "8", ">", "VTypeBuf", ";", "OS", "<<", "\"'", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["RISCV", "\"\"", "\"'\"", "\"'\"", "\"", "bool", "RISCVFrameLowering", "::", "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", "(", ")", ";", "const", "char", "*", "SpillLibCall", "=", "getSpillLibCallName", "(", "*", "MF", ",", "CSI", ")", ";", "if", "(", "SpillLibCall", ")", "{", "assert", "(", "!", "RISCVABI", "::", "isCheriPureCapABI", "(", "STI", ".", "getTargetABI", "(", ")", ")", "&&", "\"Save/restore libcall not implemented for purecap\"", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "RISCV", "::", "PseudoCALLReg", ")", ",", "RISCV", "::", "X5", ")", ".", "addExternalSymbol", "(", "SpillLibCall", ",", "RISCVII", "::", "MO_CALL", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "for", "(", "auto", "&", "CS", ":", "CSI", ")", "MBB", ".", "addLiveIn", "(", "CS", ".", "getReg", "(", ")", ")", ";", "}", "const", "auto", "&", "NonLibcallCSI", "=", "getNonLibcallCSI", "(", "*", "MF", ",", "CSI", ")", ";", "for", "(", "auto", "&", "CS", ":", "NonLibcallCSI", ")", "{", "Register", "Reg", "=", "CS", ".", "getReg", "(", ")", ";", "bool", "IsLiveIn", "=", "MF", "->", "getRegInfo", "(", ")", ".", "isLiveIn", "(", "Reg", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "TII", ".", "storeRegToStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "!", "IsLiveIn", ",", "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": ["RISCV", "RISCV", "RISCVABI::isCheriPureCapABI", "\"Save/restore libcall not implemented for purecap\"", "RISCV::PseudoCALLReg", "RISCV::X5", "RISCVII::MO_CALL"], "File": "RISCVFrameLowering21", "Func": "spillCalleeSavedRegisters", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 212, "Length": 271, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_valid_base_register_p", "(", "rtx", "x", ",", "enum", "machine_mode", "mode", ",", "bool", "strict_p", ")", "{", "if", "(", "!", "strict_p", "&&", "GET_CODE", "(", "x", ")", "==", "SUBREG", ")", "x", "=", "SUBREG_REG", "(", "x", ")", ";", "return", "(", "REG_P", "(", "x", ")", "&&", "riscv_regno_mode_ok_for_base_p", "(", "REGNO", "(", "x", ")", ",", "mode", ",", "strict_p", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "valid", "base", "register", "for", "mode", "MODE", ".", "STRICT_P", "is", "true", "if", "REG_OK_STRICT", "is", "in", "effect", "."], "TS_V_token": ["riscv"], "File": "riscv2", "Func": "riscv_valid_base_register_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 213, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVInstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVInstrInfo (2)1", "Func": "expandPostRAPseudo", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 214, "Length": 28, "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", ",", "MachineInstr", "::", "FrameDestroy", ")", ";", "}", "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": "RISCVFrameLowering11", "Func": "emitEpilogue", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 215, "Length": 441, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "RISCVDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "CS", ")", "const", "{", "uint32_t", "Insn", ";", "DecodeStatus", "Result", ";", "if", "(", "(", "Bytes", "[", "0", "]", "&", "0x3", ")", "==", "0x3", ")", "{", "if", "(", "Bytes", ".", "size", "(", ")", "<", "4", ")", "{", "Size", "=", "0", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "Insn", "=", "support", "::", "endian", "::", "read32le", "(", "Bytes", ".", "data", "(", ")", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Trying RISCV32 table :\\n\"", ")", ";", "Result", "=", "decodeInstruction", "(", "DecoderTable32", ",", "MI", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "Size", "=", "4", ";", "}", "else", "{", "if", "(", "Bytes", ".", "size", "(", ")", "<", "2", ")", "{", "Size", "=", "0", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "Insn", "=", "support", "::", "endian", "::", "read16le", "(", "Bytes", ".", "data", "(", ")", ")", ";", "if", "(", "!", "STI", ".", "getFeatureBits", "(", ")", "[", "RISCV", "::", "Feature64Bit", "]", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Trying RISCV32Only_16 table (16-bit Instruction):\\n\"", ")", ";", "Result", "=", "decodeInstruction", "(", "DecoderTableRISCV32Only_16", ",", "MI", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "Size", "=", "2", ";", "return", "Result", ";", "}", "}", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "RISCV", "::", "FeatureExtZbproposedc", "]", "&&", "STI", ".", "getFeatureBits", "(", ")", "[", "RISCV", "::", "FeatureStdExtC", "]", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Trying RVBC32 table (BitManip 16-bit Instruction):\\n\"", ")", ";", "Result", "=", "decodeInstruction", "(", "DecoderTableRVBC16", ",", "MI", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "Size", "=", "2", ";", "return", "Result", ";", "}", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Trying RISCV_C table (16-bit Instruction):\\n\"", ")", ";", "Result", "=", "decodeInstruction", "(", "DecoderTable16", ",", "MI", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "Size", "=", "2", ";", "}", "return", "Result", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["RISCV", "RISCV", "0", "0x3", "0x3", "4", "0", "support::endian", "\"Trying RISCV32 table :\\n\"", "4", "2", "0", "support::endian", "RISCV::Feature64Bit", "\"Trying RISCV32Only_16 table (16-bit Instruction):\\n\"", "RISCV", "2", "RISCV::FeatureExtZbproposedc", "RISCV::FeatureStdExtC", "\"Trying RVBC32 table (BitManip 16-bit Instruction):\\n\"", "2", "\"Trying RISCV_C table (16-bit Instruction):\\n\"", "2"], "File": "RISCVDisassembler13", "Func": "getInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 216, "Length": 316, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmBackend", "::", "shouldInsertFixupForCodeAlign", "(", "MCAssembler", "&", "Asm", ",", "const", "MCAsmLayout", "&", "Layout", ",", "MCAlignFragment", "&", "AF", ")", "{", "if", "(", "!", "STI", ".", "getFeatureBits", "(", ")", "[", "RISCV", "::", "FeatureRelax", "]", ")", "return", "false", ";", "unsigned", "Count", ";", "shouldInsertExtraNopBytesForCodeAlign", "(", "AF", ",", "Count", ")", ";", "if", "(", "Count", "==", "0", ")", "return", "false", ";", "MCContext", "&", "Ctx", "=", "Asm", ".", "getContext", "(", ")", ";", "const", "MCExpr", "*", "Dummy", "=", "MCConstantExpr", "::", "create", "(", "0", ",", "Ctx", ")", ";", "MCFixup", "Fixup", "=", "MCFixup", "::", "create", "(", "0", ",", "Dummy", ",", "MCFixupKind", "(", "RISCV", "::", "fixup_riscv_align", ")", ",", "SMLoc", "(", ")", ")", ";", "uint64_t", "FixedValue", "=", "0", ";", "MCValue", "NopBytes", "=", "MCValue", "::", "get", "(", "Count", ")", ";", "Asm", ".", "getWriter", "(", ")", ".", "recordRelocation", "(", "Asm", ",", "Layout", ",", "&", "AF", ",", "Fixup", ",", "NopBytes", ",", "FixedValue", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Hook", "which", "indicates", "if", "the", "target", "requires", "a", "fixup", "to", "be", "generated", "when", "handling", "an", "align", "directive", "in", "an", "executable", "section", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::FeatureRelax", "0", "0", "0", "RISCV::fixup_riscv_align", "0"], "File": "RISCVAsmBackend16", "Func": "shouldInsertFixupForCodeAlign", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 217, "Length": 143, "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": ["RISCV"], "File": "RISCVMCExpr", "Func": "findAssociatedFragment", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 218, "Length": 18, "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", ",", "0", ")", ";", "if", "(", "Subtarget", ".", "hasStdExtV", "(", ")", "&&", "(", "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", "0", "MVT::i1"], "File": "RISCVISelLowering42", "Func": "getSetCCResultType", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 219, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "getPostIndexedAddressParts", "(", "SDNode", "*", "N", ",", "SDNode", "*", "Op", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Offset", ",", "ISD", "::", "MemIndexedMode", "&", "AM", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "hasNonStdExtPulp", "(", ")", ")", "return", "false", ";", "if", "(", "Op", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "ADD", ")", "return", "false", ";", "if", "(", "LoadSDNode", "*", "LD", "=", "dyn_cast", "<", "LoadSDNode", ">", "(", "N", ")", ")", "{", "Base", "=", "LD", "->", "getBasePtr", "(", ")", ";", "}", "else", "if", "(", "StoreSDNode", "*", "ST", "=", "dyn_cast", "<", "StoreSDNode", ">", "(", "N", ")", ")", "{", "Base", "=", "ST", "->", "getBasePtr", "(", ")", ";", "}", "else", "{", "return", "false", ";", "}", "if", "(", "Base", "==", "Op", "->", "getOperand", "(", "0", ")", ")", "{", "Offset", "=", "Op", "->", "getOperand", "(", "1", ")", ";", "}", "else", "if", "(", "Base", "==", "Op", "->", "getOperand", "(", "1", ")", ")", "{", "Offset", "=", "Op", "->", "getOperand", "(", "0", ")", ";", "}", "else", "{", "return", "false", ";", "}", "AM", "=", "ISD", "::", "POST_INC", ";", "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": ["RISCV", "RISCV", "ISD::MemIndexedMode", "ISD::ADD", "0", "1", "1", "0", "ISD::POST_INC"], "File": "RISCVISelLowering73", "Func": "getPostIndexedAddressParts", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 220, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVRegisterInfo", "::", "getRegisterCostTableIndex", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ".", "hasStdExtC", "(", ")", "?", "1", ":", "0", ";", "}", ""], "natrual_language": ["Return", "the", "register", "cost", "table", "index", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "1", "0"], "File": "RISCVRegisterInfo12", "Func": "getRegisterCostTableIndex", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 221, "Length": 31, "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": 222, "Length": 29, "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", "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!\"", ")", ";", "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": ["RISCV", "RISCV", "8", "8", "\"Invalid fixup offset!\"", "0", "8", "0xff"], "File": "RISCVAsmBackend14", "Func": "applyFixup", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 223, "Length": 179, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"== \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "Node", "->", "setNodeId", "(", "-", "1", ")", ";", "return", ";", "}", "unsigned", "Opcode", "=", "Node", "->", "getOpcode", "(", ")", ";", "MVT", "XLenVT", "=", "Subtarget", "->", "getXLenVT", "(", ")", ";", "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", ")", ",", "RISCV", "::", "X0", ",", "XLenVT", ")", ";", "ReplaceNode", "(", "Node", ",", "New", ".", "getNode", "(", ")", ")", ";", "return", ";", "}", "int64_t", "Imm", "=", "ConstNode", "->", "getSExtValue", "(", ")", ";", "if", "(", "XLenVT", "==", "MVT", "::", "i64", ")", "{", "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", "(", "RISCV", "::", "ADDI", ",", "DL", ",", "VT", ",", "TFI", ",", "Imm", ")", ")", ";", "return", ";", "}", "case", "ISD", "::", "SRL", ":", "{", "if", "(", "!", "Subtarget", "->", "is64Bit", "(", ")", ")", "break", ";", "SDValue", "Op0", "=", "Node", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Op1", "=", "Node", "->", "getOperand", "(", "1", ")", ";", "uint64_t", "Mask", ";", "if", "(", "Op1", ".", "getOpcode", "(", ")", "==", "ISD", "::", "Constant", "&&", "isConstantMask", "(", "Op0", ".", "getNode", "(", ")", ",", "Mask", ")", ")", "{", "uint64_t", "ShAmt", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op1", ".", "getNode", "(", ")", ")", "->", "getZExtValue", "(", ")", ";", "if", "(", "(", "Mask", "|", "maskTrailingOnes", "<", "uint64_t", ">", "(", "ShAmt", ")", ")", "==", "0xffffffff", ")", "{", "SDValue", "ShAmtVal", "=", "CurDAG", "->", "getTargetConstant", "(", "ShAmt", ",", "SDLoc", "(", "Node", ")", ",", "XLenVT", ")", ";", "CurDAG", "->", "SelectNodeTo", "(", "Node", ",", "RISCV", "::", "SRLIW", ",", "XLenVT", ",", "Op0", ".", "getOperand", "(", "0", ")", ",", "ShAmtVal", ")", ";", "return", ";", "}", "}", "break", ";", "}", "}", "SelectCode", "(", "Node", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["RISCV", "RISCV", "\"== \"", "\"\\n\"", "1", "0", "ISD::Constant", "RISCV::X0", "MVT::i64", "ISD::FrameIndex", "0", "RISCV::ADDI", "ISD::SRL", "0", "1", "ISD::Constant", "0xffffffff", "RISCV::SRLIW", "0"], "File": "RISCVISelDAGToDAG36", "Func": "Select", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 224, "Length": 428, "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": 225, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "pass_vsetvl", "::", "refine_vsetvls", "(", "void", ")", "const", "{", "basic_block", "cfg_bb", ";", "FOR_EACH_BB_FN", "(", "cfg_bb", ",", "cfun", ")", "{", "auto", "info", "=", "m_vector_manager", "->", "vector_block_infos", "[", "cfg_bb", "->", "index", "]", ".", "local_dem", ";", "insn_info", "*", "insn", "=", "info", ".", "get_insn", "(", ")", ";", "if", "(", "!", "info", ".", "valid_p", "(", ")", ")", "continue", ";", "rtx_insn", "*", "rinsn", "=", "insn", "->", "rtl", "(", ")", ";", "if", "(", "!", "can_refine_vsetvl_p", "(", "cfg_bb", ",", "info", ")", ")", "continue", ";", "if", "(", "vector_config_insn_p", "(", "rinsn", ")", ")", "{", "m_vector_manager", "->", "to_refine_vsetvls", ".", "add", "(", "rinsn", ")", ";", "continue", ";", "}", "rinsn", "=", "PREV_INSN", "(", "rinsn", ")", ";", "rtx", "new_pat", "=", "gen_vsetvl_pat", "(", "VSETVL_VTYPE_CHANGE_ONLY", ",", "info", ",", "NULL_RTX", ")", ";", "change_insn", "(", "rinsn", ",", "new_pat", ")", ";", "}", "}", ""], "natrual_language": ["Optimize", "athe", "case", "like", "this", ":", "bb", "0", ":", "vsetvl", "0", "a5", ",", "zero", ",", "e8", ",", "mf8", "insn", "0", "(", "demand", "SEW", "+", "LMUL", ")", "bb", "1", ":", "vsetvl", "1", "a5", ",", "zero", ",", "e16", ",", "mf4", "insn", "1", "(", "demand", "SEW", "+", "LMUL", ")", "In", "this", "case", ",", "we", "should", "be", "able", "to", "refine", "vsetvl", "1", "into", "vsetvl", "zero", ",", "zero", "according", "AVIN", "."], "TS_V_token": ["riscv"], "File": "riscv-vsetvl", "Func": "refine_vsetvls", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 226, "Length": 124, "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": 227, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "const", "{", "bool", "HasStdExtC", "=", "STI", "->", "getFeatureBits", "(", ")", "[", "RISCV", "::", "FeatureStdExtC", "]", ";", "unsigned", "MinNopLen", "=", "HasStdExtC", "?", "2", ":", "4", ";", "if", "(", "(", "Count", "%", "MinNopLen", ")", "!=", "0", ")", "return", "false", ";", "for", "(", ";", "Count", ">=", "4", ";", "Count", "-=", "4", ")", "OS", ".", "write", "(", "\"\\x13\\0\\0\\0\"", ",", "4", ")", ";", "if", "(", "Count", "&&", "HasStdExtC", ")", "OS", ".", "write", "(", "\"\\x01\\0\"", ",", "2", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::FeatureStdExtC", "2", "4", "0", "4", "4", "\"\\x13\\0\\0\\0\"", "4", "\"\\x01\\0\"", "2"], "File": "RISCVAsmBackend14", "Func": "writeNopData", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 228, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "RISCVDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "CS", ")", "const", "{", "uint32_t", "Insn", ";", "DecodeStatus", "Result", ";", "if", "(", "(", "Bytes", "[", "0", "]", "&", "0x3", ")", "==", "0x3", ")", "{", "if", "(", "Bytes", ".", "size", "(", ")", "<", "4", ")", "{", "Size", "=", "0", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "Insn", "=", "support", "::", "endian", "::", "read32le", "(", "Bytes", ".", "data", "(", ")", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Trying RISCV32 table :\\n\"", ")", ";", "Result", "=", "decodeInstruction", "(", "DecoderTable32", ",", "MI", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "Size", "=", "4", ";", "}", "else", "{", "if", "(", "Bytes", ".", "size", "(", ")", "<", "2", ")", "{", "Size", "=", "0", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "Insn", "=", "support", "::", "endian", "::", "read16le", "(", "Bytes", ".", "data", "(", ")", ")", ";", "if", "(", "!", "STI", ".", "getFeatureBits", "(", ")", "[", "RISCV", "::", "Feature64Bit", "]", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Trying RISCV32Only_16 table (16-bit Instruction):\\n\"", ")", ";", "Result", "=", "decodeInstruction", "(", "DecoderTableRISCV32Only_16", ",", "MI", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "Size", "=", "2", ";", "return", "Result", ";", "}", "}", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "RISCV", "::", "FeatureStdExtZbproposedc", "]", "&&", "STI", ".", "getFeatureBits", "(", ")", "[", "RISCV", "::", "FeatureStdExtC", "]", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Trying RVBC32 table (BitManip 16-bit Instruction):\\n\"", ")", ";", "Result", "=", "decodeInstruction", "(", "DecoderTableRVBC16", ",", "MI", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "Size", "=", "2", ";", "return", "Result", ";", "}", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Trying RISCV_C table (16-bit Instruction):\\n\"", ")", ";", "Result", "=", "decodeInstruction", "(", "DecoderTable16", ",", "MI", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "Size", "=", "2", ";", "}", "return", "Result", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["RISCV", "RISCV", "0", "0x3", "0x3", "4", "0", "support::endian", "\"Trying RISCV32 table :\\n\"", "4", "2", "0", "support::endian", "RISCV::Feature64Bit", "\"Trying RISCV32Only_16 table (16-bit Instruction):\\n\"", "RISCV", "2", "RISCV::FeatureStdExtZbproposedc", "RISCV::FeatureStdExtC", "\"Trying RVBC32 table (BitManip 16-bit Instruction):\\n\"", "2", "\"Trying RISCV_C table (16-bit Instruction):\\n\"", "2"], "File": "RISCVDisassembler23", "Func": "getInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 229, "Length": 316, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_emit_epilogue_components", "(", "sbitmap", "components", ")", "{", "riscv_process_components", "(", "components", ",", "false", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SHRINK_WRAP_EMIT_EPILOGUE_COMPONENTS", "."], "TS_V_token": ["riscv"], "File": "riscv1", "Func": "riscv_emit_epilogue_components", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 230, "Length": 16, "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": 231, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "RISCVTargetLowering", "::", "emitMaskedAtomicRMWIntrinsic", "(", "IRBuilderBase", "&", "Builder", ",", "AtomicRMWInst", "*", "AI", ",", "Value", "*", "AlignedAddr", ",", "Value", "*", "Incr", ",", "Value", "*", "Mask", ",", "Value", "*", "ShiftAmt", ",", "AtomicOrdering", "Ord", ")", "const", "{", "unsigned", "XLen", "=", "Subtarget", ".", "getXLen", "(", ")", ";", "Value", "*", "Ordering", "=", "Builder", ".", "getIntN", "(", "XLen", ",", "static_cast", "<", "uint64_t", ">", "(", "AI", "->", "getOrdering", "(", ")", ")", ")", ";", "Type", "*", "Tys", "[", "]", "=", "{", "AlignedAddr", "->", "getType", "(", ")", "}", ";", "Function", "*", "LrwOpScwLoop", "=", "Intrinsic", "::", "getDeclaration", "(", "AI", "->", "getModule", "(", ")", ",", "getIntrinsicForMaskedAtomicRMWBinOp", "(", "XLen", ",", "AI", "->", "getOperation", "(", ")", ")", ",", "Tys", ")", ";", "if", "(", "XLen", "==", "64", ")", "{", "Incr", "=", "Builder", ".", "CreateSExt", "(", "Incr", ",", "Builder", ".", "getInt64Ty", "(", ")", ")", ";", "Mask", "=", "Builder", ".", "CreateSExt", "(", "Mask", ",", "Builder", ".", "getInt64Ty", "(", ")", ")", ";", "ShiftAmt", "=", "Builder", ".", "CreateSExt", "(", "ShiftAmt", ",", "Builder", ".", "getInt64Ty", "(", ")", ")", ";", "}", "Value", "*", "Result", ";", "if", "(", "AI", "->", "getOperation", "(", ")", "==", "AtomicRMWInst", "::", "Min", "||", "AI", "->", "getOperation", "(", ")", "==", "AtomicRMWInst", "::", "Max", ")", "{", "const", "DataLayout", "&", "DL", "=", "AI", "->", "getModule", "(", ")", "->", "getDataLayout", "(", ")", ";", "unsigned", "ValWidth", "=", "DL", ".", "getTypeStoreSizeInBits", "(", "AI", "->", "getValOperand", "(", ")", "->", "getType", "(", ")", ")", ";", "Value", "*", "SextShamt", "=", "Builder", ".", "CreateSub", "(", "Builder", ".", "getIntN", "(", "XLen", ",", "XLen", "-", "ValWidth", ")", ",", "ShiftAmt", ")", ";", "Result", "=", "Builder", ".", "CreateCall", "(", "LrwOpScwLoop", ",", "{", "AlignedAddr", ",", "Incr", ",", "Mask", ",", "SextShamt", ",", "Ordering", "}", ")", ";", "}", "else", "{", "Result", "=", "Builder", ".", "CreateCall", "(", "LrwOpScwLoop", ",", "{", "AlignedAddr", ",", "Incr", ",", "Mask", ",", "Ordering", "}", ")", ";", "}", "if", "(", "XLen", "==", "64", ")", "Result", "=", "Builder", ".", "CreateTrunc", "(", "Result", ",", "Builder", ".", "getInt32Ty", "(", ")", ")", ";", "return", "Result", ";", "}", ""], "natrual_language": ["Perform", "a", "masked", "atomicrmw", "using", "a", "target-specific", "intrinsic", "."], "TS_V_token": ["RISCV", "RISCV", "Intrinsic::getDeclaration", "64", "64"], "File": "RISCVISelLowering1", "Func": "emitMaskedAtomicRMWIntrinsic", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 232, "Length": 313, "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": 233, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "getName", "(", ")", "{", "return", "DEBUG_TYPE", ";", "}", ""], "natrual_language": ["Return", "a", "string", "with", "the", "name", "of", "the", "plan", "and", "the", "applicable", "VFs", "and", "UFs", "."], "TS_V_token": ["RISCV"], "File": "RISCVInstructionSelector", "Func": "getName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 234, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "PULP_HWLOOPS_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["RISCV"], "File": "RISCVPulpHWLoops", "Func": "getPassName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 235, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_compressed_lw_offset_p", "(", "rtx", "x", ")", "{", "return", "(", "CONST_INT_P", "(", "x", ")", "&&", "(", "INTVAL", "(", "x", ")", "&", "3", ")", "==", "0", "&&", "IN_RANGE", "(", "INTVAL", "(", "x", ")", ",", "0", ",", "CSW_MAX_OFFSET", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "x", "is", "an", "unsigned", "5-bit", "immediate", "scaled", "by", "4", "."], "TS_V_token": ["riscv", "3", "0", "0"], "File": "riscv", "Func": "riscv_compressed_lw_offset_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 236, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "&", "RISCV", "::", "GPRRegClass", ";", "if", "(", "!", "isInt", "<", "11", ">", "(", "MFI", ".", "estimateStackSize", "(", "MF", ")", ")", ")", "{", "int", "RegScavFI", "=", "MFI", ".", "CreateStackObject", "(", "RegInfo", "->", "getSpillSize", "(", "*", "RC", ")", ",", "RegInfo", "->", "getSpillAlign", "(", "*", "RC", ")", ",", "false", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "RegScavFI", ")", ";", "}", "}", ""], "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::GPRRegClass", "11"], "File": "RISCVFrameLowering", "Func": "processFunctionBeforeFrameFinalized", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 237, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLegalMaskedLoad", "(", "Type", "*", "DataType", ",", "Align", "Alignment", ")", "{", "return", "isLegalMaskedLoadStore", "(", "DataType", ",", "Alignment", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "load", "."], "TS_V_token": ["RISCV"], "File": "RISCVTargetTransformInfo10", "Func": "isLegalMaskedLoad", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 238, "Length": 20, "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", "(", ")", ";", "if", "(", "CSI", ".", "size", "(", ")", ")", "{", "MinCSFI", "=", "CSI", "[", "0", "]", ".", "getFrameIdx", "(", ")", ";", "MaxCSFI", "=", "CSI", "[", "CSI", ".", "size", "(", ")", "-", "1", "]", ".", "getFrameIdx", "(", ")", ";", "}", "if", "(", "FI", ">=", "MinCSFI", "&&", "FI", "<=", "MaxCSFI", ")", "{", "FrameReg", "=", "RISCV", "::", "X2", ";", "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": "RISCVFrameLowering26", "Func": "getFrameIndexReference", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 239, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RISCVMCExpr", "*", "RISCVMCExpr", "::", "create", "(", "const", "MCExpr", "*", "Expr", ",", "VariantKind", "Kind", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "RISCVMCExpr", "(", "Expr", ",", "Kind", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCV"], "File": "RISCVMCExpr (2)", "Func": "create", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 240, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "riscv_legitimize_move", "(", "enum", "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", ";", "}", "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"], "File": "riscv2", "Func": "riscv_legitimize_move", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RISCVRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "RegInfo", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVSubtarget (2)", "Func": "getRegisterInfo", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 242, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "RISCVTargetLowering", "::", "BuildSDIVPow2", "(", "SDNode", "*", "N", ",", "const", "APInt", "&", "Divisor", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDNode", "*", ">", "&", "Created", ")", "const", "{", "AttributeList", "Attr", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFunction", "(", ")", ".", "getAttributes", "(", ")", ";", "if", "(", "isIntDivCheap", "(", "N", "->", "getValueType", "(", "0", ")", ",", "Attr", ")", ")", "return", "SDValue", "(", "N", ",", "0", ")", ";", "assert", "(", "(", "Divisor", ".", "isPowerOf2", "(", ")", "||", "Divisor", ".", "isNegatedPowerOf2", "(", ")", ")", "&&", "\"Unexpected divisor!\"", ")", ";", "if", "(", "!", "Subtarget", ".", "hasStdExtZbt", "(", ")", ")", "return", "SDValue", "(", ")", ";", "unsigned", "Lg2", "=", "Divisor", ".", "countTrailingZeros", "(", ")", ";", "if", "(", "Lg2", "==", "1", "||", "Lg2", ">=", "12", ")", "return", "SDValue", "(", ")", ";", "EVT", "VT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "if", "(", "VT", "!=", "MVT", "::", "i32", "&&", "!", "(", "Subtarget", ".", "is64Bit", "(", ")", "&&", "VT", "==", "MVT", "::", "i64", ")", ")", "return", "SDValue", "(", ")", ";", "SDLoc", "DL", "(", "N", ")", ";", "SDValue", "N0", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Zero", "=", "DAG", ".", "getConstant", "(", "0", ",", "DL", ",", "VT", ")", ";", "SDValue", "Pow2MinusOne", "=", "DAG", ".", "getConstant", "(", "(", "1ULL", "<<", "Lg2", ")", "-", "1", ",", "DL", ",", "VT", ")", ";", "SDValue", "Cmp", "=", "DAG", ".", "getSetCC", "(", "DL", ",", "VT", ",", "N0", ",", "Zero", ",", "ISD", "::", "SETLT", ")", ";", "SDValue", "Add", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ADD", ",", "DL", ",", "VT", ",", "N0", ",", "Pow2MinusOne", ")", ";", "SDValue", "Sel", "=", "DAG", ".", "getNode", "(", "ISD", "::", "SELECT", ",", "DL", ",", "VT", ",", "Cmp", ",", "Add", ",", "N0", ")", ";", "Created", ".", "push_back", "(", "Cmp", ".", "getNode", "(", ")", ")", ";", "Created", ".", "push_back", "(", "Add", ".", "getNode", "(", ")", ")", ";", "Created", ".", "push_back", "(", "Sel", ".", "getNode", "(", ")", ")", ";", "SDValue", "SRA", "=", "DAG", ".", "getNode", "(", "ISD", "::", "SRA", ",", "DL", ",", "VT", ",", "Sel", ",", "DAG", ".", "getConstant", "(", "Lg2", ",", "DL", ",", "VT", ")", ")", ";", "if", "(", "Divisor", ".", "isNonNegative", "(", ")", ")", "return", "SRA", ";", "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": ["RISCV", "RISCV", "0", "0", "\"Unexpected divisor!\"", "1", "12", "0", "MVT::i32", "MVT::i64", "0", "0", "1ULL", "1", "ISD::SETLT", "ISD::ADD", "ISD::SELECT", "ISD::SRA", "ISD::SUB", "0"], "File": "RISCVISelLowering20", "Func": "BuildSDIVPow2", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 243, "Length": 386, "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": 244, "Length": 216, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmBackend", "::", "shouldInsertExtraNopBytesForCodeAlign", "(", "const", "MCAlignFragment", "&", "AF", ",", "unsigned", "&", "Size", ")", "{", "if", "(", "!", "STI", ".", "getFeatureBits", "(", ")", "[", "RISCV", "::", "FeatureRelax", "]", ")", "return", "false", ";", "bool", "HasStdExtC", "=", "STI", ".", "getFeatureBits", "(", ")", "[", "RISCV", "::", "FeatureStdExtC", "]", ";", "unsigned", "MinNopLen", "=", "HasStdExtC", "?", "2", ":", "4", ";", "Size", "=", "AF", ".", "getAlignment", "(", ")", "-", "MinNopLen", ";", "return", "true", ";", "}", ""], "natrual_language": ["Hook", "to", "check", "if", "extra", "nop", "bytes", "must", "be", "inserted", "for", "alignment", "directive", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::FeatureRelax", "RISCV::FeatureStdExtC", "2", "4"], "File": "RISCVAsmBackend16", "Func": "shouldInsertExtraNopBytesForCodeAlign", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 245, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "lookup_vector_type_attribute", "(", "const_tree", "type", ")", "{", "if", "(", "type", "==", "error_mark_node", ")", "return", "NULL_TREE", ";", "return", "lookup_attribute", "(", "\"RVV type\"", ",", "TYPE_ATTRIBUTES", "(", "type", ")", ")", ";", "}", ""], "natrual_language": ["If", "TYPE", "is", "an", "ABI-defined", "RVV", "type", ",", "return", "its", "attribute", "descriptor", ",", "otherwise", "return", "null", "."], "TS_V_token": ["riscv", "\"RVV type\""], "File": "riscv-vector-builtins", "Func": "lookup_vector_type_attribute", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 246, "Length": 29, "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": 247, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVInstrInfo", "::", "insertBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "TBB", ",", "MachineBasicBlock", "*", "FBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "const", "DebugLoc", "&", "DL", ",", "int", "*", "BytesAdded", ")", "const", "{", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "=", "0", ";", "assert", "(", "TBB", "&&", "\"insertBranch must not be told to insert a fallthrough\"", ")", ";", "assert", "(", "(", "Cond", ".", "size", "(", ")", "==", "3", "||", "Cond", ".", "size", "(", ")", "==", "0", ")", "&&", "\"RISCV branch conditions have two components!\"", ")", ";", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "MachineInstr", "&", "MI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "RISCV", "::", "PseudoBR", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "getInstSizeInBytes", "(", "MI", ")", ";", "return", "1", ";", "}", "auto", "CC", "=", "static_cast", "<", "RISCVCC", "::", "CondCode", ">", "(", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ")", ";", "MachineInstr", "&", "CondMI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "getBrCond", "(", "CC", ")", ")", ".", "add", "(", "Cond", "[", "1", "]", ")", ".", "add", "(", "Cond", "[", "2", "]", ")", ".", "addMBB", "(", "TBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "getInstSizeInBytes", "(", "CondMI", ")", ";", "if", "(", "!", "FBB", ")", "return", "1", ";", "MachineInstr", "&", "MI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "RISCV", "::", "PseudoBR", ")", ")", ".", "addMBB", "(", "FBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "getInstSizeInBytes", "(", "MI", ")", ";", "return", "2", ";", "}", ""], "natrual_language": ["Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "."], "TS_V_token": ["RISCV", "RISCV", "0", "\"insertBranch must not be told to insert a fallthrough\"", "3", "0", "\"RISCV branch conditions have two components!\"", "RISCV::PseudoBR", "1", "RISCVCC::CondCode", "0", "1", "2", "1", "RISCV::PseudoBR", "2"], "File": "RISCVInstrInfo (2)", "Func": "insertBranch", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 248, "Length": 243, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstrInfo", "::", "adjustStackPtr", "(", "unsigned", "SP", ",", "int64_t", "Amount", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "DebugLoc", "DL", "=", "I", "!=", "MBB", ".", "end", "(", ")", "?", "I", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "unsigned", "ADD", "=", "STI", ".", "isRV64", "(", ")", "?", "RISCV", "::", "ADD64", ":", "RISCV", "::", "ADD", ";", "unsigned", "ADDI", "=", "STI", ".", "isRV64", "(", ")", "?", "RISCV", "::", "ADDI64", ":", "RISCV", "::", "ADDI", ";", "if", "(", "isInt", "<", "12", ">", "(", "Amount", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ADDI", ")", ",", "SP", ")", ".", "addReg", "(", "SP", ")", ".", "addImm", "(", "Amount", ")", ";", "else", "{", "unsigned", "Reg", ";", "loadImmediate", "(", "MBB", ",", "I", ",", "&", "Reg", ",", "Amount", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ADD", ")", ",", "SP", ")", ".", "addReg", "(", "SP", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ";", "}", "}", ""], "natrual_language": ["Adjust", "SP", "by", "Amount", "bytes", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::ADD64", "RISCV::ADD", "RISCV::ADDI64", "RISCV::ADDI", "12"], "File": "RISCVInstrInfo (2)1", "Func": "adjustStackPtr", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 249, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "RISCVSelectionDAGInfo", "::", "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", "EmitTargetCodeForMemOp", "(", "DAG", ",", "dl", ",", "Chain", ",", "Dst", ",", "Src", ",", "Size", ",", "Alignment", ",", "isVolatile", ",", "false", ",", "MustPreserveCheriCapabilities", ",", "DstPtrInfo", ",", "SrcPtrInfo", ",", "false", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memmove", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVSelectionDAGInfo", "Func": "EmitTargetCodeForMemmove", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 250, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVSubtarget", "::", "enableSubRegLiveness", "(", ")", "const", "{", "return", "EnableSubRegLiveness", ";", "}", ""], "natrual_language": ["Enable", "tracking", "of", "subregister", "liveness", "in", "register", "allocator", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVSubtarget11", "Func": "enableSubRegLiveness", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 251, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "riscv_split_integer", "(", "HOST_WIDE_INT", "val", ",", "machine_mode", "mode", ")", "{", "unsigned", "HOST_WIDE_INT", "loval", "=", "sext_hwi", "(", "val", ",", "32", ")", ";", "unsigned", "HOST_WIDE_INT", "hival", "=", "sext_hwi", "(", "(", "val", "-", "loval", ")", ">>", "32", ",", "32", ")", ";", "rtx", "hi", "=", "gen_reg_rtx", "(", "mode", ")", ",", "lo", "=", "gen_reg_rtx", "(", "mode", ")", ";", "riscv_move_integer", "(", "hi", ",", "hi", ",", "hival", ")", ";", "riscv_move_integer", "(", "lo", ",", "lo", ",", "loval", ")", ";", "hi", "=", "gen_rtx_fmt_ee", "(", "ASHIFT", ",", "mode", ",", "hi", ",", "GEN_INT", "(", "32", ")", ")", ";", "hi", "=", "force_reg", "(", "mode", ",", "hi", ")", ";", "return", "gen_rtx_fmt_ee", "(", "PLUS", ",", "mode", ",", "hi", ",", "lo", ")", ";", "}", ""], "natrual_language": ["Try", "to", "split", "a", "64b", "integer", "into", "32b", "parts", ",", "then", "reassemble", "."], "TS_V_token": ["riscv", "32", "32", "32", "32"], "File": "riscv3", "Func": "riscv_split_integer", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 252, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "function_expander", "::", "use_widen_ternop_insn", "(", "insn_code", "icode", ")", "{", "int", "arg_offset", "=", "0", ";", "if", "(", "use_real_mask_p", "(", "pred", ")", ")", "add_input_operand", "(", "arg_offset", "++", ")", ";", "else", "add_all_one_mask_operand", "(", "mask_mode", "(", ")", ")", ";", "for", "(", "int", "argno", "=", "arg_offset", ";", "argno", "<", "call_expr_nargs", "(", "exp", ")", ";", "argno", "++", ")", "add_input_operand", "(", "argno", ")", ";", "add_input_operand", "(", "Pmode", ",", "get_tail_policy_for_pred", "(", "pred", ")", ")", ";", "add_input_operand", "(", "Pmode", ",", "get_mask_policy_for_pred", "(", "pred", ")", ")", ";", "add_input_operand", "(", "Pmode", ",", "get_avl_type_rtx", "(", "avl_type", "::", "NONVLMAX", ")", ")", ";", "return", "generate_insn", "(", "icode", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "call", "using", "instruction", "ICODE", ",", "with", "a", "1:1", "mapping", "between", "arguments", "and", "input", "operands", "."], "TS_V_token": ["riscv", "0"], "File": "riscv-vector-builtins", "Func": "use_widen_ternop_insn", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 253, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMem", "(", "RegisterKind", "RegKind", ",", "bool", "HasIndex", ")", "const", "{", "return", "(", "Kind", "==", "KindMem", "&&", "Mem", ".", "RegKind", "==", "RegKind", "&&", "(", "HasIndex", "||", "!", "Mem", ".", "Index", ")", ")", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["RISCV"], "File": "RISCVAsmParser (2)1", "Func": "isMem", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 254, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "machine_mode", "function_expander", "::", "vector_mode", "(", "void", ")", "const", "{", "return", "TYPE_MODE", "(", "builtin_types", "[", "type", ".", "index", "]", ".", "vector", ")", ";", "}", ""], "natrual_language": ["Return", "the", "machine_mode", "of", "the", "corresponding", "vector", "type", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "vector_mode", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVInstrInfo", "::", "areMemAccessesTriviallyDisjoint", "(", "const", "MachineInstr", "&", "MIa", ",", "const", "MachineInstr", "&", "MIb", ")", "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", "=", "STI", ".", "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": ["RISCV", "RISCV", "\"MIa must be a load or store.\"", "\"MIb must be a load or store.\"", "0", "0", "0", "0"], "File": "RISCVInstrInfo (2)", "Func": "areMemAccessesTriviallyDisjoint", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 256, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVTargetLowering", "::", "getExceptionSelectorRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "{", "return", "RISCV", "::", "X11", ";", "}", ""], "natrual_language": ["If", "a", "physical", "register", ",", "this", "returns", "the", "register", "that", "receives", "the", "exception", "typeid", "on", "entry", "to", "a", "landing", "pad", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::X11"], "File": "RISCVISelLowering11", "Func": "getExceptionSelectorRegister", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 257, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "RISCVRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", ")", "const", "{", "if", "(", "Subtarget", ".", "isRV64", "(", ")", ")", "if", "(", "Subtarget", ".", "hasD", "(", ")", ")", "return", "CSR_RV64D_RegMask", ";", "else", "if", "(", "Subtarget", ".", "hasF", "(", ")", ")", "return", "CSR_RV64F_RegMask", ";", "else", "return", "CSR_RV64_RegMask", ";", "else", "if", "(", "Subtarget", ".", "hasD", "(", ")", ")", "return", "CSR_RV32D_RegMask", ";", "else", "if", "(", "Subtarget", ".", "hasF", "(", ")", ")", "return", "CSR_RV32F_RegMask", ";", "else", "return", "CSR_RV32_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVRegisterInfo32", "Func": "getCallPreservedMask", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 258, "Length": 82, "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", ";", "Align", "RVVStackAlign", ";", "std", "::", "tie", "(", "RVVStackSize", ",", "RVVStackAlign", ")", "=", "assignRVVStackObjectOffsets", "(", "MFI", ")", ";", "RVFI", "->", "setRVVStackSize", "(", "RVVStackSize", ")", ";", "RVFI", "->", "setRVVStackAlign", "(", "RVVStackAlign", ")", ";", "MFI", ".", "ensureMaxAlignment", "(", "RVVStackAlign", ")", ";", "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", ")", ";", "}", ""], "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"], "File": "RISCVFrameLowering (2)", "Func": "processFunctionBeforeFrameFinalized", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 259, "Length": 316, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "OS", ")", "{", "RISCVInstPrinter", "::", "printAddress", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", ",", "MI", "->", "getOperand", "(", "OpNo", "+", "1", ")", ".", "getImm", "(", ")", ",", "OS", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "1"], "File": "RISCVAsmPrinter (2)", "Func": "PrintAsmMemoryOperand", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 260, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstrInfo", "::", "insertIndirectBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "&", "DestBB", ",", "MachineBasicBlock", "&", "RestoreBB", ",", "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", "(", ")", ";", "if", "(", "!", "isInt", "<", "32", ">", "(", "BrOffset", ")", ")", "report_fatal_error", "(", "\"Branch offsets outside of the signed 32-bit range not supported\"", ")", ";", "Register", "ScratchReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "RISCV", "::", "GPRRegClass", ")", ";", "auto", "II", "=", "MBB", ".", "end", "(", ")", ";", "MachineInstr", "&", "MI", "=", "*", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "get", "(", "RISCV", "::", "PseudoJump", ")", ")", ".", "addReg", "(", "ScratchReg", ",", "RegState", "::", "Define", "|", "RegState", "::", "Dead", ")", ".", "addMBB", "(", "&", "DestBB", ",", "RISCVII", "::", "MO_CALL", ")", ";", "RS", "->", "enterBasicBlockEnd", "(", "MBB", ")", ";", "unsigned", "Scav", "=", "RS", "->", "scavengeRegisterBackwards", "(", "RISCV", "::", "GPRRegClass", ",", "MI", ".", "getIterator", "(", ")", ",", "false", ",", "0", ")", ";", "assert", "(", "Scav", "!=", "RISCV", "::", "NoRegister", "&&", "\"No register is scavenged!\"", ")", ";", "MRI", ".", "replaceRegWith", "(", "ScratchReg", ",", "Scav", ")", ";", "MRI", ".", "clearVirtRegs", "(", ")", ";", "RS", "->", "setRegUsed", "(", "Scav", ")", ";", "}", ""], "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", "32", "\"Branch offsets outside of the signed 32-bit range not supported\"", "RISCV::GPRRegClass", "RISCV::PseudoJump", "RISCVII::MO_CALL", "RISCV::GPRRegClass", "0", "RISCV::NoRegister", "\"No register is scavenged!\""], "File": "RISCVInstrInfo14", "Func": "insertIndirectBranch", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 261, "Length": 225, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixup", "*", "RISCVMCExpr", "::", "getPCRelHiFixup", "(", ")", "const", "{", "MCValue", "AUIPCLoc", ";", "if", "(", "!", "getSubExpr", "(", ")", "->", "evaluateAsRelocatable", "(", "AUIPCLoc", ",", "nullptr", ",", "nullptr", ")", ")", "return", "nullptr", ";", "const", "MCSymbolRefExpr", "*", "AUIPCSRE", "=", "AUIPCLoc", ".", "getSymA", "(", ")", ";", "if", "(", "!", "AUIPCSRE", ")", "return", "nullptr", ";", "const", "MCSymbol", "*", "AUIPCSymbol", "=", "&", "AUIPCSRE", "->", "getSymbol", "(", ")", ";", "const", "auto", "*", "DF", "=", "dyn_cast_or_null", "<", "MCDataFragment", ">", "(", "AUIPCSymbol", "->", "getFragment", "(", ")", ")", ";", "if", "(", "!", "DF", ")", "return", "nullptr", ";", "uint64_t", "Offset", "=", "AUIPCSymbol", "->", "getOffset", "(", ")", ";", "if", "(", "DF", "->", "getContents", "(", ")", ".", "size", "(", ")", "==", "Offset", ")", "{", "DF", "=", "dyn_cast_or_null", "<", "MCDataFragment", ">", "(", "DF", "->", "getNextNode", "(", ")", ")", ";", "if", "(", "!", "DF", ")", "return", "nullptr", ";", "Offset", "=", "0", ";", "}", "for", "(", "const", "MCFixup", "&", "F", ":", "DF", "->", "getFixups", "(", ")", ")", "{", "if", "(", "F", ".", "getOffset", "(", ")", "!=", "Offset", ")", "continue", ";", "switch", "(", "(", "unsigned", ")", "F", ".", "getKind", "(", ")", ")", "{", "default", ":", "continue", ";", "case", "RISCV", "::", "fixup_riscv_got_hi20", ":", "case", "RISCV", "::", "fixup_riscv_pcrel_hi20", ":", "return", "&", "F", ";", "}", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["Get", "the", "corresponding", "PC-relative", "HI", "fixup", "that", "a", "VK_RISCV_PCREL_LO", "points", "to", ",", "and", "optionally", "the", "fragment", "containing", "it", "."], "TS_V_token": ["RISCV", "RISCV", "0", "RISCV::fixup_riscv_got_hi20", "RISCV::fixup_riscv_pcrel_hi20"], "File": "RISCVMCExpr17", "Func": "getPCRelHiFixup", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 262, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "pass_vsetvl", "::", "prune_expressions", "(", "void", ")", "{", "for", "(", "const", "bb_info", "*", "bb", ":", "crtl", "->", "ssa", "->", "bbs", "(", ")", ")", "{", "if", "(", "m_vector_manager", "->", "vector_block_infos", "[", "bb", "->", "index", "(", ")", "]", ".", "local_dem", ".", "valid_or_dirty_p", "(", ")", ")", "m_vector_manager", "->", "create_expr", "(", "m_vector_manager", "->", "vector_block_infos", "[", "bb", "->", "index", "(", ")", "]", ".", "local_dem", ")", ";", "if", "(", "m_vector_manager", "->", "vector_block_infos", "[", "bb", "->", "index", "(", ")", "]", ".", "reaching_out", ".", "valid_or_dirty_p", "(", ")", ")", "m_vector_manager", "->", "create_expr", "(", "m_vector_manager", "->", "vector_block_infos", "[", "bb", "->", "index", "(", ")", "]", ".", "reaching_out", ")", ";", "}", "if", "(", "dump_file", ")", "{", "fprintf", "(", "dump_file", ",", "\"\\nThe total VSETVL expression num = %d\\n\"", ",", "m_vector_manager", "->", "vector_exprs", ".", "length", "(", ")", ")", ";", "fprintf", "(", "dump_file", ",", "\"Expression List:\\n\"", ")", ";", "for", "(", "size_t", "i", "=", "0", ";", "i", "<", "m_vector_manager", "->", "vector_exprs", ".", "length", "(", ")", ";", "i", "++", ")", "{", "fprintf", "(", "dump_file", ",", "\"Expr[%ld]:\\n\"", ",", "i", ")", ";", "m_vector_manager", "->", "vector_exprs", "[", "i", "]", "->", "dump", "(", "dump_file", ")", ";", "fprintf", "(", "dump_file", ",", "\"\\n\"", ")", ";", "}", "}", "}", ""], "natrual_language": ["Assemble", "the", "candidates", "expressions", "for", "LCM", "."], "TS_V_token": ["riscv", "\"\\nThe total VSETVL expression num = %d\\n\"", "\"Expression List:\\n\"", "0", "\"Expr[%ld]:\\n\"", "\"\\n\""], "File": "riscv-vsetvl", "Func": "prune_expressions", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 263, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "RISCVRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "RISCVFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "for", "(", "size_t", "Reg", "=", "0", ";", "Reg", "<", "getNumRegs", "(", ")", ";", "Reg", "++", ")", "{", "if", "(", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ".", "isRegisterReservedByUser", "(", "Reg", ")", ")", "markSuperRegs", "(", "Reserved", ",", "Reg", ")", ";", "}", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X0", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X2", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X3", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X4", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X8", ")", ";", "if", "(", "TFI", "->", "hasBP", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "RISCVABI", "::", "getBPReg", "(", ")", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "VL", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "VTYPE", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "VXSAT", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "VXRM", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "FRM", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "FFLAGS", ")", ";", "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": ["RISCV", "RISCV", "RISCV", "0", "RISCV", "RISCV::X0", "RISCV::X2", "RISCV::X3", "RISCV::X4", "RISCV::X8", "RISCVABI::getBPReg", "RISCV::VL", "RISCV::VTYPE", "RISCV::VXSAT", "RISCV::VXRM", "RISCV::FRM", "RISCV::FFLAGS"], "File": "RISCVRegisterInfo2", "Func": "getReservedRegs", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 264, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "get_tail_policy_for_pred", "(", "enum", "predication_type_index", "pred", ")", "{", "if", "(", "pred", "==", "PRED_TYPE_tu", "||", "pred", "==", "PRED_TYPE_tum", "||", "pred", "==", "PRED_TYPE_tumu", ")", "return", "gen_int_mode", "(", "TAIL_UNDISTURBED", ",", "Pmode", ")", ";", "return", "gen_int_mode", "(", "get_prefer_tail_policy", "(", ")", ",", "Pmode", ")", ";", "}", ""], "natrual_language": ["Get", "TAIL", "policy", "for", "predication", ".", "If", "predication", "indicates", "TU", ",", "return", "the", "TU", ".", "Otherwise", ",", "return", "the", "prefer", "default", "configuration", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "get_tail_policy_for_pred", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 265, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetTransformInfo", "RISCVTargetMachine", "::", "getTargetTransformInfo", "(", "const", "Function", "&", "F", ")", "const", "{", "return", "TargetTransformInfo", "(", "RISCVTTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetTransformInfo", "implementation", "for", "the", "target", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV"], "File": "RISCVTargetMachine1", "Func": "getTargetTransformInfo", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 266, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "RISCV_MERGE_BASE_OFFSET_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVMergeBaseOffset", "Func": "getPassName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 267, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVTTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ",", "OptimizationRemarkEmitter", "*", "ORE", ")", "{", "if", "(", "ST", "->", "enableDefaultUnroll", "(", ")", ")", "return", "BasicTTIImplBase", "::", "getUnrollingPreferences", "(", "L", ",", "SE", ",", "UP", ",", "ORE", ")", ";", "UP", ".", "UpperBound", "=", "true", ";", "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", "(", "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", "*", ">", "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", ".", "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": ["RISCV", "RISCV", "0", "0", "4", "\"Loop has:\\n\"", "\"Blocks: \"", "\"\\n\"", "\"Exit blocks: \"", "\"\\n\"", "2", "4", "\"llvm.loop.isvectorized\"", "0", "\"Cost of loop: \"", "\"\\n\"", "60", "12"], "File": "RISCVTargetTransformInfo10", "Func": "getUnrollingPreferences", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 268, "Length": 344, "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", "(", ")", ";", "unsigned", "FPReg", "=", "getFPReg", "(", "STI", ")", ";", "unsigned", "SPReg", "=", "getSPReg", "(", "STI", ")", ";", "MachineBasicBlock", "::", "iterator", "LastFrameDestroy", "=", "MBBI", ";", "std", "::", "advance", "(", "LastFrameDestroy", ",", "-", "MFI", ".", "getCalleeSavedInfo", "(", ")", ".", "size", "(", ")", ")", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "RI", "->", "needsStackRealignment", "(", "MF", ")", "||", "MFI", ".", "hasVarSizedObjects", "(", ")", ")", "{", "assert", "(", "hasFP", "(", "MF", ")", "&&", "\"frame pointer should not have been eliminated\"", ")", ";", "adjustReg", "(", "MBB", ",", "LastFrameDestroy", ",", "DL", ",", "SPReg", ",", "FPReg", ",", "-", "StackSize", "+", "RVFI", "->", "getVarArgsSaveSize", "(", ")", ",", "MachineInstr", "::", "FrameDestroy", ")", ";", "}", "adjustReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "SPReg", ",", "SPReg", ",", "StackSize", ",", "MachineInstr", "::", "FrameDestroy", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCV", "\"frame pointer should not have been eliminated\""], "File": "RISCVFrameLowering28", "Func": "emitEpilogue", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 269, "Length": 192, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVAsmBackend", "::", "relaxInstruction", "(", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "MCInst", "Res", ";", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Opcode not expected!\"", ")", ";", "case", "RISCV", "::", "C_BEQZ", ":", "Res", ".", "setOpcode", "(", "RISCV", "::", "BEQ", ")", ";", "Res", ".", "addOperand", "(", "Inst", ".", "getOperand", "(", "0", ")", ")", ";", "Res", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "RISCV", "::", "X0", ")", ")", ";", "Res", ".", "addOperand", "(", "Inst", ".", "getOperand", "(", "1", ")", ")", ";", "break", ";", "case", "RISCV", "::", "C_BNEZ", ":", "Res", ".", "setOpcode", "(", "RISCV", "::", "BNE", ")", ";", "Res", ".", "addOperand", "(", "Inst", ".", "getOperand", "(", "0", ")", ")", ";", "Res", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "RISCV", "::", "X0", ")", ")", ";", "Res", ".", "addOperand", "(", "Inst", ".", "getOperand", "(", "1", ")", ")", ";", "break", ";", "case", "RISCV", "::", "C_J", ":", "Res", ".", "setOpcode", "(", "RISCV", "::", "JAL", ")", ";", "Res", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "RISCV", "::", "X0", ")", ")", ";", "Res", ".", "addOperand", "(", "Inst", ".", "getOperand", "(", "0", ")", ")", ";", "break", ";", "case", "RISCV", "::", "C_JAL", ":", "Res", ".", "setOpcode", "(", "RISCV", "::", "JAL", ")", ";", "Res", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "RISCV", "::", "X1", ")", ")", ";", "Res", ".", "addOperand", "(", "Inst", ".", "getOperand", "(", "0", ")", ")", ";", "break", ";", "}", "Inst", "=", "std", "::", "move", "(", "Res", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["RISCV", "RISCV", "\"Opcode not expected!\"", "RISCV::C_BEQZ", "RISCV::BEQ", "0", "RISCV::X0", "1", "RISCV::C_BNEZ", "RISCV::BNE", "0", "RISCV::X0", "1", "RISCV::C_J", "RISCV::JAL", "RISCV::X0", "0", "RISCV::C_JAL", "RISCV::JAL", "RISCV::X1", "0"], "File": "RISCVAsmBackend14", "Func": "relaxInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 270, "Length": 238, "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", ";", "}", "}", ""], "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"], "File": "RISCVISelLowering20", "Func": "getTgtMemIntrinsic", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 271, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVAsmBackend", "::", "relaxInstruction", "(", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "MCInst", "Res", ";", "bool", "IsCapMode", "=", "STI", ".", "getFeatureBits", "(", ")", "[", "RISCV", "::", "FeatureCapMode", "]", ";", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Opcode not expected!\"", ")", ";", "case", "RISCV", "::", "C_BEQZ", ":", "Res", ".", "setOpcode", "(", "RISCV", "::", "BEQ", ")", ";", "Res", ".", "addOperand", "(", "Inst", ".", "getOperand", "(", "0", ")", ")", ";", "Res", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "RISCV", "::", "X0", ")", ")", ";", "Res", ".", "addOperand", "(", "Inst", ".", "getOperand", "(", "1", ")", ")", ";", "break", ";", "case", "RISCV", "::", "C_BNEZ", ":", "Res", ".", "setOpcode", "(", "RISCV", "::", "BNE", ")", ";", "Res", ".", "addOperand", "(", "Inst", ".", "getOperand", "(", "0", ")", ")", ";", "Res", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "RISCV", "::", "X0", ")", ")", ";", "Res", ".", "addOperand", "(", "Inst", ".", "getOperand", "(", "1", ")", ")", ";", "break", ";", "case", "RISCV", "::", "C_J", ":", "Res", ".", "setOpcode", "(", "IsCapMode", "?", "RISCV", "::", "CJAL", ":", "RISCV", "::", "JAL", ")", ";", "Res", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "IsCapMode", "?", "RISCV", "::", "C0", ":", "RISCV", "::", "X0", ")", ")", ";", "Res", ".", "addOperand", "(", "Inst", ".", "getOperand", "(", "0", ")", ")", ";", "break", ";", "case", "RISCV", "::", "C_JAL", ":", "Res", ".", "setOpcode", "(", "RISCV", "::", "JAL", ")", ";", "Res", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "RISCV", "::", "X1", ")", ")", ";", "Res", ".", "addOperand", "(", "Inst", ".", "getOperand", "(", "0", ")", ")", ";", "break", ";", "case", "RISCV", "::", "C_CJAL", ":", "Res", ".", "setOpcode", "(", "RISCV", "::", "CJAL", ")", ";", "Res", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "RISCV", "::", "C1", ")", ")", ";", "Res", ".", "addOperand", "(", "Inst", ".", "getOperand", "(", "0", ")", ")", ";", "break", ";", "}", "Inst", "=", "std", "::", "move", "(", "Res", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::FeatureCapMode", "\"Opcode not expected!\"", "RISCV::C_BEQZ", "RISCV::BEQ", "0", "RISCV::X0", "1", "RISCV::C_BNEZ", "RISCV::BNE", "0", "RISCV::X0", "1", "RISCV::C_J", "RISCV::CJAL", "RISCV::JAL", "RISCV::C0", "RISCV::X0", "0", "RISCV::C_JAL", "RISCV::JAL", "RISCV::X1", "0", "RISCV::C_CJAL", "RISCV::CJAL", "RISCV::C1", "0"], "File": "RISCVAsmBackend20", "Func": "relaxInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 272, "Length": 306, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "riscv_address_insns", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "bool", "might_split_p", ")", "{", "struct", "riscv_address_info", "addr", ";", "int", "n", "=", "1", ";", "if", "(", "!", "riscv_classify_address", "(", "&", "addr", ",", "x", ",", "mode", ",", "false", ")", ")", "return", "0", ";", "if", "(", "mode", "!=", "BLKmode", "&&", "might_split_p", ")", "n", "+=", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "if", "(", "addr", ".", "type", "==", "ADDRESS_LO_SUM", ")", "n", "+=", "riscv_symbol_insns", "(", "addr", ".", "symbol_type", ")", "-", "1", ";", "return", "n", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "needed", "to", "load", "or", "store", "a", "value", "of", "mode", "MODE", "at", "address", "X", ".", "Return", "0", "if", "X", "is", "n't", "valid", "for", "MODE", ".", "Assume", "that", "multiword", "moves", "may", "need", "to", "be", "split", "into", "word", "moves", "if", "MIGHT_SPLIT_P", ",", "otherwise", "assume", "that", "a", "single", "load", "or", "store", "is", "enough", "."], "TS_V_token": ["riscv", "1", "0", "1", "1"], "File": "riscv3", "Func": "riscv_address_insns", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 273, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "isCheapToSpeculateCttz", "(", ")", "const", "{", "return", "Subtarget", ".", "hasStdExtZbb", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "cheap", "to", "speculate", "a", "call", "to", "intrinsic", "cttz", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVISelLowering1", "Func": "isCheapToSpeculateCttz", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 274, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVSExtWRemoval", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", "||", "DisableSExtWRemoval", ")", "return", "false", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "const", "RISCVSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "if", "(", "!", "ST", ".", "is64Bit", "(", ")", ")", "return", "false", ";", "SmallPtrSet", "<", "MachineInstr", "*", ",", "4", ">", "SExtWRemovalCands", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "auto", "I", "=", "MBB", ".", "begin", "(", ")", ",", "IE", "=", "MBB", ".", "end", "(", ")", ";", "I", "!=", "IE", ";", ")", "{", "MachineInstr", "*", "MI", "=", "&", "*", "I", "++", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "!=", "RISCV", "::", "ADDIW", "||", "!", "MI", "->", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", "||", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "!=", "0", "||", "!", "MI", "->", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", ")", "continue", ";", "Register", "SrcReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "if", "(", "!", "SrcReg", ".", "isVirtual", "(", ")", ")", "continue", ";", "SExtWRemovalCands", ".", "insert", "(", "MI", ")", ";", "}", "}", "bool", "MadeChange", "=", "false", ";", "for", "(", "auto", "MI", ":", "SExtWRemovalCands", ")", "{", "SmallPtrSet", "<", "MachineInstr", "*", ",", "4", ">", "FixableDef", ";", "Register", "SrcReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "MachineInstr", "&", "SrcMI", "=", "*", "MRI", ".", "getVRegDef", "(", "SrcReg", ")", ";", "if", "(", "!", "isSignExtendedW", "(", "SrcMI", ",", "MRI", ",", "FixableDef", ")", ")", "continue", ";", "Register", "DstReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "if", "(", "!", "MRI", ".", "constrainRegClass", "(", "SrcReg", ",", "MRI", ".", "getRegClass", "(", "DstReg", ")", ")", ")", "continue", ";", "for", "(", "MachineInstr", "*", "Fixable", ":", "FixableDef", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "Fixable", "->", "getParent", "(", ")", ";", "const", "DebugLoc", "&", "DL", "=", "Fixable", "->", "getDebugLoc", "(", ")", ";", "unsigned", "Code", "=", "getWOp", "(", "Fixable", "->", "getOpcode", "(", ")", ")", ";", "MachineInstrBuilder", "Replacement", "=", "BuildMI", "(", "MBB", ",", "Fixable", ",", "DL", ",", "ST", ".", "getInstrInfo", "(", ")", "->", "get", "(", "Code", ")", ")", ";", "for", "(", "auto", "Op", ":", "Fixable", "->", "operands", "(", ")", ")", "Replacement", ".", "add", "(", "Op", ")", ";", "for", "(", "auto", "Op", ":", "Fixable", "->", "memoperands", "(", ")", ")", "Replacement", ".", "addMemOperand", "(", "Op", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Replacing \"", "<<", "*", "Fixable", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\" with \"", "<<", "*", "Replacement", ")", ";", "Fixable", "->", "eraseFromParent", "(", ")", ";", "++", "NumTransformedToWInstrs", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Removing redundant sign-extension\\n\"", ")", ";", "MRI", ".", "replaceRegWith", "(", "DstReg", ",", "SrcReg", ")", ";", "MRI", ".", "clearKillFlags", "(", "SrcReg", ")", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "++", "NumRemovedSExtW", ";", "MadeChange", "=", "true", ";", "}", "return", "MadeChange", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCV", "4", "RISCV::ADDIW", "2", "2", "0", "1", "1", "4", "1", "0", "\"Replacing \"", "\" with \"", "\"Removing redundant sign-extension\\n\""], "File": "RISCVSExtWRemoval1", "Func": "runOnMachineFunction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 275, "Length": 473, "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": ["RISCV"], "File": "RISCVAsmBackend10", "Func": "mayNeedRelaxation", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 276, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_naked_function_p", "(", "tree", "func", ")", "{", "tree", "func_decl", "=", "func", ";", "if", "(", "func", "==", "NULL_TREE", ")", "func_decl", "=", "current_function_decl", ";", "return", "NULL_TREE", "!=", "lookup_attribute", "(", "\"naked\"", ",", "DECL_ATTRIBUTES", "(", "func_decl", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "func", "is", "a", "naked", "function", "."], "TS_V_token": ["riscv", "\"naked\""], "File": "riscv", "Func": "riscv_naked_function_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 277, "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", "(", ")", ";", "assert", "(", "SEWIndex", ">=", "0", "&&", "\"SEWIndex must be >= 0\"", ")", ";", "return", "addVSetVL", "(", "MI", ",", "BB", ",", "VLIndex", ",", "SEWIndex", ",", "RVV", "->", "VLMul", ")", ";", "}", "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": "RISCVISelLowering38", "Func": "EmitInstrWithCustomInserter", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 278, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RISCVInstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVSubtarget (2)", "Func": "getInstrInfo", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 279, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "return", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVISelDAGToDAG", "Func": "runOnMachineFunction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 280, "Length": 30, "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", ",", "const", "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", "(", ")", ")", ";", "analyzeOutputArgs", "(", "DAG", ".", "getMachineFunction", "(", ")", ",", "CCInfo", ",", "Outs", ",", "true", ")", ";", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "RetOps", "(", "1", ",", "Chain", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "RVLocs", ".", "size", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "SDValue", "Val", "=", "OutVals", "[", "i", "]", ";", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "assert", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "Full", "&&", "\"Unexpected CCValAssign::LocInfo\"", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "VA", ".", "getLocReg", "(", ")", ",", "Val", ",", "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", "(", "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", "\"VarArg not supported\"", "16", "4", "1", "0", "\"Can only return in registers!\"", "\"Unexpected CCValAssign::LocInfo\"", "1", "0", "RISCVISD::RET_FLAG", "MVT::Other"], "File": "RISCVISelLowering55", "Func": "LowerReturn", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 281, "Length": 280, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "RISCVTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "uint64_t", "TSFlags", "=", "MI", ".", "getDesc", "(", ")", ".", "TSFlags", ";", "if", "(", "TSFlags", "&", "RISCVII", "::", "HasSEWOpMask", ")", "{", "unsigned", "NumOperands", "=", "MI", ".", "getNumExplicitOperands", "(", ")", ";", "int", "VLIndex", "=", "(", "TSFlags", "&", "RISCVII", "::", "HasVLOpMask", ")", "?", "NumOperands", "-", "2", ":", "-", "1", ";", "unsigned", "SEWIndex", "=", "NumOperands", "-", "1", ";", "bool", "WritesElement0", "=", "TSFlags", "&", "RISCVII", "::", "WritesElement0Mask", ";", "RISCVVLMUL", "VLMul", "=", "static_cast", "<", "RISCVVLMUL", ">", "(", "(", "TSFlags", "&", "RISCVII", "::", "VLMulMask", ")", ">>", "RISCVII", "::", "VLMulShift", ")", ";", "return", "addVSetVL", "(", "MI", ",", "BB", ",", "VLIndex", ",", "SEWIndex", ",", "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", "RISCVII::HasSEWOpMask", "RISCVII::HasVLOpMask", "2", "1", "1", "RISCVII::WritesElement0Mask", "RISCV", "RISCV", "RISCVII::VLMulMask", "RISCVII::VLMulShift", "\"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": "RISCVISelLowering70", "Func": "EmitInstrWithCustomInserter", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 282, "Length": 214, "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": 283, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_emit_int_order_test", "(", "enum", "rtx_code", "code", ",", "bool", "*", "invert_ptr", ",", "rtx", "target", ",", "rtx", "cmp0", ",", "rtx", "cmp1", ")", "{", "machine_mode", "mode", ";", "mode", "=", "GET_MODE", "(", "cmp0", ")", ";", "if", "(", "riscv_canonicalize_int_order_test", "(", "&", "code", ",", "&", "cmp1", ",", "mode", ")", ")", "riscv_emit_binary", "(", "code", ",", "target", ",", "cmp0", ",", "cmp1", ")", ";", "else", "{", "enum", "rtx_code", "inv_code", "=", "reverse_condition", "(", "code", ")", ";", "if", "(", "!", "riscv_canonicalize_int_order_test", "(", "&", "inv_code", ",", "&", "cmp1", ",", "mode", ")", ")", "{", "cmp1", "=", "force_reg", "(", "mode", ",", "cmp1", ")", ";", "riscv_emit_int_order_test", "(", "code", ",", "invert_ptr", ",", "target", ",", "cmp0", ",", "cmp1", ")", ";", "}", "else", "if", "(", "invert_ptr", "==", "0", ")", "{", "rtx", "inv_target", "=", "riscv_force_binary", "(", "word_mode", ",", "inv_code", ",", "cmp0", ",", "cmp1", ")", ";", "riscv_emit_binary", "(", "EQ", ",", "target", ",", "inv_target", ",", "const0_rtx", ")", ";", "}", "else", "{", "*", "invert_ptr", "=", "!", "*", "invert_ptr", ";", "riscv_emit_binary", "(", "inv_code", ",", "target", ",", "cmp0", ",", "cmp1", ")", ";", "}", "}", "}", ""], "natrual_language": ["Compare", "CMP0", "and", "CMP1", "using", "ordering", "test", "CODE", "and", "store", "the", "result", "in", "TARGET", ".", "CMP0", "and", "TARGET", "are", "register_operands", ".", "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": ["riscv", "0"], "File": "riscv1", "Func": "riscv_emit_int_order_test", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 284, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "gen_vsetvl_pat", "(", "rtx_insn", "*", "rinsn", ",", "const", "vector_insn_info", "&", "info", ")", "{", "rtx", "new_pat", ";", "vl_vtype_info", "new_info", "=", "info", ";", "if", "(", "info", ".", "get_insn", "(", ")", "&&", "info", ".", "get_insn", "(", ")", "->", "rtl", "(", ")", "&&", "fault_first_load_p", "(", "info", ".", "get_insn", "(", ")", "->", "rtl", "(", ")", ")", ")", "new_info", ".", "set_avl_info", "(", "avl_info", "(", "get_avl", "(", "info", ".", "get_insn", "(", ")", "->", "rtl", "(", ")", ")", ",", "nullptr", ")", ")", ";", "if", "(", "vsetvl_insn_p", "(", "rinsn", ")", "||", "vlmax_avl_p", "(", "info", ".", "get_avl", "(", ")", ")", ")", "{", "rtx", "dest", "=", "get_vl", "(", "rinsn", ")", ";", "new_pat", "=", "gen_vsetvl_pat", "(", "VSETVL_NORMAL", ",", "new_info", ",", "dest", ")", ";", "}", "else", "if", "(", "INSN_CODE", "(", "rinsn", ")", "==", "CODE_FOR_vsetvl_vtype_change_only", ")", "new_pat", "=", "gen_vsetvl_pat", "(", "VSETVL_VTYPE_CHANGE_ONLY", ",", "new_info", ",", "NULL_RTX", ")", ";", "else", "new_pat", "=", "gen_vsetvl_pat", "(", "VSETVL_DISCARD_RESULT", ",", "new_info", ",", "NULL_RTX", ")", ";", "return", "new_pat", ";", "}", ""], "natrual_language": ["Emit", "vsetvl", "instruction", "."], "TS_V_token": ["riscv"], "File": "riscv-vsetvl", "Func": "gen_vsetvl_pat", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 285, "Length": 150, "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": 286, "Length": 115, "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": 287, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVDAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "&", "*", "I", "++", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "RISCVISD", "::", "SPLAT_VECTOR_SPLIT_I64_VL", ")", "continue", ";", "assert", "(", "N", "->", "getNumOperands", "(", ")", "==", "3", "&&", "\"Unexpected number of operands\"", ")", ";", "MVT", "VT", "=", "N", "->", "getSimpleValueType", "(", "0", ")", ";", "SDValue", "Lo", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Hi", "=", "N", "->", "getOperand", "(", "1", ")", ";", "SDValue", "VL", "=", "N", "->", "getOperand", "(", "2", ")", ";", "assert", "(", "VT", ".", "getVectorElementType", "(", ")", "==", "MVT", "::", "i64", "&&", "VT", ".", "isScalableVector", "(", ")", "&&", "Lo", ".", "getValueType", "(", ")", "==", "MVT", "::", "i32", "&&", "Hi", ".", "getValueType", "(", ")", "==", "MVT", "::", "i32", "&&", "\"Unexpected VTs!\"", ")", ";", "MachineFunction", "&", "MF", "=", "CurDAG", "->", "getMachineFunction", "(", ")", ";", "RISCVMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "RISCVMachineFunctionInfo", ">", "(", ")", ";", "SDLoc", "DL", "(", "N", ")", ";", "int", "FI", "=", "FuncInfo", "->", "getMoveF64FrameIndex", "(", "MF", ")", ";", "MachinePointerInfo", "MPI", "=", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ";", "const", "TargetLowering", "&", "TLI", "=", "CurDAG", "->", "getTargetLoweringInfo", "(", ")", ";", "SDValue", "StackSlot", "=", "CurDAG", "->", "getFrameIndex", "(", "FI", ",", "TLI", ".", "getPointerTy", "(", "CurDAG", "->", "getDataLayout", "(", ")", ")", ")", ";", "SDValue", "Chain", "=", "CurDAG", "->", "getEntryNode", "(", ")", ";", "Lo", "=", "CurDAG", "->", "getStore", "(", "Chain", ",", "DL", ",", "Lo", ",", "StackSlot", ",", "MPI", ",", "Align", "(", "8", ")", ")", ";", "SDValue", "OffsetSlot", "=", "CurDAG", "->", "getMemBasePlusOffset", "(", "StackSlot", ",", "TypeSize", "::", "Fixed", "(", "4", ")", ",", "DL", ")", ";", "Hi", "=", "CurDAG", "->", "getStore", "(", "Chain", ",", "DL", ",", "Hi", ",", "OffsetSlot", ",", "MPI", ".", "getWithOffset", "(", "4", ")", ",", "Align", "(", "8", ")", ")", ";", "Chain", "=", "CurDAG", "->", "getNode", "(", "ISD", "::", "TokenFactor", ",", "DL", ",", "MVT", "::", "Other", ",", "Lo", ",", "Hi", ")", ";", "SDVTList", "VTs", "=", "CurDAG", "->", "getVTList", "(", "{", "VT", ",", "MVT", "::", "Other", "}", ")", ";", "SDValue", "IntID", "=", "CurDAG", "->", "getTargetConstant", "(", "Intrinsic", "::", "riscv_vlse", ",", "DL", ",", "MVT", "::", "i64", ")", ";", "SDValue", "Ops", "[", "]", "=", "{", "Chain", ",", "IntID", ",", "StackSlot", ",", "CurDAG", "->", "getRegister", "(", "RISCV", "::", "X0", ",", "MVT", "::", "i64", ")", ",", "VL", "}", ";", "SDValue", "Result", "=", "CurDAG", "->", "getMemIntrinsicNode", "(", "ISD", "::", "INTRINSIC_W_CHAIN", ",", "DL", ",", "VTs", ",", "Ops", ",", "MVT", "::", "i64", ",", "MPI", ",", "Align", "(", "8", ")", ",", "MachineMemOperand", "::", "MOLoad", ")", ";", "--", "I", ";", "CurDAG", "->", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "0", ")", ",", "Result", ")", ";", "++", "I", ";", "CurDAG", "->", "DeleteNode", "(", "N", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["RISCV", "RISCV", "RISCVISD::SPLAT_VECTOR_SPLIT_I64_VL", "3", "\"Unexpected number of operands\"", "0", "0", "1", "2", "MVT::i64", "MVT::i32", "MVT::i32", "\"Unexpected VTs!\"", "RISCV", "RISCV", "8", "4", "4", "8", "ISD::TokenFactor", "MVT::Other", "MVT::Other", "Intrinsic::riscv_vlse", "MVT::i64", "RISCV::X0", "MVT::i64", "ISD::INTRINSIC_W_CHAIN", "MVT::i64", "8", "0"], "File": "RISCVISelDAGToDAG", "Func": "PreprocessISelDAG", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 288, "Length": 456, "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", ".", "addLiveIn", "(", "RISCV", "::", "X5", ")", ";", "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::X5", "RISCV::JALR", "RISCV::X0", "RISCV::X5", "0"], "File": "RISCVInstrInfo (2)", "Func": "buildOutlinedFrame", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 289, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RISCVSubtarget", "*", "RISCVTargetMachine", "::", "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", ";", "std", "::", "string", "Key", "=", "CPU", "+", "FS", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "Key", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "std", "::", "make_unique", "<", "RISCVSubtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "Options", ".", "MCOptions", ".", "getABIName", "(", ")", ",", "*", "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": ["RISCV", "RISCV", "RISCV", "\"target-cpu\"", "\"target-features\"", "RISCV"], "File": "RISCVTargetMachine24", "Func": "getSubtargetImpl", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 290, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "section", "*", "riscv_select_section", "(", "tree", "decl", ",", "int", "reloc", ",", "unsigned", "HOST_WIDE_INT", "align", ")", "{", "switch", "(", "categorize_decl_for_section", "(", "decl", ",", "reloc", ")", ")", "{", "case", "SECCAT_SRODATA", ":", "return", "get_named_section", "(", "decl", ",", "\".srodata\"", ",", "reloc", ")", ";", "default", ":", "return", "default_elf_select_section", "(", "decl", ",", "reloc", ",", "align", ")", ";", "}", "}", ""], "natrual_language": ["Switch", "to", "the", "appropriate", "section", "for", "output", "of", "DECL", "."], "TS_V_token": ["riscv", "\".srodata\""], "File": "riscv", "Func": "riscv_select_section", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 291, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "riscv_zero_if_equal", "(", "rtx", "cmp0", ",", "rtx", "cmp1", ")", "{", "if", "(", "cmp1", "==", "const0_rtx", ")", "return", "cmp0", ";", "return", "expand_binop", "(", "GET_MODE", "(", "cmp0", ")", ",", "sub_optab", ",", "cmp0", ",", "cmp1", ",", "0", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "}", ""], "natrual_language": ["Return", "a", "register", "that", "is", "zero", "iff", "CMP0", "and", "CMP1", "are", "equal", ".", "The", "register", "will", "have", "the", "same", "mode", "as", "CMP0", "."], "TS_V_token": ["riscv", "0", "0"], "File": "riscv", "Func": "riscv_zero_if_equal", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 292, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "RISCVTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "RETURNADDR", ":", "return", "lowerRETURNADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "lowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "lowerGlobalAddress", "(", "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", "::", "VASTART", ":", "return", "lowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VAARG", ":", "return", "lowerVAARG", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ATOMIC_FENCE", ":", "return", "lowerATOMIC_FENCE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "STACKSAVE", ":", "return", "lowerSTACKSAVE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "STACKRESTORE", ":", "return", "lowerSTACKRESTORE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "lowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ADD", ":", "return", "lowerADD", "(", "Op", ",", "DAG", ")", ";", "default", ":", "llvm_unreachable", "(", "\"Unexpected node to lower\"", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["RISCV", "RISCV", "ISD::RETURNADDR", "ISD::SELECT_CC", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::BlockAddress", "ISD::JumpTable", "ISD::ConstantPool", "ISD::VASTART", "ISD::VAARG", "ISD::ATOMIC_FENCE", "ISD::STACKSAVE", "ISD::STACKRESTORE", "ISD::FRAMEADDR", "ISD::ADD", "\"Unexpected node to lower\""], "File": "RISCVISelLowering75", "Func": "LowerOperation", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 293, "Length": 238, "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", ")", ";", "auto", "ParseResult", "=", "RISCVFeatures", "::", "parseFeatureBits", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "Feature64Bit", ")", ",", "STI", ".", "getFeatureBits", "(", ")", ")", ";", "if", "(", "!", "ParseResult", ")", "{", "report_fatal_error", "(", "ParseResult", ".", "takeError", "(", ")", ")", ";", "}", "else", "{", "auto", "&", "ISAInfo", "=", "*", "ParseResult", ";", "emitTextAttribute", "(", "RISCVAttrs", "::", "ARCH", ",", "ISAInfo", "->", "toString", "(", ")", ")", ";", "}", "}", ""], "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", "RISCVFeatures::parseFeatureBits", "RISCV::Feature64Bit", "RISCVAttrs::ARCH"], "File": "RISCVTargetStreamer (2)", "Func": "emitTargetAttributes", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 294, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "pass_vsetvl", "::", "emit_local_forward_vsetvls", "(", "const", "bb_info", "*", "bb", ")", "{", "auto", "&", "block_info", "=", "m_vector_manager", "->", "vector_block_infos", "[", "bb", "->", "index", "(", ")", "]", ";", "if", "(", "block_info", ".", "local_dem", ".", "empty_p", "(", ")", ")", "return", ";", "vector_insn_info", "curr_info", ";", "for", "(", "insn_info", "*", "insn", ":", "bb", "->", "real_nondebug_insns", "(", ")", ")", "{", "const", "vector_insn_info", "prev_info", "=", "curr_info", ";", "enum", "vsetvl_type", "type", "=", "NUM_VSETVL_TYPE", ";", "transfer_before", "(", "curr_info", ",", "insn", ")", ";", "if", "(", "has_vtype_op", "(", "insn", "->", "rtl", "(", ")", ")", ")", "{", "if", "(", "static_cast", "<", "const", "vl_vtype_info", "&", ">", "(", "prev_info", ")", "!=", "static_cast", "<", "const", "vl_vtype_info", "&", ">", "(", "curr_info", ")", ")", "{", "const", "auto", "require", "=", "m_vector_manager", "->", "vector_insn_infos", "[", "insn", "->", "uid", "(", ")", "]", ";", "if", "(", "!", "require", ".", "compatible_p", "(", "static_cast", "<", "const", "vl_vtype_info", "&", ">", "(", "prev_info", ")", ")", ")", "type", "=", "insert_vsetvl", "(", "EMIT_BEFORE", ",", "insn", "->", "rtl", "(", ")", ",", "require", ",", "prev_info", ")", ";", "}", "}", "if", "(", "type", "==", "VSETVL_VTYPE_CHANGE_ONLY", ")", "{", "curr_info", ".", "set_avl_info", "(", "prev_info", ".", "get_avl_info", "(", ")", ")", ";", "}", "transfer_after", "(", "curr_info", ",", "insn", ")", ";", "}", "block_info", ".", "reaching_out", "=", "curr_info", ";", "}", ""], "natrual_language": ["Emit", "vsetvl", "within", "each", "block", "by", "forward", "data-flow", "analysis", "."], "TS_V_token": ["riscv"], "File": "riscv-vsetvl", "Func": "emit_local_forward_vsetvls", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 295, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVFrameLowering", "::", "determineFrameLayout", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "uint64_t", "FrameSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "Align", "StackAlign", "=", "getStackAlign", "(", ")", ";", "uint64_t", "MaxCallSize", "=", "alignTo", "(", "MFI", ".", "getMaxCallFrameSize", "(", ")", ",", "StackAlign", ")", ";", "MFI", ".", "setMaxCallFrameSize", "(", "MaxCallSize", ")", ";", "FrameSize", "=", "alignTo", "(", "FrameSize", ",", "StackAlign", ")", ";", "MFI", ".", "setStackSize", "(", "FrameSize", ")", ";", "}", ""], "natrual_language": ["Determine", "the", "frame", "layout", "but", "do", "not", "update", "the", "machine", "function", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVFrameLowering14", "Func": "determineFrameLayout", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 296, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "riscv_expand_builtin", "(", "tree", "exp", ",", "rtx", "target", ",", "rtx", "subtarget", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "int", "ignore", "ATTRIBUTE_UNUSED", ")", "{", "tree", "fndecl", "=", "TREE_OPERAND", "(", "CALL_EXPR_FN", "(", "exp", ")", ",", "0", ")", ";", "unsigned", "int", "fcode", "=", "DECL_FUNCTION_CODE", "(", "fndecl", ")", ";", "const", "struct", "riscv_builtin_description", "*", "d", "=", "&", "riscv_builtins", "[", "fcode", "]", ";", "switch", "(", "d", "->", "builtin_type", ")", "{", "case", "RISCV_BUILTIN_DIRECT", ":", "return", "riscv_expand_builtin_direct", "(", "d", "->", "icode", ",", "target", ",", "exp", ",", "true", ")", ";", "case", "RISCV_BUILTIN_DIRECT_NO_TARGET", ":", "return", "riscv_expand_builtin_direct", "(", "d", "->", "icode", ",", "target", ",", "exp", ",", "false", ")", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_EXPAND_BUILTIN", "."], "TS_V_token": ["riscv", "0"], "File": "riscv-builtins2", "Func": "riscv_expand_builtin", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 297, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixup", "*", "RISCVMCExpr", "::", "getPCRelHiFixup", "(", ")", "const", "{", "MCValue", "AUIPCLoc", ";", "if", "(", "!", "getSubExpr", "(", ")", "->", "evaluateAsRelocatable", "(", "AUIPCLoc", ",", "nullptr", ",", "nullptr", ")", ")", "return", "nullptr", ";", "const", "MCSymbolRefExpr", "*", "AUIPCSRE", "=", "AUIPCLoc", ".", "getSymA", "(", ")", ";", "if", "(", "!", "AUIPCSRE", ")", "return", "nullptr", ";", "const", "MCSymbol", "*", "AUIPCSymbol", "=", "&", "AUIPCSRE", "->", "getSymbol", "(", ")", ";", "const", "auto", "*", "DF", "=", "dyn_cast_or_null", "<", "MCDataFragment", ">", "(", "AUIPCSymbol", "->", "getFragment", "(", ")", ")", ";", "if", "(", "!", "DF", ")", "return", "nullptr", ";", "uint64_t", "Offset", "=", "AUIPCSymbol", "->", "getOffset", "(", ")", ";", "if", "(", "DF", "->", "getContents", "(", ")", ".", "size", "(", ")", "==", "Offset", ")", "{", "DF", "=", "dyn_cast_or_null", "<", "MCDataFragment", ">", "(", "DF", "->", "getNextNode", "(", ")", ")", ";", "if", "(", "!", "DF", ")", "return", "nullptr", ";", "Offset", "=", "0", ";", "}", "for", "(", "const", "MCFixup", "&", "F", ":", "DF", "->", "getFixups", "(", ")", ")", "{", "if", "(", "F", ".", "getOffset", "(", ")", "!=", "Offset", ")", "continue", ";", "switch", "(", "(", "unsigned", ")", "F", ".", "getKind", "(", ")", ")", "{", "default", ":", "continue", ";", "case", "RISCV", "::", "fixup_riscv_got_hi20", ":", "case", "RISCV", "::", "fixup_riscv_tls_got_hi20", ":", "case", "RISCV", "::", "fixup_riscv_tls_gd_hi20", ":", "case", "RISCV", "::", "fixup_riscv_pcrel_hi20", ":", "return", "&", "F", ";", "}", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["Get", "the", "corresponding", "PC-relative", "HI", "fixup", "that", "a", "VK_RISCV_PCREL_LO", "points", "to", ",", "and", "optionally", "the", "fragment", "containing", "it", "."], "TS_V_token": ["RISCV", "RISCV", "0", "RISCV::fixup_riscv_got_hi20", "RISCV::fixup_riscv_tls_got_hi20", "RISCV::fixup_riscv_tls_gd_hi20", "RISCV::fixup_riscv_pcrel_hi20"], "File": "RISCVMCExpr20", "Func": "getPCRelHiFixup", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 298, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVFrameLowering24", "Func": "emitPrologue", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 299, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "machine_mode", "function_checker", "::", "ret_mode", "(", ")", "const", "{", "return", "TYPE_MODE", "(", "TREE_TYPE", "(", "TREE_TYPE", "(", "fndecl", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "machine_mode", "of", "the", "corresponding", "return", "type", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "ret_mode", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 300, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "shouldProduceAndByConstByHoistingConstFromShiftsLHSOfAnd", "(", "SDValue", "X", ",", "ConstantSDNode", "*", "XC", ",", "ConstantSDNode", "*", "CC", ",", "SDValue", "Y", ",", "unsigned", "OldShiftOpcode", ",", "unsigned", "NewShiftOpcode", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "XC", "&&", "OldShiftOpcode", "==", "ISD", "::", "SRL", "&&", "XC", "->", "isOne", "(", ")", ")", "return", "false", ";", "if", "(", "NewShiftOpcode", "==", "ISD", "::", "SRL", "&&", "CC", "->", "isOne", "(", ")", ")", "return", "true", ";", "return", "!", "XC", ";", "}", ""], "natrual_language": ["Given", "the", "pattern", "(", "X", "&", "(", "C", "l", ">", ">", "/", "<", "<", "Y", ")", ")", "==/", "!", "=", "0", "return", "true", "if", "it", "should", "be", "transformed", "into", ":", "(", "(", "X", "<", "<", "/l", ">", ">", "Y", ")", "&", "C", ")", "==/", "!", "=", "0", "WARNING", ":", "if", "'", "X", "'", "is", "a", "constant", ",", "the", "fold", "may", "deadlock", "!", "FIXME", ":", "we", "could", "avoid", "passing", "XC", ",", "but", "we", "ca", "n't", "use", "isConstOrConstSplat", "(", ")", "here", "because", "it", "can", "end", "up", "being", "not", "linked", "in", "."], "TS_V_token": ["RISCV", "RISCV", "ISD::SRL", "ISD::SRL"], "File": "RISCVISelLowering33", "Func": "shouldProduceAndByConstByHoistingConstFromShiftsLHSOfAnd", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 301, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "RISCVRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "auto", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"interrupt\"", ")", ")", "{", "if", "(", "Subtarget", ".", "hasStdExtD", "(", ")", ")", "return", "CSR_XLEN_F64_Interrupt_SaveList", ";", "if", "(", "Subtarget", ".", "hasStdExtF", "(", ")", ")", "return", "CSR_XLEN_F32_Interrupt_SaveList", ";", "return", "CSR_Interrupt_SaveList", ";", "if", "(", "Subtarget", ".", "hasStdExtV", "(", ")", ")", "return", "CSR_XLEN_F32_VEC_Interrupt_SaveList", ";", "return", "CSR_Interrupt_SaveList", ";", "}", "if", "(", "MF", "->", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ".", "hasStdExtV", "(", ")", ")", "return", "CSR_ILP32F_LP64F_VEC_SaveList", ";", "switch", "(", "Subtarget", ".", "getTargetABI", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unrecognized ABI\"", ")", ";", "case", "RISCVABI", "::", "ABI_ILP32", ":", "case", "RISCVABI", "::", "ABI_LP64", ":", "return", "CSR_ILP32_LP64_SaveList", ";", "case", "RISCVABI", "::", "ABI_ILP32F", ":", "case", "RISCVABI", "::", "ABI_LP64F", ":", "return", "CSR_ILP32F_LP64F_SaveList", ";", "case", "RISCVABI", "::", "ABI_ILP32D", ":", "case", "RISCVABI", "::", "ABI_LP64D", ":", "return", "CSR_ILP32D_LP64D_SaveList", ";", "}", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "\"interrupt\"", "RISCV", "\"Unrecognized ABI\"", "RISCVABI::ABI_ILP32", "RISCVABI::ABI_LP64", "RISCVABI::ABI_ILP32F", "RISCVABI::ABI_LP64F", "RISCVABI::ABI_ILP32D", "RISCVABI::ABI_LP64D"], "File": "RISCVRegisterInfo21", "Func": "getCalleeSavedRegs", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 302, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "riscv_force_address", "(", "rtx", "x", ",", "machine_mode", "mode", ")", "{", "if", "(", "!", "riscv_legitimate_address_p", "(", "mode", ",", "x", ",", "false", ")", ")", "x", "=", "force_reg", "(", "Pmode", ",", "x", ")", ";", "return", "x", ";", "}", ""], "natrual_language": ["If", "X", "is", "not", "a", "valid", "address", "for", "mode", "MODE", ",", "force", "it", "into", "a", "register", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_force_address", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 303, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_set_current_function", "(", "tree", "decl", ")", "{", "if", "(", "decl", "==", "NULL_TREE", "||", "current_function_decl", "==", "NULL_TREE", "||", "current_function_decl", "==", "error_mark_node", "||", "!", "cfun", "->", "machine", "||", "cfun", "->", "machine", "->", "attributes_checked_p", ")", "return", ";", "cfun", "->", "machine", "->", "naked_p", "=", "riscv_naked_function_p", "(", "decl", ")", ";", "cfun", "->", "machine", "->", "interrupt_handler_p", "=", "riscv_interrupt_type_p", "(", "TREE_TYPE", "(", "decl", ")", ")", ";", "if", "(", "cfun", "->", "machine", "->", "naked_p", "&&", "cfun", "->", "machine", "->", "interrupt_handler_p", ")", "error", "(", "\"function attributes %qs and %qs are mutually exclusive\"", ",", "\"interrupt\"", ",", "\"naked\"", ")", ";", "if", "(", "cfun", "->", "machine", "->", "interrupt_handler_p", ")", "{", "tree", "ret", "=", "TREE_TYPE", "(", "TREE_TYPE", "(", "decl", ")", ")", ";", "tree", "args", "=", "TYPE_ARG_TYPES", "(", "TREE_TYPE", "(", "decl", ")", ")", ";", "if", "(", "TREE_CODE", "(", "ret", ")", "!=", "VOID_TYPE", ")", "error", "(", "\"%qs function cannot return a value\"", ",", "\"interrupt\"", ")", ";", "if", "(", "args", "&&", "TREE_CODE", "(", "TREE_VALUE", "(", "args", ")", ")", "!=", "VOID_TYPE", ")", "error", "(", "\"%qs function cannot have arguments\"", ",", "\"interrupt\"", ")", ";", "cfun", "->", "machine", "->", "interrupt_mode", "=", "riscv_get_interrupt_type", "(", "decl", ")", ";", "gcc_assert", "(", "cfun", "->", "machine", "->", "interrupt_mode", "!=", "UNKNOWN_MODE", ")", ";", "}", "cfun", "->", "machine", "->", "attributes_checked_p", "=", "1", ";", "}", ""], "natrual_language": ["Sanity", "cheching", "for", "above", "function", "attributes", "."], "TS_V_token": ["riscv", "\"function attributes %qs and %qs are mutually exclusive\"", "\"interrupt\"", "\"naked\"", "\"%qs function cannot return a value\"", "\"interrupt\"", "\"%qs function cannot have arguments\"", "\"interrupt\"", "1"], "File": "riscv", "Func": "riscv_set_current_function", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 304, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVPassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVTargetMachine", "Func": "addIRPasses", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 305, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ArrayRef", "<", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">>", "RISCVInstrInfo", "::", "getSerializableDirectMachineOperandTargetFlags", "(", ")", "const", "{", "using", "namespace", "RISCVII", ";", "static", "const", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">", "TargetFlags", "[", "]", "=", "{", "{", "MO_CALL", ",", "\"riscv-call\"", "}", ",", "{", "MO_PLT", ",", "\"riscv-plt\"", "}", ",", "{", "MO_LO", ",", "\"riscv-lo\"", "}", ",", "{", "MO_HI", ",", "\"riscv-hi\"", "}", ",", "{", "MO_PCREL_LO", ",", "\"riscv-pcrel-lo\"", "}", ",", "{", "MO_PCREL_HI", ",", "\"riscv-pcrel-hi\"", "}", ",", "{", "MO_GOT_HI", ",", "\"riscv-got-hi\"", "}", ",", "{", "MO_TPREL_LO", ",", "\"riscv-tprel-lo\"", "}", ",", "{", "MO_TPREL_HI", ",", "\"riscv-tprel-hi\"", "}", ",", "{", "MO_TPREL_ADD", ",", "\"riscv-tprel-add\"", "}", ",", "{", "MO_TLS_GOT_HI", ",", "\"riscv-tls-got-hi\"", "}", ",", "{", "MO_TLS_GD_HI", ",", "\"riscv-tls-gd-hi\"", "}", "}", ";", "return", "makeArrayRef", "(", "TargetFlags", ")", ";", "}", ""], "natrual_language": ["Return", "an", "array", "that", "contains", "the", "direct", "target", "flag", "values", "and", "their", "names", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "\"riscv-call\"", "\"riscv-plt\"", "\"riscv-lo\"", "\"riscv-hi\"", "\"riscv-pcrel-lo\"", "\"riscv-pcrel-hi\"", "\"riscv-got-hi\"", "\"riscv-tprel-lo\"", "\"riscv-tprel-hi\"", "\"riscv-tprel-add\"", "\"riscv-tls-got-hi\"", "\"riscv-tls-gd-hi\""], "File": "RISCVInstrInfo (2)", "Func": "getSerializableDirectMachineOperandTargetFlags", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 306, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "uint64_t", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "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", ":", "{", "SMLoc", "ErrorLoc", "=", "IDLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "0U", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "ErrorLoc", ",", "\"too few operands for instruction\"", ")", ";", "ErrorLoc", "=", "(", "(", "RISCVOperand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "\"invalid operand for instruction\"", ")", ";", "}", "case", "Match_InvalidUImm5", ":", "return", "generateImmOutOfRangeError", "(", "Operands", ",", "ErrorInfo", ",", "0", ",", "(", "1", "<<", "5", ")", "-", "1", ")", ";", "case", "Match_InvalidSImm12", ":", "return", "generateImmOutOfRangeError", "(", "Operands", ",", "ErrorInfo", ",", "-", "(", "1", "<<", "11", ")", ",", "(", "1", "<<", "11", ")", "-", "1", ")", ";", "case", "Match_InvalidUImm12", ":", "return", "generateImmOutOfRangeError", "(", "Operands", ",", "ErrorInfo", ",", "0", ",", "(", "1", "<<", "12", ")", "-", "1", ")", ";", "case", "Match_InvalidSImm13Lsb0", ":", "return", "generateImmOutOfRangeError", "(", "Operands", ",", "ErrorInfo", ",", "-", "(", "1", "<<", "12", ")", ",", "(", "1", "<<", "12", ")", "-", "2", ",", "\"immediate must be a multiple of 2 bytes in the range\"", ")", ";", "case", "Match_InvalidUImm20", ":", "return", "generateImmOutOfRangeError", "(", "Operands", ",", "ErrorInfo", ",", "0", ",", "(", "1", "<<", "20", ")", "-", "1", ")", ";", "case", "Match_InvalidSImm21Lsb0", ":", "return", "generateImmOutOfRangeError", "(", "Operands", ",", "ErrorInfo", ",", "-", "(", "1", "<<", "20", ")", ",", "(", "1", "<<", "20", ")", "-", "2", ",", "\"immediate must be a multiple of 2 bytes in the range\"", ")", ";", "case", "Match_InvalidFenceArg", ":", "{", "SMLoc", "ErrorLoc", "=", "(", "(", "RISCVOperand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "return", "Error", "(", "ErrorLoc", ",", "\"operand must be formed of letters selected in-order from 'iorw'\"", ")", ";", "}", "}", "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": ["RISCV", "RISCV", "\"instruction use requires an option to be enabled\"", "\"unrecognized instruction mnemonic\"", "0U", "\"too few operands for instruction\"", "RISCV", "\"invalid operand for instruction\"", "0", "1", "5", "1", "1", "11", "1", "11", "1", "0", "1", "12", "1", "1", "12", "1", "12", "2", "\"immediate must be a multiple of 2 bytes in the range\"", "0", "1", "20", "1", "1", "20", "1", "20", "2", "\"immediate must be a multiple of 2 bytes in the range\"", "RISCV", "\"operand must be formed of letters selected in-order from 'iorw'\"", "\"Unknown match type detected!\""], "File": "RISCVAsmParser20", "Func": "MatchAndEmitInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 307, "Length": 354, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_valid_lo_sum_p", "(", "enum", "riscv_symbol_type", "sym_type", ",", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "int", "align", ",", "size", ";", "if", "(", "riscv_symbol_insns", "(", "sym_type", ")", "==", "0", ")", "return", "false", ";", "if", "(", "!", "riscv_split_symbol_type", "(", "sym_type", ")", ")", "return", "false", ";", "if", "(", "mode", "==", "BLKmode", ")", "{", "rtx", "offset", ";", "split_const", "(", "x", ",", "&", "x", ",", "&", "offset", ")", ";", "if", "(", "!", "SYMBOL_REF_P", "(", "x", ")", ")", "return", "false", ";", "align", "=", "(", "SYMBOL_REF_DECL", "(", "x", ")", "?", "DECL_ALIGN", "(", "SYMBOL_REF_DECL", "(", "x", ")", ")", ":", "1", ")", ";", "size", "=", "(", "SYMBOL_REF_DECL", "(", "x", ")", "&&", "DECL_SIZE", "(", "SYMBOL_REF_DECL", "(", "x", ")", ")", "?", "tree_to_uhwi", "(", "DECL_SIZE", "(", "SYMBOL_REF_DECL", "(", "x", ")", ")", ")", ":", "2", "*", "BITS_PER_WORD", ")", ";", "}", "else", "{", "align", "=", "GET_MODE_ALIGNMENT", "(", "mode", ")", ";", "size", "=", "GET_MODE_BITSIZE", "(", "mode", ")", ";", "}", "if", "(", "size", ">", "BITS_PER_WORD", "&&", "(", "!", "TARGET_STRICT_ALIGN", "||", "size", ">", "align", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "LO_SUM", "can", "address", "a", "value", "of", "mode", "MODE", "when", "the", "LO_SUM", "symbol", "has", "type", "SYM_TYPE", "."], "TS_V_token": ["riscv", "0", "1", "2"], "File": "riscv", "Func": "riscv_valid_lo_sum_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 308, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "Register", "SrcReg", ",", "bool", "IsKill", ",", "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", "::", "SW", ":", "RISCV", "::", "SD", ";", "else", "if", "(", "RISCV", "::", "FPR32RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "RISCV", "::", "FSW", ";", "else", "if", "(", "RISCV", "::", "FPR64RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "RISCV", "::", "FSD", ";", "else", "llvm_unreachable", "(", "\"Can't store this register to stack slot\"", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opcode", ")", ")", ".", "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": ["RISCV", "RISCV", "RISCV::GPRRegClass", "RISCV::GPRRegClass", "32", "RISCV::SW", "RISCV::SD", "RISCV::FPR32RegClass", "RISCV::FSW", "RISCV::FPR64RegClass", "RISCV::FSD", "\"Can't store this register to stack slot\"", "0"], "File": "RISCVInstrInfo11", "Func": "storeRegToStackSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 309, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "classof", "(", "const", "RISCVMCExpr", "*", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["Methods", "for", "support", "type", "inquiry", "through", "isa", ",", "cast", ",", "and", "dyn_cast", ":"], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVMCExpr", "Func": "classof", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 310, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "apply_vl_p", "(", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["We", "choose", "to", "apply", "vl", "operand", "by", "default", "since", "most", "of", "the", "intrinsics", "has", "vl", "operand", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins-bases", "Func": "apply_vl_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 311, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", "AddrSpace", ",", "Align", "Alignment", ",", "MachineMemOperand", "::", "Flags", "Flags", ",", "bool", "*", "Fast", ")", "const", "{", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "{", "if", "(", "Fast", ")", "*", "Fast", "=", "false", ";", "return", "Subtarget", ".", "enableUnalignedScalarMem", "(", ")", ";", "}", "EVT", "ElemVT", "=", "VT", ".", "getVectorElementType", "(", ")", ";", "if", "(", "Alignment", ">=", "ElemVT", ".", "getStoreSize", "(", ")", ")", "{", "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": ["RISCV", "RISCV"], "File": "RISCVISelLowering33", "Func": "allowsMisalignedMemoryAccesses", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 312, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "RISCVMCExpr", "::", "getVariantKindName", "(", "VariantKind", "Kind", ")", "{", "switch", "(", "Kind", ")", "{", "default", ":", "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\"", ";", "}", "}", ""], "natrual_language": ["Convert", "the", "variant", "kind", "into", "an", "ELF-appropriate", "modifier", "(", "e.g", "."], "TS_V_token": ["RISCV", "RISCV", "\"Invalid ELF symbol kind\"", "RISCV", "\"lo\"", "RISCV", "\"hi\"", "RISCV", "\"pcrel_lo\"", "RISCV", "\"pcrel_hi\"", "RISCV", "\"got_pcrel_hi\""], "File": "RISCVMCExpr13", "Func": "getVariantKindName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 313, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_libgcc_floating_mode_supported_p", "(", "scalar_float_mode", "mode", ")", "{", "if", "(", "mode", "==", "HFmode", ")", "return", "true", ";", "else", "return", "default_libgcc_floating_mode_supported_p", "(", "mode", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LIBGCC_FLOATING_MODE_SUPPORTED_P", "-", "return", "TRUE", "if", "MODE", "is", "HFmode", ",", "and", "punt", "to", "the", "generic", "implementation", "otherwise", "."], "TS_V_token": ["riscv"], "File": "riscv1", "Func": "riscv_libgcc_floating_mode_supported_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 314, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "riscv_force_temporary", "(", "rtx", "dest", ",", "rtx", "value", ",", "bool", "in_splitter", ")", "{", "if", "(", "can_create_pseudo_p", "(", ")", "&&", "!", "in_splitter", ")", "return", "force_reg", "(", "Pmode", ",", "value", ")", ";", "else", "{", "riscv_emit_move", "(", "dest", ",", "value", ")", ";", "return", "dest", ";", "}", "}", ""], "natrual_language": ["Copy", "VALUE", "to", "a", "register", "and", "return", "that", "register", ".", "If", "new", "pseudos", "are", "allowed", ",", "copy", "it", "into", "a", "new", "register", ",", "otherwise", "use", "DEST", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_force_temporary", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 315, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "riscv_store_data_bypass_p", "(", "rtx_insn", "*", "out_insn", ",", "rtx_insn", "*", "in_insn", ")", "{", "rtx", "out_set", ",", "in_set", ";", "rtx", "out_pat", ",", "in_pat", ";", "rtx", "out_exp", ",", "in_exp", ";", "int", "i", ",", "j", ";", "in_set", "=", "single_set", "(", "in_insn", ")", ";", "if", "(", "in_set", ")", "{", "if", "(", "MEM_P", "(", "SET_DEST", "(", "in_set", ")", ")", ")", "{", "out_set", "=", "single_set", "(", "out_insn", ")", ";", "if", "(", "!", "out_set", ")", "{", "out_pat", "=", "PATTERN", "(", "out_insn", ")", ";", "if", "(", "GET_CODE", "(", "out_pat", ")", "==", "PARALLEL", ")", "{", "for", "(", "i", "=", "0", ";", "i", "<", "XVECLEN", "(", "out_pat", ",", "0", ")", ";", "i", "++", ")", "{", "out_exp", "=", "XVECEXP", "(", "out_pat", ",", "0", ",", "i", ")", ";", "if", "(", "(", "GET_CODE", "(", "out_exp", ")", "==", "CLOBBER", ")", "||", "(", "GET_CODE", "(", "out_exp", ")", "==", "USE", ")", ")", "continue", ";", "else", "if", "(", "GET_CODE", "(", "out_exp", ")", "!=", "SET", ")", "return", "false", ";", "}", "}", "}", "}", "}", "else", "{", "in_pat", "=", "PATTERN", "(", "in_insn", ")", ";", "if", "(", "GET_CODE", "(", "in_pat", ")", "!=", "PARALLEL", ")", "return", "false", ";", "for", "(", "i", "=", "0", ";", "i", "<", "XVECLEN", "(", "in_pat", ",", "0", ")", ";", "i", "++", ")", "{", "in_exp", "=", "XVECEXP", "(", "in_pat", ",", "0", ",", "i", ")", ";", "if", "(", "(", "GET_CODE", "(", "in_exp", ")", "==", "CLOBBER", ")", "||", "(", "GET_CODE", "(", "in_exp", ")", "==", "USE", ")", ")", "continue", ";", "else", "if", "(", "GET_CODE", "(", "in_exp", ")", "!=", "SET", ")", "return", "false", ";", "if", "(", "MEM_P", "(", "SET_DEST", "(", "in_exp", ")", ")", ")", "{", "out_set", "=", "single_set", "(", "out_insn", ")", ";", "if", "(", "!", "out_set", ")", "{", "out_pat", "=", "PATTERN", "(", "out_insn", ")", ";", "if", "(", "GET_CODE", "(", "out_pat", ")", "!=", "PARALLEL", ")", "return", "false", ";", "for", "(", "j", "=", "0", ";", "j", "<", "XVECLEN", "(", "out_pat", ",", "0", ")", ";", "j", "++", ")", "{", "out_exp", "=", "XVECEXP", "(", "out_pat", ",", "0", ",", "j", ")", ";", "if", "(", "(", "GET_CODE", "(", "out_exp", ")", "==", "CLOBBER", ")", "||", "(", "GET_CODE", "(", "out_exp", ")", "==", "USE", ")", ")", "continue", ";", "else", "if", "(", "GET_CODE", "(", "out_exp", ")", "!=", "SET", ")", "return", "false", ";", "}", "}", "}", "}", "}", "return", "store_data_bypass_p", "(", "out_insn", ",", "in_insn", ")", ";", "}", ""], "natrual_language": ["Given", "that", "there", "exists", "at", "least", "one", "variable", "that", "is", "set", "(", "produced", ")", "by", "OUT_INSN", "and", "read", "(", "consumed", ")", "by", "IN_INSN", ",", "return", "true", "iff", "IN_INSN", "represents", "one", "or", "more", "memory", "store", "operations", "and", "none", "of", "the", "variables", "set", "by", "OUT_INSN", "is", "used", "by", "IN_INSN", "as", "the", "address", "of", "a", "store", "operation", ".", "If", "either", "IN_INSN", "or", "OUT_INSN", "does", "not", "represent", "a", "``", "single", "''", "RTL", "SET", "expression", "(", "as", "loosely", "defined", "by", "the", "implementation", "of", "the", "single_set", "function", ")", "or", "a", "PARALLEL", "with", "only", "SETs", ",", "CLOBBERs", ",", "and", "USEs", "inside", ",", "this", "function", "returns", "false", ".", "Borrowed", "from", "rs6000", ",", "riscv_store_data_bypass_p", "checks", "for", "certain", "conditions", "that", "result", "in", "assertion", "failures", "in", "the", "generic", "store_data_bypass_p", "function", "and", "returns", "FALSE", "in", "such", "cases", ".", "This", "is", "required", "to", "make", "-msave-restore", "work", "with", "the", "sifive-7", "pipeline", "description", "."], "TS_V_token": ["riscv", "0", "0", "0", "0", "0", "0", "0", "0", "0"], "File": "riscv", "Func": "riscv_store_data_bypass_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 316, "Length": 363, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_modes_tieable_p", "(", "machine_mode", "mode1", ",", "machine_mode", "mode2", ")", "{", "return", "(", "mode1", "==", "mode2", "||", "!", "(", "GET_MODE_CLASS", "(", "mode1", ")", "==", "MODE_FLOAT", "&&", "GET_MODE_CLASS", "(", "mode2", ")", "==", "MODE_FLOAT", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MODES_TIEABLE_P", ".", "Do", "n't", "allow", "floating-point", "modes", "to", "be", "tied", ",", "since", "type", "punning", "of", "single-precision", "and", "double-precision", "is", "implementation", "defined", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_modes_tieable_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 317, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_legitimate_address_p", "(", "enum", "machine_mode", "mode", ",", "rtx", "x", ",", "bool", "strict_p", ")", "{", "struct", "riscv_address_info", "addr", ";", "return", "riscv_classify_address", "(", "&", "addr", ",", "x", ",", "mode", ",", "strict_p", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LEGITIMATE_ADDRESS_P", "."], "TS_V_token": ["riscv"], "File": "riscv2", "Func": "riscv_legitimate_address_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 318, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "riscv_regno_mode_ok_for_base_p", "(", "int", "regno", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "bool", "strict_p", ")", "{", "if", "(", "!", "HARD_REGISTER_NUM_P", "(", "regno", ")", ")", "{", "if", "(", "!", "strict_p", ")", "return", "true", ";", "regno", "=", "reg_renumber", "[", "regno", "]", ";", "}", "if", "(", "regno", "==", "ARG_POINTER_REGNUM", "||", "regno", "==", "FRAME_POINTER_REGNUM", ")", "return", "true", ";", "return", "GP_REG_P", "(", "regno", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "register", "REGNO", "is", "a", "valid", "base", "register", "for", "mode", "MODE", ".", "STRICT_P", "is", "true", "if", "REG_OK_STRICT", "is", "in", "effect", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_regno_mode_ok_for_base_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 319, "Length": 59, "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": ["RISCV", "RISCV", "MVT::f16", "MVT::f32", "MVT::f64"], "File": "RISCVISelLowering1", "Func": "isFMAFasterThanFMulAndFAdd", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 320, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "isCheapToSpeculateCtlz", "(", ")", "const", "{", "return", "Subtarget", ".", "hasStdExtZbb", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "cheap", "to", "speculate", "a", "call", "to", "intrinsic", "ctlz", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVISelLowering1", "Func": "isCheapToSpeculateCtlz", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 321, "Length": 16, "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", "||", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "PseudoCCALLReg", "||", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "PseudoCCALL", "||", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "PseudoCTAIL", "||", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "PseudoCJump", ")", "{", "expandFunctionCall", "(", "MI", ",", "OS", ",", "Fixups", ",", "STI", ")", ";", "MCNumEmitted", "+=", "2", ";", "return", ";", "}", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "PseudoAddTPRel", ")", "{", "expandAddTPRel", "(", "MI", ",", "OS", ",", "Fixups", ",", "STI", ")", ";", "MCNumEmitted", "+=", "1", ";", "return", ";", "}", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "PseudoCIncOffsetTPRel", ")", "{", "expandCIncOffsetTPRel", "(", "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": ["RISCV", "RISCV", "RISCV::PseudoCALLReg", "RISCV::PseudoCALL", "RISCV::PseudoTAIL", "RISCV::PseudoJump", "RISCV::PseudoCCALLReg", "RISCV::PseudoCCALL", "RISCV::PseudoCTAIL", "RISCV::PseudoCJump", "2", "RISCV::PseudoAddTPRel", "1", "RISCV::PseudoCIncOffsetTPRel", "1", "\"Unhandled encodeInstruction length!\"", "2", "support::endian", "support::little", "4", "support::endian", "support::little"], "File": "RISCVMCCodeEmitter16", "Func": "encodeInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 322, "Length": 318, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_restore_reg", "(", "rtx", "reg", ",", "rtx", "mem", ")", "{", "rtx", "insn", "=", "riscv_emit_move", "(", "reg", ",", "mem", ")", ";", "rtx", "dwarf", "=", "NULL_RTX", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "dwarf", ")", ";", "if", "(", "epilogue_cfa_sp_offset", "&&", "REGNO", "(", "reg", ")", "==", "HARD_FRAME_POINTER_REGNUM", ")", "{", "rtx", "cfa_adjust_rtx", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "epilogue_cfa_sp_offset", ")", ")", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_DEF_CFA", ",", "cfa_adjust_rtx", ",", "dwarf", ")", ";", "}", "REG_NOTES", "(", "insn", ")", "=", "dwarf", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", ""], "natrual_language": ["Restore", "register", "REG", "from", "MEM", "."], "TS_V_token": ["riscv", "1"], "File": "riscv", "Func": "riscv_restore_reg", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 323, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "RISCVTargetLowering", "::", "joinRegisterPartsIntoValue", "(", "SelectionDAG", "&", "DAG", ",", "const", "SDLoc", "&", "DL", ",", "const", "SDValue", "*", "Parts", ",", "unsigned", "NumParts", ",", "MVT", "PartVT", ",", "EVT", "ValueVT", ",", "Optional", "<", "CallingConv", "::", "ID", ">", "CC", ")", "const", "{", "bool", "IsABIRegCopy", "=", "CC", ".", "hasValue", "(", ")", ";", "if", "(", "IsABIRegCopy", "&&", "ValueVT", "==", "MVT", "::", "f16", "&&", "PartVT", "==", "MVT", "::", "f32", ")", "{", "SDValue", "Val", "=", "Parts", "[", "0", "]", ";", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "DL", ",", "MVT", "::", "i32", ",", "Val", ")", ";", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "TRUNCATE", ",", "DL", ",", "MVT", "::", "i16", ",", "Val", ")", ";", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "DL", ",", "MVT", "::", "f16", ",", "Val", ")", ";", "return", "Val", ";", "}", "if", "(", "ValueVT", ".", "isScalableVector", "(", ")", "&&", "PartVT", ".", "isScalableVector", "(", ")", ")", "{", "LLVMContext", "&", "Context", "=", "*", "DAG", ".", "getContext", "(", ")", ";", "SDValue", "Val", "=", "Parts", "[", "0", "]", ";", "EVT", "ValueEltVT", "=", "ValueVT", ".", "getVectorElementType", "(", ")", ";", "EVT", "PartEltVT", "=", "PartVT", ".", "getVectorElementType", "(", ")", ";", "unsigned", "ValueVTBitSize", "=", "ValueVT", ".", "getSizeInBits", "(", ")", ".", "getKnownMinSize", "(", ")", ";", "unsigned", "PartVTBitSize", "=", "PartVT", ".", "getSizeInBits", "(", ")", ".", "getKnownMinSize", "(", ")", ";", "if", "(", "PartVTBitSize", "%", "ValueVTBitSize", "==", "0", ")", "{", "EVT", "SameEltTypeVT", "=", "ValueVT", ";", "if", "(", "ValueEltVT", "!=", "PartEltVT", ")", "{", "unsigned", "Count", "=", "ValueVTBitSize", "/", "PartEltVT", ".", "getSizeInBits", "(", ")", ";", "assert", "(", "Count", "!=", "0", "&&", "\"The number of element should not be zero.\"", ")", ";", "SameEltTypeVT", "=", "EVT", "::", "getVectorVT", "(", "Context", ",", "PartEltVT", ",", "Count", ",", "true", ")", ";", "}", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "EXTRACT_SUBVECTOR", ",", "DL", ",", "SameEltTypeVT", ",", "Val", ",", "DAG", ".", "getConstant", "(", "0", ",", "DL", ",", "Subtarget", ".", "getXLenVT", "(", ")", ")", ")", ";", "if", "(", "ValueEltVT", "!=", "PartEltVT", ")", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "DL", ",", "ValueVT", ",", "Val", ")", ";", "return", "Val", ";", "}", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Target-specific", "combining", "of", "register", "parts", "into", "its", "original", "value", "."], "TS_V_token": ["RISCV", "RISCV", "MVT::f16", "MVT::f32", "0", "ISD::BITCAST", "MVT::i32", "ISD::TRUNCATE", "MVT::i16", "ISD::BITCAST", "MVT::f16", "0", "0", "0", "\"The number of element should not be zero.\"", "ISD::EXTRACT_SUBVECTOR", "0", "ISD::BITCAST"], "File": "RISCVISelLowering1", "Func": "joinRegisterPartsIntoValue", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 324, "Length": 334, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "&", "RISCV", "::", "GPRRegClass", ";", "if", "(", "!", "isInt", "<", "11", ">", "(", "MFI", ".", "estimateStackSize", "(", "MF", ")", ")", ")", "{", "int", "RegScavFI", "=", "MFI", ".", "CreateStackObject", "(", "RegInfo", "->", "getSpillSize", "(", "*", "RC", ")", ",", "RegInfo", "->", "getSpillAlignment", "(", "*", "RC", ")", ",", "false", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "RegScavFI", ")", ";", "}", "}", ""], "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::GPRRegClass", "11"], "File": "RISCVFrameLowering10", "Func": "processFunctionBeforeFrameFinalized", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 325, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "isSExtCheaperThanZExt", "(", "EVT", "SrcVT", ",", "EVT", "DstVT", ")", "const", "{", "return", "Subtarget", ".", "is64Bit", "(", ")", "&&", "SrcVT", "==", "MVT", "::", "i32", "&&", "DstVT", "==", "MVT", "::", "i64", ";", "}", ""], "natrual_language": ["Return", "true", "if", "sign-extension", "from", "FromTy", "to", "ToTy", "is", "cheaper", "than", "zero-extension", "."], "TS_V_token": ["RISCV", "RISCV", "MVT::i32", "MVT::i64"], "File": "RISCVISelLowering", "Func": "isSExtCheaperThanZExt", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 326, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "get_ta", "(", ")", "const", "{", "return", "m_ta", ";", "}", ""], "natrual_language": ["Get", "ta", "according", "to", "operand", "[", "tail_op_idx", "]", "."], "TS_V_token": ["riscv"], "File": "riscv-vsetvl", "Func": "get_ta", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 327, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "RISCVRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "auto", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "GHC", ")", "return", "CSR_NoRegs_SaveList", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"interrupt\"", ")", ")", "{", "if", "(", "Subtarget", ".", "hasStdExtD", "(", ")", ")", "return", "CSR_XLEN_F64_Interrupt_SaveList", ";", "if", "(", "Subtarget", ".", "hasStdExtF", "(", ")", ")", "return", "CSR_XLEN_F32_Interrupt_SaveList", ";", "return", "CSR_Interrupt_SaveList", ";", "}", "switch", "(", "Subtarget", ".", "getTargetABI", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unrecognized ABI\"", ")", ";", "case", "RISCVABI", "::", "ABI_ILP32", ":", "case", "RISCVABI", "::", "ABI_LP64", ":", "return", "CSR_ILP32_LP64_SaveList", ";", "case", "RISCVABI", "::", "ABI_ILP32F", ":", "case", "RISCVABI", "::", "ABI_LP64F", ":", "return", "CSR_ILP32F_LP64F_SaveList", ";", "case", "RISCVABI", "::", "ABI_ILP32D", ":", "case", "RISCVABI", "::", "ABI_LP64D", ":", "return", "CSR_ILP32D_LP64D_SaveList", ";", "}", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "\"interrupt\"", "\"Unrecognized ABI\"", "RISCVABI::ABI_ILP32", "RISCVABI::ABI_LP64", "RISCVABI::ABI_ILP32F", "RISCVABI::ABI_LP64F", "RISCVABI::ABI_ILP32D", "RISCVABI::ABI_LP64D"], "File": "RISCVRegisterInfo1", "Func": "getCalleeSavedRegs", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 328, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "shouldForceRelocation", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ")", "override", "{", "return", "STI", ".", "getFeatureBits", "(", ")", "[", "RISCV", "::", "FeatureRelax", "]", ";", "}", ""], "natrual_language": ["Hook", "to", "check", "if", "a", "relocation", "is", "needed", "for", "some", "target", "specific", "reason", "."], "TS_V_token": ["RISCV", "RISCV::FeatureRelax"], "File": "RISCVAsmBackend11", "Func": "shouldForceRelocation", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 329, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "riscv_pass_aggregate_in_fpr_pair_p", "(", "const_tree", "type", ",", "riscv_aggregate_field", "fields", "[", "2", "]", ")", "{", "static", "int", "warned", "=", "0", ";", "int", "n_old", "=", "riscv_flatten_aggregate_argument", "(", "type", ",", "fields", ",", "false", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "n_old", ";", "i", "++", ")", "if", "(", "!", "SCALAR_FLOAT_TYPE_P", "(", "fields", "[", "i", "]", ".", "type", ")", ")", "{", "n_old", "=", "-", "1", ";", "break", ";", "}", "int", "n_new", "=", "riscv_flatten_aggregate_argument", "(", "type", ",", "fields", ",", "true", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "n_new", ";", "i", "++", ")", "if", "(", "!", "SCALAR_FLOAT_TYPE_P", "(", "fields", "[", "i", "]", ".", "type", ")", ")", "{", "n_new", "=", "-", "1", ";", "break", ";", "}", "if", "(", "(", "n_old", "!=", "n_new", ")", "&&", "(", "warned", "==", "0", ")", ")", "{", "warning", "(", "OPT_Wpsabi", ",", "\"ABI for flattened struct with zero-length \"", "\"bit-fields changed in GCC 10\"", ")", ";", "warned", "=", "1", ";", "}", "return", "n_new", ">", "0", "?", "n_new", ":", "0", ";", "}", ""], "natrual_language": ["See", "whether", "TYPE", "is", "a", "record", "whose", "fields", "should", "be", "returned", "in", "one", "or", "two", "floating-point", "registers", ".", "If", "so", ",", "populate", "FIELDS", "accordingly", "."], "TS_V_token": ["riscv", "2", "0", "0", "1", "0", "1", "0", "\"ABI for flattened struct with zero-length \"", "\"bit-fields changed in GCC 10\"", "1", "0", "0"], "File": "riscv", "Func": "riscv_pass_aggregate_in_fpr_pair_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 330, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "outliner", "::", "InstrType", "RISCVInstrInfo", "::", "getOutliningType", "(", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "unsigned", "Flags", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "MBBI", ";", "MachineBasicBlock", "*", "MBB", "=", "MI", ".", "getParent", "(", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "MBB", "->", "getParent", "(", ")", "->", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "if", "(", "MI", ".", "isPosition", "(", ")", ")", "{", "if", "(", "MI", ".", "isCFIInstruction", "(", ")", ")", "return", "outliner", "::", "InstrType", "::", "Invisible", ";", "return", "outliner", "::", "InstrType", "::", "Illegal", ";", "}", "if", "(", "MI", ".", "isInlineAsm", "(", ")", ")", "return", "outliner", "::", "InstrType", "::", "Illegal", ";", "if", "(", "MI", ".", "isTerminator", "(", ")", "&&", "!", "MBB", "->", "succ_empty", "(", ")", ")", "return", "outliner", "::", "InstrType", "::", "Illegal", ";", "if", "(", "MI", ".", "isReturn", "(", ")", ")", "return", "outliner", "::", "InstrType", "::", "Illegal", ";", "if", "(", "MI", ".", "modifiesRegister", "(", "RISCV", "::", "X5", ",", "TRI", ")", "||", "MI", ".", "getDesc", "(", ")", ".", "hasImplicitDefOfPhysReg", "(", "RISCV", "::", "X5", ")", ")", "return", "outliner", "::", "InstrType", "::", "Illegal", ";", "for", "(", "const", "auto", "&", "MO", ":", "MI", ".", "operands", "(", ")", ")", "if", "(", "MO", ".", "isMBB", "(", ")", "||", "MO", ".", "isBlockAddress", "(", ")", "||", "MO", ".", "isCPI", "(", ")", "||", "MO", ".", "isJTI", "(", ")", ")", "return", "outliner", "::", "InstrType", "::", "Illegal", ";", "if", "(", "MI", ".", "isMetaInstruction", "(", ")", ")", "return", "outliner", "::", "InstrType", "::", "Invisible", ";", "return", "outliner", "::", "InstrType", "::", "Legal", ";", "}", ""], "natrual_language": ["Returns", "how", "or", "if", "MIT", "should", "be", "outlined", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::X5", "RISCV::X5"], "File": "RISCVInstrInfo (2)", "Func": "getOutliningType", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 331, "Length": 240, "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": 332, "Length": 344, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "get_sew", "(", "machine_mode", "mode", ")", "{", "unsigned", "int", "sew", "=", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_BOOL", "?", "8", ":", "GET_MODE_BITSIZE", "(", "GET_MODE_INNER", "(", "mode", ")", ")", ";", "return", "sew", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "get", "SEW", "operand", ".", "We", "always", "have", "SEW", "value", "for", "all", "RVV", "instructions", "that", "have", "VTYPE", "OP", "."], "TS_V_token": ["riscv", "8"], "File": "riscv-v", "Func": "get_sew", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 333, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVInstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "{", "return", "get", "(", "Opcode", ")", ".", "getSize", "(", ")", ";", "}", "case", "TargetOpcode", "::", "EH_LABEL", ":", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "KILL", ":", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "return", "0", ";", "case", "RISCV", "::", "PseudoCALL", ":", "return", "8", ";", "case", "TargetOpcode", "::", "INLINEASM", ":", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "auto", "&", "TM", "=", "static_cast", "<", "const", "RISCVTargetMachine", "&", ">", "(", "MF", ".", "getTarget", "(", ")", ")", ";", "return", "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": ["RISCV", "RISCV", "0", "RISCV::PseudoCALL", "8", "RISCV", "0"], "File": "RISCVInstrInfo15", "Func": "getInstSizeInBytes", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 334, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "VConstraintType", "getConstraint", "(", "uint64_t", "TSFlags", ")", "{", "return", "static_cast", "<", "VConstraintType", ">", "(", "(", "TSFlags", "&", "ConstraintMask", ")", ">>", "ConstraintShift", ")", ";", "}", ""], "natrual_language": ["Fetch", "condition", "in", "the", "form", "of", "PredicateConstraint", ",", "if", "possible", "."], "TS_V_token": ["RISCV"], "File": "RISCVBaseInfo", "Func": "getConstraint", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 335, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "riscv_immediate_operand_p", "(", "int", "code", ",", "HOST_WIDE_INT", "x", ")", "{", "switch", "(", "code", ")", "{", "case", "ASHIFT", ":", "case", "ASHIFTRT", ":", "case", "LSHIFTRT", ":", "return", "true", ";", "case", "AND", ":", "case", "IOR", ":", "case", "XOR", ":", "case", "PLUS", ":", "case", "LT", ":", "case", "LTU", ":", "return", "SMALL_OPERAND", "(", "x", ")", ";", "case", "LE", ":", "return", "SMALL_OPERAND", "(", "x", "+", "1", ")", ";", "case", "LEU", ":", "return", "SMALL_OPERAND", "(", "x", "+", "1", ")", "&&", "x", "+", "1", "!=", "0", ";", "case", "GE", ":", "case", "GEU", ":", "return", "x", "==", "1", ";", "default", ":", "return", "x", "==", "0", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "there", "is", "an", "instruction", "that", "implements", "CODE", "and", "accepts", "X", "as", "an", "immediate", "operand", "."], "TS_V_token": ["riscv", "1", "1", "1", "0", "1", "0"], "File": "riscv", "Func": "riscv_immediate_operand_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 336, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmBackend", "::", "shouldForceRelocation", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ")", "{", "bool", "ShouldForce", "=", "false", ";", "switch", "(", "(", "unsigned", ")", "Fixup", ".", "getKind", "(", ")", ")", "{", "default", ":", "break", ";", "case", "RISCV", "::", "fixup_riscv_got_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", "(", "(", "unsigned", ")", "T", "->", "getKind", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected fixup kind for pcrel_lo12\"", ")", ";", "break", ";", "case", "RISCV", "::", "fixup_riscv_got_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_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_pcrel_hi20", "RISCV::FeatureRelax"], "File": "RISCVAsmBackend21", "Func": "shouldForceRelocation", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 337, "Length": 190, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "Register", "SrcReg", ",", "bool", "IsKill", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "RISCVMachineFunctionInfo", "*", "RVFI", "=", "MF", "->", "getInfo", "<", "RISCVMachineFunctionInfo", ">", "(", ")", ";", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "unsigned", "Opcode", ";", "bool", "isRISCVVector", "=", "false", ";", "if", "(", "RISCV", "::", "GPRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "TRI", "->", "getRegSizeInBits", "(", "RISCV", "::", "GPRRegClass", ")", "==", "32", "?", "RISCV", "::", "SW", ":", "RISCV", "::", "SD", ";", "else", "if", "(", "RISCV", "::", "FPR32RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "RISCV", "::", "FSW", ";", "else", "if", "(", "RISCV", "::", "FPR64RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "RISCV", "::", "FSD", ";", "else", "if", "(", "RISCV", "::", "VRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "Opcode", "=", "RISCV", "::", "VS1R_V", ";", "isRISCVVector", "=", "true", ";", "}", "else", "if", "(", "RISCV", "::", "VRM2RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "Opcode", "=", "RISCV", "::", "VS2R_V", ";", "isRISCVVector", "=", "true", ";", "}", "else", "if", "(", "RISCV", "::", "VRM4RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "Opcode", "=", "RISCV", "::", "VS4R_V", ";", "isRISCVVector", "=", "true", ";", "}", "else", "if", "(", "RISCV", "::", "VRM8RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "Opcode", "=", "RISCV", "::", "VS8R_V", ";", "isRISCVVector", "=", "true", ";", "}", "else", "llvm_unreachable", "(", "\"Can't store this register to stack slot\"", ")", ";", "if", "(", "isRISCVVector", ")", "{", "RVFI", "->", "setHasSpillVRs", "(", ")", ";", "MFI", ".", "setStackID", "(", "FI", ",", "TargetStackID", "::", "RISCVVector", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opcode", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "IsKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opcode", ")", ")", ".", "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": ["RISCV", "RISCV", "RISCV", "RISCV", "RISCV", "RISCV::GPRRegClass", "RISCV::GPRRegClass", "32", "RISCV::SW", "RISCV::SD", "RISCV::FPR32RegClass", "RISCV::FSW", "RISCV::FPR64RegClass", "RISCV::FSD", "RISCV::VRRegClass", "RISCV::VS1R_V", "RISCV", "RISCV::VRM2RegClass", "RISCV::VS2R_V", "RISCV", "RISCV::VRM4RegClass", "RISCV::VS4R_V", "RISCV", "RISCV::VRM8RegClass", "RISCV::VS8R_V", "RISCV", "\"Can't store this register to stack slot\"", "RISCV", "RISCV", "0"], "File": "RISCVInstrInfo25", "Func": "storeRegToStackSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 338, "Length": 357, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "SDValue", "getAllOnesMask", "(", "MVT", "VecVT", ",", "SDValue", "VL", ",", "SDLoc", "DL", ",", "SelectionDAG", "&", "DAG", ")", "{", "MVT", "MaskVT", "=", "getMaskTypeFor", "(", "VecVT", ")", ";", "return", "DAG", ".", "getNode", "(", "RISCVISD", "::", "VMSET_VL", ",", "DL", ",", "MaskVT", ",", "VL", ")", ";", "}", ""], "natrual_language": ["Return", "an", "all", "true", "boolean", "vector", "(", "mask", ")", "with", "NumElts", "lanes", "."], "TS_V_token": ["RISCV", "RISCVISD::VMSET_VL"], "File": "RISCVISelLowering33", "Func": "getAllOnesMask", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 339, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVPassConfig", "::", "addIRTranslator", "(", ")", "{", "addPass", "(", "new", "IRTranslator", "(", ")", ")", ";", "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": "RISCVTargetMachine16", "Func": "addIRTranslator", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 340, "Length": 19, "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": 341, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "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", "=", "RISCV", "::", "LW", ";", "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::LW", "RISCV::FPR32RegClass", "RISCV::FLW", "RISCV::FPR64RegClass", "RISCV::FLD", "\"Can't load this register from stack slot\"", "0"], "File": "RISCVInstrInfo15", "Func": "loadRegFromStackSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 342, "Length": 142, "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", ")", ";", "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", "(", "MFI", ".", "getCalleeSavedInfo", "(", ")", ")", ";", "auto", "LastFrameDestroy", "=", "MBBI", ";", "if", "(", "!", "CSI", ".", "empty", "(", ")", ")", "LastFrameDestroy", "=", "std", "::", "prev", "(", "MBBI", ",", "CSI", ".", "size", "(", ")", ")", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "uint64_t", "RealStackSize", "=", "StackSize", "+", "RVFI", "->", "getLibCallStackSize", "(", ")", ";", "uint64_t", "FPOffset", "=", "RealStackSize", "-", "RVFI", "->", "getVarArgsSaveSize", "(", ")", ";", "if", "(", "RI", "->", "needsStackRealignment", "(", "MF", ")", "||", "MFI", ".", "hasVarSizedObjects", "(", ")", "||", "RVFI", "->", "hasSpillVRs", "(", ")", ")", "{", "assert", "(", "hasFP", "(", "MF", ")", "&&", "\"frame pointer should not have been eliminated\"", ")", ";", "adjustReg", "(", "MBB", ",", "LastFrameDestroy", ",", "DL", ",", "SPReg", ",", "FPReg", ",", "-", "FPOffset", ",", "MachineInstr", "::", "FrameDestroy", ")", ";", "}", "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", ")", ";", "}", ""], "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": "RISCVFrameLowering20", "Func": "emitEpilogue", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 343, "Length": 377, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_save_reg", "(", "rtx", "reg", ",", "rtx", "mem", ")", "{", "riscv_emit_move", "(", "mem", ",", "reg", ")", ";", "riscv_set_frame_expr", "(", "riscv_frame_set", "(", "mem", ",", "reg", ")", ")", ";", "}", ""], "natrual_language": ["Save", "register", "REG", "to", "MEM", ".", "Make", "the", "instruction", "frame-related", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_save_reg", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 344, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "riscv_flatten_aggregate_argument", "(", "const_tree", "type", ",", "riscv_aggregate_field", "fields", "[", "2", "]", ")", "{", "if", "(", "!", "type", "||", "TREE_CODE", "(", "type", ")", "!=", "RECORD_TYPE", ")", "return", "-", "1", ";", "return", "riscv_flatten_aggregate_field", "(", "type", ",", "fields", ",", "0", ",", "0", ")", ";", "}", ""], "natrual_language": ["Identify", "candidate", "aggregates", "for", "passing", "in", "floating-point", "registers", ".", "Candidates", "have", "at", "most", "two", "fields", "after", "flattening", "."], "TS_V_token": ["riscv", "2", "1", "0", "0"], "File": "riscv2", "Func": "riscv_flatten_aggregate_argument", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 345, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_extend_comparands", "(", "rtx_code", "code", ",", "rtx", "*", "op0", ",", "rtx", "*", "op1", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "word_mode", ")", ">", "GET_MODE_SIZE", "(", "GET_MODE", "(", "*", "op0", ")", ")", ")", "{", "if", "(", "unsigned_condition", "(", "code", ")", "==", "code", "&&", "GET_MODE", "(", "*", "op0", ")", "==", "QImode", ")", "{", "*", "op0", "=", "gen_rtx_ZERO_EXTEND", "(", "word_mode", ",", "*", "op0", ")", ";", "if", "(", "CONST_INT_P", "(", "*", "op1", ")", ")", "*", "op1", "=", "GEN_INT", "(", "(", "uint8_t", ")", "INTVAL", "(", "*", "op1", ")", ")", ";", "else", "*", "op1", "=", "gen_rtx_ZERO_EXTEND", "(", "word_mode", ",", "*", "op1", ")", ";", "}", "else", "{", "*", "op0", "=", "gen_rtx_SIGN_EXTEND", "(", "word_mode", ",", "*", "op0", ")", ";", "if", "(", "*", "op1", "!=", "const0_rtx", ")", "*", "op1", "=", "gen_rtx_SIGN_EXTEND", "(", "word_mode", ",", "*", "op1", ")", ";", "}", "}", "}", ""], "natrual_language": ["Sign-", "or", "zero-extend", "OP0", "and", "OP1", "for", "integer", "comparisons", "."], "TS_V_token": ["riscv"], "File": "riscv2", "Func": "riscv_extend_comparands", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 346, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVInstrInfo", "::", "reverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "assert", "(", "(", "Cond", ".", "size", "(", ")", "==", "3", ")", "&&", "\"Invalid branch condition!\"", ")", ";", "if", "(", "Cond", "[", "0", "]", ".", "getImm", "(", ")", "==", "RISCV", "::", "LoopBranch", ")", "return", "true", ";", "Cond", "[", "0", "]", ".", "setImm", "(", "getOppositeBranchOpcode", "(", "Cond", "[", "0", "]", ".", "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": ["RISCV", "RISCV", "3", "\"Invalid branch condition!\"", "0", "RISCV::LoopBranch", "0", "0"], "File": "RISCVInstrInfo51", "Func": "reverseBranchCondition", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 347, "Length": 71, "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", ",", "const", "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_RISCV32", ")", ";", "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", "(", "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", "\"VarArg not supported\"", "16", "RISCV", "4", "1", "0", "\"Can only return in registers!\"", "1", "0", "RISCVISD::RET_FLAG", "MVT::Other"], "File": "RISCVISelLowering50", "Func": "LowerReturn", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 348, "Length": 254, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "riscv_init_builtins", "(", "void", ")", "{", "for", "(", "size_t", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "riscv_builtins", ")", ";", "i", "++", ")", "{", "const", "struct", "riscv_builtin_description", "*", "d", "=", "&", "riscv_builtins", "[", "i", "]", ";", "if", "(", "d", "->", "avail", "(", ")", ")", "{", "tree", "type", "=", "riscv_build_function_type", "(", "d", "->", "prototype", ")", ";", "riscv_builtin_decls", "[", "i", "]", "=", "add_builtin_function", "(", "d", "->", "name", ",", "type", ",", "i", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL", ")", ";", "riscv_builtin_decl_index", "[", "d", "->", "icode", "]", "=", "i", ";", "}", "}", "}", ""], "natrual_language": ["Implement", "TARGET_INIT_BUILTINS", "."], "TS_V_token": ["riscv", "0"], "File": "riscv-builtins", "Func": "riscv_init_builtins", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 349, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmBackend", "::", "shouldForceRelocation", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ")", "{", "bool", "ShouldForce", "=", "false", ";", "switch", "(", "(", "unsigned", ")", "Fixup", ".", "getKind", "(", ")", ")", "{", "default", ":", "break", ";", "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", "(", "(", "unsigned", ")", "T", "->", "getKind", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected fixup kind for pcrel_lo12\"", ")", ";", "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_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_pcrel_hi20", "RISCV::FeatureRelax"], "File": "RISCVAsmBackend", "Func": "shouldForceRelocation", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 350, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "shouldForceRelocation", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ")", "override", "{", "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::FeatureRelax"], "File": "RISCVAsmBackend1", "Func": "shouldForceRelocation", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 351, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "&", "RISCV", "::", "GPRRegClass", ";", "if", "(", "!", "isInt", "<", "11", ">", "(", "MFI", ".", "estimateStackSize", "(", "MF", ")", ")", ")", "{", "const", "DataLayout", "&", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "int", "RegScavFI", "=", "MFI", ".", "CreateStackObject", "(", "RegInfo", "->", "getSpillSize", "(", "*", "RC", ",", "DL", ")", ",", "RegInfo", "->", "getSpillAlignment", "(", "*", "RC", ",", "DL", ")", ",", "false", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "RegScavFI", ")", ";", "}", "}", ""], "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::GPRRegClass", "11"], "File": "RISCVFrameLowering26", "Func": "processFunctionBeforeFrameFinalized", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 352, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "MCSubtargetInfo", "&", "NewSTI", "=", "OutStreamer", "->", "getContext", "(", ")", ".", "getSubtargetCopy", "(", "*", "TM", ".", "getMCSubtargetInfo", "(", ")", ")", ";", "NewSTI", ".", "setFeatureBits", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getFeatureBits", "(", ")", ")", ";", "MCSTI", "=", "&", "NewSTI", ";", "STI", "=", "&", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "SetupMachineFunction", "(", "MF", ")", ";", "emitFunctionBody", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV"], "File": "RISCVAsmPrinter", "Func": "runOnMachineFunction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 353, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "RISCVTargetLowering", "::", "shouldExpandAtomicRMWInIR", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "if", "(", "AI", "->", "isFloatingPointOperation", "(", ")", ")", "return", "AtomicExpansionKind", "::", "CmpXChg", ";", "unsigned", "Size", "=", "AI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "(", "Size", "==", "8", "||", "Size", "==", "16", ")", "&&", "!", "RISCVABI", "::", "isCheriPureCapABI", "(", "Subtarget", ".", "getTargetABI", "(", ")", ")", ")", "return", "AtomicExpansionKind", "::", "MaskedIntrinsic", ";", "return", "AtomicExpansionKind", "::", "None", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "IR-level", "AtomicExpand", "pass", "should", "expand", "the", "given", "AtomicRMW", ",", "if", "at", "all", "."], "TS_V_token": ["RISCV", "RISCV", "8", "16", "RISCVABI::isCheriPureCapABI"], "File": "RISCVISelLowering42", "Func": "shouldExpandAtomicRMWInIR", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 354, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVInstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "MI", ".", "isMetaInstruction", "(", ")", ")", "return", "0", ";", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "Opcode", "==", "TargetOpcode", "::", "INLINEASM", "||", "Opcode", "==", "TargetOpcode", "::", "INLINEASM_BR", ")", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "auto", "&", "TM", "=", "static_cast", "<", "const", "RISCVTargetMachine", "&", ">", "(", "MF", ".", "getTarget", "(", ")", ")", ";", "return", "getInlineAsmLength", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getSymbolName", "(", ")", ",", "*", "TM", ".", "getMCAsmInfo", "(", ")", ")", ";", "}", "if", "(", "MI", ".", "getParent", "(", ")", "&&", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ")", "{", "const", "auto", "MF", "=", "MI", ".", "getMF", "(", ")", ";", "const", "auto", "&", "TM", "=", "static_cast", "<", "const", "RISCVTargetMachine", "&", ">", "(", "MF", "->", "getTarget", "(", ")", ")", ";", "const", "MCRegisterInfo", "&", "MRI", "=", "*", "TM", ".", "getMCRegisterInfo", "(", ")", ";", "const", "MCSubtargetInfo", "&", "STI", "=", "*", "TM", ".", "getMCSubtargetInfo", "(", ")", ";", "const", "RISCVSubtarget", "&", "ST", "=", "MF", "->", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "if", "(", "isCompressibleInst", "(", "MI", ",", "&", "ST", ",", "MRI", ",", "STI", ")", ")", "return", "2", ";", "}", "return", "get", "(", "Opcode", ")", ".", "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": ["RISCV", "RISCV", "0", "RISCV", "0", "RISCV", "RISCV", "RISCV", "2"], "File": "RISCVInstrInfo22", "Func": "getInstSizeInBytes", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 355, "Length": 220, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "RISCVSubtarget", "&", "RISCVSubtarget", "::", "initializeSubtargetDependencies", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "TuneCPU", ",", "StringRef", "FS", ",", "StringRef", "ABIName", ")", "{", "bool", "Is64Bit", "=", "TT", ".", "isArch64Bit", "(", ")", ";", "if", "(", "CPU", ".", "empty", "(", ")", "||", "CPU", "==", "\"generic\"", ")", "CPU", "=", "Is64Bit", "?", "\"generic-rv64\"", ":", "\"generic-rv32\"", ";", "if", "(", "TuneCPU", ".", "empty", "(", ")", ")", "TuneCPU", "=", "CPU", ";", "ParseSubtargetFeatures", "(", "CPU", ",", "TuneCPU", ",", "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\"", "\"generic-rv64\"", "\"generic-rv32\"", "MVT::i64", "64", "RISCVABI::computeTargetABI", "RISCVFeatures::validate"], "File": "RISCVSubtarget10", "Func": "initializeSubtargetDependencies", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 356, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "riscv_legitimize_address", "(", "rtx", "x", ",", "rtx", "oldx", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ")", "{", "rtx", "addr", ";", "if", "(", "riscv_tls_symbol_p", "(", "x", ")", ")", "return", "riscv_legitimize_tls_address", "(", "x", ")", ";", "if", "(", "riscv_split_symbol", "(", "NULL", ",", "x", ",", "mode", ",", "&", "addr", ",", "FALSE", ")", ")", "return", "riscv_force_address", "(", "addr", ",", "mode", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", "&&", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", "!=", "0", ")", "{", "rtx", "base", "=", "XEXP", "(", "x", ",", "0", ")", ";", "HOST_WIDE_INT", "offset", "=", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ";", "if", "(", "!", "riscv_valid_base_register_p", "(", "base", ",", "mode", ",", "false", ")", ")", "base", "=", "copy_to_mode_reg", "(", "Pmode", ",", "base", ")", ";", "if", "(", "optimize_function_for_size_p", "(", "cfun", ")", "&&", "(", "strcmp", "(", "current_pass", "->", "name", ",", "\"shorten_memrefs\"", ")", "==", "0", ")", "&&", "mode", "==", "SImode", ")", "addr", "=", "riscv_shorten_lw_offset", "(", "base", ",", "offset", ")", ";", "else", "addr", "=", "riscv_add_offset", "(", "NULL", ",", "base", ",", "offset", ")", ";", "return", "riscv_force_address", "(", "addr", ",", "mode", ")", ";", "}", "return", "x", ";", "}", ""], "natrual_language": ["This", "function", "is", "used", "to", "implement", "LEGITIMIZE_ADDRESS", ".", "If", "X", "can", "be", "legitimized", "in", "a", "way", "that", "the", "generic", "machinery", "might", "not", "expect", ",", "return", "a", "new", "address", ",", "otherwise", "return", "NULL", ".", "MODE", "is", "the", "mode", "of", "the", "memory", "being", "accessed", "."], "TS_V_token": ["riscv", "1", "1", "0", "0", "1", "\"shorten_memrefs\"", "0"], "File": "riscv", "Func": "riscv_legitimize_address", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 357, "Length": 189, "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": 358, "Length": 452, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isValidOffset", "(", "RISCVAddressingMode", "::", "OffRange", "OffR", ",", "int64_t", "Val", ")", "{", "assert", "(", "selectOffset", "(", "OffR", ",", "Val", ")", "&&", "\"Invalid displacement\"", ")", ";", "switch", "(", "OffR", ")", "{", "case", "RISCVAddressingMode", "::", "Off12Only", ":", "return", "true", ";", "}", "llvm_unreachable", "(", "\"Unhandled displacement range\"", ")", ";", "}", ""], "natrual_language": ["Test", "the", "validity", "of", "offset", "."], "TS_V_token": ["RISCV", "RISCVAddressingMode::OffRange", "\"Invalid displacement\"", "RISCVAddressingMode::Off12Only", "\"Unhandled displacement range\""], "File": "RISCVISelDAGToDAG (2)", "Func": "isValidOffset", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 359, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "lowerOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCOperand", "&", "MCOp", ")", "const", "{", "return", "lowerRISCVMachineOperandToMCOperand", "(", "MO", ",", "MCOp", ",", "*", "this", ")", ";", "}", ""], "natrual_language": ["Wrapper", "for", "MCInstLowering.lowerOperand", "(", ")", "for", "the", "tblgen'erated", "pseudo", "lowering", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVAsmPrinter6", "Func": "lowerOperand", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 360, "Length": 26, "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": 361, "Length": 310, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "poly_int64", "riscv_v_adjust_bytesize", "(", "machine_mode", "mode", ",", "int", "scale", ")", "{", "if", "(", "riscv_v_ext_vector_mode_p", "(", "mode", ")", ")", "{", "poly_uint16", "mode_size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "maybe_eq", "(", "mode_size", ",", "(", "uint16_t", ")", "-", "1", ")", ")", "mode_size", "=", "riscv_vector_chunks", "*", "scale", ";", "if", "(", "known_gt", "(", "mode_size", ",", "BYTES_PER_RISCV_VECTOR", ")", ")", "mode_size", "=", "BYTES_PER_RISCV_VECTOR", ";", "return", "mode_size", ";", "}", "return", "scale", ";", "}", ""], "natrual_language": ["Call", "from", "ADJUST_BYTESIZE", "in", "riscv-modes.def", ".", "Return", "the", "correct", "BYTE", "size", "for", "corresponding", "machine_mode", "."], "TS_V_token": ["riscv", "1"], "File": "riscv1", "Func": "riscv_v_adjust_bytesize", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 362, "Length": 66, "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": 363, "Length": 367, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVInstrInfo", "::", "isMBBSafeToOutlineFrom", "(", "MachineBasicBlock", "&", "MBB", ",", "unsigned", "&", "Flags", ")", "const", "{", "return", "TargetInstrInfo", "::", "isMBBSafeToOutlineFrom", "(", "MBB", ",", "Flags", ")", ";", "}", ""], "natrual_language": ["Optional", "target", "hook", "that", "returns", "true", "if", "MBB", "is", "safe", "to", "outline", "from", ",", "and", "returns", "any", "target-specific", "information", "in", "Flags", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVInstrInfo13", "Func": "isMBBSafeToOutlineFrom", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 364, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_cannot_force_const_mem", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ")", "{", "enum", "riscv_symbol_type", "type", ";", "rtx", "base", ",", "offset", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "HIGH", ")", "return", "true", ";", "split_const", "(", "x", ",", "&", "base", ",", "&", "offset", ")", ";", "if", "(", "riscv_symbolic_constant_p", "(", "base", ",", "&", "type", ")", ")", "{", "if", "(", "SMALL_OPERAND", "(", "INTVAL", "(", "offset", ")", ")", "&&", "riscv_symbol_insns", "(", "type", ")", ">", "0", ")", "return", "true", ";", "if", "(", "flag_pic", ")", "return", "true", ";", "}", "if", "(", "tls_referenced_p", "(", "x", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CANNOT_FORCE_CONST_MEM", "."], "TS_V_token": ["riscv", "0"], "File": "riscv", "Func": "riscv_cannot_force_const_mem", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 365, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVFrameLowering", "::", "enableShrinkWrapping", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "hasOptNone", "(", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "will", "correctly", "handle", "shrink", "wrapping", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVFrameLowering13", "Func": "enableShrinkWrapping", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 366, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isReg", "(", "RegisterKind", "RegKind", ")", "const", "{", "return", "Kind", "==", "KindReg", "&&", "Reg", ".", "Kind", "==", "RegKind", ";", "}", ""], "natrual_language": ["isReg", "-", "Is", "this", "a", "register", "operand", "?"], "TS_V_token": ["RISCV"], "File": "RISCVAsmParser (2)1", "Func": "isReg", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 367, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "RISCVTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "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", ",", "Subtarget", ")", ";", "case", "RISCV", "::", "BuildPairF64Pseudo", ":", "return", "emitBuildPairF64Pseudo", "(", "MI", ",", "BB", ")", ";", "case", "RISCV", "::", "SplitF64Pseudo", ":", "return", "emitSplitF64Pseudo", "(", "MI", ",", "BB", ")", ";", "case", "RISCV", "::", "PseudoQuietFLE_H", ":", "return", "emitQuietFCMP", "(", "MI", ",", "BB", ",", "RISCV", "::", "FLE_H", ",", "RISCV", "::", "FEQ_H", ",", "Subtarget", ")", ";", "case", "RISCV", "::", "PseudoQuietFLT_H", ":", "return", "emitQuietFCMP", "(", "MI", ",", "BB", ",", "RISCV", "::", "FLT_H", ",", "RISCV", "::", "FEQ_H", ",", "Subtarget", ")", ";", "case", "RISCV", "::", "PseudoQuietFLE_S", ":", "return", "emitQuietFCMP", "(", "MI", ",", "BB", ",", "RISCV", "::", "FLE_S", ",", "RISCV", "::", "FEQ_S", ",", "Subtarget", ")", ";", "case", "RISCV", "::", "PseudoQuietFLT_S", ":", "return", "emitQuietFCMP", "(", "MI", ",", "BB", ",", "RISCV", "::", "FLT_S", ",", "RISCV", "::", "FEQ_S", ",", "Subtarget", ")", ";", "case", "RISCV", "::", "PseudoQuietFLE_D", ":", "return", "emitQuietFCMP", "(", "MI", ",", "BB", ",", "RISCV", "::", "FLE_D", ",", "RISCV", "::", "FEQ_D", ",", "Subtarget", ")", ";", "case", "RISCV", "::", "PseudoQuietFLT_D", ":", "return", "emitQuietFCMP", "(", "MI", ",", "BB", ",", "RISCV", "::", "FLT_D", ",", "RISCV", "::", "FEQ_D", ",", "Subtarget", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["RISCV", "RISCV", "\"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", "RISCV::PseudoQuietFLE_H", "RISCV::FLE_H", "RISCV::FEQ_H", "RISCV::PseudoQuietFLT_H", "RISCV::FLT_H", "RISCV::FEQ_H", "RISCV::PseudoQuietFLE_S", "RISCV::FLE_S", "RISCV::FEQ_S", "RISCV::PseudoQuietFLT_S", "RISCV::FLT_S", "RISCV::FEQ_S", "RISCV::PseudoQuietFLE_D", "RISCV::FLE_D", "RISCV::FEQ_D", "RISCV::PseudoQuietFLT_D", "RISCV::FLT_D", "RISCV::FEQ_D"], "File": "RISCVISelLowering20", "Func": "EmitInstrWithCustomInserter", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 368, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "RISCVTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "TargetPassConfig", "(", "*", "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": ["RISCV", "RISCV"], "File": "RISCVTargetMachine11", "Func": "createPassConfig", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 369, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "unique_ptr", "<", "MCObjectWriter", ">", "RISCVAsmBackend", "::", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "{", "return", "createRISCVELFObjectWriter", "(", "OS", ",", "OSABI", ",", "Is64Bit", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV"], "File": "RISCVAsmBackend25", "Func": "createObjectWriter", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 370, "Length": 27, "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": 371, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_valid_lo_sum_p", "(", "enum", "riscv_symbol_type", "sym_type", ",", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "int", "align", ",", "size", ";", "if", "(", "riscv_symbol_insns", "(", "sym_type", ")", "==", "0", ")", "return", "false", ";", "if", "(", "!", "riscv_split_symbol_type", "(", "sym_type", ")", ")", "return", "false", ";", "if", "(", "mode", "==", "BLKmode", ")", "{", "rtx", "offset", ";", "split_const", "(", "x", ",", "&", "x", ",", "&", "offset", ")", ";", "if", "(", "!", "SYMBOL_REF_P", "(", "x", ")", ")", "return", "false", ";", "align", "=", "(", "SYMBOL_REF_DECL", "(", "x", ")", "?", "DECL_ALIGN", "(", "SYMBOL_REF_DECL", "(", "x", ")", ")", ":", "1", ")", ";", "size", "=", "(", "SYMBOL_REF_DECL", "(", "x", ")", "&&", "DECL_SIZE", "(", "SYMBOL_REF_DECL", "(", "x", ")", ")", "?", "tree_to_uhwi", "(", "DECL_SIZE", "(", "SYMBOL_REF_DECL", "(", "x", ")", ")", ")", ":", "2", "*", "BITS_PER_WORD", ")", ";", "}", "else", "{", "align", "=", "GET_MODE_ALIGNMENT", "(", "mode", ")", ";", "size", "=", "GET_MODE_BITSIZE", "(", "mode", ")", ".", "to_constant", "(", ")", ";", "}", "if", "(", "size", ">", "BITS_PER_WORD", "&&", "(", "!", "TARGET_STRICT_ALIGN", "||", "size", ">", "align", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "LO_SUM", "can", "address", "a", "value", "of", "mode", "MODE", "when", "the", "LO_SUM", "symbol", "has", "type", "SYM_TYPE", "."], "TS_V_token": ["riscv", "0", "1", "2"], "File": "riscv1", "Func": "riscv_valid_lo_sum_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 372, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_restore_reg", "(", "rtx", "reg", ",", "rtx", "mem", ")", "{", "rtx", "insn", "=", "riscv_emit_move", "(", "reg", ",", "mem", ")", ";", "rtx", "dwarf", "=", "NULL_RTX", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "dwarf", ")", ";", "REG_NOTES", "(", "insn", ")", "=", "dwarf", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", ""], "natrual_language": ["Restore", "register", "REG", "from", "MEM", "."], "TS_V_token": ["riscv", "1"], "File": "riscv2", "Func": "riscv_restore_reg", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 373, "Length": 52, "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", "::", "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", "::", "FCVT_W_RV64", ":", "case", "RISCVISD", "::", "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", ":", "if", "(", "Op", ".", "getOperand", "(", "0", ")", ".", "getScalarValueSizeInBits", "(", ")", ">", "Subtarget", ".", "getXLen", "(", ")", ")", "return", "1", ";", "return", "Subtarget", ".", "getXLen", "(", ")", "-", "Op", ".", "getOperand", "(", "0", ")", ".", "getScalarValueSizeInBits", "(", ")", "+", "1", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["Determine", "the", "number", "of", "bits", "in", "the", "operation", "that", "are", "sign", "bits", "."], "TS_V_token": ["RISCV", "RISCV", "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::FCVT_W_RV64", "RISCVISD::FCVT_WU_RV64", "33", "RISCVISD::SHFL", "RISCVISD::UNSHFL", "MVT::i64", "1", "1", "0x10", "0", "0", "1", "32", "33", "RISCVISD::VMV_X_S", "0", "1", "0", "1", "1"], "File": "RISCVISelLowering35", "Func": "ComputeNumSignBitsForTargetNode", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 374, "Length": 263, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "riscv_pass_mode_in_fpr_p", "(", "machine_mode", "mode", ")", "{", "if", "(", "GET_MODE_UNIT_SIZE", "(", "mode", ")", "<=", "UNITS_PER_FP_ARG", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", ")", "return", "1", ";", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_FLOAT", ")", "return", "2", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["If", "MODE", "represents", "an", "argument", "that", "can", "be", "passed", "or", "returned", "in", "floating-point", "registers", ",", "return", "the", "number", "of", "registers", ",", "else", "0", "."], "TS_V_token": ["riscv", "1", "2", "0"], "File": "riscv", "Func": "riscv_pass_mode_in_fpr_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 375, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "isMulAddWithConstProfitable", "(", "SDValue", "AddNode", ",", "SDValue", "ConstNode", ")", "const", "{", "EVT", "VT", "=", "AddNode", ".", "getValueType", "(", ")", ";", "if", "(", "VT", ".", "isVector", "(", ")", ")", "return", "true", ";", "if", "(", "VT", ".", "getScalarSizeInBits", "(", ")", ">", "Subtarget", ".", "getXLen", "(", ")", ")", "return", "true", ";", "ConstantSDNode", "*", "C1Node", "=", "cast", "<", "ConstantSDNode", ">", "(", "AddNode", ".", "getOperand", "(", "1", ")", ")", ";", "ConstantSDNode", "*", "C2Node", "=", "cast", "<", "ConstantSDNode", ">", "(", "ConstNode", ")", ";", "const", "APInt", "&", "C1", "=", "C1Node", "->", "getAPIntValue", "(", ")", ";", "const", "APInt", "&", "C2", "=", "C2Node", "->", "getAPIntValue", "(", ")", ";", "if", "(", "C1", ".", "isSignedIntN", "(", "12", ")", "&&", "!", "(", "C1", "*", "C2", ")", ".", "isSignedIntN", "(", "12", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "may", "be", "profitable", "to", "transform", "(", "mul", "(", "add", "x", ",", "c1", ")", ",", "c2", ")", "-", ">", "(", "add", "(", "mul", "x", ",", "c2", ")", ",", "c1", "*", "c2", ")", "."], "TS_V_token": ["RISCV", "RISCV", "1", "12", "12"], "File": "RISCVISelLowering3", "Func": "isMulAddWithConstProfitable", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 376, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "mayBeEmittedAsTailCall", "(", "const", "CallInst", "*", "CI", ")", "const", "{", "return", "CI", "->", "isTailCall", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "may", "be", "able", "emit", "the", "call", "instruction", "as", "a", "tail", "call", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVISelLowering1", "Func": "mayBeEmittedAsTailCall", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 377, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HARD_REG_SET", "riscv_zero_call_used_regs", "(", "HARD_REG_SET", "need_zeroed_hardregs", ")", "{", "HARD_REG_SET", "zeroed_hardregs", ";", "CLEAR_HARD_REG_SET", "(", "zeroed_hardregs", ")", ";", "if", "(", "TARGET_VECTOR", ")", "zeroed_hardregs", "|=", "vector_zero_call_used_regs", "(", "need_zeroed_hardregs", ")", ";", "return", "zeroed_hardregs", "|", "default_zero_call_used_regs", "(", "need_zeroed_hardregs", "&", "~", "zeroed_hardregs", ")", ";", "}", ""], "natrual_language": ["Generate", "a", "sequence", "of", "instructions", "that", "zero", "registers", "specified", "by", "NEED_ZEROED_HARDREGS", ".", "Return", "the", "ZEROED_HARDREGS", "that", "are", "actually", "zeroed", "."], "TS_V_token": ["riscv"], "File": "riscv1", "Func": "riscv_zero_call_used_regs", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 378, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVTargetLowering", "::", "LowerAsmOperandForConstraint", "(", "SDValue", "Op", ",", "std", "::", "string", "&", "Constraint", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "Ops", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "Constraint", ".", "length", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'I'", ":", "if", "(", "auto", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "uint64_t", "CVal", "=", "C", "->", "getSExtValue", "(", ")", ";", "if", "(", "isInt", "<", "12", ">", "(", "CVal", ")", ")", "Ops", ".", "push_back", "(", "DAG", ".", "getTargetConstant", "(", "CVal", ",", "SDLoc", "(", "Op", ")", ",", "Subtarget", ".", "getXLenVT", "(", ")", ")", ")", ";", "}", "return", ";", "case", "'J'", ":", "if", "(", "auto", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "if", "(", "C", "->", "getZExtValue", "(", ")", "==", "0", ")", "Ops", ".", "push_back", "(", "DAG", ".", "getTargetConstant", "(", "0", ",", "SDLoc", "(", "Op", ")", ",", "Subtarget", ".", "getXLenVT", "(", ")", ")", ")", ";", "return", ";", "case", "'K'", ":", "if", "(", "auto", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "uint64_t", "CVal", "=", "C", "->", "getZExtValue", "(", ")", ";", "if", "(", "isUInt", "<", "5", ">", "(", "CVal", ")", ")", "Ops", ".", "push_back", "(", "DAG", ".", "getTargetConstant", "(", "CVal", ",", "SDLoc", "(", "Op", ")", ",", "Subtarget", ".", "getXLenVT", "(", ")", ")", ")", ";", "}", "return", ";", "case", "'S'", ":", "if", "(", "const", "auto", "*", "GA", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", ")", "{", "Ops", ".", "push_back", "(", "DAG", ".", "getTargetGlobalAddress", "(", "GA", "->", "getGlobal", "(", ")", ",", "SDLoc", "(", "Op", ")", ",", "GA", "->", "getValueType", "(", "0", ")", ")", ")", ";", "}", "else", "if", "(", "const", "auto", "*", "BA", "=", "dyn_cast", "<", "BlockAddressSDNode", ">", "(", "Op", ")", ")", "{", "Ops", ".", "push_back", "(", "DAG", ".", "getTargetBlockAddress", "(", "BA", "->", "getBlockAddress", "(", ")", ",", "BA", "->", "getValueType", "(", "0", ")", ")", ")", ";", "}", "return", ";", "default", ":", "break", ";", "}", "}", "TargetLowering", "::", "LowerAsmOperandForConstraint", "(", "Op", ",", "Constraint", ",", "Ops", ",", "DAG", ")", ";", "}", ""], "natrual_language": ["Lower", "the", "specified", "operand", "into", "the", "Ops", "vector", "."], "TS_V_token": ["RISCV", "RISCV", "1", "0", "12", "0", "0", "5", "0", "0"], "File": "RISCVISelLowering1", "Func": "LowerAsmOperandForConstraint", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 379, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVTTIImpl", "::", "getPeelingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "PeelingPreferences", "&", "PP", ")", "{", "BaseT", "::", "getPeelingPreferences", "(", "L", ",", "SE", ",", "PP", ")", ";", "}", ""], "natrual_language": ["Get", "target-customized", "preferences", "for", "the", "generic", "loop", "peeling", "transformation", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVTargetTransformInfo10", "Func": "getPeelingPreferences", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 380, "Length": 32, "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", "{", "MCContext", "&", "Ctx", "=", "Asm", ".", "getContext", "(", ")", ";", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "+", "7", ")", "/", "8", ";", "if", "(", "!", "Value", ")", "return", ";", "MCFixupKindInfo", "Info", "=", "getFixupKindInfo", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "Value", "<<=", "Info", ".", "TargetOffset", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "assert", "(", "Offset", "+", "NumBytes", "<=", "Data", ".", "size", "(", ")", "&&", "\"Invalid fixup offset!\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "4", ";", "++", "i", ")", "{", "Data", "[", "Offset", "+", "i", "]", "|=", "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": ["RISCV", "RISCV", "7", "8", "\"Invalid fixup offset!\"", "0", "4", "8", "0xff"], "File": "RISCVAsmBackend10", "Func": "applyFixup", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 381, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "loop_basic_block_p", "(", "const", "basic_block", "cfg_bb", ")", "{", "if", "(", "JUMP_P", "(", "BB_END", "(", "cfg_bb", ")", ")", "&&", "any_condjump_p", "(", "BB_END", "(", "cfg_bb", ")", ")", ")", "{", "edge", "e", ";", "edge_iterator", "ei", ";", "FOR_EACH_EDGE", "(", "e", ",", "ei", ",", "cfg_bb", "->", "succs", ")", "if", "(", "e", "->", "dest", "->", "index", "==", "cfg_bb", "->", "index", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "block", "is", "a", "loop", "itself", ":", "local_dem", "__________", "____|____", "|", "|", "|", "|", "|________|", "|", "|_________|", "reaching_out"], "TS_V_token": ["riscv"], "File": "riscv-vsetvl", "Func": "loop_basic_block_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 382, "Length": 64, "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", "RISCVSubtarget", "&", "ST", "=", "MF", "->", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "if", "(", "!", "isInt", "<", "32", ">", "(", "BrOffset", ")", ")", "report_fatal_error", "(", "\"Branch offsets outside of the signed 32-bit range not supported\"", ")", ";", "const", "TargetRegisterClass", "*", "RC", ";", "unsigned", "PseudoOpcode", ";", "if", "(", "RISCVABI", "::", "isCheriPureCapABI", "(", "ST", ".", "getTargetABI", "(", ")", ")", ")", "{", "RC", "=", "&", "RISCV", "::", "GPCRRegClass", ";", "PseudoOpcode", "=", "RISCV", "::", "PseudoCJump", ";", "}", "else", "{", "RC", "=", "&", "RISCV", "::", "GPRRegClass", ";", "PseudoOpcode", "=", "RISCV", "::", "PseudoJump", ";", "}", "Register", "ScratchReg", "=", "MRI", ".", "createVirtualRegister", "(", "RC", ")", ";", "auto", "II", "=", "MBB", ".", "end", "(", ")", ";", "MachineInstr", "&", "MI", "=", "*", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "get", "(", "PseudoOpcode", ")", ")", ".", "addReg", "(", "ScratchReg", ",", "RegState", "::", "Define", "|", "RegState", "::", "Dead", ")", ".", "addMBB", "(", "&", "DestBB", ",", "RISCVII", "::", "MO_CALL", ")", ";", "RS", "->", "enterBasicBlockEnd", "(", "MBB", ")", ";", "unsigned", "Scav", "=", "RS", "->", "scavengeRegisterBackwards", "(", "*", "RC", ",", "MI", ".", "getIterator", "(", ")", ",", "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", "RISCV", "32", "\"Branch offsets outside of the signed 32-bit range not supported\"", "RISCVABI::isCheriPureCapABI", "RISCV::GPCRRegClass", "RISCV::PseudoCJump", "RISCV::GPRRegClass", "RISCV::PseudoJump", "RISCVII::MO_CALL", "0", "8"], "File": "RISCVInstrInfo26", "Func": "insertIndirectBranch", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 383, "Length": 273, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "RISCVTargetLowering", "::", "shouldExpandAtomicRMWInIR", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "if", "(", "AI", "->", "isFloatingPointOperation", "(", ")", ")", "return", "AtomicExpansionKind", "::", "CmpXChg", ";", "unsigned", "Size", "=", "AI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "Size", "==", "8", "||", "Size", "==", "16", ")", "return", "AtomicExpansionKind", "::", "MaskedIntrinsic", ";", "return", "AtomicExpansionKind", "::", "None", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "IR-level", "AtomicExpand", "pass", "should", "expand", "the", "given", "AtomicRMW", ",", "if", "at", "all", "."], "TS_V_token": ["RISCV", "RISCV", "8", "16"], "File": "RISCVISelLowering", "Func": "shouldExpandAtomicRMWInIR", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 384, "Length": 60, "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\"", ";", "}", "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\""], "File": "RISCVISelLowering", "Func": "getTargetNodeName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 385, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "RISCVDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "OS", ",", "raw_ostream", "&", "CS", ")", "const", "{", "uint32_t", "Insn", ";", "DecodeStatus", "Result", ";", "if", "(", "(", "Bytes", "[", "0", "]", "&", "0x3", ")", "==", "0x3", ")", "{", "Insn", "=", "support", "::", "endian", "::", "read32le", "(", "Bytes", ".", "data", "(", ")", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Trying RISCV32 table :\\n\"", ")", ";", "Result", "=", "decodeInstruction", "(", "DecoderTable32", ",", "MI", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "Size", "=", "4", ";", "}", "else", "{", "Insn", "=", "support", "::", "endian", "::", "read16le", "(", "Bytes", ".", "data", "(", ")", ")", ";", "if", "(", "!", "STI", ".", "getFeatureBits", "(", ")", "[", "RISCV", "::", "Feature64Bit", "]", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Trying RISCV32Only_16 table (16-bit Instruction):\\n\"", ")", ";", "Result", "=", "decodeInstruction", "(", "DecoderTableRISCV32Only_16", ",", "MI", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "Size", "=", "2", ";", "return", "Result", ";", "}", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Trying RISCV_C table (16-bit Instruction):\\n\"", ")", ";", "Result", "=", "decodeInstruction", "(", "DecoderTable16", ",", "MI", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "Size", "=", "2", ";", "}", "return", "Result", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["RISCV", "RISCV", "0", "0x3", "0x3", "support::endian", "\"Trying RISCV32 table :\\n\"", "4", "support::endian", "RISCV::Feature64Bit", "\"Trying RISCV32Only_16 table (16-bit Instruction):\\n\"", "RISCV", "2", "\"Trying RISCV_C table (16-bit Instruction):\\n\"", "2"], "File": "RISCVDisassembler33", "Func": "getInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 386, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "isEligibleForTailCallOptimization", "(", "CCState", "&", "CCInfo", ",", "CallLoweringInfo", "&", "CLI", ",", "MachineFunction", "&", "MF", ",", "const", "SmallVector", "<", "CCValAssign", ",", "16", ">", "&", "ArgLocs", ")", "const", "{", "auto", "&", "Callee", "=", "CLI", ".", "Callee", ";", "auto", "CalleeCC", "=", "CLI", ".", "CallConv", ";", "auto", "&", "Outs", "=", "CLI", ".", "Outs", ";", "auto", "&", "Caller", "=", "MF", ".", "getFunction", "(", ")", ";", "auto", "CallerCC", "=", "Caller", ".", "getCallingConv", "(", ")", ";", "if", "(", "Caller", ".", "hasFnAttribute", "(", "\"interrupt\"", ")", ")", "return", "false", ";", "if", "(", "CCInfo", ".", "getNextStackOffset", "(", ")", "!=", "0", ")", "return", "false", ";", "for", "(", "auto", "&", "VA", ":", "ArgLocs", ")", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "Indirect", ")", "return", "false", ";", "auto", "IsCallerStructRet", "=", "Caller", ".", "hasStructRetAttr", "(", ")", ";", "auto", "IsCalleeStructRet", "=", "Outs", ".", "empty", "(", ")", "?", "false", ":", "Outs", "[", "0", "]", ".", "Flags", ".", "isSRet", "(", ")", ";", "if", "(", "IsCallerStructRet", "||", "IsCalleeStructRet", ")", "return", "false", ";", "if", "(", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", ")", "{", "const", "GlobalValue", "*", "GV", "=", "G", "->", "getGlobal", "(", ")", ";", "if", "(", "GV", "->", "hasExternalWeakLinkage", "(", ")", ")", "return", "false", ";", "}", "const", "RISCVRegisterInfo", "*", "TRI", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "const", "uint32_t", "*", "CallerPreserved", "=", "TRI", "->", "getCallPreservedMask", "(", "MF", ",", "CallerCC", ")", ";", "if", "(", "CalleeCC", "!=", "CallerCC", ")", "{", "const", "uint32_t", "*", "CalleePreserved", "=", "TRI", "->", "getCallPreservedMask", "(", "MF", ",", "CalleeCC", ")", ";", "if", "(", "!", "TRI", "->", "regmaskSubsetEqual", "(", "CallerPreserved", ",", "CalleePreserved", ")", ")", "return", "false", ";", "}", "for", "(", "auto", "&", "Arg", ":", "Outs", ")", "if", "(", "Arg", ".", "Flags", ".", "isByVal", "(", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "call", "can", "be", "lowered", "as", "a", "tail", "call", "."], "TS_V_token": ["RISCV", "RISCV", "16", "\"interrupt\"", "0", "0", "RISCV"], "File": "RISCVISelLowering1", "Func": "isEligibleForTailCallOptimization", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 387, "Length": 284, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVMCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "uint64_t", "Bits", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "unsigned", "Size", "=", "MCII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ".", "getSize", "(", ")", ";", "unsigned", "ShiftValue", "=", "0", ";", "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": ["RISCV", "RISCV", "0", "0", "8"], "File": "RISCVMCCodeEmitter34", "Func": "encodeInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 388, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_function_ok_for_sibcall", "(", "tree", "decl", "ATTRIBUTE_UNUSED", ",", "tree", "exp", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_SAVE_RESTORE", ")", "return", "false", ";", "if", "(", "cfun", "->", "machine", "->", "naked_p", ")", "return", "false", ";", "if", "(", "cfun", "->", "machine", "->", "interrupt_handler_p", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_OK_FOR_SIBCALL", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_function_ok_for_sibcall", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 389, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "getSize", "(", "unsigned", "Kind", ")", "{", "switch", "(", "Kind", ")", "{", "default", ":", "return", "4", ";", "case", "RISCV", "::", "fixup_riscv_rvc_jump", ":", "case", "RISCV", "::", "fixup_riscv_rvc_branch", ":", "return", "2", ";", "}", "}", ""], "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": ["RISCV", "4", "RISCV::fixup_riscv_rvc_jump", "RISCV::fixup_riscv_rvc_branch", "2"], "File": "RISCVAsmBackend28", "Func": "getSize", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 390, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "function_builder", "::", "add_unique_function", "(", "const", "function_instance", "&", "instance", ",", "const", "function_shape", "*", "shape", ",", "tree", "return_type", ",", "vec", "<", "tree", ">", "&", "argument_types", ")", "{", "if", "(", "!", "check_required_extensions", "(", "instance", ")", ")", "return", ";", "char", "*", "name", "=", "shape", "->", "get_name", "(", "*", "this", ",", "instance", ",", "false", ")", ";", "tree", "fntype", "=", "build_function_type_array", "(", "return_type", ",", "argument_types", ".", "length", "(", ")", ",", "argument_types", ".", "address", "(", ")", ")", ";", "tree", "attrs", "=", "get_attributes", "(", "instance", ")", ";", "registered_function", "&", "rfn", "=", "add_function", "(", "instance", ",", "name", ",", "fntype", ",", "attrs", ",", "false", ")", ";", "hashval_t", "hash", "=", "instance", ".", "hash", "(", ")", ";", "registered_function", "*", "*", "rfn_slot", "=", "function_table", "->", "find_slot_with_hash", "(", "instance", ",", "hash", ",", "INSERT", ")", ";", "gcc_assert", "(", "!", "*", "rfn_slot", ")", ";", "*", "rfn_slot", "=", "&", "rfn", ";", "char", "*", "overload_name", "=", "shape", "->", "get_name", "(", "*", "this", ",", "instance", ",", "true", ")", ";", "if", "(", "overload_name", ")", "{", "tree", "attrs", "=", "get_attributes", "(", "instance", ")", ";", "bool", "placeholder_p", "=", "!", "m_direct_overloads", ";", "add_function", "(", "instance", ",", "overload_name", ",", "fntype", ",", "attrs", ",", "placeholder_p", ")", ";", "}", "obstack_free", "(", "&", "m_string_obstack", ",", "name", ")", ";", "}", ""], "natrual_language": ["Add", "a", "built-in", "function", "for", "INSTANCE", ",", "with", "the", "argument", "types", "given", "by", "ARGUMENT_TYPES", "and", "the", "return", "type", "given", "by", "RETURN_TYPE", ".", "NAME", "is", "the", "``", "full", "''", "name", "for", "C", "function", ".", "OVERLOAD_NAME", "is", "the", "``", "short", "''", "name", "for", "C++", "overloaded", "function", ".", "OVERLOAD_NAME", "can", "be", "nullptr", "because", "some", "instance", "does", "n't", "have", "C++", "overloaded", "function", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "add_unique_function", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 391, "Length": 193, "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", "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", ")", "{", "FrameReg", "=", "RISCV", "::", "X2", ";", "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", "0", "1", "0", "1", "RISCV::X2"], "File": "RISCVFrameLowering30", "Func": "getFrameIndexReference", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 392, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "riscv_first_stack_step", "(", "struct", "riscv_frame_info", "*", "frame", ")", "{", "if", "(", "SMALL_OPERAND", "(", "frame", "->", "total_size", ")", ")", "return", "frame", "->", "total_size", ";", "HOST_WIDE_INT", "min_first_step", "=", "RISCV_STACK_ALIGN", "(", "frame", "->", "total_size", "-", "frame", "->", "fp_sp_offset", ")", ";", "HOST_WIDE_INT", "max_first_step", "=", "IMM_REACH", "/", "2", "-", "PREFERRED_STACK_BOUNDARY", "/", "8", ";", "HOST_WIDE_INT", "min_second_step", "=", "frame", "->", "total_size", "-", "max_first_step", ";", "gcc_assert", "(", "min_first_step", "<=", "max_first_step", ")", ";", "if", "(", "!", "SMALL_OPERAND", "(", "min_second_step", ")", "&&", "frame", "->", "total_size", "%", "IMM_REACH", "<", "IMM_REACH", "/", "2", "&&", "frame", "->", "total_size", "%", "IMM_REACH", ">=", "min_first_step", ")", "return", "frame", "->", "total_size", "%", "IMM_REACH", ";", "if", "(", "TARGET_RVC", ")", "{", "if", "(", "IN_RANGE", "(", "min_second_step", ",", "0", ",", "(", "TARGET_64BIT", "?", "SDSP_REACH", ":", "SWSP_REACH", ")", ")", ")", "return", "MAX", "(", "min_second_step", ",", "min_first_step", ")", ";", "else", "if", "(", "!", "SMALL_OPERAND", "(", "min_second_step", ")", ")", "return", "min_first_step", ";", "}", "return", "max_first_step", ";", "}", ""], "natrual_language": ["For", "stack", "frames", "that", "ca", "n't", "be", "allocated", "with", "a", "single", "ADDI", "instruction", ",", "compute", "the", "best", "value", "to", "initially", "allocate", ".", "It", "must", "at", "a", "minimum", "allocate", "enough", "space", "to", "spill", "the", "callee-saved", "registers", "."], "TS_V_token": ["riscv", "2", "8", "2", "0"], "File": "riscv", "Func": "riscv_first_stack_step", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 393, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVMCExpr", "::", "evaluateAsConstant", "(", "int64_t", "&", "Res", ")", "const", "{", "MCValue", "Value", ";", "if", "(", "Kind", "==", "VK_RISCV_PCREL_HI", "||", "Kind", "==", "VK_RISCV_PCREL_LO", ")", "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", "RISCV"], "File": "RISCVMCExpr18", "Func": "evaluateAsConstant", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 394, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "RISCVTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "report_fatal_error", "(", "\"unimplemented operand\"", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "lowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "lowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "lowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "lowerSELECT", "(", "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": ["RISCV", "RISCV", "\"unimplemented operand\"", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::ConstantPool", "ISD::SELECT", "ISD::VASTART", "ISD::FRAMEADDR", "ISD::RETURNADDR"], "File": "RISCVISelLowering", "Func": "LowerOperation", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 395, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "riscv_split_const_insns", "(", "rtx", "x", ")", "{", "unsigned", "int", "low", ",", "high", ";", "low", "=", "riscv_const_insns", "(", "riscv_subword", "(", "x", ",", "false", ")", ")", ";", "high", "=", "riscv_const_insns", "(", "riscv_subword", "(", "x", ",", "true", ")", ")", ";", "gcc_assert", "(", "low", ">", "0", "&&", "high", ">", "0", ")", ";", "return", "low", "+", "high", ";", "}", ""], "natrual_language": ["X", "is", "a", "doubleword", "constant", "that", "can", "be", "handled", "by", "splitting", "it", "into", "two", "words", "and", "loading", "each", "word", "separately", ".", "Return", "the", "number", "of", "instructions", "required", "to", "do", "this", "."], "TS_V_token": ["riscv", "0", "0"], "File": "riscv", "Func": "riscv_split_const_insns", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 396, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_function_ok_for_sibcall", "(", "tree", "decl", "ATTRIBUTE_UNUSED", ",", "tree", "exp", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_SAVE_RESTORE", ")", "return", "riscv_leaf_function_p", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_OK_FOR_SIBCALL", "."], "TS_V_token": ["riscv"], "File": "riscv2", "Func": "riscv_function_ok_for_sibcall", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 397, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RISCVSubtarget", "*", "RISCVTargetMachine", "::", "getSubtargetImpl", "(", "const", "Function", "&", "F", ")", "const", "{", "Attribute", "CPUAttr", "=", "F", ".", "getFnAttribute", "(", "\"target-cpu\"", ")", ";", "Attribute", "TuneAttr", "=", "F", ".", "getFnAttribute", "(", "\"tune-cpu\"", ")", ";", "Attribute", "FSAttr", "=", "F", ".", "getFnAttribute", "(", "\"target-features\"", ")", ";", "std", "::", "string", "CPU", "=", "CPUAttr", ".", "isValid", "(", ")", "?", "CPUAttr", ".", "getValueAsString", "(", ")", ".", "str", "(", ")", ":", "TargetCPU", ";", "std", "::", "string", "TuneCPU", "=", "TuneAttr", ".", "isValid", "(", ")", "?", "TuneAttr", ".", "getValueAsString", "(", ")", ".", "str", "(", ")", ":", "CPU", ";", "std", "::", "string", "FS", "=", "FSAttr", ".", "isValid", "(", ")", "?", "FSAttr", ".", "getValueAsString", "(", ")", ".", "str", "(", ")", ":", "TargetFS", ";", "std", "::", "string", "Key", "=", "CPU", "+", "TuneCPU", "+", "FS", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "Key", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "auto", "ABIName", "=", "Options", ".", "MCOptions", ".", "getABIName", "(", ")", ";", "if", "(", "const", "MDString", "*", "ModuleTargetABI", "=", "dyn_cast_or_null", "<", "MDString", ">", "(", "F", ".", "getParent", "(", ")", "->", "getModuleFlag", "(", "\"target-abi\"", ")", ")", ")", "{", "auto", "TargetABI", "=", "RISCVABI", "::", "getTargetABI", "(", "ABIName", ")", ";", "if", "(", "TargetABI", "!=", "RISCVABI", "::", "ABI_Unknown", "&&", "ModuleTargetABI", "->", "getString", "(", ")", "!=", "ABIName", ")", "{", "report_fatal_error", "(", "\"-target-abi option != target-abi module flag\"", ")", ";", "}", "ABIName", "=", "ModuleTargetABI", "->", "getString", "(", ")", ";", "}", "I", "=", "std", "::", "make_unique", "<", "RISCVSubtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "TuneCPU", ",", "FS", ",", "ABIName", ",", "*", "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": ["RISCV", "RISCV", "RISCV", "\"target-cpu\"", "\"tune-cpu\"", "\"target-features\"", "\"target-abi\"", "RISCVABI::getTargetABI", "RISCVABI::ABI_Unknown", "\"-target-abi option != target-abi module flag\"", "RISCV"], "File": "RISCVTargetMachine1", "Func": "getSubtargetImpl", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 398, "Length": 254, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "OS", ")", "{", "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", ",", "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(\"", "RISCV", "\")\""], "File": "RISCVAsmPrinter", "Func": "PrintAsmMemoryOperand", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 399, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "RISCV", "::", "SB", ":", "case", "RISCV", "::", "SH", ":", "case", "RISCV", "::", "SW", ":", "case", "RISCV", "::", "FSW", ":", "case", "RISCV", "::", "SD", ":", "case", "RISCV", "::", "FSD", ":", "case", "RISCV", "::", "VSE_V_um", ":", "break", ";", "}", "if", "(", "(", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "VSE_V_um", ")", "&&", "MI", ".", "getOperand", "(", "0", ")", ".", "isFI", "(", ")", ")", "{", "FrameIndex", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "}", "else", "if", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "isFI", "(", ")", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "==", "0", ")", "{", "FrameIndex", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "2", ")", ".", "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": ["RISCV", "RISCV", "0", "RISCV::SB", "RISCV::SH", "RISCV::SW", "RISCV::FSW", "RISCV::SD", "RISCV::FSD", "RISCV::VSE_V_um", "RISCV::VSE_V_um", "0", "0", "1", "0", "1", "1", "0", "0", "2", "0"], "File": "RISCVInstrInfo31", "Func": "isStoreToStackSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 400, "Length": 189, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "use_mask_predication_p", "(", ")", "const", "override", "{", "return", "false", ";", "}", ""], "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-bases", "Func": "use_mask_predication_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 401, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVInstrInfo", "::", "verifyInstruction", "(", "const", "MachineInstr", "&", "MI", ",", "StringRef", "&", "ErrInfo", ")", "const", "{", "const", "MCInstrInfo", "*", "MCII", "=", "STI", ".", "getInstrInfo", "(", ")", ";", "MCInstrDesc", "const", "&", "Desc", "=", "MCII", "->", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "for", "(", "auto", "&", "OI", ":", "enumerate", "(", "Desc", ".", "operands", "(", ")", ")", ")", "{", "unsigned", "OpType", "=", "OI", ".", "value", "(", ")", ".", "OperandType", ";", "if", "(", "OpType", ">=", "RISCVOp", "::", "OPERAND_FIRST_RISCV_IMM", "&&", "OpType", "<=", "RISCVOp", "::", "OPERAND_LAST_RISCV_IMM", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OI", ".", "index", "(", ")", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "int64_t", "Imm", "=", "MO", ".", "getImm", "(", ")", ";", "bool", "Ok", ";", "switch", "(", "OpType", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected operand type\"", ")", ";", "case", "RISCVOp", "::", "OPERAND_UIMM1", ":", "Ok", "=", "isUInt", "<", "1", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_UIMM4", ":", "Ok", "=", "isUInt", "<", "4", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_UIMM5", ":", "Ok", "=", "isUInt", "<", "5", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_UIMM12", ":", "Ok", "=", "isUInt", "<", "12", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_SIMM12", ":", "Ok", "=", "isInt", "<", "12", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_SIMM13_LSB0", ":", "Ok", "=", "isShiftedInt", "<", "12", ",", "1", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_UIMM20", ":", "Ok", "=", "isUInt", "<", "20", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_SIMM21_LSB0", ":", "Ok", "=", "isShiftedInt", "<", "20", ",", "1", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_UIMMLOG2XLEN", ":", "if", "(", "STI", ".", "getTargetTriple", "(", ")", ".", "isArch64Bit", "(", ")", ")", "Ok", "=", "isUInt", "<", "6", ">", "(", "Imm", ")", ";", "else", "Ok", "=", "isUInt", "<", "5", ">", "(", "Imm", ")", ";", "break", ";", "}", "if", "(", "!", "Ok", ")", "{", "ErrInfo", "=", "\"Invalid immediate\"", ";", "return", "false", ";", "}", "}", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Perform", "target-specific", "instruction", "verification", "."], "TS_V_token": ["RISCV", "RISCV", "RISCVOp::OPERAND_FIRST_RISCV_IMM", "RISCVOp::OPERAND_LAST_RISCV_IMM", "\"Unexpected operand type\"", "RISCVOp::OPERAND_UIMM1", "1", "RISCVOp::OPERAND_UIMM4", "4", "RISCVOp::OPERAND_UIMM5", "5", "RISCVOp::OPERAND_UIMM12", "12", "RISCVOp::OPERAND_SIMM12", "12", "RISCVOp::OPERAND_SIMM13_LSB0", "12", "1", "RISCVOp::OPERAND_UIMM20", "20", "RISCVOp::OPERAND_SIMM21_LSB0", "20", "1", "RISCVOp::OPERAND_UIMMLOG2XLEN", "6", "5", "\"Invalid immediate\""], "File": "RISCVInstrInfo2", "Func": "verifyInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 402, "Length": 336, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "RISCVMCInstLower", "Lower", "(", "MF", "->", "getContext", "(", ")", ",", "*", "this", ")", ";", "MCInst", "LoweredMI", ";", "Lower", ".", "lower", "(", "MI", ",", "LoweredMI", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "LoweredMI", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV"], "File": "RISCVAsmPrinter (2)", "Func": "EmitInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 403, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "riscv_can_use_return_insn", "(", "void", ")", "{", "return", "(", "reload_completed", "&&", "cfun", "->", "machine", "->", "frame", ".", "total_size", "==", "0", "&&", "!", "cfun", "->", "machine", "->", "interrupt_handler_p", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "this", "function", "is", "known", "to", "have", "a", "null", "epilogue", ".", "This", "allows", "the", "optimizer", "to", "omit", "jumps", "to", "jumps", "if", "no", "stack", "was", "created", "."], "TS_V_token": ["riscv", "0"], "File": "riscv", "Func": "riscv_can_use_return_insn", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 404, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "builtin_decl", "(", "unsigned", "int", "code", ",", "bool", ")", "{", "if", "(", "code", ">=", "vec_safe_length", "(", "registered_functions", ")", ")", "return", "error_mark_node", ";", "return", "(", "*", "registered_functions", ")", "[", "code", "]", "->", "decl", ";", "}", ""], "natrual_language": ["Return", "the", "function", "decl", "with", "RVV", "function", "subcode", "CODE", ",", "or", "error_mark_node", "if", "no", "such", "function", "exists", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "builtin_decl", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 405, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "RISCVMCExpr", "::", "getVariantKindName", "(", "VariantKind", "Kind", ")", "{", "switch", "(", "Kind", ")", "{", "default", ":", "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\"", ";", "}", "}", ""], "natrual_language": ["Convert", "the", "variant", "kind", "into", "an", "ELF-appropriate", "modifier", "(", "e.g", "."], "TS_V_token": ["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\""], "File": "RISCVMCExpr14", "Func": "getVariantKindName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 406, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "RISCVTargetLowering", "::", "getTargetNode", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ",", "unsigned", "Flag", ")", "const", "{", "EVT", "Ty", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";", "if", "(", "GlobalAddressSDNode", "*", "N", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetGlobalAddress", "(", "N", "->", "getGlobal", "(", ")", ",", "SDLoc", "(", "Op", ")", ",", "Ty", ",", "0", ",", "Flag", ")", ";", "if", "(", "ExternalSymbolSDNode", "*", "N", "=", "dyn_cast", "<", "ExternalSymbolSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetExternalSymbol", "(", "N", "->", "getSymbol", "(", ")", ",", "Ty", ",", "Flag", ")", ";", "if", "(", "BlockAddressSDNode", "*", "N", "=", "dyn_cast", "<", "BlockAddressSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetBlockAddress", "(", "N", "->", "getBlockAddress", "(", ")", ",", "Ty", ",", "0", ",", "Flag", ")", ";", "if", "(", "JumpTableSDNode", "*", "N", "=", "dyn_cast", "<", "JumpTableSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetJumpTable", "(", "N", "->", "getIndex", "(", ")", ",", "Ty", ",", "Flag", ")", ";", "if", "(", "ConstantPoolSDNode", "*", "N", "=", "dyn_cast", "<", "ConstantPoolSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetConstantPool", "(", "N", "->", "getConstVal", "(", ")", ",", "Ty", ",", "N", "->", "getAlignment", "(", ")", ",", "N", "->", "getOffset", "(", ")", ",", "Flag", ")", ";", "llvm_unreachable", "(", "\"Unexpected node type.\"", ")", ";", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Retrieve", "the", "target", "node", "this", "edge", "connects", "to", "."], "TS_V_token": ["RISCV", "RISCV", "0", "0", "\"Unexpected node type.\""], "File": "RISCVISelLowering (2)2", "Func": "getTargetNode", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 407, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "riscv_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": ["riscv", "\"%qE attribute only applies to functions\""], "File": "riscv", "Func": "riscv_handle_fndecl_attribute", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 408, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitValueImpl", "(", "const", "MCExpr", "*", "Value", ",", "unsigned", "Size", ",", "SMLoc", "Loc", ")", "override", "{", "const", "MCExpr", "*", "A", ",", "*", "B", ";", "if", "(", "!", "requiresFixups", "(", "getContext", "(", ")", ",", "Value", ",", "A", ",", "B", ")", ")", "return", "MCELFStreamer", "::", "emitValueImpl", "(", "Value", ",", "Size", ",", "Loc", ")", ";", "MCStreamer", "::", "emitValueImpl", "(", "Value", ",", "Size", ",", "Loc", ")", ";", "MCDataFragment", "*", "DF", "=", "getOrCreateDataFragment", "(", ")", ";", "flushPendingLabels", "(", "DF", ",", "DF", "->", "getContents", "(", ")", ".", "size", "(", ")", ")", ";", "MCDwarfLineEntry", "::", "make", "(", "this", ",", "getCurrentSectionOnly", "(", ")", ")", ";", "unsigned", "Add", ",", "Sub", ";", "std", "::", "tie", "(", "Add", ",", "Sub", ")", "=", "getRelocPairForSize", "(", "Size", ")", ";", "DF", "->", "getFixups", "(", ")", ".", "push_back", "(", "MCFixup", "::", "create", "(", "DF", "->", "getContents", "(", ")", ".", "size", "(", ")", ",", "A", ",", "static_cast", "<", "MCFixupKind", ">", "(", "Add", ")", ",", "Loc", ")", ")", ";", "DF", "->", "getFixups", "(", ")", ".", "push_back", "(", "MCFixup", "::", "create", "(", "DF", "->", "getContents", "(", ")", ".", "size", "(", ")", ",", "B", ",", "static_cast", "<", "MCFixupKind", ">", "(", "Sub", ")", ",", "Loc", ")", ")", ";", "DF", "->", "getContents", "(", ")", ".", "resize", "(", "DF", "->", "getContents", "(", ")", ".", "size", "(", ")", "+", "Size", ",", "0", ")", ";", "}", ""], "natrual_language": ["Overriding", "these", "functions", "allows", "us", "to", "dismiss", "all", "labels", "that", "are", "candidates", "for", "marking", "as", "microMIPS", "when", ".word/.long/.4byte", "etc", "directives", "are", "emitted", "."], "TS_V_token": ["RISCV", "0"], "File": "RISCVELFStreamer (2)", "Func": "emitValueImpl", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 409, "Length": 212, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "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", "::", "GPRV64I8RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "RISCV", "::", "LDVI8", ";", "else", "if", "(", "RISCV", "::", "GPRV64I16RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "RISCV", "::", "LDVI16", ";", "else", "if", "(", "RISCV", "::", "GPRV64I32RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "RISCV", "::", "LDVI32", ";", "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::GPRV64I8RegClass", "RISCV::LDVI8", "RISCV::GPRV64I16RegClass", "RISCV::LDVI16", "RISCV::GPRV64I32RegClass", "RISCV::LDVI32", "RISCV::FPR32RegClass", "RISCV::FLW", "RISCV::FPR64RegClass", "RISCV::FLD", "\"Can't load this register from stack slot\"", "0"], "File": "RISCVInstrInfo42", "Func": "loadRegFromStackSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 410, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "poly_uint64", "riscv_regmode_natural_size", "(", "machine_mode", "mode", ")", "{", "if", "(", "!", "riscv_vector_chunks", ".", "is_constant", "(", ")", "&&", "riscv_v_ext_vector_mode_p", "(", "mode", ")", ")", "return", "BYTES_PER_RISCV_VECTOR", ";", "return", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Implement", "REGMODE_NATURAL_SIZE", "."], "TS_V_token": ["riscv"], "File": "riscv1", "Func": "riscv_regmode_natural_size", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 411, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "gen_scalar_move_mask", "(", "machine_mode", "mode", ")", "{", "rtx_vector_builder", "builder", "(", "mode", ",", "1", ",", "2", ")", ";", "builder", ".", "quick_push", "(", "const1_rtx", ")", ";", "builder", ".", "quick_push", "(", "const0_rtx", ")", ";", "return", "builder", ".", "build", "(", ")", ";", "}", ""], "natrual_language": ["Get", "{", "...", ",0", ",", "0", ",", "0", ",", "...", ",", "0", ",", "0", ",", "0", ",", "1", "}", "mask", "."], "TS_V_token": ["riscv", "1", "2"], "File": "riscv-v", "Func": "gen_scalar_move_mask", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 412, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "Operands", ".", "push_back", "(", "RISCVOperand", "::", "createToken", "(", "Name", ",", "NameLoc", ",", "isRV64", "(", ")", ")", ")", ";", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "return", "false", ";", "bool", "ForceImmediate", "=", "(", "Name", "==", "\"call\"", "||", "Name", "==", "\"tail\"", ")", ";", "if", "(", "parseOperand", "(", "Operands", ",", "ForceImmediate", ")", ")", "return", "true", ";", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "getLexer", "(", ")", ".", "Lex", "(", ")", ";", "if", "(", "parseOperand", "(", "Operands", ",", "false", ")", ")", "return", "true", ";", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "getParser", "(", ")", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token\"", ")", ";", "}", "getParser", "(", ")", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "\"call\"", "\"tail\"", "\"unexpected token\""], "File": "RISCVAsmParser2", "Func": "ParseInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 413, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "RISCVTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "report_fatal_error", "(", "\"unimplemented operand\"", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "lowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "lowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "lowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "lowerSELECT", "(", "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": ["RISCV", "RISCV", "\"unimplemented operand\"", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::ConstantPool", "ISD::SELECT", "ISD::VASTART", "ISD::FRAMEADDR", "ISD::RETURNADDR"], "File": "RISCVISelLowering10", "Func": "LowerOperation", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 414, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "RISCVRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", ")", "const", "{", "auto", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"interrupt\"", ")", ")", "{", "if", "(", "Subtarget", ".", "hasStdExtD", "(", ")", ")", "return", "CSR_XLEN_F64_Interrupt_RegMask", ";", "if", "(", "Subtarget", ".", "hasStdExtF", "(", ")", ")", "return", "CSR_XLEN_F32_Interrupt_RegMask", ";", "if", "(", "Subtarget", ".", "hasStdExtV", "(", ")", ")", "return", "CSR_XLEN_F32_VEC_Interrupt_RegMask", ";", "return", "CSR_Interrupt_RegMask", ";", "}", "if", "(", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ".", "hasStdExtV", "(", ")", ")", "return", "CSR_ILP32F_LP64F_VEC_RegMask", ";", "if", "(", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ".", "hasStdExtF", "(", ")", ")", "return", "CSR_ILP32F_LP64F_RegMask", ";", "switch", "(", "Subtarget", ".", "getTargetABI", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unrecognized ABI\"", ")", ";", "case", "RISCVABI", "::", "ABI_ILP32", ":", "case", "RISCVABI", "::", "ABI_LP64", ":", "return", "CSR_ILP32_LP64_RegMask", ";", "case", "RISCVABI", "::", "ABI_ILP32F", ":", "case", "RISCVABI", "::", "ABI_LP64F", ":", "return", "CSR_ILP32F_LP64F_RegMask", ";", "case", "RISCVABI", "::", "ABI_ILP32D", ":", "case", "RISCVABI", "::", "ABI_LP64D", ":", "return", "CSR_ILP32D_LP64D_RegMask", ";", "}", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "\"interrupt\"", "RISCV", "RISCV", "\"Unrecognized ABI\"", "RISCVABI::ABI_ILP32", "RISCVABI::ABI_LP64", "RISCVABI::ABI_ILP32F", "RISCVABI::ABI_LP64F", "RISCVABI::ABI_ILP32D", "RISCVABI::ABI_LP64D"], "File": "RISCVRegisterInfo21", "Func": "getCallPreservedMask", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 415, "Length": 175, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "RISCVTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "StringRef", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'d'", ":", "case", "'r'", ":", "if", "(", "Subtarget", ".", "isRV64", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "RISCV", "::", "GR64BitRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "RISCV", "::", "GR32BitRegClass", ")", ";", "case", "'f'", ":", "if", "(", "Subtarget", ".", "hasD", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "RISCV", "::", "FP64BitRegClass", ")", ";", "else", "if", "(", "Subtarget", ".", "hasF", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "RISCV", "::", "FP32BitRegClass", ")", ";", "else", "if", "(", "Subtarget", ".", "isRV64", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "RISCV", "::", "GR64BitRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "RISCV", "::", "GR32BitRegClass", ")", ";", "}", "}", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "R", ";", "R", "=", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "TRI", ",", "Constraint", ",", "VT", ")", ";", "if", "(", "!", "R", ".", "second", ")", "{", "R", "=", "parseRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", "return", "R", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["RISCV", "RISCV", "1", "0", "0U", "RISCV::GR64BitRegClass", "0U", "RISCV::GR32BitRegClass", "0U", "RISCV::FP64BitRegClass", "0U", "RISCV::FP32BitRegClass", "0U", "RISCV::GR64BitRegClass", "0U", "RISCV::GR32BitRegClass"], "File": "RISCVISelLowering75", "Func": "getRegForInlineAsmConstraint", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 416, "Length": 220, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "RISCVTargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", "DL", ",", "LLVMContext", "&", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "getPointerTy", "(", "DL", ")", ";", "return", "VT", ".", "changeVectorElementTypeToInteger", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVISelLowering", "Func": "getSetCCResultType", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 417, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "DestSourcePair", ">", "RISCVInstrInfo", "::", "isCopyInstrImpl", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "MI", ".", "isMoveReg", "(", ")", ")", "return", "DestSourcePair", "{", "MI", ".", "getOperand", "(", "0", ")", ",", "MI", ".", "getOperand", "(", "1", ")", "}", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "RISCV", "::", "ADDI", ":", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "0", ")", "return", "DestSourcePair", "{", "MI", ".", "getOperand", "(", "0", ")", ",", "MI", ".", "getOperand", "(", "1", ")", "}", ";", "break", ";", "case", "RISCV", "::", "FSGNJ_D", ":", "case", "RISCV", "::", "FSGNJ_S", ":", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "isReg", "(", ")", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", "return", "DestSourcePair", "{", "MI", ".", "getOperand", "(", "0", ")", ",", "MI", ".", "getOperand", "(", "1", ")", "}", ";", "break", ";", "}", "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": ["RISCV", "RISCV", "0", "1", "RISCV::ADDI", "1", "2", "2", "0", "0", "1", "RISCV::FSGNJ_D", "RISCV::FSGNJ_S", "1", "2", "1", "2", "0", "1"], "File": "RISCVInstrInfo (2)", "Func": "isCopyInstrImpl", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 418, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "riscv_pass_fpr_pair", "(", "machine_mode", "mode", ",", "unsigned", "regno1", ",", "machine_mode", "mode1", ",", "HOST_WIDE_INT", "offset1", ",", "unsigned", "regno2", ",", "machine_mode", "mode2", ",", "HOST_WIDE_INT", "offset2", ")", "{", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec", "(", "2", ",", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "mode1", ",", "regno1", ")", ",", "GEN_INT", "(", "offset1", ")", ")", ",", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "mode2", ",", "regno2", ")", ",", "GEN_INT", "(", "offset2", ")", ")", ")", ")", ";", "}", ""], "natrual_language": ["Pass", "or", "return", "a", "composite", "value", "in", "the", "FPR", "pair", "REGNO", "and", "REGNO", "+", "1", ".", "MODE", "is", "the", "mode", "of", "the", "composite", ".", "MODE1", "and", "OFFSET1", "are", "the", "mode", "and", "byte", "offset", "for", "the", "first", "value", ",", "likewise", "MODE2", "and", "OFFSET2", "for", "the", "second", "value", "."], "TS_V_token": ["riscv", "2"], "File": "riscv", "Func": "riscv_pass_fpr_pair", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 419, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVPassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "addPass", "(", "createCheriBoundAllocasPass", "(", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVTargetMachine22", "Func": "addIRPasses", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 420, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "RISCVDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "CS", ")", "const", "{", "uint32_t", "Insn", ";", "DecodeStatus", "Result", ";", "if", "(", "(", "Bytes", "[", "0", "]", "&", "0x3", ")", "==", "0x3", ")", "{", "if", "(", "Bytes", ".", "size", "(", ")", "<", "4", ")", "{", "Size", "=", "0", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "Insn", "=", "support", "::", "endian", "::", "read32le", "(", "Bytes", ".", "data", "(", ")", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Trying RISCV32 table :\\n\"", ")", ";", "Result", "=", "decodeInstruction", "(", "DecoderTable32", ",", "MI", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "Size", "=", "4", ";", "}", "else", "{", "if", "(", "Bytes", ".", "size", "(", ")", "<", "2", ")", "{", "Size", "=", "0", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "Insn", "=", "support", "::", "endian", "::", "read16le", "(", "Bytes", ".", "data", "(", ")", ")", ";", "if", "(", "!", "STI", ".", "getFeatureBits", "(", ")", "[", "RISCV", "::", "Feature64Bit", "]", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Trying RISCV32Only_16 table (16-bit Instruction):\\n\"", ")", ";", "Result", "=", "decodeInstruction", "(", "DecoderTableRISCV32Only_16", ",", "MI", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "Size", "=", "2", ";", "return", "Result", ";", "}", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Trying RISCV_C table (16-bit Instruction):\\n\"", ")", ";", "Result", "=", "decodeInstruction", "(", "DecoderTable16", ",", "MI", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "Size", "=", "2", ";", "}", "return", "Result", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["RISCV", "RISCV", "0", "0x3", "0x3", "4", "0", "support::endian", "\"Trying RISCV32 table :\\n\"", "4", "2", "0", "support::endian", "RISCV::Feature64Bit", "\"Trying RISCV32Only_16 table (16-bit Instruction):\\n\"", "RISCV", "2", "\"Trying RISCV_C table (16-bit Instruction):\\n\"", "2"], "File": "RISCVDisassembler16", "Func": "getInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 421, "Length": 247, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RISCVInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVSubtarget (2)1", "Func": "getInstrInfo", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 422, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "reset", "(", ")", "override", "{", "static_cast", "<", "RISCVTargetStreamer", "*", ">", "(", "getTargetStreamer", "(", ")", ")", "->", "reset", "(", ")", ";", "MCELFStreamer", "::", "reset", "(", ")", ";", "}", ""], "natrual_language": ["Reset", "an", "existing", "scalar", "value", "for", "Def", "and", "a", "given", "Instance", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVELFStreamer (2)", "Func": "reset", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 423, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVInstrInfo", "::", "verifyInstruction", "(", "const", "MachineInstr", "&", "MI", ",", "StringRef", "&", "ErrInfo", ")", "const", "{", "const", "MCInstrInfo", "*", "MCII", "=", "STI", ".", "getInstrInfo", "(", ")", ";", "MCInstrDesc", "const", "&", "Desc", "=", "MCII", "->", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "for", "(", "auto", "&", "OI", ":", "enumerate", "(", "Desc", ".", "operands", "(", ")", ")", ")", "{", "unsigned", "OpType", "=", "OI", ".", "value", "(", ")", ".", "OperandType", ";", "if", "(", "OpType", ">=", "RISCVOp", "::", "OPERAND_FIRST_RISCV_IMM", "&&", "OpType", "<=", "RISCVOp", "::", "OPERAND_LAST_RISCV_IMM", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OI", ".", "index", "(", ")", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "int64_t", "Imm", "=", "MO", ".", "getImm", "(", ")", ";", "bool", "Ok", ";", "switch", "(", "OpType", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected operand type\"", ")", ";", "case", "RISCVOp", "::", "OPERAND_UIMM2", ":", "Ok", "=", "isUInt", "<", "2", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_UIMM3", ":", "Ok", "=", "isUInt", "<", "3", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_UIMM4", ":", "Ok", "=", "isUInt", "<", "4", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_UIMM5", ":", "Ok", "=", "isUInt", "<", "5", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_UIMM7", ":", "Ok", "=", "isUInt", "<", "7", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_UIMM12", ":", "Ok", "=", "isUInt", "<", "12", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_SIMM12", ":", "Ok", "=", "isInt", "<", "12", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_UIMM20", ":", "Ok", "=", "isUInt", "<", "20", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_UIMMLOG2XLEN", ":", "if", "(", "STI", ".", "getTargetTriple", "(", ")", ".", "isArch64Bit", "(", ")", ")", "Ok", "=", "isUInt", "<", "6", ">", "(", "Imm", ")", ";", "else", "Ok", "=", "isUInt", "<", "5", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_RVKRNUM", ":", "Ok", "=", "Imm", ">=", "0", "&&", "Imm", "<=", "10", ";", "break", ";", "}", "if", "(", "!", "Ok", ")", "{", "ErrInfo", "=", "\"Invalid immediate\"", ";", "return", "false", ";", "}", "}", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Perform", "target-specific", "instruction", "verification", "."], "TS_V_token": ["RISCV", "RISCV", "RISCVOp::OPERAND_FIRST_RISCV_IMM", "RISCVOp::OPERAND_LAST_RISCV_IMM", "\"Unexpected operand type\"", "RISCVOp::OPERAND_UIMM2", "2", "RISCVOp::OPERAND_UIMM3", "3", "RISCVOp::OPERAND_UIMM4", "4", "RISCVOp::OPERAND_UIMM5", "5", "RISCVOp::OPERAND_UIMM7", "7", "RISCVOp::OPERAND_UIMM12", "12", "RISCVOp::OPERAND_SIMM12", "12", "RISCVOp::OPERAND_UIMM20", "20", "RISCVOp::OPERAND_UIMMLOG2XLEN", "6", "5", "RISCVOp::OPERAND_RVKRNUM", "0", "10", "\"Invalid immediate\""], "File": "RISCVInstrInfo22", "Func": "verifyInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 424, "Length": 349, "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", "(", ")", ",", "(", "MCRegister", "&", ")", "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": "RISCVAsmParser (2)", "Func": "tryParseRegister", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 425, "Length": 98, "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": 426, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVTargetLowering", "::", "getExceptionPointerRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "{", "if", "(", "Subtarget", ".", "isRV64", "(", ")", ")", "return", "RISCV", "::", "epc_64", ";", "else", "return", "RISCV", "::", "epc", ";", "}", ""], "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::epc_64", "RISCV::epc"], "File": "RISCVISelLowering (2)2", "Func": "getExceptionPointerRegister", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 427, "Length": 32, "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", ")", ";", "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", "(", "MFI", ".", "getCalleeSavedInfo", "(", ")", ")", ";", "auto", "LastFrameDestroy", "=", "MBBI", ";", "if", "(", "!", "CSI", ".", "empty", "(", ")", ")", "LastFrameDestroy", "=", "std", "::", "prev", "(", "MBBI", ",", "CSI", ".", "size", "(", ")", ")", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "uint64_t", "RealStackSize", "=", "StackSize", "+", "RVFI", "->", "getLibCallStackSize", "(", ")", ";", "uint64_t", "FPOffset", "=", "RealStackSize", "-", "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", ")", ";", "}", "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": "RISCVFrameLowering", "Func": "emitEpilogue", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 428, "Length": 382, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVInstrInfo", "::", "isBranchOffsetInRange", "(", "unsigned", "BranchOp", ",", "int64_t", "BrOffset", ")", "const", "{", "unsigned", "XLen", "=", "STI", ".", "getXLen", "(", ")", ";", "switch", "(", "BranchOp", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected opcode!\"", ")", ";", "case", "RISCV", "::", "BEQ", ":", "case", "RISCV", "::", "BNE", ":", "case", "RISCV", "::", "BLT", ":", "case", "RISCV", "::", "BGE", ":", "case", "RISCV", "::", "BLTU", ":", "case", "RISCV", "::", "BGEU", ":", "return", "isIntN", "(", "13", ",", "BrOffset", ")", ";", "case", "RISCV", "::", "JAL", ":", "case", "RISCV", "::", "PseudoBR", ":", "return", "isIntN", "(", "21", ",", "BrOffset", ")", ";", "case", "RISCV", "::", "PseudoJump", ":", "return", "isIntN", "(", "32", ",", "SignExtend64", "(", "BrOffset", "+", "0x800", ",", "XLen", ")", ")", ";", "}", "}", ""], "natrual_language": ["Determine", "if", "the", "branch", "target", "is", "in", "range", "."], "TS_V_token": ["RISCV", "RISCV", "\"Unexpected opcode!\"", "RISCV::BEQ", "RISCV::BNE", "RISCV::BLT", "RISCV::BGE", "RISCV::BLTU", "RISCV::BGEU", "13", "RISCV::JAL", "RISCV::PseudoBR", "21", "RISCV::PseudoJump", "32", "0x800"], "File": "RISCVInstrInfo (2)", "Func": "isBranchOffsetInRange", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 429, "Length": 112, "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": "RISCVInstPrinter16", "Func": "printInst", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 430, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "DestSourcePair", ">", "RISCVInstrInfo", "::", "isCopyInstrImpl", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "MI", ".", "isMoveReg", "(", ")", ")", "return", "DestSourcePair", "{", "MI", ".", "getOperand", "(", "0", ")", ",", "MI", ".", "getOperand", "(", "1", ")", "}", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "RISCV", "::", "ADDI", ":", "if", "(", "MI", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "0", ")", "return", "DestSourcePair", "{", "MI", ".", "getOperand", "(", "0", ")", ",", "MI", ".", "getOperand", "(", "1", ")", "}", ";", "break", ";", "case", "RISCV", "::", "FSGNJ_D", ":", "case", "RISCV", "::", "FSGNJ_S", ":", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "isReg", "(", ")", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", "return", "DestSourcePair", "{", "MI", ".", "getOperand", "(", "0", ")", ",", "MI", ".", "getOperand", "(", "1", ")", "}", ";", "break", ";", "}", "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": ["RISCV", "RISCV", "0", "1", "RISCV::ADDI", "2", "2", "0", "0", "1", "RISCV::FSGNJ_D", "RISCV::FSGNJ_S", "1", "2", "1", "2", "0", "1"], "File": "RISCVInstrInfo48", "Func": "isCopyInstrImpl", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 431, "Length": 186, "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", "(", ")", ";", "if", "(", "CSI", ".", "size", "(", ")", ")", "{", "MinCSFI", "=", "CSI", "[", "0", "]", ".", "getFrameIdx", "(", ")", ";", "MaxCSFI", "=", "CSI", "[", "CSI", ".", "size", "(", ")", "-", "1", "]", ".", "getFrameIdx", "(", ")", ";", "}", "if", "(", "FI", ">=", "MinCSFI", "&&", "FI", "<=", "MaxCSFI", ")", "{", "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"], "File": "RISCVFrameLowering10", "Func": "getFrameIndexReference", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 432, "Length": 218, "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": 433, "Length": 382, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "1", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["RISCV", "1"], "File": "RISCVAsmBackend18", "Func": "getNumFixupKinds", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 434, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "th_mempair_prepare_save_restore_operands", "(", "rtx", "operands", "[", "4", "]", ",", "bool", "load_p", ",", "machine_mode", "mode", ",", "int", "regno", ",", "HOST_WIDE_INT", "offset", ",", "int", "regno2", ",", "HOST_WIDE_INT", "offset2", ")", "{", "int", "reg_op", "=", "load_p", "?", "0", ":", "1", ";", "int", "mem_op", "=", "load_p", "?", "1", ":", "0", ";", "rtx", "mem1", "=", "plus_constant", "(", "mode", ",", "stack_pointer_rtx", ",", "offset", ")", ";", "mem1", "=", "gen_frame_mem", "(", "mode", ",", "mem1", ")", ";", "rtx", "mem2", "=", "plus_constant", "(", "mode", ",", "stack_pointer_rtx", ",", "offset2", ")", ";", "mem2", "=", "gen_frame_mem", "(", "mode", ",", "mem2", ")", ";", "operands", "[", "reg_op", "]", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "operands", "[", "mem_op", "]", "=", "mem1", ";", "operands", "[", "2", "+", "reg_op", "]", "=", "gen_rtx_REG", "(", "mode", ",", "regno2", ")", ";", "operands", "[", "2", "+", "mem_op", "]", "=", "mem2", ";", "}", ""], "natrual_language": ["Prepare", "the", "OPERANDS", "array", "to", "emit", "a", "mempair", "instruction", "using", "the", "provided", "information", ".", "No", "checks", "are", "performed", ",", "the", "resulting", "array", "should", "be", "validated", "using", "th_mempair_operands_p", "(", ")", "."], "TS_V_token": ["riscv", "4", "0", "1", "1", "0", "2", "2"], "File": "thead", "Func": "th_mempair_prepare_save_restore_operands", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 435, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "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": "RISCVInstrInfo", "Func": "loadRegFromStackSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 436, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmBackend", "::", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ")", "const", "{", "return", "getRelaxedOpcode", "(", "Inst", ".", "getOpcode", "(", ")", ")", "!=", "Inst", ".", "getOpcode", "(", ")", ";", "}", ""], "natrual_language": ["Check", "whether", "the", "given", "instruction", "may", "need", "relaxation", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVAsmBackend11", "Func": "mayNeedRelaxation", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 437, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "riscv_expand_builtin", "(", "tree", "exp", ",", "rtx", "target", ",", "rtx", "subtarget", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "int", "ignore", "ATTRIBUTE_UNUSED", ")", "{", "tree", "fndecl", "=", "TREE_OPERAND", "(", "CALL_EXPR_FN", "(", "exp", ")", ",", "0", ")", ";", "unsigned", "int", "fcode", "=", "DECL_MD_FUNCTION_CODE", "(", "fndecl", ")", ";", "unsigned", "int", "subcode", "=", "fcode", ">>", "RISCV_BUILTIN_SHIFT", ";", "switch", "(", "fcode", "&", "RISCV_BUILTIN_CLASS", ")", "{", "case", "RISCV_BUILTIN_VECTOR", ":", "return", "riscv_vector", "::", "expand_builtin", "(", "subcode", ",", "exp", ",", "target", ")", ";", "case", "RISCV_BUILTIN_GENERAL", ":", "{", "const", "struct", "riscv_builtin_description", "*", "d", "=", "&", "riscv_builtins", "[", "subcode", "]", ";", "switch", "(", "d", "->", "builtin_type", ")", "{", "case", "RISCV_BUILTIN_DIRECT", ":", "return", "riscv_expand_builtin_direct", "(", "d", "->", "icode", ",", "target", ",", "exp", ",", "true", ")", ";", "case", "RISCV_BUILTIN_DIRECT_NO_TARGET", ":", "return", "riscv_expand_builtin_direct", "(", "d", "->", "icode", ",", "target", ",", "exp", ",", "false", ")", ";", "}", "}", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_EXPAND_BUILTIN", "."], "TS_V_token": ["riscv", "0", "riscv_vector::expand_builtin"], "File": "riscv-builtins1", "Func": "riscv_expand_builtin", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 438, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "riscv_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": ["riscv"], "File": "riscv", "Func": "riscv_emit_set", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 439, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVInstrInfo", "::", "verifyInstruction", "(", "const", "MachineInstr", "&", "MI", ",", "StringRef", "&", "ErrInfo", ")", "const", "{", "const", "MCInstrInfo", "*", "MCII", "=", "STI", ".", "getInstrInfo", "(", ")", ";", "MCInstrDesc", "const", "&", "Desc", "=", "MCII", "->", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "for", "(", "auto", "&", "OI", ":", "enumerate", "(", "Desc", ".", "operands", "(", ")", ")", ")", "{", "unsigned", "OpType", "=", "OI", ".", "value", "(", ")", ".", "OperandType", ";", "if", "(", "OpType", ">=", "RISCVOp", "::", "OPERAND_FIRST_RISCV_IMM", "&&", "OpType", "<=", "RISCVOp", "::", "OPERAND_LAST_RISCV_IMM", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OI", ".", "index", "(", ")", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "int64_t", "Imm", "=", "MO", ".", "getImm", "(", ")", ";", "bool", "Ok", ";", "switch", "(", "OpType", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected operand type\"", ")", ";", "case", "RISCVOp", "::", "OPERAND_UIMM4", ":", "Ok", "=", "isUInt", "<", "4", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_UIMM5", ":", "Ok", "=", "isUInt", "<", "5", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_UIMM12", ":", "Ok", "=", "isUInt", "<", "12", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_SIMM12", ":", "Ok", "=", "isInt", "<", "12", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_UIMM20", ":", "Ok", "=", "isUInt", "<", "20", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_UIMMLOG2XLEN", ":", "if", "(", "STI", ".", "getTargetTriple", "(", ")", ".", "isArch64Bit", "(", ")", ")", "Ok", "=", "isUInt", "<", "6", ">", "(", "Imm", ")", ";", "else", "Ok", "=", "isUInt", "<", "5", ">", "(", "Imm", ")", ";", "break", ";", "}", "if", "(", "!", "Ok", ")", "{", "ErrInfo", "=", "\"Invalid immediate\"", ";", "return", "false", ";", "}", "}", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Perform", "target-specific", "instruction", "verification", "."], "TS_V_token": ["RISCV", "RISCV", "RISCVOp::OPERAND_FIRST_RISCV_IMM", "RISCVOp::OPERAND_LAST_RISCV_IMM", "\"Unexpected operand type\"", "RISCVOp::OPERAND_UIMM4", "4", "RISCVOp::OPERAND_UIMM5", "5", "RISCVOp::OPERAND_UIMM12", "12", "RISCVOp::OPERAND_SIMM12", "12", "RISCVOp::OPERAND_UIMM20", "20", "RISCVOp::OPERAND_UIMMLOG2XLEN", "6", "5", "\"Invalid immediate\""], "File": "RISCVInstrInfo12", "Func": "verifyInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 440, "Length": 281, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "riscv_register_priority", "(", "int", "regno", ")", "{", "if", "(", "riscv_compressed_reg_p", "(", "regno", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "a", "register", "priority", "for", "hard", "reg", "REGNO", "."], "TS_V_token": ["riscv", "1", "0"], "File": "riscv", "Func": "riscv_register_priority", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 441, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVDAGToDAGISel", "::", "PostprocessISelDAG", "(", ")", "{", "doPeepholeLoadStoreADDI", "(", ")", ";", "}", ""], "natrual_language": ["PostprocessISelDAG", "(", ")", "-", "This", "hook", "allows", "the", "target", "to", "hack", "on", "the", "graph", "right", "after", "selection", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVISelDAGToDAG1", "Func": "PostprocessISelDAG", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 442, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "anticipatable_occurrence_p", "(", "const", "bb_info", "*", "bb", ",", "const", "vector_insn_info", "dem", ")", "{", "insn_info", "*", "insn", "=", "dem", ".", "get_insn", "(", ")", ";", "if", "(", "dem", ".", "has_avl_reg", "(", ")", ")", "{", "if", "(", "!", "vlmax_avl_p", "(", "dem", ".", "get_avl", "(", ")", ")", ")", "{", "set_info", "*", "set", "=", "dem", ".", "get_avl_source", "(", ")", ";", "if", "(", "!", "set", ")", "return", "false", ";", "if", "(", "real_insn_and_same_bb_p", "(", "set", "->", "insn", "(", ")", ",", "bb", ")", "&&", "before_p", "(", "set", "->", "insn", "(", ")", ",", "insn", ")", ")", "return", "false", ";", "}", "}", "if", "(", "vsetvl_insn_p", "(", "insn", "->", "rtl", "(", ")", ")", ")", "{", "rtx", "dest", "=", "get_vl", "(", "insn", "->", "rtl", "(", ")", ")", ";", "for", "(", "insn_info", "*", "i", "=", "insn", "->", "prev_nondebug_insn", "(", ")", ";", "real_insn_and_same_bb_p", "(", "i", ",", "bb", ")", ";", "i", "=", "i", "->", "prev_nondebug_insn", "(", ")", ")", "{", "if", "(", "find_access", "(", "i", "->", "uses", "(", ")", ",", "REGNO", "(", "dest", ")", ")", ")", "return", "false", ";", "if", "(", "find_access", "(", "i", "->", "defs", "(", ")", ",", "REGNO", "(", "dest", ")", ")", ")", "return", "false", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["An", "``", "anticipatable", "occurrence", "''", "is", "one", "that", "is", "the", "first", "occurrence", "in", "the", "basic", "block", ",", "the", "operands", "are", "not", "modified", "in", "the", "basic", "block", "prior", "to", "the", "occurrence", "and", "the", "output", "is", "not", "used", "between", "the", "start", "of", "the", "block", "and", "the", "occurrence", ".", "For", "VSETVL", "instruction", ",", "we", "have", "these", "following", "formats", ":", "1.", "vsetvl", "zero", ",", "rs1", ".", "2.", "vsetvl", "zero", ",", "imm", ".", "3.", "vsetvl", "rd", ",", "rs1", ".", "So", "base", "on", "these", "circumstances", ",", "a", "DEM", "is", "considered", "as", "a", "local", "anticipatable", "occurrence", "should", "satisfy", "these", "following", "conditions", ":", "1", ")", ".", "rs1", "(", "avl", ")", "are", "not", "modified", "in", "the", "basic", "block", "prior", "to", "the", "VSETVL", ".", "2", ")", ".", "rd", "(", "vl", ")", "are", "not", "modified", "in", "the", "basic", "block", "prior", "to", "the", "VSETVL", ".", "3", ")", ".", "rd", "(", "vl", ")", "is", "not", "used", "between", "the", "start", "of", "the", "block", "and", "the", "occurrence", ".", "Note", ":", "We", "do", "n't", "need", "to", "check", "VL/VTYPE", "here", "since", "DEM", "is", "UNKNOWN", "if", "VL/VTYPE", "is", "modified", "prior", "to", "the", "occurrence", ".", "This", "case", "is", "already", "considered", "as", "a", "non-local", "anticipatable", "occurrence", "."], "TS_V_token": ["riscv"], "File": "riscv-vsetvl", "Func": "anticipatable_occurrence_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 443, "Length": 189, "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'", ":", "case", "'v'", ":", "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": "RISCVISelLowering34", "Func": "getConstraintType", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 444, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "assert", "(", "&", "MF", ".", "front", "(", ")", "==", "&", "MBB", "&&", "\"Shrink-wrapping not yet supported\"", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "auto", "*", "RVFI", "=", "MF", ".", "getInfo", "<", "RISCVMachineFunctionInfo", ">", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "const", "RISCVInstrInfo", "*", "TII", "=", "STI", ".", "getInstrInfo", "(", ")", ";", "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", ")", ";", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "std", "::", "advance", "(", "MBBI", ",", "CSI", ".", "size", "(", ")", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "adjustReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "FPReg", ",", "SPReg", ",", "StackSize", "-", "RVFI", "->", "getVarArgsSaveSize", "(", ")", ",", "MachineInstr", "::", "FrameSetup", ")", ";", "const", "MCRegisterInfo", "*", "MRI", "=", "MF", ".", "getMMI", "(", ")", ".", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createDefCfaOffset", "(", "nullptr", ",", "-", "StackSize", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ".", "setMIFlags", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "for", "(", "const", "auto", "&", "Entry", ":", "CSI", ")", "{", "unsigned", "Reg", "=", "Entry", ".", "getReg", "(", ")", ";", "int", "FI", "=", "Entry", ".", "getFrameIdx", "(", ")", ";", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createOffset", "(", "nullptr", ",", "MRI", "->", "getDwarfRegNum", "(", "Reg", ",", "true", ")", ",", "MFI", ".", "getObjectOffset", "(", "FI", ")", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ".", "setMIFlags", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["RISCV", "RISCV", "\"Shrink-wrapping not yet supported\"", "RISCV", "RISCV", "0"], "File": "RISCVFrameLowering40", "Func": "emitPrologue", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 445, "Length": 361, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "RISCVInstrInfo", "::", "insertOutlinedCall", "(", "Module", "&", "M", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "It", ",", "MachineFunction", "&", "MF", ",", "outliner", "::", "Candidate", "&", "C", ")", "const", "{", "It", "=", "MBB", ".", "insert", "(", "It", ",", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "RISCV", "::", "PseudoCALLReg", ")", ",", "RISCV", "::", "X5", ")", ".", "addGlobalAddress", "(", "M", ".", "getNamedValue", "(", "MF", ".", "getName", "(", ")", ")", ",", "0", ",", "RISCVII", "::", "MO_CALL", ")", ")", ";", "return", "It", ";", "}", ""], "natrual_language": ["Insert", "a", "call", "to", "an", "outlined", "function", "into", "the", "program", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::PseudoCALLReg", "RISCV::X5", "0", "RISCVII::MO_CALL"], "File": "RISCVInstrInfo22", "Func": "insertOutlinedCall", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 446, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "get_ma", "(", ")", "const", "{", "return", "m_ma", ";", "}", ""], "natrual_language": ["Get", "ma", "according", "to", "operand", "[", "mask_op_idx", "]", "."], "TS_V_token": ["riscv"], "File": "riscv-vsetvl", "Func": "get_ma", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 447, "Length": 10, "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": 448, "Length": 58, "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", ")", ".", "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", "1u", "1u"], "File": "RISCVAsmBackend2", "Func": "getFixupKind", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 449, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_return_in_memory", "(", "const_tree", "type", ",", "const_tree", "fndecl", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "args", ";", "cumulative_args_t", "cum", "=", "pack_cumulative_args", "(", "&", "args", ")", ";", "memset", "(", "&", "args", ",", "0", ",", "sizeof", "args", ")", ";", "return", "riscv_pass_by_reference", "(", "cum", ",", "TYPE_MODE", "(", "type", ")", ",", "type", ",", "true", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_RETURN_IN_MEMORY", "."], "TS_V_token": ["riscv", "0"], "File": "riscv2", "Func": "riscv_return_in_memory", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 450, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVMakeCompressibleOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "if", "(", "skipFunction", "(", "Fn", ".", "getFunction", "(", ")", ")", "||", "!", "Fn", ".", "getFunction", "(", ")", ".", "hasMinSize", "(", ")", ")", "return", "false", ";", "const", "RISCVSubtarget", "&", "STI", "=", "Fn", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "const", "RISCVInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "if", "(", "!", "STI", ".", "hasStdExtC", "(", ")", ")", "return", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "Fn", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"MBB: \"", "<<", "MBB", ".", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "{", "RegImmPair", "RegImm", "=", "getRegImmPairPreventingCompression", "(", "MI", ")", ";", "if", "(", "!", "RegImm", ".", "Reg", "&&", "RegImm", ".", "Imm", "==", "0", ")", "continue", ";", "SmallVector", "<", "MachineInstr", "*", ",", "8", ">", "MIs", ";", "Register", "NewReg", "=", "analyzeCompressibleUses", "(", "MI", ",", "RegImm", ",", "MIs", ")", ";", "if", "(", "!", "NewReg", ")", "continue", ";", "if", "(", "RISCV", "::", "GPRRegClass", ".", "contains", "(", "RegImm", ".", "Reg", ")", ")", "{", "assert", "(", "isInt", "<", "12", ">", "(", "RegImm", ".", "Imm", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "RISCV", "::", "ADDI", ")", ",", "NewReg", ")", ".", "addReg", "(", "RegImm", ".", "Reg", ")", ".", "addImm", "(", "RegImm", ".", "Imm", ")", ";", "}", "else", "{", "assert", "(", "RegImm", ".", "Imm", "==", "0", ")", ";", "unsigned", "Opcode", "=", "RISCV", "::", "FPR32RegClass", ".", "contains", "(", "RegImm", ".", "Reg", ")", "?", "RISCV", "::", "FSGNJ_S", ":", "RISCV", "::", "FSGNJ_D", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "Opcode", ")", ",", "NewReg", ")", ".", "addReg", "(", "RegImm", ".", "Reg", ")", ".", "addReg", "(", "RegImm", ".", "Reg", ")", ";", "}", "for", "(", "MachineInstr", "*", "UpdateMI", ":", "MIs", ")", "updateOperands", "(", "*", "UpdateMI", ",", "RegImm", ",", "NewReg", ")", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCV", "RISCV", "\"MBB: \"", "\"\\n\"", "0", "8", "RISCV::GPRRegClass", "12", "RISCV::ADDI", "0", "RISCV::FPR32RegClass", "RISCV::FSGNJ_S", "RISCV::FSGNJ_D"], "File": "RISCVMakeCompressible", "Func": "runOnMachineFunction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 451, "Length": 319, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "riscv_arg_partial_bytes", "(", "cumulative_args_t", "cum", ",", "enum", "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": "riscv2", "Func": "riscv_arg_partial_bytes", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 452, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "getPostIndexedAddressParts", "(", "SDNode", "*", "N", ",", "SDNode", "*", "Op", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Offset", ",", "ISD", "::", "MemIndexedMode", "&", "AM", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "hasExtXCoreVMem", "(", ")", ")", "return", "false", ";", "if", "(", "Op", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "ADD", ")", "return", "false", ";", "if", "(", "LSBaseSDNode", "*", "LS", "=", "dyn_cast", "<", "LSBaseSDNode", ">", "(", "N", ")", ")", "{", "Base", "=", "LS", "->", "getBasePtr", "(", ")", ";", "}", "else", "{", "return", "false", ";", "}", "if", "(", "Base", "==", "Op", "->", "getOperand", "(", "0", ")", ")", "{", "Offset", "=", "Op", "->", "getOperand", "(", "1", ")", ";", "}", "else", "if", "(", "Base", "==", "Op", "->", "getOperand", "(", "1", ")", ")", "{", "Offset", "=", "Op", "->", "getOperand", "(", "0", ")", ";", "}", "else", "{", "return", "false", ";", "}", "AM", "=", "ISD", "::", "POST_INC", ";", "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": ["RISCV", "RISCV", "ISD::MemIndexedMode", "ISD::ADD", "0", "1", "1", "0", "ISD::POST_INC"], "File": "RISCVISelLowering5", "Func": "getPostIndexedAddressParts", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 453, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "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 (2)", "Func": "getPassName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 454, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "RISCVRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "RISCVFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "for", "(", "size_t", "Reg", "=", "0", ";", "Reg", "<", "getNumRegs", "(", ")", ";", "Reg", "++", ")", "{", "if", "(", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ".", "isRegisterReservedByUser", "(", "Reg", ")", ")", "markSuperRegs", "(", "Reserved", ",", "Reg", ")", ";", "}", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X0", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X2", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X3", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X4", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X8", ")", ";", "if", "(", "TFI", "->", "hasBP", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "RISCVABI", "::", "getBPReg", "(", ")", ")", ";", "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": ["RISCV", "RISCV", "RISCV", "0", "RISCV", "RISCV::X0", "RISCV::X2", "RISCV::X3", "RISCV::X4", "RISCV::X8", "RISCVABI::getBPReg"], "File": "RISCVRegisterInfo13", "Func": "getReservedRegs", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 455, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "RISCVTargetLowering", "::", "getVPExplicitVectorLengthTy", "(", ")", "const", "{", "return", "Subtarget", ".", "getXLenVT", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "type", "to", "be", "used", "for", "the", "EVL/AVL", "operand", "of", "VP", "nodes", ":", "ISD", ":", ":VP_ADD", ",", "ISD", ":", ":VP_SUB", ",", "etc", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVISelLowering1", "Func": "getVPExplicitVectorLengthTy", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 456, "Length": 16, "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", "|", "MCFixupKindInfo", "::", "FKF_IsTarget", "}", ",", "{", "\"fixup_riscv_pcrel_lo12_i\"", ",", "20", ",", "12", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "|", "MCFixupKindInfo", "::", "FKF_IsTarget", "}", ",", "{", "\"fixup_riscv_pcrel_lo12_s\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "|", "MCFixupKindInfo", "::", "FKF_IsTarget", "}", ",", "{", "\"fixup_riscv_got_hi20\"", ",", "12", ",", "20", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_riscv_tprel_hi20\"", ",", "12", ",", "20", ",", "0", "}", ",", "{", "\"fixup_riscv_tprel_lo12_i\"", ",", "20", ",", "12", ",", "0", "}", ",", "{", "\"fixup_riscv_tprel_lo12_s\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_riscv_tprel_add\"", ",", "0", ",", "0", ",", "0", "}", ",", "{", "\"fixup_riscv_tls_got_hi20\"", ",", "12", ",", "20", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_riscv_tls_gd_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_call_plt\"", ",", "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_tprel_hi20\"", "12", "20", "0", "\"fixup_riscv_tprel_lo12_i\"", "20", "12", "0", "\"fixup_riscv_tprel_lo12_s\"", "0", "32", "0", "\"fixup_riscv_tprel_add\"", "0", "0", "0", "\"fixup_riscv_tls_got_hi20\"", "12", "20", "\"fixup_riscv_tls_gd_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_call_plt\"", "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": "RISCVAsmBackend11", "Func": "getFixupKindInfo", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 457, "Length": 321, "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": 458, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "RISCVInstrInfo", "::", "convertToThreeAddress", "(", "MachineFunction", "::", "iterator", "&", "MBB", ",", "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", ")", "}", "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": "RISCVInstrInfo12", "Func": "convertToThreeAddress", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 459, "Length": 276, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmBackend", "::", "shouldForceRelocation", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ")", "{", "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": "RISCVAsmBackend22", "Func": "shouldForceRelocation", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 460, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["RISCV"], "File": "RISCVPulpHWLoops", "Func": "getAnalysisUsage", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 461, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "riscv_expand_builtin_insn", "(", "enum", "insn_code", "icode", ",", "unsigned", "int", "n_ops", ",", "struct", "expand_operand", "*", "ops", ",", "bool", "has_target_p", ")", "{", "if", "(", "!", "maybe_expand_insn", "(", "icode", ",", "n_ops", ",", "ops", ")", ")", "{", "error", "(", "\"invalid argument to built-in function\"", ")", ";", "return", "has_target_p", "?", "gen_reg_rtx", "(", "ops", "[", "0", "]", ".", "mode", ")", ":", "const0_rtx", ";", "}", "return", "has_target_p", "?", "ops", "[", "0", "]", ".", "value", ":", "const0_rtx", ";", "}", ""], "natrual_language": ["Expand", "instruction", "ICODE", "as", "part", "of", "a", "built-in", "function", "sequence", ".", "Use", "the", "first", "NOPS", "elements", "of", "OPS", "as", "the", "instruction", "'s", "operands", ".", "HAS_TARGET_P", "is", "true", "if", "operand", "0", "is", "a", "target", ";", "it", "is", "false", "if", "the", "instruction", "has", "no", "target", ".", "Return", "the", "target", "rtx", "if", "HAS_TARGET_P", ",", "otherwise", "return", "const0_rtx", "."], "TS_V_token": ["riscv", "\"invalid argument to built-in function\"", "0", "0"], "File": "riscv-builtins", "Func": "riscv_expand_builtin_insn", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 462, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "convertSelectOfConstantsToMath", "(", "EVT", "VT", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "select", "of", "constants", "(", "select", "Cond", ",", "C1", ",", "C2", ")", "should", "be", "transformed", "into", "simple", "math", "ops", "with", "the", "condition", "value", "."], "TS_V_token": ["RISCV"], "File": "RISCVISelLowering1", "Func": "convertSelectOfConstantsToMath", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 463, "Length": 13, "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", "(", ")", ";", "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": "RISCVGatherScatterLowering", "Func": "runOnFunction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 464, "Length": 356, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", "AddrSpace", ",", "Align", "Alignment", ",", "MachineMemOperand", "::", "Flags", "Flags", ",", "bool", "*", "Fast", ")", "const", "{", "if", "(", "!", "VT", ".", "isScalableVector", "(", ")", ")", "return", "false", ";", "EVT", "ElemVT", "=", "VT", ".", "getVectorElementType", "(", ")", ";", "if", "(", "Alignment", ">=", "ElemVT", ".", "getStoreSize", "(", ")", ")", "{", "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": ["RISCV", "RISCV"], "File": "RISCVISelLowering34", "Func": "allowsMisalignedMemoryAccesses", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 465, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "riscv_split_symbol", "(", "rtx", "temp", ",", "rtx", "addr", ",", "enum", "machine_mode", "mode", ",", "rtx", "*", "low_out", ")", "{", "enum", "riscv_symbol_type", "symbol_type", ";", "if", "(", "(", "GET_CODE", "(", "addr", ")", "==", "HIGH", "&&", "mode", "==", "MAX_MACHINE_MODE", ")", "||", "!", "riscv_symbolic_constant_p", "(", "addr", ",", "&", "symbol_type", ")", "||", "riscv_symbol_insns", "(", "symbol_type", ")", "==", "0", "||", "!", "riscv_split_symbol_type", "(", "symbol_type", ")", ")", "return", "false", ";", "if", "(", "low_out", ")", "switch", "(", "symbol_type", ")", "{", "case", "SYMBOL_ABSOLUTE", ":", "{", "rtx", "high", "=", "gen_rtx_HIGH", "(", "Pmode", ",", "copy_rtx", "(", "addr", ")", ")", ";", "high", "=", "riscv_force_temporary", "(", "temp", ",", "high", ")", ";", "*", "low_out", "=", "gen_rtx_LO_SUM", "(", "Pmode", ",", "high", ",", "addr", ")", ";", "}", "break", ";", "case", "SYMBOL_PCREL", ":", "{", "static", "unsigned", "seqno", ";", "char", "buf", "[", "32", "]", ";", "rtx", "label", ";", "ssize_t", "bytes", "=", "snprintf", "(", "buf", ",", "sizeof", "(", "buf", ")", ",", "\".LA%u\"", ",", "seqno", ")", ";", "gcc_assert", "(", "(", "size_t", ")", "bytes", "<", "sizeof", "(", "buf", ")", ")", ";", "label", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "ggc_strdup", "(", "buf", ")", ")", ";", "SYMBOL_REF_FLAGS", "(", "label", ")", "|=", "SYMBOL_FLAG_LOCAL", ";", "if", "(", "temp", "==", "NULL", ")", "temp", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "if", "(", "Pmode", "==", "DImode", ")", "emit_insn", "(", "gen_auipcdi", "(", "temp", ",", "copy_rtx", "(", "addr", ")", ",", "GEN_INT", "(", "seqno", ")", ")", ")", ";", "else", "emit_insn", "(", "gen_auipcsi", "(", "temp", ",", "copy_rtx", "(", "addr", ")", ",", "GEN_INT", "(", "seqno", ")", ")", ")", ";", "*", "low_out", "=", "gen_rtx_LO_SUM", "(", "Pmode", ",", "temp", ",", "label", ")", ";", "seqno", "++", ";", "}", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["If", "MODE", "is", "MAX_MACHINE_MODE", ",", "ADDR", "appears", "as", "a", "move", "operand", ",", "otherwise", "it", "appears", "in", "a", "MEM", "of", "that", "mode", ".", "Return", "true", "if", "ADDR", "is", "a", "legitimate", "constant", "in", "that", "context", "and", "can", "be", "split", "into", "high", "and", "low", "parts", ".", "If", "so", ",", "and", "if", "LOW_OUT", "is", "nonnull", ",", "emit", "the", "high", "part", "and", "store", "the", "low", "part", "in", "*", "LOW_OUT", ".", "Leave", "*", "LOW_OUT", "unchanged", "otherwise", ".", "TEMP", "is", "as", "for", "riscv_force_temporary", "and", "is", "used", "to", "load", "the", "high", "part", "into", "a", "register", ".", "When", "MODE", "is", "MAX_MACHINE_MODE", ",", "the", "low", "part", "is", "guaranteed", "to", "be", "a", "legitimize", "SET_SRC", "for", "an", ".md", "pattern", ",", "otherwise", "the", "low", "part", "is", "guaranteed", "to", "be", "a", "legitimate", "address", "for", "mode", "MODE", "."], "TS_V_token": ["riscv", "0", "32", "\".LA%u\""], "File": "riscv2", "Func": "riscv_split_symbol", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 466, "Length": 263, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "riscv_split_symbol", "(", "rtx", "temp", ",", "rtx", "addr", ",", "machine_mode", "mode", ",", "rtx", "*", "low_out", ")", "{", "enum", "riscv_symbol_type", "symbol_type", ";", "if", "(", "(", "GET_CODE", "(", "addr", ")", "==", "HIGH", "&&", "mode", "==", "MAX_MACHINE_MODE", ")", "||", "!", "riscv_symbolic_constant_p", "(", "addr", ",", "&", "symbol_type", ")", "||", "riscv_symbol_insns", "(", "symbol_type", ")", "==", "0", "||", "!", "riscv_split_symbol_type", "(", "symbol_type", ")", ")", "return", "false", ";", "if", "(", "low_out", ")", "switch", "(", "symbol_type", ")", "{", "case", "SYMBOL_ABSOLUTE", ":", "{", "rtx", "high", "=", "gen_rtx_HIGH", "(", "Pmode", ",", "copy_rtx", "(", "addr", ")", ")", ";", "high", "=", "riscv_force_temporary", "(", "temp", ",", "high", ")", ";", "*", "low_out", "=", "gen_rtx_LO_SUM", "(", "Pmode", ",", "high", ",", "addr", ")", ";", "}", "break", ";", "case", "SYMBOL_PCREL", ":", "{", "static", "unsigned", "seqno", ";", "char", "buf", "[", "32", "]", ";", "rtx", "label", ";", "ssize_t", "bytes", "=", "snprintf", "(", "buf", ",", "sizeof", "(", "buf", ")", ",", "\".LA%u\"", ",", "seqno", ")", ";", "gcc_assert", "(", "(", "size_t", ")", "bytes", "<", "sizeof", "(", "buf", ")", ")", ";", "label", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "ggc_strdup", "(", "buf", ")", ")", ";", "SYMBOL_REF_FLAGS", "(", "label", ")", "|=", "SYMBOL_FLAG_LOCAL", ";", "if", "(", "temp", "==", "NULL", ")", "temp", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "if", "(", "Pmode", "==", "DImode", ")", "emit_insn", "(", "gen_auipcdi", "(", "temp", ",", "copy_rtx", "(", "addr", ")", ",", "GEN_INT", "(", "seqno", ")", ")", ")", ";", "else", "emit_insn", "(", "gen_auipcsi", "(", "temp", ",", "copy_rtx", "(", "addr", ")", ",", "GEN_INT", "(", "seqno", ")", ")", ")", ";", "*", "low_out", "=", "gen_rtx_LO_SUM", "(", "Pmode", ",", "temp", ",", "label", ")", ";", "seqno", "++", ";", "}", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["If", "MODE", "is", "MAX_MACHINE_MODE", ",", "ADDR", "appears", "as", "a", "move", "operand", ",", "otherwise", "it", "appears", "in", "a", "MEM", "of", "that", "mode", ".", "Return", "true", "if", "ADDR", "is", "a", "legitimate", "constant", "in", "that", "context", "and", "can", "be", "split", "into", "high", "and", "low", "parts", ".", "If", "so", ",", "and", "if", "LOW_OUT", "is", "nonnull", ",", "emit", "the", "high", "part", "and", "store", "the", "low", "part", "in", "*", "LOW_OUT", ".", "Leave", "*", "LOW_OUT", "unchanged", "otherwise", ".", "TEMP", "is", "as", "for", "riscv_force_temporary", "and", "is", "used", "to", "load", "the", "high", "part", "into", "a", "register", ".", "When", "MODE", "is", "MAX_MACHINE_MODE", ",", "the", "low", "part", "is", "guaranteed", "to", "be", "a", "legitimize", "SET_SRC", "for", "an", ".md", "pattern", ",", "otherwise", "the", "low", "part", "is", "guaranteed", "to", "be", "a", "legitimate", "address", "for", "mode", "MODE", "."], "TS_V_token": ["riscv", "0", "32", "\".LA%u\""], "File": "riscv3", "Func": "riscv_split_symbol", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 467, "Length": 262, "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": 468, "Length": 28, "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", "::", "FCVT_W_RTZ_RV64", ":", "case", "RISCVISD", "::", "FCVT_WU_RTZ_RV64", ":", "case", "RISCVISD", "::", "STRICT_FCVT_W_RTZ_RV64", ":", "case", "RISCVISD", "::", "STRICT_FCVT_WU_RTZ_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", ":", "if", "(", "Op", ".", "getOperand", "(", "0", ")", ".", "getScalarValueSizeInBits", "(", ")", ">", "Subtarget", ".", "getXLen", "(", ")", ")", "return", "1", ";", "return", "Subtarget", ".", "getXLen", "(", ")", "-", "Op", ".", "getOperand", "(", "0", ")", ".", "getScalarValueSizeInBits", "(", ")", "+", "1", ";", "}", "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::FCVT_W_RTZ_RV64", "RISCVISD::FCVT_WU_RTZ_RV64", "RISCVISD::STRICT_FCVT_W_RTZ_RV64", "RISCVISD::STRICT_FCVT_WU_RTZ_RV64", "33", "RISCVISD::SHFL", "RISCVISD::UNSHFL", "MVT::i64", "1", "1", "0x10", "0", "0", "1", "32", "33", "RISCVISD::VMV_X_S", "0", "1", "0", "1", "1"], "File": "RISCVISelLowering80", "Func": "ComputeNumSignBitsForTargetNode", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 469, "Length": 341, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "RISCVRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "RISCVFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "for", "(", "size_t", "Reg", "=", "0", ";", "Reg", "<", "getNumRegs", "(", ")", ";", "Reg", "++", ")", "{", "if", "(", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ".", "isRegisterReservedByUser", "(", "Reg", ")", ")", "markSuperRegs", "(", "Reserved", ",", "Reg", ")", ";", "}", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X0", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X2", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X3", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X4", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X8", ")", ";", "if", "(", "TFI", "->", "hasBP", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "RISCVABI", "::", "getBPReg", "(", ")", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "VL", ")", ";", "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": ["RISCV", "RISCV", "RISCV", "0", "RISCV", "RISCV::X0", "RISCV::X2", "RISCV::X3", "RISCV::X4", "RISCV::X8", "RISCVABI::getBPReg", "RISCV::VL"], "File": "RISCVRegisterInfo21", "Func": "getReservedRegs", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 470, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmBackend", "::", "shouldInsertExtraNopBytesForCodeAlign", "(", "const", "MCAlignFragment", "&", "AF", ",", "unsigned", "&", "Size", ")", "{", "if", "(", "!", "STI", ".", "getFeatureBits", "(", ")", "[", "RISCV", "::", "FeatureRelax", "]", ")", "return", "false", ";", "bool", "HasStdExtC", "=", "STI", ".", "getFeatureBits", "(", ")", "[", "RISCV", "::", "FeatureStdExtC", "]", ";", "unsigned", "MinNopLen", "=", "HasStdExtC", "?", "2", ":", "4", ";", "if", "(", "AF", ".", "getAlignment", "(", ")", "<=", "MinNopLen", ")", "{", "return", "false", ";", "}", "else", "{", "Size", "=", "AF", ".", "getAlignment", "(", ")", "-", "MinNopLen", ";", "return", "true", ";", "}", "}", ""], "natrual_language": ["Hook", "to", "check", "if", "extra", "nop", "bytes", "must", "be", "inserted", "for", "alignment", "directive", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::FeatureRelax", "RISCV::FeatureStdExtC", "2", "4"], "File": "RISCVAsmBackend14", "Func": "shouldInsertExtraNopBytesForCodeAlign", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 471, "Length": 87, "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", "(", "MFI", ".", "getCalleeSavedInfo", "(", ")", ")", ";", "auto", "LastFrameDestroy", "=", "MBBI", ";", "if", "(", "!", "CSI", ".", "empty", "(", ")", ")", "LastFrameDestroy", "=", "std", "::", "prev", "(", "MBBI", ",", "CSI", ".", "size", "(", ")", ")", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "uint64_t", "RealStackSize", "=", "StackSize", "+", "RVFI", "->", "getLibCallStackSize", "(", ")", ";", "uint64_t", "FPOffset", "=", "RealStackSize", "-", "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", ")", ";", "}", "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": "RISCVFrameLowering14", "Func": "emitEpilogue", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 472, "Length": 400, "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\"", ";", "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\"", "RISCVAttrs::ARCH"], "File": "RISCVTargetStreamer13", "Func": "emitTargetAttributes", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 473, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "fault_first_load_p", "(", "rtx_insn", "*", "rinsn", ")", "{", "return", "recog_memoized", "(", "rinsn", ")", ">=", "0", "&&", "get_attr_type", "(", "rinsn", ")", "==", "TYPE_VLDFF", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "instruction", "is", "fault", "first", "load", "instruction", "."], "TS_V_token": ["riscv", "0"], "File": "riscv-vsetvl", "Func": "fault_first_load_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 474, "Length": 25, "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": ["RISCV", "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": "RISCVMCCodeEmitter1", "Func": "encodeInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 475, "Length": 247, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "isDesirableToCommuteWithShift", "(", "const", "SDNode", "*", "N", ",", "CombineLevel", "Level", ")", "const", "{", "SDValue", "N0", "=", "N", "->", "getOperand", "(", "0", ")", ";", "MVT", "Ty", "=", "N0", ".", "getSimpleValueType", "(", ")", ";", "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", ")", "{", "APInt", "C1Int", "=", "C1", "->", "getAPIntValue", "(", ")", ";", "APInt", "ShiftedC1Int", "=", "C1Int", "<<", "C2", "->", "getAPIntValue", "(", ")", ";", "if", "(", "isLegalAddImmediate", "(", "ShiftedC1Int", ".", "getSExtValue", "(", ")", ")", ")", "return", "true", ";", "if", "(", "isLegalAddImmediate", "(", "C1Int", ".", "getSExtValue", "(", ")", ")", ")", "return", "false", ";", "int", "C1Cost", "=", "RISCVMatInt", "::", "getIntMatCost", "(", "C1Int", ",", "Ty", ".", "getSizeInBits", "(", ")", ",", "Subtarget", ".", "is64Bit", "(", ")", ")", ";", "int", "ShiftedC1Cost", "=", "RISCVMatInt", "::", "getIntMatCost", "(", "ShiftedC1Int", ",", "Ty", ".", "getSizeInBits", "(", ")", ",", "Subtarget", ".", "is64Bit", "(", ")", ")", ";", "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", "RISCVMatInt::getIntMatCost", "RISCVMatInt::getIntMatCost"], "File": "RISCVISelLowering36", "Func": "isDesirableToCommuteWithShift", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 476, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "pass_vsetvl", "::", "forward_demand_fusion", "(", "void", ")", "{", "bool", "changed_p", "=", "false", ";", "for", "(", "const", "bb_info", "*", "bb", ":", "crtl", "->", "ssa", "->", "bbs", "(", ")", ")", "{", "basic_block", "cfg_bb", "=", "bb", "->", "cfg_bb", "(", ")", ";", "const", "auto", "&", "prop", "=", "m_vector_manager", "->", "vector_block_infos", "[", "cfg_bb", "->", "index", "]", ".", "reaching_out", ";", "if", "(", "!", "prop", ".", "valid_or_dirty_p", "(", ")", ")", "continue", ";", "if", "(", "cfg_bb", "==", "ENTRY_BLOCK_PTR_FOR_FN", "(", "cfun", ")", ")", "continue", ";", "if", "(", "vsetvl_insn_p", "(", "prop", ".", "get_insn", "(", ")", "->", "rtl", "(", ")", ")", ")", "continue", ";", "edge", "e", ";", "edge_iterator", "ei", ";", "FOR_EACH_EDGE", "(", "e", ",", "ei", ",", "cfg_bb", "->", "succs", ")", "{", "auto", "&", "local_dem", "=", "m_vector_manager", "->", "vector_block_infos", "[", "e", "->", "dest", "->", "index", "]", ".", "local_dem", ";", "auto", "&", "reaching_out", "=", "m_vector_manager", "->", "vector_block_infos", "[", "e", "->", "dest", "->", "index", "]", ".", "reaching_out", ";", "if", "(", "e", "->", "dest", "->", "index", "==", "cfg_bb", "->", "index", ")", "continue", ";", "if", "(", "e", "->", "flags", "&", "EDGE_COMPLEX", ")", "continue", ";", "if", "(", "e", "->", "dest", "->", "index", "==", "EXIT_BLOCK_PTR_FOR_FN", "(", "cfun", ")", "->", "index", ")", "continue", ";", "if", "(", "!", "local_dem", ".", "valid_or_dirty_p", "(", ")", ")", "continue", ";", "if", "(", "local_dem", ".", "available_p", "(", "prop", ")", ")", "continue", ";", "if", "(", "!", "local_dem", ".", "compatible_p", "(", "prop", ")", ")", "continue", ";", "if", "(", "propagate_avl_across_demands_p", "(", "prop", ",", "local_dem", ")", ")", "continue", ";", "vector_insn_info", "new_info", "=", "local_dem", ".", "merge", "(", "prop", ",", "GLOBAL_MERGE", ")", ";", "new_info", ".", "set_insn", "(", "local_dem", ".", "get_insn", "(", ")", ")", ";", "if", "(", "local_dem", ".", "dirty_p", "(", ")", ")", "{", "gcc_assert", "(", "local_dem", "==", "reaching_out", ")", ";", "new_info", ".", "set_dirty", "(", "local_dem", ".", "dirty_with_killed_avl_p", "(", ")", ")", ";", "local_dem", "=", "new_info", ";", "reaching_out", "=", "local_dem", ";", "}", "else", "{", "if", "(", "reaching_out", "==", "local_dem", ")", "reaching_out", "=", "new_info", ";", "local_dem", "=", "new_info", ";", "change_vsetvl_insn", "(", "local_dem", ".", "get_insn", "(", ")", ",", "new_info", ")", ";", "}", "auto", "&", "prob", "=", "m_vector_manager", "->", "vector_block_infos", "[", "e", "->", "dest", "->", "index", "]", ".", "probability", ";", "auto", "&", "curr_prob", "=", "m_vector_manager", "->", "vector_block_infos", "[", "cfg_bb", "->", "index", "]", ".", "probability", ";", "prob", "=", "curr_prob", "*", "e", "->", "probability", ";", "changed_p", "=", "true", ";", "}", "}", "return", "changed_p", ";", "}", ""], "natrual_language": ["Compute", "global", "forward", "demanded", "info", "."], "TS_V_token": ["riscv"], "File": "riscv-vsetvl", "Func": "forward_demand_fusion", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 477, "Length": 367, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "has_merge_operand_p", "(", ")", "const", "override", "{", "if", "(", "UNSPEC", "==", "UNSPEC_VSLIDEUP", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["We", "choose", "to", "return", "true", "by", "default", "since", "most", "of", "the", "intrinsics", "use", "has", "merge", "operand", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins-bases", "Func": "has_merge_operand_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 478, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ",", "Instruction", "*", "I", ")", "const", "{", "if", "(", "AM", ".", "BaseGV", ")", "return", "false", ";", "if", "(", "Subtarget", ".", "hasVInstructions", "(", ")", "&&", "isa", "<", "VectorType", ">", "(", "Ty", ")", ")", "return", "AM", ".", "HasBaseReg", "&&", "AM", ".", "Scale", "==", "0", "&&", "!", "AM", ".", "BaseOffs", ";", "if", "(", "!", "isInt", "<", "12", ">", "(", "AM", ".", "BaseOffs", ")", ")", "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": ["RISCV", "RISCV", "0", "12", "0", "1"], "File": "RISCVISelLowering33", "Func": "isLegalAddressingMode", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 479, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVMCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "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": ["RISCV", "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": "RISCVMCCodeEmitter24", "Func": "encodeInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 480, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmBackend", "::", "shouldInsertFixupForCodeAlign", "(", "MCAssembler", "&", "Asm", ",", "const", "MCAsmLayout", "&", "Layout", ",", "MCAlignFragment", "&", "AF", ")", "{", "const", "MCSubtargetInfo", "*", "STI", "=", "AF", ".", "getSubtargetInfo", "(", ")", ";", "if", "(", "!", "STI", "->", "getFeatureBits", "(", ")", "[", "RISCV", "::", "FeatureRelax", "]", ")", "return", "false", ";", "unsigned", "Count", ";", "if", "(", "!", "shouldInsertExtraNopBytesForCodeAlign", "(", "AF", ",", "Count", ")", "||", "(", "Count", "==", "0", ")", ")", "return", "false", ";", "MCContext", "&", "Ctx", "=", "Asm", ".", "getContext", "(", ")", ";", "const", "MCExpr", "*", "Dummy", "=", "MCConstantExpr", "::", "create", "(", "0", ",", "Ctx", ")", ";", "MCFixup", "Fixup", "=", "MCFixup", "::", "create", "(", "0", ",", "Dummy", ",", "MCFixupKind", "(", "RISCV", "::", "fixup_riscv_align", ")", ",", "SMLoc", "(", ")", ")", ";", "uint64_t", "FixedValue", "=", "0", ";", "MCValue", "NopBytes", "=", "MCValue", "::", "get", "(", "Count", ")", ";", "Asm", ".", "getWriter", "(", ")", ".", "recordRelocation", "(", "Asm", ",", "Layout", ",", "&", "AF", ",", "Fixup", ",", "NopBytes", ",", "FixedValue", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Hook", "which", "indicates", "if", "the", "target", "requires", "a", "fixup", "to", "be", "generated", "when", "handling", "an", "align", "directive", "in", "an", "executable", "section", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::FeatureRelax", "0", "0", "0", "RISCV::fixup_riscv_align", "0"], "File": "RISCVAsmBackend34", "Func": "shouldInsertFixupForCodeAlign", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 481, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "riscv_new_address_profitable_p", "(", "rtx", "memref", ",", "rtx_insn", "*", "insn", ",", "rtx", "new_addr", ")", "{", "addr_space_t", "as", "=", "MEM_ADDR_SPACE", "(", "memref", ")", ";", "bool", "speed", "=", "optimize_bb_for_speed_p", "(", "BLOCK_FOR_INSN", "(", "insn", ")", ")", ";", "int", "old_cost", "=", "address_cost", "(", "XEXP", "(", "memref", ",", "0", ")", ",", "GET_MODE", "(", "memref", ")", ",", "as", ",", "speed", ")", ";", "int", "new_cost", "=", "address_cost", "(", "new_addr", ",", "GET_MODE", "(", "memref", ")", ",", "as", ",", "speed", ")", ";", "return", "new_cost", "<=", "old_cost", ";", "}", ""], "natrual_language": ["Implement", "TARGET_NEW_ADDRESS_PROFITABLE_P", "."], "TS_V_token": ["riscv", "0"], "File": "riscv", "Func": "riscv_new_address_profitable_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 482, "Length": 78, "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": 483, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "(", "Subtarget", ".", "isRV64", "(", ")", "?", "RISCV", "::", "fp_64", ":", "RISCV", "::", "fp", ")", ":", "(", "Subtarget", ".", "isRV64", "(", ")", "?", "RISCV", "::", "sp_64", ":", "RISCV", "::", "sp", ")", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::fp_64", "RISCV::fp", "RISCV::sp_64", "RISCV::sp"], "File": "RISCVRegisterInfo32", "Func": "getFrameRegister", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 484, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RISCVSubtarget", "*", "RISCVTargetMachine", "::", "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", ";", "std", "::", "string", "Key", "=", "CPU", "+", "FS", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "Key", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "auto", "ABIName", "=", "Options", ".", "MCOptions", ".", "getABIName", "(", ")", ";", "if", "(", "const", "MDString", "*", "ModuleTargetABI", "=", "dyn_cast_or_null", "<", "MDString", ">", "(", "F", ".", "getParent", "(", ")", "->", "getModuleFlag", "(", "\"target-abi\"", ")", ")", ")", "{", "auto", "TargetABI", "=", "RISCVABI", "::", "getTargetABI", "(", "ABIName", ")", ";", "if", "(", "TargetABI", "!=", "RISCVABI", "::", "ABI_Unknown", "&&", "ModuleTargetABI", "->", "getString", "(", ")", "!=", "ABIName", ")", "{", "report_fatal_error", "(", "\"-target-abi option != target-abi module flag\"", ")", ";", "}", "ABIName", "=", "ModuleTargetABI", "->", "getString", "(", ")", ";", "}", "I", "=", "std", "::", "make_unique", "<", "RISCVSubtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "ABIName", ",", "*", "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": ["RISCV", "RISCV", "RISCV", "\"target-cpu\"", "\"target-features\"", "\"target-abi\"", "RISCVABI::getTargetABI", "RISCVABI::ABI_Unknown", "\"-target-abi option != target-abi module flag\"", "RISCV"], "File": "RISCVTargetMachine33", "Func": "getSubtargetImpl", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 485, "Length": 217, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "hash_set", "<", "basic_block", ">", "get_all_predecessors", "(", "basic_block", "cfg_bb", ")", "{", "hash_set", "<", "basic_block", ">", "blocks", ";", "auto_vec", "<", "basic_block", ">", "work_list", ";", "hash_set", "<", "basic_block", ">", "visited_list", ";", "work_list", ".", "safe_push", "(", "cfg_bb", ")", ";", "while", "(", "!", "work_list", ".", "is_empty", "(", ")", ")", "{", "basic_block", "new_cfg_bb", "=", "work_list", ".", "pop", "(", ")", ";", "visited_list", ".", "add", "(", "new_cfg_bb", ")", ";", "edge", "e", ";", "edge_iterator", "ei", ";", "FOR_EACH_EDGE", "(", "e", ",", "ei", ",", "new_cfg_bb", "->", "preds", ")", "{", "if", "(", "!", "visited_list", ".", "contains", "(", "e", "->", "src", ")", ")", "work_list", ".", "safe_push", "(", "e", "->", "src", ")", ";", "blocks", ".", "add", "(", "e", "->", "src", ")", ";", "}", "}", "return", "blocks", ";", "}", ""], "natrual_language": ["Recursively", "find", "all", "predecessor", "blocks", "for", "cfg_bb", "."], "TS_V_token": ["riscv"], "File": "riscv-vsetvl", "Func": "get_all_predecessors", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 486, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "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", "=", "Subtarget", ".", "is64Bit", "(", ")", "?", "RISCV", "::", "LD", ":", "RISCV", "::", "LW", ";", "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::LD", "RISCV::LW", "RISCV::FPR32RegClass", "RISCV::FLW", "RISCV::FPR64RegClass", "RISCV::FLD", "\"Can't load this register from stack slot\"", "0"], "File": "RISCVInstrInfo54", "Func": "loadRegFromStackSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 487, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "riscv_privilege_levels", "riscv_get_interrupt_type", "(", "tree", "decl", ")", "{", "gcc_assert", "(", "decl", "!=", "NULL_TREE", ")", ";", "if", "(", "(", "TREE_CODE", "(", "decl", ")", "!=", "FUNCTION_DECL", ")", "||", "(", "!", "riscv_interrupt_type_p", "(", "TREE_TYPE", "(", "decl", ")", ")", ")", ")", "return", "UNKNOWN_MODE", ";", "tree", "attr_args", "=", "TREE_VALUE", "(", "lookup_attribute", "(", "\"interrupt\"", ",", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "decl", ")", ")", ")", ")", ";", "if", "(", "attr_args", "&&", "TREE_CODE", "(", "TREE_VALUE", "(", "attr_args", ")", ")", "!=", "VOID_TYPE", ")", "{", "const", "char", "*", "string", "=", "TREE_STRING_POINTER", "(", "TREE_VALUE", "(", "attr_args", ")", ")", ";", "if", "(", "!", "strcmp", "(", "string", ",", "\"user\"", ")", ")", "return", "USER_MODE", ";", "else", "if", "(", "!", "strcmp", "(", "string", ",", "\"supervisor\"", ")", ")", "return", "SUPERVISOR_MODE", ";", "else", "return", "MACHINE_MODE", ";", "}", "else", "return", "MACHINE_MODE", ";", "}", ""], "natrual_language": ["Get", "the", "interrupt", "type", ",", "return", "UNKNOWN_MODE", "if", "it", "'s", "not", "interrupt", "function", "."], "TS_V_token": ["riscv", "\"interrupt\"", "\"user\"", "\"supervisor\""], "File": "riscv", "Func": "riscv_get_interrupt_type", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 488, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintWeight", "RISCVTargetLowering", "::", "getSingleConstraintMatchWeight", "(", "AsmOperandInfo", "&", "info", ",", "const", "char", "*", "constraint", ")", "const", "{", "ConstraintWeight", "weight", "=", "CW_Invalid", ";", "Value", "*", "CallOperandVal", "=", "info", ".", "CallOperandVal", ";", "if", "(", "CallOperandVal", "==", "NULL", ")", "return", "CW_Default", ";", "Type", "*", "type", "=", "CallOperandVal", "->", "getType", "(", ")", ";", "switch", "(", "*", "constraint", ")", "{", "default", ":", "weight", "=", "TargetLowering", "::", "getSingleConstraintMatchWeight", "(", "info", ",", "constraint", ")", ";", "break", ";", "case", "'a'", ":", "case", "'d'", ":", "case", "'r'", ":", "if", "(", "CallOperandVal", "->", "getType", "(", ")", "->", "isIntegerTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'f'", ":", "if", "(", "type", "->", "isFloatingPointTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'I'", ":", "if", "(", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "if", "(", "isUInt", "<", "8", ">", "(", "C", "->", "getZExtValue", "(", ")", ")", ")", "weight", "=", "CW_Constant", ";", "break", ";", "case", "'J'", ":", "if", "(", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "if", "(", "isUInt", "<", "12", ">", "(", "C", "->", "getZExtValue", "(", ")", ")", ")", "weight", "=", "CW_Constant", ";", "break", ";", "case", "'K'", ":", "if", "(", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "if", "(", "isInt", "<", "16", ">", "(", "C", "->", "getSExtValue", "(", ")", ")", ")", "weight", "=", "CW_Constant", ";", "break", ";", "case", "'L'", ":", "if", "(", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "if", "(", "isInt", "<", "20", ">", "(", "C", "->", "getSExtValue", "(", ")", ")", ")", "weight", "=", "CW_Constant", ";", "break", ";", "case", "'M'", ":", "if", "(", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "if", "(", "C", "->", "getZExtValue", "(", ")", "==", "0x7fffffff", ")", "weight", "=", "CW_Constant", ";", "break", ";", "}", "return", "weight", ";", "}", ""], "natrual_language": ["Examine", "constraint", "string", "and", "operand", "type", "and", "determine", "a", "weight", "value", "."], "TS_V_token": ["RISCV", "RISCV", "8", "12", "16", "20", "0x7fffffff"], "File": "RISCVISelLowering (2)2", "Func": "getSingleConstraintMatchWeight", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 489, "Length": 301, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "RISCVTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "report_fatal_error", "(", "\"unimplemented operand\"", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "lowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "lowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "lowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "lowerSELECT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "lowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "lowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "lowerRETURNADDR", "(", "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": ["RISCV", "RISCV", "\"unimplemented operand\"", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::ConstantPool", "ISD::SELECT", "ISD::VASTART", "ISD::FRAMEADDR", "ISD::RETURNADDR", "ISD::INTRINSIC_WO_CHAIN"], "File": "RISCVISelLowering78", "Func": "LowerOperation", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 490, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_scalar_mode_supported_p", "(", "scalar_mode", "mode", ")", "{", "if", "(", "mode", "==", "HFmode", ")", "return", "true", ";", "else", "return", "default_scalar_mode_supported_p", "(", "mode", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SCALAR_MODE_SUPPORTED_P", "."], "TS_V_token": ["riscv"], "File": "riscv1", "Func": "riscv_scalar_mode_supported_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 491, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_print_operand_reloc", "(", "FILE", "*", "file", ",", "rtx", "op", ",", "bool", "hi_reloc", ")", "{", "const", "char", "*", "reloc", ";", "switch", "(", "riscv_classify_symbolic_expression", "(", "op", ")", ")", "{", "case", "SYMBOL_ABSOLUTE", ":", "reloc", "=", "hi_reloc", "?", "\"%hi\"", ":", "\"%lo\"", ";", "break", ";", "case", "SYMBOL_PCREL", ":", "reloc", "=", "hi_reloc", "?", "\"%pcrel_hi\"", ":", "\"%pcrel_lo\"", ";", "break", ";", "case", "SYMBOL_TLS_LE", ":", "reloc", "=", "hi_reloc", "?", "\"%tprel_hi\"", ":", "\"%tprel_lo\"", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "fprintf", "(", "file", ",", "\"%s(\"", ",", "reloc", ")", ";", "output_addr_const", "(", "file", ",", "riscv_strip_unspec_address", "(", "op", ")", ")", ";", "fputc", "(", "')'", ",", "file", ")", ";", "}", ""], "natrual_language": ["Print", "symbolic", "operand", "OP", ",", "which", "is", "part", "of", "a", "HIGH", "or", "LO_SUM", "in", "context", "CONTEXT", ".", "HI_RELOC", "indicates", "a", "high-part", "reloc", "."], "TS_V_token": ["riscv", "\"%hi\"", "\"%lo\"", "\"%pcrel_hi\"", "\"%pcrel_lo\"", "\"%tprel_hi\"", "\"%tprel_lo\"", "\"%s(\""], "File": "riscv2", "Func": "riscv_print_operand_reloc", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 492, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "riscv_shorten_lw_offset", "(", "rtx", "base", ",", "HOST_WIDE_INT", "offset", ")", "{", "rtx", "addr", ",", "high", ";", "high", "=", "GEN_INT", "(", "offset", "&", "~", "CSW_MAX_OFFSET", ")", ";", "offset", "&=", "CSW_MAX_OFFSET", ";", "if", "(", "!", "SMALL_OPERAND", "(", "INTVAL", "(", "high", ")", ")", ")", "high", "=", "force_reg", "(", "Pmode", ",", "high", ")", ";", "base", "=", "force_reg", "(", "Pmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "high", ",", "base", ")", ")", ";", "addr", "=", "plus_constant", "(", "Pmode", ",", "base", ",", "offset", ")", ";", "return", "addr", ";", "}", ""], "natrual_language": ["Modify", "base", "+", "offset", "so", "that", "offset", "fits", "within", "a", "compressed", "load/store", "insn", "and", "the", "excess", "is", "added", "to", "base", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_shorten_lw_offset", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 493, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "riscv_function_arg", "(", "cumulative_args_t", "cum_v", ",", "enum", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "struct", "riscv_arg_info", "info", ";", "if", "(", "mode", "==", "VOIDmode", ")", "return", "NULL", ";", "return", "riscv_get_arg_info", "(", "&", "info", ",", "cum", ",", "mode", ",", "type", ",", "named", ",", "false", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_ARG", "."], "TS_V_token": ["riscv"], "File": "riscv2", "Func": "riscv_function_arg", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 494, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ignore_vlmul_insn_p", "(", "rtx_insn", "*", "rinsn", ")", "{", "return", "get_attr_type", "(", "rinsn", ")", "==", "TYPE_VIMOVVX", "||", "get_attr_type", "(", "rinsn", ")", "==", "TYPE_VFMOVVF", "||", "get_attr_type", "(", "rinsn", ")", "==", "TYPE_VIMOVXV", "||", "get_attr_type", "(", "rinsn", ")", "==", "TYPE_VFMOVFV", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "instruction", "ignores", "VLMUL", "field", "of", "VTYPE", "."], "TS_V_token": ["riscv"], "File": "riscv-vsetvl", "Func": "ignore_vlmul_insn_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 495, "Length": 39, "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": 496, "Length": 27, "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", ";", "}", "}", "}", ""], "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"], "File": "RISCVISelLowering32", "Func": "getTgtMemIntrinsic", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 497, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "RISCVTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "report_fatal_error", "(", "\"unimplemented operand\"", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "lowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "lowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "lowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "return", "lowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "lowerSELECT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "lowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "lowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "lowerRETURNADDR", "(", "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", "::", "BITCAST", ":", "{", "assert", "(", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Subtarget", ".", "hasStdExtF", "(", ")", "&&", "\"Unexpected custom legalisation\"", ")", ";", "SDLoc", "DL", "(", "Op", ")", ";", "SDValue", "Op0", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "if", "(", "Op", ".", "getValueType", "(", ")", "!=", "MVT", "::", "f32", "||", "Op0", ".", "getValueType", "(", ")", "!=", "MVT", "::", "i32", ")", "return", "SDValue", "(", ")", ";", "SDValue", "NewOp0", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ANY_EXTEND", ",", "DL", ",", "MVT", "::", "i64", ",", "Op0", ")", ";", "SDValue", "FPConv", "=", "DAG", ".", "getNode", "(", "RISCVISD", "::", "FMV_W_X_RV64", ",", "DL", ",", "MVT", "::", "f32", ",", "NewOp0", ")", ";", "return", "FPConv", ";", "}", "case", "ISD", "::", "EXTRACT_VECTOR_ELT", ":", "return", "lowerEXTRACT_VECTOR_ELT", "(", "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": ["RISCV", "RISCV", "\"unimplemented operand\"", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::ConstantPool", "ISD::GlobalTLSAddress", "ISD::SELECT", "ISD::VASTART", "ISD::FRAMEADDR", "ISD::RETURNADDR", "ISD::SHL_PARTS", "ISD::SRA_PARTS", "ISD::SRL_PARTS", "ISD::BITCAST", "\"Unexpected custom legalisation\"", "0", "MVT::f32", "MVT::i32", "ISD::ANY_EXTEND", "MVT::i64", "RISCVISD::FMV_W_X_RV64", "MVT::f32", "ISD::EXTRACT_VECTOR_ELT", "ISD::INTRINSIC_WO_CHAIN"], "File": "RISCVISelLowering41", "Func": "LowerOperation", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 498, "Length": 315, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "yaml", "::", "MachineFunctionInfo", "*", "RISCVTargetMachine", "::", "createDefaultFuncInfoYAML", "(", ")", "const", "{", "return", "new", "yaml", "::", "RISCVMachineFunctionInfo", "(", ")", ";", "}", ""], "natrual_language": ["Allocate", "and", "return", "a", "default", "initialized", "instance", "of", "the", "YAML", "representation", "for", "the", "MachineFunctionInfo", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV"], "File": "RISCVTargetMachine10", "Func": "createDefaultFuncInfoYAML", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 499, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "hashval_t", "registered_function_hasher", "::", "hash", "(", "value_type", "value", ")", "{", "return", "value", "->", "instance", ".", "hash", "(", ")", ";", "}", ""], "natrual_language": ["Hash", "function", "for", "builtin", "functions", "with", "up", "to", "3", "arguments", "and", "a", "return", "type", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "hash", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 500, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "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", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "Outs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "MVT", "VT", "=", "Outs", "[", "i", "]", ".", "VT", ";", "ISD", "::", "ArgFlagsTy", "ArgFlags", "=", "Outs", "[", "i", "]", ".", "Flags", ";", "if", "(", "CC_RISCV", "(", "MF", ".", "getDataLayout", "(", ")", ",", "i", ",", "VT", ",", "VT", ",", "CCValAssign", "::", "Full", ",", "ArgFlags", ",", "CCInfo", ",", "true", ",", "true", ")", ")", "return", "false", ";", "}", "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": ["RISCV", "RISCV", "ISD::OutputArg", "16", "0", "ISD::ArgFlagsTy", "RISCV"], "File": "RISCVISelLowering55", "Func": "CanLowerReturn", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 501, "Length": 137, "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": ["RISCV", "RISCV", "RISCV"], "File": "RISCVExpandPseudoInsts", "Func": "runOnMachineFunction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 502, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "addPass", "(", "createRISCVMergeBaseOffsetOptPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", ">", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createRISCVRemoveRedundancyVSETVLPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCV"], "File": "RISCVTargetMachine21", "Func": "addPreRegAlloc", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 503, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "RISCV", "::", "LB", ":", "case", "RISCV", "::", "LBU", ":", "case", "RISCV", "::", "LH", ":", "case", "RISCV", "::", "LHU", ":", "case", "RISCV", "::", "LW", ":", "case", "RISCV", "::", "FLW", ":", "case", "RISCV", "::", "LWU", ":", "case", "RISCV", "::", "LD", ":", "case", "RISCV", "::", "FLD", ":", "case", "RISCV", "::", "VLE_V_um", ":", "break", ";", "}", "if", "(", "(", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "VLE_V_um", ")", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "isFI", "(", ")", ")", "{", "FrameIndex", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "}", "else", "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": ["RISCV", "RISCV", "0", "RISCV::LB", "RISCV::LBU", "RISCV::LH", "RISCV::LHU", "RISCV::LW", "RISCV::FLW", "RISCV::LWU", "RISCV::LD", "RISCV::FLD", "RISCV::VLE_V_um", "RISCV::VLE_V_um", "1", "1", "0", "1", "2", "2", "0", "1", "0", "0"], "File": "RISCVInstrInfo31", "Func": "isLoadFromStackSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 504, "Length": 204, "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": ["RISCV"], "File": "RISCVCleanupVSETVLI", "Func": "getAnalysisUsage", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 505, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVMCExpr", "::", "evaluateAsConstant", "(", "int64_t", "&", "Res", ")", "const", "{", "MCValue", "Value", ";", "if", "(", "Kind", "==", "VK_RISCV_PCREL_HI", "||", "Kind", "==", "VK_RISCV_PCREL_LO", "||", "Kind", "==", "VK_RISCV_GOT_HI", "||", "Kind", "==", "VK_RISCV_TPREL_HI", "||", "Kind", "==", "VK_RISCV_TPREL_LO", "||", "Kind", "==", "VK_RISCV_TPREL_ADD", "||", "Kind", "==", "VK_RISCV_TLS_GOT_HI", "||", "Kind", "==", "VK_RISCV_TLS_GD_HI", "||", "Kind", "==", "VK_RISCV_CALL", "||", "Kind", "==", "VK_RISCV_CALL_PLT", "||", "Kind", "==", "VK_RISCV_CAPTAB_PCREL_HI", "||", "Kind", "==", "VK_RISCV_TPREL_CINCOFFSET", "||", "Kind", "==", "VK_RISCV_TLS_IE_CAPTAB_PCREL_HI", "||", "Kind", "==", "VK_RISCV_TLS_GD_CAPTAB_PCREL_HI", "||", "Kind", "==", "VK_RISCV_CCALL", ")", "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", "RISCV", "RISCV", "RISCV", "RISCV", "RISCV", "RISCV", "RISCV", "RISCV", "RISCV", "RISCV", "RISCV", "RISCV", "RISCV", "RISCV"], "File": "RISCVMCExpr12", "Func": "evaluateAsConstant", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 506, "Length": 125, "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": 507, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_setup_incoming_varargs", "(", "cumulative_args_t", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "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", ")", ",", "mode", ",", "type", ",", "1", ")", ";", "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", "1", "0", "0"], "File": "riscv2", "Func": "riscv_setup_incoming_varargs", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 508, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "riscv_expand_block_move", "(", "rtx", "dest", ",", "rtx", "src", ",", "rtx", "length", ")", "{", "if", "(", "CONST_INT_P", "(", "length", ")", ")", "{", "unsigned", "HOST_WIDE_INT", "hwi_length", "=", "UINTVAL", "(", "length", ")", ";", "unsigned", "HOST_WIDE_INT", "factor", ",", "align", ";", "align", "=", "MIN", "(", "MIN", "(", "MEM_ALIGN", "(", "src", ")", ",", "MEM_ALIGN", "(", "dest", ")", ")", ",", "BITS_PER_WORD", ")", ";", "factor", "=", "BITS_PER_WORD", "/", "align", ";", "if", "(", "optimize_function_for_size_p", "(", "cfun", ")", "&&", "hwi_length", "*", "factor", "*", "UNITS_PER_WORD", ">", "MOVE_RATIO", "(", "false", ")", ")", "return", "false", ";", "if", "(", "hwi_length", "<=", "(", "RISCV_MAX_MOVE_BYTES_STRAIGHT", "/", "factor", ")", ")", "{", "riscv_block_move_straight", "(", "dest", ",", "src", ",", "INTVAL", "(", "length", ")", ")", ";", "return", "true", ";", "}", "else", "if", "(", "optimize", "&&", "align", ">=", "BITS_PER_WORD", ")", "{", "unsigned", "min_iter_words", "=", "RISCV_MAX_MOVE_BYTES_PER_LOOP_ITER", "/", "UNITS_PER_WORD", ";", "unsigned", "iter_words", "=", "min_iter_words", ";", "unsigned", "HOST_WIDE_INT", "bytes", "=", "hwi_length", ";", "unsigned", "HOST_WIDE_INT", "words", "=", "bytes", "/", "UNITS_PER_WORD", ";", "for", "(", "unsigned", "i", "=", "min_iter_words", ";", "i", "<", "min_iter_words", "*", "2", "-", "1", ";", "i", "++", ")", "{", "unsigned", "cur_cost", "=", "iter_words", "+", "words", "%", "iter_words", ";", "unsigned", "new_cost", "=", "i", "+", "words", "%", "i", ";", "if", "(", "new_cost", "<=", "cur_cost", ")", "iter_words", "=", "i", ";", "}", "riscv_block_move_loop", "(", "dest", ",", "src", ",", "bytes", ",", "iter_words", "*", "UNITS_PER_WORD", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Expand", "a", "movmemsi", "instruction", ",", "which", "copies", "LENGTH", "bytes", "from", "memory", "reference", "SRC", "to", "memory", "reference", "DEST", "."], "TS_V_token": ["riscv", "2", "1"], "File": "riscv", "Func": "riscv_expand_block_move", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 509, "Length": 216, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "riscv_atomic_assign_expand_fenv", "(", "tree", "*", "hold", ",", "tree", "*", "clear", ",", "tree", "*", "update", ")", "{", "if", "(", "!", "(", "TARGET_HARD_FLOAT", "||", "TARGET_ZFINX", ")", ")", "return", ";", "tree", "frflags", "=", "GET_BUILTIN_DECL", "(", "CODE_FOR_riscv_frflags", ")", ";", "tree", "fsflags", "=", "GET_BUILTIN_DECL", "(", "CODE_FOR_riscv_fsflags", ")", ";", "tree", "old_flags", "=", "create_tmp_var_raw", "(", "RISCV_ATYPE_USI", ")", ";", "*", "hold", "=", "build4", "(", "TARGET_EXPR", ",", "RISCV_ATYPE_USI", ",", "old_flags", ",", "build_call_expr", "(", "frflags", ",", "0", ")", ",", "NULL_TREE", ",", "NULL_TREE", ")", ";", "*", "clear", "=", "build_call_expr", "(", "fsflags", ",", "1", ",", "old_flags", ")", ";", "*", "update", "=", "NULL_TREE", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ATOMIC_ASSIGN_EXPAND_FENV", "."], "TS_V_token": ["riscv", "0", "1"], "File": "riscv-builtins1", "Func": "riscv_atomic_assign_expand_fenv", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 510, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "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": "RISCVISelLowering11", "Func": "getExceptionPointerRegister", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 511, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "build", "(", "function_builder", "&", "b", ",", "const", "function_group_info", "&", "group", ")", "const", "override", "{", "auto_vec", "<", "tree", ">", "argument_types", ";", "function_instance", "function_instance", "(", "group", ".", "base_name", ",", "*", "group", ".", "base", ",", "*", "group", ".", "shape", ",", "group", ".", "ops_infos", ".", "types", "[", "0", "]", ",", "group", ".", "preds", "[", "0", "]", ",", "&", "group", ".", "ops_infos", ")", ";", "b", ".", "add_unique_function", "(", "function_instance", ",", "(", "*", "group", ".", "shape", ")", ",", "long_unsigned_type_node", ",", "argument_types", ")", ";", "}", ""], "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": ["riscv", "0", "0"], "File": "riscv-vector-builtins-shapes", "Func": "build", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 512, "Length": 79, "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": 513, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVTargetLowering", "::", "getExceptionSelectorRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "{", "if", "(", "Subtarget", ".", "isRV64", "(", ")", ")", "return", "RISCV", "::", "evec_64", ";", "else", "return", "RISCV", "::", "evec", ";", "}", ""], "natrual_language": ["If", "a", "physical", "register", ",", "this", "returns", "the", "register", "that", "receives", "the", "exception", "typeid", "on", "entry", "to", "a", "landing", "pad", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::evec_64", "RISCV::evec"], "File": "RISCVISelLowering (2)2", "Func": "getExceptionSelectorRegister", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 514, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_file_start", "(", "void", ")", "{", "default_file_start", "(", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.option %spic\\n\"", ",", "(", "flag_pic", "?", "\"\"", ":", "\"no\"", ")", ")", ";", "if", "(", "!", "riscv_mrelax", ")", "fprintf", "(", "asm_out_file", ",", "\"\\t.option norelax\\n\"", ")", ";", "if", "(", "riscv_emit_attribute_p", ")", "riscv_emit_attribute", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_FILE_START", "."], "TS_V_token": ["riscv", "\"\\t.option %spic\\n\"", "\"\"", "\"no\"", "\"\\t.option norelax\\n\""], "File": "riscv", "Func": "riscv_file_start", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 515, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "RISCVTargetLowering", "::", "emitMaskedAtomicCmpXchgIntrinsic", "(", "IRBuilder", "<", ">", "&", "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": "RISCVISelLowering", "Func": "emitMaskedAtomicCmpXchgIntrinsic", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 516, "Length": 214, "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", "(", "PrintAliases", "&&", "!", "NoAliases", ")", "Res", "=", "uncompressInst", "(", "UncompressedMI", ",", "*", "MI", ",", "MRI", ",", "STI", ")", ";", "if", "(", "Res", ")", "NewMI", "=", "const_cast", "<", "MCInst", "*", ">", "(", "&", "UncompressedMI", ")", ";", "if", "(", "!", "PrintAliases", "||", "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": "RISCVInstPrinter", "Func": "printInst", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 517, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmPrinter", "::", "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", "(", "!", "AsmPrinter", "::", "PrintAsmOperand", "(", "MI", ",", "OpNo", ",", "AsmVariant", ",", "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", "<<", "RISCVInstPrinter", "::", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", ";", "return", "false", ";", "default", ":", "break", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["RISCV", "RISCV", "0", "\"There are no defined alternate asm variants\"", "RISCV"], "File": "RISCVAsmPrinter14", "Func": "PrintAsmOperand", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 518, "Length": 132, "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", "::", "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::FSGNJ_D", "RISCV::FSGNJ_S", "1", "2", "1", "2", "RISCV::ADDI", "RISCV::ORI", "RISCV::XORI", "1", "1", "RISCV::X0", "2", "2", "0"], "File": "RISCVInstrInfo (2)", "Func": "isAsCheapAsAMove", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 519, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_cannot_force_const_mem", "(", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ")", "{", "enum", "riscv_symbol_type", "type", ";", "rtx", "base", ",", "offset", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "HIGH", ")", "return", "true", ";", "split_const", "(", "x", ",", "&", "base", ",", "&", "offset", ")", ";", "if", "(", "riscv_symbolic_constant_p", "(", "base", ",", "&", "type", ")", ")", "{", "if", "(", "SMALL_OPERAND", "(", "INTVAL", "(", "offset", ")", ")", "&&", "riscv_symbol_insns", "(", "type", ")", ">", "0", ")", "return", "true", ";", "if", "(", "flag_pic", ")", "return", "true", ";", "}", "if", "(", "tls_referenced_p", "(", "x", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CANNOT_FORCE_CONST_MEM", "."], "TS_V_token": ["riscv", "0"], "File": "riscv2", "Func": "riscv_cannot_force_const_mem", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 520, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_legitimize_const_move", "(", "machine_mode", "mode", ",", "rtx", "dest", ",", "rtx", "src", ")", "{", "rtx", "base", ",", "offset", ";", "if", "(", "splittable_const_int_operand", "(", "src", ",", "mode", ")", ")", "{", "riscv_move_integer", "(", "dest", ",", "dest", ",", "INTVAL", "(", "src", ")", ")", ";", "return", ";", "}", "if", "(", "riscv_split_symbol", "(", "dest", ",", "src", ",", "MAX_MACHINE_MODE", ",", "&", "src", ")", ")", "{", "riscv_emit_set", "(", "dest", ",", "src", ")", ";", "return", ";", "}", "if", "(", "riscv_tls_symbol_p", "(", "src", ")", ")", "{", "riscv_emit_move", "(", "dest", ",", "riscv_legitimize_tls_address", "(", "src", ")", ")", ";", "return", ";", "}", "split_const", "(", "src", ",", "&", "base", ",", "&", "offset", ")", ";", "if", "(", "offset", "!=", "const0_rtx", "&&", "(", "targetm", ".", "cannot_force_const_mem", "(", "mode", ",", "src", ")", "||", "can_create_pseudo_p", "(", ")", ")", ")", "{", "base", "=", "riscv_force_temporary", "(", "dest", ",", "base", ")", ";", "riscv_emit_move", "(", "dest", ",", "riscv_add_offset", "(", "NULL", ",", "base", ",", "INTVAL", "(", "offset", ")", ")", ")", ";", "return", ";", "}", "src", "=", "force_const_mem", "(", "mode", ",", "src", ")", ";", "riscv_split_symbol", "(", "dest", ",", "XEXP", "(", "src", ",", "0", ")", ",", "mode", ",", "&", "XEXP", "(", "src", ",", "0", ")", ")", ";", "riscv_emit_move", "(", "dest", ",", "src", ")", ";", "}", ""], "natrual_language": ["Subroutine", "of", "riscv_legitimize_move", ".", "Move", "constant", "SRC", "into", "register", "DEST", "given", "that", "SRC", "satisfies", "immediate_operand", "but", "does", "n't", "satisfy", "move_operand", "."], "TS_V_token": ["riscv", "0", "0"], "File": "riscv3", "Func": "riscv_legitimize_const_move", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 521, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "riscv_move_integer", "(", "rtx", "temp", ",", "rtx", "dest", ",", "HOST_WIDE_INT", "value", ")", "{", "struct", "riscv_integer_op", "codes", "[", "RISCV_MAX_INTEGER_OPS", "]", ";", "enum", "machine_mode", "mode", ";", "int", "i", ",", "num_ops", ";", "rtx", "x", ";", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "num_ops", "=", "riscv_build_integer", "(", "codes", ",", "value", ",", "mode", ")", ";", "if", "(", "can_create_pseudo_p", "(", ")", "&&", "num_ops", ">", "2", "&&", "num_ops", ">=", "riscv_split_integer_cost", "(", "value", ")", ")", "x", "=", "riscv_split_integer", "(", "value", ",", "mode", ")", ";", "else", "{", "x", "=", "GEN_INT", "(", "codes", "[", "0", "]", ".", "value", ")", ";", "for", "(", "i", "=", "1", ";", "i", "<", "num_ops", ";", "i", "++", ")", "{", "if", "(", "!", "can_create_pseudo_p", "(", ")", ")", "x", "=", "riscv_emit_set", "(", "temp", ",", "x", ")", ";", "else", "x", "=", "force_reg", "(", "mode", ",", "x", ")", ";", "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", "1"], "File": "riscv2", "Func": "riscv_move_integer", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 522, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RISCVSubtarget", "*", "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": ["RISCV", "RISCV"], "File": "RISCVTargetMachine (2)", "Func": "getSubtargetImpl", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 523, "Length": 17, "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", "(", ")", ")", ";", "const", "auto", "&", "STI", "=", "MF", "->", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "if", "(", "TM", ".", "isPositionIndependent", "(", ")", "||", "STI", ".", "is64Bit", "(", ")", ")", "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", "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": "RISCVInstrInfo15", "Func": "insertIndirectBranch", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 524, "Length": 290, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "riscv_gpr_save_operation_p", "(", "rtx", "op", ")", "{", "unsigned", "len", "=", "XVECLEN", "(", "op", ",", "0", ")", ";", "if", "(", "len", ">", "ARRAY_SIZE", "(", "gpr_save_reg_order", ")", ")", "return", "false", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "len", ";", "i", "++", ")", "{", "rtx", "elt", "=", "XVECEXP", "(", "op", ",", "0", ",", "i", ")", ";", "if", "(", "i", "==", "0", ")", "{", "if", "(", "GET_CODE", "(", "elt", ")", "!=", "UNSPEC_VOLATILE", "||", "GET_CODE", "(", "XVECEXP", "(", "elt", ",", "0", ",", "0", ")", ")", "!=", "CONST_INT", "||", "XINT", "(", "elt", ",", "1", ")", "!=", "UNSPECV_GPR_SAVE", ")", "return", "false", ";", "}", "else", "{", "unsigned", "expect_code", "=", "i", "<", "3", "?", "CLOBBER", ":", "USE", ";", "if", "(", "GET_CODE", "(", "elt", ")", "!=", "expect_code", "||", "!", "REG_P", "(", "XEXP", "(", "elt", ",", "1", ")", ")", "||", "(", "REGNO", "(", "XEXP", "(", "elt", ",", "1", ")", ")", "!=", "gpr_save_reg_order", "[", "i", "]", ")", ")", "return", "false", ";", "}", "break", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "'s", "valid", "gpr_save", "pattern", "."], "TS_V_token": ["riscv", "0", "0", "0", "0", "0", "0", "1", "3", "1", "1"], "File": "riscv", "Func": "riscv_gpr_save_operation_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 525, "Length": 160, "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": 526, "Length": 308, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVInstrInfo", "::", "reverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "if", "(", "Cond", "[", "0", "]", ".", "getImm", "(", ")", "==", "RISCV", "::", "HwlpBranch", ")", "{", "return", "true", ";", "}", "assert", "(", "(", "Cond", ".", "size", "(", ")", "==", "3", ")", "&&", "\"Invalid branch condition!\"", ")", ";", "Cond", "[", "0", "]", ".", "setImm", "(", "getOppositeBranchOpcode", "(", "Cond", "[", "0", "]", ".", "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": ["RISCV", "RISCV", "0", "RISCV::HwlpBranch", "3", "\"Invalid branch condition!\"", "0", "0"], "File": "RISCVInstrInfo2", "Func": "reverseBranchCondition", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 527, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_classify_address", "(", "struct", "riscv_address_info", "*", "info", ",", "rtx", "x", ",", "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", ":", "if", "(", "riscv_v_ext_vector_mode_p", "(", "mode", ")", ")", "return", "false", ";", "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", ":", "if", "(", "riscv_v_ext_vector_mode_p", "(", "mode", ")", ")", "return", "false", ";", "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", ",", "info", "->", "offset", ")", ")", ";", "case", "CONST_INT", ":", "if", "(", "riscv_v_ext_vector_mode_p", "(", "mode", ")", ")", "return", "false", ";", "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": "riscv1", "Func": "riscv_classify_address", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 528, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVInstrInfo", "::", "insertBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "TBB", ",", "MachineBasicBlock", "*", "FBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "const", "DebugLoc", "&", "DL", ",", "int", "*", "BytesAdded", ")", "const", "{", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "=", "0", ";", "assert", "(", "TBB", "&&", "\"insertBranch must not be told to insert a fallthrough\"", ")", ";", "assert", "(", "(", "Cond", ".", "size", "(", ")", "==", "3", "||", "Cond", ".", "size", "(", ")", "==", "0", ")", "&&", "\"RISCV branch conditions have two components!\"", ")", ";", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "MachineInstr", "&", "MI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "RISCV", "::", "PseudoBR", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "getInstSizeInBytes", "(", "MI", ")", ";", "return", "1", ";", "}", "unsigned", "Opc", "=", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ";", "MachineInstr", "&", "CondMI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "Opc", ")", ")", ".", "add", "(", "Cond", "[", "1", "]", ")", ".", "add", "(", "Cond", "[", "2", "]", ")", ".", "addMBB", "(", "TBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "getInstSizeInBytes", "(", "CondMI", ")", ";", "if", "(", "!", "FBB", ")", "return", "1", ";", "MachineInstr", "&", "MI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "RISCV", "::", "PseudoBR", ")", ")", ".", "addMBB", "(", "FBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "getInstSizeInBytes", "(", "MI", ")", ";", "return", "2", ";", "}", ""], "natrual_language": ["Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "."], "TS_V_token": ["RISCV", "RISCV", "0", "\"insertBranch must not be told to insert a fallthrough\"", "3", "0", "\"RISCV branch conditions have two components!\"", "RISCV::PseudoBR", "1", "0", "1", "2", "1", "RISCV::PseudoBR", "2"], "File": "RISCVInstrInfo11", "Func": "insertBranch", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 529, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_block_move_loop", "(", "rtx", "dest", ",", "rtx", "src", ",", "unsigned", "HOST_WIDE_INT", "length", ",", "unsigned", "HOST_WIDE_INT", "bytes_per_iter", ")", "{", "rtx", "label", ",", "src_reg", ",", "dest_reg", ",", "final_src", ",", "test", ";", "unsigned", "HOST_WIDE_INT", "leftover", ";", "leftover", "=", "length", "%", "bytes_per_iter", ";", "length", "-=", "leftover", ";", "riscv_adjust_block_mem", "(", "src", ",", "bytes_per_iter", ",", "&", "src_reg", ",", "&", "src", ")", ";", "riscv_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", ")", ";", "label", "=", "gen_label_rtx", "(", ")", ";", "emit_label", "(", "label", ")", ";", "riscv_block_move_straight", "(", "dest", ",", "src", ",", "bytes_per_iter", ")", ";", "riscv_emit_move", "(", "src_reg", ",", "plus_constant", "(", "Pmode", ",", "src_reg", ",", "bytes_per_iter", ")", ")", ";", "riscv_emit_move", "(", "dest_reg", ",", "plus_constant", "(", "Pmode", ",", "dest_reg", ",", "bytes_per_iter", ")", ")", ";", "test", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "src_reg", ",", "final_src", ")", ";", "emit_jump_insn", "(", "gen_cbranch4", "(", "Pmode", ",", "test", ",", "src_reg", ",", "final_src", ",", "label", ")", ")", ";", "if", "(", "leftover", ")", "riscv_block_move_straight", "(", "dest", ",", "src", ",", "leftover", ")", ";", "else", "emit_insn", "(", "gen_nop", "(", ")", ")", ";", "}", ""], "natrual_language": ["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": ["riscv", "0", "0"], "File": "riscv", "Func": "riscv_block_move_loop", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 530, "Length": 189, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "const_vec_all_same_in_range_p", "(", "rtx", "x", ",", "HOST_WIDE_INT", "minval", ",", "HOST_WIDE_INT", "maxval", ")", "{", "rtx", "elt", ";", "return", "(", "const_vec_duplicate_p", "(", "x", ",", "&", "elt", ")", "&&", "CONST_INT_P", "(", "elt", ")", "&&", "IN_RANGE", "(", "INTVAL", "(", "elt", ")", ",", "minval", ",", "maxval", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "const_vector", "with", "all", "duplicate", "elements", ",", "which", "is", "in", "the", "range", "between", "MINVAL", "and", "MAXVAL", "."], "TS_V_token": ["riscv"], "File": "riscv-v", "Func": "const_vec_all_same_in_range_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 531, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "RISCVRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "auto", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"interrupt\"", ")", ")", "{", "if", "(", "Subtarget", ".", "hasStdExtD", "(", ")", ")", "return", "CSR_XLEN_F64_Interrupt_SaveList", ";", "if", "(", "Subtarget", ".", "hasStdExtF", "(", ")", ")", "return", "CSR_XLEN_F32_Interrupt_SaveList", ";", "return", "CSR_Interrupt_SaveList", ";", "}", "switch", "(", "Subtarget", ".", "getTargetABI", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unrecognized ABI\"", ")", ";", "case", "RISCVABI", "::", "ABI_ILP32", ":", "case", "RISCVABI", "::", "ABI_LP64", ":", "return", "CSR_ILP32_LP64_SaveList", ";", "case", "RISCVABI", "::", "ABI_ILP32F", ":", "case", "RISCVABI", "::", "ABI_LP64F", ":", "return", "CSR_ILP32F_LP64F_SaveList", ";", "case", "RISCVABI", "::", "ABI_ILP32D", ":", "case", "RISCVABI", "::", "ABI_LP64D", ":", "return", "CSR_ILP32D_LP64D_SaveList", ";", "}", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "\"interrupt\"", "\"Unrecognized ABI\"", "RISCVABI::ABI_ILP32", "RISCVABI::ABI_LP64", "RISCVABI::ABI_ILP32F", "RISCVABI::ABI_LP64F", "RISCVABI::ABI_ILP32D", "RISCVABI::ABI_LP64D"], "File": "RISCVRegisterInfo10", "Func": "getCalleeSavedRegs", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 532, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "Register", "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", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", "->", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "*", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlign", "(", "FI", ")", ")", ";", "unsigned", "Opcode", ";", "if", "(", "RISCV", "::", "GPRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "TRI", "->", "getRegSizeInBits", "(", "RISCV", "::", "GPRRegClass", ")", "==", "32", "?", "RISCV", "::", "SW", ":", "RISCV", "::", "SD", ";", "else", "if", "(", "RISCV", "::", "FPR16RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "RISCV", "::", "FSH", ";", "else", "if", "(", "RISCV", "::", "FPR32RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "RISCV", "::", "FSW", ";", "else", "if", "(", "RISCV", "::", "FPR64RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "RISCV", "::", "FSD", ";", "else", "llvm_unreachable", "(", "\"Can't store this register to stack slot\"", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opcode", ")", ")", ".", "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": ["RISCV", "RISCV", "RISCV::GPRRegClass", "RISCV::GPRRegClass", "32", "RISCV::SW", "RISCV::SD", "RISCV::FPR16RegClass", "RISCV::FSH", "RISCV::FPR32RegClass", "RISCV::FSW", "RISCV::FPR64RegClass", "RISCV::FSD", "\"Can't store this register to stack slot\"", "0"], "File": "RISCVInstrInfo19", "Func": "storeRegToStackSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 533, "Length": 249, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "hasAndNotCompare", "(", "SDValue", "Y", ")", "const", "{", "EVT", "VT", "=", "Y", ".", "getValueType", "(", ")", ";", "if", "(", "VT", ".", "isVector", "(", ")", ")", "return", "false", ";", "return", "Subtarget", ".", "hasStdExtZbb", "(", ")", "&&", "!", "isa", "<", "ConstantSDNode", ">", "(", "Y", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "should", "transform", ":", "(", "X", "&", "Y", ")", "==", "Y", "\ufffd", "?", "(", "~X", "&", "Y", ")", "==", "0", "(", "X", "&", "Y", ")", "!", "=", "Y", "\ufffd", "?", "(", "~X", "&", "Y", ")", "!", "=", "0", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVISelLowering80", "Func": "hasAndNotCompare", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 534, "Length": 47, "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": 535, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_can_eliminate", "(", "const", "int", "from", "ATTRIBUTE_UNUSED", ",", "const", "int", "to", ")", "{", "return", "(", "to", "==", "HARD_FRAME_POINTER_REGNUM", "||", "to", "==", "STACK_POINTER_REGNUM", ")", ";", "}", ""], "natrual_language": ["Make", "sure", "that", "we", "'re", "not", "trying", "to", "eliminate", "to", "the", "wrong", "hard", "frame", "pointer", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_can_eliminate", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 536, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTTIImpl", "::", "isHardwareLoopProfitable", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "AssumptionCache", "&", "AC", ",", "TargetLibraryInfo", "*", "LibInfo", ",", "HardwareLoopInfo", "&", "HWLoopInfo", ")", "{", "if", "(", "!", "ST", "->", "hasNonStdExtPulp", "(", ")", ")", "{", "return", "false", ";", "}", "if", "(", "!", "SE", ".", "hasLoopInvariantBackedgeTakenCount", "(", "L", ")", ")", "{", "return", "false", ";", "}", "const", "SCEV", "*", "BackedgeTakenCount", "=", "SE", ".", "getBackedgeTakenCount", "(", "L", ")", ";", "if", "(", "isa", "<", "SCEVCouldNotCompute", ">", "(", "BackedgeTakenCount", ")", ")", "{", "return", "false", ";", "}", "const", "SCEV", "*", "TripCountSCEV", "=", "SE", ".", "getAddExpr", "(", "BackedgeTakenCount", ",", "SE", ".", "getOne", "(", "BackedgeTakenCount", "->", "getType", "(", ")", ")", ")", ";", "if", "(", "SE", ".", "getUnsignedRangeMax", "(", "TripCountSCEV", ")", ".", "getBitWidth", "(", ")", ">", "32", ")", "{", "return", "false", ";", "}", "auto", "MaybeCall", "=", "[", "this", "]", "(", "Instruction", "&", "I", ")", "{", "const", "RISCVTargetLowering", "*", "TLI", "=", "getTLI", "(", ")", ";", "unsigned", "ISD", "=", "TLI", "->", "InstructionOpcodeToISD", "(", "I", ".", "getOpcode", "(", ")", ")", ";", "EVT", "VT", "=", "TLI", "->", "getValueType", "(", "DL", ",", "I", ".", "getType", "(", ")", ",", "true", ")", ";", "if", "(", "TLI", "->", "getOperationAction", "(", "ISD", ",", "VT", ")", "==", "TargetLowering", "::", "LibCall", ")", "return", "true", ";", "if", "(", "auto", "*", "Call", "=", "dyn_cast", "<", "CallInst", ">", "(", "&", "I", ")", ")", "{", "if", "(", "isa", "<", "IntrinsicInst", ">", "(", "Call", ")", ")", "{", "if", "(", "const", "Function", "*", "F", "=", "Call", "->", "getCalledFunction", "(", ")", ")", "return", "isLoweredToCall", "(", "F", ")", ";", "}", "return", "true", ";", "}", "if", "(", "VT", ".", "isFloatingPoint", "(", ")", "&&", "!", "TLI", "->", "isOperationLegalOrCustom", "(", "ISD", ",", "VT", ")", ")", "return", "true", ";", "return", "false", ";", "}", ";", "auto", "IsHardwareLoopIntrinsic", "=", "[", "]", "(", "Instruction", "&", "I", ")", "{", "if", "(", "auto", "*", "Call", "=", "dyn_cast", "<", "IntrinsicInst", ">", "(", "&", "I", ")", ")", "{", "switch", "(", "Call", "->", "getIntrinsicID", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Intrinsic", "::", "set_loop_iterations", ":", "case", "Intrinsic", "::", "test_set_loop_iterations", ":", "case", "Intrinsic", "::", "loop_decrement", ":", "case", "Intrinsic", "::", "loop_decrement_reg", ":", "return", "true", ";", "}", "}", "return", "false", ";", "}", ";", "bool", "hasInnerHardwareLoop", "=", "false", ";", "auto", "ScanLoop", "=", "[", "&", "]", "(", "Loop", "*", "L", ")", "{", "for", "(", "auto", "*", "BB", ":", "L", "->", "getBlocks", "(", ")", ")", "{", "for", "(", "auto", "&", "I", ":", "BB", "->", "instructionsWithoutDebug", "(", ")", ")", "{", "hasInnerHardwareLoop", "|=", "IsHardwareLoopIntrinsic", "(", "I", ")", ";", "if", "(", "MaybeCall", "(", "I", ")", ")", "{", "return", "false", ";", "}", "}", "}", "return", "true", ";", "}", ";", "for", "(", "auto", "Inner", ":", "*", "L", ")", "if", "(", "!", "ScanLoop", "(", "Inner", ")", ")", "return", "false", ";", "if", "(", "!", "ScanLoop", "(", "L", ")", ")", "return", "false", ";", "LLVMContext", "&", "C", "=", "L", "->", "getHeader", "(", ")", "->", "getContext", "(", ")", ";", "HWLoopInfo", ".", "CounterInReg", "=", "false", ";", "HWLoopInfo", ".", "IsNestingLegal", "=", "!", "hasInnerHardwareLoop", ";", "HWLoopInfo", ".", "PerformEntryTest", "=", "false", ";", "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": ["RISCV", "RISCV", "32", "RISCV", "Intrinsic::set_loop_iterations", "Intrinsic::test_set_loop_iterations", "Intrinsic::loop_decrement", "Intrinsic::loop_decrement_reg", "1"], "File": "RISCVTargetTransformInfo17", "Func": "isHardwareLoopProfitable", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 537, "Length": 505, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "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": ["riscv", "1", "0", "1", "0"], "File": "thead", "Func": "split_plus", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 538, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVFrameLowering", "::", "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": ["RISCV", "RISCV"], "File": "RISCVFrameLowering", "Func": "hasReservedCallFrame", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 539, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "return", "AsmPrinter", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV"], "File": "RISCVAsmPrinter (2)", "Func": "runOnMachineFunction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 540, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVPassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "Aggressive", "&&", "EnableGEPOpt", ")", "{", "addPass", "(", "createSeparateConstOffsetFromGEPPass", "(", "true", ")", ")", ";", "addPass", "(", "createEarlyCSEPass", "(", ")", ")", ";", "addPass", "(", "createLICMPass", "(", ")", ")", ";", "}", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVTargetMachine41", "Func": "addIRPasses", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 541, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint8_t", "get_sew", "(", ")", "const", "{", "return", "m_sew", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "get", "SEW", "operand", ".", "We", "always", "have", "SEW", "value", "for", "all", "RVV", "instructions", "that", "have", "VTYPE", "OP", "."], "TS_V_token": ["riscv"], "File": "riscv-vsetvl", "Func": "get_sew", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 542, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_pass_by_reference", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "HOST_WIDE_INT", "size", "=", "arg", ".", "type_size_in_bytes", "(", ")", ".", "to_constant", "(", ")", ";", ";", "struct", "riscv_arg_info", "info", ";", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "if", "(", "cum", "!=", "NULL", ")", "{", "riscv_get_arg_info", "(", "&", "info", ",", "cum", ",", "arg", ".", "mode", ",", "arg", ".", "type", ",", "arg", ".", "named", ",", "false", ")", ";", "if", "(", "info", ".", "num_fprs", ")", "return", "false", ";", "}", "return", "!", "IN_RANGE", "(", "size", ",", "0", ",", "2", "*", "UNITS_PER_WORD", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PASS_BY_REFERENCE", "."], "TS_V_token": ["riscv", "0", "2"], "File": "riscv1", "Func": "riscv_pass_by_reference", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 543, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "RISCVConstantPoolValue", "*", "RISCVConstantPoolValue", "::", "Create", "(", "const", "GlobalValue", "*", "GV", ",", "RISCVCP", "::", "RISCVCPModifier", "Modifier", ")", "{", "return", "new", "RISCVConstantPoolValue", "(", "GV", ",", "Modifier", ")", ";", "}", ""], "natrual_language": ["Construct", "a", "unary", "instruction", ",", "given", "the", "opcode", "and", "an", "operand", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCVCP::RISCVCPModifier", "RISCV"], "File": "RISCVConstantPoolValue", "Func": "Create", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 544, "Length": 27, "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", "{", "MCContext", "&", "Ctx", "=", "Asm", ".", "getContext", "(", ")", ";", "MCFixupKindInfo", "Info", "=", "getFixupKindInfo", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "Value", "<<=", "Info", ".", "TargetOffset", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "Info", ".", "TargetSize", "+", "7", ")", "/", "8", ";", "assert", "(", "Offset", "+", "NumBytes", "<=", "Data", ".", "size", "(", ")", "&&", "\"Invalid fixup offset!\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "4", ";", "++", "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": ["RISCV", "RISCV", "7", "8", "\"Invalid fixup offset!\"", "0", "4", "8", "0xff"], "File": "RISCVAsmBackend25", "Func": "applyFixup", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 545, "Length": 156, "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", "::", "FeatureStdExtB", ")", ")", "Arch", "+=", "\"_b0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureStdExtV", ")", ")", "Arch", "+=", "\"_v0p10\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZfh", ")", ")", "Arch", "+=", "\"_zfh0p1\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZba", ")", ")", "Arch", "+=", "\"_zba0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZbb", ")", ")", "Arch", "+=", "\"_zbb0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZbc", ")", ")", "Arch", "+=", "\"_zbc0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZbe", ")", ")", "Arch", "+=", "\"_zbe0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZbf", ")", ")", "Arch", "+=", "\"_zbf0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZbm", ")", ")", "Arch", "+=", "\"_zbm0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZbp", ")", ")", "Arch", "+=", "\"_zbp0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZbproposedc", ")", ")", "Arch", "+=", "\"_zbproposedc0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZbr", ")", ")", "Arch", "+=", "\"_zbr0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZbs", ")", ")", "Arch", "+=", "\"_zbs0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZbt", ")", ")", "Arch", "+=", "\"_zbt0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZvamo", ")", ")", "Arch", "+=", "\"_zvamo0p10\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureStdExtZvlsseg", ")", ")", "Arch", "+=", "\"_zvlsseg0p10\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureCheri", ")", ")", "Arch", "+=", "\"_xcheri0p0\"", ";", "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::FeatureStdExtB", "\"_b0p93\"", "RISCV::FeatureStdExtV", "\"_v0p10\"", "RISCV::FeatureExtZfh", "\"_zfh0p1\"", "RISCV::FeatureExtZba", "\"_zba0p93\"", "RISCV::FeatureExtZbb", "\"_zbb0p93\"", "RISCV::FeatureExtZbc", "\"_zbc0p93\"", "RISCV::FeatureExtZbe", "\"_zbe0p93\"", "RISCV::FeatureExtZbf", "\"_zbf0p93\"", "RISCV::FeatureExtZbm", "\"_zbm0p93\"", "RISCV::FeatureExtZbp", "\"_zbp0p93\"", "RISCV::FeatureExtZbproposedc", "\"_zbproposedc0p93\"", "RISCV::FeatureExtZbr", "\"_zbr0p93\"", "RISCV::FeatureExtZbs", "\"_zbs0p93\"", "RISCV::FeatureExtZbt", "\"_zbt0p93\"", "RISCV::FeatureExtZvamo", "\"_zvamo0p10\"", "RISCV::FeatureStdExtZvlsseg", "\"_zvlsseg0p10\"", "RISCV::FeatureCheri", "\"_xcheri0p0\"", "RISCVAttrs::ARCH"], "File": "RISCVTargetStreamer12", "Func": "emitTargetAttributes", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 546, "Length": 427, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "bool", "function_base", "::", "has_merge_operand_p", "(", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["We", "choose", "to", "return", "true", "by", "default", "since", "most", "of", "the", "intrinsics", "use", "has", "merge", "operand", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "has_merge_operand_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 547, "Length": 13, "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", "(", "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", ")", ";", "}", "}", "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": "RISCVInstrInfo14", "Func": "convertToThreeAddress", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 548, "Length": 374, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVInstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "{", "if", "(", "MI", ".", "getParent", "(", ")", "&&", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ")", "{", "const", "auto", "MF", "=", "MI", ".", "getMF", "(", ")", ";", "const", "auto", "&", "TM", "=", "static_cast", "<", "const", "RISCVTargetMachine", "&", ">", "(", "MF", "->", "getTarget", "(", ")", ")", ";", "const", "MCRegisterInfo", "&", "MRI", "=", "*", "TM", ".", "getMCRegisterInfo", "(", ")", ";", "const", "MCSubtargetInfo", "&", "STI", "=", "*", "TM", ".", "getMCSubtargetInfo", "(", ")", ";", "const", "RISCVSubtarget", "&", "ST", "=", "MF", "->", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "if", "(", "isCompressibleInst", "(", "MI", ",", "&", "ST", ",", "MRI", ",", "STI", ")", ")", "return", "2", ";", "}", "return", "get", "(", "Opcode", ")", ".", "getSize", "(", ")", ";", "}", "case", "TargetOpcode", "::", "EH_LABEL", ":", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "KILL", ":", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "return", "0", ";", "case", "RISCV", "::", "PseudoCALLReg", ":", "case", "RISCV", "::", "PseudoCALL", ":", "case", "RISCV", "::", "PseudoJump", ":", "case", "RISCV", "::", "PseudoTAIL", ":", "case", "RISCV", "::", "PseudoLLA", ":", "case", "RISCV", "::", "PseudoLA", ":", "case", "RISCV", "::", "PseudoLA_TLS_IE", ":", "case", "RISCV", "::", "PseudoLA_TLS_GD", ":", "return", "8", ";", "case", "RISCV", "::", "PseudoAtomicLoadNand32", ":", "case", "RISCV", "::", "PseudoAtomicLoadNand64", ":", "return", "20", ";", "case", "RISCV", "::", "PseudoMaskedAtomicSwap32", ":", "case", "RISCV", "::", "PseudoMaskedAtomicLoadAdd32", ":", "case", "RISCV", "::", "PseudoMaskedAtomicLoadSub32", ":", "return", "28", ";", "case", "RISCV", "::", "PseudoMaskedAtomicLoadNand32", ":", "return", "32", ";", "case", "RISCV", "::", "PseudoMaskedAtomicLoadMax32", ":", "case", "RISCV", "::", "PseudoMaskedAtomicLoadMin32", ":", "return", "44", ";", "case", "RISCV", "::", "PseudoMaskedAtomicLoadUMax32", ":", "case", "RISCV", "::", "PseudoMaskedAtomicLoadUMin32", ":", "return", "36", ";", "case", "RISCV", "::", "PseudoCmpXchg32", ":", "case", "RISCV", "::", "PseudoCmpXchg64", ":", "return", "16", ";", "case", "RISCV", "::", "PseudoMaskedCmpXchg32", ":", "return", "32", ";", "case", "TargetOpcode", "::", "INLINEASM", ":", "case", "TargetOpcode", "::", "INLINEASM_BR", ":", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "auto", "&", "TM", "=", "static_cast", "<", "const", "RISCVTargetMachine", "&", ">", "(", "MF", ".", "getTarget", "(", ")", ")", ";", "return", "getInlineAsmLength", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getSymbolName", "(", ")", ",", "*", "TM", ".", "getMCAsmInfo", "(", ")", ")", ";", "}", "case", "RISCV", "::", "PseudoVSPILL2_M1", ":", "case", "RISCV", "::", "PseudoVSPILL2_M2", ":", "case", "RISCV", "::", "PseudoVSPILL2_M4", ":", "case", "RISCV", "::", "PseudoVSPILL3_M1", ":", "case", "RISCV", "::", "PseudoVSPILL3_M2", ":", "case", "RISCV", "::", "PseudoVSPILL4_M1", ":", "case", "RISCV", "::", "PseudoVSPILL4_M2", ":", "case", "RISCV", "::", "PseudoVSPILL5_M1", ":", "case", "RISCV", "::", "PseudoVSPILL6_M1", ":", "case", "RISCV", "::", "PseudoVSPILL7_M1", ":", "case", "RISCV", "::", "PseudoVSPILL8_M1", ":", "case", "RISCV", "::", "PseudoVRELOAD2_M1", ":", "case", "RISCV", "::", "PseudoVRELOAD2_M2", ":", "case", "RISCV", "::", "PseudoVRELOAD2_M4", ":", "case", "RISCV", "::", "PseudoVRELOAD3_M1", ":", "case", "RISCV", "::", "PseudoVRELOAD3_M2", ":", "case", "RISCV", "::", "PseudoVRELOAD4_M1", ":", "case", "RISCV", "::", "PseudoVRELOAD4_M2", ":", "case", "RISCV", "::", "PseudoVRELOAD5_M1", ":", "case", "RISCV", "::", "PseudoVRELOAD6_M1", ":", "case", "RISCV", "::", "PseudoVRELOAD7_M1", ":", "case", "RISCV", "::", "PseudoVRELOAD8_M1", ":", "{", "unsigned", "NF", "=", "isRVVSpillForZvlsseg", "(", "Opcode", ")", "->", "first", ";", "return", "4", "*", "(", "2", "*", "NF", "-", "1", ")", ";", "}", "}", "}", ""], "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": ["RISCV", "RISCV", "RISCV", "RISCV", "RISCV", "2", "0", "RISCV::PseudoCALLReg", "RISCV::PseudoCALL", "RISCV::PseudoJump", "RISCV::PseudoTAIL", "RISCV::PseudoLLA", "RISCV::PseudoLA", "RISCV::PseudoLA_TLS_IE", "RISCV::PseudoLA_TLS_GD", "8", "RISCV::PseudoAtomicLoadNand32", "RISCV::PseudoAtomicLoadNand64", "20", "RISCV::PseudoMaskedAtomicSwap32", "RISCV::PseudoMaskedAtomicLoadAdd32", "RISCV::PseudoMaskedAtomicLoadSub32", "28", "RISCV::PseudoMaskedAtomicLoadNand32", "32", "RISCV::PseudoMaskedAtomicLoadMax32", "RISCV::PseudoMaskedAtomicLoadMin32", "44", "RISCV::PseudoMaskedAtomicLoadUMax32", "RISCV::PseudoMaskedAtomicLoadUMin32", "36", "RISCV::PseudoCmpXchg32", "RISCV::PseudoCmpXchg64", "16", "RISCV::PseudoMaskedCmpXchg32", "32", "RISCV", "0", "RISCV::PseudoVSPILL2_M1", "RISCV::PseudoVSPILL2_M2", "RISCV::PseudoVSPILL2_M4", "RISCV::PseudoVSPILL3_M1", "RISCV::PseudoVSPILL3_M2", "RISCV::PseudoVSPILL4_M1", "RISCV::PseudoVSPILL4_M2", "RISCV::PseudoVSPILL5_M1", "RISCV::PseudoVSPILL6_M1", "RISCV::PseudoVSPILL7_M1", "RISCV::PseudoVSPILL8_M1", "RISCV::PseudoVRELOAD2_M1", "RISCV::PseudoVRELOAD2_M2", "RISCV::PseudoVRELOAD2_M4", "RISCV::PseudoVRELOAD3_M1", "RISCV::PseudoVRELOAD3_M2", "RISCV::PseudoVRELOAD4_M1", "RISCV::PseudoVRELOAD4_M2", "RISCV::PseudoVRELOAD5_M1", "RISCV::PseudoVRELOAD6_M1", "RISCV::PseudoVRELOAD7_M1", "RISCV::PseudoVRELOAD8_M1", "4", "2", "1"], "File": "RISCVInstrInfo (2)", "Func": "getInstSizeInBytes", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 549, "Length": 500, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "RISCVRegisterInfo", "::", "getLargestLegalSuperClass", "(", "const", "TargetRegisterClass", "*", "RC", ",", "const", "MachineFunction", "&", ")", "const", "{", "if", "(", "RC", "==", "&", "RISCV", "::", "VMV0RegClass", ")", "return", "&", "RISCV", "::", "VRRegClass", ";", "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": ["RISCV", "RISCV", "RISCV::VMV0RegClass", "RISCV::VRRegClass"], "File": "RISCVRegisterInfo12", "Func": "getLargestLegalSuperClass", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 550, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVRegisterInfo", "::", "isConstantPhysReg", "(", "MCRegister", "PhysReg", ")", "const", "{", "return", "PhysReg", "==", "RISCV", "::", "X0", "||", "PhysReg", "==", "RISCV", "::", "C0", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "PhysReg", "is", "unallocatable", "and", "constant", "throughout", "the", "function", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::X0", "RISCV::C0"], "File": "RISCVRegisterInfo17", "Func": "isConstantPhysReg", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 551, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_function_arg_advance", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "struct", "riscv_arg_info", "info", ";", "riscv_get_arg_info", "(", "&", "info", ",", "cum", ",", "mode", ",", "type", ",", "named", ",", "false", ")", ";", "cum", "->", "num_fprs", "=", "info", ".", "fpr_offset", "+", "info", ".", "num_fprs", ";", "cum", "->", "num_gprs", "=", "info", ".", "gpr_offset", "+", "info", ".", "num_gprs", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_ARG_ADVANCE", "."], "TS_V_token": ["riscv"], "File": "riscv3", "Func": "riscv_function_arg_advance", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 552, "Length": 71, "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", ")", "{", "APInt", "C1Int", "=", "C1", "->", "getAPIntValue", "(", ")", ";", "APInt", "ShiftedC1Int", "=", "C1Int", "<<", "C2", "->", "getAPIntValue", "(", ")", ";", "if", "(", "isLegalAddImmediate", "(", "ShiftedC1Int", ".", "getSExtValue", "(", ")", ")", ")", "return", "true", ";", "if", "(", "isLegalAddImmediate", "(", "C1Int", ".", "getSExtValue", "(", ")", ")", ")", "return", "false", ";", "int", "C1Cost", "=", "RISCVMatInt", "::", "getIntMatCost", "(", "C1Int", ",", "Ty", ".", "getSizeInBits", "(", ")", ",", "Subtarget", ".", "is64Bit", "(", ")", ")", ";", "int", "ShiftedC1Cost", "=", "RISCVMatInt", "::", "getIntMatCost", "(", "ShiftedC1Int", ",", "Ty", ".", "getSizeInBits", "(", ")", ",", "Subtarget", ".", "is64Bit", "(", ")", ")", ";", "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", "RISCVMatInt::getIntMatCost", "RISCVMatInt::getIntMatCost"], "File": "RISCVISelLowering16", "Func": "isDesirableToCommuteWithShift", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 553, "Length": 213, "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": 554, "Length": 15, "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": 555, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "machine_function", "*", "riscv_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": ["riscv"], "File": "riscv", "Func": "riscv_init_machine_status", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 556, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "RISCVRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "RISCVFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "for", "(", "size_t", "Reg", "=", "0", ";", "Reg", "<", "getNumRegs", "(", ")", ";", "Reg", "++", ")", "{", "if", "(", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ".", "isRegisterReservedByUser", "(", "Reg", ")", ")", "markSuperRegs", "(", "Reserved", ",", "Reg", ")", ";", "}", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X0", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X2", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X3", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X4", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X8", ")", ";", "if", "(", "TFI", "->", "hasBP", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "RISCVABI", "::", "getBPReg", "(", ")", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "VL", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "VTYPE", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "VXSAT", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "VXRM", ")", ";", "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": ["RISCV", "RISCV", "RISCV", "0", "RISCV", "RISCV::X0", "RISCV::X2", "RISCV::X3", "RISCV::X4", "RISCV::X8", "RISCVABI::getBPReg", "RISCV::VL", "RISCV::VTYPE", "RISCV::VXSAT", "RISCV::VXRM"], "File": "RISCVRegisterInfo1", "Func": "getReservedRegs", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 557, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "void", "function_expander", "::", "add_fixed_operand", "(", "rtx", "x", ")", "{", "create_fixed_operand", "(", "&", "m_ops", "[", "opno", "++", "]", ",", "x", ")", ";", "}", ""], "natrual_language": ["Add", "an", "operand", "that", "must", "be", "X", ".", "The", "only", "way", "of", "legitimizing", "an", "invalid", "X", "is", "to", "reload", "the", "address", "of", "a", "MEM", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "add_fixed_operand", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 558, "Length": 23, "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": 559, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "RISCVRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "auto", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"interrupt\"", ")", ")", "{", "if", "(", "Subtarget", ".", "hasStdExtD", "(", ")", ")", "return", "CSR_XLEN_F64_Interrupt_SaveList", ";", "if", "(", "Subtarget", ".", "hasStdExtF", "(", ")", ")", "return", "CSR_XLEN_F32_Interrupt_SaveList", ";", "return", "CSR_Interrupt_SaveList", ";", "}", "return", "CSR_ILP32_LP64_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "\"interrupt\""], "File": "RISCVRegisterInfo31", "Func": "getCalleeSavedRegs", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 560, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "RISCVDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "SDLoc", "DL", "(", "Node", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"Selecting: \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"== \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "return", "0", ";", "}", "unsigned", "Opcode", "=", "Node", "->", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "case", "ISD", "::", "FrameIndex", ":", "{", "SDValue", "imm", "=", "CurDAG", "->", "getTargetConstant", "(", "0", ",", "DL", ",", "Subtarget", ".", "isRV64", "(", ")", "?", "MVT", "::", "i64", ":", "MVT", "::", "i32", ")", ";", "int", "FI", "=", "cast", "<", "FrameIndexSDNode", ">", "(", "Node", ")", "->", "getIndex", "(", ")", ";", "SDValue", "TFI", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "getTargetLowering", "(", ")", "->", "getPointerTy", "(", "CurDAG", "->", "getDataLayout", "(", ")", ")", ")", ";", "unsigned", "Opc", "=", "Subtarget", ".", "isRV64", "(", ")", "?", "RISCV", "::", "ADDI64", ":", "RISCV", "::", "ADDI", ";", "EVT", "VT", "=", "Subtarget", ".", "isRV64", "(", ")", "?", "MVT", "::", "i64", ":", "MVT", "::", "i32", ";", "if", "(", "Node", "->", "hasOneUse", "(", ")", ")", "return", "CurDAG", "->", "SelectNodeTo", "(", "Node", ",", "Opc", ",", "VT", ",", "TFI", ",", "imm", ")", ";", "return", "CurDAG", "->", "getMachineNode", "(", "Opc", ",", "DL", ",", "VT", ",", "TFI", ",", "imm", ")", ";", "}", "}", "SDNode", "*", "ResNode", "=", "SelectCode", "(", "Node", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"=> \"", ";", "if", "(", "ResNode", "==", "NULL", "||", "ResNode", "==", "Node", ")", "Node", "->", "dump", "(", "CurDAG", ")", ";", "else", "ResNode", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "\"\\n\"", ";", ")", ";", "return", "ResNode", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["RISCV", "RISCV", "\"Selecting: \"", "\"\\n\"", "\"== \"", "\"\\n\"", "0", "ISD::FrameIndex", "0", "MVT::i64", "MVT::i32", "RISCV::ADDI64", "RISCV::ADDI", "MVT::i64", "MVT::i32", "\"=> \"", "\"\\n\""], "File": "RISCVISelDAGToDAG (2)", "Func": "Select", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 561, "Length": 288, "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": 562, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "tail_agnostic_p", "(", "rtx_insn", "*", "rinsn", ")", "{", "extract_insn_cached", "(", "rinsn", ")", ";", "int", "ta", "=", "get_attr_ta", "(", "rinsn", ")", ";", "return", "ta", "==", "INVALID_ATTRIBUTE", "?", "get_default_ta", "(", ")", ":", "IS_AGNOSTIC", "(", "ta", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "get", "TA", "operand", "."], "TS_V_token": ["riscv"], "File": "riscv-vsetvl", "Func": "tail_agnostic_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 563, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "RISCVTTIImpl", "::", "getIntrinsicInstrCost", "(", "const", "IntrinsicCostAttributes", "&", "ICA", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "auto", "*", "RetTy", "=", "ICA", ".", "getReturnType", "(", ")", ";", "switch", "(", "ICA", ".", "getID", "(", ")", ")", "{", "case", "Intrinsic", "::", "experimental_stepvector", ":", "{", "unsigned", "Cost", "=", "1", ";", "auto", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "RetTy", ")", ";", "return", "Cost", "+", "(", "LT", ".", "first", "-", "1", ")", ";", "}", "default", ":", "break", ";", "}", "return", "BaseT", "::", "getIntrinsicInstrCost", "(", "ICA", ",", "CostKind", ")", ";", "}", ""], "natrual_language": ["Get", "intrinsic", "cost", "based", "on", "arguments", "."], "TS_V_token": ["RISCV", "RISCV", "Intrinsic::experimental_stepvector", "1", "1"], "File": "RISCVTargetTransformInfo10", "Func": "getIntrinsicInstrCost", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 564, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "function_checker", "::", "require_immediate", "(", "unsigned", "int", "argno", ",", "HOST_WIDE_INT", "min", ",", "HOST_WIDE_INT", "max", ")", "const", "{", "gcc_assert", "(", "argno", "<", "m_nargs", ")", ";", "tree", "arg", "=", "m_args", "[", "argno", "]", ";", "if", "(", "!", "tree_fits_uhwi_p", "(", "arg", ")", ")", "{", "report_non_ice", "(", "argno", ")", ";", "return", "false", ";", "}", "return", "require_immediate_range", "(", "argno", ",", "min", ",", "max", ")", ";", "}", ""], "natrual_language": ["Check", "that", "argument", "ARGNO", "is", "an", "integer", "constant", "expression", "and", "store", "its", "value", "in", "VALUE_OUT", "if", "so", ".", "The", "caller", "should", "first", "check", "that", "argument", "ARGNO", "exists", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "require_immediate", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 565, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "flt_eval_method", "riscv_excess_precision", "(", "enum", "excess_precision_type", "type", ")", "{", "switch", "(", "type", ")", "{", "case", "EXCESS_PRECISION_TYPE_FAST", ":", "case", "EXCESS_PRECISION_TYPE_STANDARD", ":", "return", "(", "(", "TARGET_ZFH", "||", "TARGET_ZHINX", ")", "?", "FLT_EVAL_METHOD_PROMOTE_TO_FLOAT16", ":", "FLT_EVAL_METHOD_PROMOTE_TO_FLOAT", ")", ";", "case", "EXCESS_PRECISION_TYPE_IMPLICIT", ":", "case", "EXCESS_PRECISION_TYPE_FLOAT16", ":", "return", "FLT_EVAL_METHOD_PROMOTE_TO_FLOAT16", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "FLT_EVAL_METHOD_UNPREDICTABLE", ";", "}", ""], "natrual_language": ["Set", "the", "value", "of", "FLT_EVAL_METHOD", ".", "ISO/IEC", "TS", "18661-3", "defines", "two", "values", "that", "we", "'d", "like", "to", "make", "use", "of", ":", "0", ":", "evaluate", "all", "operations", "and", "constants", ",", "whose", "semantic", "type", "has", "at", "most", "the", "range", "and", "precision", "of", "type", "float", ",", "to", "the", "range", "and", "precision", "of", "float", ";", "evaluate", "all", "other", "operations", "and", "constants", "to", "the", "range", "and", "precision", "of", "the", "semantic", "type", ";", "N", ",", "where", "_FloatN", "is", "a", "supported", "interchange", "floating", "type", "evaluate", "all", "operations", "and", "constants", ",", "whose", "semantic", "type", "has", "at", "most", "the", "range", "and", "precision", "of", "_FloatN", "type", ",", "to", "the", "range", "and", "precision", "of", "the", "_FloatN", "type", ";", "evaluate", "all", "other", "operations", "and", "constants", "to", "the", "range", "and", "precision", "of", "the", "semantic", "type", ";", "If", "we", "have", "the", "zfh/zhinx", "extensions", "then", "we", "support", "_Float16", "in", "native", "precision", ",", "so", "we", "should", "set", "this", "to", "16", "."], "TS_V_token": ["riscv"], "File": "riscv1", "Func": "riscv_excess_precision", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 566, "Length": 54, "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": 567, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "riscv_epilogue_uses", "(", "unsigned", "int", "regno", ")", "{", "if", "(", "regno", "==", "RETURN_ADDR_REGNUM", ")", "return", "true", ";", "if", "(", "epilogue_completed", "&&", "cfun", "->", "machine", "->", "interrupt_handler_p", ")", "{", "if", "(", "df_regs_ever_live_p", "(", "regno", ")", "||", "(", "!", "crtl", "->", "is_leaf", "&&", "call_used_or_fixed_reg_p", "(", "regno", ")", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "EPILOGUE_USES", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_epilogue_uses", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 568, "Length": 55, "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": 569, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "unsigned", "DestReg", ",", "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", "(", "LoadOpcode", ")", ",", "DestReg", ")", ",", "FrameIdx", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVInstrInfo (2)1", "Func": "loadRegFromStackSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 570, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVDAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "&", "*", "I", "++", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "RISCVISD", "::", "SPLAT_VECTOR_SPLIT_I64_VL", ")", "continue", ";", "assert", "(", "N", "->", "getNumOperands", "(", ")", "==", "3", "&&", "\"Unexpected number of operands\"", ")", ";", "MVT", "VT", "=", "N", "->", "getSimpleValueType", "(", "0", ")", ";", "SDValue", "Lo", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Hi", "=", "N", "->", "getOperand", "(", "1", ")", ";", "SDValue", "VL", "=", "N", "->", "getOperand", "(", "2", ")", ";", "assert", "(", "VT", ".", "getVectorElementType", "(", ")", "==", "MVT", "::", "i64", "&&", "VT", ".", "isScalableVector", "(", ")", "&&", "Lo", ".", "getValueType", "(", ")", "==", "MVT", "::", "i32", "&&", "Hi", ".", "getValueType", "(", ")", "==", "MVT", "::", "i32", "&&", "\"Unexpected VTs!\"", ")", ";", "MachineFunction", "&", "MF", "=", "CurDAG", "->", "getMachineFunction", "(", ")", ";", "RISCVMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "RISCVMachineFunctionInfo", ">", "(", ")", ";", "SDLoc", "DL", "(", "N", ")", ";", "int", "FI", "=", "FuncInfo", "->", "getMoveF64FrameIndex", "(", "MF", ")", ";", "MachinePointerInfo", "MPI", "=", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ";", "const", "TargetLowering", "&", "TLI", "=", "CurDAG", "->", "getTargetLoweringInfo", "(", ")", ";", "SDValue", "StackSlot", "=", "CurDAG", "->", "getFrameIndex", "(", "FI", ",", "TLI", ".", "getPointerTy", "(", "CurDAG", "->", "getDataLayout", "(", ")", ",", "CurDAG", "->", "getDataLayout", "(", ")", ".", "getAllocaAddrSpace", "(", ")", ")", ")", ";", "SDValue", "Chain", "=", "CurDAG", "->", "getEntryNode", "(", ")", ";", "Lo", "=", "CurDAG", "->", "getStore", "(", "Chain", ",", "DL", ",", "Lo", ",", "StackSlot", ",", "MPI", ",", "Align", "(", "8", ")", ")", ";", "SDValue", "OffsetSlot", "=", "CurDAG", "->", "getMemBasePlusOffset", "(", "StackSlot", ",", "TypeSize", "::", "Fixed", "(", "4", ")", ",", "DL", ")", ";", "Hi", "=", "CurDAG", "->", "getStore", "(", "Chain", ",", "DL", ",", "Hi", ",", "OffsetSlot", ",", "MPI", ".", "getWithOffset", "(", "4", ")", ",", "Align", "(", "8", ")", ")", ";", "Chain", "=", "CurDAG", "->", "getNode", "(", "ISD", "::", "TokenFactor", ",", "DL", ",", "MVT", "::", "Other", ",", "Lo", ",", "Hi", ")", ";", "SDVTList", "VTs", "=", "CurDAG", "->", "getVTList", "(", "{", "VT", ",", "MVT", "::", "Other", "}", ")", ";", "SDValue", "IntID", "=", "CurDAG", "->", "getTargetConstant", "(", "Intrinsic", "::", "riscv_vlse", ",", "DL", ",", "MVT", "::", "i64", ")", ";", "SDValue", "Ops", "[", "]", "=", "{", "Chain", ",", "IntID", ",", "StackSlot", ",", "CurDAG", "->", "getRegister", "(", "RISCV", "::", "X0", ",", "MVT", "::", "i64", ")", ",", "VL", "}", ";", "SDValue", "Result", "=", "CurDAG", "->", "getMemIntrinsicNode", "(", "ISD", "::", "INTRINSIC_W_CHAIN", ",", "DL", ",", "VTs", ",", "Ops", ",", "MVT", "::", "i64", ",", "MPI", ",", "Align", "(", "8", ")", ",", "MachineMemOperand", "::", "MOLoad", ")", ";", "--", "I", ";", "CurDAG", "->", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "0", ")", ",", "Result", ")", ";", "++", "I", ";", "CurDAG", "->", "DeleteNode", "(", "N", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["RISCV", "RISCV", "RISCVISD::SPLAT_VECTOR_SPLIT_I64_VL", "3", "\"Unexpected number of operands\"", "0", "0", "1", "2", "MVT::i64", "MVT::i32", "MVT::i32", "\"Unexpected VTs!\"", "RISCV", "RISCV", "8", "4", "4", "8", "ISD::TokenFactor", "MVT::Other", "MVT::Other", "Intrinsic::riscv_vlse", "MVT::i64", "RISCV::X0", "MVT::i64", "ISD::INTRINSIC_W_CHAIN", "MVT::i64", "8", "0"], "File": "RISCVISelDAGToDAG24", "Func": "PreprocessISelDAG", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 571, "Length": 466, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "VSETVLIInfo", "merge", "(", "const", "VSETVLIInfo", "&", "Other", ")", "const", "{", "assert", "(", "isValid", "(", ")", "&&", "\"Can only merge with a valid VSETVLInfo\"", ")", ";", "if", "(", "!", "Other", ".", "isValid", "(", ")", ")", "return", "*", "this", ";", "if", "(", "isCompatible", "(", "Other", ",", "true", ")", ")", "return", "*", "this", ";", "return", "Other", ";", "}", ""], "natrual_language": ["Merge", "target", "triples", "."], "TS_V_token": ["RISCV", "\"Can only merge with a valid VSETVLInfo\""], "File": "RISCVInsertVSETVLI", "Func": "merge", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 572, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVInstrInfo", "::", "verifyInstruction", "(", "const", "MachineInstr", "&", "MI", ",", "StringRef", "&", "ErrInfo", ")", "const", "{", "const", "MCInstrInfo", "*", "MCII", "=", "STI", ".", "getInstrInfo", "(", ")", ";", "MCInstrDesc", "const", "&", "Desc", "=", "MCII", "->", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "for", "(", "auto", "&", "OI", ":", "enumerate", "(", "Desc", ".", "operands", "(", ")", ")", ")", "{", "unsigned", "OpType", "=", "OI", ".", "value", "(", ")", ".", "OperandType", ";", "if", "(", "OpType", ">=", "RISCVOp", "::", "OPERAND_FIRST_RISCV_IMM", "&&", "OpType", "<=", "RISCVOp", "::", "OPERAND_LAST_RISCV_IMM", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OI", ".", "index", "(", ")", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "int64_t", "Imm", "=", "MO", ".", "getImm", "(", ")", ";", "bool", "Ok", ";", "switch", "(", "OpType", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected operand type\"", ")", ";", "case", "RISCVOp", "::", "OPERAND_UIMM4", ":", "Ok", "=", "isUInt", "<", "4", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_UIMM5", ":", "Ok", "=", "isUInt", "<", "5", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_UIMM12", ":", "Ok", "=", "isUInt", "<", "12", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_SIMM12", ":", "Ok", "=", "isInt", "<", "12", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_SIMM13_LSB0", ":", "Ok", "=", "isShiftedInt", "<", "12", ",", "1", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_UIMM20", ":", "Ok", "=", "isUInt", "<", "20", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_SIMM21_LSB0", ":", "Ok", "=", "isShiftedInt", "<", "20", ",", "1", ">", "(", "Imm", ")", ";", "break", ";", "case", "RISCVOp", "::", "OPERAND_UIMMLOG2XLEN", ":", "if", "(", "STI", ".", "getTargetTriple", "(", ")", ".", "isArch64Bit", "(", ")", ")", "Ok", "=", "isUInt", "<", "6", ">", "(", "Imm", ")", ";", "else", "Ok", "=", "isUInt", "<", "5", ">", "(", "Imm", ")", ";", "break", ";", "}", "if", "(", "!", "Ok", ")", "{", "ErrInfo", "=", "\"Invalid immediate\"", ";", "return", "false", ";", "}", "}", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Perform", "target-specific", "instruction", "verification", "."], "TS_V_token": ["RISCV", "RISCV", "RISCVOp::OPERAND_FIRST_RISCV_IMM", "RISCVOp::OPERAND_LAST_RISCV_IMM", "\"Unexpected operand type\"", "RISCVOp::OPERAND_UIMM4", "4", "RISCVOp::OPERAND_UIMM5", "5", "RISCVOp::OPERAND_UIMM12", "12", "RISCVOp::OPERAND_SIMM12", "12", "RISCVOp::OPERAND_SIMM13_LSB0", "12", "1", "RISCVOp::OPERAND_UIMM20", "20", "RISCVOp::OPERAND_SIMM21_LSB0", "20", "1", "RISCVOp::OPERAND_UIMMLOG2XLEN", "6", "5", "\"Invalid immediate\""], "File": "RISCVInstrInfo11", "Func": "verifyInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 573, "Length": 319, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "return", "isSimpleMove", "(", "MI", ",", "FrameIndex", ",", "RISCVII", "::", "SimpleLoad", ")", ";", "}", ""], "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": ["RISCV", "RISCV", "RISCVII::SimpleLoad"], "File": "RISCVInstrInfo4", "Func": "isLoadFromStackSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 574, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "RISCVTTIImpl", "::", "getMinMaxReductionCost", "(", "VectorType", "*", "Ty", ",", "VectorType", "*", "CondTy", ",", "bool", "IsUnsigned", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "if", "(", "!", "isa", "<", "FixedVectorType", ">", "(", "Ty", ")", ")", "return", "BaseT", "::", "getMinMaxReductionCost", "(", "Ty", ",", "CondTy", ",", "IsUnsigned", ",", "CostKind", ")", ";", "if", "(", "!", "ST", "->", "useRVVForFixedLengthVectors", "(", ")", ")", "return", "BaseT", "::", "getMinMaxReductionCost", "(", "Ty", ",", "CondTy", ",", "IsUnsigned", ",", "CostKind", ")", ";", "if", "(", "Ty", "->", "getScalarSizeInBits", "(", ")", ">", "ST", "->", "getMaxELENForFixedLengthVectors", "(", ")", ")", "return", "BaseT", "::", "getMinMaxReductionCost", "(", "Ty", ",", "CondTy", ",", "IsUnsigned", ",", "CostKind", ")", ";", "InstructionCost", "BaseCost", "=", "2", ";", "unsigned", "VL", "=", "cast", "<", "FixedVectorType", ">", "(", "Ty", ")", "->", "getNumElements", "(", ")", ";", "std", "::", "pair", "<", "InstructionCost", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "Ty", ")", ";", "return", "(", "LT", ".", "first", "-", "1", ")", "+", "BaseCost", "+", "Log2_32_Ceil", "(", "VL", ")", ";", "}", ""], "natrual_language": ["Try", "to", "calculate", "op", "costs", "for", "min/max", "reduction", "operations", "."], "TS_V_token": ["RISCV", "RISCV", "2", "1"], "File": "RISCVTargetTransformInfo5", "Func": "getMinMaxReductionCost", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 575, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "bool", "function_base", "::", "apply_vl_p", "(", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["We", "choose", "to", "apply", "vl", "operand", "by", "default", "since", "most", "of", "the", "intrinsics", "has", "vl", "operand", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "apply_vl_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 576, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Instruction", "*", "RISCVTargetLowering", "::", "emitLeadingFence", "(", "IRBuilder", "<", ">", "&", "Builder", ",", "Instruction", "*", "Inst", ",", "AtomicOrdering", "Ord", ")", "const", "{", "if", "(", "isa", "<", "LoadInst", ">", "(", "Inst", ")", "&&", "Ord", "==", "AtomicOrdering", "::", "SequentiallyConsistent", ")", "return", "Builder", ".", "CreateFence", "(", "Ord", ")", ";", "if", "(", "isa", "<", "StoreInst", ">", "(", "Inst", ")", "&&", "isReleaseOrStronger", "(", "Ord", ")", ")", "return", "Builder", ".", "CreateFence", "(", "AtomicOrdering", "::", "Release", ")", ";", "return", "nullptr", ";", "}", ""], "natrual_language": ["Custom", "Lower", "{", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVISelLowering", "Func": "emitLeadingFence", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 577, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVTargetLowering", "::", "getNumRegistersForCallingConv", "(", "LLVMContext", "&", "Context", ",", "CallingConv", "::", "ID", "CC", ",", "EVT", "VT", ")", "const", "{", "if", "(", "VT", "==", "MVT", "::", "f16", "&&", "Subtarget", ".", "hasStdExtF", "(", ")", "&&", "!", "Subtarget", ".", "hasStdExtZfh", "(", ")", ")", "return", "1", ";", "return", "TargetLowering", "::", "getNumRegistersForCallingConv", "(", "Context", ",", "CC", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Certain", "targets", "require", "unusual", "breakdowns", "of", "certain", "types", "."], "TS_V_token": ["RISCV", "RISCV", "MVT::f16", "1"], "File": "RISCVISelLowering1", "Func": "getNumRegistersForCallingConv", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 578, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "signExtendConstant", "(", "const", "ConstantInt", "*", "CI", ")", "const", "{", "return", "Subtarget", ".", "is64Bit", "(", ")", "&&", "CI", "->", "getType", "(", ")", "->", "isIntegerTy", "(", "32", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "constant", "should", "be", "sign", "extended", "when", "promoting", "to", "a", "larger", "type", "."], "TS_V_token": ["RISCV", "RISCV", "32"], "File": "RISCVISelLowering33", "Func": "signExtendConstant", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 579, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "shouldSinkOperands", "(", "Instruction", "*", "I", ",", "SmallVectorImpl", "<", "Use", "*", ">", "&", "Ops", ")", "const", "{", "using", "namespace", "llvm", "::", "PatternMatch", ";", "if", "(", "!", "I", "->", "getType", "(", ")", "->", "isVectorTy", "(", ")", "||", "!", "Subtarget", ".", "hasVInstructions", "(", ")", ")", "return", "false", ";", "auto", "IsSinker", "=", "[", "&", "]", "(", "Instruction", "*", "I", ",", "int", "Operand", ")", "{", "switch", "(", "I", "->", "getOpcode", "(", ")", ")", "{", "case", "Instruction", "::", "Add", ":", "case", "Instruction", "::", "Sub", ":", "case", "Instruction", "::", "Mul", ":", "case", "Instruction", "::", "And", ":", "case", "Instruction", "::", "Or", ":", "case", "Instruction", "::", "Xor", ":", "case", "Instruction", "::", "FAdd", ":", "case", "Instruction", "::", "FSub", ":", "case", "Instruction", "::", "FMul", ":", "case", "Instruction", "::", "FDiv", ":", "case", "Instruction", "::", "ICmp", ":", "case", "Instruction", "::", "FCmp", ":", "return", "true", ";", "case", "Instruction", "::", "Shl", ":", "case", "Instruction", "::", "LShr", ":", "case", "Instruction", "::", "AShr", ":", "return", "Operand", "==", "1", ";", "case", "Instruction", "::", "Call", ":", "if", "(", "auto", "*", "II", "=", "dyn_cast", "<", "IntrinsicInst", ">", "(", "I", ")", ")", "{", "switch", "(", "II", "->", "getIntrinsicID", "(", ")", ")", "{", "case", "Intrinsic", "::", "fma", ":", "return", "Operand", "==", "0", "||", "Operand", "==", "1", ";", "default", ":", "return", "false", ";", "}", "}", "return", "false", ";", "default", ":", "return", "false", ";", "}", "}", ";", "for", "(", "auto", "OpIdx", ":", "enumerate", "(", "I", "->", "operands", "(", ")", ")", ")", "{", "if", "(", "!", "IsSinker", "(", "I", ",", "OpIdx", ".", "index", "(", ")", ")", ")", "continue", ";", "Instruction", "*", "Op", "=", "dyn_cast", "<", "Instruction", ">", "(", "OpIdx", ".", "value", "(", ")", ".", "get", "(", ")", ")", ";", "if", "(", "!", "Op", "||", "any_of", "(", "Ops", ",", "[", "&", "]", "(", "Use", "*", "U", ")", "{", "return", "U", "->", "get", "(", ")", "==", "Op", ";", "}", ")", ")", "continue", ";", "if", "(", "!", "match", "(", "Op", ",", "m_Shuffle", "(", "m_InsertElt", "(", "m_Undef", "(", ")", ",", "m_Value", "(", ")", ",", "m_ZeroInt", "(", ")", ")", ",", "m_Undef", "(", ")", ",", "m_ZeroMask", "(", ")", ")", ")", ")", "continue", ";", "for", "(", "Use", "&", "U", ":", "Op", "->", "uses", "(", ")", ")", "{", "Instruction", "*", "Insn", "=", "cast", "<", "Instruction", ">", "(", "U", ".", "getUser", "(", ")", ")", ";", "if", "(", "!", "IsSinker", "(", "Insn", ",", "U", ".", "getOperandNo", "(", ")", ")", ")", "return", "false", ";", "}", "Ops", ".", "push_back", "(", "&", "Op", "->", "getOperandUse", "(", "0", ")", ")", ";", "Ops", ".", "push_back", "(", "&", "OpIdx", ".", "value", "(", ")", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "sinking", "I", "'s", "operands", "to", "the", "same", "basic", "block", "as", "I", "is", "profitable", ",", "e.g", "."], "TS_V_token": ["RISCV", "RISCV", "1", "Intrinsic::fma", "0", "1", "0"], "File": "RISCVISelLowering18", "Func": "shouldSinkOperands", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 580, "Length": 412, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "function_expander", "::", "use_ternop_insn", "(", "bool", "vd_accum_p", ",", "insn_code", "icode", ")", "{", "machine_mode", "mode", "=", "TYPE_MODE", "(", "builtin_types", "[", "type", ".", "index", "]", ".", "vector", ")", ";", "int", "arg_offset", "=", "0", ";", "if", "(", "use_real_mask_p", "(", "pred", ")", ")", "add_input_operand", "(", "arg_offset", "++", ")", ";", "else", "add_all_one_mask_operand", "(", "mask_mode", "(", ")", ")", ";", "rtx", "vd", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "arg_offset", "++", ")", ")", ";", "rtx", "vs1", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "arg_offset", "++", ")", ")", ";", "rtx", "vs2", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "arg_offset", "++", ")", ")", ";", "if", "(", "VECTOR_MODE_P", "(", "GET_MODE", "(", "vs1", ")", ")", ")", "{", "if", "(", "!", "vd_accum_p", ")", "add_input_operand", "(", "mode", ",", "vd", ")", ";", "add_input_operand", "(", "mode", ",", "vs1", ")", ";", "add_input_operand", "(", "mode", ",", "vs2", ")", ";", "if", "(", "vd_accum_p", ")", "add_input_operand", "(", "mode", ",", "vd", ")", ";", "add_input_operand", "(", "mode", ",", "vd", ")", ";", "}", "else", "{", "add_input_operand", "(", "GET_MODE_INNER", "(", "mode", ")", ",", "vs1", ")", ";", "if", "(", "vd_accum_p", ")", "{", "add_input_operand", "(", "mode", ",", "vs2", ")", ";", "add_input_operand", "(", "mode", ",", "vd", ")", ";", "}", "else", "{", "add_input_operand", "(", "mode", ",", "vd", ")", ";", "add_input_operand", "(", "mode", ",", "vs2", ")", ";", "}", "add_input_operand", "(", "mode", ",", "vd", ")", ";", "}", "for", "(", "int", "argno", "=", "arg_offset", ";", "argno", "<", "call_expr_nargs", "(", "exp", ")", ";", "argno", "++", ")", "add_input_operand", "(", "argno", ")", ";", "add_input_operand", "(", "Pmode", ",", "get_tail_policy_for_pred", "(", "pred", ")", ")", ";", "add_input_operand", "(", "Pmode", ",", "get_mask_policy_for_pred", "(", "pred", ")", ")", ";", "add_input_operand", "(", "Pmode", ",", "get_avl_type_rtx", "(", "avl_type", "::", "NONVLMAX", ")", ")", ";", "return", "generate_insn", "(", "icode", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "call", "using", "instruction", "ICODE", ",", "with", "a", "1:1", "mapping", "between", "arguments", "and", "input", "operands", "."], "TS_V_token": ["riscv", "0"], "File": "riscv-vector-builtins", "Func": "use_ternop_insn", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 581, "Length": 269, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_extend_comparands", "(", "rtx_code", "code", ",", "rtx", "*", "op0", ",", "rtx", "*", "op1", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "word_mode", ")", ">", "GET_MODE_SIZE", "(", "GET_MODE", "(", "*", "op0", ")", ")", ")", "{", "if", "(", "unsigned_condition", "(", "code", ")", "==", "code", "&&", "(", "GET_MODE", "(", "*", "op0", ")", "==", "QImode", "&&", "!", "(", "GET_CODE", "(", "*", "op0", ")", "==", "SUBREG", "&&", "SUBREG_PROMOTED_VAR_P", "(", "*", "op0", ")", "&&", "SUBREG_PROMOTED_SIGNED_P", "(", "*", "op0", ")", "&&", "(", "CONST_INT_P", "(", "*", "op1", ")", "||", "(", "GET_CODE", "(", "*", "op1", ")", "==", "SUBREG", "&&", "SUBREG_PROMOTED_VAR_P", "(", "*", "op1", ")", "&&", "SUBREG_PROMOTED_SIGNED_P", "(", "*", "op1", ")", ")", ")", ")", ")", ")", "{", "*", "op0", "=", "gen_rtx_ZERO_EXTEND", "(", "word_mode", ",", "*", "op0", ")", ";", "if", "(", "CONST_INT_P", "(", "*", "op1", ")", ")", "*", "op1", "=", "GEN_INT", "(", "(", "uint8_t", ")", "INTVAL", "(", "*", "op1", ")", ")", ";", "else", "*", "op1", "=", "gen_rtx_ZERO_EXTEND", "(", "word_mode", ",", "*", "op1", ")", ";", "}", "else", "{", "*", "op0", "=", "gen_rtx_SIGN_EXTEND", "(", "word_mode", ",", "*", "op0", ")", ";", "if", "(", "*", "op1", "!=", "const0_rtx", ")", "*", "op1", "=", "gen_rtx_SIGN_EXTEND", "(", "word_mode", ",", "*", "op1", ")", ";", "}", "}", "}", ""], "natrual_language": ["Sign-", "or", "zero-extend", "OP0", "and", "OP1", "for", "integer", "comparisons", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_extend_comparands", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 582, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getString", "(", ")", ";", "if", "(", "IDVal", "==", "\".option\"", ")", "return", "parseDirectiveOption", "(", ")", ";", "else", "if", "(", "IDVal", "==", "\".attribute\"", ")", "return", "parseDirectiveAttribute", "(", ")", ";", "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\""], "File": "RISCVAsmParser10", "Func": "ParseDirective", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 583, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_pass_aggregate_in_fpr_and_gpr_p", "(", "const_tree", "type", ",", "riscv_aggregate_field", "fields", "[", "2", "]", ")", "{", "static", "int", "warned", "=", "0", ";", "unsigned", "num_int_old", "=", "0", ",", "num_float_old", "=", "0", ";", "int", "n_old", "=", "riscv_flatten_aggregate_argument", "(", "type", ",", "fields", ",", "false", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "n_old", ";", "i", "++", ")", "{", "num_float_old", "+=", "SCALAR_FLOAT_TYPE_P", "(", "fields", "[", "i", "]", ".", "type", ")", ";", "num_int_old", "+=", "INTEGRAL_TYPE_P", "(", "fields", "[", "i", "]", ".", "type", ")", ";", "}", "unsigned", "num_int_new", "=", "0", ",", "num_float_new", "=", "0", ";", "int", "n_new", "=", "riscv_flatten_aggregate_argument", "(", "type", ",", "fields", ",", "true", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "n_new", ";", "i", "++", ")", "{", "num_float_new", "+=", "SCALAR_FLOAT_TYPE_P", "(", "fields", "[", "i", "]", ".", "type", ")", ";", "num_int_new", "+=", "INTEGRAL_TYPE_P", "(", "fields", "[", "i", "]", ".", "type", ")", ";", "}", "if", "(", "(", "(", "num_int_old", "==", "1", "&&", "num_float_old", "==", "1", "&&", "(", "num_int_old", "!=", "num_int_new", "||", "num_float_old", "!=", "num_float_new", ")", ")", "||", "(", "num_int_new", "==", "1", "&&", "num_float_new", "==", "1", "&&", "(", "num_int_old", "!=", "num_int_new", "||", "num_float_old", "!=", "num_float_new", ")", ")", ")", "&&", "(", "warned", "==", "0", ")", ")", "{", "warning", "(", "OPT_Wpsabi", ",", "\"ABI for flattened struct with zero-length \"", "\"bit-fields changed in GCC 10\"", ")", ";", "warned", "=", "1", ";", "}", "return", "num_int_new", "==", "1", "&&", "num_float_new", "==", "1", ";", "}", ""], "natrual_language": ["See", "whether", "TYPE", "is", "a", "record", "whose", "fields", "should", "be", "returned", "in", "one", "or", "floating-point", "register", "and", "one", "integer", "register", ".", "If", "so", ",", "populate", "FIELDS", "accordingly", "."], "TS_V_token": ["riscv", "2", "0", "0", "0", "0", "0", "0", "0", "1", "1", "1", "1", "0", "\"ABI for flattened struct with zero-length \"", "\"bit-fields changed in GCC 10\"", "1", "1", "1"], "File": "riscv", "Func": "riscv_pass_aggregate_in_fpr_and_gpr_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 584, "Length": 216, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVDAGToDAGISel", "::", "PostprocessISelDAG", "(", ")", "{", "HandleSDNode", "Dummy", "(", "CurDAG", "->", "getRoot", "(", ")", ")", ";", "SelectionDAG", "::", "allnodes_iterator", "Position", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "bool", "MadeChange", "=", "false", ";", "while", "(", "Position", "!=", "CurDAG", "->", "allnodes_begin", "(", ")", ")", "{", "SDNode", "*", "N", "=", "&", "*", "--", "Position", ";", "if", "(", "N", "->", "use_empty", "(", ")", "||", "!", "N", "->", "isMachineOpcode", "(", ")", ")", "continue", ";", "MadeChange", "|=", "doPeepholeSExtW", "(", "N", ")", ";", "MadeChange", "|=", "doPeepholeLoadStoreADDI", "(", "N", ")", ";", "MadeChange", "|=", "doPeepholeMaskedRVV", "(", "N", ")", ";", "}", "CurDAG", "->", "setRoot", "(", "Dummy", ".", "getValue", "(", ")", ")", ";", "if", "(", "MadeChange", ")", "CurDAG", "->", "RemoveDeadNodes", "(", ")", ";", "}", ""], "natrual_language": ["PostprocessISelDAG", "(", ")", "-", "This", "hook", "allows", "the", "target", "to", "hack", "on", "the", "graph", "right", "after", "selection", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVISelDAGToDAG15", "Func": "PostprocessISelDAG", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 585, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "riscv_address_insns", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "bool", "might_split_p", ")", "{", "struct", "riscv_address_info", "addr", "=", "{", "}", ";", "int", "n", "=", "1", ";", "if", "(", "!", "riscv_classify_address", "(", "&", "addr", ",", "x", ",", "mode", ",", "false", ")", ")", "{", "return", "3", ";", "}", "if", "(", "mode", "!=", "BLKmode", "&&", "might_split_p", ")", "n", "+=", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "if", "(", "addr", ".", "type", "==", "ADDRESS_LO_SUM", ")", "n", "+=", "riscv_symbol_insns", "(", "addr", ".", "symbol_type", ")", "-", "1", ";", "return", "n", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "needed", "to", "load", "or", "store", "a", "value", "of", "mode", "MODE", "at", "address", "X", ".", "Return", "0", "if", "X", "is", "n't", "valid", "for", "MODE", ".", "Assume", "that", "multiword", "moves", "may", "need", "to", "be", "split", "into", "word", "moves", "if", "MIGHT_SPLIT_P", ",", "otherwise", "assume", "that", "a", "single", "load", "or", "store", "is", "enough", "."], "TS_V_token": ["riscv", "1", "3", "1", "1"], "File": "riscv", "Func": "riscv_address_insns", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 586, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_option_override", "(", "void", ")", "{", "const", "struct", "riscv_cpu_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_cpu", "(", "riscv_tune_string", "?", "riscv_tune_string", ":", "RISCV_TUNE_STRING_DEFAULT", ")", ";", "tune_info", "=", "optimize_size", "?", "&", "optimize_size_tune_info", ":", "cpu", "->", "tune_info", ";", "riscv_slow_unaligned_access_p", "=", "(", "cpu", "->", "tune_info", "->", "slow_unaligned_access", "||", "TARGET_STRICT_ALIGN", ")", ";", "if", "(", "(", "target_flags_explicit", "&", "MASK_STRICT_ALIGN", ")", "==", "0", "&&", "cpu", "->", "tune_info", "->", "slow_unaligned_access", ")", "target_flags", "|=", "MASK_STRICT_ALIGN", ";", "if", "(", "riscv_branch_cost", "==", "0", ")", "riscv_branch_cost", "=", "tune_info", "->", "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", "(", "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", ";", "}", "}", ""], "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", "\"ABI requires -march=rv%d\"", "8", "8", "\"-mpreferred-stack-boundary=%d must be between %d and %d\"", "8"], "File": "riscv3", "Func": "riscv_option_override", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 587, "Length": 272, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "SDValue", "getTargetNode", "(", "ExternalSymbolSDNode", "*", "N", ",", "SDLoc", "DL", ",", "EVT", "Ty", ",", "SelectionDAG", "&", "DAG", ",", "unsigned", "Flags", ")", "{", "return", "DAG", ".", "getTargetExternalSymbol", "(", "N", "->", "getSymbol", "(", ")", ",", "Ty", ",", "Flags", ")", ";", "}", ""], "natrual_language": ["Retrieve", "the", "target", "node", "this", "edge", "connects", "to", "."], "TS_V_token": ["RISCV"], "File": "RISCVISelLowering42", "Func": "getTargetNode", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 588, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "RISCVFrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "Register", "&", "FrameReg", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterInfo", "*", "RI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "const", "auto", "*", "RVFI", "=", "MF", ".", "getInfo", "<", "RISCVMachineFunctionInfo", ">", "(", ")", ";", "bool", "HasRISCVVector", "=", "RVFI", "->", "hasSpillVRs", "(", ")", ";", "const", "auto", "&", "CSI", "=", "getNonLibcallCSI", "(", "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", "+=", "MFI", ".", "getStackSize", "(", ")", ";", "}", "else", "if", "(", "RI", "->", "needsStackRealignment", "(", "MF", ")", "&&", "!", "MFI", ".", "isFixedObjectIndex", "(", "FI", ")", ")", "{", "if", "(", "hasBP", "(", "MF", ")", ")", "FrameReg", "=", "RISCVABI", "::", "getBPReg", "(", ")", ";", "else", "FrameReg", "=", "RISCV", "::", "X2", ";", "Offset", "+=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "FI", "<", "0", ")", "Offset", "+=", "RVFI", "->", "getLibCallStackSize", "(", ")", ";", "}", "else", "{", "FrameReg", "=", "RI", "->", "getFrameRegister", "(", "MF", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "Offset", "+=", "RVFI", "->", "getVarArgsSaveSize", "(", ")", ";", "if", "(", "FI", ">=", "0", ")", "Offset", "-=", "RVFI", "->", "getLibCallStackSize", "(", ")", ";", "}", "else", "{", "Offset", "+=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "FI", "<", "0", ")", "Offset", "+=", "RVFI", "->", "getLibCallStackSize", "(", ")", ";", "}", "}", "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", "RISCV", "0", "1", "0", "1", "RISCV::X2", "RISCVABI::getBPReg", "RISCV::X2", "0", "0", "0"], "File": "RISCVFrameLowering20", "Func": "getFrameIndexReference", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 589, "Length": 330, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RISCVTargetLowering", "*", "getTLI", "(", ")", "const", "{", "return", "TLI", ";", "}", ""], "natrual_language": ["Getter", "for", "generic", "TargetLowering", "class", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVTargetTransformInfo", "Func": "getTLI", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 590, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "RISCVTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "MBB", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "RISCV", "::", "SELECT_CC", ":", "case", "RISCV", "::", "SELECT_CC64", ":", "case", "RISCV", "::", "FSELECT_CC_F", ":", "case", "RISCV", "::", "FSELECT_CC_D", ":", "return", "emitSelectCC", "(", "MI", ",", "MBB", ")", ";", "case", "RISCV", "::", "CALL", ":", "case", "RISCV", "::", "CALLREG", ":", "case", "RISCV", "::", "CALL64", ":", "case", "RISCV", "::", "CALLREG64", ":", "return", "emitCALL", "(", "MI", ",", "MBB", ")", ";", "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": ["RISCV", "RISCV", "RISCV::SELECT_CC", "RISCV::SELECT_CC64", "RISCV::FSELECT_CC_F", "RISCV::FSELECT_CC_D", "RISCV::CALL", "RISCV::CALLREG", "RISCV::CALL64", "RISCV::CALLREG64", "\"Unexpected instr type to insert\""], "File": "RISCVISelLowering9", "Func": "EmitInstrWithCustomInserter", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 591, "Length": 90, "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": 592, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVConstantPoolValue", "::", "print", "(", "raw_ostream", "&", "O", ")", "const", "{", "O", "<<", "GV", ";", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVConstantPoolValue", "Func": "print", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 593, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "riscv_split_integer", "(", "HOST_WIDE_INT", "val", ",", "machine_mode", "mode", ")", "{", "unsigned", "HOST_WIDE_INT", "loval", "=", "sext_hwi", "(", "val", ",", "32", ")", ";", "unsigned", "HOST_WIDE_INT", "hival", "=", "sext_hwi", "(", "(", "val", "-", "loval", ")", ">>", "32", ",", "32", ")", ";", "rtx", "hi", "=", "gen_reg_rtx", "(", "mode", ")", ",", "lo", "=", "gen_reg_rtx", "(", "mode", ")", ";", "riscv_move_integer", "(", "hi", ",", "hi", ",", "hival", ",", "mode", ",", "FALSE", ")", ";", "riscv_move_integer", "(", "lo", ",", "lo", ",", "loval", ",", "mode", ",", "FALSE", ")", ";", "hi", "=", "gen_rtx_fmt_ee", "(", "ASHIFT", ",", "mode", ",", "hi", ",", "GEN_INT", "(", "32", ")", ")", ";", "hi", "=", "force_reg", "(", "mode", ",", "hi", ")", ";", "return", "gen_rtx_fmt_ee", "(", "PLUS", ",", "mode", ",", "hi", ",", "lo", ")", ";", "}", ""], "natrual_language": ["Try", "to", "split", "a", "64b", "integer", "into", "32b", "parts", ",", "then", "reassemble", "."], "TS_V_token": ["riscv", "32", "32", "32", "32"], "File": "riscv", "Func": "riscv_split_integer", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 594, "Length": 118, "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", ".", "hasStdExtZfhmin", "(", ")", ")", "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": "RISCVISelLowering18", "Func": "getRegisterTypeForCallingConv", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 595, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "vl_vtype_info", "get_vl_vtype_info", "(", "const", "insn_info", "*", "insn", ")", "{", "set_info", "*", "set", "=", "nullptr", ";", "rtx", "avl", "=", "::", "get_avl", "(", "insn", "->", "rtl", "(", ")", ")", ";", "if", "(", "avl", "&&", "REG_P", "(", "avl", ")", ")", "{", "if", "(", "vlmax_avl_p", "(", "avl", ")", "&&", "has_vl_op", "(", "insn", "->", "rtl", "(", ")", ")", ")", "set", "=", "find_access", "(", "insn", "->", "uses", "(", ")", ",", "REGNO", "(", "get_vl", "(", "insn", "->", "rtl", "(", ")", ")", ")", ")", "->", "def", "(", ")", ";", "else", "if", "(", "!", "vlmax_avl_p", "(", "avl", ")", ")", "set", "=", "find_access", "(", "insn", "->", "uses", "(", ")", ",", "REGNO", "(", "avl", ")", ")", "->", "def", "(", ")", ";", "else", "set", "=", "nullptr", ";", "}", "uint8_t", "sew", "=", "get_sew", "(", "insn", "->", "rtl", "(", ")", ")", ";", "enum", "vlmul_type", "vlmul", "=", "get_vlmul", "(", "insn", "->", "rtl", "(", ")", ")", ";", "uint8_t", "ratio", "=", "get_attr_ratio", "(", "insn", "->", "rtl", "(", ")", ")", ";", "if", "(", "ratio", "==", "INVALID_ATTRIBUTE", ")", "ratio", "=", "calculate_ratio", "(", "sew", ",", "vlmul", ")", ";", "bool", "ta", "=", "tail_agnostic_p", "(", "insn", "->", "rtl", "(", ")", ")", ";", "bool", "ma", "=", "mask_agnostic_p", "(", "insn", "->", "rtl", "(", ")", ")", ";", "int", "merge_op_idx", "=", "get_attr_merge_op_idx", "(", "insn", "->", "rtl", "(", ")", ")", ";", "if", "(", "merge_op_idx", "!=", "INVALID_ATTRIBUTE", "&&", "satisfies_constraint_vu", "(", "recog_data", ".", "operand", "[", "merge_op_idx", "]", ")", ")", "{", "ta", "=", "true", ";", "ma", "=", "true", ";", "}", "vl_vtype_info", "info", "(", "avl_info", "(", "avl", ",", "set", ")", ",", "sew", ",", "vlmul", ",", "ratio", ",", "ta", ",", "ma", ")", ";", "return", "info", ";", "}", ""], "natrual_language": ["Get", "VL/VTYPE", "information", "for", "INSN", "."], "TS_V_token": ["riscv"], "File": "riscv-vsetvl", "Func": "get_vl_vtype_info", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 596, "Length": 256, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isReg", "(", ")", "const", "override", "{", "return", "Kind", "==", "KindTy", "::", "Register", ";", "}", ""], "natrual_language": ["isReg", "-", "Is", "this", "a", "register", "operand", "?"], "TS_V_token": ["RISCV"], "File": "RISCVAsmParser (2)", "Func": "isReg", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 597, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "void", "function_expander", "::", "add_integer_operand", "(", "rtx", "x", ")", "{", "create_integer_operand", "(", "&", "m_ops", "[", "opno", "++", "]", ",", "INTVAL", "(", "x", ")", ")", ";", "}", ""], "natrual_language": ["Add", "an", "integer", "operand", "X", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "add_integer_operand", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 598, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "RISCVRegisterInfo", "::", "getNoPreservedMask", "(", ")", "const", "{", "return", "CSR_NoRegs_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "register", "mask", "that", "clobbers", "everything", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVRegisterInfo", "Func": "getNoPreservedMask", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 599, "Length": 14, "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": 600, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVRegisterInfo", "::", "isConstantPhysReg", "(", "MCRegister", "PhysReg", ")", "const", "{", "return", "PhysReg", "==", "RISCV", "::", "X0", "||", "PhysReg", "==", "RISCV", "::", "VLENB", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "PhysReg", "is", "unallocatable", "and", "constant", "throughout", "the", "function", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::X0", "RISCV::VLENB"], "File": "RISCVRegisterInfo12", "Func": "isConstantPhysReg", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 601, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "struct", "riscv_cpu_info", "*", "riscv_parse_cpu", "(", "const", "char", "*", "cpu_string", ")", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "riscv_cpu_info_table", ")", ";", "i", "++", ")", "if", "(", "strcmp", "(", "riscv_cpu_info_table", "[", "i", "]", ".", "name", ",", "cpu_string", ")", "==", "0", ")", "return", "riscv_cpu_info_table", "+", "i", ";", "error", "(", "\"unknown cpu %qs for -mtune\"", ",", "cpu_string", ")", ";", "return", "riscv_cpu_info_table", ";", "}", ""], "natrual_language": ["Return", "the", "riscv_cpu_info", "entry", "for", "the", "given", "name", "string", "."], "TS_V_token": ["riscv", "0", "0", "\"unknown cpu %qs for -mtune\""], "File": "riscv2", "Func": "riscv_parse_cpu", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 602, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "DebugLoc", "&", "DL", ",", "MCRegister", "DstReg", ",", "MCRegister", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "MF", "->", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "if", "(", "RISCV", "::", "GPRRegClass", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "RISCV", "::", "ADDI", ")", ",", "DstReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ".", "addImm", "(", "0", ")", ";", "return", ";", "}", "unsigned", "Opc", ";", "if", "(", "RISCV", "::", "FPR32RegClass", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", ")", "Opc", "=", "RISCV", "::", "FSGNJ_S", ";", "else", "if", "(", "RISCV", "::", "FPR64RegClass", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", ")", "Opc", "=", "RISCV", "::", "FSGNJ_D", ";", "else", "if", "(", "RISCV", "::", "VRRegClass", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "RISCV", "::", "VMV1R_V", ")", ",", "DstReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "return", ";", "}", "else", "if", "(", "RISCV", "::", "VRM2RegClass", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", "||", "RISCV", "::", "VRM4RegClass", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", "||", "RISCV", "::", "VRM8RegClass", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", ")", "{", "unsigned", "Opcode", ";", "if", "(", "RISCV", "::", "VRM2RegClass", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", ")", "Opcode", "=", "RISCV", "::", "VMV2R_V", ";", "else", "if", "(", "RISCV", "::", "VRM4RegClass", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", ")", "Opcode", "=", "RISCV", "::", "VMV4R_V", ";", "else", "Opcode", "=", "RISCV", "::", "VMV8R_V", ";", "DstReg", "=", "TRI", "->", "getSubReg", "(", "DstReg", ",", "RISCV", "::", "sub_vrm2", ")", ";", "SrcReg", "=", "TRI", "->", "getSubReg", "(", "SrcReg", ",", "RISCV", "::", "sub_vrm2", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "Opcode", ")", ",", "DstReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "return", ";", "}", "else", "{", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "}", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DstReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["RISCV", "RISCV", "RISCV::GPRRegClass", "RISCV::ADDI", "0", "RISCV::FPR32RegClass", "RISCV::FSGNJ_S", "RISCV::FPR64RegClass", "RISCV::FSGNJ_D", "RISCV::VRRegClass", "RISCV::VMV1R_V", "RISCV::VRM2RegClass", "RISCV::VRM4RegClass", "RISCV::VRM8RegClass", "RISCV::VRM2RegClass", "RISCV::VMV2R_V", "RISCV::VRM4RegClass", "RISCV::VMV4R_V", "RISCV::VMV8R_V", "RISCV::sub_vrm2", "RISCV::sub_vrm2", "\"Impossible reg-to-reg copy\""], "File": "RISCVInstrInfo25", "Func": "copyPhysReg", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 603, "Length": 379, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "function_expander", "::", "add_mem_operand", "(", "machine_mode", "mode", ",", "unsigned", "argno", ")", "{", "gcc_assert", "(", "VECTOR_MODE_P", "(", "mode", ")", ")", ";", "rtx", "addr", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "argno", ")", ")", ";", "rtx", "mem", "=", "gen_rtx_MEM", "(", "mode", ",", "memory_address", "(", "mode", ",", "addr", ")", ")", ";", "set_mem_align", "(", "mem", ",", "GET_MODE_ALIGNMENT", "(", "GET_MODE_INNER", "(", "mode", ")", ")", ")", ";", "add_fixed_operand", "(", "mem", ")", ";", "}", ""], "natrual_language": ["Add", "a", "memory", "operand", "with", "mode", "MODE", "and", "address", "ADDR", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "add_mem_operand", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 604, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "th_mempair_operands_p", "(", "rtx", "operands", "[", "4", "]", ",", "bool", "load_p", ",", "machine_mode", "mode", ")", "{", "rtx", "mem_1", ",", "mem_2", ",", "reg_1", ",", "reg_2", ";", "if", "(", "load_p", ")", "{", "reg_1", "=", "operands", "[", "0", "]", ";", "mem_1", "=", "operands", "[", "1", "]", ";", "reg_2", "=", "operands", "[", "2", "]", ";", "mem_2", "=", "operands", "[", "3", "]", ";", "if", "(", "!", "REG_P", "(", "reg_1", ")", "||", "!", "REG_P", "(", "reg_2", ")", ")", "return", "false", ";", "if", "(", "th_mempair_load_overlap_p", "(", "reg_1", ",", "reg_2", ",", "mem_1", ")", ")", "return", "false", ";", "if", "(", "th_mempair_load_overlap_p", "(", "reg_1", ",", "reg_2", ",", "mem_2", ")", ")", "return", "false", ";", "}", "else", "{", "mem_1", "=", "operands", "[", "0", "]", ";", "reg_1", "=", "operands", "[", "1", "]", ";", "mem_2", "=", "operands", "[", "2", "]", ";", "reg_2", "=", "operands", "[", "3", "]", ";", "}", "if", "(", "!", "REG_P", "(", "reg_1", ")", "||", "!", "GP_REG_P", "(", "REGNO", "(", "reg_1", ")", ")", "||", "!", "REG_P", "(", "reg_2", ")", "||", "!", "GP_REG_P", "(", "REGNO", "(", "reg_2", ")", ")", ")", "return", "false", ";", "if", "(", "!", "MEM_P", "(", "mem_1", ")", "||", "!", "MEM_P", "(", "mem_2", ")", ")", "return", "false", ";", "if", "(", "MEM_VOLATILE_P", "(", "mem_1", ")", "||", "MEM_VOLATILE_P", "(", "mem_2", ")", ")", "return", "false", ";", "if", "(", "riscv_slow_unaligned_access_p", "&&", "known_lt", "(", "MEM_ALIGN", "(", "mem_1", ")", ",", "GET_MODE_SIZE", "(", "mode", ")", "*", "BITS_PER_UNIT", ")", ")", "return", "false", ";", "bool", "reversed", "=", "false", ";", "if", "(", "!", "th_mempair_check_consecutive_mems", "(", "mode", ",", "&", "mem_1", ",", "&", "mem_2", ",", "&", "reversed", ")", ")", "return", "false", ";", "if", "(", "(", "!", "reversed", "&&", "!", "th_mempair_operand_p", "(", "mem_1", ",", "mode", ")", ")", "||", "(", "reversed", "&&", "!", "th_mempair_operand_p", "(", "mem_2", ",", "mode", ")", ")", ")", "return", "false", ";", "gcc_assert", "(", "known_eq", "(", "GET_MODE_SIZE", "(", "GET_MODE", "(", "mem_1", ")", ")", ",", "GET_MODE_SIZE", "(", "GET_MODE", "(", "mem_2", ")", ")", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Given", "OPERANDS", "of", "consecutive", "load/store", ",", "check", "if", "we", "can", "merge", "them", "into", "load-pair", "or", "store-pair", "instructions", ".", "LOAD", "is", "true", "if", "they", "are", "load", "instructions", ".", "MODE", "is", "the", "mode", "of", "memory", "operation", "."], "TS_V_token": ["riscv", "4", "0", "1", "2", "3", "0", "1", "2", "3"], "File": "thead", "Func": "th_mempair_operands_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 605, "Length": 305, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "switch", "(", "Kind", ")", "{", "case", "KindTy", "::", "Immediate", ":", "OS", "<<", "*", "getImm", "(", ")", ";", "break", ";", "case", "KindTy", "::", "Register", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "KindTy", "::", "Token", ":", "OS", "<<", "\"'\"", "<<", "getToken", "(", ")", "<<", "\"'\"", ";", "break", ";", "case", "KindTy", "::", "SystemRegister", ":", "OS", "<<", "\"'", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["RISCV", "\"\"", "\"'\"", "\"'\"", "\"", "bool", "RISCVInsertVSETVLI", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "RISCVSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "if", "(", "!", "ST", ".", "hasVInstructions", "(", ")", ")", "return", "false", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "assert", "(", "BlockInfo", ".", "empty", "(", ")", "&&", "\"Expect empty block infos\"", ")", ";", "BlockInfo", ".", "resize", "(", "MF", ".", "getNumBlockIDs", "(", ")", ")", ";", "bool", "HaveVectorOp", "=", "false", ";", "for", "(", "const", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "HaveVectorOp", "|=", "computeVLVTYPEChanges", "(", "MBB", ")", ";", "if", "(", "HaveVectorOp", ")", "{", "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", ")", "emitVSETVLIs", "(", "MBB", ")", ";", "}", "BlockInfo", ".", "clear", "(", ")", ";", "return", "HaveVectorOp", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCV", "\"Expect empty block infos\""], "File": "RISCVInsertVSETVLI1", "Func": "runOnMachineFunction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 607, "Length": 191, "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": 608, "Length": 49, "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", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "DebugLoc", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "unsigned", "FrameReg", "=", "getFrameRegister", "(", "MF", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "getIndex", "(", ")", ";", "int", "Offset", "=", "TFI", "->", "getFrameIndexReference", "(", "MF", ",", "FrameIndex", ",", "FrameReg", ")", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "getImm", "(", ")", ";", "assert", "(", "TFI", "->", "hasFP", "(", "MF", ")", "&&", "\"eliminateFrameIndex currently requires hasFP\"", ")", ";", "if", "(", "!", "isInt", "<", "12", ">", "(", "Offset", ")", ")", "{", "report_fatal_error", "(", "\"Frame offsets outside of the signed 12-bit range not supported\"", ")", ";", "}", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "FrameReg", ",", "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": ["RISCV", "RISCV", "0", "\"Unexpected non-zero SPAdj value\"", "1", "\"eliminateFrameIndex currently requires hasFP\"", "12", "\"Frame offsets outside of the signed 12-bit range not supported\"", "1"], "File": "RISCVRegisterInfo22", "Func": "eliminateFrameIndex", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 609, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVTargetLowering", "::", "getNumRegistersForCallingConv", "(", "LLVMContext", "&", "Context", ",", "CallingConv", "::", "ID", "CC", ",", "EVT", "VT", ")", "const", "{", "if", "(", "VT", "==", "MVT", "::", "f16", "&&", "Subtarget", ".", "hasStdExtF", "(", ")", "&&", "!", "Subtarget", ".", "hasStdExtZfhmin", "(", ")", ")", "return", "1", ";", "return", "TargetLowering", "::", "getNumRegistersForCallingConv", "(", "Context", ",", "CC", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Certain", "targets", "require", "unusual", "breakdowns", "of", "certain", "types", "."], "TS_V_token": ["RISCV", "RISCV", "MVT::f16", "1"], "File": "RISCVISelLowering18", "Func": "getNumRegistersForCallingConv", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 610, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "RISCVTargetLowering", "::", "shouldExpandAtomicCmpXchgInIR", "(", "AtomicCmpXchgInst", "*", "CI", ")", "const", "{", "unsigned", "Size", "=", "CI", "->", "getCompareOperand", "(", ")", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "(", "Size", "==", "8", "||", "Size", "==", "16", ")", "&&", "!", "RISCVABI", "::", "isCheriPureCapABI", "(", "Subtarget", ".", "getTargetABI", "(", ")", ")", ")", "return", "AtomicExpansionKind", "::", "MaskedIntrinsic", ";", "return", "AtomicExpansionKind", "::", "None", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "atomic", "cmpxchg", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "."], "TS_V_token": ["RISCV", "RISCV", "8", "16", "RISCVABI::isCheriPureCapABI"], "File": "RISCVISelLowering42", "Func": "shouldExpandAtomicCmpXchgInIR", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 611, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "riscv_subword", "(", "rtx", "op", ",", "bool", "high_p", ")", "{", "unsigned", "int", "byte", "=", "(", "high_p", "!=", "BYTES_BIG_ENDIAN", ")", "?", "UNITS_PER_WORD", ":", "0", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "op", ")", ";", "if", "(", "mode", "==", "VOIDmode", ")", "mode", "=", "TARGET_64BIT", "?", "TImode", ":", "DImode", ";", "if", "(", "MEM_P", "(", "op", ")", ")", "return", "adjust_address", "(", "op", ",", "word_mode", ",", "byte", ")", ";", "if", "(", "REG_P", "(", "op", ")", ")", "gcc_assert", "(", "!", "FP_REG_RTX_P", "(", "op", ")", ")", ";", "return", "simplify_gen_subreg", "(", "word_mode", ",", "op", ",", "mode", ",", "byte", ")", ";", "}", ""], "natrual_language": ["Return", "one", "word", "of", "double-word", "value", "OP", ".", "HIGH_P", "is", "true", "to", "select", "the", "high", "part", "or", "false", "to", "select", "the", "low", "part", "."], "TS_V_token": ["riscv", "0"], "File": "riscv", "Func": "riscv_subword", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 612, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ",", "Instruction", "*", "I", ")", "const", "{", "if", "(", "AM", ".", "BaseGV", ")", "return", "false", ";", "if", "(", "!", "isInt", "<", "12", ">", "(", "AM", ".", "BaseOffs", ")", ")", "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": ["RISCV", "RISCV", "12", "0", "1"], "File": "RISCVISelLowering", "Func": "isLegalAddressingMode", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 613, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isValid", "(", ")", "const", "{", "return", "State", "!=", "Uninitialized", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "this", "iterator", "is", "still", "pointing", "at", "a", "valid", "entry", "."], "TS_V_token": ["RISCV"], "File": "RISCVInsertVSETVLI", "Func": "isValid", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 614, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCOperand", "RISCVMCInstLower", "::", "lowerOperand", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"unknown operand type\"", ")", ";", "case", "MachineOperand", "::", "MO_Register", ":", "if", "(", "MO", ".", "isImplicit", "(", ")", ")", "return", "MCOperand", "(", ")", ";", "return", "MCOperand", "::", "createReg", "(", "MO", ".", "getReg", "(", ")", ")", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "return", "MCOperand", "::", "createImm", "(", "MO", ".", "getImm", "(", ")", ")", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "return", "lowerSymbolOperand", "(", "MO", ",", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ",", "0", ")", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "return", "lowerSymbolOperand", "(", "MO", ",", "AsmPrinter", ".", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ",", "MO", ".", "getOffset", "(", ")", ")", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "{", "StringRef", "Name", "=", "MO", ".", "getSymbolName", "(", ")", ";", "return", "lowerSymbolOperand", "(", "MO", ",", "AsmPrinter", ".", "GetExternalSymbolSymbol", "(", "Name", ")", ",", "MO", ".", "getOffset", "(", ")", ")", ";", "}", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "return", "lowerSymbolOperand", "(", "MO", ",", "AsmPrinter", ".", "GetJTISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ",", "0", ")", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "return", "lowerSymbolOperand", "(", "MO", ",", "AsmPrinter", ".", "GetCPISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ",", "MO", ".", "getOffset", "(", ")", ")", ";", "case", "MachineOperand", "::", "MO_BlockAddress", ":", "{", "const", "BlockAddress", "*", "BA", "=", "MO", ".", "getBlockAddress", "(", ")", ";", "return", "lowerSymbolOperand", "(", "MO", ",", "AsmPrinter", ".", "GetBlockAddressSymbol", "(", "BA", ")", ",", "MO", ".", "getOffset", "(", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["Wrapper", "for", "MCInstLowering.lowerOperand", "(", ")", "for", "the", "tblgen'erated", "pseudo", "lowering", "."], "TS_V_token": ["RISCV", "RISCV", "\"unknown operand type\"", "0", "0"], "File": "RISCVMCInstLower (2)1", "Func": "lowerOperand", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 615, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "riscv_shamt_matches_mask_p", "(", "int", "shamt", ",", "HOST_WIDE_INT", "mask", ")", "{", "return", "shamt", "==", "ctz_hwi", "(", "mask", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "shift-amount", "matches", "the", "trailing", "cleared", "bits", "on", "a", "bitmask", "."], "TS_V_token": ["riscv"], "File": "riscv1", "Func": "riscv_shamt_matches_mask_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 616, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "riscv_symbolic_constant_p", "(", "rtx", "x", ",", "enum", "riscv_symbol_type", "*", "symbol_type", ")", "{", "rtx", "offset", ";", "split_const", "(", "x", ",", "&", "x", ",", "&", "offset", ")", ";", "if", "(", "UNSPEC_ADDRESS_P", "(", "x", ")", ")", "{", "*", "symbol_type", "=", "UNSPEC_ADDRESS_TYPE", "(", "x", ")", ";", "x", "=", "UNSPEC_ADDRESS", "(", "x", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", ")", "*", "symbol_type", "=", "riscv_classify_symbol", "(", "x", ")", ";", "else", "return", "false", ";", "if", "(", "offset", "==", "const0_rtx", ")", "return", "true", ";", "switch", "(", "*", "symbol_type", ")", "{", "case", "SYMBOL_ABSOLUTE", ":", "case", "SYMBOL_PCREL", ":", "case", "SYMBOL_TLS_LE", ":", "return", "sext_hwi", "(", "INTVAL", "(", "offset", ")", ",", "32", ")", "==", "INTVAL", "(", "offset", ")", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "symbolic", "constant", ".", "If", "it", "is", ",", "store", "the", "type", "of", "the", "symbol", "in", "*", "SYMBOL_TYPE", "."], "TS_V_token": ["riscv", "32"], "File": "riscv", "Func": "riscv_symbolic_constant_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 617, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "RISCVRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "if", "(", "Subtarget", ".", "isRV64", "(", ")", ")", "if", "(", "Subtarget", ".", "hasD", "(", ")", ")", "return", "CSR_RV64D_SaveList", ";", "else", "if", "(", "Subtarget", ".", "hasF", "(", ")", ")", "return", "CSR_RV64F_SaveList", ";", "else", "return", "CSR_RV64_SaveList", ";", "else", "if", "(", "Subtarget", ".", "hasD", "(", ")", ")", "return", "CSR_RV32D_SaveList", ";", "else", "if", "(", "Subtarget", ".", "hasF", "(", ")", ")", "return", "CSR_RV32F_SaveList", ";", "else", "return", "CSR_RV32_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVRegisterInfo32", "Func": "getCalleeSavedRegs", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 618, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "RISCVTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "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_GPCR_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", "\"Unexpected instr type to insert\"", "RISCV::ReadCycleWide", "\"ReadCycleWrite is only to be used on riscv32\"", "RISCV::Select_GPR_Using_CC_GPR", "RISCV::Select_GPCR_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": "RISCVISelLowering42", "Func": "EmitInstrWithCustomInserter", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 619, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "poly_int64", "riscv_v_adjust_nunits", "(", "machine_mode", "mode", ",", "int", "scale", ")", "{", "if", "(", "riscv_v_ext_vector_mode_p", "(", "mode", ")", ")", "return", "riscv_vector_chunks", "*", "scale", ";", "return", "scale", ";", "}", ""], "natrual_language": ["Call", "from", "ADJUST_NUNITS", "in", "riscv-modes.def", ".", "Return", "the", "correct", "NUNITS", "size", "for", "corresponding", "machine_mode", "."], "TS_V_token": ["riscv"], "File": "riscv1", "Func": "riscv_v_adjust_nunits", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 620, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "hasAndNotCompare", "(", "SDValue", "Y", ")", "const", "{", "EVT", "VT", "=", "Y", ".", "getValueType", "(", ")", ";", "if", "(", "VT", ".", "isVector", "(", ")", ")", "return", "false", ";", "return", "(", "Subtarget", ".", "hasStdExtZbb", "(", ")", "||", "Subtarget", ".", "hasStdExtZbp", "(", ")", "||", "Subtarget", ".", "hasStdExtZbkb", "(", ")", ")", "&&", "!", "isa", "<", "ConstantSDNode", ">", "(", "Y", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "should", "transform", ":", "(", "X", "&", "Y", ")", "==", "Y", "\ufffd", "?", "(", "~X", "&", "Y", ")", "==", "0", "(", "X", "&", "Y", ")", "!", "=", "Y", "\ufffd", "?", "(", "~X", "&", "Y", ")", "!", "=", "0", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVISelLowering20", "Func": "hasAndNotCompare", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 621, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "void", "function_expander", "::", "add_all_one_mask_operand", "(", "machine_mode", "mode", ")", "{", "add_input_operand", "(", "mode", ",", "CONSTM1_RTX", "(", "mode", ")", ")", ";", "}", ""], "natrual_language": ["Since", "we", "may", "normalize", "vop/vop_tu/vop_m/vop_tumu", "..", "into", "a", "single", "patter", ".", "We", "add", "a", "fake", "all", "true", "mask", "for", "the", "intrinsics", "that", "do", "n't", "need", "a", "real", "mask", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "add_all_one_mask_operand", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 622, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "RISCVRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X0", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X1", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X2", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X3", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X4", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X8", ")", ";", "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": ["RISCV", "RISCV", "RISCV::X0", "RISCV::X1", "RISCV::X2", "RISCV::X3", "RISCV::X4", "RISCV::X8"], "File": "RISCVRegisterInfo", "Func": "getReservedRegs", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 623, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isToken", "(", ")", "const", "override", "{", "return", "Kind", "==", "KindToken", ";", "}", ""], "natrual_language": ["isToken", "-", "Is", "this", "a", "token", "operand", "?"], "TS_V_token": ["RISCV"], "File": "RISCVAsmParser (2)1", "Func": "isToken", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 624, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "pass_shorten_memrefs", "::", "transform", "(", "regno_map", "*", "m", ",", "basic_block", "bb", ")", "{", "rtx_insn", "*", "insn", ";", "FOR_BB_INSNS", "(", "bb", ",", "insn", ")", "{", "if", "(", "!", "NONJUMP_INSN_P", "(", "insn", ")", ")", "continue", ";", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "!=", "SET", ")", "continue", ";", "start_sequence", "(", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "2", ";", "i", "++", ")", "{", "rtx", "mem", "=", "XEXP", "(", "pat", ",", "i", ")", ";", "rtx", "addr", ";", "bool", "extend", "=", "false", ";", "if", "(", "get_si_mem_base_reg", "(", "mem", ",", "&", "addr", ",", "&", "extend", ")", ")", "{", "HOST_WIDE_INT", "regno", "=", "REGNO", "(", "XEXP", "(", "addr", ",", "0", ")", ")", ";", "if", "(", "i", "==", "0", ")", "{", "if", "(", "XEXP", "(", "pat", ",", "1", ")", "==", "CONST0_RTX", "(", "GET_MODE", "(", "XEXP", "(", "pat", ",", "1", ")", ")", ")", ")", "continue", ";", "}", "if", "(", "m", "->", "get_or_insert", "(", "regno", ")", ">", "3", ")", "{", "if", "(", "extend", ")", "{", "addr", "=", "targetm", ".", "legitimize_address", "(", "addr", ",", "addr", ",", "GET_MODE", "(", "XEXP", "(", "mem", ",", "0", ")", ")", ")", ";", "XEXP", "(", "XEXP", "(", "pat", ",", "i", ")", ",", "0", ")", "=", "replace_equiv_address", "(", "XEXP", "(", "mem", ",", "0", ")", ",", "addr", ")", ";", "}", "else", "{", "addr", "=", "targetm", ".", "legitimize_address", "(", "addr", ",", "addr", ",", "GET_MODE", "(", "mem", ")", ")", ";", "XEXP", "(", "pat", ",", "i", ")", "=", "replace_equiv_address", "(", "mem", ",", "addr", ")", ";", "}", "df_insn_rescan", "(", "insn", ")", ";", "}", "}", "}", "rtx_insn", "*", "seq", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "emit_insn_before", "(", "seq", ",", "insn", ")", ";", "}", "}", ""], "natrual_language": ["Convert", "BASE", "+", "LARGE_OFFSET", "to", "NEW_BASE", "+", "SMALL_OFFSET", "for", "each", "load/store", "with", "a", "base", "reg", "referenced", "at", "least", "4", "times", "."], "TS_V_token": ["riscv", "0", "2", "0", "0", "1", "1", "3", "0", "0", "0"], "File": "riscv-shorten-memrefs", "Func": "transform", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 625, "Length": 274, "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": 626, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVELFTargetObjectFile", "::", "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": ["RISCV", "RISCV", "\".sdata\"", "\".sbss\""], "File": "RISCVTargetObjectFile8", "Func": "Initialize", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 627, "Length": 80, "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": ["RISCV"], "File": "RISCVISelLowering", "Func": "shouldConvertConstantLoadToIntImm", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 628, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RISCVRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVInstrInfo (2)", "Func": "getRegisterInfo", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 629, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "RISCVTTIImpl", "::", "getIntImmCost", "(", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", "&&", "\"getIntImmCost can only estimate cost of materialising integers\"", ")", ";", "if", "(", "Imm", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "const", "DataLayout", "&", "DL", "=", "getDataLayout", "(", ")", ";", "return", "RISCVMatInt", "::", "getIntMatCost", "(", "Imm", ",", "DL", ".", "getTypeSizeInBits", "(", "Ty", ")", ",", "getST", "(", ")", "->", "is64Bit", "(", ")", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["RISCV", "RISCV", "\"getIntImmCost can only estimate cost of materialising integers\"", "0", "RISCVMatInt::getIntMatCost"], "File": "RISCVTargetTransformInfo12", "Func": "getIntImmCost", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 630, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "unsigned", "int", "nregs", "=", "riscv_hard_regno_nregs", "(", "regno", ",", "mode", ")", ";", "if", "(", "GP_REG_P", "(", "regno", ")", ")", "{", "if", "(", "riscv_v_ext_vector_mode_p", "(", "mode", ")", ")", "return", "false", ";", "if", "(", "!", "GP_REG_P", "(", "regno", "+", "nregs", "-", "1", ")", ")", "return", "false", ";", "}", "else", "if", "(", "FP_REG_P", "(", "regno", ")", ")", "{", "if", "(", "riscv_v_ext_vector_mode_p", "(", "mode", ")", ")", "return", "false", ";", "if", "(", "!", "FP_REG_P", "(", "regno", "+", "nregs", "-", "1", ")", ")", "return", "false", ";", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_FLOAT", "&&", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_COMPLEX_FLOAT", ")", "return", "false", ";", "if", "(", "GET_MODE_UNIT_SIZE", "(", "mode", ")", ">", "UNITS_PER_FP_REG", "||", "(", "!", "call_used_or_fixed_reg_p", "(", "regno", ")", "&&", "GET_MODE_UNIT_SIZE", "(", "mode", ")", ">", "UNITS_PER_FP_ARG", ")", ")", "return", "false", ";", "}", "else", "if", "(", "V_REG_P", "(", "regno", ")", ")", "{", "if", "(", "!", "riscv_v_ext_vector_mode_p", "(", "mode", ")", ")", "return", "false", ";", "if", "(", "!", "V_REG_P", "(", "regno", "+", "nregs", "-", "1", ")", ")", "return", "false", ";", "int", "lmul", "=", "1", ";", "if", "(", "known_gt", "(", "GET_MODE_SIZE", "(", "mode", ")", ",", "UNITS_PER_V_REG", ")", ")", "lmul", "=", "exact_div", "(", "GET_MODE_SIZE", "(", "mode", ")", ",", "UNITS_PER_V_REG", ")", ".", "to_constant", "(", ")", ";", "if", "(", "lmul", "!=", "1", ")", "return", "(", "(", "regno", "%", "lmul", ")", "==", "0", ")", ";", "}", "else", "if", "(", "regno", "==", "VL_REGNUM", "||", "regno", "==", "VTYPE_REGNUM", ")", "return", "true", ";", "else", "return", "false", ";", "for", "(", "unsigned", "i", "=", "1", ";", "i", "<", "nregs", ";", "i", "++", ")", "if", "(", "call_used_or_fixed_reg_p", "(", "regno", ")", "!=", "call_used_or_fixed_reg_p", "(", "regno", "+", "i", ")", ")", "return", "false", ";", "if", "(", "!", "TARGET_64BIT", "&&", "TARGET_ZDINX", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", "&&", "GET_MODE_UNIT_SIZE", "(", "mode", ")", "==", "GET_MODE_SIZE", "(", "DFmode", ")", ")", "return", "!", "(", "regno", "&", "1", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_MODE_OK", "."], "TS_V_token": ["riscv", "1", "1", "1", "1", "1", "0", "1", "1"], "File": "riscv1", "Func": "riscv_hard_regno_mode_ok", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 631, "Length": 313, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "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", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "Outs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "MVT", "VT", "=", "Outs", "[", "i", "]", ".", "VT", ";", "ISD", "::", "ArgFlagsTy", "ArgFlags", "=", "Outs", "[", "i", "]", ".", "Flags", ";", "RISCVABI", "::", "ABI", "ABI", "=", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ".", "getTargetABI", "(", ")", ";", "if", "(", "CC_RISCV", "(", "MF", ".", "getDataLayout", "(", ")", ",", "ABI", ",", "i", ",", "VT", ",", "VT", ",", "CCValAssign", "::", "Full", ",", "ArgFlags", ",", "CCInfo", ",", "true", ",", "true", ",", "nullptr", ")", ")", "return", "false", ";", "}", "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": ["RISCV", "RISCV", "ISD::OutputArg", "16", "0", "ISD::ArgFlagsTy", "RISCVABI::ABI", "RISCV", "RISCV"], "File": "RISCVISelLowering11", "Func": "CanLowerReturn", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 632, "Length": 159, "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", ")", ";", "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", ")", ";", "}", "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", ")", ";", "}", "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", ")", ";", "}", ""], "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": "RISCVFrameLowering23", "Func": "emitEpilogue", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 633, "Length": 310, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "riscv_add_offset", "(", "rtx", "temp", ",", "rtx", "reg", ",", "HOST_WIDE_INT", "offset", ")", "{", "if", "(", "!", "SMALL_OPERAND", "(", "offset", ")", ")", "{", "rtx", "high", ";", "high", "=", "gen_int_mode", "(", "CONST_HIGH_PART", "(", "offset", ")", ",", "Pmode", ")", ";", "offset", "=", "CONST_LOW_PART", "(", "offset", ")", ";", "high", "=", "riscv_force_temporary", "(", "temp", ",", "high", ")", ";", "reg", "=", "riscv_force_temporary", "(", "temp", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "high", ",", "reg", ")", ")", ";", "}", "return", "plus_constant", "(", "Pmode", ",", "reg", ",", "offset", ")", ";", "}", ""], "natrual_language": ["Return", "a", "legitimate", "address", "for", "REG", "+", "OFFSET", ".", "TEMP", "is", "as", "for", "riscv_force_temporary", ";", "it", "is", "only", "needed", "when", "OFFSET", "is", "not", "a", "SMALL_OPERAND", "."], "TS_V_token": ["riscv"], "File": "riscv2", "Func": "riscv_add_offset", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 634, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "riscv_stack_align", "(", "HOST_WIDE_INT", "value", ")", "{", "return", "RISCV_STACK_ALIGN", "(", "value", ")", ";", "}", ""], "natrual_language": ["Handle", "stack", "align", "for", "poly_int", "."], "TS_V_token": ["riscv"], "File": "riscv1", "Func": "riscv_stack_align", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 635, "Length": 15, "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": 636, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "riscv_run_selftests", "(", "void", ")", "{", "run_poly_int_selftests", "(", ")", ";", "run_const_vector_selftests", "(", ")", ";", "run_broadcast_selftests", "(", ")", ";", "}", ""], "natrual_language": ["Run", "all", "target-specific", "selftests", "."], "TS_V_token": ["riscv"], "File": "riscv-selftests", "Func": "riscv_run_selftests", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 637, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "riscv_save_libcall_count", "(", "unsigned", "mask", ")", "{", "for", "(", "unsigned", "n", "=", "GP_REG_LAST", ";", "n", ">", "GP_REG_FIRST", ";", "n", "--", ")", "if", "(", "BITSET_P", "(", "mask", ",", "n", ")", ")", "return", "CALLEE_SAVED_REG_NUMBER", "(", "n", ")", "+", "1", ";", "abort", "(", ")", ";", "}", ""], "natrual_language": ["Determine", "which", "GPR", "save/restore", "routine", "to", "call", "."], "TS_V_token": ["riscv", "1"], "File": "riscv", "Func": "riscv_save_libcall_count", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 638, "Length": 44, "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", "(", "REG_P", "(", "addr", ")", ")", "{", "*", "base", "=", "addr", ";", "*", "offset", "=", "const0_rtx", ";", "return", "true", ";", "}", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "addr", ",", "1", ")", ")", ")", "{", "*", "base", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "*", "offset", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "return", "true", ";", "}", "*", "base", "=", "NULL_RTX", ";", "*", "offset", "=", "NULL_RTX", ";", "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": ["riscv", "0", "0", "1", "0", "1"], "File": "thead", "Func": "extract_base_offset_in_addr", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 639, "Length": 126, "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": 640, "Length": 37, "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", "(", ")", ";", "unsigned", "FrameReg", ";", "int", "Offset", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "VSE_V_um", "||", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "VLE_V_um", ")", "{", "Offset", "=", "getFrameLowering", "(", "MF", ")", "->", "getFrameIndexReference", "(", "MF", ",", "FrameIndex", ",", "FrameReg", ")", ";", "}", "else", "Offset", "=", "getFrameLowering", "(", "MF", ")", "->", "getFrameIndexReference", "(", "MF", ",", "FrameIndex", ",", "FrameReg", ")", "+", "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", ";", "}", "if", "(", "(", "Offset", "!=", "0", ")", "&&", "(", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "VSE_V_um", "||", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "VLE_V_um", ")", ")", "{", "unsigned", "ScratchReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "RISCV", "::", "GPRRegClass", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "TII", "->", "get", "(", "RISCV", "::", "ADDI", ")", ",", "ScratchReg", ")", ".", "addReg", "(", "FrameReg", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "Offset", ")", ";", "Offset", "=", "0", ";", "FrameReg", "=", "ScratchReg", ";", "FrameRegIsKill", "=", "true", ";", "}", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "VSE_V_um", "||", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "VLE_V_um", ")", "{", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "FrameReg", ",", "false", ",", "false", ",", "FrameRegIsKill", ")", ";", "}", "else", "{", "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", "RISCV::VSE_V_um", "RISCV::VLE_V_um", "1", "32", "\"Frame offsets outside of the signed 32-bit range not supported\"", "12", "32", "\"Int32 expected\"", "RISCV::GPRRegClass", "RISCV::ADD", "0", "0", "RISCV::VSE_V_um", "RISCV::VLE_V_um", "RISCV::GPRRegClass", "RISCV::ADDI", "0", "RISCV::VSE_V_um", "RISCV::VLE_V_um", "1"], "File": "RISCVRegisterInfo21", "Func": "eliminateFrameIndex", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 641, "Length": 483, "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_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_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": "RISCVAsmBackend10", "Func": "getFixupKindInfo", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 642, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_slow_unaligned_access", "(", "machine_mode", ",", "unsigned", "int", ")", "{", "return", "riscv_slow_unaligned_access_p", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SLOW_UNALIGNED_ACCESS", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_slow_unaligned_access", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 643, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_adjust_block_mem", "(", "rtx", "mem", ",", "unsigned", "HOST_WIDE_INT", "length", ",", "rtx", "*", "loop_reg", ",", "rtx", "*", "loop_mem", ")", "{", "*", "loop_reg", "=", "copy_addr_to_reg", "(", "XEXP", "(", "mem", ",", "0", ")", ")", ";", "*", "loop_mem", "=", "change_address", "(", "mem", ",", "BLKmode", ",", "*", "loop_reg", ")", ";", "set_mem_align", "(", "*", "loop_mem", ",", "MIN", "(", "MEM_ALIGN", "(", "mem", ")", ",", "length", "*", "BITS_PER_UNIT", ")", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "doing", "a", "loop-based", "block", "operation", "on", "memory", "reference", "MEM", ".", "Each", "iteration", "of", "the", "loop", "will", "operate", "on", "LENGTH", "bytes", "of", "MEM", ".", "Create", "a", "new", "base", "register", "for", "use", "within", "the", "loop", "and", "point", "it", "to", "the", "start", "of", "MEM", ".", "Create", "a", "new", "memory", "reference", "that", "uses", "this", "register", ".", "Store", "them", "in", "*", "LOOP_REG", "and", "*", "LOOP_MEM", "respectively", "."], "TS_V_token": ["riscv", "0"], "File": "riscv", "Func": "riscv_adjust_block_mem", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 644, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_file_start", "(", "void", ")", "{", "default_file_start", "(", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.option %spic\\n\"", ",", "(", "flag_pic", "?", "\"\"", ":", "\"no\"", ")", ")", ";", "if", "(", "!", "riscv_mrelax", ")", "fprintf", "(", "asm_out_file", ",", "\"\\t.option norelax\\n\"", ")", ";", "if", "(", "riscv_mcsr_check", ")", "fprintf", "(", "asm_out_file", ",", "\"\\t.option csr-check\\n\"", ")", ";", "if", "(", "riscv_emit_attribute_p", ")", "riscv_emit_attribute", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_FILE_START", "."], "TS_V_token": ["riscv", "\"\\t.option %spic\\n\"", "\"\"", "\"no\"", "\"\\t.option norelax\\n\"", "\"\\t.option csr-check\\n\""], "File": "riscv1", "Func": "riscv_file_start", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 645, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "riscv_address_insns", "(", "rtx", "x", ",", "enum", "machine_mode", "mode", ",", "bool", "might_split_p", ")", "{", "struct", "riscv_address_info", "addr", ";", "int", "n", "=", "1", ";", "if", "(", "!", "riscv_classify_address", "(", "&", "addr", ",", "x", ",", "mode", ",", "false", ")", ")", "return", "0", ";", "if", "(", "mode", "!=", "BLKmode", "&&", "might_split_p", ")", "n", "+=", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "if", "(", "addr", ".", "type", "==", "ADDRESS_LO_SUM", ")", "n", "+=", "riscv_symbol_insns", "(", "addr", ".", "symbol_type", ")", "-", "1", ";", "return", "n", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "needed", "to", "load", "or", "store", "a", "value", "of", "mode", "MODE", "at", "address", "X", ".", "Return", "0", "if", "X", "is", "n't", "valid", "for", "MODE", ".", "Assume", "that", "multiword", "moves", "may", "need", "to", "be", "split", "into", "word", "moves", "if", "MIGHT_SPLIT_P", ",", "otherwise", "assume", "that", "a", "single", "load", "or", "store", "is", "enough", "."], "TS_V_token": ["riscv", "1", "0", "1", "1"], "File": "riscv2", "Func": "riscv_address_insns", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 646, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "riscv_force_binary", "(", "enum", "machine_mode", "mode", ",", "enum", "rtx_code", "code", ",", "rtx", "x", ",", "rtx", "y", ")", "{", "return", "riscv_emit_binary", "(", "code", ",", "gen_reg_rtx", "(", "mode", ")", ",", "x", ",", "y", ")", ";", "}", ""], "natrual_language": ["Compute", "(", "CODE", "X", "Y", ")", "and", "store", "the", "result", "in", "a", "new", "register", "of", "mode", "MODE", ".", "Return", "that", "new", "register", "."], "TS_V_token": ["riscv"], "File": "riscv2", "Func": "riscv_force_binary", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 647, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "riscv_build_integer_1", "(", "struct", "riscv_integer_op", "codes", "[", "RISCV_MAX_INTEGER_OPS", "]", ",", "HOST_WIDE_INT", "value", ",", "enum", "machine_mode", "mode", ")", "{", "HOST_WIDE_INT", "low_part", "=", "CONST_LOW_PART", "(", "value", ")", ";", "int", "cost", "=", "RISCV_MAX_INTEGER_OPS", "+", "1", ",", "alt_cost", ";", "struct", "riscv_integer_op", "alt_codes", "[", "RISCV_MAX_INTEGER_OPS", "]", ";", "if", "(", "SMALL_OPERAND", "(", "value", ")", "||", "LUI_OPERAND", "(", "value", ")", ")", "{", "codes", "[", "0", "]", ".", "code", "=", "UNKNOWN", ";", "codes", "[", "0", "]", ".", "value", "=", "value", ";", "return", "1", ";", "}", "if", "(", "low_part", "!=", "0", "&&", "(", "mode", "!=", "HImode", "||", "value", "-", "low_part", "<=", "(", "(", "1", "<<", "(", "GET_MODE_BITSIZE", "(", "HImode", ")", "-", "1", ")", ")", "-", "1", ")", ")", ")", "{", "alt_cost", "=", "1", "+", "riscv_build_integer_1", "(", "alt_codes", ",", "value", "-", "low_part", ",", "mode", ")", ";", "if", "(", "alt_cost", "<", "cost", ")", "{", "alt_codes", "[", "alt_cost", "-", "1", "]", ".", "code", "=", "PLUS", ";", "alt_codes", "[", "alt_cost", "-", "1", "]", ".", "value", "=", "low_part", ";", "memcpy", "(", "codes", ",", "alt_codes", ",", "sizeof", "(", "alt_codes", ")", ")", ";", "cost", "=", "alt_cost", ";", "}", "}", "if", "(", "cost", ">", "2", "&&", "(", "low_part", "<", "0", "||", "mode", "==", "HImode", ")", ")", "{", "alt_cost", "=", "1", "+", "riscv_build_integer_1", "(", "alt_codes", ",", "value", "^", "low_part", ",", "mode", ")", ";", "if", "(", "alt_cost", "<", "cost", ")", "{", "alt_codes", "[", "alt_cost", "-", "1", "]", ".", "code", "=", "XOR", ";", "alt_codes", "[", "alt_cost", "-", "1", "]", ".", "value", "=", "low_part", ";", "memcpy", "(", "codes", ",", "alt_codes", ",", "sizeof", "(", "alt_codes", ")", ")", ";", "cost", "=", "alt_cost", ";", "}", "}", "if", "(", "cost", ">", "2", "&&", "(", "value", "&", "1", ")", "==", "0", ")", "{", "int", "shift", "=", "ctz_hwi", "(", "value", ")", ";", "unsigned", "HOST_WIDE_INT", "x", "=", "value", ";", "x", "=", "sext_hwi", "(", "x", ">>", "shift", ",", "HOST_BITS_PER_WIDE_INT", "-", "shift", ")", ";", "if", "(", "shift", ">", "IMM_BITS", "&&", "!", "SMALL_OPERAND", "(", "x", ")", "&&", "LUI_OPERAND", "(", "x", "<<", "IMM_BITS", ")", ")", "shift", "-=", "IMM_BITS", ",", "x", "<<=", "IMM_BITS", ";", "alt_cost", "=", "1", "+", "riscv_build_integer_1", "(", "alt_codes", ",", "x", ",", "mode", ")", ";", "if", "(", "alt_cost", "<", "cost", ")", "{", "alt_codes", "[", "alt_cost", "-", "1", "]", ".", "code", "=", "ASHIFT", ";", "alt_codes", "[", "alt_cost", "-", "1", "]", ".", "value", "=", "shift", ";", "memcpy", "(", "codes", ",", "alt_codes", ",", "sizeof", "(", "alt_codes", ")", ")", ";", "cost", "=", "alt_cost", ";", "}", "}", "gcc_assert", "(", "cost", "<=", "RISCV_MAX_INTEGER_OPS", ")", ";", "return", "cost", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "riscv_build_integer", ";", "arguments", "are", "as", "for", "riscv_build_integer", "."], "TS_V_token": ["riscv", "1", "0", "0", "1", "0", "1", "1", "1", "1", "1", "1", "2", "0", "1", "1", "1", "2", "1", "0", "1", "1", "1"], "File": "riscv2", "Func": "riscv_build_integer_1", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 648, "Length": 393, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "if", "(", "NoAliases", "||", "!", "printAliasInstr", "(", "MI", ",", "STI", ",", "O", ")", ")", "printInstruction", "(", "MI", ",", "STI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVInstPrinter6", "Func": "printInst", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 649, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"RISCV Branch Selector\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["RISCV", "\"RISCV Branch Selector\""], "File": "RISCVBranchSelector", "Func": "getPassName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 650, "Length": 13, "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", "::", "SLLW", ":", "case", "RISCVISD", "::", "SRAW", ":", "case", "RISCVISD", "::", "SRLW", ":", "case", "RISCVISD", "::", "DIVW", ":", "case", "RISCVISD", "::", "DIVUW", ":", "case", "RISCVISD", "::", "REMUW", ":", "return", "33", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["Determine", "the", "number", "of", "bits", "in", "the", "operation", "that", "are", "sign", "bits", "."], "TS_V_token": ["RISCV", "RISCV", "RISCVISD::SLLW", "RISCVISD::SRAW", "RISCVISD::SRLW", "RISCVISD::DIVW", "RISCVISD::DIVUW", "RISCVISD::REMUW", "33", "1"], "File": "RISCVISelLowering11", "Func": "ComputeNumSignBitsForTargetNode", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 651, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "VConstraintType", "getConstraint", "(", "uint64_t", "TSFlags", ")", "{", "return", "static_cast", "<", "VConstraintType", ">", "(", "(", "TSFlags", "&", "ConstraintMask", ")", ">>", "ConstraintShift", ")", ";", "}", ""], "natrual_language": ["Fetch", "condition", "in", "the", "form", "of", "PredicateConstraint", ",", "if", "possible", "."], "TS_V_token": ["RISCV"], "File": "RISCVBaseInfo11", "Func": "getConstraint", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 652, "Length": 25, "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", ")", ")", "{", "if", "(", "RISCVABI", "::", "isCheriPureCapABI", "(", "STI", ".", "getTargetABI", "(", ")", ")", ")", "{", "SavedRegs", ".", "set", "(", "RISCV", "::", "C1", ")", ";", "SavedRegs", ".", "set", "(", "RISCV", "::", "C8", ")", ";", "}", "else", "{", "SavedRegs", ".", "set", "(", "RISCV", "::", "X1", ")", ";", "SavedRegs", ".", "set", "(", "RISCV", "::", "X8", ")", ";", "}", "}", "if", "(", "hasBP", "(", "MF", ")", ")", "SavedRegs", ".", "set", "(", "RISCVABI", "::", "getBPReg", "(", "STI", ".", "getTargetABI", "(", ")", ")", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"interrupt\"", ")", "&&", "MFI", ".", "hasCalls", "(", ")", ")", "{", "static", "const", "MCPhysReg", "CSGPRs", "[", "]", "=", "{", "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", "}", ";", "static", "const", "MCPhysReg", "CSGPCRs", "[", "]", "=", "{", "RISCV", "::", "C1", ",", "RISCV", "::", "C5", ",", "RISCV", "::", "C6", ",", "RISCV", "::", "C7", ",", "RISCV", "::", "C10", ",", "RISCV", "::", "C11", ",", "RISCV", "::", "C12", ",", "RISCV", "::", "C13", ",", "RISCV", "::", "C14", ",", "RISCV", "::", "C15", ",", "RISCV", "::", "C16", ",", "RISCV", "::", "C17", ",", "RISCV", "::", "C28", ",", "RISCV", "::", "C29", ",", "RISCV", "::", "C30", ",", "RISCV", "::", "C31", ",", "0", "}", ";", "ArrayRef", "<", "MCPhysReg", ">", "CSRegs", ";", "if", "(", "RISCVABI", "::", "isCheriPureCapABI", "(", "STI", ".", "getTargetABI", "(", ")", ")", ")", "CSRegs", "=", "CSGPCRs", ";", "else", "CSRegs", "=", "CSGPRs", ";", "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", "RISCVABI::isCheriPureCapABI", "RISCV::C1", "RISCV::C8", "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", "RISCV::C1", "RISCV::C5", "RISCV::C6", "RISCV::C7", "RISCV::C10", "RISCV::C11", "RISCV::C12", "RISCV::C13", "RISCV::C14", "RISCV::C15", "RISCV::C16", "RISCV::C17", "RISCV::C28", "RISCV::C29", "RISCV::C30", "RISCV::C31", "0", "RISCVABI::isCheriPureCapABI", "0", "RISCV", "0", "RISCV::FPR16RegClass", "RISCV::FPR32RegClass", "RISCV::FPR64RegClass"], "File": "RISCVFrameLowering21", "Func": "determineCalleeSaves", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 653, "Length": 446, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "machine_mode", "function_expander", "::", "mask_mode", "(", "void", ")", "const", "{", "vector_type_index", "mask_type_index", "=", "function_types", "[", "type", ".", "index", "]", ".", "type_indexes", "[", "RVV_BASE_mask", "]", ";", "return", "TYPE_MODE", "(", "builtin_types", "[", "mask_type_index", "]", ".", "vector", ")", ";", "}", ""], "natrual_language": ["Return", "the", "machine_mode", "of", "the", "corresponding", "mask", "type", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "mask_mode", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 654, "Length": 36, "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": 655, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "vl_vtype_info", "(", ")", ":", "m_avl", "(", "avl_info", "(", ")", ")", ",", "m_sew", "(", "0", ")", ",", "m_vlmul", "(", "riscv_vector", "::", "LMUL_RESERVED", ")", ",", "m_ratio", "(", "0", ")", ",", "m_ta", "(", "0", ")", ",", "m_ma", "(", "0", ")", "{", "}", ""], "natrual_language": ["Initialize", "VL/VTYPE", "information", "."], "TS_V_token": ["riscv", "0", "riscv_vector::LMUL_RESERVED", "0", "0", "0"], "File": "riscv-vsetvl", "Func": "vl_vtype_info", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 656, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "RISCVTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "report_fatal_error", "(", "\"unimplemented operand\"", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "lowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "lowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "lowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "return", "lowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "lowerSELECT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "lowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "lowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "lowerRETURNADDR", "(", "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", "::", "BITCAST", ":", "{", "assert", "(", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Subtarget", ".", "hasStdExtF", "(", ")", "&&", "\"Unexpected custom legalisation\"", ")", ";", "SDLoc", "DL", "(", "Op", ")", ";", "SDValue", "Op0", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "if", "(", "Op", ".", "getValueType", "(", ")", "!=", "MVT", "::", "f32", "||", "Op0", ".", "getValueType", "(", ")", "!=", "MVT", "::", "i32", ")", "return", "SDValue", "(", ")", ";", "SDValue", "NewOp0", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ANY_EXTEND", ",", "DL", ",", "MVT", "::", "i64", ",", "Op0", ")", ";", "SDValue", "FPConv", "=", "DAG", ".", "getNode", "(", "RISCVISD", "::", "FMV_W_X_RV64", ",", "DL", ",", "MVT", "::", "f32", ",", "NewOp0", ")", ";", "return", "FPConv", ";", "}", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["RISCV", "RISCV", "\"unimplemented operand\"", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::ConstantPool", "ISD::GlobalTLSAddress", "ISD::SELECT", "ISD::VASTART", "ISD::FRAMEADDR", "ISD::RETURNADDR", "ISD::SHL_PARTS", "ISD::SRA_PARTS", "ISD::SRL_PARTS", "ISD::BITCAST", "\"Unexpected custom legalisation\"", "0", "MVT::f32", "MVT::i32", "ISD::ANY_EXTEND", "MVT::i64", "RISCVISD::FMV_W_X_RV64", "MVT::f32"], "File": "RISCVISelLowering11", "Func": "LowerOperation", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 657, "Length": 289, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVFrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "MutableArrayRef", "<", "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", "(", ")", ";", "const", "auto", "&", "NonLibcallCSI", "=", "getNonLibcallCSI", "(", "*", "MF", ",", "CSI", ")", ";", "for", "(", "auto", "&", "CS", ":", "reverse", "(", "NonLibcallCSI", ")", ")", "{", "Register", "Reg", "=", "CS", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "TII", ".", "loadRegFromStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "CS", ".", "getFrameIdx", "(", ")", ",", "RC", ",", "TRI", ")", ";", "assert", "(", "MI", "!=", "MBB", ".", "begin", "(", ")", "&&", "\"loadRegFromStackSlot didn't insert any code!\"", ")", ";", "}", "const", "char", "*", "RestoreLibCall", "=", "getRestoreLibCallName", "(", "*", "MF", ",", "CSI", ")", ";", "if", "(", "RestoreLibCall", ")", "{", "MachineBasicBlock", "::", "iterator", "NewMI", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "RISCV", "::", "PseudoTAIL", ")", ")", ".", "addExternalSymbol", "(", "RestoreLibCall", ",", "RISCVII", "::", "MO_CALL", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameDestroy", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", "&&", "MI", "->", "getOpcode", "(", ")", "==", "RISCV", "::", "PseudoRET", ")", "{", "NewMI", "->", "copyImplicitOps", "(", "*", "MF", ",", "*", "MI", ")", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "}", "}", "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": ["RISCV", "RISCV", "\"loadRegFromStackSlot didn't insert any code!\"", "RISCV::PseudoTAIL", "RISCVII::MO_CALL", "RISCV::PseudoRET"], "File": "RISCVFrameLowering13", "Func": "restoreCalleeSavedRegisters", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 658, "Length": 274, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "riscv_expand_builtin_direct", "(", "enum", "insn_code", "icode", ",", "rtx", "target", ",", "tree", "exp", ",", "bool", "has_target_p", ")", "{", "struct", "expand_operand", "ops", "[", "MAX_RECOG_OPERANDS", "]", ";", "int", "opno", "=", "0", ";", "if", "(", "has_target_p", ")", "create_output_operand", "(", "&", "ops", "[", "opno", "++", "]", ",", "target", ",", "TYPE_MODE", "(", "TREE_TYPE", "(", "exp", ")", ")", ")", ";", "gcc_assert", "(", "opno", "+", "call_expr_nargs", "(", "exp", ")", "==", "insn_data", "[", "icode", "]", ".", "n_generator_args", ")", ";", "for", "(", "int", "argno", "=", "0", ";", "argno", "<", "call_expr_nargs", "(", "exp", ")", ";", "argno", "++", ")", "riscv_prepare_builtin_arg", "(", "&", "ops", "[", "opno", "++", "]", ",", "exp", ",", "argno", ")", ";", "return", "riscv_expand_builtin_insn", "(", "icode", ",", "opno", ",", "ops", ",", "has_target_p", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "RISCV_BUILTIN_DIRECT", "or", "RISCV_BUILTIN_DIRECT_NO_TARGET", "function", ";", "HAS_TARGET_P", "says", "which", ".", "EXP", "is", "the", "CALL_EXPR", "that", "calls", "the", "function", "and", "ICODE", "is", "the", "code", "of", "the", "associated", ".md", "pattern", ".", "TARGET", ",", "if", "nonnull", ",", "suggests", "a", "good", "place", "to", "put", "the", "result", "."], "TS_V_token": ["riscv", "0", "0"], "File": "riscv-builtins", "Func": "riscv_expand_builtin_direct", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 659, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "riscv_function_arg", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "struct", "riscv_arg_info", "info", ";", "if", "(", "arg", ".", "end_marker_p", "(", ")", ")", "return", "NULL", ";", "return", "riscv_get_arg_info", "(", "&", "info", ",", "cum", ",", "arg", ".", "mode", ",", "arg", ".", "type", ",", "arg", ".", "named", ",", "false", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_ARG", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_function_arg", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 660, "Length": 61, "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", ",", "LuiMI", ".", "getIterator", "(", ")", ",", "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": "RISCVInstrInfo36", "Func": "insertIndirectBranch", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 661, "Length": 269, "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": 662, "Length": 475, "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", "(", ")", ")", "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": "RISCVRegisterInfo19", "Func": "hasReservedSpillSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 663, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_valid_offset_p", "(", "rtx", "x", ",", "machine_mode", "mode", ")", "{", "if", "(", "!", "const_arith_operand", "(", "x", ",", "Pmode", ")", ")", "return", "false", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "UNITS_PER_WORD", "&&", "!", "SMALL_OPERAND", "(", "INTVAL", "(", "x", ")", "+", "GET_MODE_SIZE", "(", "mode", ")", "-", "UNITS_PER_WORD", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", ",", "for", "every", "base", "register", "BASE_REG", ",", "(", "plus", "BASE_REG", "X", ")", "can", "address", "a", "value", "of", "mode", "MODE", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_valid_offset_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 664, "Length": 56, "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", ".", "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", "12", "1", "1", "1"], "File": "RISCVISelLowering34", "Func": "decomposeMulByConstant", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 665, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDLoc", "DL", "(", "N", ")", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Don't know how to custom type legalize this operation!\"", ")", ";", "case", "ISD", "::", "READCYCLECOUNTER", ":", "{", "assert", "(", "!", "Subtarget", ".", "is64Bit", "(", ")", "&&", "\"READCYCLECOUNTER only has custom type legalization on riscv32\"", ")", ";", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "MVT", "::", "i32", ",", "MVT", "::", "i32", ",", "MVT", "::", "Other", ")", ";", "SDValue", "RCW", "=", "DAG", ".", "getNode", "(", "RISCVISD", "::", "READ_CYCLE_WIDE", ",", "DL", ",", "VTs", ",", "N", "->", "getOperand", "(", "0", ")", ")", ";", "Results", ".", "push_back", "(", "RCW", ")", ";", "Results", ".", "push_back", "(", "RCW", ".", "getValue", "(", "1", ")", ")", ";", "Results", ".", "push_back", "(", "RCW", ".", "getValue", "(", "2", ")", ")", ";", "break", ";", "}", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SRL", ":", "assert", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i32", "&&", "Subtarget", ".", "is64Bit", "(", ")", "&&", "\"Unexpected custom legalisation\"", ")", ";", "if", "(", "N", "->", "getOperand", "(", "1", ")", ".", "getOpcode", "(", ")", "==", "ISD", "::", "Constant", ")", "return", ";", "Results", ".", "push_back", "(", "customLegalizeToWOp", "(", "N", ",", "DAG", ")", ")", ";", "break", ";", "case", "ISD", "::", "SDIV", ":", "case", "ISD", "::", "UDIV", ":", "case", "ISD", "::", "UREM", ":", "assert", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i32", "&&", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Subtarget", ".", "hasStdExtM", "(", ")", "&&", "\"Unexpected custom legalisation\"", ")", ";", "if", "(", "N", "->", "getOperand", "(", "0", ")", ".", "getOpcode", "(", ")", "==", "ISD", "::", "Constant", "||", "N", "->", "getOperand", "(", "1", ")", ".", "getOpcode", "(", ")", "==", "ISD", "::", "Constant", ")", "return", ";", "Results", ".", "push_back", "(", "customLegalizeToWOp", "(", "N", ",", "DAG", ")", ")", ";", "break", ";", "case", "ISD", "::", "BITCAST", ":", "{", "assert", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i32", "&&", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Subtarget", ".", "hasStdExtF", "(", ")", "&&", "\"Unexpected custom legalisation\"", ")", ";", "SDLoc", "DL", "(", "N", ")", ";", "SDValue", "Op0", "=", "N", "->", "getOperand", "(", "0", ")", ";", "if", "(", "Op0", ".", "getValueType", "(", ")", "!=", "MVT", "::", "f32", ")", "return", ";", "SDValue", "FPConv", "=", "DAG", ".", "getNode", "(", "RISCVISD", "::", "FMV_X_ANYEXTW_RV64", ",", "DL", ",", "MVT", "::", "i64", ",", "Op0", ")", ";", "Results", ".", "push_back", "(", "DAG", ".", "getNode", "(", "ISD", "::", "TRUNCATE", ",", "DL", ",", "MVT", "::", "i32", ",", "FPConv", ")", ")", ";", "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": ["RISCV", "RISCV", "\"Don't know how to custom type legalize this operation!\"", "ISD::READCYCLECOUNTER", "\"READCYCLECOUNTER only has custom type legalization on riscv32\"", "MVT::i32", "MVT::i32", "MVT::Other", "RISCVISD::READ_CYCLE_WIDE", "0", "1", "2", "ISD::SHL", "ISD::SRA", "ISD::SRL", "0", "MVT::i32", "\"Unexpected custom legalisation\"", "1", "ISD::Constant", "ISD::SDIV", "ISD::UDIV", "ISD::UREM", "0", "MVT::i32", "\"Unexpected custom legalisation\"", "0", "ISD::Constant", "1", "ISD::Constant", "ISD::BITCAST", "0", "MVT::i32", "\"Unexpected custom legalisation\"", "0", "MVT::f32", "RISCVISD::FMV_X_ANYEXTW_RV64", "MVT::i64", "ISD::TRUNCATE", "MVT::i32"], "File": "RISCVISelLowering16", "Func": "ReplaceNodeResults", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 666, "Length": 411, "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": 667, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_print_operand", "(", "FILE", "*", "file", ",", "rtx", "op", ",", "int", "letter", ")", "{", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "op", ")", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "op", ")", ";", "switch", "(", "letter", ")", "{", "case", "'h'", ":", "if", "(", "code", "==", "HIGH", ")", "op", "=", "XEXP", "(", "op", ",", "0", ")", ";", "riscv_print_operand_reloc", "(", "file", ",", "op", ",", "true", ")", ";", "break", ";", "case", "'R'", ":", "riscv_print_operand_reloc", "(", "file", ",", "op", ",", "false", ")", ";", "break", ";", "case", "'C'", ":", "fputs", "(", "GET_RTX_NAME", "(", "code", ")", ",", "file", ")", ";", "break", ";", "case", "'A'", ":", "if", "(", "riscv_memmodel_needs_amo_acquire", "(", "(", "enum", "memmodel", ")", "INTVAL", "(", "op", ")", ")", ")", "fputs", "(", "\".aq\"", ",", "file", ")", ";", "break", ";", "case", "'F'", ":", "if", "(", "riscv_memmodel_needs_release_fence", "(", "(", "enum", "memmodel", ")", "INTVAL", "(", "op", ")", ")", ")", "fputs", "(", "\"fence iorw,ow; \"", ",", "file", ")", ";", "break", ";", "default", ":", "switch", "(", "code", ")", "{", "case", "REG", ":", "if", "(", "letter", "&&", "letter", "!=", "'z'", ")", "output_operand_lossage", "(", "\"invalid use of '%%%c'\"", ",", "letter", ")", ";", "fprintf", "(", "file", ",", "\"%s\"", ",", "reg_names", "[", "REGNO", "(", "op", ")", "]", ")", ";", "break", ";", "case", "MEM", ":", "if", "(", "letter", "&&", "letter", "!=", "'z'", ")", "output_operand_lossage", "(", "\"invalid use of '%%%c'\"", ",", "letter", ")", ";", "else", "output_address", "(", "mode", ",", "XEXP", "(", "op", ",", "0", ")", ")", ";", "break", ";", "default", ":", "if", "(", "letter", "==", "'z'", "&&", "op", "==", "CONST0_RTX", "(", "GET_MODE", "(", "op", ")", ")", ")", "fputs", "(", "reg_names", "[", "GP_REG_FIRST", "]", ",", "file", ")", ";", "else", "if", "(", "letter", "&&", "letter", "!=", "'z'", ")", "output_operand_lossage", "(", "\"invalid use of '%%%c'\"", ",", "letter", ")", ";", "else", "output_addr_const", "(", "file", ",", "riscv_strip_unspec_address", "(", "op", ")", ")", ";", "break", ";", "}", "}", "}", ""], "natrual_language": ["Implement", "TARGET_PRINT_OPERAND", ".", "The", "RISCV-specific", "operand", "codes", "are", ":", "'", "h'", "Print", "the", "high-part", "relocation", "associated", "with", "OP", ",", "after", "stripping", "any", "outermost", "HIGH", ".", "'", "R'", "Print", "the", "low-part", "relocation", "associated", "with", "OP", ".", "'", "C'", "Print", "the", "integer", "branch", "condition", "for", "comparison", "OP", ".", "'", "A'", "Print", "the", "atomic", "operation", "suffix", "for", "memory", "model", "OP", ".", "'", "F'", "Print", "a", "FENCE", "if", "the", "memory", "model", "requires", "a", "release", ".", "'", "z'", "Print", "x0", "if", "OP", "is", "zero", ",", "otherwise", "print", "OP", "normally", "."], "TS_V_token": ["riscv", "0", "\".aq\"", "\"fence iorw,ow; \"", "\"invalid use of '%%%c'\"", "\"%s\"", "\"invalid use of '%%%c'\"", "0", "\"invalid use of '%%%c'\""], "File": "riscv2", "Func": "riscv_print_operand", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 668, "Length": 283, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_for_each_saved_reg", "(", "poly_int64", "sp_offset", ",", "riscv_save_restore_fn", "fn", ",", "bool", "epilogue", ",", "bool", "maybe_eh_return", ")", "{", "HOST_WIDE_INT", "offset", ";", "unsigned", "int", "regno", ";", "unsigned", "int", "start", "=", "GP_REG_FIRST", ";", "unsigned", "int", "limit", "=", "GP_REG_LAST", ";", "offset", "=", "(", "cfun", "->", "machine", "->", "frame", ".", "gp_sp_offset", "-", "sp_offset", ")", ".", "to_constant", "(", ")", "+", "UNITS_PER_WORD", ";", "for", "(", "regno", "=", "riscv_next_saved_reg", "(", "start", ",", "limit", ",", "&", "offset", ",", "false", ")", ";", "regno", "!=", "INVALID_REGNUM", ";", "regno", "=", "riscv_next_saved_reg", "(", "regno", ",", "limit", ",", "&", "offset", ")", ")", "{", "if", "(", "cfun", "->", "machine", "->", "reg_is_wrapped_separately", "[", "regno", "]", ")", "continue", ";", "if", "(", "epilogue", "&&", "!", "maybe_eh_return", "&&", "riscv_is_eh_return_data_register", "(", "regno", ")", ")", "continue", ";", "if", "(", "TARGET_XTHEADMEMPAIR", ")", "{", "HOST_WIDE_INT", "offset2", "=", "offset", ";", "unsigned", "int", "regno2", "=", "riscv_next_saved_reg", "(", "regno", ",", "limit", ",", "&", "offset2", ")", ";", "if", "(", "regno2", "!=", "INVALID_REGNUM", "&&", "!", "cfun", "->", "machine", "->", "reg_is_wrapped_separately", "[", "regno2", "]", "&&", "!", "(", "epilogue", "&&", "!", "maybe_eh_return", "&&", "riscv_is_eh_return_data_register", "(", "regno2", ")", ")", ")", "{", "bool", "load_p", "=", "(", "fn", "==", "riscv_restore_reg", ")", ";", "rtx", "operands", "[", "4", "]", ";", "th_mempair_prepare_save_restore_operands", "(", "operands", ",", "load_p", ",", "word_mode", ",", "regno", ",", "offset", ",", "regno2", ",", "offset2", ")", ";", "if", "(", "th_mempair_operands_p", "(", "operands", ",", "load_p", ",", "word_mode", ")", ")", "{", "th_mempair_save_restore_regs", "(", "operands", ",", "load_p", ",", "word_mode", ")", ";", "offset", "=", "offset2", ";", "regno", "=", "regno2", ";", "continue", ";", "}", "}", "}", "riscv_save_restore_reg", "(", "word_mode", ",", "regno", ",", "offset", ",", "fn", ")", ";", "}", "offset", "=", "(", "cfun", "->", "machine", "->", "frame", ".", "fp_sp_offset", "-", "sp_offset", ")", ".", "to_constant", "(", ")", ";", "for", "(", "unsigned", "int", "regno", "=", "FP_REG_FIRST", ";", "regno", "<=", "FP_REG_LAST", ";", "regno", "++", ")", "if", "(", "BITSET_P", "(", "cfun", "->", "machine", "->", "frame", ".", "fmask", ",", "regno", "-", "FP_REG_FIRST", ")", ")", "{", "bool", "handle_reg", "=", "!", "cfun", "->", "machine", "->", "reg_is_wrapped_separately", "[", "regno", "]", ";", "machine_mode", "mode", "=", "TARGET_DOUBLE_FLOAT", "?", "DFmode", ":", "SFmode", ";", "if", "(", "handle_reg", ")", "riscv_save_restore_reg", "(", "mode", ",", "regno", ",", "offset", ",", "fn", ")", ";", "offset", "-=", "GET_MODE_SIZE", "(", "mode", ")", ".", "to_constant", "(", ")", ";", "}", "}", ""], "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": ["riscv", "4"], "File": "riscv1", "Func": "riscv_for_each_saved_reg", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 669, "Length": 349, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"== \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "Node", "->", "setNodeId", "(", "-", "1", ")", ";", "return", ";", "}", "unsigned", "Opcode", "=", "Node", "->", "getOpcode", "(", ")", ";", "MVT", "XLenVT", "=", "Subtarget", "->", "getXLenVT", "(", ")", ";", "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", ")", ",", "RISCV", "::", "X0", ",", "XLenVT", ")", ";", "ReplaceNode", "(", "Node", ",", "New", ".", "getNode", "(", ")", ")", ";", "return", ";", "}", "int64_t", "Imm", "=", "ConstNode", "->", "getSExtValue", "(", ")", ";", "if", "(", "XLenVT", "==", "MVT", "::", "i64", ")", "{", "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", "(", "RISCV", "::", "ADDI", ",", "DL", ",", "VT", ",", "TFI", ",", "Imm", ")", ")", ";", "return", ";", "}", "case", "ISD", "::", "SRL", ":", "{", "if", "(", "!", "Subtarget", "->", "is64Bit", "(", ")", ")", "break", ";", "SDValue", "Op0", "=", "Node", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Op1", "=", "Node", "->", "getOperand", "(", "1", ")", ";", "uint64_t", "Mask", ";", "if", "(", "Op1", ".", "getOpcode", "(", ")", "==", "ISD", "::", "Constant", "&&", "isConstantMask", "(", "Op0", ".", "getNode", "(", ")", ",", "Mask", ")", ")", "{", "uint64_t", "ShAmt", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op1", ".", "getNode", "(", ")", ")", "->", "getZExtValue", "(", ")", ";", "if", "(", "(", "Mask", "|", "maskTrailingOnes", "<", "uint64_t", ">", "(", "ShAmt", ")", ")", "==", "0xffffffff", ")", "{", "SDValue", "ShAmtVal", "=", "CurDAG", "->", "getTargetConstant", "(", "ShAmt", ",", "SDLoc", "(", "Node", ")", ",", "XLenVT", ")", ";", "CurDAG", "->", "SelectNodeTo", "(", "Node", ",", "RISCV", "::", "SRLIW", ",", "XLenVT", ",", "Op0", ".", "getOperand", "(", "0", ")", ",", "ShAmtVal", ")", ";", "return", ";", "}", "}", "break", ";", "}", "case", "RISCVISD", "::", "READ_CYCLE_WIDE", ":", "assert", "(", "!", "Subtarget", "->", "is64Bit", "(", ")", "&&", "\"READ_CYCLE_WIDE is only used on riscv32\"", ")", ";", "ReplaceNode", "(", "Node", ",", "CurDAG", "->", "getMachineNode", "(", "RISCV", "::", "ReadCycleWide", ",", "DL", ",", "MVT", "::", "i32", ",", "MVT", "::", "i32", ",", "MVT", "::", "Other", ",", "Node", "->", "getOperand", "(", "0", ")", ")", ")", ";", "return", ";", "}", "SelectCode", "(", "Node", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["RISCV", "RISCV", "\"== \"", "\"\\n\"", "1", "0", "ISD::Constant", "RISCV::X0", "MVT::i64", "ISD::FrameIndex", "0", "RISCV::ADDI", "ISD::SRL", "0", "1", "ISD::Constant", "0xffffffff", "RISCV::SRLIW", "0", "RISCVISD::READ_CYCLE_WIDE", "\"READ_CYCLE_WIDE is only used on riscv32\"", "RISCV::ReadCycleWide", "MVT::i32", "MVT::i32", "MVT::Other", "0"], "File": "RISCVISelDAGToDAG1", "Func": "Select", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 670, "Length": 482, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "add_all_one_mask_operand", "(", "machine_mode", "mode", ")", "{", "add_input_operand", "(", "CONSTM1_RTX", "(", "mode", ")", ",", "mode", ")", ";", "}", ""], "natrual_language": ["Since", "we", "may", "normalize", "vop/vop_tu/vop_m/vop_tumu", "..", "into", "a", "single", "patter", ".", "We", "add", "a", "fake", "all", "true", "mask", "for", "the", "intrinsics", "that", "do", "n't", "need", "a", "real", "mask", "."], "TS_V_token": ["riscv"], "File": "riscv-v", "Func": "add_all_one_mask_operand", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 671, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "riscv_hard_regno_nregs", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "FP_REG_P", "(", "regno", ")", ")", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_FP_REG", "-", "1", ")", "/", "UNITS_PER_FP_REG", ";", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Implement", "HARD_REGNO_NREGS", "."], "TS_V_token": ["riscv", "1", "1"], "File": "riscv", "Func": "riscv_hard_regno_nregs", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 672, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVPassConfig", "::", "addPreEmitPass2", "(", ")", "{", "addPass", "(", "createRISCVExpandPseudoPass", "(", ")", ")", ";", "addPass", "(", "createRISCVExpandAtomicPseudoPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "may", "add", "passes", "immediately", "before", "machine", "code", "is", "emitted", "in", "this", "callback", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCV"], "File": "RISCVTargetMachine1", "Func": "addPreEmitPass2", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 673, "Length": 22, "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", "->", "hasStdExtV", "(", ")", "||", "!", "ST", "->", "useRVVForFixedLengthVectors", "(", ")", ")", "return", "false", ";", "TLI", "=", "ST", "->", "getTargetLowering", "(", ")", ";", "DL", "=", "&", "F", ".", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "LI", "=", "&", "getAnalysis", "<", "LoopInfoWrapperPass", ">", "(", ")", ".", "getLoopInfo", "(", ")", ";", "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": "RISCVGatherScatterLowering3", "Func": "runOnFunction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 674, "Length": 356, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "shouldExtendTypeInLibCall", "(", "EVT", "Type", ")", "const", "{", "RISCVABI", "::", "ABI", "ABI", "=", "Subtarget", ".", "getTargetABI", "(", ")", ";", "if", "(", "(", "ABI", "==", "RISCVABI", "::", "ABI_LP64", "||", "ABI", "==", "RISCVABI", "::", "ABI_L64PC128", ")", "&&", "(", "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", "RISCVABI::ABI_L64PC128", "MVT::f32"], "File": "RISCVISelLowering42", "Func": "shouldExtendTypeInLibCall", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 675, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "override", "{", "return", "MBB", ".", "erase", "(", "MI", ")", ";", "}", ""], "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": ["RISCV"], "File": "RISCVFrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 676, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVPassConfig", "::", "addPreEmitPass2", "(", ")", "{", "addPass", "(", "createRISCVExpandPseudoPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "may", "add", "passes", "immediately", "before", "machine", "code", "is", "emitted", "in", "this", "callback", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV"], "File": "RISCVTargetMachine", "Func": "addPreEmitPass2", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 677, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "read_vl_insn_p", "(", "rtx_insn", "*", "rinsn", ")", "{", "return", "recog_memoized", "(", "rinsn", ")", ">=", "0", "&&", "get_attr_type", "(", "rinsn", ")", "==", "TYPE_RDVL", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "instruction", "is", "read", "vl", "instruction", "."], "TS_V_token": ["riscv", "0"], "File": "riscv-vsetvl", "Func": "read_vl_insn_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 678, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "insn_info", "*", "extract_single_source", "(", "set_info", "*", "set", ")", "{", "if", "(", "!", "set", ")", "return", "nullptr", ";", "if", "(", "set", "->", "insn", "(", ")", "->", "is_real", "(", ")", ")", "return", "set", "->", "insn", "(", ")", ";", "if", "(", "!", "set", "->", "insn", "(", ")", "->", "is_phi", "(", ")", ")", "return", "nullptr", ";", "hash_set", "<", "set_info", "*", ">", "sets", "=", "get_all_sets", "(", "set", ",", "true", ",", "false", ",", "true", ")", ";", "insn_info", "*", "first_insn", "=", "(", "*", "sets", ".", "begin", "(", ")", ")", "->", "insn", "(", ")", ";", "if", "(", "first_insn", "->", "is_artificial", "(", ")", ")", "return", "nullptr", ";", "for", "(", "const", "set_info", "*", "set", ":", "sets", ")", "{", "if", "(", "set", "->", "insn", "(", ")", "->", "is_artificial", "(", ")", ")", "return", "nullptr", ";", "if", "(", "!", "source_equal_p", "(", "set", "->", "insn", "(", ")", ",", "first_insn", ")", ")", "return", "nullptr", ";", "}", "return", "first_insn", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "get", "single", "same", "real", "RTL", "source", ".", "return", "NULL", "if", "it", "is", "not", "a", "single", "real", "RTL", "source", "."], "TS_V_token": ["riscv"], "File": "riscv-vsetvl", "Func": "extract_single_source", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 679, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "RISCVTargetLowering", "::", "shouldExpandAtomicRMWInIR", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "unsigned", "Size", "=", "AI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "Size", "==", "8", "||", "Size", "==", "16", ")", "return", "AtomicExpansionKind", "::", "MaskedIntrinsic", ";", "return", "AtomicExpansionKind", "::", "None", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "IR-level", "AtomicExpand", "pass", "should", "expand", "the", "given", "AtomicRMW", ",", "if", "at", "all", "."], "TS_V_token": ["RISCV", "RISCV", "8", "16"], "File": "RISCVISelLowering25", "Func": "shouldExpandAtomicRMWInIR", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 680, "Length": 47, "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": 681, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "RISCVTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "DCI", ".", "DAG", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "RISCVISD", "::", "SplitF64", ":", "{", "SDValue", "Op0", "=", "N", "->", "getOperand", "(", "0", ")", ";", "if", "(", "Op0", "->", "getOpcode", "(", ")", "==", "RISCVISD", "::", "BuildPairF64", ")", "return", "DCI", ".", "CombineTo", "(", "N", ",", "Op0", ".", "getOperand", "(", "0", ")", ",", "Op0", ".", "getOperand", "(", "1", ")", ")", ";", "SDLoc", "DL", "(", "N", ")", ";", "if", "(", "!", "(", "Op0", ".", "getOpcode", "(", ")", "==", "ISD", "::", "FNEG", "||", "Op0", ".", "getOpcode", "(", ")", "==", "ISD", "::", "FABS", ")", "||", "!", "Op0", ".", "getNode", "(", ")", "->", "hasOneUse", "(", ")", ")", "break", ";", "SDValue", "NewSplitF64", "=", "DAG", ".", "getNode", "(", "RISCVISD", "::", "SplitF64", ",", "DL", ",", "DAG", ".", "getVTList", "(", "MVT", "::", "i32", ",", "MVT", "::", "i32", ")", ",", "Op0", ".", "getOperand", "(", "0", ")", ")", ";", "SDValue", "Lo", "=", "NewSplitF64", ".", "getValue", "(", "0", ")", ";", "SDValue", "Hi", "=", "NewSplitF64", ".", "getValue", "(", "1", ")", ";", "APInt", "SignBit", "=", "APInt", "::", "getSignMask", "(", "32", ")", ";", "if", "(", "Op0", ".", "getOpcode", "(", ")", "==", "ISD", "::", "FNEG", ")", "{", "SDValue", "NewHi", "=", "DAG", ".", "getNode", "(", "ISD", "::", "XOR", ",", "DL", ",", "MVT", "::", "i32", ",", "Hi", ",", "DAG", ".", "getConstant", "(", "SignBit", ",", "DL", ",", "MVT", "::", "i32", ")", ")", ";", "return", "DCI", ".", "CombineTo", "(", "N", ",", "Lo", ",", "NewHi", ")", ";", "}", "assert", "(", "Op0", ".", "getOpcode", "(", ")", "==", "ISD", "::", "FABS", ")", ";", "SDValue", "NewHi", "=", "DAG", ".", "getNode", "(", "ISD", "::", "AND", ",", "DL", ",", "MVT", "::", "i32", ",", "Hi", ",", "DAG", ".", "getConstant", "(", "~", "SignBit", ",", "DL", ",", "MVT", "::", "i32", ")", ")", ";", "return", "DCI", ".", "CombineTo", "(", "N", ",", "Lo", ",", "NewHi", ")", ";", "}", "case", "RISCVISD", "::", "SLLW", ":", "case", "RISCVISD", "::", "SRAW", ":", "case", "RISCVISD", "::", "SRLW", ":", "{", "SDValue", "LHS", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "RHS", "=", "N", "->", "getOperand", "(", "1", ")", ";", "APInt", "LHSMask", "=", "APInt", "::", "getLowBitsSet", "(", "LHS", ".", "getValueSizeInBits", "(", ")", ",", "32", ")", ";", "APInt", "RHSMask", "=", "APInt", "::", "getLowBitsSet", "(", "RHS", ".", "getValueSizeInBits", "(", ")", ",", "5", ")", ";", "if", "(", "(", "SimplifyDemandedBits", "(", "N", "->", "getOperand", "(", "0", ")", ",", "LHSMask", ",", "DCI", ")", ")", "||", "(", "SimplifyDemandedBits", "(", "N", "->", "getOperand", "(", "1", ")", ",", "RHSMask", ",", "DCI", ")", ")", ")", "return", "SDValue", "(", ")", ";", "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": ["RISCV", "RISCV", "RISCVISD::SplitF64", "0", "RISCVISD::BuildPairF64", "0", "1", "ISD::FNEG", "ISD::FABS", "RISCVISD::SplitF64", "MVT::i32", "MVT::i32", "0", "0", "1", "32", "ISD::FNEG", "ISD::XOR", "MVT::i32", "MVT::i32", "ISD::FABS", "ISD::AND", "MVT::i32", "MVT::i32", "RISCVISD::SLLW", "RISCVISD::SRAW", "RISCVISD::SRLW", "0", "1", "32", "5", "0", "1"], "File": "RISCVISelLowering26", "Func": "PerformDAGCombine", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 682, "Length": 430, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "register_vector_type", "(", "vector_type_index", "type", ")", "{", "tree", "vectype", "=", "abi_vector_types", "[", "type", "]", ";", "if", "(", "!", "vectype", ")", "return", ";", "tree", "id", "=", "get_identifier", "(", "vector_types", "[", "type", "]", ".", "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", ")", ";", "builtin_types", "[", "type", "]", ".", "vector", "=", "vectype", ";", "builtin_types", "[", "type", "]", ".", "vector_ptr", "=", "build_pointer_type", "(", "vectype", ")", ";", "}", ""], "natrual_language": ["Register", "vector", "type", "TYPE", "under", "its", "risv_vector.h", "name", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "register_vector_type", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 683, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isImm", "(", "int64_t", "MinValue", ",", "int64_t", "MaxValue", ")", "const", "{", "return", "Kind", "==", "KindImm", "&&", "inRange", "(", "Imm", ",", "MinValue", ",", "MaxValue", ")", ";", "}", ""], "natrual_language": ["isImm", "-", "Is", "this", "an", "immediate", "operand", "?"], "TS_V_token": ["RISCV"], "File": "RISCVAsmParser (2)1", "Func": "isImm", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 684, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_emit_int_order_test", "(", "enum", "rtx_code", "code", ",", "bool", "*", "invert_ptr", ",", "rtx", "target", ",", "rtx", "cmp0", ",", "rtx", "cmp1", ")", "{", "machine_mode", "mode", ";", "mode", "=", "GET_MODE", "(", "cmp0", ")", ";", "if", "(", "riscv_canonicalize_int_order_test", "(", "&", "code", ",", "&", "cmp1", ",", "mode", ")", ")", "riscv_emit_binary", "(", "code", ",", "target", ",", "cmp0", ",", "cmp1", ")", ";", "else", "{", "enum", "rtx_code", "inv_code", "=", "reverse_condition", "(", "code", ")", ";", "if", "(", "!", "riscv_canonicalize_int_order_test", "(", "&", "inv_code", ",", "&", "cmp1", ",", "mode", ")", ")", "{", "cmp1", "=", "force_reg", "(", "mode", ",", "cmp1", ")", ";", "riscv_emit_int_order_test", "(", "code", ",", "invert_ptr", ",", "target", ",", "cmp0", ",", "cmp1", ")", ";", "}", "else", "if", "(", "invert_ptr", "==", "0", ")", "{", "rtx", "inv_target", "=", "riscv_force_binary", "(", "GET_MODE", "(", "target", ")", ",", "inv_code", ",", "cmp0", ",", "cmp1", ")", ";", "riscv_emit_binary", "(", "XOR", ",", "target", ",", "inv_target", ",", "const1_rtx", ")", ";", "}", "else", "{", "*", "invert_ptr", "=", "!", "*", "invert_ptr", ";", "riscv_emit_binary", "(", "inv_code", ",", "target", ",", "cmp0", ",", "cmp1", ")", ";", "}", "}", "}", ""], "natrual_language": ["Compare", "CMP0", "and", "CMP1", "using", "ordering", "test", "CODE", "and", "store", "the", "result", "in", "TARGET", ".", "CMP0", "and", "TARGET", "are", "register_operands", ".", "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": ["riscv", "0"], "File": "riscv", "Func": "riscv_emit_int_order_test", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 685, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "RISCVTTIImpl", "::", "getIntImmCost", "(", "Intrinsic", "::", "ID", "IID", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "{", "return", "TTI", "::", "TCC_Free", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["RISCV", "RISCV", "Intrinsic::ID"], "File": "RISCVTargetTransformInfo16", "Func": "getIntImmCost", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 686, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "riscv_split_integer", "(", "HOST_WIDE_INT", "val", ",", "enum", "machine_mode", "mode", ")", "{", "unsigned", "HOST_WIDE_INT", "loval", "=", "sext_hwi", "(", "val", ",", "32", ")", ";", "unsigned", "HOST_WIDE_INT", "hival", "=", "sext_hwi", "(", "(", "val", "-", "loval", ")", ">>", "32", ",", "32", ")", ";", "rtx", "hi", "=", "gen_reg_rtx", "(", "mode", ")", ",", "lo", "=", "gen_reg_rtx", "(", "mode", ")", ";", "riscv_move_integer", "(", "hi", ",", "hi", ",", "hival", ")", ";", "riscv_move_integer", "(", "lo", ",", "lo", ",", "loval", ")", ";", "hi", "=", "gen_rtx_fmt_ee", "(", "ASHIFT", ",", "mode", ",", "hi", ",", "GEN_INT", "(", "32", ")", ")", ";", "hi", "=", "force_reg", "(", "mode", ",", "hi", ")", ";", "return", "gen_rtx_fmt_ee", "(", "PLUS", ",", "mode", ",", "hi", ",", "lo", ")", ";", "}", ""], "natrual_language": ["Try", "to", "split", "a", "64b", "integer", "into", "32b", "parts", ",", "then", "reassemble", "."], "TS_V_token": ["riscv", "32", "32", "32", "32"], "File": "riscv2", "Func": "riscv_split_integer", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 687, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ArrayRef", "<", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">>", "RISCVInstrInfo", "::", "getSerializableDirectMachineOperandTargetFlags", "(", ")", "const", "{", "using", "namespace", "RISCVII", ";", "static", "const", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">", "TargetFlags", "[", "]", "=", "{", "{", "MO_CALL", ",", "\"riscv-call\"", "}", ",", "{", "MO_PLT", ",", "\"riscv-plt\"", "}", ",", "{", "MO_LO", ",", "\"riscv-lo\"", "}", ",", "{", "MO_HI", ",", "\"riscv-hi\"", "}", ",", "{", "MO_PCREL_LO", ",", "\"riscv-pcrel-lo\"", "}", ",", "{", "MO_PCREL_HI", ",", "\"riscv-pcrel-hi\"", "}", ",", "{", "MO_GOT_HI", ",", "\"riscv-got-hi\"", "}", ",", "{", "MO_TPREL_LO", ",", "\"riscv-tprel-lo\"", "}", ",", "{", "MO_TPREL_HI", ",", "\"riscv-tprel-hi\"", "}", ",", "{", "MO_TPREL_ADD", ",", "\"riscv-tprel-add\"", "}", ",", "{", "MO_TLS_GOT_HI", ",", "\"riscv-tls-got-hi\"", "}", ",", "{", "MO_TLS_GD_HI", ",", "\"riscv-tls-gd-hi\"", "}", ",", "{", "MO_CAPTAB_PCREL_HI", ",", "\"riscv-captab-pcrel-hi\"", "}", ",", "{", "MO_TPREL_CINCOFFSET", ",", "\"riscv-tprel-cincoffset\"", "}", ",", "{", "MO_TLS_IE_CAPTAB_PCREL_HI", ",", "\"riscv-tls-ie-captab-pcrel-hi\"", "}", ",", "{", "MO_TLS_GD_CAPTAB_PCREL_HI", ",", "\"riscv-tls-gd-captab-pcrel-hi\"", "}", ",", "{", "MO_CCALL", ",", "\"riscv-ccall\"", "}", "}", ";", "return", "makeArrayRef", "(", "TargetFlags", ")", ";", "}", ""], "natrual_language": ["Return", "an", "array", "that", "contains", "the", "direct", "target", "flag", "values", "and", "their", "names", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "\"riscv-call\"", "\"riscv-plt\"", "\"riscv-lo\"", "\"riscv-hi\"", "\"riscv-pcrel-lo\"", "\"riscv-pcrel-hi\"", "\"riscv-got-hi\"", "\"riscv-tprel-lo\"", "\"riscv-tprel-hi\"", "\"riscv-tprel-add\"", "\"riscv-tls-got-hi\"", "\"riscv-tls-gd-hi\"", "\"riscv-captab-pcrel-hi\"", "\"riscv-tprel-cincoffset\"", "\"riscv-tls-ie-captab-pcrel-hi\"", "\"riscv-tls-gd-captab-pcrel-hi\"", "\"riscv-ccall\""], "File": "RISCVInstrInfo26", "Func": "getSerializableDirectMachineOperandTargetFlags", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 688, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isImm", "(", ")", "const", "override", "{", "return", "Kind", "==", "Immediate", ";", "}", ""], "natrual_language": ["isImm", "-", "Is", "this", "an", "immediate", "operand", "?"], "TS_V_token": ["RISCV"], "File": "RISCVAsmParser", "Func": "isImm", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 689, "Length": 13, "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", ":", "case", "RISCV", "::", "fixup_riscv_captab_pcrel_hi20", ":", "case", "RISCV", "::", "fixup_riscv_tls_ie_captab_pcrel_hi20", ":", "case", "RISCV", "::", "fixup_riscv_tls_gd_captab_pcrel_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::fixup_riscv_captab_pcrel_hi20", "RISCV::fixup_riscv_tls_ie_captab_pcrel_hi20", "RISCV::fixup_riscv_tls_gd_captab_pcrel_hi20", "RISCV::FeatureRelax"], "File": "RISCVAsmBackend20", "Func": "shouldForceRelocation", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 690, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "riscv_issue_rate", "(", "void", ")", "{", "return", "tune_param", "->", "issue_rate", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "that", "can", "be", "issued", "per", "cycle", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_issue_rate", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 691, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVFrameLowering", "::", "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": ["RISCV", "RISCV"], "File": "RISCVFrameLowering (2)", "Func": "hasFP", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 692, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVMCAsmBackend", "::", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "{", "unsigned", "Opcode", "=", "getRelaxedOpcode", "(", "Inst", ".", "getOpcode", "(", ")", ")", ";", "assert", "(", "Opcode", "&&", "\"Unexpected insn to relax\"", ")", ";", "Res", "=", "Inst", ";", "Res", ".", "setOpcode", "(", "Opcode", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["RISCV", "RISCV", "\"Unexpected insn to relax\""], "File": "RISCVMCAsmBackend1", "Func": "relaxInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 693, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "RISCVTTIImpl", "::", "getIntImmCost", "(", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", "&&", "\"getIntImmCost can only estimate cost of materialising integers\"", ")", ";", "if", "(", "Imm", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "const", "DataLayout", "&", "DL", "=", "getDataLayout", "(", ")", ";", "return", "RISCVMatInt", "::", "getIntMatCost", "(", "Imm", ",", "DL", ".", "getTypeSizeInBits", "(", "Ty", ")", ",", "getST", "(", ")", "->", "getFeatureBits", "(", ")", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["RISCV", "RISCV", "\"getIntImmCost can only estimate cost of materialising integers\"", "0", "RISCVMatInt::getIntMatCost"], "File": "RISCVTargetTransformInfo", "Func": "getIntImmCost", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 694, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDLoc", "DL", "(", "N", ")", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Don't know how to custom type legalize this operation!\"", ")", ";", "case", "ISD", "::", "READCYCLECOUNTER", ":", "{", "assert", "(", "!", "Subtarget", ".", "is64Bit", "(", ")", "&&", "\"READCYCLECOUNTER only has custom type legalization on riscv32\"", ")", ";", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "MVT", "::", "i32", ",", "MVT", "::", "i32", ",", "MVT", "::", "Other", ")", ";", "SDValue", "RCW", "=", "DAG", ".", "getNode", "(", "RISCVISD", "::", "READ_CYCLE_WIDE", ",", "DL", ",", "VTs", ",", "N", "->", "getOperand", "(", "0", ")", ")", ";", "Results", ".", "push_back", "(", "RCW", ")", ";", "Results", ".", "push_back", "(", "RCW", ".", "getValue", "(", "1", ")", ")", ";", "Results", ".", "push_back", "(", "RCW", ".", "getValue", "(", "2", ")", ")", ";", "break", ";", "}", "case", "ISD", "::", "ADD", ":", "case", "ISD", "::", "SUB", ":", "case", "ISD", "::", "MUL", ":", "assert", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i32", "&&", "Subtarget", ".", "is64Bit", "(", ")", "&&", "\"Unexpected custom legalisation\"", ")", ";", "if", "(", "N", "->", "getOperand", "(", "1", ")", ".", "getOpcode", "(", ")", "==", "ISD", "::", "Constant", ")", "return", ";", "Results", ".", "push_back", "(", "customLegalizeToWOpWithSExt", "(", "N", ",", "DAG", ")", ")", ";", "break", ";", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SRL", ":", "assert", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i32", "&&", "Subtarget", ".", "is64Bit", "(", ")", "&&", "\"Unexpected custom legalisation\"", ")", ";", "if", "(", "N", "->", "getOperand", "(", "1", ")", ".", "getOpcode", "(", ")", "==", "ISD", "::", "Constant", ")", "return", ";", "Results", ".", "push_back", "(", "customLegalizeToWOp", "(", "N", ",", "DAG", ")", ")", ";", "break", ";", "case", "ISD", "::", "SDIV", ":", "case", "ISD", "::", "UDIV", ":", "case", "ISD", "::", "UREM", ":", "assert", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i32", "&&", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Subtarget", ".", "hasStdExtM", "(", ")", "&&", "\"Unexpected custom legalisation\"", ")", ";", "if", "(", "N", "->", "getOperand", "(", "0", ")", ".", "getOpcode", "(", ")", "==", "ISD", "::", "Constant", "||", "N", "->", "getOperand", "(", "1", ")", ".", "getOpcode", "(", ")", "==", "ISD", "::", "Constant", ")", "return", ";", "Results", ".", "push_back", "(", "customLegalizeToWOp", "(", "N", ",", "DAG", ")", ")", ";", "break", ";", "case", "ISD", "::", "BITCAST", ":", "{", "assert", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i32", "&&", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Subtarget", ".", "hasStdExtF", "(", ")", "&&", "\"Unexpected custom legalisation\"", ")", ";", "SDLoc", "DL", "(", "N", ")", ";", "SDValue", "Op0", "=", "N", "->", "getOperand", "(", "0", ")", ";", "if", "(", "Op0", ".", "getValueType", "(", ")", "!=", "MVT", "::", "f32", ")", "return", ";", "SDValue", "FPConv", "=", "DAG", ".", "getNode", "(", "RISCVISD", "::", "FMV_X_ANYEXTW_RV64", ",", "DL", ",", "MVT", "::", "i64", ",", "Op0", ")", ";", "Results", ".", "push_back", "(", "DAG", ".", "getNode", "(", "ISD", "::", "TRUNCATE", ",", "DL", ",", "MVT", "::", "i32", ",", "FPConv", ")", ")", ";", "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": ["RISCV", "RISCV", "\"Don't know how to custom type legalize this operation!\"", "ISD::READCYCLECOUNTER", "\"READCYCLECOUNTER only has custom type legalization on riscv32\"", "MVT::i32", "MVT::i32", "MVT::Other", "RISCVISD::READ_CYCLE_WIDE", "0", "1", "2", "ISD::ADD", "ISD::SUB", "ISD::MUL", "0", "MVT::i32", "\"Unexpected custom legalisation\"", "1", "ISD::Constant", "ISD::SHL", "ISD::SRA", "ISD::SRL", "0", "MVT::i32", "\"Unexpected custom legalisation\"", "1", "ISD::Constant", "ISD::SDIV", "ISD::UDIV", "ISD::UREM", "0", "MVT::i32", "\"Unexpected custom legalisation\"", "0", "ISD::Constant", "1", "ISD::Constant", "ISD::BITCAST", "0", "MVT::i32", "\"Unexpected custom legalisation\"", "0", "MVT::f32", "RISCVISD::FMV_X_ANYEXTW_RV64", "MVT::i64", "ISD::TRUNCATE", "MVT::i32"], "File": "RISCVISelLowering11", "Func": "ReplaceNodeResults", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 695, "Length": 481, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "if", "(", "getSTI", "(", ")", ".", "getFeatureBits", "(", ")", "[", "RISCV", "::", "FeatureRelax", "]", ")", "{", "auto", "*", "Assembler", "=", "getTargetStreamer", "(", ")", ".", "getStreamer", "(", ")", ".", "getAssemblerPtr", "(", ")", ";", "if", "(", "Assembler", "!=", "nullptr", ")", "{", "RISCVAsmBackend", "&", "MAB", "=", "static_cast", "<", "RISCVAsmBackend", "&", ">", "(", "Assembler", "->", "getBackend", "(", ")", ")", ";", "MAB", ".", "setForceRelocs", "(", ")", ";", "}", "}", "Operands", ".", "push_back", "(", "RISCVOperand", "::", "createToken", "(", "Name", ",", "NameLoc", ",", "isRV64", "(", ")", ")", ")", ";", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "getParser", "(", ")", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "if", "(", "parseOperand", "(", "Operands", ",", "Name", ")", ")", "return", "true", ";", "unsigned", "OperandIdx", "=", "1", ";", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "getLexer", "(", ")", ".", "Lex", "(", ")", ";", "if", "(", "parseOperand", "(", "Operands", ",", "Name", ")", ")", "return", "true", ";", "++", "OperandIdx", ";", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "getParser", "(", ")", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token\"", ")", ";", "}", "getParser", "(", ")", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::FeatureRelax", "RISCV", "RISCV", "RISCV", "1", "\"unexpected token\""], "File": "RISCVAsmParser18", "Func": "ParseInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 696, "Length": 237, "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\"", ";", "}", "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\""], "File": "RISCVISelLowering26", "Func": "getTargetNodeName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 697, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "if", "(", "getSTI", "(", ")", ".", "getFeatureBits", "(", ")", "[", "RISCV", "::", "FeatureRelax", "]", ")", "{", "auto", "*", "Assembler", "=", "getTargetStreamer", "(", ")", ".", "getStreamer", "(", ")", ".", "getAssemblerPtr", "(", ")", ";", "if", "(", "Assembler", "!=", "nullptr", ")", "{", "RISCVAsmBackend", "&", "MAB", "=", "static_cast", "<", "RISCVAsmBackend", "&", ">", "(", "Assembler", "->", "getBackend", "(", ")", ")", ";", "MAB", ".", "setForceRelocs", "(", ")", ";", "}", "}", "Operands", ".", "push_back", "(", "RISCVOperand", "::", "createToken", "(", "Name", ",", "NameLoc", ",", "isRV64", "(", ")", ")", ")", ";", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "return", "false", ";", "if", "(", "parseOperand", "(", "Operands", ",", "Name", ")", ")", "return", "true", ";", "unsigned", "OperandIdx", "=", "1", ";", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "getLexer", "(", ")", ".", "Lex", "(", ")", ";", "if", "(", "parseOperand", "(", "Operands", ",", "Name", ")", ")", "return", "true", ";", "++", "OperandIdx", ";", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "getParser", "(", ")", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token\"", ")", ";", "}", "getParser", "(", ")", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::FeatureRelax", "RISCV", "RISCV", "RISCV", "1", "\"unexpected token\""], "File": "RISCVAsmParser", "Func": "ParseInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 698, "Length": 227, "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": 699, "Length": 321, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "isShuffleMaskLegal", "(", "ArrayRef", "<", "int", ">", "M", ",", "EVT", "VT", ")", "const", "{", "if", "(", "ShuffleVectorSDNode", "::", "isSplatMask", "(", "M", ".", "data", "(", ")", ",", "VT", ")", ")", "return", "true", ";", "if", "(", "!", "isTypeLegal", "(", "VT", ")", ")", "return", "false", ";", "MVT", "SVT", "=", "VT", ".", "getSimpleVT", "(", ")", ";", "bool", "SwapSources", ";", "int", "LoSrc", ",", "HiSrc", ";", "return", "(", "isElementRotate", "(", "LoSrc", ",", "HiSrc", ",", "M", ")", ">", "0", ")", "||", "isInterleaveShuffle", "(", "M", ",", "SVT", ",", "SwapSources", ",", "Subtarget", ")", ";", "}", ""], "natrual_language": ["Targets", "can", "use", "this", "to", "indicate", "that", "they", "only", "support", "some", "VECTOR_SHUFFLE", "operations", ",", "those", "with", "specific", "masks", "."], "TS_V_token": ["RISCV", "RISCV", "0"], "File": "RISCVISelLowering3", "Func": "isShuffleMaskLegal", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 700, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "RISCVTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "DCI", ".", "DAG", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRL", ":", "case", "ISD", "::", "SRA", ":", "{", "assert", "(", "Subtarget", ".", "getXLen", "(", ")", "==", "64", "&&", "\"Combine should be 64-bit only\"", ")", ";", "if", "(", "!", "DCI", ".", "isBeforeLegalize", "(", ")", ")", "break", ";", "SDValue", "RHS", "=", "N", "->", "getOperand", "(", "1", ")", ";", "if", "(", "N", "->", "getValueType", "(", "0", ")", "!=", "MVT", "::", "i32", "||", "RHS", "->", "getOpcode", "(", ")", "==", "ISD", "::", "Constant", "||", "(", "RHS", "->", "getOpcode", "(", ")", "==", "ISD", "::", "AssertZext", "&&", "cast", "<", "VTSDNode", ">", "(", "RHS", "->", "getOperand", "(", "1", ")", ")", "->", "getVT", "(", ")", ".", "getSizeInBits", "(", ")", "<=", "5", ")", ")", "break", ";", "SDValue", "LHS", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDLoc", "DL", "(", "N", ")", ";", "SDValue", "NewRHS", "=", "DAG", ".", "getNode", "(", "ISD", "::", "AssertZext", ",", "DL", ",", "RHS", ".", "getValueType", "(", ")", ",", "RHS", ",", "DAG", ".", "getValueType", "(", "EVT", "::", "getIntegerVT", "(", "*", "DAG", ".", "getContext", "(", ")", ",", "5", ")", ")", ")", ";", "return", "DCI", ".", "CombineTo", "(", "N", ",", "DAG", ".", "getNode", "(", "N", "->", "getOpcode", "(", ")", ",", "DL", ",", "LHS", ".", "getValueType", "(", ")", ",", "LHS", ",", "NewRHS", ")", ")", ";", "}", "case", "ISD", "::", "ANY_EXTEND", ":", "{", "SDValue", "Src", "=", "N", "->", "getOperand", "(", "0", ")", ";", "if", "(", "N", "->", "getValueType", "(", "0", ")", "!=", "MVT", "::", "i64", "||", "Src", ".", "getValueType", "(", ")", "!=", "MVT", "::", "i32", ")", "break", ";", "if", "(", "!", "isVariableShift", "(", "Src", ")", "&&", "!", "(", "Subtarget", ".", "hasStdExtM", "(", ")", "&&", "isVariableSDivUDivURem", "(", "Src", ")", ")", ")", "break", ";", "SDLoc", "DL", "(", "N", ")", ";", "return", "DCI", ".", "CombineTo", "(", "N", ",", "DAG", ".", "getNode", "(", "ISD", "::", "SIGN_EXTEND", ",", "DL", ",", "MVT", "::", "i64", ",", "Src", ")", ",", "false", ")", ";", "}", "case", "RISCVISD", "::", "SplitF64", ":", "{", "SDValue", "Op0", "=", "N", "->", "getOperand", "(", "0", ")", ";", "if", "(", "Op0", "->", "getOpcode", "(", ")", "!=", "RISCVISD", "::", "BuildPairF64", ")", "break", ";", "return", "DCI", ".", "CombineTo", "(", "N", ",", "Op0", ".", "getOperand", "(", "0", ")", ",", "Op0", ".", "getOperand", "(", "1", ")", ")", ";", "}", "}", "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": ["RISCV", "RISCV", "ISD::SHL", "ISD::SRL", "ISD::SRA", "64", "\"Combine should be 64-bit only\"", "1", "0", "MVT::i32", "ISD::Constant", "ISD::AssertZext", "1", "5", "0", "ISD::AssertZext", "5", "ISD::ANY_EXTEND", "0", "0", "MVT::i64", "MVT::i32", "ISD::SIGN_EXTEND", "MVT::i64", "RISCVISD::SplitF64", "0", "RISCVISD::BuildPairF64", "0", "1"], "File": "RISCVISelLowering", "Func": "PerformDAGCombine", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 701, "Length": 394, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "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", ".", "hasStdExtZfh", "(", ")", ";", "case", "MVT", "::", "f32", ":", "return", "Subtarget", ".", "hasStdExtF", "(", ")", ";", "case", "MVT", "::", "f64", ":", "return", "Subtarget", ".", "hasStdExtD", "(", ")", ";", "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": ["RISCV", "RISCV", "MVT::f16", "MVT::f32", "MVT::f64"], "File": "RISCVISelLowering20", "Func": "shouldConvertFpToSat", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 702, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "RISCVTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "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", "\"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": "RISCVISelLowering34", "Func": "EmitInstrWithCustomInserter", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 703, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "call_properties", "(", "const", "function_instance", "&", ")", "const", "override", "{", "return", "CP_READ_MEMORY", "|", "CP_WRITE_CSR", ";", "}", ""], "natrual_language": ["Default", "implementation", "of", "function_base", ":", ":call_properties", ",", "with", "conservatively", "correct", "behavior", "for", "floating-point", "instructions", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins-bases", "Func": "call_properties", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 704, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "switch", "(", "ConstraintID", ")", "{", "case", "InlineAsm", "::", "Constraint_m", ":", "OutOps", ".", "push_back", "(", "Op", ")", ";", "return", "false", ";", "case", "InlineAsm", "::", "Constraint_A", ":", "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": ["RISCV", "RISCV"], "File": "RISCVISelDAGToDAG", "Func": "SelectInlineAsmMemoryOperand", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 705, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "if", "(", "!", "mnemonicIsValid", "(", "Name", ",", "0", ")", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "NameLoc", ",", "\"unknown instruction\"", ")", ";", "}", "Operands", ".", "push_back", "(", "RISCVOperand", "::", "createToken", "(", "Name", ",", "NameLoc", ")", ")", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "parseOperand", "(", "Operands", ",", "Name", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token in argument list\"", ")", ";", "}", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "LBrac", ")", ")", "return", "true", ";", "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", "(", ")", ".", "is", "(", "AsmToken", "::", "LParen", ")", "&&", "parseParenSuffix", "(", "Name", ",", "Operands", ")", ")", "return", "true", ";", "}", "}", "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": ["RISCV", "RISCV", "0", "\"unknown instruction\"", "RISCV", "\"unexpected token in argument list\"", "\"unexpected token in argument list\"", "\"unexpected token in argument list\""], "File": "RISCVAsmParser (2)1", "Func": "ParseInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 706, "Length": 257, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "pass_vsetvl", "::", "compute_probabilities", "(", "void", ")", "{", "if", "(", "!", "optimize", ")", "return", ";", "edge", "e", ";", "edge_iterator", "ei", ";", "for", "(", "const", "bb_info", "*", "bb", ":", "crtl", "->", "ssa", "->", "bbs", "(", ")", ")", "{", "basic_block", "cfg_bb", "=", "bb", "->", "cfg_bb", "(", ")", ";", "auto", "&", "curr_prob", "=", "m_vector_manager", "->", "vector_block_infos", "[", "cfg_bb", "->", "index", "]", ".", "probability", ";", "if", "(", "ENTRY_BLOCK_PTR_FOR_FN", "(", "cfun", ")", "==", "cfg_bb", ")", "curr_prob", "=", "profile_probability", "::", "always", "(", ")", ";", "if", "(", "EXIT_BLOCK_PTR_FOR_FN", "(", "cfun", ")", "==", "cfg_bb", ")", "continue", ";", "gcc_assert", "(", "curr_prob", ".", "initialized_p", "(", ")", ")", ";", "FOR_EACH_EDGE", "(", "e", ",", "ei", ",", "cfg_bb", "->", "succs", ")", "{", "auto", "&", "new_prob", "=", "m_vector_manager", "->", "vector_block_infos", "[", "e", "->", "dest", "->", "index", "]", ".", "probability", ";", "if", "(", "!", "new_prob", ".", "initialized_p", "(", ")", ")", "new_prob", "=", "curr_prob", "*", "e", "->", "probability", ";", "else", "if", "(", "new_prob", "==", "profile_probability", "::", "always", "(", ")", ")", "continue", ";", "else", "new_prob", "+=", "curr_prob", "*", "e", "->", "probability", ";", "}", "}", "}", ""], "natrual_language": ["Compute", "probability", "for", "each", "block", "."], "TS_V_token": ["riscv"], "File": "riscv-vsetvl", "Func": "compute_probabilities", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 707, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "pass_vsetvl", "::", "simple_vsetvl", "(", "void", ")", "const", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"\\nEntering Simple VSETVL PASS and Handling %d basic blocks for \"", "\"function:%s\\n\"", ",", "n_basic_blocks_for_fn", "(", "cfun", ")", ",", "function_name", "(", "cfun", ")", ")", ";", "basic_block", "cfg_bb", ";", "rtx_insn", "*", "rinsn", ";", "FOR_ALL_BB_FN", "(", "cfg_bb", ",", "cfun", ")", "{", "FOR_BB_INSNS", "(", "cfg_bb", ",", "rinsn", ")", "{", "if", "(", "!", "NONDEBUG_INSN_P", "(", "rinsn", ")", ")", "continue", ";", "if", "(", "has_vtype_op", "(", "rinsn", ")", ")", "{", "const", "auto", "info", "=", "m_vector_manager", "->", "vector_insn_infos", "[", "INSN_UID", "(", "rinsn", ")", "]", ";", "emit_vsetvl_insn", "(", "VSETVL_DISCARD_RESULT", ",", "EMIT_BEFORE", ",", "info", ",", "NULL_RTX", ",", "rinsn", ")", ";", "}", "}", "}", "}", ""], "natrual_language": ["Simple", "m_vsetvl_insert", "vsetvl", "for", "optimize", "==", "0", "."], "TS_V_token": ["riscv", "\"\\nEntering Simple VSETVL PASS and Handling %d basic blocks for \"", "\"function:%s\\n\""], "File": "riscv-vsetvl", "Func": "simple_vsetvl", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 708, "Length": 101, "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": 709, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "riscv_load_store_insns", "(", "rtx", "mem", ",", "rtx_insn", "*", "insn", ")", "{", "machine_mode", "mode", ";", "bool", "might_split_p", ";", "rtx", "set", ";", "gcc_assert", "(", "MEM_P", "(", "mem", ")", ")", ";", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "might_split_p", "=", "true", ";", "if", "(", "GET_MODE_BITSIZE", "(", "mode", ")", "<=", "32", ")", "might_split_p", "=", "false", ";", "else", "if", "(", "GET_MODE_BITSIZE", "(", "mode", ")", "==", "64", ")", "{", "set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "set", "&&", "!", "riscv_split_64bit_move_p", "(", "SET_DEST", "(", "set", ")", ",", "SET_SRC", "(", "set", ")", ")", ")", "might_split_p", "=", "false", ";", "}", "return", "riscv_address_insns", "(", "XEXP", "(", "mem", ",", "0", ")", ",", "mode", ",", "might_split_p", ")", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "needed", "to", "implement", "INSN", ",", "given", "that", "it", "loads", "from", "or", "stores", "to", "MEM", "."], "TS_V_token": ["riscv", "32", "64", "0"], "File": "riscv", "Func": "riscv_load_store_insns", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 710, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "RISCVRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X0", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X1", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X2", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X3", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X4", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X8", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "VCFG", ")", ";", "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": ["RISCV", "RISCV", "RISCV::X0", "RISCV::X1", "RISCV::X2", "RISCV::X3", "RISCV::X4", "RISCV::X8", "RISCV::VCFG"], "File": "RISCVRegisterInfo35", "Func": "getReservedRegs", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 711, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVDAGToDAGISel", "::", "PostprocessISelDAG", "(", ")", "{", "SelectionDAG", "::", "allnodes_iterator", "Position", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "bool", "MadeChange", "=", "false", ";", "while", "(", "Position", "!=", "CurDAG", "->", "allnodes_begin", "(", ")", ")", "{", "SDNode", "*", "N", "=", "&", "*", "--", "Position", ";", "if", "(", "N", "->", "use_empty", "(", ")", "||", "!", "N", "->", "isMachineOpcode", "(", ")", ")", "continue", ";", "MadeChange", "|=", "doPeepholeSExtW", "(", "N", ")", ";", "MadeChange", "|=", "doPeepholeLoadStoreADDI", "(", "N", ")", ";", "}", "if", "(", "MadeChange", ")", "CurDAG", "->", "RemoveDeadNodes", "(", ")", ";", "}", ""], "natrual_language": ["PostprocessISelDAG", "(", ")", "-", "This", "hook", "allows", "the", "target", "to", "hack", "on", "the", "graph", "right", "after", "selection", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVISelDAGToDAG", "Func": "PostprocessISelDAG", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 712, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "VariantKind", "getKind", "(", ")", "const", "{", "return", "Kind", ";", "}", ""], "natrual_language": ["Returns", "the", "Kind", "of", "lane", "offset", "."], "TS_V_token": ["RISCV"], "File": "RISCVMCExpr", "Func": "getKind", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 713, "Length": 10, "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": 714, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "RISCVSubtarget", "&", "RISCVSubtarget", "::", "initializeSubtargetDependencies", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "TuneCPU", ",", "StringRef", "FS", ",", "StringRef", "ABIName", ")", "{", "bool", "Is64Bit", "=", "TT", ".", "isArch64Bit", "(", ")", ";", "std", "::", "string", "CPUName", "=", "std", "::", "string", "(", "CPU", ")", ";", "std", "::", "string", "TuneCPUName", "=", "std", "::", "string", "(", "TuneCPU", ")", ";", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", "=", "Is64Bit", "?", "\"generic-rv64\"", ":", "\"generic-rv32\"", ";", "if", "(", "TuneCPUName", ".", "empty", "(", ")", ")", "TuneCPUName", "=", "CPUName", ";", "ParseSubtargetFeatures", "(", "CPUName", ",", "TuneCPUName", ",", "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": "RISCVSubtarget22", "Func": "initializeSubtargetDependencies", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 715, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "riscv_split_doubleword_move", "(", "rtx", "dest", ",", "rtx", "src", ")", "{", "if", "(", "!", "TARGET_64BIT", "&&", "TARGET_XTHEADFMV", ")", "{", "if", "(", "FP_REG_RTX_P", "(", "dest", ")", ")", "{", "rtx", "low_src", "=", "riscv_subword", "(", "src", ",", "false", ")", ";", "rtx", "high_src", "=", "riscv_subword", "(", "src", ",", "true", ")", ";", "emit_insn", "(", "gen_th_fmv_hw_w_x", "(", "dest", ",", "high_src", ",", "low_src", ")", ")", ";", "return", ";", "}", "if", "(", "FP_REG_RTX_P", "(", "src", ")", ")", "{", "rtx", "low_dest", "=", "riscv_subword", "(", "dest", ",", "false", ")", ";", "rtx", "high_dest", "=", "riscv_subword", "(", "dest", ",", "true", ")", ";", "emit_insn", "(", "gen_th_fmv_x_w", "(", "low_dest", ",", "src", ")", ")", ";", "emit_insn", "(", "gen_th_fmv_x_hw", "(", "high_dest", ",", "src", ")", ")", ";", "return", ";", "}", "}", "rtx", "low_dest", "=", "riscv_subword", "(", "dest", ",", "false", ")", ";", "if", "(", "REG_P", "(", "low_dest", ")", "&&", "reg_overlap_mentioned_p", "(", "low_dest", ",", "src", ")", ")", "{", "riscv_emit_move", "(", "riscv_subword", "(", "dest", ",", "true", ")", ",", "riscv_subword", "(", "src", ",", "true", ")", ")", ";", "riscv_emit_move", "(", "low_dest", ",", "riscv_subword", "(", "src", ",", "false", ")", ")", ";", "}", "else", "{", "riscv_emit_move", "(", "low_dest", ",", "riscv_subword", "(", "src", ",", "false", ")", ")", ";", "riscv_emit_move", "(", "riscv_subword", "(", "dest", ",", "true", ")", ",", "riscv_subword", "(", "src", ",", "true", ")", ")", ";", "}", "}", ""], "natrual_language": ["Split", "a", "doubleword", "move", "from", "SRC", "to", "DEST", ".", "On", "32-bit", "targets", ",", "this", "function", "handles", "64-bit", "moves", "for", "which", "riscv_split_64bit_move_p", "holds", ".", "For", "64-bit", "targets", ",", "this", "function", "handles", "128-bit", "moves", "."], "TS_V_token": ["riscv"], "File": "riscv1", "Func": "riscv_split_doubleword_move", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 716, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "&", "RISCV", "::", "GPRRegClass", ";", "auto", "*", "RVFI", "=", "MF", ".", "getInfo", "<", "RISCVMachineFunctionInfo", ">", "(", ")", ";", "int64_t", "RVVStackSize", "=", "assignRVVStackObjectOffsets", "(", "MFI", ")", ";", "RVFI", "->", "setRVVStackSize", "(", "RVVStackSize", ")", ";", "if", "(", "!", "isInt", "<", "11", ">", "(", "MFI", ".", "estimateStackSize", "(", "MF", ")", ")", "||", "RVVStackSize", "!=", "0", ")", "{", "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::GPRRegClass", "RISCV", "11", "0", "0", "0", "0", "8", "0"], "File": "RISCVFrameLowering27", "Func": "processFunctionBeforeFrameFinalized", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 717, "Length": 296, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "OS", ")", "{", "if", "(", "!", "AsmPrinter", "::", "PrintAsmOperand", "(", "MI", ",", "OpNo", ",", "ExtraCode", ",", "OS", ")", ")", "return", "false", ";", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "{", "if", "(", "ExtraCode", "[", "1", "]", "!=", "0", ")", "return", "true", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "default", ":", "return", "true", ";", "case", "'z'", ":", "if", "(", "MO", ".", "isImm", "(", ")", "&&", "MO", ".", "getImm", "(", ")", "==", "0", ")", "{", "OS", "<<", "RISCVInstPrinter", "::", "getRegisterName", "(", "RISCV", "::", "X0", ")", ";", "return", "false", ";", "}", "break", ";", "case", "'i'", ":", "if", "(", "!", "MO", ".", "isReg", "(", ")", ")", "OS", "<<", "'i'", ";", "return", "false", ";", "}", "}", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "case", "MachineOperand", "::", "MO_Immediate", ":", "OS", "<<", "MO", ".", "getImm", "(", ")", ";", "return", "false", ";", "case", "MachineOperand", "::", "MO_Register", ":", "OS", "<<", "RISCVInstPrinter", "::", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", ";", "return", "false", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "PrintSymbolOperand", "(", "MO", ",", "OS", ")", ";", "return", "false", ";", "case", "MachineOperand", "::", "MO_BlockAddress", ":", "{", "MCSymbol", "*", "Sym", "=", "GetBlockAddressSymbol", "(", "MO", ".", "getBlockAddress", "(", ")", ")", ";", "Sym", "->", "print", "(", "OS", ",", "MAI", ")", ";", "return", "false", ";", "}", "default", ":", "break", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["RISCV", "RISCV", "0", "1", "0", "0", "0", "RISCV", "RISCV::X0", "RISCV"], "File": "RISCVAsmPrinter", "Func": "PrintAsmOperand", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 718, "Length": 249, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "build_one", "(", "function_builder", "&", "b", ",", "const", "function_group_info", "&", "group", ",", "unsigned", "int", "pred_idx", ",", "unsigned", "int", "vec_type_idx", ")", "{", "auto_vec", "<", "tree", ",", "21", ">", "argument_types", ";", "function_instance", "function_instance", "(", "group", ".", "base_name", ",", "*", "group", ".", "base", ",", "*", "group", ".", "shape", ",", "group", ".", "ops_infos", ".", "types", "[", "vec_type_idx", "]", ",", "group", ".", "preds", "[", "pred_idx", "]", ",", "&", "group", ".", "ops_infos", ")", ";", "tree", "return_type", "=", "group", ".", "ops_infos", ".", "ret", ".", "get_tree_type", "(", "group", ".", "ops_infos", ".", "types", "[", "vec_type_idx", "]", ".", "index", ")", ";", "b", ".", "allocate_argument_types", "(", "function_instance", ",", "argument_types", ")", ";", "b", ".", "apply_predication", "(", "function_instance", ",", "return_type", ",", "argument_types", ")", ";", "b", ".", "add_unique_function", "(", "function_instance", ",", "(", "*", "group", ".", "shape", ")", ",", "return_type", ",", "argument_types", ")", ";", "}", ""], "natrual_language": ["Add", "one", "function", "instance", "for", "GROUP", ",", "using", "operand", "suffix", "at", "index", "OI", ",", "mode", "suffix", "at", "index", "PAIR", "&", "&", "bi", "and", "predication", "suffix", "at", "index", "pred_idx", "."], "TS_V_token": ["riscv", "21"], "File": "riscv-vector-builtins-shapes", "Func": "build_one", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 719, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "RISCV_VECTOR_REMOVE_REDUNDANCY_VSETVL", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVRemoveRedundancyVSETVL", "Func": "getPassName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 720, "Length": 11, "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": 721, "Length": 215, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createRISCVMergeBaseOffsetOptPass", "(", ")", ")", ";", "addPass", "(", "createRISCVCleanupVSETVLIPass", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCV"], "File": "RISCVTargetMachine14", "Func": "addPreRegAlloc", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 722, "Length": 36, "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", "::", "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", ":", "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", ":", "if", "(", "Op", ".", "getOperand", "(", "0", ")", ".", "getScalarValueSizeInBits", "(", ")", ">", "Subtarget", ".", "getXLen", "(", ")", ")", "return", "1", ";", "return", "Subtarget", ".", "getXLen", "(", ")", "-", "Op", ".", "getOperand", "(", "0", ")", ".", "getScalarValueSizeInBits", "(", ")", "+", "1", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["Determine", "the", "number", "of", "bits", "in", "the", "operation", "that", "are", "sign", "bits", "."], "TS_V_token": ["RISCV", "RISCV", "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", "33", "RISCVISD::SHFL", "RISCVISD::UNSHFL", "MVT::i64", "1", "1", "0x10", "0", "0", "1", "32", "33", "RISCVISD::VMV_X_S", "0", "1", "0", "1", "1"], "File": "RISCVISelLowering34", "Func": "ComputeNumSignBitsForTargetNode", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 723, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "&", "BranchRelaxationPassID", ")", ";", "addPass", "(", "createRISCVMakeCompressibleOptPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV"], "File": "RISCVTargetMachine20", "Func": "addPreEmitPass", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 724, "Length": 21, "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": 725, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVInstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "{", "return", "get", "(", "Opcode", ")", ".", "getSize", "(", ")", ";", "}", "case", "TargetOpcode", "::", "EH_LABEL", ":", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "KILL", ":", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "return", "0", ";", "case", "RISCV", "::", "PseudoCALL", ":", "case", "RISCV", "::", "PseudoTAIL", ":", "return", "8", ";", "case", "TargetOpcode", "::", "INLINEASM", ":", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "auto", "&", "TM", "=", "static_cast", "<", "const", "RISCVTargetMachine", "&", ">", "(", "MF", ".", "getTarget", "(", ")", ")", ";", "return", "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": ["RISCV", "RISCV", "0", "RISCV::PseudoCALL", "RISCV::PseudoTAIL", "8", "RISCV", "0"], "File": "RISCVInstrInfo", "Func": "getInstSizeInBytes", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 726, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "RISCVTargetLowering", "::", "getAddr", "(", "NodeTy", "*", "N", ",", "SelectionDAG", "&", "DAG", ",", "bool", "IsLocal", ")", "const", "{", "SDLoc", "DL", "(", "N", ")", ";", "EVT", "Ty", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";", "if", "(", "isPositionIndependent", "(", ")", ")", "{", "SDValue", "Addr", "=", "getTargetNode", "(", "N", ",", "DL", ",", "Ty", ",", "DAG", ",", "0", ")", ";", "if", "(", "IsLocal", ")", "return", "SDValue", "(", "DAG", ".", "getMachineNode", "(", "RISCV", "::", "PseudoLLA", ",", "DL", ",", "Ty", ",", "Addr", ")", ",", "0", ")", ";", "return", "SDValue", "(", "DAG", ".", "getMachineNode", "(", "RISCV", "::", "PseudoLA", ",", "DL", ",", "Ty", ",", "Addr", ")", ",", "0", ")", ";", "}", "switch", "(", "getTargetMachine", "(", ")", ".", "getCodeModel", "(", ")", ")", "{", "default", ":", "report_fatal_error", "(", "\"Unsupported code model for lowering\"", ")", ";", "case", "CodeModel", "::", "Small", ":", "{", "SDValue", "AddrHi", "=", "getTargetNode", "(", "N", ",", "DL", ",", "Ty", ",", "DAG", ",", "RISCVII", "::", "MO_HI", ")", ";", "SDValue", "AddrLo", "=", "getTargetNode", "(", "N", ",", "DL", ",", "Ty", ",", "DAG", ",", "RISCVII", "::", "MO_LO", ")", ";", "SDValue", "MNHi", "=", "SDValue", "(", "DAG", ".", "getMachineNode", "(", "RISCV", "::", "LUI", ",", "DL", ",", "Ty", ",", "AddrHi", ")", ",", "0", ")", ";", "return", "SDValue", "(", "DAG", ".", "getMachineNode", "(", "RISCV", "::", "ADDI", ",", "DL", ",", "Ty", ",", "MNHi", ",", "AddrLo", ")", ",", "0", ")", ";", "}", "case", "CodeModel", "::", "Medium", ":", "{", "SDValue", "Addr", "=", "getTargetNode", "(", "N", ",", "DL", ",", "Ty", ",", "DAG", ",", "0", ")", ";", "return", "SDValue", "(", "DAG", ".", "getMachineNode", "(", "RISCV", "::", "PseudoLLA", ",", "DL", ",", "Ty", ",", "Addr", ")", ",", "0", ")", ";", "}", "}", "}", ""], "natrual_language": ["Return", "the", "address", "accessed", "by", "this", "recipe", "."], "TS_V_token": ["RISCV", "RISCV", "0", "RISCV::PseudoLLA", "0", "RISCV::PseudoLA", "0", "\"Unsupported code model for lowering\"", "RISCVII::MO_HI", "RISCVII::MO_LO", "RISCV::LUI", "0", "RISCV::ADDI", "0", "0", "RISCV::PseudoLLA", "0"], "File": "RISCVISelLowering1", "Func": "getAddr", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 727, "Length": 259, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "riscv_expand_builtin", "(", "tree", "exp", ",", "rtx", "target", ",", "rtx", "subtarget", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "int", "ignore", "ATTRIBUTE_UNUSED", ")", "{", "tree", "fndecl", "=", "TREE_OPERAND", "(", "CALL_EXPR_FN", "(", "exp", ")", ",", "0", ")", ";", "unsigned", "int", "fcode", "=", "DECL_MD_FUNCTION_CODE", "(", "fndecl", ")", ";", "const", "struct", "riscv_builtin_description", "*", "d", "=", "&", "riscv_builtins", "[", "fcode", "]", ";", "switch", "(", "d", "->", "builtin_type", ")", "{", "case", "RISCV_BUILTIN_DIRECT", ":", "return", "riscv_expand_builtin_direct", "(", "d", "->", "icode", ",", "target", ",", "exp", ",", "true", ")", ";", "case", "RISCV_BUILTIN_DIRECT_NO_TARGET", ":", "return", "riscv_expand_builtin_direct", "(", "d", "->", "icode", ",", "target", ",", "exp", ",", "false", ")", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_EXPAND_BUILTIN", "."], "TS_V_token": ["riscv", "0"], "File": "riscv-builtins", "Func": "riscv_expand_builtin", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 728, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "gimple", "*", "fold", "(", "gimple_folder", "&", "f", ")", "const", "override", "{", "auto_vec", "<", "tree", ">", "vargs", "(", "gimple_call_num_args", "(", "f", ".", "call", ")", "-", "1", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "gimple_call_num_args", "(", "f", ".", "call", ")", ";", "i", "++", ")", "{", "if", "(", "i", "==", "gimple_call_num_args", "(", "f", ".", "call", ")", "-", "2", ")", "continue", ";", "vargs", ".", "quick_push", "(", "gimple_call_arg", "(", "f", ".", "call", ",", "i", ")", ")", ";", "}", "gimple", "*", "repl", "=", "gimple_build_call_vec", "(", "gimple_call_fn", "(", "f", ".", "call", ")", ",", "vargs", ")", ";", "gimple_call_set_lhs", "(", "repl", ",", "f", ".", "lhs", ")", ";", "tree", "new_vl", "=", "gimple_call_arg", "(", "f", ".", "call", ",", "gimple_call_num_args", "(", "f", ".", "call", ")", "-", "2", ")", ";", "if", "(", "integer_zerop", "(", "new_vl", ")", ")", "{", "return", "repl", ";", "}", "tree", "tmp_var", "=", "create_tmp_var", "(", "size_type_node", ",", "\"new_vl\"", ")", ";", "tree", "decl", "=", "get_read_vl_decl", "(", ")", ";", "gimple", "*", "g", "=", "gimple_build_call", "(", "decl", ",", "0", ")", ";", "gimple_call_set_lhs", "(", "g", ",", "tmp_var", ")", ";", "tree", "indirect", "=", "fold_build2", "(", "MEM_REF", ",", "size_type_node", ",", "gimple_call_arg", "(", "f", ".", "call", ",", "gimple_call_num_args", "(", "f", ".", "call", ")", "-", "2", ")", ",", "build_int_cst", "(", "build_pointer_type", "(", "size_type_node", ")", ",", "0", ")", ")", ";", "gassign", "*", "assign", "=", "gimple_build_assign", "(", "indirect", ",", "tmp_var", ")", ";", "gsi_insert_after", "(", "f", ".", "gsi", ",", "assign", ",", "GSI_SAME_STMT", ")", ";", "gsi_insert_after", "(", "f", ".", "gsi", ",", "g", ",", "GSI_SAME_STMT", ")", ";", "return", "repl", ";", "}", ""], "natrual_language": ["Try", "to", "fold", "the", "call", ".", "Return", "the", "new", "statement", "on", "success", "and", "null", "on", "failure", "."], "TS_V_token": ["riscv", "1", "0", "2", "2", "\"new_vl\"", "0", "2", "0"], "File": "riscv-vector-builtins-bases", "Func": "fold", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 729, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVTargetLowering", "::", "LowerOperationWrapper", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDValue", "Res", "=", "LowerOperation", "(", "SDValue", "(", "N", ",", "0", ")", ",", "DAG", ")", ";", "if", "(", "!", "Res", ".", "getNode", "(", ")", ")", "return", ";", "if", "(", "N", "->", "getNumValues", "(", ")", "==", "1", ")", "{", "Results", ".", "push_back", "(", "Res", ")", ";", "return", ";", "}", "assert", "(", "(", "N", "->", "getNumValues", "(", ")", "==", "Res", "->", "getNumValues", "(", ")", ")", "&&", "\"Lowering returned the wrong number of results!\"", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "N", "->", "getNumValues", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Results", ".", "push_back", "(", "Res", ".", "getValue", "(", "I", ")", ")", ";", "}", ""], "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": ["RISCV", "RISCV", "0", "1", "\"Lowering returned the wrong number of results!\"", "0"], "File": "RISCVISelLowering62", "Func": "LowerOperationWrapper", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 730, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "isEligibleForTailCallOptimization", "(", "CCState", "&", "CCInfo", ",", "CallLoweringInfo", "&", "CLI", ",", "MachineFunction", "&", "MF", ",", "const", "SmallVector", "<", "CCValAssign", ",", "16", ">", "&", "ArgLocs", ")", "const", "{", "auto", "&", "Callee", "=", "CLI", ".", "Callee", ";", "auto", "CalleeCC", "=", "CLI", ".", "CallConv", ";", "auto", "IsVarArg", "=", "CLI", ".", "IsVarArg", ";", "auto", "&", "Outs", "=", "CLI", ".", "Outs", ";", "auto", "&", "Caller", "=", "MF", ".", "getFunction", "(", ")", ";", "auto", "CallerCC", "=", "Caller", ".", "getCallingConv", "(", ")", ";", "if", "(", "Caller", ".", "getFnAttribute", "(", "\"disable-tail-calls\"", ")", ".", "getValueAsString", "(", ")", "==", "\"true\"", ")", "return", "false", ";", "if", "(", "Caller", ".", "hasFnAttribute", "(", "\"interrupt\"", ")", ")", "return", "false", ";", "if", "(", "IsVarArg", ")", "return", "false", ";", "if", "(", "CCInfo", ".", "getNextStackOffset", "(", ")", "!=", "0", ")", "return", "false", ";", "for", "(", "auto", "&", "VA", ":", "ArgLocs", ")", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "Indirect", ")", "return", "false", ";", "auto", "IsCallerStructRet", "=", "Caller", ".", "hasStructRetAttr", "(", ")", ";", "auto", "IsCalleeStructRet", "=", "Outs", ".", "empty", "(", ")", "?", "false", ":", "Outs", "[", "0", "]", ".", "Flags", ".", "isSRet", "(", ")", ";", "if", "(", "IsCallerStructRet", "||", "IsCalleeStructRet", ")", "return", "false", ";", "if", "(", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", ")", "{", "const", "GlobalValue", "*", "GV", "=", "G", "->", "getGlobal", "(", ")", ";", "if", "(", "GV", "->", "hasExternalWeakLinkage", "(", ")", ")", "return", "false", ";", "}", "const", "RISCVRegisterInfo", "*", "TRI", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "const", "uint32_t", "*", "CallerPreserved", "=", "TRI", "->", "getCallPreservedMask", "(", "MF", ",", "CallerCC", ")", ";", "if", "(", "CalleeCC", "!=", "CallerCC", ")", "{", "const", "uint32_t", "*", "CalleePreserved", "=", "TRI", "->", "getCallPreservedMask", "(", "MF", ",", "CalleeCC", ")", ";", "if", "(", "!", "TRI", "->", "regmaskSubsetEqual", "(", "CallerPreserved", ",", "CalleePreserved", ")", ")", "return", "false", ";", "}", "for", "(", "auto", "&", "Arg", ":", "Outs", ")", "if", "(", "Arg", ".", "Flags", ".", "isByVal", "(", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "call", "can", "be", "lowered", "as", "a", "tail", "call", "."], "TS_V_token": ["RISCV", "RISCV", "16", "\"disable-tail-calls\"", "\"true\"", "\"interrupt\"", "0", "0", "RISCV"], "File": "RISCVISelLowering16", "Func": "isEligibleForTailCallOptimization", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 731, "Length": 316, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "function_expander", "::", "use_contiguous_store_insn", "(", "insn_code", "icode", ")", "{", "gcc_assert", "(", "call_expr_nargs", "(", "exp", ")", ">", "0", ")", ";", "machine_mode", "mode", "=", "TYPE_MODE", "(", "builtin_types", "[", "type", ".", "index", "]", ".", "vector", ")", ";", "int", "arg_offset", "=", "0", ";", "add_mem_operand", "(", "mode", ",", "use_real_mask_p", "(", "pred", ")", "?", "1", ":", "0", ")", ";", "if", "(", "use_real_mask_p", "(", "pred", ")", ")", "add_input_operand", "(", "arg_offset", "++", ")", ";", "else", "add_all_one_mask_operand", "(", "mask_mode", "(", ")", ")", ";", "arg_offset", "++", ";", "for", "(", "int", "argno", "=", "arg_offset", ";", "argno", "<", "call_expr_nargs", "(", "exp", ")", ";", "argno", "++", ")", "add_input_operand", "(", "argno", ")", ";", "return", "generate_insn", "(", "icode", ")", ";", "}", ""], "natrual_language": ["Use", "contiguous", "store", "INSN", "."], "TS_V_token": ["riscv", "0", "0", "1", "0"], "File": "riscv-vector-builtins", "Func": "use_contiguous_store_insn", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 732, "Length": 106, "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": 733, "Length": 467, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "check_builtin_call", "(", "location_t", "location", ",", "vec", "<", "location_t", ">", ",", "unsigned", "int", "code", ",", "tree", "fndecl", ",", "unsigned", "int", "nargs", ",", "tree", "*", "args", ")", "{", "const", "registered_function", "&", "rfn", "=", "*", "(", "*", "registered_functions", ")", "[", "code", "]", ";", "return", "function_checker", "(", "location", ",", "rfn", ".", "instance", ",", "fndecl", ",", "TREE_TYPE", "(", "rfn", ".", "decl", ")", ",", "nargs", ",", "args", ")", ".", "check", "(", ")", ";", "}", ""], "natrual_language": ["Perform", "any", "semantic", "checks", "needed", "for", "a", "call", "to", "the", "SVE", "function", "with", "subcode", "CODE", ",", "such", "as", "testing", "for", "integer", "constant", "expressions", ".", "The", "call", "occurs", "at", "location", "LOCATION", "and", "has", "NARGS", "arguments", ",", "given", "by", "ARGS", ".", "FNDECL", "is", "the", "original", "function", "decl", ",", "before", "overload", "resolution", ".", "Return", "true", "if", "the", "call", "is", "valid", ",", "otherwise", "report", "a", "suitable", "error", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "check_builtin_call", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 734, "Length": 69, "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": 735, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", "=", "0", ")", "const", "override", "{", "return", "&", "RISCV", "::", "GPRRegClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["RISCV", "0", "RISCV::GPRRegClass"], "File": "RISCVRegisterInfo (2)", "Func": "getPointerRegClass", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 736, "Length": 25, "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": 737, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_for_each_saved_reg", "(", "HOST_WIDE_INT", "sp_offset", ",", "riscv_save_restore_fn", "fn", ",", "bool", "epilogue", ",", "bool", "maybe_eh_return", ")", "{", "HOST_WIDE_INT", "offset", ";", "offset", "=", "cfun", "->", "machine", "->", "frame", ".", "gp_sp_offset", "-", "sp_offset", ";", "for", "(", "unsigned", "int", "regno", "=", "GP_REG_FIRST", ";", "regno", "<=", "GP_REG_LAST", ";", "regno", "++", ")", "if", "(", "BITSET_P", "(", "cfun", "->", "machine", "->", "frame", ".", "mask", ",", "regno", "-", "GP_REG_FIRST", ")", ")", "{", "bool", "handle_reg", "=", "TRUE", ";", "if", "(", "epilogue", "&&", "!", "maybe_eh_return", "&&", "crtl", "->", "calls_eh_return", ")", "{", "unsigned", "int", "i", ",", "regnum", ";", "for", "(", "i", "=", "0", ";", "(", "regnum", "=", "EH_RETURN_DATA_REGNO", "(", "i", ")", ")", "!=", "INVALID_REGNUM", ";", "i", "++", ")", "if", "(", "regno", "==", "regnum", ")", "{", "handle_reg", "=", "FALSE", ";", "break", ";", "}", "}", "if", "(", "handle_reg", ")", "riscv_save_restore_reg", "(", "word_mode", ",", "regno", ",", "offset", ",", "fn", ")", ";", "offset", "-=", "UNITS_PER_WORD", ";", "}", "offset", "=", "cfun", "->", "machine", "->", "frame", ".", "fp_sp_offset", "-", "sp_offset", ";", "for", "(", "unsigned", "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", ";", "riscv_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": ["riscv", "0"], "File": "riscv", "Func": "riscv_for_each_saved_reg", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 738, "Length": 217, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "isLegalICmpImmediate", "(", "int64_t", "Imm", ")", "const", "{", "return", "isInt", "<", "12", ">", "(", "Imm", ")", ";", "}", ""], "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": ["RISCV", "RISCV", "12"], "File": "RISCVISelLowering", "Func": "isLegalICmpImmediate", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 739, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "switch", "(", "Kind", ")", "{", "case", "KindTy", "::", "Immediate", ":", "OS", "<<", "*", "getImm", "(", ")", ";", "break", ";", "case", "KindTy", "::", "Register", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "KindTy", "::", "Token", ":", "OS", "<<", "\"'\"", "<<", "getToken", "(", ")", "<<", "\"'\"", ";", "break", ";", "case", "KindTy", "::", "SystemRegister", ":", "OS", "<<", "\"'", ";", "break", ";", "case", "KindTy", "::", "VType", ":", "SmallString", "<", "32", ">", "VTypeBuf", ";", "OS", "<<", "\"'", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["RISCV", "\"\"", "\"'\"", "\"'\"", "\"", "unsigned", "int", "riscv_hard_regno_nregs", "(", "int", "regno", ",", "enum", "machine_mode", "mode", ")", "{", "if", "(", "FP_REG_P", "(", "regno", ")", ")", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_FP_REG", "-", "1", ")", "/", "UNITS_PER_FP_REG", ";", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Implement", "HARD_REGNO_NREGS", "."], "TS_V_token": ["riscv", "1", "1"], "File": "riscv2", "Func": "riscv_hard_regno_nregs", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 741, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVELFTargetObjectFile", "::", "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": ["RISCV", "RISCV"], "File": "RISCVTargetObjectFile", "Func": "Initialize", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 742, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "function_instance", "::", "could_trap_p", "(", ")", "const", "{", "unsigned", "int", "flags", "=", "call_properties", "(", ")", ";", "if", "(", "flags", "&", "CP_RAISE_FP_EXCEPTIONS", ")", "return", "true", ";", "if", "(", "flags", "&", "(", "CP_READ_MEMORY", "|", "CP_WRITE_MEMORY", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "calls", "to", "the", "function", "could", "raise", "a", "signal", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "could_trap_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 743, "Length": 42, "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", ":", "case", "LTGT", ":", "*", "code", "=", "fp_code", "==", "LTGT", "?", "GTU", ":", "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", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Like", "riscv_emit_int_compare", ",", "but", "for", "floating-point", "comparisons", "."], "TS_V_token": ["riscv"], "File": "riscv2", "Func": "riscv_emit_float_compare", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 744, "Length": 434, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVTTIImpl", "::", "getRegUsageForType", "(", "Type", "*", "Ty", ")", "{", "TypeSize", "Size", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "Ty", "->", "isVectorTy", "(", ")", ")", "{", "if", "(", "Size", ".", "isScalable", "(", ")", "&&", "ST", "->", "hasVInstructions", "(", ")", ")", "return", "divideCeil", "(", "Size", ".", "getKnownMinValue", "(", ")", ",", "RISCV", "::", "RVVBitsPerBlock", ")", ";", "if", "(", "ST", "->", "useRVVForFixedLengthVectors", "(", ")", ")", "return", "divideCeil", "(", "Size", ",", "ST", "->", "getMinRVVVectorSizeInBits", "(", ")", ")", ";", "}", "return", "BaseT", "::", "getRegUsageForType", "(", "Ty", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "estimated", "number", "of", "registers", "required", "to", "represent", "Ty", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::RVVBitsPerBlock"], "File": "RISCVTargetTransformInfo10", "Func": "getRegUsageForType", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 745, "Length": 86, "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": 746, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "RISCVRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"interrupt\"", ")", ")", "{", "if", "(", "MF", "->", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ".", "hasStdExtD", "(", ")", ")", "return", "CSR_XLEN_F64_Interrupt_SaveList", ";", "if", "(", "MF", "->", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ".", "hasStdExtF", "(", ")", ")", "return", "CSR_XLEN_F32_Interrupt_SaveList", ";", "return", "CSR_Interrupt_SaveList", ";", "}", "return", "CSR_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["RISCV", "RISCV", "\"interrupt\"", "RISCV", "RISCV"], "File": "RISCVRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 747, "Length": 72, "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": 748, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVInstrInfo", "::", "removeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "int", "*", "BytesRemoved", ")", "const", "{", "if", "(", "BytesRemoved", ")", "*", "BytesRemoved", "=", "0", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "end", "(", ")", ")", "return", "0", ";", "if", "(", "!", "I", "->", "getDesc", "(", ")", ".", "isUnconditionalBranch", "(", ")", "&&", "!", "I", "->", "getDesc", "(", ")", ".", "isConditionalBranch", "(", ")", ")", "return", "0", ";", "if", "(", "BytesRemoved", ")", "*", "BytesRemoved", "+=", "getInstSizeInBytes", "(", "*", "I", ")", ";", "I", "->", "eraseFromParent", "(", ")", ";", "I", "=", "MBB", ".", "end", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", ")", "return", "1", ";", "--", "I", ";", "if", "(", "!", "I", "->", "getDesc", "(", ")", ".", "isConditionalBranch", "(", ")", ")", "return", "1", ";", "if", "(", "BytesRemoved", ")", "*", "BytesRemoved", "+=", "getInstSizeInBytes", "(", "*", "I", ")", ";", "I", "->", "eraseFromParent", "(", ")", ";", "return", "2", ";", "}", ""], "natrual_language": ["Remove", "the", "branching", "code", "at", "the", "end", "of", "the", "specific", "MBB", "."], "TS_V_token": ["RISCV", "RISCV", "0", "0", "0", "1", "1", "2"], "File": "RISCVInstrInfo (2)", "Func": "removeBranch", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 749, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "return", "isSimpleMove", "(", "MI", ",", "FrameIndex", ",", "RISCVII", "::", "SimpleStore", ")", ";", "}", ""], "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": ["RISCV", "RISCV", "RISCVII::SimpleStore"], "File": "RISCVInstrInfo (2)1", "Func": "isStoreToStackSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 750, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "shouldSinkOperands", "(", "Instruction", "*", "I", ",", "SmallVectorImpl", "<", "Use", "*", ">", "&", "Ops", ")", "const", "{", "using", "namespace", "llvm", "::", "PatternMatch", ";", "if", "(", "!", "I", "->", "getType", "(", ")", "->", "isVectorTy", "(", ")", "||", "!", "Subtarget", ".", "hasStdExtV", "(", ")", ")", "return", "false", ";", "auto", "IsSinker", "=", "[", "&", "]", "(", "Instruction", "*", "I", ",", "int", "Operand", ")", "{", "switch", "(", "I", "->", "getOpcode", "(", ")", ")", "{", "case", "Instruction", "::", "Add", ":", "case", "Instruction", "::", "Sub", ":", "case", "Instruction", "::", "Mul", ":", "case", "Instruction", "::", "And", ":", "case", "Instruction", "::", "Or", ":", "case", "Instruction", "::", "Xor", ":", "case", "Instruction", "::", "FAdd", ":", "case", "Instruction", "::", "FSub", ":", "case", "Instruction", "::", "FMul", ":", "case", "Instruction", "::", "FDiv", ":", "return", "true", ";", "case", "Instruction", "::", "Shl", ":", "case", "Instruction", "::", "LShr", ":", "case", "Instruction", "::", "AShr", ":", "return", "Operand", "==", "1", ";", "case", "Instruction", "::", "Call", ":", "if", "(", "auto", "*", "II", "=", "dyn_cast", "<", "IntrinsicInst", ">", "(", "I", ")", ")", "{", "switch", "(", "II", "->", "getIntrinsicID", "(", ")", ")", "{", "case", "Intrinsic", "::", "fma", ":", "return", "Operand", "==", "0", "||", "Operand", "==", "1", ";", "default", ":", "return", "false", ";", "}", "}", "return", "false", ";", "default", ":", "return", "false", ";", "}", "}", ";", "for", "(", "auto", "OpIdx", ":", "enumerate", "(", "I", "->", "operands", "(", ")", ")", ")", "{", "if", "(", "!", "IsSinker", "(", "I", ",", "OpIdx", ".", "index", "(", ")", ")", ")", "continue", ";", "Instruction", "*", "Op", "=", "dyn_cast", "<", "Instruction", ">", "(", "OpIdx", ".", "value", "(", ")", ".", "get", "(", ")", ")", ";", "if", "(", "!", "Op", "||", "any_of", "(", "Ops", ",", "[", "&", "]", "(", "Use", "*", "U", ")", "{", "return", "U", "->", "get", "(", ")", "==", "Op", ";", "}", ")", ")", "continue", ";", "if", "(", "!", "match", "(", "Op", ",", "m_Shuffle", "(", "m_InsertElt", "(", "m_Undef", "(", ")", ",", "m_Value", "(", ")", ",", "m_ZeroInt", "(", ")", ")", ",", "m_Undef", "(", ")", ",", "m_ZeroMask", "(", ")", ")", ")", ")", "continue", ";", "for", "(", "Use", "&", "U", ":", "Op", "->", "uses", "(", ")", ")", "{", "Instruction", "*", "Insn", "=", "cast", "<", "Instruction", ">", "(", "U", ".", "getUser", "(", ")", ")", ";", "if", "(", "!", "IsSinker", "(", "Insn", ",", "U", ".", "getOperandNo", "(", ")", ")", ")", "return", "false", ";", "}", "Ops", ".", "push_back", "(", "&", "Op", "->", "getOperandUse", "(", "0", ")", ")", ";", "Ops", ".", "push_back", "(", "&", "OpIdx", ".", "value", "(", ")", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "sinking", "I", "'s", "operands", "to", "the", "same", "basic", "block", "as", "I", "is", "profitable", ",", "e.g", "."], "TS_V_token": ["RISCV", "RISCV", "1", "Intrinsic::fma", "0", "1", "0"], "File": "RISCVISelLowering1", "Func": "shouldSinkOperands", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 751, "Length": 402, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVDAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "ret", "=", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "processFunctionAfterISel", "(", "MF", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVISelDAGToDAG (2)", "Func": "runOnMachineFunction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 752, "Length": 29, "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", ")", "{", "unsigned", "Reg", "=", "Inst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "const", "MCOperand", "&", "Op1", "=", "Inst", ".", "getOperand", "(", "1", ")", ";", "if", "(", "Op1", ".", "isExpr", "(", ")", ")", "{", "emitToStreamer", "(", "Out", ",", "MCInstBuilder", "(", "RISCV", "::", "ADDI", ")", ".", "addReg", "(", "Reg", ")", ".", "addReg", "(", "RISCV", "::", "X0", ")", ".", "addExpr", "(", "Op1", ".", "getExpr", "(", ")", ")", ")", ";", "return", "false", ";", "}", "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", "RISCV::ADDI", "RISCV::X0", "1", "32", "RISCV::PseudoLLA"], "File": "RISCVAsmParser", "Func": "processInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 753, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmBackend", "::", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "bool", "HasStdExtC", "=", "STI", ".", "getFeatureBits", "(", ")", "[", "RISCV", "::", "FeatureStdExtC", "]", ";", "unsigned", "MinNopLen", "=", "HasStdExtC", "?", "2", ":", "4", ";", "if", "(", "(", "Count", "%", "MinNopLen", ")", "!=", "0", ")", "return", "false", ";", "uint64_t", "Nop32Count", "=", "Count", "/", "4", ";", "for", "(", "uint64_t", "i", "=", "Nop32Count", ";", "i", "!=", "0", ";", "--", "i", ")", "OW", "->", "write32", "(", "0x13", ")", ";", "if", "(", "HasStdExtC", ")", "{", "uint64_t", "Nop16Count", "=", "(", "Count", "-", "Nop32Count", "*", "4", ")", "/", "2", ";", "for", "(", "uint64_t", "i", "=", "Nop16Count", ";", "i", "!=", "0", ";", "--", "i", ")", "OW", "->", "write16", "(", "0x01", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::FeatureStdExtC", "2", "4", "0", "4", "0", "0x13", "4", "2", "0", "0x01"], "File": "RISCVAsmBackend32", "Func": "writeNopData", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 754, "Length": 122, "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": 755, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "RISCVTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "TargetPassConfig", "(", "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": ["RISCV", "RISCV"], "File": "RISCVTargetMachine13", "Func": "createPassConfig", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 756, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVMCCodeEmitter", "::", "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": ["RISCV", "RISCV", "\"Unhandled expression!\"", "0"], "File": "RISCVMCCodeEmitter", "Func": "getMachineOpValue", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 757, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "RISCVDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "OS", ",", "raw_ostream", "&", "CS", ")", "const", "{", "uint32_t", "Insn", ";", "DecodeStatus", "Result", ";", "if", "(", "(", "Bytes", "[", "0", "]", "&", "0x3", ")", "==", "0x3", ")", "{", "Insn", "=", "support", "::", "endian", "::", "read32le", "(", "Bytes", ".", "data", "(", ")", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Trying RISCV32 table :\\n\"", ")", ";", "Result", "=", "decodeInstruction", "(", "DecoderTable32", ",", "MI", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "Size", "=", "4", ";", "}", "else", "{", "Insn", "=", "support", "::", "endian", "::", "read16le", "(", "Bytes", ".", "data", "(", ")", ")", ";", "if", "(", "!", "STI", ".", "getFeatureBits", "(", ")", "[", "RISCV", "::", "Feature64Bit", "]", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Trying RISCV32Only_16 table (16-bit Instruction):\\n\"", ")", ";", "Result", "=", "decodeInstruction", "(", "DecoderTableRISCV32Only_16", ",", "MI", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "Size", "=", "2", ";", "return", "Result", ";", "}", "}", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Trying RISCV_C table (16-bit Instruction):\\n\"", ")", ";", "Result", "=", "decodeInstruction", "(", "DecoderTable16", ",", "MI", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "Size", "=", "2", ";", "}", "return", "Result", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["RISCV", "RISCV", "0", "0x3", "0x3", "support::endian", "\"Trying RISCV32 table :\\n\"", "4", "support::endian", "RISCV::Feature64Bit", "\"Trying RISCV32Only_16 table (16-bit Instruction):\\n\"", "RISCV", "2", "\"Trying RISCV_C table (16-bit Instruction):\\n\"", "2"], "File": "RISCVDisassembler26", "Func": "getInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 758, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "riscv_v_ext_vector_mode_p", "(", "machine_mode", "mode", ")", "{", "case", "MODE", "##", "mode", ":", "\\", "return", "REQUIREMENT", ";", "switch", "(", "mode", ")", "{", "default", ":", "return", "false", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "mode", "is", "the", "RVV", "enabled", "mode", ".", "For", "example", ":", "'VNx1DI", "'", "mode", "is", "disabled", "if", "MIN_VLEN", "==", "32", ".", "'VNx1SI", "'", "mode", "is", "enabled", "if", "MIN_VLEN", "==", "32", "."], "TS_V_token": ["riscv"], "File": "riscv1", "Func": "riscv_v_ext_vector_mode_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 759, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DstReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "if", "(", "RISCV", "::", "GPRRegClass", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "RISCV", "::", "ADDI", ")", ",", "DstReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ".", "addImm", "(", "0", ")", ";", "return", ";", "}", "if", "(", "RISCV", "::", "FPR32RegClass", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "RISCV", "::", "FSGNJ_S", ")", ",", "DstReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "return", ";", "}", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["RISCV", "RISCV", "RISCV::GPRRegClass", "RISCV::ADDI", "0", "RISCV::FPR32RegClass", "RISCV::FSGNJ_S", "\"Impossible reg-to-reg copy\""], "File": "RISCVInstrInfo41", "Func": "copyPhysReg", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 760, "Length": 141, "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": ["RISCV", "ISD::NodeType", "ISD::SIGN_EXTEND"], "File": "RISCVISelLowering1", "Func": "getExtendForAtomicOps", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 761, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "RISCVTargetLowering", "::", "getAddr", "(", "NodeTy", "*", "N", ",", "SelectionDAG", "&", "DAG", ",", "bool", "IsLocal", ")", "const", "{", "SDLoc", "DL", "(", "N", ")", ";", "EVT", "Ty", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";", "if", "(", "isPositionIndependent", "(", ")", ")", "{", "SDValue", "Addr", "=", "getTargetNode", "(", "N", ",", "DL", ",", "Ty", ",", "DAG", ",", "0", ")", ";", "if", "(", "IsLocal", ")", "return", "SDValue", "(", "DAG", ".", "getMachineNode", "(", "RISCV", "::", "PseudoLLA", ",", "DL", ",", "Ty", ",", "Addr", ")", ",", "0", ")", ";", "SDValue", "Load", "=", "SDValue", "(", "DAG", ".", "getMachineNode", "(", "RISCV", "::", "PseudoLA", ",", "DL", ",", "Ty", ",", "Addr", ")", ",", "0", ")", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MachineMemOperand", "*", "MemOp", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getGOT", "(", "MF", ")", ",", "MachineMemOperand", "::", "MOLoad", "|", "MachineMemOperand", "::", "MODereferenceable", "|", "MachineMemOperand", "::", "MOInvariant", ",", "LLT", "(", "Ty", ".", "getSimpleVT", "(", ")", ")", ",", "Align", "(", "Ty", ".", "getFixedSizeInBits", "(", ")", "/", "8", ")", ")", ";", "DAG", ".", "setNodeMemRefs", "(", "cast", "<", "MachineSDNode", ">", "(", "Load", ".", "getNode", "(", ")", ")", ",", "{", "MemOp", "}", ")", ";", "return", "Load", ";", "}", "switch", "(", "getTargetMachine", "(", ")", ".", "getCodeModel", "(", ")", ")", "{", "default", ":", "report_fatal_error", "(", "\"Unsupported code model for lowering\"", ")", ";", "case", "CodeModel", "::", "Small", ":", "{", "SDValue", "AddrHi", "=", "getTargetNode", "(", "N", ",", "DL", ",", "Ty", ",", "DAG", ",", "RISCVII", "::", "MO_HI", ")", ";", "SDValue", "AddrLo", "=", "getTargetNode", "(", "N", ",", "DL", ",", "Ty", ",", "DAG", ",", "RISCVII", "::", "MO_LO", ")", ";", "SDValue", "MNHi", "=", "SDValue", "(", "DAG", ".", "getMachineNode", "(", "RISCV", "::", "LUI", ",", "DL", ",", "Ty", ",", "AddrHi", ")", ",", "0", ")", ";", "return", "SDValue", "(", "DAG", ".", "getMachineNode", "(", "RISCV", "::", "ADDI", ",", "DL", ",", "Ty", ",", "MNHi", ",", "AddrLo", ")", ",", "0", ")", ";", "}", "case", "CodeModel", "::", "Medium", ":", "{", "SDValue", "Addr", "=", "getTargetNode", "(", "N", ",", "DL", ",", "Ty", ",", "DAG", ",", "0", ")", ";", "return", "SDValue", "(", "DAG", ".", "getMachineNode", "(", "RISCV", "::", "PseudoLLA", ",", "DL", ",", "Ty", ",", "Addr", ")", ",", "0", ")", ";", "}", "}", "}", ""], "natrual_language": ["Return", "the", "address", "accessed", "by", "this", "recipe", "."], "TS_V_token": ["RISCV", "RISCV", "0", "RISCV::PseudoLLA", "0", "RISCV::PseudoLA", "0", "8", "\"Unsupported code model for lowering\"", "RISCVII::MO_HI", "RISCVII::MO_LO", "RISCV::LUI", "0", "RISCV::ADDI", "0", "0", "RISCV::PseudoLLA", "0"], "File": "RISCVISelLowering3", "Func": "getAddr", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 762, "Length": 343, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "bool", "function_base", "::", "apply_mask_policy_p", "(", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["We", "choose", "to", "apply", "mask", "policy", "operand", "by", "default", "since", "most", "of", "the", "intrinsics", "has", "mask", "policy", "operand", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "apply_mask_policy_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 763, "Length": 13, "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": ["RISCV"], "File": "RISCVAsmParser (2)", "Func": "getStartLoc", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 764, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVFrameLowering", "::", "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", "(", ")", ";", "const", "char", "*", "SpillLibCall", "=", "getSpillLibCallName", "(", "*", "MF", ",", "CSI", ")", ";", "if", "(", "SpillLibCall", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "RISCV", "::", "PseudoCALLReg", ")", ",", "RISCV", "::", "X5", ")", ".", "addExternalSymbol", "(", "SpillLibCall", ",", "RISCVII", "::", "MO_CALL", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "for", "(", "auto", "&", "CS", ":", "CSI", ")", "MBB", ".", "addLiveIn", "(", "CS", ".", "getReg", "(", ")", ")", ";", "}", "const", "auto", "&", "NonLibcallCSI", "=", "getNonLibcallCSI", "(", "*", "MF", ",", "CSI", ")", ";", "for", "(", "auto", "&", "CS", ":", "NonLibcallCSI", ")", "{", "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": ["RISCV", "RISCV", "RISCV::PseudoCALLReg", "RISCV::X5", "RISCVII::MO_CALL"], "File": "RISCVFrameLowering13", "Func": "spillCalleeSavedRegisters", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 765, "Length": 239, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "RISCVTargetLowering", "::", "shouldExpandAtomicCmpXchgInIR", "(", "AtomicCmpXchgInst", "*", "CI", ")", "const", "{", "unsigned", "Size", "=", "CI", "->", "getCompareOperand", "(", ")", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "Size", "==", "8", "||", "Size", "==", "16", ")", "return", "AtomicExpansionKind", "::", "MaskedIntrinsic", ";", "return", "AtomicExpansionKind", "::", "None", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "atomic", "cmpxchg", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "."], "TS_V_token": ["RISCV", "RISCV", "8", "16"], "File": "RISCVISelLowering", "Func": "shouldExpandAtomicCmpXchgInIR", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 766, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "RISCV", "::", "SB", ":", "case", "RISCV", "::", "SH", ":", "case", "RISCV", "::", "SW", ":", "case", "RISCV", "::", "FSW", ":", "case", "RISCV", "::", "SD", ":", "case", "RISCV", "::", "FSD", ":", "break", ";", "}", "if", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "isFI", "(", ")", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "==", "0", ")", "{", "FrameIndex", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "2", ")", ".", "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": ["RISCV", "RISCV", "0", "RISCV::SB", "RISCV::SH", "RISCV::SW", "RISCV::FSW", "RISCV::SD", "RISCV::FSD", "0", "1", "1", "0", "0", "2", "0"], "File": "RISCVInstrInfo", "Func": "isStoreToStackSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 767, "Length": 131, "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": 768, "Length": 389, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "pass_vsetvl", "::", "execute", "(", "function", "*", ")", "{", "if", "(", "n_basic_blocks_for_fn", "(", "cfun", ")", "<=", "0", ")", "return", "0", ";", "split_all_insns", "(", ")", ";", "if", "(", "!", "has_vector_insn", "(", "cfun", ")", ")", "return", "0", ";", "init", "(", ")", ";", "if", "(", "!", "optimize", ")", "simple_vsetvl", "(", ")", ";", "else", "lazy_vsetvl", "(", ")", ";", "done", "(", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Main", "entry", "point", "for", "this", "pass", "."], "TS_V_token": ["riscv", "0", "0", "0", "0"], "File": "riscv-vsetvl", "Func": "execute", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 769, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "return", "isSimpleMove", "(", "MI", ",", "FrameIndex", ",", "RISCVII", "::", "SimpleLoad", ")", ";", "}", ""], "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": ["RISCV", "RISCV", "RISCVII::SimpleLoad"], "File": "RISCVInstrInfo (2)1", "Func": "isLoadFromStackSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 770, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "RISCVRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "RISCVFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "TFI", "->", "getFPReg", "(", ")", ":", "TFI", "->", "getSPReg", "(", ")", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV"], "File": "RISCVRegisterInfo17", "Func": "getFrameRegister", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 771, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "get_avl_type_rtx", "(", "enum", "avl_type", "type", ")", "{", "return", "gen_int_mode", "(", "type", ",", "Pmode", ")", ";", "}", ""], "natrual_language": ["Get", "avl_type", "rtx", "."], "TS_V_token": ["riscv"], "File": "riscv-v", "Func": "get_avl_type_rtx", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 772, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Instruction", "*", "RISCVTargetLowering", "::", "emitLeadingFence", "(", "IRBuilderBase", "&", "Builder", ",", "Instruction", "*", "Inst", ",", "AtomicOrdering", "Ord", ")", "const", "{", "if", "(", "isa", "<", "LoadInst", ">", "(", "Inst", ")", "&&", "Ord", "==", "AtomicOrdering", "::", "SequentiallyConsistent", ")", "return", "Builder", ".", "CreateFence", "(", "Ord", ")", ";", "if", "(", "isa", "<", "StoreInst", ">", "(", "Inst", ")", "&&", "isReleaseOrStronger", "(", "Ord", ")", ")", "return", "Builder", ".", "CreateFence", "(", "AtomicOrdering", "::", "Release", ")", ";", "return", "nullptr", ";", "}", ""], "natrual_language": ["Custom", "Lower", "{", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVISelLowering1", "Func": "emitLeadingFence", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 773, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "RISCVFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "Register", "SPReg", "=", "RISCV", "::", "X2", ";", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "int64_t", "Amount", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "Amount", "!=", "0", ")", "{", "Amount", "=", "alignSPAdjust", "(", "Amount", ")", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "RISCV", "::", "ADJCALLSTACKDOWN", ")", "Amount", "=", "-", "Amount", ";", "adjustReg", "(", "MBB", ",", "MI", ",", "DL", ",", "SPReg", ",", "SPReg", ",", "Amount", ",", "MachineInstr", "::", "NoFlags", ")", ";", "}", "}", "return", "MBB", ".", "erase", "(", "MI", ")", ";", "}", ""], "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": ["RISCV", "RISCV", "RISCV::X2", "0", "0", "RISCV::ADJCALLSTACKDOWN"], "File": "RISCVFrameLowering (2)", "Func": "eliminateCallFramePseudoInstr", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 774, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "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", ",", "Subtarget", ".", "isRV64", "(", ")", "?", "RetCC_RISCV64", ":", "RetCC_RISCV32", ")", ";", "}", ""], "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": ["RISCV", "RISCV", "ISD::OutputArg", "16", "RISCV", "RISCV"], "File": "RISCVISelLowering (2)2", "Func": "CanLowerReturn", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 775, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "LLVM_DUMP_METHOD", "void", "dump", "(", ")", "const", "{", "print", "(", "dbgs", "(", ")", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ";", "}", ""], "natrual_language": ["Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "."], "TS_V_token": ["RISCV", "\"\\n\""], "File": "RISCVInsertVSETVLI6", "Func": "dump", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 776, "Length": 21, "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": ["RISCV", "RISCV", "RISCV", "RISCV"], "File": "RISCVAsmPrinter", "Func": "emitEndOfAsmFile", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 777, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_pred_op", "(", "unsigned", "icode", ",", "rtx", "mask", ",", "rtx", "dest", ",", "rtx", "src", ",", "rtx", "len", ",", "machine_mode", "mask_mode", ",", "bool", "vlmax_p", ")", "{", "insn_expander", "<", "8", ">", "e", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "e", ".", "add_output_operand", "(", "dest", ",", "mode", ")", ";", "if", "(", "mask", ")", "e", ".", "add_input_operand", "(", "mask", ",", "GET_MODE", "(", "mask", ")", ")", ";", "else", "e", ".", "add_all_one_mask_operand", "(", "mask_mode", ")", ";", "e", ".", "add_vundef_operand", "(", "mode", ")", ";", "e", ".", "add_input_operand", "(", "src", ",", "GET_MODE", "(", "src", ")", ")", ";", "if", "(", "len", ")", "e", ".", "add_input_operand", "(", "len", ",", "Pmode", ")", ";", "else", "{", "rtx", "vlmax", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_vlmax_vsetvl", "(", "mode", ",", "vlmax", ")", ";", "e", ".", "add_input_operand", "(", "vlmax", ",", "Pmode", ")", ";", "}", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_VECTOR_BOOL", ")", "e", ".", "add_policy_operand", "(", "get_prefer_tail_policy", "(", ")", ",", "get_prefer_mask_policy", "(", ")", ")", ";", "if", "(", "vlmax_p", ")", "e", ".", "add_avl_type_operand", "(", "avl_type", "::", "VLMAX", ")", ";", "else", "e", ".", "add_avl_type_operand", "(", "avl_type", "::", "NONVLMAX", ")", ";", "e", ".", "expand", "(", "(", "enum", "insn_code", ")", "icode", ",", "MEM_P", "(", "dest", ")", "||", "MEM_P", "(", "src", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "RVV", "unmask", "&", "&", "vl", "mov", "from", "SRC", "to", "DEST", "."], "TS_V_token": ["riscv", "8"], "File": "riscv-v", "Func": "emit_pred_op", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 778, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "RISCV_CLEANUP_VSETVLI_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVCleanupVSETVLI", "Func": "getPassName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 779, "Length": 11, "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", "::", "CALL", ":", "return", "\"RISCVISD::CALL\"", ";", "case", "RISCVISD", "::", "SELECT_CC", ":", "return", "\"RISCVISD::SELECT_CC\"", ";", "}", "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::CALL", "\"RISCVISD::CALL\"", "RISCVISD::SELECT_CC", "\"RISCVISD::SELECT_CC\""], "File": "RISCVISelLowering17", "Func": "getTargetNodeName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 780, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "register_builtin_type", "(", "vector_type_index", "type", ",", "tree", "eltype", ",", "machine_mode", "mode", ")", "{", "builtin_types", "[", "type", "]", ".", "scalar", "=", "eltype", ";", "builtin_types", "[", "type", "]", ".", "scalar_ptr", "=", "build_pointer_type", "(", "eltype", ")", ";", "builtin_types", "[", "type", "]", ".", "scalar_const_ptr", "=", "build_const_pointer", "(", "eltype", ")", ";", "if", "(", "!", "riscv_v_ext_vector_mode_p", "(", "mode", ")", ")", "return", ";", "tree", "vectype", "=", "build_vector_type_for_mode", "(", "eltype", ",", "mode", ")", ";", "gcc_assert", "(", "VECTOR_MODE_P", "(", "TYPE_MODE", "(", "vectype", ")", ")", "&&", "TYPE_MODE", "(", "vectype", ")", "==", "mode", "&&", "TYPE_MODE_RAW", "(", "vectype", ")", "==", "mode", "&&", "TYPE_ALIGN", "(", "vectype", ")", "<=", "128", "&&", "known_eq", "(", "tree_to_poly_uint64", "(", "TYPE_SIZE", "(", "vectype", ")", ")", ",", "GET_MODE_BITSIZE", "(", "mode", ")", ")", ")", ";", "vectype", "=", "build_distinct_type_copy", "(", "vectype", ")", ";", "gcc_assert", "(", "vectype", "==", "TYPE_MAIN_VARIANT", "(", "vectype", ")", ")", ";", "SET_TYPE_STRUCTURAL_EQUALITY", "(", "vectype", ")", ";", "TYPE_ARTIFICIAL", "(", "vectype", ")", "=", "1", ";", "TYPE_INDIVISIBLE_P", "(", "vectype", ")", "=", "1", ";", "add_vector_type_attribute", "(", "vectype", ",", "vector_types", "[", "type", "]", ".", "mangled_name", ")", ";", "make_type_sizeless", "(", "vectype", ")", ";", "abi_vector_types", "[", "type", "]", "=", "vectype", ";", "lang_hooks", ".", "types", ".", "register_builtin_type", "(", "vectype", ",", "vector_types", "[", "type", "]", ".", "abi_name", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "register", "a", "single", "built-in", "RVV", "ABI", "type", "."], "TS_V_token": ["riscv", "128", "1", "1"], "File": "riscv-vector-builtins", "Func": "register_builtin_type", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 781, "Length": 192, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "function_checker", "::", "require_immediate_range", "(", "unsigned", "int", "argno", ",", "HOST_WIDE_INT", "min", ",", "HOST_WIDE_INT", "max", ")", "const", "{", "gcc_assert", "(", "argno", "<", "m_nargs", ")", ";", "tree", "arg", "=", "m_args", "[", "argno", "]", ";", "HOST_WIDE_INT", "actual", "=", "tree_to_uhwi", "(", "arg", ")", ";", "if", "(", "!", "IN_RANGE", "(", "actual", ",", "min", ",", "max", ")", ")", "{", "report_out_of_range", "(", "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": ["riscv"], "File": "riscv-vector-builtins", "Func": "require_immediate_range", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 782, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getString", "(", ")", ";", "if", "(", "IDVal", "==", "\".option\"", ")", "return", "parseDirectiveOption", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["RISCV", "RISCV", "\".option\""], "File": "RISCVAsmParser", "Func": "ParseDirective", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 783, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVRegisterInfo", "::", "isAsmClobberable", "(", "const", "MachineFunction", "&", "MF", ",", "MCRegister", "PhysReg", ")", "const", "{", "return", "!", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ".", "isRegisterReservedByUser", "(", "PhysReg", ")", ";", "}", ""], "natrual_language": ["Returns", "false", "if", "we", "ca", "n't", "guarantee", "that", "Physreg", ",", "specified", "as", "an", "IR", "asm", "clobber", "constraint", ",", "will", "be", "preserved", "across", "the", "statement", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV"], "File": "RISCVRegisterInfo1", "Func": "isAsmClobberable", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 784, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "isEligibleForTailCallOptimization", "(", "CCState", "&", "CCInfo", ",", "CallLoweringInfo", "&", "CLI", ",", "MachineFunction", "&", "MF", ",", "const", "SmallVector", "<", "CCValAssign", ",", "16", ">", "&", "ArgLocs", ")", "const", "{", "auto", "&", "Callee", "=", "CLI", ".", "Callee", ";", "auto", "CalleeCC", "=", "CLI", ".", "CallConv", ";", "auto", "&", "Outs", "=", "CLI", ".", "Outs", ";", "auto", "&", "Caller", "=", "MF", ".", "getFunction", "(", ")", ";", "auto", "CallerCC", "=", "Caller", ".", "getCallingConv", "(", ")", ";", "if", "(", "Caller", ".", "getFnAttribute", "(", "\"disable-tail-calls\"", ")", ".", "getValueAsString", "(", ")", "==", "\"true\"", ")", "return", "false", ";", "if", "(", "Caller", ".", "hasFnAttribute", "(", "\"interrupt\"", ")", ")", "return", "false", ";", "if", "(", "CCInfo", ".", "getNextStackOffset", "(", ")", "!=", "0", ")", "return", "false", ";", "for", "(", "auto", "&", "VA", ":", "ArgLocs", ")", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "Indirect", ")", "return", "false", ";", "auto", "IsCallerStructRet", "=", "Caller", ".", "hasStructRetAttr", "(", ")", ";", "auto", "IsCalleeStructRet", "=", "Outs", ".", "empty", "(", ")", "?", "false", ":", "Outs", "[", "0", "]", ".", "Flags", ".", "isSRet", "(", ")", ";", "if", "(", "IsCallerStructRet", "||", "IsCalleeStructRet", ")", "return", "false", ";", "if", "(", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", ")", "{", "const", "GlobalValue", "*", "GV", "=", "G", "->", "getGlobal", "(", ")", ";", "if", "(", "GV", "->", "hasExternalWeakLinkage", "(", ")", ")", "return", "false", ";", "}", "const", "RISCVRegisterInfo", "*", "TRI", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "const", "uint32_t", "*", "CallerPreserved", "=", "TRI", "->", "getCallPreservedMask", "(", "MF", ",", "CallerCC", ")", ";", "if", "(", "CalleeCC", "!=", "CallerCC", ")", "{", "const", "uint32_t", "*", "CalleePreserved", "=", "TRI", "->", "getCallPreservedMask", "(", "MF", ",", "CalleeCC", ")", ";", "if", "(", "!", "TRI", "->", "regmaskSubsetEqual", "(", "CallerPreserved", ",", "CalleePreserved", ")", ")", "return", "false", ";", "}", "for", "(", "auto", "&", "Arg", ":", "Outs", ")", "if", "(", "Arg", ".", "Flags", ".", "isByVal", "(", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "call", "can", "be", "lowered", "as", "a", "tail", "call", "."], "TS_V_token": ["RISCV", "RISCV", "16", "\"disable-tail-calls\"", "\"true\"", "\"interrupt\"", "0", "0", "RISCV"], "File": "RISCVISelLowering14", "Func": "isEligibleForTailCallOptimization", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 785, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_valid_base_register_p", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "bool", "strict_p", ")", "{", "if", "(", "!", "strict_p", "&&", "GET_CODE", "(", "x", ")", "==", "SUBREG", ")", "x", "=", "SUBREG_REG", "(", "x", ")", ";", "return", "(", "REG_P", "(", "x", ")", "&&", "riscv_regno_mode_ok_for_base_p", "(", "REGNO", "(", "x", ")", ",", "mode", ",", "strict_p", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "valid", "base", "register", "for", "mode", "MODE", ".", "STRICT_P", "is", "true", "if", "REG_OK_STRICT", "is", "in", "effect", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_valid_base_register_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 786, "Length": 54, "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": 787, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "riscv_register_move_cost", "(", "enum", "machine_mode", "mode", ",", "reg_class_t", "from", ",", "reg_class_t", "to", ")", "{", "return", "SECONDARY_MEMORY_NEEDED", "(", "from", ",", "to", ",", "mode", ")", "?", "8", ":", "2", ";", "}", ""], "natrual_language": ["Implement", "TARGET_REGISTER_MOVE_COST", "."], "TS_V_token": ["riscv", "8", "2"], "File": "riscv2", "Func": "riscv_register_move_cost", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 788, "Length": 30, "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": 789, "Length": 277, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "DebugLoc", "&", "DL", ",", "MCRegister", "DstReg", ",", "MCRegister", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "if", "(", "RISCV", "::", "GPRRegClass", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "RISCV", "::", "ADDI", ")", ",", "DstReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ".", "addImm", "(", "0", ")", ";", "return", ";", "}", "unsigned", "Opc", ";", "if", "(", "RISCV", "::", "FPR32RegClass", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", ")", "Opc", "=", "RISCV", "::", "FSGNJ_S", ";", "else", "if", "(", "RISCV", "::", "FPR64RegClass", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", ")", "Opc", "=", "RISCV", "::", "FSGNJ_D", ";", "else", "if", "(", "RISCV", "::", "VGRRegClass", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", "||", "RISCV", "::", "VPRRegClass", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", "||", "RISCV", "::", "VQRRegClass", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", "||", "RISCV", "::", "VORRegClass", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", "||", "(", "RISCV", "::", "VMASKRegClass", ".", "contains", "(", "DstReg", ")", "&&", "RISCV", "::", "VGRRegClass", ".", "contains", "(", "SrcReg", ")", ")", ")", "{", "Opc", "=", "RISCV", "::", "VMV_V_V", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "Opc", ")", ",", "RISCV", "::", "V0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "return", ";", "}", "else", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DstReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["RISCV", "RISCV", "RISCV::GPRRegClass", "RISCV::ADDI", "0", "RISCV::FPR32RegClass", "RISCV::FSGNJ_S", "RISCV::FPR64RegClass", "RISCV::FSGNJ_D", "RISCV::VGRRegClass", "RISCV::VPRRegClass", "RISCV::VQRRegClass", "RISCV::VORRegClass", "RISCV::VMASKRegClass", "RISCV::VGRRegClass", "RISCV::VMV_V_V", "RISCV::V0", "\"Impossible reg-to-reg copy\""], "File": "RISCVInstrInfo31", "Func": "copyPhysReg", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 790, "Length": 270, "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", "=", "4", ";", "Info", ".", "flags", "=", "MachineMemOperand", "::", "MOLoad", "|", "MachineMemOperand", "::", "MOStore", "|", "MachineMemOperand", "::", "MOVolatile", ";", "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"], "File": "RISCVISelLowering", "Func": "getTgtMemIntrinsic", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 791, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "riscv_d_target_versions", "(", "void", ")", "{", "if", "(", "TARGET_64BIT", ")", "d_add_builtin_version", "(", "\"RISCV64\"", ")", ";", "else", "d_add_builtin_version", "(", "\"RISCV32\"", ")", ";", "if", "(", "TARGET_HARD_FLOAT", ")", "d_add_builtin_version", "(", "\"D_HardFloat\"", ")", ";", "else", "d_add_builtin_version", "(", "\"D_SoftFloat\"", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_D_CPU_VERSIONS", "for", "RISC-V", "targets", "."], "TS_V_token": ["riscv", "\"RISCV64\"", "\"RISCV32\"", "\"D_HardFloat\"", "\"D_SoftFloat\""], "File": "riscv-d", "Func": "riscv_d_target_versions", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 792, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVMCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "uint32_t", "Bits", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "support", "::", "endian", "::", "Writer", "<", "support", "::", "little", ">", "(", "OS", ")", ".", "write", "(", "Bits", ")", ";", "++", "MCNumEmitted", ";", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["RISCV", "RISCV", "support::endian", "support::little"], "File": "RISCVMCCodeEmitter20", "Func": "encodeInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 793, "Length": 63, "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", "::", "FSGNJ_D", ":", "case", "RISCV", "::", "FSGNJ_S", ":", "case", "RISCV", "::", "FSGNJ_H", ":", "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::FSGNJ_D", "RISCV::FSGNJ_S", "RISCV::FSGNJ_H", "1", "2", "1", "2", "RISCV::ADDI", "RISCV::ORI", "RISCV::XORI", "1", "1", "RISCV::X0", "2", "2", "0"], "File": "RISCVInstrInfo22", "Func": "isAsCheapAsAMove", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 794, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "use_real_merge_p", "(", "enum", "predication_type_index", "pred", ")", "{", "return", "pred", "==", "PRED_TYPE_tu", "||", "pred", "==", "PRED_TYPE_tum", "||", "pred", "==", "PRED_TYPE_tumu", "||", "pred", "==", "PRED_TYPE_mu", ";", "}", ""], "natrual_language": ["Return", "true", "if", "predication", "is", "using", "a", "real", "merge", "operand", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "use_real_merge_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 795, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "splitValueIntoRegisterParts", "(", "SelectionDAG", "&", "DAG", ",", "const", "SDLoc", "&", "DL", ",", "SDValue", "Val", ",", "SDValue", "*", "Parts", ",", "unsigned", "NumParts", ",", "MVT", "PartVT", ",", "Optional", "<", "CallingConv", "::", "ID", ">", "CC", ")", "const", "{", "bool", "IsABIRegCopy", "=", "CC", ".", "hasValue", "(", ")", ";", "EVT", "ValueVT", "=", "Val", ".", "getValueType", "(", ")", ";", "if", "(", "IsABIRegCopy", "&&", "ValueVT", "==", "MVT", "::", "f16", "&&", "PartVT", "==", "MVT", "::", "f32", ")", "{", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "DL", ",", "MVT", "::", "i16", ",", "Val", ")", ";", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ANY_EXTEND", ",", "DL", ",", "MVT", "::", "i32", ",", "Val", ")", ";", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "OR", ",", "DL", ",", "MVT", "::", "i32", ",", "Val", ",", "DAG", ".", "getConstant", "(", "0xFFFF0000", ",", "DL", ",", "MVT", "::", "i32", ")", ")", ";", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "DL", ",", "MVT", "::", "f32", ",", "Val", ")", ";", "Parts", "[", "0", "]", "=", "Val", ";", "return", "true", ";", "}", "if", "(", "ValueVT", ".", "isScalableVector", "(", ")", "&&", "PartVT", ".", "isScalableVector", "(", ")", ")", "{", "LLVMContext", "&", "Context", "=", "*", "DAG", ".", "getContext", "(", ")", ";", "EVT", "ValueEltVT", "=", "ValueVT", ".", "getVectorElementType", "(", ")", ";", "EVT", "PartEltVT", "=", "PartVT", ".", "getVectorElementType", "(", ")", ";", "unsigned", "ValueVTBitSize", "=", "ValueVT", ".", "getSizeInBits", "(", ")", ".", "getKnownMinSize", "(", ")", ";", "unsigned", "PartVTBitSize", "=", "PartVT", ".", "getSizeInBits", "(", ")", ".", "getKnownMinSize", "(", ")", ";", "if", "(", "PartVTBitSize", "%", "ValueVTBitSize", "==", "0", ")", "{", "if", "(", "ValueEltVT", "!=", "PartEltVT", ")", "{", "unsigned", "Count", "=", "ValueVTBitSize", "/", "PartEltVT", ".", "getSizeInBits", "(", ")", ";", "assert", "(", "Count", "!=", "0", "&&", "\"The number of element should not be zero.\"", ")", ";", "EVT", "SameEltTypeVT", "=", "EVT", "::", "getVectorVT", "(", "Context", ",", "PartEltVT", ",", "Count", ",", "true", ")", ";", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "DL", ",", "SameEltTypeVT", ",", "Val", ")", ";", "}", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "INSERT_SUBVECTOR", ",", "DL", ",", "PartVT", ",", "DAG", ".", "getUNDEF", "(", "PartVT", ")", ",", "Val", ",", "DAG", ".", "getConstant", "(", "0", ",", "DL", ",", "Subtarget", ".", "getXLenVT", "(", ")", ")", ")", ";", "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": ["RISCV", "RISCV", "MVT::f16", "MVT::f32", "ISD::BITCAST", "MVT::i16", "ISD::ANY_EXTEND", "MVT::i32", "ISD::OR", "MVT::i32", "0xFFFF0000", "MVT::i32", "ISD::BITCAST", "MVT::f32", "0", "0", "0", "\"The number of element should not be zero.\"", "ISD::BITCAST", "ISD::INSERT_SUBVECTOR", "0", "0"], "File": "RISCVISelLowering1", "Func": "splitValueIntoRegisterParts", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 796, "Length": 367, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "shouldSinkOperands", "(", "Instruction", "*", "I", ",", "SmallVectorImpl", "<", "Use", "*", ">", "&", "Ops", ")", "const", "{", "using", "namespace", "llvm", "::", "PatternMatch", ";", "if", "(", "!", "I", "->", "getType", "(", ")", "->", "isVectorTy", "(", ")", "||", "!", "Subtarget", ".", "hasStdExtV", "(", ")", ")", "return", "false", ";", "auto", "IsSinker", "=", "[", "&", "]", "(", "Instruction", "*", "I", ",", "int", "Operand", ")", "{", "switch", "(", "I", "->", "getOpcode", "(", ")", ")", "{", "case", "Instruction", "::", "Add", ":", "case", "Instruction", "::", "Sub", ":", "case", "Instruction", "::", "Mul", ":", "case", "Instruction", "::", "FAdd", ":", "case", "Instruction", "::", "FSub", ":", "case", "Instruction", "::", "FMul", ":", "case", "Instruction", "::", "FDiv", ":", "return", "true", ";", "case", "Instruction", "::", "Shl", ":", "case", "Instruction", "::", "LShr", ":", "case", "Instruction", "::", "AShr", ":", "return", "Operand", "==", "1", ";", "case", "Instruction", "::", "Call", ":", "if", "(", "auto", "*", "II", "=", "dyn_cast", "<", "IntrinsicInst", ">", "(", "I", ")", ")", "{", "switch", "(", "II", "->", "getIntrinsicID", "(", ")", ")", "{", "case", "Intrinsic", "::", "fma", ":", "return", "Operand", "==", "0", "||", "Operand", "==", "1", ";", "default", ":", "return", "false", ";", "}", "}", "return", "false", ";", "default", ":", "return", "false", ";", "}", "}", ";", "for", "(", "auto", "OpIdx", ":", "enumerate", "(", "I", "->", "operands", "(", ")", ")", ")", "{", "if", "(", "!", "IsSinker", "(", "I", ",", "OpIdx", ".", "index", "(", ")", ")", ")", "continue", ";", "Instruction", "*", "Op", "=", "dyn_cast", "<", "Instruction", ">", "(", "OpIdx", ".", "value", "(", ")", ".", "get", "(", ")", ")", ";", "if", "(", "!", "Op", "||", "any_of", "(", "Ops", ",", "[", "&", "]", "(", "Use", "*", "U", ")", "{", "return", "U", "->", "get", "(", ")", "==", "Op", ";", "}", ")", ")", "continue", ";", "if", "(", "!", "match", "(", "Op", ",", "m_Shuffle", "(", "m_InsertElt", "(", "m_Undef", "(", ")", ",", "m_Value", "(", ")", ",", "m_ZeroInt", "(", ")", ")", ",", "m_Undef", "(", ")", ",", "m_ZeroMask", "(", ")", ")", ")", ")", "continue", ";", "for", "(", "Use", "&", "U", ":", "Op", "->", "uses", "(", ")", ")", "{", "Instruction", "*", "Insn", "=", "cast", "<", "Instruction", ">", "(", "U", ".", "getUser", "(", ")", ")", ";", "if", "(", "!", "IsSinker", "(", "Insn", ",", "U", ".", "getOperandNo", "(", ")", ")", ")", "return", "false", ";", "}", "Ops", ".", "push_back", "(", "&", "Op", "->", "getOperandUse", "(", "0", ")", ")", ";", "Ops", ".", "push_back", "(", "&", "OpIdx", ".", "value", "(", ")", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "sinking", "I", "'s", "operands", "to", "the", "same", "basic", "block", "as", "I", "is", "profitable", ",", "e.g", "."], "TS_V_token": ["RISCV", "RISCV", "1", "Intrinsic::fma", "0", "1", "0"], "File": "RISCVISelLowering60", "Func": "shouldSinkOperands", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 797, "Length": 387, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCInst", "&", "Res", ")", "const", "override", "{", "llvm_unreachable", "(", "\"RISCVAsmBackend::relaxInstruction() unimplemented\"", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["RISCV", "\"RISCVAsmBackend::relaxInstruction() unimplemented\""], "File": "RISCVAsmBackend18", "Func": "relaxInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 798, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixup", "*", "RISCVMCExpr", "::", "getPCRelHiFixup", "(", "const", "MCFragment", "*", "*", "DFOut", ")", "const", "{", "MCValue", "AUIPCLoc", ";", "if", "(", "!", "getSubExpr", "(", ")", "->", "evaluateAsRelocatable", "(", "AUIPCLoc", ",", "nullptr", ",", "nullptr", ")", ")", "return", "nullptr", ";", "const", "MCSymbolRefExpr", "*", "AUIPCSRE", "=", "AUIPCLoc", ".", "getSymA", "(", ")", ";", "if", "(", "!", "AUIPCSRE", ")", "return", "nullptr", ";", "const", "MCSymbol", "*", "AUIPCSymbol", "=", "&", "AUIPCSRE", "->", "getSymbol", "(", ")", ";", "const", "auto", "*", "DF", "=", "dyn_cast_or_null", "<", "MCDataFragment", ">", "(", "AUIPCSymbol", "->", "getFragment", "(", ")", ")", ";", "if", "(", "!", "DF", ")", "return", "nullptr", ";", "uint64_t", "Offset", "=", "AUIPCSymbol", "->", "getOffset", "(", ")", ";", "if", "(", "DF", "->", "getContents", "(", ")", ".", "size", "(", ")", "==", "Offset", ")", "{", "DF", "=", "dyn_cast_or_null", "<", "MCDataFragment", ">", "(", "DF", "->", "getNextNode", "(", ")", ")", ";", "if", "(", "!", "DF", ")", "return", "nullptr", ";", "Offset", "=", "0", ";", "}", "for", "(", "const", "MCFixup", "&", "F", ":", "DF", "->", "getFixups", "(", ")", ")", "{", "if", "(", "F", ".", "getOffset", "(", ")", "!=", "Offset", ")", "continue", ";", "switch", "(", "(", "unsigned", ")", "F", ".", "getKind", "(", ")", ")", "{", "default", ":", "continue", ";", "case", "RISCV", "::", "fixup_riscv_got_hi20", ":", "case", "RISCV", "::", "fixup_riscv_tls_got_hi20", ":", "case", "RISCV", "::", "fixup_riscv_tls_gd_hi20", ":", "case", "RISCV", "::", "fixup_riscv_pcrel_hi20", ":", "case", "RISCV", "::", "fixup_riscv_captab_pcrel_hi20", ":", "case", "RISCV", "::", "fixup_riscv_tls_ie_captab_pcrel_hi20", ":", "case", "RISCV", "::", "fixup_riscv_tls_gd_captab_pcrel_hi20", ":", "if", "(", "DFOut", ")", "*", "DFOut", "=", "DF", ";", "return", "&", "F", ";", "}", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["Get", "the", "corresponding", "PC-relative", "HI", "fixup", "that", "a", "VK_RISCV_PCREL_LO", "points", "to", ",", "and", "optionally", "the", "fragment", "containing", "it", "."], "TS_V_token": ["RISCV", "RISCV", "0", "RISCV::fixup_riscv_got_hi20", "RISCV::fixup_riscv_tls_got_hi20", "RISCV::fixup_riscv_tls_gd_hi20", "RISCV::fixup_riscv_pcrel_hi20", "RISCV::fixup_riscv_captab_pcrel_hi20", "RISCV::fixup_riscv_tls_ie_captab_pcrel_hi20", "RISCV::fixup_riscv_tls_gd_captab_pcrel_hi20"], "File": "RISCVMCExpr12", "Func": "getPCRelHiFixup", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 799, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_v_adjust_scalable_frame", "(", "rtx", "target", ",", "poly_int64", "offset", ",", "bool", "epilogue", ")", "{", "rtx", "tmp", "=", "RISCV_PROLOGUE_TEMP", "(", "Pmode", ")", ";", "rtx", "adjust_size", "=", "RISCV_PROLOGUE_TEMP2", "(", "Pmode", ")", ";", "rtx", "insn", ",", "dwarf", ",", "adjust_frame_rtx", ";", "riscv_legitimize_poly_move", "(", "Pmode", ",", "adjust_size", ",", "tmp", ",", "gen_int_mode", "(", "offset", ",", "Pmode", ")", ")", ";", "if", "(", "epilogue", ")", "insn", "=", "gen_add3_insn", "(", "target", ",", "target", ",", "adjust_size", ")", ";", "else", "insn", "=", "gen_sub3_insn", "(", "target", ",", "target", ",", "adjust_size", ")", ";", "insn", "=", "emit_insn", "(", "insn", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "adjust_frame_rtx", "=", "gen_rtx_SET", "(", "target", ",", "plus_constant", "(", "Pmode", ",", "target", ",", "epilogue", "?", "offset", ":", "-", "offset", ")", ")", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_FRAME_RELATED_EXPR", ",", "copy_rtx", "(", "adjust_frame_rtx", ")", ",", "NULL_RTX", ")", ";", "REG_NOTES", "(", "insn", ")", "=", "dwarf", ";", "}", ""], "natrual_language": ["Adjust", "scalable", "frame", "of", "vector", "for", "prologue", "&", "&", "epilogue", "."], "TS_V_token": ["riscv", "1"], "File": "riscv1", "Func": "riscv_v_adjust_scalable_frame", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 800, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "riscv_extend_cost", "(", "rtx", "op", ",", "bool", "unsigned_p", ")", "{", "if", "(", "MEM_P", "(", "op", ")", ")", "return", "0", ";", "if", "(", "unsigned_p", "&&", "GET_MODE", "(", "op", ")", "==", "QImode", ")", "return", "COSTS_N_INSNS", "(", "1", ")", ";", "if", "(", "TARGET_ZBA", "&&", "TARGET_64BIT", "&&", "unsigned_p", "&&", "GET_MODE", "(", "op", ")", "==", "SImode", ")", "return", "COSTS_N_INSNS", "(", "1", ")", ";", "if", "(", "TARGET_ZBB", ")", "{", "if", "(", "!", "unsigned_p", "&&", "GET_MODE", "(", "op", ")", "==", "QImode", ")", "return", "COSTS_N_INSNS", "(", "1", ")", ";", "if", "(", "GET_MODE", "(", "op", ")", "==", "HImode", ")", "return", "COSTS_N_INSNS", "(", "1", ")", ";", "}", "if", "(", "!", "unsigned_p", "&&", "GET_MODE", "(", "op", ")", "==", "SImode", ")", "return", "COSTS_N_INSNS", "(", "1", ")", ";", "return", "COSTS_N_INSNS", "(", "2", ")", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "sign-", "or", "zero-extending", "OP", "."], "TS_V_token": ["riscv", "0", "1", "1", "1", "1", "1", "2"], "File": "riscv", "Func": "riscv_extend_cost", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 801, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVInstrInfo", "::", "isBranchOffsetInRange", "(", "unsigned", "BranchOp", ",", "int64_t", "BrOffset", ")", "const", "{", "unsigned", "XLen", "=", "STI", ".", "getXLen", "(", ")", ";", "switch", "(", "BranchOp", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected opcode!\"", ")", ";", "case", "RISCV", "::", "BEQ", ":", "case", "RISCV", "::", "BNE", ":", "case", "RISCV", "::", "BLT", ":", "case", "RISCV", "::", "BGE", ":", "case", "RISCV", "::", "BLTU", ":", "case", "RISCV", "::", "BGEU", ":", "case", "RISCV", "::", "CV_BEQIMM", ":", "case", "RISCV", "::", "CV_BNEIMM", ":", "return", "isIntN", "(", "13", ",", "BrOffset", ")", ";", "case", "RISCV", "::", "JAL", ":", "case", "RISCV", "::", "PseudoBR", ":", "return", "isIntN", "(", "21", ",", "BrOffset", ")", ";", "case", "RISCV", "::", "PseudoJump", ":", "return", "isIntN", "(", "32", ",", "SignExtend64", "(", "BrOffset", "+", "0x800", ",", "XLen", ")", ")", ";", "case", "RISCV", "::", "HwlpBranch", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Determine", "if", "the", "branch", "target", "is", "in", "range", "."], "TS_V_token": ["RISCV", "RISCV", "\"Unexpected opcode!\"", "RISCV::BEQ", "RISCV::BNE", "RISCV::BLT", "RISCV::BGE", "RISCV::BLTU", "RISCV::BGEU", "RISCV::CV_BEQIMM", "RISCV::CV_BNEIMM", "13", "RISCV::JAL", "RISCV::PseudoBR", "21", "RISCV::PseudoJump", "32", "0x800", "RISCV::HwlpBranch"], "File": "RISCVInstrInfo2", "Func": "isBranchOffsetInRange", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 802, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "RISCVTargetLowering", "::", "emitMaskedAtomicRMWIntrinsic", "(", "IRBuilder", "<", ">", "&", "Builder", ",", "AtomicRMWInst", "*", "AI", ",", "Value", "*", "AlignedAddr", ",", "Value", "*", "Incr", ",", "Value", "*", "Mask", ",", "Value", "*", "ShiftAmt", ",", "AtomicOrdering", "Ord", ")", "const", "{", "Value", "*", "Ordering", "=", "Builder", ".", "getInt32", "(", "static_cast", "<", "uint32_t", ">", "(", "AI", "->", "getOrdering", "(", ")", ")", ")", ";", "Type", "*", "Tys", "[", "]", "=", "{", "AlignedAddr", "->", "getType", "(", ")", "}", ";", "Function", "*", "LrwOpScwLoop", "=", "Intrinsic", "::", "getDeclaration", "(", "AI", "->", "getModule", "(", ")", ",", "getIntrinsicForMaskedAtomicRMWBinOp32", "(", "AI", "->", "getOperation", "(", ")", ")", ",", "Tys", ")", ";", "if", "(", "AI", "->", "getOperation", "(", ")", "==", "AtomicRMWInst", "::", "Min", "||", "AI", "->", "getOperation", "(", ")", "==", "AtomicRMWInst", "::", "Max", ")", "{", "const", "DataLayout", "&", "DL", "=", "AI", "->", "getModule", "(", ")", "->", "getDataLayout", "(", ")", ";", "unsigned", "ValWidth", "=", "DL", ".", "getTypeStoreSizeInBits", "(", "AI", "->", "getValOperand", "(", ")", "->", "getType", "(", ")", ")", ";", "Value", "*", "SextShamt", "=", "Builder", ".", "CreateSub", "(", "Builder", ".", "getInt32", "(", "Subtarget", ".", "getXLen", "(", ")", "-", "ValWidth", ")", ",", "ShiftAmt", ")", ";", "return", "Builder", ".", "CreateCall", "(", "LrwOpScwLoop", ",", "{", "AlignedAddr", ",", "Incr", ",", "Mask", ",", "SextShamt", ",", "Ordering", "}", ")", ";", "}", "return", "Builder", ".", "CreateCall", "(", "LrwOpScwLoop", ",", "{", "AlignedAddr", ",", "Incr", ",", "Mask", ",", "Ordering", "}", ")", ";", "}", ""], "natrual_language": ["Perform", "a", "masked", "atomicrmw", "using", "a", "target-specific", "intrinsic", "."], "TS_V_token": ["RISCV", "RISCV", "Intrinsic::getDeclaration"], "File": "RISCVISelLowering25", "Func": "emitMaskedAtomicRMWIntrinsic", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 803, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_print_operand", "(", "FILE", "*", "file", ",", "rtx", "op", ",", "int", "letter", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "op", ")", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "op", ")", ";", "switch", "(", "letter", ")", "{", "case", "'h'", ":", "if", "(", "code", "==", "HIGH", ")", "op", "=", "XEXP", "(", "op", ",", "0", ")", ";", "riscv_print_operand_reloc", "(", "file", ",", "op", ",", "true", ")", ";", "break", ";", "case", "'R'", ":", "riscv_print_operand_reloc", "(", "file", ",", "op", ",", "false", ")", ";", "break", ";", "case", "'C'", ":", "fputs", "(", "GET_RTX_NAME", "(", "code", ")", ",", "file", ")", ";", "break", ";", "case", "'A'", ":", "if", "(", "riscv_memmodel_needs_amo_acquire", "(", "(", "enum", "memmodel", ")", "INTVAL", "(", "op", ")", ")", ")", "fputs", "(", "\".aq\"", ",", "file", ")", ";", "break", ";", "case", "'F'", ":", "if", "(", "riscv_memmodel_needs_release_fence", "(", "(", "enum", "memmodel", ")", "INTVAL", "(", "op", ")", ")", ")", "fputs", "(", "\"fence iorw,ow; \"", ",", "file", ")", ";", "break", ";", "case", "'i'", ":", "if", "(", "code", "!=", "REG", ")", "fputs", "(", "\"i\"", ",", "file", ")", ";", "break", ";", "case", "'S'", ":", "{", "rtx", "newop", "=", "GEN_INT", "(", "ctz_hwi", "(", "INTVAL", "(", "op", ")", ")", ")", ";", "output_addr_const", "(", "file", ",", "newop", ")", ";", "break", ";", "}", "case", "'T'", ":", "{", "rtx", "newop", "=", "GEN_INT", "(", "ctz_hwi", "(", "~", "INTVAL", "(", "op", ")", ")", ")", ";", "output_addr_const", "(", "file", ",", "newop", ")", ";", "break", ";", "}", "default", ":", "switch", "(", "code", ")", "{", "case", "REG", ":", "if", "(", "letter", "&&", "letter", "!=", "'z'", ")", "output_operand_lossage", "(", "\"invalid use of '%%%c'\"", ",", "letter", ")", ";", "fprintf", "(", "file", ",", "\"%s\"", ",", "reg_names", "[", "REGNO", "(", "op", ")", "]", ")", ";", "break", ";", "case", "MEM", ":", "if", "(", "letter", "&&", "letter", "!=", "'z'", ")", "output_operand_lossage", "(", "\"invalid use of '%%%c'\"", ",", "letter", ")", ";", "else", "output_address", "(", "mode", ",", "XEXP", "(", "op", ",", "0", ")", ")", ";", "break", ";", "default", ":", "if", "(", "letter", "==", "'z'", "&&", "op", "==", "CONST0_RTX", "(", "GET_MODE", "(", "op", ")", ")", ")", "fputs", "(", "reg_names", "[", "GP_REG_FIRST", "]", ",", "file", ")", ";", "else", "if", "(", "letter", "&&", "letter", "!=", "'z'", ")", "output_operand_lossage", "(", "\"invalid use of '%%%c'\"", ",", "letter", ")", ";", "else", "output_addr_const", "(", "file", ",", "riscv_strip_unspec_address", "(", "op", ")", ")", ";", "break", ";", "}", "}", "}", ""], "natrual_language": ["Implement", "TARGET_PRINT_OPERAND", ".", "The", "RISCV-specific", "operand", "codes", "are", ":", "'", "h'", "Print", "the", "high-part", "relocation", "associated", "with", "OP", ",", "after", "stripping", "any", "outermost", "HIGH", ".", "'", "R'", "Print", "the", "low-part", "relocation", "associated", "with", "OP", ".", "'", "C'", "Print", "the", "integer", "branch", "condition", "for", "comparison", "OP", ".", "'", "A'", "Print", "the", "atomic", "operation", "suffix", "for", "memory", "model", "OP", ".", "'", "F'", "Print", "a", "FENCE", "if", "the", "memory", "model", "requires", "a", "release", ".", "'", "z'", "Print", "x0", "if", "OP", "is", "zero", ",", "otherwise", "print", "OP", "normally", "."], "TS_V_token": ["riscv", "0", "\".aq\"", "\"fence iorw,ow; \"", "\"i\"", "\"invalid use of '%%%c'\"", "\"%s\"", "\"invalid use of '%%%c'\"", "0", "\"invalid use of '%%%c'\""], "File": "riscv", "Func": "riscv_print_operand", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 804, "Length": 357, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "auto", "*", "RVFI", "=", "MF", ".", "getInfo", "<", "RISCVMachineFunctionInfo", ">", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "&", "RISCV", "::", "GPRRegClass", ";", "for", "(", "int", "FI", "=", "MFI", ".", "getObjectIndexBegin", "(", ")", ",", "EFI", "=", "MFI", ".", "getObjectIndexEnd", "(", ")", ";", "FI", "<", "EFI", ";", "FI", "++", ")", "{", "if", "(", "MFI", ".", "getStackID", "(", "FI", ")", "==", "TargetStackID", "::", "RISCVVector", "&&", "!", "MFI", ".", "isDeadObjectIndex", "(", "FI", ")", ")", "RVFI", "->", "setHasSpillVRs", "(", ")", ";", "}", "if", "(", "!", "isInt", "<", "11", ">", "(", "MFI", ".", "estimateStackSize", "(", "MF", ")", ")", ")", "{", "int", "RegScavFI", "=", "MFI", ".", "CreateStackObject", "(", "RegInfo", "->", "getSpillSize", "(", "*", "RC", ")", ",", "RegInfo", "->", "getSpillAlign", "(", "*", "RC", ")", ",", "false", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "RegScavFI", ")", ";", "}", "}", ""], "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::GPRRegClass", "RISCV", "11"], "File": "RISCVFrameLowering20", "Func": "processFunctionBeforeFrameFinalized", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 805, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "isZExtFree", "(", "SDValue", "Val", ",", "EVT", "VT2", ")", "const", "{", "if", "(", "auto", "*", "LD", "=", "dyn_cast", "<", "LoadSDNode", ">", "(", "Val", ")", ")", "{", "EVT", "MemVT", "=", "LD", "->", "getMemoryVT", "(", ")", ";", "if", "(", "(", "MemVT", "==", "MVT", "::", "i8", "||", "MemVT", "==", "MVT", "::", "i16", ")", "&&", "(", "LD", "->", "getExtensionType", "(", ")", "==", "ISD", "::", "NON_EXTLOAD", "||", "LD", "->", "getExtensionType", "(", ")", "==", "ISD", "::", "ZEXTLOAD", ")", ")", "return", "true", ";", "}", "return", "TargetLowering", "::", "isZExtFree", "(", "Val", ",", "VT2", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "zero-extending", "the", "specific", "node", "Val", "to", "type", "VT2", "is", "free", "(", "either", "because", "it", "'s", "implicitly", "zero-extended", "such", "as", "ARM", "ldrb", "/", "ldrh", "or", "because", "it", "'s", "folded", "such", "as", "X86", "zero-extending", "loads", ")", "."], "TS_V_token": ["RISCV", "RISCV", "MVT::i8", "MVT::i16", "ISD::NON_EXTLOAD", "ISD::ZEXTLOAD"], "File": "RISCVISelLowering20", "Func": "isZExtFree", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 806, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVInstrInfo", "::", "insertBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "TBB", ",", "MachineBasicBlock", "*", "FBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "const", "DebugLoc", "&", "DL", ",", "int", "*", "BytesAdded", ")", "const", "{", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "=", "0", ";", "assert", "(", "TBB", "&&", "\"InsertBranch must not be told to insert a fallthrough\"", ")", ";", "assert", "(", "(", "Cond", ".", "size", "(", ")", "==", "3", "||", "Cond", ".", "size", "(", ")", "==", "0", ")", "&&", "\"RISCV branch conditions have two components!\"", ")", ";", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "MachineInstr", "&", "MI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "RISCV", "::", "PseudoBR", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "getInstSizeInBytes", "(", "MI", ")", ";", "return", "1", ";", "}", "unsigned", "Opc", "=", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ";", "MachineInstr", "&", "CondMI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "Opc", ")", ")", ".", "add", "(", "Cond", "[", "1", "]", ")", ".", "add", "(", "Cond", "[", "2", "]", ")", ".", "addMBB", "(", "TBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "getInstSizeInBytes", "(", "CondMI", ")", ";", "if", "(", "!", "FBB", ")", "return", "1", ";", "MachineInstr", "&", "MI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "RISCV", "::", "PseudoBR", ")", ")", ".", "addMBB", "(", "FBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "getInstSizeInBytes", "(", "MI", ")", ";", "return", "2", ";", "}", ""], "natrual_language": ["Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "."], "TS_V_token": ["RISCV", "RISCV", "0", "\"InsertBranch must not be told to insert a fallthrough\"", "3", "0", "\"RISCV branch conditions have two components!\"", "RISCV::PseudoBR", "1", "0", "1", "2", "1", "RISCV::PseudoBR", "2"], "File": "RISCVInstrInfo", "Func": "insertBranch", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 807, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_legitimize_const_move", "(", "machine_mode", "mode", ",", "rtx", "dest", ",", "rtx", "src", ")", "{", "rtx", "base", ",", "offset", ";", "if", "(", "splittable_const_int_operand", "(", "src", ",", "mode", ")", ")", "{", "riscv_move_integer", "(", "dest", ",", "dest", ",", "INTVAL", "(", "src", ")", ",", "mode", ",", "FALSE", ")", ";", "return", ";", "}", "if", "(", "riscv_split_symbol", "(", "dest", ",", "src", ",", "MAX_MACHINE_MODE", ",", "&", "src", ",", "FALSE", ")", ")", "{", "riscv_emit_set", "(", "dest", ",", "src", ")", ";", "return", ";", "}", "if", "(", "riscv_tls_symbol_p", "(", "src", ")", ")", "{", "riscv_emit_move", "(", "dest", ",", "riscv_legitimize_tls_address", "(", "src", ")", ")", ";", "return", ";", "}", "split_const", "(", "src", ",", "&", "base", ",", "&", "offset", ")", ";", "if", "(", "offset", "!=", "const0_rtx", "&&", "(", "targetm", ".", "cannot_force_const_mem", "(", "mode", ",", "src", ")", "||", "can_create_pseudo_p", "(", ")", ")", ")", "{", "base", "=", "riscv_force_temporary", "(", "dest", ",", "base", ",", "FALSE", ")", ";", "riscv_emit_move", "(", "dest", ",", "riscv_add_offset", "(", "NULL", ",", "base", ",", "INTVAL", "(", "offset", ")", ")", ")", ";", "return", ";", "}", "src", "=", "force_const_mem", "(", "mode", ",", "src", ")", ";", "riscv_split_symbol", "(", "dest", ",", "XEXP", "(", "src", ",", "0", ")", ",", "mode", ",", "&", "XEXP", "(", "src", ",", "0", ")", ",", "FALSE", ")", ";", "riscv_emit_move", "(", "dest", ",", "src", ")", ";", "}", ""], "natrual_language": ["Subroutine", "of", "riscv_legitimize_move", ".", "Move", "constant", "SRC", "into", "register", "DEST", "given", "that", "SRC", "satisfies", "immediate_operand", "but", "does", "n't", "satisfy", "move_operand", "."], "TS_V_token": ["riscv", "0", "0"], "File": "riscv", "Func": "riscv_legitimize_const_move", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 808, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "riscv_legitimize_tls_address", "(", "rtx", "loc", ")", "{", "rtx", "dest", ",", "tp", ",", "tmp", ";", "enum", "tls_model", "model", "=", "SYMBOL_REF_TLS_MODEL", "(", "loc", ")", ";", "if", "(", "!", "flag_pic", ")", "model", "=", "TLS_MODEL_LOCAL_EXEC", ";", "switch", "(", "model", ")", "{", "case", "TLS_MODEL_LOCAL_DYNAMIC", ":", "case", "TLS_MODEL_GLOBAL_DYNAMIC", ":", "tmp", "=", "gen_rtx_REG", "(", "Pmode", ",", "GP_RETURN", ")", ";", "dest", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_libcall_block", "(", "riscv_call_tls_get_addr", "(", "loc", ",", "tmp", ")", ",", "dest", ",", "tmp", ",", "loc", ")", ";", "break", ";", "case", "TLS_MODEL_INITIAL_EXEC", ":", "tp", "=", "gen_rtx_REG", "(", "Pmode", ",", "THREAD_POINTER_REGNUM", ")", ";", "tmp", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "riscv_got_load_tls_ie", "(", "tmp", ",", "loc", ")", ")", ";", "dest", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "dest", ",", "tmp", ",", "tp", ")", ")", ";", "break", ";", "case", "TLS_MODEL_LOCAL_EXEC", ":", "tmp", "=", "riscv_unspec_offset_high", "(", "NULL", ",", "loc", ",", "SYMBOL_TLS_LE", ")", ";", "dest", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "riscv_tls_add_tp_le", "(", "dest", ",", "tmp", ",", "loc", ")", ")", ";", "dest", "=", "gen_rtx_LO_SUM", "(", "Pmode", ",", "dest", ",", "riscv_unspec_address", "(", "loc", ",", "SYMBOL_TLS_LE", ")", ")", ";", "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": ["riscv"], "File": "riscv", "Func": "riscv_legitimize_tls_address", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 809, "Length": 190, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVTargetStreamer", "::", "finish", "(", ")", "{", "finishAttributeSection", "(", ")", ";", "}", ""], "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": ["RISCV", "RISCV"], "File": "RISCVTargetStreamer (2)", "Func": "finish", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 810, "Length": 12, "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": 811, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_legitimate_constant_p", "(", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ")", "{", "return", "riscv_const_insns", "(", "x", ")", ">", "0", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LEGITIMATE_CONSTANT_P", "."], "TS_V_token": ["riscv", "0"], "File": "riscv2", "Func": "riscv_legitimate_constant_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 812, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "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", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "Outs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "MVT", "VT", "=", "Outs", "[", "i", "]", ".", "VT", ";", "ISD", "::", "ArgFlagsTy", "ArgFlags", "=", "Outs", "[", "i", "]", ".", "Flags", ";", "if", "(", "CC_RISCV", "(", "MF", ".", "getDataLayout", "(", ")", ",", "i", ",", "VT", ",", "VT", ",", "CCValAssign", "::", "Full", ",", "ArgFlags", ",", "CCInfo", ",", "true", ",", "true", ",", "nullptr", ")", ")", "return", "false", ";", "}", "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": ["RISCV", "RISCV", "ISD::OutputArg", "16", "0", "ISD::ArgFlagsTy", "RISCV"], "File": "RISCVISelLowering", "Func": "CanLowerReturn", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 813, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "COREV_HWLP_BLOCKS_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["RISCV"], "File": "RISCVCoreVHwlpBlocks", "Func": "getPassName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 814, "Length": 11, "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", ")", "+", "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": "RISCVRegisterInfo19", "Func": "eliminateFrameIndex", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 815, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_leaf_function_p", "(", "void", ")", "{", "if", "(", "cfun", "->", "machine", "->", "is_leaf", "==", "0", ")", "cfun", "->", "machine", "->", "is_leaf", "=", "leaf_function_p", "(", ")", "?", "1", ":", "-", "1", ";", "return", "cfun", "->", "machine", "->", "is_leaf", ">", "0", ";", "}", ""], "natrual_language": ["Return", "leaf_function_p", "(", ")", "and", "memoize", "the", "result", "."], "TS_V_token": ["riscv", "0", "1", "1", "0"], "File": "riscv2", "Func": "riscv_leaf_function_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 816, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "riscv_split_symbol", "(", "rtx", "temp", ",", "rtx", "addr", ",", "machine_mode", "mode", ",", "rtx", "*", "low_out", ",", "bool", "in_splitter", ")", "{", "enum", "riscv_symbol_type", "symbol_type", ";", "if", "(", "(", "GET_CODE", "(", "addr", ")", "==", "HIGH", "&&", "mode", "==", "MAX_MACHINE_MODE", ")", "||", "!", "riscv_symbolic_constant_p", "(", "addr", ",", "&", "symbol_type", ")", "||", "riscv_symbol_insns", "(", "symbol_type", ")", "==", "0", "||", "!", "riscv_split_symbol_type", "(", "symbol_type", ")", ")", "return", "false", ";", "if", "(", "low_out", ")", "switch", "(", "symbol_type", ")", "{", "case", "SYMBOL_ABSOLUTE", ":", "{", "rtx", "high", "=", "gen_rtx_HIGH", "(", "Pmode", ",", "copy_rtx", "(", "addr", ")", ")", ";", "high", "=", "riscv_force_temporary", "(", "temp", ",", "high", ",", "in_splitter", ")", ";", "*", "low_out", "=", "gen_rtx_LO_SUM", "(", "Pmode", ",", "high", ",", "addr", ")", ";", "}", "break", ";", "case", "SYMBOL_PCREL", ":", "{", "static", "unsigned", "seqno", ";", "char", "buf", "[", "32", "]", ";", "rtx", "label", ";", "ssize_t", "bytes", "=", "snprintf", "(", "buf", ",", "sizeof", "(", "buf", ")", ",", "\".LA%u\"", ",", "seqno", ")", ";", "gcc_assert", "(", "(", "size_t", ")", "bytes", "<", "sizeof", "(", "buf", ")", ")", ";", "label", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "ggc_strdup", "(", "buf", ")", ")", ";", "SYMBOL_REF_FLAGS", "(", "label", ")", "|=", "SYMBOL_FLAG_LOCAL", ";", "if", "(", "!", "nonzero_address_p", "(", "addr", ")", ")", "SYMBOL_REF_WEAK", "(", "label", ")", "=", "1", ";", "if", "(", "temp", "==", "NULL", ")", "temp", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "if", "(", "Pmode", "==", "DImode", ")", "emit_insn", "(", "gen_auipcdi", "(", "temp", ",", "copy_rtx", "(", "addr", ")", ",", "GEN_INT", "(", "seqno", ")", ")", ")", ";", "else", "emit_insn", "(", "gen_auipcsi", "(", "temp", ",", "copy_rtx", "(", "addr", ")", ",", "GEN_INT", "(", "seqno", ")", ")", ")", ";", "*", "low_out", "=", "gen_rtx_LO_SUM", "(", "Pmode", ",", "temp", ",", "label", ")", ";", "seqno", "++", ";", "}", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["If", "MODE", "is", "MAX_MACHINE_MODE", ",", "ADDR", "appears", "as", "a", "move", "operand", ",", "otherwise", "it", "appears", "in", "a", "MEM", "of", "that", "mode", ".", "Return", "true", "if", "ADDR", "is", "a", "legitimate", "constant", "in", "that", "context", "and", "can", "be", "split", "into", "high", "and", "low", "parts", ".", "If", "so", ",", "and", "if", "LOW_OUT", "is", "nonnull", ",", "emit", "the", "high", "part", "and", "store", "the", "low", "part", "in", "*", "LOW_OUT", ".", "Leave", "*", "LOW_OUT", "unchanged", "otherwise", ".", "TEMP", "is", "as", "for", "riscv_force_temporary", "and", "is", "used", "to", "load", "the", "high", "part", "into", "a", "register", ".", "When", "MODE", "is", "MAX_MACHINE_MODE", ",", "the", "low", "part", "is", "guaranteed", "to", "be", "a", "legitimize", "SET_SRC", "for", "an", ".md", "pattern", ",", "otherwise", "the", "low", "part", "is", "guaranteed", "to", "be", "a", "legitimate", "address", "for", "mode", "MODE", "."], "TS_V_token": ["riscv", "0", "32", "\".LA%u\"", "1"], "File": "riscv", "Func": "riscv_split_symbol", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 817, "Length": 282, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "RISCVRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "RISCV", "::", "X8", ":", "RISCV", "::", "X2", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::X8", "RISCV::X2"], "File": "RISCVRegisterInfo1", "Func": "getFrameRegister", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 818, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "use_real_mask_p", "(", "enum", "predication_type_index", "pred", ")", "{", "return", "pred", "==", "PRED_TYPE_m", "||", "pred", "==", "PRED_TYPE_tum", "||", "pred", "==", "PRED_TYPE_tumu", "||", "pred", "==", "PRED_TYPE_mu", ";", "}", ""], "natrual_language": ["Return", "true", "if", "predication", "is", "using", "a", "real", "mask", "operand", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "use_real_mask_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 819, "Length": 27, "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": 820, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_save_restore_reg", "(", "enum", "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": "riscv2", "Func": "riscv_save_restore_reg", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 821, "Length": 50, "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": 822, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "pass_vsetvl", "::", "lazy_vsetvl", "(", "void", ")", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"\\nEntering Lazy VSETVL PASS and Handling %d basic blocks for \"", "\"function:%s\\n\"", ",", "n_basic_blocks_for_fn", "(", "cfun", ")", ",", "function_name", "(", "cfun", ")", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"\\nPhase 1: Compute local backward vector infos\\n\"", ")", ";", "for", "(", "const", "bb_info", "*", "bb", ":", "crtl", "->", "ssa", "->", "bbs", "(", ")", ")", "compute_local_backward_infos", "(", "bb", ")", ";", "if", "(", "dump_file", ")", "m_vector_manager", "->", "dump", "(", "dump_file", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"\\nPhase 2: Emit vsetvl instruction within each block\\n\"", ")", ";", "for", "(", "const", "bb_info", "*", "bb", ":", "crtl", "->", "ssa", "->", "bbs", "(", ")", ")", "emit_local_forward_vsetvls", "(", "bb", ")", ";", "if", "(", "dump_file", ")", "m_vector_manager", "->", "dump", "(", "dump_file", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"\\nPhase 3: Demands propagation across blocks\\n\"", ")", ";", "demand_fusion", "(", ")", ";", "if", "(", "dump_file", ")", "m_vector_manager", "->", "dump", "(", "dump_file", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"\\nPhase 4: PRE vsetvl by Lazy code motion (LCM)\\n\"", ")", ";", "pre_vsetvl", "(", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"\\nPhase 5: Cleanup AVL and VL operands\\n\"", ")", ";", "cleanup_insns", "(", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"\\nPhase 6: Rebuild RTL_SSA to propagate AVL between vsetvls\\n\"", ")", ";", "propagate_avl", "(", ")", ";", "}", ""], "natrual_language": ["Lazy", "vsetvl", "insertion", "for", "optimize", ">", "0", "."], "TS_V_token": ["riscv", "\"\\nEntering Lazy VSETVL PASS and Handling %d basic blocks for \"", "\"function:%s\\n\"", "\"\\nPhase 1: Compute local backward vector infos\\n\"", "\"\\nPhase 2: Emit vsetvl instruction within each block\\n\"", "\"\\nPhase 3: Demands propagation across blocks\\n\"", "\"\\nPhase 4: PRE vsetvl by Lazy code motion (LCM)\\n\"", "\"\\nPhase 5: Cleanup AVL and VL operands\\n\"", "\"\\nPhase 6: Rebuild RTL_SSA to propagate AVL between vsetvls\\n\""], "File": "riscv-vsetvl", "Func": "lazy_vsetvl", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 823, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "void", "function_expander", "::", "add_scalar_move_mask_operand", "(", "machine_mode", "mode", ")", "{", "add_input_operand", "(", "mode", ",", "gen_scalar_move_mask", "(", "mode", ")", ")", ";", "}", ""], "natrual_language": ["Add", "mask", "operand", "for", "scalar", "move", "instruction", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "add_scalar_move_mask_operand", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 824, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_for_each_saved_reg", "(", "HOST_WIDE_INT", "sp_offset", ",", "riscv_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", ")", ")", "{", "riscv_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", ";", "riscv_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": ["riscv"], "File": "riscv3", "Func": "riscv_for_each_saved_reg", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 825, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "RISCVTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "report_fatal_error", "(", "\"unimplemented operand\"", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "lowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "lowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "lowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "return", "lowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "lowerSELECT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "lowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "lowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "lowerRETURNADDR", "(", "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", "::", "BITCAST", ":", "{", "assert", "(", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Subtarget", ".", "hasStdExtF", "(", ")", "&&", "\"Unexpected custom legalisation\"", ")", ";", "SDLoc", "DL", "(", "Op", ")", ";", "SDValue", "Op0", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "if", "(", "Op", ".", "getValueType", "(", ")", "!=", "MVT", "::", "f32", "||", "Op0", ".", "getValueType", "(", ")", "!=", "MVT", "::", "i32", ")", "return", "SDValue", "(", ")", ";", "SDValue", "NewOp0", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ANY_EXTEND", ",", "DL", ",", "MVT", "::", "i64", ",", "Op0", ")", ";", "SDValue", "FPConv", "=", "DAG", ".", "getNode", "(", "RISCVISD", "::", "FMV_W_X_RV64", ",", "DL", ",", "MVT", "::", "f32", ",", "NewOp0", ")", ";", "return", "FPConv", ";", "}", "case", "ISD", "::", "EXTRACT_VECTOR_ELT", ":", "assert", "(", "Subtarget", ".", "hasStdExtP", "(", ")", "&&", "\"Unexpected custom legalisation\"", ")", ";", "return", "lowerVectorExtract", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INSERT_VECTOR_ELT", ":", "assert", "(", "Subtarget", ".", "hasStdExtP", "(", ")", "&&", "\"Unexpected custom legalisation\"", ")", ";", "return", "lowerVectorInsert", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BUILD_VECTOR", ":", "assert", "(", "Subtarget", ".", "hasStdExtP", "(", ")", "&&", "\"Unexpected custom legalisation\"", ")", ";", "return", "lowerVectorBuild", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["RISCV", "RISCV", "\"unimplemented operand\"", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::ConstantPool", "ISD::GlobalTLSAddress", "ISD::SELECT", "ISD::VASTART", "ISD::FRAMEADDR", "ISD::RETURNADDR", "ISD::SHL_PARTS", "ISD::SRA_PARTS", "ISD::SRL_PARTS", "ISD::BITCAST", "\"Unexpected custom legalisation\"", "0", "MVT::f32", "MVT::i32", "ISD::ANY_EXTEND", "MVT::i64", "RISCVISD::FMV_W_X_RV64", "MVT::f32", "ISD::EXTRACT_VECTOR_ELT", "\"Unexpected custom legalisation\"", "ISD::INSERT_VECTOR_ELT", "\"Unexpected custom legalisation\"", "ISD::BUILD_VECTOR", "\"Unexpected custom legalisation\""], "File": "RISCVISelLowering62", "Func": "LowerOperation", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 826, "Length": 361, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "RISCVRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "Reserved", ".", "set", "(", "RISCV", "::", "zero", ")", ";", "Reserved", ".", "set", "(", "RISCV", "::", "zero_64", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "{", "Reserved", ".", "set", "(", "RISCV", "::", "fp", ")", ";", "Reserved", ".", "set", "(", "RISCV", "::", "s0", ")", ";", "Reserved", ".", "set", "(", "RISCV", "::", "fp_64", ")", ";", "Reserved", ".", "set", "(", "RISCV", "::", "s0_64", ")", ";", "}", "Reserved", ".", "set", "(", "RISCV", "::", "sp", ")", ";", "Reserved", ".", "set", "(", "RISCV", "::", "sp_64", ")", ";", "Reserved", ".", "set", "(", "RISCV", "::", "tp", ")", ";", "Reserved", ".", "set", "(", "RISCV", "::", "tp_64", ")", ";", "Reserved", ".", "set", "(", "RISCV", "::", "gp", ")", ";", "Reserved", ".", "set", "(", "RISCV", "::", "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": ["RISCV", "RISCV", "RISCV::zero", "RISCV::zero_64", "RISCV::fp", "RISCV::s0", "RISCV::fp_64", "RISCV::s0_64", "RISCV::sp", "RISCV::sp_64", "RISCV::tp", "RISCV::tp_64", "RISCV::gp", "RISCV::gp_64"], "File": "RISCVRegisterInfo32", "Func": "getReservedRegs", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 827, "Length": 158, "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": 828, "Length": 367, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "bool", "function_base", "::", "apply_tail_policy_p", "(", ")", "const", "{", "return", "true", ";", "}", ""], "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", "Func": "apply_tail_policy_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 829, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVOperand", "::", "print", "(", "raw_ostream", "&", "OS", ")", "const", "{", "llvm_unreachable", "(", "\"Not implemented\"", ")", ";", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["RISCV", "RISCV", "\"Not implemented\""], "File": "RISCVAsmParser (2)1", "Func": "print", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 830, "Length": 17, "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", "::", "FCVT_W_RTZ_RV64", ":", "case", "RISCVISD", "::", "FCVT_WU_RTZ_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", ":", "if", "(", "Op", ".", "getOperand", "(", "0", ")", ".", "getScalarValueSizeInBits", "(", ")", ">", "Subtarget", ".", "getXLen", "(", ")", ")", "return", "1", ";", "return", "Subtarget", ".", "getXLen", "(", ")", "-", "Op", ".", "getOperand", "(", "0", ")", ".", "getScalarValueSizeInBits", "(", ")", "+", "1", ";", "}", "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::FCVT_W_RTZ_RV64", "RISCVISD::FCVT_WU_RTZ_RV64", "33", "RISCVISD::SHFL", "RISCVISD::UNSHFL", "MVT::i64", "1", "1", "0x10", "0", "0", "1", "32", "33", "RISCVISD::VMV_X_S", "0", "1", "0", "1", "1"], "File": "RISCVISelLowering1", "Func": "ComputeNumSignBitsForTargetNode", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 831, "Length": 331, "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": 832, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVELFTargetObjectFile", "::", "isConstantInSmallSection", "(", "const", "DataLayout", "&", "DL", ",", "const", "Constant", "*", "CN", ")", "const", "{", "return", "isInSmallSection", "(", "DL", ".", "getTypeAllocSize", "(", "CN", "->", "getType", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "constant", "should", "be", "placed", "into", "small", "data", "section", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVTargetObjectFile2", "Func": "isConstantInSmallSection", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 833, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVTargetLowering", "::", "getJumpTableEncoding", "(", ")", "const", "{", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", "&&", "!", "isPositionIndependent", "(", ")", "&&", "getTargetMachine", "(", ")", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Small", ")", "{", "return", "MachineJumpTableInfo", "::", "EK_Custom32", ";", "}", "return", "TargetLowering", "::", "getJumpTableEncoding", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "entry", "encoding", "for", "a", "jump", "table", "in", "the", "current", "function", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVISelLowering20", "Func": "getJumpTableEncoding", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 834, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "RISCVTTIImpl", "::", "getIntImmCostInst", "(", "unsigned", "Opcode", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ",", "Instruction", "*", "Inst", ")", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", "&&", "\"getIntImmCost can only estimate cost of materialising integers\"", ")", ";", "if", "(", "Imm", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "bool", "Takes12BitImm", "=", "false", ";", "unsigned", "ImmArgIdx", "=", "~", "0U", ";", "switch", "(", "Opcode", ")", "{", "case", "Instruction", "::", "GetElementPtr", ":", "return", "TTI", "::", "TCC_Free", ";", "case", "Instruction", "::", "Add", ":", "case", "Instruction", "::", "And", ":", "case", "Instruction", "::", "Or", ":", "case", "Instruction", "::", "Xor", ":", "case", "Instruction", "::", "Mul", ":", "Takes12BitImm", "=", "true", ";", "break", ";", "case", "Instruction", "::", "Sub", ":", "case", "Instruction", "::", "Shl", ":", "case", "Instruction", "::", "LShr", ":", "case", "Instruction", "::", "AShr", ":", "Takes12BitImm", "=", "true", ";", "ImmArgIdx", "=", "1", ";", "break", ";", "default", ":", "break", ";", "}", "if", "(", "Takes12BitImm", ")", "{", "if", "(", "Instruction", "::", "isCommutative", "(", "Opcode", ")", "||", "Idx", "==", "ImmArgIdx", ")", "{", "if", "(", "Imm", ".", "getMinSignedBits", "(", ")", "<=", "64", "&&", "getTLI", "(", ")", "->", "isLegalAddImmediate", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "{", "return", "TTI", "::", "TCC_Free", ";", "}", "}", "return", "getIntImmCost", "(", "Imm", ",", "Ty", ",", "CostKind", ")", ";", "}", "return", "TTI", "::", "TCC_Free", ";", "}", ""], "natrual_language": ["Return", "the", "expected", "cost", "of", "materialization", "for", "the", "given", "integer", "immediate", "of", "the", "specified", "type", "for", "a", "given", "instruction", "."], "TS_V_token": ["RISCV", "RISCV", "\"getIntImmCost can only estimate cost of materialising integers\"", "0", "0U", "1", "64"], "File": "RISCVTargetTransformInfo", "Func": "getIntImmCostInst", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 835, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "riscv_legitimize_move", "(", "machine_mode", "mode", ",", "rtx", "dest", ",", "rtx", "src", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_INT", "&&", "GET_MODE_SIZE", "(", "mode", ")", "<", "UNITS_PER_WORD", "&&", "can_create_pseudo_p", "(", ")", "&&", "MEM_P", "(", "src", ")", ")", "{", "rtx", "temp_reg", ";", "int", "zero_extend_p", ";", "temp_reg", "=", "gen_reg_rtx", "(", "word_mode", ")", ";", "zero_extend_p", "=", "(", "LOAD_EXTEND_OP", "(", "mode", ")", "==", "ZERO_EXTEND", ")", ";", "emit_insn", "(", "gen_extend_insn", "(", "temp_reg", ",", "src", ",", "word_mode", ",", "mode", ",", "zero_extend_p", ")", ")", ";", "riscv_emit_move", "(", "dest", ",", "gen_lowpart", "(", "mode", ",", "temp_reg", ")", ")", ";", "return", "true", ";", "}", "if", "(", "!", "register_operand", "(", "dest", ",", "mode", ")", "&&", "!", "reg_or_0_operand", "(", "src", ",", "mode", ")", ")", "{", "rtx", "reg", ";", "if", "(", "GET_CODE", "(", "src", ")", "==", "CONST_INT", ")", "{", "machine_mode", "promoted_mode", "=", "mode", ";", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_INT", "&&", "GET_MODE_SIZE", "(", "mode", ")", "<", "UNITS_PER_WORD", ")", "promoted_mode", "=", "word_mode", ";", "if", "(", "splittable_const_int_operand", "(", "src", ",", "mode", ")", ")", "{", "reg", "=", "gen_reg_rtx", "(", "promoted_mode", ")", ";", "riscv_move_integer", "(", "reg", ",", "reg", ",", "INTVAL", "(", "src", ")", ",", "mode", ",", "FALSE", ")", ";", "}", "else", "reg", "=", "force_reg", "(", "promoted_mode", ",", "src", ")", ";", "if", "(", "promoted_mode", "!=", "mode", ")", "reg", "=", "gen_lowpart", "(", "mode", ",", "reg", ")", ";", "}", "else", "reg", "=", "force_reg", "(", "mode", ",", "src", ")", ";", "riscv_emit_move", "(", "dest", ",", "reg", ")", ";", "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": "riscv", "Func": "riscv_legitimize_move", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 836, "Length": 366, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_classify_address", "(", "struct", "riscv_address_info", "*", "info", ",", "rtx", "x", ",", "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": "riscv3", "Func": "riscv_classify_address", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 837, "Length": 207, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "isLegalAddImmediate", "(", "int64_t", "Imm", ")", "const", "{", "return", "isInt", "<", "12", ">", "(", "Imm", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "immediate", "is", "legal", "add", "immediate", ",", "that", "is", "the", "target", "has", "add", "instructions", "which", "can", "add", "a", "register", "and", "the", "immediate", "without", "having", "to", "materialize", "the", "immediate", "into", "a", "register", "."], "TS_V_token": ["RISCV", "RISCV", "12"], "File": "RISCVISelLowering", "Func": "isLegalAddImmediate", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 838, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint8_t", "get_ratio", "(", ")", "const", "{", "return", "m_ratio", ";", "}", ""], "natrual_language": ["Get", "ratio", "according", "to", "machine", "mode", "."], "TS_V_token": ["riscv"], "File": "riscv-vsetvl", "Func": "get_ratio", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 839, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "RISCVTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "MBB", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "RISCV", "::", "SELECT_CC", ":", "case", "RISCV", "::", "SELECT_CC64", ":", "case", "RISCV", "::", "FSELECT_CC_F", ":", "case", "RISCV", "::", "FSELECT_CC_D", ":", "return", "emitSelectCC", "(", "MI", ",", "MBB", ")", ";", "case", "RISCV", "::", "CALL", ":", "case", "RISCV", "::", "CALLREG", ":", "case", "RISCV", "::", "CALL64", ":", "case", "RISCV", "::", "CALLREG64", ":", "return", "emitCALL", "(", "MI", ",", "MBB", ")", ";", "case", "RISCV", "::", "PEXTRACT_PSEUDO", ":", "case", "RISCV", "::", "PEXTRACT_PSEUDO_REV", ":", "return", "emitPEXTRACT", "(", "MI", ",", "MBB", ",", "false", ")", ";", "case", "RISCV", "::", "PEXTRACTU_PSEUDO", ":", "case", "RISCV", "::", "PEXTRACTU_PSEUDO_REV", ":", "return", "emitPEXTRACT", "(", "MI", ",", "MBB", ",", "true", ")", ";", "case", "RISCV", "::", "PINSERT_PSEUDO", ":", "return", "emitPINSERT", "(", "MI", ",", "MBB", ")", ";", "case", "RISCV", "::", "PBCLR_PSEUDO", ":", "return", "emitPBCLRSET", "(", "MI", ",", "MBB", ",", "false", ")", ";", "case", "RISCV", "::", "PBSET_PSEUDO", ":", "return", "emitPBCLRSET", "(", "MI", ",", "MBB", ",", "true", ")", ";", "case", "RISCV", "::", "PADDRN_PSEUDO", ":", "case", "RISCV", "::", "PADDURN_PSEUDO", ":", "case", "RISCV", "::", "PSUBRN_PSEUDO", ":", "case", "RISCV", "::", "PSUBURN_PSEUDO", ":", "return", "emitPRN", "(", "MI", ",", "MBB", ")", ";", "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": ["RISCV", "RISCV", "RISCV::SELECT_CC", "RISCV::SELECT_CC64", "RISCV::FSELECT_CC_F", "RISCV::FSELECT_CC_D", "RISCV::CALL", "RISCV::CALLREG", "RISCV::CALL64", "RISCV::CALLREG64", "RISCV::PEXTRACT_PSEUDO", "RISCV::PEXTRACT_PSEUDO_REV", "RISCV::PEXTRACTU_PSEUDO", "RISCV::PEXTRACTU_PSEUDO_REV", "RISCV::PINSERT_PSEUDO", "RISCV::PBCLR_PSEUDO", "RISCV::PBSET_PSEUDO", "RISCV::PADDRN_PSEUDO", "RISCV::PADDURN_PSEUDO", "RISCV::PSUBRN_PSEUDO", "RISCV::PSUBURN_PSEUDO", "\"Unexpected instr type to insert\""], "File": "RISCVISelLowering75", "Func": "EmitInstrWithCustomInserter", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 840, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_output_mi_thunk", "(", "FILE", "*", "file", ",", "tree", "thunk_fndecl", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", ",", "tree", "function", ")", "{", "rtx", "this_rtx", ",", "temp1", ",", "temp2", ",", "fnaddr", ";", "rtx_insn", "*", "insn", ";", "reload_completed", "=", "1", ";", "emit_note", "(", "NOTE_INSN_PROLOGUE_END", ")", ";", "fnaddr", "=", "gen_rtx_MEM", "(", "FUNCTION_MODE", ",", "XEXP", "(", "DECL_RTL", "(", "function", ")", ",", "0", ")", ")", ";", "temp1", "=", "gen_rtx_REG", "(", "Pmode", ",", "RISCV_PROLOGUE_TEMP_REGNUM", ")", ";", "temp2", "=", "gen_rtx_REG", "(", "Pmode", ",", "STATIC_CHAIN_REGNUM", ")", ";", "if", "(", "aggregate_value_p", "(", "TREE_TYPE", "(", "TREE_TYPE", "(", "function", ")", ")", ",", "function", ")", ")", "this_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "GP_ARG_FIRST", "+", "1", ")", ";", "else", "this_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "GP_ARG_FIRST", ")", ";", "if", "(", "delta", "!=", "0", ")", "{", "rtx", "offset", "=", "GEN_INT", "(", "delta", ")", ";", "if", "(", "!", "SMALL_OPERAND", "(", "delta", ")", ")", "{", "riscv_emit_move", "(", "temp1", ",", "offset", ")", ";", "offset", "=", "temp1", ";", "}", "emit_insn", "(", "gen_add3_insn", "(", "this_rtx", ",", "this_rtx", ",", "offset", ")", ")", ";", "}", "if", "(", "vcall_offset", "!=", "0", ")", "{", "rtx", "addr", ";", "riscv_emit_move", "(", "temp1", ",", "gen_rtx_MEM", "(", "Pmode", ",", "this_rtx", ")", ")", ";", "addr", "=", "riscv_add_offset", "(", "temp2", ",", "temp1", ",", "vcall_offset", ")", ";", "riscv_emit_move", "(", "temp1", ",", "gen_rtx_MEM", "(", "Pmode", ",", "addr", ")", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "this_rtx", ",", "this_rtx", ",", "temp1", ")", ")", ";", "}", "insn", "=", "emit_call_insn", "(", "gen_sibcall", "(", "fnaddr", ",", "const0_rtx", ",", "NULL", ",", "const0_rtx", ")", ")", ";", "SIBLING_CALL_P", "(", "insn", ")", "=", "1", ";", "insn", "=", "get_insns", "(", ")", ";", "split_all_insns_noflow", "(", ")", ";", "shorten_branches", "(", "insn", ")", ";", "final_start_function", "(", "insn", ",", "file", ",", "1", ")", ";", "final", "(", "insn", ",", "file", ",", "1", ")", ";", "final_end_function", "(", ")", ";", "reload_completed", "=", "0", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_OUTPUT_MI_THUNK", ".", "Generate", "rtl", "rather", "than", "asm", "text", "in", "order", "to", "avoid", "duplicating", "too", "much", "logic", "from", "elsewhere", "."], "TS_V_token": ["riscv", "1", "0", "1", "0", "0", "1", "1", "1", "0"], "File": "riscv2", "Func": "riscv_output_mi_thunk", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 841, "Length": 287, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "get_mask_policy_for_pred", "(", "enum", "predication_type_index", "pred", ")", "{", "if", "(", "pred", "==", "PRED_TYPE_tumu", "||", "pred", "==", "PRED_TYPE_mu", ")", "return", "gen_int_mode", "(", "MASK_UNDISTURBED", ",", "Pmode", ")", ";", "return", "gen_int_mode", "(", "get_prefer_mask_policy", "(", ")", ",", "Pmode", ")", ";", "}", ""], "natrual_language": ["Get", "MASK", "policy", "for", "predication", ".", "If", "predication", "indicates", "MU", ",", "return", "the", "MU", ".", "Otherwise", ",", "return", "the", "prefer", "default", "configuration", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "get_mask_policy_for_pred", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 842, "Length": 38, "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", ")", "{", "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", ".", "is64Bit", "(", ")", ")", ";", "int", "ShiftedC1Cost", "=", "RISCVMatInt", "::", "getIntMatCost", "(", "ShiftedC1Int", ",", "Ty", ".", "getSizeInBits", "(", ")", ",", "Subtarget", ".", "is64Bit", "(", ")", ")", ";", "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": "RISCVISelLowering11", "Func": "isDesirableToCommuteWithShift", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 843, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVDAGToDAGISel", "::", "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": ["RISCV", "RISCV"], "File": "RISCVISelDAGToDAG10", "Func": "SelectInlineAsmMemoryOperand", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 844, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "RISCVTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected instr type to insert\"", ")", ";", "case", "RISCV", "::", "Select_GPR_Using_CC_GPR", ":", "case", "RISCV", "::", "Select_FPR32_Using_CC_GPR", ":", "case", "RISCV", "::", "Select_FPR64_Using_CC_GPR", ":", "break", ";", "case", "RISCV", "::", "BuildPairF64Pseudo", ":", "return", "emitBuildPairF64Pseudo", "(", "MI", ",", "BB", ")", ";", "case", "RISCV", "::", "SplitF64Pseudo", ":", "return", "emitSplitF64Pseudo", "(", "MI", ",", "BB", ")", ";", "}", "const", "TargetInstrInfo", "&", "TII", "=", "*", "BB", "->", "getParent", "(", ")", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "DebugLoc", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "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", "\"Unexpected instr type to insert\"", "RISCV::Select_GPR_Using_CC_GPR", "RISCV::Select_FPR32_Using_CC_GPR", "RISCV::Select_FPR64_Using_CC_GPR", "RISCV::BuildPairF64Pseudo", "RISCV::SplitF64Pseudo", "1", "2", "ISD::CondCode", "3", "RISCV::PHI", "0", "4", "5"], "File": "RISCVISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 845, "Length": 412, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVFrameLowering", "::", "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", "(", ")", ";", "const", "char", "*", "SpillLibCall", "=", "getSpillLibCallName", "(", "*", "MF", ",", "CSI", ")", ";", "if", "(", "SpillLibCall", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "RISCV", "::", "PseudoCALLReg", ")", ",", "RISCV", "::", "X5", ")", ".", "addExternalSymbol", "(", "SpillLibCall", ",", "RISCVII", "::", "MO_CALL", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "for", "(", "auto", "&", "CS", ":", "CSI", ")", "MBB", ".", "addLiveIn", "(", "CS", ".", "getReg", "(", ")", ")", ";", "}", "const", "auto", "&", "NonLibcallCSI", "=", "getNonLibcallCSI", "(", "CSI", ")", ";", "for", "(", "auto", "&", "CS", ":", "NonLibcallCSI", ")", "{", "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": ["RISCV", "RISCV", "RISCV::PseudoCALLReg", "RISCV::X5", "RISCVII::MO_CALL"], "File": "RISCVFrameLowering", "Func": "spillCalleeSavedRegisters", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 846, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "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", "=", "RISCV", "::", "LW", ";", "else", "if", "(", "RISCV", "::", "FPR32RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "RISCV", "::", "FLW", ";", "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::LW", "RISCV::FPR32RegClass", "RISCV::FLW", "\"Can't load this register from stack slot\"", "0"], "File": "RISCVInstrInfo41", "Func": "loadRegFromStackSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 847, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ",", "bool", "ForCodeSize", ")", "const", "{", "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::f32", "MVT::f64"], "File": "RISCVISelLowering13", "Func": "isFPImmLegal", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 848, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmBackend", "::", "fixupNeedsRelaxationAdvanced", "(", "const", "MCFixup", "&", "Fixup", ",", "bool", "Resolved", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ",", "const", "bool", "WasForced", ")", "const", "{", "if", "(", "!", "Resolved", "&&", "!", "WasForced", ")", "return", "true", ";", "int64_t", "Offset", "=", "int64_t", "(", "Value", ")", ";", "switch", "(", "(", "unsigned", ")", "Fixup", ".", "getKind", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "RISCV", "::", "fixup_riscv_rvc_branch", ":", "return", "Offset", ">", "254", "||", "Offset", "<", "-", "256", ";", "case", "RISCV", "::", "fixup_riscv_rvc_jump", ":", "return", "Offset", ">", "2046", "||", "Offset", "<", "-", "2048", ";", "}", "}", ""], "natrual_language": ["Target", "specific", "predicate", "for", "whether", "a", "given", "fixup", "requires", "the", "associated", "instruction", "to", "be", "relaxed", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::fixup_riscv_rvc_branch", "254", "256", "RISCV::fixup_riscv_rvc_jump", "2046", "2048"], "File": "RISCVAsmBackend", "Func": "fixupNeedsRelaxationAdvanced", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 849, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isToken", "(", ")", "const", "override", "{", "return", "Kind", "==", "Token", ";", "}", ""], "natrual_language": ["isToken", "-", "Is", "this", "a", "token", "operand", "?"], "TS_V_token": ["RISCV"], "File": "RISCVAsmParser", "Func": "isToken", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 850, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "build_const_pointer", "(", "tree", "t", ")", "{", "return", "build_pointer_type", "(", "build_qualified_type", "(", "t", ",", "TYPE_QUAL_CONST", ")", ")", ";", "}", ""], "natrual_language": ["Return", "a", "representation", "of", "``", "const", "T", "*", "''", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "build_const_pointer", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 851, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "check", "(", "function_checker", "&", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Perform", "semantic", "checks", "on", "the", "call", ".", "Return", "true", "if", "the", "call", "is", "valid", ",", "otherwise", "report", "a", "suitable", "error", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "check", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 852, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "MachineLoopInfo", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["RISCV"], "File": "RISCVCoreVHwlpBlocks", "Func": "getAnalysisUsage", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 853, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "RISCVTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "report_fatal_error", "(", "\"unimplemented operand\"", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "lowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "lowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "lowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "return", "lowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "lowerSELECT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BUILD_VECTOR", ":", "return", "lowerBUILD_VECTOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EXTRACT_VECTOR_ELT", ":", "return", "lowerEXTRACT_VECTOR_ELT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INSERT_VECTOR_ELT", ":", "return", "lowerINSERT_VECTOR_ELT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "lowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "lowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "lowerRETURNADDR", "(", "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", "::", "BITCAST", ":", "{", "assert", "(", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Subtarget", ".", "hasStdExtF", "(", ")", "&&", "\"Unexpected custom legalisation\"", ")", ";", "SDLoc", "DL", "(", "Op", ")", ";", "SDValue", "Op0", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "if", "(", "Op", ".", "getValueType", "(", ")", "!=", "MVT", "::", "f32", "||", "Op0", ".", "getValueType", "(", ")", "!=", "MVT", "::", "i32", ")", "return", "SDValue", "(", ")", ";", "SDValue", "NewOp0", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ANY_EXTEND", ",", "DL", ",", "MVT", "::", "i64", ",", "Op0", ")", ";", "SDValue", "FPConv", "=", "DAG", ".", "getNode", "(", "RISCVISD", "::", "FMV_W_X_RV64", ",", "DL", ",", "MVT", "::", "f32", ",", "NewOp0", ")", ";", "return", "FPConv", ";", "}", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["RISCV", "RISCV", "\"unimplemented operand\"", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::ConstantPool", "ISD::GlobalTLSAddress", "ISD::SELECT", "ISD::BUILD_VECTOR", "ISD::EXTRACT_VECTOR_ELT", "ISD::INSERT_VECTOR_ELT", "ISD::VASTART", "ISD::FRAMEADDR", "ISD::RETURNADDR", "ISD::SHL_PARTS", "ISD::SRA_PARTS", "ISD::SRL_PARTS", "ISD::BITCAST", "\"Unexpected custom legalisation\"", "0", "MVT::f32", "MVT::i32", "ISD::ANY_EXTEND", "MVT::i64", "RISCVISD::FMV_W_X_RV64", "MVT::f32"], "File": "RISCVISelLowering49", "Func": "LowerOperation", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 854, "Length": 328, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstrInfo", "::", "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", "Opcode", ";", "if", "(", "RISCV", "::", "GPRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "TRI", "->", "getRegSizeInBits", "(", "RISCV", "::", "GPRRegClass", ")", "==", "32", "?", "RISCV", "::", "SW", ":", "RISCV", "::", "SD", ";", "else", "if", "(", "RISCV", "::", "GPRV64I8RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "RISCV", "::", "SDVI8", ";", "else", "if", "(", "RISCV", "::", "GPRV64I16RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "RISCV", "::", "SDVI16", ";", "else", "if", "(", "RISCV", "::", "GPRV64I32RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "RISCV", "::", "SDVI32", ";", "else", "if", "(", "RISCV", "::", "FPR32RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "RISCV", "::", "FSW", ";", "else", "if", "(", "RISCV", "::", "FPR64RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "RISCV", "::", "FSD", ";", "else", "llvm_unreachable", "(", "\"Can't store this register to stack slot\"", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opcode", ")", ")", ".", "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": ["RISCV", "RISCV", "RISCV::GPRRegClass", "RISCV::GPRRegClass", "32", "RISCV::SW", "RISCV::SD", "RISCV::GPRV64I8RegClass", "RISCV::SDVI8", "RISCV::GPRV64I16RegClass", "RISCV::SDVI16", "RISCV::GPRV64I32RegClass", "RISCV::SDVI32", "RISCV::FPR32RegClass", "RISCV::FSW", "RISCV::FPR64RegClass", "RISCV::FSD", "\"Can't store this register to stack slot\"", "0"], "File": "RISCVInstrInfo42", "Func": "storeRegToStackSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 855, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "riscv_can_use_return_insn", "(", "void", ")", "{", "return", "(", "reload_completed", "&&", "known_eq", "(", "cfun", "->", "machine", "->", "frame", ".", "total_size", ",", "0", ")", "&&", "!", "cfun", "->", "machine", "->", "interrupt_handler_p", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "this", "function", "is", "known", "to", "have", "a", "null", "epilogue", ".", "This", "allows", "the", "optimizer", "to", "omit", "jumps", "to", "jumps", "if", "no", "stack", "was", "created", "."], "TS_V_token": ["riscv", "0"], "File": "riscv1", "Func": "riscv_can_use_return_insn", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 856, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVTTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ",", "OptimizationRemarkEmitter", "*", "ORE", ")", "{", "bool", "UseDefaultPreferences", "=", "true", ";", "if", "(", "ST", "->", "getProcFamily", "(", ")", "==", "RISCVSubtarget", "::", "SiFive7", ")", "UseDefaultPreferences", "=", "false", ";", "if", "(", "UseDefaultPreferences", ")", "return", "BasicTTIImplBase", "::", "getUnrollingPreferences", "(", "L", ",", "SE", ",", "UP", ",", "ORE", ")", ";", "UP", ".", "UpperBound", "=", "true", ";", "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", "(", "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", "*", ">", "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", ".", "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": ["RISCV", "RISCV", "RISCV", "0", "0", "4", "\"Loop has:\\n\"", "\"Blocks: \"", "\"\\n\"", "\"Exit blocks: \"", "\"\\n\"", "2", "4", "\"llvm.loop.isvectorized\"", "0", "\"Cost of loop: \"", "\"\\n\"", "60", "12"], "File": "RISCVTargetTransformInfo3", "Func": "getUnrollingPreferences", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 857, "Length": 361, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVTargetLowering", "::", "AdjustInstrPostInstrSelection", "(", "MachineInstr", "&", "MI", ",", "SDNode", "*", "Node", ")", "const", "{", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "auto", "Idx", "=", "RISCV", "::", "getNamedOperandIdx", "(", "Opc", ",", "RISCV", "::", "OpName", "::", "frm", ")", ";", "if", "(", "Idx", "<", "0", ")", "return", ";", "if", "(", "MI", ".", "getOperand", "(", "Idx", ")", ".", "getImm", "(", ")", "!=", "RISCVFPRndMode", "::", "DYN", ")", "return", ";", "if", "(", "MI", ".", "readsRegister", "(", "RISCV", "::", "FRM", ")", ")", "return", ";", "MI", ".", "addOperand", "(", "MachineOperand", "::", "CreateReg", "(", "RISCV", "::", "FRM", ",", "false", ",", "true", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'hasPostISelHook", "'", "flag", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::getNamedOperandIdx", "RISCV::OpName", "0", "RISCVFPRndMode::DYN", "RISCV::FRM", "RISCV::FRM"], "File": "RISCVISelLowering20", "Func": "AdjustInstrPostInstrSelection", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 858, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "RISCVAsmBackend", "::", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "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", "|", "MCFixupKindInfo", "::", "FKF_IsTarget", "}", ",", "{", "\"fixup_riscv_pcrel_lo12_i\"", ",", "20", ",", "12", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "|", "MCFixupKindInfo", "::", "FKF_IsTarget", "}", ",", "{", "\"fixup_riscv_pcrel_lo12_s\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "|", "MCFixupKindInfo", "::", "FKF_IsTarget", "}", ",", "{", "\"fixup_riscv_got_hi20\"", ",", "12", ",", "20", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_riscv_tprel_hi20\"", ",", "12", ",", "20", ",", "0", "}", ",", "{", "\"fixup_riscv_tprel_lo12_i\"", ",", "20", ",", "12", ",", "0", "}", ",", "{", "\"fixup_riscv_tprel_lo12_s\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_riscv_tprel_add\"", ",", "0", ",", "0", ",", "0", "}", ",", "{", "\"fixup_riscv_tls_got_hi20\"", ",", "12", ",", "20", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_riscv_tls_gd_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_call_plt\"", ",", "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", ">=", "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": ["RISCV", "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_tprel_hi20\"", "12", "20", "0", "\"fixup_riscv_tprel_lo12_i\"", "20", "12", "0", "\"fixup_riscv_tprel_lo12_s\"", "0", "32", "0", "\"fixup_riscv_tprel_add\"", "0", "0", "0", "\"fixup_riscv_tls_got_hi20\"", "12", "20", "\"fixup_riscv_tls_gd_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_call_plt\"", "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": "RISCVAsmBackend30", "Func": "getFixupKindInfo", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 859, "Length": 336, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBankInfo", "*", "RISCVSubtarget", "::", "getRegBankInfo", "(", ")", "const", "{", "return", "RegBankInfo", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["If", "the", "information", "for", "the", "register", "banks", "is", "available", ",", "return", "it", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVSubtarget", "Func": "getRegBankInfo", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 860, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "RISCVInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "RISCVInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "const", "RISCVSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "int64_t", "Amount", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "RISCV", "::", "ADJCALLSTACKDOWN", ")", "Amount", "=", "-", "Amount", ";", "unsigned", "SP", "=", "STI", ".", "isRV64", "(", ")", "?", "RISCV", "::", "sp_64", ":", "RISCV", "::", "sp", ";", "TII", ".", "adjustStackPtr", "(", "SP", ",", "Amount", ",", "MBB", ",", "I", ")", ";", "}", "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": ["RISCV", "RISCV", "RISCV", "RISCV", "RISCV", "RISCV", "0", "RISCV::ADJCALLSTACKDOWN", "RISCV::sp_64", "RISCV::sp"], "File": "RISCVFrameLowering (2)1", "Func": "eliminateCallFramePseudoInstr", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 861, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVPassConfig", "::", "addPreEmitPass2", "(", ")", "{", "addPass", "(", "createRISCVExpandPseudoPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createRISCVPulpHWLoopsPass", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["Targets", "may", "add", "passes", "immediately", "before", "machine", "code", "is", "emitted", "in", "this", "callback", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCV"], "File": "RISCVTargetMachine39", "Func": "addPreEmitPass2", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 862, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "riscv_d_register_target_info", "(", "void", ")", "{", "const", "struct", "d_target_info_spec", "handlers", "[", "]", "=", "{", "{", "\"floatAbi\"", ",", "riscv_d_handle_target_float_abi", "}", ",", "{", "NULL", ",", "NULL", "}", ",", "}", ";", "d_add_target_info_handlers", "(", "handlers", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_D_REGISTER_CPU_TARGET_INFO", "."], "TS_V_token": ["riscv", "\"floatAbi\""], "File": "riscv-d", "Func": "riscv_d_register_target_info", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 863, "Length": 34, "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": 864, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "RISCVRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "return", "CSR_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVRegisterInfo22", "Func": "getCalleeSavedRegs", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 865, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "riscv_expand_float_scc", "(", "rtx", "target", ",", "enum", "rtx_code", "code", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "riscv_emit_float_compare", "(", "&", "code", ",", "&", "op0", ",", "&", "op1", ")", ";", "rtx", "cmp", "=", "riscv_force_binary", "(", "word_mode", ",", "code", ",", "op0", ",", "op1", ")", ";", "riscv_emit_set", "(", "target", ",", "lowpart_subreg", "(", "SImode", ",", "cmp", ",", "word_mode", ")", ")", ";", "}", ""], "natrual_language": ["Like", "riscv_expand_int_scc", ",", "but", "for", "floating-point", "comparisons", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_expand_float_scc", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 866, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "RISCV", "::", "LB", ":", "case", "RISCV", "::", "LBU", ":", "case", "RISCV", "::", "LH", ":", "case", "RISCV", "::", "LHU", ":", "case", "RISCV", "::", "LW", ":", "case", "RISCV", "::", "FLW", ":", "case", "RISCV", "::", "LWU", ":", "case", "RISCV", "::", "LD", ":", "case", "RISCV", "::", "FLD", ":", "break", ";", "}", "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": ["RISCV", "RISCV", "0", "RISCV::LB", "RISCV::LBU", "RISCV::LH", "RISCV::LHU", "RISCV::LW", "RISCV::FLW", "RISCV::LWU", "RISCV::LD", "RISCV::FLD", "1", "2", "2", "0", "1", "0", "0"], "File": "RISCVInstrInfo", "Func": "isLoadFromStackSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 867, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVTargetLowering", "::", "LowerAsmOperandForConstraint", "(", "SDValue", "Op", ",", "std", "::", "string", "&", "Constraint", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "Ops", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "Constraint", ".", "length", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'I'", ":", "if", "(", "auto", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "uint64_t", "CVal", "=", "C", "->", "getSExtValue", "(", ")", ";", "if", "(", "isInt", "<", "12", ">", "(", "CVal", ")", ")", "Ops", ".", "push_back", "(", "DAG", ".", "getTargetConstant", "(", "CVal", ",", "SDLoc", "(", "Op", ")", ",", "Subtarget", ".", "getXLenVT", "(", ")", ")", ")", ";", "}", "return", ";", "case", "'J'", ":", "if", "(", "auto", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "if", "(", "C", "->", "getZExtValue", "(", ")", "==", "0", ")", "Ops", ".", "push_back", "(", "DAG", ".", "getTargetConstant", "(", "0", ",", "SDLoc", "(", "Op", ")", ",", "Subtarget", ".", "getXLenVT", "(", ")", ")", ")", ";", "return", ";", "case", "'K'", ":", "if", "(", "auto", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "uint64_t", "CVal", "=", "C", "->", "getZExtValue", "(", ")", ";", "if", "(", "isUInt", "<", "5", ">", "(", "CVal", ")", ")", "Ops", ".", "push_back", "(", "DAG", ".", "getTargetConstant", "(", "CVal", ",", "SDLoc", "(", "Op", ")", ",", "Subtarget", ".", "getXLenVT", "(", ")", ")", ")", ";", "}", "return", ";", "default", ":", "break", ";", "}", "}", "TargetLowering", "::", "LowerAsmOperandForConstraint", "(", "Op", ",", "Constraint", ",", "Ops", ",", "DAG", ")", ";", "}", ""], "natrual_language": ["Lower", "the", "specified", "operand", "into", "the", "Ops", "vector", "."], "TS_V_token": ["RISCV", "RISCV", "1", "0", "12", "0", "0", "5"], "File": "RISCVISelLowering11", "Func": "LowerAsmOperandForConstraint", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 868, "Length": 246, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "RISCVTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "report_fatal_error", "(", "\"unimplemented operand\"", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "lowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "lowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "lowerSELECT", "(", "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": ["RISCV", "RISCV", "\"unimplemented operand\"", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::SELECT", "ISD::VASTART", "ISD::FRAMEADDR", "ISD::RETURNADDR"], "File": "RISCVISelLowering17", "Func": "LowerOperation", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 869, "Length": 110, "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", "{", "MCContext", "&", "Ctx", "=", "Asm", ".", "getContext", "(", ")", ";", "MCFixupKindInfo", "Info", "=", "getFixupKindInfo", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "Value", "<<=", "Info", ".", "TargetOffset", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "FullSize", "=", "getSize", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "unsigned", "NumBytes", "=", "(", "Info", ".", "TargetSize", "+", "7", ")", "/", "8", ";", "assert", "(", "Offset", "+", "NumBytes", "<=", "Data", ".", "size", "(", ")", "&&", "\"Invalid fixup offset!\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "FullSize", ";", "++", "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": ["RISCV", "RISCV", "7", "8", "\"Invalid fixup offset!\"", "0", "8", "0xff"], "File": "RISCVAsmBackend28", "Func": "applyFixup", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 870, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "vector_insn_info", "::", "compatible_p", "(", "const", "vl_vtype_info", "&", "curr_info", ")", "const", "{", "gcc_assert", "(", "!", "uninit_p", "(", ")", "&&", "\"Can't handle uninitialized info\"", ")", ";", "if", "(", "empty_p", "(", ")", ")", "return", "false", ";", "if", "(", "unknown_p", "(", ")", ")", "return", "false", ";", "if", "(", "!", "demand_p", "(", "DEMAND_AVL", ")", ")", "if", "(", "m_sew", "==", "curr_info", ".", "get_sew", "(", ")", ")", "return", "true", ";", "return", "compatible_avl_p", "(", "curr_info", ")", "&&", "compatible_vtype_p", "(", "curr_info", ")", ";", "}", ""], "natrual_language": ["Determine", "whether", "the", "vector", "instructions", "requirements", "represented", "by", "Require", "are", "compatible", "with", "the", "previous", "vsetvli", "instruction", "represented", "by", "this", ".", "INSN", "is", "the", "instruction", "whose", "requirements", "we", "'re", "considering", "."], "TS_V_token": ["riscv", "\"Can't handle uninitialized info\""], "File": "riscv-vsetvl", "Func": "compatible_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 871, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "calculate_ratio", "(", "unsigned", "int", "sew", ",", "enum", "vlmul_type", "vlmul", ")", "{", "unsigned", "int", "ratio", ";", "switch", "(", "vlmul", ")", "{", "case", "LMUL_1", ":", "ratio", "=", "sew", ";", "break", ";", "case", "LMUL_2", ":", "ratio", "=", "sew", "/", "2", ";", "break", ";", "case", "LMUL_4", ":", "ratio", "=", "sew", "/", "4", ";", "break", ";", "case", "LMUL_8", ":", "ratio", "=", "sew", "/", "8", ";", "break", ";", "case", "LMUL_F8", ":", "ratio", "=", "sew", "*", "8", ";", "break", ";", "case", "LMUL_F4", ":", "ratio", "=", "sew", "*", "4", ";", "break", ";", "case", "LMUL_F2", ":", "ratio", "=", "sew", "*", "2", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "ratio", ";", "}", ""], "natrual_language": ["Calculate", "SEW/LMUL", "ratio", "."], "TS_V_token": ["riscv", "2", "4", "8", "8", "4", "2"], "File": "riscv-v", "Func": "calculate_ratio", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 872, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVMCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "unsigned", "Size", "=", "Desc", ".", "getSize", "(", ")", ";", "switch", "(", "Size", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unhandled encodeInstruction length!\"", ")", ";", "case", "2", ":", "{", "uint16_t", "Bits", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "support", "::", "endian", "::", "Writer", "<", "support", "::", "little", ">", "(", "OS", ")", ".", "write", "<", "uint16_t", ">", "(", "Bits", ")", ";", "break", ";", "}", "case", "4", ":", "{", "uint32_t", "Bits", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "support", "::", "endian", "::", "Writer", "<", "support", "::", "little", ">", "(", "OS", ")", ".", "write", "(", "Bits", ")", ";", "break", ";", "}", "}", "++", "MCNumEmitted", ";", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["RISCV", "RISCV", "\"Unhandled encodeInstruction length!\"", "2", "support::endian", "support::little", "4", "support::endian", "support::little"], "File": "RISCVMCCodeEmitter22", "Func": "encodeInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 873, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "riscv_expand_conditional_move", "(", "rtx", "dest", ",", "rtx", "op", ",", "rtx", "cons", ",", "rtx", "alt", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "rtx_code", "code", "=", "GET_CODE", "(", "op", ")", ";", "rtx", "op0", "=", "XEXP", "(", "op", ",", "0", ")", ";", "rtx", "op1", "=", "XEXP", "(", "op", ",", "1", ")", ";", "if", "(", "TARGET_XTHEADCONDMOV", "&&", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_INT", "&&", "reg_or_0_operand", "(", "cons", ",", "mode", ")", "&&", "reg_or_0_operand", "(", "alt", ",", "mode", ")", "&&", "GET_MODE", "(", "op", ")", "==", "mode", "&&", "GET_MODE", "(", "op0", ")", "==", "mode", "&&", "GET_MODE", "(", "op1", ")", "==", "mode", "&&", "(", "code", "==", "EQ", "||", "code", "==", "NE", ")", ")", "{", "riscv_expand_conditional_move_onesided", "(", "dest", ",", "cons", ",", "alt", ",", "code", ",", "op0", ",", "op1", ")", ";", "return", "true", ";", "}", "else", "if", "(", "TARGET_SFB_ALU", "&&", "mode", "==", "word_mode", ")", "{", "riscv_emit_int_compare", "(", "&", "code", ",", "&", "op0", ",", "&", "op1", ")", ";", "rtx", "cond", "=", "gen_rtx_fmt_ee", "(", "code", ",", "GET_MODE", "(", "op0", ")", ",", "op0", ",", "op1", ")", ";", "cons", "=", "force_reg", "(", "GET_MODE", "(", "dest", ")", ",", "cons", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "gen_rtx_IF_THEN_ELSE", "(", "GET_MODE", "(", "dest", ")", ",", "cond", ",", "cons", ",", "alt", ")", ")", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Emit", "a", "cond", "move", ":", "If", "OP", "holds", ",", "move", "CONS", "to", "DEST", ";", "else", "move", "ALT", "to", "DEST", ".", "Return", "0", "if", "expansion", "failed", "."], "TS_V_token": ["riscv", "0", "1"], "File": "riscv1", "Func": "riscv_expand_conditional_move", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 874, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"== \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "Node", "->", "setNodeId", "(", "-", "1", ")", ";", "return", ";", "}", "unsigned", "Opcode", "=", "Node", "->", "getOpcode", "(", ")", ";", "MVT", "XLenVT", "=", "Subtarget", "->", "getXLenVT", "(", ")", ";", "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", ")", ",", "RISCV", "::", "X0", ",", "XLenVT", ")", ";", "ReplaceNode", "(", "Node", ",", "New", ".", "getNode", "(", ")", ")", ";", "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", "(", "RISCV", "::", "ADDI", ",", "DL", ",", "VT", ",", "TFI", ",", "Imm", ")", ")", ";", "return", ";", "}", "}", "SelectCode", "(", "Node", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["RISCV", "RISCV", "\"== \"", "\"\\n\"", "1", "0", "ISD::Constant", "RISCV::X0", "ISD::FrameIndex", "0", "RISCV::ADDI"], "File": "RISCVISelDAGToDAG43", "Func": "Select", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 875, "Length": 242, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmBackend", "::", "shouldInsertExtraNopBytesForCodeAlign", "(", "const", "MCAlignFragment", "&", "AF", ",", "unsigned", "&", "Size", ")", "{", "const", "MCSubtargetInfo", "*", "STI", "=", "AF", ".", "getSubtargetInfo", "(", ")", ";", "if", "(", "!", "STI", "->", "getFeatureBits", "(", ")", "[", "RISCV", "::", "FeatureRelax", "]", ")", "return", "false", ";", "bool", "HasStdExtC", "=", "STI", "->", "getFeatureBits", "(", ")", "[", "RISCV", "::", "FeatureStdExtC", "]", ";", "unsigned", "MinNopLen", "=", "HasStdExtC", "?", "2", ":", "4", ";", "if", "(", "AF", ".", "getAlignment", "(", ")", "<=", "MinNopLen", ")", "{", "return", "false", ";", "}", "else", "{", "Size", "=", "AF", ".", "getAlignment", "(", ")", "-", "MinNopLen", ";", "return", "true", ";", "}", "}", ""], "natrual_language": ["Hook", "to", "check", "if", "extra", "nop", "bytes", "must", "be", "inserted", "for", "alignment", "directive", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::FeatureRelax", "RISCV::FeatureStdExtC", "2", "4"], "File": "RISCVAsmBackend34", "Func": "shouldInsertExtraNopBytesForCodeAlign", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 876, "Length": 98, "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": 877, "Length": 289, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVInstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "{", "return", "get", "(", "Opcode", ")", ".", "getSize", "(", ")", ";", "}", "case", "TargetOpcode", "::", "EH_LABEL", ":", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "KILL", ":", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "return", "0", ";", "case", "RISCV", "::", "PseudoCALL", ":", "case", "RISCV", "::", "PseudoTAIL", ":", "case", "RISCV", "::", "PseudoLLA", ":", "return", "8", ";", "case", "TargetOpcode", "::", "INLINEASM", ":", "case", "TargetOpcode", "::", "INLINEASM_BR", ":", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "auto", "&", "TM", "=", "static_cast", "<", "const", "RISCVTargetMachine", "&", ">", "(", "MF", ".", "getTarget", "(", ")", ")", ";", "return", "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": ["RISCV", "RISCV", "0", "RISCV::PseudoCALL", "RISCV::PseudoTAIL", "RISCV::PseudoLLA", "8", "RISCV", "0"], "File": "RISCVInstrInfo36", "Func": "getInstSizeInBytes", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 878, "Length": 152, "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", "(", ")", ";", "unsigned", "FrameReg", ";", "int", "Offset", "=", "getFrameLowering", "(", "MF", ")", "->", "getFrameIndexReference", "(", "MF", ",", "FrameIndex", ",", "FrameReg", ")", "+", "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", "->", "movImm32", "(", "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": "RISCVRegisterInfo11", "Func": "eliminateFrameIndex", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 879, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVRedundantCopyElimination", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "Changed", "|=", "optimizeBlock", "(", "MBB", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVRedundantCopyElimination", "Func": "runOnMachineFunction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 880, "Length": 69, "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", ";", "}", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "PseudoVMSGEU_VX", "||", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "PseudoVMSGE_VX", "||", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "PseudoVMSGEU_VX_M", "||", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "PseudoVMSGE_VX_M", "||", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "PseudoVMSGEU_VX_M_T", "||", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "PseudoVMSGE_VX_M_T", ")", "{", "expandVMSGE", "(", "MI", ",", "OS", ",", "Fixups", ",", "STI", ")", ";", "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": ["RISCV", "RISCV", "RISCV::PseudoCALLReg", "RISCV::PseudoCALL", "RISCV::PseudoTAIL", "RISCV::PseudoJump", "2", "RISCV::PseudoAddTPRel", "1", "RISCV::PseudoVMSGEU_VX", "RISCV::PseudoVMSGE_VX", "RISCV::PseudoVMSGEU_VX_M", "RISCV::PseudoVMSGE_VX_M", "RISCV::PseudoVMSGEU_VX_M_T", "RISCV::PseudoVMSGE_VX_M_T", "\"Unhandled encodeInstruction length!\"", "2", "support::endian", "support::little", "4", "support::endian", "support::little"], "File": "RISCVMCCodeEmitter14", "Func": "encodeInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 881, "Length": 324, "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": 882, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "check_required_extensions", "(", "const", "function_instance", "&", "instance", ")", "{", "rvv_type_info", "type_info", "=", "instance", ".", "type", ";", "uint64_t", "required_extensions", "=", "type_info", ".", "required_extensions", ";", "const", "rvv_op_info", "*", "op_info", "=", "instance", ".", "op_info", ";", "if", "(", "required_extensions_p", "(", "op_info", "->", "ret", ".", "base_type", ")", ")", "{", "enum", "vector_type_index", "ret_type_idx", "=", "op_info", "->", "ret", ".", "get_function_type_index", "(", "type_info", ".", "index", ")", ";", "if", "(", "ret_type_idx", "==", "NUM_VECTOR_TYPES", ")", "return", "false", ";", "required_extensions", "|=", "get_required_extensions", "(", "ret_type_idx", ")", ";", "}", "for", "(", "unsigned", "i", "=", "0", ";", "op_info", "->", "args", "[", "i", "]", ".", "base_type", "!=", "NUM_BASE_TYPES", ";", "++", "i", ")", "{", "if", "(", "!", "required_extensions_p", "(", "op_info", "->", "args", "[", "i", "]", ".", "base_type", ")", ")", "continue", ";", "enum", "vector_type_index", "vector_type", "=", "op_info", "->", "args", "[", "i", "]", ".", "get_function_type_index", "(", "type_info", ".", "index", ")", ";", "if", "(", "vector_type", "==", "NUM_VECTOR_TYPES", ")", "return", "false", ";", "required_extensions", "|=", "get_required_extensions", "(", "vector_type", ")", ";", "if", "(", "op_info", "->", "args", "[", "i", "]", ".", "base_type", "==", "RVV_BASE_eew64_index", ")", "required_extensions", "|=", "RVV_REQUIRE_RV64BIT", ";", "}", "uint64_t", "riscv_isa_flags", "=", "0", ";", "if", "(", "TARGET_VECTOR_ELEN_FP_32", ")", "riscv_isa_flags", "|=", "RVV_REQUIRE_ELEN_FP_32", ";", "if", "(", "TARGET_VECTOR_ELEN_FP_64", ")", "riscv_isa_flags", "|=", "RVV_REQUIRE_ELEN_FP_64", ";", "if", "(", "TARGET_VECTOR_ELEN_64", ")", "riscv_isa_flags", "|=", "RVV_REQUIRE_ELEN_64", ";", "if", "(", "TARGET_64BIT", ")", "riscv_isa_flags", "|=", "RVV_REQUIRE_RV64BIT", ";", "if", "(", "TARGET_FULL_V", ")", "riscv_isa_flags", "|=", "RVV_REQUIRE_FULL_V", ";", "if", "(", "TARGET_MIN_VLEN", ">", "32", ")", "riscv_isa_flags", "|=", "RVV_REQUIRE_MIN_VLEN_64", ";", "uint64_t", "missing_extensions", "=", "required_extensions", "&", "~", "riscv_isa_flags", ";", "if", "(", "missing_extensions", "!=", "0", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Check", "whether", "all", "the", "RVV_REQUIRE_", "*", "values", "in", "REQUIRED_EXTENSIONS", "are", "enabled", "."], "TS_V_token": ["riscv", "0", "0", "32", "0"], "File": "riscv-vector-builtins", "Func": "check_required_extensions", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 883, "Length": 244, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVInstrInfo", "::", "insertBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "TBB", ",", "MachineBasicBlock", "*", "FBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "const", "DebugLoc", "&", "DL", ",", "int", "*", "BytesAdded", ")", "const", "{", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "=", "0", ";", "assert", "(", "TBB", "&&", "\"insertBranch must not be told to insert a fallthrough\"", ")", ";", "assert", "(", "(", "Cond", ".", "size", "(", ")", "==", "3", "||", "Cond", ".", "size", "(", ")", "==", "0", ")", "&&", "\"RISCV branch conditions have two components!\"", ")", ";", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "RISCVSubtarget", "&", "ST", "=", "MF", "->", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "unsigned", "PseudoOpcode", ";", "if", "(", "RISCVABI", "::", "isCheriPureCapABI", "(", "ST", ".", "getTargetABI", "(", ")", ")", ")", "PseudoOpcode", "=", "RISCV", "::", "PseudoCBR", ";", "else", "PseudoOpcode", "=", "RISCV", "::", "PseudoBR", ";", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "MachineInstr", "&", "MI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "PseudoOpcode", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "getInstSizeInBytes", "(", "MI", ")", ";", "return", "1", ";", "}", "unsigned", "Opc", "=", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ";", "MachineInstr", "&", "CondMI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "Opc", ")", ")", ".", "add", "(", "Cond", "[", "1", "]", ")", ".", "add", "(", "Cond", "[", "2", "]", ")", ".", "addMBB", "(", "TBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "getInstSizeInBytes", "(", "CondMI", ")", ";", "if", "(", "!", "FBB", ")", "return", "1", ";", "MachineInstr", "&", "MI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "PseudoOpcode", ")", ")", ".", "addMBB", "(", "FBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "getInstSizeInBytes", "(", "MI", ")", ";", "return", "2", ";", "}", ""], "natrual_language": ["Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "."], "TS_V_token": ["RISCV", "RISCV", "0", "\"insertBranch must not be told to insert a fallthrough\"", "3", "0", "\"RISCV branch conditions have two components!\"", "RISCV", "RISCV", "RISCVABI::isCheriPureCapABI", "RISCV::PseudoCBR", "RISCV::PseudoBR", "1", "0", "1", "2", "1", "2"], "File": "RISCVInstrInfo26", "Func": "insertBranch", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 884, "Length": 284, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createRISCVBranchSelectionPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV"], "File": "RISCVTargetMachine (2)1", "Func": "addPreEmitPass", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 885, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "mergeStoresAfterLegalization", "(", "EVT", "VT", ")", "const", "{", "return", "!", "Subtarget", ".", "useRVVForFixedLengthVectors", "(", ")", "||", "(", "VT", ".", "isFixedLengthVector", "(", ")", "&&", "VT", ".", "getVectorElementType", "(", ")", "==", "MVT", "::", "i1", ")", ";", "}", ""], "natrual_language": ["Do", "not", "merge", "vector", "stores", "after", "legalization", "because", "that", "may", "conflict", "with", "x86-specific", "store", "splitting", "optimizations", "."], "TS_V_token": ["RISCV", "RISCV", "MVT::i1"], "File": "RISCVISelLowering1", "Func": "mergeStoresAfterLegalization", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 886, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "RISCVTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "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", ",", "Subtarget", ")", ";", "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", "\"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": "RISCVISelLowering1", "Func": "EmitInstrWithCustomInserter", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 887, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVTargetELFStreamer", "::", "finish", "(", ")", "{", "RISCVTargetStreamer", "::", "finish", "(", ")", ";", "MCAssembler", "&", "MCA", "=", "getStreamer", "(", ")", ".", "getAssembler", "(", ")", ";", "const", "FeatureBitset", "&", "Features", "=", "STI", ".", "getFeatureBits", "(", ")", ";", "RISCVABI", "::", "ABI", "ABI", "=", "getTargetABI", "(", ")", ";", "unsigned", "EFlags", "=", "MCA", ".", "getELFHeaderEFlags", "(", ")", ";", "if", "(", "Features", "[", "RISCV", "::", "FeatureStdExtC", "]", ")", "EFlags", "|=", "ELF", "::", "EF_RISCV_RVC", ";", "switch", "(", "ABI", ")", "{", "case", "RISCVABI", "::", "ABI_ILP32", ":", "case", "RISCVABI", "::", "ABI_LP64", ":", "break", ";", "case", "RISCVABI", "::", "ABI_ILP32F", ":", "case", "RISCVABI", "::", "ABI_LP64F", ":", "EFlags", "|=", "ELF", "::", "EF_RISCV_FLOAT_ABI_SINGLE", ";", "break", ";", "case", "RISCVABI", "::", "ABI_ILP32D", ":", "case", "RISCVABI", "::", "ABI_LP64D", ":", "EFlags", "|=", "ELF", "::", "EF_RISCV_FLOAT_ABI_DOUBLE", ";", "break", ";", "case", "RISCVABI", "::", "ABI_ILP32E", ":", "EFlags", "|=", "ELF", "::", "EF_RISCV_RVE", ";", "break", ";", "case", "RISCVABI", "::", "ABI_Unknown", ":", "llvm_unreachable", "(", "\"Improperly initialised target ABI\"", ")", ";", "}", "MCA", ".", "setELFHeaderEFlags", "(", "EFlags", ")", ";", "}", ""], "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": ["RISCV", "RISCV", "RISCV", "RISCVABI::ABI", "RISCV::FeatureStdExtC", "RISCV", "RISCVABI::ABI_ILP32", "RISCVABI::ABI_LP64", "RISCVABI::ABI_ILP32F", "RISCVABI::ABI_LP64F", "RISCV", "RISCVABI::ABI_ILP32D", "RISCVABI::ABI_LP64D", "RISCV", "RISCVABI::ABI_ILP32E", "RISCV", "RISCVABI::ABI_Unknown", "\"Improperly initialised target ABI\""], "File": "RISCVELFStreamer (2)", "Func": "finish", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 888, "Length": 154, "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": 889, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVMCAsmBackend", "::", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "for", "(", "uint64_t", "I", "=", "0", ";", "I", "!=", "Count", ";", "++", "I", ")", "OW", "->", "write8", "(", "7", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["RISCV", "RISCV", "0", "7"], "File": "RISCVMCAsmBackend", "Func": "writeNopData", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 890, "Length": 39, "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", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_CONDITIONAL_REGISTER_USAGE", "."], "TS_V_token": ["riscv", "1"], "File": "riscv2", "Func": "riscv_conditional_register_usage", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 891, "Length": 41, "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": 892, "Length": 212, "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": 893, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "OS", ")", "{", "if", "(", "ExtraCode", "&&", "*", "ExtraCode", "==", "'n'", ")", "{", "if", "(", "!", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isImm", "(", ")", ")", "return", "true", ";", "OS", "<<", "-", "int64_t", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", ")", ";", "}", "else", "{", "printOperand", "(", "MI", ",", "OpNo", ",", "OS", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVAsmPrinter (2)", "Func": "PrintAsmOperand", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 894, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "RISCVRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "RISCVFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "const", "RISCVSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "for", "(", "size_t", "Reg", "=", "0", ";", "Reg", "<", "getNumRegs", "(", ")", ";", "Reg", "++", ")", "{", "if", "(", "STI", ".", "isRegisterReservedByUser", "(", "Reg", ")", ")", "markSuperRegs", "(", "Reserved", ",", "Reg", ")", ";", "}", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X0", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X2", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X3", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X4", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X8", ")", ";", "if", "(", "TFI", "->", "hasBP", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X9", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "C0", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "C2", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "C3", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "C4", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "C8", ")", ";", "if", "(", "TFI", "->", "hasBP", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "C9", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "DDC", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "VL", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "VTYPE", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "VXSAT", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "VXRM", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "FRM", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "FFLAGS", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "FCSR", ")", ";", "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": ["RISCV", "RISCV", "RISCV", "RISCV", "RISCV", "0", "RISCV::X0", "RISCV::X2", "RISCV::X3", "RISCV::X4", "RISCV::X8", "RISCV::X9", "RISCV::C0", "RISCV::C2", "RISCV::C3", "RISCV::C4", "RISCV::C8", "RISCV::C9", "RISCV::DDC", "RISCV::VL", "RISCV::VTYPE", "RISCV::VXSAT", "RISCV::VXRM", "RISCV::FRM", "RISCV::FFLAGS", "RISCV::FCSR"], "File": "RISCVRegisterInfo17", "Func": "getReservedRegs", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 895, "Length": 306, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVInstrInfo", "::", "shouldOutlineFromFunctionByDefault", "(", "MachineFunction", "&", "MF", ")", "const", "{", "return", "MF", ".", "getFunction", "(", ")", ".", "hasMinSize", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "function", "should", "be", "outlined", "from", "by", "default", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVInstrInfo24", "Func": "shouldOutlineFromFunctionByDefault", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 896, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "auto", "RegName", "=", "[", "]", "(", "unsigned", "Reg", ")", "{", "if", "(", "Reg", ")", "return", "RISCVInstPrinter", "::", "getRegisterName", "(", "Reg", ")", ";", "else", "return", "\"noreg\"", ";", "}", ";", "switch", "(", "Kind", ")", "{", "case", "KindTy", "::", "Immediate", ":", "OS", "<<", "*", "getImm", "(", ")", ";", "break", ";", "case", "KindTy", "::", "Register", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "KindTy", "::", "Token", ":", "OS", "<<", "\"'\"", "<<", "getToken", "(", ")", "<<", "\"'\"", ";", "break", ";", "case", "KindTy", "::", "SystemRegister", ":", "OS", "<<", "\"'", ";", "break", ";", "case", "KindTy", "::", "VType", ":", "OS", "<<", "\"'", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["RISCV", "RISCV", "\"noreg\"", "\"\"", "\"'\"", "\"'\"", "\"", "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": 898, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "RISCVTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "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_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", "\"Unexpected instr type to insert\"", "RISCV::ReadCycleWide", "\"ReadCycleWrite is only to be used on riscv32\"", "RISCV::Select_GPR_Using_CC_GPR", "RISCV::Select_FPR32_Using_CC_GPR", "RISCV::Select_FPR64_Using_CC_GPR", "RISCV::BuildPairF64Pseudo", "RISCV::SplitF64Pseudo"], "File": "RISCVISelLowering11", "Func": "EmitInstrWithCustomInserter", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 899, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_pass_by_reference", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "HOST_WIDE_INT", "size", "=", "arg", ".", "type_size_in_bytes", "(", ")", ";", "struct", "riscv_arg_info", "info", ";", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "if", "(", "cum", "!=", "NULL", ")", "{", "riscv_get_arg_info", "(", "&", "info", ",", "cum", ",", "arg", ".", "mode", ",", "arg", ".", "type", ",", "arg", ".", "named", ",", "false", ")", ";", "if", "(", "info", ".", "num_fprs", ")", "return", "false", ";", "}", "return", "!", "IN_RANGE", "(", "size", ",", "0", ",", "2", "*", "UNITS_PER_WORD", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PASS_BY_REFERENCE", "."], "TS_V_token": ["riscv", "0", "2"], "File": "riscv", "Func": "riscv_pass_by_reference", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 900, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "riscv_expand_prologue", "(", "void", ")", "{", "struct", "riscv_frame_info", "*", "frame", "=", "&", "cfun", "->", "machine", "->", "frame", ";", "HOST_WIDE_INT", "size", "=", "frame", "->", "total_size", ";", "unsigned", "mask", "=", "frame", "->", "mask", ";", "rtx", "insn", ";", "if", "(", "cfun", "->", "machine", "->", "naked_p", ")", "{", "if", "(", "flag_stack_usage_info", ")", "current_function_static_stack_size", "=", "0", ";", "return", ";", "}", "if", "(", "flag_stack_usage_info", ")", "current_function_static_stack_size", "=", "size", ";", "if", "(", "riscv_use_save_libcall", "(", "frame", ")", ")", "{", "rtx", "dwarf", "=", "NULL_RTX", ";", "dwarf", "=", "riscv_adjust_libcall_cfi_prologue", "(", ")", ";", "frame", "->", "mask", "=", "0", ";", "size", "-=", "frame", "->", "save_libcall_adjustment", ";", "insn", "=", "emit_insn", "(", "gen_gpr_save", "(", "GEN_INT", "(", "mask", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "REG_NOTES", "(", "insn", ")", "=", "dwarf", ";", "}", "if", "(", "(", "frame", "->", "mask", "|", "frame", "->", "fmask", ")", "!=", "0", ")", "{", "HOST_WIDE_INT", "step1", "=", "MIN", "(", "size", ",", "riscv_first_stack_step", "(", "frame", ")", ")", ";", "insn", "=", "gen_add3_insn", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "step1", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "emit_insn", "(", "insn", ")", ")", "=", "1", ";", "size", "-=", "step1", ";", "riscv_for_each_saved_reg", "(", "size", ",", "riscv_save_reg", ")", ";", "}", "frame", "->", "mask", "=", "mask", ";", "if", "(", "frame_pointer_needed", ")", "{", "insn", "=", "gen_add3_insn", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "frame", "->", "hard_frame_pointer_offset", "-", "size", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "emit_insn", "(", "insn", ")", ")", "=", "1", ";", "riscv_emit_stack_tie", "(", ")", ";", "}", "if", "(", "size", ">", "0", ")", "{", "if", "(", "SMALL_OPERAND", "(", "-", "size", ")", ")", "{", "insn", "=", "gen_add3_insn", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "size", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "emit_insn", "(", "insn", ")", ")", "=", "1", ";", "}", "else", "{", "riscv_emit_move", "(", "RISCV_PROLOGUE_TEMP", "(", "Pmode", ")", ",", "GEN_INT", "(", "-", "size", ")", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "RISCV_PROLOGUE_TEMP", "(", "Pmode", ")", ")", ")", ";", "insn", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "size", ")", ";", "insn", "=", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "insn", ")", ";", "riscv_set_frame_expr", "(", "insn", ")", ";", "}", "}", "}", ""], "natrual_language": ["Expand", "the", "``", "prologue", "''", "pattern", "."], "TS_V_token": ["riscv", "0", "0", "1", "0", "1", "1", "0", "1"], "File": "riscv3", "Func": "riscv_expand_prologue", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 901, "Length": 333, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetMachine", "::", "isNoopAddrSpaceCast", "(", "unsigned", "SrcAS", ",", "unsigned", "DstAS", ")", "const", "{", "const", "bool", "SrcIsCheri", "=", "isCheriPointer", "(", "SrcAS", ",", "nullptr", ")", ";", "const", "bool", "DestIsCheri", "=", "isCheriPointer", "(", "DstAS", ",", "nullptr", ")", ";", "if", "(", "(", "SrcIsCheri", "||", "DestIsCheri", ")", "&&", "(", "SrcIsCheri", "!=", "DestIsCheri", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "a", "cast", "between", "SrcAS", "and", "DestAS", "is", "a", "noop", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVTargetMachine22", "Func": "isNoopAddrSpaceCast", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 902, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_function_ok_for_sibcall", "(", "tree", "decl", "ATTRIBUTE_UNUSED", ",", "tree", "exp", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_SAVE_RESTORE", ")", "return", "false", ";", "if", "(", "cfun", "->", "machine", "->", "naked_p", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_OK_FOR_SIBCALL", "."], "TS_V_token": ["riscv"], "File": "riscv3", "Func": "riscv_function_ok_for_sibcall", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 903, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "RISCVRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "auto", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "GHC", ")", "return", "CSR_NoRegs_SaveList", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"interrupt\"", ")", ")", "{", "if", "(", "Subtarget", ".", "hasStdExtD", "(", ")", ")", "return", "Subtarget", ".", "hasCheri", "(", ")", "?", "CSR_XLEN_CLEN_F64_Interrupt_SaveList", ":", "CSR_XLEN_F64_Interrupt_SaveList", ";", "if", "(", "Subtarget", ".", "hasStdExtF", "(", ")", ")", "return", "Subtarget", ".", "hasCheri", "(", ")", "?", "CSR_XLEN_CLEN_F32_Interrupt_SaveList", ":", "CSR_XLEN_F32_Interrupt_SaveList", ";", "return", "Subtarget", ".", "hasCheri", "(", ")", "?", "CSR_XLEN_CLEN_Interrupt_SaveList", ":", "CSR_Interrupt_SaveList", ";", "}", "switch", "(", "Subtarget", ".", "getTargetABI", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unrecognized ABI\"", ")", ";", "case", "RISCVABI", "::", "ABI_ILP32", ":", "case", "RISCVABI", "::", "ABI_LP64", ":", "return", "CSR_ILP32_LP64_SaveList", ";", "case", "RISCVABI", "::", "ABI_IL32PC64", ":", "case", "RISCVABI", "::", "ABI_L64PC128", ":", "return", "CSR_IL32PC64_L64PC128_SaveList", ";", "case", "RISCVABI", "::", "ABI_ILP32F", ":", "case", "RISCVABI", "::", "ABI_LP64F", ":", "return", "CSR_ILP32F_LP64F_SaveList", ";", "case", "RISCVABI", "::", "ABI_IL32PC64F", ":", "case", "RISCVABI", "::", "ABI_L64PC128F", ":", "return", "CSR_IL32PC64F_L64PC128F_SaveList", ";", "case", "RISCVABI", "::", "ABI_ILP32D", ":", "case", "RISCVABI", "::", "ABI_LP64D", ":", "return", "CSR_ILP32D_LP64D_SaveList", ";", "case", "RISCVABI", "::", "ABI_IL32PC64D", ":", "case", "RISCVABI", "::", "ABI_L64PC128D", ":", "return", "CSR_IL32PC64D_L64PC128D_SaveList", ";", "}", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "\"interrupt\"", "\"Unrecognized ABI\"", "RISCVABI::ABI_ILP32", "RISCVABI::ABI_LP64", "RISCVABI::ABI_IL32PC64", "RISCVABI::ABI_L64PC128", "RISCVABI::ABI_ILP32F", "RISCVABI::ABI_LP64F", "RISCVABI::ABI_IL32PC64F", "RISCVABI::ABI_L64PC128F", "RISCVABI::ABI_ILP32D", "RISCVABI::ABI_LP64D", "RISCVABI::ABI_IL32PC64D", "RISCVABI::ABI_L64PC128D"], "File": "RISCVRegisterInfo17", "Func": "getCalleeSavedRegs", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 904, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "unsigned", "Opcode", "=", "Node", "->", "getOpcode", "(", ")", ";", "MVT", "XLenVT", "=", "Subtarget", "->", "getXLenVT", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Selecting: \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"== \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "Node", "->", "setNodeId", "(", "-", "1", ")", ";", "return", ";", "}", "EVT", "VT", "=", "Node", "->", "getValueType", "(", "0", ")", ";", "if", "(", "Opcode", "==", "ISD", "::", "Constant", "&&", "VT", "==", "XLenVT", ")", "{", "auto", "*", "ConstNode", "=", "cast", "<", "ConstantSDNode", ">", "(", "Node", ")", ";", "if", "(", "ConstNode", "->", "isNullValue", "(", ")", ")", "{", "SDValue", "New", "=", "CurDAG", "->", "getCopyFromReg", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "SDLoc", "(", "Node", ")", ",", "RISCV", "::", "X0", ",", "XLenVT", ")", ";", "ReplaceNode", "(", "Node", ",", "New", ".", "getNode", "(", ")", ")", ";", "return", ";", "}", "}", "SelectCode", "(", "Node", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["RISCV", "RISCV", "\"Selecting: \"", "\"\\n\"", "\"== \"", "\"\\n\"", "1", "0", "ISD::Constant", "RISCV::X0"], "File": "RISCVISelDAGToDAG29", "Func": "Select", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 905, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "registered_function", "&", "function_builder", "::", "add_function", "(", "const", "function_instance", "&", "instance", ",", "const", "char", "*", "name", ",", "tree", "fntype", ",", "tree", "attrs", ",", "bool", "placeholder_p", ")", "{", "unsigned", "int", "code", "=", "vec_safe_length", "(", "registered_functions", ")", ";", "code", "=", "(", "code", "<<", "RISCV_BUILTIN_SHIFT", ")", "+", "RISCV_BUILTIN_VECTOR", ";", "tree", "decl", "=", "placeholder_p", "?", "integer_zero_node", ":", "simulate_builtin_function_decl", "(", "input_location", ",", "name", ",", "fntype", ",", "code", ",", "NULL", ",", "attrs", ")", ";", "registered_function", "&", "rfn", "=", "*", "ggc_alloc", "<", "registered_function", ">", "(", ")", ";", "rfn", ".", "instance", "=", "instance", ";", "rfn", ".", "decl", "=", "decl", ";", "vec_safe_push", "(", "registered_functions", ",", "&", "rfn", ")", ";", "return", "rfn", ";", "}", ""], "natrual_language": ["Add", "a", "function", "called", "NAME", "with", "type", "FNTYPE", "and", "attributes", "ATTRS", ".", "INSTANCE", "describes", "what", "the", "function", "does", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "add_function", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 906, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "decomposeMulByConstant", "(", "LLVMContext", "&", "Context", ",", "EVT", "VT", ",", "SDValue", "C", ")", "const", "{", "if", "(", "VT", ".", "isScalarInteger", "(", ")", ")", "{", "if", "(", "!", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Subtarget", ".", "hasStdExtM", "(", ")", ")", "return", "false", ";", "if", "(", "auto", "*", "ConstNode", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "C", ".", "getNode", "(", ")", ")", ")", "{", "if", "(", "ConstNode", "->", "getAPIntValue", "(", ")", ".", "getBitWidth", "(", ")", ">", "8", "*", "sizeof", "(", "int64_t", ")", ")", "return", "false", ";", "int64_t", "Imm", "=", "ConstNode", "->", "getSExtValue", "(", ")", ";", "if", "(", "isPowerOf2_64", "(", "Imm", "+", "1", ")", "||", "isPowerOf2_64", "(", "Imm", "-", "1", ")", "||", "isPowerOf2_64", "(", "1", "-", "Imm", ")", "||", "isPowerOf2_64", "(", "-", "1", "-", "Imm", ")", ")", "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", "8", "1", "1", "1", "1"], "File": "RISCVISelLowering38", "Func": "decomposeMulByConstant", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 907, "Length": 134, "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", "::", "ADDI", ":", "case", "RISCV", "::", "ORI", ":", "case", "RISCV", "::", "XORI", ":", "return", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "RISCV", "::", "X0", ")", ";", "}", "return", "MI", ".", "isAsCheapAsAMove", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "instruction", "is", "as", "cheap", "as", "a", "move", "instruction", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::ADDI", "RISCV::ORI", "RISCV::XORI", "1", "1", "RISCV::X0"], "File": "RISCVInstrInfo11", "Func": "isAsCheapAsAMove", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 908, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVPassConfig", "::", "addISelPrepare", "(", ")", "{", "TargetPassConfig", "::", "addISelPrepare", "(", ")", ";", "}", ""], "natrual_language": ["Add", "common", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "in", "preparation", "for", "instruction", "selection", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVTargetMachine40", "Func": "addISelPrepare", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 909, "Length": 14, "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", "::", "FeatureStdExtB", ")", ")", "Arch", "+=", "\"_b0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureStdExtV", ")", ")", "Arch", "+=", "\"_v0p10\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZfh", ")", ")", "Arch", "+=", "\"_zfh0p1\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZba", ")", ")", "Arch", "+=", "\"_zba0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZbb", ")", ")", "Arch", "+=", "\"_zbb0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZbc", ")", ")", "Arch", "+=", "\"_zbc0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZbe", ")", ")", "Arch", "+=", "\"_zbe0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZbf", ")", ")", "Arch", "+=", "\"_zbf0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZbm", ")", ")", "Arch", "+=", "\"_zbm0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZbp", ")", ")", "Arch", "+=", "\"_zbp0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZbproposedc", ")", ")", "Arch", "+=", "\"_zbproposedc0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZbr", ")", ")", "Arch", "+=", "\"_zbr0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZbs", ")", ")", "Arch", "+=", "\"_zbs0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZbt", ")", ")", "Arch", "+=", "\"_zbt0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZvamo", ")", ")", "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::FeatureStdExtB", "\"_b0p93\"", "RISCV::FeatureStdExtV", "\"_v0p10\"", "RISCV::FeatureExtZfh", "\"_zfh0p1\"", "RISCV::FeatureExtZba", "\"_zba0p93\"", "RISCV::FeatureExtZbb", "\"_zbb0p93\"", "RISCV::FeatureExtZbc", "\"_zbc0p93\"", "RISCV::FeatureExtZbe", "\"_zbe0p93\"", "RISCV::FeatureExtZbf", "\"_zbf0p93\"", "RISCV::FeatureExtZbm", "\"_zbm0p93\"", "RISCV::FeatureExtZbp", "\"_zbp0p93\"", "RISCV::FeatureExtZbproposedc", "\"_zbproposedc0p93\"", "RISCV::FeatureExtZbr", "\"_zbr0p93\"", "RISCV::FeatureExtZbs", "\"_zbs0p93\"", "RISCV::FeatureExtZbt", "\"_zbt0p93\"", "RISCV::FeatureExtZvamo", "\"_zvamo0p10\"", "RISCV::FeatureStdExtZvlsseg", "\"_zvlsseg0p10\"", "RISCVAttrs::ARCH"], "File": "RISCVTargetStreamer7", "Func": "emitTargetAttributes", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 910, "Length": 412, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_check_builtin_call", "(", "location_t", "loc", ",", "vec", "<", "location_t", ">", "arg_loc", ",", "tree", "fndecl", ",", "tree", "orig_fndecl", ",", "unsigned", "int", "nargs", ",", "tree", "*", "args", ")", "{", "unsigned", "int", "code", "=", "DECL_MD_FUNCTION_CODE", "(", "fndecl", ")", ";", "unsigned", "int", "subcode", "=", "code", ">>", "RISCV_BUILTIN_SHIFT", ";", "switch", "(", "code", "&", "RISCV_BUILTIN_CLASS", ")", "{", "case", "RISCV_BUILTIN_GENERAL", ":", "return", "true", ";", "case", "RISCV_BUILTIN_VECTOR", ":", "return", "riscv_vector", "::", "check_builtin_call", "(", "loc", ",", "arg_loc", ",", "subcode", ",", "orig_fndecl", ",", "nargs", ",", "args", ")", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CHECK_BUILTIN_CALL", "."], "TS_V_token": ["riscv", "riscv_vector::check_builtin_call"], "File": "riscv-c1", "Func": "riscv_check_builtin_call", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 911, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "RISCVInstrInfo", "::", "insertOutlinedCall", "(", "Module", "&", "M", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "It", ",", "MachineFunction", "&", "MF", ",", "const", "outliner", "::", "Candidate", "&", "C", ")", "const", "{", "It", "=", "MBB", ".", "insert", "(", "It", ",", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "RISCV", "::", "PseudoCALLReg", ")", ",", "RISCV", "::", "X5", ")", ".", "addGlobalAddress", "(", "M", ".", "getNamedValue", "(", "MF", ".", "getName", "(", ")", ")", ",", "0", ",", "RISCVII", "::", "MO_CALL", ")", ")", ";", "return", "It", ";", "}", ""], "natrual_language": ["Insert", "a", "call", "to", "an", "outlined", "function", "into", "the", "program", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::PseudoCALLReg", "RISCV::X5", "0", "RISCVII::MO_CALL"], "File": "RISCVInstrInfo (2)", "Func": "insertOutlinedCall", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 912, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVTargetLowering", "::", "LowerAsmOperandForConstraint", "(", "SDValue", "Op", ",", "std", "::", "string", "&", "Constraint", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "Ops", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "Constraint", ".", "length", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'I'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "if", "(", "isUInt", "<", "8", ">", "(", "C", "->", "getZExtValue", "(", ")", ")", ")", "Ops", ".", "push_back", "(", "DAG", ".", "getTargetConstant", "(", "C", "->", "getZExtValue", "(", ")", ",", "SDLoc", "(", "Op", ")", ",", "Op", ".", "getValueType", "(", ")", ")", ")", ";", "return", ";", "case", "'J'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "if", "(", "isUInt", "<", "12", ">", "(", "C", "->", "getZExtValue", "(", ")", ")", ")", "Ops", ".", "push_back", "(", "DAG", ".", "getTargetConstant", "(", "C", "->", "getZExtValue", "(", ")", ",", "SDLoc", "(", "Op", ")", ",", "Op", ".", "getValueType", "(", ")", ")", ")", ";", "return", ";", "case", "'K'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "if", "(", "isInt", "<", "16", ">", "(", "C", "->", "getSExtValue", "(", ")", ")", ")", "Ops", ".", "push_back", "(", "DAG", ".", "getTargetConstant", "(", "C", "->", "getSExtValue", "(", ")", ",", "SDLoc", "(", "Op", ")", ",", "Op", ".", "getValueType", "(", ")", ")", ")", ";", "return", ";", "case", "'L'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "if", "(", "isInt", "<", "20", ">", "(", "C", "->", "getSExtValue", "(", ")", ")", ")", "Ops", ".", "push_back", "(", "DAG", ".", "getTargetConstant", "(", "C", "->", "getSExtValue", "(", ")", ",", "SDLoc", "(", "Op", ")", ",", "Op", ".", "getValueType", "(", ")", ")", ")", ";", "return", ";", "case", "'M'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "if", "(", "C", "->", "getZExtValue", "(", ")", "==", "0x7fffffff", ")", "Ops", ".", "push_back", "(", "DAG", ".", "getTargetConstant", "(", "C", "->", "getZExtValue", "(", ")", ",", "SDLoc", "(", "Op", ")", ",", "Op", ".", "getValueType", "(", ")", ")", ")", ";", "return", ";", "}", "}", "TargetLowering", "::", "LowerAsmOperandForConstraint", "(", "Op", ",", "Constraint", ",", "Ops", ",", "DAG", ")", ";", "}", ""], "natrual_language": ["Lower", "the", "specified", "operand", "into", "the", "Ops", "vector", "."], "TS_V_token": ["RISCV", "RISCV", "1", "0", "8", "12", "16", "20", "0x7fffffff"], "File": "RISCVISelLowering (2)2", "Func": "LowerAsmOperandForConstraint", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 913, "Length": 360, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVTargetObjectFile", "::", "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": ["RISCV", "RISCV"], "File": "RISCVISelLowering (2)2", "Func": "Initialize", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 914, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "SDValue", "getTargetNode", "(", "JumpTableSDNode", "*", "N", ",", "SDLoc", "DL", ",", "EVT", "Ty", ",", "SelectionDAG", "&", "DAG", ",", "unsigned", "Flags", ")", "{", "return", "DAG", ".", "getTargetJumpTable", "(", "N", "->", "getIndex", "(", ")", ",", "Ty", ",", "Flags", ")", ";", "}", ""], "natrual_language": ["Retrieve", "the", "target", "node", "this", "edge", "connects", "to", "."], "TS_V_token": ["RISCV"], "File": "RISCVISelLowering1", "Func": "getTargetNode", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 915, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "riscv_sr_match_epilogue", "(", "void", ")", "{", "rtx_insn", "*", "insn", ",", "*", "start", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", "!=", "NULL", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "if", "(", "NOTE_P", "(", "insn", ")", "&&", "NOTE_KIND", "(", "insn", ")", "==", "NOTE_INSN_EPILOGUE_BEG", ")", "{", "insn", "=", "NEXT_INSN", "(", "insn", ")", ";", "break", ";", "}", "if", "(", "insn", "==", "NULL", ")", "return", "NULL", ";", "start", "=", "insn", ";", "if", "(", "INSN_CODE", "(", "insn", ")", "!=", "CODE_FOR_stack_tiesi", "&&", "INSN_CODE", "(", "insn", ")", "!=", "CODE_FOR_stack_tiedi", ")", "return", "NULL", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ";", "if", "(", "INSN_P", "(", "insn", ")", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "USE", ")", "insn", "=", "NEXT_INSN", "(", "insn", ")", ";", "if", "(", "!", "INSN_P", "(", "insn", ")", "||", "INSN_CODE", "(", "insn", ")", "!=", "CODE_FOR_gpr_restore", ")", "return", "NULL", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ";", "if", "(", "!", "INSN_P", "(", "insn", ")", "||", "INSN_CODE", "(", "insn", ")", "!=", "CODE_FOR_gpr_restore_return", ")", "return", "NULL", ";", "return", "start", ";", "}", ""], "natrual_language": ["Find", "the", "first", "instruction", "in", "the", "epilogue", "of", "the", "current", "function", ",", "and", "return", "a", "pointer", "to", "that", "instruction", "if", ",", "and", "only", "if", ",", "the", "epilogue", "has", "the", "correct", "structure", "that", "would", "allow", "us", "to", "optimize", "out", "the", "call", "to", "_riscv_restore_0", "."], "TS_V_token": ["riscv"], "File": "riscv-sr", "Func": "riscv_sr_match_epilogue", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 916, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "required_extensions_p", "(", "enum", "rvv_base_type", "type", ")", "{", "return", "type", "==", "RVV_BASE_eew8_index", "||", "type", "==", "RVV_BASE_eew16_index", "||", "type", "==", "RVV_BASE_eew32_index", "||", "type", "==", "RVV_BASE_eew64_index", "||", "type", "==", "RVV_BASE_float_vector", "||", "type", "==", "RVV_BASE_double_trunc_float_vector", "||", "type", "==", "RVV_BASE_double_trunc_vector", "||", "type", "==", "RVV_BASE_widen_lmul1_vector", "||", "type", "==", "RVV_BASE_eew8_interpret", "||", "type", "==", "RVV_BASE_eew16_interpret", "||", "type", "==", "RVV_BASE_eew32_interpret", "||", "type", "==", "RVV_BASE_eew64_interpret", "||", "type", "==", "RVV_BASE_vlmul_ext_x2", "||", "type", "==", "RVV_BASE_vlmul_ext_x4", "||", "type", "==", "RVV_BASE_vlmul_ext_x8", "||", "type", "==", "RVV_BASE_vlmul_ext_x16", "||", "type", "==", "RVV_BASE_vlmul_ext_x32", "||", "type", "==", "RVV_BASE_vlmul_ext_x64", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "type", "has", "required_extensions", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "required_extensions_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 917, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "RISCVTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "StringRef", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'d'", ":", "case", "'r'", ":", "if", "(", "Subtarget", ".", "isRV64", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "RISCV", "::", "GR64BitRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "RISCV", "::", "GR32BitRegClass", ")", ";", "case", "'f'", ":", "if", "(", "Subtarget", ".", "hasD", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "RISCV", "::", "FP64BitRegClass", ")", ";", "else", "if", "(", "Subtarget", ".", "hasF", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "RISCV", "::", "FP32BitRegClass", ")", ";", "else", "if", "(", "Subtarget", ".", "isRV64", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "RISCV", "::", "GR64BitRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "RISCV", "::", "GR32BitRegClass", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "TRI", ",", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["RISCV", "RISCV", "1", "0", "0U", "RISCV::GR64BitRegClass", "0U", "RISCV::GR32BitRegClass", "0U", "RISCV::FP64BitRegClass", "0U", "RISCV::FP32BitRegClass", "0U", "RISCV::GR64BitRegClass", "0U", "RISCV::GR32BitRegClass"], "File": "RISCVISelLowering (2)2", "Func": "getRegForInlineAsmConstraint", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 918, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDLoc", "DL", "(", "N", ")", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Don't know how to custom type legalize this operation!\"", ")", ";", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SRL", ":", "assert", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i32", "&&", "Subtarget", ".", "is64Bit", "(", ")", "&&", "\"Unexpected custom legalisation\"", ")", ";", "if", "(", "N", "->", "getOperand", "(", "1", ")", ".", "getOpcode", "(", ")", "==", "ISD", "::", "Constant", ")", "return", ";", "Results", ".", "push_back", "(", "customLegalizeToWOp", "(", "N", ",", "DAG", ")", ")", ";", "break", ";", "case", "ISD", "::", "SDIV", ":", "case", "ISD", "::", "UDIV", ":", "case", "ISD", "::", "UREM", ":", "assert", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i32", "&&", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Subtarget", ".", "hasStdExtM", "(", ")", "&&", "\"Unexpected custom legalisation\"", ")", ";", "if", "(", "N", "->", "getOperand", "(", "0", ")", ".", "getOpcode", "(", ")", "==", "ISD", "::", "Constant", "||", "N", "->", "getOperand", "(", "1", ")", ".", "getOpcode", "(", ")", "==", "ISD", "::", "Constant", ")", "return", ";", "Results", ".", "push_back", "(", "customLegalizeToWOp", "(", "N", ",", "DAG", ")", ")", ";", "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": ["RISCV", "RISCV", "\"Don't know how to custom type legalize this operation!\"", "ISD::SHL", "ISD::SRA", "ISD::SRL", "0", "MVT::i32", "\"Unexpected custom legalisation\"", "1", "ISD::Constant", "ISD::SDIV", "ISD::UDIV", "ISD::UREM", "0", "MVT::i32", "\"Unexpected custom legalisation\"", "0", "ISD::Constant", "1", "ISD::Constant"], "File": "RISCVISelLowering26", "Func": "ReplaceNodeResults", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 919, "Length": 207, "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_CALL", ":", "return", "\"call\"", ";", "case", "VK_RISCV_CALL_PLT", ":", "return", "\"call_plt\"", ";", "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", "\"call\"", "RISCV", "\"call_plt\"", "RISCV", "\"32_pcrel\"", "\"Invalid ELF symbol kind\""], "File": "RISCVMCExpr11", "Func": "getVariantKindName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 920, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVFrameLowering", "::", "hasReservedCallFrame", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "isInt", "<", "12", ">", "(", "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": ["RISCV", "RISCV", "12"], "File": "RISCVFrameLowering (2)1", "Func": "hasReservedCallFrame", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 921, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "return", "isSimpleMove", "(", "MI", ",", "FrameIndex", ",", "RISCVII", "::", "SimpleStore", ")", ";", "}", ""], "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": ["RISCV", "RISCV", "RISCVII::SimpleStore"], "File": "RISCVInstrInfo4", "Func": "isStoreToStackSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 922, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "riscv_arg_partial_bytes", "(", "cumulative_args_t", "cum", ",", "const", "function_arg_info", "&", "generic_arg", ")", "{", "struct", "riscv_arg_info", "arg", ";", "riscv_get_arg_info", "(", "&", "arg", ",", "get_cumulative_args", "(", "cum", ")", ",", "generic_arg", ".", "mode", ",", "generic_arg", ".", "type", ",", "generic_arg", ".", "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": "riscv", "Func": "riscv_arg_partial_bytes", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 923, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "riscv_pass_aggregate_in_fpr_pair_p", "(", "const_tree", "type", ",", "riscv_aggregate_field", "fields", "[", "2", "]", ")", "{", "int", "n", "=", "riscv_flatten_aggregate_argument", "(", "type", ",", "fields", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "n", ";", "i", "++", ")", "if", "(", "!", "SCALAR_FLOAT_TYPE_P", "(", "fields", "[", "i", "]", ".", "type", ")", ")", "return", "0", ";", "return", "n", ">", "0", "?", "n", ":", "0", ";", "}", ""], "natrual_language": ["See", "whether", "TYPE", "is", "a", "record", "whose", "fields", "should", "be", "returned", "in", "one", "or", "two", "floating-point", "registers", ".", "If", "so", ",", "populate", "FIELDS", "accordingly", "."], "TS_V_token": ["riscv", "2", "0", "0", "0", "0"], "File": "riscv2", "Func": "riscv_pass_aggregate_in_fpr_pair_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 924, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVPassConfig", "::", "addPreSched2", "(", ")", "{", "}", ""], "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": ["RISCV", "RISCV"], "File": "RISCVTargetMachine1", "Func": "addPreSched2", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 925, "Length": 8, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmBackend", "::", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "return", "getRelaxedOpcode", "(", "Inst", ".", "getOpcode", "(", ")", ")", "!=", "Inst", ".", "getOpcode", "(", ")", ";", "}", ""], "natrual_language": ["Check", "whether", "the", "given", "instruction", "may", "need", "relaxation", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVAsmBackend", "Func": "mayNeedRelaxation", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 926, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "RISCVFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "unsigned", "SPReg", "=", "RISCV", "::", "X2", ";", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "int64_t", "Amount", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "Amount", "!=", "0", ")", "{", "Amount", "=", "alignSPAdjust", "(", "Amount", ")", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "RISCV", "::", "ADJCALLSTACKDOWN", ")", "Amount", "=", "-", "Amount", ";", "adjustReg", "(", "MBB", ",", "MI", ",", "DL", ",", "SPReg", ",", "SPReg", ",", "Amount", ",", "MachineInstr", "::", "NoFlags", ")", ";", "}", "}", "return", "MBB", ".", "erase", "(", "MI", ")", ";", "}", ""], "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": ["RISCV", "RISCV", "RISCV::X2", "0", "0", "RISCV::ADJCALLSTACKDOWN"], "File": "RISCVFrameLowering10", "Func": "eliminateCallFramePseudoInstr", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 927, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "lowerOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCOperand", "&", "MCOp", ")", "const", "{", "return", "LowerRISCVMachineOperandToMCOperand", "(", "MO", ",", "MCOp", ",", "*", "this", ")", ";", "}", ""], "natrual_language": ["Wrapper", "for", "MCInstLowering.lowerOperand", "(", ")", "for", "the", "tblgen'erated", "pseudo", "lowering", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVAsmPrinter", "Func": "lowerOperand", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 928, "Length": 26, "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": 929, "Length": 374, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "pass_vsetvl", "::", "compute_local_backward_infos", "(", "const", "bb_info", "*", "bb", ")", "{", "vector_insn_info", "change", ";", "change", ".", "set_empty", "(", ")", ";", "auto", "&", "block_info", "=", "m_vector_manager", "->", "vector_block_infos", "[", "bb", "->", "index", "(", ")", "]", ";", "block_info", ".", "reaching_out", "=", "change", ";", "for", "(", "insn_info", "*", "insn", ":", "bb", "->", "reverse_real_nondebug_insns", "(", ")", ")", "{", "auto", "&", "info", "=", "m_vector_manager", "->", "vector_insn_infos", "[", "insn", "->", "uid", "(", ")", "]", ";", "if", "(", "info", ".", "uninit_p", "(", ")", ")", "info", "=", "change", ";", "else", "if", "(", "info", ".", "unknown_p", "(", ")", ")", "change", "=", "info", ";", "else", "{", "gcc_assert", "(", "info", ".", "valid_p", "(", ")", "&&", "\"Unexpected Invalid demanded info\"", ")", ";", "if", "(", "change", ".", "valid_p", "(", ")", ")", "{", "if", "(", "!", "(", "propagate_avl_across_demands_p", "(", "change", ",", "info", ")", "&&", "!", "reg_available_p", "(", "insn", ",", "change", ")", ")", "&&", "change", ".", "compatible_p", "(", "info", ")", ")", "{", "info", "=", "change", ".", "merge", "(", "info", ")", ";", "if", "(", "vsetvl_insn_p", "(", "insn", "->", "rtl", "(", ")", ")", ")", "change_vsetvl_insn", "(", "insn", ",", "info", ")", ";", "}", "}", "change", "=", "info", ";", "}", "}", "block_info", ".", "local_dem", "=", "change", ";", "if", "(", "block_info", ".", "local_dem", ".", "empty_p", "(", ")", ")", "block_info", ".", "reaching_out", "=", "block_info", ".", "local_dem", ";", "}", ""], "natrual_language": ["Compute", "demanded", "information", "by", "backward", "data-flow", "analysis", "."], "TS_V_token": ["riscv", "\"Unexpected Invalid demanded info\""], "File": "riscv-vsetvl", "Func": "compute_local_backward_infos", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 930, "Length": 204, "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": 931, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "Operands", ".", "push_back", "(", "RISCVOperand", "::", "createToken", "(", "Name", ",", "NameLoc", ",", "isRV64", "(", ")", ")", ")", ";", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "return", "false", ";", "if", "(", "parseOperand", "(", "Operands", ")", ")", "return", "true", ";", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "getLexer", "(", ")", ".", "Lex", "(", ")", ";", "if", "(", "parseOperand", "(", "Operands", ")", ")", "return", "true", ";", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "getParser", "(", ")", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token\"", ")", ";", "}", "getParser", "(", ")", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "\"unexpected token\""], "File": "RISCVAsmParser16", "Func": "ParseInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 932, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVFrameLowering", "::", "determineFrameLayout", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "RISCVRegisterInfo", "*", "RI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "uint64_t", "FrameSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "uint64_t", "StackAlign", "=", "RI", "->", "needsStackRealignment", "(", "MF", ")", "?", "MFI", ".", "getMaxAlignment", "(", ")", ":", "getStackAlignment", "(", ")", ";", "FrameSize", "=", "alignTo", "(", "FrameSize", ",", "StackAlign", ")", ";", "MFI", ".", "setStackSize", "(", "FrameSize", ")", ";", "}", ""], "natrual_language": ["Determine", "the", "frame", "layout", "but", "do", "not", "update", "the", "machine", "function", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV"], "File": "RISCVFrameLowering10", "Func": "determineFrameLayout", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 933, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVMCAsmBackend", "::", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "Fragment", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "Value", "=", "extractBitsForFixup", "(", "Fixup", ".", "getKind", "(", ")", ",", "Value", ")", ";", "return", "(", "int16_t", ")", "Value", "!=", "(", "int64_t", ")", "Value", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVMCAsmBackend", "Func": "fixupNeedsRelaxation", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 934, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_print_operand_address", "(", "FILE", "*", "file", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ")", "{", "struct", "riscv_address_info", "addr", ";", "if", "(", "riscv_classify_address", "(", "&", "addr", ",", "x", ",", "word_mode", ",", "true", ")", ")", "switch", "(", "addr", ".", "type", ")", "{", "case", "ADDRESS_REG", ":", "riscv_print_operand", "(", "file", ",", "addr", ".", "offset", ",", "0", ")", ";", "fprintf", "(", "file", ",", "\"(%s)\"", ",", "reg_names", "[", "REGNO", "(", "addr", ".", "reg", ")", "]", ")", ";", "return", ";", "case", "ADDRESS_LO_SUM", ":", "riscv_print_operand_reloc", "(", "file", ",", "addr", ".", "offset", ",", "false", ")", ";", "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", ",", "riscv_strip_unspec_address", "(", "x", ")", ")", ";", "return", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PRINT_OPERAND_ADDRESS", "."], "TS_V_token": ["riscv", "0", "\"(%s)\"", "\"(%s)\"", "\"(%s)\""], "File": "riscv", "Func": "riscv_print_operand_address", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 935, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "RISCVAsmBackend", "::", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "{", "return", "createRISCVELFObjectWriter", "(", "OS", ",", "OSABI", ",", "Is64Bit", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV"], "File": "RISCVAsmBackend10", "Func": "createObjectWriter", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 936, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVInstrInfo", "::", "isMBBSafeToOutlineFrom", "(", "MachineBasicBlock", "&", "MBB", ",", "unsigned", "&", "Flags", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Optional", "target", "hook", "that", "returns", "true", "if", "MBB", "is", "safe", "to", "outline", "from", ",", "and", "returns", "any", "target-specific", "information", "in", "Flags", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVInstrInfo (2)", "Func": "isMBBSafeToOutlineFrom", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 937, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "RISCVFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "Register", "SPReg", "=", "getSPReg", "(", ")", ";", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "Opcode", "=", "MI", "->", "getOpcode", "(", ")", ";", "assert", "(", "(", "Opcode", "==", "RISCV", "::", "ADJCALLSTACKDOWNCAP", "||", "Opcode", "==", "RISCV", "::", "ADJCALLSTACKUPCAP", ")", "==", "RISCVABI", "::", "isCheriPureCapABI", "(", "STI", ".", "getTargetABI", "(", ")", ")", "&&", "\"Should use capability adjustments if and only if ABI is purecap\"", ")", ";", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "int64_t", "Amount", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "Amount", "!=", "0", ")", "{", "Amount", "=", "alignSPAdjust", "(", "Amount", ")", ";", "if", "(", "Opcode", "==", "RISCV", "::", "ADJCALLSTACKDOWN", "||", "Opcode", "==", "RISCV", "::", "ADJCALLSTACKDOWNCAP", ")", "Amount", "=", "-", "Amount", ";", "adjustReg", "(", "MBB", ",", "MI", ",", "DL", ",", "SPReg", ",", "SPReg", ",", "Amount", ",", "MachineInstr", "::", "NoFlags", ")", ";", "}", "}", "return", "MBB", ".", "erase", "(", "MI", ")", ";", "}", ""], "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": ["RISCV", "RISCV", "RISCV::ADJCALLSTACKDOWNCAP", "RISCV::ADJCALLSTACKUPCAP", "RISCVABI::isCheriPureCapABI", "\"Should use capability adjustments if and only if ABI is purecap\"", "0", "0", "RISCV::ADJCALLSTACKDOWN", "RISCV::ADJCALLSTACKDOWNCAP"], "File": "RISCVFrameLowering21", "Func": "eliminateCallFramePseudoInstr", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 938, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "override", "{", "return", "createRISCVObjectWriter", "(", "OS", ",", "OSABI", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVMCAsmBackend", "Func": "createObjectWriter", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 939, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "add_output_operand", "(", "rtx", "x", ",", "machine_mode", "mode", ")", "{", "create_output_operand", "(", "&", "m_ops", "[", "m_opno", "++", "]", ",", "x", ",", "mode", ")", ";", "gcc_assert", "(", "m_opno", "<=", "MAX_OPERANDS", ")", ";", "}", ""], "natrual_language": ["Create", "output", "and", "add", "it", "into", "M_OPS", "and", "increase", "OPNO", "."], "TS_V_token": ["riscv"], "File": "riscv-v", "Func": "add_output_operand", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 940, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "riscv_register_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "from", ",", "reg_class_t", "to", ")", "{", "return", "riscv_secondary_memory_needed", "(", "mode", ",", "from", ",", "to", ")", "?", "8", ":", "2", ";", "}", ""], "natrual_language": ["Implement", "TARGET_REGISTER_MOVE_COST", "."], "TS_V_token": ["riscv", "8", "2"], "File": "riscv", "Func": "riscv_register_move_cost", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 941, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "RISCVTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "RISCVPassConfig", "(", "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": ["RISCV", "RISCV", "RISCV"], "File": "RISCVTargetMachine (2)1", "Func": "createPassConfig", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 942, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "RISCVFrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "Register", "&", "FrameReg", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterInfo", "*", "RI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "const", "auto", "*", "RVFI", "=", "MF", ".", "getInfo", "<", "RISCVMachineFunctionInfo", ">", "(", ")", ";", "const", "auto", "&", "CSI", "=", "getNonLibcallCSI", "(", "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", "+=", "MFI", ".", "getStackSize", "(", ")", ";", "}", "else", "if", "(", "RI", "->", "needsStackRealignment", "(", "MF", ")", "&&", "!", "MFI", ".", "isFixedObjectIndex", "(", "FI", ")", ")", "{", "if", "(", "hasBP", "(", "MF", ")", ")", "FrameReg", "=", "RISCVABI", "::", "getBPReg", "(", ")", ";", "else", "FrameReg", "=", "RISCV", "::", "X2", ";", "Offset", "+=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "FI", "<", "0", ")", "Offset", "+=", "RVFI", "->", "getLibCallStackSize", "(", ")", ";", "}", "else", "{", "FrameReg", "=", "RI", "->", "getFrameRegister", "(", "MF", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "Offset", "+=", "RVFI", "->", "getVarArgsSaveSize", "(", ")", ";", "if", "(", "FI", ">=", "0", ")", "Offset", "-=", "RVFI", "->", "getLibCallStackSize", "(", ")", ";", "}", "else", "{", "Offset", "+=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "FI", "<", "0", ")", "Offset", "+=", "RVFI", "->", "getLibCallStackSize", "(", ")", ";", "}", "}", "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", "0", "0", "0"], "File": "RISCVFrameLowering1", "Func": "getFrameIndexReference", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 943, "Length": 321, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "riscv_force_address", "(", "rtx", "x", ",", "enum", "machine_mode", "mode", ")", "{", "if", "(", "!", "riscv_legitimate_address_p", "(", "mode", ",", "x", ",", "false", ")", ")", "x", "=", "force_reg", "(", "Pmode", ",", "x", ")", ";", "return", "x", ";", "}", ""], "natrual_language": ["If", "X", "is", "not", "a", "valid", "address", "for", "mode", "MODE", ",", "force", "it", "into", "a", "register", "."], "TS_V_token": ["riscv"], "File": "riscv2", "Func": "riscv_force_address", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 944, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "opt_scalar_float_mode", "riscv_floatn_mode", "(", "int", "n", ",", "bool", "extended", ")", "{", "if", "(", "!", "extended", "&&", "n", "==", "16", ")", "return", "HFmode", ";", "return", "default_floatn_mode", "(", "n", ",", "extended", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FLOATN_MODE", "."], "TS_V_token": ["riscv", "16"], "File": "riscv1", "Func": "riscv_floatn_mode", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 945, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "RISCVMCExpr", "::", "getVariantKindName", "(", "VariantKind", "Kind", ")", "{", "switch", "(", "Kind", ")", "{", "default", ":", "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\"", ";", "}", "}", ""], "natrual_language": ["Convert", "the", "variant", "kind", "into", "an", "ELF-appropriate", "modifier", "(", "e.g", "."], "TS_V_token": ["RISCV", "RISCV", "\"Invalid ELF symbol kind\"", "RISCV", "\"lo\"", "RISCV", "\"hi\"", "RISCV", "\"pcrel_lo\"", "RISCV", "\"pcrel_hi\""], "File": "RISCVMCExpr (2)", "Func": "getVariantKindName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 946, "Length": 47, "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", "::", "FeatureStdExtB", ")", ")", "Arch", "+=", "\"_b0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureStdExtV", ")", ")", "Arch", "+=", "\"_v1p0\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZfh", ")", ")", "Arch", "+=", "\"_zfh0p1\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZba", ")", ")", "Arch", "+=", "\"_zba0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZbb", ")", ")", "Arch", "+=", "\"_zbb0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZbc", ")", ")", "Arch", "+=", "\"_zbc0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZbe", ")", ")", "Arch", "+=", "\"_zbe0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZbf", ")", ")", "Arch", "+=", "\"_zbf0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZbm", ")", ")", "Arch", "+=", "\"_zbm0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZbp", ")", ")", "Arch", "+=", "\"_zbp0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZbproposedc", ")", ")", "Arch", "+=", "\"_zbproposedc0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZbr", ")", ")", "Arch", "+=", "\"_zbr0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZbs", ")", ")", "Arch", "+=", "\"_zbs0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZbt", ")", ")", "Arch", "+=", "\"_zbt0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureExtZvamo", ")", ")", "Arch", "+=", "\"_zvamo1p0\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureStdExtZvlsseg", ")", ")", "Arch", "+=", "\"_zvlsseg1p0\"", ";", "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::FeatureStdExtB", "\"_b0p93\"", "RISCV::FeatureStdExtV", "\"_v1p0\"", "RISCV::FeatureExtZfh", "\"_zfh0p1\"", "RISCV::FeatureExtZba", "\"_zba0p93\"", "RISCV::FeatureExtZbb", "\"_zbb0p93\"", "RISCV::FeatureExtZbc", "\"_zbc0p93\"", "RISCV::FeatureExtZbe", "\"_zbe0p93\"", "RISCV::FeatureExtZbf", "\"_zbf0p93\"", "RISCV::FeatureExtZbm", "\"_zbm0p93\"", "RISCV::FeatureExtZbp", "\"_zbp0p93\"", "RISCV::FeatureExtZbproposedc", "\"_zbproposedc0p93\"", "RISCV::FeatureExtZbr", "\"_zbr0p93\"", "RISCV::FeatureExtZbs", "\"_zbs0p93\"", "RISCV::FeatureExtZbt", "\"_zbt0p93\"", "RISCV::FeatureExtZvamo", "\"_zvamo1p0\"", "RISCV::FeatureStdExtZvlsseg", "\"_zvlsseg1p0\"", "RISCVAttrs::ARCH"], "File": "RISCVTargetStreamer", "Func": "emitTargetAttributes", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 947, "Length": 412, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVDAGToDAGISel", "::", "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", ";", "case", "InlineAsm", "::", "Constraint_A", ":", "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": ["RISCV", "RISCV"], "File": "RISCVISelDAGToDAG14", "Func": "SelectInlineAsmMemoryOperand", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 948, "Length": 72, "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": 949, "Length": 379, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVPassConfig", "::", "addPreEmitPass", "(", ")", "{", "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": ["RISCV", "RISCV"], "File": "RISCVTargetMachine", "Func": "addPreEmitPass", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 950, "Length": 14, "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", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", ".", "getRegInfo", "(", ")", ";", "MVT", "XLenVT", "=", "Subtarget", ".", "getXLenVT", "(", ")", ";", "if", "(", "IsVarArg", ")", "report_fatal_error", "(", "\"VarArg not supported\"", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "CC_RISCV32", ")", ";", "for", "(", "auto", "&", "VA", ":", "ArgLocs", ")", "{", "if", "(", "!", "VA", ".", "isRegLoc", "(", ")", ")", "report_fatal_error", "(", "\"Defined with too many args\"", ")", ";", "EVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "if", "(", "RegVT", "!=", "XLenVT", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"LowerFormalArguments Unhandled argument type: \"", "<<", "RegVT", ".", "getEVTString", "(", ")", "<<", "\"\\n\"", ")", ";", "report_fatal_error", "(", "\"unhandled argument type\"", ")", ";", "}", "const", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "RISCV", "::", "GPRRegClass", ")", ";", "RegInfo", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "VReg", ")", ";", "SDValue", "ArgIn", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "VReg", ",", "RegVT", ")", ";", "InVals", ".", "push_back", "(", "ArgIn", ")", ";", "}", "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", "RISCV", "\"Defined with too many args\"", "\"LowerFormalArguments Unhandled argument type: \"", "\"\\n\"", "\"unhandled argument type\"", "RISCV::GPRRegClass"], "File": "RISCVISelLowering50", "Func": "LowerFormalArguments", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 951, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "function_builder", "::", "allocate_argument_types", "(", "const", "function_instance", "&", "instance", ",", "vec", "<", "tree", ">", "&", "argument_types", ")", "const", "{", "for", "(", "unsigned", "int", "i", "=", "0", ";", "instance", ".", "op_info", "->", "args", "[", "i", "]", ".", "base_type", "!=", "NUM_BASE_TYPES", ";", "++", "i", ")", "argument_types", ".", "quick_push", "(", "instance", ".", "op_info", "->", "args", "[", "i", "]", ".", "get_tree_type", "(", "instance", ".", "type", ".", "index", ")", ")", ";", "}", ""], "natrual_language": ["Allocate", "arguments", "of", "the", "function", "."], "TS_V_token": ["riscv", "0"], "File": "riscv-vector-builtins", "Func": "allocate_argument_types", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 952, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "riscv_split_doubleword_move", "(", "rtx", "dest", ",", "rtx", "src", ")", "{", "rtx", "low_dest", ";", "low_dest", "=", "riscv_subword", "(", "dest", ",", "false", ")", ";", "if", "(", "REG_P", "(", "low_dest", ")", "&&", "reg_overlap_mentioned_p", "(", "low_dest", ",", "src", ")", ")", "{", "riscv_emit_move", "(", "riscv_subword", "(", "dest", ",", "true", ")", ",", "riscv_subword", "(", "src", ",", "true", ")", ")", ";", "riscv_emit_move", "(", "low_dest", ",", "riscv_subword", "(", "src", ",", "false", ")", ")", ";", "}", "else", "{", "riscv_emit_move", "(", "low_dest", ",", "riscv_subword", "(", "src", ",", "false", ")", ")", ";", "riscv_emit_move", "(", "riscv_subword", "(", "dest", ",", "true", ")", ",", "riscv_subword", "(", "src", ",", "true", ")", ")", ";", "}", "}", ""], "natrual_language": ["Split", "a", "doubleword", "move", "from", "SRC", "to", "DEST", ".", "On", "32-bit", "targets", ",", "this", "function", "handles", "64-bit", "moves", "for", "which", "riscv_split_64bit_move_p", "holds", ".", "For", "64-bit", "targets", ",", "this", "function", "handles", "128-bit", "moves", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_split_doubleword_move", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 953, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "handle_pragma_vector", "(", ")", "{", "if", "(", "function_table", ")", "{", "error", "(", "\"duplicate definition of %qs\"", ",", "\"riscv_vector.h\"", ")", ";", "return", ";", "}", "rvv_switcher", "rvv", ";", "for", "(", "unsigned", "int", "type_i", "=", "0", ";", "type_i", "<", "NUM_VECTOR_TYPES", ";", "++", "type_i", ")", "register_vector_type", "(", "(", "enum", "vector_type_index", ")", "type_i", ")", ";", "function_table", "=", "new", "hash_table", "<", "registered_function_hasher", ">", "(", "1023", ")", ";", "function_builder", "builder", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "function_groups", ")", ";", "++", "i", ")", "builder", ".", "register_function_group", "(", "function_groups", "[", "i", "]", ")", ";", "}", ""], "natrual_language": ["Implement", "#", "pragma", "riscv", "intrinsic", "vector", "."], "TS_V_token": ["riscv", "\"duplicate definition of %qs\"", "\"riscv_vector.h\"", "0", "1023", "0"], "File": "riscv-vector-builtins", "Func": "handle_pragma_vector", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 954, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVFrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "MutableArrayRef", "<", "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", "(", ")", ";", "const", "auto", "&", "NonLibcallCSI", "=", "getNonLibcallCSI", "(", "*", "MF", ",", "CSI", ")", ";", "for", "(", "auto", "&", "CS", ":", "reverse", "(", "NonLibcallCSI", ")", ")", "{", "Register", "Reg", "=", "CS", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "TII", ".", "loadRegFromStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "CS", ".", "getFrameIdx", "(", ")", ",", "RC", ",", "TRI", ")", ";", "assert", "(", "MI", "!=", "MBB", ".", "begin", "(", ")", "&&", "\"loadRegFromStackSlot didn't insert any code!\"", ")", ";", "}", "const", "char", "*", "RestoreLibCall", "=", "getRestoreLibCallName", "(", "*", "MF", ",", "CSI", ")", ";", "if", "(", "RestoreLibCall", ")", "{", "assert", "(", "!", "RISCVABI", "::", "isCheriPureCapABI", "(", "STI", ".", "getTargetABI", "(", ")", ")", "&&", "\"Save/restore libcall not implemented for purecap\"", ")", ";", "MachineBasicBlock", "::", "iterator", "NewMI", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "RISCV", "::", "PseudoTAIL", ")", ")", ".", "addExternalSymbol", "(", "RestoreLibCall", ",", "RISCVII", "::", "MO_CALL", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameDestroy", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", "&&", "MI", "->", "getOpcode", "(", ")", "==", "RISCV", "::", "PseudoRET", ")", "{", "NewMI", "->", "copyImplicitOps", "(", "*", "MF", ",", "*", "MI", ")", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "}", "}", "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": ["RISCV", "RISCV", "\"loadRegFromStackSlot didn't insert any code!\"", "RISCVABI::isCheriPureCapABI", "\"Save/restore libcall not implemented for purecap\"", "RISCV::PseudoTAIL", "RISCVII::MO_CALL", "RISCV::PseudoRET"], "File": "RISCVFrameLowering21", "Func": "restoreCalleeSavedRegisters", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 955, "Length": 291, "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", ";", "RISCVMCExpr", "::", "VariantKind", "VK", "=", "RISCVMCExpr", "::", "VK_RISCV_None", ";", "bool", "IsConstant", "=", "evaluateConstantImm", "(", "Expr", ",", "Imm", ",", "VK", ")", ";", "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", "RISCV", "RISCV"], "File": "RISCVAsmParser (2)", "Func": "addExpr", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 956, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVDAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "&", "*", "I", "++", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "RISCVISD", "::", "SPLAT_VECTOR_SPLIT_I64_VL", ")", "continue", ";", "assert", "(", "N", "->", "getNumOperands", "(", ")", "==", "3", "&&", "\"Unexpected number of operands\"", ")", ";", "MVT", "VT", "=", "N", "->", "getSimpleValueType", "(", "0", ")", ";", "SDValue", "Lo", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Hi", "=", "N", "->", "getOperand", "(", "1", ")", ";", "SDValue", "VL", "=", "N", "->", "getOperand", "(", "2", ")", ";", "assert", "(", "VT", ".", "getVectorElementType", "(", ")", "==", "MVT", "::", "i64", "&&", "VT", ".", "isScalableVector", "(", ")", "&&", "Lo", ".", "getValueType", "(", ")", "==", "MVT", "::", "i32", "&&", "Hi", ".", "getValueType", "(", ")", "==", "MVT", "::", "i32", "&&", "\"Unexpected VTs!\"", ")", ";", "MachineFunction", "&", "MF", "=", "CurDAG", "->", "getMachineFunction", "(", ")", ";", "RISCVMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "RISCVMachineFunctionInfo", ">", "(", ")", ";", "SDLoc", "DL", "(", "N", ")", ";", "int", "FI", "=", "FuncInfo", "->", "getMoveF64FrameIndex", "(", "MF", ")", ";", "MachinePointerInfo", "MPI", "=", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ";", "const", "TargetLowering", "&", "TLI", "=", "CurDAG", "->", "getTargetLoweringInfo", "(", ")", ";", "SDValue", "StackSlot", "=", "CurDAG", "->", "getFrameIndex", "(", "FI", ",", "TLI", ".", "getPointerTy", "(", "CurDAG", "->", "getDataLayout", "(", ")", ")", ")", ";", "SDValue", "Chain", "=", "CurDAG", "->", "getEntryNode", "(", ")", ";", "Lo", "=", "CurDAG", "->", "getStore", "(", "Chain", ",", "DL", ",", "Lo", ",", "StackSlot", ",", "MPI", ",", "Align", "(", "8", ")", ")", ";", "SDValue", "OffsetSlot", "=", "CurDAG", "->", "getMemBasePlusOffset", "(", "StackSlot", ",", "TypeSize", "::", "Fixed", "(", "4", ")", ",", "DL", ")", ";", "Hi", "=", "CurDAG", "->", "getStore", "(", "Chain", ",", "DL", ",", "Hi", ",", "OffsetSlot", ",", "MPI", ".", "getWithOffset", "(", "4", ")", ",", "Align", "(", "8", ")", ")", ";", "Chain", "=", "CurDAG", "->", "getNode", "(", "ISD", "::", "TokenFactor", ",", "DL", ",", "MVT", "::", "Other", ",", "Lo", ",", "Hi", ")", ";", "SDVTList", "VTs", "=", "CurDAG", "->", "getVTList", "(", "{", "VT", ",", "MVT", "::", "Other", "}", ")", ";", "SDValue", "IntID", "=", "CurDAG", "->", "getTargetConstant", "(", "Intrinsic", "::", "riscv_vlse", ",", "DL", ",", "MVT", "::", "i64", ")", ";", "SDValue", "Ops", "[", "]", "=", "{", "Chain", ",", "IntID", ",", "CurDAG", "->", "getUNDEF", "(", "VT", ")", ",", "StackSlot", ",", "CurDAG", "->", "getRegister", "(", "RISCV", "::", "X0", ",", "MVT", "::", "i64", ")", ",", "VL", "}", ";", "SDValue", "Result", "=", "CurDAG", "->", "getMemIntrinsicNode", "(", "ISD", "::", "INTRINSIC_W_CHAIN", ",", "DL", ",", "VTs", ",", "Ops", ",", "MVT", "::", "i64", ",", "MPI", ",", "Align", "(", "8", ")", ",", "MachineMemOperand", "::", "MOLoad", ")", ";", "--", "I", ";", "CurDAG", "->", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "0", ")", ",", "Result", ")", ";", "++", "I", ";", "CurDAG", "->", "DeleteNode", "(", "N", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["RISCV", "RISCV", "RISCVISD::SPLAT_VECTOR_SPLIT_I64_VL", "3", "\"Unexpected number of operands\"", "0", "0", "1", "2", "MVT::i64", "MVT::i32", "MVT::i32", "\"Unexpected VTs!\"", "RISCV", "RISCV", "8", "4", "4", "8", "ISD::TokenFactor", "MVT::Other", "MVT::Other", "Intrinsic::riscv_vlse", "MVT::i64", "RISCV::X0", "MVT::i64", "ISD::INTRINSIC_W_CHAIN", "MVT::i64", "8", "0"], "File": "RISCVISelDAGToDAG35", "Func": "PreprocessISelDAG", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 957, "Length": 463, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVMergeBaseOffsetOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "if", "(", "skipFunction", "(", "Fn", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "bool", "MadeChange", "=", "false", ";", "DeadInstrs", ".", "clear", "(", ")", ";", "MRI", "=", "&", "Fn", ".", "getRegInfo", "(", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "Fn", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"MBB: \"", "<<", "MBB", ".", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "for", "(", "MachineInstr", "&", "HiLUI", ":", "MBB", ")", "{", "MachineInstr", "*", "LoADDI", "=", "nullptr", ";", "if", "(", "!", "detectLuiAddiGlobal", "(", "HiLUI", ",", "LoADDI", ")", ")", "continue", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\" Found lowered global address with one use: \"", "<<", "*", "LoADDI", "->", "getOperand", "(", "2", ")", ".", "getGlobal", "(", ")", "<<", "\"\\n\"", ")", ";", "MadeChange", "|=", "detectAndFoldOffset", "(", "HiLUI", ",", "*", "LoADDI", ")", ";", "}", "}", "for", "(", "auto", "*", "MI", ":", "DeadInstrs", ")", "MI", "->", "eraseFromParent", "(", ")", ";", "return", "MadeChange", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["RISCV", "RISCV", "\"MBB: \"", "\"\\n\"", "\" Found lowered global address with one use: \"", "2", "\"\\n\""], "File": "RISCVMergeBaseOffset", "Func": "runOnMachineFunction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 958, "Length": 150, "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": 959, "Length": 77, "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": 960, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "sbitmap", "riscv_get_separate_components", "(", "void", ")", "{", "HOST_WIDE_INT", "offset", ";", "sbitmap", "components", "=", "sbitmap_alloc", "(", "FIRST_PSEUDO_REGISTER", ")", ";", "bitmap_clear", "(", "components", ")", ";", "if", "(", "riscv_use_save_libcall", "(", "&", "cfun", "->", "machine", "->", "frame", ")", "||", "cfun", "->", "machine", "->", "interrupt_handler_p", "||", "!", "cfun", "->", "machine", "->", "frame", ".", "gp_sp_offset", ".", "is_constant", "(", ")", ")", "return", "components", ";", "offset", "=", "cfun", "->", "machine", "->", "frame", ".", "gp_sp_offset", ".", "to_constant", "(", ")", ";", "for", "(", "unsigned", "int", "regno", "=", "GP_REG_FIRST", ";", "regno", "<=", "GP_REG_LAST", ";", "regno", "++", ")", "if", "(", "BITSET_P", "(", "cfun", "->", "machine", "->", "frame", ".", "mask", ",", "regno", "-", "GP_REG_FIRST", ")", ")", "{", "if", "(", "SMALL_OPERAND", "(", "offset", ")", ")", "bitmap_set_bit", "(", "components", ",", "regno", ")", ";", "offset", "-=", "UNITS_PER_WORD", ";", "}", "offset", "=", "cfun", "->", "machine", "->", "frame", ".", "fp_sp_offset", ".", "to_constant", "(", ")", ";", "for", "(", "unsigned", "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", ";", "if", "(", "SMALL_OPERAND", "(", "offset", ")", ")", "bitmap_set_bit", "(", "components", ",", "regno", ")", ";", "offset", "-=", "GET_MODE_SIZE", "(", "mode", ")", ".", "to_constant", "(", ")", ";", "}", "if", "(", "frame_pointer_needed", ")", "bitmap_clear_bit", "(", "components", ",", "HARD_FRAME_POINTER_REGNUM", ")", ";", "bitmap_clear_bit", "(", "components", ",", "RETURN_ADDR_REGNUM", ")", ";", "return", "components", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SHRINK_WRAP_GET_SEPARATE_COMPONENTS", "."], "TS_V_token": ["riscv"], "File": "riscv1", "Func": "riscv_get_separate_components", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 961, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "RISCV", "::", "X8", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::X8"], "File": "RISCVRegisterInfo22", "Func": "getFrameRegister", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 962, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "riscv_regno_mode_ok_for_base_p", "(", "int", "regno", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "bool", "strict_p", ")", "{", "if", "(", "!", "HARD_REGISTER_NUM_P", "(", "regno", ")", ")", "{", "if", "(", "!", "strict_p", ")", "return", "true", ";", "regno", "=", "reg_renumber", "[", "regno", "]", ";", "}", "if", "(", "regno", "==", "ARG_POINTER_REGNUM", "||", "regno", "==", "FRAME_POINTER_REGNUM", ")", "return", "true", ";", "return", "GP_REG_P", "(", "regno", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "register", "REGNO", "is", "a", "valid", "base", "register", "for", "mode", "MODE", ".", "STRICT_P", "is", "true", "if", "REG_OK_STRICT", "is", "in", "effect", "."], "TS_V_token": ["riscv"], "File": "riscv2", "Func": "riscv_regno_mode_ok_for_base_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 963, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "O", ",", "unsigned", "RegNo", ")", "const", "{", "O", "<<", "getRegisterName", "(", "RegNo", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVInstPrinter (2)", "Func": "printRegName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 964, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "RISCVTTIImpl", "::", "getIntImmCostInst", "(", "unsigned", "Opcode", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ",", "Instruction", "*", "Inst", ")", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", "&&", "\"getIntImmCost can only estimate cost of materialising integers\"", ")", ";", "if", "(", "Imm", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "bool", "Takes12BitImm", "=", "false", ";", "unsigned", "ImmArgIdx", "=", "~", "0U", ";", "switch", "(", "Opcode", ")", "{", "case", "Instruction", "::", "GetElementPtr", ":", "return", "TTI", "::", "TCC_Free", ";", "case", "Instruction", "::", "Add", ":", "case", "Instruction", "::", "And", ":", "case", "Instruction", "::", "Or", ":", "case", "Instruction", "::", "Xor", ":", "case", "Instruction", "::", "Mul", ":", "Takes12BitImm", "=", "true", ";", "break", ";", "case", "Instruction", "::", "Sub", ":", "case", "Instruction", "::", "Shl", ":", "case", "Instruction", "::", "LShr", ":", "case", "Instruction", "::", "AShr", ":", "Takes12BitImm", "=", "true", ";", "ImmArgIdx", "=", "1", ";", "break", ";", "default", ":", "break", ";", "}", "if", "(", "Takes12BitImm", ")", "{", "if", "(", "Instruction", "::", "isCommutative", "(", "Opcode", ")", "||", "Idx", "==", "ImmArgIdx", ")", "{", "if", "(", "Imm", ".", "getMinSignedBits", "(", ")", "<=", "64", "&&", "getTLI", "(", ")", "->", "isLegalAddImmediate", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "{", "return", "TTI", "::", "TCC_Free", ";", "}", "}", "return", "getIntImmCost", "(", "Imm", ",", "Ty", ",", "CostKind", ")", ";", "}", "return", "TTI", "::", "TCC_Free", ";", "}", ""], "natrual_language": ["Return", "the", "expected", "cost", "of", "materialization", "for", "the", "given", "integer", "immediate", "of", "the", "specified", "type", "for", "a", "given", "instruction", "."], "TS_V_token": ["RISCV", "RISCV", "\"getIntImmCost can only estimate cost of materialising integers\"", "0", "0U", "1", "64"], "File": "RISCVTargetTransformInfo1", "Func": "getIntImmCostInst", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 965, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "RISCVInstrInfo", "::", "commuteInstructionImpl", "(", "MachineInstr", "&", "MI", ",", "bool", "NewMI", ",", "unsigned", "OpIdx1", ",", "unsigned", "OpIdx2", ")", "const", "{", "auto", "cloneIfNew", "=", "[", "NewMI", "]", "(", "MachineInstr", "&", "MI", ")", "->", "MachineInstr", "&", "{", "if", "(", "NewMI", ")", "return", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "CloneMachineInstr", "(", "&", "MI", ")", ";", "return", "MI", ";", "}", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "CASE_VFMA_SPLATS", "(", "FMACC", ")", ":", "case", "CASE_VFMA_SPLATS", "(", "FMADD", ")", ":", "case", "CASE_VFMA_SPLATS", "(", "FMSAC", ")", ":", "case", "CASE_VFMA_SPLATS", "(", "FMSUB", ")", ":", "case", "CASE_VFMA_SPLATS", "(", "FNMACC", ")", ":", "case", "CASE_VFMA_SPLATS", "(", "FNMADD", ")", ":", "case", "CASE_VFMA_SPLATS", "(", "FNMSAC", ")", ":", "case", "CASE_VFMA_SPLATS", "(", "FNMSUB", ")", ":", "case", "CASE_VFMA_OPCODE_LMULS", "(", "FMACC", ",", "VV", ")", ":", "case", "CASE_VFMA_OPCODE_LMULS", "(", "FMSAC", ",", "VV", ")", ":", "case", "CASE_VFMA_OPCODE_LMULS", "(", "FNMACC", ",", "VV", ")", ":", "case", "CASE_VFMA_OPCODE_LMULS", "(", "FNMSAC", ",", "VV", ")", ":", "{", "assert", "(", "(", "OpIdx1", "==", "1", "||", "OpIdx2", "==", "1", ")", "&&", "\"Unexpected opcode index\"", ")", ";", "assert", "(", "(", "OpIdx1", "==", "3", "||", "OpIdx2", "==", "3", ")", "&&", "\"Unexpected opcode index\"", ")", ";", "unsigned", "Opc", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected opcode\"", ")", ";", "CASE_VFMA_CHANGE_OPCODE_SPLATS", "(", "FMACC", ",", "FMADD", ")", "CASE_VFMA_CHANGE_OPCODE_SPLATS", "(", "FMADD", ",", "FMACC", ")", "CASE_VFMA_CHANGE_OPCODE_SPLATS", "(", "FMSAC", ",", "FMSUB", ")", "CASE_VFMA_CHANGE_OPCODE_SPLATS", "(", "FMSUB", ",", "FMSAC", ")", "CASE_VFMA_CHANGE_OPCODE_SPLATS", "(", "FNMACC", ",", "FNMADD", ")", "CASE_VFMA_CHANGE_OPCODE_SPLATS", "(", "FNMADD", ",", "FNMACC", ")", "CASE_VFMA_CHANGE_OPCODE_SPLATS", "(", "FNMSAC", ",", "FNMSUB", ")", "CASE_VFMA_CHANGE_OPCODE_SPLATS", "(", "FNMSUB", ",", "FNMSAC", ")", "CASE_VFMA_CHANGE_OPCODE_LMULS", "(", "FMACC", ",", "FMADD", ",", "VV", ")", "CASE_VFMA_CHANGE_OPCODE_LMULS", "(", "FMSAC", ",", "FMSUB", ",", "VV", ")", "CASE_VFMA_CHANGE_OPCODE_LMULS", "(", "FNMACC", ",", "FNMADD", ",", "VV", ")", "CASE_VFMA_CHANGE_OPCODE_LMULS", "(", "FNMSAC", ",", "FNMSUB", ",", "VV", ")", "}", "auto", "&", "WorkingMI", "=", "cloneIfNew", "(", "MI", ")", ";", "WorkingMI", ".", "setDesc", "(", "get", "(", "Opc", ")", ")", ";", "return", "TargetInstrInfo", "::", "commuteInstructionImpl", "(", "WorkingMI", ",", "false", ",", "OpIdx1", ",", "OpIdx2", ")", ";", "}", "case", "CASE_VFMA_OPCODE_LMULS", "(", "FMADD", ",", "VV", ")", ":", "case", "CASE_VFMA_OPCODE_LMULS", "(", "FMSUB", ",", "VV", ")", ":", "case", "CASE_VFMA_OPCODE_LMULS", "(", "FNMADD", ",", "VV", ")", ":", "case", "CASE_VFMA_OPCODE_LMULS", "(", "FNMSUB", ",", "VV", ")", ":", "{", "assert", "(", "(", "OpIdx1", "==", "1", "||", "OpIdx2", "==", "1", ")", "&&", "\"Unexpected opcode index\"", ")", ";", "if", "(", "OpIdx1", "==", "3", "||", "OpIdx2", "==", "3", ")", "{", "unsigned", "Opc", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected opcode\"", ")", ";", "CASE_VFMA_CHANGE_OPCODE_LMULS", "(", "FMADD", ",", "FMACC", ",", "VV", ")", "CASE_VFMA_CHANGE_OPCODE_LMULS", "(", "FMSUB", ",", "FMSAC", ",", "VV", ")", "CASE_VFMA_CHANGE_OPCODE_LMULS", "(", "FNMADD", ",", "FNMACC", ",", "VV", ")", "CASE_VFMA_CHANGE_OPCODE_LMULS", "(", "FNMSUB", ",", "FNMSAC", ",", "VV", ")", "}", "auto", "&", "WorkingMI", "=", "cloneIfNew", "(", "MI", ")", ";", "WorkingMI", ".", "setDesc", "(", "get", "(", "Opc", ")", ")", ";", "return", "TargetInstrInfo", "::", "commuteInstructionImpl", "(", "WorkingMI", ",", "false", ",", "OpIdx1", ",", "OpIdx2", ")", ";", "}", "break", ";", "}", "}", "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": ["RISCV", "RISCV", "1", "1", "\"Unexpected opcode index\"", "3", "3", "\"Unexpected opcode index\"", "\"Unexpected opcode\"", "1", "1", "\"Unexpected opcode index\"", "3", "3", "\"Unexpected opcode\""], "File": "RISCVInstrInfo20", "Func": "commuteInstructionImpl", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 966, "Length": 481, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "bool", "function_call_info", "::", "function_returns_void_p", "(", ")", "{", "return", "TREE_TYPE", "(", "TREE_TYPE", "(", "fndecl", ")", ")", "==", "void_type_node", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "function", "has", "no", "return", "value", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "function_returns_void_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 967, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVTTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ",", "OptimizationRemarkEmitter", "*", "ORE", ")", "{", "bool", "UseDefaultPreferences", "=", "true", ";", "if", "(", "ST", "->", "getTuneCPU", "(", ")", ".", "contains", "(", "\"sifive-e76\"", ")", "||", "ST", "->", "getTuneCPU", "(", ")", ".", "contains", "(", "\"sifive-s76\"", ")", "||", "ST", "->", "getTuneCPU", "(", ")", ".", "contains", "(", "\"sifive-u74\"", ")", "||", "ST", "->", "getTuneCPU", "(", ")", ".", "contains", "(", "\"sifive-7\"", ")", ")", "UseDefaultPreferences", "=", "false", ";", "if", "(", "UseDefaultPreferences", ")", "return", "BasicTTIImplBase", "::", "getUnrollingPreferences", "(", "L", ",", "SE", ",", "UP", ",", "ORE", ")", ";", "UP", ".", "UpperBound", "=", "true", ";", "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", "(", "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", "*", ">", "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", ".", "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": ["RISCV", "RISCV", "\"sifive-e76\"", "\"sifive-s76\"", "\"sifive-u74\"", "\"sifive-7\"", "0", "0", "4", "\"Loop has:\\n\"", "\"Blocks: \"", "\"\\n\"", "\"Exit blocks: \"", "\"\\n\"", "2", "4", "\"llvm.loop.isvectorized\"", "0", "\"Cost of loop: \"", "\"\\n\"", "60", "12"], "File": "RISCVTargetTransformInfo18", "Func": "getUnrollingPreferences", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 968, "Length": 395, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDLoc", "DL", "(", "N", ")", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Don't know how to custom type legalize this operation!\"", ")", ";", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SRL", ":", "assert", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i32", "&&", "Subtarget", ".", "is64Bit", "(", ")", "&&", "\"Unexpected custom legalisation\"", ")", ";", "if", "(", "N", "->", "getOperand", "(", "1", ")", ".", "getOpcode", "(", ")", "==", "ISD", "::", "Constant", ")", "return", ";", "Results", ".", "push_back", "(", "customLegalizeToWOp", "(", "N", ",", "DAG", ")", ")", ";", "break", ";", "case", "ISD", "::", "SDIV", ":", "case", "ISD", "::", "UDIV", ":", "case", "ISD", "::", "UREM", ":", "assert", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i32", "&&", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Subtarget", ".", "hasStdExtM", "(", ")", "&&", "\"Unexpected custom legalisation\"", ")", ";", "if", "(", "N", "->", "getOperand", "(", "0", ")", ".", "getOpcode", "(", ")", "==", "ISD", "::", "Constant", "||", "N", "->", "getOperand", "(", "1", ")", ".", "getOpcode", "(", ")", "==", "ISD", "::", "Constant", ")", "return", ";", "Results", ".", "push_back", "(", "customLegalizeToWOp", "(", "N", ",", "DAG", ")", ")", ";", "break", ";", "case", "ISD", "::", "BITCAST", ":", "{", "assert", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i32", "&&", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Subtarget", ".", "hasStdExtF", "(", ")", "&&", "\"Unexpected custom legalisation\"", ")", ";", "SDLoc", "DL", "(", "N", ")", ";", "SDValue", "Op0", "=", "N", "->", "getOperand", "(", "0", ")", ";", "if", "(", "Op0", ".", "getValueType", "(", ")", "!=", "MVT", "::", "f32", ")", "return", ";", "SDValue", "FPConv", "=", "DAG", ".", "getNode", "(", "RISCVISD", "::", "FMV_X_ANYEXTW_RV64", ",", "DL", ",", "MVT", "::", "i64", ",", "Op0", ")", ";", "Results", ".", "push_back", "(", "DAG", ".", "getNode", "(", "ISD", "::", "TRUNCATE", ",", "DL", ",", "MVT", "::", "i32", ",", "FPConv", ")", ")", ";", "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": ["RISCV", "RISCV", "\"Don't know how to custom type legalize this operation!\"", "ISD::SHL", "ISD::SRA", "ISD::SRL", "0", "MVT::i32", "\"Unexpected custom legalisation\"", "1", "ISD::Constant", "ISD::SDIV", "ISD::UDIV", "ISD::UREM", "0", "MVT::i32", "\"Unexpected custom legalisation\"", "0", "ISD::Constant", "1", "ISD::Constant", "ISD::BITCAST", "0", "MVT::i32", "\"Unexpected custom legalisation\"", "0", "MVT::f32", "RISCVISD::FMV_X_ANYEXTW_RV64", "MVT::i64", "ISD::TRUNCATE", "MVT::i32"], "File": "RISCVISelLowering36", "Func": "ReplaceNodeResults", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 969, "Length": 316, "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", "::", "FeatureStdExtB", ")", ")", "Arch", "+=", "\"_b0p93\"", ";", "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", "::", "FeatureStdExtZbproposedc", ")", ")", "Arch", "+=", "\"_zbproposedc0p93\"", ";", "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::FeatureStdExtB", "\"_b0p93\"", "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::FeatureStdExtZbproposedc", "\"_zbproposedc0p93\"", "RISCV::FeatureStdExtZbr", "\"_zbr0p93\"", "RISCV::FeatureStdExtZbs", "\"_zbs0p93\"", "RISCV::FeatureStdExtZbt", "\"_zbt0p93\"", "RISCV::FeatureStdExtZvamo", "\"_zvamo0p10\"", "RISCV::FeatureStdExtZvlsseg", "\"_zvlsseg0p10\"", "RISCVAttrs::ARCH"], "File": "RISCVTargetStreamer17", "Func": "emitTargetAttributes", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 970, "Length": 412, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "RISCVTargetLowering", "::", "emitMaskedAtomicCmpXchgIntrinsic", "(", "IRBuilder", "<", ">", "&", "Builder", ",", "AtomicCmpXchgInst", "*", "CI", ",", "Value", "*", "AlignedAddr", ",", "Value", "*", "CmpVal", ",", "Value", "*", "NewVal", ",", "Value", "*", "Mask", ",", "AtomicOrdering", "Ord", ")", "const", "{", "Value", "*", "Ordering", "=", "Builder", ".", "getInt32", "(", "static_cast", "<", "uint32_t", ">", "(", "Ord", ")", ")", ";", "Type", "*", "Tys", "[", "]", "=", "{", "AlignedAddr", "->", "getType", "(", ")", "}", ";", "Function", "*", "MaskedCmpXchg", "=", "Intrinsic", "::", "getDeclaration", "(", "CI", "->", "getModule", "(", ")", ",", "Intrinsic", "::", "riscv_masked_cmpxchg_i32", ",", "Tys", ")", ";", "return", "Builder", ".", "CreateCall", "(", "MaskedCmpXchg", ",", "{", "AlignedAddr", ",", "CmpVal", ",", "NewVal", ",", "Mask", ",", "Ordering", "}", ")", ";", "}", ""], "natrual_language": ["Perform", "a", "masked", "cmpxchg", "using", "a", "target-specific", "intrinsic", "."], "TS_V_token": ["RISCV", "RISCV", "Intrinsic::getDeclaration", "Intrinsic::riscv_masked_cmpxchg_i32"], "File": "RISCVISelLowering29", "Func": "emitMaskedAtomicCmpXchgIntrinsic", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 971, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVFrameLowering", "::", "determineFrameLayout", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "auto", "*", "RVFI", "=", "MF", ".", "getInfo", "<", "RISCVMachineFunctionInfo", ">", "(", ")", ";", "uint64_t", "FrameSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "Align", "StackAlign", "=", "getStackAlign", "(", ")", ";", "FrameSize", "=", "alignTo", "(", "FrameSize", ",", "StackAlign", ")", ";", "MFI", ".", "setStackSize", "(", "FrameSize", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "if", "(", "RVFI", "->", "getRVVStackSize", "(", ")", "&&", "(", "!", "hasFP", "(", "MF", ")", "||", "TRI", "->", "hasStackRealignment", "(", "MF", ")", ")", ")", "{", "int", "ScalarLocalVarSize", "=", "FrameSize", "-", "RVFI", "->", "getCalleeSavedStackSize", "(", ")", "-", "RVFI", "->", "getVarArgsSaveSize", "(", ")", ";", "if", "(", "auto", "RVVPadding", "=", "offsetToAlignment", "(", "ScalarLocalVarSize", ",", "RVFI", "->", "getRVVStackAlign", "(", ")", ")", ")", "RVFI", "->", "setRVVPadding", "(", "RVVPadding", ")", ";", "}", "}", ""], "natrual_language": ["Determine", "the", "frame", "layout", "but", "do", "not", "update", "the", "machine", "function", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV"], "File": "RISCVFrameLowering (2)", "Func": "determineFrameLayout", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 972, "Length": 143, "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": ["RISCV", "RISCV"], "File": "RISCVTargetMachine1", "Func": "addRegBankSelect", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 973, "Length": 19, "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": ["RISCV"], "File": "RISCVISelLowering (2)2", "Func": "addLiveIn", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 974, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "RISCVTargetLowering", "::", "emitMaskedAtomicRMWIntrinsic", "(", "IRBuilder", "<", ">", "&", "Builder", ",", "AtomicRMWInst", "*", "AI", ",", "Value", "*", "AlignedAddr", ",", "Value", "*", "Incr", ",", "Value", "*", "Mask", ",", "Value", "*", "ShiftAmt", ",", "AtomicOrdering", "Ord", ")", "const", "{", "unsigned", "XLen", "=", "Subtarget", ".", "getXLen", "(", ")", ";", "Value", "*", "Ordering", "=", "Builder", ".", "getIntN", "(", "XLen", ",", "static_cast", "<", "uint64_t", ">", "(", "AI", "->", "getOrdering", "(", ")", ")", ")", ";", "Type", "*", "Tys", "[", "]", "=", "{", "AlignedAddr", "->", "getType", "(", ")", "}", ";", "Function", "*", "LrwOpScwLoop", "=", "Intrinsic", "::", "getDeclaration", "(", "AI", "->", "getModule", "(", ")", ",", "getIntrinsicForMaskedAtomicRMWBinOp", "(", "XLen", ",", "AI", "->", "getOperation", "(", ")", ")", ",", "Tys", ")", ";", "if", "(", "XLen", "==", "64", ")", "{", "Incr", "=", "Builder", ".", "CreateSExt", "(", "Incr", ",", "Builder", ".", "getInt64Ty", "(", ")", ")", ";", "Mask", "=", "Builder", ".", "CreateSExt", "(", "Mask", ",", "Builder", ".", "getInt64Ty", "(", ")", ")", ";", "ShiftAmt", "=", "Builder", ".", "CreateSExt", "(", "ShiftAmt", ",", "Builder", ".", "getInt64Ty", "(", ")", ")", ";", "}", "Value", "*", "Result", ";", "if", "(", "AI", "->", "getOperation", "(", ")", "==", "AtomicRMWInst", "::", "Min", "||", "AI", "->", "getOperation", "(", ")", "==", "AtomicRMWInst", "::", "Max", ")", "{", "const", "DataLayout", "&", "DL", "=", "AI", "->", "getModule", "(", ")", "->", "getDataLayout", "(", ")", ";", "unsigned", "ValWidth", "=", "DL", ".", "getTypeStoreSizeInBits", "(", "AI", "->", "getValOperand", "(", ")", "->", "getType", "(", ")", ")", ";", "Value", "*", "SextShamt", "=", "Builder", ".", "CreateSub", "(", "Builder", ".", "getIntN", "(", "XLen", ",", "XLen", "-", "ValWidth", ")", ",", "ShiftAmt", ")", ";", "Result", "=", "Builder", ".", "CreateCall", "(", "LrwOpScwLoop", ",", "{", "AlignedAddr", ",", "Incr", ",", "Mask", ",", "SextShamt", ",", "Ordering", "}", ")", ";", "}", "else", "{", "Result", "=", "Builder", ".", "CreateCall", "(", "LrwOpScwLoop", ",", "{", "AlignedAddr", ",", "Incr", ",", "Mask", ",", "Ordering", "}", ")", ";", "}", "if", "(", "XLen", "==", "64", ")", "Result", "=", "Builder", ".", "CreateTrunc", "(", "Result", ",", "Builder", ".", "getInt32Ty", "(", ")", ")", ";", "return", "Result", ";", "}", ""], "natrual_language": ["Perform", "a", "masked", "atomicrmw", "using", "a", "target-specific", "intrinsic", "."], "TS_V_token": ["RISCV", "RISCV", "Intrinsic::getDeclaration", "64", "64"], "File": "RISCVISelLowering", "Func": "emitMaskedAtomicRMWIntrinsic", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 975, "Length": 315, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DstReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "&", "RISCV", "::", "GPRRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "RISCV", "::", "LW", ")", ",", "DstReg", ")", ".", "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": ["RISCV", "RISCV", "RISCV::GPRRegClass", "RISCV::LW", "0", "\"Can't load this register from stack slot\""], "File": "RISCVInstrInfo33", "Func": "loadRegFromStackSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 976, "Length": 97, "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": 977, "Length": 462, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "isTruncateFree", "(", "EVT", "SrcVT", ",", "EVT", "DstVT", ")", "const", "{", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", "||", "SrcVT", ".", "isVector", "(", ")", "||", "DstVT", ".", "isVector", "(", ")", "||", "!", "SrcVT", ".", "isInteger", "(", ")", "||", "!", "DstVT", ".", "isInteger", "(", ")", ")", "return", "false", ";", "unsigned", "SrcBits", "=", "SrcVT", ".", "getSizeInBits", "(", ")", ";", "unsigned", "DestBits", "=", "DstVT", ".", "getSizeInBits", "(", ")", ";", "return", "(", "SrcBits", "==", "64", "&&", "DestBits", "==", "32", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "'s", "free", "to", "truncate", "a", "value", "of", "type", "Ty1", "to", "type", "Ty2", "."], "TS_V_token": ["RISCV", "RISCV", "64", "32"], "File": "RISCVISelLowering", "Func": "isTruncateFree", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 978, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "riscv_subword", "(", "rtx", "op", ",", "bool", "high_p", ")", "{", "unsigned", "int", "byte", "=", "high_p", "?", "UNITS_PER_WORD", ":", "0", ";", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "op", ")", ";", "if", "(", "mode", "==", "VOIDmode", ")", "mode", "=", "TARGET_64BIT", "?", "TImode", ":", "DImode", ";", "if", "(", "MEM_P", "(", "op", ")", ")", "return", "adjust_address", "(", "op", ",", "word_mode", ",", "byte", ")", ";", "if", "(", "REG_P", "(", "op", ")", ")", "gcc_assert", "(", "!", "FP_REG_RTX_P", "(", "op", ")", ")", ";", "return", "simplify_gen_subreg", "(", "word_mode", ",", "op", ",", "mode", ",", "byte", ")", ";", "}", ""], "natrual_language": ["Return", "one", "word", "of", "double-word", "value", "OP", ".", "HIGH_P", "is", "true", "to", "select", "the", "high", "part", "or", "false", "to", "select", "the", "low", "part", "."], "TS_V_token": ["riscv", "0"], "File": "riscv2", "Func": "riscv_subword", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 979, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "riscv_build_integer", "(", "struct", "riscv_integer_op", "*", "codes", ",", "HOST_WIDE_INT", "value", ",", "enum", "machine_mode", "mode", ")", "{", "int", "cost", "=", "riscv_build_integer_1", "(", "codes", ",", "value", ",", "mode", ")", ";", "if", "(", "value", ">", "0", "&&", "cost", ">", "2", ")", "{", "struct", "riscv_integer_op", "alt_codes", "[", "RISCV_MAX_INTEGER_OPS", "]", ";", "int", "alt_cost", ",", "shift", "=", "clz_hwi", "(", "value", ")", ";", "HOST_WIDE_INT", "shifted_val", ";", "shifted_val", "=", "(", "value", "<<", "shift", ")", "|", "(", "(", "(", "(", "HOST_WIDE_INT", ")", "1", ")", "<<", "shift", ")", "-", "1", ")", ";", "alt_cost", "=", "1", "+", "riscv_build_integer_1", "(", "alt_codes", ",", "shifted_val", ",", "mode", ")", ";", "if", "(", "alt_cost", "<", "cost", ")", "{", "alt_codes", "[", "alt_cost", "-", "1", "]", ".", "code", "=", "LSHIFTRT", ";", "alt_codes", "[", "alt_cost", "-", "1", "]", ".", "value", "=", "shift", ";", "memcpy", "(", "codes", ",", "alt_codes", ",", "sizeof", "(", "alt_codes", ")", ")", ";", "cost", "=", "alt_cost", ";", "}", "shifted_val", "=", "value", "<<", "shift", ";", "alt_cost", "=", "1", "+", "riscv_build_integer_1", "(", "alt_codes", ",", "shifted_val", ",", "mode", ")", ";", "if", "(", "alt_cost", "<", "cost", ")", "{", "alt_codes", "[", "alt_cost", "-", "1", "]", ".", "code", "=", "LSHIFTRT", ";", "alt_codes", "[", "alt_cost", "-", "1", "]", ".", "value", "=", "shift", ";", "memcpy", "(", "codes", ",", "alt_codes", ",", "sizeof", "(", "alt_codes", ")", ")", ";", "cost", "=", "alt_cost", ";", "}", "}", "return", "cost", ";", "}", ""], "natrual_language": ["Fill", "CODES", "with", "a", "sequence", "of", "rtl", "operations", "to", "load", "VALUE", ".", "Return", "the", "number", "of", "operations", "needed", "."], "TS_V_token": ["riscv", "0", "2", "1", "1", "1", "1", "1", "1", "1", "1"], "File": "riscv2", "Func": "riscv_build_integer", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 980, "Length": 212, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_file_start", "(", "void", ")", "{", "default_file_start", "(", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.option %spic\\n\"", ",", "(", "flag_pic", "?", "\"\"", ":", "\"no\"", ")", ")", ";", "if", "(", "!", "riscv_mrelax", ")", "fprintf", "(", "asm_out_file", ",", "\"\\t.option norelax\\n\"", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_FILE_START", "."], "TS_V_token": ["riscv", "\"\\t.option %spic\\n\"", "\"\"", "\"no\"", "\"\\t.option norelax\\n\""], "File": "riscv3", "Func": "riscv_file_start", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 981, "Length": 39, "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": 982, "Length": 16, "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": 983, "Length": 126, "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": 984, "Length": 343, "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": 985, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "function_expander", "::", "use_exact_insn", "(", "insn_code", "icode", ")", "{", "machine_mode", "mode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "exp", ")", ")", ";", "int", "arg_offset", "=", "0", ";", "if", "(", "base", "->", "use_mask_predication_p", "(", ")", ")", "{", "if", "(", "use_real_mask_p", "(", "pred", ")", ")", "add_input_operand", "(", "arg_offset", "++", ")", ";", "else", "add_all_one_mask_operand", "(", "mask_mode", "(", ")", ")", ";", "}", "if", "(", "!", "function_returns_void_p", "(", ")", "&&", "base", "->", "has_merge_operand_p", "(", ")", ")", "{", "if", "(", "use_real_merge_p", "(", "pred", ")", ")", "add_input_operand", "(", "arg_offset", "++", ")", ";", "else", "add_vundef_operand", "(", "mode", ")", ";", "}", "for", "(", "int", "argno", "=", "arg_offset", ";", "argno", "<", "call_expr_nargs", "(", "exp", ")", ";", "argno", "++", ")", "add_input_operand", "(", "argno", ")", ";", "if", "(", "base", "->", "apply_tail_policy_p", "(", ")", ")", "add_input_operand", "(", "Pmode", ",", "get_tail_policy_for_pred", "(", "pred", ")", ")", ";", "if", "(", "base", "->", "apply_mask_policy_p", "(", ")", ")", "add_input_operand", "(", "Pmode", ",", "get_mask_policy_for_pred", "(", "pred", ")", ")", ";", "if", "(", "base", "->", "apply_vl_p", "(", ")", ")", "add_input_operand", "(", "Pmode", ",", "get_avl_type_rtx", "(", "avl_type", "::", "NONVLMAX", ")", ")", ";", "return", "generate_insn", "(", "icode", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "call", "using", "instruction", "ICODE", ",", "with", "a", "1:1", "mapping", "between", "arguments", "and", "input", "operands", "."], "TS_V_token": ["riscv", "0"], "File": "riscv-vector-builtins", "Func": "use_exact_insn", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 986, "Length": 175, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_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", ",", "temp1", ",", "temp2", ",", "fnaddr", ";", "rtx_insn", "*", "insn", ";", "reload_completed", "=", "1", ";", "emit_note", "(", "NOTE_INSN_PROLOGUE_END", ")", ";", "fnaddr", "=", "gen_rtx_MEM", "(", "FUNCTION_MODE", ",", "XEXP", "(", "DECL_RTL", "(", "function", ")", ",", "0", ")", ")", ";", "temp1", "=", "gen_rtx_REG", "(", "Pmode", ",", "RISCV_PROLOGUE_TEMP_REGNUM", ")", ";", "temp2", "=", "gen_rtx_REG", "(", "Pmode", ",", "STATIC_CHAIN_REGNUM", ")", ";", "if", "(", "aggregate_value_p", "(", "TREE_TYPE", "(", "TREE_TYPE", "(", "function", ")", ")", ",", "function", ")", ")", "this_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "GP_ARG_FIRST", "+", "1", ")", ";", "else", "this_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "GP_ARG_FIRST", ")", ";", "if", "(", "delta", "!=", "0", ")", "{", "rtx", "offset", "=", "GEN_INT", "(", "delta", ")", ";", "if", "(", "!", "SMALL_OPERAND", "(", "delta", ")", ")", "{", "riscv_emit_move", "(", "temp1", ",", "offset", ")", ";", "offset", "=", "temp1", ";", "}", "emit_insn", "(", "gen_add3_insn", "(", "this_rtx", ",", "this_rtx", ",", "offset", ")", ")", ";", "}", "if", "(", "vcall_offset", "!=", "0", ")", "{", "rtx", "addr", ";", "riscv_emit_move", "(", "temp1", ",", "gen_rtx_MEM", "(", "Pmode", ",", "this_rtx", ")", ")", ";", "addr", "=", "riscv_add_offset", "(", "temp2", ",", "temp1", ",", "vcall_offset", ")", ";", "riscv_emit_move", "(", "temp1", ",", "gen_rtx_MEM", "(", "Pmode", ",", "addr", ")", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "this_rtx", ",", "this_rtx", ",", "temp1", ")", ")", ";", "}", "insn", "=", "emit_call_insn", "(", "gen_sibcall", "(", "fnaddr", ",", "const0_rtx", ",", "NULL", ",", "const0_rtx", ")", ")", ";", "SIBLING_CALL_P", "(", "insn", ")", "=", "1", ";", "insn", "=", "get_insns", "(", ")", ";", "split_all_insns_noflow", "(", ")", ";", "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", ".", "Generate", "rtl", "rather", "than", "asm", "text", "in", "order", "to", "avoid", "duplicating", "too", "much", "logic", "from", "elsewhere", "."], "TS_V_token": ["riscv", "1", "0", "1", "0", "0", "1", "1", "1", "0"], "File": "riscv", "Func": "riscv_output_mi_thunk", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 987, "Length": 314, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstrInfo", "::", "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", "Opcode", ";", "if", "(", "RISCV", "::", "GPRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "TRI", "->", "getRegSizeInBits", "(", "RISCV", "::", "GPRRegClass", ")", "==", "32", "?", "RISCV", "::", "SW", ":", "RISCV", "::", "SD", ";", "else", "if", "(", "RISCV", "::", "FPR32RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "RISCV", "::", "FSW", ";", "else", "if", "(", "RISCV", "::", "FPR64RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "RISCV", "::", "FSD", ";", "else", "if", "(", "RISCV", "::", "VGRRegClass", ".", "hasSubClassEq", "(", "RC", ")", "||", "RISCV", "::", "VPRRegClass", ".", "hasSubClassEq", "(", "RC", ")", "||", "RISCV", "::", "VQRRegClass", ".", "hasSubClassEq", "(", "RC", ")", "||", "RISCV", "::", "VORRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "RISCV", "::", "VSE_V_um", ";", "else", "llvm_unreachable", "(", "\"Can't store this register to stack slot\"", ")", ";", "if", "(", "Opcode", "==", "RISCV", "::", "VSE_V_um", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opcode", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "IsKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opcode", ")", ")", ".", "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": ["RISCV", "RISCV", "RISCV::GPRRegClass", "RISCV::GPRRegClass", "32", "RISCV::SW", "RISCV::SD", "RISCV::FPR32RegClass", "RISCV::FSW", "RISCV::FPR64RegClass", "RISCV::FSD", "RISCV::VGRRegClass", "RISCV::VPRRegClass", "RISCV::VQRRegClass", "RISCV::VORRegClass", "RISCV::VSE_V_um", "\"Can't store this register to stack slot\"", "RISCV::VSE_V_um", "0"], "File": "RISCVInstrInfo31", "Func": "storeRegToStackSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 988, "Length": 255, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"RISCV Redundant Copy Elimination\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["RISCV", "\"RISCV Redundant Copy Elimination\""], "File": "RISCVRedundantCopyElimination", "Func": "getPassName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 989, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emit_hard_vlmax_vsetvl", "(", "machine_mode", "vmode", ",", "rtx", "vl", ")", "{", "unsigned", "int", "sew", "=", "get_sew", "(", "vmode", ")", ";", "emit_insn", "(", "gen_vsetvl", "(", "Pmode", ",", "vl", ",", "RVV_VLMAX", ",", "gen_int_mode", "(", "sew", ",", "Pmode", ")", ",", "gen_int_mode", "(", "get_vlmul", "(", "vmode", ")", ",", "Pmode", ")", ",", "const0_rtx", ",", "const0_rtx", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "vlmax", "vsetvl", "instruction", ".", "This", "should", "only", "be", "used", "when", "optimization", "is", "disabled", "or", "after", "vsetvl", "insertion", "pass", "."], "TS_V_token": ["riscv"], "File": "riscv-v", "Func": "emit_hard_vlmax_vsetvl", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 990, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "riscv_binary_cost", "(", "rtx", "x", ",", "int", "single_insns", ",", "int", "double_insns", ")", "{", "if", "(", "!", "riscv_v_ext_vector_mode_p", "(", "GET_MODE", "(", "x", ")", ")", "&&", "GET_MODE_SIZE", "(", "GET_MODE", "(", "x", ")", ")", ".", "to_constant", "(", ")", "==", "UNITS_PER_WORD", "*", "2", ")", "return", "COSTS_N_INSNS", "(", "double_insns", ")", ";", "return", "COSTS_N_INSNS", "(", "single_insns", ")", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "binary", "operation", "X", ",", "given", "that", "the", "instruction", "sequence", "for", "a", "word-sized", "or", "smaller", "operation", "takes", "SIGNLE_INSNS", "instructions", "and", "that", "the", "sequence", "of", "a", "double-word", "operation", "takes", "DOUBLE_INSNS", "instructions", "."], "TS_V_token": ["riscv", "2"], "File": "riscv1", "Func": "riscv_binary_cost", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 991, "Length": 54, "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": 992, "Length": 274, "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": ["RISCV", "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": "RISCVISelLowering70", "Func": "computeKnownBitsForTargetNode", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 993, "Length": 275, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "riscv_split_symbol", "(", "rtx", "temp", ",", "rtx", "addr", ",", "machine_mode", "mode", ",", "rtx", "*", "low_out", ")", "{", "enum", "riscv_symbol_type", "symbol_type", ";", "if", "(", "(", "GET_CODE", "(", "addr", ")", "==", "HIGH", "&&", "mode", "==", "MAX_MACHINE_MODE", ")", "||", "!", "riscv_symbolic_constant_p", "(", "addr", ",", "&", "symbol_type", ")", "||", "riscv_symbol_insns", "(", "symbol_type", ")", "==", "0", "||", "!", "riscv_split_symbol_type", "(", "symbol_type", ")", ")", "return", "false", ";", "if", "(", "low_out", ")", "switch", "(", "symbol_type", ")", "{", "case", "SYMBOL_ABSOLUTE", ":", "{", "rtx", "high", "=", "gen_rtx_HIGH", "(", "Pmode", ",", "copy_rtx", "(", "addr", ")", ")", ";", "high", "=", "riscv_force_temporary", "(", "temp", ",", "high", ")", ";", "*", "low_out", "=", "gen_rtx_LO_SUM", "(", "Pmode", ",", "high", ",", "addr", ")", ";", "}", "break", ";", "case", "SYMBOL_PCREL", ":", "{", "static", "unsigned", "seqno", ";", "char", "buf", "[", "32", "]", ";", "rtx", "label", ";", "ssize_t", "bytes", "=", "snprintf", "(", "buf", ",", "sizeof", "(", "buf", ")", ",", "\".LA%u\"", ",", "seqno", ")", ";", "gcc_assert", "(", "(", "size_t", ")", "bytes", "<", "sizeof", "(", "buf", ")", ")", ";", "label", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "ggc_strdup", "(", "buf", ")", ")", ";", "SYMBOL_REF_FLAGS", "(", "label", ")", "|=", "SYMBOL_FLAG_LOCAL", ";", "if", "(", "!", "nonzero_address_p", "(", "addr", ")", ")", "SYMBOL_REF_WEAK", "(", "label", ")", "=", "1", ";", "if", "(", "temp", "==", "NULL", ")", "temp", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "if", "(", "Pmode", "==", "DImode", ")", "emit_insn", "(", "gen_auipcdi", "(", "temp", ",", "copy_rtx", "(", "addr", ")", ",", "GEN_INT", "(", "seqno", ")", ")", ")", ";", "else", "emit_insn", "(", "gen_auipcsi", "(", "temp", ",", "copy_rtx", "(", "addr", ")", ",", "GEN_INT", "(", "seqno", ")", ")", ")", ";", "*", "low_out", "=", "gen_rtx_LO_SUM", "(", "Pmode", ",", "temp", ",", "label", ")", ";", "seqno", "++", ";", "}", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["If", "MODE", "is", "MAX_MACHINE_MODE", ",", "ADDR", "appears", "as", "a", "move", "operand", ",", "otherwise", "it", "appears", "in", "a", "MEM", "of", "that", "mode", ".", "Return", "true", "if", "ADDR", "is", "a", "legitimate", "constant", "in", "that", "context", "and", "can", "be", "split", "into", "high", "and", "low", "parts", ".", "If", "so", ",", "and", "if", "LOW_OUT", "is", "nonnull", ",", "emit", "the", "high", "part", "and", "store", "the", "low", "part", "in", "*", "LOW_OUT", ".", "Leave", "*", "LOW_OUT", "unchanged", "otherwise", ".", "TEMP", "is", "as", "for", "riscv_force_temporary", "and", "is", "used", "to", "load", "the", "high", "part", "into", "a", "register", ".", "When", "MODE", "is", "MAX_MACHINE_MODE", ",", "the", "low", "part", "is", "guaranteed", "to", "be", "a", "legitimize", "SET_SRC", "for", "an", ".md", "pattern", ",", "otherwise", "the", "low", "part", "is", "guaranteed", "to", "be", "a", "legitimate", "address", "for", "mode", "MODE", "."], "TS_V_token": ["riscv", "0", "32", "\".LA%u\"", "1"], "File": "riscv4", "Func": "riscv_split_symbol", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 994, "Length": 277, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "riscv_force_temporary", "(", "rtx", "dest", ",", "rtx", "value", ")", "{", "if", "(", "can_create_pseudo_p", "(", ")", ")", "return", "force_reg", "(", "Pmode", ",", "value", ")", ";", "else", "{", "riscv_emit_move", "(", "dest", ",", "value", ")", ";", "return", "dest", ";", "}", "}", ""], "natrual_language": ["Copy", "VALUE", "to", "a", "register", "and", "return", "that", "register", ".", "If", "new", "pseudos", "are", "allowed", ",", "copy", "it", "into", "a", "new", "register", ",", "otherwise", "use", "DEST", "."], "TS_V_token": ["riscv"], "File": "riscv2", "Func": "riscv_force_temporary", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 995, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "RISCV_INSERT_VSETVLI_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVInsertVSETVLI", "Func": "getPassName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 996, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "riscv_hard_regno_mode_ok_p", "(", "unsigned", "int", "regno", ",", "enum", "machine_mode", "mode", ")", "{", "unsigned", "int", "nregs", "=", "riscv_hard_regno_nregs", "(", "regno", ",", "mode", ")", ";", "if", "(", "GP_REG_P", "(", "regno", ")", ")", "{", "if", "(", "!", "GP_REG_P", "(", "regno", "+", "nregs", "-", "1", ")", ")", "return", "false", ";", "}", "else", "if", "(", "FP_REG_P", "(", "regno", ")", ")", "{", "if", "(", "!", "FP_REG_P", "(", "regno", "+", "nregs", "-", "1", ")", ")", "return", "false", ";", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_FLOAT", "&&", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_COMPLEX_FLOAT", ")", "return", "false", ";", "if", "(", "GET_MODE_UNIT_SIZE", "(", "mode", ")", ">", "UNITS_PER_FP_REG", "||", "(", "!", "call_used_regs", "[", "regno", "]", "&&", "GET_MODE_UNIT_SIZE", "(", "mode", ")", ">", "UNITS_PER_FP_ARG", ")", ")", "return", "false", ";", "}", "else", "return", "false", ";", "for", "(", "unsigned", "i", "=", "1", ";", "i", "<", "nregs", ";", "i", "++", ")", "if", "(", "call_used_regs", "[", "regno", "]", "!=", "call_used_regs", "[", "regno", "+", "i", "]", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "register", "REGNO", "can", "store", "a", "value", "of", "mode", "MODE", "."], "TS_V_token": ["riscv", "1", "1", "1"], "File": "riscv2", "Func": "riscv_hard_regno_mode_ok_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 997, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "riscv_force_binary", "(", "machine_mode", "mode", ",", "enum", "rtx_code", "code", ",", "rtx", "x", ",", "rtx", "y", ")", "{", "return", "riscv_emit_binary", "(", "code", ",", "gen_reg_rtx", "(", "mode", ")", ",", "x", ",", "y", ")", ";", "}", ""], "natrual_language": ["Compute", "(", "CODE", "X", "Y", ")", "and", "store", "the", "result", "in", "a", "new", "register", "of", "mode", "MODE", ".", "Return", "that", "new", "register", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_force_binary", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 998, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVPassConfig", "::", "addPreEmitPass2", "(", ")", "{", "addPass", "(", "createRISCVExpandPseudoPass", "(", ")", ")", ";", "addPass", "(", "createRISCVExpandAtomicPseudoPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createRISCVExpandCoreVHwlpPseudoPass", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["Targets", "may", "add", "passes", "immediately", "before", "machine", "code", "is", "emitted", "in", "this", "callback", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCV", "RISCV"], "File": "RISCVTargetMachine2", "Func": "addPreEmitPass2", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 999, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVELFTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "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": ["RISCV", "RISCV", "\".sdata\"", "\".sbss\""], "File": "RISCVTargetObjectFile2", "Func": "Initialize", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1000, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_pass_aggregate_in_fpr_and_gpr_p", "(", "const_tree", "type", ",", "riscv_aggregate_field", "fields", "[", "2", "]", ")", "{", "unsigned", "num_int", "=", "0", ",", "num_float", "=", "0", ";", "int", "n", "=", "riscv_flatten_aggregate_argument", "(", "type", ",", "fields", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "n", ";", "i", "++", ")", "{", "num_float", "+=", "SCALAR_FLOAT_TYPE_P", "(", "fields", "[", "i", "]", ".", "type", ")", ";", "num_int", "+=", "INTEGRAL_TYPE_P", "(", "fields", "[", "i", "]", ".", "type", ")", ";", "}", "return", "num_int", "==", "1", "&&", "num_float", "==", "1", ";", "}", ""], "natrual_language": ["See", "whether", "TYPE", "is", "a", "record", "whose", "fields", "should", "be", "returned", "in", "one", "or", "floating-point", "register", "and", "one", "integer", "register", ".", "If", "so", ",", "populate", "FIELDS", "accordingly", "."], "TS_V_token": ["riscv", "2", "0", "0", "0", "1", "1"], "File": "riscv2", "Func": "riscv_pass_aggregate_in_fpr_and_gpr_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1001, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVInstrInfo", "::", "removeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "int", "*", "BytesRemoved", ")", "const", "{", "if", "(", "BytesRemoved", ")", "*", "BytesRemoved", "=", "0", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "end", "(", ")", ")", "return", "0", ";", "if", "(", "!", "I", "->", "getDesc", "(", ")", ".", "isUnconditionalBranch", "(", ")", "&&", "!", "I", "->", "getDesc", "(", ")", ".", "isConditionalBranch", "(", ")", ")", "return", "0", ";", "I", "->", "eraseFromParent", "(", ")", ";", "if", "(", "BytesRemoved", ")", "*", "BytesRemoved", "+=", "getInstSizeInBytes", "(", "*", "I", ")", ";", "I", "=", "MBB", ".", "end", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", ")", "return", "1", ";", "--", "I", ";", "if", "(", "!", "I", "->", "getDesc", "(", ")", ".", "isConditionalBranch", "(", ")", ")", "return", "1", ";", "I", "->", "eraseFromParent", "(", ")", ";", "if", "(", "BytesRemoved", ")", "*", "BytesRemoved", "+=", "getInstSizeInBytes", "(", "*", "I", ")", ";", "return", "2", ";", "}", ""], "natrual_language": ["Remove", "the", "branching", "code", "at", "the", "end", "of", "the", "specific", "MBB", "."], "TS_V_token": ["RISCV", "RISCV", "0", "0", "0", "1", "1", "2"], "File": "RISCVInstrInfo", "Func": "removeBranch", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1002, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "MCSubtargetInfo", "&", "NewSTI", "=", "OutStreamer", "->", "getContext", "(", ")", ".", "getSubtargetCopy", "(", "*", "TM", ".", "getMCSubtargetInfo", "(", ")", ")", ";", "NewSTI", ".", "setFeatureBits", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getFeatureBits", "(", ")", ")", ";", "STI", "=", "&", "NewSTI", ";", "SetupMachineFunction", "(", "MF", ")", ";", "emitFunctionBody", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVAsmPrinter1", "Func": "runOnMachineFunction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1003, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstrInfo", "::", "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", "(", "RISCV", "::", "GPRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "RISCV", "::", "SW", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "IsKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "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": ["RISCV", "RISCV", "RISCV::GPRRegClass", "RISCV::SW", "0", "\"Can't store this register to stack slot\""], "File": "RISCVInstrInfo17", "Func": "storeRegToStackSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1004, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_reorg", "(", "void", ")", "{", "if", "(", "TARGET_SAVE_RESTORE", ")", "riscv_remove_unneeded_save_restore_calls", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MACHINE_DEPENDENT_REORG", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_reorg", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1005, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_block_move_loop", "(", "rtx", "dest", ",", "rtx", "src", ",", "unsigned", "HOST_WIDE_INT", "length", ",", "unsigned", "HOST_WIDE_INT", "bytes_per_iter", ")", "{", "rtx", "label", ",", "src_reg", ",", "dest_reg", ",", "final_src", ",", "test", ";", "unsigned", "HOST_WIDE_INT", "leftover", ";", "leftover", "=", "length", "%", "bytes_per_iter", ";", "length", "-=", "leftover", ";", "riscv_adjust_block_mem", "(", "src", ",", "bytes_per_iter", ",", "&", "src_reg", ",", "&", "src", ")", ";", "riscv_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", ")", ";", "label", "=", "gen_label_rtx", "(", ")", ";", "emit_label", "(", "label", ")", ";", "riscv_block_move_straight", "(", "dest", ",", "src", ",", "bytes_per_iter", ")", ";", "riscv_emit_move", "(", "src_reg", ",", "plus_constant", "(", "Pmode", ",", "src_reg", ",", "bytes_per_iter", ")", ")", ";", "riscv_emit_move", "(", "dest_reg", ",", "plus_constant", "(", "Pmode", ",", "dest_reg", ",", "bytes_per_iter", ")", ")", ";", "test", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "src_reg", ",", "final_src", ")", ";", "if", "(", "Pmode", "==", "DImode", ")", "emit_jump_insn", "(", "gen_cbranchdi4", "(", "test", ",", "src_reg", ",", "final_src", ",", "label", ")", ")", ";", "else", "emit_jump_insn", "(", "gen_cbranchsi4", "(", "test", ",", "src_reg", ",", "final_src", ",", "label", ")", ")", ";", "if", "(", "leftover", ")", "riscv_block_move_straight", "(", "dest", ",", "src", ",", "leftover", ")", ";", "else", "emit_insn", "(", "gen_nop", "(", ")", ")", ";", "}", ""], "natrual_language": ["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": ["riscv", "0", "0"], "File": "riscv1", "Func": "riscv_block_move_loop", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1006, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "RISCVSubtarget", "&", "RISCVSubtarget", "::", "initializeSubtargetDependencies", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "TuneCPU", ",", "StringRef", "FS", ",", "StringRef", "ABIName", ")", "{", "bool", "Is64Bit", "=", "TT", ".", "isArch64Bit", "(", ")", ";", "if", "(", "CPU", ".", "empty", "(", ")", ")", "CPU", "=", "Is64Bit", "?", "\"generic-rv64\"", ":", "\"generic-rv32\"", ";", "if", "(", "CPU", "==", "\"generic\"", ")", "report_fatal_error", "(", "Twine", "(", "\"CPU 'generic' is not supported. Use \"", ")", "+", "(", "Is64Bit", "?", "\"generic-rv64\"", ":", "\"generic-rv32\"", ")", ")", ";", "if", "(", "TuneCPU", ".", "empty", "(", ")", ")", "TuneCPU", "=", "CPU", ";", "ParseSubtargetFeatures", "(", "CPU", ",", "TuneCPU", ",", "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\"", "\"generic\"", "\"CPU 'generic' is not supported. Use \"", "\"generic-rv64\"", "\"generic-rv32\"", "MVT::i64", "64", "RISCVABI::computeTargetABI", "RISCVFeatures::validate"], "File": "RISCVSubtarget", "Func": "initializeSubtargetDependencies", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1007, "Length": 139, "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", "->", "getELEN", "(", ")", ")", "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": "RISCVTargetTransformInfo10", "Func": "getArithmeticReductionCost", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1008, "Length": 268, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "getSetCCResultType", "(", "const", "DataLayout", "&", ",", "LLVMContext", "&", ",", "EVT", "VT", ")", "const", "override", "{", "return", "MVT", "::", "i32", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["RISCV", "MVT::i32"], "File": "RISCVISelLowering (2)1", "Func": "getSetCCResultType", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1009, "Length": 22, "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": 1010, "Length": 463, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVTargetStreamer", "::", "reset", "(", ")", "{", "}", ""], "natrual_language": ["Reset", "an", "existing", "scalar", "value", "for", "Def", "and", "a", "given", "Instance", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVTargetStreamer (2)", "Func": "reset", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1011, "Length": 8, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_legitimate_constant_p", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ")", "{", "return", "riscv_const_insns", "(", "x", ")", ">", "0", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LEGITIMATE_CONSTANT_P", "."], "TS_V_token": ["riscv", "0"], "File": "riscv", "Func": "riscv_legitimate_constant_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1012, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "riscv_const_insns", "(", "rtx", "x", ")", "{", "enum", "riscv_symbol_type", "symbol_type", ";", "rtx", "offset", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "HIGH", ":", "if", "(", "!", "riscv_symbolic_constant_p", "(", "XEXP", "(", "x", ",", "0", ")", ",", "&", "symbol_type", ")", "||", "!", "riscv_split_symbol_type", "(", "symbol_type", ")", ")", "return", "0", ";", "return", "1", ";", "case", "CONST_INT", ":", "{", "int", "cost", "=", "riscv_integer_cost", "(", "INTVAL", "(", "x", ")", ")", ";", "return", "cost", "<", "4", "?", "cost", ":", "0", ";", "}", "case", "CONST_DOUBLE", ":", "case", "CONST_VECTOR", ":", "return", "x", "==", "CONST0_RTX", "(", "GET_MODE", "(", "x", ")", ")", "?", "1", ":", "0", ";", "case", "CONST", ":", "if", "(", "riscv_symbolic_constant_p", "(", "x", ",", "&", "symbol_type", ")", ")", "return", "riscv_symbol_insns", "(", "symbol_type", ")", ";", "split_const", "(", "x", ",", "&", "x", ",", "&", "offset", ")", ";", "if", "(", "offset", "!=", "0", ")", "{", "int", "n", "=", "riscv_const_insns", "(", "x", ")", ";", "if", "(", "n", "!=", "0", ")", "return", "n", "+", "riscv_integer_cost", "(", "INTVAL", "(", "offset", ")", ")", ";", "}", "return", "0", ";", "case", "SYMBOL_REF", ":", "case", "LABEL_REF", ":", "return", "riscv_symbol_insns", "(", "riscv_classify_symbol", "(", "x", ")", ")", ";", "default", ":", "return", "0", ";", "}", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "needed", "to", "load", "constant", "X", ".", "Return", "0", "if", "X", "is", "n't", "a", "valid", "constant", "."], "TS_V_token": ["riscv", "0", "0", "1", "4", "0", "1", "0", "0", "0", "0", "0"], "File": "riscv", "Func": "riscv_const_insns", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1013, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", "RISCVInstrInfo", "::", "decomposeMachineOperandsTargetFlags", "(", "unsigned", "TF", ")", "const", "{", "const", "unsigned", "Mask", "=", "RISCVII", "::", "MO_DIRECT_FLAG_MASK", ";", "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": ["RISCV", "RISCV", "RISCVII::MO_DIRECT_FLAG_MASK"], "File": "RISCVInstrInfo (2)", "Func": "decomposeMachineOperandsTargetFlags", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1014, "Length": 41, "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": ["RISCV", "RISCV"], "File": "RISCVTargetMachine1", "Func": "addLegalizeMachineIR", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1015, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "RISCVSubtarget", "&", "RISCVSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "std", "::", "string", "CPUName", "=", "CPU", ";", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "{", "CPUName", "=", "\"\"", ";", "}", "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": ["RISCV", "RISCV", "RISCV", "\"\""], "File": "RISCVSubtarget (2)1", "Func": "initializeSubtargetDependencies", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1016, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVMergeBaseOffsetOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "if", "(", "skipFunction", "(", "Fn", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "ST", "=", "&", "Fn", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "bool", "MadeChange", "=", "false", ";", "DeadInstrs", ".", "clear", "(", ")", ";", "MRI", "=", "&", "Fn", ".", "getRegInfo", "(", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "Fn", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"MBB: \"", "<<", "MBB", ".", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "for", "(", "MachineInstr", "&", "HiLUI", ":", "MBB", ")", "{", "MachineInstr", "*", "LoADDI", "=", "nullptr", ";", "if", "(", "!", "detectLuiAddiGlobal", "(", "HiLUI", ",", "LoADDI", ")", ")", "continue", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\" Found lowered global address with one use: \"", "<<", "*", "LoADDI", "->", "getOperand", "(", "2", ")", ".", "getGlobal", "(", ")", "<<", "\"\\n\"", ")", ";", "MadeChange", "|=", "detectAndFoldOffset", "(", "HiLUI", ",", "*", "LoADDI", ")", ";", "}", "}", "for", "(", "auto", "*", "MI", ":", "DeadInstrs", ")", "MI", "->", "eraseFromParent", "(", ")", ";", "return", "MadeChange", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "\"MBB: \"", "\"\\n\"", "\" Found lowered global address with one use: \"", "2", "\"\\n\""], "File": "RISCVMergeBaseOffset4", "Func": "runOnMachineFunction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1017, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMLoc", "getLoc", "(", ")", "const", "{", "return", "getParser", "(", ")", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "}", ""], "natrual_language": ["Get", "the", "source", "location", "of", "the", "point", "where", "the", "field", "was", "defined", "."], "TS_V_token": ["RISCV"], "File": "RISCVAsmParser (2)", "Func": "getLoc", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1018, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVInstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "{", "return", "get", "(", "Opcode", ")", ".", "getSize", "(", ")", ";", "}", "case", "TargetOpcode", "::", "EH_LABEL", ":", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "KILL", ":", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "return", "0", ";", "case", "RISCV", "::", "PseudoCALL", ":", "case", "RISCV", "::", "PseudoTAIL", ":", "return", "8", ";", "case", "TargetOpcode", "::", "INLINEASM", ":", "case", "TargetOpcode", "::", "INLINEASM_BR", ":", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "auto", "&", "TM", "=", "static_cast", "<", "const", "RISCVTargetMachine", "&", ">", "(", "MF", ".", "getTarget", "(", ")", ")", ";", "return", "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": ["RISCV", "RISCV", "0", "RISCV::PseudoCALL", "RISCV::PseudoTAIL", "8", "RISCV", "0"], "File": "RISCVInstrInfo47", "Func": "getInstSizeInBytes", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1019, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "function_instance", "::", "modifies_global_state_p", "(", ")", "const", "{", "unsigned", "int", "flags", "=", "call_properties", "(", ")", ";", "if", "(", "flags", "&", "CP_RAISE_FP_EXCEPTIONS", ")", "return", "true", ";", "return", "flags", "&", "(", "CP_WRITE_MEMORY", "|", "CP_WRITE_CSR", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "calls", "to", "the", "function", "could", "modify", "some", "form", "of", "global", "state", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "modifies_global_state_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1020, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVFrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "std", "::", "vector", "<", "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", "(", ")", ";", "const", "auto", "&", "NonLibcallCSI", "=", "getNonLibcallCSI", "(", "CSI", ")", ";", "for", "(", "auto", "&", "CS", ":", "reverse", "(", "NonLibcallCSI", ")", ")", "{", "Register", "Reg", "=", "CS", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "TII", ".", "loadRegFromStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "CS", ".", "getFrameIdx", "(", ")", ",", "RC", ",", "TRI", ")", ";", "assert", "(", "MI", "!=", "MBB", ".", "begin", "(", ")", "&&", "\"loadRegFromStackSlot didn't insert any code!\"", ")", ";", "}", "const", "char", "*", "RestoreLibCall", "=", "getRestoreLibCallName", "(", "*", "MF", ",", "CSI", ")", ";", "if", "(", "RestoreLibCall", ")", "{", "MachineBasicBlock", "::", "iterator", "NewMI", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "RISCV", "::", "PseudoTAIL", ")", ")", ".", "addExternalSymbol", "(", "RestoreLibCall", ",", "RISCVII", "::", "MO_CALL", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameDestroy", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", "&&", "MI", "->", "getOpcode", "(", ")", "==", "RISCV", "::", "PseudoRET", ")", "{", "NewMI", "->", "copyImplicitOps", "(", "*", "MF", ",", "*", "MI", ")", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "}", "}", "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": ["RISCV", "RISCV", "\"loadRegFromStackSlot didn't insert any code!\"", "RISCV::PseudoTAIL", "RISCVII::MO_CALL", "RISCV::PseudoRET"], "File": "RISCVFrameLowering29", "Func": "restoreCalleeSavedRegisters", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1021, "Length": 274, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_function_arg_advance", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "struct", "riscv_arg_info", "info", ";", "riscv_get_arg_info", "(", "&", "info", ",", "cum", ",", "arg", ".", "mode", ",", "arg", ".", "type", ",", "arg", ".", "named", ",", "false", ")", ";", "cum", "->", "num_fprs", "=", "info", ".", "fpr_offset", "+", "info", ".", "num_fprs", ";", "cum", "->", "num_gprs", "=", "info", ".", "gpr_offset", "+", "info", ".", "num_gprs", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_ARG_ADVANCE", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_function_arg_advance", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1022, "Length": 73, "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", ")", ";", "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", "(", "MFI", ".", "getCalleeSavedInfo", "(", ")", ")", ";", "auto", "LastFrameDestroy", "=", "MBBI", ";", "if", "(", "!", "CSI", ".", "empty", "(", ")", ")", "LastFrameDestroy", "=", "std", "::", "prev", "(", "MBBI", ",", "CSI", ".", "size", "(", ")", ")", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "uint64_t", "RealStackSize", "=", "StackSize", "+", "RVFI", "->", "getLibCallStackSize", "(", ")", ";", "uint64_t", "FPOffset", "=", "RealStackSize", "-", "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", ")", ";", "}", "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", ")", ";", "}", ""], "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": "RISCVFrameLowering19", "Func": "emitEpilogue", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1023, "Length": 371, "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": ["RISCV", "\"Invalid type access!\""], "File": "RISCVAsmParser (2)", "Func": "getReg", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1024, "Length": 28, "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": 1025, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RISCVSubtarget", "*", "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": ["RISCV", "RISCV"], "File": "RISCVTargetMachine (2)1", "Func": "getSubtargetImpl", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1026, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "riscv_pass_mode_in_fpr_p", "(", "enum", "machine_mode", "mode", ")", "{", "if", "(", "GET_MODE_UNIT_SIZE", "(", "mode", ")", "<=", "UNITS_PER_FP_ARG", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", ")", "return", "1", ";", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_FLOAT", ")", "return", "2", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["If", "MODE", "represents", "an", "argument", "that", "can", "be", "passed", "or", "returned", "in", "floating-point", "registers", ",", "return", "the", "number", "of", "registers", ",", "else", "0", "."], "TS_V_token": ["riscv", "1", "2", "0"], "File": "riscv2", "Func": "riscv_pass_mode_in_fpr_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1027, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVFrameLowering", "::", "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": ["RISCV", "RISCV"], "File": "RISCVFrameLowering24", "Func": "hasFP", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1028, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVInstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "{", "if", "(", "MI", ".", "getParent", "(", ")", "&&", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ")", "{", "const", "auto", "MF", "=", "MI", ".", "getMF", "(", ")", ";", "const", "auto", "&", "TM", "=", "static_cast", "<", "const", "RISCVTargetMachine", "&", ">", "(", "MF", "->", "getTarget", "(", ")", ")", ";", "const", "MCRegisterInfo", "&", "MRI", "=", "*", "TM", ".", "getMCRegisterInfo", "(", ")", ";", "const", "MCSubtargetInfo", "&", "STI", "=", "*", "TM", ".", "getMCSubtargetInfo", "(", ")", ";", "const", "RISCVSubtarget", "&", "ST", "=", "MF", "->", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "if", "(", "isCompressibleInst", "(", "MI", ",", "&", "ST", ",", "MRI", ",", "STI", ")", ")", "return", "2", ";", "}", "return", "get", "(", "Opcode", ")", ".", "getSize", "(", ")", ";", "}", "case", "TargetOpcode", "::", "EH_LABEL", ":", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "KILL", ":", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "return", "0", ";", "case", "RISCV", "::", "PseudoCALLReg", ":", "case", "RISCV", "::", "PseudoCALL", ":", "case", "RISCV", "::", "PseudoJump", ":", "case", "RISCV", "::", "PseudoTAIL", ":", "case", "RISCV", "::", "PseudoLLA", ":", "case", "RISCV", "::", "PseudoLA", ":", "case", "RISCV", "::", "PseudoLA_TLS_IE", ":", "case", "RISCV", "::", "PseudoLA_TLS_GD", ":", "return", "8", ";", "case", "TargetOpcode", "::", "INLINEASM", ":", "case", "TargetOpcode", "::", "INLINEASM_BR", ":", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "auto", "&", "TM", "=", "static_cast", "<", "const", "RISCVTargetMachine", "&", ">", "(", "MF", ".", "getTarget", "(", ")", ")", ";", "return", "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": ["RISCV", "RISCV", "RISCV", "RISCV", "RISCV", "2", "0", "RISCV::PseudoCALLReg", "RISCV::PseudoCALL", "RISCV::PseudoJump", "RISCV::PseudoTAIL", "RISCV::PseudoLLA", "RISCV::PseudoLA", "RISCV::PseudoLA_TLS_IE", "RISCV::PseudoLA_TLS_GD", "8", "RISCV", "0"], "File": "RISCVInstrInfo29", "Func": "getInstSizeInBytes", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1029, "Length": 281, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVAsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", "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": "RISCVAsmBackend18", "Func": "applyFixup", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1030, "Length": 28, "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", ")", ")", "{", "int64_t", "Imm", ";", "if", "(", "Size", "==", "2", ")", "Imm", "=", "Inst", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "else", "Imm", "=", "Inst", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "Target", "=", "Addr", "+", "Imm", ";", "return", "true", ";", "}", "if", "(", "Inst", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "C_JAL", "||", "Inst", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "C_J", "||", "Inst", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "C_CJAL", ")", "{", "Target", "=", "Addr", "+", "Inst", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "return", "true", ";", "}", "if", "(", "Inst", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "JAL", "||", "Inst", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "CJAL", ")", "{", "Target", "=", "Addr", "+", "Inst", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Given", "a", "branch", "instruction", "try", "to", "get", "the", "address", "the", "branch", "targets", "."], "TS_V_token": ["RISCV", "2", "1", "2", "RISCV::C_JAL", "RISCV::C_J", "RISCV::C_CJAL", "0", "RISCV::JAL", "RISCV::CJAL", "1"], "File": "RISCVMCTargetDesc23", "Func": "evaluateBranch", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1031, "Length": 173, "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": 1032, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmBackend", "::", "shouldForceRelocation", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ")", "{", "bool", "ShouldForce", "=", "false", ";", "switch", "(", "(", "unsigned", ")", "Fixup", ".", "getKind", "(", ")", ")", "{", "default", ":", "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", "(", "(", "unsigned", ")", "T", "->", "getKind", "(", ")", ")", "{", "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": "RISCVAsmBackend16", "Func": "shouldForceRelocation", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1033, "Length": 210, "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": 1034, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_is_eh_return_data_register", "(", "unsigned", "int", "regno", ")", "{", "unsigned", "int", "i", ",", "regnum", ";", "if", "(", "!", "crtl", "->", "calls_eh_return", ")", "return", "false", ";", "for", "(", "i", "=", "0", ";", "(", "regnum", "=", "EH_RETURN_DATA_REGNO", "(", "i", ")", ")", "!=", "INVALID_REGNUM", ";", "i", "++", ")", "if", "(", "regno", "==", "regnum", ")", "{", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "provided", "REGNO", "is", "eh", "return", "data", "register", "."], "TS_V_token": ["riscv", "0"], "File": "riscv1", "Func": "riscv_is_eh_return_data_register", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1035, "Length": 60, "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": 1036, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "riscv_return_addr", "(", "int", "count", ",", "rtx", "frame", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "count", "!=", "0", ")", "return", "const0_rtx", ";", "return", "get_hard_reg_initial_val", "(", "Pmode", ",", "RETURN_ADDR_REGNUM", ")", ";", "}", ""], "natrual_language": ["Implement", "RETURN_ADDR_RTX", ".", "We", "do", "not", "support", "moving", "back", "to", "a", "previous", "frame", "."], "TS_V_token": ["riscv", "0"], "File": "riscv", "Func": "riscv_return_addr", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1037, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_for_each_saved_reg", "(", "HOST_WIDE_INT", "sp_offset", ",", "riscv_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", "-", "1", ";", "regno", "++", ")", "if", "(", "BITSET_P", "(", "cfun", "->", "machine", "->", "frame", ".", "mask", ",", "regno", "-", "GP_REG_FIRST", ")", ")", "{", "riscv_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", ")", ")", "{", "enum", "machine_mode", "mode", "=", "TARGET_DOUBLE_FLOAT", "?", "DFmode", ":", "SFmode", ";", "riscv_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": ["riscv", "1"], "File": "riscv2", "Func": "riscv_for_each_saved_reg", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1038, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_file_start", "(", "void", ")", "{", "default_file_start", "(", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.option %spic\\n\"", ",", "(", "flag_pic", "?", "\"\"", ":", "\"no\"", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_FILE_START", "."], "TS_V_token": ["riscv", "\"\\t.option %spic\\n\"", "\"\"", "\"no\""], "File": "riscv2", "Func": "riscv_file_start", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1039, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVInstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "{", "if", "(", "MI", ".", "getParent", "(", ")", "&&", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ")", "{", "const", "auto", "MF", "=", "MI", ".", "getMF", "(", ")", ";", "const", "auto", "&", "TM", "=", "static_cast", "<", "const", "RISCVTargetMachine", "&", ">", "(", "MF", "->", "getTarget", "(", ")", ")", ";", "const", "MCRegisterInfo", "&", "MRI", "=", "*", "TM", ".", "getMCRegisterInfo", "(", ")", ";", "const", "MCSubtargetInfo", "&", "STI", "=", "*", "TM", ".", "getMCSubtargetInfo", "(", ")", ";", "const", "RISCVSubtarget", "&", "ST", "=", "MF", "->", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "if", "(", "isCompressibleInst", "(", "MI", ",", "&", "ST", ",", "MRI", ",", "STI", ")", ")", "return", "2", ";", "}", "return", "get", "(", "Opcode", ")", ".", "getSize", "(", ")", ";", "}", "case", "TargetOpcode", "::", "EH_LABEL", ":", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "KILL", ":", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "return", "0", ";", "case", "RISCV", "::", "PseudoCALLReg", ":", "case", "RISCV", "::", "PseudoCALL", ":", "case", "RISCV", "::", "PseudoJump", ":", "case", "RISCV", "::", "PseudoTAIL", ":", "case", "RISCV", "::", "PseudoLLA", ":", "case", "RISCV", "::", "PseudoLA", ":", "case", "RISCV", "::", "PseudoLA_TLS_IE", ":", "case", "RISCV", "::", "PseudoLA_TLS_GD", ":", "return", "8", ";", "case", "RISCV", "::", "PseudoAtomicLoadNand32", ":", "case", "RISCV", "::", "PseudoAtomicLoadNand64", ":", "return", "20", ";", "case", "RISCV", "::", "PseudoMaskedAtomicSwap32", ":", "case", "RISCV", "::", "PseudoMaskedAtomicLoadAdd32", ":", "case", "RISCV", "::", "PseudoMaskedAtomicLoadSub32", ":", "return", "28", ";", "case", "RISCV", "::", "PseudoMaskedAtomicLoadNand32", ":", "return", "32", ";", "case", "RISCV", "::", "PseudoMaskedAtomicLoadMax32", ":", "case", "RISCV", "::", "PseudoMaskedAtomicLoadMin32", ":", "return", "44", ";", "case", "RISCV", "::", "PseudoMaskedAtomicLoadUMax32", ":", "case", "RISCV", "::", "PseudoMaskedAtomicLoadUMin32", ":", "return", "36", ";", "case", "RISCV", "::", "PseudoCmpXchg32", ":", "case", "RISCV", "::", "PseudoCmpXchg64", ":", "return", "16", ";", "case", "RISCV", "::", "PseudoMaskedCmpXchg32", ":", "return", "32", ";", "case", "TargetOpcode", "::", "INLINEASM", ":", "case", "TargetOpcode", "::", "INLINEASM_BR", ":", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "auto", "&", "TM", "=", "static_cast", "<", "const", "RISCVTargetMachine", "&", ">", "(", "MF", ".", "getTarget", "(", ")", ")", ";", "return", "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": ["RISCV", "RISCV", "RISCV", "RISCV", "RISCV", "2", "0", "RISCV::PseudoCALLReg", "RISCV::PseudoCALL", "RISCV::PseudoJump", "RISCV::PseudoTAIL", "RISCV::PseudoLLA", "RISCV::PseudoLA", "RISCV::PseudoLA_TLS_IE", "RISCV::PseudoLA_TLS_GD", "8", "RISCV::PseudoAtomicLoadNand32", "RISCV::PseudoAtomicLoadNand64", "20", "RISCV::PseudoMaskedAtomicSwap32", "RISCV::PseudoMaskedAtomicLoadAdd32", "RISCV::PseudoMaskedAtomicLoadSub32", "28", "RISCV::PseudoMaskedAtomicLoadNand32", "32", "RISCV::PseudoMaskedAtomicLoadMax32", "RISCV::PseudoMaskedAtomicLoadMin32", "44", "RISCV::PseudoMaskedAtomicLoadUMax32", "RISCV::PseudoMaskedAtomicLoadUMin32", "36", "RISCV::PseudoCmpXchg32", "RISCV::PseudoCmpXchg64", "16", "RISCV::PseudoMaskedCmpXchg32", "32", "RISCV", "0"], "File": "RISCVInstrInfo11", "Func": "getInstSizeInBytes", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1040, "Length": 367, "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", ";", "if", "(", "RISCVABI", "::", "isCheriPureCapABI", "(", "STI", ".", "getTargetABI", "(", ")", ")", ")", "RC", "=", "&", "RISCV", "::", "GPCRRegClass", ";", "else", "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", "RISCVABI::isCheriPureCapABI", "RISCV::GPCRRegClass", "RISCV::GPRRegClass", "RISCV", "RISCV", "RISCV", "11", "0", "0", "0", "8", "0"], "File": "RISCVFrameLowering21", "Func": "processFunctionBeforeFrameFinalized", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1041, "Length": 344, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVInstrInfo", "::", "analyzeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "&", "TBB", ",", "MachineBasicBlock", "*", "&", "FBB", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "bool", "AllowModify", ")", "const", "{", "TBB", "=", "FBB", "=", "nullptr", ";", "Cond", ".", "clear", "(", ")", ";", "auto", "*", "RVFI", "=", "MBB", ".", "getParent", "(", ")", "->", "getInfo", "<", "RISCVMachineFunctionInfo", ">", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "end", "(", ")", "||", "!", "isUnpredicatedTerminator", "(", "*", "I", ")", ")", "return", "RVFI", "->", "isHwlpBasicBlock", "(", "MBB", ".", "getNextNode", "(", ")", ")", ";", "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", "=", "getBranchDestBlock", "(", "*", "I", ")", ";", "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", "=", "getBranchDestBlock", "(", "*", "I", ")", ";", "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": ["RISCV", "RISCV", "RISCV", "0", "2", "1", "1", "2"], "File": "RISCVInstrInfo2", "Func": "analyzeBranch", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1042, "Length": 377, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "struct", "riscv_cpu_info", "*", "riscv_parse_cpu", "(", "const", "char", "*", "cpu_string", ")", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "riscv_cpu_info_table", ")", ";", "i", "++", ")", "if", "(", "strcmp", "(", "riscv_cpu_info_table", "[", "i", "]", ".", "name", ",", "cpu_string", ")", "==", "0", ")", "return", "riscv_cpu_info_table", "+", "i", ";", "error", "(", "\"unknown cpu %qs for %<-mtune%>\"", ",", "cpu_string", ")", ";", "return", "riscv_cpu_info_table", ";", "}", ""], "natrual_language": ["Return", "the", "riscv_cpu_info", "entry", "for", "the", "given", "name", "string", "."], "TS_V_token": ["riscv", "0", "0", "\"unknown cpu %qs for %<-mtune%>\""], "File": "riscv", "Func": "riscv_parse_cpu", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1043, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "unsigned", "Opcode", "=", "Node", "->", "getOpcode", "(", ")", ";", "MVT", "XLenVT", "=", "Subtarget", "->", "getXLenVT", "(", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"== \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "Node", "->", "setNodeId", "(", "-", "1", ")", ";", "return", ";", "}", "EVT", "VT", "=", "Node", "->", "getValueType", "(", "0", ")", ";", "if", "(", "Opcode", "==", "ISD", "::", "Constant", "&&", "VT", "==", "XLenVT", ")", "{", "auto", "*", "ConstNode", "=", "cast", "<", "ConstantSDNode", ">", "(", "Node", ")", ";", "if", "(", "ConstNode", "->", "isNullValue", "(", ")", ")", "{", "SDValue", "New", "=", "CurDAG", "->", "getCopyFromReg", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "SDLoc", "(", "Node", ")", ",", "RISCV", "::", "X0", ",", "XLenVT", ")", ";", "ReplaceNode", "(", "Node", ",", "New", ".", "getNode", "(", ")", ")", ";", "return", ";", "}", "}", "if", "(", "Opcode", "==", "ISD", "::", "FrameIndex", ")", "{", "SDLoc", "DL", "(", "Node", ")", ";", "SDValue", "Imm", "=", "CurDAG", "->", "getTargetConstant", "(", "0", ",", "DL", ",", "XLenVT", ")", ";", "int", "FI", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "Node", ")", "->", "getIndex", "(", ")", ";", "EVT", "VT", "=", "Node", "->", "getValueType", "(", "0", ")", ";", "SDValue", "TFI", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "VT", ")", ";", "ReplaceNode", "(", "Node", ",", "CurDAG", "->", "getMachineNode", "(", "RISCV", "::", "ADDI", ",", "DL", ",", "VT", ",", "TFI", ",", "Imm", ")", ")", ";", "return", ";", "}", "SelectCode", "(", "Node", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["RISCV", "RISCV", "\"== \"", "\"\\n\"", "1", "0", "ISD::Constant", "RISCV::X0", "ISD::FrameIndex", "0", "0", "RISCV::ADDI"], "File": "RISCVISelDAGToDAG32", "Func": "Select", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1044, "Length": 251, "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_X_ANYEXTW_RV64", ":", "return", "\"RISCVISD::FMV_X_ANYEXTW_RV64\"", ";", "case", "RISCVISD", "::", "READ_CYCLE_WIDE", ":", "return", "\"RISCVISD::READ_CYCLE_WIDE\"", ";", "case", "RISCVISD", "::", "VINSERTT64_W", ":", "return", "\"RISCVISD::VINSERTT64_W\"", ";", "case", "RISCVISD", "::", "VINSERTB64_W", ":", "return", "\"RISCVISD::VINSERTB64_W\"", ";", "case", "RISCVISD", "::", "VEXTRACTT64_W", ":", "return", "\"RISCVISD::VEXTRACTT64_W\"", ";", "case", "RISCVISD", "::", "VEXTRACTB64_W", ":", "return", "\"RISCVISD::VEXTRACTB64_W\"", ";", "}", "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_X_ANYEXTW_RV64", "\"RISCVISD::FMV_X_ANYEXTW_RV64\"", "RISCVISD::READ_CYCLE_WIDE", "\"RISCVISD::READ_CYCLE_WIDE\"", "RISCVISD::VINSERTT64_W", "\"RISCVISD::VINSERTT64_W\"", "RISCVISD::VINSERTB64_W", "\"RISCVISD::VINSERTB64_W\"", "RISCVISD::VEXTRACTT64_W", "\"RISCVISD::VEXTRACTT64_W\"", "RISCVISD::VEXTRACTB64_W", "\"RISCVISD::VEXTRACTB64_W\""], "File": "RISCVISelLowering62", "Func": "getTargetNodeName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1045, "Length": 210, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVInstrInfo", "::", "isBranchOffsetInRange", "(", "unsigned", "BranchOp", ",", "int64_t", "BrOffset", ")", "const", "{", "switch", "(", "BranchOp", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected opcode!\"", ")", ";", "case", "RISCV", "::", "BEQ", ":", "case", "RISCV", "::", "BNE", ":", "case", "RISCV", "::", "BLT", ":", "case", "RISCV", "::", "BGE", ":", "case", "RISCV", "::", "BLTU", ":", "case", "RISCV", "::", "BGEU", ":", "case", "RISCV", "::", "P_BEQIMM", ":", "case", "RISCV", "::", "P_BNEIMM", ":", "return", "isIntN", "(", "13", ",", "BrOffset", ")", ";", "case", "RISCV", "::", "JAL", ":", "case", "RISCV", "::", "PseudoBR", ":", "return", "isIntN", "(", "21", ",", "BrOffset", ")", ";", "case", "RISCV", "::", "LoopBranch", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Determine", "if", "the", "branch", "target", "is", "in", "range", "."], "TS_V_token": ["RISCV", "RISCV", "\"Unexpected opcode!\"", "RISCV::BEQ", "RISCV::BNE", "RISCV::BLT", "RISCV::BGE", "RISCV::BLTU", "RISCV::BGEU", "RISCV::P_BEQIMM", "RISCV::P_BNEIMM", "13", "RISCV::JAL", "RISCV::PseudoBR", "21", "RISCV::LoopBranch"], "File": "RISCVInstrInfo51", "Func": "isBranchOffsetInRange", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1046, "Length": 101, "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": 1047, "Length": 374, "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": 1048, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "check_for_no_return_call", "(", "rtx_insn", "*", "prologue", ")", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Prologue matched, checking for no-return epilogue.\\n\"", ")", ";", "rtx_insn", "*", "tmp", "=", "NEXT_INSN", "(", "prologue", ")", ";", "if", "(", "!", "NOTE_P", "(", "tmp", ")", "||", "NOTE_KIND", "(", "tmp", ")", "!=", "NOTE_INSN_PROLOGUE_END", ")", "return", ";", "do", "{", "tmp", "=", "NEXT_INSN", "(", "tmp", ")", ";", "}", "while", "(", "tmp", "!=", "NULL", "&&", "NOTE_P", "(", "tmp", ")", ")", ";", "if", "(", "tmp", "==", "NULL", "||", "!", "INSN_P", "(", "tmp", ")", ")", "return", ";", "bool", "noreturn_p", "=", "find_reg_note", "(", "tmp", ",", "REG_NORETURN", ",", "NULL_RTX", ")", "!=", "NULL_RTX", ";", "if", "(", "!", "CALL_P", "(", "tmp", ")", "||", "!", "noreturn_p", ")", "return", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Prologue call to riscv_save_0 followed by noreturn call, \"", "\"removing prologue.\\n\"", ")", ";", "remove_insn", "(", "prologue", ")", ";", "}", ""], "natrual_language": ["Helper", "for", "riscv_remove_unneeded_save_restore_calls", ".", "If", "we", "match", "the", "prologue", "instructions", "but", "not", "the", "epilogue", "then", "we", "might", "have", "the", "case", "where", "the", "epilogue", "has", "been", "optimized", "out", "due", "to", "a", "call", "to", "a", "no-return", "function", ".", "In", "this", "case", "we", "might", "be", "able", "to", "remove", "the", "prologue", "too", "-", "that", "'s", "what", "this", "function", "does", ".", "PROLOGUE", "is", "the", "matched", "prolgoue", "instruction", ",", "by", "the", "time", "this", "function", "returns", "the", "progloue", "instruction", "may", "have", "been", "removed", "."], "TS_V_token": ["riscv", "\"Prologue matched, checking for no-return epilogue.\\n\"", "\"Prologue call to riscv_save_0 followed by noreturn call, \"", "\"removing prologue.\\n\""], "File": "riscv-sr", "Func": "check_for_no_return_call", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1049, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstrInfo", "::", "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", "Opcode", ";", "if", "(", "RISCV", "::", "GPRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "RISCV", "::", "SW", ";", "else", "if", "(", "RISCV", "::", "FPR32RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "RISCV", "::", "FSW", ";", "else", "if", "(", "RISCV", "::", "FPR64RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "RISCV", "::", "FSD", ";", "else", "llvm_unreachable", "(", "\"Can't store this register to stack slot\"", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opcode", ")", ")", ".", "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": ["RISCV", "RISCV", "RISCV::GPRRegClass", "RISCV::SW", "RISCV::FPR32RegClass", "RISCV::FSW", "RISCV::FPR64RegClass", "RISCV::FSD", "\"Can't store this register to stack slot\"", "0"], "File": "RISCVInstrInfo15", "Func": "storeRegToStackSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1050, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "RISCVTargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", "DL", ",", "LLVMContext", "&", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "getPointerTy", "(", "DL", ")", ";", "if", "(", "Subtarget", ".", "hasStdExtV", "(", ")", ")", "return", "MVT", "::", "getVectorVT", "(", "MVT", "::", "i1", ",", "VT", ".", "getVectorElementCount", "(", ")", ")", ";", "return", "VT", ".", "changeVectorElementTypeToInteger", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["RISCV", "RISCV", "MVT::getVectorVT", "MVT::i1"], "File": "RISCVISelLowering7", "Func": "getSetCCResultType", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1051, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "RISCV_COMPRESS_INSTRS_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVMakeCompressible", "Func": "getPassName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1052, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "riscv_set_return_address", "(", "rtx", "address", ",", "rtx", "scratch", ")", "{", "rtx", "slot_address", ";", "gcc_assert", "(", "BITSET_P", "(", "cfun", "->", "machine", "->", "frame", ".", "mask", ",", "RETURN_ADDR_REGNUM", ")", ")", ";", "slot_address", "=", "riscv_add_offset", "(", "scratch", ",", "stack_pointer_rtx", ",", "cfun", "->", "machine", "->", "frame", ".", "gp_sp_offset", ")", ";", "riscv_emit_move", "(", "gen_frame_mem", "(", "GET_MODE", "(", "address", ")", ",", "slot_address", ")", ",", "address", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "change", "the", "current", "function", "'s", "return", "address", "to", "ADDRESS", ".", "SCRATCH", "is", "available", "as", "a", "scratch", "register", ",", "if", "needed", ".", "ADDRESS", "and", "SCRATCH", "are", "both", "word-mode", "GPRs", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_set_return_address", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1053, "Length": 62, "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": 1054, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "assert", "(", "&", "MF", ".", "front", "(", ")", "==", "&", "MBB", "&&", "\"Shrink-wrapping not yet supported\"", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "auto", "*", "RVFI", "=", "MF", ".", "getInfo", "<", "RISCVMachineFunctionInfo", ">", "(", ")", ";", "const", "RISCVRegisterInfo", "*", "RI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "const", "RISCVInstrInfo", "*", "TII", "=", "STI", ".", "getInstrInfo", "(", ")", ";", "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", ")", ";", "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", "(", ")", ";", "std", "::", "advance", "(", "MBBI", ",", "CSI", ".", "size", "(", ")", ")", ";", "for", "(", "const", "auto", "&", "Entry", ":", "CSI", ")", "{", "int64_t", "Offset", "=", "MFI", ".", "getObjectOffset", "(", "Entry", ".", "getFrameIdx", "(", ")", ")", ";", "unsigned", "Reg", "=", "Entry", ".", "getReg", "(", ")", ";", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createOffset", "(", "nullptr", ",", "RI", "->", "getDwarfRegNum", "(", "Reg", ",", "true", ")", ",", "Offset", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "adjustReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "FPReg", ",", "SPReg", ",", "StackSize", "-", "RVFI", "->", "getVarArgsSaveSize", "(", ")", ",", "MachineInstr", "::", "FrameSetup", ")", ";", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createDefCfa", "(", "nullptr", ",", "RI", "->", "getDwarfRegNum", "(", "FPReg", ",", "true", ")", ",", "0", ")", ")", ";", "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": ["RISCV", "RISCV", "\"Shrink-wrapping not yet supported\"", "RISCV", "RISCV", "RISCV", "0", "0"], "File": "RISCVFrameLowering32", "Func": "emitPrologue", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1055, "Length": 391, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ")", "const", "{", "return", "Imm", ".", "isPosZero", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "can", "instruction", "select", "the", "specified", "FP", "immediate", "natively", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVISelLowering (2)2", "Func": "isFPImmLegal", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1056, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "riscv_next_saved_reg", "(", "unsigned", "int", "regno", ",", "unsigned", "int", "limit", ",", "HOST_WIDE_INT", "*", "offset", ",", "bool", "inc", "=", "true", ")", "{", "if", "(", "inc", ")", "regno", "++", ";", "while", "(", "regno", "<=", "limit", ")", "{", "if", "(", "BITSET_P", "(", "cfun", "->", "machine", "->", "frame", ".", "mask", ",", "regno", "-", "GP_REG_FIRST", ")", ")", "{", "*", "offset", "=", "*", "offset", "-", "UNITS_PER_WORD", ";", "return", "regno", ";", "}", "regno", "++", ";", "}", "return", "INVALID_REGNUM", ";", "}", ""], "natrual_language": ["Return", "the", "next", "register", "up", "from", "REGNO", "up", "to", "LIMIT", "for", "the", "callee", "to", "save", "or", "restore", ".", "OFFSET", "will", "be", "adjusted", "accordingly", ".", "If", "INC", "is", "set", ",", "then", "REGNO", "will", "be", "incremented", "first", ".", "Returns", "INVALID_REGNUM", "if", "there", "is", "no", "such", "next", "register", "."], "TS_V_token": ["riscv"], "File": "riscv1", "Func": "riscv_next_saved_reg", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1057, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "RegInfo", "->", "needsStackRealignment", "(", "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", "Func": "hasFP", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1058, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "check", "(", "function_checker", "&", "c", ")", "const", "override", "{", "poly_int64", "outer_size", "=", "GET_MODE_SIZE", "(", "c", ".", "arg_mode", "(", "0", ")", ")", ";", "poly_int64", "inner_size", "=", "GET_MODE_SIZE", "(", "c", ".", "ret_mode", "(", ")", ")", ";", "unsigned", "int", "nvecs", "=", "exact_div", "(", "outer_size", ",", "inner_size", ")", ".", "to_constant", "(", ")", ";", "return", "c", ".", "require_immediate", "(", "1", ",", "0", ",", "nvecs", "-", "1", ")", ";", "}", ""], "natrual_language": ["Perform", "semantic", "checks", "on", "the", "call", ".", "Return", "true", "if", "the", "call", "is", "valid", ",", "otherwise", "report", "a", "suitable", "error", "."], "TS_V_token": ["riscv", "0", "1", "0", "1"], "File": "riscv-vector-builtins-shapes", "Func": "check", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1059, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_cannot_copy_insn_p", "(", "rtx_insn", "*", "insn", ")", "{", "return", "recog_memoized", "(", "insn", ")", ">=", "0", "&&", "get_attr_cannot_copy", "(", "insn", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CANNOT_COPY_INSN_P", "."], "TS_V_token": ["riscv", "0"], "File": "riscv", "Func": "riscv_cannot_copy_insn_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1060, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVPassConfig", "::", "addMachineSSAOptimization", "(", ")", "{", "TargetPassConfig", "::", "addMachineSSAOptimization", "(", ")", ";", "if", "(", "TM", "->", "getTargetTriple", "(", ")", ".", "getArch", "(", ")", "==", "Triple", "::", "riscv64", ")", "addPass", "(", "createRISCVSExtWRemovalPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["Methods", "with", "trivial", "inline", "returns", "are", "convenient", "points", "in", "the", "common", "codegen", "pass", "pipeline", "where", "targets", "may", "insert", "passes", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV"], "File": "RISCVTargetMachine1", "Func": "addMachineSSAOptimization", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1061, "Length": 37, "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", "=", "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": "RISCVSubtarget14", "Func": "initializeSubtargetDependencies", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1062, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetStackID", "::", "Value", "getStackIDForScalableVectors", "(", ")", "const", "override", "{", "return", "TargetStackID", "::", "RISCVVector", ";", "}", ""], "natrual_language": ["Returns", "the", "StackID", "that", "scalable", "vectors", "should", "be", "associated", "with", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVFrameLowering10", "Func": "getStackIDForScalableVectors", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1063, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"== \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "Node", "->", "setNodeId", "(", "-", "1", ")", ";", "return", ";", "}", "unsigned", "Opcode", "=", "Node", "->", "getOpcode", "(", ")", ";", "MVT", "XLenVT", "=", "Subtarget", "->", "getXLenVT", "(", ")", ";", "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", ")", ",", "RISCV", "::", "X0", ",", "XLenVT", ")", ";", "ReplaceNode", "(", "Node", ",", "New", ".", "getNode", "(", ")", ")", ";", "return", ";", "}", "int64_t", "Imm", "=", "ConstNode", "->", "getSExtValue", "(", ")", ";", "if", "(", "XLenVT", "==", "MVT", "::", "i64", ")", "{", "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", "(", "RISCV", "::", "ADDI", ",", "DL", ",", "VT", ",", "TFI", ",", "Imm", ")", ")", ";", "return", ";", "}", "case", "ISD", "::", "SRL", ":", "{", "if", "(", "!", "Subtarget", "->", "is64Bit", "(", ")", ")", "break", ";", "SDValue", "Op0", "=", "Node", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Op1", "=", "Node", "->", "getOperand", "(", "1", ")", ";", "uint64_t", "Mask", ";", "if", "(", "Op1", ".", "getOpcode", "(", ")", "==", "ISD", "::", "Constant", "&&", "isConstantMask", "(", "Op0", ".", "getNode", "(", ")", ",", "Mask", ")", ")", "{", "uint64_t", "ShAmt", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op1", ".", "getNode", "(", ")", ")", "->", "getZExtValue", "(", ")", ";", "if", "(", "(", "Mask", "|", "maskTrailingOnes", "<", "uint64_t", ">", "(", "ShAmt", ")", ")", "==", "0xffffffff", ")", "{", "SDValue", "ShAmtVal", "=", "CurDAG", "->", "getTargetConstant", "(", "ShAmt", ",", "SDLoc", "(", "Node", ")", ",", "XLenVT", ")", ";", "CurDAG", "->", "SelectNodeTo", "(", "Node", ",", "RISCV", "::", "SRLIW", ",", "XLenVT", ",", "Op0", ".", "getOperand", "(", "0", ")", ",", "ShAmtVal", ")", ";", "return", ";", "}", "}", "}", "}", "SelectCode", "(", "Node", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["RISCV", "RISCV", "\"== \"", "\"\\n\"", "1", "0", "ISD::Constant", "RISCV::X0", "MVT::i64", "ISD::FrameIndex", "0", "RISCV::ADDI", "ISD::SRL", "0", "1", "ISD::Constant", "0xffffffff", "RISCV::SRLIW", "0"], "File": "RISCVISelDAGToDAG22", "Func": "Select", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1064, "Length": 426, "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": ["RISCV"], "File": "RISCVAsmParser (2)", "Func": "isMem", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1065, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "isShuffleMaskLegal", "(", "ArrayRef", "<", "int", ">", "M", ",", "EVT", "VT", ")", "const", "{", "if", "(", "ShuffleVectorSDNode", "::", "isSplatMask", "(", "M", ".", "data", "(", ")", ",", "VT", ")", ")", "return", "true", ";", "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": ["RISCV", "RISCV"], "File": "RISCVISelLowering1", "Func": "isShuffleMaskLegal", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1066, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "RISCVTargetLowering", "::", "getExceptionPointerRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "{", "return", "RISCVABI", "::", "isCheriPureCapABI", "(", "Subtarget", ".", "getTargetABI", "(", ")", ")", "?", "RISCV", "::", "C10", ":", "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", "RISCVABI::isCheriPureCapABI", "RISCV::C10", "RISCV::X10"], "File": "RISCVISelLowering42", "Func": "getExceptionPointerRegister", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1067, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "gimple", "*", "fold", "(", "gimple_folder", "&", ")", "const", "{", "return", "NULL", ";", "}", ""], "natrual_language": ["Try", "to", "fold", "the", "call", ".", "Return", "the", "new", "statement", "on", "success", "and", "null", "on", "failure", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "fold", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1068, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "RISCVFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "RISCVInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "RISCVInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "const", "RISCVSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "int64_t", "Amount", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "RISCV", "::", "ADJCALLSTACKDOWN", ")", "Amount", "=", "-", "Amount", ";", "unsigned", "SP", "=", "STI", ".", "isRV64", "(", ")", "?", "RISCV", "::", "sp_64", ":", "RISCV", "::", "sp", ";", "TII", ".", "adjustStackPtr", "(", "SP", ",", "Amount", ",", "MBB", ",", "I", ")", ";", "}", "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": ["RISCV", "RISCV", "RISCV", "RISCV", "RISCV", "RISCV", "0", "RISCV::ADJCALLSTACKDOWN", "RISCV::sp_64", "RISCV::sp"], "File": "RISCVFrameLowering39", "Func": "eliminateCallFramePseudoInstr", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1069, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "riscv_build_function_type", "(", "enum", "riscv_function_type", "type", ")", "{", "static", "tree", "types", "[", "(", "int", ")", "RISCV_MAX_FTYPE_MAX", "]", ";", "if", "(", "types", "[", "(", "int", ")", "type", "]", "==", "NULL_TREE", ")", "switch", "(", "type", ")", "{", "case", "RISCV_FTYPE_NAME", "##", "NUM", "ARGS", ":", "\\", "types", "[", "(", "int", ")", "type", "]", "\\", "=", "build_function_type_list", "(", "RISCV_FTYPE_ATYPES", "##", "NUM", "ARGS", ",", "\\", "NULL_TREE", ")", ";", "\\", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "types", "[", "(", "int", ")", "type", "]", ";", "}", ""], "natrual_language": ["Return", "the", "function", "type", "associated", "with", "function", "prototype", "TYPE", "."], "TS_V_token": ["riscv"], "File": "riscv-builtins", "Func": "riscv_build_function_type", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1070, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "riscv_register_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "from", ",", "reg_class_t", "to", ")", "{", "if", "(", "(", "from", "==", "FP_REGS", "&&", "to", "==", "GR_REGS", ")", "||", "(", "from", "==", "GR_REGS", "&&", "to", "==", "FP_REGS", ")", ")", "return", "tune_param", "->", "fmv_cost", ";", "return", "riscv_secondary_memory_needed", "(", "mode", ",", "from", ",", "to", ")", "?", "8", ":", "2", ";", "}", ""], "natrual_language": ["Implement", "TARGET_REGISTER_MOVE_COST", "."], "TS_V_token": ["riscv", "8", "2"], "File": "riscv1", "Func": "riscv_register_move_cost", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1071, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "RISCVRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", ")", "const", "{", "auto", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "switch", "(", "Subtarget", ".", "getTargetABI", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unrecognized ABI\"", ")", ";", "case", "RISCVABI", "::", "ABI_ILP32", ":", "case", "RISCVABI", "::", "ABI_LP64", ":", "return", "CSR_ILP32_LP64_RegMask", ";", "case", "RISCVABI", "::", "ABI_ILP32F", ":", "case", "RISCVABI", "::", "ABI_LP64F", ":", "return", "CSR_ILP32F_LP64F_RegMask", ";", "case", "RISCVABI", "::", "ABI_ILP32D", ":", "case", "RISCVABI", "::", "ABI_LP64D", ":", "return", "CSR_ILP32D_LP64D_RegMask", ";", "}", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "\"Unrecognized ABI\"", "RISCVABI::ABI_ILP32", "RISCVABI::ABI_LP64", "RISCVABI::ABI_ILP32F", "RISCVABI::ABI_LP64F", "RISCVABI::ABI_ILP32D", "RISCVABI::ABI_LP64D"], "File": "RISCVRegisterInfo16", "Func": "getCallPreservedMask", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1072, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "riscv_unspec_address", "(", "rtx", "address", ",", "enum", "riscv_symbol_type", "symbol_type", ")", "{", "rtx", "base", ",", "offset", ";", "split_const", "(", "address", ",", "&", "base", ",", "&", "offset", ")", ";", "return", "riscv_unspec_address_offset", "(", "base", ",", "offset", ",", "symbol_type", ")", ";", "}", ""], "natrual_language": ["Return", "an", "UNSPEC", "address", "with", "underlying", "address", "ADDRESS", "and", "symbol", "type", "SYMBOL_TYPE", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_unspec_address", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1073, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "riscv_promote_function_mode", "(", "const_tree", "type", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ",", "int", "*", "punsignedp", "ATTRIBUTE_UNUSED", ",", "const_tree", "fntype", "ATTRIBUTE_UNUSED", ",", "int", "for_return", "ATTRIBUTE_UNUSED", ")", "{", "int", "unsignedp", ";", "if", "(", "type", "!=", "NULL_TREE", ")", "return", "promote_mode", "(", "type", ",", "mode", ",", "punsignedp", ")", ";", "unsignedp", "=", "*", "punsignedp", ";", "PROMOTE_MODE", "(", "mode", ",", "unsignedp", ",", "type", ")", ";", "*", "punsignedp", "=", "unsignedp", ";", "return", "mode", ";", "}", ""], "natrual_language": ["This", "function", "is", "equivalent", "to", "default_promote_function_mode_always_promote", "except", "that", "it", "returns", "a", "promoted", "mode", "even", "if", "type", "is", "NULL_TREE", ".", "This", "is", "needed", "by", "libcalls", "which", "have", "no", "type", "(", "only", "a", "mode", ")", "such", "as", "fixed", "conversion", "routines", "that", "take", "a", "signed", "or", "unsigned", "char/short/int", "argument", "and", "convert", "it", "to", "a", "fixed", "type", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_promote_function_mode", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1074, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVInstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "{", "return", "get", "(", "Opcode", ")", ".", "getSize", "(", ")", ";", "}", "case", "TargetOpcode", "::", "EH_LABEL", ":", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "KILL", ":", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "return", "0", ";", "case", "RISCV", "::", "PseudoCALLReg", ":", "case", "RISCV", "::", "PseudoCALL", ":", "case", "RISCV", "::", "PseudoTAIL", ":", "case", "RISCV", "::", "PseudoLLA", ":", "case", "RISCV", "::", "PseudoLA", ":", "case", "RISCV", "::", "PseudoLA_TLS_IE", ":", "case", "RISCV", "::", "PseudoLA_TLS_GD", ":", "return", "8", ";", "case", "TargetOpcode", "::", "INLINEASM", ":", "case", "TargetOpcode", "::", "INLINEASM_BR", ":", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "auto", "&", "TM", "=", "static_cast", "<", "const", "RISCVTargetMachine", "&", ">", "(", "MF", ".", "getTarget", "(", ")", ")", ";", "return", "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": ["RISCV", "RISCV", "0", "RISCV::PseudoCALLReg", "RISCV::PseudoCALL", "RISCV::PseudoTAIL", "RISCV::PseudoLLA", "RISCV::PseudoLA", "RISCV::PseudoLA_TLS_IE", "RISCV::PseudoLA_TLS_GD", "8", "RISCV", "0"], "File": "RISCVInstrInfo18", "Func": "getInstSizeInBytes", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1075, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "RISCVSubtarget", "&", "RISCVSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ",", "bool", "Is64Bit", ")", "{", "std", "::", "string", "CPUName", "=", "CPU", ";", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", "=", "Is64Bit", "?", "\"generic-rv64\"", ":", "\"generic-rv32\"", ";", "ParseSubtargetFeatures", "(", "CPUName", ",", "FS", ")", ";", "if", "(", "Is64Bit", ")", "{", "XLenVT", "=", "MVT", "::", "i64", ";", "XLen", "=", "64", ";", "}", "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"], "File": "RISCVSubtarget13", "Func": "initializeSubtargetDependencies", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1076, "Length": 67, "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": 1077, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "hasBitTest", "(", "SDValue", "X", ",", "SDValue", "Y", ")", "const", "{", "auto", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Y", ")", ";", "return", "C", "&&", "C", "->", "getAPIntValue", "(", ")", ".", "ule", "(", "10", ")", ";", "}", ""], "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": ["RISCV", "RISCV", "10"], "File": "RISCVISelLowering3", "Func": "hasBitTest", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1078, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "RISCV_EXPAND_PSEUDO_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVExpandPseudoInsts", "Func": "getPassName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1079, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "mangle_builtin_type", "(", "const_tree", "type", ")", "{", "if", "(", "TYPE_NAME", "(", "type", ")", "&&", "TREE_CODE", "(", "TYPE_NAME", "(", "type", ")", ")", "==", "TYPE_DECL", ")", "type", "=", "TREE_TYPE", "(", "TYPE_NAME", "(", "type", ")", ")", ";", "if", "(", "tree", "attr", "=", "lookup_vector_type_attribute", "(", "type", ")", ")", "if", "(", "tree", "id", "=", "TREE_VALUE", "(", "chain_index", "(", "0", ",", "TREE_VALUE", "(", "attr", ")", ")", ")", ")", "return", "IDENTIFIER_POINTER", "(", "id", ")", ";", "return", "NULL", ";", "}", ""], "natrual_language": ["If", "TYPE", "is", "a", "built-in", "type", "defined", "by", "the", "RVV", "ABI", ",", "return", "the", "mangled", "name", ",", "otherwise", "return", "NULL", "."], "TS_V_token": ["riscv", "0"], "File": "riscv-vector-builtins", "Func": "mangle_builtin_type", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1080, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVELFTargetObjectFile", "::", "isGlobalInSmallSection", "(", "const", "GlobalObject", "*", "GO", ",", "const", "TargetMachine", "&", "TM", ")", "const", "{", "const", "GlobalVariable", "*", "GVA", "=", "dyn_cast", "<", "GlobalVariable", ">", "(", "GO", ")", ";", "if", "(", "!", "GVA", ")", "return", "false", ";", "if", "(", "GVA", "->", "hasSection", "(", ")", ")", "{", "StringRef", "Section", "=", "GVA", "->", "getSection", "(", ")", ";", "if", "(", "Section", "==", "\".sdata\"", "||", "Section", "==", "\".sbss\"", ")", "return", "true", ";", "return", "false", ";", "}", "if", "(", "(", "(", "GVA", "->", "hasExternalLinkage", "(", ")", "&&", "GVA", "->", "isDeclaration", "(", ")", ")", "||", "GVA", "->", "hasCommonLinkage", "(", ")", ")", ")", "return", "false", ";", "Type", "*", "Ty", "=", "GVA", "->", "getValueType", "(", ")", ";", "if", "(", "!", "Ty", "->", "isSized", "(", ")", ")", "return", "false", ";", "return", "isInSmallSection", "(", "GVA", "->", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ".", "getTypeAllocSize", "(", "Ty", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "global", "address", "should", "be", "placed", "into", "small", "data/bss", "section", "."], "TS_V_token": ["RISCV", "RISCV", "\".sdata\"", "\".sbss\""], "File": "RISCVTargetObjectFile2", "Func": "isGlobalInSmallSection", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1081, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVFrameLowering", "::", "canUseAsEpilogue", "(", "const", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "*", "TmpMBB", "=", "const_cast", "<", "MachineBasicBlock", "*", ">", "(", "&", "MBB", ")", ";", "const", "auto", "*", "RVFI", "=", "MBB", ".", "getParent", "(", ")", "->", "getInfo", "<", "RISCVMachineFunctionInfo", ">", "(", ")", ";", "if", "(", "!", "RVFI", "->", "useSaveRestoreLibCalls", "(", ")", ")", "return", "true", ";", "if", "(", "MBB", ".", "succ_size", "(", ")", ">", "1", ")", "return", "false", ";", "MachineBasicBlock", "*", "SuccMBB", "=", "MBB", ".", "succ_empty", "(", ")", "?", "TmpMBB", "->", "getFallThrough", "(", ")", ":", "*", "MBB", ".", "succ_begin", "(", ")", ";", "if", "(", "!", "SuccMBB", ")", "return", "true", ";", "return", "SuccMBB", "->", "isReturnBlock", "(", ")", "&&", "SuccMBB", "->", "size", "(", ")", "==", "1", ";", "}", ""], "natrual_language": ["Check", "whether", "or", "not", "the", "given", "MBB", "can", "be", "used", "as", "a", "epilogue", "for", "the", "target", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "1", "1"], "File": "RISCVFrameLowering19", "Func": "canUseAsEpilogue", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1082, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isToken", "(", ")", "const", "override", "{", "return", "Kind", "==", "KindTy", "::", "Token", ";", "}", ""], "natrual_language": ["isToken", "-", "Is", "this", "a", "token", "operand", "?"], "TS_V_token": ["RISCV"], "File": "RISCVAsmParser (2)", "Func": "isToken", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1083, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "VSETVLIInfo", "merge", "(", "const", "VSETVLIInfo", "&", "Other", ")", "const", "{", "assert", "(", "isValid", "(", ")", "&&", "\"Can only merge with a valid VSETVLInfo\"", ")", ";", "if", "(", "!", "Other", ".", "isValid", "(", ")", ")", "return", "*", "this", ";", "if", "(", "isCompatible", "(", "Other", ")", ")", "return", "*", "this", ";", "return", "Other", ";", "}", ""], "natrual_language": ["Merge", "target", "triples", "."], "TS_V_token": ["RISCV", "\"Can only merge with a valid VSETVLInfo\""], "File": "RISCVInsertVSETVLI10", "Func": "merge", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1084, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "CallLowering", "*", "RISCVSubtarget", "::", "getCallLowering", "(", ")", "const", "{", "return", "CallLoweringInfo", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Methods", "used", "by", "Global", "ISel", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVSubtarget", "Func": "getCallLowering", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1085, "Length": 18, "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": 1086, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "vsetvl_insn_p", "(", "rtx_insn", "*", "rinsn", ")", "{", "if", "(", "!", "vector_config_insn_p", "(", "rinsn", ")", ")", "return", "false", ";", "return", "(", "INSN_CODE", "(", "rinsn", ")", "==", "CODE_FOR_vsetvldi", "||", "INSN_CODE", "(", "rinsn", ")", "==", "CODE_FOR_vsetvlsi", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "vsetvldi", "or", "vsetvlsi", "."], "TS_V_token": ["riscv"], "File": "riscv-vsetvl", "Func": "vsetvl_insn_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1087, "Length": 38, "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": 1088, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVCoreVHwlpBlocks", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "!", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ".", "hasExtXCoreVHwlp", "(", ")", ")", "{", "return", "false", ";", "}", "MachineLoopInfo", "&", "MLI", "=", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "&", "ML", ":", "MLI", ")", "{", "Changed", "|=", "ProcessLoop", "(", "ML", ",", "MF", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV"], "File": "RISCVCoreVHwlpBlocks", "Func": "runOnMachineFunction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1089, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVMCExpr", "::", "evaluateAsConstant", "(", "int64_t", "&", "Res", ")", "const", "{", "MCValue", "Value", ";", "if", "(", "Kind", "==", "VK_RISCV_PCREL_HI", "||", "Kind", "==", "VK_RISCV_PCREL_LO", "||", "Kind", "==", "VK_RISCV_GOT_HI", "||", "Kind", "==", "VK_RISCV_CALL", ")", "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", "RISCV", "RISCV", "RISCV"], "File": "RISCVMCExpr13", "Func": "evaluateAsConstant", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1090, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "riscv_d_handle_target_float_abi", "(", "void", ")", "{", "const", "char", "*", "abi", ";", "switch", "(", "riscv_abi", ")", "{", "case", "ABI_ILP32E", ":", "case", "ABI_ILP32", ":", "case", "ABI_LP64", ":", "abi", "=", "\"soft\"", ";", "break", ";", "case", "ABI_ILP32F", ":", "case", "ABI_LP64F", ":", "abi", "=", "\"single\"", ";", "break", ";", "case", "ABI_ILP32D", ":", "case", "ABI_LP64D", ":", "abi", "=", "\"double\"", ";", "break", ";", "default", ":", "abi", "=", "\"\"", ";", "break", ";", "}", "return", "build_string_literal", "(", "strlen", "(", "abi", ")", "+", "1", ",", "abi", ")", ";", "}", ""], "natrual_language": ["Handle", "a", "call", "to", "`", "__traits", "(", "getTargetInfo", ",", "``", "floatAbi", "''", ")", "'", "."], "TS_V_token": ["riscv", "\"soft\"", "\"single\"", "\"double\"", "\"\"", "1"], "File": "riscv-d", "Func": "riscv_d_handle_target_float_abi", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1091, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "pass_vsetvl", "::", "cleanup_illegal_dirty_blocks", "(", "void", ")", "{", "bool", "changed_p", "=", "false", ";", "for", "(", "const", "bb_info", "*", "bb", ":", "crtl", "->", "ssa", "->", "bbs", "(", ")", ")", "{", "basic_block", "cfg_bb", "=", "bb", "->", "cfg_bb", "(", ")", ";", "const", "auto", "&", "prop", "=", "m_vector_manager", "->", "vector_block_infos", "[", "cfg_bb", "->", "index", "]", ".", "reaching_out", ";", "if", "(", "!", "prop", ".", "valid_or_dirty_p", "(", ")", ")", "continue", ";", "if", "(", "hard_empty_block_p", "(", "bb", ",", "prop", ")", ")", "{", "m_vector_manager", "->", "vector_block_infos", "[", "cfg_bb", "->", "index", "]", ".", "local_dem", "=", "vector_insn_info", "::", "get_hard_empty", "(", ")", ";", "m_vector_manager", "->", "vector_block_infos", "[", "cfg_bb", "->", "index", "]", ".", "reaching_out", "=", "vector_insn_info", "::", "get_hard_empty", "(", ")", ";", "changed_p", "=", "true", ";", "continue", ";", "}", "}", "return", "changed_p", ";", "}", ""], "natrual_language": ["Cleanup", "illegal", "dirty", "blocks", "."], "TS_V_token": ["riscv"], "File": "riscv-vsetvl", "Func": "cleanup_illegal_dirty_blocks", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1092, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_allocate_stack_slots_for_args", "(", ")", "{", "return", "!", "riscv_naked_function_p", "(", "current_function_decl", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ALLOCATE_STACK_SLOTS_FOR_ARGS", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_allocate_stack_slots_for_args", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1093, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVInstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "{", "return", "get", "(", "Opcode", ")", ".", "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", "auto", "&", "TM", "=", "static_cast", "<", "const", "RISCVTargetMachine", "&", ">", "(", "MF", ".", "getTarget", "(", ")", ")", ";", "return", "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": ["RISCV", "RISCV", "0", "RISCV", "0"], "File": "RISCVInstrInfo17", "Func": "getInstSizeInBytes", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1094, "Length": 129, "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", "(", ")", ";", "unsigned", "FPReg", "=", "getFPReg", "(", "STI", ")", ";", "unsigned", "SPReg", "=", "getSPReg", "(", "STI", ")", ";", "auto", "LastFrameDestroy", "=", "std", "::", "prev", "(", "MBBI", ",", "MFI", ".", "getCalleeSavedInfo", "(", ")", ".", "size", "(", ")", ")", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "RI", "->", "needsStackRealignment", "(", "MF", ")", "||", "MFI", ".", "hasVarSizedObjects", "(", ")", ")", "{", "assert", "(", "hasFP", "(", "MF", ")", "&&", "\"frame pointer should not have been eliminated\"", ")", ";", "adjustReg", "(", "MBB", ",", "LastFrameDestroy", ",", "DL", ",", "SPReg", ",", "FPReg", ",", "-", "StackSize", "+", "RVFI", "->", "getVarArgsSaveSize", "(", ")", ",", "MachineInstr", "::", "FrameDestroy", ")", ";", "}", "adjustReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "SPReg", ",", "SPReg", ",", "StackSize", ",", "MachineInstr", "::", "FrameDestroy", ")", ";", "if", "(", "shouldEnableVectorUnit", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "STI", ".", "getInstrInfo", "(", ")", "->", "get", "(", "RISCV", "::", "VCONFIG", ")", ")", ".", "addImm", "(", "0x01", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCV", "\"frame pointer should not have been eliminated\"", "RISCV::VCONFIG", "0x01"], "File": "RISCVFrameLowering41", "Func": "emitEpilogue", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1095, "Length": 223, "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": 1096, "Length": 70, "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", ")", "&&", "(", "riscv_align_data_type", "==", "riscv_align_data_type_xlen", ")", ")", "return", "MAX", "(", "align", ",", "BITS_PER_WORD", ")", ";", "return", "align", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CONSTANT_ALIGNMENT", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_constant_alignment", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1097, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "riscv_pass_fpr_single", "(", "machine_mode", "type_mode", ",", "unsigned", "regno", ",", "machine_mode", "value_mode", ",", "HOST_WIDE_INT", "offset", ")", "{", "rtx", "x", "=", "gen_rtx_REG", "(", "value_mode", ",", "regno", ")", ";", "if", "(", "type_mode", "!=", "value_mode", ")", "{", "x", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "x", ",", "GEN_INT", "(", "offset", ")", ")", ";", "x", "=", "gen_rtx_PARALLEL", "(", "type_mode", ",", "gen_rtvec", "(", "1", ",", "x", ")", ")", ";", "}", "return", "x", ";", "}", ""], "natrual_language": ["Return", "the", "representation", "of", "an", "argument", "passed", "or", "returned", "in", "an", "FPR", "when", "the", "value", "has", "mode", "VALUE_MODE", "and", "the", "type", "has", "TYPE_MODE", ".", "The", "two", "modes", "may", "be", "different", "for", "structures", "like", ":", "struct", "__attribute__", "(", "(", "packed", ")", ")", "foo", "{", "float", "f", ";", "}", "where", "the", "SFmode", "value", "``", "f", "''", "is", "passed", "in", "REGNO", "but", "the", "struct", "itself", "has", "mode", "BLKmode", "."], "TS_V_token": ["riscv", "1"], "File": "riscv", "Func": "riscv_pass_fpr_single", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1098, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVInstPrinter", "::", "applyTargetSpecificCLOption", "(", "StringRef", "Opt", ")", "{", "if", "(", "Opt", "==", "\"no-aliases\"", ")", "{", "NoAliases", "=", "true", ";", "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": "RISCVInstPrinter1", "Func": "applyTargetSpecificCLOption", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1099, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLegalMaskedStore", "(", "Type", "*", "DataType", ",", "Align", "Alignment", ")", "{", "return", "isLegalMaskedLoadStore", "(", "DataType", ",", "Alignment", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "store", "."], "TS_V_token": ["RISCV"], "File": "RISCVTargetTransformInfo10", "Func": "isLegalMaskedStore", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1100, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "unsigned", "int", "nregs", "=", "riscv_hard_regno_nregs", "(", "regno", ",", "mode", ")", ";", "if", "(", "GP_REG_P", "(", "regno", ")", ")", "{", "if", "(", "!", "GP_REG_P", "(", "regno", "+", "nregs", "-", "1", ")", ")", "return", "false", ";", "}", "else", "if", "(", "FP_REG_P", "(", "regno", ")", ")", "{", "if", "(", "!", "FP_REG_P", "(", "regno", "+", "nregs", "-", "1", ")", ")", "return", "false", ";", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_FLOAT", "&&", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_COMPLEX_FLOAT", ")", "return", "false", ";", "if", "(", "GET_MODE_UNIT_SIZE", "(", "mode", ")", ">", "UNITS_PER_FP_REG", "||", "(", "!", "call_used_or_fixed_reg_p", "(", "regno", ")", "&&", "GET_MODE_UNIT_SIZE", "(", "mode", ")", ">", "UNITS_PER_FP_ARG", ")", ")", "return", "false", ";", "}", "else", "return", "false", ";", "for", "(", "unsigned", "i", "=", "1", ";", "i", "<", "nregs", ";", "i", "++", ")", "if", "(", "call_used_or_fixed_reg_p", "(", "regno", ")", "!=", "call_used_or_fixed_reg_p", "(", "regno", "+", "i", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_MODE_OK", "."], "TS_V_token": ["riscv", "1", "1", "1"], "File": "riscv", "Func": "riscv_hard_regno_mode_ok", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1101, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "get_vl_x2_rtx", "(", "rtx", "avl", ",", "machine_mode", "mode", ",", "machine_mode", "demote_mode", ")", "{", "rtx", "i32vl", "=", "NULL_RTX", ";", "if", "(", "CONST_INT_P", "(", "avl", ")", ")", "{", "unsigned", "elt_size", "=", "GET_MODE_BITSIZE", "(", "GET_MODE_INNER", "(", "mode", ")", ")", ";", "unsigned", "min_size", "=", "get_unknown_min_value", "(", "mode", ")", ";", "unsigned", "vlen_max", "=", "RVV_65536", ";", "unsigned", "vlmax_max", "=", "compute_vlmax", "(", "vlen_max", ",", "elt_size", ",", "min_size", ")", ";", "unsigned", "vlen_min", "=", "TARGET_MIN_VLEN", ";", "unsigned", "vlmax_min", "=", "compute_vlmax", "(", "vlen_min", ",", "elt_size", ",", "min_size", ")", ";", "unsigned", "HOST_WIDE_INT", "avl_int", "=", "INTVAL", "(", "avl", ")", ";", "if", "(", "avl_int", "<=", "vlmax_min", ")", "i32vl", "=", "gen_int_mode", "(", "2", "*", "avl_int", ",", "Pmode", ")", ";", "else", "if", "(", "avl_int", ">=", "2", "*", "vlmax_max", ")", "{", "i32vl", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_no_side_effects_vsetvl_rtx", "(", "demote_mode", ",", "i32vl", ",", "RVV_VLMAX", ")", ")", ";", "}", "else", "{", "}", "}", "if", "(", "!", "i32vl", ")", "{", "rtx", "i64vl", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_no_side_effects_vsetvl_rtx", "(", "mode", ",", "i64vl", ",", "force_reg", "(", "Pmode", ",", "avl", ")", ")", ")", ";", "i32vl", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "i32vl", ",", "gen_rtx_ASHIFT", "(", "Pmode", ",", "i64vl", ",", "const1_rtx", ")", ")", ")", ";", "}", "return", "force_vector_length_operand", "(", "i32vl", ")", ";", "}", ""], "natrual_language": ["GET", "VL", "*", "2", "rtx", "."], "TS_V_token": ["riscv", "2", "2"], "File": "riscv-v", "Func": "get_vl_x2_rtx", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1102, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "RISCVTargetLowering", "::", "getOptimalMemOpType", "(", "const", "MemOp", "&", "Op", ",", "const", "AttributeList", "&", "FuncAttributes", ")", "const", "{", "bool", "IsNonZeroMemset", "=", "Op", ".", "isMemset", "(", ")", "&&", "!", "Op", ".", "isZeroMemset", "(", ")", ";", "if", "(", "Subtarget", ".", "hasCheri", "(", ")", "&&", "!", "IsNonZeroMemset", ")", "{", "unsigned", "CapSize", "=", "Subtarget", ".", "typeForCapabilities", "(", ")", ".", "getSizeInBits", "(", ")", "/", "8", ";", "if", "(", "Op", ".", "size", "(", ")", ">=", "CapSize", ")", "{", "Align", "CapAlign", "(", "CapSize", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "__func__", "<<", "\" Size=\"", "<<", "Op", ".", "size", "(", ")", "<<", "\" DstAlign=\"", "<<", "(", "Op", ".", "isFixedDstAlign", "(", ")", "?", "Op", ".", "getDstAlign", "(", ")", ".", "value", "(", ")", ":", "0", ")", "<<", "\" SrcAlign=\"", "<<", "(", "Op", ".", "isMemset", "(", ")", "?", "0", ":", "Op", ".", "getSrcAlign", "(", ")", ".", "value", "(", ")", ")", "<<", "\" CapSize=\"", "<<", "CapSize", "<<", "\"\\n\"", ")", ";", "if", "(", "Op", ".", "isAligned", "(", "CapAlign", ")", ")", "{", "return", "CapType", ";", "}", "else", "if", "(", "!", "Op", ".", "isMemset", "(", ")", ")", "{", "return", "MVT", "::", "isVoid", ";", "}", "}", "}", "return", "TargetLowering", "::", "getOptimalMemOpType", "(", "Op", ",", "FuncAttributes", ")", ";", "}", ""], "natrual_language": ["It", "returns", "EVT", ":", ":Other", "if", "the", "type", "should", "be", "determined", "using", "generic", "target-independent", "logic", "."], "TS_V_token": ["RISCV", "RISCV", "8", "\" Size=\"", "\" DstAlign=\"", "0", "\" SrcAlign=\"", "0", "\" CapSize=\"", "\"\\n\"", "MVT::isVoid"], "File": "RISCVISelLowering42", "Func": "getOptimalMemOpType", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1103, "Length": 188, "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": 1104, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "function_builder", "::", "append_base_name", "(", "const", "char", "*", "name", ")", "{", "append_name", "(", "\"__riscv_\"", ")", ";", "append_name", "(", "name", ")", ";", "}", ""], "natrual_language": ["Add", "``", "__riscv_", "''", "and", "``", "name", "''", "."], "TS_V_token": ["riscv", "\"__riscv_\""], "File": "riscv-vector-builtins", "Func": "append_base_name", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1105, "Length": 22, "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", ")", ")", "{", "int64_t", "Imm", ";", "if", "(", "Size", "==", "2", ")", "Imm", "=", "Inst", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "else", "Imm", "=", "Inst", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "Target", "=", "Addr", "+", "Imm", ";", "return", "true", ";", "}", "if", "(", "Inst", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "C_JAL", "||", "Inst", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "C_J", ")", "{", "Target", "=", "Addr", "+", "Inst", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "return", "true", ";", "}", "if", "(", "Inst", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "JAL", ")", "{", "Target", "=", "Addr", "+", "Inst", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Given", "a", "branch", "instruction", "try", "to", "get", "the", "address", "the", "branch", "targets", "."], "TS_V_token": ["RISCV", "2", "1", "2", "RISCV::C_JAL", "RISCV::C_J", "0", "RISCV::JAL", "1"], "File": "RISCVMCTargetDesc1", "Func": "evaluateBranch", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1106, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "riscv_initial_elimination_offset", "(", "int", "from", ",", "int", "to", ")", "{", "HOST_WIDE_INT", "src", ",", "dest", ";", "riscv_compute_frame_info", "(", ")", ";", "if", "(", "to", "==", "HARD_FRAME_POINTER_REGNUM", ")", "dest", "=", "cfun", "->", "machine", "->", "frame", ".", "hard_frame_pointer_offset", ";", "else", "if", "(", "to", "==", "STACK_POINTER_REGNUM", ")", "dest", "=", "0", ";", "else", "gcc_unreachable", "(", ")", ";", "if", "(", "from", "==", "FRAME_POINTER_REGNUM", ")", "src", "=", "cfun", "->", "machine", "->", "frame", ".", "frame_pointer_offset", ";", "else", "if", "(", "from", "==", "ARG_POINTER_REGNUM", ")", "src", "=", "cfun", "->", "machine", "->", "frame", ".", "arg_pointer_offset", ";", "else", "gcc_unreachable", "(", ")", ";", "return", "src", "-", "dest", ";", "}", ""], "natrual_language": ["Implement", "INITIAL_ELIMINATION_OFFSET", ".", "FROM", "is", "either", "the", "frame", "pointer", "or", "argument", "pointer", ".", "TO", "is", "either", "the", "stack", "pointer", "or", "hard", "frame", "pointer", "."], "TS_V_token": ["riscv", "0"], "File": "riscv", "Func": "riscv_initial_elimination_offset", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1107, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "RISCVTargetLowering", "::", "ConstraintType", "RISCVTargetLowering", "::", "getConstraintType", "(", "StringRef", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'A'", ":", "return", "C_Memory", ";", "default", ":", "break", ";", "}", "}", "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": "RISCVISelLowering77", "Func": "getConstraintType", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1108, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVAsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ",", "MCContext", "&", "Ctx", ")", "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": "RISCVAsmBackend33", "Func": "applyFixup", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1109, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "RISCV", "::", "LB", ":", "case", "RISCV", "::", "LBU", ":", "case", "RISCV", "::", "LH", ":", "case", "RISCV", "::", "LHU", ":", "case", "RISCV", "::", "FLH", ":", "case", "RISCV", "::", "LW", ":", "case", "RISCV", "::", "FLW", ":", "case", "RISCV", "::", "LWU", ":", "case", "RISCV", "::", "LD", ":", "case", "RISCV", "::", "FLD", ":", "case", "RISCV", "::", "LC_64", ":", "case", "RISCV", "::", "LC_128", ":", "case", "RISCV", "::", "CLB", ":", "case", "RISCV", "::", "CLBU", ":", "case", "RISCV", "::", "CLH", ":", "case", "RISCV", "::", "CLHU", ":", "case", "RISCV", "::", "CLW", ":", "case", "RISCV", "::", "CFLW", ":", "case", "RISCV", "::", "CLWU", ":", "case", "RISCV", "::", "CLD", ":", "case", "RISCV", "::", "CFLD", ":", "case", "RISCV", "::", "CLC_64", ":", "case", "RISCV", "::", "CLC_128", ":", "break", ";", "}", "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": ["RISCV", "RISCV", "0", "RISCV::LB", "RISCV::LBU", "RISCV::LH", "RISCV::LHU", "RISCV::FLH", "RISCV::LW", "RISCV::FLW", "RISCV::LWU", "RISCV::LD", "RISCV::FLD", "RISCV::LC_64", "RISCV::LC_128", "RISCV::CLB", "RISCV::CLBU", "RISCV::CLH", "RISCV::CLHU", "RISCV::CLW", "RISCV::CFLW", "RISCV::CLWU", "RISCV::CLD", "RISCV::CFLD", "RISCV::CLC_64", "RISCV::CLC_128", "1", "2", "2", "0", "1", "0", "0"], "File": "RISCVInstrInfo26", "Func": "isLoadFromStackSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1110, "Length": 216, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "RISCVRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "RISCVFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "for", "(", "size_t", "Reg", "=", "0", ";", "Reg", "<", "getNumRegs", "(", ")", ";", "Reg", "++", ")", "{", "if", "(", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ".", "isRegisterReservedByUser", "(", "Reg", ")", ")", "markSuperRegs", "(", "Reserved", ",", "Reg", ")", ";", "}", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X0", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X2", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X3", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X4", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X8", ")", ";", "if", "(", "TFI", "->", "hasBP", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "RISCVABI", "::", "getBPReg", "(", ")", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "VL", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "VTYPE", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "VXSAT", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "VXRM", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "FRM", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "FFLAGS", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "FCSR", ")", ";", "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": ["RISCV", "RISCV", "RISCV", "0", "RISCV", "RISCV::X0", "RISCV::X2", "RISCV::X3", "RISCV::X4", "RISCV::X8", "RISCVABI::getBPReg", "RISCV::VL", "RISCV::VTYPE", "RISCV::VXSAT", "RISCV::VXRM", "RISCV::FRM", "RISCV::FFLAGS", "RISCV::FCSR"], "File": "RISCVRegisterInfo23", "Func": "getReservedRegs", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1111, "Length": 220, "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": 1112, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isImm", "(", ")", "const", "override", "{", "return", "Kind", "==", "KindTy", "::", "Immediate", ";", "}", ""], "natrual_language": ["isImm", "-", "Is", "this", "an", "immediate", "operand", "?"], "TS_V_token": ["RISCV"], "File": "RISCVAsmParser (2)", "Func": "isImm", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1113, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVRegisterInfo", "::", "getOffsetOpcodes", "(", "const", "StackOffset", "&", "Offset", ",", "SmallVectorImpl", "<", "uint64_t", ">", "&", "Ops", ")", "const", "{", "assert", "(", "Offset", ".", "getScalable", "(", ")", "%", "8", "==", "0", "&&", "\"Invalid frame offset\"", ")", ";", "DIExpression", "::", "appendOffset", "(", "Ops", ",", "Offset", ".", "getFixed", "(", ")", ")", ";", "unsigned", "VLENB", "=", "getDwarfRegNum", "(", "RISCV", "::", "VLENB", ",", "true", ")", ";", "int64_t", "VLENBSized", "=", "Offset", ".", "getScalable", "(", ")", "/", "8", ";", "if", "(", "VLENBSized", ">", "0", ")", "{", "Ops", ".", "push_back", "(", "dwarf", "::", "DW_OP_constu", ")", ";", "Ops", ".", "push_back", "(", "VLENBSized", ")", ";", "Ops", ".", "append", "(", "{", "dwarf", "::", "DW_OP_bregx", ",", "VLENB", ",", "0ULL", "}", ")", ";", "Ops", ".", "push_back", "(", "dwarf", "::", "DW_OP_mul", ")", ";", "Ops", ".", "push_back", "(", "dwarf", "::", "DW_OP_plus", ")", ";", "}", "else", "if", "(", "VLENBSized", "<", "0", ")", "{", "Ops", ".", "push_back", "(", "dwarf", "::", "DW_OP_constu", ")", ";", "Ops", ".", "push_back", "(", "-", "VLENBSized", ")", ";", "Ops", ".", "append", "(", "{", "dwarf", "::", "DW_OP_bregx", ",", "VLENB", ",", "0ULL", "}", ")", ";", "Ops", ".", "push_back", "(", "dwarf", "::", "DW_OP_mul", ")", ";", "Ops", ".", "push_back", "(", "dwarf", "::", "DW_OP_minus", ")", ";", "}", "}", ""], "natrual_language": ["Gets", "the", "DWARF", "expression", "opcodes", "for", "Offset", "."], "TS_V_token": ["RISCV", "RISCV", "8", "0", "\"Invalid frame offset\"", "RISCV::VLENB", "8", "0", "0ULL", "0", "0ULL"], "File": "RISCVRegisterInfo12", "Func": "getOffsetOpcodes", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1114, "Length": 187, "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": 1115, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVInstrInfo", "::", "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", "->", "isDebugValue", "(", ")", ")", "continue", ";", "if", "(", "!", "isUnpredicatedTerminator", "(", "*", "I", ")", ")", "break", ";", "SmallVector", "<", "MachineOperand", ",", "4", ">", "ThisCond", ";", "ThisCond", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "0", ")", ")", ";", "const", "MachineOperand", "*", "ThisTarget", ";", "if", "(", "!", "isBranch", "(", "I", ",", "ThisCond", ",", "ThisTarget", ")", ")", "return", "true", ";", "if", "(", "!", "ThisTarget", "->", "isMBB", "(", ")", ")", "return", "true", ";", "if", "(", "ThisCond", "[", "0", "]", ".", "getImm", "(", ")", "==", "RISCV", "::", "CCMASK_ANY", ")", "{", "if", "(", "!", "AllowModify", ")", "{", "TBB", "=", "ThisTarget", "->", "getMBB", "(", ")", ";", "continue", ";", "}", "while", "(", "std", "::", "next", "(", "I", ")", "!=", "MBB", ".", "end", "(", ")", ")", "std", "::", "next", "(", "I", ")", "->", "eraseFromParent", "(", ")", ";", "Cond", ".", "clear", "(", ")", ";", "FBB", "=", "0", ";", "TBB", "=", "ThisTarget", "->", "getMBB", "(", ")", ";", "continue", ";", "}", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "FBB", "=", "TBB", ";", "TBB", "=", "ThisTarget", "->", "getMBB", "(", ")", ";", "Cond", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "ThisCond", "[", "0", "]", ".", "getImm", "(", ")", ")", ")", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "(", "I", "->", "getNumExplicitOperands", "(", ")", ")", ";", "i", "++", ")", "Cond", ".", "push_back", "(", "I", "->", "getOperand", "(", "i", ")", ")", ";", "continue", ";", "}", "assert", "(", "Cond", ".", "size", "(", ")", "<=", "4", ")", ";", "assert", "(", "TBB", ")", ";", "if", "(", "TBB", "!=", "ThisTarget", "->", "getMBB", "(", ")", ")", "return", "true", ";", "unsigned", "OldCond", "=", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ";", "if", "(", "OldCond", "==", "ThisCond", "[", "0", "]", ".", "getImm", "(", ")", ")", "continue", ";", "}", "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": ["RISCV", "RISCV", "4", "0", "0", "RISCV::CCMASK_ANY", "0", "0", "0", "4", "0", "0"], "File": "RISCVInstrInfo4", "Func": "analyzeBranch", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1116, "Length": 346, "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", ")", ";", "if", "(", "!", "TYPE_NO_NAMED_ARGS_STDARG_P", "(", "TREE_TYPE", "(", "current_function_decl", ")", ")", ")", "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": "riscv1", "Func": "riscv_setup_incoming_varargs", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1117, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVInstrInfo", "::", "isBranchOffsetInRange", "(", "unsigned", "BranchOp", ",", "int64_t", "BrOffset", ")", "const", "{", "unsigned", "XLen", "=", "STI", ".", "getXLen", "(", ")", ";", "switch", "(", "BranchOp", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected opcode!\"", ")", ";", "case", "RISCV", "::", "BEQ", ":", "case", "RISCV", "::", "BNE", ":", "case", "RISCV", "::", "BLT", ":", "case", "RISCV", "::", "BGE", ":", "case", "RISCV", "::", "BLTU", ":", "case", "RISCV", "::", "BGEU", ":", "return", "isIntN", "(", "13", ",", "BrOffset", ")", ";", "case", "RISCV", "::", "JAL", ":", "case", "RISCV", "::", "CJAL", ":", "case", "RISCV", "::", "PseudoBR", ":", "case", "RISCV", "::", "PseudoCBR", ":", "return", "isIntN", "(", "21", ",", "BrOffset", ")", ";", "case", "RISCV", "::", "PseudoJump", ":", "case", "RISCV", "::", "PseudoCJump", ":", "return", "isIntN", "(", "32", ",", "SignExtend64", "(", "BrOffset", "+", "0x800", ",", "XLen", ")", ")", ";", "}", "}", ""], "natrual_language": ["Determine", "if", "the", "branch", "target", "is", "in", "range", "."], "TS_V_token": ["RISCV", "RISCV", "\"Unexpected opcode!\"", "RISCV::BEQ", "RISCV::BNE", "RISCV::BLT", "RISCV::BGE", "RISCV::BLTU", "RISCV::BGEU", "13", "RISCV::JAL", "RISCV::CJAL", "RISCV::PseudoBR", "RISCV::PseudoCBR", "21", "RISCV::PseudoJump", "RISCV::PseudoCJump", "32", "0x800"], "File": "RISCVInstrInfo26", "Func": "isBranchOffsetInRange", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1118, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmBackend", "::", "fixupNeedsRelaxationAdvanced", "(", "const", "MCFixup", "&", "Fixup", ",", "bool", "Resolved", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ",", "const", "bool", "WasForced", ")", "const", "{", "if", "(", "!", "Resolved", "&&", "!", "WasForced", ")", "return", "true", ";", "int64_t", "Offset", "=", "int64_t", "(", "Value", ")", ";", "switch", "(", "Fixup", ".", "getTargetKind", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "RISCV", "::", "fixup_riscv_rvc_branch", ":", "return", "Offset", ">", "254", "||", "Offset", "<", "-", "256", ";", "case", "RISCV", "::", "fixup_riscv_rvc_jump", ":", "case", "RISCV", "::", "fixup_riscv_rvc_cjump", ":", "return", "Offset", ">", "2046", "||", "Offset", "<", "-", "2048", ";", "}", "}", ""], "natrual_language": ["Target", "specific", "predicate", "for", "whether", "a", "given", "fixup", "requires", "the", "associated", "instruction", "to", "be", "relaxed", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::fixup_riscv_rvc_branch", "254", "256", "RISCV::fixup_riscv_rvc_jump", "RISCV::fixup_riscv_rvc_cjump", "2046", "2048"], "File": "RISCVAsmBackend20", "Func": "fixupNeedsRelaxationAdvanced", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1119, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "function_builder", "::", "register_function_group", "(", "const", "function_group_info", "&", "group", ")", "{", "(", "*", "group", ".", "shape", ")", "->", "build", "(", "*", "this", ",", "group", ")", ";", "}", ""], "natrual_language": ["Register", "all", "the", "functions", "in", "GROUP", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "register_function_group", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1120, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "DebugLoc", "&", "DL", ",", "MCRegister", "DstReg", ",", "MCRegister", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "if", "(", "RISCV", "::", "GPRRegClass", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "RISCV", "::", "ADDI", ")", ",", "DstReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ".", "addImm", "(", "0", ")", ";", "return", ";", "}", "unsigned", "Opc", ";", "bool", "IsScalableVector", "=", "false", ";", "if", "(", "RISCV", "::", "FPR16RegClass", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", ")", "Opc", "=", "RISCV", "::", "FSGNJ_H", ";", "else", "if", "(", "RISCV", "::", "FPR32RegClass", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", ")", "Opc", "=", "RISCV", "::", "FSGNJ_S", ";", "else", "if", "(", "RISCV", "::", "FPR64RegClass", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", ")", "Opc", "=", "RISCV", "::", "FSGNJ_D", ";", "else", "if", "(", "RISCV", "::", "VRRegClass", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", ")", "{", "Opc", "=", "RISCV", "::", "PseudoVMV1R_V", ";", "IsScalableVector", "=", "true", ";", "}", "else", "if", "(", "RISCV", "::", "VRM2RegClass", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", ")", "{", "Opc", "=", "RISCV", "::", "PseudoVMV2R_V", ";", "IsScalableVector", "=", "true", ";", "}", "else", "if", "(", "RISCV", "::", "VRM4RegClass", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", ")", "{", "Opc", "=", "RISCV", "::", "PseudoVMV4R_V", ";", "IsScalableVector", "=", "true", ";", "}", "else", "if", "(", "RISCV", "::", "VRM8RegClass", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", ")", "{", "Opc", "=", "RISCV", "::", "PseudoVMV8R_V", ";", "IsScalableVector", "=", "true", ";", "}", "else", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "if", "(", "IsScalableVector", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DstReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "else", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DstReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["RISCV", "RISCV", "RISCV::GPRRegClass", "RISCV::ADDI", "0", "RISCV::FPR16RegClass", "RISCV::FSGNJ_H", "RISCV::FPR32RegClass", "RISCV::FSGNJ_S", "RISCV::FPR64RegClass", "RISCV::FSGNJ_D", "RISCV::VRRegClass", "RISCV::PseudoVMV1R_V", "RISCV::VRM2RegClass", "RISCV::PseudoVMV2R_V", "RISCV::VRM4RegClass", "RISCV::PseudoVMV4R_V", "RISCV::VRM8RegClass", "RISCV::PseudoVMV8R_V", "\"Impossible reg-to-reg copy\""], "File": "RISCVInstrInfo19", "Func": "copyPhysReg", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1121, "Length": 325, "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", ",", "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": "RISCVSubtarget21", "Func": "initializeSubtargetDependencies", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1122, "Length": 114, "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": 1123, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstrInfo", "::", "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", "Opcode", ";", "if", "(", "RISCV", "::", "GPRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "RISCV", "::", "SW", ";", "else", "if", "(", "RISCV", "::", "FPR32RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "RISCV", "::", "FSW", ";", "else", "llvm_unreachable", "(", "\"Can't store this register to stack slot\"", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opcode", ")", ")", ".", "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": ["RISCV", "RISCV", "RISCV::GPRRegClass", "RISCV::SW", "RISCV::FPR32RegClass", "RISCV::FSW", "\"Can't store this register to stack slot\"", "0"], "File": "RISCVInstrInfo41", "Func": "storeRegToStackSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1124, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_expand_conditional_move_onesided", "(", "rtx", "dest", ",", "rtx", "cons", ",", "rtx", "alt", ",", "rtx_code", "code", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "gcc_assert", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_INT", ")", ";", "gcc_assert", "(", "reg_or_0_operand", "(", "cons", ",", "mode", ")", ")", ";", "gcc_assert", "(", "reg_or_0_operand", "(", "alt", ",", "mode", ")", ")", ";", "riscv_emit_int_compare", "(", "&", "code", ",", "&", "op0", ",", "&", "op1", ",", "true", ")", ";", "rtx", "cond", "=", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "op0", ",", "op1", ")", ";", "rtx", "tmp1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rtx", "tmp2", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "tmp1", ",", "gen_rtx_IF_THEN_ELSE", "(", "mode", ",", "cond", ",", "cons", ",", "const0_rtx", ")", ")", ")", ";", "cond", "=", "gen_rtx_fmt_ee", "(", "(", "code", "==", "EQ", ")", "?", "NE", ":", "EQ", ",", "mode", ",", "op0", ",", "op1", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "tmp2", ",", "gen_rtx_IF_THEN_ELSE", "(", "mode", ",", "cond", ",", "alt", ",", "const0_rtx", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "gen_rtx_IOR", "(", "mode", ",", "tmp1", ",", "tmp2", ")", ")", ")", ";", "}", ""], "natrual_language": ["Helper", "to", "emit", "two", "one-sided", "conditional", "moves", "for", "the", "movecc", "."], "TS_V_token": ["riscv"], "File": "riscv1", "Func": "riscv_expand_conditional_move_onesided", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1125, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "tree", "rvv_arg_type_info", "::", "get_vector_type", "(", "vector_type_index", "type_idx", ")", "const", "{", "return", "get_function_type_index", "(", "type_idx", ")", "==", "VECTOR_TYPE_INVALID", "?", "NULL_TREE", ":", "builtin_types", "[", "get_function_type_index", "(", "type_idx", ")", "]", ".", "vector", ";", "}", ""], "natrual_language": ["Return", "the", "vector", "type", "associated", "with", "type", "suffix", "TYPE", "."], "TS_V_token": ["riscv", "rvv_arg_type_info::get_vector_type"], "File": "riscv-vector-builtins", "Func": "get_vector_type", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1126, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "apply_mask_policy_p", "(", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["We", "choose", "to", "apply", "mask", "policy", "operand", "by", "default", "since", "most", "of", "the", "intrinsics", "has", "mask", "policy", "operand", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins-bases", "Func": "apply_mask_policy_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1127, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "RISCVRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "auto", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "if", "(", "CC", "==", "CallingConv", "::", "GHC", ")", "return", "CSR_NoRegs_RegMask", ";", "switch", "(", "Subtarget", ".", "getTargetABI", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unrecognized ABI\"", ")", ";", "case", "RISCVABI", "::", "ABI_ILP32", ":", "case", "RISCVABI", "::", "ABI_LP64", ":", "return", "CSR_ILP32_LP64_RegMask", ";", "case", "RISCVABI", "::", "ABI_ILP32F", ":", "case", "RISCVABI", "::", "ABI_LP64F", ":", "return", "CSR_ILP32F_LP64F_RegMask", ";", "case", "RISCVABI", "::", "ABI_ILP32D", ":", "case", "RISCVABI", "::", "ABI_LP64D", ":", "return", "CSR_ILP32D_LP64D_RegMask", ";", "}", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "\"Unrecognized ABI\"", "RISCVABI::ABI_ILP32", "RISCVABI::ABI_LP64", "RISCVABI::ABI_ILP32F", "RISCVABI::ABI_LP64F", "RISCVABI::ABI_ILP32D", "RISCVABI::ABI_LP64D"], "File": "RISCVRegisterInfo1", "Func": "getCallPreservedMask", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1128, "Length": 100, "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": 1129, "Length": 175, "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_X_ANYEXTW_RV64", ":", "return", "\"RISCVISD::FMV_X_ANYEXTW_RV64\"", ";", "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_X_ANYEXTW_RV64", "\"RISCVISD::FMV_X_ANYEXTW_RV64\"", "RISCVISD::READ_CYCLE_WIDE", "\"RISCVISD::READ_CYCLE_WIDE\""], "File": "RISCVISelLowering11", "Func": "getTargetNodeName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1130, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVPassConfig", "::", "addPreISel", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createBarrierNoopPass", "(", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVTargetMachine20", "Func": "addPreISel", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1131, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVFrameLowering", "::", "hasReservedCallFrame", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "!", "MF", ".", "getFrameInfo", "(", ")", ".", "hasVarSizedObjects", "(", ")", "&&", "!", "(", "hasFP", "(", "MF", ")", "&&", "hasRVVFrameObject", "(", "MF", ")", ")", ";", "}", ""], "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": ["RISCV", "RISCV"], "File": "RISCVFrameLowering (2)", "Func": "hasReservedCallFrame", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1132, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "riscv_address_insns", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "bool", "might_split_p", ")", "{", "struct", "riscv_address_info", "addr", ";", "int", "n", "=", "1", ";", "if", "(", "!", "riscv_classify_address", "(", "&", "addr", ",", "x", ",", "mode", ",", "false", ")", ")", "{", "return", "3", ";", "}", "if", "(", "mode", "!=", "BLKmode", "&&", "might_split_p", ")", "n", "+=", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "if", "(", "addr", ".", "type", "==", "ADDRESS_LO_SUM", ")", "n", "+=", "riscv_symbol_insns", "(", "addr", ".", "symbol_type", ")", "-", "1", ";", "return", "n", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "needed", "to", "load", "or", "store", "a", "value", "of", "mode", "MODE", "at", "address", "X", ".", "Return", "0", "if", "X", "is", "n't", "valid", "for", "MODE", ".", "Assume", "that", "multiword", "moves", "may", "need", "to", "be", "split", "into", "word", "moves", "if", "MIGHT_SPLIT_P", ",", "otherwise", "assume", "that", "a", "single", "load", "or", "store", "is", "enough", "."], "TS_V_token": ["riscv", "1", "3", "1", "1"], "File": "riscv4", "Func": "riscv_address_insns", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1133, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "riscv_vector_alignment", "(", "const_tree", "type", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "TYPE_MODE", "(", "type", ")", ")", "==", "MODE_VECTOR_BOOL", ")", "return", "8", ";", "widest_int", "min_size", "=", "constant_lower_bound", "(", "wi", "::", "to_poly_widest", "(", "TYPE_SIZE", "(", "type", ")", ")", ")", ";", "return", "wi", "::", "umin", "(", "min_size", ",", "128", ")", ".", "to_uhwi", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VECTOR_ALIGNMENT", "."], "TS_V_token": ["riscv", "8", "128"], "File": "riscv1", "Func": "riscv_vector_alignment", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1134, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "SDValue", "getTargetNode", "(", "ConstantPoolSDNode", "*", "N", ",", "SDLoc", "DL", ",", "EVT", "Ty", ",", "SelectionDAG", "&", "DAG", ",", "unsigned", "Flags", ")", "{", "return", "DAG", ".", "getTargetConstantPool", "(", "N", "->", "getConstVal", "(", ")", ",", "Ty", ",", "N", "->", "getAlignment", "(", ")", ",", "N", "->", "getOffset", "(", ")", ",", "Flags", ")", ";", "}", ""], "natrual_language": ["Retrieve", "the", "target", "node", "this", "edge", "connects", "to", "."], "TS_V_token": ["RISCV"], "File": "RISCVISelLowering11", "Func": "getTargetNode", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1135, "Length": 51, "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": 1136, "Length": 62, "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": ["RISCV"], "File": "RISCVTargetMachine (2)", "Func": "getObjFileLowering", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1137, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVMCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "unsigned", "Size", "=", "Desc", ".", "getSize", "(", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "PseudoCALLReg", "||", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "PseudoCALL", "||", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "PseudoTAIL", ")", "{", "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": ["RISCV", "RISCV", "RISCV::PseudoCALLReg", "RISCV::PseudoCALL", "RISCV::PseudoTAIL", "2", "RISCV::PseudoAddTPRel", "1", "\"Unhandled encodeInstruction length!\"", "2", "support::endian", "support::little", "4", "support::endian", "support::little"], "File": "RISCVMCCodeEmitter18", "Func": "encodeInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1138, "Length": 223, "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": 1139, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVRegisterInfo", "::", "isAsmClobberable", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "PhysReg", ")", "const", "{", "return", "!", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ".", "isRegisterReservedByUser", "(", "PhysReg", ")", ";", "}", ""], "natrual_language": ["Returns", "false", "if", "we", "ca", "n't", "guarantee", "that", "Physreg", ",", "specified", "as", "an", "IR", "asm", "clobber", "constraint", ",", "will", "be", "preserved", "across", "the", "statement", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV"], "File": "RISCVRegisterInfo13", "Func": "isAsmClobberable", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1140, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_unique_section", "(", "tree", "decl", ",", "int", "reloc", ")", "{", "const", "char", "*", "prefix", "=", "NULL", ";", "bool", "one_only", "=", "DECL_ONE_ONLY", "(", "decl", ")", "&&", "!", "HAVE_COMDAT_GROUP", ";", "switch", "(", "categorize_decl_for_section", "(", "decl", ",", "reloc", ")", ")", "{", "case", "SECCAT_SRODATA", ":", "prefix", "=", "one_only", "?", "\".sr\"", ":", "\".srodata\"", ";", "break", ";", "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": ["Switch", "to", "the", "appropriate", "section", "for", "output", "of", "DECL", "."], "TS_V_token": ["riscv", "\".sr\"", "\".srodata\"", "\".gnu.linkonce\"", "\"\"", "\".\""], "File": "riscv", "Func": "riscv_unique_section", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1141, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_classify_address", "(", "struct", "riscv_address_info", "*", "info", ",", "rtx", "x", ",", "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", ",", "info", "->", "offset", ")", ")", ";", "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": "riscv", "Func": "riscv_classify_address", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1142, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVInstrInfo", "::", "isFunctionSafeToOutlineFrom", "(", "MachineFunction", "&", "MF", ",", "bool", "OutlineFromLinkOnceODRs", ")", "const", "{", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "!", "OutlineFromLinkOnceODRs", "&&", "F", ".", "hasLinkOnceODRLinkage", "(", ")", ")", "return", "false", ";", "if", "(", "F", ".", "hasSection", "(", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "function", "can", "safely", "be", "outlined", "from", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVInstrInfo (2)", "Func": "isFunctionSafeToOutlineFrom", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1143, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "RISCVTargetLowering", "::", "getAddr", "(", "NodeTy", "*", "N", ",", "EVT", "Ty", ",", "SelectionDAG", "&", "DAG", ",", "bool", "IsLocal", ",", "bool", "CanDeriveFromPcc", ")", "const", "{", "SDLoc", "DL", "(", "N", ")", ";", "if", "(", "RISCVABI", "::", "isCheriPureCapABI", "(", "Subtarget", ".", "getTargetABI", "(", ")", ")", ")", "{", "SDValue", "Addr", "=", "getTargetNode", "(", "N", ",", "DL", ",", "Ty", ",", "DAG", ",", "0", ")", ";", "if", "(", "IsLocal", "&&", "CanDeriveFromPcc", ")", "{", "return", "SDValue", "(", "DAG", ".", "getMachineNode", "(", "RISCV", "::", "PseudoCLLC", ",", "DL", ",", "Ty", ",", "Addr", ")", ",", "0", ")", ";", "}", "SDValue", "Load", "=", "SDValue", "(", "DAG", ".", "getMachineNode", "(", "RISCV", "::", "PseudoCLGC", ",", "DL", ",", "Ty", ",", "Addr", ")", ",", "0", ")", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MachineMemOperand", "*", "MemOp", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getGOT", "(", "MF", ")", ",", "MachineMemOperand", "::", "MOLoad", "|", "MachineMemOperand", "::", "MODereferenceable", "|", "MachineMemOperand", "::", "MOInvariant", ",", "LLT", "(", "Ty", ".", "getSimpleVT", "(", ")", ")", ",", "Align", "(", "Ty", ".", "getFixedSizeInBits", "(", ")", "/", "8", ")", ")", ";", "DAG", ".", "setNodeMemRefs", "(", "cast", "<", "MachineSDNode", ">", "(", "Load", ".", "getNode", "(", ")", ")", ",", "{", "MemOp", "}", ")", ";", "return", "Load", ";", "}", "if", "(", "isPositionIndependent", "(", ")", ")", "{", "SDValue", "Addr", "=", "getTargetNode", "(", "N", ",", "DL", ",", "Ty", ",", "DAG", ",", "0", ")", ";", "if", "(", "IsLocal", ")", "return", "SDValue", "(", "DAG", ".", "getMachineNode", "(", "RISCV", "::", "PseudoLLA", ",", "DL", ",", "Ty", ",", "Addr", ")", ",", "0", ")", ";", "SDValue", "Load", "=", "SDValue", "(", "DAG", ".", "getMachineNode", "(", "RISCV", "::", "PseudoLA", ",", "DL", ",", "Ty", ",", "Addr", ")", ",", "0", ")", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MachineMemOperand", "*", "MemOp", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getGOT", "(", "MF", ")", ",", "MachineMemOperand", "::", "MOLoad", "|", "MachineMemOperand", "::", "MODereferenceable", "|", "MachineMemOperand", "::", "MOInvariant", ",", "LLT", "(", "Ty", ".", "getSimpleVT", "(", ")", ")", ",", "Align", "(", "Ty", ".", "getFixedSizeInBits", "(", ")", "/", "8", ")", ")", ";", "DAG", ".", "setNodeMemRefs", "(", "cast", "<", "MachineSDNode", ">", "(", "Load", ".", "getNode", "(", ")", ")", ",", "{", "MemOp", "}", ")", ";", "return", "Load", ";", "}", "switch", "(", "getTargetMachine", "(", ")", ".", "getCodeModel", "(", ")", ")", "{", "default", ":", "report_fatal_error", "(", "\"Unsupported code model for lowering\"", ")", ";", "case", "CodeModel", "::", "Small", ":", "{", "SDValue", "AddrHi", "=", "getTargetNode", "(", "N", ",", "DL", ",", "Ty", ",", "DAG", ",", "RISCVII", "::", "MO_HI", ")", ";", "SDValue", "AddrLo", "=", "getTargetNode", "(", "N", ",", "DL", ",", "Ty", ",", "DAG", ",", "RISCVII", "::", "MO_LO", ")", ";", "SDValue", "MNHi", "=", "SDValue", "(", "DAG", ".", "getMachineNode", "(", "RISCV", "::", "LUI", ",", "DL", ",", "Ty", ",", "AddrHi", ")", ",", "0", ")", ";", "return", "SDValue", "(", "DAG", ".", "getMachineNode", "(", "RISCV", "::", "ADDI", ",", "DL", ",", "Ty", ",", "MNHi", ",", "AddrLo", ")", ",", "0", ")", ";", "}", "case", "CodeModel", "::", "Medium", ":", "{", "SDValue", "Addr", "=", "getTargetNode", "(", "N", ",", "DL", ",", "Ty", ",", "DAG", ",", "0", ")", ";", "return", "SDValue", "(", "DAG", ".", "getMachineNode", "(", "RISCV", "::", "PseudoLLA", ",", "DL", ",", "Ty", ",", "Addr", ")", ",", "0", ")", ";", "}", "}", "}", ""], "natrual_language": ["Return", "the", "address", "accessed", "by", "this", "recipe", "."], "TS_V_token": ["RISCV", "RISCV", "RISCVABI::isCheriPureCapABI", "0", "RISCV::PseudoCLLC", "0", "RISCV::PseudoCLGC", "0", "8", "0", "RISCV::PseudoLLA", "0", "RISCV::PseudoLA", "0", "8", "\"Unsupported code model for lowering\"", "RISCVII::MO_HI", "RISCVII::MO_LO", "RISCV::LUI", "0", "RISCV::ADDI", "0", "0", "RISCV::PseudoLLA", "0"], "File": "RISCVISelLowering42", "Func": "getAddr", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1144, "Length": 502, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "riscv_build_integer", "(", "struct", "riscv_integer_op", "*", "codes", ",", "HOST_WIDE_INT", "value", ",", "machine_mode", "mode", ")", "{", "int", "cost", "=", "riscv_build_integer_1", "(", "codes", ",", "value", ",", "mode", ")", ";", "if", "(", "value", ">", "0", "&&", "cost", ">", "2", ")", "{", "struct", "riscv_integer_op", "alt_codes", "[", "RISCV_MAX_INTEGER_OPS", "]", ";", "int", "alt_cost", ",", "shift", "=", "clz_hwi", "(", "value", ")", ";", "HOST_WIDE_INT", "shifted_val", ";", "shifted_val", "=", "(", "value", "<<", "shift", ")", "|", "(", "(", "(", "(", "HOST_WIDE_INT", ")", "1", ")", "<<", "shift", ")", "-", "1", ")", ";", "alt_cost", "=", "1", "+", "riscv_build_integer_1", "(", "alt_codes", ",", "shifted_val", ",", "mode", ")", ";", "if", "(", "alt_cost", "<", "cost", ")", "{", "alt_codes", "[", "alt_cost", "-", "1", "]", ".", "code", "=", "LSHIFTRT", ";", "alt_codes", "[", "alt_cost", "-", "1", "]", ".", "value", "=", "shift", ";", "memcpy", "(", "codes", ",", "alt_codes", ",", "sizeof", "(", "alt_codes", ")", ")", ";", "cost", "=", "alt_cost", ";", "}", "shifted_val", "=", "value", "<<", "shift", ";", "alt_cost", "=", "1", "+", "riscv_build_integer_1", "(", "alt_codes", ",", "shifted_val", ",", "mode", ")", ";", "if", "(", "alt_cost", "<", "cost", ")", "{", "alt_codes", "[", "alt_cost", "-", "1", "]", ".", "code", "=", "LSHIFTRT", ";", "alt_codes", "[", "alt_cost", "-", "1", "]", ".", "value", "=", "shift", ";", "memcpy", "(", "codes", ",", "alt_codes", ",", "sizeof", "(", "alt_codes", ")", ")", ";", "cost", "=", "alt_cost", ";", "}", "}", "return", "cost", ";", "}", ""], "natrual_language": ["Fill", "CODES", "with", "a", "sequence", "of", "rtl", "operations", "to", "load", "VALUE", ".", "Return", "the", "number", "of", "operations", "needed", "."], "TS_V_token": ["riscv", "0", "2", "1", "1", "1", "1", "1", "1", "1", "1"], "File": "riscv", "Func": "riscv_build_integer", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1145, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "riscv_legitimize_call_address", "(", "rtx", "addr", ")", "{", "if", "(", "!", "call_insn_operand", "(", "addr", ",", "VOIDmode", ")", ")", "{", "rtx", "reg", "=", "RISCV_CALL_ADDRESS_TEMP", "(", "Pmode", ")", ";", "riscv_emit_move", "(", "reg", ",", "addr", ")", ";", "return", "reg", ";", "}", "return", "addr", ";", "}", ""], "natrual_language": ["Make", "ADDR", "suitable", "for", "use", "as", "a", "call", "or", "sibcall", "target", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_legitimize_call_address", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1146, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "RISCVTargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "LLT", "VT", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "Register", "Reg", "=", "MatchRegisterAltName", "(", "RegName", ")", ";", "if", "(", "Reg", "==", "RISCV", "::", "NoRegister", ")", "Reg", "=", "MatchRegisterName", "(", "RegName", ")", ";", "if", "(", "Reg", "==", "RISCV", "::", "NoRegister", ")", "report_fatal_error", "(", "Twine", "(", "\"Invalid register name \\\"\"", "+", "StringRef", "(", "RegName", ")", "+", "\"\\\".\"", ")", ")", ";", "BitVector", "ReservedRegs", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", "->", "getReservedRegs", "(", "MF", ")", ";", "if", "(", "!", "ReservedRegs", ".", "test", "(", "Reg", ")", "&&", "!", "Subtarget", ".", "isRegisterReservedByUser", "(", "Reg", ")", ")", "report_fatal_error", "(", "Twine", "(", "\"Trying to obtain non-reserved register \\\"\"", "+", "StringRef", "(", "RegName", ")", "+", "\"\\\".\"", ")", ")", ";", "return", "Reg", ";", "}", ""], "natrual_language": ["Return", "the", "register", "ID", "of", "the", "name", "passed", "in", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::NoRegister", "RISCV::NoRegister", "\"Invalid register name \\\"\"", "\"\\\".\"", "\"Trying to obtain non-reserved register \\\"\"", "\"\\\".\""], "File": "RISCVISelLowering1", "Func": "getRegisterByName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1147, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "RISCV", "::", "SB", ":", "case", "RISCV", "::", "SH", ":", "case", "RISCV", "::", "SW", ":", "case", "RISCV", "::", "FSH", ":", "case", "RISCV", "::", "FSW", ":", "case", "RISCV", "::", "SD", ":", "case", "RISCV", "::", "FSD", ":", "case", "RISCV", "::", "SC_64", ":", "case", "RISCV", "::", "SC_128", ":", "case", "RISCV", "::", "CSB", ":", "case", "RISCV", "::", "CSH", ":", "case", "RISCV", "::", "CSW", ":", "case", "RISCV", "::", "CFSW", ":", "case", "RISCV", "::", "CSD", ":", "case", "RISCV", "::", "CFSD", ":", "case", "RISCV", "::", "CSC_64", ":", "case", "RISCV", "::", "CSC_128", ":", "break", ";", "}", "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": ["RISCV", "RISCV", "0", "RISCV::SB", "RISCV::SH", "RISCV::SW", "RISCV::FSH", "RISCV::FSW", "RISCV::SD", "RISCV::FSD", "RISCV::SC_64", "RISCV::SC_128", "RISCV::CSB", "RISCV::CSH", "RISCV::CSW", "RISCV::CFSW", "RISCV::CSD", "RISCV::CFSD", "RISCV::CSC_64", "RISCV::CSC_128", "1", "2", "2", "0", "1", "0", "0"], "File": "RISCVInstrInfo26", "Func": "isStoreToStackSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1148, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "auto", "*", "RVFI", "=", "MF", ".", "getInfo", "<", "RISCVMachineFunctionInfo", ">", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "RegInfo", "->", "needsStackRealignment", "(", "MF", ")", "||", "MFI", ".", "hasVarSizedObjects", "(", ")", "||", "MFI", ".", "isFrameAddressTaken", "(", ")", "||", "RVFI", "->", "hasSpillVRs", "(", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV"], "File": "RISCVFrameLowering20", "Func": "hasFP", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1149, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmBackend", "::", "shouldInsertFixupForCodeAlign", "(", "MCAssembler", "&", "Asm", ",", "const", "MCAsmLayout", "&", "Layout", ",", "MCAlignFragment", "&", "AF", ")", "{", "if", "(", "!", "STI", ".", "getFeatureBits", "(", ")", "[", "RISCV", "::", "FeatureRelax", "]", ")", "return", "false", ";", "unsigned", "Count", ";", "if", "(", "!", "shouldInsertExtraNopBytesForCodeAlign", "(", "AF", ",", "Count", ")", "||", "(", "Count", "==", "0", ")", ")", "return", "false", ";", "MCContext", "&", "Ctx", "=", "Asm", ".", "getContext", "(", ")", ";", "const", "MCExpr", "*", "Dummy", "=", "MCConstantExpr", "::", "create", "(", "0", ",", "Ctx", ")", ";", "MCFixup", "Fixup", "=", "MCFixup", "::", "create", "(", "0", ",", "Dummy", ",", "MCFixupKind", "(", "RISCV", "::", "fixup_riscv_align", ")", ",", "SMLoc", "(", ")", ")", ";", "uint64_t", "FixedValue", "=", "0", ";", "MCValue", "NopBytes", "=", "MCValue", "::", "get", "(", "Count", ")", ";", "Asm", ".", "getWriter", "(", ")", ".", "recordRelocation", "(", "Asm", ",", "Layout", ",", "&", "AF", ",", "Fixup", ",", "NopBytes", ",", "FixedValue", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Hook", "which", "indicates", "if", "the", "target", "requires", "a", "fixup", "to", "be", "generated", "when", "handling", "an", "align", "directive", "in", "an", "executable", "section", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::FeatureRelax", "0", "0", "0", "RISCV::fixup_riscv_align", "0"], "File": "RISCVAsmBackend14", "Func": "shouldInsertFixupForCodeAlign", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1150, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "RISCVTTIImpl", "::", "getIntImmCostInst", "(", "unsigned", "Opcode", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", "&&", "\"getIntImmCost can only estimate cost of materialising integers\"", ")", ";", "if", "(", "Imm", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "bool", "Takes12BitImm", "=", "false", ";", "unsigned", "ImmArgIdx", "=", "~", "0U", ";", "switch", "(", "Opcode", ")", "{", "case", "Instruction", "::", "GetElementPtr", ":", "return", "TTI", "::", "TCC_Free", ";", "case", "Instruction", "::", "Add", ":", "case", "Instruction", "::", "And", ":", "case", "Instruction", "::", "Or", ":", "case", "Instruction", "::", "Xor", ":", "case", "Instruction", "::", "Mul", ":", "Takes12BitImm", "=", "true", ";", "break", ";", "case", "Instruction", "::", "Sub", ":", "case", "Instruction", "::", "Shl", ":", "case", "Instruction", "::", "LShr", ":", "case", "Instruction", "::", "AShr", ":", "Takes12BitImm", "=", "true", ";", "ImmArgIdx", "=", "1", ";", "break", ";", "default", ":", "break", ";", "}", "if", "(", "Takes12BitImm", ")", "{", "if", "(", "Instruction", "::", "isCommutative", "(", "Opcode", ")", "||", "Idx", "==", "ImmArgIdx", ")", "{", "if", "(", "Imm", ".", "getMinSignedBits", "(", ")", "<=", "64", "&&", "getTLI", "(", ")", "->", "isLegalAddImmediate", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "{", "return", "TTI", "::", "TCC_Free", ";", "}", "}", "return", "getIntImmCost", "(", "Imm", ",", "Ty", ",", "CostKind", ")", ";", "}", "return", "TTI", "::", "TCC_Free", ";", "}", ""], "natrual_language": ["Return", "the", "expected", "cost", "of", "materialization", "for", "the", "given", "integer", "immediate", "of", "the", "specified", "type", "for", "a", "given", "instruction", "."], "TS_V_token": ["RISCV", "RISCV", "\"getIntImmCost can only estimate cost of materialising integers\"", "0", "0U", "1", "64"], "File": "RISCVTargetTransformInfo11", "Func": "getIntImmCostInst", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1151, "Length": 207, "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": 1152, "Length": 437, "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": 1153, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "riscv_promote_function_mode", "(", "const_tree", "type", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ",", "int", "*", "punsignedp", "ATTRIBUTE_UNUSED", ",", "const_tree", "fntype", "ATTRIBUTE_UNUSED", ",", "int", "for_return", "ATTRIBUTE_UNUSED", ")", "{", "int", "unsignedp", ";", "if", "(", "type", "!=", "NULL_TREE", ")", "return", "promote_mode", "(", "type", ",", "mode", ",", "punsignedp", ")", ";", "unsignedp", "=", "*", "punsignedp", ";", "PROMOTE_MODE", "(", "as_a", "<", "scalar_mode", ">", "(", "mode", ")", ",", "unsignedp", ",", "type", ")", ";", "*", "punsignedp", "=", "unsignedp", ";", "return", "mode", ";", "}", ""], "natrual_language": ["This", "function", "is", "equivalent", "to", "default_promote_function_mode_always_promote", "except", "that", "it", "returns", "a", "promoted", "mode", "even", "if", "type", "is", "NULL_TREE", ".", "This", "is", "needed", "by", "libcalls", "which", "have", "no", "type", "(", "only", "a", "mode", ")", "such", "as", "fixed", "conversion", "routines", "that", "take", "a", "signed", "or", "unsigned", "char/short/int", "argument", "and", "convert", "it", "to", "a", "fixed", "type", "."], "TS_V_token": ["riscv"], "File": "riscv1", "Func": "riscv_promote_function_mode", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1154, "Length": 73, "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": 1155, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "override", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "RISCV", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"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_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", "}", "}", ";", "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", "RISCV::NumTargetFixupKinds", "\"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_jal\"", "12", "20", "\"fixup_riscv_branch\"", "0", "32", "\"fixup_riscv_rvc_jump\"", "2", "11", "\"fixup_riscv_rvc_branch\"", "0", "16", "\"Invalid kind!\""], "File": "RISCVAsmBackend28", "Func": "getFixupKindInfo", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1156, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "RISCVTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "report_fatal_error", "(", "\"unimplemented operand\"", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "lowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "lowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "lowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "lowerSELECT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "lowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "lowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "lowerRETURNADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BITCAST", ":", "{", "assert", "(", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Subtarget", ".", "hasStdExtF", "(", ")", "&&", "\"Unexpected custom legalisation\"", ")", ";", "SDLoc", "DL", "(", "Op", ")", ";", "SDValue", "Op0", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "if", "(", "Op", ".", "getValueType", "(", ")", "!=", "MVT", "::", "f32", "||", "Op0", ".", "getValueType", "(", ")", "!=", "MVT", "::", "i32", ")", "return", "SDValue", "(", ")", ";", "SDValue", "NewOp0", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ANY_EXTEND", ",", "DL", ",", "MVT", "::", "i64", ",", "Op0", ")", ";", "SDValue", "FPConv", "=", "DAG", ".", "getNode", "(", "RISCVISD", "::", "FMV_W_X_RV64", ",", "DL", ",", "MVT", "::", "f32", ",", "NewOp0", ")", ";", "return", "FPConv", ";", "}", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["RISCV", "RISCV", "\"unimplemented operand\"", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::ConstantPool", "ISD::SELECT", "ISD::VASTART", "ISD::FRAMEADDR", "ISD::RETURNADDR", "ISD::BITCAST", "\"Unexpected custom legalisation\"", "0", "MVT::f32", "MVT::i32", "ISD::ANY_EXTEND", "MVT::i64", "RISCVISD::FMV_W_X_RV64", "MVT::f32"], "File": "RISCVISelLowering59", "Func": "LowerOperation", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1157, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "VSETVLIInfo", "intersect", "(", "const", "VSETVLIInfo", "&", "Other", ")", "const", "{", "if", "(", "!", "Other", ".", "isValid", "(", ")", ")", "return", "*", "this", ";", "if", "(", "!", "isValid", "(", ")", ")", "return", "Other", ";", "if", "(", "*", "this", "==", "Other", ")", "return", "*", "this", ";", "return", "VSETVLIInfo", "::", "getUnknown", "(", ")", ";", "}", ""], "natrual_language": ["Intersect", "this", "set", "with", "a", "temporary", "other", "set", "in", "place", "."], "TS_V_token": ["RISCV", "VSETVLIInfo::getUnknown"], "File": "RISCVInsertVSETVLI7", "Func": "intersect", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1158, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isFMAFasterThanFMulAndFAdd", "(", "EVT", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "an", "FMA", "operation", "is", "faster", "than", "a", "pair", "of", "fmul", "and", "fadd", "instructions", "."], "TS_V_token": ["RISCV"], "File": "RISCVISelLowering (2)1", "Func": "isFMAFasterThanFMulAndFAdd", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1159, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "get_avl", "(", ")", "const", "{", "return", "m_avl", ".", "get_value", "(", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "get", "AVL", "operand", "."], "TS_V_token": ["riscv"], "File": "riscv-vsetvl", "Func": "get_avl", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1160, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "get_default_ma", "(", ")", "{", "return", "(", "bool", ")", "(", "get_prefer_mask_policy", "(", ")", "&", "0x1", "||", "(", "get_prefer_mask_policy", "(", ")", ">>", "1", "&", "0x1", ")", ")", ";", "}", ""], "natrual_language": ["Get", "default", "mask", "policy", "."], "TS_V_token": ["riscv", "0x1", "1", "0x1"], "File": "riscv-vsetvl", "Func": "get_default_ma", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1161, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "unsigned", "Opcode", "=", "Node", "->", "getOpcode", "(", ")", ";", "MVT", "XLenVT", "=", "Subtarget", "->", "getXLenVT", "(", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"== \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "Node", "->", "setNodeId", "(", "-", "1", ")", ";", "return", ";", "}", "EVT", "VT", "=", "Node", "->", "getValueType", "(", "0", ")", ";", "if", "(", "Opcode", "==", "ISD", "::", "Constant", "&&", "VT", "==", "XLenVT", ")", "{", "auto", "*", "ConstNode", "=", "cast", "<", "ConstantSDNode", ">", "(", "Node", ")", ";", "if", "(", "ConstNode", "->", "isNullValue", "(", ")", ")", "{", "SDValue", "New", "=", "CurDAG", "->", "getCopyFromReg", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "SDLoc", "(", "Node", ")", ",", "RISCV", "::", "X0", ",", "XLenVT", ")", ";", "ReplaceNode", "(", "Node", ",", "New", ".", "getNode", "(", ")", ")", ";", "return", ";", "}", "}", "if", "(", "Opcode", "==", "ISD", "::", "FrameIndex", ")", "{", "SDLoc", "DL", "(", "Node", ")", ";", "SDValue", "Imm", "=", "CurDAG", "->", "getTargetConstant", "(", "0", ",", "DL", ",", "XLenVT", ")", ";", "int", "FI", "=", "cast", "<", "FrameIndexSDNode", ">", "(", "Node", ")", "->", "getIndex", "(", ")", ";", "EVT", "VT", "=", "Node", "->", "getValueType", "(", "0", ")", ";", "SDValue", "TFI", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "VT", ")", ";", "ReplaceNode", "(", "Node", ",", "CurDAG", "->", "getMachineNode", "(", "RISCV", "::", "ADDI", ",", "DL", ",", "VT", ",", "TFI", ",", "Imm", ")", ")", ";", "return", ";", "}", "SelectCode", "(", "Node", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["RISCV", "RISCV", "\"== \"", "\"\\n\"", "1", "0", "ISD::Constant", "RISCV::X0", "ISD::FrameIndex", "0", "0", "RISCV::ADDI"], "File": "RISCVISelDAGToDAG33", "Func": "Select", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1162, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixup", "*", "RISCVMCExpr", "::", "getPCRelHiFixup", "(", "const", "MCFragment", "*", "*", "DFOut", ")", "const", "{", "MCValue", "AUIPCLoc", ";", "if", "(", "!", "getSubExpr", "(", ")", "->", "evaluateAsRelocatable", "(", "AUIPCLoc", ",", "nullptr", ",", "nullptr", ")", ")", "return", "nullptr", ";", "const", "MCSymbolRefExpr", "*", "AUIPCSRE", "=", "AUIPCLoc", ".", "getSymA", "(", ")", ";", "if", "(", "!", "AUIPCSRE", ")", "return", "nullptr", ";", "const", "MCSymbol", "*", "AUIPCSymbol", "=", "&", "AUIPCSRE", "->", "getSymbol", "(", ")", ";", "const", "auto", "*", "DF", "=", "dyn_cast_or_null", "<", "MCDataFragment", ">", "(", "AUIPCSymbol", "->", "getFragment", "(", ")", ")", ";", "if", "(", "!", "DF", ")", "return", "nullptr", ";", "uint64_t", "Offset", "=", "AUIPCSymbol", "->", "getOffset", "(", ")", ";", "if", "(", "DF", "->", "getContents", "(", ")", ".", "size", "(", ")", "==", "Offset", ")", "{", "DF", "=", "dyn_cast_or_null", "<", "MCDataFragment", ">", "(", "DF", "->", "getNextNode", "(", ")", ")", ";", "if", "(", "!", "DF", ")", "return", "nullptr", ";", "Offset", "=", "0", ";", "}", "for", "(", "const", "MCFixup", "&", "F", ":", "DF", "->", "getFixups", "(", ")", ")", "{", "if", "(", "F", ".", "getOffset", "(", ")", "!=", "Offset", ")", "continue", ";", "switch", "(", "(", "unsigned", ")", "F", ".", "getKind", "(", ")", ")", "{", "default", ":", "continue", ";", "case", "RISCV", "::", "fixup_riscv_got_hi20", ":", "case", "RISCV", "::", "fixup_riscv_tls_got_hi20", ":", "case", "RISCV", "::", "fixup_riscv_tls_gd_hi20", ":", "case", "RISCV", "::", "fixup_riscv_pcrel_hi20", ":", "if", "(", "DFOut", ")", "*", "DFOut", "=", "DF", ";", "return", "&", "F", ";", "}", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["Get", "the", "corresponding", "PC-relative", "HI", "fixup", "that", "a", "VK_RISCV_PCREL_LO", "points", "to", ",", "and", "optionally", "the", "fragment", "containing", "it", "."], "TS_V_token": ["RISCV", "RISCV", "0", "RISCV::fixup_riscv_got_hi20", "RISCV::fixup_riscv_tls_got_hi20", "RISCV::fixup_riscv_tls_gd_hi20", "RISCV::fixup_riscv_pcrel_hi20"], "File": "RISCVMCExpr11", "Func": "getPCRelHiFixup", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1163, "Length": 225, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "RISCVRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", ")", "const", "{", "auto", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"interrupt\"", ")", ")", "{", "if", "(", "Subtarget", ".", "hasStdExtD", "(", ")", ")", "return", "CSR_XLEN_F64_Interrupt_RegMask", ";", "if", "(", "Subtarget", ".", "hasStdExtF", "(", ")", ")", "return", "CSR_XLEN_F32_Interrupt_RegMask", ";", "return", "CSR_Interrupt_RegMask", ";", "}", "return", "CSR_ILP32_LP64_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "\"interrupt\""], "File": "RISCVRegisterInfo31", "Func": "getCallPreservedMask", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1164, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "section", "*", "riscv_elf_select_rtx_section", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "unsigned", "HOST_WIDE_INT", "align", ")", "{", "section", "*", "s", "=", "default_elf_select_rtx_section", "(", "mode", ",", "x", ",", "align", ")", ";", "if", "(", "riscv_size_ok_for_small_data_p", "(", "GET_MODE_SIZE", "(", "mode", ")", ".", "to_constant", "(", ")", ")", ")", "{", "if", "(", "startswith", "(", "s", "->", "named", ".", "name", ",", "\".rodata.cst\"", ")", ")", "{", "char", "*", "name", "=", "(", "char", "*", ")", "alloca", "(", "strlen", "(", "s", "->", "named", ".", "name", ")", "+", "2", ")", ";", "sprintf", "(", "name", ",", "\".s%s\"", ",", "s", "->", "named", ".", "name", "+", "1", ")", ";", "return", "get_section", "(", "name", ",", "s", "->", "named", ".", "common", ".", "flags", ",", "NULL", ")", ";", "}", "if", "(", "s", "==", "data_section", ")", "return", "sdata_section", ";", "}", "return", "s", ";", "}", ""], "natrual_language": ["Return", "a", "section", "for", "X", ",", "handling", "small", "data", "."], "TS_V_token": ["riscv", "\".rodata.cst\"", "2", "\".s%s\"", "1"], "File": "riscv1", "Func": "riscv_elf_select_rtx_section", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1165, "Length": 126, "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", ";", "}", "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"], "File": "RISCVAsmParser2", "Func": "processInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1166, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "verify_type_context", "(", "location_t", "loc", ",", "type_context_kind", "context", ",", "const_tree", "type", ",", "bool", "silent_p", ")", "{", "if", "(", "!", "sizeless_type_p", "(", "type", ")", ")", "return", "true", ";", "switch", "(", "context", ")", "{", "case", "TCTX_SIZEOF", ":", "case", "TCTX_STATIC_STORAGE", ":", "if", "(", "!", "silent_p", ")", "error_at", "(", "loc", ",", "\"RVV type %qT does not have a fixed size\"", ",", "type", ")", ";", "return", "false", ";", "case", "TCTX_ALIGNOF", ":", "if", "(", "!", "silent_p", ")", "error_at", "(", "loc", ",", "\"RVV type %qT does not have a defined alignment\"", ",", "type", ")", ";", "return", "false", ";", "case", "TCTX_THREAD_STORAGE", ":", "if", "(", "!", "silent_p", ")", "error_at", "(", "loc", ",", "\"variables of type %qT cannot have thread-local\"", "\" storage duration\"", ",", "type", ")", ";", "return", "false", ";", "case", "TCTX_POINTER_ARITH", ":", "if", "(", "!", "silent_p", ")", "error_at", "(", "loc", ",", "\"arithmetic on pointer to RVV type %qT\"", ",", "type", ")", ";", "return", "false", ";", "case", "TCTX_FIELD", ":", "if", "(", "silent_p", ")", ";", "else", "if", "(", "lang_GNU_CXX", "(", ")", ")", "error_at", "(", "loc", ",", "\"member variables cannot have RVV type %qT\"", ",", "type", ")", ";", "else", "error_at", "(", "loc", ",", "\"fields cannot have RVV type %qT\"", ",", "type", ")", ";", "return", "false", ";", "case", "TCTX_ARRAY_ELEMENT", ":", "if", "(", "!", "silent_p", ")", "error_at", "(", "loc", ",", "\"array elements cannot have RVV type %qT\"", ",", "type", ")", ";", "return", "false", ";", "case", "TCTX_ALLOCATION", ":", "if", "(", "!", "silent_p", ")", "error_at", "(", "loc", ",", "\"cannot allocate objects with RVV type %qT\"", ",", "type", ")", ";", "return", "false", ";", "case", "TCTX_DEALLOCATION", ":", "if", "(", "!", "silent_p", ")", "error_at", "(", "loc", ",", "\"cannot delete objects with RVV type %qT\"", ",", "type", ")", ";", "return", "false", ";", "case", "TCTX_EXCEPTIONS", ":", "if", "(", "!", "silent_p", ")", "error_at", "(", "loc", ",", "\"cannot throw or catch RVV type %qT\"", ",", "type", ")", ";", "return", "false", ";", "case", "TCTX_CAPTURE_BY_COPY", ":", "if", "(", "!", "silent_p", ")", "error_at", "(", "loc", ",", "\"capture by copy of RVV type %qT\"", ",", "type", ")", ";", "return", "false", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VERIFY_TYPE_CONTEXT", "for", "RVV", "types", "."], "TS_V_token": ["riscv", "\"RVV type %qT does not have a fixed size\"", "\"RVV type %qT does not have a defined alignment\"", "\"variables of type %qT cannot have thread-local\"", "\" storage duration\"", "\"arithmetic on pointer to RVV type %qT\"", "\"member variables cannot have RVV type %qT\"", "\"fields cannot have RVV type %qT\"", "\"array elements cannot have RVV type %qT\"", "\"cannot allocate objects with RVV type %qT\"", "\"cannot delete objects with RVV type %qT\"", "\"cannot throw or catch RVV type %qT\"", "\"capture by copy of RVV type %qT\""], "File": "riscv-vector-builtins", "Func": "verify_type_context", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1167, "Length": 259, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "riscv_output_gpr_save", "(", "unsigned", "mask", ")", "{", "static", "char", "s", "[", "32", "]", ";", "unsigned", "n", "=", "riscv_save_libcall_count", "(", "mask", ")", ";", "ssize_t", "bytes", "=", "snprintf", "(", "s", ",", "sizeof", "(", "s", ")", ",", "\"call\\tt0,__riscv_save_%u\"", ",", "n", ")", ";", "gcc_assert", "(", "(", "size_t", ")", "bytes", "<", "sizeof", "(", "s", ")", ")", ";", "return", "s", ";", "}", ""], "natrual_language": ["Return", "the", "code", "to", "invoke", "the", "GPR", "save", "routine", "."], "TS_V_token": ["riscv", "32", "\"call\\tt0,__riscv_save_%u\""], "File": "riscv", "Func": "riscv_output_gpr_save", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1168, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "addExpr", "(", "MCInst", "&", "Inst", ",", "const", "MCExpr", "*", "Expr", ")", "const", "{", "if", "(", "Expr", "==", "0", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "0", ")", ")", ";", "else", "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": ["RISCV", "0", "0"], "File": "RISCVAsmParser (2)1", "Func": "addExpr", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1169, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "riscv_strip_unspec_address", "(", "rtx", "op", ")", "{", "rtx", "base", ",", "offset", ";", "split_const", "(", "op", ",", "&", "base", ",", "&", "offset", ")", ";", "if", "(", "UNSPEC_ADDRESS_P", "(", "base", ")", ")", "op", "=", "plus_constant", "(", "Pmode", ",", "UNSPEC_ADDRESS", "(", "base", ")", ",", "INTVAL", "(", "offset", ")", ")", ";", "return", "op", ";", "}", ""], "natrual_language": ["If", "OP", "is", "an", "UNSPEC", "address", ",", "return", "the", "address", "to", "which", "it", "refers", ",", "otherwise", "return", "OP", "itself", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_strip_unspec_address", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1170, "Length": 52, "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": 1171, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "riscv_symbol_type", "riscv_classify_symbol", "(", "const_rtx", "x", ")", "{", "if", "(", "riscv_tls_symbol_p", "(", "x", ")", ")", "return", "SYMBOL_TLS", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "flag_pic", "&&", "!", "riscv_symbol_binds_local_p", "(", "x", ")", ")", "return", "SYMBOL_GOT_DISP", ";", "return", "riscv_cmodel", "==", "CM_MEDLOW", "?", "SYMBOL_ABSOLUTE", ":", "SYMBOL_PCREL", ";", "}", ""], "natrual_language": ["Return", "the", "method", "that", "should", "be", "used", "to", "access", "SYMBOL_REF", "or", "LABEL_REF", "X", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_classify_symbol", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1172, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "backward_propagate_worthwhile_p", "(", "const", "basic_block", "cfg_bb", ",", "const", "vector_block_info", "block_info", ")", "{", "if", "(", "loop_basic_block_p", "(", "cfg_bb", ")", ")", "{", "if", "(", "block_info", ".", "reaching_out", ".", "valid_or_dirty_p", "(", ")", ")", "{", "if", "(", "block_info", ".", "local_dem", ".", "compatible_p", "(", "block_info", ".", "reaching_out", ")", ")", "{", "return", "true", ";", "}", "else", "{", "if", "(", "support_relaxed_compatible_p", "(", "block_info", ".", "reaching_out", ",", "block_info", ".", "local_dem", ")", ")", "return", "true", ";", "return", "false", ";", "}", "}", "else", "{", "gcc_assert", "(", "block_info", ".", "reaching_out", ".", "unknown_p", "(", ")", ")", ";", "return", "false", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "block", "is", "worthwhile", "backward", "propagation", "."], "TS_V_token": ["riscv"], "File": "riscv-vsetvl", "Func": "backward_propagate_worthwhile_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1173, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "RISCVRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "RISCVFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "for", "(", "size_t", "Reg", "=", "0", ";", "Reg", "<", "getNumRegs", "(", ")", ";", "Reg", "++", ")", "{", "if", "(", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ".", "isRegisterReservedByUser", "(", "Reg", ")", ")", "markSuperRegs", "(", "Reserved", ",", "Reg", ")", ";", "}", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X0", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X2", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X3", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X4", ")", ";", "auto", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "if", "(", "Subtarget", ".", "hasStdExtV", "(", ")", "||", "TFI", "->", "hasFP", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X8", ")", ";", "if", "(", "TFI", "->", "hasBP", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "RISCVABI", "::", "getBPReg", "(", ")", ")", ";", "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": ["RISCV", "RISCV", "RISCV", "0", "RISCV", "RISCV::X0", "RISCV::X2", "RISCV::X3", "RISCV::X4", "RISCV", "RISCV::X8", "RISCVABI::getBPReg"], "File": "RISCVRegisterInfo16", "Func": "getReservedRegs", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1174, "Length": 176, "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": 1175, "Length": 210, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "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", ")", ";", "Optional", "<", "unsigned", ">", "FirstMaskArgument", ";", "if", "(", "Subtarget", ".", "hasStdExtV", "(", ")", ")", "preAssignMask", "(", "Outs", ",", "FirstMaskArgument", ",", "CCInfo", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "Outs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "MVT", "VT", "=", "Outs", "[", "i", "]", ".", "VT", ";", "ISD", "::", "ArgFlagsTy", "ArgFlags", "=", "Outs", "[", "i", "]", ".", "Flags", ";", "RISCVABI", "::", "ABI", "ABI", "=", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ".", "getTargetABI", "(", ")", ";", "if", "(", "CC_RISCV", "(", "MF", ".", "getDataLayout", "(", ")", ",", "ABI", ",", "i", ",", "VT", ",", "VT", ",", "CCValAssign", "::", "Full", ",", "ArgFlags", ",", "CCInfo", ",", "true", ",", "true", ",", "nullptr", ",", "*", "this", ",", "FirstMaskArgument", ")", ")", "return", "false", ";", "}", "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": ["RISCV", "RISCV", "ISD::OutputArg", "16", "0", "ISD::ArgFlagsTy", "RISCVABI::ABI", "RISCV", "RISCV"], "File": "RISCVISelLowering38", "Func": "CanLowerReturn", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1176, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "char", "riscv_class_max_nregs", "(", "reg_class_t", "rclass", ",", "enum", "machine_mode", "mode", ")", "{", "if", "(", "reg_class_subset_p", "(", "FP_REGS", ",", "rclass", ")", ")", "return", "riscv_hard_regno_nregs", "(", "FP_REG_FIRST", ",", "mode", ")", ";", "if", "(", "reg_class_subset_p", "(", "GR_REGS", ",", "rclass", ")", ")", "return", "riscv_hard_regno_nregs", "(", "GP_REG_FIRST", ",", "mode", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Implement", "CLASS_MAX_NREGS", "."], "TS_V_token": ["riscv", "0"], "File": "riscv2", "Func": "riscv_class_max_nregs", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1177, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "RISCVTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "report_fatal_error", "(", "\"unimplemented operand\"", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "lowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "lowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "lowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "return", "lowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "lowerSELECT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "lowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "lowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "lowerRETURNADDR", "(", "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", "::", "BITCAST", ":", "{", "assert", "(", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Subtarget", ".", "hasStdExtF", "(", ")", "&&", "\"Unexpected custom legalisation\"", ")", ";", "SDLoc", "DL", "(", "Op", ")", ";", "SDValue", "Op0", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "if", "(", "Op", ".", "getValueType", "(", ")", "!=", "MVT", "::", "f32", "||", "Op0", ".", "getValueType", "(", ")", "!=", "MVT", "::", "i32", ")", "return", "SDValue", "(", ")", ";", "SDValue", "NewOp0", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ANY_EXTEND", ",", "DL", ",", "MVT", "::", "i64", ",", "Op0", ")", ";", "SDValue", "FPConv", "=", "DAG", ".", "getNode", "(", "RISCVISD", "::", "FMV_W_X_RV64", ",", "DL", ",", "MVT", "::", "f32", ",", "NewOp0", ")", ";", "return", "FPConv", ";", "}", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "LowerINTRINSIC_WO_CHAIN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "return", "SDValue", "(", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["RISCV", "RISCV", "\"unimplemented operand\"", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::ConstantPool", "ISD::GlobalTLSAddress", "ISD::SELECT", "ISD::VASTART", "ISD::FRAMEADDR", "ISD::RETURNADDR", "ISD::SHL_PARTS", "ISD::SRA_PARTS", "ISD::SRL_PARTS", "ISD::BITCAST", "\"Unexpected custom legalisation\"", "0", "MVT::f32", "MVT::i32", "ISD::ANY_EXTEND", "MVT::i64", "RISCVISD::FMV_W_X_RV64", "MVT::f32", "ISD::INTRINSIC_WO_CHAIN", "ISD::INTRINSIC_W_CHAIN"], "File": "RISCVISelLowering5", "Func": "LowerOperation", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1178, "Length": 312, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "COREV_EXPAND_HWLP_PSEUDO_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["RISCV"], "File": "RISCVExpandCoreVHwlpPseudoInsts", "Func": "getPassName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1179, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_pass_by_reference", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "HOST_WIDE_INT", "size", "=", "type", "?", "int_size_in_bytes", "(", "type", ")", ":", "GET_MODE_SIZE", "(", "mode", ")", ";", "struct", "riscv_arg_info", "info", ";", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "if", "(", "cum", "!=", "NULL", ")", "{", "riscv_get_arg_info", "(", "&", "info", ",", "cum", ",", "mode", ",", "type", ",", "named", ",", "false", ")", ";", "if", "(", "info", ".", "num_fprs", ")", "return", "false", ";", "}", "return", "!", "IN_RANGE", "(", "size", ",", "0", ",", "2", "*", "UNITS_PER_WORD", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PASS_BY_REFERENCE", "."], "TS_V_token": ["riscv", "0", "2"], "File": "riscv3", "Func": "riscv_pass_by_reference", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1180, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "RISCVRegisterInfo", "::", "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": ["RISCV", "RISCV"], "File": "RISCVRegisterInfo22", "Func": "getCallPreservedMask", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1181, "Length": 21, "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": ["RISCV", "\"\"", "\"'\"", "\"'\""], "File": "RISCVAsmParser11", "Func": "print", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1182, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "riscv_dwarf_poly_indeterminate_value", "(", "unsigned", "int", "i", ",", "unsigned", "int", "*", "factor", ",", "int", "*", "offset", ")", "{", "gcc_assert", "(", "i", "==", "1", ")", ";", "*", "factor", "=", "riscv_bytes_per_vector_chunk", ";", "*", "offset", "=", "1", ";", "return", "RISCV_DWARF_VLENB", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_DWARF_POLY_INDETERMINATE_VALUE", "hook", "."], "TS_V_token": ["riscv", "1", "1"], "File": "riscv1", "Func": "riscv_dwarf_poly_indeterminate_value", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1183, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "auto", "RegName", "=", "[", "]", "(", "unsigned", "Reg", ")", "{", "if", "(", "Reg", ")", "return", "RISCVInstPrinter", "::", "getRegisterName", "(", "Reg", ")", ";", "else", "return", "\"noreg\"", ";", "}", ";", "switch", "(", "Kind", ")", "{", "case", "KindTy", "::", "Immediate", ":", "OS", "<<", "*", "getImm", "(", ")", ";", "break", ";", "case", "KindTy", "::", "Register", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "KindTy", "::", "Token", ":", "OS", "<<", "\"'\"", "<<", "getToken", "(", ")", "<<", "\"'\"", ";", "break", ";", "case", "KindTy", "::", "SystemRegister", ":", "OS", "<<", "\"'", ";", "break", ";", "case", "KindTy", "::", "SpecialCapRegister", ":", "OS", "<<", "\"'", ";", "break", ";", "case", "KindTy", "::", "VType", ":", "OS", "<<", "\"'", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["RISCV", "RISCV", "\"noreg\"", "\"\"", "\"'\"", "\"'\"", "\"", "InstructionCost", "RISCVTTIImpl", "::", "getGatherScatterOpCost", "(", "unsigned", "Opcode", ",", "Type", "*", "DataTy", ",", "const", "Value", "*", "Ptr", ",", "bool", "VariableMask", ",", "Align", "Alignment", ",", "TTI", "::", "TargetCostKind", "CostKind", ",", "const", "Instruction", "*", "I", ")", "{", "if", "(", "CostKind", "!=", "TTI", "::", "TCK_RecipThroughput", ")", "return", "BaseT", "::", "getGatherScatterOpCost", "(", "Opcode", ",", "DataTy", ",", "Ptr", ",", "VariableMask", ",", "Alignment", ",", "CostKind", ",", "I", ")", ";", "if", "(", "(", "Opcode", "==", "Instruction", "::", "Load", "&&", "!", "isLegalMaskedGather", "(", "DataTy", ",", "Align", "(", "Alignment", ")", ")", ")", "||", "(", "Opcode", "==", "Instruction", "::", "Store", "&&", "!", "isLegalMaskedScatter", "(", "DataTy", ",", "Align", "(", "Alignment", ")", ")", ")", ")", "return", "BaseT", "::", "getGatherScatterOpCost", "(", "Opcode", ",", "DataTy", ",", "Ptr", ",", "VariableMask", ",", "Alignment", ",", "CostKind", ",", "I", ")", ";", "if", "(", "!", "isa", "<", "FixedVectorType", ">", "(", "DataTy", ")", ")", "return", "BaseT", "::", "getGatherScatterOpCost", "(", "Opcode", ",", "DataTy", ",", "Ptr", ",", "VariableMask", ",", "Alignment", ",", "CostKind", ",", "I", ")", ";", "auto", "*", "VTy", "=", "cast", "<", "FixedVectorType", ">", "(", "DataTy", ")", ";", "unsigned", "NumLoads", "=", "VTy", "->", "getNumElements", "(", ")", ";", "InstructionCost", "MemOpCost", "=", "getMemoryOpCost", "(", "Opcode", ",", "VTy", "->", "getElementType", "(", ")", ",", "Alignment", ",", "0", ",", "CostKind", ",", "I", ")", ";", "return", "NumLoads", "*", "MemOpCost", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "Gather", "/", "Scatter", "operation", "."], "TS_V_token": ["RISCV", "RISCV", "0"], "File": "RISCVTargetTransformInfo", "Func": "getGatherScatterOpCost", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1185, "Length": 202, "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": 1186, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumberOfRegisters", "(", "unsigned", "ClassID", ")", "const", "{", "bool", "Vector", "=", "(", "ClassID", "==", "1", ")", ";", "if", "(", "Vector", ")", "{", "if", "(", "ST", "->", "hasVInstructions", "(", ")", ")", "return", "32", ";", "return", "0", ";", "}", "return", "31", ";", "}", ""], "natrual_language": ["\ufffd", "?", "Vector", "TTI", "begin", "\ufffd", "?"], "TS_V_token": ["RISCV", "1", "32", "0", "31"], "File": "RISCVTargetTransformInfo14", "Func": "getNumberOfRegisters", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1187, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVRI5CYIR", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "errs", "(", ")", "<<", "\"runOnFunction(\"", "<<", "F", ".", "getName", "(", ")", ".", "str", "(", ")", "<<", "\")\\n\"", ";", "this", "->", "transformBitManipulation", "(", "F", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["RISCV", "RISCV", "\"runOnFunction(\"", "\")\\n\""], "File": "RISCVRI5CYHelpers", "Func": "runOnFunction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1188, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "pass_vsetvl", "::", "transfer_after", "(", "vector_insn_info", "&", "info", ",", "insn_info", "*", "insn", ")", "const", "{", "if", "(", "vector_config_insn_p", "(", "insn", "->", "rtl", "(", ")", ")", ")", "{", "info", "=", "m_vector_manager", "->", "vector_insn_infos", "[", "insn", "->", "uid", "(", ")", "]", ";", "return", ";", "}", "if", "(", "fault_first_load_p", "(", "insn", "->", "rtl", "(", ")", ")", "&&", "info", ".", "update_fault_first_load_avl", "(", "insn", ")", ")", "return", ";", "if", "(", "insn", "->", "is_call", "(", ")", "||", "insn", "->", "is_asm", "(", ")", "||", "find_access", "(", "insn", "->", "defs", "(", ")", ",", "VL_REGNUM", ")", "||", "find_access", "(", "insn", "->", "defs", "(", ")", ",", "VTYPE_REGNUM", ")", ")", "info", "=", "vector_insn_info", "::", "get_unknown", "(", ")", ";", "}", ""], "natrual_language": ["Given", "a", "state", "with", "which", "we", "evaluated", "insn", "(", "see", "transfer_before", "above", "for", "why", "this", "might", "be", "different", "that", "the", "state", "insn", "requested", ")", ",", "modify", "the", "state", "to", "reflect", "the", "changes", "insn", "might", "make", "."], "TS_V_token": ["riscv"], "File": "riscv-vsetvl", "Func": "transfer_after", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1189, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_option_override", "(", "void", ")", "{", "const", "struct", "riscv_cpu_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_cpu", "(", "riscv_tune_string", "?", "riscv_tune_string", ":", "RISCV_TUNE_STRING_DEFAULT", ")", ";", "tune_info", "=", "optimize_size", "?", "&", "optimize_size_tune_info", ":", "cpu", "->", "tune_info", ";", "if", "(", "riscv_branch_cost", "==", "0", ")", "riscv_branch_cost", "=", "tune_info", "->", "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", "(", "BITS_PER_WORD", "!=", "POINTER_SIZE", ")", "error", "(", "\"ABI requires -march=rv%d\"", ",", "POINTER_SIZE", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_OVERRIDE", "."], "TS_V_token": ["riscv", "0", "0", "0", "\"-mdiv requires -march to subsume the % extension\"", "0", "0", "0", "0", "\"requested ABI requires -march to subsume the %qc extension\"", "8", "4", "\"ABI requires -march=rv%d\""], "File": "riscv2", "Func": "riscv_option_override", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1190, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "{", "OS", "<<", "\"{\"", ";", "if", "(", "!", "isValid", "(", ")", ")", "OS", "<<", "\"Uninitialized\"", ";", "if", "(", "isUnknown", "(", ")", ")", "OS", "<<", "\"unknown\"", ";", ";", "if", "(", "hasAVLReg", "(", ")", ")", "OS", "<<", "\"AVLReg=\"", "<<", "(", "unsigned", ")", "AVLReg", ";", "if", "(", "hasAVLImm", "(", ")", ")", "OS", "<<", "\"AVLImm=\"", "<<", "(", "unsigned", ")", "AVLImm", ";", "OS", "<<", "\", \"", "<<", "\"VLMul=\"", "<<", "(", "unsigned", ")", "VLMul", "<<", "\", \"", "<<", "\"SEW=\"", "<<", "(", "unsigned", ")", "SEW", "<<", "\", \"", "<<", "\"TailAgnostic=\"", "<<", "(", "bool", ")", "TailAgnostic", "<<", "\", \"", "<<", "\"MaskAgnostic=\"", "<<", "(", "bool", ")", "MaskAgnostic", "<<", "\", \"", "<<", "\"MaskRegOp=\"", "<<", "(", "bool", ")", "MaskRegOp", "<<", "\", \"", "<<", "\"StoreOp=\"", "<<", "(", "bool", ")", "StoreOp", "<<", "\", \"", "<<", "\"ScalarMovOp=\"", "<<", "(", "bool", ")", "ScalarMovOp", "<<", "\", \"", "<<", "\"SEWLMULRatioOnly=\"", "<<", "(", "bool", ")", "SEWLMULRatioOnly", "<<", "\"}\"", ";", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["RISCV", "\"{\"", "\"Uninitialized\"", "\"unknown\"", "\"AVLReg=\"", "\"AVLImm=\"", "\", \"", "\"VLMul=\"", "\", \"", "\"SEW=\"", "\", \"", "\"TailAgnostic=\"", "\", \"", "\"MaskAgnostic=\"", "\", \"", "\"MaskRegOp=\"", "\", \"", "\"StoreOp=\"", "\", \"", "\"ScalarMovOp=\"", "\", \"", "\"SEWLMULRatioOnly=\"", "\"}\""], "File": "RISCVInsertVSETVLI6", "Func": "print", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1191, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "RISCVFunctionInfo", "*", "RISCVFI", "=", "MF", ".", "getInfo", "<", "RISCVFunctionInfo", ">", "(", ")", ";", "const", "RISCVSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "unsigned", "FP", "=", "STI", ".", "isRV64", "(", ")", "?", "RISCV", "::", "fp_64", ":", "RISCV", "::", "fp", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "SavedRegs", ".", "set", "(", "FP", ")", ";", "if", "(", "RISCVFI", "->", "getCallsEhReturn", "(", ")", ")", "RISCVFI", "->", "createEhDataRegsFI", "(", ")", ";", "uint64_t", "MaxSPOffset", "=", "MF", ".", "getInfo", "<", "RISCVFunctionInfo", ">", "(", ")", "->", "getIncomingArgSize", "(", ")", "+", "MFI", "->", "estimateStackSize", "(", "MF", ")", ";", "if", "(", "isInt", "<", "12", ">", "(", "MaxSPOffset", ")", ")", "return", ";", "const", "TargetRegisterClass", "*", "RC", "=", "&", "RISCV", "::", "GR32BitRegClass", ";", "int", "FI", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "CreateStackObject", "(", "RC", "->", "getSize", "(", ")", ",", "RC", "->", "getAlignment", "(", ")", ",", "false", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "FI", ")", ";", "}", ""], "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", "RISCV", "RISCV", "RISCV::fp_64", "RISCV::fp", "RISCV", "RISCV", "RISCV", "12", "RISCV::GR32BitRegClass"], "File": "RISCVFrameLowering (2)1", "Func": "determineCalleeSaves", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1192, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "RISCVDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "OS", ",", "raw_ostream", "&", "CS", ")", "const", "{", "Size", "=", "4", ";", "if", "(", "Bytes", ".", "size", "(", ")", "<", "4", ")", "{", "Size", "=", "0", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "uint32_t", "Inst", "=", "support", "::", "endian", "::", "read32le", "(", "Bytes", ".", "data", "(", ")", ")", ";", "return", "decodeInstruction", "(", "DecoderTable32", ",", "MI", ",", "Inst", ",", "Address", ",", "this", ",", "STI", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["RISCV", "RISCV", "4", "4", "0", "support::endian"], "File": "RISCVDisassembler17", "Func": "getInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1193, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "riscv_set_return_address", "(", "rtx", "address", ",", "rtx", "scratch", ")", "{", "rtx", "slot_address", ";", "gcc_assert", "(", "BITSET_P", "(", "cfun", "->", "machine", "->", "frame", ".", "mask", ",", "RETURN_ADDR_REGNUM", ")", ")", ";", "slot_address", "=", "riscv_add_offset", "(", "scratch", ",", "stack_pointer_rtx", ",", "cfun", "->", "machine", "->", "frame", ".", "gp_sp_offset", ".", "to_constant", "(", ")", ")", ";", "riscv_emit_move", "(", "gen_frame_mem", "(", "GET_MODE", "(", "address", ")", ",", "slot_address", ")", ",", "address", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "change", "the", "current", "function", "'s", "return", "address", "to", "ADDRESS", ".", "SCRATCH", "is", "available", "as", "a", "scratch", "register", ",", "if", "needed", ".", "ADDRESS", "and", "SCRATCH", "are", "both", "word-mode", "GPRs", "."], "TS_V_token": ["riscv"], "File": "riscv1", "Func": "riscv_set_return_address", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1194, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "RISCVTargetLowering", "::", "getAddr", "(", "NodeTy", "*", "N", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDLoc", "DL", "(", "N", ")", ";", "EVT", "Ty", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";", "switch", "(", "getTargetMachine", "(", ")", ".", "getCodeModel", "(", ")", ")", "{", "default", ":", "report_fatal_error", "(", "\"Unsupported code model for lowering\"", ")", ";", "case", "CodeModel", "::", "Small", ":", "{", "SDValue", "AddrHi", "=", "getTargetNode", "(", "N", ",", "DL", ",", "Ty", ",", "DAG", ",", "RISCVII", "::", "MO_HI", ")", ";", "SDValue", "AddrLo", "=", "getTargetNode", "(", "N", ",", "DL", ",", "Ty", ",", "DAG", ",", "RISCVII", "::", "MO_LO", ")", ";", "SDValue", "MNHi", "=", "SDValue", "(", "DAG", ".", "getMachineNode", "(", "RISCV", "::", "LUI", ",", "DL", ",", "Ty", ",", "AddrHi", ")", ",", "0", ")", ";", "return", "SDValue", "(", "DAG", ".", "getMachineNode", "(", "RISCV", "::", "ADDI", ",", "DL", ",", "Ty", ",", "MNHi", ",", "AddrLo", ")", ",", "0", ")", ";", "}", "case", "CodeModel", "::", "Medium", ":", "{", "SDValue", "Addr", "=", "getTargetNode", "(", "N", ",", "DL", ",", "Ty", ",", "DAG", ",", "0", ")", ";", "return", "SDValue", "(", "DAG", ".", "getMachineNode", "(", "RISCV", "::", "PseudoLLA", ",", "DL", ",", "Ty", ",", "Addr", ")", ",", "0", ")", ";", "}", "}", "}", ""], "natrual_language": ["Return", "the", "address", "accessed", "by", "this", "recipe", "."], "TS_V_token": ["RISCV", "RISCV", "\"Unsupported code model for lowering\"", "RISCVII::MO_HI", "RISCVII::MO_LO", "RISCV::LUI", "0", "RISCV::ADDI", "0", "0", "RISCV::PseudoLLA", "0"], "File": "RISCVISelLowering56", "Func": "getAddr", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1195, "Length": 186, "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": 1196, "Length": 19, "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": 1197, "Length": 133, "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": 1198, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "riscv_init_builtins", "(", "void", ")", "{", "riscv_init_builtin_types", "(", ")", ";", "riscv_vector", "::", "init_builtins", "(", ")", ";", "for", "(", "size_t", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "riscv_builtins", ")", ";", "i", "++", ")", "{", "const", "struct", "riscv_builtin_description", "*", "d", "=", "&", "riscv_builtins", "[", "i", "]", ";", "if", "(", "d", "->", "avail", "(", ")", ")", "{", "tree", "type", "=", "riscv_build_function_type", "(", "d", "->", "prototype", ")", ";", "riscv_builtin_decls", "[", "i", "]", "=", "add_builtin_function", "(", "d", "->", "name", ",", "type", ",", "(", "i", "<<", "RISCV_BUILTIN_SHIFT", ")", "+", "RISCV_BUILTIN_GENERAL", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL", ")", ";", "riscv_builtin_decl_index", "[", "d", "->", "icode", "]", "=", "i", ";", "}", "}", "}", ""], "natrual_language": ["Implement", "TARGET_INIT_BUILTINS", "."], "TS_V_token": ["riscv", "riscv_vector::init_builtins", "0"], "File": "riscv-builtins1", "Func": "riscv_init_builtins", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1199, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "RISCVAsmBackend", "::", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "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", "|", "MCFixupKindInfo", "::", "FKF_IsTarget", "}", ",", "{", "\"fixup_riscv_pcrel_lo12_i\"", ",", "20", ",", "12", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "|", "MCFixupKindInfo", "::", "FKF_IsTarget", "}", ",", "{", "\"fixup_riscv_pcrel_lo12_s\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "|", "MCFixupKindInfo", "::", "FKF_IsTarget", "}", ",", "{", "\"fixup_riscv_got_hi20\"", ",", "12", ",", "20", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_riscv_tprel_hi20\"", ",", "12", ",", "20", ",", "0", "}", ",", "{", "\"fixup_riscv_tprel_lo12_i\"", ",", "20", ",", "12", ",", "0", "}", ",", "{", "\"fixup_riscv_tprel_lo12_s\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_riscv_tprel_add\"", ",", "0", ",", "0", ",", "0", "}", ",", "{", "\"fixup_riscv_tls_got_hi20\"", ",", "12", ",", "20", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_riscv_tls_gd_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_call_plt\"", ",", "0", ",", "64", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_riscv_relax\"", ",", "0", ",", "0", ",", "0", "}", ",", "{", "\"fixup_riscv_align\"", ",", "0", ",", "0", ",", "0", "}", ",", "{", "\"fixup_riscv_loop_setup_5\"", ",", "15", ",", "5", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_riscv_loop_setup_12\"", ",", "20", ",", "12", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", "}", ";", "static_assert", "(", "(", "array_lengthof", "(", "Infos", ")", ")", "==", "RISCV", "::", "NumTargetFixupKinds", ",", "\"Not all fixup kinds added to Infos array\"", ")", ";", "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": ["RISCV", "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_tprel_hi20\"", "12", "20", "0", "\"fixup_riscv_tprel_lo12_i\"", "20", "12", "0", "\"fixup_riscv_tprel_lo12_s\"", "0", "32", "0", "\"fixup_riscv_tprel_add\"", "0", "0", "0", "\"fixup_riscv_tls_got_hi20\"", "12", "20", "\"fixup_riscv_tls_gd_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_call_plt\"", "0", "64", "\"fixup_riscv_relax\"", "0", "0", "0", "\"fixup_riscv_align\"", "0", "0", "0", "\"fixup_riscv_loop_setup_5\"", "15", "5", "\"fixup_riscv_loop_setup_12\"", "20", "12", "RISCV::NumTargetFixupKinds", "\"Not all fixup kinds added to Infos array\"", "\"Invalid kind!\""], "File": "RISCVAsmBackend38", "Func": "getFixupKindInfo", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1200, "Length": 360, "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": 1201, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVMergeBaseOffsetOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "if", "(", "skipFunction", "(", "Fn", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "DeadInstrs", ".", "clear", "(", ")", ";", "MRI", "=", "&", "Fn", ".", "getRegInfo", "(", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "Fn", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"MBB: \"", "<<", "MBB", ".", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "for", "(", "MachineInstr", "&", "HiLUI", ":", "MBB", ")", "{", "MachineInstr", "*", "LoADDI", "=", "nullptr", ";", "if", "(", "!", "detectLuiAddiGlobal", "(", "HiLUI", ",", "LoADDI", ")", ")", "continue", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\" Found lowered global address with one use: \"", "<<", "*", "LoADDI", "->", "getOperand", "(", "2", ")", ".", "getGlobal", "(", ")", "<<", "\"\\n\"", ")", ";", "detectAndFoldOffset", "(", "HiLUI", ",", "*", "LoADDI", ")", ";", "}", "}", "for", "(", "auto", "*", "MI", ":", "DeadInstrs", ")", "MI", "->", "eraseFromParent", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["RISCV", "RISCV", "\"MBB: \"", "\"\\n\"", "\" Found lowered global address with one use: \"", "2", "\"\\n\""], "File": "RISCVMergeBaseOffset1", "Func": "runOnMachineFunction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1202, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_set_frame_expr", "(", "rtx", "frame_pattern", ")", "{", "rtx", "insn", ";", "insn", "=", "get_last_insn", "(", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "REG_NOTES", "(", "insn", ")", "=", "alloc_EXPR_LIST", "(", "REG_FRAME_RELATED_EXPR", ",", "frame_pattern", ",", "REG_NOTES", "(", "insn", ")", ")", ";", "}", ""], "natrual_language": ["Make", "the", "last", "instruction", "frame-related", "and", "note", "that", "it", "performs", "the", "operation", "described", "by", "FRAME_PATTERN", "."], "TS_V_token": ["riscv", "1"], "File": "riscv", "Func": "riscv_set_frame_expr", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1203, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "isMulAddWithConstProfitable", "(", "const", "SDValue", "&", "AddNode", ",", "const", "SDValue", "&", "ConstNode", ")", "const", "{", "EVT", "VT", "=", "AddNode", ".", "getValueType", "(", ")", ";", "if", "(", "VT", ".", "isVector", "(", ")", ")", "return", "true", ";", "if", "(", "VT", ".", "getScalarSizeInBits", "(", ")", ">", "Subtarget", ".", "getXLen", "(", ")", ")", "return", "true", ";", "ConstantSDNode", "*", "C1Node", "=", "cast", "<", "ConstantSDNode", ">", "(", "AddNode", ".", "getOperand", "(", "1", ")", ")", ";", "ConstantSDNode", "*", "C2Node", "=", "cast", "<", "ConstantSDNode", ">", "(", "ConstNode", ")", ";", "const", "APInt", "&", "C1", "=", "C1Node", "->", "getAPIntValue", "(", ")", ";", "const", "APInt", "&", "C2", "=", "C2Node", "->", "getAPIntValue", "(", ")", ";", "if", "(", "C1", ".", "isSignedIntN", "(", "12", ")", "&&", "!", "(", "C1", "*", "C2", ")", ".", "isSignedIntN", "(", "12", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "may", "be", "profitable", "to", "transform", "(", "mul", "(", "add", "x", ",", "c1", ")", ",", "c2", ")", "-", ">", "(", "add", "(", "mul", "x", ",", "c2", ")", ",", "c1", "*", "c2", ")", "."], "TS_V_token": ["RISCV", "RISCV", "1", "12", "12"], "File": "RISCVISelLowering1", "Func": "isMulAddWithConstProfitable", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1204, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSection", "*", "RISCVELFTargetObjectFile", "::", "getSectionForConstant", "(", "const", "DataLayout", "&", "DL", ",", "SectionKind", "Kind", ",", "const", "Constant", "*", "C", ",", "Align", "&", "Alignment", ")", "const", "{", "if", "(", "isConstantInSmallSection", "(", "DL", ",", "C", ")", ")", "return", "SmallDataSection", ";", "return", "TargetLoweringObjectFileELF", "::", "getSectionForConstant", "(", "DL", ",", "Kind", ",", "C", ",", "Alignment", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constant", "with", "the", "SectionKind", ",", "return", "a", "section", "that", "it", "should", "be", "placed", "in", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVTargetObjectFile2", "Func": "getSectionForConstant", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1205, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVInstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "{", "return", "get", "(", "Opcode", ")", ".", "getSize", "(", ")", ";", "}", "case", "TargetOpcode", "::", "EH_LABEL", ":", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "KILL", ":", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "return", "0", ";", "case", "RISCV", "::", "PseudoCALL", ":", "case", "RISCV", "::", "PseudoTAIL", ":", "case", "RISCV", "::", "PseudoLLA", ":", "case", "RISCV", "::", "PseudoLA", ":", "case", "RISCV", "::", "PseudoLA_TLS_IE", ":", "case", "RISCV", "::", "PseudoLA_TLS_GD", ":", "return", "8", ";", "case", "TargetOpcode", "::", "INLINEASM", ":", "case", "TargetOpcode", "::", "INLINEASM_BR", ":", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "auto", "&", "TM", "=", "static_cast", "<", "const", "RISCVTargetMachine", "&", ">", "(", "MF", ".", "getTarget", "(", ")", ")", ";", "return", "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": ["RISCV", "RISCV", "0", "RISCV::PseudoCALL", "RISCV::PseudoTAIL", "RISCV::PseudoLLA", "RISCV::PseudoLA", "RISCV::PseudoLA_TLS_IE", "RISCV::PseudoLA_TLS_GD", "8", "RISCV", "0"], "File": "RISCVInstrInfo56", "Func": "getInstSizeInBytes", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1206, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_emit_attribute", "(", ")", "{", "fprintf", "(", "asm_out_file", ",", "\"\\t.attribute arch, \\\"%s\\\"\\n\"", ",", "riscv_arch_str", "(", ")", ".", "c_str", "(", ")", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.attribute unaligned_access, %d\\n\"", ",", "TARGET_STRICT_ALIGN", "?", "0", ":", "1", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.attribute stack_align, %d\\n\"", ",", "riscv_stack_boundary", "/", "8", ")", ";", "}", ""], "natrual_language": ["Auxiliary", "function", "to", "emit", "RISC-V", "ELF", "attribute", "."], "TS_V_token": ["riscv", "\"\\t.attribute arch, \\\"%s\\\"\\n\"", "\"\\t.attribute unaligned_access, %d\\n\"", "0", "1", "\"\\t.attribute stack_align, %d\\n\"", "8"], "File": "riscv", "Func": "riscv_emit_attribute", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1207, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVPassConfig", "::", "addPostRegAlloc", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableRedundantCopyElimination", ")", "addPass", "(", "createRISCVRedundantCopyEliminationPass", "(", ")", ")", ";", "}", ""], "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": ["RISCV", "RISCV", "RISCV"], "File": "RISCVTargetMachine1", "Func": "addPostRegAlloc", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1208, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "RISCVTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "StringRef", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'r'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "RISCV", "::", "GPRRegClass", ")", ";", "case", "'f'", ":", "if", "(", "Subtarget", ".", "hasStdExtF", "(", ")", "&&", "VT", "==", "MVT", "::", "f32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "RISCV", "::", "FPR32RegClass", ")", ";", "if", "(", "Subtarget", ".", "hasStdExtD", "(", ")", "&&", "VT", "==", "MVT", "::", "f64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "RISCV", "::", "FPR64RegClass", ")", ";", "break", ";", "default", ":", "break", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "TRI", ",", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["RISCV", "RISCV", "1", "0", "0U", "RISCV::GPRRegClass", "MVT::f32", "0U", "RISCV::FPR32RegClass", "MVT::f64", "0U", "RISCV::FPR64RegClass"], "File": "RISCVISelLowering62", "Func": "getRegForInlineAsmConstraint", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1209, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "RISCVTargetLowering", "::", "getExceptionSelectorRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "{", "return", "RISCV", "::", "X11", ";", "}", ""], "natrual_language": ["If", "a", "physical", "register", ",", "this", "returns", "the", "register", "that", "receives", "the", "exception", "typeid", "on", "entry", "to", "a", "landing", "pad", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::X11"], "File": "RISCVISelLowering1", "Func": "getExceptionSelectorRegister", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1210, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "riscv_function_value", "(", "const_tree", "type", ",", "const_tree", "func", ",", "machine_mode", "mode", ")", "{", "struct", "riscv_arg_info", "info", ";", "CUMULATIVE_ARGS", "args", ";", "if", "(", "type", ")", "{", "int", "unsigned_p", "=", "TYPE_UNSIGNED", "(", "type", ")", ";", "mode", "=", "TYPE_MODE", "(", "type", ")", ";", "mode", "=", "promote_function_mode", "(", "type", ",", "mode", ",", "&", "unsigned_p", ",", "func", ",", "1", ")", ";", "}", "memset", "(", "&", "args", ",", "0", ",", "sizeof", "args", ")", ";", "return", "riscv_get_arg_info", "(", "&", "info", ",", "&", "args", ",", "mode", ",", "type", ",", "true", ",", "true", ")", ";", "}", ""], "natrual_language": ["Implement", "FUNCTION_VALUE", "and", "LIBCALL_VALUE", ".", "For", "normal", "calls", ",", "VALTYPE", "is", "the", "return", "type", "and", "MODE", "is", "VOIDmode", ".", "For", "libcalls", ",", "VALTYPE", "is", "null", "and", "MODE", "is", "the", "mode", "of", "the", "return", "value", "."], "TS_V_token": ["riscv", "1", "0"], "File": "riscv", "Func": "riscv_function_value", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1211, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_function_arg_advance", "(", "cumulative_args_t", "cum_v", ",", "enum", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "struct", "riscv_arg_info", "info", ";", "riscv_get_arg_info", "(", "&", "info", ",", "cum", ",", "mode", ",", "type", ",", "named", ",", "false", ")", ";", "cum", "->", "num_fprs", "=", "info", ".", "fpr_offset", "+", "info", ".", "num_fprs", ";", "cum", "->", "num_gprs", "=", "info", ".", "gpr_offset", "+", "info", ".", "num_gprs", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_ARG_ADVANCE", "."], "TS_V_token": ["riscv"], "File": "riscv2", "Func": "riscv_function_arg_advance", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1212, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "pass_vsetvl", "::", "can_refine_vsetvl_p", "(", "const", "basic_block", "cfg_bb", ",", "const", "vector_insn_info", "&", "info", ")", "const", "{", "if", "(", "!", "m_vector_manager", "->", "all_same_ratio_p", "(", "m_vector_manager", "->", "vector_avin", "[", "cfg_bb", "->", "index", "]", ")", ")", "return", "false", ";", "if", "(", "!", "m_vector_manager", "->", "all_same_avl_p", "(", "cfg_bb", ",", "m_vector_manager", "->", "vector_avin", "[", "cfg_bb", "->", "index", "]", ")", ")", "return", "false", ";", "size_t", "expr_id", "=", "bitmap_first_set_bit", "(", "m_vector_manager", "->", "vector_avin", "[", "cfg_bb", "->", "index", "]", ")", ";", "if", "(", "!", "m_vector_manager", "->", "vector_exprs", "[", "expr_id", "]", "->", "same_vlmax_p", "(", "info", ")", ")", "return", "false", ";", "if", "(", "!", "m_vector_manager", "->", "vector_exprs", "[", "expr_id", "]", "->", "compatible_avl_p", "(", "info", ")", ")", "return", "false", ";", "edge", "e", ";", "edge_iterator", "ei", ";", "bool", "all_valid_p", "=", "true", ";", "FOR_EACH_EDGE", "(", "e", ",", "ei", ",", "cfg_bb", "->", "preds", ")", "{", "if", "(", "bitmap_empty_p", "(", "m_vector_manager", "->", "vector_avout", "[", "e", "->", "src", "->", "index", "]", ")", ")", "{", "all_valid_p", "=", "false", ";", "break", ";", "}", "}", "if", "(", "!", "all_valid_p", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "VSETVL", "in", "the", "block", "can", "be", "refined", "as", "vsetvl", "zero", ",", "zero", "."], "TS_V_token": ["riscv"], "File": "riscv-vsetvl", "Func": "can_refine_vsetvl_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1213, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "uint64_t", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "unsigned", "MatchResult", ";", "MatchResult", "=", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ";", "switch", "(", "MatchResult", ")", "{", "default", ":", "break", ";", "case", "Match_Success", ":", "{", "if", "(", "processInstruction", "(", "Inst", ",", "IDLoc", ",", "Instructions", ")", ")", "return", "true", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Instructions", ".", "size", "(", ")", ";", "i", "++", ")", "{", "Out", ".", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "}", "return", "false", ";", "}", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "Out", ".", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "return", "false", ";", "}", "case", "Match_MissingFeature", ":", "{", "assert", "(", "ErrorInfo", "&&", "\"Unknown missing feature!\"", ")", ";", "std", "::", "string", "Msg", "=", "\"instruction requires:\"", ";", "unsigned", "Mask", "=", "1", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "sizeof", "(", "ErrorInfo", ")", "*", "8", "-", "1", ";", "++", "I", ")", "{", "if", "(", "ErrorInfo", "&", "Mask", ")", "{", "Msg", "+=", "\" \"", ";", "Msg", "+=", "getSubtargetFeatureName", "(", "ErrorInfo", "&", "Mask", ")", ";", "}", "Mask", "<<=", "1", ";", "}", "return", "Error", "(", "IDLoc", ",", "Msg", ")", ";", "}", "case", "Match_InvalidOperand", ":", "{", "SMLoc", "ErrorLoc", "=", "IDLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "0U", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "IDLoc", ",", "\"too few operands for instruction\"", ")", ";", "ErrorLoc", "=", "(", "(", "RISCVOperand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "\"invalid operand for instruction\"", ")", ";", "}", "case", "Match_MnemonicFail", ":", "return", "Error", "(", "IDLoc", ",", "\"invalid 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": ["RISCV", "RISCV", "0", "\"Unknown missing feature!\"", "\"instruction requires:\"", "1", "0", "8", "1", "\" \"", "1", "0U", "\"too few operands for instruction\"", "RISCV", "\"invalid operand for instruction\"", "\"invalid instruction\""], "File": "RISCVAsmParser (2)1", "Func": "MatchAndEmitInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1214, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "riscv_pass_fpr_single", "(", "enum", "machine_mode", "type_mode", ",", "unsigned", "regno", ",", "enum", "machine_mode", "value_mode", ")", "{", "rtx", "x", "=", "gen_rtx_REG", "(", "value_mode", ",", "regno", ")", ";", "if", "(", "type_mode", "!=", "value_mode", ")", "{", "x", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "x", ",", "const0_rtx", ")", ";", "x", "=", "gen_rtx_PARALLEL", "(", "type_mode", ",", "gen_rtvec", "(", "1", ",", "x", ")", ")", ";", "}", "return", "x", ";", "}", ""], "natrual_language": ["Return", "the", "representation", "of", "an", "argument", "passed", "or", "returned", "in", "an", "FPR", "when", "the", "value", "has", "mode", "VALUE_MODE", "and", "the", "type", "has", "TYPE_MODE", ".", "The", "two", "modes", "may", "be", "different", "for", "structures", "like", ":", "struct", "__attribute__", "(", "(", "packed", ")", ")", "foo", "{", "float", "f", ";", "}", "where", "the", "SFmode", "value", "``", "f", "''", "is", "passed", "in", "REGNO", "but", "the", "struct", "itself", "has", "mode", "BLKmode", "."], "TS_V_token": ["riscv", "1"], "File": "riscv2", "Func": "riscv_pass_fpr_single", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1215, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVInstrInfo", "::", "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", "=", "getBranchDestBlock", "(", "*", "I", ")", ";", "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", "=", "getBranchDestBlock", "(", "*", "I", ")", ";", "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": ["RISCV", "RISCV", "0", "2", "1", "1", "2"], "File": "RISCVInstrInfo (2)", "Func": "analyzeBranch", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1216, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_valid_lo_sum_p", "(", "enum", "riscv_symbol_type", "sym_type", ",", "machine_mode", "mode", ")", "{", "if", "(", "riscv_symbol_insns", "(", "sym_type", ")", "==", "0", ")", "return", "false", ";", "if", "(", "!", "riscv_split_symbol_type", "(", "sym_type", ")", ")", "return", "false", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "UNITS_PER_WORD", "&&", "(", "!", "TARGET_STRICT_ALIGN", "||", "GET_MODE_BITSIZE", "(", "mode", ")", ">", "GET_MODE_ALIGNMENT", "(", "mode", ")", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "LO_SUM", "can", "address", "a", "value", "of", "mode", "MODE", "when", "the", "LO_SUM", "symbol", "has", "type", "SYM_TYPE", "."], "TS_V_token": ["riscv", "0"], "File": "riscv3", "Func": "riscv_valid_lo_sum_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1217, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVFrameLowering", "::", "determineFrameLayout", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "RISCVRegisterInfo", "*", "RI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "uint64_t", "FrameSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "uint64_t", "StackAlign", "=", "RI", "->", "needsStackRealignment", "(", "MF", ")", "?", "MFI", ".", "getMaxAlignment", "(", ")", ":", "getStackAlignment", "(", ")", ";", "uint64_t", "MaxCallFrameSize", "=", "MFI", ".", "getMaxCallFrameSize", "(", ")", ";", "if", "(", "MFI", ".", "hasVarSizedObjects", "(", ")", ")", "MaxCallFrameSize", "=", "alignTo", "(", "MaxCallFrameSize", ",", "StackAlign", ")", ";", "MFI", ".", "setMaxCallFrameSize", "(", "MaxCallFrameSize", ")", ";", "if", "(", "!", "(", "hasReservedCallFrame", "(", "MF", ")", "&&", "MFI", ".", "adjustsStack", "(", ")", ")", ")", "FrameSize", "+=", "MaxCallFrameSize", ";", "FrameSize", "=", "alignTo", "(", "FrameSize", ",", "StackAlign", ")", ";", "MFI", ".", "setStackSize", "(", "FrameSize", ")", ";", "}", ""], "natrual_language": ["Determine", "the", "frame", "layout", "but", "do", "not", "update", "the", "machine", "function", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV"], "File": "RISCVFrameLowering30", "Func": "determineFrameLayout", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1218, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVFrameLowering", "::", "canUseAsPrologue", "(", "const", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "*", "TmpMBB", "=", "const_cast", "<", "MachineBasicBlock", "*", ">", "(", "&", "MBB", ")", ";", "const", "auto", "*", "RVFI", "=", "MBB", ".", "getParent", "(", ")", "->", "getInfo", "<", "RISCVMachineFunctionInfo", ">", "(", ")", ";", "if", "(", "!", "RVFI", "->", "useSaveRestoreLibCalls", "(", ")", ")", "return", "true", ";", "RegScavenger", "RS", ";", "RS", ".", "enterBasicBlock", "(", "*", "TmpMBB", ")", ";", "return", "!", "RS", ".", "isRegUsed", "(", "RISCV", "::", "X5", ")", ";", "}", ""], "natrual_language": ["Check", "whether", "or", "not", "the", "given", "MBB", "can", "be", "used", "as", "a", "prologue", "for", "the", "target", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCV::X5"], "File": "RISCVFrameLowering19", "Func": "canUseAsPrologue", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1219, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_compressed_reg_p", "(", "int", "regno", ")", "{", "return", "(", "TARGET_RVC", "&&", "(", "IN_RANGE", "(", "regno", ",", "GP_REG_FIRST", "+", "8", ",", "GP_REG_FIRST", "+", "15", ")", "||", "IN_RANGE", "(", "regno", ",", "FP_REG_FIRST", "+", "8", ",", "FP_REG_FIRST", "+", "15", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "hard", "reg", "REGNO", "can", "be", "used", "in", "compressed", "instructions", "."], "TS_V_token": ["riscv", "8", "15", "8", "15"], "File": "riscv", "Func": "riscv_compressed_reg_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1220, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "RISCVRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "RISCVFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "for", "(", "size_t", "Reg", "=", "0", ";", "Reg", "<", "getNumRegs", "(", ")", ";", "Reg", "++", ")", "{", "if", "(", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ".", "isRegisterReservedByUser", "(", "Reg", ")", ")", "markSuperRegs", "(", "Reserved", ",", "Reg", ")", ";", "}", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X0", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X2", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X3", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X4", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "X8", ")", ";", "if", "(", "TFI", "->", "hasBP", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "RISCVABI", "::", "getBPReg", "(", ")", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "VL", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "VTYPE", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "VXSAT", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "VXRM", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "VLENB", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "FRM", ")", ";", "markSuperRegs", "(", "Reserved", ",", "RISCV", "::", "FFLAGS", ")", ";", "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": ["RISCV", "RISCV", "RISCV", "0", "RISCV", "RISCV::X0", "RISCV::X2", "RISCV::X3", "RISCV::X4", "RISCV::X8", "RISCVABI::getBPReg", "RISCV::VL", "RISCV::VTYPE", "RISCV::VXSAT", "RISCV::VXRM", "RISCV::VLENB", "RISCV::FRM", "RISCV::FFLAGS"], "File": "RISCVRegisterInfo12", "Func": "getReservedRegs", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1221, "Length": 220, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "riscv_build_integer", "(", "struct", "riscv_integer_op", "*", "codes", ",", "HOST_WIDE_INT", "value", ",", "machine_mode", "mode", ")", "{", "int", "cost", "=", "riscv_build_integer_1", "(", "codes", ",", "value", ",", "mode", ")", ";", "if", "(", "value", ">", "0", "&&", "cost", ">", "2", ")", "{", "struct", "riscv_integer_op", "alt_codes", "[", "RISCV_MAX_INTEGER_OPS", "]", ";", "int", "alt_cost", ",", "shift", "=", "clz_hwi", "(", "value", ")", ";", "HOST_WIDE_INT", "shifted_val", ";", "shifted_val", "=", "(", "value", "<<", "shift", ")", "|", "(", "(", "(", "(", "HOST_WIDE_INT", ")", "1", ")", "<<", "shift", ")", "-", "1", ")", ";", "alt_cost", "=", "1", "+", "riscv_build_integer_1", "(", "alt_codes", ",", "shifted_val", ",", "mode", ")", ";", "if", "(", "alt_cost", "<", "cost", ")", "{", "alt_codes", "[", "alt_cost", "-", "1", "]", ".", "code", "=", "LSHIFTRT", ";", "alt_codes", "[", "alt_cost", "-", "1", "]", ".", "value", "=", "shift", ";", "memcpy", "(", "codes", ",", "alt_codes", ",", "sizeof", "(", "alt_codes", ")", ")", ";", "cost", "=", "alt_cost", ";", "}", "shifted_val", "=", "value", "<<", "shift", ";", "alt_cost", "=", "1", "+", "riscv_build_integer_1", "(", "alt_codes", ",", "shifted_val", ",", "mode", ")", ";", "if", "(", "alt_cost", "<", "cost", ")", "{", "alt_codes", "[", "alt_cost", "-", "1", "]", ".", "code", "=", "LSHIFTRT", ";", "alt_codes", "[", "alt_cost", "-", "1", "]", ".", "value", "=", "shift", ";", "memcpy", "(", "codes", ",", "alt_codes", ",", "sizeof", "(", "alt_codes", ")", ")", ";", "cost", "=", "alt_cost", ";", "}", "}", "if", "(", "!", "TARGET_64BIT", "&&", "(", "value", ">", "INT32_MAX", "||", "value", "<", "INT32_MIN", ")", ")", "{", "unsigned", "HOST_WIDE_INT", "loval", "=", "sext_hwi", "(", "value", ",", "32", ")", ";", "unsigned", "HOST_WIDE_INT", "hival", "=", "sext_hwi", "(", "(", "value", "-", "loval", ")", ">>", "32", ",", "32", ")", ";", "struct", "riscv_integer_op", "alt_codes", "[", "RISCV_MAX_INTEGER_OPS", "]", ";", "struct", "riscv_integer_op", "hicode", "[", "RISCV_MAX_INTEGER_OPS", "]", ";", "int", "hi_cost", ",", "lo_cost", ";", "hi_cost", "=", "riscv_build_integer_1", "(", "hicode", ",", "hival", ",", "mode", ")", ";", "if", "(", "hi_cost", "<", "cost", ")", "{", "lo_cost", "=", "riscv_build_integer_1", "(", "alt_codes", ",", "loval", ",", "mode", ")", ";", "if", "(", "lo_cost", "+", "hi_cost", "<", "cost", ")", "{", "memcpy", "(", "codes", ",", "alt_codes", ",", "lo_cost", "*", "sizeof", "(", "struct", "riscv_integer_op", ")", ")", ";", "memcpy", "(", "codes", "+", "lo_cost", ",", "hicode", ",", "hi_cost", "*", "sizeof", "(", "struct", "riscv_integer_op", ")", ")", ";", "cost", "=", "lo_cost", "+", "hi_cost", ";", "}", "}", "}", "return", "cost", ";", "}", ""], "natrual_language": ["Fill", "CODES", "with", "a", "sequence", "of", "rtl", "operations", "to", "load", "VALUE", ".", "Return", "the", "number", "of", "operations", "needed", "."], "TS_V_token": ["riscv", "0", "2", "1", "1", "1", "1", "1", "1", "1", "1", "32", "32", "32"], "File": "riscv1", "Func": "riscv_build_integer", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1222, "Length": 353, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVInstructionSelector", "::", "select", "(", "MachineInstr", "&", "I", ")", "{", "if", "(", "!", "isPreISelGenericOpcode", "(", "I", ".", "getOpcode", "(", ")", ")", ")", "{", "return", "true", ";", "}", "if", "(", "selectImpl", "(", "I", ",", "*", "CoverageInfo", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Select", "the", "(", "possibly", "generic", ")", "instruction", "I", "to", "only", "use", "target-specific", "opcodes", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVInstructionSelector", "Func": "select", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1223, "Length": 44, "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": 1224, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "LegalizerInfo", "*", "RISCVSubtarget", "::", "getLegalizerInfo", "(", ")", "const", "{", "return", "Legalizer", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Expose", "LegalizerInfo", "so", "the", "clients", "can", "re-use", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVSubtarget", "Func": "getLegalizerInfo", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1225, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getReg", "(", ")", "const", "override", "{", "assert", "(", "Kind", "==", "Register", "&&", "\"Invalid type access!\"", ")", ";", "return", "Reg", ".", "RegNum", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["RISCV", "\"Invalid type access!\""], "File": "RISCVAsmParser", "Func": "getReg", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1226, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ISD", "::", "NodeType", "getExtendForAtomicCmpSwapArg", "(", ")", "const", "override", "{", "return", "ISD", "::", "SIGN_EXTEND", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "platform", "'s", "atomic", "compare", "and", "swap", "expects", "its", "comparison", "value", "to", "be", "extended", "(", "ZERO_EXTEND", ",", "SIGN_EXTEND", ",", "or", "ANY_EXTEND", ")", "."], "TS_V_token": ["RISCV", "ISD::NodeType", "ISD::SIGN_EXTEND"], "File": "RISCVISelLowering1", "Func": "getExtendForAtomicCmpSwapArg", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1227, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "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": ["RISCV", "RISCV"], "File": "RISCVISelLowering (2)2", "Func": "isOffsetFoldingLegal", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1228, "Length": 16, "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": 1229, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "if", "(", "IDVal", "==", "\".word\"", ")", "return", "ParseDirectiveWord", "(", "2", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", ".", "startswith", "(", "\".code\"", ")", ")", "return", "ParseDirectiveCode", "(", "IDVal", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", ".", "startswith", "(", "\".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", "(", ")", ";", "}", "return", "false", ";", "}", "else", "if", "(", "IDVal", ".", "startswith", "(", "\".dwarf_addr_size\"", ")", ")", "{", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "getString", "(", ")", "!=", "\"4\"", ")", "return", "Error", "(", "DirectiveID", ".", "getLoc", "(", ")", ",", "\".dwarf_addr_size must be 4\"", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["X86", "X86", "\".word\"", "2", "\".code\"", "\".att_syntax\"", "0", "\".intel_syntax\"", "1", "\"noprefix\"", "\".dwarf_addr_size\"", "\"4\"", "\".dwarf_addr_size must be 4\""], "File": "X86AsmParser109", "Func": "ParseDirective", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1230, "Length": 192, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "scalar_chain", "::", "convert_op", "(", "rtx", "*", "op", ",", "rtx_insn", "*", "insn", ")", "{", "*", "op", "=", "copy_rtx_if_shared", "(", "*", "op", ")", ";", "if", "(", "GET_CODE", "(", "*", "op", ")", "==", "NOT", ")", "{", "convert_op", "(", "&", "XEXP", "(", "*", "op", ",", "0", ")", ",", "insn", ")", ";", "PUT_MODE", "(", "*", "op", ",", "V2DImode", ")", ";", "}", "else", "if", "(", "MEM_P", "(", "*", "op", ")", ")", "{", "rtx", "tmp", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "emit_insn_before", "(", "gen_move_insn", "(", "tmp", ",", "*", "op", ")", ",", "insn", ")", ";", "*", "op", "=", "gen_rtx_SUBREG", "(", "V2DImode", ",", "tmp", ",", "0", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\" Preloading operand for insn %d into r%d\\n\"", ",", "INSN_UID", "(", "insn", ")", ",", "REGNO", "(", "tmp", ")", ")", ";", "}", "else", "if", "(", "REG_P", "(", "*", "op", ")", ")", "{", "df_ref", "ref", ";", "FOR_EACH_INSN_USE", "(", "ref", ",", "insn", ")", "if", "(", "DF_REF_REGNO", "(", "ref", ")", "==", "REGNO", "(", "*", "op", ")", ")", "{", "gcc_assert", "(", "!", "DF_REF_CHAIN", "(", "ref", ")", ")", ";", "break", ";", "}", "*", "op", "=", "gen_rtx_SUBREG", "(", "V2DImode", ",", "*", "op", ",", "0", ")", ";", "}", "else", "{", "gcc_assert", "(", "SUBREG_P", "(", "*", "op", ")", ")", ";", "gcc_assert", "(", "GET_MODE", "(", "*", "op", ")", "==", "V2DImode", ")", ";", "}", "}", ""], "natrual_language": ["Convert", "operand", "OP", "in", "INSN", ".", "We", "should", "handle", "memory", "operands", "and", "uninitialized", "registers", ".", "All", "other", "register", "uses", "are", "converted", "during", "registers", "conversion", "."], "TS_V_token": ["i386", "0", "0", "\" Preloading operand for insn %d into r%d\\n\"", "0"], "File": "i3865", "Func": "convert_op", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1231, "Length": 205, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "scalar_int_mode", "rs6000_abi_word_mode", "(", "void", ")", "{", "return", "TARGET_32BIT", "?", "SImode", ":", "DImode", ";", "}", ""], "natrual_language": ["The", "mode", "the", "ABI", "uses", "for", "a", "word", ".", "This", "is", "not", "the", "same", "as", "word_mode", "for", "-m32", "-mpowerpc64", ".", "This", "is", "used", "to", "implement", "various", "target", "hooks", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_abi_word_mode", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1232, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCXCOFFStreamer", "::", "emitInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "PPCMCCodeEmitter", "*", "Emitter", "=", "static_cast", "<", "PPCMCCodeEmitter", "*", ">", "(", "getAssembler", "(", ")", ".", "getEmitterPtr", "(", ")", ")", ";", "if", "(", "!", "Emitter", "->", "isPrefixedInstruction", "(", "Inst", ")", ")", "{", "MCXCOFFStreamer", "::", "emitInstruction", "(", "Inst", ",", "STI", ")", ";", "return", ";", "}", "emitPrefixedInstruction", "(", "Inst", ",", "STI", ")", ";", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC"], "File": "PPCXCOFFStreamer", "Func": "emitInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1233, "Length": 66, "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", "::", "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", ":", "case", "CallingConv", "::", "SwiftTail", ":", "case", "CallingConv", "::", "Tail", ":", "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", ":", "case", "CallingConv", "::", "AArch64_SVE_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", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64ISelLowering (2)2", "Func": "CCAssignFnForCall", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1234, "Length": 158, "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", "++", ")", "{", "if", "(", "MBBI", "->", "isCFIInstruction", "(", ")", ")", "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", "1", "0", "0", "1", "1"], "File": "X86InstrInfo153", "Func": "getOutliningCandidateInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1235, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "AAResultsWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineDominatorTree", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["ARM"], "File": "ARMLoadStoreOptimizer19", "Func": "getAnalysisUsage", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1236, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PPCSubtarget", "::", "PPCSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "is64Bit", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", ":", "PPCGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "IsPPC64", "(", "is64Bit", ")", ",", "TargetTriple", "(", "TT", ")", "{", "initializeEnvironment", "(", ")", ";", "std", "::", "string", "FullFS", "=", "FS", ";", "if", "(", "OptLevel", ">=", "CodeGenOpt", "::", "Default", ")", "{", "if", "(", "!", "FullFS", ".", "empty", "(", ")", ")", "FullFS", "=", "\"+crbits,\"", "+", "FullFS", ";", "else", "FullFS", "=", "\"+crbits\"", ";", "}", "resetSubtargetFeatures", "(", "CPU", ",", "FullFS", ")", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "\"+crbits,\"", "\"+crbits\""], "File": "PPCSubtarget21", "Func": "PPCSubtarget", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1237, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1RegisterInfo", "::", "saveScavengerRegister", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "MachineBasicBlock", "::", "iterator", "&", "UseMI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "unsigned", "Reg", ")", "const", "{", "DebugLoc", "DL", ";", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", ".", "get", "(", "ARM", "::", "tMOVr", ")", ")", ".", "addReg", "(", "ARM", "::", "R12", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ")", ";", "bool", "done", "=", "false", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "II", "=", "I", ";", "!", "done", "&&", "II", "!=", "UseMI", ";", "++", "II", ")", "{", "if", "(", "II", "->", "isDebugValue", "(", ")", ")", "continue", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "II", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "const", "MachineOperand", "&", "MO", "=", "II", "->", "getOperand", "(", "i", ")", ";", "if", "(", "MO", ".", "isRegMask", "(", ")", "&&", "MO", ".", "clobbersPhysReg", "(", "ARM", "::", "R12", ")", ")", "{", "UseMI", "=", "II", ";", "done", "=", "true", ";", "break", ";", "}", "if", "(", "!", "MO", ".", "isReg", "(", ")", "||", "MO", ".", "isUndef", "(", ")", "||", "!", "MO", ".", "getReg", "(", ")", "||", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "MO", ".", "getReg", "(", ")", ")", ")", "continue", ";", "if", "(", "MO", ".", "getReg", "(", ")", "==", "ARM", "::", "R12", ")", "{", "UseMI", "=", "II", ";", "done", "=", "true", ";", "break", ";", "}", "}", "}", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "UseMI", ",", "DL", ",", "TII", ".", "get", "(", "ARM", "::", "tMOVr", ")", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "ARM", "::", "R12", ",", "RegState", "::", "Kill", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Spill", "the", "register", "so", "it", "can", "be", "used", "by", "the", "register", "scavenger", "."], "TS_V_token": ["ARM", "ARM::tMOVr", "ARM::R12", "0", "ARM::R12", "ARM::R12", "ARM::tMOVr", "ARM::R12"], "File": "Thumb1RegisterInfo", "Func": "saveScavengerRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1238, "Length": 279, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb2InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "Register", "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": "Thumb2InstrInfo35", "Func": "storeRegToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1239, "Length": 327, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "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", ")", ";", "emitXRayTable", "(", ")", ";", "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": "MipsAsmPrinter56", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1240, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "final_prescan_insn", "(", "rtx", "insn", ",", "rtx", "*", "opvec", "ATTRIBUTE_UNUSED", ",", "int", "noperands", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_DUMPISIZE", ")", "fprintf", "(", "asm_out_file", ",", "\"\\n! at %04x\\n\"", ",", "INSN_ADDRESSES", "(", "INSN_UID", "(", "insn", ")", ")", ")", ";", "if", "(", "TARGET_RELAX", ")", "{", "rtx", "note", ";", "note", "=", "find_reg_note", "(", "insn", ",", "REG_LABEL", ",", "NULL_RTX", ")", ";", "if", "(", "note", ")", "{", "rtx", "pattern", ";", "pattern", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pattern", ")", "==", "PARALLEL", ")", "pattern", "=", "XVECEXP", "(", "pattern", ",", "0", ",", "0", ")", ";", "switch", "(", "GET_CODE", "(", "pattern", ")", ")", "{", "case", "SET", ":", "if", "(", "GET_CODE", "(", "SET_SRC", "(", "pattern", ")", ")", "!=", "CALL", "&&", "get_attr_type", "(", "insn", ")", "!=", "TYPE_SFUNC", ")", "{", "targetm", ".", "asm_out", ".", "internal_label", "(", "asm_out_file", ",", "\"L\"", ",", "CODE_LABEL_NUMBER", "(", "XEXP", "(", "note", ",", "0", ")", ")", ")", ";", "break", ";", "}", "case", "CALL", ":", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t.uses %LL%d\\n\"", ",", "CODE_LABEL_NUMBER", "(", "XEXP", "(", "note", ",", "0", ")", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "}", "}", ""], "natrual_language": ["If", "defined", ",", "a", "C", "statement", "to", "be", "executed", "just", "prior", "to", "the", "output", "of", "assembler", "code", "for", "INSN", ",", "to", "modify", "the", "extracted", "operands", "so", "they", "will", "be", "output", "differently", ".", "Here", "the", "argument", "OPVEC", "is", "the", "vector", "containing", "the", "operands", "extracted", "from", "INSN", ",", "and", "NOPERANDS", "is", "the", "number", "of", "elements", "of", "the", "vector", "which", "contain", "meaningful", "data", "for", "this", "insn", ".", "The", "contents", "of", "this", "vector", "are", "what", "will", "be", "used", "to", "convert", "the", "insn", "template", "into", "assembler", "code", ",", "so", "you", "can", "change", "the", "assembler", "output", "by", "changing", "the", "contents", "of", "the", "vector", ".", "We", "use", "it", "to", "check", "if", "the", "current", "insn", "needs", "a", "nop", "in", "front", "of", "it", "because", "of", "load", "delays", ",", "and", "also", "to", "update", "the", "delay", "slot", "statistics", "."], "TS_V_token": ["sh", "\"\\n! at %04x\\n\"", "0", "0", "\"L\"", "0", "\"\\t.uses %LL%d\\n\"", "0"], "File": "sh3", "Func": "final_prescan_insn", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1241, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "ARMTTIImpl", "::", "getIntImmCostInst", "(", "unsigned", "Opcode", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ",", "Instruction", "*", "Inst", ")", "{", "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", ";", "if", "(", "Inst", "&&", "(", "(", "ST", "->", "hasV6Ops", "(", ")", "&&", "!", "ST", "->", "isThumb", "(", ")", ")", "||", "ST", "->", "isThumb2", "(", ")", ")", "&&", "Ty", "->", "getIntegerBitWidth", "(", ")", "<=", "32", ")", "{", "if", "(", "isSSATMinMaxPattern", "(", "Inst", ",", "Imm", ")", "||", "(", "isa", "<", "ICmpInst", ">", "(", "Inst", ")", "&&", "Inst", "->", "hasOneUse", "(", ")", "&&", "isSSATMinMaxPattern", "(", "cast", "<", "Instruction", ">", "(", "*", "Inst", "->", "user_begin", "(", ")", ")", ",", "Imm", ")", ")", ")", "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", "32", "0"], "File": "ARMTargetTransformInfo54", "Func": "getIntImmCostInst", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1242, "Length": 325, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsSEInstrInfo", "::", "loadImmediate", "(", "int64_t", "Imm", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "II", ",", "DebugLoc", "DL", ",", "unsigned", "*", "NewImm", ")", "const", "{", "MipsAnalyzeImmediate", "AnalyzeImm", ";", "const", "MipsSubtarget", "&", "STI", "=", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "unsigned", "Size", "=", "STI", ".", "isABI_N64", "(", ")", "?", "64", ":", "32", ";", "unsigned", "LUi", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "LUi64", ":", "Mips", "::", "LUi", ";", "unsigned", "ZEROReg", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "ZERO_64", ":", "Mips", "::", "ZERO", ";", "const", "TargetRegisterClass", "*", "RC", "=", "STI", ".", "isABI_N64", "(", ")", "?", "&", "Mips", "::", "CPU64RegsRegClass", ":", "&", "Mips", "::", "CPURegsRegClass", ";", "bool", "LastInstrIsADDiu", "=", "NewImm", ";", "const", "MipsAnalyzeImmediate", "::", "InstSeq", "&", "Seq", "=", "AnalyzeImm", ".", "Analyze", "(", "Imm", ",", "Size", ",", "LastInstrIsADDiu", ")", ";", "MipsAnalyzeImmediate", "::", "InstSeq", "::", "const_iterator", "Inst", "=", "Seq", ".", "begin", "(", ")", ";", "assert", "(", "Seq", ".", "size", "(", ")", "&&", "(", "!", "LastInstrIsADDiu", "||", "(", "Seq", ".", "size", "(", ")", ">", "1", ")", ")", ")", ";", "unsigned", "Reg", "=", "RegInfo", ".", "createVirtualRegister", "(", "RC", ")", ";", "if", "(", "Inst", "->", "Opc", "==", "LUi", ")", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "get", "(", "LUi", ")", ",", "Reg", ")", ".", "addImm", "(", "SignExtend64", "<", "16", ">", "(", "Inst", "->", "ImmOpnd", ")", ")", ";", "else", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "get", "(", "Inst", "->", "Opc", ")", ",", "Reg", ")", ".", "addReg", "(", "ZEROReg", ")", ".", "addImm", "(", "SignExtend64", "<", "16", ">", "(", "Inst", "->", "ImmOpnd", ")", ")", ";", "for", "(", "++", "Inst", ";", "Inst", "!=", "Seq", ".", "end", "(", ")", "-", "LastInstrIsADDiu", ";", "++", "Inst", ")", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "get", "(", "Inst", "->", "Opc", ")", ",", "Reg", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "SignExtend64", "<", "16", ">", "(", "Inst", "->", "ImmOpnd", ")", ")", ";", "if", "(", "LastInstrIsADDiu", ")", "*", "NewImm", "=", "Inst", "->", "ImmOpnd", ";", "return", "Reg", ";", "}", ""], "natrual_language": ["Emit", "a", "series", "of", "instructions", "to", "load", "an", "immediate", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "64", "32", "Mips::LUi64", "Mips::LUi", "Mips::ZERO_64", "Mips::ZERO", "Mips::CPU64RegsRegClass", "Mips::CPURegsRegClass", "Mips", "Mips", "1", "16", "16", "16"], "File": "MipsSEInstrInfo1", "Func": "loadImmediate", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1243, "Length": 342, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "ARMTargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", "DL", ",", "LLVMContext", "&", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "getPointerTy", "(", "DL", ")", ";", "if", "(", "(", "Subtarget", "->", "hasMVEIntegerOps", "(", ")", "&&", "(", "VT", "==", "MVT", "::", "v4i32", "||", "VT", "==", "MVT", "::", "v8i16", "||", "VT", "==", "MVT", "::", "v16i8", ")", ")", "||", "(", "Subtarget", "->", "hasMVEFloatOps", "(", ")", "&&", "(", "VT", "==", "MVT", "::", "v4f32", "||", "VT", "==", "MVT", "::", "v8f16", ")", ")", ")", "return", "MVT", "::", "getVectorVT", "(", "MVT", "::", "i1", ",", "VT", ".", "getVectorElementCount", "(", ")", ")", ";", "return", "VT", ".", "changeVectorElementTypeToInteger", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["ARM", "ARM", "MVT::v4i32", "MVT::v8i16", "MVT::v16i8", "MVT::v4f32", "MVT::v8f16", "MVT::getVectorVT", "MVT::i1"], "File": "ARMISelLowering (2)5", "Func": "getSetCCResultType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1244, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetLowering", "::", "insertCopiesSplitCSR", "(", "MachineBasicBlock", "*", "Entry", ",", "const", "SmallVectorImpl", "<", "MachineBasicBlock", "*", ">", "&", "Exits", ")", "const", "{", "const", "ARMBaseRegisterInfo", "*", "TRI", "=", "Subtarget", "->", "getRegisterInfo", "(", ")", ";", "const", "MCPhysReg", "*", "IStart", "=", "TRI", "->", "getCalleeSavedRegsViaCopy", "(", "Entry", "->", "getParent", "(", ")", ")", ";", "if", "(", "!", "IStart", ")", "return", ";", "const", "TargetInstrInfo", "*", "TII", "=", "Subtarget", "->", "getInstrInfo", "(", ")", ";", "MachineRegisterInfo", "*", "MRI", "=", "&", "Entry", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "Entry", "->", "begin", "(", ")", ";", "for", "(", "const", "MCPhysReg", "*", "I", "=", "IStart", ";", "*", "I", ";", "++", "I", ")", "{", "const", "TargetRegisterClass", "*", "RC", "=", "nullptr", ";", "if", "(", "ARM", "::", "GPRRegClass", ".", "contains", "(", "*", "I", ")", ")", "RC", "=", "&", "ARM", "::", "GPRRegClass", ";", "else", "if", "(", "ARM", "::", "DPRRegClass", ".", "contains", "(", "*", "I", ")", ")", "RC", "=", "&", "ARM", "::", "DPRRegClass", ";", "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", ",", "MBBI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "NewVR", ")", ".", "addReg", "(", "*", "I", ")", ";", "for", "(", "auto", "*", "Exit", ":", "Exits", ")", "BuildMI", "(", "*", "Exit", ",", "Exit", "->", "getFirstTerminator", "(", ")", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "*", "I", ")", ".", "addReg", "(", "NewVR", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "explicit", "copies", "in", "entry", "and", "exit", "blocks", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM::GPRRegClass", "ARM::GPRRegClass", "ARM::DPRRegClass", "ARM::DPRRegClass", "\"Unexpected register class in CSRsViaCopy!\"", "\"Function should be nounwind in insertCopiesSplitCSR!\""], "File": "ARMISelLowering108", "Func": "insertCopiesSplitCSR", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1245, "Length": 271, "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": 1246, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64AsmBackend", "::", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "{", "assert", "(", "false", "&&", "\"AArch64AsmBackend::relaxInstruction() unimplemented\"", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["AArch64", "AArch64", "\"AArch64AsmBackend::relaxInstruction() unimplemented\""], "File": "AArch64AsmBackend", "Func": "relaxInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1247, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsRegisterInfo", "::", "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": ["Mips", "Mips"], "File": "MipsRegisterInfo (2)1", "Func": "requiresRegisterScavenging", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1248, "Length": 16, "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": 1249, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0AsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ")", "const", "{", "OS", ".", "write_zeros", "(", "Count", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["Cpu0", "Cpu0"], "File": "Cpu0AsmBackend3", "Func": "writeNopData", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1250, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_vect_float_const_representable_p", "(", "rtx", "x", ")", "{", "rtx", "elt", ";", "return", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "x", ")", ")", "==", "MODE_VECTOR_FLOAT", "&&", "const_vec_duplicate_p", "(", "x", ",", "&", "elt", ")", "&&", "aarch64_float_const_representable_p", "(", "elt", ")", ")", ";", "}", ""], "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"], "File": "aarch643", "Func": "aarch64_vect_float_const_representable_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1251, "Length": 38, "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": 1252, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetTransformInfo", "X86TargetMachine", "::", "getTargetTransformInfo", "(", "const", "Function", "&", "F", ")", "{", "return", "TargetTransformInfo", "(", "X86TTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetTransformInfo", "implementation", "for", "the", "target", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86TargetMachine101", "Func": "getTargetTransformInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1253, "Length": 23, "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": 1254, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_emit_insn_before", "(", "rtx", "insn", ",", "rtx_insn", "*", "before", ")", "{", "emit_insn_before", "(", "insn", ",", "before", ")", ";", "}", ""], "natrual_language": ["Like", "emit_insn_before", ",", "but", "skip", "cycle_display", "insns", ".", "This", "makes", "the", "assembly", "output", "a", "bit", "prettier", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "ia64_emit_insn_before", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1255, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sh_struct_value_rtx", "(", "tree", "fndecl", ",", "int", "incoming", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_HITACHI", "||", "sh_attr_renesas_p", "(", "fndecl", ")", ")", "return", "0", ";", "return", "gen_rtx_REG", "(", "Pmode", ",", "2", ")", ";", "}", ""], "natrual_language": ["The", "Renesas", "calling", "convention", "does", "n't", "quite", "fit", "into", "this", "scheme", "since", "the", "address", "is", "passed", "like", "an", "invisible", "argument", ",", "but", "one", "that", "is", "always", "passed", "in", "memory", "."], "TS_V_token": ["sh", "0", "2"], "File": "sh3", "Func": "sh_struct_value_rtx", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1256, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "enableIndirectBrExpand", "(", ")", "const", "override", "{", "return", "useRetpoline", "(", ")", ";", "}", ""], "natrual_language": ["If", "we", "are", "using", "indirect", "thunks", ",", "we", "need", "to", "expand", "indirectbr", "to", "avoid", "it", "lowering", "to", "an", "actual", "indirect", "jump", "."], "TS_V_token": ["X86"], "File": "X86Subtarget103", "Func": "enableIndirectBrExpand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1257, "Length": 13, "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": "MipsAsmParser102", "Func": "ParseInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1258, "Length": 468, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "tls_symbolic_operand", "(", "rtx", "op", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "!=", "SYMBOL_REF", ")", "return", "0", ";", "return", "SYMBOL_REF_TLS_MODEL", "(", "op", ")", ";", "}", ""], "natrual_language": ["Return", "the", "TLS", "type", "for", "TLS", "symbols", ",", "0", "for", "otherwise", "."], "TS_V_token": ["sh", "0"], "File": "sh3", "Func": "tls_symbolic_operand", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1259, "Length": 31, "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", "::", "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::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": "ARMBaseInstrInfo1", "Func": "isLoadFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1260, "Length": 385, "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", ",", "58", ")", ")", ";", "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", "58"], "File": "pa", "Func": "pa_trampoline_adjust_address", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1261, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_sve_dup_immediate_p", "(", "rtx", "x", ")", "{", "rtx", "elt", ";", "if", "(", "!", "const_vec_duplicate_p", "(", "x", ",", "&", "elt", ")", "||", "!", "CONST_INT_P", "(", "elt", ")", ")", "return", "false", ";", "HOST_WIDE_INT", "val", "=", "INTVAL", "(", "elt", ")", ";", "if", "(", "val", "&", "0xff", ")", "return", "IN_RANGE", "(", "val", ",", "-", "0x80", ",", "0x7f", ")", ";", "return", "IN_RANGE", "(", "val", ",", "-", "0x8000", ",", "0x7f00", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "valid", "immediate", "for", "the", "SVE", "DUP", "and", "CPY", "instructions", "."], "TS_V_token": ["aarch64", "0xff", "0x80", "0x7f", "0x8000", "0x7f00"], "File": "aarch645", "Func": "aarch64_sve_dup_immediate_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1262, "Length": 67, "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": 1263, "Length": 314, "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", "::", "BITCAST", ":", "Res", "=", "ExpandBITCAST", "(", "N", ",", "DAG", ")", ";", "break", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "case", "ISD", "::", "ZERO_EXTEND", ":", "Res", "=", "ExpandVectorExtension", "(", "N", ",", "DAG", ")", ";", "break", ";", "case", "ISD", "::", "SRL", ":", "case", "ISD", "::", "SRA", ":", "Res", "=", "Expand64BitShift", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "break", ";", "case", "ISD", "::", "ATOMIC_LOAD_ADD", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMADD64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_LOAD_AND", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMAND64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_LOAD_NAND", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMNAND64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_LOAD_OR", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMOR64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_LOAD_SUB", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMSUB64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_LOAD_XOR", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMXOR64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_SWAP", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMSWAP64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_CMP_SWAP", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMCMPXCHG64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_LOAD_MIN", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMMIN64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_LOAD_UMIN", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMUMIN64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_LOAD_MAX", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMMAX64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_LOAD_UMAX", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMUMAX64_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::BITCAST", "ISD::SIGN_EXTEND", "ISD::ZERO_EXTEND", "ISD::SRL", "ISD::SRA", "ISD::ATOMIC_LOAD_ADD", "ARMISD::ATOMADD64_DAG", "ISD::ATOMIC_LOAD_AND", "ARMISD::ATOMAND64_DAG", "ISD::ATOMIC_LOAD_NAND", "ARMISD::ATOMNAND64_DAG", "ISD::ATOMIC_LOAD_OR", "ARMISD::ATOMOR64_DAG", "ISD::ATOMIC_LOAD_SUB", "ARMISD::ATOMSUB64_DAG", "ISD::ATOMIC_LOAD_XOR", "ARMISD::ATOMXOR64_DAG", "ISD::ATOMIC_SWAP", "ARMISD::ATOMSWAP64_DAG", "ISD::ATOMIC_CMP_SWAP", "ARMISD::ATOMCMPXCHG64_DAG", "ISD::ATOMIC_LOAD_MIN", "ARMISD::ATOMMIN64_DAG", "ISD::ATOMIC_LOAD_UMIN", "ARMISD::ATOMUMIN64_DAG", "ISD::ATOMIC_LOAD_MAX", "ARMISD::ATOMMAX64_DAG", "ISD::ATOMIC_LOAD_UMAX", "ARMISD::ATOMUMAX64_DAG"], "File": "ARMISelLowering137", "Func": "ReplaceNodeResults", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1264, "Length": 358, "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", "(", ")", ")", "return", "TargetLowering", "::", "getSafeStackPointerLocation", "(", "IRB", ")", ";", "unsigned", "AddressSpace", ",", "Offset", ";", "Offset", "=", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "?", "0x48", ":", "0x24", ";", "AddressSpace", "=", "getAddressSpace", "(", ")", ";", "return", "ConstantExpr", "::", "getIntToPtr", "(", "ConstantInt", "::", "get", "(", "Type", "::", "getInt32Ty", "(", "IRB", ".", "getContext", "(", ")", ")", ",", "Offset", ")", ",", "Type", "::", "getInt8PtrTy", "(", "IRB", ".", "getContext", "(", ")", ")", "->", "getPointerTo", "(", "AddressSpace", ")", ")", ";", "}", ""], "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"], "File": "X86ISelLowering236", "Func": "getSafeStackPointerLocation", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1265, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "alg_usable_p", "(", "enum", "stringop_alg", "alg", ",", "bool", "memset", ")", "{", "if", "(", "alg", "==", "no_stringop", ")", "return", "false", ";", "if", "(", "alg", "==", "vector_loop", ")", "return", "TARGET_SSE", "||", "TARGET_AVX", ";", "if", "(", "alg", "==", "rep_prefix_1_byte", "||", "alg", "==", "rep_prefix_4_byte", "||", "alg", "==", "rep_prefix_8_byte", ")", "return", "!", "(", "fixed_regs", "[", "CX_REG", "]", "||", "fixed_regs", "[", "DI_REG", "]", "||", "(", "memset", "?", "fixed_regs", "[", "AX_REG", "]", ":", "fixed_regs", "[", "SI_REG", "]", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "ALG", "can", "be", "used", "in", "current", "context", ".", "Assume", "we", "expand", "memset", "if", "MEMSET", "is", "true", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "alg_usable_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1266, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstructionSelector", "::", "beginFunction", "(", "const", "MachineFunction", "&", "MF", ")", "{", "OptForSize", "=", "MF", ".", "getFunction", "(", ")", "->", "optForSize", "(", ")", ";", "OptForMinSize", "=", "MF", ".", "getFunction", "(", ")", "->", "optForMinSize", "(", ")", ";", "AvailableFeatures", "=", "computeAvailableFeatures", "(", "&", "MF", ",", "&", "STI", ")", ";", "}", ""], "natrual_language": ["Gather", "pre-function", "exception", "information", "."], "TS_V_token": ["X86", "X86"], "File": "X86InstructionSelector28", "Func": "beginFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1267, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DEBUG_FUNCTION", "static", "void", "debug_insn_dispatch_info_file", "(", "FILE", "*", "file", ",", "rtx_insn", "*", "insn", ")", "{", "int", "byte_len", ";", "enum", "insn_path", "path", ";", "enum", "dispatch_group", "group", ";", "int", "imm_size", ";", "int", "num_imm_operand", ";", "int", "num_imm32_operand", ";", "int", "num_imm64_operand", ";", "if", "(", "INSN_CODE", "(", "insn", ")", "<", "0", ")", "return", ";", "byte_len", "=", "min_insn_size", "(", "insn", ")", ";", "path", "=", "get_insn_path", "(", "insn", ")", ";", "group", "=", "get_insn_group", "(", "insn", ")", ";", "imm_size", "=", "get_num_immediates", "(", "insn", ",", "&", "num_imm_operand", ",", "&", "num_imm32_operand", ",", "&", "num_imm64_operand", ")", ";", "fprintf", "(", "file", ",", "\" insn info:\\n\"", ")", ";", "fprintf", "(", "file", ",", "\" group = %s, path = %d, byte_len = %d\\n\"", ",", "group_name", "[", "group", "]", ",", "path", ",", "byte_len", ")", ";", "fprintf", "(", "file", ",", "\" num_imm = %d, num_imm_32 = %d, num_imm_64 = %d, imm_size = %d\\n\"", ",", "num_imm_operand", ",", "num_imm32_operand", ",", "num_imm64_operand", ",", "imm_size", ")", ";", "}", ""], "natrual_language": ["Print", "INSN", "dispatch", "information", "to", "FILE", "."], "TS_V_token": ["i386", "0", "\" insn info:\\n\"", "\" group = %s, path = %d, byte_len = %d\\n\"", "\" num_imm = %d, num_imm_32 = %d, num_imm_64 = %d, imm_size = %d\\n\""], "File": "i3864", "Func": "debug_insn_dispatch_info_file", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1268, "Length": 124, "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": 1269, "Length": 33, "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", "==", "NULL", ")", "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", "(", "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"], "File": "MipsISelLowering (2)", "Func": "getSingleConstraintMatchWeight", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1270, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "loongarch_split_move_p", "(", "rtx", "dest", ",", "rtx", "src", ")", "{", "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", ")", "{", "if", "(", "FP_REG_RTX_P", "(", "dest", ")", "&&", "MEM_P", "(", "src", ")", ")", "return", "false", ";", "if", "(", "FP_REG_RTX_P", "(", "src", ")", "&&", "MEM_P", "(", "dest", ")", ")", "return", "false", ";", "}", "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": ["loongarch", "8", "8"], "File": "loongarch", "Func": "loongarch_split_move_p", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1271, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "SIC", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["SIC", "SIC::NumTargetFixupKinds"], "File": "SICAsmBackend", "Func": "getNumFixupKinds", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1272, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "getFramePtr", "(", ")", "const", "{", "return", "FramePtr", ";", "}", ""], "natrual_language": ["Returns", "physical", "register", "used", "as", "frame", "pointer", "."], "TS_V_token": ["X86"], "File": "X86RegisterInfo23", "Func": "getFramePtr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1273, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "MipsDisassembler", "::", "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", ",", "isBigEndian", ",", "IsMicroMips", ")", ";", "if", "(", "Result", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "if", "(", "IsMicroMips", ")", "{", "Result", "=", "decodeInstruction", "(", "DecoderTableMicroMips32", ",", "instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "Size", "=", "4", ";", "return", "Result", ";", "}", "return", "MCDisassembler", "::", "Fail", ";", "}", "if", "(", "isMips32r6", "(", ")", ")", "{", "Result", "=", "decodeInstruction", "(", "DecoderTableMips32r6_64r632", ",", "instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "Size", "=", "4", ";", "return", "Result", ";", "}", "}", "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", "Mips", "Mips", "4", "Mips", "Mips", "4", "Mips", "4"], "File": "MipsDisassembler38", "Func": "getInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1274, "Length": 192, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "shouldSinkOperands", "(", "Instruction", "*", "I", ",", "SmallVectorImpl", "<", "Use", "*", ">", "&", "Ops", ")", "const", "{", "using", "namespace", "llvm", "::", "PatternMatch", ";", "FixedVectorType", "*", "VTy", "=", "dyn_cast", "<", "FixedVectorType", ">", "(", "I", "->", "getType", "(", ")", ")", ";", "if", "(", "!", "VTy", ")", "return", "false", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "Instruction", "::", "Mul", "&&", "VTy", "->", "getElementType", "(", ")", "->", "isIntegerTy", "(", "64", ")", ")", "{", "for", "(", "auto", "&", "Op", ":", "I", "->", "operands", "(", ")", ")", "{", "if", "(", "any_of", "(", "Ops", ",", "[", "&", "]", "(", "Use", "*", "U", ")", "{", "return", "U", "->", "get", "(", ")", "==", "Op", ";", "}", ")", ")", "continue", ";", "if", "(", "Subtarget", ".", "hasSSE41", "(", ")", "&&", "match", "(", "Op", ".", "get", "(", ")", ",", "m_AShr", "(", "m_Shl", "(", "m_Value", "(", ")", ",", "m_SpecificInt", "(", "32", ")", ")", ",", "m_SpecificInt", "(", "32", ")", ")", ")", ")", "{", "Ops", ".", "push_back", "(", "&", "cast", "<", "Instruction", ">", "(", "Op", ")", "->", "getOperandUse", "(", "0", ")", ")", ";", "Ops", ".", "push_back", "(", "&", "Op", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "hasSSE2", "(", ")", "&&", "match", "(", "Op", ".", "get", "(", ")", ",", "m_And", "(", "m_Value", "(", ")", ",", "m_SpecificInt", "(", "UINT64_C", "(", "0xffffffff", ")", ")", ")", ")", ")", "{", "Ops", ".", "push_back", "(", "&", "Op", ")", ";", "}", "}", "return", "!", "Ops", ".", "empty", "(", ")", ";", "}", "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", "64", "32", "32", "0", "0xffffffff", "1", "1", "Intrinsic::fshl", "Intrinsic::fshr", "2", "1", "0"], "File": "X86ISelLowering (2)5", "Func": "shouldSinkOperands", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1275, "Length": 368, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMFrameInfo", "::", "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", ";", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "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": "ARMFrameInfo", "Func": "restoreCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1276, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_prefetch", "(", "rtx", "insn", ")", "{", "return", "NONJUMP_INSN_P", "(", "insn", ")", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "PREFETCH", ";", "}", ""], "natrual_language": ["Return", "true", "if", "insn", "is", "a", "prefetch", "instruction", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "is_prefetch", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1277, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCDispatchGroupSBHazardRecognizer", "::", "EmitNoop", "(", ")", "{", "unsigned", "Directive", "=", "DAG", "->", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "getMcpu", "(", ")", ";", "if", "(", "Directive", "==", "PPC", "::", "MCPU_PWR6", "||", "Directive", "==", "PPC", "::", "MCPU_PWR7", "||", "Directive", "==", "PPC", "::", "MCPU_PWR8", "||", "Directive", "==", "PPC", "::", "MCPU_PWR9", "||", "CurSlots", "==", "6", ")", "{", "CurGroup", ".", "clear", "(", ")", ";", "CurSlots", "=", "CurBranches", "=", "0", ";", "}", "else", "{", "CurGroup", ".", "push_back", "(", "nullptr", ")", ";", "++", "CurSlots", ";", "}", "}", ""], "natrual_language": ["EmitNoop", "-", "This", "callback", "is", "invoked", "when", "a", "noop", "was", "added", "to", "the", "instruction", "stream", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::MCPU_PWR6", "PPC::MCPU_PWR7", "PPC::MCPU_PWR8", "PPC::MCPU_PWR9", "6", "0"], "File": "PPCHazardRecognizers8", "Func": "EmitNoop", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1278, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PostLegalizerCombiner", "::", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "TargetPassConfig", ">", "(", ")", ";", "AU", ".", "setPreservesCFG", "(", ")", ";", "getSelectionDAGFallbackAnalysisUsage", "(", "AU", ")", ";", "AU", ".", "addRequired", "<", "GISelKnownBitsAnalysis", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "GISelKnownBitsAnalysis", ">", "(", ")", ";", "if", "(", "!", "IsOptNone", ")", "{", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineDominatorTree", ">", "(", ")", ";", "}", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64PostLegalizerCombiner", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1279, "Length": 82, "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": 1280, "Length": 122, "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", ";", "unsigned", "Src1Reg", "=", "getRegForValue", "(", "Src1Val", ")", ";", "if", "(", "!", "Src1Reg", ")", "return", "false", ";", "bool", "Src1IsKill", "=", "hasTrivialKill", "(", "Src1Val", ")", ";", "unsigned", "Src2Reg", "=", "getRegForValue", "(", "Src2Val", ")", ";", "if", "(", "!", "Src2Reg", ")", "return", "false", ";", "bool", "Src2IsKill", "=", "hasTrivialKill", "(", "Src2Val", ")", ";", "if", "(", "NeedExtraOp", ")", "{", "Src1Reg", "=", "emitLogicalOp_ri", "(", "ISD", "::", "XOR", ",", "MVT", "::", "i32", ",", "Src1Reg", ",", "Src1IsKill", ",", "1", ")", ";", "Src1IsKill", "=", "true", ";", "}", "unsigned", "ResultReg", "=", "fastEmitInst_rr", "(", "Opc", ",", "&", "AArch64", "::", "GPR32RegClass", ",", "Src1Reg", ",", "Src1IsKill", ",", "Src2Reg", ",", "Src2IsKill", ")", ";", "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": "AArch64FastISel (2)", "Func": "optimizeSelect", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1281, "Length": 340, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLegalNTStore", "(", "Type", "*", "DataType", ",", "Align", "Alignment", ")", "{", "if", "(", "auto", "*", "DataTypeVTy", "=", "dyn_cast", "<", "VectorType", ">", "(", "DataType", ")", ")", "{", "unsigned", "NumElements", "=", "cast", "<", "FixedVectorType", ">", "(", "DataTypeVTy", ")", "->", "getNumElements", "(", ")", ";", "unsigned", "EltSize", "=", "DataTypeVTy", "->", "getElementType", "(", ")", "->", "getScalarSizeInBits", "(", ")", ";", "return", "NumElements", ">", "1", "&&", "isPowerOf2_64", "(", "NumElements", ")", "&&", "EltSize", ">=", "8", "&&", "EltSize", "<=", "128", "&&", "isPowerOf2_64", "(", "EltSize", ")", ";", "}", "return", "BaseT", "::", "isLegalNTStore", "(", "DataType", ",", "Alignment", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "nontemporal", "store", "."], "TS_V_token": ["AArch64", "1", "8", "128"], "File": "AArch64TargetTransformInfo", "Func": "isLegalNTStore", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1282, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "sparc_compute_frame_size", "(", "HOST_WIDE_INT", "size", ",", "int", "leaf_function", ")", "{", "HOST_WIDE_INT", "frame_size", ",", "apparent_frame_size", ";", "int", "args_size", ",", "n_global_fp_regs", "=", "0", ";", "bool", "save_local_in_regs_p", "=", "false", ";", "unsigned", "int", "i", ";", "if", "(", "leaf_function", "&&", "!", "cfun", "->", "calls_alloca", ")", "args_size", "=", "0", ";", "else", "args_size", "=", "crtl", "->", "outgoing_args_size", "+", "REG_PARM_STACK_SPACE", "(", "cfun", "->", "decl", ")", ";", "if", "(", "TARGET_ARCH64", ")", "for", "(", "i", "=", "0", ";", "i", "<", "8", ";", "i", "++", ")", "if", "(", "save_global_or_fp_reg_p", "(", "i", ",", "0", ")", ")", "n_global_fp_regs", "+=", "2", ";", "else", "for", "(", "i", "=", "0", ";", "i", "<", "8", ";", "i", "+=", "2", ")", "if", "(", "save_global_or_fp_reg_p", "(", "i", ",", "0", ")", "||", "save_global_or_fp_reg_p", "(", "i", "+", "1", ",", "0", ")", ")", "n_global_fp_regs", "+=", "2", ";", "if", "(", "TARGET_FLAT", ")", "for", "(", "i", "=", "16", ";", "i", "<", "32", ";", "i", "++", ")", "if", "(", "save_local_or_in_reg_p", "(", "i", ",", "leaf_function", ")", ")", "{", "save_local_in_regs_p", "=", "true", ";", "break", ";", "}", "for", "(", "i", "=", "32", ";", "i", "<", "(", "TARGET_V9", "?", "96", ":", "64", ")", ";", "i", "+=", "2", ")", "if", "(", "save_global_or_fp_reg_p", "(", "i", ",", "0", ")", "||", "save_global_or_fp_reg_p", "(", "i", "+", "1", ",", "0", ")", ")", "n_global_fp_regs", "+=", "2", ";", "if", "(", "size", "==", "0", "&&", "n_global_fp_regs", "==", "0", "&&", "args_size", "==", "0", "&&", "!", "save_local_in_regs_p", ")", "frame_size", "=", "apparent_frame_size", "=", "0", ";", "else", "{", "apparent_frame_size", "=", "(", "size", "-", "STARTING_FRAME_OFFSET", "+", "7", ")", "&", "-", "8", ";", "apparent_frame_size", "+=", "n_global_fp_regs", "*", "4", ";", "frame_size", "=", "apparent_frame_size", "+", "(", "(", "args_size", "+", "7", ")", "&", "-", "8", ")", ";", "frame_size", "+=", "FIRST_PARM_OFFSET", "(", "cfun", "->", "decl", ")", ";", "frame_size", "=", "SPARC_STACK_ALIGN", "(", "frame_size", ")", ";", "}", "sparc_frame_size", "=", "frame_size", ";", "sparc_apparent_frame_size", "=", "apparent_frame_size", ";", "sparc_n_global_fp_regs", "=", "n_global_fp_regs", ";", "sparc_save_local_in_regs_p", "=", "save_local_in_regs_p", ";", "return", "frame_size", ";", "}", ""], "natrual_language": ["Compute", "the", "frame", "size", "required", "by", "the", "function", ".", "This", "function", "is", "called", "during", "the", "reload", "pass", "and", "also", "by", "sparc_expand_prologue", "."], "TS_V_token": ["sparc", "0", "0", "0", "8", "0", "2", "0", "8", "2", "0", "1", "0", "2", "16", "32", "32", "96", "64", "2", "0", "1", "0", "2", "0", "0", "0", "0", "7", "8", "4", "7", "8"], "File": "sparc4", "Func": "sparc_compute_frame_size", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1283, "Length": 297, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "long", "arm_compute_save_reg_mask", "(", ")", "{", "unsigned", "int", "save_reg_mask", "=", "0", ";", "unsigned", "long", "func_type", "=", "arm_current_func_type", "(", ")", ";", "if", "(", "IS_NAKED", "(", "func_type", ")", ")", "return", "0", ";", "if", "(", "frame_pointer_needed", ")", "save_reg_mask", "|=", "(", "1", "<<", "ARM_HARD_FRAME_POINTER_REGNUM", ")", "|", "(", "1", "<<", "IP_REGNUM", ")", "|", "(", "1", "<<", "LR_REGNUM", ")", "|", "(", "1", "<<", "PC_REGNUM", ")", ";", "if", "(", "IS_VOLATILE", "(", "func_type", ")", ")", "return", "save_reg_mask", ";", "save_reg_mask", "|=", "arm_compute_save_reg0_reg12_mask", "(", ")", ";", "if", "(", "regs_ever_live", "[", "LR_REGNUM", "]", "||", "(", "save_reg_mask", "&&", "optimize_size", "&&", "ARM_FUNC_TYPE", "(", "func_type", ")", "==", "ARM_FT_NORMAL", ")", ")", "save_reg_mask", "|=", "1", "<<", "LR_REGNUM", ";", "if", "(", "cfun", "->", "machine", "->", "lr_save_eliminated", ")", "save_reg_mask", "&=", "~", "(", "1", "<<", "LR_REGNUM", ")", ";", "return", "save_reg_mask", ";", "}", ""], "natrual_language": ["Compute", "a", "bit", "mask", "of", "which", "registers", "need", "to", "be", "saved", "on", "the", "stack", "for", "the", "current", "function", ".", "This", "is", "used", "by", "arm_get_frame_offsets", ",", "which", "may", "add", "extra", "registers", "."], "TS_V_token": ["arm", "0", "0", "1", "1", "1", "1", "1", "1"], "File": "arm2", "Func": "arm_compute_save_reg_mask", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1284, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCDarwinAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "this", "->", "MF", "=", "&", "MF", ";", "SetupMachineFunction", "(", "MF", ")", ";", "O", "<<", "\"\\n\\n\"", ";", "EmitConstantPool", "(", "MF", ".", "getConstantPool", "(", ")", ")", ";", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "OutStreamer", ".", "SwitchSection", "(", "getObjFileLowering", "(", ")", ".", "SectionForGlobal", "(", "F", ",", "Mang", ",", "TM", ")", ")", ";", "switch", "(", "F", "->", "getLinkage", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown linkage type!\"", ")", ";", "case", "Function", "::", "PrivateLinkage", ":", "case", "Function", "::", "LinkerPrivateLinkage", ":", "case", "Function", "::", "InternalLinkage", ":", "break", ";", "case", "Function", "::", "ExternalLinkage", ":", "O", "<<", "\"\\t.globl\\t\"", "<<", "CurrentFnName", "<<", "'\\n'", ";", "break", ";", "case", "Function", "::", "WeakAnyLinkage", ":", "case", "Function", "::", "WeakODRLinkage", ":", "case", "Function", "::", "LinkOnceAnyLinkage", ":", "case", "Function", "::", "LinkOnceODRLinkage", ":", "O", "<<", "\"\\t.globl\\t\"", "<<", "CurrentFnName", "<<", "'\\n'", ";", "O", "<<", "\"\\t.weak_definition\\t\"", "<<", "CurrentFnName", "<<", "'\\n'", ";", "break", ";", "}", "printVisibility", "(", "CurrentFnName", ",", "F", "->", "getVisibility", "(", ")", ")", ";", "EmitAlignment", "(", "MF", ".", "getAlignment", "(", ")", ",", "F", ")", ";", "O", "<<", "CurrentFnName", "<<", "\":\\n\"", ";", "DW", "->", "BeginFunction", "(", "&", "MF", ")", ";", "MachineFunction", "::", "iterator", "I", "=", "MF", ".", "begin", "(", ")", ";", "if", "(", "++", "I", "==", "MF", ".", "end", "(", ")", "&&", "MF", ".", "front", "(", ")", ".", "empty", "(", ")", ")", "O", "<<", "\"\\tnop\\n\"", ";", "for", "(", "MachineFunction", "::", "const_iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "I", "!=", "MF", ".", "begin", "(", ")", ")", "{", "printBasicBlockLabel", "(", "I", ",", "true", ",", "true", ",", "VerboseAsm", ")", ";", "O", "<<", "'\\n'", ";", "}", "for", "(", "MachineBasicBlock", "::", "const_iterator", "II", "=", "I", "->", "begin", "(", ")", ",", "IE", "=", "I", "->", "end", "(", ")", ";", "II", "!=", "IE", ";", "++", "II", ")", "{", "printMachineInstruction", "(", "II", ")", ";", "}", "}", "EmitJumpTableInfo", "(", "MF", ".", "getJumpTableInfo", "(", ")", ",", "MF", ")", ";", "DW", "->", "EndFunction", "(", "&", "MF", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC", "PPC", "\"\\n\\n\"", "\"Unknown linkage type!\"", "\"\\t.globl\\t\"", "\"\\t.globl\\t\"", "\"\\t.weak_definition\\t\"", "\":\\n\"", "\"\\tnop\\n\""], "File": "PPCAsmPrinter18", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1285, "Length": 338, "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", "{", "Value", "=", "adjustFixupValue", "(", "Fixup", ".", "getKind", "(", ")", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittleEndian", "?", "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", "1", "8", "0xff"], "File": "PPCAsmBackend13", "Func": "applyFixup", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1286, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "bool", "isFPImm", "(", "const", "APFloat", "&", "Val", ")", "{", "uint32_t", "Imm8", ";", "return", "isFPImm", "(", "Val", ",", "Imm8", ")", ";", "}", ""], "natrual_language": ["isFPImm", "-", "Tests", "if", "this", "is", "a", "MO_FPImmediate", "operand", "."], "TS_V_token": ["AArch64"], "File": "AArch64BaseInfo11", "Func": "isFPImm", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1287, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "i386_pe_determine_dllexport_p", "(", "tree", "decl", ")", "{", "if", "(", "TREE_CODE", "(", "decl", ")", "!=", "VAR_DECL", "&&", "TREE_CODE", "(", "decl", ")", "!=", "FUNCTION_DECL", ")", "return", "false", ";", "if", "(", "!", "TREE_PUBLIC", "(", "decl", ")", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", "&&", "DECL_DECLARED_INLINE_P", "(", "decl", ")", "&&", "!", "flag_keep_inline_dllexport", ")", "return", "false", ";", "if", "(", "lookup_attribute", "(", "\"dllexport\"", ",", "DECL_ATTRIBUTES", "(", "decl", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "DECL", "should", "be", "a", "dllexport", "'d", "object", "."], "TS_V_token": ["i386", "\"dllexport\""], "File": "winnt", "Func": "i386_pe_determine_dllexport_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1288, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Relocator", "::", "Result", "none", "(", "Relocation", "&", "pReloc", ",", "X86_64Relocator", "&", "pParent", ")", "{", "return", "Relocator", "::", "OK", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "none", "of", "the", "bits", "are", "set", "."], "TS_V_token": ["X86", "X86"], "File": "X86Relocator", "Func": "none", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1289, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "long", "arm_compute_save_reg_mask", "(", "void", ")", "{", "unsigned", "int", "save_reg_mask", "=", "0", ";", "unsigned", "long", "func_type", "=", "arm_current_func_type", "(", ")", ";", "if", "(", "IS_NAKED", "(", "func_type", ")", ")", "return", "0", ";", "if", "(", "frame_pointer_needed", ")", "save_reg_mask", "|=", "(", "1", "<<", "ARM_HARD_FRAME_POINTER_REGNUM", ")", "|", "(", "1", "<<", "IP_REGNUM", ")", "|", "(", "1", "<<", "LR_REGNUM", ")", "|", "(", "1", "<<", "PC_REGNUM", ")", ";", "if", "(", "IS_VOLATILE", "(", "func_type", ")", ")", "return", "save_reg_mask", ";", "save_reg_mask", "|=", "arm_compute_save_reg0_reg12_mask", "(", ")", ";", "if", "(", "regs_ever_live", "[", "LR_REGNUM", "]", "||", "(", "save_reg_mask", "&&", "optimize_size", "&&", "ARM_FUNC_TYPE", "(", "func_type", ")", "==", "ARM_FT_NORMAL", "&&", "!", "current_function_calls_eh_return", ")", ")", "save_reg_mask", "|=", "1", "<<", "LR_REGNUM", ";", "if", "(", "cfun", "->", "machine", "->", "lr_save_eliminated", ")", "save_reg_mask", "&=", "~", "(", "1", "<<", "LR_REGNUM", ")", ";", "if", "(", "TARGET_REALLY_IWMMXT", "&&", "(", "(", "bit_count", "(", "save_reg_mask", ")", "+", "ARM_NUM_INTS", "(", "current_function_pretend_args_size", ")", ")", "%", "2", ")", "!=", "0", ")", "{", "unsigned", "int", "reg", ";", "for", "(", "reg", "=", "4", ";", "reg", "<=", "12", ";", "reg", "++", ")", "if", "(", "(", "save_reg_mask", "&", "(", "1", "<<", "reg", ")", ")", "==", "0", ")", "break", ";", "if", "(", "reg", "<=", "12", ")", "save_reg_mask", "|=", "(", "1", "<<", "reg", ")", ";", "else", "{", "cfun", "->", "machine", "->", "sibcall_blocked", "=", "1", ";", "save_reg_mask", "|=", "(", "1", "<<", "3", ")", ";", "}", "}", "return", "save_reg_mask", ";", "}", ""], "natrual_language": ["Compute", "a", "bit", "mask", "of", "which", "registers", "need", "to", "be", "saved", "on", "the", "stack", "for", "the", "current", "function", ".", "This", "is", "used", "by", "arm_get_frame_offsets", ",", "which", "may", "add", "extra", "registers", "."], "TS_V_token": ["arm", "0", "0", "1", "1", "1", "1", "1", "1", "2", "0", "4", "12", "1", "0", "12", "1", "1", "1", "3"], "File": "arm3", "Func": "arm_compute_save_reg_mask", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1290, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "insertSelect", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "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)2", "Func": "insertSelect", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1291, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "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": "SparcAsmPrinter", "Func": "getPassName", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1292, "Length": 13, "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", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "Options", ")", ",", "JITInfo", "(", ")", ",", "InstrItins", "(", "Subtarget", ".", "getInstrItineraryData", "(", ")", ")", "{", "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": "ARMTargetMachine27", "Func": "ARMBaseTargetMachine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1293, "Length": 113, "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": 1294, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SparcTargetLowering", "::", "LowerCall", "(", "TargetLowering", "::", "CallLoweringInfo", "&", "CLI", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "if", "(", "Subtarget", "->", "is64Bit", "(", ")", ")", "return", "LowerCall_64", "(", "CLI", ",", "InVals", ")", ";", "return", "LowerCall_32", "(", "CLI", ",", "InVals", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "calls", "into", "the", "specified", "DAG", "."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcISelLowering (2)2", "Func": "LowerCall", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1295, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "shouldSinkOperands", "(", "Instruction", "*", "I", ",", "SmallVectorImpl", "<", "Use", "*", ">", "&", "Ops", ")", "const", "{", "if", "(", "!", "I", "->", "getType", "(", ")", "->", "isVectorTy", "(", ")", ")", "return", "false", ";", "if", "(", "Subtarget", "->", "hasNEON", "(", ")", ")", "{", "switch", "(", "I", "->", "getOpcode", "(", ")", ")", "{", "case", "Instruction", "::", "Sub", ":", "case", "Instruction", "::", "Add", ":", "{", "if", "(", "!", "areExtractExts", "(", "I", "->", "getOperand", "(", "0", ")", ",", "I", "->", "getOperand", "(", "1", ")", ")", ")", "return", "false", ";", "Ops", ".", "push_back", "(", "&", "I", "->", "getOperandUse", "(", "0", ")", ")", ";", "Ops", ".", "push_back", "(", "&", "I", "->", "getOperandUse", "(", "1", ")", ")", ";", "return", "true", ";", "}", "default", ":", "return", "false", ";", "}", "}", "if", "(", "!", "Subtarget", "->", "hasMVEIntegerOps", "(", ")", ")", "return", "false", ";", "auto", "IsSinker", "=", "[", "]", "(", "Instruction", "*", "I", ",", "int", "Operand", ")", "{", "switch", "(", "I", "->", "getOpcode", "(", ")", ")", "{", "case", "Instruction", "::", "Add", ":", "case", "Instruction", "::", "Mul", ":", "return", "true", ";", "case", "Instruction", "::", "Sub", ":", "return", "Operand", "==", "1", ";", "default", ":", "return", "false", ";", "}", "}", ";", "int", "Op", "=", "0", ";", "if", "(", "!", "isa", "<", "ShuffleVectorInst", ">", "(", "I", "->", "getOperand", "(", "Op", ")", ")", ")", "Op", "=", "1", ";", "if", "(", "!", "IsSinker", "(", "I", ",", "Op", ")", ")", "return", "false", ";", "if", "(", "!", "match", "(", "I", "->", "getOperand", "(", "Op", ")", ",", "m_ShuffleVector", "(", "m_InsertElement", "(", "m_Undef", "(", ")", ",", "m_Value", "(", ")", ",", "m_ZeroInt", "(", ")", ")", ",", "m_Undef", "(", ")", ",", "m_Zero", "(", ")", ")", ")", ")", "{", "return", "false", ";", "}", "Instruction", "*", "Shuffle", "=", "cast", "<", "Instruction", ">", "(", "I", "->", "getOperand", "(", "Op", ")", ")", ";", "for", "(", "Use", "&", "U", ":", "Shuffle", "->", "uses", "(", ")", ")", "{", "Instruction", "*", "Insn", "=", "cast", "<", "Instruction", ">", "(", "U", ".", "getUser", "(", ")", ")", ";", "if", "(", "!", "IsSinker", "(", "Insn", ",", "U", ".", "getOperandNo", "(", ")", ")", ")", "return", "false", ";", "}", "Ops", ".", "push_back", "(", "&", "Shuffle", "->", "getOperandUse", "(", "0", ")", ")", ";", "Ops", ".", "push_back", "(", "&", "I", "->", "getOperandUse", "(", "Op", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "sinking", "I", "'s", "operands", "to", "the", "same", "basic", "block", "as", "I", "is", "profitable", ",", "e.g", "."], "TS_V_token": ["ARM", "ARM", "0", "1", "0", "1", "1", "0", "1", "0"], "File": "ARMISelLowering101", "Func": "shouldSinkOperands", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1296, "Length": 366, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "EmitInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "if", "(", "isIndirectJump", "(", "Inst", ")", ")", "{", "if", "(", "PendingCall", ")", "report_fatal_error", "(", "\"Dangerous instruction in branch delay slot!\"", ")", ";", "sandboxIndirectJump", "(", "Inst", ",", "STI", ")", ";", "return", ";", "}", "unsigned", "AddrIdx", ";", "bool", "IsStore", ";", "bool", "IsMemAccess", "=", "isBasePlusOffsetMemoryAccess", "(", "Inst", ".", "getOpcode", "(", ")", ",", "&", "AddrIdx", ",", "&", "IsStore", ")", ";", "bool", "IsSPFirstOperand", "=", "isStackPointerFirstOperand", "(", "Inst", ")", ";", "if", "(", "IsMemAccess", "||", "IsSPFirstOperand", ")", "{", "if", "(", "PendingCall", ")", "report_fatal_error", "(", "\"Dangerous instruction in branch delay slot!\"", ")", ";", "bool", "MaskBefore", "=", "(", "IsMemAccess", "&&", "baseRegNeedsLoadStoreMask", "(", "Inst", ".", "getOperand", "(", "AddrIdx", ")", ".", "getReg", "(", ")", ")", ")", ";", "bool", "MaskAfter", "=", "IsSPFirstOperand", "&&", "!", "IsStore", ";", "if", "(", "MaskBefore", "||", "MaskAfter", ")", "sandboxLoadStoreStackChange", "(", "Inst", ",", "AddrIdx", ",", "STI", ",", "MaskBefore", ",", "MaskAfter", ")", ";", "else", "MCELFStreamer", "::", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "return", ";", "}", "bool", "IsIndirectCall", ";", "if", "(", "isCall", "(", "Inst", ".", "getOpcode", "(", ")", ",", "&", "IsIndirectCall", ")", ")", "{", "if", "(", "PendingCall", ")", "report_fatal_error", "(", "\"Dangerous instruction in branch delay slot!\"", ")", ";", "EmitBundleLock", "(", "true", ")", ";", "if", "(", "IsIndirectCall", ")", "{", "unsigned", "TargetReg", "=", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "emitMask", "(", "TargetReg", ",", "IndirectBranchMaskReg", ",", "STI", ")", ";", "}", "MCELFStreamer", "::", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "PendingCall", "=", "true", ";", "return", ";", "}", "if", "(", "PendingCall", ")", "{", "MCELFStreamer", "::", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "EmitBundleUnlock", "(", ")", ";", "PendingCall", "=", "false", ";", "return", ";", "}", "MCELFStreamer", "::", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["Mips", "\"Dangerous instruction in branch delay slot!\"", "\"Dangerous instruction in branch delay slot!\"", "\"Dangerous instruction in branch delay slot!\"", "1"], "File": "MipsNaClELFStreamer5", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1297, "Length": 263, "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", "=", "Old", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "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", "(", ")", ";", "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", ")", ";", "}", "}", "}", "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", "0", "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": "ARMFrameLowering102", "Func": "eliminateCallFramePseudoInstr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1298, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_expand_sve_vec_cmp_int", "(", "rtx", "target", ",", "rtx_code", "code", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "machine_mode", "pred_mode", "=", "GET_MODE", "(", "target", ")", ";", "machine_mode", "data_mode", "=", "GET_MODE", "(", "op0", ")", ";", "rtx", "res", "=", "aarch64_sve_emit_int_cmp", "(", "target", ",", "pred_mode", ",", "code", ",", "data_mode", ",", "op0", ",", "op1", ")", ";", "if", "(", "!", "rtx_equal_p", "(", "target", ",", "res", ")", ")", "emit_move_insn", "(", "target", ",", "res", ")", ";", "}", ""], "natrual_language": ["Expand", "an", "SVE", "integer", "comparison", ":", "TARGET", "=", "CODE", "(", "OP0", ",", "OP1", ")", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_expand_sve_vec_cmp_int", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1299, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "compute_fp_layout", "(", "const_tree", "field", ",", "int", "bitpos", ",", "assign_data_t", "*", "data", ",", "int", "*", "pnregs", ",", "machine_mode", "*", "pmode", ")", "{", "const", "int", "this_slotno", "=", "data", "->", "slotno", "+", "bitpos", "/", "BITS_PER_WORD", ";", "machine_mode", "mode", "=", "DECL_MODE", "(", "field", ")", ";", "int", "nregs", ",", "nslots", ";", "if", "(", "VECTOR_TYPE_P", "(", "TREE_TYPE", "(", "field", ")", ")", "&&", "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", ";", "nslots", "=", "CEIL_NWORDS", "(", "nregs", "*", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "if", "(", "nslots", ">", "SPARC_FP_ARG_MAX", "-", "this_slotno", ")", "{", "nslots", "=", "SPARC_FP_ARG_MAX", "-", "this_slotno", ";", "nregs", "=", "(", "nslots", "*", "UNITS_PER_WORD", ")", "/", "GET_MODE_SIZE", "(", "mode", ")", ";", "data", "->", "stack", "=", "1", ";", "if", "(", "nregs", "<=", "0", ")", "return", "false", ";", "}", "*", "pnregs", "=", "nregs", ";", "*", "pmode", "=", "mode", ";", "return", "true", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "function_arg_record_value", ".", "Compute", "the", "number", "and", "the", "mode", "of", "the", "FP", "registers", "to", "be", "assigned", "for", "FIELD", ".", "Return", "true", "if", "at", "least", "one", "FP", "register", "is", "assigned", "or", "false", "otherwise", "."], "TS_V_token": ["sparc", "2", "1", "1", "0"], "File": "sparc", "Func": "compute_fp_layout", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1300, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "pure_scalable_type_info", "::", "num_pr", "(", ")", "const", "{", "unsigned", "int", "res", "=", "0", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "pieces", ".", "length", "(", ")", ";", "++", "i", ")", "res", "+=", "pieces", "[", "i", "]", ".", "num_pr", ";", "return", "res", ";", "}", ""], "natrual_language": ["Return", "the", "total", "number", "of", "predicate", "registers", "required", "by", "the", "PST", "."], "TS_V_token": ["aarch64", "0", "0"], "File": "aarch64", "Func": "num_pr", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1301, "Length": 47, "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": ["SystemZ"], "File": "SystemZMCAsmBackend", "Func": "mayNeedRelaxation", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1302, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc_expand_epilogue", "(", "bool", "for_eh", ")", "{", "HOST_WIDE_INT", "size", "=", "sparc_frame_size", ";", "if", "(", "cfun", "->", "calls_alloca", ")", "emit_insn", "(", "gen_frame_blockage", "(", ")", ")", ";", "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": "sparc", "Func": "sparc_expand_epilogue", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1303, "Length": 140, "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", "::", "LDXri", "||", "MI", "->", "getOpcode", "(", ")", "==", "SP", "::", "LDFri", "||", "MI", "->", "getOpcode", "(", ")", "==", "SP", "::", "LDDFri", "||", "MI", "->", "getOpcode", "(", ")", "==", "SP", "::", "LDQFri", ")", "{", "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::LDXri", "SP::LDFri", "SP::LDDFri", "SP::LDQFri", "1", "2", "2", "0", "1", "0", "0"], "File": "SparcInstrInfo", "Func": "isLoadFromStackSlot", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1304, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64MCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "return", "Ctx", ".", "getRegisterInfo", "(", ")", ".", "getEncodingValue", "(", "MO", ".", "getReg", "(", ")", ")", ";", "}", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "}", "llvm_unreachable", "(", "\"Unable to encode MCOperand!\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["AArch64", "AArch64", "\"Unable to encode MCOperand!\"", "0"], "File": "AArch64MCCodeEmitter22", "Func": "getMachineOpValue", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1305, "Length": 83, "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": 1306, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PadShortFunc", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "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": "X86PadShortFunction11", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1307, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "DestSourcePair", ">", "MipsSEInstrInfo", "::", "isCopyInstrImpl", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "bool", "isDSPControlWrite", "=", "false", ";", "if", "(", "isReadOrWriteToDSPReg", "(", "MI", ",", "isDSPControlWrite", ")", ")", "{", "if", "(", "!", "MI", ".", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", "||", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "!=", "(", "1", "<<", "4", ")", ")", "return", "None", ";", "else", "if", "(", "isDSPControlWrite", ")", "{", "return", "DestSourcePair", "{", "MI", ".", "getOperand", "(", "2", ")", ",", "MI", ".", "getOperand", "(", "0", ")", "}", ";", "}", "else", "{", "return", "DestSourcePair", "{", "MI", ".", "getOperand", "(", "0", ")", ",", "MI", ".", "getOperand", "(", "2", ")", "}", ";", "}", "}", "else", "if", "(", "MI", ".", "isMoveReg", "(", ")", "||", "isORCopyInst", "(", "MI", ")", ")", "{", "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": ["Mips", "Mips", "1", "1", "1", "4", "2", "0", "0", "2", "0", "1"], "File": "MipsSEInstrInfo23", "Func": "isCopyInstrImpl", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1308, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "CAHP", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["CAHP", "CAHP::NumTargetFixupKinds"], "File": "CAHPAsmBackend", "Func": "getNumFixupKinds", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1309, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CCAssignFn", "*", "ARMTargetLowering", "::", "CCAssignFnForReturn", "(", "CallingConv", "::", "ID", "CC", ",", "bool", "isVarArg", ")", "const", "{", "return", "CCAssignFnForNode", "(", "CC", ",", "true", ",", "isVarArg", ")", ";", "}", ""], "natrual_language": ["Selects", "the", "correct", "CCAssignFn", "for", "a", "given", "CallingConvention", "value", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMISelLowering (2)5", "Func": "CCAssignFnForReturn", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1310, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isCheapToSpeculateCtlz", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "cheap", "to", "speculate", "a", "call", "to", "intrinsic", "ctlz", "."], "TS_V_token": ["SystemZ"], "File": "SystemZISelLowering18", "Func": "isCheapToSpeculateCtlz", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1311, "Length": 11, "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", "->", "hasSuperClassEq", "(", "&", "ARM", "::", "tGPRRegClass", ")", "||", "(", "Register", "::", "isPhysicalRegister", "(", "DestReg", ")", "&&", "isARMLowRegister", "(", "DestReg", ")", ")", ")", "&&", "\"Unknown regclass!\"", ")", ";", "if", "(", "RC", "->", "hasSuperClassEq", "(", "&", "ARM", "::", "tGPRRegClass", ")", "||", "(", "Register", "::", "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", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tLDRspi", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "}", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM::tGPRRegClass", "ARM", "\"Unknown regclass!\"", "ARM::tGPRRegClass", "ARM", "ARM::tLDRspi", "0", "ARMCC::AL"], "File": "Thumb1InstrInfo25", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1312, "Length": 213, "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": 1313, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FastISel", "::", "isTypeLegal", "(", "Type", "*", "Ty", ",", "MVT", "&", "VT", ",", "bool", "AllowI1", ")", "{", "EVT", "evt", "=", "TLI", ".", "getValueType", "(", "DL", ",", "Ty", ",", "true", ")", ";", "if", "(", "evt", "==", "MVT", "::", "Other", "||", "!", "evt", ".", "isSimple", "(", ")", ")", "return", "false", ";", "VT", "=", "evt", ".", "getSimpleVT", "(", ")", ";", "if", "(", "VT", "==", "MVT", "::", "f64", "&&", "!", "X86ScalarSSEf64", ")", "return", "false", ";", "if", "(", "VT", "==", "MVT", "::", "f32", "&&", "!", "X86ScalarSSEf32", ")", "return", "false", ";", "if", "(", "VT", "==", "MVT", "::", "f80", ")", "return", "false", ";", "return", "(", "AllowI1", "&&", "VT", "==", "MVT", "::", "i1", ")", "||", "TLI", ".", "isTypeLegal", "(", "VT", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "type", "is", "legal", "."], "TS_V_token": ["X86", "X86", "MVT::Other", "MVT::f64", "X86", "MVT::f32", "X86", "MVT::f80", "MVT::i1"], "File": "X86FastISel (2)4", "Func": "isTypeLegal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1314, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_pass_by_reference", "(", "cumulative_args_t", ",", "const", "function_arg_info", "&", "arg", ")", "{", "if", "(", "mips_abi", "==", "ABI_EABI", ")", "{", "int", "size", ";", "if", "(", "arg", ".", "mode", "==", "DImode", "||", "arg", ".", "mode", "==", "DFmode", "||", "arg", ".", "mode", "==", "DQmode", "||", "arg", ".", "mode", "==", "UDQmode", "||", "arg", ".", "mode", "==", "DAmode", "||", "arg", ".", "mode", "==", "UDAmode", ")", "return", "0", ";", "size", "=", "arg", ".", "type_size_in_bytes", "(", ")", ";", "return", "size", "==", "-", "1", "||", "size", ">", "UNITS_PER_WORD", ";", "}", "else", "{", "return", "targetm", ".", "calls", ".", "must_pass_in_stack", "(", "arg", ")", ";", "}", "}", ""], "natrual_language": ["Return", "nonzero", "when", "an", "argument", "must", "be", "passed", "by", "reference", "."], "TS_V_token": ["mips", "0", "1"], "File": "mips", "Func": "mips_pass_by_reference", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1315, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createARMLoadStoreOptimizationPass", "(", "true", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "getARMSubtarget", "(", ")", ".", "isCortexA9", "(", ")", ")", "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"], "File": "ARMTargetMachine35", "Func": "addPreRegAlloc", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1316, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_emit_madd", "(", "rtx", "target", ",", "rtx", "m1", ",", "rtx", "m2", ",", "rtx", "a", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "target", ")", ";", "rtx", "dst", ";", "dst", "=", "expand_ternary_op", "(", "mode", ",", "fma_optab", ",", "m1", ",", "m2", ",", "a", ",", "target", ",", "0", ")", ";", "gcc_assert", "(", "dst", "!=", "NULL", ")", ";", "if", "(", "dst", "!=", "target", ")", "emit_move_insn", "(", "target", ",", "dst", ")", ";", "}", ""], "natrual_language": ["Generate", "an", "FMA", "instruction", "."], "TS_V_token": ["powerpcspe", "0"], "File": "powerpcspe", "Func": "rs6000_emit_madd", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1317, "Length": 68, "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", ">", "&", "OutVals", ",", "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", "=", "OutVals", "[", "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", ")", ";", "return", "DAG", ".", "getNode", "(", "Cpu0ISD", "::", "Ret", ",", "DL", ",", "MVT", "::", "Other", ",", "Chain", ",", "DAG", ".", "getRegister", "(", "Cpu0", "::", "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": ["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", "Cpu0ISD::Ret", "MVT::Other", "Cpu0::LR", "MVT::i32"], "File": "Cpu0ISelLowering", "Func": "LowerReturn", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1318, "Length": 474, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LEGAsmPrinter", "::", "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": ["LEG", "LEG"], "File": "LEGAsmPrinter2", "Func": "EmitInstruction", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1319, "Length": 31, "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": ["PowerPC"], "File": "PPCSubtarget12", "Func": "getStackAlignment", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1320, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "evaluateBranch", "(", "const", "MCInst", "&", "Inst", ",", "uint64_t", "Addr", ",", "uint64_t", "Size", ",", "uint64_t", "&", "Target", ")", "const", "{", "unsigned", "LblOperand", "=", "Inst", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "Bcc", "?", "1", ":", "0", ";", "if", "(", "Info", "->", "get", "(", "Inst", ".", "getOpcode", "(", ")", ")", ".", "OpInfo", "[", "LblOperand", "]", ".", "OperandType", "!=", "MCOI", "::", "OPERAND_PCREL", ")", "return", "false", ";", "int64_t", "Imm", "=", "Inst", ".", "getOperand", "(", "LblOperand", ")", ".", "getImm", "(", ")", ";", "Target", "=", "Addr", "+", "Imm", ";", "return", "true", ";", "}", ""], "natrual_language": ["Given", "a", "branch", "instruction", "try", "to", "get", "the", "address", "the", "branch", "targets", "."], "TS_V_token": ["AArch64", "AArch64::Bcc", "1", "0"], "File": "AArch64MCTargetDesc18", "Func": "evaluateBranch", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1321, "Length": 88, "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", "(", "(", "VT", "==", "MVT", "::", "v8i16", "||", "VT", "==", "MVT", "::", "v8f16", "||", "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::v8f16", "MVT::v16i8"], "File": "ARMISelLowering (2)5", "Func": "isShuffleMaskLegal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1322, "Length": 368, "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": ["rs6000", "2", "0", "1"], "File": "rs60004", "Func": "rs6000_scale_v2df", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1323, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "store_reg_modify", "(", "int", "base", ",", "int", "reg", ",", "HOST_WIDE_INT", "mod", ")", "{", "rtx", "basereg", ",", "srcreg", ",", "delta", ";", "rtx_insn", "*", "insn", ";", "gcc_assert", "(", "VAL_14_BITS_P", "(", "mod", ")", ")", ";", "basereg", "=", "gen_rtx_REG", "(", "Pmode", ",", "base", ")", ";", "srcreg", "=", "gen_rtx_REG", "(", "word_mode", ",", "reg", ")", ";", "delta", "=", "GEN_INT", "(", "mod", ")", ";", "insn", "=", "emit_insn", "(", "gen_post_store", "(", "basereg", ",", "srcreg", ",", "delta", ")", ")", ";", "if", "(", "DO_FRAME_NOTES", ")", "{", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "RTX_FRAME_RELATED_P", "(", "XVECEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ",", "0", ")", ")", "=", "1", ";", "RTX_FRAME_RELATED_P", "(", "XVECEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ",", "1", ")", ")", "=", "1", ";", "}", "}", ""], "natrual_language": ["Emit", "RTL", "to", "store", "REG", "at", "the", "memory", "location", "specified", "by", "BASE", "and", "then", "add", "MOD", "to", "BASE", ".", "MOD", "must", "be", "<", "=", "8k", "."], "TS_V_token": ["pa", "1", "0", "0", "1", "0", "1", "1"], "File": "pa", "Func": "store_reg_modify", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1324, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86FrameLowering", "::", "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", "(", "(", "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", "::", "LEA32r", "||", "Opc", "==", "X86", "::", "LEA64_32r", ")", "&&", "PI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "StackPtr", ")", "{", "Offset", "+=", "PI", "->", "getOperand", "(", "4", ")", ".", "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", "X86", "0", "0", "X86::ADD64ri32", "X86::ADD64ri8", "X86::ADD32ri", "X86::ADD32ri8", "0", "2", "X86::LEA32r", "X86::LEA64_32r", "0", "4", "X86::SUB64ri32", "X86::SUB64ri8", "X86::SUB32ri", "X86::SUB32ri8", "0", "2"], "File": "X86FrameLowering14", "Func": "mergeSPUpdates", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1325, "Length": 306, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "switch", "(", "Kind", ")", "{", "case", "k_Immediate", ":", "OS", "<<", "\"Imm<\"", ";", "OS", "<<", "*", "Imm", ".", "Val", ";", "OS", "<<", "\">\"", ";", "break", ";", "case", "k_Memory", ":", "OS", "<<", "\"Mem<\"", ";", "Mem", ".", "Base", "->", "print", "(", "OS", ")", ";", "OS", "<<", "\", \"", ";", "OS", "<<", "*", "Mem", ".", "Off", ";", "OS", "<<", "\">\"", ";", "break", ";", "case", "k_RegisterIndex", ":", "OS", "<<", "\"RegIdx<\"", "<<", "RegIdx", ".", "Index", "<<", "\":\"", "<<", "RegIdx", ".", "Kind", "<<", "\", \"", "<<", "StringRef", "(", "RegIdx", ".", "Tok", ".", "Data", ",", "RegIdx", ".", "Tok", ".", "Length", ")", "<<", "\">\"", ";", "break", ";", "case", "k_Token", ":", "OS", "<<", "getToken", "(", ")", ";", "break", ";", "case", "k_RegList", ":", "OS", "<<", "\"RegList< \"", ";", "for", "(", "auto", "Reg", ":", "(", "*", "RegList", ".", "List", ")", ")", "OS", "<<", "Reg", "<<", "\" \"", ";", "OS", "<<", "\">\"", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["Mips", "\"Imm<\"", "\">\"", "\"Mem<\"", "\", \"", "\">\"", "\"RegIdx<\"", "\":\"", "\", \"", "\">\"", "\"RegList< \"", "\" \"", "\">\""], "File": "MipsAsmParser (2)4", "Func": "print", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1326, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseTargetMachine", "::", "addPreSched2", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "!", "Subtarget", ".", "isThumb1Only", "(", ")", ")", "PM", ".", "add", "(", "createARMLoadStoreOptimizationPass", "(", ")", ")", ";", "PM", ".", "add", "(", "createARMExpandPseudoPass", "(", ")", ")", ";", "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"], "File": "ARMTargetMachine91", "Func": "addPreSched2", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1327, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_vector_init", "(", "bool", "mmx_ok", ",", "rtx", "target", ",", "rtx", "vals", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "target", ")", ";", "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", "(", "!", "(", "CONST_SCALAR_INT_P", "(", "x", ")", "||", "CONST_DOUBLE_P", "(", "x", ")", "||", "CONST_FIXED_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", "&&", "ix86_expand_vector_init_one_nonzero", "(", "mmx_ok", ",", "mode", ",", "target", ",", "XVECEXP", "(", "vals", ",", "0", ",", "one_var", ")", ",", "one_var", ")", ")", "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"], "File": "i3865", "Func": "ix86_expand_vector_init", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1328, "Length": 268, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_expand_ins_as_unaligned_store", "(", "rtx", "dest", ",", "rtx", "src", ",", "HOST_WIDE_INT", "width", ",", "HOST_WIDE_INT", "bitpos", ")", "{", "rtx", "left", ",", "right", ";", "machine_mode", "mode", ";", "if", "(", "!", "mips_get_unaligned_mem", "(", "dest", ",", "width", ",", "bitpos", ",", "&", "left", ",", "&", "right", ")", ")", "return", "false", ";", "mode", "=", "int_mode_for_size", "(", "width", ",", "0", ")", ".", "require", "(", ")", ";", "src", "=", "gen_lowpart", "(", "mode", ",", "src", ")", ";", "if", "(", "mode", "==", "DImode", ")", "{", "emit_insn", "(", "gen_mov_sdl", "(", "dest", ",", "src", ",", "left", ")", ")", ";", "emit_insn", "(", "gen_mov_sdr", "(", "copy_rtx", "(", "dest", ")", ",", "copy_rtx", "(", "src", ")", ",", "right", ")", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_mov_swl", "(", "dest", ",", "src", ",", "left", ")", ")", ";", "emit_insn", "(", "gen_mov_swr", "(", "copy_rtx", "(", "dest", ")", ",", "copy_rtx", "(", "src", ")", ",", "right", ")", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Try", "to", "use", "left/right", "stores", "to", "expand", "an", "``", "ins", "''", "pattern", ".", "DEST", ",", "WIDTH", ",", "BITPOS", "and", "SRC", "are", "the", "operands", "passed", "to", "the", "expander", ";", "the", "operation", "is", "the", "equivalent", "of", ":", "(", "set", "(", "zero_extract", "DEST", "WIDTH", "BITPOS", ")", "SRC", ")", "Return", "true", "on", "success", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips_expand_ins_as_unaligned_store", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1329, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86Subtarget", "::", "X86Subtarget", "(", "const", "Triple", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "const", "X86TargetMachine", "&", "TM", ",", "unsigned", "StackAlignOverride", ")", ":", "X86GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "X86ProcFamily", "(", "Others", ")", ",", "PICStyle", "(", "PICStyles", "::", "None", ")", ",", "TargetTriple", "(", "TT", ")", ",", "StackAlignOverride", "(", "StackAlignOverride", ")", ",", "In64BitMode", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", ",", "In32BitMode", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "x86", "&&", "TargetTriple", ".", "getEnvironment", "(", ")", "!=", "Triple", "::", "CODE16", ")", ",", "In16BitMode", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "x86", "&&", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "CODE16", ")", ",", "TSInfo", "(", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ")", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", ",", "FrameLowering", "(", "*", "this", ",", "getStackAlignment", "(", ")", ")", "{", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", "{", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "is64Bit", "(", ")", ")", "{", "setPICStyle", "(", "PICStyles", "::", "RIPRel", ")", ";", "}", "else", "if", "(", "isTargetCOFF", "(", ")", ")", "{", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "setPICStyle", "(", "PICStyles", "::", "StubPIC", ")", ";", "else", "{", "assert", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "DynamicNoPIC", ")", ";", "setPICStyle", "(", "PICStyles", "::", "StubDynamicNoPIC", ")", ";", "}", "}", "else", "if", "(", "isTargetELF", "(", ")", ")", "{", "setPICStyle", "(", "PICStyles", "::", "GOT", ")", ";", "}", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86Subtarget (2)", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1330, "Length": 275, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_reorg", "(", "void", ")", "{", "compute_bb_for_insn", "(", ")", ";", "if", "(", "TARGET_SEH", "&&", "current_function_has_exception_handlers", "(", ")", ")", "ix86_seh_fixup_eh_fallthru", "(", ")", ";", "if", "(", "optimize", "&&", "optimize_function_for_speed_p", "(", "cfun", ")", ")", "{", "if", "(", "TARGET_SSE2", ")", "ix86_split_stlf_stall_load", "(", ")", ";", "if", "(", "TARGET_PAD_SHORT_FUNCTION", ")", "ix86_pad_short_function", "(", ")", ";", "else", "if", "(", "TARGET_PAD_RETURNS", ")", "ix86_pad_returns", "(", ")", ";", "if", "(", "TARGET_FOUR_JUMP_LIMIT", ")", "ix86_avoid_jump_mispredicts", "(", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "machine", "specific", "optimizations", ".", "We", "implement", "padding", "of", "returns", "for", "K8", "CPUs", "and", "pass", "to", "avoid", "4", "jumps", "in", "the", "single", "16", "byte", "window", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_reorg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1331, "Length": 68, "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", "=", "Triple", "(", "TM", ".", "getTargetTriple", "(", ")", ")", ".", "isOSDarwin", "(", ")", ";", "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", "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": "PPCMCInstLower21", "Func": "GetSymbolFromOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1332, "Length": 464, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SparcRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "FrameIndexValue", "*", "Value", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", "&&", "\"Unexpected\"", ")", ";", "unsigned", "i", "=", "0", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "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", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "int", "Offset", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FrameIndex", ")", "+", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "Offset", ">=", "-", "4096", "&&", "Offset", "<=", "4095", ")", "{", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "SP", "::", "I6", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", "else", "{", "unsigned", "OffHi", "=", "(", "unsigned", ")", "Offset", ">>", "10U", ";", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "SETHIi", ")", ",", "SP", "::", "G1", ")", ".", "addImm", "(", "OffHi", ")", ";", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "ADDrr", ")", ",", "SP", "::", "G1", ")", ".", "addReg", "(", "SP", "::", "G1", ")", ".", "addReg", "(", "SP", "::", "I6", ")", ";", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "SP", "::", "G1", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", "&", "(", "(", "1", "<<", "10", ")", "-", "1", ")", ")", ";", "}", "return", "0", ";", "}", ""], "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\"", "0", "\"Instr doesn't have FrameIndex operand!\"", "1", "4096", "4095", "SP::I6", "1", "10U", "SP::SETHIi", "SP::G1", "SP::ADDrr", "SP::G1", "SP::G1", "SP::I6", "SP::G1", "1", "1", "10", "1", "0"], "File": "SparcRegisterInfo3", "Func": "eliminateFrameIndex", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1333, "Length": 314, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "neg_const_double_rtx_ok_for_fpa", "(", "rtx", "x", ")", "{", "REAL_VALUE_TYPE", "r", ";", "int", "i", ";", "if", "(", "!", "fp_consts_inited", ")", "init_fp_table", "(", ")", ";", "REAL_VALUE_FROM_CONST_DOUBLE", "(", "r", ",", "x", ")", ";", "r", "=", "REAL_VALUE_NEGATE", "(", "r", ")", ";", "if", "(", "REAL_VALUE_MINUS_ZERO", "(", "r", ")", ")", "return", "0", ";", "for", "(", "i", "=", "0", ";", "i", "<", "8", ";", "i", "++", ")", "if", "(", "REAL_VALUES_EQUAL", "(", "r", ",", "values_fp", "[", "i", "]", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "rtx", "X", "is", "a", "valid", "immediate", "FPA", "constant", "."], "TS_V_token": ["arm", "0", "0", "8", "1", "0"], "File": "arm3", "Func": "neg_const_double_rtx_ok_for_fpa", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1334, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "swiftAsyncContextIsDynamicallySet", "(", ")", "const", "{", "const", "Triple", "&", "TT", "=", "getTargetTriple", "(", ")", ";", "unsigned", "Major", ",", "Minor", ",", "Micro", ";", "TT", ".", "getOSVersion", "(", "Major", ",", "Minor", ",", "Micro", ")", ";", "switch", "(", "TT", ".", "getOS", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Triple", "::", "IOS", ":", "case", "Triple", "::", "TvOS", ":", "return", "Major", "<", "15", ";", "case", "Triple", "::", "WatchOS", ":", "return", "Major", "<", "8", ";", "case", "Triple", "::", "MacOSX", ":", "case", "Triple", "::", "Darwin", ":", "return", "Major", "<", "12", ";", "}", "}", ""], "natrual_language": ["Return", "whether", "FrameLowering", "should", "always", "set", "the", "``", "extended", "frame", "present", "''", "bit", "in", "FP", ",", "or", "set", "it", "based", "on", "a", "symbol", "in", "the", "runtime", "."], "TS_V_token": ["AArch64", "15", "8", "12"], "File": "AArch64Subtarget (2)1", "Func": "swiftAsyncContextIsDynamicallySet", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1335, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "rs6000_fold_builtin", "(", "tree", "fndecl", "ATTRIBUTE_UNUSED", ",", "int", "n_args", "ATTRIBUTE_UNUSED", ",", "tree", "*", "args", "ATTRIBUTE_UNUSED", ",", "bool", "ignore", "ATTRIBUTE_UNUSED", ")", "{", "return", "SUBTARGET_FOLD_BUILTIN", "(", "fndecl", ",", "n_args", ",", "args", ",", "ignore", ")", ";", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "early", "folding", "of", "built-ins", ",", "shamelessly", "stolen", "from", "ia64.cc", "."], "TS_V_token": ["rs6000"], "File": "rs6000-builtin", "Func": "rs6000_fold_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1336, "Length": 37, "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": 1337, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_debug_reg_print", "(", "int", "first_regno", ",", "int", "last_regno", ",", "const", "char", "*", "reg_name", ")", "{", "int", "r", ",", "m", ";", "for", "(", "r", "=", "first_regno", ";", "r", "<=", "last_regno", ";", "++", "r", ")", "{", "const", "char", "*", "comma", "=", "\"\"", ";", "int", "len", ";", "if", "(", "first_regno", "==", "last_regno", ")", "fprintf", "(", "stderr", ",", "\"%s:\\t\"", ",", "reg_name", ")", ";", "else", "fprintf", "(", "stderr", ",", "\"%s%d:\\t\"", ",", "reg_name", ",", "r", "-", "first_regno", ")", ";", "len", "=", "8", ";", "for", "(", "m", "=", "0", ";", "m", "<", "NUM_MACHINE_MODES", ";", "++", "m", ")", "if", "(", "rs6000_hard_regno_mode_ok_p", "[", "m", "]", "[", "r", "]", "&&", "rs6000_hard_regno_nregs", "[", "m", "]", "[", "r", "]", ")", "{", "if", "(", "len", ">", "70", ")", "{", "fprintf", "(", "stderr", ",", "\",\\n\\t\"", ")", ";", "len", "=", "8", ";", "comma", "=", "\"\"", ";", "}", "if", "(", "rs6000_hard_regno_nregs", "[", "m", "]", "[", "r", "]", ">", "1", ")", "len", "+=", "fprintf", "(", "stderr", ",", "\"%s%s/%d\"", ",", "comma", ",", "GET_MODE_NAME", "(", "m", ")", ",", "rs6000_hard_regno_nregs", "[", "m", "]", "[", "r", "]", ")", ";", "else", "len", "+=", "fprintf", "(", "stderr", ",", "\"%s%s\"", ",", "comma", ",", "GET_MODE_NAME", "(", "m", ")", ")", ";", "comma", "=", "\", \"", ";", "}", "if", "(", "call_used_or_fixed_reg_p", "(", "r", ")", ")", "{", "if", "(", "len", ">", "70", ")", "{", "fprintf", "(", "stderr", ",", "\",\\n\\t\"", ")", ";", "len", "=", "8", ";", "comma", "=", "\"\"", ";", "}", "len", "+=", "fprintf", "(", "stderr", ",", "\"%s%s\"", ",", "comma", ",", "\"call-used\"", ")", ";", "comma", "=", "\", \"", ";", "}", "if", "(", "fixed_regs", "[", "r", "]", ")", "{", "if", "(", "len", ">", "70", ")", "{", "fprintf", "(", "stderr", ",", "\",\\n\\t\"", ")", ";", "len", "=", "8", ";", "comma", "=", "\"\"", ";", "}", "len", "+=", "fprintf", "(", "stderr", ",", "\"%s%s\"", ",", "comma", ",", "\"fixed\"", ")", ";", "comma", "=", "\", \"", ";", "}", "if", "(", "len", ">", "70", ")", "{", "fprintf", "(", "stderr", ",", "\",\\n\\t\"", ")", ";", "comma", "=", "\"\"", ";", "}", "len", "+=", "fprintf", "(", "stderr", ",", "\"%sreg-class = %s\"", ",", "comma", ",", "reg_class_names", "[", "(", "int", ")", "rs6000_regno_regclass", "[", "r", "]", "]", ")", ";", "comma", "=", "\", \"", ";", "if", "(", "len", ">", "70", ")", "{", "fprintf", "(", "stderr", ",", "\",\\n\\t\"", ")", ";", "comma", "=", "\"\"", ";", "}", "fprintf", "(", "stderr", ",", "\"%sregno = %d\\n\"", ",", "comma", ",", "r", ")", ";", "}", "}", ""], "natrual_language": ["Print", "interesting", "facts", "about", "registers", "."], "TS_V_token": ["rs6000", "\"\"", "\"%s:\\t\"", "\"%s%d:\\t\"", "8", "0", "70", "\",\\n\\t\"", "8", "\"\"", "1", "\"%s%s/%d\"", "\"%s%s\"", "\", \"", "70", "\",\\n\\t\"", "8", "\"\"", "\"%s%s\"", "\"call-used\"", "\", \"", "70", "\",\\n\\t\"", "8", "\"\"", "\"%s%s\"", "\"fixed\"", "\", \"", "70", "\",\\n\\t\"", "\"\"", "\"%sreg-class = %s\"", "\", \"", "70", "\",\\n\\t\"", "\"\"", "\"%sregno = %d\\n\""], "File": "rs6000", "Func": "rs6000_debug_reg_print", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1338, "Length": 366, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SICPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createSICISelDag", "(", "getSICTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["SIC", "SIC", "SIC", "SIC"], "File": "SICTargetMachine", "Func": "addInstSelector", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1339, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMConstantPoolValue", "::", "print", "(", "raw_ostream", "&", "O", ")", "const", "{", "if", "(", "CVal", ")", "O", "<<", "CVal", "->", "getName", "(", ")", ";", "else", "O", "<<", "S", ";", "if", "(", "Modifier", ")", "O", "<<", "\"(\"", "<<", "Modifier", "<<", "\")\"", ";", "if", "(", "PCAdjust", "!=", "0", ")", "{", "O", "<<", "\"-(LPC\"", "<<", "LabelId", "<<", "\"+\"", "<<", "(", "unsigned", ")", "PCAdjust", ";", "if", "(", "AddCurrentAddress", ")", "O", "<<", "\"-.\"", ";", "O", "<<", "\")\"", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["ARM", "ARM", "\"(\"", "\")\"", "0", "\"-(LPC\"", "\"+\"", "\"-.\"", "\")\""], "File": "ARMConstantPoolValue3", "Func": "print", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1340, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "ix86_libcall_value", "(", "machine_mode", "mode", ")", "{", "return", "ix86_function_value_1", "(", "NULL", ",", "NULL", ",", "mode", ",", "mode", ")", ";", "}", ""], "natrual_language": ["Define", "how", "to", "find", "the", "value", "returned", "by", "a", "library", "function", "assuming", "the", "value", "has", "mode", "MODE", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_libcall_value", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1341, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SystemZInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "return", "isSimpleMove", "(", "MI", ",", "FrameIndex", ",", "SystemZII", "::", "SimpleBDXLoad", ")", ";", "}", ""], "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": ["SystemZ", "SystemZ", "SystemZII::SimpleBDXLoad"], "File": "SystemZInstrInfo (2)2", "Func": "isLoadFromStackSlot", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1342, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "unique_ptr", "<", "PBQPRAConstraint", ">", "AArch64Subtarget", "::", "getCustomPBQPConstraints", "(", ")", "const", "{", "return", "balanceFPOps", "(", ")", "?", "llvm", "::", "make_unique", "<", "A57ChainingConstraint", ">", "(", ")", ":", "nullptr", ";", "}", ""], "natrual_language": ["Return", "PBQPConstraint", "(", "s", ")", "for", "the", "target", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64Subtarget10", "Func": "getCustomPBQPConstraints", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1343, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "&", "SrcReg", ",", "unsigned", "&", "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", "(", ")", ";", "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"], "File": "PPCInstrInfo (2)", "Func": "analyzeCompare", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1344, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "function_resolver", "::", "resolve_to", "(", "mode_suffix_index", "mode", ",", "type_suffix_index", "type0", ",", "type_suffix_index", "type1", ")", "{", "tree", "res", "=", "lookup_form", "(", "mode", ",", "type0", ",", "type1", ")", ";", "if", "(", "!", "res", ")", "{", "if", "(", "type1", "==", "NUM_TYPE_SUFFIXES", ")", "return", "report_no_such_form", "(", "type0", ")", ";", "if", "(", "type0", "==", "type_suffix_ids", "[", "0", "]", ")", "return", "report_no_such_form", "(", "type1", ")", ";", "gcc_unreachable", "(", ")", ";", "}", "return", "res", ";", "}", ""], "natrual_language": ["Resolve", "the", "function", "to", "one", "with", "the", "mode", "suffix", "given", "by", "MODE", "and", "the", "type", "suffixes", "given", "by", "TYPE0", "and", "TYPE1", ".", "Return", "its", "function", "decl", "on", "success", ",", "otherwise", "report", "an", "error", "and", "return", "error_mark_node", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64-sve-builtins", "Func": "resolve_to", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1345, "Length": 69, "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", ",", "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": "SparcAsmBackend10", "Func": "createObjectWriter", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1346, "Length": 34, "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", ">", "(", ")", ";", "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", "Mips16HardFloatInfo::FuncSignature", "Mips", "Mips", "Mips16HardFloatInfo::FuncSignature"], "File": "MipsAsmPrinter46", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1347, "Length": 176, "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": 1348, "Length": 55, "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", "(", ")", ";", "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": "MipsSEFrameLowering16", "Func": "spillCalleeSavedRegisters", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1349, "Length": 340, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TeeRISCFrameLowering", "::", "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": ["TeeRISC", "TeeRISC"], "File": "TeeRISCFrameLowering", "Func": "hasFP", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1350, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ThumbDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "const", "MemoryObject", "&", "Region", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "os", ")", "const", "{", "unsigned", "insn", "=", "0", ";", "uint16_t", "insn1", "=", "0", ";", "uint8_t", "bytes", "[", "2", "]", ";", "if", "(", "Region", ".", "readBytes", "(", "Address", ",", "2", ",", "(", "uint8_t", "*", ")", "bytes", ",", "NULL", ")", "==", "-", "1", ")", "return", "false", ";", "insn", "=", "(", "bytes", "[", "1", "]", "<<", "8", ")", "|", "bytes", "[", "0", "]", ";", "unsigned", "bits15_11", "=", "slice", "(", "insn", ",", "15", ",", "11", ")", ";", "bool", "IsThumb2", "=", "false", ";", "if", "(", "bits15_11", "==", "0x1D", "||", "bits15_11", "==", "0x1E", "||", "bits15_11", "==", "0x1F", ")", "{", "IsThumb2", "=", "true", ";", "if", "(", "Region", ".", "readBytes", "(", "Address", "+", "2", ",", "2", ",", "(", "uint8_t", "*", ")", "bytes", ",", "NULL", ")", "==", "-", "1", ")", "return", "false", ";", "insn1", "=", "(", "bytes", "[", "1", "]", "<<", "8", ")", "|", "bytes", "[", "0", "]", ";", "insn", "=", "(", "insn", "<<", "16", "|", "insn1", ")", ";", "}", "unsigned", "Opcode", "=", "decodeThumbSideEffect", "(", "IsThumb2", ",", "insn", ")", ";", "if", "(", "Thumb2PreloadOpcodeNoPCI", "(", "Opcode", ")", "&&", "slice", "(", "insn", ",", "19", ",", "16", ")", "==", "15", ")", "Opcode", "=", "T2Morph2Preload2PCI", "(", "Opcode", ")", ";", "ARMFormat", "Format", "=", "ARMFormats", "[", "Opcode", "]", ";", "Size", "=", "IsThumb2", "?", "4", ":", "2", ";", "DEBUG", "(", "{", "errs", "(", ")", "<<", "\"Opcode=\"", "<<", "Opcode", "<<", "\" Name=\"", "<<", "ARMUtils", "::", "OpcodeName", "(", "Opcode", ")", "<<", "\" Format=\"", "<<", "stringForARMFormat", "(", "Format", ")", "<<", "'('", "<<", "(", "int", ")", "Format", "<<", "\")\\n\"", ";", "showBitVector", "(", "errs", "(", ")", ",", "insn", ")", ";", "}", ")", ";", "ARMBasicMCBuilder", "*", "Builder", "=", "CreateMCBuilder", "(", "Opcode", ",", "Format", ")", ";", "if", "(", "!", "Builder", ")", "return", "false", ";", "Builder", "->", "SetSession", "(", "const_cast", "<", "Session", "*", ">", "(", "&", "SO", ")", ")", ";", "if", "(", "!", "Builder", "->", "Build", "(", "MI", ",", "insn", ")", ")", "return", "false", ";", "delete", "Builder", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["ARM", "0", "0", "2", "2", "1", "1", "8", "0", "15", "11", "0x1D", "0x1E", "0x1F", "2", "2", "1", "1", "8", "0", "16", "19", "16", "15", "ARM", "ARM", "4", "2", "\"Opcode=\"", "\" Name=\"", "ARMUtils::OpcodeName", "\" Format=\"", "ARM", "\")\\n\"", "ARM"], "File": "ARMDisassembler24", "Func": "getInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1351, "Length": 329, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "__inline__", "static", "float", "sh_media_FMAC_S", "(", "float", "fg", ",", "float", "fh", ",", "float", "fq", ")", "{", "float", "res", ";", "__asm__", "(", "\"fmac.s\t%1, %2, %0\"", ":", "\"=f\"", "(", "res", ")", ":", "\"f\"", "(", "fg", ")", ",", "\"f\"", "(", "fh", ")", ",", "\"0\"", "(", "fq", ")", ")", ";", "return", "res", ";", "}", ""], "natrual_language": ["This", "gives", "different", "results", "for", "-O0"], "TS_V_token": ["sh", "\"fmac.s\t%1, %2, %0\"", "\"=f\"", "\"f\"", "\"f\"", "\"0\""], "File": "ushmedia", "Func": "sh_media_FMAC_S", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1352, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "char", "ConstraintCode", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "assert", "(", "ConstraintCode", "==", "'m'", "&&", "\"Unexpected constraint code\"", ")", ";", "SDValue", "Base", ",", "Disp", ",", "Index", ";", "if", "(", "!", "selectBDXAddr", "(", "SystemZAddressingMode", "::", "FormBD", ",", "SystemZAddressingMode", "::", "Disp12Only", ",", "Op", ",", "Base", ",", "Disp", ",", "Index", ")", ")", "return", "true", ";", "OutOps", ".", "push_back", "(", "Base", ")", ";", "OutOps", ".", "push_back", "(", "Disp", ")", ";", "OutOps", ".", "push_back", "(", "Index", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"Unexpected constraint code\"", "SystemZAddressingMode::FormBD", "SystemZAddressingMode::Disp12Only"], "File": "SystemZISelDAGToDAG1", "Func": "SelectInlineAsmMemoryOperand", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1353, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMLoc", "getLoc", "(", ")", "const", "{", "return", "getParser", "(", ")", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "}", ""], "natrual_language": ["Get", "the", "source", "location", "of", "the", "point", "where", "the", "field", "was", "defined", "."], "TS_V_token": ["CSKY"], "File": "CSKYAsmParser", "Func": "getLoc", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1354, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_init_libfuncs", "(", "void", ")", "{", "set_optab_libfunc", "(", "sdiv_optab", ",", "SImode", ",", "\"__divsi3\"", ")", ";", "set_optab_libfunc", "(", "udiv_optab", ",", "SImode", ",", "\"__udivsi3\"", ")", ";", "set_optab_libfunc", "(", "smod_optab", ",", "SImode", ",", "\"__modsi3\"", ")", ";", "set_optab_libfunc", "(", "umod_optab", ",", "SImode", ",", "\"__umodsi3\"", ")", ";", "set_optab_libfunc", "(", "add_optab", ",", "TFmode", ",", "\"_U_Qfadd\"", ")", ";", "set_optab_libfunc", "(", "sub_optab", ",", "TFmode", ",", "\"_U_Qfsub\"", ")", ";", "set_optab_libfunc", "(", "smul_optab", ",", "TFmode", ",", "\"_U_Qfmpy\"", ")", ";", "set_optab_libfunc", "(", "sdiv_optab", ",", "TFmode", ",", "\"_U_Qfdiv\"", ")", ";", "set_optab_libfunc", "(", "neg_optab", ",", "TFmode", ",", "\"_U_Qfneg\"", ")", ";", "set_conv_libfunc", "(", "sext_optab", ",", "TFmode", ",", "SFmode", ",", "\"_U_Qfcnvff_sgl_to_quad\"", ")", ";", "set_conv_libfunc", "(", "sext_optab", ",", "TFmode", ",", "DFmode", ",", "\"_U_Qfcnvff_dbl_to_quad\"", ")", ";", "set_conv_libfunc", "(", "sext_optab", ",", "TFmode", ",", "XFmode", ",", "\"_U_Qfcnvff_f80_to_quad\"", ")", ";", "set_conv_libfunc", "(", "trunc_optab", ",", "SFmode", ",", "TFmode", ",", "\"_U_Qfcnvff_quad_to_sgl\"", ")", ";", "set_conv_libfunc", "(", "trunc_optab", ",", "DFmode", ",", "TFmode", ",", "\"_U_Qfcnvff_quad_to_dbl\"", ")", ";", "set_conv_libfunc", "(", "trunc_optab", ",", "XFmode", ",", "TFmode", ",", "\"_U_Qfcnvff_quad_to_f80\"", ")", ";", "set_conv_libfunc", "(", "sfix_optab", ",", "SImode", ",", "TFmode", ",", "\"_U_Qfcnvfxt_quad_to_sgl\"", ")", ";", "set_conv_libfunc", "(", "sfix_optab", ",", "DImode", ",", "TFmode", ",", "\"_U_Qfcnvfxt_quad_to_dbl\"", ")", ";", "set_conv_libfunc", "(", "sfix_optab", ",", "TImode", ",", "TFmode", ",", "\"_U_Qfcnvfxt_quad_to_quad\"", ")", ";", "set_conv_libfunc", "(", "ufix_optab", ",", "SImode", ",", "TFmode", ",", "\"_U_Qfcnvfxut_quad_to_sgl\"", ")", ";", "set_conv_libfunc", "(", "ufix_optab", ",", "DImode", ",", "TFmode", ",", "\"_U_Qfcnvfxut_quad_to_dbl\"", ")", ";", "set_conv_libfunc", "(", "sfloat_optab", ",", "TFmode", ",", "SImode", ",", "\"_U_Qfcnvxf_sgl_to_quad\"", ")", ";", "set_conv_libfunc", "(", "sfloat_optab", ",", "TFmode", ",", "DImode", ",", "\"_U_Qfcnvxf_dbl_to_quad\"", ")", ";", "set_conv_libfunc", "(", "sfloat_optab", ",", "TFmode", ",", "TImode", ",", "\"_U_Qfcnvxf_quad_to_quad\"", ")", ";", "set_conv_libfunc", "(", "ufloat_optab", ",", "TFmode", ",", "DImode", ",", "\"_U_Qfcnvxuf_dbl_to_quad\"", ")", ";", "}", ""], "natrual_language": ["Set", "SImode", "div/mod", "functions", ",", "init_integral_libfuncs", "only", "initializes", "modes", "of", "word_mode", "and", "larger", ".", "Rename", "the", "TFmode", "libfuncs", "using", "the", "HPUX", "conventions", ".", "__divtf3", "is", "used", "for", "XFmode", ".", "We", "need", "to", "keep", "it", "for", "backward", "compatibility", "."], "TS_V_token": ["ia64", "\"__divsi3\"", "\"__udivsi3\"", "\"__modsi3\"", "\"__umodsi3\"", "\"_U_Qfadd\"", "\"_U_Qfsub\"", "\"_U_Qfmpy\"", "\"_U_Qfdiv\"", "\"_U_Qfneg\"", "\"_U_Qfcnvff_sgl_to_quad\"", "\"_U_Qfcnvff_dbl_to_quad\"", "\"_U_Qfcnvff_f80_to_quad\"", "\"_U_Qfcnvff_quad_to_sgl\"", "\"_U_Qfcnvff_quad_to_dbl\"", "\"_U_Qfcnvff_quad_to_f80\"", "\"_U_Qfcnvfxt_quad_to_sgl\"", "\"_U_Qfcnvfxt_quad_to_dbl\"", "\"_U_Qfcnvfxt_quad_to_quad\"", "\"_U_Qfcnvfxut_quad_to_sgl\"", "\"_U_Qfcnvfxut_quad_to_dbl\"", "\"_U_Qfcnvxf_sgl_to_quad\"", "\"_U_Qfcnvxf_dbl_to_quad\"", "\"_U_Qfcnvxf_quad_to_quad\"", "\"_U_Qfcnvxuf_dbl_to_quad\""], "File": "ia64", "Func": "ia64_init_libfuncs", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1355, "Length": 254, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_handle_attr_isa_flags", "(", "char", "*", "str", ",", "const", "char", "*", "pragma_or_attr", ")", "{", "enum", "aarch64_parse_opt_result", "parse_res", ";", "unsigned", "long", "isa_flags", "=", "aarch64_isa_flags", ";", "if", "(", "strncmp", "(", "\"+nothing\"", ",", "str", ",", "8", ")", "==", "0", ")", "{", "isa_flags", "=", "0", ";", "str", "+=", "8", ";", "}", "parse_res", "=", "aarch64_parse_extension", "(", "str", ",", "&", "isa_flags", ")", ";", "if", "(", "parse_res", "==", "AARCH64_PARSE_OK", ")", "{", "aarch64_isa_flags", "=", "isa_flags", ";", "return", "true", ";", "}", "switch", "(", "parse_res", ")", "{", "case", "AARCH64_PARSE_MISSING_ARG", ":", "error", "(", "\"missing feature modifier in target %s %qs\"", ",", "pragma_or_attr", ",", "str", ")", ";", "break", ";", "case", "AARCH64_PARSE_INVALID_FEATURE", ":", "error", "(", "\"invalid feature modifier in target %s %qs\"", ",", "pragma_or_attr", ",", "str", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Parse", "an", "architecture", "extensions", "target", "attribute", "string", "specified", "in", "STR", ".", "For", "example", "``", "+fp+nosimd", "''", ".", "Show", "any", "errors", "if", "needed", ".", "Return", "TRUE", "if", "successful", ".", "Update", "aarch64_isa_flags", "to", "reflect", "the", "ISA", "features", "modified", ".", "PRAGMA_OR_ATTR", "is", "used", "in", "potential", "error", "messages", "."], "TS_V_token": ["aarch64", "\"+nothing\"", "8", "0", "0", "8", "\"missing feature modifier in target %s %qs\"", "\"invalid feature modifier in target %s %qs\""], "File": "aarch643", "Func": "aarch64_handle_attr_isa_flags", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1356, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "machine_mode", "rs6000_promote_function_mode", "(", "const_tree", "type", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ",", "int", "*", "punsignedp", "ATTRIBUTE_UNUSED", ",", "const_tree", ",", "int", "for_return", "ATTRIBUTE_UNUSED", ")", "{", "PROMOTE_MODE", "(", "mode", ",", "*", "punsignedp", ",", "type", ")", ";", "return", "mode", ";", "}", ""], "natrual_language": ["On", "rs6000", ",", "function", "arguments", "are", "promoted", ",", "as", "are", "function", "return", "values", "."], "TS_V_token": ["rs6000"], "File": "rs6000-call1", "Func": "rs6000_promote_function_mode", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1357, "Length": 36, "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": 1358, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FastTileConfig", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MFunc", ")", "{", "MF", "=", "&", "MFunc", ";", "MRI", "=", "&", "MFunc", ".", "getRegInfo", "(", ")", ";", "const", "TargetSubtargetInfo", "*", "ST", "=", "&", "MFunc", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "TRI", "=", "ST", "->", "getRegisterInfo", "(", ")", ";", "TII", "=", "MFunc", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "X86FI", "=", "MFunc", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "bool", "Change", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MFunc", ")", "Change", "|=", "configBasicBlock", "(", "MBB", ")", ";", "return", "Change", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86"], "File": "X86FastTileConfig4", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1359, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GeneralShuffle", "::", "add", "(", "SDValue", "Op", ",", "unsigned", "Elem", ")", "{", "unsigned", "BytesPerElement", "=", "VT", ".", "getVectorElementType", "(", ")", ".", "getStoreSize", "(", ")", ";", "EVT", "FromVT", "=", "Op", ".", "getNode", "(", ")", "?", "Op", ".", "getValueType", "(", ")", ":", "VT", ";", "unsigned", "FromBytesPerElement", "=", "FromVT", ".", "getVectorElementType", "(", ")", ".", "getStoreSize", "(", ")", ";", "assert", "(", "FromBytesPerElement", ">=", "BytesPerElement", "&&", "\"Invalid EXTRACT_VECTOR_ELT\"", ")", ";", "unsigned", "Byte", "=", "(", "(", "Elem", "*", "FromBytesPerElement", ")", "%", "SystemZ", "::", "VectorBytes", "+", "(", "FromBytesPerElement", "-", "BytesPerElement", ")", ")", ";", "while", "(", "Op", ".", "getNode", "(", ")", ")", "{", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "ISD", "::", "BITCAST", ")", "Op", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "else", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "ISD", "::", "VECTOR_SHUFFLE", "&&", "Op", ".", "hasOneUse", "(", ")", ")", "{", "SmallVector", "<", "int", ",", "SystemZ", "::", "VectorBytes", ">", "OpBytes", ";", "getVPermMask", "(", "cast", "<", "ShuffleVectorSDNode", ">", "(", "Op", ")", ",", "OpBytes", ")", ";", "int", "NewByte", ";", "if", "(", "!", "getShuffleInput", "(", "OpBytes", ",", "Byte", ",", "BytesPerElement", ",", "NewByte", ")", ")", "break", ";", "if", "(", "NewByte", "<", "0", ")", "{", "addUndef", "(", ")", ";", "return", ";", "}", "Op", "=", "Op", ".", "getOperand", "(", "unsigned", "(", "NewByte", ")", "/", "SystemZ", "::", "VectorBytes", ")", ";", "Byte", "=", "unsigned", "(", "NewByte", ")", "%", "SystemZ", "::", "VectorBytes", ";", "}", "else", "if", "(", "Op", ".", "isUndef", "(", ")", ")", "{", "addUndef", "(", ")", ";", "return", ";", "}", "else", "break", ";", "}", "unsigned", "OpNo", "=", "0", ";", "for", "(", ";", "OpNo", "<", "Ops", ".", "size", "(", ")", ";", "++", "OpNo", ")", "if", "(", "Ops", "[", "OpNo", "]", "==", "Op", ")", "break", ";", "if", "(", "OpNo", "==", "Ops", ".", "size", "(", ")", ")", "Ops", ".", "push_back", "(", "Op", ")", ";", "unsigned", "Base", "=", "OpNo", "*", "SystemZ", "::", "VectorBytes", "+", "Byte", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "BytesPerElement", ";", "++", "I", ")", "Bytes", ".", "push_back", "(", "Base", "+", "I", ")", ";", "}", ""], "natrual_language": ["Add", "a", "string", "to", "the", "builder", "."], "TS_V_token": ["SystemZ", "\"Invalid EXTRACT_VECTOR_ELT\"", "SystemZ::VectorBytes", "ISD::BITCAST", "0", "ISD::VECTOR_SHUFFLE", "SystemZ::VectorBytes", "0", "SystemZ::VectorBytes", "SystemZ::VectorBytes", "0", "SystemZ::VectorBytes", "0"], "File": "SystemZISelLowering105", "Func": "add", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1360, "Length": 322, "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_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_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": "ARMAsmBackend49", "Func": "getFixupKindInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1361, "Length": 382, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiInstrInfo", "::", "getMemOperandWithOffset", "(", "const", "MachineInstr", "&", "LdSt", ",", "const", "MachineOperand", "*", "&", "BaseOp", ",", "int64_t", "&", "Offset", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "switch", "(", "LdSt", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Lanai", "::", "LDW_RI", ":", "case", "Lanai", "::", "LDW_RR", ":", "case", "Lanai", "::", "SW_RR", ":", "case", "Lanai", "::", "SW_RI", ":", "case", "Lanai", "::", "LDHs_RI", ":", "case", "Lanai", "::", "LDHz_RI", ":", "case", "Lanai", "::", "STH_RI", ":", "case", "Lanai", "::", "LDBs_RI", ":", "case", "Lanai", "::", "LDBz_RI", ":", "unsigned", "Width", ";", "return", "getMemOperandWithOffsetWidth", "(", "LdSt", ",", "BaseOp", ",", "Offset", ",", "Width", ",", "TRI", ")", ";", "}", "}", ""], "natrual_language": ["Get", "the", "base", "operand", "and", "byte", "offset", "of", "an", "instruction", "that", "reads/writes", "memory", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai::LDW_RI", "Lanai::LDW_RR", "Lanai::SW_RR", "Lanai::SW_RI", "Lanai::LDHs_RI", "Lanai::LDHz_RI", "Lanai::STH_RI", "Lanai::LDBs_RI", "Lanai::LDBz_RI"], "File": "LanaiInstrInfo10", "Func": "getMemOperandWithOffset", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1362, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isCopyInstrImpl", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "*", "&", "Source", ",", "const", "MachineOperand", "*", "&", "Destination", ")", "const", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "ORRWrs", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "AArch64", "::", "WZR", "&&", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "==", "0x0", ")", "{", "Destination", "=", "&", "MI", ".", "getOperand", "(", "0", ")", ";", "Source", "=", "&", "MI", ".", "getOperand", "(", "2", ")", ";", "return", "true", ";", "}", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "ORRXrs", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "AArch64", "::", "XZR", "&&", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "==", "0x0", ")", "{", "Destination", "=", "&", "MI", ".", "getOperand", "(", "0", ")", ";", "Source", "=", "&", "MI", ".", "getOperand", "(", "2", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "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": ["AArch64", "AArch64", "AArch64::ORRWrs", "1", "AArch64::WZR", "3", "0x0", "0", "2", "AArch64::ORRXrs", "1", "AArch64::XZR", "3", "0x0", "0", "2"], "File": "AArch64InstrInfo10", "Func": "isCopyInstrImpl", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1363, "Length": 158, "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": 1364, "Length": 273, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_split_move", "(", "rtx", "dest", ",", "rtx", "src", ",", "enum", "mips_split_type", "split_type", ")", "{", "rtx", "low_dest", ";", "gcc_checking_assert", "(", "mips_split_move_p", "(", "dest", ",", "src", ",", "split_type", ")", ")", ";", "if", "(", "FP_REG_RTX_P", "(", "dest", ")", "||", "FP_REG_RTX_P", "(", "src", ")", ")", "{", "if", "(", "!", "TARGET_64BIT", "&&", "GET_MODE", "(", "dest", ")", "==", "DImode", ")", "emit_insn", "(", "gen_move_doubleword_fprdi", "(", "dest", ",", "src", ")", ")", ";", "else", "if", "(", "!", "TARGET_64BIT", "&&", "GET_MODE", "(", "dest", ")", "==", "DFmode", ")", "emit_insn", "(", "gen_move_doubleword_fprdf", "(", "dest", ",", "src", ")", ")", ";", "else", "if", "(", "!", "TARGET_64BIT", "&&", "GET_MODE", "(", "dest", ")", "==", "V2SFmode", ")", "emit_insn", "(", "gen_move_doubleword_fprv2sf", "(", "dest", ",", "src", ")", ")", ";", "else", "if", "(", "!", "TARGET_64BIT", "&&", "GET_MODE", "(", "dest", ")", "==", "V2SImode", ")", "emit_insn", "(", "gen_move_doubleword_fprv2si", "(", "dest", ",", "src", ")", ")", ";", "else", "if", "(", "!", "TARGET_64BIT", "&&", "GET_MODE", "(", "dest", ")", "==", "V4HImode", ")", "emit_insn", "(", "gen_move_doubleword_fprv4hi", "(", "dest", ",", "src", ")", ")", ";", "else", "if", "(", "!", "TARGET_64BIT", "&&", "GET_MODE", "(", "dest", ")", "==", "V8QImode", ")", "emit_insn", "(", "gen_move_doubleword_fprv8qi", "(", "dest", ",", "src", ")", ")", ";", "else", "if", "(", "TARGET_64BIT", "&&", "GET_MODE", "(", "dest", ")", "==", "TFmode", ")", "emit_insn", "(", "gen_move_doubleword_fprtf", "(", "dest", ",", "src", ")", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "else", "if", "(", "REG_P", "(", "dest", ")", "&&", "REGNO", "(", "dest", ")", "==", "MD_REG_FIRST", ")", "{", "low_dest", "=", "mips_subword", "(", "dest", ",", "false", ")", ";", "mips_emit_move", "(", "low_dest", ",", "mips_subword", "(", "src", ",", "false", ")", ")", ";", "if", "(", "TARGET_64BIT", ")", "emit_insn", "(", "gen_mthidi_ti", "(", "dest", ",", "mips_subword", "(", "src", ",", "true", ")", ",", "low_dest", ")", ")", ";", "else", "emit_insn", "(", "gen_mthisi_di", "(", "dest", ",", "mips_subword", "(", "src", ",", "true", ")", ",", "low_dest", ")", ")", ";", "}", "else", "if", "(", "REG_P", "(", "src", ")", "&&", "REGNO", "(", "src", ")", "==", "MD_REG_FIRST", ")", "{", "mips_emit_move", "(", "mips_subword", "(", "dest", ",", "false", ")", ",", "mips_subword", "(", "src", ",", "false", ")", ")", ";", "if", "(", "TARGET_64BIT", ")", "emit_insn", "(", "gen_mfhidi_ti", "(", "mips_subword", "(", "dest", ",", "true", ")", ",", "src", ")", ")", ";", "else", "emit_insn", "(", "gen_mfhisi_di", "(", "mips_subword", "(", "dest", ",", "true", ")", ",", "src", ")", ")", ";", "}", "else", "{", "low_dest", "=", "mips_subword", "(", "dest", ",", "false", ")", ";", "if", "(", "REG_P", "(", "low_dest", ")", "&&", "reg_overlap_mentioned_p", "(", "low_dest", ",", "src", ")", ")", "{", "mips_emit_move", "(", "mips_subword", "(", "dest", ",", "true", ")", ",", "mips_subword", "(", "src", ",", "true", ")", ")", ";", "mips_emit_move", "(", "low_dest", ",", "mips_subword", "(", "src", ",", "false", ")", ")", ";", "}", "else", "{", "mips_emit_move", "(", "low_dest", ",", "mips_subword", "(", "src", ",", "false", ")", ")", ";", "mips_emit_move", "(", "mips_subword", "(", "dest", ",", "true", ")", ",", "mips_subword", "(", "src", ",", "true", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["Split", "a", "move", "from", "SRC", "to", "DEST", ",", "given", "that", "mips_split_move_p", "holds", ".", "SPLIT_TYPE", "describes", "the", "split", "condition", "."], "TS_V_token": ["mips"], "File": "mips4", "Func": "mips_split_move", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1365, "Length": 443, "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": 1366, "Length": 385, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_insert_attributes", "(", "tree", "fndecl", ",", "tree", "*", "attributes", ")", "{", "const", "char", "*", "mode", ";", "if", "(", "!", "TARGET_FLIP_THUMB", ")", "return", ";", "if", "(", "TREE_CODE", "(", "fndecl", ")", "!=", "FUNCTION_DECL", "||", "DECL_EXTERNAL", "(", "fndecl", ")", "||", "DECL_BUILT_IN", "(", "fndecl", ")", "||", "DECL_ARTIFICIAL", "(", "fndecl", ")", ")", "return", ";", "if", "(", "current_function_decl", ")", "{", "mode", "=", "TARGET_THUMB", "?", "\"thumb\"", ":", "\"arm\"", ";", "add_attribute", "(", "mode", ",", "attributes", ")", ";", "return", ";", "}", "if", "(", "lookup_attribute", "(", "\"target\"", ",", "*", "attributes", ")", "!=", "NULL", ")", "return", ";", "mode", "=", "thumb_flipper", "?", "\"thumb\"", ":", "\"arm\"", ";", "add_attribute", "(", "mode", ",", "attributes", ")", ";", "thumb_flipper", "=", "!", "thumb_flipper", ";", "}", ""], "natrual_language": ["For", "testing", ".", "Insert", "thumb", "or", "arm", "modes", "alternatively", "on", "functions", "."], "TS_V_token": ["arm", "\"thumb\"", "\"arm\"", "\"target\"", "\"thumb\"", "\"arm\""], "File": "arm5", "Func": "arm_insert_attributes", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1367, "Length": 108, "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": 1368, "Length": 266, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "AArch64MCExpr", "::", "getVariantKindName", "(", ")", "const", "{", "switch", "(", "static_cast", "<", "uint32_t", ">", "(", "getKind", "(", ")", ")", ")", "{", "case", "VK_CALL", ":", "return", "\"\"", ";", "case", "VK_LO12", ":", "return", "\":lo12:\"", ";", "case", "VK_ABS_G3", ":", "return", "\":abs_g3:\"", ";", "case", "VK_ABS_G2", ":", "return", "\":abs_g2:\"", ";", "case", "VK_ABS_G2_S", ":", "return", "\":abs_g2_s:\"", ";", "case", "VK_ABS_G2_NC", ":", "return", "\":abs_g2_nc:\"", ";", "case", "VK_ABS_G1", ":", "return", "\":abs_g1:\"", ";", "case", "VK_ABS_G1_S", ":", "return", "\":abs_g1_s:\"", ";", "case", "VK_ABS_G1_NC", ":", "return", "\":abs_g1_nc:\"", ";", "case", "VK_ABS_G0", ":", "return", "\":abs_g0:\"", ";", "case", "VK_ABS_G0_S", ":", "return", "\":abs_g0_s:\"", ";", "case", "VK_ABS_G0_NC", ":", "return", "\":abs_g0_nc:\"", ";", "case", "VK_DTPREL_G2", ":", "return", "\":dtprel_g2:\"", ";", "case", "VK_DTPREL_G1", ":", "return", "\":dtprel_g1:\"", ";", "case", "VK_DTPREL_G1_NC", ":", "return", "\":dtprel_g1_nc:\"", ";", "case", "VK_DTPREL_G0", ":", "return", "\":dtprel_g0:\"", ";", "case", "VK_DTPREL_G0_NC", ":", "return", "\":dtprel_g0_nc:\"", ";", "case", "VK_DTPREL_HI12", ":", "return", "\":dtprel_hi12:\"", ";", "case", "VK_DTPREL_LO12", ":", "return", "\":dtprel_lo12:\"", ";", "case", "VK_DTPREL_LO12_NC", ":", "return", "\":dtprel_lo12_nc:\"", ";", "case", "VK_TPREL_G2", ":", "return", "\":tprel_g2:\"", ";", "case", "VK_TPREL_G1", ":", "return", "\":tprel_g1:\"", ";", "case", "VK_TPREL_G1_NC", ":", "return", "\":tprel_g1_nc:\"", ";", "case", "VK_TPREL_G0", ":", "return", "\":tprel_g0:\"", ";", "case", "VK_TPREL_G0_NC", ":", "return", "\":tprel_g0_nc:\"", ";", "case", "VK_TPREL_HI12", ":", "return", "\":tprel_hi12:\"", ";", "case", "VK_TPREL_LO12", ":", "return", "\":tprel_lo12:\"", ";", "case", "VK_TPREL_LO12_NC", ":", "return", "\":tprel_lo12_nc:\"", ";", "case", "VK_TLSDESC_LO12", ":", "return", "\":tlsdesc_lo12:\"", ";", "case", "VK_ABS_PAGE", ":", "return", "\"\"", ";", "case", "VK_ABS_PAGE_NC", ":", "return", "\":pg_hi21_nc:\"", ";", "case", "VK_GOT", ":", "return", "\":got:\"", ";", "case", "VK_GOT_PAGE", ":", "return", "\":got:\"", ";", "case", "VK_GOT_LO12", ":", "return", "\":got_lo12:\"", ";", "case", "VK_GOTTPREL", ":", "return", "\":gottprel:\"", ";", "case", "VK_GOTTPREL_PAGE", ":", "return", "\":gottprel:\"", ";", "case", "VK_GOTTPREL_LO12_NC", ":", "return", "\":gottprel_lo12:\"", ";", "case", "VK_GOTTPREL_G1", ":", "return", "\":gottprel_g1:\"", ";", "case", "VK_GOTTPREL_G0_NC", ":", "return", "\":gottprel_g0_nc:\"", ";", "case", "VK_TLSDESC", ":", "return", "\"\"", ";", "case", "VK_TLSDESC_PAGE", ":", "return", "\":tlsdesc:\"", ";", "case", "VK_SECREL_LO12", ":", "return", "\":secrel_lo12:\"", ";", "case", "VK_SECREL_HI12", ":", "return", "\":secrel_hi12:\"", ";", "default", ":", "llvm_unreachable", "(", "\"Invalid ELF symbol kind\"", ")", ";", "}", "}", ""], "natrual_language": ["Convert", "the", "variant", "kind", "into", "an", "ELF-appropriate", "modifier", "(", "e.g", "."], "TS_V_token": ["AArch64", "AArch64", "\"\"", "\":lo12:\"", "\":abs_g3:\"", "\":abs_g2:\"", "\":abs_g2_s:\"", "\":abs_g2_nc:\"", "\":abs_g1:\"", "\":abs_g1_s:\"", "\":abs_g1_nc:\"", "\":abs_g0:\"", "\":abs_g0_s:\"", "\":abs_g0_nc:\"", "\":dtprel_g2:\"", "\":dtprel_g1:\"", "\":dtprel_g1_nc:\"", "\":dtprel_g0:\"", "\":dtprel_g0_nc:\"", "\":dtprel_hi12:\"", "\":dtprel_lo12:\"", "\":dtprel_lo12_nc:\"", "\":tprel_g2:\"", "\":tprel_g1:\"", "\":tprel_g1_nc:\"", "\":tprel_g0:\"", "\":tprel_g0_nc:\"", "\":tprel_hi12:\"", "\":tprel_lo12:\"", "\":tprel_lo12_nc:\"", "\":tlsdesc_lo12:\"", "\"\"", "\":pg_hi21_nc:\"", "\":got:\"", "\":got:\"", "\":got_lo12:\"", "\":gottprel:\"", "\":gottprel:\"", "\":gottprel_lo12:\"", "\":gottprel_g1:\"", "\":gottprel_g0_nc:\"", "\"\"", "\":tlsdesc:\"", "\":secrel_lo12:\"", "\":secrel_hi12:\"", "\"Invalid ELF symbol kind\""], "File": "AArch64MCExpr26", "Func": "getVariantKindName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1369, "Length": 288, "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", ")", ")", "{", "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": "PPCVSXSwapRemoval17", "Func": "lookThruCopyLike", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1370, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "*", "aarch64_output_simd_mov_immediate", "(", "rtx", "const_vector", ",", "unsigned", "width", ",", "enum", "simd_immediate_check", "which", ")", "{", "bool", "is_valid", ";", "static", "char", "templ", "[", "40", "]", ";", "const", "char", "*", "mnemonic", ";", "const", "char", "*", "shift_op", ";", "unsigned", "int", "lane_count", "=", "0", ";", "char", "element_char", ";", "struct", "simd_immediate_info", "info", ";", "is_valid", "=", "aarch64_simd_valid_immediate", "(", "const_vector", ",", "&", "info", ",", "which", ")", ";", "gcc_assert", "(", "is_valid", ")", ";", "element_char", "=", "sizetochar", "(", "GET_MODE_BITSIZE", "(", "info", ".", "elt_mode", ")", ")", ";", "lane_count", "=", "width", "/", "GET_MODE_BITSIZE", "(", "info", ".", "elt_mode", ")", ";", "if", "(", "GET_MODE_CLASS", "(", "info", ".", "elt_mode", ")", "==", "MODE_FLOAT", ")", "{", "gcc_assert", "(", "info", ".", "shift", "==", "0", "&&", "info", ".", "insn", "==", "simd_immediate_info", "::", "MOV", ")", ";", "if", "(", "aarch64_float_const_zero_rtx_p", "(", "info", ".", "value", ")", ")", "info", ".", "value", "=", "GEN_INT", "(", "0", ")", ";", "else", "{", "const", "unsigned", "int", "buf_size", "=", "20", ";", "char", "float_buf", "[", "buf_size", "]", "=", "{", "'\\0'", "}", ";", "real_to_decimal_for_mode", "(", "float_buf", ",", "CONST_DOUBLE_REAL_VALUE", "(", "info", ".", "value", ")", ",", "buf_size", ",", "buf_size", ",", "1", ",", "info", ".", "elt_mode", ")", ";", "if", "(", "lane_count", "==", "1", ")", "snprintf", "(", "templ", ",", "sizeof", "(", "templ", ")", ",", "\"fmov\\t%%d0, %s\"", ",", "float_buf", ")", ";", "else", "snprintf", "(", "templ", ",", "sizeof", "(", "templ", ")", ",", "\"fmov\\t%%0.%d%c, %s\"", ",", "lane_count", ",", "element_char", ",", "float_buf", ")", ";", "return", "templ", ";", "}", "}", "gcc_assert", "(", "CONST_INT_P", "(", "info", ".", "value", ")", ")", ";", "if", "(", "which", "==", "AARCH64_CHECK_MOV", ")", "{", "mnemonic", "=", "info", ".", "insn", "==", "simd_immediate_info", "::", "MVN", "?", "\"mvni\"", ":", "\"movi\"", ";", "shift_op", "=", "info", ".", "modifier", "==", "simd_immediate_info", "::", "MSL", "?", "\"msl\"", ":", "\"lsl\"", ";", "if", "(", "lane_count", "==", "1", ")", "snprintf", "(", "templ", ",", "sizeof", "(", "templ", ")", ",", "\"%s\\t%%d0, \"", "HOST_WIDE_INT_PRINT_HEX", ",", "mnemonic", ",", "UINTVAL", "(", "info", ".", "value", ")", ")", ";", "else", "if", "(", "info", ".", "shift", ")", "snprintf", "(", "templ", ",", "sizeof", "(", "templ", ")", ",", "\"%s\\t%%0.%d%c, \"", "HOST_WIDE_INT_PRINT_HEX", "\", %s %d\"", ",", "mnemonic", ",", "lane_count", ",", "element_char", ",", "UINTVAL", "(", "info", ".", "value", ")", ",", "shift_op", ",", "info", ".", "shift", ")", ";", "else", "snprintf", "(", "templ", ",", "sizeof", "(", "templ", ")", ",", "\"%s\\t%%0.%d%c, \"", "HOST_WIDE_INT_PRINT_HEX", ",", "mnemonic", ",", "lane_count", ",", "element_char", ",", "UINTVAL", "(", "info", ".", "value", ")", ")", ";", "}", "else", "{", "mnemonic", "=", "info", ".", "insn", "==", "simd_immediate_info", "::", "MVN", "?", "\"bic\"", ":", "\"orr\"", ";", "if", "(", "info", ".", "shift", ")", "snprintf", "(", "templ", ",", "sizeof", "(", "templ", ")", ",", "\"%s\\t%%0.%d%c, #\"", "HOST_WIDE_INT_PRINT_DEC", "\", %s #%d\"", ",", "mnemonic", ",", "lane_count", ",", "element_char", ",", "UINTVAL", "(", "info", ".", "value", ")", ",", "\"lsl\"", ",", "info", ".", "shift", ")", ";", "else", "snprintf", "(", "templ", ",", "sizeof", "(", "templ", ")", ",", "\"%s\\t%%0.%d%c, #\"", "HOST_WIDE_INT_PRINT_DEC", ",", "mnemonic", ",", "lane_count", ",", "element_char", ",", "UINTVAL", "(", "info", ".", "value", ")", ")", ";", "}", "return", "templ", ";", "}", ""], "natrual_language": ["Returns", "the", "string", "with", "the", "instruction", "for", "AdvSIMD", "MOVI", ",", "MVNI", ",", "ORR", "or", "BIC", "immediate", "with", "a", "CONST_VECTOR", "of", "MODE", "and", "WIDTH", ".", "WHICH", "selects", "whether", "to", "output", "MOVI/MVNI", ",", "ORR", "or", "BIC", "immediate", "."], "TS_V_token": ["aarch64", "40", "0", "0", "0", "20", "1", "1", "\"fmov\\t%%d0, %s\"", "\"fmov\\t%%0.%d%c, %s\"", "\"mvni\"", "\"movi\"", "\"msl\"", "\"lsl\"", "1", "\"%s\\t%%d0, \"", "\"%s\\t%%0.%d%c, \"", "\", %s %d\"", "\"%s\\t%%0.%d%c, \"", "\"bic\"", "\"orr\"", "\"%s\\t%%0.%d%c, #\"", "\", %s #%d\"", "\"lsl\"", "\"%s\\t%%0.%d%c, #\""], "File": "aarch645", "Func": "aarch64_output_simd_mov_immediate", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1371, "Length": 448, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLoweringBase", "::", "LegalizeTypeAction", "getPreferredVectorAction", "(", "MVT", "VT", ")", "const", "override", "{", "if", "(", "VT", ".", "getVectorNumElements", "(", ")", "!=", "1", "&&", "VT", ".", "getScalarSizeInBits", "(", ")", "%", "8", "==", "0", ")", "return", "TypeWidenVector", ";", "return", "TargetLoweringBase", "::", "getPreferredVectorAction", "(", "VT", ")", ";", "}", ""], "natrual_language": ["Customize", "the", "preferred", "legalization", "strategy", "for", "certain", "types", "."], "TS_V_token": ["PowerPC", "1", "8", "0"], "File": "PPCISelLowering106", "Func": "getPreferredVectorAction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1372, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsCodeEmitter", "::", "getJumpTargetOpValue", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "OpNo", ")", "const", "{", "return", "0", ";", "}", ""], "natrual_language": ["getJumpTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "jump", "target", "operand", "."], "TS_V_token": ["Mips", "Mips", "0"], "File": "MipsCodeEmitter21", "Func": "getJumpTargetOpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1373, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "write_defines_file", "(", "void", ")", "{", "fprintf", "(", "defines_file", ",", "\"#ifndef _RS6000_VECDEFINES_H\\n\"", ")", ";", "fprintf", "(", "defines_file", ",", "\"#define _RS6000_VECDEFINES_H 1\\n\\n\"", ")", ";", "fprintf", "(", "defines_file", ",", "\"#if defined(_ARCH_PPC64) && defined (_ARCH_PWR9)\\n\"", ")", ";", "fprintf", "(", "defines_file", ",", "\" #define _ARCH_PPC64_PWR9 1\\n\"", ")", ";", "fprintf", "(", "defines_file", ",", "\"#endif\\n\\n\"", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "num_ovld_stanzas", ";", "i", "++", ")", "if", "(", "strcmp", "(", "ovld_stanzas", "[", "i", "]", ".", "extern_name", ",", "\"SKIP\"", ")", ")", "{", "if", "(", "ovld_stanzas", "[", "i", "]", ".", "ifdef", ")", "fprintf", "(", "defines_file", ",", "\"#ifdef %s\\n\"", ",", "ovld_stanzas", "[", "i", "]", ".", "ifdef", ")", ";", "fprintf", "(", "defines_file", ",", "\"#define %s %s\\n\"", ",", "ovld_stanzas", "[", "i", "]", ".", "extern_name", ",", "ovld_stanzas", "[", "i", "]", ".", "intern_name", ")", ";", "if", "(", "ovld_stanzas", "[", "i", "]", ".", "ifdef", ")", "fprintf", "(", "defines_file", ",", "\"#endif\\n\"", ")", ";", "}", "fprintf", "(", "defines_file", ",", "\"\\n#endif\\n\"", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Write", "everything", "to", "the", "include", "file", "(", "rs6000-vecdefines.h", ")", ".", "Return", "1", "if", "successful", ",", "0", "otherwise", "."], "TS_V_token": ["rs6000", "\"#ifndef _RS6000_VECDEFINES_H\\n\"", "\"#define _RS6000_VECDEFINES_H 1\\n\\n\"", "\"#if defined(_ARCH_PPC64) && defined (_ARCH_PWR9)\\n\"", "\" #define _ARCH_PPC64_PWR9 1\\n\"", "\"#endif\\n\\n\"", "0", "\"SKIP\"", "\"#ifdef %s\\n\"", "\"#define %s %s\\n\"", "\"#endif\\n\"", "\"\\n#endif\\n\"", "1"], "File": "rs6000-gen-builtins", "Func": "write_defines_file", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1374, "Length": 143, "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", "::", "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::JumpTableDest32", "AArch64::JumpTableDest16", "AArch64::JumpTableDest8", "12", "AArch64::SPACE", "1"], "File": "AArch64InstrInfo22", "Func": "getInstSizeInBytes", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1375, "Length": 268, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "X86TargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "Align", ",", "bool", "isSrcConst", ",", "bool", "isSrcStr", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "const", "Function", "*", "F", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFunction", "(", ")", ";", "bool", "NoImplicitFloatOps", "=", "F", "->", "hasFnAttr", "(", "Attribute", "::", "NoImplicitFloat", ")", ";", "if", "(", "!", "NoImplicitFloatOps", "&&", "Subtarget", "->", "getStackAlignment", "(", ")", ">=", "16", ")", "{", "if", "(", "(", "isSrcConst", "||", "isSrcStr", ")", "&&", "Subtarget", "->", "hasSSE2", "(", ")", "&&", "Size", ">=", "16", ")", "return", "MVT", "::", "v4i32", ";", "if", "(", "(", "isSrcConst", "||", "isSrcStr", ")", "&&", "Subtarget", "->", "hasSSE1", "(", ")", "&&", "Size", ">=", "16", ")", "return", "MVT", "::", "v4f32", ";", "}", "if", "(", "Subtarget", "->", "is64Bit", "(", ")", "&&", "Size", ">=", "8", ")", "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": ["X86", "X86", "16", "16", "MVT::v4i32", "16", "MVT::v4f32", "8", "MVT::i64", "MVT::i32"], "File": "X86ISelLowering144", "Func": "getOptimalMemOpType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1376, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nds32_rtx_costs", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "int", "outer_code", ",", "int", "opno", ",", "int", "*", "total", ",", "bool", "speed", ")", "{", "return", "nds32_rtx_costs_impl", "(", "x", ",", "mode", ",", "outer_code", ",", "opno", ",", "total", ",", "speed", ")", ";", "}", ""], "natrual_language": ["This", "target", "hook", "describes", "the", "relative", "costs", "of", "RTL", "expressions", ".", "Return", "'true", "'", "when", "all", "subexpressions", "of", "x", "have", "been", "processed", ".", "Return", "'false", "'", "to", "sum", "the", "costs", "of", "sub-rtx", ",", "plus", "cost", "of", "this", "operation", ".", "Refer", "to", "gcc/rtlanal.cc", "for", "more", "information", "."], "TS_V_token": ["nds32"], "File": "nds32", "Func": "nds32_rtx_costs", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1377, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_darwin64_record_arg_flush", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "HOST_WIDE_INT", "bitpos", ",", "rtx", "rvec", "[", "]", ",", "int", "*", "k", ")", "{", "machine_mode", "mode", ";", "unsigned", "int", "regno", ";", "unsigned", "int", "startbit", ",", "endbit", ";", "int", "this_regno", ",", "intregs", ",", "intoffset", ";", "rtx", "reg", ";", "if", "(", "cum", "->", "intoffset", "==", "-", "1", ")", "return", ";", "intoffset", "=", "cum", "->", "intoffset", ";", "cum", "->", "intoffset", "=", "-", "1", ";", "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", ")", ";", "mode", "=", "word_mode", ";", "}", "}", "else", "mode", "=", "word_mode", ";", "startbit", "=", "ROUND_DOWN", "(", "intoffset", ",", "BITS_PER_WORD", ")", ";", "endbit", "=", "ROUND_UP", "(", "bitpos", ",", "BITS_PER_WORD", ")", ";", "intregs", "=", "(", "endbit", "-", "startbit", ")", "/", "BITS_PER_WORD", ";", "this_regno", "=", "cum", "->", "words", "+", "intoffset", "/", "BITS_PER_WORD", ";", "if", "(", "intregs", ">", "0", "&&", "intregs", ">", "GP_ARG_NUM_REG", "-", "this_regno", ")", "cum", "->", "use_stack", "=", "1", ";", "intregs", "=", "MIN", "(", "intregs", ",", "GP_ARG_NUM_REG", "-", "this_regno", ")", ";", "if", "(", "intregs", "<=", "0", ")", "return", ";", "intoffset", "/=", "BITS_PER_UNIT", ";", "do", "{", "regno", "=", "GP_ARG_MIN_REG", "+", "this_regno", ";", "reg", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "rvec", "[", "(", "*", "k", ")", "++", "]", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "reg", ",", "GEN_INT", "(", "intoffset", ")", ")", ";", "this_regno", "+=", "1", ";", "intoffset", "=", "(", "intoffset", "|", "(", "UNITS_PER_WORD", "-", "1", ")", ")", "+", "1", ";", "mode", "=", "word_mode", ";", "intregs", "-=", "1", ";", "}", "while", "(", "intregs", ">", "0", ")", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "rs6000_darwin64_record_arg", ".", "Assign", "the", "bits", "of", "the", "structure", "between", "cum-", ">", "intoffset", "and", "bitpos", "to", "integer", "registers", "."], "TS_V_token": ["rs6000", "1", "1", "0", "0", "0", "1", "0", "1", "1", "1", "1", "0"], "File": "rs60005", "Func": "rs6000_darwin64_record_arg_flush", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1378, "Length": 271, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "register_svpattern", "(", ")", "{", "auto_vec", "<", "string_int_pair", ",", "32", ">", "values", ";", "values", ".", "quick_push", "(", "string_int_pair", "(", "\"SV_\"", "#", "UPPER", ",", "VALUE", ")", ")", ";", "AARCH64_FOR_SVPATTERN", "(", "PUSH", ")", "acle_svpattern", "=", "lang_hooks", ".", "types", ".", "simulate_enum_decl", "(", "input_location", ",", "\"svpattern\"", ",", "values", ")", ";", "}", ""], "natrual_language": ["Register", "the", "svpattern", "enum", "."], "TS_V_token": ["aarch64", "32", "\"SV_\"", "\"svpattern\""], "File": "aarch64-sve-builtins", "Func": "register_svpattern", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1379, "Length": 48, "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": 1380, "Length": 255, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "mips_output_probe_stack_range", "(", "rtx", "reg1", ",", "rtx", "reg2", ")", "{", "static", "int", "labelno", "=", "0", ";", "char", "loop_lab", "[", "32", "]", ",", "end_lab", "[", "32", "]", ",", "tmp", "[", "64", "]", ";", "rtx", "xops", "[", "2", "]", ";", "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", "]", "=", "reg1", ";", "xops", "[", "1", "]", "=", "reg2", ";", "strcpy", "(", "tmp", ",", "\"%(%"], "natrual_language": ["Probe", "a", "range", "of", "stack", "addresses", "from", "REG1", "to", "REG2", "inclusive", ".", "These", "are", "absolute", "addresses", "."], "TS_V_token": ["mips", "0", "32", "32", "64", "2", "\"LPSRL\"", "\"LPSRE\"", "0", "1", "\"%(%", "ARMSubtarget", "::", "ARMSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ")", ":", "ARMGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "ARMProcFamily", "(", "Others", ")", ",", "HasV4TOps", "(", "false", ")", ",", "HasV5TOps", "(", "false", ")", ",", "HasV5TEOps", "(", "false", ")", ",", "HasV6Ops", "(", "false", ")", ",", "HasV6T2Ops", "(", "false", ")", ",", "HasV7Ops", "(", "false", ")", ",", "HasVFPv2", "(", "false", ")", ",", "HasVFPv3", "(", "false", ")", ",", "HasNEON", "(", "false", ")", ",", "UseNEONForSinglePrecisionFP", "(", "false", ")", ",", "SlowFPVMLx", "(", "false", ")", ",", "HasVMLxForwarding", "(", "false", ")", ",", "SlowFPBrcc", "(", "false", ")", ",", "InThumbMode", "(", "false", ")", ",", "HasThumb2", "(", "false", ")", ",", "IsMClass", "(", "false", ")", ",", "NoARM", "(", "false", ")", ",", "PostRAScheduler", "(", "false", ")", ",", "IsR9Reserved", "(", "ReserveR9", ")", ",", "UseMovt", "(", "false", ")", ",", "SupportsTailCall", "(", "false", ")", ",", "HasFP16", "(", "false", ")", ",", "HasD16", "(", "false", ")", ",", "HasHardwareDivide", "(", "false", ")", ",", "HasT2ExtractPack", "(", "false", ")", ",", "HasDataBarrier", "(", "false", ")", ",", "Pref32BitThumb", "(", "false", ")", ",", "AvoidCPSRPartialUpdate", "(", "false", ")", ",", "HasMPExtension", "(", "false", ")", ",", "FPOnlySP", "(", "false", ")", ",", "AllowsUnalignedMem", "(", "false", ")", ",", "Thumb2DSP", "(", "false", ")", ",", "stackAlignment", "(", "4", ")", ",", "CPUString", "(", "CPU", ")", ",", "TargetTriple", "(", "TT", ")", ",", "TargetABI", "(", "ARM_ABI_APCS", ")", "{", "if", "(", "CPUString", ".", "empty", "(", ")", ")", "CPUString", "=", "\"generic\"", ";", "std", "::", "string", "ArchFS", "=", "ARM_MC", "::", "ParseARMTriple", "(", "TT", ")", ";", "if", "(", "!", "FS", ".", "empty", "(", ")", ")", "{", "if", "(", "!", "ArchFS", ".", "empty", "(", ")", ")", "ArchFS", "=", "ArchFS", "+", "\",\"", "+", "FS", ";", "else", "ArchFS", "=", "FS", ";", "}", "ParseSubtargetFeatures", "(", "CPUString", ",", "ArchFS", ")", ";", "if", "(", "!", "HasV6T2Ops", "&&", "hasThumb2", "(", ")", ")", "HasV4TOps", "=", "HasV5TOps", "=", "HasV5TEOps", "=", "HasV6Ops", "=", "HasV6T2Ops", "=", "true", ";", "InstrItins", "=", "getInstrItineraryForCPU", "(", "CPUString", ")", ";", "computeIssueWidth", "(", ")", ";", "if", "(", "TT", ".", "find", "(", "\"eabi\"", ")", "!=", "std", "::", "string", "::", "npos", ")", "TargetABI", "=", "ARM_ABI_AAPCS", ";", "if", "(", "isAAPCS_ABI", "(", ")", ")", "stackAlignment", "=", "8", ";", "if", "(", "!", "isTargetDarwin", "(", ")", ")", "UseMovt", "=", "hasV6T2Ops", "(", ")", ";", "else", "{", "IsR9Reserved", "=", "ReserveR9", "|", "!", "HasV6Ops", ";", "UseMovt", "=", "DarwinUseMOVT", "&&", "hasV6T2Ops", "(", ")", ";", "const", "Triple", "&", "T", "=", "getTargetTriple", "(", ")", ";", "SupportsTailCall", "=", "T", ".", "getOS", "(", ")", "==", "Triple", "::", "IOS", "&&", "!", "T", ".", "isOSVersionLT", "(", "5", ",", "0", ")", ";", "}", "if", "(", "!", "isThumb", "(", ")", "||", "hasThumb2", "(", ")", ")", "PostRAScheduler", "=", "true", ";", "if", "(", "!", "StrictAlign", "&&", "hasV6Ops", "(", ")", "&&", "isTargetDarwin", "(", ")", ")", "AllowsUnalignedMem", "=", "true", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "4", "ARM", "\"generic\"", "ARM", "ARM", "\",\"", "\"eabi\"", "ARM", "8", "5", "0"], "File": "ARMSubtarget77", "Func": "ARMSubtarget", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1382, "Length": 440, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "CSKYInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "CSKY", "::", "ST16B", ":", "case", "CSKY", "::", "ST16H", ":", "case", "CSKY", "::", "ST16W", ":", "case", "CSKY", "::", "ST32B", ":", "case", "CSKY", "::", "ST32H", ":", "case", "CSKY", "::", "ST32W", ":", "case", "CSKY", "::", "SPILL_CARRY", ":", "break", ";", "}", "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": ["CSKY", "CSKY", "0", "CSKY::ST16B", "CSKY::ST16H", "CSKY::ST16W", "CSKY::ST32B", "CSKY::ST32H", "CSKY::ST32W", "CSKY::SPILL_CARRY", "1", "2", "2", "0", "1", "0", "0"], "File": "CSKYInstrInfo4", "Func": "isStoreToStackSlot", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1383, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "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)5", "Func": "getScalingFactorCost", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1384, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "MMIXDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "OS", ",", "raw_ostream", "&", "CS", ")", "const", "{", "Size", "=", "4", ";", "if", "(", "Bytes", ".", "size", "(", ")", "<", "4", ")", "{", "Size", "=", "0", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "uint32_t", "Inst", "=", "support", "::", "endian", "::", "read32be", "(", "Bytes", ".", "data", "(", ")", ")", ";", "return", "decodeInstruction", "(", "DecoderTableMMIX32", ",", "MI", ",", "Inst", ",", "Address", ",", "this", ",", "STI", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["MMIX", "MMIX", "4", "4", "0", "support::endian", "MMIX"], "File": "MMIXDisassembler", "Func": "getInstruction", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1385, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_print_value", "(", "FILE", "*", "f", ",", "rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "CONST_INT", ":", "fprintf", "(", "f", ",", "HOST_WIDE_INT_PRINT_HEX", ",", "INTVAL", "(", "x", ")", ")", ";", "return", ";", "case", "CONST_DOUBLE", ":", "{", "char", "fpstr", "[", "20", "]", ";", "real_to_decimal", "(", "fpstr", ",", "CONST_DOUBLE_REAL_VALUE", "(", "x", ")", ",", "sizeof", "(", "fpstr", ")", ",", "0", ",", "1", ")", ";", "fputs", "(", "fpstr", ",", "f", ")", ";", "}", "return", ";", "case", "CONST_VECTOR", ":", "{", "int", "i", ";", "fprintf", "(", "f", ",", "\"<\"", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "CONST_VECTOR_NUNITS", "(", "x", ")", ";", "i", "++", ")", "{", "fprintf", "(", "f", ",", "HOST_WIDE_INT_PRINT_HEX", ",", "INTVAL", "(", "CONST_VECTOR_ELT", "(", "x", ",", "i", ")", ")", ")", ";", "if", "(", "i", "<", "(", "CONST_VECTOR_NUNITS", "(", "x", ")", "-", "1", ")", ")", "fputc", "(", "','", ",", "f", ")", ";", "}", "fprintf", "(", "f", ",", "\">\"", ")", ";", "}", "return", ";", "case", "CONST_STRING", ":", "fprintf", "(", "f", ",", "\"\\\"%s\\\"\"", ",", "XSTR", "(", "x", ",", "0", ")", ")", ";", "return", ";", "case", "SYMBOL_REF", ":", "fprintf", "(", "f", ",", "\"`%s'\"", ",", "XSTR", "(", "x", ",", "0", ")", ")", ";", "return", ";", "case", "LABEL_REF", ":", "fprintf", "(", "f", ",", "\"L%d\"", ",", "INSN_UID", "(", "XEXP", "(", "x", ",", "0", ")", ")", ")", ";", "return", ";", "case", "CONST", ":", "arm_print_value", "(", "f", ",", "XEXP", "(", "x", ",", "0", ")", ")", ";", "return", ";", "case", "PLUS", ":", "arm_print_value", "(", "f", ",", "XEXP", "(", "x", ",", "0", ")", ")", ";", "fprintf", "(", "f", ",", "\"+\"", ")", ";", "arm_print_value", "(", "f", ",", "XEXP", "(", "x", ",", "1", ")", ")", ";", "return", ";", "case", "PC", ":", "fprintf", "(", "f", ",", "\"pc\"", ")", ";", "return", ";", "default", ":", "fprintf", "(", "f", ",", "\"????\"", ")", ";", "return", ";", "}", "}", ""], "natrual_language": ["Print", "a", "symbolic", "form", "of", "X", "to", "the", "debug", "file", ",", "F", "."], "TS_V_token": ["arm", "20", "0", "1", "\"<\"", "0", "1", "\">\"", "\"\\\"%s\\\"\"", "0", "\"`%s'\"", "0", "\"L%d\"", "0", "0", "0", "\"+\"", "1", "\"pc\"", "\"????\""], "File": "arm", "Func": "arm_print_value", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1386, "Length": 293, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "barrier_align", "(", "rtx_insn", "*", "barrier_or_label", ")", "{", "if", "(", "!", "barrier_or_label", ")", "return", "0", ";", "if", "(", "LABEL_P", "(", "barrier_or_label", ")", "&&", "NEXT_INSN", "(", "barrier_or_label", ")", "&&", "JUMP_TABLE_DATA_P", "(", "NEXT_INSN", "(", "barrier_or_label", ")", ")", ")", "return", "2", ";", "if", "(", "BARRIER_P", "(", "barrier_or_label", ")", "&&", "PREV_INSN", "(", "barrier_or_label", ")", "&&", "JUMP_TABLE_DATA_P", "(", "PREV_INSN", "(", "barrier_or_label", ")", ")", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "PREV_INSN", "(", "barrier_or_label", ")", ")", ";", "return", "(", "(", "optimize_size", "||", "(", "(", "unsigned", ")", "XVECLEN", "(", "pat", ",", "1", ")", "*", "GET_MODE_SIZE", "(", "GET_MODE", "(", "pat", ")", ")", "<=", "(", "unsigned", ")", "1", "<<", "(", "CACHE_LOG", "-", "2", ")", ")", ")", "?", "1", ":", "align_jumps_log", ")", ";", "}", "rtx_insn", "*", "next", "=", "next_active_insn", "(", "barrier_or_label", ")", ";", "if", "(", "!", "next", ")", "return", "0", ";", "rtx", "pat", "=", "PATTERN", "(", "next", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "UNSPEC_VOLATILE", "&&", "XINT", "(", "pat", ",", "1", ")", "==", "UNSPECV_ALIGN", ")", "return", "0", ";", "if", "(", "optimize_size", ")", "return", "0", ";", "if", "(", "!", "TARGET_SH2", "||", "!", "optimize", ")", "return", "align_jumps_log", ";", "if", "(", "mdep_reorg_phase", ">", "SH_FIXUP_PCLOAD", ")", "{", "int", "slot", ",", "credit", ";", "bool", "jump_to_next", "=", "false", ";", "rtx_insn", "*", "prev", "=", "prev_real_insn", "(", "prev_active_insn", "(", "barrier_or_label", ")", ")", ";", "for", "(", "slot", "=", "2", ",", "credit", "=", "(", "1", "<<", "(", "CACHE_LOG", "-", "2", ")", ")", "+", "2", ";", "credit", ">=", "0", "&&", "prev", "&&", "NONJUMP_INSN_P", "(", "prev", ")", ";", "prev", "=", "prev_real_insn", "(", "prev", ")", ")", "{", "jump_to_next", "=", "false", ";", "if", "(", "GET_CODE", "(", "PATTERN", "(", "prev", ")", ")", "==", "USE", "||", "GET_CODE", "(", "PATTERN", "(", "prev", ")", ")", "==", "CLOBBER", ")", "continue", ";", "if", "(", "rtx_sequence", "*", "prev_seq", "=", "dyn_cast", "<", "rtx_sequence", "*", ">", "(", "PATTERN", "(", "prev", ")", ")", ")", "{", "prev", "=", "prev_seq", "->", "insn", "(", "1", ")", ";", "if", "(", "INSN_UID", "(", "prev", ")", "==", "INSN_UID", "(", "next", ")", ")", "{", "jump_to_next", "=", "true", ";", "continue", ";", "}", "}", "if", "(", "slot", "&&", "get_attr_in_delay_slot", "(", "prev", ")", "==", "IN_DELAY_SLOT_YES", ")", "slot", "=", "0", ";", "credit", "-=", "get_attr_length", "(", "prev", ")", ";", "}", "if", "(", "prev", "&&", "jump_to_label_p", "(", "prev", ")", ")", "{", "rtx_insn", "*", "x", ";", "if", "(", "jump_to_next", "||", "next_real_insn", "(", "JUMP_LABEL", "(", "prev", ")", ")", "==", "next", "||", "JUMP_LABEL", "(", "prev", ")", "==", "next_nonnote_insn", "(", "next", ")", "||", "(", "x", "=", "(", "NEXT_INSN", "(", "NEXT_INSN", "(", "PREV_INSN", "(", "prev", ")", ")", ")", ")", ",", "(", "INSN_P", "(", "x", ")", "&&", "(", "INSN_CODE", "(", "x", ")", "==", "CODE_FOR_block_branch_redirect", "||", "INSN_CODE", "(", "x", ")", "==", "CODE_FOR_indirect_jump_scratch", "||", "INSN_CODE", "(", "x", ")", "==", "CODE_FOR_stuff_delay_slot", ")", ")", ")", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "prev", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", ")", "pat", "=", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ";", "if", "(", "credit", "-", "slot", ">=", "(", "GET_CODE", "(", "SET_SRC", "(", "pat", ")", ")", "==", "PC", "?", "2", ":", "0", ")", ")", "return", "0", ";", "}", "}", "}", "return", "align_jumps_log", ";", "}", ""], "natrual_language": ["BARRIER_OR_LABEL", "is", "either", "a", "BARRIER", "or", "a", "CODE_LABEL", "immediately", "following", "a", "barrier", ".", "Return", "the", "base", "2", "logarithm", "of", "the", "desired", "alignment", "."], "TS_V_token": ["sh", "0", "2", "1", "1", "2", "1", "0", "1", "0", "0", "2", "1", "2", "2", "0", "1", "0", "0", "0", "2", "0", "0"], "File": "sh6", "Func": "barrier_align", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1387, "Length": 492, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "KudeyarAsmPrinter", "::", "getCurrentABIString", "(", ")", "const", "{", "{", "}", "return", "\"abi32\"", ";", "}", ""], "natrual_language": ["Emit", "Set", "directives", "."], "TS_V_token": ["Kudeyar", "Kudeyar", "\"abi32\""], "File": "KudeyarAsmPrinter", "Func": "getCurrentABIString", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1388, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Reset", "(", ")", "{", "Ops", ".", "clear", "(", ")", ";", "OpBegins", ".", "clear", "(", ")", ";", "OpBegins", ".", "push_back", "(", "0", ")", ";", "HasPersonality", "=", "false", ";", "}", ""], "natrual_language": ["Reset", "the", "unwind", "opcode", "assembler", "."], "TS_V_token": ["ARM", "0"], "File": "ARMUnwindOpAsm15", "Func": "Reset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1389, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_eliminate_indexed_memrefs", "(", "rtx", "operands", "[", "2", "]", ")", "{", "if", "(", "GET_CODE", "(", "operands", "[", "0", "]", ")", "==", "MEM", "&&", "GET_CODE", "(", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ")", "!=", "REG", "&&", "!", "legitimate_constant_pool_address_p", "(", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ",", "GET_MODE", "(", "operands", "[", "0", "]", ")", ",", "false", ")", ")", "operands", "[", "0", "]", "=", "replace_equiv_address", "(", "operands", "[", "0", "]", ",", "copy_addr_to_reg", "(", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ")", ")", ";", "if", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "MEM", "&&", "GET_CODE", "(", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ")", "!=", "REG", "&&", "!", "legitimate_constant_pool_address_p", "(", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ",", "GET_MODE", "(", "operands", "[", "1", "]", ")", ",", "false", ")", ")", "operands", "[", "1", "]", "=", "replace_equiv_address", "(", "operands", "[", "1", "]", ",", "copy_addr_to_reg", "(", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ")", ")", ";", "}", ""], "natrual_language": ["Helper", "for", "the", "following", ".", "Get", "rid", "of", "[", "r+r", "]", "memory", "refs", "in", "cases", "where", "it", "wo", "n't", "work", "(", "TImode", ",", "TFmode", ")", "."], "TS_V_token": ["rs6000", "2", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "0", "1", "1", "1", "1", "0"], "File": "rs60007", "Func": "rs6000_eliminate_indexed_memrefs", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1390, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "compute_frame_size", "(", "HOST_WIDE_INT", "size", ",", "int", "*", "fregs_live", ")", "{", "int", "freg_saved", "=", "0", ";", "int", "i", ",", "j", ";", "size", "=", "(", "size", "+", "UNITS_PER_WORD", "-", "1", ")", "&", "~", "(", "UNITS_PER_WORD", "-", "1", ")", ";", "if", "(", "size", "||", "frame_pointer_needed", ")", "size", "+=", "STARTING_FRAME_OFFSET", ";", "if", "(", "DO_FRAME_NOTES", "&&", "current_function_calls_eh_return", ")", "{", "unsigned", "int", "i", ";", "for", "(", "i", "=", "0", ";", "EH_RETURN_DATA_REGNO", "(", "i", ")", "!=", "INVALID_REGNUM", ";", "++", "i", ")", "continue", ";", "size", "+=", "i", "*", "UNITS_PER_WORD", ";", "}", "for", "(", "i", "=", "18", ",", "j", "=", "frame_pointer_needed", "?", "4", ":", "3", ";", "i", ">=", "j", ";", "i", "--", ")", "if", "(", "regs_ever_live", "[", "i", "]", ")", "size", "+=", "UNITS_PER_WORD", ";", "for", "(", "i", "=", "FP_SAVED_REG_LAST", ";", "i", ">=", "FP_SAVED_REG_FIRST", ";", "i", "-=", "FP_REG_STEP", ")", "if", "(", "regs_ever_live", "[", "i", "]", "||", "(", "!", "TARGET_64BIT", "&&", "regs_ever_live", "[", "i", "+", "1", "]", ")", ")", "{", "freg_saved", "=", "1", ";", "size", "+=", "8", ";", "}", "if", "(", "freg_saved", ")", "{", "size", "=", "(", "size", "+", "7", ")", "&", "~", "7", ";", "if", "(", "fregs_live", ")", "*", "fregs_live", "=", "1", ";", "}", "size", "+=", "current_function_outgoing_args_size", ";", "if", "(", "!", "current_function_is_leaf", "||", "size", ")", "size", "+=", "TARGET_64BIT", "?", "48", ":", "32", ";", "return", "(", "(", "size", "+", "PREFERRED_STACK_BOUNDARY", "/", "BITS_PER_UNIT", "-", "1", ")", "&", "~", "(", "PREFERRED_STACK_BOUNDARY", "/", "BITS_PER_UNIT", "-", "1", ")", ")", ";", "}", ""], "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": ["pa", "0", "1", "1", "0", "18", "4", "3", "1", "1", "8", "7", "7", "1", "48", "32", "1", "1"], "File": "pa3", "Func": "compute_frame_size", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1391, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "mips_hard_regno_nregs", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "ST_REG_P", "(", "regno", ")", ")", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "3", ")", "/", "4", ";", "if", "(", "FP_REG_P", "(", "regno", ")", ")", "{", "if", "(", "MSA_SUPPORTED_MODE_P", "(", "mode", ")", ")", "return", "1", ";", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_FPREG", "-", "1", ")", "/", "UNITS_PER_FPREG", ";", "}", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Implement", "HARD_REGNO_NREGS", "."], "TS_V_token": ["mips", "3", "4", "1", "1", "1"], "File": "mips", "Func": "mips_hard_regno_nregs", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1392, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsGOT", "::", "split", "(", ")", "{", "m_MergedLocalSymbols", ".", "clear", "(", ")", ";", "m_MergedGlobalSymbols", ".", "clear", "(", ")", ";", "size_t", "uniqueCount", "=", "0", ";", "for", "(", "SymbolUniqueMapType", "::", "const_iterator", "it", "=", "m_InputGlobalSymbols", ".", "begin", "(", ")", ",", "end", "=", "m_InputGlobalSymbols", ".", "end", "(", ")", ";", "it", "!=", "end", ";", "++", "it", ")", "{", "if", "(", "it", "->", "second", ")", "++", "uniqueCount", ";", "}", "m_MultipartList", ".", "back", "(", ")", ".", "m_LocalNum", "-=", "m_InputLocalSymbols", ".", "size", "(", ")", ";", "m_MultipartList", ".", "back", "(", ")", ".", "m_GlobalNum", "-=", "uniqueCount", ";", "m_MultipartList", ".", "back", "(", ")", ".", "m_Inputs", ".", "erase", "(", "m_pInput", ")", ";", "m_MultipartList", ".", "push_back", "(", "GOTMultipart", "(", "m_InputLocalSymbols", ".", "size", "(", ")", ",", "m_InputGlobalSymbols", ".", "size", "(", ")", ")", ")", ";", "m_MultipartList", ".", "back", "(", ")", ".", "m_Inputs", ".", "insert", "(", "m_pInput", ")", ";", "}", ""], "natrual_language": ["Split", "into", "substrings", "around", "the", "occurrences", "of", "a", "separator", "character", "."], "TS_V_token": ["Mips", "Mips", "0"], "File": "MipsGOT", "Func": "split", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1393, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "unsigned", "getISAEncoding", "(", ")", "LLVM_OVERRIDE", "{", "if", "(", "!", "Subtarget", "->", "isTargetDarwin", "(", ")", ")", "return", "0", ";", "return", "Subtarget", "->", "isThumb", "(", ")", "?", "ARM", "::", "DW_ISA_ARM_thumb", ":", "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": "ARMAsmPrinter17", "Func": "getISAEncoding", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1394, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_elf_asm_out_constructor", "(", "rtx", "symbol", ",", "int", "priority", ")", "{", "const", "char", "*", "section", "=", "\".ctors\"", ";", "char", "buf", "[", "18", "]", ";", "if", "(", "priority", "!=", "DEFAULT_INIT_PRIORITY", ")", "{", "sprintf", "(", "buf", ",", "\".ctors.%.5u\"", ",", "MAX_INIT_PRIORITY", "-", "priority", ")", ";", "section", "=", "buf", ";", "}", "switch_to_section", "(", "get_section", "(", "section", ",", "SECTION_WRITE", ",", "NULL", ")", ")", ";", "assemble_align", "(", "POINTER_SIZE", ")", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "(", "TARGET_RELOCATABLE", "||", "flag_pic", ">", "1", ")", ")", "{", "fputs", "(", "\"\\t.long (\"", ",", "asm_out_file", ")", ";", "output_addr_const", "(", "asm_out_file", ",", "symbol", ")", ";", "fputs", "(", "\")@fixup\\n\"", ",", "asm_out_file", ")", ";", "}", "else", "assemble_integer", "(", "symbol", ",", "POINTER_SIZE", "/", "BITS_PER_UNIT", ",", "POINTER_SIZE", ",", "1", ")", ";", "}", ""], "natrual_language": ["Record", "an", "element", "in", "the", "table", "of", "global", "constructors", ".", "SYMBOL", "is", "a", "SYMBOL_REF", "of", "the", "function", "to", "be", "called", ";", "PRIORITY", "is", "a", "number", "between", "0", "and", "MAX_INIT_PRIORITY", ".", "This", "differs", "from", "default_named_section_asm_out_constructor", "in", "that", "we", "have", "special", "handling", "for", "-mrelocatable", "."], "TS_V_token": ["powerpcspe", "\".ctors\"", "18", "\".ctors.%.5u\"", "1", "\"\\t.long (\"", "\")@fixup\\n\"", "1"], "File": "powerpcspe", "Func": "rs6000_elf_asm_out_constructor", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1395, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "aarch64_epilogue_uses", "(", "int", "regno", ")", "{", "if", "(", "epilogue_completed", ")", "{", "if", "(", "regno", "==", "LR_REGNUM", ")", "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", "0"], "File": "aarch64", "Func": "aarch64_epilogue_uses", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1396, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmParser", "::", "EmitInstruction", "(", "MCInst", "&", "Inst", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ")", "{", "Out", ".", "EmitInstruction", "(", "Inst", ",", "getSTI", "(", ")", ")", ";", "}", ""], "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)5", "Func": "EmitInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1397, "Length": 30, "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": ["ARM64"], "File": "ARM64AsmParser", "Func": "Error", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1398, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "PPCTTIImpl", "::", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "TTI", "::", "OperandValueKind", "Op1Info", ",", "TTI", "::", "OperandValueKind", "Op2Info", ",", "TTI", "::", "OperandValueProperties", "Opd1PropInfo", ",", "TTI", "::", "OperandValueProperties", "Opd2PropInfo", ",", "ArrayRef", "<", "const", "Value", "*", ">", "Args", ")", "{", "assert", "(", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", "&&", "\"Invalid opcode\"", ")", ";", "int", "Cost", "=", "BaseT", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "Op1Info", ",", "Op2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ")", ";", "return", "vectorCostAdjustment", "(", "Cost", ",", "Opcode", ",", "Ty", ",", "nullptr", ")", ";", "}", ""], "natrual_language": ["This", "is", "an", "approximation", "of", "reciprocal", "throughput", "of", "a", "math/logic", "op", "."], "TS_V_token": ["PowerPC", "PPC", "\"Invalid opcode\""], "File": "PPCTargetTransformInfo10", "Func": "getArithmeticInstrCost", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1399, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "switch", "(", "Kind", ")", "{", "case", "k_Immediate", ":", "OS", "<<", "\"Imm<\"", "<<", "*", "Imm", ".", "Val", "<<", "\">\"", ";", "break", ";", "case", "k_Memory", ":", "OS", "<<", "\"Mem<\"", ";", "OS", "<<", "Mem", ".", "Base", ";", "OS", "<<", "\", \"", ";", "OS", "<<", "*", "Mem", ".", "Off", ";", "OS", "<<", "\">\"", ";", "break", ";", "case", "k_Register", ":", "OS", "<<", "\"Register<\"", "<<", "Reg", ".", "RegNum", "<<", "\">\"", ";", "break", ";", "case", "k_Token", ":", "OS", "<<", "Tok", ".", "Data", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["Cpu0", "\"Imm<\"", "\">\"", "\"Mem<\"", "\", \"", "\">\"", "\"Register<\"", "\">\""], "File": "Cpu0AsmParser", "Func": "print", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1400, "Length": 89, "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", ";", "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": "X86FrameLowering (2)4", "Func": "spillCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1401, "Length": 300, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_emit_i387_log1p", "(", "rtx", "op0", ",", "rtx", "op1", ")", "{", "rtx", "label1", "=", "gen_label_rtx", "(", ")", ";", "rtx", "label2", "=", "gen_label_rtx", "(", ")", ";", "rtx", "tmp", "=", "gen_reg_rtx", "(", "XFmode", ")", ";", "rtx", "tmp2", "=", "gen_reg_rtx", "(", "XFmode", ")", ";", "emit_insn", "(", "gen_absxf2", "(", "tmp", ",", "op1", ")", ")", ";", "emit_insn", "(", "gen_cmpxf", "(", "tmp", ",", "CONST_DOUBLE_FROM_REAL_VALUE", "(", "REAL_VALUE_ATOF", "(", "\"0.29289321881345247561810596348408353\"", ",", "XFmode", ")", ",", "XFmode", ")", ")", ")", ";", "emit_jump_insn", "(", "gen_bge", "(", "label1", ")", ")", ";", "emit_move_insn", "(", "tmp2", ",", "standard_80387_constant_rtx", "(", "4", ")", ")", ";", "emit_insn", "(", "gen_fyl2xp1_xf3", "(", "op0", ",", "tmp2", ",", "op1", ")", ")", ";", "emit_jump", "(", "label2", ")", ";", "emit_label", "(", "label1", ")", ";", "emit_move_insn", "(", "tmp", ",", "CONST1_RTX", "(", "XFmode", ")", ")", ";", "emit_insn", "(", "gen_addxf3", "(", "tmp", ",", "op1", ",", "tmp", ")", ")", ";", "emit_move_insn", "(", "tmp2", ",", "standard_80387_constant_rtx", "(", "4", ")", ")", ";", "emit_insn", "(", "gen_fyl2x_xf3", "(", "op0", ",", "tmp2", ",", "tmp", ")", ")", ";", "emit_label", "(", "label2", ")", ";", "}", ""], "natrual_language": ["Output", "code", "to", "perform", "a", "log1p", "XFmode", "calculation", "."], "TS_V_token": ["i386", "\"0.29289321881345247561810596348408353\"", "4", "4"], "File": "i3863", "Func": "ix86_emit_i387_log1p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1402, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "*", "neon_output_shift_immediate", "(", "const", "char", "*", "mnem", ",", "char", "sign", ",", "rtx", "*", "op2", ",", "machine_mode", "mode", ",", "int", "quad", ",", "bool", "isleftshift", ")", "{", "int", "width", ",", "is_valid", ";", "static", "char", "templ", "[", "40", "]", ";", "is_valid", "=", "neon_immediate_valid_for_shift", "(", "*", "op2", ",", "mode", ",", "op2", ",", "&", "width", ",", "isleftshift", ")", ";", "gcc_assert", "(", "is_valid", "!=", "0", ")", ";", "if", "(", "quad", ")", "sprintf", "(", "templ", ",", "\"%s.%c%d\\t%%q0, %%q1, %%2\"", ",", "mnem", ",", "sign", ",", "width", ")", ";", "else", "sprintf", "(", "templ", ",", "\"%s.%c%d\\t%%P0, %%P1, %%2\"", ",", "mnem", ",", "sign", ",", "width", ")", ";", "return", "templ", ";", "}", ""], "natrual_language": ["Return", "a", "string", "suitable", "for", "output", "of", "Neon", "immediate", "shift", "operation", "(", "VSHR", "or", "VSHL", ")", "MNEM", "."], "TS_V_token": ["arm", "40", "0", "\"%s.%c%d\\t%%q0, %%q1, %%2\"", "\"%s.%c%d\\t%%P0, %%P1, %%2\""], "File": "arm", "Func": "neon_output_shift_immediate", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1403, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "breakPartialRegDependency", "(", "MachineInstr", "&", "MI", ",", "unsigned", "OpNum", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "unsigned", "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", ")", ")", "{", "unsigned", "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", ")", ";", "}", "}", ""], "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"], "File": "X86InstrInfo (2)1", "Func": "breakPartialRegDependency", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1404, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetELFStreamer", "::", "emitLabel", "(", "MCSymbol", "*", "Symbol", ")", "{", "ARMELFStreamer", "&", "Streamer", "=", "getStreamer", "(", ")", ";", "if", "(", "!", "Streamer", ".", "IsThumb", ")", "return", ";", "Streamer", ".", "getAssembler", "(", ")", ".", "registerSymbol", "(", "*", "Symbol", ")", ";", "unsigned", "Type", "=", "cast", "<", "MCSymbolELF", ">", "(", "Symbol", ")", "->", "getType", "(", ")", ";", "if", "(", "Type", "==", "ELF", "::", "STT_FUNC", "||", "Type", "==", "ELF", "::", "STT_GNU_IFUNC", ")", "Streamer", ".", "EmitThumbFunc", "(", "Symbol", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "label", "for", "Symbol", "into", "the", "current", "section", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMELFStreamer (2)", "Func": "emitLabel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1405, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "pa_output_millicode_call", "(", "rtx_insn", "*", "insn", ",", "rtx", "call_dest", ")", "{", "int", "attr_length", "=", "get_attr_length", "(", "insn", ")", ";", "int", "seq_length", "=", "dbr_sequence_length", "(", ")", ";", "rtx", "xoperands", "[", "4", "]", ";", "xoperands", "[", "0", "]", "=", "call_dest", ";", "if", "(", "!", "TARGET_LONG_CALLS", "&&", "(", "attr_length", "==", "8", "||", "(", "attr_length", "==", "28", "&&", "get_attr_type", "(", "insn", ")", "==", "TYPE_SH_FUNC_ADRS", ")", ")", ")", "{", "xoperands", "[", "1", "]", "=", "gen_rtx_REG", "(", "Pmode", ",", "TARGET_64BIT", "?", "2", ":", "31", ")", ";", "output_asm_insn", "(", "\"{bl|b,l} %0,%1\"", ",", "xoperands", ")", ";", "}", "else", "{", "if", "(", "TARGET_64BIT", ")", "{", "xoperands", "[", "1", "]", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "xoperands", "[", "2", "]", "=", "xoperands", "[", "1", "]", ";", "pa_output_pic_pcrel_sequence", "(", "xoperands", ")", ";", "output_asm_insn", "(", "\"bve,l (%%r1),%%r2\"", ",", "xoperands", ")", ";", "}", "else", "if", "(", "TARGET_PORTABLE_RUNTIME", ")", "{", "output_asm_insn", "(", "\"ldil L'%0,%%r1\"", ",", "xoperands", ")", ";", "output_asm_insn", "(", "\"ldo R'%0(%%r1),%%r1\"", ",", "xoperands", ")", ";", "output_asm_insn", "(", "\"{bl|b,l} .+8,%%r31\"", ",", "xoperands", ")", ";", "output_asm_insn", "(", "\"addi 8,%%r31,%%r31\"", ",", "xoperands", ")", ";", "output_asm_insn", "(", "\"bv %%r0(%%r1)\"", ",", "xoperands", ")", ";", "}", "else", "if", "(", "!", "flag_pic", ")", "{", "output_asm_insn", "(", "\"ldil L'%0,%%r1\"", ",", "xoperands", ")", ";", "if", "(", "TARGET_PA_20", ")", "output_asm_insn", "(", "\"be,l R'%0(%%sr4,%%r1),%%sr0,%%r31\"", ",", "xoperands", ")", ";", "else", "output_asm_insn", "(", "\"ble R'%0(%%sr4,%%r1)\"", ",", "xoperands", ")", ";", "}", "else", "{", "xoperands", "[", "1", "]", "=", "gen_rtx_REG", "(", "Pmode", ",", "31", ")", ";", "xoperands", "[", "2", "]", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "pa_output_pic_pcrel_sequence", "(", "xoperands", ")", ";", "output_asm_insn", "(", "\"ldo {16|24}(%%r31),%%r31\"", ",", "xoperands", ")", ";", "output_asm_insn", "(", "\"bv %%r0(%%r1)\"", ",", "xoperands", ")", ";", "}", "}", "if", "(", "seq_length", "==", "0", ")", "output_asm_insn", "(", "\"nop\"", ",", "xoperands", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["INSN", "is", "a", "function", "call", ".", "CALL_DEST", "is", "the", "routine", "we", "are", "calling", "."], "TS_V_token": ["pa", "4", "0", "8", "28", "1", "2", "31", "\"{bl|b,l} %0,%1\"", "1", "1", "2", "1", "\"bve,l (%%r1),%%r2\"", "\"ldil L'%0,%%r1\"", "\"ldo R'%0(%%r1),%%r1\"", "\"{bl|b,l} .+8,%%r31\"", "\"addi 8,%%r31,%%r31\"", "\"bv %%r0(%%r1)\"", "\"ldil L'%0,%%r1\"", "\"be,l R'%0(%%sr4,%%r1),%%sr0,%%r31\"", "\"ble R'%0(%%sr4,%%r1)\"", "1", "31", "2", "1", "\"ldo {16|24}(%%r31),%%r31\"", "\"bv %%r0(%%r1)\"", "0", "\"nop\"", "\"\""], "File": "pa", "Func": "pa_output_millicode_call", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1406, "Length": 272, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_coproc_mem_operand_wb", "(", "rtx", "op", ",", "int", "wb_level", ")", "{", "gcc_assert", "(", "wb_level", "==", "0", "||", "wb_level", "==", "1", "||", "wb_level", "==", "2", ")", ";", "rtx", "ind", ";", "if", "(", "!", "(", "reload_in_progress", "||", "reload_completed", "||", "lra_in_progress", ")", "&&", "(", "reg_mentioned_p", "(", "frame_pointer_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "arg_pointer_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "virtual_incoming_args_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "virtual_outgoing_args_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "virtual_stack_dynamic_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "virtual_stack_vars_rtx", ",", "op", ")", ")", ")", "return", "FALSE", ";", "if", "(", "!", "MEM_P", "(", "op", ")", ")", "return", "FALSE", ";", "ind", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "reload_completed", "&&", "(", "LABEL_REF_P", "(", "ind", ")", "||", "(", "GET_CODE", "(", "ind", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "ind", ",", "0", ")", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "ind", ",", "0", ")", ",", "0", ")", ")", "==", "LABEL_REF", "&&", "CONST_INT_P", "(", "XEXP", "(", "XEXP", "(", "ind", ",", "0", ")", ",", "1", ")", ")", ")", ")", ")", "return", "TRUE", ";", "if", "(", "REG_P", "(", "ind", ")", ")", "return", "arm_address_register_rtx_p", "(", "ind", ",", "0", ")", ";", "if", "(", "wb_level", ">", "0", "&&", "(", "GET_CODE", "(", "ind", ")", "==", "POST_INC", "||", "GET_CODE", "(", "ind", ")", "==", "PRE_DEC", "||", "(", "wb_level", ">", "1", "&&", "(", "GET_CODE", "(", "ind", ")", "==", "PRE_INC", "||", "GET_CODE", "(", "ind", ")", "==", "POST_DEC", ")", ")", ")", ")", "return", "arm_address_register_rtx_p", "(", "XEXP", "(", "ind", ",", "0", ")", ",", "0", ")", ";", "if", "(", "wb_level", ">", "1", "&&", "(", "GET_CODE", "(", "ind", ")", "==", "POST_MODIFY", "||", "GET_CODE", "(", "ind", ")", "==", "PRE_MODIFY", ")", "&&", "arm_address_register_rtx_p", "(", "XEXP", "(", "ind", ",", "0", ")", ",", "0", ")", "&&", "GET_CODE", "(", "XEXP", "(", "ind", ",", "1", ")", ")", "==", "PLUS", "&&", "rtx_equal_p", "(", "XEXP", "(", "XEXP", "(", "ind", ",", "1", ")", ",", "0", ")", ",", "XEXP", "(", "ind", ",", "0", ")", ")", ")", "ind", "=", "XEXP", "(", "ind", ",", "1", ")", ";", "int", "factor", "=", "MIN", "(", "GET_MODE_SIZE", "(", "GET_MODE", "(", "op", ")", ")", ",", "4", ")", ";", "if", "(", "GET_CODE", "(", "ind", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "ind", ",", "0", ")", ")", "&&", "REG_MODE_OK_FOR_BASE_P", "(", "XEXP", "(", "ind", ",", "0", ")", ",", "VOIDmode", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "ind", ",", "1", ")", ")", "&&", "IN_RANGE", "(", "INTVAL", "(", "XEXP", "(", "ind", ",", "1", ")", ")", ",", "-", "255", "*", "factor", ",", "255", "*", "factor", ")", "&&", "(", "INTVAL", "(", "XEXP", "(", "ind", ",", "1", ")", ")", "&", "(", "factor", "-", "1", ")", ")", "==", "0", ")", "return", "TRUE", ";", "return", "FALSE", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "OP", "is", "a", "valid", "coprocessor", "memory", "address", "pattern", ".", "WB", "level", "is", "2", "if", "full", "writeback", "address", "modes", "are", "allowed", ",", "1", "if", "limited", "writeback", "address", "modes", "(", "POST_INC", "and", "PRE_DEC", ")", "are", "allowed", "and", "0", "if", "no", "writeback", "at", "all", "is", "supported", "."], "TS_V_token": ["arm", "0", "1", "2", "0", "0", "0", "0", "0", "1", "0", "0", "1", "0", "0", "1", "0", "0", "1", "1", "0", "0", "1", "4", "0", "0", "1", "1", "255", "255", "1", "1", "0"], "File": "arm", "Func": "arm_coproc_mem_operand_wb", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1407, "Length": 428, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "X86TargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "X86PassConfig", "*", "PC", "=", "new", "X86PassConfig", "(", "this", ",", "PM", ")", ";", "if", "(", "Subtarget", ".", "hasCMov", "(", ")", ")", "PC", "->", "enablePass", "(", "&", "EarlyIfConverterID", ")", ";", "return", "PC", ";", "}", ""], "natrual_language": ["Create", "a", "pass", "configuration", "object", "to", "be", "used", "by", "addPassToEmitX", "methods", "for", "generating", "a", "pipeline", "of", "CodeGen", "passes", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86TargetMachine50", "Func": "createPassConfig", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1408, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "aarch64_hard_regno_nregs", "(", "unsigned", "regno", ",", "machine_mode", "mode", ")", "{", "switch", "(", "aarch64_regno_regclass", "(", "regno", ")", ")", "{", "case", "FP_REGS", ":", "case", "FP_LO_REGS", ":", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_VREG", "-", "1", ")", "/", "UNITS_PER_VREG", ";", "default", ":", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "HARD_REGNO_NREGS", "."], "TS_V_token": ["aarch64", "1", "1"], "File": "aarch642", "Func": "aarch64_hard_regno_nregs", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1409, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_binary_operator", "(", "enum", "rtx_code", "code", ",", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ")", "{", "rtx", "src1", ",", "src2", ",", "dst", ",", "op", ",", "clob", ";", "dst", "=", "ix86_fixup_binary_operands", "(", "code", ",", "mode", ",", "operands", ")", ";", "src1", "=", "operands", "[", "1", "]", ";", "src2", "=", "operands", "[", "2", "]", ";", "op", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "dst", ",", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "src1", ",", "src2", ")", ")", ";", "if", "(", "reload_in_progress", ")", "{", "gcc_assert", "(", "code", "==", "PLUS", ")", ";", "emit_insn", "(", "op", ")", ";", "}", "else", "if", "(", "reload_completed", "&&", "code", "==", "PLUS", "&&", "!", "rtx_equal_p", "(", "dst", ",", "src1", ")", ")", "{", "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", "binary", "operator", ".", "Make", "the", "expansion", "closer", "to", "the", "actual", "machine", ",", "then", "just", "general_operand", ",", "which", "will", "allow", "3", "separate", "memory", "references", "(", "one", "output", ",", "two", "input", ")", "in", "a", "single", "insn", "."], "TS_V_token": ["i386", "1", "2", "2", "0", "0"], "File": "i3864", "Func": "ix86_expand_binary_operator", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1410, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_r3_live_at_start_p", "(", "void", ")", "{", "return", "REGNO_REG_SET_P", "(", "df_get_live_out", "(", "ENTRY_BLOCK_PTR_FOR_FN", "(", "cfun", ")", ")", ",", "3", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "r3", "is", "live", "at", "the", "start", "of", "the", "function", "."], "TS_V_token": ["arm", "3"], "File": "arm", "Func": "arm_r3_live_at_start_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1411, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "mips_machine_reorg2", "(", "void", ")", "{", "mips_reorg_process_insns", "(", ")", ";", "if", "(", "!", "TARGET_MIPS16", "&&", "TARGET_EXPLICIT_RELOCS", "&&", "TUNE_MIPS4130", "&&", "TARGET_VR4130_ALIGN", ")", "vr4130_align_insns", "(", ")", ";", "if", "(", "mips_expand_ghost_gp_insns", "(", ")", ")", "mips_reorg_process_insns", "(", ")", ";", "mips16_split_long_branches", "(", ")", ";", "mips_insert_insn_pseudos", "(", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["We", "use", "a", "machine", "specific", "pass", "to", "do", "a", "second", "machine", "dependent", "reorg", "pass", "after", "delay", "branch", "scheduling", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips_machine_reorg2", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1412, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ",", "Instruction", "*", "I", ")", "const", "{", "if", "(", "Ty", "->", "isVectorTy", "(", ")", "&&", "AM", ".", "BaseOffs", "!=", "0", ")", "return", "false", ";", "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", "0", "1LL", "16", "1LL", "16", "1", "0", "1", "2"], "File": "PPCISelLowering (2)7", "Func": "isLegalAddressingMode", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1413, "Length": 140, "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": ["SIC"], "File": "SICAsmBackend", "Func": "relaxInstruction", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1414, "Length": 21, "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_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", "}", "}", ";", "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_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", "\"Invalid kind!\""], "File": "Cpu0AsmBackend2", "Func": "getFixupKindInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1415, "Length": 305, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "i386_output_dwarf_dtprel", "(", "FILE", "*", "file", ",", "int", "size", ",", "rtx", "x", ")", "{", "fputs", "(", "ASM_LONG", ",", "file", ")", ";", "output_addr_const", "(", "file", ",", "x", ")", ";", "fputs", "(", "\"@DTPOFF\"", ",", "file", ")", ";", "switch", "(", "size", ")", "{", "case", "4", ":", "break", ";", "case", "8", ":", "fputs", "(", "\", 0\"", ",", "file", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["This", "is", "called", "from", "dwarf2out.cc", "via", "TARGET_ASM_OUTPUT_DWARF_DTPREL", ".", "We", "need", "to", "emit", "DTP-relative", "relocations", "."], "TS_V_token": ["i386", "\"@DTPOFF\"", "4", "8", "\", 0\""], "File": "i3863", "Func": "i386_output_dwarf_dtprel", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1416, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "FISCRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "FISC", "::", "SP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["FISC", "FISC", "FISC::SP"], "File": "FISCRegisterInfo", "Func": "getFrameRegister", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1417, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FastISel", "*", "ARM", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "funcInfo", ",", "const", "TargetLibraryInfo", "*", "libInfo", ")", "{", "const", "TargetMachine", "&", "TM", "=", "funcInfo", ".", "MF", "->", "getTarget", "(", ")", ";", "const", "ARMSubtarget", "&", "STI", "=", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "funcInfo", ".", "MF", "->", "getSubtarget", "(", ")", ")", ";", "bool", "UseFastISel", "=", "false", ";", "UseFastISel", "|=", "STI", ".", "isTargetMachO", "(", ")", "&&", "!", "STI", ".", "isThumb1Only", "(", ")", ";", "UseFastISel", "|=", "STI", ".", "isTargetLinux", "(", ")", "&&", "!", "STI", ".", "isThumb", "(", ")", ";", "UseFastISel", "|=", "STI", ".", "isTargetNaCl", "(", ")", "&&", "!", "STI", ".", "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": "ARMFastISel17", "Func": "createFastISel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1418, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_use_by_pieces_infrastructure_p", "(", "unsigned", "HOST_WIDE_INT", "size", ",", "unsigned", "int", "align", ",", "enum", "by_pieces_operation", "op", ",", "bool", "speed_p", ")", "{", "if", "(", "op", "==", "STORE_BY_PIECES", ")", "return", "mips_store_by_pieces_p", "(", "size", ",", "align", ")", ";", "if", "(", "op", "==", "MOVE_BY_PIECES", "&&", "HAVE_cpymemsi", ")", "{", "if", "(", "currently_expanding_to_rtl", ")", "return", "false", ";", "if", "(", "align", "<", "BITS_PER_WORD", ")", "return", "size", "<", "UNITS_PER_WORD", ";", "return", "size", "<=", "MIPS_MAX_MOVE_BYTES_STRAIGHT", ";", "}", "return", "default_use_by_pieces_infrastructure_p", "(", "size", ",", "align", ",", "op", ",", "speed_p", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_USE_MOVE_BY_PIECES_INFRASTRUCTURE_P", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_use_by_pieces_infrastructure_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1419, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiTargetObjectFile", "::", "isConstantInSmallSection", "(", "const", "DataLayout", "&", "DL", ",", "const", "Constant", "*", "CN", ")", "const", "{", "return", "isInSmallSection", "(", "DL", ".", "getTypeAllocSize", "(", "CN", "->", "getType", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "constant", "should", "be", "placed", "into", "small", "data", "section", "."], "TS_V_token": ["Lanai", "Lanai"], "File": "LanaiTargetObjectFile", "Func": "isConstantInSmallSection", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1420, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "fma_forest", "::", "fma_node_created", "(", "fma_node", "*", "node", ")", "{", "bool", "created", "=", "!", "this", "->", "m_globals", "->", "put_node", "(", "node", ")", ";", "gcc_assert", "(", "created", ")", ";", "this", "->", "m_nb_nodes", "++", ";", "}", ""], "natrual_language": ["Act", "on", "the", "creation", "of", "NODE", "by", "updating", "statistics", "in", "FOREST", "and", "adding", "an", "entry", "for", "it", "in", "the", "func_fma_steering", "hashmap", "."], "TS_V_token": ["aarch64"], "File": "cortex-a57-fma-steering", "Func": "fma_node_created", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1421, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "mips_debugger_offset", "(", "rtx", "addr", ",", "HOST_WIDE_INT", "offset", ")", "{", "rtx", "offset2", "=", "const0_rtx", ";", "rtx", "reg", "=", "eliminate_constant_term", "(", "addr", ",", "&", "offset2", ")", ";", "if", "(", "offset", "==", "0", ")", "offset", "=", "INTVAL", "(", "offset2", ")", ";", "if", "(", "reg", "==", "stack_pointer_rtx", "||", "reg", "==", "frame_pointer_rtx", "||", "reg", "==", "hard_frame_pointer_rtx", ")", "{", "offset", "-=", "cfun", "->", "machine", "->", "frame", ".", "total_size", ";", "if", "(", "reg", "==", "hard_frame_pointer_rtx", ")", "offset", "+=", "cfun", "->", "machine", "->", "frame", ".", "hard_frame_pointer_offset", ";", "}", "return", "offset", ";", "}", ""], "natrual_language": ["The", "MIPS", "debug", "format", "wants", "all", "automatic", "variables", "and", "arguments", "to", "be", "in", "terms", "of", "the", "virtual", "frame", "pointer", "(", "stack", "pointer", "before", "any", "adjustment", "in", "the", "function", ")", ",", "while", "the", "MIPS", "3.0", "linker", "wants", "the", "frame", "pointer", "to", "be", "the", "stack", "pointer", "after", "the", "initial", "adjustment", ".", "So", ",", "we", "do", "the", "adjustment", "here", ".", "The", "arg", "pointer", "(", "which", "is", "eliminated", ")", "points", "to", "the", "virtual", "frame", "pointer", ",", "while", "the", "frame", "pointer", "(", "which", "may", "be", "eliminated", ")", "points", "to", "the", "stack", "pointer", "after", "the", "initial", "adjustments", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips_debugger_offset", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1422, "Length": 85, "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": 1423, "Length": 154, "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": ["VE"], "File": "VEAsmParser (2)", "Func": "isReg", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1424, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "or1k_function_value", "(", "const_tree", "valtype", ",", "const_tree", ",", "bool", ")", "{", "return", "gen_rtx_REG", "(", "TYPE_MODE", "(", "valtype", ")", ",", "RV_REGNUM", ")", ";", "}", ""], "natrual_language": ["Worker", "for", "TARGET_FUNCTION_VALUE", ".", "Returns", "an", "RTX", "representing", "the", "location", "where", "function", "return", "values", "will", "be", "stored", ".", "On", "OpenRISC", "this", "is", "the", "register", "r11", ".", "64-bit", "return", "value", "'s", "upper", "32-bits", "are", "returned", "in", "r12", ",", "this", "is", "automatically", "done", "by", "GCC", "."], "TS_V_token": ["or1k"], "File": "or1k", "Func": "or1k_function_value", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1425, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "fpop_insn_p", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "SET", ")", "return", "false", ";", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_FPMOVE", ":", "case", "TYPE_FPCMOVE", ":", "case", "TYPE_FP", ":", "case", "TYPE_FPCMP", ":", "case", "TYPE_FPMUL", ":", "case", "TYPE_FPDIVS", ":", "case", "TYPE_FPSQRTS", ":", "case", "TYPE_FPDIVD", ":", "case", "TYPE_FPSQRTD", ":", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["True", "if", "INSN", "is", "a", "floating-point", "instruction", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "fpop_insn_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1426, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isImm", "(", ")", "const", "override", "{", "return", "Kind", "==", "KindTy", "::", "Immediate", ";", "}", ""], "natrual_language": ["isImm", "-", "Is", "this", "an", "immediate", "operand", "?"], "TS_V_token": ["LoongArch"], "File": "LoongArchAsmParser", "Func": "isImm", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1427, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_set_fast_mult_zero_zero_p", "(", "struct", "mips_sim", "*", "state", ")", "{", "if", "(", "TARGET_MIPS16", "||", "!", "ISA_HAS_HILO", ")", "mips_tuning_info", ".", "fast_mult_zero_zero_p", "=", "true", ";", "else", "{", "unsigned", "int", "true_time", "=", "mips_mult_zero_zero_cost", "(", "state", ",", "true", ")", ";", "unsigned", "int", "false_time", "=", "mips_mult_zero_zero_cost", "(", "state", ",", "false", ")", ";", "mips_tuning_info", ".", "fast_mult_zero_zero_p", "=", "(", "true_time", "<=", "false_time", ")", ";", "}", "}", ""], "natrual_language": ["Check", "the", "relative", "speeds", "of", "``", "MULT", "$", "0", ",", "$", "0", "''", "and", "``", "MTLO", "$", "0", ";", "MTHI", "$", "0", "''", "and", "set", "up", "mips_tuning_info.fast_mult_zero_zero_p", "accordingly", ".", "Prefer", "MULT", "--", "which", "is", "shorter", "--", "in", "the", "event", "of", "a", "tie", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_set_fast_mult_zero_zero_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1428, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sizeless_type_p", "(", "const_tree", "type", ")", "{", "if", "(", "type", "==", "error_mark_node", ")", "return", "NULL_TREE", ";", "return", "lookup_attribute", "(", "\"SVE sizeless type\"", ",", "TYPE_ATTRIBUTES", "(", "type", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "TYPE", "is", "a", "sizeless", "type", "."], "TS_V_token": ["aarch64", "\"SVE sizeless type\""], "File": "aarch64-sve-builtins", "Func": "sizeless_type_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1429, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CSKYDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "if", "(", "N", "->", "isMachineOpcode", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"== \"", ";", "N", "->", "dump", "(", "CurDAG", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "N", "->", "setNodeId", "(", "-", "1", ")", ";", "return", ";", "}", "SDLoc", "Dl", "(", "N", ")", ";", "unsigned", "Opcode", "=", "N", "->", "getOpcode", "(", ")", ";", "bool", "IsSelected", "=", "false", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "break", ";", "}", "if", "(", "IsSelected", ")", "return", ";", "SelectCode", "(", "N", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["CSKY", "CSKY", "\"== \"", "\"\\n\"", "1"], "File": "CSKYISelDAGToDAG2", "Func": "Select", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1430, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "unsigned", "DestReg", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MBBI", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "*", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "Align", "=", "MFI", ".", "getObjectAlignment", "(", "FrameIdx", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "FrameIdx", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FrameIdx", ")", ",", "Align", ")", ";", "unsigned", "LoadOp", "=", "0", ";", "if", "(", "RC", "->", "hasType", "(", "MVT", "::", "i64", ")", "||", "RC", "->", "hasType", "(", "MVT", "::", "i32", ")", ")", "{", "switch", "(", "RC", "->", "getSize", "(", ")", ")", "{", "case", "4", ":", "LoadOp", "=", "AArch64", "::", "LS32_LDR", ";", "break", ";", "case", "8", ":", "LoadOp", "=", "AArch64", "::", "LS64_LDR", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Unknown size for regclass\"", ")", ";", "}", "}", "else", "{", "assert", "(", "(", "RC", "->", "hasType", "(", "MVT", "::", "f32", ")", "||", "RC", "->", "hasType", "(", "MVT", "::", "f64", ")", "||", "RC", "->", "hasType", "(", "MVT", "::", "f128", ")", ")", "&&", "\"Expected integer or floating type for store\"", ")", ";", "switch", "(", "RC", "->", "getSize", "(", ")", ")", "{", "case", "4", ":", "LoadOp", "=", "AArch64", "::", "LSFP32_LDR", ";", "break", ";", "case", "8", ":", "LoadOp", "=", "AArch64", "::", "LSFP64_LDR", ";", "break", ";", "case", "16", ":", "LoadOp", "=", "AArch64", "::", "LSFP128_LDR", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Unknown size for regclass\"", ")", ";", "}", "}", "MachineInstrBuilder", "NewMI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "LoadOp", ")", ",", "DestReg", ")", ";", "NewMI", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["AArch64", "AArch64", "0", "MVT::i64", "MVT::i32", "4", "AArch64::LS32_LDR", "8", "AArch64::LS64_LDR", "\"Unknown size for regclass\"", "MVT::f32", "MVT::f64", "MVT::f128", "\"Expected integer or floating type for store\"", "4", "AArch64::LSFP32_LDR", "8", "AArch64::LSFP64_LDR", "16", "AArch64::LSFP128_LDR", "\"Unknown size for regclass\"", "0"], "File": "AArch64InstrInfo101", "Func": "loadRegFromStackSlot", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1431, "Length": 293, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "crx_fixed_condition_code_regs", "(", "unsigned", "int", "*", "p1", ",", "unsigned", "int", "*", "p2", ")", "{", "*", "p1", "=", "CC_REGNUM", ";", "*", "p2", "=", "INVALID_REGNUM", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "the", "fixed", "registers", "used", "for", "condition", "codes", "."], "TS_V_token": ["crx"], "File": "crx", "Func": "crx_fixed_condition_code_regs", "Target": "crx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1432, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsExpandPseudo", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "STI", "=", "&", "static_cast", "<", "const", "MipsSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "MFI", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "MFI", "!=", "E", ";", "++", "MFI", ")", "Modified", "|=", "expandMBB", "(", "*", "MFI", ")", ";", "if", "(", "Modified", ")", "MF", ".", "RenumberBlocks", "(", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsExpandPseudo12", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1433, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Mips Machine Code Emitter\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"Mips Machine Code Emitter\""], "File": "MipsCodeEmitter", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1434, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_emit_nops", "(", ")", "{", "rtx", "insn", ";", "const", "struct", "bundle", "*", "b", "=", "0", ";", "int", "bundle_pos", "=", "0", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "rtx", "pat", ";", "enum", "attr_type", "t", ";", "pat", "=", "INSN_P", "(", "insn", ")", "?", "PATTERN", "(", "insn", ")", ":", "const0_rtx", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "USE", "||", "GET_CODE", "(", "pat", ")", "==", "CLOBBER", ")", "continue", ";", "if", "(", "(", "GET_CODE", "(", "pat", ")", "==", "UNSPEC", "&&", "XINT", "(", "pat", ",", "1", ")", "==", "22", ")", "||", "GET_CODE", "(", "insn", ")", "==", "CODE_LABEL", ")", "{", "if", "(", "b", ")", "while", "(", "bundle_pos", "<", "3", ")", "{", "emit_insn_before", "(", "gen_nop_type", "(", "b", "->", "t", "[", "bundle_pos", "]", ")", ",", "insn", ")", ";", "bundle_pos", "++", ";", "}", "if", "(", "GET_CODE", "(", "insn", ")", "!=", "CODE_LABEL", ")", "b", "=", "bundle", "+", "INTVAL", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ")", ";", "else", "b", "=", "0", ";", "bundle_pos", "=", "0", ";", "continue", ";", "}", "else", "if", "(", "GET_CODE", "(", "pat", ")", "==", "UNSPEC_VOLATILE", "&&", "XINT", "(", "pat", ",", "1", ")", "==", "2", ")", "{", "int", "t", "=", "INTVAL", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ")", ";", "if", "(", "b", ")", "while", "(", "bundle_pos", "<", "t", ")", "{", "emit_insn_before", "(", "gen_nop_type", "(", "b", "->", "t", "[", "bundle_pos", "]", ")", ",", "insn", ")", ";", "bundle_pos", "++", ";", "}", "continue", ";", "}", "if", "(", "bundle_pos", "==", "3", ")", "b", "=", "0", ";", "if", "(", "b", "&&", "INSN_P", "(", "insn", ")", ")", "{", "t", "=", "ia64_safe_type", "(", "insn", ")", ";", "if", "(", "asm_noperands", "(", "PATTERN", "(", "insn", ")", ")", ">=", "0", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "ASM_INPUT", ")", "{", "while", "(", "bundle_pos", "<", "3", ")", "{", "emit_insn_before", "(", "gen_nop_type", "(", "b", "->", "t", "[", "bundle_pos", "]", ")", ",", "insn", ")", ";", "bundle_pos", "++", ";", "}", "continue", ";", "}", "if", "(", "t", "==", "TYPE_UNKNOWN", ")", "continue", ";", "while", "(", "bundle_pos", "<", "3", ")", "{", "if", "(", "t", "==", "b", "->", "t", "[", "bundle_pos", "]", "||", "(", "t", "==", "TYPE_A", "&&", "(", "b", "->", "t", "[", "bundle_pos", "]", "==", "TYPE_M", "||", "b", "->", "t", "[", "bundle_pos", "]", "==", "TYPE_I", ")", ")", ")", "break", ";", "emit_insn_before", "(", "gen_nop_type", "(", "b", "->", "t", "[", "bundle_pos", "]", ")", ",", "insn", ")", ";", "bundle_pos", "++", ";", "}", "if", "(", "bundle_pos", "<", "3", ")", "bundle_pos", "++", ";", "}", "}", "}", ""], "natrual_language": ["After", "the", "last", "scheduling", "pass", ",", "fill", "in", "NOPs", ".", "It", "'s", "easier", "to", "do", "this", "here", "than", "while", "scheduling", "."], "TS_V_token": ["ia64", "0", "0", "1", "22", "3", "0", "0", "0", "0", "1", "2", "0", "0", "3", "0", "0", "3", "3", "3"], "File": "ia642", "Func": "ia64_emit_nops", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1435, "Length": 406, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsCCState", "::", "originalEVTTypeIsVectorFloat", "(", "EVT", "Ty", ")", "{", "if", "(", "Ty", ".", "isVector", "(", ")", "&&", "Ty", ".", "getVectorElementType", "(", ")", ".", "isFloatingPoint", "(", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "original", "type", "was", "vXfXX", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsCCState9", "Func": "originalEVTTypeIsVectorFloat", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1436, "Length": 34, "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", ",", "\"%qs attribute only applies to functions\"", ",", "IDENTIFIER_POINTER", "(", "name", ")", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "}", "else", "{", "if", "(", "TREE_CODE", "(", "*", "node", ")", "==", "FUNCTION_TYPE", "||", "TREE_CODE", "(", "*", "node", ")", "==", "METHOD_TYPE", ")", "{", "if", "(", "arm_isr_value", "(", "args", ")", "==", "ARM_FT_UNKNOWN", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qs attribute ignored\"", ",", "IDENTIFIER_POINTER", "(", "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", ",", "\"%qs attribute ignored\"", ",", "IDENTIFIER_POINTER", "(", "name", ")", ")", ";", "}", "}", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "an", "``", "interrupt", "''", "or", "``", "isr", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["arm", "\"%qs attribute only applies to functions\"", "\"%qs attribute ignored\"", "\"%qs attribute ignored\""], "File": "arm3", "Func": "arm_handle_isr_attribute", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1437, "Length": 261, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb1FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "Thumb1InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "Thumb1InstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "const", "Thumb1RegisterInfo", "*", "RegInfo", "=", "static_cast", "<", "const", "Thumb1RegisterInfo", "*", ">", "(", "STI", ".", "getRegisterInfo", "(", ")", ")", ";", "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", ";", "unsigned", "Opc", "=", "Old", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "ARM", "::", "ADJCALLSTACKDOWN", "||", "Opc", "==", "ARM", "::", "tADJCALLSTACKDOWN", ")", "{", "emitSPUpdate", "(", "MBB", ",", "I", ",", "TII", ",", "dl", ",", "*", "RegInfo", ",", "-", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Opc", "==", "ARM", "::", "ADJCALLSTACKUP", "||", "Opc", "==", "ARM", "::", "tADJCALLSTACKUP", ")", ";", "emitSPUpdate", "(", "MBB", ",", "I", ",", "TII", ",", "dl", ",", "*", "RegInfo", ",", "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": ["ARM", "0", "0", "1", "ARM::ADJCALLSTACKDOWN", "ARM::tADJCALLSTACKDOWN", "ARM::ADJCALLSTACKUP", "ARM::tADJCALLSTACKUP"], "File": "Thumb1FrameLowering28", "Func": "eliminateCallFramePseudoInstr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1438, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "split_stack_arg_pointer_used_p", "(", "void", ")", "{", "if", "(", "cfun", "->", "machine", "->", "split_stack_arg_pointer", "!=", "NULL_RTX", "&&", "(", "!", "REG_P", "(", "cfun", "->", "machine", "->", "split_stack_arg_pointer", ")", "||", "(", "REGNO", "(", "cfun", "->", "machine", "->", "split_stack_arg_pointer", ")", "<", "FIRST_PSEUDO_REGISTER", ")", ")", ")", "return", "true", ";", "rtx_insn", "*", "insn", ";", "basic_block", "bb", "=", "ENTRY_BLOCK_PTR_FOR_FN", "(", "cfun", ")", "->", "next_bb", ";", "FOR_BB_INSNS", "(", "bb", ",", "insn", ")", "if", "(", "NONDEBUG_INSN_P", "(", "insn", ")", ")", "{", "if", "(", "CALL_P", "(", "insn", ")", ")", "return", "false", ";", "df_ref", "use", ";", "FOR_EACH_INSN_USE", "(", "use", ",", "insn", ")", "{", "rtx", "x", "=", "DF_REF_REG", "(", "use", ")", ";", "if", "(", "REG_P", "(", "x", ")", "&&", "REGNO", "(", "x", ")", "==", "12", ")", "return", "true", ";", "}", "df_ref", "def", ";", "FOR_EACH_INSN_DEF", "(", "def", ",", "insn", ")", "{", "rtx", "x", "=", "DF_REF_REG", "(", "def", ")", ";", "if", "(", "REG_P", "(", "x", ")", "&&", "REGNO", "(", "x", ")", "==", "12", ")", "return", "false", ";", "}", "}", "return", "bitmap_bit_p", "(", "DF_LR_OUT", "(", "bb", ")", ",", "12", ")", ";", "}", ""], "natrual_language": ["Return", "whether", "the", "split-stack", "arg", "pointer", "(", "r12", ")", "is", "used", "."], "TS_V_token": ["powerpcspe", "12", "12", "12"], "File": "powerpcspe", "Func": "split_stack_arg_pointer_used_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1439, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetMachine", "::", "resetSubtarget", "(", "MachineFunction", "*", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"resetSubtarget\\n\"", ")", ";", "Subtarget", "=", "&", "MF", "->", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "}", ""], "natrual_language": ["Reset", "the", "subtarget", "for", "the", "Mips", "target", "."], "TS_V_token": ["Mips", "Mips", "\"resetSubtarget\\n\"", "Mips"], "File": "MipsTargetMachine (2)1", "Func": "resetSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1440, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86TargetLowering", "::", "ConstraintType", "X86TargetLowering", "::", "getConstraintType", "(", "const", "std", "::", "string", "&", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'R'", ":", "case", "'q'", ":", "case", "'Q'", ":", "case", "'f'", ":", "case", "'t'", ":", "case", "'u'", ":", "case", "'y'", ":", "case", "'x'", ":", "case", "'Y'", ":", "return", "C_RegisterClass", ";", "case", "'a'", ":", "case", "'b'", ":", "case", "'c'", ":", "case", "'d'", ":", "case", "'S'", ":", "case", "'D'", ":", "case", "'A'", ":", "return", "C_Register", ";", "case", "'I'", ":", "case", "'J'", ":", "case", "'K'", ":", "case", "'L'", ":", "case", "'M'", ":", "case", "'N'", ":", "case", "'G'", ":", "case", "'C'", ":", "case", "'e'", ":", "case", "'Z'", ":", "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": ["X86", "X86", "X86", "1", "0"], "File": "X86ISelLowering170", "Func": "getConstraintType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1441, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_darwin64_record_arg_flush", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "HOST_WIDE_INT", "bitpos", ",", "rtx", "rvec", "[", "]", ",", "int", "*", "k", ")", "{", "enum", "machine_mode", "mode", ";", "unsigned", "int", "regno", ";", "unsigned", "int", "startbit", ",", "endbit", ";", "int", "this_regno", ",", "intregs", ",", "intoffset", ";", "rtx", "reg", ";", "if", "(", "cum", "->", "intoffset", "==", "-", "1", ")", "return", ";", "intoffset", "=", "cum", "->", "intoffset", ";", "cum", "->", "intoffset", "=", "-", "1", ";", "if", "(", "intoffset", "%", "BITS_PER_WORD", "!=", "0", ")", "{", "mode", "=", "mode_for_size", "(", "BITS_PER_WORD", "-", "intoffset", "%", "BITS_PER_WORD", ",", "MODE_INT", ",", "0", ")", ";", "if", "(", "mode", "==", "BLKmode", ")", "{", "intoffset", "=", "intoffset", "&", "-", "BITS_PER_WORD", ";", "mode", "=", "word_mode", ";", "}", "}", "else", "mode", "=", "word_mode", ";", "startbit", "=", "intoffset", "&", "-", "BITS_PER_WORD", ";", "endbit", "=", "(", "bitpos", "+", "BITS_PER_WORD", "-", "1", ")", "&", "-", "BITS_PER_WORD", ";", "intregs", "=", "(", "endbit", "-", "startbit", ")", "/", "BITS_PER_WORD", ";", "this_regno", "=", "cum", "->", "words", "+", "intoffset", "/", "BITS_PER_WORD", ";", "if", "(", "intregs", ">", "0", "&&", "intregs", ">", "GP_ARG_NUM_REG", "-", "this_regno", ")", "cum", "->", "use_stack", "=", "1", ";", "intregs", "=", "MIN", "(", "intregs", ",", "GP_ARG_NUM_REG", "-", "this_regno", ")", ";", "if", "(", "intregs", "<=", "0", ")", "return", ";", "intoffset", "/=", "BITS_PER_UNIT", ";", "do", "{", "regno", "=", "GP_ARG_MIN_REG", "+", "this_regno", ";", "reg", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "rvec", "[", "(", "*", "k", ")", "++", "]", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "reg", ",", "GEN_INT", "(", "intoffset", ")", ")", ";", "this_regno", "+=", "1", ";", "intoffset", "=", "(", "intoffset", "|", "(", "UNITS_PER_WORD", "-", "1", ")", ")", "+", "1", ";", "mode", "=", "word_mode", ";", "intregs", "-=", "1", ";", "}", "while", "(", "intregs", ">", "0", ")", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "rs6000_darwin64_record_arg", ".", "Assign", "the", "bits", "of", "the", "structure", "between", "cum-", ">", "intoffset", "and", "bitpos", "to", "integer", "registers", "."], "TS_V_token": ["rs6000", "1", "1", "0", "0", "1", "0", "1", "0", "1", "1", "1", "1", "0"], "File": "rs60003", "Func": "rs6000_darwin64_record_arg_flush", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1442, "Length": 272, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "iq2000_print_operand_address", "(", "FILE", "*", "file", ",", "machine_mode", "mode", ",", "rtx", "addr", ")", "{", "if", "(", "!", "addr", ")", "error", "(", "\"%, 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", ",", "mode", ",", "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", "\"%, 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": "iq2000", "Func": "iq2000_print_operand_address", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1443, "Length": 374, "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": 1444, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "processFunctionBeforeFrameIndicesReplaced", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "if", "(", "STI", ".", "is32Bit", "(", ")", "&&", "MF", ".", "hasEHFunclets", "(", ")", ")", "restoreWinEHStackPointersInParent", "(", "MF", ")", ";", "}", ""], "natrual_language": ["processFunctionBeforeFrameIndicesReplaced", "-", "This", "method", "is", "called", "immediately", "before", "MO_FrameIndex", "operands", "are", "eliminated", ",", "but", "after", "the", "frame", "is", "finalized", "."], "TS_V_token": ["X86", "X86"], "File": "X86FrameLowering (2)3", "Func": "processFunctionBeforeFrameIndicesReplaced", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1445, "Length": 35, "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": 1446, "Length": 176, "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": 1447, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "inlineStackProbe", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "PrologMBB", ")", "const", "{", "auto", "Where", "=", "llvm", "::", "find_if", "(", "PrologMBB", ",", "[", "]", "(", "MachineInstr", "&", "MI", ")", "{", "return", "MI", ".", "getOpcode", "(", ")", "==", "X86", "::", "STACKALLOC_W_PROBING", ";", "}", ")", ";", "if", "(", "Where", "!=", "PrologMBB", ".", "end", "(", ")", ")", "{", "DebugLoc", "DL", "=", "PrologMBB", ".", "findDebugLoc", "(", "Where", ")", ";", "emitStackProbeInline", "(", "MF", ",", "PrologMBB", ",", "Where", ",", "DL", ",", "true", ")", ";", "Where", "->", "eraseFromParent", "(", ")", ";", "}", "}", ""], "natrual_language": ["Replace", "a", "StackProbe", "inline-stub", "with", "the", "actual", "probe", "code", "inline", "."], "TS_V_token": ["X86", "X86", "X86::STACKALLOC_W_PROBING"], "File": "X86FrameLowering (2)3", "Func": "inlineStackProbe", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1448, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86FrameLowering", "::", "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", ")", ";", "PI", "=", "skipDebugInstructionsBackward", "(", "PI", ",", "MBB", ".", "begin", "(", ")", ")", ";", "if", "(", "NI", "!=", "nullptr", ")", "NI", "=", "skipDebugInstructionsForward", "(", "NI", ",", "MBB", ".", "end", "(", ")", ")", ";", "unsigned", "Opc", "=", "PI", "->", "getOpcode", "(", ")", ";", "int", "Offset", "=", "0", ";", "if", "(", "!", "doMergeWithPrevious", "&&", "NI", "!=", "MBB", ".", "end", "(", ")", "&&", "NI", "->", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", "{", "return", "Offset", ";", "}", "if", "(", "(", "Opc", "==", "X86", "::", "ADD64ri32", "||", "Opc", "==", "X86", "::", "ADD64ri8", "||", "Opc", "==", "X86", "::", "ADD32ri", "||", "Opc", "==", "X86", "::", "ADD32ri8", ")", "&&", "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", "==", "X86", "::", "LEA32r", "||", "Opc", "==", "X86", "::", "LEA64_32r", ")", "&&", "PI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "StackPtr", "&&", "PI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "StackPtr", "&&", "PI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "1", "&&", "PI", "->", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", "==", "X86", "::", "NoRegister", "&&", "PI", "->", "getOperand", "(", "5", ")", ".", "getReg", "(", ")", "==", "X86", "::", "NoRegister", ")", "{", "Offset", "+=", "PI", "->", "getOperand", "(", "4", ")", ".", "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", ")", "{", "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": ["X86", "X86", "0", "0", "X86::ADD64ri32", "X86::ADD64ri8", "X86::ADD32ri", "X86::ADD32ri8", "0", "1", "2", "X86::LEA32r", "X86::LEA64_32r", "0", "1", "2", "1", "3", "X86::NoRegister", "5", "X86::NoRegister", "4", "X86::SUB64ri32", "X86::SUB64ri8", "X86::SUB32ri", "X86::SUB32ri8", "0", "1", "2"], "File": "X86FrameLowering (2)2", "Func": "mergeSPUpdates", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1449, "Length": 454, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LC3bFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["LC3b", "LC3b"], "File": "LC3bFrameLowering", "Func": "emitEpilogue", "Target": "LC3b", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1450, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPreLegalizeMachineIR", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createAArch64O0PreLegalizerCombiner", "(", ")", ")", ";", "else", "{", "addPass", "(", "createAArch64PreLegalizerCombiner", "(", ")", ")", ";", "if", "(", "EnableGISelLoadStoreOptPreLegal", ")", "addPass", "(", "new", "LoadStoreOpt", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "legalization", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine21", "Func": "addPreLegalizeMachineIR", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1451, "Length": 47, "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": 1452, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PPCTargetLowering", "::", "ConstraintType", "PPCTargetLowering", "::", "getConstraintType", "(", "StringRef", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'b'", ":", "case", "'r'", ":", "case", "'f'", ":", "case", "'v'", ":", "case", "'y'", ":", "return", "C_RegisterClass", ";", "case", "'Z'", ":", "return", "C_Memory", ";", "}", "}", "else", "if", "(", "Constraint", "==", "\"wc\"", ")", "{", "return", "C_RegisterClass", ";", "}", "else", "if", "(", "Constraint", "==", "\"wa\"", "||", "Constraint", "==", "\"wd\"", "||", "Constraint", "==", "\"wf\"", "||", "Constraint", "==", "\"ws\"", ")", "{", "return", "C_RegisterClass", ";", "}", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "1", "0", "\"wc\"", "\"wa\"", "\"wd\"", "\"wf\"", "\"ws\""], "File": "PPCISelLowering (2)2", "Func": "getConstraintType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1453, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "int", "*", "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": "X86RegisterInfo60", "Func": "eliminateFrameIndex", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1454, "Length": 261, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "DCPU16InstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "DCPU16", "::", "MOV16rm", ")", "{", "if", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "isFI", "(", ")", ")", "{", "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": ["Dcpu16", "DCPU16", "DCPU16::MOV16rm", "1", "1", "0", "0"], "File": "Dcpu16InstrInfo", "Func": "isLoadFromStackSlot", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1455, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMFastISel", "::", "constrainOperandRegClass", "(", "const", "MCInstrDesc", "&", "II", ",", "unsigned", "Op", ",", "unsigned", "OpNum", ")", "{", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "Op", ")", ")", "{", "const", "TargetRegisterClass", "*", "RegClass", "=", "TII", ".", "getRegClass", "(", "II", ",", "OpNum", ",", "&", "TRI", ",", "*", "FuncInfo", ".", "MF", ")", ";", "if", "(", "!", "MRI", ".", "constrainRegClass", "(", "Op", ",", "RegClass", ")", ")", "{", "unsigned", "NewOp", "=", "createResultReg", "(", "RegClass", ")", ";", "AddOptionalDefs", "(", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "NewOp", ")", ".", "addReg", "(", "Op", ")", ")", ";", "return", "NewOp", ";", "}", "}", "return", "Op", ";", "}", ""], "natrual_language": ["Try", "to", "constrain", "Op", "so", "that", "it", "is", "usable", "by", "argument", "OpNum", "of", "the", "provided", "MCInstrDesc", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMFastISel (2)", "Func": "constrainOperandRegClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1456, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb2InstrInfo", "::", "isLegalToSplitMBBAt", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ")", "const", "{", "while", "(", "MBBI", "->", "isDebugValue", "(", ")", ")", "{", "++", "MBBI", ";", "if", "(", "MBBI", "==", "MBB", ".", "end", "(", ")", ")", "return", "false", ";", "}", "unsigned", "PredReg", "=", "0", ";", "return", "getITInstrPredicate", "(", "*", "MBBI", ",", "PredReg", ")", "==", "ARMCC", "::", "AL", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "'s", "legal", "to", "split", "the", "given", "basic", "block", "at", "the", "specified", "instruction", "(", "i.e", "."], "TS_V_token": ["ARM", "0", "ARMCC::AL"], "File": "Thumb2InstrInfo14", "Func": "isLegalToSplitMBBAt", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1457, "Length": 61, "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", ",", "3", ",", "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", "3", "0"], "File": "i3866", "Func": "ix86_expand_divmod_libfunc", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1458, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_sim_wait_regs", "(", "struct", "mips_sim", "*", "state", ",", "rtx_insn", "*", "insn", ")", "{", "mips_sim_insn", "=", "insn", ";", "note_uses", "(", "&", "PATTERN", "(", "insn", ")", ",", "mips_sim_wait_regs_1", ",", "state", ")", ";", "}", ""], "natrual_language": ["Advance", "simulation", "state", "STATE", "until", "all", "of", "INSN", "'s", "register", "dependencies", "are", "satisfied", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_sim_wait_regs", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1459, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCRegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "GuaranteedTailCallOpt", "&&", "I", "->", "getOpcode", "(", ")", "==", "PPC", "::", "ADJCALLSTACKUP", ")", "{", "if", "(", "int", "CalleeAmt", "=", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ")", "{", "bool", "is64Bit", "=", "Subtarget", ".", "isPPC64", "(", ")", ";", "CalleeAmt", "*=", "-", "1", ";", "unsigned", "StackReg", "=", "is64Bit", "?", "PPC", "::", "X1", ":", "PPC", "::", "R1", ";", "unsigned", "TmpReg", "=", "is64Bit", "?", "PPC", "::", "X0", ":", "PPC", "::", "R0", ";", "unsigned", "ADDIInstr", "=", "is64Bit", "?", "PPC", "::", "ADDI8", ":", "PPC", "::", "ADDI", ";", "unsigned", "ADDInstr", "=", "is64Bit", "?", "PPC", "::", "ADD8", ":", "PPC", "::", "ADD4", ";", "unsigned", "LISInstr", "=", "is64Bit", "?", "PPC", "::", "LIS8", ":", "PPC", "::", "LIS", ";", "unsigned", "ORIInstr", "=", "is64Bit", "?", "PPC", "::", "ORI8", ":", "PPC", "::", "ORI", ";", "MachineInstr", "*", "MI", "=", "I", ";", "DebugLoc", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "isInt", "<", "16", ">", "(", "CalleeAmt", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "TII", ".", "get", "(", "ADDIInstr", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "CalleeAmt", ")", ";", "}", "else", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "I", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "LISInstr", ")", ",", "TmpReg", ")", ".", "addImm", "(", "CalleeAmt", ">>", "16", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ORIInstr", ")", ",", "TmpReg", ")", ".", "addReg", "(", "TmpReg", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "CalleeAmt", "&", "0xFFFF", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ADDInstr", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "TmpReg", ")", ";", "}", "}", "}", "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": ["PowerPC", "PPC", "PPC::ADJCALLSTACKUP", "1", "PPC", "1", "PPC::X1", "PPC::R1", "PPC::X0", "PPC::R0", "PPC::ADDI8", "PPC::ADDI", "PPC::ADD8", "PPC::ADD4", "PPC::LIS8", "PPC::LIS", "PPC::ORI8", "PPC::ORI", "16", "16", "0xFFFF"], "File": "PPCRegisterInfo14", "Func": "eliminateCallFramePseudoInstr", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1460, "Length": 322, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "MCFixupKind", ">", "ARMAsmBackend", "::", "getFixupKind", "(", "StringRef", "Name", ")", "const", "{", "if", "(", "!", "STI", ".", "getTargetTriple", "(", ")", ".", "isOSBinFormatELF", "(", ")", ")", "return", "None", ";", "unsigned", "Type", "=", "llvm", "::", "StringSwitch", "<", "unsigned", ">", "(", "Name", ")", ".", "Case", "(", "\"BFD_RELOC_NONE\"", ",", "ELF", "::", "R_ARM_NONE", ")", ".", "Case", "(", "\"BFD_RELOC_8\"", ",", "ELF", "::", "R_ARM_ABS8", ")", ".", "Case", "(", "\"BFD_RELOC_16\"", ",", "ELF", "::", "R_ARM_ABS16", ")", ".", "Case", "(", "\"BFD_RELOC_32\"", ",", "ELF", "::", "R_ARM_ABS32", ")", ".", "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": ["ARM", "ARM", "\"BFD_RELOC_NONE\"", "ARM", "\"BFD_RELOC_8\"", "ARM", "\"BFD_RELOC_16\"", "ARM", "\"BFD_RELOC_32\"", "ARM", "1u", "1u"], "File": "ARMAsmBackend35", "Func": "getFixupKind", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1461, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86Subtarget", "::", "X86Subtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "const", "X86TargetMachine", "&", "TM", ",", "unsigned", "StackAlignOverride", ")", ":", "X86GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "X86ProcFamily", "(", "Others", ")", ",", "PICStyle", "(", "PICStyles", "::", "None", ")", ",", "TargetTriple", "(", "TT", ")", ",", "StackAlignOverride", "(", "StackAlignOverride", ")", ",", "In64BitMode", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", ",", "In32BitMode", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "x86", "&&", "TargetTriple", ".", "getEnvironment", "(", ")", "!=", "Triple", "::", "CODE16", ")", ",", "In16BitMode", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "x86", "&&", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "CODE16", ")", ",", "TSInfo", "(", "*", "TM", ".", "getDataLayout", "(", ")", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ")", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", ",", "FrameLowering", "(", "TargetFrameLowering", "::", "StackGrowsDown", ",", "getStackAlignment", "(", ")", ",", "is64Bit", "(", ")", "?", "-", "8", ":", "-", "4", ")", "{", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", "{", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "is64Bit", "(", ")", ")", "{", "setPICStyle", "(", "PICStyles", "::", "RIPRel", ")", ";", "}", "else", "if", "(", "isTargetCOFF", "(", ")", ")", "{", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "setPICStyle", "(", "PICStyles", "::", "StubPIC", ")", ";", "else", "{", "assert", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "DynamicNoPIC", ")", ";", "setPICStyle", "(", "PICStyles", "::", "StubDynamicNoPIC", ")", ";", "}", "}", "else", "if", "(", "isTargetELF", "(", ")", ")", "{", "setPICStyle", "(", "PICStyles", "::", "GOT", ")", ";", "}", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86", "8", "4"], "File": "X86Subtarget (2)1", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1462, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "X86TargetMachine", "*", "TM", "=", "static_cast", "<", "const", "X86TargetMachine", "*", ">", "(", "&", "MF", ".", "getTarget", "(", ")", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "TM", "->", "getFrameLowering", "(", ")", ";", "MachineRegisterInfo", "&", "RI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "X86MachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "unsigned", "StackAlignment", "=", "TFI", "->", "getStackAlignment", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "RI", ".", "getNumVirtRegs", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "TargetRegisterInfo", "::", "index2VirtReg", "(", "i", ")", ";", "if", "(", "RI", ".", "getRegClass", "(", "Reg", ")", "->", "getAlignment", "(", ")", ">", "StackAlignment", ")", "{", "FuncInfo", "->", "setForceFramePointer", "(", "true", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "0"], "File": "X86RegisterInfo101", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1463, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTTIImpl", "::", "getTgtMemIntrinsic", "(", "IntrinsicInst", "*", "Inst", ",", "MemIntrinsicInfo", "&", "Info", ")", "{", "switch", "(", "Inst", "->", "getIntrinsicID", "(", ")", ")", "{", "case", "Intrinsic", "::", "ppc_altivec_lvx", ":", "case", "Intrinsic", "::", "ppc_altivec_lvxl", ":", "case", "Intrinsic", "::", "ppc_altivec_lvebx", ":", "case", "Intrinsic", "::", "ppc_altivec_lvehx", ":", "case", "Intrinsic", "::", "ppc_altivec_lvewx", ":", "case", "Intrinsic", "::", "ppc_vsx_lxvd2x", ":", "case", "Intrinsic", "::", "ppc_vsx_lxvw4x", ":", "case", "Intrinsic", "::", "ppc_vsx_lxvd2x_be", ":", "case", "Intrinsic", "::", "ppc_vsx_lxvw4x_be", ":", "case", "Intrinsic", "::", "ppc_vsx_lxvl", ":", "case", "Intrinsic", "::", "ppc_vsx_lxvll", ":", "case", "Intrinsic", "::", "ppc_mma_lxvp", ":", "{", "Info", ".", "PtrVal", "=", "Inst", "->", "getArgOperand", "(", "0", ")", ";", "Info", ".", "ReadMem", "=", "true", ";", "Info", ".", "WriteMem", "=", "false", ";", "return", "true", ";", "}", "case", "Intrinsic", "::", "ppc_altivec_stvx", ":", "case", "Intrinsic", "::", "ppc_altivec_stvxl", ":", "case", "Intrinsic", "::", "ppc_altivec_stvebx", ":", "case", "Intrinsic", "::", "ppc_altivec_stvehx", ":", "case", "Intrinsic", "::", "ppc_altivec_stvewx", ":", "case", "Intrinsic", "::", "ppc_vsx_stxvd2x", ":", "case", "Intrinsic", "::", "ppc_vsx_stxvw4x", ":", "case", "Intrinsic", "::", "ppc_vsx_stxvd2x_be", ":", "case", "Intrinsic", "::", "ppc_vsx_stxvw4x_be", ":", "case", "Intrinsic", "::", "ppc_vsx_stxvl", ":", "case", "Intrinsic", "::", "ppc_vsx_stxvll", ":", "case", "Intrinsic", "::", "ppc_mma_stxvp", ":", "{", "Info", ".", "PtrVal", "=", "Inst", "->", "getArgOperand", "(", "1", ")", ";", "Info", ".", "ReadMem", "=", "false", ";", "Info", ".", "WriteMem", "=", "true", ";", "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": ["PowerPC", "PPC", "Intrinsic::ppc_altivec_lvx", "Intrinsic::ppc_altivec_lvxl", "Intrinsic::ppc_altivec_lvebx", "Intrinsic::ppc_altivec_lvehx", "Intrinsic::ppc_altivec_lvewx", "Intrinsic::ppc_vsx_lxvd2x", "Intrinsic::ppc_vsx_lxvw4x", "Intrinsic::ppc_vsx_lxvd2x_be", "Intrinsic::ppc_vsx_lxvw4x_be", "Intrinsic::ppc_vsx_lxvl", "Intrinsic::ppc_vsx_lxvll", "Intrinsic::ppc_mma_lxvp", "0", "Intrinsic::ppc_altivec_stvx", "Intrinsic::ppc_altivec_stvxl", "Intrinsic::ppc_altivec_stvebx", "Intrinsic::ppc_altivec_stvehx", "Intrinsic::ppc_altivec_stvewx", "Intrinsic::ppc_vsx_stxvd2x", "Intrinsic::ppc_vsx_stxvw4x", "Intrinsic::ppc_vsx_stxvd2x_be", "Intrinsic::ppc_vsx_stxvw4x_be", "Intrinsic::ppc_vsx_stxvl", "Intrinsic::ppc_vsx_stxvll", "Intrinsic::ppc_mma_stxvp", "1"], "File": "PPCTargetTransformInfo36", "Func": "getTgtMemIntrinsic", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1464, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_movw_imm", "(", "HOST_WIDE_INT", "val", ",", "machine_mode", "mode", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "4", ")", "{", "if", "(", "(", "val", "&", "(", "(", "(", "HOST_WIDE_INT", ")", "0xffff", ")", "<<", "32", ")", ")", "==", "val", "||", "(", "val", "&", "(", "(", "(", "HOST_WIDE_INT", ")", "0xffff", ")", "<<", "48", ")", ")", "==", "val", ")", "return", "1", ";", "}", "else", "{", "val", "&=", "(", "HOST_WIDE_INT", ")", "0xffffffff", ";", "}", "return", "(", "(", "val", "&", "(", "(", "(", "HOST_WIDE_INT", ")", "0xffff", ")", "<<", "0", ")", ")", "==", "val", "||", "(", "val", "&", "(", "(", "(", "HOST_WIDE_INT", ")", "0xffff", ")", "<<", "16", ")", ")", "==", "val", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "val", "is", "an", "immediate", "that", "can", "be", "loaded", "into", "a", "register", "by", "a", "MOVZ", "instruction", "."], "TS_V_token": ["aarch64", "4", "0xffff", "32", "0xffff", "48", "1", "0xffffffff", "0xffff", "0", "0xffff", "16"], "File": "aarch642", "Func": "aarch64_movw_imm", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1465, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "X86TTIImpl", "::", "getIntImmCost", "(", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", ")", "return", "~", "0U", ";", "if", "(", "BitSize", ">", "128", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "Imm", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "APInt", "ImmVal", "=", "Imm", ";", "if", "(", "BitSize", "%", "64", "!=", "0", ")", "ImmVal", "=", "Imm", ".", "sext", "(", "alignTo", "(", "BitSize", ",", "64", ")", ")", ";", "InstructionCost", "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", "<", "InstructionCost", ">", "(", "1", ",", "Cost", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["X86", "X86", "0", "0U", "128", "0", "64", "0", "64", "0", "0", "64", "64", "1"], "File": "X86TargetTransformInfo (2)1", "Func": "getIntImmCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1466, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "IsDesirableToPromoteOp", "(", "SDValue", "Op", ",", "EVT", "&", "PVT", ")", "const", "{", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "if", "(", "VT", "!=", "MVT", "::", "i16", ")", "return", "false", ";", "bool", "Promote", "=", "false", ";", "bool", "Commute", "=", "false", ";", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "LOAD", ":", "{", "LoadSDNode", "*", "LD", "=", "cast", "<", "LoadSDNode", ">", "(", "Op", ")", ";", "if", "(", "LD", "->", "getExtensionType", "(", ")", "==", "ISD", "::", "NON_EXTLOAD", ")", "{", "for", "(", "SDNode", "::", "use_iterator", "UI", "=", "Op", ".", "getNode", "(", ")", "->", "use_begin", "(", ")", ",", "UE", "=", "Op", ".", "getNode", "(", ")", "->", "use_end", "(", ")", ";", "UI", "!=", "UE", ";", "++", "UI", ")", "{", "if", "(", "UI", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "CopyToReg", ")", "return", "false", ";", "}", "}", "Promote", "=", "true", ";", "break", ";", "}", "case", "ISD", "::", "SIGN_EXTEND", ":", "case", "ISD", "::", "ZERO_EXTEND", ":", "case", "ISD", "::", "ANY_EXTEND", ":", "Promote", "=", "true", ";", "break", ";", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRL", ":", "{", "SDValue", "N0", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "if", "(", "MayFoldLoad", "(", "N0", ")", "&&", "MayFoldIntoStore", "(", "Op", ")", ")", "return", "false", ";", "Promote", "=", "true", ";", "break", ";", "}", "case", "ISD", "::", "ADD", ":", "case", "ISD", "::", "MUL", ":", "case", "ISD", "::", "AND", ":", "case", "ISD", "::", "OR", ":", "case", "ISD", "::", "XOR", ":", "Commute", "=", "true", ";", "case", "ISD", "::", "SUB", ":", "{", "SDValue", "N0", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "SDValue", "N1", "=", "Op", ".", "getOperand", "(", "1", ")", ";", "if", "(", "!", "Commute", "&&", "MayFoldLoad", "(", "N1", ")", ")", "return", "false", ";", "if", "(", "MayFoldLoad", "(", "N0", ")", "&&", "(", "!", "isa", "<", "ConstantSDNode", ">", "(", "N1", ")", "||", "MayFoldIntoStore", "(", "Op", ")", ")", ")", "return", "false", ";", "if", "(", "MayFoldLoad", "(", "N1", ")", "&&", "(", "!", "isa", "<", "ConstantSDNode", ">", "(", "N0", ")", "||", "MayFoldIntoStore", "(", "Op", ")", ")", ")", "return", "false", ";", "Promote", "=", "true", ";", "}", "}", "PVT", "=", "MVT", "::", "i32", ";", "return", "Promote", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "has", "native", "support", "for", "the", "specified", "value", "type", "and", "it", "is", "'desirable", "'", "to", "use", "the", "type", "."], "TS_V_token": ["X86", "X86", "MVT::i16", "ISD::LOAD", "ISD::NON_EXTLOAD", "ISD::CopyToReg", "ISD::SIGN_EXTEND", "ISD::ZERO_EXTEND", "ISD::ANY_EXTEND", "ISD::SHL", "ISD::SRL", "0", "ISD::ADD", "ISD::MUL", "ISD::AND", "ISD::OR", "ISD::XOR", "ISD::SUB", "0", "1", "MVT::i32"], "File": "X86ISelLowering (2)", "Func": "IsDesirableToPromoteOp", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1467, "Length": 349, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_set_compression_mode", "(", "unsigned", "int", "compression_mode", ")", "{", "if", "(", "compression_mode", "==", "old_compression_mode", ")", "return", ";", "target_flags", "=", "mips_base_target_flags", ";", "flag_schedule_insns", "=", "mips_base_schedule_insns", ";", "flag_reorder_blocks_and_partition", "=", "mips_base_reorder_blocks_and_partition", ";", "flag_move_loop_invariants", "=", "mips_base_move_loop_invariants", ";", "align_loops", "=", "mips_base_align_loops", ";", "align_jumps", "=", "mips_base_align_jumps", ";", "align_functions", "=", "mips_base_align_functions", ";", "target_flags", "&=", "~", "(", "MASK_MIPS16", "|", "MASK_MICROMIPS", ")", ";", "target_flags", "|=", "compression_mode", ";", "if", "(", "compression_mode", "&", "MASK_MIPS16", ")", "{", "target_flags", "|=", "MASK_MIPS16", ";", "target_flags", "&=", "~", "MASK_SYNCI", ";", "flag_schedule_insns", "=", "0", ";", "flag_reorder_blocks_and_partition", "=", "0", ";", "flag_move_loop_invariants", "=", "0", ";", "target_flags", "|=", "MASK_EXPLICIT_RELOCS", ";", "targetm", ".", "min_anchor_offset", "=", "0", ";", "targetm", ".", "max_anchor_offset", "=", "127", ";", "targetm", ".", "const_anchor", "=", "0", ";", "target_flags", "&=", "~", "MASK_RELAX_PIC_CALLS", ";", "target_flags", "&=", "~", "MASK_FIX_R4000", ";", "if", "(", "flag_pic", "&&", "!", "TARGET_OLDABI", ")", "sorry", "(", "\"MIPS16 PIC for ABIs other than o32 and o64\"", ")", ";", "if", "(", "TARGET_XGOT", ")", "sorry", "(", "\"MIPS16 -mxgot code\"", ")", ";", "if", "(", "TARGET_HARD_FLOAT_ABI", "&&", "!", "TARGET_OLDABI", ")", "sorry", "(", "\"hard-float MIPS16 code for ABIs other than o32 and o64\"", ")", ";", "}", "else", "{", "if", "(", "TARGET_MICROMIPS", ")", "target_flags", "&=", "~", "MASK_BRANCHLIKELY", ";", "if", "(", "TARGET_64BIT", ")", "{", "if", "(", "align_loops", "==", "0", ")", "align_loops", "=", "8", ";", "if", "(", "align_jumps", "==", "0", ")", "align_jumps", "=", "8", ";", "if", "(", "align_functions", "==", "0", ")", "align_functions", "=", "8", ";", "}", "targetm", ".", "min_anchor_offset", "=", "-", "32768", ";", "targetm", ".", "max_anchor_offset", "=", "32767", ";", "targetm", ".", "const_anchor", "=", "0x8000", ";", "}", "mips_init_relocs", "(", ")", ";", "if", "(", "compression_mode", "&", "MASK_MIPS16", ")", "{", "if", "(", "!", "mips16_globals", ")", "mips16_globals", "=", "save_target_globals_default_opts", "(", ")", ";", "else", "restore_target_globals", "(", "mips16_globals", ")", ";", "}", "else", "if", "(", "compression_mode", "&", "MASK_MICROMIPS", ")", "{", "if", "(", "!", "micromips_globals", ")", "micromips_globals", "=", "save_target_globals_default_opts", "(", ")", ";", "else", "restore_target_globals", "(", "micromips_globals", ")", ";", "}", "else", "restore_target_globals", "(", "&", "default_target_globals", ")", ";", "old_compression_mode", "=", "compression_mode", ";", "}", ""], "natrual_language": ["Set", "up", "the", "target-dependent", "global", "state", "for", "ISA", "mode", "COMPRESSION_MODE", ",", "which", "is", "either", "MASK_MIPS16", "or", "MASK_MICROMIPS", "."], "TS_V_token": ["mips", "0", "0", "0", "0", "127", "0", "\"MIPS16 PIC for ABIs other than o32 and o64\"", "\"MIPS16 -mxgot code\"", "\"hard-float MIPS16 code for ABIs other than o32 and o64\"", "0", "8", "0", "8", "0", "8", "32768", "32767", "0x8000"], "File": "mips5", "Func": "mips_set_compression_mode", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1468, "Length": 286, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_elf_asm_constructor", "(", "rtx", "symbol", ",", "int", "priority", ")", "{", "arm_elf_asm_cdtor", "(", "symbol", ",", "priority", ",", "true", ")", ";", "}", ""], "natrual_language": ["Add", "a", "function", "to", "the", "list", "of", "static", "constructors", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_elf_asm_constructor", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1469, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ")", "{", "if", "(", "!", "ST", "->", "isMClass", "(", ")", ")", "return", "BasicTTIImplBase", "::", "getUnrollingPreferences", "(", "L", ",", "SE", ",", "UP", ")", ";", "UP", ".", "OptSizeThreshold", "=", "0", ";", "UP", ".", "PartialOptSizeThreshold", "=", "0", ";", "if", "(", "L", "->", "getHeader", "(", ")", "->", "getParent", "(", ")", "->", "optForSize", "(", ")", ")", "return", ";", "if", "(", "!", "ST", "->", "isThumb2", "(", ")", ")", "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", ";", "unsigned", "Cost", "=", "0", ";", "for", "(", "auto", "*", "BB", ":", "L", "->", "getBlocks", "(", ")", ")", "{", "for", "(", "auto", "&", "I", ":", "*", "BB", ")", "{", "if", "(", "isa", "<", "CallInst", ">", "(", "I", ")", "||", "isa", "<", "InvokeInst", ">", "(", "I", ")", ")", "{", "ImmutableCallSite", "CS", "(", "&", "I", ")", ";", "if", "(", "const", "Function", "*", "F", "=", "CS", ".", "getCalledFunction", "(", ")", ")", "{", "if", "(", "!", "isLoweredToCall", "(", "F", ")", ")", "continue", ";", "}", "return", ";", "}", "SmallVector", "<", "const", "Value", "*", ",", "4", ">", "Operands", "(", "I", ".", "value_op_begin", "(", ")", ",", "I", ".", "value_op_end", "(", ")", ")", ";", "Cost", "+=", "getUserCost", "(", "&", "I", ",", "Operands", ")", ";", "}", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Cost of loop: \"", "<<", "Cost", "<<", "\"\\n\"", ")", ";", "UP", ".", "Partial", "=", "true", ";", "UP", ".", "Runtime", "=", "true", ";", "UP", ".", "UnrollRemainder", "=", "true", ";", "UP", ".", "DefaultUnrollRuntimeCount", "=", "4", ";", "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", "0", "4", "\"Cost of loop: \"", "\"\\n\"", "4", "12"], "File": "ARMTargetTransformInfo20", "Func": "getUnrollingPreferences", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1470, "Length": 324, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "AArch64Subtarget", "*", "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": ["AArch64", "AArch64"], "File": "AArch64TargetMachine15", "Func": "getSubtargetImpl", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1471, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isVectorClearMaskLegal", "(", "const", "SmallVectorImpl", "<", "int", ">", "&", "Mask", ",", "EVT", "VT", ")", "const", "{", "unsigned", "NumElts", "=", "VT", ".", "getVectorNumElements", "(", ")", ";", "if", "(", "NumElts", "==", "2", ")", "return", "true", ";", "if", "(", "NumElts", "==", "4", "&&", "VT", ".", "getSizeInBits", "(", ")", "==", "128", ")", "{", "return", "(", "isMOVLMask", "(", "Mask", ",", "VT", ")", "||", "isCommutedMOVLMask", "(", "Mask", ",", "VT", ",", "true", ")", "||", "isSHUFPMask", "(", "Mask", ",", "VT", ")", "||", "isCommutedSHUFPMask", "(", "Mask", ",", "VT", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Similar", "to", "isShuffleMaskLegal", "."], "TS_V_token": ["X86", "X86", "2", "4", "128"], "File": "X86ISelLowering144", "Func": "isVectorClearMaskLegal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1472, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_expand_unaligned_load", "(", "rtx", "dest", ",", "rtx", "src", ",", "unsigned", "int", "width", ",", "int", "bitpos", ")", "{", "rtx", "left", ",", "right", ",", "temp", ";", "if", "(", "GET_CODE", "(", "dest", ")", "==", "SUBREG", "&&", "GET_MODE", "(", "dest", ")", "==", "DImode", "&&", "SUBREG_BYTE", "(", "dest", ")", "==", "0", "&&", "GET_MODE", "(", "SUBREG_REG", "(", "dest", ")", ")", "==", "SImode", ")", "dest", "=", "SUBREG_REG", "(", "dest", ")", ";", "if", "(", "GET_MODE_BITSIZE", "(", "GET_MODE", "(", "dest", ")", ")", "!=", "width", ")", "return", "false", ";", "if", "(", "!", "mips_get_unaligned_mem", "(", "&", "src", ",", "width", ",", "bitpos", ",", "&", "left", ",", "&", "right", ")", ")", "return", "false", ";", "temp", "=", "gen_reg_rtx", "(", "GET_MODE", "(", "dest", ")", ")", ";", "if", "(", "GET_MODE", "(", "dest", ")", "==", "DImode", ")", "{", "emit_insn", "(", "gen_mov_ldl", "(", "temp", ",", "src", ",", "left", ")", ")", ";", "emit_insn", "(", "gen_mov_ldr", "(", "dest", ",", "copy_rtx", "(", "src", ")", ",", "right", ",", "temp", ")", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_mov_lwl", "(", "temp", ",", "src", ",", "left", ")", ")", ";", "emit_insn", "(", "gen_mov_lwr", "(", "dest", ",", "copy_rtx", "(", "src", ")", ",", "right", ",", "temp", ")", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Try", "to", "emit", "the", "equivalent", "of", "(", "set", "DEST", "(", "zero_extract", "SRC", "WIDTH", "BITPOS", ")", ")", ".", "Return", "true", "on", "success", ".", "We", "only", "handle", "cases", "where", "zero_extract", "is", "equivalent", "to", "sign_extract", "."], "TS_V_token": ["mips", "0"], "File": "mips3", "Func": "mips_expand_unaligned_load", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1473, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiTargetObjectFile", "::", "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": ["Lanai", "Lanai"], "File": "LanaiTargetObjectFile", "Func": "isGlobalInSmallSection", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1474, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SystemZTTIImpl", "::", "getIntImmCost", "(", "Intrinsic", "::", "ID", "IID", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "BitSize", ">", "64", ")", "return", "TTI", "::", "TCC_Free", ";", "switch", "(", "IID", ")", "{", "default", ":", "return", "TTI", "::", "TCC_Free", ";", "case", "Intrinsic", "::", "sadd_with_overflow", ":", "case", "Intrinsic", "::", "uadd_with_overflow", ":", "case", "Intrinsic", "::", "ssub_with_overflow", ":", "case", "Intrinsic", "::", "usub_with_overflow", ":", "if", "(", "Idx", "==", "1", "&&", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", ")", "{", "if", "(", "isUInt", "<", "32", ">", "(", "Imm", ".", "getZExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "isUInt", "<", "32", ">", "(", "-", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "}", "break", ";", "case", "Intrinsic", "::", "smul_with_overflow", ":", "case", "Intrinsic", "::", "umul_with_overflow", ":", "if", "(", "Idx", "==", "1", "&&", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", ")", "{", "if", "(", "isInt", "<", "32", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "}", "break", ";", "case", "Intrinsic", "::", "experimental_stackmap", ":", "if", "(", "(", "Idx", "<", "2", ")", "||", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", "&&", "isInt", "<", "64", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "break", ";", "case", "Intrinsic", "::", "experimental_patchpoint_void", ":", "case", "Intrinsic", "::", "experimental_patchpoint_i64", ":", "if", "(", "(", "Idx", "<", "4", ")", "||", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", "&&", "isInt", "<", "64", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "break", ";", "}", "return", "SystemZTTIImpl", "::", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["SystemZ", "SystemZ", "Intrinsic::ID", "0", "64", "Intrinsic::sadd_with_overflow", "Intrinsic::uadd_with_overflow", "Intrinsic::ssub_with_overflow", "Intrinsic::usub_with_overflow", "1", "64", "32", "32", "Intrinsic::smul_with_overflow", "Intrinsic::umul_with_overflow", "1", "64", "32", "Intrinsic::experimental_stackmap", "2", "64", "64", "Intrinsic::experimental_patchpoint_void", "Intrinsic::experimental_patchpoint_i64", "4", "64", "64", "SystemZ"], "File": "SystemZTargetTransformInfo3", "Func": "getIntImmCost", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1475, "Length": 300, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsSelectionDAGInfo", "::", "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", "EmitTargetCodeForMemOp", "(", "DAG", ",", "dl", ",", "Chain", ",", "Dst", ",", "Src", ",", "Size", ",", "Alignment", ",", "isVolatile", ",", "false", ",", "MustPreserveCheriCapabilities", ",", "DstPtrInfo", ",", "SrcPtrInfo", ",", "false", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memmove", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsSelectionDAGInfo3", "Func": "EmitTargetCodeForMemmove", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1476, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_debug_mode_dependent_address", "(", "const_rtx", "addr", ")", "{", "bool", "ret", "=", "rs6000_mode_dependent_address", "(", "addr", ")", ";", "fprintf", "(", "stderr", ",", "\"\\nrs6000_mode_dependent_address: ret = %s\\n\"", ",", "ret", "?", "\"true\"", ":", "\"false\"", ")", ";", "debug_rtx", "(", "addr", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Debug", "version", "of", "rs6000_mode_dependent_address", "."], "TS_V_token": ["rs6000", "\"\\nrs6000_mode_dependent_address: ret = %s\\n\"", "\"true\"", "\"false\""], "File": "rs6000", "Func": "rs6000_debug_mode_dependent_address", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1477, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_erase_embedded_rounding", "(", "rtx", "pat", ")", "{", "if", "(", "GET_CODE", "(", "pat", ")", "==", "INSN", ")", "pat", "=", "PATTERN", "(", "pat", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "pat", ")", "==", "SET", ")", ";", "rtx", "src", "=", "SET_SRC", "(", "pat", ")", ";", "gcc_assert", "(", "XVECLEN", "(", "src", ",", "0", ")", "==", "2", ")", ";", "rtx", "p0", "=", "XVECEXP", "(", "src", ",", "0", ",", "0", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "src", ")", "==", "UNSPEC", "&&", "XINT", "(", "src", ",", "1", ")", "==", "UNSPEC_EMBEDDED_ROUNDING", ")", ";", "rtx", "res", "=", "gen_rtx_SET", "(", "SET_DEST", "(", "pat", ")", ",", "p0", ")", ";", "return", "res", ";", "}", ""], "natrual_language": ["Transform", "pattern", "of", "following", "layout", ":", "(", "parallel", "[", "set", "(", "A", "B", ")", "(", "unspec", "[", "C", "]", "UNSPEC_EMBEDDED_ROUNDING", ")", "]", ")", "]", ")", "into", ":", "(", "set", "(", "A", "B", ")", ")", "Or", ":", "(", "parallel", "[", "A", "B", "...", "(", "unspec", "[", "C", "]", "UNSPEC_EMBEDDED_ROUNDING", ")", "...", "]", ")", "into", ":", "(", "parallel", "[", "A", "B", "...", "]", ")"], "TS_V_token": ["i386", "0", "2", "0", "0", "1"], "File": "i386-expand", "Func": "ix86_erase_embedded_rounding", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1478, "Length": 102, "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", ")", ";", "if", "(", "Subtarget", ".", "isAIXABI", "(", ")", ")", "{", "assert", "(", "!", "Subtarget", ".", "hasAltivec", "(", ")", "&&", "\"Altivec is not implemented on AIX yet.\"", ")", ";", "return", "TM", ".", "isPPC64", "(", ")", "?", "CSR_AIX64_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", ":", "CSR_SVR32_ColdCC_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", "\"Altivec is not implemented on AIX yet.\"", "PPC", "PPC", "PPC"], "File": "PPCRegisterInfo59", "Func": "getCallPreservedMask", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1479, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_float_const_representable_p", "(", "rtx", "x", ")", "{", "int", "point_pos", "=", "2", "*", "HOST_BITS_PER_WIDE_INT", "-", "1", ";", "int", "exponent", ";", "unsigned", "HOST_WIDE_INT", "mantissa", ",", "mask", ";", "REAL_VALUE_TYPE", "r", ",", "m", ";", "bool", "fail", ";", "if", "(", "!", "CONST_DOUBLE_P", "(", "x", ")", ")", "return", "false", ";", "if", "(", "GET_MODE", "(", "x", ")", "==", "VOIDmode", "||", "GET_MODE", "(", "x", ")", "==", "HFmode", ")", "return", "false", ";", "r", "=", "*", "CONST_DOUBLE_REAL_VALUE", "(", "x", ")", ";", "if", "(", "REAL_VALUE_ISINF", "(", "r", ")", "||", "REAL_VALUE_ISNAN", "(", "r", ")", "||", "REAL_VALUE_MINUS_ZERO", "(", "r", ")", ")", "return", "false", ";", "r", "=", "real_value_abs", "(", "&", "r", ")", ";", "exponent", "=", "REAL_EXP", "(", "&", "r", ")", ";", "real_ldexp", "(", "&", "m", ",", "&", "r", ",", "point_pos", "-", "exponent", ")", ";", "wide_int", "w", "=", "real_to_integer", "(", "&", "m", ",", "&", "fail", ",", "HOST_BITS_PER_WIDE_INT", "*", "2", ")", ";", "if", "(", "w", ".", "elt", "(", "0", ")", "!=", "0", ")", "return", "false", ";", "mantissa", "=", "w", ".", "elt", "(", "1", ")", ";", "point_pos", "-=", "HOST_BITS_PER_WIDE_INT", ";", "mask", "=", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "1", "<<", "(", "point_pos", "-", "5", ")", ")", "-", "1", ";", "if", "(", "(", "mantissa", "&", "mask", ")", "!=", "0", ")", "return", "false", ";", "mantissa", ">>=", "point_pos", "-", "5", ";", "if", "(", "mantissa", "==", "0", ")", "return", "false", ";", "mantissa", "&=", "~", "(", "1", "<<", "4", ")", ";", "gcc_assert", "(", "mantissa", "<=", "15", ")", ";", "exponent", "=", "5", "-", "exponent", ";", "return", "(", "exponent", ">=", "0", "&&", "exponent", "<=", "7", ")", ";", "}", ""], "natrual_language": ["Return", "true", "iff", "X", "can", "be", "represented", "by", "a", "quarter-precision", "floating", "point", "immediate", "operand", "X", ".", "Note", ",", "we", "can", "not", "represent", "0.0", "."], "TS_V_token": ["aarch64", "2", "1", "2", "0", "0", "1", "1", "5", "1", "0", "5", "0", "1", "4", "15", "5", "0", "7"], "File": "aarch643", "Func": "aarch64_float_const_representable_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1480, "Length": 243, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmParser", "::", "ParseInstruction", "(", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ")", "{", "size_t", "Start", "=", "0", ",", "Next", "=", "Name", ".", "find", "(", "'.'", ")", ";", "StringRef", "Head", "=", "Name", ".", "slice", "(", "Start", ",", "Next", ")", ";", "unsigned", "CC", "=", "StringSwitch", "<", "unsigned", ">", "(", "Head", ".", "substr", "(", "Head", ".", "size", "(", ")", "-", "2", ")", ")", ".", "Case", "(", "\"eq\"", ",", "ARMCC", "::", "EQ", ")", ".", "Case", "(", "\"ne\"", ",", "ARMCC", "::", "NE", ")", ".", "Case", "(", "\"hs\"", ",", "ARMCC", "::", "HS", ")", ".", "Case", "(", "\"lo\"", ",", "ARMCC", "::", "LO", ")", ".", "Case", "(", "\"mi\"", ",", "ARMCC", "::", "MI", ")", ".", "Case", "(", "\"pl\"", ",", "ARMCC", "::", "PL", ")", ".", "Case", "(", "\"vs\"", ",", "ARMCC", "::", "VS", ")", ".", "Case", "(", "\"vc\"", ",", "ARMCC", "::", "VC", ")", ".", "Case", "(", "\"hi\"", ",", "ARMCC", "::", "HI", ")", ".", "Case", "(", "\"ls\"", ",", "ARMCC", "::", "LS", ")", ".", "Case", "(", "\"ge\"", ",", "ARMCC", "::", "GE", ")", ".", "Case", "(", "\"lt\"", ",", "ARMCC", "::", "LT", ")", ".", "Case", "(", "\"gt\"", ",", "ARMCC", "::", "GT", ")", ".", "Case", "(", "\"le\"", ",", "ARMCC", "::", "LE", ")", ".", "Case", "(", "\"al\"", ",", "ARMCC", "::", "AL", ")", ".", "Default", "(", "~", "0U", ")", ";", "if", "(", "CC", "==", "~", "0U", "||", "(", "CC", "==", "ARMCC", "::", "LS", "&&", "(", "Head", "==", "\"vmls\"", "||", "Head", "==", "\"vnmls\"", ")", ")", ")", "{", "CC", "=", "ARMCC", "::", "AL", ";", "}", "else", "{", "Head", "=", "Head", ".", "slice", "(", "0", ",", "Head", ".", "size", "(", ")", "-", "2", ")", ";", "}", "Operands", ".", "push_back", "(", "ARMOperand", "::", "CreateToken", "(", "Head", ",", "NameLoc", ")", ")", ";", "if", "(", "Head", "!=", "\"trap\"", ")", "Operands", ".", "push_back", "(", "ARMOperand", "::", "CreateCondCode", "(", "ARMCC", "::", "CondCodes", "(", "CC", ")", ",", "NameLoc", ")", ")", ";", "while", "(", "Next", "!=", "StringRef", "::", "npos", ")", "{", "Start", "=", "Next", ";", "Next", "=", "Name", ".", "find", "(", "'.'", ",", "Start", "+", "1", ")", ";", "Head", "=", "Name", ".", "slice", "(", "Start", ",", "Next", ")", ";", "Operands", ".", "push_back", "(", "ARMOperand", "::", "CreateToken", "(", "Head", ",", "NameLoc", ")", ")", ";", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "ParseOperand", "(", "Operands", ")", ")", "{", "Parser", ".", "EatToEndOfStatement", "(", ")", ";", "return", "true", ";", "}", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "ParseOperand", "(", "Operands", ")", ")", "{", "Parser", ".", "EatToEndOfStatement", "(", ")", ";", "return", "true", ";", "}", "}", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "Parser", ".", "EatToEndOfStatement", "(", ")", ";", "return", "TokError", "(", "\"unexpected token in argument list\"", ")", ";", "}", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["ARM", "ARM", "0", "2", "\"eq\"", "ARMCC::EQ", "\"ne\"", "ARMCC::NE", "\"hs\"", "ARMCC::HS", "\"lo\"", "ARMCC::LO", "\"mi\"", "ARMCC::MI", "\"pl\"", "ARMCC::PL", "\"vs\"", "ARMCC::VS", "\"vc\"", "ARMCC::VC", "\"hi\"", "ARMCC::HI", "\"ls\"", "ARMCC::LS", "\"ge\"", "ARMCC::GE", "\"lt\"", "ARMCC::LT", "\"gt\"", "ARMCC::GT", "\"le\"", "ARMCC::LE", "\"al\"", "ARMCC::AL", "0U", "0U", "ARMCC::LS", "\"vmls\"", "\"vnmls\"", "ARMCC::AL", "0", "2", "ARM", "\"trap\"", "ARM", "ARMCC::CondCodes", "1", "ARM", "\"unexpected token in argument list\""], "File": "ARMAsmParser46", "Func": "ParseInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1481, "Length": 462, "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", "::", "NumArgGPRs", ";", "++", "I", ")", "SavedRegs", ".", "set", "(", "SystemZ", "::", "ArgGPRs", "[", "I", "]", ")", ";", "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::NumArgGPRs", "SystemZ::ArgGPRs", "SystemZ::R11D", "SystemZ::R14D", "0", "SystemZ::GR64BitRegClass", "SystemZ::R15D"], "File": "SystemZFrameLowering (2)", "Func": "determineCalleeSaves", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1482, "Length": 225, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "ARMTargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", "DL", ",", "LLVMContext", "&", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "getPointerTy", "(", "DL", ")", ";", "if", "(", "Subtarget", "->", "hasMVEIntegerOps", "(", ")", "&&", "(", "VT", "==", "MVT", "::", "v4i32", "||", "VT", "==", "MVT", "::", "v8i16", "||", "VT", "==", "MVT", "::", "v16i8", ")", ")", "return", "MVT", "::", "getVectorVT", "(", "MVT", "::", "i1", ",", "VT", ".", "getVectorElementCount", "(", ")", ")", ";", "return", "VT", ".", "changeVectorElementTypeToInteger", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["ARM", "ARM", "MVT::v4i32", "MVT::v8i16", "MVT::v16i8", "MVT::getVectorVT", "MVT::i1"], "File": "ARMISelLowering (2)6", "Func": "getSetCCResultType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1483, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_split_128bit_ok_p", "(", "rtx", "operands", "[", "]", ")", "{", "if", "(", "!", "reload_completed", ")", "return", "false", ";", "if", "(", "!", "gpr_or_gpr_p", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ")", ")", "return", "false", ";", "if", "(", "quad_load_store_p", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "128-bit", "move", "needs", "to", "be", "split", "."], "TS_V_token": ["powerpcspe", "0", "1", "0", "1"], "File": "powerpcspe", "Func": "rs6000_split_128bit_ok_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1484, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "vr4130_reorder", "(", "rtx", "*", "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": "mips3", "Func": "vr4130_reorder", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1485, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "expand_setmem_epilogue_via_loop", "(", "rtx", "destmem", ",", "rtx", "destptr", ",", "rtx", "value", ",", "rtx", "count", ",", "int", "max_size", ")", "{", "count", "=", "expand_simple_binop", "(", "counter_mode", "(", "count", ")", ",", "AND", ",", "count", ",", "GEN_INT", "(", "max_size", "-", "1", ")", ",", "count", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "expand_set_or_cpymem_via_loop", "(", "destmem", ",", "NULL", ",", "destptr", ",", "NULL", ",", "gen_lowpart", "(", "QImode", ",", "value", ")", ",", "count", ",", "QImode", ",", "1", ",", "max_size", "/", "2", ",", "true", ")", ";", "}", ""], "natrual_language": ["Output", "code", "to", "set", "at", "most", "count", "&", "(", "max_size", "-", "1", ")", "bytes", "starting", "by", "DEST", "."], "TS_V_token": ["i386", "1", "1", "1", "2"], "File": "i386-expand", "Func": "expand_setmem_epilogue_via_loop", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1486, "Length": 78, "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": 1487, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "isProfitableToIfCvt", "(", "MachineBasicBlock", "&", "MBB", ",", "unsigned", "NumCycles", ",", "unsigned", "ExtraPredCycles", ",", "const", "BranchProbability", "&", "Probability", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Second", "variant", "of", "isProfitableToIfCvt", "."], "TS_V_token": ["PowerPC"], "File": "PPCInstrInfo15", "Func": "isProfitableToIfCvt", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1488, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "AND", ":", "return", "LowerANDOR", "(", "Op", ",", "DAG", ")", ";", "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", "::", "FP_TO_SINT", ":", "return", "LowerFP_TO_SINT", "(", "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", "::", "OR", ":", "return", "LowerANDOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "LowerSELECT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SETCC", ":", "return", "LowerSETCC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Mips", "Mips", "ISD::AND", "ISD::BRCOND", "ISD::ConstantPool", "ISD::DYNAMIC_STACKALLOC", "ISD::FP_TO_SINT", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::JumpTable", "ISD::OR", "ISD::SELECT", "ISD::SETCC", "ISD::VASTART"], "File": "MipsISelLowering32", "Func": "LowerOperation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1489, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64TargetMachine", "::", "AArch64TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "LittleEndian", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "LittleEndian", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "TT", ",", "RM", ")", ",", "CM", ",", "OL", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ",", "LittleEndian", ")", "{", "initReciprocals", "(", "*", "this", ",", "Subtarget", ")", ";", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "AArch64", "architecture", "model", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine12", "Func": "AArch64TargetMachine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1490, "Length": 115, "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", "=", "cast", "<", "FixedVectorType", ">", "(", "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", "(", "cast", "<", "FixedVectorType", ">", "(", "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": "X86TargetTransformInfo103", "Func": "getScalarizationOverhead", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1491, "Length": 326, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetLowering", "::", "HandleByVal", "(", "CCState", "*", "State", ",", "unsigned", "&", "Size", ",", "Align", "Alignment", ")", "const", "{", "Alignment", "=", "std", "::", "max", "(", "Alignment", ",", "Align", "(", "4", ")", ")", ";", "unsigned", "Reg", "=", "State", "->", "AllocateReg", "(", "GPRArgRegs", ")", ";", "if", "(", "!", "Reg", ")", "return", ";", "unsigned", "AlignInRegs", "=", "Alignment", ".", "value", "(", ")", "/", "4", ";", "unsigned", "Waste", "=", "(", "ARM", "::", "R4", "-", "Reg", ")", "%", "AlignInRegs", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Waste", ";", "++", "i", ")", "Reg", "=", "State", "->", "AllocateReg", "(", "GPRArgRegs", ")", ";", "if", "(", "!", "Reg", ")", "return", ";", "unsigned", "Excess", "=", "4", "*", "(", "ARM", "::", "R4", "-", "Reg", ")", ";", "const", "unsigned", "NSAAOffset", "=", "State", "->", "getNextStackOffset", "(", ")", ";", "if", "(", "NSAAOffset", "!=", "0", "&&", "Size", ">", "Excess", ")", "{", "while", "(", "State", "->", "AllocateReg", "(", "GPRArgRegs", ")", ")", ";", "return", ";", "}", "unsigned", "ByValRegBegin", "=", "Reg", ";", "unsigned", "ByValRegEnd", "=", "std", "::", "min", "<", "unsigned", ">", "(", "Reg", "+", "Size", "/", "4", ",", "ARM", "::", "R4", ")", ";", "State", "->", "addInRegsParamInfo", "(", "ByValRegBegin", ",", "ByValRegEnd", ")", ";", "for", "(", "unsigned", "i", "=", "Reg", "+", "1", ";", "i", "!=", "ByValRegEnd", ";", "++", "i", ")", "State", "->", "AllocateReg", "(", "GPRArgRegs", ")", ";", "Size", "=", "std", "::", "max", "<", "int", ">", "(", "Size", "-", "Excess", ",", "0", ")", ";", "}", ""], "natrual_language": ["Target-specific", "cleanup", "for", "formal", "ByVal", "parameters", "."], "TS_V_token": ["ARM", "ARM", "4", "4", "ARM::R4", "0", "4", "ARM::R4", "0", "4", "ARM::R4", "1", "0"], "File": "ARMISelLowering (2)5", "Func": "HandleByVal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1492, "Length": 225, "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": ["SHUXI"], "File": "SHUXISubtarget", "Func": "getRegisterInfo", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1493, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_function_arg_advance", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "struct", "mips_arg_info", "info", ";", "mips_get_arg_info", "(", "&", "info", ",", "cum", ",", "mode", ",", "type", ",", "named", ")", ";", "if", "(", "!", "info", ".", "fpr_p", ")", "cum", "->", "gp_reg_found", "=", "true", ";", "if", "(", "cum", "->", "arg_number", "<", "2", "&&", "info", ".", "fpr_p", ")", "cum", "->", "fp_code", "+=", "(", "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": "mips4", "Func": "mips_function_arg_advance", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1494, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MLxExpansion", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "TII", "=", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "Fn", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "Fn", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "Fn", ".", "getRegInfo", "(", ")", ";", "const", "ARMSubtarget", "*", "STI", "=", "&", "Fn", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "if", "(", "!", "STI", "->", "isCortexA9", "(", ")", ")", "return", "false", ";", "isLikeA9", "=", "STI", "->", "isLikeA9", "(", ")", "||", "STI", "->", "isSwift", "(", ")", ";", "isSwift", "=", "STI", "->", "isSwift", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "Fn", ")", "Modified", "|=", "ExpandFPMLxInstructions", "(", "MBB", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "MLxExpansionPass23", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1495, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZXPLINKFrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "MutableArrayRef", "<", "CalleeSavedInfo", ">", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "SystemZMachineFunctionInfo", "*", "ZFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "const", "SystemZSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "SystemZSubtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "*", "TII", "=", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "auto", "&", "Regs", "=", "Subtarget", ".", "getSpecialRegisters", "<", "SystemZXPLINK64Registers", ">", "(", ")", ";", "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", "(", "isInt", "<", "20", ">", "(", "Regs", ".", "getStackPointerBias", "(", ")", "+", "RestoreGPRs", ".", "GPROffset", ")", ")", ";", "if", "(", "RestoreGPRs", ".", "LowGPR", "==", "RestoreGPRs", ".", "HighGPR", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "SystemZ", "::", "LG", ")", ",", "RestoreGPRs", ".", "LowGPR", ")", ".", "addReg", "(", "Regs", ".", "getStackPointerRegister", "(", ")", ")", ".", "addImm", "(", "Regs", ".", "getStackPointerBias", "(", ")", "+", "RestoreGPRs", ".", "GPROffset", ")", ".", "addReg", "(", "0", ")", ";", "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", "(", "Regs", ".", "getStackPointerRegister", "(", ")", ")", ";", "MIB", ".", "addImm", "(", "Regs", ".", "getStackPointerBias", "(", ")", "+", "RestoreGPRs", ".", "GPROffset", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "CSI", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "I", "]", ".", "getReg", "(", ")", ";", "if", "(", "Reg", ">", "RestoreGPRs", ".", "LowGPR", "&&", "Reg", "<", "RestoreGPRs", ".", "HighGPR", ")", "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", "SystemZ", "SystemZ", "SystemZ", "0", "SystemZ::FP64BitRegClass", "SystemZ::FP64BitRegClass", "SystemZ::VR128BitRegClass", "SystemZ::VR128BitRegClass", "SystemZ::GPRRegs", "20", "SystemZ::LG", "0", "SystemZ::LMG", "0"], "File": "SystemZFrameLowering53", "Func": "restoreCalleeSavedRegisters", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1496, "Length": 471, "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": 1497, "Length": 31, "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", "(", ")", ";", "bundleCFG", "(", "MF", ")", ";", "StackTop", "=", "0", ";", "SmallPtrSet", "<", "MachineBasicBlock", "*", ",", "8", ">", "Processed", ";", "MachineBasicBlock", "*", "Entry", "=", "&", "MF", ".", "front", "(", ")", ";", "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", "8"], "File": "X86FloatingPoint10", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1498, "Length": 217, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"TOY PreRegAlloc\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["TOY", "\"TOY PreRegAlloc\""], "File": "TOYPreRegAlloc", "Func": "getPassName", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1499, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "OR1KMCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "getOR1KRegisterNumbering", "(", "MO", ".", "getReg", "(", ")", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", ")", ";", "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", ")", ";", "OR1K", "::", "Fixups", "FixupKind", "=", "OR1K", "::", "Fixups", "(", "0", ")", ";", "switch", "(", "cast", "<", "MCSymbolRefExpr", ">", "(", "Expr", ")", "->", "getKind", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown fixup kind!\"", ")", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_None", ":", "FixupKind", "=", "OR1K", "::", "fixup_OR1K_REL26", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_OR1K_ABS_HI", ":", "FixupKind", "=", "OR1K", "::", "fixup_OR1K_HI16_INSN", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_OR1K_ABS_LO", ":", "FixupKind", "=", "OR1K", "::", "fixup_OR1K_LO16_INSN", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_OR1K_PLT", ":", "FixupKind", "=", "OR1K", "::", "fixup_OR1K_PLT26", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_OR1K_GOTPCHI", ":", "FixupKind", "=", "OR1K", "::", "fixup_OR1K_GOTPC_HI16", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_OR1K_GOTPCLO", ":", "FixupKind", "=", "OR1K", "::", "fixup_OR1K_GOTPC_LO16", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_OR1K_GOTOFFHI", ":", "FixupKind", "=", "OR1K", "::", "fixup_OR1K_GOTOFF_HI16", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_OR1K_GOTOFFLO", ":", "FixupKind", "=", "OR1K", "::", "fixup_OR1K_GOTOFF_LO16", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_OR1K_GOT", ":", "FixupKind", "=", "OR1K", "::", "fixup_OR1K_GOT16", ";", "break", ";", "}", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "0", ",", "MO", ".", "getExpr", "(", ")", ",", "MCFixupKind", "(", "FixupKind", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["OR1K", "OR1K", "OR1K", "OR1K::Fixups", "OR1K::Fixups", "0", "\"Unknown fixup kind!\"", "OR1K::fixup_OR1K_REL26", "OR1K", "OR1K::fixup_OR1K_HI16_INSN", "OR1K", "OR1K::fixup_OR1K_LO16_INSN", "OR1K", "OR1K::fixup_OR1K_PLT26", "OR1K", "OR1K::fixup_OR1K_GOTPC_HI16", "OR1K", "OR1K::fixup_OR1K_GOTPC_LO16", "OR1K", "OR1K::fixup_OR1K_GOTOFF_HI16", "OR1K", "OR1K::fixup_OR1K_GOTOFF_LO16", "OR1K", "OR1K::fixup_OR1K_GOT16", "0", "0"], "File": "OR1KMCCodeEmitter", "Func": "getMachineOpValue", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1500, "Length": 318, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "useAA", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Enable", "use", "of", "alias", "analysis", "during", "code", "generation", "(", "during", "MI", "scheduling", ",", "DAGCombine", ",", "etc", ".", ")", "."], "TS_V_token": ["SystemZ"], "File": "SystemZSubtarget", "Func": "useAA", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1501, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ",", "MCStreamer", "&", "Out", ")", "{", "MCInst", "Inst", ";", "unsigned", "Kind", ";", "unsigned", "ErrorInfo", ";", "unsigned", "MatchResult", ";", "SmallVector", "<", "std", "::", "pair", "<", "unsigned", ",", "std", "::", "string", ">", ",", "4", ">", "MapAndConstraints", ";", "MatchResult", "=", "MatchInstructionImpl", "(", "Operands", ",", "Kind", ",", "Inst", ",", "MapAndConstraints", ",", "ErrorInfo", ",", "false", ")", ";", "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", ":", "{", "assert", "(", "ErrorInfo", "&&", "\"Unknown missing feature!\"", ")", ";", "std", "::", "string", "Msg", "=", "\"instruction requires:\"", ";", "unsigned", "Mask", "=", "1", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "(", "sizeof", "(", "ErrorInfo", ")", "*", "8", "-", "1", ")", ";", "++", "i", ")", "{", "if", "(", "ErrorInfo", "&", "Mask", ")", "{", "Msg", "+=", "\" \"", ";", "Msg", "+=", "getSubtargetFeatureName", "(", "ErrorInfo", "&", "Mask", ")", ";", "}", "Mask", "<<=", "1", ";", "}", "return", "Error", "(", "IDLoc", ",", "Msg", ")", ";", "}", "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_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\"", ")", ";", "case", "Match_ImmRange0_15", ":", "{", "SMLoc", "ErrorLoc", "=", "(", "(", "ARMOperand", "*", ")", "Operands", "[", "ErrorInfo", "]", ")", "->", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "return", "Error", "(", "ErrorLoc", ",", "\"immediate operand must be in the range [0,15]\"", ")", ";", "}", "}", "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", "ARM::ITasm", "\"Unknown missing feature!\"", "\"instruction requires:\"", "1", "0", "8", "1", "\" \"", "1", "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\"", "ARM", "\"immediate operand must be in the range [0,15]\"", "\"Implement any new match types added!\""], "File": "ARMAsmParser65", "Func": "MatchAndEmitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1502, "Length": 419, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetLowering", "::", "HandleByVal", "(", "CCState", "*", "State", ",", "unsigned", "&", "size", ",", "unsigned", "Align", ")", "const", "{", "unsigned", "reg", "=", "State", "->", "AllocateReg", "(", "GPRArgRegs", ",", "4", ")", ";", "assert", "(", "(", "State", "->", "getCallOrPrologue", "(", ")", "==", "Prologue", "||", "State", "->", "getCallOrPrologue", "(", ")", "==", "Call", ")", "&&", "\"unhandled ParmContext\"", ")", ";", "unsigned", "NSAAOffset", "=", "State", "->", "getNextStackOffset", "(", ")", ";", "if", "(", "State", "->", "getCallOrPrologue", "(", ")", "!=", "Call", ")", "{", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "State", "->", "getInRegsParamsCount", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "RB", ",", "RE", ";", "State", "->", "getInRegsParamInfo", "(", "i", ",", "RB", ",", "RE", ")", ";", "assert", "(", "NSAAOffset", ">=", "(", "RE", "-", "RB", ")", "*", "4", "&&", "\"Stack offset for byval regs doesn't introduced anymore?\"", ")", ";", "NSAAOffset", "-=", "(", "RE", "-", "RB", ")", "*", "4", ";", "}", "}", "if", "(", "(", "ARM", "::", "R0", "<=", "reg", ")", "&&", "(", "reg", "<=", "ARM", "::", "R3", ")", ")", "{", "if", "(", "Subtarget", "->", "isAAPCS_ABI", "(", ")", "&&", "Align", ">", "4", ")", "{", "unsigned", "AlignInRegs", "=", "Align", "/", "4", ";", "unsigned", "Waste", "=", "(", "ARM", "::", "R4", "-", "reg", ")", "%", "AlignInRegs", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Waste", ";", "++", "i", ")", "reg", "=", "State", "->", "AllocateReg", "(", "GPRArgRegs", ",", "4", ")", ";", "}", "if", "(", "reg", "!=", "0", ")", "{", "unsigned", "excess", "=", "4", "*", "(", "ARM", "::", "R4", "-", "reg", ")", ";", "if", "(", "Subtarget", "->", "isAAPCS_ABI", "(", ")", "&&", "NSAAOffset", "!=", "0", "&&", "size", ">", "excess", ")", "{", "while", "(", "State", "->", "AllocateReg", "(", "GPRArgRegs", ",", "4", ")", ")", ";", "return", ";", "}", "unsigned", "ByValRegBegin", "=", "reg", ";", "unsigned", "ByValRegEnd", "=", "(", "size", "<", "excess", ")", "?", "reg", "+", "size", "/", "4", ":", "ARM", "::", "R4", ";", "State", "->", "addInRegsParamInfo", "(", "ByValRegBegin", ",", "ByValRegEnd", ")", ";", "for", "(", "unsigned", "i", "=", "reg", "+", "1", ";", "i", "!=", "ByValRegEnd", ";", "++", "i", ")", "State", "->", "AllocateReg", "(", "GPRArgRegs", ",", "4", ")", ";", "if", "(", "State", "->", "getCallOrPrologue", "(", ")", "==", "Call", ")", "{", "if", "(", "size", "<", "excess", ")", "size", "=", "0", ";", "else", "size", "-=", "excess", ";", "}", "}", "}", "}", ""], "natrual_language": ["Target-specific", "cleanup", "for", "formal", "ByVal", "parameters", "."], "TS_V_token": ["ARM", "ARM", "4", "\"unhandled ParmContext\"", "0", "4", "\"Stack offset for byval regs doesn't introduced anymore?\"", "4", "ARM::R0", "ARM::R3", "4", "4", "ARM::R4", "0", "4", "0", "4", "ARM::R4", "0", "4", "4", "ARM::R4", "1", "4", "0"], "File": "ARMISelLowering137", "Func": "HandleByVal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1503, "Length": 357, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "CJGTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "(", "CJGISD", "::", "NodeType", ")", "Opcode", ")", "{", "case", "CJGISD", "::", "FIRST_NUMBER", ":", "break", ";", "case", "CJGISD", "::", "CMP", ":", "return", "\"CJGISD::CMP\"", ";", "case", "CJGISD", "::", "RET_FLAG", ":", "return", "\"CJGISD::RET_FLAG\"", ";", "case", "CJGISD", "::", "BR_CC", ":", "return", "\"CJGISD::BR_CC\"", ";", "case", "CJGISD", "::", "SELECT_CC", ":", "return", "\"CJGISD::SELECT_CC\"", ";", "case", "CJGISD", "::", "Wrapper", ":", "return", "\"CJGISD::Wrapper\"", ";", "case", "CJGISD", "::", "CALL", ":", "return", "\"CJGISD::CALL\"", ";", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["CJG", "CJG", "CJGISD::NodeType", "CJGISD::FIRST_NUMBER", "CJGISD::CMP", "\"CJGISD::CMP\"", "CJGISD::RET_FLAG", "\"CJGISD::RET_FLAG\"", "CJGISD::BR_CC", "\"CJGISD::BR_CC\"", "CJGISD::SELECT_CC", "\"CJGISD::SELECT_CC\"", "CJGISD::Wrapper", "\"CJGISD::Wrapper\"", "CJGISD::CALL", "\"CJGISD::CALL\""], "File": "CJGISelLowering", "Func": "getTargetNodeName", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1504, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsInstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "MI", ".", "getDesc", "(", ")", ".", "getSize", "(", ")", ";", "case", "TargetOpcode", "::", "INLINEASM", ":", "{", "const", "MachineFunction", "*", "MF", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "char", "*", "AsmStr", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getSymbolName", "(", ")", ";", "return", "getInlineAsmLength", "(", "AsmStr", ",", "*", "MF", "->", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", ")", ";", "}", "case", "Mips", "::", "CONSTPOOL_ENTRY", ":", "return", "MI", ".", "getOperand", "(", "2", ")", ".", "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": ["Mips", "Mips", "0", "Mips::CONSTPOOL_ENTRY", "2"], "File": "MipsInstrInfo", "Func": "getInstSizeInBytes", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1505, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isProfitableToIfCvt", "(", "MachineBasicBlock", "&", "TBB", ",", "unsigned", "TCycles", ",", "unsigned", "TExtra", ",", "MachineBasicBlock", "&", "FBB", ",", "unsigned", "FCycles", ",", "unsigned", "FExtra", ",", "BranchProbability", "Probability", ")", "const", "{", "if", "(", "!", "TCycles", ")", "return", "false", ";", "const", "unsigned", "ScalingUpFactor", "=", "1024", ";", "unsigned", "PredCost", "=", "(", "TCycles", "+", "FCycles", "+", "TExtra", "+", "FExtra", ")", "*", "ScalingUpFactor", ";", "unsigned", "UnpredCost", ";", "if", "(", "!", "Subtarget", ".", "hasBranchPredictor", "(", ")", ")", "{", "unsigned", "NotTakenBranchCost", "=", "1", ";", "unsigned", "TakenBranchCost", "=", "Subtarget", ".", "getMispredictionPenalty", "(", ")", ";", "unsigned", "TUnpredCycles", ",", "FUnpredCycles", ";", "if", "(", "!", "FCycles", ")", "{", "TUnpredCycles", "=", "TCycles", "+", "NotTakenBranchCost", ";", "FUnpredCycles", "=", "TakenBranchCost", ";", "}", "else", "{", "TUnpredCycles", "=", "TCycles", "+", "TakenBranchCost", ";", "FUnpredCycles", "=", "FCycles", "+", "NotTakenBranchCost", ";", "PredCost", "-=", "1", "*", "ScalingUpFactor", ";", "}", "unsigned", "TUnpredCost", "=", "Probability", ".", "scale", "(", "TUnpredCycles", "*", "ScalingUpFactor", ")", ";", "unsigned", "FUnpredCost", "=", "Probability", ".", "getCompl", "(", ")", ".", "scale", "(", "FUnpredCycles", "*", "ScalingUpFactor", ")", ";", "UnpredCost", "=", "TUnpredCost", "+", "FUnpredCost", ";", "if", "(", "Subtarget", ".", "isThumb2", "(", ")", "&&", "TCycles", "+", "FCycles", ">", "4", ")", "{", "PredCost", "+=", "(", "(", "TCycles", "+", "FCycles", "-", "4", ")", "/", "4", ")", "*", "ScalingUpFactor", ";", "}", "}", "else", "{", "unsigned", "TUnpredCost", "=", "Probability", ".", "scale", "(", "TCycles", "*", "ScalingUpFactor", ")", ";", "unsigned", "FUnpredCost", "=", "Probability", ".", "getCompl", "(", ")", ".", "scale", "(", "FCycles", "*", "ScalingUpFactor", ")", ";", "UnpredCost", "=", "TUnpredCost", "+", "FUnpredCost", ";", "UnpredCost", "+=", "1", "*", "ScalingUpFactor", ";", "UnpredCost", "+=", "Subtarget", ".", "getMispredictionPenalty", "(", ")", "*", "ScalingUpFactor", "/", "10", ";", "}", "return", "PredCost", "<=", "UnpredCost", ";", "}", ""], "natrual_language": ["Second", "variant", "of", "isProfitableToIfCvt", "."], "TS_V_token": ["ARM", "ARM", "1024", "1", "1", "4", "4", "4", "1", "10"], "File": "ARMBaseInstrInfo1", "Func": "isProfitableToIfCvt", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1506, "Length": 257, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "PPCTargetLowering", "::", "emitMaskedAtomicRMWIntrinsic", "(", "IRBuilderBase", "&", "Builder", ",", "AtomicRMWInst", "*", "AI", ",", "Value", "*", "AlignedAddr", ",", "Value", "*", "Incr", ",", "Value", "*", "Mask", ",", "Value", "*", "ShiftAmt", ",", "AtomicOrdering", "Ord", ")", "const", "{", "assert", "(", "EnableQuadwordAtomics", "&&", "Subtarget", ".", "hasQuadwordAtomics", "(", ")", "&&", "\"Only support quadword now\"", ")", ";", "Module", "*", "M", "=", "Builder", ".", "GetInsertBlock", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "Type", "*", "ValTy", "=", "cast", "<", "PointerType", ">", "(", "AlignedAddr", "->", "getType", "(", ")", ")", "->", "getElementType", "(", ")", ";", "assert", "(", "ValTy", "->", "getPrimitiveSizeInBits", "(", ")", "==", "128", ")", ";", "Function", "*", "RMW", "=", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "getIntrinsicForAtomicRMWBinOp128", "(", "AI", "->", "getOperation", "(", ")", ")", ")", ";", "Type", "*", "Int64Ty", "=", "Type", "::", "getInt64Ty", "(", "M", "->", "getContext", "(", ")", ")", ";", "Value", "*", "IncrLo", "=", "Builder", ".", "CreateTrunc", "(", "Incr", ",", "Int64Ty", ",", "\"incr_lo\"", ")", ";", "Value", "*", "IncrHi", "=", "Builder", ".", "CreateTrunc", "(", "Builder", ".", "CreateLShr", "(", "Incr", ",", "64", ")", ",", "Int64Ty", ",", "\"incr_hi\"", ")", ";", "Value", "*", "Addr", "=", "Builder", ".", "CreateBitCast", "(", "AlignedAddr", ",", "Type", "::", "getInt8PtrTy", "(", "M", "->", "getContext", "(", ")", ")", ")", ";", "Value", "*", "LoHi", "=", "Builder", ".", "CreateCall", "(", "RMW", ",", "{", "Addr", ",", "IncrLo", ",", "IncrHi", "}", ")", ";", "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\"", ")", ";", "}", ""], "natrual_language": ["Perform", "a", "masked", "atomicrmw", "using", "a", "target-specific", "intrinsic", "."], "TS_V_token": ["PowerPC", "PPC", "\"Only support quadword now\"", "128", "Intrinsic::getDeclaration", "\"incr_lo\"", "64", "\"incr_hi\"", "0", "\"lo\"", "1", "\"hi\"", "\"lo64\"", "\"hi64\"", "64", "\"val64\""], "File": "PPCISelLowering109", "Func": "emitMaskedAtomicRMWIntrinsic", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1507, "Length": 293, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SystemZInstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZSubtarget", "Func": "getInstrInfo", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1508, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "getMemSize", "(", "MachineInstr", "*", "MI", ")", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Opcode has unknown size!\"", ")", ";", "case", "AArch64", "::", "STRSui", ":", "case", "AArch64", "::", "STURSi", ":", "return", "4", ";", "case", "AArch64", "::", "STRDui", ":", "case", "AArch64", "::", "STURDi", ":", "return", "8", ";", "case", "AArch64", "::", "STRQui", ":", "case", "AArch64", "::", "STURQi", ":", "return", "16", ";", "case", "AArch64", "::", "STRWui", ":", "case", "AArch64", "::", "STURWi", ":", "return", "4", ";", "case", "AArch64", "::", "STRXui", ":", "case", "AArch64", "::", "STURXi", ":", "return", "8", ";", "case", "AArch64", "::", "LDRSui", ":", "case", "AArch64", "::", "LDURSi", ":", "return", "4", ";", "case", "AArch64", "::", "LDRDui", ":", "case", "AArch64", "::", "LDURDi", ":", "return", "8", ";", "case", "AArch64", "::", "LDRQui", ":", "case", "AArch64", "::", "LDURQi", ":", "return", "16", ";", "case", "AArch64", "::", "LDRWui", ":", "case", "AArch64", "::", "LDURWi", ":", "return", "4", ";", "case", "AArch64", "::", "LDRXui", ":", "case", "AArch64", "::", "LDURXi", ":", "return", "8", ";", "case", "AArch64", "::", "LDRSWui", ":", "case", "AArch64", "::", "LDURSWi", ":", "return", "4", ";", "}", "}", ""], "natrual_language": ["Returns", "the", "size", "in", "bytes", "of", "the", "memory", "access", "."], "TS_V_token": ["AArch64", "\"Opcode has unknown size!\"", "AArch64::STRSui", "AArch64::STURSi", "4", "AArch64::STRDui", "AArch64::STURDi", "8", "AArch64::STRQui", "AArch64::STURQi", "16", "AArch64::STRWui", "AArch64::STURWi", "4", "AArch64::STRXui", "AArch64::STURXi", "8", "AArch64::LDRSui", "AArch64::LDURSi", "4", "AArch64::LDRDui", "AArch64::LDURDi", "8", "AArch64::LDRQui", "AArch64::LDURQi", "16", "AArch64::LDRWui", "AArch64::LDURWi", "4", "AArch64::LDRXui", "AArch64::LDURXi", "8", "AArch64::LDRSWui", "AArch64::LDURSWi", "4"], "File": "AArch64LoadStoreOptimizer47", "Func": "getMemSize", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1509, "Length": 170, "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": 1510, "Length": 350, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "function_resolver", "::", "require_derived_scalar_type", "(", "unsigned", "int", "argno", ",", "type_class_index", "expected_tclass", ",", "unsigned", "int", "expected_bits", ")", "{", "gcc_assert", "(", "expected_tclass", "==", "SAME_TYPE_CLASS", "||", "expected_tclass", "==", "TYPE_signed", "||", "expected_tclass", "==", "TYPE_unsigned", ")", ";", "if", "(", "expected_tclass", "!=", "SAME_TYPE_CLASS", "&&", "expected_bits", "!=", "SAME_SIZE", ")", "{", "type_suffix_index", "expected_type", "=", "find_type_suffix", "(", "expected_tclass", ",", "expected_bits", ")", ";", "return", "require_scalar_type", "(", "argno", ",", "get_scalar_type_name", "(", "expected_type", ")", ")", ";", "}", "if", "(", "scalar_argument_p", "(", "argno", ")", ")", "return", "true", ";", "if", "(", "expected_tclass", "==", "SAME_TYPE_CLASS", ")", "error_at", "(", "location", ",", "\"passing %qT to argument %d of %qE, which\"", "\" expects a scalar element\"", ",", "get_argument_type", "(", "argno", ")", ",", "argno", "+", "1", ",", "fndecl", ")", ";", "else", "error_at", "(", "location", ",", "\"passing %qT to argument %d of %qE, which\"", "\" expects a scalar integer\"", ",", "get_argument_type", "(", "argno", ")", ",", "argno", "+", "1", ",", "fndecl", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Require", "argument", "ARGNO", "to", "be", "a", "(", "possibly", "variable", ")", "scalar", ",", "expecting", "it", "to", "have", "the", "following", "properties", ":", "-", "the", "type", "class", "must", "be", "the", "same", "as", "for", "type", "suffix", "0", "if", "EXPECTED_TCLASS", "is", "SAME_TYPE_CLASS", ",", "otherwise", "it", "must", "be", "EXPECTED_TCLASS", "itself", ".", "-", "the", "element", "size", "must", "be", "the", "same", "as", "for", "type", "suffix", "0", "if", "EXPECTED_BITS", "is", "SAME_TYPE_SIZE", ",", "otherwise", "it", "must", "be", "EXPECTED_BITS", "itself", ".", "Return", "true", "if", "the", "argument", "is", "valid", ",", "otherwise", "report", "an", "appropriate", "error", ".", "Note", "that", "we", "do", "n't", "check", "whether", "the", "scalar", "type", "actually", "has", "the", "required", "properties", ",", "since", "that", "'s", "subject", "to", "implicit", "promotions", "and", "conversions", ".", "Instead", "we", "just", "use", "the", "expected", "properties", "to", "tune", "the", "error", "message", "."], "TS_V_token": ["aarch64", "\"passing %qT to argument %d of %qE, which\"", "\" expects a scalar element\"", "1", "\"passing %qT to argument %d of %qE, which\"", "\" expects a scalar integer\"", "1"], "File": "aarch64-sve-builtins", "Func": "require_derived_scalar_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1511, "Length": 124, "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", "(", ")", "||", "Kind", ".", "isReadOnly", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "global", "address", "should", "be", "placed", "into", "small", "data/bss", "section", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsTargetObjectFile11", "Func": "IsGlobalInSmallSection", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1512, "Length": 55, "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", ";", "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", "SP", "SP::ADDrr", "SP::ADDri"], "File": "SparcFrameLowering (2)1", "Func": "emitEpilogue", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1513, "Length": 186, "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": 1514, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMSubtarget", "::", "ARMSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "IsLittle", ",", "const", "TargetOptions", "&", "Options", ")", ":", "ARMGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "ARMProcFamily", "(", "Others", ")", ",", "ARMProcClass", "(", "None", ")", ",", "stackAlignment", "(", "4", ")", ",", "CPUString", "(", "CPU", ")", ",", "IsLittle", "(", "IsLittle", ")", ",", "TargetTriple", "(", "TT", ")", ",", "Options", "(", "Options", ")", ",", "TargetABI", "(", "ARM_ABI_UNKNOWN", ")", "{", "initializeEnvironment", "(", ")", ";", "resetSubtargetFeatures", "(", "CPU", ",", "FS", ")", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "4", "ARM"], "File": "ARMSubtarget56", "Func": "ARMSubtarget", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1515, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_rtx_costs_impl", "(", "rtx", "x", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "int", "outer_code", ",", "int", "opno", "ATTRIBUTE_UNUSED", ",", "int", "*", "total", ",", "bool", "speed", ")", "{", "int", "code", "=", "GET_CODE", "(", "x", ")", ";", "if", "(", "speed", ")", "goto", "performance_cost", ";", "else", "goto", "size_cost", ";", "performance_cost", ":", "switch", "(", "code", ")", "{", "case", "SET", ":", "return", "false", ";", "case", "USE", ":", "*", "total", "=", "0", ";", "break", ";", "case", "MULT", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", ";", "break", ";", "case", "DIV", ":", "case", "UDIV", ":", "case", "MOD", ":", "case", "UMOD", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "7", ")", ";", "break", ";", "default", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", ";", "break", ";", "}", "return", "true", ";", "size_cost", ":", "switch", "(", "code", ")", "{", "case", "SET", ":", "return", "false", ";", "case", "USE", ":", "*", "total", "=", "0", ";", "break", ";", "case", "CONST_INT", ":", "if", "(", "outer_code", "==", "SET", ")", "{", "if", "(", "satisfies_constraint_Is05", "(", "x", ")", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", "-", "2", ";", "else", "if", "(", "satisfies_constraint_Is20", "(", "x", ")", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", ";", "else", "*", "total", "=", "COSTS_N_INSNS", "(", "2", ")", ";", "}", "else", "if", "(", "outer_code", "==", "PLUS", "||", "outer_code", "==", "MINUS", ")", "{", "if", "(", "satisfies_constraint_Iu05", "(", "x", ")", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", "-", "2", ";", "else", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", ";", "}", "else", "if", "(", "outer_code", "==", "ASHIFT", ")", "{", "if", "(", "satisfies_constraint_Iu03", "(", "x", ")", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", "-", "2", ";", "else", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", ";", "}", "else", "if", "(", "outer_code", "==", "ASHIFTRT", "||", "outer_code", "==", "LSHIFTRT", ")", "{", "if", "(", "satisfies_constraint_Iu05", "(", "x", ")", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", "-", "2", ";", "else", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", ";", "}", "else", "{", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", ";", "}", "break", ";", "case", "CONST_DOUBLE", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "2", ")", ";", "break", ";", "default", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", ";", "break", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["This", "target", "hook", "describes", "the", "relative", "costs", "of", "RTL", "expressions", ".", "Return", "'true", "'", "when", "all", "subexpressions", "of", "x", "have", "been", "processed", ".", "Return", "'false", "'", "to", "sum", "the", "costs", "of", "sub-rtx", ",", "plus", "cost", "of", "this", "operation", ".", "Refer", "to", "gcc/rtlanal.cc", "for", "more", "information", "."], "TS_V_token": ["nds32", "0", "1", "7", "1", "0", "1", "2", "1", "2", "1", "2", "1", "1", "2", "1", "1", "2", "1", "1", "2", "1"], "File": "nds32-cost3", "Func": "nds32_rtx_costs_impl", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1516, "Length": 350, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "MVT", "getScalarShiftAmountTy", "(", "EVT", "LHSTy", ")", "const", "LLVM_OVERRIDE", "{", "return", "MVT", "::", "i32", ";", "}", ""], "natrual_language": ["Return", "the", "type", "to", "use", "for", "a", "scalar", "shift", "opcode", ",", "given", "the", "shifted", "amount", "type", "."], "TS_V_token": ["SystemZ", "MVT::i32"], "File": "SystemZISelLowering11", "Func": "getScalarShiftAmountTy", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1517, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "getARMSubtarget", "(", ")", ".", "isThumb2", "(", ")", ")", "{", "if", "(", "!", "getARMSubtarget", "(", ")", ".", "prefers32BitThumb", "(", ")", ")", "addPass", "(", "createThumb2SizeReductionPass", "(", ")", ")", ";", "addPass", "(", "&", "UnpackMachineBundlesID", ")", ";", "}", "addPass", "(", "createARMOptimizeBarriersPass", "(", ")", ")", ";", "if", "(", "getARMSubtarget", "(", ")", ".", "useConstIslands", "(", ")", ")", "addPass", "(", "createARMConstantIslandPass", "(", ")", ")", ";", "if", "(", "getARMSubtarget", "(", ")", ".", "isTargetNaCl", "(", ")", ")", "{", "addPass", "(", "createARMNaClRewritePass", "(", ")", ")", ";", "}", "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", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM"], "File": "ARMTargetMachine97", "Func": "addPreEmitPass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1518, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_output_function_epilogue", "(", "FILE", "*", ")", "{", "const", "char", "*", "fnname", ";", "SET_REGNO", "(", "pic_offset_table_rtx", ",", "GLOBAL_POINTER_REGNUM", ")", ";", "mips_output_cplocal", "(", ")", ";", "if", "(", "cfun", "->", "machine", "->", "all_noreorder_p", ")", "{", "mips_pop_asm_switch", "(", "&", "mips_nomacro", ")", ";", "mips_pop_asm_switch", "(", "&", "mips_noreorder", ")", ";", "}", "fnname", "=", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "current_function_decl", ")", ",", "0", ")", ",", "0", ")", ";", "mips_end_function_definition", "(", "fnname", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OUTPUT_FUNCTION_EPILOGUE", "."], "TS_V_token": ["mips", "0", "0"], "File": "mips", "Func": "mips_output_function_epilogue", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1519, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SSEDomainFixPass", "::", "enterBasicBlock", "(", ")", "{", "for", "(", "MachineBasicBlock", "::", "livein_iterator", "i", "=", "MBB", "->", "livein_begin", "(", ")", ",", "e", "=", "MBB", "->", "livein_end", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "int", "rx", "=", "RegIndex", "(", "*", "i", ")", ";", "if", "(", "rx", "<", "0", ")", "continue", ";", "for", "(", "MachineBasicBlock", "::", "const_pred_iterator", "pi", "=", "MBB", "->", "pred_begin", "(", ")", ",", "pe", "=", "MBB", "->", "pred_end", "(", ")", ";", "pi", "!=", "pe", ";", "++", "pi", ")", "{", "LiveOutMap", "::", "const_iterator", "fi", "=", "LiveOuts", ".", "find", "(", "*", "pi", ")", ";", "if", "(", "fi", "==", "LiveOuts", ".", "end", "(", ")", ")", "continue", ";", "DomainValue", "*", "pdv", "=", "fi", "->", "second", "[", "rx", "]", ";", "if", "(", "!", "pdv", ")", "continue", ";", "if", "(", "!", "LiveRegs", "||", "!", "LiveRegs", "[", "rx", "]", ")", "{", "SetLiveReg", "(", "rx", ",", "pdv", ")", ";", "continue", ";", "}", "if", "(", "LiveRegs", "[", "rx", "]", "->", "isCollapsed", "(", ")", ")", "{", "unsigned", "domain", "=", "LiveRegs", "[", "rx", "]", "->", "getFirstDomain", "(", ")", ";", "if", "(", "!", "pdv", "->", "isCollapsed", "(", ")", "&&", "pdv", "->", "hasDomain", "(", "domain", ")", ")", "Collapse", "(", "pdv", ",", "domain", ")", ";", "continue", ";", "}", "if", "(", "!", "pdv", "->", "isCollapsed", "(", ")", ")", "Merge", "(", "LiveRegs", "[", "rx", "]", ",", "pdv", ")", ";", "else", "Force", "(", "rx", ",", "pdv", "->", "getFirstDomain", "(", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["Start", "tracking", "liveness", "from", "the", "begin", "of", "basic", "block", "MBB", "."], "TS_V_token": ["X86", "0"], "File": "SSEDomainFix", "Func": "enterBasicBlock", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1520, "Length": 231, "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": 1521, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PPC", "::", "Predicate", "PPC", "::", "getSwappedPredicate", "(", "PPC", "::", "Predicate", "Opcode", ")", "{", "switch", "(", "Opcode", ")", "{", "case", "PPC", "::", "PRED_EQ", ":", "return", "PPC", "::", "PRED_EQ", ";", "case", "PPC", "::", "PRED_NE", ":", "return", "PPC", "::", "PRED_NE", ";", "case", "PPC", "::", "PRED_LT", ":", "return", "PPC", "::", "PRED_GT", ";", "case", "PPC", "::", "PRED_GE", ":", "return", "PPC", "::", "PRED_LE", ";", "case", "PPC", "::", "PRED_GT", ":", "return", "PPC", "::", "PRED_LT", ";", "case", "PPC", "::", "PRED_LE", ":", "return", "PPC", "::", "PRED_GE", ";", "case", "PPC", "::", "PRED_NU", ":", "return", "PPC", "::", "PRED_NU", ";", "case", "PPC", "::", "PRED_UN", ":", "return", "PPC", "::", "PRED_UN", ";", "case", "PPC", "::", "PRED_EQ_MINUS", ":", "return", "PPC", "::", "PRED_EQ_MINUS", ";", "case", "PPC", "::", "PRED_NE_MINUS", ":", "return", "PPC", "::", "PRED_NE_MINUS", ";", "case", "PPC", "::", "PRED_LT_MINUS", ":", "return", "PPC", "::", "PRED_GT_MINUS", ";", "case", "PPC", "::", "PRED_GE_MINUS", ":", "return", "PPC", "::", "PRED_LE_MINUS", ";", "case", "PPC", "::", "PRED_GT_MINUS", ":", "return", "PPC", "::", "PRED_LT_MINUS", ";", "case", "PPC", "::", "PRED_LE_MINUS", ":", "return", "PPC", "::", "PRED_GE_MINUS", ";", "case", "PPC", "::", "PRED_NU_MINUS", ":", "return", "PPC", "::", "PRED_NU_MINUS", ";", "case", "PPC", "::", "PRED_UN_MINUS", ":", "return", "PPC", "::", "PRED_UN_MINUS", ";", "case", "PPC", "::", "PRED_EQ_PLUS", ":", "return", "PPC", "::", "PRED_EQ_PLUS", ";", "case", "PPC", "::", "PRED_NE_PLUS", ":", "return", "PPC", "::", "PRED_NE_PLUS", ";", "case", "PPC", "::", "PRED_LT_PLUS", ":", "return", "PPC", "::", "PRED_GT_PLUS", ";", "case", "PPC", "::", "PRED_GE_PLUS", ":", "return", "PPC", "::", "PRED_LE_PLUS", ";", "case", "PPC", "::", "PRED_GT_PLUS", ":", "return", "PPC", "::", "PRED_LT_PLUS", ";", "case", "PPC", "::", "PRED_LE_PLUS", ":", "return", "PPC", "::", "PRED_GE_PLUS", ";", "case", "PPC", "::", "PRED_NU_PLUS", ":", "return", "PPC", "::", "PRED_NU_PLUS", ";", "case", "PPC", "::", "PRED_UN_PLUS", ":", "return", "PPC", "::", "PRED_UN_PLUS", ";", "}", "llvm_unreachable", "(", "\"Unknown PPC branch opcode!\"", ")", ";", "}", ""], "natrual_language": ["This", "is", "a", "static", "version", "that", "you", "can", "use", "without", "an", "instruction", "available", "."], "TS_V_token": ["PowerPC", "PPC::Predicate", "PPC::getSwappedPredicate", "PPC::Predicate", "PPC::PRED_EQ", "PPC::PRED_EQ", "PPC::PRED_NE", "PPC::PRED_NE", "PPC::PRED_LT", "PPC::PRED_GT", "PPC::PRED_GE", "PPC::PRED_LE", "PPC::PRED_GT", "PPC::PRED_LT", "PPC::PRED_LE", "PPC::PRED_GE", "PPC::PRED_NU", "PPC::PRED_NU", "PPC::PRED_UN", "PPC::PRED_UN", "PPC::PRED_EQ_MINUS", "PPC::PRED_EQ_MINUS", "PPC::PRED_NE_MINUS", "PPC::PRED_NE_MINUS", "PPC::PRED_LT_MINUS", "PPC::PRED_GT_MINUS", "PPC::PRED_GE_MINUS", "PPC::PRED_LE_MINUS", "PPC::PRED_GT_MINUS", "PPC::PRED_LT_MINUS", "PPC::PRED_LE_MINUS", "PPC::PRED_GE_MINUS", "PPC::PRED_NU_MINUS", "PPC::PRED_NU_MINUS", "PPC::PRED_UN_MINUS", "PPC::PRED_UN_MINUS", "PPC::PRED_EQ_PLUS", "PPC::PRED_EQ_PLUS", "PPC::PRED_NE_PLUS", "PPC::PRED_NE_PLUS", "PPC::PRED_LT_PLUS", "PPC::PRED_GT_PLUS", "PPC::PRED_GE_PLUS", "PPC::PRED_LE_PLUS", "PPC::PRED_GT_PLUS", "PPC::PRED_LT_PLUS", "PPC::PRED_LE_PLUS", "PPC::PRED_GE_PLUS", "PPC::PRED_NU_PLUS", "PPC::PRED_NU_PLUS", "PPC::PRED_UN_PLUS", "PPC::PRED_UN_PLUS", "\"Unknown PPC branch opcode!\""], "File": "PPCPredicates", "Func": "getSwappedPredicate", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1522, "Length": 265, "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", "(", "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": "arm", "Func": "arm_emit_vfp_multi_reg_pop", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1523, "Length": 290, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "areLoadsFromSameBasePtr", "(", "SDNode", "*", "Load1", ",", "SDNode", "*", "Load2", ",", "int64_t", "&", "Offset1", ",", "int64_t", "&", "Offset2", ")", "const", "{", "if", "(", "Subtarget", ".", "isThumb1Only", "(", ")", ")", "return", "false", ";", "if", "(", "!", "Load1", "->", "isMachineOpcode", "(", ")", "||", "!", "Load2", "->", "isMachineOpcode", "(", ")", ")", "return", "false", ";", "switch", "(", "Load1", "->", "getMachineOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "ARM", "::", "LDRi12", ":", "case", "ARM", "::", "LDRBi12", ":", "case", "ARM", "::", "LDRD", ":", "case", "ARM", "::", "LDRH", ":", "case", "ARM", "::", "LDRSB", ":", "case", "ARM", "::", "LDRSH", ":", "case", "ARM", "::", "VLDRD", ":", "case", "ARM", "::", "VLDRS", ":", "case", "ARM", "::", "t2LDRi8", ":", "case", "ARM", "::", "t2LDRBi8", ":", "case", "ARM", "::", "t2LDRDi8", ":", "case", "ARM", "::", "t2LDRSHi8", ":", "case", "ARM", "::", "t2LDRi12", ":", "case", "ARM", "::", "t2LDRBi12", ":", "case", "ARM", "::", "t2LDRSHi12", ":", "break", ";", "}", "switch", "(", "Load2", "->", "getMachineOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "ARM", "::", "LDRi12", ":", "case", "ARM", "::", "LDRBi12", ":", "case", "ARM", "::", "LDRD", ":", "case", "ARM", "::", "LDRH", ":", "case", "ARM", "::", "LDRSB", ":", "case", "ARM", "::", "LDRSH", ":", "case", "ARM", "::", "VLDRD", ":", "case", "ARM", "::", "VLDRS", ":", "case", "ARM", "::", "t2LDRi8", ":", "case", "ARM", "::", "t2LDRBi8", ":", "case", "ARM", "::", "t2LDRSHi8", ":", "case", "ARM", "::", "t2LDRi12", ":", "case", "ARM", "::", "t2LDRBi12", ":", "case", "ARM", "::", "t2LDRSHi12", ":", "break", ";", "}", "if", "(", "Load1", "->", "getOperand", "(", "0", ")", "!=", "Load2", "->", "getOperand", "(", "0", ")", "||", "Load1", "->", "getOperand", "(", "4", ")", "!=", "Load2", "->", "getOperand", "(", "4", ")", ")", "return", "false", ";", "if", "(", "Load1", "->", "getOperand", "(", "3", ")", "!=", "Load2", "->", "getOperand", "(", "3", ")", ")", "return", "false", ";", "if", "(", "isa", "<", "ConstantSDNode", ">", "(", "Load1", "->", "getOperand", "(", "1", ")", ")", "&&", "isa", "<", "ConstantSDNode", ">", "(", "Load2", "->", "getOperand", "(", "1", ")", ")", ")", "{", "Offset1", "=", "cast", "<", "ConstantSDNode", ">", "(", "Load1", "->", "getOperand", "(", "1", ")", ")", "->", "getSExtValue", "(", ")", ";", "Offset2", "=", "cast", "<", "ConstantSDNode", ">", "(", "Load2", "->", "getOperand", "(", "1", ")", ")", "->", "getSExtValue", "(", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "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": ["ARM", "ARM", "ARM::LDRi12", "ARM::LDRBi12", "ARM::LDRD", "ARM::LDRH", "ARM::LDRSB", "ARM::LDRSH", "ARM::VLDRD", "ARM::VLDRS", "ARM::t2LDRi8", "ARM::t2LDRBi8", "ARM::t2LDRDi8", "ARM::t2LDRSHi8", "ARM::t2LDRi12", "ARM::t2LDRBi12", "ARM::t2LDRSHi12", "ARM::LDRi12", "ARM::LDRBi12", "ARM::LDRD", "ARM::LDRH", "ARM::LDRSB", "ARM::LDRSH", "ARM::VLDRD", "ARM::VLDRS", "ARM::t2LDRi8", "ARM::t2LDRBi8", "ARM::t2LDRSHi8", "ARM::t2LDRi12", "ARM::t2LDRBi12", "ARM::t2LDRSHi12", "0", "0", "4", "4", "3", "3", "1", "1", "1", "1"], "File": "ARMBaseInstrInfo (2)", "Func": "areLoadsFromSameBasePtr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1524, "Length": 359, "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", "<=", "5", "*", "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", "(", "VOIDmode", ",", "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", "(", "VOIDmode", ",", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "adjust", ")", ")", ")", ";", "emit_stack_probe", "(", "stack_pointer_rtx", ")", ";", "last", "=", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "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", "=", "size", "&", "-", "PROBE_INTERVAL", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "(", "PROBE_INTERVAL", "+", "dope", ")", ")", ")", ")", ";", "emit_move_insn", "(", "sr", ".", "reg", ",", "GEN_INT", "(", "-", "rounded_size", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "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", "(", "VOIDmode", ",", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "rounded_size", "-", "size", ")", ")", ")", ";", "emit_stack_probe", "(", "stack_pointer_rtx", ")", ";", "}", "last", "=", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "PROBE_INTERVAL", "+", "dope", ")", ")", ")", ";", "release_scratch_register_on_entry", "(", "&", "sr", ")", ";", "}", "gcc_assert", "(", "cfun", "->", "machine", "->", "fs", ".", "cfa_reg", "!=", "stack_pointer_rtx", ")", ";", "if", "(", "size", ">", "0", ")", "{", "rtx", "expr", "=", "gen_rtx_SEQUENCE", "(", "VOIDmode", ",", "rtvec_alloc", "(", "2", ")", ")", ";", "XVECEXP", "(", "expr", ",", "0", ",", "0", ")", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "size", ")", ")", ";", "XVECEXP", "(", "expr", ",", "0", ",", "1", ")", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "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", "5", "2", "0", "2", "0", "0", "0", "1", "1"], "File": "i3864", "Func": "ix86_adjust_stack_and_probe", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1525, "Length": 465, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "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": "ARMTargetObjectFile11", "Func": "getStaticBase", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1526, "Length": 14, "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": 1527, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "function_value_32", "(", "machine_mode", "orig_mode", ",", "machine_mode", "mode", ",", "const_tree", "fntype", ",", "const_tree", "fn", ")", "{", "unsigned", "int", "regno", ";", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "==", "8", ")", "regno", "=", "FIRST_MMX_REG", ";", "else", "if", "(", "mode", "==", "TImode", "||", "(", "VECTOR_MODE_P", "(", "mode", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "==", "16", ")", ")", "regno", "=", "FIRST_SSE_REG", ";", "else", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "==", "32", ")", "regno", "=", "FIRST_SSE_REG", ";", "else", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "==", "64", ")", "regno", "=", "FIRST_SSE_REG", ";", "else", "if", "(", "X87_FLOAT_MODE_P", "(", "mode", ")", "&&", "TARGET_FLOAT_RETURNS_IN_80387", ")", "regno", "=", "FIRST_FLOAT_REG", ";", "else", "regno", "=", "AX_REG", ";", "if", "(", "(", "fn", "||", "fntype", ")", "&&", "(", "mode", "==", "SFmode", "||", "mode", "==", "DFmode", ")", ")", "{", "int", "sse_level", "=", "ix86_function_sseregparm", "(", "fntype", ",", "fn", ",", "false", ")", ";", "if", "(", "sse_level", "==", "-", "1", ")", "{", "error", "(", "\"calling %qD with SSE caling convention without \"", "\"SSE/SSE2 enabled\"", ",", "fn", ")", ";", "sorry", "(", "\"this is a GCC bug that can be worked around by adding \"", "\"attribute used to function called\"", ")", ";", "}", "else", "if", "(", "(", "sse_level", ">=", "1", "&&", "mode", "==", "SFmode", ")", "||", "(", "sse_level", "==", "2", "&&", "mode", "==", "DFmode", ")", ")", "regno", "=", "FIRST_SSE_REG", ";", "}", "gcc_assert", "(", "mode", "!=", "OImode", ")", ";", "return", "gen_rtx_REG", "(", "orig_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", "."], "TS_V_token": ["i386", "8", "16", "32", "64", "1", "\"calling %qD with SSE caling convention without \"", "\"SSE/SSE2 enabled\"", "\"this is a GCC bug that can be worked around by adding \"", "\"attribute used to function called\"", "1", "2"], "File": "i3865", "Func": "function_value_32", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1528, "Length": 219, "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", "::", "WrapperLarge", ":", "return", "\"AArch64ISD::WrapperLarge\"", ";", "case", "AArch64ISD", "::", "WrapperSmall", ":", "return", "\"AArch64ISD::WrapperSmall\"", ";", "case", "AArch64ISD", "::", "NEON_BSL", ":", "return", "\"AArch64ISD::NEON_BSL\"", ";", "case", "AArch64ISD", "::", "NEON_MOVIMM", ":", "return", "\"AArch64ISD::NEON_MOVIMM\"", ";", "case", "AArch64ISD", "::", "NEON_MVNIMM", ":", "return", "\"AArch64ISD::NEON_MVNIMM\"", ";", "case", "AArch64ISD", "::", "NEON_FMOVIMM", ":", "return", "\"AArch64ISD::NEON_FMOVIMM\"", ";", "case", "AArch64ISD", "::", "NEON_CMP", ":", "return", "\"AArch64ISD::NEON_CMP\"", ";", "case", "AArch64ISD", "::", "NEON_CMPZ", ":", "return", "\"AArch64ISD::NEON_CMPZ\"", ";", "case", "AArch64ISD", "::", "NEON_TST", ":", "return", "\"AArch64ISD::NEON_TST\"", ";", "case", "AArch64ISD", "::", "NEON_QSHLs", ":", "return", "\"AArch64ISD::NEON_QSHLs\"", ";", "case", "AArch64ISD", "::", "NEON_QSHLu", ":", "return", "\"AArch64ISD::NEON_QSHLu\"", ";", "case", "AArch64ISD", "::", "NEON_VDUP", ":", "return", "\"AArch64ISD::NEON_VDUP\"", ";", "case", "AArch64ISD", "::", "NEON_VDUPLANE", ":", "return", "\"AArch64ISD::NEON_VDUPLANE\"", ";", "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::WrapperLarge", "\"AArch64ISD::WrapperLarge\"", "AArch64ISD::WrapperSmall", "\"AArch64ISD::WrapperSmall\"", "AArch64ISD::NEON_BSL", "\"AArch64ISD::NEON_BSL\"", "AArch64ISD::NEON_MOVIMM", "\"AArch64ISD::NEON_MOVIMM\"", "AArch64ISD::NEON_MVNIMM", "\"AArch64ISD::NEON_MVNIMM\"", "AArch64ISD::NEON_FMOVIMM", "\"AArch64ISD::NEON_FMOVIMM\"", "AArch64ISD::NEON_CMP", "\"AArch64ISD::NEON_CMP\"", "AArch64ISD::NEON_CMPZ", "\"AArch64ISD::NEON_CMPZ\"", "AArch64ISD::NEON_TST", "\"AArch64ISD::NEON_TST\"", "AArch64ISD::NEON_QSHLs", "\"AArch64ISD::NEON_QSHLs\"", "AArch64ISD::NEON_QSHLu", "\"AArch64ISD::NEON_QSHLu\"", "AArch64ISD::NEON_VDUP", "\"AArch64ISD::NEON_VDUP\"", "AArch64ISD::NEON_VDUPLANE", "\"AArch64ISD::NEON_VDUPLANE\""], "File": "AArch64ISelLowering138", "Func": "getTargetNodeName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1529, "Length": 232, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "csky_inlinable_constant", "(", "HOST_WIDE_INT", "value", ")", "{", "HOST_WIDE_INT", "x", ",", "y", ";", "return", "(", "!", "(", "CSKY_TARGET_ARCH", "(", "CK802", ")", "||", "CSKY_TARGET_ARCH", "(", "CK801", ")", ")", "&&", "try_csky_constant_tricks", "(", "value", ",", "&", "x", ",", "&", "y", ")", ")", ";", "}", ""], "natrual_language": ["This", "is", "a", "helper", "function", "for", "the", "Uo", "constraint", "for", "movsi", "patterns", "."], "TS_V_token": ["csky"], "File": "csky", "Func": "csky_inlinable_constant", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1530, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Warning", "(", "SMLoc", "L", ",", "const", "Twine", "&", "Msg", ")", "{", "getParser", "(", ")", ".", "Warning", "(", "L", ",", "Msg", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "warning", "at", "the", "location", "L", ",", "with", "the", "message", "Msg", "."], "TS_V_token": ["PowerPC"], "File": "PPCAsmParser (2)1", "Func": "Warning", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1531, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_define_unconditional_macros", "(", "cpp_reader", "*", "pfile", ")", "{", "builtin_define", "(", "\"__aarch64__\"", ")", ";", "builtin_define", "(", "\"__ARM_64BIT_STATE\"", ")", ";", "builtin_define", "(", "\"__ARM_ARCH_ISA_A64\"", ")", ";", "builtin_define_with_int_value", "(", "\"__ARM_ALIGN_MAX_PWR\"", ",", "28", ")", ";", "builtin_define_with_int_value", "(", "\"__ARM_ALIGN_MAX_STACK_PWR\"", ",", "16", ")", ";", "builtin_define", "(", "\"__ARM_ARCH_8A\"", ")", ";", "builtin_define_with_int_value", "(", "\"__ARM_ARCH_PROFILE\"", ",", "AARCH64_ISA_V8R", "?", "'R'", ":", "'A'", ")", ";", "builtin_define", "(", "\"__ARM_FEATURE_CLZ\"", ")", ";", "builtin_define", "(", "\"__ARM_FEATURE_IDIV\"", ")", ";", "builtin_define", "(", "\"__ARM_FEATURE_UNALIGNED\"", ")", ";", "builtin_define", "(", "\"__ARM_PCS_AAPCS64\"", ")", ";", "builtin_define_with_int_value", "(", "\"__ARM_SIZEOF_WCHAR_T\"", ",", "WCHAR_TYPE_SIZE", "/", "8", ")", ";", "builtin_define", "(", "\"__GCC_ASM_FLAG_OUTPUTS__\"", ")", ";", "}", ""], "natrual_language": ["Define", "the", "macros", "that", "we", "always", "expect", "to", "have", "on", "AArch64", "."], "TS_V_token": ["aarch64", "\"__aarch64__\"", "\"__ARM_64BIT_STATE\"", "\"__ARM_ARCH_ISA_A64\"", "\"__ARM_ALIGN_MAX_PWR\"", "28", "\"__ARM_ALIGN_MAX_STACK_PWR\"", "16", "\"__ARM_ARCH_8A\"", "\"__ARM_ARCH_PROFILE\"", "\"__ARM_FEATURE_CLZ\"", "\"__ARM_FEATURE_IDIV\"", "\"__ARM_FEATURE_UNALIGNED\"", "\"__ARM_PCS_AAPCS64\"", "\"__ARM_SIZEOF_WCHAR_T\"", "8", "\"__GCC_ASM_FLAG_OUTPUTS__\""], "File": "aarch64-c1", "Func": "aarch64_define_unconditional_macros", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1532, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "altivec_expand_vec_ext_builtin", "(", "tree", "arglist", ",", "rtx", "target", ")", "{", "enum", "machine_mode", "tmode", ",", "mode0", ";", "tree", "arg0", ",", "arg1", ";", "int", "elt", ";", "rtx", "op0", ";", "arg0", "=", "TREE_VALUE", "(", "arglist", ")", ";", "arg1", "=", "TREE_VALUE", "(", "TREE_CHAIN", "(", "arglist", ")", ")", ";", "op0", "=", "expand_expr", "(", "arg0", ",", "NULL_RTX", ",", "VOIDmode", ",", "0", ")", ";", "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", ")", ";", "rs6000_expand_vector_extract", "(", "target", ",", "op0", ",", "elt", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Expand", "vec_ext", "builtin", "."], "TS_V_token": ["rs6000", "0"], "File": "rs60003", "Func": "altivec_expand_vec_ext_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1533, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "sh_handle_trap_exit_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", ",", "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", "(", "TREE_CODE", "(", "TREE_VALUE", "(", "args", ")", ")", "!=", "INTEGER_CST", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute argument not an \"", "\"integer constant\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "an", "``", "trap_exit", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["sh", "\"%qE attribute only applies to functions\"", "\"%qE attribute argument not an \"", "\"integer constant\""], "File": "sh", "Func": "sh_handle_trap_exit_attribute", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1534, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_using_red_zone", "(", "void", ")", "{", "return", "TARGET_RED_ZONE", "&&", "!", "TARGET_64BIT_MS_ABI", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "red-zone", "is", "in", "use", "."], "TS_V_token": ["i386"], "File": "i3865", "Func": "ix86_using_red_zone", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1535, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MVEGatherScatterLowering", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "!", "EnableMaskedGatherScatters", ")", "return", "false", ";", "auto", "&", "TPC", "=", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ";", "auto", "&", "TM", "=", "TPC", ".", "getTM", "<", "TargetMachine", ">", "(", ")", ";", "auto", "*", "ST", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", "F", ")", ";", "if", "(", "!", "ST", "->", "hasMVEIntegerOps", "(", ")", ")", "return", "false", ";", "LI", "=", "&", "getAnalysis", "<", "LoopInfoWrapperPass", ">", "(", ")", ".", "getLoopInfo", "(", ")", ";", "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", ")", ";", "Changed", "|=", "optimiseAddress", "(", "II", "->", "getArgOperand", "(", "0", ")", ",", "II", "->", "getParent", "(", ")", ",", "LI", ")", ";", "}", "else", "if", "(", "II", "&&", "II", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "masked_scatter", "&&", "isa", "<", "FixedVectorType", ">", "(", "II", "->", "getArgOperand", "(", "0", ")", "->", "getType", "(", ")", ")", ")", "{", "Scatters", ".", "push_back", "(", "II", ")", ";", "Changed", "|=", "optimiseAddress", "(", "II", "->", "getArgOperand", "(", "1", ")", ",", "II", "->", "getParent", "(", ")", ",", "LI", ")", ";", "}", "}", "}", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Gathers", ".", "size", "(", ")", ";", "i", "++", ")", "{", "IntrinsicInst", "*", "I", "=", "Gathers", "[", "i", "]", ";", "Value", "*", "L", "=", "lowerGather", "(", "I", ")", ";", "if", "(", "L", "==", "nullptr", ")", "continue", ";", "SimplifyInstructionsInBlock", "(", "cast", "<", "Instruction", ">", "(", "L", ")", "->", "getParent", "(", ")", ")", ";", "Changed", "=", "true", ";", "}", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Scatters", ".", "size", "(", ")", ";", "i", "++", ")", "{", "IntrinsicInst", "*", "I", "=", "Scatters", "[", "i", "]", ";", "Value", "*", "S", "=", "lowerScatter", "(", "I", ")", ";", "if", "(", "S", "==", "nullptr", ")", "continue", ";", "SimplifyInstructionsInBlock", "(", "cast", "<", "Instruction", ">", "(", "S", ")", "->", "getParent", "(", ")", ")", ";", "Changed", "=", "true", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["ARM", "ARM", "4", "4", "Intrinsic::masked_gather", "0", "Intrinsic::masked_scatter", "0", "1", "0", "0"], "File": "MVEGatherScatterLowering", "Func": "runOnFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1536, "Length": 389, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_fixed_condition_code_regs", "(", "unsigned", "int", "*", "p1", ",", "unsigned", "int", "*", "p2", ")", "{", "if", "(", "!", "TARGET_32BIT", ")", "return", "false", ";", "*", "p1", "=", "CC_REGNUM", ";", "*", "p2", "=", "TARGET_VFP_BASE", "?", "VFPCC_REGNUM", ":", "INVALID_REGNUM", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FIXED_CONDITION_CODE_REGS", ".", "We", "only", "have", "condition", "code", "registers", "when", "not", "targetting", "Thumb1", ".", "The", "VFP", "condition", "register", "only", "exists", "when", "generating", "hard-float", "code", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_fixed_condition_code_regs", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1537, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MMIXAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["MMIX", "MMIX"], "File": "MMIXAsmParser", "Func": "ParseDirective", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1538, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "rs6000_xcoff_visibility", "(", "tree", "decl", ")", "{", "static", "const", "char", "*", "const", "visibility_types", "[", "]", "=", "{", "\"\"", ",", "\",protected\"", ",", "\",hidden\"", ",", "\",internal\"", "}", ";", "enum", "symbol_visibility", "vis", "=", "DECL_VISIBILITY", "(", "decl", ")", ";", "return", "visibility_types", "[", "vis", "]", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "calculate", "visibility", "of", "a", "DECL", "and", "return", "the", "value", "as", "a", "const", "string", "."], "TS_V_token": ["rs6000", "\"\"", "\",protected\"", "\",hidden\"", "\",internal\""], "File": "rs6000", "Func": "rs6000_xcoff_visibility", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1539, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_adjust_block_mem", "(", "rtx", "mem", ",", "HOST_WIDE_INT", "length", ",", "rtx", "*", "loop_reg", ",", "rtx", "*", "loop_mem", ")", "{", "*", "loop_reg", "=", "copy_addr_to_reg", "(", "XEXP", "(", "mem", ",", "0", ")", ")", ";", "*", "loop_mem", "=", "change_address", "(", "mem", ",", "BLKmode", ",", "*", "loop_reg", ")", ";", "set_mem_align", "(", "*", "loop_mem", ",", "MIN", "(", "MEM_ALIGN", "(", "mem", ")", ",", "length", "*", "BITS_PER_UNIT", ")", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "doing", "a", "loop-based", "block", "operation", "on", "memory", "reference", "MEM", ".", "Each", "iteration", "of", "the", "loop", "will", "operate", "on", "LENGTH", "bytes", "of", "MEM", ".", "Create", "a", "new", "base", "register", "for", "use", "within", "the", "loop", "and", "point", "it", "to", "the", "start", "of", "MEM", ".", "Create", "a", "new", "memory", "reference", "that", "uses", "this", "register", ".", "Store", "them", "in", "*", "LOOP_REG", "and", "*", "LOOP_MEM", "respectively", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips_adjust_block_mem", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1540, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_truncdf_32", "(", "rtx", "operand0", ",", "rtx", "operand1", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "operand0", ")", ";", "rtx", "xa", ",", "mask", ",", "TWO52", ",", "one", ",", "res", ",", "smask", ",", "tmp", ";", "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", ",", "&", "smask", ")", ";", "label", "=", "ix86_expand_sse_compare_and_jump", "(", "UNLE", ",", "TWO52", ",", "xa", ",", "false", ")", ";", "tmp", "=", "expand_simple_binop", "(", "mode", ",", "PLUS", ",", "xa", ",", "TWO52", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "tmp", "=", "expand_simple_binop", "(", "mode", ",", "MINUS", ",", "tmp", ",", "TWO52", ",", "tmp", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "emit_move_insn", "(", "res", ",", "tmp", ")", ";", "one", "=", "force_reg", "(", "mode", ",", "const_double_from_real_value", "(", "dconst1", ",", "mode", ")", ")", ";", "mask", "=", "ix86_expand_sse_compare_mask", "(", "UNGT", ",", "res", ",", "xa", ",", "false", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "mask", ",", "gen_rtx_AND", "(", "mode", ",", "mask", ",", "one", ")", ")", ")", ";", "tmp", "=", "expand_simple_binop", "(", "mode", ",", "MINUS", ",", "res", ",", "mask", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "emit_move_insn", "(", "res", ",", "tmp", ")", ";", "ix86_sse_copysign_to_positive", "(", "res", ",", "res", ",", "force_reg", "(", "mode", ",", "operand1", ")", ",", "smask", ")", ";", "emit_label", "(", "label", ")", ";", "LABEL_NUSES", "(", "label", ")", "=", "1", ";", "emit_move_insn", "(", "operand0", ",", "res", ")", ";", "}", ""], "natrual_language": ["Expand", "SSE", "sequence", "for", "computing", "trunc", "from", "OPERAND1", "storing", "into", "OPERAND0", "."], "TS_V_token": ["i386", "0", "0", "0", "1"], "File": "i3864", "Func": "ix86_expand_truncdf_32", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1541, "Length": 234, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "main", "(", ")", "{", "int", "i", ",", "j", ";", "double", "q", ",", "r", ",", "err", ",", "max_err", "=", "0", ",", "max_s_err", "=", "0", ";", "puts", "(", "\"/* This table has been generated by divtab-sh4.cc. */\"", ")", ";", "puts", "(", "\"\\t.balign 4\"", ")", ";", "puts", "(", "\"LOCAL(div_table_clz):\"", ")", ";", "printf", "(", "\"\\t.byte\\t%d\\n\"", ",", "0", ")", ";", "for", "(", "i", "=", "1", ";", "i", "<=", "128", ";", "i", "++", ")", "{", "int", "n", "=", "0", ";", "if", "(", "i", "==", "128", ")", "puts", "(", "\"\\ /* Lookup table translating positive divisor to index into table of\\n\\ normalized inverse. N.B. the '0' entry is also the last entry of the\\n\\ previous table, and causes an unaligned access for division by zero. */\\n\\ LOCAL(div_table_ix):\"", ")", ";", "for", "(", "j", "=", "i", ";", "j", "<=", "128", ";", "j", "+=", "j", ")", "n", "++", ";", "printf", "(", "\"\\t.byte\\t%d\\n\"", ",", "n", "-", "7", ")", ";", "}", "for", "(", "i", "=", "1", ";", "i", "<=", "128", ";", "i", "++", ")", "{", "j", "=", "i", "<", "0", "?", "-", "i", ":", "i", ";", "while", "(", "j", "<", "128", ")", "j", "+=", "j", ";", "printf", "(", "\"\\t.byte\\t%d\\n\"", ",", "j", "*", "2", "-", "96", "*", "4", ")", ";", "}", "puts", "(", "\"\\ /* 1/64 .. 1/127, normalized. There is an implicit leading 1 in bit 32. */\\n\\ .balign 4\\n\\ LOCAL(zero_l):\"", ")", ";", "for", "(", "i", "=", "64", ";", "i", "<", "128", ";", "i", "++", ")", "{", "if", "(", "i", "==", "96", ")", "puts", "(", "\"LOCAL(div_table):\"", ")", ";", "q", "=", "4.", "*", "(", "1", "<<", "30", ")", "*", "128", "/", "i", ";", "r", "=", "ceil", "(", "q", ")", ";", "printf", "(", "\"\\t.long\\t0x%X\\n\"", ",", "(", "unsigned", ")", "r", ")", ";", "err", "=", "r", "-", "q", ";", "if", "(", "err", ">", "max_err", ")", "max_err", "=", "err", ";", "err", "=", "err", "*", "i", "/", "128", ";", "if", "(", "err", ">", "max_s_err", ")", "max_s_err", "=", "err", ";", "}", "printf", "(", "\"\\t/* maximum error: %f scaled: %f*/\\n\"", ",", "max_err", ",", "max_s_err", ")", ";", "exit", "(", "0", ")", ";", "}", ""], "natrual_language": ["Main", "program", "to", "convert", "flat", "files", "into", "built-in", "initialization", "code", "."], "TS_V_token": ["sh", "0", "0", "\"/* This table has been generated by divtab-sh4.cc. */\"", "\"\\t.balign 4\"", "\"LOCAL(div_table_clz):\"", "\"\\t.byte\\t%d\\n\"", "0", "1", "128", "0", "128", "\"\\ /* Lookup table translating positive divisor to index into table of\\n\\ normalized inverse. N.B. the '0' entry is also the last entry of the\\n\\ previous table, and causes an unaligned access for division by zero. */\\n\\ LOCAL(div_table_ix):\"", "128", "\"\\t.byte\\t%d\\n\"", "7", "1", "128", "0", "128", "\"\\t.byte\\t%d\\n\"", "2", "96", "4", "\"\\ /* 1/64 .. 1/127, normalized. There is an implicit leading 1 in bit 32. */\\n\\ .balign 4\\n\\ LOCAL(zero_l):\"", "64", "128", "96", "\"LOCAL(div_table):\"", "4.", "1", "30", "128", "\"\\t.long\\t0x%X\\n\"", "128", "\"\\t/* maximum error: %f scaled: %f*/\\n\"", "0"], "File": "divtab-sh4", "Func": "main", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1542, "Length": 264, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "Cpu0AsmPrinter", "::", "getCurrentABIString", "(", ")", "const", "{", "switch", "(", "Subtarget", "->", "getTargetABI", "(", ")", ")", "{", "case", "Cpu0Subtarget", "::", "O32", ":", "return", "\"abi32\"", ";", "default", ":", "llvm_unreachable", "(", "\"Unknown Cpu0 ABI\"", ")", ";", ";", "}", "}", ""], "natrual_language": ["Emit", "Set", "directives", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0", "\"abi32\"", "\"Unknown Cpu0 ABI\""], "File": "Cpu0AsmPrinter1", "Func": "getCurrentABIString", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1543, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_attr_renesas_p", "(", "const_tree", "td", ")", "{", "if", "(", "TARGET_HITACHI", ")", "return", "true", ";", "if", "(", "td", "==", "NULL_TREE", ")", "return", "false", ";", "if", "(", "DECL_P", "(", "td", ")", ")", "td", "=", "TREE_TYPE", "(", "td", ")", ";", "if", "(", "td", "==", "error_mark_node", ")", "return", "false", ";", "return", "lookup_attribute", "(", "\"renesas\"", ",", "TYPE_ATTRIBUTES", "(", "td", ")", ")", "!=", "NULL_TREE", ";", "}", ""], "natrual_language": ["True", "if", "__attribute__", "(", "(", "renesas", ")", ")", "or", "-mrenesas", "."], "TS_V_token": ["sh", "\"renesas\""], "File": "sh", "Func": "sh_attr_renesas_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1544, "Length": 60, "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\"", ";", "case", "PPCISD", "::", "ADDIS_TOC_HA", ":", "return", "\"PPCISD::ADDIS_TOC_HA\"", ";", "case", "PPCISD", "::", "LD_TOC_L", ":", "return", "\"PPCISD::LD_TOC_L\"", ";", "case", "PPCISD", "::", "ADDI_TOC_L", ":", "return", "\"PPCISD::ADDI_TOC_L\"", ";", "case", "PPCISD", "::", "ADDIS_GOT_TPREL_HA", ":", "return", "\"PPCISD::ADDIS_GOT_TPREL_HA\"", ";", "case", "PPCISD", "::", "LD_GOT_TPREL_L", ":", "return", "\"PPCISD::LD_GOT_TPREL_L\"", ";", "case", "PPCISD", "::", "ADD_TLS", ":", "return", "\"PPCISD::ADD_TLS\"", ";", "case", "PPCISD", "::", "ADDIS_TLSGD_HA", ":", "return", "\"PPCISD::ADDIS_TLSGD_HA\"", ";", "case", "PPCISD", "::", "ADDI_TLSGD_L", ":", "return", "\"PPCISD::ADDI_TLSGD_L\"", ";", "case", "PPCISD", "::", "GET_TLS_ADDR", ":", "return", "\"PPCISD::GET_TLS_ADDR\"", ";", "case", "PPCISD", "::", "ADDIS_TLSLD_HA", ":", "return", "\"PPCISD::ADDIS_TLSLD_HA\"", ";", "case", "PPCISD", "::", "ADDI_TLSLD_L", ":", "return", "\"PPCISD::ADDI_TLSLD_L\"", ";", "case", "PPCISD", "::", "GET_TLSLD_ADDR", ":", "return", "\"PPCISD::GET_TLSLD_ADDR\"", ";", "case", "PPCISD", "::", "ADDIS_DTPREL_HA", ":", "return", "\"PPCISD::ADDIS_DTPREL_HA\"", ";", "case", "PPCISD", "::", "ADDI_DTPREL_L", ":", "return", "\"PPCISD::ADDI_DTPREL_L\"", ";", "case", "PPCISD", "::", "VADD_SPLAT", ":", "return", "\"PPCISD::VADD_SPLAT\"", ";", "}", "}", ""], "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\"", "PPCISD::ADDIS_TOC_HA", "\"PPCISD::ADDIS_TOC_HA\"", "PPCISD::LD_TOC_L", "\"PPCISD::LD_TOC_L\"", "PPCISD::ADDI_TOC_L", "\"PPCISD::ADDI_TOC_L\"", "PPCISD::ADDIS_GOT_TPREL_HA", "\"PPCISD::ADDIS_GOT_TPREL_HA\"", "PPCISD::LD_GOT_TPREL_L", "\"PPCISD::LD_GOT_TPREL_L\"", "PPCISD::ADD_TLS", "\"PPCISD::ADD_TLS\"", "PPCISD::ADDIS_TLSGD_HA", "\"PPCISD::ADDIS_TLSGD_HA\"", "PPCISD::ADDI_TLSGD_L", "\"PPCISD::ADDI_TLSGD_L\"", "PPCISD::GET_TLS_ADDR", "\"PPCISD::GET_TLS_ADDR\"", "PPCISD::ADDIS_TLSLD_HA", "\"PPCISD::ADDIS_TLSLD_HA\"", "PPCISD::ADDI_TLSLD_L", "\"PPCISD::ADDI_TLSLD_L\"", "PPCISD::GET_TLSLD_ADDR", "\"PPCISD::GET_TLSLD_ADDR\"", "PPCISD::ADDIS_DTPREL_HA", "\"PPCISD::ADDIS_DTPREL_HA\"", "PPCISD::ADDI_DTPREL_L", "\"PPCISD::ADDI_DTPREL_L\"", "PPCISD::VADD_SPLAT", "\"PPCISD::VADD_SPLAT\""], "File": "PPCISelLowering164", "Func": "getTargetNodeName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1545, "Length": 504, "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", ";", "MachineBasicBlock", "::", "iterator", "PI", "=", "doMergeWithPrevious", "?", "prior", "(", "MBBI", ")", ":", "MBBI", ";", "MachineBasicBlock", "::", "iterator", "NI", "=", "doMergeWithPrevious", "?", "0", ":", "llvm", "::", "next", "(", "MBBI", ")", ";", "unsigned", "Opc", "=", "PI", "->", "getOpcode", "(", ")", ";", "int", "Offset", "=", "0", ";", "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": "X86FrameInfo", "Func": "mergeSPUpdates", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1546, "Length": 244, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "machine_function", "*", "csky_init_machine_status", "(", "void", ")", "{", "struct", "machine_function", "*", "machine", ";", "machine", "=", "ggc_cleared_alloc", "<", "machine_function", ">", "(", ")", ";", "machine", "->", "func_type", "=", "CSKY_FT_UNKNOWN", ";", "return", "machine", ";", "}", ""], "natrual_language": ["Functions", "to", "save", "and", "restore", "machine-specific", "function", "data", "."], "TS_V_token": ["csky"], "File": "csky", "Func": "csky_init_machine_status", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1547, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_need_ipa_fn_target_info", "(", "const_tree", "decl", ",", "unsigned", "int", "&", "info", "ATTRIBUTE_UNUSED", ")", "{", "tree", "target", "=", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "decl", ")", ";", "if", "(", "!", "target", ")", "target", "=", "target_option_default_node", ";", "struct", "cl_target_option", "*", "opts", "=", "TREE_TARGET_OPTION", "(", "target", ")", ";", "if", "(", "opts", "->", "x_rs6000_isa_flags", "&", "OPTION_MASK_HTM", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Hook", "to", "decide", "if", "we", "need", "to", "scan", "function", "gimple", "statements", "to", "collect", "target", "specific", "information", "for", "inlining", ",", "and", "update", "the", "corresponding", "RS6000_FN_TARGET_INFO_", "*", "bit", "in", "INFO", "if", "we", "are", "able", "to", "predict", "which", "ISA", "feature", "is", "used", "at", "this", "time", ".", "Return", "true", "if", "we", "need", "to", "scan", ",", "otherwise", "return", "false", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_need_ipa_fn_target_info", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1548, "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", "(", ")", ";", "if", "(", "isSVEDataVectorRegister", "(", "lowerCase", ")", ")", "return", "-", "1", ";", "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", "1", "0", "\"fp\"", "AArch64::FP", "\"lr\"", "AArch64::LR", "\"x31\"", "AArch64::XZR", "\"w31\"", "AArch64::WZR", "0", "0", "1"], "File": "AArch64AsmParser55", "Func": "tryParseRegister", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1549, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "fp_const_from_val", "(", "REAL_VALUE_TYPE", "*", "r", ")", "{", "if", "(", "!", "fp_consts_inited", ")", "init_fp_table", "(", ")", ";", "gcc_assert", "(", "REAL_VALUES_EQUAL", "(", "*", "r", ",", "value_fp0", ")", ")", ";", "return", "\"0\"", ";", "}", ""], "natrual_language": ["As", "for", "fp_immediate_constant", ",", "but", "value", "is", "passed", "directly", ",", "not", "in", "rtx", "."], "TS_V_token": ["arm", "\"0\""], "File": "arm4", "Func": "fp_const_from_val", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1550, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mt_init_cumulative_args", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "tree", "fntype", ",", "rtx", "libname", ",", "tree", "fndecl", "ATTRIBUTE_UNUSED", ",", "int", "incoming", ")", "{", "*", "cum", "=", "0", ";", "if", "(", "TARGET_DEBUG_ARG", ")", "{", "fprintf", "(", "stderr", ",", "\"\\nmt_init_cumulative_args:\"", ")", ";", "if", "(", "incoming", ")", "fputs", "(", "\" incoming\"", ",", "stderr", ")", ";", "if", "(", "fntype", ")", "{", "tree", "ret_type", "=", "TREE_TYPE", "(", "fntype", ")", ";", "fprintf", "(", "stderr", ",", "\" return = %s,\"", ",", "tree_code_name", "[", "(", "int", ")", "TREE_CODE", "(", "ret_type", ")", "]", ")", ";", "}", "if", "(", "libname", "&&", "GET_CODE", "(", "libname", ")", "==", "SYMBOL_REF", ")", "fprintf", "(", "stderr", ",", "\" libname = %s\"", ",", "XSTR", "(", "libname", ",", "0", ")", ")", ";", "if", "(", "cfun", "->", "returns_struct", ")", "fprintf", "(", "stderr", ",", "\" return-struct\"", ")", ";", "putc", "(", "'\\n'", ",", "stderr", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "INIT_CUMULATIVE_ARGS", "."], "TS_V_token": ["mt", "0", "\"\\nmt_init_cumulative_args:\"", "\" incoming\"", "\" return = %s,\"", "\" libname = %s\"", "0", "\" return-struct\""], "File": "mt", "Func": "mt_init_cumulative_args", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1551, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "unsigned", "int", "execute", "(", "function", "*", ")", "{", "return", "convert_scalars_to_vector", "(", ")", ";", "}", ""], "natrual_language": ["Main", "entry", "point", "for", "this", "pass", "."], "TS_V_token": ["i386"], "File": "i3865", "Func": "execute", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1552, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_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", "<", "32", ";", "bs0", "++", ")", "if", "(", "(", "mask", "&", "(", "1", "<<", "bs0", ")", ")", "!=", "0", ")", "break", ";", "for", "(", "bs1", "=", "bs0", ";", "bs1", "<", "32", ";", "bs1", "++", ")", "if", "(", "(", "mask", "&", "(", "1", "<<", "bs1", ")", ")", "==", "0", ")", "break", ";", "gcc_assert", "(", "bs1", "==", "32", "||", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "1", "<<", "bs1", ")", ">", "mask", ")", ";", "p", "=", "31", "-", "bs0", ";", "len", "=", "bs1", "-", "bs0", ";", "operands", "[", "2", "]", "=", "GEN_INT", "(", "p", ")", ";", "operands", "[", "3", "]", "=", "GEN_INT", "(", "len", ")", ";", "return", "\"{depi|depwi} -1,%2,%3,%0\"", ";", "}", ""], "natrual_language": ["Emit", "the", "code", "to", "do", "an", "inclusive", "OR", "operation", "."], "TS_V_token": ["pa", "2", "2", "0", "\"copy %1,%0\"", "0", "32", "1", "0", "32", "1", "0", "32", "1", "31", "2", "3", "\"{depi|depwi} -1,%2,%3,%0\""], "File": "pa3", "Func": "output_ior", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1553, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mayAlias", "(", "MachineInstr", "*", "MIa", ",", "SmallVectorImpl", "<", "MachineInstr", "*", ">", "&", "MemInsns", ",", "const", "AArch64InstrInfo", "*", "TII", ")", "{", "for", "(", "auto", "&", "MIb", ":", "MemInsns", ")", "if", "(", "mayAlias", "(", "MIa", ",", "MIb", ",", "TII", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "this", "instruction", "'s", "memory", "access", "aliases", "the", "memory", "access", "of", "Other", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64LoadStoreOptimizer (2)", "Func": "mayAlias", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1554, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiTargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "KnownBits", "&", "Known", ",", "const", "APInt", "&", "DemandedElts", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "unsigned", "BitWidth", "=", "Known", ".", "getBitWidth", "(", ")", ";", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "LanaiISD", "::", "SETCC", ":", "Known", "=", "KnownBits", "(", "BitWidth", ")", ";", "Known", ".", "Zero", ".", "setBits", "(", "1", ",", "BitWidth", ")", ";", "break", ";", "case", "LanaiISD", "::", "SELECT_CC", ":", "KnownBits", "Known2", ";", "Known", "=", "DAG", ".", "computeKnownBits", "(", "Op", "->", "getOperand", "(", "0", ")", ",", "Depth", "+", "1", ")", ";", "Known2", "=", "DAG", ".", "computeKnownBits", "(", "Op", "->", "getOperand", "(", "1", ")", ",", "Depth", "+", "1", ")", ";", "Known", "=", "KnownBits", "::", "commonBits", "(", "Known", ",", "Known2", ")", ";", "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": ["Lanai", "Lanai", "LanaiISD::SETCC", "1", "LanaiISD::SELECT_CC", "0", "1", "1", "1"], "File": "LanaiISelLowering", "Func": "computeKnownBitsForTargetNode", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1555, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "EVEX2VEX_DESC", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86"], "File": "X86EvexToVex", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1556, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CondBrTuning", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** AArch64 Conditional Branch Tuning **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "bool", "LocalChange", "=", "false", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "getFirstTerminator", "(", ")", ",", "E", "=", "MBB", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "MachineInstr", "&", "MI", "=", "*", "I", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "AArch64", "::", "CBZW", ":", "case", "AArch64", "::", "CBZX", ":", "case", "AArch64", "::", "CBNZW", ":", "case", "AArch64", "::", "CBNZX", ":", "case", "AArch64", "::", "TBZW", ":", "case", "AArch64", "::", "TBZX", ":", "case", "AArch64", "::", "TBNZW", ":", "case", "AArch64", "::", "TBNZX", ":", "MachineInstr", "*", "DefMI", "=", "getOperandDef", "(", "MI", ".", "getOperand", "(", "0", ")", ")", ";", "LocalChange", "=", "(", "DefMI", "&&", "tryToTuneBranch", "(", "MI", ",", "*", "DefMI", ")", ")", ";", "break", ";", "}", "if", "(", "LocalChange", ")", "{", "Changed", "=", "true", ";", "break", ";", "}", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"********** AArch64 Conditional Branch Tuning **********\\n\"", "\"********** Function: \"", "AArch64", "AArch64::CBZW", "AArch64::CBZX", "AArch64::CBNZW", "AArch64::CBNZX", "AArch64::TBZW", "AArch64::TBZX", "AArch64::TBNZW", "AArch64::TBNZX", "0"], "File": "AArch64CondBrTuning10", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1557, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "scalar_to_vector_candidate_p", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "TARGET_64BIT", ")", "return", "timode_scalar_to_vector_candidate_p", "(", "insn", ")", ";", "else", "return", "dimode_scalar_to_vector_candidate_p", "(", "insn", ")", ";", "}", ""], "natrual_language": ["Return", "1", "if", "INSN", "may", "be", "converted", "into", "vector", "instruction", "."], "TS_V_token": ["i386"], "File": "i3866", "Func": "scalar_to_vector_candidate_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1558, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_emit_fp_unordered_jump", "(", "rtx", "label", ")", "{", "rtx", "reg", "=", "gen_reg_rtx", "(", "HImode", ")", ";", "rtx", "temp", ";", "emit_insn", "(", "gen_x86_fnstsw_1", "(", "reg", ")", ")", ";", "if", "(", "TARGET_SAHF", "&&", "(", "TARGET_USE_SAHF", "||", "optimize_insn_for_size_p", "(", ")", ")", ")", "{", "emit_insn", "(", "gen_x86_sahf_1", "(", "reg", ")", ")", ";", "temp", "=", "gen_rtx_REG", "(", "CCmode", ",", "FLAGS_REG", ")", ";", "temp", "=", "gen_rtx_UNORDERED", "(", "VOIDmode", ",", "temp", ",", "const0_rtx", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_testqi_ext_ccno_0", "(", "reg", ",", "GEN_INT", "(", "0x04", ")", ")", ")", ";", "temp", "=", "gen_rtx_REG", "(", "CCNOmode", ",", "FLAGS_REG", ")", ";", "temp", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "temp", ",", "const0_rtx", ")", ";", "}", "temp", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "temp", ",", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "label", ")", ",", "pc_rtx", ")", ";", "temp", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "pc_rtx", ",", "temp", ")", ";", "emit_jump_insn", "(", "temp", ")", ";", "predict_jump", "(", "REG_BR_PROB_BASE", "*", "10", "/", "100", ")", ";", "}", ""], "natrual_language": ["Output", "code", "to", "perform", "a", "conditional", "jump", "to", "LABEL", ",", "if", "C2", "flag", "in", "FP", "status", "register", "is", "set", "."], "TS_V_token": ["i386", "0x04", "10", "100"], "File": "i3864", "Func": "ix86_emit_fp_unordered_jump", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1559, "Length": 148, "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": 1560, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetMachine", "::", "resetSubtarget", "(", "MachineFunction", "*", "MF", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"resetSubtarget\\n\"", ")", ";", "AttributeSet", "FnAttrs", "=", "MF", "->", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ";", "bool", "Mips16Attr", "=", "FnAttrs", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "\"mips16\"", ")", ";", "bool", "NoMips16Attr", "=", "FnAttrs", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "\"nomips16\"", ")", ";", "assert", "(", "!", "(", "Mips16Attr", "&&", "NoMips16Attr", ")", "&&", "\"mips16 and nomips16 specified on the same function\"", ")", ";", "if", "(", "Mips16Attr", ")", "Subtarget", "=", "&", "Mips16Subtarget", ";", "else", "if", "(", "NoMips16Attr", ")", "Subtarget", "=", "&", "NoMips16Subtarget", ";", "else", "Subtarget", "=", "&", "DefaultSubtarget", ";", "MF", "->", "setSubtarget", "(", "Subtarget", ")", ";", "return", ";", "}", ""], "natrual_language": ["Reset", "the", "subtarget", "for", "the", "Mips", "target", "."], "TS_V_token": ["Mips", "Mips", "\"resetSubtarget\\n\"", "Mips", "\"mips16\"", "Mips", "\"nomips16\"", "Mips", "Mips", "\"mips16 and nomips16 specified on the same function\"", "Mips", "Mips", "Mips", "Mips"], "File": "MipsTargetMachine79", "Func": "resetSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1561, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "ARMBaseInstrInfo", "::", "optimizeSelect", "(", "MachineInstr", "&", "MI", ",", "SmallPtrSetImpl", "<", "MachineInstr", "*", ">", "&", "SeenMIs", ",", "bool", "PreferFalse", ")", "const", "{", "assert", "(", "(", "MI", ".", "getOpcode", "(", ")", "==", "ARM", "::", "MOVCCr", "||", "MI", ".", "getOpcode", "(", ")", "==", "ARM", "::", "t2MOVCCr", ")", "&&", "\"Unknown select instruction\"", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MachineInstr", "*", "DefMI", "=", "canFoldIntoMOVCC", "(", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ",", "MRI", ",", "this", ")", ";", "bool", "Invert", "=", "!", "DefMI", ";", "if", "(", "!", "DefMI", ")", "DefMI", "=", "canFoldIntoMOVCC", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ",", "MRI", ",", "this", ")", ";", "if", "(", "!", "DefMI", ")", "return", "nullptr", ";", "MachineOperand", "FalseReg", "=", "MI", ".", "getOperand", "(", "Invert", "?", "2", ":", "1", ")", ";", "MachineOperand", "TrueReg", "=", "MI", ".", "getOperand", "(", "Invert", "?", "1", ":", "2", ")", ";", "Register", "DestReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "FalseClass", "=", "MRI", ".", "getRegClass", "(", "FalseReg", ".", "getReg", "(", ")", ")", ";", "const", "TargetRegisterClass", "*", "TrueClass", "=", "MRI", ".", "getRegClass", "(", "TrueReg", ".", "getReg", "(", ")", ")", ";", "if", "(", "!", "MRI", ".", "constrainRegClass", "(", "DestReg", ",", "FalseClass", ")", ")", "return", "nullptr", ";", "if", "(", "!", "MRI", ".", "constrainRegClass", "(", "DestReg", ",", "TrueClass", ")", ")", "return", "nullptr", ";", "MachineInstrBuilder", "NewMI", "=", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "DefMI", "->", "getDesc", "(", ")", ",", "DestReg", ")", ";", "const", "MCInstrDesc", "&", "DefDesc", "=", "DefMI", "->", "getDesc", "(", ")", ";", "for", "(", "unsigned", "i", "=", "1", ",", "e", "=", "DefDesc", ".", "getNumOperands", "(", ")", ";", "i", "!=", "e", "&&", "!", "DefDesc", ".", "OpInfo", "[", "i", "]", ".", "isPredicate", "(", ")", ";", "++", "i", ")", "NewMI", ".", "add", "(", "DefMI", "->", "getOperand", "(", "i", ")", ")", ";", "unsigned", "CondCode", "=", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "if", "(", "Invert", ")", "NewMI", ".", "addImm", "(", "ARMCC", "::", "getOppositeCondition", "(", "ARMCC", "::", "CondCodes", "(", "CondCode", ")", ")", ")", ";", "else", "NewMI", ".", "addImm", "(", "CondCode", ")", ";", "NewMI", ".", "add", "(", "MI", ".", "getOperand", "(", "4", ")", ")", ";", "if", "(", "NewMI", "->", "hasOptionalDef", "(", ")", ")", "NewMI", ".", "add", "(", "condCodeOp", "(", ")", ")", ";", "FalseReg", ".", "setImplicit", "(", ")", ";", "NewMI", ".", "add", "(", "FalseReg", ")", ";", "NewMI", "->", "tieOperands", "(", "0", ",", "NewMI", "->", "getNumOperands", "(", ")", "-", "1", ")", ";", "SeenMIs", ".", "insert", "(", "NewMI", ")", ";", "SeenMIs", ".", "erase", "(", "DefMI", ")", ";", "if", "(", "DefMI", "->", "getParent", "(", ")", "!=", "MI", ".", "getParent", "(", ")", ")", "NewMI", "->", "clearKillInfo", "(", ")", ";", "DefMI", "->", "eraseFromParent", "(", ")", ";", "return", "NewMI", ";", "}", ""], "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": ["ARM", "ARM", "ARM::MOVCCr", "ARM::t2MOVCCr", "\"Unknown select instruction\"", "2", "1", "2", "1", "1", "2", "0", "1", "3", "ARMCC::getOppositeCondition", "ARMCC::CondCodes", "4", "0", "1"], "File": "ARMBaseInstrInfo128", "Func": "optimizeSelect", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1562, "Length": 463, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_check_builtin_call", "(", "location_t", "loc", ",", "vec", "<", "location_t", ">", "arg_loc", ",", "tree", "fndecl", ",", "tree", "orig_fndecl", ",", "unsigned", "int", "nargs", ",", "tree", "*", "args", ")", "{", "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", "true", ";", "case", "AARCH64_BUILTIN_SVE", ":", "return", "aarch64_sve", "::", "check_builtin_call", "(", "loc", ",", "arg_loc", ",", "subcode", ",", "orig_fndecl", ",", "nargs", ",", "args", ")", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CHECK_BUILTIN_CALL", "."], "TS_V_token": ["aarch64", "aarch64_sve::check_builtin_call"], "File": "aarch64-c", "Func": "aarch64_check_builtin_call", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1563, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SICMCCodeEmitter", "::", "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", "!=", "SIC", "::", "NOP", ")", "&&", "(", "Opcode", "!=", "SIC", "::", "LD", ")", "&&", "!", "Binary", ")", "llvm_unreachable", "(", "\"unimplemented opcode in encodeInstruction()\"", ")", ";", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "uint64_t", "TSFlags", "=", "Desc", ".", "TSFlags", ";", "int", "Size", "=", "4", ";", "EmitInstruction", "(", "Binary", ",", "Size", ",", "OS", ")", ";", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["SIC", "SIC", "SIC::NOP", "SIC::LD", "\"unimplemented opcode in encodeInstruction()\"", "4"], "File": "SICMCCodeEmitter", "Func": "encodeInstruction", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1564, "Length": 113, "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": 1565, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiInstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "&", "MI", ",", "Register", "&", "SrcReg", ",", "Register", "&", "SrcReg2", ",", "int64_t", "&", "CmpMask", ",", "int64_t", "&", "CmpValue", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Lanai", "::", "SFSUB_F_RI_LO", ":", "case", "Lanai", "::", "SFSUB_F_RI_HI", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "Register", "(", ")", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "return", "true", ";", "case", "Lanai", "::", "SFSUB_F_RR", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "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": ["Lanai", "Lanai", "Lanai::SFSUB_F_RI_LO", "Lanai::SFSUB_F_RI_HI", "0", "0", "1", "Lanai::SFSUB_F_RR", "0", "1", "0", "0"], "File": "LanaiInstrInfo13", "Func": "analyzeCompare", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1566, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "AArch64TargetLowering", "::", "getIRStackGuard", "(", "IRBuilder", "<", ">", "&", "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)3", "Func": "getIRStackGuard", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1567, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_rewrite_small_data_1", "(", "rtx", "*", "loc", ",", "void", "*", "data", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "mips_rewrite_small_data_p", "(", "*", "loc", ")", ")", "*", "loc", "=", "gen_rtx_LO_SUM", "(", "Pmode", ",", "pic_offset_table_rtx", ",", "*", "loc", ")", ";", "if", "(", "GET_CODE", "(", "*", "loc", ")", "==", "LO_SUM", ")", "return", "-", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["A", "for_each_rtx", "callback", ",", "used", "by", "mips_rewrite_small_data", "."], "TS_V_token": ["mips", "1", "0"], "File": "mips3", "Func": "mips_rewrite_small_data_1", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1568, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "flags", "(", ")", "const", "{", "return", "0x0", ";", "}", ""], "natrual_language": ["Get", "the", "flags", "for", "this", "GlobalValue", "(", "see", "struct", "GVFlags", ")", "."], "TS_V_token": ["AArch64", "0x0"], "File": "AArch64GNUInfo", "Func": "flags", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1569, "Length": 10, "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", "&&", "EnableThisRetForwarding", ")", "{", "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": "AArch64ISelLowering162", "Func": "LowerCallResult", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1570, "Length": 285, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMLoadStoreOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "const", "TargetMachine", "&", "TM", "=", "Fn", ".", "getTarget", "(", ")", ";", "TL", "=", "TM", ".", "getTargetLowering", "(", ")", ";", "AFI", "=", "Fn", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "TII", "=", "TM", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "TM", ".", "getRegisterInfo", "(", ")", ";", "STI", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "RS", "=", "new", "RegScavenger", "(", ")", ";", "isThumb2", "=", "AFI", "->", "isThumb2Function", "(", ")", ";", "isThumb1", "=", "AFI", "->", "isThumbFunction", "(", ")", "&&", "!", "isThumb2", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "MFI", "=", "Fn", ".", "begin", "(", ")", ",", "E", "=", "Fn", ".", "end", "(", ")", ";", "MFI", "!=", "E", ";", "++", "MFI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MFI", ";", "Modified", "|=", "LoadStoreMultipleOpti", "(", "MBB", ")", ";", "if", "(", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "hasV5TOps", "(", ")", ")", "Modified", "|=", "MergeReturnIntoLDM", "(", "MBB", ")", ";", "}", "delete", "RS", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM"], "File": "ARMLoadStoreOptimizer48", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1571, "Length": 172, "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": 1572, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "gen_stack_pointer_inc", "(", "rtx", "increment", ")", "{", "return", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "increment", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "an", "increment", "for", "the", "stack", "pointer", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "gen_stack_pointer_inc", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1573, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rs6000_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", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "a", "``", "longcall", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["rs6000", "\"%qE attribute only applies to functions\""], "File": "rs6000", "Func": "rs6000_handle_longcall_attribute", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1574, "Length": 70, "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": 1575, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{", "return", "createTeeRISCELFObjectWriter", "(", "OS", ",", "OSABI", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["TeeRISC", "TeeRISC"], "File": "TeeRISCAsmBackend", "Func": "createObjectWriter", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1576, "Length": 19, "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": 1577, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb1RegisterInfo", "::", "emitLoadConstPool", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "DebugLoc", "dl", ",", "unsigned", "DestReg", ",", "unsigned", "SubIdx", ",", "int", "Val", ",", "ARMCC", "::", "CondCodes", "Pred", ",", "unsigned", "PredReg", ",", "unsigned", "MIFlags", ")", "const", "{", "assert", "(", "(", "isARMLowRegister", "(", "DestReg", ")", "||", "isVirtualRegister", "(", "DestReg", ")", ")", "&&", "\"Thumb1 does not have ldr to high register\"", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "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", "::", "tLDRpci", ")", ")", ".", "addReg", "(", "DestReg", ",", "getDefRegState", "(", "true", ")", ",", "SubIdx", ")", ".", "addConstantPoolIndex", "(", "Idx", ")", ".", "addImm", "(", "Pred", ")", ".", "addReg", "(", "PredReg", ")", ".", "setMIFlags", "(", "MIFlags", ")", ";", "}", ""], "natrual_language": ["emitLoadConstPool", "-", "Emits", "a", "load", "from", "constpool", "to", "materialize", "the", "specified", "immediate", "."], "TS_V_token": ["ARM", "ARMCC::CondCodes", "ARM", "\"Thumb1 does not have ldr to high register\"", "4", "ARM::tLDRpci"], "File": "Thumb1RegisterInfo8", "Func": "emitLoadConstPool", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1578, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"TOY Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["TOY", "\"TOY Assembly Printer\""], "File": "TOYAsmPrinter", "Func": "getPassName", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1579, "Length": 13, "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", "(", "\"ms_abi and sysv_abi attributes are not compatible\"", ")", ";", "}", "return", "NULL_TREE", ";", "}", "else", "if", "(", "is_attribute_p", "(", "\"sysv_abi\"", ",", "name", ")", ")", "{", "if", "(", "lookup_attribute", "(", "\"ms_abi\"", ",", "TYPE_ATTRIBUTES", "(", "*", "node", ")", ")", ")", "{", "error", "(", "\"ms_abi and sysv_abi attributes are not compatible\"", ")", ";", "}", "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\"", "\"ms_abi and sysv_abi attributes are not compatible\"", "\"sysv_abi\"", "\"ms_abi\"", "\"ms_abi and sysv_abi attributes are not compatible\""], "File": "i3864", "Func": "ix86_handle_abi_attribute", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1580, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"SystemZ DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["SystemZ", "\"SystemZ DAG->DAG Pattern Instruction Selection\""], "File": "SystemZISelDAGToDAG (2)", "Func": "getPassName", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1581, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86TTIImpl", "::", "getIntrinsicInstrCost", "(", "Intrinsic", "::", "ID", "IID", ",", "Type", "*", "RetTy", ",", "ArrayRef", "<", "Value", "*", ">", "Args", ",", "FastMathFlags", "FMF", ")", "{", "return", "BaseT", "::", "getIntrinsicInstrCost", "(", "IID", ",", "RetTy", ",", "Args", ",", "FMF", ")", ";", "}", ""], "natrual_language": ["Get", "intrinsic", "cost", "based", "on", "arguments", "."], "TS_V_token": ["X86", "X86", "Intrinsic::ID"], "File": "X86TargetTransformInfo105", "Func": "getIntrinsicInstrCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1582, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "neon_make_constant", "(", "rtx", "vals", ",", "bool", "generate", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "vals", ")", ";", "rtx", "target", ";", "rtx", "const_vec", "=", "NULL_RTX", ";", "int", "n_elts", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "int", "n_const", "=", "0", ";", "int", "i", ";", "if", "(", "GET_CODE", "(", "vals", ")", "==", "CONST_VECTOR", ")", "const_vec", "=", "vals", ";", "else", "if", "(", "GET_CODE", "(", "vals", ")", "==", "PARALLEL", ")", "{", "for", "(", "i", "=", "0", ";", "i", "<", "n_elts", ";", "++", "i", ")", "{", "rtx", "x", "=", "XVECEXP", "(", "vals", ",", "0", ",", "i", ")", ";", "if", "(", "CONST_INT_P", "(", "x", ")", "||", "CONST_DOUBLE_P", "(", "x", ")", ")", "n_const", "++", ";", "}", "if", "(", "n_const", "==", "n_elts", ")", "const_vec", "=", "gen_rtx_CONST_VECTOR", "(", "mode", ",", "XVEC", "(", "vals", ",", "0", ")", ")", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "if", "(", "const_vec", "!=", "NULL", "&&", "simd_immediate_valid_for_move", "(", "const_vec", ",", "mode", ",", "NULL", ",", "NULL", ")", ")", "return", "const_vec", ";", "else", "if", "(", "TARGET_HAVE_MVE", "&&", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_BOOL", ")", ")", "return", "mve_bool_vec_to_const", "(", "const_vec", ")", ";", "else", "if", "(", "(", "target", "=", "neon_vdup_constant", "(", "vals", ",", "generate", ")", ")", "!=", "NULL_RTX", ")", "return", "target", ";", "else", "if", "(", "const_vec", "!=", "NULL_RTX", ")", "return", "arm_disable_literal_pool", "?", "NULL_RTX", ":", "const_vec", ";", "else", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Generate", "code", "to", "load", "VALS", ",", "which", "is", "a", "PARALLEL", "containing", "only", "constants", "(", "for", "vec_init", ")", "or", "CONST_VECTOR", ",", "efficiently", "into", "a", "register", ".", "Returns", "an", "RTX", "to", "copy", "into", "the", "register", ",", "or", "NULL_RTX", "for", "a", "PARALLEL", "that", "can", "not", "be", "converted", "into", "a", "CONST_VECTOR", "."], "TS_V_token": ["arm", "0", "0", "0", "0"], "File": "arm", "Func": "neon_make_constant", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1583, "Length": 212, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "VEFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "uint64_t", "NumBytes", "=", "MFI", ".", "getStackSize", "(", ")", ";", "emitEpilogueInsns", "(", "MF", ",", "MBB", ",", "MBBI", ",", "NumBytes", ",", "true", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["VE", "VE"], "File": "VEFrameLowering", "Func": "emitEpilogue", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1584, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isReg", "(", ")", "const", "override", "{", "return", "Kind", "==", "Register", ";", "}", ""], "natrual_language": ["isReg", "-", "Is", "this", "a", "register", "operand", "?"], "TS_V_token": ["CAHP"], "File": "CAHPAsmParser", "Func": "isReg", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1585, "Length": 13, "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": 1586, "Length": 370, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getReg", "(", ")", "const", "{", "assert", "(", "Kind", "==", "Register", "&&", "\"Invalid access!\"", ")", ";", "return", "Reg", ".", "RegNo", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["X86", "\"Invalid access!\""], "File": "X86AsmParser (2)2", "Func": "getReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1587, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "X86RegisterInfo", "::", "getPointerRegClass", "(", "unsigned", "Kind", ")", "const", "{", "switch", "(", "Kind", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected Kind in getPointerRegClass!\"", ")", ";", "case", "0", ":", "if", "(", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ")", "return", "&", "X86", "::", "GR64RegClass", ";", "return", "&", "X86", "::", "GR32RegClass", ";", "case", "1", ":", "if", "(", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ")", "return", "&", "X86", "::", "GR64_NOSPRegClass", ";", "return", "&", "X86", "::", "GR32_NOSPRegClass", ";", "}", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["X86", "X86", "\"Unexpected Kind in getPointerRegClass!\"", "0", "X86", "X86::GR64RegClass", "X86::GR32RegClass", "1", "X86", "X86::GR64_NOSPRegClass", "X86::GR32_NOSPRegClass"], "File": "X86RegisterInfo11", "Func": "getPointerRegClass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1588, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isIdentityMask", "(", "SDNode", "*", "N", ",", "bool", "RHS", "=", "false", ")", "{", "unsigned", "NumElems", "=", "N", "->", "getNumOperands", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "NumElems", ";", "++", "i", ")", "if", "(", "!", "isUndefOrEqual", "(", "N", "->", "getOperand", "(", "i", ")", ",", "i", "+", "(", "RHS", "?", "NumElems", ":", "0", ")", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "shuffle", "mask", "chooses", "elements", "from", "exactly", "one", "source", "vector", "without", "lane", "crossings", "."], "TS_V_token": ["X86", "0", "0"], "File": "X86ISelLowering160", "Func": "isIdentityMask", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1589, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Mips Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"Mips Assembly Printer\""], "File": "MipsAsmPrinter10", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1590, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isThumb", "(", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "return", "STI", ".", "getFeatureBits", "(", ")", "[", "ARM", "::", "ModeThumb", "]", ";", "}", ""], "natrual_language": ["Tests", "whether", "the", "target", "is", "Thumb", "(", "little", "and", "big", "endian", ")", "."], "TS_V_token": ["ARM", "ARM::ModeThumb"], "File": "ARMMCCodeEmitter11", "Func": "isThumb", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1591, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "X86InstrInfo", "&", "TII", "=", "*", "TM", ".", "getInstrInfo", "(", ")", ";", "const", "X86RegisterInfo", "&", "RegInfo", "=", "*", "TM", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "StackPtr", "=", "RegInfo", ".", "getStackRegister", "(", ")", ";", "bool", "reseveCallFrame", "=", "hasReservedCallFrame", "(", "MF", ")", ";", "int", "Opcode", "=", "I", "->", "getOpcode", "(", ")", ";", "bool", "isDestroy", "=", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ";", "bool", "IsLP64", "=", "STI", ".", "isTarget64BitLP64", "(", ")", ";", "DebugLoc", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "uint64_t", "Amount", "=", "!", "reseveCallFrame", "?", "I", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ":", "0", ";", "uint64_t", "CalleeAmt", "=", "isDestroy", "?", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ":", "0", ";", "I", "=", "MBB", ".", "erase", "(", "I", ")", ";", "if", "(", "!", "reseveCallFrame", ")", "{", "if", "(", "Amount", "==", "0", ")", "return", ";", "unsigned", "StackAlign", "=", "TM", ".", "getFrameLowering", "(", ")", "->", "getStackAlignment", "(", ")", ";", "Amount", "=", "(", "Amount", "+", "StackAlign", "-", "1", ")", "/", "StackAlign", "*", "StackAlign", ";", "MachineInstr", "*", "New", "=", "0", ";", "if", "(", "Opcode", "==", "TII", ".", "getCallFrameSetupOpcode", "(", ")", ")", "{", "New", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "getSUBriOpcode", "(", "IsLP64", ",", "Amount", ")", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ")", ";", "Amount", "-=", "CalleeAmt", ";", "if", "(", "Amount", ")", "{", "unsigned", "Opc", "=", "getADDriOpcode", "(", "IsLP64", ",", "Amount", ")", ";", "New", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "}", "if", "(", "New", ")", "{", "New", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "return", ";", "}", "if", "(", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", "&&", "CalleeAmt", ")", "{", "unsigned", "Opc", "=", "getSUBriOpcode", "(", "IsLP64", ",", "CalleeAmt", ")", ";", "MachineInstr", "*", "New", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "CalleeAmt", ")", ";", "New", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "B", "=", "MBB", ".", "begin", "(", ")", ";", "while", "(", "I", "!=", "B", "&&", "!", "std", "::", "prev", "(", "I", ")", "->", "isCall", "(", ")", ")", "--", "I", ";", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "}", ""], "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", "X86", "X86", "0", "0", "1", "0", "0", "1", "0", "3", "3"], "File": "X86FrameLowering (2)", "Func": "eliminateCallFramePseudoInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1592, "Length": 435, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "ix86_spill_class", "(", "reg_class_t", "rclass", ",", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_SSE", "&&", "TARGET_GENERAL_REGS_SSE_SPILL", "&&", "!", "TARGET_MMX", "&&", "(", "mode", "==", "SImode", "||", "(", "TARGET_64BIT", "&&", "mode", "==", "DImode", ")", ")", "&&", "rclass", "!=", "NO_REGS", "&&", "INTEGER_CLASS_P", "(", "rclass", ")", ")", "return", "ALL_SSE_REGS", ";", "return", "NO_REGS", ";", "}", ""], "natrual_language": ["Return", "class", "of", "registers", "which", "could", "be", "used", "for", "pseudo", "of", "MODE", "and", "of", "class", "RCLASS", "for", "spilling", "instead", "of", "memory", ".", "Return", "NO_REGS", "if", "it", "is", "not", "possible", "or", "non-profitable", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_spill_class", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1593, "Length": 50, "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", ")", ";", "Attribute", "SFAttr", "=", "F", ".", "getFnAttribute", "(", "\"use-soft-float\"", ")", ";", "bool", "softFloat", "=", "!", "SFAttr", ".", "hasAttribute", "(", "Attribute", "::", "None", ")", "?", "SFAttr", ".", "getValueAsString", "(", ")", "==", "\"true\"", ":", "Options", ".", "UseSoftFloat", ";", "if", "(", "hasMips16Attr", ")", "FS", "+=", "FS", ".", "empty", "(", ")", "?", "\"+mips16\"", ":", "\",+mips16\"", ";", "else", "if", "(", "hasNoMips16Attr", ")", "FS", "+=", "FS", ".", "empty", "(", ")", "?", "\"-mips16\"", ":", "\",-mips16\"", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "CPU", "+", "FS", "+", "(", "softFloat", "?", "\"use-soft-float=true\"", ":", "\"use-soft-float=false\"", ")", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "llvm", "::", "make_unique", "<", "MipsSubtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "isLittle", ",", "*", "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": ["Mips", "Mips", "Mips", "\"target-cpu\"", "\"target-features\"", "Mips", "\"mips16\"", "Mips", "\"nomips16\"", "\"use-soft-float\"", "\"true\"", "Mips", "\"+mips16\"", "\",+mips16\"", "Mips", "\"-mips16\"", "\",-mips16\"", "\"use-soft-float=true\"", "\"use-soft-float=false\"", "Mips"], "File": "MipsTargetMachine71", "Func": "getSubtargetImpl", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1594, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "LegalizerInfo", "*", "AArch64Subtarget", "::", "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": ["AArch64", "AArch64", "\"Access to GlobalISel APIs not set\""], "File": "AArch64Subtarget16", "Func": "getLegalizerInfo", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1595, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LanaiTargetLowering", "::", "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", ";", "IsTailCall", "=", "false", ";", "switch", "(", "CallConv", ")", "{", "case", "CallingConv", "::", "Fast", ":", "case", "CallingConv", "::", "C", ":", "return", "LowerCCCCallTo", "(", "Chain", ",", "Callee", ",", "CallConv", ",", "IsVarArg", ",", "IsTailCall", ",", "Outs", ",", "OutVals", ",", "Ins", ",", "DL", ",", "DAG", ",", "InVals", ")", ";", "default", ":", "llvm_unreachable", "(", "\"Unsupported calling convention\"", ")", ";", "}", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "calls", "into", "the", "specified", "DAG", "."], "TS_V_token": ["Lanai", "Lanai", "ISD::OutputArg", "ISD::InputArg", "\"Unsupported calling convention\""], "File": "LanaiISelLowering1", "Func": "LowerCall", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1596, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"A57 FP Anti-dependency breaker\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64", "\"A57 FP Anti-dependency breaker\""], "File": "AArch64A57FPLoadBalancing11", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1597, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "OR1KTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBR_CC", "(", "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", "::", "JumpTable", ":", "return", "LowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "LowerDYNAMIC_STACKALLOC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "CTTZ", ":", "return", "LowerCTTZ", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "CTTZ_ZERO_UNDEF", ":", "return", "LowerCTTZ_ZERO_UNDEF", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "CTLZ", ":", "case", "ISD", "::", "CTLZ_ZERO_UNDEF", ":", "return", "LowerCTLZ", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "LowerRETURNADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SUBE", ":", "return", "LowerSUBE", "(", "Op", ",", "DAG", ")", ";", "default", ":", "llvm_unreachable", "(", "\"unimplemented operand\"", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["OR1K", "OR1K", "ISD::BR_CC", "ISD::ConstantPool", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::JumpTable", "ISD::SELECT_CC", "ISD::VASTART", "ISD::DYNAMIC_STACKALLOC", "ISD::CTTZ", "ISD::CTTZ_ZERO_UNDEF", "ISD::CTLZ", "ISD::CTLZ_ZERO_UNDEF", "ISD::RETURNADDR", "ISD::FRAMEADDR", "ISD::SUBE", "\"unimplemented operand\""], "File": "OR1KISelLowering1", "Func": "LowerOperation", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1598, "Length": 219, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBlockPlacement", "::", "fixBackwardsWLS", "(", "MachineLoop", "*", "ML", ")", "{", "MachineInstr", "*", "WlsInstr", "=", "findWLS", "(", "ML", ")", ";", "if", "(", "!", "WlsInstr", ")", "return", "false", ";", "MachineBasicBlock", "*", "Predecessor", "=", "WlsInstr", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "*", "LoopExit", "=", "getWhileLoopStartTargetBB", "(", "*", "WlsInstr", ")", ";", "if", "(", "!", "LoopExit", "->", "getPrevNode", "(", ")", ")", "return", "false", ";", "if", "(", "blockIsBefore", "(", "Predecessor", ",", "LoopExit", ")", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "DEBUG_PREFIX", "<<", "\"Found a backwards WLS from \"", "<<", "Predecessor", "->", "getFullName", "(", ")", "<<", "\" to \"", "<<", "LoopExit", "->", "getFullName", "(", ")", "<<", "\"\\n\"", ")", ";", "for", "(", "auto", "It", "=", "++", "LoopExit", "->", "getIterator", "(", ")", ";", "It", "!=", "Predecessor", "->", "getIterator", "(", ")", ";", "++", "It", ")", "{", "MachineBasicBlock", "*", "MBB", "=", "&", "*", "It", ";", "for", "(", "auto", "&", "Terminator", ":", "MBB", "->", "terminators", "(", ")", ")", "{", "if", "(", "!", "isWhileLoopStart", "(", "Terminator", ")", ")", "continue", ";", "MachineBasicBlock", "*", "WLSTarget", "=", "getWhileLoopStartTargetBB", "(", "Terminator", ")", ";", "if", "(", "WLSTarget", "==", "Predecessor", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "DEBUG_PREFIX", "<<", "\"Can't move Predecessor\"", "\"block as it would convert a WLS from forward to a \"", "\"backwards branching WLS\\n\"", ")", ";", "return", "revertWhileToDo", "(", "WlsInstr", ",", "ML", ")", ";", "}", "}", "}", "moveBasicBlock", "(", "Predecessor", ",", "LoopExit", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Checks", "if", "loop", "has", "a", "backwards", "branching", "WLS", ",", "and", "if", "possible", ",", "fixes", "it", "."], "TS_V_token": ["ARM", "ARM", "\"Found a backwards WLS from \"", "\" to \"", "\"\\n\"", "\"Can't move Predecessor\"", "\"block as it would convert a WLS from forward to a \"", "\"backwards branching WLS\\n\""], "File": "ARMBlockPlacement7", "Func": "fixBackwardsWLS", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1599, "Length": 204, "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": 1600, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_elf_asm_out_constructor", "(", "rtx", "symbol", ",", "int", "priority", ")", "{", "const", "char", "*", "section", "=", "\".ctors\"", ";", "char", "buf", "[", "16", "]", ";", "if", "(", "priority", "!=", "DEFAULT_INIT_PRIORITY", ")", "{", "sprintf", "(", "buf", ",", "\".ctors.%.5u\"", ",", "MAX_INIT_PRIORITY", "-", "priority", ")", ";", "section", "=", "buf", ";", "}", "named_section_flags", "(", "section", ",", "SECTION_WRITE", ")", ";", "assemble_align", "(", "POINTER_SIZE", ")", ";", "if", "(", "TARGET_RELOCATABLE", ")", "{", "fputs", "(", "\"\\t.long (\"", ",", "asm_out_file", ")", ";", "output_addr_const", "(", "asm_out_file", ",", "symbol", ")", ";", "fputs", "(", "\")@fixup\\n\"", ",", "asm_out_file", ")", ";", "}", "else", "assemble_integer", "(", "symbol", ",", "POINTER_SIZE", "/", "BITS_PER_UNIT", ",", "POINTER_SIZE", ",", "1", ")", ";", "}", ""], "natrual_language": ["Record", "an", "element", "in", "the", "table", "of", "global", "constructors", ".", "SYMBOL", "is", "a", "SYMBOL_REF", "of", "the", "function", "to", "be", "called", ";", "PRIORITY", "is", "a", "number", "between", "0", "and", "MAX_INIT_PRIORITY", ".", "This", "differs", "from", "default_named_section_asm_out_constructor", "in", "that", "we", "have", "special", "handling", "for", "-mrelocatable", "."], "TS_V_token": ["rs6000", "\".ctors\"", "16", "\".ctors.%.5u\"", "\"\\t.long (\"", "\")@fixup\\n\"", "1"], "File": "rs60003", "Func": "rs6000_elf_asm_out_constructor", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1601, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ARMFrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "FrameReg", ")", "const", "{", "return", "ResolveFrameIndexReference", "(", "MF", ",", "FI", ",", "FrameReg", ",", "0", ")", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["ARM", "ARM", "0"], "File": "ARMFrameLowering (2)", "Func": "getFrameIndexReference", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1602, "Length": 32, "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": 1603, "Length": 212, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitSparcRegisterScratch", "(", "unsigned", "reg", ")", "override", "{", "}", ""], "natrual_language": ["Emit", "``", ".register", "<", "reg", ">", ",", "#", "scratch", "''", "."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcTargetStreamer", "Func": "emitSparcRegisterScratch", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1604, "Length": 9, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"PowerPC Machine Code Emitter\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["PowerPC", "\"PowerPC Machine Code Emitter\""], "File": "PPCCodeEmitter", "Func": "getPassName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1605, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sh_init_cumulative_args", "(", "CUMULATIVE_ARGS", "*", "pcum", ",", "tree", "fntype", ",", "rtx", "libname", "ATTRIBUTE_UNUSED", ",", "tree", "fndecl", ",", "signed", "int", "n_named_args", ",", "machine_mode", "mode", ")", "{", "pcum", "->", "arg_count", "[", "(", "int", ")", "SH_ARG_FLOAT", "]", "=", "0", ";", "pcum", "->", "free_single_fp_reg", "=", "0", ";", "pcum", "->", "outgoing", "=", "n_named_args", "!=", "-", "1", ";", "pcum", "->", "renesas_abi", "=", "sh_attr_renesas_p", "(", "fntype", ")", ";", "if", "(", "fntype", ")", "{", "pcum", "->", "force_mem", "=", "(", "(", "TARGET_HITACHI", "||", "pcum", "->", "renesas_abi", ")", "&&", "aggregate_value_p", "(", "TREE_TYPE", "(", "fntype", ")", ",", "fndecl", ")", ")", ";", "pcum", "->", "prototype_p", "=", "prototype_p", "(", "fntype", ")", ";", "pcum", "->", "arg_count", "[", "(", "int", ")", "SH_ARG_INT", "]", "=", "false", ";", "}", "else", "{", "pcum", "->", "arg_count", "[", "(", "int", ")", "SH_ARG_INT", "]", "=", "0", ";", "pcum", "->", "prototype_p", "=", "false", ";", "if", "(", "mode", "!=", "VOIDmode", ")", "{", "pcum", "->", "force_mem", "=", "(", "TARGET_DEFAULT", "&", "MASK_HITACHI", ")", "&&", "(", "mode", "==", "BLKmode", "||", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "4", "&&", "!", "(", "mode", "==", "DFmode", "&&", "TARGET_FPU_DOUBLE", ")", ")", ")", ";", "}", "else", "pcum", "->", "force_mem", "=", "false", ";", "}", "}", ""], "natrual_language": ["Initialize", "the", "CUMULATIVE_ARGS", "structure", "."], "TS_V_token": ["sh", "0", "0", "1", "0", "4"], "File": "sh", "Func": "sh_init_cumulative_args", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1606, "Length": 183, "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", ";", "}", "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": "MipsAsmPrinter34", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1607, "Length": 452, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "bool", "GPRDest", "=", "ARM", "::", "GPRRegClass", ".", "contains", "(", "DestReg", ")", ";", "bool", "GPRSrc", "=", "ARM", "::", "GPRRegClass", ".", "contains", "(", "SrcReg", ")", ";", "if", "(", "GPRDest", "&&", "GPRSrc", ")", "{", "AddDefaultCC", "(", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "MOVr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ")", ")", ";", "return", ";", "}", "bool", "SPRDest", "=", "ARM", "::", "SPRRegClass", ".", "contains", "(", "DestReg", ")", ";", "bool", "SPRSrc", "=", "ARM", "::", "SPRRegClass", ".", "contains", "(", "SrcReg", ")", ";", "unsigned", "Opc", ";", "if", "(", "SPRDest", "&&", "SPRSrc", ")", "Opc", "=", "ARM", "::", "VMOVS", ";", "else", "if", "(", "GPRDest", "&&", "SPRSrc", ")", "Opc", "=", "ARM", "::", "VMOVRS", ";", "else", "if", "(", "SPRDest", "&&", "GPRSrc", ")", "Opc", "=", "ARM", "::", "VMOVSR", ";", "else", "if", "(", "ARM", "::", "DPRRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "ARM", "::", "VMOVD", ";", "else", "if", "(", "ARM", "::", "QPRRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "ARM", "::", "VMOVQ", ";", "else", "if", "(", "ARM", "::", "QQPRRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "ARM", "::", "VMOVQQ", ";", "else", "if", "(", "ARM", "::", "QQQQPRRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "ARM", "::", "VMOVQQQQ", ";", "else", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DestReg", ")", ";", "MIB", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "if", "(", "Opc", "!=", "ARM", "::", "VMOVQQ", "&&", "Opc", "!=", "ARM", "::", "VMOVQQQQ", ")", "AddDefaultPred", "(", "MIB", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["ARM", "ARM", "ARM::GPRRegClass", "ARM::GPRRegClass", "ARM::MOVr", "ARM::SPRRegClass", "ARM::SPRRegClass", "ARM::VMOVS", "ARM::VMOVRS", "ARM::VMOVSR", "ARM::DPRRegClass", "ARM::VMOVD", "ARM::QPRRegClass", "ARM::VMOVQ", "ARM::QQPRRegClass", "ARM::VMOVQQ", "ARM::QQQQPRRegClass", "ARM::VMOVQQQQ", "\"Impossible reg-to-reg copy\"", "ARM::VMOVQQ", "ARM::VMOVQQQQ"], "File": "ARMBaseInstrInfo11", "Func": "copyPhysReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1608, "Length": 298, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "mergeStoresAfterLegalization", "(", "EVT", "VT", ")", "const", "{", "return", "!", "Subtarget", "->", "useSVEForFixedLengthVectors", "(", ")", ";", "}", ""], "natrual_language": ["Do", "not", "merge", "vector", "stores", "after", "legalization", "because", "that", "may", "conflict", "with", "x86-specific", "store", "splitting", "optimizations", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ISelLowering (2)2", "Func": "mergeStoresAfterLegalization", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1609, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsPassConfig", "::", "addIRPasses", "(", ")", "{", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "if", "(", "getMipsSubtarget", "(", ")", ".", "os16", "(", ")", ")", "addPass", "(", "createMipsOs16", "(", "getMipsTargetMachine", "(", ")", ")", ")", ";", "if", "(", "getMipsSubtarget", "(", ")", ".", "inMips16HardFloat", "(", ")", ")", "addPass", "(", "createMips16HardFloat", "(", "getMipsTargetMachine", "(", ")", ")", ")", ";", "addPass", "(", "createMipsOptimizeMathLibCalls", "(", "getMipsTargetMachine", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsTargetMachine17", "Func": "addIRPasses", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1610, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "X86TargetLowering", "::", "LowerXConstraint", "(", "EVT", "ConstraintVT", ")", "const", "{", "if", "(", "ConstraintVT", ".", "isFloatingPoint", "(", ")", ")", "{", "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", "\"x\""], "File": "X86ISelLowering (2)5", "Func": "LowerXConstraint", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1611, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToReg", "(", "unsigned", "ValVReg", ",", "unsigned", "PhysReg", ",", "CCValAssign", "&", "VA", ")", "override", "{", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Value shouldn't be assigned to reg\"", ")", ";", "assert", "(", "VA", ".", "getLocReg", "(", ")", "==", "PhysReg", "&&", "\"Assigning to the wrong reg?\"", ")", ";", "assert", "(", "VA", ".", "getValVT", "(", ")", ".", "getSizeInBits", "(", ")", "<=", "64", "&&", "\"Unsupported value size\"", ")", ";", "assert", "(", "VA", ".", "getLocVT", "(", ")", ".", "getSizeInBits", "(", ")", "<=", "64", "&&", "\"Unsupported location size\"", ")", ";", "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": ["ARM", "\"Value shouldn't be assigned to reg\"", "\"Assigning to the wrong reg?\"", "64", "\"Unsupported value size\"", "64", "\"Unsupported location size\""], "File": "ARMCallLowering47", "Func": "assignValueToReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1612, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64Subtarget", "::", "AArch64Subtarget", "(", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ")", ":", "AArch64GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "HasFPARMv8", "(", "false", ")", ",", "HasNEON", "(", "false", ")", ",", "HasCrypto", "(", "false", ")", ",", "TargetTriple", "(", "TT", ")", ",", "CPUString", "(", "CPU", ")", "{", "initializeSubtargetFeatures", "(", "CPU", ",", "FS", ")", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64Subtarget57", "Func": "AArch64Subtarget", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1613, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mips_msa_vec_parallel_const_half", "(", "machine_mode", "mode", ",", "bool", "high_p", ")", "{", "int", "nunits", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "rtvec", "v", "=", "rtvec_alloc", "(", "nunits", "/", "2", ")", ";", "int", "base", ";", "int", "i", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "base", "=", "high_p", "?", "0", ":", "nunits", "/", "2", ";", "else", "base", "=", "high_p", "?", "nunits", "/", "2", ":", "0", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nunits", "/", "2", ";", "i", "++", ")", "RTVEC_ELT", "(", "v", ",", "i", ")", "=", "GEN_INT", "(", "base", "+", "i", ")", ";", "return", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "v", ")", ";", "}", ""], "natrual_language": ["Construct", "and", "return", "PARALLEL", "RTX", "with", "CONST_INTs", "for", "HIGH", "(", "high_p", "==", "TRUE", ")", "or", "LOW", "(", "high_p", "==", "FALSE", ")", "half", "of", "a", "vector", "for", "mode", "MODE", "."], "TS_V_token": ["mips", "2", "0", "2", "2", "0", "0", "2"], "File": "mips", "Func": "mips_msa_vec_parallel_const_half", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1614, "Length": 97, "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": 1615, "Length": 24, "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": 1616, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "X86TargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", "DL", ",", "LLVMContext", "&", "Context", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "MVT", "::", "i8", ";", "if", "(", "Subtarget", ".", "hasAVX512", "(", ")", ")", "{", "EVT", "LegalVT", "=", "VT", ";", "while", "(", "getTypeAction", "(", "Context", ",", "LegalVT", ")", "!=", "TypeLegal", ")", "LegalVT", "=", "getTypeToTransformTo", "(", "Context", ",", "LegalVT", ")", ";", "if", "(", "LegalVT", ".", "getSimpleVT", "(", ")", ".", "is512BitVector", "(", ")", ")", "return", "EVT", "::", "getVectorVT", "(", "Context", ",", "MVT", "::", "i1", ",", "VT", ".", "getVectorElementCount", "(", ")", ")", ";", "if", "(", "LegalVT", ".", "getSimpleVT", "(", ")", ".", "isVector", "(", ")", "&&", "Subtarget", ".", "hasVLX", "(", ")", ")", "{", "MVT", "EltVT", "=", "LegalVT", ".", "getSimpleVT", "(", ")", ".", "getVectorElementType", "(", ")", ";", "if", "(", "Subtarget", ".", "hasBWI", "(", ")", "||", "EltVT", ".", "getSizeInBits", "(", ")", ">=", "32", ")", "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": ["X86", "X86", "MVT::i8", "MVT::i1", "32", "MVT::i1"], "File": "X86ISelLowering (2)5", "Func": "getSetCCResultType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1617, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "KudeyarInstrInfo", "::", "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", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "*", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "FrameIdx", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FrameIdx", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FrameIdx", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Kudeyar", "::", "MOV_RM32", ")", ")", ".", "addReg", "(", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["Kudeyar", "Kudeyar", "Kudeyar::MOV_RM32", "0"], "File": "KudeyarInstrInfo", "Func": "loadRegFromStackSlot", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1618, "Length": 146, "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": ["X86"], "File": "X86IndirectThunks", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1619, "Length": 36, "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", "(", "VOIDmode", ",", "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", "(", "VOIDmode", ",", "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": "rs60003", "Func": "generate_set_vrsave", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1620, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FPGATTIImpl", "::", "isLegalICmpImmediate", "(", "int64_t", "Imm", ")", "{", "return", "true", ";", "}", ""], "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": ["FPGA", "FPGA"], "File": "FPGATargetTransformInfo", "Func": "isLegalICmpImmediate", "Target": "FPGA", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1621, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 Execution Dependency Fix\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 Execution Dependency Fix\""], "File": "X86TargetMachine101", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1622, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "symbol_p", "(", "rtx", "x", ")", "{", "int", "c", "=", "GET_CODE", "(", "x", ")", ";", "return", "(", "c", "==", "CONST_INT", "||", "c", "==", "CONST", "||", "c", "==", "SYMBOL_REF", ")", ";", "}", ""], "natrual_language": ["MEP", "has", "very", "few", "instructions", "that", "can", "refer", "to", "the", "span", "of", "addresses", "used", "by", "symbols", ",", "so", "it", "'s", "common", "to", "check", "for", "them", "."], "TS_V_token": ["mep"], "File": "mep", "Func": "symbol_p", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1623, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isMBBSafeToOutlineFrom", "(", "MachineBasicBlock", "&", "MBB", ",", "unsigned", "&", "Flags", ")", "const", "{", "if", "(", "!", "TargetInstrInfo", "::", "isMBBSafeToOutlineFrom", "(", "MBB", ",", "Flags", ")", ")", "return", "false", ";", "assert", "(", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ".", "tracksLiveness", "(", ")", "&&", "\"Suitable Machine Function for outlining must track liveness\"", ")", ";", "LiveRegUnits", "LRU", "(", "getRegisterInfo", "(", ")", ")", ";", "std", "::", "for_each", "(", "MBB", ".", "rbegin", "(", ")", ",", "MBB", ".", "rend", "(", ")", ",", "[", "&", "LRU", "]", "(", "MachineInstr", "&", "MI", ")", "{", "LRU", ".", "accumulate", "(", "MI", ")", ";", "}", ")", ";", "bool", "W16AvailableInBlock", "=", "LRU", ".", "available", "(", "AArch64", "::", "W16", ")", ";", "bool", "W17AvailableInBlock", "=", "LRU", ".", "available", "(", "AArch64", "::", "W17", ")", ";", "bool", "NZCVAvailableInBlock", "=", "LRU", ".", "available", "(", "AArch64", "::", "NZCV", ")", ";", "if", "(", "W16AvailableInBlock", "&&", "W17AvailableInBlock", "&&", "NZCVAvailableInBlock", ")", "Flags", "|=", "MachineOutlinerMBBFlags", "::", "UnsafeRegsDead", ";", "LRU", ".", "addLiveOuts", "(", "MBB", ")", ";", "if", "(", "W16AvailableInBlock", "&&", "!", "LRU", ".", "available", "(", "AArch64", "::", "W16", ")", ")", "return", "false", ";", "if", "(", "W17AvailableInBlock", "&&", "!", "LRU", ".", "available", "(", "AArch64", "::", "W17", ")", ")", "return", "false", ";", "if", "(", "NZCVAvailableInBlock", "&&", "!", "LRU", ".", "available", "(", "AArch64", "::", "NZCV", ")", ")", "return", "false", ";", "if", "(", "any_of", "(", "MBB", ",", "[", "]", "(", "MachineInstr", "&", "MI", ")", "{", "return", "MI", ".", "isCall", "(", ")", ";", "}", ")", ")", "Flags", "|=", "MachineOutlinerMBBFlags", "::", "HasCalls", ";", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "bool", "CanSaveLR", "=", "false", ";", "const", "AArch64RegisterInfo", "*", "ARI", "=", "static_cast", "<", "const", "AArch64RegisterInfo", "*", ">", "(", "MF", "->", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "for", "(", "unsigned", "Reg", ":", "AArch64", "::", "GPR64RegClass", ")", "{", "if", "(", "!", "ARI", "->", "isReservedReg", "(", "*", "MF", ",", "Reg", ")", "&&", "Reg", "!=", "AArch64", "::", "LR", "&&", "Reg", "!=", "AArch64", "::", "X16", "&&", "Reg", "!=", "AArch64", "::", "X17", "&&", "LRU", ".", "available", "(", "Reg", ")", ")", "{", "CanSaveLR", "=", "true", ";", "break", ";", "}", "}", "if", "(", "!", "CanSaveLR", "&&", "!", "LRU", ".", "available", "(", "AArch64", "::", "LR", ")", ")", "Flags", "|=", "MachineOutlinerMBBFlags", "::", "LRUnavailableSomewhere", ";", "return", "true", ";", "}", ""], "natrual_language": ["Optional", "target", "hook", "that", "returns", "true", "if", "MBB", "is", "safe", "to", "outline", "from", ",", "and", "returns", "any", "target-specific", "information", "in", "Flags", "."], "TS_V_token": ["AArch64", "AArch64", "\"Suitable Machine Function for outlining must track liveness\"", "AArch64::W16", "AArch64::W17", "AArch64::NZCV", "AArch64::W16", "AArch64::W17", "AArch64::NZCV", "AArch64", "AArch64", "AArch64::GPR64RegClass", "AArch64::LR", "AArch64::X16", "AArch64::X17", "AArch64::LR"], "File": "AArch64InstrInfo11", "Func": "isMBBSafeToOutlineFrom", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1624, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCAIXAsmPrinter", "::", "emitLinkage", "(", "const", "GlobalValue", "*", "GV", ",", "MCSymbol", "*", "GVSym", ")", "const", "{", "assert", "(", "MAI", "->", "hasVisibilityOnlyWithLinkage", "(", ")", "&&", "\"AIX's linkage directives take a visibility setting.\"", ")", ";", "MCSymbolAttr", "LinkageAttr", "=", "MCSA_Invalid", ";", "switch", "(", "GV", "->", "getLinkage", "(", ")", ")", "{", "case", "GlobalValue", "::", "ExternalLinkage", ":", "LinkageAttr", "=", "GV", "->", "isDeclaration", "(", ")", "?", "MCSA_Extern", ":", "MCSA_Global", ";", "break", ";", "case", "GlobalValue", "::", "LinkOnceAnyLinkage", ":", "case", "GlobalValue", "::", "LinkOnceODRLinkage", ":", "case", "GlobalValue", "::", "WeakAnyLinkage", ":", "case", "GlobalValue", "::", "WeakODRLinkage", ":", "case", "GlobalValue", "::", "ExternalWeakLinkage", ":", "LinkageAttr", "=", "MCSA_Weak", ";", "break", ";", "case", "GlobalValue", "::", "AvailableExternallyLinkage", ":", "LinkageAttr", "=", "MCSA_Extern", ";", "break", ";", "case", "GlobalValue", "::", "PrivateLinkage", ":", "return", ";", "case", "GlobalValue", "::", "InternalLinkage", ":", "assert", "(", "GV", "->", "getVisibility", "(", ")", "==", "GlobalValue", "::", "DefaultVisibility", "&&", "\"InternalLinkage should not have other visibility setting.\"", ")", ";", "LinkageAttr", "=", "MCSA_LGlobal", ";", "break", ";", "case", "GlobalValue", "::", "AppendingLinkage", ":", "llvm_unreachable", "(", "\"Should never emit this\"", ")", ";", "case", "GlobalValue", "::", "CommonLinkage", ":", "llvm_unreachable", "(", "\"CommonLinkage of XCOFF should not come to this path\"", ")", ";", "}", "assert", "(", "LinkageAttr", "!=", "MCSA_Invalid", "&&", "\"LinkageAttr should not MCSA_Invalid.\"", ")", ";", "MCSymbolAttr", "VisibilityAttr", "=", "MCSA_Invalid", ";", "switch", "(", "GV", "->", "getVisibility", "(", ")", ")", "{", "case", "GlobalValue", "::", "DefaultVisibility", ":", "break", ";", "case", "GlobalValue", "::", "HiddenVisibility", ":", "VisibilityAttr", "=", "MAI", "->", "getHiddenVisibilityAttr", "(", ")", ";", "break", ";", "case", "GlobalValue", "::", "ProtectedVisibility", ":", "VisibilityAttr", "=", "MAI", "->", "getProtectedVisibilityAttr", "(", ")", ";", "break", ";", "}", "OutStreamer", "->", "emitXCOFFSymbolLinkageWithVisibility", "(", "GVSym", ",", "LinkageAttr", ",", "VisibilityAttr", ")", ";", "}", ""], "natrual_language": ["This", "emits", "linkage", "information", "about", "GVSym", "based", "on", "GV", ",", "if", "this", "is", "supported", "by", "the", "target", "."], "TS_V_token": ["PowerPC", "PPC", "\"AIX's linkage directives take a visibility setting.\"", "\"InternalLinkage should not have other visibility setting.\"", "\"Should never emit this\"", "\"CommonLinkage of XCOFF should not come to this path\"", "\"LinkageAttr should not MCSA_Invalid.\""], "File": "PPCAsmPrinter121", "Func": "emitLinkage", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1625, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "pass_cc_fusion", "::", "execute", "(", "function", "*", ")", "{", "cc_fusion", "(", ")", ".", "execute", "(", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Main", "entry", "point", "for", "this", "pass", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64-cc-fusion", "Func": "execute", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1626, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_pre_atomic_barrier", "(", "rtx", "mem", ",", "enum", "memmodel", "model", ")", "{", "rtx", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "int", "strict_p", "=", "(", "reload_in_progress", "||", "reload_completed", ")", ";", "if", "(", "!", "legitimate_indirect_address_p", "(", "addr", ",", "strict_p", ")", "&&", "!", "legitimate_indexed_address_p", "(", "addr", ",", "strict_p", ")", ")", "{", "addr", "=", "force_reg", "(", "Pmode", ",", "addr", ")", ";", "mem", "=", "replace_equiv_address_nv", "(", "mem", ",", "addr", ")", ";", "}", "switch", "(", "model", ")", "{", "case", "MEMMODEL_RELAXED", ":", "case", "MEMMODEL_CONSUME", ":", "case", "MEMMODEL_ACQUIRE", ":", "break", ";", "case", "MEMMODEL_RELEASE", ":", "case", "MEMMODEL_ACQ_REL", ":", "emit_insn", "(", "gen_lwsync", "(", ")", ")", ";", "break", ";", "case", "MEMMODEL_SEQ_CST", ":", "emit_insn", "(", "gen_hwsync", "(", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "mem", ";", "}", ""], "natrual_language": ["Expand", "barriers", "before", "and", "after", "a", "load_locked/store_cond", "sequence", "."], "TS_V_token": ["powerpcspe", "0"], "File": "powerpcspe", "Func": "rs6000_pre_atomic_barrier", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1627, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "DLXAsmParser", "::", "ParseDirective", "(", "AsmToken", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXAsmParser", "Func": "ParseDirective", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1628, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_d_target_versions", "(", "void", ")", "{", "d_add_builtin_version", "(", "\"ARM\"", ")", ";", "if", "(", "TARGET_THUMB", "||", "TARGET_THUMB2", ")", "{", "d_add_builtin_version", "(", "\"Thumb\"", ")", ";", "d_add_builtin_version", "(", "\"ARM_Thumb\"", ")", ";", "}", "if", "(", "TARGET_HARD_FLOAT_ABI", ")", "d_add_builtin_version", "(", "\"ARM_HardFloat\"", ")", ";", "else", "{", "if", "(", "TARGET_SOFT_FLOAT", ")", "d_add_builtin_version", "(", "\"ARM_SoftFloat\"", ")", ";", "else", "if", "(", "TARGET_HARD_FLOAT", ")", "d_add_builtin_version", "(", "\"ARM_SoftFP\"", ")", ";", "}", "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", "ARM", "targets", "."], "TS_V_token": ["arm", "\"ARM\"", "\"Thumb\"", "\"ARM_Thumb\"", "\"ARM_HardFloat\"", "\"ARM_SoftFloat\"", "\"ARM_SoftFP\"", "\"D_SoftFloat\"", "\"D_HardFloat\""], "File": "arm-d", "Func": "arm_d_target_versions", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1629, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "LLVM_OVERRIDE", "{", "return", "\"ARM Assembly / Object Emitter\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"ARM Assembly / Object Emitter\""], "File": "ARMAsmPrinter21", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1630, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "*", "xstormy16_output_cbranch_hi", "(", "rtx", "op", ",", "const", "char", "*", "label", ",", "int", "reversed", ",", "rtx_insn", "*", "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", "*", "templ", ";", "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", "(", "!", "REG_P", "(", "XEXP", "(", "op", ",", "0", ")", ")", ")", "{", "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", ")", "templ", "=", "\"b%s %s,.+8 | jmpf %s\"", ";", "else", "templ", "=", "\"b%s %s,%s\"", ";", "sprintf", "(", "string", ",", "templ", ",", "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": "stormy16", "Func": "xstormy16_output_cbranch_hi", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1631, "Length": 291, "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": 1632, "Length": 350, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_expand_vcond", "(", "rtx", "*", "operands", ",", "machine_mode", "cmp_result_mode", ")", "{", "rtx", "mask", ";", "if", "(", "TARGET_HAVE_MVE", ")", "mask", "=", "gen_reg_rtx", "(", "arm_mode_to_pred_mode", "(", "cmp_result_mode", ")", ".", "require", "(", ")", ")", ";", "else", "mask", "=", "gen_reg_rtx", "(", "cmp_result_mode", ")", ";", "bool", "inverted", "=", "arm_expand_vector_compare", "(", "mask", ",", "GET_CODE", "(", "operands", "[", "3", "]", ")", ",", "operands", "[", "4", "]", ",", "operands", "[", "5", "]", ",", "true", ")", ";", "if", "(", "inverted", ")", "std", "::", "swap", "(", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ";", "if", "(", "TARGET_NEON", ")", "emit_insn", "(", "gen_neon_vbsl", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", ",", "operands", "[", "0", "]", ",", "mask", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ")", ";", "else", "{", "machine_mode", "cmp_mode", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", ";", "switch", "(", "GET_MODE_CLASS", "(", "cmp_mode", ")", ")", "{", "case", "MODE_VECTOR_INT", ":", "emit_insn", "(", "gen_mve_vpselq", "(", "VPSELQ_S", ",", "cmp_mode", ",", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ",", "mask", ")", ")", ";", "break", ";", "case", "MODE_VECTOR_FLOAT", ":", "if", "(", "TARGET_HAVE_MVE_FLOAT", ")", "emit_insn", "(", "gen_mve_vpselq_f", "(", "cmp_mode", ",", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ",", "mask", ")", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "}", ""], "natrual_language": ["Expand", "a", "vcond", "or", "vcondu", "pattern", "with", "operands", "OPERANDS", ".", "CMP_RESULT_MODE", "is", "the", "mode", "of", "the", "comparison", "result", "."], "TS_V_token": ["arm", "3", "4", "5", "1", "2", "0", "0", "1", "2", "0", "0", "1", "2", "0", "1", "2"], "File": "arm", "Func": "arm_expand_vcond", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1633, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TargetLowering", "::", "ComputeNumSignBitsForTargetNode", "(", "SDValue", "Op", ",", "const", "APInt", "&", "DemandedElts", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "unsigned", "VTBits", "=", "Op", ".", "getScalarValueSizeInBits", "(", ")", ";", "unsigned", "Opcode", "=", "Op", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "case", "X86ISD", "::", "SETCC_CARRY", ":", "return", "VTBits", ";", "case", "X86ISD", "::", "VSEXT", ":", "{", "SDValue", "Src", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "unsigned", "Tmp", "=", "DAG", ".", "ComputeNumSignBits", "(", "Src", ",", "Depth", "+", "1", ")", ";", "Tmp", "+=", "VTBits", "-", "Src", ".", "getScalarValueSizeInBits", "(", ")", ";", "return", "Tmp", ";", "}", "case", "X86ISD", "::", "VSRAI", ":", "{", "SDValue", "Src", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "unsigned", "Tmp", "=", "DAG", ".", "ComputeNumSignBits", "(", "Src", ",", "Depth", "+", "1", ")", ";", "APInt", "ShiftVal", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "1", ")", ")", "->", "getAPIntValue", "(", ")", ";", "ShiftVal", "+=", "Tmp", ";", "return", "ShiftVal", ".", "uge", "(", "VTBits", ")", "?", "VTBits", ":", "ShiftVal", ".", "getZExtValue", "(", ")", ";", "}", "case", "X86ISD", "::", "PCMPGT", ":", "case", "X86ISD", "::", "PCMPEQ", ":", "case", "X86ISD", "::", "CMPP", ":", "case", "X86ISD", "::", "VPCOM", ":", "case", "X86ISD", "::", "VPCOMU", ":", "return", "VTBits", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["Determine", "the", "number", "of", "bits", "in", "the", "operation", "that", "are", "sign", "bits", "."], "TS_V_token": ["X86", "X86", "X86ISD::SETCC_CARRY", "X86ISD::VSEXT", "0", "1", "X86ISD::VSRAI", "0", "1", "1", "X86ISD::PCMPGT", "X86ISD::PCMPEQ", "X86ISD::CMPP", "X86ISD::VPCOM", "X86ISD::VPCOMU", "1"], "File": "X86ISelLowering172", "Func": "ComputeNumSignBitsForTargetNode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1634, "Length": 202, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WinEHStatePass", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "TheModule", "=", "&", "M", ";", "FrameEscape", "=", "Intrinsic", "::", "getDeclaration", "(", "TheModule", ",", "Intrinsic", "::", "localescape", ")", ";", "FrameRecover", "=", "Intrinsic", "::", "getDeclaration", "(", "TheModule", ",", "Intrinsic", "::", "localrecover", ")", ";", "FrameAddress", "=", "Intrinsic", "::", "getDeclaration", "(", "TheModule", ",", "Intrinsic", "::", "frameaddress", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["X86", "Intrinsic::getDeclaration", "Intrinsic::localescape", "Intrinsic::getDeclaration", "Intrinsic::localrecover", "Intrinsic::getDeclaration", "Intrinsic::frameaddress"], "File": "X86WinEHState (2)", "Func": "doInitialization", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1635, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "shouldConvertFpToSat", "(", "unsigned", "Op", ",", "EVT", "FPVT", ",", "EVT", "VT", ")", "const", "{", "if", "(", "FPVT", "==", "MVT", "::", "v8f16", "&&", "!", "Subtarget", "->", "hasFullFP16", "(", ")", ")", "return", "false", ";", "return", "TargetLowering", "::", "shouldConvertFpToSat", "(", "Op", ",", "FPVT", ",", "VT", ")", ";", "}", ""], "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": ["AArch64", "AArch64", "MVT::v8f16"], "File": "AArch64ISelLowering168", "Func": "shouldConvertFpToSat", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1636, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_finish_function_arg", "(", "machine_mode", "mode", ",", "rtx", "*", "rvec", ",", "int", "k", ")", "{", "gcc_assert", "(", "k", ">=", "1", ")", ";", "if", "(", "k", "==", "1", ")", "{", "if", "(", "XEXP", "(", "rvec", "[", "0", "]", ",", "0", ")", "==", "NULL_RTX", ")", "return", "NULL_RTX", ";", "if", "(", "GET_MODE", "(", "XEXP", "(", "rvec", "[", "0", "]", ",", "0", ")", ")", "==", "mode", ")", "return", "XEXP", "(", "rvec", "[", "0", "]", ",", "0", ")", ";", "}", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec_v", "(", "k", ",", "rvec", ")", ")", ";", "}", ""], "natrual_language": ["RVEC", "is", "a", "vector", "of", "K", "components", "of", "an", "argument", "of", "mode", "MODE", ".", "Construct", "the", "final", "function_arg", "return", "value", "from", "it", "."], "TS_V_token": ["rs6000", "1", "1", "0", "0", "0", "0", "0", "0"], "File": "rs6000-call", "Func": "rs6000_finish_function_arg", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1637, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mmix_asm_output_addr_diff_elt", "(", "FILE", "*", "stream", ",", "rtx", "body", "ATTRIBUTE_UNUSED", ",", "int", "value", ",", "int", "rel", ")", "{", "fprintf", "(", "stream", ",", "\"\\tTETRA L%d-L%d\\n\"", ",", "value", ",", "rel", ")", ";", "}", ""], "natrual_language": ["ASM_OUTPUT_ADDR_DIFF_ELT", "."], "TS_V_token": ["mmix", "\"\\tTETRA L%d-L%d\\n\""], "File": "mmix", "Func": "mmix_asm_output_addr_diff_elt", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1638, "Length": 30, "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": 1639, "Length": 30, "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", ")", ",", "getEffectiveCodeModel", "(", "CM", ",", "JIT", ",", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", ",", "OL", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", "{", "if", "(", "(", "TT", ".", "isOSWindows", "(", ")", "&&", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", "||", "TT", ".", "isPS4", "(", ")", "||", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "{", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "this", "->", "Options", ".", "NoTrapAfterNoreturn", "=", "TT", ".", "isOSBinFormatMachO", "(", ")", ";", "}", "if", "(", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", "setMachineOutliner", "(", "true", ")", ";", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "X86", "target", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86TargetMachine120", "Func": "X86TargetMachine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1640, "Length": 182, "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", ">", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** ARM EXPAND PSEUDO INSTRUCTIONS **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "Modified", "|=", "ExpandMBB", "(", "MBB", ")", ";", "if", "(", "VerifyARMPseudo", ")", "MF", ".", "verify", "(", "this", ",", "\"After expanding ARM pseudo instructions.\"", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"***************************************************\\n\"", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "\"********** ARM EXPAND PSEUDO INSTRUCTIONS **********\\n\"", "\"********** Function: \"", "ARM", "\"After expanding ARM pseudo instructions.\"", "\"***************************************************\\n\""], "File": "ARMExpandPseudoInsts13", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1641, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_microcoded_insn", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "!", "insn", "||", "!", "NONDEBUG_INSN_P", "(", "insn", ")", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "USE", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "CLOBBER", ")", "return", "false", ";", "if", "(", "rs6000_cpu_attr", "==", "CPU_CELL", ")", "return", "get_attr_cell_micro", "(", "insn", ")", "==", "CELL_MICRO_ALWAYS", ";", "if", "(", "rs6000_sched_groups", "&&", "(", "rs6000_cpu", "==", "PROCESSOR_POWER4", "||", "rs6000_cpu", "==", "PROCESSOR_POWER5", ")", ")", "{", "enum", "attr_type", "type", "=", "get_attr_type", "(", "insn", ")", ";", "if", "(", "(", "type", "==", "TYPE_LOAD", "&&", "get_attr_update", "(", "insn", ")", "==", "UPDATE_YES", "&&", "get_attr_sign_extend", "(", "insn", ")", "==", "SIGN_EXTEND_YES", ")", "||", "(", "(", "type", "==", "TYPE_LOAD", "||", "type", "==", "TYPE_STORE", ")", "&&", "get_attr_update", "(", "insn", ")", "==", "UPDATE_YES", "&&", "get_attr_indexed", "(", "insn", ")", "==", "INDEXED_YES", ")", "||", "type", "==", "TYPE_MFCR", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["The", "function", "returns", "a", "true", "if", "INSN", "is", "microcoded", ".", "Return", "false", "otherwise", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "is_microcoded_insn", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1642, "Length": 141, "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": ["powerpcspe", "1", "0", "\"cpu\"", "0", "0", "\"tune\"", "\"powerpc\"", "\"-m\"", "0", "\"=\""], "File": "driver-powerpcspe", "Func": "host_detect_local_cpu", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1643, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZRegisterInfo", "::", "getRegAllocationHints", "(", "unsigned", "VirtReg", ",", "ArrayRef", "<", "MCPhysReg", ">", "Order", ",", "SmallVectorImpl", "<", "MCPhysReg", ">", "&", "Hints", ",", "const", "MachineFunction", "&", "MF", ",", "const", "VirtRegMap", "*", "VRM", ",", "const", "LiveRegMatrix", "*", "Matrix", ")", "const", "{", "const", "MachineRegisterInfo", "*", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "if", "(", "MRI", "->", "getRegClass", "(", "VirtReg", ")", "==", "&", "SystemZ", "::", "GRX32BitRegClass", ")", "{", "SmallVector", "<", "unsigned", ",", "8", ">", "Worklist", ";", "SmallSet", "<", "unsigned", ",", "4", ">", "DoneRegs", ";", "Worklist", ".", "push_back", "(", "VirtReg", ")", ";", "while", "(", "Worklist", ".", "size", "(", ")", ")", "{", "unsigned", "Reg", "=", "Worklist", ".", "pop_back_val", "(", ")", ";", "if", "(", "!", "DoneRegs", ".", "insert", "(", "Reg", ")", ".", "second", ")", "continue", ";", "for", "(", "auto", "&", "Use", ":", "MRI", "->", "use_instructions", "(", "Reg", ")", ")", "if", "(", "Use", ".", "getOpcode", "(", ")", "==", "SystemZ", "::", "LOCRMux", ")", "{", "MachineOperand", "&", "TrueMO", "=", "Use", ".", "getOperand", "(", "1", ")", ";", "MachineOperand", "&", "FalseMO", "=", "Use", ".", "getOperand", "(", "2", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getCommonSubClass", "(", "getRC32", "(", "FalseMO", ",", "VRM", ",", "MRI", ")", ",", "getRC32", "(", "TrueMO", ",", "VRM", ",", "MRI", ")", ")", ";", "if", "(", "RC", "&&", "RC", "!=", "&", "SystemZ", "::", "GRX32BitRegClass", ")", "{", "for", "(", "MCPhysReg", "Reg", ":", "Order", ")", "if", "(", "RC", "->", "contains", "(", "Reg", ")", "&&", "!", "MRI", "->", "isReserved", "(", "Reg", ")", ")", "Hints", ".", "push_back", "(", "Reg", ")", ";", "return", "true", ";", "}", "unsigned", "OtherReg", "=", "(", "TrueMO", ".", "getReg", "(", ")", "==", "Reg", "?", "FalseMO", ".", "getReg", "(", ")", ":", "TrueMO", ".", "getReg", "(", ")", ")", ";", "if", "(", "MRI", "->", "getRegClass", "(", "OtherReg", ")", "==", "&", "SystemZ", "::", "GRX32BitRegClass", ")", "Worklist", ".", "push_back", "(", "OtherReg", ")", ";", "}", "}", "}", "return", "TargetRegisterInfo", "::", "getRegAllocationHints", "(", "VirtReg", ",", "Order", ",", "Hints", ",", "MF", ",", "VRM", ",", "Matrix", ")", ";", "}", ""], "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": ["SystemZ", "SystemZ", "SystemZ::GRX32BitRegClass", "8", "4", "SystemZ::LOCRMux", "1", "2", "SystemZ::GRX32BitRegClass", "SystemZ::GRX32BitRegClass"], "File": "SystemZRegisterInfo22", "Func": "getRegAllocationHints", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1644, "Length": 326, "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", "::", "NumArgGPRs", ";", "++", "I", ")", "SavedRegs", ".", "set", "(", "SystemZ", "::", "ArgGPRs", "[", "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::NumArgGPRs", "SystemZ::ArgGPRs", "SystemZ::R6D", "SystemZ::R7D", "SystemZ::R11D", "SystemZ::R14D", "0", "SystemZ::GR64BitRegClass", "SystemZ::R15D"], "File": "SystemZFrameLowering12", "Func": "determineCalleeSaves", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1645, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64AsmPrinter", "::", "emitEndOfAsmFile", "(", "Module", "&", "M", ")", "{", "EmitHwasanMemaccessSymbols", "(", "M", ")", ";", "const", "Triple", "&", "TT", "=", "TM", ".", "getTargetTriple", "(", ")", ";", "if", "(", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "{", "OutStreamer", "->", "emitAssemblerFlag", "(", "MCAF_SubsectionsViaSymbols", ")", ";", "}", "emitStackMaps", "(", "SM", ")", ";", "}", ""], "natrual_language": ["This", "virtual", "method", "can", "be", "overridden", "by", "targets", "that", "want", "to", "emit", "something", "at", "the", "end", "of", "their", "file", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64AsmPrinter14", "Func": "emitEndOfAsmFile", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1646, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "CanLowerReturn", "(", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "EVT", ">", "&", "OutTys", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "ArgFlagsTy", ">", "&", "ArgsFlags", ",", "SelectionDAG", "&", "DAG", ")", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "return", "CCInfo", ".", "CheckReturn", "(", "OutTys", ",", "ArgsFlags", ",", "RetCC_X86", ")", ";", "}", ""], "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": ["X86", "X86", "ISD::ArgFlagsTy", "16", "X86"], "File": "X86ISelLowering144", "Func": "CanLowerReturn", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1647, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "lowerCall", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "CallingConv", "::", "ID", "CallConv", ",", "const", "MachineOperand", "&", "Callee", ",", "const", "ArgInfo", "&", "OrigRet", ",", "ArrayRef", "<", "ArgInfo", ">", "OrigArgs", ",", "const", "MDNode", "*", "KnownCallees", "=", "nullptr", ")", "const", "override", "{", "return", "lowerCall", "(", "MIRBuilder", ",", "CallConv", ",", "Callee", ",", "OrigRet", ",", "OrigArgs", ",", "0", ",", "KnownCallees", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "given", "call", "instruction", ",", "including", "argument", "and", "return", "value", "marshalling", "."], "TS_V_token": ["AArch64", "0"], "File": "AArch64CallLowering1", "Func": "lowerCall", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1648, "Length": 57, "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": 1649, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMTargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "EVT", "VT", ")", "const", "{", "unsigned", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "\"sp\"", ",", "ARM", "::", "SP", ")", ".", "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": ["ARM", "ARM", "\"sp\"", "ARM::SP", "0", "\"Invalid register name global variable\""], "File": "ARMISelLowering (2)", "Func": "getRegisterByName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1650, "Length": 53, "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", "(", ")", ";", "bundleCFG", "(", "MF", ")", ";", "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", "(", ")", ")", "for", "(", "MachineFunction", "::", "iterator", "BB", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "BB", "!=", "E", ";", "++", "BB", ")", "if", "(", "Processed", ".", "insert", "(", "BB", ")", ")", "Changed", "|=", "processBasicBlock", "(", "MF", ",", "*", "BB", ")", ";", "BlockBundle", ".", "clear", "(", ")", ";", "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", "8", "8"], "File": "X86FloatingPoint21", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1651, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "VariantKind", "getKind", "(", ")", "const", "{", "return", "static_cast", "<", "VariantKind", ">", "(", "Kind", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "Kind", "of", "lane", "offset", "."], "TS_V_token": ["AArch64"], "File": "AArch64MCExpr14", "Func": "getKind", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1652, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64InstrInfo", "::", "getLoadStoreImmIdx", "(", "unsigned", "Opc", ")", "{", "switch", "(", "Opc", ")", "{", "default", ":", "return", "2", ";", "case", "AArch64", "::", "LDPXi", ":", "case", "AArch64", "::", "LDPDi", ":", "case", "AArch64", "::", "STPXi", ":", "case", "AArch64", "::", "STPDi", ":", "case", "AArch64", "::", "LDNPXi", ":", "case", "AArch64", "::", "LDNPDi", ":", "case", "AArch64", "::", "STNPXi", ":", "case", "AArch64", "::", "STNPDi", ":", "case", "AArch64", "::", "LDPQi", ":", "case", "AArch64", "::", "STPQi", ":", "case", "AArch64", "::", "LDNPQi", ":", "case", "AArch64", "::", "STNPQi", ":", "case", "AArch64", "::", "LDPWi", ":", "case", "AArch64", "::", "LDPSi", ":", "case", "AArch64", "::", "STPWi", ":", "case", "AArch64", "::", "STPSi", ":", "case", "AArch64", "::", "LDNPWi", ":", "case", "AArch64", "::", "LDNPSi", ":", "case", "AArch64", "::", "STNPWi", ":", "case", "AArch64", "::", "STNPSi", ":", "case", "AArch64", "::", "LDG", ":", "return", "3", ";", "case", "AArch64", "::", "ADDG", ":", "case", "AArch64", "::", "STGOffset", ":", "return", "2", ";", "}", "}", ""], "natrual_language": ["Returns", "the", "index", "for", "the", "immediate", "for", "a", "given", "instruction", "."], "TS_V_token": ["AArch64", "AArch64", "2", "AArch64::LDPXi", "AArch64::LDPDi", "AArch64::STPXi", "AArch64::STPDi", "AArch64::LDNPXi", "AArch64::LDNPDi", "AArch64::STNPXi", "AArch64::STNPDi", "AArch64::LDPQi", "AArch64::STPQi", "AArch64::LDNPQi", "AArch64::STNPQi", "AArch64::LDPWi", "AArch64::LDPSi", "AArch64::STPWi", "AArch64::STPSi", "AArch64::LDNPWi", "AArch64::LDNPSi", "AArch64::STNPWi", "AArch64::STNPSi", "AArch64::LDG", "3", "AArch64::ADDG", "AArch64::STGOffset", "2"], "File": "AArch64InstrInfo25", "Func": "getLoadStoreImmIdx", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1653, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_gw_ex_to_ex_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "return", "nds32_n10_ex_to_ex_p", "(", "producer", ",", "consumer", ")", ";", "}", ""], "natrual_language": ["Check", "dependencies", "from", "EX", "to", "EX", "(", "ADDR_OUT", "-", ">", "ADDR_IN", ")", "."], "TS_V_token": ["nds32"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_gw_ex_to_ex_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1654, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "rtx_code", "ix86_reverse_condition", "(", "enum", "rtx_code", "code", ",", "enum", "machine_mode", "mode", ")", "{", "return", "(", "mode", "!=", "CCFPmode", "&&", "mode", "!=", "CCFPUmode", "?", "reverse_condition", "(", "code", ")", ":", "reverse_condition_maybe_unordered", "(", "code", ")", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "REVERSE_CONDITION", "."], "TS_V_token": ["i386"], "File": "i3863", "Func": "ix86_reverse_condition", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1655, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_early_load_addr_dep_ptr", "(", "rtx", "producer", ",", "rtx", "consumer", ")", "{", "rtx", "value", "=", "arm_find_sub_rtx_with_code", "(", "PATTERN", "(", "producer", ")", ",", "SET", ",", "false", ")", ";", "rtx", "addr", "=", "arm_find_sub_rtx_with_code", "(", "PATTERN", "(", "consumer", ")", ",", "SET", ",", "false", ")", ";", "if", "(", "!", "value", "||", "!", "addr", "||", "!", "MEM_P", "(", "SET_SRC", "(", "value", ")", ")", ")", "return", "0", ";", "value", "=", "SET_DEST", "(", "value", ")", ";", "addr", "=", "SET_SRC", "(", "addr", ")", ";", "return", "GET_MODE", "(", "value", ")", "==", "Pmode", "&&", "reg_overlap_mentioned_p", "(", "value", ",", "addr", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "the", "CONSUMER", "instruction", "(", "a", "load", ")", "does", "need", "a", "Pmode", "PRODUCER", "'s", "value", "to", "calculate", "the", "address", "."], "TS_V_token": ["arm", "0"], "File": "aarch-common", "Func": "arm_early_load_addr_dep_ptr", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1656, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "getMemOperandWithOffsetWidth", "(", "MachineInstr", "&", "LdSt", ",", "MachineOperand", "*", "&", "BaseOp", ",", "int64_t", "&", "Offset", ",", "unsigned", "&", "Width", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "assert", "(", "LdSt", ".", "mayLoadOrStore", "(", ")", "&&", "\"Expected a memory operation.\"", ")", ";", "if", "(", "LdSt", ".", "getNumExplicitOperands", "(", ")", "==", "3", ")", "{", "if", "(", "(", "!", "LdSt", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "&&", "!", "LdSt", ".", "getOperand", "(", "1", ")", ".", "isFI", "(", ")", ")", "||", "!", "LdSt", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", ")", "return", "false", ";", "}", "else", "if", "(", "LdSt", ".", "getNumExplicitOperands", "(", ")", "==", "4", ")", "{", "if", "(", "!", "LdSt", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "||", "(", "!", "LdSt", ".", "getOperand", "(", "2", ")", ".", "isReg", "(", ")", "&&", "!", "LdSt", ".", "getOperand", "(", "2", ")", ".", "isFI", "(", ")", ")", "||", "!", "LdSt", ".", "getOperand", "(", "3", ")", ".", "isImm", "(", ")", ")", "return", "false", ";", "}", "else", "return", "false", ";", "unsigned", "Scale", "=", "0", ";", "int64_t", "Dummy1", ",", "Dummy2", ";", "if", "(", "!", "getMemOpInfo", "(", "LdSt", ".", "getOpcode", "(", ")", ",", "Scale", ",", "Width", ",", "Dummy1", ",", "Dummy2", ")", ")", "return", "false", ";", "if", "(", "LdSt", ".", "getNumExplicitOperands", "(", ")", "==", "3", ")", "{", "BaseOp", "=", "&", "LdSt", ".", "getOperand", "(", "1", ")", ";", "Offset", "=", "LdSt", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "*", "Scale", ";", "}", "else", "{", "assert", "(", "LdSt", ".", "getNumExplicitOperands", "(", ")", "==", "4", "&&", "\"invalid number of operands\"", ")", ";", "BaseOp", "=", "&", "LdSt", ".", "getOperand", "(", "2", ")", ";", "Offset", "=", "LdSt", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "*", "Scale", ";", "}", "assert", "(", "(", "BaseOp", "->", "isReg", "(", ")", "||", "BaseOp", "->", "isFI", "(", ")", ")", "&&", "\"getMemOperandWithOffset only supports base \"", "\"operands of type register or frame index.\"", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "get", "the", "base", "operand", ",", "byte", "offset", "of", "an", "instruction", "and", "the", "memory", "width", "."], "TS_V_token": ["AArch64", "AArch64", "\"Expected a memory operation.\"", "3", "1", "1", "2", "4", "1", "2", "2", "3", "0", "3", "1", "2", "4", "\"invalid number of operands\"", "2", "3", "\"getMemOperandWithOffset only supports base \"", "\"operands of type register or frame index.\""], "File": "AArch64InstrInfo (2)1", "Func": "getMemOperandWithOffsetWidth", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1657, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "PPCSubtarget", "*", "getSubtargetImpl", "(", ")", "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": ["PowerPC", "PPC"], "File": "PPCTargetMachine", "Func": "getSubtargetImpl", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1658, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "save_reg_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", "!", "call_used_regs", "[", "reg", "]", "&&", "df_regs_ever_live_p", "(", "reg", ")", ";", "}", ""], "natrual_language": ["Determine", "whether", "the", "REG", "is", "really", "used", "."], "TS_V_token": ["rs6000"], "File": "rs60007", "Func": "save_reg_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1659, "Length": 74, "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_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_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_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-expand", "Func": "ix86_expand_vec_perm_const_1", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1660, "Length": 314, "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", "->", "getArgRegsSaveSize", "(", ")", ">", "0", ";", "unsigned", "NumAlignedDPRCS2Regs", "=", "AFI", "->", "getNumAlignedDPRCS2Regs", "(", ")", ";", "if", "(", "NumAlignedDPRCS2Regs", ")", "emitAlignedDPRCS2Restores", "(", "MBB", ",", "MI", ",", "NumAlignedDPRCS2Regs", ",", "CSI", ",", "TRI", ")", ";", "unsigned", "PopOpc", "=", "AFI", "->", "isThumbFunction", "(", ")", "?", "ARM", "::", "t2LDMIA_UPD", ":", "ARM", "::", "LDMIA_UPD", ";", "unsigned", "LdrOpc", "=", "AFI", "->", "isThumbFunction", "(", ")", "?", "ARM", "::", "t2LDR_POST", ":", "ARM", "::", "LDR_POST_IMM", ";", "unsigned", "FltOpc", "=", "ARM", "::", "VLDMDIA_UPD", ";", "emitPopInst", "(", "MBB", ",", "MI", ",", "CSI", ",", "FltOpc", ",", "0", ",", "isVarArg", ",", "true", ",", "&", "isARMArea3Register", ",", "NumAlignedDPRCS2Regs", ")", ";", "emitPopInst", "(", "MBB", ",", "MI", ",", "CSI", ",", "PopOpc", ",", "LdrOpc", ",", "isVarArg", ",", "false", ",", "&", "isARMArea2Register", ",", "0", ")", ";", "emitPopInst", "(", "MBB", ",", "MI", ",", "CSI", ",", "PopOpc", ",", "LdrOpc", ",", "isVarArg", ",", "false", ",", "&", "isARMArea1Register", ",", "0", ")", ";", "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_IMM", "ARM::VLDMDIA_UPD", "0", "ARM", "ARM", "0", "ARM", "0"], "File": "ARMFrameLowering (2)", "Func": "restoreCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1661, "Length": 214, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addRequired", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["ARM64"], "File": "ARM64PromoteConstant", "Func": "getAnalysisUsage", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1662, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "legitimize_pic_address", "(", "rtx", "orig", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "reg", ")", "{", "if", "(", "tls_symbolic_operand", "(", "orig", ",", "Pmode", ")", "!=", "TLS_MODEL_NONE", ")", "return", "orig", ";", "if", "(", "GET_CODE", "(", "orig", ")", "==", "LABEL_REF", "||", "(", "GET_CODE", "(", "orig", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_LOCAL_P", "(", "orig", ")", ")", ")", "{", "if", "(", "reg", "==", "NULL_RTX", ")", "reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "if", "(", "TARGET_FDPIC", "&&", "GET_CODE", "(", "orig", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_FUNCTION_P", "(", "orig", ")", ")", "{", "if", "(", "SYMBOL_REF_WEAK", "(", "orig", ")", ")", "emit_insn", "(", "gen_symGOTFUNCDESC2reg", "(", "reg", ",", "orig", ")", ")", ";", "else", "emit_insn", "(", "gen_symGOTOFFFUNCDESC2reg", "(", "reg", ",", "orig", ")", ")", ";", "}", "else", "if", "(", "TARGET_FDPIC", "&&", "(", "GET_CODE", "(", "orig", ")", "==", "LABEL_REF", "||", "(", "GET_CODE", "(", "orig", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_DECL", "(", "orig", ")", "&&", "(", "TREE_READONLY", "(", "SYMBOL_REF_DECL", "(", "orig", ")", ")", "||", "SYMBOL_REF_EXTERNAL_P", "(", "orig", ")", "||", "DECL_SECTION_NAME", "(", "SYMBOL_REF_DECL", "(", "orig", ")", ")", ")", ")", ")", ")", "emit_insn", "(", "gen_symGOT2reg", "(", "reg", ",", "orig", ")", ")", ";", "else", "emit_insn", "(", "gen_symGOTOFF2reg", "(", "reg", ",", "orig", ")", ")", ";", "return", "reg", ";", "}", "else", "if", "(", "GET_CODE", "(", "orig", ")", "==", "SYMBOL_REF", ")", "{", "if", "(", "reg", "==", "NULL_RTX", ")", "reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "if", "(", "TARGET_FDPIC", "&&", "SYMBOL_REF_FUNCTION_P", "(", "orig", ")", ")", "emit_insn", "(", "gen_symGOTFUNCDESC2reg", "(", "reg", ",", "orig", ")", ")", ";", "else", "emit_insn", "(", "gen_symGOT2reg", "(", "reg", ",", "orig", ")", ")", ";", "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": ["sh"], "File": "sh", "Func": "legitimize_pic_address", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1663, "Length": 249, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "legitimate_pic_operand_p", "(", "rtx", "x", ")", "{", "if", "(", "pic_address_needs_scratch", "(", "x", ")", ")", "return", "false", ";", "if", "(", "sparc_tls_referenced_p", "(", "x", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "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": ["sparc"], "File": "sparc", "Func": "legitimate_pic_operand_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1664, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "canInsertSelect", "(", "const", "MachineBasicBlock", "&", "MBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "Register", "DstReg", ",", "Register", "TrueReg", ",", "Register", "FalseReg", ",", "int", "&", "CondCycles", ",", "int", "&", "TrueCycles", ",", "int", "&", "FalseCycles", ")", "const", "{", "const", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "RI", ".", "getCommonSubClass", "(", "MRI", ".", "getRegClass", "(", "TrueReg", ")", ",", "MRI", ".", "getRegClass", "(", "FalseReg", ")", ")", ";", "if", "(", "!", "RC", ")", "return", "false", ";", "if", "(", "!", "RI", ".", "getCommonSubClass", "(", "RC", ",", "MRI", ".", "getRegClass", "(", "DstReg", ")", ")", ")", "return", "false", ";", "unsigned", "ExtraCondLat", "=", "Cond", ".", "size", "(", ")", "!=", "1", ";", "if", "(", "AArch64", "::", "GPR64allRegClass", ".", "hasSubClassEq", "(", "RC", ")", "||", "AArch64", "::", "GPR32allRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "CondCycles", "=", "1", "+", "ExtraCondLat", ";", "TrueCycles", "=", "FalseCycles", "=", "1", ";", "if", "(", "canFoldIntoCSel", "(", "MRI", ",", "TrueReg", ")", ")", "TrueCycles", "=", "0", ";", "else", "if", "(", "canFoldIntoCSel", "(", "MRI", ",", "FalseReg", ")", ")", "FalseCycles", "=", "0", ";", "return", "true", ";", "}", "if", "(", "AArch64", "::", "FPR64RegClass", ".", "hasSubClassEq", "(", "RC", ")", "||", "AArch64", "::", "FPR32RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "CondCycles", "=", "5", "+", "ExtraCondLat", ";", "TrueCycles", "=", "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": ["AArch64", "AArch64", "1", "AArch64::GPR64allRegClass", "AArch64::GPR32allRegClass", "1", "1", "0", "0", "AArch64::FPR64RegClass", "AArch64::FPR32RegClass", "5", "2"], "File": "AArch64InstrInfo105", "Func": "canInsertSelect", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1665, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "useAA", "(", ")", "const", "override", "{", "return", "UseAA", ";", "}", ""], "natrual_language": ["Enable", "use", "of", "alias", "analysis", "during", "code", "generation", "(", "during", "MI", "scheduling", ",", "DAGCombine", ",", "etc", ".", ")", "."], "TS_V_token": ["X86"], "File": "X86Subtarget101", "Func": "useAA", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1666, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "quad_address_p", "(", "rtx", "addr", ",", "machine_mode", "mode", ",", "bool", "strict", ")", "{", "rtx", "op0", ",", "op1", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "<", "16", ")", "return", "false", ";", "if", "(", "legitimate_indirect_address_p", "(", "addr", ",", "strict", ")", ")", "return", "true", ";", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", "&&", "!", "mode_supports_dq_form", "(", "mode", ")", ")", "return", "false", ";", "if", "(", "address_is_prefixed", "(", "addr", ",", "mode", ",", "NON_PREFIXED_DQ", ")", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "addr", ")", "!=", "PLUS", ")", "return", "false", ";", "op0", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "if", "(", "!", "REG_P", "(", "op0", ")", "||", "!", "INT_REG_OK_FOR_BASE_P", "(", "op0", ",", "strict", ")", ")", "return", "false", ";", "op1", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "if", "(", "!", "CONST_INT_P", "(", "op1", ")", ")", "return", "false", ";", "return", "quad_address_offset_p", "(", "INTVAL", "(", "op1", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "ADDR", "is", "an", "acceptable", "address", "for", "a", "quad", "memory", "operation", "of", "mode", "MODE", "(", "either", "LQ/STQ", "for", "general", "purpose", "registers", ",", "or", "LXV/STXV", "for", "vector", "registers", "under", "ISA", "3.0", ".", "GPR_P", "is", "true", "if", "this", "address", "is", "intended", "for", "LQ/STQ", ".", "If", "it", "is", "false", ",", "the", "address", "is", "intended", "for", "the", "ISA", "3.0", "LXV/STXV", "instruction", "."], "TS_V_token": ["rs6000", "16", "0", "1"], "File": "rs6000", "Func": "quad_address_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1667, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86InstrInfo", "::", "getSPAdjust", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "const", "MachineFunction", "*", "MF", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", "->", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "getCallFrameSetupOpcode", "(", ")", "||", "MI", "->", "getOpcode", "(", ")", "==", "getCallFrameDestroyOpcode", "(", ")", ")", "{", "unsigned", "StackAlign", "=", "TFI", "->", "getStackAlignment", "(", ")", ";", "int", "SPAdj", "=", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", "+", "StackAlign", "-", "1", ")", "/", "StackAlign", "*", "StackAlign", ";", "SPAdj", "-=", "MI", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "getCallFrameSetupOpcode", "(", ")", ")", "return", "SPAdj", ";", "else", "return", "-", "SPAdj", ";", "}", "if", "(", "MI", "->", "isCall", "(", ")", ")", "{", "const", "MachineBasicBlock", "*", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "auto", "I", "=", "++", "MachineBasicBlock", "::", "const_iterator", "(", "MI", ")", ";", "for", "(", "auto", "E", "=", "MBB", "->", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "getCallFrameDestroyOpcode", "(", ")", "||", "I", "->", "isCall", "(", ")", ")", "break", ";", "}", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "getCallFrameDestroyOpcode", "(", ")", ")", "return", "0", ";", "return", "-", "(", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ")", ";", "}", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "X86", "::", "PUSH32i8", ":", "case", "X86", "::", "PUSH32r", ":", "case", "X86", "::", "PUSH32rmm", ":", "case", "X86", "::", "PUSH32rmr", ":", "case", "X86", "::", "PUSHi32", ":", "return", "4", ";", "}", "}", ""], "natrual_language": ["getSPAdjust", "-", "This", "returns", "the", "stack", "pointer", "adjustment", "made", "by", "this", "instruction", "."], "TS_V_token": ["X86", "X86", "0", "1", "1", "0", "1", "0", "X86::PUSH32i8", "X86::PUSH32r", "X86::PUSH32rmm", "X86::PUSH32rmr", "X86::PUSHi32", "4"], "File": "X86InstrInfo (2)2", "Func": "getSPAdjust", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1668, "Length": 278, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSymbol", "*", "DCPU16MCInstLower", "::", "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": ["Dcpu16", "DCPU16", "\"Unknown target flag on GV operand\"", "0"], "File": "DCPU16MCInstLower", "Func": "GetBlockAddressSymbol", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1669, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1FrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "DebugLoc", "DL", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "ARM", "::", "tPUSH", ")", ")", ";", "AddDefaultPred", "(", "MIB", ")", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "bool", "isKill", "=", "true", ";", "if", "(", "Reg", "==", "ARM", "::", "LR", ")", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "if", "(", "MF", ".", "getFrameInfo", "(", ")", "->", "isReturnAddressTaken", "(", ")", "&&", "MF", ".", "getRegInfo", "(", ")", ".", "isLiveIn", "(", "Reg", ")", ")", "isKill", "=", "false", ";", "}", "if", "(", "isKill", ")", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "MIB", ".", "addReg", "(", "Reg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "}", "MIB", ".", "setMIFlags", "(", "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": ["ARM", "ARM::tPUSH", "0", "1", "ARM::LR"], "File": "Thumb1FrameLowering (2)", "Func": "spillCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1670, "Length": 206, "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", "&&", "LABEL_P", "(", "next", ")", ")", "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": "arm4", "Func": "arm_barrier_cost", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1671, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZFrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "std", "::", "vector", "<", "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", ")", ";", "}", "unsigned", "LowGPR", "=", "ZFI", "->", "getLowSavedGPR", "(", ")", ";", "unsigned", "HighGPR", "=", "ZFI", "->", "getHighSavedGPR", "(", ")", ";", "unsigned", "StartOffset", "=", "RegSpillOffsets", "[", "LowGPR", "]", ";", "if", "(", "LowGPR", ")", "{", "assert", "(", "LowGPR", "!=", "HighGPR", "&&", "\"Should be loading %r15 and something else\"", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "SystemZ", "::", "LMG", ")", ")", ";", "MIB", ".", "addReg", "(", "LowGPR", ",", "RegState", "::", "Define", ")", ";", "MIB", ".", "addReg", "(", "HighGPR", ",", "RegState", "::", "Define", ")", ";", "MIB", ".", "addReg", "(", "HasFP", "?", "SystemZ", "::", "R11D", ":", "SystemZ", "::", "R15D", ")", ";", "MIB", ".", "addImm", "(", "StartOffset", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "CSI", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "I", "]", ".", "getReg", "(", ")", ";", "if", "(", "Reg", "!=", "LowGPR", "&&", "Reg", "!=", "HighGPR", ")", "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", "\"Should be loading %r15 and something else\"", "SystemZ::LMG", "SystemZ::R11D", "SystemZ::R15D", "0"], "File": "SystemZFrameLowering (2)", "Func": "restoreCalleeSavedRegisters", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1672, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86RegisterInfo", "::", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "live-ins", "should", "be", "tracked", "after", "register", "allocation", "."], "TS_V_token": ["X86", "X86"], "File": "X86RegisterInfo (2)", "Func": "trackLivenessAfterRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1673, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isReg", "(", ")", "const", "{", "return", "Kind", "==", "Register", ";", "}", ""], "natrual_language": ["isReg", "-", "Is", "this", "a", "register", "operand", "?"], "TS_V_token": ["X86"], "File": "X86AsmParser (2)2", "Func": "isReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1674, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "MipsTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "MipsPassConfig", "(", "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": ["Mips", "Mips", "Mips"], "File": "MipsTargetMachine11", "Func": "createPassConfig", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1675, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isVectorLoadExtDesirable", "(", "SDValue", "ExtVal", ")", "const", "{", "if", "(", "isa", "<", "MaskedLoadSDNode", ">", "(", "ExtVal", ".", "getOperand", "(", "0", ")", ")", ")", "return", "false", ";", "EVT", "SrcVT", "=", "ExtVal", ".", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", ";", "if", "(", "SrcVT", ".", "getScalarType", "(", ")", "==", "MVT", "::", "i1", ")", "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": ["X86", "X86", "0", "0", "MVT::i1"], "File": "X86ISelLowering (2)5", "Func": "isVectorLoadExtDesirable", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1676, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "LoopInfo", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "LoopInfo", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "ScalarEvolution", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["PowerPC"], "File": "PPCCTRLoops26", "Func": "getAnalysisUsage", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1677, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "override", "{", "switch", "(", "ConstraintID", ")", "{", "default", ":", "errs", "(", ")", "<<", "\"ConstraintID: \"", "<<", "ConstraintID", "<<", "\"\\n\"", ";", "llvm_unreachable", "(", "\"Unexpected asm memory constraint\"", ")", ";", "case", "InlineAsm", "::", "Constraint_es", ":", "case", "InlineAsm", "::", "Constraint_i", ":", "case", "InlineAsm", "::", "Constraint_m", ":", "case", "InlineAsm", "::", "Constraint_o", ":", "case", "InlineAsm", "::", "Constraint_Q", ":", "case", "InlineAsm", "::", "Constraint_Z", ":", "case", "InlineAsm", "::", "Constraint_Zy", ":", "const", "TargetRegisterInfo", "*", "TRI", "=", "PPCSubTarget", "->", "getRegisterInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "TRC", "=", "TRI", "->", "getPointerRegClass", "(", "*", "MF", ",", "1", ")", ";", "SDLoc", "dl", "(", "Op", ")", ";", "SDValue", "RC", "=", "CurDAG", "->", "getTargetConstant", "(", "TRC", "->", "getID", "(", ")", ",", "dl", ",", "MVT", "::", "i32", ")", ";", "SDValue", "NewOp", "=", "SDValue", "(", "CurDAG", "->", "getMachineNode", "(", "TargetOpcode", "::", "COPY_TO_REGCLASS", ",", "dl", ",", "Op", ".", "getValueType", "(", ")", ",", "Op", ",", "RC", ")", ",", "0", ")", ";", "OutOps", ".", "push_back", "(", "NewOp", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["PowerPC", "\"ConstraintID: \"", "\"\\n\"", "\"Unexpected asm memory constraint\"", "PPC", "1", "MVT::i32", "0"], "File": "PPCISelDAGToDAG (2)1", "Func": "SelectInlineAsmMemoryOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1678, "Length": 175, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64RegisterInfo", "::", "materializeFrameBaseRegister", "(", "MachineBasicBlock", "*", "MBB", ",", "Register", "BaseReg", ",", "int", "FrameIdx", ",", "int64_t", "Offset", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "Ins", "=", "MBB", "->", "begin", "(", ")", ";", "DebugLoc", "DL", ";", "if", "(", "Ins", "!=", "MBB", "->", "end", "(", ")", ")", "DL", "=", "Ins", "->", "getDebugLoc", "(", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", "->", "getParent", "(", ")", ";", "const", "AArch64InstrInfo", "*", "TII", "=", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "TII", "->", "get", "(", "AArch64", "::", "ADDXri", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MBB", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MRI", ".", "constrainRegClass", "(", "BaseReg", ",", "TII", "->", "getRegClass", "(", "MCID", ",", "0", ",", "this", ",", "MF", ")", ")", ";", "unsigned", "Shifter", "=", "AArch64_AM", "::", "getShifterImm", "(", "AArch64_AM", "::", "LSL", ",", "0", ")", ";", "BuildMI", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "MCID", ",", "BaseReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "Offset", ")", ".", "addImm", "(", "Shifter", ")", ";", "}", ""], "natrual_language": ["Insert", "defining", "instruction", "(", "s", ")", "for", "a", "pointer", "to", "FrameIdx", "before", "insertion", "point", "I", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64::ADDXri", "0", "AArch64_AM::getShifterImm", "AArch64_AM::LSL", "0"], "File": "AArch64RegisterInfo12", "Func": "materializeFrameBaseRegister", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1679, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "iq2000_emit_frame_related_store", "(", "rtx", "mem", ",", "rtx", "reg", ",", "HOST_WIDE_INT", "offset", ")", "{", "rtx", "dwarf_address", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ";", "rtx", "dwarf_mem", "=", "gen_rtx_MEM", "(", "GET_MODE", "(", "reg", ")", ",", "dwarf_address", ")", ";", "iq2000_annotate_frame_insn", "(", "emit_move_insn", "(", "mem", ",", "reg", ")", ",", "gen_rtx_SET", "(", "GET_MODE", "(", "reg", ")", ",", "dwarf_mem", ",", "reg", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "move", "instruction", "that", "stores", "REG", "in", "MEM", ".", "Make", "the", "instruction", "frame", "related", "and", "note", "that", "it", "stores", "REG", "at", "(", "SP", "+", "OFFSET", ")", "."], "TS_V_token": ["iq2000"], "File": "iq20003", "Func": "iq2000_emit_frame_related_store", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1680, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_function_arg_alignment", "(", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "*", "abi_break", ")", "{", "*", "abi_break", "=", "false", ";", "if", "(", "!", "type", ")", "return", "GET_MODE_ALIGNMENT", "(", "mode", ")", ";", "if", "(", "integer_zerop", "(", "TYPE_SIZE", "(", "type", ")", ")", ")", "return", "0", ";", "gcc_assert", "(", "TYPE_MODE", "(", "type", ")", "==", "mode", ")", ";", "if", "(", "!", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "return", "TYPE_ALIGN", "(", "TYPE_MAIN_VARIANT", "(", "type", ")", ")", ";", "if", "(", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", ")", "return", "TYPE_ALIGN", "(", "TREE_TYPE", "(", "type", ")", ")", ";", "unsigned", "int", "alignment", "=", "0", ";", "unsigned", "int", "bitfield_alignment", "=", "0", ";", "for", "(", "tree", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";", "field", ";", "field", "=", "DECL_CHAIN", "(", "field", ")", ")", "if", "(", "TREE_CODE", "(", "field", ")", "==", "FIELD_DECL", ")", "{", "alignment", "=", "std", "::", "max", "(", "alignment", ",", "DECL_ALIGN", "(", "field", ")", ")", ";", "if", "(", "DECL_BIT_FIELD_TYPE", "(", "field", ")", ")", "bitfield_alignment", "=", "std", "::", "max", "(", "bitfield_alignment", ",", "TYPE_ALIGN", "(", "DECL_BIT_FIELD_TYPE", "(", "field", ")", ")", ")", ";", "}", "if", "(", "bitfield_alignment", ">", "alignment", ")", "{", "*", "abi_break", "=", "true", ";", "return", "bitfield_alignment", ";", "}", "return", "alignment", ";", "}", ""], "natrual_language": ["Given", "MODE", "and", "TYPE", "of", "a", "function", "argument", ",", "return", "the", "alignment", "in", "bits", ".", "The", "idea", "is", "to", "suppress", "any", "stronger", "alignment", "requested", "by", "the", "user", "and", "opt", "for", "the", "natural", "alignment", "(", "specified", "in", "AAPCS64", "\\S", "4.1", ")", ".", "This", "is", "a", "helper", "function", "for", "local", "use", "only", "."], "TS_V_token": ["aarch64", "0", "0", "0"], "File": "aarch64", "Func": "aarch64_function_arg_alignment", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1681, "Length": 190, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx_insn", "*", "mips_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": ["mips"], "File": "mips", "Func": "mips_emit_move", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1682, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "loongarch_global_symbol_p", "(", "const_rtx", "x", ")", "{", "if", "(", "LABEL_REF_P", "(", "x", ")", ")", "return", "false", ";", "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": ["loongarch"], "File": "loongarch", "Func": "loongarch_global_symbol_p", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1683, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_override_options", "(", "void", ")", "{", "unsigned", "long", "cpu_isa", "=", "0", ";", "unsigned", "long", "arch_isa", "=", "0", ";", "aarch64_isa_flags", "=", "0", ";", "bool", "valid_cpu", "=", "true", ";", "bool", "valid_tune", "=", "true", ";", "bool", "valid_arch", "=", "true", ";", "selected_cpu", "=", "NULL", ";", "selected_arch", "=", "NULL", ";", "selected_tune", "=", "NULL", ";", "if", "(", "aarch64_cpu_string", ")", "valid_cpu", "=", "aarch64_validate_mcpu", "(", "aarch64_cpu_string", ",", "&", "selected_cpu", ",", "&", "cpu_isa", ")", ";", "if", "(", "aarch64_arch_string", ")", "valid_arch", "=", "aarch64_validate_march", "(", "aarch64_arch_string", ",", "&", "selected_arch", ",", "&", "arch_isa", ")", ";", "if", "(", "aarch64_tune_string", ")", "valid_tune", "=", "aarch64_validate_mtune", "(", "aarch64_tune_string", ",", "&", "selected_tune", ")", ";", "if", "(", "!", "selected_cpu", ")", "{", "if", "(", "selected_arch", ")", "{", "selected_cpu", "=", "&", "all_cores", "[", "selected_arch", "->", "ident", "]", ";", "aarch64_isa_flags", "=", "arch_isa", ";", "explicit_arch", "=", "selected_arch", "->", "arch", ";", "}", "else", "{", "selected_cpu", "=", "aarch64_get_tune_cpu", "(", "aarch64_none", ")", ";", "aarch64_isa_flags", "=", "TARGET_CPU_DEFAULT", ">>", "6", ";", "}", "if", "(", "selected_tune", ")", "explicit_tune_core", "=", "selected_tune", "->", "ident", ";", "}", "else", "if", "(", "selected_arch", ")", "{", "if", "(", "selected_arch", "->", "arch", "!=", "selected_cpu", "->", "arch", ")", "{", "warning", "(", "0", ",", "\"switch -mcpu=%s conflicts with -march=%s switch\"", ",", "all_architectures", "[", "selected_cpu", "->", "arch", "]", ".", "name", ",", "selected_arch", "->", "name", ")", ";", "}", "aarch64_isa_flags", "=", "arch_isa", ";", "explicit_arch", "=", "selected_arch", "->", "arch", ";", "explicit_tune_core", "=", "selected_tune", "?", "selected_tune", "->", "ident", ":", "selected_cpu", "->", "ident", ";", "}", "else", "{", "aarch64_isa_flags", "=", "cpu_isa", ";", "explicit_tune_core", "=", "selected_tune", "?", "selected_tune", "->", "ident", ":", "selected_cpu", "->", "ident", ";", "gcc_assert", "(", "selected_cpu", ")", ";", "selected_arch", "=", "&", "all_architectures", "[", "selected_cpu", "->", "arch", "]", ";", "explicit_arch", "=", "selected_arch", "->", "arch", ";", "}", "if", "(", "!", "selected_arch", ")", "{", "gcc_assert", "(", "selected_cpu", ")", ";", "selected_arch", "=", "&", "all_architectures", "[", "selected_cpu", "->", "arch", "]", ";", "}", "if", "(", "!", "selected_tune", ")", "selected_tune", "=", "selected_cpu", ";", "if", "(", "TARGET_ILP32", ")", "error", "(", "\"assembler does not support -mabi=ilp32\"", ")", ";", "aarch64_sve_vg", "=", "aarch64_convert_sve_vector_bits", "(", "aarch64_sve_vector_bits", ")", ";", "if", "(", "aarch64_ra_sign_scope", "!=", "AARCH64_FUNCTION_NONE", "&&", "TARGET_ILP32", ")", "sorry", "(", "\"return address signing is only supported for -mabi=lp64\"", ")", ";", "if", "(", "(", "aarch64_cpu_string", "&&", "valid_cpu", ")", "||", "(", "aarch64_tune_string", "&&", "valid_tune", ")", ")", "gcc_assert", "(", "explicit_tune_core", "!=", "aarch64_none", ")", ";", "if", "(", "(", "aarch64_cpu_string", "&&", "valid_cpu", ")", "||", "(", "aarch64_arch_string", "&&", "valid_arch", ")", ")", "gcc_assert", "(", "explicit_arch", "!=", "aarch64_no_arch", ")", ";", "aarch64_override_options_internal", "(", "&", "global_options", ")", ";", "target_option_default_node", "=", "target_option_current_node", "=", "build_target_option_node", "(", "&", "global_options", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_OVERRIDE", "."], "TS_V_token": ["aarch64", "0", "0", "0", "6", "0", "\"switch -mcpu=%s conflicts with -march=%s switch\"", "\"assembler does not support -mabi=ilp32\"", "\"return address signing is only supported for -mabi=lp64\""], "File": "aarch645", "Func": "aarch64_override_options", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1684, "Length": 377, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64TargetLowering", "::", "isLegalICmpImmediate", "(", "int64_t", "Immed", ")", "const", "{", "if", "(", "Immed", "<", "0", ")", "Immed", "*=", "-", "1", ";", "return", "isLegalAddImmediate", "(", "Immed", ")", ";", "}", ""], "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": ["ARM64", "ARM64", "0", "1"], "File": "ARM64ISelLowering", "Func": "isLegalICmpImmediate", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1685, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getMinPrefetchStride", "(", ")", "const", "override", "{", "return", "2048", ";", "}", ""], "natrual_language": ["Some", "HW", "prefetchers", "can", "handle", "accesses", "up", "to", "a", "certain", "constant", "stride", "."], "TS_V_token": ["SystemZ", "2048"], "File": "SystemZTargetTransformInfo20", "Func": "getMinPrefetchStride", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1686, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb2HazardRecognizer", "::", "Reset", "(", ")", "{", "ITBlockSize", "=", "0", ";", "PostRAHazardRecognizer", "::", "Reset", "(", ")", ";", "}", ""], "natrual_language": ["Reset", "the", "unwind", "opcode", "assembler", "."], "TS_V_token": ["ARM", "0"], "File": "Thumb2HazardRecognizer", "Func": "Reset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1687, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "std", "::", "unique_ptr", "<", "Cpu0Operand", ">", "CreateMem", "(", "unsigned", "Base", ",", "const", "MCExpr", "*", "Off", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{", "auto", "Op", "=", "make_unique", "<", "Cpu0Operand", ">", "(", "k_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": ["Cpu0", "Cpu0", "Cpu0"], "File": "Cpu0AsmParser", "Func": "CreateMem", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1688, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmBackend", "::", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCInstFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "switch", "(", "(", "unsigned", ")", "Fixup", ".", "getKind", "(", ")", ")", "{", "case", "ARM", "::", "fixup_arm_thumb_br", ":", "{", "int64_t", "Offset", "=", "int64_t", "(", "Value", ")", "-", "4", ";", "return", "Offset", ">", "2046", "||", "Offset", "<", "-", "2048", ";", "}", "case", "ARM", "::", "fixup_arm_thumb_bcc", ":", "{", "int64_t", "Offset", "=", "int64_t", "(", "Value", ")", "-", "4", ";", "return", "Offset", ">", "254", "||", "Offset", "<", "-", "256", ";", "}", "case", "ARM", "::", "fixup_thumb_adr_pcrel_10", ":", "case", "ARM", "::", "fixup_arm_thumb_cp", ":", "{", "int64_t", "Offset", "=", "int64_t", "(", "Value", ")", "-", "4", ";", "return", "Offset", ">", "1020", "||", "Offset", "<", "0", "||", "Offset", "&", "3", ";", "}", "}", "llvm_unreachable", "(", "\"Unexpected fixup kind in fixupNeedsRelaxation()!\"", ")", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["ARM", "ARM", "ARM::fixup_arm_thumb_br", "4", "2046", "2048", "ARM::fixup_arm_thumb_bcc", "4", "254", "256", "ARM::fixup_thumb_adr_pcrel_10", "ARM::fixup_arm_thumb_cp", "4", "1020", "0", "3", "\"Unexpected fixup kind in fixupNeedsRelaxation()!\""], "File": "ARMAsmBackend13", "Func": "fixupNeedsRelaxation", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1689, "Length": 133, "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": "PPCInstrInfo (3)", "Func": "isLoadFromStackSlot", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1690, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "Check", "(", "DecodeStatus", "&", "Out", ",", "DecodeStatus", "In", ")", "{", "switch", "(", "In", ")", "{", "case", "MCDisassembler", "::", "Success", ":", "return", "true", ";", "case", "MCDisassembler", "::", "SoftFail", ":", "Out", "=", "In", ";", "return", "true", ";", "case", "MCDisassembler", "::", "Fail", ":", "Out", "=", "In", ";", "return", "false", ";", "}", "llvm_unreachable", "(", "\"Invalid DecodeStatus!\"", ")", ";", "}", ""], "natrual_language": ["Matches", "check", "string", "and", "its", "``", "not", "strings", "''", "and/or", "``", "dag", "strings", "''", "."], "TS_V_token": ["ARM", "\"Invalid DecodeStatus!\""], "File": "ARMDisassembler (2)", "Func": "Check", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1691, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_add_gc_roots", "(", ")", "{", "ggc_add_rtx_root", "(", "&", "sparc_compare_op0", ",", "1", ")", ";", "ggc_add_rtx_root", "(", "&", "sparc_compare_op1", ",", "1", ")", ";", "ggc_add_rtx_root", "(", "&", "global_offset_table", ",", "1", ")", ";", "ggc_add_rtx_root", "(", "&", "get_pc_symbol", ",", "1", ")", ";", "ggc_add_rtx_root", "(", "&", "sparc_addr_diff_list", ",", "1", ")", ";", "ggc_add_rtx_root", "(", "&", "sparc_addr_list", ",", "1", ")", ";", "ggc_add_root", "(", "ultra_pipe_hist", ",", "ARRAY_SIZE", "(", "ultra_pipe_hist", ")", ",", "sizeof", "(", "ultra_pipe_hist", "[", "0", "]", ")", ",", "&", "mark_ultrasparc_pipeline_state", ")", ";", "}", ""], "natrual_language": ["Called", "to", "register", "all", "of", "our", "global", "variables", "with", "the", "garbage", "collector", "."], "TS_V_token": ["sparc", "1", "1", "1", "1", "1", "1", "0"], "File": "sparc2", "Func": "sparc_add_gc_roots", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1692, "Length": 76, "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": 1693, "Length": 317, "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": 1694, "Length": 390, "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", "NumAlignedDPRCS2Regs", "=", "AFI", "->", "getNumAlignedDPRCS2Regs", "(", ")", ";", "if", "(", "NumAlignedDPRCS2Regs", ")", "emitAlignedDPRCS2Restores", "(", "MBB", ",", "MI", ",", "NumAlignedDPRCS2Regs", ",", "CSI", ",", "TRI", ")", ";", "unsigned", "PopOpc", "=", "AFI", "->", "isThumbFunction", "(", ")", "?", "ARM", "::", "t2LDMIA_UPD", ":", "ARM", "::", "LDMIA_UPD", ";", "unsigned", "LdrOpc", "=", "AFI", "->", "isThumbFunction", "(", ")", "?", "ARM", "::", "t2LDR_POST", ":", "ARM", "::", "LDR_POST_IMM", ";", "unsigned", "FltOpc", "=", "ARM", "::", "VLDMDIA_UPD", ";", "emitPopInst", "(", "MBB", ",", "MI", ",", "CSI", ",", "FltOpc", ",", "0", ",", "isVarArg", ",", "true", ",", "&", "isARMArea3Register", ",", "NumAlignedDPRCS2Regs", ")", ";", "emitPopInst", "(", "MBB", ",", "MI", ",", "CSI", ",", "PopOpc", ",", "LdrOpc", ",", "isVarArg", ",", "false", ",", "&", "isARMArea2Register", ",", "0", ")", ";", "emitPopInst", "(", "MBB", ",", "MI", ",", "CSI", ",", "PopOpc", ",", "LdrOpc", ",", "isVarArg", ",", "false", ",", "&", "isARMArea1Register", ",", "0", ")", ";", "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_IMM", "ARM::VLDMDIA_UPD", "0", "ARM", "ARM", "0", "ARM", "0"], "File": "ARMFrameLowering1", "Func": "restoreCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1695, "Length": 214, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Function", "*", "ARMTargetLowering", "::", "getSSPStackGuardCheck", "(", "const", "Module", "&", "M", ")", "const", "{", "if", "(", "Subtarget", "->", "getTargetTriple", "(", ")", ".", "isWindowsMSVCEnvironment", "(", ")", ")", "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": ["ARM", "ARM", "\"__security_check_cookie\""], "File": "ARMISelLowering (2)5", "Func": "getSSPStackGuardCheck", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1696, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_split_move_insn", "(", "rtx", "dest", ",", "rtx", "src", ",", "rtx", "insn", ")", "{", "mips_split_move", "(", "dest", ",", "src", ",", "mips_insn_split_type", "(", "insn", ")", ",", "insn", ")", ";", "}", ""], "natrual_language": ["Split", "a", "move", "from", "SRC", "to", "DEST", "in", "INSN", ",", "given", "that", "mips_split_move_insn_p", "holds", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_split_move_insn", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1697, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "rs6000_insn_for_and_mask", "(", "machine_mode", "mode", ",", "rtx", "*", "operands", ",", "bool", "dot", ")", "{", "int", "nb", ",", "ne", ";", "if", "(", "!", "rs6000_is_valid_mask", "(", "operands", "[", "2", "]", ",", "&", "nb", ",", "&", "ne", ",", "mode", ")", ")", "gcc_unreachable", "(", ")", ";", "if", "(", "mode", "==", "DImode", "&&", "ne", "==", "0", ")", "{", "operands", "[", "3", "]", "=", "GEN_INT", "(", "63", "-", "nb", ")", ";", "if", "(", "dot", ")", "return", "\"rldicl. %0,%1,0,%3\"", ";", "return", "\"rldicl %0,%1,0,%3\"", ";", "}", "if", "(", "mode", "==", "DImode", "&&", "nb", "==", "63", ")", "{", "operands", "[", "3", "]", "=", "GEN_INT", "(", "63", "-", "ne", ")", ";", "if", "(", "dot", ")", "return", "\"rldicr. %0,%1,0,%3\"", ";", "return", "\"rldicr %0,%1,0,%3\"", ";", "}", "if", "(", "nb", "<", "32", "&&", "ne", "<", "32", ")", "{", "operands", "[", "3", "]", "=", "GEN_INT", "(", "31", "-", "nb", ")", ";", "operands", "[", "4", "]", "=", "GEN_INT", "(", "31", "-", "ne", ")", ";", "if", "(", "dot", ")", "return", "\"rlwinm. %0,%1,0,%3,%4\"", ";", "return", "\"rlwinm %0,%1,0,%3,%4\"", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "instruction", "template", "for", "an", "AND", "with", "mask", "in", "mode", "MODE", ",", "with", "operands", "OPERANDS", ".", "If", "DOT", "is", "true", ",", "make", "it", "a", "record-form", "instruction", "."], "TS_V_token": ["powerpcspe", "2", "0", "3", "63", "\"rldicl. %0,%1,0,%3\"", "\"rldicl %0,%1,0,%3\"", "63", "3", "63", "\"rldicr. %0,%1,0,%3\"", "\"rldicr %0,%1,0,%3\"", "32", "32", "3", "31", "4", "31", "\"rlwinm. %0,%1,0,%3,%4\"", "\"rlwinm %0,%1,0,%3,%4\""], "File": "powerpcspe", "Func": "rs6000_insn_for_and_mask", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1698, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"ARM Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"ARM Instruction Selection\""], "File": "ARMISelDAGToDAG (2)", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1699, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "function_arg_union_value", "(", "int", "size", ",", "machine_mode", "mode", ",", "int", "slotno", ",", "int", "regno", ")", "{", "unsigned", "int", "nwords", ";", "if", "(", "size", "<=", "0", ")", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "if", "(", "slotno", "==", "SPARC_INT_ARG_MAX", "-", "1", ")", "nwords", "=", "1", ";", "else", "nwords", "=", "CEIL_NWORDS", "(", "size", ")", ";", "rtx", "regs", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "rtvec_alloc", "(", "nwords", ")", ")", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "nwords", ";", "i", "++", ")", "XVECEXP", "(", "regs", ",", "0", ",", "i", ")", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "word_mode", ",", "regno", "+", "i", ")", ",", "GEN_INT", "(", "UNITS_PER_WORD", "*", "i", ")", ")", ";", "return", "regs", ";", "}", ""], "natrual_language": ["Used", "by", "function_arg", "and", "sparc_function_value_1", "to", "implement", "the", "conventions", "of", "the", "64-bit", "ABI", "for", "passing", "and", "returning", "unions", ".", "Return", "an", "expression", "valid", "as", "a", "return", "value", "for", "the", "FUNCTION_ARG", "and", "TARGET_FUNCTION_VALUE", ".", "SIZE", "is", "the", "size", "in", "bytes", "of", "the", "union", ".", "MODE", "is", "the", "argument", "'s", "machine", "mode", ".", "REGNO", "is", "the", "hard", "register", "the", "union", "will", "be", "passed", "in", "."], "TS_V_token": ["sparc", "0", "1", "1", "0", "0"], "File": "sparc", "Func": "function_arg_union_value", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1700, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64TargetLowering", "::", "LowerAsmOperandForConstraint", "(", "SDValue", "Op", ",", "std", "::", "string", "&", "Constraint", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "Ops", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDValue", "Result", ";", "if", "(", "Constraint", ".", "size", "(", ")", "!=", "1", ")", "return", ";", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'I'", ":", "case", "'J'", ":", "case", "'K'", ":", "case", "'L'", ":", "case", "'M'", ":", "case", "'N'", ":", "case", "'Z'", ":", "{", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ";", "if", "(", "!", "C", ")", "return", ";", "uint64_t", "CVal", "=", "C", "->", "getZExtValue", "(", ")", ";", "uint32_t", "Bits", ";", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unimplemented C_Other constraint\"", ")", ";", "case", "'I'", ":", "if", "(", "CVal", "<=", "0xfff", ")", "break", ";", "return", ";", "case", "'K'", ":", "if", "(", "A64Imms", "::", "isLogicalImm", "(", "32", ",", "CVal", ",", "Bits", ")", ")", "break", ";", "return", ";", "case", "'L'", ":", "if", "(", "A64Imms", "::", "isLogicalImm", "(", "64", ",", "CVal", ",", "Bits", ")", ")", "break", ";", "return", ";", "case", "'Z'", ":", "if", "(", "CVal", "==", "0", ")", "break", ";", "return", ";", "}", "Result", "=", "DAG", ".", "getTargetConstant", "(", "CVal", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "}", "case", "'S'", ":", "{", "if", "(", "const", "GlobalAddressSDNode", "*", "GA", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", ")", "{", "Result", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GA", "->", "getGlobal", "(", ")", ",", "SDLoc", "(", "Op", ")", ",", "GA", "->", "getValueType", "(", "0", ")", ")", ";", "}", "else", "if", "(", "const", "BlockAddressSDNode", "*", "BA", "=", "dyn_cast", "<", "BlockAddressSDNode", ">", "(", "Op", ")", ")", "{", "Result", "=", "DAG", ".", "getTargetBlockAddress", "(", "BA", "->", "getBlockAddress", "(", ")", ",", "BA", "->", "getValueType", "(", "0", ")", ")", ";", "}", "else", "if", "(", "const", "ExternalSymbolSDNode", "*", "ES", "=", "dyn_cast", "<", "ExternalSymbolSDNode", ">", "(", "Op", ")", ")", "{", "Result", "=", "DAG", ".", "getTargetExternalSymbol", "(", "ES", "->", "getSymbol", "(", ")", ",", "ES", "->", "getValueType", "(", "0", ")", ")", ";", "}", "else", "return", ";", "break", ";", "}", "case", "'Y'", ":", "if", "(", "const", "ConstantFPSDNode", "*", "CFP", "=", "dyn_cast", "<", "ConstantFPSDNode", ">", "(", "Op", ")", ")", "{", "if", "(", "CFP", "->", "isExactlyValue", "(", "0.0", ")", ")", "{", "Result", "=", "DAG", ".", "getTargetConstantFP", "(", "0.0", ",", "CFP", "->", "getValueType", "(", "0", ")", ")", ";", "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": ["AArch64", "AArch64", "1", "0", "0", "\"Unimplemented C_Other constraint\"", "0xfff", "32", "64", "0", "0", "0", "0", "0.0", "0.0", "0"], "File": "AArch64ISelLowering109", "Func": "LowerAsmOperandForConstraint", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1701, "Length": 422, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTTIImpl", "::", "isLegalMaskedLoad", "(", "Type", "*", "DataTy", ")", "{", "if", "(", "!", "EnableMaskedLoadStores", "||", "!", "ST", "->", "hasMVEIntegerOps", "(", ")", ")", "return", "false", ";", "if", "(", "DataTy", "->", "isVectorTy", "(", ")", ")", "{", "unsigned", "VecWidth", "=", "DataTy", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "VecWidth", "!=", "128", ")", "return", "false", ";", "}", "unsigned", "EltWidth", "=", "DataTy", "->", "getScalarSizeInBits", "(", ")", ";", "return", "EltWidth", "==", "32", "||", "EltWidth", "==", "16", "||", "EltWidth", "==", "8", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "load", "."], "TS_V_token": ["ARM", "ARM", "128", "32", "16", "8"], "File": "ARMTargetTransformInfo25", "Func": "isLegalMaskedLoad", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1702, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "Mips16InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "Mips16InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "!", "StackSize", ")", "return", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "Move32R16", ")", ",", "Mips", "::", "SP", ")", ".", "addReg", "(", "Mips", "::", "S0", ")", ";", "TII", ".", "restoreFrame", "(", "Mips", "::", "SP", ",", "StackSize", ",", "MBB", ",", "MBBI", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips::Move32R16", "Mips::SP", "Mips::S0", "Mips::SP"], "File": "Mips16FrameLowering", "Func": "emitEpilogue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1703, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "thumb_call_via_reg", "(", "rtx", "reg", ")", "{", "int", "regno", "=", "REGNO", "(", "reg", ")", ";", "rtx", "*", "labelp", ";", "gcc_assert", "(", "regno", "<", "LR_REGNUM", ")", ";", "if", "(", "in_section", "==", "text_section", ")", "{", "thumb_call_reg_needed", "=", "1", ";", "if", "(", "thumb_call_via_label", "[", "regno", "]", "==", "NULL", ")", "thumb_call_via_label", "[", "regno", "]", "=", "gen_label_rtx", "(", ")", ";", "labelp", "=", "thumb_call_via_label", "+", "regno", ";", "}", "else", "{", "if", "(", "cfun", "->", "machine", "->", "call_via", "[", "regno", "]", "==", "NULL", ")", "cfun", "->", "machine", "->", "call_via", "[", "regno", "]", "=", "gen_label_rtx", "(", ")", ";", "labelp", "=", "cfun", "->", "machine", "->", "call_via", "+", "regno", ";", "}", "output_asm_insn", "(", "\"bl\\t%a0\"", ",", "labelp", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "a", "call-via", "instruction", "for", "thumb", "state", "."], "TS_V_token": ["arm", "1", "\"bl\\t%a0\"", "\"\""], "File": "arm", "Func": "thumb_call_via_reg", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1704, "Length": 114, "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", "&&", "!", "crtl", "->", "is_leaf", ")", "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": "arm6", "Func": "arm_frame_pointer_required", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1705, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_expand_compare_and_swap", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "bval", ",", "rval", ",", "mem", ",", "oldval", ",", "newval", ",", "is_weak", ",", "mod_s", ",", "mod_f", ",", "x", ",", "cc_reg", ";", "machine_mode", "mode", ",", "r_mode", ";", "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", "(", "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", ")", ";", "r_mode", "=", "mode", ";", "if", "(", "mode", "==", "QImode", "||", "mode", "==", "HImode", ")", "{", "r_mode", "=", "SImode", ";", "rval", "=", "gen_reg_rtx", "(", "r_mode", ")", ";", "}", "if", "(", "TARGET_LSE", ")", "{", "if", "(", "reg_overlap_mentioned_p", "(", "rval", ",", "oldval", ")", ")", "rval", "=", "copy_to_mode_reg", "(", "r_mode", ",", "oldval", ")", ";", "else", "emit_move_insn", "(", "rval", ",", "gen_lowpart", "(", "r_mode", ",", "oldval", ")", ")", ";", "emit_insn", "(", "gen_aarch64_compare_and_swap_lse", "(", "mode", ",", "rval", ",", "mem", ",", "newval", ",", "mod_s", ")", ")", ";", "cc_reg", "=", "aarch64_gen_compare_reg_maybe_ze", "(", "NE", ",", "rval", ",", "oldval", ",", "mode", ")", ";", "}", "else", "{", "insn_code", "code", "=", "code_for_aarch64_compare_and_swap", "(", "mode", ")", ";", "if", "(", "!", "insn_data", "[", "code", "]", ".", "operand", "[", "2", "]", ".", "predicate", "(", "oldval", ",", "mode", ")", ")", "oldval", "=", "force_reg", "(", "mode", ",", "oldval", ")", ";", "emit_insn", "(", "GEN_FCN", "(", "code", ")", "(", "rval", ",", "mem", ",", "oldval", ",", "newval", ",", "is_weak", ",", "mod_s", ",", "mod_f", ")", ")", ";", "cc_reg", "=", "gen_rtx_REG", "(", "CCmode", ",", "CC_REGNUM", ")", ";", "}", "if", "(", "r_mode", "!=", "mode", ")", "rval", "=", "gen_lowpart", "(", "mode", ",", "rval", ")", ";", "emit_move_insn", "(", "operands", "[", "1", "]", ",", "rval", ")", ";", "x", "=", "gen_rtx_EQ", "(", "SImode", ",", "cc_reg", ",", "const0_rtx", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "bval", ",", "x", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "compare", "and", "swap", "pattern", "."], "TS_V_token": ["aarch64", "0", "1", "2", "3", "4", "5", "6", "7", "2", "1"], "File": "aarch646", "Func": "aarch64_expand_compare_and_swap", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1706, "Length": 341, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZAsmParser", "::", "isLabel", "(", "AsmToken", "&", "Token", ")", "{", "if", "(", "isParsingATT", "(", ")", ")", "return", "true", ";", "StringRef", "RawLabel", "=", "Token", ".", "getString", "(", ")", ";", "SMLoc", "Loc", "=", "Token", ".", "getLoc", "(", ")", ";", "if", "(", "!", "RawLabel", ".", "size", "(", ")", ")", "return", "!", "Error", "(", "Loc", ",", "\"HLASM Label cannot be empty\"", ")", ";", "if", "(", "RawLabel", ".", "size", "(", ")", ">", "63", ")", "return", "!", "Error", "(", "Loc", ",", "\"Maximum length for HLASM Label is 63 characters\"", ")", ";", "if", "(", "!", "isHLASMAlpha", "(", "RawLabel", "[", "0", "]", ")", ")", "return", "!", "Error", "(", "Loc", ",", "\"HLASM Label has to start with an alphabetic \"", "\"character or the underscore character\"", ")", ";", "for", "(", "unsigned", "I", "=", "1", ";", "I", "<", "RawLabel", ".", "size", "(", ")", ";", "++", "I", ")", "if", "(", "!", "isHLASMAlnum", "(", "RawLabel", "[", "I", "]", ")", ")", "return", "!", "Error", "(", "Loc", ",", "\"HLASM Label has to be alphanumeric\"", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "MachineInstr", "represents", "a", "label", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"HLASM Label cannot be empty\"", "63", "\"Maximum length for HLASM Label is 63 characters\"", "0", "\"HLASM Label has to start with an alphabetic \"", "\"character or the underscore character\"", "1", "\"HLASM Label has to be alphanumeric\""], "File": "SystemZAsmParser1", "Func": "isLabel", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1707, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "MipsTargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "IsZeroVal", ",", "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": "MipsISelLowering101", "Func": "getOptimalMemOpType", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1708, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMWinCOFFStreamer", "::", "finishImpl", "(", ")", "{", "emitFrames", "(", "nullptr", ")", ";", "MCWinCOFFStreamer", "::", "finishImpl", "(", ")", ";", "}", ""], "natrual_language": ["Streamer", "specific", "finalization", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMWinCOFFStreamer", "Func": "finishImpl", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1709, "Length": 19, "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", "::", "Other", ")", "break", ";", "if", "(", "VT", "==", "MVT", "::", "f32", "||", "VT", "==", "MVT", "::", "i32", ")", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "SPRRegClass", ")", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "DPR_VFP2RegClass", ")", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "128", ")", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "QPR_VFP2RegClass", ")", ";", "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::Other", "MVT::f32", "MVT::i32", "0U", "ARM::SPRRegClass", "64", "0U", "ARM::DPR_VFP2RegClass", "128", "0U", "ARM::QPR_VFP2RegClass", "\"{cc}\"", "ARM::CPSR", "ARM::CCRRegClass"], "File": "ARMISelLowering (3)", "Func": "getRegForInlineAsmConstraint", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1710, "Length": 406, "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": 1711, "Length": 17, "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": 1712, "Length": 287, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "ARMTargetLowering", "::", "shouldExpandAtomicRMWInIR", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "if", "(", "AI", "->", "isFloatingPointOperation", "(", ")", ")", "return", "AtomicExpansionKind", "::", "CmpXChg", ";", "unsigned", "Size", "=", "AI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "bool", "hasAtomicRMW", ";", "if", "(", "Subtarget", "->", "isMClass", "(", ")", ")", "hasAtomicRMW", "=", "Subtarget", "->", "hasV8MBaselineOps", "(", ")", ";", "else", "if", "(", "Subtarget", "->", "isThumb", "(", ")", ")", "hasAtomicRMW", "=", "Subtarget", "->", "hasV7Ops", "(", ")", ";", "else", "hasAtomicRMW", "=", "Subtarget", "->", "hasV6Ops", "(", ")", ";", "if", "(", "Size", "<=", "(", "Subtarget", "->", "isMClass", "(", ")", "?", "32U", ":", "64U", ")", "&&", "hasAtomicRMW", ")", "{", "if", "(", "getTargetMachine", "(", ")", ".", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ")", "return", "AtomicExpansionKind", "::", "CmpXChg", ";", "return", "AtomicExpansionKind", "::", "LLSC", ";", "}", "return", "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": "ARMISelLowering12", "Func": "shouldExpandAtomicRMWInIR", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1713, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "sh_cfun_interrupt_handler_p", "(", "void", ")", "{", "return", "(", "lookup_attribute", "(", "\"interrupt_handler\"", ",", "DECL_ATTRIBUTES", "(", "current_function_decl", ")", ")", "!=", "NULL_TREE", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "current", "function", "has", "the", "``", "interrupt_handler", "''", "attribute", "set", "."], "TS_V_token": ["sh", "\"interrupt_handler\""], "File": "sh3", "Func": "sh_cfun_interrupt_handler_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1714, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_cannot_copy_insn_p", "(", "rtx", "insn", ")", "{", "rtx", "pat", ";", "if", "(", "!", "reload_completed", "||", "!", "flag_pic", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "insn", ")", "!=", "INSN", ")", "return", "false", ";", "if", "(", "asm_noperands", "(", "insn", ")", ">=", "0", ")", "return", "false", ";", "pat", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "!=", "SET", ")", "return", "false", ";", "pat", "=", "SET_SRC", "(", "pat", ")", ";", "if", "(", "unspec_caller_rtx_p", "(", "pat", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Indicate", "that", "INSN", "can", "not", "be", "duplicated", ".", "This", "is", "true", "for", "insn", "that", "generates", "a", "unique", "label", "."], "TS_V_token": ["sh", "0"], "File": "sh3", "Func": "sh_cannot_copy_insn_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1715, "Length": 86, "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": 1716, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_test_loading_full_dump", "(", ")", "{", "rtl_dump_test", "t", "(", "SELFTEST_LOCATION", ",", "locate_file", "(", "\"x86_64/times-two.rtl\"", ")", ")", ";", "ASSERT_STREQ", "(", "\"times_two\"", ",", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "cfun", "->", "decl", ")", ")", ")", ";", "rtx_insn", "*", "insn_1", "=", "get_insn_by_uid", "(", "1", ")", ";", "ASSERT_EQ", "(", "NOTE", ",", "GET_CODE", "(", "insn_1", ")", ")", ";", "rtx_insn", "*", "insn_7", "=", "get_insn_by_uid", "(", "7", ")", ";", "ASSERT_EQ", "(", "INSN", ",", "GET_CODE", "(", "insn_7", ")", ")", ";", "ASSERT_EQ", "(", "PARALLEL", ",", "GET_CODE", "(", "PATTERN", "(", "insn_7", ")", ")", ")", ";", "rtx_insn", "*", "insn_15", "=", "get_insn_by_uid", "(", "15", ")", ";", "ASSERT_EQ", "(", "INSN", ",", "GET_CODE", "(", "insn_15", ")", ")", ";", "ASSERT_EQ", "(", "USE", ",", "GET_CODE", "(", "PATTERN", "(", "insn_15", ")", ")", ")", ";", "ASSERT_EQ", "(", "REG", ",", "GET_CODE", "(", "crtl", "->", "return_rtx", ")", ")", ";", "ASSERT_EQ", "(", "0", ",", "REGNO", "(", "crtl", "->", "return_rtx", ")", ")", ";", "ASSERT_EQ", "(", "SImode", ",", "GET_MODE", "(", "crtl", "->", "return_rtx", ")", ")", ";", "}", ""], "natrual_language": ["Verify", "that", "the", "RTL", "loader", "copes", "a", "dump", "from", "print_rtx_function", ".", "This", "test", "is", "target-specific", "since", "the", "dump", "contains", "target-specific", "hard", "reg", "names", "."], "TS_V_token": ["i386", "\"x86_64/times-two.rtl\"", "\"times_two\"", "1", "7", "15", "0"], "File": "i386", "Func": "ix86_test_loading_full_dump", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1717, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "machreg_t", "inet_ntoa", "(", "machreg_t", "in", ")", "{", "return", "_inet_ntoa", "(", "in", "<<", "SHIFT_BITS", ")", ";", "}", ""], "natrual_language": ["<", "arpa/inet.h", ">", "has", "char", "*", "inet_ntoa", "(", "struct", "in_addr", ")", ";", "on", "both", "IRIX", "6.2", "and", "6.5", ",", "with", "struct", "in_addr", "containing", "a", "32-bit", "int", "."], "TS_V_token": ["mips"], "File": "irix6-libc-compat", "Func": "inet_ntoa", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1718, "Length": 16, "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", ")", "{", "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": "arm6", "Func": "arm_get_vfp_saved_size", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1719, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getMaxPrefetchIterationsAhead", "(", ")", "const", "{", "return", "MaxPrefetchIterationsAhead", ";", "}", ""], "natrual_language": ["Return", "the", "maximum", "prefetch", "distance", "in", "terms", "of", "loop", "iterations", "."], "TS_V_token": ["AArch64"], "File": "AArch64Subtarget10", "Func": "getMaxPrefetchIterationsAhead", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1720, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintWeight", "AArch64TargetLowering", "::", "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", "'x'", ":", "case", "'w'", ":", "if", "(", "type", "->", "isFloatingPointTy", "(", ")", "||", "type", "->", "isVectorTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'z'", ":", "weight", "=", "CW_Constant", ";", "break", ";", "}", "return", "weight", ";", "}", ""], "natrual_language": ["Examine", "constraint", "string", "and", "operand", "type", "and", "determine", "a", "weight", "value", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ISelLowering (2)", "Func": "getSingleConstraintMatchWeight", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1721, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_subvti_scratch_regs", "(", "rtx", "op1", ",", "rtx", "op2", ",", "rtx", "*", "low_dest", ",", "rtx", "*", "low_in1", ",", "rtx", "*", "low_in2", ",", "rtx", "*", "high_dest", ",", "rtx", "*", "high_in1", ",", "rtx", "*", "high_in2", ")", "{", "*", "low_dest", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "*", "low_in1", "=", "simplify_gen_subreg", "(", "DImode", ",", "op1", ",", "TImode", ",", "subreg_lowpart_offset", "(", "DImode", ",", "TImode", ")", ")", ";", "*", "low_in2", "=", "simplify_gen_subreg", "(", "DImode", ",", "op2", ",", "TImode", ",", "subreg_lowpart_offset", "(", "DImode", ",", "TImode", ")", ")", ";", "*", "high_dest", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "*", "high_in1", "=", "simplify_gen_subreg", "(", "DImode", ",", "op1", ",", "TImode", ",", "subreg_highpart_offset", "(", "DImode", ",", "TImode", ")", ")", ";", "*", "high_in2", "=", "simplify_gen_subreg", "(", "DImode", ",", "op2", ",", "TImode", ",", "subreg_highpart_offset", "(", "DImode", ",", "TImode", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "DImode", "scratch", "registers", "for", "128-bit", "(", "TImode", ")", "subtraction", ".", "This", "function", "differs", "from", "'arch64_addti_scratch_regs", "'", "in", "that", "OP1", "can", "be", "an", "immediate", "constant", "(", "zero", ")", ".", "We", "must", "call", "subreg_highpart_offset", "with", "DImode", "and", "TImode", "arguments", ",", "otherwise", "VOIDmode", "will", "be", "used", "for", "the", "const_int", "which", "generates", "an", "internal", "error", "from", "subreg_size_highpart_offset", "which", "does", "not", "expect", "a", "size", "of", "zero", ".", "OP1", "represents", "the", "TImode", "destination", "operand", "1", "OP2", "represents", "the", "TImode", "destination", "operand", "2", "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", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_subvti_scratch_regs", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1722, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "doInitialization", "(", "Module", "&", "M", ")", "override", "{", "SM", ".", "reset", "(", ")", ";", "return", "AsmPrinter", "::", "doInitialization", "(", "M", ")", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["SystemZ"], "File": "SystemZAsmPrinter10", "Func": "doInitialization", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1723, "Length": 24, "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", "(", ")", ".", "isCortexA9", "(", ")", ")", "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": "ARMTargetMachine27", "Func": "addPreRegAlloc", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1724, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mmix_function_arg", "(", "const", "CUMULATIVE_ARGS", "*", "argsp", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "int", "named", "ATTRIBUTE_UNUSED", ",", "int", "incoming", ")", "{", "if", "(", "type", "==", "void_type_node", ")", "return", "(", "argsp", "->", "regs", "<", "MMIX_MAX_ARGS_IN_REGS", ")", "?", "gen_rtx_REG", "(", "mode", ",", "(", "incoming", "?", "MMIX_FIRST_INCOMING_ARG_REGNUM", ":", "MMIX_FIRST_ARG_REGNUM", ")", "+", "argsp", "->", "regs", ")", ":", "NULL_RTX", ";", "return", "(", "argsp", "->", "regs", "<", "MMIX_MAX_ARGS_IN_REGS", "&&", "!", "targetm", ".", "calls", ".", "must_pass_in_stack", "(", "mode", ",", "type", ")", "&&", "(", "GET_MODE_BITSIZE", "(", "mode", ")", "<=", "64", "||", "argsp", "->", "lib", "||", "TARGET_LIBFUNC", ")", ")", "?", "gen_rtx_REG", "(", "mode", ",", "(", "incoming", "?", "MMIX_FIRST_INCOMING_ARG_REGNUM", ":", "MMIX_FIRST_ARG_REGNUM", ")", "+", "argsp", "->", "regs", ")", ":", "NULL_RTX", ";", "}", ""], "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", "64"], "File": "mmix3", "Func": "mmix_function_arg", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1725, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_split_sve_subreg_move", "(", "rtx", "dest", ",", "rtx", "ptrue", ",", "rtx", "src", ")", "{", "machine_mode", "mode_with_wider_elts", "=", "GET_MODE", "(", "dest", ")", ";", "machine_mode", "mode_with_narrower_elts", "=", "GET_MODE", "(", "src", ")", ";", "if", "(", "GET_MODE_UNIT_SIZE", "(", "mode_with_wider_elts", ")", "<", "GET_MODE_UNIT_SIZE", "(", "mode_with_narrower_elts", ")", ")", "std", "::", "swap", "(", "mode_with_wider_elts", ",", "mode_with_narrower_elts", ")", ";", "unsigned", "int", "wider_bytes", "=", "GET_MODE_UNIT_SIZE", "(", "mode_with_wider_elts", ")", ";", "unsigned", "int", "unspec", ";", "if", "(", "wider_bytes", "==", "8", ")", "unspec", "=", "UNSPEC_REV64", ";", "else", "if", "(", "wider_bytes", "==", "4", ")", "unspec", "=", "UNSPEC_REV32", ";", "else", "if", "(", "wider_bytes", "==", "2", ")", "unspec", "=", "UNSPEC_REV16", ";", "else", "gcc_unreachable", "(", ")", ";", "machine_mode", "pred_mode", "=", "aarch64_sve_pred_mode", "(", "wider_bytes", ")", ".", "require", "(", ")", ";", "ptrue", "=", "gen_lowpart", "(", "pred_mode", ",", "ptrue", ")", ";", "dest", "=", "aarch64_replace_reg_mode", "(", "dest", ",", "mode_with_narrower_elts", ")", ";", "src", "=", "aarch64_replace_reg_mode", "(", "src", ",", "mode_with_narrower_elts", ")", ";", "src", "=", "gen_rtx_UNSPEC", "(", "mode_with_narrower_elts", ",", "gen_rtvec", "(", "1", ",", "src", ")", ",", "unspec", ")", ";", "src", "=", "gen_rtx_UNSPEC", "(", "mode_with_narrower_elts", ",", "gen_rtvec", "(", "2", ",", "ptrue", ",", "src", ")", ",", "UNSPEC_MERGE_PTRUE", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "src", ")", ")", ";", "}", ""], "natrual_language": ["Split", "a", "*", "aarch64_sve_mov", "<", "mode", ">", "_subreg_be", "pattern", "with", "the", "given", "operands", "."], "TS_V_token": ["aarch64", "8", "4", "2", "1", "2"], "File": "aarch645", "Func": "aarch64_split_sve_subreg_move", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1726, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PreTileConfig", "::", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "setPreservesAll", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["X86", "X86"], "File": "X86PreTileConfig1", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1727, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "poly_uint16", "aarch64_convert_sve_vector_bits", "(", "aarch64_sve_vector_bits_enum", "value", ")", "{", "if", "(", "value", "==", "SVE_SCALABLE", "||", "value", "==", "SVE_128", ")", "return", "poly_uint16", "(", "2", ",", "2", ")", ";", "else", "return", "(", "int", ")", "value", "/", "64", ";", "}", ""], "natrual_language": ["Return", "the", "VG", "value", "associated", "with", "-msve-vector-bits=", "value", "VALUE", "."], "TS_V_token": ["aarch64", "2", "2", "64"], "File": "aarch645", "Func": "aarch64_convert_sve_vector_bits", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1728, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "expand_vec_perm_vpermil", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "rtx", "rperm", "[", "8", "]", ",", "vperm", ";", "unsigned", "i", ";", "if", "(", "!", "TARGET_AVX", "||", "d", "->", "vmode", "!=", "V8SFmode", "||", "!", "d", "->", "one_operand_p", ")", "return", "false", ";", "for", "(", "i", "=", "0", ";", "i", "<", "8", ";", "++", "i", ")", "{", "unsigned", "e", "=", "d", "->", "perm", "[", "i", "]", ";", "if", "(", "i", "<", "4", "?", "e", ">=", "4", ":", "e", "<", "4", ")", "return", "false", ";", "}", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "for", "(", "i", "=", "0", ";", "i", "<", "8", ";", "++", "i", ")", "{", "unsigned", "e", "=", "d", "->", "perm", "[", "i", "]", ";", "if", "(", "e", ">=", "8", "+", "4", ")", "e", "-=", "8", ";", "else", "if", "(", "e", ">=", "4", ")", "e", "-=", "4", ";", "rperm", "[", "i", "]", "=", "GEN_INT", "(", "e", ")", ";", "}", "vperm", "=", "gen_rtx_CONST_VECTOR", "(", "V8SImode", ",", "gen_rtvec_v", "(", "8", ",", "rperm", ")", ")", ";", "vperm", "=", "force_reg", "(", "V8SImode", ",", "vperm", ")", ";", "emit_insn", "(", "gen_avx_vpermilvarv8sf3", "(", "d", "->", "target", ",", "d", "->", "op0", ",", "vperm", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "ix86_expand_vec_perm_builtin_1", ".", "Try", "to", "implement", "D", "in", "terms", "of", "the", "variable", "form", "of", "vpermilps", ".", "Note", "that", "we", "will", "have", "already", "failed", "the", "immediate", "input", "vpermilps", ",", "which", "requires", "that", "the", "high", "and", "low", "part", "shuffle", "be", "identical", ";", "the", "variable", "form", "does", "n't", "require", "that", "."], "TS_V_token": ["i386", "8", "0", "8", "4", "4", "4", "0", "8", "8", "4", "8", "4", "4", "8"], "File": "i386-expand", "Func": "expand_vec_perm_vpermil", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1729, "Length": 192, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MipsSubtarget", "&", "MipsSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetMachine", "&", "TM", ")", "{", "std", "::", "string", "CPUName", "=", "MIPS_MC", "::", "selectMipsCPU", "(", "TM", ".", "getTargetTriple", "(", ")", ",", "CPU", ")", ";", "ParseSubtargetFeatures", "(", "CPUName", ",", "FS", ")", ";", "InstrItins", "=", "getInstrItineraryForCPU", "(", "CPUName", ")", ";", "if", "(", "InMips16Mode", "&&", "!", "IsSoftFloat", ")", "InMips16HardFloat", "=", "true", ";", "if", "(", "StackAlignOverride", ")", "stackAlignment", "=", "*", "StackAlignOverride", ";", "else", "if", "(", "isABI_N32", "(", ")", "||", "isABI_N64", "(", ")", ")", "stackAlignment", "=", "Align", "(", "16", ")", ";", "else", "{", "assert", "(", "isABI_O32", "(", ")", "&&", "\"Unknown ABI for stack alignment!\"", ")", ";", "stackAlignment", "=", "Align", "(", "8", ")", ";", "}", "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_MC::selectMipsCPU", "Mips", "Mips", "16", "\"Unknown ABI for stack alignment!\"", "8"], "File": "MipsSubtarget61", "Func": "initializeSubtargetDependencies", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1730, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_global_entry_point_needed_p", "(", "void", ")", "{", "if", "(", "DEFAULT_ABI", "!=", "ABI_ELFv2", ")", "return", "false", ";", "if", "(", "TARGET_SINGLE_PIC_BASE", ")", "return", "false", ";", "if", "(", "cfun", "->", "is_thunk", ")", "return", "true", ";", "return", "cfun", "->", "machine", "->", "r2_setup_needed", ";", "}", ""], "natrual_language": ["Return", "whether", "we", "need", "to", "emit", "an", "ELFv2", "global", "entry", "point", "prologue", "."], "TS_V_token": ["rs6000"], "File": "rs60005", "Func": "rs6000_global_entry_point_needed_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1731, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "thumb_reload_out_hi", "(", "rtx", "*", "operands", ")", "{", "emit_insn", "(", "gen_thumb_movhi_clobber", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ")", ";", "}", ""], "natrual_language": ["Handle", "storing", "a", "half-word", "to", "memory", "during", "reload", "."], "TS_V_token": ["arm", "0", "1", "2"], "File": "arm", "Func": "thumb_reload_out_hi", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1732, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createMicroMipsSizeReductionPass", "(", ")", ")", ";", "addPass", "(", "createMipsDelaySlotFillerPass", "(", ")", ")", ";", "addPass", "(", "createMipsLongBranchPass", "(", ")", ")", ";", "addPass", "(", "createMipsHazardSchedule", "(", ")", ")", ";", "addPass", "(", "createMipsConstantIslandPass", "(", ")", ")", ";", "}", ""], "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"], "File": "MipsTargetMachine27", "Func": "addPreEmitPass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1733, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "recombine_lvx_pattern", "(", "rtx_insn", "*", "insn", ",", "del_info", "*", "to_delete", ")", "{", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "body", ")", "==", "SET", "&&", "GET_CODE", "(", "SET_SRC", "(", "body", ")", ")", "==", "VEC_SELECT", "&&", "MEM_P", "(", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ")", ")", ";", "rtx", "mem", "=", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ";", "rtx", "base_reg", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "auto_vec", "<", "rtx_insn", "*", ">", "and_insns", ";", "auto_vec", "<", "rtx", ">", "and_ops", ";", "bool", "is_any_def_and", "=", "find_alignment_op", "(", "insn", ",", "base_reg", ",", "&", "and_insns", ",", "&", "and_ops", ")", ";", "if", "(", "is_any_def_and", ")", "{", "gcc_assert", "(", "and_insns", ".", "length", "(", ")", "==", "and_ops", ".", "length", "(", ")", ")", ";", "df_ref", "def", ";", "struct", "df_insn_info", "*", "insn_info", "=", "DF_INSN_INFO_GET", "(", "insn", ")", ";", "FOR_EACH_INSN_INFO_DEF", "(", "def", ",", "insn_info", ")", "{", "struct", "df_link", "*", "link", "=", "DF_REF_CHAIN", "(", "def", ")", ";", "if", "(", "!", "link", "||", "link", "->", "next", ")", "break", ";", "rtx_insn", "*", "swap_insn", "=", "DF_REF_INSN", "(", "link", "->", "ref", ")", ";", "if", "(", "!", "insn_is_swap_p", "(", "swap_insn", ")", "||", "insn_is_load_p", "(", "swap_insn", ")", "||", "insn_is_store_p", "(", "swap_insn", ")", ")", "break", ";", "to_delete", "[", "INSN_UID", "(", "swap_insn", ")", "]", ".", "replace", "=", "true", ";", "to_delete", "[", "INSN_UID", "(", "swap_insn", ")", "]", ".", "replace_insn", "=", "swap_insn", ";", "rtx", "new_reg", "=", "0", ";", "rtx", "and_mask", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "and_insns", ".", "length", "(", ")", ";", "i", "++", ")", "{", "rtx_insn", "*", "and_insn", "=", "and_insns", "[", "i", "]", ";", "rtx", "and_op", "=", "and_ops", "[", "i", "]", ";", "rtx", "and_base", "=", "XEXP", "(", "and_op", ",", "0", ")", ";", "if", "(", "!", "new_reg", ")", "{", "new_reg", "=", "gen_reg_rtx", "(", "GET_MODE", "(", "and_base", ")", ")", ";", "and_mask", "=", "XEXP", "(", "and_op", ",", "1", ")", ";", "}", "rtx", "copy", "=", "gen_rtx_SET", "(", "new_reg", ",", "and_base", ")", ";", "rtx_insn", "*", "new_insn", "=", "emit_insn_after", "(", "copy", ",", "and_insn", ")", ";", "set_block_for_insn", "(", "new_insn", ",", "BLOCK_FOR_INSN", "(", "and_insn", ")", ")", ";", "df_insn_rescan", "(", "new_insn", ")", ";", "}", "XEXP", "(", "mem", ",", "0", ")", "=", "gen_rtx_AND", "(", "GET_MODE", "(", "new_reg", ")", ",", "new_reg", ",", "and_mask", ")", ";", "SET_SRC", "(", "body", ")", "=", "mem", ";", "INSN_CODE", "(", "insn", ")", "=", "-", "1", ";", "df_insn_rescan", "(", "insn", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"lvx opportunity found at %d\\n\"", ",", "INSN_UID", "(", "insn", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["If", "INSN", "is", "the", "load", "for", "an", "lvx", "pattern", ",", "put", "it", "in", "canonical", "form", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "0", "0", "0", "1", "0", "1", "\"lvx opportunity found at %d\\n\""], "File": "rs6000-p8swap1", "Func": "recombine_lvx_pattern", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1734, "Length": 399, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FISCPassConfig", "::", "addPreISel", "(", ")", "{", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["FISC", "FISC"], "File": "FISCTargetMachine", "Func": "addPreISel", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1735, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMAsmParser", "::", "validateTargetOperandClass", "(", "MCParsedAsmOperand", "*", "AsmOp", ",", "unsigned", "Kind", ")", "{", "ARMOperand", "*", "Op", "=", "static_cast", "<", "ARMOperand", "*", ">", "(", "AsmOp", ")", ";", "if", "(", "Kind", "==", "MCK__35_0", "&&", "Op", "->", "isImm", "(", ")", ")", "{", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Op", "->", "getImm", "(", ")", ")", ";", "if", "(", "!", "CE", ")", "return", "Match_InvalidOperand", ";", "if", "(", "CE", "->", "getValue", "(", ")", "==", "0", ")", "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": ["ARM", "ARM", "ARM", "ARM", "0"], "File": "ARMAsmParser (2)1", "Func": "validateTargetOperandClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1736, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AvoidSFBPass", "::", "alias", "(", "const", "MachineMemOperand", "&", "Op1", ",", "const", "MachineMemOperand", "&", "Op2", ")", "const", "{", "if", "(", "!", "Op1", ".", "getValue", "(", ")", "||", "!", "Op2", ".", "getValue", "(", ")", ")", "return", "true", ";", "int64_t", "MinOffset", "=", "std", "::", "min", "(", "Op1", ".", "getOffset", "(", ")", ",", "Op2", ".", "getOffset", "(", ")", ")", ";", "int64_t", "Overlapa", "=", "Op1", ".", "getSize", "(", ")", "+", "Op1", ".", "getOffset", "(", ")", "-", "MinOffset", ";", "int64_t", "Overlapb", "=", "Op2", ".", "getSize", "(", ")", "+", "Op2", ".", "getOffset", "(", ")", "-", "MinOffset", ";", "return", "!", "AA", "->", "isNoAlias", "(", "MemoryLocation", "(", "Op1", ".", "getValue", "(", ")", ",", "Overlapa", ",", "Op1", ".", "getAAInfo", "(", ")", ")", ",", "MemoryLocation", "(", "Op2", ".", "getValue", "(", ")", ",", "Overlapb", ",", "Op2", ".", "getAAInfo", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["alias", "-", "If", "one", "of", "the", "pointers", "is", "to", "a", "global", "that", "we", "are", "tracking", ",", "and", "the", "other", "is", "some", "random", "pointer", ",", "we", "know", "there", "can", "not", "be", "an", "alias", ",", "because", "the", "address", "of", "the", "global", "is", "n't", "taken", "."], "TS_V_token": ["X86", "X86"], "File": "X86AvoidStoreForwardingBlocks10", "Func": "alias", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1737, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips16_emit_constants", "(", "struct", "mips16_constant", "*", "constants", ",", "rtx_insn", "*", "insn", ")", "{", "int", "label_num", "=", "constants", "?", "CODE_LABEL_NUMBER", "(", "constants", "->", "label", ")", ":", "0", ";", "struct", "mips16_constant", "*", "c", ",", "*", "next", ";", "int", "align", ";", "align", "=", "0", ";", "if", "(", "constants", ")", "insn", "=", "emit_insn_after", "(", "gen_consttable", "(", "GEN_INT", "(", "label_num", ")", ")", ",", "insn", ")", ";", "for", "(", "c", "=", "constants", ";", "c", "!=", "NULL", ";", "c", "=", "next", ")", "{", "if", "(", "align", "<", "GET_MODE_SIZE", "(", "c", "->", "mode", ")", ")", "{", "int", "align_log", "=", "floor_log2", "(", "GET_MODE_SIZE", "(", "c", "->", "mode", ")", ")", ";", "insn", "=", "emit_insn_after", "(", "gen_align", "(", "GEN_INT", "(", "align_log", ")", ")", ",", "insn", ")", ";", "}", "align", "=", "GET_MODE_SIZE", "(", "c", "->", "mode", ")", ";", "insn", "=", "emit_label_after", "(", "c", "->", "label", ",", "insn", ")", ";", "insn", "=", "mips16_emit_constants_1", "(", "c", "->", "mode", ",", "c", "->", "value", ",", "insn", ")", ";", "next", "=", "c", "->", "next", ";", "free", "(", "c", ")", ";", "}", "if", "(", "constants", ")", "insn", "=", "emit_insn_after", "(", "gen_consttable_end", "(", "GEN_INT", "(", "label_num", ")", ")", ",", "insn", ")", ";", "emit_barrier_after", "(", "insn", ")", ";", "}", ""], "natrual_language": ["Dump", "out", "the", "constants", "in", "CONSTANTS", "after", "INSN", "."], "TS_V_token": ["mips", "0", "0"], "File": "mips", "Func": "mips16_emit_constants", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1738, "Length": 190, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "register_tuple_type", "(", "unsigned", "int", "num_vectors", ",", "unsigned", "int", "type_index", ")", "{", "aarch64_simd_type_info", "*", "type", "=", "&", "aarch64_simd_types", "[", "type_index", "]", ";", "const", "char", "*", "vector_type_name", "=", "type", "->", "name", ";", "char", "tuple_type_name", "[", "sizeof", "(", "\"bfloat16x4x2_t\"", ")", "]", ";", "snprintf", "(", "tuple_type_name", ",", "sizeof", "(", "tuple_type_name", ")", ",", "\"%.*sx%d_t\"", ",", "(", "int", ")", "strlen", "(", "vector_type_name", ")", "-", "4", ",", "vector_type_name", "+", "2", ",", "num_vectors", ")", ";", "tuple_type_name", "[", "0", "]", "=", "TOLOWER", "(", "tuple_type_name", "[", "0", "]", ")", ";", "tree", "vector_type", "=", "type", "->", "itype", ";", "tree", "array_type", "=", "build_array_type_nelts", "(", "vector_type", ",", "num_vectors", ")", ";", "if", "(", "type", "->", "mode", "==", "DImode", ")", "{", "if", "(", "num_vectors", "==", "2", ")", "SET_TYPE_MODE", "(", "array_type", ",", "V2x1DImode", ")", ";", "else", "if", "(", "num_vectors", "==", "3", ")", "SET_TYPE_MODE", "(", "array_type", ",", "V3x1DImode", ")", ";", "else", "if", "(", "num_vectors", "==", "4", ")", "SET_TYPE_MODE", "(", "array_type", ",", "V4x1DImode", ")", ";", "}", "unsigned", "int", "alignment", "=", "known_eq", "(", "GET_MODE_SIZE", "(", "type", "->", "mode", ")", ",", "16", ")", "?", "128", ":", "64", ";", "machine_mode", "tuple_mode", "=", "TYPE_MODE_RAW", "(", "array_type", ")", ";", "gcc_assert", "(", "VECTOR_MODE_P", "(", "tuple_mode", ")", "&&", "TYPE_MODE", "(", "array_type", ")", "==", "tuple_mode", "&&", "TYPE_ALIGN", "(", "array_type", ")", "==", "alignment", ")", ";", "tree", "field", "=", "build_decl", "(", "input_location", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"val\"", ")", ",", "array_type", ")", ";", "tree", "t", "=", "lang_hooks", ".", "types", ".", "simulate_record_decl", "(", "input_location", ",", "tuple_type_name", ",", "make_array_slice", "(", "&", "field", ",", "1", ")", ")", ";", "gcc_assert", "(", "TYPE_MODE_RAW", "(", "t", ")", "==", "TYPE_MODE", "(", "t", ")", "&&", "(", "flag_pack_struct", "||", "maximum_field_alignment", "||", "(", "TYPE_MODE_RAW", "(", "t", ")", "==", "tuple_mode", "&&", "TYPE_ALIGN", "(", "t", ")", "==", "alignment", ")", ")", ")", ";", "aarch64_simd_tuple_modes", "[", "type_index", "]", "[", "num_vectors", "-", "2", "]", "=", "tuple_mode", ";", "aarch64_simd_tuple_types", "[", "type_index", "]", "[", "num_vectors", "-", "2", "]", "=", "t", ";", "}", ""], "natrual_language": ["Register", "the", "tuple", "type", "that", "contains", "NUM_VECTORS", "vectors", "of", "type", "TYPE", "."], "TS_V_token": ["aarch64", "\"bfloat16x4x2_t\"", "\"%.*sx%d_t\"", "4", "2", "0", "0", "2", "3", "4", "16", "128", "64", "\"val\"", "1", "2", "2"], "File": "aarch64-builtins", "Func": "register_tuple_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1739, "Length": 299, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "MachineModuleInfo", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["ARM"], "File": "ARMCodeEmitter14", "Func": "getAnalysisUsage", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1740, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_save_regs", "(", "void", ")", "{", "unsigned", "int", "regno", ";", "rtx_insn", "*", "insn", ";", "for", "(", "regno", "=", "FIRST_PSEUDO_REGISTER", "-", "1", ";", "regno", "--", ">", "0", ";", ")", "if", "(", "GENERAL_REGNO_P", "(", "regno", ")", "&&", "ix86_save_reg", "(", "regno", ",", "true", ",", "true", ")", ")", "{", "insn", "=", "emit_insn", "(", "gen_push", "(", "gen_rtx_REG", "(", "word_mode", ",", "regno", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "}", ""], "natrual_language": ["Emit", "code", "to", "save", "registers", "in", "the", "prologue", "."], "TS_V_token": ["i386", "1", "0", "1"], "File": "i386", "Func": "ix86_emit_save_regs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1741, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nds32_rtx_costs", "(", "rtx", "x", ",", "int", "code", ",", "int", "outer_code", ",", "int", "opno", ",", "int", "*", "total", ",", "bool", "speed", ")", "{", "return", "nds32_rtx_costs_impl", "(", "x", ",", "code", ",", "outer_code", ",", "opno", ",", "total", ",", "speed", ")", ";", "}", ""], "natrual_language": ["This", "target", "hook", "describes", "the", "relative", "costs", "of", "RTL", "expressions", ".", "Return", "'true", "'", "when", "all", "subexpressions", "of", "x", "have", "been", "processed", ".", "Return", "'false", "'", "to", "sum", "the", "costs", "of", "sub-rtx", ",", "plus", "cost", "of", "this", "operation", ".", "Refer", "to", "gcc/rtlanal.cc", "for", "more", "information", "."], "TS_V_token": ["nds32"], "File": "nds322", "Func": "nds32_rtx_costs", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1742, "Length": 41, "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": ["Mips"], "File": "MipsISelLowering (2)", "Func": "addLiveIn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1743, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InsertPrefetch", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "!", "Reader", ")", "return", "false", ";", "const", "FunctionSamples", "*", "Samples", "=", "Reader", "->", "getSamplesFor", "(", "MF", ".", "getFunction", "(", ")", ")", ";", "if", "(", "!", "Samples", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "const", "TargetInstrInfo", "*", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "SmallVector", "<", "PrefetchInfo", ",", "4", ">", "Prefetches", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "for", "(", "auto", "MI", "=", "MBB", ".", "instr_begin", "(", ")", ";", "MI", "!=", "MBB", ".", "instr_end", "(", ")", ";", ")", "{", "auto", "Current", "=", "MI", ";", "++", "MI", ";", "int", "Offset", "=", "X86II", "::", "getMemoryOperandNo", "(", "Current", "->", "getDesc", "(", ")", ".", "TSFlags", ")", ";", "if", "(", "Offset", "<", "0", ")", "continue", ";", "unsigned", "Bias", "=", "X86II", "::", "getOperandBias", "(", "Current", "->", "getDesc", "(", ")", ")", ";", "int", "MemOpOffset", "=", "Offset", "+", "Bias", ";", "if", "(", "!", "IsMemOpCompatibleWithPrefetch", "(", "*", "Current", ",", "MemOpOffset", ")", ")", "continue", ";", "Prefetches", ".", "clear", "(", ")", ";", "if", "(", "!", "findPrefetchInfo", "(", "Samples", ",", "*", "Current", ",", "Prefetches", ")", ")", "continue", ";", "assert", "(", "!", "Prefetches", ".", "empty", "(", ")", "&&", "\"The Prefetches vector should contain at least a value if \"", "\"findPrefetchInfo returned true.\"", ")", ";", "for", "(", "auto", "&", "PrefInfo", ":", "Prefetches", ")", "{", "unsigned", "PFetchInstrID", "=", "PrefInfo", ".", "InstructionID", ";", "int64_t", "Delta", "=", "PrefInfo", ".", "Delta", ";", "const", "MCInstrDesc", "&", "Desc", "=", "TII", "->", "get", "(", "PFetchInstrID", ")", ";", "MachineInstr", "*", "PFetch", "=", "MF", ".", "CreateMachineInstr", "(", "Desc", ",", "Current", "->", "getDebugLoc", "(", ")", ",", "true", ")", ";", "MachineInstrBuilder", "MIB", "(", "MF", ",", "PFetch", ")", ";", "assert", "(", "X86", "::", "AddrBaseReg", "==", "0", "&&", "X86", "::", "AddrScaleAmt", "==", "1", "&&", "X86", "::", "AddrIndexReg", "==", "2", "&&", "X86", "::", "AddrDisp", "==", "3", "&&", "X86", "::", "AddrSegmentReg", "==", "4", "&&", "\"Unexpected change in X86 operand offset order.\"", ")", ";", "MIB", ".", "addReg", "(", "Current", "->", "getOperand", "(", "MemOpOffset", "+", "X86", "::", "AddrBaseReg", ")", ".", "getReg", "(", ")", ")", ".", "addImm", "(", "Current", "->", "getOperand", "(", "MemOpOffset", "+", "X86", "::", "AddrScaleAmt", ")", ".", "getImm", "(", ")", ")", ".", "addReg", "(", "Current", "->", "getOperand", "(", "MemOpOffset", "+", "X86", "::", "AddrIndexReg", ")", ".", "getReg", "(", ")", ")", ".", "addImm", "(", "Current", "->", "getOperand", "(", "MemOpOffset", "+", "X86", "::", "AddrDisp", ")", ".", "getImm", "(", ")", "+", "Delta", ")", ".", "addReg", "(", "Current", "->", "getOperand", "(", "MemOpOffset", "+", "X86", "::", "AddrSegmentReg", ")", ".", "getReg", "(", ")", ")", ";", "if", "(", "!", "Current", "->", "memoperands_empty", "(", ")", ")", "{", "MachineMemOperand", "*", "CurrentOp", "=", "*", "(", "Current", "->", "memoperands_begin", "(", ")", ")", ";", "MIB", ".", "addMemOperand", "(", "MF", ".", "getMachineMemOperand", "(", "CurrentOp", ",", "CurrentOp", "->", "getOffset", "(", ")", "+", "Delta", ",", "CurrentOp", "->", "getSize", "(", ")", ")", ")", ";", "}", "MBB", ".", "insert", "(", "Current", ",", "PFetch", ")", ";", "Changed", "=", "true", ";", "}", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "4", "X86II::getMemoryOperandNo", "0", "X86II::getOperandBias", "\"The Prefetches vector should contain at least a value if \"", "\"findPrefetchInfo returned true.\"", "X86::AddrBaseReg", "0", "X86::AddrScaleAmt", "1", "X86::AddrIndexReg", "2", "X86::AddrDisp", "3", "X86::AddrSegmentReg", "4", "\"Unexpected change in X86 operand offset order.\"", "X86::AddrBaseReg", "X86::AddrScaleAmt", "X86::AddrIndexReg", "X86::AddrDisp", "X86::AddrSegmentReg"], "File": "X86InsertPrefetch (2)", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1744, "Length": 461, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64SIMDInstrOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "const", "TargetSubtargetInfo", "&", "ST", "=", "MF", ".", "getSubtarget", "(", ")", ";", "const", "AArch64InstrInfo", "*", "AAII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "ST", ".", "getInstrInfo", "(", ")", ")", ";", "if", "(", "!", "AAII", ")", "return", "false", ";", "SchedModel", ".", "init", "(", "&", "ST", ")", ";", "if", "(", "!", "SchedModel", ".", "hasInstrSchedModel", "(", ")", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "OptimizationKind", ":", "{", "VectorElem", ",", "Interleave", "}", ")", "{", "if", "(", "!", "shouldExitEarly", "(", "&", "MF", ",", "OptimizationKind", ")", ")", "{", "SmallVector", "<", "MachineInstr", "*", ",", "8", ">", "RemoveMIs", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "{", "bool", "InstRewrite", ";", "if", "(", "OptimizationKind", "==", "VectorElem", ")", "InstRewrite", "=", "optimizeVectElement", "(", "MI", ")", ";", "else", "InstRewrite", "=", "optimizeLdStInterleave", "(", "MI", ")", ";", "if", "(", "InstRewrite", ")", "{", "RemoveMIs", ".", "push_back", "(", "&", "MI", ")", ";", "Changed", "=", "true", ";", "}", "}", "}", "for", "(", "MachineInstr", "*", "MI", ":", "RemoveMIs", ")", "MI", "->", "eraseFromParent", "(", ")", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "8"], "File": "AArch64SIMDInstrOpt11", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1745, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "dimode_scalar_chain", "::", "mark_dual_mode_def", "(", "df_ref", "def", ")", "{", "gcc_assert", "(", "DF_REF_REG_DEF_P", "(", "def", ")", ")", ";", "if", "(", "bitmap_bit_p", "(", "defs_conv", ",", "DF_REF_REGNO", "(", "def", ")", ")", ")", "return", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\" Mark r%d def in insn %d as requiring both modes in chain #%d\\n\"", ",", "DF_REF_REGNO", "(", "def", ")", ",", "DF_REF_INSN_UID", "(", "def", ")", ",", "chain_id", ")", ";", "bitmap_set_bit", "(", "defs_conv", ",", "DF_REF_REGNO", "(", "def", ")", ")", ";", "}", ""], "natrual_language": ["For", "DImode", "conversion", ",", "mark", "register", "defined", "by", "DEF", "as", "requiring", "conversion", "."], "TS_V_token": ["i386", "\" Mark r%d def in insn %d as requiring both modes in chain #%d\\n\""], "File": "i3866", "Func": "mark_dual_mode_def", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1746, "Length": 65, "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", ".", "hasOptNone", "(", ")", ")", "OptimizationGoal", "=", "6", ";", "else", "if", "(", "F", ".", "hasMinSize", "(", ")", ")", "OptimizationGoal", "=", "4", ";", "else", "if", "(", "F", ".", "hasOptSize", "(", ")", ")", "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", "(", "Align", "(", "2", ")", ")", ";", "for", "(", "std", "::", "pair", "<", "unsigned", ",", "MCSymbol", "*", ">", "&", "TIP", ":", "ThumbIndirectPads", ")", "{", "OutStreamer", "->", "emitLabel", "(", "TIP", ".", "second", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "MCInstBuilder", "(", "ARM", "::", "tBX", ")", ".", "addReg", "(", "TIP", ".", "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", "2", "ARM::tBX", "ARMCC::AL", "0"], "File": "ARMAsmPrinter58", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1747, "Length": 367, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TTIImpl", "::", "getTgtMemIntrinsic", "(", "IntrinsicInst", "*", "Inst", ",", "MemIntrinsicInfo", "&", "Info", ")", "{", "switch", "(", "Inst", "->", "getIntrinsicID", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Intrinsic", "::", "aarch64_neon_ld2", ":", "case", "Intrinsic", "::", "aarch64_neon_ld3", ":", "case", "Intrinsic", "::", "aarch64_neon_ld4", ":", "Info", ".", "ReadMem", "=", "true", ";", "Info", ".", "WriteMem", "=", "false", ";", "Info", ".", "Vol", "=", "false", ";", "Info", ".", "NumMemRefs", "=", "1", ";", "Info", ".", "PtrVal", "=", "Inst", "->", "getArgOperand", "(", "0", ")", ";", "break", ";", "case", "Intrinsic", "::", "aarch64_neon_st2", ":", "case", "Intrinsic", "::", "aarch64_neon_st3", ":", "case", "Intrinsic", "::", "aarch64_neon_st4", ":", "Info", ".", "ReadMem", "=", "false", ";", "Info", ".", "WriteMem", "=", "true", ";", "Info", ".", "Vol", "=", "false", ";", "Info", ".", "NumMemRefs", "=", "1", ";", "Info", ".", "PtrVal", "=", "Inst", "->", "getArgOperand", "(", "Inst", "->", "getNumArgOperands", "(", ")", "-", "1", ")", ";", "break", ";", "}", "switch", "(", "Inst", "->", "getIntrinsicID", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Intrinsic", "::", "aarch64_neon_ld2", ":", "case", "Intrinsic", "::", "aarch64_neon_st2", ":", "Info", ".", "MatchingId", "=", "VECTOR_LDST_TWO_ELEMENTS", ";", "break", ";", "case", "Intrinsic", "::", "aarch64_neon_ld3", ":", "case", "Intrinsic", "::", "aarch64_neon_st3", ":", "Info", ".", "MatchingId", "=", "VECTOR_LDST_THREE_ELEMENTS", ";", "break", ";", "case", "Intrinsic", "::", "aarch64_neon_ld4", ":", "case", "Intrinsic", "::", "aarch64_neon_st4", ":", "Info", ".", "MatchingId", "=", "VECTOR_LDST_FOUR_ELEMENTS", ";", "break", ";", "}", "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": ["AArch64", "AArch64", "Intrinsic::aarch64_neon_ld2", "Intrinsic::aarch64_neon_ld3", "Intrinsic::aarch64_neon_ld4", "1", "0", "Intrinsic::aarch64_neon_st2", "Intrinsic::aarch64_neon_st3", "Intrinsic::aarch64_neon_st4", "1", "1", "Intrinsic::aarch64_neon_ld2", "Intrinsic::aarch64_neon_st2", "Intrinsic::aarch64_neon_ld3", "Intrinsic::aarch64_neon_st3", "Intrinsic::aarch64_neon_ld4", "Intrinsic::aarch64_neon_st4"], "File": "AArch64TargetTransformInfo11", "Func": "getTgtMemIntrinsic", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1748, "Length": 211, "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", ")", "{", "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", "(", "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", ")", ".", "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::tGPRRegClass", "ARM::tcGPRRegClass", "ARM::rGPRRegClass", "ARM::GPRnopcRegClass", "ARM::t2STRi12", "0", "ARMCC::AL", "ARM::GPRPairRegClass", "ARM::GPRPair_with_gsub_1_in_rGPRRegClass", "ARM::t2STRDi8", "ARM::gsub_0", "ARM::gsub_1", "0", "0", "ARMCC::AL", "ARM"], "File": "Thumb2InstrInfo14", "Func": "storeRegToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1749, "Length": 353, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "type_suffix_index", "parse_element_type", "(", "const", "function_instance", "&", "instance", ",", "const", "char", "*", "&", "format", ")", "{", "int", "ch", "=", "*", "format", "++", ";", "if", "(", "ch", "==", "'f'", "||", "ch", "==", "'s'", "||", "ch", "==", "'u'", ")", "{", "type_class_index", "tclass", "=", "(", "ch", "==", "'f'", "?", "TYPE_float", ":", "ch", "==", "'s'", "?", "TYPE_signed", ":", "TYPE_unsigned", ")", ";", "char", "*", "end", ";", "unsigned", "int", "bits", "=", "strtol", "(", "format", ",", "&", "end", ",", "10", ")", ";", "format", "=", "end", ";", "if", "(", "bits", "==", "0", "||", "bits", "==", "1", ")", "bits", "=", "instance", ".", "type_suffix", "(", "bits", ")", ".", "element_bits", ";", "return", "find_type_suffix", "(", "tclass", ",", "bits", ")", ";", "}", "if", "(", "ch", "==", "'w'", ")", "{", "type_suffix_index", "suffix", "=", "parse_element_type", "(", "instance", ",", "format", ")", ";", "if", "(", "type_suffixes", "[", "suffix", "]", ".", "integer_p", ")", "return", "find_type_suffix", "(", "type_suffixes", "[", "suffix", "]", ".", "tclass", ",", "64", ")", ";", "return", "suffix", ";", "}", "if", "(", "ch", "==", "'p'", ")", "return", "TYPE_SUFFIX_b", ";", "if", "(", "ch", "==", "'B'", ")", "return", "TYPE_SUFFIX_bf16", ";", "if", "(", "ch", "==", "'q'", ")", "{", "type_suffix_index", "suffix", "=", "parse_element_type", "(", "instance", ",", "format", ")", ";", "return", "find_type_suffix", "(", "type_suffixes", "[", "suffix", "]", ".", "tclass", ",", "type_suffixes", "[", "suffix", "]", ".", "element_bits", "/", "4", ")", ";", "}", "if", "(", "ch", "==", "'h'", ")", "{", "type_suffix_index", "suffix", "=", "parse_element_type", "(", "instance", ",", "format", ")", ";", "if", "(", "suffix", "==", "TYPE_SUFFIX_b", ")", "return", "suffix", ";", "return", "find_type_suffix", "(", "type_suffixes", "[", "suffix", "]", ".", "tclass", ",", "type_suffixes", "[", "suffix", "]", ".", "element_bits", "/", "2", ")", ";", "}", "if", "(", "ch", "==", "'0'", "||", "ch", "==", "'1'", ")", "return", "instance", ".", "type_suffix_ids", "[", "ch", "-", "'0'", "]", ";", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Parse", "and", "move", "past", "an", "element", "type", "in", "FORMAT", "and", "return", "it", "as", "a", "type", "suffix", ".", "The", "format", "is", ":", "[", "01", "]", "-", "the", "element", "type", "in", "type", "suffix", "0", "or", "1", "of", "INSTANCE", "f", "<", "bits", ">", "-", "a", "floating-point", "type", "with", "the", "given", "number", "of", "bits", "f", "[", "01", "]", "-", "a", "floating-point", "type", "with", "the", "same", "width", "as", "type", "suffix", "0", "or", "1", "B", "-", "bfloat16_t", "h", "<", "elt", ">", "-", "a", "half-sized", "version", "of", "<", "elt", ">", "p", "-", "a", "predicate", "(", "represented", "as", "TYPE_SUFFIX_b", ")", "q", "<", "elt", ">", "-", "a", "quarter-sized", "version", "of", "<", "elt", ">", "s", "<", "bits", ">", "-", "a", "signed", "type", "with", "the", "given", "number", "of", "bits", "s", "[", "01", "]", "-", "a", "signed", "type", "with", "the", "same", "width", "as", "type", "suffix", "0", "or", "1", "u", "<", "bits", ">", "-", "an", "unsigned", "type", "with", "the", "given", "number", "of", "bits", "u", "[", "01", "]", "-", "an", "unsigned", "type", "with", "the", "same", "width", "as", "type", "suffix", "0", "or", "1", "w", "<", "elt", ">", "-", "a", "64-bit", "version", "of", "<", "elt", ">", "if", "<", "elt", ">", "is", "integral", ",", "otherwise", "<", "elt", ">", "where", "<", "elt", ">", "is", "another", "element", "type", "."], "TS_V_token": ["aarch64", "10", "0", "1", "64", "4", "2"], "File": "aarch64-sve-builtins-shapes", "Func": "parse_element_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1750, "Length": 280, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZTargetLowering", "::", "CanLowerReturn", "(", "CallingConv", "::", "ID", "CallConv", ",", "MachineFunction", "&", "MF", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "LLVMContext", "&", "Context", ")", "const", "{", "if", "(", "Subtarget", ".", "hasVector", "(", ")", ")", "VerifyVectorTypes", "(", "Outs", ")", ";", "for", "(", "auto", "&", "Out", ":", "Outs", ")", "if", "(", "Out", ".", "ArgVT", "==", "MVT", "::", "i128", ")", "return", "false", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RetLocs", ";", "CCState", "RetCCInfo", "(", "CallConv", ",", "isVarArg", ",", "MF", ",", "RetLocs", ",", "Context", ")", ";", "return", "RetCCInfo", ".", "CheckReturn", "(", "Outs", ",", "RetCC_SystemZ", ")", ";", "}", ""], "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": ["SystemZ", "SystemZ", "ISD::OutputArg", "MVT::i128", "16", "SystemZ"], "File": "SystemZISelLowering (2)2", "Func": "CanLowerReturn", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1751, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InsertPrefetch", "::", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "setPreservesAll", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["X86", "X86"], "File": "X86InsertPrefetch12", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1752, "Length": 25, "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": 1753, "Length": 350, "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": 1754, "Length": 390, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_scalar_mode_supported_p", "(", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_SHMEDIA32", "&&", "mode", "==", "TImode", ")", "return", "false", ";", "return", "default_scalar_mode_supported_p", "(", "mode", ")", ";", "}", ""], "natrual_language": ["The", "scalar", "modes", "supported", "differs", "from", "the", "default", "version", "in", "TImode", "for", "32-bit", "SHMEDIA", "."], "TS_V_token": ["sh"], "File": "sh4", "Func": "sh_scalar_mode_supported_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1755, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ia64_adjust_cost", "(", "rtx_insn", "*", "insn", ",", "int", "dep_type1", ",", "rtx_insn", "*", "dep_insn", ",", "int", "cost", ",", "dw_t", "dw", ")", "{", "enum", "reg_note", "dep_type", "=", "(", "enum", "reg_note", ")", "dep_type1", ";", "enum", "attr_itanium_class", "dep_class", ";", "enum", "attr_itanium_class", "insn_class", ";", "insn_class", "=", "ia64_safe_itanium_class", "(", "insn", ")", ";", "dep_class", "=", "ia64_safe_itanium_class", "(", "dep_insn", ")", ";", "if", "(", "dep_type", "==", "REG_DEP_TRUE", "&&", "(", "dep_class", "==", "ITANIUM_CLASS_ST", "||", "dep_class", "==", "ITANIUM_CLASS_STF", ")", "&&", "(", "insn_class", "==", "ITANIUM_CLASS_BR", "||", "insn_class", "==", "ITANIUM_CLASS_SCALL", ")", ")", "return", "0", ";", "if", "(", "dw", "==", "MIN_DEP_WEAK", ")", "return", "param_sched_mem_true_dep_cost", ";", "else", "if", "(", "dw", ">", "MIN_DEP_WEAK", ")", "{", "if", "(", "mflag_sched_fp_mem_deps_zero_cost", "&&", "dep_class", "==", "ITANIUM_CLASS_STF", ")", "return", "0", ";", "else", "return", "cost", ";", "}", "if", "(", "dep_type", "!=", "REG_DEP_OUTPUT", ")", "return", "cost", ";", "if", "(", "dep_class", "==", "ITANIUM_CLASS_ST", "||", "dep_class", "==", "ITANIUM_CLASS_STF", "||", "insn_class", "==", "ITANIUM_CLASS_ST", "||", "insn_class", "==", "ITANIUM_CLASS_STF", ")", "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": ["ia64", "0", "0", "0"], "File": "ia64", "Func": "ia64_adjust_cost", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1756, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "save_reg_p", "(", "int", "reg", ")", "{", "if", "(", "reg", "==", "RS6000_PIC_OFFSET_TABLE_REGNUM", "&&", "!", "TARGET_SINGLE_PIC_BASE", ")", "{", "if", "(", "crtl", "->", "calls_eh_return", "&&", "(", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "flag_pic", ")", "||", "(", "DEFAULT_ABI", "==", "ABI_DARWIN", "&&", "flag_pic", ")", "||", "(", "TARGET_TOC", "&&", "TARGET_MINIMAL_TOC", ")", ")", ")", "return", "true", ";", "if", "(", "TARGET_TOC", "&&", "TARGET_MINIMAL_TOC", "&&", "!", "constant_pool_empty_p", "(", ")", ")", "return", "true", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "(", "flag_pic", "==", "1", "||", "(", "flag_pic", "&&", "TARGET_SECURE_PLT", ")", ")", "&&", "df_regs_ever_live_p", "(", "RS6000_PIC_OFFSET_TABLE_REGNUM", ")", ")", "return", "true", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_DARWIN", "&&", "flag_pic", "&&", "crtl", "->", "uses_pic_offset_table", ")", "return", "true", ";", "}", "return", "!", "call_used_regs", "[", "reg", "]", "&&", "df_regs_ever_live_p", "(", "reg", ")", ";", "}", ""], "natrual_language": ["Determine", "whether", "the", "REG", "is", "really", "used", "."], "TS_V_token": ["rs6000", "1"], "File": "rs60008", "Func": "save_reg_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1757, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMELFStreamer", "::", "Reset", "(", ")", "{", "ExTab", "=", "NULL", ";", "FnStart", "=", "NULL", ";", "Personality", "=", "NULL", ";", "CantUnwind", "=", "false", ";", "}", ""], "natrual_language": ["Reset", "the", "unwind", "opcode", "assembler", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMELFStreamer1", "Func": "Reset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1758, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "IA64TargetMachine", "::", "addPreEmitPass", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "PM", ".", "add", "(", "createIA64BundlingPass", "(", "*", "this", ")", ")", ";", "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": ["IA64", "IA64", "IA64"], "File": "IA64TargetMachine", "Func": "addPreEmitPass", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1759, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "bool", "isPseudo", "(", "uint64_t", "TSFlags", ")", "{", "return", "(", "TSFlags", "&", "X86II", "::", "FormMask", ")", "==", "Pseudo", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "is", "a", "pseudo", "instruction", "that", "does", "n't", "correspond", "to", "a", "real", "machine", "instruction", "."], "TS_V_token": ["X86", "X86II::FormMask"], "File": "X86BaseInfo2", "Func": "isPseudo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1760, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_print_condition", "(", "FILE", "*", "stream", ")", "{", "if", "(", "arm_ccfsm_state", "==", "3", "||", "arm_ccfsm_state", "==", "4", ")", "{", "if", "(", "TARGET_THUMB", ")", "{", "output_operand_lossage", "(", "\"predicated Thumb instruction\"", ")", ";", "return", ";", "}", "if", "(", "current_insn_predicate", "!=", "NULL", ")", "{", "output_operand_lossage", "(", "\"predicated instruction in conditional sequence\"", ")", ";", "return", ";", "}", "fputs", "(", "arm_condition_codes", "[", "arm_current_cc", "]", ",", "stream", ")", ";", "}", "else", "if", "(", "current_insn_predicate", ")", "{", "enum", "arm_cond_code", "code", ";", "if", "(", "TARGET_THUMB1", ")", "{", "output_operand_lossage", "(", "\"predicated Thumb instruction\"", ")", ";", "return", ";", "}", "code", "=", "get_arm_condition_code", "(", "current_insn_predicate", ")", ";", "fputs", "(", "arm_condition_codes", "[", "code", "]", ",", "stream", ")", ";", "}", "}", ""], "natrual_language": ["Print", "condition", "code", "to", "STREAM", ".", "Helper", "function", "for", "arm_print_operand", "."], "TS_V_token": ["arm", "3", "4", "\"predicated Thumb instruction\"", "\"predicated instruction in conditional sequence\"", "\"predicated Thumb instruction\""], "File": "arm", "Func": "arm_print_condition", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1761, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rs6000_fold_builtin", "(", "tree", "fndecl", "ATTRIBUTE_UNUSED", ",", "int", "n_args", "ATTRIBUTE_UNUSED", ",", "tree", "*", "args", "ATTRIBUTE_UNUSED", ",", "bool", "ignore", "ATTRIBUTE_UNUSED", ")", "{", "return", "SUBTARGET_FOLD_BUILTIN", "(", "fndecl", ",", "n_args", ",", "args", ",", "ignore", ")", ";", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "early", "folding", "of", "built-ins", ",", "shamelessly", "stolen", "from", "ia64.cc", "."], "TS_V_token": ["rs6000"], "File": "rs60007", "Func": "rs6000_fold_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1762, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_hard_regno_call_part_clobbered", "(", "unsigned", "int", ",", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_32BIT", "&&", "TARGET_POWERPC64", "&&", "GET_MODE_SIZE", "(", "mode", ")", ">", "4", "&&", "INT_REGNO_P", "(", "regno", ")", ")", "return", "true", ";", "if", "(", "TARGET_VSX", "&&", "FP_REGNO_P", "(", "regno", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", ">", "8", "&&", "!", "FLOAT128_2REG_P", "(", "mode", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_CALL_PART_CLOBBERED", "."], "TS_V_token": ["rs6000", "4", "8"], "File": "rs6000", "Func": "rs6000_hard_regno_call_part_clobbered", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1763, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "init_float128_ibm", "(", "machine_mode", "mode", ")", "{", "if", "(", "!", "TARGET_XL_COMPAT", ")", "{", "set_optab_libfunc", "(", "add_optab", ",", "mode", ",", "\"__gcc_qadd\"", ")", ";", "set_optab_libfunc", "(", "sub_optab", ",", "mode", ",", "\"__gcc_qsub\"", ")", ";", "set_optab_libfunc", "(", "smul_optab", ",", "mode", ",", "\"__gcc_qmul\"", ")", ";", "set_optab_libfunc", "(", "sdiv_optab", ",", "mode", ",", "\"__gcc_qdiv\"", ")", ";", "if", "(", "!", "(", "TARGET_HARD_FLOAT", "&&", "(", "TARGET_FPRS", "||", "TARGET_E500_DOUBLE", ")", ")", ")", "{", "set_optab_libfunc", "(", "neg_optab", ",", "mode", ",", "\"__gcc_qneg\"", ")", ";", "set_optab_libfunc", "(", "eq_optab", ",", "mode", ",", "\"__gcc_qeq\"", ")", ";", "set_optab_libfunc", "(", "ne_optab", ",", "mode", ",", "\"__gcc_qne\"", ")", ";", "set_optab_libfunc", "(", "gt_optab", ",", "mode", ",", "\"__gcc_qgt\"", ")", ";", "set_optab_libfunc", "(", "ge_optab", ",", "mode", ",", "\"__gcc_qge\"", ")", ";", "set_optab_libfunc", "(", "lt_optab", ",", "mode", ",", "\"__gcc_qlt\"", ")", ";", "set_optab_libfunc", "(", "le_optab", ",", "mode", ",", "\"__gcc_qle\"", ")", ";", "set_conv_libfunc", "(", "sext_optab", ",", "mode", ",", "SFmode", ",", "\"__gcc_stoq\"", ")", ";", "set_conv_libfunc", "(", "sext_optab", ",", "mode", ",", "DFmode", ",", "\"__gcc_dtoq\"", ")", ";", "set_conv_libfunc", "(", "trunc_optab", ",", "SFmode", ",", "mode", ",", "\"__gcc_qtos\"", ")", ";", "set_conv_libfunc", "(", "trunc_optab", ",", "DFmode", ",", "mode", ",", "\"__gcc_qtod\"", ")", ";", "set_conv_libfunc", "(", "sfix_optab", ",", "SImode", ",", "mode", ",", "\"__gcc_qtoi\"", ")", ";", "set_conv_libfunc", "(", "ufix_optab", ",", "SImode", ",", "mode", ",", "\"__gcc_qtou\"", ")", ";", "set_conv_libfunc", "(", "sfloat_optab", ",", "mode", ",", "SImode", ",", "\"__gcc_itoq\"", ")", ";", "set_conv_libfunc", "(", "ufloat_optab", ",", "mode", ",", "SImode", ",", "\"__gcc_utoq\"", ")", ";", "}", "if", "(", "!", "(", "TARGET_HARD_FLOAT", "&&", "TARGET_FPRS", ")", ")", "set_optab_libfunc", "(", "unord_optab", ",", "mode", ",", "\"__gcc_qunord\"", ")", ";", "}", "else", "{", "set_optab_libfunc", "(", "add_optab", ",", "mode", ",", "\"_xlqadd\"", ")", ";", "set_optab_libfunc", "(", "sub_optab", ",", "mode", ",", "\"_xlqsub\"", ")", ";", "set_optab_libfunc", "(", "smul_optab", ",", "mode", ",", "\"_xlqmul\"", ")", ";", "set_optab_libfunc", "(", "sdiv_optab", ",", "mode", ",", "\"_xlqdiv\"", ")", ";", "}", "if", "(", "mode", "==", "IFmode", ")", "{", "set_conv_libfunc", "(", "sext_optab", ",", "mode", ",", "SDmode", ",", "\"__dpd_extendsdtf2\"", ")", ";", "set_conv_libfunc", "(", "sext_optab", ",", "mode", ",", "DDmode", ",", "\"__dpd_extendddtf2\"", ")", ";", "set_conv_libfunc", "(", "trunc_optab", ",", "mode", ",", "TDmode", ",", "\"__dpd_trunctftd2\"", ")", ";", "set_conv_libfunc", "(", "trunc_optab", ",", "SDmode", ",", "mode", ",", "\"__dpd_trunctfsd2\"", ")", ";", "set_conv_libfunc", "(", "trunc_optab", ",", "DDmode", ",", "mode", ",", "\"__dpd_trunctfdd2\"", ")", ";", "set_conv_libfunc", "(", "sext_optab", ",", "TDmode", ",", "mode", ",", "\"__dpd_extendtdtf2\"", ")", ";", "if", "(", "TARGET_POWERPC64", ")", "{", "set_conv_libfunc", "(", "sfix_optab", ",", "TImode", ",", "mode", ",", "\"__fixtfti\"", ")", ";", "set_conv_libfunc", "(", "ufix_optab", ",", "TImode", ",", "mode", ",", "\"__fixunstfti\"", ")", ";", "set_conv_libfunc", "(", "sfloat_optab", ",", "mode", ",", "TImode", ",", "\"__floattitf\"", ")", ";", "set_conv_libfunc", "(", "ufloat_optab", ",", "mode", ",", "TImode", ",", "\"__floatuntitf\"", ")", ";", "}", "}", "}", ""], "natrual_language": ["Set", "up", "AIX/Darwin/64-bit", "Linux", "quad", "floating", "point", "routines", "."], "TS_V_token": ["powerpcspe", "\"__gcc_qadd\"", "\"__gcc_qsub\"", "\"__gcc_qmul\"", "\"__gcc_qdiv\"", "\"__gcc_qneg\"", "\"__gcc_qeq\"", "\"__gcc_qne\"", "\"__gcc_qgt\"", "\"__gcc_qge\"", "\"__gcc_qlt\"", "\"__gcc_qle\"", "\"__gcc_stoq\"", "\"__gcc_dtoq\"", "\"__gcc_qtos\"", "\"__gcc_qtod\"", "\"__gcc_qtoi\"", "\"__gcc_qtou\"", "\"__gcc_itoq\"", "\"__gcc_utoq\"", "\"__gcc_qunord\"", "\"_xlqadd\"", "\"_xlqsub\"", "\"_xlqmul\"", "\"_xlqdiv\"", "\"__dpd_extendsdtf2\"", "\"__dpd_extendddtf2\"", "\"__dpd_trunctftd2\"", "\"__dpd_trunctfsd2\"", "\"__dpd_trunctfdd2\"", "\"__dpd_extendtdtf2\"", "\"__fixtfti\"", "\"__fixunstfti\"", "\"__floattitf\"", "\"__floatuntitf\""], "File": "powerpcspe", "Func": "init_float128_ibm", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1764, "Length": 399, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsMCInstLower", "::", "Initialize", "(", "Mangler", "*", "M", ",", "MCContext", "*", "C", ")", "{", "Mang", "=", "M", ";", "Ctx", "=", "C", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsMCInstLower9", "Func": "Initialize", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1765, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmPrinter", "::", "PrintAsmMemoryOperand", "(", "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", "true", ";", "case", "'b'", ":", "case", "'h'", ":", "case", "'w'", ":", "case", "'k'", ":", "case", "'q'", ":", "break", ";", "case", "'P'", ":", "printMemReference", "(", "MI", ",", "OpNo", ",", "O", ",", "\"no-rip\"", ")", ";", "return", "false", ";", "}", "}", "printMemReference", "(", "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": ["X86", "X86", "0", "1", "0", "0", "\"no-rip\""], "File": "X86AsmPrinter21", "Func": "PrintAsmMemoryOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1766, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ia64_const_ok_for_letter_p", "(", "HOST_WIDE_INT", "value", ",", "char", "c", ")", "{", "switch", "(", "c", ")", "{", "case", "'I'", ":", "return", "CONST_OK_FOR_I", "(", "value", ")", ";", "case", "'J'", ":", "return", "CONST_OK_FOR_J", "(", "value", ")", ";", "case", "'K'", ":", "return", "CONST_OK_FOR_K", "(", "value", ")", ";", "case", "'L'", ":", "return", "CONST_OK_FOR_L", "(", "value", ")", ";", "case", "'M'", ":", "return", "CONST_OK_FOR_M", "(", "value", ")", ";", "case", "'N'", ":", "return", "CONST_OK_FOR_N", "(", "value", ")", ";", "case", "'O'", ":", "return", "CONST_OK_FOR_O", "(", "value", ")", ";", "case", "'P'", ":", "return", "CONST_OK_FOR_P", "(", "value", ")", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Implement", "CONST_OK_FOR_LETTER_P", "."], "TS_V_token": ["ia64"], "File": "ia643", "Func": "ia64_const_ok_for_letter_p", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1767, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "init_insn_group_barriers", "(", "void", ")", "{", "memset", "(", "rws_sum", ",", "0", ",", "sizeof", "(", "rws_sum", ")", ")", ";", "first_instruction", "=", "1", ";", "}", ""], "natrual_language": ["Clear", "out", "the", "state", "for", "group_barrier_needed_p", "at", "the", "start", "of", "a", "sequence", "of", "insns", "."], "TS_V_token": ["ia64", "0", "1"], "File": "ia64", "Func": "init_insn_group_barriers", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1768, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64FrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "assert", "(", "getStackGrowthDirection", "(", ")", "==", "TargetFrameLowering", "::", "StackGrowsDown", "&&", "\"Upwards growing stack unsupported\"", ")", ";", "int", "MinCSFrameIndex", ",", "MaxCSFrameIndex", ";", "int64_t", "SVEStackSize", "=", "assignSVEStackObjectOffsets", "(", "MFI", ",", "MinCSFrameIndex", ",", "MaxCSFrameIndex", ")", ";", "AArch64FunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "AFI", "->", "setStackSizeSVE", "(", "alignTo", "(", "SVEStackSize", ",", "16U", ")", ")", ";", "AFI", "->", "setMinMaxSVECSFrameIndex", "(", "MinCSFrameIndex", ",", "MaxCSFrameIndex", ")", ";", "if", "(", "!", "MF", ".", "hasEHFunclets", "(", ")", ")", "return", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "WinEHFuncInfo", "&", "EHInfo", "=", "*", "MF", ".", "getWinEHFuncInfo", "(", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "auto", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "while", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", "&&", "MBBI", "->", "getFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ")", "++", "MBBI", ";", "int64_t", "FixedObject", "=", "getFixedObjectSize", "(", "MF", ",", "AFI", ",", "true", ",", "false", ")", ";", "int", "UnwindHelpFI", "=", "MFI", ".", "CreateFixedObject", "(", "8", ",", "-", "FixedObject", ",", "false", ")", ";", "EHInfo", ".", "UnwindHelpFrameIdx", "=", "UnwindHelpFI", ";", "DebugLoc", "DL", ";", "RS", "->", "enterBasicBlockEnd", "(", "MBB", ")", ";", "RS", "->", "backward", "(", "std", "::", "prev", "(", "MBBI", ")", ")", ";", "Register", "DstReg", "=", "RS", "->", "FindUnusedReg", "(", "&", "AArch64", "::", "GPR64commonRegClass", ")", ";", "assert", "(", "DstReg", "&&", "\"There must be a free register after frame setup\"", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "AArch64", "::", "MOVi64imm", ")", ",", "DstReg", ")", ".", "addImm", "(", "-", "2", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "AArch64", "::", "STURXi", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "true", ")", ")", ".", "addFrameIndex", "(", "UnwindHelpFI", ")", ".", "addImm", "(", "0", ")", ";", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["AArch64", "AArch64", "\"Upwards growing stack unsupported\"", "AArch64", "AArch64", "16U", "8", "AArch64::GPR64commonRegClass", "\"There must be a free register after frame setup\"", "AArch64::MOVi64imm", "2", "AArch64::STURXi", "0"], "File": "AArch64FrameLowering18", "Func": "processFunctionBeforeFrameFinalized", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1769, "Length": 310, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "gen_conditional_move", "(", "rtx", "*", "operands", ")", "{", "enum", "rtx_code", "code", ";", "rtx", "op0", ",", "op1", ";", "code", "=", "GET_CODE", "(", "operands", "[", "1", "]", ")", ";", "mips_emit_compare", "(", "&", "code", ",", "&", "op0", ",", "&", "op1", ",", "true", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "operands", "[", "0", "]", ",", "gen_rtx_IF_THEN_ELSE", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", ",", "gen_rtx_fmt_ee", "(", "code", ",", "GET_MODE", "(", "op0", ")", ",", "op0", ",", "op1", ")", ",", "operands", "[", "2", "]", ",", "operands", "[", "3", "]", ")", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "common", "code", "for", "conditional", "moves", ".", "OPERANDS", "is", "the", "array", "of", "operands", "passed", "to", "the", "conditional", "move", "define_expand", "."], "TS_V_token": ["mips", "1", "0", "0", "2", "3"], "File": "mips3", "Func": "gen_conditional_move", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1770, "Length": 90, "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": ["CSKY", "\"\"", "\"'\"", "\"'\""], "File": "CSKYAsmParser6", "Func": "print", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1771, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CCAssignFn", "*", "ARMFastISel", "::", "CCAssignFnForCall", "(", "CallingConv", "::", "ID", "CC", ",", "bool", "Return", ",", "bool", "isVarArg", ")", "{", "switch", "(", "CC", ")", "{", "default", ":", "report_fatal_error", "(", "\"Unsupported calling convention\"", ")", ";", "case", "CallingConv", "::", "Fast", ":", "if", "(", "Subtarget", "->", "hasVFP2Base", "(", ")", "&&", "!", "isVarArg", ")", "{", "if", "(", "!", "Subtarget", "->", "isAAPCS_ABI", "(", ")", ")", "return", "(", "Return", "?", "RetFastCC_ARM_APCS", ":", "FastCC_ARM_APCS", ")", ";", "return", "(", "Return", "?", "RetCC_ARM_AAPCS_VFP", ":", "CC_ARM_AAPCS_VFP", ")", ";", "}", "LLVM_FALLTHROUGH", ";", "case", "CallingConv", "::", "C", ":", "case", "CallingConv", "::", "CXX_FAST_TLS", ":", "if", "(", "Subtarget", "->", "isAAPCS_ABI", "(", ")", ")", "{", "if", "(", "Subtarget", "->", "hasVFP2Base", "(", ")", "&&", "TM", ".", "Options", ".", "FloatABIType", "==", "FloatABI", "::", "Hard", "&&", "!", "isVarArg", ")", "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", ":", "case", "CallingConv", "::", "Swift", ":", "if", "(", "!", "isVarArg", ")", "return", "(", "Return", "?", "RetCC_ARM_AAPCS_VFP", ":", "CC_ARM_AAPCS_VFP", ")", ";", "LLVM_FALLTHROUGH", ";", "case", "CallingConv", "::", "ARM_AAPCS", ":", "return", "(", "Return", "?", "RetCC_ARM_AAPCS", ":", "CC_ARM_AAPCS", ")", ";", "case", "CallingConv", "::", "ARM_APCS", ":", "return", "(", "Return", "?", "RetCC_ARM_APCS", ":", "CC_ARM_APCS", ")", ";", "case", "CallingConv", "::", "GHC", ":", "if", "(", "Return", ")", "report_fatal_error", "(", "\"Can't return in GHC call convention\"", ")", ";", "else", "return", "CC_ARM_APCS_GHC", ";", "}", "}", ""], "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", "ARM", "ARM", "\"Can't return in GHC call convention\"", "ARM"], "File": "ARMFastISel19", "Func": "CCAssignFnForCall", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1772, "Length": 223, "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": 1773, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_output_mi_thunk", "(", "FILE", "*", "file", ",", "tree", "thunk", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", "ATTRIBUTE_UNUSED", ",", "tree", "function", ")", "{", "static", "int", "thunk_label", "=", "0", ";", "char", "label", "[", "256", "]", ";", "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", ")", ";", "if", "(", "mi_delta", "<", "0", ")", "mi_delta", "=", "-", "mi_delta", ";", "if", "(", "TARGET_THUMB", ")", "{", "int", "labelno", "=", "thunk_label", "++", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "label", ",", "\"LTHUMBFUNC\"", ",", "labelno", ")", ";", "fputs", "(", "\"\\tldr\\tr12, \"", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "label", ")", ";", "fputc", "(", "'\\n'", ",", "file", ")", ";", "}", "while", "(", "mi_delta", "!=", "0", ")", "{", "if", "(", "(", "mi_delta", "&", "(", "3", "<<", "shift", ")", ")", "==", "0", ")", "shift", "+=", "2", ";", "else", "{", "asm_fprintf", "(", "file", ",", "\"\\t%s\\t%r, %r, #%d\\n\"", ",", "mi_op", ",", "this_regno", ",", "this_regno", ",", "mi_delta", "&", "(", "0xff", "<<", "shift", ")", ")", ";", "mi_delta", "&=", "~", "(", "0xff", "<<", "shift", ")", ";", "shift", "+=", "8", ";", "}", "}", "if", "(", "TARGET_THUMB", ")", "{", "fprintf", "(", "file", ",", "\"\\tbx\\tr12\\n\"", ")", ";", "ASM_OUTPUT_ALIGN", "(", "file", ",", "2", ")", ";", "assemble_name", "(", "file", ",", "label", ")", ";", "fputs", "(", "\":\\n\"", ",", "file", ")", ";", "assemble_integer", "(", "XEXP", "(", "DECL_RTL", "(", "function", ")", ",", "0", ")", ",", "4", ",", "BITS_PER_WORD", ",", "1", ")", ";", "}", "else", "{", "fputs", "(", "\"\\tb\\t\"", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "function", ")", ",", "0", ")", ",", "0", ")", ")", ";", "if", "(", "NEED_PLT_RELOC", ")", "fputs", "(", "\"(PLT)\"", ",", "file", ")", ";", "fputc", "(", "'\\n'", ",", "file", ")", ";", "}", "}", ""], "natrual_language": ["Output", "code", "to", "add", "DELTA", "to", "the", "first", "argument", ",", "and", "then", "jump", "to", "FUNCTION", ".", "Used", "for", "C++", "multiple", "inheritance", "."], "TS_V_token": ["arm", "0", "256", "0", "\"sub\"", "\"add\"", "0", "1", "0", "0", "\"LTHUMBFUNC\"", "\"\\tldr\\tr12, \"", "0", "3", "0", "2", "\"\\t%s\\t%r, %r, #%d\\n\"", "0xff", "0xff", "8", "\"\\tbx\\tr12\\n\"", "2", "\":\\n\"", "0", "4", "1", "\"\\tb\\t\"", "0", "0", "\"(PLT)\""], "File": "arm3", "Func": "arm_output_mi_thunk", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1774, "Length": 299, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZPostRASchedStrategy", "::", "leaveMBB", "(", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"** Leaving \"", "<<", "printMBBReference", "(", "*", "MBB", ")", "<<", "\"\\n\"", ";", ")", ";", "advanceTo", "(", "MBB", "->", "getFirstTerminator", "(", ")", ")", ";", "}", ""], "natrual_language": ["Tell", "the", "strategy", "that", "current", "MBB", "is", "done", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"** Leaving \"", "\"\\n\""], "File": "SystemZMachineScheduler", "Func": "leaveMBB", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1775, "Length": 35, "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": 1776, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseRegisterInfo", "::", "isFrameOffsetLegal", "(", "const", "MachineInstr", "*", "MI", ",", "int64_t", "Offset", ")", "const", "{", "const", "TargetInstrDesc", "&", "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", "::", "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::AddrMode2", "12", "ARMII::AddrMode3", "8", "ARMII::AddrModeT1_s", "5", "4", "\"Unsupported addressing mode!\"", "1", "0", "0", "1", "1"], "File": "ARMBaseRegisterInfo29", "Func": "isFrameOffsetLegal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1777, "Length": 289, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "simd_immediate_valid_for_move", "(", "rtx", "op", ",", "machine_mode", "mode", ",", "rtx", "*", "modconst", ",", "int", "*", "elementwidth", ")", "{", "rtx", "tmpconst", ";", "int", "tmpwidth", ";", "int", "retval", "=", "simd_valid_immediate", "(", "op", ",", "mode", ",", "0", ",", "&", "tmpconst", ",", "&", "tmpwidth", ")", ";", "if", "(", "retval", "==", "-", "1", ")", "return", "0", ";", "if", "(", "modconst", ")", "*", "modconst", "=", "tmpconst", ";", "if", "(", "elementwidth", ")", "*", "elementwidth", "=", "tmpwidth", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "rtx", "X", "is", "legal", "for", "use", "as", "either", "a", "Neon", "or", "MVE", "VMOV", "(", "or", ",", "implicitly", ",", "VMVN", ")", "immediate", ".", "Write", "back", "width", "per", "element", "to", "*", "ELEMENTWIDTH", "(", "or", "zero", "for", "float", "elements", ")", ",", "and", "a", "modified", "constant", "(", "whatever", "should", "be", "output", "for", "a", "VMOV", ")", "in", "*", "MODCONST", ".", "``", "neon_immediate_valid_for_move", "''", "function", "is", "modified", "to", "``", "simd_immediate_valid_for_move", "''", "as", "this", "function", "will", "be", "used", "both", "by", "neon", "and", "mve", "."], "TS_V_token": ["arm", "0", "1", "0", "1"], "File": "arm", "Func": "simd_immediate_valid_for_move", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1778, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "Cpu0InstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["Cpu0", "Cpu0"], "File": "Cpu0Subtarget3", "Func": "getInstrInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1779, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "altivec_expand_st_builtin", "(", "tree", "exp", ",", "rtx", "target", "ATTRIBUTE_UNUSED", ",", "bool", "*", "expandedp", ")", "{", "tree", "fndecl", "=", "TREE_OPERAND", "(", "TREE_OPERAND", "(", "exp", ",", "0", ")", ",", "0", ")", ";", "tree", "arglist", "=", "TREE_OPERAND", "(", "exp", ",", "1", ")", ";", "unsigned", "int", "fcode", "=", "DECL_FUNCTION_CODE", "(", "fndecl", ")", ";", "tree", "arg0", ",", "arg1", ";", "enum", "machine_mode", "mode0", ",", "mode1", ";", "rtx", "pat", ",", "op0", ",", "op1", ";", "enum", "insn_code", "icode", ";", "switch", "(", "fcode", ")", "{", "case", "ALTIVEC_BUILTIN_ST_INTERNAL_16qi", ":", "icode", "=", "CODE_FOR_altivec_stvx_v16qi", ";", "break", ";", "case", "ALTIVEC_BUILTIN_ST_INTERNAL_8hi", ":", "icode", "=", "CODE_FOR_altivec_stvx_v8hi", ";", "break", ";", "case", "ALTIVEC_BUILTIN_ST_INTERNAL_4si", ":", "icode", "=", "CODE_FOR_altivec_stvx_v4si", ";", "break", ";", "case", "ALTIVEC_BUILTIN_ST_INTERNAL_4sf", ":", "icode", "=", "CODE_FOR_altivec_stvx_v4sf", ";", "break", ";", "default", ":", "*", "expandedp", "=", "false", ";", "return", "NULL_RTX", ";", "}", "arg0", "=", "TREE_VALUE", "(", "arglist", ")", ";", "arg1", "=", "TREE_VALUE", "(", "TREE_CHAIN", "(", "arglist", ")", ")", ";", "op0", "=", "expand_expr", "(", "arg0", ",", "NULL_RTX", ",", "VOIDmode", ",", "0", ")", ";", "op1", "=", "expand_expr", "(", "arg1", ",", "NULL_RTX", ",", "VOIDmode", ",", "0", ")", ";", "mode0", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "mode", ";", "mode1", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "mode", ";", "if", "(", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "predicate", ")", "(", "op0", ",", "mode0", ")", ")", "op0", "=", "gen_rtx_MEM", "(", "mode0", ",", "copy_to_mode_reg", "(", "Pmode", ",", "op0", ")", ")", ";", "if", "(", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "predicate", ")", "(", "op1", ",", "mode1", ")", ")", "op1", "=", "copy_to_mode_reg", "(", "mode1", ",", "op1", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op0", ",", "op1", ")", ";", "if", "(", "pat", ")", "emit_insn", "(", "pat", ")", ";", "*", "expandedp", "=", "true", ";", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Expand", "the", "stvx", "builtins", "."], "TS_V_token": ["rs6000", "0", "0", "1", "0", "0", "0", "1", "0", "1"], "File": "rs60003", "Func": "altivec_expand_st_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1780, "Length": 294, "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", ")", "{", "if", "(", "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", "(", "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", ";", "}", "}", "}", "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", "&&", "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", "16", "3", "3", "8", "3"], "File": "rs60004", "Func": "rs6000_secondary_reload_direct_move", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1781, "Length": 307, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FPGATTIImpl", "::", "isLegalAddImmediate", "(", "int64_t", "Imm", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "immediate", "is", "legal", "add", "immediate", ",", "that", "is", "the", "target", "has", "add", "instructions", "which", "can", "add", "a", "register", "and", "the", "immediate", "without", "having", "to", "materialize", "the", "immediate", "into", "a", "register", "."], "TS_V_token": ["FPGA", "FPGA"], "File": "FPGATargetTransformInfo", "Func": "isLegalAddImmediate", "Target": "FPGA", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1782, "Length": 13, "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": 1783, "Length": 26, "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", "(", "!", "Register", "::", "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": "PPCVSXSwapRemoval11", "Func": "lookThruCopyLike", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1784, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ia64_split_return_addr_rtx", "(", "rtx", "dest", ")", "{", "rtx", "src", ";", "if", "(", "TEST_HARD_REG_BIT", "(", "current_frame_info", ".", "mask", ",", "BR_REG", "(", "0", ")", ")", ")", "{", "if", "(", "current_frame_info", ".", "reg_save_b0", "!=", "0", ")", "src", "=", "gen_rtx_REG", "(", "DImode", ",", "current_frame_info", ".", "reg_save_b0", ")", ";", "else", "{", "HOST_WIDE_INT", "off", ";", "unsigned", "int", "regno", ";", "off", "=", "(", "current_frame_info", ".", "spill_cfa_off", "+", "current_frame_info", ".", "spill_size", ")", ";", "for", "(", "regno", "=", "GR_REG", "(", "1", ")", ";", "regno", "<=", "GR_REG", "(", "31", ")", ";", "++", "regno", ")", "if", "(", "TEST_HARD_REG_BIT", "(", "current_frame_info", ".", "mask", ",", "regno", ")", ")", "off", "-=", "8", ";", "if", "(", "frame_pointer_needed", ")", "src", "=", "hard_frame_pointer_rtx", ";", "else", "{", "src", "=", "stack_pointer_rtx", ";", "off", "+=", "current_frame_info", ".", "total_size", ";", "}", "if", "(", "CONST_OK_FOR_I", "(", "off", ")", ")", "emit_insn", "(", "gen_adddi3", "(", "dest", ",", "src", ",", "GEN_INT", "(", "off", ")", ")", ")", ";", "else", "{", "emit_move_insn", "(", "dest", ",", "GEN_INT", "(", "off", ")", ")", ";", "emit_insn", "(", "gen_adddi3", "(", "dest", ",", "src", ",", "dest", ")", ")", ";", "}", "src", "=", "gen_rtx_MEM", "(", "Pmode", ",", "dest", ")", ";", "}", "}", "else", "src", "=", "gen_rtx_REG", "(", "DImode", ",", "BR_REG", "(", "0", ")", ")", ";", "emit_move_insn", "(", "dest", ",", "src", ")", ";", "}", ""], "natrual_language": ["Split", "this", "value", "after", "reload", ",", "now", "that", "we", "know", "where", "the", "return", "address", "is", "saved", "."], "TS_V_token": ["ia64", "0", "0", "1", "31", "8", "0"], "File": "ia643", "Func": "ia64_split_return_addr_rtx", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1785, "Length": 199, "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": 1786, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_vector_move_misalign", "(", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ")", "{", "rtx", "op0", ",", "op1", ",", "m", ";", "op0", "=", "operands", "[", "0", "]", ";", "op1", "=", "operands", "[", "1", "]", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "64", "||", "optimize_insn_for_size_p", "(", ")", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "op0", ",", "op1", ")", ")", ";", "return", ";", "}", "if", "(", "TARGET_AVX", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "32", ")", "ix86_avx256_split_vector_move_misalign", "(", "op0", ",", "op1", ")", ";", "else", "emit_insn", "(", "gen_rtx_SET", "(", "op0", ",", "op1", ")", ")", ";", "return", ";", "}", "if", "(", "TARGET_SSE_UNALIGNED_LOAD_OPTIMAL", "||", "TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "op0", ",", "op1", ")", ")", ";", "return", ";", "}", "if", "(", "TARGET_SSE2", "&&", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_INT", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "op0", ",", "op1", ")", ")", ";", "return", ";", "}", "if", "(", "MEM_P", "(", "op1", ")", ")", "{", "if", "(", "TARGET_SSE2", "&&", "mode", "==", "V2DFmode", ")", "{", "rtx", "zero", ";", "if", "(", "TARGET_SSE_SPLIT_REGS", ")", "{", "emit_clobber", "(", "op0", ")", ";", "zero", "=", "op0", ";", "}", "else", "{", "zero", "=", "CONST0_RTX", "(", "V2DFmode", ")", ";", "}", "m", "=", "adjust_address", "(", "op1", ",", "DFmode", ",", "0", ")", ";", "emit_insn", "(", "gen_sse2_loadlpd", "(", "op0", ",", "zero", ",", "m", ")", ")", ";", "m", "=", "adjust_address", "(", "op1", ",", "DFmode", ",", "8", ")", ";", "emit_insn", "(", "gen_sse2_loadhpd", "(", "op0", ",", "op0", ",", "m", ")", ")", ";", "}", "else", "{", "rtx", "t", ";", "if", "(", "mode", "!=", "V4SFmode", ")", "t", "=", "gen_reg_rtx", "(", "V4SFmode", ")", ";", "else", "t", "=", "op0", ";", "if", "(", "TARGET_SSE_PARTIAL_REG_DEPENDENCY", ")", "emit_move_insn", "(", "t", ",", "CONST0_RTX", "(", "V4SFmode", ")", ")", ";", "else", "emit_clobber", "(", "t", ")", ";", "m", "=", "adjust_address", "(", "op1", ",", "V2SFmode", ",", "0", ")", ";", "emit_insn", "(", "gen_sse_loadlps", "(", "t", ",", "t", ",", "m", ")", ")", ";", "m", "=", "adjust_address", "(", "op1", ",", "V2SFmode", ",", "8", ")", ";", "emit_insn", "(", "gen_sse_loadhps", "(", "t", ",", "t", ",", "m", ")", ")", ";", "if", "(", "mode", "!=", "V4SFmode", ")", "emit_move_insn", "(", "op0", ",", "gen_lowpart", "(", "mode", ",", "t", ")", ")", ";", "}", "}", "else", "if", "(", "MEM_P", "(", "op0", ")", ")", "{", "if", "(", "TARGET_SSE2", "&&", "mode", "==", "V2DFmode", ")", "{", "m", "=", "adjust_address", "(", "op0", ",", "DFmode", ",", "0", ")", ";", "emit_insn", "(", "gen_sse2_storelpd", "(", "m", ",", "op1", ")", ")", ";", "m", "=", "adjust_address", "(", "op0", ",", "DFmode", ",", "8", ")", ";", "emit_insn", "(", "gen_sse2_storehpd", "(", "m", ",", "op1", ")", ")", ";", "}", "else", "{", "if", "(", "mode", "!=", "V4SFmode", ")", "op1", "=", "gen_lowpart", "(", "V4SFmode", ",", "op1", ")", ";", "m", "=", "adjust_address", "(", "op0", ",", "V2SFmode", ",", "0", ")", ";", "emit_insn", "(", "gen_sse_storelps", "(", "m", ",", "op1", ")", ")", ";", "m", "=", "adjust_address", "(", "op0", ",", "V2SFmode", ",", "8", ")", ";", "emit_insn", "(", "gen_sse_storehps", "(", "m", ",", "copy_rtx", "(", "op1", ")", ")", ")", ";", "}", "}", "else", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "movmisalign", "patterns", "for", "SSE", ".", "Non-SSE", "modes", "go", "straight", "to", "ix86_expand_vector_move", "."], "TS_V_token": ["i386", "0", "1", "64", "32", "0", "8", "0", "8", "0", "8", "0", "8"], "File": "i386-expand", "Func": "ix86_expand_vector_move_misalign", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1787, "Length": 472, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "cirrus_reorg", "(", "rtx", "first", ")", "{", "enum", "attr_cirrus", "attr", ";", "rtx", "body", "=", "PATTERN", "(", "first", ")", ";", "rtx", "t", ";", "int", "nops", ";", "if", "(", "GET_CODE", "(", "first", ")", "==", "JUMP_INSN", "&&", "GET_CODE", "(", "body", ")", "!=", "RETURN", ")", "{", "nops", "=", "0", ";", "t", "=", "next_nonnote_insn", "(", "first", ")", ";", "if", "(", "arm_cirrus_insn_p", "(", "t", ")", ")", "++", "nops", ";", "if", "(", "arm_cirrus_insn_p", "(", "next_nonnote_insn", "(", "t", ")", ")", ")", "++", "nops", ";", "while", "(", "nops", "--", ")", "emit_insn_after", "(", "gen_nop", "(", ")", ",", "first", ")", ";", "return", ";", "}", "if", "(", "GET_CODE", "(", "body", ")", "==", "PARALLEL", "&&", "XVECLEN", "(", "body", ",", "0", ")", ">", "0", ")", "body", "=", "XVECEXP", "(", "body", ",", "0", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "body", ")", "==", "SET", ")", "{", "rtx", "lhs", "=", "XEXP", "(", "body", ",", "0", ")", ",", "rhs", "=", "XEXP", "(", "body", ",", "1", ")", ";", "if", "(", "get_attr_cirrus", "(", "first", ")", "==", "CIRRUS_DOUBLE", ")", "{", "if", "(", "arm_cirrus_insn_p", "(", "next_nonnote_insn", "(", "first", ")", ")", ")", "emit_insn_after", "(", "gen_nop", "(", ")", ",", "first", ")", ";", "return", ";", "}", "else", "if", "(", "arm_memory_load_p", "(", "first", ")", ")", "{", "unsigned", "int", "arm_regno", ";", "if", "(", "GET_CODE", "(", "lhs", ")", "==", "REG", ")", "arm_regno", "=", "REGNO", "(", "lhs", ")", ";", "else", "{", "gcc_assert", "(", "GET_CODE", "(", "rhs", ")", "==", "REG", ")", ";", "arm_regno", "=", "REGNO", "(", "rhs", ")", ";", "}", "first", "=", "next_nonnote_insn", "(", "first", ")", ";", "if", "(", "!", "arm_cirrus_insn_p", "(", "first", ")", ")", "return", ";", "body", "=", "PATTERN", "(", "first", ")", ";", "if", "(", "GET_CODE", "(", "body", ")", "==", "PARALLEL", "&&", "XVECLEN", "(", "body", ",", "0", ")", ")", "body", "=", "XVECEXP", "(", "body", ",", "0", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "body", ")", "==", "FLOAT", ")", "body", "=", "XEXP", "(", "body", ",", "0", ")", ";", "if", "(", "get_attr_cirrus", "(", "first", ")", "==", "CIRRUS_MOVE", "&&", "GET_CODE", "(", "XEXP", "(", "body", ",", "1", ")", ")", "==", "REG", "&&", "arm_regno", "==", "REGNO", "(", "XEXP", "(", "body", ",", "1", ")", ")", ")", "emit_insn_after", "(", "gen_nop", "(", ")", ",", "first", ")", ";", "return", ";", "}", "}", "if", "(", "!", "first", "||", "GET_CODE", "(", "first", ")", "!=", "INSN", "||", "GET_CODE", "(", "PATTERN", "(", "first", ")", ")", "==", "USE", "||", "GET_CODE", "(", "PATTERN", "(", "first", ")", ")", "==", "CLOBBER", ")", "return", ";", "attr", "=", "get_attr_cirrus", "(", "first", ")", ";", "if", "(", "attr", "==", "CIRRUS_COMPARE", ")", "{", "nops", "=", "0", ";", "t", "=", "next_nonnote_insn", "(", "first", ")", ";", "if", "(", "arm_cirrus_insn_p", "(", "t", ")", ")", "++", "nops", ";", "if", "(", "arm_cirrus_insn_p", "(", "next_nonnote_insn", "(", "t", ")", ")", ")", "++", "nops", ";", "while", "(", "nops", "--", ")", "emit_insn_after", "(", "gen_nop", "(", ")", ",", "first", ")", ";", "return", ";", "}", "}", ""], "natrual_language": ["Cirrus", "reorg", "for", "invalid", "instruction", "combinations", "."], "TS_V_token": ["arm", "0", "0", "0", "0", "0", "0", "1", "0", "0", "0", "0", "1", "1", "0"], "File": "arm3", "Func": "cirrus_reorg", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1788, "Length": 448, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "fp_immediate_constant", "(", "rtx", "x", ")", "{", "REAL_VALUE_TYPE", "r", ";", "int", "i", ";", "if", "(", "!", "fp_consts_inited", ")", "init_fp_table", "(", ")", ";", "REAL_VALUE_FROM_CONST_DOUBLE", "(", "r", ",", "x", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "8", ";", "i", "++", ")", "if", "(", "REAL_VALUES_EQUAL", "(", "r", ",", "values_fp", "[", "i", "]", ")", ")", "return", "strings_fp", "[", "i", "]", ";", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["If", "the", "rtx", "is", "the", "correct", "value", "then", "return", "the", "string", "of", "the", "number", ".", "In", "this", "way", "we", "can", "ensure", "that", "valid", "double", "constants", "are", "generated", "even", "when", "cross", "compiling", "."], "TS_V_token": ["arm", "0", "8"], "File": "arm3", "Func": "fp_immediate_constant", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1789, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LEGRegisterInfo", "::", "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": ["LEG", "LEG"], "File": "LEGRegisterInfo", "Func": "useFPForScavengingIndex", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1790, "Length": 16, "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": 1791, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_soft_fp_init_libfuncs", "(", "void", ")", "{", "}", ""], "natrual_language": ["Use", "soft-fp", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "ia64_soft_fp_init_libfuncs", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1792, "Length": 8, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_d_register_target_info", "(", "void", ")", "{", "const", "struct", "d_target_info_spec", "handlers", "[", "]", "=", "{", "{", "\"floatAbi\"", ",", "aarch64_d_handle_target_float_abi", "}", ",", "{", "NULL", ",", "NULL", "}", ",", "}", ";", "d_add_target_info_handlers", "(", "handlers", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_D_REGISTER_CPU_TARGET_INFO", "."], "TS_V_token": ["aarch64", "\"floatAbi\""], "File": "aarch64-d", "Func": "aarch64_d_register_target_info", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1793, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_asm_output_dwarf_datarel", "(", "FILE", "*", "file", ",", "int", "size", ",", "const", "char", "*", "label", ")", "{", "fputs", "(", "integer_asm_op", "(", "size", ",", "FALSE", ")", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "label", ")", ";", "fputs", "(", "\"-__gcc_unwind_dbase\"", ",", "file", ")", ";", "}", ""], "natrual_language": ["Output", "a", "symbol", "offset", "relative", "to", "the", "dbase", "for", "the", "current", "object", ".", "We", "use", "__gcc_unwind_dbase", "as", "an", "arbitrary", "base", "for", "dbase", "and", "assume", "signed", "offsets", ".", "__gcc_unwind_dbase", "is", "embedded", "in", "all", "executables/libraries", "through", "libgcc/config/rs6000/crtdbase.S", "."], "TS_V_token": ["powerpcspe", "\"-__gcc_unwind_dbase\""], "File": "powerpcspe", "Func": "rs6000_asm_output_dwarf_datarel", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1794, "Length": 43, "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": 1795, "Length": 295, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mova_p", "(", "rtx_insn", "*", "insn", ")", "{", "return", "(", "NONJUMP_INSN_P", "(", "insn", ")", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "SET", "&&", "GET_CODE", "(", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ")", "==", "UNSPEC", "&&", "XINT", "(", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ",", "1", ")", "==", "UNSPEC_MOVA", "&&", "GET_CODE", "(", "MOVA_LABELREF", "(", "insn", ")", ")", "==", "LABEL_REF", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "insn", "is", "a", "mova", "insn", "."], "TS_V_token": ["sh", "1"], "File": "sh", "Func": "mova_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1796, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "bool", "HasAVX", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "hasAVX", "(", ")", ";", "MachineInstrBuilder", "MIB", "(", "*", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "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", "::", "KSET0W", ":", "return", "Expand2AddrUndef", "(", "MIB", ",", "get", "(", "X86", "::", "KXORWrr", ")", ")", ";", "case", "X86", "::", "KSET1B", ":", "case", "X86", "::", "KSET1W", ":", "return", "Expand2AddrUndef", "(", "MIB", ",", "get", "(", "X86", "::", "KXNORWrr", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["X86", "X86", "X86", "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::KSET0W", "X86::KXORWrr", "X86::KSET1B", "X86::KSET1W", "X86::KXNORWrr"], "File": "X86InstrInfo103", "Func": "expandPostRAPseudo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1797, "Length": 311, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Warning", "(", "SMLoc", "L", ",", "const", "Twine", "&", "Msg", ",", "ArrayRef", "<", "SMRange", ">", "Ranges", "=", "ArrayRef", "<", "SMRange", ">", "(", ")", ")", "{", "return", "Parser", ".", "Warning", "(", "L", ",", "Msg", ",", "Ranges", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "warning", "at", "the", "location", "L", ",", "with", "the", "message", "Msg", "."], "TS_V_token": ["ARM"], "File": "ARMAsmParser", "Func": "Warning", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1798, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineMemOperand", "::", "Flags", "SystemZTargetLowering", "::", "getTargetMMOFlags", "(", "const", "Instruction", "&", "I", ")", "const", "{", "if", "(", "auto", "*", "SI", "=", "dyn_cast", "<", "StoreInst", ">", "(", "&", "I", ")", ")", "if", "(", "SI", "->", "isAtomic", "(", ")", ")", "return", "MachineMemOperand", "::", "MOVolatile", ";", "if", "(", "auto", "*", "LI", "=", "dyn_cast", "<", "LoadInst", ">", "(", "&", "I", ")", ")", "if", "(", "LI", "->", "isAtomic", "(", ")", ")", "return", "MachineMemOperand", "::", "MOVolatile", ";", "if", "(", "auto", "*", "AI", "=", "dyn_cast", "<", "AtomicRMWInst", ">", "(", "&", "I", ")", ")", "if", "(", "AI", "->", "isAtomic", "(", ")", ")", "return", "MachineMemOperand", "::", "MOVolatile", ";", "if", "(", "auto", "*", "AI", "=", "dyn_cast", "<", "AtomicCmpXchgInst", ">", "(", "&", "I", ")", ")", "if", "(", "AI", "->", "isAtomic", "(", ")", ")", "return", "MachineMemOperand", "::", "MOVolatile", ";", "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": ["SystemZ", "SystemZ"], "File": "SystemZISelLowering (2)2", "Func": "getTargetMMOFlags", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1799, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "VEMCCodeEmitter", "::", "getBranchTargetOpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isReg", "(", ")", "||", "MO", ".", "isImm", "(", ")", ")", "return", "getMachineOpValue", "(", "MI", ",", "MO", ",", "Fixups", ",", "STI", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "MO", ".", "getExpr", "(", ")", ",", "(", "MCFixupKind", ")", "VE", "::", "fixup_ve_srel32", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "."], "TS_V_token": ["VE", "VE", "0", "VE::fixup_ve_srel32", "0"], "File": "VEMCCodeEmitter1", "Func": "getBranchTargetOpValue", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1800, "Length": 94, "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": 1801, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "compute_save_world_info", "(", "rs6000_stack_t", "*", "info_ptr", ")", "{", "info_ptr", "->", "world_save_p", "=", "1", ";", "info_ptr", "->", "world_save_p", "=", "(", "WORLD_SAVE_P", "(", "info_ptr", ")", "&&", "DEFAULT_ABI", "==", "ABI_DARWIN", "&&", "!", "cfun", "->", "has_nonlocal_label", "&&", "info_ptr", "->", "first_fp_reg_save", "==", "FIRST_SAVED_FP_REGNO", "&&", "info_ptr", "->", "first_gp_reg_save", "==", "FIRST_SAVED_GP_REGNO", "&&", "info_ptr", "->", "first_altivec_reg_save", "==", "FIRST_SAVED_ALTIVEC_REGNO", "&&", "info_ptr", "->", "cr_save_p", ")", ";", "if", "(", "WORLD_SAVE_P", "(", "info_ptr", ")", ")", "{", "rtx_insn", "*", "insn", ";", "for", "(", "insn", "=", "get_last_insn_anywhere", "(", ")", ";", "insn", ";", "insn", "=", "PREV_INSN", "(", "insn", ")", ")", "if", "(", "CALL_P", "(", "insn", ")", "&&", "SIBLING_CALL_P", "(", "insn", ")", ")", "{", "info_ptr", "->", "world_save_p", "=", "0", ";", "break", ";", "}", "}", "if", "(", "WORLD_SAVE_P", "(", "info_ptr", ")", ")", "{", "info_ptr", "->", "vrsave_size", "=", "4", ";", "info_ptr", "->", "lr_save_p", "=", "1", ";", "if", "(", "info_ptr", "->", "vrsave_mask", "==", "0", ")", "info_ptr", "->", "vrsave_mask", "=", "compute_vrsave_mask", "(", ")", ";", "gcc_assert", "(", "info_ptr", "->", "first_fp_reg_save", ">=", "FIRST_SAVED_FP_REGNO", "&&", "(", "info_ptr", "->", "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": "rs60004", "Func": "compute_save_world_info", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1802, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "pa_is_function_label_plus_const", "(", "rtx", "op", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "==", "CONST", ")", "op", "=", "XEXP", "(", "op", ",", "0", ")", ";", "return", "(", "GET_CODE", "(", "op", ")", "==", "PLUS", "&&", "function_label_operand", "(", "XEXP", "(", "op", ",", "0", ")", ",", "VOIDmode", ")", "&&", "GET_CODE", "(", "XEXP", "(", "op", ",", "1", ")", ")", "==", "CONST_INT", ")", ";", "}", ""], "natrual_language": ["Returns", "1", "if", "OP", "is", "a", "function", "label", "involved", "in", "a", "simple", "addition", "with", "a", "constant", ".", "Used", "to", "keep", "certain", "patterns", "from", "matching", "during", "instruction", "combination", "."], "TS_V_token": ["pa", "0", "0", "1"], "File": "pa", "Func": "pa_is_function_label_plus_const", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1803, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "getOpcodeAfterMemoryUnfold", "(", "unsigned", "Opc", ",", "bool", "UnfoldLoad", ",", "bool", "UnfoldStore", ",", "unsigned", "*", "LoadRegIndex", ")", "const", "{", "const", "X86MemoryFoldTableEntry", "*", "I", "=", "lookupUnfoldTable", "(", "Opc", ")", ";", "if", "(", "I", "==", "nullptr", ")", "return", "0", ";", "bool", "FoldedLoad", "=", "I", "->", "Flags", "&", "TB_FOLDED_LOAD", ";", "bool", "FoldedStore", "=", "I", "->", "Flags", "&", "TB_FOLDED_STORE", ";", "if", "(", "UnfoldLoad", "&&", "!", "FoldedLoad", ")", "return", "0", ";", "if", "(", "UnfoldStore", "&&", "!", "FoldedStore", ")", "return", "0", ";", "if", "(", "LoadRegIndex", ")", "*", "LoadRegIndex", "=", "I", "->", "Flags", "&", "TB_INDEX_MASK", ";", "return", "I", "->", "DstOp", ";", "}", ""], "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", "X86", "0", "0", "0"], "File": "X86InstrInfo (2)3", "Func": "getOpcodeAfterMemoryUnfold", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1804, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_emit_inverted_unspec_cond", "(", "rtx", "target", ",", "rtx_code", "code", ",", "machine_mode", "pred_mode", ",", "rtx", "ptrue", ",", "rtx", "pred", ",", "rtx", "op0", ",", "rtx", "op1", ",", "bool", "can_invert_p", ")", "{", "if", "(", "can_invert_p", ")", "aarch64_emit_unspec_cond", "(", "target", ",", "code", ",", "pred_mode", ",", "pred", ",", "op0", ",", "op1", ")", ";", "else", "{", "rtx", "tmp", "=", "gen_reg_rtx", "(", "pred_mode", ")", ";", "aarch64_emit_unspec_cond", "(", "tmp", ",", "code", ",", "pred_mode", ",", "pred", ",", "op0", ",", "op1", ")", ";", "emit_set_insn", "(", "target", ",", "gen_rtx_AND", "(", "pred_mode", ",", "gen_rtx_NOT", "(", "pred_mode", ",", "tmp", ")", ",", "ptrue", ")", ")", ";", "}", "}", ""], "natrual_language": ["If", "CAN_INVERT_P", ",", "emit", "an", "instruction", ":", "(", "set", "TARGET", "(", "unspec", ":", "PRED_MODE", "[", "PRED", "OP0", "OP1", "]", "UNSPEC_COND_", "<", "X", ">", ")", ")", "where", "<", "X", ">", "is", "the", "operation", "associated", "with", "comparison", "CODE", ".", "Otherwise", "emit", ":", "(", "set", "TMP", "(", "unspec", ":", "PRED_MODE", "[", "PRED", "OP0", "OP1", "]", "UNSPEC_COND_", "<", "X", ">", ")", ")", "(", "set", "TARGET", "(", "and", ":", "PRED_MODE", "(", "not", ":", "PRED_MODE", "TMP", ")", "PTRUE", ")", ")", "where", "the", "second", "instructions", "sets", "TARGET", "to", "the", "inverse", "of", "TMP", "."], "TS_V_token": ["aarch64"], "File": "aarch645", "Func": "aarch64_emit_inverted_unspec_cond", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1805, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "DigitalTargetObjectFile", "::", "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", ")", ";", "this", "->", "TM", "=", "&", "static_cast", "<", "const", "DigitalTargetMachine", "&", ">", "(", "TM", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["Digital", "\".sdata\"", "\".sbss\""], "File": "DigitalTargetObjectFile", "Func": "Initialize", "Target": "Digital", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1806, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mmix_target_asm_function_epilogue", "(", "FILE", "*", "stream", ",", "HOST_WIDE_INT", "locals_size", "ATTRIBUTE_UNUSED", ")", "{", "fputc", "(", "'\\n'", ",", "stream", ")", ";", "}", ""], "natrual_language": ["TARGET_ASM_FUNCTION_EPILOGUE", "."], "TS_V_token": ["mmix"], "File": "mmix3", "Func": "mmix_target_asm_function_epilogue", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1807, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_alloc_sdmode_stack_slot", "(", "void", ")", "{", "tree", "t", ";", "basic_block", "bb", ";", "gimple_stmt_iterator", "gsi", ";", "gcc_assert", "(", "cfun", "->", "machine", "->", "sdmode_stack_slot", "==", "NULL_RTX", ")", ";", "if", "(", "ira_use_lra_p", ")", "return", ";", "if", "(", "TARGET_NO_SDMODE_STACK", ")", "return", ";", "FOR_EACH_BB_FN", "(", "bb", ",", "cfun", ")", "for", "(", "gsi", "=", "gsi_start_bb", "(", "bb", ")", ";", "!", "gsi_end_p", "(", "gsi", ")", ";", "gsi_next", "(", "&", "gsi", ")", ")", "{", "tree", "ret", "=", "walk_gimple_op", "(", "gsi_stmt", "(", "gsi", ")", ",", "rs6000_check_sdmode", ",", "NULL", ")", ";", "if", "(", "ret", ")", "{", "rtx", "stack", "=", "assign_stack_local", "(", "DDmode", ",", "GET_MODE_SIZE", "(", "DDmode", ")", ",", "0", ")", ";", "cfun", "->", "machine", "->", "sdmode_stack_slot", "=", "adjust_address_nv", "(", "stack", ",", "SDmode", ",", "0", ")", ";", "return", ";", "}", "}", "for", "(", "t", "=", "DECL_ARGUMENTS", "(", "cfun", "->", "decl", ")", ";", "t", ";", "t", "=", "DECL_CHAIN", "(", "t", ")", ")", "{", "if", "(", "TREE_TYPE", "(", "t", ")", "==", "error_mark_node", ")", "continue", ";", "if", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "t", ")", ")", "==", "SDmode", "||", "TYPE_MODE", "(", "DECL_ARG_TYPE", "(", "t", ")", ")", "==", "SDmode", ")", "{", "rtx", "stack", "=", "assign_stack_local", "(", "DDmode", ",", "GET_MODE_SIZE", "(", "DDmode", ")", ",", "0", ")", ";", "cfun", "->", "machine", "->", "sdmode_stack_slot", "=", "adjust_address_nv", "(", "stack", ",", "SDmode", ",", "0", ")", ";", "return", ";", "}", "}", "}", ""], "natrual_language": ["Allocate", "a", "64-bit", "stack", "slot", "to", "be", "used", "for", "copying", "SDmode", "values", "through", "if", "this", "function", "has", "any", "SDmode", "references", ".", "If", "we", "are", "on", "a", "power7", "or", "later", ",", "we", "do", "n't", "need", "the", "64-bit", "stack", "slot", "since", "the", "LFIWZX", "and", "STIFWX", "instructions", "can", "load/store", "the", "value", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0"], "File": "rs60004", "Func": "rs6000_alloc_sdmode_stack_slot", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1808, "Length": 211, "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", "::", "EXTRACT_VECTOR_ELT", ":", "return", "PerformEXTRACT_VECTOR_ELTCombine", "(", "N", ",", "DAG", ",", "*", "this", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "PerformSELECTCombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "case", "X86ISD", "::", "CMOV", ":", "return", "PerformCMOVCombine", "(", "N", ",", "DAG", ",", "DCI", ")", ";", "case", "ISD", "::", "ADD", ":", "case", "ISD", "::", "SUB", ":", "return", "OptimizeConditonalInDecrement", "(", "N", ",", "DAG", ")", ";", "case", "X86ISD", "::", "ADC", ":", "return", "PerformADCCombine", "(", "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", "::", "AND", ":", "return", "PerformAndCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "OR", ":", "return", "PerformOrCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "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", "::", "ZERO_EXTEND", ":", "return", "PerformZExtCombine", "(", "N", ",", "DAG", ")", ";", "case", "X86ISD", "::", "SETCC", ":", "return", "PerformSETCCCombine", "(", "N", ",", "DAG", ")", ";", "case", "X86ISD", "::", "SHUFPS", ":", "case", "X86ISD", "::", "SHUFPD", ":", "case", "X86ISD", "::", "PALIGN", ":", "case", "X86ISD", "::", "PUNPCKHBW", ":", "case", "X86ISD", "::", "PUNPCKHWD", ":", "case", "X86ISD", "::", "PUNPCKHDQ", ":", "case", "X86ISD", "::", "PUNPCKHQDQ", ":", "case", "X86ISD", "::", "UNPCKHPS", ":", "case", "X86ISD", "::", "UNPCKHPD", ":", "case", "X86ISD", "::", "PUNPCKLBW", ":", "case", "X86ISD", "::", "PUNPCKLWD", ":", "case", "X86ISD", "::", "PUNPCKLDQ", ":", "case", "X86ISD", "::", "PUNPCKLQDQ", ":", "case", "X86ISD", "::", "UNPCKLPS", ":", "case", "X86ISD", "::", "UNPCKLPD", ":", "case", "X86ISD", "::", "VUNPCKLPS", ":", "case", "X86ISD", "::", "VUNPCKLPD", ":", "case", "X86ISD", "::", "VUNPCKLPSY", ":", "case", "X86ISD", "::", "VUNPCKLPDY", ":", "case", "X86ISD", "::", "MOVHLPS", ":", "case", "X86ISD", "::", "MOVLHPS", ":", "case", "X86ISD", "::", "PSHUFD", ":", "case", "X86ISD", "::", "PSHUFHW", ":", "case", "X86ISD", "::", "PSHUFLW", ":", "case", "X86ISD", "::", "MOVSS", ":", "case", "X86ISD", "::", "MOVSD", ":", "case", "ISD", "::", "VECTOR_SHUFFLE", ":", "return", "PerformShuffleCombine", "(", "N", ",", "DAG", ",", "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": ["X86", "X86", "ISD::EXTRACT_VECTOR_ELT", "ISD::SELECT", "X86ISD::CMOV", "ISD::ADD", "ISD::SUB", "X86ISD::ADC", "ISD::MUL", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::AND", "ISD::OR", "ISD::STORE", "X86ISD::FXOR", "X86ISD::FOR", "X86ISD::FAND", "X86ISD::BT", "X86ISD::VZEXT_MOVL", "ISD::ZERO_EXTEND", "X86ISD::SETCC", "X86ISD::SHUFPS", "X86ISD::SHUFPD", "X86ISD::PALIGN", "X86ISD::PUNPCKHBW", "X86ISD::PUNPCKHWD", "X86ISD::PUNPCKHDQ", "X86ISD::PUNPCKHQDQ", "X86ISD::UNPCKHPS", "X86ISD::UNPCKHPD", "X86ISD::PUNPCKLBW", "X86ISD::PUNPCKLWD", "X86ISD::PUNPCKLDQ", "X86ISD::PUNPCKLQDQ", "X86ISD::UNPCKLPS", "X86ISD::UNPCKLPD", "X86ISD::VUNPCKLPS", "X86ISD::VUNPCKLPD", "X86ISD::VUNPCKLPSY", "X86ISD::VUNPCKLPDY", "X86ISD::MOVHLPS", "X86ISD::MOVLHPS", "X86ISD::PSHUFD", "X86ISD::PSHUFHW", "X86ISD::PSHUFLW", "X86ISD::MOVSS", "X86ISD::MOVSD", "ISD::VECTOR_SHUFFLE"], "File": "X86ISelLowering170", "Func": "PerformDAGCombine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1809, "Length": 441, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SparcMCCodeEmitter", "::", "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", "MO", ".", "getImm", "(", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "if", "(", "const", "SparcMCExpr", "*", "SExpr", "=", "dyn_cast", "<", "SparcMCExpr", ">", "(", "Expr", ")", ")", "{", "MCFixupKind", "Kind", "=", "(", "MCFixupKind", ")", "SExpr", "->", "getFixupKind", "(", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "0", ",", "Expr", ",", "Kind", ")", ")", ";", "return", "0", ";", "}", "int64_t", "Res", ";", "if", "(", "Expr", "->", "EvaluateAsAbsolute", "(", "Res", ")", ")", "return", "Res", ";", "llvm_unreachable", "(", "\"Unhandled expression!\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc", "0", "0", "\"Unhandled expression!\"", "0"], "File": "SparcMCCodeEmitter20", "Func": "getMachineOpValue", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1810, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mems_ok_for_quad_peep", "(", "rtx", "mem1", ",", "rtx", "mem2", ")", "{", "rtx", "addr1", ",", "addr2", ";", "unsigned", "int", "reg1", ",", "reg2", ";", "int", "offset1", ",", "offset2", ";", "if", "(", "MEM_VOLATILE_P", "(", "mem1", ")", "||", "MEM_VOLATILE_P", "(", "mem2", ")", ")", "return", "0", ";", "addr1", "=", "XEXP", "(", "mem1", ",", "0", ")", ";", "addr2", "=", "XEXP", "(", "mem2", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "addr1", ")", "==", "PLUS", ")", "{", "if", "(", "!", "REG_P", "(", "XEXP", "(", "addr1", ",", "0", ")", ")", ")", "return", "0", ";", "else", "{", "reg1", "=", "REGNO", "(", "XEXP", "(", "addr1", ",", "0", ")", ")", ";", "if", "(", "!", "CONST_INT_P", "(", "XEXP", "(", "addr1", ",", "1", ")", ")", ")", "return", "0", ";", "offset1", "=", "INTVAL", "(", "XEXP", "(", "addr1", ",", "1", ")", ")", ";", "}", "}", "else", "if", "(", "!", "REG_P", "(", "addr1", ")", ")", "return", "0", ";", "else", "{", "reg1", "=", "REGNO", "(", "addr1", ")", ";", "offset1", "=", "0", ";", "}", "if", "(", "GET_CODE", "(", "addr2", ")", "==", "PLUS", ")", "{", "if", "(", "!", "REG_P", "(", "XEXP", "(", "addr2", ",", "0", ")", ")", ")", "return", "0", ";", "else", "{", "reg2", "=", "REGNO", "(", "XEXP", "(", "addr2", ",", "0", ")", ")", ";", "if", "(", "!", "CONST_INT_P", "(", "XEXP", "(", "addr2", ",", "1", ")", ")", ")", "return", "0", ";", "offset2", "=", "INTVAL", "(", "XEXP", "(", "addr2", ",", "1", ")", ")", ";", "}", "}", "else", "if", "(", "!", "REG_P", "(", "addr2", ")", ")", "return", "0", ";", "else", "{", "reg2", "=", "REGNO", "(", "addr2", ")", ";", "offset2", "=", "0", ";", "}", "if", "(", "reg1", "!=", "reg2", ")", "return", "0", ";", "if", "(", "offset2", "!=", "offset1", "+", "8", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "1", "if", "addr1", "and", "addr2", "are", "suitable", "for", "lfq", "or", "stfq", "insn", ".", "addr1", "and", "addr2", "must", "be", "in", "consecutive", "memory", "locations", "(", "addr2", "==", "addr1", "+", "8", ")", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "0", "0", "1", "0", "1", "0", "0", "0", "0", "0", "1", "0", "1", "0", "0", "0", "8", "0", "1"], "File": "rs6000", "Func": "mems_ok_for_quad_peep", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1811, "Length": 275, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "arm_pcs", "arm_get_pcs_model", "(", "const_tree", "type", ",", "const_tree", "decl", "ATTRIBUTE_UNUSED", ")", "{", "bool", "user_convention", "=", "false", ";", "enum", "arm_pcs", "user_pcs", "=", "arm_pcs_default", ";", "tree", "attr", ";", "gcc_assert", "(", "type", ")", ";", "attr", "=", "lookup_attribute", "(", "\"pcs\"", ",", "TYPE_ATTRIBUTES", "(", "type", ")", ")", ";", "if", "(", "attr", ")", "{", "user_pcs", "=", "arm_pcs_from_attribute", "(", "TREE_VALUE", "(", "attr", ")", ")", ";", "user_convention", "=", "true", ";", "}", "if", "(", "TARGET_AAPCS_BASED", ")", "{", "bool", "base_rules", "=", "stdarg_p", "(", "type", ")", ";", "if", "(", "user_convention", ")", "{", "if", "(", "user_pcs", ">", "ARM_PCS_AAPCS_LOCAL", ")", "sorry", "(", "\"non-AAPCS derived PCS variant\"", ")", ";", "else", "if", "(", "base_rules", "&&", "user_pcs", "!=", "ARM_PCS_AAPCS", ")", "error", "(", "\"variadic functions must use the base AAPCS variant\"", ")", ";", "}", "if", "(", "base_rules", ")", "return", "ARM_PCS_AAPCS", ";", "else", "if", "(", "user_convention", ")", "return", "user_pcs", ";", "else", "if", "(", "decl", "&&", "flag_unit_at_a_time", ")", "{", "cgraph_node", "*", "local_info_node", "=", "cgraph_node", "::", "local_info_node", "(", "CONST_CAST_TREE", "(", "decl", ")", ")", ";", "if", "(", "local_info_node", "&&", "local_info_node", "->", "local", ")", "return", "ARM_PCS_AAPCS_LOCAL", ";", "}", "}", "else", "if", "(", "user_convention", "&&", "user_pcs", "!=", "arm_pcs_default", ")", "sorry", "(", "\"PCS variant\"", ")", ";", "return", "arm_pcs_default", ";", "}", ""], "natrual_language": ["Get", "the", "PCS", "variant", "to", "use", "for", "this", "call", ".", "TYPE", "is", "the", "function", "'s", "type", "specification", ",", "DECL", "is", "the", "specific", "declartion", ".", "DECL", "may", "be", "null", "if", "the", "call", "could", "be", "indirect", "or", "if", "this", "is", "a", "library", "call", "."], "TS_V_token": ["arm", "\"pcs\"", "\"non-AAPCS derived PCS variant\"", "\"variadic functions must use the base AAPCS variant\"", "\"PCS variant\""], "File": "arm", "Func": "arm_get_pcs_model", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1812, "Length": 176, "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": 1813, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetELFStreamer", "::", "finish", "(", ")", "{", "MCAssembler", "&", "MCA", "=", "getStreamer", "(", ")", ".", "getAssembler", "(", ")", ";", "MCContext", "&", "Context", "=", "MCA", ".", "getContext", "(", ")", ";", "MCStreamer", "&", "OS", "=", "getStreamer", "(", ")", ";", "Triple", "T", "(", "STI", ".", "getTargetTriple", "(", ")", ")", ";", "uint64_t", "Features", "=", "STI", ".", "getFeatureBits", "(", ")", ";", "if", "(", "T", ".", "isArch64Bit", "(", ")", "&&", "(", "Features", "&", "Mips", "::", "FeatureN64", ")", ")", "{", "const", "MCSectionELF", "*", "Sec", "=", "Context", ".", "getELFSection", "(", "\".MIPS.options\"", ",", "ELF", "::", "SHT_MIPS_OPTIONS", ",", "ELF", "::", "SHF_ALLOC", "|", "ELF", "::", "SHF_MIPS_NOSTRIP", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "OS", ".", "SwitchSection", "(", "Sec", ")", ";", "OS", ".", "EmitIntValue", "(", "1", ",", "1", ")", ";", "OS", ".", "EmitIntValue", "(", "40", ",", "1", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "2", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "8", ")", ";", "}", "else", "{", "const", "MCSectionELF", "*", "Sec", "=", "Context", ".", "getELFSection", "(", "\".reginfo\"", ",", "ELF", "::", "SHT_MIPS_REGINFO", ",", "ELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "OS", ".", "SwitchSection", "(", "Sec", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "}", "}", ""], "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": ["Mips", "Mips", "Mips::FeatureN64", "\".MIPS.options\"", "1", "1", "40", "1", "0", "2", "0", "4", "0", "4", "0", "4", "0", "4", "0", "4", "0", "4", "0", "4", "0", "8", "\".reginfo\"", "0", "4", "0", "4", "0", "4", "0", "4", "0", "4", "0", "4"], "File": "MipsTargetStreamer16", "Func": "finish", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1814, "Length": 301, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "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": ["X86"], "File": "X86Subtarget (2)", "Func": "getStackAlignment", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1815, "Length": 10, "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": 1816, "Length": 16, "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": 1817, "Length": 363, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCInst", "&", "Res", ")", "const", "override", "{", "llvm_unreachable", "(", "\"SHUXIAsmBackend::relaxInstruction() unimplemented\"", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["SHUXI", "\"SHUXIAsmBackend::relaxInstruction() unimplemented\""], "File": "SHUXIAsmBackend", "Func": "relaxInstruction", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1818, "Length": 26, "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": 1819, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_tls_referenced_p", "(", "rtx", "x", ")", "{", "if", "(", "!", "TARGET_HAVE_TLS", ")", "return", "false", ";", "return", "for_each_rtx", "(", "&", "x", ",", "&", "rs6000_tls_symbol_ref_1", ",", "0", ")", ";", "}", ""], "natrual_language": ["Return", "1", "if", "X", "contains", "a", "thread-local", "symbol", "."], "TS_V_token": ["rs6000", "0"], "File": "rs60003", "Func": "rs6000_tls_referenced_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1820, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "F2003fTargetLowering", "::", "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_F2003f", ")", ";", "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", "(", "F2003fISD", "::", "DOSNUD", ",", "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": ["F2003f", "F2003f", "ISD::OutputArg", "16", "F2003f", "4", "1", "0", "\"Can only return in registers!\"", "1", "0", "F2003fISD::DOSNUD", "MVT::Other"], "File": "F2003fISelLowering", "Func": "LowerReturn", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1821, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sh_set_return_address", "(", "rtx", "ra", ",", "rtx", "tmp", ")", "{", "HARD_REG_SET", "live_regs_mask", ";", "int", "d", "=", "calc_live_regs", "(", "&", "live_regs_mask", ")", ";", "if", "(", "!", "TEST_HARD_REG_BIT", "(", "live_regs_mask", ",", "PR_REG", ")", ")", "{", "rtx", "rr", "=", "gen_rtx_REG", "(", "SImode", ",", "PR_REG", ")", ";", "emit_insn", "(", "GEN_MOV", "(", "rr", ",", "ra", ")", ")", ";", "emit_use", "(", "rr", ")", ";", "return", ";", "}", "int", "pr_offset", "=", "rounded_frame_size", "(", "d", ")", ";", "emit_insn", "(", "GEN_MOV", "(", "tmp", ",", "GEN_INT", "(", "pr_offset", ")", ")", ")", ";", "if", "(", "frame_pointer_needed", ")", "emit_insn", "(", "GEN_ADD3", "(", "tmp", ",", "tmp", ",", "hard_frame_pointer_rtx", ")", ")", ";", "else", "emit_insn", "(", "GEN_ADD3", "(", "tmp", ",", "tmp", ",", "stack_pointer_rtx", ")", ")", ";", "tmp", "=", "gen_frame_mem", "(", "Pmode", ",", "tmp", ")", ";", "emit_insn", "(", "GEN_MOV", "(", "tmp", ",", "ra", ")", ")", ";", "emit_use", "(", "tmp", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "change", "the", "current", "function", "'s", "return", "address", "to", "RA", ".", "TEMP", "is", "available", "as", "a", "scratch", "register", ",", "if", "needed", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "sh_set_return_address", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1822, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"SPARC DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Sparc", "\"SPARC DAG->DAG Pattern Instruction Selection\""], "File": "SparcISelDAGToDAG15", "Func": "getPassName", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1823, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiAsmPrinter", "::", "isBlockOnlyReachableByFallthrough", "(", "const", "MachineBasicBlock", "*", "MBB", ")", "const", "{", "const", "MachineBasicBlock", "*", "Pred", "=", "*", "MBB", "->", "pred_begin", "(", ")", ";", "if", "(", "const", "BasicBlock", "*", "B", "=", "Pred", "->", "getBasicBlock", "(", ")", ")", "if", "(", "isa", "<", "SwitchInst", ">", "(", "B", "->", "getTerminator", "(", ")", ")", ")", "return", "false", ";", "if", "(", "!", "AsmPrinter", "::", "isBlockOnlyReachableByFallthrough", "(", "MBB", ")", ")", "return", "false", ";", "MachineBasicBlock", "::", "const_iterator", "I", "=", "Pred", "->", "end", "(", ")", ";", "while", "(", "I", "!=", "Pred", "->", "begin", "(", ")", "&&", "!", "(", "--", "I", ")", "->", "isTerminator", "(", ")", ")", "{", "}", "return", "!", "I", "->", "isBarrier", "(", ")", ";", "}", ""], "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": ["Lanai", "Lanai"], "File": "LanaiAsmPrinter", "Func": "isBlockOnlyReachableByFallthrough", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1824, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SparcTargetLowering", "::", "withTargetFlags", "(", "SDValue", "Op", ",", "unsigned", "TF", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "const", "GlobalAddressSDNode", "*", "GA", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetGlobalAddress", "(", "GA", "->", "getGlobal", "(", ")", ",", "SDLoc", "(", "GA", ")", ",", "GA", "->", "getValueType", "(", "0", ")", ",", "GA", "->", "getOffset", "(", ")", ",", "TF", ")", ";", "if", "(", "const", "ConstantPoolSDNode", "*", "CP", "=", "dyn_cast", "<", "ConstantPoolSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetConstantPool", "(", "CP", "->", "getConstVal", "(", ")", ",", "CP", "->", "getValueType", "(", "0", ")", ",", "CP", "->", "getAlignment", "(", ")", ",", "CP", "->", "getOffset", "(", ")", ",", "TF", ")", ";", "if", "(", "const", "BlockAddressSDNode", "*", "BA", "=", "dyn_cast", "<", "BlockAddressSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetBlockAddress", "(", "BA", "->", "getBlockAddress", "(", ")", ",", "Op", ".", "getValueType", "(", ")", ",", "0", ",", "TF", ")", ";", "if", "(", "const", "ExternalSymbolSDNode", "*", "ES", "=", "dyn_cast", "<", "ExternalSymbolSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetExternalSymbol", "(", "ES", "->", "getSymbol", "(", ")", ",", "ES", "->", "getValueType", "(", "0", ")", ",", "TF", ")", ";", "llvm_unreachable", "(", "\"Unhandled address SDNode\"", ")", ";", "}", ""], "natrual_language": ["}", "Custom", "DAGCombine"], "TS_V_token": ["Sparc", "Sparc", "0", "0", "0", "0", "\"Unhandled address SDNode\""], "File": "SparcISelLowering (2)2", "Func": "withTargetFlags", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1825, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "epilogue_renumber", "(", "rtx", "*", "where", ",", "int", "test", ")", "{", "const", "char", "*", "fmt", ";", "int", "i", ";", "enum", "rtx_code", "code", ";", "if", "(", "*", "where", "==", "0", ")", "return", "0", ";", "code", "=", "GET_CODE", "(", "*", "where", ")", ";", "switch", "(", "code", ")", "{", "case", "REG", ":", "if", "(", "REGNO", "(", "*", "where", ")", ">=", "8", "&&", "REGNO", "(", "*", "where", ")", "<", "24", ")", "return", "1", ";", "if", "(", "!", "test", "&&", "REGNO", "(", "*", "where", ")", ">=", "24", "&&", "REGNO", "(", "*", "where", ")", "<", "32", ")", "{", "if", "(", "ORIGINAL_REGNO", "(", "*", "where", ")", ")", "{", "rtx", "n", "=", "gen_raw_REG", "(", "GET_MODE", "(", "*", "where", ")", ",", "OUTGOING_REGNO", "(", "REGNO", "(", "*", "where", ")", ")", ")", ";", "ORIGINAL_REGNO", "(", "n", ")", "=", "ORIGINAL_REGNO", "(", "*", "where", ")", ";", "*", "where", "=", "n", ";", "}", "else", "*", "where", "=", "gen_rtx_REG", "(", "GET_MODE", "(", "*", "where", ")", ",", "OUTGOING_REGNO", "(", "REGNO", "(", "*", "where", ")", ")", ")", ";", "}", "return", "0", ";", "case", "SCRATCH", ":", "case", "PC", ":", "case", "CONST_INT", ":", "case", "CONST_WIDE_INT", ":", "case", "CONST_DOUBLE", ":", "return", "0", ";", "case", "PLUS", ":", "if", "(", "GET_CODE", "(", "XEXP", "(", "*", "where", ",", "0", ")", ")", "==", "REG", "&&", "REGNO", "(", "XEXP", "(", "*", "where", ",", "0", ")", ")", "==", "HARD_FRAME_POINTER_REGNUM", "&&", "(", "GET_CODE", "(", "XEXP", "(", "*", "where", ",", "1", ")", ")", "!=", "CONST_INT", "||", "INTVAL", "(", "XEXP", "(", "*", "where", ",", "1", ")", ")", "<", "SPARC_STACK_BIAS", ")", ")", "return", "1", ";", "break", ";", "case", "MEM", ":", "if", "(", "SPARC_STACK_BIAS", "&&", "GET_CODE", "(", "XEXP", "(", "*", "where", ",", "0", ")", ")", "==", "REG", "&&", "REGNO", "(", "XEXP", "(", "*", "where", ",", "0", ")", ")", "==", "HARD_FRAME_POINTER_REGNUM", ")", "return", "1", ";", "break", ";", "default", ":", "break", ";", "}", "fmt", "=", "GET_RTX_FORMAT", "(", "code", ")", ";", "for", "(", "i", "=", "GET_RTX_LENGTH", "(", "code", ")", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "if", "(", "fmt", "[", "i", "]", "==", "'E'", ")", "{", "int", "j", ";", "for", "(", "j", "=", "XVECLEN", "(", "*", "where", ",", "i", ")", "-", "1", ";", "j", ">=", "0", ";", "j", "--", ")", "if", "(", "epilogue_renumber", "(", "&", "(", "XVECEXP", "(", "*", "where", ",", "i", ",", "j", ")", ")", ",", "test", ")", ")", "return", "1", ";", "}", "else", "if", "(", "fmt", "[", "i", "]", "==", "'e'", "&&", "epilogue_renumber", "(", "&", "(", "XEXP", "(", "*", "where", ",", "i", ")", ")", ",", "test", ")", ")", "return", "1", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "1", ",", "if", "any", "of", "the", "registers", "of", "the", "instruction", "are", "%", "l", "[", "0-7", "]", "or", "%", "o", "[", "0-7", "]", ".", "Such", "instructions", "can", "not", "be", "used", "in", "the", "delay", "slot", "of", "return", "insn", "on", "v9", ".", "If", "TEST", "is", "0", ",", "also", "rename", "all", "%", "i", "[", "0-7", "]", "registers", "to", "their", "%", "o", "[", "0-7", "]", "counterparts", "."], "TS_V_token": ["sparc", "0", "0", "8", "24", "1", "24", "32", "0", "0", "0", "0", "1", "1", "1", "0", "0", "1", "1", "0", "1", "0", "1", "1", "0"], "File": "sparc", "Func": "epilogue_renumber", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1826, "Length": 409, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_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", ",", "fp_saved", ";", "local_cum", "=", "*", "get_cumulative_args", "(", "cum", ")", ";", "mips_function_arg_advance", "(", "pack_cumulative_args", "(", "&", "local_cum", ")", ",", "arg", ")", ";", "gp_saved", "=", "MAX_ARGS_IN_REGISTERS", "-", "local_cum", ".", "num_gprs", ";", "fp_saved", "=", "(", "EABI_FLOAT_VARARGS_P", "?", "MAX_ARGS_IN_REGISTERS", "-", "local_cum", ".", "num_fprs", ":", "0", ")", ";", "if", "(", "!", "no_rtl", ")", "{", "if", "(", "gp_saved", ">", "0", ")", "{", "rtx", "ptr", ",", "mem", ";", "ptr", "=", "plus_constant", "(", "Pmode", ",", "virtual_incoming_args_rtx", ",", "REG_PARM_STACK_SPACE", "(", "cfun", "->", "decl", ")", "-", "gp_saved", "*", "UNITS_PER_WORD", ")", ";", "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", "(", "fp_saved", ">", "0", ")", "{", "machine_mode", "mode", ";", "int", "off", ",", "i", ";", "off", "=", "ROUND_DOWN", "(", "-", "gp_saved", "*", "UNITS_PER_WORD", ",", "UNITS_PER_FPVALUE", ")", ";", "off", "-=", "fp_saved", "*", "UNITS_PER_FPREG", ";", "mode", "=", "TARGET_SINGLE_FLOAT", "?", "SFmode", ":", "DFmode", ";", "for", "(", "i", "=", "local_cum", ".", "num_fprs", ";", "i", "<", "MAX_ARGS_IN_REGISTERS", ";", "i", "+=", "MAX_FPRS_PER_FMT", ")", "{", "rtx", "ptr", ",", "mem", ";", "ptr", "=", "plus_constant", "(", "Pmode", ",", "virtual_incoming_args_rtx", ",", "off", ")", ";", "mem", "=", "gen_frame_mem", "(", "mode", ",", "ptr", ")", ";", "set_mem_alias_set", "(", "mem", ",", "get_varargs_alias_set", "(", ")", ")", ";", "mips_emit_move", "(", "mem", ",", "gen_rtx_REG", "(", "mode", ",", "FP_ARG_FIRST", "+", "i", ")", ")", ";", "off", "+=", "UNITS_PER_HWFPVALUE", ";", "}", "}", "}", "if", "(", "REG_PARM_STACK_SPACE", "(", "cfun", "->", "decl", ")", "==", "0", ")", "cfun", "->", "machine", "->", "varargs_size", "=", "(", "gp_saved", "*", "UNITS_PER_WORD", "+", "fp_saved", "*", "UNITS_PER_FPREG", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["mips", "0", "0", "0", "0"], "File": "mips", "Func": "mips_setup_incoming_varargs", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1827, "Length": 281, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "mips_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", "<=", "8", ")", "{", "mips_branch_likely", "=", "(", "final_sequence", "&&", "INSN_ANNULLED_BRANCH_P", "(", "insn", ")", ")", ";", "return", "branch_if_true", ";", "}", "mips_branch_likely", "=", "false", ";", "rtx_code_label", "*", "not_taken", "=", "gen_label_rtx", "(", ")", ";", "taken", "=", "operands", "[", "0", "]", ";", "operands", "[", "0", "]", "=", "not_taken", ";", "output_asm_insn", "(", "branch_if_false", ",", "operands", ")", ";", "if", "(", "final_sequence", ")", "{", "if", "(", "!", "INSN_ANNULLED_BRANCH_P", "(", "insn", ")", ")", "{", "final_scan_insn", "(", "final_sequence", "->", "insn", "(", "1", ")", ",", "asm_out_file", ",", "optimize", ",", "1", ",", "NULL", ")", ";", "final_sequence", "->", "insn", "(", "1", ")", "->", "set_deleted", "(", ")", ";", "}", "else", "output_asm_insn", "(", "\"nop\"", ",", "0", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\n\"", ")", ";", "}", "if", "(", "TARGET_ABSOLUTE_JUMPS", "&&", "TARGET_CB_MAYBE", ")", "{", "if", "(", "!", "final_sequence", ")", "{", "output_asm_insn", "(", "\"nop\\t\\t# hazard nop\"", ",", "0", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\n\"", ")", ";", "}", "output_asm_insn", "(", "MIPS_ABSOLUTE_JUMP", "(", "\"bc\\t%0\"", ")", ",", "&", "taken", ")", ";", "}", "else", "if", "(", "TARGET_ABSOLUTE_JUMPS", ")", "output_asm_insn", "(", "MIPS_ABSOLUTE_JUMP", "(", "\"j\\t%0%/\"", ")", ",", "&", "taken", ")", ";", "else", "{", "mips_output_load_label", "(", "taken", ")", ";", "if", "(", "TARGET_CB_MAYBE", ")", "output_asm_insn", "(", "\"jrc\\t%@%]\"", ",", "0", ")", ";", "else", "output_asm_insn", "(", "\"jr\\t%@%]%/\"", ",", "0", ")", ";", "}", "if", "(", "final_sequence", ")", "{", "if", "(", "INSN_ANNULLED_BRANCH_P", "(", "insn", ")", ")", "{", "final_scan_insn", "(", "final_sequence", "->", "insn", "(", "1", ")", ",", "asm_out_file", ",", "optimize", ",", "1", ",", "NULL", ")", ";", "final_sequence", "->", "insn", "(", "1", ")", "->", "set_deleted", "(", ")", ";", "}", "else", "if", "(", "TARGET_CB_NEVER", ")", "output_asm_insn", "(", "\"nop\"", ",", "0", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\n\"", ")", ";", "}", "targetm", ".", "asm_out", ".", "internal_label", "(", "asm_out_file", ",", "\"L\"", ",", "CODE_LABEL_NUMBER", "(", "not_taken", ")", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "assembly", "instructions", "to", "peform", "a", "conditional", "branch", ".", "INSN", "is", "the", "branch", "instruction", ".", "OPERANDS", "[", "0", "]", "is", "the", "condition", ".", "OPERANDS", "[", "1", "]", "is", "the", "target", "of", "the", "branch", ".", "OPERANDS", "[", "2", "]", "is", "the", "target", "of", "the", "first", "operand", "to", "the", "condition", ".", "If", "TWO_OPERANDS_P", "is", "nonzero", "the", "comparison", "takes", "two", "operands", ";", "OPERANDS", "[", "3", "]", "will", "be", "the", "second", "operand", ".", "If", "INVERTED_P", "is", "nonzero", "we", "are", "to", "branch", "if", "the", "condition", "does", "not", "hold", ".", "If", "FLOAT_P", "is", "nonzero", "this", "is", "a", "floating-point", "comparison", ".", "LENGTH", "is", "the", "length", "(", "in", "bytes", ")", "of", "the", "sequence", "we", "are", "to", "generate", ".", "That", "tells", "us", "whether", "to", "generate", "a", "simple", "conditional", "branch", ",", "or", "a", "reversed", "conditional", "branch", "around", "a", "`", "jr", "'", "instruction", "."], "TS_V_token": ["mips", "0", "8", "0", "0", "1", "1", "1", "\"nop\"", "0", "\"\\n\"", "\"nop\\t\\t# hazard nop\"", "0", "\"\\n\"", "\"bc\\t%0\"", "\"j\\t%0%/\"", "\"jrc\\t%@%]\"", "0", "\"jr\\t%@%]%/\"", "0", "1", "1", "1", "\"nop\"", "0", "\"\\n\"", "\"L\"", "\"\""], "File": "mips", "Func": "mips_output_conditional_branch", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1828, "Length": 330, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTTI", "::", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "OperandValueKind", "Op1Info", ",", "OperandValueKind", "Op2Info", ",", "OperandValueProperties", "Opd1PropInfo", ",", "OperandValueProperties", "Opd2PropInfo", ")", "const", "{", "assert", "(", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", "&&", "\"Invalid opcode\"", ")", ";", "return", "TargetTransformInfo", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "Op1Info", ",", "Op2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ")", ";", "}", ""], "natrual_language": ["This", "is", "an", "approximation", "of", "reciprocal", "throughput", "of", "a", "math/logic", "op", "."], "TS_V_token": ["PowerPC", "PPC", "\"Invalid opcode\""], "File": "PPCTargetTransformInfo26", "Func": "getArithmeticInstrCost", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1829, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "loongarch_hard_regno_mode_ok_uncached", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "unsigned", "int", "size", ";", "enum", "mode_class", "mclass", ";", "if", "(", "mode", "==", "FCCmode", ")", "return", "FCC_REG_P", "(", "regno", ")", ";", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "mclass", "=", "GET_MODE_CLASS", "(", "mode", ")", ";", "if", "(", "GP_REG_P", "(", "regno", ")", ")", "return", "(", "(", "regno", "-", "GP_REG_FIRST", ")", "&", "1", ")", "==", "0", "||", "size", "<=", "UNITS_PER_WORD", ";", "if", "(", "FP_REG_P", "(", "regno", ")", ")", "{", "if", "(", "mclass", "==", "MODE_FLOAT", "||", "mclass", "==", "MODE_COMPLEX_FLOAT", "||", "mclass", "==", "MODE_VECTOR_FLOAT", ")", "return", "size", "<=", "UNITS_PER_FPVALUE", ";", "if", "(", "mclass", "==", "MODE_INT", ")", "return", "size", ">=", "MIN_UNITS_PER_WORD", "&&", "size", "<=", "UNITS_PER_FPREG", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "register", "REGNO", "can", "store", "a", "value", "of", "mode", "MODE", ".", "The", "result", "of", "this", "function", "is", "cached", "in", "loongarch_hard_regno_mode_ok", "."], "TS_V_token": ["loongarch", "1", "0"], "File": "loongarch", "Func": "loongarch_hard_regno_mode_ok_uncached", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1830, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAIXAsmPrinter", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "const", "bool", "Result", "=", "PPCAsmPrinter", "::", "doInitialization", "(", "M", ")", ";", "auto", "setCsectAlignment", "=", "[", "this", "]", "(", "const", "GlobalObject", "*", "GO", ")", "{", "if", "(", "GO", "->", "isDeclarationForLinker", "(", ")", ")", "return", ";", "SectionKind", "GOKind", "=", "getObjFileLowering", "(", ")", ".", "getKindForGlobal", "(", "GO", ",", "TM", ")", ";", "MCSectionXCOFF", "*", "Csect", "=", "cast", "<", "MCSectionXCOFF", ">", "(", "getObjFileLowering", "(", ")", ".", "SectionForGlobal", "(", "GO", ",", "GOKind", ",", "TM", ")", ")", ";", "Align", "GOAlign", "=", "getGVAlignment", "(", "GO", ",", "GO", "->", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ")", ";", "if", "(", "GOAlign", ">", "Csect", "->", "getAlignment", "(", ")", ")", "Csect", "->", "setAlignment", "(", "GOAlign", ")", ";", "}", ";", "for", "(", "const", "auto", "&", "G", ":", "M", ".", "globals", "(", ")", ")", "{", "if", "(", "isSpecialLLVMGlobalArrayToSkip", "(", "&", "G", ")", ")", "continue", ";", "if", "(", "isSpecialLLVMGlobalArrayForStaticInit", "(", "&", "G", ")", ")", "{", "if", "(", "FormatIndicatorAndUniqueModId", ".", "empty", "(", ")", ")", "{", "std", "::", "string", "UniqueModuleId", "=", "getUniqueModuleId", "(", "&", "M", ")", ";", "if", "(", "UniqueModuleId", "!=", "\"\"", ")", "FormatIndicatorAndUniqueModId", "=", "\"clang_\"", "+", "UniqueModuleId", ".", "substr", "(", "1", ")", ";", "else", "FormatIndicatorAndUniqueModId", "=", "\"clangPidTime_\"", "+", "llvm", "::", "itostr", "(", "sys", "::", "Process", "::", "getProcessId", "(", ")", ")", "+", "\"_\"", "+", "llvm", "::", "itostr", "(", "time", "(", "nullptr", ")", ")", ";", "}", "emitSpecialLLVMGlobal", "(", "&", "G", ")", ";", "continue", ";", "}", "setCsectAlignment", "(", "&", "G", ")", ";", "}", "for", "(", "const", "auto", "&", "F", ":", "M", ")", "setCsectAlignment", "(", "&", "F", ")", ";", "for", "(", "const", "auto", "&", "Alias", ":", "M", ".", "aliases", "(", ")", ")", "{", "const", "GlobalObject", "*", "Base", "=", "Alias", ".", "getBaseObject", "(", ")", ";", "if", "(", "!", "Base", ")", "report_fatal_error", "(", "\"alias without a base object is not yet supported on AIX\"", ")", ";", "GOAliasMap", "[", "Base", "]", ".", "push_back", "(", "&", "Alias", ")", ";", "}", "return", "Result", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "\"\"", "\"clang_\"", "1", "\"clangPidTime_\"", "\"_\"", "\"alias without a base object is not yet supported on AIX\""], "File": "PPCAsmPrinter17", "Func": "doInitialization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1831, "Length": 301, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ia64_split_return_addr_rtx", "(", "rtx", "dest", ")", "{", "rtx", "src", ";", "if", "(", "TEST_HARD_REG_BIT", "(", "current_frame_info", ".", "mask", ",", "BR_REG", "(", "0", ")", ")", ")", "{", "if", "(", "current_frame_info", ".", "r", "[", "reg_save_b0", "]", "!=", "0", ")", "{", "src", "=", "gen_rtx_REG", "(", "DImode", ",", "current_frame_info", ".", "r", "[", "reg_save_b0", "]", ")", ";", "reg_emitted", "(", "reg_save_b0", ")", ";", "}", "else", "{", "HOST_WIDE_INT", "off", ";", "unsigned", "int", "regno", ";", "rtx", "off_r", ";", "off", "=", "(", "current_frame_info", ".", "spill_cfa_off", "+", "current_frame_info", ".", "spill_size", ")", ";", "for", "(", "regno", "=", "GR_REG", "(", "1", ")", ";", "regno", "<=", "GR_REG", "(", "31", ")", ";", "++", "regno", ")", "if", "(", "TEST_HARD_REG_BIT", "(", "current_frame_info", ".", "mask", ",", "regno", ")", ")", "off", "-=", "8", ";", "if", "(", "frame_pointer_needed", ")", "src", "=", "hard_frame_pointer_rtx", ";", "else", "{", "src", "=", "stack_pointer_rtx", ";", "off", "+=", "current_frame_info", ".", "total_size", ";", "}", "off_r", "=", "GEN_INT", "(", "off", ")", ";", "if", "(", "satisfies_constraint_I", "(", "off_r", ")", ")", "emit_insn", "(", "gen_adddi3", "(", "dest", ",", "src", ",", "off_r", ")", ")", ";", "else", "{", "emit_move_insn", "(", "dest", ",", "off_r", ")", ";", "emit_insn", "(", "gen_adddi3", "(", "dest", ",", "src", ",", "dest", ")", ")", ";", "}", "src", "=", "gen_rtx_MEM", "(", "Pmode", ",", "dest", ")", ";", "}", "}", "else", "src", "=", "gen_rtx_REG", "(", "DImode", ",", "BR_REG", "(", "0", ")", ")", ";", "emit_move_insn", "(", "dest", ",", "src", ")", ";", "}", ""], "natrual_language": ["Split", "this", "value", "after", "reload", ",", "now", "that", "we", "know", "where", "the", "return", "address", "is", "saved", "."], "TS_V_token": ["ia64", "0", "0", "1", "31", "8", "0"], "File": "ia64", "Func": "ia64_split_return_addr_rtx", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1832, "Length": 216, "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": 1833, "Length": 426, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_use_return_insn_p", "(", "void", ")", "{", "if", "(", "!", "reload_completed", ")", "return", "false", ";", "if", "(", "crtl", "->", "profile", ")", "return", "false", ";", "aarch64_layout_frame", "(", ")", ";", "return", "cfun", "->", "machine", "->", "frame", ".", "frame_size", "==", "0", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "we", "can", "use", "a", "simple_return", "insn", ".", "This", "function", "checks", "whether", "the", "callee", "saved", "stack", "is", "empty", ",", "which", "means", "no", "restore", "actions", "are", "need", ".", "The", "pro_and_epilogue", "will", "use", "this", "to", "check", "whether", "shrink-wrapping", "opt", "is", "feasible", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch642", "Func": "aarch64_use_return_insn_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1834, "Length": 39, "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": 1835, "Length": 43, "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": 1836, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "!", "getMipsSubtarget", "(", ")", ".", "hasMips64", "(", ")", ")", "PM", "->", "add", "(", "createMipsEmitGPRestorePass", "(", "getMipsTargetMachine", "(", ")", ")", ")", ";", "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", "Mips", "Mips"], "File": "MipsTargetMachine59", "Func": "addPreRegAlloc", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1837, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Finish", "(", ")", "{", "const", "size_t", "VendorHeaderSize", "=", "4", "+", "CurrentVendor", ".", "size", "(", ")", "+", "1", ";", "const", "size_t", "TagHeaderSize", "=", "1", "+", "4", ";", "Streamer", ".", "EmitIntValue", "(", "VendorHeaderSize", "+", "TagHeaderSize", "+", "ContentsSize", ",", "4", ")", ";", "Streamer", ".", "EmitBytes", "(", "CurrentVendor", ")", ";", "Streamer", ".", "EmitIntValue", "(", "0", ",", "1", ")", ";", "Streamer", ".", "EmitIntValue", "(", "ARMBuildAttrs", "::", "File", ",", "1", ")", ";", "Streamer", ".", "EmitIntValue", "(", "TagHeaderSize", "+", "ContentsSize", ",", "4", ")", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "Contents", ".", "size", "(", ")", ";", "++", "i", ")", "{", "AttributeItemType", "item", "=", "Contents", "[", "i", "]", ";", "Streamer", ".", "EmitULEB128IntValue", "(", "item", ".", "Tag", ")", ";", "switch", "(", "item", ".", "Type", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Invalid attribute type\"", ")", ";", "case", "AttributeItemType", "::", "NumericAttribute", ":", "Streamer", ".", "EmitULEB128IntValue", "(", "item", ".", "IntValue", ")", ";", "break", ";", "case", "AttributeItemType", "::", "TextAttribute", ":", "Streamer", ".", "EmitBytes", "(", "item", ".", "StringValue", ".", "upper", "(", ")", ")", ";", "Streamer", ".", "EmitIntValue", "(", "0", ",", "1", ")", ";", "break", ";", "}", "}", "Contents", ".", "clear", "(", ")", ";", "}", ""], "natrual_language": ["Finish", "-", "Do", "final", "processing", "and", "write", "the", "object", "to", "the", "output", "stream", "."], "TS_V_token": ["ARM", "4", "1", "1", "4", "4", "0", "1", "ARMBuildAttrs::File", "1", "4", "0", "\"Invalid attribute type\"", "0", "1"], "File": "ARMAsmPrinter109", "Func": "Finish", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1838, "Length": 183, "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": 1839, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sparc_expand_conditional_move", "(", "machine_mode", "mode", ",", "rtx", "*", "operands", ")", "{", "enum", "rtx_code", "rc", "=", "GET_CODE", "(", "operands", "[", "1", "]", ")", ";", "machine_mode", "cmp_mode", ";", "rtx", "cc_reg", ",", "dst", ",", "cmp", ";", "cmp", "=", "operands", "[", "1", "]", ";", "if", "(", "GET_MODE", "(", "XEXP", "(", "cmp", ",", "0", ")", ")", "==", "DImode", "&&", "!", "TARGET_ARCH64", ")", "return", "false", ";", "if", "(", "GET_MODE", "(", "XEXP", "(", "cmp", ",", "0", ")", ")", "==", "TFmode", "&&", "!", "TARGET_HARD_QUAD", ")", "cmp", "=", "sparc_emit_float_lib_cmp", "(", "XEXP", "(", "cmp", ",", "0", ")", ",", "XEXP", "(", "cmp", ",", "1", ")", ",", "rc", ")", ";", "cmp_mode", "=", "GET_MODE", "(", "XEXP", "(", "cmp", ",", "0", ")", ")", ";", "rc", "=", "GET_CODE", "(", "cmp", ")", ";", "dst", "=", "operands", "[", "0", "]", ";", "if", "(", "!", "rtx_equal_p", "(", "operands", "[", "2", "]", ",", "dst", ")", "&&", "!", "rtx_equal_p", "(", "operands", "[", "3", "]", ",", "dst", ")", ")", "{", "if", "(", "reg_overlap_mentioned_p", "(", "dst", ",", "cmp", ")", ")", "dst", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_move_insn", "(", "dst", ",", "operands", "[", "3", "]", ")", ";", "}", "else", "if", "(", "operands", "[", "2", "]", "==", "dst", ")", "{", "operands", "[", "2", "]", "=", "operands", "[", "3", "]", ";", "if", "(", "GET_MODE_CLASS", "(", "cmp_mode", ")", "==", "MODE_FLOAT", ")", "rc", "=", "reverse_condition_maybe_unordered", "(", "rc", ")", ";", "else", "rc", "=", "reverse_condition", "(", "rc", ")", ";", "}", "if", "(", "XEXP", "(", "cmp", ",", "1", ")", "==", "const0_rtx", "&&", "GET_CODE", "(", "XEXP", "(", "cmp", ",", "0", ")", ")", "==", "REG", "&&", "cmp_mode", "==", "DImode", "&&", "v9_regcmp_p", "(", "rc", ")", ")", "cc_reg", "=", "XEXP", "(", "cmp", ",", "0", ")", ";", "else", "cc_reg", "=", "gen_compare_reg_1", "(", "rc", ",", "XEXP", "(", "cmp", ",", "0", ")", ",", "XEXP", "(", "cmp", ",", "1", ")", ")", ";", "cmp", "=", "gen_rtx_fmt_ee", "(", "rc", ",", "GET_MODE", "(", "cc_reg", ")", ",", "cc_reg", ",", "const0_rtx", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dst", ",", "gen_rtx_IF_THEN_ELSE", "(", "mode", ",", "cmp", ",", "operands", "[", "2", "]", ",", "dst", ")", ")", ")", ";", "if", "(", "dst", "!=", "operands", "[", "0", "]", ")", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "dst", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "conditionally", "move", "either", "OPERANDS", "[", "2", "]", "or", "OPERANDS", "[", "3", "]", "into", "OPERANDS", "[", "0", "]", "in", "MODE", ".", "OPERANDS", "[", "1", "]", "is", "the", "operator", "of", "the", "condition", "."], "TS_V_token": ["sparc", "1", "1", "0", "0", "0", "1", "0", "0", "2", "3", "3", "2", "2", "3", "1", "0", "0", "0", "1", "2", "0", "0"], "File": "sparc", "Func": "sparc_expand_conditional_move", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1840, "Length": 346, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLegalBroadcastLoad", "(", "Type", "*", "ElementTy", ",", "ElementCount", "NumElements", ")", "const", "{", "if", "(", "!", "ST", "->", "hasNEON", "(", ")", "||", "NumElements", ".", "isScalable", "(", ")", ")", "return", "false", ";", "switch", "(", "unsigned", "ElementBits", "=", "ElementTy", "->", "getScalarSizeInBits", "(", ")", ")", "{", "case", "8", ":", "case", "16", ":", "case", "32", ":", "case", "64", ":", "{", "unsigned", "VectorBits", "=", "NumElements", ".", "getFixedValue", "(", ")", "*", "ElementBits", ";", "return", "VectorBits", ">=", "64", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["\\Returns", "true", "if", "the", "target", "supports", "broadcasting", "a", "load", "to", "a", "vector", "of", "type", "<", "NumElements", "x", "ElementTy", ">", "."], "TS_V_token": ["AArch64", "8", "16", "32", "64", "64"], "File": "AArch64TargetTransformInfo23", "Func": "isLegalBroadcastLoad", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1841, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64ExpandPseudo", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "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": ["AArch64", "AArch64", "AArch64"], "File": "AArch64ExpandPseudoInsts (2)", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1842, "Length": 54, "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": 1843, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCLinuxAsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "const", "TargetData", "*", "TD", "=", "TM", ".", "getTargetData", "(", ")", ";", "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", "(", "DenseMap", "<", "MCSymbol", "*", ",", "MCSymbol", "*", ">", "::", "iterator", "I", "=", "TOC", ".", "begin", "(", ")", ",", "E", "=", "TOC", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "OutStreamer", ".", "EmitLabel", "(", "I", "->", "second", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "\"\\t.tc \"", "+", "Twine", "(", "I", "->", "first", "->", "getName", "(", ")", ")", "+", "\"[TC],\"", "+", "I", "->", "first", "->", "getName", "(", ")", ")", ";", "}", "}", "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\"", "\"\\t.tc \"", "\"[TC],\""], "File": "PPCAsmPrinter127", "Func": "doFinalization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1844, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMAsmBackend", "::", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "{", "unsigned", "RelaxedOp", "=", "getRelaxedOpcode", "(", "Inst", ".", "getOpcode", "(", ")", ")", ";", "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", "(", ")", ")", ";", "}", "if", "(", "(", "Inst", ".", "getOpcode", "(", ")", "==", "ARM", "::", "tCBZ", "||", "Inst", ".", "getOpcode", "(", ")", "==", "ARM", "::", "tCBNZ", ")", "&&", "RelaxedOp", "==", "ARM", "::", "tHINT", ")", "{", "Res", ".", "setOpcode", "(", "RelaxedOp", ")", ";", "Res", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "0", ")", ")", ";", "Res", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "14", ")", ")", ";", "Res", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "0", ")", ")", ";", "return", ";", "}", "Res", "=", "Inst", ";", "Res", ".", "setOpcode", "(", "RelaxedOp", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["ARM", "ARM", "256", "\"\\n\"", "\"unexpected instruction to relax: \"", "ARM::tCBZ", "ARM::tCBNZ", "ARM::tHINT", "0", "14", "0"], "File": "ARMAsmBackend (2)1", "Func": "relaxInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1845, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_valid_target_attribute_p", "(", "tree", "fndecl", ",", "tree", "ARG_UNUSED", "(", "name", ")", ",", "tree", "args", ",", "int", "ARG_UNUSED", "(", "flags", ")", ")", "{", "struct", "gcc_options", "func_options", ";", "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", ")", ";", "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", ")", ";", "cl_optimization_restore", "(", "&", "func_options", ",", "TREE_OPTIMIZATION", "(", "func_optimize", ")", ")", ";", "cl_target_option_restore", "(", "&", "func_options", ",", "TREE_TARGET_OPTION", "(", "target_option_default_node", ")", ")", ";", "new_target", "=", "ix86_valid_target_attribute_tree", "(", "args", ",", "&", "func_options", ",", "&", "global_options_set", ")", ";", "new_optimize", "=", "build_optimization_node", "(", "&", "func_options", ")", ";", "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"], "File": "i3864", "Func": "ix86_valid_target_attribute_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1846, "Length": 220, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "MipsInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "MipsInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "!", "StackSize", ")", "return", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "Move32R16", ")", ",", "Mips", "::", "SP", ")", ".", "addReg", "(", "Mips", "::", "S0", ")", ";", "if", "(", "isInt", "<", "16", ">", "(", "StackSize", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "RestoreRaF16", ")", ")", ".", "addImm", "(", "StackSize", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips::Move32R16", "Mips::SP", "Mips::S0", "16", "Mips::RestoreRaF16"], "File": "Mips16FrameLowering28", "Func": "emitEpilogue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1847, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "IncomingValueHandler", "::", "assignValueToAddress", "(", "Register", "ValVReg", ",", "const", "CCValAssign", "&", "VA", ")", "{", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "SExt", "||", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "ZExt", "||", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "AExt", ")", "{", "auto", "Load", "=", "buildLoad", "(", "LLT", "::", "scalar", "(", "32", ")", ",", "VA", ")", ";", "MIRBuilder", ".", "buildTrunc", "(", "ValVReg", ",", "Load", ")", ";", "}", "else", "buildLoad", "(", "ValVReg", ",", "VA", ")", ";", "}", ""], "natrual_language": ["An", "overload", "which", "takes", "an", "ArgInfo", "if", "additional", "information", "about", "the", "arg", "is", "needed", "."], "TS_V_token": ["Mips", "32"], "File": "MipsCallLowering23", "Func": "assignValueToAddress", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1848, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTTIImpl", "::", "isLSRCostLess", "(", "TargetTransformInfo", "::", "LSRCost", "&", "C1", ",", "TargetTransformInfo", "::", "LSRCost", "&", "C2", ")", "{", "if", "(", "!", "LsrNoInsnsCost", ")", "return", "std", "::", "tie", "(", "C1", ".", "Insns", ",", "C1", ".", "NumRegs", ",", "C1", ".", "AddRecCost", ",", "C1", ".", "NumIVMuls", ",", "C1", ".", "NumBaseAdds", ",", "C1", ".", "ScaleCost", ",", "C1", ".", "ImmCost", ",", "C1", ".", "SetupCost", ")", "<", "std", "::", "tie", "(", "C2", ".", "Insns", ",", "C2", ".", "NumRegs", ",", "C2", ".", "AddRecCost", ",", "C2", ".", "NumIVMuls", ",", "C2", ".", "NumBaseAdds", ",", "C2", ".", "ScaleCost", ",", "C2", ".", "ImmCost", ",", "C2", ".", "SetupCost", ")", ";", "else", "return", "TargetTransformInfoImplBase", "::", "isLSRCostLess", "(", "C1", ",", "C2", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "LSR", "cost", "of", "C1", "is", "lower", "than", "C2", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCTargetTransformInfo1", "Func": "isLSRCostLess", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1849, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCRegisterInfo", "::", "lowerQuadwordSpilling", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "unsigned", "FrameIndex", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "Register", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "bool", "IsKilled", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "isKill", "(", ")", ";", "Register", "Reg", "=", "PPC", "::", "X0", "+", "(", "SrcReg", "-", "PPC", "::", "G8p0", ")", "*", "2", ";", "bool", "IsLittleEndian", "=", "Subtarget", ".", "isLittleEndian", "(", ")", ";", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "TII", ".", "get", "(", "PPC", "::", "STD", ")", ")", ".", "addReg", "(", "Reg", ",", "getKillRegState", "(", "IsKilled", ")", ")", ",", "FrameIndex", ",", "IsLittleEndian", "?", "8", ":", "0", ")", ";", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "TII", ".", "get", "(", "PPC", "::", "STD", ")", ")", ".", "addReg", "(", "Reg", "+", "1", ",", "getKillRegState", "(", "IsKilled", ")", ")", ",", "FrameIndex", ",", "IsLittleEndian", "?", "0", ":", "8", ")", ";", "MBB", ".", "erase", "(", "II", ")", ";", "}", ""], "natrual_language": ["lowerQuadwordSpilling", "-", "Generate", "code", "to", "spill", "paired", "general", "register", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "0", "0", "PPC::X0", "PPC::G8p0", "2", "PPC::STD", "8", "0", "PPC::STD", "1", "0", "8"], "File": "PPCRegisterInfo (2)3", "Func": "lowerQuadwordSpilling", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1850, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "gen_pop", "(", "rtx", "arg", ")", "{", "if", "(", "REG_P", "(", "arg", ")", "&&", "GET_MODE", "(", "arg", ")", "!=", "word_mode", ")", "arg", "=", "gen_rtx_REG", "(", "word_mode", ",", "REGNO", "(", "arg", ")", ")", ";", "return", "gen_rtx_SET", "(", "VOIDmode", ",", "arg", ",", "gen_rtx_MEM", "(", "word_mode", ",", "gen_rtx_POST_INC", "(", "Pmode", ",", "stack_pointer_rtx", ")", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "an", "``", "pop", "''", "pattern", "for", "input", "ARG", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "gen_pop", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1851, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_sve_float_arith_immediate_p", "(", "rtx", "x", ",", "bool", "negate_p", ")", "{", "rtx", "elt", ";", "REAL_VALUE_TYPE", "r", ";", "if", "(", "!", "const_vec_duplicate_p", "(", "x", ",", "&", "elt", ")", "||", "!", "CONST_DOUBLE_P", "(", "elt", ")", ")", "return", "false", ";", "r", "=", "*", "CONST_DOUBLE_REAL_VALUE", "(", "elt", ")", ";", "if", "(", "negate_p", ")", "r", "=", "real_value_negate", "(", "&", "r", ")", ";", "if", "(", "real_equal", "(", "&", "r", ",", "&", "dconst1", ")", ")", "return", "true", ";", "if", "(", "real_equal", "(", "&", "r", ",", "&", "dconsthalf", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "valid", "immediate", "operand", "for", "an", "SVE", "FADD", "or", "FSUB", "instruction", ".", "Negate", "X", "first", "if", "NEGATE_P", "is", "true", "."], "TS_V_token": ["aarch64"], "File": "aarch641", "Func": "aarch64_sve_float_arith_immediate_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1852, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "e8_consumed_by_addr_in_p", "(", "rtx_insn", "*", "consumer", ",", "rtx", "def_reg", ")", "{", "return", "n8_consumed_by_addr_in_p", "(", "consumer", ",", "def_reg", ")", ";", "}", ""], "natrual_language": ["Check", "the", "dependency", "between", "the", "producer", "defining", "DEF_REG", "and", "CONSUMER", "requiring", "input", "operand", "at", "AG", "(", "II", ")", "."], "TS_V_token": ["nds32"], "File": "nds32-pipelines-auxiliary", "Func": "e8_consumed_by_addr_in_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1853, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPreLegalizeMachineIR", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createAArch64O0PreLegalizerCombiner", "(", ")", ")", ";", "else", "addPass", "(", "createAArch64PreLegalizerCombiner", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "legalization", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine1", "Func": "addPreLegalizeMachineIR", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1854, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_move_integer", "(", "rtx", "temp", ",", "rtx", "dest", ",", "unsigned", "HOST_WIDE_INT", "value", ")", "{", "struct", "mips_integer_op", "codes", "[", "MIPS_MAX_INTEGER_OPS", "]", ";", "machine_mode", "mode", ";", "unsigned", "int", "i", ",", "num_ops", ";", "rtx", "x", ";", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "num_ops", "=", "mips_build_integer", "(", "codes", ",", "value", ")", ";", "x", "=", "GEN_INT", "(", "codes", "[", "0", "]", ".", "value", ")", ";", "for", "(", "i", "=", "1", ";", "i", "<", "num_ops", ";", "i", "++", ")", "{", "if", "(", "!", "can_create_pseudo_p", "(", ")", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "temp", ",", "x", ")", ")", ";", "x", "=", "temp", ";", "}", "else", "x", "=", "force_reg", "(", "mode", ",", "x", ")", ";", "x", "=", "gen_rtx_fmt_ee", "(", "codes", "[", "i", "]", ".", "code", ",", "mode", ",", "x", ",", "GEN_INT", "(", "codes", "[", "i", "]", ".", "value", ")", ")", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "x", ")", ")", ";", "}", ""], "natrual_language": ["Move", "VALUE", "into", "register", "DEST", "."], "TS_V_token": ["mips", "0", "1"], "File": "mips4", "Func": "mips_move_integer", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1855, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"AArch64 Post Select Optimizer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64", "\"AArch64 Post Select Optimizer\""], "File": "AArch64PostSelectOptimize", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1856, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_print_isa_options", "(", "FILE", "*", "file", ",", "int", "indent", ",", "const", "char", "*", "string", ",", "HOST_WIDE_INT", "flags", ")", "{", "rs6000_print_options_internal", "(", "file", ",", "indent", ",", "string", ",", "flags", ",", "\"-m\"", ",", "&", "rs6000_opt_masks", "[", "0", "]", ",", "ARRAY_SIZE", "(", "rs6000_opt_masks", ")", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "print", "the", "current", "isa", "options", "on", "a", "line", "."], "TS_V_token": ["powerpcspe", "\"-m\"", "0"], "File": "powerpcspe", "Func": "rs6000_print_isa_options", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1857, "Length": 45, "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", ";", "}", "else", "data", "->", "int_regs", "=", "true", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "function_arg_slotno", ".", "Classify", "the", "field", "."], "TS_V_token": ["sparc"], "File": "sparc5", "Func": "classify_registers", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1858, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{", "return", "createMipsELFObjectWriter", "(", "OS", ",", "OSType", ",", "IsLittle", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsAsmBackend66", "Func": "createObjectWriter", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1859, "Length": 21, "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": 1860, "Length": 105, "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", ")", ",", "HasAES", "(", "false", ")", ",", "HasFMA3", "(", "false", ")", ",", "HasFMA4", "(", "false", ")", ",", "IsBTMemSlow", "(", "false", ")", ",", "IsUAMemFast", "(", "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", ";", "HasCMov", "=", "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": "X86Subtarget10", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1861, "Length": 450, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "AArch64RegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "getInstrInfo", "(", ")", "->", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64Subtarget (2)", "Func": "getRegisterInfo", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1862, "Length": 20, "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": "PPCFrameLowering19", "Func": "determineFrameLayout", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1863, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_fp_comparison_cost", "(", "enum", "rtx_code", "code", ")", "{", "int", "arith_cost", ";", "switch", "(", "code", ")", "{", "case", "UNLE", ":", "case", "UNLT", ":", "case", "LTGT", ":", "case", "GT", ":", "case", "GE", ":", "case", "UNORDERED", ":", "case", "ORDERED", ":", "case", "UNEQ", ":", "arith_cost", "=", "4", ";", "break", ";", "case", "LT", ":", "case", "NE", ":", "case", "EQ", ":", "case", "UNGE", ":", "arith_cost", "=", "TARGET_IEEE_FP", "?", "5", ":", "4", ";", "break", ";", "case", "LE", ":", "case", "UNGT", ":", "arith_cost", "=", "TARGET_IEEE_FP", "?", "6", ":", "4", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "switch", "(", "ix86_fp_comparison_strategy", "(", "code", ")", ")", "{", "case", "IX86_FPCMP_COMI", ":", "return", "arith_cost", ">", "4", "?", "3", ":", "2", ";", "case", "IX86_FPCMP_SAHF", ":", "return", "arith_cost", ">", "4", "?", "4", ":", "3", ";", "default", ":", "return", "arith_cost", ";", "}", "}", ""], "natrual_language": ["Compute", "cost", "of", "the", "comparison", "done", "using", "any", "method", ".", "See", "ix86_fp_comparison_arithmetics_cost", "for", "the", "metrics", "."], "TS_V_token": ["i386", "4", "5", "4", "6", "4", "4", "3", "2", "4", "4", "3"], "File": "i386-expand", "Func": "ix86_fp_comparison_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1864, "Length": 131, "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_EXT_PERF", "&&", "(", "one_bit_count", "==", "1", ")", ")", ";", "}", ""], "natrual_language": ["Function", "to", "check", "if", "'bclr", "'", "instruction", "can", "be", "used", "with", "IVAL", "."], "TS_V_token": ["nds32", "1"], "File": "nds32-predicates5", "Func": "nds32_can_use_bclr_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1865, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16DAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "static_cast", "<", "const", "MipsSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "if", "(", "!", "Subtarget", "->", "inMips16Mode", "(", ")", ")", "return", "false", ";", "return", "MipsDAGToDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips"], "File": "Mips16ISelDAGToDAG (2)", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1866, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "InstrItineraryData", "&", "getInstrItineraryData", "(", ")", "const", "{", "return", "InstrItins", ";", "}", ""], "natrual_language": ["getInstrItineraryData", "-", "Returns", "instruction", "itinerary", "data", "for", "the", "target", "or", "specific", "subtarget", "."], "TS_V_token": ["Mips"], "File": "MipsSubtarget (2)", "Func": "getInstrItineraryData", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1867, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ")", "{", "if", "(", "!", "ST", "->", "isMClass", "(", ")", ")", "return", "BasicTTIImplBase", "::", "getUnrollingPreferences", "(", "L", ",", "SE", ",", "UP", ")", ";", "UP", ".", "OptSizeThreshold", "=", "0", ";", "UP", ".", "PartialOptSizeThreshold", "=", "0", ";", "if", "(", "L", "->", "getHeader", "(", ")", "->", "getParent", "(", ")", "->", "hasOptSize", "(", ")", ")", "return", ";", "if", "(", "!", "ST", "->", "isThumb2", "(", ")", ")", "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", ";", "unsigned", "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", ".", "value_op_begin", "(", ")", ",", "I", ".", "value_op_end", "(", ")", ")", ";", "Cost", "+=", "getUserCost", "(", "&", "I", ",", "Operands", ",", "TargetTransformInfo", "::", "TCK_SizeAndLatency", ")", ";", "}", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Cost of loop: \"", "<<", "Cost", "<<", "\"\\n\"", ")", ";", "UP", ".", "Partial", "=", "true", ";", "UP", ".", "Runtime", "=", "true", ";", "UP", ".", "UpperBound", "=", "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", "0", "4", "\"Cost of loop: \"", "\"\\n\"", "4", "60", "12"], "File": "ARMTargetTransformInfo3", "Func": "getUnrollingPreferences", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1868, "Length": 359, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "::", "HazardType", "PPCHazardRecognizer970", "::", "getHazardType", "(", "SUnit", "*", "SU", ")", "{", "const", "SDNode", "*", "Node", "=", "SU", "->", "getNode", "(", ")", "->", "getFlaggedMachineNode", "(", ")", ";", "bool", "isFirst", ",", "isSingle", ",", "isCracked", ",", "isLoad", ",", "isStore", ";", "PPCII", "::", "PPC970_Unit", "InstrType", "=", "GetInstrType", "(", "Node", "->", "getOpcode", "(", ")", ",", "isFirst", ",", "isSingle", ",", "isCracked", ",", "isLoad", ",", "isStore", ")", ";", "if", "(", "InstrType", "==", "PPCII", "::", "PPC970_Pseudo", ")", "return", "NoHazard", ";", "unsigned", "Opcode", "=", "Node", "->", "getMachineOpcode", "(", ")", ";", "if", "(", "NumIssued", "!=", "0", "&&", "(", "isFirst", "||", "isSingle", ")", ")", "return", "Hazard", ";", "if", "(", "isCracked", "&&", "NumIssued", ">", "2", ")", "return", "Hazard", ";", "switch", "(", "InstrType", ")", "{", "default", ":", "assert", "(", "0", "&&", "\"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_Macho", "||", "Opcode", "==", "PPC", "::", "BCTRL_ELF", ")", ")", "return", "NoopHazard", ";", "if", "(", "isLoad", "&&", "NumStores", ")", "{", "unsigned", "LoadSize", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "assert", "(", "0", "&&", "\"Unknown load!\"", ")", ";", "case", "PPC", "::", "LBZ", ":", "case", "PPC", "::", "LBZU", ":", "case", "PPC", "::", "LBZX", ":", "case", "PPC", "::", "LBZ8", ":", "case", "PPC", "::", "LBZU8", ":", "case", "PPC", "::", "LBZX8", ":", "case", "PPC", "::", "LVEBX", ":", "LoadSize", "=", "1", ";", "break", ";", "case", "PPC", "::", "LHA", ":", "case", "PPC", "::", "LHAU", ":", "case", "PPC", "::", "LHAX", ":", "case", "PPC", "::", "LHZ", ":", "case", "PPC", "::", "LHZU", ":", "case", "PPC", "::", "LHZX", ":", "case", "PPC", "::", "LVEHX", ":", "case", "PPC", "::", "LHBRX", ":", "case", "PPC", "::", "LHA8", ":", "case", "PPC", "::", "LHAU8", ":", "case", "PPC", "::", "LHAX8", ":", "case", "PPC", "::", "LHZ8", ":", "case", "PPC", "::", "LHZU8", ":", "case", "PPC", "::", "LHZX8", ":", "LoadSize", "=", "2", ";", "break", ";", "case", "PPC", "::", "LFS", ":", "case", "PPC", "::", "LFSU", ":", "case", "PPC", "::", "LFSX", ":", "case", "PPC", "::", "LWZ", ":", "case", "PPC", "::", "LWZU", ":", "case", "PPC", "::", "LWZX", ":", "case", "PPC", "::", "LWA", ":", "case", "PPC", "::", "LWAX", ":", "case", "PPC", "::", "LVEWX", ":", "case", "PPC", "::", "LWBRX", ":", "case", "PPC", "::", "LWZ8", ":", "case", "PPC", "::", "LWZX8", ":", "LoadSize", "=", "4", ";", "break", ";", "case", "PPC", "::", "LFD", ":", "case", "PPC", "::", "LFDU", ":", "case", "PPC", "::", "LFDX", ":", "case", "PPC", "::", "LD", ":", "case", "PPC", "::", "LDU", ":", "case", "PPC", "::", "LDX", ":", "LoadSize", "=", "8", ";", "break", ";", "case", "PPC", "::", "LVX", ":", "case", "PPC", "::", "LVXL", ":", "LoadSize", "=", "16", ";", "break", ";", "}", "if", "(", "isLoadOfStoredAddress", "(", "LoadSize", ",", "Node", "->", "getOperand", "(", "0", ")", ",", "Node", "->", "getOperand", "(", "1", ")", ")", ")", "return", "NoopHazard", ";", "}", "return", "NoHazard", ";", "}", ""], "natrual_language": ["getHazardType", "-", "Return", "the", "hazard", "type", "of", "emitting", "this", "node", "."], "TS_V_token": ["PowerPC", "PPC", "PPCII::PPC970_Unit", "PPCII::PPC970_Pseudo", "0", "2", "0", "\"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_Macho", "PPC::BCTRL_ELF", "0", "\"Unknown load!\"", "PPC::LBZ", "PPC::LBZU", "PPC::LBZX", "PPC::LBZ8", "PPC::LBZU8", "PPC::LBZX8", "PPC::LVEBX", "1", "PPC::LHA", "PPC::LHAU", "PPC::LHAX", "PPC::LHZ", "PPC::LHZU", "PPC::LHZX", "PPC::LVEHX", "PPC::LHBRX", "PPC::LHA8", "PPC::LHAU8", "PPC::LHAX8", "PPC::LHZ8", "PPC::LHZU8", "PPC::LHZX8", "2", "PPC::LFS", "PPC::LFSU", "PPC::LFSX", "PPC::LWZ", "PPC::LWZU", "PPC::LWZX", "PPC::LWA", "PPC::LWAX", "PPC::LVEWX", "PPC::LWBRX", "PPC::LWZ8", "PPC::LWZX8", "4", "PPC::LFD", "PPC::LFDU", "PPC::LFDX", "PPC::LD", "PPC::LDU", "PPC::LDX", "8", "PPC::LVX", "PPC::LVXL", "16", "0", "1"], "File": "PPCHazardRecognizers19", "Func": "getHazardType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1869, "Length": 492, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "n13_consumed_by_e1_dep_p", "(", "rtx_insn", "*", "consumer", ",", "rtx", "def_reg", ")", "{", "rtx", "use_rtx", ";", "switch", "(", "get_attr_type", "(", "consumer", ")", ")", "{", "case", "TYPE_ALU", ":", "return", "n13_alu_e1_insn_dep_reg_p", "(", "consumer", ",", "def_reg", ")", ";", "case", "TYPE_PBSADA", ":", "return", "pbsada_insn_ra_rb_dep_reg_p", "(", "consumer", ",", "def_reg", ")", ";", "case", "TYPE_PBSAD", ":", "case", "TYPE_MUL", ":", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "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_BRANCH", ":", "use_rtx", "=", "extract_branch_target_rtx", "(", "consumer", ")", ";", "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", ";", "default", ":", "return", "false", ";", "}", "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", "E1", ".", "Because", "the", "address", "generation", "unti", "is", "at", "E1", ",", "the", "address", "input", "should", "be", "ready", "at", "E1", ".", "Note", "that", "the", "branch", "target", "is", "also", "a", "kind", "of", "addresses", ",", "so", "we", "have", "to", "check", "it", "."], "TS_V_token": ["nds32", "0"], "File": "nds32-pipelines-auxiliary", "Func": "n13_consumed_by_e1_dep_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1870, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ",", "Instruction", "*", "I", ")", "const", "{", "if", "(", "AM", ".", "BaseGV", ")", "return", "false", ";", "if", "(", "isCheriPointer", "(", "AS", ",", "&", "DL", ")", ")", "{", "switch", "(", "AM", ".", "Scale", ")", "{", "case", "0", ":", "case", "1", ":", "return", "true", ";", "default", ":", "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", "0", "1"], "File": "MipsISelLowering66", "Func": "isLegalAddressingMode", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1871, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMFixCortexA57AES1742098", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** ARMFixCortexA57AES1742098 *****\\n\"", ")", ";", "auto", "&", "STI", "=", "F", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "if", "(", "!", "STI", ".", "hasAES", "(", ")", "||", "!", "STI", ".", "fixCortexA57AES1742098", "(", ")", ")", "return", "false", ";", "const", "ARMBaseRegisterInfo", "*", "TRI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "const", "ARMBaseInstrInfo", "*", "TII", "=", "STI", ".", "getInstrInfo", "(", ")", ";", "auto", "&", "RDA", "=", "getAnalysis", "<", "ReachingDefAnalysis", ">", "(", ")", ";", "SmallVector", "<", "AESFixupLocation", ">", "FixupLocsForFn", "{", "}", ";", "analyzeMF", "(", "F", ",", "RDA", ",", "TRI", ",", "FixupLocsForFn", ")", ";", "bool", "Changed", "=", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Inserting \"", "<<", "FixupLocsForFn", ".", "size", "(", ")", "<<", "\" fixup(s)\\n\"", ")", ";", "for", "(", "AESFixupLocation", "&", "FixupLoc", ":", "FixupLocsForFn", ")", "{", "insertAESFixup", "(", "FixupLoc", ",", "TII", ",", "TRI", ")", ";", "Changed", "|=", "true", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "\"***** ARMFixCortexA57AES1742098 *****\\n\"", "ARM", "ARM", "ARM", "\"Inserting \"", "\" fixup(s)\\n\""], "File": "ARMFixCortexA57AES1742098Pass", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1872, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsELFStreamer", "::", "EmitInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "MCELFStreamer", "::", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "MCContext", "&", "Context", "=", "getContext", "(", ")", ";", "const", "MCRegisterInfo", "*", "MCRegInfo", "=", "Context", ".", "getRegisterInfo", "(", ")", ";", "MipsTargetELFStreamer", "*", "ELFTargetStreamer", "=", "static_cast", "<", "MipsTargetELFStreamer", "*", ">", "(", "getTargetStreamer", "(", ")", ")", ";", "for", "(", "unsigned", "OpIndex", "=", "0", ";", "OpIndex", "<", "Inst", ".", "getNumOperands", "(", ")", ";", "++", "OpIndex", ")", "{", "const", "MCOperand", "&", "Op", "=", "Inst", ".", "getOperand", "(", "OpIndex", ")", ";", "if", "(", "!", "Op", ".", "isReg", "(", ")", ")", "continue", ";", "unsigned", "Reg", "=", "Op", ".", "getReg", "(", ")", ";", "RegInfoRecord", "->", "SetPhysRegUsed", "(", "Reg", ",", "MCRegInfo", ")", ";", "}", "if", "(", "ELFTargetStreamer", "->", "isMicroMipsEnabled", "(", ")", ")", "{", "for", "(", "auto", "Label", ":", "Labels", ")", "{", "MCSymbolData", "&", "Data", "=", "getOrCreateSymbolData", "(", "Label", ")", ";", "MCELF", "::", "setOther", "(", "Data", ",", "ELF", "::", "STO_MIPS_MICROMIPS", ">>", "2", ")", ";", "}", "}", "Labels", ".", "clear", "(", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "0", "Mips", "2"], "File": "MipsELFStreamer21", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1873, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "find_sole_member", "(", "tree", "type", ")", "{", "tree", "field", ",", "member", "=", "NULL_TREE", ";", "for", "(", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";", "field", ";", "field", "=", "DECL_CHAIN", "(", "field", ")", ")", "{", "if", "(", "TREE_CODE", "(", "field", ")", "!=", "FIELD_DECL", ")", "continue", ";", "if", "(", "!", "DECL_SIZE", "(", "field", ")", ")", "return", "NULL_TREE", ";", "if", "(", "integer_zerop", "(", "DECL_SIZE", "(", "field", ")", ")", ")", "continue", ";", "if", "(", "member", ")", "return", "NULL_TREE", ";", "member", "=", "field", ";", "}", "return", "member", ";", "}", ""], "natrual_language": ["TYPE", "is", "a", "RECORD_TYPE", ".", "If", "there", "is", "only", "a", "single", "non-zero-sized", "member", ",", "return", "it", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "find_sole_member", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1874, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsDAGToDAGISel", "::", "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\"", ")", ";", "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", "\"Selecting: \"", "\"\\n\"", "\"== \"", "\"\\n\"", "1", "ISD::GLOBAL_OFFSET_TABLE", "ISD::LOAD", "ISD::STORE", "8", "\"Unexpected unaligned loads/stores.\""], "File": "MipsISelDAGToDAG14", "Func": "Select", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1875, "Length": 179, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "VEInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "VE", "::", "LDrii", "||", "MI", ".", "getOpcode", "(", ")", "==", "VE", "::", "LDLSXrii", "||", "MI", ".", "getOpcode", "(", ")", "==", "VE", "::", "LDUrii", ")", "{", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isFI", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "0", "&&", "MI", ".", "getOperand", "(", "3", ")", ".", "isImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "3", ")", ".", "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": ["VE", "VE", "VE::LDrii", "VE::LDLSXrii", "VE::LDUrii", "1", "2", "2", "0", "3", "3", "0", "1", "0", "0"], "File": "VEInstrInfo1", "Func": "isLoadFromStackSlot", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1876, "Length": 142, "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": 1877, "Length": 244, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "rs6000_data_alignment", "(", "tree", "type", ",", "unsigned", "int", "align", ",", "enum", "data_align", "how", ")", "{", "if", "(", "how", "!=", "align_opt", ")", "{", "if", "(", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", ")", "{", "if", "(", "(", "TARGET_SPE", "&&", "SPE_VECTOR_MODE", "(", "TYPE_MODE", "(", "type", ")", ")", ")", "||", "(", "TARGET_PAIRED_FLOAT", "&&", "PAIRED_VECTOR_MODE", "(", "TYPE_MODE", "(", "type", ")", ")", ")", ")", "{", "if", "(", "align", "<", "64", ")", "align", "=", "64", ";", "}", "else", "if", "(", "align", "<", "128", ")", "align", "=", "128", ";", "}", "else", "if", "(", "TARGET_E500_DOUBLE", "&&", "TREE_CODE", "(", "type", ")", "==", "REAL_TYPE", "&&", "TYPE_MODE", "(", "type", ")", "==", "DFmode", ")", "{", "if", "(", "align", "<", "64", ")", "align", "=", "64", ";", "}", "}", "if", "(", "how", "!=", "align_abi", ")", "{", "if", "(", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", "&&", "TYPE_MODE", "(", "TREE_TYPE", "(", "type", ")", ")", "==", "QImode", ")", "{", "if", "(", "align", "<", "BITS_PER_WORD", ")", "align", "=", "BITS_PER_WORD", ";", "}", "}", "return", "align", ";", "}", ""], "natrual_language": ["Return", "alignment", "of", "TYPE", ".", "Existing", "alignment", "is", "ALIGN", ".", "HOW", "selects", "whether", "the", "alignment", "is", "abi", "mandated", ",", "optional", ",", "or", "both", "abi", "and", "optional", "alignment", "."], "TS_V_token": ["rs6000", "64", "64", "128", "128", "64", "64"], "File": "rs60004", "Func": "rs6000_data_alignment", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1878, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sparc_function_value_1", "(", "const_tree", "type", ",", "machine_mode", "mode", ",", "bool", "outgoing", ")", "{", "int", "regbase", "=", "(", "outgoing", "?", "SPARC_INCOMING_INT_ARG_FIRST", ":", "SPARC_OUTGOING_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", ",", "SPARC_FP_ARG_FIRST", ")", ";", "mclass", "=", "MODE_FLOAT", ";", "}", "if", "(", "TARGET_ARCH64", "&&", "type", ")", "{", "if", "(", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", ")", "{", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "gcc_assert", "(", "size", "<=", "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", "(", "mclass", "==", "MODE_FLOAT", "||", "mclass", "==", "MODE_COMPLEX_FLOAT", ")", ";", "else", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "gcc_assert", "(", "size", "<=", "32", ")", ";", "mode", "=", "int_mode_for_size", "(", "size", "*", "BITS_PER_UNIT", ",", "0", ")", ".", "else_blk", "(", ")", ";", "if", "(", "mode", "==", "BLKmode", ")", "return", "function_arg_union_value", "(", "size", ",", "mode", ",", "0", ",", "regbase", ")", ";", "else", "mclass", "=", "MODE_INT", ";", "}", "else", "if", "(", "mclass", "==", "MODE_INT", "&&", "GET_MODE_SIZE", "(", "mode", ")", "<", "UNITS_PER_WORD", ")", "mode", "=", "word_mode", ";", "}", "else", "if", "(", "TARGET_ARCH32", "&&", "!", "(", "type", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "&&", "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", "TARGET_FUNCTION_VALUE", ",", "and", "TARGET_LIBCALL_VALUE", "target", "hook", ".", "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": "sparc7", "Func": "sparc_function_value_1", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1879, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sparc_delegitimize_address", "(", "rtx", "x", ")", "{", "x", "=", "delegitimize_mem_from_attrs", "(", "x", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "LO_SUM", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "UNSPEC", ")", "switch", "(", "XINT", "(", "XEXP", "(", "x", ",", "1", ")", ",", "1", ")", ")", "{", "case", "UNSPEC_MOVE_PIC", ":", "case", "UNSPEC_TLSLE", ":", "x", "=", "XVECEXP", "(", "XEXP", "(", "x", ",", "1", ")", ",", "0", ",", "0", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", ")", ";", "break", ";", "default", ":", "break", ";", "}", "if", "(", "GET_CODE", "(", "x", ")", "==", "MINUS", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "PIC_OFFSET_TABLE_REGNUM", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "LO_SUM", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "x", ",", "1", ")", ",", "1", ")", ")", "==", "UNSPEC", "&&", "XINT", "(", "XEXP", "(", "XEXP", "(", "x", ",", "1", ")", ",", "1", ")", ",", "1", ")", "==", "UNSPEC_MOVE_PIC_LABEL", ")", "{", "x", "=", "XVECEXP", "(", "XEXP", "(", "XEXP", "(", "x", ",", "1", ")", ",", "1", ")", ",", "0", ",", "0", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", ")", ";", "}", "return", "x", ";", "}", ""], "natrual_language": ["Delegitimize", "an", "address", "that", "was", "legitimized", "by", "the", "above", "function", "."], "TS_V_token": ["sparc", "1", "1", "1", "1", "0", "0", "0", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "0"], "File": "sparc4", "Func": "sparc_delegitimize_address", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1880, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"ARM64 Address Type Promotion\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM64", "\"ARM64 Address Type Promotion\""], "File": "ARM64AddressTypePromotion", "Func": "getPassName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1881, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_bnd_prefixed_insn_p", "(", "rtx", "insn", ")", "{", "if", "(", "insn", "&&", "CALL_P", "(", "insn", ")", ")", "{", "rtx", "call", "=", "get_call_rtx_from", "(", "insn", ")", ";", "if", "(", "call", ")", "return", "CALL_EXPR_WITH_BOUNDS_P", "(", "call", ")", ";", "}", "return", "chkp_function_instrumented_p", "(", "current_function_decl", ")", ";", "}", ""], "natrual_language": ["Return", "1", "if", "control", "tansfer", "instruction", "INSN", "should", "be", "encoded", "with", "bnd", "prefix", ".", "If", "insn", "is", "NULL", "then", "return", "1", "when", "control", "transfer", "instructions", "should", "be", "prefixed", "with", "bnd", "by", "default", "for", "current", "function", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_bnd_prefixed_insn_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1882, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "loongarch_print_int_branch_condition", "(", "FILE", "*", "file", ",", "enum", "rtx_code", "code", ",", "int", "letter", ")", "{", "switch", "(", "code", ")", "{", "case", "EQ", ":", "case", "NE", ":", "case", "GT", ":", "case", "GE", ":", "case", "LT", ":", "case", "LE", ":", "case", "GTU", ":", "case", "GEU", ":", "case", "LTU", ":", "case", "LEU", ":", "fputs", "(", "GET_RTX_NAME", "(", "code", ")", ",", "file", ")", ";", "break", ";", "default", ":", "output_operand_lossage", "(", "\"'%%%c' is not a valid operand prefix\"", ",", "letter", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["PRINT_OPERAND", "prefix", "LETTER", "refers", "to", "the", "integer", "branch", "instruction", "associated", "with", "condition", "CODE", ".", "Print", "the", "condition", "part", "of", "the", "opcode", "to", "FILE", "."], "TS_V_token": ["loongarch", "\"'%%%c' is not a valid operand prefix\""], "File": "loongarch", "Func": "loongarch_print_int_branch_condition", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1883, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "num_insns_constant", "(", "rtx", "op", ",", "machine_mode", "mode", ")", "{", "HOST_WIDE_INT", "low", ",", "high", ";", "switch", "(", "GET_CODE", "(", "op", ")", ")", "{", "case", "CONST_INT", ":", "if", "(", "(", "INTVAL", "(", "op", ")", ">>", "31", ")", "!=", "0", "&&", "(", "INTVAL", "(", "op", ")", ">>", "31", ")", "!=", "-", "1", "&&", "rs6000_is_valid_and_mask", "(", "op", ",", "mode", ")", ")", "return", "2", ";", "else", "return", "num_insns_constant_wide", "(", "INTVAL", "(", "op", ")", ")", ";", "case", "CONST_WIDE_INT", ":", "{", "int", "i", ";", "int", "ins", "=", "CONST_WIDE_INT_NUNITS", "(", "op", ")", "-", "1", ";", "for", "(", "i", "=", "0", ";", "i", "<", "CONST_WIDE_INT_NUNITS", "(", "op", ")", ";", "i", "++", ")", "ins", "+=", "num_insns_constant_wide", "(", "CONST_WIDE_INT_ELT", "(", "op", ",", "i", ")", ")", ";", "return", "ins", ";", "}", "case", "CONST_DOUBLE", ":", "if", "(", "mode", "==", "SFmode", "||", "mode", "==", "SDmode", ")", "{", "long", "l", ";", "if", "(", "DECIMAL_FLOAT_MODE_P", "(", "mode", ")", ")", "REAL_VALUE_TO_TARGET_DECIMAL32", "(", "*", "CONST_DOUBLE_REAL_VALUE", "(", "op", ")", ",", "l", ")", ";", "else", "REAL_VALUE_TO_TARGET_SINGLE", "(", "*", "CONST_DOUBLE_REAL_VALUE", "(", "op", ")", ",", "l", ")", ";", "return", "num_insns_constant_wide", "(", "(", "HOST_WIDE_INT", ")", "l", ")", ";", "}", "long", "l", "[", "2", "]", ";", "if", "(", "DECIMAL_FLOAT_MODE_P", "(", "mode", ")", ")", "REAL_VALUE_TO_TARGET_DECIMAL64", "(", "*", "CONST_DOUBLE_REAL_VALUE", "(", "op", ")", ",", "l", ")", ";", "else", "REAL_VALUE_TO_TARGET_DOUBLE", "(", "*", "CONST_DOUBLE_REAL_VALUE", "(", "op", ")", ",", "l", ")", ";", "high", "=", "l", "[", "WORDS_BIG_ENDIAN", "==", "0", "]", ";", "low", "=", "l", "[", "WORDS_BIG_ENDIAN", "!=", "0", "]", ";", "if", "(", "TARGET_32BIT", ")", "return", "(", "num_insns_constant_wide", "(", "low", ")", "+", "num_insns_constant_wide", "(", "high", ")", ")", ";", "else", "{", "if", "(", "(", "high", "==", "0", "&&", "low", ">=", "0", ")", "||", "(", "high", "==", "-", "1", "&&", "low", "<", "0", ")", ")", "return", "num_insns_constant_wide", "(", "low", ")", ";", "else", "if", "(", "rs6000_is_valid_and_mask", "(", "op", ",", "mode", ")", ")", "return", "2", ";", "else", "if", "(", "low", "==", "0", ")", "return", "num_insns_constant_wide", "(", "high", ")", "+", "1", ";", "else", "return", "(", "num_insns_constant_wide", "(", "high", ")", "+", "num_insns_constant_wide", "(", "low", ")", "+", "1", ")", ";", "}", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "it", "takes", "to", "form", "a", "constant", "in", "as", "many", "gprs", "are", "needed", "for", "MODE", "."], "TS_V_token": ["powerpcspe", "31", "0", "31", "1", "2", "1", "0", "2", "0", "0", "0", "0", "1", "0", "2", "0", "1", "1"], "File": "powerpcspe", "Func": "num_insns_constant", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1884, "Length": 332, "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": 1885, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ThumbRegisterInfo", "::", "saveScavengerRegister", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "MachineBasicBlock", "::", "iterator", "&", "UseMI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "unsigned", "Reg", ")", "const", "{", "const", "ARMSubtarget", "&", "STI", "=", "MBB", ".", "getParent", "(", ")", "->", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "if", "(", "!", "STI", ".", "isThumb1Only", "(", ")", ")", "return", "ARMBaseRegisterInfo", "::", "saveScavengerRegister", "(", "MBB", ",", "I", ",", "UseMI", ",", "RC", ",", "Reg", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "DL", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", ".", "get", "(", "ARM", "::", "tMOVr", ")", ")", ".", "addReg", "(", "ARM", "::", "R12", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "bool", "done", "=", "false", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "II", "=", "I", ";", "!", "done", "&&", "II", "!=", "UseMI", ";", "++", "II", ")", "{", "if", "(", "II", "->", "isDebugInstr", "(", ")", ")", "continue", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "II", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "const", "MachineOperand", "&", "MO", "=", "II", "->", "getOperand", "(", "i", ")", ";", "if", "(", "MO", ".", "isRegMask", "(", ")", "&&", "MO", ".", "clobbersPhysReg", "(", "ARM", "::", "R12", ")", ")", "{", "UseMI", "=", "II", ";", "done", "=", "true", ";", "break", ";", "}", "if", "(", "!", "MO", ".", "isReg", "(", ")", "||", "MO", ".", "isUndef", "(", ")", "||", "!", "MO", ".", "getReg", "(", ")", "||", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "MO", ".", "getReg", "(", ")", ")", ")", "continue", ";", "if", "(", "MO", ".", "getReg", "(", ")", "==", "ARM", "::", "R12", ")", "{", "UseMI", "=", "II", ";", "done", "=", "true", ";", "break", ";", "}", "}", "}", "BuildMI", "(", "MBB", ",", "UseMI", ",", "DL", ",", "TII", ".", "get", "(", "ARM", "::", "tMOVr", ")", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "ARM", "::", "R12", ",", "RegState", "::", "Kill", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Spill", "the", "register", "so", "it", "can", "be", "used", "by", "the", "register", "scavenger", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM::tMOVr", "ARM::R12", "ARMCC::AL", "0", "ARM::R12", "ARM::R12", "ARM::tMOVr", "ARM::R12", "ARMCC::AL"], "File": "ThumbRegisterInfo (2)1", "Func": "saveScavengerRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1886, "Length": 348, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64AsmBackend", "::", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "if", "(", "(", "Count", "&", "3", ")", "!=", "0", ")", "{", "for", "(", "uint64_t", "i", "=", "0", ",", "e", "=", "(", "Count", "&", "3", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "OW", "->", "Write8", "(", "0", ")", ";", "}", "Count", "/=", "4", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "!=", "Count", ";", "++", "i", ")", "OW", "->", "Write32", "(", "0xd503201f", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["ARM64", "ARM64", "3", "0", "0", "3", "0", "4", "0", "0xd503201f"], "File": "ARM64AsmBackend", "Func": "writeNopData", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1887, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "Register", "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": "X86InstrInfo106", "Func": "loadRegFromStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1888, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "shouldExpandAtomicCmpXchgInIR", "(", "AtomicCmpXchgInst", "*", "AI", ")", "const", "{", "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 (2)", "Func": "shouldExpandAtomicCmpXchgInIR", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1889, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "ARMTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "ADD", ":", "return", "PerformADDCombine", "(", "N", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SUB", ":", "return", "PerformSUBCombine", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "MUL", ":", "return", "PerformMULCombine", "(", "N", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "OR", ":", "return", "PerformORCombine", "(", "N", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "AND", ":", "return", "PerformANDCombine", "(", "N", ",", "DCI", ")", ";", "case", "ARMISD", "::", "BFI", ":", "return", "PerformBFICombine", "(", "N", ",", "DCI", ")", ";", "case", "ARMISD", "::", "VMOVRRD", ":", "return", "PerformVMOVRRDCombine", "(", "N", ",", "DCI", ")", ";", "case", "ARMISD", "::", "VMOVDRR", ":", "return", "PerformVMOVDRRCombine", "(", "N", ",", "DCI", ".", "DAG", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "PerformSTORECombine", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "BUILD_VECTOR", ":", "return", "PerformBUILD_VECTORCombine", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "INSERT_VECTOR_ELT", ":", "return", "PerformInsertEltCombine", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "VECTOR_SHUFFLE", ":", "return", "PerformVECTOR_SHUFFLECombine", "(", "N", ",", "DCI", ".", "DAG", ")", ";", "case", "ARMISD", "::", "VDUPLANE", ":", "return", "PerformVDUPLANECombine", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "FP_TO_SINT", ":", "case", "ISD", "::", "FP_TO_UINT", ":", "return", "PerformVCVTCombine", "(", "N", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "FDIV", ":", "return", "PerformVDIVCombine", "(", "N", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "PerformIntrinsicCombine", "(", "N", ",", "DCI", ".", "DAG", ")", ";", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SRL", ":", "return", "PerformShiftCombine", "(", "N", ",", "DCI", ".", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "case", "ISD", "::", "ZERO_EXTEND", ":", "case", "ISD", "::", "ANY_EXTEND", ":", "return", "PerformExtendCombine", "(", "N", ",", "DCI", ".", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "PerformSELECT_CCCombine", "(", "N", ",", "DCI", ".", "DAG", ",", "Subtarget", ")", ";", "case", "ARMISD", "::", "CMOV", ":", "return", "PerformCMOVCombine", "(", "N", ",", "DCI", ".", "DAG", ")", ";", "case", "ARMISD", "::", "VLD2DUP", ":", "case", "ARMISD", "::", "VLD3DUP", ":", "case", "ARMISD", "::", "VLD4DUP", ":", "return", "CombineBaseUpdate", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "INTRINSIC_VOID", ":", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "switch", "(", "cast", "<", "ConstantSDNode", ">", "(", "N", "->", "getOperand", "(", "1", ")", ")", "->", "getZExtValue", "(", ")", ")", "{", "case", "Intrinsic", "::", "arm_neon_vld1", ":", "case", "Intrinsic", "::", "arm_neon_vld2", ":", "case", "Intrinsic", "::", "arm_neon_vld3", ":", "case", "Intrinsic", "::", "arm_neon_vld4", ":", "case", "Intrinsic", "::", "arm_neon_vld2lane", ":", "case", "Intrinsic", "::", "arm_neon_vld3lane", ":", "case", "Intrinsic", "::", "arm_neon_vld4lane", ":", "case", "Intrinsic", "::", "arm_neon_vst1", ":", "case", "Intrinsic", "::", "arm_neon_vst2", ":", "case", "Intrinsic", "::", "arm_neon_vst3", ":", "case", "Intrinsic", "::", "arm_neon_vst4", ":", "case", "Intrinsic", "::", "arm_neon_vst2lane", ":", "case", "Intrinsic", "::", "arm_neon_vst3lane", ":", "case", "Intrinsic", "::", "arm_neon_vst4lane", ":", "return", "CombineBaseUpdate", "(", "N", ",", "DCI", ")", ";", "default", ":", "break", ";", "}", "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": ["ARM", "ARM", "ISD::ADD", "ISD::SUB", "ISD::MUL", "ISD::OR", "ISD::AND", "ARMISD::BFI", "ARMISD::VMOVRRD", "ARMISD::VMOVDRR", "ISD::STORE", "ISD::BUILD_VECTOR", "ISD::INSERT_VECTOR_ELT", "ISD::VECTOR_SHUFFLE", "ARMISD::VDUPLANE", "ISD::FP_TO_SINT", "ISD::FP_TO_UINT", "ISD::FDIV", "ISD::INTRINSIC_WO_CHAIN", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::SIGN_EXTEND", "ISD::ZERO_EXTEND", "ISD::ANY_EXTEND", "ISD::SELECT_CC", "ARMISD::CMOV", "ARMISD::VLD2DUP", "ARMISD::VLD3DUP", "ARMISD::VLD4DUP", "ISD::INTRINSIC_VOID", "ISD::INTRINSIC_W_CHAIN", "1", "Intrinsic::arm_neon_vld1", "Intrinsic::arm_neon_vld2", "Intrinsic::arm_neon_vld3", "Intrinsic::arm_neon_vld4", "Intrinsic::arm_neon_vld2lane", "Intrinsic::arm_neon_vld3lane", "Intrinsic::arm_neon_vld4lane", "Intrinsic::arm_neon_vst1", "Intrinsic::arm_neon_vst2", "Intrinsic::arm_neon_vst3", "Intrinsic::arm_neon_vst4", "Intrinsic::arm_neon_vst2lane", "Intrinsic::arm_neon_vst3lane", "Intrinsic::arm_neon_vst4lane"], "File": "ARMISelLowering114", "Func": "PerformDAGCombine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1890, "Length": 488, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstrBuilder", "MipsInstrInfo", "::", "genInstrWithNewOpc", "(", "unsigned", "NewOpc", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "MachineInstrBuilder", "MIB", ";", "int", "ZeroOperandPosition", "=", "-", "1", ";", "bool", "BranchWithZeroOperand", "=", "false", ";", "if", "(", "I", "->", "isBranch", "(", ")", "&&", "!", "I", "->", "isPseudo", "(", ")", ")", "{", "auto", "TRI", "=", "I", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "ZeroOperandPosition", "=", "I", "->", "findRegisterUseOperandIdx", "(", "Mips", "::", "ZERO", ",", "false", ",", "TRI", ")", ";", "BranchWithZeroOperand", "=", "ZeroOperandPosition", "!=", "-", "1", ";", "}", "if", "(", "BranchWithZeroOperand", ")", "{", "switch", "(", "NewOpc", ")", "{", "case", "Mips", "::", "BEQC", ":", "NewOpc", "=", "Mips", "::", "BEQZC", ";", "break", ";", "case", "Mips", "::", "BNEC", ":", "NewOpc", "=", "Mips", "::", "BNEZC", ";", "break", ";", "case", "Mips", "::", "BGEC", ":", "NewOpc", "=", "Mips", "::", "BGEZC", ";", "break", ";", "case", "Mips", "::", "BLTC", ":", "NewOpc", "=", "Mips", "::", "BLTZC", ";", "break", ";", "case", "Mips", "::", "BEQC64", ":", "NewOpc", "=", "Mips", "::", "BEQZC64", ";", "break", ";", "case", "Mips", "::", "BNEC64", ":", "NewOpc", "=", "Mips", "::", "BNEZC64", ";", "break", ";", "}", "}", "MIB", "=", "BuildMI", "(", "*", "I", "->", "getParent", "(", ")", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "NewOpc", ")", ")", ";", "if", "(", "NewOpc", "==", "Mips", "::", "JIC", "||", "NewOpc", "==", "Mips", "::", "JIALC", "||", "NewOpc", "==", "Mips", "::", "JIC64", "||", "NewOpc", "==", "Mips", "::", "JIALC64", ")", "{", "if", "(", "NewOpc", "==", "Mips", "::", "JIALC", "||", "NewOpc", "==", "Mips", "::", "JIALC64", ")", "MIB", "->", "RemoveOperand", "(", "0", ")", ";", "for", "(", "unsigned", "J", "=", "0", ",", "E", "=", "I", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", ";", "J", "<", "E", ";", "++", "J", ")", "{", "MIB", ".", "add", "(", "I", "->", "getOperand", "(", "J", ")", ")", ";", "}", "MIB", ".", "addImm", "(", "0", ")", ";", "}", "else", "{", "for", "(", "unsigned", "J", "=", "0", ",", "E", "=", "I", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", ";", "J", "<", "E", ";", "++", "J", ")", "{", "if", "(", "BranchWithZeroOperand", "&&", "(", "unsigned", ")", "ZeroOperandPosition", "==", "J", ")", "continue", ";", "MIB", ".", "add", "(", "I", "->", "getOperand", "(", "J", ")", ")", ";", "}", "}", "MIB", ".", "copyImplicitOps", "(", "*", "I", ")", ";", "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", "1", "Mips::ZERO", "1", "Mips::BEQC", "Mips::BEQZC", "Mips::BNEC", "Mips::BNEZC", "Mips::BGEC", "Mips::BGEZC", "Mips::BLTC", "Mips::BLTZC", "Mips::BEQC64", "Mips::BEQZC64", "Mips::BNEC64", "Mips::BNEZC64", "Mips::JIC", "Mips::JIALC", "Mips::JIC64", "Mips::JIALC64", "Mips::JIALC", "Mips::JIALC64", "0", "0", "0", "0"], "File": "MipsInstrInfo", "Func": "genInstrWithNewOpc", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1891, "Length": 385, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "emitStackProbe", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "DebugLoc", "&", "DL", ",", "bool", "InProlog", ",", "Optional", "<", "MachineFunction", "::", "DebugInstrOperandPair", ">", "InstrNum", ")", "const", "{", "const", "X86Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "STI", ".", "isTargetWindowsCoreCLR", "(", ")", ")", "{", "if", "(", "InProlog", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "X86", "::", "STACKALLOC_W_PROBING", ")", ")", ".", "addImm", "(", "0", ")", ";", "}", "else", "{", "emitStackProbeInline", "(", "MF", ",", "MBB", ",", "MBBI", ",", "DL", ",", "false", ")", ";", "}", "}", "else", "{", "emitStackProbeCall", "(", "MF", ",", "MBB", ",", "MBBI", ",", "DL", ",", "InProlog", ",", "InstrNum", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "target", "stack", "probe", "code", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86::STACKALLOC_W_PROBING", "0"], "File": "X86FrameLowering (2)3", "Func": "emitStackProbe", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1892, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_function_sseregparm", "(", "const_tree", "type", ",", "const_tree", "decl", ",", "bool", "warn", ")", "{", "gcc_assert", "(", "!", "TARGET_64BIT", ")", ";", "if", "(", "TARGET_SSEREGPARM", "||", "(", "type", "&&", "lookup_attribute", "(", "\"sseregparm\"", ",", "TYPE_ATTRIBUTES", "(", "type", ")", ")", ")", ")", "{", "if", "(", "!", "TARGET_SSE", ")", "{", "if", "(", "warn", ")", "{", "if", "(", "decl", ")", "error", "(", "\"calling %qD with attribute sseregparm without \"", "\"SSE/SSE2 enabled\"", ",", "decl", ")", ";", "else", "error", "(", "\"calling %qT with attribute sseregparm without \"", "\"SSE/SSE2 enabled\"", ",", "type", ")", ";", "}", "return", "0", ";", "}", "return", "2", ";", "}", "if", "(", "!", "decl", ")", "return", "0", ";", "cgraph_node", "*", "target", "=", "cgraph_node", "::", "get", "(", "decl", ")", ";", "if", "(", "target", ")", "target", "=", "target", "->", "function_symbol", "(", ")", ";", "if", "(", "target", "&&", "(", "target_opts_for_fn", "(", "target", "->", "decl", ")", "->", "x_ix86_fpmath", "&", "FPMATH_SSE", ")", "&&", "opt_for_fn", "(", "target", "->", "decl", ",", "optimize", ")", "&&", "!", "(", "profile_flag", "&&", "!", "flag_fentry", ")", ")", "{", "cgraph_local_info", "*", "i", "=", "&", "target", "->", "local", ";", "if", "(", "i", "&&", "i", "->", "local", "&&", "i", "->", "can_change_signature", ")", "{", "if", "(", "!", "TARGET_SSE", "&&", "warn", ")", "{", "error", "(", "\"calling %qD with SSE caling convention without \"", "\"SSE/SSE2 enabled\"", ",", "decl", ")", ";", "return", "0", ";", "}", "return", "TARGET_SSE2_P", "(", "target_opts_for_fn", "(", "target", "->", "decl", ")", "->", "x_ix86_isa_flags", ")", "?", "2", ":", "1", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "1", "or", "2", ",", "if", "we", "can", "pass", "up", "to", "SSE_REGPARM_MAX", "SFmode", "(", "1", ")", "and", "DFmode", "(", "2", ")", "arguments", "in", "SSE", "registers", "for", "a", "function", "with", "the", "indicated", "TYPE", "and", "DECL", ".", "DECL", "may", "be", "NULL", "when", "calling", "function", "indirectly", "or", "considering", "a", "libcall", ".", "Otherwise", "return", "0", "."], "TS_V_token": ["i386", "\"sseregparm\"", "\"calling %qD with attribute sseregparm without \"", "\"SSE/SSE2 enabled\"", "\"calling %qT with attribute sseregparm without \"", "\"SSE/SSE2 enabled\"", "0", "2", "0", "\"calling %qD with SSE caling convention without \"", "\"SSE/SSE2 enabled\"", "0", "2", "1", "0"], "File": "i3864", "Func": "ix86_function_sseregparm", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1893, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ia64_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "lookup_attribute", "(", "\"syscall_linkage\"", ",", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "current_function_decl", ")", ")", ")", ")", "return", "false", ";", "return", "(", "decl", "&&", "(", "*", "targetm", ".", "binds_local_p", ")", "(", "decl", ")", ")", "||", "TARGET_CONST_GP", ";", "}", ""], "natrual_language": ["True", "if", "it", "is", "OK", "to", "do", "sibling", "call", "optimization", "for", "the", "specified", "call", "expression", "EXP", ".", "DECL", "will", "be", "the", "called", "function", ",", "or", "NULL", "if", "this", "is", "an", "indirect", "call", "."], "TS_V_token": ["ia64", "\"syscall_linkage\""], "File": "ia64", "Func": "ia64_function_ok_for_sibcall", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1894, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "or1k_expand_compare", "(", "rtx", "*", "operands", ")", "{", "rtx", "sr_f", "=", "gen_rtx_REG", "(", "BImode", ",", "SR_F_REGNUM", ")", ";", "rtx", "righthand_op", "=", "XEXP", "(", "operands", "[", "0", "]", ",", "1", ")", ";", "rtx_code", "cmp_code", "=", "GET_CODE", "(", "operands", "[", "0", "]", ")", ";", "bool", "flag_check_ne", "=", "true", ";", "if", "(", "!", "TARGET_SFIMM", "&&", "CONST_INT_P", "(", "righthand_op", ")", ")", "XEXP", "(", "operands", "[", "0", "]", ",", "1", ")", "=", "force_reg", "(", "SImode", ",", "righthand_op", ")", ";", "switch", "(", "cmp_code", ")", "{", "case", "LTGT", ":", "cmp_code", "=", "UNEQ", ";", "flag_check_ne", "=", "false", ";", "break", ";", "case", "ORDERED", ":", "cmp_code", "=", "UNORDERED", ";", "flag_check_ne", "=", "false", ";", "break", ";", "default", ":", "break", ";", "}", "PUT_MODE", "(", "operands", "[", "0", "]", ",", "BImode", ")", ";", "PUT_CODE", "(", "operands", "[", "0", "]", ",", "cmp_code", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "sr_f", ",", "operands", "[", "0", "]", ")", ")", ";", "operands", "[", "0", "]", "=", "flag_check_ne", "?", "gen_rtx_NE", "(", "VOIDmode", ",", "sr_f", ",", "const0_rtx", ")", ":", "gen_rtx_EQ", "(", "VOIDmode", ",", "sr_f", ",", "const0_rtx", ")", ";", "operands", "[", "1", "]", "=", "sr_f", ";", "operands", "[", "2", "]", "=", "const0_rtx", ";", "}", ""], "natrual_language": ["Used", "to", "expand", "patterns", "``", "movsicc", "''", ",", "``", "movqicc", "''", ",", "``", "movhicc", "''", ",", "``", "cstoresi4", "''", "and", "``", "cbranchsi4", "''", ".", "Expands", "a", "comparison", "where", "OPERANDS", "is", "an", "array", "of", "RTX", "describing", "the", "comparison", ".", "The", "first", "argument", "OPERANDS", "[", "0", "]", "is", "the", "operator", "and", "OPERANDS", "[", "1", "]", "and", "OPERANDS", "[", "2", "]", "are", "the", "operands", ".", "Split", "out", "the", "compare", "into", "SR", "[", "F", "]", "and", "return", "a", "new", "operation", "in", "OPERANDS", "[", "0", "]", ".", "The", "inputs", "OPERANDS", "[", "1", "]", "and", "OPERANDS", "[", "2", "]", "are", "not", "directly", "used", ",", "only", "overridden", "."], "TS_V_token": ["or1k", "0", "1", "0", "0", "1", "0", "0", "0", "0", "1", "2"], "File": "or1k", "Func": "or1k_expand_compare", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1895, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "nonpic_symbol_mentioned_p", "(", "rtx", "x", ")", "{", "register", "const", "char", "*", "fmt", ";", "register", "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", "&&", "(", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_PIC", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_GOT", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_GOTOFF", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_GOTPLT", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_GOTTPOFF", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_DTPOFF", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_PLT", ")", ")", "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'", ")", "{", "register", "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": ["sh", "1", "0", "1", "1", "1", "1", "1", "1", "1", "0", "1", "0", "1", "0", "1", "1", "0"], "File": "sh3", "Func": "nonpic_symbol_mentioned_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1896, "Length": 244, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "PPCTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'b'", ":", "if", "(", "VT", "==", "MVT", "::", "i64", "&&", "PPCSubTarget", ".", "isPPC64", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "G8RC_NOX0RegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "GPRC_NOR0RegClass", ")", ";", "case", "'r'", ":", "if", "(", "VT", "==", "MVT", "::", "i64", "&&", "PPCSubTarget", ".", "isPPC64", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "G8RCRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "GPRCRegClass", ")", ";", "case", "'f'", ":", "if", "(", "VT", "==", "MVT", "::", "f32", "||", "VT", "==", "MVT", "::", "i32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "F4RCRegClass", ")", ";", "if", "(", "VT", "==", "MVT", "::", "f64", "||", "VT", "==", "MVT", "::", "i64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "F8RCRegClass", ")", ";", "break", ";", "case", "'v'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "VRRCRegClass", ")", ";", "case", "'y'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "CRRCRegClass", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["PowerPC", "PPC", "1", "0", "MVT::i64", "PPC", "PPC", "0U", "PPC::G8RC_NOX0RegClass", "0U", "PPC::GPRC_NOR0RegClass", "MVT::i64", "PPC", "PPC", "0U", "PPC::G8RCRegClass", "0U", "PPC::GPRCRegClass", "MVT::f32", "MVT::i32", "0U", "PPC::F4RCRegClass", "MVT::f64", "MVT::i64", "0U", "PPC::F8RCRegClass", "0U", "PPC::VRRCRegClass", "0U", "PPC::CRRCRegClass"], "File": "PPCISelLowering50", "Func": "getRegForInlineAsmConstraint", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1897, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMHazardRecognizer", "::", "Reset", "(", ")", "{", "LastMI", "=", "nullptr", ";", "FpMLxStalls", "=", "0", ";", "ScoreboardHazardRecognizer", "::", "Reset", "(", ")", ";", "}", ""], "natrual_language": ["Reset", "the", "unwind", "opcode", "assembler", "."], "TS_V_token": ["ARM", "ARM", "0"], "File": "ARMHazardRecognizer (2)", "Func": "Reset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1898, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_mixed_function_arg", "(", "machine_mode", "mode", ",", "const_tree", "type", ",", "int", "align_words", ")", "{", "int", "n_units", ";", "int", "i", ",", "k", ";", "rtx", "rvec", "[", "GP_ARG_NUM_REG", "+", "1", "]", ";", "if", "(", "align_words", ">=", "GP_ARG_NUM_REG", ")", "return", "NULL_RTX", ";", "n_units", "=", "rs6000_arg_size", "(", "mode", ",", "type", ")", ";", "if", "(", "n_units", "==", "0", "||", "(", "n_units", "==", "1", "&&", "mode", "!=", "BLKmode", ")", ")", "return", "gen_rtx_REG", "(", "mode", ",", "GP_ARG_MIN_REG", "+", "align_words", ")", ";", "k", "=", "0", ";", "if", "(", "align_words", "+", "n_units", ">", "GP_ARG_NUM_REG", ")", "rvec", "[", "k", "++", "]", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "NULL_RTX", ",", "const0_rtx", ")", ";", "i", "=", "0", ";", "do", "{", "rtx", "r", "=", "gen_rtx_REG", "(", "SImode", ",", "GP_ARG_MIN_REG", "+", "align_words", ")", ";", "rtx", "off", "=", "GEN_INT", "(", "i", "++", "*", "4", ")", ";", "rvec", "[", "k", "++", "]", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "r", ",", "off", ")", ";", "}", "while", "(", "++", "align_words", "<", "GP_ARG_NUM_REG", "&&", "--", "n_units", "!=", "0", ")", ";", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec_v", "(", "k", ",", "rvec", ")", ")", ";", "}", ""], "natrual_language": ["Determine", "where", "to", "place", "an", "argument", "in", "64-bit", "mode", "with", "32-bit", "ABI", "."], "TS_V_token": ["rs6000", "1", "0", "1", "0", "0", "4", "0"], "File": "rs6000-call", "Func": "rs6000_mixed_function_arg", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1899, "Length": 173, "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": ["Sparc"], "File": "SparcSubtarget31", "Func": "getDataLayout", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1900, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMSubtarget", "::", "ARMSubtarget", "(", "const", "Module", "&", "M", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "thumb", ")", ":", "ARMArchVersion", "(", "V4T", ")", ",", "HasVFP2", "(", "false", ")", ",", "IsThumb", "(", "thumb", ")", ",", "UseThumbBacktraces", "(", "false", ")", ",", "IsR9Reserved", "(", "false", ")", ",", "stackAlignment", "(", "4", ")", ",", "TargetType", "(", "isELF", ")", ",", "TargetABI", "(", "ARM_ABI_APCS", ")", "{", "std", "::", "string", "CPU", "=", "\"generic\"", ";", "ParseSubtargetFeatures", "(", "FS", ",", "CPU", ")", ";", "const", "std", "::", "string", "&", "TT", "=", "M", ".", "getTargetTriple", "(", ")", ";", "unsigned", "Len", "=", "TT", ".", "length", "(", ")", ";", "unsigned", "Idx", "=", "0", ";", "if", "(", "Len", ">=", "5", "&&", "TT", ".", "substr", "(", "0", ",", "4", ")", "==", "\"armv\"", ")", "Idx", "=", "4", ";", "else", "if", "(", "Len", ">=", "6", "&&", "TT", ".", "substr", "(", "0", ",", "6", ")", "==", "\"thumb\"", ")", "{", "IsThumb", "=", "true", ";", "if", "(", "Len", ">=", "7", "&&", "TT", "[", "5", "]", "==", "'v'", ")", "Idx", "=", "6", ";", "}", "if", "(", "Idx", ")", "{", "unsigned", "SubVer", "=", "TT", "[", "Idx", "]", ";", "if", "(", "SubVer", ">", "'4'", "&&", "SubVer", "<=", "'9'", ")", "{", "if", "(", "SubVer", ">=", "'6'", ")", "ARMArchVersion", "=", "V6", ";", "else", "if", "(", "SubVer", "==", "'5'", ")", "{", "ARMArchVersion", "=", "V5T", ";", "if", "(", "Len", ">=", "Idx", "+", "3", "&&", "TT", "[", "Idx", "+", "1", "]", "==", "'t'", "&&", "TT", "[", "Idx", "+", "2", "]", "==", "'e'", ")", "ARMArchVersion", "=", "V5TE", ";", "}", "}", "}", "if", "(", "Len", ">=", "10", ")", "{", "if", "(", "TT", ".", "find", "(", "\"-darwin\"", ")", "!=", "std", "::", "string", "::", "npos", ")", "TargetType", "=", "isDarwin", ";", "}", "else", "if", "(", "TT", ".", "empty", "(", ")", ")", "{", "TargetType", "=", "isDarwin", ";", "}", "if", "(", "TT", ".", "find", "(", "\"eabi\"", ")", "!=", "std", "::", "string", "::", "npos", ")", "TargetABI", "=", "ARM_ABI_AAPCS", ";", "if", "(", "isAAPCS_ABI", "(", ")", ")", "stackAlignment", "=", "8", ";", "if", "(", "isTargetDarwin", "(", ")", ")", "{", "UseThumbBacktraces", "=", "true", ";", "IsR9Reserved", "=", "true", ";", "}", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "4", "ARM", "\"generic\"", "0", "5", "0", "4", "\"armv\"", "4", "6", "0", "6", "\"thumb\"", "7", "5", "6", "ARM", "ARM", "3", "1", "2", "ARM", "10", "\"-darwin\"", "\"eabi\"", "ARM", "8"], "File": "ARMSubtarget57", "Func": "ARMSubtarget", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1901, "Length": 330, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ix86_check_movabs", "(", "rtx", "insn", ",", "int", "opnum", ")", "{", "rtx", "set", ",", "mem", ";", "set", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "set", ")", "==", "PARALLEL", ")", "set", "=", "XVECEXP", "(", "set", ",", "0", ",", "0", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "set", ")", "==", "SET", ")", ";", "mem", "=", "XEXP", "(", "set", ",", "opnum", ")", ";", "while", "(", "GET_CODE", "(", "mem", ")", "==", "SUBREG", ")", "mem", "=", "SUBREG_REG", "(", "mem", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "mem", ")", "==", "MEM", ")", ";", "return", "(", "volatile_ok", "||", "!", "MEM_VOLATILE_P", "(", "mem", ")", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "OPNUM", "'s", "MEM", "should", "be", "matched", "in", "movabs", "*", "patterns", "."], "TS_V_token": ["i386", "0", "0"], "File": "i3863", "Func": "ix86_check_movabs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1902, "Length": 99, "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": 1903, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sh_trampoline_adjust_address", "(", "rtx", "tramp", ")", "{", "return", "tramp", ";", "}", ""], "natrual_language": ["On", "SH5", ",", "trampolines", "are", "SHmedia", "code", ",", "so", "add", "1", "to", "the", "address", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "sh_trampoline_adjust_address", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1904, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "expand_mla_mls_lane", "(", "function_expander", "&", "e", ",", "int", "unspec", ")", "{", "e", ".", "rotate_inputs_left", "(", "0", ",", "4", ")", ";", "insn_code", "icode", "=", "code_for_aarch64_lane", "(", "unspec", ",", "e", ".", "vector_mode", "(", "0", ")", ")", ";", "return", "e", ".", "use_exact_insn", "(", "icode", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "call", "to", "svmla_lane", "or", "svmls_lane", "using", "floating-point", "unspec", "UNSPEC", "."], "TS_V_token": ["aarch64", "0", "4", "0"], "File": "aarch64-sve-builtins-base", "Func": "expand_mla_mls_lane", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1905, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "PPC", "::", "STD", ":", "case", "PPC", "::", "STW", ":", "case", "PPC", "::", "STFS", ":", "case", "PPC", "::", "STFD", ":", "case", "PPC", "::", "SPILL_CR", ":", "case", "PPC", "::", "SPILL_CRBIT", ":", "case", "PPC", "::", "STVX", ":", "case", "PPC", "::", "STXVD2X", ":", "case", "PPC", "::", "SPILL_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": ["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": ["PowerPC", "PPC", "PPC::STD", "PPC::STW", "PPC::STFS", "PPC::STFD", "PPC::SPILL_CR", "PPC::SPILL_CRBIT", "PPC::STVX", "PPC::STXVD2X", "PPC::SPILL_VRSAVE", "1", "1", "2", "2", "0", "0"], "File": "PPCInstrInfo1", "Func": "isStoreToStackSlot", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1906, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseRegisterInfo", "::", "canRealignStack", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineRegisterInfo", "*", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "const", "ARMFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "const", "ARMSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "if", "(", "!", "TargetRegisterInfo", "::", "canRealignStack", "(", "MF", ")", ")", "return", "false", ";", "if", "(", "!", "MRI", "->", "canReserveReg", "(", "getFramePointerReg", "(", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ")", ")", ")", "return", "false", ";", "if", "(", "STI", ".", "isGPRegisterReserved", "(", "BasePtr", "-", "ARM", "::", "R0", ")", ")", "return", "false", ";", "if", "(", "TFI", "->", "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", "ARM", "ARM", "ARM::R0"], "File": "ARMBaseRegisterInfo91", "Func": "canRealignStack", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1907, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_expand_fcmla_builtin", "(", "tree", "exp", ",", "rtx", "target", ",", "int", "fcode", ")", "{", "int", "bcode", "=", "fcode", "-", "AARCH64_SIMD_FCMLA_LANEQ_BUILTIN_BASE", "-", "1", ";", "aarch64_fcmla_laneq_builtin_datum", "*", "d", "=", "&", "aarch64_fcmla_lane_builtin_data", "[", "bcode", "]", ";", "machine_mode", "quadmode", "=", "GET_MODE_2XWIDER_MODE", "(", "d", "->", "mode", ")", ".", "require", "(", ")", ";", "rtx", "op0", "=", "force_reg", "(", "d", "->", "mode", ",", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ")", ")", ";", "rtx", "op1", "=", "force_reg", "(", "d", "->", "mode", ",", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "1", ")", ")", ")", ";", "rtx", "op2", "=", "force_reg", "(", "quadmode", ",", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "2", ")", ")", ")", ";", "tree", "tmp", "=", "CALL_EXPR_ARG", "(", "exp", ",", "3", ")", ";", "rtx", "lane_idx", "=", "expand_expr", "(", "tmp", ",", "NULL_RTX", ",", "VOIDmode", ",", "EXPAND_INITIALIZER", ")", ";", "if", "(", "!", "CONST_INT_P", "(", "lane_idx", ")", ")", "{", "error_at", "(", "EXPR_LOCATION", "(", "exp", ")", ",", "\"argument %d must be a constant immediate\"", ",", "4", ")", ";", "return", "const0_rtx", ";", "}", "int", "nunits", "=", "GET_MODE_NUNITS", "(", "quadmode", ")", ".", "to_constant", "(", ")", ";", "aarch64_simd_lane_bounds", "(", "lane_idx", ",", "0", ",", "nunits", "/", "2", ",", "exp", ")", ";", "int", "lane", "=", "INTVAL", "(", "lane_idx", ")", ";", "if", "(", "lane", "<", "nunits", "/", "4", ")", "op2", "=", "simplify_gen_subreg", "(", "d", "->", "mode", ",", "op2", ",", "quadmode", ",", "subreg_lowpart_offset", "(", "d", "->", "mode", ",", "quadmode", ")", ")", ";", "else", "{", "rtx", "temp1", "=", "gen_reg_rtx", "(", "d", "->", "mode", ")", ";", "rtx", "temp2", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "temp1", "=", "simplify_gen_subreg", "(", "d", "->", "mode", ",", "op2", ",", "quadmode", ",", "subreg_lowpart_offset", "(", "d", "->", "mode", ",", "quadmode", ")", ")", ";", "temp1", "=", "simplify_gen_subreg", "(", "V2DImode", ",", "temp1", ",", "d", "->", "mode", ",", "0", ")", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "emit_insn", "(", "gen_aarch64_get_lanev2di", "(", "temp2", ",", "temp1", ",", "const0_rtx", ")", ")", ";", "else", "emit_insn", "(", "gen_aarch64_get_lanev2di", "(", "temp2", ",", "temp1", ",", "const1_rtx", ")", ")", ";", "op2", "=", "simplify_gen_subreg", "(", "d", "->", "mode", ",", "temp2", ",", "GET_MODE", "(", "temp2", ")", ",", "0", ")", ";", "lane", "-=", "nunits", "/", "4", ";", "}", "lane_idx", "=", "aarch64_endian_lane_rtx", "(", "V2DImode", ",", "lane", ")", ";", "if", "(", "!", "target", "||", "!", "REG_P", "(", "target", ")", "||", "GET_MODE", "(", "target", ")", "!=", "d", "->", "mode", ")", "target", "=", "gen_reg_rtx", "(", "d", "->", "mode", ")", ";", "rtx", "pat", "=", "NULL_RTX", ";", "if", "(", "d", "->", "lane", ")", "pat", "=", "GEN_FCN", "(", "d", "->", "icode", ")", "(", "target", ",", "op0", ",", "op1", ",", "op2", ",", "lane_idx", ")", ";", "else", "pat", "=", "GEN_FCN", "(", "d", "->", "icode", ")", "(", "target", ",", "op0", ",", "op1", ",", "op2", ")", ";", "if", "(", "!", "pat", ")", "return", "NULL_RTX", ";", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Expand", "a", "FCMLA", "lane", "expression", "EXP", "with", "code", "FCODE", "and", "result", "going", "to", "TARGET", "if", "that", "is", "convenient", "."], "TS_V_token": ["aarch64", "1", "0", "1", "2", "3", "\"argument %d must be a constant immediate\"", "4", "0", "2", "4", "0", "0", "4"], "File": "aarch64-builtins", "Func": "aarch64_expand_fcmla_builtin", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1908, "Length": 432, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_function_regparm", "(", "const_tree", "type", ",", "const_tree", "decl", ")", "{", "tree", "attr", ";", "int", "regparm", ";", "unsigned", "int", "ccvt", ";", "if", "(", "TARGET_64BIT", ")", "return", "(", "ix86_function_type_abi", "(", "type", ")", "==", "SYSV_ABI", "?", "X86_64_REGPARM_MAX", ":", "X86_64_MS_REGPARM_MAX", ")", ";", "ccvt", "=", "ix86_get_callcvt", "(", "type", ")", ";", "regparm", "=", "ix86_regparm", ";", "if", "(", "(", "ccvt", "&", "IX86_CALLCVT_REGPARM", ")", "!=", "0", ")", "{", "attr", "=", "lookup_attribute", "(", "\"regparm\"", ",", "TYPE_ATTRIBUTES", "(", "type", ")", ")", ";", "if", "(", "attr", ")", "{", "regparm", "=", "TREE_INT_CST_LOW", "(", "TREE_VALUE", "(", "TREE_VALUE", "(", "attr", ")", ")", ")", ";", "return", "regparm", ";", "}", "}", "else", "if", "(", "(", "ccvt", "&", "IX86_CALLCVT_FASTCALL", ")", "!=", "0", ")", "return", "2", ";", "else", "if", "(", "(", "ccvt", "&", "IX86_CALLCVT_THISCALL", ")", "!=", "0", ")", "return", "1", ";", "if", "(", "decl", "&&", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", ")", "{", "cgraph_node", "*", "target", "=", "cgraph_node", "::", "get", "(", "decl", ")", ";", "if", "(", "target", ")", "target", "=", "target", "->", "function_symbol", "(", ")", ";", "if", "(", "target", "&&", "opt_for_fn", "(", "target", "->", "decl", ",", "optimize", ")", "&&", "!", "(", "profile_flag", "&&", "!", "flag_fentry", ")", ")", "{", "if", "(", "target", "->", "local", "&&", "target", "->", "can_change_signature", ")", "{", "int", "local_regparm", ",", "globals", "=", "0", ",", "regno", ";", "for", "(", "local_regparm", "=", "0", ";", "local_regparm", "<", "REGPARM_MAX", ";", "local_regparm", "++", ")", "if", "(", "fixed_regs", "[", "local_regparm", "]", ")", "break", ";", "if", "(", "local_regparm", "==", "3", "&&", "DECL_STATIC_CHAIN", "(", "target", "->", "decl", ")", ")", "local_regparm", "=", "2", ";", "if", "(", "flag_split_stack", ")", "{", "if", "(", "local_regparm", "==", "3", ")", "local_regparm", "=", "2", ";", "else", "if", "(", "local_regparm", "==", "2", "&&", "DECL_STATIC_CHAIN", "(", "target", "->", "decl", ")", ")", "local_regparm", "=", "1", ";", "}", "for", "(", "regno", "=", "AX_REG", ";", "regno", "<=", "DI_REG", ";", "regno", "++", ")", "if", "(", "fixed_regs", "[", "regno", "]", ")", "globals", "++", ";", "local_regparm", "=", "globals", "<", "local_regparm", "?", "local_regparm", "-", "globals", ":", "0", ";", "if", "(", "local_regparm", ">", "regparm", ")", "regparm", "=", "local_regparm", ";", "}", "}", "}", "return", "regparm", ";", "}", ""], "natrual_language": ["Return", "the", "regparm", "value", "for", "a", "function", "with", "the", "indicated", "TYPE", "and", "DECL", ".", "DECL", "may", "be", "NULL", "when", "calling", "function", "indirectly", "or", "considering", "a", "libcall", "."], "TS_V_token": ["i386", "0", "\"regparm\"", "0", "2", "0", "1", "0", "0", "3", "2", "3", "2", "2", "1", "0"], "File": "i386", "Func": "ix86_function_regparm", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1909, "Length": 326, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "consume", "(", "InternalInstruction", "*", "insn", ",", "T", "&", "ptr", ")", "{", "auto", "r", "=", "insn", "->", "bytes", ";", "uint64_t", "offset", "=", "insn", "->", "readerCursor", "-", "insn", "->", "startLocation", ";", "if", "(", "offset", "+", "sizeof", "(", "T", ")", ">", "r", ".", "size", "(", ")", ")", "return", "true", ";", "T", "ret", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "sizeof", "(", "T", ")", ";", "++", "i", ")", "ret", "|=", "(", "uint64_t", ")", "r", "[", "offset", "+", "i", "]", "<<", "(", "i", "*", "8", ")", ";", "ptr", "=", "ret", ";", "insn", "->", "readerCursor", "+=", "sizeof", "(", "T", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Consume", "N", "operations", "."], "TS_V_token": ["X86", "0", "0", "8"], "File": "X86Disassembler (2)2", "Func": "consume", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1910, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TTIImpl", "::", "getScalarizationOverhead", "(", "Type", "*", "Ty", ",", "const", "APInt", "&", "DemandedElts", ",", "bool", "Insert", ",", "bool", "Extract", ")", "{", "auto", "*", "VecTy", "=", "cast", "<", "VectorType", ">", "(", "Ty", ")", ";", "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", "=", "VecTy", "->", "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", "(", "VecTy", "->", "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": "X86TargetTransformInfo62", "Func": "getScalarizationOverhead", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1911, "Length": 326, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetStreamer", "::", "emitGPRestore", "(", "int", "Offset", ",", "SMLoc", "IDLoc", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "{", "emitLoadWithImmOffset", "(", "Mips", "::", "LW", ",", "Mips", "::", "GP", ",", "Mips", "::", "SP", ",", "Offset", ",", "Mips", "::", "GP", ",", "IDLoc", ",", "STI", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "$", "gp", "restore", "operation", "for", ".cprestore", "."], "TS_V_token": ["Mips", "Mips", "Mips::LW", "Mips::GP", "Mips::SP", "Mips::GP"], "File": "MipsTargetStreamer1", "Func": "emitGPRestore", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1912, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsInstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", "->", "getParent", "(", ")", ";", "switch", "(", "MI", "->", "getDesc", "(", ")", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Mips", "::", "BuildPairF64", ":", "ExpandBuildPairF64", "(", "MBB", ",", "MI", ")", ";", "break", ";", "case", "Mips", "::", "ExtractElementF64", ":", "ExpandExtractElementF64", "(", "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::BuildPairF64", "Mips::ExtractElementF64"], "File": "MipsInstrInfo20", "Func": "expandPostRAPseudo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1913, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "VESubtarget", "*", "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": ["VE", "VE"], "File": "VETargetMachine", "Func": "getSubtargetImpl", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1914, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MMIXRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "RegInfo", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["MMIX", "MMIX"], "File": "MMIXSubtarget", "Func": "getRegisterInfo", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1915, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "HOST_WIDE_INT", "mips_shift_truncation_mask", "(", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_LOONGSON_MMI", "&&", "VECTOR_MODE_P", "(", "mode", ")", ")", "return", "0", ";", "return", "GET_MODE_BITSIZE", "(", "mode", ")", "-", "1", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SHIFT_TRUNCATION_MASK", ".", "We", "want", "to", "keep", "the", "default", "behavior", "of", "TARGET_SHIFT_TRUNCATION_MASK", "for", "non-vector", "modes", "even", "when", "TARGET_LOONGSON_VECTORS", "is", "true", "."], "TS_V_token": ["mips", "0", "1"], "File": "mips", "Func": "mips_shift_truncation_mask", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1916, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "unsigned", "getABIAlignmentForCallingConv", "(", "Type", "*", "ArgTy", ",", "DataLayout", "DL", ")", "const", "override", "{", "if", "(", "ArgTy", "->", "isVectorTy", "(", ")", ")", "return", "std", "::", "min", "(", "DL", ".", "getABITypeAlignment", "(", "ArgTy", ")", ",", "8U", ")", ";", "return", "DL", ".", "getABITypeAlignment", "(", "ArgTy", ")", ";", "}", ""], "natrual_language": ["Return", "the", "correct", "alignment", "for", "the", "current", "calling", "convention", "."], "TS_V_token": ["Mips", "8U"], "File": "MipsISelLowering55", "Func": "getABIAlignmentForCallingConv", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1917, "Length": 46, "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": 1918, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "X86TargetLowering", "::", "getRegisterTypeForCallingConv", "(", "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", "RegisterVT", ";", "}", "if", "(", "(", "VT", "==", "MVT", "::", "v32i16", "||", "VT", "==", "MVT", "::", "v64i8", ")", "&&", "!", "EnableOldKNLABI", "&&", "Subtarget", ".", "useAVX512Regs", "(", ")", "&&", "!", "Subtarget", ".", "hasBWI", "(", ")", ")", "return", "MVT", "::", "v16i32", ";", "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": ["X86", "X86", "MVT::i1", "MVT::INVALID_SIMPLE_VALUE_TYPE", "MVT::v32i16", "MVT::v64i8", "MVT::v16i32"], "File": "X86ISelLowering130", "Func": "getRegisterTypeForCallingConv", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1919, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "VETargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "ATOMIC_SWAP", ":", "return", ";", "default", ":", "LLVM_DEBUG", "(", "N", "->", "dumpr", "(", "&", "DAG", ")", ")", ";", "llvm_unreachable", "(", "\"Do not know how to custom type legalize this operation!\"", ")", ";", "}", "}", ""], "natrual_language": ["ReplaceNodeResults", "-", "Replace", "the", "results", "of", "node", "with", "an", "illegal", "result", "type", "with", "new", "values", "built", "out", "of", "custom", "code", "."], "TS_V_token": ["VE", "VE", "ISD::ATOMIC_SWAP", "\"Do not know how to custom type legalize this operation!\""], "File": "VEISelLowering11", "Func": "ReplaceNodeResults", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1920, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mips_trampoline_code_size", "(", "void", ")", "{", "if", "(", "TARGET_USE_PIC_FN_ADDR_REG", ")", "return", "4", "*", "4", ";", "else", "if", "(", "ptr_mode", "==", "DImode", ")", "return", "8", "*", "4", ";", "else", "if", "(", "ISA_HAS_LOAD_DELAY", ")", "return", "6", "*", "4", ";", "else", "return", "4", "*", "4", ";", "}", ""], "natrual_language": ["Return", "the", "size", "in", "bytes", "of", "the", "trampoline", "code", ",", "padded", "to", "TRAMPOLINE_ALIGNMENT", "bits", ".", "The", "static", "chain", "pointer", "and", "target", "function", "address", "immediately", "follow", "."], "TS_V_token": ["mips", "4", "4", "8", "4", "6", "4", "4", "4"], "File": "mips", "Func": "mips_trampoline_code_size", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1921, "Length": 44, "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": 1922, "Length": 435, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "PredicateInstruction", "(", "MachineInstr", "&", "MI", ",", "ArrayRef", "<", "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", ";", "}", "}", "if", "(", "Opcode", "==", "SystemZ", "::", "Trap", ")", "{", "MI", ".", "setDesc", "(", "get", "(", "SystemZ", "::", "CondTrap", ")", ")", ";", "MachineInstrBuilder", "(", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ".", "addImm", "(", "CCValid", ")", ".", "addImm", "(", "CCMask", ")", ".", "addReg", "(", "SystemZ", "::", "CC", ",", "RegState", "::", "Implicit", ")", ";", "return", "true", ";", "}", "if", "(", "Opcode", "==", "SystemZ", "::", "Return", ")", "{", "MI", ".", "setDesc", "(", "get", "(", "SystemZ", "::", "CondReturn", ")", ")", ";", "MachineInstrBuilder", "(", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ".", "addImm", "(", "CCValid", ")", ".", "addImm", "(", "CCMask", ")", ".", "addReg", "(", "SystemZ", "::", "CC", ",", "RegState", "::", "Implicit", ")", ";", "return", "true", ";", "}", "if", "(", "Opcode", "==", "SystemZ", "::", "CallJG", ")", "{", "const", "GlobalValue", "*", "Global", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getGlobal", "(", ")", ";", "const", "uint32_t", "*", "RegMask", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getRegMask", "(", ")", ";", "MI", ".", "RemoveOperand", "(", "1", ")", ";", "MI", ".", "RemoveOperand", "(", "0", ")", ";", "MI", ".", "setDesc", "(", "get", "(", "SystemZ", "::", "CallBRCL", ")", ")", ";", "MachineInstrBuilder", "(", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ".", "addImm", "(", "CCValid", ")", ".", "addImm", "(", "CCMask", ")", ".", "addGlobalAddress", "(", "Global", ")", ".", "addRegMask", "(", "RegMask", ")", ".", "addReg", "(", "SystemZ", "::", "CC", ",", "RegState", "::", "Implicit", ")", ";", "return", "true", ";", "}", "if", "(", "Opcode", "==", "SystemZ", "::", "CallBR", ")", "{", "const", "uint32_t", "*", "RegMask", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getRegMask", "(", ")", ";", "MI", ".", "RemoveOperand", "(", "0", ")", ";", "MI", ".", "setDesc", "(", "get", "(", "SystemZ", "::", "CallBCR", ")", ")", ";", "MachineInstrBuilder", "(", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ".", "addImm", "(", "CCValid", ")", ".", "addImm", "(", "CCMask", ")", ".", "addRegMask", "(", "RegMask", ")", ".", "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", "SystemZ::Trap", "SystemZ::CondTrap", "SystemZ::CC", "SystemZ::Return", "SystemZ::CondReturn", "SystemZ::CC", "SystemZ::CallJG", "0", "1", "1", "0", "SystemZ::CallBRCL", "SystemZ::CC", "SystemZ::CallBR", "0", "0", "SystemZ::CallBCR", "SystemZ::CC"], "File": "SystemZInstrInfo74", "Func": "PredicateInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1923, "Length": 484, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_legitimate_constant_p", "(", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "if", "(", "SH_OFFSETS_MUST_BE_WITHIN_SECTIONS_P", ")", "{", "rtx", "base", ",", "offset", ";", "split_const", "(", "x", ",", "&", "base", ",", "&", "offset", ")", ";", "if", "(", "GET_CODE", "(", "base", ")", "==", "SYMBOL_REF", "&&", "!", "offset_within_block_p", "(", "base", ",", "INTVAL", "(", "offset", ")", ")", ")", "return", "false", ";", "}", "if", "(", "TARGET_FDPIC", "&&", "(", "SYMBOLIC_CONST_P", "(", "x", ")", "||", "(", "GET_CODE", "(", "x", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "PLUS", "&&", "SYMBOLIC_CONST_P", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ")", ")", ")", ")", "return", "false", ";", "if", "(", "TARGET_SHMEDIA", "&&", "(", "(", "mode", "!=", "DFmode", "&&", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_VECTOR_FLOAT", ")", "||", "x", "==", "CONST0_RTX", "(", "mode", ")", "||", "!", "TARGET_SHMEDIA_FPU", "||", "TARGET_SHMEDIA64", ")", ")", "return", "false", ";", "return", "GET_CODE", "(", "x", ")", "!=", "CONST_DOUBLE", "||", "mode", "==", "DFmode", "||", "mode", "==", "SFmode", "||", "mode", "==", "DImode", "||", "GET_MODE", "(", "x", ")", "==", "VOIDmode", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LEGITIMATE_CONSTANT_P", "can_store_by_pieces", "constructs", "VOIDmode", "CONST_DOUBLEs", "."], "TS_V_token": ["sh", "0", "0", "0"], "File": "sh5", "Func": "sh_legitimate_constant_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1924, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "func_fma_steering", "::", "analyze_fma_fmul_insn", "(", "fma_forest", "*", "ref_forest", ",", "du_chain", "*", "chain", ",", "du_head_p", "head", ")", "{", "fma_forest", "*", "forest", ";", "fma_node", "*", "node", "=", "this", "->", "get_fma_node", "(", "chain", "->", "insn", ")", ";", "if", "(", "!", "node", ")", "{", "fma_root_node", "*", "root_node", ";", "root_node", "=", "new", "fma_root_node", "(", "this", ",", "chain", ",", "this", "->", "m_next_forest_id", "++", ")", ";", "forest", "=", "root_node", "->", "get_forest", "(", ")", ";", "node", "=", "root_node", ";", "this", "->", "m_fma_forests", ".", "push_back", "(", "forest", ")", ";", "}", "else", "forest", "=", "node", "->", "get_forest", "(", ")", ";", "node", "->", "set_head", "(", "head", ")", ";", "if", "(", "ref_forest", ")", "{", "ref_forest", "->", "merge_forest", "(", "forest", ")", ";", "return", ";", "}", "for", "(", "chain", "=", "head", "->", "first", ";", "chain", ";", "chain", "=", "chain", "->", "next_use", ")", "{", "fma_node", "*", "child_fma", ";", "rtx", "fma_rtx", ",", "*", "accum_rtx_p", ";", "if", "(", "!", "is_fmul_fmac_insn", "(", "chain", "->", "insn", ",", "false", ")", ")", "continue", ";", "fma_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "chain", "->", "insn", ")", ")", ";", "if", "(", "GET_CODE", "(", "fma_rtx", ")", "==", "NEG", ")", "fma_rtx", "=", "XEXP", "(", "fma_rtx", ",", "0", ")", ";", "accum_rtx_p", "=", "&", "XEXP", "(", "fma_rtx", ",", "2", ")", ";", "if", "(", "!", "REG_P", "(", "*", "accum_rtx_p", ")", ")", "accum_rtx_p", "=", "&", "XEXP", "(", "*", "accum_rtx_p", ",", "0", ")", ";", "if", "(", "accum_rtx_p", "!=", "chain", "->", "loc", ")", "continue", ";", "if", "(", "this", "->", "get_fma_node", "(", "chain", "->", "insn", ")", ")", "continue", ";", "child_fma", "=", "new", "fma_node", "(", "node", ",", "chain", ")", ";", "node", "->", "add_child", "(", "child_fma", ")", ";", "}", "}", ""], "natrual_language": ["Allocate", "and", "initialize", "fma_node", "objects", "for", "the", "FMUL", "or", "FMADD/FMSUB", "instruction", "in", "CHAIN-", ">", "insn", "and", "its", "dependent", "FMADD/FMSUB", "instructions", ",", "all", "part", "of", "FOREST", ".", "For", "the", "children", ",", "the", "associated", "head", "is", "left", "untouched", "(", "and", "thus", "null", ")", "as", "this", "function", "will", "be", "called", "again", "when", "considering", "the", "chain", "where", "they", "are", "def", ".", "For", "the", "parent", ",", "the", "chain", "is", "given", "in", "HEAD", "."], "TS_V_token": ["aarch64", "0", "2", "0"], "File": "cortex-a57-fma-steering", "Func": "analyze_fma_fmul_insn", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1925, "Length": 255, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FixupBWInstPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "!", "FixupBWInsts", "||", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "this", "->", "MF", "=", "&", "MF", ";", "TII", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "OptForSize", "=", "MF", ".", "getFunction", "(", ")", ".", "hasOptSize", "(", ")", ";", "MLI", "=", "&", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "LiveRegs", ".", "init", "(", "TII", "->", "getRegisterInfo", "(", ")", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Start X86FixupBWInsts\\n\"", ";", ")", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "processBasicBlock", "(", "MF", ",", "MBB", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"End X86FixupBWInsts\\n\"", ";", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "\"Start X86FixupBWInsts\\n\"", "\"End X86FixupBWInsts\\n\""], "File": "X86FixupBWInsts11", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1926, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "switch", "(", "ConstraintID", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected asm memory constraint\"", ")", ";", "case", "InlineAsm", "::", "Constraint_i", ":", "case", "InlineAsm", "::", "Constraint_m", ":", "case", "InlineAsm", "::", "Constraint_Q", ":", "case", "InlineAsm", "::", "Constraint_R", ":", "case", "InlineAsm", "::", "Constraint_S", ":", "case", "InlineAsm", "::", "Constraint_T", ":", "SDValue", "Base", ",", "Disp", ",", "Index", ";", "if", "(", "selectBDXAddr", "(", "SystemZAddressingMode", "::", "FormBD", ",", "SystemZAddressingMode", "::", "Disp12Only", ",", "Op", ",", "Base", ",", "Disp", ",", "Index", ")", ")", "{", "OutOps", ".", "push_back", "(", "Base", ")", ";", "OutOps", ".", "push_back", "(", "Disp", ")", ";", "OutOps", ".", "push_back", "(", "Index", ")", ";", "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": ["SystemZ", "SystemZ", "\"Unexpected asm memory constraint\"", "SystemZAddressingMode::FormBD", "SystemZAddressingMode::Disp12Only"], "File": "SystemZISelDAGToDAG (2)", "Func": "SelectInlineAsmMemoryOperand", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1927, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "GlobalBaseReg", "=", "0", ";", "PPCLowering", "=", "TM", ".", "getSubtargetImpl", "(", ")", "->", "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": "PPCISelDAGToDAG109", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1928, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "MandarinRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Mandarin"], "File": "MandarinTargetMachine", "Func": "getRegisterInfo", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1929, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"Mips Delay Slot Filler\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"Mips Delay Slot Filler\""], "File": "MipsDelaySlotFiller", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1930, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMInstrInfo", "::", "SubsumesPredicate", "(", "const", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Pred1", ",", "const", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Pred2", ")", "const", "{", "if", "(", "Pred1", ".", "size", "(", ")", ">", "2", "||", "Pred2", ".", "size", "(", ")", ">", "2", ")", "return", "false", ";", "ARMCC", "::", "CondCodes", "CC1", "=", "(", "ARMCC", "::", "CondCodes", ")", "Pred1", "[", "0", "]", ".", "getImm", "(", ")", ";", "ARMCC", "::", "CondCodes", "CC2", "=", "(", "ARMCC", "::", "CondCodes", ")", "Pred2", "[", "0", "]", ".", "getImm", "(", ")", ";", "if", "(", "CC1", "==", "CC2", ")", "return", "true", ";", "switch", "(", "CC1", ")", "{", "default", ":", "return", "false", ";", "case", "ARMCC", "::", "AL", ":", "return", "true", ";", "case", "ARMCC", "::", "HS", ":", "return", "CC2", "==", "ARMCC", "::", "HI", ";", "case", "ARMCC", "::", "LS", ":", "return", "CC2", "==", "ARMCC", "::", "LO", "||", "CC2", "==", "ARMCC", "::", "EQ", ";", "case", "ARMCC", "::", "GE", ":", "return", "CC2", "==", "ARMCC", "::", "GT", ";", "case", "ARMCC", "::", "LE", ":", "return", "CC2", "==", "ARMCC", "::", "LT", ";", "}", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "first", "specified", "predicate", "subsumes", "the", "second", ",", "e.g", "."], "TS_V_token": ["ARM", "ARM", "2", "2", "ARMCC::CondCodes", "ARMCC::CondCodes", "0", "ARMCC::CondCodes", "ARMCC::CondCodes", "0", "ARMCC::AL", "ARMCC::HS", "ARMCC::HI", "ARMCC::LS", "ARMCC::LO", "ARMCC::EQ", "ARMCC::GE", "ARMCC::GT", "ARMCC::LE", "ARMCC::LT"], "File": "ARMInstrInfo31", "Func": "SubsumesPredicate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1931, "Length": 165, "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", ".", "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", "16"], "File": "X86InstrInfo134", "Func": "storeRegToStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1932, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "TII", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "LIS", "=", "&", "getAnalysis", "<", "LiveIntervals", ">", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "B", ":", "llvm", "::", "make_early_inc_range", "(", "MF", ")", ")", "if", "(", "processBlock", "(", "B", ")", ")", "Changed", "=", "true", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCTLSDynamicCall7", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1933, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TargetLowering", "::", "getByValTypeAlignment", "(", "const", "Type", "*", "Ty", ")", "const", "{", "if", "(", "Subtarget", "->", "is64Bit", "(", ")", ")", "{", "unsigned", "TyAlign", "=", "TD", "->", "getABITypeAlignment", "(", "Ty", ")", ";", "if", "(", "TyAlign", ">", "8", ")", "return", "TyAlign", ";", "return", "8", ";", "}", "unsigned", "Align", "=", "4", ";", "if", "(", "Subtarget", "->", "hasXMM", "(", ")", ")", "getMaxByValAlign", "(", "Ty", ",", "Align", ")", ";", "return", "Align", ";", "}", ""], "natrual_language": ["Return", "the", "desired", "alignment", "for", "ByVal", "aggregate", "function", "arguments", "in", "the", "caller", "parameter", "area", "."], "TS_V_token": ["X86", "X86", "8", "8", "4"], "File": "X86ISelLowering170", "Func": "getByValTypeAlignment", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1934, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64TargetStreamer", "::", "emitInst", "(", "uint32_t", "Inst", ")", "{", "char", "Buffer", "[", "4", "]", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "4", ";", "++", "I", ")", "{", "Buffer", "[", "I", "]", "=", "uint8_t", "(", "Inst", ")", ";", "Inst", ">>=", "8", ";", "}", "getStreamer", "(", ")", ".", "EmitBytes", "(", "StringRef", "(", "Buffer", ",", "4", ")", ")", ";", "}", ""], "natrual_language": ["Callback", "used", "to", "implement", "the", ".inst", "directive", "."], "TS_V_token": ["AArch64", "AArch64", "4", "0", "4", "8", "4"], "File": "AArch64TargetStreamer10", "Func": "emitInst", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1935, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ")", "const", "{", "llvm_unreachable", "(", "\"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", "\"UNIMP\""], "File": "PPCAsmBackend36", "Func": "applyFixup", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1936, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "attr_length_indirect_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", ")", "return", "12", ";", "if", "(", "TARGET_FAST_INDIRECT_CALLS", "||", "(", "!", "TARGET_PORTABLE_RUNTIME", "&&", "(", "(", "TARGET_PA_20", "&&", "!", "TARGET_SOM", "&&", "distance", "<", "7600000", ")", "||", "distance", "<", "240000", ")", ")", ")", "return", "8", ";", "if", "(", "flag_pic", ")", "return", "24", ";", "if", "(", "TARGET_PORTABLE_RUNTIME", ")", "return", "20", ";", "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", "240000", "8", "24", "20", "12"], "File": "pa3", "Func": "attr_length_indirect_call", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1937, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "X86TargetLowering", "::", "shouldExpandAtomicLoadInIR", "(", "LoadInst", "*", "LI", ")", "const", "{", "auto", "PTy", "=", "cast", "<", "PointerType", ">", "(", "LI", "->", "getPointerOperand", "(", ")", "->", "getType", "(", ")", ")", ";", "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)3", "Func": "shouldExpandAtomicLoadInIR", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1938, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "KudeyarFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "KudeyarMachineFunctionInfo", "*", "KudeyarFI", "=", "MF", ".", "getInfo", "<", "KudeyarMachineFunctionInfo", ">", "(", ")", ";", "const", "KudeyarInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "KudeyarInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "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", "-", "4", ";", "NumBytes", "=", "FrameSize", "-", "KudeyarFI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "MFI", "->", "setOffsetAdjustment", "(", "-", "NumBytes", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "Kudeyar", "::", "PUSH_R", ")", ")", ".", "addReg", "(", "Kudeyar", "::", "FP", ",", "RegState", "::", "Kill", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "Kudeyar", "::", "MOV_RR", ")", ",", "Kudeyar", "::", "FP", ")", ".", "addReg", "(", "Kudeyar", "::", "SP", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "llvm", "::", "next", "(", "MF", ".", "begin", "(", ")", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "I", "->", "addLiveIn", "(", "Kudeyar", "::", "FP", ")", ";", "}", "else", "NumBytes", "=", "StackSize", "-", "KudeyarFI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "while", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", "&&", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "Kudeyar", "::", "PUSH_R", ")", ")", "++", "MBBI", ";", "if", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "NumBytes", ")", "{", "if", "(", "NumBytes", ")", "{", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "Kudeyar", "::", "SUB_RI32", ")", ",", "Kudeyar", "::", "SP", ")", ".", "addReg", "(", "Kudeyar", "::", "SP", ")", ".", "addImm", "(", "NumBytes", ")", ";", "}", "}", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Kudeyar", "Kudeyar", "Kudeyar", "Kudeyar", "Kudeyar", "Kudeyar", "Kudeyar", "0", "4", "Kudeyar", "Kudeyar::PUSH_R", "Kudeyar::FP", "Kudeyar::MOV_RR", "Kudeyar::FP", "Kudeyar::SP", "Kudeyar::FP", "Kudeyar", "Kudeyar::PUSH_R", "Kudeyar::SUB_RI32", "Kudeyar::SP", "Kudeyar::SP"], "File": "KudeyarFrameLowering", "Func": "emitPrologue", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1939, "Length": 353, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_fastmul_rtx_costs", "(", "rtx", "x", ",", "int", "code", ",", "int", "outer_code", ",", "int", "*", "total", ")", "{", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "x", ")", ";", "if", "(", "TARGET_THUMB", ")", "{", "*", "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", "=", "8", ";", "return", "true", ";", "}", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", "||", "mode", "==", "DImode", ")", "{", "*", "total", "=", "30", ";", "return", "true", ";", "}", "if", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "CONST_INT", ")", "{", "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", "+=", "2", ";", "}", "*", "total", "=", "cost", ";", "return", "true", ";", "}", "*", "total", "=", "8", "+", "(", "REG_OR_SUBREG_REG", "(", "XEXP", "(", "x", ",", "0", ")", ")", "?", "0", ":", "4", ")", "+", "(", "REG_OR_SUBREG_REG", "(", "XEXP", "(", "x", ",", "1", ")", ")", "?", "0", ":", "4", ")", ";", "return", "true", ";", "default", ":", "*", "total", "=", "arm_rtx_costs_1", "(", "x", ",", "code", ",", "outer_code", ")", ";", "return", "true", ";", "}", "}", ""], "natrual_language": ["RTX", "cost", "for", "cores", "with", "a", "fast", "multiply", "unit", "(", "M", "variants", ")", "."], "TS_V_token": ["arm", "0", "1", "0", "0", "8", "30", "1", "1", "0xffffffff", "4", "8", "8", "0", "32", "2", "8", "0", "0", "4", "1", "0", "4"], "File": "arm3", "Func": "arm_fastmul_rtx_costs", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1940, "Length": 301, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_add_cfa_restore_note", "(", "rtx", "insn", ",", "rtx", "reg", ",", "HOST_WIDE_INT", "cfa_offset", ")", "{", "if", "(", "!", "crtl", "->", "shrink_wrapped", "&&", "cfa_offset", "<=", "cfun", "->", "machine", "->", "fs", ".", "red_zone_offset", ")", "return", ";", "if", "(", "insn", ")", "{", "add_reg_note", "(", "insn", ",", "REG_CFA_RESTORE", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "else", "queued_cfa_restores", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "queued_cfa_restores", ")", ";", "}", ""], "natrual_language": ["Add", "a", "REG_CFA_RESTORE", "REG", "note", "to", "INSN", "or", "queue", "them", "until", "next", "stack", "manipulation", "insn", ".", "The", "value", "is", "on", "the", "stack", "at", "CFA", "-", "CFA_OFFSET", ".", "Do", "n't", "add", "the", "note", "if", "the", "previously", "saved", "value", "will", "be", "left", "untouched", "within", "stack", "red-zone", "till", "return", ",", "as", "unwinders", "can", "find", "the", "same", "value", "in", "the", "register", "and", "on", "the", "stack", "."], "TS_V_token": ["i386", "1"], "File": "i3864", "Func": "ix86_add_cfa_restore_note", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1941, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "CallLowering", "*", "getCallLowering", "(", ")", "const", "override", "{", "return", "CL", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Methods", "used", "by", "Global", "ISel", "."], "TS_V_token": ["X86"], "File": "X86TargetMachine45", "Func": "getCallLowering", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1942, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "postOffset", "(", "unsigned", "LogAlign", "=", "0", ")", "const", "{", "unsigned", "PO", "=", "Offset", "+", "Size", ";", "return", "PO", ";", "}", ""], "natrual_language": ["Compute", "the", "offset", "immediately", "following", "this", "block", "."], "TS_V_token": ["Mips", "0"], "File": "MipsConstantIslandPass", "Func": "postOffset", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1943, "Length": 21, "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": 1944, "Length": 185, "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", "::", "EXTRACT_VECTOR_ELT", ":", "return", "PerformEXTRACT_VECTOR_ELTCombine", "(", "N", ",", "DAG", ",", "*", "this", ")", ";", "case", "ISD", "::", "VSELECT", ":", "case", "ISD", "::", "SELECT", ":", "return", "PerformSELECTCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "X86ISD", "::", "CMOV", ":", "return", "PerformCMOVCombine", "(", "N", ",", "DAG", ",", "DCI", ")", ";", "case", "ISD", "::", "ADD", ":", "return", "PerformAddCombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SUB", ":", "return", "PerformSubCombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "case", "X86ISD", "::", "ADC", ":", "return", "PerformADCCombine", "(", "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", "::", "AND", ":", "return", "PerformAndCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "OR", ":", "return", "PerformOrCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "XOR", ":", "return", "PerformXorCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "PerformLOADCombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "PerformSTORECombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SINT_TO_FP", ":", "return", "PerformSINT_TO_FPCombine", "(", "N", ",", "DAG", ",", "this", ")", ";", "case", "ISD", "::", "FADD", ":", "return", "PerformFADDCombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "FSUB", ":", "return", "PerformFSUBCombine", "(", "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", "::", "ZERO_EXTEND", ":", "return", "PerformZExtCombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "case", "X86ISD", "::", "SETCC", ":", "return", "PerformSETCCCombine", "(", "N", ",", "DAG", ")", ";", "case", "X86ISD", "::", "SHUFP", ":", "case", "X86ISD", "::", "PALIGN", ":", "case", "X86ISD", "::", "UNPCKH", ":", "case", "X86ISD", "::", "UNPCKL", ":", "case", "X86ISD", "::", "MOVHLPS", ":", "case", "X86ISD", "::", "MOVLHPS", ":", "case", "X86ISD", "::", "PSHUFD", ":", "case", "X86ISD", "::", "PSHUFHW", ":", "case", "X86ISD", "::", "PSHUFLW", ":", "case", "X86ISD", "::", "MOVSS", ":", "case", "X86ISD", "::", "MOVSD", ":", "case", "X86ISD", "::", "VPERMILP", ":", "case", "X86ISD", "::", "VPERM2X128", ":", "case", "ISD", "::", "VECTOR_SHUFFLE", ":", "return", "PerformShuffleCombine", "(", "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": ["X86", "X86", "ISD::EXTRACT_VECTOR_ELT", "ISD::VSELECT", "ISD::SELECT", "X86ISD::CMOV", "ISD::ADD", "ISD::SUB", "X86ISD::ADC", "ISD::MUL", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::AND", "ISD::OR", "ISD::XOR", "ISD::LOAD", "ISD::STORE", "ISD::SINT_TO_FP", "ISD::FADD", "ISD::FSUB", "X86ISD::FXOR", "X86ISD::FOR", "X86ISD::FAND", "X86ISD::BT", "X86ISD::VZEXT_MOVL", "ISD::ZERO_EXTEND", "X86ISD::SETCC", "X86ISD::SHUFP", "X86ISD::PALIGN", "X86ISD::UNPCKH", "X86ISD::UNPCKL", "X86ISD::MOVHLPS", "X86ISD::MOVLHPS", "X86ISD::PSHUFD", "X86ISD::PSHUFHW", "X86ISD::PSHUFLW", "X86ISD::MOVSS", "X86ISD::MOVSD", "X86ISD::VPERMILP", "X86ISD::VPERM2X128", "ISD::VECTOR_SHUFFLE"], "File": "X86ISelLowering150", "Func": "PerformDAGCombine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1945, "Length": 476, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips16_local_alias", "(", "rtx", "func", ")", "{", "if", "(", "mips16_local_aliases", "==", "NULL", ")", "mips16_local_aliases", "=", "hash_map", "<", "rtx", ",", "rtx", ",", "local_alias_traits", ">", "::", "create_ggc", "(", "37", ")", ";", "bool", "existed", ";", "rtx", "*", "slot", "=", "&", "mips16_local_aliases", "->", "get_or_insert", "(", "func", ",", "&", "existed", ")", ";", "gcc_assert", "(", "slot", "!=", "NULL", ")", ";", "if", "(", "!", "existed", ")", "{", "const", "char", "*", "func_name", ",", "*", "local_name", ";", "rtx", "local", ";", "func_name", "=", "targetm", ".", "strip_name_encoding", "(", "XSTR", "(", "func", ",", "0", ")", ")", ";", "local_name", "=", "ACONCAT", "(", "(", "\"__fn_local_\"", ",", "func_name", ",", "NULL", ")", ")", ";", "local", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "ggc_strdup", "(", "local_name", ")", ")", ";", "SYMBOL_REF_FLAGS", "(", "local", ")", "=", "SYMBOL_REF_FLAGS", "(", "func", ")", "|", "SYMBOL_FLAG_LOCAL", ";", "*", "slot", "=", "local", ";", "}", "return", "*", "slot", ";", "}", ""], "natrual_language": ["FUNC", "is", "the", "symbol", "for", "a", "locally-defined", "hard-float", "MIPS16", "function", ".", "Return", "a", "local", "alias", "for", "it", ",", "creating", "a", "new", "one", "if", "necessary", "."], "TS_V_token": ["mips", "37", "0", "\"__fn_local_\""], "File": "mips4", "Func": "mips16_local_alias", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1946, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_expand_vector_extract", "(", "rtx", "target", ",", "rtx", "vec", ",", "rtx", "elt", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "vec", ")", ";", "machine_mode", "inner_mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "rtx", "mem", ";", "if", "(", "VECTOR_MEM_VSX_P", "(", "mode", ")", "&&", "CONST_INT_P", "(", "elt", ")", ")", "{", "switch", "(", "mode", ")", "{", "default", ":", "break", ";", "case", "E_V1TImode", ":", "gcc_assert", "(", "INTVAL", "(", "elt", ")", "==", "0", "&&", "inner_mode", "==", "TImode", ")", ";", "emit_move_insn", "(", "target", ",", "gen_lowpart", "(", "TImode", ",", "vec", ")", ")", ";", "break", ";", "case", "E_V2DFmode", ":", "emit_insn", "(", "gen_vsx_extract_v2df", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "case", "E_V2DImode", ":", "emit_insn", "(", "gen_vsx_extract_v2di", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "case", "E_V4SFmode", ":", "emit_insn", "(", "gen_vsx_extract_v4sf", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "case", "E_V16QImode", ":", "if", "(", "TARGET_DIRECT_MOVE_64BIT", ")", "{", "emit_insn", "(", "gen_vsx_extract_v16qi", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "}", "else", "break", ";", "case", "E_V8HImode", ":", "if", "(", "TARGET_DIRECT_MOVE_64BIT", ")", "{", "emit_insn", "(", "gen_vsx_extract_v8hi", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "}", "else", "break", ";", "case", "E_V4SImode", ":", "if", "(", "TARGET_DIRECT_MOVE_64BIT", ")", "{", "emit_insn", "(", "gen_vsx_extract_v4si", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "}", "break", ";", "}", "}", "else", "if", "(", "VECTOR_MEM_VSX_P", "(", "mode", ")", "&&", "!", "CONST_INT_P", "(", "elt", ")", "&&", "TARGET_DIRECT_MOVE_64BIT", ")", "{", "if", "(", "GET_MODE", "(", "elt", ")", "!=", "DImode", ")", "{", "rtx", "tmp", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "convert_move", "(", "tmp", ",", "elt", ",", "0", ")", ";", "elt", "=", "tmp", ";", "}", "else", "if", "(", "!", "REG_P", "(", "elt", ")", ")", "elt", "=", "force_reg", "(", "DImode", ",", "elt", ")", ";", "switch", "(", "mode", ")", "{", "case", "E_V2DFmode", ":", "emit_insn", "(", "gen_vsx_extract_v2df_var", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "case", "E_V2DImode", ":", "emit_insn", "(", "gen_vsx_extract_v2di_var", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "case", "E_V4SFmode", ":", "emit_insn", "(", "gen_vsx_extract_v4sf_var", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "case", "E_V4SImode", ":", "emit_insn", "(", "gen_vsx_extract_v4si_var", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "case", "E_V8HImode", ":", "emit_insn", "(", "gen_vsx_extract_v8hi_var", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "case", "E_V16QImode", ":", "emit_insn", "(", "gen_vsx_extract_v16qi_var", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "gcc_assert", "(", "CONST_INT_P", "(", "elt", ")", ")", ";", "mem", "=", "assign_stack_temp", "(", "mode", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "emit_move_insn", "(", "mem", ",", "vec", ")", ";", "mem", "=", "adjust_address_nv", "(", "mem", ",", "inner_mode", ",", "INTVAL", "(", "elt", ")", "*", "GET_MODE_SIZE", "(", "inner_mode", ")", ")", ";", "emit_move_insn", "(", "target", ",", "adjust_address_nv", "(", "mem", ",", "inner_mode", ",", "0", ")", ")", ";", "}", ""], "natrual_language": ["Extract", "field", "ELT", "from", "VEC", "into", "TARGET", "."], "TS_V_token": ["rs6000", "0", "0", "0"], "File": "rs60007", "Func": "rs6000_expand_vector_extract", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1947, "Length": 458, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_expand_conditional_move", "(", "rtx", "*", "operands", ")", "{", "rtx", "cond", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "operands", "[", "1", "]", ")", ";", "rtx", "op0", "=", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ";", "rtx", "op1", "=", "XEXP", "(", "operands", "[", "1", "]", ",", "1", ")", ";", "mips_emit_compare", "(", "&", "code", ",", "&", "op0", ",", "&", "op1", ",", "true", ")", ";", "cond", "=", "gen_rtx_fmt_ee", "(", "code", ",", "GET_MODE", "(", "op0", ")", ",", "op0", ",", "op1", ")", ";", "if", "(", "ISA_HAS_SEL", "&&", "INTEGRAL_MODE_P", "(", "GET_MODE", "(", "operands", "[", "2", "]", ")", ")", "&&", "register_operand", "(", "operands", "[", "2", "]", ",", "VOIDmode", ")", "&&", "register_operand", "(", "operands", "[", "3", "]", ",", "VOIDmode", ")", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", ";", "rtx", "temp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rtx", "temp2", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "temp", ",", "gen_rtx_IF_THEN_ELSE", "(", "mode", ",", "cond", ",", "operands", "[", "2", "]", ",", "const0_rtx", ")", ")", ")", ";", "cond", "=", "gen_rtx_fmt_ee", "(", "(", "code", "==", "EQ", ")", "?", "NE", ":", "EQ", ",", "GET_MODE", "(", "op0", ")", ",", "op0", ",", "op1", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "temp2", ",", "gen_rtx_IF_THEN_ELSE", "(", "mode", ",", "cond", ",", "operands", "[", "3", "]", ",", "const0_rtx", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "operands", "[", "0", "]", ",", "gen_rtx_IOR", "(", "mode", ",", "temp", ",", "temp2", ")", ")", ")", ";", "}", "else", "{", "if", "(", "FLOAT_MODE_P", "(", "GET_MODE", "(", "operands", "[", "2", "]", ")", ")", "&&", "!", "ISA_HAS_SEL", ")", "{", "operands", "[", "2", "]", "=", "force_reg", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", ",", "operands", "[", "2", "]", ")", ";", "operands", "[", "3", "]", "=", "force_reg", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", ",", "operands", "[", "3", "]", ")", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "operands", "[", "0", "]", ",", "gen_rtx_IF_THEN_ELSE", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", ",", "cond", ",", "operands", "[", "2", "]", ",", "operands", "[", "3", "]", ")", ")", ")", ";", "}", "}", ""], "natrual_language": ["Perform", "the", "comparison", "in", "OPERANDS", "[", "1", "]", ".", "Move", "OPERANDS", "[", "2", "]", "into", "OPERANDS", "[", "0", "]", "if", "the", "condition", "holds", ",", "otherwise", "move", "OPERANDS", "[", "3", "]", "into", "OPERANDS", "[", "0", "]", "."], "TS_V_token": ["mips", "1", "1", "0", "1", "1", "2", "2", "3", "0", "2", "3", "0", "2", "2", "0", "2", "3", "0", "3", "0", "0", "2", "3"], "File": "mips4", "Func": "mips_expand_conditional_move", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1948, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sh_setup_incoming_varargs", "(", "cumulative_args_t", "ca", ",", "const", "function_arg_info", "&", "arg", ",", "int", "*", "pretend_arg_size", ",", "int", "second_time", "ATTRIBUTE_UNUSED", ")", "{", "gcc_assert", "(", "cfun", "->", "stdarg", ")", ";", "if", "(", "TARGET_VARARGS_PRETEND_ARGS", "(", "current_function_decl", ")", ")", "{", "int", "named_parm_regs", "=", "0", ",", "anon_parm_regs", ";", "if", "(", "!", "TYPE_NO_NAMED_ARGS_STDARG_P", "(", "TREE_TYPE", "(", "current_function_decl", ")", ")", ")", "named_parm_regs", "=", "(", "sh_round_reg", "(", "*", "get_cumulative_args", "(", "ca", ")", ",", "arg", ".", "mode", ")", "+", "CEIL", "(", "arg", ".", "promoted_size_in_bytes", "(", ")", ",", "UNITS_PER_WORD", ")", ")", ";", "anon_parm_regs", "=", "NPARM_REGS", "(", "SImode", ")", "-", "named_parm_regs", ";", "if", "(", "anon_parm_regs", ">", "0", ")", "*", "pretend_arg_size", "=", "anon_parm_regs", "*", "4", ";", "}", "}", ""], "natrual_language": ["We", "actually", "emit", "the", "code", "in", "sh_expand_prologue", ".", "We", "used", "to", "use", "a", "static", "variable", "to", "flag", "that", "we", "need", "to", "emit", "this", "code", ",", "but", "that", "does", "n't", "when", "inlining", ",", "when", "functions", "are", "deferred", "and", "then", "emitted", "later", ".", "Fortunately", ",", "we", "already", "have", "two", "flags", "that", "are", "part", "of", "struct", "function", "that", "tell", "if", "a", "function", "uses", "varargs", "or", "stdarg", "."], "TS_V_token": ["sh", "0", "0", "4"], "File": "sh1", "Func": "sh_setup_incoming_varargs", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1949, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_can_use_return_insn", "(", "void", ")", "{", "if", "(", "cfun", "->", "machine", "->", "interrupt_handler_p", ")", "return", "false", ";", "if", "(", "!", "reload_completed", ")", "return", "false", ";", "if", "(", "crtl", "->", "profile", ")", "return", "false", ";", "if", "(", "mips16_cfun_returns_in_fpr_p", "(", ")", ")", "return", "false", ";", "return", "cfun", "->", "machine", "->", "frame", ".", "total_size", "==", "0", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "this", "function", "is", "known", "to", "have", "a", "null", "epilogue", ".", "This", "allows", "the", "optimizer", "to", "omit", "jumps", "to", "jumps", "if", "no", "stack", "was", "created", "."], "TS_V_token": ["mips", "0"], "File": "mips4", "Func": "mips_can_use_return_insn", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1950, "Length": 55, "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": 1951, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "expand_vselect", "(", "rtx", "target", ",", "rtx", "op0", ",", "const", "unsigned", "char", "*", "perm", ",", "unsigned", "nelt", ")", "{", "rtx", "rperm", "[", "MAX_VECT_LEN", "]", ",", "x", ";", "unsigned", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "rperm", "[", "i", "]", "=", "GEN_INT", "(", "perm", "[", "i", "]", ")", ";", "x", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec_v", "(", "nelt", ",", "rperm", ")", ")", ";", "x", "=", "gen_rtx_VEC_SELECT", "(", "GET_MODE", "(", "target", ")", ",", "op0", ",", "x", ")", ";", "x", "=", "gen_rtx_SET", "(", "target", ",", "x", ")", ";", "rtx_insn", "*", "insn", "=", "emit_insn", "(", "x", ")", ";", "if", "(", "recog_memoized", "(", "insn", ")", "<", "0", ")", "{", "remove_insn", "(", "insn", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Construct", "(", "set", "target", "(", "vec_select", "op0", "(", "parallel", "perm", ")", ")", ")", "and", "return", "true", "if", "that", "'s", "a", "valid", "instruction", "in", "the", "active", "ISA", "."], "TS_V_token": ["ia64", "0", "0"], "File": "ia64", "Func": "expand_vselect", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1952, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "PPCRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AnyReg", ")", "{", "if", "(", "!", "TM", ".", "isPPC64", "(", ")", "&&", "Subtarget", ".", "isAIXABI", "(", ")", ")", "report_fatal_error", "(", "\"AnyReg unimplemented on 32-bit AIX.\"", ")", ";", "if", "(", "Subtarget", ".", "hasVSX", "(", ")", ")", "return", "CSR_64_AllRegs_VSX_SaveList", ";", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "CSR_64_AllRegs_Altivec_SaveList", ";", "return", "CSR_64_AllRegs_SaveList", ";", "}", "if", "(", "TM", ".", "isPPC64", "(", ")", "&&", "MF", "->", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", "->", "isSplitCSR", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "isAIXABI", "(", ")", ")", "report_fatal_error", "(", "\"SplitCSR unimplemented on AIX.\"", ")", ";", "return", "CSR_SRV464_TLS_PE_SaveList", ";", "}", "bool", "SaveR2", "=", "MF", "->", "getRegInfo", "(", ")", ".", "isAllocatable", "(", "PPC", "::", "X2", ")", "&&", "!", "Subtarget", ".", "isUsingPCRelativeCalls", "(", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "Cold", ")", "{", "if", "(", "Subtarget", ".", "isAIXABI", "(", ")", ")", "report_fatal_error", "(", "\"Cold calling unimplemented on AIX.\"", ")", ";", "if", "(", "TM", ".", "isPPC64", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "SaveR2", "?", "CSR_SVR64_ColdCC_R2_Altivec_SaveList", ":", "CSR_SVR64_ColdCC_Altivec_SaveList", ";", "return", "SaveR2", "?", "CSR_SVR64_ColdCC_R2_SaveList", ":", "CSR_SVR64_ColdCC_SaveList", ";", "}", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "CSR_SVR32_ColdCC_Altivec_SaveList", ";", "else", "if", "(", "Subtarget", ".", "hasSPE", "(", ")", ")", "return", "CSR_SVR32_ColdCC_SPE_SaveList", ";", "return", "CSR_SVR32_ColdCC_SaveList", ";", "}", "if", "(", "TM", ".", "isPPC64", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "SaveR2", "?", "CSR_PPC64_R2_Altivec_SaveList", ":", "CSR_PPC64_Altivec_SaveList", ";", "return", "SaveR2", "?", "CSR_PPC64_R2_SaveList", ":", "CSR_PPC64_SaveList", ";", "}", "if", "(", "Subtarget", ".", "isAIXABI", "(", ")", ")", "return", "CSR_AIX32_SaveList", ";", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "CSR_SVR432_Altivec_SaveList", ";", "else", "if", "(", "Subtarget", ".", "hasSPE", "(", ")", ")", "return", "CSR_SVR432_SPE_SaveList", ";", "return", "CSR_SVR432_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "\"AnyReg unimplemented on 32-bit AIX.\"", "PPC", "PPC", "\"SplitCSR unimplemented on AIX.\"", "PPC::X2", "\"Cold calling unimplemented on AIX.\"", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC"], "File": "PPCRegisterInfo46", "Func": "getCalleeSavedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1953, "Length": 312, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "CSKYRegisterInfo", "::", "getNoPreservedMask", "(", ")", "const", "{", "return", "CSR_NoRegs_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "register", "mask", "that", "clobbers", "everything", "."], "TS_V_token": ["CSKY", "CSKY"], "File": "CSKYRegisterInfo", "Func": "getNoPreservedMask", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1954, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "expandPostRAPseudo", "(", "MachineInstr", "&", "MI", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "TargetOpcode", "::", "LOAD_STACK_GUARD", ":", "{", "assert", "(", "Subtarget", ".", "isTargetLinux", "(", ")", "&&", "\"Only Linux target is expected to contain LOAD_STACK_GUARD\"", ")", ";", "const", "int64_t", "Offset", "=", "Subtarget", ".", "isPPC64", "(", ")", "?", "-", "0x7010", ":", "-", "0x7008", ";", "const", "unsigned", "Reg", "=", "Subtarget", ".", "isPPC64", "(", ")", "?", "PPC", "::", "X13", ":", "PPC", "::", "R2", ";", "MI", ".", "setDesc", "(", "get", "(", "Subtarget", ".", "isPPC64", "(", ")", "?", "PPC", "::", "LD", ":", "PPC", "::", "LWZ", ")", ")", ";", "MachineInstrBuilder", "(", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ".", "addImm", "(", "Offset", ")", ".", "addReg", "(", "Reg", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["PowerPC", "PPC", "\"Only Linux target is expected to contain LOAD_STACK_GUARD\"", "PPC", "0x7010", "0x7008", "PPC", "PPC::X13", "PPC::R2", "PPC", "PPC::LD", "PPC::LWZ"], "File": "PPCInstrInfo100", "Func": "expandPostRAPseudo", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1955, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"ARM Machine Code Emitter\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"ARM Machine Code Emitter\""], "File": "ARMCodeEmitter14", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1956, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getReg", "(", ")", "const", "override", "{", "assert", "(", "(", "Kind", "==", "k_Register", ")", "&&", "\"Invalid access!\"", ")", ";", "return", "Reg", ".", "RegNum", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["VE", "\"Invalid access!\""], "File": "VEAsmParser (2)", "Func": "getReg", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1957, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "X86TargetLowering", "::", "BuildSDIVPow2", "(", "SDNode", "*", "N", ",", "const", "APInt", "&", "Divisor", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDNode", "*", ">", "&", "Created", ")", "const", "{", "AttributeList", "Attr", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFunction", "(", ")", ".", "getAttributes", "(", ")", ";", "if", "(", "isIntDivCheap", "(", "N", "->", "getValueType", "(", "0", ")", ",", "Attr", ")", ")", "return", "SDValue", "(", "N", ",", "0", ")", ";", "assert", "(", "(", "Divisor", ".", "isPowerOf2", "(", ")", "||", "Divisor", ".", "isNegatedPowerOf2", "(", ")", ")", "&&", "\"Unexpected divisor!\"", ")", ";", "if", "(", "!", "Subtarget", ".", "hasCMov", "(", ")", ")", "return", "SDValue", "(", ")", ";", "EVT", "VT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "if", "(", "VT", "!=", "MVT", "::", "i16", "&&", "VT", "!=", "MVT", "::", "i32", "&&", "!", "(", "Subtarget", ".", "is64Bit", "(", ")", "&&", "VT", "==", "MVT", "::", "i64", ")", ")", "return", "SDValue", "(", ")", ";", "unsigned", "Lg2", "=", "Divisor", ".", "countTrailingZeros", "(", ")", ";", "if", "(", "Lg2", "==", "1", ")", "return", "SDValue", "(", ")", ";", "SDLoc", "DL", "(", "N", ")", ";", "SDValue", "N0", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Zero", "=", "DAG", ".", "getConstant", "(", "0", ",", "DL", ",", "VT", ")", ";", "APInt", "Lg2Mask", "=", "APInt", "::", "getLowBitsSet", "(", "VT", ".", "getSizeInBits", "(", ")", ",", "Lg2", ")", ";", "SDValue", "Pow2MinusOne", "=", "DAG", ".", "getConstant", "(", "Lg2Mask", ",", "DL", ",", "VT", ")", ";", "SDValue", "Cmp", "=", "DAG", ".", "getSetCC", "(", "DL", ",", "MVT", "::", "i8", ",", "N0", ",", "Zero", ",", "ISD", "::", "SETLT", ")", ";", "SDValue", "Add", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ADD", ",", "DL", ",", "VT", ",", "N0", ",", "Pow2MinusOne", ")", ";", "SDValue", "CMov", "=", "DAG", ".", "getNode", "(", "ISD", "::", "SELECT", ",", "DL", ",", "VT", ",", "Cmp", ",", "Add", ",", "N0", ")", ";", "Created", ".", "push_back", "(", "Cmp", ".", "getNode", "(", ")", ")", ";", "Created", ".", "push_back", "(", "Add", ".", "getNode", "(", ")", ")", ";", "Created", ".", "push_back", "(", "CMov", ".", "getNode", "(", ")", ")", ";", "SDValue", "SRA", "=", "DAG", ".", "getNode", "(", "ISD", "::", "SRA", ",", "DL", ",", "VT", ",", "CMov", ",", "DAG", ".", "getConstant", "(", "Lg2", ",", "DL", ",", "MVT", "::", "i8", ")", ")", ";", "if", "(", "Divisor", ".", "isNonNegative", "(", ")", ")", "return", "SRA", ";", "Created", ".", "push_back", "(", "SRA", ".", "getNode", "(", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "ISD", "::", "SUB", ",", "DL", ",", "VT", ",", "Zero", ",", "SRA", ")", ";", "}", ""], "natrual_language": ["Targets", "may", "override", "this", "function", "to", "provide", "custom", "SDIV", "lowering", "for", "power-of-2", "denominators", "."], "TS_V_token": ["X86", "X86", "0", "0", "\"Unexpected divisor!\"", "0", "MVT::i16", "MVT::i32", "MVT::i64", "1", "0", "0", "MVT::i8", "ISD::SETLT", "ISD::ADD", "ISD::SELECT", "ISD::SRA", "MVT::i8", "ISD::SUB"], "File": "X86ISelLowering174", "Func": "BuildSDIVPow2", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1958, "Length": 393, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "gen_load_pcrel_sym", "(", "rtx", "op0", ",", "rtx", "op1", ",", "rtx", "op2", ",", "rtx", "op3", ")", "{", "int", "orig_flag_pic", "=", "flag_pic", ";", "rtx", "insn", ";", "flag_pic", "=", "0", ";", "if", "(", "TARGET_ARCH64", ")", "insn", "=", "gen_load_pcrel_symdi", "(", "op0", ",", "op1", ",", "op2", ",", "op3", ")", ";", "else", "insn", "=", "gen_load_pcrel_symsi", "(", "op0", ",", "op1", ",", "op2", ",", "op3", ")", ";", "flag_pic", "=", "orig_flag_pic", ";", "return", "insn", ";", "}", ""], "natrual_language": ["Wrapper", "around", "the", "load_pcrel_sym", "{", "si", ",", "di", "}", "patterns", "."], "TS_V_token": ["sparc", "0"], "File": "sparc4", "Func": "gen_load_pcrel_sym", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1959, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86FastISel", "::", "fastMaterializeConstant", "(", "const", "Constant", "*", "C", ")", "{", "EVT", "CEVT", "=", "TLI", ".", "getValueType", "(", "DL", ",", "C", "->", "getType", "(", ")", ",", "true", ")", ";", "if", "(", "!", "CEVT", ".", "isSimple", "(", ")", ")", "return", "0", ";", "MVT", "VT", "=", "CEVT", ".", "getSimpleVT", "(", ")", ";", "if", "(", "const", "auto", "*", "CI", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "C", ")", ")", "return", "X86MaterializeInt", "(", "CI", ",", "VT", ")", ";", "if", "(", "const", "auto", "*", "CFP", "=", "dyn_cast", "<", "ConstantFP", ">", "(", "C", ")", ")", "return", "X86MaterializeFP", "(", "CFP", ",", "VT", ")", ";", "if", "(", "const", "auto", "*", "GV", "=", "dyn_cast", "<", "GlobalValue", ">", "(", "C", ")", ")", "return", "X86MaterializeGV", "(", "GV", ",", "VT", ")", ";", "if", "(", "isa", "<", "UndefValue", ">", "(", "C", ")", ")", "{", "unsigned", "Opc", "=", "0", ";", "switch", "(", "VT", ".", "SimpleTy", ")", "{", "default", ":", "break", ";", "case", "MVT", "::", "f32", ":", "if", "(", "!", "Subtarget", "->", "hasSSE1", "(", ")", ")", "Opc", "=", "X86", "::", "LD_Fp032", ";", "break", ";", "case", "MVT", "::", "f64", ":", "if", "(", "!", "Subtarget", "->", "hasSSE2", "(", ")", ")", "Opc", "=", "X86", "::", "LD_Fp064", ";", "break", ";", "case", "MVT", "::", "f80", ":", "Opc", "=", "X86", "::", "LD_Fp080", ";", "break", ";", "}", "if", "(", "Opc", ")", "{", "Register", "ResultReg", "=", "createResultReg", "(", "TLI", ".", "getRegClassFor", "(", "VT", ")", ")", ";", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "TII", ".", "get", "(", "Opc", ")", ",", "ResultReg", ")", ";", "return", "ResultReg", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["Emit", "a", "constant", "in", "a", "register", "using", "target-specific", "logic", ",", "such", "as", "constant", "pool", "loads", "."], "TS_V_token": ["X86", "X86", "0", "X86", "X86", "X86", "0", "MVT::f32", "X86::LD_Fp032", "MVT::f64", "X86::LD_Fp064", "MVT::f80", "X86::LD_Fp080", "0"], "File": "X86FastISel56", "Func": "fastMaterializeConstant", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1960, "Length": 254, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LanaiTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "ADD", ":", "case", "ISD", "::", "OR", ":", "case", "ISD", "::", "XOR", ":", "return", "combineSelectAndUseCommutative", "(", "N", ",", "DCI", ",", "false", ")", ";", "case", "ISD", "::", "AND", ":", "return", "combineSelectAndUseCommutative", "(", "N", ",", "DCI", ",", "true", ")", ";", "case", "ISD", "::", "SUB", ":", "return", "PerformSUBCombine", "(", "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": ["Lanai", "Lanai", "ISD::ADD", "ISD::OR", "ISD::XOR", "ISD::AND", "ISD::SUB"], "File": "LanaiISelLowering", "Func": "PerformDAGCombine", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1961, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64TargetLowering", "::", "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", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "return", "false", ";", "bool", "HasRet", "=", "false", ";", "for", "(", "SDNode", "*", "Node", ":", "Copy", "->", "uses", "(", ")", ")", "{", "if", "(", "Node", "->", "getOpcode", "(", ")", "!=", "ARM64ISD", "::", "RET_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": ["ARM64", "ARM64", "1", "1", "0", "ISD::CopyToReg", "1", "MVT::Glue", "0", "ISD::FP_EXTEND", "ARM64ISD::RET_FLAG"], "File": "ARM64ISelLowering", "Func": "isUsedByReturnOnly", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1962, "Length": 178, "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", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "MachineInstr", "*", "Old", "=", "I", ";", "DebugLoc", "dl", "=", "Old", "->", "getDebugLoc", "(", ")", ";", "unsigned", "Amount", "=", "Old", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "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", "(", ")", ";", "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", "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)1", "Func": "eliminateCallFramePseudoInstr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1963, "Length": 300, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sh_expand_sym_label2reg", "(", "rtx", "reg", ",", "rtx", "sym", ",", "rtx", "lab", ",", "bool", "sibcall_p", ")", "{", "const_tree", "decl", "=", "SYMBOL_REF_DECL", "(", "sym", ")", ";", "bool", "is_weak", "=", "(", "decl", "&&", "DECL_P", "(", "decl", ")", "&&", "DECL_WEAK", "(", "decl", ")", ")", ";", "if", "(", "!", "is_weak", "&&", "SYMBOL_REF_LOCAL_P", "(", "sym", ")", ")", "emit_insn", "(", "gen_sym_label2reg", "(", "reg", ",", "sym", ",", "lab", ")", ")", ";", "else", "if", "(", "sibcall_p", "&&", "SYMBOL_REF_LOCAL_P", "(", "sym", ")", ")", "emit_insn", "(", "gen_symPCREL_label2reg", "(", "reg", ",", "sym", ",", "lab", ")", ")", ";", "else", "emit_insn", "(", "gen_symPLT_label2reg", "(", "reg", ",", "sym", ",", "lab", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "to", "appropriate", "sym", "*", "_label2reg", "for", "SYM", "and", "SIBCALL_P", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "sh_expand_sym_label2reg", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1964, "Length": 99, "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": ["AArch64"], "File": "AArch64TargetMachine22", "Func": "getRegisterInfo", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1965, "Length": 18, "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": 1966, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_load_p", "(", "rtx_insn", "*", "insn", ")", "{", "enum", "attr_itanium_class", "insn_class", "=", "ia64_safe_itanium_class", "(", "insn", ")", ";", "return", "(", "(", "insn_class", "==", "ITANIUM_CLASS_LD", "||", "insn_class", "==", "ITANIUM_CLASS_FLD", ")", "&&", "get_attr_check_load", "(", "insn", ")", "==", "CHECK_LOAD_NO", ")", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "INSN", "is", "a", "load", "(", "either", "normal", "or", "speculative", ",", "but", "not", "a", "speculation", "check", ")", ",", "FALSE", "otherwise", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "is_load_p", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1967, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_file_end", "(", "void", ")", "{", "if", "(", "got_helper_needed", ")", "{", "const", "char", "*", "name", "=", "XSTR", "(", "got_helper_rtx", ",", "0", ")", ";", "bool", "do_cfi", ";", "if", "(", "USE_HIDDEN_LINKONCE", ")", "{", "tree", "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", ";", "make_decl_one_only", "(", "decl", ",", "DECL_ASSEMBLER_NAME", "(", "decl", ")", ")", ";", "DECL_VISIBILITY", "(", "decl", ")", "=", "VISIBILITY_HIDDEN", ";", "DECL_VISIBILITY_SPECIFIED", "(", "decl", ")", "=", "1", ";", "resolve_unique_section", "(", "decl", ",", "0", ",", "flag_function_sections", ")", ";", "allocate_struct_function", "(", "decl", ",", "true", ")", ";", "cfun", "->", "is_thunk", "=", "1", ";", "current_function_decl", "=", "decl", ";", "init_varasm_status", "(", ")", ";", "assemble_start_function", "(", "decl", ",", "name", ")", ";", "}", "else", "{", "const", "int", "align", "=", "floor_log2", "(", "FUNCTION_BOUNDARY", "/", "BITS_PER_UNIT", ")", ";", "switch_to_section", "(", "text_section", ")", ";", "if", "(", "align", ">", "0", ")", "ASM_OUTPUT_ALIGN", "(", "asm_out_file", ",", "align", ")", ";", "ASM_OUTPUT_LABEL", "(", "asm_out_file", ",", "name", ")", ";", "}", "do_cfi", "=", "dwarf2out_do_cfi_asm", "(", ")", ";", "if", "(", "do_cfi", ")", "output_asm_insn", "(", "\".cfi_startproc\"", ",", "NULL", ")", ";", "if", "(", "flag_delayed_branch", ")", "{", "output_asm_insn", "(", "\"jmp\\t%%o7+8\"", ",", "NULL", ")", ";", "output_asm_insn", "(", "\" add\\t%%o7, %0, %0\"", ",", "&", "got_register_rtx", ")", ";", "}", "else", "{", "output_asm_insn", "(", "\"add\\t%%o7, %0, %0\"", ",", "&", "got_register_rtx", ")", ";", "output_asm_insn", "(", "\"jmp\\t%%o7+8\"", ",", "NULL", ")", ";", "output_asm_insn", "(", "\" nop\"", ",", "NULL", ")", ";", "}", "if", "(", "do_cfi", ")", "output_asm_insn", "(", "\".cfi_endproc\"", ",", "NULL", ")", ";", "}", "if", "(", "NEED_INDICATE_EXEC_STACK", ")", "file_end_indicate_exec_stack", "(", ")", ";", "solaris_file_end", "(", ")", ";", "}", ""], "natrual_language": ["Do", "whatever", "processing", "is", "required", "at", "the", "end", "of", "a", "file", "."], "TS_V_token": ["sparc", "0", "1", "1", "1", "0", "1", "0", "\".cfi_startproc\"", "\"jmp\\t%%o7+8\"", "\" add\\t%%o7, %0, %0\"", "\"add\\t%%o7, %0, %0\"", "\"jmp\\t%%o7+8\"", "\" nop\"", "\".cfi_endproc\""], "File": "sparc", "Func": "sparc_file_end", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1968, "Length": 273, "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": "ARMTargetMachine62", "Func": "addPreSched2", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1969, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCRegisterInfo", "::", "adjustStackMapLiveOutMask", "(", "uint32_t", "*", "Mask", ")", "const", "{", "unsigned", "PseudoRegs", "[", "]", "=", "{", "PPC", "::", "ZERO", ",", "PPC", "::", "ZERO8", ",", "PPC", "::", "RM", "}", ";", "for", "(", "unsigned", "i", "=", "0", ",", "ie", "=", "array_lengthof", "(", "PseudoRegs", ")", ";", "i", "!=", "ie", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "PseudoRegs", "[", "i", "]", ";", "Mask", "[", "Reg", "/", "32", "]", "&=", "~", "(", "1u", "<<", "(", "Reg", "%", "32", ")", ")", ";", "}", "}", ""], "natrual_language": ["Prior", "to", "adding", "the", "live-out", "mask", "to", "a", "stackmap", "or", "patchpoint", "instruction", ",", "provide", "the", "target", "the", "opportunity", "to", "adjust", "it", "(", "mainly", "to", "remove", "pseudo-registers", "that", "should", "be", "ignored", ")", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::ZERO", "PPC::ZERO8", "PPC::RM", "0", "32", "1u", "32"], "File": "PPCRegisterInfo22", "Func": "adjustStackMapLiveOutMask", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1970, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "&", "LiveRangeShrinkID", ")", ";", "addPass", "(", "createX86FixupSetCC", "(", ")", ")", ";", "addPass", "(", "createX86OptimizeLEAs", "(", ")", ")", ";", "addPass", "(", "createX86CallFrameOptimization", "(", ")", ")", ";", "addPass", "(", "createX86AvoidStoreForwardingBlocks", "(", ")", ")", ";", "}", "addPass", "(", "createX86SpeculativeLoadHardeningPass", "(", ")", ")", ";", "addPass", "(", "createX86FlagsCopyLoweringPass", "(", ")", ")", ";", "addPass", "(", "createX86DynAllocaExpander", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createX86PreTileConfigPass", "(", ")", ")", ";", "}", "}", ""], "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", "X86", "X86", "X86"], "File": "X86TargetMachine114", "Func": "addPreRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1971, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "canInsertSelect", "(", "const", "MachineBasicBlock", "&", "MBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "unsigned", "TrueReg", ",", "unsigned", "FalseReg", ",", "int", "&", "CondCycles", ",", "int", "&", "TrueCycles", ",", "int", "&", "FalseCycles", ")", "const", "{", "if", "(", "Cond", ".", "size", "(", ")", "!=", "2", ")", "return", "false", ";", "if", "(", "Cond", "[", "1", "]", ".", "getReg", "(", ")", "==", "PPC", "::", "CTR", "||", "Cond", "[", "1", "]", ".", "getReg", "(", ")", "==", "PPC", "::", "CTR8", ")", "return", "false", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "RI", ".", "getCommonSubClass", "(", "MRI", ".", "getRegClass", "(", "TrueReg", ")", ",", "MRI", ".", "getRegClass", "(", "FalseReg", ")", ")", ";", "if", "(", "!", "RC", ")", "return", "false", ";", "if", "(", "!", "PPC", "::", "GPRCRegClass", ".", "hasSubClassEq", "(", "RC", ")", "&&", "!", "PPC", "::", "GPRC_NOR0RegClass", ".", "hasSubClassEq", "(", "RC", ")", "&&", "!", "PPC", "::", "G8RCRegClass", ".", "hasSubClassEq", "(", "RC", ")", "&&", "!", "PPC", "::", "G8RC_NOX0RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "return", "false", ";", "CondCycles", "=", "1", ";", "TrueCycles", "=", "1", ";", "FalseCycles", "=", "1", ";", "return", "true", ";", "}", ""], "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": ["PowerPC", "PPC", "2", "1", "PPC::CTR", "1", "PPC::CTR8", "PPC::GPRCRegClass", "PPC::GPRC_NOR0RegClass", "PPC::G8RCRegClass", "PPC::G8RC_NOX0RegClass", "1", "1", "1"], "File": "PPCInstrInfo (2)2", "Func": "canInsertSelect", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1972, "Length": 188, "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": 1973, "Length": 131, "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", "*", ">", "(", "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\"", "PPC::ADDI", "PPC::ADDI8", "2", "0", "PPC", "PPC", "PPC", "PPC"], "File": "PPCRegisterInfo32", "Func": "needsFrameBaseReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1974, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsOs16", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "bool", "usingMask", "=", "Mips32FunctionMask", ".", "length", "(", ")", ">", "0", ";", "bool", "doneUsingMask", "=", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Run on Module MipsOs16 \\n\"", "<<", "Mips32FunctionMask", "<<", "\"\\n\"", ")", ";", "if", "(", "usingMask", ")", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"using mask \\n\"", "<<", "Mips32FunctionMask", "<<", "\"\\n\"", ")", ";", "unsigned", "int", "functionIndex", "=", "0", ";", "bool", "modified", "=", "false", ";", "for", "(", "auto", "&", "F", ":", "M", ")", "{", "if", "(", "F", ".", "isDeclaration", "(", ")", ")", "continue", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Working on \"", "<<", "F", ".", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "if", "(", "usingMask", ")", "{", "if", "(", "!", "doneUsingMask", ")", "{", "if", "(", "functionIndex", "==", "Mips32FunctionMask", ".", "length", "(", ")", ")", "functionIndex", "=", "0", ";", "switch", "(", "Mips32FunctionMask", "[", "functionIndex", "]", ")", "{", "case", "'1'", ":", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"mask forced mips32: \"", "<<", "F", ".", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "F", ".", "addFnAttr", "(", "\"nomips16\"", ")", ";", "break", ";", "case", "'.'", ":", "doneUsingMask", "=", "true", ";", "break", ";", "default", ":", "break", ";", "}", "functionIndex", "++", ";", "}", "}", "else", "{", "if", "(", "needsFP", "(", "F", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"os16 forced mips32: \"", "<<", "F", ".", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "F", ".", "addFnAttr", "(", "\"nomips16\"", ")", ";", "}", "else", "{", "LLVM_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": "MipsOs1615", "Func": "runOnModule", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1975, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "SparcFrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "Register", "&", "FrameReg", ")", "const", "{", "const", "SparcSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "SparcSubtarget", ">", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "SparcRegisterInfo", "*", "RegInfo", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "const", "SparcMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "SparcMachineFunctionInfo", ">", "(", ")", ";", "bool", "isFixed", "=", "MFI", ".", "isFixedObjectIndex", "(", "FI", ")", ";", "bool", "UseFP", ";", "if", "(", "FuncInfo", "->", "isLeafProc", "(", ")", ")", "{", "UseFP", "=", "false", ";", "}", "else", "if", "(", "isFixed", ")", "{", "UseFP", "=", "true", ";", "}", "else", "if", "(", "RegInfo", "->", "needsStackRealignment", "(", "MF", ")", ")", "{", "UseFP", "=", "false", ";", "}", "else", "{", "UseFP", "=", "true", ";", "}", "int64_t", "FrameOffset", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectOffset", "(", "FI", ")", "+", "Subtarget", ".", "getStackPointerBias", "(", ")", ";", "if", "(", "UseFP", ")", "{", "FrameReg", "=", "RegInfo", "->", "getFrameRegister", "(", "MF", ")", ";", "return", "FrameOffset", ";", "}", "else", "{", "FrameReg", "=", "SP", "::", "O6", ";", "return", "FrameOffset", "+", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ";", "}", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "SP::O6"], "File": "SparcFrameLowering15", "Func": "getFrameIndexReference", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1976, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "unsigned", "*", "X86RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "bool", "callsEHReturn", "=", "false", ";", "bool", "ghcCall", "=", "false", ";", "if", "(", "MF", ")", "{", "callsEHReturn", "=", "MF", "->", "getMMI", "(", ")", ".", "callsEHReturn", "(", ")", ";", "const", "Function", "*", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "ghcCall", "=", "(", "F", "?", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "GHC", ":", "false", ")", ";", "}", "static", "const", "unsigned", "GhcCalleeSavedRegs", "[", "]", "=", "{", "0", "}", ";", "static", "const", "unsigned", "CalleeSavedRegs32Bit", "[", "]", "=", "{", "X86", "::", "ESI", ",", "X86", "::", "EDI", ",", "X86", "::", "EBX", ",", "X86", "::", "EBP", ",", "0", "}", ";", "static", "const", "unsigned", "CalleeSavedRegs32EHRet", "[", "]", "=", "{", "X86", "::", "EAX", ",", "X86", "::", "EDX", ",", "X86", "::", "ESI", ",", "X86", "::", "EDI", ",", "X86", "::", "EBX", ",", "X86", "::", "EBP", ",", "0", "}", ";", "static", "const", "unsigned", "CalleeSavedRegs64Bit", "[", "]", "=", "{", "X86", "::", "RBX", ",", "X86", "::", "R12", ",", "X86", "::", "R13", ",", "X86", "::", "R14", ",", "X86", "::", "R15", ",", "X86", "::", "RBP", ",", "0", "}", ";", "static", "const", "unsigned", "CalleeSavedRegs64EHRet", "[", "]", "=", "{", "X86", "::", "RAX", ",", "X86", "::", "RDX", ",", "X86", "::", "RBX", ",", "X86", "::", "R12", ",", "X86", "::", "R13", ",", "X86", "::", "R14", ",", "X86", "::", "R15", ",", "X86", "::", "RBP", ",", "0", "}", ";", "static", "const", "unsigned", "CalleeSavedRegsWin64", "[", "]", "=", "{", "X86", "::", "RBX", ",", "X86", "::", "RBP", ",", "X86", "::", "RDI", ",", "X86", "::", "RSI", ",", "X86", "::", "R12", ",", "X86", "::", "R13", ",", "X86", "::", "R14", ",", "X86", "::", "R15", ",", "X86", "::", "XMM6", ",", "X86", "::", "XMM7", ",", "X86", "::", "XMM8", ",", "X86", "::", "XMM9", ",", "X86", "::", "XMM10", ",", "X86", "::", "XMM11", ",", "X86", "::", "XMM12", ",", "X86", "::", "XMM13", ",", "X86", "::", "XMM14", ",", "X86", "::", "XMM15", ",", "0", "}", ";", "if", "(", "ghcCall", ")", "{", "return", "GhcCalleeSavedRegs", ";", "}", "else", "if", "(", "Is64Bit", ")", "{", "if", "(", "IsWin64", ")", "return", "CalleeSavedRegsWin64", ";", "else", "return", "(", "callsEHReturn", "?", "CalleeSavedRegs64EHRet", ":", "CalleeSavedRegs64Bit", ")", ";", "}", "else", "{", "return", "(", "callsEHReturn", "?", "CalleeSavedRegs32EHRet", ":", "CalleeSavedRegs32Bit", ")", ";", "}", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["X86", "X86", "0", "X86::ESI", "X86::EDI", "X86::EBX", "X86::EBP", "0", "X86::EAX", "X86::EDX", "X86::ESI", "X86::EDI", "X86::EBX", "X86::EBP", "0", "X86::RBX", "X86::R12", "X86::R13", "X86::R14", "X86::R15", "X86::RBP", "0", "X86::RAX", "X86::RDX", "X86::RBX", "X86::R12", "X86::R13", "X86::R14", "X86::R15", "X86::RBP", "0", "X86::RBX", "X86::RBP", "X86::RDI", "X86::RSI", "X86::R12", "X86::R13", "X86::R14", "X86::R15", "X86::XMM6", "X86::XMM7", "X86::XMM8", "X86::XMM9", "X86::XMM10", "X86::XMM11", "X86::XMM12", "X86::XMM13", "X86::XMM14", "X86::XMM15", "0"], "File": "X86RegisterInfo11", "Func": "getCalleeSavedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1977, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "PredicateInstruction", "(", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "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", "(", ")", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Convert", "the", "instruction", "into", "a", "predicated", "instruction", "."], "TS_V_token": ["ARM", "ARM", "0", "1", "1", "0", "1", "1"], "File": "ARMBaseInstrInfo (2)", "Func": "PredicateInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1978, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "build_sv_index64", "(", "function_builder", "&", "b", ",", "const", "char", "*", "signature", ",", "const", "function_group_info", "&", "group", ")", "{", "build_32_64", "(", "b", ",", "signature", ",", "group", ",", "MODE_none", ",", "MODE_s64index", ")", ";", "build_32_64", "(", "b", ",", "signature", ",", "group", ",", "MODE_none", ",", "MODE_u64index", ")", ";", "}", ""], "natrual_language": ["Like", "build_sv_index", ",", "but", "only", "handle", "64-bit", "types", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins-shapes", "Func": "build_sv_index64", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1979, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getFramePtr", "(", ")", "const", "{", "return", "FramePtr", ";", "}", ""], "natrual_language": ["Returns", "physical", "register", "used", "as", "frame", "pointer", "."], "TS_V_token": ["X86"], "File": "X86RegisterInfo", "Func": "getFramePtr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1980, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ConstantPool", "*", "AssemblerConstantPools", "::", "getConstantPool", "(", "const", "MCSection", "*", "Section", ")", "{", "ConstantPoolMapTy", "::", "iterator", "CP", "=", "ConstantPools", ".", "find", "(", "Section", ")", ";", "if", "(", "CP", "==", "ConstantPools", ".", "end", "(", ")", ")", "return", "nullptr", ";", "return", "&", "CP", "->", "second", ";", "}", ""], "natrual_language": ["Return", "a", "pseudo", "source", "value", "referencing", "the", "constant", "pool", "."], "TS_V_token": ["ARM"], "File": "ARMTargetStreamer18", "Func": "getConstantPool", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1981, "Length": 44, "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": 1982, "Length": 15, "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", ")", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "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": "SystemZISelLowering101", "Func": "LowerCallResult", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1983, "Length": 293, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isProfitableToIfCvt", "(", "MachineBasicBlock", "&", "TBB", ",", "unsigned", "TCycles", ",", "unsigned", "TExtra", ",", "MachineBasicBlock", "&", "FBB", ",", "unsigned", "FCycles", ",", "unsigned", "FExtra", ",", "BranchProbability", "Probability", ")", "const", "{", "if", "(", "!", "TCycles", ")", "return", "false", ";", "if", "(", "Subtarget", ".", "isThumb2", "(", ")", "&&", "TBB", ".", "getParent", "(", ")", "->", "getFunction", "(", ")", ".", "hasMinSize", "(", ")", ")", "{", "if", "(", "TBB", ".", "pred_size", "(", ")", "!=", "1", "||", "FBB", ".", "pred_size", "(", ")", "!=", "1", ")", "return", "false", ";", "}", "const", "unsigned", "ScalingUpFactor", "=", "1024", ";", "unsigned", "PredCost", "=", "(", "TCycles", "+", "FCycles", "+", "TExtra", "+", "FExtra", ")", "*", "ScalingUpFactor", ";", "unsigned", "UnpredCost", ";", "if", "(", "!", "Subtarget", ".", "hasBranchPredictor", "(", ")", ")", "{", "unsigned", "NotTakenBranchCost", "=", "1", ";", "unsigned", "TakenBranchCost", "=", "Subtarget", ".", "getMispredictionPenalty", "(", ")", ";", "unsigned", "TUnpredCycles", ",", "FUnpredCycles", ";", "if", "(", "!", "FCycles", ")", "{", "TUnpredCycles", "=", "TCycles", "+", "NotTakenBranchCost", ";", "FUnpredCycles", "=", "TakenBranchCost", ";", "}", "else", "{", "TUnpredCycles", "=", "TCycles", "+", "TakenBranchCost", ";", "FUnpredCycles", "=", "FCycles", "+", "NotTakenBranchCost", ";", "PredCost", "-=", "1", "*", "ScalingUpFactor", ";", "}", "unsigned", "TUnpredCost", "=", "Probability", ".", "scale", "(", "TUnpredCycles", "*", "ScalingUpFactor", ")", ";", "unsigned", "FUnpredCost", "=", "Probability", ".", "getCompl", "(", ")", ".", "scale", "(", "FUnpredCycles", "*", "ScalingUpFactor", ")", ";", "UnpredCost", "=", "TUnpredCost", "+", "FUnpredCost", ";", "if", "(", "Subtarget", ".", "isThumb2", "(", ")", "&&", "TCycles", "+", "FCycles", ">", "4", ")", "{", "PredCost", "+=", "(", "(", "TCycles", "+", "FCycles", "-", "4", ")", "/", "4", ")", "*", "ScalingUpFactor", ";", "}", "}", "else", "{", "unsigned", "TUnpredCost", "=", "Probability", ".", "scale", "(", "TCycles", "*", "ScalingUpFactor", ")", ";", "unsigned", "FUnpredCost", "=", "Probability", ".", "getCompl", "(", ")", ".", "scale", "(", "FCycles", "*", "ScalingUpFactor", ")", ";", "UnpredCost", "=", "TUnpredCost", "+", "FUnpredCost", ";", "UnpredCost", "+=", "1", "*", "ScalingUpFactor", ";", "UnpredCost", "+=", "Subtarget", ".", "getMispredictionPenalty", "(", ")", "*", "ScalingUpFactor", "/", "10", ";", "}", "return", "PredCost", "<=", "UnpredCost", ";", "}", ""], "natrual_language": ["Second", "variant", "of", "isProfitableToIfCvt", "."], "TS_V_token": ["ARM", "ARM", "1", "1", "1024", "1", "1", "4", "4", "4", "1", "10"], "File": "ARMBaseInstrInfo10", "Func": "isProfitableToIfCvt", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1984, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "pa_legitimize_reload_address", "(", "rtx", "ad", ",", "machine_mode", "mode", ",", "int", "opnum", ",", "int", "type", ",", "int", "ind_levels", "ATTRIBUTE_UNUSED", ")", "{", "long", "offset", ",", "newoffset", ",", "mask", ";", "rtx", "new_rtx", ",", "temp", "=", "NULL_RTX", ";", "mask", "=", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", "&&", "!", "INT14_OK_STRICT", "?", "0x1f", ":", "0x3fff", ")", ";", "if", "(", "optimize", "&&", "GET_CODE", "(", "ad", ")", "==", "PLUS", ")", "temp", "=", "simplify_binary_operation", "(", "PLUS", ",", "Pmode", ",", "XEXP", "(", "ad", ",", "0", ")", ",", "XEXP", "(", "ad", ",", "1", ")", ")", ";", "new_rtx", "=", "temp", "?", "temp", ":", "ad", ";", "if", "(", "optimize", "&&", "GET_CODE", "(", "new_rtx", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "new_rtx", ",", "0", ")", ")", "==", "REG", "&&", "GET_CODE", "(", "XEXP", "(", "new_rtx", ",", "1", ")", ")", "==", "CONST_INT", ")", "{", "offset", "=", "INTVAL", "(", "XEXP", "(", "(", "new_rtx", ")", ",", "1", ")", ")", ";", "if", "(", "(", "offset", "&", "mask", ")", ">=", "(", "(", "mask", "+", "1", ")", "/", "2", ")", ")", "newoffset", "=", "(", "offset", "&", "~", "mask", ")", "+", "mask", "+", "1", ";", "else", "newoffset", "=", "offset", "&", "~", "mask", ";", "if", "(", "mask", "==", "0x3fff", "&&", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", "||", "(", "TARGET_64BIT", "&&", "(", "mode", ")", "==", "DImode", ")", ")", ")", "newoffset", "&=", "~", "(", "GET_MODE_SIZE", "(", "mode", ")", "-", "1", ")", ";", "if", "(", "newoffset", "!=", "0", "&&", "VAL_14_BITS_P", "(", "newoffset", ")", ")", "{", "temp", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "XEXP", "(", "new_rtx", ",", "0", ")", ",", "GEN_INT", "(", "newoffset", ")", ")", ";", "ad", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "temp", ",", "GEN_INT", "(", "offset", "-", "newoffset", ")", ")", ";", "push_reload", "(", "XEXP", "(", "ad", ",", "0", ")", ",", "0", ",", "&", "XEXP", "(", "ad", ",", "0", ")", ",", "0", ",", "BASE_REG_CLASS", ",", "Pmode", ",", "VOIDmode", ",", "0", ",", "0", ",", "opnum", ",", "(", "enum", "reload_type", ")", "type", ")", ";", "return", "ad", ";", "}", "}", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Look", "for", "machine", "dependent", "ways", "to", "make", "the", "invalid", "address", "AD", "a", "valid", "address", ".", "For", "the", "PA", ",", "transform", ":", "memory", "(", "X", "+", "<", "large", "int", ">", ")", "into", ":", "if", "(", "<", "large", "int", ">", "&", "mask", ")", ">", "=", "16", "Y", "=", "(", "<", "large", "int", ">", "&", "~mask", ")", "+", "mask", "+", "1", "Round", "up", ".", "else", "Y", "=", "(", "<", "large", "int", ">", "&", "~mask", ")", "Round", "down", ".", "Z", "=", "X", "+", "Y", "memory", "(", "Z", "+", "(", "<", "large", "int", ">", "-", "Y", ")", ")", ";", "This", "makes", "reload", "inheritance", "and", "reload_cse", "work", "better", "since", "Z", "can", "be", "reused", ".", "There", "may", "be", "more", "opportunities", "to", "improve", "code", "with", "this", "hook", "."], "TS_V_token": ["pa", "0x1f", "0x3fff", "0", "1", "0", "1", "1", "1", "2", "1", "0x3fff", "1", "0", "0", "0", "0", "0", "0", "0", "0"], "File": "pa", "Func": "pa_legitimize_reload_address", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1985, "Length": 316, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86Subtarget", "::", "enableEarlyIfConversion", "(", ")", "const", "{", "return", "hasCMov", "(", ")", "&&", "X86EarlyIfConv", ";", "}", ""], "natrual_language": ["Enable", "the", "use", "of", "the", "early", "if", "conversion", "pass", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86Subtarget (2)", "Func": "enableEarlyIfConversion", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1986, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsInstrInfo", "*", "getInstrInfo", "(", ")", "{", "return", "getTargetMachine", "(", ")", ".", "getInstrInfo", "(", ")", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsISelDAGToDAG11", "Func": "getInstrInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1987, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsMCCodeEmitter", "::", "getBranchTargetOpValue1SImm16", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ">>", "1", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"getBranchTargetOpValue expects only expressions or immediates\"", ")", ";", "const", "MCExpr", "*", "FixupExpression", "=", "MCBinaryExpr", "::", "createAdd", "(", "MO", ".", "getExpr", "(", ")", ",", "MCConstantExpr", "::", "create", "(", "-", "4", ",", "Ctx", ")", ",", "Ctx", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "FixupExpression", ",", "MCFixupKind", "(", "Mips", "::", "fixup_Mips_PC16", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTargetOpValue1SImm16", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "."], "TS_V_token": ["Mips", "Mips", "1", "\"getBranchTargetOpValue expects only expressions or immediates\"", "4", "0", "Mips::fixup_Mips_PC16", "0"], "File": "MipsMCCodeEmitter (2)", "Func": "getBranchTargetOpValue1SImm16", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1988, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_split_fp_branch", "(", "enum", "rtx_code", "code", ",", "rtx", "op1", ",", "rtx", "op2", ",", "rtx", "target1", ",", "rtx", "target2", ",", "rtx", "tmp", ")", "{", "rtx", "condition", ";", "rtx", "i", ";", "if", "(", "target2", "!=", "pc_rtx", ")", "{", "std", "::", "swap", "(", "target1", ",", "target2", ")", ";", "code", "=", "reverse_condition_maybe_unordered", "(", "code", ")", ";", "}", "condition", "=", "ix86_expand_fp_compare", "(", "code", ",", "op1", ",", "op2", ",", "tmp", ")", ";", "i", "=", "emit_jump_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "pc_rtx", ",", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "condition", ",", "target1", ",", "target2", ")", ")", ")", ";", "if", "(", "split_branch_probability", ">=", "0", ")", "add_int_reg_note", "(", "i", ",", "REG_BR_PROB", ",", "split_branch_probability", ")", ";", "}", ""], "natrual_language": ["Split", "branch", "based", "on", "floating", "point", "condition", "."], "TS_V_token": ["i386", "0"], "File": "i3864", "Func": "ix86_split_fp_branch", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1989, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isLegalAddImmediate", "(", "int64_t", "Imm", ")", "const", "{", "int64_t", "AbsImm", "=", "llvm", "::", "abs64", "(", "Imm", ")", ";", "if", "(", "!", "Subtarget", "->", "isThumb", "(", ")", ")", "return", "ARM_AM", "::", "getSOImmVal", "(", "AbsImm", ")", "!=", "-", "1", ";", "if", "(", "Subtarget", "->", "isThumb2", "(", ")", ")", "return", "ARM_AM", "::", "getT2SOImmVal", "(", "AbsImm", ")", "!=", "-", "1", ";", "return", "AbsImm", ">=", "0", "&&", "AbsImm", "<=", "255", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "immediate", "is", "legal", "add", "immediate", ",", "that", "is", "the", "target", "has", "add", "instructions", "which", "can", "add", "a", "register", "and", "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": "ARMISelLowering (2)", "Func": "isLegalAddImmediate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1990, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_compare_version_priority", "(", "tree", "decl1", ",", "tree", "decl2", ")", "{", "int", "priority1", "=", "rs6000_clone_priority", "(", "decl1", ")", ";", "int", "priority2", "=", "rs6000_clone_priority", "(", "decl2", ")", ";", "int", "ret", "=", "priority1", "-", "priority2", ";", "if", "(", "TARGET_DEBUG_TARGET", ")", "fprintf", "(", "stderr", ",", "\"rs6000_compare_version_priority (%s, %s) => %d\\n\"", ",", "get_decl_name", "(", "decl1", ")", ",", "get_decl_name", "(", "decl2", ")", ",", "ret", ")", ";", "return", "ret", ";", "}", ""], "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", ".", "Note", ",", "priorities", "are", "ordered", "from", "lowest", "(", "CLONE_DEFAULT", ")", "to", "highest", "(", "currently", "CLONE_ISA_3_0", ")", "."], "TS_V_token": ["rs6000", "\"rs6000_compare_version_priority (%s, %s) => %d\\n\""], "File": "rs6000", "Func": "rs6000_compare_version_priority", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1991, "Length": 61, "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": 1992, "Length": 76, "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": ["PowerPC", "0", "\"relaxInstruction() unimplemented\""], "File": "PPCAsmBackend38", "Func": "relaxInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1993, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "X86RegisterInfo", "::", "getCallPreservedMask", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "bool", "HasAVX", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "hasAVX", "(", ")", ";", "bool", "HasAVX512", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "hasAVX512", "(", ")", ";", "if", "(", "CC", "==", "CallingConv", "::", "Intel_OCL_BI", ")", "{", "if", "(", "IsWin64", "&&", "HasAVX512", ")", "return", "CSR_Win64_Intel_OCL_BI_AVX512_RegMask", ";", "if", "(", "Is64Bit", "&&", "HasAVX512", ")", "return", "CSR_64_Intel_OCL_BI_AVX512_RegMask", ";", "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", "(", "CC", "==", "CallingConv", "::", "WebKit_JS", "||", "CC", "==", "CallingConv", "::", "AnyReg", ")", "return", "CSR_MostRegs_64_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", "X86"], "File": "X86RegisterInfo79", "Func": "getCallPreservedMask", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1994, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "thumb2_expand_return", "(", "bool", "simple_return", ")", "{", "int", "i", ",", "num_regs", ";", "unsigned", "long", "saved_regs_mask", ";", "arm_stack_offsets", "*", "offsets", ";", "offsets", "=", "arm_get_frame_offsets", "(", ")", ";", "saved_regs_mask", "=", "offsets", "->", "saved_regs_mask", ";", "for", "(", "i", "=", "0", ",", "num_regs", "=", "0", ";", "i", "<=", "LAST_ARM_REGNUM", ";", "i", "++", ")", "if", "(", "saved_regs_mask", "&", "(", "1", "<<", "i", ")", ")", "num_regs", "++", ";", "if", "(", "!", "simple_return", "&&", "saved_regs_mask", ")", "{", "gcc_assert", "(", "!", "IS_CMSE_ENTRY", "(", "arm_current_func_type", "(", ")", ")", ")", ";", "if", "(", "num_regs", "==", "1", ")", "{", "rtx", "par", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "2", ")", ")", ";", "rtx", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "PC_REGNUM", ")", ";", "rtx", "addr", "=", "gen_rtx_MEM", "(", "SImode", ",", "gen_rtx_POST_INC", "(", "SImode", ",", "stack_pointer_rtx", ")", ")", ";", "set_mem_alias_set", "(", "addr", ",", "get_frame_alias_set", "(", ")", ")", ";", "XVECEXP", "(", "par", ",", "0", ",", "0", ")", "=", "ret_rtx", ";", "XVECEXP", "(", "par", ",", "0", ",", "1", ")", "=", "gen_rtx_SET", "(", "reg", ",", "addr", ")", ";", "RTX_FRAME_RELATED_P", "(", "XVECEXP", "(", "par", ",", "0", ",", "1", ")", ")", "=", "1", ";", "emit_jump_insn", "(", "par", ")", ";", "}", "else", "{", "saved_regs_mask", "&=", "~", "(", "1", "<<", "LR_REGNUM", ")", ";", "saved_regs_mask", "|=", "(", "1", "<<", "PC_REGNUM", ")", ";", "arm_emit_multi_reg_pop", "(", "saved_regs_mask", ")", ";", "}", "}", "else", "{", "if", "(", "IS_CMSE_ENTRY", "(", "arm_current_func_type", "(", ")", ")", ")", "cmse_nonsecure_entry_clear_before_return", "(", ")", ";", "emit_jump_insn", "(", "simple_return_rtx", ")", ";", "}", "}", ""], "natrual_language": ["Generate", "pattern", "*", "pop_multiple_with_stack_update_and_return", "if", "single", "POP", "instruction", "can", "be", "generated", ".", "LR", "should", "be", "replaced", "by", "PC", ".", "All", "the", "checks", "required", "are", "already", "done", "by", "USE_RETURN_INSN", "(", ")", ".", "Hence", ",", "all", "we", "really", "need", "to", "check", "here", "is", "if", "single", "register", "is", "to", "be", "returned", ",", "or", "multiple", "register", "return", "."], "TS_V_token": ["arm", "0", "0", "1", "1", "2", "0", "0", "0", "1", "0", "1", "1", "1", "1"], "File": "arm", "Func": "thumb2_expand_return", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1995, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isMulAddWithConstProfitable", "(", "SDValue", "AddNode", ",", "SDValue", "ConstNode", ")", "const", "{", "const", "EVT", "VT", "=", "AddNode", ".", "getValueType", "(", ")", ";", "if", "(", "VT", ".", "isVector", "(", ")", "||", "VT", ".", "getScalarSizeInBits", "(", ")", ">", "32", ")", "return", "true", ";", "const", "ConstantSDNode", "*", "C0Node", "=", "cast", "<", "ConstantSDNode", ">", "(", "AddNode", ".", "getOperand", "(", "1", ")", ")", ";", "const", "ConstantSDNode", "*", "C1Node", "=", "cast", "<", "ConstantSDNode", ">", "(", "ConstNode", ")", ";", "const", "int64_t", "C0", "=", "C0Node", "->", "getSExtValue", "(", ")", ";", "APInt", "CA", "=", "C0Node", "->", "getAPIntValue", "(", ")", "*", "C1Node", "->", "getAPIntValue", "(", ")", ";", "if", "(", "!", "isLegalAddImmediate", "(", "C0", ")", "||", "isLegalAddImmediate", "(", "CA", ".", "getSExtValue", "(", ")", ")", ")", "return", "true", ";", "if", "(", "ConstantMaterializationCost", "(", "(", "unsigned", ")", "CA", ".", "getZExtValue", "(", ")", ",", "Subtarget", ")", ">", "1", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "may", "be", "profitable", "to", "transform", "(", "mul", "(", "add", "x", ",", "c1", ")", ",", "c2", ")", "-", ">", "(", "add", "(", "mul", "x", ",", "c2", ")", ",", "c1", "*", "c2", ")", "."], "TS_V_token": ["ARM", "ARM", "32", "1", "1"], "File": "ARMISelLowering12", "Func": "isMulAddWithConstProfitable", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1996, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSETargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", ",", "unsigned", ",", "bool", "*", "Fast", ")", "const", "{", "MVT", "::", "SimpleValueType", "SVT", "=", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ";", "if", "(", "Subtarget", ".", "systemSupportsUnalignedAccess", "(", ")", ")", "{", "if", "(", "Fast", ")", "*", "Fast", "=", "true", ";", "return", "true", ";", "}", "switch", "(", "SVT", ")", "{", "case", "MVT", "::", "i64", ":", "case", "MVT", "::", "i32", ":", "if", "(", "Fast", ")", "*", "Fast", "=", "true", ";", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["Mips", "Mips", "MVT::SimpleValueType", "MVT::i64", "MVT::i32"], "File": "MipsSEISelLowering (2)4", "Func": "allowsMisalignedMemoryAccesses", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1997, "Length": 87, "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", "{", "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", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Subtarget", ".", "isV9", "(", ")", "?", "SP", "::", "FMOVD", ":", "SP", "::", "FpMOVD", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "else", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["Sparc", "Sparc", "SP::IntRegsRegClass", "SP::ORrr", "SP::G0", "SP::FPRegsRegClass", "SP::FMOVS", "SP::DFPRegsRegClass", "SP::FMOVD", "SP::FpMOVD", "\"Impossible reg-to-reg copy\""], "File": "SparcInstrInfo16", "Func": "copyPhysReg", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1998, "Length": 177, "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", ".", "useSplatVFPToNeon", "(", ")", "&&", "STI", ".", "hasNEON", "(", ")", ")", ")", "return", "false", ";", "TII", "=", "STI", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "Fn", ".", "getRegInfo", "(", ")", ";", "bool", "Modified", "=", "false", ";", "LLVM_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": "A15SDOptimizer13", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1999, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addPreISel", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableGlobalMerge", ")", "PM", "->", "add", "(", "createGlobalMergePass", "(", "TM", "->", "getTargetLowering", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["ARM", "ARM"], "File": "ARMTargetMachine62", "Func": "addPreISel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2000, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "{", "if", "(", "ExtraCode", "[", "1", "]", "!=", "0", ")", "return", "true", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "case", "'A'", ":", "default", ":", "return", "true", ";", "case", "'m'", ":", "if", "(", "!", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "isReg", "(", ")", ")", "return", "true", ";", "O", "<<", "ARMInstPrinter", "::", "getRegisterName", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "getReg", "(", ")", ")", ";", "return", "false", ";", "}", "}", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "assert", "(", "MO", ".", "isReg", "(", ")", "&&", "\"unexpected inline asm memory operand\"", ")", ";", "O", "<<", "\"[\"", "<<", "ARMInstPrinter", "::", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", "<<", "\"]\"", ";", "return", "false", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "."], "TS_V_token": ["ARM", "ARM", "0", "1", "0", "0", "ARM", "\"unexpected inline asm memory operand\"", "\"[\"", "ARM", "\"]\""], "File": "ARMAsmPrinter (2)1", "Func": "PrintAsmMemoryOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2001, "Length": 151, "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_PSBHint", ":", "OS", "<<", "getPSBHintName", "(", ")", ";", "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": "AArch64AsmParser10", "Func": "print", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2002, "Length": 366, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "llvm", "::", "FastISel", "*", "AArch64", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "funcInfo", ",", "const", "TargetLibraryInfo", "*", "libInfo", ")", "{", "return", "new", "AArch64FastISel", "(", "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": ["AArch64", "AArch64::createFastISel", "AArch64"], "File": "AArch64FastISel1", "Func": "createFastISel", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2003, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiInstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "&", "SrcReg", ",", "unsigned", "&", "SrcReg2", ",", "int", "&", "CmpMask", ",", "int", "&", "CmpValue", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Lanai", "::", "SFSUB_F_RI_LO", ":", "case", "Lanai", "::", "SFSUB_F_RI_HI", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "0", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "return", "true", ";", "case", "Lanai", "::", "SFSUB_F_RR", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "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": ["Lanai", "Lanai", "Lanai::SFSUB_F_RI_LO", "Lanai::SFSUB_F_RI_HI", "0", "0", "0", "1", "Lanai::SFSUB_F_RR", "0", "1", "0", "0"], "File": "LanaiInstrInfo (2)", "Func": "analyzeCompare", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2004, "Length": 137, "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": 2005, "Length": 329, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", "=", "TTI", "::", "TCK_RecipThroughput", ",", "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", ",", "CostKind", ",", "Opd1Info", ",", "Opd2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ")", ";", "case", "ISD", "::", "MUL", ":", "case", "ISD", "::", "SDIV", ":", "case", "ISD", "::", "UDIV", ":", "case", "ISD", "::", "UREM", ":", "return", "64", "*", "BaseT", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "CostKind", ",", "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": "LanaiTargetTransformInfo11", "Func": "getArithmeticInstrCost", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2006, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCDispatchGroupSBHazardRecognizer", "::", "EmitNoop", "(", ")", "{", "unsigned", "Directive", "=", "DAG", "->", "TM", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "getDarwinDirective", "(", ")", ";", "if", "(", "Directive", "==", "PPC", "::", "DIR_PWR6", "||", "Directive", "==", "PPC", "::", "DIR_PWR7", "||", "Directive", "==", "PPC", "::", "DIR_PWR8", "||", "CurSlots", "==", "6", ")", "{", "CurGroup", ".", "clear", "(", ")", ";", "CurSlots", "=", "CurBranches", "=", "0", ";", "}", "else", "{", "CurGroup", ".", "push_back", "(", "nullptr", ")", ";", "++", "CurSlots", ";", "}", "}", ""], "natrual_language": ["EmitNoop", "-", "This", "callback", "is", "invoked", "when", "a", "noop", "was", "added", "to", "the", "instruction", "stream", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::DIR_PWR6", "PPC::DIR_PWR7", "PPC::DIR_PWR8", "6", "0"], "File": "PPCHazardRecognizers29", "Func": "EmitNoop", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2007, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "PPCTTIImpl", "::", "getIntImmCostInst", "(", "unsigned", "Opcode", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "if", "(", "DisablePPCConstHoist", ")", "return", "BaseT", "::", "getIntImmCostInst", "(", "Opcode", ",", "Idx", ",", "Imm", ",", "Ty", ",", "CostKind", ")", ";", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", ")", "return", "~", "0U", ";", "unsigned", "ImmIdx", "=", "~", "0U", ";", "bool", "ShiftedFree", "=", "false", ",", "RunFree", "=", "false", ",", "UnsignedFree", "=", "false", ",", "ZeroFree", "=", "false", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "TTI", "::", "TCC_Free", ";", "case", "Instruction", "::", "GetElementPtr", ":", "if", "(", "Idx", "==", "0", ")", "return", "2", "*", "TTI", "::", "TCC_Basic", ";", "return", "TTI", "::", "TCC_Free", ";", "case", "Instruction", "::", "And", ":", "RunFree", "=", "true", ";", "LLVM_FALLTHROUGH", ";", "case", "Instruction", "::", "Add", ":", "case", "Instruction", "::", "Or", ":", "case", "Instruction", "::", "Xor", ":", "ShiftedFree", "=", "true", ";", "LLVM_FALLTHROUGH", ";", "case", "Instruction", "::", "Sub", ":", "case", "Instruction", "::", "Mul", ":", "case", "Instruction", "::", "Shl", ":", "case", "Instruction", "::", "LShr", ":", "case", "Instruction", "::", "AShr", ":", "ImmIdx", "=", "1", ";", "break", ";", "case", "Instruction", "::", "ICmp", ":", "UnsignedFree", "=", "true", ";", "ImmIdx", "=", "1", ";", "LLVM_FALLTHROUGH", ";", "case", "Instruction", "::", "Select", ":", "ZeroFree", "=", "true", ";", "break", ";", "case", "Instruction", "::", "PHI", ":", "case", "Instruction", "::", "Call", ":", "case", "Instruction", "::", "Ret", ":", "case", "Instruction", "::", "Load", ":", "case", "Instruction", "::", "Store", ":", "break", ";", "}", "if", "(", "ZeroFree", "&&", "Imm", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "Idx", "==", "ImmIdx", "&&", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", ")", "{", "if", "(", "isInt", "<", "16", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "RunFree", ")", "{", "if", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "32", "&&", "(", "isShiftedMask_32", "(", "Imm", ".", "getZExtValue", "(", ")", ")", "||", "isShiftedMask_32", "(", "~", "Imm", ".", "getZExtValue", "(", ")", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "ST", "->", "isPPC64", "(", ")", "&&", "(", "isShiftedMask_64", "(", "Imm", ".", "getZExtValue", "(", ")", ")", "||", "isShiftedMask_64", "(", "~", "Imm", ".", "getZExtValue", "(", ")", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "}", "if", "(", "UnsignedFree", "&&", "isUInt", "<", "16", ">", "(", "Imm", ".", "getZExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "ShiftedFree", "&&", "(", "Imm", ".", "getZExtValue", "(", ")", "&", "0xFFFF", ")", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "}", "return", "PPCTTIImpl", "::", "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": ["PowerPC", "PPC", "PPC", "0", "0U", "0U", "0", "2", "1", "1", "0", "64", "16", "32", "PPC", "16", "0xFFFF", "0", "PPC"], "File": "PPCTargetTransformInfo24", "Func": "getIntImmCostInst", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2008, "Length": 428, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCPassConfig", "::", "addIRTranslator", "(", ")", "{", "addPass", "(", "new", "IRTranslator", "(", ")", ")", ";", "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": ["PowerPC", "PPC"], "File": "PPCTargetMachine40", "Func": "addIRTranslator", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2009, "Length": 19, "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": 2010, "Length": 503, "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": "rs60007", "Func": "rs6000_pass_by_reference", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2011, "Length": 207, "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", ")", "&&", "(", "CSKY_ISA_FEATURE_GET", "(", "fpv2_sf", ")", "||", "CSKY_ISA_FEATURE_GET", "(", "fpv2_df", ")", "||", "CSKY_ISA_FEATURE_GET", "(", "fpv2_divd", ")", ")", ")", "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": "csky", "Func": "csky_emit_compare_float", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2012, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "useLoadStackGuardNode", "(", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["If", "this", "function", "returns", "true", ",", "SelectionDAGBuilder", "emits", "a", "LOAD_STACK_GUARD", "node", "when", "it", "is", "lowering", "Intrinsic", ":", ":stackprotector", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ISelLowering (2)1", "Func": "useLoadStackGuardNode", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2013, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_init_pic_reg", "(", "void", ")", "{", "edge", "entry_edge", ";", "rtx_insn", "*", "seq", ";", "if", "(", "!", "ix86_use_pseudo_pic_reg", "(", ")", ")", "return", ";", "start_sequence", "(", ")", ";", "if", "(", "TARGET_64BIT", ")", "{", "if", "(", "ix86_cmodel", "==", "CM_LARGE_PIC", ")", "ix86_init_large_pic_reg", "(", "R11_REG", ")", ";", "else", "emit_insn", "(", "gen_set_got_rex64", "(", "pic_offset_table_rtx", ")", ")", ";", "}", "else", "{", "rtx", "reg", "=", "crtl", "->", "profile", "?", "gen_rtx_REG", "(", "Pmode", ",", "REAL_PIC_OFFSET_TABLE_REGNUM", ")", ":", "pic_offset_table_rtx", ";", "rtx", "insn", "=", "emit_insn", "(", "gen_set_got", "(", "reg", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "if", "(", "crtl", "->", "profile", ")", "emit_move_insn", "(", "pic_offset_table_rtx", ",", "reg", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_FLUSH_QUEUE", ",", "NULL_RTX", ")", ";", "}", "seq", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "entry_edge", "=", "single_succ_edge", "(", "ENTRY_BLOCK_PTR_FOR_FN", "(", "cfun", ")", ")", ";", "insert_insn_on_edge", "(", "seq", ",", "entry_edge", ")", ";", "commit_one_edge_insertion", "(", "entry_edge", ")", ";", "}", ""], "natrual_language": ["Create", "and", "initialize", "PIC", "register", "if", "required", "."], "TS_V_token": ["i386", "1"], "File": "i3864", "Func": "ix86_init_pic_reg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2014, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"PowerPC QPX Load Splat Simplification\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["PowerPC", "\"PowerPC QPX Load Splat Simplification\""], "File": "PPCQPXLoadSplat", "Func": "getPassName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2015, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "xstormy16_below100_symbol", "(", "rtx", "x", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST", ")", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", ")", "return", "(", "SYMBOL_REF_FLAGS", "(", "x", ")", "&", "SYMBOL_FLAG_XSTORMY16_BELOW100", ")", "!=", "0", ";", "if", "(", "CONST_INT_P", "(", "x", ")", ")", "{", "HOST_WIDE_INT", "i", "=", "INTVAL", "(", "x", ")", ";", "if", "(", "(", "i", ">=", "0x0000", "&&", "i", "<=", "0x00ff", ")", "||", "(", "i", ">=", "0x7f00", "&&", "i", "<=", "0x7fff", ")", ")", "return", "1", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Predicate", "for", "symbols", "and", "addresses", "that", "reflect", "special", "8-bit", "addressing", "."], "TS_V_token": ["stormy16", "0", "1", "0", "0", "0x0000", "0x00ff", "0x7f00", "0x7fff", "1", "0"], "File": "stormy16", "Func": "xstormy16_below100_symbol", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2016, "Length": 124, "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", ";", "auto", "&", "TM", "=", "getTargetMachine", "(", ")", ";", "if", "(", "!", "TM", ".", "Options", ".", "GuaranteedTailCallOpt", "&&", "DisableSCO", ")", "return", "false", ";", "const", "Function", "*", "Callee", "=", "CI", "->", "getCalledFunction", "(", ")", ";", "if", "(", "!", "Callee", "||", "Callee", "->", "isVarArg", "(", ")", ")", "return", "false", ";", "const", "Function", "*", "Caller", "=", "CI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "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"], "File": "PPCISelLowering100", "Func": "mayBeEmittedAsTailCall", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2017, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "fma_node", "::", "rename", "(", "fma_forest", "*", "forest", ")", "{", "int", "cur_parity", ",", "target_parity", ";", "if", "(", "!", "this", "->", "m_head", ")", "return", ";", "target_parity", "=", "forest", "->", "get_target_parity", "(", ")", ";", "if", "(", "this", "->", "m_parent", ")", "target_parity", "=", "this", "->", "m_parent", "->", "get_parity", "(", ")", ";", "cur_parity", "=", "this", "->", "get_parity", "(", ")", ";", "if", "(", "cur_parity", "!=", "target_parity", ")", "{", "rtx_insn", "*", "insn", "=", "this", "->", "m_insn", ";", "HARD_REG_SET", "unavailable", ";", "machine_mode", "mode", ";", "int", "reg", ";", "if", "(", "dump_file", ")", "{", "unsigned", "cur_dest_reg", "=", "this", "->", "m_head", "->", "regno", ";", "fprintf", "(", "dump_file", ",", "\"FMA or FMUL at insn %d but destination \"", "\"register (%s) has different parity from expected to \"", "\"maximize FPU pipeline utilization\\n\"", ",", "INSN_UID", "(", "insn", ")", ",", "reg_names", "[", "cur_dest_reg", "]", ")", ";", "}", "CLEAR_HARD_REG_SET", "(", "unavailable", ")", ";", "if", "(", "frame_pointer_needed", ")", "{", "add_to_hard_reg_set", "(", "&", "unavailable", ",", "Pmode", ",", "FRAME_POINTER_REGNUM", ")", ";", "add_to_hard_reg_set", "(", "&", "unavailable", ",", "Pmode", ",", "HARD_FRAME_POINTER_REGNUM", ")", ";", "}", "mode", "=", "GET_MODE", "(", "SET_DEST", "(", "PATTERN", "(", "insn", ")", ")", ")", ";", "for", "(", "reg", "=", "cur_parity", ";", "reg", "<", "FIRST_PSEUDO_REGISTER", ";", "reg", "+=", "2", ")", "add_to_hard_reg_set", "(", "&", "unavailable", ",", "mode", ",", "reg", ")", ";", "if", "(", "!", "rename_single_chain", "(", "this", "->", "m_head", ",", "&", "unavailable", ")", ")", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Destination register of insn %d could not be \"", "\"renamed. Dependent FMA insns will use this parity from \"", "\"there on.\\n\"", ",", "INSN_UID", "(", "insn", ")", ")", ";", "}", "else", "cur_parity", "=", "target_parity", ";", "}", "forest", "->", "get_globals", "(", ")", "->", "update_balance", "(", "cur_parity", ")", ";", "}", ""], "natrual_language": ["Rename", "the", "destination", "register", "of", "a", "single", "FMUL", "or", "FMADD/FMSUB", "instruction", "represented", "by", "FMA_NODE", "to", "a", "register", "that", "respect", "the", "target", "parity", "for", "FOREST", "or", "with", "same", "parity", "of", "the", "instruction", "represented", "by", "its", "parent", "node", "if", "it", "has", "one", "."], "TS_V_token": ["aarch64", "\"FMA or FMUL at insn %d but destination \"", "\"register (%s) has different parity from expected to \"", "\"maximize FPU pipeline utilization\\n\"", "2", "\"Destination register of insn %d could not be \"", "\"renamed. Dependent FMA insns will use this parity from \"", "\"there on.\\n\""], "File": "cortex-a57-fma-steering", "Func": "rename", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2018, "Length": 233, "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": 2019, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "aarch64_promoted_type", "(", "const_tree", "t", ")", "{", "if", "(", "SCALAR_FLOAT_TYPE_P", "(", "t", ")", "&&", "TYPE_PRECISION", "(", "t", ")", "==", "16", ")", "return", "float_type_node", ";", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PROMOTED_TYPE", "to", "promote", "__fp16", "to", "float", "."], "TS_V_token": ["aarch64", "16"], "File": "aarch643", "Func": "aarch64_promoted_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2020, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isVectorClearMaskLegal", "(", "ArrayRef", "<", "int", ">", "Mask", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "hasAVX2", "(", ")", ")", "if", "(", "VT", "==", "MVT", "::", "v32i8", "||", "VT", "==", "MVT", "::", "v16i16", ")", "return", "false", ";", "return", "isShuffleMaskLegal", "(", "Mask", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Similar", "to", "isShuffleMaskLegal", "."], "TS_V_token": ["X86", "X86", "MVT::v32i8", "MVT::v16i16"], "File": "X86ISelLowering (2)5", "Func": "isVectorClearMaskLegal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2021, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_rtx_arith_op_extract_p", "(", "rtx", "x", ",", "machine_mode", "mode", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "SIGN_EXTRACT", "||", "GET_CODE", "(", "x", ")", "==", "ZERO_EXTRACT", ")", "{", "rtx", "op0", "=", "XEXP", "(", "x", ",", "0", ")", ";", "rtx", "op1", "=", "XEXP", "(", "x", ",", "1", ")", ";", "rtx", "op2", "=", "XEXP", "(", "x", ",", "2", ")", ";", "if", "(", "GET_CODE", "(", "op0", ")", "==", "MULT", "&&", "CONST_INT_P", "(", "op1", ")", "&&", "op2", "==", "const0_rtx", "&&", "CONST_INT_P", "(", "XEXP", "(", "op0", ",", "1", ")", ")", "&&", "aarch64_is_extend_from_extract", "(", "mode", ",", "XEXP", "(", "op0", ",", "1", ")", ",", "op1", ")", ")", "{", "return", "true", ";", "}", "}", "else", "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", "1", "2", "1", "1", "0"], "File": "aarch643", "Func": "aarch64_rtx_arith_op_extract_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2022, "Length": 138, "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", ";", "return", "TargetLowering", "::", "getNumRegistersForCallingConv", "(", "Context", ",", "CC", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Certain", "targets", "require", "unusual", "breakdowns", "of", "certain", "types", "."], "TS_V_token": ["X86", "X86", "MVT::v32i1", "1"], "File": "X86ISelLowering (2)8", "Func": "getNumRegistersForCallingConv", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2023, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sparc_got", "(", "void", ")", "{", "if", "(", "!", "got_symbol_rtx", ")", "got_symbol_rtx", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"_GLOBAL_OFFSET_TABLE_\"", ")", ";", "return", "got_symbol_rtx", ";", "}", ""], "natrual_language": ["Return", "the", "SYMBOL_REF", "for", "the", "Global", "Offset", "Table", "."], "TS_V_token": ["sparc", "\"_GLOBAL_OFFSET_TABLE_\""], "File": "sparc", "Func": "sparc_got", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2024, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "iq2000_adjust_insn_length", "(", "rtx_insn", "*", "insn", ",", "int", "length", ")", "{", "if", "(", "simplejump_p", "(", "insn", ")", "||", "(", "(", "JUMP_P", "(", "insn", ")", "||", "CALL_P", "(", "insn", ")", ")", ")", ")", "length", "+=", "4", ";", "return", "length", ";", "}", ""], "natrual_language": ["Return", "the", "length", "of", "INSN", ".", "LENGTH", "is", "the", "initial", "length", "computed", "by", "attributes", "in", "the", "machine-description", "file", "."], "TS_V_token": ["iq2000", "4"], "File": "iq2000", "Func": "iq2000_adjust_insn_length", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2025, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCPassConfig", "::", "addIRPasses", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createPPCBoolRetToIntPass", "(", ")", ")", ";", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "addPass", "(", "createPPCLowerMASSVEntriesPass", "(", ")", ")", ";", "if", "(", "EnablePrefetch", ".", "getNumOccurrences", "(", ")", ">", "0", ")", "addPass", "(", "createLoopDataPrefetchPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", ">=", "CodeGenOpt", "::", "Default", "&&", "EnableGEPOpt", ")", "{", "addPass", "(", "createSeparateConstOffsetFromGEPPass", "(", "true", ")", ")", ";", "addPass", "(", "createEarlyCSEPass", "(", ")", ")", ";", "addPass", "(", "createLICMPass", "(", ")", ")", ";", "}", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "0"], "File": "PPCTargetMachine44", "Func": "addIRPasses", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2026, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "VERegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "VE", "::", "SX9", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["VE", "VE", "VE::SX9"], "File": "VERegisterInfo", "Func": "getFrameRegister", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2027, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "return", "rs6000_hard_regno_mode_ok_p", "[", "mode", "]", "[", "regno", "]", ";", "}", ""], "natrual_language": ["Value", "is", "1", "if", "hard", "register", "REGNO", "can", "hold", "a", "value", "of", "machine-mode", "MODE", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_hard_regno_mode_ok", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2028, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "AArch64RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "assert", "(", "MF", "&&", "\"Invalid MachineFunction pointer.\"", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AnyReg", ")", "return", "CSR_AArch64_AllRegs_SaveList", ";", "else", "return", "CSR_AArch64_AAPCS_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["AArch64", "AArch64", "\"Invalid MachineFunction pointer.\"", "AArch64", "AArch64"], "File": "AArch64RegisterInfo1", "Func": "getCalleeSavedRegs", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2029, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_hard_regno_call_part_clobbered", "(", "unsigned", "int", "abi_id", ",", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "abi_id", "==", "ABI_VZEROUPPER", ")", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "16", "&&", "(", "(", "TARGET_64BIT", "&&", "REX_SSE_REGNO_P", "(", "regno", ")", ")", "||", "LEGACY_SSE_REGNO_P", "(", "regno", ")", ")", ")", ";", "return", "SSE_REGNO_P", "(", "regno", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", ">", "16", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_CALL_PART_CLOBBERED", ".", "The", "only", "ABI", "that", "saves", "SSE", "registers", "across", "calls", "is", "Win64", "(", "thus", "no", "need", "to", "check", "the", "current", "ABI", "here", ")", ",", "and", "with", "AVX", "enabled", "Win64", "only", "guarantees", "that", "the", "low", "16", "bytes", "are", "saved", "."], "TS_V_token": ["i386", "16", "16"], "File": "i386", "Func": "ix86_hard_regno_call_part_clobbered", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2030, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetIRAnalysis", "X86TargetMachine", "::", "getTargetIRAnalysis", "(", ")", "{", "return", "TargetIRAnalysis", "(", "[", "this", "]", "(", "Function", "&", "F", ")", "{", "return", "TargetTransformInfo", "(", "X86TTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetIRAnalysis", "appropriate", "for", "the", "target", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86TargetMachine110", "Func": "getTargetIRAnalysis", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2031, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mips_regno_mode_ok_for_base_p", "(", "int", "regno", ",", "machine_mode", "mode", ",", "bool", "strict_p", ")", "{", "if", "(", "!", "HARD_REGISTER_NUM_P", "(", "regno", ")", ")", "{", "if", "(", "!", "strict_p", ")", "return", "true", ";", "regno", "=", "reg_renumber", "[", "regno", "]", ";", "}", "if", "(", "regno", "==", "ARG_POINTER_REGNUM", "||", "regno", "==", "FRAME_POINTER_REGNUM", ")", "return", "true", ";", "if", "(", "TARGET_MIPS16", "&&", "regno", "==", "STACK_POINTER_REGNUM", ")", "return", "GET_MODE_SIZE", "(", "mode", ")", "==", "4", "||", "GET_MODE_SIZE", "(", "mode", ")", "==", "8", ";", "return", "TARGET_MIPS16", "?", "M16_REG_P", "(", "regno", ")", ":", "GP_REG_P", "(", "regno", ")", ";", "}", ""], "natrual_language": ["This", "function", "is", "used", "to", "implement", "REG_MODE_OK_FOR_BASE_P", "."], "TS_V_token": ["mips", "4", "8"], "File": "mips", "Func": "mips_regno_mode_ok_for_base_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2032, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_debug_legitimize_address", "(", "rtx", "x", ",", "rtx", "oldx", ",", "machine_mode", "mode", ")", "{", "rtx", "ret", ";", "rtx_insn", "*", "insns", ";", "start_sequence", "(", ")", ";", "ret", "=", "rs6000_legitimize_address", "(", "x", ",", "oldx", ",", "mode", ")", ";", "insns", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "if", "(", "ret", "!=", "x", ")", "{", "fprintf", "(", "stderr", ",", "\"\\nrs6000_legitimize_address: mode %s, old code %s, \"", "\"new code %s, modified\\n\"", ",", "GET_MODE_NAME", "(", "mode", ")", ",", "GET_RTX_NAME", "(", "GET_CODE", "(", "x", ")", ")", ",", "GET_RTX_NAME", "(", "GET_CODE", "(", "ret", ")", ")", ")", ";", "fprintf", "(", "stderr", ",", "\"Original address:\\n\"", ")", ";", "debug_rtx", "(", "x", ")", ";", "fprintf", "(", "stderr", ",", "\"oldx:\\n\"", ")", ";", "debug_rtx", "(", "oldx", ")", ";", "fprintf", "(", "stderr", ",", "\"New address:\\n\"", ")", ";", "debug_rtx", "(", "ret", ")", ";", "if", "(", "insns", ")", "{", "fprintf", "(", "stderr", ",", "\"Insns added:\\n\"", ")", ";", "debug_rtx_list", "(", "insns", ",", "20", ")", ";", "}", "}", "else", "{", "fprintf", "(", "stderr", ",", "\"\\nrs6000_legitimize_address: mode %s, code %s, no change:\\n\"", ",", "GET_MODE_NAME", "(", "mode", ")", ",", "GET_RTX_NAME", "(", "GET_CODE", "(", "x", ")", ")", ")", ";", "debug_rtx", "(", "x", ")", ";", "}", "if", "(", "insns", ")", "emit_insn", "(", "insns", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Debug", "version", "of", "rs6000_legitimize_address", "."], "TS_V_token": ["powerpcspe", "\"\\nrs6000_legitimize_address: mode %s, old code %s, \"", "\"new code %s, modified\\n\"", "\"Original address:\\n\"", "\"oldx:\\n\"", "\"New address:\\n\"", "\"Insns added:\\n\"", "20", "\"\\nrs6000_legitimize_address: mode %s, code %s, no change:\\n\""], "File": "powerpcspe", "Func": "rs6000_debug_legitimize_address", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2033, "Length": 180, "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": 2034, "Length": 15, "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": 2035, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_expand_int_addcc", "(", "rtx", "operands", "[", "]", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "operands", "[", "1", "]", ")", ";", "rtx", "flags", ";", "rtx", "(", "*", "insn", ")", "(", "machine_mode", ",", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "rtx", "compare_op", ";", "rtx", "val", "=", "const0_rtx", ";", "bool", "fpcmp", "=", "false", ";", "machine_mode", "mode", ";", "rtx", "op0", "=", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ";", "rtx", "op1", "=", "XEXP", "(", "operands", "[", "1", "]", ",", "1", ")", ";", "if", "(", "operands", "[", "3", "]", "!=", "const1_rtx", "&&", "operands", "[", "3", "]", "!=", "constm1_rtx", ")", "return", "false", ";", "if", "(", "!", "ix86_expand_carry_flag_compare", "(", "code", ",", "op0", ",", "op1", ",", "&", "compare_op", ")", ")", "return", "false", ";", "code", "=", "GET_CODE", "(", "compare_op", ")", ";", "flags", "=", "XEXP", "(", "compare_op", ",", "0", ")", ";", "if", "(", "GET_MODE", "(", "flags", ")", "==", "CCFPmode", ")", "{", "fpcmp", "=", "true", ";", "code", "=", "ix86_fp_compare_code_to_integer", "(", "code", ")", ";", "}", "if", "(", "code", "!=", "LTU", ")", "{", "val", "=", "constm1_rtx", ";", "if", "(", "fpcmp", ")", "PUT_CODE", "(", "compare_op", ",", "reverse_condition_maybe_unordered", "(", "GET_CODE", "(", "compare_op", ")", ")", ")", ";", "else", "PUT_CODE", "(", "compare_op", ",", "reverse_condition", "(", "GET_CODE", "(", "compare_op", ")", ")", ")", ";", "}", "mode", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", ";", "if", "(", "(", "code", "==", "LTU", ")", "==", "(", "operands", "[", "3", "]", "==", "constm1_rtx", ")", ")", "insn", "=", "gen_sub3_carry", ";", "else", "insn", "=", "gen_add3_carry", ";", "emit_insn", "(", "insn", "(", "mode", ",", "operands", "[", "0", "]", ",", "operands", "[", "2", "]", ",", "val", ",", "flags", ",", "compare_op", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Expand", "conditional", "increment", "or", "decrement", "using", "adb/sbb", "instructions", ".", "The", "default", "case", "using", "setcc", "followed", "by", "the", "conditional", "move", "can", "be", "done", "by", "generic", "code", "."], "TS_V_token": ["i386", "1", "1", "0", "1", "1", "3", "3", "0", "0", "3", "0", "2"], "File": "i386-expand", "Func": "ix86_expand_int_addcc", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2036, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mep_trampoline_init", "(", "rtx", "m_tramp", ",", "tree", "fndecl", ",", "rtx", "static_chain", ")", "{", "rtx", "addr", "=", "XEXP", "(", "m_tramp", ",", "0", ")", ";", "rtx", "fnaddr", "=", "XEXP", "(", "DECL_RTL", "(", "fndecl", ")", ",", "0", ")", ";", "emit_library_call", "(", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"__mep_trampoline_helper\"", ")", ",", "LCT_NORMAL", ",", "VOIDmode", ",", "3", ",", "addr", ",", "Pmode", ",", "fnaddr", ",", "Pmode", ",", "static_chain", ",", "Pmode", ")", ";", "}", ""], "natrual_language": ["Trampolines", "."], "TS_V_token": ["mep", "0", "0", "\"__mep_trampoline_helper\"", "3"], "File": "mep", "Func": "mep_trampoline_init", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2037, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TTI", "::", "getIntImmCost", "(", "unsigned", "Opcode", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "const", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", ")", "return", "TCC_Free", ";", "unsigned", "ImmIdx", "=", "~", "0U", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "TCC_Free", ";", "case", "Instruction", "::", "GetElementPtr", ":", "if", "(", "Idx", "==", "0", ")", "return", "2", "*", "TCC_Basic", ";", "return", "TCC_Free", ";", "case", "Instruction", "::", "Store", ":", "ImmIdx", "=", "0", ";", "break", ";", "case", "Instruction", "::", "Add", ":", "case", "Instruction", "::", "Sub", ":", "case", "Instruction", "::", "Mul", ":", "case", "Instruction", "::", "UDiv", ":", "case", "Instruction", "::", "SDiv", ":", "case", "Instruction", "::", "URem", ":", "case", "Instruction", "::", "SRem", ":", "case", "Instruction", "::", "And", ":", "case", "Instruction", "::", "Or", ":", "case", "Instruction", "::", "Xor", ":", "case", "Instruction", "::", "ICmp", ":", "ImmIdx", "=", "1", ";", "break", ";", "case", "Instruction", "::", "Shl", ":", "case", "Instruction", "::", "LShr", ":", "case", "Instruction", "::", "AShr", ":", "if", "(", "Idx", "==", "1", ")", "return", "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", ")", "&&", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", "&&", "isInt", "<", "32", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "return", "TCC_Free", ";", "return", "X86TTI", "::", "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", "1", "64", "32", "X86"], "File": "X86TargetTransformInfo52", "Func": "getIntImmCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2038, "Length": 282, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "override", "{", "if", "(", "Count", "%", "4", "!=", "0", ")", "return", "false", ";", "uint64_t", "NumNops", "=", "Count", "/", "4", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "!=", "NumNops", ";", "++", "i", ")", "OW", "->", "write32", "(", "0x01000000", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["Sparc", "4", "0", "4", "0", "0x01000000"], "File": "SparcAsmBackend1", "Func": "writeNopData", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2039, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isCommutativeBinOp", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "case", "X86ISD", "::", "PMULUDQ", ":", "return", "true", ";", "}", "return", "TargetLoweringBase", "::", "isCommutativeBinOp", "(", "Opcode", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "opcode", "is", "a", "commutative", "binary", "operation", "."], "TS_V_token": ["X86", "X86", "X86ISD::PMULUDQ"], "File": "X86ISelLowering158", "Func": "isCommutativeBinOp", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2040, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "mips_get_compress_off_name", "(", "unsigned", "int", "flags", ")", "{", "if", "(", "flags", "==", "MASK_MIPS16", ")", "return", "\"nomips16\"", ";", "if", "(", "flags", "==", "MASK_MICROMIPS", ")", "return", "\"nomicromips\"", ";", "return", "\"nocompression\"", ";", "}", ""], "natrual_language": ["Return", "the", "attribute", "name", "that", "forbids", "MASK_MIPS16", "and", "MASK_MICROMIPS", "flags", "FLAGS", "."], "TS_V_token": ["mips", "\"nomips16\"", "\"nomicromips\"", "\"nocompression\""], "File": "mips", "Func": "mips_get_compress_off_name", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2041, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitConstantPool", "(", ")", "override", "{", "}", ""], "natrual_language": ["Print", "to", "the", "current", "output", "stream", "assembly", "representations", "of", "the", "constants", "in", "the", "constant", "pool", "MCP", "."], "TS_V_token": ["ARM"], "File": "ARMAsmPrinter18", "Func": "emitConstantPool", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2042, "Length": 7, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTTIImpl", "::", "enableAggressiveInterleaving", "(", "bool", "LoopHasReductions", ")", "{", "return", "LoopHasReductions", ";", "}", ""], "natrual_language": ["Do", "n't", "restrict", "interleaved", "unrolling", "to", "small", "loops", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCTargetTransformInfo3", "Func": "enableAggressiveInterleaving", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2043, "Length": 13, "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": 2044, "Length": 172, "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": 2045, "Length": 415, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getPointerSize", "(", ")", "{", "if", "(", "is16BitMode", "(", ")", ")", "return", "16", ";", "if", "(", "is32BitMode", "(", ")", ")", "return", "32", ";", "if", "(", "is64BitMode", "(", ")", ")", "return", "64", ";", "llvm_unreachable", "(", "\"invalid mode\"", ")", ";", "}", ""], "natrual_language": ["Layout", "pointer", "size", "in", "bytes", ",", "rounded", "up", "to", "a", "whole", "number", "of", "bytes", "."], "TS_V_token": ["X86", "16", "32", "64", "\"invalid mode\""], "File": "X86AsmParser114", "Func": "getPointerSize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2046, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mmix_asm_output_label", "(", "FILE", "*", "stream", ",", "const", "char", "*", "name", ")", "{", "assemble_name", "(", "stream", ",", "name", ")", ";", "fprintf", "(", "stream", ",", "\"\\tIS @\\n\"", ")", ";", "}", ""], "natrual_language": ["ASM_OUTPUT_LABEL", "."], "TS_V_token": ["mmix", "\"\\tIS @\\n\""], "File": "mmix", "Func": "mmix_asm_output_label", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2047, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "rs6000_preferred_simd_mode", "(", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_VSX", ")", "switch", "(", "mode", ")", "{", "case", "DFmode", ":", "return", "V2DFmode", ";", "default", ":", ";", "}", "if", "(", "TARGET_ALTIVEC", "||", "TARGET_VSX", ")", "switch", "(", "mode", ")", "{", "case", "SFmode", ":", "return", "V4SFmode", ";", "case", "TImode", ":", "return", "V1TImode", ";", "case", "DImode", ":", "return", "V2DImode", ";", "case", "SImode", ":", "return", "V4SImode", ";", "case", "HImode", ":", "return", "V8HImode", ";", "case", "QImode", ":", "return", "V16QImode", ";", "default", ":", ";", "}", "if", "(", "TARGET_SPE", ")", "switch", "(", "mode", ")", "{", "case", "SFmode", ":", "return", "V2SFmode", ";", "case", "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": ["rs6000"], "File": "rs60004", "Func": "rs6000_preferred_simd_mode", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2048, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VZeroUpperInserter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "X86Subtarget", "&", "ST", "=", "MF", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "ST", ".", "hasAVX", "(", ")", "||", "ST", ".", "hasAVX512", "(", ")", ")", "return", "false", ";", "TII", "=", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "EverMadeChange", "=", "false", ";", "bool", "YMMUsed", "=", "false", ";", "const", "TargetRegisterClass", "*", "RC", "=", "&", "X86", "::", "VR256RegClass", ";", "for", "(", "TargetRegisterClass", "::", "iterator", "i", "=", "RC", "->", "begin", "(", ")", ",", "e", "=", "RC", "->", "end", "(", ")", ";", "i", "!=", "e", ";", "i", "++", ")", "{", "if", "(", "!", "MRI", ".", "reg_nodbg_empty", "(", "*", "i", ")", ")", "{", "YMMUsed", "=", "true", ";", "break", ";", "}", "}", "if", "(", "!", "YMMUsed", ")", "{", "return", "false", ";", "}", "assert", "(", "BlockStates", ".", "empty", "(", ")", "&&", "DirtySuccessors", ".", "empty", "(", ")", "&&", "\"X86VZeroUpper state should be clear\"", ")", ";", "BlockStates", ".", "resize", "(", "MF", ".", "getNumBlockIDs", "(", ")", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "processBasicBlock", "(", "*", "I", ")", ";", "if", "(", "checkFnHasLiveInYmm", "(", "MRI", ")", ")", "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", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"MBB #\"", "<<", "MBB", ".", "getNumber", "(", ")", "<<", "\" was Pass-through, is now Dirty-out.\\n\"", ")", ";", "for", "(", "MachineBasicBlock", "::", "succ_iterator", "SI", "=", "MBB", ".", "succ_begin", "(", ")", ",", "SE", "=", "MBB", ".", "succ_end", "(", ")", ";", "SI", "!=", "SE", ";", "++", "SI", ")", "addDirtySuccessor", "(", "*", "*", "SI", ")", ";", "}", "}", "BlockStates", ".", "clear", "(", ")", ";", "return", "EverMadeChange", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86::VR256RegClass", "\"X86VZeroUpper state should be clear\"", "\"MBB #\"", "\" was Pass-through, is now Dirty-out.\\n\""], "File": "X86VZeroUpper6", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2049, "Length": 358, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "neon_vector_mem_operand", "(", "rtx", "op", ",", "int", "type", ",", "bool", "strict", ")", "{", "rtx", "ind", ";", "if", "(", "strict", "&&", "!", "(", "reload_in_progress", "||", "reload_completed", ")", "&&", "(", "reg_mentioned_p", "(", "frame_pointer_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "arg_pointer_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "virtual_incoming_args_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "virtual_outgoing_args_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "virtual_stack_dynamic_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "virtual_stack_vars_rtx", ",", "op", ")", ")", ")", "return", "FALSE", ";", "if", "(", "!", "MEM_P", "(", "op", ")", ")", "return", "FALSE", ";", "ind", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "reload_completed", "&&", "(", "GET_CODE", "(", "ind", ")", "==", "LABEL_REF", "||", "(", "GET_CODE", "(", "ind", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "ind", ",", "0", ")", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "ind", ",", "0", ")", ",", "0", ")", ")", "==", "LABEL_REF", "&&", "CONST_INT_P", "(", "XEXP", "(", "XEXP", "(", "ind", ",", "0", ")", ",", "1", ")", ")", ")", ")", ")", "return", "TRUE", ";", "if", "(", "REG_P", "(", "ind", ")", ")", "return", "arm_address_register_rtx_p", "(", "ind", ",", "0", ")", ";", "if", "(", "(", "type", "!=", "1", "&&", "GET_CODE", "(", "ind", ")", "==", "POST_INC", ")", "||", "(", "type", "==", "0", "&&", "GET_CODE", "(", "ind", ")", "==", "PRE_DEC", ")", ")", "return", "arm_address_register_rtx_p", "(", "XEXP", "(", "ind", ",", "0", ")", ",", "0", ")", ";", "if", "(", "type", "==", "2", "&&", "GET_CODE", "(", "ind", ")", "==", "POST_MODIFY", "&&", "GET_CODE", "(", "XEXP", "(", "ind", ",", "1", ")", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "XEXP", "(", "ind", ",", "1", ")", ",", "1", ")", ")", ")", "return", "true", ";", "if", "(", "type", "==", "0", "&&", "GET_CODE", "(", "ind", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "ind", ",", "0", ")", ")", "&&", "REG_MODE_OK_FOR_BASE_P", "(", "XEXP", "(", "ind", ",", "0", ")", ",", "VOIDmode", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "ind", ",", "1", ")", ")", "&&", "INTVAL", "(", "XEXP", "(", "ind", ",", "1", ")", ")", ">", "-", "1024", "&&", "(", "INTVAL", "(", "XEXP", "(", "ind", ",", "1", ")", ")", "<", "(", "VALID_NEON_QREG_MODE", "(", "GET_MODE", "(", "op", ")", ")", "?", "1016", ":", "1024", ")", ")", "&&", "(", "INTVAL", "(", "XEXP", "(", "ind", ",", "1", ")", ")", "&", "3", ")", "==", "0", ")", "return", "TRUE", ";", "return", "FALSE", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "OP", "is", "a", "memory", "operand", "which", "we", "can", "load", "or", "store", "a", "vector", "to/from", ".", "TYPE", "is", "one", "of", "the", "following", "values", ":", "0", "-", "Vector", "load/stor", "(", "vldr", ")", "1", "-", "Core", "registers", "(", "ldm", ")", "2", "-", "Element/structure", "loads", "(", "vld1", ")"], "TS_V_token": ["arm", "0", "0", "0", "0", "0", "1", "0", "1", "0", "0", "0", "2", "1", "1", "1", "0", "0", "0", "1", "1", "1024", "1", "1016", "1024", "1", "3", "0"], "File": "arm5", "Func": "neon_vector_mem_operand", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2050, "Length": 369, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isBlockAddress", "(", ")", "{", "return", "Kind", "==", "ARMCP", "::", "CPBlockAddress", ";", "}", ""], "natrual_language": ["isBlockAddress", "-", "Tests", "if", "this", "is", "a", "MO_BlockAddress", "operand", "."], "TS_V_token": ["ARM", "ARMCP::CPBlockAddress"], "File": "ARMConstantPoolValue10", "Func": "isBlockAddress", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2051, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86MCCodeEmitter", "::", "emitPrefix", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "Opcode", ")", ";", "uint64_t", "TSFlags", "=", "Desc", ".", "TSFlags", ";", "if", "(", "X86II", "::", "isPseudo", "(", "TSFlags", ")", ")", "return", ";", "unsigned", "CurOp", "=", "X86II", "::", "getOperandBias", "(", "Desc", ")", ";", "emitPrefixImpl", "(", "CurOp", ",", "MI", ",", "STI", ",", "OS", ")", ";", "}", ""], "natrual_language": ["Append", "the", "prefixes", "of", "given", "instruction", "to", "the", "code", "buffer", "."], "TS_V_token": ["X86", "X86", "X86II::isPseudo", "X86II::getOperandBias"], "File": "X86MCCodeEmitter2", "Func": "emitPrefix", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2052, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "CallLowering", "*", "ARMSubtarget", "::", "getCallLowering", "(", ")", "const", "{", "return", "CallLoweringInfo", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Methods", "used", "by", "Global", "ISel", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMSubtarget", "Func": "getCallLowering", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2053, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "ARM64RegisterInfo", "::", "getThisReturnPreservedMask", "(", "CallingConv", "::", "ID", ")", "const", "{", "return", "CSR_ARM64_AAPCS_ThisReturn_RegMask", ";", "}", ""], "natrual_language": ["getThisReturnPreservedMask", "-", "Returns", "a", "call", "preserved", "mask", "specific", "to", "the", "case", "that", "'returned", "'", "is", "on", "an", "i32", "first", "argument", "if", "the", "calling", "convention", "is", "one", "that", "can", "(", "partially", ")", "model", "this", "attribute", "with", "a", "preserved", "mask", "(", "i.e", "."], "TS_V_token": ["ARM64", "ARM64", "ARM64"], "File": "ARM64RegisterInfo", "Func": "getThisReturnPreservedMask", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2054, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "canInsertSelect", "(", "const", "MachineBasicBlock", "&", "MBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "unsigned", "TrueReg", ",", "unsigned", "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": "X86InstrInfo11", "Func": "canInsertSelect", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2055, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RegDefsUses", "::", "update", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "Begin", ",", "unsigned", "End", ")", "{", "BitVector", "NewDefs", "(", "TRI", ".", "getNumRegs", "(", ")", ")", ",", "NewUses", "(", "TRI", ".", "getNumRegs", "(", ")", ")", ";", "bool", "HasHazard", "=", "false", ";", "for", "(", "unsigned", "I", "=", "Begin", ";", "I", "!=", "End", ";", "++", "I", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "I", ")", ";", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "MO", ".", "getReg", "(", ")", ")", "HasHazard", "|=", "checkRegDefsUses", "(", "NewDefs", ",", "NewUses", ",", "MO", ".", "getReg", "(", ")", ",", "MO", ".", "isDef", "(", ")", ")", ";", "}", "Defs", "|=", "NewDefs", ";", "Uses", "|=", "NewUses", ";", "return", "HasHazard", ";", "}", ""], "natrual_language": ["Digest", "more", "data", "."], "TS_V_token": ["Mips"], "File": "MipsDelaySlotFiller", "Func": "update", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2056, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "resolveFrameIndex", "(", "MachineInstr", "&", "MI", ",", "unsigned", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "ARMBaseInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "int", "Off", "=", "Offset", ";", "unsigned", "i", "=", "0", ";", "assert", "(", "!", "AFI", "->", "isThumb1OnlyFunction", "(", ")", "&&", "\"This resolveFrameIndex does not support Thumb1!\"", ")", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "bool", "Done", "=", "false", ";", "if", "(", "!", "AFI", "->", "isThumbFunction", "(", ")", ")", "Done", "=", "rewriteARMFrameIndex", "(", "MI", ",", "i", ",", "BaseReg", ",", "Off", ",", "TII", ")", ";", "else", "{", "assert", "(", "AFI", "->", "isThumb2Function", "(", ")", ")", ";", "Done", "=", "rewriteT2FrameIndex", "(", "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", "ARM", "0", "\"This resolveFrameIndex does not support Thumb1!\"", "\"Instr doesn't have FrameIndex operand!\"", "ARM", "\"Unable to resolve frame index!\""], "File": "ARMBaseRegisterInfo15", "Func": "resolveFrameIndex", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2057, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "vr4130_true_reg_dependence_p_1", "(", "rtx", "x", ",", "const_rtx", "pat", "ATTRIBUTE_UNUSED", ",", "void", "*", "data", ")", "{", "rtx", "*", "insn_ptr", ";", "insn_ptr", "=", "(", "rtx", "*", ")", "data", ";", "if", "(", "REG_P", "(", "x", ")", "&&", "*", "insn_ptr", "!=", "0", "&&", "reg_referenced_p", "(", "x", ",", "PATTERN", "(", "*", "insn_ptr", ")", ")", ")", "*", "insn_ptr", "=", "0", ";", "}", ""], "natrual_language": ["A", "note_stores", "callback", "used", "by", "vr4130_true_reg_dependence_p", ".", "DATA", "points", "to", "an", "rtx", "that", "is", "initially", "an", "instruction", ".", "Nullify", "the", "rtx", "if", "the", "instruction", "uses", "the", "value", "of", "register", "X", "."], "TS_V_token": ["mips", "0", "0"], "File": "mips", "Func": "vr4130_true_reg_dependence_p_1", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2058, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetELFStreamer", "::", "emitAssignment", "(", "MCSymbol", "*", "S", ",", "const", "MCExpr", "*", "Value", ")", "{", "auto", "*", "Symbol", "=", "cast", "<", "MCSymbolELF", ">", "(", "S", ")", ";", "if", "(", "Value", "->", "getKind", "(", ")", "!=", "MCExpr", "::", "SymbolRef", ")", "return", ";", "const", "auto", "&", "RhsSym", "=", "cast", "<", "MCSymbolELF", ">", "(", "static_cast", "<", "const", "MCSymbolRefExpr", "*", ">", "(", "Value", ")", "->", "getSymbol", "(", ")", ")", ";", "if", "(", "!", "(", "RhsSym", ".", "getOther", "(", ")", "&", "ELF", "::", "STO_MIPS_MICROMIPS", ")", ")", "return", ";", "Symbol", "->", "setOther", "(", "ELF", "::", "STO_MIPS_MICROMIPS", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "assignment", "of", "Value", "to", "Symbol", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsTargetStreamer (2)1", "Func": "emitAssignment", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2059, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "arm_resolve_overloaded_builtin", "(", "location_t", "loc", ",", "tree", "fndecl", ",", "void", "*", "arglist", ")", "{", "if", "(", "arm_describe_resolver", "(", "fndecl", ")", "==", "arm_cde_resolver", ")", "return", "arm_resolve_cde_builtin", "(", "loc", ",", "fndecl", ",", "arglist", ")", ";", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Implement", "TARGET_RESOLVE_OVERLOADED_BUILTIN", ".", "This", "is", "currently", "only", "used", "for", "the", "MVE", "related", "builtins", "for", "the", "CDE", "extension", ".", "Here", "we", "ensure", "the", "type", "of", "arguments", "is", "such", "that", "the", "size", "is", "correct", ",", "and", "then", "return", "a", "tree", "that", "describes", "the", "same", "function", "call", "but", "with", "the", "relevant", "types", "cast", "as", "necessary", "."], "TS_V_token": ["arm"], "File": "arm-c", "Func": "arm_resolve_overloaded_builtin", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2060, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "xstormy16_initial_elimination_offset", "(", "int", "from", ",", "int", "to", ")", "{", "struct", "xstormy16_stack_layout", "layout", ";", "int", "result", ";", "layout", "=", "xstormy16_compute_stack_layout", "(", ")", ";", "if", "(", "from", "==", "FRAME_POINTER_REGNUM", "&&", "to", "==", "HARD_FRAME_POINTER_REGNUM", ")", "result", "=", "layout", ".", "sp_minus_fp", "-", "layout", ".", "locals_size", ";", "else", "if", "(", "from", "==", "FRAME_POINTER_REGNUM", "&&", "to", "==", "STACK_POINTER_REGNUM", ")", "result", "=", "-", "layout", ".", "locals_size", ";", "else", "if", "(", "from", "==", "ARG_POINTER_REGNUM", "&&", "to", "==", "HARD_FRAME_POINTER_REGNUM", ")", "result", "=", "-", "layout", ".", "fp_minus_ap", ";", "else", "if", "(", "from", "==", "ARG_POINTER_REGNUM", "&&", "to", "==", "STACK_POINTER_REGNUM", ")", "result", "=", "-", "(", "layout", ".", "sp_minus_fp", "+", "layout", ".", "fp_minus_ap", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "return", "result", ";", "}", ""], "natrual_language": ["Determine", "how", "all", "the", "special", "registers", "get", "eliminated", "."], "TS_V_token": ["stormy16"], "File": "stormy163", "Func": "xstormy16_initial_elimination_offset", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2061, "Length": 112, "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": ["ARM64"], "File": "ARM64Subtarget", "Func": "enableMachineScheduler", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2062, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "getTgtMemIntrinsic", "(", "IntrinsicInfo", "&", "Info", ",", "const", "CallInst", "&", "I", ",", "MachineFunction", "&", "MF", ",", "unsigned", "Intrinsic", ")", "const", "{", "const", "IntrinsicData", "*", "IntrData", "=", "getIntrinsicWithChain", "(", "Intrinsic", ")", ";", "if", "(", "!", "IntrData", ")", "return", "false", ";", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_W_CHAIN", ";", "Info", ".", "flags", "=", "MachineMemOperand", "::", "MONone", ";", "Info", ".", "offset", "=", "0", ";", "switch", "(", "IntrData", "->", "Type", ")", "{", "case", "TRUNCATE_TO_MEM_VI8", ":", "case", "TRUNCATE_TO_MEM_VI16", ":", "case", "TRUNCATE_TO_MEM_VI32", ":", "{", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "0", ")", ";", "MVT", "VT", "=", "MVT", "::", "getVT", "(", "I", ".", "getArgOperand", "(", "1", ")", "->", "getType", "(", ")", ")", ";", "MVT", "ScalarVT", "=", "MVT", "::", "INVALID_SIMPLE_VALUE_TYPE", ";", "if", "(", "IntrData", "->", "Type", "==", "TRUNCATE_TO_MEM_VI8", ")", "ScalarVT", "=", "MVT", "::", "i8", ";", "else", "if", "(", "IntrData", "->", "Type", "==", "TRUNCATE_TO_MEM_VI16", ")", "ScalarVT", "=", "MVT", "::", "i16", ";", "else", "if", "(", "IntrData", "->", "Type", "==", "TRUNCATE_TO_MEM_VI32", ")", "ScalarVT", "=", "MVT", "::", "i32", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVectorVT", "(", "ScalarVT", ",", "VT", ".", "getVectorNumElements", "(", ")", ")", ";", "Info", ".", "align", "=", "1", ";", "Info", ".", "flags", "|=", "MachineMemOperand", "::", "MOStore", ";", "break", ";", "}", "default", ":", "return", "false", ";", "}", "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": ["X86", "X86", "ISD::INTRINSIC_W_CHAIN", "0", "0", "MVT::getVT", "1", "MVT::INVALID_SIMPLE_VALUE_TYPE", "MVT::i8", "MVT::i16", "MVT::i32", "MVT::getVectorVT", "1"], "File": "X86ISelLowering (2)8", "Func": "getTgtMemIntrinsic", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2063, "Length": 205, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "loongarch_restore_reg", "(", "rtx", "reg", ",", "rtx", "mem", ")", "{", "rtx", "insn", "=", "loongarch_emit_move", "(", "reg", ",", "mem", ")", ";", "rtx", "dwarf", "=", "NULL_RTX", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "dwarf", ")", ";", "REG_NOTES", "(", "insn", ")", "=", "dwarf", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", ""], "natrual_language": ["Restore", "register", "REG", "from", "MEM", "."], "TS_V_token": ["loongarch", "1"], "File": "loongarch", "Func": "loongarch_restore_reg", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2064, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nds32_legitimate_index_p", "(", "machine_mode", "outer_mode", ",", "rtx", "index", ",", "bool", "strict", ")", "{", "int", "regno", ";", "rtx", "op0", ";", "rtx", "op1", ";", "switch", "(", "GET_CODE", "(", "index", ")", ")", "{", "case", "REG", ":", "regno", "=", "REGNO", "(", "index", ")", ";", "if", "(", "strict", ")", "return", "REGNO_OK_FOR_INDEX_P", "(", "regno", ")", ";", "else", "return", "true", ";", "case", "CONST_INT", ":", "switch", "(", "GET_MODE_SIZE", "(", "outer_mode", ")", ")", "{", "case", "1", ":", "if", "(", "satisfies_constraint_Is15", "(", "index", ")", ")", "return", "true", ";", "break", ";", "case", "2", ":", "if", "(", "satisfies_constraint_Is16", "(", "index", ")", ")", "{", "if", "(", "!", "cfun", "->", "machine", "->", "strict_aligned_p", ")", "return", "true", ";", "else", "if", "(", "NDS32_HALF_WORD_ALIGN_P", "(", "INTVAL", "(", "index", ")", ")", ")", "return", "true", ";", "}", "break", ";", "case", "4", ":", "if", "(", "satisfies_constraint_Is17", "(", "index", ")", ")", "{", "if", "(", "(", "TARGET_FPU_SINGLE", "||", "TARGET_FPU_DOUBLE", ")", ")", "{", "if", "(", "!", "satisfies_constraint_Is14", "(", "index", ")", ")", "return", "false", ";", "}", "if", "(", "!", "cfun", "->", "machine", "->", "strict_aligned_p", ")", "return", "true", ";", "else", "if", "(", "NDS32_SINGLE_WORD_ALIGN_P", "(", "INTVAL", "(", "index", ")", ")", ")", "return", "true", ";", "}", "break", ";", "case", "8", ":", "if", "(", "satisfies_constraint_Is17", "(", "gen_int_mode", "(", "INTVAL", "(", "index", ")", "+", "4", ",", "SImode", ")", ")", ")", "{", "if", "(", "(", "TARGET_FPU_SINGLE", "||", "TARGET_FPU_DOUBLE", ")", ")", "{", "if", "(", "!", "satisfies_constraint_Is14", "(", "index", ")", ")", "return", "false", ";", "}", "if", "(", "!", "cfun", "->", "machine", "->", "strict_aligned_p", ")", "return", "true", ";", "else", "if", "(", "NDS32_SINGLE_WORD_ALIGN_P", "(", "INTVAL", "(", "index", ")", ")", ")", "return", "true", ";", "}", "break", ";", "default", ":", "return", "false", ";", "}", "return", "false", ";", "case", "MULT", ":", "op0", "=", "XEXP", "(", "index", ",", "0", ")", ";", "op1", "=", "XEXP", "(", "index", ",", "1", ")", ";", "if", "(", "REG_P", "(", "op0", ")", "&&", "CONST_INT_P", "(", "op1", ")", ")", "{", "int", "multiplier", ";", "multiplier", "=", "INTVAL", "(", "op1", ")", ";", "if", "(", "multiplier", "!=", "1", "&&", "multiplier", "!=", "2", "&&", "multiplier", "!=", "4", "&&", "multiplier", "!=", "8", ")", "return", "false", ";", "regno", "=", "REGNO", "(", "op0", ")", ";", "if", "(", "strict", ")", "return", "REGNO_OK_FOR_INDEX_P", "(", "regno", ")", ";", "else", "return", "true", ";", "}", "return", "false", ";", "case", "ASHIFT", ":", "op0", "=", "XEXP", "(", "index", ",", "0", ")", ";", "op1", "=", "XEXP", "(", "index", ",", "1", ")", ";", "if", "(", "REG_P", "(", "op0", ")", "&&", "CONST_INT_P", "(", "op1", ")", ")", "{", "int", "sv", ";", "sv", "=", "INTVAL", "(", "op1", ")", ";", "if", "(", "sv", "!=", "0", "&&", "sv", "!=", "1", "&&", "sv", "!=", "2", "&&", "sv", "!=", "3", ")", "return", "false", ";", "regno", "=", "REGNO", "(", "op0", ")", ";", "if", "(", "strict", ")", "return", "REGNO_OK_FOR_INDEX_P", "(", "regno", ")", ";", "else", "return", "true", ";", "}", "return", "false", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Function", "that", "check", "if", "'INDEX", "'", "is", "valid", "to", "be", "a", "index", "rtx", "for", "address", ".", "OUTER_MODE", ":", "Machine", "mode", "of", "outer", "address", "rtx", ".", "INDEX", ":", "Check", "if", "this", "rtx", "is", "valid", "to", "be", "a", "index", "for", "address", ".", "STRICT", ":", "If", "it", "is", "true", ",", "we", "are", "in", "reload", "pass", "or", "after", "reload", "pass", "."], "TS_V_token": ["nds32", "1", "2", "4", "8", "4", "0", "1", "1", "2", "4", "8", "0", "1", "0", "1", "2", "3"], "File": "nds32", "Func": "nds32_legitimate_index_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2065, "Length": 449, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "reg_class", "mips_secondary_reload_class", "(", "enum", "reg_class", "rclass", ",", "machine_mode", "mode", ",", "rtx", "x", ",", "bool", ")", "{", "int", "regno", ";", "if", "(", "mips_dangerous_for_la25_p", "(", "x", ")", ")", "return", "reg_class_subset_p", "(", "rclass", ",", "LEA_REGS", ")", "?", "NO_REGS", ":", "LEA_REGS", ";", "regno", "=", "true_regnum", "(", "x", ")", ";", "if", "(", "TARGET_MIPS16", ")", "{", "if", "(", "!", "reg_class_subset_p", "(", "rclass", ",", "M16_REGS", ")", "&&", "!", "M16_REG_P", "(", "regno", ")", ")", "return", "M16_REGS", ";", "return", "NO_REGS", ";", "}", "if", "(", "reg_class_subset_p", "(", "rclass", ",", "ACC_REGS", ")", ")", "return", "GP_REG_P", "(", "regno", ")", "?", "NO_REGS", ":", "GR_REGS", ";", "if", "(", "ACC_REG_P", "(", "regno", ")", ")", "return", "reg_class_subset_p", "(", "rclass", ",", "GR_REGS", ")", "?", "NO_REGS", ":", "GR_REGS", ";", "if", "(", "reg_class_subset_p", "(", "rclass", ",", "FP_REGS", ")", ")", "{", "if", "(", "regno", "<", "0", "||", "(", "MEM_P", "(", "x", ")", "&&", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "4", "||", "GET_MODE_SIZE", "(", "mode", ")", "==", "8", ")", ")", ")", "return", "NO_REGS", ";", "if", "(", "MEM_P", "(", "x", ")", "&&", "MSA_SUPPORTED_MODE_P", "(", "mode", ")", ")", "return", "NO_REGS", ";", "if", "(", "GP_REG_P", "(", "regno", ")", "||", "x", "==", "CONST0_RTX", "(", "mode", ")", ")", "return", "NO_REGS", ";", "if", "(", "CONSTANT_P", "(", "x", ")", "&&", "!", "targetm", ".", "cannot_force_const_mem", "(", "mode", ",", "x", ")", ")", "return", "NO_REGS", ";", "if", "(", "FP_REG_P", "(", "regno", ")", "&&", "mips_mode_ok_for_mov_fmt_p", "(", "mode", ")", ")", "return", "NO_REGS", ";", "return", "GR_REGS", ";", "}", "if", "(", "FP_REG_P", "(", "regno", ")", ")", "return", "reg_class_subset_p", "(", "rclass", ",", "GR_REGS", ")", "?", "NO_REGS", ":", "GR_REGS", ";", "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", ".", "If", "IN_P", "is", "nonzero", ",", "the", "copy", "is", "going", "from", "X", "to", "the", "register", ",", "otherwise", "the", "register", "is", "the", "source", ".", "A", "return", "value", "of", "NO_REGS", "means", "that", "no", "secondary", "register", "is", "required", "."], "TS_V_token": ["mips", "0", "4", "8"], "File": "mips", "Func": "mips_secondary_reload_class", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2066, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VZeroUpperInserter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "hasAVX512", "(", ")", ")", "return", "false", ";", "TII", "=", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "EverMadeChange", "=", "false", ";", "bool", "YMMUsed", "=", "false", ";", "const", "TargetRegisterClass", "*", "RC", "=", "&", "X86", "::", "VR256RegClass", ";", "for", "(", "TargetRegisterClass", "::", "iterator", "i", "=", "RC", "->", "begin", "(", ")", ",", "e", "=", "RC", "->", "end", "(", ")", ";", "i", "!=", "e", ";", "i", "++", ")", "{", "if", "(", "!", "MRI", ".", "reg_nodbg_empty", "(", "*", "i", ")", ")", "{", "YMMUsed", "=", "true", ";", "break", ";", "}", "}", "if", "(", "!", "YMMUsed", ")", "{", "return", "false", ";", "}", "assert", "(", "BlockStates", ".", "empty", "(", ")", "&&", "DirtySuccessors", ".", "empty", "(", ")", "&&", "\"X86VZeroUpper state should be clear\"", ")", ";", "BlockStates", ".", "resize", "(", "MF", ".", "getNumBlockIDs", "(", ")", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "processBasicBlock", "(", "*", "I", ")", ";", "if", "(", "checkFnHasLiveInYmm", "(", "MRI", ")", ")", "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", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"MBB #\"", "<<", "MBB", ".", "getNumber", "(", ")", "<<", "\" was Pass-through, is now Dirty-out.\\n\"", ")", ";", "for", "(", "MachineBasicBlock", "::", "succ_iterator", "SI", "=", "MBB", ".", "succ_begin", "(", ")", ",", "SE", "=", "MBB", ".", "succ_end", "(", ")", ";", "SI", "!=", "SE", ";", "++", "SI", ")", "addDirtySuccessor", "(", "*", "*", "SI", ")", ";", "}", "}", "BlockStates", ".", "clear", "(", ")", ";", "return", "EverMadeChange", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86::VR256RegClass", "\"X86VZeroUpper state should be clear\"", "\"MBB #\"", "\" was Pass-through, is now Dirty-out.\\n\""], "File": "X86VZeroUpper13", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2067, "Length": 344, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "X86MCInstLower", "MCInstLowering", "(", "Mang", ",", "*", "MF", ",", "*", "this", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "if", "(", "isVerbose", "(", ")", "&&", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "{", "std", "::", "string", "TmpStr", ";", "raw_string_ostream", "OS", "(", "TmpStr", ")", ";", "PrintDebugValueComment", "(", "MI", ",", "OS", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "StringRef", "(", "OS", ".", "str", "(", ")", ")", ")", ";", "}", "return", ";", "case", "X86", "::", "Int_MemBarrier", ":", "if", "(", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "OutStreamer", ".", "EmitRawText", "(", "StringRef", "(", "\"\\t#MEMBARRIER\"", ")", ")", ";", "return", ";", "case", "X86", "::", "EH_RETURN", ":", "case", "X86", "::", "EH_RETURN64", ":", "{", "unsigned", "Reg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "OutStreamer", ".", "AddComment", "(", "StringRef", "(", "\"eh_return, addr: %\"", ")", "+", "X86ATTInstPrinter", "::", "getRegisterName", "(", "Reg", ")", ")", ";", "break", ";", "}", "case", "X86", "::", "TAILJMPr", ":", "case", "X86", "::", "TAILJMPd", ":", "case", "X86", "::", "TAILJMPd64", ":", "OutStreamer", ".", "AddComment", "(", "\"TAILCALL\"", ")", ";", "break", ";", "case", "X86", "::", "TLS_addr32", ":", "case", "X86", "::", "TLS_addr64", ":", "case", "X86", "::", "TLS_base_addr32", ":", "case", "X86", "::", "TLS_base_addr64", ":", "return", "LowerTlsAddr", "(", "OutStreamer", ",", "MCInstLowering", ",", "*", "MI", ")", ";", "case", "X86", "::", "MOVPC32r", ":", "{", "MCSymbol", "*", "PICBase", "=", "MF", "->", "getPICBaseSymbol", "(", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "MCInstBuilder", "(", "getSubtarget", "(", ")", ".", "isTargetNaCl", "(", ")", "?", "X86", "::", "NACL_CALL32d", ":", "X86", "::", "CALLpcrel32", ")", ".", "addExpr", "(", "MCSymbolRefExpr", "::", "Create", "(", "PICBase", ",", "OutContext", ")", ")", ")", ";", "OutStreamer", ".", "EmitLabel", "(", "PICBase", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "MCInstBuilder", "(", "X86", "::", "POP32r", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", ";", "return", ";", "}", "case", "X86", "::", "ADD32ri", ":", "{", "if", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getTargetFlags", "(", ")", "!=", "X86II", "::", "MO_GOT_ABSOLUTE_ADDRESS", ")", "break", ";", "MCSymbol", "*", "DotSym", "=", "OutContext", ".", "CreateTempSymbol", "(", ")", ";", "OutStreamer", ".", "EmitLabel", "(", "DotSym", ")", ";", "MCSymbol", "*", "OpSym", "=", "MCInstLowering", ".", "GetSymbolFromOperand", "(", "MI", "->", "getOperand", "(", "2", ")", ")", ";", "const", "MCExpr", "*", "DotExpr", "=", "MCSymbolRefExpr", "::", "Create", "(", "DotSym", ",", "OutContext", ")", ";", "const", "MCExpr", "*", "PICBase", "=", "MCSymbolRefExpr", "::", "Create", "(", "MF", "->", "getPICBaseSymbol", "(", ")", ",", "OutContext", ")", ";", "DotExpr", "=", "MCBinaryExpr", "::", "CreateSub", "(", "DotExpr", ",", "PICBase", ",", "OutContext", ")", ";", "DotExpr", "=", "MCBinaryExpr", "::", "CreateAdd", "(", "MCSymbolRefExpr", "::", "Create", "(", "OpSym", ",", "OutContext", ")", ",", "DotExpr", ",", "OutContext", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "MCInstBuilder", "(", "X86", "::", "ADD32ri", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ".", "addExpr", "(", "DotExpr", ")", ")", ";", "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": ["X86", "X86", "X86", "X86::Int_MemBarrier", "\"\\t#MEMBARRIER\"", "X86::EH_RETURN", "X86::EH_RETURN64", "0", "\"eh_return, addr: %\"", "X86", "X86::TAILJMPr", "X86::TAILJMPd", "X86::TAILJMPd64", "\"TAILCALL\"", "X86::TLS_addr32", "X86::TLS_addr64", "X86::TLS_base_addr32", "X86::TLS_base_addr64", "X86::MOVPC32r", "X86::NACL_CALL32d", "X86::CALLpcrel32", "X86::POP32r", "0", "X86::ADD32ri", "2", "X86II::MO_GOT_ABSOLUTE_ADDRESS", "2", "X86::ADD32ri", "0", "1"], "File": "X86MCInstLower64", "Func": "EmitInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2068, "Length": 490, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_hard_regno_nregs", "(", "unsigned", "regno", ",", "machine_mode", "mode", ")", "{", "HOST_WIDE_INT", "lowest_size", "=", "constant_lower_bound", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "switch", "(", "aarch64_regno_regclass", "(", "regno", ")", ")", "{", "case", "FP_REGS", ":", "case", "FP_LO_REGS", ":", "case", "FP_LO8_REGS", ":", "{", "unsigned", "int", "vec_flags", "=", "aarch64_classify_vector_mode", "(", "mode", ")", ";", "if", "(", "vec_flags", "&", "VEC_SVE_DATA", ")", "return", "exact_div", "(", "GET_MODE_SIZE", "(", "mode", ")", ",", "aarch64_vl_bytes", "(", "mode", ",", "vec_flags", ")", ")", ".", "to_constant", "(", ")", ";", "return", "CEIL", "(", "lowest_size", ",", "UNITS_PER_VREG", ")", ";", "}", "case", "PR_REGS", ":", "case", "PR_LO_REGS", ":", "case", "PR_HI_REGS", ":", "case", "FFR_REGS", ":", "case", "PR_AND_FFR_REGS", ":", "return", "1", ";", "default", ":", "return", "CEIL", "(", "lowest_size", ",", "UNITS_PER_WORD", ")", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "HARD_REGNO_NREGS", "."], "TS_V_token": ["aarch64", "1"], "File": "aarch64", "Func": "aarch64_hard_regno_nregs", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2069, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmBackend", "::", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "if", "(", "Count", "%", "4", "!=", "0", ")", "return", "false", ";", "uint64_t", "NumNops", "=", "Count", "/", "4", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "!=", "NumNops", ";", "++", "i", ")", "OW", "->", "Write32", "(", "0xd503201f", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["AArch64", "AArch64", "4", "0", "4", "0", "0xd503201f"], "File": "AArch64AsmBackend16", "Func": "writeNopData", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2070, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_frame_set", "(", "rtx", "mem", ",", "rtx", "reg", ")", "{", "rtx", "set", ";", "if", "(", "REGNO", "(", "reg", ")", "==", "GP_REG_FIRST", "+", "31", "&&", "DWARF_FRAME_RETURN_COLUMN", "!=", "GP_REG_FIRST", "+", "31", ")", "reg", "=", "gen_rtx_REG", "(", "GET_MODE", "(", "reg", ")", ",", "DWARF_FRAME_RETURN_COLUMN", ")", ";", "set", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "mem", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "set", ")", "=", "1", ";", "return", "set", ";", "}", ""], "natrual_language": ["Return", "a", "frame-related", "rtx", "that", "stores", "register", "REGNO", "at", "(", "SP", "+", "OFFSET", ")", ".", "The", "expression", "should", "only", "be", "used", "to", "store", "single", "registers", "."], "TS_V_token": ["mips", "31", "31", "1"], "File": "mips3", "Func": "mips_frame_set", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2071, "Length": 65, "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": 2072, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "rs6000_output_load_multiple", "(", "rtx", "operands", "[", "3", "]", ")", "{", "int", "i", ",", "j", ";", "int", "words", "=", "XVECLEN", "(", "operands", "[", "0", "]", ",", "0", ")", ";", "rtx", "xop", "[", "10", "]", ";", "if", "(", "XVECLEN", "(", "operands", "[", "0", "]", ",", "0", ")", "==", "1", ")", "return", "\"lwz %2,0(%1)\"", ";", "for", "(", "i", "=", "0", ";", "i", "<", "words", ";", "i", "++", ")", "if", "(", "refers_to_regno_p", "(", "REGNO", "(", "operands", "[", "2", "]", ")", "+", "i", ",", "operands", "[", "1", "]", ")", ")", "{", "if", "(", "i", "==", "words", "-", "1", ")", "{", "xop", "[", "0", "]", "=", "GEN_INT", "(", "4", "*", "(", "words", "-", "1", ")", ")", ";", "xop", "[", "1", "]", "=", "operands", "[", "1", "]", ";", "xop", "[", "2", "]", "=", "operands", "[", "2", "]", ";", "output_asm_insn", "(", "\"lswi %2,%1,%0\\n\\tlwz %1,%0(%1)\"", ",", "xop", ")", ";", "return", "\"\"", ";", "}", "else", "if", "(", "i", "==", "0", ")", "{", "xop", "[", "0", "]", "=", "GEN_INT", "(", "4", "*", "(", "words", "-", "1", ")", ")", ";", "xop", "[", "1", "]", "=", "operands", "[", "1", "]", ";", "xop", "[", "2", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "REGNO", "(", "operands", "[", "2", "]", ")", "+", "1", ")", ";", "output_asm_insn", "(", "\"addi %1,%1,4\\n\\tlswi %2,%1,%0\\n\\tlwz %1,-4(%1)\"", ",", "xop", ")", ";", "return", "\"\"", ";", "}", "else", "{", "for", "(", "j", "=", "0", ";", "j", "<", "words", ";", "j", "++", ")", "if", "(", "j", "!=", "i", ")", "{", "xop", "[", "0", "]", "=", "GEN_INT", "(", "j", "*", "4", ")", ";", "xop", "[", "1", "]", "=", "operands", "[", "1", "]", ";", "xop", "[", "2", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "REGNO", "(", "operands", "[", "2", "]", ")", "+", "j", ")", ";", "output_asm_insn", "(", "\"lwz %2,%0(%1)\"", ",", "xop", ")", ";", "}", "xop", "[", "0", "]", "=", "GEN_INT", "(", "i", "*", "4", ")", ";", "xop", "[", "1", "]", "=", "operands", "[", "1", "]", ";", "output_asm_insn", "(", "\"lwz %1,%0(%1)\"", ",", "xop", ")", ";", "return", "\"\"", ";", "}", "}", "return", "\"lswi %2,%1,%N0\"", ";", "}", ""], "natrual_language": ["Return", "a", "string", "to", "perform", "a", "load_multiple", "operation", ".", "operands", "[", "0", "]", "is", "the", "vector", ".", "operands", "[", "1", "]", "is", "the", "source", "address", ".", "operands", "[", "2", "]", "is", "the", "first", "destination", "register", "."], "TS_V_token": ["rs6000", "3", "0", "0", "10", "0", "0", "1", "\"lwz %2,0(%1)\"", "0", "2", "1", "1", "0", "4", "1", "1", "1", "2", "2", "\"lswi %2,%1,%0\\n\\tlwz %1,%0(%1)\"", "\"\"", "0", "0", "4", "1", "1", "1", "2", "2", "1", "\"addi %1,%1,4\\n\\tlswi %2,%1,%0\\n\\tlwz %1,-4(%1)\"", "\"\"", "0", "0", "4", "1", "1", "2", "2", "\"lwz %2,%0(%1)\"", "0", "4", "1", "1", "\"lwz %1,%0(%1)\"", "\"\"", "\"lswi %2,%1,%N0\""], "File": "rs60004", "Func": "rs6000_output_load_multiple", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2073, "Length": 318, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "unsigned", "Opcode", "=", "Node", "->", "getOpcode", "(", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "LLVM_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", "\"== \"", "\"\\n\"", "0", "ISD::Constant", "MVT::i32", "Lanai::R0", "MVT::i32", "Lanai::R1", "MVT::i32", "ISD::FrameIndex"], "File": "LanaiISelDAGToDAG12", "Func": "Select", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2074, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "LC3RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "static", "const", "uint16_t", "CalleeSavedRegs", "[", "]", "=", "{", "LC3", "::", "R4", ",", "LC3", "::", "R5", ",", "LC3", "::", "R6", ",", "LC3", "::", "R7", ",", "LC3", "::", "R8", ",", "LC3", "::", "R9", ",", "0", "}", ";", "return", "CalleeSavedRegs", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["LC3", "LC3", "LC3::R4", "LC3::R5", "LC3::R6", "LC3::R7", "LC3::R8", "LC3::R9", "0"], "File": "LC3RegisterInfo", "Func": "getCalleeSavedRegs", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2075, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "vax_expand_prologue", "(", "void", ")", "{", "int", "regno", ",", "offset", ";", "int", "mask", "=", "0", ";", "HOST_WIDE_INT", "size", ";", "rtx", "insn", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "df_regs_ever_live_p", "(", "regno", ")", "&&", "!", "call_used_or_fixed_reg_p", "(", "regno", ")", ")", "mask", "|=", "1", "<<", "regno", ";", "insn", "=", "emit_insn", "(", "gen_procedure_entry_mask", "(", "GEN_INT", "(", "mask", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "vax_add_reg_cfa_offset", "(", "insn", ",", "4", ",", "arg_pointer_rtx", ")", ";", "vax_add_reg_cfa_offset", "(", "insn", ",", "8", ",", "frame_pointer_rtx", ")", ";", "vax_add_reg_cfa_offset", "(", "insn", ",", "12", ",", "pc_rtx", ")", ";", "offset", "=", "16", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "mask", "&", "(", "1", "<<", "regno", ")", ")", "{", "vax_add_reg_cfa_offset", "(", "insn", ",", "offset", ",", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ")", ";", "offset", "+=", "4", ";", "}", "add_reg_note", "(", "insn", ",", "REG_CFA_DEF_CFA", ",", "plus_constant", "(", "Pmode", ",", "frame_pointer_rtx", ",", "offset", ")", ")", ";", "size", "=", "get_frame_size", "(", ")", ";", "size", "-=", "vax_starting_frame_offset", "(", ")", ";", "emit_insn", "(", "gen_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "size", ")", ")", ")", ";", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "the", "assembly", "code", "for", "function", "entry", ".", "FILE", "is", "a", "stdio", "stream", "to", "output", "the", "code", "to", ".", "SIZE", "is", "an", "int", ":", "how", "many", "units", "of", "temporary", "storage", "to", "allocate", ".", "Refer", "to", "the", "array", "`", "regs_ever_live", "'", "to", "determine", "which", "registers", "to", "save", ";", "`", "regs_ever_live", "[", "I", "]", "'", "is", "nonzero", "if", "register", "number", "I", "is", "ever", "used", "in", "the", "function", ".", "This", "function", "is", "responsible", "for", "knowing", "which", "registers", "should", "not", "be", "saved", "even", "if", "used", "."], "TS_V_token": ["vax", "0", "0", "1", "1", "4", "8", "12", "16", "0", "1", "4"], "File": "vax", "Func": "vax_expand_prologue", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2076, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "MipsInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "MipsInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "unsigned", "NewReg", "=", "0", ";", "int", "NewImm", "=", "0", ";", "bool", "ATUsed", "=", "false", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "MachineBasicBlock", "::", "iterator", "I", "=", "MBBI", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "MFI", "->", "getCalleeSavedInfo", "(", ")", ".", "size", "(", ")", ";", "++", "i", ")", "--", "I", ";", "BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "ADDu", ")", ",", "Mips", "::", "SP", ")", ".", "addReg", "(", "Mips", "::", "FP", ")", ".", "addReg", "(", "Mips", "::", "ZERO", ")", ";", "}", "if", "(", "StackSize", ")", "{", "ATUsed", "=", "expandRegLargeImmPair", "(", "Mips", "::", "SP", ",", "StackSize", ",", "NewReg", ",", "NewImm", ",", "MBB", ",", "MBBI", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "ADDiu", ")", ",", "Mips", "::", "SP", ")", ".", "addReg", "(", "NewReg", ")", ".", "addImm", "(", "NewImm", ")", ";", "if", "(", "ATUsed", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "ATMACRO", ")", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "0", "0", "0", "Mips::ADDu", "Mips::SP", "Mips::FP", "Mips::ZERO", "Mips::SP", "Mips::ADDiu", "Mips::SP", "Mips::ATMACRO"], "File": "MipsFrameLowering37", "Func": "emitEpilogue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2077, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "getSqrtEstimate", "(", "SDValue", "Operand", ",", "SelectionDAG", "&", "DAG", ",", "int", "Enabled", ",", "int", "&", "RefinementSteps", ",", "bool", "&", "UseOneConstNR", ",", "bool", "Reciprocal", ")", "const", "{", "EVT", "VT", "=", "Operand", ".", "getValueType", "(", ")", ";", "if", "(", "(", "VT", "==", "MVT", "::", "f32", "&&", "Subtarget", ".", "hasFRSQRTES", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "f64", "&&", "Subtarget", ".", "hasFRSQRTE", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "v4f32", "&&", "Subtarget", ".", "hasAltivec", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "v2f64", "&&", "Subtarget", ".", "hasVSX", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "v4f32", "&&", "Subtarget", ".", "hasQPX", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "v4f64", "&&", "Subtarget", ".", "hasQPX", "(", ")", ")", ")", "{", "if", "(", "RefinementSteps", "==", "ReciprocalEstimate", "::", "Unspecified", ")", "RefinementSteps", "=", "getEstimateRefinementSteps", "(", "VT", ",", "Subtarget", ")", ";", "UseOneConstNR", "=", "!", "Subtarget", ".", "needsTwoConstNR", "(", ")", ";", "return", "DAG", ".", "getNode", "(", "PPCISD", "::", "FRSQRTE", ",", "SDLoc", "(", "Operand", ")", ",", "VT", ",", "Operand", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Hooks", "for", "building", "estimates", "in", "place", "of", "slower", "divisions", "and", "square", "roots", "."], "TS_V_token": ["PowerPC", "PPC", "MVT::f32", "MVT::f64", "MVT::v4f32", "MVT::v2f64", "MVT::v4f32", "MVT::v4f64", "PPCISD::FRSQRTE"], "File": "PPCISelLowering101", "Func": "getSqrtEstimate", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2078, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "ARMBaseRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "ARMSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "const", "ARMFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "SP", ")", ";", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "PC", ")", ";", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "FPSCR", ")", ";", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "APSR_NZCV", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "getFramePointerReg", "(", "STI", ")", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "BasePtr", ")", ";", "if", "(", "STI", ".", "isR9Reserved", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "R9", ")", ";", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "isPagerando", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "R9", ")", ";", "if", "(", "!", "STI", ".", "hasVFP3", "(", ")", "||", "STI", ".", "hasD16", "(", ")", ")", "{", "static_assert", "(", "ARM", "::", "D31", "==", "ARM", "::", "D16", "+", "15", ",", "\"Register list not consecutive!\"", ")", ";", "for", "(", "unsigned", "R", "=", "0", ";", "R", "<", "16", ";", "++", "R", ")", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "D16", "+", "R", ")", ";", "}", "const", "TargetRegisterClass", "&", "RC", "=", "ARM", "::", "GPRPairRegClass", ";", "for", "(", "unsigned", "Reg", ":", "RC", ")", "for", "(", "MCSubRegIterator", "SI", "(", "Reg", ",", "this", ")", ";", "SI", ".", "isValid", "(", ")", ";", "++", "SI", ")", "if", "(", "Reserved", ".", "test", "(", "*", "SI", ")", ")", "markSuperRegs", "(", "Reserved", ",", "Reg", ")", ";", "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": ["ARM", "ARM", "ARM", "ARM", "ARM", "ARM::SP", "ARM::PC", "ARM::FPSCR", "ARM::APSR_NZCV", "ARM::R9", "ARM::R9", "ARM::D31", "ARM::D16", "15", "\"Register list not consecutive!\"", "0", "16", "ARM::D16", "ARM::GPRPairRegClass"], "File": "ARMBaseRegisterInfo4", "Func": "getReservedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2079, "Length": 272, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMem", "(", ")", "const", "override", "{", "return", "isMemImm", "(", ")", "||", "isMemRegImm", "(", ")", "||", "isMemRegReg", "(", ")", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["DLX"], "File": "DLXAsmParser", "Func": "isMem", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2080, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "Mips16InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "Mips16InstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "!", "StackSize", ")", "return", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "Move32R16", ")", ",", "Mips", "::", "SP", ")", ".", "addReg", "(", "Mips", "::", "S0", ")", ";", "TII", ".", "restoreFrame", "(", "Mips", "::", "SP", ",", "StackSize", ",", "MBB", ",", "MBBI", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips::Move32R16", "Mips::SP", "Mips::S0", "Mips::SP"], "File": "Mips16FrameLowering10", "Func": "emitEpilogue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2081, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "pa_eh_return_handler_rtx", "(", "void", ")", "{", "rtx", "tmp", ";", "tmp", "=", "gen_rtx_PLUS", "(", "word_mode", ",", "hard_frame_pointer_rtx", ",", "TARGET_64BIT", "?", "GEN_INT", "(", "-", "16", ")", ":", "GEN_INT", "(", "-", "20", ")", ")", ";", "tmp", "=", "gen_rtx_MEM", "(", "word_mode", ",", "tmp", ")", ";", "tmp", "->", "volatil", "=", "1", ";", "return", "tmp", ";", "}", ""], "natrual_language": ["Implement", "EH_RETURN_HANDLER_RTX", ".", "The", "MEM", "needs", "to", "be", "volatile", "to", "prevent", "it", "from", "being", "deleted", "."], "TS_V_token": ["pa", "16", "20", "1"], "File": "pa", "Func": "pa_eh_return_handler_rtx", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2082, "Length": 51, "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": 2083, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getFirstTerminator", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "Mips16InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "Mips16InstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "!", "StackSize", ")", "return", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "Move32R16", ")", ",", "Mips", "::", "SP", ")", ".", "addReg", "(", "Mips", "::", "S0", ")", ";", "TII", ".", "restoreFrame", "(", "Mips", "::", "SP", ",", "StackSize", ",", "MBB", ",", "MBBI", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips::Move32R16", "Mips::SP", "Mips::S0", "Mips::SP"], "File": "Mips16FrameLowering12", "Func": "emitEpilogue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2084, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64TargetLowering", "::", "isLegalAddressingMode", "(", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ")", "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", "=", "getDataLayout", "(", ")", "->", "getTypeSizeInBits", "(", "Ty", ")", ";", "NumBytes", "=", "NumBits", "/", "8", ";", "if", "(", "!", "isPowerOf2_64", "(", "NumBits", ")", ")", "NumBytes", "=", "0", ";", "}", "if", "(", "!", "AM", ".", "Scale", ")", "{", "int64_t", "Offset", "=", "AM", ".", "BaseOffs", ";", "if", "(", "Offset", ">=", "-", "(", "1LL", "<<", "9", ")", "&&", "Offset", "<=", "(", "1LL", "<<", "9", ")", "-", "1", ")", "return", "true", ";", "unsigned", "shift", "=", "Log2_64", "(", "NumBytes", ")", ";", "if", "(", "NumBytes", "&&", "Offset", ">", "0", "&&", "(", "Offset", "/", "NumBytes", ")", "<=", "(", "1LL", "<<", "12", ")", "-", "1", "&&", "(", "Offset", ">>", "shift", ")", "<<", "shift", "==", "Offset", ")", "return", "true", ";", "return", "false", ";", "}", "if", "(", "!", "AM", ".", "Scale", "||", "AM", ".", "Scale", "==", "1", "||", "(", "AM", ".", "Scale", ">", "0", "&&", "(", "uint64_t", ")", "AM", ".", "Scale", "==", "NumBytes", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "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": ["ARM64", "ARM64", "0", "8", "0", "1LL", "9", "1LL", "9", "1", "0", "1LL", "12", "1", "1", "0"], "File": "ARM64ISelLowering", "Func": "isLegalAddressingMode", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2085, "Length": 210, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "areJTsAllowed", "(", "const", "Function", "*", "Fn", ")", "const", "{", "if", "(", "Subtarget", ".", "useRetpolineIndirectBranches", "(", ")", ")", "return", "false", ";", "return", "TargetLowering", "::", "areJTsAllowed", "(", "Fn", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "lowering", "to", "a", "jump", "table", "is", "allowed", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering (2)6", "Func": "areJTsAllowed", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2086, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcTargetMachine", "::", "SparcTargetMachine", "(", "const", "Target", "&", "T", ",", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "is64bit", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ")", ",", "Subtarget", "(", "TT", ",", "FS", ",", "is64bit", ")", ",", "DataLayout", "(", "Subtarget", ".", "getDataLayout", "(", ")", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "InstrInfo", "(", "Subtarget", ")", ",", "FrameInfo", "(", "TargetFrameInfo", "::", "StackGrowsDown", ",", "8", ",", "0", ")", "{", "}", ""], "natrual_language": ["Create", "an", "ILP32", "architecture", "model", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "8", "0"], "File": "SparcTargetMachine12", "Func": "SparcTargetMachine", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2087, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_evpc_neon_vtrn", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "int", "i", ",", "odd", ",", "mask", ",", "nelt", "=", "d", "->", "perm", ".", "length", "(", ")", ";", "rtx", "out0", ",", "out1", ",", "in0", ",", "in1", ";", "if", "(", "GET_MODE_UNIT_SIZE", "(", "d", "->", "vmode", ")", ">=", "8", ")", "return", "false", ";", "if", "(", "d", "->", "perm", "[", "0", "]", "==", "0", ")", "odd", "=", "0", ";", "else", "if", "(", "d", "->", "perm", "[", "0", "]", "==", "1", ")", "odd", "=", "1", ";", "else", "return", "false", ";", "mask", "=", "(", "d", "->", "one_vector_p", "?", "nelt", "-", "1", ":", "2", "*", "nelt", "-", "1", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "i", "+=", "2", ")", "{", "if", "(", "d", "->", "perm", "[", "i", "]", "!=", "i", "+", "odd", ")", "return", "false", ";", "if", "(", "d", "->", "perm", "[", "i", "+", "1", "]", "!=", "(", "(", "i", "+", "nelt", "+", "odd", ")", "&", "mask", ")", ")", "return", "false", ";", "}", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "in0", "=", "d", "->", "op0", ";", "in1", "=", "d", "->", "op1", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "{", "std", "::", "swap", "(", "in0", ",", "in1", ")", ";", "odd", "=", "!", "odd", ";", "}", "out0", "=", "d", "->", "target", ";", "out1", "=", "gen_reg_rtx", "(", "d", "->", "vmode", ")", ";", "if", "(", "odd", ")", "std", "::", "swap", "(", "out0", ",", "out1", ")", ";", "emit_insn", "(", "gen_neon_vtrn_internal", "(", "d", "->", "vmode", ",", "out0", ",", "in0", ",", "in1", ",", "out1", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "for", "the", "VTRN", "insns", "."], "TS_V_token": ["arm", "8", "0", "0", "0", "0", "1", "1", "1", "2", "1", "0", "2", "1"], "File": "arm", "Func": "arm_evpc_neon_vtrn", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2088, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86IntelInstPrinter", "::", "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\"", ";", "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"], "File": "X86IntelInstPrinter (2)", "Func": "printInst", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2089, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "PredicateInstruction", "(", "MachineInstr", "*", "MI", ",", "ArrayRef", "<", "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": "SystemZInstrInfo", "Func": "PredicateInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2090, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCSchedClassDesc", "*", "getSchedClass", "(", "SUnit", "*", "SU", ")", "const", "{", "if", "(", "!", "SU", "->", "SchedClass", "&&", "SchedModel", "->", "hasInstrSchedModel", "(", ")", ")", "SU", "->", "SchedClass", "=", "SchedModel", "->", "resolveSchedClass", "(", "SU", "->", "getInstr", "(", ")", ")", ";", "return", "SU", "->", "SchedClass", ";", "}", ""], "natrual_language": ["Resolves", "and", "cache", "a", "resolved", "scheduling", "class", "for", "an", "SUnit", "."], "TS_V_token": ["SystemZ"], "File": "SystemZHazardRecognizer", "Func": "getSchedClass", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2091, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_return_in_memory", "(", "const_tree", "type", ",", "const_tree", "fntype", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_ARCH32", ")", "return", "(", "TYPE_MODE", "(", "type", ")", "==", "BLKmode", "||", "TYPE_MODE", "(", "type", ")", "==", "TFmode", "||", "(", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", "&&", "(", "unsigned", "HOST_WIDE_INT", ")", "int_size_in_bytes", "(", "type", ")", ">", "8", ")", ")", ";", "else", "return", "(", "TYPE_MODE", "(", "type", ")", "==", "BLKmode", "&&", "(", "unsigned", "HOST_WIDE_INT", ")", "int_size_in_bytes", "(", "type", ")", ">", "32", ")", ";", "}", ""], "natrual_language": ["Handle", "the", "TARGET_RETURN_IN_MEMORY", "target", "hook", ".", "Specify", "whether", "to", "return", "the", "return", "value", "in", "memory", "."], "TS_V_token": ["sparc", "8", "32"], "File": "sparc", "Func": "sparc_return_in_memory", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2092, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "handle_aarch64_vector_pcs_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", ",", "int", ",", "bool", "*", "no_add_attrs", ")", "{", "gcc_assert", "(", "FUNC_OR_METHOD_TYPE_P", "(", "*", "node", ")", ")", ";", "switch", "(", "(", "arm_pcs", ")", "fntype_abi", "(", "*", "node", ")", ".", "id", "(", ")", ")", "{", "case", "ARM_PCS_AAPCS64", ":", "case", "ARM_PCS_SIMD", ":", "return", "NULL_TREE", ";", "case", "ARM_PCS_SVE", ":", "error", "(", "\"the %qE attribute cannot be applied to an SVE function type\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "return", "NULL_TREE", ";", "case", "ARM_PCS_TLSDESC", ":", "case", "ARM_PCS_UNKNOWN", ":", "break", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Check", "whether", "an", "'aarch64_vector_pcs", "'", "attribute", "is", "valid", "."], "TS_V_token": ["aarch64", "\"the %qE attribute cannot be applied to an SVE function type\""], "File": "aarch64", "Func": "handle_aarch64_vector_pcs_attribute", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2093, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_handle_attr_arch", "(", "const", "char", "*", "str", ",", "const", "char", "*", "pragma_or_attr", ")", "{", "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 architecture name in 'arch' target %s\"", ",", "pragma_or_attr", ")", ";", "break", ";", "case", "AARCH64_PARSE_INVALID_ARG", ":", "error", "(", "\"unknown value %qs for 'arch' target %s\"", ",", "str", ",", "pragma_or_attr", ")", ";", "aarch64_print_hint_for_arch", "(", "str", ")", ";", "break", ";", "case", "AARCH64_PARSE_INVALID_FEATURE", ":", "error", "(", "\"invalid feature modifier %qs for 'arch' target %s\"", ",", "str", ",", "pragma_or_attr", ")", ";", "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 architecture name in 'arch' target %s\"", "\"unknown value %qs for 'arch' target %s\"", "\"invalid feature modifier %qs for 'arch' target %s\""], "File": "aarch644", "Func": "aarch64_handle_attr_arch", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2094, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "detect_processor_aix", "(", "void", ")", "{", "switch", "(", "_system_configuration", ".", "implementation", ")", "{", "case", "0x0008", ":", "return", "\"601\"", ";", "case", "0x0020", ":", "return", "\"603\"", ";", "case", "0x0010", ":", "return", "\"604\"", ";", "case", "0x0040", ":", "return", "\"620\"", ";", "case", "0x0080", ":", "return", "\"630\"", ";", "case", "0x0100", ":", "case", "0x0200", ":", "case", "0x0400", ":", "return", "\"rs64\"", ";", "case", "0x0800", ":", "return", "\"power4\"", ";", "case", "0x2000", ":", "if", "(", "_system_configuration", ".", "version", "==", "0x0F0000", ")", "return", "\"power5\"", ";", "else", "return", "\"power5+\"", ";", "case", "0x4000", ":", "return", "\"power6\"", ";", "case", "0x8000", ":", "return", "\"power7\"", ";", "case", "0x10000", ":", "return", "\"power8\"", ";", "case", "0x20000", ":", "return", "\"power9\"", ";", "default", ":", "return", "\"powerpc\"", ";", "}", "}", ""], "natrual_language": ["Returns", "the", "processor", "implementation", "on", "AIX", "."], "TS_V_token": ["powerpcspe", "0x0008", "\"601\"", "0x0020", "\"603\"", "0x0010", "\"604\"", "0x0040", "\"620\"", "0x0080", "\"630\"", "0x0100", "0x0200", "0x0400", "\"rs64\"", "0x0800", "\"power4\"", "0x2000", "0x0F0000", "\"power5\"", "\"power5+\"", "0x4000", "\"power6\"", "0x8000", "\"power7\"", "0x10000", "\"power8\"", "0x20000", "\"power9\"", "\"powerpc\""], "File": "driver-powerpcspe", "Func": "detect_processor_aix", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2095, "Length": 113, "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", "::", "EXTRACT_VECTOR_ELT", ":", "return", "PerformEXTRACT_VECTOR_ELTCombine", "(", "N", ",", "DAG", ",", "*", "this", ")", ";", "case", "ISD", "::", "VSELECT", ":", "case", "ISD", "::", "SELECT", ":", "return", "PerformSELECTCombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "case", "X86ISD", "::", "CMOV", ":", "return", "PerformCMOVCombine", "(", "N", ",", "DAG", ",", "DCI", ")", ";", "case", "ISD", "::", "ADD", ":", "return", "PerformAddCombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SUB", ":", "return", "PerformSubCombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "case", "X86ISD", "::", "ADC", ":", "return", "PerformADCCombine", "(", "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", "::", "AND", ":", "return", "PerformAndCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "OR", ":", "return", "PerformOrCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "XOR", ":", "return", "PerformXorCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "PerformLOADCombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "PerformSTORECombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SINT_TO_FP", ":", "return", "PerformSINT_TO_FPCombine", "(", "N", ",", "DAG", ",", "this", ")", ";", "case", "ISD", "::", "FADD", ":", "return", "PerformFADDCombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "FSUB", ":", "return", "PerformFSUBCombine", "(", "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", "::", "ZERO_EXTEND", ":", "return", "PerformZExtCombine", "(", "N", ",", "DAG", ")", ";", "case", "X86ISD", "::", "SETCC", ":", "return", "PerformSETCCCombine", "(", "N", ",", "DAG", ")", ";", "case", "X86ISD", "::", "SHUFPS", ":", "case", "X86ISD", "::", "SHUFPD", ":", "case", "X86ISD", "::", "PALIGN", ":", "case", "X86ISD", "::", "PUNPCKH", ":", "case", "X86ISD", "::", "UNPCKHP", ":", "case", "X86ISD", "::", "PUNPCKL", ":", "case", "X86ISD", "::", "UNPCKLP", ":", "case", "X86ISD", "::", "MOVHLPS", ":", "case", "X86ISD", "::", "MOVLHPS", ":", "case", "X86ISD", "::", "PSHUFD", ":", "case", "X86ISD", "::", "PSHUFHW", ":", "case", "X86ISD", "::", "PSHUFLW", ":", "case", "X86ISD", "::", "MOVSS", ":", "case", "X86ISD", "::", "MOVSD", ":", "case", "X86ISD", "::", "VPERMILP", ":", "case", "X86ISD", "::", "VPERM2X128", ":", "case", "ISD", "::", "VECTOR_SHUFFLE", ":", "return", "PerformShuffleCombine", "(", "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": ["X86", "X86", "ISD::EXTRACT_VECTOR_ELT", "ISD::VSELECT", "ISD::SELECT", "X86ISD::CMOV", "ISD::ADD", "ISD::SUB", "X86ISD::ADC", "ISD::MUL", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::AND", "ISD::OR", "ISD::XOR", "ISD::LOAD", "ISD::STORE", "ISD::SINT_TO_FP", "ISD::FADD", "ISD::FSUB", "X86ISD::FXOR", "X86ISD::FOR", "X86ISD::FAND", "X86ISD::BT", "X86ISD::VZEXT_MOVL", "ISD::ZERO_EXTEND", "X86ISD::SETCC", "X86ISD::SHUFPS", "X86ISD::SHUFPD", "X86ISD::PALIGN", "X86ISD::PUNPCKH", "X86ISD::UNPCKHP", "X86ISD::PUNPCKL", "X86ISD::UNPCKLP", "X86ISD::MOVHLPS", "X86ISD::MOVLHPS", "X86ISD::PSHUFD", "X86ISD::PSHUFHW", "X86ISD::PSHUFLW", "X86ISD::MOVSS", "X86ISD::MOVSD", "X86ISD::VPERMILP", "X86ISD::VPERM2X128", "ISD::VECTOR_SHUFFLE"], "File": "X86ISelLowering198", "Func": "PerformDAGCombine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2096, "Length": 487, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FastISel", "::", "isTypeLegal", "(", "const", "Type", "*", "Ty", ",", "MVT", "&", "VT", ",", "bool", "AllowI1", ")", "{", "VT", "=", "TLI", ".", "getValueType", "(", "Ty", ",", "true", ")", ";", "if", "(", "VT", "==", "MVT", "::", "Other", "||", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "if", "(", "VT", "==", "MVT", "::", "f64", "&&", "!", "X86ScalarSSEf64", ")", "return", "false", ";", "if", "(", "VT", "==", "MVT", "::", "f32", "&&", "!", "X86ScalarSSEf32", ")", "return", "false", ";", "if", "(", "VT", "==", "MVT", "::", "f80", ")", "return", "false", ";", "return", "(", "AllowI1", "&&", "VT", "==", "MVT", "::", "i1", ")", "||", "TLI", ".", "isTypeLegal", "(", "VT", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "type", "is", "legal", "."], "TS_V_token": ["X86", "X86", "MVT::Other", "MVT::f64", "X86", "MVT::f32", "X86", "MVT::f80", "MVT::i1"], "File": "X86FastISel41", "Func": "isTypeLegal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2097, "Length": 105, "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": 2098, "Length": 25, "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": 2099, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "AsmVariant", ")", "{", "printIntelMemReference", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "}", "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'", ":", "printMemReference", "(", "MI", ",", "OpNo", ",", "O", ",", "\"H\"", ")", ";", "return", "false", ";", "case", "'P'", ":", "printMemReference", "(", "MI", ",", "OpNo", ",", "O", ",", "\"no-rip\"", ")", ";", "return", "false", ";", "}", "}", "printMemReference", "(", "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": ["X86", "X86", "0", "1", "0", "0", "\"H\"", "\"no-rip\""], "File": "X86AsmPrinter101", "Func": "PrintAsmMemoryOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2100, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetMachine", "::", "addPreEmitPass", "(", "PassManagerBase", "&", "PM", ",", "bool", "Fast", ")", "{", "if", "(", "!", "Fast", "&&", "!", "DisableLdStOpti", "&&", "!", "Subtarget", ".", "isThumb", "(", ")", ")", "PM", ".", "add", "(", "createARMLoadStoreOptimizationPass", "(", ")", ")", ";", "if", "(", "!", "Fast", "&&", "!", "DisableIfConversion", "&&", "!", "Subtarget", ".", "isThumb", "(", ")", ")", "PM", ".", "add", "(", "createIfConverterPass", "(", ")", ")", ";", "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", "ARM"], "File": "ARMTargetMachine68", "Func": "addPreEmitPass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2101, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "aarch64_next_callee_save", "(", "unsigned", "regno", ",", "unsigned", "limit", ")", "{", "while", "(", "regno", "<=", "limit", "&&", "!", "aarch64_register_saved_on_entry", "(", "regno", ")", ")", "regno", "++", ";", "return", "regno", ";", "}", ""], "natrual_language": ["Return", "the", "next", "register", "up", "from", "REGNO", "up", "to", "LIMIT", "for", "the", "callee", "to", "save", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_next_callee_save", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2102, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "canSimplifyCallFramePseudos", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "hasReservedCallFrame", "(", "MF", ")", "||", "(", "hasFP", "(", "MF", ")", "&&", "!", "TRI", "->", "needsStackRealignment", "(", "MF", ")", ")", "||", "TRI", "->", "hasBasePointer", "(", "MF", ")", ";", "}", ""], "natrual_language": ["canSimplifyCallFramePseudos", "-", "If", "there", "is", "a", "reserved", "call", "frame", ",", "the", "call", "frame", "pseudos", "can", "be", "simplified", "."], "TS_V_token": ["X86", "X86"], "File": "X86FrameLowering (2)2", "Func": "canSimplifyCallFramePseudos", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2103, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "iq2000_select_section", "(", "tree", "decl", ",", "int", "reloc", "ATTRIBUTE_UNUSED", ",", "unsigned", "HOST_WIDE_INT", "align", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_EMBEDDED_DATA", ")", "{", "if", "(", "(", "TREE_CODE", "(", "decl", ")", "==", "VAR_DECL", "&&", "TREE_READONLY", "(", "decl", ")", "&&", "!", "TREE_SIDE_EFFECTS", "(", "decl", ")", "&&", "DECL_INITIAL", "(", "decl", ")", "&&", "(", "DECL_INITIAL", "(", "decl", ")", "==", "error_mark_node", "||", "TREE_CONSTANT", "(", "DECL_INITIAL", "(", "decl", ")", ")", ")", ")", "||", "TREE_CODE", "(", "decl", ")", "!=", "VAR_DECL", ")", "readonly_data_section", "(", ")", ";", "else", "data_section", "(", ")", ";", "}", "else", "{", "if", "(", "(", "TREE_CODE", "(", "decl", ")", "==", "VAR_DECL", "&&", "TREE_READONLY", "(", "decl", ")", "&&", "!", "TREE_SIDE_EFFECTS", "(", "decl", ")", "&&", "DECL_INITIAL", "(", "decl", ")", "&&", "(", "DECL_INITIAL", "(", "decl", ")", "==", "error_mark_node", "||", "TREE_CONSTANT", "(", "DECL_INITIAL", "(", "decl", ")", ")", ")", ")", "||", "TREE_CODE", "(", "decl", ")", "!=", "VAR_DECL", ")", "readonly_data_section", "(", ")", ";", "else", "data_section", "(", ")", ";", "}", "}", ""], "natrual_language": ["Choose", "the", "section", "to", "use", "for", "DECL", ".", "RELOC", "is", "true", "if", "its", "value", "contains", "any", "relocatable", "expression", ".", "Some", "of", "the", "logic", "used", "here", "needs", "to", "be", "replicated", "in", "ENCODE_SECTION_INFO", "in", "iq2000.h", "so", "that", "references", "to", "these", "symbols", "are", "done", "correctly", "."], "TS_V_token": ["iq2000"], "File": "iq20002", "Func": "iq2000_select_section", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2104, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "expand_vec_perm_vpermi2_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", "will", "2", "vpermi2w", ",", "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": "i3864", "Func": "expand_vec_perm_vpermi2_vpshub2", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2105, "Length": 461, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1FrameLowering", "::", "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", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "bool", "isVarArg", "=", "AFI", "->", "getVarArgsRegSaveSize", "(", ")", ">", "0", ";", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "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", "(", "TII", ".", "get", "(", "ARM", "::", "tPOP_RET", ")", ")", ";", "MIB", ".", "copyImplicitOps", "(", "&", "*", "MI", ")", ";", "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": "Thumb1FrameLowering", "Func": "restoreCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2106, "Length": 265, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86GenInstrInfo", "::", "MachineOutlinerInstrType", "X86InstrInfo", "::", "getOutliningType", "(", "MachineBasicBlock", "::", "iterator", "&", "MIT", ",", "unsigned", "Flags", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "MIT", ";", "if", "(", "MI", ".", "isDebugInstr", "(", ")", "||", "MI", ".", "isIndirectDebugValue", "(", ")", ")", "return", "MachineOutlinerInstrType", "::", "Invisible", ";", "if", "(", "MI", ".", "isKill", "(", ")", ")", "return", "MachineOutlinerInstrType", "::", "Invisible", ";", "if", "(", "isTailCall", "(", "MI", ")", ")", "return", "MachineOutlinerInstrType", "::", "Legal", ";", "if", "(", "MI", ".", "isTerminator", "(", ")", "||", "MI", ".", "isReturn", "(", ")", ")", "{", "if", "(", "MI", ".", "getParent", "(", ")", "->", "succ_empty", "(", ")", ")", "return", "MachineOutlinerInstrType", "::", "Legal", ";", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "}", "if", "(", "MI", ".", "modifiesRegister", "(", "X86", "::", "RSP", ",", "&", "RI", ")", "||", "MI", ".", "readsRegister", "(", "X86", "::", "RSP", ",", "&", "RI", ")", "||", "MI", ".", "getDesc", "(", ")", ".", "hasImplicitUseOfPhysReg", "(", "X86", "::", "RSP", ")", "||", "MI", ".", "getDesc", "(", ")", ".", "hasImplicitDefOfPhysReg", "(", "X86", "::", "RSP", ")", ")", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "if", "(", "MI", ".", "readsRegister", "(", "X86", "::", "RIP", ",", "&", "RI", ")", "||", "MI", ".", "getDesc", "(", ")", ".", "hasImplicitUseOfPhysReg", "(", "X86", "::", "RIP", ")", "||", "MI", ".", "getDesc", "(", ")", ".", "hasImplicitDefOfPhysReg", "(", "X86", "::", "RIP", ")", ")", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "if", "(", "MI", ".", "isPosition", "(", ")", ")", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "for", "(", "const", "MachineOperand", "&", "MOP", ":", "MI", ".", "operands", "(", ")", ")", "if", "(", "MOP", ".", "isCPI", "(", ")", "||", "MOP", ".", "isJTI", "(", ")", "||", "MOP", ".", "isCFIIndex", "(", ")", "||", "MOP", ".", "isFI", "(", ")", "||", "MOP", ".", "isTargetIndex", "(", ")", ")", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "return", "MachineOutlinerInstrType", "::", "Legal", ";", "}", ""], "natrual_language": ["Returns", "how", "or", "if", "MIT", "should", "be", "outlined", "."], "TS_V_token": ["X86", "X86", "X86", "X86::RSP", "X86::RSP", "X86::RSP", "X86::RSP", "X86::RIP", "X86::RIP", "X86::RIP"], "File": "X86InstrInfo42", "Func": "getOutliningType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2107, "Length": 278, "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", "::", "Cold", ":", "if", "(", "Is64Bit", ")", "return", "CSR_64_MostRegs_RegMask", ";", "break", ";", "case", "CallingConv", "::", "X86_64_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", ")", "{", "if", "(", "IsWin64", ")", "return", "CSR_Win64_RegMask", ";", "if", "(", "Subtarget", ".", "getTargetLowering", "(", ")", "->", "supportSwiftError", "(", ")", "&&", "MF", ".", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ".", "hasAttrSomewhere", "(", "Attribute", "::", "SwiftError", ")", ")", "return", "CSR_64_SwiftError_RegMask", ";", "return", "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", "X86", "X86", "X86"], "File": "X86RegisterInfo100", "Func": "getCallPreservedMask", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2108, "Length": 395, "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": ["DLX"], "File": "DLXSubtarget", "Func": "enableMachineScheduler", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2109, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "loongarch_split_const_insns", "(", "rtx", "x", ")", "{", "unsigned", "int", "low", ",", "high", ";", "low", "=", "loongarch_const_insns", "(", "loongarch_subword", "(", "x", ",", "false", ")", ")", ";", "high", "=", "loongarch_const_insns", "(", "loongarch_subword", "(", "x", ",", "true", ")", ")", ";", "gcc_assert", "(", "low", ">", "0", "&&", "high", ">", "0", ")", ";", "return", "low", "+", "high", ";", "}", ""], "natrual_language": ["X", "is", "a", "doubleword", "constant", "that", "can", "be", "handled", "by", "splitting", "it", "into", "two", "words", "and", "loading", "each", "word", "separately", ".", "Return", "the", "number", "of", "instructions", "required", "to", "do", "this", "."], "TS_V_token": ["loongarch", "0", "0"], "File": "loongarch", "Func": "loongarch_split_const_insns", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2110, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "mips_output_sync", "(", "void", ")", "{", "mips_start_ll_sc_sync_block", "(", ")", ";", "output_asm_insn", "(", "\"sync\"", ",", "0", ")", ";", "mips_end_ll_sc_sync_block", "(", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "and/or", "return", "the", "asm", "template", "for", "a", "sync", "instruction", "."], "TS_V_token": ["mips", "\"sync\"", "0", "\"\""], "File": "mips", "Func": "mips_output_sync", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2111, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "SystemZDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "CS", ")", "const", "{", "Size", "=", "0", ";", "if", "(", "Bytes", ".", "size", "(", ")", "<", "2", ")", "return", "MCDisassembler", "::", "Fail", ";", "const", "uint8_t", "*", "Table", ";", "if", "(", "Bytes", "[", "0", "]", "<", "0x40", ")", "{", "Size", "=", "2", ";", "Table", "=", "DecoderTable16", ";", "}", "else", "if", "(", "Bytes", "[", "0", "]", "<", "0xc0", ")", "{", "Size", "=", "4", ";", "Table", "=", "DecoderTable32", ";", "}", "else", "{", "Size", "=", "6", ";", "Table", "=", "DecoderTable48", ";", "}", "if", "(", "Bytes", ".", "size", "(", ")", "<", "Size", ")", "{", "Size", "=", "Bytes", ".", "size", "(", ")", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "uint64_t", "Inst", "=", "0", ";", "for", "(", "uint64_t", "I", "=", "0", ";", "I", "<", "Size", ";", "++", "I", ")", "Inst", "=", "(", "Inst", "<<", "8", ")", "|", "Bytes", "[", "I", "]", ";", "return", "decodeInstruction", "(", "Table", ",", "MI", ",", "Inst", ",", "Address", ",", "this", ",", "STI", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "2", "0", "0x40", "2", "0", "0xc0", "4", "6", "0", "0", "8"], "File": "SystemZDisassembler11", "Func": "getInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2112, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isPPC64", "(", ")", "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": "PPCTargetMachine36", "Func": "isPPC64", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2113, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MMIXSubtarget", "&", "MMIXSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "std", "::", "string", "CPUName", "=", "CPU", ";", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", "=", "\"generic-mmix\"", ";", "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": ["MMIX", "MMIX", "MMIX", "\"generic-mmix\""], "File": "MMIXSubtarget", "Func": "initializeSubtargetDependencies", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2114, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZFrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "std", "::", "vector", "<", "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", ")", ";", "}", "unsigned", "LowGPR", "=", "ZFI", "->", "getLowSavedGPR", "(", ")", ";", "unsigned", "HighGPR", "=", "ZFI", "->", "getHighSavedGPR", "(", ")", ";", "unsigned", "StartOffset", "=", "RegSpillOffsets", "[", "LowGPR", "]", ";", "if", "(", "LowGPR", ")", "{", "assert", "(", "LowGPR", "!=", "HighGPR", "&&", "\"Should be loading %r15 and something else\"", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "SystemZ", "::", "LMG", ")", ")", ";", "MIB", ".", "addReg", "(", "LowGPR", ",", "RegState", "::", "Define", ")", ";", "MIB", ".", "addReg", "(", "HighGPR", ",", "RegState", "::", "Define", ")", ";", "MIB", ".", "addReg", "(", "HasFP", "?", "SystemZ", "::", "R11D", ":", "SystemZ", "::", "R15D", ")", ";", "MIB", ".", "addImm", "(", "StartOffset", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "CSI", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "I", "]", ".", "getReg", "(", ")", ";", "if", "(", "Reg", "!=", "LowGPR", "&&", "Reg", "!=", "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", "\"Should be loading %r15 and something else\"", "SystemZ::LMG", "SystemZ::R11D", "SystemZ::R15D", "0", "SystemZ::GR64BitRegClass"], "File": "SystemZFrameLowering31", "Func": "restoreCalleeSavedRegisters", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2115, "Length": 359, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Emitter", "<", "CodeEmitter", ">", "::", "emitInstruction", "(", "const", "MachineInstr", "&", "MI", ")", "{", "DOUT", "<<", "\"JIT: \"", "<<", "(", "void", "*", ")", "MCE", ".", "getCurrentPCValue", "(", ")", "<<", "\":\\t\"", "<<", "MI", ";", "MCE", ".", "processDebugLoc", "(", "MI", ".", "getDebugLoc", "(", ")", ")", ";", "NumEmitted", "++", ";", "switch", "(", "MI", ".", "getDesc", "(", ")", ".", "TSFlags", "&", "ARMII", "::", "FormMask", ")", "{", "default", ":", "{", "llvm_unreachable", "(", "\"Unhandled instruction encoding format!\"", ")", ";", "break", ";", "}", "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", "::", "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", ";", "}", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["ARM", "\"JIT: \"", "\":\\t\"", "ARMII::FormMask", "\"Unhandled instruction encoding format!\"", "ARMII::Pseudo", "ARMII::DPFrm", "ARMII::DPSoRegFrm", "ARMII::LdFrm", "ARMII::StFrm", "ARMII::LdMiscFrm", "ARMII::StMiscFrm", "ARMII::LdStMulFrm", "ARMII::MulFrm", "ARMII::ExtFrm", "ARMII::ArithMiscFrm", "ARMII::BrFrm", "ARMII::BrMiscFrm", "ARMII::VFPUnaryFrm", "ARMII::VFPBinaryFrm", "ARMII::VFPConv1Frm", "ARMII::VFPConv2Frm", "ARMII::VFPConv3Frm", "ARMII::VFPConv4Frm", "ARMII::VFPConv5Frm", "ARMII::VFPLdStFrm", "ARMII::VFPLdStMulFrm", "ARMII::VFPMiscFrm"], "File": "ARMCodeEmitter11", "Func": "emitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2116, "Length": 294, "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_or_fixed_reg_p", "(", "i", ")", ")", "clobs", "[", "nclobs", "++", "]", "=", "gen_hard_reg_clobber", "(", "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": "rs6000-logue", "Func": "generate_set_vrsave", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2117, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0TargetObjectFile", "::", "IsGlobalInSmallSection", "(", "const", "GlobalObject", "*", "GO", ",", "const", "TargetMachine", "&", "TM", ",", "SectionKind", "Kind", ")", "const", "{", "return", "IsGlobalInSmallSectionImpl", "(", "GO", ",", "TM", ")", "&&", "(", "Kind", ".", "isData", "(", ")", "||", "Kind", ".", "isBSS", "(", ")", "||", "Kind", ".", "isCommon", "(", ")", "||", "Kind", ".", "isReadOnly", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "global", "address", "should", "be", "placed", "into", "small", "data/bss", "section", "."], "TS_V_token": ["Cpu0", "Cpu0"], "File": "Cpu0TargetObjectFile", "Func": "IsGlobalInSmallSection", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2118, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_fp_cmp_code_to_pcmp_immediate", "(", "enum", "rtx_code", "code", ")", "{", "switch", "(", "code", ")", "{", "case", "EQ", ":", "return", "0x08", ";", "case", "NE", ":", "return", "0x04", ";", "case", "GT", ":", "return", "0x16", ";", "case", "LE", ":", "return", "0x1a", ";", "case", "GE", ":", "return", "0x15", ";", "case", "LT", ":", "return", "0x19", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Helper", "for", "ix86_cmp_code_to_pcmp_immediate", "for", "fp", "modes", "."], "TS_V_token": ["i386", "0x08", "0x04", "0x16", "0x1a", "0x15", "0x19"], "File": "i3865", "Func": "ix86_fp_cmp_code_to_pcmp_immediate", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2119, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsMCExpr", "*", "MipsMCExpr", "::", "Create", "(", "VariantKind", "Kind", ",", "const", "MCExpr", "*", "Expr", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "MipsMCExpr", "(", "Kind", ",", "Expr", ")", ";", "}", ""], "natrual_language": ["Construct", "a", "unary", "instruction", ",", "given", "the", "opcode", "and", "an", "operand", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips"], "File": "MipsMCExpr2", "Func": "Create", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2120, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16InstrInfo", "::", "expandPostRAPseudo", "(", "MachineInstr", "&", "MI", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "switch", "(", "MI", ".", "getDesc", "(", ")", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Mips", "::", "RetRA16", ":", "ExpandRetRA16", "(", "MBB", ",", "MI", ",", "Mips", "::", "JrcRa16", ")", ";", "break", ";", "}", "MBB", ".", "erase", "(", "MI", ".", "getIterator", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["Mips", "Mips", "Mips::RetRA16", "Mips::JrcRa16"], "File": "Mips16InstrInfo10", "Func": "expandPostRAPseudo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2121, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addPreservedID", "(", "MachineLoopInfoID", ")", ";", "AU", ".", "addPreservedID", "(", "MachineDominatorsID", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["X86"], "File": "X86FloatingPoint21", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2122, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetObjectFile", "::", "IsGlobalInSmallSection", "(", "const", "GlobalValue", "*", "GV", ",", "const", "TargetMachine", "&", "TM", ",", "SectionKind", "Kind", ")", "const", "{", "const", "MipsSubtarget", "&", "Subtarget", "=", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "if", "(", "!", "Subtarget", ".", "useSmallSection", "(", ")", ")", "return", "false", ";", "if", "(", "Subtarget", ".", "isTargetNaCl", "(", ")", ")", "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": ["Mips", "Mips", "Mips", "Mips"], "File": "MipsTargetObjectFile24", "Func": "IsGlobalInSmallSection", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2123, "Length": 138, "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", "(", ")", ")", ";", "(", "void", ")", "&", "CC_AArch64_DarwinPCS_VarArg", ";", "(", "void", ")", "&", "CC_AArch64_Win64_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::SREM", "ISD::SREM", "ISD::UREM", "ISD::UREM", "ISD::FP_TO_SINT", "ISD::TRUNCATE", "ISD::SINT_TO_FP", "AArch64", "AArch64"], "File": "AArch64FastISel41", "Func": "fastSelectInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2124, "Length": 481, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_memory_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "rclass", ",", "bool", "in", "ATTRIBUTE_UNUSED", ")", "{", "int", "ret", ";", "if", "(", "TARGET_DEBUG_COST", ")", "dbg_cost_ctrl", "++", ";", "if", "(", "reg_classes_intersect_p", "(", "rclass", ",", "GENERAL_REGS", ")", ")", "ret", "=", "4", "*", "hard_regno_nregs", "(", "0", ",", "mode", ")", ";", "else", "if", "(", "(", "reg_classes_intersect_p", "(", "rclass", ",", "FLOAT_REGS", ")", "||", "reg_classes_intersect_p", "(", "rclass", ",", "VSX_REGS", ")", ")", ")", "ret", "=", "4", "*", "hard_regno_nregs", "(", "32", ",", "mode", ")", ";", "else", "if", "(", "reg_classes_intersect_p", "(", "rclass", ",", "ALTIVEC_REGS", ")", ")", "ret", "=", "4", "*", "hard_regno_nregs", "(", "FIRST_ALTIVEC_REGNO", ",", "mode", ")", ";", "else", "ret", "=", "4", "+", "rs6000_register_move_cost", "(", "mode", ",", "rclass", ",", "GENERAL_REGS", ")", ";", "if", "(", "TARGET_DEBUG_COST", ")", "{", "if", "(", "dbg_cost_ctrl", "==", "1", ")", "fprintf", "(", "stderr", ",", "\"rs6000_memory_move_cost: ret=%d, mode=%s, rclass=%s, in=%d\\n\"", ",", "ret", ",", "GET_MODE_NAME", "(", "mode", ")", ",", "reg_class_names", "[", "rclass", "]", ",", "in", ")", ";", "dbg_cost_ctrl", "--", ";", "}", "return", "ret", ";", "}", ""], "natrual_language": ["A", "C", "expressions", "returning", "the", "cost", "of", "moving", "data", "of", "MODE", "from", "a", "register", "to", "or", "from", "memory", "."], "TS_V_token": ["powerpcspe", "4", "0", "4", "32", "4", "4", "1", "\"rs6000_memory_move_cost: ret=%d, mode=%s, rclass=%s, in=%d\\n\""], "File": "powerpcspe", "Func": "rs6000_memory_move_cost", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2125, "Length": 150, "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", "(", ")", "&&", "isa", "<", "MemSDNode", ">", "(", "N", ")", ";", "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::SEXTLOAD", "ARM", "ISD::PRE_INC", "ISD::PRE_DEC"], "File": "ARMISelLowering36", "Func": "getPreIndexedAddressParts", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2126, "Length": 246, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "function_builder", "::", "add_overloaded_functions", "(", "const", "function_group_info", "&", "group", ",", "mode_suffix_index", "mode", ")", "{", "if", "(", "m_direct_overloads", ")", "return", ";", "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-builtins", "Func": "add_overloaded_functions", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2127, "Length": 223, "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": ["AArch64", "\"Dead register definitions\""], "File": "AArch64DeadRegisterDefinitionsPass1", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2128, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isBlockAddress", "(", ")", "const", "{", "return", "Kind", "==", "ARMCP", "::", "CPBlockAddress", ";", "}", ""], "natrual_language": ["isBlockAddress", "-", "Tests", "if", "this", "is", "a", "MO_BlockAddress", "operand", "."], "TS_V_token": ["ARM", "ARMCP::CPBlockAddress"], "File": "ARMConstantPoolValue", "Func": "isBlockAddress", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2129, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_attr_renesas_p", "(", "const_tree", "td", ")", "{", "if", "(", "TARGET_HITACHI", ")", "return", "true", ";", "if", "(", "td", "==", "NULL_TREE", ")", "return", "false", ";", "if", "(", "DECL_P", "(", "td", ")", ")", "td", "=", "TREE_TYPE", "(", "td", ")", ";", "if", "(", "td", "==", "error_mark_node", ")", "return", "false", ";", "return", "(", "lookup_attribute", "(", "\"renesas\"", ",", "TYPE_ATTRIBUTES", "(", "td", ")", ")", "!=", "NULL_TREE", ")", ";", "}", ""], "natrual_language": ["True", "if", "__attribute__", "(", "(", "renesas", ")", ")", "or", "-mrenesas", "."], "TS_V_token": ["sh", "\"renesas\""], "File": "sh4", "Func": "sh_attr_renesas_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2130, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ARM", "::", "LDR", ":", "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", "::", "t2LDRi12", ":", "case", "ARM", "::", "tRestore", ":", "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", "::", "FLDD", ":", "case", "ARM", "::", "FLDS", ":", "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", ";", "}", "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::LDR", "ARM::t2LDRs", "1", "2", "3", "2", "0", "3", "0", "1", "0", "ARM::t2LDRi12", "ARM::tRestore", "1", "2", "2", "0", "1", "0", "ARM::FLDD", "ARM::FLDS", "1", "2", "2", "0", "1", "0", "0"], "File": "ARMBaseInstrInfo31", "Func": "isLoadFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2131, "Length": 286, "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": 2132, "Length": 132, "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", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "unsigned", "StackEst", "=", "TFI", "->", "determineFrameLayout", "(", "MF", ",", "false", ",", "true", ")", ";", "if", "(", "!", "StackEst", ")", "return", "false", ";", "Offset", "+=", "StackEst", ";", "return", "!", "isFrameOffsetLegal", "(", "MI", ",", "getBaseRegister", "(", "MF", ")", ",", "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"], "File": "PPCRegisterInfo (2)1", "Func": "needsFrameBaseReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2133, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTTIImpl", "::", "getTgtMemIntrinsic", "(", "IntrinsicInst", "*", "Inst", ",", "MemIntrinsicInfo", "&", "Info", ")", "{", "switch", "(", "Inst", "->", "getIntrinsicID", "(", ")", ")", "{", "case", "Intrinsic", "::", "ppc_altivec_lvx", ":", "case", "Intrinsic", "::", "ppc_altivec_lvxl", ":", "case", "Intrinsic", "::", "ppc_altivec_lvebx", ":", "case", "Intrinsic", "::", "ppc_altivec_lvehx", ":", "case", "Intrinsic", "::", "ppc_altivec_lvewx", ":", "case", "Intrinsic", "::", "ppc_vsx_lxvd2x", ":", "case", "Intrinsic", "::", "ppc_vsx_lxvw4x", ":", "case", "Intrinsic", "::", "ppc_vsx_lxvd2x_be", ":", "case", "Intrinsic", "::", "ppc_vsx_lxvw4x_be", ":", "case", "Intrinsic", "::", "ppc_vsx_lxvl", ":", "case", "Intrinsic", "::", "ppc_vsx_lxvll", ":", "{", "Info", ".", "PtrVal", "=", "Inst", "->", "getArgOperand", "(", "0", ")", ";", "Info", ".", "ReadMem", "=", "true", ";", "Info", ".", "WriteMem", "=", "false", ";", "return", "true", ";", "}", "case", "Intrinsic", "::", "ppc_altivec_stvx", ":", "case", "Intrinsic", "::", "ppc_altivec_stvxl", ":", "case", "Intrinsic", "::", "ppc_altivec_stvebx", ":", "case", "Intrinsic", "::", "ppc_altivec_stvehx", ":", "case", "Intrinsic", "::", "ppc_altivec_stvewx", ":", "case", "Intrinsic", "::", "ppc_vsx_stxvd2x", ":", "case", "Intrinsic", "::", "ppc_vsx_stxvw4x", ":", "case", "Intrinsic", "::", "ppc_vsx_stxvd2x_be", ":", "case", "Intrinsic", "::", "ppc_vsx_stxvw4x_be", ":", "case", "Intrinsic", "::", "ppc_vsx_stxvl", ":", "case", "Intrinsic", "::", "ppc_vsx_stxvll", ":", "{", "Info", ".", "PtrVal", "=", "Inst", "->", "getArgOperand", "(", "1", ")", ";", "Info", ".", "ReadMem", "=", "false", ";", "Info", ".", "WriteMem", "=", "true", ";", "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": ["PowerPC", "PPC", "Intrinsic::ppc_altivec_lvx", "Intrinsic::ppc_altivec_lvxl", "Intrinsic::ppc_altivec_lvebx", "Intrinsic::ppc_altivec_lvehx", "Intrinsic::ppc_altivec_lvewx", "Intrinsic::ppc_vsx_lxvd2x", "Intrinsic::ppc_vsx_lxvw4x", "Intrinsic::ppc_vsx_lxvd2x_be", "Intrinsic::ppc_vsx_lxvw4x_be", "Intrinsic::ppc_vsx_lxvl", "Intrinsic::ppc_vsx_lxvll", "0", "Intrinsic::ppc_altivec_stvx", "Intrinsic::ppc_altivec_stvxl", "Intrinsic::ppc_altivec_stvebx", "Intrinsic::ppc_altivec_stvehx", "Intrinsic::ppc_altivec_stvewx", "Intrinsic::ppc_vsx_stxvd2x", "Intrinsic::ppc_vsx_stxvw4x", "Intrinsic::ppc_vsx_stxvd2x_be", "Intrinsic::ppc_vsx_stxvw4x_be", "Intrinsic::ppc_vsx_stxvl", "Intrinsic::ppc_vsx_stxvll", "1"], "File": "PPCTargetTransformInfo5", "Func": "getTgtMemIntrinsic", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2134, "Length": 198, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "SparcTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown SELECT_CC!\"", ")", ";", "case", "SP", "::", "SELECT_CC_Int_ICC", ":", "case", "SP", "::", "SELECT_CC_FP_ICC", ":", "case", "SP", "::", "SELECT_CC_DFP_ICC", ":", "case", "SP", "::", "SELECT_CC_QFP_ICC", ":", "return", "expandSelectCC", "(", "MI", ",", "BB", ",", "SP", "::", "BCOND", ")", ";", "case", "SP", "::", "SELECT_CC_Int_XCC", ":", "case", "SP", "::", "SELECT_CC_FP_XCC", ":", "case", "SP", "::", "SELECT_CC_DFP_XCC", ":", "case", "SP", "::", "SELECT_CC_QFP_XCC", ":", "return", "expandSelectCC", "(", "MI", ",", "BB", ",", "SP", "::", "BPXCC", ")", ";", "case", "SP", "::", "SELECT_CC_Int_FCC", ":", "case", "SP", "::", "SELECT_CC_FP_FCC", ":", "case", "SP", "::", "SELECT_CC_DFP_FCC", ":", "case", "SP", "::", "SELECT_CC_QFP_FCC", ":", "return", "expandSelectCC", "(", "MI", ",", "BB", ",", "SP", "::", "FBCOND", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["Sparc", "Sparc", "\"Unknown SELECT_CC!\"", "SP::SELECT_CC_Int_ICC", "SP::SELECT_CC_FP_ICC", "SP::SELECT_CC_DFP_ICC", "SP::SELECT_CC_QFP_ICC", "SP::BCOND", "SP::SELECT_CC_Int_XCC", "SP::SELECT_CC_FP_XCC", "SP::SELECT_CC_DFP_XCC", "SP::SELECT_CC_QFP_XCC", "SP::BPXCC", "SP::SELECT_CC_Int_FCC", "SP::SELECT_CC_FP_FCC", "SP::SELECT_CC_DFP_FCC", "SP::SELECT_CC_QFP_FCC", "SP::FBCOND"], "File": "SparcISelLowering53", "Func": "EmitInstrWithCustomInserter", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2135, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"DLX load / store optimization pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["DLX", "\"DLX load / store optimization pass\""], "File": "DLXMemAluCombiner", "Func": "getPassName", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2136, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64MCInstLower", "::", "lowerOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCOperand", "&", "MCOp", ")", "const", "{", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "default", ":", "assert", "(", "0", "&&", "\"unknown operand type\"", ")", ";", "case", "MachineOperand", "::", "MO_Register", ":", "if", "(", "MO", ".", "isImplicit", "(", ")", ")", "return", "false", ";", "MCOp", "=", "MCOperand", "::", "CreateReg", "(", "MO", ".", "getReg", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_RegisterMask", ":", "return", "false", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "MCOp", "=", "MCOperand", "::", "CreateImm", "(", "MO", ".", "getImm", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "MCOp", "=", "MCOperand", "::", "CreateExpr", "(", "MCSymbolRefExpr", "::", "Create", "(", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ",", "Ctx", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "GetGlobalAddressSymbol", "(", "MO", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "GetExternalSymbolSymbol", "(", "MO", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "Printer", ".", "GetJTISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "Printer", ".", "GetCPISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_BlockAddress", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "Printer", ".", "GetBlockAddressSymbol", "(", "MO", ".", "getBlockAddress", "(", ")", ")", ")", ";", "break", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Wrapper", "for", "MCInstLowering.lowerOperand", "(", ")", "for", "the", "tblgen'erated", "pseudo", "lowering", "."], "TS_V_token": ["ARM64", "ARM64", "0", "\"unknown operand type\""], "File": "ARM64MCInstLower", "Func": "lowerOperand", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2137, "Length": 242, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTTIImpl", "::", "getIntrinsicInstrCost", "(", "const", "IntrinsicCostAttributes", "&", "ICA", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "return", "BaseT", "::", "getIntrinsicInstrCost", "(", "ICA", ",", "CostKind", ")", ";", "}", ""], "natrual_language": ["Get", "intrinsic", "cost", "based", "on", "arguments", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCTargetTransformInfo12", "Func": "getIntrinsicInstrCost", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2138, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAtomicExpandPass", "(", "&", "getX86TargetMachine", "(", ")", ")", ")", ";", "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": "X86TargetMachine10", "Func": "addIRPasses", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2139, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "{", "switch", "(", "Kind", ")", "{", "case", "k_Token", ":", "OS", "<<", "\"Token: \"", "<<", "getToken", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "k_Register", ":", "OS", "<<", "\"Reg: #\"", "<<", "getReg", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "k_Immediate", ":", "OS", "<<", "\"Imm: \"", "<<", "getImm", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "k_MemoryReg", ":", "OS", "<<", "\"Mem: \"", "<<", "getMemBase", "(", ")", "<<", "\"+\"", "<<", "getMemOffsetReg", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "k_MemoryImm", ":", "assert", "(", "getMemOff", "(", ")", "!=", "0", ")", ";", "OS", "<<", "\"Mem: \"", "<<", "getMemBase", "(", ")", "<<", "\"+\"", "<<", "*", "getMemOff", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["Sparc", "\"Token: \"", "\"\\n\"", "\"Reg: #\"", "\"\\n\"", "\"Imm: \"", "\"\\n\"", "\"Mem: \"", "\"+\"", "\"\\n\"", "0", "\"Mem: \"", "\"+\"", "\"\\n\""], "File": "SparcAsmParser11", "Func": "print", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2140, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VESubtarget", "::", "enableMachineScheduler", "(", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Enable", "the", "MachineScheduler", "pass", "for", "all", "X86", "subtargets", "."], "TS_V_token": ["VE", "VE"], "File": "VESubtarget", "Func": "enableMachineScheduler", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2141, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SystemZRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZSubtarget16", "Func": "getRegisterInfo", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2142, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SparcInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "SP", "::", "STri", "||", "MI", "->", "getOpcode", "(", ")", "==", "SP", "::", "STXri", "||", "MI", "->", "getOpcode", "(", ")", "==", "SP", "::", "STFri", "||", "MI", "->", "getOpcode", "(", ")", "==", "SP", "::", "STDFri", ")", "{", "if", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "isFI", "(", ")", "&&", "MI", "->", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", "&&", "MI", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "==", "0", ")", "{", "FrameIndex", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getIndex", "(", ")", ";", "return", "MI", "->", "getOperand", "(", "2", ")", ".", "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": ["Sparc", "Sparc", "SP::STri", "SP::STXri", "SP::STFri", "SP::STDFri", "0", "1", "1", "0", "0", "2", "0"], "File": "SparcInstrInfo2", "Func": "isStoreToStackSlot", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2143, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "SystemZTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "SystemZPassConfig", "(", "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": ["SystemZ", "SystemZ", "SystemZ"], "File": "SystemZTargetMachine (2)", "Func": "createPassConfig", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2144, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isReg", "(", ")", "const", "override", "{", "if", "(", "isGPRAsmReg", "(", ")", "&&", "RegIdx", ".", "Index", "==", "0", ")", "return", "true", ";", "return", "Kind", "==", "k_PhysRegister", ";", "}", ""], "natrual_language": ["isReg", "-", "Is", "this", "a", "register", "operand", "?"], "TS_V_token": ["Mips", "0"], "File": "MipsAsmParser", "Func": "isReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2145, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "MCFixupKind", ">", "X86AsmBackend", "::", "getFixupKind", "(", "StringRef", "Name", ")", "const", "{", "if", "(", "STI", ".", "getTargetTriple", "(", ")", ".", "isOSBinFormatELF", "(", ")", ")", "{", "unsigned", "Type", ";", "if", "(", "STI", ".", "getTargetTriple", "(", ")", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", "{", "Type", "=", "llvm", "::", "StringSwitch", "<", "unsigned", ">", "(", "Name", ")", ".", "Case", "(", "\"BFD_RELOC_NONE\"", ",", "ELF", "::", "R_X86_64_NONE", ")", ".", "Case", "(", "\"BFD_RELOC_8\"", ",", "ELF", "::", "R_X86_64_8", ")", ".", "Case", "(", "\"BFD_RELOC_16\"", ",", "ELF", "::", "R_X86_64_16", ")", ".", "Case", "(", "\"BFD_RELOC_32\"", ",", "ELF", "::", "R_X86_64_32", ")", ".", "Case", "(", "\"BFD_RELOC_64\"", ",", "ELF", "::", "R_X86_64_64", ")", ".", "Default", "(", "-", "1u", ")", ";", "}", "else", "{", "Type", "=", "llvm", "::", "StringSwitch", "<", "unsigned", ">", "(", "Name", ")", ".", "Case", "(", "\"BFD_RELOC_NONE\"", ",", "ELF", "::", "R_386_NONE", ")", ".", "Case", "(", "\"BFD_RELOC_8\"", ",", "ELF", "::", "R_386_8", ")", ".", "Case", "(", "\"BFD_RELOC_16\"", ",", "ELF", "::", "R_386_16", ")", ".", "Case", "(", "\"BFD_RELOC_32\"", ",", "ELF", "::", "R_386_32", ")", ".", "Default", "(", "-", "1u", ")", ";", "}", "if", "(", "Type", "==", "-", "1u", ")", "return", "None", ";", "return", "static_cast", "<", "MCFixupKind", ">", "(", "FirstLiteralRelocationKind", "+", "Type", ")", ";", "}", "return", "MCAsmBackend", "::", "getFixupKind", "(", "Name", ")", ";", "}", ""], "natrual_language": ["getFixupKind", "-", "Get", "the", "fixup", "kind", "of", "this", "expression", "."], "TS_V_token": ["X86", "X86", "\"BFD_RELOC_NONE\"", "X86", "\"BFD_RELOC_8\"", "X86", "\"BFD_RELOC_16\"", "X86", "\"BFD_RELOC_32\"", "X86", "\"BFD_RELOC_64\"", "X86", "1u", "\"BFD_RELOC_NONE\"", "\"BFD_RELOC_8\"", "\"BFD_RELOC_16\"", "\"BFD_RELOC_32\"", "1u", "1u"], "File": "X86AsmBackend (2)1", "Func": "getFixupKind", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2146, "Length": 198, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PPCSubtarget", "::", "PPCSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "PPCTargetMachine", "&", "TM", ",", "bool", "is64Bit", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", ":", "PPCGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "IsPPC64", "(", "is64Bit", ")", ",", "TargetTriple", "(", "TT", ")", ",", "OptLevel", "(", "OptLevel", ")", ",", "FrameLowering", "(", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ")", ")", ",", "DL", "(", "getDataLayoutString", "(", "*", "this", ")", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "JITInfo", "(", "*", "this", ")", ",", "TLInfo", "(", "TM", ")", ",", "TSInfo", "(", "&", "DL", ")", "{", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC"], "File": "PPCSubtarget1", "Func": "PPCSubtarget", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2147, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "use_toc_relative_ref", "(", "rtx", "sym", ",", "machine_mode", "mode", ")", "{", "return", "(", "(", "constant_pool_expr_p", "(", "sym", ")", "&&", "ASM_OUTPUT_SPECIAL_POOL_ENTRY_P", "(", "get_pool_constant", "(", "sym", ")", ",", "get_pool_mode", "(", "sym", ")", ")", ")", "||", "(", "TARGET_CMODEL", "==", "CMODEL_MEDIUM", "&&", "SYMBOL_REF_LOCAL_P", "(", "sym", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "<=", "POWERPC64_TOC_POINTER_ALIGNMENT", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "iff", "the", "given", "SYMBOL_REF", "refers", "to", "a", "constant", "pool", "entry", "that", "we", "have", "put", "in", "the", "TOC", ",", "or", "for", "cmodel=medium", ",", "if", "the", "SYMBOL_REF", "can", "be", "addressed", "relative", "to", "the", "toc", "pointer", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "use_toc_relative_ref", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2148, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsSETargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "DCI", ".", "DAG", ";", "SDValue", "Val", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "AND", ":", "Val", "=", "performANDCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "break", ";", "case", "ISD", "::", "OR", ":", "Val", "=", "performORCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "break", ";", "case", "ISD", "::", "MUL", ":", "return", "performMULCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "this", ")", ";", "case", "ISD", "::", "SHL", ":", "Val", "=", "performSHLCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "break", ";", "case", "ISD", "::", "SRA", ":", "return", "performSRACombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SRL", ":", "return", "performSRLCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "VSELECT", ":", "return", "performVSELECTCombine", "(", "N", ",", "DAG", ")", ";", "case", "ISD", "::", "XOR", ":", "Val", "=", "performXORCombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "break", ";", "case", "ISD", "::", "SETCC", ":", "Val", "=", "performSETCCCombine", "(", "N", ",", "DAG", ")", ";", "break", ";", "}", "if", "(", "Val", ".", "getNode", "(", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\nMipsSE DAG Combine:\\n\"", ";", "N", "->", "printrWithDepth", "(", "dbgs", "(", ")", ",", "&", "DAG", ")", ";", "dbgs", "(", ")", "<<", "\"\\n=> \\n\"", ";", "Val", ".", "getNode", "(", ")", "->", "printrWithDepth", "(", "dbgs", "(", ")", ",", "&", "DAG", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "return", "Val", ";", "}", "return", "MipsTargetLowering", "::", "PerformDAGCombine", "(", "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": ["Mips", "Mips", "ISD::AND", "ISD::OR", "ISD::MUL", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::VSELECT", "ISD::XOR", "ISD::SETCC", "\"\\nMipsSE DAG Combine:\\n\"", "\"\\n=> \\n\"", "\"\\n\"", "Mips"], "File": "MipsSEISelLowering11", "Func": "PerformDAGCombine", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2149, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseRegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "ARMSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "const", "ARMFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "ARM", "::", "tGPRRegClassID", ":", "{", "bool", "HasFP", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "isMaxCallFrameSizeComputed", "(", ")", "?", "TFI", "->", "hasFP", "(", "MF", ")", ":", "true", ";", "return", "5", "-", "HasFP", ";", "}", "case", "ARM", "::", "GPRRegClassID", ":", "{", "bool", "HasFP", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "isMaxCallFrameSizeComputed", "(", ")", "?", "TFI", "->", "hasFP", "(", "MF", ")", ":", "true", ";", "return", "10", "-", "HasFP", "-", "(", "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", "ARM", "ARM", "ARM", "0", "ARM::tGPRRegClassID", "5", "ARM::GPRRegClassID", "10", "1", "0", "ARM::SPRRegClassID", "ARM::DPRRegClassID", "32", "10"], "File": "ARMBaseRegisterInfo", "Func": "getRegPressureLimit", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2150, "Length": 151, "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_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\"", "\"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": "MipsAsmBackend55", "Func": "getFixupKind", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2151, "Length": 421, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "resolve_vec_adde_sube", "(", "resolution", "*", "res", ",", "rs6000_gen_builtins", "fcode", ",", "tree", "*", "args", ",", "tree", "*", "types", ",", "location_t", "loc", ")", "{", "if", "(", "TREE_CODE", "(", "types", "[", "0", "]", ")", "!=", "VECTOR_TYPE", "||", "!", "lang_hooks", ".", "types_compatible_p", "(", "types", "[", "0", "]", ",", "types", "[", "1", "]", ")", "||", "!", "lang_hooks", ".", "types_compatible_p", "(", "types", "[", "1", "]", ",", "types", "[", "2", "]", ")", ")", "{", "*", "res", "=", "resolved_bad", ";", "return", "error_mark_node", ";", "}", "switch", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "types", "[", "0", "]", ")", ")", ")", "{", "case", "E_SImode", ":", "{", "vec", "<", "tree", ",", "va_gc", ">", "*", "params", "=", "make_tree_vector", "(", ")", ";", "vec_safe_push", "(", "params", ",", "args", "[", "0", "]", ")", ";", "vec_safe_push", "(", "params", ",", "args", "[", "1", "]", ")", ";", "tree", "add_sub_builtin", ";", "if", "(", "fcode", "==", "RS6000_OVLD_VEC_ADDE", ")", "add_sub_builtin", "=", "rs6000_builtin_decls", "[", "RS6000_OVLD_VEC_ADD", "]", ";", "else", "add_sub_builtin", "=", "rs6000_builtin_decls", "[", "RS6000_OVLD_VEC_SUB", "]", ";", "tree", "call", "=", "altivec_resolve_overloaded_builtin", "(", "loc", ",", "add_sub_builtin", ",", "params", ")", ";", "tree", "const1", "=", "build_int_cstu", "(", "TREE_TYPE", "(", "types", "[", "0", "]", ")", ",", "1", ")", ";", "tree", "ones_vector", "=", "build_vector_from_val", "(", "types", "[", "0", "]", ",", "const1", ")", ";", "tree", "and_expr", "=", "fold_build2_loc", "(", "loc", ",", "BIT_AND_EXPR", ",", "types", "[", "0", "]", ",", "args", "[", "2", "]", ",", "ones_vector", ")", ";", "params", "=", "make_tree_vector", "(", ")", ";", "vec_safe_push", "(", "params", ",", "call", ")", ";", "vec_safe_push", "(", "params", ",", "and_expr", ")", ";", "*", "res", "=", "resolved", ";", "return", "altivec_resolve_overloaded_builtin", "(", "loc", ",", "add_sub_builtin", ",", "params", ")", ";", "}", "case", "E_TImode", ":", "*", "res", "=", "unresolved", ";", "break", ";", "default", ":", "*", "res", "=", "resolved_bad", ";", "}", "return", "error_mark_node", ";", "}", ""], "natrual_language": ["Resolve", "an", "overloaded", "vec_adde", "or", "vec_sube", "call", "and", "return", "a", "tree", "expression", "for", "the", "resolved", "call", "if", "successful", ".", "ARGS", "contains", "the", "arguments", "to", "the", "call", ".", "TYPES", "contains", "their", "arguments", ".", "RES", "must", "be", "set", "to", "indicate", "the", "status", "of", "the", "resolution", "attempt", ".", "LOC", "contains", "statement", "location", "information", "."], "TS_V_token": ["rs6000", "0", "0", "1", "1", "2", "0", "0", "1", "0", "1", "0", "0", "2"], "File": "rs6000-c", "Func": "resolve_vec_adde_sube", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2152, "Length": 273, "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": 2153, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "aarch64_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", ")", "{", "unsigned", "*", "cost", "=", "(", "unsigned", "*", ")", "data", ";", "unsigned", "retval", "=", "0", ";", "if", "(", "flag_vect_cost_model", ")", "{", "tree", "vectype", "=", "stmt_info", "?", "stmt_vectype", "(", "stmt_info", ")", ":", "NULL_TREE", ";", "int", "stmt_cost", "=", "aarch64_builtin_vectorization_cost", "(", "kind", ",", "vectype", ",", "misalign", ")", ";", "if", "(", "stmt_info", "&&", "vectype", "&&", "aarch64_sve_mode_p", "(", "TYPE_MODE", "(", "vectype", ")", ")", ")", "stmt_cost", "=", "aarch64_sve_adjust_stmt_cost", "(", "kind", ",", "stmt_info", ",", "vectype", ",", "stmt_cost", ")", ";", "if", "(", "where", "==", "vect_body", "&&", "stmt_info", "&&", "stmt_in_inner_loop_p", "(", "stmt_info", ")", ")", "count", "*=", "50", ";", "retval", "=", "(", "unsigned", ")", "(", "count", "*", "stmt_cost", ")", ";", "cost", "[", "where", "]", "+=", "retval", ";", "}", "return", "retval", ";", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.add_stmt_cost", "."], "TS_V_token": ["aarch64", "0", "50"], "File": "aarch64", "Func": "aarch64_add_stmt_cost", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2154, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86ATTAsmParser", "::", "ParseInstruction", "(", "const", "StringRef", "&", "Name", ",", "MCInst", "&", "Inst", ")", "{", "SmallVector", "<", "X86Operand", ",", "8", ">", "Operands", ";", "Operands", ".", "push_back", "(", "X86Operand", "::", "CreateToken", "(", "Name", ")", ")", ";", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Star", ")", ")", "{", "getLexer", "(", ")", ".", "Lex", "(", ")", ";", "Operands", ".", "push_back", "(", "X86Operand", "::", "CreateToken", "(", "\"*\"", ")", ")", ";", "}", "Operands", ".", "push_back", "(", "X86Operand", "(", ")", ")", ";", "if", "(", "ParseOperand", "(", "Operands", ".", "back", "(", ")", ")", ")", "return", "true", ";", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "getLexer", "(", ")", ".", "Lex", "(", ")", ";", "Operands", ".", "push_back", "(", "X86Operand", "(", ")", ")", ";", "if", "(", "ParseOperand", "(", "Operands", ".", "back", "(", ")", ")", ")", "return", "true", ";", "}", "}", "if", "(", "!", "MatchInstruction", "(", "Operands", ",", "Inst", ")", ")", "return", "false", ";", "Error", "(", "Loc", ",", "\"unrecognized instruction\"", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["X86", "X86", "X86", "8", "X86Operand::CreateToken", "X86Operand::CreateToken", "\"*\"", "X86", "X86", "\"unrecognized instruction\""], "File": "X86AsmParser80", "Func": "ParseInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2155, "Length": 193, "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", ")", ",", "ARMProcFamily", "(", "Others", ")", ",", "HasV8_1aOps", "(", "false", ")", ",", "HasFPARMv8", "(", "false", ")", ",", "HasNEON", "(", "false", ")", ",", "HasCrypto", "(", "false", ")", ",", "HasCRC", "(", "false", ")", ",", "HasPerfMon", "(", "false", ")", ",", "HasZeroCycleRegMove", "(", "false", ")", ",", "HasZeroCycleZeroing", "(", "false", ")", ",", "StrictAlign", "(", "false", ")", ",", "ReserveX18", "(", "TT", ".", "isOSDarwin", "(", ")", ")", ",", "IsLittle", "(", "LittleEndian", ")", ",", "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": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64Subtarget54", "Func": "AArch64Subtarget", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2156, "Length": 140, "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", "::", "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", ";", "return", "IsVarArg", "?", "CC_AArch64_DarwinPCS_VarArg", ":", "CC_AArch64_DarwinPCS", ";", "case", "CallingConv", "::", "Win64", ":", "return", "IsVarArg", "?", "CC_AArch64_Win64_VarArg", ":", "CC_AArch64_AAPCS", ";", "}", "}", ""], "natrual_language": ["Selects", "the", "correct", "CCAssignFn", "for", "a", "given", "CallingConvention", "value", "."], "TS_V_token": ["AArch64", "AArch64", "\"Unsupported calling convention.\"", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64ISelLowering", "Func": "CCAssignFnForCall", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2157, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "MipsFrameLowering", "::", "estimateStackSize", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterInfo", "&", "TRI", "=", "*", "STI", ".", "getRegisterInfo", "(", ")", ";", "int64_t", "Offset", "=", "0", ";", "for", "(", "int", "I", "=", "MFI", ".", "getObjectIndexBegin", "(", ")", ";", "I", "!=", "0", ";", "++", "I", ")", "Offset", "=", "std", "::", "max", "(", "Offset", ",", "-", "MFI", ".", "getObjectOffset", "(", "I", ")", ")", ";", "for", "(", "const", "MCPhysReg", "*", "R", "=", "TRI", ".", "getCalleeSavedRegs", "(", "&", "MF", ")", ";", "*", "R", ";", "++", "R", ")", "{", "unsigned", "Size", "=", "TRI", ".", "getMinimalPhysRegClass", "(", "*", "R", ")", "->", "getSize", "(", ")", ";", "Offset", "=", "alignTo", "(", "Offset", "+", "Size", ",", "Size", ")", ";", "}", "unsigned", "MaxAlign", "=", "MFI", ".", "getMaxAlignment", "(", ")", ";", "assert", "(", "!", "MFI", ".", "getObjectIndexEnd", "(", ")", "||", "MaxAlign", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "MFI", ".", "getObjectIndexEnd", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Offset", "=", "alignTo", "(", "Offset", "+", "MFI", ".", "getObjectSize", "(", "I", ")", ",", "MaxAlign", ")", ";", "if", "(", "MFI", ".", "adjustsStack", "(", ")", "&&", "hasReservedCallFrame", "(", "MF", ")", ")", "Offset", "=", "alignTo", "(", "Offset", "+", "MFI", ".", "getMaxCallFrameSize", "(", ")", ",", "std", "::", "max", "(", "MaxAlign", ",", "getStackAlignment", "(", ")", ")", ")", ";", "return", "alignTo", "(", "Offset", ",", "getStackAlignment", "(", ")", ")", ";", "}", ""], "natrual_language": ["Estimate", "and", "return", "the", "size", "of", "the", "stack", "frame", "."], "TS_V_token": ["Mips", "Mips", "0", "0", "0"], "File": "MipsFrameLowering11", "Func": "estimateStackSize", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2158, "Length": 231, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Branch Coalescing\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["PowerPC", "\"Branch Coalescing\""], "File": "PPCBranchCoalescing", "Func": "getPassName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2159, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCPassConfig", "::", "addPreISel", "(", ")", "{", "if", "(", "!", "DisablePreIncPrep", "&&", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createPPCLoopPreIncPrepPass", "(", "getPPCTargetMachine", "(", ")", ")", ")", ";", "if", "(", "!", "DisableCTRLoops", "&&", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createPPCCTRLoops", "(", "getPPCTargetMachine", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC"], "File": "PPCTargetMachine13", "Func": "addPreISel", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2160, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isShuffleMaskLegal", "(", "ArrayRef", "<", "int", ">", "Mask", ",", "EVT", "VT", ")", "const", "override", "{", "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": ["Mips"], "File": "MipsSEISelLowering (2)", "Func": "isShuffleMaskLegal", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2161, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ArrayRef", "<", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">>", "AArch64InstrInfo", "::", "getSerializableDirectMachineOperandTargetFlags", "(", ")", "const", "{", "using", "namespace", "AArch64II", ";", "static", "const", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">", "TargetFlags", "[", "]", "=", "{", "{", "MO_PAGE", ",", "\"aarch64-page\"", "}", ",", "{", "MO_PAGEOFF", ",", "\"aarch64-pageoff\"", "}", ",", "{", "MO_G3", ",", "\"aarch64-g3\"", "}", ",", "{", "MO_G2", ",", "\"aarch64-g2\"", "}", ",", "{", "MO_G1", ",", "\"aarch64-g1\"", "}", ",", "{", "MO_G0", ",", "\"aarch64-g0\"", "}", ",", "{", "MO_HI12", ",", "\"aarch64-hi12\"", "}", "}", ";", "return", "makeArrayRef", "(", "TargetFlags", ")", ";", "}", ""], "natrual_language": ["Return", "an", "array", "that", "contains", "the", "direct", "target", "flag", "values", "and", "their", "names", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "\"aarch64-page\"", "\"aarch64-pageoff\"", "\"aarch64-g3\"", "\"aarch64-g2\"", "\"aarch64-g1\"", "\"aarch64-g0\"", "\"aarch64-hi12\""], "File": "AArch64InstrInfo1", "Func": "getSerializableDirectMachineOperandTargetFlags", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2162, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64TTI", "::", "PopcntSupportKind", "AArch64TTI", "::", "getPopcntSupport", "(", "unsigned", "TyWidth", ")", "const", "{", "assert", "(", "isPowerOf2_32", "(", "TyWidth", ")", "&&", "\"Ty width must be power of 2\"", ")", ";", "if", "(", "TyWidth", "==", "32", "||", "TyWidth", "==", "64", ")", "return", "PSK_FastHardware", ";", "return", "PSK_Software", ";", "}", ""], "natrual_language": ["Return", "hardware", "support", "for", "population", "count", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "\"Ty width must be power of 2\"", "32", "64"], "File": "AArch64TargetTransformInfo1", "Func": "getPopcntSupport", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2163, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetTransformInfo", "::", "PopcntSupportKind", "SystemZTTIImpl", "::", "getPopcntSupport", "(", "unsigned", "TyWidth", ")", "{", "assert", "(", "isPowerOf2_32", "(", "TyWidth", ")", "&&", "\"Type width must be power of 2\"", ")", ";", "if", "(", "ST", "->", "hasPopulationCount", "(", ")", "&&", "TyWidth", "<=", "64", ")", "return", "TTI", "::", "PSK_FastHardware", ";", "return", "TTI", "::", "PSK_Software", ";", "}", ""], "natrual_language": ["Return", "hardware", "support", "for", "population", "count", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"Type width must be power of 2\"", "64"], "File": "SystemZTargetTransformInfo (2)", "Func": "getPopcntSupport", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2164, "Length": 44, "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": 2165, "Length": 475, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CSKYDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "if", "(", "N", "->", "isMachineOpcode", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"== \"", ";", "N", "->", "dump", "(", "CurDAG", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "N", "->", "setNodeId", "(", "-", "1", ")", ";", "return", ";", "}", "SDLoc", "Dl", "(", "N", ")", ";", "unsigned", "Opcode", "=", "N", "->", "getOpcode", "(", ")", ";", "bool", "IsSelected", "=", "false", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "ADDCARRY", ":", "IsSelected", "=", "selectAddCarry", "(", "N", ")", ";", "break", ";", "case", "ISD", "::", "SUBCARRY", ":", "IsSelected", "=", "selectSubCarry", "(", "N", ")", ";", "break", ";", "}", "if", "(", "IsSelected", ")", "return", ";", "SelectCode", "(", "N", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["CSKY", "CSKY", "\"== \"", "\"\\n\"", "1", "ISD::ADDCARRY", "ISD::SUBCARRY"], "File": "CSKYISelDAGToDAG4", "Func": "Select", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2166, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLoweringBase", "::", "LegalizeTypeAction", "X86TargetLowering", "::", "getPreferredVectorAction", "(", "MVT", "VT", ")", "const", "{", "if", "(", "(", "VT", "==", "MVT", "::", "v32i1", "||", "VT", "==", "MVT", "::", "v64i1", ")", "&&", "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", "MVT::v64i1", "1", "MVT::i1"], "File": "X86ISelLowering101", "Func": "getPreferredVectorAction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2167, "Length": 76, "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_lasta", ":", "case", "Intrinsic", "::", "aarch64_sve_lastb", ":", "return", "instCombineSVELast", "(", "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_lasta", "Intrinsic::aarch64_sve_lastb"], "File": "AArch64TargetTransformInfo51", "Func": "instCombineIntrinsic", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2168, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "pa_arg_partial_bytes", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "unsigned", "int", "max_arg_words", "=", "8", ";", "unsigned", "int", "offset", "=", "0", ";", "int", "arg_size", ";", "if", "(", "!", "TARGET_64BIT", ")", "return", "0", ";", "arg_size", "=", "pa_function_arg_size", "(", "arg", ".", "mode", ",", "arg", ".", "type", ")", ";", "if", "(", "arg_size", ">", "1", "&&", "(", "cum", "->", "words", "&", "1", ")", ")", "offset", "=", "1", ";", "if", "(", "cum", "->", "words", "+", "offset", "+", "arg_size", "<=", "max_arg_words", ")", "return", "0", ";", "else", "if", "(", "cum", "->", "words", "+", "offset", ">=", "max_arg_words", ")", "return", "0", ";", "else", "return", "(", "max_arg_words", "-", "cum", "->", "words", "-", "offset", ")", "*", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["If", "this", "arg", "would", "be", "passed", "totally", "in", "registers", "or", "totally", "on", "the", "stack", ",", "then", "this", "routine", "should", "return", "zero", "."], "TS_V_token": ["pa", "8", "0", "0", "1", "1", "1", "0", "0"], "File": "pa1", "Func": "pa_arg_partial_bytes", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2169, "Length": 120, "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": 2170, "Length": 352, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "addLegalizeMachineIR", "(", ")", "{", "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": ["X86", "X86"], "File": "X86TargetMachine45", "Func": "addLegalizeMachineIR", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2171, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64RegisterInfo", "::", "isFrameOffsetLegal", "(", "const", "MachineInstr", "*", "MI", ",", "Register", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "assert", "(", "MI", "&&", "\"Unable to get the legal offset for nil instruction.\"", ")", ";", "StackOffset", "SaveOffset", "(", "Offset", ",", "MVT", "::", "i8", ")", ";", "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", "\"Unable to get the legal offset for nil instruction.\"", "MVT::i8", "AArch64", "AArch64"], "File": "AArch64RegisterInfo12", "Func": "isFrameOffsetLegal", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2172, "Length": 47, "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": 2173, "Length": 307, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "rs6000_find_base_term", "(", "rtx", "op", ")", "{", "rtx", "base", ";", "base", "=", "op", ";", "if", "(", "GET_CODE", "(", "base", ")", "==", "CONST", ")", "base", "=", "XEXP", "(", "base", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "base", ")", "==", "PLUS", ")", "base", "=", "XEXP", "(", "base", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "base", ")", "==", "UNSPEC", ")", "switch", "(", "XINT", "(", "base", ",", "1", ")", ")", "{", "case", "UNSPEC_TOCREL", ":", "case", "UNSPEC_MACHOPIC_OFFSET", ":", "return", "XVECEXP", "(", "base", ",", "0", ",", "0", ")", ";", "}", "return", "op", ";", "}", ""], "natrual_language": ["Implement", "FIND_BASE_TERM", "."], "TS_V_token": ["rs6000", "0", "0", "1", "0", "0"], "File": "rs6000", "Func": "rs6000_find_base_term", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2174, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsSETargetLowering", "::", "addMSAIntType", "(", "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", "::", "BITCAST", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "LOAD", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "STORE", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "EXTRACT_VECTOR_ELT", ",", "Ty", ",", "Custom", ")", ";", "setOperationAction", "(", "ISD", "::", "INSERT_VECTOR_ELT", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "BUILD_VECTOR", ",", "Ty", ",", "Custom", ")", ";", "setOperationAction", "(", "ISD", "::", "ADD", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "AND", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "CTLZ", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "CTPOP", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "MUL", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "OR", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "SDIV", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "SREM", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "SHL", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "SRA", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "SRL", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "SUB", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "SMAX", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "SMIN", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "UDIV", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "UREM", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "UMAX", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "UMIN", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "VECTOR_SHUFFLE", ",", "Ty", ",", "Custom", ")", ";", "setOperationAction", "(", "ISD", "::", "VSELECT", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "XOR", ",", "Ty", ",", "Legal", ")", ";", "if", "(", "Ty", "==", "MVT", "::", "v4i32", "||", "Ty", "==", "MVT", "::", "v2i64", ")", "{", "setOperationAction", "(", "ISD", "::", "FP_TO_SINT", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "FP_TO_UINT", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "SINT_TO_FP", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "UINT_TO_FP", ",", "Ty", ",", "Legal", ")", ";", "}", "setOperationAction", "(", "ISD", "::", "SETCC", ",", "Ty", ",", "Legal", ")", ";", "setCondCodeAction", "(", "ISD", "::", "SETNE", ",", "Ty", ",", "Expand", ")", ";", "setCondCodeAction", "(", "ISD", "::", "SETGE", ",", "Ty", ",", "Expand", ")", ";", "setCondCodeAction", "(", "ISD", "::", "SETGT", ",", "Ty", ",", "Expand", ")", ";", "setCondCodeAction", "(", "ISD", "::", "SETUGE", ",", "Ty", ",", "Expand", ")", ";", "setCondCodeAction", "(", "ISD", "::", "SETUGT", ",", "Ty", ",", "Expand", ")", ";", "}", ""], "natrual_language": ["Enable", "MSA", "support", "for", "the", "given", "integer", "type", "and", "Register", "class", "."], "TS_V_token": ["Mips", "Mips", "MVT::SimpleValueType", "0", "ISD::BUILTIN_OP_END", "ISD::BITCAST", "ISD::LOAD", "ISD::STORE", "ISD::EXTRACT_VECTOR_ELT", "ISD::INSERT_VECTOR_ELT", "ISD::BUILD_VECTOR", "ISD::ADD", "ISD::AND", "ISD::CTLZ", "ISD::CTPOP", "ISD::MUL", "ISD::OR", "ISD::SDIV", "ISD::SREM", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::SUB", "ISD::SMAX", "ISD::SMIN", "ISD::UDIV", "ISD::UREM", "ISD::UMAX", "ISD::UMIN", "ISD::VECTOR_SHUFFLE", "ISD::VSELECT", "ISD::XOR", "MVT::v4i32", "MVT::v2i64", "ISD::FP_TO_SINT", "ISD::FP_TO_UINT", "ISD::SINT_TO_FP", "ISD::UINT_TO_FP", "ISD::SETCC", "ISD::SETNE", "ISD::SETGE", "ISD::SETGT", "ISD::SETUGE", "ISD::SETUGT"], "File": "MipsSEISelLowering21", "Func": "addMSAIntType", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2175, "Length": 472, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_emit_load_exclusive", "(", "machine_mode", "mode", ",", "rtx", "rval", ",", "rtx", "mem", ",", "bool", "acq", ")", "{", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ")", ";", "if", "(", "acq", ")", "{", "switch", "(", "mode", ")", "{", "case", "QImode", ":", "gen", "=", "gen_arm_load_acquire_exclusiveqi", ";", "break", ";", "case", "HImode", ":", "gen", "=", "gen_arm_load_acquire_exclusivehi", ";", "break", ";", "case", "SImode", ":", "gen", "=", "gen_arm_load_acquire_exclusivesi", ";", "break", ";", "case", "DImode", ":", "gen", "=", "gen_arm_load_acquire_exclusivedi", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "{", "switch", "(", "mode", ")", "{", "case", "QImode", ":", "gen", "=", "gen_arm_load_exclusiveqi", ";", "break", ";", "case", "HImode", ":", "gen", "=", "gen_arm_load_exclusivehi", ";", "break", ";", "case", "SImode", ":", "gen", "=", "gen_arm_load_exclusivesi", ";", "break", ";", "case", "DImode", ":", "gen", "=", "gen_arm_load_exclusivedi", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "emit_insn", "(", "gen", "(", "rval", ",", "mem", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "load-exclusive", "and", "store-exclusive", "instructions", ".", "Use", "acquire", "and", "release", "versions", "if", "necessary", "."], "TS_V_token": ["arm"], "File": "arm4", "Func": "arm_emit_load_exclusive", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2176, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_get_arg_info", "(", "struct", "mips_arg_info", "*", "info", ",", "const", "CUMULATIVE_ARGS", "*", "cum", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "bool", "doubleword_aligned_p", ";", "unsigned", "int", "num_bytes", ",", "num_words", ",", "max_regs", ";", "num_bytes", "=", "type", "?", "int_size_in_bytes", "(", "type", ")", ":", "GET_MODE_SIZE", "(", "mode", ")", ";", "num_words", "=", "(", "num_bytes", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "switch", "(", "mips_abi", ")", "{", "case", "ABI_EABI", ":", "info", "->", "fpr_p", "=", "(", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", "||", "mode", "==", "V2SFmode", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "<=", "UNITS_PER_FPVALUE", ")", ";", "break", ";", "case", "ABI_32", ":", "case", "ABI_O64", ":", "gcc_assert", "(", "TARGET_PAIRED_SINGLE_FLOAT", "||", "mode", "!=", "V2SFmode", ")", ";", "info", "->", "fpr_p", "=", "(", "!", "cum", "->", "gp_reg_found", "&&", "cum", "->", "arg_number", "<", "2", "&&", "(", "type", "==", "0", "||", "SCALAR_FLOAT_TYPE_P", "(", "type", ")", "||", "VECTOR_FLOAT_TYPE_P", "(", "type", ")", ")", "&&", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", "||", "mode", "==", "V2SFmode", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "<=", "UNITS_PER_FPVALUE", ")", ";", "break", ";", "case", "ABI_N32", ":", "case", "ABI_64", ":", "gcc_assert", "(", "TARGET_PAIRED_SINGLE_FLOAT", "||", "mode", "!=", "V2SFmode", ")", ";", "info", "->", "fpr_p", "=", "(", "named", "&&", "(", "type", "==", "0", "||", "FLOAT_TYPE_P", "(", "type", ")", ")", "&&", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", "||", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_FLOAT", "||", "mode", "==", "V2SFmode", ")", "&&", "GET_MODE_UNIT_SIZE", "(", "mode", ")", "<=", "UNITS_PER_FPVALUE", ")", ";", "if", "(", "info", "->", "fpr_p", "&&", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_FLOAT", "&&", "GET_MODE_UNIT_SIZE", "(", "mode", ")", "<", "UNITS_PER_FPVALUE", ")", "{", "if", "(", "cum", "->", "num_gprs", ">=", "MAX_ARGS_IN_REGISTERS", "-", "1", ")", "info", "->", "fpr_p", "=", "false", ";", "else", "num_words", "=", "2", ";", "}", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "doubleword_aligned_p", "=", "(", "mips_function_arg_boundary", "(", "mode", ",", "type", ")", ">", "BITS_PER_WORD", ")", ";", "info", "->", "reg_offset", "=", "(", "mips_abi", "==", "ABI_EABI", "&&", "info", "->", "fpr_p", "?", "cum", "->", "num_fprs", ":", "cum", "->", "num_gprs", ")", ";", "if", "(", "doubleword_aligned_p", ")", "info", "->", "reg_offset", "+=", "info", "->", "reg_offset", "&", "1", ";", "info", "->", "stack_offset", "=", "cum", "->", "stack_words", ";", "if", "(", "doubleword_aligned_p", ")", "info", "->", "stack_offset", "+=", "info", "->", "stack_offset", "&", "1", ";", "max_regs", "=", "MAX_ARGS_IN_REGISTERS", "-", "info", "->", "reg_offset", ";", "info", "->", "reg_words", "=", "MIN", "(", "num_words", ",", "max_regs", ")", ";", "info", "->", "stack_words", "=", "num_words", "-", "info", "->", "reg_words", ";", "}", ""], "natrual_language": ["Fill", "INFO", "with", "information", "about", "a", "single", "argument", ".", "CUM", "is", "the", "cumulative", "state", "for", "earlier", "arguments", ".", "MODE", "is", "the", "mode", "of", "this", "argument", "and", "TYPE", "is", "its", "type", "(", "if", "known", ")", ".", "NAMED", "is", "true", "if", "this", "is", "a", "named", "(", "fixed", ")", "argument", "rather", "than", "a", "variable", "one", "."], "TS_V_token": ["mips", "1", "2", "0", "0", "1", "2", "1", "1"], "File": "mips", "Func": "mips_get_arg_info", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2177, "Length": 381, "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": 2178, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcELFTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcTargetObjectFile12", "Func": "Initialize", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2179, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcRegisterInfo", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "int", "NumBytes", "=", "(", "int", ")", "MFI", "->", "getStackSize", "(", ")", ";", "NumBytes", "+=", "92", ";", "NumBytes", "=", "(", "NumBytes", "+", "7", ")", "&", "~", "7", ";", "NumBytes", "=", "-", "NumBytes", ";", "if", "(", "NumBytes", ">=", "-", "4096", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "SAVEri", ")", ",", "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", "::", "SAVErr", ")", ",", "SP", "::", "O6", ")", ".", "addReg", "(", "SP", "::", "O6", ")", ".", "addReg", "(", "SP", "::", "G1", ")", ";", "}", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Sparc", "Sparc", "92", "7", "7", "4096", "SP::SAVEri", "SP::O6", "SP::O6", "10U", "SP::SETHIi", "SP::G1", "SP::ORri", "SP::G1", "SP::G1", "1", "10", "1", "SP::SAVErr", "SP::O6", "SP::O6", "SP::G1"], "File": "SparcRegisterInfo12", "Func": "emitPrologue", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2180, "Length": 259, "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": 2181, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SparcTargetLowering", "::", "withTargetFlags", "(", "SDValue", "Op", ",", "unsigned", "TF", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "const", "GlobalAddressSDNode", "*", "GA", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetGlobalAddress", "(", "GA", "->", "getGlobal", "(", ")", ",", "SDLoc", "(", "GA", ")", ",", "GA", "->", "getValueType", "(", "0", ")", ",", "GA", "->", "getOffset", "(", ")", ",", "TF", ")", ";", "if", "(", "const", "ConstantPoolSDNode", "*", "CP", "=", "dyn_cast", "<", "ConstantPoolSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetConstantPool", "(", "CP", "->", "getConstVal", "(", ")", ",", "CP", "->", "getValueType", "(", "0", ")", ",", "CP", "->", "getAlign", "(", ")", ",", "CP", "->", "getOffset", "(", ")", ",", "TF", ")", ";", "if", "(", "const", "BlockAddressSDNode", "*", "BA", "=", "dyn_cast", "<", "BlockAddressSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetBlockAddress", "(", "BA", "->", "getBlockAddress", "(", ")", ",", "Op", ".", "getValueType", "(", ")", ",", "0", ",", "TF", ")", ";", "if", "(", "const", "ExternalSymbolSDNode", "*", "ES", "=", "dyn_cast", "<", "ExternalSymbolSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetExternalSymbol", "(", "ES", "->", "getSymbol", "(", ")", ",", "ES", "->", "getValueType", "(", "0", ")", ",", "TF", ")", ";", "llvm_unreachable", "(", "\"Unhandled address SDNode\"", ")", ";", "}", ""], "natrual_language": ["}", "Custom", "DAGCombine"], "TS_V_token": ["Sparc", "Sparc", "0", "0", "0", "0", "\"Unhandled address SDNode\""], "File": "SparcISelLowering12", "Func": "withTargetFlags", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2182, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "updateDebugInfo", "(", "MachineInstr", "*", "MI", ",", "const", "DILocation", "*", "Loc", ")", "{", "DebugLoc", "DL", "(", "Loc", ")", ";", "MI", "->", "setDebugLoc", "(", "DL", ")", ";", "}", ""], "natrual_language": ["Called", "to", "update", "debug", "info", "associated", "with", "the", "instruction", "."], "TS_V_token": ["X86"], "File": "X86DiscriminateMemOps (2)", "Func": "updateDebugInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2183, "Length": 27, "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": 2184, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_emit_bic", "(", "machine_mode", "mode", ",", "rtx", "dst", ",", "rtx", "s1", ",", "rtx", "s2", ",", "int", "shift", ")", "{", "rtx", "shift_rtx", "=", "GEN_INT", "(", "shift", ")", ";", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "switch", "(", "mode", ")", "{", "case", "E_SImode", ":", "gen", "=", "gen_and_one_cmpl_lshrsi3", ";", "break", ";", "case", "E_DImode", ":", "gen", "=", "gen_and_one_cmpl_lshrdi3", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "emit_insn", "(", "gen", "(", "dst", ",", "s2", ",", "shift_rtx", ",", "s1", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "BIC", "instruction", "."], "TS_V_token": ["aarch64"], "File": "aarch645", "Func": "aarch64_emit_bic", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2185, "Length": 88, "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": 2186, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCAIXAsmPrinter", "::", "emitXXStructorList", "(", "const", "DataLayout", "&", "DL", ",", "const", "Constant", "*", "List", ",", "bool", "IsCtor", ")", "{", "SmallVector", "<", "Structor", ",", "8", ">", "Structors", ";", "preprocessXXStructorList", "(", "DL", ",", "List", ",", "Structors", ")", ";", "if", "(", "Structors", ".", "empty", "(", ")", ")", "return", ";", "unsigned", "Index", "=", "0", ";", "for", "(", "Structor", "&", "S", ":", "Structors", ")", "{", "if", "(", "const", "ConstantExpr", "*", "CE", "=", "dyn_cast", "<", "ConstantExpr", ">", "(", "S", ".", "Func", ")", ")", "S", ".", "Func", "=", "CE", "->", "getOperand", "(", "0", ")", ";", "llvm", "::", "GlobalAlias", "::", "create", "(", "GlobalValue", "::", "ExternalLinkage", ",", "(", "IsCtor", "?", "llvm", "::", "Twine", "(", "\"__sinit\"", ")", ":", "llvm", "::", "Twine", "(", "\"__sterm\"", ")", ")", "+", "llvm", "::", "Twine", "(", "convertToSinitPriority", "(", "S", ".", "Priority", ")", ")", "+", "llvm", "::", "Twine", "(", "\"_\"", ",", "FormatIndicatorAndUniqueModId", ")", "+", "llvm", "::", "Twine", "(", "\"_\"", ",", "llvm", "::", "utostr", "(", "Index", "++", ")", ")", ",", "cast", "<", "Function", ">", "(", "S", ".", "Func", ")", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "emits", "llvm.global_ctors", "or", "llvm.global_dtors", "list", "."], "TS_V_token": ["PowerPC", "PPC", "8", "0", "0", "\"__sinit\"", "\"__sterm\"", "\"_\"", "\"_\""], "File": "PPCAsmPrinter (2)3", "Func": "emitXXStructorList", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2187, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_check_builtin_isa_match", "(", "unsigned", "int", "fcode", ",", "HOST_WIDE_INT", "*", "pbisa", ",", "HOST_WIDE_INT", "*", "pbisa2", ")", "{", "HOST_WIDE_INT", "isa", "=", "ix86_isa_flags", ";", "HOST_WIDE_INT", "isa2", "=", "ix86_isa_flags2", ";", "HOST_WIDE_INT", "bisa", "=", "ix86_builtins_isa", "[", "fcode", "]", ".", "isa", ";", "HOST_WIDE_INT", "bisa2", "=", "ix86_builtins_isa", "[", "fcode", "]", ".", "isa2", ";", "if", "(", "(", "(", "bisa", "&", "(", "OPTION_MASK_ISA_SSE", "|", "OPTION_MASK_ISA_3DNOW_A", ")", ")", "==", "(", "OPTION_MASK_ISA_SSE", "|", "OPTION_MASK_ISA_3DNOW_A", ")", ")", "&&", "(", "isa", "&", "(", "OPTION_MASK_ISA_SSE", "|", "OPTION_MASK_ISA_3DNOW_A", ")", ")", "!=", "0", ")", "isa", "|=", "(", "OPTION_MASK_ISA_SSE", "|", "OPTION_MASK_ISA_3DNOW_A", ")", ";", "if", "(", "(", "(", "bisa", "&", "(", "OPTION_MASK_ISA_SSE4_2", "|", "OPTION_MASK_ISA_CRC32", ")", ")", "==", "(", "OPTION_MASK_ISA_SSE4_2", "|", "OPTION_MASK_ISA_CRC32", ")", ")", "&&", "(", "isa", "&", "(", "OPTION_MASK_ISA_SSE4_2", "|", "OPTION_MASK_ISA_CRC32", ")", ")", "!=", "0", ")", "isa", "|=", "(", "OPTION_MASK_ISA_SSE4_2", "|", "OPTION_MASK_ISA_CRC32", ")", ";", "if", "(", "(", "(", "bisa", "&", "(", "OPTION_MASK_ISA_FMA", "|", "OPTION_MASK_ISA_FMA4", ")", ")", "==", "(", "OPTION_MASK_ISA_FMA", "|", "OPTION_MASK_ISA_FMA4", ")", ")", "&&", "(", "isa", "&", "(", "OPTION_MASK_ISA_FMA", "|", "OPTION_MASK_ISA_FMA4", ")", ")", "!=", "0", ")", "isa", "|=", "(", "OPTION_MASK_ISA_FMA", "|", "OPTION_MASK_ISA_FMA4", ")", ";", "if", "(", "(", "(", "(", "bisa", "&", "(", "OPTION_MASK_ISA_AVX512VNNI", "|", "OPTION_MASK_ISA_AVX512VL", ")", ")", "==", "(", "OPTION_MASK_ISA_AVX512VNNI", "|", "OPTION_MASK_ISA_AVX512VL", ")", ")", "||", "(", "bisa2", "&", "OPTION_MASK_ISA2_AVXVNNI", ")", "!=", "0", ")", "&&", "(", "(", "(", "isa", "&", "(", "OPTION_MASK_ISA_AVX512VNNI", "|", "OPTION_MASK_ISA_AVX512VL", ")", ")", "==", "(", "OPTION_MASK_ISA_AVX512VNNI", "|", "OPTION_MASK_ISA_AVX512VL", ")", ")", "||", "(", "isa2", "&", "OPTION_MASK_ISA2_AVXVNNI", ")", "!=", "0", ")", ")", "{", "isa", "|=", "OPTION_MASK_ISA_AVX512VNNI", "|", "OPTION_MASK_ISA_AVX512VL", ";", "isa2", "|=", "OPTION_MASK_ISA2_AVXVNNI", ";", "}", "if", "(", "(", "(", "(", "bisa", "&", "(", "OPTION_MASK_ISA_AVX512IFMA", "|", "OPTION_MASK_ISA_AVX512VL", ")", ")", "==", "(", "OPTION_MASK_ISA_AVX512IFMA", "|", "OPTION_MASK_ISA_AVX512VL", ")", ")", "||", "(", "bisa2", "&", "OPTION_MASK_ISA2_AVXIFMA", ")", "!=", "0", ")", "&&", "(", "(", "(", "isa", "&", "(", "OPTION_MASK_ISA_AVX512IFMA", "|", "OPTION_MASK_ISA_AVX512VL", ")", ")", "==", "(", "OPTION_MASK_ISA_AVX512IFMA", "|", "OPTION_MASK_ISA_AVX512VL", ")", ")", "||", "(", "isa2", "&", "OPTION_MASK_ISA2_AVXIFMA", ")", "!=", "0", ")", ")", "{", "isa", "|=", "OPTION_MASK_ISA_AVX512IFMA", "|", "OPTION_MASK_ISA_AVX512VL", ";", "isa2", "|=", "OPTION_MASK_ISA2_AVXIFMA", ";", "}", "if", "(", "(", "(", "(", "bisa", "&", "OPTION_MASK_ISA_AVX512VL", ")", "!=", "0", "&&", "(", "bisa2", "&", "OPTION_MASK_ISA2_AVX512BF16", ")", "!=", "0", ")", "&&", "(", "bisa2", "&", "OPTION_MASK_ISA2_AVXNECONVERT", ")", "!=", "0", ")", "&&", "(", "(", "(", "isa", "&", "OPTION_MASK_ISA_AVX512VL", ")", "!=", "0", "&&", "(", "isa2", "&", "OPTION_MASK_ISA2_AVX512BF16", ")", "!=", "0", ")", "||", "(", "isa2", "&", "OPTION_MASK_ISA2_AVXNECONVERT", ")", "!=", "0", ")", ")", "{", "isa", "|=", "OPTION_MASK_ISA_AVX512VL", ";", "isa2", "|=", "OPTION_MASK_ISA2_AVXNECONVERT", "|", "OPTION_MASK_ISA2_AVX512BF16", ";", "}", "if", "(", "(", "bisa", "&", "OPTION_MASK_ISA_MMX", ")", "&&", "!", "TARGET_MMX", "&&", "TARGET_MMX_WITH_SSE", "&&", "fcode", "!=", "IX86_BUILTIN_MASKMOVQ", ")", "{", "bisa", "&=", "~", "OPTION_MASK_ISA_MMX", ";", "bisa", "|=", "OPTION_MASK_ISA_SSE2", ";", "}", "if", "(", "pbisa", ")", "*", "pbisa", "=", "bisa", ";", "if", "(", "pbisa2", ")", "*", "pbisa2", "=", "bisa2", ";", "return", "(", "bisa", "&", "isa", ")", "==", "bisa", "&&", "(", "bisa2", "&", "isa2", ")", "==", "bisa2", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "necessary", "isa", "options", "for", "this", "builtin", "exist", ",", "else", "false", ".", "fcode", "=", "DECL_MD_FUNCTION_CODE", "(", "fndecl", ")", ";"], "TS_V_token": ["i386", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"], "File": "i386-expand1", "Func": "ix86_check_builtin_isa_match", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2188, "Length": 440, "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": ["CJG"], "File": "CJGISelLowering", "Func": "shouldConvertConstantLoadToIntImm", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2189, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LC2200FrameLowering", "::", "determineFrameLayout", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "LC2200RegisterInfo", "*", "RI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "uint64_t", "FrameSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "unsigned", "StackAlign", "=", "getStackAlignment", "(", ")", ";", "if", "(", "RI", "->", "needsStackRealignment", "(", "MF", ")", ")", "{", "unsigned", "MaxStackAlign", "=", "std", "::", "max", "(", "StackAlign", ",", "MFI", ".", "getMaxAlignment", "(", ")", ")", ";", "FrameSize", "+=", "(", "MaxStackAlign", "-", "StackAlign", ")", ";", "StackAlign", "=", "MaxStackAlign", ";", "}", "uint64_t", "MaxCallSize", "=", "alignTo", "(", "MFI", ".", "getMaxCallFrameSize", "(", ")", ",", "StackAlign", ")", ";", "MFI", ".", "setMaxCallFrameSize", "(", "MaxCallSize", ")", ";", "FrameSize", "=", "alignTo", "(", "FrameSize", ",", "StackAlign", ")", ";", "MFI", ".", "setStackSize", "(", "FrameSize", ")", ";", "}", ""], "natrual_language": ["Determine", "the", "frame", "layout", "but", "do", "not", "update", "the", "machine", "function", "."], "TS_V_token": ["LC2200", "LC2200", "LC2200"], "File": "LC2200FrameLowering", "Func": "determineFrameLayout", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2190, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "check_use_sfunc_addr", "(", "rtx", "insn", ",", "rtx", "reg", ")", "{", "while", "(", "(", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", ")", "{", "if", "(", "GET_CODE", "(", "insn", ")", "==", "CODE_LABEL", "||", "GET_CODE", "(", "insn", ")", "==", "JUMP_INSN", ")", "break", ";", "if", "(", "!", "INSN_P", "(", "insn", ")", ")", "continue", ";", "if", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "SEQUENCE", ")", "insn", "=", "XVECEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ",", "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", "0"], "File": "sh3", "Func": "check_use_sfunc_addr", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2191, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZShortenInst", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "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": "SystemZShortenInst2", "Func": "runOnMachineFunction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2192, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "ARMTargetStreamer", "::", "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": ["ARM", "ARM"], "File": "ARMTargetStreamer10", "Func": "addConstantPoolEntry", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2193, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "x86_64_reg_class", "merge_classes", "(", "enum", "x86_64_reg_class", "class1", ",", "enum", "x86_64_reg_class", "class2", ")", "{", "if", "(", "class1", "==", "class2", ")", "return", "class1", ";", "if", "(", "class1", "==", "X86_64_NO_CLASS", ")", "return", "class2", ";", "if", "(", "class2", "==", "X86_64_NO_CLASS", ")", "return", "class1", ";", "if", "(", "class1", "==", "X86_64_MEMORY_CLASS", "||", "class2", "==", "X86_64_MEMORY_CLASS", ")", "return", "X86_64_MEMORY_CLASS", ";", "if", "(", "(", "class1", "==", "X86_64_INTEGERSI_CLASS", "&&", "(", "class2", "==", "X86_64_SSESF_CLASS", "||", "class2", "==", "X86_64_SSEHF_CLASS", ")", ")", "||", "(", "class2", "==", "X86_64_INTEGERSI_CLASS", "&&", "(", "class1", "==", "X86_64_SSESF_CLASS", "||", "class1", "==", "X86_64_SSEHF_CLASS", ")", ")", ")", "return", "X86_64_INTEGERSI_CLASS", ";", "if", "(", "class1", "==", "X86_64_INTEGER_CLASS", "||", "class1", "==", "X86_64_INTEGERSI_CLASS", "||", "class2", "==", "X86_64_INTEGER_CLASS", "||", "class2", "==", "X86_64_INTEGERSI_CLASS", ")", "return", "X86_64_INTEGER_CLASS", ";", "if", "(", "class1", "==", "X86_64_X87_CLASS", "||", "class1", "==", "X86_64_X87UP_CLASS", "||", "class1", "==", "X86_64_COMPLEX_X87_CLASS", "||", "class2", "==", "X86_64_X87_CLASS", "||", "class2", "==", "X86_64_X87UP_CLASS", "||", "class2", "==", "X86_64_COMPLEX_X87_CLASS", ")", "return", "X86_64_MEMORY_CLASS", ";", "return", "X86_64_SSE_CLASS", ";", "}", ""], "natrual_language": ["Return", "the", "union", "class", "of", "CLASS1", "and", "CLASS2", ".", "See", "the", "x86-64", "PS", "ABI", "for", "details", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "merge_classes", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2194, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_detect_scalar_stmt_subtype", "(", "vec_info", "*", "vinfo", ",", "vect_cost_for_stmt", "kind", ",", "stmt_vec_info", "stmt_info", ",", "unsigned", "int", "stmt_cost", ")", "{", "if", "(", "kind", "==", "scalar_stmt", "&&", "aarch64_extending_load_p", "(", "vinfo", ",", "stmt_info", ")", ")", "return", "0", ";", "return", "stmt_cost", ";", "}", ""], "natrual_language": ["STMT_COST", "is", "the", "cost", "calculated", "by", "aarch64_builtin_vectorization_cost", "for", "STMT_INFO", ",", "which", "has", "cost", "kind", "KIND", ".", "If", "this", "is", "a", "scalar", "operation", ",", "try", "to", "subdivide", "the", "target-independent", "categorization", "provided", "by", "KIND", "to", "get", "a", "more", "accurate", "cost", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch641", "Func": "aarch64_detect_scalar_stmt_subtype", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2195, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isNarrowingProfitable", "(", "EVT", "VT1", ",", "EVT", "VT2", ")", "const", "{", "return", "!", "(", "VT1", "==", "MVT", "::", "i32", "&&", "VT2", "==", "MVT", "::", "i16", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "'s", "profitable", "to", "narrow", "operations", "of", "type", "SrcVT", "to", "DestVT", "."], "TS_V_token": ["X86", "X86", "MVT::i32", "MVT::i16"], "File": "X86ISelLowering (2)", "Func": "isNarrowingProfitable", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2196, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_const_vector_bitimm_clr_p", "(", "rtx", "op", ",", "machine_mode", "mode", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "==", "CONST_VECTOR", "&&", "op", "!=", "CONSTM1_RTX", "(", "mode", ")", ")", "{", "unsigned", "HOST_WIDE_INT", "val", "=", "~", "UINTVAL", "(", "CONST_VECTOR_ELT", "(", "op", ",", "0", ")", ")", ";", "int", "vlog2", "=", "exact_log2", "(", "val", "&", "GET_MODE_MASK", "(", "GET_MODE_INNER", "(", "mode", ")", ")", ")", ";", "if", "(", "vlog2", "!=", "-", "1", ")", "{", "gcc_assert", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_INT", ")", ";", "gcc_assert", "(", "vlog2", ">=", "0", "&&", "vlog2", "<=", "GET_MODE_UNIT_BITSIZE", "(", "mode", ")", "-", "1", ")", ";", "return", "mips_const_vector_same_val_p", "(", "op", ",", "mode", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "is", "a", "constant", "vector", "with", "the", "number", "of", "units", "in", "MODE", ",", "and", "each", "unit", "has", "the", "same", "bit", "clear", "."], "TS_V_token": ["mips", "0", "1", "0", "1"], "File": "mips", "Func": "mips_const_vector_bitimm_clr_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2197, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mmix_rtx_costs", "(", "rtx", "x", "ATTRIBUTE_UNUSED", ",", "int", "code", "ATTRIBUTE_UNUSED", ",", "int", "outer_code", "ATTRIBUTE_UNUSED", ",", "int", "opno", "ATTRIBUTE_UNUSED", ",", "int", "*", "total", "ATTRIBUTE_UNUSED", ",", "bool", "speed", "ATTRIBUTE_UNUSED", ")", "{", "return", "false", ";", "}", ""], "natrual_language": ["TARGET_RTX_COSTS", "."], "TS_V_token": ["mmix"], "File": "mmix4", "Func": "mmix_rtx_costs", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2198, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsCodeEmitter", "::", "getBranchTarget26OpValue", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "OpNo", ")", "const", "{", "llvm_unreachable", "(", "\"Unimplemented function.\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTarget26OpValue", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "."], "TS_V_token": ["Mips", "Mips", "\"Unimplemented function.\"", "0"], "File": "MipsCodeEmitter11", "Func": "getBranchTarget26OpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2199, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "flags_from_code", "(", "enum", "rtx_code", "code", ")", "{", "switch", "(", "code", ")", "{", "case", "LT", ":", "case", "GE", ":", "return", "CC_FLAG_S", ";", "case", "GT", ":", "case", "LE", ":", "return", "CC_FLAG_S", "|", "CC_FLAG_O", "|", "CC_FLAG_Z", ";", "case", "GEU", ":", "case", "LTU", ":", "return", "CC_FLAG_C", ";", "case", "GTU", ":", "case", "LEU", ":", "return", "CC_FLAG_C", "|", "CC_FLAG_Z", ";", "case", "EQ", ":", "case", "NE", ":", "return", "CC_FLAG_Z", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Convert", "an", "RTX_CODE", "to", "the", "set", "of", "flags", "needed", "to", "implement", "it", ".", "This", "assumes", "an", "integer", "comparison", "."], "TS_V_token": ["rx"], "File": "rx", "Func": "flags_from_code", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2200, "Length": 74, "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": 2201, "Length": 425, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "getOperandLatency", "(", "const", "InstrItineraryData", "*", "ItinData", ",", "SDNode", "*", "DefNode", ",", "unsigned", "DefIdx", ",", "SDNode", "*", "UseNode", ",", "unsigned", "UseIdx", ")", "const", "override", "{", "return", "PPCGenInstrInfo", "::", "getOperandLatency", "(", "ItinData", ",", "DefNode", ",", "DefIdx", ",", "UseNode", ",", "UseIdx", ")", ";", "}", ""], "natrual_language": ["Compute", "and", "return", "the", "use", "operand", "latency", "of", "a", "given", "pair", "of", "def", "and", "use", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCInstrInfo (2)2", "Func": "getOperandLatency", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2202, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CSKYInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "Register", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "CSKYMachineFunctionInfo", "*", "CFI", "=", "MF", ".", "getInfo", "<", "CSKYMachineFunctionInfo", ">", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "Opcode", "=", "0", ";", "if", "(", "CSKY", "::", "GPRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "Opcode", "=", "CSKY", "::", "LD32W", ";", "}", "else", "if", "(", "CSKY", "::", "CARRYRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "Opcode", "=", "CSKY", "::", "RESTORE_CARRY", ";", "CFI", "->", "setSpillsCR", "(", ")", ";", "}", "else", "{", "llvm_unreachable", "(", "\"Unknown RegisterClass\"", ")", ";", "}", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlign", "(", "FI", ")", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opcode", ")", ",", "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": ["CSKY", "CSKY", "CSKY", "CSKY", "0", "CSKY::GPRRegClass", "CSKY::LD32W", "CSKY::CARRYRegClass", "CSKY::RESTORE_CARRY", "\"Unknown RegisterClass\"", "0"], "File": "CSKYInstrInfo4", "Func": "loadRegFromStackSlot", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2203, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "*", "iq2000_output_conditional_branch", "(", "rtx", "insn", ",", "rtx", "*", "operands", ",", "int", "two_operands_p", ",", "int", "float_p", ",", "int", "inverted_p", ",", "int", "length", ")", "{", "static", "char", "buffer", "[", "200", "]", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "operands", "[", "0", "]", ")", ";", "int", "need_z_p", ";", "const", "char", "*", "op1", "=", "\"%z2\"", ";", "const", "char", "*", "op2", "=", "(", "two_operands_p", "?", "\",%z3\"", ":", "\",%.\"", ")", ";", "const", "char", "*", "comp", "=", "(", "float_p", "?", "\"%F0\"", ":", "\"%C0\"", ")", ";", "const", "char", "*", "inverted_comp", "=", "(", "float_p", "?", "\"%W0\"", ":", "\"%N0\"", ")", ";", "iq2000_branch_likely", "=", "(", "final_sequence", "&&", "INSN_ANNULLED_BRANCH_P", "(", "insn", ")", ")", ";", "if", "(", "!", "two_operands_p", ")", "{", "switch", "(", "code", ")", "{", "case", "GTU", ":", "code", "=", "NE", ";", "break", ";", "case", "LEU", ":", "code", "=", "EQ", ";", "break", ";", "case", "GEU", ":", "code", "=", "EQ", ";", "op1", "=", "\"%.\"", ";", "break", ";", "case", "LTU", ":", "code", "=", "NE", ";", "op1", "=", "\"%.\"", ";", "break", ";", "default", ":", "break", ";", "}", "}", "need_z_p", "=", "(", "!", "float_p", "&&", "code", "!=", "EQ", "&&", "code", "!=", "NE", ")", ";", "if", "(", "need_z_p", ")", "op2", "=", "\"\"", ";", "buffer", "[", "0", "]", "=", "'\\0'", ";", "switch", "(", "length", ")", "{", "case", "4", ":", "case", "8", ":", "if", "(", "float_p", ")", "sprintf", "(", "buffer", ",", "\"b%s%%?\\t%%Z2%%1\"", ",", "inverted_p", "?", "inverted_comp", ":", "comp", ")", ";", "else", "sprintf", "(", "buffer", ",", "\"b%s%s%%?\\t%s%s,%%1\"", ",", "inverted_p", "?", "inverted_comp", ":", "comp", ",", "need_z_p", "?", "\"z\"", ":", "\"\"", ",", "op1", ",", "op2", ")", ";", "return", "buffer", ";", "case", "12", ":", "case", "16", ":", "{", "const", "char", "*", "target", "=", "(", "(", "iq2000_branch_likely", "||", "length", "==", "16", ")", "?", "\".+16\"", ":", "\".+12\"", ")", ";", "char", "*", "c", ";", "c", "=", "strchr", "(", "buffer", ",", "'\\0'", ")", ";", "if", "(", "float_p", ")", "sprintf", "(", "c", ",", "\"b%s\\t%%Z2%s\"", ",", "inverted_p", "?", "comp", ":", "inverted_comp", ",", "target", ")", ";", "else", "sprintf", "(", "c", ",", "\"b%s%s\\t%s%s,%s\"", ",", "inverted_p", "?", "comp", ":", "inverted_comp", ",", "need_z_p", "?", "\"z\"", ":", "\"\"", ",", "op1", ",", "op2", ",", "target", ")", ";", "strcat", "(", "c", ",", "\"\\n\\tnop\\n\\tj\\t%1\"", ")", ";", "if", "(", "length", "==", "16", ")", "strcat", "(", "buffer", ",", "\"\\n\\tnop\"", ")", ";", "return", "buffer", ";", "}", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Output", "assembly", "instructions", "to", "perform", "a", "conditional", "branch", ".", "INSN", "is", "the", "branch", "instruction", ".", "OPERANDS", "[", "0", "]", "is", "the", "condition", ".", "OPERANDS", "[", "1", "]", "is", "the", "target", "of", "the", "branch", ".", "OPERANDS", "[", "2", "]", "is", "the", "target", "of", "the", "first", "operand", "to", "the", "condition", ".", "If", "TWO_OPERANDS_P", "is", "nonzero", "the", "comparison", "takes", "two", "operands", ";", "OPERANDS", "[", "3", "]", "will", "be", "the", "second", "operand", ".", "If", "INVERTED_P", "is", "nonzero", "we", "are", "to", "branch", "if", "the", "condition", "does", "not", "hold", ".", "If", "FLOAT_P", "is", "nonzero", "this", "is", "a", "floating-point", "comparison", ".", "LENGTH", "is", "the", "length", "(", "in", "bytes", ")", "of", "the", "sequence", "we", "are", "to", "generate", ".", "That", "tells", "us", "whether", "to", "generate", "a", "simple", "conditional", "branch", ",", "or", "a", "reversed", "conditional", "branch", "around", "a", "`", "jr", "'", "instruction", "."], "TS_V_token": ["iq2000", "200", "0", "\"%z2\"", "\",%z3\"", "\",%.\"", "\"%F0\"", "\"%C0\"", "\"%W0\"", "\"%N0\"", "\"%.\"", "\"%.\"", "\"\"", "0", "4", "8", "\"b%s%%?\\t%%Z2%%1\"", "\"b%s%s%%?\\t%s%s,%%1\"", "\"z\"", "\"\"", "12", "16", "16", "\".+16\"", "\".+12\"", "\"b%s\\t%%Z2%s\"", "\"b%s%s\\t%s%s,%s\"", "\"z\"", "\"\"", "\"\\n\\tnop\\n\\tj\\t%1\"", "16", "\"\\n\\tnop\"", "0"], "File": "iq20002", "Func": "iq2000_output_conditional_branch", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2204, "Length": 368, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "emitFrameDirective", "(", "MachineFunction", "&", "MF", ")", "{", "const", "TargetRegisterInfo", "&", "RI", "=", "*", "TM", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "stackReg", "=", "RI", ".", "getFrameRegister", "(", "MF", ")", ";", "unsigned", "returnReg", "=", "RI", ".", "getRARegister", "(", ")", ";", "unsigned", "stackSize", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "O", "<<", "\"\\t.frame\\t\"", "<<", "'$'", "<<", "LowercaseString", "(", "RI", ".", "get", "(", "stackReg", ")", ".", "AsmName", ")", "<<", "','", "<<", "stackSize", "<<", "','", "<<", "'$'", "<<", "LowercaseString", "(", "RI", ".", "get", "(", "returnReg", ")", ".", "AsmName", ")", "<<", "'\\n'", ";", "}", ""], "natrual_language": ["Frame", "Directive", "."], "TS_V_token": ["Mips", "Mips", "\"\\t.frame\\t\""], "File": "MipsAsmPrinter31", "Func": "emitFrameDirective", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2205, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86TargetLowering", "::", "ConstraintType", "X86TargetLowering", "::", "getConstraintType", "(", "StringRef", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'R'", ":", "case", "'q'", ":", "case", "'Q'", ":", "case", "'f'", ":", "case", "'t'", ":", "case", "'u'", ":", "case", "'y'", ":", "case", "'x'", ":", "case", "'v'", ":", "case", "'Y'", ":", "case", "'l'", ":", "case", "'k'", ":", "return", "C_RegisterClass", ";", "case", "'a'", ":", "case", "'b'", ":", "case", "'c'", ":", "case", "'d'", ":", "case", "'S'", ":", "case", "'D'", ":", "case", "'A'", ":", "return", "C_Register", ";", "case", "'I'", ":", "case", "'J'", ":", "case", "'K'", ":", "case", "'L'", ":", "case", "'M'", ":", "case", "'N'", ":", "case", "'G'", ":", "case", "'C'", ":", "case", "'e'", ":", "case", "'Z'", ":", "return", "C_Other", ";", "default", ":", "break", ";", "}", "}", "else", "if", "(", "Constraint", ".", "size", "(", ")", "==", "2", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'Y'", ":", "switch", "(", "Constraint", "[", "1", "]", ")", "{", "default", ":", "break", ";", "case", "'z'", ":", "case", "'0'", ":", "return", "C_Register", ";", "case", "'i'", ":", "case", "'m'", ":", "case", "'k'", ":", "case", "'t'", ":", "case", "'2'", ":", "return", "C_RegisterClass", ";", "}", "}", "}", "else", "if", "(", "parseConstraintCode", "(", "Constraint", ")", "!=", "X86", "::", "COND_INVALID", ")", "return", "C_Other", ";", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "."], "TS_V_token": ["X86", "X86", "X86", "1", "0", "2", "0", "1", "X86::COND_INVALID"], "File": "X86ISelLowering108", "Func": "getConstraintType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2206, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "isPredicable", "(", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "return", "STI", ".", "hasLoadStoreOnCond", "(", ")", "&&", "getConditionalMove", "(", "Opcode", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "instruction", "can", "be", "predicated", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZInstrInfo6", "Func": "isPredicable", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2207, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "nds32_init_expanders", "(", "void", ")", "{", "init_machine_status", "=", "nds32_init_machine_status", ";", "}", ""], "natrual_language": ["Defining", "Data", "Structures", "for", "Per-function", "Information", "."], "TS_V_token": ["nds32"], "File": "nds32", "Func": "nds32_init_expanders", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2208, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "arm_identify_fpu_from_isa", "(", "sbitmap", "isa", ")", "{", "auto_sbitmap", "fpubits", "(", "isa_num_bits", ")", ";", "auto_sbitmap", "cand_fpubits", "(", "isa_num_bits", ")", ";", "bitmap_and", "(", "fpubits", ",", "isa", ",", "isa_all_fpubits_internal", ")", ";", "if", "(", "bitmap_empty_p", "(", "fpubits", ")", ")", "return", "\"softvfp\"", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "TARGET_FPU_auto", ";", "i", "++", ")", "{", "arm_initialize_isa", "(", "cand_fpubits", ",", "all_fpus", "[", "i", "]", ".", "isa_bits", ")", ";", "if", "(", "bitmap_equal_p", "(", "fpubits", ",", "cand_fpubits", ")", ")", "return", "all_fpus", "[", "i", "]", ".", "name", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Match", "an", "ISA", "feature", "bitmap", "to", "a", "named", "FPU", ".", "We", "always", "use", "the", "first", "entry", "that", "exactly", "matches", "the", "feature", "set", ",", "so", "that", "we", "effectively", "canonicalize", "the", "FPU", "name", "for", "the", "assembler", "."], "TS_V_token": ["arm", "\"softvfp\"", "0"], "File": "arm", "Func": "arm_identify_fpu_from_isa", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2209, "Length": 92, "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", "(", ")", ".", "getObjectFormat", "(", ")", "==", "Triple", "::", "MachO", "&&", "\"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": "ARMBaseInstrInfo106", "Func": "expandPostRAPseudo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2210, "Length": 439, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "AArch64TTIImpl", "::", "getIntImmCostInst", "(", "unsigned", "Opcode", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "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", "::", "Add", ":", "case", "Instruction", "::", "Sub", ":", "case", "Instruction", "::", "Mul", ":", "case", "Instruction", "::", "UDiv", ":", "case", "Instruction", "::", "SDiv", ":", "case", "Instruction", "::", "URem", ":", "case", "Instruction", "::", "SRem", ":", "case", "Instruction", "::", "And", ":", "case", "Instruction", "::", "Or", ":", "case", "Instruction", "::", "Xor", ":", "case", "Instruction", "::", "ICmp", ":", "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", "=", "AArch64TTIImpl", "::", "getIntImmCost", "(", "Imm", ",", "Ty", ",", "CostKind", ")", ";", "return", "(", "Cost", "<=", "NumConstants", "*", "TTI", "::", "TCC_Basic", ")", "?", "static_cast", "<", "int", ">", "(", "TTI", "::", "TCC_Free", ")", ":", "Cost", ";", "}", "return", "AArch64TTIImpl", "::", "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": ["AArch64", "AArch64", "0", "0U", "0", "2", "0", "1", "1", "63", "64", "AArch64", "AArch64"], "File": "AArch64TargetTransformInfo2", "Func": "getIntImmCostInst", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2211, "Length": 323, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "save_global_or_fp_reg_p", "(", "unsigned", "int", "regno", ",", "int", "leaf_function", "ATTRIBUTE_UNUSED", ")", "{", "return", "!", "call_used_or_fixed_reg_p", "(", "regno", ")", "&&", "df_regs_ever_live_p", "(", "regno", ")", ";", "}", ""], "natrual_language": ["Return", "whether", "REGNO", ",", "a", "global", "or", "FP", "register", ",", "must", "be", "saved/restored", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "save_global_or_fp_reg_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2212, "Length": 27, "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": 2213, "Length": 368, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64DeadRegisterDefinitions", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** AArch64DeadRegisterDefinitions *****\\n\"", ")", ";", "Changed", "=", "false", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "processMachineBasicBlock", "(", "MBB", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"***** AArch64DeadRegisterDefinitions *****\\n\""], "File": "AArch64DeadRegisterDefinitionsPass", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2214, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsDAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "Ret", "=", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "ProcessFunctionAfterISel", "(", "MF", ")", ";", "return", "Ret", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsISelDAGToDAG18", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2215, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcSubtarget", "&", "SparcSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "UseSoftMulDiv", "=", "false", ";", "IsV9", "=", "false", ";", "IsLeon", "=", "false", ";", "V8DeprecatedInsts", "=", "false", ";", "IsVIS", "=", "false", ";", "HasHardQuad", "=", "false", ";", "UsePopc", "=", "false", ";", "UseSoftFloat", "=", "false", ";", "HasLeonCasa", "=", "false", ";", "HasUmacSmac", "=", "false", ";", "PerformSDIVReplace", "=", "false", ";", "InsertNOPLoad", "=", "false", ";", "FixFSMULD", "=", "false", ";", "ReplaceFMULS", "=", "false", ";", "FixAllFDIVSQRT", "=", "false", ";", "DetectRoundChange", "=", "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": "SparcSubtarget23", "Func": "initializeSubtargetDependencies", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2216, "Length": 123, "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", ")", ".", "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"], "File": "MipsAsmBackend50", "Func": "getFixupKind", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2217, "Length": 402, "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", "::", "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", "(", ")", ")", ";", "}", "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::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"], "File": "AArch64ISelLowering21", "Func": "LowerOperation", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2218, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", "const", "{", "Value", "=", "adjustFixupValue", "(", "Fixup", ".", "getKind", "(", ")", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "4", ";", "++", "i", ")", "Data", "[", "Offset", "+", "i", "]", "|=", "uint8_t", "(", "(", "Value", ">>", "(", "(", "4", "-", "i", "-", "1", ")", "*", "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": ["Sparc", "0", "4", "4", "1", "8", "0xff"], "File": "SparcAsmBackend17", "Func": "applyFixup", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2219, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0TargetLowering", "::", "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": ["Cpu0", "Cpu0"], "File": "Cpu0ISelLowering", "Func": "isOffsetFoldingLegal", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2220, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "xstormy16_expand_builtin_va_start", "(", "tree", "valist", ",", "rtx", "nextarg", "ATTRIBUTE_UNUSED", ")", "{", "tree", "f_base", ",", "f_count", ";", "tree", "base", ",", "count", ";", "tree", "t", ",", "u", ";", "if", "(", "xstormy16_interrupt_function_p", "(", ")", ")", "error", "(", "\"cannot use % in interrupt function\"", ")", ";", "f_base", "=", "TYPE_FIELDS", "(", "va_list_type_node", ")", ";", "f_count", "=", "DECL_CHAIN", "(", "f_base", ")", ";", "base", "=", "build3", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_base", ")", ",", "valist", ",", "f_base", ",", "NULL_TREE", ")", ";", "count", "=", "build3", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_count", ")", ",", "valist", ",", "f_count", ",", "NULL_TREE", ")", ";", "t", "=", "make_tree", "(", "TREE_TYPE", "(", "base", ")", ",", "virtual_incoming_args_rtx", ")", ";", "u", "=", "build_int_cst", "(", "NULL_TREE", ",", "-", "INCOMING_FRAME_SP_OFFSET", ")", ";", "u", "=", "fold_convert", "(", "TREE_TYPE", "(", "count", ")", ",", "u", ")", ";", "t", "=", "fold_build_pointer_plus", "(", "t", ",", "u", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "base", ")", ",", "base", ",", "t", ")", ";", "TREE_SIDE_EFFECTS", "(", "t", ")", "=", "1", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "count", ")", ",", "count", ",", "build_int_cst", "(", "NULL_TREE", ",", "crtl", "->", "args", ".", "info", "*", "UNITS_PER_WORD", ")", ")", ";", "TREE_SIDE_EFFECTS", "(", "t", ")", "=", "1", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "stdarg/varargs", "va_start", "macro", ".", "STDARG_P", "is", "non-zero", "if", "this", "is", "stdarg.h", "instead", "of", "varargs.h", ".", "VALIST", "is", "the", "tree", "of", "the", "va_list", "variable", "to", "initialize", ".", "NEXTARG", "is", "the", "machine", "independent", "notion", "of", "the", "'next", "'", "argument", "after", "the", "variable", "arguments", "."], "TS_V_token": ["stormy16", "\"cannot use % in interrupt function\"", "1", "1"], "File": "stormy16", "Func": "xstormy16_expand_builtin_va_start", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2221, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_output_indirect_branch_via_push", "(", "rtx", "call_op", ",", "const", "char", "*", "xasm", ",", "bool", "sibcall_p", ")", "{", "char", "thunk_name_buf", "[", "32", "]", ";", "char", "*", "thunk_name", ";", "char", "push_buf", "[", "64", "]", ";", "enum", "indirect_thunk_prefix", "need_prefix", "=", "indirect_thunk_need_prefix", "(", "current_output_insn", ")", ";", "int", "regno", "=", "-", "1", ";", "if", "(", "cfun", "->", "machine", "->", "indirect_branch_type", "!=", "indirect_branch_thunk_inline", ")", "{", "if", "(", "cfun", "->", "machine", "->", "indirect_branch_type", "==", "indirect_branch_thunk", ")", "{", "if", "(", "need_prefix", "==", "indirect_thunk_prefix_bnd", ")", "indirect_thunk_bnd_needed", "=", "true", ";", "else", "indirect_thunk_needed", "=", "true", ";", "}", "indirect_thunk_name", "(", "thunk_name_buf", ",", "regno", ",", "need_prefix", ",", "false", ")", ";", "thunk_name", "=", "thunk_name_buf", ";", "}", "else", "thunk_name", "=", "NULL", ";", "snprintf", "(", "push_buf", ",", "sizeof", "(", "push_buf", ")", ",", "\"push{%c}\\t%s\"", ",", "TARGET_64BIT", "?", "'q'", ":", "'l'", ",", "xasm", ")", ";", "if", "(", "sibcall_p", ")", "{", "output_asm_insn", "(", "push_buf", ",", "&", "call_op", ")", ";", "if", "(", "thunk_name", "!=", "NULL", ")", "{", "if", "(", "need_prefix", "==", "indirect_thunk_prefix_bnd", ")", "fprintf", "(", "asm_out_file", ",", "\"\\tbnd jmp\\t%s\\n\"", ",", "thunk_name", ")", ";", "else", "fprintf", "(", "asm_out_file", ",", "\"\\tjmp\\t%s\\n\"", ",", "thunk_name", ")", ";", "}", "else", "output_indirect_thunk", "(", "need_prefix", ",", "regno", ")", ";", "}", "else", "{", "char", "indirectlabel1", "[", "32", "]", ";", "char", "indirectlabel2", "[", "32", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "indirectlabel1", ",", "INDIRECT_LABEL", ",", "indirectlabelno", "++", ")", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "indirectlabel2", ",", "INDIRECT_LABEL", ",", "indirectlabelno", "++", ")", ";", "if", "(", "need_prefix", "==", "indirect_thunk_prefix_bnd", ")", "fputs", "(", "\"\\tbnd jmp\\t\"", ",", "asm_out_file", ")", ";", "else", "fputs", "(", "\"\\tjmp\\t\"", ",", "asm_out_file", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "indirectlabel2", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "indirectlabel1", ")", ";", "if", "(", "MEM_P", "(", "call_op", ")", ")", "{", "struct", "ix86_address", "parts", ";", "rtx", "addr", "=", "XEXP", "(", "call_op", ",", "0", ")", ";", "if", "(", "ix86_decompose_address", "(", "addr", ",", "&", "parts", ")", "&&", "parts", ".", "base", "==", "stack_pointer_rtx", ")", "{", "if", "(", "parts", ".", "index", ")", "{", "addr", "=", "gen_rtx_MULT", "(", "Pmode", ",", "parts", ".", "index", ",", "GEN_INT", "(", "parts", ".", "scale", ")", ")", ";", "addr", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "addr", ")", ";", "}", "else", "addr", "=", "stack_pointer_rtx", ";", "rtx", "disp", ";", "if", "(", "parts", ".", "disp", "!=", "NULL_RTX", ")", "disp", "=", "plus_constant", "(", "Pmode", ",", "parts", ".", "disp", ",", "UNITS_PER_WORD", ")", ";", "else", "disp", "=", "GEN_INT", "(", "UNITS_PER_WORD", ")", ";", "addr", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "addr", ",", "disp", ")", ";", "call_op", "=", "gen_rtx_MEM", "(", "GET_MODE", "(", "call_op", ")", ",", "addr", ")", ";", "}", "}", "output_asm_insn", "(", "push_buf", ",", "&", "call_op", ")", ";", "if", "(", "thunk_name", "!=", "NULL", ")", "{", "if", "(", "need_prefix", "==", "indirect_thunk_prefix_bnd", ")", "fprintf", "(", "asm_out_file", ",", "\"\\tbnd jmp\\t%s\\n\"", ",", "thunk_name", ")", ";", "else", "fprintf", "(", "asm_out_file", ",", "\"\\tjmp\\t%s\\n\"", ",", "thunk_name", ")", ";", "}", "else", "output_indirect_thunk", "(", "need_prefix", ",", "regno", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "indirectlabel2", ")", ";", "if", "(", "need_prefix", "==", "indirect_thunk_prefix_bnd", ")", "fputs", "(", "\"\\tbnd call\\t\"", ",", "asm_out_file", ")", ";", "else", "fputs", "(", "\"\\tcall\\t\"", ",", "asm_out_file", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "indirectlabel1", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "}", "}", ""], "natrual_language": ["Output", "indirect", "branch", "via", "a", "call", "and", "return", "thunk", ".", "CALL_OP", "is", "the", "branch", "target", ".", "XASM", "is", "the", "assembly", "template", "for", "CALL_OP", ".", "Branch", "is", "a", "tail", "call", "if", "SIBCALL_P", "is", "true", ".", "A", "normal", "call", "is", "converted", "to", ":", "jmp", "L2", "L1", ":", "push", "CALL_OP", "jmp", "__x86_indirect_thunk", "L2", ":", "call", "L1", "and", "a", "tail", "call", "is", "converted", "to", ":", "push", "CALL_OP", "jmp", "__x86_indirect_thunk"], "TS_V_token": ["i386", "32", "64", "1", "\"push{%c}\\t%s\"", "\"\\tbnd jmp\\t%s\\n\"", "\"\\tjmp\\t%s\\n\"", "32", "32", "\"\\tbnd jmp\\t\"", "\"\\tjmp\\t\"", "0", "\"\\tbnd jmp\\t%s\\n\"", "\"\\tjmp\\t%s\\n\"", "\"\\tbnd call\\t\"", "\"\\tcall\\t\""], "File": "i3867", "Func": "ix86_output_indirect_branch_via_push", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2222, "Length": 488, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_darwin64_record_arg_advance_flush", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "HOST_WIDE_INT", "bitpos", ")", "{", "unsigned", "int", "startbit", ",", "endbit", ";", "int", "intregs", ",", "intoffset", ";", "enum", "machine_mode", "mode", ";", "if", "(", "cum", "->", "intoffset", "==", "-", "1", ")", "return", ";", "intoffset", "=", "cum", "->", "intoffset", ";", "cum", "->", "intoffset", "=", "-", "1", ";", "if", "(", "intoffset", "%", "BITS_PER_WORD", "!=", "0", ")", "{", "mode", "=", "mode_for_size", "(", "BITS_PER_WORD", "-", "intoffset", "%", "BITS_PER_WORD", ",", "MODE_INT", ",", "0", ")", ";", "if", "(", "mode", "==", "BLKmode", ")", "{", "intoffset", "=", "intoffset", "&", "-", "BITS_PER_WORD", ";", "}", "}", "startbit", "=", "intoffset", "&", "-", "BITS_PER_WORD", ";", "endbit", "=", "(", "bitpos", "+", "BITS_PER_WORD", "-", "1", ")", "&", "-", "BITS_PER_WORD", ";", "intregs", "=", "(", "endbit", "-", "startbit", ")", "/", "BITS_PER_WORD", ";", "cum", "->", "words", "+=", "intregs", ";", "}", ""], "natrual_language": ["Use", "this", "to", "flush", "pending", "int", "fields", "."], "TS_V_token": ["rs6000", "1", "1", "0", "0", "1"], "File": "rs60003", "Func": "rs6000_darwin64_record_arg_advance_flush", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2223, "Length": 128, "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", "(", "VOIDmode", ",", "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": "arm4", "Func": "thumb_set_frame_pointer", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2224, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "in_same_chain", "(", "rtx_insn", "*", "insn", ",", "rtx_insn", "*", "cand", ",", "unsigned", "regno", ")", "{", "struct", "du_chain", "*", "chain", "=", "NULL", ";", "du_head_p", "head", "=", "NULL", ";", "int", "i", ";", "operand_rr_info", "*", "op_info", "=", "insn_rr", "[", "INSN_UID", "(", "insn", ")", "]", ".", "op_info", ";", "for", "(", "i", "=", "0", ";", "i", "<", "op_info", "->", "n_chains", ";", "i", "++", ")", "{", "if", "(", "op_info", "->", "heads", "[", "i", "]", "->", "regno", "!=", "regno", ")", "continue", ";", "head", "=", "op_info", "->", "heads", "[", "i", "]", ";", "if", "(", "!", "head", "->", "first", ")", "head", "=", "regrename_chain_from_id", "(", "head", "->", "id", ")", ";", "bool", "found_insn", "=", "false", ",", "found_cand", "=", "false", ";", "for", "(", "chain", "=", "head", "->", "first", ";", "chain", ";", "chain", "=", "chain", "->", "next_use", ")", "{", "rtx", "*", "loc", "=", "&", "SET_DEST", "(", "PATTERN", "(", "chain", "->", "insn", ")", ")", ";", "if", "(", "chain", "->", "loc", "!=", "loc", ")", "continue", ";", "if", "(", "chain", "->", "insn", "==", "insn", ")", "found_insn", "=", "true", ";", "if", "(", "chain", "->", "insn", "==", "cand", ")", "found_cand", "=", "true", ";", "if", "(", "found_insn", "&&", "found_cand", ")", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "whether", "INSN", "and", "CAND", "are", "in", "the", "same", "def/use", "chain", "."], "TS_V_token": ["aarch64", "0"], "File": "falkor-tag-collision-avoidance", "Func": "in_same_chain", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2225, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "rs6000_invalid_within_doloop", "(", "rtx", "insn", ")", "{", "if", "(", "CALL_P", "(", "insn", ")", ")", "return", "\"Function call in the loop.\"", ";", "if", "(", "JUMP_P", "(", "insn", ")", "&&", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "ADDR_DIFF_VEC", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "ADDR_VEC", ")", ")", "return", "\"Computed branch in the loop.\"", ";", "return", "NULL", ";", "}", ""], "natrual_language": ["NULL", "if", "INSN", "insn", "is", "valid", "within", "a", "low-overhead", "loop", ".", "Otherwise", "return", "why", "doloop", "can", "not", "be", "applied", ".", "PowerPC", "uses", "the", "COUNT", "register", "for", "branch", "on", "table", "instructions", "."], "TS_V_token": ["rs6000", "\"Function call in the loop.\"", "\"Computed branch in the loop.\""], "File": "rs60003", "Func": "rs6000_invalid_within_doloop", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2226, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rsqrte_type", "get_rsqrte_type", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_DFmode", ":", "return", "gen_aarch64_rsqrtedf", ";", "case", "E_SFmode", ":", "return", "gen_aarch64_rsqrtesf", ";", "case", "E_V2DFmode", ":", "return", "gen_aarch64_rsqrtev2df", ";", "case", "E_V2SFmode", ":", "return", "gen_aarch64_rsqrtev2sf", ";", "case", "E_V4SFmode", ":", "return", "gen_aarch64_rsqrtev4sf", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Select", "reciprocal", "square", "root", "initial", "estimate", "insn", "depending", "on", "machine", "mode", "."], "TS_V_token": ["aarch64"], "File": "aarch645", "Func": "get_rsqrte_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2227, "Length": 51, "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", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "PPCFunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", ";", "unsigned", "LR", "=", "RegInfo", "->", "getRARegister", "(", ")", ";", "FI", "->", "setMustSaveLR", "(", "MustSaveLR", "(", "MF", ",", "LR", ")", ")", ";", "SavedRegs", ".", "reset", "(", "LR", ")", ";", "int", "FPSI", "=", "FI", "->", "getFramePointerSaveIndex", "(", ")", ";", "const", "bool", "isPPC64", "=", "Subtarget", ".", "isPPC64", "(", ")", ";", "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", "(", "(", "SavedRegs", ".", "test", "(", "PPC", "::", "CR2", ")", "||", "SavedRegs", ".", "test", "(", "PPC", "::", "CR3", ")", "||", "SavedRegs", ".", "test", "(", "PPC", "::", "CR4", ")", ")", ")", "{", "const", "uint64_t", "SpillSize", "=", "4", ";", "const", "int64_t", "SpillOffset", "=", "Subtarget", ".", "isPPC64", "(", ")", "?", "8", ":", "Subtarget", ".", "isAIXABI", "(", ")", "?", "4", ":", "-", "4", ";", "int", "FrameIdx", "=", "MFI", ".", "CreateFixedObject", "(", "SpillSize", ",", "SpillOffset", ",", "true", ",", "false", ")", ";", "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", "8", "4", "PPC", "8", "4", "4", "8", "PPC", "PPC::X31", "PPC::R31", "PPC::R30", "0", "0", "1", "PPC::CR2", "PPC::CR3", "PPC::CR4", "4", "PPC", "8", "4", "4"], "File": "PPCFrameLowering16", "Func": "determineCalleeSaves", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2228, "Length": 431, "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", "::", "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::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": "PPCISelLowering70", "Func": "LowerOperation", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2229, "Length": 383, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LEGRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineOperand", "&", "FIOp", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ";", "unsigned", "FI", "=", "FIOp", ".", "getIndex", "(", ")", ";", "unsigned", "ImmOpIdx", "=", "0", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", ";", "case", "LEG", "::", "LDR", ":", "case", "LEG", "::", "STR", ":", "ImmOpIdx", "=", "FIOperandNum", "+", "1", ";", "break", ";", "}", "MachineOperand", "&", "ImmOp", "=", "MI", ".", "getOperand", "(", "ImmOpIdx", ")", ";", "int", "Offset", "=", "MFI", "->", "getObjectOffset", "(", "FI", ")", "+", "MFI", "->", "getStackSize", "(", ")", "+", "ImmOp", ".", "getImm", "(", ")", ";", "FIOp", ".", "ChangeToRegister", "(", "LEG", "::", "SP", ",", "false", ")", ";", "ImmOp", ".", "setImm", "(", "Offset", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["LEG", "LEG", "0", "LEG::LDR", "LEG::STR", "1", "LEG::SP"], "File": "LEGRegisterInfo1", "Func": "eliminateFrameIndex", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2230, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_cannot_change_mode_class", "(", "machine_mode", "from", ",", "machine_mode", "to", ",", "enum", "reg_class", "rclass", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "from", ")", "==", "8", "&&", "GET_MODE_SIZE", "(", "to", ")", "==", "8", "&&", "INTEGRAL_MODE_P", "(", "from", ")", "&&", "INTEGRAL_MODE_P", "(", "to", ")", ")", "return", "false", ";", "if", "(", "MSA_SUPPORTED_MODE_P", "(", "from", ")", "&&", "MSA_SUPPORTED_MODE_P", "(", "to", ")", ")", "return", "false", ";", "return", "reg_classes_intersect_p", "(", "FP_REGS", ",", "rclass", ")", ";", "}", ""], "natrual_language": ["Implement", "CANNOT_CHANGE_MODE_CLASS", "."], "TS_V_token": ["mips", "8", "8"], "File": "mips6", "Func": "mips_cannot_change_mode_class", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2231, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "reg_class", "coproc_secondary_reload_class", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "bool", "wb", ")", "{", "if", "(", "mode", "==", "HFmode", ")", "{", "if", "(", "!", "TARGET_NEON_FP16", ")", "return", "GENERAL_REGS", ";", "if", "(", "s_register_operand", "(", "x", ",", "mode", ")", "||", "neon_vector_mem_operand", "(", "x", ",", "2", ",", "true", ")", ")", "return", "NO_REGS", ";", "return", "GENERAL_REGS", ";", "}", "if", "(", "TARGET_NEON", "&&", "(", "MEM_P", "(", "x", ")", "||", "GET_CODE", "(", "x", ")", "==", "CONST_VECTOR", ")", "&&", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_INT", "||", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_FLOAT", "||", "VALID_NEON_STRUCT_MODE", "(", "mode", ")", ")", ")", "return", "NO_REGS", ";", "if", "(", "arm_coproc_mem_operand", "(", "x", ",", "wb", ")", "||", "s_register_operand", "(", "x", ",", "mode", ")", ")", "return", "NO_REGS", ";", "return", "GENERAL_REGS", ";", "}", ""], "natrual_language": ["Return", "GENERAL_REGS", "if", "a", "scratch", "register", "required", "to", "reload", "x", "to/from", "coprocessor", "registers", ".", "Otherwise", "return", "NO_REGS", "."], "TS_V_token": ["arm", "2"], "File": "arm4", "Func": "coproc_secondary_reload_class", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2232, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "AArch64TargetLowering", "::", "emitLoadLinked", "(", "IRBuilder", "<", ">", "&", "Builder", ",", "Value", "*", "Addr", ",", "AtomicOrdering", "Ord", ")", "const", "{", "Module", "*", "M", "=", "Builder", ".", "GetInsertBlock", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "Type", "*", "ValTy", "=", "cast", "<", "PointerType", ">", "(", "Addr", "->", "getType", "(", ")", ")", "->", "getElementType", "(", ")", ";", "bool", "IsAcquire", "=", "isAtLeastAcquire", "(", "Ord", ")", ";", "if", "(", "ValTy", "->", "getPrimitiveSizeInBits", "(", ")", "==", "128", ")", "{", "Intrinsic", "::", "ID", "Int", "=", "IsAcquire", "?", "Intrinsic", "::", "aarch64_ldaxp", ":", "Intrinsic", "::", "aarch64_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", "::", "aarch64_ldaxr", ":", "Intrinsic", "::", "aarch64_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": ["AArch64", "AArch64", "128", "Intrinsic::ID", "Intrinsic::aarch64_ldaxp", "Intrinsic::aarch64_ldxp", "Intrinsic::getDeclaration", "\"lohi\"", "0", "\"lo\"", "1", "\"hi\"", "\"lo64\"", "\"hi64\"", "64", "\"val64\"", "Intrinsic::ID", "Intrinsic::aarch64_ldaxr", "Intrinsic::aarch64_ldxr", "Intrinsic::getDeclaration"], "File": "AArch64ISelLowering (2)1", "Func": "emitLoadLinked", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2233, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "SDValue", "PerformIntrinsicCombine", "(", "SDNode", "*", "N", ",", "SelectionDAG", "&", "DAG", ")", "{", "unsigned", "IntNo", "=", "cast", "<", "ConstantSDNode", ">", "(", "N", "->", "getOperand", "(", "0", ")", ")", "->", "getZExtValue", "(", ")", ";", "switch", "(", "IntNo", ")", "{", "default", ":", "break", ";", "case", "Intrinsic", "::", "arm_neon_vqshifts", ":", "case", "Intrinsic", "::", "arm_neon_vqshiftu", ":", "EVT", "VT", "=", "N", "->", "getOperand", "(", "1", ")", ".", "getValueType", "(", ")", ";", "int64_t", "Cnt", ";", "if", "(", "!", "isVShiftLImm", "(", "N", "->", "getOperand", "(", "2", ")", ",", "VT", ",", "Cnt", ")", ")", "break", ";", "unsigned", "VShiftOpc", "=", "(", "IntNo", "==", "Intrinsic", "::", "arm_neon_vqshifts", ")", "?", "AArch64ISD", "::", "NEON_QSHLs", ":", "AArch64ISD", "::", "NEON_QSHLu", ";", "return", "DAG", ".", "getNode", "(", "VShiftOpc", ",", "SDLoc", "(", "N", ")", ",", "N", "->", "getValueType", "(", "0", ")", ",", "N", "->", "getOperand", "(", "1", ")", ",", "DAG", ".", "getConstant", "(", "Cnt", ",", "MVT", "::", "i32", ")", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["PerformIntrinsicCombine", "-", "ARM-specific", "DAG", "combining", "for", "intrinsics", "."], "TS_V_token": ["AArch64", "0", "Intrinsic::arm_neon_vqshifts", "Intrinsic::arm_neon_vqshiftu", "1", "2", "Intrinsic::arm_neon_vqshifts", "AArch64ISD::NEON_QSHLs", "AArch64ISD::NEON_QSHLu", "0", "1", "MVT::i32"], "File": "AArch64ISelLowering109", "Func": "PerformIntrinsicCombine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2234, "Length": 152, "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": ["PowerPC"], "File": "PPCAsmBackend", "Func": "mayNeedRelaxation", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2235, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "arm_output_shift", "(", "rtx", "*", "operands", ",", "int", "set_flags", ")", "{", "char", "pattern", "[", "100", "]", ";", "static", "const", "char", "flag_chars", "[", "3", "]", "=", "{", "'?'", ",", "'.'", ",", "'!'", "}", ";", "const", "char", "*", "shift", ";", "HOST_WIDE_INT", "val", ";", "char", "c", ";", "c", "=", "flag_chars", "[", "set_flags", "]", ";", "if", "(", "TARGET_UNIFIED_ASM", ")", "{", "shift", "=", "shift_op", "(", "operands", "[", "3", "]", ",", "&", "val", ")", ";", "if", "(", "shift", ")", "{", "if", "(", "val", "!=", "-", "1", ")", "operands", "[", "2", "]", "=", "GEN_INT", "(", "val", ")", ";", "sprintf", "(", "pattern", ",", "\"%s%%%c\\t%%0, %%1, %%2\"", ",", "shift", ",", "c", ")", ";", "}", "else", "sprintf", "(", "pattern", ",", "\"mov%%%c\\t%%0, %%1\"", ",", "c", ")", ";", "}", "else", "sprintf", "(", "pattern", ",", "\"mov%%%c\\t%%0, %%1%%S3\"", ",", "c", ")", ";", "output_asm_insn", "(", "pattern", ",", "operands", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "assembly", "for", "a", "shift", "instruction", ".", "SET_FLAGS", "determines", "how", "the", "instruction", "modifies", "the", "condition", "codes", ".", "0", "-", "Do", "not", "set", "condition", "codes", ".", "1", "-", "Set", "condition", "codes", ".", "2", "-", "Use", "smallest", "instruction", "."], "TS_V_token": ["arm", "100", "3", "3", "1", "2", "\"%s%%%c\\t%%0, %%1, %%2\"", "\"mov%%%c\\t%%0, %%1\"", "\"mov%%%c\\t%%0, %%1%%S3\"", "\"\""], "File": "arm4", "Func": "arm_output_shift", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2236, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64TargetLowering", "::", "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": ["ARM64", "ARM64", "ISD::MemIndexedMode", "ISD::POST_INC", "ISD::POST_DEC"], "File": "ARM64ISelLowering", "Func": "getPostIndexedAddressParts", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2237, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_epilogue_components", "(", "sbitmap", "components", ")", "{", "rs6000_stack_t", "*", "info", "=", "rs6000_stack_info", "(", ")", ";", "rtx", "ptr_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "frame_pointer_needed_indeed", "?", "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": "rs6000-logue", "Func": "rs6000_emit_epilogue_components", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2238, "Length": 336, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64TargetELFStreamer", "::", "emitDirectiveVariantPCS", "(", "MCSymbol", "*", "Symbol", ")", "{", "cast", "<", "MCSymbolELF", ">", "(", "Symbol", ")", "->", "setOther", "(", "ELF", "::", "STO_AARCH64_VARIANT_PCS", ")", ";", "}", ""], "natrual_language": ["Callback", "used", "to", "implement", "the", ".variant_pcs", "directive", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ELFStreamer11", "Func": "emitDirectiveVariantPCS", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2239, "Length": 26, "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", ";", "if", "(", "MBB", "->", "isLandingPad", "(", ")", "||", "MBB", "->", "pred_empty", "(", ")", ")", "return", "false", ";", "MachineBasicBlock", "::", "const_pred_iterator", "PI", "=", "MBB", "->", "pred_begin", "(", ")", ",", "PI2", "=", "PI", ";", "++", "PI2", ";", "if", "(", "PI2", "!=", "MBB", "->", "pred_end", "(", ")", ")", "return", "false", ";", "if", "(", "!", "Pred", "->", "isLayoutSuccessor", "(", "MBB", ")", ")", "return", "false", ";", "if", "(", "Pred", "->", "empty", "(", ")", ")", "return", "true", ";", "MachineBasicBlock", "::", "const_iterator", "I", "=", "Pred", "->", "end", "(", ")", ";", "while", "(", "I", "!=", "Pred", "->", "begin", "(", ")", "&&", "!", "(", "--", "I", ")", "->", "isTerminator", "(", ")", ")", ";", "return", "!", "I", "->", "isBarrier", "(", ")", ";", "}", ""], "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": "MipsAsmPrinter100", "Func": "isBlockOnlyReachableByFallthrough", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2240, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintWeight", "PPCTargetLowering", "::", "getSingleConstraintMatchWeight", "(", "AsmOperandInfo", "&", "info", ",", "const", "char", "*", "constraint", ")", "const", "{", "ConstraintWeight", "weight", "=", "CW_Invalid", ";", "Value", "*", "CallOperandVal", "=", "info", ".", "CallOperandVal", ";", "if", "(", "!", "CallOperandVal", ")", "return", "CW_Default", ";", "Type", "*", "type", "=", "CallOperandVal", "->", "getType", "(", ")", ";", "if", "(", "StringRef", "(", "constraint", ")", "==", "\"wc\"", "&&", "type", "->", "isIntegerTy", "(", "1", ")", ")", "return", "CW_Register", ";", "else", "if", "(", "(", "StringRef", "(", "constraint", ")", "==", "\"wa\"", "||", "StringRef", "(", "constraint", ")", "==", "\"wd\"", "||", "StringRef", "(", "constraint", ")", "==", "\"wf\"", ")", "&&", "type", "->", "isVectorTy", "(", ")", ")", "return", "CW_Register", ";", "else", "if", "(", "StringRef", "(", "constraint", ")", "==", "\"ws\"", "&&", "type", "->", "isDoubleTy", "(", ")", ")", "return", "CW_Register", ";", "switch", "(", "*", "constraint", ")", "{", "default", ":", "weight", "=", "TargetLowering", "::", "getSingleConstraintMatchWeight", "(", "info", ",", "constraint", ")", ";", "break", ";", "case", "'b'", ":", "if", "(", "type", "->", "isIntegerTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'f'", ":", "if", "(", "type", "->", "isFloatTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'d'", ":", "if", "(", "type", "->", "isDoubleTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'v'", ":", "if", "(", "type", "->", "isVectorTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'y'", ":", "weight", "=", "CW_Register", ";", "break", ";", "case", "'Z'", ":", "weight", "=", "CW_Memory", ";", "break", ";", "}", "return", "weight", ";", "}", ""], "natrual_language": ["Examine", "constraint", "string", "and", "operand", "type", "and", "determine", "a", "weight", "value", "."], "TS_V_token": ["PowerPC", "PPC", "\"wc\"", "1", "\"wa\"", "\"wd\"", "\"wf\"", "\"ws\""], "File": "PPCISelLowering (2)2", "Func": "getSingleConstraintMatchWeight", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2241, "Length": 234, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86CallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "ArrayRef", "<", "Register", ">", "VRegs", ")", "const", "{", "assert", "(", "(", "(", "Val", "&&", "!", "VRegs", ".", "empty", "(", ")", ")", "||", "(", "!", "Val", "&&", "VRegs", ".", "empty", "(", ")", ")", ")", "&&", "\"Return value without a vreg\"", ")", ";", "auto", "MIB", "=", "MIRBuilder", ".", "buildInstrNoInsert", "(", "X86", "::", "RET", ")", ".", "addImm", "(", "0", ")", ";", "if", "(", "!", "VRegs", ".", "empty", "(", ")", ")", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "auto", "&", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "LLVMContext", "&", "Ctx", "=", "Val", "->", "getType", "(", ")", "->", "getContext", "(", ")", ";", "const", "X86TargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "X86TargetLowering", ">", "(", ")", ";", "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", ")", "{", "ArgInfo", "CurArgInfo", "=", "ArgInfo", "{", "VRegs", "[", "i", "]", ",", "SplitEVTs", "[", "i", "]", ".", "getTypeForEVT", "(", "Ctx", ")", "}", ";", "setArgFlags", "(", "CurArgInfo", ",", "AttributeList", "::", "ReturnIndex", ",", "DL", ",", "F", ")", ";", "if", "(", "!", "splitToValueTypes", "(", "CurArgInfo", ",", "SplitArgs", ",", "DL", ",", "MRI", ",", "[", "&", "]", "(", "ArrayRef", "<", "Register", ">", "Regs", ")", "{", "MIRBuilder", ".", "buildUnmerge", "(", "Regs", ",", "VRegs", "[", "i", "]", ")", ";", "}", ")", ")", "return", "false", ";", "}", "OutgoingValueHandler", "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", "X86", "X86", "4", "\"For each split Type there should be exactly one VReg.\"", "8", "0", "X86"], "File": "X86CallLowering1", "Func": "lowerReturn", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2242, "Length": 329, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "xstormy16_asm_output_aligned_common", "(", "FILE", "*", "stream", ",", "tree", "decl", ",", "const", "char", "*", "name", ",", "int", "size", ",", "int", "align", ",", "int", "global", ")", "{", "rtx", "mem", "=", "DECL_RTL", "(", "decl", ")", ";", "rtx", "symbol", ";", "if", "(", "mem", "!=", "NULL_RTX", "&&", "GET_CODE", "(", "mem", ")", "==", "MEM", "&&", "GET_CODE", "(", "symbol", "=", "XEXP", "(", "mem", ",", "0", ")", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_FLAGS", "(", "symbol", ")", "&", "SYMBOL_FLAG_XSTORMY16_BELOW100", ")", "{", "const", "char", "*", "name2", ";", "int", "p2align", "=", "0", ";", "bss100_section", "(", ")", ";", "while", "(", "align", ">", "8", ")", "{", "align", "/=", "2", ";", "p2align", "++", ";", "}", "name2", "=", "default_strip_name_encoding", "(", "name", ")", ";", "if", "(", "global", ")", "fprintf", "(", "stream", ",", "\"\\t.globl\\t%s\\n\"", ",", "name2", ")", ";", "if", "(", "p2align", ")", "fprintf", "(", "stream", ",", "\"\\t.p2align %d\\n\"", ",", "p2align", ")", ";", "fprintf", "(", "stream", ",", "\"\\t.type\\t%s, @object\\n\"", ",", "name2", ")", ";", "fprintf", "(", "stream", ",", "\"\\t.size\\t%s, %d\\n\"", ",", "name2", ",", "size", ")", ";", "fprintf", "(", "stream", ",", "\"%s:\\n\\t.space\\t%d\\n\"", ",", "name2", ",", "size", ")", ";", "return", ";", "}", "if", "(", "!", "global", ")", "{", "fprintf", "(", "stream", ",", "\"\\t.local\\t\"", ")", ";", "assemble_name", "(", "stream", ",", "name", ")", ";", "fprintf", "(", "stream", ",", "\"\\n\"", ")", ";", "}", "fprintf", "(", "stream", ",", "\"\\t.comm\\t\"", ")", ";", "assemble_name", "(", "stream", ",", "name", ")", ";", "fprintf", "(", "stream", ",", "\",%u,%u\\n\"", ",", "size", ",", "align", "/", "BITS_PER_UNIT", ")", ";", "}", ""], "natrual_language": ["The", "purpose", "of", "this", "function", "is", "to", "override", "the", "default", "behavior", "of", "BSS", "objects", ".", "Normally", ",", "they", "go", "into", ".bss", "or", ".sbss", "via", "``", ".common", "''", "directives", ",", "but", "we", "need", "to", "override", "that", "and", "put", "them", "in", ".bss_below100", ".", "We", "ca", "n't", "just", "use", "a", "section", "override", "(", "like", "we", "do", "for", ".data_below100", ")", ",", "because", "that", "makes", "them", "initialized", "rather", "than", "uninitialized", "."], "TS_V_token": ["stormy16", "0", "0", "8", "2", "\"\\t.globl\\t%s\\n\"", "\"\\t.p2align %d\\n\"", "\"\\t.type\\t%s, @object\\n\"", "\"\\t.size\\t%s, %d\\n\"", "\"%s:\\n\\t.space\\t%d\\n\"", "\"\\t.local\\t\"", "\"\\n\"", "\"\\t.comm\\t\"", "\",%u,%u\\n\""], "File": "stormy163", "Func": "xstormy16_asm_output_aligned_common", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2243, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_gen_stepped_int_parallel", "(", "unsigned", "int", "nelts", ",", "int", "base", ",", "int", "step", ")", "{", "rtvec", "vec", "=", "rtvec_alloc", "(", "nelts", ")", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "nelts", ";", "++", "i", ")", "RTVEC_ELT", "(", "vec", ",", "i", ")", "=", "gen_int_mode", "(", "base", "+", "i", "*", "step", ",", "DImode", ")", ";", "return", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "vec", ")", ";", "}", ""], "natrual_language": ["Return", "a", "PARALLEL", "containing", "NELTS", "elements", ",", "with", "element", "I", "equal", "to", "BASE", "+", "I", "*", "STEP", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64", "Func": "aarch64_gen_stepped_int_parallel", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2244, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "MachineFrameInfo", "*", "FFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineRegisterInfo", "&", "RI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "unsigned", "MaxAlign", "=", "calculateMaxStackAlignment", "(", "FFI", ")", ";", "for", "(", "unsigned", "RegNum", "=", "TargetRegisterInfo", "::", "FirstVirtualRegister", ";", "RegNum", "<", "RI", ".", "getLastVirtReg", "(", ")", ";", "++", "RegNum", ")", "MaxAlign", "=", "std", "::", "max", "(", "MaxAlign", ",", "RI", ".", "getRegClass", "(", "RegNum", ")", "->", "getAlignment", "(", ")", ")", ";", "FFI", "->", "setMaxAlignment", "(", "MaxAlign", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86"], "File": "X86RegisterInfo33", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2245, "Length": 88, "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": 2246, "Length": 357, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "rs6000_promote_function_mode", "(", "const_tree", "type", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ",", "int", "*", "punsignedp", "ATTRIBUTE_UNUSED", ",", "const_tree", ",", "int", ")", "{", "PROMOTE_MODE", "(", "mode", ",", "*", "punsignedp", ",", "type", ")", ";", "return", "mode", ";", "}", ""], "natrual_language": ["On", "rs6000", ",", "function", "arguments", "are", "promoted", ",", "as", "are", "function", "return", "values", "."], "TS_V_token": ["rs6000"], "File": "rs60004", "Func": "rs6000_promote_function_mode", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2247, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_sCOND", "(", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ")", "{", "rtx", "condition_rtx", "=", "rs6000_generate_compare", "(", "operands", "[", "1", "]", ",", "mode", ")", ";", "rtx_code", "cond_code", "=", "GET_CODE", "(", "condition_rtx", ")", ";", "if", "(", "FLOAT_MODE_P", "(", "mode", ")", "&&", "HONOR_NANS", "(", "mode", ")", "&&", "!", "(", "FLOAT128_VECTOR_P", "(", "mode", ")", "&&", "!", "TARGET_FLOAT128_HW", ")", ")", ";", "else", "if", "(", "cond_code", "==", "NE", "||", "cond_code", "==", "GE", "||", "cond_code", "==", "LE", "||", "cond_code", "==", "GEU", "||", "cond_code", "==", "LEU", "||", "cond_code", "==", "ORDERED", "||", "cond_code", "==", "UNGE", "||", "cond_code", "==", "UNLE", ")", "{", "rtx", "not_result", "=", "gen_reg_rtx", "(", "CCEQmode", ")", ";", "rtx", "not_op", ",", "rev_cond_rtx", ";", "machine_mode", "cc_mode", ";", "cc_mode", "=", "GET_MODE", "(", "XEXP", "(", "condition_rtx", ",", "0", ")", ")", ";", "rev_cond_rtx", "=", "gen_rtx_fmt_ee", "(", "rs6000_reverse_condition", "(", "cc_mode", ",", "cond_code", ")", ",", "SImode", ",", "XEXP", "(", "condition_rtx", ",", "0", ")", ",", "const0_rtx", ")", ";", "not_op", "=", "gen_rtx_COMPARE", "(", "CCEQmode", ",", "rev_cond_rtx", ",", "const0_rtx", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "not_result", ",", "not_op", ")", ")", ";", "condition_rtx", "=", "gen_rtx_EQ", "(", "VOIDmode", ",", "not_result", ",", "const0_rtx", ")", ";", "}", "machine_mode", "op_mode", "=", "GET_MODE", "(", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ")", ";", "if", "(", "op_mode", "==", "VOIDmode", ")", "op_mode", "=", "GET_MODE", "(", "XEXP", "(", "operands", "[", "1", "]", ",", "1", ")", ")", ";", "if", "(", "TARGET_POWERPC64", "&&", "(", "op_mode", "==", "DImode", "||", "FLOAT_MODE_P", "(", "mode", ")", ")", ")", "{", "PUT_MODE", "(", "condition_rtx", ",", "DImode", ")", ";", "convert_move", "(", "operands", "[", "0", "]", ",", "condition_rtx", ",", "0", ")", ";", "}", "else", "{", "PUT_MODE", "(", "condition_rtx", ",", "SImode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "operands", "[", "0", "]", ",", "condition_rtx", ")", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "the", "RTL", "for", "an", "sCOND", "pattern", "."], "TS_V_token": ["rs6000", "1", "0", "0", "1", "0", "1", "1", "0", "0", "0"], "File": "rs6000", "Func": "rs6000_emit_sCOND", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2248, "Length": 274, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "loongarch_expand_builtin_insn", "(", "enum", "insn_code", "icode", ",", "unsigned", "int", "nops", ",", "struct", "expand_operand", "*", "ops", ",", "bool", "has_target_p", ")", "{", "if", "(", "!", "maybe_expand_insn", "(", "icode", ",", "nops", ",", "ops", ")", ")", "{", "error", "(", "\"invalid argument to built-in function\"", ")", ";", "return", "has_target_p", "?", "gen_reg_rtx", "(", "ops", "[", "0", "]", ".", "mode", ")", ":", "const0_rtx", ";", "}", "return", "has_target_p", "?", "ops", "[", "0", "]", ".", "value", ":", "const0_rtx", ";", "}", ""], "natrual_language": ["Expand", "instruction", "ICODE", "as", "part", "of", "a", "built-in", "function", "sequence", ".", "Use", "the", "first", "NOPS", "elements", "of", "OPS", "as", "the", "instruction", "'s", "operands", ".", "HAS_TARGET_P", "is", "true", "if", "operand", "0", "is", "a", "target", ";", "it", "is", "false", "if", "the", "instruction", "has", "no", "target", ".", "Return", "the", "target", "rtx", "if", "HAS_TARGET_P", ",", "otherwise", "return", "const0_rtx", "."], "TS_V_token": ["loongarch", "\"invalid argument to built-in function\"", "0", "0"], "File": "loongarch-builtins", "Func": "loongarch_expand_builtin_insn", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2249, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 Load Value Injection (LVI) Load Hardening (Unoptimized)\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 Load Value Injection (LVI) Load Hardening (Unoptimized)\""], "File": "X86LoadValueInjectionLoadHardening2", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2250, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "find_drap_reg", "(", "void", ")", "{", "tree", "decl", "=", "cfun", "->", "decl", ";", "if", "(", "TARGET_64BIT", ")", "{", "if", "(", "DECL_STATIC_CHAIN", "(", "decl", ")", "||", "cfun", "->", "machine", "->", "no_caller_saved_registers", "||", "crtl", "->", "tail_call_emit", ")", "return", "R13_REG", ";", "return", "R10_REG", ";", "}", "else", "{", "if", "(", "DECL_STATIC_CHAIN", "(", "decl", ")", "||", "cfun", "->", "machine", "->", "no_caller_saved_registers", "||", "crtl", "->", "tail_call_emit", "||", "crtl", "->", "calls_eh_return", ")", "return", "DI_REG", ";", "if", "(", "ix86_function_regparm", "(", "TREE_TYPE", "(", "decl", ")", ",", "decl", ")", "<=", "2", ")", "{", "unsigned", "int", "ccvt", "=", "ix86_get_callcvt", "(", "TREE_TYPE", "(", "decl", ")", ")", ";", "if", "(", "(", "ccvt", "&", "(", "IX86_CALLCVT_FASTCALL", "|", "IX86_CALLCVT_THISCALL", ")", ")", "==", "0", ")", "return", "CX_REG", ";", "}", "return", "DI_REG", ";", "}", "}", ""], "natrual_language": ["Find", "an", "available", "register", "to", "be", "used", "as", "dynamic", "realign", "argument", "pointer", "regsiter", ".", "Such", "a", "register", "will", "be", "written", "in", "prologue", "and", "used", "in", "begin", "of", "body", ",", "so", "it", "must", "not", "be", "1.", "parameter", "passing", "register", ".", "2", ".", "GOT", "pointer", ".", "We", "reuse", "static-chain", "register", "if", "it", "is", "available", ".", "Otherwise", ",", "we", "use", "DI", "for", "i386", "and", "R13", "for", "x86-64", ".", "We", "chose", "R13", "since", "it", "has", "shorter", "encoding", ".", "Return", ":", "the", "regno", "of", "chosen", "register", "."], "TS_V_token": ["i386", "2", "0"], "File": "i386", "Func": "find_drap_reg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2251, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VERegisterInfo", "::", "isConstantPhysReg", "(", "unsigned", "PhysReg", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "PhysReg", "is", "unallocatable", "and", "constant", "throughout", "the", "function", "."], "TS_V_token": ["VE", "VE"], "File": "VERegisterInfo1", "Func": "isConstantPhysReg", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2252, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "A57ChainingConstraint", "::", "apply", "(", "PBQPRAGraph", "&", "G", ")", "{", "const", "MachineFunction", "&", "MF", "=", "G", ".", "getMetadata", "(", ")", ".", "MF", ";", "LiveIntervals", "&", "LIs", "=", "G", ".", "getMetadata", "(", ")", ".", "LIS", ";", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "LLVM_DEBUG", "(", "MF", ".", "dump", "(", ")", ")", ";", "for", "(", "const", "auto", "&", "MBB", ":", "MF", ")", "{", "Chains", ".", "clear", "(", ")", ";", "for", "(", "const", "auto", "&", "MI", ":", "MBB", ")", "{", "for", "(", "auto", "r", ":", "Chains", ")", "{", "SmallVector", "<", "unsigned", ",", "8", ">", "toDel", ";", "if", "(", "regJustKilledBefore", "(", "LIs", ",", "r", ",", "MI", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Killing chain \"", "<<", "printReg", "(", "r", ",", "TRI", ")", "<<", "\" at \"", ";", "MI", ".", "print", "(", "dbgs", "(", ")", ")", ";", ")", ";", "toDel", ".", "push_back", "(", "r", ")", ";", "}", "while", "(", "!", "toDel", ".", "empty", "(", ")", ")", "{", "Chains", ".", "remove", "(", "toDel", ".", "back", "(", ")", ")", ";", "toDel", ".", "pop_back", "(", ")", ";", "}", "}", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "AArch64", "::", "FMSUBSrrr", ":", "case", "AArch64", "::", "FMADDSrrr", ":", "case", "AArch64", "::", "FNMSUBSrrr", ":", "case", "AArch64", "::", "FNMADDSrrr", ":", "case", "AArch64", "::", "FMSUBDrrr", ":", "case", "AArch64", "::", "FMADDDrrr", ":", "case", "AArch64", "::", "FNMSUBDrrr", ":", "case", "AArch64", "::", "FNMADDDrrr", ":", "{", "unsigned", "Rd", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "unsigned", "Ra", "=", "MI", ".", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", ";", "if", "(", "addIntraChainConstraint", "(", "G", ",", "Rd", ",", "Ra", ")", ")", "addInterChainConstraint", "(", "G", ",", "Rd", ",", "Ra", ")", ";", "break", ";", "}", "case", "AArch64", "::", "FMLAv2f32", ":", "case", "AArch64", "::", "FMLSv2f32", ":", "{", "unsigned", "Rd", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "addInterChainConstraint", "(", "G", ",", "Rd", ",", "Rd", ")", ";", "break", ";", "}", "default", ":", "break", ";", "}", "}", "}", "}", ""], "natrual_language": ["Apply", "the", "profile", "inference", "algorithm", "for", "a", "given", "function", "."], "TS_V_token": ["AArch64", "8", "\"Killing chain \"", "\" at \"", "AArch64::FMSUBSrrr", "AArch64::FMADDSrrr", "AArch64::FNMSUBSrrr", "AArch64::FNMADDSrrr", "AArch64::FMSUBDrrr", "AArch64::FMADDDrrr", "AArch64::FNMSUBDrrr", "AArch64::FNMADDDrrr", "0", "3", "AArch64::FMLAv2f32", "AArch64::FMLSv2f32", "0"], "File": "AArch64PBQPRegAlloc14", "Func": "apply", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2253, "Length": 321, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "analyzeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "&", "TBB", ",", "MachineBasicBlock", "*", "&", "FBB", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "bool", "AllowModify", ")", "const", "{", "TBB", "=", "nullptr", ";", "FBB", "=", "nullptr", ";", "MachineBasicBlock", "::", "instr_iterator", "I", "=", "MBB", ".", "instr_end", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "instr_begin", "(", ")", ")", "return", "false", ";", "--", "I", ";", "while", "(", "isPredicated", "(", "*", "I", ")", "||", "I", "->", "isTerminator", "(", ")", "||", "I", "->", "isDebugValue", "(", ")", ")", "{", "bool", "CantAnalyze", "=", "false", ";", "while", "(", "I", "->", "isDebugInstr", "(", ")", "||", "!", "I", "->", "isTerminator", "(", ")", "||", "isSpeculationBarrierEndBBOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "{", "if", "(", "I", "==", "MBB", ".", "instr_begin", "(", ")", ")", "return", "false", ";", "--", "I", ";", "}", "if", "(", "isIndirectBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", "||", "isJumpTableBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "{", "CantAnalyze", "=", "true", ";", "}", "else", "if", "(", "isUncondBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "{", "TBB", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "}", "else", "if", "(", "isCondBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "{", "if", "(", "!", "Cond", ".", "empty", "(", ")", ")", "return", "true", ";", "assert", "(", "!", "FBB", "&&", "\"FBB should have been null.\"", ")", ";", "FBB", "=", "TBB", ";", "TBB", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "Cond", ".", "push_back", "(", "I", "->", "getOperand", "(", "1", ")", ")", ";", "Cond", ".", "push_back", "(", "I", "->", "getOperand", "(", "2", ")", ")", ";", "}", "else", "if", "(", "I", "->", "isReturn", "(", ")", ")", "{", "CantAnalyze", "=", "true", ";", "}", "else", "{", "return", "true", ";", "}", "if", "(", "!", "isPredicated", "(", "*", "I", ")", "&&", "(", "isUncondBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", "||", "isIndirectBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", "||", "isJumpTableBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", "||", "I", "->", "isReturn", "(", ")", ")", ")", "{", "Cond", ".", "clear", "(", ")", ";", "FBB", "=", "nullptr", ";", "if", "(", "AllowModify", ")", "{", "MachineBasicBlock", "::", "iterator", "DI", "=", "std", "::", "next", "(", "I", ")", ";", "while", "(", "DI", "!=", "MBB", ".", "instr_end", "(", ")", ")", "{", "MachineInstr", "&", "InstToDelete", "=", "*", "DI", ";", "++", "DI", ";", "if", "(", "isSpeculationBarrierEndBBOpcode", "(", "InstToDelete", ".", "getOpcode", "(", ")", ")", ")", "continue", ";", "InstToDelete", ".", "eraseFromParent", "(", ")", ";", "}", "}", "}", "if", "(", "CantAnalyze", ")", "{", "if", "(", "AllowModify", "&&", "!", "isPredicated", "(", "MBB", ".", "back", "(", ")", ")", "&&", "isUncondBranchOpcode", "(", "MBB", ".", "back", "(", ")", ".", "getOpcode", "(", ")", ")", "&&", "TBB", "&&", "MBB", ".", "isLayoutSuccessor", "(", "TBB", ")", ")", "removeBranch", "(", "MBB", ")", ";", "return", "true", ";", "}", "if", "(", "I", "==", "MBB", ".", "instr_begin", "(", ")", ")", "return", "false", ";", "--", "I", ";", "}", "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": ["ARM", "ARM", "0", "\"FBB should have been null.\"", "0", "1", "2"], "File": "ARMBaseInstrInfo15", "Func": "analyzeBranch", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2254, "Length": 469, "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", ",", "true", ")", ";", "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-builtins1", "Func": "add_input_operand", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2255, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "MipsAsmPrinter", "::", "getCurrentABIString", "(", ")", "const", "{", "switch", "(", "Subtarget", "->", "getTargetABI", "(", ")", ")", "{", "case", "MipsSubtarget", "::", "O32", ":", "return", "\"abi32\"", ";", "case", "MipsSubtarget", "::", "O64", ":", "return", "\"abiO64\"", ";", "case", "MipsSubtarget", "::", "N32", ":", "return", "\"abiN32\"", ";", "case", "MipsSubtarget", "::", "N64", ":", "return", "\"abi64\"", ";", "case", "MipsSubtarget", "::", "EABI", ":", "return", "\"eabi32\"", ";", "default", ":", "break", ";", "}", "llvm_unreachable", "(", "\"Unknown Mips ABI\"", ")", ";", "return", "NULL", ";", "}", ""], "natrual_language": ["Emit", "Set", "directives", "."], "TS_V_token": ["Mips", "Mips", "Mips", "\"abi32\"", "Mips", "\"abiO64\"", "Mips", "\"abiN32\"", "Mips", "\"abi64\"", "Mips", "\"eabi32\"", "\"Unknown Mips ABI\""], "File": "MipsAsmPrinter19", "Func": "getCurrentABIString", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2256, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "setMustSaveLR", "(", "bool", "U", ")", "{", "MustSaveLR", "=", "U", ";", "}", ""], "natrual_language": ["MustSaveLR", "-", "This", "is", "set", "when", "the", "prolog/epilog", "inserter", "does", "its", "initial", "scan", "of", "the", "function", "."], "TS_V_token": ["PowerPC"], "File": "PPCMachineFunctionInfo (2)", "Func": "setMustSaveLR", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2257, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "F2003fMCAsmStreamer", "::", "reset", "(", ")", "{", "LabelToEmit", ".", "clear", "(", ")", ";", "ExplicitCommentToEmit", ".", "clear", "(", ")", ";", "CommentToEmit", ".", "clear", "(", ")", ";", "Symbols", ".", "clear", "(", ")", ";", "CurrentAlignmentToValue", "=", "1", ";", "ValueBuffer", ".", "clear", "(", ")", ";", "MCStreamer", "::", "reset", "(", ")", ";", "}", ""], "natrual_language": ["Reset", "an", "existing", "scalar", "value", "for", "Def", "and", "a", "given", "Instance", "."], "TS_V_token": ["F2003f", "F2003f", "1"], "File": "F2003fMCAsmStreamer", "Func": "reset", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2258, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"OR1K DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["OR1K", "\"OR1K DAG->DAG Pattern Instruction Selection\""], "File": "OR1KISelDAGToDAG1", "Func": "getPassName", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2259, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "AArch64", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["AArch64", "AArch64::NumTargetFixupKinds"], "File": "AArch64AsmBackend37", "Func": "getNumFixupKinds", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2260, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "CSKYTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "llvm_unreachable", "(", "\"unknown CSKYISD node\"", ")", ";", "case", "CSKYISD", "::", "NIE", ":", "return", "\"CSKYISD::NIE\"", ";", "case", "CSKYISD", "::", "NIR", ":", "return", "\"CSKYISD::NIR\"", ";", "case", "CSKYISD", "::", "RET", ":", "return", "\"CSKYISD::RET\"", ";", "case", "CSKYISD", "::", "BITCAST_TO_LOHI", ":", "return", "\"CSKYISD::BITCAST_TO_LOHI\"", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["CSKY", "CSKY", "\"unknown CSKYISD node\"", "CSKYISD::NIE", "\"CSKYISD::NIE\"", "CSKYISD::NIR", "\"CSKYISD::NIR\"", "CSKYISD::RET", "\"CSKYISD::RET\"", "CSKYISD::BITCAST_TO_LOHI", "\"CSKYISD::BITCAST_TO_LOHI\""], "File": "CSKYISelLowering2", "Func": "getTargetNodeName", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2261, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["Lanai"], "File": "LanaiFrameLowering4", "Func": "hasFP", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2262, "Length": 15, "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)3", "Func": "isPredicated", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2263, "Length": 131, "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", "(", ")", ";", "}", "}", "else", "if", "(", "vector_all_ones_zero_extend_half_operand", "(", "x", ",", "mode", ")", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "64", ")", "{", "gcc_assert", "(", "TARGET_AVX512F", ")", ";", "return", "\"vpcmpeqd \\t %t0, %t0, %t0\"", ";", "}", "else", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "32", ")", "{", "gcc_assert", "(", "TARGET_AVX", ")", ";", "return", "\"vpcmpeqd \\t %x0, %x0, %x0\"", ";", "}", "gcc_unreachable", "(", ")", ";", "}", "else", "if", "(", "vector_all_ones_zero_extend_quarter_operand", "(", "x", ",", "mode", ")", ")", "{", "gcc_assert", "(", "TARGET_AVX512F", ")", ";", "return", "\"vpcmpeqd \\t %x0, %x0, %x0\"", ";", "}", "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}\"", "64", "\"vpcmpeqd \\t %t0, %t0, %t0\"", "32", "\"vpcmpeqd \\t %x0, %x0, %x0\"", "\"vpcmpeqd \\t %x0, %x0, %x0\""], "File": "i3861", "Func": "standard_sse_constant_opcode", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2264, "Length": 444, "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": 2265, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_test_fpu_data", "(", "void", ")", "{", "auto_sbitmap", "isa_all_fpubits", "(", "isa_num_bits", ")", ";", "auto_sbitmap", "fpubits", "(", "isa_num_bits", ")", ";", "auto_sbitmap", "tmpset", "(", "isa_num_bits", ")", ";", "static", "const", "enum", "isa_feature", "fpu_bitlist", "[", "]", "=", "{", "ISA_ALL_FPU_INTERNAL", ",", "isa_nobit", "}", ";", "arm_initialize_isa", "(", "isa_all_fpubits", ",", "fpu_bitlist", ")", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "TARGET_FPU_auto", ";", "i", "++", ")", "{", "arm_initialize_isa", "(", "fpubits", ",", "all_fpus", "[", "i", "]", ".", "isa_bits", ")", ";", "bitmap_and_compl", "(", "tmpset", ",", "isa_all_fpubits", ",", "fpubits", ")", ";", "bitmap_clear", "(", "isa_all_fpubits", ")", ";", "bitmap_copy", "(", "isa_all_fpubits", ",", "tmpset", ")", ";", "}", "if", "(", "!", "bitmap_empty_p", "(", "isa_all_fpubits", ")", ")", "{", "fprintf", "(", "stderr", ",", "\"Error: found feature bits in the ALL_FPU_INTERAL\"", "\" group that are not defined by any FPU.\\n\"", "\" Check your arm-cpus.in.\\n\"", ")", ";", "ASSERT_TRUE", "(", "bitmap_empty_p", "(", "isa_all_fpubits", ")", ")", ";", "}", "}", ""], "natrual_language": ["Scan", "the", "static", "data", "tables", "generated", "by", "parsecpu.awk", "looking", "for", "potential", "issues", "with", "the", "data", ".", "Here", "we", "check", "for", "consistency", "between", "the", "fpu", "bits", ",", "in", "particular", "we", "check", "that", "ISA_ALL_FPU_INTERNAL", "does", "not", "contain", "a", "feature", "bit", "that", "is", "not", "defined", "by", "any", "FPU", "flag", "."], "TS_V_token": ["arm", "0", "\"Error: found feature bits in the ALL_FPU_INTERAL\"", "\" group that are not defined by any FPU.\\n\"", "\" Check your arm-cpus.in.\\n\""], "File": "arm7", "Func": "arm_test_fpu_data", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2266, "Length": 124, "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": 2267, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SHUXIMCCodeEmitter", "::", "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", "(", ")", ")", ";", "}", "if", "(", "MO", ".", "isExpr", "(", ")", ")", "{", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "MCExpr", "::", "ExprKind", "Kind", "=", "Expr", "->", "getKind", "(", ")", ";", "if", "(", "Kind", "==", "MCExpr", "::", "Constant", ")", "{", "return", "cast", "<", "MCConstantExpr", ">", "(", "Expr", ")", "->", "getValue", "(", ")", ";", "}", "if", "(", "Kind", "==", "MCExpr", "::", "Binary", ")", "{", "Expr", "=", "static_cast", "<", "const", "MCBinaryExpr", "*", ">", "(", "Expr", ")", "->", "getLHS", "(", ")", ";", "Kind", "=", "Expr", "->", "getKind", "(", ")", ";", "}", "assert", "(", "Kind", "==", "MCExpr", "::", "SymbolRef", "&&", "\"unknown MCExpr kind\"", ")", ";", "SHUXI", "::", "Fixups", "FixupKind", "=", "SHUXI", "::", "Fixups", "(", "0", ")", ";", "switch", "(", "cast", "<", "MCSymbolRefExpr", ">", "(", "Expr", ")", "->", "getKind", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown fixup kind!\"", ")", ";", "case", "MCSymbolRefExpr", "::", "VK_None", ":", "FixupKind", "=", "SHUXI", "::", "fixup_SHUXI_32", ";", "break", ";", "}", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "Expr", ",", "MCFixupKind", "(", "FixupKind", ")", ")", ")", ";", "return", "0", ";", "}", "llvm_unreachable", "(", "\"Unhandled expression!\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["SHUXI", "SHUXI", "\"unknown MCExpr kind\"", "SHUXI::Fixups", "SHUXI::Fixups", "0", "\"Unknown fixup kind!\"", "SHUXI::fixup_SHUXI_32", "0", "0", "\"Unhandled expression!\"", "0"], "File": "SHUXIMCCodeEmitter", "Func": "getMachineOpValue", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2268, "Length": 257, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseTargetMachine", "::", "addPreEmitPass", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "!", "Subtarget", ".", "isThumb1Only", "(", ")", ")", "PM", ".", "add", "(", "createIfConverterPass", "(", ")", ")", ";", "}", "if", "(", "Subtarget", ".", "isThumb2", "(", ")", ")", "{", "PM", ".", "add", "(", "createThumb2ITBlockPass", "(", ")", ")", ";", "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": "ARMTargetMachine7", "Func": "addPreEmitPass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2269, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "std", "::", "vector", "<", "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": "X86FrameLowering10", "Func": "restoreCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2270, "Length": 373, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_output_dwarf_dtprel", "(", "FILE", "*", "file", ",", "int", "size", ",", "rtx", "x", ")", "{", "switch", "(", "size", ")", "{", "case", "4", ":", "fputs", "(", "\"\\t.long\\t\"", ",", "file", ")", ";", "break", ";", "case", "8", ":", "fputs", "(", "DOUBLE_INT_ASM_OP", ",", "file", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "output_addr_const", "(", "file", ",", "x", ")", ";", "fputs", "(", "\"@dtprel+0x8000\"", ",", "file", ")", ";", "}", ""], "natrual_language": ["This", "is", "called", "from", "dwarf2out.c", "via", "TARGET_ASM_OUTPUT_DWARF_DTPREL", ".", "We", "need", "to", "emit", "DTP-relative", "relocations", "."], "TS_V_token": ["rs6000", "4", "\"\\t.long\\t\"", "8", "\"@dtprel+0x8000\""], "File": "rs60003", "Func": "rs6000_output_dwarf_dtprel", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2271, "Length": 66, "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", ")", ";", "}", ""], "natrual_language": ["Try", "to", "add", "a", "symbolic", "operand", "instead", "of", "Value", "to", "the", "MCInst", "."], "TS_V_token": ["Sparc"], "File": "SparcDisassembler9", "Func": "tryAddingSymbolicOperand", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2272, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsOutgoingValueHandler", "::", "assignValueToReg", "(", "Register", "ValVReg", ",", "const", "CCValAssign", "&", "VA", ",", "const", "EVT", "&", "VT", ")", "{", "Register", "PhysReg", "=", "VA", ".", "getLocReg", "(", ")", ";", "if", "(", "VT", "==", "MVT", "::", "f64", "&&", "PhysReg", ">=", "Mips", "::", "A0", "&&", "PhysReg", "<=", "Mips", "::", "A3", ")", "{", "const", "MipsSubtarget", "&", "STI", "=", "static_cast", "<", "const", "MipsSubtarget", "&", ">", "(", "MIRBuilder", ".", "getMF", "(", ")", ".", "getSubtarget", "(", ")", ")", ";", "bool", "IsEL", "=", "STI", ".", "isLittle", "(", ")", ";", "auto", "Unmerge", "=", "MIRBuilder", ".", "buildUnmerge", "(", "LLT", "::", "scalar", "(", "32", ")", ",", "ValVReg", ")", ";", "MIRBuilder", ".", "buildCopy", "(", "Register", "(", "PhysReg", "+", "(", "IsEL", "?", "0", ":", "1", ")", ")", ",", "Unmerge", ".", "getReg", "(", "0", ")", ")", ";", "MIRBuilder", ".", "buildCopy", "(", "Register", "(", "PhysReg", "+", "(", "IsEL", "?", "1", ":", "0", ")", ")", ",", "Unmerge", ".", "getReg", "(", "1", ")", ")", ";", "}", "else", "if", "(", "VT", "==", "MVT", "::", "f32", "&&", "PhysReg", ">=", "Mips", "::", "A0", "&&", "PhysReg", "<=", "Mips", "::", "A3", ")", "{", "MIRBuilder", ".", "buildCopy", "(", "PhysReg", ",", "ValVReg", ")", ";", "}", "else", "{", "Register", "ExtReg", "=", "extendRegister", "(", "ValVReg", ",", "VA", ")", ";", "MIRBuilder", ".", "buildCopy", "(", "PhysReg", ",", "ExtReg", ")", ";", "MIB", ".", "addUse", "(", "PhysReg", ",", "RegState", "::", "Implicit", ")", ";", "}", "}", ""], "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": ["Mips", "Mips", "MVT::f64", "Mips::A0", "Mips::A3", "Mips", "Mips", "32", "0", "1", "0", "1", "0", "1", "MVT::f32", "Mips::A0", "Mips::A3"], "File": "MipsCallLowering16", "Func": "assignValueToReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2273, "Length": 215, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_simd_vector_alignment_reachable", "(", "const_tree", "type", ",", "bool", "is_packed", ")", "{", "if", "(", "is_packed", ")", "return", "false", ";", "if", "(", "tree_int_cst_compare", "(", "TYPE_SIZE", "(", "type", ")", ",", "bitsize_int", "(", "BIGGEST_ALIGNMENT", ")", ")", ">", "0", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "target", "hook", "TARGET_VECTORIZE_VECTOR_ALIGNMENT_REACHABLE", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch642", "Func": "aarch64_simd_vector_alignment_reachable", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2274, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_csky_regs_pop", "(", "unsigned", "long", "mask", ")", "{", "int", "num_regs", "=", "0", ";", "int", "i", ",", "j", ";", "rtx", "par", ";", "for", "(", "i", "=", "0", ";", "i", "<", "CSKY_NGPR_REGS", ";", "i", "++", ")", "if", "(", "mask", "&", "(", "1", "<<", "i", ")", ")", "num_regs", "++", ";", "gcc_assert", "(", "num_regs", "&&", "num_regs", "<=", "12", ")", ";", "par", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "num_regs", "+", "1", ")", ")", ";", "XVECEXP", "(", "par", ",", "0", ",", "0", ")", "=", "ret_rtx", ";", "for", "(", "i", "=", "0", ";", "i", "<", "CSKY_NGPR_REGS", ";", "i", "++", ")", "if", "(", "mask", "&", "(", "1", "<<", "i", ")", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "i", ")", ";", "rtx", "addr", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "4", "*", "num_regs", ")", ";", "rtx", "tmp", "=", "gen_frame_mem", "(", "SImode", ",", "gen_rtx_POST_MODIFY", "(", "Pmode", ",", "stack_pointer_rtx", ",", "addr", ")", ")", ";", "XVECEXP", "(", "par", ",", "0", ",", "1", ")", "=", "gen_rtx_SET", "(", "reg", ",", "gen_rtx_UNSPEC", "(", "SImode", ",", "gen_rtvec", "(", "1", ",", "tmp", ")", ",", "UNSPEC_PUSHPOP_MULT", ")", ")", ";", "break", ";", "}", "for", "(", "j", "=", "2", ",", "i", "++", ";", "j", "<", "(", "num_regs", "+", "1", ")", ";", "i", "++", ")", "if", "(", "mask", "&", "(", "1", "<<", "i", ")", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "i", ")", ";", "XVECEXP", "(", "par", ",", "0", ",", "j", ")", "=", "gen_rtx_USE", "(", "VOIDmode", ",", "reg", ")", ";", "j", "++", ";", "}", "par", "=", "emit_jump_insn", "(", "par", ")", ";", "}", ""], "natrual_language": ["Generate", "and", "emit", "an", "insn", "pattern", "that", "we", "will", "recognize", "as", "a", "pop_multi", ".", "SAVED_REGS_MASK", "shows", "which", "registers", "need", "to", "be", "restored", ".", "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": ["csky", "0", "0", "1", "12", "1", "0", "0", "0", "1", "4", "0", "1", "1", "2", "1", "1", "0"], "File": "csky", "Func": "emit_csky_regs_pop", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2275, "Length": 247, "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", ")", ",", "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", "(", ")", ";", "ParseSubtargetFeatures", "(", "CPUName", ",", "FS", ")", ";", "InstrItins", "=", "getInstrItineraryForCPU", "(", "CPUName", ")", ";", "if", "(", "is64Bit", ")", "{", "Has64BitSupport", "=", "true", ";", "Use64BitRegs", "=", "true", ";", "}", "if", "(", "use64BitRegs", "(", ")", "&&", "!", "has64BitSupport", "(", ")", ")", "Use64BitRegs", "=", "false", ";", "if", "(", "isDarwin", "(", ")", ")", "HasLazyResolverStubs", "=", "true", ";", "}", ""], "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\""], "File": "PPCSubtarget60", "Func": "PPCSubtarget", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2276, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mmix_rtx_costs", "(", "rtx", "x", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "int", "outer_code", "ATTRIBUTE_UNUSED", ",", "int", "opno", "ATTRIBUTE_UNUSED", ",", "int", "*", "total", "ATTRIBUTE_UNUSED", ",", "bool", "speed", "ATTRIBUTE_UNUSED", ")", "{", "return", "false", ";", "}", ""], "natrual_language": ["TARGET_RTX_COSTS", "."], "TS_V_token": ["mmix"], "File": "mmix", "Func": "mmix_rtx_costs", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2277, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetObjectFile", "::", "IsGlobalInSmallSection", "(", "const", "GlobalValue", "*", "GV", ",", "const", "TargetMachine", "&", "TM", ",", "SectionKind", "Kind", ")", "const", "{", "const", "MipsSubtarget", "&", "Subtarget", "=", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "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", ".", "getTargetData", "(", ")", "->", "getTypeAllocSize", "(", "Ty", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "global", "address", "should", "be", "placed", "into", "small", "data/bss", "section", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips"], "File": "MipsTargetObjectFile38", "Func": "IsGlobalInSmallSection", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2278, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSymbol", "*", "DLXMCInstLower", "::", "GetBlockAddressSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "return", "Printer", ".", "GetBlockAddressSymbol", "(", "MO", ".", "getBlockAddress", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "MCSymbol", "used", "to", "satisfy", "BlockAddress", "uses", "of", "the", "specified", "basic", "block", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXMCInstLower", "Func": "GetBlockAddressSymbol", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2279, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "PredicateInstruction", "(", "MachineInstr", "&", "MI", ",", "ArrayRef", "<", "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", ";", "}", "}", "if", "(", "Opcode", "==", "SystemZ", "::", "Return", ")", "{", "MI", ".", "setDesc", "(", "get", "(", "SystemZ", "::", "CondReturn", ")", ")", ";", "MachineInstrBuilder", "(", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ".", "addImm", "(", "CCValid", ")", ".", "addImm", "(", "CCMask", ")", ".", "addReg", "(", "SystemZ", "::", "CC", ",", "RegState", "::", "Implicit", ")", ";", "return", "true", ";", "}", "if", "(", "Opcode", "==", "SystemZ", "::", "CallJG", ")", "{", "const", "GlobalValue", "*", "Global", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getGlobal", "(", ")", ";", "const", "uint32_t", "*", "RegMask", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getRegMask", "(", ")", ";", "MI", ".", "RemoveOperand", "(", "1", ")", ";", "MI", ".", "RemoveOperand", "(", "0", ")", ";", "MI", ".", "setDesc", "(", "get", "(", "SystemZ", "::", "CallBRCL", ")", ")", ";", "MachineInstrBuilder", "(", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ".", "addImm", "(", "CCValid", ")", ".", "addImm", "(", "CCMask", ")", ".", "addGlobalAddress", "(", "Global", ")", ".", "addRegMask", "(", "RegMask", ")", ".", "addReg", "(", "SystemZ", "::", "CC", ",", "RegState", "::", "Implicit", ")", ";", "return", "true", ";", "}", "if", "(", "Opcode", "==", "SystemZ", "::", "CallBR", ")", "{", "const", "uint32_t", "*", "RegMask", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getRegMask", "(", ")", ";", "MI", ".", "RemoveOperand", "(", "0", ")", ";", "MI", ".", "setDesc", "(", "get", "(", "SystemZ", "::", "CallBCR", ")", ")", ";", "MachineInstrBuilder", "(", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ".", "addImm", "(", "CCValid", ")", ".", "addImm", "(", "CCMask", ")", ".", "addRegMask", "(", "RegMask", ")", ".", "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", "SystemZ::Return", "SystemZ::CondReturn", "SystemZ::CC", "SystemZ::CallJG", "0", "1", "1", "0", "SystemZ::CallBRCL", "SystemZ::CC", "SystemZ::CallBR", "0", "0", "SystemZ::CallBCR", "SystemZ::CC"], "File": "SystemZInstrInfo49", "Func": "PredicateInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2280, "Length": 422, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "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", "(", ")", ")", ";", "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": "AArch64TargetMachine20", "Func": "addIRPasses", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2281, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86FrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "FrameReg", ")", "const", "{", "if", "(", "TRI", "->", "hasBasePointer", "(", "MF", ")", ")", "FrameReg", "=", "TRI", "->", "getBaseRegister", "(", ")", ";", "else", "if", "(", "TRI", "->", "needsStackRealignment", "(", "MF", ")", ")", "FrameReg", "=", "TRI", "->", "getStackRegister", "(", ")", ";", "else", "FrameReg", "=", "TRI", "->", "getFrameRegister", "(", "MF", ")", ";", "return", "getFrameIndexOffset", "(", "MF", ",", "FI", ")", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["X86", "X86"], "File": "X86FrameLowering82", "Func": "getFrameIndexReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2282, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86FrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "FrameReg", ")", "const", "{", "const", "X86RegisterInfo", "*", "RegInfo", "=", "static_cast", "<", "const", "X86RegisterInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "if", "(", "RegInfo", "->", "hasBasePointer", "(", "MF", ")", ")", "FrameReg", "=", "RegInfo", "->", "getBaseRegister", "(", ")", ";", "else", "if", "(", "RegInfo", "->", "needsStackRealignment", "(", "MF", ")", ")", "FrameReg", "=", "RegInfo", "->", "getStackRegister", "(", ")", ";", "else", "FrameReg", "=", "RegInfo", "->", "getFrameRegister", "(", "MF", ")", ";", "return", "getFrameIndexOffset", "(", "MF", ",", "FI", ")", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86FrameLowering (2)", "Func": "getFrameIndexReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2283, "Length": 96, "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", "=", "Old", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "Amount", "!=", "0", ")", "{", "unsigned", "Align", "=", "getStackAlignment", "(", ")", ";", "Amount", "=", "(", "Amount", "+", "Align", "-", "1", ")", "/", "Align", "*", "Align", ";", "unsigned", "Opc", "=", "Old", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "ARM", "::", "ADJCALLSTACKDOWN", "||", "Opc", "==", "ARM", "::", "tADJCALLSTACKDOWN", ")", "{", "emitSPUpdate", "(", "MBB", ",", "I", ",", "TII", ",", "dl", ",", "*", "RegInfo", ",", "-", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Opc", "==", "ARM", "::", "ADJCALLSTACKUP", "||", "Opc", "==", "ARM", "::", "tADJCALLSTACKUP", ")", ";", "emitSPUpdate", "(", "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", "0", "1", "ARM::ADJCALLSTACKDOWN", "ARM::tADJCALLSTACKDOWN", "ARM::ADJCALLSTACKUP", "ARM::tADJCALLSTACKUP"], "File": "Thumb1FrameLowering36", "Func": "eliminateCallFramePseudoInstr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2284, "Length": 214, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "isProfitableToDupForIfCvt", "(", "MachineBasicBlock", "&", "MBB", ",", "unsigned", "NumCyles", ",", "float", "Probability", ",", "float", "Confidence", ")", "const", "{", "return", "NumCyles", "==", "1", ";", "}", ""], "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": ["ARM", "1"], "File": "ARMBaseInstrInfo33", "Func": "isProfitableToDupForIfCvt", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2285, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "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", ";", "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", "5", ";", "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", "PPC", "0", "32", "16", "32", "5"], "File": "PPCISelLowering (2)7", "Func": "getPrefLoopAlignment", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2286, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86GenericDisassembler", "::", "getInstruction", "(", "MCInst", "&", "instr", ",", "uint64_t", "&", "size", ",", "const", "MemoryObject", "&", "region", ",", "uint64_t", "address", ",", "raw_ostream", "&", "vStream", ")", "const", "{", "InternalInstruction", "internalInstr", ";", "int", "ret", "=", "decodeInstruction", "(", "&", "internalInstr", ",", "regionReader", ",", "(", "void", "*", ")", "&", "region", ",", "logger", ",", "(", "void", "*", ")", "&", "vStream", ",", "address", ",", "fMode", ")", ";", "if", "(", "ret", ")", "{", "size", "=", "internalInstr", ".", "readerCursor", "-", "address", ";", "return", "false", ";", "}", "else", "{", "size", "=", "internalInstr", ".", "length", ";", "return", "!", "translateInstruction", "(", "instr", ",", "internalInstr", ")", ";", "}", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["X86", "X86"], "File": "X86Disassembler12", "Func": "getInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2287, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPreAllocLoadStoreOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "TD", "=", "Fn", ".", "getTarget", "(", ")", ".", "getDataLayout", "(", ")", ";", "STI", "=", "&", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "Fn", ".", "getSubtarget", "(", ")", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "STI", "->", "getRegisterInfo", "(", ")", ";", "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": "ARMLoadStoreOptimizer2", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2288, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstrBuilder", "MipsInstrInfo", "::", "genInstrWithNewOpc", "(", "unsigned", "NewOpc", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "MachineInstrBuilder", "MIB", ";", "bool", "BranchWithZeroOperand", "=", "(", "I", "->", "isBranch", "(", ")", "&&", "!", "I", "->", "isPseudo", "(", ")", "&&", "I", "->", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "&&", "(", "I", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "Mips", "::", "ZERO", "||", "I", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "Mips", "::", "ZERO_64", ")", ")", ";", "if", "(", "BranchWithZeroOperand", ")", "{", "switch", "(", "NewOpc", ")", "{", "case", "Mips", "::", "BEQC", ":", "NewOpc", "=", "Mips", "::", "BEQZC", ";", "break", ";", "case", "Mips", "::", "BNEC", ":", "NewOpc", "=", "Mips", "::", "BNEZC", ";", "break", ";", "case", "Mips", "::", "BGEC", ":", "NewOpc", "=", "Mips", "::", "BGEZC", ";", "break", ";", "case", "Mips", "::", "BLTC", ":", "NewOpc", "=", "Mips", "::", "BLTZC", ";", "break", ";", "case", "Mips", "::", "BEQC64", ":", "NewOpc", "=", "Mips", "::", "BEQZC64", ";", "break", ";", "case", "Mips", "::", "BNEC64", ":", "NewOpc", "=", "Mips", "::", "BNEZC64", ";", "break", ";", "}", "}", "MIB", "=", "BuildMI", "(", "*", "I", "->", "getParent", "(", ")", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "NewOpc", ")", ")", ";", "if", "(", "NewOpc", "==", "Mips", "::", "JIC", "||", "NewOpc", "==", "Mips", "::", "JIALC", "||", "NewOpc", "==", "Mips", "::", "JIC64", "||", "NewOpc", "==", "Mips", "::", "JIALC64", ")", "{", "if", "(", "NewOpc", "==", "Mips", "::", "JIALC", "||", "NewOpc", "==", "Mips", "::", "JIALC64", ")", "MIB", "->", "RemoveOperand", "(", "0", ")", ";", "for", "(", "unsigned", "J", "=", "0", ",", "E", "=", "I", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", ";", "J", "<", "E", ";", "++", "J", ")", "{", "MIB", ".", "addOperand", "(", "I", "->", "getOperand", "(", "J", ")", ")", ";", "}", "MIB", ".", "addImm", "(", "0", ")", ";", "}", "else", "if", "(", "BranchWithZeroOperand", ")", "{", "MIB", ".", "addOperand", "(", "I", "->", "getOperand", "(", "0", ")", ")", ";", "for", "(", "unsigned", "J", "=", "2", ",", "E", "=", "I", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", ";", "J", "<", "E", ";", "++", "J", ")", "{", "MIB", ".", "addOperand", "(", "I", "->", "getOperand", "(", "J", ")", ")", ";", "}", "}", "else", "{", "for", "(", "unsigned", "J", "=", "0", ",", "E", "=", "I", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", ";", "J", "<", "E", ";", "++", "J", ")", "{", "MIB", ".", "addOperand", "(", "I", "->", "getOperand", "(", "J", ")", ")", ";", "}", "}", "MIB", ".", "copyImplicitOps", "(", "*", "I", ")", ";", "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", "1", "1", "Mips::ZERO", "1", "Mips::ZERO_64", "Mips::BEQC", "Mips::BEQZC", "Mips::BNEC", "Mips::BNEZC", "Mips::BGEC", "Mips::BGEZC", "Mips::BLTC", "Mips::BLTZC", "Mips::BEQC64", "Mips::BEQZC64", "Mips::BNEC64", "Mips::BNEZC64", "Mips::JIC", "Mips::JIALC", "Mips::JIC64", "Mips::JIALC64", "Mips::JIALC", "Mips::JIALC64", "0", "0", "0", "0", "2", "0"], "File": "MipsInstrInfo3", "Func": "genInstrWithNewOpc", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2289, "Length": 421, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Instruction", "*", "PPCTargetLowering", "::", "emitLeadingFence", "(", "IRBuilderBase", "&", "Builder", ",", "Instruction", "*", "Inst", ",", "AtomicOrdering", "Ord", ")", "const", "{", "if", "(", "Ord", "==", "AtomicOrdering", "::", "SequentiallyConsistent", ")", "return", "callIntrinsic", "(", "Builder", ",", "Intrinsic", "::", "ppc_sync", ")", ";", "if", "(", "isReleaseOrStronger", "(", "Ord", ")", ")", "return", "callIntrinsic", "(", "Builder", ",", "Intrinsic", "::", "ppc_lwsync", ")", ";", "return", "nullptr", ";", "}", ""], "natrual_language": ["Custom", "Lower", "{", "."], "TS_V_token": ["PowerPC", "PPC", "Intrinsic::ppc_sync", "Intrinsic::ppc_lwsync"], "File": "PPCISelLowering109", "Func": "emitLeadingFence", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2290, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "rs6000_call_template_1", "(", "rtx", "*", "operands", ",", "unsigned", "int", "funop", ",", "bool", "sibcall", ")", "{", "gcc_assert", "(", "funop", "<=", "MAX_RECOG_OPERANDS", ")", ";", "char", "arg", "[", "12", "]", ";", "arg", "[", "0", "]", "=", "0", ";", "if", "(", "GET_CODE", "(", "operands", "[", "funop", "+", "1", "]", ")", "==", "UNSPEC", ")", "{", "if", "(", "XINT", "(", "operands", "[", "funop", "+", "1", "]", ",", "1", ")", "==", "UNSPEC_TLSGD", ")", "sprintf", "(", "arg", ",", "\"(%%%u@tlsgd)\"", ",", "funop", "+", "1", ")", ";", "else", "if", "(", "XINT", "(", "operands", "[", "funop", "+", "1", "]", ",", "1", ")", "==", "UNSPEC_TLSLD", ")", "sprintf", "(", "arg", ",", "\"(%%&@tlsld)\"", ")", ";", "}", "char", "z", "[", "11", "]", ";", "sprintf", "(", "z", ",", "\"%%z%u%s\"", ",", "funop", ",", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "TARGET_SECURE_PLT", "&&", "flag_pic", "==", "2", "?", "\"+32768\"", ":", "\"\"", ")", ")", ";", "static", "char", "str", "[", "32", "]", ";", "if", "(", "rs6000_pcrel_p", "(", ")", ")", "sprintf", "(", "str", ",", "\"b%s %s@notoc%s\"", ",", "sibcall", "?", "\"\"", ":", "\"l\"", ",", "z", ",", "arg", ")", ";", "else", "if", "(", "DEFAULT_ABI", "==", "ABI_AIX", "||", "DEFAULT_ABI", "==", "ABI_ELFv2", ")", "sprintf", "(", "str", ",", "\"b%s %s%s%s\"", ",", "sibcall", "?", "\"\"", ":", "\"l\"", ",", "z", ",", "arg", ",", "sibcall", "?", "\"\"", ":", "\"\\n\\tnop\"", ")", ";", "else", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", ")", "sprintf", "(", "str", ",", "\"b%s %s%s%s\"", ",", "sibcall", "?", "\"\"", ":", "\"l\"", ",", "z", ",", "arg", ",", "flag_pic", "?", "\"@plt\"", ":", "\"\"", ")", ";", "else", "if", "(", "DEFAULT_ABI", "==", "ABI_DARWIN", ")", "{", "gcc_checking_assert", "(", "GET_CODE", "(", "operands", "[", "funop", "+", "2", "]", ")", "==", "CONST_INT", ")", ";", "int", "cookie", "=", "INTVAL", "(", "operands", "[", "funop", "+", "2", "]", ")", ";", "if", "(", "cookie", "&", "CALL_LONG", ")", "{", "tree", "funname", "=", "get_identifier", "(", "XSTR", "(", "operands", "[", "funop", "]", ",", "0", ")", ")", ";", "tree", "labelname", "=", "get_prev_label", "(", "funname", ")", ";", "gcc_checking_assert", "(", "labelname", "&&", "!", "sibcall", ")", ";", "sprintf", "(", "str", ",", "\"jbsr %%z%u,%.10s\"", ",", "funop", ",", "IDENTIFIER_POINTER", "(", "labelname", ")", ")", ";", "}", "else", "sprintf", "(", "str", ",", "\"b%s %s%s\"", ",", "sibcall", "?", "\"\"", ":", "\"l\"", ",", "z", ",", "arg", ")", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "return", "str", ";", "}", ""], "natrual_language": ["Return", "a", "template", "string", "for", "assembly", "to", "emit", "when", "making", "an", "external", "call", ".", "FUNOP", "is", "the", "call", "mem", "argument", "operand", "number", "."], "TS_V_token": ["rs6000", "12", "0", "0", "1", "1", "1", "\"(%%%u@tlsgd)\"", "1", "1", "1", "\"(%%&@tlsld)\"", "11", "\"%%z%u%s\"", "2", "\"+32768\"", "\"\"", "32", "\"b%s %s@notoc%s\"", "\"\"", "\"l\"", "\"b%s %s%s%s\"", "\"\"", "\"l\"", "\"\"", "\"\\n\\tnop\"", "\"b%s %s%s%s\"", "\"\"", "\"l\"", "\"@plt\"", "\"\"", "2", "2", "0", "\"jbsr %%z%u,%.10s\"", "\"b%s %s%s\"", "\"\"", "\"l\""], "File": "rs6000", "Func": "rs6000_call_template_1", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2291, "Length": 348, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMFrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "ArrayRef", "<", "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", "(", ")", ";", "if", "(", "AFI", "->", "shouldSignReturnAddress", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DebugLoc", "(", ")", ",", "STI", ".", "getInstrInfo", "(", ")", "->", "get", "(", "ARM", "::", "t2PAC", ")", ")", ".", "setMIFlags", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "if", "(", "llvm", "::", "any_of", "(", "CSI", ",", "[", "]", "(", "const", "CalleeSavedInfo", "&", "C", ")", "{", "return", "C", ".", "getReg", "(", ")", "==", "ARM", "::", "FPCXTNS", ";", "}", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DebugLoc", "(", ")", ",", "STI", ".", "getInstrInfo", "(", ")", "->", "get", "(", "ARM", "::", "VSTR_FPCXTNS_pre", ")", ",", "ARM", "::", "SP", ")", ".", "addReg", "(", "ARM", "::", "SP", ")", ".", "addImm", "(", "-", "4", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "}", "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::t2PAC", "ARM::FPCXTNS", "ARM::VSTR_FPCXTNS_pre", "ARM::SP", "ARM::SP", "4", "ARMCC::AL", "ARM", "0", "ARM", "0", "0", "ARM"], "File": "ARMFrameLowering100", "Func": "spillCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2292, "Length": 330, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_expand_int_vec_cmp", "(", "rtx", "operands", "[", "]", ")", "{", "rtx_code", "code", "=", "GET_CODE", "(", "operands", "[", "1", "]", ")", ";", "bool", "negate", "=", "false", ";", "rtx", "cmp", "=", "ix86_expand_int_sse_cmp", "(", "operands", "[", "0", "]", ",", "code", ",", "operands", "[", "2", "]", ",", "operands", "[", "3", "]", ",", "NULL", ",", "NULL", ",", "&", "negate", ")", ";", "if", "(", "!", "cmp", ")", "return", "false", ";", "if", "(", "negate", ")", "cmp", "=", "ix86_expand_int_sse_cmp", "(", "operands", "[", "0", "]", ",", "EQ", ",", "cmp", ",", "CONST0_RTX", "(", "GET_MODE", "(", "cmp", ")", ")", ",", "NULL", ",", "NULL", ",", "&", "negate", ")", ";", "gcc_assert", "(", "!", "negate", ")", ";", "if", "(", "operands", "[", "0", "]", "!=", "cmp", ")", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "cmp", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Expand", "integer", "vector", "comparison", "."], "TS_V_token": ["i386", "1", "0", "2", "3", "0", "0", "0"], "File": "i386-expand", "Func": "ix86_expand_int_vec_cmp", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2293, "Length": 125, "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": 2294, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_expand_sse_cmp", "(", "rtx", "dest", ",", "enum", "rtx_code", "code", ",", "rtx", "cmp_op0", ",", "rtx", "cmp_op1", ",", "rtx", "op_true", ",", "rtx", "op_false", ")", "{", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "rtx", "x", ";", "cmp_op0", "=", "force_reg", "(", "mode", ",", "cmp_op0", ")", ";", "if", "(", "!", "nonimmediate_operand", "(", "cmp_op1", ",", "mode", ")", ")", "cmp_op1", "=", "force_reg", "(", "mode", ",", "cmp_op1", ")", ";", "if", "(", "optimize", "||", "reg_overlap_mentioned_p", "(", "dest", ",", "op_true", ")", "||", "reg_overlap_mentioned_p", "(", "dest", ",", "op_false", ")", ")", "dest", "=", "gen_reg_rtx", "(", "mode", ")", ";", "x", "=", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "cmp_op0", ",", "cmp_op1", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "x", ")", ")", ";", "return", "dest", ";", "}", ""], "natrual_language": ["Expand", "an", "sse", "vector", "comparison", ".", "Return", "the", "register", "with", "the", "result", "."], "TS_V_token": ["i386"], "File": "i3863", "Func": "ix86_expand_sse_cmp", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2295, "Length": 118, "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": 2296, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_option_print", "(", "FILE", "*", "file", ",", "int", "indent", ",", "struct", "cl_target_option", "*", "ptr", ")", "{", "int", "flags", "=", "ptr", "->", "x_target_flags", ";", "const", "struct", "arm_fpu_desc", "*", "fpu_desc", "=", "&", "all_fpus", "[", "ptr", "->", "x_arm_fpu_index", "]", ";", "fprintf", "(", "file", ",", "\"%*sselected arch %s\\n\"", ",", "indent", ",", "\"\"", ",", "TARGET_THUMB2_P", "(", "flags", ")", "?", "\"thumb2\"", ":", "TARGET_THUMB_P", "(", "flags", ")", "?", "\"thumb1\"", ":", "\"arm\"", ")", ";", "fprintf", "(", "file", ",", "\"%*sselected fpu %s\\n\"", ",", "indent", ",", "\"\"", ",", "fpu_desc", "->", "name", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_PRINT", "."], "TS_V_token": ["arm", "\"%*sselected arch %s\\n\"", "\"\"", "\"thumb2\"", "\"thumb1\"", "\"arm\"", "\"%*sselected fpu %s\\n\"", "\"\""], "File": "arm5", "Func": "arm_option_print", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2297, "Length": 81, "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": 2298, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_emit_sve_pred_move", "(", "rtx", "dest", ",", "rtx", "pred", ",", "rtx", "src", ")", "{", "expand_operand", "ops", "[", "3", "]", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "create_output_operand", "(", "&", "ops", "[", "0", "]", ",", "dest", ",", "mode", ")", ";", "create_input_operand", "(", "&", "ops", "[", "1", "]", ",", "pred", ",", "GET_MODE", "(", "pred", ")", ")", ";", "create_input_operand", "(", "&", "ops", "[", "2", "]", ",", "src", ",", "mode", ")", ";", "expand_insn", "(", "code_for_aarch64_pred_mov", "(", "mode", ")", ",", "3", ",", "ops", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "SVE", "predicated", "move", "from", "SRC", "to", "DEST", ".", "PRED", "is", "a", "predicate", "that", "is", "known", "to", "contain", "PTRUE", "."], "TS_V_token": ["aarch64", "3", "0", "1", "2", "3"], "File": "aarch646", "Func": "aarch64_emit_sve_pred_move", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2299, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "frame_insn", "(", "rtx", "x", ")", "{", "rtx_insn", "*", "insn", "=", "emit_insn", "(", "x", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "return", "insn", ";", "}", ""], "natrual_language": ["Emit", "the", "specified", "insn", "and", "mark", "it", "as", "frame", "related", ".", "FIXME", ":", "Rename", "this", "to", "emit_frame_insn", "."], "TS_V_token": ["sh", "1"], "File": "sh4", "Func": "frame_insn", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2300, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_setup_incoming_varargs", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "int", "*", "pretend_size", ",", "int", "second_time", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "next_cum", "=", "*", "cum", ";", "ia64_function_arg_advance", "(", "&", "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": "ia643", "Func": "ia64_setup_incoming_varargs", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2301, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "unique_ptr", "<", "TargetInstrInfo", "::", "PipelinerLoopInfo", ">", "PPCInstrInfo", "::", "analyzeLoopForPipelining", "(", "MachineBasicBlock", "*", "LoopBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "I", "=", "LoopBB", "->", "getFirstTerminator", "(", ")", ";", "MachineBasicBlock", "*", "Preheader", "=", "*", "LoopBB", "->", "pred_begin", "(", ")", ";", "if", "(", "Preheader", "==", "LoopBB", ")", "Preheader", "=", "*", "std", "::", "next", "(", "LoopBB", "->", "pred_begin", "(", ")", ")", ";", "MachineFunction", "*", "MF", "=", "Preheader", "->", "getParent", "(", ")", ";", "if", "(", "I", "!=", "LoopBB", "->", "end", "(", ")", "&&", "isBDNZ", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "{", "SmallPtrSet", "<", "MachineBasicBlock", "*", ",", "8", ">", "Visited", ";", "if", "(", "MachineInstr", "*", "LoopInst", "=", "findLoopInstr", "(", "*", "Preheader", ",", "Visited", ")", ")", "{", "Register", "LoopCountReg", "=", "LoopInst", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "MachineInstr", "*", "LoopCount", "=", "MRI", ".", "getUniqueVRegDef", "(", "LoopCountReg", ")", ";", "return", "std", "::", "make_unique", "<", "PPCPipelinerLoopInfo", ">", "(", "LoopInst", ",", "&", "*", "I", ",", "LoopCount", ")", ";", "}", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["Analyze", "loop", "L", ",", "which", "must", "be", "a", "single-basic-block", "loop", ",", "and", "if", "the", "conditions", "can", "be", "understood", "enough", "produce", "a", "PipelinerLoopInfo", "object", "."], "TS_V_token": ["PowerPC", "PPC", "8", "0", "PPC"], "File": "PPCInstrInfo", "Func": "analyzeLoopForPipelining", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2302, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VETargetLowering", "::", "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": ["VE", "VE"], "File": "VEISelLowering1", "Func": "isOffsetFoldingLegal", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2303, "Length": 16, "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": 2304, "Length": 453, "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": 2305, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMemUseUpRegs", "(", ")", "const", "override", "{", "return", "UseUpRegs", ";", "}", ""], "natrual_language": ["isMemUseUpRegs", "-", "Is", "memory", "operand", "use", "up", "regs", ",", "for", "example", ",", "intel", "MS", "inline", "asm", "may", "use", "ARR", "[", "baseReg", "+", "IndexReg", "+", "...", "]", "which", "may", "use", "up", "regs", "in", "[", "...", "]", "expr", ",", "so", "ARR", "[", "baseReg", "+", "IndexReg", "+", "...", "]", "can", "not", "use", "extra", "reg", "for", "ARR", "."], "TS_V_token": ["X86"], "File": "X86Operand15", "Func": "isMemUseUpRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2306, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "SparcInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcTargetMachine", "Func": "getInstrInfo", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2307, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "MipsDAGToDAGISel", "::", "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\"", ")", ";", "Node", "->", "setNodeId", "(", "-", "1", ")", ";", "return", "nullptr", ";", "}", "std", "::", "pair", "<", "bool", ",", "SDNode", "*", ">", "Ret", "=", "selectNode", "(", "Node", ")", ";", "if", "(", "Ret", ".", "first", ")", "return", "Ret", ".", "second", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "GLOBAL_OFFSET_TABLE", ":", "return", "getGlobalBaseReg", "(", ")", ";", "case", "ISD", "::", "LOAD", ":", "case", "ISD", "::", "STORE", ":", "assert", "(", "cast", "<", "MemSDNode", ">", "(", "Node", ")", "->", "getMemoryVT", "(", ")", ".", "getSizeInBits", "(", ")", "/", "8", "<=", "cast", "<", "MemSDNode", ">", "(", "Node", ")", "->", "getAlignment", "(", ")", "&&", "\"Unexpected unaligned loads/stores.\"", ")", ";", "break", ";", "}", "SDNode", "*", "ResNode", "=", "SelectCode", "(", "Node", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"=> \"", ")", ";", "if", "(", "ResNode", "==", "nullptr", "||", "ResNode", "==", "Node", ")", "DEBUG", "(", "Node", "->", "dump", "(", "CurDAG", ")", ")", ";", "else", "DEBUG", "(", "ResNode", "->", "dump", "(", "CurDAG", ")", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "return", "ResNode", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["Mips", "Mips", "\"Selecting: \"", "\"\\n\"", "\"== \"", "\"\\n\"", "1", "ISD::GLOBAL_OFFSET_TABLE", "ISD::LOAD", "ISD::STORE", "8", "\"Unexpected unaligned loads/stores.\"", "\"=> \"", "\"\\n\""], "File": "MipsISelDAGToDAG33", "Func": "Select", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2308, "Length": 241, "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": 2309, "Length": 296, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_add_new_builtins", "(", "HOST_WIDE_INT", "isa", ",", "HOST_WIDE_INT", "isa2", ")", "{", "isa", "&=", "~", "OPTION_MASK_ISA_64BIT", ";", "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", "]", ".", "pure_p", ")", "DECL_PURE_P", "(", "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", "1", "\"leaf\"", "1"], "File": "i3867", "Func": "ix86_add_new_builtins", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2310, "Length": 247, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "SmallString", "<", "128", ">", "Str", ";", "raw_svector_ostream", "OS", "(", "Str", ")", ";", "if", "(", "MI", "->", "isDebugValue", "(", ")", ")", "{", "PrintDebugValueComment", "(", "MI", ",", "OS", ")", ";", "return", ";", "}", "MipsMCInstLower", "MCInstLowering", "(", "Mang", ",", "*", "MF", ",", "*", "this", ")", ";", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "MCInst", "TmpInst0", ";", "MCInstLowering", ".", "Lower", "(", "MI", ",", "TmpInst0", ")", ";", "if", "(", "isUnalignedLoadStore", "(", "Opc", ")", ")", "{", "MCInst", "Directive", ";", "Directive", ".", "setOpcode", "(", "Mips", "::", "MACRO", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "Directive", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "TmpInst0", ")", ";", "Directive", ".", "setOpcode", "(", "Mips", "::", "NOMACRO", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "Directive", ")", ";", "return", ";", "}", "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", "Mips", "Mips::MACRO", "Mips::NOMACRO"], "File": "MipsAsmPrinter89", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2311, "Length": 136, "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": 2312, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_invalid_builtin", "(", "enum", "rs6000_builtins", "fncode", ")", "{", "size_t", "uns_fncode", "=", "(", "size_t", ")", "fncode", ";", "const", "char", "*", "name", "=", "rs6000_builtin_info", "[", "uns_fncode", "]", ".", "name", ";", "HOST_WIDE_INT", "fnmask", "=", "rs6000_builtin_info", "[", "uns_fncode", "]", ".", "mask", ";", "gcc_assert", "(", "name", "!=", "NULL", ")", ";", "if", "(", "(", "fnmask", "&", "RS6000_BTM_CELL", ")", "!=", "0", ")", "error", "(", "\"builtin function %qs is only valid for the cell processor\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_VSX", ")", "!=", "0", ")", "error", "(", "\"builtin function %qs requires the %qs option\"", ",", "name", ",", "\"-mvsx\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_HTM", ")", "!=", "0", ")", "error", "(", "\"builtin function %qs requires the %qs option\"", ",", "name", ",", "\"-mhtm\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_ALTIVEC", ")", "!=", "0", ")", "error", "(", "\"builtin function %qs requires the %qs option\"", ",", "name", ",", "\"-maltivec\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "(", "RS6000_BTM_DFP", "|", "RS6000_BTM_P8_VECTOR", ")", ")", "==", "(", "RS6000_BTM_DFP", "|", "RS6000_BTM_P8_VECTOR", ")", ")", "error", "(", "\"builtin function %qs requires the %qs and %qs options\"", ",", "name", ",", "\"-mhard-dfp\"", ",", "\"-mpower8-vector\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_DFP", ")", "!=", "0", ")", "error", "(", "\"builtin function %qs requires the %qs option\"", ",", "name", ",", "\"-mhard-dfp\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_P8_VECTOR", ")", "!=", "0", ")", "error", "(", "\"builtin function %qs requires the %qs option\"", ",", "name", ",", "\"-mpower8-vector\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "(", "RS6000_BTM_P9_VECTOR", "|", "RS6000_BTM_64BIT", ")", ")", "==", "(", "RS6000_BTM_P9_VECTOR", "|", "RS6000_BTM_64BIT", ")", ")", "error", "(", "\"builtin function %qs requires the %qs and %qs options\"", ",", "name", ",", "\"-mcpu=power9\"", ",", "\"-m64\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_P9_VECTOR", ")", "!=", "0", ")", "error", "(", "\"builtin function %qs requires the %qs option\"", ",", "name", ",", "\"-mcpu=power9\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "(", "RS6000_BTM_P9_MISC", "|", "RS6000_BTM_64BIT", ")", ")", "==", "(", "RS6000_BTM_P9_MISC", "|", "RS6000_BTM_64BIT", ")", ")", "error", "(", "\"builtin function %qs requires the %qs and %qs options\"", ",", "name", ",", "\"-mcpu=power9\"", ",", "\"-m64\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_P9_MISC", ")", "==", "RS6000_BTM_P9_MISC", ")", "error", "(", "\"builtin function %qs requires the %qs option\"", ",", "name", ",", "\"-mcpu=power9\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_LDBL128", ")", "==", "RS6000_BTM_LDBL128", ")", "{", "if", "(", "!", "TARGET_HARD_FLOAT", ")", "error", "(", "\"builtin function %qs requires the %qs option\"", ",", "name", ",", "\"-mhard-float\"", ")", ";", "else", "error", "(", "\"builtin function %qs requires the %qs option\"", ",", "name", ",", "TARGET_IEEEQUAD", "?", "\"-mabi=ibmlongdouble\"", ":", "\"-mlong-double-128\"", ")", ";", "}", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_HARD_FLOAT", ")", "!=", "0", ")", "error", "(", "\"builtin function %qs requires the %qs option\"", ",", "name", ",", "\"-mhard-float\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_FLOAT128_HW", ")", "!=", "0", ")", "error", "(", "\"builtin function %qs requires ISA 3.0 IEEE 128-bit floating point\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_FLOAT128", ")", "!=", "0", ")", "error", "(", "\"builtin function %qs requires the %qs option\"", ",", "name", ",", "\"%<-mfloat128%>\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "(", "RS6000_BTM_POPCNTD", "|", "RS6000_BTM_POWERPC64", ")", ")", "==", "(", "RS6000_BTM_POPCNTD", "|", "RS6000_BTM_POWERPC64", ")", ")", "error", "(", "\"builtin function %qs requires the %qs (or newer), and \"", "\"%qs or %qs options\"", ",", "name", ",", "\"-mcpu=power7\"", ",", "\"-m64\"", ",", "\"-mpowerpc64\"", ")", ";", "else", "error", "(", "\"builtin function %qs is not supported with the current options\"", ",", "name", ")", ";", "}", ""], "natrual_language": ["Raise", "an", "error", "message", "for", "a", "builtin", "function", "that", "is", "called", "without", "the", "appropriate", "target", "options", "being", "set", "."], "TS_V_token": ["rs6000", "0", "\"builtin function %qs is only valid for the cell processor\"", "0", "\"builtin function %qs requires the %qs option\"", "\"-mvsx\"", "0", "\"builtin function %qs requires the %qs option\"", "\"-mhtm\"", "0", "\"builtin function %qs requires the %qs option\"", "\"-maltivec\"", "\"builtin function %qs requires the %qs and %qs options\"", "\"-mhard-dfp\"", "\"-mpower8-vector\"", "0", "\"builtin function %qs requires the %qs option\"", "\"-mhard-dfp\"", "0", "\"builtin function %qs requires the %qs option\"", "\"-mpower8-vector\"", "\"builtin function %qs requires the %qs and %qs options\"", "\"-mcpu=power9\"", "\"-m64\"", "0", "\"builtin function %qs requires the %qs option\"", "\"-mcpu=power9\"", "\"builtin function %qs requires the %qs and %qs options\"", "\"-mcpu=power9\"", "\"-m64\"", "\"builtin function %qs requires the %qs option\"", "\"-mcpu=power9\"", "\"builtin function %qs requires the %qs option\"", "\"-mhard-float\"", "\"builtin function %qs requires the %qs option\"", "\"-mabi=ibmlongdouble\"", "\"-mlong-double-128\"", "0", "\"builtin function %qs requires the %qs option\"", "\"-mhard-float\"", "0", "\"builtin function %qs requires ISA 3.0 IEEE 128-bit floating point\"", "0", "\"builtin function %qs requires the %qs option\"", "\"%<-mfloat128%>\"", "\"builtin function %qs requires the %qs (or newer), and \"", "\"%qs or %qs options\"", "\"-mcpu=power7\"", "\"-m64\"", "\"-mpowerpc64\"", "\"builtin function %qs is not supported with the current options\""], "File": "rs60008", "Func": "rs6000_invalid_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2313, "Length": 434, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CJGInstrInfo", "::", "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", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "CJG", "::", "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": ["CJG", "CJG", "CJG::POP"], "File": "CJGInstrInfo", "Func": "loadRegFromStackSlot", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2314, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBank", "&", "MipsRegisterBankInfo", "::", "getRegBankFromRegClass", "(", "const", "TargetRegisterClass", "&", "RC", ")", "const", "{", "using", "namespace", "Mips", ";", "switch", "(", "RC", ".", "getID", "(", ")", ")", "{", "case", "Mips", "::", "GPR32RegClassID", ":", "case", "Mips", "::", "CPU16Regs_and_GPRMM16ZeroRegClassID", ":", "case", "Mips", "::", "GPRMM16MoveP_and_CPU16Regs_and_GPRMM16ZeroRegClassID", ":", "return", "getRegBank", "(", "Mips", "::", "GPRBRegBankID", ")", ";", "default", ":", "llvm_unreachable", "(", "\"Register class not supported\"", ")", ";", "}", "}", ""], "natrual_language": ["Get", "a", "register", "bank", "that", "covers", "RC", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips::GPR32RegClassID", "Mips::CPU16Regs_and_GPRMM16ZeroRegClassID", "Mips::GPRMM16MoveP_and_CPU16Regs_and_GPRMM16ZeroRegClassID", "Mips::GPRBRegBankID", "\"Register class not supported\""], "File": "MipsRegisterBankInfo11", "Func": "getRegBankFromRegClass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2315, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "short", "find_set_regmode_weight", "(", "rtx", "x", ",", "machine_mode", "mode", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "CLOBBER", "&&", "register_operand", "(", "SET_DEST", "(", "x", ")", ",", "mode", ")", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "SET", "&&", "register_operand", "(", "SET_DEST", "(", "x", ")", ",", "mode", ")", ")", "{", "if", "(", "REG_P", "(", "SET_DEST", "(", "x", ")", ")", ")", "{", "if", "(", "!", "reg_mentioned_p", "(", "SET_DEST", "(", "x", ")", ",", "SET_SRC", "(", "x", ")", ")", ")", "return", "1", ";", "else", "return", "0", ";", "}", "return", "1", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Get", "weight", "for", "mode", "for", "a", "set", "x", "."], "TS_V_token": ["sh", "1", "1", "0", "1", "0"], "File": "sh", "Func": "find_set_regmode_weight", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2316, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_mode_set", "(", "int", "entity", ",", "int", "mode", ",", "int", "prev_mode", "ATTRIBUTE_UNUSED", ",", "HARD_REG_SET", "regs_live", ")", "{", "switch", "(", "entity", ")", "{", "case", "AVX_U128", ":", "if", "(", "mode", "==", "AVX_U128_CLEAN", ")", "ix86_avx_emit_vzeroupper", "(", "regs_live", ")", ";", "break", ";", "case", "I387_TRUNC", ":", "case", "I387_FLOOR", ":", "case", "I387_CEIL", ":", "case", "I387_MASK_PM", ":", "if", "(", "mode", "!=", "I387_CW_ANY", "&&", "mode", "!=", "I387_CW_UNINITIALIZED", ")", "emit_i387_cw_initialization", "(", "mode", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Generate", "one", "or", "more", "insns", "to", "set", "ENTITY", "to", "MODE", ".", "HARD_REG_LIVE", "is", "the", "set", "of", "hard", "registers", "live", "at", "the", "point", "where", "the", "insn", "(", "s", ")", "are", "to", "be", "inserted", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_emit_mode_set", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2317, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "branch_needs_nop_p", "(", "rtx_insn", "*", "insn", ")", "{", "rtx_insn", "*", "jump_insn", ";", "if", "(", "dbr_sequence_length", "(", ")", ")", "return", "FALSE", ";", "jump_insn", "=", "next_active_insn", "(", "JUMP_LABEL_AS_INSN", "(", "insn", ")", ")", ";", "while", "(", "insn", ")", "{", "insn", "=", "next_active_insn", "(", "insn", ")", ";", "if", "(", "!", "insn", "||", "jump_insn", "==", "insn", ")", "return", "TRUE", ";", "if", "(", "!", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "ASM_INPUT", "||", "asm_noperands", "(", "PATTERN", "(", "insn", ")", ")", ">=", "0", ")", "&&", "get_attr_length", "(", "insn", ")", ">", "0", ")", "break", ";", "}", "return", "FALSE", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "INSN", ",", "a", "forward", "jump", "insn", ",", "needs", "a", "nop", "in", "its", "delay", "slot", ".", "This", "occurs", "when", "INSN", "has", "an", "unfilled", "delay", "slot", "and", "is", "followed", "by", "an", "asm", ".", "Disaster", "can", "occur", "if", "the", "asm", "is", "empty", "and", "the", "jump", "branches", "into", "the", "delay", "slot", ".", "So", ",", "we", "add", "a", "nop", "in", "the", "delay", "slot", "when", "this", "occurs", "."], "TS_V_token": ["pa", "0", "0"], "File": "pa", "Func": "branch_needs_nop_p", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2318, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "std", "::", "string", "&", "AArch64LongBranchStub", "::", "name", "(", ")", "const", "{", "return", "m_Name", ";", "}", ""], "natrual_language": ["Gets", "the", "name", "of", "the", "pass", "we", "are", "mixed", "into", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64LongBranchStub", "Func": "name", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2319, "Length": 16, "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", ":", "case", "X86", "::", "FsFLD0SS", ":", "case", "X86", "::", "FsFLD0SD", ":", "return", "Expand2AddrUndef", "(", "MI", ",", "get", "(", "HasAVX", "?", "X86", "::", "VXORPSrr", ":", "X86", "::", "XORPSrr", ")", ")", ";", "case", "X86", "::", "AVX_SET0", ":", "assert", "(", "HasAVX", "&&", "\"AVX not supported\"", ")", ";", "return", "Expand2AddrUndef", "(", "MI", ",", "get", "(", "X86", "::", "VXORPSYrr", ")", ")", ";", "case", "X86", "::", "V_SETALLONES", ":", "return", "Expand2AddrUndef", "(", "MI", ",", "get", "(", "HasAVX", "?", "X86", "::", "VPCMPEQDrr", ":", "X86", "::", "PCMPEQDrr", ")", ")", ";", "case", "X86", "::", "AVX2_SETALLONES", ":", "return", "Expand2AddrUndef", "(", "MI", ",", "get", "(", "X86", "::", "VPCMPEQDYrr", ")", ")", ";", "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::FsFLD0SS", "X86::FsFLD0SD", "X86::VXORPSrr", "X86::XORPSrr", "X86::AVX_SET0", "\"AVX not supported\"", "X86::VXORPSYrr", "X86::V_SETALLONES", "X86::VPCMPEQDrr", "X86::PCMPEQDrr", "X86::AVX2_SETALLONES", "X86::VPCMPEQDYrr", "X86::TEST8ri_NOREX", "X86::TEST8ri"], "File": "X86InstrInfo16", "Func": "expandPostRAPseudo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2320, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_override_options_internal", "(", "struct", "gcc_options", "*", "opts", ")", "{", "aarch64_tune_flags", "=", "selected_tune", "->", "flags", ";", "aarch64_tune", "=", "selected_tune", "->", "sched_core", ";", "aarch64_tune_params", "=", "*", "(", "selected_tune", "->", "tune", ")", ";", "aarch64_architecture_version", "=", "selected_arch", "->", "architecture_version", ";", "if", "(", "opts", "->", "x_aarch64_override_tune_string", ")", "aarch64_parse_override_string", "(", "opts", "->", "x_aarch64_override_tune_string", ",", "&", "aarch64_tune_params", ")", ";", "if", "(", "opts", "->", "x_flag_strict_volatile_bitfields", "<", "0", "&&", "abi_version_at_least", "(", "2", ")", ")", "opts", "->", "x_flag_strict_volatile_bitfields", "=", "1", ";", "initialize_aarch64_code_model", "(", "opts", ")", ";", "initialize_aarch64_tls_size", "(", "opts", ")", ";", "int", "queue_depth", "=", "0", ";", "switch", "(", "aarch64_tune_params", ".", "autoprefetcher_model", ")", "{", "case", "tune_params", "::", "AUTOPREFETCHER_OFF", ":", "queue_depth", "=", "-", "1", ";", "break", ";", "case", "tune_params", "::", "AUTOPREFETCHER_WEAK", ":", "queue_depth", "=", "0", ";", "break", ";", "case", "tune_params", "::", "AUTOPREFETCHER_STRONG", ":", "queue_depth", "=", "max_insn_queue_index", "+", "1", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "maybe_set_param_value", "(", "PARAM_SCHED_AUTOPREF_QUEUE_DEPTH", ",", "queue_depth", ",", "opts", "->", "x_param_values", ",", "global_options_set", ".", "x_param_values", ")", ";", "if", "(", "selected_cpu", "->", "tune", "->", "cache_line_size", "!=", "0", ")", "maybe_set_param_value", "(", "PARAM_L1_CACHE_LINE_SIZE", ",", "selected_cpu", "->", "tune", "->", "cache_line_size", ",", "opts", "->", "x_param_values", ",", "global_options_set", ".", "x_param_values", ")", ";", "aarch64_override_options_after_change_1", "(", "opts", ")", ";", "}", ""], "natrual_language": ["'Unpack", "'", "up", "the", "internal", "tuning", "structs", "and", "update", "the", "options", "in", "OPTS", ".", "The", "caller", "must", "have", "set", "up", "selected_tune", "and", "selected_arch", "as", "all", "the", "other", "target-specific", "codegen", "decisions", "are", "derived", "from", "them", "."], "TS_V_token": ["aarch64", "0", "2", "1", "0", "1", "0", "1", "0"], "File": "aarch643", "Func": "aarch64_override_options_internal", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2321, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ia64_function_arg", "(", "cumulative_args_t", "cum", ",", "const", "function_arg_info", "&", "arg", ")", "{", "return", "ia64_function_arg_1", "(", "cum", ",", "arg", ",", "false", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCION_ARG", "target", "hook", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "ia64_function_arg", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2322, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "evaluateBranch", "(", "const", "MCInst", "&", "Inst", ",", "uint64_t", "Addr", ",", "uint64_t", "Size", ",", "uint64_t", "&", "Target", ")", "const", "override", "{", "const", "MCInstrDesc", "&", "Desc", "=", "Info", "->", "get", "(", "Inst", ".", "getOpcode", "(", ")", ")", ";", "bool", "FoundImm", "=", "false", ";", "int64_t", "Imm", ";", "for", "(", "unsigned", "OpNum", "=", "0", ";", "OpNum", "<", "Desc", ".", "getNumOperands", "(", ")", ";", "++", "OpNum", ")", "{", "if", "(", "Inst", ".", "getOperand", "(", "OpNum", ")", ".", "isImm", "(", ")", "&&", "Desc", ".", "OpInfo", "[", "OpNum", "]", ".", "OperandType", "==", "MCOI", "::", "OPERAND_PCREL", ")", "{", "Imm", "=", "Inst", ".", "getOperand", "(", "OpNum", ")", ".", "getImm", "(", ")", ";", "FoundImm", "=", "true", ";", "}", "}", "if", "(", "!", "FoundImm", ")", "return", "false", ";", "uint64_t", "Offset", "=", "(", "(", "Desc", ".", "TSFlags", "&", "ARMII", "::", "FormMask", ")", "==", "ARMII", "::", "ThumbFrm", ")", "?", "4", ":", "8", ";", "Target", "=", "Addr", "+", "Imm", "+", "Offset", ";", "return", "true", ";", "}", ""], "natrual_language": ["Given", "a", "branch", "instruction", "try", "to", "get", "the", "address", "the", "branch", "targets", "."], "TS_V_token": ["ARM", "0", "ARMII::FormMask", "ARMII::ThumbFrm", "4", "8"], "File": "ARMMCTargetDesc39", "Func": "evaluateBranch", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2323, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "getUNDEF", "(", "EVT", "VT", ")", "const", "{", "return", "DAG", ".", "getUNDEF", "(", "VT", ")", ";", "}", ""], "natrual_language": ["Return", "an", "UNDEF", "node", ".", "UNDEF", "does", "not", "have", "a", "useful", "SDLoc", "."], "TS_V_token": ["VE"], "File": "VECustomDAG", "Func": "getUNDEF", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2324, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86TargetLowering", "::", "ConstraintType", "X86TargetLowering", "::", "getConstraintType", "(", "const", "std", "::", "string", "&", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'A'", ":", "return", "C_Register", ";", "case", "'f'", ":", "case", "'r'", ":", "case", "'R'", ":", "case", "'l'", ":", "case", "'q'", ":", "case", "'Q'", ":", "case", "'x'", ":", "case", "'y'", ":", "case", "'Y'", ":", "return", "C_RegisterClass", ";", "case", "'e'", ":", "case", "'Z'", ":", "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": ["X86", "X86", "X86", "1", "0"], "File": "X86ISelLowering144", "Func": "getConstraintType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2325, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_use_by_pieces_infrastructure_p", "(", "unsigned", "HOST_WIDE_INT", "size", ",", "unsigned", "int", "align", ",", "enum", "by_pieces_operation", "op", ",", "bool", "speed_p", ")", "{", "if", "(", "op", "==", "STORE_BY_PIECES", ")", "return", "mips_store_by_pieces_p", "(", "size", ",", "align", ")", ";", "if", "(", "op", "==", "MOVE_BY_PIECES", "&&", "HAVE_movmemsi", ")", "{", "if", "(", "currently_expanding_to_rtl", ")", "return", "false", ";", "if", "(", "align", "<", "BITS_PER_WORD", ")", "return", "size", "<", "UNITS_PER_WORD", ";", "return", "size", "<=", "MIPS_MAX_MOVE_BYTES_STRAIGHT", ";", "}", "return", "default_use_by_pieces_infrastructure_p", "(", "size", ",", "align", ",", "op", ",", "speed_p", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_USE_MOVE_BY_PIECES_INFRASTRUCTURE_P", "."], "TS_V_token": ["mips"], "File": "mips4", "Func": "mips_use_by_pieces_infrastructure_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2326, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "VE", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["VE", "VE::NumTargetFixupKinds"], "File": "VEAsmBackend", "Func": "getNumFixupKinds", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2327, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SystemZTTIImpl", "::", "getMinPrefetchStride", "(", "unsigned", "NumMemAccesses", ",", "unsigned", "NumStridedMemAccesses", ",", "unsigned", "NumPrefetches", ",", "bool", "HasCall", ")", "const", "{", "if", "(", "NumPrefetches", ">", "16", ")", "return", "UINT_MAX", ";", "if", "(", "NumStridedMemAccesses", ">", "32", "&&", "!", "HasCall", "&&", "(", "NumMemAccesses", "-", "NumStridedMemAccesses", ")", "*", "32", "<=", "NumStridedMemAccesses", ")", "return", "1", ";", "return", "ST", "->", "hasMiscellaneousExtensions3", "(", ")", "?", "8192", ":", "2048", ";", "}", ""], "natrual_language": ["Some", "HW", "prefetchers", "can", "handle", "accesses", "up", "to", "a", "certain", "constant", "stride", "."], "TS_V_token": ["SystemZ", "SystemZ", "16", "32", "32", "1", "8192", "2048"], "File": "SystemZTargetTransformInfo1", "Func": "getMinPrefetchStride", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2328, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "sparc_split_reg_mem_legitimate", "(", "rtx", "reg", ",", "rtx", "mem", ")", "{", "gcc_assert", "(", "reload_completed", ")", ";", "if", "(", "!", "offsettable_memref_p", "(", "mem", ")", ")", "return", "0", ";", "if", "(", "(", "REGNO", "(", "reg", ")", "%", "2", ")", "==", "0", "&&", "mem_min_alignment", "(", "mem", ",", "8", ")", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "1", "if", "REG", "and", "MEM", "are", "legitimate", "enough", "to", "allow", "the", "various", "MEM", "<", "--", ">", "REG", "splits", "to", "be", "run", "."], "TS_V_token": ["sparc", "0", "2", "0", "8", "0", "1"], "File": "sparc", "Func": "sparc_split_reg_mem_legitimate", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2329, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsExpandPseudo", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "STI", "=", "&", "static_cast", "<", "const", "MipsSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "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": ["Mips", "Mips", "Mips"], "File": "MipsExpandPseudo10", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2330, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_emit_prologue_components", "(", "sbitmap", "components", ")", "{", "aarch64_process_components", "(", "components", ",", "true", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SHRINK_WRAP_EMIT_PROLOGUE_COMPONENTS", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_emit_prologue_components", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2331, "Length": 16, "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": ["PowerPC", "0", "0"], "File": "PPCAsmBackend1", "Func": "writeNopData", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2332, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "PPCRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "PPCFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "if", "(", "!", "TM", ".", "isPPC64", "(", ")", ")", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "PPC", "::", "R31", ":", "PPC", "::", "R1", ";", "else", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "PPC", "::", "X31", ":", "PPC", "::", "X1", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC::R31", "PPC::R1", "PPC::X31", "PPC::X1"], "File": "PPCRegisterInfo (2)3", "Func": "getFrameRegister", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2333, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "vector_init_bshuffle", "(", "rtx", "target", ",", "rtx", "elt", ",", "machine_mode", "mode", ",", "machine_mode", "inner_mode", ")", "{", "rtx", "t1", ",", "final_insn", ",", "sel", ";", "int", "bmask", ";", "t1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "elt", "=", "convert_modes", "(", "SImode", ",", "inner_mode", ",", "elt", ",", "true", ")", ";", "emit_move_insn", "(", "gen_lowpart", "(", "SImode", ",", "t1", ")", ",", "elt", ")", ";", "switch", "(", "mode", ")", "{", "case", "E_V2SImode", ":", "final_insn", "=", "gen_bshufflev2si_vis", "(", "target", ",", "t1", ",", "t1", ")", ";", "bmask", "=", "0x45674567", ";", "break", ";", "case", "E_V4HImode", ":", "final_insn", "=", "gen_bshufflev4hi_vis", "(", "target", ",", "t1", ",", "t1", ")", ";", "bmask", "=", "0x67676767", ";", "break", ";", "case", "E_V8QImode", ":", "final_insn", "=", "gen_bshufflev8qi_vis", "(", "target", ",", "t1", ",", "t1", ")", ";", "bmask", "=", "0x77777777", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "sel", "=", "force_reg", "(", "SImode", ",", "GEN_INT", "(", "bmask", ")", ")", ";", "emit_insn", "(", "gen_bmasksi_vis", "(", "gen_reg_rtx", "(", "SImode", ")", ",", "sel", ",", "const0_rtx", ")", ")", ";", "emit_insn", "(", "final_insn", ")", ";", "}", ""], "natrual_language": ["Subroutine", "of", "sparc_expand_vector_init", ".", "Emit", "code", "to", "initialize", "all", "fields", "of", "TARGET", "to", "ELT", "by", "means", "of", "VIS2", "BSHUFFLE", "insn", ".", "MODE", "and", "INNER_MODE", "are", "the", "modes", "describing", "TARGET", "."], "TS_V_token": ["sparc", "0x45674567", "0x67676767", "0x77777777"], "File": "sparc", "Func": "vector_init_bshuffle", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2334, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsMCCodeEmitter", "::", "getJumpTargetOpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ">>", "2", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"getJumpTargetOpValue expects only expressions or an immediate\"", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "Expr", ",", "MCFixupKind", "(", "Mips", "::", "fixup_Mips_26", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getJumpTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "jump", "target", "operand", "."], "TS_V_token": ["Mips", "Mips", "2", "\"getJumpTargetOpValue expects only expressions or an immediate\"", "0", "Mips::fixup_Mips_26", "0"], "File": "MipsMCCodeEmitter (2)", "Func": "getJumpTargetOpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2335, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "doInitialization", "(", "Module", "&", "M", ")", "override", "{", "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": "X86AsmPrinter11", "Func": "doInitialization", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2336, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCodeGenPrepare", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "Promoter", "=", "new", "IRPromoter", "(", "&", "M", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMCodeGenPrepare", "Func": "doInitialization", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2337, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MINA32InstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "'$'", "<<", "StringRef", "(", "getRegisterName", "(", "RegNo", ")", ")", ".", "lower", "(", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["MINA32", "MINA32"], "File": "MINA32InstPrinter", "Func": "printRegName", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2338, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "pure_scalable_type_info", "::", "analyze_registers", "(", "const_tree", "type", ")", "{", "analysis_result", "result", "=", "analyze", "(", "type", ")", ";", "gcc_assert", "(", "result", "!=", "DOESNT_MATTER", ")", ";", "return", "result", "==", "IS_PST", ";", "}", ""], "natrual_language": ["Analyze", "a", "type", "that", "is", "known", "not", "to", "be", "passed", "or", "returned", "in", "memory", ".", "Return", "true", "if", "it", "has", "an", "ABI", "identity", "and", "is", "a", "Pure", "Scalable", "Type", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "analyze_registers", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2339, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "direction", "ia64_hpux_function_arg_padding", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "if", "(", "type", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "int_size_in_bytes", "(", "type", ")", "<", "UNITS_PER_WORD", ")", "return", "upward", ";", "return", "DEFAULT_FUNCTION_ARG_PADDING", "(", "mode", ",", "type", ")", ";", "}", ""], "natrual_language": ["For", "the", "HP-UX", "IA64", "aggregate", "parameters", "are", "passed", "stored", "in", "the", "most", "significant", "bits", "of", "the", "stack", "slot", "."], "TS_V_token": ["ia64"], "File": "ia644", "Func": "ia64_hpux_function_arg_padding", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2340, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "const", "MCObjectFileInfo", "::", "Environment", "Format", "=", "getContext", "(", ")", ".", "getObjectFileInfo", "(", ")", "->", "getObjectFileType", "(", ")", ";", "bool", "IsMachO", "=", "Format", "==", "MCObjectFileInfo", "::", "IsMachO", ";", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "SMLoc", "Loc", "=", "DirectiveID", ".", "getLoc", "(", ")", ";", "if", "(", "IDVal", "==", "\".arch\"", ")", "parseDirectiveArch", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".cpu\"", ")", "parseDirectiveCPU", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".tlsdesccall\"", ")", "parseDirectiveTLSDescCall", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".ltorg\"", "||", "IDVal", "==", "\".pool\"", ")", "parseDirectiveLtorg", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".unreq\"", ")", "parseDirectiveUnreq", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".inst\"", ")", "parseDirectiveInst", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".cfi_negate_ra_state\"", ")", "parseDirectiveCFINegateRAState", "(", ")", ";", "else", "if", "(", "IDVal", "==", "\".cfi_b_key_frame\"", ")", "parseDirectiveCFIBKeyFrame", "(", ")", ";", "else", "if", "(", "IDVal", "==", "\".arch_extension\"", ")", "parseDirectiveArchExtension", "(", "Loc", ")", ";", "else", "if", "(", "IsMachO", ")", "{", "if", "(", "IDVal", "==", "MCLOHDirectiveName", "(", ")", ")", "parseDirectiveLOH", "(", "IDVal", ",", "Loc", ")", ";", "else", "return", "true", ";", "}", "else", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["AArch64", "AArch64", "\".arch\"", "\".cpu\"", "\".tlsdesccall\"", "\".ltorg\"", "\".pool\"", "\".unreq\"", "\".inst\"", "\".cfi_negate_ra_state\"", "\".cfi_b_key_frame\"", "\".arch_extension\""], "File": "AArch64AsmParser (2)2", "Func": "ParseDirective", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2341, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetLowering", "::", "AdjustInstrPostInstrSelection", "(", "MachineInstr", "*", "MI", ",", "SDNode", "*", "Node", ")", "const", "{", "if", "(", "!", "MI", "->", "hasPostISelHook", "(", ")", ")", "{", "assert", "(", "!", "convertAddSubFlagsOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", "&&", "\"Pseudo flag-setting opcodes must be marked with 'hasPostISelHook'\"", ")", ";", "return", ";", "}", "const", "MCInstrDesc", "*", "MCID", "=", "&", "MI", "->", "getDesc", "(", ")", ";", "unsigned", "NewOpc", "=", "convertAddSubFlagsOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "if", "(", "NewOpc", ")", "{", "const", "ARMBaseInstrInfo", "*", "TII", "=", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "getTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ")", ";", "MCID", "=", "&", "TII", "->", "get", "(", "NewOpc", ")", ";", "assert", "(", "MCID", "->", "getNumOperands", "(", ")", "==", "MI", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", "+", "1", "&&", "\"converted opcode should be the same except for cc_out\"", ")", ";", "MI", "->", "setDesc", "(", "*", "MCID", ")", ";", "MI", "->", "addOperand", "(", "MachineOperand", "::", "CreateReg", "(", "0", ",", "true", ")", ")", ";", "}", "unsigned", "ccOutIdx", "=", "MCID", "->", "getNumOperands", "(", ")", "-", "1", ";", "if", "(", "!", "MI", "->", "hasOptionalDef", "(", ")", "||", "!", "MCID", "->", "OpInfo", "[", "ccOutIdx", "]", ".", "isOptionalDef", "(", ")", ")", "{", "assert", "(", "!", "NewOpc", "&&", "\"Optional cc_out operand required\"", ")", ";", "return", ";", "}", "bool", "definesCPSR", "=", "false", ";", "bool", "deadCPSR", "=", "false", ";", "for", "(", "unsigned", "i", "=", "MCID", "->", "getNumOperands", "(", ")", ",", "e", "=", "MI", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "i", ")", ";", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "MO", ".", "isDef", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "==", "ARM", "::", "CPSR", ")", "{", "definesCPSR", "=", "true", ";", "if", "(", "MO", ".", "isDead", "(", ")", ")", "deadCPSR", "=", "true", ";", "MI", "->", "RemoveOperand", "(", "i", ")", ";", "break", ";", "}", "}", "if", "(", "!", "definesCPSR", ")", "{", "assert", "(", "!", "NewOpc", "&&", "\"Optional cc_out operand required\"", ")", ";", "return", ";", "}", "assert", "(", "deadCPSR", "==", "!", "Node", "->", "hasAnyUseOfValue", "(", "1", ")", "&&", "\"inconsistent dead flag\"", ")", ";", "if", "(", "deadCPSR", ")", "{", "assert", "(", "!", "MI", "->", "getOperand", "(", "ccOutIdx", ")", ".", "getReg", "(", ")", "&&", "\"expect uninitialized optional cc_out operand\"", ")", ";", "return", ";", "}", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "ccOutIdx", ")", ";", "MO", ".", "setReg", "(", "ARM", "::", "CPSR", ")", ";", "MO", ".", "setIsDef", "(", "true", ")", ";", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'hasPostISelHook", "'", "flag", "."], "TS_V_token": ["ARM", "ARM", "\"Pseudo flag-setting opcodes must be marked with 'hasPostISelHook'\"", "ARM", "ARM", "1", "\"converted opcode should be the same except for cc_out\"", "0", "1", "\"Optional cc_out operand required\"", "ARM::CPSR", "\"Optional cc_out operand required\"", "1", "\"inconsistent dead flag\"", "\"expect uninitialized optional cc_out operand\"", "ARM::CPSR"], "File": "ARMISelLowering149", "Func": "AdjustInstrPostInstrSelection", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2342, "Length": 383, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CSKYAsmParser", "::", "processInstruction", "(", "MCInst", "&", "Inst", ",", "SMLoc", "IDLoc", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ")", "{", "if", "(", "Inst", ".", "getOpcode", "(", ")", "==", "CSKY", "::", "LDQ32", "||", "Inst", ".", "getOpcode", "(", ")", "==", "CSKY", "::", "STQ32", ")", "{", "if", "(", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "!=", "CSKY", "::", "R4", "||", "Inst", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", "!=", "CSKY", "::", "R7", ")", "{", "return", "Error", "(", "IDLoc", ",", "\"Register sequence is not valid. 'r4-r7' expected\"", ")", ";", "}", "Inst", ".", "setOpcode", "(", "Inst", ".", "getOpcode", "(", ")", "==", "CSKY", "::", "LDQ32", "?", "CSKY", "::", "LDM32", ":", "CSKY", "::", "STM32", ")", ";", "Out", ".", "emitInstruction", "(", "Inst", ",", "getSTI", "(", ")", ")", ";", "return", "false", ";", "}", "else", "if", "(", "Inst", ".", "getOpcode", "(", ")", "==", "CSKY", "::", "SEXT32", "||", "Inst", ".", "getOpcode", "(", ")", "==", "CSKY", "::", "ZEXT32", ")", "{", "if", "(", "Inst", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "<", "Inst", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ")", "return", "Error", "(", "IDLoc", ",", "\"msb must be greater or equal to lsb\"", ")", ";", "}", "else", "if", "(", "Inst", ".", "getOpcode", "(", ")", "==", "CSKY", "::", "INS32", ")", "{", "if", "(", "Inst", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "<", "Inst", ".", "getOperand", "(", "4", ")", ".", "getImm", "(", ")", ")", "return", "Error", "(", "IDLoc", ",", "\"msb must be greater or equal to lsb\"", ")", ";", "}", "else", "if", "(", "Inst", ".", "getOpcode", "(", ")", "==", "CSKY", "::", "IDLY32", ")", "{", "if", "(", "Inst", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ">", "32", "||", "Inst", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", "<", "0", ")", "return", "Error", "(", "IDLoc", ",", "\"n must be in range [0,32]\"", ")", ";", "}", "Out", ".", "emitInstruction", "(", "Inst", ",", "getSTI", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Process", "a", "single", "instruction", "and", "collect", "debug", "info", "anchors", "."], "TS_V_token": ["CSKY", "CSKY", "CSKY::LDQ32", "CSKY::STQ32", "1", "CSKY::R4", "2", "CSKY::R7", "\"Register sequence is not valid. 'r4-r7' expected\"", "CSKY::LDQ32", "CSKY::LDM32", "CSKY::STM32", "CSKY::SEXT32", "CSKY::ZEXT32", "2", "3", "\"msb must be greater or equal to lsb\"", "CSKY::INS32", "3", "4", "\"msb must be greater or equal to lsb\"", "CSKY::IDLY32", "0", "32", "0", "0", "\"n must be in range [0,32]\""], "File": "CSKYAsmParser", "Func": "processInstruction", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2343, "Length": 294, "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": 2344, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "memory_address_length", "(", "rtx", "addr", ",", "bool", "lea", ")", "{", "struct", "ix86_address", "parts", ";", "rtx", "base", ",", "index", ",", "disp", ";", "int", "len", ";", "int", "ok", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PRE_DEC", "||", "GET_CODE", "(", "addr", ")", "==", "POST_INC", "||", "GET_CODE", "(", "addr", ")", "==", "PRE_MODIFY", "||", "GET_CODE", "(", "addr", ")", "==", "POST_MODIFY", ")", "return", "0", ";", "ok", "=", "ix86_decompose_address", "(", "addr", ",", "&", "parts", ")", ";", "gcc_assert", "(", "ok", ")", ";", "len", "=", "(", "parts", ".", "seg", "==", "SEG_DEFAULT", ")", "?", "0", ":", "1", ";", "if", "(", "TARGET_64BIT", "&&", "!", "lea", "&&", "(", "SImode_address_operand", "(", "addr", ",", "VOIDmode", ")", "||", "(", "parts", ".", "base", "&&", "GET_MODE", "(", "parts", ".", "base", ")", "==", "SImode", ")", "||", "(", "parts", ".", "index", "&&", "GET_MODE", "(", "parts", ".", "index", ")", "==", "SImode", ")", ")", ")", "len", "++", ";", "base", "=", "parts", ".", "base", ";", "index", "=", "parts", ".", "index", ";", "disp", "=", "parts", ".", "disp", ";", "if", "(", "base", "&&", "GET_CODE", "(", "base", ")", "==", "SUBREG", ")", "base", "=", "SUBREG_REG", "(", "base", ")", ";", "if", "(", "index", "&&", "GET_CODE", "(", "index", ")", "==", "SUBREG", ")", "index", "=", "SUBREG_REG", "(", "index", ")", ";", "gcc_assert", "(", "base", "==", "NULL_RTX", "||", "REG_P", "(", "base", ")", ")", ";", "gcc_assert", "(", "index", "==", "NULL_RTX", "||", "REG_P", "(", "index", ")", ")", ";", "if", "(", "base", "&&", "!", "index", "&&", "!", "disp", ")", "{", "if", "(", "base", "==", "arg_pointer_rtx", "||", "base", "==", "frame_pointer_rtx", "||", "REGNO", "(", "base", ")", "==", "SP_REG", "||", "REGNO", "(", "base", ")", "==", "BP_REG", "||", "REGNO", "(", "base", ")", "==", "R12_REG", "||", "REGNO", "(", "base", ")", "==", "R13_REG", ")", "len", "++", ";", "}", "else", "if", "(", "disp", "&&", "!", "base", "&&", "!", "index", ")", "{", "len", "+=", "4", ";", "if", "(", "rip_relative_addr_p", "(", "&", "parts", ")", ")", "len", "++", ";", "}", "else", "{", "if", "(", "disp", ")", "{", "if", "(", "base", "&&", "satisfies_constraint_K", "(", "disp", ")", ")", "len", "+=", "1", ";", "else", "len", "+=", "4", ";", "}", "else", "if", "(", "base", "&&", "(", "REGNO", "(", "base", ")", "==", "BP_REG", "||", "REGNO", "(", "base", ")", "==", "R13_REG", ")", ")", "len", "++", ";", "if", "(", "index", "||", "base", "==", "arg_pointer_rtx", "||", "base", "==", "frame_pointer_rtx", "||", "(", "base", "&&", "(", "REGNO", "(", "base", ")", "==", "SP_REG", "||", "REGNO", "(", "base", ")", "==", "R12_REG", ")", ")", ")", "len", "++", ";", "}", "return", "len", ";", "}", ""], "natrual_language": ["Calculate", "the", "length", "of", "the", "memory", "address", "in", "the", "instruction", "encoding", ".", "Does", "not", "include", "the", "one-byte", "modrm", ",", "opcode", ",", "or", "prefix", "."], "TS_V_token": ["i386", "0", "0", "1", "4", "1", "4"], "File": "i3864", "Func": "memory_address_length", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2345, "Length": 387, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_avoid_lea_for_addr", "(", "rtx_insn", "*", "insn", ",", "rtx", "operands", "[", "]", ")", "{", "unsigned", "int", "regno0", ",", "regno1", ",", "regno2", ";", "int", "split_cost", ";", "struct", "ix86_address", "parts", ";", "int", "ok", ";", "if", "(", "REG_P", "(", "operands", "[", "1", "]", ")", "||", "(", "SImode_address_operand", "(", "operands", "[", "1", "]", ",", "VOIDmode", ")", "&&", "REG_P", "(", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ")", ")", ")", "return", "false", ";", "ok", "=", "ix86_decompose_address", "(", "operands", "[", "1", "]", ",", "&", "parts", ")", ";", "gcc_assert", "(", "ok", ")", ";", "if", "(", "(", "parts", ".", "base", "!=", "NULL_RTX", ")", "+", "(", "parts", ".", "index", "!=", "NULL_RTX", ")", "+", "(", "parts", ".", "disp", "!=", "NULL_RTX", ")", "+", "(", "parts", ".", "scale", ">", "1", ")", "<", "2", ")", "return", "false", ";", "if", "(", "parts", ".", "disp", "&&", "flag_pic", "&&", "!", "LEGITIMATE_PIC_OPERAND_P", "(", "parts", ".", "disp", ")", ")", "return", "false", ";", "regno0", "=", "true_regnum", "(", "operands", "[", "0", "]", ")", ";", "regno1", "=", "INVALID_REGNUM", ";", "regno2", "=", "INVALID_REGNUM", ";", "if", "(", "parts", ".", "base", ")", "regno1", "=", "true_regnum", "(", "parts", ".", "base", ")", ";", "if", "(", "parts", ".", "index", ")", "regno2", "=", "true_regnum", "(", "parts", ".", "index", ")", ";", "if", "(", "!", "TARGET_BONNELL", "&&", "parts", ".", "scale", "==", "1", "&&", "(", "!", "parts", ".", "disp", "||", "parts", ".", "disp", "==", "const0_rtx", ")", "&&", "(", "regno0", "==", "regno1", "||", "regno0", "==", "regno2", ")", ")", "return", "true", ";", "if", "(", "!", "TARGET_AVOID_LEA_FOR_ADDR", "||", "optimize_function_for_size_p", "(", "cfun", ")", ")", "return", "false", ";", "split_cost", "=", "0", ";", "if", "(", "parts", ".", "base", "||", "parts", ".", "index", ")", "{", "if", "(", "regno1", "!=", "regno0", "&&", "regno2", "!=", "regno0", ")", "split_cost", "+=", "1", ";", "if", "(", "parts", ".", "base", "&&", "parts", ".", "index", ")", "split_cost", "+=", "1", ";", "if", "(", "parts", ".", "scale", ">", "1", ")", "{", "if", "(", "regno0", "!=", "regno1", ")", "split_cost", "+=", "1", ";", "else", "if", "(", "regno2", "==", "regno0", ")", "split_cost", "+=", "4", ";", "else", "split_cost", "+=", "parts", ".", "scale", ";", "}", "if", "(", "parts", ".", "disp", "&&", "parts", ".", "disp", "!=", "const0_rtx", ")", "split_cost", "+=", "1", ";", "split_cost", "-=", "1", ";", "}", "return", "!", "ix86_lea_outperforms", "(", "insn", ",", "regno0", ",", "regno1", ",", "regno2", ",", "split_cost", ",", "parts", ".", "scale", ">", "1", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "need", "to", "split", "lea", "into", "a", "sequence", "of", "instructions", "to", "avoid", "AGU", "stalls", "during", "peephole2", "."], "TS_V_token": ["i386", "1", "1", "1", "0", "1", "1", "2", "0", "1", "0", "1", "1", "1", "1", "4", "1", "1", "1"], "File": "i3861", "Func": "ix86_avoid_lea_for_addr", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2346, "Length": 367, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "builtin_hasher", "::", "equal", "(", "builtin_hash_struct", "*", "p1", ",", "builtin_hash_struct", "*", "p2", ")", "{", "return", "(", "(", "p1", "->", "mode", "[", "0", "]", "==", "p2", "->", "mode", "[", "0", "]", ")", "&&", "(", "p1", "->", "mode", "[", "1", "]", "==", "p2", "->", "mode", "[", "1", "]", ")", "&&", "(", "p1", "->", "mode", "[", "2", "]", "==", "p2", "->", "mode", "[", "2", "]", ")", "&&", "(", "p1", "->", "mode", "[", "3", "]", "==", "p2", "->", "mode", "[", "3", "]", ")", "&&", "(", "p1", "->", "uns_p", "[", "0", "]", "==", "p2", "->", "uns_p", "[", "0", "]", ")", "&&", "(", "p1", "->", "uns_p", "[", "1", "]", "==", "p2", "->", "uns_p", "[", "1", "]", ")", "&&", "(", "p1", "->", "uns_p", "[", "2", "]", "==", "p2", "->", "uns_p", "[", "2", "]", ")", "&&", "(", "p1", "->", "uns_p", "[", "3", "]", "==", "p2", "->", "uns_p", "[", "3", "]", ")", ")", ";", "}", ""], "natrual_language": ["Compare", "H1", "and", "H2", "for", "equivalence", "."], "TS_V_token": ["rs6000", "0", "0", "1", "1", "2", "2", "3", "3", "0", "0", "1", "1", "2", "2", "3", "3"], "File": "rs6000-call", "Func": "equal", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2347, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isTargetEHABICompatible", "(", ")", "const", "{", "return", "(", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "EABI", "||", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "GNUEABI", "||", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "EABIHF", "||", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "GNUEABIHF", "||", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "Android", ")", "&&", "!", "isTargetDarwin", "(", ")", ";", "}", ""], "natrual_language": ["Tests", "whether", "the", "target", "supports", "the", "EHABI", "exception", "handling", "standard", "."], "TS_V_token": ["ARM"], "File": "ARMSubtarget34", "Func": "isTargetEHABICompatible", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2348, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "char", "ConstraintCode", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "SDValue", "Op0", ",", "Op1", ";", "switch", "(", "ConstraintCode", ")", "{", "default", ":", "return", "true", ";", "case", "'m'", ":", "if", "(", "!", "SelectADDRrr", "(", "Op", ",", "Op", ",", "Op0", ",", "Op1", ")", ")", "SelectADDRri", "(", "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": ["Sparc", "Sparc"], "File": "SparcISelDAGToDAG27", "Func": "SelectInlineAsmMemoryOperand", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2349, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isGPRCopy", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "TargetOpcode", "::", "COPY", ":", "{", "unsigned", "DstReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "return", "(", "AArch64", "::", "GPR32RegClass", ".", "contains", "(", "DstReg", ")", "||", "AArch64", "::", "GPR64RegClass", ".", "contains", "(", "DstReg", ")", ")", ";", "}", "case", "AArch64", "::", "ORRXrs", ":", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "AArch64", "::", "XZR", ")", "{", "assert", "(", "MI", ".", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", "==", "4", "&&", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "==", "0", "&&", "\"invalid ORRrs operands\"", ")", ";", "return", "true", ";", "}", "break", ";", "case", "AArch64", "::", "ADDXri", ":", "if", "(", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "0", ")", "{", "assert", "(", "MI", ".", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", "==", "4", "&&", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "==", "0", "&&", "\"invalid ADDXri operands\"", ")", ";", "return", "true", ";", "}", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Does", "this", "instruction", "rename", "a", "GPR", "without", "modifying", "bits", "?"], "TS_V_token": ["AArch64", "AArch64", "0", "AArch64::GPR32RegClass", "AArch64::GPR64RegClass", "AArch64::ORRXrs", "1", "AArch64::XZR", "4", "3", "0", "\"invalid ORRrs operands\"", "AArch64::ADDXri", "2", "0", "4", "3", "0", "\"invalid ADDXri operands\""], "File": "AArch64InstrInfo (2)", "Func": "isGPRCopy", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2350, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCRegisterInfo", "::", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "requiresRegisterScavenging", "(", "MF", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "live-ins", "should", "be", "tracked", "after", "register", "allocation", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCRegisterInfo14", "Func": "trackLivenessAfterRegAlloc", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2351, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "resolve_vec_addec_subec", "(", "resolution", "*", "res", ",", "rs6000_gen_builtins", "fcode", ",", "tree", "*", "args", ",", "tree", "*", "types", ",", "location_t", "loc", ")", "{", "if", "(", "TREE_CODE", "(", "types", "[", "0", "]", ")", "!=", "VECTOR_TYPE", "||", "!", "lang_hooks", ".", "types_compatible_p", "(", "types", "[", "0", "]", ",", "types", "[", "1", "]", ")", "||", "!", "lang_hooks", ".", "types_compatible_p", "(", "types", "[", "1", "]", ",", "types", "[", "2", "]", ")", ")", "{", "*", "res", "=", "resolved_bad", ";", "return", "error_mark_node", ";", "}", "switch", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "types", "[", "0", "]", ")", ")", ")", "{", "case", "E_SImode", ":", "{", "args", "[", "0", "]", "=", "save_expr", "(", "args", "[", "0", "]", ")", ";", "args", "[", "1", "]", "=", "save_expr", "(", "args", "[", "1", "]", ")", ";", "vec", "<", "tree", ",", "va_gc", ">", "*", "params", "=", "make_tree_vector", "(", ")", ";", "vec_safe_push", "(", "params", ",", "args", "[", "0", "]", ")", ";", "vec_safe_push", "(", "params", ",", "args", "[", "1", "]", ")", ";", "tree", "as_c_builtin", ";", "if", "(", "fcode", "==", "RS6000_OVLD_VEC_ADDEC", ")", "as_c_builtin", "=", "rs6000_builtin_decls", "[", "RS6000_OVLD_VEC_ADDC", "]", ";", "else", "as_c_builtin", "=", "rs6000_builtin_decls", "[", "RS6000_OVLD_VEC_SUBC", "]", ";", "tree", "call1", "=", "altivec_resolve_overloaded_builtin", "(", "loc", ",", "as_c_builtin", ",", "params", ")", ";", "params", "=", "make_tree_vector", "(", ")", ";", "vec_safe_push", "(", "params", ",", "args", "[", "0", "]", ")", ";", "vec_safe_push", "(", "params", ",", "args", "[", "1", "]", ")", ";", "tree", "as_builtin", ";", "if", "(", "fcode", "==", "RS6000_OVLD_VEC_ADDEC", ")", "as_builtin", "=", "rs6000_builtin_decls", "[", "RS6000_OVLD_VEC_ADD", "]", ";", "else", "as_builtin", "=", "rs6000_builtin_decls", "[", "RS6000_OVLD_VEC_SUB", "]", ";", "tree", "call2", "=", "altivec_resolve_overloaded_builtin", "(", "loc", ",", "as_builtin", ",", "params", ")", ";", "tree", "const1", "=", "build_int_cstu", "(", "TREE_TYPE", "(", "types", "[", "0", "]", ")", ",", "1", ")", ";", "tree", "ones_vector", "=", "build_vector_from_val", "(", "types", "[", "0", "]", ",", "const1", ")", ";", "tree", "and_expr", "=", "fold_build2_loc", "(", "loc", ",", "BIT_AND_EXPR", ",", "types", "[", "0", "]", ",", "args", "[", "2", "]", ",", "ones_vector", ")", ";", "params", "=", "make_tree_vector", "(", ")", ";", "vec_safe_push", "(", "params", ",", "call2", ")", ";", "vec_safe_push", "(", "params", ",", "and_expr", ")", ";", "call2", "=", "altivec_resolve_overloaded_builtin", "(", "loc", ",", "as_c_builtin", ",", "params", ")", ";", "params", "=", "make_tree_vector", "(", ")", ";", "vec_safe_push", "(", "params", ",", "call1", ")", ";", "vec_safe_push", "(", "params", ",", "call2", ")", ";", "tree", "or_builtin", "=", "rs6000_builtin_decls", "[", "RS6000_OVLD_VEC_OR", "]", ";", "*", "res", "=", "resolved", ";", "return", "altivec_resolve_overloaded_builtin", "(", "loc", ",", "or_builtin", ",", "params", ")", ";", "}", "case", "E_TImode", ":", "*", "res", "=", "unresolved", ";", "break", ";", "default", ":", "*", "res", "=", "resolved_bad", ";", "}", "return", "error_mark_node", ";", "}", ""], "natrual_language": ["Resolve", "an", "overloaded", "vec_addec", "or", "vec_subec", "call", "and", "return", "a", "tree", "expression", "for", "the", "resolved", "call", "if", "successful", ".", "ARGS", "contains", "the", "arguments", "to", "the", "call", ".", "TYPES", "contains", "their", "types", ".", "RES", "must", "be", "set", "to", "indicate", "the", "status", "of", "the", "resolution", "attempt", ".", "LOC", "contains", "statement", "location", "information", "."], "TS_V_token": ["rs6000", "0", "0", "1", "1", "2", "0", "0", "0", "1", "1", "0", "1", "0", "1", "0", "1", "0", "0", "2"], "File": "rs6000-c", "Func": "resolve_vec_addec_subec", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2352, "Length": 400, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isCtlzFast", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "ctlz", "instruction", "is", "fast", "."], "TS_V_token": ["PowerPC"], "File": "PPCISelLowering (2)2", "Func": "isCtlzFast", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2353, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "arm_dbx_register_number", "(", "unsigned", "int", "regno", ")", "{", "if", "(", "regno", "<", "16", ")", "return", "regno", ";", "if", "(", "IS_VFP_REGNUM", "(", "regno", ")", ")", "{", "if", "(", "VFP_REGNO_OK_FOR_SINGLE", "(", "regno", ")", ")", "return", "64", "+", "regno", "-", "FIRST_VFP_REGNUM", ";", "else", "return", "256", "+", "(", "regno", "-", "FIRST_VFP_REGNUM", ")", "/", "2", ";", "}", "if", "(", "IS_IWMMXT_GR_REGNUM", "(", "regno", ")", ")", "return", "104", "+", "regno", "-", "FIRST_IWMMXT_GR_REGNUM", ";", "if", "(", "IS_IWMMXT_REGNUM", "(", "regno", ")", ")", "return", "112", "+", "regno", "-", "FIRST_IWMMXT_REGNUM", ";", "return", "DWARF_FRAME_REGISTERS", ";", "}", ""], "natrual_language": ["Map", "internal", "gcc", "register", "numbers", "to", "DWARF2", "register", "numbers", "."], "TS_V_token": ["arm", "16", "64", "256", "2", "104", "112"], "File": "arm", "Func": "arm_dbx_register_number", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2354, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "VETargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Should not custom lower this!\"", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "lowerBlockAddress", "(", "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", "::", "GlobalTLSAddress", ":", "return", "lowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "lowerLOAD", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "lowerSTORE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "lowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VAARG", ":", "return", "lowerVAARG", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["VE", "VE", "\"Should not custom lower this!\"", "ISD::BlockAddress", "ISD::ConstantPool", "ISD::DYNAMIC_STACKALLOC", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::LOAD", "ISD::STORE", "ISD::VASTART", "ISD::VAARG"], "File": "VEISelLowering21", "Func": "LowerOperation", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2355, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsPassConfig", "::", "addIRPasses", "(", ")", "{", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "if", "(", "getMipsSubtarget", "(", ")", ".", "os16", "(", ")", ")", "addPass", "(", "createMipsOs16Pass", "(", ")", ")", ";", "if", "(", "getMipsSubtarget", "(", ")", ".", "inMips16HardFloat", "(", ")", ")", "addPass", "(", "createMips16HardFloatPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsTargetMachine (2)1", "Func": "addIRPasses", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2356, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZMCInstLower", "::", "lower", "(", "const", "MachineInstr", "*", "MI", ",", "MCInst", "&", "OutMI", ")", "const", "{", "OutMI", ".", "setOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "MI", "->", "getNumOperands", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "I", ")", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", "||", "!", "MO", ".", "isImplicit", "(", ")", ")", "OutMI", ".", "addOperand", "(", "lowerOperand", "(", "MO", ")", ")", ";", "}", "}", ""], "natrual_language": ["The", "instruction", "is", "lowered", "."], "TS_V_token": ["SystemZ", "SystemZ", "0"], "File": "SystemZMCInstLower14", "Func": "lower", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2357, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "DLXInstrInfo", "::", "removeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "int", "*", "BytesRemoved", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Remove", "the", "branching", "code", "at", "the", "end", "of", "the", "specific", "MBB", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXInstrInfo", "Func": "removeBranch", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2358, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "switch", "(", "ConstraintID", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected asm memory constraint\"", ")", ";", "case", "InlineAsm", "::", "Constraint_i", ":", "case", "InlineAsm", "::", "Constraint_m", ":", "case", "InlineAsm", "::", "Constraint_Q", ":", "case", "InlineAsm", "::", "Constraint_Um", ":", "case", "InlineAsm", "::", "Constraint_Un", ":", "case", "InlineAsm", "::", "Constraint_Uq", ":", "case", "InlineAsm", "::", "Constraint_Us", ":", "case", "InlineAsm", "::", "Constraint_Ut", ":", "case", "InlineAsm", "::", "Constraint_Uv", ":", "case", "InlineAsm", "::", "Constraint_Uy", ":", "OutOps", ".", "push_back", "(", "Op", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["ARM", "ARM", "\"Unexpected asm memory constraint\""], "File": "ARMISelDAGToDAG1", "Func": "SelectInlineAsmMemoryOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2359, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_register_fma_steering", "(", ")", "{", "opt_pass", "*", "pass_fma_steering", "=", "make_pass_fma_steering", "(", "g", ")", ";", "struct", "register_pass_info", "fma_steering_info", "=", "{", "pass_fma_steering", ",", "\"rnreg\"", ",", "1", ",", "PASS_POS_INSERT_AFTER", "}", ";", "register_pass", "(", "&", "fma_steering_info", ")", ";", "}", ""], "natrual_language": ["Register", "the", "FMA", "steering", "pass", "to", "the", "pass", "manager", "."], "TS_V_token": ["aarch64", "\"rnreg\"", "1"], "File": "cortex-a57-fma-steering2", "Func": "aarch64_register_fma_steering", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2360, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_print_hint_for_extensions", "(", "const", "std", "::", "string", "&", "str", ")", "{", "auto_vec", "<", "const", "char", "*", ">", "candidates", ";", "aarch64_get_all_extension_candidates", "(", "&", "candidates", ")", ";", "char", "*", "s", ";", "const", "char", "*", "hint", "=", "candidates_list_and_hint", "(", "str", ".", "c_str", "(", ")", ",", "s", ",", "candidates", ")", ";", "if", "(", "hint", ")", "inform", "(", "input_location", ",", "\"valid arguments are: %s;\"", "\" did you mean %qs?\"", ",", "s", ",", "hint", ")", ";", "else", "inform", "(", "input_location", ",", "\"valid arguments are: %s;\"", ",", "s", ")", ";", "XDELETEVEC", "(", "s", ")", ";", "}", ""], "natrual_language": ["Print", "a", "hint", "with", "a", "suggestion", "for", "an", "extension", "name", "that", "most", "closely", "resembles", "what", "the", "user", "passed", "in", "STR", "."], "TS_V_token": ["aarch64", "\"valid arguments are: %s;\"", "\" did you mean %qs?\"", "\"valid arguments are: %s;\""], "File": "aarch64", "Func": "aarch64_print_hint_for_extensions", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2361, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "X86InstrInfo", "::", "optimizeLoadInstr", "(", "MachineInstr", "&", "MI", ",", "const", "MachineRegisterInfo", "*", "MRI", ",", "unsigned", "&", "FoldAsLoadDefReg", ",", "MachineInstr", "*", "&", "DefMI", ")", "const", "{", "DefMI", "=", "MRI", "->", "getVRegDef", "(", "FoldAsLoadDefReg", ")", ";", "assert", "(", "DefMI", ")", ";", "bool", "SawStore", "=", "false", ";", "if", "(", "!", "DefMI", "->", "isSafeToMove", "(", "nullptr", ",", "SawStore", ")", ")", "return", "nullptr", ";", "SmallVector", "<", "unsigned", ",", "1", ">", "SrcOperandIds", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "MI", ".", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "i", ")", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", ")", "continue", ";", "Register", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "if", "(", "Reg", "!=", "FoldAsLoadDefReg", ")", "continue", ";", "if", "(", "MO", ".", "getSubReg", "(", ")", "||", "MO", ".", "isDef", "(", ")", ")", "return", "nullptr", ";", "SrcOperandIds", ".", "push_back", "(", "i", ")", ";", "}", "if", "(", "SrcOperandIds", ".", "empty", "(", ")", ")", "return", "nullptr", ";", "if", "(", "MachineInstr", "*", "FoldMI", "=", "foldMemoryOperand", "(", "MI", ",", "SrcOperandIds", ",", "*", "DefMI", ")", ")", "{", "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", "1", "0", "0"], "File": "X86InstrInfo106", "Func": "optimizeLoadInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2362, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sh_trampoline_adjust_address", "(", "rtx", "tramp", ")", "{", "if", "(", "TARGET_SHMEDIA", ")", "tramp", "=", "expand_simple_binop", "(", "Pmode", ",", "PLUS", ",", "tramp", ",", "const1_rtx", ",", "gen_reg_rtx", "(", "Pmode", ")", ",", "0", ",", "OPTAB_LIB_WIDEN", ")", ";", "return", "tramp", ";", "}", ""], "natrual_language": ["On", "SH5", ",", "trampolines", "are", "SHmedia", "code", ",", "so", "add", "1", "to", "the", "address", "."], "TS_V_token": ["sh", "0"], "File": "sh4", "Func": "sh_trampoline_adjust_address", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2363, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "getFMA3OpcodeToCommuteOperands", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "SrcOpIdx1", ",", "unsigned", "SrcOpIdx2", ",", "const", "X86InstrFMA3Group", "&", "FMA3Group", ")", "const", "{", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "SrcOpIdx1", ">", "SrcOpIdx2", ")", "std", "::", "swap", "(", "SrcOpIdx1", ",", "SrcOpIdx2", ")", ";", "if", "(", "FMA3Group", ".", "isIntrinsic", "(", ")", "&&", "SrcOpIdx1", "==", "1", ")", "return", "0", ";", "unsigned", "FMAOp1", "=", "1", ",", "FMAOp2", "=", "2", ",", "FMAOp3", "=", "3", ";", "if", "(", "FMA3Group", ".", "isKMasked", "(", ")", ")", "{", "if", "(", "SrcOpIdx1", "==", "2", ")", "return", "0", ";", "if", "(", "FMA3Group", ".", "isKMergeMasked", "(", ")", "&&", "SrcOpIdx1", "==", "FMAOp1", ")", "return", "0", ";", "FMAOp2", "++", ";", "FMAOp3", "++", ";", "}", "unsigned", "Case", ";", "if", "(", "SrcOpIdx1", "==", "FMAOp1", "&&", "SrcOpIdx2", "==", "FMAOp2", ")", "Case", "=", "0", ";", "else", "if", "(", "SrcOpIdx1", "==", "FMAOp1", "&&", "SrcOpIdx2", "==", "FMAOp3", ")", "Case", "=", "1", ";", "else", "if", "(", "SrcOpIdx1", "==", "FMAOp2", "&&", "SrcOpIdx2", "==", "FMAOp3", ")", "Case", "=", "2", ";", "else", "return", "0", ";", "const", "unsigned", "Form132Index", "=", "0", ";", "const", "unsigned", "Form213Index", "=", "1", ";", "const", "unsigned", "Form231Index", "=", "2", ";", "static", "const", "unsigned", "FormMapping", "[", "]", "[", "3", "]", "=", "{", "{", "Form231Index", ",", "Form213Index", ",", "Form132Index", "}", ",", "{", "Form132Index", ",", "Form231Index", ",", "Form213Index", "}", ",", "{", "Form213Index", ",", "Form132Index", ",", "Form231Index", "}", "}", ";", "unsigned", "FMAForms", "[", "3", "]", ";", "if", "(", "FMA3Group", ".", "isRegOpcodeFromGroup", "(", "Opc", ")", ")", "{", "FMAForms", "[", "0", "]", "=", "FMA3Group", ".", "getReg132Opcode", "(", ")", ";", "FMAForms", "[", "1", "]", "=", "FMA3Group", ".", "getReg213Opcode", "(", ")", ";", "FMAForms", "[", "2", "]", "=", "FMA3Group", ".", "getReg231Opcode", "(", ")", ";", "}", "else", "{", "FMAForms", "[", "0", "]", "=", "FMA3Group", ".", "getMem132Opcode", "(", ")", ";", "FMAForms", "[", "1", "]", "=", "FMA3Group", ".", "getMem213Opcode", "(", ")", ";", "FMAForms", "[", "2", "]", "=", "FMA3Group", ".", "getMem231Opcode", "(", ")", ";", "}", "unsigned", "FormIndex", ";", "for", "(", "FormIndex", "=", "0", ";", "FormIndex", "<", "3", ";", "FormIndex", "++", ")", "if", "(", "Opc", "==", "FMAForms", "[", "FormIndex", "]", ")", "break", ";", "FormIndex", "=", "FormMapping", "[", "Case", "]", "[", "FormIndex", "]", ";", "return", "FMAForms", "[", "FormIndex", "]", ";", "}", ""], "natrual_language": ["Returns", "an", "adjusted", "FMA", "opcode", "that", "must", "be", "used", "in", "FMA", "instruction", "that", "performs", "the", "same", "computations", "as", "the", "given", "MI", "but", "which", "has", "the", "operands", "SrcOpIdx1", "and", "SrcOpIdx2", "commuted", "."], "TS_V_token": ["X86", "X86", "X86", "1", "0", "1", "2", "3", "2", "0", "0", "0", "1", "2", "0", "0", "1", "2", "3", "3", "0", "1", "2", "0", "1", "2", "0", "3"], "File": "X86InstrInfo121", "Func": "getFMA3OpcodeToCommuteOperands", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2364, "Length": 350, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "offset_12bit_unsigned_scaled_p", "(", "machine_mode", "mode", ",", "poly_int64", "offset", ")", "{", "HOST_WIDE_INT", "multiple", ";", "return", "(", "constant_multiple_p", "(", "offset", ",", "GET_MODE_SIZE", "(", "mode", ")", ",", "&", "multiple", ")", "&&", "IN_RANGE", "(", "multiple", ",", "0", ",", "4095", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OFFSET", "is", "an", "unsigned", "12-bit", "value", "multiplied", "by", "the", "size", "of", "MODE", "."], "TS_V_token": ["aarch64", "0", "4095"], "File": "aarch64", "Func": "offset_12bit_unsigned_scaled_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2365, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_valid_target_attribute_p", "(", "tree", "fndecl", ",", "tree", "ARG_UNUSED", "(", "name", ")", ",", "tree", "args", ",", "int", "ARG_UNUSED", "(", "flags", ")", ")", "{", "bool", "ret", "=", "true", ";", "struct", "gcc_options", "func_options", ",", "func_options_set", ";", "tree", "cur_tree", ",", "new_optimize", ";", "gcc_assert", "(", "(", "fndecl", "!=", "NULL_TREE", ")", "&&", "(", "args", "!=", "NULL_TREE", ")", ")", ";", "tree", "func_optimize", "=", "DECL_FUNCTION_SPECIFIC_OPTIMIZATION", "(", "fndecl", ")", ";", "if", "(", "!", "func_optimize", ")", "func_optimize", "=", "optimization_default_node", ";", "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", ")", ")", ";", "cur_tree", "=", "arm_valid_target_attribute_tree", "(", "args", ",", "&", "func_options", ",", "&", "func_options_set", ")", ";", "if", "(", "cur_tree", "==", "NULL_TREE", ")", "ret", "=", "false", ";", "new_optimize", "=", "build_optimization_node", "(", "&", "func_options", ",", "&", "func_options_set", ")", ";", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "fndecl", ")", "=", "cur_tree", ";", "DECL_FUNCTION_SPECIFIC_OPTIMIZATION", "(", "fndecl", ")", "=", "new_optimize", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Hook", "to", "validate", "attribute", "(", "(", "target", "(", "``", "string", "''", ")", ")", ")", "."], "TS_V_token": ["arm", "0", "0"], "File": "arm", "Func": "arm_valid_target_attribute_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2366, "Length": 193, "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", "(", "Inst", ".", "getNumOperands", "(", ")", "==", "0", ")", "return", "false", ";", "if", "(", "!", "isConditionalBranch", "(", "Inst", ")", "&&", "!", "isUnconditionalBranch", "(", "Inst", ")", "&&", "!", "isCall", "(", "Inst", ")", ")", "return", "false", ";", "if", "(", "Info", "->", "get", "(", "Inst", ".", "getOpcode", "(", ")", ")", ".", "OpInfo", "[", "0", "]", ".", "OperandType", "==", "MCOI", "::", "OPERAND_PCREL", ")", "{", "int64_t", "Imm", "=", "Inst", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "Target", "=", "Addr", "+", "Size", "+", "Imm", ";", "return", "true", ";", "}", "else", "{", "int64_t", "Imm", "=", "Inst", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "Imm", "==", "0", ")", "return", "false", ";", "Target", "=", "Imm", ";", "return", "true", ";", "}", "}", ""], "natrual_language": ["Given", "a", "branch", "instruction", "try", "to", "get", "the", "address", "the", "branch", "targets", "."], "TS_V_token": ["Lanai", "0", "0", "0", "0", "0"], "File": "LanaiMCTargetDesc12", "Func": "evaluateBranch", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2367, "Length": 142, "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": 2368, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LEGTargetLowering", "::", "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", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", ".", "getRegInfo", "(", ")", ";", "assert", "(", "!", "isVarArg", "&&", "\"VarArg not supported\"", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "CC_LEG", ")", ";", "for", "(", "auto", "&", "VA", ":", "ArgLocs", ")", "{", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "EVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "assert", "(", "RegVT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", "==", "MVT", "::", "i32", "&&", "\"Only support MVT::i32 register passing\"", ")", ";", "const", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "LEG", "::", "GRRegsRegClass", ")", ";", "RegInfo", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "VReg", ")", ";", "SDValue", "ArgIn", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VReg", ",", "RegVT", ")", ";", "InVals", ".", "push_back", "(", "ArgIn", ")", ";", "continue", ";", "}", "assert", "(", "VA", ".", "isMemLoc", "(", ")", "&&", "\"Can only pass arguments as either registers or via the stack\"", ")", ";", "const", "unsigned", "Offset", "=", "VA", ".", "getLocMemOffset", "(", ")", ";", "const", "int", "FI", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "CreateFixedObject", "(", "4", ",", "Offset", ",", "true", ")", ";", "EVT", "PtrTy", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";", "SDValue", "FIPtr", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "PtrTy", ")", ";", "assert", "(", "VA", ".", "getValVT", "(", ")", "==", "MVT", "::", "i32", "&&", "\"Only support passing arguments as i32\"", ")", ";", "SDValue", "Load", "=", "DAG", ".", "getLoad", "(", "VA", ".", "getValVT", "(", ")", ",", "dl", ",", "Chain", ",", "FIPtr", ",", "MachinePointerInfo", "(", ")", ")", ";", "InVals", ".", "push_back", "(", "Load", ")", ";", "}", "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": ["LEG", "LEG", "ISD::InputArg", "\"VarArg not supported\"", "16", "LEG", "MVT::i32", "\"Only support MVT::i32 register passing\"", "LEG::GRRegsRegClass", "\"Can only pass arguments as either registers or via the stack\"", "4", "MVT::i32", "\"Only support passing arguments as i32\""], "File": "LEGISelLowering", "Func": "LowerFormalArguments", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2369, "Length": 324, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "LanaiInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "Lanai", "::", "SW_RI", ")", "if", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "isFI", "(", ")", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "==", "0", ")", "{", "FrameIndex", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "2", ")", ".", "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": ["Lanai", "Lanai", "Lanai::SW_RI", "0", "1", "1", "0", "0", "2", "0"], "File": "LanaiInstrInfo (2)", "Func": "isStoreToStackSlot", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2370, "Length": 96, "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": 2371, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "AArch64RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "assert", "(", "MF", "&&", "\"Invalid MachineFunction pointer.\"", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "GHC", ")", "return", "CSR_AArch64_NoRegs_SaveList", ";", "if", "(", "MF", "->", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AnyReg", ")", "return", "CSR_AArch64_AllRegs_SaveList", ";", "else", "if", "(", "isSVEFunction", "(", "*", "MF", ")", ")", "return", "CSR_AArch64_SVE_AAPCS_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", ";", "else", "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"], "File": "AArch64RegisterInfo41", "Func": "getCalleeSavedRegs", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2372, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "PPCTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'b'", ":", "if", "(", "VT", "==", "MVT", "::", "i64", "&&", "PPCSubTarget", ".", "isPPC64", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "G8RC_NOX0RegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "GPRC_NOR0RegClass", ")", ";", "case", "'r'", ":", "if", "(", "VT", "==", "MVT", "::", "i64", "&&", "PPCSubTarget", ".", "isPPC64", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "G8RCRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "GPRCRegClass", ")", ";", "case", "'f'", ":", "if", "(", "VT", "==", "MVT", "::", "f32", "||", "VT", "==", "MVT", "::", "i32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "F4RCRegClass", ")", ";", "if", "(", "VT", "==", "MVT", "::", "f64", "||", "VT", "==", "MVT", "::", "i64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "F8RCRegClass", ")", ";", "break", ";", "case", "'v'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "VRRCRegClass", ")", ";", "case", "'y'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "CRRCRegClass", ")", ";", "}", "}", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "R", "=", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "if", "(", "R", ".", "first", "&&", "VT", "==", "MVT", "::", "i64", "&&", "PPCSubTarget", ".", "isPPC64", "(", ")", "&&", "PPC", "::", "GPRCRegClass", ".", "contains", "(", "R", ".", "first", ")", ")", "{", "const", "TargetRegisterInfo", "*", "TRI", "=", "getTargetMachine", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "return", "std", "::", "make_pair", "(", "TRI", "->", "getMatchingSuperReg", "(", "R", ".", "first", ",", "PPC", "::", "sub_32", ",", "&", "PPC", "::", "G8RCRegClass", ")", ",", "&", "PPC", "::", "G8RCRegClass", ")", ";", "}", "return", "R", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["PowerPC", "PPC", "1", "0", "MVT::i64", "PPC", "PPC", "0U", "PPC::G8RC_NOX0RegClass", "0U", "PPC::GPRC_NOR0RegClass", "MVT::i64", "PPC", "PPC", "0U", "PPC::G8RCRegClass", "0U", "PPC::GPRCRegClass", "MVT::f32", "MVT::i32", "0U", "PPC::F4RCRegClass", "MVT::f64", "MVT::i64", "0U", "PPC::F8RCRegClass", "0U", "PPC::VRRCRegClass", "0U", "PPC::CRRCRegClass", "MVT::i64", "PPC", "PPC", "PPC::GPRCRegClass", "PPC::sub_32", "PPC::G8RCRegClass", "PPC::G8RCRegClass"], "File": "PPCISelLowering29", "Func": "getRegForInlineAsmConstraint", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2373, "Length": 322, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_evpc_uzp", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "HOST_WIDE_INT", "odd", ";", "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", ",", "1", ",", "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_UZP2", ":", "UNSPEC_UZP1", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "suitable", "for", "the", "UZP", "instructions", "."], "TS_V_token": ["aarch64", "8", "0", "0", "1", "0", "1", "2", "2"], "File": "aarch64", "Func": "aarch64_evpc_uzp", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2374, "Length": 171, "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": 2375, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "Cpu0MCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "unsigned", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "unsigned", "RegNo", "=", "getCpu0RegisterNumbering", "(", "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", "(", ")", ")", ";", "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", ")", ";", "Cpu0", "::", "Fixups", "FixupKind", "=", "Cpu0", "::", "Fixups", "(", "0", ")", ";", "switch", "(", "cast", "<", "MCSymbolRefExpr", ">", "(", "Expr", ")", "->", "getKind", "(", ")", ")", "{", "case", "MCSymbolRefExpr", "::", "VK_Cpu0_GPREL", ":", "FixupKind", "=", "Cpu0", "::", "fixup_Cpu0_GPREL16", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Cpu0_GOT_CALL", ":", "FixupKind", "=", "Cpu0", "::", "fixup_Cpu0_CALL24", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Cpu0_GOT16", ":", "FixupKind", "=", "Cpu0", "::", "fixup_Cpu0_GOT_Global", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Cpu0_GOT", ":", "FixupKind", "=", "Cpu0", "::", "fixup_Cpu0_GOT_Local", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Cpu0_ABS_HI", ":", "FixupKind", "=", "Cpu0", "::", "fixup_Cpu0_HI16", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Cpu0_ABS_LO", ":", "FixupKind", "=", "Cpu0", "::", "fixup_Cpu0_LO16", ";", "break", ";", "default", ":", "break", ";", "}", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "0", ",", "MO", ".", "getExpr", "(", ")", ",", "MCFixupKind", "(", "FixupKind", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0", "32", "Cpu0::Fixups", "Cpu0::Fixups", "0", "Cpu0", "Cpu0::fixup_Cpu0_GPREL16", "Cpu0", "Cpu0::fixup_Cpu0_CALL24", "Cpu0", "Cpu0::fixup_Cpu0_GOT_Global", "Cpu0", "Cpu0::fixup_Cpu0_GOT_Local", "Cpu0", "Cpu0::fixup_Cpu0_HI16", "Cpu0", "Cpu0::fixup_Cpu0_LO16", "0", "0"], "File": "Cpu0MCCodeEmitter1", "Func": "getMachineOpValue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2376, "Length": 329, "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", ")", ";", "return", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM64"], "File": "ARM64ISelDAGToDAG1", "Func": "runOnMachineFunction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2377, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "bool", "is64Bit", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ";", "unsigned", "SlotSize", "=", "is64Bit", "?", "8", ":", "4", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "X86MachineFunctionInfo", "*", "X86FI", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "X86FI", "->", "setCalleeSavedFrameSize", "(", "CSI", ".", "size", "(", ")", "*", "SlotSize", ")", ";", "unsigned", "Opc", "=", "is64Bit", "?", "X86", "::", "PUSH64r", ":", "X86", "::", "PUSH32r", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opc", ")", ")", ".", "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": ["X86", "X86", "X86", "8", "4", "X86", "X86", "X86", "X86", "X86::PUSH64r", "X86::PUSH32r", "0", "1"], "File": "X86InstrInfo43", "Func": "spillCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2378, "Length": 207, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_emit_approx_rsqrt", "(", "rtx", "dst", ",", "rtx", "src", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "src", ")", ";", "gcc_assert", "(", "mode", "==", "SFmode", "||", "mode", "==", "V2SFmode", "||", "mode", "==", "V4SFmode", "||", "mode", "==", "DFmode", "||", "mode", "==", "V2DFmode", ")", ";", "rtx", "xsrc", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_move_insn", "(", "xsrc", ",", "src", ")", ";", "rtx", "x0", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "(", "*", "get_rsqrte_type", "(", "mode", ")", ")", "(", "x0", ",", "xsrc", ")", ")", ";", "bool", "double_mode", "=", "(", "mode", "==", "DFmode", "||", "mode", "==", "V2DFmode", ")", ";", "int", "iterations", "=", "double_mode", "?", "3", ":", "2", ";", "if", "(", "flag_mrecip_low_precision_sqrt", ")", "iterations", "--", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "iterations", ";", "++", "i", ")", "{", "rtx", "x1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rtx", "x2", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rtx", "x3", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_set_insn", "(", "x2", ",", "gen_rtx_MULT", "(", "mode", ",", "x0", ",", "x0", ")", ")", ";", "emit_insn", "(", "(", "*", "get_rsqrts_type", "(", "mode", ")", ")", "(", "x3", ",", "xsrc", ",", "x2", ")", ")", ";", "emit_set_insn", "(", "x1", ",", "gen_rtx_MULT", "(", "mode", ",", "x0", ",", "x3", ")", ")", ";", "x0", "=", "x1", ";", "}", "emit_move_insn", "(", "dst", ",", "x0", ")", ";", "}", ""], "natrual_language": ["Emit", "instruction", "sequence", "to", "compute", "the", "reciprocal", "square", "root", "using", "the", "Newton-Raphson", "series", ".", "Iterate", "over", "the", "series", "twice", "for", "SF", "and", "thrice", "for", "DF", "."], "TS_V_token": ["aarch64", "3", "2", "0"], "File": "aarch643", "Func": "aarch64_emit_approx_rsqrt", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2379, "Length": 207, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pa_output_function_epilogue", "(", "FILE", "*", "file", ",", "HOST_WIDE_INT", "size", "ATTRIBUTE_UNUSED", ")", "{", "rtx_insn", "*", "insn", "=", "get_last_insn", "(", ")", ";", "bool", "extra_nop", ";", "if", "(", "NOTE_P", "(", "insn", ")", ")", "insn", "=", "prev_real_insn", "(", "insn", ")", ";", "if", "(", "insn", "&&", "NONJUMP_INSN_P", "(", "insn", ")", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "SEQUENCE", ")", "insn", "=", "as_a", "<", "rtx_sequence", "*", ">", "(", "PATTERN", "(", "insn", ")", ")", "->", "insn", "(", "0", ")", ";", "if", "(", "insn", "&&", "CALL_P", "(", "insn", ")", ")", "{", "fputs", "(", "\"\\tnop\\n\"", ",", "file", ")", ";", "extra_nop", "=", "true", ";", "}", "else", "extra_nop", "=", "false", ";", "fputs", "(", "\"\\t.EXIT\\n\\t.PROCEND\\n\"", ",", "file", ")", ";", "if", "(", "TARGET_SOM", "&&", "TARGET_GAS", ")", "{", "in_section", "=", "NULL", ";", "cfun", "->", "machine", "->", "in_nsubspa", "=", "2", ";", "}", "if", "(", "cfun", "->", "is_thunk", ")", "return", ";", "if", "(", "INSN_ADDRESSES_SET_P", "(", ")", ")", "{", "last_address", "=", "extra_nop", "?", "4", ":", "0", ";", "insn", "=", "get_last_nonnote_insn", "(", ")", ";", "if", "(", "insn", ")", "{", "last_address", "+=", "INSN_ADDRESSES", "(", "INSN_UID", "(", "insn", ")", ")", ";", "if", "(", "INSN_P", "(", "insn", ")", ")", "last_address", "+=", "insn_default_length", "(", "insn", ")", ";", "}", "last_address", "=", "(", "(", "last_address", "+", "FUNCTION_BOUNDARY", "/", "BITS_PER_UNIT", "-", "1", ")", "&", "~", "(", "FUNCTION_BOUNDARY", "/", "BITS_PER_UNIT", "-", "1", ")", ")", ";", "}", "else", "last_address", "=", "UINT_MAX", ";", "update_total_code_bytes", "(", "last_address", ")", ";", "}", ""], "natrual_language": ["This", "function", "generates", "the", "assembly", "code", "for", "function", "exit", ".", "Args", "are", "as", "for", "output_function_prologue", "(", ")", ".", "The", "function", "epilogue", "should", "not", "depend", "on", "the", "current", "stack", "pointer", "!", "It", "should", "use", "the", "frame", "pointer", "only", ".", "This", "is", "mandatory", "because", "of", "alloca", ";", "we", "also", "take", "advantage", "of", "it", "to", "omit", "stack", "adjustments", "before", "returning", "."], "TS_V_token": ["pa", "0", "\"\\tnop\\n\"", "\"\\t.EXIT\\n\\t.PROCEND\\n\"", "2", "4", "0", "1", "1"], "File": "pa4", "Func": "pa_output_function_epilogue", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2380, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsMCCodeEmitter", "::", "getBranchTargetOpValueMMPC10", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ">>", "1", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"getBranchTargetOpValuePC10 expects only expressions or immediates\"", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "0", ",", "Expr", ",", "MCFixupKind", "(", "Mips", "::", "fixup_MICROMIPS_PC10_S1", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTargetOpValueMMPC10", "-", "Return", "binary", "encoding", "of", "the", "microMIPS", "10-bit", "branch", "target", "operand", "."], "TS_V_token": ["Mips", "Mips", "1", "\"getBranchTargetOpValuePC10 expects only expressions or immediates\"", "0", "Mips::fixup_MICROMIPS_PC10_S1", "0"], "File": "MipsMCCodeEmitter23", "Func": "getBranchTargetOpValueMMPC10", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2381, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "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", ",", "CCAssignFnForNode", "(", "CallConv", ")", ")", ";", "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", "(", ")", "&&", "\"Only register-returns should be created by PCS\"", ")", ";", "SDValue", "Arg", "=", "OutVals", "[", "i", "]", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown loc info\"", ")", ";", "case", "CCValAssign", "::", "Full", ":", "break", ";", "case", "CCValAssign", "::", "SExt", ":", "case", "CCValAssign", "::", "ZExt", ":", "case", "CCValAssign", "::", "AExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ANY_EXTEND", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "case", "CCValAssign", "::", "BCvt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "}", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "Arg", ",", "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", "(", "AArch64ISD", "::", "Ret", ",", "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": ["AArch64", "AArch64", "ISD::OutputArg", "16", "4", "1", "0", "\"Only register-returns should be created by PCS\"", "\"Unknown loc info\"", "ISD::ANY_EXTEND", "ISD::BITCAST", "1", "0", "AArch64ISD::Ret", "MVT::Other", "0"], "File": "AArch64ISelLowering123", "Func": "LowerReturn", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2382, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMFastISel", "::", "fastEmitInst_ri", "(", "unsigned", "MachineInstOpcode", ",", "const", "TargetRegisterClass", "*", "RC", ",", "unsigned", "Op0", ",", "uint64_t", "Imm", ")", "{", "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", ")", ".", "addImm", "(", "Imm", ")", ")", ";", "}", "else", "{", "AddOptionalDefs", "(", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "II", ")", ".", "addReg", "(", "Op0", ")", ".", "addImm", "(", "Imm", ")", ")", ";", "AddOptionalDefs", "(", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "ResultReg", ")", ".", "addReg", "(", "II", ".", "ImplicitDefs", "[", "0", "]", ")", ")", ";", "}", "return", "ResultReg", ";", "}", ""], "natrual_language": ["Emit", "a", "MachineInstr", "with", "a", "register", "operand", ",", "an", "immediate", ",", "and", "a", "result", "register", "in", "the", "given", "register", "class", "."], "TS_V_token": ["ARM", "ARM", "1", "1", "0"], "File": "ARMFastISel24", "Func": "fastEmitInst_ri", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2383, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "ARMTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Don't know how to custom lower this!\"", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "LowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "LowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "Subtarget", "->", "isTargetDarwin", "(", ")", "?", "LowerGlobalAddressDarwin", "(", "Op", ",", "DAG", ")", ":", "LowerGlobalAddressELF", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "return", "LowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "LowerSELECT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBR_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_JT", ":", "return", "LowerBR_JT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "MEMBARRIER", ":", "return", "LowerMEMBARRIER", "(", "Op", ",", "DAG", ",", "Subtarget", ")", ";", "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", ":", "return", "LowerRETURNADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GLOBAL_OFFSET_TABLE", ":", "return", "LowerGLOBAL_OFFSET_TABLE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EH_SJLJ_SETJMP", ":", "return", "LowerEH_SJLJ_SETJMP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EH_SJLJ_LONGJMP", ":", "return", "LowerEH_SJLJ_LONGJMP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "LowerINTRINSIC_WO_CHAIN", "(", "Op", ",", "DAG", ",", "Subtarget", ")", ";", "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", "::", "SHL_PARTS", ":", "return", "LowerShiftLeftParts", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SRL_PARTS", ":", "case", "ISD", "::", "SRA_PARTS", ":", "return", "LowerShiftRightParts", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "CTTZ", ":", "return", "LowerCTTZ", "(", "Op", ".", "getNode", "(", ")", ",", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "VSETCC", ":", "return", "LowerVSETCC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BUILD_VECTOR", ":", "return", "LowerBUILD_VECTOR", "(", "Op", ",", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "VECTOR_SHUFFLE", ":", "return", "LowerVECTOR_SHUFFLE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EXTRACT_VECTOR_ELT", ":", "return", "LowerEXTRACT_VECTOR_ELT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "CONCAT_VECTORS", ":", "return", "LowerCONCAT_VECTORS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FLT_ROUNDS_", ":", "return", "LowerFLT_ROUNDS_", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "MUL", ":", "return", "LowerMUL", "(", "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::BlockAddress", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::SELECT", "ISD::SELECT_CC", "ISD::BR_CC", "ISD::BR_JT", "ISD::VASTART", "ISD::MEMBARRIER", "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::EH_SJLJ_SETJMP", "ISD::EH_SJLJ_LONGJMP", "ISD::INTRINSIC_WO_CHAIN", "ISD::BIT_CONVERT", "ISD::SHL", "ISD::SRL", "ISD::SRA", "ISD::SHL_PARTS", "ISD::SRL_PARTS", "ISD::SRA_PARTS", "ISD::CTTZ", "ISD::VSETCC", "ISD::BUILD_VECTOR", "ISD::VECTOR_SHUFFLE", "ISD::EXTRACT_VECTOR_ELT", "ISD::CONCAT_VECTORS", "ISD::FLT_ROUNDS_", "ISD::MUL"], "File": "ARMISelLowering54", "Func": "LowerOperation", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2384, "Length": 500, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_secondary_reload_simple_move", "(", "enum", "rs6000_reg_type", "to_type", ",", "enum", "rs6000_reg_type", "from_type", ",", "machine_mode", "mode", ")", "{", "int", "size", ";", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "TARGET_DIRECT_MOVE", "&&", "(", "(", "mode", "==", "SDmode", ")", "||", "(", "TARGET_POWERPC64", "&&", "size", "==", "8", ")", ")", "&&", "(", "(", "to_type", "==", "GPR_REG_TYPE", "&&", "from_type", "==", "VSX_REG_TYPE", ")", "||", "(", "to_type", "==", "VSX_REG_TYPE", "&&", "from_type", "==", "GPR_REG_TYPE", ")", ")", ")", "return", "true", ";", "else", "if", "(", "TARGET_DIRECT_MOVE_128", "&&", "size", "==", "16", "&&", "(", "(", "to_type", "==", "VSX_REG_TYPE", "&&", "from_type", "==", "GPR_REG_TYPE", ")", "||", "(", "to_type", "==", "GPR_REG_TYPE", "&&", "from_type", "==", "VSX_REG_TYPE", ")", ")", ")", "return", "true", ";", "else", "if", "(", "TARGET_MFPGPR", "&&", "TARGET_POWERPC64", "&&", "size", "==", "8", "&&", "(", "(", "to_type", "==", "GPR_REG_TYPE", "&&", "from_type", "==", "FPR_REG_TYPE", ")", "||", "(", "to_type", "==", "FPR_REG_TYPE", "&&", "from_type", "==", "GPR_REG_TYPE", ")", ")", ")", "return", "true", ";", "else", "if", "(", "(", "size", "==", "4", "||", "(", "TARGET_POWERPC64", "&&", "size", "==", "8", ")", ")", "&&", "(", "(", "to_type", "==", "GPR_REG_TYPE", "&&", "from_type", "==", "SPR_REG_TYPE", ")", "||", "(", "to_type", "==", "SPR_REG_TYPE", "&&", "from_type", "==", "GPR_REG_TYPE", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "rs6000_secondary_reload", "to", "return", "true", "if", "a", "move", "to", "a", "different", "register", "classe", "is", "really", "a", "simple", "move", "."], "TS_V_token": ["rs6000", "8", "16", "8", "4", "8"], "File": "rs60005", "Func": "rs6000_secondary_reload_simple_move", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2385, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_output_indirect_branch", "(", "rtx", "call_op", ",", "const", "char", "*", "xasm", ",", "bool", "sibcall_p", ")", "{", "if", "(", "REG_P", "(", "call_op", ")", ")", "ix86_output_indirect_branch_via_reg", "(", "call_op", ",", "sibcall_p", ")", ";", "else", "ix86_output_indirect_branch_via_push", "(", "call_op", ",", "xasm", ",", "sibcall_p", ")", ";", "}", ""], "natrual_language": ["Output", "indirect", "branch", "via", "a", "call", "and", "return", "thunk", ".", "CALL_OP", "is", "the", "branch", "target", ".", "XASM", "is", "the", "assembly", "template", "for", "CALL_OP", ".", "Branch", "is", "a", "tail", "call", "if", "SIBCALL_P", "is", "true", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_output_indirect_branch", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2386, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "Dcpu16TargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "Dcpu16PassConfig", "(", "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": ["Dcpu16"], "File": "Dcpu16TargetMachine (2)", "Func": "createPassConfig", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2387, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "MipsTargetLowering", "::", "getOptimalMemOpType", "(", "const", "MemOp", "&", "Op", ",", "const", "AttributeList", "&", "FuncAttributes", ")", "const", "{", "bool", "IsNonZeroMemset", "=", "Op", ".", "isMemset", "(", ")", "&&", "!", "Op", ".", "isZeroMemset", "(", ")", ";", "Align", "CapAlign", "=", "Subtarget", ".", "isCheri", "(", ")", "?", "Subtarget", ".", "getCapAlignment", "(", ")", ":", "Align", "(", ")", ";", "if", "(", "CapAlign", ">", "1", "&&", "Op", ".", "size", "(", ")", ">=", "CapAlign", ".", "value", "(", ")", "&&", "!", "IsNonZeroMemset", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "__func__", "<<", "\" Size=\"", "<<", "Op", ".", "size", "(", ")", "<<", "\" DstAlign=\"", "<<", "(", "Op", ".", "isFixedDstAlign", "(", ")", "?", "Op", ".", "getDstAlign", "(", ")", ".", "value", "(", ")", ":", "0", ")", "<<", "\" SrcAlign=\"", "<<", "(", "Op", ".", "isMemset", "(", ")", "?", "0", ":", "Op", ".", "getSrcAlign", "(", ")", ".", "value", "(", ")", ")", "<<", "\" CapAlign=\"", "<<", "CapAlign", ".", "value", "(", ")", "<<", "\"\\n\"", ")", ";", "if", "(", "Op", ".", "isAligned", "(", "CapAlign", ")", ")", "{", "return", "CapType", ";", "}", "else", "if", "(", "!", "Op", ".", "isMemset", "(", ")", ")", "{", "return", "MVT", "::", "isVoid", ";", "}", "if", "(", "Subtarget", ".", "isGP64bit", "(", ")", "&&", "Op", ".", "isAligned", "(", "Align", "(", "8", ")", ")", ")", "return", "MVT", "::", "i64", ";", "if", "(", "Op", ".", "isAligned", "(", "Align", "(", "4", ")", ")", ")", "return", "MVT", "::", "i32", ";", "if", "(", "Op", ".", "isAligned", "(", "Align", "(", "2", ")", ")", ")", "return", "MVT", "::", "i16", ";", "return", "MVT", "::", "i8", ";", "}", "if", "(", "Subtarget", ".", "isGP64bit", "(", ")", ")", "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", "1", "\" Size=\"", "\" DstAlign=\"", "0", "\" SrcAlign=\"", "0", "\" CapAlign=\"", "\"\\n\"", "MVT::isVoid", "8", "MVT::i64", "4", "MVT::i32", "2", "MVT::i16", "MVT::i8", "MVT::i64", "MVT::i32"], "File": "MipsISelLowering66", "Func": "getOptimalMemOpType", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2388, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "base_reg_disp", "sh_find_base_reg_disp", "(", "rtx_insn", "*", "insn", ",", "rtx", "x", ",", "disp_t", "disp", "=", "0", ",", "rtx", "base_reg", "=", "NULL", ")", "{", "if", "(", "REG_P", "(", "x", ")", ")", "{", "if", "(", "REGNO", "(", "x", ")", "==", "GBR_REG", ")", "return", "base_reg_disp", "(", "x", ",", "disp", ")", ";", "if", "(", "REGNO", "(", "x", ")", "<", "FIRST_PSEUDO_REGISTER", ")", "return", "base_reg_disp", "(", "base_reg", "!=", "NULL", "?", "base_reg", ":", "x", ",", "disp", ")", ";", "rtx_insn", "*", "last_i", "=", "NULL", ";", "rtx", "last_set", "=", "NULL", ";", "for", "(", "df_ref", "d", "=", "DF_REG_DEF_CHAIN", "(", "REGNO", "(", "x", ")", ")", ";", "d", "!=", "NULL", ";", "d", "=", "DF_REF_NEXT_REG", "(", "d", ")", ")", "{", "rtx", "set", "=", "const_cast", "<", "rtx", ">", "(", "set_of", "(", "x", ",", "DF_REF_INSN", "(", "d", ")", ")", ")", ";", "if", "(", "last_set", "==", "NULL", "||", "rtx_equal_p", "(", "last_set", ",", "set", ")", ")", "{", "last_i", "=", "DF_REF_INSN", "(", "d", ")", ";", "last_set", "=", "set", ";", "}", "else", "{", "last_i", "=", "NULL", ";", "last_set", "=", "NULL", ";", "break", ";", "}", "}", "if", "(", "last_set", "!=", "NULL", "&&", "last_i", "!=", "NULL", ")", "return", "sh_find_base_reg_disp", "(", "last_i", ",", "XEXP", "(", "last_set", ",", "1", ")", ",", "disp", ",", "XEXP", "(", "last_set", ",", "0", ")", ")", ";", "return", "base_reg_disp", "(", "x", ",", "disp", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "{", "base_reg_disp", "left_val", "=", "sh_find_base_reg_disp", "(", "insn", ",", "XEXP", "(", "x", ",", "0", ")", ")", ";", "base_reg_disp", "right_val", "=", "sh_find_base_reg_disp", "(", "insn", ",", "XEXP", "(", "x", ",", "1", ")", ")", ";", "if", "(", "left_val", ".", "is_reg", "(", ")", "&&", "right_val", ".", "is_disp", "(", ")", ")", "return", "base_reg_disp", "(", "left_val", ".", "reg", "(", ")", ",", "left_val", ".", "disp", "(", ")", "+", "right_val", ".", "disp", "(", ")", "+", "disp", ")", ";", "else", "if", "(", "right_val", ".", "is_reg", "(", ")", "&&", "left_val", ".", "is_disp", "(", ")", ")", "return", "base_reg_disp", "(", "right_val", ".", "reg", "(", ")", ",", "right_val", ".", "disp", "(", ")", "+", "left_val", ".", "disp", "(", ")", "+", "disp", ")", ";", "else", "return", "base_reg_disp", "(", "base_reg", ",", "disp", ")", ";", "}", "else", "if", "(", "CONST_INT_P", "(", "x", ")", ")", "return", "base_reg_disp", "(", "NULL", ",", "disp", "+", "INTVAL", "(", "x", ")", ")", ";", "return", "base_reg_disp", "(", "base_reg", ",", "disp", ")", ";", "}", ""], "natrual_language": ["Find", "the", "base", "register", "and", "calculate", "the", "displacement", "for", "a", "given", "address", "rtx", "'", "x", "'", "."], "TS_V_token": ["sh", "0", "1", "0", "0", "1"], "File": "sh", "Func": "sh_find_base_reg_disp", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2389, "Length": 364, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Emitter", "<", "CodeEmitter", ">", "::", "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": "X86CodeEmitter11", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2390, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"ARM Execution Domain Fix\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"ARM Execution Domain Fix\""], "File": "ARMTargetMachine", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2391, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mep_save_register_info", "(", "void", ")", "{", "save_register_info", "(", ")", ";", "}", ""], "natrual_language": ["These", "three", "functions", "provide", "a", "bridge", "between", "the", "pramgas", "that", "affect", "register", "classes", ",", "and", "the", "functions", "that", "maintain", "them", ".", "We", "ca", "n't", "call", "those", "functions", "directly", "as", "pragma", "handling", "is", "part", "of", "the", "front", "end", "and", "does", "n't", "have", "direct", "access", "to", "them", "."], "TS_V_token": ["mep"], "File": "mep", "Func": "mep_save_register_info", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2392, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "peek", "(", "struct", "InternalInstruction", "*", "insn", ",", "uint8_t", "&", "byte", ")", "{", "uint64_t", "offset", "=", "insn", "->", "readerCursor", "-", "insn", "->", "startLocation", ";", "if", "(", "offset", ">=", "insn", "->", "bytes", ".", "size", "(", ")", ")", "return", "true", ";", "byte", "=", "insn", "->", "bytes", "[", "offset", "]", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "the", "current", "operation", "."], "TS_V_token": ["X86"], "File": "X86Disassembler (2)2", "Func": "peek", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2393, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "LanaiDisassembler", "::", "getInstruction", "(", "MCInst", "&", "Instr", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", ",", "raw_ostream", "&", ")", "const", "{", "uint32_t", "Insn", ";", "DecodeStatus", "Result", "=", "readInstruction32", "(", "Bytes", ",", "Size", ",", "Insn", ")", ";", "if", "(", "Result", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "Result", "=", "decodeInstruction", "(", "DecoderTableLanai32", ",", "Instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "PostOperandDecodeAdjust", "(", "Instr", ",", "Insn", ")", ";", "Size", "=", "4", ";", "return", "Result", ";", "}", "return", "MCDisassembler", "::", "Fail", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai", "4"], "File": "LanaiDisassembler11", "Func": "getInstruction", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2394, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_builtin_support_vector_misalignment", "(", "machine_mode", "mode", ",", "const_tree", "type", ",", "int", "misalignment", ",", "bool", "is_packed", ")", "{", "if", "(", "TARGET_VSX", ")", "{", "if", "(", "optab_handler", "(", "movmisalign_optab", ",", "mode", ")", "==", "CODE_FOR_nothing", ")", "return", "false", ";", "if", "(", "misalignment", "==", "-", "1", ")", "{", "if", "(", "rs6000_vector_alignment_reachable", "(", "type", ",", "is_packed", ")", ")", "{", "int", "element_size", "=", "TREE_INT_CST_LOW", "(", "TYPE_SIZE", "(", "type", ")", ")", ";", "if", "(", "element_size", "==", "64", "||", "element_size", "==", "32", ")", "return", "true", ";", "}", "return", "false", ";", "}", "if", "(", "misalignment", "%", "4", "==", "0", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "vector", "misalignment", "factor", "is", "supported", "by", "the", "target", "."], "TS_V_token": ["rs6000", "1", "64", "32", "4", "0"], "File": "rs60004", "Func": "rs6000_builtin_support_vector_misalignment", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2395, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "override", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "X86", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"reloc_riprel_4byte\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_riprel_4byte_movq_load\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_riprel_4byte_relax\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_riprel_4byte_relax_rex\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_signed_4byte\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"reloc_signed_4byte_relax\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"reloc_global_offset_table\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"reloc_global_offset_table8\"", ",", "0", ",", "64", ",", "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": ["X86", "X86::NumTargetFixupKinds", "\"reloc_riprel_4byte\"", "0", "32", "\"reloc_riprel_4byte_movq_load\"", "0", "32", "\"reloc_riprel_4byte_relax\"", "0", "32", "\"reloc_riprel_4byte_relax_rex\"", "0", "32", "\"reloc_signed_4byte\"", "0", "32", "0", "\"reloc_signed_4byte_relax\"", "0", "32", "0", "\"reloc_global_offset_table\"", "0", "32", "0", "\"reloc_global_offset_table8\"", "0", "64", "0", "\"Invalid kind!\""], "File": "X86AsmBackend (2)", "Func": "getFixupKindInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2396, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "print_multi_reg", "(", "FILE", "*", "stream", ",", "const", "char", "*", "instr", ",", "unsigned", "reg", ",", "unsigned", "long", "mask", ")", "{", "unsigned", "i", ";", "bool", "not_first", "=", "FALSE", ";", "fputc", "(", "'\\t'", ",", "stream", ")", ";", "asm_fprintf", "(", "stream", ",", "instr", ",", "reg", ")", ";", "fputs", "(", "\", {\"", ",", "stream", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<=", "LAST_ARM_REGNUM", ";", "i", "++", ")", "if", "(", "mask", "&", "(", "1", "<<", "i", ")", ")", "{", "if", "(", "not_first", ")", "fprintf", "(", "stream", ",", "\", \"", ")", ";", "asm_fprintf", "(", "stream", ",", "\"%r\"", ",", "i", ")", ";", "not_first", "=", "TRUE", ";", "}", "fprintf", "(", "stream", ",", "\"}\\n\"", ")", ";", "}", ""], "natrual_language": ["Output", "the", "operands", "of", "a", "LDM/STM", "instruction", "to", "STREAM", ".", "MASK", "is", "the", "ARM", "register", "set", "mask", "of", "which", "only", "bits", "0-15", "are", "important", ".", "REG", "is", "the", "base", "register", ",", "either", "the", "frame", "pointer", "or", "the", "stack", "pointer", ",", "INSTR", "is", "the", "possibly", "suffixed", "load", "or", "store", "instruction", "."], "TS_V_token": ["arm", "\", {\"", "0", "1", "\", \"", "\"%r\"", "\"}\\n\""], "File": "arm3", "Func": "print_multi_reg", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2397, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "hashval_t", "libcall_hasher", "::", "hash", "(", "const", "value_type", "*", "p1", ")", "{", "return", "hash_rtx", "(", "p1", ",", "VOIDmode", ",", "NULL", ",", "NULL", ",", "FALSE", ")", ";", "}", ""], "natrual_language": ["Hash", "function", "for", "builtin", "functions", "with", "up", "to", "3", "arguments", "and", "a", "return", "type", "."], "TS_V_token": ["arm"], "File": "arm4", "Func": "hash", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2398, "Length": 27, "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": ["rs6000", "0", "0", "1"], "File": "rs6000", "Func": "rs6000_move_128bit_ok_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2399, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_conditional_register_usage", "(", "void", ")", "{", "int", "i", ",", "c_mask", ";", "if", "(", "cfun", "&&", "cfun", "->", "machine", "->", "no_caller_saved_registers", ")", "for", "(", "i", "=", "0", ";", "i", "<", "FIRST_PSEUDO_REGISTER", ";", "i", "++", ")", "if", "(", "!", "fixed_regs", "[", "i", "]", "&&", "!", "ix86_function_value_regno_p", "(", "i", ")", ")", "call_used_regs", "[", "i", "]", "=", "0", ";", "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", "=", "CALL_USED_REGISTERS_MASK", "(", "TARGET_64BIT_MS_ABI", ")", ";", "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", "]", "=", "\"\"", ";", "}", "}", ""], "natrual_language": ["Update", "register", "usage", "after", "having", "seen", "the", "compiler", "flags", "."], "TS_V_token": ["i386", "0", "0", "1", "\"\"", "1", "\"\"", "1", "\"\"", "0", "1", "0", "1", "\"\"", "0", "1", "\"\"", "0", "1", "\"\"", "1", "\"\"", "1", "\"\""], "File": "i3868", "Func": "ix86_conditional_register_usage", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2400, "Length": 482, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCAIXAsmPrinter", "::", "emitTTypeReference", "(", "const", "GlobalValue", "*", "GV", ",", "unsigned", "Encoding", ")", "{", "if", "(", "GV", ")", "{", "MCSymbol", "*", "TypeInfoSym", "=", "TM", ".", "getSymbol", "(", "GV", ")", ";", "MCSymbol", "*", "TOCEntry", "=", "lookUpOrCreateTOCEntry", "(", "TypeInfoSym", ")", ";", "const", "MCSymbol", "*", "TOCBaseSym", "=", "cast", "<", "MCSectionXCOFF", ">", "(", "getObjFileLowering", "(", ")", ".", "getTOCBaseSection", "(", ")", ")", "->", "getQualNameSymbol", "(", ")", ";", "auto", "&", "Ctx", "=", "OutStreamer", "->", "getContext", "(", ")", ";", "const", "MCExpr", "*", "Exp", "=", "MCBinaryExpr", "::", "createSub", "(", "MCSymbolRefExpr", "::", "create", "(", "TOCEntry", ",", "Ctx", ")", ",", "MCSymbolRefExpr", "::", "create", "(", "TOCBaseSym", ",", "Ctx", ")", ",", "Ctx", ")", ";", "OutStreamer", "->", "emitValue", "(", "Exp", ",", "GetSizeOfEncodedValue", "(", "Encoding", ")", ")", ";", "}", "else", "OutStreamer", "->", "emitIntValue", "(", "0", ",", "GetSizeOfEncodedValue", "(", "Encoding", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "reference", "to", "a", "ttype", "global", "with", "a", "specified", "encoding", "."], "TS_V_token": ["PowerPC", "PPC", "0"], "File": "PPCAsmPrinter (2)3", "Func": "emitTTypeReference", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2401, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "X86RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "bool", "HasAVX", "=", "Subtarget", ".", "hasAVX", "(", ")", ";", "bool", "HasAVX512", "=", "Subtarget", ".", "hasAVX512", "(", ")", ";", "assert", "(", "MF", "&&", "\"MachineFunction required\"", ")", ";", "switch", "(", "MF", "->", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", ")", "{", "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", "::", "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", "::", "Cold", ":", "if", "(", "Is64Bit", ")", "return", "CSR_64_MostRegs_SaveList", ";", "break", ";", "default", ":", "break", ";", "}", "bool", "CallsEHReturn", "=", "MF", "->", "getMMI", "(", ")", ".", "callsEHReturn", "(", ")", ";", "bool", "IsNaCl", "=", "Subtarget", ".", "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", "\"MachineFunction required\""], "File": "X86RegisterInfo92", "Func": "getCalleeSavedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2402, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "opt_machine_mode", "aarch64_ptrue_all_mode", "(", "rtx", "x", ")", "{", "gcc_assert", "(", "GET_MODE", "(", "x", ")", "==", "VNx16BImode", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "CONST_VECTOR", "||", "!", "CONST_VECTOR_DUPLICATE_P", "(", "x", ")", "||", "!", "CONST_INT_P", "(", "CONST_VECTOR_ENCODED_ELT", "(", "x", ",", "0", ")", ")", "||", "INTVAL", "(", "CONST_VECTOR_ENCODED_ELT", "(", "x", ",", "0", ")", ")", "==", "0", ")", "return", "opt_machine_mode", "(", ")", ";", "unsigned", "int", "nelts", "=", "const_vector_encoded_nelts", "(", "x", ")", ";", "for", "(", "unsigned", "int", "i", "=", "1", ";", "i", "<", "nelts", ";", "++", "i", ")", "if", "(", "CONST_VECTOR_ENCODED_ELT", "(", "x", ",", "i", ")", "!=", "const0_rtx", ")", "return", "opt_machine_mode", "(", ")", ";", "return", "aarch64_sve_pred_mode", "(", "nelts", ")", ";", "}", ""], "natrual_language": ["If", "VNx16BImode", "rtx", "X", "is", "a", "canonical", "PTRUE", "for", "a", "predicate", "mode", ",", "return", "that", "predicate", "mode", ",", "otherwise", "return", "opt_machine_mode", "(", ")", "."], "TS_V_token": ["aarch64", "0", "0", "0", "1"], "File": "aarch64", "Func": "aarch64_ptrue_all_mode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2403, "Length": 107, "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": ["UPT"], "File": "UPTAsmBackend", "Func": "fixupNeedsRelaxation", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2404, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "initialize_aarch64_code_model", "(", "struct", "gcc_options", "*", "opts", ")", "{", "if", "(", "opts", "->", "x_flag_pic", ")", "{", "switch", "(", "opts", "->", "x_aarch64_cmodel_var", ")", "{", "case", "AARCH64_CMODEL_TINY", ":", "aarch64_cmodel", "=", "AARCH64_CMODEL_TINY_PIC", ";", "break", ";", "case", "AARCH64_CMODEL_SMALL", ":", "aarch64_cmodel", "=", "(", "flag_pic", "==", "2", "?", "AARCH64_CMODEL_SMALL_PIC", ":", "AARCH64_CMODEL_SMALL_SPIC", ")", ";", "aarch64_cmodel", "=", "AARCH64_CMODEL_SMALL_PIC", ";", "break", ";", "case", "AARCH64_CMODEL_LARGE", ":", "sorry", "(", "\"code model %qs with %<-f%s%>\"", ",", "\"large\"", ",", "opts", "->", "x_flag_pic", ">", "1", "?", "\"PIC\"", ":", "\"pic\"", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "aarch64_cmodel", "=", "opts", "->", "x_aarch64_cmodel_var", ";", "}", ""], "natrual_language": ["A", "checking", "mechanism", "for", "the", "implementation", "of", "the", "various", "code", "models", "."], "TS_V_token": ["aarch64", "2", "\"code model %qs with %<-f%s%>\"", "\"large\"", "1", "\"PIC\"", "\"pic\""], "File": "aarch646", "Func": "initialize_aarch64_code_model", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2405, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "loongarch_move_from_gpr_cost", "(", "reg_class_t", "to", ")", "{", "switch", "(", "to", ")", "{", "case", "GENERAL_REGS", ":", "return", "2", ";", "case", "FP_REGS", ":", "return", "4", ";", "default", ":", "return", "0", ";", "}", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "moving", "a", "value", "from", "a", "GPR", "to", "a", "register", "of", "class", "TO", ".", "Return", "0", "for", "classes", "that", "are", "unions", "of", "other", "classes", "handled", "by", "this", "function", "."], "TS_V_token": ["loongarch", "2", "4", "0"], "File": "loongarch", "Func": "loongarch_move_from_gpr_cost", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2406, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sh_function_arg", "(", "cumulative_args_t", "ca_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "ca", "=", "get_cumulative_args", "(", "ca_v", ")", ";", "machine_mode", "mode", "=", "arg", ".", "mode", ";", "if", "(", "arg", ".", "end_marker_p", "(", ")", ")", "return", "ca", "->", "renesas_abi", "?", "const1_rtx", ":", "const0_rtx", ";", "if", "(", "sh_pass_in_reg_p", "(", "*", "ca", ",", "mode", ",", "arg", ".", "type", ")", "&&", "(", "arg", ".", "named", "||", "!", "(", "TARGET_HITACHI", "||", "ca", "->", "renesas_abi", ")", ")", ")", "{", "int", "regno", ";", "if", "(", "mode", "==", "SCmode", "&&", "TARGET_SH4", "&&", "TARGET_LITTLE_ENDIAN", "&&", "(", "!", "FUNCTION_ARG_SCmode_WART", "||", "(", "sh_round_reg", "(", "*", "ca", ",", "mode", ")", "&", "1", ")", ")", ")", "{", "rtx", "r1", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "SFmode", ",", "BASE_ARG_REG", "(", "mode", ")", "+", "(", "sh_round_reg", "(", "*", "ca", ",", "mode", ")", "^", "1", ")", ")", ",", "const0_rtx", ")", ";", "rtx", "r2", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "SFmode", ",", "BASE_ARG_REG", "(", "mode", ")", "+", "(", "(", "sh_round_reg", "(", "*", "ca", ",", "mode", ")", "+", "1", ")", "^", "1", ")", ")", ",", "GEN_INT", "(", "4", ")", ")", ";", "return", "gen_rtx_PARALLEL", "(", "SCmode", ",", "gen_rtvec", "(", "2", ",", "r1", ",", "r2", ")", ")", ";", "}", "if", "(", "(", "TARGET_HITACHI", "||", "ca", "->", "renesas_abi", ")", "&&", "ca", "->", "free_single_fp_reg", "&&", "mode", "==", "SFmode", ")", "return", "gen_rtx_REG", "(", "mode", ",", "ca", "->", "free_single_fp_reg", ")", ";", "regno", "=", "(", "BASE_ARG_REG", "(", "mode", ")", "+", "sh_round_reg", "(", "*", "ca", ",", "mode", ")", ")", "^", "(", "mode", "==", "SFmode", "&&", "TARGET_SH4", "&&", "TARGET_LITTLE_ENDIAN", "&&", "!", "TARGET_HITACHI", "&&", "!", "ca", "->", "renesas_abi", ")", ";", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "}", "return", "NULL_RTX", ";", "}", ""], "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", "SH", "the", "first", "args", "are", "normally", "in", "registers", "and", "the", "rest", "are", "pushed", ".", "Any", "arg", "that", "starts", "within", "the", "first", "NPARM_REGS", "words", "is", "at", "least", "partially", "passed", "in", "a", "register", "unless", "its", "data", "type", "forbids", "."], "TS_V_token": ["sh", "1", "1", "1", "1", "4", "2"], "File": "sh", "Func": "sh_function_arg", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2407, "Length": 270, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_load_locked", "(", "machine_mode", "mode", ",", "rtx", "reg", ",", "rtx", "mem", ")", "{", "gcc_assert", "(", "mode", "==", "SImode", ")", ";", "emit_insn", "(", "gen_load_locked_si", "(", "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": ["or1k"], "File": "or1k", "Func": "emit_load_locked", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2408, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CSKYInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "Register", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "CSKYMachineFunctionInfo", "*", "CFI", "=", "MF", ".", "getInfo", "<", "CSKYMachineFunctionInfo", ">", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "Opcode", "=", "0", ";", "if", "(", "CSKY", "::", "GPRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "Opcode", "=", "CSKY", "::", "LD32W", ";", "}", "else", "if", "(", "CSKY", "::", "CARRYRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "Opcode", "=", "CSKY", "::", "RESTORE_CARRY", ";", "CFI", "->", "setSpillsCR", "(", ")", ";", "}", "else", "if", "(", "v2sf", "&&", "CSKY", "::", "sFPR32RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "CSKY", "::", "FLD_S", ";", "else", "if", "(", "v2df", "&&", "CSKY", "::", "sFPR64RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "CSKY", "::", "FLD_D", ";", "else", "if", "(", "v3sf", "&&", "CSKY", "::", "FPR32RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "CSKY", "::", "f2FLD_S", ";", "else", "if", "(", "v3df", "&&", "CSKY", "::", "FPR64RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "CSKY", "::", "f2FLD_D", ";", "else", "{", "llvm_unreachable", "(", "\"Unknown RegisterClass\"", ")", ";", "}", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlign", "(", "FI", ")", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opcode", ")", ",", "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": ["CSKY", "CSKY", "CSKY", "CSKY", "0", "CSKY::GPRRegClass", "CSKY::LD32W", "CSKY::CARRYRegClass", "CSKY::RESTORE_CARRY", "CSKY::sFPR32RegClass", "CSKY::FLD_S", "CSKY::sFPR64RegClass", "CSKY::FLD_D", "CSKY::FPR32RegClass", "CSKY::f2FLD_S", "CSKY::FPR64RegClass", "CSKY::f2FLD_D", "\"Unknown RegisterClass\"", "0"], "File": "CSKYInstrInfo1", "Func": "loadRegFromStackSlot", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2409, "Length": 293, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "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", "{", "if", "(", "isTailCall", ")", "isTailCall", "=", "IsEligibleForTailCallOptimization", "(", "Callee", ",", "CallConv", ",", "isVarArg", ",", "Ins", ",", "DAG", ")", ";", "if", "(", "PPCSubTarget", ".", "isSVR4ABI", "(", ")", "&&", "!", "PPCSubTarget", ".", "isPPC64", "(", ")", ")", "return", "LowerCall_SVR4", "(", "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", "PPC", "PPC", "PPC"], "File": "PPCISelLowering113", "Func": "LowerCall", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2410, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "i386_pe_strip_name_encoding_full", "(", "const", "char", "*", "str", ")", "{", "const", "char", "*", "p", ";", "const", "char", "*", "name", "=", "i386_pe_strip_name_encoding", "(", "str", ")", ";", "if", "(", "*", "name", "==", "'@'", ")", "name", "++", ";", "p", "=", "strchr", "(", "name", ",", "'@'", ")", ";", "if", "(", "p", ")", "return", "ggc_alloc_string", "(", "name", ",", "p", "-", "name", ")", ";", "return", "name", ";", "}", ""], "natrual_language": ["Also", "strip", "the", "fastcall", "prefix", "and", "stdcall", "suffix", "."], "TS_V_token": ["i386"], "File": "winnt3", "Func": "i386_pe_strip_name_encoding_full", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2411, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "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", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2412, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int64_t", "getFrameAdjustment", "(", "const", "MachineInstr", "&", "I", ")", "const", "{", "assert", "(", "isFrameInstr", "(", "I", ")", ")", ";", "if", "(", "isFrameSetup", "(", "I", ")", ")", "return", "I", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "return", "I", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "stack", "pointer", "adjustment", "that", "happens", "inside", "the", "frame", "setup", "..", "destroy", "sequence", "(", "e.g", "."], "TS_V_token": ["X86", "2", "1"], "File": "X86InstrInfo (2)2", "Func": "getFrameAdjustment", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2413, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "yaml", "::", "MachineFunctionInfo", "*", "AArch64TargetMachine", "::", "convertFuncInfoToYAML", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "auto", "*", "MFI", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "return", "new", "yaml", "::", "AArch64FunctionInfo", "(", "*", "MFI", ")", ";", "}", ""], "natrual_language": ["Allocate", "and", "initialize", "an", "instance", "of", "the", "YAML", "representation", "of", "the", "MachineFunctionInfo", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine1", "Func": "convertFuncInfoToYAML", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2414, "Length": 40, "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", "(", ")", ";", "return", "(", "MFI", "->", "hasCalls", "(", ")", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", "||", "MFI", "->", "isFrameAddressTaken", "(", ")", "||", "MFI", "->", "hasStackMap", "(", ")", "||", "MFI", "->", "hasPatchPoint", "(", ")", "||", "RegInfo", "->", "needsStackRealignment", "(", "MF", ")", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64FrameLowering (2)", "Func": "hasFP", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2415, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TTI", "::", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ")", "const", "{", "std", "::", "pair", "<", "unsigned", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "Ty", ")", ";", "int", "ISD", "=", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", ";", "assert", "(", "ISD", "&&", "\"Invalid opcode\"", ")", ";", "static", "const", "X86CostTblEntry", "AVX1CostTable", "[", "]", "=", "{", "{", "ISD", "::", "MUL", ",", "MVT", "::", "v8i32", ",", "4", "}", ",", "{", "ISD", "::", "SUB", ",", "MVT", "::", "v8i32", ",", "4", "}", ",", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v8i32", ",", "4", "}", ",", "{", "ISD", "::", "MUL", ",", "MVT", "::", "v4i64", ",", "4", "}", ",", "{", "ISD", "::", "SUB", ",", "MVT", "::", "v4i64", ",", "4", "}", ",", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v4i64", ",", "4", "}", ",", "}", ";", "if", "(", "ST", "->", "hasAVX", "(", ")", ")", "{", "int", "Idx", "=", "FindInTable", "(", "AVX1CostTable", ",", "array_lengthof", "(", "AVX1CostTable", ")", ",", "ISD", ",", "LT", ".", "second", ")", ";", "if", "(", "Idx", "!=", "-", "1", ")", "return", "LT", ".", "first", "*", "AVX1CostTable", "[", "Idx", "]", ".", "Cost", ";", "}", "return", "TargetTransformInfo", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ")", ";", "}", ""], "natrual_language": ["This", "is", "an", "approximation", "of", "reciprocal", "throughput", "of", "a", "math/logic", "op", "."], "TS_V_token": ["X86", "X86", "\"Invalid opcode\"", "X86", "ISD::MUL", "MVT::v8i32", "4", "ISD::SUB", "MVT::v8i32", "4", "ISD::ADD", "MVT::v8i32", "4", "ISD::MUL", "MVT::v4i64", "4", "ISD::SUB", "MVT::v4i64", "4", "ISD::ADD", "MVT::v4i64", "4", "1"], "File": "X86TargetTransformInfo41", "Func": "getArithmeticInstrCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2416, "Length": 189, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86Subtarget", "::", "X86Subtarget", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "X86TargetMachine", "&", "TM", ",", "unsigned", "StackAlignOverride", ")", ":", "X86GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "X86ProcFamily", "(", "Others", ")", ",", "PICStyle", "(", "PICStyles", "::", "None", ")", ",", "TM", "(", "TM", ")", ",", "TargetTriple", "(", "TT", ")", ",", "StackAlignOverride", "(", "StackAlignOverride", ")", ",", "In64BitMode", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", ",", "In32BitMode", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "x86", "&&", "TargetTriple", ".", "getEnvironment", "(", ")", "!=", "Triple", "::", "CODE16", ")", ",", "In16BitMode", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "x86", "&&", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "CODE16", ")", ",", "TSInfo", "(", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ")", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", ",", "FrameLowering", "(", "*", "this", ",", "getStackAlignment", "(", ")", ")", "{", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", "{", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "is64Bit", "(", ")", ")", "{", "setPICStyle", "(", "PICStyles", "::", "RIPRel", ")", ";", "}", "else", "if", "(", "isTargetCOFF", "(", ")", ")", "{", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "setPICStyle", "(", "PICStyles", "::", "StubPIC", ")", ";", "else", "{", "assert", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "DynamicNoPIC", ")", ";", "setPICStyle", "(", "PICStyles", "::", "StubDynamicNoPIC", ")", ";", "}", "}", "else", "if", "(", "isTargetELF", "(", ")", ")", "{", "setPICStyle", "(", "PICStyles", "::", "GOT", ")", ";", "}", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86Subtarget64", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2417, "Length": 272, "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", "::", "tGPRRegClass", "||", "(", "Register", "::", "isPhysicalRegister", "(", "SrcReg", ")", "&&", "isARMLowRegister", "(", "SrcReg", ")", ")", ")", "&&", "\"Unknown regclass!\"", ")", ";", "if", "(", "RC", "==", "&", "ARM", "::", "tGPRRegClass", "||", "(", "Register", "::", "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", "(", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tSTRspi", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "}", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM::tGPRRegClass", "ARM", "\"Unknown regclass!\"", "ARM::tGPRRegClass", "ARM", "ARM::tSTRspi", "0", "ARMCC::AL"], "File": "Thumb1InstrInfo25", "Func": "storeRegToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2418, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "DCPU16RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "Reserved", ".", "set", "(", "DCPU16", "::", "EX", ")", ";", "Reserved", ".", "set", "(", "DCPU16", "::", "SP", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "DCPU16", "::", "J", ")", ";", "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": ["Dcpu16", "DCPU16", "DCPU16::EX", "DCPU16::SP", "DCPU16::J"], "File": "Dcpu16RegisterInfo", "Func": "getReservedRegs", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2419, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Mips OptimizePICCall\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"Mips OptimizePICCall\""], "File": "MipsOptimizePICCall", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2420, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_no_speculation_in_delay_slots_p", "(", ")", "{", "return", "TARGET_CB_MAYBE", ";", "}", ""], "natrual_language": ["Implement", "TARGET_NO_SPECULATION_IN_DELAY_SLOTS_P", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_no_speculation_in_delay_slots_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2421, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "n8_consumed_by_addr_in_p", "(", "rtx_insn", "*", "consumer", ",", "rtx", "def_reg", ")", "{", "rtx", "use_rtx", ";", "switch", "(", "get_attr_type", "(", "consumer", ")", ")", "{", "case", "TYPE_BRANCH", ":", "use_rtx", "=", "extract_branch_target_rtx", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_LOAD", ":", "if", "(", "load_single_p", "(", "consumer", ")", ")", "use_rtx", "=", "extract_mem_rtx", "(", "consumer", ")", ";", "else", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_STORE", ":", "if", "(", "store_single_p", "(", "consumer", ")", "&&", "(", "!", "post_update_insn_p", "(", "consumer", ")", "||", "immed_offset_p", "(", "extract_mem_rtx", "(", "consumer", ")", ")", ")", ")", "use_rtx", "=", "extract_mem_rtx", "(", "consumer", ")", ";", "else", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_LOAD_MULTIPLE", ":", "case", "TYPE_STORE_MULTIPLE", ":", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "reg_overlap_p", "(", "def_reg", ",", "use_rtx", ")", ";", "}", ""], "natrual_language": ["Check", "the", "dependency", "between", "the", "producer", "defining", "DEF_REG", "and", "CONSUMER", "requiring", "input", "operand", "at", "AG", "(", "II", ")", "."], "TS_V_token": ["nds32"], "File": "nds32-pipelines-auxiliary", "Func": "n8_consumed_by_addr_in_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2422, "Length": 135, "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": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_lra_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2423, "Length": 11, "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": ["i386", "1", "\"selector must be an integer constant in the range 0..%wi\"", "0"], "File": "i3864", "Func": "get_element_number", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2424, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64BranchTargets", "::", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64BranchTargets", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2425, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "BuildSDIVPow2", "(", "SDNode", "*", "N", ",", "const", "APInt", "&", "Divisor", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDNode", "*", ">", "&", "Created", ")", "const", "{", "EVT", "VT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "if", "(", "VT", "==", "MVT", "::", "i64", "&&", "!", "Subtarget", ".", "isPPC64", "(", ")", ")", "return", "SDValue", "(", ")", ";", "if", "(", "(", "VT", "!=", "MVT", "::", "i32", "&&", "VT", "!=", "MVT", "::", "i64", ")", "||", "!", "(", "Divisor", ".", "isPowerOf2", "(", ")", "||", "Divisor", ".", "isNegatedPowerOf2", "(", ")", ")", ")", "return", "SDValue", "(", ")", ";", "SDLoc", "DL", "(", "N", ")", ";", "SDValue", "N0", "=", "N", "->", "getOperand", "(", "0", ")", ";", "bool", "IsNegPow2", "=", "Divisor", ".", "isNegatedPowerOf2", "(", ")", ";", "unsigned", "Lg2", "=", "(", "IsNegPow2", "?", "-", "Divisor", ":", "Divisor", ")", ".", "countTrailingZeros", "(", ")", ";", "SDValue", "ShiftAmt", "=", "DAG", ".", "getConstant", "(", "Lg2", ",", "DL", ",", "VT", ")", ";", "SDValue", "Op", "=", "DAG", ".", "getNode", "(", "PPCISD", "::", "SRA_ADDZE", ",", "DL", ",", "VT", ",", "N0", ",", "ShiftAmt", ")", ";", "Created", ".", "push_back", "(", "Op", ".", "getNode", "(", ")", ")", ";", "if", "(", "IsNegPow2", ")", "{", "Op", "=", "DAG", ".", "getNode", "(", "ISD", "::", "SUB", ",", "DL", ",", "VT", ",", "DAG", ".", "getConstant", "(", "0", ",", "DL", ",", "VT", ")", ",", "Op", ")", ";", "Created", ".", "push_back", "(", "Op", ".", "getNode", "(", ")", ")", ";", "}", "return", "Op", ";", "}", ""], "natrual_language": ["Targets", "may", "override", "this", "function", "to", "provide", "custom", "SDIV", "lowering", "for", "power-of-2", "denominators", "."], "TS_V_token": ["PowerPC", "PPC", "0", "MVT::i64", "PPC", "MVT::i32", "MVT::i64", "0", "PPCISD::SRA_ADDZE", "ISD::SUB", "0"], "File": "PPCISelLowering11", "Func": "BuildSDIVPow2", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2426, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "arm_identify_fpu_from_isa", "(", "sbitmap", "isa", ")", "{", "auto_sbitmap", "fpubits", "(", "isa_num_bits", ")", ";", "auto_sbitmap", "cand_fpubits", "(", "isa_num_bits", ")", ";", "bitmap_and", "(", "fpubits", ",", "isa", ",", "isa_all_fpubits", ")", ";", "if", "(", "bitmap_empty_p", "(", "fpubits", ")", ")", "return", "\"softvfp\"", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "all_fpus", ")", ";", "i", "++", ")", "{", "arm_initialize_isa", "(", "cand_fpubits", ",", "all_fpus", "[", "i", "]", ".", "isa_bits", ")", ";", "if", "(", "bitmap_equal_p", "(", "fpubits", ",", "cand_fpubits", ")", ")", "return", "all_fpus", "[", "i", "]", ".", "name", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Match", "an", "ISA", "feature", "bitmap", "to", "a", "named", "FPU", ".", "We", "always", "use", "the", "first", "entry", "that", "exactly", "matches", "the", "feature", "set", ",", "so", "that", "we", "effectively", "canonicalize", "the", "FPU", "name", "for", "the", "assembler", "."], "TS_V_token": ["arm", "\"softvfp\"", "0"], "File": "arm6", "Func": "arm_identify_fpu_from_isa", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2427, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_legitimate_address_p", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "bool", "strict_p", ")", "{", "if", "(", "TARGET_ARM", ")", "return", "arm_legitimate_address_outer_p", "(", "mode", ",", "x", ",", "SET", ",", "strict_p", ")", ";", "else", "if", "(", "TARGET_THUMB2", ")", "return", "thumb2_legitimate_address_p", "(", "mode", ",", "x", ",", "strict_p", ")", ";", "else", "return", "thumb1_legitimate_address_p", "(", "mode", ",", "x", ",", "strict_p", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "X", "is", "a", "valid", "ARM", "state", "address", "operand", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_legitimate_address_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2428, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "d30v_init_expanders", "(", ")", "{", "init_machine_status", "=", "d30v_init_machine_status", ";", "mark_machine_status", "=", "d30v_mark_machine_status", ";", "free_machine_status", "=", "d30v_free_machine_status", ";", "}", ""], "natrual_language": ["Do", "anything", "needed", "before", "RTL", "is", "emitted", "for", "each", "function", "."], "TS_V_token": ["d30v"], "File": "d30v", "Func": "d30v_init_expanders", "Target": "d30v", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2429, "Length": 18, "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_store", ":", "case", "vector_stmt", ":", "case", "vector_store", ":", "case", "vec_to_scalar", ":", "case", "scalar_to_vec", ":", "case", "cond_branch_not_taken", ":", "return", "1", ";", "case", "scalar_load", ":", "case", "vector_load", ":", "return", "2", ";", "case", "vec_perm", ":", "if", "(", "TARGET_VSX", "&&", "rs6000_tune", "==", "PROCESSOR_POWER7", ")", "return", "3", ";", "else", "return", "1", ";", "case", "vec_promote_demote", ":", "if", "(", "TARGET_VSX", "&&", "rs6000_tune", "==", "PROCESSOR_POWER7", ")", "return", "4", ";", "else", "return", "1", ";", "case", "cond_branch_taken", ":", "return", "3", ";", "case", "unaligned_load", ":", "case", "vector_gather_load", ":", "if", "(", "TARGET_EFFICIENT_UNALIGNED_VSX", ")", "return", "2", ";", "if", "(", "TARGET_VSX", "&&", "TARGET_ALLOW_MOVMISALIGN", ")", "{", "elements", "=", "TYPE_VECTOR_SUBPARTS", "(", "vectype", ")", ";", "if", "(", "elements", "==", "2", "||", "elements", "==", "1", ")", "return", "4", ";", "if", "(", "elements", "==", "4", ")", "{", "switch", "(", "misalign", ")", "{", "case", "8", ":", "return", "4", ";", "case", "-", "1", ":", "case", "4", ":", "case", "12", ":", "return", "33", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "}", "if", "(", "TARGET_ALTIVEC", ")", "gcc_unreachable", "(", ")", ";", "return", "4", ";", "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", "||", "elements", "==", "1", ")", "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", "+", "5", ";", "}", "else", "return", "2", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.builtin_vectorization_cost", "."], "TS_V_token": ["rs6000", "1", "2", "3", "1", "4", "1", "3", "2", "2", "1", "4", "4", "8", "4", "1", "4", "12", "33", "4", "1", "2", "1", "2", "4", "8", "2", "1", "4", "12", "23", "2", "32", "5", "1", "2", "1", "5", "2"], "File": "rs6000", "Func": "rs6000_builtin_vectorization_cost", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2430, "Length": 357, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_expand_sse_round", "(", "const", "struct", "builtin_description", "*", "d", ",", "tree", "exp", ",", "rtx", "target", ")", "{", "rtx", "pat", ";", "tree", "arg0", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "rtx", "op1", ",", "op0", "=", "expand_normal", "(", "arg0", ")", ";", "machine_mode", "tmode", "=", "insn_data", "[", "d", "->", "icode", "]", ".", "operand", "[", "0", "]", ".", "mode", ";", "machine_mode", "mode0", "=", "insn_data", "[", "d", "->", "icode", "]", ".", "operand", "[", "1", "]", ".", "mode", ";", "if", "(", "optimize", "||", "target", "==", "0", "||", "GET_MODE", "(", "target", ")", "!=", "tmode", "||", "!", "insn_data", "[", "d", "->", "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", "[", "d", "->", "icode", "]", ".", "operand", "[", "0", "]", ".", "predicate", "(", "op0", ",", "mode0", ")", ")", "op0", "=", "copy_to_mode_reg", "(", "mode0", ",", "op0", ")", ";", "op1", "=", "GEN_INT", "(", "d", "->", "comparison", ")", ";", "pat", "=", "GEN_FCN", "(", "d", "->", "icode", ")", "(", "target", ",", "op0", ",", "op1", ")", ";", "if", "(", "!", "pat", ")", "return", "0", ";", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Subroutines", "of", "ix86_expand_args_builtin", "to", "take", "care", "of", "round", "insns", "."], "TS_V_token": ["i386", "0", "0", "1", "0", "0", "0", "0"], "File": "i386-expand", "Func": "ix86_expand_sse_round", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2431, "Length": 217, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCTTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ",", "OptimizationRemarkEmitter", "*", "ORE", ")", "{", "if", "(", "ST", "->", "getCPUDirective", "(", ")", "==", "PPC", "::", "DIR_A2", ")", "{", "UP", ".", "Partial", "=", "UP", ".", "Runtime", "=", "true", ";", "UP", ".", "AllowExpensiveTripCount", "=", "true", ";", "}", "BaseT", "::", "getUnrollingPreferences", "(", "L", ",", "SE", ",", "UP", ",", "ORE", ")", ";", "}", ""], "natrual_language": ["Get", "target-customized", "preferences", "for", "the", "generic", "loop", "unrolling", "transformation", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::DIR_A2"], "File": "PPCTargetTransformInfo1", "Func": "getUnrollingPreferences", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2432, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "sparc_promote_function_mode", "(", "const_tree", "type", ",", "machine_mode", "mode", ",", "int", "*", "punsignedp", ",", "const_tree", "fntype", "ATTRIBUTE_UNUSED", ",", "int", "for_return", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "type", "!=", "NULL_TREE", "&&", "POINTER_TYPE_P", "(", "type", ")", ")", "{", "*", "punsignedp", "=", "POINTERS_EXTEND_UNSIGNED", ";", "return", "Pmode", ";", "}", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_INT", "&&", "GET_MODE_SIZE", "(", "mode", ")", "<", "UNITS_PER_WORD", ")", "return", "word_mode", ";", "return", "mode", ";", "}", ""], "natrual_language": ["Handle", "promotion", "of", "pointer", "and", "integer", "arguments", "."], "TS_V_token": ["sparc"], "File": "sparc4", "Func": "sparc_promote_function_mode", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2433, "Length": 67, "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", ".", "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": "ARMBaseRegisterInfo23", "Func": "getCalleeSavedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2434, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "add_to_dispatch_window", "(", "rtx_insn", "*", "insn", ")", "{", "int", "byte_len", ";", "dispatch_windows", "*", "window_list", ";", "dispatch_windows", "*", "next_list", ";", "dispatch_windows", "*", "window0_list", ";", "enum", "insn_path", "path", ";", "enum", "dispatch_group", "insn_group", ";", "bool", "insn_fits", ";", "int", "num_insn", ";", "int", "num_uops", ";", "int", "window_num", ";", "int", "insn_num_uops", ";", "int", "sum", ";", "if", "(", "INSN_CODE", "(", "insn", ")", "<", "0", ")", "return", ";", "byte_len", "=", "min_insn_size", "(", "insn", ")", ";", "window_list", "=", "dispatch_window_list", ";", "next_list", "=", "window_list", "->", "next", ";", "path", "=", "get_insn_path", "(", "insn", ")", ";", "insn_group", "=", "get_insn_group", "(", "insn", ")", ";", "if", "(", "next_list", ")", "window_list", "=", "dispatch_window_list", "->", "next", ";", "if", "(", "path", "==", "path_single", ")", "insn_num_uops", "=", "1", ";", "else", "if", "(", "path", "==", "path_double", ")", "insn_num_uops", "=", "2", ";", "else", "insn_num_uops", "=", "(", "int", ")", "path", ";", "num_insn", "=", "window_list", "->", "num_insn", ";", "num_uops", "=", "window_list", "->", "num_uops", ";", "window_num", "=", "window_list", "->", "window_num", ";", "insn_fits", "=", "fits_dispatch_window", "(", "insn", ")", ";", "if", "(", "num_insn", ">=", "MAX_INSN", "||", "num_uops", "+", "insn_num_uops", ">", "MAX_INSN", "||", "!", "(", "insn_fits", ")", ")", "{", "window_num", "=", "~", "window_num", "&", "1", ";", "window_list", "=", "allocate_next_window", "(", "window_num", ")", ";", "}", "if", "(", "window_num", "==", "0", ")", "{", "add_insn_window", "(", "insn", ",", "window_list", ",", "insn_num_uops", ")", ";", "if", "(", "window_list", "->", "num_insn", ">=", "MAX_INSN", "&&", "insn_group", "==", "disp_branch", ")", "{", "process_end_window", "(", ")", ";", "return", ";", "}", "}", "else", "if", "(", "window_num", "==", "1", ")", "{", "window0_list", "=", "window_list", "->", "prev", ";", "sum", "=", "window0_list", "->", "window_size", "+", "window_list", "->", "window_size", ";", "if", "(", "sum", "==", "32", "||", "(", "byte_len", "+", "sum", ")", ">=", "48", ")", "{", "process_end_window", "(", ")", ";", "window_list", "=", "dispatch_window_list", ";", "}", "add_insn_window", "(", "insn", ",", "window_list", ",", "insn_num_uops", ")", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "if", "(", "is_end_basic_block", "(", "insn_group", ")", ")", "{", "process_end_window", "(", ")", ";", "return", ";", "}", "}", ""], "natrual_language": ["Adds", "a", "scheduled", "instruction", ",", "INSN", ",", "to", "the", "current", "dispatch", "window", ".", "If", "the", "total", "bytes", "of", "instructions", "or", "the", "number", "of", "instructions", "in", "the", "window", "exceed", "allowable", ",", "it", "allocates", "a", "new", "window", "."], "TS_V_token": ["i386", "0", "1", "2", "1", "0", "1", "32", "48"], "File": "i3864", "Func": "add_to_dispatch_window", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2435, "Length": 305, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsCallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "ArrayRef", "<", "Register", ">", "VRegs", ")", "const", "{", "MachineInstrBuilder", "Ret", "=", "MIRBuilder", ".", "buildInstrNoInsert", "(", "Mips", "::", "RetRA", ")", ";", "if", "(", "Val", "!=", "nullptr", "&&", "!", "isSupportedReturnType", "(", "Val", "->", "getType", "(", ")", ")", ")", "return", "false", ";", "if", "(", "!", "VRegs", ".", "empty", "(", ")", ")", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "const", "DataLayout", "&", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "const", "MipsTargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "MipsTargetLowering", ">", "(", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "RetInfos", ";", "SmallVector", "<", "unsigned", ",", "8", ">", "OrigArgIndices", ";", "ArgInfo", "ArgRetInfo", "(", "VRegs", ",", "Val", "->", "getType", "(", ")", ")", ";", "setArgFlags", "(", "ArgRetInfo", ",", "AttributeList", "::", "ReturnIndex", ",", "DL", ",", "F", ")", ";", "splitToValueTypes", "(", "DL", ",", "ArgRetInfo", ",", "0", ",", "RetInfos", ",", "OrigArgIndices", ")", ";", "SmallVector", "<", "ISD", "::", "OutputArg", ",", "8", ">", "Outs", ";", "subTargetRegTypeForCallingConv", "(", "F", ",", "RetInfos", ",", "OrigArgIndices", ",", "Outs", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "MipsCCState", "CCInfo", "(", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ",", "MF", ",", "ArgLocs", ",", "F", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "TLI", ".", "CCAssignFnForReturn", "(", ")", ")", ";", "setLocInfo", "(", "ArgLocs", ",", "Outs", ")", ";", "OutgoingValueHandler", "RetHandler", "(", "MIRBuilder", ",", "MF", ".", "getRegInfo", "(", ")", ",", "Ret", ")", ";", "if", "(", "!", "RetHandler", ".", "handle", "(", "ArgLocs", ",", "RetInfos", ")", ")", "{", "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": ["Mips", "Mips", "Mips::RetRA", "Mips", "Mips", "8", "8", "0", "ISD::OutputArg", "8", "16", "Mips"], "File": "MipsCallLowering11", "Func": "lowerReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2436, "Length": 280, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "DLXMCCodeEmitter", "::", "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", ">", "(", "DLX", "::", "FIXUP_DLX_25", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "."], "TS_V_token": ["DLX", "DLX", "0", "DLX::FIXUP_DLX_25", "0"], "File": "DLXMCCodeEmitter", "Func": "getBranchTargetOpValue", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2437, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "TargetRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["OpenRISC"], "File": "OpenRISCTargetMachine", "Func": "getRegisterInfo", "Target": "OpenRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2438, "Length": 18, "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", ";", "return", "Match_InvalidOperand", ";", "}", "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": "AArch64AsmParser47", "Func": "validateTargetOperandClass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2439, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_expand_mov_immediate", "(", "rtx", "dest", ",", "rtx", "imm", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "gcc_assert", "(", "mode", "==", "SImode", "||", "mode", "==", "DImode", ")", ";", "if", "(", "GET_CODE", "(", "imm", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "imm", ")", "==", "LABEL_REF", "||", "GET_CODE", "(", "imm", ")", "==", "CONST", ")", "{", "rtx", "mem", ",", "base", ",", "offset", ";", "enum", "aarch64_symbol_type", "sty", ";", "split_const", "(", "imm", ",", "&", "base", ",", "&", "offset", ")", ";", "sty", "=", "aarch64_classify_symbol", "(", "base", ",", "offset", ",", "SYMBOL_CONTEXT_ADR", ")", ";", "switch", "(", "sty", ")", "{", "case", "SYMBOL_FORCE_TO_MEM", ":", "if", "(", "offset", "!=", "const0_rtx", "&&", "targetm", ".", "cannot_force_const_mem", "(", "mode", ",", "imm", ")", ")", "{", "gcc_assert", "(", "can_create_pseudo_p", "(", ")", ")", ";", "base", "=", "aarch64_force_temporary", "(", "mode", ",", "dest", ",", "base", ")", ";", "base", "=", "aarch64_add_offset", "(", "mode", ",", "NULL", ",", "base", ",", "INTVAL", "(", "offset", ")", ")", ";", "aarch64_emit_move", "(", "dest", ",", "base", ")", ";", "return", ";", "}", "mem", "=", "force_const_mem", "(", "ptr_mode", ",", "imm", ")", ";", "gcc_assert", "(", "mem", ")", ";", "if", "(", "mode", "!=", "ptr_mode", ")", "mem", "=", "gen_rtx_ZERO_EXTEND", "(", "mode", ",", "mem", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "mem", ")", ")", ";", "return", ";", "case", "SYMBOL_SMALL_TLSGD", ":", "case", "SYMBOL_SMALL_TLSDESC", ":", "case", "SYMBOL_SMALL_GOTTPREL", ":", "case", "SYMBOL_SMALL_GOT", ":", "case", "SYMBOL_TINY_GOT", ":", "if", "(", "offset", "!=", "const0_rtx", ")", "{", "gcc_assert", "(", "can_create_pseudo_p", "(", ")", ")", ";", "base", "=", "aarch64_force_temporary", "(", "mode", ",", "dest", ",", "base", ")", ";", "base", "=", "aarch64_add_offset", "(", "mode", ",", "NULL", ",", "base", ",", "INTVAL", "(", "offset", ")", ")", ";", "aarch64_emit_move", "(", "dest", ",", "base", ")", ";", "return", ";", "}", "case", "SYMBOL_SMALL_TPREL", ":", "case", "SYMBOL_SMALL_ABSOLUTE", ":", "case", "SYMBOL_TINY_ABSOLUTE", ":", "aarch64_load_symref_appropriately", "(", "dest", ",", "imm", ",", "sty", ")", ";", "return", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "if", "(", "!", "CONST_INT_P", "(", "imm", ")", ")", "{", "if", "(", "GET_CODE", "(", "imm", ")", "==", "HIGH", ")", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "imm", ")", ")", ";", "else", "{", "rtx", "mem", "=", "force_const_mem", "(", "mode", ",", "imm", ")", ";", "gcc_assert", "(", "mem", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "mem", ")", ")", ";", "}", "return", ";", "}", "aarch64_internal_mov_immediate", "(", "dest", ",", "imm", ",", "true", ",", "GET_MODE", "(", "dest", ")", ")", ";", "}", ""], "natrual_language": ["Set", "DEST", "to", "immediate", "IMM", ".", "For", "SVE", "vector", "modes", ",", "GEN_VEC_DUPLICATE", "is", "a", "pattern", "that", "can", "be", "used", "to", "set", "DEST", "to", "a", "replicated", "scalar", "element", "."], "TS_V_token": ["aarch64"], "File": "aarch642", "Func": "aarch64_expand_mov_immediate", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2440, "Length": 369, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_emit_post_barrier", "(", "enum", "memmodel", "model", ")", "{", "const", "enum", "memmodel", "base_model", "=", "memmodel_base", "(", "model", ")", ";", "if", "(", "is_mm_sync", "(", "model", ")", "&&", "(", "base_model", "==", "MEMMODEL_ACQUIRE", "||", "base_model", "==", "MEMMODEL_ACQ_REL", "||", "base_model", "==", "MEMMODEL_SEQ_CST", ")", ")", "{", "emit_insn", "(", "gen_mem_thread_fence", "(", "GEN_INT", "(", "MEMMODEL_SEQ_CST", ")", ")", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "a", "barrier", ",", "that", "is", "appropriate", "for", "memory", "model", "MODEL", ",", "at", "the", "end", "of", "a", "sequence", "implementing", "an", "atomic", "operation", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_emit_post_barrier", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2441, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "fixIMPLICITDEF", "(", "MF", ")", ";", "fixNoReturn", "(", "MF", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86"], "File": "SgxMCPasses", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2442, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsInstrInfo", "::", "SafeInLoadDelaySlot", "(", "const", "MachineInstr", "&", "MIInSlot", ",", "const", "MachineInstr", "&", "LoadMI", ")", "const", "{", "if", "(", "MIInSlot", ".", "isInlineAsm", "(", ")", ")", "return", "false", ";", "return", "!", "llvm", "::", "any_of", "(", "LoadMI", ".", "defs", "(", ")", ",", "[", "&", "]", "(", "const", "MachineOperand", "&", "Op", ")", "{", "return", "Op", ".", "isReg", "(", ")", "&&", "MIInSlot", ".", "readsRegister", "(", "Op", ".", "getReg", "(", ")", ")", ";", "}", ")", ";", "}", ""], "natrual_language": ["Predicate", "to", "determine", "if", "an", "instruction", "can", "go", "in", "a", "load", "delay", "slot", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsInstrInfo29", "Func": "SafeInLoadDelaySlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2443, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pru_function_arg_regi_mark_slot", "(", "int", "regi", ",", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "HOST_WIDE_INT", "param_size", "=", "pru_function_arg_size", "(", "mode", ",", "type", ")", ";", "gcc_assert", "(", "named", ")", ";", "while", "(", "param_size", "--", ")", "{", "gcc_assert", "(", "regi", ">=", "FIRST_ARG_REGNUM", "&&", "regi", "<=", "LAST_ARG_REGNUM", ")", ";", "gcc_assert", "(", "!", "cum", "->", "regs_used", "[", "regi", "-", "FIRST_ARG_REGNUM", "]", ")", ";", "cum", "->", "regs_used", "[", "regi", "-", "FIRST_ARG_REGNUM", "]", "=", "true", ";", "regi", "++", ";", "}", "}", ""], "natrual_language": ["Mark", "CUM_V", "that", "a", "function", "argument", "will", "occupy", "HW", "register", "slot", "starting", "at", "REGI", ".", "The", "number", "of", "consecutive", "8-bit", "HW", "registers", "marked", "as", "occupied", "depends", "on", "the", "MODE", "and", "TYPE", "of", "the", "argument", "."], "TS_V_token": ["pru"], "File": "pru", "Func": "pru_function_arg_regi_mark_slot", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2444, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_avoid_jump_mispredicts", "(", "void", ")", "{", "rtx_insn", "*", "insn", ",", "*", "start", "=", "get_insns", "(", ")", ";", "int", "nbytes", "=", "0", ",", "njumps", "=", "0", ";", "bool", "isjump", "=", "false", ";", "for", "(", "insn", "=", "start", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "int", "min_size", ";", "if", "(", "LABEL_P", "(", "insn", ")", ")", "{", "align_flags", "alignment", "=", "label_to_alignment", "(", "insn", ")", ";", "int", "align", "=", "alignment", ".", "levels", "[", "0", "]", ".", "log", ";", "int", "max_skip", "=", "alignment", ".", "levels", "[", "0", "]", ".", "maxskip", ";", "if", "(", "max_skip", ">", "15", ")", "max_skip", "=", "15", ";", "if", "(", "align", "<=", "0", "||", "(", "align", "<=", "3", "&&", "max_skip", "!=", "(", "1", "<<", "align", ")", "-", "1", ")", ")", "max_skip", "=", "0", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Label %i with max_skip %i\\n\"", ",", "INSN_UID", "(", "insn", ")", ",", "max_skip", ")", ";", "if", "(", "max_skip", ")", "{", "while", "(", "nbytes", "+", "max_skip", ">=", "16", ")", "{", "start", "=", "NEXT_INSN", "(", "start", ")", ";", "if", "(", "(", "JUMP_P", "(", "start", ")", "&&", "asm_noperands", "(", "PATTERN", "(", "start", ")", ")", "<", "0", ")", "||", "CALL_P", "(", "start", ")", ")", "njumps", "--", ",", "isjump", "=", "true", ";", "else", "isjump", "=", "false", ";", "nbytes", "-=", "ix86_min_insn_size", "(", "start", ")", ";", "}", "}", "continue", ";", "}", "min_size", "=", "ix86_min_insn_size", "(", "insn", ")", ";", "nbytes", "+=", "min_size", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Insn %i estimated to %i bytes\\n\"", ",", "INSN_UID", "(", "insn", ")", ",", "min_size", ")", ";", "if", "(", "(", "JUMP_P", "(", "insn", ")", "&&", "asm_noperands", "(", "PATTERN", "(", "insn", ")", ")", "<", "0", ")", "||", "CALL_P", "(", "insn", ")", ")", "njumps", "++", ";", "else", "continue", ";", "while", "(", "njumps", ">", "3", ")", "{", "start", "=", "NEXT_INSN", "(", "start", ")", ";", "if", "(", "(", "JUMP_P", "(", "start", ")", "&&", "asm_noperands", "(", "PATTERN", "(", "start", ")", ")", "<", "0", ")", "||", "CALL_P", "(", "start", ")", ")", "njumps", "--", ",", "isjump", "=", "true", ";", "else", "isjump", "=", "false", ";", "nbytes", "-=", "ix86_min_insn_size", "(", "start", ")", ";", "}", "gcc_assert", "(", "njumps", ">=", "0", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Interval %i to %i has %i bytes\\n\"", ",", "INSN_UID", "(", "start", ")", ",", "INSN_UID", "(", "insn", ")", ",", "nbytes", ")", ";", "if", "(", "njumps", "==", "3", "&&", "isjump", "&&", "nbytes", "<", "16", ")", "{", "int", "padsize", "=", "15", "-", "nbytes", "+", "ix86_min_insn_size", "(", "insn", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Padding insn %i by %i bytes!\\n\"", ",", "INSN_UID", "(", "insn", ")", ",", "padsize", ")", ";", "emit_insn_before", "(", "gen_pad", "(", "GEN_INT", "(", "padsize", ")", ")", ",", "insn", ")", ";", "}", "}", "}", ""], "natrual_language": ["AMD", "K8", "core", "mispredicts", "jumps", "when", "there", "are", "more", "than", "3", "jumps", "in", "16", "byte", "window", "."], "TS_V_token": ["i386", "0", "0", "0", "0", "15", "15", "0", "3", "1", "1", "0", "\"Label %i with max_skip %i\\n\"", "16", "0", "\"Insn %i estimated to %i bytes\\n\"", "0", "3", "0", "0", "\"Interval %i to %i has %i bytes\\n\"", "3", "16", "15", "\"Padding insn %i by %i bytes!\\n\""], "File": "i386", "Func": "ix86_avoid_jump_mispredicts", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2445, "Length": 420, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "recombine_lvx_pattern", "(", "rtx_insn", "*", "insn", ",", "del_info", "*", "to_delete", ")", "{", "rtx", "body", "=", "PATTERN", "(", "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", "mem", "=", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ";", "rtx", "base_reg", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "auto_vec", "<", "rtx_insn", "*", ">", "and_insns", ";", "auto_vec", "<", "rtx", ">", "and_ops", ";", "bool", "is_any_def_and", "=", "find_alignment_op", "(", "insn", ",", "base_reg", ",", "&", "and_insns", ",", "&", "and_ops", ")", ";", "if", "(", "is_any_def_and", ")", "{", "gcc_assert", "(", "and_insns", ".", "length", "(", ")", "==", "and_ops", ".", "length", "(", ")", ")", ";", "df_ref", "def", ";", "struct", "df_insn_info", "*", "insn_info", "=", "DF_INSN_INFO_GET", "(", "insn", ")", ";", "FOR_EACH_INSN_INFO_DEF", "(", "def", ",", "insn_info", ")", "{", "struct", "df_link", "*", "link", "=", "DF_REF_CHAIN", "(", "def", ")", ";", "if", "(", "!", "link", "||", "link", "->", "next", ")", "break", ";", "rtx_insn", "*", "swap_insn", "=", "DF_REF_INSN", "(", "link", "->", "ref", ")", ";", "if", "(", "!", "insn_is_swap_p", "(", "swap_insn", ")", "||", "insn_is_load_p", "(", "swap_insn", ")", "||", "insn_is_store_p", "(", "swap_insn", ")", ")", "break", ";", "to_delete", "[", "INSN_UID", "(", "swap_insn", ")", "]", ".", "replace", "=", "true", ";", "to_delete", "[", "INSN_UID", "(", "swap_insn", ")", "]", ".", "replace_insn", "=", "swap_insn", ";", "rtx", "new_reg", "=", "0", ";", "rtx", "and_mask", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "and_insns", ".", "length", "(", ")", ";", "i", "++", ")", "{", "rtx_insn", "*", "and_insn", "=", "and_insns", "[", "i", "]", ";", "rtx", "and_op", "=", "and_ops", "[", "i", "]", ";", "rtx", "and_base", "=", "XEXP", "(", "and_op", ",", "0", ")", ";", "if", "(", "!", "new_reg", ")", "{", "new_reg", "=", "gen_reg_rtx", "(", "GET_MODE", "(", "and_base", ")", ")", ";", "and_mask", "=", "XEXP", "(", "and_op", ",", "1", ")", ";", "}", "rtx", "copy", "=", "gen_rtx_SET", "(", "new_reg", ",", "and_base", ")", ";", "rtx_insn", "*", "new_insn", "=", "emit_insn_after", "(", "copy", ",", "and_insn", ")", ";", "set_block_for_insn", "(", "new_insn", ",", "BLOCK_FOR_INSN", "(", "and_insn", ")", ")", ";", "df_insn_rescan", "(", "new_insn", ")", ";", "}", "XEXP", "(", "mem", ",", "0", ")", "=", "gen_rtx_AND", "(", "GET_MODE", "(", "new_reg", ")", ",", "new_reg", ",", "and_mask", ")", ";", "SET_SRC", "(", "body", ")", "=", "mem", ";", "INSN_CODE", "(", "insn", ")", "=", "-", "1", ";", "df_insn_rescan", "(", "insn", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"lvx opportunity found at %d\\n\"", ",", "INSN_UID", "(", "insn", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["If", "INSN", "is", "the", "load", "for", "an", "lvx", "pattern", ",", "put", "it", "in", "canonical", "form", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "0", "0", "0", "1", "0", "1", "\"lvx opportunity found at %d\\n\""], "File": "rs6000-p8swap", "Func": "recombine_lvx_pattern", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2446, "Length": 406, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips16e_collect_argument_save_p", "(", "rtx", "dest", ",", "rtx", "src", ",", "rtx", "*", "reg_values", ",", "unsigned", "int", "*", "regno_ptr", ")", "{", "unsigned", "int", "argno", ",", "regno", ";", "HOST_WIDE_INT", "offset", ",", "required_offset", ";", "rtx", "addr", ",", "base", ";", "if", "(", "!", "MEM_P", "(", "dest", ")", "||", "!", "REG_P", "(", "src", ")", "||", "GET_MODE", "(", "dest", ")", "!=", "word_mode", ")", "return", "false", ";", "regno", "=", "REGNO", "(", "src", ")", ";", "if", "(", "!", "IN_RANGE", "(", "regno", ",", "GP_ARG_FIRST", ",", "GP_ARG_LAST", ")", "||", "reg_values", "[", "regno", "]", ")", "return", "false", ";", "argno", "=", "regno", "-", "GP_ARG_FIRST", ";", "addr", "=", "mips16e_collect_propagate_value", "(", "XEXP", "(", "dest", ",", "0", ")", ",", "reg_values", ")", ";", "mips_split_plus", "(", "addr", ",", "&", "base", ",", "&", "offset", ")", ";", "required_offset", "=", "cfun", "->", "machine", "->", "frame", ".", "total_size", "+", "argno", "*", "UNITS_PER_WORD", ";", "if", "(", "base", "==", "hard_frame_pointer_rtx", ")", "required_offset", "-=", "cfun", "->", "machine", "->", "frame", ".", "hard_frame_pointer_offset", ";", "else", "if", "(", "base", "!=", "stack_pointer_rtx", ")", "return", "false", ";", "if", "(", "offset", "!=", "required_offset", ")", "return", "false", ";", "*", "regno_ptr", "=", "regno", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "(", "set", "DEST", "SRC", ")", "stores", "an", "argument", "register", "into", "its", "caller-allocated", "save", "slot", ",", "storing", "the", "number", "of", "that", "argument", "register", "in", "*", "REGNO_PTR", "if", "so", ".", "REG_VALUES", "is", "as", "for", "mips16e_collect_propagate_value", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips16e_collect_argument_save_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2447, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mflip_mips16_use_mips16_p", "(", "tree", "decl", ")", "{", "const", "char", "*", "name", ";", "bool", "base_is_mips16", "=", "(", "mips_base_compression_flags", "&", "MASK_MIPS16", ")", "!=", "0", ";", "if", "(", "!", "DECL_NAME", "(", "decl", ")", ")", "return", "!", "base_is_mips16", ";", "if", "(", "!", "mflip_mips16_htab", ")", "mflip_mips16_htab", "=", "hash_map", "<", "const", "char", "*", ",", "bool", ",", "mips16_flip_traits", ">", "::", "create_ggc", "(", "37", ")", ";", "name", "=", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "decl", ")", ")", ";", "bool", "existed", ";", "bool", "*", "slot", "=", "&", "mflip_mips16_htab", "->", "get_or_insert", "(", "name", ",", "&", "existed", ")", ";", "if", "(", "!", "existed", ")", "{", "mips16_flipper", "=", "!", "mips16_flipper", ";", "*", "slot", "=", "mips16_flipper", "?", "!", "base_is_mips16", ":", "base_is_mips16", ";", "}", "return", "*", "slot", ";", "}", ""], "natrual_language": ["DECL", "is", "a", "function", "that", "needs", "a", "default", "``", "mips16", "''", "or", "``", "nomips16", "''", "attribute", "for", "-mflip-mips16", ".", "Return", "true", "if", "it", "should", "use", "``", "mips16", "''", "and", "false", "if", "it", "should", "use", "``", "nomips16", "''", "."], "TS_V_token": ["mips", "0", "37"], "File": "mips4", "Func": "mflip_mips16_use_mips16_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2448, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rs6000_builtin_decl", "(", "unsigned", "code", ",", "bool", "initialize_p", "ATTRIBUTE_UNUSED", ")", "{", "HOST_WIDE_INT", "fnmask", ";", "if", "(", "code", ">=", "RS6000_BUILTIN_COUNT", ")", "return", "error_mark_node", ";", "fnmask", "=", "rs6000_builtin_info", "[", "code", "]", ".", "mask", ";", "if", "(", "(", "fnmask", "&", "rs6000_builtin_mask", ")", "!=", "fnmask", ")", "{", "rs6000_invalid_builtin", "(", "(", "enum", "rs6000_builtins", ")", "code", ")", ";", "return", "error_mark_node", ";", "}", "return", "rs6000_builtin_decls", "[", "code", "]", ";", "}", ""], "natrual_language": ["Returns", "the", "rs6000", "builtin", "decl", "for", "CODE", "."], "TS_V_token": ["rs6000"], "File": "rs60004", "Func": "rs6000_builtin_decl", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2449, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZELFFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineFrameInfo", "&", "MFFrame", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "SystemZMachineFunctionInfo", "*", "ZFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "MachineRegisterInfo", "*", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "bool", "BackChain", "=", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"backchain\"", ")", ";", "if", "(", "!", "usePackedStack", "(", "MF", ")", "||", "BackChain", ")", "getOrCreateFramePointerSaveIndex", "(", "MF", ")", ";", "uint64_t", "StackSize", "=", "(", "MFFrame", ".", "estimateStackSize", "(", "MF", ")", "+", "SystemZMC", "::", "ELFCallFrameSize", ")", ";", "int64_t", "MaxArgOffset", "=", "0", ";", "for", "(", "int", "I", "=", "MFFrame", ".", "getObjectIndexBegin", "(", ")", ";", "I", "!=", "0", ";", "++", "I", ")", "if", "(", "MFFrame", ".", "getObjectOffset", "(", "I", ")", ">=", "0", ")", "{", "int64_t", "ArgOffset", "=", "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", ",", "Align", "(", "8", ")", ",", "false", ")", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "MFFrame", ".", "CreateStackObject", "(", "8", ",", "Align", "(", "8", ")", ",", "false", ")", ")", ";", "}", "if", "(", "MF", ".", "front", "(", ")", ".", "isLiveIn", "(", "SystemZ", "::", "R6D", ")", "&&", "ZFI", "->", "getRestoreGPRRegs", "(", ")", ".", "LowGPR", "!=", "SystemZ", "::", "R6D", ")", "for", "(", "auto", "&", "MO", ":", "MRI", "->", "use_nodbg_operands", "(", "SystemZ", "::", "R6D", ")", ")", "MO", ".", "setIsKill", "(", "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", "SystemZ", "SystemZ", "\"backchain\"", "SystemZMC::ELFCallFrameSize", "0", "0", "0", "12", "8", "8", "8", "8", "SystemZ::R6D", "SystemZ::R6D", "SystemZ::R6D"], "File": "SystemZFrameLowering10", "Func": "processFunctionBeforeFrameFinalized", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2450, "Length": 266, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "type_suffix_index", "function_resolver", "::", "infer_pointer_type", "(", "unsigned", "int", "argno", ",", "bool", "gather_scatter_p", ")", "{", "tree", "actual", "=", "get_argument_type", "(", "argno", ")", ";", "if", "(", "actual", "==", "error_mark_node", ")", "return", "NUM_TYPE_SUFFIXES", ";", "if", "(", "TREE_CODE", "(", "actual", ")", "!=", "POINTER_TYPE", ")", "{", "error_at", "(", "location", ",", "\"passing %qT to argument %d of %qE, which\"", "\" expects a pointer type\"", ",", "actual", ",", "argno", "+", "1", ",", "fndecl", ")", ";", "if", "(", "VECTOR_TYPE_P", "(", "actual", ")", "&&", "gather_scatter_p", ")", "inform", "(", "location", ",", "\"an explicit type suffix is needed\"", "\" when using a vector of base addresses\"", ")", ";", "return", "NUM_TYPE_SUFFIXES", ";", "}", "tree", "target", "=", "TREE_TYPE", "(", "actual", ")", ";", "type_suffix_index", "type", "=", "find_type_suffix_for_scalar_type", "(", "target", ")", ";", "if", "(", "type", "==", "NUM_TYPE_SUFFIXES", ")", "{", "error_at", "(", "location", ",", "\"passing %qT to argument %d of %qE, but %qT is not\"", "\" a valid SVE element type\"", ",", "actual", ",", "argno", "+", "1", ",", "fndecl", ",", "build_qualified_type", "(", "target", ",", "0", ")", ")", ";", "return", "NUM_TYPE_SUFFIXES", ";", "}", "unsigned", "int", "bits", "=", "type_suffixes", "[", "type", "]", ".", "element_bits", ";", "if", "(", "gather_scatter_p", "&&", "bits", "!=", "32", "&&", "bits", "!=", "64", ")", "{", "error_at", "(", "location", ",", "\"passing %qT to argument %d of %qE, which\"", "\" expects a pointer to 32-bit or 64-bit elements\"", ",", "actual", ",", "argno", "+", "1", ",", "fndecl", ")", ";", "return", "NUM_TYPE_SUFFIXES", ";", "}", "return", "type", ";", "}", ""], "natrual_language": ["Require", "argument", "ARGNO", "to", "be", "a", "pointer", "to", "a", "scalar", "type", "that", "has", "a", "corresponding", "type", "suffix", ".", "Return", "that", "type", "suffix", "on", "success", ",", "otherwise", "report", "an", "error", "and", "return", "NUM_TYPE_SUFFIXES", ".", "GATHER_SCATTER_P", "is", "true", "if", "the", "function", "is", "a", "gather/scatter", "operation", ",", "and", "so", "requires", "a", "pointer", "to", "32-bit", "or", "64-bit", "data", "."], "TS_V_token": ["aarch64", "\"passing %qT to argument %d of %qE, which\"", "\" expects a pointer type\"", "1", "\"an explicit type suffix is needed\"", "\" when using a vector of base addresses\"", "\"passing %qT to argument %d of %qE, but %qT is not\"", "\" a valid SVE element type\"", "1", "0", "32", "64", "\"passing %qT to argument %d of %qE, which\"", "\" expects a pointer to 32-bit or 64-bit elements\"", "1"], "File": "aarch64-sve-builtins", "Func": "infer_pointer_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2451, "Length": 175, "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", "::", "GPRPair_with_gsub_1_in_GPRwithAPSRnospRegClass", ")", ";", "}", "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::GPRPair_with_gsub_1_in_GPRwithAPSRnospRegClass", "ARM::t2STRDi8", "ARM::gsub_0", "ARM::gsub_1", "0", "0", "ARMCC::AL", "ARM"], "File": "Thumb2InstrInfo67", "Func": "storeRegToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2452, "Length": 327, "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", "(", "\"fixupNeedsRelaxation() unimplemented\"", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["Sparc", "\"fixupNeedsRelaxation() unimplemented\""], "File": "SparcAsmBackend", "Func": "fixupNeedsRelaxation", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2453, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineTraceMetrics", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineTraceMetrics", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AArch64"], "File": "AArch64StorePairSuppress1", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2454, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "umips_build_save_restore", "(", "mips_save_restore_fn", "fn", ",", "unsigned", "*", "mask", ",", "HOST_WIDE_INT", "*", "offset", ")", "{", "int", "nregs", ";", "unsigned", "int", "i", ",", "j", ";", "rtx", "pattern", ",", "set", ",", "reg", ",", "mem", ";", "HOST_WIDE_INT", "this_offset", ";", "rtx", "this_base", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "umips_swm_mask", ")", ";", "i", "++", ")", "if", "(", "(", "*", "mask", "&", "0xffff0000", ")", "==", "umips_swm_mask", "[", "i", "]", ")", "break", ";", "if", "(", "i", "==", "ARRAY_SIZE", "(", "umips_swm_mask", ")", ")", "return", "false", ";", "nregs", "=", "(", "umips_swm_encoding", "[", "i", "]", "&", "0xf", ")", "+", "(", "umips_swm_encoding", "[", "i", "]", ">>", "4", ")", ";", "this_offset", "=", "*", "offset", "-", "UNITS_PER_WORD", "*", "(", "nregs", "-", "1", ")", ";", "if", "(", "!", "UMIPS_12BIT_OFFSET_P", "(", "this_offset", ")", ")", "return", "false", ";", "pattern", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "nregs", ")", ")", ";", "this_base", "=", "stack_pointer_rtx", ";", "for", "(", "j", "=", "0", ";", "j", "<", "(", "umips_swm_encoding", "[", "i", "]", "&", "0xf", ")", ";", "j", "++", ")", "{", "HOST_WIDE_INT", "offset", "=", "this_offset", "+", "j", "*", "UNITS_PER_WORD", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "this_base", ",", "offset", ")", ")", ";", "unsigned", "int", "regno", "=", "(", "j", "!=", "8", ")", "?", "16", "+", "j", ":", "30", ";", "*", "mask", "&=", "~", "(", "1", "<<", "regno", ")", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ";", "if", "(", "fn", "==", "mips_save_reg", ")", "set", "=", "mips_frame_set", "(", "mem", ",", "reg", ")", ";", "else", "{", "set", "=", "gen_rtx_SET", "(", "reg", ",", "mem", ")", ";", "mips_add_cfa_restore", "(", "reg", ")", ";", "}", "XVECEXP", "(", "pattern", ",", "0", ",", "j", ")", "=", "set", ";", "}", "if", "(", "umips_swm_encoding", "[", "i", "]", ">>", "4", ")", "{", "HOST_WIDE_INT", "offset", "=", "this_offset", "+", "j", "*", "UNITS_PER_WORD", ";", "*", "mask", "&=", "~", "(", "1", "<<", "31", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "this_base", ",", "offset", ")", ")", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "31", ")", ";", "if", "(", "fn", "==", "mips_save_reg", ")", "set", "=", "mips_frame_set", "(", "mem", ",", "reg", ")", ";", "else", "{", "set", "=", "gen_rtx_SET", "(", "reg", ",", "mem", ")", ";", "mips_add_cfa_restore", "(", "reg", ")", ";", "}", "XVECEXP", "(", "pattern", ",", "0", ",", "j", ")", "=", "set", ";", "}", "pattern", "=", "emit_insn", "(", "pattern", ")", ";", "if", "(", "fn", "==", "mips_save_reg", ")", "RTX_FRAME_RELATED_P", "(", "pattern", ")", "=", "1", ";", "*", "offset", "-=", "UNITS_PER_WORD", "*", "nregs", ";", "return", "true", ";", "}", ""], "natrual_language": ["Try", "to", "use", "a", "microMIPS", "LWM", "or", "SWM", "instruction", "to", "save", "or", "restore", "as", "many", "GPRs", "in", "*", "MASK", "as", "possible", ".", "*", "OFFSET", "is", "the", "offset", "from", "the", "stack", "pointer", "of", "the", "topmost", "save", "slot", ".", "Remove", "from", "*", "MASK", "all", "registers", "that", "were", "handled", "using", "LWM", "and", "SWM", ".", "Update", "*", "OFFSET", "so", "that", "it", "points", "to", "the", "first", "unused", "save", "slot", "."], "TS_V_token": ["mips", "0", "0xffff0000", "0xf", "4", "1", "0", "0xf", "8", "16", "30", "1", "0", "4", "1", "31", "31", "0", "1"], "File": "mips", "Func": "umips_build_save_restore", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2455, "Length": 398, "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": 2456, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMAsmPrinter", "::", "PrintSymbolOperand", "(", "const", "MachineOperand", "&", "MO", ",", "raw_ostream", "&", "O", ")", "{", "assert", "(", "MO", ".", "isGlobal", "(", ")", "&&", "\"caller should check MO.isGlobal\"", ")", ";", "unsigned", "TF", "=", "MO", ".", "getTargetFlags", "(", ")", ";", "if", "(", "TF", "&", "ARMII", "::", "MO_LO16", ")", "O", "<<", "\":lower16:\"", ";", "else", "if", "(", "TF", "&", "ARMII", "::", "MO_HI16", ")", "O", "<<", "\":upper16:\"", ";", "GetARMGVSymbol", "(", "MO", ".", "getGlobal", "(", ")", ",", "TF", ")", "->", "print", "(", "O", ",", "MAI", ")", ";", "printOffset", "(", "MO", ".", "getOffset", "(", ")", ",", "O", ")", ";", "}", ""], "natrual_language": ["Print", "the", "MachineOperand", "as", "a", "symbol", "."], "TS_V_token": ["ARM", "ARM", "\"caller should check MO.isGlobal\"", "ARMII::MO_LO16", "\":lower16:\"", "ARMII::MO_HI16", "\":upper16:\"", "ARM"], "File": "ARMAsmPrinter", "Func": "PrintSymbolOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2457, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mmix_output_shifted_value", "(", "FILE", "*", "stream", ",", "int64_t", "value", ")", "{", "int", "i", ";", "if", "(", "!", "mmix_shiftable_wyde_value", "(", "value", ")", ")", "{", "char", "s", "[", "16", "+", "2", "+", "1", "]", ";", "sprintf", "(", "s", ",", "\"%#\"", "PRIx64", ",", "value", ")", ";", "internal_error", "(", "\"MMIX Internal: %s is not a shiftable int\"", ",", "s", ")", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "4", ";", "i", "++", ")", "{", "if", "(", "value", "&", "0xffff", ")", "{", "fprintf", "(", "stream", ",", "\"#%x\"", ",", "(", "int", ")", "(", "value", "&", "0xffff", ")", ")", ";", "return", ";", "}", "value", ">>=", "16", ";", "}", "fprintf", "(", "stream", ",", "\"0\"", ")", ";", "}", ""], "natrual_language": ["Print", "the", "presumed", "shiftable", "wyde", "argument", "shifted", "into", "place", "(", "to", "be", "output", "with", "an", "operand", ")", "."], "TS_V_token": ["mmix", "16", "2", "1", "\"%#\"", "\"MMIX Internal: %s is not a shiftable int\"", "0", "4", "0xffff", "\"#%x\"", "0xffff", "16", "\"0\""], "File": "mmix4", "Func": "mmix_output_shifted_value", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2458, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_emit_unspec_cond", "(", "rtx", "target", ",", "rtx_code", "code", ",", "machine_mode", "pred_mode", ",", "rtx", "pred", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "rtx", "unspec", "=", "aarch64_gen_unspec_cond", "(", "code", ",", "pred_mode", ",", "pred", ",", "op0", ",", "op1", ")", ";", "emit_set_insn", "(", "target", ",", "unspec", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "instruction", ":", "(", "set", "TARGET", "(", "unspec", ":", "PRED_MODE", "[", "PRED", "OP0", "OP1", "]", "UNSPEC_COND_", "<", "X", ">", ")", ")", "where", "<", "X", ">", "is", "the", "operation", "associated", "with", "comparison", "CODE", "."], "TS_V_token": ["aarch64"], "File": "aarch645", "Func": "aarch64_emit_unspec_cond", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2459, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "power6_sched_reorder2", "(", "rtx_insn", "*", "*", "ready", ",", "int", "lastpos", ")", "{", "int", "pos", ";", "rtx", "load_mem", ",", "str_mem", ";", "if", "(", "is_store_insn", "(", "last_scheduled_insn", ",", "&", "str_mem", ")", ")", "load_store_pendulum", "--", ";", "else", "if", "(", "is_load_insn", "(", "last_scheduled_insn", ",", "&", "load_mem", ")", ")", "load_store_pendulum", "++", ";", "else", "return", "cached_can_issue_more", ";", "if", "(", "(", "load_store_pendulum", "==", "0", ")", "||", "(", "lastpos", "<=", "0", ")", ")", "return", "cached_can_issue_more", ";", "if", "(", "load_store_pendulum", "==", "1", ")", "{", "pos", "=", "lastpos", ";", "while", "(", "pos", ">=", "0", ")", "{", "if", "(", "is_load_insn", "(", "ready", "[", "pos", "]", ",", "&", "load_mem", ")", ")", "{", "move_to_end_of_ready", "(", "ready", ",", "pos", ",", "lastpos", ")", ";", "if", "(", "!", "sel_sched_p", "(", ")", "&&", "INSN_PRIORITY_KNOWN", "(", "ready", "[", "lastpos", "]", ")", ")", "INSN_PRIORITY", "(", "ready", "[", "lastpos", "]", ")", "++", ";", "break", ";", "}", "pos", "--", ";", "}", "}", "else", "if", "(", "load_store_pendulum", "==", "-", "2", ")", "{", "pos", "=", "lastpos", ";", "while", "(", "pos", ">=", "0", ")", "{", "if", "(", "is_load_insn", "(", "ready", "[", "pos", "]", ",", "&", "load_mem", ")", "&&", "!", "sel_sched_p", "(", ")", "&&", "INSN_PRIORITY_KNOWN", "(", "ready", "[", "pos", "]", ")", ")", "{", "INSN_PRIORITY", "(", "ready", "[", "pos", "]", ")", "++", ";", "load_store_pendulum", "--", ";", "break", ";", "}", "pos", "--", ";", "}", "}", "else", "if", "(", "load_store_pendulum", "==", "-", "1", ")", "{", "int", "first_store_pos", "=", "-", "1", ";", "pos", "=", "lastpos", ";", "while", "(", "pos", ">=", "0", ")", "{", "if", "(", "is_store_insn", "(", "ready", "[", "pos", "]", ",", "&", "str_mem", ")", ")", "{", "rtx", "str_mem2", ";", "if", "(", "first_store_pos", "==", "-", "1", ")", "first_store_pos", "=", "pos", ";", "if", "(", "is_store_insn", "(", "last_scheduled_insn", ",", "&", "str_mem2", ")", "&&", "adjacent_mem_locations", "(", "str_mem", ",", "str_mem2", ")", ")", "{", "move_to_end_of_ready", "(", "ready", ",", "pos", ",", "lastpos", ")", ";", "if", "(", "!", "sel_sched_p", "(", ")", "&&", "INSN_PRIORITY_KNOWN", "(", "ready", "[", "lastpos", "]", ")", ")", "INSN_PRIORITY", "(", "ready", "[", "lastpos", "]", ")", "++", ";", "first_store_pos", "=", "-", "1", ";", "break", ";", "}", ";", "}", "pos", "--", ";", "}", "if", "(", "first_store_pos", ">=", "0", ")", "{", "move_to_end_of_ready", "(", "ready", ",", "first_store_pos", ",", "lastpos", ")", ";", "if", "(", "!", "sel_sched_p", "(", ")", "&&", "INSN_PRIORITY_KNOWN", "(", "ready", "[", "lastpos", "]", ")", ")", "INSN_PRIORITY", "(", "ready", "[", "lastpos", "]", ")", "++", ";", "}", "}", "else", "if", "(", "load_store_pendulum", "==", "2", ")", "{", "pos", "=", "lastpos", ";", "while", "(", "pos", ">=", "0", ")", "{", "if", "(", "is_store_insn", "(", "ready", "[", "pos", "]", ",", "&", "str_mem", ")", "&&", "!", "sel_sched_p", "(", ")", "&&", "INSN_PRIORITY_KNOWN", "(", "ready", "[", "pos", "]", ")", ")", "{", "INSN_PRIORITY", "(", "ready", "[", "pos", "]", ")", "++", ";", "load_store_pendulum", "++", ";", "break", ";", "}", "pos", "--", ";", "}", "}", "return", "cached_can_issue_more", ";", "}", ""], "natrual_language": ["Do", "Power6", "specific", "sched_reorder2", "reordering", "of", "ready", "list", "."], "TS_V_token": ["rs6000", "0", "0", "1", "0", "2", "0", "1", "1", "0", "1", "1", "0", "2", "0"], "File": "rs6000", "Func": "power6_sched_reorder2", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2460, "Length": 440, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "toc_relative_expr_p", "(", "const_rtx", "op", ",", "bool", "strict", ")", "{", "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", ")", ";", "}", "tocrel_base", "=", "op", ";", "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", ")", ";", "}", "return", "(", "GET_CODE", "(", "tocrel_base", ")", "==", "UNSPEC", "&&", "XINT", "(", "tocrel_base", ",", "1", ")", "==", "UNSPEC_TOCREL", ")", ";", "}", ""], "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": ["powerpcspe", "0", "0", "1", "1", "0", "1", "1"], "File": "powerpcspe", "Func": "toc_relative_expr_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2461, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_unwind_emit", "(", "FILE", "*", "asm_out_file", ",", "rtx", "insn", ")", "{", "rtx", "pat", ";", "if", "(", "!", "ARM_EABI_UNWIND_TABLES", ")", "return", ";", "if", "(", "GET_CODE", "(", "insn", ")", "==", "NOTE", "||", "!", "RTX_FRAME_RELATED_P", "(", "insn", ")", ")", "return", ";", "pat", "=", "find_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "NULL_RTX", ")", ";", "if", "(", "pat", ")", "pat", "=", "XEXP", "(", "pat", ",", "0", ")", ";", "else", "pat", "=", "PATTERN", "(", "insn", ")", ";", "switch", "(", "GET_CODE", "(", "pat", ")", ")", "{", "case", "SET", ":", "arm_unwind_emit_set", "(", "asm_out_file", ",", "pat", ")", ";", "break", ";", "case", "SEQUENCE", ":", "arm_unwind_emit_stm", "(", "asm_out_file", ",", "pat", ")", ";", "break", ";", "default", ":", "abort", "(", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "unwind", "directives", "for", "the", "given", "insn", "."], "TS_V_token": ["arm", "0"], "File": "arm3", "Func": "arm_unwind_emit", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2462, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ia64_expand_widen_sum", "(", "rtx", "operands", "[", "3", "]", ",", "bool", "unsignedp", ")", "{", "machine_mode", "wmode", ";", "rtx", "l", ",", "h", ",", "t", ",", "sign", ";", "sign", "=", "ia64_unpack_sign", "(", "operands", "[", "1", "]", ",", "unsignedp", ")", ";", "wmode", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", ";", "l", "=", "gen_reg_rtx", "(", "wmode", ")", ";", "h", "=", "gen_reg_rtx", "(", "wmode", ")", ";", "ia64_unpack_assemble", "(", "l", ",", "operands", "[", "1", "]", ",", "sign", ",", "false", ")", ";", "ia64_unpack_assemble", "(", "h", ",", "operands", "[", "1", "]", ",", "sign", ",", "true", ")", ";", "t", "=", "expand_binop", "(", "wmode", ",", "add_optab", ",", "l", ",", "operands", "[", "2", "]", ",", "NULL", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "t", "=", "expand_binop", "(", "wmode", ",", "add_optab", ",", "h", ",", "t", ",", "operands", "[", "0", "]", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "if", "(", "t", "!=", "operands", "[", "0", "]", ")", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "t", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "integral", "vector", "widening", "sum", "operations", "."], "TS_V_token": ["ia64", "3", "1", "0", "1", "1", "2", "0", "0", "0", "0", "0"], "File": "ia64", "Func": "ia64_expand_widen_sum", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2463, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "def_or_undef_macro", "(", "struct", "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": ["arm"], "File": "arm-c", "Func": "def_or_undef_macro", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2464, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "X86TargetLowering", "::", "LowerXConstraint", "(", "EVT", "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": "X86ISelLowering (2)", "Func": "LowerXConstraint", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2465, "Length": 53, "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": 2466, "Length": 314, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmParser", "::", "ParseInstruction", "(", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ")", "{", "size_t", "Start", "=", "0", ",", "Next", "=", "Name", ".", "find", "(", "'.'", ")", ";", "StringRef", "Head", "=", "Name", ".", "slice", "(", "Start", ",", "Next", ")", ";", "unsigned", "PredicationCode", ";", "unsigned", "ProcessorIMod", ";", "bool", "CarrySetting", ";", "Head", "=", "SplitMnemonic", "(", "Head", ",", "PredicationCode", ",", "CarrySetting", ",", "ProcessorIMod", ")", ";", "Operands", ".", "push_back", "(", "ARMOperand", "::", "CreateToken", "(", "Head", ",", "NameLoc", ")", ")", ";", "bool", "CanAcceptCarrySet", ",", "CanAcceptPredicationCode", ";", "GetMnemonicAcceptInfo", "(", "Head", ",", "CanAcceptCarrySet", ",", "CanAcceptPredicationCode", ")", ";", "if", "(", "CanAcceptCarrySet", ")", "{", "Operands", ".", "push_back", "(", "ARMOperand", "::", "CreateCCOut", "(", "CarrySetting", "?", "ARM", "::", "CPSR", ":", "0", ",", "NameLoc", ")", ")", ";", "}", "else", "{", "}", "if", "(", "CanAcceptPredicationCode", ")", "{", "Operands", ".", "push_back", "(", "ARMOperand", "::", "CreateCondCode", "(", "ARMCC", "::", "CondCodes", "(", "PredicationCode", ")", ",", "NameLoc", ")", ")", ";", "}", "else", "{", "}", "if", "(", "ProcessorIMod", ")", "{", "Operands", ".", "push_back", "(", "ARMOperand", "::", "CreateImm", "(", "MCConstantExpr", "::", "Create", "(", "ProcessorIMod", ",", "getContext", "(", ")", ")", ",", "NameLoc", ",", "NameLoc", ")", ")", ";", "}", "else", "{", "}", "while", "(", "Next", "!=", "StringRef", "::", "npos", ")", "{", "Start", "=", "Next", ";", "Next", "=", "Name", ".", "find", "(", "'.'", ",", "Start", "+", "1", ")", ";", "StringRef", "ExtraToken", "=", "Name", ".", "slice", "(", "Start", ",", "Next", ")", ";", "Operands", ".", "push_back", "(", "ARMOperand", "::", "CreateToken", "(", "ExtraToken", ",", "NameLoc", ")", ")", ";", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "ParseOperand", "(", "Operands", ",", "Head", ")", ")", "{", "Parser", ".", "EatToEndOfStatement", "(", ")", ";", "return", "true", ";", "}", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "ParseOperand", "(", "Operands", ",", "Head", ")", ")", "{", "Parser", ".", "EatToEndOfStatement", "(", ")", ";", "return", "true", ";", "}", "}", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "Parser", ".", "EatToEndOfStatement", "(", ")", ";", "return", "TokError", "(", "\"unexpected token in argument list\"", ")", ";", "}", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["ARM", "ARM", "0", "ARM", "ARM", "ARM::CPSR", "0", "ARM", "ARMCC::CondCodes", "ARM", "1", "ARM", "\"unexpected token in argument list\""], "File": "ARMAsmParser35", "Func": "ParseInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2467, "Length": 353, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_xcoff_asm_output_aligned_decl_common", "(", "FILE", "*", "stream", ",", "tree", "decl", "ATTRIBUTE_UNUSED", ",", "const", "char", "*", "name", ",", "unsigned", "HOST_WIDE_INT", "size", ",", "unsigned", "HOST_WIDE_INT", "align", ")", "{", "unsigned", "HOST_WIDE_INT", "align2", "=", "2", ";", "if", "(", "align", ">", "32", ")", "align2", "=", "floor_log2", "(", "align", "/", "BITS_PER_UNIT", ")", ";", "else", "if", "(", "size", ">", "4", ")", "align2", "=", "3", ";", "fputs", "(", "COMMON_ASM_OP", ",", "stream", ")", ";", "RS6000_OUTPUT_BASENAME", "(", "stream", ",", "name", ")", ";", "fprintf", "(", "stream", ",", "\",\"", "HOST_WIDE_INT_PRINT_UNSIGNED", "\",\"", "HOST_WIDE_INT_PRINT_UNSIGNED", ",", "size", ",", "align2", ")", ";", "fputs", "(", "rs6000_xcoff_visibility", "(", "decl", ")", ",", "stream", ")", ";", "putc", "(", "'\\n'", ",", "stream", ")", ";", "}", ""], "natrual_language": ["Output", "assembly", "language", "to", "define", "a", "symbol", "as", "COMMON", "from", "a", "DECL", ",", "possibly", "with", "visibility", "."], "TS_V_token": ["rs6000", "2", "32", "4", "3", "\",\"", "\",\""], "File": "rs60006", "Func": "rs6000_xcoff_asm_output_aligned_decl_common", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2468, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMFrameLowering", "::", "hasReservedCallFrame", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "CFSize", "=", "MFI", ".", "getMaxCallFrameSize", "(", ")", ";", "if", "(", "CFSize", ">=", "(", "(", "1", "<<", "12", ")", "-", "1", ")", "/", "2", ")", "return", "false", ";", "return", "!", "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": ["ARM", "ARM", "1", "12", "1", "2"], "File": "ARMFrameLowering100", "Func": "hasReservedCallFrame", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2469, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "X86TargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", "DL", ",", "LLVMContext", "&", "Context", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "Subtarget", ".", "hasAVX512", "(", ")", "?", "MVT", "::", "i1", ":", "MVT", "::", "i8", ";", "if", "(", "VT", ".", "isSimple", "(", ")", ")", "{", "MVT", "VVT", "=", "VT", ".", "getSimpleVT", "(", ")", ";", "const", "unsigned", "NumElts", "=", "VVT", ".", "getVectorNumElements", "(", ")", ";", "MVT", "EltVT", "=", "VVT", ".", "getVectorElementType", "(", ")", ";", "if", "(", "VVT", ".", "is512BitVector", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "hasAVX512", "(", ")", ")", "if", "(", "EltVT", "==", "MVT", "::", "i32", "||", "EltVT", "==", "MVT", "::", "i64", "||", "EltVT", "==", "MVT", "::", "f32", "||", "EltVT", "==", "MVT", "::", "f64", ")", "switch", "(", "NumElts", ")", "{", "case", "8", ":", "return", "MVT", "::", "v8i1", ";", "case", "16", ":", "return", "MVT", "::", "v16i1", ";", "}", "if", "(", "Subtarget", ".", "hasBWI", "(", ")", ")", "if", "(", "EltVT", "==", "MVT", "::", "i8", "||", "EltVT", "==", "MVT", "::", "i16", ")", "switch", "(", "NumElts", ")", "{", "case", "32", ":", "return", "MVT", "::", "v32i1", ";", "case", "64", ":", "return", "MVT", "::", "v64i1", ";", "}", "}", "if", "(", "Subtarget", ".", "hasBWI", "(", ")", "&&", "Subtarget", ".", "hasVLX", "(", ")", ")", "return", "MVT", "::", "getVectorVT", "(", "MVT", "::", "i1", ",", "NumElts", ")", ";", "if", "(", "!", "isTypeLegal", "(", "VT", ")", "&&", "getTypeAction", "(", "Context", ",", "VT", ")", "==", "TypePromoteInteger", ")", "{", "EVT", "LegalVT", "=", "getTypeToTransformTo", "(", "Context", ",", "VT", ")", ";", "EltVT", "=", "LegalVT", ".", "getVectorElementType", "(", ")", ".", "getSimpleVT", "(", ")", ";", "}", "if", "(", "Subtarget", ".", "hasVLX", "(", ")", "&&", "EltVT", ".", "getSizeInBits", "(", ")", ">=", "32", ")", "switch", "(", "NumElts", ")", "{", "case", "2", ":", "return", "MVT", "::", "v2i1", ";", "case", "4", ":", "return", "MVT", "::", "v4i1", ";", "case", "8", ":", "return", "MVT", "::", "v8i1", ";", "}", "}", "return", "VT", ".", "changeVectorElementTypeToInteger", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["X86", "X86", "MVT::i1", "MVT::i8", "MVT::i32", "MVT::i64", "MVT::f32", "MVT::f64", "8", "MVT::v8i1", "16", "MVT::v16i1", "MVT::i8", "MVT::i16", "32", "MVT::v32i1", "64", "MVT::v64i1", "MVT::getVectorVT", "MVT::i1", "32", "2", "MVT::v2i1", "4", "MVT::v4i1", "8", "MVT::v8i1"], "File": "X86ISelLowering (3)", "Func": "getSetCCResultType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2470, "Length": 312, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FixupBWInstPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "!", "FixupBWInsts", "||", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "this", "->", "MF", "=", "&", "MF", ";", "TII", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "OptForSize", "=", "MF", ".", "getFunction", "(", ")", "->", "optForSize", "(", ")", ";", "MLI", "=", "&", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "LiveRegs", ".", "init", "(", "&", "TII", "->", "getRegisterInfo", "(", ")", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Start X86FixupBWInsts\\n\"", ";", ")", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "processBasicBlock", "(", "MF", ",", "MBB", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"End X86FixupBWInsts\\n\"", ";", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "\"Start X86FixupBWInsts\\n\"", "\"End X86FixupBWInsts\\n\""], "File": "X86FixupBWInsts1", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2471, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmParser", "::", "processInstruction", "(", "MCInst", "&", "Inst", ",", "const", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Ops", ")", "{", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "X86", "::", "AND16i16", ":", "return", "convert16i16to16ri8", "(", "Inst", ",", "X86", "::", "AND16ri8", ")", ";", "case", "X86", "::", "AND32i32", ":", "return", "convert32i32to32ri8", "(", "Inst", ",", "X86", "::", "AND32ri8", ")", ";", "case", "X86", "::", "AND64i32", ":", "return", "convert64i32to64ri8", "(", "Inst", ",", "X86", "::", "AND64ri8", ")", ";", "case", "X86", "::", "XOR16i16", ":", "return", "convert16i16to16ri8", "(", "Inst", ",", "X86", "::", "XOR16ri8", ")", ";", "case", "X86", "::", "XOR32i32", ":", "return", "convert32i32to32ri8", "(", "Inst", ",", "X86", "::", "XOR32ri8", ")", ";", "case", "X86", "::", "XOR64i32", ":", "return", "convert64i32to64ri8", "(", "Inst", ",", "X86", "::", "XOR64ri8", ")", ";", "case", "X86", "::", "OR16i16", ":", "return", "convert16i16to16ri8", "(", "Inst", ",", "X86", "::", "OR16ri8", ")", ";", "case", "X86", "::", "OR32i32", ":", "return", "convert32i32to32ri8", "(", "Inst", ",", "X86", "::", "OR32ri8", ")", ";", "case", "X86", "::", "OR64i32", ":", "return", "convert64i32to64ri8", "(", "Inst", ",", "X86", "::", "OR64ri8", ")", ";", "case", "X86", "::", "CMP16i16", ":", "return", "convert16i16to16ri8", "(", "Inst", ",", "X86", "::", "CMP16ri8", ",", "true", ")", ";", "case", "X86", "::", "CMP32i32", ":", "return", "convert32i32to32ri8", "(", "Inst", ",", "X86", "::", "CMP32ri8", ",", "true", ")", ";", "case", "X86", "::", "CMP64i32", ":", "return", "convert64i32to64ri8", "(", "Inst", ",", "X86", "::", "CMP64ri8", ",", "true", ")", ";", "case", "X86", "::", "ADD16i16", ":", "return", "convert16i16to16ri8", "(", "Inst", ",", "X86", "::", "ADD16ri8", ")", ";", "case", "X86", "::", "ADD32i32", ":", "return", "convert32i32to32ri8", "(", "Inst", ",", "X86", "::", "ADD32ri8", ")", ";", "case", "X86", "::", "ADD64i32", ":", "return", "convert64i32to64ri8", "(", "Inst", ",", "X86", "::", "ADD64ri8", ")", ";", "case", "X86", "::", "SUB16i16", ":", "return", "convert16i16to16ri8", "(", "Inst", ",", "X86", "::", "SUB16ri8", ")", ";", "case", "X86", "::", "SUB32i32", ":", "return", "convert32i32to32ri8", "(", "Inst", ",", "X86", "::", "SUB32ri8", ")", ";", "case", "X86", "::", "SUB64i32", ":", "return", "convert64i32to64ri8", "(", "Inst", ",", "X86", "::", "SUB64ri8", ")", ";", "case", "X86", "::", "ADC16i16", ":", "return", "convert16i16to16ri8", "(", "Inst", ",", "X86", "::", "ADC16ri8", ")", ";", "case", "X86", "::", "ADC32i32", ":", "return", "convert32i32to32ri8", "(", "Inst", ",", "X86", "::", "ADC32ri8", ")", ";", "case", "X86", "::", "ADC64i32", ":", "return", "convert64i32to64ri8", "(", "Inst", ",", "X86", "::", "ADC64ri8", ")", ";", "case", "X86", "::", "SBB16i16", ":", "return", "convert16i16to16ri8", "(", "Inst", ",", "X86", "::", "SBB16ri8", ")", ";", "case", "X86", "::", "SBB32i32", ":", "return", "convert32i32to32ri8", "(", "Inst", ",", "X86", "::", "SBB32ri8", ")", ";", "case", "X86", "::", "SBB64i32", ":", "return", "convert64i32to64ri8", "(", "Inst", ",", "X86", "::", "SBB64ri8", ")", ";", "}", "}", ""], "natrual_language": ["Process", "a", "single", "instruction", "and", "collect", "debug", "info", "anchors", "."], "TS_V_token": ["X86", "X86", "X86::AND16i16", "X86::AND16ri8", "X86::AND32i32", "X86::AND32ri8", "X86::AND64i32", "X86::AND64ri8", "X86::XOR16i16", "X86::XOR16ri8", "X86::XOR32i32", "X86::XOR32ri8", "X86::XOR64i32", "X86::XOR64ri8", "X86::OR16i16", "X86::OR16ri8", "X86::OR32i32", "X86::OR32ri8", "X86::OR64i32", "X86::OR64ri8", "X86::CMP16i16", "X86::CMP16ri8", "X86::CMP32i32", "X86::CMP32ri8", "X86::CMP64i32", "X86::CMP64ri8", "X86::ADD16i16", "X86::ADD16ri8", "X86::ADD32i32", "X86::ADD32ri8", "X86::ADD64i32", "X86::ADD64ri8", "X86::SUB16i16", "X86::SUB16ri8", "X86::SUB32i32", "X86::SUB32ri8", "X86::SUB64i32", "X86::SUB64ri8", "X86::ADC16i16", "X86::ADC16ri8", "X86::ADC32i32", "X86::ADC32ri8", "X86::ADC64i32", "X86::ADC64ri8", "X86::SBB16i16", "X86::SBB16ri8", "X86::SBB32i32", "X86::SBB32ri8", "X86::SBB64i32", "X86::SBB64ri8"], "File": "X86AsmParser (2)2", "Func": "processInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2472, "Length": 401, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SystemZRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "int", "*", "Value", ",", "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", ")", ";", "return", "0", ";", "}", ""], "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", "0"], "File": "SystemZRegisterInfo29", "Func": "eliminateFrameIndex", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2473, "Length": 196, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_mode_entry", "(", "int", "entity", ")", "{", "switch", "(", "entity", ")", "{", "case", "X86_DIRFLAG", ":", "return", "ix86_dirflag_mode_entry", "(", ")", ";", "case", "AVX_U128", ":", "return", "ix86_avx_u128_mode_entry", "(", ")", ";", "case", "I387_ROUNDEVEN", ":", "case", "I387_TRUNC", ":", "case", "I387_FLOOR", ":", "case", "I387_CEIL", ":", "return", "I387_CW_ANY", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "a", "mode", "that", "ENTITY", "is", "assumed", "to", "be", "switched", "to", "at", "function", "entry", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_mode_entry", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2474, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "enum", "machine_mode", "mode", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_CC", ")", "return", "(", "regno", "==", "CC_REGNUM", "||", "(", "TARGET_HARD_FLOAT", "&&", "TARGET_VFP", "&&", "regno", "==", "VFPCC_REGNUM", ")", ")", ";", "if", "(", "TARGET_THUMB", ")", "return", "(", "ARM_NUM_REGS", "(", "mode", ")", "<", "2", ")", "||", "(", "regno", "<", "LAST_LO_REGNUM", ")", ";", "if", "(", "TARGET_HARD_FLOAT", "&&", "TARGET_MAVERICK", "&&", "IS_CIRRUS_REGNUM", "(", "regno", ")", ")", "return", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", ")", "||", "(", "mode", "==", "DImode", ")", ";", "if", "(", "TARGET_HARD_FLOAT", "&&", "TARGET_VFP", "&&", "IS_VFP_REGNUM", "(", "regno", ")", ")", "{", "if", "(", "mode", "==", "SFmode", "||", "mode", "==", "SImode", ")", "return", "TRUE", ";", "if", "(", "mode", "==", "DFmode", ")", "return", "(", "(", "regno", "-", "FIRST_VFP_REGNUM", ")", "&", "1", ")", "==", "0", ";", "return", "FALSE", ";", "}", "if", "(", "TARGET_REALLY_IWMMXT", ")", "{", "if", "(", "IS_IWMMXT_GR_REGNUM", "(", "regno", ")", ")", "return", "mode", "==", "SImode", ";", "if", "(", "IS_IWMMXT_REGNUM", "(", "regno", ")", ")", "return", "VALID_IWMMXT_REG_MODE", "(", "mode", ")", ";", "}", "if", "(", "regno", "<=", "LAST_ARM_REGNUM", ")", "return", "!", "(", "TARGET_LDRD", "&&", "GET_MODE_SIZE", "(", "mode", ")", ">", "4", "&&", "(", "regno", "&", "1", ")", "!=", "0", ")", ";", "if", "(", "regno", "==", "FRAME_POINTER_REGNUM", "||", "regno", "==", "ARG_POINTER_REGNUM", ")", "return", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_INT", ";", "return", "(", "TARGET_HARD_FLOAT", "&&", "TARGET_FPA", "&&", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", "&&", "regno", ">=", "FIRST_FPA_REGNUM", "&&", "regno", "<=", "LAST_FPA_REGNUM", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "REGNO", "is", "a", "valid", "register", "for", "holding", "a", "quantity", "of", "type", "MODE", "."], "TS_V_token": ["arm", "2", "1", "0", "4", "1", "0"], "File": "arm3", "Func": "arm_hard_regno_mode_ok", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2475, "Length": 232, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sparc_function_value_1", "(", "const_tree", "type", ",", "machine_mode", "mode", ",", "bool", "outgoing", ")", "{", "int", "regbase", "=", "(", "outgoing", "?", "SPARC_INCOMING_INT_ARG_FIRST", ":", "SPARC_OUTGOING_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", ",", "SPARC_FP_ARG_FIRST", ")", ";", "mclass", "=", "MODE_FLOAT", ";", "}", "if", "(", "TARGET_ARCH64", "&&", "type", ")", "{", "if", "(", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", ")", "{", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "gcc_assert", "(", "size", "<=", "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", "(", "mclass", "==", "MODE_FLOAT", "||", "mclass", "==", "MODE_COMPLEX_FLOAT", ")", ";", "else", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "gcc_assert", "(", "size", "<=", "32", ")", ";", "mode", "=", "mode_for_size", "(", "size", "*", "BITS_PER_UNIT", ",", "MODE_INT", ",", "0", ")", ";", "if", "(", "mode", "==", "BLKmode", ")", "return", "function_arg_union_value", "(", "size", ",", "mode", ",", "0", ",", "regbase", ")", ";", "else", "mclass", "=", "MODE_INT", ";", "}", "else", "if", "(", "mclass", "==", "MODE_INT", "&&", "GET_MODE_SIZE", "(", "mode", ")", "<", "UNITS_PER_WORD", ")", "mode", "=", "word_mode", ";", "}", "else", "if", "(", "TARGET_ARCH32", "&&", "!", "(", "type", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "&&", "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", "TARGET_FUNCTION_VALUE", ",", "and", "TARGET_LIBCALL_VALUE", "target", "hook", ".", "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": "sparc5", "Func": "sparc_function_value_1", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2476, "Length": 335, "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\"", "}", "}", ";", "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\""], "File": "PPCInstrInfo128", "Func": "getSerializableBitmaskMachineOperandTargetFlags", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2477, "Length": 72, "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": 2478, "Length": 409, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZPassConfig", "::", "addPreSched2", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "getSystemZTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "hasLoadStoreOnCond", "(", ")", ")", "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": ["SystemZ", "SystemZ", "SystemZ"], "File": "SystemZTargetMachine", "Func": "addPreSched2", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2479, "Length": 39, "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", "(", ")", ";", "int64_t", "Offset", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FrameIndex", ")", "+", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "getImm", "(", ")", "+", "Subtarget", ".", "getStackPointerBias", "(", ")", ";", "SparcMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "SparcMachineFunctionInfo", ">", "(", ")", ";", "unsigned", "FramePtr", "=", "SP", "::", "I6", ";", "if", "(", "FuncInfo", "->", "isLeafProc", "(", ")", ")", "{", "FramePtr", "=", "SP", "::", "O6", ";", "int", "stackSize", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "Offset", "+=", "(", "stackSize", ")", "?", "Subtarget", ".", "getAdjustedFrameSize", "(", "stackSize", ")", ":", "0", ";", "}", "if", "(", "Offset", ">=", "-", "4096", "&&", "Offset", "<=", "4095", ")", "{", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "FramePtr", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", "else", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "unsigned", "OffHi", "=", "(", "unsigned", ")", "Offset", ">>", "10U", ";", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "SETHIi", ")", ",", "SP", "::", "G1", ")", ".", "addImm", "(", "OffHi", ")", ";", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "ADDrr", ")", ",", "SP", "::", "G1", ")", ".", "addReg", "(", "SP", "::", "G1", ")", ".", "addReg", "(", "FramePtr", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "SP", "::", "G1", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", "&", "(", "(", "1", "<<", "10", ")", "-", "1", ")", ")", ";", "}", "}", ""], "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\"", "1", "Sparc", "Sparc", "SP::I6", "SP::O6", "0", "4096", "4095", "1", "10U", "SP::SETHIi", "SP::G1", "SP::ADDrr", "SP::G1", "SP::G1", "SP::G1", "1", "1", "10", "1"], "File": "SparcRegisterInfo4", "Func": "eliminateFrameIndex", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2480, "Length": 355, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FastISel", "*", "AArch64", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "FuncInfo", ",", "const", "TargetLibraryInfo", "*", "LibInfo", ")", "{", "return", "new", "AArch64FastISel", "(", "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": ["AArch64", "AArch64::createFastISel", "AArch64"], "File": "AArch64FastISel10", "Func": "createFastISel", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2481, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isTarget64BitILP32", "(", ")", "const", "{", "return", "In64BitMode", "&&", "(", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "GNUX32", ")", ";", "}", ""], "natrual_language": ["Is", "this", "x86_64", "with", "the", "ILP32", "programming", "model", "(", "x32", "ABI", ")", "?"], "TS_V_token": ["X86"], "File": "X86Subtarget106", "Func": "isTarget64BitILP32", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2482, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "AArch64TTIImpl", "::", "getMinMaxReductionCost", "(", "VectorType", "*", "Ty", ",", "VectorType", "*", "CondTy", ",", "bool", "IsUnsigned", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "if", "(", "!", "isa", "<", "ScalableVectorType", ">", "(", "Ty", ")", ")", "return", "BaseT", "::", "getMinMaxReductionCost", "(", "Ty", ",", "CondTy", ",", "IsUnsigned", ",", "CostKind", ")", ";", "assert", "(", "(", "isa", "<", "ScalableVectorType", ">", "(", "Ty", ")", "&&", "isa", "<", "ScalableVectorType", ">", "(", "CondTy", ")", ")", "&&", "\"Both vector needs to be scalable\"", ")", ";", "std", "::", "pair", "<", "InstructionCost", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "Ty", ")", ";", "InstructionCost", "LegalizationCost", "=", "0", ";", "if", "(", "LT", ".", "first", ">", "1", ")", "{", "Type", "*", "LegalVTy", "=", "EVT", "(", "LT", ".", "second", ")", ".", "getTypeForEVT", "(", "Ty", "->", "getContext", "(", ")", ")", ";", "unsigned", "CmpOpcode", "=", "Ty", "->", "isFPOrFPVectorTy", "(", ")", "?", "Instruction", "::", "FCmp", ":", "Instruction", "::", "ICmp", ";", "LegalizationCost", "=", "getCmpSelInstrCost", "(", "CmpOpcode", ",", "LegalVTy", ",", "LegalVTy", ",", "CmpInst", "::", "BAD_ICMP_PREDICATE", ",", "CostKind", ")", "+", "getCmpSelInstrCost", "(", "Instruction", "::", "Select", ",", "LegalVTy", ",", "LegalVTy", ",", "CmpInst", "::", "BAD_ICMP_PREDICATE", ",", "CostKind", ")", ";", "LegalizationCost", "*=", "LT", ".", "first", "-", "1", ";", "}", "return", "LegalizationCost", "+", "2", ";", "}", ""], "natrual_language": ["Try", "to", "calculate", "op", "costs", "for", "min/max", "reduction", "operations", "."], "TS_V_token": ["AArch64", "AArch64", "\"Both vector needs to be scalable\"", "0", "1", "1", "2"], "File": "AArch64TargetTransformInfo28", "Func": "getMinMaxReductionCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2483, "Length": 189, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_expand_aligntest", "(", "rtx", "variable", ",", "int", "value", ")", "{", "rtx", "label", "=", "gen_label_rtx", "(", ")", ";", "rtx", "tmpcount", "=", "gen_reg_rtx", "(", "GET_MODE", "(", "variable", ")", ")", ";", "if", "(", "GET_MODE", "(", "variable", ")", "==", "DImode", ")", "emit_insn", "(", "gen_anddi3", "(", "tmpcount", ",", "variable", ",", "GEN_INT", "(", "value", ")", ")", ")", ";", "else", "emit_insn", "(", "gen_andsi3", "(", "tmpcount", ",", "variable", ",", "GEN_INT", "(", "value", ")", ")", ")", ";", "emit_cmp_and_jump_insns", "(", "tmpcount", ",", "const0_rtx", ",", "EQ", ",", "0", ",", "GET_MODE", "(", "variable", ")", ",", "1", ",", "label", ")", ";", "return", "label", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "the", "string", "operations", "below", ".", "Dest", "VARIABLE", "whether", "it", "is", "aligned", "to", "VALUE", "bytes", ".", "If", "true", ",", "jump", "to", "the", "label", "."], "TS_V_token": ["i386", "0", "1"], "File": "i3863", "Func": "ix86_expand_aligntest", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2484, "Length": 93, "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": 2485, "Length": 94, "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", "(", "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": "AArch64TargetMachine11", "Func": "addIRPasses", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2486, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "bool", "HasAVX", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "hasAVX", "(", ")", ";", "MachineInstrBuilder", "MIB", "(", "*", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "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", "::", "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", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["X86", "X86", "X86", "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::V_SETALLONES", "X86::VPCMPEQDrr", "X86::PCMPEQDrr", "X86::AVX2_SETALLONES", "X86::VPCMPEQDYrr", "X86::TEST8ri_NOREX", "X86::TEST8ri"], "File": "X86InstrInfo116", "Func": "expandPostRAPseudo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2487, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMSubtarget", "::", "useDFAforSMS", "(", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Default", "to", "DFA", "for", "resource", "management", ",", "return", "false", "when", "target", "will", "use", "ProcResource", "in", "InstrSchedModel", "instead", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMSubtarget45", "Func": "useDFAforSMS", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2488, "Length": 12, "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": 2489, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "VERegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "return", "CSR_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["VE", "VE"], "File": "VERegisterInfo1", "Func": "getCalleeSavedRegs", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2490, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "AArch64TargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "IsMemset", ",", "bool", "ZeroMemset", ",", "bool", "MemcpyStrSrc", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "bool", "CanImplicitFloat", "=", "!", "F", ".", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ";", "bool", "CanUseNEON", "=", "Subtarget", "->", "hasNEON", "(", ")", "&&", "CanImplicitFloat", ";", "bool", "CanUseFP", "=", "Subtarget", "->", "hasFPARMv8", "(", ")", "&&", "CanImplicitFloat", ";", "bool", "IsSmallMemset", "=", "IsMemset", "&&", "Size", "<", "32", ";", "auto", "AlignmentIsAcceptable", "=", "[", "&", "]", "(", "EVT", "VT", ",", "unsigned", "AlignCheck", ")", "{", "if", "(", "memOpAlign", "(", "SrcAlign", ",", "DstAlign", ",", "AlignCheck", ")", ")", "return", "true", ";", "bool", "Fast", ";", "return", "allowsMisalignedMemoryAccesses", "(", "VT", ",", "0", ",", "1", ",", "&", "Fast", ")", "&&", "Fast", ";", "}", ";", "if", "(", "CanUseNEON", "&&", "IsMemset", "&&", "!", "IsSmallMemset", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "v2i64", ",", "16", ")", ")", "return", "MVT", "::", "v2i64", ";", "if", "(", "CanUseFP", "&&", "!", "IsSmallMemset", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "f128", ",", "16", ")", ")", "return", "MVT", "::", "f128", ";", "if", "(", "Size", ">=", "8", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "i64", ",", "8", ")", ")", "return", "MVT", "::", "i64", ";", "if", "(", "Size", ">=", "4", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "i32", ",", "4", ")", ")", "return", "MVT", "::", "i32", ";", "return", "MVT", "::", "Other", ";", "}", ""], "natrual_language": ["It", "returns", "EVT", ":", ":Other", "if", "the", "type", "should", "be", "determined", "using", "generic", "target-independent", "logic", "."], "TS_V_token": ["AArch64", "AArch64", "32", "0", "1", "MVT::v2i64", "16", "MVT::v2i64", "MVT::f128", "16", "MVT::f128", "8", "MVT::i64", "8", "MVT::i64", "4", "MVT::i32", "4", "MVT::i32", "MVT::Other"], "File": "AArch64ISelLowering114", "Func": "getOptimalMemOpType", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2491, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "Cpu0FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "unsigned", "SP", "=", "Cpu0", "::", "SP", ";", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "int64_t", "Amount", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "Cpu0", "::", "ADJCALLSTACKDOWN", ")", "Amount", "=", "-", "Amount", ";", "STI", ".", "getInstrInfo", "(", ")", "->", "adjustStackPtr", "(", "SP", ",", "Amount", ",", "MBB", ",", "I", ")", ";", "}", "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": ["Cpu0", "Cpu0", "Cpu0::SP", "0", "Cpu0::ADJCALLSTACKDOWN"], "File": "Cpu0FrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2492, "Length": 96, "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": 2493, "Length": 350, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "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", "false", ";", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "XEXP", "(", "op", ",", "0", ")", ")", ")", "==", "MODE_CC", ")", "return", "false", ";", "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_cc_si", ":", "gen_isel_ccuns_si", ")", ":", "(", "signedp", "?", "gen_isel_cc_di", ":", "gen_isel_ccuns_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", "true", ";", "}", ""], "natrual_language": ["Same", "as", "above", ",", "but", "for", "ints", "(", "isel", ")", "."], "TS_V_token": ["rs6000", "0", "0"], "File": "rs60001", "Func": "rs6000_emit_int_cmove", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2494, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "tls_model", "tls_symbolic_operand_type", "(", "rtx", "addr", ")", "{", "enum", "tls_model", "tls_kind", "=", "TLS_MODEL_NONE", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "CONST", ")", "{", "poly_int64", "addend", ";", "rtx", "sym", "=", "strip_offset", "(", "addr", ",", "&", "addend", ")", ";", "if", "(", "GET_CODE", "(", "sym", ")", "==", "SYMBOL_REF", ")", "tls_kind", "=", "SYMBOL_REF_TLS_MODEL", "(", "sym", ")", ";", "}", "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": ["aarch64"], "File": "aarch64", "Func": "tls_symbolic_operand_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2495, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "SDLoc", "DL", ",", "SelectionDAG", "&", "DAG", ")", "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", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC", ")", ";", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "RetOps", "(", "1", ",", "Chain", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "realRVLocIdx", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ",", "++", "realRVLocIdx", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "SDValue", "Arg", "=", "OutVals", "[", "realRVLocIdx", "]", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown loc info!\"", ")", ";", "case", "CCValAssign", "::", "Full", ":", "if", "(", "Outs", "[", "i", "]", ".", "ArgVT", "==", "MVT", "::", "i1", ")", "{", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "TRUNCATE", ",", "DL", ",", "MVT", "::", "i1", ",", "Arg", ")", ";", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ZERO_EXTEND", ",", "DL", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "}", "break", ";", "case", "CCValAssign", "::", "BCvt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "DL", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "}", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "VA", ".", "getLocReg", "(", ")", ",", "Arg", ",", "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", "(", "AArch64ISD", "::", "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": ["AArch64", "AArch64", "ISD::OutputArg", "AArch64", "AArch64", "16", "4", "1", "0", "0", "\"Can only return in registers!\"", "\"Unknown loc info!\"", "MVT::i1", "ISD::TRUNCATE", "MVT::i1", "ISD::ZERO_EXTEND", "ISD::BITCAST", "1", "0", "AArch64ISD::RET_FLAG", "MVT::Other"], "File": "AArch64ISelLowering1", "Func": "LowerReturn", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2496, "Length": 368, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getBasePointerSaveOffset", "(", ")", "const", "{", "return", "BasePointerSaveOffset", ";", "}", ""], "natrual_language": ["getBasePointerSaveOffset", "-", "Return", "the", "previous", "frame", "offset", "to", "save", "the", "base", "pointer", "."], "TS_V_token": ["PowerPC"], "File": "PPCFrameLowering (2)", "Func": "getBasePointerSaveOffset", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2497, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isToken", "(", ")", "const", "override", "{", "return", "Kind", "==", "k_Token", ";", "}", ""], "natrual_language": ["isToken", "-", "Is", "this", "a", "token", "operand", "?"], "TS_V_token": ["OR1K"], "File": "OR1KAsmParser1", "Func": "isToken", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2498, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMInstrInfo", "::", "PredicateInstruction", "(", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Pred", ")", "const", "{", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "ARM", "::", "B", "||", "Opc", "==", "ARM", "::", "tB", ")", "{", "MI", "->", "setDesc", "(", "get", "(", "Opc", "==", "ARM", "::", "B", "?", "ARM", "::", "Bcc", ":", "ARM", "::", "tBcc", ")", ")", ";", "MI", "->", "addOperand", "(", "MachineOperand", "::", "CreateImm", "(", "Pred", "[", "0", "]", ".", "getImm", "(", ")", ")", ")", ";", "MI", "->", "addOperand", "(", "MachineOperand", "::", "CreateReg", "(", "Pred", "[", "1", "]", ".", "getReg", "(", ")", ",", "false", ")", ")", ";", "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", "(", ")", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Convert", "the", "instruction", "into", "a", "predicated", "instruction", "."], "TS_V_token": ["ARM", "ARM", "ARM::B", "ARM::tB", "ARM::B", "ARM::Bcc", "ARM::tBcc", "0", "1", "1", "0", "1", "1"], "File": "ARMInstrInfo14", "Func": "PredicateInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2499, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "VERegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "Register", "ReservedRegs", "[", "]", "=", "{", "VE", "::", "SX8", ",", "VE", "::", "SX9", ",", "VE", "::", "SX10", ",", "VE", "::", "SX11", ",", "VE", "::", "SX12", ",", "VE", "::", "SX13", ",", "VE", "::", "SX14", ",", "VE", "::", "SX15", ",", "VE", "::", "SX16", ",", "VE", "::", "SX17", ",", "}", ";", "for", "(", "auto", "R", ":", "ReservedRegs", ")", "for", "(", "MCRegAliasIterator", "ItAlias", "(", "R", ",", "this", ",", "true", ")", ";", "ItAlias", ".", "isValid", "(", ")", ";", "++", "ItAlias", ")", "Reserved", ".", "set", "(", "*", "ItAlias", ")", ";", "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": ["VE", "VE", "VE::SX8", "VE::SX9", "VE::SX10", "VE::SX11", "VE::SX12", "VE::SX13", "VE::SX14", "VE::SX15", "VE::SX16", "VE::SX17"], "File": "VERegisterInfo", "Func": "getReservedRegs", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2500, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "iq2000_can_use_return_insn", "(", "void", ")", "{", "if", "(", "!", "reload_completed", ")", "return", "0", ";", "if", "(", "regs_ever_live", "[", "31", "]", "||", "profile_flag", ")", "return", "0", ";", "if", "(", "cfun", "->", "machine", "->", "initialized", ")", "return", "cfun", "->", "machine", "->", "total_size", "==", "0", ";", "return", "compute_frame_size", "(", "get_frame_size", "(", ")", ")", "==", "0", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "this", "function", "is", "known", "to", "have", "a", "null", "epilogue", ".", "This", "allows", "the", "optimizer", "to", "omit", "jumps", "to", "jumps", "if", "no", "stack", "was", "created", "."], "TS_V_token": ["iq2000", "0", "31", "0", "0", "0"], "File": "iq20002", "Func": "iq2000_can_use_return_insn", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2501, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_assemble_integer", "(", "rtx", "x", ",", "unsigned", "int", "size", ",", "int", "aligned_p", ")", "{", "machine_mode", "mode", ";", "if", "(", "size", "==", "UNITS_PER_WORD", "&&", "aligned_p", ")", "{", "fputs", "(", "\"\\t.word\\t\"", ",", "asm_out_file", ")", ";", "output_addr_const", "(", "asm_out_file", ",", "x", ")", ";", "if", "(", "NEED_GOT_RELOC", "&&", "flag_pic", "&&", "making_const_table", "&&", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", ")", ")", "{", "if", "(", "!", "arm_pic_data_is_text_relative", "||", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "(", "!", "SYMBOL_REF_LOCAL_P", "(", "x", ")", "||", "(", "SYMBOL_REF_DECL", "(", "x", ")", "?", "DECL_WEAK", "(", "SYMBOL_REF_DECL", "(", "x", ")", ")", ":", "0", ")", ")", ")", ")", "fputs", "(", "\"(GOT)\"", ",", "asm_out_file", ")", ";", "else", "fputs", "(", "\"(GOTOFF)\"", ",", "asm_out_file", ")", ";", "}", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "return", "true", ";", "}", "mode", "=", "GET_MODE", "(", "x", ")", ";", "if", "(", "arm_vector_mode_supported_p", "(", "mode", ")", ")", "{", "int", "i", ",", "units", ";", "gcc_assert", "(", "GET_CODE", "(", "x", ")", "==", "CONST_VECTOR", ")", ";", "units", "=", "CONST_VECTOR_NUNITS", "(", "x", ")", ";", "size", "=", "GET_MODE_UNIT_SIZE", "(", "mode", ")", ";", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_INT", ")", "for", "(", "i", "=", "0", ";", "i", "<", "units", ";", "i", "++", ")", "{", "rtx", "elt", "=", "CONST_VECTOR_ELT", "(", "x", ",", "i", ")", ";", "assemble_integer", "(", "elt", ",", "size", ",", "i", "==", "0", "?", "BIGGEST_ALIGNMENT", ":", "size", "*", "BITS_PER_UNIT", ",", "1", ")", ";", "}", "else", "for", "(", "i", "=", "0", ";", "i", "<", "units", ";", "i", "++", ")", "{", "rtx", "elt", "=", "CONST_VECTOR_ELT", "(", "x", ",", "i", ")", ";", "assemble_real", "(", "*", "CONST_DOUBLE_REAL_VALUE", "(", "elt", ")", ",", "as_a", "<", "scalar_float_mode", ">", "(", "GET_MODE_INNER", "(", "mode", ")", ")", ",", "i", "==", "0", "?", "BIGGEST_ALIGNMENT", ":", "size", "*", "BITS_PER_UNIT", ")", ";", "}", "return", "true", ";", "}", "return", "default_assemble_integer", "(", "x", ",", "size", ",", "aligned_p", ")", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "assembling", "integer", "objects", ".", "The", "ARM", "version", "needs", "to", "handle", "word-sized", "values", "specially", "."], "TS_V_token": ["arm", "\"\\t.word\\t\"", "0", "\"(GOT)\"", "\"(GOTOFF)\"", "0", "0", "1", "0", "0"], "File": "arm7", "Func": "arm_assemble_integer", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2502, "Length": 300, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "TargetFrameInfo", "*", "getFrameInfo", "(", ")", "const", "{", "return", "&", "FrameInfo", ";", "}", ""], "natrual_language": ["getFrameInfo", "-", "Return", "the", "frame", "info", "object", "for", "the", "current", "function", "."], "TS_V_token": ["Sparc"], "File": "SparcTargetMachine11", "Func": "getFrameInfo", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2503, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getReg", "(", ")", "const", "override", "{", "assert", "(", "Kind", "==", "KindReg", "&&", "\"Not a register\"", ")", ";", "return", "Reg", ".", "Num", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["SystemZ", "\"Not a register\""], "File": "SystemZAsmParser (2)", "Func": "getReg", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2504, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSymbol", "*", "AArch64AsmPrinter", "::", "GetCPISymbol", "(", "unsigned", "CPID", ")", "const", "{", "if", "(", "!", "getDataLayout", "(", ")", ".", "getLinkerPrivateGlobalPrefix", "(", ")", ".", "empty", "(", ")", ")", "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": ["AArch64", "AArch64", "\"CPI\"", "\"_\"", "\"CPI\"", "\"_\""], "File": "AArch64AsmPrinter12", "Func": "GetCPISymbol", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2505, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "nds32_check_isr_attrs_conflict", "(", "tree", "func_decl", ",", "tree", "func_attrs", ")", "{", "int", "save_all_p", ",", "partial_save_p", ";", "int", "nested_p", ",", "not_nested_p", ",", "nested_ready_p", ";", "int", "intr_p", ",", "excp_p", ",", "reset_p", ";", "save_all_p", "=", "partial_save_p", "=", "0", ";", "nested_p", "=", "not_nested_p", "=", "nested_ready_p", "=", "0", ";", "intr_p", "=", "excp_p", "=", "reset_p", "=", "0", ";", "if", "(", "lookup_attribute", "(", "\"save_all\"", ",", "func_attrs", ")", ")", "save_all_p", "=", "1", ";", "if", "(", "lookup_attribute", "(", "\"partial_save\"", ",", "func_attrs", ")", ")", "partial_save_p", "=", "1", ";", "if", "(", "(", "save_all_p", "+", "partial_save_p", ")", ">", "1", ")", "error", "(", "\"multiple save reg attributes to function %qD\"", ",", "func_decl", ")", ";", "if", "(", "lookup_attribute", "(", "\"nested\"", ",", "func_attrs", ")", ")", "nested_p", "=", "1", ";", "if", "(", "lookup_attribute", "(", "\"not_nested\"", ",", "func_attrs", ")", ")", "not_nested_p", "=", "1", ";", "if", "(", "lookup_attribute", "(", "\"nested_ready\"", ",", "func_attrs", ")", ")", "nested_ready_p", "=", "1", ";", "if", "(", "(", "nested_p", "+", "not_nested_p", "+", "nested_ready_p", ")", ">", "1", ")", "error", "(", "\"multiple nested types attributes to function %qD\"", ",", "func_decl", ")", ";", "if", "(", "lookup_attribute", "(", "\"interrupt\"", ",", "func_attrs", ")", ")", "intr_p", "=", "1", ";", "if", "(", "lookup_attribute", "(", "\"exception\"", ",", "func_attrs", ")", ")", "excp_p", "=", "1", ";", "if", "(", "lookup_attribute", "(", "\"reset\"", ",", "func_attrs", ")", ")", "reset_p", "=", "1", ";", "if", "(", "(", "intr_p", "+", "excp_p", "+", "reset_p", ")", ">", "1", ")", "error", "(", "\"multiple interrupt attributes to function %qD\"", ",", "func_decl", ")", ";", "}", ""], "natrual_language": ["Function", "for", "nds32_merge_decl_attributes", "(", ")", "and", "nds32_insert_attributes", "(", ")", "to", "check", "if", "there", "are", "any", "conflict", "isr-specific", "attributes", "being", "set", ".", "We", "need", "to", "check", ":", "1", ".", "Only", "'save_all", "'", "or", "'partial_save", "'", "in", "the", "attributes", ".", "2", ".", "Only", "'nested", "'", ",", "'not_nested", "'", ",", "or", "'nested_ready", "'", "in", "the", "attributes", ".", "3", ".", "Only", "'interrupt", "'", ",", "'exception", "'", ",", "or", "'reset", "'", "in", "the", "attributes", "."], "TS_V_token": ["nds32", "0", "0", "0", "\"save_all\"", "1", "\"partial_save\"", "1", "1", "\"multiple save reg attributes to function %qD\"", "\"nested\"", "1", "\"not_nested\"", "1", "\"nested_ready\"", "1", "1", "\"multiple nested types attributes to function %qD\"", "\"interrupt\"", "1", "\"exception\"", "1", "\"reset\"", "1", "1", "\"multiple interrupt attributes to function %qD\""], "File": "nds32-isr2", "Func": "nds32_check_isr_attrs_conflict", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2506, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "IA64InstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["IA64", "IA64"], "File": "IA64TargetMachine", "Func": "getInstrInfo", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2507, "Length": 14, "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": 2508, "Length": 66, "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", "=", "getMipsRegisterNumbering", "(", "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", "(", ")", ")", ";", "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", ")", ";", "Mips", "::", "Fixups", "FixupKind", "=", "Mips", "::", "Fixups", "(", "0", ")", ";", "switch", "(", "cast", "<", "MCSymbolRefExpr", ">", "(", "Expr", ")", "->", "getKind", "(", ")", ")", "{", "case", "MCSymbolRefExpr", "::", "VK_Mips_GPREL", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_GPREL16", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_GOT_CALL", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_CALL16", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_GOT16", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_GOT_Global", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_GOT", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_GOT_Local", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_ABS_HI", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_HI16", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_ABS_LO", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_LO16", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_TLSGD", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_TLSGD", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_TLSLDM", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_TLSLDM", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_DTPREL_HI", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_DTPREL_HI", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_DTPREL_LO", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_DTPREL_LO", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_GOTTPREL", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_GOTTPREL", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_TPREL_HI", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_TPREL_HI", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_TPREL_LO", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_TPREL_LO", ";", "break", ";", "default", ":", "break", ";", "}", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "0", ",", "MO", ".", "getExpr", "(", ")", ",", "MCFixupKind", "(", "FixupKind", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["Mips", "Mips", "Mips", "32", "Mips::Fixups", "Mips::Fixups", "0", "Mips", "Mips::fixup_Mips_GPREL16", "Mips", "Mips::fixup_Mips_CALL16", "Mips", "Mips::fixup_Mips_GOT_Global", "Mips", "Mips::fixup_Mips_GOT_Local", "Mips", "Mips::fixup_Mips_HI16", "Mips", "Mips::fixup_Mips_LO16", "Mips", "Mips::fixup_Mips_TLSGD", "Mips", "Mips::fixup_Mips_TLSLDM", "Mips", "Mips::fixup_Mips_DTPREL_HI", "Mips", "Mips::fixup_Mips_DTPREL_LO", "Mips", "Mips::fixup_Mips_GOTTPREL", "Mips", "Mips::fixup_Mips_TPREL_HI", "Mips", "Mips::fixup_Mips_TPREL_LO", "0", "0"], "File": "MipsMCCodeEmitter46", "Func": "getMachineOpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2509, "Length": 420, "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": 2510, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64ConditionalCompares", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** AArch64 Conditional Compares **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "SchedModel", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getSchedModel", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "DomTree", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "Loops", "=", "getAnalysisIfAvailable", "<", "MachineLoopInfo", ">", "(", ")", ";", "MBPI", "=", "&", "getAnalysis", "<", "MachineBranchProbabilityInfo", ">", "(", ")", ";", "Traces", "=", "&", "getAnalysis", "<", "MachineTraceMetrics", ">", "(", ")", ";", "MinInstr", "=", "nullptr", ";", "MinSize", "=", "MF", ".", "getFunction", "(", ")", "->", "optForMinSize", "(", ")", ";", "bool", "Changed", "=", "false", ";", "CmpConv", ".", "runOnMachineFunction", "(", "MF", ",", "MBPI", ")", ";", "for", "(", "auto", "*", "I", ":", "depth_first", "(", "DomTree", ")", ")", "if", "(", "tryConvert", "(", "I", "->", "getBlock", "(", ")", ")", ")", "Changed", "=", "true", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"********** AArch64 Conditional Compares **********\\n\"", "\"********** Function: \""], "File": "AArch64ConditionalCompares20", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2511, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "maybe_unlink", "(", "const", "char", "*", "file", ")", "{", "if", "(", "debug", ")", "notice", "(", "\"[Leaving %s]\\n\"", ",", "file", ")", ";", "else", "unlink_if_ordinary", "(", "file", ")", ";", "}", ""], "natrual_language": ["Unlink", "a", "temporary", "file", "unless", "requested", "otherwise", "."], "TS_V_token": ["i386", "\"[Leaving %s]\\n\""], "File": "intelmic-mkoffload2", "Func": "maybe_unlink", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2512, "Length": 27, "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": 2513, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_expand_extract_even", "(", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "machine_mode", "vmode", "=", "GET_MODE", "(", "target", ")", ";", "unsigned", "i", ",", "nelt", "=", "GET_MODE_NUNITS", "(", "vmode", ")", ";", "vec_perm_builder", "perm", "(", "nelt", ",", "nelt", ",", "1", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "i", "++", ")", "perm", ".", "quick_push", "(", "i", "*", "2", ")", ";", "rs6000_do_expand_vec_perm", "(", "target", ",", "op0", ",", "op1", ",", "vmode", ",", "perm", ")", ";", "}", ""], "natrual_language": ["Expand", "an", "extract", "even", "operation", "."], "TS_V_token": ["rs6000", "1", "0", "2"], "File": "rs6000", "Func": "rs6000_expand_extract_even", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2514, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMFrameInfo", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "if", "(", "STI", ".", "isTargetDarwin", "(", ")", ")", "return", "true", ";", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "(", "(", "DisableFramePointerElim", "(", "MF", ")", "&&", "MFI", "->", "hasCalls", "(", ")", ")", "||", "RegInfo", "->", "needsStackRealignment", "(", "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": "ARMFrameInfo", "Func": "hasFP", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2515, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "pru_register_pragmas", "(", "void", ")", "{", "c_register_pragma", "(", "NULL", ",", "\"ctable_entry\"", ",", "pru_pragma_ctable_entry", ")", ";", "c_register_pragma", "(", "NULL", ",", "\"CTABLE_ENTRY\"", ",", "pru_pragma_ctable_entry", ")", ";", "c_register_addr_space", "(", "\"__regio_symbol\"", ",", "ADDR_SPACE_REGIO", ")", ";", "}", ""], "natrual_language": ["Implements", "REGISTER_TARGET_PRAGMAS", "."], "TS_V_token": ["pru", "\"ctable_entry\"", "\"CTABLE_ENTRY\"", "\"__regio_symbol\""], "File": "pru-pragma", "Func": "pru_register_pragmas", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2516, "Length": 32, "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", "{", "if", "(", "Subtarget", "->", "isThumb1Only", "(", ")", ")", "return", "false", ";", "const", "bool", "restrict_addressing_modes_for_nacl", "=", "Subtarget", "->", "isTargetNaCl", "(", ")", "&&", "isa", "<", "MemSDNode", ">", "(", "N", ")", ";", "if", "(", "restrict_addressing_modes_for_nacl", ")", "{", "return", "false", ";", "}", "EVT", "VT", ";", "SDValue", "Ptr", ";", "bool", "isSEXTLoad", "=", "false", ";", "if", "(", "LoadSDNode", "*", "LD", "=", "dyn_cast", "<", "LoadSDNode", ">", "(", "N", ")", ")", "{", "VT", "=", "LD", "->", "getMemoryVT", "(", ")", ";", "Ptr", "=", "LD", "->", "getBasePtr", "(", ")", ";", "isSEXTLoad", "=", "LD", "->", "getExtensionType", "(", ")", "==", "ISD", "::", "SEXTLOAD", ";", "}", "else", "if", "(", "StoreSDNode", "*", "ST", "=", "dyn_cast", "<", "StoreSDNode", ">", "(", "N", ")", ")", "{", "VT", "=", "ST", "->", "getMemoryVT", "(", ")", ";", "Ptr", "=", "ST", "->", "getBasePtr", "(", ")", ";", "}", "else", "return", "false", ";", "bool", "isInc", ";", "bool", "isLegal", "=", "false", ";", "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", "ARM", "ISD::ADD", "ISD::POST_INC", "ISD::POST_DEC"], "File": "ARMISelLowering36", "Func": "getPostIndexedAddressParts", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2517, "Length": 291, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isStackIdSafeForLocalArea", "(", "unsigned", "StackId", ")", "const", "override", "{", "return", "StackId", "!=", "TargetStackID", "::", "SVEVector", ";", "}", ""], "natrual_language": ["This", "method", "returns", "whether", "or", "not", "it", "is", "safe", "for", "an", "object", "with", "the", "given", "stack", "id", "to", "be", "bundled", "into", "the", "local", "area", "."], "TS_V_token": ["AArch64"], "File": "AArch64FrameLowering16", "Func": "isStackIdSafeForLocalArea", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2518, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "expand_set_or_cpymem_constant_prologue", "(", "rtx", "dst", ",", "rtx", "*", "srcp", ",", "rtx", "destreg", ",", "rtx", "srcreg", ",", "rtx", "value", ",", "rtx", "vec_value", ",", "int", "desired_align", ",", "int", "align_bytes", ",", "bool", "issetmem", ")", "{", "rtx", "src", "=", "NULL", ";", "rtx", "orig_dst", "=", "dst", ";", "rtx", "orig_src", "=", "NULL", ";", "int", "piece_size", "=", "1", ";", "int", "copied_bytes", "=", "0", ";", "if", "(", "!", "issetmem", ")", "{", "gcc_assert", "(", "srcp", "!=", "NULL", ")", ";", "src", "=", "*", "srcp", ";", "orig_src", "=", "src", ";", "}", "for", "(", "piece_size", "=", "1", ";", "piece_size", "<=", "desired_align", "&&", "copied_bytes", "<", "align_bytes", ";", "piece_size", "<<=", "1", ")", "{", "if", "(", "align_bytes", "&", "piece_size", ")", "{", "if", "(", "issetmem", ")", "{", "if", "(", "vec_value", "&&", "piece_size", ">", "GET_MODE_SIZE", "(", "GET_MODE", "(", "value", ")", ")", ")", "dst", "=", "emit_memset", "(", "dst", ",", "destreg", ",", "vec_value", ",", "piece_size", ")", ";", "else", "dst", "=", "emit_memset", "(", "dst", ",", "destreg", ",", "value", ",", "piece_size", ")", ";", "}", "else", "dst", "=", "emit_memmov", "(", "dst", ",", "&", "src", ",", "destreg", ",", "srcreg", ",", "piece_size", ")", ";", "copied_bytes", "+=", "piece_size", ";", "}", "}", "if", "(", "MEM_ALIGN", "(", "dst", ")", "<", "(", "unsigned", "int", ")", "desired_align", "*", "BITS_PER_UNIT", ")", "set_mem_align", "(", "dst", ",", "desired_align", "*", "BITS_PER_UNIT", ")", ";", "if", "(", "MEM_SIZE_KNOWN_P", "(", "orig_dst", ")", ")", "set_mem_size", "(", "dst", ",", "MEM_SIZE", "(", "orig_dst", ")", "-", "align_bytes", ")", ";", "if", "(", "!", "issetmem", ")", "{", "int", "src_align_bytes", "=", "get_mem_align_offset", "(", "src", ",", "desired_align", "*", "BITS_PER_UNIT", ")", ";", "if", "(", "src_align_bytes", ">=", "0", ")", "src_align_bytes", "=", "desired_align", "-", "src_align_bytes", ";", "if", "(", "src_align_bytes", ">=", "0", ")", "{", "unsigned", "int", "src_align", ";", "for", "(", "src_align", "=", "desired_align", ";", "src_align", ">=", "2", ";", "src_align", ">>=", "1", ")", "{", "if", "(", "(", "src_align_bytes", "&", "(", "src_align", "-", "1", ")", ")", "==", "(", "align_bytes", "&", "(", "src_align", "-", "1", ")", ")", ")", "break", ";", "}", "if", "(", "src_align", ">", "(", "unsigned", "int", ")", "desired_align", ")", "src_align", "=", "desired_align", ";", "if", "(", "MEM_ALIGN", "(", "src", ")", "<", "src_align", "*", "BITS_PER_UNIT", ")", "set_mem_align", "(", "src", ",", "src_align", "*", "BITS_PER_UNIT", ")", ";", "}", "if", "(", "MEM_SIZE_KNOWN_P", "(", "orig_src", ")", ")", "set_mem_size", "(", "src", ",", "MEM_SIZE", "(", "orig_src", ")", "-", "align_bytes", ")", ";", "*", "srcp", "=", "src", ";", "}", "return", "dst", ";", "}", ""], "natrual_language": ["This", "function", "is", "like", "the", "previous", "one", ",", "except", "here", "we", "know", "how", "many", "bytes", "need", "to", "be", "copied", ".", "That", "allows", "us", "to", "update", "alignment", "not", "only", "of", "DST", ",", "which", "is", "returned", ",", "but", "also", "of", "SRC", ",", "which", "is", "passed", "as", "a", "pointer", "for", "that", "reason", "."], "TS_V_token": ["i386", "1", "0", "1", "1", "0", "0", "2", "1", "1", "1"], "File": "i386-expand", "Func": "expand_set_or_cpymem_constant_prologue", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2519, "Length": 365, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetLowering", "::", "insertSSPDeclarations", "(", "Module", "&", "M", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "getTargetTriple", "(", ")", ".", "isWindowsMSVCEnvironment", "(", ")", ")", "return", "TargetLowering", "::", "insertSSPDeclarations", "(", "M", ")", ";", "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", "->", "addAttribute", "(", "1", ",", "Attribute", "::", "AttrKind", "::", "InReg", ")", ";", "}", ""], "natrual_language": ["Inserts", "necessary", "declarations", "for", "SSP", "(", "stack", "protection", ")", "purpose", "."], "TS_V_token": ["ARM", "ARM", "\"__security_cookie\"", "\"__security_check_cookie\"", "1"], "File": "ARMISelLowering (2)6", "Func": "insertSSPDeclarations", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2520, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "ia64_invalid_binary_op", "(", "int", "op", "ATTRIBUTE_UNUSED", ",", "const_tree", "type1", ",", "const_tree", "type2", ")", "{", "if", "(", "TYPE_MODE", "(", "type1", ")", "==", "RFmode", "||", "TYPE_MODE", "(", "type2", ")", "==", "RFmode", ")", "return", "N_", "(", "\"invalid operation on %<__fpreg%>\"", ")", ";", "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": ["ia64", "\"invalid operation on %<__fpreg%>\""], "File": "ia64", "Func": "ia64_invalid_binary_op", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2521, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ")", "{", "if", "(", "!", "mnemonicIsValid", "(", "Name", ",", "0", ")", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "NameLoc", ",", "\"Unknown instruction\"", ")", ";", "}", "Operands", ".", "push_back", "(", "MipsOperand", "::", "CreateToken", "(", "Name", ",", "NameLoc", ")", ")", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "ParseOperand", "(", "Operands", ",", "Name", ")", ")", "{", "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", "0", "\"Unknown instruction\"", "MipsOperand::CreateToken", "\"unexpected token in argument list\"", "\"unexpected token in argument list\"", "\"unexpected token in argument list\""], "File": "MipsAsmParser29", "Func": "ParseInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2522, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "addILPOpts", "(", ")", "{", "if", "(", "X86EarlyIfConv", "&&", "getX86Subtarget", "(", ")", ".", "hasCMov", "(", ")", ")", "{", "addPass", "(", "&", "EarlyIfConverterID", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Add", "passes", "that", "optimize", "instruction", "level", "parallelism", "for", "out-of-order", "targets", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86TargetMachine1", "Func": "addILPOpts", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2523, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86RegisterInfo", "::", "getRegAllocationHints", "(", "Register", "VirtReg", ",", "ArrayRef", "<", "MCPhysReg", ">", "Order", ",", "SmallVectorImpl", "<", "MCPhysReg", ">", "&", "Hints", ",", "const", "MachineFunction", "&", "MF", ",", "const", "VirtRegMap", "*", "VRM", ",", "const", "LiveRegMatrix", "*", "Matrix", ")", "const", "{", "const", "MachineRegisterInfo", "*", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "&", "RC", "=", "*", "MRI", "->", "getRegClass", "(", "VirtReg", ")", ";", "bool", "BaseImplRetVal", "=", "TargetRegisterInfo", "::", "getRegAllocationHints", "(", "VirtReg", ",", "Order", ",", "Hints", ",", "MF", ",", "VRM", ",", "Matrix", ")", ";", "if", "(", "RC", ".", "getID", "(", ")", "!=", "X86", "::", "TILERegClassID", ")", "return", "BaseImplRetVal", ";", "ShapeT", "VirtShape", "=", "getTileShape", "(", "VirtReg", ",", "const_cast", "<", "VirtRegMap", "*", ">", "(", "VRM", ")", ",", "MRI", ")", ";", "auto", "AddHint", "=", "[", "&", "]", "(", "MCPhysReg", "PhysReg", ")", "{", "Register", "VReg", "=", "Matrix", "->", "getOneVReg", "(", "PhysReg", ")", ";", "if", "(", "VReg", "==", "MCRegister", "::", "NoRegister", ")", "{", "Hints", ".", "push_back", "(", "PhysReg", ")", ";", "return", ";", "}", "ShapeT", "PhysShape", "=", "getTileShape", "(", "VReg", ",", "const_cast", "<", "VirtRegMap", "*", ">", "(", "VRM", ")", ",", "MRI", ")", ";", "if", "(", "PhysShape", "==", "VirtShape", ")", "Hints", ".", "push_back", "(", "PhysReg", ")", ";", "}", ";", "SmallSet", "<", "MCPhysReg", ",", "4", ">", "CopyHints", ";", "CopyHints", ".", "insert", "(", "Hints", ".", "begin", "(", ")", ",", "Hints", ".", "end", "(", ")", ")", ";", "Hints", ".", "clear", "(", ")", ";", "for", "(", "auto", "Hint", ":", "CopyHints", ")", "{", "if", "(", "RC", ".", "contains", "(", "Hint", ")", "&&", "!", "MRI", "->", "isReserved", "(", "Hint", ")", ")", "AddHint", "(", "Hint", ")", ";", "}", "for", "(", "MCPhysReg", "PhysReg", ":", "Order", ")", "{", "if", "(", "!", "CopyHints", ".", "count", "(", "PhysReg", ")", "&&", "RC", ".", "contains", "(", "PhysReg", ")", "&&", "!", "MRI", "->", "isReserved", "(", "PhysReg", ")", ")", "AddHint", "(", "PhysReg", ")", ";", "}", "LLVM_DEBUG", "(", "{", "dbgs", "(", ")", "<<", "\"Hints for virtual register \"", "<<", "format_hex", "(", "VirtReg", ",", "8", ")", "<<", "\"\\n\"", ";", "for", "(", "auto", "Hint", ":", "Hints", ")", "{", "dbgs", "(", ")", "<<", "\"tmm\"", "<<", "Hint", "<<", "\",\"", ";", "}", "dbgs", "(", ")", "<<", "\"\\n\"", ";", "}", ""], "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": ["X86", "X86", "X86::TILERegClassID", "4", "\"Hints for virtual register \"", "8", "\"\\n\"", "\"tmm\"", "\",\"", "\"\\n\""], "File": "X86RegisterInfo (2)1", "Func": "getRegAllocationHints", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2524, "Length": 336, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64TargetLowering", "::", "getVaListSizeInBits", "(", "const", "DataLayout", "&", "DL", ")", "const", "{", "if", "(", "Subtarget", "->", "isTargetDarwin", "(", ")", ")", "return", "getPointerTy", "(", "DL", ")", ".", "getSizeInBits", "(", ")", ";", "return", "3", "*", "getPointerTy", "(", "DL", ")", ".", "getSizeInBits", "(", ")", "+", "2", "*", "32", ";", "}", ""], "natrual_language": ["Returns", "the", "size", "of", "the", "platform", "'s", "va_list", "object", "."], "TS_V_token": ["AArch64", "AArch64", "3", "2", "32"], "File": "AArch64ISelLowering120", "Func": "getVaListSizeInBits", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2525, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mmix_file_start", "(", "void", ")", "{", "default_file_start", "(", ")", ";", "fputs", "(", "\"! mmixal:= 8H LOC Data_Section\\n\"", ",", "asm_out_file", ")", ";", "text_section", "(", ")", ";", "}", ""], "natrual_language": ["TARGET_ASM_FILE_START", ".", "We", "just", "emit", "a", "little", "comment", "for", "the", "time", "being", "."], "TS_V_token": ["mmix", "\"! mmixal:= 8H LOC Data_Section\\n\""], "File": "mmix3", "Func": "mmix_file_start", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2526, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCLoopPreIncPrep", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "LI", "=", "&", "getAnalysis", "<", "LoopInfoWrapperPass", ">", "(", ")", ".", "getLoopInfo", "(", ")", ";", "SE", "=", "&", "getAnalysis", "<", "ScalarEvolution", ">", "(", ")", ";", "bool", "MadeChange", "=", "false", ";", "for", "(", "LoopInfo", "::", "iterator", "I", "=", "LI", "->", "begin", "(", ")", ",", "E", "=", "LI", "->", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "Loop", "*", "L", "=", "*", "I", ";", "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"], "File": "PPCLoopPreIncPrep7", "Func": "runOnFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2527, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64RegisterInfo", "::", "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", "(", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", "->", "getParent", "(", ")", ";", "const", "AArch64InstrInfo", "*", "TII", "=", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "TII", "->", "get", "(", "AArch64", "::", "ADDXri", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MBB", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MRI", ".", "constrainRegClass", "(", "BaseReg", ",", "TII", "->", "getRegClass", "(", "MCID", ",", "0", ",", "this", ",", "MF", ")", ")", ";", "unsigned", "Shifter", "=", "AArch64_AM", "::", "getShifterImm", "(", "AArch64_AM", "::", "LSL", ",", "0", ")", ";", "BuildMI", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "MCID", ",", "BaseReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "Offset", ")", ".", "addImm", "(", "Shifter", ")", ";", "}", ""], "natrual_language": ["Insert", "defining", "instruction", "(", "s", ")", "for", "a", "pointer", "to", "FrameIdx", "before", "insertion", "point", "I", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64::ADDXri", "0", "AArch64_AM::getShifterImm", "AArch64_AM::LSL", "0"], "File": "AArch64RegisterInfo (2)", "Func": "materializeFrameBaseRegister", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2528, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "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", ":", "print_operand", "(", "file", ",", "addr", ".", "offset", ",", "0", ")", ";", "fprintf", "(", "file", ",", "\"(%s)\"", ",", "reg_names", "[", "REGNO", "(", "addr", ".", "reg", ")", "]", ")", ";", "return", ";", "case", "ADDRESS_LO_SUM", ":", "print_operand", "(", "file", ",", "addr", ".", "offset", ",", "'R'", ")", ";", "fprintf", "(", "file", ",", "\"(%s)\"", ",", "reg_names", "[", "REGNO", "(", "addr", ".", "reg", ")", "]", ")", ";", "return", ";", "case", "ADDRESS_CONST_INT", ":", "output_addr_const", "(", "file", ",", "x", ")", ";", "fprintf", "(", "file", ",", "\"(%s)\"", ",", "reg_names", "[", "0", "]", ")", ";", "return", ";", "case", "ADDRESS_SYMBOLIC", ":", "output_addr_const", "(", "file", ",", "x", ")", ";", "return", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Print", "the", "operand", "address", "represented", "by", "the", "rtx", "addr"], "TS_V_token": ["mips", "0", "\"(%s)\"", "\"(%s)\"", "\"(%s)\"", "0"], "File": "mips3", "Func": "print_operand_address", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2529, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "switch", "(", "Kind", ")", "{", "case", "k_Immediate", ":", "OS", "<<", "\"Imm<\"", ";", "OS", "<<", "*", "Imm", ".", "Val", ";", "OS", "<<", "\">\"", ";", "break", ";", "case", "k_Memory", ":", "OS", "<<", "\"Mem<\"", ";", "OS", "<<", "Mem", ".", "Base", ";", "OS", "<<", "\", \"", ";", "OS", "<<", "*", "Mem", ".", "Off", ";", "OS", "<<", "\">\"", ";", "break", ";", "case", "k_Register", ":", "OS", "<<", "\"Register<\"", "<<", "Reg", ".", "RegNum", "<<", "\">\"", ";", "break", ";", "case", "k_Token", ":", "OS", "<<", "Tok", ".", "Data", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["MINA32", "\"Imm<\"", "\">\"", "\"Mem<\"", "\", \"", "\">\"", "\"Register<\"", "\">\""], "File": "MINA32AsmParser", "Func": "print", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2530, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "getTgtMemIntrinsic", "(", "IntrinsicInfo", "&", "Info", ",", "const", "CallInst", "&", "I", ",", "unsigned", "Intrinsic", ")", "const", "{", "switch", "(", "Intrinsic", ")", "{", "case", "Intrinsic", "::", "arm_neon_vld1", ":", "case", "Intrinsic", "::", "arm_neon_vld2", ":", "case", "Intrinsic", "::", "arm_neon_vld3", ":", "case", "Intrinsic", "::", "arm_neon_vld4", ":", "case", "Intrinsic", "::", "aarch64_neon_vld1x2", ":", "case", "Intrinsic", "::", "aarch64_neon_vld1x3", ":", "case", "Intrinsic", "::", "aarch64_neon_vld1x4", ":", "case", "Intrinsic", "::", "arm_neon_vld2lane", ":", "case", "Intrinsic", "::", "arm_neon_vld3lane", ":", "case", "Intrinsic", "::", "arm_neon_vld4lane", ":", "{", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_W_CHAIN", ";", "uint64_t", "NumElts", "=", "getDataLayout", "(", ")", "->", "getTypeAllocSize", "(", "I", ".", "getType", "(", ")", ")", "/", "8", ";", "Info", ".", "memVT", "=", "EVT", "::", "getVectorVT", "(", "I", ".", "getType", "(", ")", "->", "getContext", "(", ")", ",", "MVT", "::", "i64", ",", "NumElts", ")", ";", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "0", ")", ";", "Info", ".", "offset", "=", "0", ";", "Value", "*", "AlignArg", "=", "I", ".", "getArgOperand", "(", "I", ".", "getNumArgOperands", "(", ")", "-", "1", ")", ";", "Info", ".", "align", "=", "cast", "<", "ConstantInt", ">", "(", "AlignArg", ")", "->", "getZExtValue", "(", ")", ";", "Info", ".", "vol", "=", "false", ";", "Info", ".", "readMem", "=", "true", ";", "Info", ".", "writeMem", "=", "false", ";", "return", "true", ";", "}", "case", "Intrinsic", "::", "arm_neon_vst1", ":", "case", "Intrinsic", "::", "arm_neon_vst2", ":", "case", "Intrinsic", "::", "arm_neon_vst3", ":", "case", "Intrinsic", "::", "arm_neon_vst4", ":", "case", "Intrinsic", "::", "aarch64_neon_vst1x2", ":", "case", "Intrinsic", "::", "aarch64_neon_vst1x3", ":", "case", "Intrinsic", "::", "aarch64_neon_vst1x4", ":", "case", "Intrinsic", "::", "arm_neon_vst2lane", ":", "case", "Intrinsic", "::", "arm_neon_vst3lane", ":", "case", "Intrinsic", "::", "arm_neon_vst4lane", ":", "{", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_VOID", ";", "unsigned", "NumElts", "=", "0", ";", "for", "(", "unsigned", "ArgI", "=", "1", ",", "ArgE", "=", "I", ".", "getNumArgOperands", "(", ")", ";", "ArgI", "<", "ArgE", ";", "++", "ArgI", ")", "{", "Type", "*", "ArgTy", "=", "I", ".", "getArgOperand", "(", "ArgI", ")", "->", "getType", "(", ")", ";", "if", "(", "!", "ArgTy", "->", "isVectorTy", "(", ")", ")", "break", ";", "NumElts", "+=", "getDataLayout", "(", ")", "->", "getTypeAllocSize", "(", "ArgTy", ")", "/", "8", ";", "}", "Info", ".", "memVT", "=", "EVT", "::", "getVectorVT", "(", "I", ".", "getType", "(", ")", "->", "getContext", "(", ")", ",", "MVT", "::", "i64", ",", "NumElts", ")", ";", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "0", ")", ";", "Info", ".", "offset", "=", "0", ";", "Value", "*", "AlignArg", "=", "I", ".", "getArgOperand", "(", "I", ".", "getNumArgOperands", "(", ")", "-", "1", ")", ";", "Info", ".", "align", "=", "cast", "<", "ConstantInt", ">", "(", "AlignArg", ")", "->", "getZExtValue", "(", ")", ";", "Info", ".", "vol", "=", "false", ";", "Info", ".", "readMem", "=", "false", ";", "Info", ".", "writeMem", "=", "true", ";", "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": ["AArch64", "AArch64", "Intrinsic::arm_neon_vld1", "Intrinsic::arm_neon_vld2", "Intrinsic::arm_neon_vld3", "Intrinsic::arm_neon_vld4", "Intrinsic::aarch64_neon_vld1x2", "Intrinsic::aarch64_neon_vld1x3", "Intrinsic::aarch64_neon_vld1x4", "Intrinsic::arm_neon_vld2lane", "Intrinsic::arm_neon_vld3lane", "Intrinsic::arm_neon_vld4lane", "ISD::INTRINSIC_W_CHAIN", "8", "MVT::i64", "0", "0", "1", "Intrinsic::arm_neon_vst1", "Intrinsic::arm_neon_vst2", "Intrinsic::arm_neon_vst3", "Intrinsic::arm_neon_vst4", "Intrinsic::aarch64_neon_vst1x2", "Intrinsic::aarch64_neon_vst1x3", "Intrinsic::aarch64_neon_vst1x4", "Intrinsic::arm_neon_vst2lane", "Intrinsic::arm_neon_vst3lane", "Intrinsic::arm_neon_vst4lane", "ISD::INTRINSIC_VOID", "0", "1", "8", "MVT::i64", "0", "0", "1"], "File": "AArch64ISelLowering109", "Func": "getTgtMemIntrinsic", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2531, "Length": 431, "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": 2532, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "v9_regcmp_p", "(", "enum", "rtx_code", "code", ")", "{", "return", "(", "code", "==", "EQ", "||", "code", "==", "NE", "||", "code", "==", "GE", "||", "code", "==", "LT", "||", "code", "==", "LE", "||", "code", "==", "GT", ")", ";", "}", ""], "natrual_language": ["Nonzero", "if", "CODE", ",", "a", "comparison", ",", "is", "suitable", "for", "use", "in", "v9", "conditional", "move", "or", "branch", "on", "register", "contents", "instructions", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "v9_regcmp_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2533, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "requiresRegisterScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "LLVM_OVERRIDE", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "requires", "(", "and", "can", "make", "use", "of", ")", "the", "register", "scavenger", "."], "TS_V_token": ["SystemZ"], "File": "SystemZRegisterInfo3", "Func": "requiresRegisterScavenging", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2534, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TOYInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "if", "(", "TOY", "::", "GRRegsRegClass", ".", "contains", "(", "DestReg", ")", "&&", "TOY", "::", "GRRegsRegClass", ".", "contains", "(", "SrcReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "TOY", "::", "ADDri", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addImm", "(", "0", ")", ";", "return", ";", "}", "else", "{", "llvm_unreachable", "(", "\"COPY with other register classes is not supported\"", ")", ";", "}", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["TOY", "TOY", "TOY::GRRegsRegClass", "TOY::GRRegsRegClass", "TOY::ADDri", "0", "\"COPY with other register classes is not supported\""], "File": "TOYInstrInfo", "Func": "copyPhysReg", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2535, "Length": 89, "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", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "for", "(", "auto", "RPII", "=", "RegPairs", ".", "rbegin", "(", ")", ",", "RPIE", "=", "RegPairs", ".", "rend", "(", ")", ";", "RPII", "!=", "RPIE", ";", "++", "RPII", ")", "{", "RegPairInfo", "RPI", "=", "*", "RPII", ";", "unsigned", "Reg1", "=", "RPI", ".", "Reg1", ";", "unsigned", "Reg2", "=", "RPI", ".", "Reg2", ";", "unsigned", "StrOpc", ";", "if", "(", "RPI", ".", "IsGPR", ")", "StrOpc", "=", "RPI", ".", "isPaired", "(", ")", "?", "AArch64", "::", "STPXi", ":", "AArch64", "::", "STRXui", ";", "else", "StrOpc", "=", "RPI", ".", "isPaired", "(", ")", "?", "AArch64", "::", "STPDi", ":", "AArch64", "::", "STRDui", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"CSR spill: (\"", "<<", "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", "(", "StrOpc", ")", ")", ";", "if", "(", "!", "MRI", ".", "isReserved", "(", "Reg1", ")", ")", "MBB", ".", "addLiveIn", "(", "Reg1", ")", ";", "if", "(", "RPI", ".", "isPaired", "(", ")", ")", "{", "if", "(", "!", "MRI", ".", "isReserved", "(", "Reg2", ")", ")", "MBB", ".", "addLiveIn", "(", "Reg2", ")", ";", "MIB", ".", "addReg", "(", "Reg2", ",", "getPrologueDeath", "(", "MF", ",", "Reg2", ")", ")", ";", "MIB", ".", "addMemOperand", "(", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "RPI", ".", "FrameIdx", "+", "1", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "8", ",", "8", ")", ")", ";", "}", "MIB", ".", "addReg", "(", "Reg1", ",", "getPrologueDeath", "(", "MF", ",", "Reg1", ")", ")", ".", "addReg", "(", "AArch64", "::", "SP", ")", ".", "addImm", "(", "RPI", ".", "Offset", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "MIB", ".", "addMemOperand", "(", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "RPI", ".", "FrameIdx", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "8", ",", "8", ")", ")", ";", "}", "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::STPXi", "AArch64::STRXui", "AArch64::STPDi", "AArch64::STRDui", "\"CSR spill: (\"", "\", \"", "\") -> fi#(\"", "\", \"", "1", "\")\\n\"", "1", "8", "8", "AArch64::SP", "8", "8"], "File": "AArch64FrameLowering28", "Func": "spillCalleeSavedRegisters", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2536, "Length": 430, "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": 2537, "Length": 267, "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": 2538, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCRegisterInfo", "::", "lowerACCSpilling", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "unsigned", "FrameIndex", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "Register", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "bool", "IsKilled", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "isKill", "(", ")", ";", "bool", "IsPrimed", "=", "PPC", "::", "ACCRCRegClass", ".", "contains", "(", "SrcReg", ")", ";", "Register", "Reg", "=", "PPC", "::", "VSRp0", "+", "(", "SrcReg", "-", "(", "IsPrimed", "?", "PPC", "::", "ACC0", ":", "PPC", "::", "UACC0", ")", ")", "*", "2", ";", "bool", "IsLittleEndian", "=", "Subtarget", ".", "isLittleEndian", "(", ")", ";", "emitAccSpillRestoreInfo", "(", "MBB", ",", "IsPrimed", ",", "false", ")", ";", "if", "(", "IsPrimed", ")", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "TII", ".", "get", "(", "PPC", "::", "XXMFACC", ")", ",", "SrcReg", ")", ".", "addReg", "(", "SrcReg", ")", ";", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "TII", ".", "get", "(", "PPC", "::", "STXVP", ")", ")", ".", "addReg", "(", "Reg", ",", "getKillRegState", "(", "IsKilled", ")", ")", ",", "FrameIndex", ",", "IsLittleEndian", "?", "32", ":", "0", ")", ";", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "TII", ".", "get", "(", "PPC", "::", "STXVP", ")", ")", ".", "addReg", "(", "Reg", "+", "1", ",", "getKillRegState", "(", "IsKilled", ")", ")", ",", "FrameIndex", ",", "IsLittleEndian", "?", "0", ":", "32", ")", ";", "if", "(", "IsPrimed", "&&", "!", "IsKilled", ")", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "TII", ".", "get", "(", "PPC", "::", "XXMTACC", ")", ",", "SrcReg", ")", ".", "addReg", "(", "SrcReg", ")", ";", "MBB", ".", "erase", "(", "II", ")", ";", "}", ""], "natrual_language": ["lowerACCSpilling", "-", "Generate", "the", "code", "for", "spilling", "the", "accumulator", "register", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "0", "0", "PPC::ACCRCRegClass", "PPC::VSRp0", "PPC::ACC0", "PPC::UACC0", "2", "PPC::XXMFACC", "PPC::STXVP", "32", "0", "PPC::STXVP", "1", "0", "32", "PPC::XXMTACC"], "File": "PPCRegisterInfo (2)3", "Func": "lowerACCSpilling", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2539, "Length": 311, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getSymbol", "(", ")", "const", "{", "return", "S", ";", "}", ""], "natrual_language": ["Get", "the", "target", "address", "and", "flags", "for", "the", "named", "symbol", "."], "TS_V_token": ["ARM"], "File": "ARMConstantPoolValue10", "Func": "getSymbol", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2540, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "addExpr", "(", "MCInst", "&", "Inst", ",", "const", "MCExpr", "*", "Expr", ")", "const", "{", "if", "(", "Expr", "==", "0", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "0", ")", ")", ";", "else", "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": ["Mips", "0", "0"], "File": "MipsAsmParser102", "Func": "addExpr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2541, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LanaiSelectionDAGInfo", "::", "EmitTargetCodeForMemcpy", "(", "SelectionDAG", "&", "DAG", ",", "SDLoc", "dl", ",", "SDValue", "Chain", ",", "SDValue", "Dst", ",", "SDValue", "Src", ",", "SDValue", "Size", ",", "unsigned", "Align", ",", "bool", "isVolatile", ",", "bool", "AlwaysInline", ",", "MachinePointerInfo", "DstPtrInfo", ",", "MachinePointerInfo", "SrcPtrInfo", ")", "const", "{", "ConstantSDNode", "*", "ConstantSize", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Size", ")", ";", "if", "(", "!", "ConstantSize", ")", "return", "SDValue", "(", ")", ";", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memcpy", "."], "TS_V_token": ["Lanai", "Lanai"], "File": "LanaiSelectionDAGInfo6", "Func": "EmitTargetCodeForMemcpy", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2542, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ix86_data_alignment", "(", "tree", "type", ",", "int", "align", ",", "bool", "opt", ")", "{", "int", "max_align_compat", "=", "MIN", "(", "256", ",", "MAX_OFILE_ALIGNMENT", ")", ";", "int", "max_align", "=", "MIN", "(", "(", "unsigned", ")", "ix86_tune_cost", "->", "prefetch_block", "*", "8", ",", "MAX_OFILE_ALIGNMENT", ")", ";", "if", "(", "max_align", "<", "BITS_PER_WORD", ")", "max_align", "=", "BITS_PER_WORD", ";", "switch", "(", "ix86_align_data_type", ")", "{", "case", "ix86_align_data_type_abi", ":", "opt", "=", "false", ";", "break", ";", "case", "ix86_align_data_type_compat", ":", "max_align", "=", "BITS_PER_WORD", ";", "break", ";", "case", "ix86_align_data_type_cacheline", ":", "break", ";", "}", "if", "(", "TARGET_IAMCU", ")", "align", "=", "iamcu_alignment", "(", "type", ",", "align", ")", ";", "if", "(", "opt", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "TYPE_SIZE", "(", "type", ")", "&&", "TREE_CODE", "(", "TYPE_SIZE", "(", "type", ")", ")", "==", "INTEGER_CST", ")", "{", "if", "(", "wi", "::", "geu_p", "(", "TYPE_SIZE", "(", "type", ")", ",", "max_align_compat", ")", "&&", "align", "<", "max_align_compat", ")", "align", "=", "max_align_compat", ";", "if", "(", "wi", "::", "geu_p", "(", "TYPE_SIZE", "(", "type", ")", ",", "max_align", ")", "&&", "align", "<", "max_align", ")", "align", "=", "max_align", ";", "}", "if", "(", "TARGET_64BIT", ")", "{", "if", "(", "(", "opt", "?", "AGGREGATE_TYPE_P", "(", "type", ")", ":", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", ")", "&&", "TYPE_SIZE", "(", "type", ")", "&&", "TREE_CODE", "(", "TYPE_SIZE", "(", "type", ")", ")", "==", "INTEGER_CST", "&&", "wi", "::", "geu_p", "(", "TYPE_SIZE", "(", "type", ")", ",", "128", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "if", "(", "!", "opt", ")", "return", "align", ";", "if", "(", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", ")", "{", "if", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "type", ")", ")", "==", "DFmode", "&&", "align", "<", "64", ")", "return", "64", ";", "if", "(", "ALIGN_MODE_128", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "type", ")", ")", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "else", "if", "(", "TREE_CODE", "(", "type", ")", "==", "COMPLEX_TYPE", ")", "{", "if", "(", "TYPE_MODE", "(", "type", ")", "==", "DCmode", "&&", "align", "<", "64", ")", "return", "64", ";", "if", "(", "(", "TYPE_MODE", "(", "type", ")", "==", "XCmode", "||", "TYPE_MODE", "(", "type", ")", "==", "TCmode", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "else", "if", "(", "(", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "UNION_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "QUAL_UNION_TYPE", ")", "&&", "TYPE_FIELDS", "(", "type", ")", ")", "{", "if", "(", "DECL_MODE", "(", "TYPE_FIELDS", "(", "type", ")", ")", "==", "DFmode", "&&", "align", "<", "64", ")", "return", "64", ";", "if", "(", "ALIGN_MODE_128", "(", "DECL_MODE", "(", "TYPE_FIELDS", "(", "type", ")", ")", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "else", "if", "(", "TREE_CODE", "(", "type", ")", "==", "REAL_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "INTEGER_TYPE", ")", "{", "if", "(", "TYPE_MODE", "(", "type", ")", "==", "DFmode", "&&", "align", "<", "64", ")", "return", "64", ";", "if", "(", "ALIGN_MODE_128", "(", "TYPE_MODE", "(", "type", ")", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "return", "align", ";", "}", ""], "natrual_language": ["Compute", "the", "alignment", "for", "a", "static", "variable", ".", "TYPE", "is", "the", "data", "type", ",", "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", "256", "8", "128", "128", "128", "64", "64", "128", "128", "64", "64", "128", "128", "64", "64", "128", "128", "64", "64", "128", "128"], "File": "i3865", "Func": "ix86_data_alignment", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2543, "Length": 466, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Sched", "::", "Preference", "ARMTargetLowering", "::", "getSchedulingPreference", "(", "SDNode", "*", "N", ")", "const", "{", "unsigned", "NumVals", "=", "N", "->", "getNumValues", "(", ")", ";", "if", "(", "!", "NumVals", ")", "return", "Sched", "::", "RegPressure", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumVals", ";", "++", "i", ")", "{", "EVT", "VT", "=", "N", "->", "getValueType", "(", "i", ")", ";", "if", "(", "VT", "==", "MVT", "::", "Glue", "||", "VT", "==", "MVT", "::", "Other", ")", "continue", ";", "if", "(", "VT", ".", "isFloatingPoint", "(", ")", "||", "VT", ".", "isVector", "(", ")", ")", "return", "Sched", "::", "Latency", ";", "}", "if", "(", "!", "N", "->", "isMachineOpcode", "(", ")", ")", "return", "Sched", "::", "RegPressure", ";", "const", "TargetInstrInfo", "*", "TII", "=", "getTargetMachine", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "TII", "->", "get", "(", "N", "->", "getMachineOpcode", "(", ")", ")", ";", "if", "(", "MCID", ".", "getNumDefs", "(", ")", "==", "0", ")", "return", "Sched", "::", "RegPressure", ";", "if", "(", "!", "Itins", "->", "isEmpty", "(", ")", "&&", "Itins", "->", "getOperandCycle", "(", "MCID", ".", "getSchedClass", "(", ")", ",", "0", ")", ">", "2", ")", "return", "Sched", "::", "Latency", ";", "return", "Sched", "::", "RegPressure", ";", "}", ""], "natrual_language": ["Some", "scheduler", ",", "e.g", "."], "TS_V_token": ["ARM", "ARM", "0", "MVT::Glue", "MVT::Other", "0", "0", "2"], "File": "ARMISelLowering152", "Func": "getSchedulingPreference", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2544, "Length": 186, "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": ["Construct", "a", "unary", "instruction", ",", "given", "the", "opcode", "and", "an", "operand", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64MCExpr", "Func": "Create", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2545, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "getMergeValues", "(", "ArrayRef", "<", "SDValue", ">", "Values", ")", "const", "{", "return", "DAG", ".", "getMergeValues", "(", "Values", ",", "DL", ")", ";", "}", ""], "natrual_language": ["}", "Packing"], "TS_V_token": ["VE"], "File": "VECustomDAG1", "Func": "getMergeValues", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2546, "Length": 22, "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", ")", ";", "}", "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", "Mips"], "File": "MipsSEISelLowering (2)", "Func": "LowerOperation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2547, "Length": 286, "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": 2548, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "X86Subtarget", "::", "ClassifyGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "const", "TargetMachine", "&", "TM", ")", "const", "{", "if", "(", "GV", "->", "hasDLLImportLinkage", "(", ")", ")", "return", "X86II", "::", "MO_DLLIMPORT", ";", "bool", "isDecl", "=", "GV", "->", "hasAvailableExternallyLinkage", "(", ")", ";", "if", "(", "GV", "->", "isDeclaration", "(", ")", "&&", "!", "GV", "->", "isMaterializable", "(", ")", ")", "isDecl", "=", "true", ";", "if", "(", "isPICStyleRIPRel", "(", ")", ")", "{", "if", "(", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "if", "(", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "GV", "->", "hasDefaultVisibility", "(", ")", "&&", "(", "isDecl", "||", "GV", "->", "isWeakForLinker", "(", ")", ")", ")", "return", "X86II", "::", "MO_GOTPCREL", ";", "}", "else", "if", "(", "!", "isTargetWin64", "(", ")", ")", "{", "assert", "(", "isTargetELF", "(", ")", "&&", "\"Unknown rip-relative target\"", ")", ";", "if", "(", "!", "GV", "->", "hasLocalLinkage", "(", ")", "&&", "GV", "->", "hasDefaultVisibility", "(", ")", ")", "return", "X86II", "::", "MO_GOTPCREL", ";", "}", "return", "X86II", "::", "MO_NO_FLAG", ";", "}", "if", "(", "isPICStyleGOT", "(", ")", ")", "{", "if", "(", "GV", "->", "hasLocalLinkage", "(", ")", "||", "GV", "->", "hasHiddenVisibility", "(", ")", ")", "return", "X86II", "::", "MO_GOTOFF", ";", "return", "X86II", "::", "MO_GOT", ";", "}", "if", "(", "isPICStyleStubPIC", "(", ")", ")", "{", "if", "(", "!", "isDecl", "&&", "!", "GV", "->", "isWeakForLinker", "(", ")", ")", "return", "X86II", "::", "MO_PIC_BASE_OFFSET", ";", "if", "(", "!", "GV", "->", "hasHiddenVisibility", "(", ")", ")", "return", "X86II", "::", "MO_DARWIN_NONLAZY_PIC_BASE", ";", "if", "(", "isDecl", "||", "GV", "->", "hasCommonLinkage", "(", ")", ")", "{", "return", "X86II", "::", "MO_DARWIN_HIDDEN_NONLAZY_PIC_BASE", ";", "}", "return", "X86II", "::", "MO_PIC_BASE_OFFSET", ";", "}", "if", "(", "isPICStyleStubNoDynamic", "(", ")", ")", "{", "if", "(", "!", "isDecl", "&&", "!", "GV", "->", "isWeakForLinker", "(", ")", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "if", "(", "!", "GV", "->", "hasHiddenVisibility", "(", ")", ")", "return", "X86II", "::", "MO_DARWIN_NONLAZY", ";", "return", "X86II", "::", "MO_NO_FLAG", ";", "}", "return", "X86II", "::", "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": ["X86", "X86", "X86II::MO_DLLIMPORT", "X86II::MO_NO_FLAG", "X86II::MO_GOTPCREL", "\"Unknown rip-relative target\"", "X86II::MO_GOTPCREL", "X86II::MO_NO_FLAG", "X86II::MO_GOTOFF", "X86II::MO_GOT", "X86II::MO_PIC_BASE_OFFSET", "X86II::MO_DARWIN_NONLAZY_PIC_BASE", "X86II::MO_DARWIN_HIDDEN_NONLAZY_PIC_BASE", "X86II::MO_PIC_BASE_OFFSET", "X86II::MO_NO_FLAG", "X86II::MO_DARWIN_NONLAZY", "X86II::MO_NO_FLAG", "X86II::MO_NO_FLAG"], "File": "X86Subtarget104", "Func": "ClassifyGlobalReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2549, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "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", "(", ")", "!=", "X86", "::", "JMP_1", "&&", "X86", "::", "getCondFromBranch", "(", "*", "I", ")", "==", "X86", "::", "COND_INVALID", ")", "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": ["X86", "X86", "\"code size not handled\"", "0", "X86::JMP_1", "X86::getCondFromBranch", "X86::COND_INVALID"], "File": "X86InstrInfo (2)3", "Func": "removeBranch", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2550, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isShuffleMaskLegal", "(", "const", "SmallVectorImpl", "<", "int", ">", "&", "M", ",", "MVT", "VT", ")", "const", "{", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "false", ";", "return", "(", "VT", ".", "getVectorNumElements", "(", ")", "==", "2", "||", "ShuffleVectorSDNode", "::", "isSplatMask", "(", "&", "M", "[", "0", "]", ",", "VT", ")", "||", "isMOVLMask", "(", "M", ",", "VT", ")", "||", "isSHUFPMask", "(", "M", ",", "VT", ")", "||", "isPSHUFDMask", "(", "M", ",", "VT", ")", "||", "isPSHUFHWMask", "(", "M", ",", "VT", ")", "||", "isPSHUFLWMask", "(", "M", ",", "VT", ")", "||", "isUNPCKLMask", "(", "M", ",", "VT", ")", "||", "isUNPCKHMask", "(", "M", ",", "VT", ")", "||", "isUNPCKL_v_undef_Mask", "(", "M", ",", "VT", ")", "||", "isUNPCKH_v_undef_Mask", "(", "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": ["X86", "X86", "64", "2", "0"], "File": "X86ISelLowering77", "Func": "isShuffleMaskLegal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2551, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PPCSubtarget", "::", "PPCSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "PPCTargetMachine", "&", "TM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", ":", "PPCGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "TargetTriple", "(", "TT", ")", ",", "DL", "(", "getDataLayoutString", "(", "TargetTriple", ")", ")", ",", "IsPPC64", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "ppc64", "||", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "ppc64le", ")", ",", "OptLevel", "(", "OptLevel", ")", ",", "TargetABI", "(", "PPC_ABI_UNKNOWN", ")", ",", "FrameLowering", "(", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ")", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "TLInfo", "(", "TM", ")", ",", "TSInfo", "(", "&", "DL", ")", "{", "}", ""], "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": "PPCSubtarget67", "Func": "PPCSubtarget", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2552, "Length": 118, "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": 2553, "Length": 353, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ")", "const", "{", "Value", "=", "adjustFixupValue", "(", "Fixup", ".", "getKind", "(", ")", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "4", ";", "++", "i", ")", "Data", "[", "Offset", "+", "i", "]", "|=", "uint8_t", "(", "(", "Value", ">>", "(", "(", "4", "-", "i", "-", "1", ")", "*", "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", "4", "4", "1", "8", "0xff"], "File": "PPCAsmBackend28", "Func": "applyFixup", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2554, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCRegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "const", "unsigned", "DefaultSafety", "=", "1", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "PPC", "::", "G8RCRegClassID", ":", "case", "PPC", "::", "GPRCRegClassID", ":", "{", "unsigned", "FP", "=", "TFI", "->", "hasFP", "(", "MF", ")", "?", "1", ":", "0", ";", "return", "32", "-", "FP", "-", "DefaultSafety", ";", "}", "case", "PPC", "::", "F8RCRegClassID", ":", "case", "PPC", "::", "F4RCRegClassID", ":", "case", "PPC", "::", "VRRCRegClassID", ":", "return", "32", "-", "DefaultSafety", ";", "}", "}", ""], "natrual_language": ["Return", "the", "register", "pressure", "``", "high", "water", "mark", "''", "for", "the", "specific", "register", "class", "."], "TS_V_token": ["PowerPC", "PPC", "1", "0", "PPC::G8RCRegClassID", "PPC::GPRCRegClassID", "1", "0", "32", "PPC::F8RCRegClassID", "PPC::F4RCRegClassID", "PPC::VRRCRegClassID", "32"], "File": "PPCRegisterInfo84", "Func": "getRegPressureLimit", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2555, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "{", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["Mips"], "File": "MipsAsmBackend11", "Func": "relaxInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2556, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_mode_needed", "(", "int", "entity", ",", "rtx_insn", "*", "insn", ")", "{", "switch", "(", "entity", ")", "{", "case", "X86_DIRFLAG", ":", "return", "ix86_dirflag_mode_needed", "(", "insn", ")", ";", "case", "AVX_U128", ":", "return", "ix86_avx_u128_mode_needed", "(", "insn", ")", ";", "case", "I387_TRUNC", ":", "case", "I387_FLOOR", ":", "case", "I387_CEIL", ":", "return", "ix86_i387_mode_needed", "(", "entity", ",", "insn", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "needed", "mode", "for", "entity", "in", "optimize_mode_switching", "pass", "."], "TS_V_token": ["i386", "0"], "File": "i3868", "Func": "ix86_mode_needed", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2557, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "DarwinARMAsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ")", "const", "{", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ".", "getKind", "(", ")", ",", "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": ["ARM", "ARM", "\"Invalid fixup offset!\"", "0", "8", "0xff"], "File": "ARMAsmBackend46", "Func": "applyFixup", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2558, "Length": 111, "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": 2559, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Type", "*", "getType", "(", ")", "const", "{", "return", "Root", "->", "getType", "(", ")", ";", "}", ""], "natrual_language": ["Overload", "to", "return", "most", "specific", "vector", "type", "."], "TS_V_token": ["ARM"], "File": "ARMParallelDSP10", "Func": "getType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2560, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "report_not_enum", "(", "location_t", "location", ",", "tree", "fndecl", ",", "unsigned", "int", "argno", ",", "HOST_WIDE_INT", "actual", ",", "tree", "enumtype", ")", "{", "error_at", "(", "location", ",", "\"passing %wd to argument %d of %qE, which expects\"", "\" a valid %qT value\"", ",", "actual", ",", "argno", "+", "1", ",", "fndecl", ",", "enumtype", ")", ";", "}", ""], "natrual_language": ["Report", "that", "LOCATION", "has", "a", "call", "to", "FNDECL", "in", "which", "argument", "ARGNO", "has", "the", "value", "ACTUAL", ",", "whereas", "the", "function", "requires", "a", "valid", "value", "of", "enum", "type", "ENUMTYPE", ".", "ARGNO", "counts", "from", "zero", "."], "TS_V_token": ["aarch64", "\"passing %wd to argument %d of %qE, which expects\"", "\" a valid %qT value\"", "1"], "File": "aarch64-sve-builtins", "Func": "report_not_enum", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2561, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "SystemZMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "unsigned", "CalleeFrameSize", "=", "0", ";", "unsigned", "LowReg", "=", "0", ",", "HighReg", "=", "0", ",", "StartOffset", "=", "-", "1U", ",", "EndOffset", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "RegClass", "=", "CSI", "[", "i", "]", ".", "getRegClass", "(", ")", ";", "if", "(", "RegClass", "!=", "&", "SystemZ", "::", "FP64RegClass", ")", "{", "unsigned", "Offset", "=", "RegSpillOffsets", "[", "Reg", "]", ";", "CalleeFrameSize", "+=", "8", ";", "if", "(", "StartOffset", ">", "Offset", ")", "{", "LowReg", "=", "Reg", ";", "StartOffset", "=", "Offset", ";", "}", "if", "(", "EndOffset", "<", "Offset", ")", "{", "HighReg", "=", "Reg", ";", "EndOffset", "=", "RegSpillOffsets", "[", "Reg", "]", ";", "}", "}", "}", "MFI", "->", "setCalleeSavedFrameSize", "(", "CalleeFrameSize", ")", ";", "MFI", "->", "setLowReg", "(", "LowReg", ")", ";", "MFI", "->", "setHighReg", "(", "HighReg", ")", ";", "if", "(", "StartOffset", ")", "{", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "(", "LowReg", "==", "HighReg", "?", "SystemZ", "::", "MOV64mr", ":", "SystemZ", "::", "MOV64mrm", ")", ")", ")", ";", "MIB", ".", "addReg", "(", "SystemZ", "::", "R15D", ")", ".", "addImm", "(", "StartOffset", ")", ";", "if", "(", "LowReg", "==", "HighReg", ")", "MIB", ".", "addReg", "(", "0", ")", ";", "MIB", ".", "addReg", "(", "LowReg", ",", "RegState", "::", "Kill", ")", ";", "if", "(", "LowReg", "!=", "HighReg", ")", "MIB", ".", "addReg", "(", "HighReg", ",", "RegState", "::", "Kill", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "if", "(", "Reg", "!=", "LowReg", "&&", "Reg", "!=", "HighReg", ")", "MIB", ".", "addReg", "(", "Reg", ",", "RegState", "::", "ImplicitKill", ")", ";", "}", "}", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "RegClass", "=", "CSI", "[", "i", "]", ".", "getRegClass", "(", ")", ";", "if", "(", "RegClass", "==", "&", "SystemZ", "::", "FP64RegClass", ")", "{", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "storeRegToStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "true", ",", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", ",", "RegClass", ")", ";", "}", "}", "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": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "0", "0", "0", "1U", "0", "0", "SystemZ::FP64RegClass", "8", "SystemZ::MOV64mr", "SystemZ::MOV64mrm", "SystemZ::R15D", "0", "0", "0", "SystemZ::FP64RegClass"], "File": "SystemZInstrInfo31", "Func": "spillCalleeSavedRegisters", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2562, "Length": 488, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_debug_can_change_mode_class", "(", "machine_mode", "from", ",", "machine_mode", "to", ",", "reg_class_t", "rclass", ")", "{", "bool", "ret", "=", "rs6000_can_change_mode_class", "(", "from", ",", "to", ",", "rclass", ")", ";", "fprintf", "(", "stderr", ",", "\"rs6000_can_change_mode_class, return %s, from = %s, \"", "\"to = %s, rclass = %s\\n\"", ",", "ret", "?", "\"true\"", ":", "\"false\"", ",", "GET_MODE_NAME", "(", "from", ")", ",", "GET_MODE_NAME", "(", "to", ")", ",", "reg_class_names", "[", "rclass", "]", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Debug", "version", "of", "rs6000_can_change_mode_class", "."], "TS_V_token": ["rs6000", "\"rs6000_can_change_mode_class, return %s, from = %s, \"", "\"to = %s, rclass = %s\\n\"", "\"true\"", "\"false\""], "File": "rs6000", "Func": "rs6000_debug_can_change_mode_class", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2563, "Length": 59, "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": ["AArch64"], "File": "AArch64Disassembler31", "Func": "getRegInfo", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2564, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "pa_output_64bit_and", "(", "rtx", "*", "operands", ")", "{", "if", "(", "GET_CODE", "(", "operands", "[", "2", "]", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "operands", "[", "2", "]", ")", "!=", "0", ")", "{", "unsigned", "HOST_WIDE_INT", "mask", "=", "INTVAL", "(", "operands", "[", "2", "]", ")", ";", "int", "ls0", ",", "ls1", ",", "ms0", ",", "p", ",", "len", ";", "for", "(", "ls0", "=", "0", ";", "ls0", "<", "HOST_BITS_PER_WIDE_INT", ";", "ls0", "++", ")", "if", "(", "(", "mask", "&", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "1", "<<", "ls0", ")", ")", "==", "0", ")", "break", ";", "for", "(", "ls1", "=", "ls0", ";", "ls1", "<", "HOST_BITS_PER_WIDE_INT", ";", "ls1", "++", ")", "if", "(", "(", "mask", "&", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "1", "<<", "ls1", ")", ")", "!=", "0", ")", "break", ";", "for", "(", "ms0", "=", "ls1", ";", "ms0", "<", "HOST_BITS_PER_WIDE_INT", ";", "ms0", "++", ")", "if", "(", "(", "mask", "&", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "1", "<<", "ms0", ")", ")", "==", "0", ")", "break", ";", "gcc_assert", "(", "ms0", "==", "HOST_BITS_PER_WIDE_INT", ")", ";", "if", "(", "ls1", "==", "HOST_BITS_PER_WIDE_INT", ")", "{", "len", "=", "ls0", ";", "gcc_assert", "(", "len", ")", ";", "operands", "[", "2", "]", "=", "GEN_INT", "(", "len", ")", ";", "return", "\"extrd,u %1,63,%2,%0\"", ";", "}", "else", "{", "p", "=", "63", "-", "ls0", ";", "len", "=", "ls1", "-", "ls0", ";", "operands", "[", "2", "]", "=", "GEN_INT", "(", "p", ")", ";", "operands", "[", "3", "]", "=", "GEN_INT", "(", "len", ")", ";", "return", "\"depdi 0,%2,%3,%0\"", ";", "}", "}", "else", "return", "\"and %1,%2,%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", "2", "0", "1", "0", "1", "0", "1", "0", "2", "\"extrd,u %1,63,%2,%0\"", "63", "2", "3", "\"depdi 0,%2,%3,%0\"", "\"and %1,%2,%0\""], "File": "pa", "Func": "pa_output_64bit_and", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2565, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "flow_dependent_p_1", "(", "rtx", "x", ",", "const_rtx", "pat", "ATTRIBUTE_UNUSED", ",", "void", "*", "data", ")", "{", "rtx", "*", "pinsn", "=", "(", "rtx", "*", ")", "data", ";", "if", "(", "*", "pinsn", "&&", "reg_referenced_p", "(", "x", ",", "*", "pinsn", ")", ")", "*", "pinsn", "=", "NULL_RTX", ";", "}", ""], "natrual_language": ["A", "helper", "function", "for", "flow_dependent_p", "called", "through", "note_stores", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "flow_dependent_p_1", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2566, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalMaskedStore", "(", "Type", "*", "DataType", ",", "int", "Consecutive", ")", "{", "return", "isLegalMaskedLoad", "(", "DataType", ",", "Consecutive", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "store", "."], "TS_V_token": ["X86", "X86"], "File": "X86TargetTransformInfo", "Func": "isLegalMaskedStore", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2567, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arm_gen_multiple_op", "(", "bool", "is_load", ",", "int", "*", "regs", ",", "int", "count", ",", "rtx", "basereg", ",", "bool", "write_back", ",", "rtx", "basemem", ",", "HOST_WIDE_INT", "*", "offsetp", ")", "{", "rtx", "mems", "[", "MAX_LDM_STM_OPS", "]", ";", "HOST_WIDE_INT", "offset", "=", "*", "offsetp", ";", "int", "i", ";", "gcc_assert", "(", "count", "<=", "MAX_LDM_STM_OPS", ")", ";", "if", "(", "GET_CODE", "(", "basereg", ")", "==", "PLUS", ")", "basereg", "=", "XEXP", "(", "basereg", ",", "0", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "count", ";", "i", "++", ")", "{", "rtx", "addr", "=", "plus_constant", "(", "Pmode", ",", "basereg", ",", "i", "*", "4", ")", ";", "mems", "[", "i", "]", "=", "adjust_automodify_address_nv", "(", "basemem", ",", "SImode", ",", "addr", ",", "offset", ")", ";", "offset", "+=", "4", ";", "}", "if", "(", "write_back", ")", "*", "offsetp", "=", "offset", ";", "if", "(", "is_load", ")", "return", "arm_gen_load_multiple_1", "(", "count", ",", "regs", ",", "mems", ",", "basereg", ",", "write_back", "?", "4", "*", "count", ":", "0", ")", ";", "else", "return", "arm_gen_store_multiple_1", "(", "count", ",", "regs", ",", "mems", ",", "basereg", ",", "write_back", "?", "4", "*", "count", ":", "0", ")", ";", "}", ""], "natrual_language": ["Generate", "either", "a", "load-multiple", "or", "a", "store-multiple", "instruction", ".", "This", "function", "can", "be", "used", "in", "situations", "where", "we", "can", "start", "with", "a", "single", "MEM", "rtx", "and", "adjust", "its", "address", "upwards", ".", "COUNT", "is", "the", "number", "of", "operations", "in", "the", "instruction", ",", "not", "counting", "a", "possible", "update", "of", "the", "base", "register", ".", "REGS", "is", "an", "array", "containing", "the", "register", "operands", ".", "BASEREG", "is", "the", "base", "register", "to", "be", "used", "in", "addressing", "the", "memory", "operands", ",", "which", "are", "constructed", "from", "BASEMEM", ".", "WRITE_BACK", "specifies", "whether", "the", "generated", "instruction", "should", "include", "an", "update", "of", "the", "base", "register", ".", "OFFSETP", "is", "used", "to", "pass", "an", "offset", "to", "and", "from", "this", "function", ";", "this", "offset", "is", "not", "used", "when", "constructing", "the", "address", "(", "instead", "BASEMEM", "should", "have", "an", "appropriate", "offset", "in", "its", "address", ")", ",", "it", "is", "used", "only", "for", "setting", "MEM_OFFSET", ".", "It", "is", "updated", "only", "if", "WRITE_BACK", "is", "true", "."], "TS_V_token": ["arm", "0", "0", "4", "4", "4", "0", "4", "0"], "File": "arm", "Func": "arm_gen_multiple_op", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2568, "Length": 172, "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": "AArch64AsmPrinter1", "Func": "emitStartOfAsmFile", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2569, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitFill", "(", "const", "MCExpr", "&", "NumBytes", ",", "uint64_t", "FillValue", ",", "SMLoc", "Loc", ")", "override", "{", "EmitDataMappingSymbol", "(", ")", ";", "MCObjectStreamer", "::", "emitFill", "(", "NumBytes", ",", "FillValue", ",", "Loc", ")", ";", "}", ""], "natrual_language": ["Emit", "Size", "bytes", "worth", "of", "the", "value", "specified", "by", "FillValue", "."], "TS_V_token": ["AArch64"], "File": "AArch64ELFStreamer", "Func": "emitFill", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2570, "Length": 32, "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": 2571, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARM64TTI", "::", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "OperandValueKind", "Opd1Info", ",", "OperandValueKind", "Opd2Info", ")", "const", "{", "std", "::", "pair", "<", "unsigned", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "Ty", ")", ";", "int", "ISD", "=", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", ";", "switch", "(", "ISD", ")", "{", "default", ":", "return", "TargetTransformInfo", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "Opd1Info", ",", "Opd2Info", ")", ";", "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": ["ARM64", "ARM64TTI::getArithmeticInstrCost", "ISD::ADD", "ISD::MUL", "ISD::XOR", "ISD::OR", "ISD::AND", "1"], "File": "ARM64TargetTransformInfo", "Func": "getArithmeticInstrCost", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2572, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetLowering", "::", "isCheapToSpeculateCtlz", "(", ")", "const", "{", "return", "Subtarget", ".", "hasMips32", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "cheap", "to", "speculate", "a", "call", "to", "intrinsic", "ctlz", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsISelLowering (2)4", "Func": "isCheapToSpeculateCtlz", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2573, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_emit_i387_log1p", "(", "rtx", "op0", ",", "rtx", "op1", ")", "{", "rtx_code_label", "*", "label1", "=", "gen_label_rtx", "(", ")", ";", "rtx_code_label", "*", "label2", "=", "gen_label_rtx", "(", ")", ";", "rtx", "tmp", "=", "gen_reg_rtx", "(", "XFmode", ")", ";", "rtx", "res", "=", "gen_reg_rtx", "(", "XFmode", ")", ";", "rtx", "cst", ",", "cstln2", ",", "cst1", ";", "rtx_insn", "*", "insn", ";", "do_pending_stack_adjust", "(", ")", ";", "cst", "=", "const_double_from_real_value", "(", "REAL_VALUE_ATOF", "(", "\"0.29289321881345247561810596348408353\"", ",", "XFmode", ")", ",", "XFmode", ")", ";", "cstln2", "=", "force_reg", "(", "XFmode", ",", "standard_80387_constant_rtx", "(", "4", ")", ")", ";", "emit_insn", "(", "gen_absxf2", "(", "tmp", ",", "op1", ")", ")", ";", "cst", "=", "force_reg", "(", "XFmode", ",", "cst", ")", ";", "ix86_expand_branch", "(", "GE", ",", "tmp", ",", "cst", ",", "label1", ")", ";", "predict_jump", "(", "REG_BR_PROB_BASE", "*", "10", "/", "100", ")", ";", "insn", "=", "get_last_insn", "(", ")", ";", "JUMP_LABEL", "(", "insn", ")", "=", "label1", ";", "emit_insn", "(", "gen_fyl2xp1xf3_i387", "(", "res", ",", "op1", ",", "cstln2", ")", ")", ";", "emit_jump", "(", "label2", ")", ";", "emit_label", "(", "label1", ")", ";", "LABEL_NUSES", "(", "label1", ")", "=", "1", ";", "cst1", "=", "force_reg", "(", "XFmode", ",", "CONST1_RTX", "(", "XFmode", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "tmp", ",", "gen_rtx_PLUS", "(", "XFmode", ",", "op1", ",", "cst1", ")", ")", ")", ";", "emit_insn", "(", "gen_fyl2xxf3_i387", "(", "res", ",", "tmp", ",", "cstln2", ")", ")", ";", "emit_label", "(", "label2", ")", ";", "LABEL_NUSES", "(", "label2", ")", "=", "1", ";", "emit_move_insn", "(", "op0", ",", "res", ")", ";", "}", ""], "natrual_language": ["Output", "code", "to", "perform", "a", "log1p", "XFmode", "calculation", "."], "TS_V_token": ["i386", "\"0.29289321881345247561810596348408353\"", "4", "10", "100", "1", "1"], "File": "i386-expand", "Func": "ix86_emit_i387_log1p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2574, "Length": 225, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsCodeEmitter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "MipsTargetMachine", "&", "Target", "=", "static_cast", "<", "MipsTargetMachine", "&", ">", "(", "const_cast", "<", "TargetMachine", "&", ">", "(", "MF", ".", "getTarget", "(", ")", ")", ")", ";", "JTI", "=", "Target", ".", "getJITInfo", "(", ")", ";", "II", "=", "Target", ".", "getInstrInfo", "(", ")", ";", "TD", "=", "Target", ".", "getDataLayout", "(", ")", ";", "Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "MCPEs", "=", "&", "MF", ".", "getConstantPool", "(", ")", "->", "getConstants", "(", ")", ";", "MJTEs", "=", "nullptr", ";", "if", "(", "MF", ".", "getJumpTableInfo", "(", ")", ")", "MJTEs", "=", "&", "MF", ".", "getJumpTableInfo", "(", ")", "->", "getJumpTables", "(", ")", ";", "JTI", "->", "Initialize", "(", "MF", ",", "IsPIC", ",", "Subtarget", "->", "isLittle", "(", ")", ")", ";", "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", ";", ")", "emitInstruction", "(", "*", "I", "++", ",", "*", "MBB", ")", ";", "}", "}", "while", "(", "MCE", ".", "finishFunction", "(", "MF", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "\"JITTing function '\"", "\"'\\n\""], "File": "MipsCodeEmitter11", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2575, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasLowDefLatency", "(", "const", "InstrItineraryData", "*", "ItinData", ",", "const", "MachineInstr", "*", "DefMI", ",", "unsigned", "DefIdx", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Compute", "operand", "latency", "of", "a", "def", "of", "'Reg", "'", "."], "TS_V_token": ["PowerPC"], "File": "PPCInstrInfo60", "Func": "hasLowDefLatency", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2576, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "{", "if", "(", "ExtraCode", "[", "1", "]", ")", "return", "true", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "case", "'H'", ":", "{", "if", "(", "OpNo", "==", "0", ")", "return", "true", ";", "const", "MachineOperand", "&", "FlagsOP", "=", "MI", "->", "getOperand", "(", "OpNo", "-", "1", ")", ";", "if", "(", "!", "FlagsOP", ".", "isImm", "(", ")", ")", "return", "true", ";", "unsigned", "Flags", "=", "FlagsOP", ".", "getImm", "(", ")", ";", "unsigned", "NumVals", "=", "InlineAsm", "::", "getNumOperandRegisters", "(", "Flags", ")", ";", "if", "(", "NumVals", "!=", "2", ")", "return", "true", ";", "unsigned", "RegOp", "=", "OpNo", "+", "1", ";", "if", "(", "RegOp", ">=", "MI", "->", "getNumOperands", "(", ")", ")", "return", "true", ";", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "RegOp", ")", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", ")", "return", "true", ";", "unsigned", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "O", "<<", "LanaiInstPrinter", "::", "getRegisterName", "(", "Reg", ")", ";", "return", "false", ";", "}", "default", ":", "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": ["Lanai", "Lanai", "0", "1", "0", "0", "1", "2", "1", "Lanai"], "File": "LanaiAsmPrinter1", "Func": "PrintAsmOperand", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2577, "Length": 215, "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-base", "Func": "call_properties", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2578, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "PPCRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AnyReg", ")", "{", "if", "(", "Subtarget", ".", "hasVSX", "(", ")", ")", "return", "CSR_64_AllRegs_VSX_SaveList", ";", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "CSR_64_AllRegs_Altivec_SaveList", ";", "return", "CSR_64_AllRegs_SaveList", ";", "}", "if", "(", "Subtarget", ".", "isDarwinABI", "(", ")", ")", "return", "TM", ".", "isPPC64", "(", ")", "?", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_Darwin64_Altivec_SaveList", ":", "CSR_Darwin64_SaveList", ")", ":", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_Darwin32_Altivec_SaveList", ":", "CSR_Darwin32_SaveList", ")", ";", "if", "(", "TM", ".", "isPPC64", "(", ")", "&&", "MF", "->", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", "->", "isSplitCSR", "(", ")", ")", "return", "CSR_SRV464_TLS_PE_SaveList", ";", "bool", "SaveR2", "=", "MF", "->", "getRegInfo", "(", ")", ".", "isAllocatable", "(", "PPC", "::", "X2", ")", ";", "return", "TM", ".", "isPPC64", "(", ")", "?", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "(", "SaveR2", "?", "CSR_SVR464_R2_Altivec_SaveList", ":", "CSR_SVR464_Altivec_SaveList", ")", ":", "(", "SaveR2", "?", "CSR_SVR464_R2_SaveList", ":", "CSR_SVR464_SaveList", ")", ")", ":", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_SVR432_Altivec_SaveList", ":", "CSR_SVR432_SaveList", ")", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC::X2", "PPC"], "File": "PPCRegisterInfo (2)2", "Func": "getCalleeSavedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2579, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_dirflag_mode_needed", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "CALL_P", "(", "insn", ")", ")", "{", "if", "(", "cfun", "->", "machine", "->", "func_type", "==", "TYPE_NORMAL", ")", "return", "X86_DIRFLAG_ANY", ";", "else", "return", "TARGET_CLD", "?", "X86_DIRFLAG_ANY", ":", "X86_DIRFLAG_RESET", ";", "}", "if", "(", "recog_memoized", "(", "insn", ")", "<", "0", ")", "return", "X86_DIRFLAG_ANY", ";", "if", "(", "get_attr_type", "(", "insn", ")", "==", "TYPE_STR", ")", "{", "if", "(", "cfun", "->", "machine", "->", "func_type", "==", "TYPE_NORMAL", ")", "return", "TARGET_CLD", "?", "X86_DIRFLAG_RESET", ":", "X86_DIRFLAG_ANY", ";", "else", "return", "X86_DIRFLAG_RESET", ";", "}", "return", "X86_DIRFLAG_ANY", ";", "}", ""], "natrual_language": ["Return", "needed", "mode", "for", "entity", "in", "optimize_mode_switching", "pass", "."], "TS_V_token": ["i386", "0"], "File": "i386", "Func": "ix86_dirflag_mode_needed", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2580, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcSubtarget", "&", "SparcSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "UseSoftMulDiv", "=", "false", ";", "IsV9", "=", "false", ";", "IsLeon", "=", "false", ";", "V8DeprecatedInsts", "=", "false", ";", "IsVIS", "=", "false", ";", "IsVIS2", "=", "false", ";", "IsVIS3", "=", "false", ";", "HasHardQuad", "=", "false", ";", "UsePopc", "=", "false", ";", "UseSoftFloat", "=", "false", ";", "HasNoFSMULD", "=", "false", ";", "HasNoFMULS", "=", "false", ";", "HasLeonCasa", "=", "false", ";", "HasUmacSmac", "=", "false", ";", "HasPWRPSR", "=", "false", ";", "InsertNOPLoad", "=", "false", ";", "FixAllFDIVSQRT", "=", "false", ";", "DetectRoundChange", "=", "false", ";", "HasLeonCycleCounter", "=", "false", ";", "std", "::", "string", "CPUName", "=", "std", "::", "string", "(", "CPU", ")", ";", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", "=", "(", "Is64Bit", ")", "?", "\"v9\"", ":", "\"v8\"", ";", "ParseSubtargetFeatures", "(", "CPUName", ",", "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": "SparcSubtarget13", "Func": "initializeSubtargetDependencies", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2581, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "Cpu0DAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "unsigned", "GlobalBaseReg", "=", "MF", "->", "getInfo", "<", "Cpu0FunctionInfo", ">", "(", ")", "->", "getGlobalBaseReg", "(", ")", ";", "return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "TLI", ".", "getPointerTy", "(", ")", ")", ".", "getNode", "(", ")", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0"], "File": "Cpu0ISelDAGToDAG1", "Func": "getGlobalBaseReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2582, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "VETargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Should not custom lower this!\"", ")", ";", "case", "ISD", "::", "ATOMIC_FENCE", ":", "return", "lowerATOMIC_FENCE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ATOMIC_SWAP", ":", "return", "lowerATOMIC_SWAP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "lowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "lowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "lowerDYNAMIC_STACKALLOC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EH_SJLJ_LONGJMP", ":", "return", "lowerEH_SJLJ_LONGJMP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EH_SJLJ_SETJMP", ":", "return", "lowerEH_SJLJ_SETJMP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EH_SJLJ_SETUP_DISPATCH", ":", "return", "lowerEH_SJLJ_SETUP_DISPATCH", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "lowerFRAMEADDR", "(", "Op", ",", "DAG", ",", "*", "this", ",", "Subtarget", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "lowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "return", "lowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "lowerINTRINSIC_WO_CHAIN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "JumpTable", ":", "return", "lowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "lowerLOAD", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "lowerRETURNADDR", "(", "Op", ",", "DAG", ",", "*", "this", ",", "Subtarget", ")", ";", "case", "ISD", "::", "BUILD_VECTOR", ":", "return", "lowerBUILD_VECTOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "lowerSTORE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "lowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VAARG", ":", "return", "lowerVAARG", "(", "Op", ",", "DAG", ")", ";", "return", "lowerToVVP", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["VE", "VE", "\"Should not custom lower this!\"", "ISD::ATOMIC_FENCE", "ISD::ATOMIC_SWAP", "ISD::BlockAddress", "ISD::ConstantPool", "ISD::DYNAMIC_STACKALLOC", "ISD::EH_SJLJ_LONGJMP", "ISD::EH_SJLJ_SETJMP", "ISD::EH_SJLJ_SETUP_DISPATCH", "ISD::FRAMEADDR", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::INTRINSIC_WO_CHAIN", "ISD::JumpTable", "ISD::LOAD", "ISD::RETURNADDR", "ISD::BUILD_VECTOR", "VE", "ISD::STORE", "ISD::VASTART", "ISD::VAARG"], "File": "VEISelLowering2", "Func": "LowerOperation", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2583, "Length": 297, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Emitter", "<", "CodeEmitter", ">", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "MCE", ".", "setModuleInfo", "(", "&", "getAnalysis", "<", "MachineModuleInfo", ">", "(", ")", ")", ";", "II", "=", "TM", ".", "getInstrInfo", "(", ")", ";", "TD", "=", "TM", ".", "getTargetData", "(", ")", ";", "Is64BitMode", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ";", "IsPIC", "=", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ";", "do", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"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": "X86CodeEmitter15", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2584, "Length": 232, "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\"", ")", ";", "DOUT", "(", "llvm", "::", "dbgs", "(", ")", "<<", "\"<--------->\\n\"", ";", "MI", ".", "print", "(", "DOUT", "(", "llvm", "::", "dbgs", "(", ")", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "getIndex", "(", ")", ";", "int", "stackSize", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "int", "spOffset", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FrameIndex", ")", ";", "DOUT", "(", "llvm", "::", "dbgs", "(", ")", "<<", "\"FrameIndex : \"", "<<", "FrameIndex", "<<", "\"\\n\"", ";", "DOUT", "(", "llvm", "::", "dbgs", "(", ")", "<<", "\"spOffset : \"", "<<", "spOffset", "<<", "\"\\n\"", ";", "DOUT", "(", "llvm", "::", "dbgs", "(", ")", "<<", "\"stackSize : \"", "<<", "stackSize", "<<", "\"\\n\"", ";", "int", "Offset", "=", "(", "(", "spOffset", "<", "0", ")", "?", "(", "stackSize", "+", "(", "-", "(", "spOffset", "+", "4", ")", ")", ")", ":", "(", "spOffset", ")", ")", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "i", "-", "1", ")", ".", "getImm", "(", ")", ";", "DOUT", "(", "llvm", "::", "dbgs", "(", ")", "<<", "\"Offset : \"", "<<", "Offset", "<<", "\"\\n\"", ";", "DOUT", "(", "llvm", "::", "dbgs", "(", ")", "<<", "\"<--------->\\n\"", ";", "MI", ".", "getOperand", "(", "i", "-", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "getFrameRegister", "(", "MF", ")", ",", "false", ")", ";", "}", ""], "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\"", "1"], "File": "MipsRegisterInfo49", "Func": "eliminateFrameIndex", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2585, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_debug_reg_print", "(", "int", "first_regno", ",", "int", "last_regno", ",", "const", "char", "*", "reg_name", ")", "{", "int", "r", ",", "m", ";", "for", "(", "r", "=", "first_regno", ";", "r", "<=", "last_regno", ";", "++", "r", ")", "{", "const", "char", "*", "comma", "=", "\"\"", ";", "int", "len", ";", "if", "(", "first_regno", "==", "last_regno", ")", "fprintf", "(", "stderr", ",", "\"%s:\\t\"", ",", "reg_name", ")", ";", "else", "fprintf", "(", "stderr", ",", "\"%s%d:\\t\"", ",", "reg_name", ",", "r", "-", "first_regno", ")", ";", "len", "=", "8", ";", "for", "(", "m", "=", "0", ";", "m", "<", "NUM_MACHINE_MODES", ";", "++", "m", ")", "if", "(", "rs6000_hard_regno_mode_ok_p", "[", "m", "]", "[", "r", "]", "&&", "rs6000_hard_regno_nregs", "[", "m", "]", "[", "r", "]", ")", "{", "if", "(", "len", ">", "70", ")", "{", "fprintf", "(", "stderr", ",", "\",\\n\\t\"", ")", ";", "len", "=", "8", ";", "comma", "=", "\"\"", ";", "}", "if", "(", "rs6000_hard_regno_nregs", "[", "m", "]", "[", "r", "]", ">", "1", ")", "len", "+=", "fprintf", "(", "stderr", ",", "\"%s%s/%d\"", ",", "comma", ",", "GET_MODE_NAME", "(", "m", ")", ",", "rs6000_hard_regno_nregs", "[", "m", "]", "[", "r", "]", ")", ";", "else", "len", "+=", "fprintf", "(", "stderr", ",", "\"%s%s\"", ",", "comma", ",", "GET_MODE_NAME", "(", "m", ")", ")", ";", "comma", "=", "\", \"", ";", "}", "if", "(", "call_used_regs", "[", "r", "]", ")", "{", "if", "(", "len", ">", "70", ")", "{", "fprintf", "(", "stderr", ",", "\",\\n\\t\"", ")", ";", "len", "=", "8", ";", "comma", "=", "\"\"", ";", "}", "len", "+=", "fprintf", "(", "stderr", ",", "\"%s%s\"", ",", "comma", ",", "\"call-used\"", ")", ";", "comma", "=", "\", \"", ";", "}", "if", "(", "fixed_regs", "[", "r", "]", ")", "{", "if", "(", "len", ">", "70", ")", "{", "fprintf", "(", "stderr", ",", "\",\\n\\t\"", ")", ";", "len", "=", "8", ";", "comma", "=", "\"\"", ";", "}", "len", "+=", "fprintf", "(", "stderr", ",", "\"%s%s\"", ",", "comma", ",", "\"fixed\"", ")", ";", "comma", "=", "\", \"", ";", "}", "if", "(", "len", ">", "70", ")", "{", "fprintf", "(", "stderr", ",", "\",\\n\\t\"", ")", ";", "comma", "=", "\"\"", ";", "}", "len", "+=", "fprintf", "(", "stderr", ",", "\"%sreg-class = %s\"", ",", "comma", ",", "reg_class_names", "[", "(", "int", ")", "rs6000_regno_regclass", "[", "r", "]", "]", ")", ";", "comma", "=", "\", \"", ";", "if", "(", "len", ">", "70", ")", "{", "fprintf", "(", "stderr", ",", "\",\\n\\t\"", ")", ";", "comma", "=", "\"\"", ";", "}", "fprintf", "(", "stderr", ",", "\"%sregno = %d\\n\"", ",", "comma", ",", "r", ")", ";", "}", "}", ""], "natrual_language": ["Print", "interesting", "facts", "about", "registers", "."], "TS_V_token": ["rs6000", "\"\"", "\"%s:\\t\"", "\"%s%d:\\t\"", "8", "0", "70", "\",\\n\\t\"", "8", "\"\"", "1", "\"%s%s/%d\"", "\"%s%s\"", "\", \"", "70", "\",\\n\\t\"", "8", "\"\"", "\"%s%s\"", "\"call-used\"", "\", \"", "70", "\",\\n\\t\"", "8", "\"\"", "\"%s%s\"", "\"fixed\"", "\", \"", "70", "\",\\n\\t\"", "\"\"", "\"%sreg-class = %s\"", "\", \"", "70", "\",\\n\\t\"", "\"\"", "\"%sregno = %d\\n\""], "File": "rs60004", "Func": "rs6000_debug_reg_print", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2586, "Length": 366, "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": 2587, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mips_subword", "(", "rtx", "op", ",", "int", "high_p", ")", "{", "unsigned", "int", "byte", ";", "enum", "machine_mode", "mode", ";", "mode", "=", "GET_MODE", "(", "op", ")", ";", "if", "(", "mode", "==", "VOIDmode", ")", "mode", "=", "DImode", ";", "if", "(", "TARGET_BIG_ENDIAN", "?", "!", "high_p", ":", "high_p", ")", "byte", "=", "UNITS_PER_WORD", ";", "else", "byte", "=", "0", ";", "if", "(", "REG_P", "(", "op", ")", ")", "{", "if", "(", "FP_REG_P", "(", "REGNO", "(", "op", ")", ")", ")", "return", "gen_rtx_REG", "(", "word_mode", ",", "high_p", "?", "REGNO", "(", "op", ")", "+", "1", ":", "REGNO", "(", "op", ")", ")", ";", "if", "(", "ACC_HI_REG_P", "(", "REGNO", "(", "op", ")", ")", ")", "return", "gen_rtx_REG", "(", "word_mode", ",", "high_p", "?", "REGNO", "(", "op", ")", ":", "REGNO", "(", "op", ")", "+", "1", ")", ";", "}", "if", "(", "MEM_P", "(", "op", ")", ")", "return", "mips_rewrite_small_data", "(", "adjust_address", "(", "op", ",", "word_mode", ",", "byte", ")", ")", ";", "return", "simplify_gen_subreg", "(", "word_mode", ",", "op", ",", "mode", ",", "byte", ")", ";", "}", ""], "natrual_language": ["Return", "one", "word", "of", "double-word", "value", "OP", ",", "taking", "into", "account", "the", "fixed", "endianness", "of", "certain", "registers", ".", "HIGH_P", "is", "true", "to", "select", "the", "high", "part", ",", "false", "to", "select", "the", "low", "part", "."], "TS_V_token": ["mips", "0", "1", "1"], "File": "mips3", "Func": "mips_subword", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2588, "Length": 155, "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": 2589, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_flags_dependent", "(", "rtx_insn", "*", "insn", ",", "rtx_insn", "*", "dep_insn", ",", "enum", "attr_type", "insn_type", ")", "{", "rtx", "set", ",", "set2", ";", "if", "(", "insn_type", "!=", "TYPE_SETCC", "&&", "insn_type", "!=", "TYPE_ICMOV", "&&", "insn_type", "!=", "TYPE_FCMOV", "&&", "insn_type", "!=", "TYPE_IBR", ")", "return", "false", ";", "if", "(", "(", "set", "=", "single_set", "(", "dep_insn", ")", ")", "!=", "0", ")", "{", "set", "=", "SET_DEST", "(", "set", ")", ";", "set2", "=", "NULL_RTX", ";", "}", "else", "if", "(", "GET_CODE", "(", "PATTERN", "(", "dep_insn", ")", ")", "==", "PARALLEL", "&&", "XVECLEN", "(", "PATTERN", "(", "dep_insn", ")", ",", "0", ")", "==", "2", "&&", "GET_CODE", "(", "XVECEXP", "(", "PATTERN", "(", "dep_insn", ")", ",", "0", ",", "0", ")", ")", "==", "SET", "&&", "GET_CODE", "(", "XVECEXP", "(", "PATTERN", "(", "dep_insn", ")", ",", "0", ",", "1", ")", ")", "==", "SET", ")", "{", "set", "=", "SET_DEST", "(", "XVECEXP", "(", "PATTERN", "(", "dep_insn", ")", ",", "0", ",", "0", ")", ")", ";", "set2", "=", "SET_DEST", "(", "XVECEXP", "(", "PATTERN", "(", "dep_insn", ")", ",", "0", ",", "0", ")", ")", ";", "}", "else", "return", "false", ";", "if", "(", "!", "REG_P", "(", "set", ")", "||", "REGNO", "(", "set", ")", "!=", "FLAGS_REG", ")", "return", "false", ";", "if", "(", "!", "reg_overlap_mentioned_p", "(", "set", ",", "PATTERN", "(", "insn", ")", ")", ")", "return", "false", ";", "if", "(", "set2", "&&", "reg_overlap_mentioned_p", "(", "set2", ",", "PATTERN", "(", "insn", ")", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "ix86_adjust_cost", "--", "return", "TRUE", "iff", "INSN", "reads", "flags", "set", "by", "DEP_INSN", "and", "nothing", "set", "by", "DEP_INSN", "."], "TS_V_token": ["i386", "0", "0", "2", "0", "0", "0", "1", "0", "0", "0", "0"], "File": "i3864", "Func": "ix86_flags_dependent", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2590, "Length": 223, "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": 2591, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "loongarch_arg_partial_bytes", "(", "cumulative_args_t", "cum", ",", "const", "function_arg_info", "&", "generic_arg", ")", "{", "struct", "loongarch_arg_info", "arg", ";", "loongarch_get_arg_info", "(", "&", "arg", ",", "get_cumulative_args", "(", "cum", ")", ",", "generic_arg", ".", "mode", ",", "generic_arg", ".", "type", ",", "generic_arg", ".", "named", ",", "false", ")", ";", "return", "arg", ".", "stack_p", "?", "arg", ".", "num_gprs", "*", "UNITS_PER_WORD", ":", "0", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ARG_PARTIAL_BYTES", "."], "TS_V_token": ["loongarch", "0"], "File": "loongarch", "Func": "loongarch_arg_partial_bytes", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2592, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcRegisterInfo", "::", "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": ["Sparc", "Sparc"], "File": "SparcRegisterInfo12", "Func": "hasFP", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2593, "Length": 16, "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": 2594, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "EmitInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "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": "ARMELFStreamer (2)", "Func": "EmitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2595, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBankInfo", "*", "ARMSubtarget", "::", "getRegBankInfo", "(", ")", "const", "{", "return", "RegBankInfo", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["If", "the", "information", "for", "the", "register", "banks", "is", "available", ",", "return", "it", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMSubtarget", "Func": "getRegBankInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2596, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLegalMaskedScatter", "(", "Type", "*", "DataType", ")", "{", "return", "ST", "->", "hasSVE", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "scatter", "."], "TS_V_token": ["AArch64"], "File": "AArch64TargetTransformInfo31", "Func": "isLegalMaskedScatter", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2597, "Length": 16, "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": 2598, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCFastISel", "::", "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", "PPCMaterializeFP", "(", "CFP", ",", "VT", ")", ";", "else", "if", "(", "const", "GlobalValue", "*", "GV", "=", "dyn_cast", "<", "GlobalValue", ">", "(", "C", ")", ")", "return", "PPCMaterializeGV", "(", "GV", ",", "VT", ")", ";", "else", "if", "(", "const", "ConstantInt", "*", "CI", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "C", ")", ")", "return", "PPCMaterializeInt", "(", "CI", ",", "VT", ",", "VT", "!=", "MVT", "::", "i1", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Emit", "a", "constant", "in", "a", "register", "using", "target-specific", "logic", ",", "such", "as", "constant", "pool", "loads", "."], "TS_V_token": ["PowerPC", "PPC", "0", "PPC", "PPC", "PPC", "MVT::i1", "0"], "File": "PPCFastISel (2)", "Func": "fastMaterializeConstant", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2599, "Length": 131, "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", "::", "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", "::", "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", "::", "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", "::", "EH_DWARF_CFA", ":", "return", "lowerEH_DWARF_CFA", "(", "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::BRCOND", "ISD::ConstantPool", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::GlobalTLSAddress", "ISD::JumpTable", "ISD::SELECT", "ISD::SETCC", "ISD::VASTART", "ISD::VAARG", "ISD::FCOPYSIGN", "ISD::FABS", "ISD::FRAMEADDR", "ISD::RETURNADDR", "ISD::EH_RETURN", "ISD::ATOMIC_FENCE", "ISD::SHL_PARTS", "ISD::SRA_PARTS", "ISD::SRL_PARTS", "ISD::LOAD", "ISD::STORE", "ISD::EH_DWARF_CFA", "ISD::FP_TO_SINT"], "File": "MipsISelLowering (2)4", "Func": "LowerOperation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2600, "Length": 333, "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": 2601, "Length": 405, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"LC3 Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["LC3", "\"LC3 Assembly Printer\""], "File": "LC3AsmPrinter", "Func": "getPassName", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2602, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_process_components", "(", "sbitmap", "components", ",", "bool", "prologue_p", ")", "{", "rtx", "ptr_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "frame_pointer_needed", "?", "HARD_FRAME_POINTER_REGNUM", ":", "STACK_POINTER_REGNUM", ")", ";", "unsigned", "last_regno", "=", "SBITMAP_SIZE", "(", "components", ")", ";", "unsigned", "regno", "=", "aarch64_get_next_set_bit", "(", "components", ",", "R0_REGNUM", ")", ";", "rtx_insn", "*", "insn", "=", "NULL", ";", "while", "(", "regno", "!=", "last_regno", ")", "{", "machine_mode", "mode", "=", "GP_REGNUM_P", "(", "regno", ")", "?", "DImode", ":", "DFmode", ";", "rtx", "reg", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "HOST_WIDE_INT", "offset", "=", "cfun", "->", "machine", "->", "frame", ".", "reg_offset", "[", "regno", "]", ";", "if", "(", "!", "frame_pointer_needed", ")", "offset", "+=", "cfun", "->", "machine", "->", "frame", ".", "frame_size", "-", "cfun", "->", "machine", "->", "frame", ".", "hard_fp_offset", ";", "rtx", "addr", "=", "plus_constant", "(", "Pmode", ",", "ptr_reg", ",", "offset", ")", ";", "rtx", "mem", "=", "gen_frame_mem", "(", "mode", ",", "addr", ")", ";", "rtx", "set", "=", "prologue_p", "?", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ":", "gen_rtx_SET", "(", "reg", ",", "mem", ")", ";", "unsigned", "regno2", "=", "aarch64_get_next_set_bit", "(", "components", ",", "regno", "+", "1", ")", ";", "if", "(", "regno2", "==", "last_regno", ")", "{", "insn", "=", "emit_insn", "(", "set", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "if", "(", "prologue_p", ")", "add_reg_note", "(", "insn", ",", "REG_CFA_OFFSET", ",", "copy_rtx", "(", "set", ")", ")", ";", "else", "add_reg_note", "(", "insn", ",", "REG_CFA_RESTORE", ",", "reg", ")", ";", "break", ";", "}", "HOST_WIDE_INT", "offset2", "=", "cfun", "->", "machine", "->", "frame", ".", "reg_offset", "[", "regno2", "]", ";", "if", "(", "!", "satisfies_constraint_Ump", "(", "mem", ")", "||", "GP_REGNUM_P", "(", "regno", ")", "!=", "GP_REGNUM_P", "(", "regno2", ")", "||", "(", "offset2", "-", "cfun", "->", "machine", "->", "frame", ".", "reg_offset", "[", "regno", "]", ")", "!=", "GET_MODE_SIZE", "(", "mode", ")", ")", "{", "insn", "=", "emit_insn", "(", "set", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "if", "(", "prologue_p", ")", "add_reg_note", "(", "insn", ",", "REG_CFA_OFFSET", ",", "copy_rtx", "(", "set", ")", ")", ";", "else", "add_reg_note", "(", "insn", ",", "REG_CFA_RESTORE", ",", "reg", ")", ";", "regno", "=", "regno2", ";", "continue", ";", "}", "rtx", "reg2", "=", "gen_rtx_REG", "(", "mode", ",", "regno2", ")", ";", "if", "(", "!", "frame_pointer_needed", ")", "offset2", "+=", "cfun", "->", "machine", "->", "frame", ".", "frame_size", "-", "cfun", "->", "machine", "->", "frame", ".", "hard_fp_offset", ";", "rtx", "addr2", "=", "plus_constant", "(", "Pmode", ",", "ptr_reg", ",", "offset2", ")", ";", "rtx", "mem2", "=", "gen_frame_mem", "(", "mode", ",", "addr2", ")", ";", "rtx", "set2", "=", "prologue_p", "?", "gen_rtx_SET", "(", "mem2", ",", "reg2", ")", ":", "gen_rtx_SET", "(", "reg2", ",", "mem2", ")", ";", "if", "(", "prologue_p", ")", "insn", "=", "emit_insn", "(", "aarch64_gen_store_pair", "(", "mode", ",", "mem", ",", "reg", ",", "mem2", ",", "reg2", ")", ")", ";", "else", "insn", "=", "emit_insn", "(", "aarch64_gen_load_pair", "(", "mode", ",", "reg", ",", "mem", ",", "reg2", ",", "mem2", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "if", "(", "prologue_p", ")", "{", "add_reg_note", "(", "insn", ",", "REG_CFA_OFFSET", ",", "set", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_OFFSET", ",", "set2", ")", ";", "}", "else", "{", "add_reg_note", "(", "insn", ",", "REG_CFA_RESTORE", ",", "reg", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_RESTORE", ",", "reg2", ")", ";", "}", "regno", "=", "aarch64_get_next_set_bit", "(", "components", ",", "regno2", "+", "1", ")", ";", "}", "}", ""], "natrual_language": ["Do", "the", "work", "for", "aarch64_emit_prologue_components", "and", "aarch64_emit_epilogue_components", ".", "COMPONENTS", "is", "the", "bitmap", "of", "registers", "to", "save/restore", ",", "PROLOGUE_P", "indicates", "whether", "to", "emit", "the", "prologue", "sequence", "for", "these", "components", "or", "the", "epilogue", "sequence", ".", "That", "is", ",", "it", "determines", "whether", "we", "should", "emit", "stores", "or", "loads", "and", "what", "kind", "of", "CFA", "notes", "to", "attach", "to", "the", "insns", ".", "Otherwise", "the", "logic", "for", "the", "two", "sequences", "is", "very", "similar", "."], "TS_V_token": ["aarch64", "1", "1", "1", "1", "1"], "File": "aarch644", "Func": "aarch64_process_components", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2603, "Length": 498, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "emitFrameDirective", "(", ")", "{", "const", "TargetRegisterInfo", "&", "RI", "=", "*", "TM", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "stackReg", "=", "RI", ".", "getFrameRegister", "(", "*", "MF", ")", ";", "unsigned", "returnReg", "=", "RI", ".", "getRARegister", "(", ")", ";", "unsigned", "stackSize", "=", "MF", "->", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "if", "(", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "OutStreamer", ".", "EmitRawText", "(", "\"\\t.frame\\t$\"", "+", "StringRef", "(", "MipsInstPrinter", "::", "getRegisterName", "(", "stackReg", ")", ")", ".", "lower", "(", ")", "+", "\",\"", "+", "Twine", "(", "stackSize", ")", "+", "\",$\"", "+", "StringRef", "(", "MipsInstPrinter", "::", "getRegisterName", "(", "returnReg", ")", ")", ".", "lower", "(", ")", ")", ";", "}", ""], "natrual_language": ["Frame", "Directive", "."], "TS_V_token": ["Mips", "Mips", "\"\\t.frame\\t$\"", "Mips", "\",\"", "\",$\"", "Mips"], "File": "MipsAsmPrinter100", "Func": "emitFrameDirective", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2604, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sh_allocate_initial_value", "(", "rtx", "hard_reg", ")", "{", "if", "(", "REGNO", "(", "hard_reg", ")", "==", "PR_REG", ")", "{", "if", "(", "crtl", "->", "is_leaf", "&&", "!", "sh_pr_n_sets", "(", ")", ")", "return", "hard_reg", ";", "else", "return", "gen_frame_mem", "(", "Pmode", ",", "return_address_pointer_rtx", ")", ";", "}", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Return", "where", "to", "allocate", "pseudo", "for", "a", "given", "hard", "register", "initial", "value", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "sh_allocate_initial_value", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2605, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_secondary_reload_simple_move", "(", "enum", "rs6000_reg_type", "to_type", ",", "enum", "rs6000_reg_type", "from_type", ",", "machine_mode", "mode", ")", "{", "int", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "TARGET_DIRECT_MOVE", "&&", "(", "(", "to_type", "==", "GPR_REG_TYPE", "&&", "from_type", "==", "VSX_REG_TYPE", ")", "||", "(", "to_type", "==", "VSX_REG_TYPE", "&&", "from_type", "==", "GPR_REG_TYPE", ")", ")", ")", "{", "if", "(", "TARGET_POWERPC64", ")", "{", "if", "(", "size", "==", "8", ")", "return", "true", ";", "if", "(", "size", "==", "16", "&&", "TARGET_P9_VECTOR", "&&", "mode", "!=", "TDmode", ")", "return", "true", ";", "}", "if", "(", "TARGET_VSX_SMALL_INTEGER", ")", "{", "if", "(", "mode", "==", "SImode", ")", "return", "true", ";", "if", "(", "TARGET_P9_VECTOR", "&&", "(", "mode", "==", "HImode", "||", "mode", "==", "QImode", ")", ")", "return", "true", ";", "}", "if", "(", "mode", "==", "SDmode", ")", "return", "true", ";", "}", "else", "if", "(", "TARGET_MFPGPR", "&&", "TARGET_POWERPC64", "&&", "size", "==", "8", "&&", "(", "(", "to_type", "==", "GPR_REG_TYPE", "&&", "from_type", "==", "FPR_REG_TYPE", ")", "||", "(", "to_type", "==", "FPR_REG_TYPE", "&&", "from_type", "==", "GPR_REG_TYPE", ")", ")", ")", "return", "true", ";", "else", "if", "(", "(", "size", "==", "4", "||", "(", "TARGET_POWERPC64", "&&", "size", "==", "8", ")", ")", "&&", "(", "(", "to_type", "==", "GPR_REG_TYPE", "&&", "from_type", "==", "SPR_REG_TYPE", ")", "||", "(", "to_type", "==", "SPR_REG_TYPE", "&&", "from_type", "==", "GPR_REG_TYPE", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "rs6000_secondary_reload", "to", "return", "true", "if", "a", "move", "to", "a", "different", "register", "classe", "is", "really", "a", "simple", "move", "."], "TS_V_token": ["powerpcspe", "8", "16", "8", "4", "8"], "File": "powerpcspe", "Func": "rs6000_secondary_reload_simple_move", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2606, "Length": 205, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SystemZTTIImpl", "::", "getNumberOfRegisters", "(", "bool", "Vector", ")", "{", "if", "(", "!", "Vector", ")", "return", "14", ";", "if", "(", "ST", "->", "hasVector", "(", ")", ")", "return", "32", ";", "return", "0", ";", "}", ""], "natrual_language": ["\ufffd", "?", "Vector", "TTI", "begin", "\ufffd", "?"], "TS_V_token": ["SystemZ", "SystemZ", "14", "32", "0"], "File": "SystemZTargetTransformInfo (2)", "Func": "getNumberOfRegisters", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2607, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "TargetRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["XNCM"], "File": "XNCMTargetMachine", "Func": "getRegisterInfo", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2608, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "reMaterialize", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "unsigned", "SubIdx", ",", "const", "MachineInstr", "&", "Orig", ",", "const", "TargetRegisterInfo", "&", "TRI", ")", "const", "{", "bool", "ClobbersEFLAGS", "=", "false", ";", "for", "(", "const", "MachineOperand", "&", "MO", ":", "Orig", ".", "operands", "(", ")", ")", "{", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "MO", ".", "isDef", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "==", "X86", "::", "EFLAGS", ")", "{", "ClobbersEFLAGS", "=", "true", ";", "break", ";", "}", "}", "if", "(", "ClobbersEFLAGS", "&&", "!", "isSafeToClobberEFLAGS", "(", "MBB", ",", "I", ")", ")", "{", "int", "Value", ";", "switch", "(", "Orig", ".", "getOpcode", "(", ")", ")", "{", "case", "X86", "::", "MOV32r0", ":", "Value", "=", "0", ";", "break", ";", "case", "X86", "::", "MOV32r1", ":", "Value", "=", "1", ";", "break", ";", "case", "X86", "::", "MOV32r_1", ":", "Value", "=", "-", "1", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Unexpected instruction!\"", ")", ";", "}", "const", "DebugLoc", "&", "DL", "=", "Orig", ".", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "X86", "::", "MOV32ri", ")", ")", ".", "addOperand", "(", "Orig", ".", "getOperand", "(", "0", ")", ")", ".", "addImm", "(", "Value", ")", ";", "}", "else", "{", "MachineInstr", "*", "MI", "=", "MBB", ".", "getParent", "(", ")", "->", "CloneMachineInstr", "(", "&", "Orig", ")", ";", "MBB", ".", "insert", "(", "I", ",", "MI", ")", ";", "}", "MachineInstr", "*", "NewMI", "=", "std", "::", "prev", "(", "I", ")", ";", "NewMI", "->", "substituteRegister", "(", "Orig", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "DestReg", ",", "SubIdx", ",", "TRI", ")", ";", "}", ""], "natrual_language": ["Re-issue", "the", "specified", "'original", "'", "instruction", "at", "the", "specific", "location", "targeting", "a", "new", "destination", "register", "."], "TS_V_token": ["X86", "X86", "X86::EFLAGS", "X86::MOV32r0", "0", "X86::MOV32r1", "1", "X86::MOV32r_1", "1", "\"Unexpected instruction!\"", "X86::MOV32ri", "0", "0"], "File": "X86InstrInfo145", "Func": "reMaterialize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2609, "Length": 256, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "isFrameLoadOpcode", "(", "MI", ".", "getOpcode", "(", ")", ")", ")", "if", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getSubReg", "(", ")", "==", "0", "&&", "isFrameOperand", "(", "MI", ",", "1", ",", "FrameIndex", ")", ")", "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": ["X86", "X86", "0", "0", "1", "0", "0"], "File": "X86InstrInfo (2)1", "Func": "isLoadFromStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2610, "Length": 67, "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_BTIHint", ":", "OS", "<<", "getBTIHintName", "(", ")", ";", "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": "AArch64AsmParser105", "Func": "print", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2611, "Length": 401, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "MemOpKey", "getEmptyKey", "(", ")", "{", "return", "MemOpKey", "(", "PtrInfo", "::", "getEmptyKey", "(", ")", ",", "PtrInfo", "::", "getEmptyKey", "(", ")", ",", "PtrInfo", "::", "getEmptyKey", "(", ")", ",", "PtrInfo", "::", "getEmptyKey", "(", ")", ",", "PtrInfo", "::", "getEmptyKey", "(", ")", ")", ";", "}", ""], "natrual_language": ["Empty", "key", ":", "no", "key", "should", "be", "generated", "that", "has", "no", "DILocalVariable", "."], "TS_V_token": ["X86"], "File": "X86OptimizeLEAs", "Func": "getEmptyKey", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2612, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_cannot_force_const_mem", "(", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "enum", "mips_symbol_type", "type", ";", "rtx", "base", ",", "offset", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "HIGH", ")", "return", "true", ";", "if", "(", "(", "CONST_INT_P", "(", "x", ")", "||", "GET_CODE", "(", "x", ")", "==", "CONST_VECTOR", ")", "&&", "mips_legitimate_constant_p", "(", "mode", ",", "x", ")", ")", "return", "true", ";", "split_const", "(", "x", ",", "&", "base", ",", "&", "offset", ")", ";", "if", "(", "mips_symbolic_constant_p", "(", "base", ",", "SYMBOL_CONTEXT_LEA", ",", "&", "type", ")", ")", "{", "if", "(", "mips_use_pcrel_pool_p", "[", "(", "int", ")", "type", "]", ")", "return", "false", ";", "if", "(", "SMALL_INT", "(", "offset", ")", "&&", "mips_symbol_insns", "(", "type", ",", "MAX_MACHINE_MODE", ")", ">", "0", ")", "return", "true", ";", "if", "(", "TARGET_MIPS16_PCREL_LOADS", "&&", "mips_got_symbol_type_p", "(", "type", ")", ")", "return", "true", ";", "}", "if", "(", "tls_referenced_p", "(", "x", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "can", "not", "be", "forced", "into", "a", "constant", "pool", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips_cannot_force_const_mem", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2613, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_assemble_integer", "(", "rtx", "x", ",", "unsigned", "int", "size", ",", "int", "aligned_p", ")", "{", "if", "(", "size", "==", "UNITS_PER_WORD", "&&", "aligned_p", ")", "{", "fputs", "(", "\"\\t.word\\t\"", ",", "asm_out_file", ")", ";", "output_addr_const", "(", "asm_out_file", ",", "x", ")", ";", "if", "(", "NEED_GOT_RELOC", "&&", "flag_pic", "&&", "making_const_table", "&&", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", ")", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "(", "CONSTANT_POOL_ADDRESS_P", "(", "x", ")", "||", "SYMBOL_REF_LOCAL_P", "(", "x", ")", ")", ")", "fputs", "(", "\"(GOTOFF)\"", ",", "asm_out_file", ")", ";", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", ")", "fputs", "(", "\"(GOTOFF)\"", ",", "asm_out_file", ")", ";", "else", "fputs", "(", "\"(GOT)\"", ",", "asm_out_file", ")", ";", "}", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "return", "true", ";", "}", "if", "(", "arm_vector_mode_supported_p", "(", "GET_MODE", "(", "x", ")", ")", ")", "{", "int", "i", ",", "units", ";", "gcc_assert", "(", "GET_CODE", "(", "x", ")", "==", "CONST_VECTOR", ")", ";", "units", "=", "CONST_VECTOR_NUNITS", "(", "x", ")", ";", "switch", "(", "GET_MODE", "(", "x", ")", ")", "{", "case", "V2SImode", ":", "size", "=", "4", ";", "break", ";", "case", "V4HImode", ":", "size", "=", "2", ";", "break", ";", "case", "V8QImode", ":", "size", "=", "1", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "units", ";", "i", "++", ")", "{", "rtx", "elt", ";", "elt", "=", "CONST_VECTOR_ELT", "(", "x", ",", "i", ")", ";", "assemble_integer", "(", "elt", ",", "size", ",", "i", "==", "0", "?", "BIGGEST_ALIGNMENT", ":", "size", "*", "BITS_PER_UNIT", ",", "1", ")", ";", "}", "return", "true", ";", "}", "return", "default_assemble_integer", "(", "x", ",", "size", ",", "aligned_p", ")", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "assembling", "integer", "objects", ".", "The", "ARM", "version", "needs", "to", "handle", "word-sized", "values", "specially", "."], "TS_V_token": ["arm", "\"\\t.word\\t\"", "\"(GOTOFF)\"", "\"(GOTOFF)\"", "\"(GOT)\"", "4", "2", "1", "0", "0", "1"], "File": "arm3", "Func": "arm_assemble_integer", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2614, "Length": 264, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_can_eliminate", "(", "const", "int", "from", "ATTRIBUTE_UNUSED", ",", "const", "int", "to", ")", "{", "return", "to", "==", "HARD_FRAME_POINTER_REGNUM", "||", "!", "sparc_frame_pointer_required", "(", ")", ";", "}", ""], "natrual_language": ["The", "way", "this", "is", "structured", ",", "we", "ca", "n't", "eliminate", "SFP", "in", "favor", "of", "SP", "if", "the", "frame", "pointer", "is", "required", ":", "we", "want", "to", "use", "the", "SFP-", ">", "HFP", "elimination", "in", "that", "case", ".", "But", "the", "test", "in", "update_eliminables", "does", "n't", "know", "we", "are", "assuming", "below", "that", "we", "only", "do", "the", "former", "elimination", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "sparc_can_eliminate", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2615, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_sibcall_aix", "(", "rtx", "value", ",", "rtx", "func_desc", ",", "rtx", "flag", ",", "rtx", "cookie", ")", "{", "rtx", "call", "[", "2", "]", ";", "rtx", "insn", ";", "gcc_assert", "(", "INTVAL", "(", "cookie", ")", "==", "0", ")", ";", "call", "[", "0", "]", "=", "gen_rtx_CALL", "(", "VOIDmode", ",", "gen_rtx_MEM", "(", "SImode", ",", "func_desc", ")", ",", "flag", ")", ";", "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": ["powerpcspe", "2", "0", "0", "0", "0", "1", "2"], "File": "powerpcspe", "Func": "rs6000_sibcall_aix", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2616, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isProfitableToIfCvt", "(", "MachineBasicBlock", "&", "TMBB", ",", "unsigned", "TCycles", ",", "unsigned", "TExtra", ",", "MachineBasicBlock", "&", "FMBB", ",", "unsigned", "FCycles", ",", "unsigned", "FExtra", ",", "float", "Probability", ",", "float", "Confidence", ")", "const", "{", "if", "(", "!", "TCycles", "||", "!", "FCycles", ")", "return", "false", ";", "float", "UnpredCost", "=", "Probability", "*", "TCycles", "+", "(", "1.0", "-", "Probability", ")", "*", "FCycles", ";", "UnpredCost", "+=", "1.0", ";", "UnpredCost", "+=", "(", "1.0", "-", "Confidence", ")", "*", "Subtarget", ".", "getMispredictionPenalty", "(", ")", ";", "return", "(", "float", ")", "(", "TCycles", "+", "FCycles", "+", "TExtra", "+", "FExtra", ")", "<", "UnpredCost", ";", "}", ""], "natrual_language": ["Second", "variant", "of", "isProfitableToIfCvt", "."], "TS_V_token": ["ARM", "ARM", "1.0", "1.0", "1.0"], "File": "ARMBaseInstrInfo11", "Func": "isProfitableToIfCvt", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2617, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isToken", "(", ")", "const", "{", "return", "Kind", "==", "k_Token", ";", "}", ""], "natrual_language": ["isToken", "-", "Is", "this", "a", "token", "operand", "?"], "TS_V_token": ["ARM"], "File": "ARMAsmParser (2)1", "Func": "isToken", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2618, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "\".ent\"", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "\".end\"", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "\".frame\"", ")", "{", "Parser", ".", "EatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "\".set\"", ")", "{", "return", "parseDirectiveSet", "(", ")", ";", "}", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "\".fmask\"", ")", "{", "Parser", ".", "EatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "\".mask\"", ")", "{", "Parser", ".", "EatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "\".gpword\"", ")", "{", "Parser", ".", "EatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["Mips", "Mips", "\".ent\"", "\".end\"", "\".frame\"", "\".set\"", "\".fmask\"", "\".mask\"", "\".gpword\""], "File": "MipsAsmParser18", "Func": "ParseDirective", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2619, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "PPCTargetLowering", "::", "emitMaskedAtomicCmpXchgIntrinsic", "(", "IRBuilderBase", "&", "Builder", ",", "AtomicCmpXchgInst", "*", "CI", ",", "Value", "*", "AlignedAddr", ",", "Value", "*", "CmpVal", ",", "Value", "*", "NewVal", ",", "Value", "*", "Mask", ",", "AtomicOrdering", "Ord", ")", "const", "{", "assert", "(", "EnableQuadwordAtomics", "&&", "Subtarget", ".", "hasQuadwordAtomics", "(", ")", "&&", "\"Only support quadword now\"", ")", ";", "Module", "*", "M", "=", "Builder", ".", "GetInsertBlock", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "Type", "*", "ValTy", "=", "cast", "<", "PointerType", ">", "(", "AlignedAddr", "->", "getType", "(", ")", ")", "->", "getElementType", "(", ")", ";", "assert", "(", "ValTy", "->", "getPrimitiveSizeInBits", "(", ")", "==", "128", ")", ";", "Function", "*", "IntCmpXchg", "=", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "Intrinsic", "::", "ppc_cmpxchg_i128", ")", ";", "Type", "*", "Int64Ty", "=", "Type", "::", "getInt64Ty", "(", "M", "->", "getContext", "(", ")", ")", ";", "Value", "*", "CmpLo", "=", "Builder", ".", "CreateTrunc", "(", "CmpVal", ",", "Int64Ty", ",", "\"cmp_lo\"", ")", ";", "Value", "*", "CmpHi", "=", "Builder", ".", "CreateTrunc", "(", "Builder", ".", "CreateLShr", "(", "CmpVal", ",", "64", ")", ",", "Int64Ty", ",", "\"cmp_hi\"", ")", ";", "Value", "*", "NewLo", "=", "Builder", ".", "CreateTrunc", "(", "NewVal", ",", "Int64Ty", ",", "\"new_lo\"", ")", ";", "Value", "*", "NewHi", "=", "Builder", ".", "CreateTrunc", "(", "Builder", ".", "CreateLShr", "(", "NewVal", ",", "64", ")", ",", "Int64Ty", ",", "\"new_hi\"", ")", ";", "Value", "*", "Addr", "=", "Builder", ".", "CreateBitCast", "(", "AlignedAddr", ",", "Type", "::", "getInt8PtrTy", "(", "M", "->", "getContext", "(", ")", ")", ")", ";", "emitLeadingFence", "(", "Builder", ",", "CI", ",", "Ord", ")", ";", "Value", "*", "LoHi", "=", "Builder", ".", "CreateCall", "(", "IntCmpXchg", ",", "{", "Addr", ",", "CmpLo", ",", "CmpHi", ",", "NewLo", ",", "NewHi", "}", ")", ";", "emitTrailingFence", "(", "Builder", ",", "CI", ",", "Ord", ")", ";", "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\"", ")", ";", "}", ""], "natrual_language": ["Perform", "a", "masked", "cmpxchg", "using", "a", "target-specific", "intrinsic", "."], "TS_V_token": ["PowerPC", "PPC", "\"Only support quadword now\"", "128", "Intrinsic::getDeclaration", "Intrinsic::ppc_cmpxchg_i128", "\"cmp_lo\"", "64", "\"cmp_hi\"", "\"new_lo\"", "64", "\"new_hi\"", "0", "\"lo\"", "1", "\"hi\"", "\"lo64\"", "\"hi64\"", "64", "\"val64\""], "File": "PPCISelLowering109", "Func": "emitMaskedAtomicCmpXchgIntrinsic", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2620, "Length": 347, "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", ";", "bool", "hasAVX2", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "hasAVX2", "(", ")", ";", "uint16_t", "validDomains", "=", "0", ";", "if", "(", "domain", "&&", "lookup", "(", "MI", "->", "getOpcode", "(", ")", ",", "domain", ")", ")", "validDomains", "=", "0xe", ";", "else", "if", "(", "domain", "&&", "lookupAVX2", "(", "MI", "->", "getOpcode", "(", ")", ",", "domain", ")", ")", "validDomains", "=", "hasAVX2", "?", "0xe", ":", "0x6", ";", "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", "X86", "0", "0xe", "0xe", "0x6"], "File": "X86InstrInfo (2)", "Func": "getExecutionDomain", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2621, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLegalNTStore", "(", "Type", "*", "DataType", ",", "Align", "Alignment", ")", "{", "if", "(", "isa", "<", "VectorType", ">", "(", "DataType", ")", ")", "{", "unsigned", "NumElements", "=", "DataType", "->", "getVectorNumElements", "(", ")", ";", "unsigned", "EltSize", "=", "DataType", "->", "getVectorElementType", "(", ")", "->", "getScalarSizeInBits", "(", ")", ";", "return", "NumElements", ">", "1", "&&", "isPowerOf2_64", "(", "NumElements", ")", "&&", "EltSize", ">=", "8", "&&", "EltSize", "<=", "128", "&&", "isPowerOf2_64", "(", "EltSize", ")", ";", "}", "return", "BaseT", "::", "isLegalNTStore", "(", "DataType", ",", "Alignment", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "nontemporal", "store", "."], "TS_V_token": ["AArch64", "1", "8", "128"], "File": "AArch64TargetTransformInfo26", "Func": "isLegalNTStore", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2622, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FastISel", "::", "tryToFoldLoadIntoMI", "(", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "LoadInst", "*", "LI", ")", "{", "const", "Value", "*", "Ptr", "=", "LI", "->", "getPointerOperand", "(", ")", ";", "X86AddressMode", "AM", ";", "if", "(", "!", "X86SelectAddress", "(", "Ptr", ",", "AM", ")", ")", "return", "false", ";", "const", "X86InstrInfo", "&", "XII", "=", "(", "const", "X86InstrInfo", "&", ")", "TII", ";", "unsigned", "Size", "=", "DL", ".", "getTypeAllocSize", "(", "LI", "->", "getType", "(", ")", ")", ";", "unsigned", "Alignment", "=", "LI", "->", "getAlignment", "(", ")", ";", "if", "(", "Alignment", "==", "0", ")", "Alignment", "=", "DL", ".", "getABITypeAlignment", "(", "LI", "->", "getType", "(", ")", ")", ";", "SmallVector", "<", "MachineOperand", ",", "8", ">", "AddrOps", ";", "AM", ".", "getFullAddress", "(", "AddrOps", ")", ";", "MachineInstr", "*", "Result", "=", "XII", ".", "foldMemoryOperandImpl", "(", "*", "FuncInfo", ".", "MF", ",", "MI", ",", "OpNo", ",", "AddrOps", ",", "FuncInfo", ".", "InsertPt", ",", "Size", ",", "Alignment", ",", "true", ")", ";", "if", "(", "!", "Result", ")", "return", "false", ";", "unsigned", "OperandNo", "=", "0", ";", "for", "(", "MachineInstr", "::", "mop_iterator", "I", "=", "Result", "->", "operands_begin", "(", ")", ",", "E", "=", "Result", "->", "operands_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ",", "++", "OperandNo", ")", "{", "MachineOperand", "&", "MO", "=", "*", "I", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", "||", "MO", ".", "isDef", "(", ")", "||", "MO", ".", "getReg", "(", ")", "!=", "AM", ".", "IndexReg", ")", "continue", ";", "unsigned", "IndexReg", "=", "constrainOperandRegClass", "(", "Result", "->", "getDesc", "(", ")", ",", "MO", ".", "getReg", "(", ")", ",", "OperandNo", ")", ";", "if", "(", "IndexReg", "==", "MO", ".", "getReg", "(", ")", ")", "continue", ";", "MO", ".", "setReg", "(", "IndexReg", ")", ";", "}", "Result", "->", "addMemOperand", "(", "*", "FuncInfo", ".", "MF", ",", "createMachineMemOperandFor", "(", "LI", ")", ")", ";", "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", "X86", "X86", "0", "8", "0"], "File": "X86FastISel (2)6", "Func": "tryToFoldLoadIntoMI", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2623, "Length": 288, "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", "(", ")", ".", "isCortexA9", "(", ")", ")", "addPass", "(", "createMLxExpansionPass", "(", ")", ")", ";", "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"], "File": "ARMTargetMachine28", "Func": "addPreRegAlloc", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2624, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "pru_function_arg_regi", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "size_t", "argsize", "=", "pru_function_arg_size", "(", "mode", ",", "type", ")", ";", "size_t", "i", ",", "bi", ";", "int", "regi", "=", "-", "1", ";", "if", "(", "!", "pru_arg_in_reg_bysize", "(", "argsize", ")", ")", "return", "-", "1", ";", "if", "(", "!", "named", ")", "return", "-", "1", ";", "for", "(", "i", "=", "0", ";", "regi", "<", "0", "&&", "i", "<", "ARRAY_SIZE", "(", "cum", "->", "regs_used", ")", ";", "i", "++", ")", "{", "gcc_assert", "(", "argsize", "==", "1", "||", "argsize", "==", "2", "||", "argsize", "==", "3", "||", "argsize", "==", "4", "||", "argsize", "==", "8", ")", ";", "if", "(", "(", "argsize", ">=", "4", ")", "&&", "(", "i", "%", "4", ")", "!=", "0", ")", "continue", ";", "if", "(", "argsize", "==", "3", "&&", "(", "i", "%", "4", ")", "!=", "0", ")", "continue", ";", "if", "(", "argsize", "==", "2", "&&", "(", "i", "%", "4", ")", "==", "3", ")", "continue", ";", "for", "(", "bi", "=", "0", ";", "bi", "<", "argsize", "&&", "(", "bi", "+", "i", ")", "<", "ARRAY_SIZE", "(", "cum", "->", "regs_used", ")", ";", "bi", "++", ")", "{", "if", "(", "cum", "->", "regs_used", "[", "bi", "+", "i", "]", ")", "break", ";", "}", "if", "(", "bi", "==", "argsize", ")", "regi", "=", "FIRST_ARG_REGNUM", "+", "i", ";", "}", "return", "regi", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "get", "the", "starting", "storage", "HW", "register", "for", "an", "argument", ",", "or", "-1", "if", "it", "must", "be", "passed", "on", "stack", ".", "The", "cum_v", "state", "is", "not", "changed", "."], "TS_V_token": ["pru", "1", "1", "1", "0", "0", "1", "2", "3", "4", "8", "4", "4", "0", "3", "4", "0", "2", "4", "3", "0"], "File": "pru", "Func": "pru_function_arg_regi", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2625, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARM64TargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ")", "const", "{", "unsigned", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "\"sp\"", ",", "ARM64", "::", "SP", ")", ".", "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": ["ARM64", "ARM64", "\"sp\"", "ARM64::SP", "0", "\"Invalid register name global variable\""], "File": "ARM64ISelLowering1", "Func": "getRegisterByName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2626, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isFunctionSafeToOutlineFrom", "(", "MachineFunction", "&", "MF", ",", "bool", "OutlineFromLinkOnceODRs", ")", "const", "{", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "!", "OutlineFromLinkOnceODRs", "&&", "F", ".", "hasLinkOnceODRLinkage", "(", ")", ")", "return", "false", ";", "if", "(", "F", ".", "hasSection", "(", ")", ")", "return", "false", ";", "if", "(", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", "->", "isThumb1OnlyFunction", "(", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "function", "can", "safely", "be", "outlined", "from", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMBaseInstrInfo110", "Func": "isFunctionSafeToOutlineFrom", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2627, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "MipsTargetObjectFile", "::", "getDebugThreadLocalSymbol", "(", "const", "MCSymbol", "*", "Sym", ")", "const", "{", "const", "MCExpr", "*", "Expr", "=", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "MCSymbolRefExpr", "::", "VK_None", ",", "getContext", "(", ")", ")", ";", "Expr", "=", "MCBinaryExpr", "::", "createAdd", "(", "Expr", ",", "MCConstantExpr", "::", "create", "(", "0x8000", ",", "getContext", "(", ")", ")", ",", "getContext", "(", ")", ")", ";", "return", "MipsMCExpr", "::", "create", "(", "MipsMCExpr", "::", "MEK_DTPREL", ",", "Expr", ",", "getContext", "(", ")", ")", ";", "}", ""], "natrual_language": ["Describe", "a", "TLS", "variable", "address", "within", "debug", "info", "."], "TS_V_token": ["Mips", "Mips", "0x8000", "Mips", "Mips"], "File": "MipsTargetObjectFile21", "Func": "getDebugThreadLocalSymbol", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2628, "Length": 75, "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\"", ")", ";", "bool", "isAligned", "=", "(", "RI", ".", "getStackAlignment", "(", ")", ">=", "16", ")", "||", "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\"", "16"], "File": "X86InstrInfo12", "Func": "storeRegToStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2629, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "real_line_pos", "(", "int", "diagpos", ",", "int", "*", "real_line", ",", "int", "*", "real_pos", ")", "{", "*", "real_line", "=", "line", "-", "lastline", ";", "*", "real_pos", "=", "diagpos", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "MAXLINES", ";", "i", "++", ")", "{", "int", "len", "=", "strlen", "(", "lines", "[", "i", "]", ")", ";", "if", "(", "*", "real_pos", "<=", "len", ")", "break", ";", "(", "*", "real_line", ")", "++", ";", "*", "real_pos", "-=", "len", "-", "2", ";", "}", "(", "*", "real_pos", ")", "++", ";", "}", ""], "natrual_language": ["From", "a", "possibly", "extended", "line", "with", "a", "virtual", "position", ",", "calculate", "the", "current", "line", "and", "character", "position", "."], "TS_V_token": ["rs6000", "0", "2"], "File": "rs6000-gen-builtins", "Func": "real_line_pos", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2630, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_promote_ready", "(", "rtx_insn", "*", "*", "ready", ",", "int", "lower", ",", "int", "higher", ")", "{", "rtx_insn", "*", "new_head", ";", "int", "i", ";", "new_head", "=", "ready", "[", "lower", "]", ";", "for", "(", "i", "=", "lower", ";", "i", "<", "higher", ";", "i", "++", ")", "ready", "[", "i", "]", "=", "ready", "[", "i", "+", "1", "]", ";", "ready", "[", "i", "]", "=", "new_head", ";", "}", ""], "natrual_language": ["Remove", "the", "instruction", "at", "index", "LOWER", "from", "ready", "queue", "READY", "and", "reinsert", "it", "in", "front", "of", "the", "instruction", "at", "index", "HIGHER", ".", "LOWER", "must", "be", "<", "=", "HIGHER", "."], "TS_V_token": ["mips", "1"], "File": "mips", "Func": "mips_promote_ready", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2631, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "PPCRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "const", "PPCFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "ZERO", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "ZERO8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "FP", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "FP8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "BP", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "BP8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "CTR", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "CTR8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R1", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "RM", ")", ";", "if", "(", "!", "Subtarget", ".", "isDarwinABI", "(", ")", "||", "!", "Subtarget", ".", "hasAltivec", "(", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "VRSAVE", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R2", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R13", ")", ";", "}", "if", "(", "TM", ".", "isPPC64", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R13", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X1", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X13", ")", ";", "if", "(", "TFI", "->", "needsFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "X31", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "X30", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "const", "PPCFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", ";", "if", "(", "FuncInfo", "->", "usesTOCBasePtr", "(", ")", "||", "MF", ".", "hasInlineAsm", "(", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "X2", ")", ";", "else", "Reserved", ".", "reset", "(", "PPC", "::", "R2", ")", ";", "}", "}", "if", "(", "TFI", "->", "needsFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "R31", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "{", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", "&&", "!", "TM", ".", "isPPC64", "(", ")", "&&", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "Reserved", ".", "set", "(", "PPC", "::", "R29", ")", ";", "else", "Reserved", ".", "set", "(", "PPC", "::", "R30", ")", ";", "}", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", "&&", "!", "TM", ".", "isPPC64", "(", ")", "&&", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "Reserved", ".", "set", "(", "PPC", "::", "R30", ")", ";", "if", "(", "!", "Subtarget", ".", "hasAltivec", "(", ")", ")", "for", "(", "TargetRegisterClass", "::", "iterator", "I", "=", "PPC", "::", "VRRCRegClass", ".", "begin", "(", ")", ",", "IE", "=", "PPC", "::", "VRRCRegClass", ".", "end", "(", ")", ";", "I", "!=", "IE", ";", "++", "I", ")", "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": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC::ZERO", "PPC::ZERO8", "PPC::FP", "PPC::FP8", "PPC::BP", "PPC::BP8", "PPC::CTR", "PPC::CTR8", "PPC::R1", "PPC::LR", "PPC::LR8", "PPC::RM", "PPC::VRSAVE", "PPC::R2", "PPC::R13", "PPC", "PPC::R13", "PPC::X1", "PPC::X13", "PPC::X31", "PPC::X30", "PPC", "PPC", "PPC::X2", "PPC::R2", "PPC::R31", "PPC", "PPC::R29", "PPC::R30", "PPC", "PPC::R30", "PPC::VRRCRegClass", "PPC::VRRCRegClass"], "File": "PPCRegisterInfo (2)1", "Func": "getReservedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2632, "Length": 491, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_debug_address_cost", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "addr_space_t", "as", ",", "bool", "speed", ")", "{", "int", "ret", "=", "TARGET_ADDRESS_COST", "(", "x", ",", "mode", ",", "as", ",", "speed", ")", ";", "fprintf", "(", "stderr", ",", "\"\\nrs6000_address_cost, return = %d, speed = %s, x:\\n\"", ",", "ret", ",", "speed", "?", "\"true\"", ":", "\"false\"", ")", ";", "debug_rtx", "(", "x", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Debug", "form", "of", "ADDRESS_COST", "that", "is", "selected", "if", "-mdebug=cost", "."], "TS_V_token": ["rs6000", "\"\\nrs6000_address_cost, return = %d, speed = %s, x:\\n\"", "\"true\"", "\"false\""], "File": "rs6000", "Func": "rs6000_debug_address_cost", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2633, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AvoidSFBPass", "::", "buildCopy", "(", "MachineInstr", "*", "LoadInst", ",", "unsigned", "NLoadOpcode", ",", "int64_t", "LoadDisp", ",", "MachineInstr", "*", "StoreInst", ",", "unsigned", "NStoreOpcode", ",", "int64_t", "StoreDisp", ",", "unsigned", "Size", ",", "int64_t", "LMMOffset", ",", "int64_t", "SMMOffset", ")", "{", "MachineOperand", "&", "LoadBase", "=", "getBaseOperand", "(", "LoadInst", ")", ";", "MachineOperand", "&", "StoreBase", "=", "getBaseOperand", "(", "StoreInst", ")", ";", "MachineBasicBlock", "*", "MBB", "=", "LoadInst", "->", "getParent", "(", ")", ";", "MachineMemOperand", "*", "LMMO", "=", "*", "LoadInst", "->", "memoperands_begin", "(", ")", ";", "MachineMemOperand", "*", "SMMO", "=", "*", "StoreInst", "->", "memoperands_begin", "(", ")", ";", "unsigned", "Reg1", "=", "MRI", "->", "createVirtualRegister", "(", "TII", "->", "getRegClass", "(", "TII", "->", "get", "(", "NLoadOpcode", ")", ",", "0", ",", "TRI", ",", "*", "(", "MBB", "->", "getParent", "(", ")", ")", ")", ")", ";", "MachineInstr", "*", "NewLoad", "=", "BuildMI", "(", "*", "MBB", ",", "LoadInst", ",", "LoadInst", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "NLoadOpcode", ")", ",", "Reg1", ")", ".", "add", "(", "LoadBase", ")", ".", "addImm", "(", "1", ")", ".", "addReg", "(", "X86", "::", "NoRegister", ")", ".", "addImm", "(", "LoadDisp", ")", ".", "addReg", "(", "X86", "::", "NoRegister", ")", ".", "addMemOperand", "(", "MBB", "->", "getParent", "(", ")", "->", "getMachineMemOperand", "(", "LMMO", ",", "LMMOffset", ",", "Size", ")", ")", ";", "if", "(", "LoadBase", ".", "isReg", "(", ")", ")", "getBaseOperand", "(", "NewLoad", ")", ".", "setIsKill", "(", "false", ")", ";", "LLVM_DEBUG", "(", "NewLoad", "->", "dump", "(", ")", ")", ";", "MachineInstr", "*", "StInst", "=", "StoreInst", ";", "if", "(", "StoreInst", "->", "getPrevNode", "(", ")", "==", "LoadInst", ")", "StInst", "=", "LoadInst", ";", "MachineInstr", "*", "NewStore", "=", "BuildMI", "(", "*", "MBB", ",", "StInst", ",", "StInst", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "NStoreOpcode", ")", ")", ".", "add", "(", "StoreBase", ")", ".", "addImm", "(", "1", ")", ".", "addReg", "(", "X86", "::", "NoRegister", ")", ".", "addImm", "(", "StoreDisp", ")", ".", "addReg", "(", "X86", "::", "NoRegister", ")", ".", "addReg", "(", "Reg1", ")", ".", "addMemOperand", "(", "MBB", "->", "getParent", "(", ")", "->", "getMachineMemOperand", "(", "SMMO", ",", "SMMOffset", ",", "Size", ")", ")", ";", "if", "(", "StoreBase", ".", "isReg", "(", ")", ")", "getBaseOperand", "(", "NewStore", ")", ".", "setIsKill", "(", "false", ")", ";", "MachineOperand", "&", "StoreSrcVReg", "=", "StoreInst", "->", "getOperand", "(", "X86", "::", "AddrNumOperands", ")", ";", "assert", "(", "StoreSrcVReg", ".", "isReg", "(", ")", "&&", "\"Expected virtual register\"", ")", ";", "NewStore", "->", "getOperand", "(", "X86", "::", "AddrNumOperands", ")", ".", "setIsKill", "(", "StoreSrcVReg", ".", "isKill", "(", ")", ")", ";", "LLVM_DEBUG", "(", "NewStore", "->", "dump", "(", ")", ")", ";", "}", ""], "natrual_language": ["Build", "and", "insert", "Res", "=", "COPY", "Op", "."], "TS_V_token": ["X86", "X86", "0", "1", "X86::NoRegister", "X86::NoRegister", "1", "X86::NoRegister", "X86::NoRegister", "X86::AddrNumOperands", "\"Expected virtual register\"", "X86::AddrNumOperands"], "File": "X86AvoidStoreForwardingBlocks", "Func": "buildCopy", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2634, "Length": 386, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isFPRCopy", "(", "const", "MachineInstr", "&", "MI", ")", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "TargetOpcode", "::", "COPY", ":", "{", "unsigned", "DstReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "return", "(", "AArch64", "::", "FPR64RegClass", ".", "contains", "(", "DstReg", ")", "||", "AArch64", "::", "FPR128RegClass", ".", "contains", "(", "DstReg", ")", ")", ";", "}", "case", "AArch64", "::", "ORRv16i8", ":", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", "{", "assert", "(", "MI", ".", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", "==", "3", "&&", "MI", ".", "getOperand", "(", "0", ")", ".", "isReg", "(", ")", "&&", "\"invalid ORRv16i8 operands\"", ")", ";", "return", "true", ";", "}", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Does", "this", "instruction", "rename", "an", "FPR", "without", "modifying", "bits", "?"], "TS_V_token": ["AArch64", "AArch64", "0", "AArch64::FPR64RegClass", "AArch64::FPR128RegClass", "AArch64::ORRv16i8", "1", "2", "3", "0", "\"invalid ORRv16i8 operands\""], "File": "AArch64InstrInfo (2)1", "Func": "isFPRCopy", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2635, "Length": 135, "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": 2636, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "return", "mips_hard_regno_mode_ok_p", "[", "mode", "]", "[", "regno", "]", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_MODE_OK", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_hard_regno_mode_ok", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2637, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isCheapToSpeculateCttz", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "cheap", "to", "speculate", "a", "call", "to", "intrinsic", "cttz", "."], "TS_V_token": ["PowerPC"], "File": "PPCISelLowering (2)1", "Func": "isCheapToSpeculateCttz", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2638, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ix86_issue_rate", "(", "void", ")", "{", "switch", "(", "ix86_tune", ")", "{", "case", "PROCESSOR_PENTIUM", ":", "case", "PROCESSOR_LAKEMONT", ":", "case", "PROCESSOR_BONNELL", ":", "case", "PROCESSOR_SILVERMONT", ":", "case", "PROCESSOR_KNL", ":", "case", "PROCESSOR_KNM", ":", "case", "PROCESSOR_INTEL", ":", "case", "PROCESSOR_K6", ":", "case", "PROCESSOR_BTVER2", ":", "case", "PROCESSOR_PENTIUM4", ":", "case", "PROCESSOR_NOCONA", ":", "return", "2", ";", "case", "PROCESSOR_PENTIUMPRO", ":", "case", "PROCESSOR_ATHLON", ":", "case", "PROCESSOR_K8", ":", "case", "PROCESSOR_AMDFAM10", ":", "case", "PROCESSOR_BTVER1", ":", "return", "3", ";", "case", "PROCESSOR_BDVER1", ":", "case", "PROCESSOR_BDVER2", ":", "case", "PROCESSOR_BDVER3", ":", "case", "PROCESSOR_BDVER4", ":", "case", "PROCESSOR_ZNVER1", ":", "case", "PROCESSOR_ZNVER2", ":", "case", "PROCESSOR_ZNVER3", ":", "case", "PROCESSOR_CORE2", ":", "case", "PROCESSOR_NEHALEM", ":", "case", "PROCESSOR_SANDYBRIDGE", ":", "case", "PROCESSOR_HASWELL", ":", "case", "PROCESSOR_TREMONT", ":", "case", "PROCESSOR_ALDERLAKE", ":", "case", "PROCESSOR_GENERIC", ":", "return", "4", ";", "default", ":", "return", "1", ";", "}", "}", ""], "natrual_language": ["Return", "the", "maximum", "number", "of", "instructions", "a", "cpu", "can", "issue", "."], "TS_V_token": ["i386", "2", "3", "4", "1"], "File": "x86-tune-sched", "Func": "ix86_issue_rate", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2639, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "TOYInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "TOY", "::", "LOADrr", ":", "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": ["TOY", "TOY", "TOY::LOADrr", "1", "1", "0", "0"], "File": "TOYInstrInfo", "Func": "isLoadFromStackSlot", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2640, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "vr4130_align_insns", "(", "void", ")", "{", "struct", "mips_sim", "state", ";", "rtx_insn", "*", "insn", ",", "*", "subinsn", ",", "*", "last", ",", "*", "last2", ",", "*", "next", ";", "bool", "aligned_p", ";", "dfa_start", "(", ")", ";", "last", "=", "0", ";", "last2", "=", "0", ";", "aligned_p", "=", "true", ";", "mips_sim_init", "(", "&", "state", ",", "alloca", "(", "state_size", "(", ")", ")", ")", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", "!=", "0", ";", "insn", "=", "next", ")", "{", "unsigned", "int", "length", ";", "next", "=", "NEXT_INSN", "(", "insn", ")", ";", "vr4130_avoid_branch_rt_conflict", "(", "insn", ")", ";", "length", "=", "get_attr_length", "(", "insn", ")", ";", "if", "(", "length", ">", "0", "&&", "USEFUL_INSN_P", "(", "insn", ")", ")", "FOR_EACH_SUBINSN", "(", "subinsn", ",", "insn", ")", "{", "mips_sim_wait_insn", "(", "&", "state", ",", "subinsn", ")", ";", "if", "(", "state", ".", "insns_left", "!=", "state", ".", "issue_rate", "&&", "!", "CALL_P", "(", "subinsn", ")", ")", "{", "if", "(", "subinsn", "==", "SEQ_BEGIN", "(", "insn", ")", "&&", "aligned_p", ")", "{", "gcc_assert", "(", "last2", ")", ";", "emit_insn_after", "(", "gen_nop", "(", ")", ",", "last2", ")", ";", "aligned_p", "=", "false", ";", "}", "else", "if", "(", "subinsn", "!=", "SEQ_BEGIN", "(", "insn", ")", "&&", "!", "aligned_p", ")", "{", "gcc_assert", "(", "last", ")", ";", "emit_insn_after", "(", "gen_nop", "(", ")", ",", "last", ")", ";", "aligned_p", "=", "true", ";", "}", "}", "mips_sim_issue_insn", "(", "&", "state", ",", "subinsn", ")", ";", "}", "mips_sim_finish_insn", "(", "&", "state", ",", "insn", ")", ";", "length", "=", "get_attr_length", "(", "insn", ")", ";", "if", "(", "length", ">", "0", ")", "{", "if", "(", "NONJUMP_INSN_P", "(", "SEQ_BEGIN", "(", "insn", ")", ")", "&&", "(", "recog_memoized", "(", "insn", ")", "<", "0", "||", "length", ">=", "8", ")", ")", "{", "next", "=", "emit_insn_after", "(", "gen_align", "(", "GEN_INT", "(", "3", ")", ")", ",", "insn", ")", ";", "next", "=", "NEXT_INSN", "(", "next", ")", ";", "mips_sim_next_cycle", "(", "&", "state", ")", ";", "aligned_p", "=", "true", ";", "}", "else", "if", "(", "length", "&", "4", ")", "aligned_p", "=", "!", "aligned_p", ";", "last2", "=", "last", ";", "last", "=", "insn", ";", "}", "if", "(", "LABEL_P", "(", "insn", ")", "&&", "label_to_alignment", "(", "insn", ")", ".", "levels", "[", "0", "]", ".", "log", ">=", "3", ")", "aligned_p", "=", "true", ";", "}", "dfa_finish", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "-mvr4130-align", ".", "Go", "through", "each", "basic", "block", "and", "simulate", "the", "processor", "pipeline", ".", "If", "we", "find", "that", "a", "pair", "of", "instructions", "could", "execute", "in", "parallel", ",", "and", "the", "first", "of", "those", "instruction", "is", "not", "8-byte", "aligned", ",", "insert", "a", "nop", "to", "make", "it", "aligned", "."], "TS_V_token": ["mips", "0", "0", "0", "0", "0", "0", "8", "3", "4", "0", "3"], "File": "mips", "Func": "vr4130_align_insns", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2641, "Length": 347, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "ix86_split_reduction", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_V8DImode", ":", "case", "E_V4DImode", ":", "return", "V2DImode", ";", "case", "E_V16SImode", ":", "case", "E_V8SImode", ":", "return", "V4SImode", ";", "case", "E_V32HImode", ":", "case", "E_V16HImode", ":", "return", "V8HImode", ";", "case", "E_V64QImode", ":", "case", "E_V32QImode", ":", "return", "V16QImode", ";", "case", "E_V16SFmode", ":", "case", "E_V8SFmode", ":", "return", "V4SFmode", ";", "case", "E_V8DFmode", ":", "case", "E_V4DFmode", ":", "return", "V2DFmode", ";", "default", ":", "return", "mode", ";", "}", "}", ""], "natrual_language": ["All", "CPUs", "prefer", "to", "avoid", "cross-lane", "operations", "so", "perform", "reductions", "upper", "against", "lower", "halves", "up", "to", "SSE", "reg", "size", "."], "TS_V_token": ["i386"], "File": "i3867", "Func": "ix86_split_reduction", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2642, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "X86RegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "const", "X86Subtarget", "&", "Subtarget", "=", "TM", ".", "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", ".", "isTargetWin64", "(", ")", ")", "return", "&", "X86", "::", "GR64_TCW64RegClass", ";", "else", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "return", "&", "X86", "::", "GR64_TCRegClass", ";", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "bool", "hasHipeCC", "=", "(", "F", "?", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "HiPE", ":", "false", ")", ";", "if", "(", "hasHipeCC", ")", "return", "&", "X86", "::", "GR32RegClass", ";", "return", "&", "X86", "::", "GR32_TCRegClass", ";", "}", "}", ""], "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_TCW64RegClass", "X86::GR64_TCRegClass", "X86::GR32RegClass", "X86::GR32_TCRegClass"], "File": "X86RegisterInfo21", "Func": "getPointerRegClass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2643, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_evpc_sel", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "machine_mode", "vmode", "=", "d", "->", "vmode", ";", "int", "unit_size", "=", "GET_MODE_UNIT_SIZE", "(", "vmode", ")", ";", "if", "(", "d", "->", "vec_flags", "!=", "VEC_SVE_DATA", "||", "unit_size", ">", "8", ")", "return", "false", ";", "int", "n_patterns", "=", "d", "->", "perm", ".", "encoding", "(", ")", ".", "npatterns", "(", ")", ";", "poly_int64", "vec_len", "=", "d", "->", "perm", ".", "length", "(", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "n_patterns", ";", "++", "i", ")", "if", "(", "!", "known_eq", "(", "d", "->", "perm", "[", "i", "]", ",", "i", ")", "&&", "!", "known_eq", "(", "d", "->", "perm", "[", "i", "]", ",", "vec_len", "+", "i", ")", ")", "return", "false", ";", "for", "(", "int", "i", "=", "n_patterns", ";", "i", "<", "n_patterns", "*", "2", ";", "i", "++", ")", "if", "(", "!", "d", "->", "perm", ".", "series_p", "(", "i", ",", "n_patterns", ",", "i", ",", "n_patterns", ")", "&&", "!", "d", "->", "perm", ".", "series_p", "(", "i", ",", "n_patterns", ",", "vec_len", "+", "i", ",", "n_patterns", ")", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "machine_mode", "pred_mode", "=", "aarch64_sve_pred_mode", "(", "vmode", ")", ";", "rtx_vector_builder", "builder", "(", "pred_mode", ",", "n_patterns", ",", "2", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "n_patterns", "*", "2", ";", "i", "++", ")", "{", "rtx", "elem", "=", "known_eq", "(", "d", "->", "perm", "[", "i", "]", ",", "i", ")", "?", "CONST1_RTX", "(", "BImode", ")", ":", "CONST0_RTX", "(", "BImode", ")", ";", "builder", ".", "quick_push", "(", "elem", ")", ";", "}", "rtx", "const_vec", "=", "builder", ".", "build", "(", ")", ";", "rtx", "pred", "=", "force_reg", "(", "pred_mode", ",", "const_vec", ")", ";", "emit_insn", "(", "gen_vcond_mask", "(", "vmode", ",", "vmode", ",", "d", "->", "target", ",", "d", "->", "op0", ",", "d", "->", "op1", ",", "pred", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Try", "to", "implement", "D", "using", "SVE", "SEL", "instruction", "."], "TS_V_token": ["aarch64", "8", "0", "2", "2", "0", "2"], "File": "aarch64", "Func": "aarch64_evpc_sel", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2644, "Length": 292, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "pure_scalable_type_info", "::", "get_rtx", "(", "machine_mode", "mode", ",", "unsigned", "int", "first_zr", ",", "unsigned", "int", "first_pr", ")", "const", "{", "if", "(", "mode", "==", "pieces", "[", "0", "]", ".", "mode", ")", "{", "gcc_assert", "(", "pieces", ".", "length", "(", ")", "==", "1", ")", ";", "return", "pieces", "[", "0", "]", ".", "get_rtx", "(", "first_zr", ",", "first_pr", ")", ";", "}", "rtvec", "rtxes", "=", "rtvec_alloc", "(", "pieces", ".", "length", "(", ")", ")", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "pieces", ".", "length", "(", ")", ";", "++", "i", ")", "{", "rtx", "reg", "=", "pieces", "[", "i", "]", ".", "get_rtx", "(", "first_zr", ",", "first_pr", ")", ";", "rtx", "offset", "=", "gen_int_mode", "(", "pieces", "[", "i", "]", ".", "offset", ",", "Pmode", ")", ";", "RTVEC_ELT", "(", "rtxes", ",", "i", ")", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "reg", ",", "offset", ")", ";", "first_zr", "+=", "pieces", "[", "i", "]", ".", "num_zr", ";", "first_pr", "+=", "pieces", "[", "i", "]", ".", "num_pr", ";", "}", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "rtxes", ")", ";", "}", ""], "natrual_language": ["Return", "the", "location", "of", "a", "PST", "that", "is", "known", "to", "be", "passed", "or", "returned", "in", "registers", ".", "FIRST_ZR", "is", "the", "first", "unused", "vector", "argument", "register", "and", "FIRST_PR", "is", "the", "first", "unused", "predicate", "argument", "register", "."], "TS_V_token": ["aarch64", "0", "1", "0", "0"], "File": "aarch64", "Func": "get_rtx", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2645, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "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": "i386", "Func": "warn_once_call_ms2sysv_xlogues", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2646, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "machine_mode", "aarch64_hard_regno_caller_save_mode", "(", "unsigned", "regno", ",", "unsigned", "nregs", ",", "machine_mode", "mode", ")", "{", "if", "(", "nregs", "==", "1", "&&", "GET_MODE_SIZE", "(", "mode", ")", "<=", "16", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">=", "4", ")", "return", "mode", ";", "else", "return", "SImode", ";", "}", "else", "return", "choose_hard_reg_mode", "(", "regno", ",", "nregs", ",", "false", ")", ";", "}", ""], "natrual_language": ["Implement", "HARD_REGNO_CALLER_SAVE_MODE", "."], "TS_V_token": ["aarch64", "1", "16", "4"], "File": "aarch642", "Func": "aarch64_hard_regno_caller_save_mode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2647, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ia64_function_value", "(", "const_tree", "valtype", ",", "const_tree", "fn_decl_or_type", ",", "bool", "outgoing", "ATTRIBUTE_UNUSED", ")", "{", "machine_mode", "mode", ";", "machine_mode", "hfa_mode", ";", "int", "unsignedp", ";", "const_tree", "func", "=", "fn_decl_or_type", ";", "if", "(", "fn_decl_or_type", "&&", "!", "DECL_P", "(", "fn_decl_or_type", ")", ")", "func", "=", "NULL", ";", "mode", "=", "TYPE_MODE", "(", "valtype", ")", ";", "hfa_mode", "=", "hfa_element_mode", "(", "valtype", ",", "0", ")", ";", "if", "(", "hfa_mode", "!=", "VOIDmode", ")", "{", "rtx", "loc", "[", "8", "]", ";", "int", "i", ";", "int", "hfa_size", ";", "int", "byte_size", ";", "int", "offset", ";", "hfa_size", "=", "GET_MODE_SIZE", "(", "hfa_mode", ")", ";", "byte_size", "=", "(", "(", "mode", "==", "BLKmode", ")", "?", "int_size_in_bytes", "(", "valtype", ")", ":", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "offset", "=", "0", ";", "for", "(", "i", "=", "0", ";", "offset", "<", "byte_size", ";", "i", "++", ")", "{", "loc", "[", "i", "]", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "hfa_mode", ",", "FR_ARG_FIRST", "+", "i", ")", ",", "GEN_INT", "(", "offset", ")", ")", ";", "offset", "+=", "hfa_size", ";", "}", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec_v", "(", "i", ",", "loc", ")", ")", ";", "}", "else", "if", "(", "FLOAT_TYPE_P", "(", "valtype", ")", "&&", "mode", "!=", "TFmode", "&&", "mode", "!=", "TCmode", ")", "return", "gen_rtx_REG", "(", "mode", ",", "FR_ARG_FIRST", ")", ";", "else", "{", "bool", "need_parallel", "=", "false", ";", "if", "(", "BYTES_BIG_ENDIAN", "&&", "(", "mode", "==", "BLKmode", "||", "(", "valtype", "&&", "AGGREGATE_TYPE_P", "(", "valtype", ")", ")", ")", ")", "need_parallel", "=", "true", ";", "else", "if", "(", "mode", "==", "XFmode", "||", "mode", "==", "XCmode", "||", "mode", "==", "RFmode", ")", "need_parallel", "=", "true", ";", "if", "(", "need_parallel", ")", "{", "rtx", "loc", "[", "8", "]", ";", "int", "offset", ";", "int", "bytesize", ";", "int", "i", ";", "offset", "=", "0", ";", "bytesize", "=", "int_size_in_bytes", "(", "valtype", ")", ";", "if", "(", "bytesize", "==", "0", ")", "return", "gen_rtx_REG", "(", "mode", ",", "GR_RET_FIRST", ")", ";", "for", "(", "i", "=", "0", ";", "offset", "<", "bytesize", ";", "i", "++", ")", "{", "loc", "[", "i", "]", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "DImode", ",", "GR_RET_FIRST", "+", "i", ")", ",", "GEN_INT", "(", "offset", ")", ")", ";", "offset", "+=", "UNITS_PER_WORD", ";", "}", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec_v", "(", "i", ",", "loc", ")", ")", ";", "}", "mode", "=", "promote_function_mode", "(", "valtype", ",", "mode", ",", "&", "unsignedp", ",", "func", "?", "TREE_TYPE", "(", "func", ")", ":", "NULL_TREE", ",", "true", ")", ";", "return", "gen_rtx_REG", "(", "mode", ",", "GR_RET_FIRST", ")", ";", "}", "}", ""], "natrual_language": ["Return", "rtx", "for", "register", "that", "holds", "the", "function", "return", "value", "."], "TS_V_token": ["ia64", "0", "8", "0", "0", "8", "0", "0", "0"], "File": "ia64", "Func": "ia64_function_value", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2648, "Length": 380, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "functionArgumentNeedsConsecutiveRegisters", "(", "Type", "*", "Ty", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "DataLayout", "&", "DL", ")", "const", "{", "if", "(", "!", "Ty", "->", "isArrayTy", "(", ")", ")", "{", "const", "TypeSize", "&", "TySize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "return", "TySize", ".", "isScalable", "(", ")", "&&", "TySize", ".", "getKnownMinSize", "(", ")", ">", "128", ";", "}", "SmallVector", "<", "EVT", ">", "ValueVTs", ";", "ComputeValueVTs", "(", "*", "this", ",", "DL", ",", "Ty", ",", "ValueVTs", ")", ";", "return", "is_splat", "(", "ValueVTs", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "an", "argument", "of", "type", "Ty", "needs", "to", "be", "passed", "in", "a", "contiguous", "block", "of", "registers", "in", "calling", "convention", "CallConv", "."], "TS_V_token": ["AArch64", "AArch64", "128"], "File": "AArch64ISelLowering (2)2", "Func": "functionArgumentNeedsConsecutiveRegisters", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2649, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "unique_ptr", "<", "CSEConfigBase", ">", "ARMPassConfig", "::", "getCSEConfig", "(", ")", "const", "{", "return", "getStandardCSEConfigForOpt", "(", "TM", "->", "getOptLevel", "(", ")", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "CSEConfig", "object", "to", "use", "for", "the", "current", "optimization", "level", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMTargetMachine1", "Func": "getCSEConfig", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2650, "Length": 24, "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", ")", ";", "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", "::", "READCYCLECOUNTER", ":", "ReplaceREADCYCLECOUNTER", "(", "N", ",", "Results", ",", "DAG", ",", "Subtarget", ")", ";", "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::READCYCLECOUNTER"], "File": "ARMISelLowering136", "Func": "ReplaceNodeResults", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2651, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "aarch64_output_probe_sve_stack_clash", "(", "rtx", "base", ",", "rtx", "adjustment", ",", "rtx", "min_probe_threshold", ",", "rtx", "guard_size", ")", "{", "gcc_assert", "(", "flag_stack_clash_protection", ")", ";", "gcc_assert", "(", "CONST_INT_P", "(", "min_probe_threshold", ")", "&&", "CONST_INT_P", "(", "guard_size", ")", ")", ";", "gcc_assert", "(", "INTVAL", "(", "guard_size", ")", ">", "INTVAL", "(", "min_probe_threshold", ")", ")", ";", "HOST_WIDE_INT", "residual_probe_guard", "=", "INTVAL", "(", "min_probe_threshold", ")", ";", "residual_probe_guard", "=", "aarch64_clamp_to_uimm12_shift", "(", "residual_probe_guard", ")", ";", "rtx", "probe_offset_value_rtx", "=", "gen_int_mode", "(", "residual_probe_guard", ",", "Pmode", ")", ";", "gcc_assert", "(", "INTVAL", "(", "min_probe_threshold", ")", ">=", "residual_probe_guard", ")", ";", "gcc_assert", "(", "aarch64_uimm12_shift", "(", "residual_probe_guard", ")", ")", ";", "static", "int", "labelno", "=", "0", ";", "char", "loop_start_lab", "[", "32", "]", ";", "char", "loop_end_lab", "[", "32", "]", ";", "rtx", "xops", "[", "2", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "loop_start_lab", ",", "\"SVLPSPL\"", ",", "labelno", ")", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "loop_end_lab", ",", "\"SVLPEND\"", ",", "labelno", "++", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "loop_start_lab", ")", ";", "xops", "[", "0", "]", "=", "adjustment", ";", "xops", "[", "1", "]", "=", "probe_offset_value_rtx", ";", "output_asm_insn", "(", "\"cmp\\t%0, %1\"", ",", "xops", ")", ";", "fputs", "(", "\"\\tb.lt\\t\"", ",", "asm_out_file", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "loop_end_lab", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "xops", "[", "0", "]", "=", "base", ";", "xops", "[", "1", "]", "=", "probe_offset_value_rtx", ";", "output_asm_insn", "(", "\"sub\\t%0, %0, %1\"", ",", "xops", ")", ";", "xops", "[", "1", "]", "=", "const0_rtx", ";", "output_asm_insn", "(", "\"str\\txzr, [%0, %1]\"", ",", "xops", ")", ";", "xops", "[", "0", "]", "=", "adjustment", ";", "xops", "[", "1", "]", "=", "probe_offset_value_rtx", ";", "output_asm_insn", "(", "\"sub\\t%0, %0, %1\"", ",", "xops", ")", ";", "fputs", "(", "\"\\tb\\t\"", ",", "asm_out_file", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "loop_start_lab", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "loop_end_lab", ")", ";", "xops", "[", "0", "]", "=", "base", ";", "xops", "[", "1", "]", "=", "adjustment", ";", "output_asm_insn", "(", "\"sub\\t%0, %0, %1\"", ",", "xops", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Emit", "the", "probe", "loop", "for", "doing", "stack", "clash", "probes", "and", "stack", "adjustments", "for", "SVE", ".", "This", "emits", "probes", "from", "BASE", "to", "BASE", "-", "ADJUSTMENT", "based", "on", "a", "guard", "size", "of", "GUARD_SIZE", ".", "When", "a", "probe", "is", "emitted", "it", "is", "done", "at", "most", "MIN_PROBE_THRESHOLD", "bytes", "from", "the", "current", "BASE", "at", "an", "interval", "of", "at", "most", "MIN_PROBE_THRESHOLD", ".", "By", "the", "end", "of", "this", "function", "BASE", "=", "BASE", "-", "ADJUSTMENT", "."], "TS_V_token": ["aarch64", "0", "32", "32", "2", "\"SVLPSPL\"", "\"SVLPEND\"", "0", "1", "\"cmp\\t%0, %1\"", "\"\\tb.lt\\t\"", "0", "1", "\"sub\\t%0, %0, %1\"", "1", "\"str\\txzr, [%0, %1]\"", "0", "1", "\"sub\\t%0, %0, %1\"", "\"\\tb\\t\"", "0", "1", "\"sub\\t%0, %0, %1\"", "\"\""], "File": "aarch64", "Func": "aarch64_output_probe_sve_stack_clash", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2652, "Length": 293, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_expand_call", "(", "rtx", "result", ",", "rtx", "mem", ",", "rtx", "callee_abi", ",", "bool", "sibcall", ")", "{", "rtx", "call", ",", "callee", ",", "tmp", ";", "rtvec", "vec", ";", "machine_mode", "mode", ";", "gcc_assert", "(", "MEM_P", "(", "mem", ")", ")", ";", "callee", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "mode", "=", "GET_MODE", "(", "callee", ")", ";", "gcc_assert", "(", "mode", "==", "Pmode", ")", ";", "if", "(", "SYMBOL_REF_P", "(", "callee", ")", "?", "(", "aarch64_is_long_call_p", "(", "callee", ")", "||", "aarch64_is_noplt_call_p", "(", "callee", ")", ")", ":", "!", "REG_P", "(", "callee", ")", ")", "XEXP", "(", "mem", ",", "0", ")", "=", "force_reg", "(", "mode", ",", "callee", ")", ";", "call", "=", "gen_rtx_CALL", "(", "VOIDmode", ",", "mem", ",", "const0_rtx", ")", ";", "if", "(", "result", "!=", "NULL_RTX", ")", "call", "=", "gen_rtx_SET", "(", "result", ",", "call", ")", ";", "if", "(", "sibcall", ")", "tmp", "=", "ret_rtx", ";", "else", "tmp", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "Pmode", ",", "LR_REGNUM", ")", ")", ";", "gcc_assert", "(", "CONST_INT_P", "(", "callee_abi", ")", ")", ";", "callee_abi", "=", "gen_rtx_UNSPEC", "(", "DImode", ",", "gen_rtvec", "(", "1", ",", "callee_abi", ")", ",", "UNSPEC_CALLEE_ABI", ")", ";", "vec", "=", "gen_rtvec", "(", "3", ",", "call", ",", "callee_abi", ",", "tmp", ")", ";", "call", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "vec", ")", ";", "aarch64_emit_call_insn", "(", "call", ")", ";", "}", ""], "natrual_language": ["This", "function", "is", "used", "by", "the", "call", "expanders", "of", "the", "machine", "description", ".", "RESULT", "is", "the", "register", "in", "which", "the", "result", "is", "returned", ".", "It", "'s", "NULL", "for", "``", "call", "''", "and", "``", "sibcall", "''", ".", "MEM", "is", "the", "location", "of", "the", "function", "call", ".", "SIBCALL", "indicates", "whether", "this", "function", "call", "is", "normal", "call", "or", "sibling", "call", ".", "It", "will", "generate", "different", "pattern", "accordingly", "."], "TS_V_token": ["aarch64", "0", "0", "1", "3"], "File": "aarch64", "Func": "aarch64_expand_call", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2653, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_emit_i387_atanh", "(", "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", ")", ")", ";", "cst1", "=", "force_reg", "(", "XFmode", ",", "CONST1_RTX", "(", "XFmode", ")", ")", ";", "emit_insn", "(", "gen_addxf3", "(", "e1", ",", "e2", ",", "cst1", ")", ")", ";", "emit_insn", "(", "gen_addxf3", "(", "e2", ",", "e2", ",", "e2", ")", ")", ";", "emit_insn", "(", "gen_negxf2", "(", "e2", ",", "e2", ")", ")", ";", "emit_insn", "(", "gen_divxf3", "(", "e1", ",", "e2", ",", "e1", ")", ")", ";", "ix86_emit_i387_log1p", "(", "e2", ",", "e1", ")", ";", "emit_insn", "(", "gen_testqi_ext_1_ccno", "(", "scratch", ",", "GEN_INT", "(", "0x02", ")", ")", ")", ";", "tmp", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "gen_rtx_NE", "(", "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", "atanh", "XFmode", "calculation", "."], "TS_V_token": ["i386", "0x02", "50", "100", "1"], "File": "i386-expand", "Func": "ix86_emit_i387_atanh", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2654, "Length": 266, "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", ":", "if", "(", "validateInstruction", "(", "Inst", ",", "Operands", ")", ")", "{", "forwardITPosition", "(", ")", ";", "return", "true", ";", "}", "{", "bool", "wasInITBlock", "=", "inITBlock", "(", ")", ";", "while", "(", "processInstruction", "(", "Inst", ",", "Operands", ",", "Out", ")", ")", ";", "if", "(", "wasInITBlock", "&&", "hasV8Ops", "(", ")", "&&", "isThumb", "(", ")", "&&", "!", "isV8EligibleForIT", "(", "&", "Inst", ")", ")", "{", "Warning", "(", "IDLoc", ",", "\"deprecated instruction in IT block\"", ")", ";", "}", "}", "forwardITPosition", "(", ")", ";", "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", ":", "{", "uint64_t", "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", "\"deprecated instruction in IT block\"", "ARM::ITasm", "ARM", "ARM", "0", "\"invalid instruction\"", "ARM", "0", "\"Implement any new match types added!\""], "File": "ARMAsmParser (2)2", "Func": "MatchAndEmitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2655, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "*", "aarch64_output_simd_mov_immediate", "(", "rtx", "const_vector", ",", "unsigned", "width", ",", "enum", "simd_immediate_check", "which", ")", "{", "bool", "is_valid", ";", "static", "char", "templ", "[", "40", "]", ";", "const", "char", "*", "mnemonic", ";", "const", "char", "*", "shift_op", ";", "unsigned", "int", "lane_count", "=", "0", ";", "char", "element_char", ";", "struct", "simd_immediate_info", "info", ";", "is_valid", "=", "aarch64_simd_valid_immediate", "(", "const_vector", ",", "&", "info", ",", "which", ")", ";", "gcc_assert", "(", "is_valid", ")", ";", "element_char", "=", "sizetochar", "(", "GET_MODE_BITSIZE", "(", "info", ".", "elt_mode", ")", ")", ";", "lane_count", "=", "width", "/", "GET_MODE_BITSIZE", "(", "info", ".", "elt_mode", ")", ";", "if", "(", "GET_MODE_CLASS", "(", "info", ".", "elt_mode", ")", "==", "MODE_FLOAT", ")", "{", "gcc_assert", "(", "info", ".", "insn", "==", "simd_immediate_info", "::", "MOV", "&&", "info", ".", "u", ".", "mov", ".", "shift", "==", "0", ")", ";", "if", "(", "aarch64_float_const_zero_rtx_p", "(", "info", ".", "u", ".", "mov", ".", "value", ")", ")", "info", ".", "u", ".", "mov", ".", "value", "=", "GEN_INT", "(", "0", ")", ";", "else", "{", "const", "unsigned", "int", "buf_size", "=", "20", ";", "char", "float_buf", "[", "buf_size", "]", "=", "{", "'\\0'", "}", ";", "real_to_decimal_for_mode", "(", "float_buf", ",", "CONST_DOUBLE_REAL_VALUE", "(", "info", ".", "u", ".", "mov", ".", "value", ")", ",", "buf_size", ",", "buf_size", ",", "1", ",", "info", ".", "elt_mode", ")", ";", "if", "(", "lane_count", "==", "1", ")", "snprintf", "(", "templ", ",", "sizeof", "(", "templ", ")", ",", "\"fmov\\t%%d0, %s\"", ",", "float_buf", ")", ";", "else", "snprintf", "(", "templ", ",", "sizeof", "(", "templ", ")", ",", "\"fmov\\t%%0.%d%c, %s\"", ",", "lane_count", ",", "element_char", ",", "float_buf", ")", ";", "return", "templ", ";", "}", "}", "gcc_assert", "(", "CONST_INT_P", "(", "info", ".", "u", ".", "mov", ".", "value", ")", ")", ";", "if", "(", "which", "==", "AARCH64_CHECK_MOV", ")", "{", "mnemonic", "=", "info", ".", "insn", "==", "simd_immediate_info", "::", "MVN", "?", "\"mvni\"", ":", "\"movi\"", ";", "shift_op", "=", "(", "info", ".", "u", ".", "mov", ".", "modifier", "==", "simd_immediate_info", "::", "MSL", "?", "\"msl\"", ":", "\"lsl\"", ")", ";", "if", "(", "lane_count", "==", "1", ")", "snprintf", "(", "templ", ",", "sizeof", "(", "templ", ")", ",", "\"%s\\t%%d0, \"", "HOST_WIDE_INT_PRINT_HEX", ",", "mnemonic", ",", "UINTVAL", "(", "info", ".", "u", ".", "mov", ".", "value", ")", ")", ";", "else", "if", "(", "info", ".", "u", ".", "mov", ".", "shift", ")", "snprintf", "(", "templ", ",", "sizeof", "(", "templ", ")", ",", "\"%s\\t%%0.%d%c, \"", "HOST_WIDE_INT_PRINT_HEX", "\", %s %d\"", ",", "mnemonic", ",", "lane_count", ",", "element_char", ",", "UINTVAL", "(", "info", ".", "u", ".", "mov", ".", "value", ")", ",", "shift_op", ",", "info", ".", "u", ".", "mov", ".", "shift", ")", ";", "else", "snprintf", "(", "templ", ",", "sizeof", "(", "templ", ")", ",", "\"%s\\t%%0.%d%c, \"", "HOST_WIDE_INT_PRINT_HEX", ",", "mnemonic", ",", "lane_count", ",", "element_char", ",", "UINTVAL", "(", "info", ".", "u", ".", "mov", ".", "value", ")", ")", ";", "}", "else", "{", "mnemonic", "=", "info", ".", "insn", "==", "simd_immediate_info", "::", "MVN", "?", "\"bic\"", ":", "\"orr\"", ";", "if", "(", "info", ".", "u", ".", "mov", ".", "shift", ")", "snprintf", "(", "templ", ",", "sizeof", "(", "templ", ")", ",", "\"%s\\t%%0.%d%c, #\"", "HOST_WIDE_INT_PRINT_DEC", "\", %s #%d\"", ",", "mnemonic", ",", "lane_count", ",", "element_char", ",", "UINTVAL", "(", "info", ".", "u", ".", "mov", ".", "value", ")", ",", "\"lsl\"", ",", "info", ".", "u", ".", "mov", ".", "shift", ")", ";", "else", "snprintf", "(", "templ", ",", "sizeof", "(", "templ", ")", ",", "\"%s\\t%%0.%d%c, #\"", "HOST_WIDE_INT_PRINT_DEC", ",", "mnemonic", ",", "lane_count", ",", "element_char", ",", "UINTVAL", "(", "info", ".", "u", ".", "mov", ".", "value", ")", ")", ";", "}", "return", "templ", ";", "}", ""], "natrual_language": ["Returns", "the", "string", "with", "the", "instruction", "for", "AdvSIMD", "MOVI", ",", "MVNI", ",", "ORR", "or", "BIC", "immediate", "with", "a", "CONST_VECTOR", "of", "MODE", "and", "WIDTH", ".", "WHICH", "selects", "whether", "to", "output", "MOVI/MVNI", ",", "ORR", "or", "BIC", "immediate", "."], "TS_V_token": ["aarch64", "40", "0", "0", "0", "20", "1", "1", "\"fmov\\t%%d0, %s\"", "\"fmov\\t%%0.%d%c, %s\"", "\"mvni\"", "\"movi\"", "\"msl\"", "\"lsl\"", "1", "\"%s\\t%%d0, \"", "\"%s\\t%%0.%d%c, \"", "\", %s %d\"", "\"%s\\t%%0.%d%c, \"", "\"bic\"", "\"orr\"", "\"%s\\t%%0.%d%c, #\"", "\", %s #%d\"", "\"lsl\"", "\"%s\\t%%0.%d%c, #\""], "File": "aarch64", "Func": "aarch64_output_simd_mov_immediate", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2656, "Length": 510, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ia64_reloc_rw_mask", "(", "void", ")", "{", "return", "flag_pic", "?", "3", ":", "2", ";", "}", ""], "natrual_language": ["For", "others", ",", "relax", "this", "so", "that", "relocations", "to", "local", "data", "goes", "in", "read-only", "segments", ",", "but", "we", "still", "can", "not", "allow", "global", "relocations", "in", "read-only", "segments", "."], "TS_V_token": ["ia64", "3", "2"], "File": "ia64", "Func": "ia64_reloc_rw_mask", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2657, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmParser", "::", "EmitInstruction", "(", "MCInst", "&", "Inst", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ")", "{", "Instrumentation", "->", "InstrumentAndEmitInstruction", "(", "Inst", ",", "Operands", ",", "getContext", "(", ")", ",", "MII", ",", "Out", ",", "getParser", "(", ")", ".", "shouldPrintSchedInfo", "(", ")", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["X86", "X86"], "File": "X86AsmParser1", "Func": "EmitInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2658, "Length": 44, "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", ";", "unsigned", "HOST_WIDE_INT", "dsize", ",", "dalign", ",", "lsb", ",", "mask", ";", "if", "(", "GET_CODE", "(", "op", ")", "!=", "SYMBOL_REF", ")", "return", "false", ";", "if", "(", "mode_supports_vsx_dform_quad", "(", "mode", ")", ")", "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", ";", "dalign", "/=", "BITS_PER_UNIT", ";", "if", "(", "dalign", ">", "POWERPC64_TOC_POINTER_ALIGNMENT", ")", "dalign", "=", "POWERPC64_TOC_POINTER_ALIGNMENT", ";", "return", "dalign", ">=", "dsize", ";", "}", "}", "else", "gcc_unreachable", "(", ")", ";", "dalign", "/=", "BITS_PER_UNIT", ";", "if", "(", "dalign", ">", "POWERPC64_TOC_POINTER_ALIGNMENT", ")", "dalign", "=", "POWERPC64_TOC_POINTER_ALIGNMENT", ";", "mask", "=", "dalign", "-", "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": ["powerpcspe", "0", "0", "32768", "1", "1", "1"], "File": "powerpcspe", "Func": "offsettable_ok_by_alignment", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2659, "Length": 290, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "LanaiFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "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": ["Lanai", "Lanai"], "File": "LanaiFrameLowering11", "Func": "eliminateCallFramePseudoInstr", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2660, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "predefined_function_abi", "&", "ix86_insn_callee_abi", "(", "const", "rtx_insn", "*", "insn", ")", "{", "unsigned", "int", "abi_id", "=", "0", ";", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "vzeroupper_pattern", "(", "pat", ",", "VOIDmode", ")", ")", "abi_id", "=", "ABI_VZEROUPPER", ";", "return", "function_abis", "[", "abi_id", "]", ";", "}", ""], "natrual_language": ["Implement", "TARGET_INSN_CALLEE_ABI", "."], "TS_V_token": ["i386", "0"], "File": "i386", "Func": "ix86_insn_callee_abi", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2661, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_branchy_insn", "(", "enum", "rtx_code", "code", ",", "const", "char", "*", "templ", ",", "rtx_insn", "*", "insn", ",", "rtx", "*", "operands", ")", "{", "rtx_insn", "*", "next_insn", "=", "NEXT_INSN", "(", "insn", ")", ";", "if", "(", "next_insn", "&&", "JUMP_P", "(", "next_insn", ")", "&&", "condjump_p", "(", "next_insn", ")", ")", "{", "rtx", "src", "=", "SET_SRC", "(", "PATTERN", "(", "next_insn", ")", ")", ";", "if", "(", "GET_CODE", "(", "src", ")", "==", "IF_THEN_ELSE", "&&", "GET_CODE", "(", "XEXP", "(", "src", ",", "0", ")", ")", "!=", "code", ")", "{", "rtx_code_label", "*", "lab", "=", "gen_label_rtx", "(", ")", ";", "emit_label_after", "(", "lab", ",", "next_insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "lab", ",", "INSN_ADDRESSES", "(", "INSN_UID", "(", "next_insn", ")", ")", "+", "get_attr_length", "(", "next_insn", ")", ")", ";", "operands", "[", "9", "]", "=", "lab", ";", "return", "templ", ";", "}", "else", "{", "int", "offset", "=", "(", "branch_dest", "(", "next_insn", ")", "-", "INSN_ADDRESSES", "(", "INSN_UID", "(", "next_insn", ")", ")", "+", "4", ")", ";", "if", "(", "offset", ">=", "-", "252", "&&", "offset", "<=", "258", ")", "{", "if", "(", "GET_CODE", "(", "src", ")", "==", "IF_THEN_ELSE", ")", "src", "=", "XEXP", "(", "src", ",", "1", ")", ";", "operands", "[", "9", "]", "=", "src", ";", "return", "templ", ";", "}", "}", "}", "rtx_code_label", "*", "lab", "=", "gen_label_rtx", "(", ")", ";", "emit_label_after", "(", "lab", ",", "insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "lab", ",", "INSN_ADDRESSES", "(", "INSN_UID", "(", "insn", ")", ")", "+", "get_attr_length", "(", "insn", ")", ")", ";", "operands", "[", "9", "]", "=", "lab", ";", "return", "templ", ";", "}", ""], "natrual_language": ["Output", "a", "code", "sequence", "for", "INSN", "using", "TEMPL", "with", "OPERANDS", ";", "but", "before", ",", "fill", "in", "operands", "9", "as", "a", "label", "to", "the", "successor", "insn", ".", "We", "try", "to", "use", "jump", "threading", "where", "possible", ".", "IF", "CODE", "matches", "the", "comparison", "in", "the", "IF_THEN_ELSE", "of", "a", "following", "jump", ",", "we", "assume", "the", "jump", "is", "taken", ".", "I.e", ".", "EQ", "means", "follow", "jmp", "and", "bf", ",", "NE", "means", "follow", "jmp", "and", "bt", ",", "if", "the", "address", "is", "in", "range", "."], "TS_V_token": ["sh", "0", "9", "4", "252", "258", "1", "9", "9"], "File": "sh", "Func": "output_branchy_insn", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2662, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "xstormy16_asm_out_destructor", "(", "rtx", "symbol", ",", "int", "priority", ")", "{", "const", "char", "*", "section", "=", "\".dtors\"", ";", "char", "buf", "[", "16", "]", ";", "if", "(", "priority", "!=", "DEFAULT_INIT_PRIORITY", ")", "{", "sprintf", "(", "buf", ",", "\".dtors.%.5u\"", ",", "MAX_INIT_PRIORITY", "-", "priority", ")", ";", "section", "=", "buf", ";", "}", "named_section_flags", "(", "section", ",", "0", ")", ";", "assemble_align", "(", "POINTER_SIZE", ")", ";", "assemble_integer", "(", "symbol", ",", "POINTER_SIZE", "/", "BITS_PER_UNIT", ",", "POINTER_SIZE", ",", "1", ")", ";", "}", ""], "natrual_language": ["Output", "constructors", "and", "destructors", ".", "Just", "like", "default_named_section_asm_out_", "*", "but", "do", "n't", "set", "the", "sections", "writable", "."], "TS_V_token": ["stormy16", "\".dtors\"", "16", "\".dtors.%.5u\"", "0", "1"], "File": "stormy163", "Func": "xstormy16_asm_out_destructor", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2663, "Length": 73, "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": 2664, "Length": 301, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_mask_atomic_subword", "(", "rtx", "oldval", ",", "rtx", "newval", ",", "rtx", "mask", ")", "{", "rtx", "x", ";", "x", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "x", ",", "gen_rtx_AND", "(", "SImode", ",", "gen_rtx_NOT", "(", "SImode", ",", "mask", ")", ",", "oldval", ")", ")", ")", ";", "x", "=", "expand_simple_binop", "(", "SImode", ",", "IOR", ",", "newval", ",", "x", ",", "x", ",", "1", ",", "OPTAB_LIB_WIDEN", ")", ";", "return", "x", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "the", "various", "atomic", "expanders", ".", "For", "sub-word", "operands", ",", "combine", "OLDVAL", "and", "NEWVAL", "via", "MASK", ".", "Returns", "a", "new", "pseduo", "."], "TS_V_token": ["powerpcspe", "1"], "File": "powerpcspe", "Func": "rs6000_mask_atomic_subword", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2665, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "i386_pe_dllexport_name_p", "(", "const", "char", "*", "symbol", ")", "{", "return", "(", "strncmp", "(", "DLL_EXPORT_PREFIX", ",", "symbol", ",", "strlen", "(", "DLL_EXPORT_PREFIX", ")", ")", "==", "0", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "SYMBOL", "is", "marked", "as", "being", "dllexport", "'d", "."], "TS_V_token": ["i386", "0"], "File": "winnt3", "Func": "i386_pe_dllexport_name_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2666, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "PPCInstrInfo", "::", "commuteInstruction", "(", "MachineInstr", "*", "MI", ",", "bool", "NewMI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "RLWIMI", "&&", "MI", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "RLWIMIo", ")", "return", "TargetInstrInfo", "::", "commuteInstruction", "(", "MI", ",", "NewMI", ")", ";", "if", "(", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "!=", "0", ")", "return", "0", ";", "unsigned", "Reg0", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "unsigned", "Reg1", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "unsigned", "Reg2", "=", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "bool", "Reg1IsKill", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "isKill", "(", ")", ";", "bool", "Reg2IsKill", "=", "MI", "->", "getOperand", "(", "2", ")", ".", "isKill", "(", ")", ";", "bool", "ChangeReg0", "=", "false", ";", "if", "(", "Reg0", "==", "Reg1", ")", "{", "assert", "(", "MI", "->", "getDesc", "(", ")", ".", "getOperandConstraint", "(", "0", ",", "MCOI", "::", "TIED_TO", ")", "&&", "\"Expecting a two-address instruction!\"", ")", ";", "Reg2IsKill", "=", "false", ";", "ChangeReg0", "=", "true", ";", "}", "unsigned", "MB", "=", "MI", "->", "getOperand", "(", "4", ")", ".", "getImm", "(", ")", ";", "unsigned", "ME", "=", "MI", "->", "getOperand", "(", "5", ")", ".", "getImm", "(", ")", ";", "if", "(", "NewMI", ")", "{", "unsigned", "Reg0", "=", "ChangeReg0", "?", "Reg2", ":", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "bool", "Reg0IsDead", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "isDead", "(", ")", ";", "return", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "MI", "->", "getDesc", "(", ")", ")", ".", "addReg", "(", "Reg0", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "Reg0IsDead", ")", ")", ".", "addReg", "(", "Reg2", ",", "getKillRegState", "(", "Reg2IsKill", ")", ")", ".", "addReg", "(", "Reg1", ",", "getKillRegState", "(", "Reg1IsKill", ")", ")", ".", "addImm", "(", "(", "ME", "+", "1", ")", "&", "31", ")", ".", "addImm", "(", "(", "MB", "-", "1", ")", "&", "31", ")", ";", "}", "if", "(", "ChangeReg0", ")", "MI", "->", "getOperand", "(", "0", ")", ".", "setReg", "(", "Reg2", ")", ";", "MI", "->", "getOperand", "(", "2", ")", ".", "setReg", "(", "Reg1", ")", ";", "MI", "->", "getOperand", "(", "1", ")", ".", "setReg", "(", "Reg2", ")", ";", "MI", "->", "getOperand", "(", "2", ")", ".", "setIsKill", "(", "Reg1IsKill", ")", ";", "MI", "->", "getOperand", "(", "1", ")", ".", "setIsKill", "(", "Reg2IsKill", ")", ";", "MI", "->", "getOperand", "(", "4", ")", ".", "setImm", "(", "(", "ME", "+", "1", ")", "&", "31", ")", ";", "MI", "->", "getOperand", "(", "5", ")", ".", "setImm", "(", "(", "MB", "-", "1", ")", "&", "31", ")", ";", "return", "MI", ";", "}", ""], "natrual_language": ["This", "method", "commutes", "the", "operands", "of", "the", "given", "machine", "instruction", "MI", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::RLWIMI", "PPC::RLWIMIo", "3", "0", "0", "0", "1", "2", "1", "2", "0", "\"Expecting a two-address instruction!\"", "4", "5", "0", "0", "1", "31", "1", "31", "0", "2", "1", "2", "1", "4", "1", "31", "5", "1", "31"], "File": "PPCInstrInfo108", "Func": "commuteInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2667, "Length": 435, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableAdvSIMDScalar", ")", "{", "addPass", "(", "createAArch64AdvSIMDScalar", "(", ")", ")", ";", "addPass", "(", "&", "PeepholeOptimizerID", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine31", "Func": "addPreRegAlloc", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2668, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64InstrInfo", "::", "isLdStPairSuppressed", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "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": ["ARM64", "ARM64", "1", "\"Too many target MO flags\""], "File": "ARM64InstrInfo", "Func": "isLdStPairSuppressed", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2669, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "scalar_chain", "::", "scalar_chain", "(", ")", "{", "chain_id", "=", "++", "max_id", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Created a new instruction chain #%d\\n\"", ",", "chain_id", ")", ";", "bitmap_obstack_initialize", "(", "NULL", ")", ";", "insns", "=", "BITMAP_ALLOC", "(", "NULL", ")", ";", "defs", "=", "BITMAP_ALLOC", "(", "NULL", ")", ";", "defs_conv", "=", "BITMAP_ALLOC", "(", "NULL", ")", ";", "queue", "=", "NULL", ";", "}", ""], "natrual_language": ["Initialize", "new", "chain", "."], "TS_V_token": ["i386", "\"Created a new instruction chain #%d\\n\""], "File": "i3865", "Func": "scalar_chain", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2670, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_legitimize_address_displacement", "(", "rtx", "*", "offset1", ",", "rtx", "*", "offset2", ",", "poly_int64", "orig_offset", ",", "machine_mode", "mode", ")", "{", "if", "(", "(", "TARGET_FPU_DOUBLE", "&&", "mode", "==", "DFmode", ")", "||", "(", "TARGET_SH2E", "&&", "mode", "==", "SFmode", ")", ")", "return", "false", ";", "struct", "disp_adjust", "adj", "=", "sh_find_mov_disp_adjust", "(", "mode", ",", "orig_offset", ")", ";", "if", "(", "adj", ".", "offset_adjust", "!=", "NULL_RTX", "&&", "adj", ".", "mov_disp", "!=", "NULL_RTX", ")", "{", "*", "offset1", "=", "adj", ".", "offset_adjust", ";", "*", "offset2", "=", "adj", ".", "mov_disp", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "DISP", "can", "be", "legitimized", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "sh_legitimize_address_displacement", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2671, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_sibcall_aix", "(", "rtx", "value", ",", "rtx", "func_desc", ",", "rtx", "flag", ",", "rtx", "cookie", ")", "{", "rtx", "call", "[", "2", "]", ";", "rtx", "insn", ";", "gcc_assert", "(", "INTVAL", "(", "cookie", ")", "==", "0", ")", ";", "call", "[", "0", "]", "=", "gen_rtx_CALL", "(", "VOIDmode", ",", "gen_rtx_MEM", "(", "SImode", ",", "func_desc", ")", ",", "flag", ")", ";", "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": "rs60006", "Func": "rs6000_sibcall_aix", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2672, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arm_expand_binop_builtin", "(", "enum", "insn_code", "icode", ",", "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", "tmode", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "mode", ";", "machine_mode", "mode0", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "mode", ";", "machine_mode", "mode1", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "2", "]", ".", "mode", ";", "if", "(", "VECTOR_MODE_P", "(", "mode0", ")", ")", "op0", "=", "safe_vector_operand", "(", "op0", ",", "mode0", ")", ";", "if", "(", "VECTOR_MODE_P", "(", "mode1", ")", ")", "op1", "=", "safe_vector_operand", "(", "op1", ",", "mode1", ")", ";", "if", "(", "!", "target", "||", "GET_MODE", "(", "target", ")", "!=", "tmode", "||", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "predicate", ")", "(", "target", ",", "tmode", ")", ")", "target", "=", "gen_reg_rtx", "(", "tmode", ")", ";", "gcc_assert", "(", "(", "GET_MODE", "(", "op0", ")", "==", "mode0", "||", "GET_MODE", "(", "op0", ")", "==", "VOIDmode", ")", "&&", "(", "GET_MODE", "(", "op1", ")", "==", "mode1", "||", "GET_MODE", "(", "op1", ")", "==", "VOIDmode", ")", ")", ";", "if", "(", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "predicate", ")", "(", "op0", ",", "mode0", ")", ")", "op0", "=", "copy_to_mode_reg", "(", "mode0", ",", "op0", ")", ";", "if", "(", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "2", "]", ".", "predicate", ")", "(", "op1", ",", "mode1", ")", ")", "op1", "=", "copy_to_mode_reg", "(", "mode1", ",", "op1", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op0", ",", "op1", ")", ";", "if", "(", "!", "pat", ")", "return", "0", ";", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Subroutine", "of", "arm_expand_builtin", "to", "take", "care", "of", "binop", "insns", "."], "TS_V_token": ["arm", "0", "1", "0", "1", "2", "0", "1", "2", "0"], "File": "arm-builtins", "Func": "arm_expand_binop_builtin", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2673, "Length": 301, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mt_function_arg", "(", "const", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "int", "named", ",", "int", "incoming_p", ")", "{", "int", "slotno", ",", "regno", ";", "rtx", "reg", ";", "slotno", "=", "mt_function_arg_slotno", "(", "cum", ",", "mode", ",", "type", ",", "named", ",", "incoming_p", ",", "&", "regno", ")", ";", "if", "(", "slotno", "==", "-", "1", ")", "reg", "=", "NULL_RTX", ";", "else", "reg", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "return", "reg", ";", "}", ""], "natrual_language": ["Implement", "FUNCTION_ARG", "."], "TS_V_token": ["mt", "1"], "File": "mt", "Func": "mt_function_arg", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2674, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "expand_small_movmem_or_setmem", "(", "rtx", "destmem", ",", "rtx", "srcmem", ",", "rtx", "destptr", ",", "rtx", "srcptr", ",", "rtx", "value", ",", "rtx", "vec_value", ",", "rtx", "count", ",", "int", "size", ",", "rtx", "done_label", ",", "bool", "issetmem", ")", "{", "rtx_code_label", "*", "label", "=", "ix86_expand_aligntest", "(", "count", ",", "size", ",", "false", ")", ";", "machine_mode", "mode", "=", "int_mode_for_size", "(", "size", "*", "BITS_PER_UNIT", ",", "1", ")", ".", "else_blk", "(", ")", ";", "rtx", "modesize", ";", "int", "n", ";", "if", "(", "issetmem", ")", "{", "if", "(", "!", "vec_value", ")", "{", "if", "(", "GET_MODE", "(", "value", ")", "==", "VOIDmode", "&&", "size", ">", "8", ")", "mode", "=", "Pmode", ";", "else", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "GET_MODE_SIZE", "(", "GET_MODE", "(", "value", ")", ")", ")", "mode", "=", "GET_MODE", "(", "value", ")", ";", "}", "else", "mode", "=", "GET_MODE", "(", "vec_value", ")", ",", "value", "=", "vec_value", ";", "}", "else", "{", "if", "(", "size", ">=", "32", ")", "mode", "=", "TARGET_AVX", "?", "V32QImode", ":", "TARGET_SSE", "?", "V16QImode", ":", "DImode", ";", "else", "if", "(", "size", ">=", "16", ")", "mode", "=", "TARGET_SSE", "?", "V16QImode", ":", "DImode", ";", "srcmem", "=", "change_address", "(", "srcmem", ",", "mode", ",", "srcptr", ")", ";", "}", "destmem", "=", "change_address", "(", "destmem", ",", "mode", ",", "destptr", ")", ";", "modesize", "=", "GEN_INT", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "gcc_assert", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "size", ")", ";", "for", "(", "n", "=", "0", ";", "n", "*", "GET_MODE_SIZE", "(", "mode", ")", "<", "size", ";", "n", "++", ")", "{", "if", "(", "issetmem", ")", "emit_move_insn", "(", "destmem", ",", "gen_lowpart", "(", "mode", ",", "value", ")", ")", ";", "else", "{", "emit_move_insn", "(", "destmem", ",", "srcmem", ")", ";", "srcmem", "=", "offset_address", "(", "srcmem", ",", "modesize", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "}", "destmem", "=", "offset_address", "(", "destmem", ",", "modesize", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "}", "destmem", "=", "offset_address", "(", "destmem", ",", "count", ",", "1", ")", ";", "destmem", "=", "offset_address", "(", "destmem", ",", "GEN_INT", "(", "-", "2", "*", "size", ")", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "if", "(", "!", "issetmem", ")", "{", "srcmem", "=", "offset_address", "(", "srcmem", ",", "count", ",", "1", ")", ";", "srcmem", "=", "offset_address", "(", "srcmem", ",", "GEN_INT", "(", "-", "2", "*", "size", ")", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "}", "for", "(", "n", "=", "0", ";", "n", "*", "GET_MODE_SIZE", "(", "mode", ")", "<", "size", ";", "n", "++", ")", "{", "if", "(", "issetmem", ")", "emit_move_insn", "(", "destmem", ",", "gen_lowpart", "(", "mode", ",", "value", ")", ")", ";", "else", "{", "emit_move_insn", "(", "destmem", ",", "srcmem", ")", ";", "srcmem", "=", "offset_address", "(", "srcmem", ",", "modesize", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "}", "destmem", "=", "offset_address", "(", "destmem", ",", "modesize", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "}", "emit_jump_insn", "(", "gen_jump", "(", "done_label", ")", ")", ";", "emit_barrier", "(", ")", ";", "emit_label", "(", "label", ")", ";", "LABEL_NUSES", "(", "label", ")", "=", "1", ";", "}", ""], "natrual_language": ["Test", "if", "COUNT", "&", "SIZE", "is", "nonzero", "and", "if", "so", ",", "expand", "movme", "or", "setmem", "sequence", "that", "is", "valid", "for", "SIZE", "..", "2", "*", "SIZE-1", "bytes", "and", "jump", "to", "DONE_LABEL", "."], "TS_V_token": ["i386", "1", "8", "32", "16", "0", "1", "2", "1", "2", "0", "1"], "File": "i3867", "Func": "expand_small_movmem_or_setmem", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2675, "Length": 455, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"AArch64 Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64", "\"AArch64 Instruction Selection\""], "File": "AArch64ISelDAGToDAG", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2676, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "MMIXRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "markSuperRegs", "(", "Reserved", ",", "MMIX", "::", "r254", ")", ";", "markSuperRegs", "(", "Reserved", ",", "MMIX", "::", "r253", ")", ";", "markSuperRegs", "(", "Reserved", ",", "MMIX", "::", "r252", ")", ";", "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": ["MMIX", "MMIX", "MMIX::r254", "MMIX::r253", "MMIX::r252"], "File": "MMIXRegisterInfo", "Func": "getReservedRegs", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2677, "Length": 51, "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", ")", ";", "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", ")", ";", "}", "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": "AArch64LegalizerInfo18", "Func": "legalizeCustom", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2678, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_va_start", "(", "tree", "valist", ",", "rtx", "nextarg", ")", "{", "if", "(", "EABI_FLOAT_VARARGS_P", ")", "{", "const", "CUMULATIVE_ARGS", "*", "cum", ";", "tree", "f_ovfl", ",", "f_gtop", ",", "f_ftop", ",", "f_goff", ",", "f_foff", ";", "tree", "ovfl", ",", "gtop", ",", "ftop", ",", "goff", ",", "foff", ";", "tree", "t", ";", "int", "gpr_save_area_size", ";", "int", "fpr_save_area_size", ";", "int", "fpr_offset", ";", "cum", "=", "&", "current_function_args_info", ";", "gpr_save_area_size", "=", "(", "MAX_ARGS_IN_REGISTERS", "-", "cum", "->", "num_gprs", ")", "*", "UNITS_PER_WORD", ";", "fpr_save_area_size", "=", "(", "MAX_ARGS_IN_REGISTERS", "-", "cum", "->", "num_fprs", ")", "*", "UNITS_PER_FPREG", ";", "f_ovfl", "=", "TYPE_FIELDS", "(", "va_list_type_node", ")", ";", "f_gtop", "=", "TREE_CHAIN", "(", "f_ovfl", ")", ";", "f_ftop", "=", "TREE_CHAIN", "(", "f_gtop", ")", ";", "f_goff", "=", "TREE_CHAIN", "(", "f_ftop", ")", ";", "f_foff", "=", "TREE_CHAIN", "(", "f_goff", ")", ";", "ovfl", "=", "build", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_ovfl", ")", ",", "valist", ",", "f_ovfl", ",", "NULL_TREE", ")", ";", "gtop", "=", "build", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_gtop", ")", ",", "valist", ",", "f_gtop", ",", "NULL_TREE", ")", ";", "ftop", "=", "build", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_ftop", ")", ",", "valist", ",", "f_ftop", ",", "NULL_TREE", ")", ";", "goff", "=", "build", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_goff", ")", ",", "valist", ",", "f_goff", ",", "NULL_TREE", ")", ";", "foff", "=", "build", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_foff", ")", ",", "valist", ",", "f_foff", ",", "NULL_TREE", ")", ";", "t", "=", "make_tree", "(", "TREE_TYPE", "(", "ovfl", ")", ",", "virtual_incoming_args_rtx", ")", ";", "if", "(", "cum", "->", "stack_words", ">", "0", ")", "t", "=", "build", "(", "PLUS_EXPR", ",", "TREE_TYPE", "(", "ovfl", ")", ",", "t", ",", "build_int_cst", "(", "NULL_TREE", ",", "cum", "->", "stack_words", "*", "UNITS_PER_WORD", ")", ")", ";", "t", "=", "build", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "ovfl", ")", ",", "ovfl", ",", "t", ")", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "t", "=", "make_tree", "(", "TREE_TYPE", "(", "gtop", ")", ",", "virtual_incoming_args_rtx", ")", ";", "t", "=", "build", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "gtop", ")", ",", "gtop", ",", "t", ")", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "t", "=", "make_tree", "(", "TREE_TYPE", "(", "ftop", ")", ",", "virtual_incoming_args_rtx", ")", ";", "fpr_offset", "=", "gpr_save_area_size", "+", "UNITS_PER_FPVALUE", "-", "1", ";", "fpr_offset", "&=", "~", "(", "UNITS_PER_FPVALUE", "-", "1", ")", ";", "if", "(", "fpr_offset", ")", "t", "=", "build", "(", "PLUS_EXPR", ",", "TREE_TYPE", "(", "ftop", ")", ",", "t", ",", "build_int_cst", "(", "NULL_TREE", ",", "-", "fpr_offset", ")", ")", ";", "t", "=", "build", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "ftop", ")", ",", "ftop", ",", "t", ")", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "t", "=", "build", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "goff", ")", ",", "goff", ",", "build_int_cst", "(", "NULL_TREE", ",", "gpr_save_area_size", ")", ")", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "t", "=", "build", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "foff", ")", ",", "foff", ",", "build_int_cst", "(", "NULL_TREE", ",", "fpr_save_area_size", ")", ")", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "}", "else", "{", "nextarg", "=", "plus_constant", "(", "nextarg", ",", "-", "cfun", "->", "machine", "->", "varargs_size", ")", ";", "std_expand_builtin_va_start", "(", "valist", ",", "nextarg", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "va_start", "."], "TS_V_token": ["mips", "0", "1", "1"], "File": "mips3", "Func": "mips_va_start", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2679, "Length": 491, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreEmitPass2", "(", ")", "{", "addPass", "(", "createX86RetpolineThunksPass", "(", ")", ")", ";", "addPass", "(", "createSandBoxingPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "may", "add", "passes", "immediately", "before", "machine", "code", "is", "emitted", "in", "this", "callback", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86TargetMachine101", "Func": "addPreEmitPass2", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2680, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mmix_eh_return_stackadj_rtx", "(", ")", "{", "return", "gen_rtx_REG", "(", "Pmode", ",", "MMIX_EH_RETURN_STACKADJ_REGNUM", ")", ";", "}", ""], "natrual_language": ["EH_RETURN_STACKADJ_RTX", "."], "TS_V_token": ["mmix"], "File": "mmix2", "Func": "mmix_eh_return_stackadj_rtx", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2681, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_matching_cpu_name_p", "(", "const", "char", "*", "canonical", ",", "const", "char", "*", "given", ")", "{", "if", "(", "mips_strict_matching_cpu_name_p", "(", "canonical", ",", "given", ")", ")", "return", "true", ";", "if", "(", "TOLOWER", "(", "*", "given", ")", "==", "'r'", ")", "given", "++", ";", "if", "(", "!", "ISDIGIT", "(", "*", "given", ")", ")", "return", "false", ";", "if", "(", "TOLOWER", "(", "canonical", "[", "0", "]", ")", "==", "'v'", "&&", "TOLOWER", "(", "canonical", "[", "1", "]", ")", "==", "'r'", ")", "canonical", "+=", "2", ";", "else", "if", "(", "TOLOWER", "(", "canonical", "[", "0", "]", ")", "==", "'r'", "&&", "TOLOWER", "(", "canonical", "[", "1", "]", ")", "==", "'m'", ")", "canonical", "+=", "2", ";", "else", "if", "(", "TOLOWER", "(", "canonical", "[", "0", "]", ")", "==", "'r'", ")", "canonical", "+=", "1", ";", "return", "mips_strict_matching_cpu_name_p", "(", "canonical", ",", "given", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "GIVEN", "matches", "CANONICAL", ",", "where", "GIVEN", "is", "a", "user-supplied", "CPU", "name", ".", "We", "'ve", "traditionally", "allowed", "a", "lot", "of", "variation", "here", ".", "Note", ":", "this", "function", "is", "shared", "between", "GCC", "and", "GAS", "."], "TS_V_token": ["mips", "0", "1", "2", "0", "1", "2", "0", "1"], "File": "mips3", "Func": "mips_matching_cpu_name_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2682, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "dump", "(", ")", "{", "errs", "(", ")", "<<", "\"KudeyarISelAddressMode \"", "<<", "this", "<<", "'\\n'", ";", "if", "(", "BaseType", "==", "RegBase", "&&", "Base", ".", "Reg", ".", "getNode", "(", ")", "!=", "0", ")", "{", "errs", "(", ")", "<<", "\"Base.Reg \"", ";", "Base", ".", "Reg", ".", "getNode", "(", ")", "->", "dump", "(", ")", ";", "}", "else", "if", "(", "BaseType", "==", "FrameIndexBase", ")", "{", "errs", "(", ")", "<<", "\" Base.FrameIndex \"", "<<", "Base", ".", "FrameIndex", "<<", "'\\n'", ";", "}", "errs", "(", ")", "<<", "\" Disp \"", "<<", "Disp", "<<", "'\\n'", ";", "if", "(", "GV", ")", "{", "errs", "(", ")", "<<", "\"GV \"", ";", "GV", "->", "dump", "(", ")", ";", "}", "else", "if", "(", "CP", ")", "{", "errs", "(", ")", "<<", "\" CP \"", ";", "CP", "->", "dump", "(", ")", ";", "errs", "(", ")", "<<", "\" Align\"", "<<", "Align", "<<", "'\\n'", ";", "}", "else", "if", "(", "ES", ")", "{", "errs", "(", ")", "<<", "\"ES \"", ";", "errs", "(", ")", "<<", "ES", "<<", "'\\n'", ";", "}", "else", "if", "(", "JT", "!=", "-", "1", ")", "errs", "(", ")", "<<", "\" JT\"", "<<", "JT", "<<", "\" Align\"", "<<", "Align", "<<", "'\\n'", ";", "}", ""], "natrual_language": ["Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "."], "TS_V_token": ["Kudeyar", "\"KudeyarISelAddressMode \"", "0", "\"Base.Reg \"", "\" Base.FrameIndex \"", "\" Disp \"", "\"GV \"", "\" CP \"", "\" Align\"", "\"ES \"", "1", "\" JT\"", "\" Align\""], "File": "KudeyarISelDAGToDAG", "Func": "dump", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2683, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AvoidSFBPass", "::", "buildCopy", "(", "MachineInstr", "*", "LoadInst", ",", "unsigned", "NLoadOpcode", ",", "int64_t", "LoadDisp", ",", "MachineInstr", "*", "StoreInst", ",", "unsigned", "NStoreOpcode", ",", "int64_t", "StoreDisp", ",", "unsigned", "Size", ",", "int64_t", "LMMOffset", ",", "int64_t", "SMMOffset", ")", "{", "MachineOperand", "&", "LoadBase", "=", "getBaseOperand", "(", "LoadInst", ")", ";", "MachineOperand", "&", "StoreBase", "=", "getBaseOperand", "(", "StoreInst", ")", ";", "MachineBasicBlock", "*", "MBB", "=", "LoadInst", "->", "getParent", "(", ")", ";", "MachineMemOperand", "*", "LMMO", "=", "*", "LoadInst", "->", "memoperands_begin", "(", ")", ";", "MachineMemOperand", "*", "SMMO", "=", "*", "StoreInst", "->", "memoperands_begin", "(", ")", ";", "Register", "Reg1", "=", "MRI", "->", "createVirtualRegister", "(", "TII", "->", "getRegClass", "(", "TII", "->", "get", "(", "NLoadOpcode", ")", ",", "0", ",", "TRI", ",", "*", "(", "MBB", "->", "getParent", "(", ")", ")", ")", ")", ";", "MachineInstr", "*", "NewLoad", "=", "BuildMI", "(", "*", "MBB", ",", "LoadInst", ",", "LoadInst", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "NLoadOpcode", ")", ",", "Reg1", ")", ".", "add", "(", "LoadBase", ")", ".", "addImm", "(", "1", ")", ".", "addReg", "(", "X86", "::", "NoRegister", ")", ".", "addImm", "(", "LoadDisp", ")", ".", "addReg", "(", "X86", "::", "NoRegister", ")", ".", "addMemOperand", "(", "MBB", "->", "getParent", "(", ")", "->", "getMachineMemOperand", "(", "LMMO", ",", "LMMOffset", ",", "Size", ")", ")", ";", "if", "(", "LoadBase", ".", "isReg", "(", ")", ")", "getBaseOperand", "(", "NewLoad", ")", ".", "setIsKill", "(", "false", ")", ";", "LLVM_DEBUG", "(", "NewLoad", "->", "dump", "(", ")", ")", ";", "MachineInstr", "*", "StInst", "=", "StoreInst", ";", "auto", "PrevInstrIt", "=", "prev_nodbg", "(", "MachineBasicBlock", "::", "instr_iterator", "(", "StoreInst", ")", ",", "MBB", "->", "instr_begin", "(", ")", ")", ";", "if", "(", "PrevInstrIt", ".", "getNodePtr", "(", ")", "==", "LoadInst", ")", "StInst", "=", "LoadInst", ";", "MachineInstr", "*", "NewStore", "=", "BuildMI", "(", "*", "MBB", ",", "StInst", ",", "StInst", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "NStoreOpcode", ")", ")", ".", "add", "(", "StoreBase", ")", ".", "addImm", "(", "1", ")", ".", "addReg", "(", "X86", "::", "NoRegister", ")", ".", "addImm", "(", "StoreDisp", ")", ".", "addReg", "(", "X86", "::", "NoRegister", ")", ".", "addReg", "(", "Reg1", ")", ".", "addMemOperand", "(", "MBB", "->", "getParent", "(", ")", "->", "getMachineMemOperand", "(", "SMMO", ",", "SMMOffset", ",", "Size", ")", ")", ";", "if", "(", "StoreBase", ".", "isReg", "(", ")", ")", "getBaseOperand", "(", "NewStore", ")", ".", "setIsKill", "(", "false", ")", ";", "MachineOperand", "&", "StoreSrcVReg", "=", "StoreInst", "->", "getOperand", "(", "X86", "::", "AddrNumOperands", ")", ";", "assert", "(", "StoreSrcVReg", ".", "isReg", "(", ")", "&&", "\"Expected virtual register\"", ")", ";", "NewStore", "->", "getOperand", "(", "X86", "::", "AddrNumOperands", ")", ".", "setIsKill", "(", "StoreSrcVReg", ".", "isKill", "(", ")", ")", ";", "LLVM_DEBUG", "(", "NewStore", "->", "dump", "(", ")", ")", ";", "}", ""], "natrual_language": ["Build", "and", "insert", "Res", "=", "COPY", "Op", "."], "TS_V_token": ["X86", "X86", "0", "1", "X86::NoRegister", "X86::NoRegister", "1", "X86::NoRegister", "X86::NoRegister", "X86::AddrNumOperands", "\"Expected virtual register\"", "X86::AddrNumOperands"], "File": "X86AvoidStoreForwardingBlocks1", "Func": "buildCopy", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2684, "Length": 405, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"OR1K PIC Global Base Reg Initialization\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["OR1K", "\"OR1K PIC Global Base Reg Initialization\""], "File": "OR1KInstrInfo1", "Func": "getPassName", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2685, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "constant_generates_xxspltiw", "(", "vec_const_128bit_type", "*", "vsx_const", ")", "{", "if", "(", "!", "TARGET_SPLAT_WORD_CONSTANT", "||", "!", "TARGET_PREFIXED", "||", "!", "TARGET_VSX", ")", "return", "0", ";", "if", "(", "!", "vsx_const", "->", "all_words_same", ")", "return", "0", ";", "if", "(", "vsx_const", "->", "all_bytes_same", ")", "return", "0", ";", "if", "(", "vsx_const", "->", "all_half_words_same", ")", "{", "short", "sign_h_word", "=", "vsx_const", "->", "half_words", "[", "0", "]", ";", "if", "(", "EASY_VECTOR_15", "(", "sign_h_word", ")", ")", "return", "0", ";", "}", "int", "sign_word", "=", "vsx_const", "->", "words", "[", "0", "]", ";", "if", "(", "EASY_VECTOR_15", "(", "sign_word", ")", ")", "return", "0", ";", "return", "vsx_const", "->", "words", "[", "0", "]", ";", "}", ""], "natrual_language": ["Determine", "if", "a", "vector", "constant", "can", "be", "loaded", "with", "XXSPLTIW", ".", "Return", "zero", "if", "the", "XXSPLTIW", "instruction", "can", "not", "be", "used", ".", "Otherwise", "return", "the", "immediate", "value", "to", "be", "used", "with", "the", "XXSPLTIW", "instruction", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "0", "0", "0", "0"], "File": "rs60001", "Func": "constant_generates_xxspltiw", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2686, "Length": 98, "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": ["ARM"], "File": "ARMSubtarget (2)1", "Func": "getInstrItineraryData", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2687, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_cannot_force_const_mem", "(", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "CONST_INT", ":", "case", "CONST_DOUBLE", ":", "case", "CONST_VECTOR", ":", "return", "false", ";", "default", ":", "break", ";", "}", "return", "!", "ix86_legitimate_constant_p", "(", "mode", ",", "x", ")", ";", "}", ""], "natrual_language": ["Determine", "if", "it", "'s", "legal", "to", "put", "X", "into", "the", "constant", "pool", ".", "This", "is", "not", "possible", "for", "the", "address", "of", "thread-local", "symbols", ",", "which", "is", "checked", "above", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_cannot_force_const_mem", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2688, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_function_arg_advance", "(", "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", ";", "int", "nregs", ";", "if", "(", "!", "cum", "->", "caller", "&&", "cfun", "->", "machine", "->", "func_type", "!=", "TYPE_NORMAL", ")", "return", ";", "bytes", "=", "arg", ".", "promoted_size_in_bytes", "(", ")", ";", "words", "=", "CEIL", "(", "bytes", ",", "UNITS_PER_WORD", ")", ";", "if", "(", "arg", ".", "type", ")", "mode", "=", "type_natural_mode", "(", "arg", ".", "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", ",", "arg", ".", "type", ",", "words", ",", "arg", ".", "named", ")", ";", "}", "else", "nregs", "=", "function_arg_advance_32", "(", "cum", ",", "mode", ",", "arg", ".", "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": "i386", "Func": "ix86_function_arg_advance", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2689, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "TM", "=", "static_cast", "<", "const", "PPCTargetMachine", "*", ">", "(", "&", "MF", ".", "getTarget", "(", ")", ")", ";", "TII", "=", "TM", "->", "getInstrInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "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"], "File": "PPCInstrInfo38", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2690, "Length": 86, "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": 2691, "Length": 261, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMTargetLowering", "::", "getMaxSupportedInterleaveFactor", "(", ")", "const", "{", "if", "(", "Subtarget", "->", "hasNEON", "(", ")", ")", "return", "4", ";", "return", "TargetLoweringBase", "::", "getMaxSupportedInterleaveFactor", "(", ")", ";", "}", ""], "natrual_language": ["Get", "the", "maximum", "supported", "factor", "for", "interleaved", "memory", "accesses", "."], "TS_V_token": ["ARM", "ARM", "4"], "File": "ARMISelLowering101", "Func": "getMaxSupportedInterleaveFactor", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2692, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64StorePairSuppress", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "TargetSubtargetInfo", "&", "ST", "=", "MF", ".", "getSubtarget", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "ST", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "ST", ".", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "SchedModel", ".", "init", "(", "ST", ".", "getSchedModel", "(", ")", ",", "&", "ST", ",", "TII", ")", ";", "Traces", "=", "&", "getAnalysis", "<", "MachineTraceMetrics", ">", "(", ")", ";", "MinInstr", "=", "nullptr", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"*** \"", "<<", "getPassName", "(", ")", "<<", "\": \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "if", "(", "!", "SchedModel", ".", "hasInstrSchedModel", "(", ")", ")", "{", "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", ";", "unsigned", "BaseReg", ";", "unsigned", "Offset", ";", "if", "(", "TII", "->", "getMemOpBaseRegImmOfs", "(", "&", "MI", ",", "BaseReg", ",", "Offset", ",", "TRI", ")", ")", "{", "if", "(", "PrevBaseReg", "==", "BaseReg", ")", "{", "if", "(", "!", "SuppressSTP", "&&", "shouldAddSTPToBlock", "(", "MI", ".", "getParent", "(", ")", ")", ")", "break", ";", "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": "AArch64StorePairSuppress4", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2693, "Length": 256, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZXPLINKFrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "MutableArrayRef", "<", "CalleeSavedInfo", ">", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "SystemZMachineFunctionInfo", "*", "ZFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "const", "SystemZSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "SystemZSubtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "*", "TII", "=", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "auto", "&", "Regs", "=", "Subtarget", ".", "getSpecialRegisters", "<", "SystemZXPLINK64Registers", ">", "(", ")", ";", "DebugLoc", "DL", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "CSI", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "Register", "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", "(", "isInt", "<", "20", ">", "(", "Regs", ".", "getStackPointerBias", "(", ")", "+", "RestoreGPRs", ".", "GPROffset", ")", ")", ";", "if", "(", "RestoreGPRs", ".", "LowGPR", "==", "RestoreGPRs", ".", "HighGPR", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "SystemZ", "::", "LG", ")", ",", "RestoreGPRs", ".", "LowGPR", ")", ".", "addReg", "(", "Regs", ".", "getStackPointerRegister", "(", ")", ")", ".", "addImm", "(", "Regs", ".", "getStackPointerBias", "(", ")", "+", "RestoreGPRs", ".", "GPROffset", ")", ".", "addReg", "(", "0", ")", ";", "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", "(", "Regs", ".", "getStackPointerRegister", "(", ")", ")", ";", "MIB", ".", "addImm", "(", "Regs", ".", "getStackPointerBias", "(", ")", "+", "RestoreGPRs", ".", "GPROffset", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "CSI", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "Register", "Reg", "=", "CSI", "[", "I", "]", ".", "getReg", "(", ")", ";", "if", "(", "Reg", ">", "RestoreGPRs", ".", "LowGPR", "&&", "Reg", "<", "RestoreGPRs", ".", "HighGPR", ")", "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", "SystemZ", "SystemZ", "SystemZ", "0", "SystemZ::FP64BitRegClass", "SystemZ::FP64BitRegClass", "SystemZ::VR128BitRegClass", "SystemZ::VR128BitRegClass", "SystemZ::GPRRegs", "20", "SystemZ::LG", "0", "SystemZ::LMG", "0"], "File": "SystemZFrameLowering20", "Func": "restoreCalleeSavedRegisters", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2694, "Length": 471, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCPassConfig", "::", "addILPOpts", "(", ")", "{", "if", "(", "getPPCSubtarget", "(", ")", ".", "hasISEL", "(", ")", ")", "{", "addPass", "(", "&", "EarlyIfConverterID", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Add", "passes", "that", "optimize", "instruction", "level", "parallelism", "for", "out-of-order", "targets", "."], "TS_V_token": ["PowerPC", "PPC", "PPC"], "File": "PPCTargetMachine (2)", "Func": "addILPOpts", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2695, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Mips Delay Slot Filler\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"Mips Delay Slot Filler\""], "File": "MipsDelaySlotFiller10", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2696, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "output_restore", "(", "rtx", "pat", ")", "{", "rtx", "operands", "[", "3", "]", ";", "if", "(", "!", "pat", ")", "{", "fputs", "(", "\"\\t restore\\n\"", ",", "asm_out_file", ")", ";", "return", ";", "}", "gcc_assert", "(", "GET_CODE", "(", "pat", ")", "==", "SET", ")", ";", "operands", "[", "0", "]", "=", "SET_DEST", "(", "pat", ")", ";", "pat", "=", "SET_SRC", "(", "pat", ")", ";", "switch", "(", "GET_CODE", "(", "pat", ")", ")", "{", "case", "PLUS", ":", "operands", "[", "1", "]", "=", "XEXP", "(", "pat", ",", "0", ")", ";", "operands", "[", "2", "]", "=", "XEXP", "(", "pat", ",", "1", ")", ";", "output_asm_insn", "(", "\" restore %r1, %2, %Y0\"", ",", "operands", ")", ";", "break", ";", "case", "LO_SUM", ":", "operands", "[", "1", "]", "=", "XEXP", "(", "pat", ",", "0", ")", ";", "operands", "[", "2", "]", "=", "XEXP", "(", "pat", ",", "1", ")", ";", "output_asm_insn", "(", "\" restore %r1, %%lo(%a2), %Y0\"", ",", "operands", ")", ";", "break", ";", "case", "ASHIFT", ":", "operands", "[", "1", "]", "=", "XEXP", "(", "pat", ",", "0", ")", ";", "gcc_assert", "(", "XEXP", "(", "pat", ",", "1", ")", "==", "const1_rtx", ")", ";", "output_asm_insn", "(", "\" restore %r1, %r1, %Y0\"", ",", "operands", ")", ";", "break", ";", "default", ":", "operands", "[", "1", "]", "=", "pat", ";", "output_asm_insn", "(", "\" restore %%g0, %1, %Y0\"", ",", "operands", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Output", "a", "'restore", "'", "instruction", "."], "TS_V_token": ["sparc", "3", "\"\\t restore\\n\"", "0", "1", "0", "2", "1", "\" restore %r1, %2, %Y0\"", "1", "0", "2", "1", "\" restore %r1, %%lo(%a2), %Y0\"", "1", "0", "1", "\" restore %r1, %r1, %Y0\"", "1", "\" restore %%g0, %1, %Y0\""], "File": "sparc", "Func": "output_restore", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2697, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "aarch64_asm_preferred_eh_data_format", "(", "int", "code", "ATTRIBUTE_UNUSED", ",", "int", "global", ")", "{", "int", "type", ";", "switch", "(", "aarch64_cmodel", ")", "{", "case", "AARCH64_CMODEL_TINY", ":", "case", "AARCH64_CMODEL_TINY_PIC", ":", "case", "AARCH64_CMODEL_SMALL", ":", "case", "AARCH64_CMODEL_SMALL_PIC", ":", "type", "=", "DW_EH_PE_sdata4", ";", "break", ";", "default", ":", "type", "=", "DW_EH_PE_sdata8", ";", "break", ";", "}", "return", "(", "global", "?", "DW_EH_PE_indirect", ":", "0", ")", "|", "DW_EH_PE_pcrel", "|", "type", ";", "}", ""], "natrual_language": ["Select", "a", "format", "to", "encode", "pointers", "in", "exception", "handling", "data", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch642", "Func": "aarch64_asm_preferred_eh_data_format", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2698, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "SystemZHazardRecognizer", "::", "groupingCost", "(", "SUnit", "*", "SU", ")", "const", "{", "const", "MCSchedClassDesc", "*", "SC", "=", "DAG", "->", "getSchedClass", "(", "SU", ")", ";", "if", "(", "!", "SC", "->", "isValid", "(", ")", ")", "return", "0", ";", "if", "(", "SC", "->", "BeginGroup", ")", "{", "if", "(", "CurrGroupSize", ")", "return", "3", "-", "CurrGroupSize", ";", "return", "-", "1", ";", "}", "if", "(", "SC", "->", "EndGroup", ")", "{", "unsigned", "resultingGroupSize", "=", "(", "CurrGroupSize", "+", "getNumDecoderSlots", "(", "SU", ")", ")", ";", "if", "(", "resultingGroupSize", "<", "3", ")", "return", "(", "3", "-", "resultingGroupSize", ")", ";", "return", "-", "1", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "decoder", "grouping", "for", "SU", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "3", "1", "3", "3", "1", "0"], "File": "SystemZHazardRecognizer4", "Func": "groupingCost", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2699, "Length": 97, "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\"", ";", "else", "if", "(", "isTargetDarwin", "(", ")", ")", "p", "=", "\"e-p:32:32-f64:32:64-i64:32:64-f80:128:128\"", ";", "else", "p", "=", "\"e-p:32:32-f64:32:64-i64:32:64-f80:32: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\"", "\"e-p:32:32-f64:32:64-i64:32:64-f80:128:128\"", "\"e-p:32:32-f64:32:64-i64:32:64-f80:32:32\""], "File": "X86Subtarget46", "Func": "getDataLayout", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2700, "Length": 48, "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": 2701, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetIRAnalysis", "MipsTargetMachine", "::", "getTargetIRAnalysis", "(", ")", "{", "return", "TargetIRAnalysis", "(", "[", "this", "]", "(", "const", "Function", "&", "F", ")", "{", "if", "(", "Subtarget", "->", "allowMixed16_32", "(", ")", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"No Target Transform Info Pass Added\\n\"", ")", ";", "return", "TargetTransformInfo", "(", "F", ".", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ")", ";", "}", "DEBUG", "(", "errs", "(", ")", "<<", "\"Target Transform Info Pass Added\\n\"", ")", ";", "return", "TargetTransformInfo", "(", "BasicTTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetIRAnalysis", "appropriate", "for", "the", "target", "."], "TS_V_token": ["Mips", "Mips", "\"No Target Transform Info Pass Added\\n\"", "\"Target Transform Info Pass Added\\n\""], "File": "MipsTargetMachine10", "Func": "getTargetIRAnalysis", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2702, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "pa_reloc_rw_mask", "(", "void", ")", "{", "if", "(", "flag_pic", "||", "(", "TARGET_SOM", "&&", "!", "TARGET_HPUX_11", ")", ")", "return", "3", ";", "return", "TARGET_SOM", "?", "2", ":", "0", ";", "}", ""], "natrual_language": ["Implement", "pa_reloc_rw_mask", "."], "TS_V_token": ["pa", "3", "2", "0"], "File": "pa", "Func": "pa_reloc_rw_mask", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2703, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "getMemOperandWithOffsetWidth", "(", "const", "MachineInstr", "&", "LdSt", ",", "const", "MachineOperand", "*", "&", "BaseReg", ",", "int64_t", "&", "Offset", ",", "unsigned", "&", "Width", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "!", "LdSt", ".", "mayLoadOrStore", "(", ")", ")", "return", "false", ";", "if", "(", "LdSt", ".", "getNumExplicitOperands", "(", ")", "!=", "3", ")", "return", "false", ";", "if", "(", "!", "LdSt", ".", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", "||", "!", "LdSt", ".", "getOperand", "(", "2", ")", ".", "isReg", "(", ")", ")", "return", "false", ";", "if", "(", "!", "LdSt", ".", "hasOneMemOperand", "(", ")", ")", "return", "false", ";", "Width", "=", "(", "*", "LdSt", ".", "memoperands_begin", "(", ")", ")", "->", "getSize", "(", ")", ";", "Offset", "=", "LdSt", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "BaseReg", "=", "&", "LdSt", ".", "getOperand", "(", "2", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "get", "the", "base", "operand", ",", "byte", "offset", "of", "an", "instruction", "and", "the", "memory", "width", "."], "TS_V_token": ["PowerPC", "PPC", "3", "1", "2", "1", "2"], "File": "PPCInstrInfo12", "Func": "getMemOperandWithOffsetWidth", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2704, "Length": 139, "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": 2705, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_expand_vpc_loongson_pshufh", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "i", ",", "mask", ";", "rtx", "rmask", ";", "if", "(", "!", "(", "TARGET_HARD_FLOAT", "&&", "TARGET_LOONGSON_VECTORS", ")", ")", "return", "false", ";", "if", "(", "d", "->", "vmode", "!=", "V4HImode", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "for", "(", "i", "=", "mask", "=", "0", ";", "i", "<", "4", ";", "i", "++", ")", "mask", "|=", "(", "d", "->", "perm", "[", "i", "]", "&", "3", ")", "<<", "(", "i", "*", "2", ")", ";", "rmask", "=", "force_reg", "(", "SImode", ",", "GEN_INT", "(", "mask", ")", ")", ";", "if", "(", "d", "->", "one_vector_p", ")", "emit_insn", "(", "gen_loongson_pshufh", "(", "d", "->", "target", ",", "d", "->", "op0", ",", "rmask", ")", ")", ";", "else", "{", "rtx", "t0", ",", "t1", ",", "x", ",", "merge", ",", "rmerge", "[", "4", "]", ";", "t0", "=", "gen_reg_rtx", "(", "V4HImode", ")", ";", "t1", "=", "gen_reg_rtx", "(", "V4HImode", ")", ";", "emit_insn", "(", "gen_loongson_pshufh", "(", "t1", ",", "d", "->", "op1", ",", "rmask", ")", ")", ";", "emit_insn", "(", "gen_loongson_pshufh", "(", "t0", ",", "d", "->", "op0", ",", "rmask", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "4", ";", "++", "i", ")", "rmerge", "[", "i", "]", "=", "(", "d", "->", "perm", "[", "i", "]", "&", "4", "?", "constm1_rtx", ":", "const0_rtx", ")", ";", "merge", "=", "gen_rtx_CONST_VECTOR", "(", "V4HImode", ",", "gen_rtvec_v", "(", "4", ",", "rmerge", ")", ")", ";", "merge", "=", "force_reg", "(", "V4HImode", ",", "merge", ")", ";", "x", "=", "gen_rtx_AND", "(", "V4HImode", ",", "merge", ",", "t1", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "t1", ",", "x", ")", ")", ";", "x", "=", "gen_rtx_NOT", "(", "V4HImode", ",", "merge", ")", ";", "x", "=", "gen_rtx_AND", "(", "V4HImode", ",", "x", ",", "t0", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "t0", ",", "x", ")", ")", ";", "x", "=", "gen_rtx_IOR", "(", "V4HImode", ",", "t0", ",", "t1", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "d", "->", "target", ",", "x", ")", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "for", "the", "Loongson", "PSHUFH", "instruction", "."], "TS_V_token": ["mips", "0", "4", "3", "2", "4", "0", "4", "4", "4"], "File": "mips5", "Func": "mips_expand_vpc_loongson_pshufh", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2706, "Length": 311, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "]", "=", "{", "{", "\"reloc_riprel_4byte\"", ",", "0", ",", "4", "*", "8", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_riprel_4byte_movq_load\"", ",", "0", ",", "4", "*", "8", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_signed_4byte\"", ",", "0", ",", "4", "*", "8", ",", "0", "}", ",", "{", "\"reloc_global_offset_table\"", ",", "0", ",", "4", "*", "8", ",", "0", "}", "}", ";", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "return", "MCCodeEmitter", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "assert", "(", "unsigned", "(", "Kind", "-", "FirstTargetFixupKind", ")", "<", "getNumFixupKinds", "(", ")", "&&", "\"Invalid kind!\"", ")", ";", "return", "Infos", "[", "Kind", "-", "FirstTargetFixupKind", "]", ";", "}", ""], "natrual_language": ["Get", "information", "on", "a", "fixup", "kind", "."], "TS_V_token": ["X86", "\"reloc_riprel_4byte\"", "0", "4", "8", "\"reloc_riprel_4byte_movq_load\"", "0", "4", "8", "\"reloc_signed_4byte\"", "0", "4", "8", "0", "\"reloc_global_offset_table\"", "0", "4", "8", "0", "\"Invalid kind!\""], "File": "X86MCCodeEmitter25", "Func": "getFixupKindInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2707, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "AArch64InstrInfo", "::", "insertOutlinedCall", "(", "Module", "&", "M", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "It", ",", "MachineFunction", "&", "MF", ",", "const", "MachineOutlinerInfo", "&", "MInfo", ")", "const", "{", "if", "(", "MInfo", ".", "CallConstructionID", "==", "MachineOutlinerTailCall", ")", "{", "It", "=", "MBB", ".", "insert", "(", "It", ",", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "B", ")", ")", ".", "addGlobalAddress", "(", "M", ".", "getNamedValue", "(", "MF", ".", "getName", "(", ")", ")", ")", ")", ";", "return", "It", ";", "}", "if", "(", "MInfo", ".", "CallConstructionID", "==", "MachineOutlinerNoLRSave", ")", "{", "It", "=", "MBB", ".", "insert", "(", "It", ",", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "BL", ")", ")", ".", "addGlobalAddress", "(", "M", ".", "getNamedValue", "(", "MF", ".", "getName", "(", ")", ")", ")", ")", ";", "return", "It", ";", "}", "MachineInstr", "*", "STRXpre", "=", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "STRXpre", ")", ")", ".", "addReg", "(", "AArch64", "::", "SP", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "AArch64", "::", "LR", ")", ".", "addReg", "(", "AArch64", "::", "SP", ")", ".", "addImm", "(", "-", "16", ")", ";", "It", "=", "MBB", ".", "insert", "(", "It", ",", "STRXpre", ")", ";", "It", "++", ";", "It", "=", "MBB", ".", "insert", "(", "It", ",", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "BL", ")", ")", ".", "addGlobalAddress", "(", "M", ".", "getNamedValue", "(", "MF", ".", "getName", "(", ")", ")", ")", ")", ";", "It", "++", ";", "MachineInstr", "*", "LDRXpost", "=", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "LDRXpost", ")", ")", ".", "addReg", "(", "AArch64", "::", "SP", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "AArch64", "::", "LR", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "AArch64", "::", "SP", ")", ".", "addImm", "(", "16", ")", ";", "It", "=", "MBB", ".", "insert", "(", "It", ",", "LDRXpost", ")", ";", "return", "It", ";", "}", ""], "natrual_language": ["Insert", "a", "call", "to", "an", "outlined", "function", "into", "the", "program", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::B", "AArch64::BL", "AArch64::STRXpre", "AArch64::SP", "AArch64::LR", "AArch64::SP", "16", "AArch64::BL", "AArch64::LDRXpost", "AArch64::SP", "AArch64::LR", "AArch64::SP", "16"], "File": "AArch64InstrInfo (2)", "Func": "insertOutlinedCall", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2708, "Length": 312, "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", ":", "case", "PPC", "::", "XXLXORz", ":", "case", "PPC", "::", "XXLXORspz", ":", "case", "PPC", "::", "XXLXORdpz", ":", "case", "PPC", "::", "V_SET0B", ":", "case", "PPC", "::", "V_SET0H", ":", "case", "PPC", "::", "V_SET0", ":", "case", "PPC", "::", "V_SETALLONESB", ":", "case", "PPC", "::", "V_SETALLONESH", ":", "case", "PPC", "::", "V_SETALLONES", ":", "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", "PPC::XXLXORz", "PPC::XXLXORspz", "PPC::XXLXORdpz", "PPC::V_SET0B", "PPC::V_SET0H", "PPC::V_SET0", "PPC::V_SETALLONESB", "PPC::V_SETALLONESH", "PPC::V_SETALLONES"], "File": "PPCInstrInfo112", "Func": "isReallyTriviallyReMaterializable", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2709, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86CmovConverterPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "if", "(", "!", "EnableCmovConverter", ")", "return", "false", ";", "LLVM_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", ")", ";", "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": "X86CmovConversion", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2710, "Length": 357, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "sign_bit_position", "(", "const", "rtx", "op", ")", "{", "const", "int", "sz", "=", "GET_MODE_SIZE", "(", "GET_MODE", "(", "op", ")", ")", ";", "return", "sz", "*", "8", "-", "1", ";", "}", ""], "natrual_language": ["Return", "the", "sign", "bit", "position", "for", "given", "OP", "'s", "mode", "."], "TS_V_token": ["pru", "8", "1"], "File": "pru", "Func": "sign_bit_position", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2711, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "shl_and_length", "(", "rtx", "insn", ")", "{", "rtx", "set_src", ",", "left_rtx", ",", "mask_rtx", ";", "int", "attributes", "[", "3", "]", ";", "set_src", "=", "SET_SRC", "(", "XVECEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ",", "0", ")", ")", ";", "left_rtx", "=", "XEXP", "(", "XEXP", "(", "set_src", ",", "0", ")", ",", "1", ")", ";", "mask_rtx", "=", "XEXP", "(", "set_src", ",", "1", ")", ";", "shl_and_kind", "(", "left_rtx", ",", "mask_rtx", ",", "attributes", ")", ";", "return", "attributes", "[", "1", "]", ";", "}", ""], "natrual_language": ["This", "is", "used", "in", "length", "attributes", "of", "the", "unnamed", "instructions", "corresponding", "to", "shl_and_kind", "return", "values", "of", "1", "and", "2", "."], "TS_V_token": ["sh", "3", "0", "0", "0", "1", "1", "1"], "File": "sh", "Func": "shl_and_length", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2712, "Length": 76, "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": ["Mips", "0", "8", "1", "8", "0xff"], "File": "MipsMCCodeEmitter10", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2713, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "handle_nodirect_extern_access_attribute", "(", "tree", "*", "pnode", ",", "tree", "name", ",", "tree", "ARG_UNUSED", "(", "args", ")", ",", "int", "ARG_UNUSED", "(", "flags", ")", ",", "bool", "*", "no_add_attrs", ")", "{", "tree", "node", "=", "*", "pnode", ";", "if", "(", "VAR_OR_FUNCTION_DECL_P", "(", "node", ")", ")", "{", "if", "(", "(", "!", "TREE_STATIC", "(", "node", ")", "&&", "TREE_CODE", "(", "node", ")", "!=", "FUNCTION_DECL", "&&", "!", "DECL_EXTERNAL", "(", "node", ")", ")", "||", "!", "TREE_PUBLIC", "(", "node", ")", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute have effect only on public objects\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "}", "else", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute ignored\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "a", "``", "nodirect_extern_access", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["i386", "\"%qE attribute have effect only on public objects\"", "\"%qE attribute ignored\""], "File": "i386-options", "Func": "handle_nodirect_extern_access_attribute", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2714, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SHUXIFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", ")", "const", "{", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "int", "FrameIdx", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "CreateFixedObject", "(", "4", ",", "-", "4", ",", "true", ")", ";", "(", "void", ")", "FrameIdx", ";", "assert", "(", "FrameIdx", "==", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectIndexBegin", "(", ")", "&&", "\"Slot for FP 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": ["SHUXI", "SHUXI", "4", "4", "\"Slot for FP register must be last in order to be found!\""], "File": "SHUXIFrameLowering", "Func": "processFunctionBeforeFrameFinalized", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2715, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MMIXTargetLowering", "::", "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", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", ".", "getRegInfo", "(", ")", ";", "if", "(", "IsVarArg", ")", "report_fatal_error", "(", "\"VarArg not supported\"", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "CC_MMIX", ")", ";", "for", "(", "auto", "&", "VA", ":", "ArgLocs", ")", "{", "if", "(", "!", "VA", ".", "isRegLoc", "(", ")", ")", "report_fatal_error", "(", "\"Defined with too many args\"", ")", ";", "EVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "if", "(", "RegVT", "!=", "MVT", "::", "i64", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"LowerFormalArguments Unhandled argument type: \"", "<<", "RegVT", ".", "getEVTString", "(", ")", "<<", "\"\\n\"", ")", ";", "report_fatal_error", "(", "\"unhandled argument type\"", ")", ";", "}", "const", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "MMIX", "::", "GPRRegClass", ")", ";", "RegInfo", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "VReg", ")", ";", "SDValue", "ArgIn", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "VReg", ",", "RegVT", ")", ";", "InVals", ".", "push_back", "(", "ArgIn", ")", ";", "}", "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": ["MMIX", "MMIX", "ISD::InputArg", "\"Unsupported calling convention\"", "\"VarArg not supported\"", "16", "MMIX", "\"Defined with too many args\"", "MVT::i64", "\"LowerFormalArguments Unhandled argument type: \"", "\"\\n\"", "\"unhandled argument type\"", "MMIX::GPRRegClass"], "File": "MMIXISelLowering", "Func": "LowerFormalArguments", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2716, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64TargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ")", "const", "{", "if", "(", "Imm", ".", "isPosZero", "(", ")", "&&", "(", "VT", "==", "MVT", "::", "f64", "||", "VT", "==", "MVT", "::", "f32", ")", ")", "return", "true", ";", "if", "(", "VT", "==", "MVT", "::", "f64", ")", "return", "ARM64_AM", "::", "getFP64Imm", "(", "Imm", ")", "!=", "-", "1", ";", "else", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "ARM64_AM", "::", "getFP32Imm", "(", "Imm", ")", "!=", "-", "1", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "can", "instruction", "select", "the", "specified", "FP", "immediate", "natively", "."], "TS_V_token": ["ARM64", "ARM64", "MVT::f64", "MVT::f32", "MVT::f64", "ARM64_AM::getFP64Imm", "1", "MVT::f32", "ARM64_AM::getFP32Imm", "1"], "File": "ARM64ISelLowering", "Func": "isFPImmLegal", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2717, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86FrameLowering", "::", "getWinEHFuncletFrameSize", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "unsigned", "CSSize", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "getCalleeSavedFrameSize", "(", ")", ";", "unsigned", "UsedSize", ";", "EHPersonality", "Personality", "=", "classifyEHPersonality", "(", "MF", ".", "getFunction", "(", ")", "->", "getPersonalityFn", "(", ")", ")", ";", "if", "(", "Personality", "==", "EHPersonality", "::", "CoreCLR", ")", "{", "UsedSize", "=", "getPSPSlotOffsetFromSP", "(", "MF", ")", "+", "SlotSize", ";", "}", "else", "{", "UsedSize", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getMaxCallFrameSize", "(", ")", ";", "}", "unsigned", "FrameSizeMinusRBP", "=", "alignTo", "(", "CSSize", "+", "UsedSize", ",", "getStackAlignment", "(", ")", ")", ";", "return", "FrameSizeMinusRBP", "-", "CSSize", ";", "}", ""], "natrual_language": ["Funclets", "only", "need", "to", "account", "for", "space", "for", "the", "callee", "saved", "registers", ",", "as", "the", "locals", "are", "accounted", "for", "in", "the", "parent", "'s", "stack", "frame", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86FrameLowering102", "Func": "getWinEHFuncletFrameSize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2718, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CJGAsmBackend", "::", "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": ["CJG", "CJG", "0"], "File": "CJGAsmBackend", "Func": "writeNopData", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2719, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SICRegisterInfo", "::", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "live-ins", "should", "be", "tracked", "after", "register", "allocation", "."], "TS_V_token": ["SIC", "SIC"], "File": "SICRegisterInfo", "Func": "trackLivenessAfterRegAlloc", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2720, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_parse_tune_string", "(", "const", "char", "*", "tune_string", ",", "struct", "tune_params", "*", "tune", ")", "{", "tune", "->", "extra_tuning_flags", "=", "aarch64_parse_boolean_options", "(", "tune_string", ",", "aarch64_tuning_flags", ",", "tune", "->", "extra_tuning_flags", ",", "\"tune=\"", ")", ";", "}", ""], "natrual_language": ["Support", "for", "overriding", "other", "tuning", "flags", "."], "TS_V_token": ["aarch64", "\"tune=\""], "File": "aarch64", "Func": "aarch64_parse_tune_string", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2721, "Length": 33, "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", "|", "MCFixupKindInfo", "::", "FKF_IsAlignedDownTo32Bits", "}", ",", "{", "\"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": "ARMAsmBackend (2)", "Func": "getFixupKindInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2722, "Length": 422, "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", ".", "getSchedModel", "(", ")", ",", "&", "ST", ",", "TII", ")", ";", "Traces", "=", "&", "getAnalysis", "<", "MachineTraceMetrics", ">", "(", ")", ";", "MinInstr", "=", "nullptr", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"*** \"", "<<", "getPassName", "(", ")", "<<", "\": \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "if", "(", "!", "SchedModel", ".", "hasInstrSchedModel", "(", ")", ")", "{", "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", ";", "unsigned", "BaseReg", ";", "int64_t", "Offset", ";", "if", "(", "TII", "->", "getMemOpBaseRegImmOfs", "(", "&", "MI", ",", "BaseReg", ",", "Offset", ",", "TRI", ")", ")", "{", "if", "(", "PrevBaseReg", "==", "BaseReg", ")", "{", "if", "(", "!", "SuppressSTP", "&&", "shouldAddSTPToBlock", "(", "MI", ".", "getParent", "(", ")", ")", ")", "break", ";", "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": "AArch64StorePairSuppress17", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2723, "Length": 271, "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", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "X86Subtarget", "&", "STI", "=", "MF", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "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", "X86", "X86::PUSH64r", "X86::PUSH32r", "0", "1", "X86::GR64RegClass", "X86::GR32RegClass", "0", "1", "X86::GR64RegClass", "X86::GR32RegClass", "1"], "File": "X86FrameLowering106", "Func": "spillCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2724, "Length": 322, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "X86RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "bool", "HasAVX", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "hasAVX", "(", ")", ";", "bool", "HasAVX512", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "hasAVX512", "(", ")", ";", "assert", "(", "MF", "&&", "\"MachineFunction required\"", ")", ";", "switch", "(", "MF", "->", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", ")", "{", "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", "::", "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", "::", "Cold", ":", "if", "(", "Is64Bit", ")", "return", "CSR_64_MostRegs_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", "\"MachineFunction required\""], "File": "X86RegisterInfo53", "Func": "getCalleeSavedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2725, "Length": 241, "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", ")", ";", "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": "X86CallLowering31", "Func": "lowerFormalArguments", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2726, "Length": 322, "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": 2727, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "PPCInstrInfo", "::", "getOperandLatency", "(", "const", "InstrItineraryData", "*", "ItinData", ",", "const", "MachineInstr", "&", "DefMI", ",", "unsigned", "DefIdx", ",", "const", "MachineInstr", "&", "UseMI", ",", "unsigned", "UseIdx", ")", "const", "{", "int", "Latency", "=", "PPCGenInstrInfo", "::", "getOperandLatency", "(", "ItinData", ",", "DefMI", ",", "DefIdx", ",", "UseMI", ",", "UseIdx", ")", ";", "if", "(", "!", "DefMI", ".", "getParent", "(", ")", ")", "return", "Latency", ";", "const", "MachineOperand", "&", "DefMO", "=", "DefMI", ".", "getOperand", "(", "DefIdx", ")", ";", "Register", "Reg", "=", "DefMO", ".", "getReg", "(", ")", ";", "bool", "IsRegCR", ";", "if", "(", "Register", "::", "isVirtualRegister", "(", "Reg", ")", ")", "{", "const", "MachineRegisterInfo", "*", "MRI", "=", "&", "DefMI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "IsRegCR", "=", "MRI", "->", "getRegClass", "(", "Reg", ")", "->", "hasSuperClassEq", "(", "&", "PPC", "::", "CRRCRegClass", ")", "||", "MRI", "->", "getRegClass", "(", "Reg", ")", "->", "hasSuperClassEq", "(", "&", "PPC", "::", "CRBITRCRegClass", ")", ";", "}", "else", "{", "IsRegCR", "=", "PPC", "::", "CRRCRegClass", ".", "contains", "(", "Reg", ")", "||", "PPC", "::", "CRBITRCRegClass", ".", "contains", "(", "Reg", ")", ";", "}", "if", "(", "UseMI", ".", "isBranch", "(", ")", "&&", "IsRegCR", ")", "{", "if", "(", "Latency", "<", "0", ")", "Latency", "=", "getInstrLatency", "(", "ItinData", ",", "DefMI", ")", ";", "unsigned", "Directive", "=", "Subtarget", ".", "getCPUDirective", "(", ")", ";", "switch", "(", "Directive", ")", "{", "default", ":", "break", ";", "case", "PPC", "::", "DIR_7400", ":", "case", "PPC", "::", "DIR_750", ":", "case", "PPC", "::", "DIR_970", ":", "case", "PPC", "::", "DIR_E5500", ":", "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", ":", "Latency", "+=", "2", ";", "break", ";", "}", "}", "return", "Latency", ";", "}", ""], "natrual_language": ["Compute", "and", "return", "the", "use", "operand", "latency", "of", "a", "given", "pair", "of", "def", "and", "use", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::CRRCRegClass", "PPC::CRBITRCRegClass", "PPC::CRRCRegClass", "PPC::CRBITRCRegClass", "0", "PPC::DIR_7400", "PPC::DIR_750", "PPC::DIR_970", "PPC::DIR_E5500", "PPC::DIR_PWR4", "PPC::DIR_PWR5", "PPC::DIR_PWR5X", "PPC::DIR_PWR6", "PPC::DIR_PWR6X", "PPC::DIR_PWR7", "PPC::DIR_PWR8", "2"], "File": "PPCInstrInfo", "Func": "getOperandLatency", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2728, "Length": 279, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetIRAnalysis", "ARMBaseTargetMachine", "::", "getTargetIRAnalysis", "(", ")", "{", "return", "TargetIRAnalysis", "(", "[", "this", "]", "(", "const", "Function", "&", "F", ")", "{", "return", "TargetTransformInfo", "(", "ARMTTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetIRAnalysis", "appropriate", "for", "the", "target", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMTargetMachine (2)1", "Func": "getTargetIRAnalysis", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2729, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "if", "(", "TRI", "->", "hasBasePointer", "(", "MF", ")", ")", "{", "Register", "BasePtr", "=", "TRI", "->", "getBaseRegister", "(", ")", ";", "if", "(", "STI", ".", "isTarget64BitILP32", "(", ")", ")", "BasePtr", "=", "getX86SubSuperRegister", "(", "BasePtr", ",", "64", ")", ";", "SavedRegs", ".", "set", "(", "BasePtr", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["X86", "X86", "X86", "64"], "File": "X86FrameLowering (2)3", "Func": "determineCalleeSaves", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2730, "Length": 75, "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", "::", "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", "::", "EH_DWARF_CFA", ":", "return", "lowerEH_DWARF_CFA", "(", "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::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::EH_DWARF_CFA", "ISD::FP_TO_SINT"], "File": "MipsISelLowering10", "Func": "LowerOperation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2731, "Length": 320, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"IA64 (Itanium) DAG->DAG Instruction Selector\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["IA64", "\"IA64 (Itanium) DAG->DAG Instruction Selector\""], "File": "IA64ISelDAGToDAG", "Func": "getPassName", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2732, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mep_legitimate_address", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "int", "strict", ")", "{", "int", "the_tag", ";", "fprintf", "(", "stderr", ",", "\"legit: mode %s strict %d \"", ",", "mode_name", "[", "mode", "]", ",", "strict", ")", ";", "debug_rtx", "(", "x", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "LO_SUM", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "REG", "&&", "GEN_REG", "(", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", ",", "strict", ")", "&&", "CONSTANT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "4", ")", "{", "fprintf", "(", "stderr", ",", "\" - nope, %%lo(sym)[reg] not splittable\\n\"", ")", ";", "return", "false", ";", "}", "fprintf", "(", "stderr", ",", "\" - yup, %%lo(sym)[reg]\\n\"", ")", ";", "return", "true", ";", "}", "if", "(", "GET_CODE", "(", "x", ")", "==", "REG", "&&", "GEN_REG", "(", "REGNO", "(", "x", ")", ",", "strict", ")", ")", "{", "fprintf", "(", "stderr", ",", "\" - yup, [reg]\\n\"", ")", ";", "return", "true", ";", "}", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "REG", "&&", "GEN_REG", "(", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", ",", "strict", ")", "&&", "const_in_range", "(", "XEXP", "(", "x", ",", "1", ")", ",", "-", "32768", ",", "32767", ")", ")", "{", "fprintf", "(", "stderr", ",", "\" - yup, [reg+const]\\n\"", ")", ";", "return", "true", ";", "}", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "REG", "&&", "GEN_REG", "(", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", ",", "strict", ")", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "CONST", "&&", "(", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "x", ",", "1", ")", ",", "0", ")", ")", "==", "UNSPEC", "||", "(", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "x", ",", "1", ")", ",", "0", ")", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "XEXP", "(", "x", ",", "1", ")", ",", "0", ")", ",", "0", ")", ")", "==", "UNSPEC", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "XEXP", "(", "x", ",", "1", ")", ",", "0", ")", ",", "1", ")", ")", "==", "CONST_INT", ")", ")", ")", "{", "fprintf", "(", "stderr", ",", "\" - yup, [reg+unspec]\\n\"", ")", ";", "return", "true", ";", "}", "the_tag", "=", "mep_section_tag", "(", "x", ")", ";", "if", "(", "the_tag", "==", "'f'", ")", "{", "fprintf", "(", "stderr", ",", "\" - nope, [far]\\n\"", ")", ";", "return", "false", ";", "}", "if", "(", "mode", "==", "VOIDmode", "&&", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", ")", "{", "fprintf", "(", "stderr", ",", "\" - yup, call [symbol]\\n\"", ")", ";", "return", "true", ";", "}", "if", "(", "(", "mode", "==", "SImode", "||", "mode", "==", "SFmode", ")", "&&", "CONSTANT_P", "(", "x", ")", "&&", "mep_legitimate_constant_p", "(", "mode", ",", "x", ")", "&&", "the_tag", "!=", "'t'", "&&", "the_tag", "!=", "'b'", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "!=", "CONST_INT", "||", "(", "INTVAL", "(", "x", ")", "<=", "0xfffff", "&&", "INTVAL", "(", "x", ")", ">=", "0", "&&", "(", "INTVAL", "(", "x", ")", "%", "4", ")", "==", "0", ")", ")", "{", "fprintf", "(", "stderr", ",", "\" - yup, [const]\\n\"", ")", ";", "return", "true", ";", "}", "}", "fprintf", "(", "stderr", ",", "\" - nope.\\n\"", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Be", "careful", "not", "to", "use", "macros", "that", "need", "to", "be", "compiled", "one", "way", "for", "strict", ",", "and", "another", "way", "for", "not-strict", ",", "like", "REG_OK_FOR_BASE_P", "."], "TS_V_token": ["mep", "\"legit: mode %s strict %d \"", "0", "0", "1", "4", "\" - nope, %%lo(sym)[reg] not splittable\\n\"", "\" - yup, %%lo(sym)[reg]\\n\"", "\" - yup, [reg]\\n\"", "0", "0", "1", "32768", "32767", "\" - yup, [reg+const]\\n\"", "0", "0", "1", "1", "0", "1", "0", "1", "0", "0", "1", "0", "1", "\" - yup, [reg+unspec]\\n\"", "\" - nope, [far]\\n\"", "\" - yup, call [symbol]\\n\"", "0xfffff", "0", "4", "0", "\" - yup, [const]\\n\"", "\" - nope.\\n\""], "File": "mep", "Func": "mep_legitimate_address", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2733, "Length": 493, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TTIImpl", "::", "getNumberOfRegisters", "(", "unsigned", "ClassID", ")", "const", "{", "bool", "Vector", "=", "(", "ClassID", "==", "1", ")", ";", "if", "(", "Vector", "&&", "!", "ST", "->", "hasSSE1", "(", ")", ")", "return", "0", ";", "if", "(", "ST", "->", "is64Bit", "(", ")", ")", "{", "if", "(", "Vector", "&&", "ST", "->", "hasAVX512", "(", ")", ")", "return", "32", ";", "return", "16", ";", "}", "return", "8", ";", "}", ""], "natrual_language": ["\ufffd", "?", "Vector", "TTI", "begin", "\ufffd", "?"], "TS_V_token": ["X86", "X86", "1", "0", "32", "16", "8"], "File": "X86TargetTransformInfo (2)1", "Func": "getNumberOfRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2734, "Length": 63, "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": ["Mips"], "File": "MipsTargetMachine1", "Func": "getDataLayout", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2735, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86ATTInstPrinter", "::", "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", "{", "Op", ".", "getExpr", "(", ")", "->", "print", "(", "O", ",", "&", "MAI", ")", ";", "}", "}", "}", ""], "natrual_language": ["value", "(", "e.g", "."], "TS_V_token": ["X86", "X86", "\"unknown pcrel immediate operand\""], "File": "X86ATTInstPrinter", "Func": "printPCRelImm", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2736, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiInstrInfo", "::", "analyzeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "&", "TrueBlock", ",", "MachineBasicBlock", "*", "&", "FalseBlock", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Condition", ",", "bool", "AllowModify", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "Instruction", "=", "MBB", ".", "end", "(", ")", ";", "while", "(", "Instruction", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "--", "Instruction", ";", "if", "(", "Instruction", "->", "isDebugValue", "(", ")", ")", "continue", ";", "if", "(", "!", "isUnpredicatedTerminator", "(", "*", "Instruction", ")", ")", "break", ";", "if", "(", "!", "Instruction", "->", "isBranch", "(", ")", ")", "return", "true", ";", "if", "(", "Instruction", "->", "getOpcode", "(", ")", "==", "Lanai", "::", "BT", ")", "{", "if", "(", "!", "AllowModify", ")", "{", "TrueBlock", "=", "Instruction", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "continue", ";", "}", "while", "(", "std", "::", "next", "(", "Instruction", ")", "!=", "MBB", ".", "end", "(", ")", ")", "{", "std", "::", "next", "(", "Instruction", ")", "->", "eraseFromParent", "(", ")", ";", "}", "Condition", ".", "clear", "(", ")", ";", "FalseBlock", "=", "nullptr", ";", "if", "(", "MBB", ".", "isLayoutSuccessor", "(", "Instruction", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ")", ")", "{", "TrueBlock", "=", "nullptr", ";", "Instruction", "->", "eraseFromParent", "(", ")", ";", "Instruction", "=", "MBB", ".", "end", "(", ")", ";", "continue", ";", "}", "TrueBlock", "=", "Instruction", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "continue", ";", "}", "unsigned", "Opcode", "=", "Instruction", "->", "getOpcode", "(", ")", ";", "if", "(", "Opcode", "!=", "Lanai", "::", "BRCC", ")", "return", "true", ";", "if", "(", "Condition", ".", "empty", "(", ")", ")", "{", "LPCC", "::", "CondCode", "BranchCond", "=", "static_cast", "<", "LPCC", "::", "CondCode", ">", "(", "Instruction", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ")", ";", "FalseBlock", "=", "TrueBlock", ";", "TrueBlock", "=", "Instruction", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "Condition", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "BranchCond", ")", ")", ";", "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": ["Lanai", "Lanai", "Lanai::BT", "0", "0", "0", "Lanai::BRCC", "1", "0"], "File": "LanaiInstrInfo", "Func": "analyzeBranch", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2737, "Length": 311, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "fp_high_losum_p", "(", "rtx", "op", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "==", "CONST_DOUBLE", ")", "{", "long", "i", ";", "REAL_VALUE_TO_TARGET_SINGLE", "(", "*", "CONST_DOUBLE_REAL_VALUE", "(", "op", ")", ",", "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": "sparc", "Func": "fp_high_losum_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2738, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "host_detect_local_cpu", "(", "int", "argc", ",", "const", "char", "*", "*", "argv", ")", "{", "const", "char", "*", "val", "=", "NULL", ";", "char", "buf", "[", "128", "]", ";", "FILE", "*", "f", "=", "NULL", ";", "bool", "arch", ";", "const", "struct", "vendor_cpu", "*", "cpu_table", "=", "NULL", ";", "char", "*", "fcpu_info", "=", "NULL", ";", "if", "(", "argc", "<", "1", ")", "goto", "not_found", ";", "arch", "=", "strcmp", "(", "argv", "[", "0", "]", ",", "\"arch\"", ")", "==", "0", ";", "if", "(", "!", "arch", "&&", "strcmp", "(", "argv", "[", "0", "]", ",", "\"cpu\"", ")", "!=", "0", "&&", "strcmp", "(", "argv", "[", "0", "]", ",", "\"tune\"", ")", ")", "goto", "not_found", ";", "fcpu_info", "=", "getenv", "(", "\"GCC_CPUINFO\"", ")", ";", "if", "(", "fcpu_info", ")", "f", "=", "fopen", "(", "fcpu_info", ",", "\"r\"", ")", ";", "else", "f", "=", "fopen", "(", "\"/proc/cpuinfo\"", ",", "\"r\"", ")", ";", "if", "(", "f", "==", "NULL", ")", "goto", "not_found", ";", "while", "(", "fgets", "(", "buf", ",", "sizeof", "(", "buf", ")", ",", "f", ")", "!=", "NULL", ")", "{", "if", "(", "startswith", "(", "buf", ",", "\"CPU implementer\"", ")", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "vendors_table", "[", "i", "]", ".", "vendor_no", "!=", "NULL", ";", "i", "++", ")", "if", "(", "strstr", "(", "buf", ",", "vendors_table", "[", "i", "]", ".", "vendor_no", ")", "!=", "NULL", ")", "{", "cpu_table", "=", "vendors_table", "[", "i", "]", ".", "vendor_parts", ";", "break", ";", "}", "}", "if", "(", "startswith", "(", "buf", ",", "\"CPU part\"", ")", ")", "{", "int", "i", ";", "if", "(", "cpu_table", "==", "NULL", ")", "goto", "not_found", ";", "for", "(", "i", "=", "0", ";", "cpu_table", "[", "i", "]", ".", "part_no", "!=", "NULL", ";", "i", "++", ")", "if", "(", "strstr", "(", "buf", ",", "cpu_table", "[", "i", "]", ".", "part_no", ")", "!=", "NULL", ")", "{", "val", "=", "arch", "?", "cpu_table", "[", "i", "]", ".", "arch_name", ":", "cpu_table", "[", "i", "]", ".", "cpu_name", ";", "break", ";", "}", "break", ";", "}", "}", "if", "(", "val", ")", "{", "fclose", "(", "f", ")", ";", "return", "concat", "(", "\"-m\"", ",", "argv", "[", "0", "]", ",", "\"=\"", ",", "val", ",", "NULL", ")", ";", "}", "not_found", ":", "{", "unsigned", "int", "i", ";", "unsigned", "int", "opt", ";", "const", "char", "*", "search", "[", "]", "=", "{", "NULL", ",", "\"arch\"", "}", ";", "if", "(", "f", ")", "fclose", "(", "f", ")", ";", "search", "[", "0", "]", "=", "argv", "[", "0", "]", ";", "for", "(", "opt", "=", "0", ";", "opt", "<", "ARRAY_SIZE", "(", "search", ")", ";", "opt", "++", ")", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "configure_default_options", ")", ";", "i", "++", ")", "if", "(", "strcmp", "(", "configure_default_options", "[", "i", "]", ".", "name", ",", "search", "[", "opt", "]", ")", "==", "0", ")", "return", "concat", "(", "\"-m\"", ",", "search", "[", "opt", "]", ",", "\"=\"", ",", "configure_default_options", "[", "i", "]", ".", "value", ",", "NULL", ")", ";", "return", "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": ["arm", "128", "1", "0", "\"arch\"", "0", "0", "\"cpu\"", "0", "0", "\"tune\"", "\"GCC_CPUINFO\"", "\"r\"", "\"/proc/cpuinfo\"", "\"r\"", "\"CPU implementer\"", "0", "\"CPU part\"", "0", "\"-m\"", "0", "\"=\"", "\"arch\"", "0", "0", "0", "0", "0", "\"-m\"", "\"=\""], "File": "driver-arm", "Func": "host_detect_local_cpu", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2739, "Length": 452, "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", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "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", "=", "getMinCallFrameSize", "(", "Subtarget", ".", "isPPC64", "(", ")", ",", "Subtarget", ".", "isDarwinABI", "(", ")", ")", ";", "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": "PPCFrameLowering24", "Func": "determineFrameLayout", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2740, "Length": 286, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_sve_cmp_operand_p", "(", "rtx_code", "op_code", ",", "rtx", "x", ")", "{", "if", "(", "register_operand", "(", "x", ",", "VOIDmode", ")", ")", "return", "true", ";", "switch", "(", "op_code", ")", "{", "case", "LTU", ":", "case", "LEU", ":", "case", "GEU", ":", "case", "GTU", ":", "return", "aarch64_sve_cmp_immediate_p", "(", "x", ",", "false", ")", ";", "case", "LT", ":", "case", "LE", ":", "case", "GE", ":", "case", "GT", ":", "case", "NE", ":", "case", "EQ", ":", "return", "aarch64_sve_cmp_immediate_p", "(", "x", ",", "true", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "valid", "second", "operand", "for", "the", "SVE", "instruction", "that", "implements", "integer", "comparison", "OP_CODE", "."], "TS_V_token": ["aarch64"], "File": "aarch645", "Func": "aarch64_sve_cmp_operand_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2741, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64RegisterInfo", "::", "regNeedsCFI", "(", "unsigned", "Reg", ",", "unsigned", "&", "RegToUseForCFI", ")", "const", "{", "if", "(", "AArch64", "::", "PPRRegClass", ".", "contains", "(", "Reg", ")", ")", "return", "false", ";", "if", "(", "AArch64", "::", "ZPRRegClass", ".", "contains", "(", "Reg", ")", ")", "{", "RegToUseForCFI", "=", "getSubReg", "(", "Reg", ",", "AArch64", "::", "dsub", ")", ";", "for", "(", "int", "I", "=", "0", ";", "CSR_AArch64_AAPCS_SaveList", "[", "I", "]", ";", "++", "I", ")", "{", "if", "(", "CSR_AArch64_AAPCS_SaveList", "[", "I", "]", "==", "RegToUseForCFI", ")", "return", "true", ";", "}", "return", "false", ";", "}", "RegToUseForCFI", "=", "Reg", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "whether", "the", "register", "needs", "a", "CFI", "entry", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::PPRRegClass", "AArch64::ZPRRegClass", "AArch64::dsub", "0", "AArch64", "AArch64"], "File": "AArch64RegisterInfo21", "Func": "regNeedsCFI", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2742, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "sparc_handle_vis_mul8x16", "(", "int", "fncode", ",", "tree", "inner_type", ",", "tree", "elts0", ",", "tree", "elts1", ")", "{", "tree", "n_elts", "=", "NULL_TREE", ";", "int", "scale", ";", "switch", "(", "fncode", ")", "{", "case", "CODE_FOR_fmul8x16_vis", ":", "for", "(", ";", "elts0", "&&", "elts1", ";", "elts0", "=", "TREE_CHAIN", "(", "elts0", ")", ",", "elts1", "=", "TREE_CHAIN", "(", "elts1", ")", ")", "{", "int", "val", "=", "sparc_vis_mul8x16", "(", "TREE_INT_CST_LOW", "(", "TREE_VALUE", "(", "elts0", ")", ")", ",", "TREE_INT_CST_LOW", "(", "TREE_VALUE", "(", "elts1", ")", ")", ")", ";", "n_elts", "=", "tree_cons", "(", "NULL_TREE", ",", "build_int_cst", "(", "inner_type", ",", "val", ")", ",", "n_elts", ")", ";", "}", "break", ";", "case", "CODE_FOR_fmul8x16au_vis", ":", "scale", "=", "TREE_INT_CST_LOW", "(", "TREE_VALUE", "(", "elts1", ")", ")", ";", "for", "(", ";", "elts0", ";", "elts0", "=", "TREE_CHAIN", "(", "elts0", ")", ")", "{", "int", "val", "=", "sparc_vis_mul8x16", "(", "TREE_INT_CST_LOW", "(", "TREE_VALUE", "(", "elts0", ")", ")", ",", "scale", ")", ";", "n_elts", "=", "tree_cons", "(", "NULL_TREE", ",", "build_int_cst", "(", "inner_type", ",", "val", ")", ",", "n_elts", ")", ";", "}", "break", ";", "case", "CODE_FOR_fmul8x16al_vis", ":", "scale", "=", "TREE_INT_CST_LOW", "(", "TREE_VALUE", "(", "TREE_CHAIN", "(", "elts1", ")", ")", ")", ";", "for", "(", ";", "elts0", ";", "elts0", "=", "TREE_CHAIN", "(", "elts0", ")", ")", "{", "int", "val", "=", "sparc_vis_mul8x16", "(", "TREE_INT_CST_LOW", "(", "TREE_VALUE", "(", "elts0", ")", ")", ",", "scale", ")", ";", "n_elts", "=", "tree_cons", "(", "NULL_TREE", ",", "build_int_cst", "(", "inner_type", ",", "val", ")", ",", "n_elts", ")", ";", "}", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "nreverse", "(", "n_elts", ")", ";", "}", ""], "natrual_language": ["Multiply", "the", "vector", "elements", "in", "ELTS0", "to", "the", "elements", "in", "ELTS1", "as", "specified", "by", "FNCODE", ".", "All", "of", "the", "elements", "in", "ELTS0", "and", "ELTS1", "lists", "must", "be", "integer", "constants", ".", "A", "tree", "list", "with", "the", "results", "of", "the", "multiplications", "is", "returned", ",", "and", "each", "element", "in", "the", "list", "is", "of", "INNER_TYPE", "."], "TS_V_token": ["sparc"], "File": "sparc3", "Func": "sparc_handle_vis_mul8x16", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2743, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_builtin_is_supported", "(", "enum", "rs6000_gen_builtins", "fncode", ")", "{", "switch", "(", "rs6000_builtin_info", "[", "(", "size_t", ")", "fncode", "]", ".", "enable", ")", "{", "case", "ENB_ALWAYS", ":", "return", "true", ";", "case", "ENB_P5", ":", "return", "TARGET_POPCNTB", ";", "case", "ENB_P6", ":", "return", "TARGET_CMPB", ";", "case", "ENB_P6_64", ":", "return", "TARGET_CMPB", "&&", "TARGET_POWERPC64", ";", "case", "ENB_P7", ":", "return", "TARGET_POPCNTD", ";", "case", "ENB_P7_64", ":", "return", "TARGET_POPCNTD", "&&", "TARGET_POWERPC64", ";", "case", "ENB_P8", ":", "return", "TARGET_DIRECT_MOVE", ";", "case", "ENB_P8V", ":", "return", "TARGET_P8_VECTOR", ";", "case", "ENB_P9", ":", "return", "TARGET_MODULO", ";", "case", "ENB_P9_64", ":", "return", "TARGET_MODULO", "&&", "TARGET_POWERPC64", ";", "case", "ENB_P9V", ":", "return", "TARGET_P9_VECTOR", ";", "case", "ENB_P10", ":", "return", "TARGET_POWER10", ";", "case", "ENB_P10_64", ":", "return", "TARGET_POWER10", "&&", "TARGET_POWERPC64", ";", "case", "ENB_ALTIVEC", ":", "return", "TARGET_ALTIVEC", ";", "case", "ENB_VSX", ":", "return", "TARGET_VSX", ";", "case", "ENB_CELL", ":", "return", "TARGET_ALTIVEC", "&&", "rs6000_cpu", "==", "PROCESSOR_CELL", ";", "case", "ENB_IEEE128_HW", ":", "return", "TARGET_FLOAT128_HW", ";", "case", "ENB_DFP", ":", "return", "TARGET_DFP", ";", "case", "ENB_CRYPTO", ":", "return", "TARGET_CRYPTO", ";", "case", "ENB_HTM", ":", "return", "TARGET_HTM", ";", "case", "ENB_MMA", ":", "return", "TARGET_MMA", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Check", "whether", "a", "builtin", "function", "is", "supported", "in", "this", "target", "configuration", "."], "TS_V_token": ["rs6000"], "File": "rs6000-builtin", "Func": "rs6000_builtin_is_supported", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2744, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_compute_static_chain_stack_bytes", "(", "void", ")", "{", "if", "(", "TARGET_APCS_FRAME", "&&", "frame_pointer_needed", "&&", "TARGET_ARM", "&&", "IS_NESTED", "(", "arm_current_func_type", "(", ")", ")", "&&", "arm_r3_live_at_start_p", "(", ")", "&&", "crtl", "->", "args", ".", "pretend_args_size", "==", "0", ")", "return", "4", ";", "return", "0", ";", "}", ""], "natrual_language": ["Compute", "the", "number", "of", "bytes", "used", "to", "store", "the", "static", "chain", "register", "on", "the", "stack", ",", "above", "the", "stack", "frame", ".", "We", "need", "to", "know", "this", "accurately", "to", "get", "the", "alignment", "of", "the", "rest", "of", "the", "stack", "frame", "correct", "."], "TS_V_token": ["arm", "0", "4", "0"], "File": "arm4", "Func": "arm_compute_static_chain_stack_bytes", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2745, "Length": 41, "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": 2746, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_promote_prototypes", "(", "tree", "t", "ATTRIBUTE_UNUSED", ")", "{", "return", "!", "TARGET_AAPCS_BASED", ";", "}", ""], "natrual_language": ["We", "ca", "n't", "rely", "on", "the", "caller", "doing", "the", "proper", "promotion", "when", "using", "APCS", "or", "ATPCS", "."], "TS_V_token": ["arm"], "File": "arm3", "Func": "arm_promote_prototypes", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2747, "Length": 14, "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": 2748, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "PPC", "::", "RLWINM", ")", "{", "unsigned", "char", "SH", "=", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "unsigned", "char", "MB", "=", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "unsigned", "char", "ME", "=", "MI", "->", "getOperand", "(", "4", ")", ".", "getImm", "(", ")", ";", "bool", "useSubstituteMnemonic", "=", "false", ";", "if", "(", "SH", "<=", "31", "&&", "MB", "==", "0", "&&", "ME", "==", "(", "31", "-", "SH", ")", ")", "{", "O", "<<", "\"\\tslwi \"", ";", "useSubstituteMnemonic", "=", "true", ";", "}", "if", "(", "SH", "<=", "31", "&&", "MB", "==", "(", "32", "-", "SH", ")", "&&", "ME", "==", "31", ")", "{", "O", "<<", "\"\\tsrwi \"", ";", "useSubstituteMnemonic", "=", "true", ";", "SH", "=", "32", "-", "SH", ";", "}", "if", "(", "useSubstituteMnemonic", ")", "{", "printOperand", "(", "MI", ",", "0", ")", ";", "O", "<<", "\", \"", ";", "printOperand", "(", "MI", ",", "1", ")", ";", "O", "<<", "\", \"", "<<", "(", "unsigned", "int", ")", "SH", ";", "OutStreamer", ".", "AddBlankLine", "(", ")", ";", "return", ";", "}", "}", "if", "(", "(", "MI", "->", "getOpcode", "(", ")", "==", "PPC", "::", "OR", "||", "MI", "->", "getOpcode", "(", ")", "==", "PPC", "::", "OR8", ")", "&&", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", "{", "O", "<<", "\"\\tmr \"", ";", "printOperand", "(", "MI", ",", "0", ")", ";", "O", "<<", "\", \"", ";", "printOperand", "(", "MI", ",", "1", ")", ";", "OutStreamer", ".", "AddBlankLine", "(", ")", ";", "return", ";", "}", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "PPC", "::", "RLDICR", ")", "{", "unsigned", "char", "SH", "=", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "unsigned", "char", "ME", "=", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "if", "(", "63", "-", "SH", "==", "ME", ")", "{", "O", "<<", "\"\\tsldi \"", ";", "printOperand", "(", "MI", ",", "0", ")", ";", "O", "<<", "\", \"", ";", "printOperand", "(", "MI", ",", "1", ")", ";", "O", "<<", "\", \"", "<<", "(", "unsigned", "int", ")", "SH", ";", "OutStreamer", ".", "AddBlankLine", "(", ")", ";", "return", ";", "}", "}", "printInstruction", "(", "MI", ")", ";", "OutStreamer", ".", "AddBlankLine", "(", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::RLWINM", "2", "3", "4", "31", "0", "31", "\"\\tslwi \"", "31", "32", "31", "\"\\tsrwi \"", "32", "0", "\", \"", "1", "\", \"", "PPC::OR", "PPC::OR8", "1", "2", "\"\\tmr \"", "0", "\", \"", "1", "PPC::RLDICR", "2", "3", "63", "\"\\tsldi \"", "0", "\", \"", "1", "\", \""], "File": "PPCAsmPrinter107", "Func": "EmitInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2749, "Length": 363, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "SparcDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "unsigned", "GlobalBaseReg", "=", "TM", ".", "getInstrInfo", "(", ")", "->", "getGlobalBaseReg", "(", "MF", ")", ";", "return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "getTargetLowering", "(", ")", "->", "getPointerTy", "(", ")", ")", ".", "getNode", "(", ")", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcISelDAGToDAG", "Func": "getGlobalBaseReg", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2750, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsELFStreamer", "::", "emitLabel", "(", "MCSymbol", "*", "Symbol", ",", "SMLoc", "Loc", ")", "{", "MCELFStreamer", "::", "emitLabel", "(", "Symbol", ")", ";", "Labels", ".", "push_back", "(", "Symbol", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "label", "for", "Symbol", "into", "the", "current", "section", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsELFStreamer19", "Func": "emitLabel", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2751, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_emit_speculation_barrier_function", "(", ")", "{", "emit_library_call", "(", "speculation_barrier_libfunc", ",", "LCT_NORMAL", ",", "VOIDmode", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "speculation", "barrier", "on", "target", "architectures", "that", "do", "not", "have", "DSB/ISB", "directly", ".", "Such", "systems", "probably", "do", "n't", "need", "a", "barrier", "themselves", ",", "but", "if", "the", "code", "is", "ever", "run", "on", "a", "later", "architecture", ",", "it", "might", "become", "a", "problem", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_emit_speculation_barrier_function", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2752, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "Position", ",", "Register", "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": "LanaiInstrInfo13", "Func": "loadRegFromStackSlot", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2753, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getReg", "(", ")", "const", "override", "{", "if", "(", "Kind", "==", "k_RegisterIndex", "&&", "RegIdx", ".", "Index", "==", "0", "&&", "RegIdx", ".", "Kind", "&", "RegKind_GPR", ")", "return", "getGPR32Reg", "(", ")", ";", "assert", "(", "Kind", "==", "k_PhysRegister", "&&", "\"Invalid access!\"", ")", ";", "return", "PhysReg", ".", "Num", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["Mips", "0", "\"Invalid access!\""], "File": "MipsAsmParser", "Func": "getReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2754, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "TargetSubtargetInfo", "*", "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": ["LC3"], "File": "LC3TargetMachine", "Func": "getSubtargetImpl", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2755, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseRegisterInfo", "::", "isFrameOffsetLegal", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "BaseReg", ",", "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", "=", "(", "BaseReg", "==", "ARM", "::", "SP", "?", "8", ":", "5", ")", ";", "Scale", "=", "4", ";", "isSigned", "=", "false", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Unsupported addressing mode!\"", ")", ";", "}", "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", "ARM::SP", "8", "5", "4", "\"Unsupported addressing mode!\"", "1", "0", "0", "1", "1"], "File": "ARMBaseRegisterInfo10", "Func": "isFrameOffsetLegal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2756, "Length": 305, "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", ";", "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": "PPCISelLowering173", "Func": "LowerCall", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2757, "Length": 234, "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", "++", ";", "}", "}", "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"], "File": "arm6", "Func": "arm_setup_incoming_varargs", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2758, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "DCPU16InstrInfo", "::", "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": ["Dcpu16", "DCPU16"], "File": "Dcpu16InstrInfo", "Func": "isUnpredicatedTerminator", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2759, "Length": 62, "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": 2760, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "OR1KMCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "unsigned", "CurByte", "=", "0", ";", "++", "MCNumEmitted", ";", "unsigned", "Value", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "EmitBEConstant", "(", "Value", ",", "4", ",", "CurByte", ",", "OS", ")", ";", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["OR1K", "OR1K", "0", "4"], "File": "OR1KMCCodeEmitter1", "Func": "encodeInstruction", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2761, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBank", "&", "MipsRegisterBankInfo", "::", "getRegBankFromRegClass", "(", "const", "TargetRegisterClass", "&", "RC", ")", "const", "{", "using", "namespace", "Mips", ";", "switch", "(", "RC", ".", "getID", "(", ")", ")", "{", "case", "Mips", "::", "GPR32RegClassID", ":", "case", "Mips", "::", "CPU16Regs_and_GPRMM16ZeroRegClassID", ":", "case", "Mips", "::", "GPRMM16MovePPairFirstRegClassID", ":", "case", "Mips", "::", "CPU16Regs_and_GPRMM16MovePPairSecondRegClassID", ":", "case", "Mips", "::", "GPRMM16MoveP_and_CPU16Regs_and_GPRMM16ZeroRegClassID", ":", "case", "Mips", "::", "GPRMM16MovePPairFirst_and_GPRMM16MovePPairSecondRegClassID", ":", "case", "Mips", "::", "SP32RegClassID", ":", "case", "Mips", "::", "GP32RegClassID", ":", "return", "getRegBank", "(", "Mips", "::", "GPRBRegBankID", ")", ";", "case", "Mips", "::", "FGRCCRegClassID", ":", "case", "Mips", "::", "FGR32RegClassID", ":", "case", "Mips", "::", "FGR64RegClassID", ":", "case", "Mips", "::", "AFGR64RegClassID", ":", "case", "Mips", "::", "MSA128BRegClassID", ":", "case", "Mips", "::", "MSA128HRegClassID", ":", "case", "Mips", "::", "MSA128WRegClassID", ":", "case", "Mips", "::", "MSA128DRegClassID", ":", "return", "getRegBank", "(", "Mips", "::", "FPRBRegBankID", ")", ";", "default", ":", "llvm_unreachable", "(", "\"Register class not supported\"", ")", ";", "}", "}", ""], "natrual_language": ["Get", "a", "register", "bank", "that", "covers", "RC", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips::GPR32RegClassID", "Mips::CPU16Regs_and_GPRMM16ZeroRegClassID", "Mips::GPRMM16MovePPairFirstRegClassID", "Mips::CPU16Regs_and_GPRMM16MovePPairSecondRegClassID", "Mips::GPRMM16MoveP_and_CPU16Regs_and_GPRMM16ZeroRegClassID", "Mips::GPRMM16MovePPairFirst_and_GPRMM16MovePPairSecondRegClassID", "Mips::SP32RegClassID", "Mips::GP32RegClassID", "Mips::GPRBRegBankID", "Mips::FGRCCRegClassID", "Mips::FGR32RegClassID", "Mips::FGR64RegClassID", "Mips::AFGR64RegClassID", "Mips::MSA128BRegClassID", "Mips::MSA128HRegClassID", "Mips::MSA128WRegClassID", "Mips::MSA128DRegClassID", "Mips::FPRBRegBankID", "\"Register class not supported\""], "File": "MipsRegisterBankInfo16", "Func": "getRegBankFromRegClass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2762, "Length": 132, "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", ")", ";", "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", "(", "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": "PPCFrameLowering41", "Func": "determineFrameLayout", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2763, "Length": 305, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "iq2000_reg_mode_ok_for_base_p", "(", "rtx", "reg", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "int", "strict", ")", "{", "return", "(", "strict", "?", "REGNO_MODE_OK_FOR_BASE_P", "(", "REGNO", "(", "reg", ")", ",", "mode", ")", ":", "GP_REG_OR_PSEUDO_NONSTRICT_P", "(", "REGNO", "(", "reg", ")", ",", "mode", ")", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "REG", "is", "valid", "for", "MODE", "."], "TS_V_token": ["iq2000"], "File": "iq2000", "Func": "iq2000_reg_mode_ok_for_base_p", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2764, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "OS", ",", "StringRef", "Annotation", ",", "const", "MCSubtargetInfo", "&", ")", "{", "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": "LanaiInstPrinter", "Func": "printInst", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2765, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "replace_swapped_aligned_store", "(", "swap_web_entry", "*", "insn_entry", ",", "rtx_insn", "*", "store_insn", ")", "{", "unsigned", "uid", "=", "INSN_UID", "(", "store_insn", ")", ";", "gcc_assert", "(", "insn_entry", "[", "uid", "]", ".", "is_swap", "&&", "insn_entry", "[", "uid", "]", ".", "is_store", ")", ";", "rtx", "body", "=", "PATTERN", "(", "store_insn", ")", ";", "rtx", "dest_address", "=", "XEXP", "(", "SET_DEST", "(", "body", ")", ",", "0", ")", ";", "rtx", "swap_reg", "=", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ";", "gcc_assert", "(", "REG_P", "(", "dest_address", ")", "||", "rs6000_sum_of_two_registers_p", "(", "dest_address", ")", ")", ";", "struct", "df_insn_info", "*", "insn_info", "=", "DF_INSN_INFO_GET", "(", "store_insn", ")", ";", "df_ref", "use", ";", "rtx_insn", "*", "swap_insn", "=", "NULL", ";", "unsigned", "uid2", "=", "0", ";", "FOR_EACH_INSN_INFO_USE", "(", "use", ",", "insn_info", ")", "{", "struct", "df_link", "*", "def_link", "=", "DF_REF_CHAIN", "(", "use", ")", ";", "if", "(", "!", "rtx_equal_p", "(", "DF_REF_REG", "(", "use", ")", ",", "swap_reg", ")", ")", "continue", ";", "gcc_assert", "(", "def_link", "&&", "def_link", "->", "ref", "&&", "!", "def_link", "->", "next", "&&", "!", "DF_REF_IS_ARTIFICIAL", "(", "def_link", "->", "ref", ")", ")", ";", "swap_insn", "=", "DF_REF_INSN", "(", "def_link", "->", "ref", ")", ";", "uid2", "=", "INSN_UID", "(", "swap_insn", ")", ";", "gcc_assert", "(", "insn_entry", "[", "uid2", "]", ".", "is_swap", "&&", "!", "insn_entry", "[", "uid2", "]", ".", "is_load", "&&", "!", "insn_entry", "[", "uid2", "]", ".", "is_store", ")", ";", "break", ";", "}", "gcc_assert", "(", "swap_insn", ")", ";", "rtx", "set", "=", "single_set", "(", "store_insn", ")", ";", "gcc_assert", "(", "set", ")", ";", "rtx", "dest_exp", "=", "SET_DEST", "(", "set", ")", ";", "rtx", "src_exp", "=", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ";", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "dest_exp", ")", ";", "gcc_assert", "(", "MEM_P", "(", "dest_exp", ")", ")", ";", "gcc_assert", "(", "MEM_ALIGN", "(", "dest_exp", ")", ">=", "128", ")", ";", "rtx", "stvx", ";", "stvx", "=", "rs6000_gen_stvx", "(", "mode", ",", "dest_exp", ",", "src_exp", ")", ";", "rtx_insn", "*", "new_insn", "=", "emit_insn_before", "(", "stvx", ",", "store_insn", ")", ";", "rtx", "new_body", "=", "PATTERN", "(", "new_insn", ")", ";", "gcc_assert", "(", "(", "GET_CODE", "(", "new_body", ")", "==", "SET", ")", "&&", "MEM_P", "(", "SET_DEST", "(", "new_body", ")", ")", ")", ";", "set_block_for_insn", "(", "new_insn", ",", "BLOCK_FOR_INSN", "(", "store_insn", ")", ")", ";", "df_insn_rescan", "(", "new_insn", ")", ";", "df_insn_delete", "(", "store_insn", ")", ";", "remove_insn", "(", "store_insn", ")", ";", "store_insn", "->", "set_deleted", "(", ")", ";", "uid2", "=", "INSN_UID", "(", "swap_insn", ")", ";", "mark_swaps_for_removal", "(", "insn_entry", ",", "uid2", ")", ";", "replace_swap_with_copy", "(", "insn_entry", ",", "uid2", ")", ";", "}", ""], "natrual_language": ["Given", "that", "STORE_INSN", "represents", "an", "aligned", "store-with-swap", "of", "a", "swapped", "value", ",", "replace", "the", "store", "with", "an", "aligned", "store", "(", "without", "swap", ")", "and", "replace", "the", "swap", "with", "a", "copy", "insn", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "128"], "File": "rs6000-p8swap", "Func": "replace_swapped_aligned_store", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2766, "Length": 380, "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", ">", "(", ")", ";", "const", "ARMFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "if", "(", "!", "TargetRegisterInfo", "::", "canRealignStack", "(", "MF", ")", ")", "return", "false", ";", "if", "(", "AFI", "->", "isThumb1OnlyFunction", "(", ")", ")", "return", "false", ";", "if", "(", "!", "MRI", "->", "canReserveReg", "(", "getFramePointerReg", "(", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ")", ")", ")", "return", "false", ";", "if", "(", "TFI", "->", "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", "ARM", "ARM"], "File": "ARMBaseRegisterInfo10", "Func": "canRealignStack", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2767, "Length": 116, "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": ["ARM"], "File": "ARMISelLowering", "Func": "supportSwiftError", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2768, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "ARMOperand", "*", "CreateReg", "(", "unsigned", "RegNum", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{", "ARMOperand", "*", "Op", "=", "new", "ARMOperand", "(", "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": ["ARM", "ARM", "ARM", "ARM"], "File": "ARMAsmParser35", "Func": "CreateReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2769, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "FISCMCInstLower", "::", "Initialize", "(", "Mangler", "*", "M", ",", "MCContext", "*", "C", ")", "{", "Mang", "=", "M", ";", "Ctx", "=", "C", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["FISC", "FISC"], "File": "FISCMCInstLower", "Func": "Initialize", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2770, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "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", "(", "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", ")", ".", "addImm", "(", "Pred", ")", ".", "addReg", "(", "PredReg", ")", ";", "}", ""], "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": "ARMBaseRegisterInfo36", "Func": "emitLoadConstPool", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2771, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "unsigned", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "SmallVector", "<", "MCInst", ",", "8", ">", "Instructions", ";", "unsigned", "MatchResult", "=", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ";", "switch", "(", "MatchResult", ")", "{", "default", ":", "break", ";", "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", "!=", "~", "0U", ")", "{", "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\"", ")", ";", "}", "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": ["Sparc", "Sparc", "8", "\"instruction requires a CPU feature not currently enabled\"", "0U", "\"too few operands for instruction\"", "Sparc", "\"invalid operand for instruction\"", "\"invalid instruction mnemonic\""], "File": "SparcAsmParser2", "Func": "MatchAndEmitInstruction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2772, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "nds32_spilt_doubleword", "(", "rtx", "*", "operands", ",", "bool", "load_p", ")", "{", "int", "reg", "=", "load_p", "?", "0", ":", "1", ";", "int", "mem", "=", "load_p", "?", "1", ":", "0", ";", "rtx", "reg_rtx", "=", "load_p", "?", "operands", "[", "0", "]", ":", "operands", "[", "1", "]", ";", "rtx", "mem_rtx", "=", "load_p", "?", "operands", "[", "1", "]", ":", "operands", "[", "0", "]", ";", "rtx", "low_part", "[", "2", "]", ",", "high_part", "[", "2", "]", ";", "rtx", "sub_mem", "=", "XEXP", "(", "mem_rtx", ",", "0", ")", ";", "low_part", "[", "reg", "]", "=", "simplify_gen_subreg", "(", "SImode", ",", "reg_rtx", ",", "GET_MODE", "(", "reg_rtx", ")", ",", "0", ")", ";", "high_part", "[", "reg", "]", "=", "simplify_gen_subreg", "(", "SImode", ",", "reg_rtx", ",", "GET_MODE", "(", "reg_rtx", ")", ",", "4", ")", ";", "if", "(", "GET_CODE", "(", "sub_mem", ")", "==", "POST_DEC", ")", "{", "sub_mem", "=", "XEXP", "(", "sub_mem", ",", "0", ")", ";", "low_part", "[", "mem", "]", "=", "gen_frame_mem", "(", "SImode", ",", "gen_rtx_POST_MODIFY", "(", "Pmode", ",", "sub_mem", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "sub_mem", ",", "GEN_INT", "(", "4", ")", ")", ")", ")", ";", "high_part", "[", "mem", "]", "=", "gen_frame_mem", "(", "SImode", ",", "gen_rtx_POST_MODIFY", "(", "Pmode", ",", "sub_mem", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "sub_mem", ",", "GEN_INT", "(", "-", "12", ")", ")", ")", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "sub_mem", ")", "==", "POST_MODIFY", ")", "{", "rtx", "post_mem", "=", "XEXP", "(", "sub_mem", ",", "0", ")", ";", "rtx", "plus_op", "=", "XEXP", "(", "sub_mem", ",", "1", ")", ";", "rtx", "post_val", "=", "XEXP", "(", "plus_op", ",", "1", ")", ";", "low_part", "[", "mem", "]", "=", "gen_frame_mem", "(", "SImode", ",", "gen_rtx_POST_MODIFY", "(", "Pmode", ",", "post_mem", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "post_mem", ",", "post_val", ")", ")", ")", ";", "high_part", "[", "mem", "]", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "post_mem", ",", "4", ")", ")", ";", "}", "else", "{", "low_part", "[", "mem", "]", "=", "adjust_address", "(", "mem_rtx", ",", "SImode", ",", "0", ")", ";", "high_part", "[", "mem", "]", "=", "adjust_address", "(", "mem_rtx", ",", "SImode", ",", "4", ")", ";", "}", "if", "(", "(", "load_p", "&&", "reg_overlap_mentioned_p", "(", "low_part", "[", "0", "]", ",", "high_part", "[", "1", "]", ")", ")", "||", "GET_CODE", "(", "sub_mem", ")", "==", "POST_MODIFY", ")", "{", "operands", "[", "2", "]", "=", "high_part", "[", "0", "]", ";", "operands", "[", "3", "]", "=", "high_part", "[", "1", "]", ";", "operands", "[", "4", "]", "=", "low_part", "[", "0", "]", ";", "operands", "[", "5", "]", "=", "low_part", "[", "1", "]", ";", "}", "else", "{", "operands", "[", "2", "]", "=", "low_part", "[", "0", "]", ";", "operands", "[", "3", "]", "=", "low_part", "[", "1", "]", ";", "operands", "[", "4", "]", "=", "high_part", "[", "0", "]", ";", "operands", "[", "5", "]", "=", "high_part", "[", "1", "]", ";", "}", "}", ""], "natrual_language": ["Spilt", "a", "doubleword", "instrucion", "to", "two", "single", "word", "instructions", "."], "TS_V_token": ["nds32", "0", "1", "1", "0", "0", "1", "1", "0", "2", "2", "0", "0", "4", "0", "4", "12", "0", "1", "1", "4", "0", "4", "0", "1", "2", "0", "3", "1", "4", "0", "5", "1", "2", "0", "3", "1", "4", "0", "5", "1"], "File": "nds32-md-auxiliary5", "Func": "nds32_spilt_doubleword", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2773, "Length": 427, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isPredicable", "(", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "!", "MI", ".", "isPredicable", "(", ")", ")", "return", "false", ";", "if", "(", "!", "isEligibleForITBlock", "(", "&", "MI", ")", ")", "return", "false", ";", "ARMFunctionInfo", "*", "AFI", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "if", "(", "AFI", "->", "isThumb2Function", "(", ")", ")", "{", "if", "(", "getSubtarget", "(", ")", ".", "restrictIT", "(", ")", ")", "return", "isV8EligibleForIT", "(", "&", "MI", ")", ";", "}", "else", "{", "if", "(", "(", "MI", ".", "getDesc", "(", ")", ".", "TSFlags", "&", "ARMII", "::", "DomainMask", ")", "==", "ARMII", "::", "DomainNEON", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "instruction", "can", "be", "predicated", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARMII::DomainMask", "ARMII::DomainNEON"], "File": "ARMBaseInstrInfo (2)2", "Func": "isPredicable", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2774, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "legitimate_constant_pool_address_p", "(", "const_rtx", "x", ",", "machine_mode", "mode", ",", "bool", "strict", ")", "{", "return", "(", "toc_relative_expr_p", "(", "x", ",", "strict", ")", "&&", "(", "TARGET_CMODEL", "!=", "CMODEL_MEDIUM", "||", "constant_pool_expr_p", "(", "XVECEXP", "(", "tocrel_base", ",", "0", ",", "0", ")", ")", "||", "mode", "==", "QImode", "||", "offsettable_ok_by_alignment", "(", "XVECEXP", "(", "tocrel_base", ",", "0", ",", "0", ")", ",", "INTVAL", "(", "tocrel_offset", ")", ",", "mode", ")", ")", ")", ";", "}", ""], "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", "0", "0"], "File": "rs60004", "Func": "legitimate_constant_pool_address_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2775, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_74k_agen_init", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "!", "insn", "||", "CALL_P", "(", "insn", ")", "||", "JUMP_P", "(", "insn", ")", ")", "mips_last_74k_agen_insn", "=", "TYPE_UNKNOWN", ";", "else", "{", "enum", "attr_type", "type", "=", "get_attr_type", "(", "insn", ")", ";", "if", "(", "type", "==", "TYPE_LOAD", "||", "type", "==", "TYPE_STORE", ")", "mips_last_74k_agen_insn", "=", "type", ";", "}", "}", ""], "natrual_language": ["Initialize", "mips_last_74k_agen_insn", "from", "INSN", ".", "A", "null", "argument", "resets", "to", "TYPE_UNKNOWN", "state", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_74k_agen_init", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2776, "Length": 55, "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", ";", "if", "(", "refers_to_regno_p", "(", "REGNO", "(", "operands", "[", "0", "]", ")", ",", "REGNO", "(", "operands", "[", "0", "]", ")", "+", "2", ",", "base", ",", "0", ")", ")", "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", ")", ")", "\\", "add_reg_note", "(", "insn", ",", "REG_INC", ",", "XEXP", "(", "XEXP", "(", "EXP", ",", "0", ")", ",", "0", ")", ")", "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", "0", "2", "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": "ia644", "Func": "ia64_split_tmode_move", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2777, "Length": 408, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "pa_function_value", "(", "const_tree", "valtype", ",", "const_tree", "func", "ATTRIBUTE_UNUSED", ",", "bool", "outgoing", "ATTRIBUTE_UNUSED", ")", "{", "machine_mode", "valmode", ";", "if", "(", "AGGREGATE_TYPE_P", "(", "valtype", ")", "||", "TREE_CODE", "(", "valtype", ")", "==", "COMPLEX_TYPE", "||", "TREE_CODE", "(", "valtype", ")", "==", "VECTOR_TYPE", ")", "{", "HOST_WIDE_INT", "valsize", "=", "int_size_in_bytes", "(", "valtype", ")", ";", "if", "(", "(", "valsize", "&", "(", "UNITS_PER_WORD", "-", "1", ")", ")", "==", "0", ")", "return", "gen_rtx_REG", "(", "TYPE_MODE", "(", "valtype", ")", ",", "28", ")", ";", "if", "(", "TARGET_64BIT", ")", "{", "rtx", "loc", "[", "2", "]", ";", "int", "i", ",", "offset", "=", "0", ";", "int", "ub", "=", "valsize", "<=", "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", "(", "valsize", ">", "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", ")", "&&", "GET_MODE_BITSIZE", "(", "TYPE_MODE", "(", "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": ["On", "the", "HP-PA", "the", "value", "is", "found", "in", "register", "(", "s", ")", "28", "(", "-29", ")", ",", "unless", "the", "mode", "is", "SF", "or", "DF", ".", "Then", "the", "value", "is", "returned", "in", "fr4", "(", "32", ")", ".", "This", "must", "perform", "the", "same", "promotions", "as", "PROMOTE_MODE", ",", "else", "promoting", "return", "values", "in", "TARGET_PROMOTE_FUNCTION_MODE", "will", "not", "work", "correctly", ".", "Small", "structures", "must", "be", "returned", "in", "a", "PARALLEL", "on", "PA64", "in", "order", "to", "match", "the", "HP", "Compiler", "ABI", "."], "TS_V_token": ["pa", "1", "0", "28", "2", "0", "1", "2", "0", "28", "8", "28", "1", "32", "28"], "File": "pa4", "Func": "pa_function_value", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2778, "Length": 278, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getExceptionPointerRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "override", "{", "return", "AArch64", "::", "X0", ";", "}", ""], "natrual_language": ["If", "a", "physical", "register", ",", "this", "returns", "the", "register", "that", "receives", "the", "exception", "address", "on", "entry", "to", "an", "EH", "pad", "."], "TS_V_token": ["AArch64", "AArch64::X0"], "File": "AArch64ISelLowering (2)", "Func": "getExceptionPointerRegister", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2779, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "func_fma_steering", "::", "update_balance", "(", "int", "parity", ")", "{", "this", "->", "m_fpu_balance", "=", "parity", "?", "this", "->", "m_fpu_balance", "+", "1", ":", "this", "->", "m_fpu_balance", "-", "1", ";", "}", ""], "natrual_language": ["Update", "the", "current", "balance", "considering", "a", "node", "with", "the", "given", "PARITY", "."], "TS_V_token": ["aarch64", "1", "1"], "File": "cortex-a57-fma-steering", "Func": "update_balance", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2780, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_emit_probe_stack_range", "(", "HOST_WIDE_INT", "first", ",", "poly_int64", "poly_size", ")", "{", "HOST_WIDE_INT", "size", ";", "if", "(", "!", "poly_size", ".", "is_constant", "(", "&", "size", ")", ")", "{", "sorry", "(", "\"stack probes for SVE frames\"", ")", ";", "return", ";", "}", "rtx", "reg1", "=", "gen_rtx_REG", "(", "Pmode", ",", "PROBE_STACK_FIRST_REGNUM", ")", ";", "gcc_assert", "(", "(", "first", "%", "ARITH_FACTOR", ")", "==", "0", ")", ";", "if", "(", "size", "<=", "PROBE_INTERVAL", ")", "{", "const", "HOST_WIDE_INT", "base", "=", "ROUND_UP", "(", "size", ",", "ARITH_FACTOR", ")", ";", "emit_set_insn", "(", "reg1", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "(", "first", "+", "base", ")", ")", ")", ";", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "reg1", ",", "base", "-", "size", ")", ")", ";", "}", "else", "if", "(", "size", "<=", "4", "*", "PROBE_INTERVAL", ")", "{", "HOST_WIDE_INT", "i", ",", "rem", ";", "emit_set_insn", "(", "reg1", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "(", "first", "+", "PROBE_INTERVAL", ")", ")", ")", ";", "emit_stack_probe", "(", "reg1", ")", ";", "for", "(", "i", "=", "2", "*", "PROBE_INTERVAL", ";", "i", "<", "size", ";", "i", "+=", "PROBE_INTERVAL", ")", "{", "emit_set_insn", "(", "reg1", ",", "plus_constant", "(", "Pmode", ",", "reg1", ",", "-", "PROBE_INTERVAL", ")", ")", ";", "emit_stack_probe", "(", "reg1", ")", ";", "}", "rem", "=", "size", "-", "(", "i", "-", "PROBE_INTERVAL", ")", ";", "if", "(", "rem", ">", "256", ")", "{", "const", "HOST_WIDE_INT", "base", "=", "ROUND_UP", "(", "rem", ",", "ARITH_FACTOR", ")", ";", "emit_set_insn", "(", "reg1", ",", "plus_constant", "(", "Pmode", ",", "reg1", ",", "-", "base", ")", ")", ";", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "reg1", ",", "base", "-", "rem", ")", ")", ";", "}", "else", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "reg1", ",", "-", "rem", ")", ")", ";", "}", "else", "{", "rtx", "reg2", "=", "gen_rtx_REG", "(", "Pmode", ",", "PROBE_STACK_SECOND_REGNUM", ")", ";", "HOST_WIDE_INT", "rounded_size", "=", "size", "&", "-", "PROBE_INTERVAL", ";", "emit_set_insn", "(", "reg1", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "first", ")", ")", ";", "HOST_WIDE_INT", "adjustment", "=", "-", "(", "first", "+", "rounded_size", ")", ";", "if", "(", "!", "aarch64_uimm12_shift", "(", "adjustment", ")", ")", "{", "aarch64_internal_mov_immediate", "(", "reg2", ",", "GEN_INT", "(", "adjustment", ")", ",", "true", ",", "Pmode", ")", ";", "emit_set_insn", "(", "reg2", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "reg2", ")", ")", ";", "}", "else", "emit_set_insn", "(", "reg2", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "adjustment", ")", ")", ";", "emit_insn", "(", "gen_probe_stack_range", "(", "reg1", ",", "reg1", ",", "reg2", ")", ")", ";", "if", "(", "size", "!=", "rounded_size", ")", "{", "HOST_WIDE_INT", "rem", "=", "size", "-", "rounded_size", ";", "if", "(", "rem", ">", "256", ")", "{", "const", "HOST_WIDE_INT", "base", "=", "ROUND_UP", "(", "rem", ",", "ARITH_FACTOR", ")", ";", "emit_set_insn", "(", "reg2", ",", "plus_constant", "(", "Pmode", ",", "reg2", ",", "-", "base", ")", ")", ";", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "reg2", ",", "base", "-", "rem", ")", ")", ";", "}", "else", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "reg2", ",", "-", "rem", ")", ")", ";", "}", "}", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "probe", "a", "range", "of", "stack", "addresses", "from", "FIRST", "to", "FIRST+SIZE", ",", "inclusive", ".", "These", "are", "offsets", "from", "the", "current", "stack", "pointer", "."], "TS_V_token": ["aarch64", "\"stack probes for SVE frames\"", "0", "4", "2", "256", "256"], "File": "aarch641", "Func": "aarch64_emit_probe_stack_range", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2781, "Length": 453, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "X86_64MachoTargetObjectFile", "::", "getIndirectSymViaGOTPCRel", "(", "const", "GlobalValue", "*", "GV", ",", "const", "MCSymbol", "*", "Sym", ",", "const", "MCValue", "&", "MV", ",", "int64_t", "Offset", ",", "MachineModuleInfo", "*", "MMI", ",", "MCStreamer", "&", "Streamer", ")", "const", "{", "unsigned", "FinalOff", "=", "Offset", "+", "MV", ".", "getConstant", "(", ")", "+", "4", ";", "const", "MCExpr", "*", "Res", "=", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "MCSymbolRefExpr", "::", "VK_GOTPCREL", ",", "getContext", "(", ")", ")", ";", "const", "MCExpr", "*", "Off", "=", "MCConstantExpr", "::", "create", "(", "FinalOff", ",", "getContext", "(", ")", ")", ";", "return", "MCBinaryExpr", "::", "createAdd", "(", "Res", ",", "Off", ",", "getContext", "(", ")", ")", ";", "}", ""], "natrual_language": ["Get", "the", "target", "specific", "PC", "relative", "GOT", "entry", "relocation", "."], "TS_V_token": ["X86", "X86", "4"], "File": "X86TargetObjectFile16", "Func": "getIndirectSymViaGOTPCRel", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2782, "Length": 99, "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": 2783, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FastISel", "*", "X86TargetLowering", "::", "createFastISel", "(", "MachineFunction", "&", "mf", ",", "DenseMap", "<", "const", "Value", "*", ",", "unsigned", ">", "&", "vm", ",", "DenseMap", "<", "const", "BasicBlock", "*", ",", "MachineBasicBlock", "*", ">", "&", "bm", ",", "DenseMap", "<", "const", "AllocaInst", "*", ",", "int", ">", "&", "am", ",", "SmallSet", "<", "const", "Instruction", "*", ",", "8", ">", "&", "cil", ")", "{", "return", "X86", "::", "createFastISel", "(", "mf", ",", "vm", ",", "bm", ",", "am", ",", "cil", ")", ";", "}", ""], "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", "8", "X86::createFastISel"], "File": "X86ISelLowering21", "Func": "createFastISel", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2784, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "int", "addsubcosts", "(", "rtx", "x", ")", "{", "if", "(", "GET_MODE", "(", "x", ")", "==", "SImode", ")", "{", "rtx", "op0", "=", "XEXP", "(", "x", ",", "0", ")", ";", "rtx", "op1", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "{", "if", "(", "GET_CODE", "(", "op0", ")", "==", "AND", "&&", "XEXP", "(", "op0", ",", "1", ")", "==", "const1_rtx", "&&", "(", "GET_CODE", "(", "op1", ")", "==", "PLUS", "||", "(", "GET_CODE", "(", "op1", ")", "==", "MULT", "&&", "XEXP", "(", "op1", ",", "1", ")", "==", "const2_rtx", ")", ")", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "op0", ")", "==", "MULT", "&&", "XEXP", "(", "op0", ",", "1", ")", "==", "const2_rtx", "&&", "GET_CODE", "(", "op1", ")", "==", "LSHIFTRT", "&&", "CONST_INT_P", "(", "XEXP", "(", "op1", ",", "1", ")", ")", "&&", "INTVAL", "(", "XEXP", "(", "op1", ",", "1", ")", ")", "==", "31", ")", "return", "1", ";", "}", "if", "(", "treg_set_expr", "(", "op1", ",", "SImode", ")", ")", "return", "1", ";", "if", "(", "treg_set_expr", "(", "op0", ",", "SImode", ")", ")", "return", "1", ";", "}", "const", "int", "cost_scale", "=", "GET_MODE_SIZE", "(", "GET_MODE", "(", "x", ")", ")", ">", "UNITS_PER_WORD", "?", "2", ":", "1", ";", "if", "(", "REG_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", "||", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "SUBREG", ")", "return", "1", "*", "cost_scale", ";", "if", "(", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", "&&", "CONST_OK_FOR_ADD", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", ")", "return", "1", "*", "cost_scale", ";", "return", "3", "*", "cost_scale", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "an", "addition", "or", "a", "subtraction", "."], "TS_V_token": ["sh", "0", "1", "1", "1", "1", "1", "1", "1", "31", "1", "1", "1", "2", "1", "1", "1", "1", "1", "1", "1", "3"], "File": "sh", "Func": "addsubcosts", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2785, "Length": 256, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_const_not_ok_for_debug_p", "(", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "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": "rs60004", "Func": "rs6000_const_not_ok_for_debug_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2786, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "TOYRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["TOY", "TOY"], "File": "TOYTargetMachine", "Func": "getRegisterInfo", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2787, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LoongArchAsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "const", "{", "if", "(", "Count", "%", "4", "!=", "0", ")", "return", "false", ";", "for", "(", ";", "Count", ">=", "4", ";", "Count", "-=", "4", ")", "support", "::", "endian", "::", "write", "<", "uint32_t", ">", "(", "OS", ",", "0x03400000", ",", "support", "::", "little", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["LoongArch", "LoongArch", "4", "0", "4", "4", "support::endian", "0x03400000", "support::little"], "File": "LoongArchAsmBackend", "Func": "writeNopData", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2788, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "supported_simd_type", "(", "tree", "t", ")", "{", "if", "(", "SCALAR_FLOAT_TYPE_P", "(", "t", ")", "||", "INTEGRAL_TYPE_P", "(", "t", ")", "||", "POINTER_TYPE_P", "(", "t", ")", ")", "{", "HOST_WIDE_INT", "s", "=", "tree_to_shwi", "(", "TYPE_SIZE_UNIT", "(", "t", ")", ")", ";", "return", "s", "==", "1", "||", "s", "==", "2", "||", "s", "==", "4", "||", "s", "==", "8", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "for", "types", "that", "could", "be", "supported", "as", "SIMD", "return", "or", "argument", "types", "."], "TS_V_token": ["aarch64", "1", "2", "4", "8"], "File": "aarch64", "Func": "supported_simd_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2789, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "X86RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "X86Subtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "bool", "HasSSE", "=", "Subtarget", ".", "hasSSE1", "(", ")", ";", "bool", "HasAVX", "=", "Subtarget", ".", "hasAVX", "(", ")", ";", "bool", "HasAVX512", "=", "Subtarget", ".", "hasAVX512", "(", ")", ";", "bool", "CallsEHReturn", "=", "MF", "->", "getMMI", "(", ")", ".", "callsEHReturn", "(", ")", ";", "assert", "(", "MF", "&&", "\"MachineFunction required\"", ")", ";", "switch", "(", "MF", "->", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", ")", "{", "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", "::", "Cold", ":", "if", "(", "Is64Bit", ")", "return", "CSR_64_MostRegs_SaveList", ";", "break", ";", "case", "CallingConv", "::", "X86_64_Win64", ":", "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", "(", "HasAVX", ")", "return", "CSR_64_AllRegs_AVX_SaveList", ";", "else", "return", "CSR_64_AllRegs_SaveList", ";", "}", "else", "{", "if", "(", "HasSSE", ")", "return", "CSR_32_AllRegs_SSE_SaveList", ";", "else", "return", "CSR_32_AllRegs_SaveList", ";", "}", "default", ":", "break", ";", "}", "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", "\"MachineFunction required\"", "X86", "X86", "X86", "X86"], "File": "X86RegisterInfo12", "Func": "getCalleeSavedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2790, "Length": 346, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "getExpr", "(", ")", "const", "{", "assert", "(", "Kind", "==", "Expression", "&&", "\"Invalid access!\"", ")", ";", "return", "Expr", ".", "Val", ";", "}", ""], "natrual_language": ["Implementation", "of", "the", "SCEVPredicate", "interface", "."], "TS_V_token": ["PowerPC", "\"Invalid access!\""], "File": "PPCAsmParser (2)", "Func": "getExpr", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2791, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "isReallyTriviallyReMaterializable", "(", "const", "MachineInstr", "*", "MI", ",", "AliasAnalysis", "*", "AA", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "X86", "::", "MOV8rm", ":", "case", "X86", "::", "MOV16rm", ":", "case", "X86", "::", "MOV32rm", ":", "case", "X86", "::", "MOV64rm", ":", "case", "X86", "::", "LD_Fp64m", ":", "case", "X86", "::", "MOVSSrm", ":", "case", "X86", "::", "MOVSDrm", ":", "case", "X86", "::", "MOVAPSrm", ":", "case", "X86", "::", "MOVUPSrm", ":", "case", "X86", "::", "MOVAPDrm", ":", "case", "X86", "::", "MOVDQArm", ":", "case", "X86", "::", "VMOVSSrm", ":", "case", "X86", "::", "VMOVSDrm", ":", "case", "X86", "::", "VMOVAPSrm", ":", "case", "X86", "::", "VMOVUPSrm", ":", "case", "X86", "::", "VMOVAPDrm", ":", "case", "X86", "::", "VMOVDQArm", ":", "case", "X86", "::", "VMOVAPSYrm", ":", "case", "X86", "::", "VMOVUPSYrm", ":", "case", "X86", "::", "VMOVAPDYrm", ":", "case", "X86", "::", "VMOVDQAYrm", ":", "case", "X86", "::", "MMX_MOVD64rm", ":", "case", "X86", "::", "MMX_MOVQ64rm", ":", "case", "X86", "::", "FsVMOVAPSrm", ":", "case", "X86", "::", "FsVMOVAPDrm", ":", "case", "X86", "::", "FsMOVAPSrm", ":", "case", "X86", "::", "FsMOVAPDrm", ":", "{", "if", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", "&&", "MI", "->", "getOperand", "(", "3", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", "==", "0", "&&", "MI", "->", "isInvariantLoad", "(", "AA", ")", ")", "{", "unsigned", "BaseReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "if", "(", "BaseReg", "==", "0", "||", "BaseReg", "==", "X86", "::", "RIP", ")", "return", "true", ";", "if", "(", "!", "ReMatPICStubLoad", "&&", "MI", "->", "getOperand", "(", "4", ")", ".", "isGlobal", "(", ")", ")", "return", "false", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "return", "regIsPICBase", "(", "BaseReg", ",", "MRI", ")", ";", "}", "return", "false", ";", "}", "case", "X86", "::", "LEA32r", ":", "case", "X86", "::", "LEA64r", ":", "{", "if", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", "&&", "MI", "->", "getOperand", "(", "3", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", "==", "0", "&&", "!", "MI", "->", "getOperand", "(", "4", ")", ".", "isReg", "(", ")", ")", "{", "if", "(", "!", "MI", "->", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", ")", "return", "true", ";", "unsigned", "BaseReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "if", "(", "BaseReg", "==", "0", ")", "return", "true", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "return", "regIsPICBase", "(", "BaseReg", ",", "MRI", ")", ";", "}", "return", "false", ";", "}", "}", "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": ["X86", "X86", "X86::MOV8rm", "X86::MOV16rm", "X86::MOV32rm", "X86::MOV64rm", "X86::LD_Fp64m", "X86::MOVSSrm", "X86::MOVSDrm", "X86::MOVAPSrm", "X86::MOVUPSrm", "X86::MOVAPDrm", "X86::MOVDQArm", "X86::VMOVSSrm", "X86::VMOVSDrm", "X86::VMOVAPSrm", "X86::VMOVUPSrm", "X86::VMOVAPDrm", "X86::VMOVDQArm", "X86::VMOVAPSYrm", "X86::VMOVUPSYrm", "X86::VMOVAPDYrm", "X86::VMOVDQAYrm", "X86::MMX_MOVD64rm", "X86::MMX_MOVQ64rm", "X86::FsVMOVAPSrm", "X86::FsVMOVAPDrm", "X86::FsMOVAPSrm", "X86::FsMOVAPDrm", "1", "2", "3", "3", "0", "1", "0", "X86::RIP", "4", "X86::LEA32r", "X86::LEA64r", "2", "3", "3", "0", "4", "1", "1", "0"], "File": "X86InstrInfo120", "Func": "isReallyTriviallyReMaterializable", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2792, "Length": 455, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "InstrItineraryData", "*", "getInstrItineraryData", "(", ")", "const", "{", "return", "Subtarget", ".", "inMips16Mode", "(", ")", "?", "0", ":", "&", "InstrItins", ";", "}", ""], "natrual_language": ["getInstrItineraryData", "-", "Returns", "instruction", "itinerary", "data", "for", "the", "target", "or", "specific", "subtarget", "."], "TS_V_token": ["Mips", "Mips", "0"], "File": "MipsTargetMachine28", "Func": "getInstrItineraryData", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2793, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arm_expand_mve_builtin", "(", "int", "fcode", ",", "tree", "exp", ",", "rtx", "target", ")", "{", "if", "(", "fcode", ">=", "ARM_BUILTIN_MVE_BASE", "&&", "!", "TARGET_HAVE_MVE", ")", "{", "fatal_error", "(", "input_location", ",", "\"You must enable MVE instructions\"", "\" to use these intrinsics\"", ")", ";", "return", "const0_rtx", ";", "}", "arm_builtin_datum", "*", "d", "=", "&", "mve_builtin_data", "[", "fcode", "-", "ARM_BUILTIN_MVE_PATTERN_START", "]", ";", "return", "arm_expand_builtin_1", "(", "fcode", ",", "exp", ",", "target", ",", "d", ")", ";", "}", ""], "natrual_language": ["Expand", "an", "MVE", "builtin", ",", "i.e", ".", "those", "registered", "only", "if", "their", "respective", "target", "constraints", "are", "met", ".", "This", "check", "happens", "within", "arm_expand_builtin", "."], "TS_V_token": ["arm", "\"You must enable MVE instructions\"", "\" to use these intrinsics\""], "File": "arm-builtins", "Func": "arm_expand_mve_builtin", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2794, "Length": 61, "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": 2795, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FastISel", "::", "tryToFoldLoadIntoMI", "(", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "LoadInst", "*", "LI", ")", "{", "const", "Value", "*", "Ptr", "=", "LI", "->", "getPointerOperand", "(", ")", ";", "X86AddressMode", "AM", ";", "if", "(", "!", "X86SelectAddress", "(", "Ptr", ",", "AM", ")", ")", "return", "false", ";", "const", "X86InstrInfo", "&", "XII", "=", "(", "const", "X86InstrInfo", "&", ")", "TII", ";", "unsigned", "Size", "=", "DL", ".", "getTypeAllocSize", "(", "LI", "->", "getType", "(", ")", ")", ";", "unsigned", "Alignment", "=", "LI", "->", "getAlignment", "(", ")", ";", "if", "(", "Alignment", "==", "0", ")", "Alignment", "=", "DL", ".", "getABITypeAlignment", "(", "LI", "->", "getType", "(", ")", ")", ";", "SmallVector", "<", "MachineOperand", ",", "8", ">", "AddrOps", ";", "AM", ".", "getFullAddress", "(", "AddrOps", ")", ";", "MachineInstr", "*", "Result", "=", "XII", ".", "foldMemoryOperandImpl", "(", "*", "FuncInfo", ".", "MF", ",", "*", "MI", ",", "OpNo", ",", "AddrOps", ",", "FuncInfo", ".", "InsertPt", ",", "Size", ",", "Alignment", ",", "true", ")", ";", "if", "(", "!", "Result", ")", "return", "false", ";", "unsigned", "OperandNo", "=", "0", ";", "for", "(", "MachineInstr", "::", "mop_iterator", "I", "=", "Result", "->", "operands_begin", "(", ")", ",", "E", "=", "Result", "->", "operands_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ",", "++", "OperandNo", ")", "{", "MachineOperand", "&", "MO", "=", "*", "I", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", "||", "MO", ".", "isDef", "(", ")", "||", "MO", ".", "getReg", "(", ")", "!=", "AM", ".", "IndexReg", ")", "continue", ";", "unsigned", "IndexReg", "=", "constrainOperandRegClass", "(", "Result", "->", "getDesc", "(", ")", ",", "MO", ".", "getReg", "(", ")", ",", "OperandNo", ")", ";", "if", "(", "IndexReg", "==", "MO", ".", "getReg", "(", ")", ")", "continue", ";", "MO", ".", "setReg", "(", "IndexReg", ")", ";", "}", "Result", "->", "addMemOperand", "(", "*", "FuncInfo", ".", "MF", ",", "createMachineMemOperandFor", "(", "LI", ")", ")", ";", "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", "X86", "X86", "0", "8", "0"], "File": "X86FastISel10", "Func": "tryToFoldLoadIntoMI", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2796, "Length": 289, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "compute_zdepwi_operands", "(", "unsigned", "HOST_WIDE_INT", "imm", ",", "unsigned", "*", "op", ")", "{", "int", "lsb", ",", "len", ";", "for", "(", "lsb", "=", "0", ";", "lsb", "<", "32", ";", "lsb", "++", ")", "{", "if", "(", "(", "imm", "&", "1", ")", "!=", "0", ")", "break", ";", "imm", ">>=", "1", ";", "}", "if", "(", "(", "imm", "&", "0x10", ")", "==", "0", ")", "len", "=", "(", "lsb", "<=", "28", ")", "?", "4", ":", "32", "-", "lsb", ";", "else", "{", "for", "(", "len", "=", "5", ";", "len", "<", "32", "-", "lsb", ";", "len", "++", ")", "{", "if", "(", "(", "imm", "&", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "1", "<<", "len", ")", ")", "==", "0", ")", "break", ";", "}", "imm", "=", "(", "imm", "&", "0xf", ")", "-", "0x10", ";", "}", "op", "[", "0", "]", "=", "imm", ";", "op", "[", "1", "]", "=", "31", "-", "lsb", ";", "op", "[", "2", "]", "=", "len", ";", "}", ""], "natrual_language": ["Compute", "position", "(", "in", "OP", "[", "1", "]", ")", "and", "width", "(", "in", "OP", "[", "2", "]", ")", "useful", "for", "copying", "IMM", "to", "a", "register", "using", "the", "zdepi", "instructions", ".", "Store", "the", "immediate", "value", "to", "insert", "in", "OP", "[", "0", "]", "."], "TS_V_token": ["pa", "0", "32", "1", "0", "1", "0x10", "0", "28", "4", "32", "5", "32", "1", "0", "0xf", "0x10", "0", "1", "31", "2"], "File": "pa", "Func": "compute_zdepwi_operands", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2797, "Length": 147, "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", "(", "GET_CODE", "(", "x", ")", "!=", "CONST_INT", ")", "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": "arm3", "Func": "arm_output_ttype", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2798, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LC3TargetLowering", "::", "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", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", ".", "getRegInfo", "(", ")", ";", "assert", "(", "!", "isVarArg", "&&", "\"VarArg not supported\"", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "CC_LC3", ")", ";", "for", "(", "auto", "&", "VA", ":", "ArgLocs", ")", "{", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "EVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "assert", "(", "RegVT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", "==", "MVT", "::", "i16", "&&", "\"Only support MVT::i16 register passing\"", ")", ";", "const", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "LC3", "::", "GRRegsRegClass", ")", ";", "RegInfo", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "VReg", ")", ";", "SDValue", "ArgIn", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VReg", ",", "RegVT", ")", ";", "InVals", ".", "push_back", "(", "ArgIn", ")", ";", "continue", ";", "}", "assert", "(", "VA", ".", "isMemLoc", "(", ")", "&&", "\"Can only pass arguments as either registers or via the stack\"", ")", ";", "const", "unsigned", "Offset", "=", "VA", ".", "getLocMemOffset", "(", ")", ";", "const", "int", "FI", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "CreateFixedObject", "(", "4", ",", "Offset", ",", "true", ")", ";", "EVT", "PtrTy", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";", "SDValue", "FIPtr", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "PtrTy", ")", ";", "assert", "(", "VA", ".", "getValVT", "(", ")", "==", "MVT", "::", "i16", "&&", "\"Only support passing arguments as i16\"", ")", ";", "SDValue", "Load", "=", "DAG", ".", "getLoad", "(", "VA", ".", "getValVT", "(", ")", ",", "dl", ",", "Chain", ",", "FIPtr", ",", "MachinePointerInfo", "(", ")", ",", "false", ",", "false", ",", "false", ",", "0", ")", ";", "InVals", ".", "push_back", "(", "Load", ")", ";", "}", "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": ["LC3", "LC3", "ISD::InputArg", "\"VarArg not supported\"", "16", "LC3", "MVT::i16", "\"Only support MVT::i16 register passing\"", "LC3::GRRegsRegClass", "\"Can only pass arguments as either registers or via the stack\"", "4", "MVT::i16", "\"Only support passing arguments as i16\"", "0"], "File": "LC3ISelLowering", "Func": "LowerFormalArguments", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2799, "Length": 330, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "thumb1_extra_regs_pushed", "(", "arm_stack_offsets", "*", "offsets", ",", "bool", "for_prologue", ")", "{", "HOST_WIDE_INT", "amount", ";", "unsigned", "long", "live_regs_mask", "=", "offsets", "->", "saved_regs_mask", ";", "unsigned", "long", "l_mask", "=", "live_regs_mask", "&", "(", "for_prologue", "?", "0x40ff", ":", "0xff", ")", ";", "unsigned", "long", "high_regs_pushed", "=", "bit_count", "(", "live_regs_mask", "&", "0x0f00", ")", ";", "int", "n_free", ",", "reg_base", ",", "size", ";", "if", "(", "!", "for_prologue", "&&", "frame_pointer_needed", ")", "amount", "=", "offsets", "->", "locals_base", "-", "offsets", "->", "saved_regs", ";", "else", "amount", "=", "offsets", "->", "outgoing_args", "-", "offsets", "->", "saved_regs", ";", "if", "(", "!", "optimize_size", "&&", "amount", "!=", "512", ")", "return", "0", ";", "if", "(", "high_regs_pushed", "!=", "0", ")", "return", "0", ";", "if", "(", "l_mask", "==", "0", "&&", "(", "for_prologue", "||", "TARGET_BACKTRACE", "||", "(", "live_regs_mask", "&", "1", "<<", "LR_REGNUM", ")", "==", "0", "||", "TARGET_INTERWORK", "||", "crtl", "->", "args", ".", "pretend_args_size", "!=", "0", ")", ")", "return", "0", ";", "if", "(", "for_prologue", "&&", "(", "(", "flag_pic", "&&", "arm_pic_register", "!=", "INVALID_REGNUM", ")", "||", "(", "!", "frame_pointer_needed", "&&", "CALLER_INTERWORKING_SLOT_SIZE", ">", "0", ")", ")", ")", "return", "0", ";", "reg_base", "=", "0", ";", "n_free", "=", "0", ";", "if", "(", "!", "for_prologue", ")", "{", "size", "=", "arm_size_return_regs", "(", ")", ";", "reg_base", "=", "ARM_NUM_INTS", "(", "size", ")", ";", "live_regs_mask", ">>=", "reg_base", ";", "}", "while", "(", "reg_base", "+", "n_free", "<", "8", "&&", "!", "(", "live_regs_mask", "&", "1", ")", "&&", "(", "for_prologue", "||", "call_used_or_fixed_reg_p", "(", "reg_base", "+", "n_free", ")", ")", ")", "{", "live_regs_mask", ">>=", "1", ";", "n_free", "++", ";", "}", "if", "(", "n_free", "==", "0", ")", "return", "0", ";", "gcc_assert", "(", "amount", "/", "4", "*", "4", "==", "amount", ")", ";", "if", "(", "amount", ">=", "512", "&&", "(", "amount", "-", "n_free", "*", "4", ")", "<", "512", ")", "return", "(", "amount", "-", "508", ")", "/", "4", ";", "if", "(", "amount", "<=", "n_free", "*", "4", ")", "return", "amount", "/", "4", ";", "return", "0", ";", "}", ""], "natrual_language": ["Given", "the", "stack", "offsets", "and", "register", "mask", "in", "OFFSETS", ",", "decide", "how", "many", "additional", "registers", "to", "push", "instead", "of", "subtracting", "a", "constant", "from", "SP", ".", "For", "epilogues", "the", "principle", "is", "the", "same", "except", "we", "use", "pop", ".", "FOR_PROLOGUE", "indicates", "which", "we", "'re", "generating", "."], "TS_V_token": ["arm", "0x40ff", "0xff", "0x0f00", "512", "0", "0", "0", "0", "1", "0", "0", "0", "0", "0", "0", "0", "8", "1", "1", "0", "0", "4", "4", "512", "4", "512", "508", "4", "4", "4", "0"], "File": "arm", "Func": "thumb1_extra_regs_pushed", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2800, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseTargetMachine", "::", "addPreSched2", "(", "PassManagerBase", "&", "PM", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "!", "Subtarget", ".", "isThumb1Only", "(", ")", ")", "PM", ".", "add", "(", "createARMLoadStoreOptimizationPass", "(", ")", ")", ";", "if", "(", "Subtarget", ".", "hasNEON", "(", ")", ")", "PM", ".", "add", "(", "createExecutionDependencyFixPass", "(", "&", "ARM", "::", "DPRRegClass", ")", ")", ";", "}", "PM", ".", "add", "(", "createARMExpandPseudoPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "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": "ARMTargetMachine61", "Func": "addPreSched2", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2801, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "load_got_register", "(", "void", ")", "{", "rtx", "insn", ";", "if", "(", "TARGET_VXWORKS_RTP", ")", "{", "if", "(", "!", "got_register_rtx", ")", "got_register_rtx", "=", "pic_offset_table_rtx", ";", "insn", "=", "gen_vxworks_load_got", "(", ")", ";", "}", "else", "{", "if", "(", "!", "got_register_rtx", ")", "got_register_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "GLOBAL_OFFSET_TABLE_REGNUM", ")", ";", "if", "(", "!", "got_helper_rtx", ")", "{", "char", "name", "[", "32", "]", ";", "if", "(", "USE_HIDDEN_LINKONCE", ")", "sprintf", "(", "name", ",", "\"__sparc_get_pc_thunk.%s\"", ",", "reg_names", "[", "REGNO", "(", "got_register_rtx", ")", "]", "+", "1", ")", ";", "else", "ASM_GENERATE_INTERNAL_LABEL", "(", "name", ",", "\"LADDPC\"", ",", "REGNO", "(", "got_register_rtx", ")", ")", ";", "got_helper_rtx", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "ggc_strdup", "(", "name", ")", ")", ";", "}", "const", "int", "orig_flag_pic", "=", "flag_pic", ";", "flag_pic", "=", "0", ";", "insn", "=", "gen_load_pcrel_sym", "(", "Pmode", ",", "got_register_rtx", ",", "sparc_got", "(", ")", ",", "got_helper_rtx", ",", "GEN_INT", "(", "GLOBAL_OFFSET_TABLE_REGNUM", ")", ")", ";", "flag_pic", "=", "orig_flag_pic", ";", "}", "emit_insn", "(", "insn", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "load", "the", "GOT", "register", "."], "TS_V_token": ["sparc", "32", "\"__sparc_get_pc_thunk.%s\"", "1", "\"LADDPC\"", "0"], "File": "sparc", "Func": "load_got_register", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2802, "Length": 146, "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": 2803, "Length": 321, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmPrinter", "::", "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": ["Mips", "Mips", "0"], "File": "MipsAsmPrinter100", "Func": "PrintAsmOperand", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2804, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_pragma_target_parse", "(", "tree", "args", ",", "tree", "pop_target", ")", "{", "tree", "prev_tree", "=", "build_target_option_node", "(", "&", "global_options", ",", "&", "global_options_set", ")", ";", "tree", "cur_tree", ";", "struct", "cl_target_option", "*", "prev_opt", ",", "*", "cur_opt", ";", "HOST_WIDE_INT", "prev_flags", ",", "cur_flags", ",", "diff_flags", ";", "HOST_WIDE_INT", "prev_bumask", ",", "cur_bumask", ",", "diff_bumask", ";", "if", "(", "TARGET_DEBUG_TARGET", ")", "{", "fprintf", "(", "stderr", ",", "\"\\n==================== rs6000_pragma_target_parse\\n\"", ")", ";", "fprintf", "(", "stderr", ",", "\"args:\"", ")", ";", "rs6000_debug_target_options", "(", "args", ",", "\" \"", ")", ";", "fprintf", "(", "stderr", ",", "\"\\n\"", ")", ";", "if", "(", "pop_target", ")", "{", "fprintf", "(", "stderr", ",", "\"pop_target:\\n\"", ")", ";", "debug_tree", "(", "pop_target", ")", ";", "}", "else", "fprintf", "(", "stderr", ",", "\"pop_target: \\n\"", ")", ";", "fprintf", "(", "stderr", ",", "\"--------------------\\n\"", ")", ";", "}", "if", "(", "!", "args", ")", "{", "cur_tree", "=", "(", "(", "pop_target", ")", "?", "pop_target", ":", "target_option_default_node", ")", ";", "cl_target_option_restore", "(", "&", "global_options", ",", "&", "global_options_set", ",", "TREE_TARGET_OPTION", "(", "cur_tree", ")", ")", ";", "}", "else", "{", "rs6000_cpu_index", "=", "rs6000_tune_index", "=", "-", "1", ";", "if", "(", "!", "rs6000_inner_target_options", "(", "args", ",", "false", ")", "||", "!", "rs6000_option_override_internal", "(", "false", ")", "||", "(", "cur_tree", "=", "build_target_option_node", "(", "&", "global_options", ",", "&", "global_options_set", ")", ")", "==", "NULL_TREE", ")", "{", "if", "(", "TARGET_DEBUG_BUILTIN", "||", "TARGET_DEBUG_TARGET", ")", "fprintf", "(", "stderr", ",", "\"invalid pragma\\n\"", ")", ";", "return", "false", ";", "}", "}", "target_option_current_node", "=", "cur_tree", ";", "rs6000_activate_target_options", "(", "target_option_current_node", ")", ";", "if", "(", "rs6000_target_modify_macros_ptr", ")", "{", "prev_opt", "=", "TREE_TARGET_OPTION", "(", "prev_tree", ")", ";", "prev_bumask", "=", "prev_opt", "->", "x_rs6000_builtin_mask", ";", "prev_flags", "=", "prev_opt", "->", "x_rs6000_isa_flags", ";", "cur_opt", "=", "TREE_TARGET_OPTION", "(", "cur_tree", ")", ";", "cur_flags", "=", "cur_opt", "->", "x_rs6000_isa_flags", ";", "cur_bumask", "=", "cur_opt", "->", "x_rs6000_builtin_mask", ";", "diff_bumask", "=", "(", "prev_bumask", "^", "cur_bumask", ")", ";", "diff_flags", "=", "(", "prev_flags", "^", "cur_flags", ")", ";", "if", "(", "(", "diff_flags", "!=", "0", ")", "||", "(", "diff_bumask", "!=", "0", ")", ")", "{", "rs6000_target_modify_macros_ptr", "(", "false", ",", "prev_flags", "&", "diff_flags", ",", "prev_bumask", "&", "diff_bumask", ")", ";", "rs6000_target_modify_macros_ptr", "(", "true", ",", "cur_flags", "&", "diff_flags", ",", "cur_bumask", "&", "diff_bumask", ")", ";", "}", "}", "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": ["rs6000", "\"\\n==================== rs6000_pragma_target_parse\\n\"", "\"args:\"", "\" \"", "\"\\n\"", "\"pop_target:\\n\"", "\"pop_target: \\n\"", "\"--------------------\\n\"", "1", "\"invalid pragma\\n\"", "0", "0"], "File": "rs6000", "Func": "rs6000_pragma_target_parse", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2805, "Length": 321, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FPGATTIImpl", "::", "isSourceOfDivergence", "(", "const", "Value", "*", "V", ")", "{", "if", "(", "const", "Argument", "*", "Arg", "=", "dyn_cast", "<", "Argument", ">", "(", "V", ")", ")", "return", "!", "IsKernelFunction", "(", "*", "Arg", "->", "getParent", "(", ")", ")", ";", "if", "(", "const", "Instruction", "*", "I", "=", "dyn_cast", "<", "Instruction", ">", "(", "V", ")", ")", "{", "if", "(", "const", "LoadInst", "*", "LI", "=", "dyn_cast", "<", "LoadInst", ">", "(", "I", ")", ")", "{", "unsigned", "AS", "=", "LI", "->", "getPointerAddressSpace", "(", ")", ";", "return", "AS", "==", "0", ";", "}", "if", "(", "const", "AllocaInst", "*", "AI", "=", "dyn_cast", "<", "AllocaInst", ">", "(", "I", ")", ")", "{", "unsigned", "AS", "=", "AI", "->", "getType", "(", ")", "->", "getPointerAddressSpace", "(", ")", ";", "return", "AS", "==", "0", ";", "}", "if", "(", "I", "->", "isAtomic", "(", ")", ")", "return", "true", ";", "if", "(", "const", "IntrinsicInst", "*", "II", "=", "dyn_cast", "<", "IntrinsicInst", ">", "(", "I", ")", ")", "{", "if", "(", "readsLocalId", "(", "II", ")", ")", "return", "true", ";", "if", "(", "readWorkgroupInvariant", "(", "II", ")", ")", "return", "false", ";", "if", "(", "isPureFunction", "(", "II", ")", ")", "return", "false", ";", "}", "if", "(", "isa", "<", "CallInst", ">", "(", "I", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "whether", "V", "is", "a", "source", "of", "divergence", "."], "TS_V_token": ["FPGA", "FPGA", "0", "0"], "File": "FPGATargetTransformInfo", "Func": "isSourceOfDivergence", "Target": "FPGA", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2806, "Length": 196, "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": "sh6", "Func": "sh_fix_range", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2807, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "*", "getAdjustedAnalysisPointer", "(", "const", "void", "*", "ID", ")", "{", "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": "X86TargetTransformInfo113", "Func": "getAdjustedAnalysisPointer", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2808, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isLegalAddressingMode", "(", "const", "AddrMode", "&", "AM", ",", "const", "Type", "*", "Ty", ")", "const", "{", "CodeModel", "::", "Model", "M", "=", "getTargetMachine", "(", ")", ".", "getCodeModel", "(", ")", ";", "Reloc", "::", "Model", "R", "=", "getTargetMachine", "(", ")", ".", "getRelocationModel", "(", ")", ";", "if", "(", "!", "X86", "::", "isOffsetSuitableForCodeModel", "(", "AM", ".", "BaseOffs", ",", "M", ",", "AM", ".", "BaseGV", "!=", "NULL", ")", ")", "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": "X86ISelLowering170", "Func": "isLegalAddressingMode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2809, "Length": 205, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pru_insert_attributes", "(", "tree", "node", ",", "tree", "*", "attributes", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "VAR_P", "(", "node", ")", ")", "{", "const", "char", "*", "name", "=", "DECL_NAME", "(", "node", ")", "?", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "node", ")", ")", ":", "\"\"", ";", "tree", "typ", "=", "TREE_TYPE", "(", "node", ")", ";", "addr_space_t", "as", "=", "TYPE_ADDR_SPACE", "(", "typ", ")", ";", "if", "(", "as", "==", "ADDR_SPACE_GENERIC", ")", "return", ";", "if", "(", "AGGREGATE_TYPE_P", "(", "typ", ")", ")", "{", "error", "(", "\"aggregate types are prohibited in \"", "\"%<__regio_symbol%> address space\"", ")", ";", "return", ";", "}", "if", "(", "DECL_INITIAL", "(", "node", ")", "!=", "NULL_TREE", ")", "error", "(", "\"variables in %<__regio_symbol%> address space \"", "\"cannot have initial value\"", ")", ";", "if", "(", "DECL_REGISTER", "(", "node", ")", ")", "error", "(", "\"variables in %<__regio_symbol%> address space \"", "\"cannot be declared %\"", ")", ";", "if", "(", "!", "TYPE_VOLATILE", "(", "typ", ")", ")", "error", "(", "\"variables in %<__regio_symbol%> address space \"", "\"must be declared %\"", ")", ";", "if", "(", "!", "DECL_EXTERNAL", "(", "node", ")", ")", "error", "(", "\"variables in %<__regio_symbol%> address space \"", "\"must be declared %\"", ")", ";", "if", "(", "TYPE_MODE", "(", "typ", ")", "!=", "SImode", ")", "error", "(", "\"only 32-bit access is supported \"", "\"for %<__regio_symbol%> address space\"", ")", ";", "if", "(", "strcmp", "(", "name", ",", "\"__R30\"", ")", "!=", "0", "&&", "strcmp", "(", "name", ",", "\"__R31\"", ")", "!=", "0", ")", "error", "(", "\"register name %<%s%> not recognized \"", "\"in %<__regio_symbol%> address space\"", ",", "name", ")", ";", "}", "tree", "typ", "=", "NULL_TREE", ";", "switch", "(", "TREE_CODE", "(", "node", ")", ")", "{", "case", "FUNCTION_DECL", ":", "typ", "=", "TREE_TYPE", "(", "TREE_TYPE", "(", "node", ")", ")", ";", "break", ";", "case", "TYPE_DECL", ":", "case", "RESULT_DECL", ":", "case", "VAR_DECL", ":", "case", "FIELD_DECL", ":", "case", "PARM_DECL", ":", "typ", "=", "TREE_TYPE", "(", "node", ")", ";", "break", ";", "case", "POINTER_TYPE", ":", "typ", "=", "node", ";", "break", ";", "default", ":", "break", ";", "}", "if", "(", "typ", "!=", "NULL_TREE", "&&", "pru_nongeneric_pointer_addrspace", "(", "typ", ")", ")", "error", "(", "\"pointers to %<__regio_symbol%> address space are prohibited\"", ")", ";", "}", ""], "natrual_language": ["Implement", "`", "TARGET_INSERT_ATTRIBUTES", "'", ".", "For", "PRU", "it", "'s", "used", "as", "a", "hook", "to", "provide", "better", "diagnostics", "for", "some", "invalid", "usages", "of", "the", "__regio_symbol", "address", "space", ".", "Any", "escapes", "of", "the", "following", "checks", "are", "supposed", "to", "be", "caught", "during", "the", "``", "mov", "<", "mode", ">", "''", "pattern", "expansion", "."], "TS_V_token": ["pru", "\"\"", "\"aggregate types are prohibited in \"", "\"%<__regio_symbol%> address space\"", "\"variables in %<__regio_symbol%> address space \"", "\"cannot have initial value\"", "\"variables in %<__regio_symbol%> address space \"", "\"cannot be declared %\"", "\"variables in %<__regio_symbol%> address space \"", "\"must be declared %\"", "\"variables in %<__regio_symbol%> address space \"", "\"must be declared %\"", "\"only 32-bit access is supported \"", "\"for %<__regio_symbol%> address space\"", "\"__R30\"", "0", "\"__R31\"", "0", "\"register name %<%s%> not recognized \"", "\"in %<__regio_symbol%> address space\"", "\"pointers to %<__regio_symbol%> address space are prohibited\""], "File": "pru", "Func": "pru_insert_attributes", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2810, "Length": 265, "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": 2811, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isZExtFree", "(", "const", "Type", "*", "Ty1", ",", "const", "Type", "*", "Ty2", ")", "const", "{", "return", "Ty1", "->", "isIntegerTy", "(", "32", ")", "&&", "Ty2", "->", "isIntegerTy", "(", "64", ")", "&&", "Subtarget", "->", "is64Bit", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "zero-extending", "the", "specific", "node", "Val", "to", "type", "VT2", "is", "free", "(", "either", "because", "it", "'s", "implicitly", "zero-extended", "such", "as", "ARM", "ldrb", "/", "ldrh", "or", "because", "it", "'s", "folded", "such", "as", "X86", "zero-extending", "loads", ")", "."], "TS_V_token": ["X86", "X86", "32", "64"], "File": "X86ISelLowering144", "Func": "isZExtFree", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2812, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "write_autogenerated_header", "(", "FILE", "*", "file", ")", "{", "fprintf", "(", "file", ",", "\"/* Automatically generated by the program '%s'\\n\"", ",", "pgm_path", ")", ";", "fprintf", "(", "file", ",", "\" from the files '%s' and '%s'. */\\n\\n\"", ",", "bif_path", ",", "ovld_path", ")", ";", "}", ""], "natrual_language": ["Write", "a", "comment", "at", "the", "top", "of", "FILE", "about", "how", "the", "code", "was", "generated", "."], "TS_V_token": ["rs6000", "\"/* Automatically generated by the program '%s'\\n\"", "\" from the files '%s' and '%s'. */\\n\\n\""], "File": "rs6000-gen-builtins", "Func": "write_autogenerated_header", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2813, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPreAllocLoadStoreOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "if", "(", "AssumeMisalignedLoadStores", ")", "return", "false", ";", "TD", "=", "&", "Fn", ".", "getDataLayout", "(", ")", ";", "STI", "=", "&", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "Fn", ".", "getSubtarget", "(", ")", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "STI", "->", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "Fn", ".", "getRegInfo", "(", ")", ";", "MF", "=", "&", "Fn", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MFI", ":", "Fn", ")", "Modified", "|=", "RescheduleLoadStoreInstrs", "(", "&", "MFI", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMLoadStoreOptimizer9", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2814, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "*", "ARMBaseInstrInfo", "::", "CreateTargetHazardRecognizer", "(", "const", "TargetSubtargetInfo", "*", "STI", ",", "const", "ScheduleDAG", "*", "DAG", ")", "const", "{", "if", "(", "usePreRAHazardRecognizer", "(", ")", ")", "{", "const", "InstrItineraryData", "*", "II", "=", "&", "static_cast", "<", "const", "ARMSubtarget", "*", ">", "(", "STI", ")", "->", "getInstrItineraryData", "(", ")", ";", "return", "new", "ScoreboardHazardRecognizer", "(", "II", ",", "DAG", ",", "\"pre-RA-sched\"", ")", ";", "}", "return", "TargetInstrInfo", "::", "CreateTargetHazardRecognizer", "(", "STI", ",", "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": ["ARM", "ARM", "ARM", "\"pre-RA-sched\""], "File": "ARMBaseInstrInfo55", "Func": "CreateTargetHazardRecognizer", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2815, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseInstrInfo", "::", "reMaterialize", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "unsigned", "SubIdx", ",", "const", "MachineInstr", "*", "Orig", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "SubIdx", "&&", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "DestReg", ")", ")", "{", "DestReg", "=", "TRI", "->", "getSubReg", "(", "DestReg", ",", "SubIdx", ")", ";", "SubIdx", "=", "0", ";", "}", "unsigned", "Opcode", "=", "Orig", "->", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "{", "MachineInstr", "*", "MI", "=", "MBB", ".", "getParent", "(", ")", "->", "CloneMachineInstr", "(", "Orig", ")", ";", "MI", "->", "getOperand", "(", "0", ")", ".", "setReg", "(", "DestReg", ")", ";", "MBB", ".", "insert", "(", "I", ",", "MI", ")", ";", "break", ";", "}", "case", "ARM", "::", "tLDRpci_pic", ":", "case", "ARM", "::", "t2LDRpci_pic", ":", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "unsigned", "CPI", "=", "Orig", "->", "getOperand", "(", "1", ")", ".", "getIndex", "(", ")", ";", "unsigned", "PCLabelId", "=", "duplicateCPV", "(", "MF", ",", "CPI", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "I", ",", "Orig", "->", "getDebugLoc", "(", ")", ",", "get", "(", "Opcode", ")", ",", "DestReg", ")", ".", "addConstantPoolIndex", "(", "CPI", ")", ".", "addImm", "(", "PCLabelId", ")", ";", "(", "*", "MIB", ")", ".", "setMemRefs", "(", "Orig", "->", "memoperands_begin", "(", ")", ",", "Orig", "->", "memoperands_end", "(", ")", ")", ";", "break", ";", "}", "}", "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": ["ARM", "ARM", "0", "0", "ARM::tLDRpci_pic", "ARM::t2LDRpci_pic", "1", "0"], "File": "ARMBaseInstrInfo114", "Func": "reMaterialize", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2816, "Length": 241, "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", "=", "(", "GET_CODE", "(", "bytes_rtx", ")", "==", "CONST_INT", ")", ";", "HOST_WIDE_INT", "align", ";", "HOST_WIDE_INT", "bytes", ";", "int", "offset", ";", "int", "clear_bytes", ";", "int", "clear_step", ";", "if", "(", "!", "constp", ")", "return", "0", ";", "gcc_assert", "(", "GET_CODE", "(", "align_rtx", ")", "==", "CONST_INT", ")", ";", "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", ";", "for", "(", "offset", "=", "0", ";", "bytes", ">", "0", ";", "offset", "+=", "clear_bytes", ",", "bytes", "-=", "clear_bytes", ")", "{", "machine_mode", "mode", "=", "BLKmode", ";", "rtx", "dest", ";", "if", "(", "bytes", ">=", "16", "&&", "TARGET_ALTIVEC", "&&", "(", "align", ">=", "128", "||", "TARGET_EFFICIENT_UNALIGNED_VSX", ")", ")", "{", "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", ")", "&&", "GET_CODE", "(", "XEXP", "(", "addr", ",", "1", ")", ")", "==", "CONST_INT", "&&", "(", "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", "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-string2", "Func": "expand_block_clear", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2817, "Length": 427, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "easy_altivec_constant", "(", "rtx", "op", ",", "machine_mode", "mode", ")", "{", "unsigned", "step", ",", "copies", ";", "if", "(", "mode", "==", "VOIDmode", ")", "mode", "=", "GET_MODE", "(", "op", ")", ";", "else", "if", "(", "mode", "!=", "GET_MODE", "(", "op", ")", ")", "return", "0", ";", "if", "(", "mode", "==", "V2DFmode", ")", "return", "zero_constant", "(", "op", ",", "mode", ")", "?", "8", ":", "0", ";", "else", "if", "(", "mode", "==", "V2DImode", ")", "{", "if", "(", "!", "CONST_INT_P", "(", "CONST_VECTOR_ELT", "(", "op", ",", "0", ")", ")", "||", "!", "CONST_INT_P", "(", "CONST_VECTOR_ELT", "(", "op", ",", "1", ")", ")", ")", "return", "0", ";", "if", "(", "zero_constant", "(", "op", ",", "mode", ")", ")", "return", "8", ";", "if", "(", "INTVAL", "(", "CONST_VECTOR_ELT", "(", "op", ",", "0", ")", ")", "==", "-", "1", "&&", "INTVAL", "(", "CONST_VECTOR_ELT", "(", "op", ",", "1", ")", ")", "==", "-", "1", ")", "return", "8", ";", "return", "0", ";", "}", "else", "if", "(", "mode", "==", "V1TImode", ")", "return", "0", ";", "step", "=", "GET_MODE_NUNITS", "(", "mode", ")", "/", "4", ";", "copies", "=", "1", ";", "if", "(", "vspltis_constant", "(", "op", ",", "step", ",", "copies", ")", ")", "return", "4", ";", "if", "(", "step", "==", "1", ")", "copies", "<<=", "1", ";", "else", "step", ">>=", "1", ";", "if", "(", "vspltis_constant", "(", "op", ",", "step", ",", "copies", ")", ")", "return", "2", ";", "if", "(", "step", "==", "1", ")", "copies", "<<=", "1", ";", "else", "step", ">>=", "1", ";", "if", "(", "vspltis_constant", "(", "op", ",", "step", ",", "copies", ")", ")", "return", "1", ";", "if", "(", "vspltis_shifted", "(", "op", ")", "!=", "0", ")", "return", "GET_MODE_SIZE", "(", "GET_MODE_INNER", "(", "mode", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "is", "of", "the", "given", "MODE", "and", "can", "be", "synthesized", "with", "a", "vspltisb", ",", "vspltish", "or", "vspltisw", "."], "TS_V_token": ["rs6000", "0", "8", "0", "0", "1", "0", "8", "0", "1", "1", "1", "8", "0", "0", "4", "1", "4", "1", "1", "1", "2", "1", "1", "1", "1", "0", "0"], "File": "rs6000", "Func": "easy_altivec_constant", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2818, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "or1k_function_arg", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "if", "(", "arg", ".", "end_marker_p", "(", ")", ")", "return", "NULL_RTX", ";", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "int", "nreg", "=", "CEIL", "(", "GET_MODE_SIZE", "(", "arg", ".", "mode", ")", ",", "UNITS_PER_WORD", ")", ";", "gcc_assert", "(", "nreg", "<=", "2", ")", ";", "if", "(", "arg", ".", "named", "&&", "*", "cum", "+", "nreg", "<=", "6", ")", "return", "gen_rtx_REG", "(", "arg", ".", "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": "or1k", "Func": "or1k_function_arg", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2819, "Length": 86, "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", ")", ")", "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", ",", "&", "global_options_set", ",", "TREE_TARGET_OPTION", "(", "pop_target", ")", ")", ";", "}", "target_option_current_node", "=", "build_target_option_node", "(", "&", "global_options", ",", "&", "global_options_set", ")", ";", "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", ";", "cpp_force_token_locations", "(", "parse_in", ",", "BUILTINS_LOCATION", ")", ";", "aarch64_update_cpp_builtins", "(", "parse_in", ")", ";", "cpp_stop_forcing_token_locations", "(", "parse_in", ")", ";", "cpp_opts", "->", "warn_unused_macros", "=", "saved_warn_unused_macros", ";", "if", "(", "pop_target", ")", "aarch64_save_restore_target_globals", "(", "pop_target", ")", ";", "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", "0"], "File": "aarch64-c1", "Func": "aarch64_pragma_target_parse", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2820, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 speculative load hardening\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 speculative load hardening\""], "File": "X86SpeculativeLoadHardening", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2821, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcTargetMachine", "::", "SparcTargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "is64bit", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "is64bit", ")", ",", "DataLayout", "(", "Subtarget", ".", "getDataLayout", "(", ")", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "InstrInfo", "(", "Subtarget", ")", ",", "FrameLowering", "(", "Subtarget", ")", "{", "}", ""], "natrual_language": ["Create", "an", "ILP32", "architecture", "model", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc"], "File": "SparcTargetMachine47", "Func": "SparcTargetMachine", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2822, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TargetLowering", "::", "getJumpTableEncoding", "(", ")", "const", "{", "if", "(", "getTargetMachine", "(", ")", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", "&&", "Subtarget", ".", "isPICStyleGOT", "(", ")", ")", "return", "MachineJumpTableInfo", "::", "EK_Custom32", ";", "return", "TargetLowering", "::", "getJumpTableEncoding", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "entry", "encoding", "for", "a", "jump", "table", "in", "the", "current", "function", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering148", "Func": "getJumpTableEncoding", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2823, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_memory_load_p", "(", "rtx", "insn", ")", "{", "rtx", "body", ",", "lhs", ",", "rhs", ";", ";", "if", "(", "insn", "==", "NULL_RTX", "||", "GET_CODE", "(", "insn", ")", "!=", "INSN", ")", "return", "false", ";", "body", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "body", ")", "!=", "SET", ")", "return", "false", ";", "lhs", "=", "XEXP", "(", "body", ",", "0", ")", ";", "rhs", "=", "XEXP", "(", "body", ",", "1", ")", ";", "lhs", "=", "REG_OR_SUBREG_RTX", "(", "lhs", ")", ";", "if", "(", "GET_CODE", "(", "lhs", ")", "!=", "REG", "||", "REGNO_REG_CLASS", "(", "REGNO", "(", "lhs", ")", ")", "!=", "GENERAL_REGS", ")", "return", "false", ";", "return", "(", "GET_CODE", "(", "rhs", ")", "==", "MEM", "||", "GET_CODE", "(", "rhs", ")", "==", "SYMBOL_REF", "||", "note_invalid_constants", "(", "insn", ",", "-", "1", ",", "false", ")", ")", ";", "}", ""], "natrual_language": ["Returns", "TRUE", "if", "INSN", "is", "an", "``", "LDR", "REG", ",", "ADDR", "''", "instruction", ".", "Use", "by", "the", "Cirrus", "Maverick", "code", "which", "has", "to", "workaround", "a", "hardware", "bug", "triggered", "by", "such", "instructions", "."], "TS_V_token": ["arm", "0", "1", "1"], "File": "arm3", "Func": "arm_memory_load_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2824, "Length": 126, "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", "||", "constant_pool_empty_p", "(", ")", ":", "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"], "File": "rs60006", "Func": "rs6000_can_eliminate", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2825, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "xstormy16_build_va_list", "(", ")", "{", "tree", "f_1", ",", "f_2", ",", "record", ",", "type_decl", ";", "record", "=", "make_lang_type", "(", "RECORD_TYPE", ")", ";", "type_decl", "=", "build_decl", "(", "TYPE_DECL", ",", "get_identifier", "(", "\"__va_list_tag\"", ")", ",", "record", ")", ";", "f_1", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"base\"", ")", ",", "ptr_type_node", ")", ";", "f_2", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"count\"", ")", ",", "unsigned_type_node", ")", ";", "DECL_FIELD_CONTEXT", "(", "f_1", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_2", ")", "=", "record", ";", "TREE_CHAIN", "(", "record", ")", "=", "type_decl", ";", "TYPE_NAME", "(", "record", ")", "=", "type_decl", ";", "TYPE_FIELDS", "(", "record", ")", "=", "f_1", ";", "TREE_CHAIN", "(", "f_1", ")", "=", "f_2", ";", "layout_type", "(", "record", ")", ";", "return", "record", ";", "}", ""], "natrual_language": ["Build", "the", "va_list", "type", ".", "For", "this", "chip", ",", "va_list", "is", "a", "record", "containing", "a", "counter", "and", "a", "pointer", ".", "The", "counter", "is", "of", "type", "'int", "'", "and", "indicates", "how", "many", "bytes", "have", "been", "used", "to", "date", ".", "The", "pointer", "indicates", "the", "stack", "position", "for", "arguments", "that", "have", "not", "been", "passed", "in", "registers", ".", "To", "keep", "the", "layout", "nice", ",", "the", "pointer", "is", "first", "in", "the", "structure", "."], "TS_V_token": ["stormy16", "\"__va_list_tag\"", "\"base\"", "\"count\""], "File": "stormy162", "Func": "xstormy16_build_va_list", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2826, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ia64_mode_to_int", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "BImode", ":", "return", "0", ";", "case", "QImode", ":", "return", "1", ";", "case", "HImode", ":", "return", "2", ";", "case", "SImode", ":", "return", "3", ";", "case", "DImode", ":", "return", "4", ";", "case", "SFmode", ":", "return", "5", ";", "case", "DFmode", ":", "return", "6", ";", "case", "XFmode", ":", "return", "7", ";", "case", "TImode", ":", "return", "SPEC_MODE_INVALID", ";", "default", ":", "return", "SPEC_MODE_INVALID", ";", "}", "}", ""], "natrual_language": ["Return", "index", "of", "the", "MODE", "."], "TS_V_token": ["ia64", "0", "1", "2", "3", "4", "5", "6", "7"], "File": "ia644", "Func": "ia64_mode_to_int", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2827, "Length": 74, "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", ")", ",", "IsPPC64", "(", "is64Bit", ")", ",", "TargetTriple", "(", "TT", ")", "{", "initializeEnvironment", "(", ")", ";", "resetSubtargetFeatures", "(", "CPU", ",", "FS", ")", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC"], "File": "PPCSubtarget17", "Func": "PPCSubtarget", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2828, "Length": 60, "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", ")", "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": "rs60004", "Func": "darwin_rs6000_special_round_type_align", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2829, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "isPredicable", "(", "MachineInstr", "*", "MI", ")", "const", "{", "unsigned", "OpC", "=", "MI", "->", "getOpcode", "(", ")", ";", "switch", "(", "OpC", ")", "{", "default", ":", "return", "false", ";", "case", "PPC", "::", "B", ":", "case", "PPC", "::", "BLR", ":", "case", "PPC", "::", "BLR8", ":", "case", "PPC", "::", "BCTR", ":", "case", "PPC", "::", "BCTR8", ":", "case", "PPC", "::", "BCTRL", ":", "case", "PPC", "::", "BCTRL8", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "instruction", "can", "be", "predicated", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::B", "PPC::BLR", "PPC::BLR8", "PPC::BCTR", "PPC::BCTR8", "PPC::BCTRL", "PPC::BCTRL8"], "File": "PPCInstrInfo (3)", "Func": "isPredicable", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2830, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64RegisterInfo", "::", "resolveFrameIndex", "(", "MachineInstr", "&", "MI", ",", "unsigned", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "int", "Off", "=", "Offset", ";", "unsigned", "i", "=", "0", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "bool", "Done", "=", "rewriteAArch64FrameIndex", "(", "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": ["AArch64", "AArch64", "0", "\"Instr doesn't have FrameIndex operand!\"", "AArch64", "\"Unable to resolve frame index!\""], "File": "AArch64RegisterInfo1", "Func": "resolveFrameIndex", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2831, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_symbol_binds_local_p", "(", "const_rtx", "x", ")", "{", "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": ["aarch64"], "File": "aarch64", "Func": "aarch64_symbol_binds_local_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2832, "Length": 32, "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": 2833, "Length": 332, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "LEGRegisterInfo", "::", "getCallPreservedMask", "(", "CallingConv", "::", "ID", ")", "const", "{", "return", "CC_Save_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["LEG", "LEG"], "File": "LEGRegisterInfo2", "Func": "getCallPreservedMask", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2834, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "fp_one_operand", "(", "rtx", "op", ")", "{", "if", "(", "GET_MODE", "(", "op", ")", "!=", "SFmode", ")", "return", "false", ";", "return", "real_equal", "(", "CONST_DOUBLE_REAL_VALUE", "(", "op", ")", ",", "&", "dconst1", ")", ";", "}", ""], "natrual_language": ["Nonzero", "if", "OP", "is", "a", "floating", "point", "value", "with", "value", "1.0", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "fp_one_operand", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2835, "Length": 32, "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": ["SystemZ", "MVT::i32"], "File": "SystemZISelLowering12", "Func": "getScalarShiftAmountTy", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2836, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_setup_incoming_varargs", "(", "cumulative_args_t", "pcum_v", ",", "const", "function_arg_info", "&", "arg", ",", "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", "(", "arg", ".", "mode", ",", "arg", ".", "type", ")", ";", "if", "(", "res", "<", "0", "&&", "warn_psabi", ")", "inform", "(", "input_location", ",", "\"parameter passing for argument of \"", "\"type %qT changed in GCC 7.1\"", ",", "arg", ".", "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\"", ",", "arg", ".", "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": "arm", "Func": "arm_setup_incoming_varargs", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2837, "Length": 156, "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": 2838, "Length": 314, "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", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ",", "Options", ".", "StackAlignmentOverride", ")", "{", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "RIPRel", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "isTargetCOFF", "(", ")", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "StubPIC", ")", ";", "else", "{", "assert", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "DynamicNoPIC", ")", ";", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "StubDynamicNoPIC", ")", ";", "}", "}", "else", "if", "(", "Subtarget", ".", "isTargetELF", "(", ")", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "GOT", ")", ";", "}", "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": "X86TargetMachine", "Func": "X86TargetMachine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2839, "Length": 249, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "emitSPUpdate", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "int64_t", "NumBytes", ",", "bool", "InEpilogue", ")", "const", "{", "bool", "isSub", "=", "NumBytes", "<", "0", ";", "uint64_t", "Offset", "=", "isSub", "?", "-", "NumBytes", ":", "NumBytes", ";", "uint64_t", "Chunk", "=", "(", "1LL", "<<", "31", ")", "-", "1", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MBBI", ")", ";", "while", "(", "Offset", ")", "{", "if", "(", "Offset", ">", "Chunk", ")", "{", "unsigned", "Reg", "=", "0", ";", "if", "(", "isSub", "&&", "!", "isEAXLiveIn", "(", "*", "MBB", ".", "getParent", "(", ")", ")", ")", "Reg", "=", "(", "unsigned", ")", "(", "Is64Bit", "?", "X86", "::", "RAX", ":", "X86", "::", "EAX", ")", ";", "else", "Reg", "=", "findDeadCallerSavedReg", "(", "MBB", ",", "MBBI", ",", "TRI", ",", "Is64Bit", ")", ";", "if", "(", "Reg", ")", "{", "unsigned", "Opc", "=", "Is64Bit", "?", "X86", "::", "MOV64ri", ":", "X86", "::", "MOV32ri", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "Reg", ")", ".", "addImm", "(", "Offset", ")", ";", "Opc", "=", "isSub", "?", "getSUBrrOpcode", "(", "Is64Bit", ")", ":", "getADDrrOpcode", "(", "Is64Bit", ")", ";", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addReg", "(", "Reg", ")", ";", "MI", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "Offset", "=", "0", ";", "continue", ";", "}", "}", "uint64_t", "ThisVal", "=", "std", "::", "min", "(", "Offset", ",", "Chunk", ")", ";", "if", "(", "ThisVal", "==", "(", "Is64Bit", "?", "8", ":", "4", ")", ")", "{", "unsigned", "Reg", "=", "isSub", "?", "(", "unsigned", ")", "(", "Is64Bit", "?", "X86", "::", "RAX", ":", "X86", "::", "EAX", ")", ":", "findDeadCallerSavedReg", "(", "MBB", ",", "MBBI", ",", "TRI", ",", "Is64Bit", ")", ";", "if", "(", "Reg", ")", "{", "unsigned", "Opc", "=", "isSub", "?", "(", "Is64Bit", "?", "X86", "::", "PUSH64r", ":", "X86", "::", "PUSH32r", ")", ":", "(", "Is64Bit", "?", "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", ")", ";", "else", "MI", "->", "setFlag", "(", "MachineInstr", "::", "FrameDestroy", ")", ";", "Offset", "-=", "ThisVal", ";", "continue", ";", "}", "}", "MachineInstrBuilder", "MI", "=", "BuildStackAdjustment", "(", "MBB", ",", "MBBI", ",", "DL", ",", "isSub", "?", "-", "ThisVal", ":", "ThisVal", ",", "InEpilogue", ")", ";", "if", "(", "isSub", ")", "MI", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "else", "MI", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameDestroy", ")", ";", "Offset", "-=", "ThisVal", ";", "}", "}", ""], "natrual_language": ["Emit", "a", "series", "of", "instructions", "to", "increment", "/", "decrement", "the", "stack", "pointer", "by", "a", "constant", "value", "."], "TS_V_token": ["X86", "X86", "0", "1LL", "31", "1", "0", "X86::RAX", "X86::EAX", "X86::MOV64ri", "X86::MOV32ri", "3", "0", "8", "4", "X86::RAX", "X86::EAX", "X86::PUSH64r", "X86::PUSH32r", "X86::POP64r", "X86::POP32r"], "File": "X86FrameLowering (2)4", "Func": "emitSPUpdate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2840, "Length": 437, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "iq2000_va_start", "(", "valist", ",", "nextarg", ")", "{", "\\", "fprintf", "(", "STREAM", ",", "\"\\t.word\\t0x03e00821\\t\\t# move $1,$31\\n\"", ")", ";", "\\", "fprintf", "(", "STREAM", ",", "\"\\t.word\\t0x04110001\\t\\t# bgezal $0,.+8\\n\"", ")", ";", "\\", "fprintf", "(", "STREAM", ",", "\"\\t.word\\t0x00000000\\t\\t# nop\\n\"", ")", ";", "\\", "if", "(", "Pmode", "==", "DImode", ")", "\\", "{", "\\", "fprintf", "(", "STREAM", ",", "\"\\t.word\\t0xdfe30014\\t\\t# ld $3,20($31)\\n\"", ")", ";", "\\", "fprintf", "(", "STREAM", ",", "\"\\t.word\\t0xdfe2001c\\t\\t# ld $2,28($31)\\n\"", ")", ";", "\\", "}", "\\", "else", "\\", "{", "\\", "fprintf", "(", "STREAM", ",", "\"\\t.word\\t0x8fe30014\\t\\t# lw $3,20($31)\\n\"", ")", ";", "\\", "fprintf", "(", "STREAM", ",", "\"\\t.word\\t0x8fe20018\\t\\t# lw $2,24($31)\\n\"", ")", ";", "\\", "}", "\\", "fprintf", "(", "STREAM", ",", "\"\\t.word\\t0x0060c821\\t\\t# move $25,$3 (abicalls)\\n\"", ")", ";", "\\", "fprintf", "(", "STREAM", ",", "\"\\t.word\\t0x00600008\\t\\t# jr $3\\n\"", ")", ";", "\\", "fprintf", "(", "STREAM", ",", "\"\\t.word\\t0x0020f821\\t\\t# move $31,$1\\n\"", ")", ";", "\\", "fprintf", "(", "STREAM", ",", "\"\\t.word\\t0x00000000\\t\\t# \\n\"", ")", ";", "\\", "fprintf", "(", "STREAM", ",", "\"\\t.word\\t0x00000000\\t\\t# \\n\"", ")", ";", "\\", "}", ""], "natrual_language": ["Implement", "va_start", "."], "TS_V_token": ["iq2000", "\"\\t.word\\t0x03e00821\\t\\t# move $1,$31\\n\"", "\"\\t.word\\t0x04110001\\t\\t# bgezal $0,.+8\\n\"", "\"\\t.word\\t0x00000000\\t\\t# nop\\n\"", "\"\\t.word\\t0xdfe30014\\t\\t# ld $3,20($31)\\n\"", "\"\\t.word\\t0xdfe2001c\\t\\t# ld $2,28($31)\\n\"", "\"\\t.word\\t0x8fe30014\\t\\t# lw $3,20($31)\\n\"", "\"\\t.word\\t0x8fe20018\\t\\t# lw $2,24($31)\\n\"", "\"\\t.word\\t0x0060c821\\t\\t# move $25,$3 (abicalls)\\n\"", "\"\\t.word\\t0x00600008\\t\\t# jr $3\\n\"", "\"\\t.word\\t0x0020f821\\t\\t# move $31,$1\\n\"", "\"\\t.word\\t0x00000000\\t\\t# \\n\"", "\"\\t.word\\t0x00000000\\t\\t# \\n\""], "File": "iq20004", "Func": "iq2000_va_start", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2841, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "function_expander", "::", "add_output_operand", "(", "insn_code", "icode", ")", "{", "unsigned", "int", "opno", "=", "m_ops", ".", "length", "(", ")", ";", "machine_mode", "mode", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "opno", "]", ".", "mode", ";", "m_ops", ".", "safe_grow", "(", "opno", "+", "1", ")", ";", "create_output_operand", "(", "&", "m_ops", ".", "last", "(", ")", ",", "possible_target", ",", "mode", ")", ";", "}", ""], "natrual_language": ["Create", "output", "and", "add", "it", "into", "M_OPS", "and", "increase", "OPNO", "."], "TS_V_token": ["aarch64", "1"], "File": "aarch64-sve-builtins", "Func": "add_output_operand", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2842, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "movd44_insn_p", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "get_attr_type", "(", "insn", ")", "==", "TYPE_ALU", "&&", "(", "INSN_CODE", "(", "insn", ")", "==", "CODE_FOR_move_di", "||", "INSN_CODE", "(", "insn", ")", "==", "CODE_FOR_move_df", ")", ")", "{", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "body", ")", "==", "SET", ")", ";", "rtx", "src", "=", "SET_SRC", "(", "body", ")", ";", "rtx", "dest", "=", "SET_DEST", "(", "body", ")", ";", "if", "(", "(", "REG_P", "(", "src", ")", "||", "GET_CODE", "(", "src", ")", "==", "SUBREG", ")", "&&", "(", "REG_P", "(", "dest", ")", "||", "GET_CODE", "(", "dest", ")", "==", "SUBREG", ")", ")", "return", "true", ";", "return", "false", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Check", "if", "INSN", "is", "a", "movd44", "insn", "."], "TS_V_token": ["nds32"], "File": "nds32-utils", "Func": "movd44_insn_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2843, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZPassConfig", "::", "addPreSched2", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createSystemZPostRewritePass", "(", "getSystemZTargetMachine", "(", ")", ")", ")", ";", "addPass", "(", "createSystemZExpandPseudoPass", "(", "getSystemZTargetMachine", "(", ")", ")", ")", ";", "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": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ"], "File": "SystemZTargetMachine28", "Func": "addPreSched2", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2844, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "BuildSDIVPow2", "(", "SDNode", "*", "N", ",", "const", "APInt", "&", "Divisor", ",", "SelectionDAG", "&", "DAG", ",", "std", "::", "vector", "<", "SDNode", "*", ">", "*", "Created", ")", "const", "{", "AttributeList", "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": "AArch64ISelLowering106", "Func": "BuildSDIVPow2", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2845, "Length": 368, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_dep_by_shift_count_body", "(", "const_rtx", "set_body", ",", "const_rtx", "use_body", ")", "{", "rtx", "set_dest", ";", "rtx", "shift_rtx", ";", "int", "i", ";", "switch", "(", "GET_CODE", "(", "set_body", ")", ")", "{", "case", "SET", ":", "set_dest", "=", "SET_DEST", "(", "set_body", ")", ";", "if", "(", "!", "set_dest", "||", "!", "REG_P", "(", "set_dest", ")", ")", "return", "false", ";", "break", ";", "case", "PARALLEL", ":", "for", "(", "i", "=", "XVECLEN", "(", "set_body", ",", "0", ")", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "if", "(", "ix86_dep_by_shift_count_body", "(", "XVECEXP", "(", "set_body", ",", "0", ",", "i", ")", ",", "use_body", ")", ")", "return", "true", ";", "default", ":", "return", "false", ";", "break", ";", "}", "switch", "(", "GET_CODE", "(", "use_body", ")", ")", "{", "case", "SET", ":", "shift_rtx", "=", "XEXP", "(", "use_body", ",", "1", ")", ";", "break", ";", "case", "PARALLEL", ":", "for", "(", "i", "=", "XVECLEN", "(", "use_body", ",", "0", ")", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "if", "(", "ix86_dep_by_shift_count_body", "(", "set_body", ",", "XVECEXP", "(", "use_body", ",", "0", ",", "i", ")", ")", ")", "return", "true", ";", "default", ":", "return", "false", ";", "break", ";", "}", "if", "(", "shift_rtx", "&&", "(", "GET_CODE", "(", "shift_rtx", ")", "==", "ASHIFT", "||", "GET_CODE", "(", "shift_rtx", ")", "==", "LSHIFTRT", "||", "GET_CODE", "(", "shift_rtx", ")", "==", "ASHIFTRT", "||", "GET_CODE", "(", "shift_rtx", ")", "==", "ROTATE", "||", "GET_CODE", "(", "shift_rtx", ")", "==", "ROTATERT", ")", ")", "{", "rtx", "shift_count", "=", "XEXP", "(", "shift_rtx", ",", "1", ")", ";", "if", "(", "REG_P", "(", "shift_count", ")", ")", "{", "if", "(", "reload_completed", "&&", "true_regnum", "(", "set_dest", ")", "==", "true_regnum", "(", "shift_count", ")", ")", "return", "true", ";", "else", "if", "(", "REGNO", "(", "set_dest", ")", "==", "REGNO", "(", "shift_count", ")", ")", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "destination", "reg", "of", "SET_BODY", "is", "shift", "count", "of", "USE_BODY", "."], "TS_V_token": ["i386", "0", "1", "0", "0", "1", "0", "1", "0", "0", "1"], "File": "i3864", "Func": "ix86_dep_by_shift_count_body", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2846, "Length": 275, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "LLT", "AArch64TargetLowering", "::", "getOptimalMemOpLLT", "(", "const", "MemOp", "&", "Op", ",", "const", "AttributeList", "&", "FuncAttributes", ")", "const", "{", "bool", "CanImplicitFloat", "=", "!", "FuncAttributes", ".", "hasFnAttr", "(", "Attribute", "::", "NoImplicitFloat", ")", ";", "bool", "CanUseNEON", "=", "Subtarget", "->", "hasNEON", "(", ")", "&&", "CanImplicitFloat", ";", "bool", "CanUseFP", "=", "Subtarget", "->", "hasFPARMv8", "(", ")", "&&", "CanImplicitFloat", ";", "bool", "IsSmallMemset", "=", "Op", ".", "isMemset", "(", ")", "&&", "Op", ".", "size", "(", ")", "<", "32", ";", "auto", "AlignmentIsAcceptable", "=", "[", "&", "]", "(", "EVT", "VT", ",", "Align", "AlignCheck", ")", "{", "if", "(", "Op", ".", "isAligned", "(", "AlignCheck", ")", ")", "return", "true", ";", "bool", "Fast", ";", "return", "allowsMisalignedMemoryAccesses", "(", "VT", ",", "0", ",", "Align", "(", "1", ")", ",", "MachineMemOperand", "::", "MONone", ",", "&", "Fast", ")", "&&", "Fast", ";", "}", ";", "if", "(", "CanUseNEON", "&&", "Op", ".", "isMemset", "(", ")", "&&", "!", "IsSmallMemset", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "v2i64", ",", "Align", "(", "16", ")", ")", ")", "return", "LLT", "::", "fixed_vector", "(", "2", ",", "64", ")", ";", "if", "(", "CanUseFP", "&&", "!", "IsSmallMemset", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "f128", ",", "Align", "(", "16", ")", ")", ")", "return", "LLT", "::", "scalar", "(", "128", ")", ";", "if", "(", "Op", ".", "size", "(", ")", ">=", "8", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "i64", ",", "Align", "(", "8", ")", ")", ")", "return", "LLT", "::", "scalar", "(", "64", ")", ";", "if", "(", "Op", ".", "size", "(", ")", ">=", "4", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "i32", ",", "Align", "(", "4", ")", ")", ")", "return", "LLT", "::", "scalar", "(", "32", ")", ";", "return", "LLT", "(", ")", ";", "}", ""], "natrual_language": ["LLT", "returning", "variant", "."], "TS_V_token": ["AArch64", "AArch64", "32", "0", "1", "MVT::v2i64", "16", "2", "64", "MVT::f128", "16", "128", "8", "MVT::i64", "8", "64", "4", "MVT::i32", "4", "32"], "File": "AArch64ISelLowering (2)2", "Func": "getOptimalMemOpLLT", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2847, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "OR1KRegisterInfo", "::", "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": ["OR1K", "OR1K"], "File": "OR1KRegisterInfo", "Func": "requiresRegisterScavenging", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2848, "Length": 16, "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", ")", ";", "mode", "=", "GET_MODE", "(", "x", ")", ";", "if", "(", "TARGET_SSE_MATH", "&&", "SSE_FLOAT_MODE_P", "(", "mode", ")", ")", "return", "MAYBE_SSE_CLASS_P", "(", "regclass", ")", "?", "ALL_SSE_REGS", ":", "NO_REGS", ";", "if", "(", "X87_FLOAT_MODE_P", "(", "mode", ")", ")", "{", "if", "(", "regclass", "==", "FP_TOP_SSE_REGS", ")", "return", "FP_TOP_REG", ";", "else", "if", "(", "regclass", "==", "FP_SECOND_SSE_REGS", ")", "return", "FP_SECOND_REG", ";", "else", "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": "i3864", "Func": "ix86_preferred_output_reload_class", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2849, "Length": 88, "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", "=", "*", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "PPCFunctionInfo", "*", "FI", "=", "MF", "->", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", ";", "bool", "MustSaveTOC", "=", "FI", "->", "mustSaveTOC", "(", ")", ";", "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", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "bool", "IsLiveIn", "=", "MRI", ".", "isLiveIn", "(", "Reg", ")", ";", "if", "(", "!", "IsLiveIn", ")", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "if", "(", "CRSpilled", "&&", "IsCRField", ")", "{", "CRMIB", ".", "addReg", "(", "Reg", ",", "RegState", "::", "ImplicitKill", ")", ";", "continue", ";", "}", "if", "(", "(", "Reg", "==", "PPC", "::", "X2", "||", "Reg", "==", "PPC", "::", "R2", ")", "&&", "MustSaveTOC", ")", "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", "{", "if", "(", "CSI", "[", "i", "]", ".", "isSpilledToReg", "(", ")", ")", "{", "NumPESpillVSR", "++", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "PPC", "::", "MTVSRD", ")", ",", "CSI", "[", "i", "]", ".", "getDstReg", "(", ")", ")", ".", "addReg", "(", "Reg", ",", "getKillRegState", "(", "true", ")", ")", ";", "}", "else", "{", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "TII", ".", "storeRegToStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "!", "IsLiveIn", ",", "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", "PPC", "0", "PPC::VRSAVE", "PPC::CR2", "PPC::CR4", "PPC::X2", "PPC::R2", "PPC", "PPC", "PPC", "PPC::MFCR", "PPC::R12", "PPC::STW", "PPC::R12", "PPC::MTVSRD"], "File": "PPCFrameLowering4", "Func": "spillCalleeSavedRegisters", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2850, "Length": 480, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZTargetLowering", "::", "isLegalAddressingMode", "(", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ")", "const", "{", "if", "(", "AM", ".", "BaseGV", ")", "return", "false", ";", "if", "(", "!", "isInt", "<", "20", ">", "(", "AM", ".", "BaseOffs", ")", ")", "return", "false", ";", "return", "AM", ".", "Scale", "==", "0", "||", "AM", ".", "Scale", "==", "1", ";", "}", ""], "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": ["SystemZ", "SystemZ", "20", "0", "1"], "File": "SystemZISelLowering86", "Func": "isLegalAddressingMode", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2851, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "stackAlignment", "(", ")", "const", "{", "return", "8", ";", "}", ""], "natrual_language": ["The", "minimum", "alignment", "known", "to", "hold", "of", "the", "stack", "frame", "on", "entry", "to", "the", "function", "and", "which", "must", "be", "maintained", "by", "every", "function", "."], "TS_V_token": ["Cpu0", "8"], "File": "Cpu0Subtarget", "Func": "stackAlignment", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2852, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "m16_based_address_p", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "insn_operand_predicate_fn", "offset_predicate", ")", "{", "struct", "mips_address_info", "addr", ";", "return", "(", "mips_classify_address", "(", "&", "addr", ",", "x", ",", "mode", ",", "false", ")", "&&", "addr", ".", "type", "==", "ADDRESS_REG", "&&", "M16_REG_P", "(", "REGNO", "(", "addr", ".", "reg", ")", ")", "&&", "offset_predicate", "(", "addr", ".", "offset", ",", "mode", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "legitimate", "for", "accessing", "values", "of", "mode", "MODE", ",", "if", "it", "is", "based", "on", "a", "MIPS16", "register", ",", "and", "if", "the", "offset", "satisfies", "OFFSET_PREDICATE", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "m16_based_address_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2853, "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", "::", "LXVX", ":", "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::LXVX", "PPC::QVLFDX", "PPC::QVLFSXs", "PPC::QVLFDXb", "PPC::RESTORE_VRSAVE", "1", "1", "2", "2", "0", "0"], "File": "PPCInstrInfo101", "Func": "isLoadFromStackSlot", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2854, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Function: \"", ";", "MF", ".", "dump", "(", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "initialize", "(", "MF", ")", ";", "if", "(", "!", "collectISELInstructions", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"No ISEL instructions in this function\\n\"", ")", ";", "return", "false", ";", "}", "DumpISELInstructions", "(", ")", ";", "expandAndMergeISELs", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC", "\"Function: \"", "\"\\n\"", "\"No ISEL instructions in this function\\n\""], "File": "PPCExpandISEL", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2855, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_expand_int_addcc", "(", "rtx", "operands", "[", "]", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "operands", "[", "1", "]", ")", ";", "rtx", "flags", ";", "rtx", "(", "*", "insn", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "rtx", "compare_op", ";", "rtx", "val", "=", "const0_rtx", ";", "bool", "fpcmp", "=", "false", ";", "machine_mode", "mode", ";", "rtx", "op0", "=", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ";", "rtx", "op1", "=", "XEXP", "(", "operands", "[", "1", "]", ",", "1", ")", ";", "if", "(", "operands", "[", "3", "]", "!=", "const1_rtx", "&&", "operands", "[", "3", "]", "!=", "constm1_rtx", ")", "return", "false", ";", "if", "(", "!", "ix86_expand_carry_flag_compare", "(", "code", ",", "op0", ",", "op1", ",", "&", "compare_op", ")", ")", "return", "false", ";", "code", "=", "GET_CODE", "(", "compare_op", ")", ";", "flags", "=", "XEXP", "(", "compare_op", ",", "0", ")", ";", "if", "(", "GET_MODE", "(", "flags", ")", "==", "CCFPmode", ")", "{", "fpcmp", "=", "true", ";", "code", "=", "ix86_fp_compare_code_to_integer", "(", "code", ")", ";", "}", "if", "(", "code", "!=", "LTU", ")", "{", "val", "=", "constm1_rtx", ";", "if", "(", "fpcmp", ")", "PUT_CODE", "(", "compare_op", ",", "reverse_condition_maybe_unordered", "(", "GET_CODE", "(", "compare_op", ")", ")", ")", ";", "else", "PUT_CODE", "(", "compare_op", ",", "reverse_condition", "(", "GET_CODE", "(", "compare_op", ")", ")", ")", ";", "}", "mode", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", ";", "if", "(", "(", "code", "==", "LTU", ")", "==", "(", "operands", "[", "3", "]", "==", "constm1_rtx", ")", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "insn", "=", "gen_subqi3_carry", ";", "break", ";", "case", "E_HImode", ":", "insn", "=", "gen_subhi3_carry", ";", "break", ";", "case", "E_SImode", ":", "insn", "=", "gen_subsi3_carry", ";", "break", ";", "case", "E_DImode", ":", "insn", "=", "gen_subdi3_carry", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "{", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "insn", "=", "gen_addqi3_carry", ";", "break", ";", "case", "E_HImode", ":", "insn", "=", "gen_addhi3_carry", ";", "break", ";", "case", "E_SImode", ":", "insn", "=", "gen_addsi3_carry", ";", "break", ";", "case", "E_DImode", ":", "insn", "=", "gen_adddi3_carry", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "emit_insn", "(", "insn", "(", "operands", "[", "0", "]", ",", "operands", "[", "2", "]", ",", "val", ",", "flags", ",", "compare_op", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Expand", "conditional", "increment", "or", "decrement", "using", "adb/sbb", "instructions", ".", "The", "default", "case", "using", "setcc", "followed", "by", "the", "conditional", "move", "can", "be", "done", "by", "generic", "code", "."], "TS_V_token": ["i386", "1", "1", "0", "1", "1", "3", "3", "0", "0", "3", "0", "2"], "File": "i3867", "Func": "ix86_expand_int_addcc", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2856, "Length": 355, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsOutgoingValueHandler", "::", "assignValueToAddress", "(", "Register", "ValVReg", ",", "const", "CCValAssign", "&", "VA", ")", "{", "MachineMemOperand", "*", "MMO", ";", "Register", "Addr", "=", "getStackAddress", "(", "VA", ",", "MMO", ")", ";", "Register", "ExtReg", "=", "extendRegister", "(", "ValVReg", ",", "VA", ")", ";", "MIRBuilder", ".", "buildStore", "(", "ExtReg", ",", "Addr", ",", "*", "MMO", ")", ";", "}", ""], "natrual_language": ["An", "overload", "which", "takes", "an", "ArgInfo", "if", "additional", "information", "about", "the", "arg", "is", "needed", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsCallLowering16", "Func": "assignValueToAddress", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2857, "Length": 51, "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": 2858, "Length": 460, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasStandaloneRem", "(", "EVT", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "can", "handle", "a", "standalone", "remainder", "operation", "."], "TS_V_token": ["VE"], "File": "VEISelLowering", "Func": "hasStandaloneRem", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2859, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_asm_output_function_label", "(", "FILE", "*", "out_file", ",", "const", "char", "*", "fname", ",", "tree", "decl", ")", "{", "bool", "is_ms_hook", "=", "ix86_function_ms_hook_prologue", "(", "decl", ")", ";", "if", "(", "cfun", ")", "cfun", "->", "machine", "->", "function_label_emitted", "=", "true", ";", "if", "(", "is_ms_hook", ")", "{", "int", "i", ",", "filler_count", "=", "(", "TARGET_64BIT", "?", "32", ":", "16", ")", ";", "unsigned", "int", "filler_cc", "=", "0xcccccccc", ";", "for", "(", "i", "=", "0", ";", "i", "<", "filler_count", ";", "i", "+=", "4", ")", "fprintf", "(", "out_file", ",", "ASM_LONG", "\" %#x\\n\"", ",", "filler_cc", ")", ";", "}", "SUBTARGET_ASM_UNWIND_INIT", "(", "out_file", ")", ";", "ASM_OUTPUT_LABEL", "(", "out_file", ",", "fname", ")", ";", "if", "(", "is_ms_hook", ")", "{", "if", "(", "TARGET_64BIT", ")", "{", "fputs", "(", "ASM_BYTE", "\"0x48, 0x8d, 0xa4, 0x24, 0x00, 0x00, 0x00, 0x00\\n\"", ",", "out_file", ")", ";", "}", "else", "{", "fputs", "(", "ASM_BYTE", "\"0x8b, 0xff, 0x55, 0x8b, 0xec\\n\"", ",", "out_file", ")", ";", "}", "}", "}", ""], "natrual_language": ["Write", "the", "extra", "assembler", "code", "needed", "to", "declare", "a", "function", "properly", "."], "TS_V_token": ["i386", "32", "16", "0xcccccccc", "0", "4", "\" %#x\\n\"", "\"0x48, 0x8d, 0xa4, 0x24, 0x00, 0x00, 0x00, 0x00\\n\"", "\"0x8b, 0xff, 0x55, 0x8b, 0xec\\n\""], "File": "i386", "Func": "ix86_asm_output_function_label", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2860, "Length": 129, "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": 2861, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCRegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "PPCFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "const", "unsigned", "DefaultSafety", "=", "1", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "PPC", "::", "G8RC_NOX0RegClassID", ":", "case", "PPC", "::", "GPRC_NOR0RegClassID", ":", "case", "PPC", "::", "G8RCRegClassID", ":", "case", "PPC", "::", "GPRCRegClassID", ":", "{", "unsigned", "FP", "=", "TFI", "->", "hasFP", "(", "MF", ")", "?", "1", ":", "0", ";", "return", "32", "-", "FP", "-", "DefaultSafety", ";", "}", "case", "PPC", "::", "F8RCRegClassID", ":", "case", "PPC", "::", "F4RCRegClassID", ":", "case", "PPC", "::", "QFRCRegClassID", ":", "case", "PPC", "::", "QSRCRegClassID", ":", "case", "PPC", "::", "QBRCRegClassID", ":", "case", "PPC", "::", "VRRCRegClassID", ":", "case", "PPC", "::", "VFRCRegClassID", ":", "case", "PPC", "::", "VSLRCRegClassID", ":", "case", "PPC", "::", "VSHRCRegClassID", ":", "return", "32", "-", "DefaultSafety", ";", "case", "PPC", "::", "VSRCRegClassID", ":", "case", "PPC", "::", "VSFRCRegClassID", ":", "case", "PPC", "::", "VSSRCRegClassID", ":", "return", "64", "-", "DefaultSafety", ";", "case", "PPC", "::", "CRRCRegClassID", ":", "return", "8", "-", "DefaultSafety", ";", "}", "}", ""], "natrual_language": ["Return", "the", "register", "pressure", "``", "high", "water", "mark", "''", "for", "the", "specific", "register", "class", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "1", "0", "PPC::G8RC_NOX0RegClassID", "PPC::GPRC_NOR0RegClassID", "PPC::G8RCRegClassID", "PPC::GPRCRegClassID", "1", "0", "32", "PPC::F8RCRegClassID", "PPC::F4RCRegClassID", "PPC::QFRCRegClassID", "PPC::QSRCRegClassID", "PPC::QBRCRegClassID", "PPC::VRRCRegClassID", "PPC::VFRCRegClassID", "PPC::VSLRCRegClassID", "PPC::VSHRCRegClassID", "32", "PPC::VSRCRegClassID", "PPC::VSFRCRegClassID", "PPC::VSSRCRegClassID", "64", "PPC::CRRCRegClassID", "8"], "File": "PPCRegisterInfo (2)1", "Func": "getRegPressureLimit", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2862, "Length": 171, "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": 2863, "Length": 242, "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", "(", "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": ["Mips", "0"], "File": "MipsAsmParser (2)4", "Func": "addExpr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2864, "Length": 77, "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", "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": "arm5", "Func": "arm_evpc_neon_vzip", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2865, "Length": 417, "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", ";", "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": "AArch64InstrInfo10", "Func": "isCandidateToMergeOrPair", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2866, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "union_uses", "(", "swap_web_entry", "*", "insn_entry", ",", "rtx", "insn", ",", "df_ref", "def", ")", "{", "struct", "df_link", "*", "link", "=", "DF_REF_CHAIN", "(", "def", ")", ";", "if", "(", "!", "link", ")", "insn_entry", "[", "INSN_UID", "(", "insn", ")", "]", ".", "is_live_out", "=", "1", ";", "while", "(", "link", ")", "{", "if", "(", "DF_REF_IS_ARTIFICIAL", "(", "link", "->", "ref", ")", ")", "insn_entry", "[", "INSN_UID", "(", "insn", ")", "]", ".", "is_live_out", "=", "1", ";", "if", "(", "DF_REF_INSN_INFO", "(", "link", "->", "ref", ")", ")", "{", "rtx", "use_insn", "=", "DF_REF_INSN", "(", "link", "->", "ref", ")", ";", "(", "void", ")", "unionfind_union", "(", "insn_entry", "+", "INSN_UID", "(", "insn", ")", ",", "insn_entry", "+", "INSN_UID", "(", "use_insn", ")", ")", ";", "}", "link", "=", "link", "->", "next", ";", "}", "}", ""], "natrual_language": ["Union", "INSN", "with", "all", "insns", "containing", "uses", "reached", "from", "DEF", ".", "Detect", "whether", "DEF", "is", "live-out", "from", "the", "current", "function", "."], "TS_V_token": ["rs6000", "1", "1"], "File": "rs6000-p8swap", "Func": "union_uses", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2867, "Length": 117, "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", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "const", "MipsRegisterInfo", "&", "RegInfo", "=", "*", "static_cast", "<", "const", "MipsRegisterInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "SP", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "SP_64", ":", "Mips", "::", "SP", ";", "unsigned", "FP", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "FP_64", ":", "Mips", "::", "FP", ";", "unsigned", "ZERO", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "ZERO_64", ":", "Mips", "::", "ZERO", ";", "unsigned", "ADDu", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "DADDu", ":", "Mips", "::", "ADDu", ";", "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", "(", "MipsFI", "->", "callsEhReturn", "(", ")", ")", "{", "const", "TargetRegisterClass", "*", "RC", "=", "STI", ".", "isABI_N64", "(", ")", "?", "&", "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", ",", "ehDataReg", "(", "J", ")", ",", "MipsFI", "->", "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": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::SP_64", "Mips::SP", "Mips::FP_64", "Mips::FP", "Mips::ZERO_64", "Mips::ZERO", "Mips::DADDu", "Mips::ADDu", "0", "Mips", "Mips::GPR64RegClass", "Mips::GPR32RegClass", "0", "0", "4", "Mips"], "File": "MipsSEFrameLowering57", "Func": "emitEpilogue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2868, "Length": 378, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalMaskedExpandLoad", "(", "Type", "*", "DataTy", ")", "{", "if", "(", "!", "isa", "<", "VectorType", ">", "(", "DataTy", ")", ")", "return", "false", ";", "if", "(", "!", "ST", "->", "hasAVX512", "(", ")", ")", "return", "false", ";", "if", "(", "DataTy", "->", "getVectorNumElements", "(", ")", "==", "1", ")", "return", "false", ";", "Type", "*", "ScalarTy", "=", "DataTy", "->", "getVectorElementType", "(", ")", ";", "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", "->", "hasVBMI2", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "expand", "load", "."], "TS_V_token": ["X86", "X86", "1", "32", "64", "8", "16"], "File": "X86TargetTransformInfo100", "Func": "isLegalMaskedExpandLoad", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2869, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_expand_epilogue", "(", "bool", "for_sibcall", ")", "{", "aarch64_layout_frame", "(", ")", ";", "poly_int64", "initial_adjust", "=", "cfun", "->", "machine", "->", "frame", ".", "initial_adjust", ";", "HOST_WIDE_INT", "callee_adjust", "=", "cfun", "->", "machine", "->", "frame", ".", "callee_adjust", ";", "poly_int64", "final_adjust", "=", "cfun", "->", "machine", "->", "frame", ".", "final_adjust", ";", "poly_int64", "callee_offset", "=", "cfun", "->", "machine", "->", "frame", ".", "callee_offset", ";", "unsigned", "reg1", "=", "cfun", "->", "machine", "->", "frame", ".", "wb_candidate1", ";", "unsigned", "reg2", "=", "cfun", "->", "machine", "->", "frame", ".", "wb_candidate2", ";", "rtx", "cfi_ops", "=", "NULL", ";", "rtx_insn", "*", "insn", ";", "bool", "can_inherit_p", "=", "(", "initial_adjust", ".", "is_constant", "(", ")", "&&", "final_adjust", ".", "is_constant", "(", ")", "&&", "!", "flag_stack_clash_protection", ")", ";", "bool", "need_barrier_p", "=", "maybe_ne", "(", "get_frame_size", "(", ")", "+", "cfun", "->", "machine", "->", "frame", ".", "saved_varargs_size", ",", "0", ")", ";", "if", "(", "maybe_gt", "(", "final_adjust", ",", "crtl", "->", "outgoing_args_size", ")", "||", "cfun", "->", "calls_alloca", "||", "crtl", "->", "calls_eh_return", ")", "{", "emit_insn", "(", "gen_stack_tie", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ")", ")", ";", "need_barrier_p", "=", "false", ";", "}", "rtx", "ip0_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "IP0_REGNUM", ")", ";", "rtx", "ip1_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "IP1_REGNUM", ")", ";", "if", "(", "frame_pointer_needed", "&&", "(", "maybe_ne", "(", "final_adjust", ",", "0", ")", "||", "cfun", "->", "calls_alloca", ")", ")", "aarch64_add_offset", "(", "Pmode", ",", "stack_pointer_rtx", ",", "hard_frame_pointer_rtx", ",", "-", "callee_offset", ",", "ip1_rtx", ",", "ip0_rtx", ",", "callee_adjust", "==", "0", ")", ";", "else", "aarch64_add_sp", "(", "ip1_rtx", ",", "ip0_rtx", ",", "final_adjust", ",", "!", "can_inherit_p", "||", "df_regs_ever_live_p", "(", "IP1_REGNUM", ")", ")", ";", "aarch64_restore_callee_saves", "(", "DImode", ",", "callee_offset", ",", "R0_REGNUM", ",", "R30_REGNUM", ",", "callee_adjust", "!=", "0", ",", "&", "cfi_ops", ")", ";", "aarch64_restore_callee_saves", "(", "DFmode", ",", "callee_offset", ",", "V0_REGNUM", ",", "V31_REGNUM", ",", "callee_adjust", "!=", "0", ",", "&", "cfi_ops", ")", ";", "if", "(", "need_barrier_p", ")", "emit_insn", "(", "gen_stack_tie", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ")", ")", ";", "if", "(", "callee_adjust", "!=", "0", ")", "aarch64_pop_regs", "(", "reg1", ",", "reg2", ",", "callee_adjust", ",", "&", "cfi_ops", ")", ";", "if", "(", "callee_adjust", "!=", "0", "||", "maybe_gt", "(", "initial_adjust", ",", "65536", ")", ")", "{", "insn", "=", "get_last_insn", "(", ")", ";", "rtx", "new_cfa", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "initial_adjust", ")", ";", "REG_NOTES", "(", "insn", ")", "=", "alloc_reg_note", "(", "REG_CFA_DEF_CFA", ",", "new_cfa", ",", "cfi_ops", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "cfi_ops", "=", "NULL", ";", "}", "aarch64_add_sp", "(", "ip0_rtx", ",", "ip1_rtx", ",", "initial_adjust", ",", "!", "can_inherit_p", "||", "df_regs_ever_live_p", "(", "IP0_REGNUM", ")", ")", ";", "if", "(", "cfi_ops", ")", "{", "insn", "=", "get_last_insn", "(", ")", ";", "cfi_ops", "=", "alloc_reg_note", "(", "REG_CFA_DEF_CFA", ",", "stack_pointer_rtx", ",", "cfi_ops", ")", ";", "REG_NOTES", "(", "insn", ")", "=", "cfi_ops", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "if", "(", "aarch64_return_address_signing_enabled", "(", ")", "&&", "(", "for_sibcall", "||", "!", "TARGET_ARMV8_3", "||", "crtl", "->", "calls_eh_return", ")", ")", "{", "insn", "=", "emit_insn", "(", "gen_autisp", "(", ")", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_TOGGLE_RA_MANGLE", ",", "const0_rtx", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "if", "(", "crtl", "->", "calls_eh_return", ")", "{", "emit_insn", "(", "gen_add2_insn", "(", "stack_pointer_rtx", ",", "EH_RETURN_STACKADJ_RTX", ")", ")", ";", "}", "emit_use", "(", "gen_rtx_REG", "(", "DImode", ",", "LR_REGNUM", ")", ")", ";", "if", "(", "!", "for_sibcall", ")", "emit_jump_insn", "(", "ret_rtx", ")", ";", "}", ""], "natrual_language": ["Generate", "the", "epilogue", "instructions", "for", "returning", "from", "a", "function", "."], "TS_V_token": ["aarch64", "0", "0", "0", "0", "0", "0", "0", "65536", "1", "1", "1"], "File": "aarch645", "Func": "aarch64_expand_epilogue", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2870, "Length": 499, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VZeroUpperInserter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "X86Subtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "ST", ".", "hasAVX", "(", ")", "||", "ST", ".", "hasAVX512", "(", ")", "||", "ST", ".", "hasFastPartialYMMWrite", "(", ")", ")", "return", "false", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "EverMadeChange", "=", "false", ";", "IsX86INTR", "=", "MF", ".", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "X86_INTR", ";", "bool", "FnHasLiveInYmm", "=", "checkFnHasLiveInYmm", "(", "MRI", ")", ";", "bool", "YMMUsed", "=", "FnHasLiveInYmm", ";", "if", "(", "!", "YMMUsed", ")", "{", "const", "TargetRegisterClass", "*", "RC", "=", "&", "X86", "::", "VR256RegClass", ";", "for", "(", "TargetRegisterClass", "::", "iterator", "i", "=", "RC", "->", "begin", "(", ")", ",", "e", "=", "RC", "->", "end", "(", ")", ";", "i", "!=", "e", ";", "i", "++", ")", "{", "if", "(", "!", "MRI", ".", "reg_nodbg_empty", "(", "*", "i", ")", ")", "{", "YMMUsed", "=", "true", ";", "break", ";", "}", "}", "}", "if", "(", "!", "YMMUsed", ")", "{", "return", "false", ";", "}", "assert", "(", "BlockStates", ".", "empty", "(", ")", "&&", "DirtySuccessors", ".", "empty", "(", ")", "&&", "\"X86VZeroUpper state should be clear\"", ")", ";", "BlockStates", ".", "resize", "(", "MF", ".", "getNumBlockIDs", "(", ")", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "processBasicBlock", "(", "MBB", ")", ";", "if", "(", "FnHasLiveInYmm", ")", "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", ")", "{", "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", "\"X86VZeroUpper state should be clear\"", "\"MBB #\"", "\" was Pass-through, is now Dirty-out.\\n\""], "File": "X86VZeroUpper28", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2871, "Length": 346, "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", ")", ";", "}", "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"], "File": "ARMISelLowering (3)", "Func": "ReplaceNodeResults", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2872, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_end_function_definition", "(", "const", "char", "*", "name", ")", "{", "if", "(", "!", "flag_inhibit_size_directive", ")", "{", "fputs", "(", "\"\\t.end\\t\"", ",", "asm_out_file", ")", ";", "assemble_name", "(", "asm_out_file", ",", "name", ")", ";", "fputs", "(", "\"\\n\"", ",", "asm_out_file", ")", ";", "}", "}", ""], "natrual_language": ["End", "a", "function", "definition", "started", "by", "mips_start_function_definition", "."], "TS_V_token": ["mips", "\"\\t.end\\t\"", "\"\\n\""], "File": "mips", "Func": "mips_end_function_definition", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2873, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "PPCInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "PPCInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "GuaranteedTailCallOpt", "&&", "I", "->", "getOpcode", "(", ")", "==", "PPC", "::", "ADJCALLSTACKUP", ")", "{", "if", "(", "int", "CalleeAmt", "=", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ")", "{", "bool", "is64Bit", "=", "Subtarget", ".", "isPPC64", "(", ")", ";", "CalleeAmt", "*=", "-", "1", ";", "unsigned", "StackReg", "=", "is64Bit", "?", "PPC", "::", "X1", ":", "PPC", "::", "R1", ";", "unsigned", "TmpReg", "=", "is64Bit", "?", "PPC", "::", "X0", ":", "PPC", "::", "R0", ";", "unsigned", "ADDIInstr", "=", "is64Bit", "?", "PPC", "::", "ADDI8", ":", "PPC", "::", "ADDI", ";", "unsigned", "ADDInstr", "=", "is64Bit", "?", "PPC", "::", "ADD8", ":", "PPC", "::", "ADD4", ";", "unsigned", "LISInstr", "=", "is64Bit", "?", "PPC", "::", "LIS8", ":", "PPC", "::", "LIS", ";", "unsigned", "ORIInstr", "=", "is64Bit", "?", "PPC", "::", "ORI8", ":", "PPC", "::", "ORI", ";", "MachineInstr", "*", "MI", "=", "I", ";", "DebugLoc", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "isInt", "<", "16", ">", "(", "CalleeAmt", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "TII", ".", "get", "(", "ADDIInstr", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "CalleeAmt", ")", ";", "}", "else", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "I", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "LISInstr", ")", ",", "TmpReg", ")", ".", "addImm", "(", "CalleeAmt", ">>", "16", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ORIInstr", ")", ",", "TmpReg", ")", ".", "addReg", "(", "TmpReg", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "CalleeAmt", "&", "0xFFFF", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ADDInstr", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "TmpReg", ")", ";", "}", "}", "}", "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": ["PowerPC", "PPC", "PPC", "PPC", "PPC::ADJCALLSTACKUP", "1", "PPC", "1", "PPC::X1", "PPC::R1", "PPC::X0", "PPC::R0", "PPC::ADDI8", "PPC::ADDI", "PPC::ADD8", "PPC::ADD4", "PPC::LIS8", "PPC::LIS", "PPC::ORI8", "PPC::ORI", "16", "16", "0xFFFF"], "File": "PPCFrameLowering79", "Func": "eliminateCallFramePseudoInstr", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2874, "Length": 346, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "override", "{", "return", "MBB", ".", "erase", "(", "MI", ")", ";", "}", ""], "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": ["MMIX"], "File": "MMIXFrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2875, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "override", "{", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "InitializeELF", "(", "TM", ".", "Options", ".", "UseInitArray", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["VE"], "File": "VETargetMachine", "Func": "Initialize", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2876, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AsmPrinter", "::", "getAnalysisUsage", "(", "AU", ")", ";", "AU", ".", "setPreservesAll", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["ARM64"], "File": "ARM64AsmPrinter", "Func": "getAnalysisUsage", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2877, "Length": 23, "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", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["ARM", "ARM", "127"], "File": "ARMTargetMachine18", "Func": "addPreISel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2878, "Length": 109, "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_hard_reg_clobber", "(", "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": "rs60008", "Func": "generate_set_vrsave", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2879, "Length": 200, "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": 2880, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FixupSetCCPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "Changed", "=", "false", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "TII", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "SmallVector", "<", "MachineInstr", "*", ",", "4", ">", "ToErase", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "if", "(", "!", "isSetCCr", "(", "MI", ".", "getOpcode", "(", ")", ")", ")", "continue", ";", "MachineInstr", "*", "ZExt", "=", "nullptr", ";", "for", "(", "auto", "&", "Use", ":", "MRI", "->", "use_instructions", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", "if", "(", "Use", ".", "getOpcode", "(", ")", "==", "X86", "::", "MOVZX32rr8", ")", "ZExt", "=", "&", "Use", ";", "if", "(", "!", "ZExt", ")", "continue", ";", "MachineInstr", "*", "FlagsDefMI", "=", "findFlagsImpDef", "(", "MI", ".", "getParent", "(", ")", ",", "MachineBasicBlock", "::", "reverse_iterator", "(", "&", "MI", ")", ")", ";", "if", "(", "!", "FlagsDefMI", ")", "continue", ";", "if", "(", "impUsesFlags", "(", "FlagsDefMI", ")", ")", "continue", ";", "++", "NumSubstZexts", ";", "Changed", "=", "true", ";", "const", "TargetRegisterClass", "*", "RC", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", "?", "&", "X86", "::", "GR32RegClass", ":", "&", "X86", "::", "GR32_ABCDRegClass", ";", "unsigned", "ZeroReg", "=", "MRI", "->", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "InsertReg", "=", "MRI", "->", "createVirtualRegister", "(", "RC", ")", ";", "BuildMI", "(", "MBB", ",", "FlagsDefMI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "X86", "::", "MOV32r0", ")", ",", "ZeroReg", ")", ";", "BuildMI", "(", "*", "ZExt", "->", "getParent", "(", ")", ",", "ZExt", ",", "ZExt", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "X86", "::", "INSERT_SUBREG", ")", ",", "InsertReg", ")", ".", "addReg", "(", "ZeroReg", ")", ".", "addReg", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addImm", "(", "X86", "::", "sub_8bit", ")", ";", "MRI", "->", "replaceRegWith", "(", "ZExt", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "InsertReg", ")", ";", "ToErase", ".", "push_back", "(", "ZExt", ")", ";", "}", "}", "for", "(", "auto", "&", "I", ":", "ToErase", ")", "I", "->", "eraseFromParent", "(", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "4", "0", "X86::MOVZX32rr8", "X86", "X86::GR32RegClass", "X86::GR32_ABCDRegClass", "X86::MOV32r0", "X86::INSERT_SUBREG", "0", "X86::sub_8bit", "0"], "File": "X86FixupSetCC", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2881, "Length": 348, "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", "->", "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": "ARMSelectionDAGInfo4", "Func": "EmitTargetCodeForMemset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2882, "Length": 336, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "usesFunctionDescriptors", "(", ")", "const", "{", "return", "isAIXABI", "(", ")", "||", "(", "is64BitELFABI", "(", ")", "&&", "!", "isELFv2ABI", "(", ")", ")", ";", "}", ""], "natrual_language": ["True", "if", "the", "ABI", "is", "descriptor", "based", "."], "TS_V_token": ["PowerPC"], "File": "PPCSubtarget12", "Func": "usesFunctionDescriptors", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2883, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "AArch64InstrInfo", "::", "getElementSizeForOpcode", "(", "unsigned", "Opc", ")", "const", "{", "return", "get", "(", "Opc", ")", ".", "TSFlags", "&", "AArch64", "::", "ElementSizeMask", ";", "}", ""], "natrual_language": ["Returns", "the", "vector", "element", "size", "(", "B", ",", "H", ",", "S", "or", "D", ")", "of", "an", "SVE", "opcode", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::ElementSizeMask"], "File": "AArch64InstrInfo105", "Func": "getElementSizeForOpcode", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2884, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "nds32_output_stack_pop", "(", "rtx", "par_rtx", "ATTRIBUTE_UNUSED", ")", "{", "char", "pattern", "[", "100", "]", ";", "rtx", "operands", "[", "3", "]", ";", "int", "rb_callee_saved", "=", "cfun", "->", "machine", "->", "callee_saved_first_gpr_regno", ";", "int", "re_callee_saved", "=", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", ";", "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", ")", "&&", "!", "cfun", "->", "calls_alloca", ")", "operands", "[", "1", "]", "=", "GEN_INT", "(", "sp_adjust", ")", ";", "else", "operands", "[", "1", "]", "=", "GEN_INT", "(", "0", ")", ";", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"pop25\\t%%0, %%1\"", ")", ";", "}", "else", "{", "int", "pop_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", ")", "pop_en4_only_p", "=", "1", ";", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"pop.s\\t%s{%s%s%s }\"", ",", "pop_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", "pop", "operation", ".", "We", "need", "to", "deal", "with", "normal", "stack", "pop", "multiple", "or", "stack", "v3pop", "."], "TS_V_token": ["nds32", "100", "3", "0", "0", "1", "1", "0", "\"pop25\\t%%0, %%1\"", "0", "0", "1", "0", "1", "\"\"", "0", "1", "1", "\"pop.s\\t%s{%s%s%s }\"", "\"\"", "\"%0, %1, \"", "\" $fp\"", "\"\"", "\" $gp\"", "\"\"", "\" $lp\"", "\"\"", "\"\""], "File": "nds32-md-auxiliary2", "Func": "nds32_output_stack_pop", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2885, "Length": 318, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addPreEmitPass2", "(", ")", "{", "addPass", "(", "createARMFixCortexA57AES1742098Pass", "(", ")", ")", ";", "addPass", "(", "createARMBranchTargetsPass", "(", ")", ")", ";", "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", "ARM", "ARM"], "File": "ARMTargetMachine47", "Func": "addPreEmitPass2", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2886, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_init_fp16_types", "(", "void", ")", "{", "aarch64_fp16_type_node", "=", "make_node", "(", "REAL_TYPE", ")", ";", "TYPE_PRECISION", "(", "aarch64_fp16_type_node", ")", "=", "16", ";", "layout_type", "(", "aarch64_fp16_type_node", ")", ";", "(", "*", "lang_hooks", ".", "types", ".", "register_builtin_type", ")", "(", "aarch64_fp16_type_node", ",", "\"__fp16\"", ")", ";", "aarch64_fp16_ptr_type_node", "=", "build_pointer_type", "(", "aarch64_fp16_type_node", ")", ";", "}", ""], "natrual_language": ["Initialize", "the", "backend", "types", "that", "support", "the", "user-visible", "__fp16", "type", ",", "also", "initialize", "a", "pointer", "to", "that", "type", ",", "to", "be", "used", "when", "forming", "HFAs", "."], "TS_V_token": ["aarch64", "16", "\"__fp16\""], "File": "aarch64-builtins", "Func": "aarch64_init_fp16_types", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2887, "Length": 48, "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": 2888, "Length": 18, "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_None", ":", "case", "VK_CSKY_ADDR", ":", "return", "\"\"", ";", "case", "VK_CSKY_ADDR_HI16", ":", "return", "\"@HI16\"", ";", "case", "VK_CSKY_ADDR_LO16", ":", "return", "\"@LO16\"", ";", "case", "VK_CSKY_GOT_IMM18_BY4", ":", "case", "VK_CSKY_GOT", ":", "return", "\"@GOT\"", ";", "case", "VK_CSKY_GOTPC", ":", "return", "\"@GOTPC\"", ";", "case", "VK_CSKY_GOTOFF", ":", "return", "\"@GOTOFF\"", ";", "case", "VK_CSKY_PLT_IMM18_BY4", ":", "case", "VK_CSKY_PLT", ":", "return", "\"@PLT\"", ";", "case", "VK_CSKY_TLSLE", ":", "return", "\"@TPOFF\"", ";", "case", "VK_CSKY_TLSIE", ":", "return", "\"@GOTTPOFF\"", ";", "case", "VK_CSKY_TLSGD", ":", "return", "\"@TLSGD32\"", ";", "case", "VK_CSKY_TLSLDO", ":", "return", "\"@TLSLDO32\"", ";", "case", "VK_CSKY_TLSLDM", ":", "return", "\"@TLSLDM32\"", ";", "}", "}", ""], "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", "\"@HI16\"", "CSKY", "\"@LO16\"", "CSKY", "CSKY", "\"@GOT\"", "CSKY", "\"@GOTPC\"", "CSKY", "\"@GOTOFF\"", "CSKY", "CSKY", "\"@PLT\"", "CSKY", "\"@TPOFF\"", "CSKY", "\"@GOTTPOFF\"", "CSKY", "\"@TLSGD32\"", "CSKY", "\"@TLSLDO32\"", "CSKY", "\"@TLSLDM32\""], "File": "CSKYMCExpr", "Func": "getVariantKindName", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2889, "Length": 104, "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": 2890, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "MandarinRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Mandarin"], "File": "MandarinInstrInfo", "Func": "getRegisterInfo", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2891, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "SystemZDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"Selecting: \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"== \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "return", "0", ";", "}", "unsigned", "Opcode", "=", "Node", "->", "getOpcode", "(", ")", ";", "SDNode", "*", "ResNode", "=", "0", ";", "switch", "(", "Opcode", ")", "{", "case", "ISD", "::", "OR", ":", "case", "ISD", "::", "XOR", ":", "if", "(", "Node", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i64", ")", "if", "(", "ConstantSDNode", "*", "Op1", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Node", "->", "getOperand", "(", "1", ")", ")", ")", "{", "uint64_t", "Val", "=", "Op1", "->", "getZExtValue", "(", ")", ";", "if", "(", "!", "SystemZ", "::", "isImmLF", "(", "Val", ")", "&&", "!", "SystemZ", "::", "isImmHF", "(", "Val", ")", ")", "Node", "=", "splitLargeImmediate", "(", "Opcode", ",", "Node", ",", "Node", "->", "getOperand", "(", "0", ")", ",", "Val", "-", "uint32_t", "(", "Val", ")", ",", "uint32_t", "(", "Val", ")", ")", ";", "}", "break", ";", "case", "ISD", "::", "AND", ":", "ResNode", "=", "tryRISBGForAND", "(", "Node", ")", ";", "break", ";", "case", "ISD", "::", "Constant", ":", "if", "(", "Node", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i64", ")", "{", "uint64_t", "Val", "=", "cast", "<", "ConstantSDNode", ">", "(", "Node", ")", "->", "getZExtValue", "(", ")", ";", "if", "(", "!", "SystemZ", "::", "isImmLF", "(", "Val", ")", "&&", "!", "SystemZ", "::", "isImmHF", "(", "Val", ")", "&&", "!", "isInt", "<", "32", ">", "(", "Val", ")", ")", "Node", "=", "splitLargeImmediate", "(", "ISD", "::", "OR", ",", "Node", ",", "SDValue", "(", ")", ",", "Val", "-", "uint32_t", "(", "Val", ")", ",", "uint32_t", "(", "Val", ")", ")", ";", "}", "break", ";", "case", "ISD", "::", "ATOMIC_LOAD_SUB", ":", "if", "(", "ConstantSDNode", "*", "Op2", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Node", "->", "getOperand", "(", "2", ")", ")", ")", "{", "uint64_t", "Value", "=", "-", "Op2", "->", "getZExtValue", "(", ")", ";", "EVT", "VT", "=", "Node", "->", "getValueType", "(", "0", ")", ";", "if", "(", "VT", "==", "MVT", "::", "i32", "||", "isInt", "<", "32", ">", "(", "Value", ")", ")", "{", "SDValue", "Ops", "[", "]", "=", "{", "Node", "->", "getOperand", "(", "0", ")", ",", "Node", "->", "getOperand", "(", "1", ")", ",", "CurDAG", "->", "getConstant", "(", "int32_t", "(", "Value", ")", ",", "VT", ")", "}", ";", "Node", "=", "CurDAG", "->", "MorphNodeTo", "(", "Node", ",", "ISD", "::", "ATOMIC_LOAD_ADD", ",", "Node", "->", "getVTList", "(", ")", ",", "Ops", ",", "array_lengthof", "(", "Ops", ")", ")", ";", "}", "}", "break", ";", "}", "if", "(", "!", "ResNode", ")", "ResNode", "=", "SelectCode", "(", "Node", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"=> \"", ";", "if", "(", "ResNode", "==", "NULL", "||", "ResNode", "==", "Node", ")", "Node", "->", "dump", "(", "CurDAG", ")", ";", "else", "ResNode", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "\"\\n\"", ";", ")", ";", "return", "ResNode", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"Selecting: \"", "\"\\n\"", "\"== \"", "\"\\n\"", "0", "0", "ISD::OR", "ISD::XOR", "0", "MVT::i64", "1", "SystemZ::isImmLF", "SystemZ::isImmHF", "0", "ISD::AND", "ISD::Constant", "0", "MVT::i64", "SystemZ::isImmLF", "SystemZ::isImmHF", "32", "ISD::OR", "ISD::ATOMIC_LOAD_SUB", "2", "0", "MVT::i32", "32", "0", "1", "ISD::ATOMIC_LOAD_ADD", "\"=> \"", "\"\\n\""], "File": "SystemZISelDAGToDAG15", "Func": "Select", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2892, "Length": 477, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mmix_use_simple_return", "(", "void", ")", "{", "int", "regno", ";", "int", "stack_space_to_allocate", "=", "(", "current_function_outgoing_args_size", "+", "current_function_pretend_args_size", "+", "get_frame_size", "(", ")", "+", "7", ")", "&", "~", "7", ";", "if", "(", "!", "TARGET_USE_RETURN_INSN", "||", "!", "reload_completed", ")", "return", "0", ";", "for", "(", "regno", "=", "255", ";", "regno", ">=", "MMIX_FIRST_GLOBAL_REGNUM", ";", "regno", "--", ")", "if", "(", "(", "(", "(", "regno", "!=", "MMIX_FRAME_POINTER_REGNUM", "||", "!", "frame_pointer_needed", ")", "&&", "regs_ever_live", "[", "regno", "]", "&&", "!", "call_used_regs", "[", "regno", "]", ")", ")", "||", "IS_MMIX_EH_RETURN_DATA_REG", "(", "regno", ")", ")", "return", "0", ";", "if", "(", "frame_pointer_needed", ")", "stack_space_to_allocate", "+=", "8", ";", "if", "(", "MMIX_CFUN_HAS_LANDING_PAD", ")", "stack_space_to_allocate", "+=", "16", ";", "else", "if", "(", "MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS", ")", "stack_space_to_allocate", "+=", "8", ";", "return", "stack_space_to_allocate", "==", "0", ";", "}", ""], "natrual_language": ["Nonzero", "when", "the", "function", "epilogue", "is", "simple", "enough", "that", "a", "single", "``", "POP", "%", "d,0", "''", "should", "be", "used", "even", "within", "the", "function", "."], "TS_V_token": ["mmix", "7", "7", "0", "255", "0", "8", "16", "8", "0"], "File": "mmix3", "Func": "mmix_use_simple_return", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2893, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mmix_dynamic_chain_address", "(", "rtx", "frame", ")", "{", "return", "plus_constant", "(", "frame", ",", "-", "8", ")", ";", "}", ""], "natrual_language": ["DYNAMIC_CHAIN_ADDRESS", "."], "TS_V_token": ["mmix", "8"], "File": "mmix3", "Func": "mmix_dynamic_chain_address", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2894, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "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", ":", "{", "if", "(", "!", "ML", ")", "break", ";", "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", ">", "16", "&&", "LoopSize", "<=", "32", ")", "return", "5", ";", "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", "0", "16", "32", "5"], "File": "PPCISelLowering1", "Func": "getPrefLoopAlignment", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2895, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcFrameLowering", "::", "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": ["Sparc", "Sparc"], "File": "SparcFrameLowering1", "Func": "hasFP", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2896, "Length": 50, "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": 2897, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "std", "::", "vector", "<", "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", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "X86MachineFunctionInfo", "*", "X86FI", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "int", "XMMFrameSlotOrigin", ";", "int", "SEHFrameOffset", "=", "X86FI", "->", "getCalleeSavedXMMFrameInfo", "(", "XMMFrameSlotOrigin", ")", "+", "MF", ".", "getFrameInfo", "(", ")", ".", "getMaxCallFrameSize", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "if", "(", "MBB", ".", "isEHFuncletEntry", "(", ")", "&&", "STI", ".", "is64Bit", "(", ")", ")", "{", "if", "(", "X86", "::", "VR128RegClass", ".", "contains", "(", "Reg", ")", ")", "{", "int", "Offset", "=", "(", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", "-", "XMMFrameSlotOrigin", "-", "1", ")", "*", "16", ";", "addRegOffset", "(", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "getXMMAlignedLoadStoreOp", "(", "true", ")", ")", ",", "Reg", ")", ",", "X86", "::", "RSP", ",", "true", ",", "SEHFrameOffset", "+", "Offset", ")", ";", "}", "}", "else", "{", "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", "X86", "X86", "X86", "X86", "0", "X86::VR128RegClass", "1", "16", "X86::RSP", "X86::GR64RegClass", "X86::GR32RegClass", "MVT::Other", "X86::VK16RegClass", "MVT::v64i1", "MVT::v16i1", "X86::POP64r", "X86::POP32r", "0", "X86::GR64RegClass", "X86::GR32RegClass"], "File": "X86FrameLowering7", "Func": "restoreCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2898, "Length": 506, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "emitInlineAsmStart", "(", ")", "const", "{", "MipsTargetStreamer", "&", "TS", "=", "getTargetStreamer", "(", ")", ";", "TS", ".", "emitDirectiveSetPush", "(", ")", ";", "TS", ".", "emitDirectiveSetAt", "(", ")", ";", "TS", ".", "emitDirectiveSetMacro", "(", ")", ";", "TS", ".", "emitDirectiveSetReorder", "(", ")", ";", "OutStreamer", ".", "AddBlankLine", "(", ")", ";", "}", ""], "natrual_language": ["Let", "the", "target", "do", "anything", "it", "needs", "to", "do", "before", "emitting", "inlineasm", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsAsmPrinter22", "Func": "emitInlineAsmStart", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2899, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isFMAFasterThanFMulAndFAdd", "(", "EVT", "VT", ")", "const", "{", "if", "(", "!", "(", "Subtarget", "->", "hasFMA", "(", ")", "||", "Subtarget", "->", "hasFMA4", "(", ")", ")", ")", "return", "false", ";", "VT", "=", "VT", ".", "getScalarType", "(", ")", ";", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "case", "MVT", "::", "f32", ":", "case", "MVT", "::", "f64", ":", "return", "true", ";", "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": ["X86", "X86", "MVT::f32", "MVT::f64"], "File": "X86ISelLowering (2)", "Func": "isFMAFasterThanFMulAndFAdd", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2900, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ARM", "::", "LDR", ":", "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", "::", "t2LDRi12", ":", "case", "ARM", "::", "tRestore", ":", "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", "::", "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", ";", "}", "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::LDR", "ARM::t2LDRs", "1", "2", "3", "2", "0", "3", "0", "1", "0", "ARM::t2LDRi12", "ARM::tRestore", "1", "2", "2", "0", "1", "0", "ARM::VLDRD", "ARM::VLDRS", "1", "2", "2", "0", "1", "0", "0"], "File": "ARMBaseInstrInfo114", "Func": "isLoadFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2901, "Length": 286, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "nds32_cpu_cpp_builtins", "(", "struct", "cpp_reader", "*", "pfile", ")", "{", "builtin_define", "(", "\"__nds32__\"", ")", ";", "builtin_define", "(", "\"__NDS32__\"", ")", ";", "if", "(", "TARGET_HARD_FLOAT", ")", "builtin_define", "(", "\"__NDS32_ABI_2FP_PLUS__\"", ")", ";", "else", "builtin_define", "(", "\"__NDS32_ABI_2__\"", ")", ";", "if", "(", "TARGET_ISA_V2", ")", "builtin_define", "(", "\"__NDS32_ISA_V2__\"", ")", ";", "if", "(", "TARGET_ISA_V3", ")", "builtin_define", "(", "\"__NDS32_ISA_V3__\"", ")", ";", "if", "(", "TARGET_ISA_V3M", ")", "builtin_define", "(", "\"__NDS32_ISA_V3M__\"", ")", ";", "if", "(", "TARGET_FPU_SINGLE", ")", "builtin_define", "(", "\"__NDS32_EXT_FPU_SP__\"", ")", ";", "if", "(", "TARGET_FPU_DOUBLE", ")", "builtin_define", "(", "\"__NDS32_EXT_FPU_DP__\"", ")", ";", "if", "(", "TARGET_EXT_FPU_FMA", ")", "builtin_define", "(", "\"__NDS32_EXT_FPU_FMA__\"", ")", ";", "if", "(", "NDS32_EXT_FPU_DOT_E", ")", "builtin_define", "(", "\"__NDS32_EXT_FPU_DOT_E__\"", ")", ";", "if", "(", "TARGET_FPU_SINGLE", "||", "TARGET_FPU_DOUBLE", ")", "{", "switch", "(", "nds32_fp_regnum", ")", "{", "case", "0", ":", "case", "4", ":", "builtin_define", "(", "\"__NDS32_EXT_FPU_CONFIG_0__\"", ")", ";", "break", ";", "case", "1", ":", "case", "5", ":", "builtin_define", "(", "\"__NDS32_EXT_FPU_CONFIG_1__\"", ")", ";", "break", ";", "case", "2", ":", "case", "6", ":", "builtin_define", "(", "\"__NDS32_EXT_FPU_CONFIG_2__\"", ")", ";", "break", ";", "case", "3", ":", "case", "7", ":", "builtin_define", "(", "\"__NDS32_EXT_FPU_CONFIG_3__\"", ")", ";", "break", ";", "default", ":", "abort", "(", ")", ";", "}", "}", "if", "(", "TARGET_BIG_ENDIAN", ")", "builtin_define", "(", "\"__NDS32_EB__\"", ")", ";", "else", "builtin_define", "(", "\"__NDS32_EL__\"", ")", ";", "if", "(", "TARGET_REDUCED_REGS", ")", "builtin_define", "(", "\"__NDS32_REDUCED_REGS__\"", ")", ";", "if", "(", "TARGET_CMOV", ")", "builtin_define", "(", "\"__NDS32_CMOV__\"", ")", ";", "if", "(", "TARGET_EXT_PERF", ")", "builtin_define", "(", "\"__NDS32_EXT_PERF__\"", ")", ";", "if", "(", "TARGET_EXT_PERF2", ")", "builtin_define", "(", "\"__NDS32_EXT_PERF2__\"", ")", ";", "if", "(", "TARGET_EXT_STRING", ")", "builtin_define", "(", "\"__NDS32_EXT_STRING__\"", ")", ";", "if", "(", "TARGET_16_BIT", ")", "builtin_define", "(", "\"__NDS32_16_BIT__\"", ")", ";", "if", "(", "TARGET_GP_DIRECT", ")", "builtin_define", "(", "\"__NDS32_GP_DIRECT__\"", ")", ";", "if", "(", "TARGET_VH", ")", "builtin_define", "(", "\"__NDS32_VH__\"", ")", ";", "if", "(", "TARGET_BIG_ENDIAN", ")", "builtin_define", "(", "\"__big_endian__\"", ")", ";", "builtin_assert", "(", "\"cpu=nds32\"", ")", ";", "builtin_assert", "(", "\"machine=nds32\"", ")", ";", "if", "(", "TARGET_HARD_FLOAT", ")", "builtin_define", "(", "\"__NDS32_ABI_2FP_PLUS\"", ")", ";", "else", "builtin_define", "(", "\"__NDS32_ABI_2\"", ")", ";", "}", ""], "natrual_language": ["Run-time", "Target", "Specification", "."], "TS_V_token": ["nds32", "\"__nds32__\"", "\"__NDS32__\"", "\"__NDS32_ABI_2FP_PLUS__\"", "\"__NDS32_ABI_2__\"", "\"__NDS32_ISA_V2__\"", "\"__NDS32_ISA_V3__\"", "\"__NDS32_ISA_V3M__\"", "\"__NDS32_EXT_FPU_SP__\"", "\"__NDS32_EXT_FPU_DP__\"", "\"__NDS32_EXT_FPU_FMA__\"", "\"__NDS32_EXT_FPU_DOT_E__\"", "0", "4", "\"__NDS32_EXT_FPU_CONFIG_0__\"", "1", "5", "\"__NDS32_EXT_FPU_CONFIG_1__\"", "2", "6", "\"__NDS32_EXT_FPU_CONFIG_2__\"", "3", "7", "\"__NDS32_EXT_FPU_CONFIG_3__\"", "\"__NDS32_EB__\"", "\"__NDS32_EL__\"", "\"__NDS32_REDUCED_REGS__\"", "\"__NDS32_CMOV__\"", "\"__NDS32_EXT_PERF__\"", "\"__NDS32_EXT_PERF2__\"", "\"__NDS32_EXT_STRING__\"", "\"__NDS32_16_BIT__\"", "\"__NDS32_GP_DIRECT__\"", "\"__NDS32_VH__\"", "\"__big_endian__\"", "\"cpu=nds32\"", "\"machine=nds32\"", "\"__NDS32_ABI_2FP_PLUS\"", "\"__NDS32_ABI_2\""], "File": "nds325", "Func": "nds32_cpu_cpp_builtins", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2902, "Length": 291, "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": 2903, "Length": 40, "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", "void", "*", "Decoder", ")", "{", "const", "MCDisassembler", "*", "Dis", "=", "static_cast", "<", "const", "MCDisassembler", "*", ">", "(", "Decoder", ")", ";", "return", "Dis", "->", "tryAddingSymbolicOperand", "(", "MI", ",", "Value", ",", "Address", ",", "isBranch", ",", "Offset", ",", "Width", ")", ";", "}", ""], "natrual_language": ["Try", "to", "add", "a", "symbolic", "operand", "instead", "of", "Value", "to", "the", "MCInst", "."], "TS_V_token": ["SystemZ"], "File": "SystemZDisassembler (2)1", "Func": "tryAddingSymbolicOperand", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2904, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsELFStreamer", "::", "createPendingLabelRelocs", "(", ")", "{", "MipsTargetELFStreamer", "*", "ELFTargetStreamer", "=", "static_cast", "<", "MipsTargetELFStreamer", "*", ">", "(", "getTargetStreamer", "(", ")", ")", ";", "if", "(", "ELFTargetStreamer", "->", "isMicroMipsEnabled", "(", ")", ")", "{", "for", "(", "auto", "*", "L", ":", "Labels", ")", "{", "auto", "*", "Label", "=", "cast", "<", "MCSymbolELF", ">", "(", "L", ")", ";", "getAssembler", "(", ")", ".", "registerSymbol", "(", "*", "Label", ")", ";", "Label", "->", "setOther", "(", "ELF", "::", "STO_MIPS_MICROMIPS", ")", ";", "}", "}", "Labels", ".", "clear", "(", ")", ";", "}", ""], "natrual_language": ["Mark", "labels", "as", "microMIPS", ",", "if", "necessary", "for", "the", "subtarget", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsELFStreamer1", "Func": "createPendingLabelRelocs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2905, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "SHUXIRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "return", "CC_Save_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["SHUXI", "SHUXI"], "File": "SHUXIRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2906, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "vax_acceptable_pic_operand_p", "(", "rtx", "x", "ATTRIBUTE_UNUSED", ",", "bool", "local_p", "ATTRIBUTE_UNUSED", ",", "bool", "symbol_p", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "PLUS", ")", "{", "x", "=", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ";", "local_p", "=", "true", ";", "}", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "SYMBOL_REF", ":", "return", "symbol_p", "&&", "!", "(", "local_p", "&&", "!", "SYMBOL_REF_LOCAL_P", "(", "x", ")", ")", ";", "case", "LABEL_REF", ":", "return", "symbol_p", "&&", "!", "(", "local_p", "&&", "LABEL_REF_NONLOCAL_P", "(", "x", ")", ")", ";", "default", ":", "break", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["With", "ELF", "we", "do", "not", "support", "GOT", "entries", "for", "external", "`", "symbol+offset", "'", "references", ",", "so", "do", "not", "accept", "external", "symbol", "references", "if", "an", "offset", "is", "to", "be", "added", ".", "Do", "not", "accept", "external", "symbol", "references", "at", "all", "if", "LOCAL_P", "is", "set", ".", "This", "is", "for", "cases", "where", "making", "a", "reference", "indirect", "would", "make", "it", "invalid", ".", "Do", "not", "accept", "any", "kind", "of", "symbols", "if", "SYMBOL_P", "is", "clear", ".", "This", "is", "for", "situations", "where", "the", "a", "reference", "is", "used", "as", "an", "immediate", "value", "for", "operations", "other", "than", "address", "loads", "(", "MOVA/PUSHA", ")", ",", "as", "those", "operations", "do", "not", "support", "PC-relative", "immediates", "."], "TS_V_token": ["vax", "0", "0", "0"], "File": "vax", "Func": "vax_acceptable_pic_operand_p", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2907, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "rs6000_dbx_register_number", "(", "unsigned", "int", "regno", ",", "unsigned", "int", "format", ")", "{", "if", "(", "(", "format", "==", "0", "&&", "dwarf_debuginfo_p", "(", ")", ")", "||", "format", "==", "1", ")", "{", "if", "(", "regno", "<=", "31", ")", "return", "regno", ";", "if", "(", "FP_REGNO_P", "(", "regno", ")", ")", "return", "regno", "-", "FIRST_FPR_REGNO", "+", "32", ";", "if", "(", "ALTIVEC_REGNO_P", "(", "regno", ")", ")", "return", "regno", "-", "FIRST_ALTIVEC_REGNO", "+", "1124", ";", "if", "(", "regno", "==", "LR_REGNO", ")", "return", "108", ";", "if", "(", "regno", "==", "CTR_REGNO", ")", "return", "109", ";", "if", "(", "regno", "==", "CA_REGNO", ")", "return", "101", ";", "if", "(", "format", "==", "1", "&&", "regno", "==", "CR2_REGNO", ")", "return", "64", ";", "if", "(", "CR_REGNO_P", "(", "regno", ")", ")", "return", "regno", "-", "CR0_REGNO", "+", "86", ";", "if", "(", "regno", "==", "VRSAVE_REGNO", ")", "return", "356", ";", "if", "(", "regno", "==", "VSCR_REGNO", ")", "return", "67", ";", "if", "(", "regno", "==", "FRAME_POINTER_REGNUM", ")", "return", "111", ";", "if", "(", "regno", "==", "ARG_POINTER_REGNUM", ")", "return", "67", ";", "if", "(", "regno", "==", "64", ")", "return", "100", ";", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "regno", "<=", "31", ")", "return", "regno", ";", "if", "(", "FP_REGNO_P", "(", "regno", ")", ")", "return", "regno", "-", "FIRST_FPR_REGNO", "+", "32", ";", "if", "(", "ALTIVEC_REGNO_P", "(", "regno", ")", ")", "return", "regno", "-", "FIRST_ALTIVEC_REGNO", "+", "77", ";", "if", "(", "regno", "==", "LR_REGNO", ")", "return", "65", ";", "if", "(", "regno", "==", "CTR_REGNO", ")", "return", "66", ";", "if", "(", "regno", "==", "CA_REGNO", ")", "return", "76", ";", "if", "(", "CR_REGNO_P", "(", "regno", ")", ")", "return", "regno", "-", "CR0_REGNO", "+", "68", ";", "if", "(", "regno", "==", "VRSAVE_REGNO", ")", "return", "109", ";", "if", "(", "regno", "==", "VSCR_REGNO", ")", "return", "110", ";", "if", "(", "regno", "==", "FRAME_POINTER_REGNUM", ")", "return", "111", ";", "if", "(", "regno", "==", "ARG_POINTER_REGNUM", ")", "return", "67", ";", "if", "(", "regno", "==", "64", ")", "return", "64", ";", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Map", "internal", "gcc", "register", "numbers", "to", "DWARF2", "register", "numbers", "."], "TS_V_token": ["rs6000", "0", "1", "31", "32", "1124", "108", "109", "101", "1", "64", "86", "356", "67", "111", "67", "64", "100", "31", "32", "77", "65", "66", "76", "68", "109", "110", "111", "67", "64", "64"], "File": "rs6000", "Func": "rs6000_dbx_register_number", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2908, "Length": 299, "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", ">", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "bool", "HasSSE", "=", "Subtarget", ".", "hasSSE1", "(", ")", ";", "bool", "HasAVX", "=", "Subtarget", ".", "hasAVX", "(", ")", ";", "bool", "HasAVX512", "=", "Subtarget", ".", "hasAVX512", "(", ")", ";", "bool", "CallsEHReturn", "=", "MF", "->", "callsEHReturn", "(", ")", ";", "CallingConv", "::", "ID", "CC", "=", "F", ".", "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", "::", "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", ")", "{", "bool", "IsSwiftCC", "=", "Subtarget", ".", "getTargetLowering", "(", ")", "->", "supportSwiftError", "(", ")", "&&", "F", ".", "getAttributes", "(", ")", ".", "hasAttrSomewhere", "(", "Attribute", "::", "SwiftError", ")", ";", "if", "(", "IsSwiftCC", ")", "return", "IsWin64", "?", "CSR_Win64_SwiftError_SaveList", ":", "CSR_64_SwiftError_SaveList", ";", "if", "(", "IsWin64", ")", "return", "HasSSE", "?", "CSR_Win64_SaveList", ":", "CSR_Win64_NoSSE_SaveList", ";", "if", "(", "CallsEHReturn", ")", "return", "CSR_64EHRet_SaveList", ";", "return", "CSR_64_SaveList", ";", "}", "return", "CallsEHReturn", "?", "CSR_32EHRet_SaveList", ":", "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"], "File": "X86RegisterInfo (2)2", "Func": "getCalleeSavedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2909, "Length": 497, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "sh_address_cost", "(", "rtx", "X", ")", "{", "return", "(", "GET_CODE", "(", "X", ")", "==", "PLUS", "&&", "!", "CONSTANT_P", "(", "XEXP", "(", "X", ",", "1", ")", ")", "&&", "!", "TARGET_SHMEDIA", "?", "1", ":", "0", ")", ";", "}", ""], "natrual_language": ["Compute", "the", "cost", "of", "an", "address", ".", "For", "the", "SH", ",", "all", "valid", "addresses", "are", "the", "same", "cost", ".", "Use", "a", "slightly", "higher", "cost", "for", "reg", "+", "reg", "addressing", ",", "since", "it", "increases", "pressure", "on", "r0", "."], "TS_V_token": ["sh", "1", "1", "0"], "File": "sh3", "Func": "sh_address_cost", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2910, "Length": 37, "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": 2911, "Length": 252, "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": ["VE"], "File": "VETargetMachine", "Func": "getObjFileLowering", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2912, "Length": 16, "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": 2913, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_hard_regno_mode_ok", "(", "unsigned", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_CC", ")", "return", "regno", "==", "CC_REGNUM", ";", "if", "(", "regno", "==", "VG_REGNUM", ")", "return", "mode", "==", "DImode", ";", "unsigned", "int", "vec_flags", "=", "aarch64_classify_vector_mode", "(", "mode", ")", ";", "if", "(", "vec_flags", "&", "VEC_SVE_PRED", ")", "return", "PR_REGNUM_P", "(", "regno", ")", ";", "if", "(", "PR_REGNUM_P", "(", "regno", ")", ")", "return", "0", ";", "if", "(", "regno", "==", "SP_REGNUM", ")", "return", "mode", "==", "Pmode", "||", "mode", "==", "ptr_mode", ";", "if", "(", "regno", "==", "FRAME_POINTER_REGNUM", "||", "regno", "==", "ARG_POINTER_REGNUM", ")", "return", "mode", "==", "Pmode", ";", "if", "(", "GP_REGNUM_P", "(", "regno", ")", ")", "{", "if", "(", "known_le", "(", "GET_MODE_SIZE", "(", "mode", ")", ",", "8", ")", ")", "return", "true", ";", "else", "if", "(", "known_le", "(", "GET_MODE_SIZE", "(", "mode", ")", ",", "16", ")", ")", "return", "(", "regno", "&", "1", ")", "==", "0", ";", "}", "else", "if", "(", "FP_REGNUM_P", "(", "regno", ")", ")", "{", "if", "(", "vec_flags", "&", "VEC_STRUCT", ")", "return", "end_hard_regno", "(", "mode", ",", "regno", ")", "-", "1", "<=", "V31_REGNUM", ";", "else", "return", "!", "VECTOR_MODE_P", "(", "mode", ")", "||", "vec_flags", "!=", "0", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "HARD_REGNO_MODE_OK", "."], "TS_V_token": ["aarch64", "0", "8", "16", "1", "0", "1", "0"], "File": "aarch646", "Func": "aarch64_hard_regno_mode_ok", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2914, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_expand_vi_constant", "(", "machine_mode", "vmode", ",", "unsigned", "nelt", ",", "rtx", "target", ",", "rtx", "vals", ")", "{", "rtvec", "vec", "=", "shallow_copy_rtvec", "(", "XVEC", "(", "vals", ",", "0", ")", ")", ";", "unsigned", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "{", "if", "(", "!", "mips_constant_elt_p", "(", "RTVEC_ELT", "(", "vec", ",", "i", ")", ")", ")", "RTVEC_ELT", "(", "vec", ",", "i", ")", "=", "const0_rtx", ";", "}", "emit_move_insn", "(", "target", ",", "gen_rtx_CONST_VECTOR", "(", "vmode", ",", "vec", ")", ")", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "mips_expand_vec_init", ",", "replacing", "all", "of", "the", "non-constant", "elements", "of", "VALS", "with", "zeros", ",", "copy", "the", "constant", "vector", "to", "TARGET", "."], "TS_V_token": ["mips", "0", "0"], "File": "mips4", "Func": "mips_expand_vi_constant", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2915, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "F2003fAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "F2003fMCInstLower", "MCInstLowering", "(", "OutContext", ",", "*", "this", ")", ";", "MachineBasicBlock", "::", "const_instr_iterator", "I", "=", "MI", "->", "getIterator", "(", ")", ";", "MachineBasicBlock", "::", "const_instr_iterator", "E", "=", "MI", "->", "getParent", "(", ")", "->", "instr_end", "(", ")", ";", "do", "{", "MCInst", "TmpInst", ";", "MCInstLowering", ".", "Lower", "(", "&", "*", "I", ",", "TmpInst", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "TmpInst", ")", ";", "}", "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": ["F2003f", "F2003f", "F2003f"], "File": "F2003fAsmPrinter", "Func": "EmitInstruction", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2916, "Length": 88, "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", "(", "F", ".", "hasAddressTaken", "(", ")", ")", "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": "AArch64InstrInfo (2)", "Func": "isFunctionSafeToOutlineFrom", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2917, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "long", "arm_compute_save_core_reg_mask", "(", "void", ")", "{", "unsigned", "int", "save_reg_mask", "=", "0", ";", "unsigned", "long", "func_type", "=", "arm_current_func_type", "(", ")", ";", "unsigned", "int", "reg", ";", "if", "(", "IS_NAKED", "(", "func_type", ")", ")", "return", "0", ";", "if", "(", "TARGET_APCS_FRAME", "&&", "frame_pointer_needed", "&&", "TARGET_ARM", ")", "save_reg_mask", "|=", "(", "1", "<<", "ARM_HARD_FRAME_POINTER_REGNUM", ")", "|", "(", "1", "<<", "IP_REGNUM", ")", "|", "(", "1", "<<", "LR_REGNUM", ")", "|", "(", "1", "<<", "PC_REGNUM", ")", ";", "save_reg_mask", "|=", "arm_compute_save_reg0_reg12_mask", "(", ")", ";", "if", "(", "df_regs_ever_live_p", "(", "LR_REGNUM", ")", "||", "(", "save_reg_mask", "&&", "optimize_size", "&&", "ARM_FUNC_TYPE", "(", "func_type", ")", "==", "ARM_FT_NORMAL", "&&", "!", "crtl", "->", "tail_call_emit", "&&", "!", "crtl", "->", "calls_eh_return", ")", ")", "save_reg_mask", "|=", "1", "<<", "LR_REGNUM", ";", "if", "(", "cfun", "->", "machine", "->", "lr_save_eliminated", ")", "save_reg_mask", "&=", "~", "(", "1", "<<", "LR_REGNUM", ")", ";", "if", "(", "TARGET_REALLY_IWMMXT", "&&", "(", "(", "bit_count", "(", "save_reg_mask", ")", "+", "ARM_NUM_INTS", "(", "crtl", "->", "args", ".", "pretend_args_size", "+", "arm_compute_static_chain_stack_bytes", "(", ")", ")", ")", "%", "2", ")", "!=", "0", ")", "{", "for", "(", "reg", "=", "4", ";", "reg", "<=", "12", ";", "reg", "++", ")", "if", "(", "(", "save_reg_mask", "&", "(", "1", "<<", "reg", ")", ")", "==", "0", ")", "break", ";", "if", "(", "reg", "<=", "12", ")", "save_reg_mask", "|=", "(", "1", "<<", "reg", ")", ";", "else", "{", "cfun", "->", "machine", "->", "sibcall_blocked", "=", "1", ";", "save_reg_mask", "|=", "(", "1", "<<", "3", ")", ";", "}", "}", "if", "(", "TARGET_THUMB2", "&&", "IS_NESTED", "(", "func_type", ")", "&&", "flag_pic", "&&", "(", "save_reg_mask", "&", "THUMB2_WORK_REGS", ")", "==", "0", ")", "{", "reg", "=", "thumb_find_work_register", "(", "1", "<<", "4", ")", ";", "if", "(", "!", "call_used_regs", "[", "reg", "]", ")", "save_reg_mask", "|=", "(", "1", "<<", "reg", ")", ";", "}", "return", "save_reg_mask", ";", "}", ""], "natrual_language": ["Compute", "a", "bit", "mask", "of", "which", "core", "registers", "need", "to", "be", "saved", "on", "the", "stack", "for", "the", "current", "function", ".", "This", "is", "used", "by", "arm_compute_frame_layout", ",", "which", "may", "add", "extra", "registers", "."], "TS_V_token": ["arm", "0", "0", "1", "1", "1", "1", "1", "1", "2", "0", "4", "12", "1", "0", "12", "1", "1", "1", "3", "0", "1", "4", "1"], "File": "arm7", "Func": "arm_compute_save_core_reg_mask", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2918, "Length": 273, "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": 2919, "Length": 76, "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", "AArch64InstrInfo", "*", "TII", "=", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "AArch64FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "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", ";", "}", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "LOCAL_ESCAPE", ")", "{", "MachineOperand", "&", "FI", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ";", "Offset", "=", "TFI", "->", "getNonLocalFrameIndexReference", "(", "MF", ",", "FrameIndex", ")", ";", "FI", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "return", ";", "}", "Offset", "=", "TFI", "->", "getFrameIndexReference", "(", "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", "AArch64", "1", "1", "AArch64", "\"Emergency spill slot is out of reach\"", "AArch64::GPR64RegClass"], "File": "AArch64RegisterInfo33", "Func": "eliminateFrameIndex", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2920, "Length": 348, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "ix86_minimum_incoming_stack_boundary", "(", "bool", "sibcall", ")", "{", "unsigned", "int", "incoming_stack_boundary", ";", "if", "(", "cfun", "->", "machine", "->", "func_type", "!=", "TYPE_NORMAL", ")", "incoming_stack_boundary", "=", "TARGET_64BIT", "?", "128", ":", "MIN_STACK_BOUNDARY", ";", "else", "if", "(", "ix86_user_incoming_stack_boundary", ")", "incoming_stack_boundary", "=", "ix86_user_incoming_stack_boundary", ";", "else", "if", "(", "!", "sibcall", "&&", "ix86_force_align_arg_pointer", "&&", "crtl", "->", "stack_alignment_estimated", "==", "128", ")", "incoming_stack_boundary", "=", "MIN_STACK_BOUNDARY", ";", "else", "incoming_stack_boundary", "=", "ix86_default_incoming_stack_boundary", ";", "if", "(", "incoming_stack_boundary", ">", "MIN_STACK_BOUNDARY", "&&", "lookup_attribute", "(", "ix86_force_align_arg_pointer_string", ",", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "current_function_decl", ")", ")", ")", ")", "incoming_stack_boundary", "=", "MIN_STACK_BOUNDARY", ";", "if", "(", "incoming_stack_boundary", "<", "crtl", "->", "parm_stack_boundary", ")", "incoming_stack_boundary", "=", "crtl", "->", "parm_stack_boundary", ";", "if", "(", "incoming_stack_boundary", ">", "MAIN_STACK_BOUNDARY", "&&", "DECL_NAME", "(", "current_function_decl", ")", "&&", "MAIN_NAME_P", "(", "DECL_NAME", "(", "current_function_decl", ")", ")", "&&", "DECL_FILE_SCOPE_P", "(", "current_function_decl", ")", ")", "incoming_stack_boundary", "=", "MAIN_STACK_BOUNDARY", ";", "return", "incoming_stack_boundary", ";", "}", ""], "natrual_language": ["Return", "minimum", "incoming", "stack", "alignment", "."], "TS_V_token": ["i386", "128", "128"], "File": "i3866", "Func": "ix86_minimum_incoming_stack_boundary", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2921, "Length": 132, "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", "(", ")", "&&", "TM", ".", "Options", ".", "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": "ARMFastISel28", "Func": "CCAssignFnForCall", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2922, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_expand_vec_perm_const_1", "(", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ",", "unsigned", "char", "perm0", ",", "unsigned", "char", "perm1", ")", "{", "rtx", "x", ";", "if", "(", "(", "perm0", "&", "2", ")", "==", "(", "perm1", "&", "2", ")", ")", "{", "if", "(", "perm0", "&", "2", ")", "op0", "=", "op1", ";", "else", "op1", "=", "op0", ";", "}", "if", "(", "rtx_equal_p", "(", "op0", ",", "op1", ")", ")", "{", "perm0", "=", "perm0", "&", "1", ";", "perm1", "=", "(", "perm1", "&", "1", ")", "+", "2", ";", "}", "else", "if", "(", "perm0", "&", "2", ")", "{", "if", "(", "perm1", "&", "2", ")", "return", "false", ";", "perm0", "-=", "2", ";", "perm1", "+=", "2", ";", "std", "::", "swap", "(", "op0", ",", "op1", ")", ";", "}", "else", "if", "(", "(", "perm1", "&", "2", ")", "==", "0", ")", "return", "false", ";", "if", "(", "target", "!=", "NULL", ")", "{", "machine_mode", "vmode", ",", "dmode", ";", "rtvec", "v", ";", "vmode", "=", "GET_MODE", "(", "target", ")", ";", "gcc_assert", "(", "GET_MODE_NUNITS", "(", "vmode", ")", "==", "2", ")", ";", "dmode", "=", "mode_for_vector", "(", "GET_MODE_INNER", "(", "vmode", ")", ",", "4", ")", ".", "require", "(", ")", ";", "x", "=", "gen_rtx_VEC_CONCAT", "(", "dmode", ",", "op0", ",", "op1", ")", ";", "v", "=", "gen_rtvec", "(", "2", ",", "GEN_INT", "(", "perm0", ")", ",", "GEN_INT", "(", "perm1", ")", ")", ";", "x", "=", "gen_rtx_VEC_SELECT", "(", "vmode", ",", "x", ",", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "v", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "target", ",", "x", ")", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Expand", "a", "Paired", "Single", "or", "VSX", "Permute", "Doubleword", "constant", "permutation", ".", "Return", "true", "if", "we", "match", "an", "efficient", "implementation", "."], "TS_V_token": ["powerpcspe", "2", "2", "2", "1", "1", "2", "2", "2", "2", "2", "2", "0", "2", "4", "2"], "File": "powerpcspe", "Func": "rs6000_expand_vec_perm_const_1", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2923, "Length": 239, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "toc_relative_expr_p", "(", "const_rtx", "op", ",", "bool", "strict", ")", "{", "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", ")", ";", "}", "tocrel_base", "=", "op", ";", "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", ")", ";", "}", "return", "(", "GET_CODE", "(", "tocrel_base", ")", "==", "UNSPEC", "&&", "XINT", "(", "tocrel_base", ",", "1", ")", "==", "UNSPEC_TOCREL", ")", ";", "}", ""], "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"], "File": "rs60006", "Func": "toc_relative_expr_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2924, "Length": 155, "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", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "Options", ".", "StackAlignmentOverride", ")", ",", "FrameLowering", "(", "*", "this", ",", "Subtarget", ")", ",", "InstrItins", "(", "Subtarget", ".", "getInstrItineraryData", "(", ")", ")", ",", "DL", "(", "computeDataLayout", "(", "*", "getSubtargetImpl", "(", ")", ")", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "JITInfo", "(", "*", "this", ")", "{", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "RIPRel", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "isTargetCOFF", "(", ")", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "StubPIC", ")", ";", "else", "{", "assert", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "DynamicNoPIC", ")", ";", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "StubDynamicNoPIC", ")", ";", "}", "}", "else", "if", "(", "Subtarget", ".", "isTargetELF", "(", ")", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "GOT", ")", ";", "}", "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": "X86TargetMachine67", "Func": "X86TargetMachine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2925, "Length": 298, "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", "::", "MTCRF8", "&&", "MI", ".", "getOpcode", "(", ")", "!=", "PPC", "::", "MFOCRF", ")", "||", "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::MTCRF", "PPC::MTCRF8", "PPC::MFOCRF", "PPC::CR0", "PPC::CR7", "\"Relocation required in an instruction that we cannot encode!\""], "File": "PPCCodeEmitter1", "Func": "getMachineOpValue", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2926, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseInstrInfo", "::", "predictBranchSizeForIfCvt", "(", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "ARM", "::", "t2Bcc", "&&", "findCMPToFoldIntoCBZ", "(", "&", "MI", ",", "&", "getRegisterInfo", "(", ")", ")", ")", "return", "0", ";", "unsigned", "Size", "=", "getInstSizeInBytes", "(", "MI", ")", ";", "if", "(", "Subtarget", ".", "isThumb2", "(", ")", ")", "Size", "/=", "2", ";", "return", "Size", ";", "}", ""], "natrual_language": ["Return", "an", "estimate", "for", "the", "code", "size", "reduction", "(", "in", "bytes", ")", "which", "will", "be", "caused", "by", "removing", "the", "given", "branch", "instruction", "during", "if-conversion", "."], "TS_V_token": ["ARM", "ARM", "ARM::t2Bcc", "0", "2"], "File": "ARMBaseInstrInfo110", "Func": "predictBranchSizeForIfCvt", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2927, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mep_get_move_insn", "(", "int", "intrinsic", ",", "const", "struct", "cgen_insn", "*", "*", "cgen_insn", ")", "{", "size_t", "i", ";", "if", "(", "intrinsic", "==", "mep_cmov", ")", "{", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "mep_cmov_insns", ")", ";", "i", "++", ")", "if", "(", "mep_get_intrinsic_insn", "(", "mep_cmov_insns", "[", "i", "]", ",", "cgen_insn", ")", ")", "return", "true", ";", "return", "false", ";", "}", "return", "mep_get_intrinsic_insn", "(", "intrinsic", ",", "cgen_insn", ")", ";", "}", ""], "natrual_language": ["Like", "mep_get_intrinsic_insn", ",", "but", "with", "extra", "handling", "for", "moves", ".", "If", "INTRINSIC", "is", "mep_cmov", ",", "but", "there", "is", "no", "pure", "CR", "<", "-", "CR", "move", "insn", ",", "try", "using", "a", "work-alike", "instead", ".", "In", "this", "case", ",", "the", "returned", "insn", "may", "have", "three", "operands", "rather", "than", "two", "."], "TS_V_token": ["mep", "0"], "File": "mep", "Func": "mep_get_move_insn", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2928, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "ExpandInlineAsm", "(", "CallInst", "*", "CI", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "hasV6Ops", "(", ")", ")", "return", "false", ";", "InlineAsm", "*", "IA", "=", "cast", "<", "InlineAsm", ">", "(", "CI", "->", "getCalledValue", "(", ")", ")", ";", "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": "ARMISelLowering179", "Func": "ExpandInlineAsm", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2929, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "emitInlineAsmEnd", "(", "const", "MCSubtargetInfo", "&", "StartInfo", ",", "const", "MCSubtargetInfo", "*", "EndInfo", ")", "const", "{", "OutStreamer", "->", "AddBlankLine", "(", ")", ";", "getTargetStreamer", "(", ")", ".", "emitDirectiveSetPop", "(", ")", ";", "}", ""], "natrual_language": ["Let", "the", "target", "do", "anything", "it", "needs", "to", "do", "after", "emitting", "inlineasm", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsAsmPrinter (2)1", "Func": "emitInlineAsmEnd", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2930, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LC3bMCInstLower", "::", "Initialize", "(", "Mangler", "*", "M", ",", "MCContext", "*", "C", ")", "{", "Mang", "=", "M", ";", "Ctx", "=", "C", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["LC3b", "LC3b"], "File": "LC3bMCInstLower", "Func": "Initialize", "Target": "LC3b", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2931, "Length": 23, "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", "::", "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", ")", ";", "}", "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::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"], "File": "MipsISelLowering21", "Func": "LowerOperation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2932, "Length": 333, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", ",", "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": "LanaiFrameLowering", "Func": "emitEpilogue", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2933, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "LoopInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "LoopInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "ScalarEvolution", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["PowerPC"], "File": "PPCCTRLoops19", "Func": "getAnalysisUsage", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2934, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "standard_80387_constant_p", "(", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "!=", "CONST_DOUBLE", "||", "!", "FLOAT_MODE_P", "(", "GET_MODE", "(", "x", ")", ")", ")", "return", "-", "1", ";", "if", "(", "x", "==", "CONST0_RTX", "(", "GET_MODE", "(", "x", ")", ")", ")", "return", "1", ";", "if", "(", "x", "==", "CONST1_RTX", "(", "GET_MODE", "(", "x", ")", ")", ")", "return", "2", ";", "if", "(", "GET_MODE", "(", "x", ")", "==", "XFmode", "&&", "(", "optimize_size", "||", "x86_ext_80387_constants", "&", "TUNEMASK", ")", ")", "{", "REAL_VALUE_TYPE", "r", ";", "int", "i", ";", "if", "(", "!", "ext_80387_constants_init", ")", "init_ext_80387_constants", "(", ")", ";", "REAL_VALUE_FROM_CONST_DOUBLE", "(", "r", ",", "x", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "5", ";", "i", "++", ")", "if", "(", "real_identical", "(", "&", "r", ",", "&", "ext_80387_constants_table", "[", "i", "]", ")", ")", "return", "i", "+", "3", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "constant", "is", "something", "that", "can", "be", "loaded", "with", "a", "special", "instruction", "."], "TS_V_token": ["i386", "1", "1", "2", "0", "5", "3", "0"], "File": "i3863", "Func": "standard_80387_constant_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2935, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sparc_can_use_return_insn_p", "(", "void", ")", "{", "return", "sparc_prologue_data_valid_p", "&&", "sparc_n_global_fp_regs", "==", "0", "&&", "TARGET_FLAT", "?", "(", "sparc_frame_size", "==", "0", "&&", "!", "sparc_save_local_in_regs_p", ")", ":", "(", "sparc_frame_size", "==", "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", "0", "0"], "File": "sparc", "Func": "sparc_can_use_return_insn_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2936, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getBaseReg", "(", ")", "{", "return", "BaseReg", ";", "}", ""], "natrual_language": ["Get", "the", "base", "register", "of", "the", "pointer", "value", "."], "TS_V_token": ["X86"], "File": "X86AsmParser (2)", "Func": "getBaseReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2937, "Length": 9, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "UPTFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\">> FrameLowering::emitEpilogue <<\\n\"", ")", ";", "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", "=", "UPT", "::", "SP", ";", "unsigned", "OffsetReg", "=", "materializeOffset", "(", "MF", ",", "MBB", ",", "MBBI", ",", "(", "unsigned", ")", "StackSize", ")", ";", "if", "(", "OffsetReg", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "UPT", "::", "ADDR", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addReg", "(", "OffsetReg", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "UPT", "::", "ADDI", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addImm", "(", "StackSize", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["UPT", "UPT", "\">> FrameLowering::emitEpilogue <<\\n\"", "UPT::SP", "UPT::ADDR", "UPT::ADDI"], "File": "UPTFrameLowering", "Func": "emitEpilogue", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2938, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCAsmParser", "::", "validateTargetOperandClass", "(", "MCParsedAsmOperand", "*", "AsmOp", ",", "unsigned", "Kind", ")", "{", "int64_t", "ImmVal", ";", "switch", "(", "Kind", ")", "{", "case", "MCK_0", ":", "ImmVal", "=", "0", ";", "break", ";", "case", "MCK_1", ":", "ImmVal", "=", "1", ";", "break", ";", "default", ":", "return", "Match_InvalidOperand", ";", "}", "PPCOperand", "*", "Op", "=", "static_cast", "<", "PPCOperand", "*", ">", "(", "AsmOp", ")", ";", "if", "(", "Op", "->", "isImm", "(", ")", "&&", "Op", "->", "getImm", "(", ")", "==", "ImmVal", ")", "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": ["PowerPC", "PPC", "0", "1", "PPC", "PPC"], "File": "PPCAsmParser14", "Func": "validateTargetOperandClass", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2939, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rx_builtin_decl", "(", "unsigned", "code", ",", "bool", "initialize_p", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "code", ">=", "RX_BUILTIN_max", ")", "return", "error_mark_node", ";", "return", "rx_builtins", "[", "code", "]", ";", "}", ""], "natrual_language": ["Return", "the", "RX", "builtin", "for", "CODE", "."], "TS_V_token": ["rx"], "File": "rx", "Func": "rx_builtin_decl", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2940, "Length": 28, "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", "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", "&&", "std", "::", "find", "(", "Order", ".", "begin", "(", ")", ",", "Order", ".", "end", "(", ")", ",", "PairedPhys", ")", "!=", "Order", ".", "end", "(", ")", ")", "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": "ARMBaseRegisterInfo22", "Func": "getRegAllocationHints", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2941, "Length": 300, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "sh_dwarf_register_span", "(", "rtx", "reg", ")", "{", "unsigned", "regno", "=", "REGNO", "(", "reg", ")", ";", "if", "(", "WORDS_BIG_ENDIAN", "||", "GET_MODE", "(", "reg", ")", "!=", "DFmode", ")", "return", "NULL_RTX", ";", "return", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "gen_rtx_REG", "(", "SFmode", ",", "regno", "+", "1", ")", ",", "gen_rtx_REG", "(", "SFmode", ",", "regno", ")", ")", ")", ";", "}", ""], "natrual_language": ["64", "bit", "floating", "points", "memory", "transfers", "are", "paired", "single", "precision", "loads", "or", "store", ".", "So", "DWARF", "information", "needs", "fixing", "in", "little", "endian", "(", "unless", "PR=SZ=1", "in", "FPSCR", ")", "."], "TS_V_token": ["sh", "2", "1"], "File": "sh", "Func": "sh_dwarf_register_span", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2942, "Length": 57, "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": 2943, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "erase", "(", "iterator", "it", ")", "{", "m_SectToExData", ".", "erase", "(", "it", ")", ";", "}", ""], "natrual_language": ["erase", "-", "Erases", "an", "element", "identified", "by", "Key", ",", "if", "it", "exists", "."], "TS_V_token": ["ARM"], "File": "ARMException", "Func": "erase", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2944, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_select_early_remat_modes", "(", "sbitmap", "modes", ")", "{", "for", "(", "int", "i", "=", "0", ";", "i", "<", "NUM_MACHINE_MODES", ";", "++", "i", ")", "{", "machine_mode", "mode", "=", "(", "machine_mode", ")", "i", ";", "unsigned", "int", "vec_flags", "=", "aarch64_classify_vector_mode", "(", "mode", ")", ";", "if", "(", "vec_flags", "&", "VEC_ANY_SVE", ")", "bitmap_set_bit", "(", "modes", ",", "i", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_EARLY_REMAT_MODES", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch645", "Func": "aarch64_select_early_remat_modes", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2945, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TTI", "::", "getIntImmCost", "(", "Intrinsic", "::", "ID", "IID", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "const", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", ")", "return", "TCC_Free", ";", "switch", "(", "IID", ")", "{", "default", ":", "return", "TCC_Free", ";", "case", "Intrinsic", "::", "sadd_with_overflow", ":", "case", "Intrinsic", "::", "uadd_with_overflow", ":", "case", "Intrinsic", "::", "ssub_with_overflow", ":", "case", "Intrinsic", "::", "usub_with_overflow", ":", "case", "Intrinsic", "::", "smul_with_overflow", ":", "case", "Intrinsic", "::", "umul_with_overflow", ":", "if", "(", "(", "Idx", "==", "1", ")", "&&", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", "&&", "isInt", "<", "32", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "return", "TCC_Free", ";", "break", ";", "case", "Intrinsic", "::", "experimental_stackmap", ":", "if", "(", "(", "Idx", "<", "2", ")", "||", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", "&&", "isInt", "<", "64", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", ")", "return", "TCC_Free", ";", "break", ";", "case", "Intrinsic", "::", "experimental_patchpoint_void", ":", "case", "Intrinsic", "::", "experimental_patchpoint_i64", ":", "if", "(", "(", "Idx", "<", "4", ")", "||", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", "&&", "isInt", "<", "64", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", ")", "return", "TCC_Free", ";", "break", ";", "}", "return", "X86TTI", "::", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["X86", "X86", "Intrinsic::ID", "0", "Intrinsic::sadd_with_overflow", "Intrinsic::uadd_with_overflow", "Intrinsic::ssub_with_overflow", "Intrinsic::usub_with_overflow", "Intrinsic::smul_with_overflow", "Intrinsic::umul_with_overflow", "1", "64", "32", "Intrinsic::experimental_stackmap", "2", "64", "64", "Intrinsic::experimental_patchpoint_void", "Intrinsic::experimental_patchpoint_i64", "4", "64", "64", "X86"], "File": "X86TargetTransformInfo112", "Func": "getIntImmCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2946, "Length": 221, "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", "(", ")", ")", ")", ";", "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", "8", "8", "0", "8"], "File": "SystemZMCCodeEmitter10", "Func": "encodeInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2947, "Length": 113, "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", "V32QImode", ":", "if", "(", "d", "->", "perm", "[", "0", "]", ")", "gen", "=", "gen_vec_interleave_highv32qi", ";", "else", "gen", "=", "gen_vec_interleave_lowv32qi", ";", "break", ";", "case", "V16HImode", ":", "if", "(", "d", "->", "perm", "[", "0", "]", ")", "gen", "=", "gen_vec_interleave_highv16hi", ";", "else", "gen", "=", "gen_vec_interleave_lowv16hi", ";", "break", ";", "case", "V8SImode", ":", "if", "(", "d", "->", "perm", "[", "0", "]", ")", "gen", "=", "gen_vec_interleave_highv8si", ";", "else", "gen", "=", "gen_vec_interleave_lowv8si", ";", "break", ";", "case", "V4DImode", ":", "if", "(", "d", "->", "perm", "[", "0", "]", ")", "gen", "=", "gen_vec_interleave_highv4di", ";", "else", "gen", "=", "gen_vec_interleave_lowv4di", ";", "break", ";", "case", "V8SFmode", ":", "if", "(", "d", "->", "perm", "[", "0", "]", ")", "gen", "=", "gen_vec_interleave_highv8sf", ";", "else", "gen", "=", "gen_vec_interleave_lowv8sf", ";", "break", ";", "case", "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": "i3864", "Func": "expand_vec_perm_interleave3", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2948, "Length": 348, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", "const", "{", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "+", "7", ")", "/", "8", ";", "unsigned", "FullSize", ";", "switch", "(", "(", "unsigned", ")", "Kind", ")", "{", "case", "FK_Data_2", ":", "case", "Mips", "::", "fixup_Mips_16", ":", "FullSize", "=", "2", ";", "break", ";", "case", "FK_Data_8", ":", "case", "Mips", "::", "fixup_Mips_64", ":", "FullSize", "=", "8", ";", "break", ";", "case", "FK_Data_4", ":", "default", ":", "FullSize", "=", "4", ";", "break", ";", "}", "uint64_t", "CurVal", "=", "0", ";", "bool", "microMipsLEByteOrder", "=", "needsMMLEByteOrder", "(", "(", "unsigned", ")", "Kind", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittle", "?", "(", "microMipsLEByteOrder", "?", "calculateMMLEIndex", "(", "i", ")", ":", "i", ")", ":", "(", "FullSize", "-", "1", "-", "i", ")", ";", "CurVal", "|=", "(", "uint64_t", ")", "(", "(", "uint8_t", ")", "Data", "[", "Offset", "+", "Idx", "]", ")", "<<", "(", "i", "*", "8", ")", ";", "}", "uint64_t", "Mask", "=", "(", "(", "uint64_t", ")", "(", "-", "1", ")", ">>", "(", "64", "-", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", ")", ";", "CurVal", "|=", "Value", "&", "Mask", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittle", "?", "(", "microMipsLEByteOrder", "?", "calculateMMLEIndex", "(", "i", ")", ":", "i", ")", ":", "(", "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": ["Mips", "Mips", "7", "8", "Mips::fixup_Mips_16", "2", "Mips::fixup_Mips_64", "8", "4", "0", "Mips", "0", "Mips", "1", "8", "1", "64", "0", "Mips", "1", "8", "0xff"], "File": "MipsAsmBackend", "Func": "applyFixup", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2949, "Length": 300, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_expand_zeroop_builtin", "(", "enum", "insn_code", "icode", ",", "rtx", "target", ")", "{", "rtx", "pat", ";", "machine_mode", "tmode", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "mode", ";", "if", "(", "icode", "==", "CODE_FOR_nothing", ")", "return", "0", ";", "if", "(", "target", "==", "0", "||", "GET_MODE", "(", "target", ")", "!=", "tmode", "||", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "predicate", ")", "(", "target", ",", "tmode", ")", ")", "target", "=", "gen_reg_rtx", "(", "tmode", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ")", ";", "if", "(", "!", "pat", ")", "return", "0", ";", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Expand", "an", "expression", "EXP", "that", "calls", "a", "builtin", "without", "arguments", "."], "TS_V_token": ["powerpcspe", "0", "0", "0", "0", "0"], "File": "powerpcspe", "Func": "rs6000_expand_zeroop_builtin", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2950, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_print_operand_punct_valid_p", "(", "unsigned", "char", "code", ")", "{", "return", "(", "code", "==", "'@'", "||", "code", "==", "'|'", "||", "code", "==", "'.'", "||", "code", "==", "'('", "||", "code", "==", "')'", "||", "code", "==", "'#'", "||", "(", "TARGET_32BIT", "&&", "(", "code", "==", "'?'", ")", ")", "||", "(", "TARGET_THUMB2", "&&", "(", "code", "==", "'!'", ")", ")", "||", "(", "TARGET_THUMB", "&&", "(", "code", "==", "'_'", ")", ")", ")", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "indicating", "whether", "a", "punctuation", "character", "for", "TARGET_PRINT_OPERAND", "is", "valid", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_print_operand_punct_valid_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2951, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16InstrInfo", "::", "isCopyInstrImpl", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "*", "&", "Src", ",", "const", "MachineOperand", "*", "&", "Dest", ")", "const", "{", "if", "(", "MI", ".", "isMoveReg", "(", ")", ")", "{", "Dest", "=", "&", "MI", ".", "getOperand", "(", "0", ")", ";", "Src", "=", "&", "MI", ".", "getOperand", "(", "1", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "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": ["Mips", "Mips", "0", "1"], "File": "Mips16InstrInfo34", "Func": "isCopyInstrImpl", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2952, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_print_operand_punct_valid_p", "(", "unsigned", "char", "code", ")", "{", "if", "(", "code", "==", "'#'", "||", "code", "==", "'*'", "||", "code", "==", "'('", "||", "code", "==", "')'", "||", "code", "==", "'_'", "||", "code", "==", "'&'", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PRINT_OPERAND_PUNCT_VALID_P", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "sparc_print_operand_punct_valid_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2953, "Length": 42, "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": 2954, "Length": 62, "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": 2955, "Length": 311, "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": 2956, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86DAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "OptForSize", "=", "MF", "->", "getFunction", "(", ")", "->", "optForSize", "(", ")", ";", "OptForMinSize", "=", "MF", "->", "getFunction", "(", ")", "->", "optForMinSize", "(", ")", ";", "assert", "(", "(", "!", "OptForMinSize", "||", "OptForSize", ")", "&&", "\"OptForMinSize implies OptForSize\"", ")", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "&", "*", "I", "++", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "(", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", "&&", "!", "Subtarget", "->", "callRegIndirect", "(", ")", ")", "||", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "TC_RETURN", "&&", "(", "Subtarget", "->", "is64Bit", "(", ")", "||", "!", "getTargetMachine", "(", ")", ".", "isPositionIndependent", "(", ")", ")", ")", ")", ")", "{", "bool", "HasCallSeq", "=", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", ";", "SDValue", "Chain", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Load", "=", "N", "->", "getOperand", "(", "1", ")", ";", "if", "(", "!", "isCalleeLoad", "(", "Load", ",", "Chain", ",", "HasCallSeq", ")", ")", "continue", ";", "moveBelowOrigChain", "(", "CurDAG", ",", "Load", ",", "SDValue", "(", "N", ",", "0", ")", ",", "Chain", ")", ";", "++", "NumLoadMoved", ";", "continue", ";", "}", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_ROUND", "&&", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "MVT", "SrcVT", "=", "N", "->", "getOperand", "(", "0", ")", ".", "getSimpleValueType", "(", ")", ";", "MVT", "DstVT", "=", "N", "->", "getSimpleValueType", "(", "0", ")", ";", "if", "(", "SrcVT", ".", "isVector", "(", ")", "||", "DstVT", ".", "isVector", "(", ")", ")", "continue", ";", "const", "X86TargetLowering", "*", "X86Lowering", "=", "static_cast", "<", "const", "X86TargetLowering", "*", ">", "(", "TLI", ")", ";", "bool", "SrcIsSSE", "=", "X86Lowering", "->", "isScalarFPTypeInSSEReg", "(", "SrcVT", ")", ";", "bool", "DstIsSSE", "=", "X86Lowering", "->", "isScalarFPTypeInSSEReg", "(", "DstVT", ")", ";", "if", "(", "SrcIsSSE", "&&", "DstIsSSE", ")", "continue", ";", "if", "(", "!", "SrcIsSSE", "&&", "!", "DstIsSSE", ")", "{", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "if", "(", "N", "->", "getConstantOperandVal", "(", "1", ")", ")", "continue", ";", "}", "MVT", "MemVT", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_ROUND", ")", "MemVT", "=", "DstVT", ";", "else", "MemVT", "=", "SrcIsSSE", "?", "SrcVT", ":", "DstVT", ";", "SDValue", "MemTmp", "=", "CurDAG", "->", "CreateStackTemporary", "(", "MemVT", ")", ";", "SDLoc", "dl", "(", "N", ")", ";", "SDValue", "Store", "=", "CurDAG", "->", "getTruncStore", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "dl", ",", "N", "->", "getOperand", "(", "0", ")", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ")", ";", "SDValue", "Result", "=", "CurDAG", "->", "getExtLoad", "(", "ISD", "::", "EXTLOAD", ",", "dl", ",", "DstVT", ",", "Store", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ")", ";", "--", "I", ";", "CurDAG", "->", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "0", ")", ",", "Result", ")", ";", "++", "I", ";", "CurDAG", "->", "DeleteNode", "(", "N", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["X86", "X86", "\"OptForMinSize implies OptForSize\"", "X86ISD::CALL", "X86ISD::TC_RETURN", "X86ISD::CALL", "0", "1", "0", "ISD::FP_ROUND", "ISD::FP_EXTEND", "0", "0", "X86", "X86", "X86", "X86", "X86", "ISD::FP_EXTEND", "1", "ISD::FP_ROUND", "0", "ISD::EXTLOAD", "0"], "File": "X86ISelDAGToDAG120", "Func": "PreprocessISelDAG", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2957, "Length": 479, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "csky_set_eh_return_address", "(", "rtx", "source", ",", "rtx", "scratch", ")", "{", "HOST_WIDE_INT", "delta", "=", "0", ";", "rtx", "basereg", ",", "addr", ";", "unsigned", "int", "reg_mask", ";", "csky_layout_stack_frame", "(", ")", ";", "reg_mask", "=", "cfun", "->", "machine", "->", "reg_mask", ";", "if", "(", "reg_mask", "&", "(", "1", "<<", "CSKY_LR_REGNUM", ")", ")", "{", "int", "i", "=", "0", ";", "if", "(", "frame_pointer_needed", ")", "{", "basereg", "=", "hard_frame_pointer_rtx", ";", "delta", "=", "0", ";", "}", "else", "{", "basereg", "=", "stack_pointer_rtx", ";", "delta", "=", "cfun", "->", "machine", "->", "reg_offset", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "CSKY_LR_REGNUM", ";", "i", "++", ")", "if", "(", "reg_mask", "&", "(", "1", "<<", "i", ")", ")", "delta", "+=", "4", ";", "if", "(", "(", "CSKY_TARGET_ARCH", "(", "CK801", ")", "&&", "delta", ">=", "CSKY_LD16_MAX_OFFSET", "(", "Pmode", ")", ")", "||", "delta", ">=", "CSKY_LD32_MAX_OFFSET", "(", "Pmode", ")", ")", "{", "emit_insn", "(", "gen_movsi", "(", "scratch", ",", "GEN_INT", "(", "delta", ")", ")", ")", ";", "emit_insn", "(", "gen_addsi3", "(", "scratch", ",", "scratch", ",", "basereg", ")", ")", ";", "addr", "=", "scratch", ";", "}", "else", "addr", "=", "plus_constant", "(", "Pmode", ",", "basereg", ",", "delta", ")", ";", "emit_move_insn", "(", "gen_frame_mem", "(", "Pmode", ",", "addr", ")", ",", "source", ")", ";", "}", "else", "emit_move_insn", "(", "gen_rtx_REG", "(", "Pmode", ",", "CSKY_LR_REGNUM", ")", ",", "source", ")", ";", "}", ""], "natrual_language": ["Helper", "for", "csky_eh_return", "splitter", ":", "store", "the", "call", "frame", "exception", "handler", "address", "in", "lr", "."], "TS_V_token": ["csky", "0", "1", "0", "0", "0", "1", "4"], "File": "csky", "Func": "csky_set_eh_return_address", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2958, "Length": 201, "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", "{", "unsigned", "NumBytes", "=", "4", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "{", "return", ";", "}", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "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": ["UPT", "4", "0", "8", "0xff"], "File": "UPTAsmBackend", "Func": "applyFixup", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2959, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMachineVerifierClean", "(", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "is", "expected", "to", "pass", "all", "machine", "verifier", "checks", "."], "TS_V_token": ["MINA32"], "File": "MINA32TargetMachine", "Func": "isMachineVerifierClean", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2960, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16InstrInfo", "::", "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", "(", "Mips", "::", "CPU16RegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opc", "=", "Mips", "::", "SwRxSpImmX16", ";", "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": ["Mips", "Mips", "0", "Mips::CPU16RegsRegClass", "Mips::SwRxSpImmX16", "\"Register class not handled!\"", "0"], "File": "Mips16InstrInfo11", "Func": "storeRegToStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2961, "Length": 140, "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", ")", ";", "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", "4", "8", "4", "16", "AArch64"], "File": "AArch64CallLowering26", "Func": "lowerFormalArguments", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2962, "Length": 446, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WinEHStatePass", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "StringRef", "WinEHParentName", "=", "F", ".", "getFnAttribute", "(", "\"wineh-parent\"", ")", ".", "getValueAsString", "(", ")", ";", "if", "(", "WinEHParentName", "!=", "F", ".", "getName", "(", ")", "&&", "!", "WinEHParentName", ".", "empty", "(", ")", ")", "return", "false", ";", "LandingPadInst", "*", "LP", "=", "nullptr", ";", "for", "(", "BasicBlock", "&", "BB", ":", "F", ")", "{", "LP", "=", "BB", ".", "getLandingPadInst", "(", ")", ";", "if", "(", "LP", ")", "break", ";", "}", "if", "(", "!", "LP", ")", "return", "false", ";", "PersonalityFn", "=", "dyn_cast", "<", "Function", ">", "(", "LP", "->", "getPersonalityFn", "(", ")", "->", "stripPointerCasts", "(", ")", ")", ";", "if", "(", "!", "PersonalityFn", ")", "return", "false", ";", "Personality", "=", "classifyEHPersonality", "(", "PersonalityFn", ")", ";", "if", "(", "!", "isMSVCEHPersonality", "(", "Personality", ")", ")", "return", "false", ";", "F", ".", "addFnAttr", "(", "\"no-frame-pointer-elim\"", ",", "\"true\"", ")", ";", "emitExceptionRegistrationRecord", "(", "&", "F", ")", ";", "auto", "*", "MMIPtr", "=", "getAnalysisIfAvailable", "<", "MachineModuleInfo", ">", "(", ")", ";", "assert", "(", "MMIPtr", "&&", "\"MachineModuleInfo should always be available\"", ")", ";", "MachineModuleInfo", "&", "MMI", "=", "*", "MMIPtr", ";", "if", "(", "Personality", "==", "EHPersonality", "::", "MSVC_CXX", ")", "{", "addCXXStateStores", "(", "F", ",", "MMI", ")", ";", "}", "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", "\"wineh-parent\"", "\"no-frame-pointer-elim\"", "\"true\"", "\"MachineModuleInfo should always be available\""], "File": "X86WinEHState22", "Func": "runOnFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2963, "Length": 197, "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": "AArch64InstrInfo109", "Func": "isAssociativeAndCommutative", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2964, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"AArch64 Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64", "\"AArch64 Assembly Printer\""], "File": "AArch64AsmPrinter", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2965, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "require_pic_register", "(", "rtx", "pic_reg", ",", "bool", "compute_now", ")", "{", "gcc_assert", "(", "compute_now", "==", "(", "pic_reg", "!=", "NULL_RTX", ")", ")", ";", "if", "(", "!", "crtl", "->", "uses_pic_offset_table", "||", "compute_now", ")", "{", "gcc_assert", "(", "can_create_pseudo_p", "(", ")", "||", "(", "pic_reg", "!=", "NULL_RTX", "&&", "REG_P", "(", "pic_reg", ")", "&&", "GET_MODE", "(", "pic_reg", ")", "==", "Pmode", ")", ")", ";", "if", "(", "arm_pic_register", "!=", "INVALID_REGNUM", "&&", "!", "compute_now", "&&", "!", "(", "TARGET_THUMB1", "&&", "arm_pic_register", ">", "LAST_LO_REGNUM", ")", ")", "{", "if", "(", "!", "cfun", "->", "machine", "->", "pic_reg", ")", "cfun", "->", "machine", "->", "pic_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "arm_pic_register", ")", ";", "if", "(", "current_ir_type", "(", ")", "!=", "IR_GIMPLE", "||", "currently_expanding_to_rtl", ")", "crtl", "->", "uses_pic_offset_table", "=", "1", ";", "}", "else", "{", "rtx_insn", "*", "seq", ",", "*", "insn", ";", "if", "(", "pic_reg", "==", "NULL_RTX", ")", "pic_reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "if", "(", "!", "cfun", "->", "machine", "->", "pic_reg", ")", "cfun", "->", "machine", "->", "pic_reg", "=", "pic_reg", ";", "if", "(", "current_ir_type", "(", ")", "!=", "IR_GIMPLE", "||", "currently_expanding_to_rtl", ")", "{", "crtl", "->", "uses_pic_offset_table", "=", "1", ";", "start_sequence", "(", ")", ";", "if", "(", "TARGET_THUMB1", "&&", "arm_pic_register", "!=", "INVALID_REGNUM", "&&", "arm_pic_register", ">", "LAST_LO_REGNUM", "&&", "!", "compute_now", ")", "emit_move_insn", "(", "cfun", "->", "machine", "->", "pic_reg", ",", "gen_rtx_REG", "(", "Pmode", ",", "arm_pic_register", ")", ")", ";", "else", "arm_load_pic_register", "(", "0UL", ",", "pic_reg", ")", ";", "seq", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "for", "(", "insn", "=", "seq", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "if", "(", "INSN_P", "(", "insn", ")", ")", "INSN_LOCATION", "(", "insn", ")", "=", "prologue_location", ";", "if", "(", "currently_expanding_to_rtl", ")", "insert_insn_on_edge", "(", "seq", ",", "single_succ_edge", "(", "ENTRY_BLOCK_PTR_FOR_FN", "(", "cfun", ")", ")", ")", ";", "else", "emit_insn", "(", "seq", ")", ";", "}", "}", "}", "}", ""], "natrual_language": ["Record", "that", "the", "current", "function", "needs", "a", "PIC", "register", ".", "Initialize", "cfun-", ">", "machine-", ">", "pic_reg", "if", "we", "have", "not", "already", "done", "so", "."], "TS_V_token": ["arm", "1", "1", "0UL"], "File": "arm", "Func": "require_pic_register", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2966, "Length": 280, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "untangle_mova", "(", "int", "*", "num_mova", ",", "rtx_insn", "*", "*", "first_mova", ",", "rtx_insn", "*", "new_mova", ")", "{", "int", "n_addr", "=", "0", ";", "int", "f_target", ",", "n_target", "=", "0", ";", "if", "(", "optimize", ")", "{", "if", "(", "INSN_ADDRESSES_SIZE", "(", ")", "<=", "(", "unsigned", ")", "INSN_UID", "(", "new_mova", ")", ")", "return", "-", "1", ";", "n_addr", "=", "INSN_ADDRESSES", "(", "INSN_UID", "(", "new_mova", ")", ")", ";", "n_target", "=", "INSN_ADDRESSES", "(", "INSN_UID", "(", "XEXP", "(", "MOVA_LABELREF", "(", "new_mova", ")", ",", "0", ")", ")", ")", ";", "if", "(", "n_addr", ">", "n_target", "||", "n_addr", "+", "1022", "<", "n_target", ")", "{", "fixup_mova", "(", "new_mova", ")", ";", "return", "1", ";", "}", "}", "if", "(", "!", "(", "*", "num_mova", ")", "++", ")", "{", "*", "first_mova", "=", "new_mova", ";", "return", "2", ";", "}", "if", "(", "!", "optimize", "||", "(", "(", "f_target", "=", "INSN_ADDRESSES", "(", "INSN_UID", "(", "XEXP", "(", "MOVA_LABELREF", "(", "*", "first_mova", ")", ",", "0", ")", ")", ")", ")", ">=", "n_target", ")", ")", "return", "-", "1", ";", "(", "*", "num_mova", ")", "--", ";", "if", "(", "f_target", "-", "INSN_ADDRESSES", "(", "INSN_UID", "(", "*", "first_mova", ")", ")", ">", "n_target", "-", "n_addr", ")", "{", "fixup_mova", "(", "*", "first_mova", ")", ";", "return", "0", ";", "}", "else", "{", "fixup_mova", "(", "new_mova", ")", ";", "return", "1", ";", "}", "}", ""], "natrual_language": ["NEW_MOVA", "is", "a", "mova", "we", "'ve", "just", "encountered", "while", "scanning", "forward", ".", "Update", "*", "num_mova", ",", "and", "check", "if", "the", "new", "mova", "is", "not", "nested", "within", "the", "first", "one", ".", "return", "0", "if", "*", "first_mova", "was", "replaced", ",", "1", "if", "new_mova", "was", "replaced", ",", "2", "if", "new_mova", "has", "been", "assigned", "to", "*", "first_mova", ",", "-1", "otherwise", ".."], "TS_V_token": ["sh", "0", "0", "1", "0", "1022", "1", "2", "0", "1", "0", "1"], "File": "sh", "Func": "untangle_mova", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2967, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "getUndefRegClearance", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "&", "OpNum", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "!", "hasUndefRegUpdate", "(", "MI", ".", "getOpcode", "(", ")", ")", ")", "return", "0", ";", "OpNum", "=", "1", ";", "const", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNum", ")", ";", "if", "(", "MO", ".", "isUndef", "(", ")", "&&", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "MO", ".", "getReg", "(", ")", ")", ")", "{", "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", "1", "0"], "File": "X86InstrInfo (2)1", "Func": "getUndefRegClearance", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2968, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCTargetLowering", "::", "LowerOperationWrapper", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDValue", "Res", "=", "LowerOperation", "(", "SDValue", "(", "N", ",", "0", ")", ",", "DAG", ")", ";", "if", "(", "!", "Res", ".", "getNode", "(", ")", ")", "return", ";", "if", "(", "N", "->", "getNumValues", "(", ")", "==", "1", ")", "{", "Results", ".", "push_back", "(", "Res", ")", ";", "return", ";", "}", "assert", "(", "(", "N", "->", "getNumValues", "(", ")", "==", "Res", "->", "getNumValues", "(", ")", ")", "&&", "\"Lowering returned the wrong number of results!\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "N", "->", "getNumValues", "(", ")", ";", "++", "i", ")", "Results", ".", "push_back", "(", "Res", ".", "getValue", "(", "i", ")", ")", ";", "}", ""], "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": ["PowerPC", "PPC", "0", "1", "\"Lowering returned the wrong number of results!\"", "0"], "File": "PPCISelLowering100", "Func": "LowerOperationWrapper", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2969, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "tryAddingSymbolicOperand", "(", "uint64_t", "Address", ",", "int32_t", "Value", ",", "bool", "isBranch", ",", "uint64_t", "InstSize", ",", "MCInst", "&", "MI", ",", "const", "MCDisassembler", "*", "Decoder", ")", "{", "return", "Decoder", "->", "tryAddingSymbolicOperand", "(", "MI", ",", "(", "uint32_t", ")", "Value", ",", "Address", ",", "isBranch", ",", "0", ",", "InstSize", ")", ";", "}", ""], "natrual_language": ["Try", "to", "add", "a", "symbolic", "operand", "instead", "of", "Value", "to", "the", "MCInst", "."], "TS_V_token": ["ARM", "0"], "File": "ARMDisassembler6", "Func": "tryAddingSymbolicOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2970, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "PPCTTIImpl", "::", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "TTI", "::", "OperandValueKind", "Op1Info", ",", "TTI", "::", "OperandValueKind", "Op2Info", ",", "TTI", "::", "OperandValueProperties", "Opd1PropInfo", ",", "TTI", "::", "OperandValueProperties", "Opd2PropInfo", ",", "ArrayRef", "<", "const", "Value", "*", ">", "Args", ")", "{", "assert", "(", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", "&&", "\"Invalid opcode\"", ")", ";", "return", "BaseT", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "Op1Info", ",", "Op2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ")", ";", "}", ""], "natrual_language": ["This", "is", "an", "approximation", "of", "reciprocal", "throughput", "of", "a", "math/logic", "op", "."], "TS_V_token": ["PowerPC", "PPC", "\"Invalid opcode\""], "File": "PPCTargetTransformInfo", "Func": "getArithmeticInstrCost", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2971, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_legitimize_address", "(", "rtx", "x", ",", "rtx", "oldx", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ")", "{", "rtx", "base", ",", "addr", ";", "HOST_WIDE_INT", "offset", ";", "if", "(", "mips_tls_symbol_p", "(", "x", ")", ")", "return", "mips_legitimize_tls_address", "(", "x", ")", ";", "if", "(", "mips_split_symbol", "(", "NULL", ",", "x", ",", "mode", ",", "&", "addr", ")", ")", "return", "mips_force_address", "(", "addr", ",", "mode", ")", ";", "mips_split_plus", "(", "x", ",", "&", "base", ",", "&", "offset", ")", ";", "if", "(", "offset", "!=", "0", ")", "{", "if", "(", "!", "mips_valid_base_register_p", "(", "base", ",", "mode", ",", "false", ")", ")", "base", "=", "copy_to_mode_reg", "(", "Pmode", ",", "base", ")", ";", "addr", "=", "mips_add_offset", "(", "NULL", ",", "base", ",", "offset", ")", ";", "return", "mips_force_address", "(", "addr", ",", "mode", ")", ";", "}", "return", "x", ";", "}", ""], "natrual_language": ["This", "function", "is", "used", "to", "implement", "LEGITIMIZE_ADDRESS", ".", "If", "*", "XLOC", "can", "be", "legitimized", "in", "a", "way", "that", "the", "generic", "machinery", "might", "not", "expect", ",", "put", "the", "new", "address", "in", "*", "XLOC", "and", "return", "true", ".", "MODE", "is", "the", "mode", "of", "the", "memory", "being", "accessed", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips_legitimize_address", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2972, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "flow_dependent_p", "(", "rtx_insn", "*", "insn", ",", "rtx_insn", "*", "dep_insn", ")", "{", "rtx", "tmp", "=", "PATTERN", "(", "insn", ")", ";", "note_stores", "(", "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": "sh", "Func": "flow_dependent_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2973, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsBranchExpansion", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "TargetMachine", "&", "TM", "=", "MF", ".", "getTarget", "(", ")", ";", "IsPIC", "=", "TM", ".", "isPositionIndependent", "(", ")", ";", "ABI", "=", "static_cast", "<", "const", "MipsTargetMachine", "&", ">", "(", "TM", ")", ".", "getABI", "(", ")", ";", "STI", "=", "&", "static_cast", "<", "const", "MipsSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "TII", "=", "static_cast", "<", "const", "MipsInstrInfo", "*", ">", "(", "STI", "->", "getInstrInfo", "(", ")", ")", ";", "if", "(", "IsPIC", "&&", "ABI", ".", "IsO32", "(", ")", "&&", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", "->", "globalBaseRegSet", "(", ")", ")", "emitGPDisp", "(", "MF", ",", "TII", ")", ";", "MFp", "=", "&", "MF", ";", "ForceLongBranchFirstPass", "=", "ForceLongBranch", ";", "bool", "longBranchChanged", "=", "handlePossibleLongBranch", "(", ")", ";", "bool", "forbiddenSlotChanged", "=", "handleForbiddenSlot", "(", ")", ";", "bool", "fpuDelaySlotChanged", "=", "handleFPUDelaySlot", "(", ")", ";", "bool", "loadDelaySlotChanged", "=", "handleLoadDelaySlot", "(", ")", ";", "bool", "Changed", "=", "longBranchChanged", "||", "forbiddenSlotChanged", "||", "fpuDelaySlotChanged", "||", "loadDelaySlotChanged", ";", "while", "(", "forbiddenSlotChanged", ")", "{", "longBranchChanged", "=", "handlePossibleLongBranch", "(", ")", ";", "fpuDelaySlotChanged", "=", "handleFPUDelaySlot", "(", ")", ";", "loadDelaySlotChanged", "=", "handleLoadDelaySlot", "(", ")", ";", "if", "(", "!", "longBranchChanged", "&&", "!", "fpuDelaySlotChanged", "&&", "!", "loadDelaySlotChanged", ")", "break", ";", "forbiddenSlotChanged", "=", "handleForbiddenSlot", "(", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsBranchExpansion8", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2974, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"AArch64 Promote Constant\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64", "\"AArch64 Promote Constant\""], "File": "AArch64PromoteConstant", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2975, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "IA64TargetMachine", "::", "addInstSelector", "(", "PassManagerBase", "&", "PM", ",", "bool", "Fast", ")", "{", "PM", ".", "add", "(", "createIA64DAGToDAGInstructionSelector", "(", "*", "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": ["IA64", "IA64", "IA64"], "File": "IA64TargetMachine1", "Func": "addInstSelector", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2976, "Length": 28, "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": 2977, "Length": 181, "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": 2978, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "aarch64_fpconst_pow_of_2", "(", "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", ",", "DFmode", ")", ")", "return", "-", "1", ";", "return", "exact_log2", "(", "real_to_integer", "(", "r", ")", ")", ";", "}", ""], "natrual_language": ["If", "X", "is", "a", "positive", "CONST_DOUBLE", "with", "a", "value", "that", "is", "a", "power", "of", "2", "return", "the", "log2", "of", "that", "value", ".", "Otherwise", "return", "-1", "."], "TS_V_token": ["aarch64", "1", "1"], "File": "aarch64", "Func": "aarch64_fpconst_pow_of_2", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2979, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalMaskedLoad", "(", "Type", "*", "DataTy", ",", "MaybeAlign", "Alignment", ")", "{", "if", "(", "!", "ST", "->", "hasAVX", "(", ")", ")", "return", "false", ";", "if", "(", "isa", "<", "VectorType", ">", "(", "DataTy", ")", "&&", "cast", "<", "VectorType", ">", "(", "DataTy", ")", "->", "getNumElements", "(", ")", "==", "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": "X86TargetTransformInfo108", "Func": "isLegalMaskedLoad", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2980, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "FISCPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createFISCDelaySlotFillerPass", "(", "getFISCTargetMachine", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["FISC", "FISC", "FISC", "FISC"], "File": "FISCTargetMachine", "Func": "addPreEmitPass", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2981, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", ",", "Align", "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", "::", "v16i1", "||", "Ty", "==", "MVT", "::", "v8i1", "||", "Ty", "==", "MVT", "::", "v4i1", "||", "Ty", "==", "MVT", "::", "v2i1", ")", ")", "{", "if", "(", "Fast", ")", "*", "Fast", "=", "true", ";", "return", "true", ";", "}", "if", "(", "(", "Ty", "==", "MVT", "::", "v4i8", "||", "Ty", "==", "MVT", "::", "v8i8", "||", "Ty", "==", "MVT", "::", "v4i16", ")", "&&", "Alignment", ">=", "VT", ".", "getScalarSizeInBits", "(", ")", "/", "8", ")", "{", "if", "(", "Fast", ")", "*", "Fast", "=", "true", ";", "return", "true", ";", "}", "if", "(", "Ty", "==", "MVT", "::", "v16i8", "||", "Ty", "==", "MVT", "::", "v8i16", "||", "Ty", "==", "MVT", "::", "v8f16", "||", "Ty", "==", "MVT", "::", "v4i32", "||", "Ty", "==", "MVT", "::", "v4f32", "||", "Ty", "==", "MVT", "::", "v2i64", "||", "Ty", "==", "MVT", "::", "v2f64", ")", "{", "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::v16i1", "MVT::v8i1", "MVT::v4i1", "MVT::v2i1", "MVT::v4i8", "MVT::v8i8", "MVT::v4i16", "8", "MVT::v16i8", "MVT::v8i16", "MVT::v8f16", "MVT::v4i32", "MVT::v4f32", "MVT::v2i64", "MVT::v2f64"], "File": "ARMISelLowering12", "Func": "allowsMisalignedMemoryAccesses", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2982, "Length": 309, "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", "(", "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", "3", "3", "32", "\"Requesting 64-bit offset in 32-bit immediate!\"", "3", "3", "3"], "File": "X86RegisterInfo21", "Func": "eliminateFrameIndex", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2983, "Length": 358, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "{", "switch", "(", "Kind", ")", "{", "case", "k_Immediate", ":", "OS", "<<", "\"Imm<\"", ";", "Imm", ".", "Val", "->", "print", "(", "OS", ")", ";", "OS", "<<", "\">\"", ";", "break", ";", "case", "k_Memory", ":", "OS", "<<", "\"Mem<\"", ";", "Mem", ".", "Base", "->", "print", "(", "OS", ")", ";", "OS", "<<", "\", \"", ";", "Mem", ".", "Off", "->", "print", "(", "OS", ")", ";", "OS", "<<", "\">\"", ";", "break", ";", "case", "k_PhysRegister", ":", "OS", "<<", "\"PhysReg<\"", "<<", "PhysReg", ".", "Num", "<<", "\">\"", ";", "break", ";", "case", "k_RegisterIndex", ":", "OS", "<<", "\"RegIdx<\"", "<<", "RegIdx", ".", "Index", "<<", "\":\"", "<<", "RegIdx", ".", "Kind", "<<", "\">\"", ";", "break", ";", "case", "k_Token", ":", "OS", "<<", "Tok", ".", "Data", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["Mips", "\"Imm<\"", "\">\"", "\"Mem<\"", "\", \"", "\">\"", "\"PhysReg<\"", "\">\"", "\"RegIdx<\"", "\":\"", "\">\""], "File": "MipsAsmParser45", "Func": "print", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2984, "Length": 121, "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": 2985, "Length": 341, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64PassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createARM64ISelDag", "(", "getARM64TargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "if", "(", "TM", "->", "getSubtarget", "<", "ARM64Subtarget", ">", "(", ")", ".", "isTargetELF", "(", ")", "&&", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createARM64CleanupLocalDynamicTLSPass", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["ARM64", "ARM64", "ARM64", "ARM64", "ARM64", "ARM64"], "File": "ARM64TargetMachine", "Func": "addInstSelector", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2986, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "ix86_replace_reg_with_reg", "(", "rtx", "x", ",", "rtx", "from", ",", "rtx", "to", ")", "{", "gcc_checking_assert", "(", "REG_P", "(", "from", ")", "&&", "REG_P", "(", "to", ")", "&&", "GET_MODE", "(", "from", ")", "==", "GET_MODE", "(", "to", ")", ")", ";", "if", "(", "!", "reg_overlap_mentioned_p", "(", "from", ",", "x", ")", ")", "return", "x", ";", "rtx", "ret", "=", "copy_rtx", "(", "x", ")", ";", "subrtx_ptr_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX_PTR", "(", "iter", ",", "array", ",", "&", "ret", ",", "NONCONST", ")", "{", "rtx", "*", "loc", "=", "*", "iter", ";", "x", "=", "*", "loc", ";", "if", "(", "REG_P", "(", "x", ")", "&&", "REGNO", "(", "x", ")", "==", "REGNO", "(", "from", ")", ")", "{", "if", "(", "x", "==", "from", ")", "*", "loc", "=", "to", ";", "else", "{", "gcc_checking_assert", "(", "REG_NREGS", "(", "x", ")", "==", "1", ")", ";", "*", "loc", "=", "gen_rtx_REG", "(", "GET_MODE", "(", "x", ")", ",", "REGNO", "(", "to", ")", ")", ";", "}", "}", "}", "return", "ret", ";", "}", ""], "natrual_language": ["Replace", "all", "occurrences", "of", "REG", "FROM", "with", "REG", "TO", "in", "X", ",", "including", "occurrences", "with", "different", "modes", "."], "TS_V_token": ["i386", "1"], "File": "i386-expand1", "Func": "ix86_replace_reg_with_reg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2987, "Length": 150, "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", "(", ")", ")", ";", "if", "(", "MF", ".", "hasEHFunclets", "(", ")", ")", "{", "int", "FI", "=", "MFI", ".", "CreateSpillStackObject", "(", "SlotSize", ",", "SlotSize", ")", ";", "X86FI", "->", "setHasSEHFramePtrSave", "(", "true", ")", ";", "X86FI", "->", "setSEHFramePtrSaveIndex", "(", "FI", ")", ";", "}", "}", "}", ""], "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", "X86", "X86"], "File": "X86FrameLowering (2)2", "Func": "determineCalleeSaves", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2988, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_expand_sse_cmp", "(", "rtx", "dest", ",", "enum", "rtx_code", "code", ",", "rtx", "cmp_op0", ",", "rtx", "cmp_op1", ",", "rtx", "op_true", ",", "rtx", "op_false", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "machine_mode", "cmp_ops_mode", "=", "GET_MODE", "(", "cmp_op0", ")", ";", "machine_mode", "cmp_mode", ";", "bool", "maskcmp", "=", "false", ";", "rtx", "x", ";", "if", "(", "GET_MODE_SIZE", "(", "cmp_ops_mode", ")", "==", "64", ")", "{", "unsigned", "int", "nbits", "=", "GET_MODE_NUNITS", "(", "cmp_ops_mode", ")", ";", "cmp_mode", "=", "int_mode_for_size", "(", "nbits", ",", "0", ")", ".", "require", "(", ")", ";", "maskcmp", "=", "true", ";", "}", "else", "cmp_mode", "=", "cmp_ops_mode", ";", "cmp_op0", "=", "force_reg", "(", "cmp_ops_mode", ",", "cmp_op0", ")", ";", "int", "(", "*", "op1_predicate", ")", "(", "rtx", ",", "machine_mode", ")", "=", "VECTOR_MODE_P", "(", "cmp_ops_mode", ")", "?", "vector_operand", ":", "nonimmediate_operand", ";", "if", "(", "!", "op1_predicate", "(", "cmp_op1", ",", "cmp_ops_mode", ")", ")", "cmp_op1", "=", "force_reg", "(", "cmp_ops_mode", ",", "cmp_op1", ")", ";", "if", "(", "optimize", "||", "(", "maskcmp", "&&", "cmp_mode", "!=", "mode", ")", "||", "(", "op_true", "&&", "reg_overlap_mentioned_p", "(", "dest", ",", "op_true", ")", ")", "||", "(", "op_false", "&&", "reg_overlap_mentioned_p", "(", "dest", ",", "op_false", ")", ")", ")", "dest", "=", "gen_reg_rtx", "(", "maskcmp", "?", "cmp_mode", ":", "mode", ")", ";", "if", "(", "maskcmp", "&&", "(", "code", "==", "GT", "||", "code", "==", "EQ", ")", ")", "{", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "switch", "(", "cmp_ops_mode", ")", "{", "case", "E_V64QImode", ":", "gcc_assert", "(", "TARGET_AVX512BW", ")", ";", "gen", "=", "code", "==", "GT", "?", "gen_avx512bw_gtv64qi3", ":", "gen_avx512bw_eqv64qi3_1", ";", "break", ";", "case", "E_V32HImode", ":", "gcc_assert", "(", "TARGET_AVX512BW", ")", ";", "gen", "=", "code", "==", "GT", "?", "gen_avx512bw_gtv32hi3", ":", "gen_avx512bw_eqv32hi3_1", ";", "break", ";", "case", "E_V16SImode", ":", "gen", "=", "code", "==", "GT", "?", "gen_avx512f_gtv16si3", ":", "gen_avx512f_eqv16si3_1", ";", "break", ";", "case", "E_V8DImode", ":", "gen", "=", "code", "==", "GT", "?", "gen_avx512f_gtv8di3", ":", "gen_avx512f_eqv8di3_1", ";", "break", ";", "default", ":", "gen", "=", "NULL", ";", "}", "if", "(", "gen", ")", "{", "emit_insn", "(", "gen", "(", "dest", ",", "cmp_op0", ",", "cmp_op1", ")", ")", ";", "return", "dest", ";", "}", "}", "x", "=", "gen_rtx_fmt_ee", "(", "code", ",", "cmp_mode", ",", "cmp_op0", ",", "cmp_op1", ")", ";", "if", "(", "cmp_mode", "!=", "mode", "&&", "!", "maskcmp", ")", "{", "x", "=", "force_reg", "(", "cmp_ops_mode", ",", "x", ")", ";", "convert_move", "(", "dest", ",", "x", ",", "false", ")", ";", "}", "else", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "x", ")", ")", ";", "return", "dest", ";", "}", ""], "natrual_language": ["Expand", "an", "sse", "vector", "comparison", ".", "Return", "the", "register", "with", "the", "result", "."], "TS_V_token": ["i386", "64", "0"], "File": "i3868", "Func": "ix86_expand_sse_cmp", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2989, "Length": 375, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "struct", "mips_cpu_info", "*", "mips_cpu_info_from_opt", "(", "int", "opt", ")", "{", "switch", "(", "opt", ")", "{", "case", "MIPS_ARCH_OPTION_FROM_ABI", ":", "return", "mips_cpu_info_from_isa", "(", "ABI_NEEDS_32BIT_REGS", "?", "1", ":", "ABI_NEEDS_64BIT_REGS", "?", "3", ":", "(", "TARGET_64BIT", "?", "3", ":", "1", ")", ")", ";", "case", "MIPS_ARCH_OPTION_NATIVE", ":", "gcc_unreachable", "(", ")", ";", "default", ":", "return", "&", "mips_cpu_info_table", "[", "opt", "]", ";", "}", "}", ""], "natrual_language": ["Return", "a", "mips_cpu_info", "entry", "determined", "by", "an", "option", "valued", "OPT", "."], "TS_V_token": ["mips", "1", "3", "3", "1"], "File": "mips", "Func": "mips_cpu_info_from_opt", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2990, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MipsSubtarget", "&", "MipsSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetMachine", "&", "TM", ")", "{", "std", "::", "string", "CPUName", "=", "MIPS_MC", "::", "selectMipsCPU", "(", "TM", ".", "getTargetTriple", "(", ")", ",", "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_MC::selectMipsCPU", "Mips", "Mips"], "File": "MipsSubtarget56", "Func": "initializeSubtargetDependencies", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2991, "Length": 70, "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": 2992, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_set_handled_components", "(", "sbitmap", "components", ")", "{", "for", "(", "unsigned", "regno", "=", "0", ";", "regno", "<=", "LAST_SAVED_REGNUM", ";", "regno", "++", ")", "if", "(", "bitmap_bit_p", "(", "components", ",", "regno", ")", ")", "cfun", "->", "machine", "->", "reg_is_wrapped_separately", "[", "regno", "]", "=", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SHRINK_WRAP_SET_HANDLED_COMPONENTS", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64", "Func": "aarch64_set_handled_components", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2993, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "Cpu0RegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", "->", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Cpu0", "Cpu0"], "File": "Cpu0Subtarget", "Func": "getRegisterInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2994, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "const", "TargetRegisterClass", "*", ",", "uint8_t", ">", "X86TargetLowering", "::", "findRepresentativeClass", "(", "MVT", "VT", ")", "const", "{", "const", "TargetRegisterClass", "*", "RRC", "=", "0", ";", "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", "0", "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)1", "Func": "findRepresentativeClass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2995, "Length": 198, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_init_rng_builtins", "(", "void", ")", "{", "tree", "unsigned_ptr_type", "=", "build_pointer_type", "(", "unsigned_intDI_type_node", ")", ";", "tree", "ftype", "=", "build_function_type_list", "(", "integer_type_node", ",", "unsigned_ptr_type", ",", "NULL", ")", ";", "aarch64_builtin_decls", "[", "AARCH64_BUILTIN_RNG_RNDR", "]", "=", "aarch64_general_add_builtin", "(", "\"__builtin_aarch64_rndr\"", ",", "ftype", ",", "AARCH64_BUILTIN_RNG_RNDR", ")", ";", "aarch64_builtin_decls", "[", "AARCH64_BUILTIN_RNG_RNDRRS", "]", "=", "aarch64_general_add_builtin", "(", "\"__builtin_aarch64_rndrrs\"", ",", "ftype", ",", "AARCH64_BUILTIN_RNG_RNDRRS", ")", ";", "}", ""], "natrual_language": ["Add", "builtins", "for", "Random", "Number", "instructions", "."], "TS_V_token": ["aarch64", "\"__builtin_aarch64_rndr\"", "\"__builtin_aarch64_rndrrs\""], "File": "aarch64-builtins", "Func": "aarch64_init_rng_builtins", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2996, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_array_mode_supported_p", "(", "machine_mode", "mode", ",", "unsigned", "HOST_WIDE_INT", "nelems", ")", "{", "if", "(", "TARGET_NEON", "&&", "!", "BYTES_BIG_ENDIAN", "&&", "(", "VALID_NEON_DREG_MODE", "(", "mode", ")", "||", "VALID_NEON_QREG_MODE", "(", "mode", ")", ")", "&&", "(", "nelems", ">=", "2", "&&", "nelems", "<=", "4", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implements", "target", "hook", "array_mode_supported_p", "."], "TS_V_token": ["arm", "2", "4"], "File": "arm7", "Func": "arm_array_mode_supported_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2997, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ARMAsmParser", "::", "tryParseRegister", "(", ")", "{", "MCAsmParser", "&", "Parser", "=", "getParser", "(", ")", ";", "const", "AsmToken", "&", "Tok", "=", "Parser", ".", "getTok", "(", ")", ";", "if", "(", "Tok", ".", "isNot", "(", "AsmToken", "::", "Identifier", ")", ")", "return", "-", "1", ";", "std", "::", "string", "lowerCase", "=", "Tok", ".", "getString", "(", ")", ".", "lower", "(", ")", ";", "unsigned", "RegNum", "=", "MatchRegisterName", "(", "lowerCase", ")", ";", "if", "(", "!", "RegNum", ")", "{", "RegNum", "=", "StringSwitch", "<", "unsigned", ">", "(", "lowerCase", ")", ".", "Case", "(", "\"r13\"", ",", "ARM", "::", "SP", ")", ".", "Case", "(", "\"r14\"", ",", "ARM", "::", "LR", ")", ".", "Case", "(", "\"r15\"", ",", "ARM", "::", "PC", ")", ".", "Case", "(", "\"ip\"", ",", "ARM", "::", "R12", ")", ".", "Case", "(", "\"a1\"", ",", "ARM", "::", "R0", ")", ".", "Case", "(", "\"a2\"", ",", "ARM", "::", "R1", ")", ".", "Case", "(", "\"a3\"", ",", "ARM", "::", "R2", ")", ".", "Case", "(", "\"a4\"", ",", "ARM", "::", "R3", ")", ".", "Case", "(", "\"v1\"", ",", "ARM", "::", "R4", ")", ".", "Case", "(", "\"v2\"", ",", "ARM", "::", "R5", ")", ".", "Case", "(", "\"v3\"", ",", "ARM", "::", "R6", ")", ".", "Case", "(", "\"v4\"", ",", "ARM", "::", "R7", ")", ".", "Case", "(", "\"v5\"", ",", "ARM", "::", "R8", ")", ".", "Case", "(", "\"v6\"", ",", "ARM", "::", "R9", ")", ".", "Case", "(", "\"v7\"", ",", "ARM", "::", "R10", ")", ".", "Case", "(", "\"v8\"", ",", "ARM", "::", "R11", ")", ".", "Case", "(", "\"sb\"", ",", "ARM", "::", "R9", ")", ".", "Case", "(", "\"sl\"", ",", "ARM", "::", "R10", ")", ".", "Case", "(", "\"fp\"", ",", "ARM", "::", "R11", ")", ".", "Default", "(", "0", ")", ";", "}", "if", "(", "!", "RegNum", ")", "{", "StringMap", "<", "unsigned", ">", "::", "const_iterator", "Entry", "=", "RegisterReqs", ".", "find", "(", "lowerCase", ")", ";", "if", "(", "Entry", "==", "RegisterReqs", ".", "end", "(", ")", ")", "return", "-", "1", ";", "Parser", ".", "Lex", "(", ")", ";", "return", "Entry", "->", "getValue", "(", ")", ";", "}", "if", "(", "hasD16", "(", ")", "&&", "RegNum", ">=", "ARM", "::", "D16", "&&", "RegNum", "<=", "ARM", "::", "D31", ")", "return", "-", "1", ";", "Parser", ".", "Lex", "(", ")", ";", "return", "RegNum", ";", "}", ""], "natrual_language": ["tryParseRegister", "-", "parse", "one", "register", "if", "possible"], "TS_V_token": ["ARM", "ARM", "1", "\"r13\"", "ARM::SP", "\"r14\"", "ARM::LR", "\"r15\"", "ARM::PC", "\"ip\"", "ARM::R12", "\"a1\"", "ARM::R0", "\"a2\"", "ARM::R1", "\"a3\"", "ARM::R2", "\"a4\"", "ARM::R3", "\"v1\"", "ARM::R4", "\"v2\"", "ARM::R5", "\"v3\"", "ARM::R6", "\"v4\"", "ARM::R7", "\"v5\"", "ARM::R8", "\"v6\"", "ARM::R9", "\"v7\"", "ARM::R10", "\"v8\"", "ARM::R11", "\"sb\"", "ARM::R9", "\"sl\"", "ARM::R10", "\"fp\"", "ARM::R11", "0", "1", "ARM::D16", "ARM::D31", "1"], "File": "ARMAsmParser (2)2", "Func": "tryParseRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2998, "Length": 338, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ARM64FrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "FrameReg", ")", "const", "{", "return", "resolveFrameIndexReference", "(", "MF", ",", "FI", ",", "FrameReg", ")", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["ARM64", "ARM64"], "File": "ARM64FrameLowering", "Func": "getFrameIndexReference", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2999, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "MINA32RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "return", "nullptr", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["MINA32", "MINA32"], "File": "MINA32RegisterInfo", "Func": "getCalleeSavedRegs", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3000, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_set_got", "(", "rtx", "dest", ",", "rtx", "label", ")", "{", "rtx", "xops", "[", "3", "]", ";", "xops", "[", "0", "]", "=", "dest", ";", "if", "(", "TARGET_VXWORKS_RTP", "&&", "flag_pic", ")", "{", "xops", "[", "2", "]", "=", "gen_rtx_MEM", "(", "Pmode", ",", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "VXWORKS_GOTT_BASE", ")", ")", ";", "output_asm_insn", "(", "\"mov{l}\\t{%2, %0|%0, %2}\"", ",", "xops", ")", ";", "xops", "[", "2", "]", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "VXWORKS_GOTT_INDEX", ")", ";", "SYMBOL_REF_FLAGS", "(", "xops", "[", "2", "]", ")", "|=", "SYMBOL_FLAG_LOCAL", ";", "output_asm_insn", "(", "\"mov{l}\\t{%P2(%0), %0|%0, DWORD PTR %P2[%0]}\"", ",", "xops", ")", ";", "return", "\"\"", ";", "}", "xops", "[", "1", "]", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "GOT_SYMBOL_NAME", ")", ";", "if", "(", "flag_pic", ")", "{", "char", "name", "[", "32", "]", ";", "get_pc_thunk_name", "(", "name", ",", "REGNO", "(", "dest", ")", ")", ";", "pic_labels_used", "|=", "1", "<<", "REGNO", "(", "dest", ")", ";", "xops", "[", "2", "]", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "ggc_strdup", "(", "name", ")", ")", ";", "xops", "[", "2", "]", "=", "gen_rtx_MEM", "(", "QImode", ",", "xops", "[", "2", "]", ")", ";", "output_asm_insn", "(", "\"%!call\\t%X2\"", ",", "xops", ")", ";", "if", "(", "machopic_should_output_picbase_label", "(", ")", "||", "!", "label", ")", "ASM_OUTPUT_LABEL", "(", "asm_out_file", ",", "MACHOPIC_FUNCTION_BASE_NAME", ")", ";", "if", "(", "label", ")", "targetm", ".", "asm_out", ".", "internal_label", "(", "asm_out_file", ",", "\"L\"", ",", "CODE_LABEL_NUMBER", "(", "label", ")", ")", ";", "}", "else", "{", "if", "(", "TARGET_MACHO", ")", "gcc_unreachable", "(", ")", ";", "xops", "[", "2", "]", "=", "gen_rtx_LABEL_REF", "(", "Pmode", ",", "label", "?", "label", ":", "gen_label_rtx", "(", ")", ")", ";", "output_asm_insn", "(", "\"mov%z0\\t{%2, %0|%0, %2}\"", ",", "xops", ")", ";", "targetm", ".", "asm_out", ".", "internal_label", "(", "asm_out_file", ",", "\"L\"", ",", "CODE_LABEL_NUMBER", "(", "XEXP", "(", "xops", "[", "2", "]", ",", "0", ")", ")", ")", ";", "}", "if", "(", "!", "TARGET_MACHO", ")", "output_asm_insn", "(", "\"add%z0\\t{%1, %0|%0, %1}\"", ",", "xops", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Emit", "code", "for", "the", "SET_GOT", "patterns", "."], "TS_V_token": ["i386", "3", "0", "2", "\"mov{l}\\t{%2, %0|%0, %2}\"", "2", "2", "\"mov{l}\\t{%P2(%0), %0|%0, DWORD PTR %P2[%0]}\"", "\"\"", "1", "32", "1", "2", "2", "2", "\"%!call\\t%X2\"", "\"L\"", "2", "\"mov%z0\\t{%2, %0|%0, %2}\"", "\"L\"", "2", "0", "\"add%z0\\t{%1, %0|%0, %1}\"", "\"\""], "File": "i386", "Func": "output_set_got", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3001, "Length": 281, "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", "(", ")", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86FrameLowering120", "Func": "hasFP", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3002, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsPreLegalizerCombiner", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "MF", ".", "getProperties", "(", ")", ".", "hasProperty", "(", "MachineFunctionProperties", "::", "Property", "::", "FailedISel", ")", ")", "return", "false", ";", "auto", "*", "TPC", "=", "&", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ";", "MipsPreLegalizerCombinerInfo", "PCInfo", ";", "Combiner", "C", "(", "PCInfo", ",", "TPC", ")", ";", "return", "C", ".", "combineMachineInstrs", "(", "MF", ",", "nullptr", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsPreLegalizerCombiner (2)", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3003, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "MCFixupKind", ">", "AArch64AsmBackend", "::", "getFixupKind", "(", "StringRef", "Name", ")", "const", "{", "if", "(", "!", "TheTriple", ".", "isOSBinFormatELF", "(", ")", ")", "return", "None", ";", "unsigned", "Type", "=", "llvm", "::", "StringSwitch", "<", "unsigned", ">", "(", "Name", ")", ".", "Case", "(", "\"BFD_RELOC_NONE\"", ",", "ELF", "::", "R_AARCH64_NONE", ")", ".", "Case", "(", "\"BFD_RELOC_16\"", ",", "ELF", "::", "R_AARCH64_ABS16", ")", ".", "Case", "(", "\"BFD_RELOC_32\"", ",", "ELF", "::", "R_AARCH64_ABS32", ")", ".", "Case", "(", "\"BFD_RELOC_64\"", ",", "ELF", "::", "R_AARCH64_ABS64", ")", ".", "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": ["AArch64", "AArch64", "\"BFD_RELOC_NONE\"", "\"BFD_RELOC_16\"", "\"BFD_RELOC_32\"", "\"BFD_RELOC_64\"", "1u", "1u"], "File": "AArch64AsmBackend (2)1", "Func": "getFixupKind", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3004, "Length": 102, "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", "(", "!", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "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": "rs6000-p8swap", "Func": "chain_contains_only_swaps", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3005, "Length": 312, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_nopic_noplt_attribute_p", "(", "rtx", "call_op", ")", "{", "if", "(", "flag_pic", "||", "ix86_cmodel", "==", "CM_LARGE", "||", "!", "TARGET_64BIT", "||", "TARGET_MACHO", "||", "TARGET_SEH", "||", "TARGET_PECOFF", "||", "SYMBOL_REF_LOCAL_P", "(", "call_op", ")", ")", "return", "false", ";", "tree", "symbol_decl", "=", "SYMBOL_REF_DECL", "(", "call_op", ")", ";", "if", "(", "!", "flag_plt", "||", "(", "symbol_decl", "!=", "NULL_TREE", "&&", "lookup_attribute", "(", "\"noplt\"", ",", "DECL_ATTRIBUTES", "(", "symbol_decl", ")", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "function", "being", "called", "was", "marked", "with", "attribute", "``", "noplt", "''", "or", "using", "-fno-plt", "and", "we", "are", "compiling", "for", "non-PIC", "and", "x86_64", ".", "We", "need", "to", "handle", "the", "non-PIC", "case", "in", "the", "backend", "because", "there", "is", "no", "easy", "interface", "for", "the", "front-end", "to", "force", "non-PLT", "calls", "to", "use", "the", "GOT", ".", "This", "is", "currently", "used", "only", "with", "64-bit", "ELF", "targets", "to", "call", "the", "function", "marked", "``", "noplt", "''", "indirectly", "."], "TS_V_token": ["i386", "\"noplt\""], "File": "i3865", "Func": "ix86_nopic_noplt_attribute_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3006, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "emitFrameDirective", "(", "MachineFunction", "&", "MF", ")", "{", "const", "TargetRegisterInfo", "&", "RI", "=", "*", "TM", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "stackReg", "=", "RI", ".", "getFrameRegister", "(", "MF", ")", ";", "unsigned", "returnReg", "=", "RI", ".", "getRARegister", "(", ")", ";", "unsigned", "stackSize", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "O", "<<", "\"\\t.frame\\t\"", "<<", "'$'", "<<", "LowercaseString", "(", "RI", ".", "get", "(", "stackReg", ")", ".", "AsmName", ")", "<<", "','", "<<", "stackSize", "<<", "','", "<<", "'$'", "<<", "LowercaseString", "(", "RI", ".", "get", "(", "returnReg", ")", ".", "AsmName", ")", "<<", "'\\n'", ";", "}", ""], "natrual_language": ["Frame", "Directive", "."], "TS_V_token": ["Mips", "Mips", "\"\\t.frame\\t\""], "File": "MipsAsmPrinter21", "Func": "emitFrameDirective", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3007, "Length": 95, "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", ".", "isDebugInstr", "(", ")", ")", "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": "X86FrameLowering105", "Func": "orderFrameObjects", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3008, "Length": 314, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "sh_dwarf_calling_convention", "(", "tree", "func", ")", "{", "if", "(", "sh_attr_renesas_p", "(", "func", ")", ")", "return", "DW_CC_GNU_renesas_sh", ";", "return", "DW_CC_normal", ";", "}", ""], "natrual_language": ["Implements", "target", "hook", "dwarf_calling_convention", ".", "Return", "an", "enum", "of", "dwarf_calling_convention", "."], "TS_V_token": ["sh"], "File": "sh3", "Func": "sh_dwarf_calling_convention", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3009, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "isFunctionSafeToOutlineFrom", "(", "MachineFunction", "&", "MF", ",", "bool", "OutlineFromLinkOnceODRs", ")", "const", "{", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "Subtarget", ".", "getFrameLowering", "(", ")", "->", "has128ByteRedZone", "(", "MF", ")", ")", "{", "const", "X86MachineFunctionInfo", "*", "X86FI", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "if", "(", "!", "X86FI", "||", "X86FI", "->", "getUsesRedZone", "(", ")", ")", "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": ["X86", "X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86InstrInfo (2)3", "Func": "isFunctionSafeToOutlineFrom", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3010, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_sve_arith_immediate_p", "(", "rtx", "x", ",", "bool", "negate_p", ")", "{", "rtx", "elt", ";", "if", "(", "!", "const_vec_duplicate_p", "(", "x", ",", "&", "elt", ")", "||", "!", "CONST_INT_P", "(", "elt", ")", ")", "return", "false", ";", "HOST_WIDE_INT", "val", "=", "INTVAL", "(", "elt", ")", ";", "if", "(", "negate_p", ")", "val", "=", "-", "val", ";", "val", "&=", "GET_MODE_MASK", "(", "GET_MODE_INNER", "(", "GET_MODE", "(", "x", ")", ")", ")", ";", "if", "(", "val", "&", "0xff", ")", "return", "IN_RANGE", "(", "val", ",", "0", ",", "0xff", ")", ";", "return", "IN_RANGE", "(", "val", ",", "0", ",", "0xff00", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "valid", "immediate", "for", "the", "SVE", "ADD", "and", "SUB", "instructions", ".", "Negate", "X", "first", "if", "NEGATE_P", "is", "true", "."], "TS_V_token": ["aarch64", "0xff", "0", "0xff", "0", "0xff00"], "File": "aarch645", "Func": "aarch64_sve_arith_immediate_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3011, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "r10k_safe_mem_expr_p", "(", "tree", "expr", ",", "unsigned", "HOST_WIDE_INT", "offset", ")", "{", "poly_int64", "bitoffset", ",", "bitsize", ";", "tree", "inner", ",", "var_offset", ";", "machine_mode", "mode", ";", "int", "unsigned_p", ",", "reverse_p", ",", "volatile_p", ";", "inner", "=", "get_inner_reference", "(", "expr", ",", "&", "bitsize", ",", "&", "bitoffset", ",", "&", "var_offset", ",", "&", "mode", ",", "&", "unsigned_p", ",", "&", "reverse_p", ",", "&", "volatile_p", ")", ";", "if", "(", "!", "DECL_P", "(", "inner", ")", "||", "!", "DECL_SIZE_UNIT", "(", "inner", ")", "||", "var_offset", ")", "return", "false", ";", "offset", "+=", "bitoffset", "/", "BITS_PER_UNIT", ";", "return", "offset", "<", "tree_to_uhwi", "(", "DECL_SIZE_UNIT", "(", "inner", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "MEM", "with", "MEM_EXPR", "EXPR", "and", "MEM_OFFSET", "OFFSET", "is", "an", "in-range", "access", "to", "an", "automatic", "variable", ",", "or", "to", "an", "object", "with", "a", "link-time-constant", "address", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "r10k_safe_mem_expr_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3012, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "section", "*", "mips_select_rtx_section", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "unsigned", "HOST_WIDE_INT", "align", ")", "{", "if", "(", "mips_rtx_constant_in_small_data_p", "(", "mode", ")", ")", "return", "get_named_section", "(", "NULL", ",", "\".sdata\"", ",", "0", ")", ";", "return", "default_elf_select_rtx_section", "(", "mode", ",", "x", ",", "align", ")", ";", "}", ""], "natrual_language": ["Choose", "the", "section", "to", "use", "for", "the", "constant", "rtx", "expression", "X", "that", "has", "mode", "MODE", "."], "TS_V_token": ["mips", "\".sdata\"", "0"], "File": "mips", "Func": "mips_select_rtx_section", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3013, "Length": 44, "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": 3014, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "AArch64RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "AArch64FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "WSP", ")", ";", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "WZR", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "F", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "Mono", ")", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "W15", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", "||", "TT", ".", "isOSDarwin", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "W29", ")", ";", "if", "(", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isX18Reserved", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "W18", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "W19", ")", ";", "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": ["AArch64", "AArch64", "AArch64", "AArch64::WSP", "AArch64::WZR", "AArch64::W15", "AArch64::W29", "AArch64", "AArch64::W18", "AArch64::W19"], "File": "AArch64RegisterInfo15", "Func": "getReservedRegs", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3015, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "x86_initialize_trampoline", "(", "rtx", "tramp", ",", "rtx", "fnaddr", ",", "rtx", "cxt", ")", "{", "if", "(", "!", "TARGET_64BIT", ")", "{", "rtx", "disp", "=", "expand_binop", "(", "SImode", ",", "sub_optab", ",", "fnaddr", ",", "plus_constant", "(", "tramp", ",", "10", ")", ",", "NULL_RTX", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "QImode", ",", "tramp", ")", ",", "gen_int_mode", "(", "0xb9", ",", "QImode", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "tramp", ",", "1", ")", ")", ",", "cxt", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "QImode", ",", "plus_constant", "(", "tramp", ",", "5", ")", ")", ",", "gen_int_mode", "(", "0xe9", ",", "QImode", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "tramp", ",", "6", ")", ")", ",", "disp", ")", ";", "}", "else", "{", "int", "offset", "=", "0", ";", "if", "(", "x86_64_zext_immediate_operand", "(", "fnaddr", ",", "VOIDmode", ")", ")", "{", "fnaddr", "=", "copy_to_mode_reg", "(", "DImode", ",", "fnaddr", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "HImode", ",", "plus_constant", "(", "tramp", ",", "offset", ")", ")", ",", "gen_int_mode", "(", "0xbb41", ",", "HImode", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "tramp", ",", "offset", "+", "2", ")", ")", ",", "gen_lowpart", "(", "SImode", ",", "fnaddr", ")", ")", ";", "offset", "+=", "6", ";", "}", "else", "{", "emit_move_insn", "(", "gen_rtx_MEM", "(", "HImode", ",", "plus_constant", "(", "tramp", ",", "offset", ")", ")", ",", "gen_int_mode", "(", "0xbb49", ",", "HImode", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "DImode", ",", "plus_constant", "(", "tramp", ",", "offset", "+", "2", ")", ")", ",", "fnaddr", ")", ";", "offset", "+=", "10", ";", "}", "emit_move_insn", "(", "gen_rtx_MEM", "(", "HImode", ",", "plus_constant", "(", "tramp", ",", "offset", ")", ")", ",", "gen_int_mode", "(", "0xba49", ",", "HImode", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "DImode", ",", "plus_constant", "(", "tramp", ",", "offset", "+", "2", ")", ")", ",", "cxt", ")", ";", "offset", "+=", "10", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "HImode", ",", "plus_constant", "(", "tramp", ",", "offset", ")", ")", ",", "gen_int_mode", "(", "0xff49", ",", "HImode", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "QImode", ",", "plus_constant", "(", "tramp", ",", "offset", "+", "2", ")", ")", ",", "gen_int_mode", "(", "0xe3", ",", "QImode", ")", ")", ";", "offset", "+=", "3", ";", "gcc_assert", "(", "offset", "<=", "TRAMPOLINE_SIZE", ")", ";", "}", "emit_library_call", "(", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"__enable_execute_stack\"", ")", ",", "LCT_NORMAL", ",", "VOIDmode", ",", "1", ",", "tramp", ",", "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", "."], "TS_V_token": ["i386", "10", "1", "0xb9", "1", "5", "0xe9", "6", "0", "0xbb41", "2", "6", "0xbb49", "2", "10", "0xba49", "2", "10", "0xff49", "2", "0xe3", "3", "\"__enable_execute_stack\"", "1"], "File": "i3863", "Func": "x86_initialize_trampoline", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3016, "Length": 367, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "toc_hasher", "::", "equal", "(", "toc_hash_struct", "*", "h1", ",", "toc_hash_struct", "*", "h2", ")", "{", "rtx", "r1", "=", "h1", "->", "key", ";", "rtx", "r2", "=", "h2", "->", "key", ";", "if", "(", "h1", "->", "key_mode", "!=", "h2", "->", "key_mode", ")", "return", "0", ";", "return", "rtx_equal_p", "(", "r1", ",", "r2", ")", ";", "}", ""], "natrual_language": ["Compare", "H1", "and", "H2", "for", "equivalence", "."], "TS_V_token": ["rs6000", "0"], "File": "rs6000", "Func": "equal", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3017, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_set_handled_components", "(", "sbitmap", "components", ")", "{", "rs6000_stack_t", "*", "info", "=", "rs6000_stack_info", "(", ")", ";", "for", "(", "int", "i", "=", "info", "->", "first_gp_reg_save", ";", "i", "<", "32", ";", "i", "++", ")", "if", "(", "bitmap_bit_p", "(", "components", ",", "i", ")", ")", "cfun", "->", "machine", "->", "gpr_is_wrapped_separately", "[", "i", "]", "=", "true", ";", "for", "(", "int", "i", "=", "info", "->", "first_fp_reg_save", ";", "i", "<", "64", ";", "i", "++", ")", "if", "(", "bitmap_bit_p", "(", "components", ",", "i", ")", ")", "cfun", "->", "machine", "->", "fpr_is_wrapped_separately", "[", "i", "-", "32", "]", "=", "true", ";", "if", "(", "bitmap_bit_p", "(", "components", ",", "0", ")", ")", "cfun", "->", "machine", "->", "lr_is_wrapped_separately", "=", "true", ";", "if", "(", "bitmap_bit_p", "(", "components", ",", "2", ")", ")", "cfun", "->", "machine", "->", "toc_is_wrapped_separately", "=", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SHRINK_WRAP_SET_HANDLED_COMPONENTS", "."], "TS_V_token": ["rs6000", "32", "64", "32", "0", "2"], "File": "rs6000-logue", "Func": "rs6000_set_handled_components", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3018, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcRegisterInfo", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "prior", "(", "MBB", ".", "end", "(", ")", ")", ";", "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", "SP::RETL", "\"Can only put epilog before 'retl' instruction!\"", "SP::RESTORErr", "SP::G0", "SP::G0", "SP::G0"], "File": "SparcRegisterInfo12", "Func": "emitEpilogue", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3019, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "KudeyarTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "DebugLoc", "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", ")", ";", "case", "CallingConv", "::", "Kudeyar_INTR", ":", "if", "(", "Ins", ".", "empty", "(", ")", ")", "return", "Chain", ";", "report_fatal_error", "(", "\"ISRs cannot have arguments\"", ")", ";", "}", "}", ""], "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": ["Kudeyar", "Kudeyar", "ISD::InputArg", "\"Unsupported calling convention\"", "Kudeyar", "\"ISRs cannot have arguments\""], "File": "KudeyarISelLowering", "Func": "LowerFormalArguments", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3020, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "DLXAsmPrinter", "::", "isBlockOnlyReachableByFallthrough", "(", "const", "MachineBasicBlock", "*", "MBB", ")", "const", "{", "const", "MachineBasicBlock", "*", "Pred", "=", "*", "MBB", "->", "pred_begin", "(", ")", ";", "if", "(", "const", "BasicBlock", "*", "B", "=", "Pred", "->", "getBasicBlock", "(", ")", ")", "if", "(", "isa", "<", "SwitchInst", ">", "(", "B", "->", "getTerminator", "(", ")", ")", ")", "return", "false", ";", "if", "(", "!", "AsmPrinter", "::", "isBlockOnlyReachableByFallthrough", "(", "MBB", ")", ")", "return", "false", ";", "MachineBasicBlock", "::", "const_iterator", "I", "=", "Pred", "->", "end", "(", ")", ";", "while", "(", "I", "!=", "Pred", "->", "begin", "(", ")", "&&", "!", "(", "--", "I", ")", "->", "isTerminator", "(", ")", ")", "{", "}", "return", "!", "I", "->", "isBarrier", "(", ")", ";", "}", ""], "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": ["DLX", "DLX"], "File": "DLXAsmPrinter", "Func": "isBlockOnlyReachableByFallthrough", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3021, "Length": 109, "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", ":", "return", "Error", "(", "IDLoc", ",", "\"unrecognized instruction mnemonic\"", ")", ";", "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\"", "\"unrecognized instruction mnemonic\"", "0ULL", "\"too few operands for instruction\"", "PPC", "\"invalid operand for instruction\"", "\"Implement any new match types added!\""], "File": "PPCAsmParser (2)1", "Func": "MatchAndEmitInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3022, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsELFStreamer", "::", "emitValueImpl", "(", "const", "MCExpr", "*", "Value", ",", "unsigned", "Size", ",", "SMLoc", "Loc", ")", "{", "MCELFStreamer", "::", "emitValueImpl", "(", "Value", ",", "Size", ",", "Loc", ")", ";", "Labels", ".", "clear", "(", ")", ";", "}", ""], "natrual_language": ["Overriding", "these", "functions", "allows", "us", "to", "dismiss", "all", "labels", "that", "are", "candidates", "for", "marking", "as", "microMIPS", "when", ".word/.long/.4byte", "etc", "directives", "are", "emitted", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsELFStreamer19", "Func": "emitValueImpl", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3023, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "DLXTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "StringRef", "Constraint", ",", "MVT", "VT", ")", "const", "{", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "TRI", ",", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXISelLowering", "Func": "getRegForInlineAsmConstraint", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3024, "Length": 40, "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": 3025, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_valid_symbolic_address_p", "(", "rtx", "addr", ")", "{", "rtx", "xop0", ",", "xop1", "=", "NULL_RTX", ";", "rtx", "tmp", "=", "addr", ";", "if", "(", "target_word_relocations", ")", "return", "false", ";", "if", "(", "SYMBOL_REF_P", "(", "tmp", ")", "||", "LABEL_REF_P", "(", "tmp", ")", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "CONST", ")", "tmp", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "tmp", ")", "==", "PLUS", ")", "{", "xop0", "=", "XEXP", "(", "tmp", ",", "0", ")", ";", "xop1", "=", "XEXP", "(", "tmp", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "xop0", ")", "==", "SYMBOL_REF", "&&", "CONST_INT_P", "(", "xop1", ")", ")", "{", "if", "(", "TARGET_THUMB1", "&&", "!", "TARGET_HAVE_MOVT", ")", "return", "IN_RANGE", "(", "INTVAL", "(", "xop1", ")", ",", "0", ",", "0xff", ")", ";", "else", "return", "IN_RANGE", "(", "INTVAL", "(", "xop1", ")", ",", "-", "0x8000", ",", "0x7fff", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "pattern", "is", "a", "valid", "symbolic", "address", ",", "which", "is", "either", "a", "symbol_ref", "or", "(", "symbol_ref", "+", "addend", ")", ".", "According", "to", "the", "ARM", "ELF", "ABI", ",", "the", "initial", "addend", "of", "REL-type", "relocations", "processing", "MOVW", "and", "MOVT", "instructions", "is", "formed", "by", "interpreting", "the", "16-bit", "literal", "field", "of", "the", "instruction", "as", "a", "16-bit", "signed", "value", "in", "the", "range", "-32768", "<", "=", "A", "<", "32768", ".", "In", "Thumb-1", "mode", ",", "we", "use", "upper/lower", "relocations", "which", "have", "an", "8-bit", "unsigned", "range", "of", "0", "<", "=", "A", "<", "256", "as", "described", "in", "the", "AAELF32", "relocation", "handling", "documentation", ":", "REL-type", "relocations", "are", "encoded", "as", "unsigned", "in", "this", "case", "."], "TS_V_token": ["arm", "0", "0", "1", "0", "0xff", "0x8000", "0x7fff"], "File": "arm", "Func": "arm_valid_symbolic_address_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3026, "Length": 143, "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": 3027, "Length": 384, "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_code_model", "<=", "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": "sparc", "Func": "sparc_legitimize_reload_address", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3028, "Length": 241, "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": ["rs6000", "\"// rs6000_variable_issue (more = %d) = %d\\n\""], "File": "rs6000", "Func": "rs6000_variable_issue", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3029, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "SparcTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "getTargetMachine", "(", ")", ".", "getInstrInfo", "(", ")", ";", "unsigned", "BROpcode", ";", "unsigned", "CC", ";", "DebugLoc", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown SELECT_CC!\"", ")", ";", "case", "SP", "::", "SELECT_CC_Int_ICC", ":", "case", "SP", "::", "SELECT_CC_FP_ICC", ":", "case", "SP", "::", "SELECT_CC_DFP_ICC", ":", "BROpcode", "=", "SP", "::", "BCOND", ";", "break", ";", "case", "SP", "::", "SELECT_CC_Int_FCC", ":", "case", "SP", "::", "SELECT_CC_FP_FCC", ":", "case", "SP", "::", "SELECT_CC_DFP_FCC", ":", "BROpcode", "=", "SP", "::", "FBCOND", ";", "break", ";", "}", "CC", "=", "(", "SPCC", "::", "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", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "BROpcode", ")", ")", ".", "addMBB", "(", "sinkMBB", ")", ".", "addImm", "(", "CC", ")", ";", "F", "->", "insert", "(", "It", ",", "copy0MBB", ")", ";", "F", "->", "insert", "(", "It", ",", "sinkMBB", ")", ";", "sinkMBB", "->", "transferSuccessors", "(", "BB", ")", ";", "BB", "->", "addSuccessor", "(", "copy0MBB", ")", ";", "BB", "->", "addSuccessor", "(", "sinkMBB", ")", ";", "BB", "=", "copy0MBB", ";", "BB", "->", "addSuccessor", "(", "sinkMBB", ")", ";", "BB", "=", "sinkMBB", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "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": ["Sparc", "Sparc", "\"Unknown SELECT_CC!\"", "SP::SELECT_CC_Int_ICC", "SP::SELECT_CC_FP_ICC", "SP::SELECT_CC_DFP_ICC", "SP::BCOND", "SP::SELECT_CC_Int_FCC", "SP::SELECT_CC_FP_FCC", "SP::SELECT_CC_DFP_FCC", "SP::FBCOND", "SPCC::CondCodes", "3", "SP::PHI", "0", "2", "1"], "File": "SparcISelLowering22", "Func": "EmitInstrWithCustomInserter", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3030, "Length": 339, "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": 3031, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TTIImpl", "::", "getIntImmCost", "(", "Intrinsic", "::", "ID", "IID", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "switch", "(", "IID", ")", "{", "default", ":", "return", "TTI", "::", "TCC_Free", ";", "case", "Intrinsic", "::", "sadd_with_overflow", ":", "case", "Intrinsic", "::", "uadd_with_overflow", ":", "case", "Intrinsic", "::", "ssub_with_overflow", ":", "case", "Intrinsic", "::", "usub_with_overflow", ":", "case", "Intrinsic", "::", "smul_with_overflow", ":", "case", "Intrinsic", "::", "umul_with_overflow", ":", "if", "(", "(", "Idx", "==", "1", ")", "&&", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", "&&", "isInt", "<", "32", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "break", ";", "case", "Intrinsic", "::", "experimental_stackmap", ":", "if", "(", "(", "Idx", "<", "2", ")", "||", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", "&&", "isInt", "<", "64", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "break", ";", "case", "Intrinsic", "::", "experimental_patchpoint_void", ":", "case", "Intrinsic", "::", "experimental_patchpoint_i64", ":", "if", "(", "(", "Idx", "<", "4", ")", "||", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", "&&", "isInt", "<", "64", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "break", ";", "}", "return", "X86TTIImpl", "::", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["X86", "X86", "Intrinsic::ID", "0", "Intrinsic::sadd_with_overflow", "Intrinsic::uadd_with_overflow", "Intrinsic::ssub_with_overflow", "Intrinsic::usub_with_overflow", "Intrinsic::smul_with_overflow", "Intrinsic::umul_with_overflow", "1", "64", "32", "Intrinsic::experimental_stackmap", "2", "64", "64", "Intrinsic::experimental_patchpoint_void", "Intrinsic::experimental_patchpoint_i64", "4", "64", "64", "X86"], "File": "X86TargetTransformInfo86", "Func": "getIntImmCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3032, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "enablePostRAScheduler", "(", ")", "const", "override", "{", "return", "isCortexA53", "(", ")", "||", "isCortexA57", "(", ")", ";", "}", ""], "natrual_language": ["True", "if", "the", "subtarget", "should", "run", "a", "scheduler", "after", "register", "allocation", "."], "TS_V_token": ["AArch64"], "File": "AArch64Subtarget3", "Func": "enablePostRAScheduler", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3033, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isLegalAddImmediate", "(", "int64_t", "Imm", ")", "const", "{", "int64_t", "AbsImm", "=", "std", "::", "abs", "(", "Imm", ")", ";", "if", "(", "!", "Subtarget", "->", "isThumb", "(", ")", ")", "return", "ARM_AM", "::", "getSOImmVal", "(", "AbsImm", ")", "!=", "-", "1", ";", "if", "(", "Subtarget", "->", "isThumb2", "(", ")", ")", "return", "ARM_AM", "::", "getT2SOImmVal", "(", "AbsImm", ")", "!=", "-", "1", ";", "return", "AbsImm", ">=", "0", "&&", "AbsImm", "<=", "255", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "immediate", "is", "legal", "add", "immediate", ",", "that", "is", "the", "target", "has", "add", "instructions", "which", "can", "add", "a", "register", "and", "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": "ARMISelLowering (2)2", "Func": "isLegalAddImmediate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3034, "Length": 69, "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", ",", "bool", "NeedSizeDir", "=", "false", ")", "{", "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", "->", "Mem", ".", "NeedSizeDir", "=", "NeedSizeDir", ";", "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": "X86AsmParser22", "Func": "CreateMem", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3035, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "getGlobalBaseReg", "(", ")", "const", "{", "return", "GlobalBaseReg", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["VE"], "File": "VEMachineFunctionInfo", "Func": "getGlobalBaseReg", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3036, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCELFStreamer", "::", "emitInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "PPCMCCodeEmitter", "*", "Emitter", "=", "static_cast", "<", "PPCMCCodeEmitter", "*", ">", "(", "getAssembler", "(", ")", ".", "getEmitterPtr", "(", ")", ")", ";", "if", "(", "!", "Emitter", "->", "isPrefixedInstruction", "(", "Inst", ")", ")", "{", "MCELFStreamer", "::", "emitInstruction", "(", "Inst", ",", "STI", ")", ";", "return", ";", "}", "emitCodeAlignment", "(", "64", ",", "4", ")", ";", "MCELFStreamer", "::", "emitInstruction", "(", "Inst", ",", "STI", ")", ";", "MCFragment", "*", "InstructionFragment", "=", "getCurrentFragment", "(", ")", ";", "SMLoc", "InstLoc", "=", "Inst", ".", "getLoc", "(", ")", ";", "if", "(", "LastLabel", "&&", "!", "LastLabel", "->", "isUnset", "(", ")", "&&", "LastLabelLoc", ".", "isValid", "(", ")", "&&", "InstLoc", ".", "isValid", "(", ")", ")", "{", "const", "SourceMgr", "*", "SourceManager", "=", "getContext", "(", ")", ".", "getSourceManager", "(", ")", ";", "unsigned", "InstLine", "=", "SourceManager", "->", "FindLineNumber", "(", "InstLoc", ")", ";", "unsigned", "LabelLine", "=", "SourceManager", "->", "FindLineNumber", "(", "LastLabelLoc", ")", ";", "if", "(", "InstLine", "==", "LabelLine", ")", "{", "AssignFragment", "(", "LastLabel", ",", "InstructionFragment", ")", ";", "LastLabel", "->", "setOffset", "(", "0", ")", ";", "}", "}", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "64", "4", "0"], "File": "PPCELFStreamer5", "Func": "emitInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3037, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZRegisterInfo", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "const", "TargetFrameInfo", "&", "TFI", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "SystemZMachineFunctionInfo", "*", "SystemZMFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "DL", "=", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "::", "getUnknownLoc", "(", ")", ")", ";", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "StackSize", "-=", "SystemZMFI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "uint64_t", "NumBytes", "=", "StackSize", "-", "TFI", ".", "getOffsetOfLocalArea", "(", ")", ";", "while", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", "&&", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "SystemZ", "::", "MOV64mr", "||", "MBBI", "->", "getOpcode", "(", ")", "==", "SystemZ", "::", "MOV64mrm", ")", ")", "++", "MBBI", ";", "if", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "StackSize", "||", "MFI", "->", "hasCalls", "(", ")", ")", "{", "assert", "(", "MF", ".", "getRegInfo", "(", ")", ".", "isPhysRegUsed", "(", "SystemZ", "::", "R15D", ")", "&&", "\"Invalid stack frame calculation!\"", ")", ";", "emitSPUpdate", "(", "MBB", ",", "MBBI", ",", "-", "(", "int64_t", ")", "NumBytes", ",", "TII", ")", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "SystemZ", "::", "MOV64rr", ")", ",", "SystemZ", "::", "R11D", ")", ".", "addReg", "(", "SystemZ", "::", "R15D", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "next", "(", "MF", ".", "begin", "(", ")", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "I", "->", "addLiveIn", "(", "SystemZ", "::", "R11D", ")", ";", "}", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ::MOV64mr", "SystemZ::MOV64mrm", "SystemZ::R15D", "\"Invalid stack frame calculation!\"", "SystemZ::MOV64rr", "SystemZ::R11D", "SystemZ::R15D", "SystemZ::R11D"], "File": "SystemZRegisterInfo8", "Func": "emitPrologue", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3038, "Length": 301, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "valid_bL_core_p", "(", "unsigned", "int", "*", "core", ",", "unsigned", "int", "bL_core", ")", "{", "return", "AARCH64_BIG_LITTLE", "(", "core", "[", "0", "]", ",", "core", "[", "1", "]", ")", "==", "bL_core", "||", "AARCH64_BIG_LITTLE", "(", "core", "[", "1", "]", ",", "core", "[", "0", "]", ")", "==", "bL_core", ";", "}", ""], "natrual_language": ["Check", "wether", "the", "CORE", "array", "is", "the", "same", "as", "the", "big.LITTLE", "BL_CORE", ".", "For", "an", "example", "CORE=", "{", "0xd08", ",", "0xd03", "}", "and", "BL_CORE=AARCH64_BIG_LITTLE", "(", "0xd08", ",", "0xd03", ")", "will", "return", "true", "."], "TS_V_token": ["aarch64", "0", "1", "1", "0"], "File": "driver-aarch64", "Func": "valid_bL_core_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3039, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "A64Imms", "::", "isFPImm", "(", "const", "APFloat", "&", "Val", ",", "uint32_t", "&", "Imm8Bits", ")", "{", "const", "fltSemantics", "&", "Sem", "=", "Val", ".", "getSemantics", "(", ")", ";", "unsigned", "FracBits", "=", "APFloat", "::", "semanticsPrecision", "(", "Sem", ")", "-", "1", ";", "uint32_t", "ExpMask", ";", "switch", "(", "FracBits", ")", "{", "case", "10", ":", "ExpMask", "=", "0x1f", ";", "break", ";", "case", "23", ":", "ExpMask", "=", "0xff", ";", "break", ";", "case", "52", ":", "ExpMask", "=", "0x7ff", ";", "break", ";", "case", "112", ":", "return", "false", ";", "default", ":", "llvm_unreachable", "(", "\"Only half, single and double precision supported\"", ")", ";", "}", "uint32_t", "ExpStart", "=", "FracBits", ";", "uint64_t", "FracMask", "=", "(", "1ULL", "<<", "FracBits", ")", "-", "1", ";", "uint32_t", "Sign", "=", "Val", ".", "isNegative", "(", ")", ";", "uint64_t", "Bits", "=", "Val", ".", "bitcastToAPInt", "(", ")", ".", "getLimitedValue", "(", ")", ";", "uint64_t", "Fraction", "=", "Bits", "&", "FracMask", ";", "int32_t", "Exponent", "=", "(", "(", "Bits", ">>", "ExpStart", ")", "&", "ExpMask", ")", ";", "Exponent", "-=", "ExpMask", ">>", "1", ";", "uint64_t", "A64FracStart", "=", "FracBits", "-", "4", ";", "uint64_t", "A64FracMask", "=", "0xf", ";", "if", "(", "Fraction", "&", "~", "(", "A64FracMask", "<<", "A64FracStart", ")", ")", "return", "false", ";", "if", "(", "Exponent", "<", "-", "3", "||", "Exponent", ">", "4", ")", "return", "false", ";", "uint32_t", "PackedFraction", "=", "(", "Fraction", ">>", "A64FracStart", ")", "&", "A64FracMask", ";", "uint32_t", "PackedExp", "=", "(", "Exponent", "+", "7", ")", "&", "0x7", ";", "Imm8Bits", "=", "(", "Sign", "<<", "7", ")", "|", "(", "PackedExp", "<<", "4", ")", "|", "PackedFraction", ";", "return", "true", ";", "}", ""], "natrual_language": ["isFPImm", "-", "Tests", "if", "this", "is", "a", "MO_FPImmediate", "operand", "."], "TS_V_token": ["AArch64", "1", "10", "0x1f", "23", "0xff", "52", "0x7ff", "112", "\"Only half, single and double precision supported\"", "1ULL", "1", "1", "4", "0xf", "3", "4", "7", "0x7", "7", "4"], "File": "AArch64BaseInfo2", "Func": "isFPImm", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3040, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FISCInstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "FISC", "::", "MOVi64", ":", "{", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", "->", "getParent", "(", ")", ";", "const", "unsigned", "DstReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "const", "bool", "DstIsDead", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "isDead", "(", ")", ";", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "1", ")", ";", "auto", "Q1", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "FISC", "::", "MOVZ", ")", ",", "DstReg", ")", ";", "auto", "Q2", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "FISC", "::", "MOVK", ")", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ")", ";", "auto", "Q3", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "FISC", "::", "MOVK", ")", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ")", ";", "auto", "Q4", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "FISC", "::", "MOVK", ")", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "const", "uint64_t", "Imm", "=", "MO", ".", "getImm", "(", ")", ";", "Q1", "=", "Q1", ".", "addImm", "(", "Imm", "&", "0xffff", ")", ".", "addImm", "(", "0", ")", ";", "Q2", "=", "Q2", ".", "addImm", "(", "(", "Imm", ">>", "16", ")", "&", "0xffff", ")", ".", "addImm", "(", "1", ")", ";", "Q3", "=", "Q3", ".", "addImm", "(", "(", "Imm", ">>", "32", ")", "&", "0xffff", ")", ".", "addImm", "(", "2", ")", ";", "Q4", "=", "Q4", ".", "addImm", "(", "(", "Imm", ">>", "48", ")", "&", "0xffff", ")", ".", "addImm", "(", "3", ")", ";", "}", "else", "{", "const", "GlobalValue", "*", "GV", "=", "MO", ".", "getGlobal", "(", ")", ";", "const", "unsigned", "TF", "=", "MO", ".", "getTargetFlags", "(", ")", ";", "Q1", "=", "Q1", ".", "addGlobalAddress", "(", "GV", ",", "MO", ".", "getOffset", "(", ")", ",", "FISCII", "::", "MO_Q1", ")", ".", "addImm", "(", "0", ")", ";", "Q2", "=", "Q2", ".", "addGlobalAddress", "(", "GV", ",", "MO", ".", "getOffset", "(", ")", ",", "FISCII", "::", "MO_Q2", ")", ".", "addImm", "(", "1", ")", ";", "Q3", "=", "Q3", ".", "addGlobalAddress", "(", "GV", ",", "MO", ".", "getOffset", "(", ")", ",", "FISCII", "::", "MO_Q3", ")", ".", "addImm", "(", "2", ")", ";", "Q4", "=", "Q4", ".", "addGlobalAddress", "(", "GV", ",", "MO", ".", "getOffset", "(", ")", ",", "FISCII", "::", "MO_Q4", ")", ".", "addImm", "(", "3", ")", ";", "}", "MBB", ".", "erase", "(", "MI", ")", ";", "return", "true", ";", "}", "}", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["FISC", "FISC", "FISC::MOVi64", "0", "0", "1", "FISC::MOVZ", "FISC::MOVK", "FISC::MOVK", "FISC::MOVK", "0xffff", "0", "16", "0xffff", "1", "32", "0xffff", "2", "48", "0xffff", "3", "FISCII::MO_Q1", "0", "FISCII::MO_Q2", "1", "FISCII::MO_Q3", "2", "FISCII::MO_Q4", "3"], "File": "FISCInstrInfo", "Func": "expandPostRAPseudo", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3041, "Length": 458, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_initialize_isa", "(", "sbitmap", "isa", ",", "const", "enum", "isa_feature", "*", "isa_bits", ")", "{", "bitmap_clear", "(", "isa", ")", ";", "while", "(", "*", "isa_bits", "!=", "isa_nobit", ")", "bitmap_set_bit", "(", "isa", ",", "*", "(", "isa_bits", "++", ")", ")", ";", "}", ""], "natrual_language": ["Convert", "a", "static", "initializer", "array", "of", "feature", "bits", "to", "sbitmap", "representation", "."], "TS_V_token": ["arm"], "File": "arm6", "Func": "arm_initialize_isa", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3042, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "OR1KTargetLowering", "::", "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", ":", "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": ["OR1K", "OR1K", "ISD::InputArg", "\"Unsupported calling convention\""], "File": "OR1KISelLowering1", "Func": "LowerFormalArguments", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3043, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int64_t", "getFrameAdjustment", "(", "const", "MachineInstr", "&", "I", ")", "const", "{", "assert", "(", "isFrameInstr", "(", "I", ")", ")", ";", "return", "I", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "stack", "pointer", "adjustment", "that", "happens", "inside", "the", "frame", "setup", "..", "destroy", "sequence", "(", "e.g", "."], "TS_V_token": ["X86", "1"], "File": "X86InstrInfo73", "Func": "getFrameAdjustment", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3044, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CSKYInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "DL", ",", "MCRegister", "DestReg", ",", "MCRegister", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "if", "(", "CSKY", "::", "GPRRegClass", ".", "contains", "(", "SrcReg", ")", "&&", "CSKY", "::", "CARRYRegClass", ".", "contains", "(", "DestReg", ")", ")", "{", "if", "(", "STI", ".", "hasE2", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "CSKY", "::", "BTSTI32", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ".", "addImm", "(", "0", ")", ";", "}", "else", "{", "assert", "(", "SrcReg", "<", "CSKY", "::", "R8", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "CSKY", "::", "BTSTI16", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ".", "addImm", "(", "0", ")", ";", "}", "return", ";", "}", "if", "(", "CSKY", "::", "CARRYRegClass", ".", "contains", "(", "SrcReg", ")", "&&", "CSKY", "::", "GPRRegClass", ".", "contains", "(", "DestReg", ")", ")", "{", "if", "(", "STI", ".", "hasE2", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "CSKY", "::", "MVC32", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", "else", "{", "assert", "(", "DestReg", "<", "CSKY", "::", "R16", ")", ";", "assert", "(", "DestReg", "<", "CSKY", "::", "R8", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "CSKY", "::", "MOVI16", ")", ",", "DestReg", ")", ".", "addImm", "(", "0", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "CSKY", "::", "ADDC16", ")", ")", ".", "addReg", "(", "DestReg", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "SrcReg", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "DestReg", ",", "getKillRegState", "(", "true", ")", ")", ".", "addReg", "(", "DestReg", ",", "getKillRegState", "(", "true", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "true", ")", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "CSKY", "::", "BTSTI16", ")", ")", ".", "addReg", "(", "SrcReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "KillSrc", ")", ")", ".", "addReg", "(", "DestReg", ")", ".", "addImm", "(", "0", ")", ";", "}", "return", ";", "}", "unsigned", "Opcode", "=", "0", ";", "if", "(", "CSKY", "::", "GPRRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "CSKY", "::", "MOV32", ";", "else", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"src = \"", "<<", "SrcReg", "<<", "\", dst = \"", "<<", "DestReg", ")", ";", "LLVM_DEBUG", "(", "I", "->", "dump", "(", ")", ")", ";", "llvm_unreachable", "(", "\"Unknown RegisterClass\"", ")", ";", "}", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opcode", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["CSKY", "CSKY", "CSKY::GPRRegClass", "CSKY::CARRYRegClass", "CSKY::BTSTI32", "0", "CSKY::R8", "CSKY::BTSTI16", "0", "CSKY::CARRYRegClass", "CSKY::GPRRegClass", "CSKY::MVC32", "CSKY::R16", "CSKY::R8", "CSKY::MOVI16", "0", "CSKY::ADDC16", "CSKY::BTSTI16", "0", "0", "CSKY::GPRRegClass", "CSKY::MOV32", "\"src = \"", "\", dst = \"", "\"Unknown RegisterClass\""], "File": "CSKYInstrInfo4", "Func": "copyPhysReg", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3045, "Length": 449, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_expand_vec_shift_qihi_constant", "(", "enum", "rtx_code", "code", ",", "rtx", "dest", ",", "rtx", "op1", ",", "rtx", "op2", ")", "{", "machine_mode", "qimode", ",", "himode", ";", "HOST_WIDE_INT", "and_constant", ",", "xor_constant", ";", "HOST_WIDE_INT", "shift_amount", ";", "rtx", "vec_const_and", ",", "vec_const_xor", ";", "rtx", "tmp", ",", "op1_subreg", ";", "rtx", "(", "*", "gen_shift", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "rtx", "(", "*", "gen_and", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "rtx", "(", "*", "gen_xor", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "rtx", "(", "*", "gen_sub", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "if", "(", "!", "CONST_INT_P", "(", "op2", ")", ")", "return", "false", ";", "qimode", "=", "GET_MODE", "(", "dest", ")", ";", "shift_amount", "=", "INTVAL", "(", "op2", ")", ";", "if", "(", "shift_amount", ">", "7", ")", "return", "false", ";", "gcc_assert", "(", "code", "==", "ASHIFT", "||", "code", "==", "ASHIFTRT", "||", "code", "==", "LSHIFTRT", ")", ";", "xor_constant", "=", "1", "<<", "(", "8", "-", "shift_amount", "-", "1", ")", ";", "and_constant", "=", "(", "code", "==", "ASHIFT", "?", "256", "-", "(", "1", "<<", "shift_amount", ")", ":", "(", "1", "<<", "(", "8", "-", "shift_amount", ")", ")", "-", "1", ")", ";", "switch", "(", "qimode", ")", "{", "case", "V16QImode", ":", "himode", "=", "V8HImode", ";", "gen_shift", "=", "(", "(", "code", "==", "ASHIFT", ")", "?", "gen_ashlv8hi3", ":", "(", "code", "==", "ASHIFTRT", ")", "?", "gen_ashrv8hi3", ":", "gen_lshrv8hi3", ")", ";", "gen_and", "=", "gen_andv16qi3", ";", "gen_xor", "=", "gen_xorv16qi3", ";", "gen_sub", "=", "gen_subv16qi3", ";", "break", ";", "case", "V32QImode", ":", "himode", "=", "V16HImode", ";", "gen_shift", "=", "(", "(", "code", "==", "ASHIFT", ")", "?", "gen_ashlv16hi3", ":", "(", "code", "==", "ASHIFTRT", ")", "?", "gen_ashrv16hi3", ":", "gen_lshrv16hi3", ")", ";", "gen_and", "=", "gen_andv32qi3", ";", "gen_xor", "=", "gen_xorv32qi3", ";", "gen_sub", "=", "gen_subv32qi3", ";", "break", ";", "case", "V64QImode", ":", "himode", "=", "V32HImode", ";", "gen_shift", "=", "(", "(", "code", "==", "ASHIFT", ")", "?", "gen_ashlv32hi3", ":", "(", "code", "==", "ASHIFTRT", ")", "?", "gen_ashrv32hi3", ":", "gen_lshrv32hi3", ")", ";", "gen_and", "=", "gen_andv64qi3", ";", "gen_xor", "=", "gen_xorv64qi3", ";", "gen_sub", "=", "gen_subv64qi3", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "tmp", "=", "gen_reg_rtx", "(", "himode", ")", ";", "vec_const_and", "=", "gen_reg_rtx", "(", "qimode", ")", ";", "op1_subreg", "=", "lowpart_subreg", "(", "himode", ",", "op1", ",", "qimode", ")", ";", "emit_insn", "(", "gen_shift", "(", "tmp", ",", "op1_subreg", ",", "op2", ")", ")", ";", "emit_move_insn", "(", "dest", ",", "simplify_gen_subreg", "(", "qimode", ",", "tmp", ",", "himode", ",", "0", ")", ")", ";", "emit_move_insn", "(", "vec_const_and", ",", "ix86_build_const_vector", "(", "qimode", ",", "true", ",", "gen_int_mode", "(", "and_constant", ",", "QImode", ")", ")", ")", ";", "emit_insn", "(", "gen_and", "(", "dest", ",", "dest", ",", "vec_const_and", ")", ")", ";", "if", "(", "code", "==", "ASHIFTRT", ")", "{", "vec_const_xor", "=", "gen_reg_rtx", "(", "qimode", ")", ";", "emit_move_insn", "(", "vec_const_xor", ",", "ix86_build_const_vector", "(", "qimode", ",", "true", ",", "gen_int_mode", "(", "xor_constant", ",", "QImode", ")", ")", ")", ";", "emit_insn", "(", "gen_xor", "(", "dest", ",", "dest", ",", "vec_const_xor", ")", ")", ";", "emit_insn", "(", "gen_sub", "(", "dest", ",", "dest", ",", "vec_const_xor", ")", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Expand", "a", "vector", "operation", "shift", "by", "constant", "for", "a", "V", "*", "QImode", "in", "terms", "of", "the", "same", "operation", "on", "V", "*", "HImode", ".", "Return", "true", "if", "success", "."], "TS_V_token": ["i386", "7", "1", "8", "1", "256", "1", "1", "8", "1", "0"], "File": "i386-expand1", "Func": "ix86_expand_vec_shift_qihi_constant", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3046, "Length": 468, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "int", "isa_base_compat_p", "(", "const", "struct", "loongarch_isa", "*", "set1", ",", "const", "struct", "loongarch_isa", "*", "set2", ")", "{", "switch", "(", "set2", "->", "base", ")", "{", "case", "ISA_BASE_LA64V100", ":", "return", "(", "set1", "->", "base", "==", "ISA_BASE_LA64V100", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Check", "if", "set2", "is", "a", "subset", "of", "set1", "."], "TS_V_token": ["loongarch"], "File": "loongarch-opts", "Func": "isa_base_compat_p", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3047, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getString", "(", ")", ";", "if", "(", "IDVal", "==", "\".dword\"", ")", "{", "parseDataDirective", "(", "8", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".ent\"", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".end\"", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".frame\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".set\"", ")", "{", "return", "parseDirectiveSet", "(", ")", ";", "}", "if", "(", "IDVal", "==", "\".fmask\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".mask\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".nan\"", ")", "return", "parseDirectiveNaN", "(", ")", ";", "if", "(", "IDVal", "==", "\".gpword\"", ")", "{", "parseDirectiveGpWord", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".gpdword\"", ")", "{", "parseDirectiveGpDWord", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".word\"", ")", "{", "parseDataDirective", "(", "4", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".option\"", ")", "return", "parseDirectiveOption", "(", ")", ";", "if", "(", "IDVal", "==", "\".abicalls\"", ")", "{", "getTargetStreamer", "(", ")", ".", "emitDirectiveAbiCalls", "(", ")", ";", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "Error", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ",", "\"unexpected token in directive\"", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "}", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".cpsetup\"", ")", "return", "parseDirectiveCPSetup", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["Mips", "Mips", "\".dword\"", "8", "\".ent\"", "\".end\"", "\".frame\"", "\".set\"", "\".fmask\"", "\".mask\"", "\".nan\"", "\".gpword\"", "\".gpdword\"", "\".word\"", "4", "\".option\"", "\".abicalls\"", "\"unexpected token in directive\"", "\".cpsetup\""], "File": "MipsAsmParser45", "Func": "ParseDirective", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3048, "Length": 284, "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?\"", ")", ";", "auto", "ValSize", "=", "VA", ".", "getValVT", "(", ")", ".", "getSizeInBits", "(", ")", ";", "auto", "LocSize", "=", "VA", ".", "getLocVT", "(", ")", ".", "getSizeInBits", "(", ")", ";", "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": "ARMCallLowering", "Func": "assignValueToReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3049, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "override", "{", "uint64_t", "NumNops", "=", "Count", "/", "4", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "!=", "NumNops", ";", "++", "i", ")", "OW", "->", "Write32", "(", "0x60000000", ")", ";", "switch", "(", "Count", "%", "4", ")", "{", "default", ":", "break", ";", "case", "1", ":", "OW", "->", "Write8", "(", "0", ")", ";", "break", ";", "case", "2", ":", "OW", "->", "Write16", "(", "0", ")", ";", "break", ";", "case", "3", ":", "OW", "->", "Write16", "(", "0", ")", ";", "OW", "->", "Write8", "(", "0", ")", ";", "break", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["PowerPC", "4", "0", "0x60000000", "4", "1", "0", "2", "0", "3", "0", "0"], "File": "PPCAsmBackend", "Func": "writeNopData", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3050, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "ArrayRef", "<", "Register", ">>", "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", "(", "isa", "<", "ScalableVectorType", ">", "(", "Arg", ".", "getType", "(", ")", ")", ")", "return", "false", ";", "if", "(", "DL", ".", "getTypeStoreSize", "(", "Arg", ".", "getType", "(", ")", ")", ".", "isZero", "(", ")", ")", "continue", ";", "ArgInfo", "OrigArg", "{", "VRegs", "[", "i", "]", ",", "Arg", ".", "getType", "(", ")", "}", ";", "setArgFlags", "(", "OrigArg", ",", "i", "+", "AttributeList", "::", "FirstArgIndex", ",", "DL", ",", "F", ")", ";", "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", "4", "8", "4", "16", "AArch64"], "File": "AArch64CallLowering2", "Func": "lowerFormalArguments", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3051, "Length": 459, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LEGInstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "LEG", "::", "MOVi32", ":", "{", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", "->", "getParent", "(", ")", ";", "const", "unsigned", "DstReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "const", "bool", "DstIsDead", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "isDead", "(", ")", ";", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "1", ")", ";", "auto", "LO16", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "LEG", "::", "MOVLOi16", ")", ",", "DstReg", ")", ";", "auto", "HI16", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "LEG", "::", "MOVHIi16", ")", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "const", "unsigned", "Imm", "=", "MO", ".", "getImm", "(", ")", ";", "const", "unsigned", "Lo16", "=", "Imm", "&", "0xffff", ";", "const", "unsigned", "Hi16", "=", "(", "Imm", ">>", "16", ")", "&", "0xffff", ";", "LO16", "=", "LO16", ".", "addImm", "(", "Lo16", ")", ";", "HI16", "=", "HI16", ".", "addImm", "(", "Hi16", ")", ";", "}", "else", "{", "const", "GlobalValue", "*", "GV", "=", "MO", ".", "getGlobal", "(", ")", ";", "const", "unsigned", "TF", "=", "MO", ".", "getTargetFlags", "(", ")", ";", "LO16", "=", "LO16", ".", "addGlobalAddress", "(", "GV", ",", "MO", ".", "getOffset", "(", ")", ",", "TF", "|", "LEGII", "::", "MO_LO16", ")", ";", "HI16", "=", "HI16", ".", "addGlobalAddress", "(", "GV", ",", "MO", ".", "getOffset", "(", ")", ",", "TF", "|", "LEGII", "::", "MO_HI16", ")", ";", "}", "MBB", ".", "erase", "(", "MI", ")", ";", "return", "true", ";", "}", "}", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["LEG", "LEG", "LEG::MOVi32", "0", "0", "1", "LEG::MOVLOi16", "LEG::MOVHIi16", "0xffff", "16", "0xffff", "LEGII::MO_LO16", "LEGII::MO_HI16"], "File": "LEGInstrInfo1", "Func": "expandPostRAPseudo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3052, "Length": 290, "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": 3053, "Length": 365, "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": 3054, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_function_value_regno_p", "(", "const", "unsigned", "int", "regno", ")", "{", "if", "(", "regno", "==", "R0_REGNUM", "||", "regno", "==", "R1_REGNUM", ")", "return", "true", ";", "if", "(", "regno", ">=", "V0_REGNUM", "&&", "regno", "<", "V0_REGNUM", "+", "HA_MAX_NUM_FLDS", ")", "return", "!", "TARGET_GENERAL_REGS_ONLY", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implements", "TARGET_FUNCTION_VALUE_REGNO_P", ".", "Return", "true", "if", "REGNO", "is", "the", "number", "of", "a", "hard", "register", "in", "which", "the", "values", "of", "called", "function", "may", "come", "back", "."], "TS_V_token": ["aarch64"], "File": "aarch642", "Func": "aarch64_function_value_regno_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3055, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCOperand", "SystemZMCInstLower", "::", "lowerOperand", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"unknown operand type\"", ")", ";", "case", "MachineOperand", "::", "MO_Register", ":", "if", "(", "MO", ".", "isImplicit", "(", ")", ")", "return", "MCOperand", "(", ")", ";", "return", "MCOperand", "::", "CreateReg", "(", "MO", ".", "getReg", "(", ")", ")", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "return", "MCOperand", "::", "CreateImm", "(", "MO", ".", "getImm", "(", ")", ")", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "return", "lowerSymbolOperand", "(", "MO", ",", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ",", "0", ")", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "return", "lowerSymbolOperand", "(", "MO", ",", "Mang", "->", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ",", "MO", ".", "getOffset", "(", ")", ")", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "{", "StringRef", "Name", "=", "MO", ".", "getSymbolName", "(", ")", ";", "return", "lowerSymbolOperand", "(", "MO", ",", "AsmPrinter", ".", "GetExternalSymbolSymbol", "(", "Name", ")", ",", "MO", ".", "getOffset", "(", ")", ")", ";", "}", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "return", "lowerSymbolOperand", "(", "MO", ",", "AsmPrinter", ".", "GetJTISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ",", "0", ")", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "return", "lowerSymbolOperand", "(", "MO", ",", "AsmPrinter", ".", "GetCPISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ",", "MO", ".", "getOffset", "(", ")", ")", ";", "case", "MachineOperand", "::", "MO_BlockAddress", ":", "{", "const", "BlockAddress", "*", "BA", "=", "MO", ".", "getBlockAddress", "(", ")", ";", "return", "lowerSymbolOperand", "(", "MO", ",", "AsmPrinter", ".", "GetBlockAddressSymbol", "(", "BA", ")", ",", "MO", ".", "getOffset", "(", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["Wrapper", "for", "MCInstLowering.lowerOperand", "(", ")", "for", "the", "tblgen'erated", "pseudo", "lowering", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"unknown operand type\"", "0", "0"], "File": "SystemZMCInstLower", "Func": "lowerOperand", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3056, "Length": 252, "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": 3057, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "getSqrtInputTest", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ",", "const", "DenormalMode", "&", "Mode", ")", "const", "{", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "if", "(", "!", "isTypeLegal", "(", "MVT", "::", "i1", ")", "||", "(", "VT", "!=", "MVT", "::", "f64", "&&", "(", "(", "VT", "!=", "MVT", "::", "v2f64", "&&", "VT", "!=", "MVT", "::", "v4f32", ")", "||", "!", "Subtarget", ".", "hasVSX", "(", ")", ")", ")", ")", "return", "SDValue", "(", ")", ";", "SDLoc", "DL", "(", "Op", ")", ";", "SDValue", "FTSQRT", "=", "DAG", ".", "getNode", "(", "PPCISD", "::", "FTSQRT", ",", "DL", ",", "MVT", "::", "i32", ",", "Op", ")", ";", "SDValue", "SRIdxVal", "=", "DAG", ".", "getTargetConstant", "(", "PPC", "::", "sub_eq", ",", "DL", ",", "MVT", "::", "i32", ")", ";", "return", "SDValue", "(", "DAG", ".", "getMachineNode", "(", "TargetOpcode", "::", "EXTRACT_SUBREG", ",", "DL", ",", "MVT", "::", "i1", ",", "FTSQRT", ",", "SRIdxVal", ")", ",", "0", ")", ";", "}", ""], "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": ["PowerPC", "PPC", "MVT::i1", "MVT::f64", "MVT::v2f64", "MVT::v4f32", "PPCISD::FTSQRT", "MVT::i32", "PPC::sub_eq", "MVT::i32", "MVT::i1", "0"], "File": "PPCISelLowering16", "Func": "getSqrtInputTest", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3058, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ARMSubtarget", "*", "getSubtargetImpl", "(", ")", "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": ["ARM", "ARM"], "File": "ARMTargetMachine12", "Func": "getSubtargetImpl", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3059, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_load_insn1", "(", "rtx", "pat", ",", "rtx", "*", "load_mem", ")", "{", "if", "(", "!", "pat", "||", "pat", "==", "NULL_RTX", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "SET", ")", "return", "find_mem_ref", "(", "SET_SRC", "(", "pat", ")", ",", "load_mem", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "XVECLEN", "(", "pat", ",", "0", ")", ";", "i", "++", ")", "if", "(", "is_load_insn1", "(", "XVECEXP", "(", "pat", ",", "0", ",", "i", ")", ",", "load_mem", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Determine", "if", "PAT", "is", "a", "PATTERN", "of", "a", "load", "insn", "."], "TS_V_token": ["powerpcspe", "0", "0", "0"], "File": "powerpcspe", "Func": "is_load_insn1", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3060, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_cfun_interrupt_handler_p", "(", "void", ")", "{", "return", "(", "lookup_attribute", "(", "\"interrupt_handler\"", ",", "DECL_ATTRIBUTES", "(", "current_function_decl", ")", ")", "!=", "NULL_TREE", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "current", "function", "has", "the", "``", "interrupt_handler", "''", "attribute", "set", "."], "TS_V_token": ["sh", "\"interrupt_handler\""], "File": "sh", "Func": "sh_cfun_interrupt_handler_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3061, "Length": 22, "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": 3062, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "useMachineCombiner", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "when", "a", "target", "supports", "MachineCombiner", "."], "TS_V_token": ["PowerPC"], "File": "PPCInstrInfo (2)2", "Func": "useMachineCombiner", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3063, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "(", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "TRI", "->", "needsStackRealignment", "(", "MF", ")", "||", "MFI", ".", "hasVarSizedObjects", "(", ")", "||", "MFI", ".", "isFrameAddressTaken", "(", ")", "||", "MFI", ".", "hasOpaqueSPAdjustment", "(", ")", "||", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "getForceFramePointer", "(", ")", "||", "MF", ".", "callsUnwindInit", "(", ")", "||", "MF", ".", "hasEHFunclets", "(", ")", "||", "MF", ".", "callsEHReturn", "(", ")", "||", "MFI", ".", "hasStackMap", "(", ")", "||", "MFI", ".", "hasPatchPoint", "(", ")", "||", "MFI", ".", "hasCopyImplyingStackAdjustment", "(", ")", ")", ";", "}", ""], "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)2", "Func": "hasFP", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3064, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "arm_d_handle_target_float_abi", "(", "void", ")", "{", "const", "char", "*", "abi", ";", "switch", "(", "arm_float_abi", ")", "{", "case", "ARM_FLOAT_ABI_HARD", ":", "abi", "=", "\"hard\"", ";", "break", ";", "case", "ARM_FLOAT_ABI_SOFT", ":", "abi", "=", "\"soft\"", ";", "break", ";", "case", "ARM_FLOAT_ABI_SOFTFP", ":", "abi", "=", "\"softfp\"", ";", "break", ";", "default", ":", "abi", "=", "\"\"", ";", "break", ";", "}", "return", "build_string_literal", "(", "strlen", "(", "abi", ")", "+", "1", ",", "abi", ")", ";", "}", ""], "natrual_language": ["Handle", "a", "call", "to", "`", "__traits", "(", "getTargetInfo", ",", "``", "floatAbi", "''", ")", "'", "."], "TS_V_token": ["arm", "\"hard\"", "\"soft\"", "\"softfp\"", "\"\"", "1"], "File": "arm-d", "Func": "arm_d_handle_target_float_abi", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3065, "Length": 67, "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": ["Sparc"], "File": "SparcTargetMachine (2)", "Func": "getObjFileLowering", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3066, "Length": 16, "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", ")", ";", "unsigned", "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": "SparcRegisterInfo6", "Func": "eliminateFrameIndex", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3067, "Length": 478, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ia64_arg_partial_bytes", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "int", "words", "=", "ia64_function_arg_words", "(", "type", ",", "mode", ")", ";", "int", "offset", "=", "ia64_function_arg_offset", "(", "cum", ",", "type", ",", "words", ")", ";", "if", "(", "cum", "->", "words", "+", "offset", ">=", "MAX_ARGUMENT_SLOTS", ")", "return", "0", ";", "if", "(", "words", "+", "cum", "->", "words", "+", "offset", "<=", "MAX_ARGUMENT_SLOTS", ")", "return", "0", ";", "return", "(", "MAX_ARGUMENT_SLOTS", "-", "cum", "->", "words", "-", "offset", ")", "*", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Return", "number", "of", "bytes", ",", "at", "the", "beginning", "of", "the", "argument", ",", "that", "must", "be", "put", "in", "registers", ".", "0", "is", "the", "argument", "is", "entirely", "in", "registers", "or", "entirely", "in", "memory", "."], "TS_V_token": ["ia64", "0", "0"], "File": "ia644", "Func": "ia64_arg_partial_bytes", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3068, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "X86InstructionSelector", "::", "getRegClass", "(", "LLT", "Ty", ",", "unsigned", "Reg", ",", "MachineRegisterInfo", "&", "MRI", ")", "const", "{", "const", "RegisterBank", "&", "RegBank", "=", "*", "RBI", ".", "getRegBank", "(", "Reg", ",", "MRI", ",", "TRI", ")", ";", "return", "getRegClass", "(", "Ty", ",", "RegBank", ")", ";", "}", ""], "natrual_language": ["Given", "a", "machine", "instruction", "descriptor", ",", "returns", "the", "register", "class", "constraint", "for", "OpNum", ",", "or", "NULL", "."], "TS_V_token": ["X86", "X86"], "File": "X86InstructionSelector (2)", "Func": "getRegClass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3069, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64InstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "AArch64", "::", "LDRWui", ":", "case", "AArch64", "::", "LDRXui", ":", "case", "AArch64", "::", "LDRBui", ":", "case", "AArch64", "::", "LDRHui", ":", "case", "AArch64", "::", "LDRSui", ":", "case", "AArch64", "::", "LDRDui", ":", "case", "AArch64", "::", "LDRQui", ":", "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": ["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": ["AArch64", "AArch64", "AArch64::LDRWui", "AArch64::LDRXui", "AArch64::LDRBui", "AArch64::LDRHui", "AArch64::LDRSui", "AArch64::LDRDui", "AArch64::LDRQui", "0", "0", "1", "2", "2", "0", "1", "0", "0"], "File": "AArch64InstrInfo (2)", "Func": "isLoadFromStackSlot", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3070, "Length": 148, "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": 3071, "Length": 223, "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": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_reg_live_or_pic_offset_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3072, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_apply_result_size", "(", "void", ")", "{", "int", "size", "=", "16", ";", "if", "(", "TARGET_ARM", ")", "{", "if", "(", "TARGET_HARD_FLOAT_ABI", ")", "{", "if", "(", "TARGET_FPA", ")", "size", "+=", "12", ";", "if", "(", "TARGET_MAVERICK", ")", "size", "+=", "8", ";", "}", "if", "(", "TARGET_IWMMXT_ABI", ")", "size", "+=", "8", ";", "}", "return", "size", ";", "}", ""], "natrual_language": ["Determine", "the", "amount", "of", "memory", "needed", "to", "store", "the", "possible", "return", "registers", "of", "an", "untyped", "call", "."], "TS_V_token": ["arm", "16", "12", "8", "8"], "File": "arm3", "Func": "arm_apply_result_size", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3073, "Length": 51, "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": 3074, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "aarch64_parse_opt_result", "aarch64_parse_arch", "(", "const", "char", "*", "to_parse", ",", "const", "struct", "processor", "*", "*", "res", ",", "unsigned", "long", "*", "isa_flags", ")", "{", "char", "*", "ext", ";", "const", "struct", "processor", "*", "arch", ";", "char", "*", "str", "=", "(", "char", "*", ")", "alloca", "(", "strlen", "(", "to_parse", ")", "+", "1", ")", ";", "size_t", "len", ";", "strcpy", "(", "str", ",", "to_parse", ")", ";", "ext", "=", "strchr", "(", "str", ",", "'+'", ")", ";", "if", "(", "ext", "!=", "NULL", ")", "len", "=", "ext", "-", "str", ";", "else", "len", "=", "strlen", "(", "str", ")", ";", "if", "(", "len", "==", "0", ")", "return", "AARCH64_PARSE_MISSING_ARG", ";", "for", "(", "arch", "=", "all_architectures", ";", "arch", "->", "name", "!=", "NULL", ";", "arch", "++", ")", "{", "if", "(", "strlen", "(", "arch", "->", "name", ")", "==", "len", "&&", "strncmp", "(", "arch", "->", "name", ",", "str", ",", "len", ")", "==", "0", ")", "{", "unsigned", "long", "isa_temp", "=", "arch", "->", "flags", ";", "if", "(", "ext", "!=", "NULL", ")", "{", "enum", "aarch64_parse_opt_result", "ext_res", "=", "aarch64_parse_extension", "(", "ext", ",", "&", "isa_temp", ")", ";", "if", "(", "ext_res", "!=", "AARCH64_PARSE_OK", ")", "return", "ext_res", ";", "}", "*", "res", "=", "arch", ";", "*", "isa_flags", "=", "isa_temp", ";", "return", "AARCH64_PARSE_OK", ";", "}", "}", "return", "AARCH64_PARSE_INVALID_ARG", ";", "}", ""], "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", "0"], "File": "aarch643", "Func": "aarch64_parse_arch", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3075, "Length": 196, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "AArch64RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "assert", "(", "MF", "&&", "\"Invalid MachineFunction pointer.\"", ")", ";", "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", ";", "else", "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"], "File": "AArch64RegisterInfo19", "Func": "getCalleeSavedRegs", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3076, "Length": 175, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "DCPU16InstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "DCPU16", "::", "MOV16mr", ")", "{", "if", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "isFI", "(", ")", ")", "{", "FrameIndex", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getIndex", "(", ")", ";", "return", "MI", "->", "getOperand", "(", "2", ")", ".", "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": ["Dcpu16", "DCPU16", "DCPU16::MOV16mr", "0", "0", "2", "0"], "File": "Dcpu16InstrInfo", "Func": "isStoreToStackSlot", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3077, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_declare_object", "(", "FILE", "*", "stream", ",", "const", "char", "*", "name", ",", "const", "char", "*", "init_string", ",", "const", "char", "*", "final_string", ",", "...", ")", "{", "va_list", "ap", ";", "fputs", "(", "init_string", ",", "stream", ")", ";", "assemble_name", "(", "stream", ",", "name", ")", ";", "va_start", "(", "ap", ",", "final_string", ")", ";", "vfprintf", "(", "stream", ",", "final_string", ",", "ap", ")", ";", "va_end", "(", "ap", ")", ";", "if", "(", "!", "TARGET_EXPLICIT_RELOCS", ")", "{", "tree", "name_tree", "=", "get_identifier", "(", "name", ")", ";", "TREE_ASM_WRITTEN", "(", "name_tree", ")", "=", "1", ";", "}", "}", ""], "natrual_language": ["Emit", "either", "a", "label", ",", ".comm", ",", "or", ".lcomm", "directive", ".", "When", "using", "assembler", "macros", ",", "mark", "the", "symbol", "as", "written", "so", "that", "mips_file_end", "wo", "n't", "emit", "an", ".extern", "for", "it", ".", "STREAM", "is", "the", "output", "file", ",", "NAME", "is", "the", "name", "of", "the", "symbol", ",", "INIT_STRING", "is", "the", "string", "that", "should", "be", "written", "before", "the", "symbol", "and", "FINAL_STRING", "is", "the", "string", "that", "should", "be", "written", "after", "it", ".", "FINAL_STRING", "is", "a", "printf", "(", ")", "format", "that", "consumes", "the", "remaining", "arguments", "."], "TS_V_token": ["mips", "1"], "File": "mips", "Func": "mips_declare_object", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3078, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "note_csky_invalid_constants", "(", "rtx_insn", "*", "insn", ",", "HOST_WIDE_INT", "address", ",", "int", "do_pushes", ")", "{", "bool", "result", "=", "false", ";", "int", "opno", ";", "extract_constrain_insn", "(", "insn", ")", ";", "if", "(", "recog_data", ".", "n_alternatives", "==", "0", ")", "return", "false", ";", "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_csky_minipool_fix", "(", "insn", ",", "address", ",", "recog_data", ".", "operand_loc", "[", "opno", "]", ",", "recog_data", ".", "operand_mode", "[", "opno", "]", ",", "op", ")", ";", "result", "=", "true", ";", "}", "}", "}", "return", "result", ";", "}", ""], "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", "."], "TS_V_token": ["csky", "0", "0"], "File": "csky", "Func": "note_csky_invalid_constants", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3079, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_expand_sse_cmp", "(", "rtx", "dest", ",", "enum", "rtx_code", "code", ",", "rtx", "cmp_op0", ",", "rtx", "cmp_op1", ",", "rtx", "op_true", ",", "rtx", "op_false", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "machine_mode", "cmp_ops_mode", "=", "GET_MODE", "(", "cmp_op0", ")", ";", "machine_mode", "cmp_mode", ";", "bool", "maskcmp", "=", "false", ";", "rtx", "x", ";", "if", "(", "GET_MODE_SIZE", "(", "cmp_ops_mode", ")", "==", "64", ")", "{", "cmp_mode", "=", "mode_for_size", "(", "GET_MODE_NUNITS", "(", "cmp_ops_mode", ")", ",", "MODE_INT", ",", "0", ")", ";", "gcc_assert", "(", "cmp_mode", "!=", "BLKmode", ")", ";", "maskcmp", "=", "true", ";", "}", "else", "cmp_mode", "=", "cmp_ops_mode", ";", "cmp_op0", "=", "force_reg", "(", "cmp_ops_mode", ",", "cmp_op0", ")", ";", "if", "(", "!", "nonimmediate_operand", "(", "cmp_op1", ",", "cmp_ops_mode", ")", ")", "cmp_op1", "=", "force_reg", "(", "cmp_ops_mode", ",", "cmp_op1", ")", ";", "if", "(", "optimize", "||", "(", "op_true", "&&", "reg_overlap_mentioned_p", "(", "dest", ",", "op_true", ")", ")", "||", "(", "op_false", "&&", "reg_overlap_mentioned_p", "(", "dest", ",", "op_false", ")", ")", ")", "dest", "=", "gen_reg_rtx", "(", "maskcmp", "?", "cmp_mode", ":", "mode", ")", ";", "if", "(", "maskcmp", "&&", "(", "code", "==", "GT", "||", "code", "==", "EQ", ")", ")", "{", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "switch", "(", "cmp_ops_mode", ")", "{", "case", "V64QImode", ":", "gcc_assert", "(", "TARGET_AVX512BW", ")", ";", "gen", "=", "code", "==", "GT", "?", "gen_avx512bw_gtv64qi3", ":", "gen_avx512bw_eqv64qi3_1", ";", "break", ";", "case", "V32HImode", ":", "gcc_assert", "(", "TARGET_AVX512BW", ")", ";", "gen", "=", "code", "==", "GT", "?", "gen_avx512bw_gtv32hi3", ":", "gen_avx512bw_eqv32hi3_1", ";", "break", ";", "case", "V16SImode", ":", "gen", "=", "code", "==", "GT", "?", "gen_avx512f_gtv16si3", ":", "gen_avx512f_eqv16si3_1", ";", "break", ";", "case", "V8DImode", ":", "gen", "=", "code", "==", "GT", "?", "gen_avx512f_gtv8di3", ":", "gen_avx512f_eqv8di3_1", ";", "break", ";", "default", ":", "gen", "=", "NULL", ";", "}", "if", "(", "gen", ")", "{", "emit_insn", "(", "gen", "(", "dest", ",", "cmp_op0", ",", "cmp_op1", ")", ")", ";", "return", "dest", ";", "}", "}", "x", "=", "gen_rtx_fmt_ee", "(", "code", ",", "cmp_mode", ",", "cmp_op0", ",", "cmp_op1", ")", ";", "if", "(", "cmp_mode", "!=", "mode", "&&", "!", "maskcmp", ")", "{", "x", "=", "force_reg", "(", "cmp_ops_mode", ",", "x", ")", ";", "convert_move", "(", "dest", ",", "x", ",", "false", ")", ";", "}", "else", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "x", ")", ")", ";", "return", "dest", ";", "}", ""], "natrual_language": ["Expand", "an", "sse", "vector", "comparison", ".", "Return", "the", "register", "with", "the", "result", "."], "TS_V_token": ["i386", "64", "0"], "File": "i3865", "Func": "ix86_expand_sse_cmp", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3080, "Length": 346, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64InstrInfo", "::", "getLoadStoreImmIdx", "(", "unsigned", "Opc", ")", "{", "switch", "(", "Opc", ")", "{", "default", ":", "return", "2", ";", "case", "AArch64", "::", "LDPXi", ":", "case", "AArch64", "::", "LDPDi", ":", "case", "AArch64", "::", "STPXi", ":", "case", "AArch64", "::", "STPDi", ":", "case", "AArch64", "::", "LDNPXi", ":", "case", "AArch64", "::", "LDNPDi", ":", "case", "AArch64", "::", "STNPXi", ":", "case", "AArch64", "::", "STNPDi", ":", "case", "AArch64", "::", "LDPQi", ":", "case", "AArch64", "::", "STPQi", ":", "case", "AArch64", "::", "LDNPQi", ":", "case", "AArch64", "::", "STNPQi", ":", "case", "AArch64", "::", "LDPWi", ":", "case", "AArch64", "::", "LDPSi", ":", "case", "AArch64", "::", "STPWi", ":", "case", "AArch64", "::", "STPSi", ":", "case", "AArch64", "::", "LDNPWi", ":", "case", "AArch64", "::", "LDNPSi", ":", "case", "AArch64", "::", "STNPWi", ":", "case", "AArch64", "::", "STNPSi", ":", "case", "AArch64", "::", "LDG", ":", "case", "AArch64", "::", "STGPi", ":", "return", "3", ";", "case", "AArch64", "::", "ADDG", ":", "case", "AArch64", "::", "STGOffset", ":", "return", "2", ";", "}", "}", ""], "natrual_language": ["Returns", "the", "index", "for", "the", "immediate", "for", "a", "given", "instruction", "."], "TS_V_token": ["AArch64", "AArch64", "2", "AArch64::LDPXi", "AArch64::LDPDi", "AArch64::STPXi", "AArch64::STPDi", "AArch64::LDNPXi", "AArch64::LDNPDi", "AArch64::STNPXi", "AArch64::STNPDi", "AArch64::LDPQi", "AArch64::STPQi", "AArch64::LDNPQi", "AArch64::STNPQi", "AArch64::LDPWi", "AArch64::LDPSi", "AArch64::STPWi", "AArch64::STPSi", "AArch64::LDNPWi", "AArch64::LDNPSi", "AArch64::STNPWi", "AArch64::STNPSi", "AArch64::LDG", "AArch64::STGPi", "3", "AArch64::ADDG", "AArch64::STGOffset", "2"], "File": "AArch64InstrInfo10", "Func": "getLoadStoreImmIdx", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3081, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "function_expander", "::", "add_mem_operand", "(", "machine_mode", "mode", ",", "rtx", "addr", ")", "{", "gcc_assert", "(", "VECTOR_MODE_P", "(", "mode", ")", "||", "mode", "==", "OImode", ")", ";", "rtx", "mem", "=", "gen_rtx_MEM", "(", "mode", ",", "memory_address", "(", "mode", ",", "addr", ")", ")", ";", "set_mem_align", "(", "mem", ",", "GET_MODE_ALIGNMENT", "(", "GET_MODE_INNER", "(", "mode", ")", ")", ")", ";", "add_fixed_operand", "(", "mem", ")", ";", "}", ""], "natrual_language": ["Add", "a", "memory", "operand", "with", "mode", "MODE", "and", "address", "ADDR", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "add_mem_operand", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3082, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "X86TargetLowering", "::", "SimplifyMultipleUseDemandedBitsForTargetNode", "(", "SDValue", "Op", ",", "const", "APInt", "&", "DemandedBits", ",", "const", "APInt", "&", "DemandedElts", ",", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "int", "NumElts", "=", "DemandedElts", ".", "getBitWidth", "(", ")", ";", "unsigned", "Opc", "=", "Op", ".", "getOpcode", "(", ")", ";", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "switch", "(", "Opc", ")", "{", "case", "X86ISD", "::", "PINSRB", ":", "case", "X86ISD", "::", "PINSRW", ":", "{", "SDValue", "Vec", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "auto", "*", "CIdx", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "2", ")", ")", ";", "MVT", "VecVT", "=", "Vec", ".", "getSimpleValueType", "(", ")", ";", "if", "(", "CIdx", "&&", "CIdx", "->", "getAPIntValue", "(", ")", ".", "ult", "(", "VecVT", ".", "getVectorNumElements", "(", ")", ")", "&&", "!", "DemandedElts", "[", "CIdx", "->", "getZExtValue", "(", ")", "]", ")", "return", "Vec", ";", "break", ";", "}", "}", "SmallVector", "<", "int", ",", "16", ">", "ShuffleMask", ";", "SmallVector", "<", "SDValue", ",", "2", ">", "ShuffleOps", ";", "if", "(", "VT", ".", "isSimple", "(", ")", "&&", "VT", ".", "isVector", "(", ")", "&&", "resolveTargetShuffleInputs", "(", "Op", ",", "ShuffleOps", ",", "ShuffleMask", ",", "DAG", ",", "Depth", ")", ")", "{", "int", "NumOps", "=", "ShuffleOps", ".", "size", "(", ")", ";", "if", "(", "ShuffleMask", ".", "size", "(", ")", "==", "(", "unsigned", ")", "NumElts", "&&", "llvm", "::", "all_of", "(", "ShuffleOps", ",", "[", "VT", "]", "(", "SDValue", "V", ")", "{", "return", "VT", ".", "getSizeInBits", "(", ")", "==", "V", ".", "getValueSizeInBits", "(", ")", ";", "}", ")", ")", "{", "APInt", "IdentityOp", "=", "APInt", "::", "getAllOnesValue", "(", "NumOps", ")", ";", "bool", "AllUndef", "=", "true", ";", "for", "(", "int", "i", "=", "0", ";", "i", "!=", "NumElts", ";", "++", "i", ")", "{", "int", "M", "=", "ShuffleMask", "[", "i", "]", ";", "if", "(", "SM_SentinelUndef", "==", "M", "||", "!", "DemandedElts", "[", "i", "]", ")", "continue", ";", "AllUndef", "=", "false", ";", "int", "Op", "=", "M", "/", "NumElts", ";", "int", "Index", "=", "M", "%", "NumElts", ";", "if", "(", "M", "<", "0", "||", "Index", "!=", "i", ")", "{", "IdentityOp", ".", "clearAllBits", "(", ")", ";", "break", ";", "}", "IdentityOp", "&=", "APInt", "::", "getOneBitSet", "(", "NumOps", ",", "Op", ")", ";", "if", "(", "IdentityOp", "==", "0", ")", "break", ";", "}", "if", "(", "AllUndef", ")", "return", "DAG", ".", "getUNDEF", "(", "VT", ")", ";", "assert", "(", "(", "IdentityOp", "==", "0", "||", "IdentityOp", ".", "countPopulation", "(", ")", "==", "1", ")", "&&", "\"Multiple identity shuffles detected\"", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "!=", "NumOps", ";", "++", "i", ")", "if", "(", "IdentityOp", "[", "i", "]", ")", "return", "DAG", ".", "getBitcast", "(", "VT", ",", "ShuffleOps", "[", "i", "]", ")", ";", "}", "}", "return", "TargetLowering", "::", "SimplifyMultipleUseDemandedBitsForTargetNode", "(", "Op", ",", "DemandedBits", ",", "DemandedElts", ",", "DAG", ",", "Depth", ")", ";", "}", ""], "natrual_language": ["More", "limited", "version", "of", "SimplifyDemandedBits", "that", "can", "be", "used", "to", "``", "look", "through", "''", "ops", "that", "do", "n't", "contribute", "to", "the", "DemandedBits/DemandedElts", "-", "bitwise", "ops", "etc", "."], "TS_V_token": ["X86", "X86", "X86ISD::PINSRB", "X86ISD::PINSRW", "0", "2", "16", "2", "0", "0", "0", "0", "1", "\"Multiple identity shuffles detected\"", "0"], "File": "X86ISelLowering151", "Func": "SimplifyMultipleUseDemandedBitsForTargetNode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3083, "Length": 433, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isGAPlusOffset", "(", "SDNode", "*", "N", ",", "const", "GlobalValue", "*", "&", "GA", ",", "int64_t", "&", "Offset", ")", "const", "{", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "Wrapper", ")", "{", "if", "(", "isa", "<", "GlobalAddressSDNode", ">", "(", "N", "->", "getOperand", "(", "0", ")", ")", ")", "{", "GA", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "N", "->", "getOperand", "(", "0", ")", ")", "->", "getGlobal", "(", ")", ";", "Offset", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "N", "->", "getOperand", "(", "0", ")", ")", "->", "getOffset", "(", ")", ";", "return", "true", ";", "}", "}", "return", "TargetLowering", "::", "isGAPlusOffset", "(", "N", ",", "GA", ",", "Offset", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "(", "and", "the", "GlobalValue", "and", "the", "offset", ")", "if", "the", "node", "is", "a", "GlobalAddress", "+", "offset", "."], "TS_V_token": ["X86", "X86", "X86ISD::Wrapper", "0", "0", "0"], "File": "X86ISelLowering (2)", "Func": "isGAPlusOffset", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3084, "Length": 106, "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", "(", "exp", "==", "NULL_TREE", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "exp", ")", "==", "FUNCTION_DECL", ")", "return", "false", ";", "if", "(", "VAR_P", "(", "exp", ")", "&&", "!", "is_global_var", "(", "exp", ")", ")", "return", "false", ";", "if", "(", "VAR_P", "(", "exp", ")", "&&", "DECL_SECTION_NAME", "(", "exp", ")", ")", "{", "const", "char", "*", "section", "=", "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", "<=", "0", "||", "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", "0"], "File": "i386", "Func": "ix86_in_large_data_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3085, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MergeValues", "(", "ArrayRef", "<", "SDValue", ">", "Values", ")", "{", "return", "DAG", "->", "getMergeValues", "(", "Values", ",", "dl", ")", ";", "}", ""], "natrual_language": ["MergeValues", "-", "Compute", "and", "return", "the", "merge", "of", "the", "two", "specified", "lattice", "values", "."], "TS_V_token": ["X86"], "File": "X86ParabixISelLowering", "Func": "MergeValues", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3086, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCContext", "&", "getContext", "(", ")", "const", "{", "return", "Streamer", ".", "getContext", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "LLVMContext", "used", "by", "the", "analysis", "."], "TS_V_token": ["SHUXI"], "File": "SHUXITargetStreamer", "Func": "getContext", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3087, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZXPLINKFrameLowering", "::", "assignCalleeSavedSpillSlots", "(", "MachineFunction", "&", "MF", ",", "const", "TargetRegisterInfo", "*", "TRI", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "MachineFrameInfo", "&", "MFFrame", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "SystemZMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "const", "SystemZSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "SystemZSubtarget", ">", "(", ")", ";", "auto", "&", "Regs", "=", "Subtarget", ".", "getSpecialRegisters", "<", "SystemZXPLINK64Registers", ">", "(", ")", ";", "unsigned", "LowGPR", "=", "0", ";", "int", "LowOffset", "=", "INT32_MAX", ";", "unsigned", "HighGPR", "=", "LowGPR", ";", "int", "HighOffset", "=", "-", "1", ";", "unsigned", "RegSP", "=", "Regs", ".", "getStackPointerRegister", "(", ")", ";", "auto", "&", "GRRegClass", "=", "SystemZ", "::", "GR64BitRegClass", ";", "const", "unsigned", "RegSize", "=", "8", ";", "auto", "ProcessCSI", "=", "[", "&", "]", "(", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSIList", ")", "{", "for", "(", "auto", "&", "CS", ":", "CSIList", ")", "{", "Register", "Reg", "=", "CS", ".", "getReg", "(", ")", ";", "int", "Offset", "=", "RegSpillOffsets", "[", "Reg", "]", ";", "if", "(", "Offset", ">=", "0", ")", "{", "if", "(", "GRRegClass", ".", "contains", "(", "Reg", ")", ")", "{", "if", "(", "LowOffset", ">", "Offset", ")", "{", "LowOffset", "=", "Offset", ";", "LowGPR", "=", "Reg", ";", "}", "if", "(", "Offset", ">", "HighOffset", ")", "{", "HighOffset", "=", "Offset", ";", "HighGPR", "=", "Reg", ";", "}", "}", "int", "FrameIdx", "=", "MFFrame", ".", "CreateFixedSpillStackObject", "(", "RegSize", ",", "Offset", ")", ";", "CS", ".", "setFrameIdx", "(", "FrameIdx", ")", ";", "}", "else", "CS", ".", "setFrameIdx", "(", "INT32_MAX", ")", ";", "}", "}", ";", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "Spills", ";", "Spills", ".", "push_back", "(", "CalleeSavedInfo", "(", "Regs", ".", "getAddressOfCalleeRegister", "(", ")", ")", ")", ";", "if", "(", "hasFP", "(", "MF", ")", "||", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"backchain\"", ")", ")", "Spills", ".", "push_back", "(", "CalleeSavedInfo", "(", "RegSP", ")", ")", ";", "ProcessCSI", "(", "CSI", ")", ";", "MFI", "->", "setRestoreGPRRegs", "(", "LowGPR", ",", "HighGPR", ",", "LowOffset", ")", ";", "ProcessCSI", "(", "Spills", ")", ";", "MFI", "->", "setSpillGPRRegs", "(", "LowGPR", ",", "HighGPR", ",", "LowOffset", ")", ";", "for", "(", "auto", "&", "CS", ":", "CSI", ")", "{", "if", "(", "CS", ".", "getFrameIdx", "(", ")", "!=", "INT32_MAX", ")", "continue", ";", "Register", "Reg", "=", "CS", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "Align", "Alignment", "=", "TRI", "->", "getSpillAlign", "(", "*", "RC", ")", ";", "unsigned", "Size", "=", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", ";", "Alignment", "=", "std", "::", "min", "(", "Alignment", ",", "getStackAlign", "(", ")", ")", ";", "int", "FrameIdx", "=", "MFFrame", ".", "CreateStackObject", "(", "Size", ",", "Alignment", ",", "true", ")", ";", "CS", ".", "setFrameIdx", "(", "FrameIdx", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["This", "function", "will", "assign", "callee", "saved", "gprs", "to", "volatile", "vector", "registers", "for", "prologue", "spills", "when", "applicable", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "0", "1", "SystemZ::GR64BitRegClass", "8", "0", "\"backchain\""], "File": "SystemZFrameLowering20", "Func": "assignCalleeSavedSpillSlots", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3088, "Length": 428, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "Register", "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", "(", ")", "->", "getStackAlign", "(", ")", ">=", "Alignment", ")", "||", "RI", ".", "canRealignStack", "(", "MF", ")", ";", "unsigned", "Opc", "=", "getLoadRegOpcode", "(", "DestReg", ",", "RC", ",", "isAligned", ",", "Subtarget", ")", ";", "auto", "mi", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "Opc", ")", ",", "DestReg", ")", ";", "addFrameReference", "(", "mi", ",", "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": "X86InstrInfo9", "Func": "loadRegFromStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3089, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_hardreg_mov_ok", "(", "rtx", "dst", ",", "rtx", "src", ")", "{", "if", "(", "REG_P", "(", "dst", ")", "&&", "HARD_REGISTER_P", "(", "dst", ")", "&&", "!", "REG_P", "(", "src", ")", "&&", "!", "MEM_P", "(", "src", ")", "&&", "!", "(", "VECTOR_MODE_P", "(", "GET_MODE", "(", "dst", ")", ")", "?", "standard_sse_constant_p", "(", "src", ",", "GET_MODE", "(", "dst", ")", ")", ":", "x86_64_immediate_operand", "(", "src", ",", "GET_MODE", "(", "dst", ")", ")", ")", "&&", "ix86_class_likely_spilled_p", "(", "REGNO_REG_CLASS", "(", "REGNO", "(", "dst", ")", ")", ")", "&&", "!", "reload_completed", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "set", "of", "DST", "by", "the", "expression", "SRC", "should", "be", "allowed", ".", "This", "prevents", "complex", "sets", "of", "likely_spilled", "hard", "regs", "before", "reload", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_hardreg_mov_ok", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3090, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "pa_output_mul_insn", "(", "int", "unsignedp", "ATTRIBUTE_UNUSED", ",", "rtx_insn", "*", "insn", ")", "{", "import_milli", "(", "mulI", ")", ";", "return", "pa_output_millicode_call", "(", "insn", ",", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"$$mulI\"", ")", ")", ";", "}", ""], "natrual_language": ["The", "register", "constraints", "have", "put", "the", "operands", "and", "return", "value", "in", "the", "proper", "registers", "."], "TS_V_token": ["pa", "\"$$mulI\""], "File": "pa", "Func": "pa_output_mul_insn", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3091, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_emit_loadgp", "(", "void", ")", "{", "rtx", "addr", ",", "offset", ",", "incoming_address", ",", "base", ",", "index", ",", "pic_reg", ";", "pic_reg", "=", "TARGET_MIPS16", "?", "MIPS16_PIC_TEMP", ":", "pic_offset_table_rtx", ";", "switch", "(", "mips_current_loadgp_style", "(", ")", ")", "{", "case", "LOADGP_ABSOLUTE", ":", "if", "(", "mips_gnu_local_gp", "==", "NULL", ")", "{", "mips_gnu_local_gp", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"__gnu_local_gp\"", ")", ";", "SYMBOL_REF_FLAGS", "(", "mips_gnu_local_gp", ")", "|=", "SYMBOL_FLAG_LOCAL", ";", "}", "emit_insn", "(", "PMODE_INSN", "(", "gen_loadgp_absolute", ",", "(", "pic_reg", ",", "mips_gnu_local_gp", ")", ")", ")", ";", "break", ";", "case", "LOADGP_OLDABI", ":", "break", ";", "case", "LOADGP_NEWABI", ":", "addr", "=", "XEXP", "(", "DECL_RTL", "(", "current_function_decl", ")", ",", "0", ")", ";", "offset", "=", "mips_unspec_address", "(", "addr", ",", "SYMBOL_GOTOFF_LOADGP", ")", ";", "incoming_address", "=", "gen_rtx_REG", "(", "Pmode", ",", "PIC_FUNCTION_ADDR_REGNUM", ")", ";", "emit_insn", "(", "PMODE_INSN", "(", "gen_loadgp_newabi", ",", "(", "pic_reg", ",", "offset", ",", "incoming_address", ")", ")", ")", ";", "break", ";", "case", "LOADGP_RTP", ":", "base", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "ggc_strdup", "(", "VXWORKS_GOTT_BASE", ")", ")", ";", "index", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "ggc_strdup", "(", "VXWORKS_GOTT_INDEX", ")", ")", ";", "emit_insn", "(", "PMODE_INSN", "(", "gen_loadgp_rtp", ",", "(", "pic_reg", ",", "base", ",", "index", ")", ")", ")", ";", "break", ";", "default", ":", "return", ";", "}", "if", "(", "TARGET_MIPS16", ")", "emit_insn", "(", "PMODE_INSN", "(", "gen_copygp_mips16", ",", "(", "pic_offset_table_rtx", ",", "pic_reg", ")", ")", ")", ";", "if", "(", "!", "TARGET_EXPLICIT_RELOCS", "||", "crtl", "->", "profile", ")", "emit_insn", "(", "gen_loadgp_blockage", "(", ")", ")", ";", "}", ""], "natrual_language": ["If", "we", "'re", "generating", "n32", "or", "n64", "abicalls", ",", "emit", "instructions", "to", "set", "up", "the", "global", "pointer", "."], "TS_V_token": ["mips", "\"__gnu_local_gp\"", "0"], "File": "mips", "Func": "mips_emit_loadgp", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3092, "Length": 219, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", "&&", "\"Cannot deal with nonzero SPAdj yet\"", ")", ";", "MachineInstr", "&", "MI", "=", "*", "MBBI", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "AArch64FrameLowering", "*", "TFI", "=", "static_cast", "<", "const", "AArch64FrameLowering", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ")", ";", "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", "(", ")", ";", "}", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "getIndex", "(", ")", ";", "bool", "IsCalleeSaveOp", "=", "FrameIndex", ">=", "MinCSFI", "&&", "FrameIndex", "<=", "MaxCSFI", ";", "unsigned", "FrameReg", ";", "int64_t", "Offset", ";", "Offset", "=", "TFI", "->", "resolveFrameIndexReference", "(", "MF", ",", "FrameIndex", ",", "FrameReg", ",", "SPAdj", ",", "IsCalleeSaveOp", ")", ";", "bool", "HasOffsetOp", "=", "hasFrameOffset", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "if", "(", "HasOffsetOp", ")", "Offset", "+=", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "MI", ".", "isDebugValue", "(", ")", ")", "{", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "FrameReg", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "return", ";", "}", "const", "AArch64InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "int", "MinOffset", ",", "MaxOffset", ",", "OffsetScale", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "ADDxxi_lsl0_s", "||", "!", "HasOffsetOp", ")", "{", "MinOffset", "=", "0", ";", "MaxOffset", "=", "0xfff", ";", "OffsetScale", "=", "1", ";", "}", "else", "{", "TII", ".", "getAddressConstraints", "(", "MI", ",", "OffsetScale", ",", "MinOffset", ",", "MaxOffset", ")", ";", "}", "if", "(", "(", "Offset", "%", "OffsetScale", "!=", "0", "||", "Offset", "<", "MinOffset", "||", "Offset", ">", "MaxOffset", ")", "||", "(", "!", "HasOffsetOp", "&&", "Offset", "!=", "0", ")", ")", "{", "unsigned", "BaseReg", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "&", "AArch64", "::", "GPR64RegClass", ")", ";", "emitRegUpdate", "(", "MBB", ",", "MBBI", ",", "MBBI", "->", "getDebugLoc", "(", ")", ",", "TII", ",", "BaseReg", ",", "FrameReg", ",", "BaseReg", ",", "Offset", ")", ";", "FrameReg", "=", "BaseReg", ";", "Offset", "=", "0", ";", "}", "assert", "(", "Offset", ">=", "0", "&&", "\"Unexpected negative offset from SP\"", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "FrameReg", ",", "false", ",", "false", ",", "true", ")", ";", "if", "(", "HasOffsetOp", ")", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", "/", "OffsetScale", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["AArch64", "AArch64", "0", "\"Cannot deal with nonzero SPAdj yet\"", "AArch64", "AArch64", "0", "1", "0", "1", "1", "1", "AArch64", "AArch64", "AArch64::ADDxxi_lsl0_s", "0", "0xfff", "1", "0", "0", "AArch64::GPR64RegClass", "0", "0", "\"Unexpected negative offset from SP\"", "1"], "File": "AArch64RegisterInfo20", "Func": "eliminateFrameIndex", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3093, "Length": 478, "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", "==", "OOmode", ")", "return", "(", "TARGET_MMA", "&&", "VSX_REGNO_P", "(", "regno", ")", "&&", "(", "regno", "&", "1", ")", "==", "0", ")", ";", "if", "(", "mode", "==", "XOmode", ")", "return", "(", "TARGET_MMA", "&&", "FP_REGNO_P", "(", "regno", ")", "&&", "(", "regno", "&", "3", ")", "==", "0", ")", ";", "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", ")", "||", "VECTOR_ALIGNMENT_P", "(", "mode", ")", "||", "reg_addr", "[", "mode", "]", ".", "scalar_in_vmx_p", "||", "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", "(", "VECTOR_ALIGNMENT_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_P8_VECTOR", "&&", "(", "mode", "==", "SImode", ")", ")", "return", "1", ";", "if", "(", "TARGET_P9_VECTOR", "&&", "(", "mode", "==", "QImode", "||", "mode", "==", "HImode", ")", ")", "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", ")", ";", "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": ["rs6000", "1", "1", "0", "3", "0", "1", "0", "16", "0", "2", "0", "1", "1", "1", "1", "0"], "File": "rs6000", "Func": "rs6000_hard_regno_mode_ok_uncached", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3094, "Length": 391, "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", ";", "bool", "isLoad", "=", "true", ";", "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", "(", ")", ";", "isLoad", "=", "false", ";", "}", "else", "return", "false", ";", "if", "(", "VT", ".", "isVector", "(", ")", ")", "{", "if", "(", "!", "Subtarget", ".", "hasQPX", "(", ")", "||", "(", "VT", "!=", "MVT", "::", "v4f64", "&&", "VT", "!=", "MVT", "::", "v4f32", ")", ")", "{", "return", "false", ";", "}", "else", "if", "(", "SelectAddressRegRegOnly", "(", "Ptr", ",", "Offset", ",", "Base", ",", "DAG", ")", ")", "{", "AM", "=", "ISD", "::", "PRE_INC", ";", "return", "true", ";", "}", "}", "if", "(", "SelectAddressRegReg", "(", "Ptr", ",", "Base", ",", "Offset", ",", "DAG", ")", ")", "{", "bool", "Swap", "=", "false", ";", "if", "(", "isa", "<", "FrameIndexSDNode", ">", "(", "Base", ")", "||", "isa", "<", "RegisterSDNode", ">", "(", "Base", ")", ")", "Swap", "=", "true", ";", "else", "if", "(", "!", "isLoad", ")", "{", "SDValue", "Val", "=", "cast", "<", "StoreSDNode", ">", "(", "N", ")", "->", "getValue", "(", ")", ";", "if", "(", "Val", "==", "Base", "||", "Base", ".", "getNode", "(", ")", "->", "isPredecessorOf", "(", "Val", ".", "getNode", "(", ")", ")", ")", "Swap", "=", "true", ";", "}", "if", "(", "Swap", ")", "std", "::", "swap", "(", "Base", ",", "Offset", ")", ";", "AM", "=", "ISD", "::", "PRE_INC", ";", "return", "true", ";", "}", "if", "(", "VT", "!=", "MVT", "::", "i64", ")", "{", "if", "(", "!", "SelectAddressRegImm", "(", "Ptr", ",", "Offset", ",", "Base", ",", "DAG", ",", "false", ")", ")", "return", "false", ";", "}", "else", "{", "if", "(", "Alignment", "<", "4", ")", "return", "false", ";", "if", "(", "!", "SelectAddressRegImm", "(", "Ptr", ",", "Offset", ",", "Base", ",", "DAG", ",", "true", ")", ")", "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::v4f64", "MVT::v4f32", "ISD::PRE_INC", "ISD::PRE_INC", "MVT::i64", "4", "0", "MVT::i64", "MVT::i32", "ISD::SEXTLOAD", "ISD::PRE_INC"], "File": "PPCISelLowering (2)2", "Func": "getPreIndexedAddressParts", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3095, "Length": 444, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DEBUG_FUNCTION", "static", "void", "debug_insn_dispatch_info_file", "(", "FILE", "*", "file", ",", "rtx_insn", "*", "insn", ")", "{", "int", "byte_len", ";", "enum", "insn_path", "path", ";", "enum", "dispatch_group", "group", ";", "int", "imm_size", ";", "int", "num_imm_operand", ";", "int", "num_imm32_operand", ";", "int", "num_imm64_operand", ";", "if", "(", "INSN_CODE", "(", "insn", ")", "<", "0", ")", "return", ";", "byte_len", "=", "ix86_min_insn_size", "(", "insn", ")", ";", "path", "=", "get_insn_path", "(", "insn", ")", ";", "group", "=", "get_insn_group", "(", "insn", ")", ";", "imm_size", "=", "get_num_immediates", "(", "insn", ",", "&", "num_imm_operand", ",", "&", "num_imm32_operand", ",", "&", "num_imm64_operand", ")", ";", "fprintf", "(", "file", ",", "\" insn info:\\n\"", ")", ";", "fprintf", "(", "file", ",", "\" group = %s, path = %d, byte_len = %d\\n\"", ",", "group_name", "[", "group", "]", ",", "path", ",", "byte_len", ")", ";", "fprintf", "(", "file", ",", "\" num_imm = %d, num_imm_32 = %d, num_imm_64 = %d, imm_size = %d\\n\"", ",", "num_imm_operand", ",", "num_imm32_operand", ",", "num_imm64_operand", ",", "imm_size", ")", ";", "}", ""], "natrual_language": ["Print", "INSN", "dispatch", "information", "to", "FILE", "."], "TS_V_token": ["i386", "0", "\" insn info:\\n\"", "\" group = %s, path = %d, byte_len = %d\\n\"", "\" num_imm = %d, num_imm_32 = %d, num_imm_64 = %d, imm_size = %d\\n\""], "File": "x86-tune-sched-bd", "Func": "debug_insn_dispatch_info_file", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3096, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_convert_uns_sisf_sse", "(", "rtx", "target", ",", "rtx", "input", ")", "{", "REAL_VALUE_TYPE", "ONE16r", ";", "rtx", "fp_hi", ",", "fp_lo", ",", "int_hi", ",", "int_lo", ",", "x", ";", "real_ldexp", "(", "&", "ONE16r", ",", "&", "dconst1", ",", "16", ")", ";", "x", "=", "const_double_from_real_value", "(", "ONE16r", ",", "SFmode", ")", ";", "int_lo", "=", "expand_simple_binop", "(", "SImode", ",", "AND", ",", "input", ",", "GEN_INT", "(", "0xffff", ")", ",", "NULL", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "int_hi", "=", "expand_simple_binop", "(", "SImode", ",", "LSHIFTRT", ",", "input", ",", "GEN_INT", "(", "16", ")", ",", "NULL", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "fp_hi", "=", "gen_reg_rtx", "(", "SFmode", ")", ";", "fp_lo", "=", "gen_reg_rtx", "(", "SFmode", ")", ";", "emit_insn", "(", "gen_floatsisf2", "(", "fp_hi", ",", "int_hi", ")", ")", ";", "emit_insn", "(", "gen_floatsisf2", "(", "fp_lo", ",", "int_lo", ")", ")", ";", "if", "(", "TARGET_FMA", ")", "{", "x", "=", "validize_mem", "(", "force_const_mem", "(", "SFmode", ",", "x", ")", ")", ";", "fp_hi", "=", "gen_rtx_FMA", "(", "SFmode", ",", "fp_hi", ",", "x", ",", "fp_lo", ")", ";", "emit_move_insn", "(", "target", ",", "fp_hi", ")", ";", "}", "else", "{", "fp_hi", "=", "expand_simple_binop", "(", "SFmode", ",", "MULT", ",", "fp_hi", ",", "x", ",", "fp_hi", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "fp_hi", "=", "expand_simple_binop", "(", "SFmode", ",", "PLUS", ",", "fp_hi", ",", "fp_lo", ",", "target", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "if", "(", "!", "rtx_equal_p", "(", "target", ",", "fp_hi", ")", ")", "emit_move_insn", "(", "target", ",", "fp_hi", ")", ";", "}", "}", ""], "natrual_language": ["Convert", "an", "unsigned", "SImode", "value", "into", "a", "SFmode", ",", "using", "only", "SSE", ".", "For", "x86_32", ",", "-mfpmath=sse", ",", "!", "optimize_size", "only", "."], "TS_V_token": ["i386", "16", "0xffff", "0", "16", "0", "0", "0"], "File": "i386-expand", "Func": "ix86_expand_convert_uns_sisf_sse", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3097, "Length": 219, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMachineVerifierClean", "(", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "is", "expected", "to", "pass", "all", "machine", "verifier", "checks", "."], "TS_V_token": ["Lanai"], "File": "LanaiTargetMachine", "Func": "isMachineVerifierClean", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3098, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print_reg", "(", "rtx", "x", ",", "int", "code", ",", "FILE", "*", "file", ")", "{", "gcc_assert", "(", "REGNO", "(", "x", ")", "!=", "ARG_POINTER_REGNUM", "&&", "REGNO", "(", "x", ")", "!=", "FRAME_POINTER_REGNUM", "&&", "REGNO", "(", "x", ")", "!=", "FLAGS_REG", "&&", "REGNO", "(", "x", ")", "!=", "FPSR_REG", ")", ";", "if", "(", "ASSEMBLER_DIALECT", "==", "ASM_ATT", "||", "USER_LABEL_PREFIX", "[", "0", "]", "==", "0", ")", "putc", "(", "'%'", ",", "file", ")", ";", "if", "(", "code", "==", "'w'", "||", "MMX_REG_P", "(", "x", ")", ")", "code", "=", "2", ";", "else", "if", "(", "code", "==", "'b'", ")", "code", "=", "1", ";", "else", "if", "(", "code", "==", "'k'", ")", "code", "=", "4", ";", "else", "if", "(", "code", "==", "'q'", ")", "code", "=", "8", ";", "else", "if", "(", "code", "==", "'y'", ")", "code", "=", "3", ";", "else", "if", "(", "code", "==", "'h'", ")", "code", "=", "0", ";", "else", "code", "=", "GET_MODE_SIZE", "(", "GET_MODE", "(", "x", ")", ")", ";", "if", "(", "REX_INT_REG_P", "(", "x", ")", ")", "{", "gcc_assert", "(", "TARGET_64BIT", ")", ";", "switch", "(", "code", ")", "{", "case", "0", ":", "error", "(", "\"extended registers have no high halves\"", ")", ";", "break", ";", "case", "1", ":", "fprintf", "(", "file", ",", "\"r%ib\"", ",", "REGNO", "(", "x", ")", "-", "FIRST_REX_INT_REG", "+", "8", ")", ";", "break", ";", "case", "2", ":", "fprintf", "(", "file", ",", "\"r%iw\"", ",", "REGNO", "(", "x", ")", "-", "FIRST_REX_INT_REG", "+", "8", ")", ";", "break", ";", "case", "4", ":", "fprintf", "(", "file", ",", "\"r%id\"", ",", "REGNO", "(", "x", ")", "-", "FIRST_REX_INT_REG", "+", "8", ")", ";", "break", ";", "case", "8", ":", "fprintf", "(", "file", ",", "\"r%i\"", ",", "REGNO", "(", "x", ")", "-", "FIRST_REX_INT_REG", "+", "8", ")", ";", "break", ";", "default", ":", "error", "(", "\"unsupported operand size for extended register\"", ")", ";", "break", ";", "}", "return", ";", "}", "switch", "(", "code", ")", "{", "case", "3", ":", "if", "(", "STACK_TOP_P", "(", "x", ")", ")", "{", "fputs", "(", "\"st(0)\"", ",", "file", ")", ";", "break", ";", "}", "case", "8", ":", "case", "4", ":", "case", "12", ":", "if", "(", "!", "ANY_FP_REG_P", "(", "x", ")", ")", "putc", "(", "code", "==", "8", "&&", "TARGET_64BIT", "?", "'r'", ":", "'e'", ",", "file", ")", ";", "case", "16", ":", "case", "2", ":", "normal", ":", "fputs", "(", "hi_reg_name", "[", "REGNO", "(", "x", ")", "]", ",", "file", ")", ";", "break", ";", "case", "1", ":", "if", "(", "REGNO", "(", "x", ")", ">=", "ARRAY_SIZE", "(", "qi_reg_name", ")", ")", "goto", "normal", ";", "fputs", "(", "qi_reg_name", "[", "REGNO", "(", "x", ")", "]", ",", "file", ")", ";", "break", ";", "case", "0", ":", "if", "(", "REGNO", "(", "x", ")", ">=", "ARRAY_SIZE", "(", "qi_high_reg_name", ")", ")", "goto", "normal", ";", "fputs", "(", "qi_high_reg_name", "[", "REGNO", "(", "x", ")", "]", ",", "file", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Print", "a", "register", "."], "TS_V_token": ["i386", "0", "0", "2", "1", "4", "8", "3", "0", "0", "\"extended registers have no high halves\"", "1", "\"r%ib\"", "8", "2", "\"r%iw\"", "8", "4", "\"r%id\"", "8", "8", "\"r%i\"", "8", "\"unsupported operand size for extended register\"", "3", "\"st(0)\"", "8", "4", "12", "8", "16", "2", "1", "0"], "File": "i3863", "Func": "print_reg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3099, "Length": 426, "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": 3100, "Length": 348, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "n7_consumed_by_ii_dep_p", "(", "rtx_insn", "*", "consumer", ",", "rtx", "def_reg", ")", "{", "rtx", "use_rtx", ";", "switch", "(", "get_attr_type", "(", "consumer", ")", ")", "{", "case", "TYPE_ALU", ":", "if", "(", "movd44_even_dep_p", "(", "consumer", ",", "def_reg", ")", ")", "return", "true", ";", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_MUL", ":", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "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_LOAD", ":", "if", "(", "post_update_insn_p", "(", "consumer", ")", ")", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "else", "use_rtx", "=", "extract_mem_rtx", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_STORE", ":", "if", "(", "post_update_insn_p", "(", "consumer", ")", ")", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "else", "use_rtx", "=", "extract_mem_rtx", "(", "consumer", ")", ";", "if", "(", "reg_overlap_p", "(", "def_reg", ",", "use_rtx", ")", ")", "return", "true", ";", "if", "(", "!", "post_update_insn_p", "(", "consumer", ")", "&&", "!", "immed_offset_p", "(", "extract_mem_rtx", "(", "consumer", ")", ")", ")", "return", "false", ";", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_LOAD_MULTIPLE", ":", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_STORE_MULTIPLE", ":", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "if", "(", "reg_overlap_p", "(", "def_reg", ",", "use_rtx", ")", ")", "return", "true", ";", "use_rtx", "=", "extract_nth_access_rtx", "(", "consumer", ",", "0", ")", ";", "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", "II", "."], "TS_V_token": ["nds32", "0", "0"], "File": "nds32-pipelines-auxiliary", "Func": "n7_consumed_by_ii_dep_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3101, "Length": 287, "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": 3102, "Length": 452, "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": 3103, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pa_callee_copies", "(", "cumulative_args_t", "cum", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "const_tree", "type", "ATTRIBUTE_UNUSED", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "return", "!", "TARGET_CALLER_COPIES", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CALLEE_COPIES", ".", "The", "callee", "is", "responsible", "for", "copying", "arguments", "passed", "by", "hidden", "reference", "in", "the", "32-bit", "HP", "runtime", ".", "Users", "can", "override", "this", "behavior", "for", "better", "compatibility", "with", "openmp", "at", "the", "risk", "of", "library", "incompatibilities", ".", "Arguments", "are", "always", "passed", "by", "value", "in", "the", "64-bit", "HP", "runtime", "."], "TS_V_token": ["pa"], "File": "pa6", "Func": "pa_callee_copies", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3104, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ThumbRegisterInfo", "::", "emitLoadConstPool", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "const", "DebugLoc", "&", "dl", ",", "Register", "DestReg", ",", "unsigned", "SubIdx", ",", "int", "Val", ",", "ARMCC", "::", "CondCodes", "Pred", ",", "Register", "PredReg", ",", "unsigned", "MIFlags", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "ARMSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "if", "(", "STI", ".", "isThumb1Only", "(", ")", ")", "{", "assert", "(", "(", "isARMLowRegister", "(", "DestReg", ")", "||", "DestReg", ".", "isVirtual", "(", ")", ")", "&&", "\"Thumb1 does not have ldr to high register\"", ")", ";", "return", "emitThumb1LoadConstPool", "(", "MBB", ",", "MBBI", ",", "dl", ",", "DestReg", ",", "SubIdx", ",", "Val", ",", "Pred", ",", "PredReg", ",", "MIFlags", ")", ";", "}", "return", "emitThumb2LoadConstPool", "(", "MBB", ",", "MBBI", ",", "dl", ",", "DestReg", ",", "SubIdx", ",", "Val", ",", "Pred", ",", "PredReg", ",", "MIFlags", ")", ";", "}", ""], "natrual_language": ["emitLoadConstPool", "-", "Emits", "a", "load", "from", "constpool", "to", "materialize", "the", "specified", "immediate", "."], "TS_V_token": ["ARM", "ARMCC::CondCodes", "ARM", "ARM", "ARM", "\"Thumb1 does not have ldr to high register\""], "File": "ThumbRegisterInfo10", "Func": "emitLoadConstPool", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3105, "Length": 140, "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": 3106, "Length": 317, "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": ["CAHP"], "File": "CAHPAsmBackend", "Func": "fixupNeedsRelaxation", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3107, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "Cpu0SEInstrInfo", "::", "loadImmediate", "(", "int64_t", "Imm", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "II", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "*", "NewImm", ")", "const", "{", "Cpu0AnalyzeImmediate", "AnalyzeImm", ";", "unsigned", "Size", "=", "32", ";", "unsigned", "LUi", "=", "Cpu0", "::", "LUi", ";", "unsigned", "ZEROReg", "=", "Cpu0", "::", "ZERO", ";", "unsigned", "ATReg", "=", "Cpu0", "::", "AT", ";", "bool", "LastInstrIsADDiu", "=", "NewImm", ";", "const", "Cpu0AnalyzeImmediate", "::", "InstSeq", "&", "Seq", "=", "AnalyzeImm", ".", "Analyze", "(", "Imm", ",", "Size", ",", "LastInstrIsADDiu", ")", ";", "Cpu0AnalyzeImmediate", "::", "InstSeq", "::", "const_iterator", "Inst", "=", "Seq", ".", "begin", "(", ")", ";", "assert", "(", "Seq", ".", "size", "(", ")", "&&", "(", "!", "LastInstrIsADDiu", "||", "(", "Seq", ".", "size", "(", ")", ">", "1", ")", ")", ")", ";", "if", "(", "Inst", "->", "Opc", "==", "LUi", ")", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "get", "(", "LUi", ")", ",", "ATReg", ")", ".", "addImm", "(", "SignExtend64", "<", "16", ">", "(", "Inst", "->", "ImmOpnd", ")", ")", ";", "else", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "get", "(", "Inst", "->", "Opc", ")", ",", "ATReg", ")", ".", "addReg", "(", "ZEROReg", ")", ".", "addImm", "(", "SignExtend64", "<", "16", ">", "(", "Inst", "->", "ImmOpnd", ")", ")", ";", "for", "(", "++", "Inst", ";", "Inst", "!=", "Seq", ".", "end", "(", ")", "-", "LastInstrIsADDiu", ";", "++", "Inst", ")", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "get", "(", "Inst", "->", "Opc", ")", ",", "ATReg", ")", ".", "addReg", "(", "ATReg", ")", ".", "addImm", "(", "SignExtend64", "<", "16", ">", "(", "Inst", "->", "ImmOpnd", ")", ")", ";", "if", "(", "LastInstrIsADDiu", ")", "*", "NewImm", "=", "Inst", "->", "ImmOpnd", ";", "return", "ATReg", ";", "}", ""], "natrual_language": ["Emit", "a", "series", "of", "instructions", "to", "load", "an", "immediate", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0", "32", "Cpu0::LUi", "Cpu0::ZERO", "Cpu0::AT", "Cpu0", "Cpu0", "InstSeq::const_iterator", "1", "16", "16", "16"], "File": "Cpu0SEInstrInfo", "Func": "loadImmediate", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3108, "Length": 260, "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", "(", "STI", ".", "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", "Func": "ParseInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3109, "Length": 386, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64PassConfig", "::", "addPostRegAlloc", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "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": "ARM64TargetMachine1", "Func": "addPostRegAlloc", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3110, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "OR1KRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", "->", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "return", "TFI", "->", "hasFP", "(", "*", "MF", ")", "?", "CSR_FP_SaveList", ":", "CSR_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["OR1K", "OR1K"], "File": "OR1KRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3111, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "csky_trampoline_init", "(", "rtx", "m_tramp", ",", "tree", "fndecl", ",", "rtx", "chain_value", ")", "{", "rtx", "fnaddr", "=", "XEXP", "(", "DECL_RTL", "(", "fndecl", ")", ",", "0", ")", ";", "rtx", "mem", ",", "a_tramp", ";", "int", "pool", "=", "TRAMPOLINE_SIZE", "-", "8", ";", "emit_block_move", "(", "m_tramp", ",", "assemble_trampoline_template", "(", ")", ",", "GEN_INT", "(", "TRAMPOLINE_SIZE", ")", ",", "BLOCK_OP_NORMAL", ")", ";", "mem", "=", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "pool", ")", ";", "emit_move_insn", "(", "mem", ",", "chain_value", ")", ";", "mem", "=", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "pool", "+", "4", ")", ";", "emit_move_insn", "(", "mem", ",", "fnaddr", ")", ";", "a_tramp", "=", "XEXP", "(", "m_tramp", ",", "0", ")", ";", "maybe_emit_call_builtin___clear_cache", "(", "a_tramp", ",", "plus_constant", "(", "Pmode", ",", "a_tramp", ",", "TRAMPOLINE_SIZE", ")", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_TRAMPOLINE_INIT", "."], "TS_V_token": ["csky", "0", "8", "4", "0"], "File": "csky", "Func": "csky_trampoline_init", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3112, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"SystemZ Instruction Shortening\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["SystemZ", "\"SystemZ Instruction Shortening\""], "File": "SystemZShortenInst15", "Func": "getPassName", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3113, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "function_resolver", "::", "require_matching_integer_scalar_type", "(", "unsigned", "int", "argno", ",", "unsigned", "int", "first_argno", ",", "type_suffix_index", "expected_type", ")", "{", "type_suffix_index", "actual_type", "=", "infer_integer_scalar_type", "(", "argno", ")", ";", "if", "(", "actual_type", "==", "NUM_TYPE_SUFFIXES", ")", "return", "false", ";", "if", "(", "actual_type", "==", "expected_type", ")", "return", "true", ";", "error_at", "(", "location", ",", "\"call to %qE is ambiguous; argument %d has type\"", "\" %qs but argument %d has type %qs\"", ",", "fndecl", ",", "first_argno", "+", "1", ",", "get_scalar_type_name", "(", "expected_type", ")", ",", "argno", "+", "1", ",", "get_scalar_type_name", "(", "actual_type", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Argument", "FIRST_ARGNO", "is", "a", "scalar", "with", "type", "EXPECTED_TYPE", ",", "and", "argument", "ARGNO", "should", "be", "consistent", "with", "it", ".", "Return", "true", "if", "it", "is", ",", "otherwise", "report", "an", "appropriate", "error", "."], "TS_V_token": ["aarch64", "\"call to %qE is ambiguous; argument %d has type\"", "\" %qs but argument %d has type %qs\"", "1", "1"], "File": "aarch64-sve-builtins", "Func": "require_matching_integer_scalar_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3114, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "LegalizerInfo", "*", "X86Subtarget", "::", "getLegalizerInfo", "(", ")", "const", "{", "return", "Legalizer", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Expose", "LegalizerInfo", "so", "the", "clients", "can", "re-use", "."], "TS_V_token": ["X86", "X86"], "File": "X86Subtarget (2)3", "Func": "getLegalizerInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3115, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "vax_address_cost", "(", "rtx", "x", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "addr_space_t", "as", "ATTRIBUTE_UNUSED", ",", "bool", "speed", "ATTRIBUTE_UNUSED", ")", "{", "return", "COSTS_N_INSNS", "(", "1", "+", "(", "REG_P", "(", "x", ")", "?", "0", ":", "vax_address_cost_1", "(", "x", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "in", "cycles", "of", "a", "memory", "address", ",", "relative", "to", "register", "indirect", ".", "Each", "of", "the", "following", "adds", "the", "indicated", "number", "of", "cycles", ":", "1", "-", "symbolic", "address", "1", "-", "pre-decrement", "1", "-", "indexing", "and/or", "offset", "(", "register", ")", "2", "-", "indirect"], "TS_V_token": ["vax", "1", "0"], "File": "vax", "Func": "vax_address_cost", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3116, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_expand_vi_broadcast", "(", "machine_mode", "vmode", ",", "rtx", "target", ",", "rtx", "elt", ")", "{", "struct", "expand_vec_perm_d", "d", ";", "rtx", "t1", ";", "bool", "ok", ";", "if", "(", "elt", "!=", "const0_rtx", ")", "elt", "=", "force_reg", "(", "GET_MODE_INNER", "(", "vmode", ")", ",", "elt", ")", ";", "if", "(", "REG_P", "(", "elt", ")", ")", "elt", "=", "gen_lowpart", "(", "DImode", ",", "elt", ")", ";", "t1", "=", "gen_reg_rtx", "(", "vmode", ")", ";", "switch", "(", "vmode", ")", "{", "case", "V8QImode", ":", "emit_insn", "(", "gen_loongson_vec_init1_v8qi", "(", "t1", ",", "elt", ")", ")", ";", "break", ";", "case", "V4HImode", ":", "emit_insn", "(", "gen_loongson_vec_init1_v4hi", "(", "t1", ",", "elt", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "memset", "(", "&", "d", ",", "0", ",", "sizeof", "(", "d", ")", ")", ";", "d", ".", "target", "=", "target", ";", "d", ".", "op0", "=", "t1", ";", "d", ".", "op1", "=", "t1", ";", "d", ".", "vmode", "=", "vmode", ";", "d", ".", "nelt", "=", "GET_MODE_NUNITS", "(", "vmode", ")", ";", "d", ".", "one_vector_p", "=", "true", ";", "ok", "=", "mips_expand_vec_perm_const_1", "(", "&", "d", ")", ";", "gcc_assert", "(", "ok", ")", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "mips_expand_vec_init", ",", "expand", "via", "broadcast", "."], "TS_V_token": ["mips", "0"], "File": "mips4", "Func": "mips_expand_vi_broadcast", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3117, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "switch", "(", "ConstraintID", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected asm memory constraint\"", ")", ";", "case", "InlineAsm", "::", "Constraint_m", ":", "case", "InlineAsm", "::", "Constraint_R", ":", "case", "InlineAsm", "::", "Constraint_ZC", ":", "OutOps", ".", "push_back", "(", "Op", ")", ";", "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\""], "File": "MipsISelDAGToDAG27", "Func": "SelectInlineAsmMemoryOperand", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3118, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "X86TargetLowering", "::", "getSafeStackPointerLocation", "(", "IRBuilderBase", "&", "IRB", ")", "const", "{", "if", "(", "Subtarget", ".", "getTargetTriple", "(", ")", ".", "isOSContiki", "(", ")", ")", "return", "getDefaultSafeStackPointerLocation", "(", "IRB", ",", "false", ")", ";", "if", "(", "Subtarget", ".", "isTargetAndroid", "(", ")", ")", "{", "int", "Offset", "=", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "?", "0x48", ":", "0x24", ";", "return", "SegmentOffset", "(", "IRB", ",", "Offset", ",", "getAddressSpace", "(", ")", ")", ";", "}", "if", "(", "Subtarget", ".", "isTargetFuchsia", "(", ")", ")", "{", "return", "SegmentOffset", "(", "IRB", ",", "0x18", ",", "getAddressSpace", "(", ")", ")", ";", "}", "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"], "File": "X86ISelLowering (2)5", "Func": "getSafeStackPointerLocation", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3119, "Length": 100, "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", ",", "ReplaceableInstrsFP", ")", ")", "{", "validDomains", "=", "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", "0x6", "0", "0", "0xe", "0xe", "0xe", "1", "3", "3", "0xa", "0xc"], "File": "X86InstrInfo (2)3", "Func": "getExecutionDomain", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3120, "Length": 287, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "n13_alu_e1_insn_dep_reg_p", "(", "rtx_insn", "*", "alu_e1_insn", ",", "rtx", "def_reg", ")", "{", "rtx", "unspec_rtx", ",", "operand_ra", ",", "operand_rb", ";", "rtx", "src_rtx", ",", "dst_rtx", ";", "switch", "(", "INSN_CODE", "(", "alu_e1_insn", ")", ")", "{", "case", "CODE_FOR_unspec_bsp", ":", "case", "CODE_FOR_unspec_bse", ":", "unspec_rtx", "=", "SET_SRC", "(", "parallel_element", "(", "alu_e1_insn", ",", "0", ")", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "unspec_rtx", ")", "==", "UNSPEC", ")", ";", "operand_ra", "=", "XVECEXP", "(", "unspec_rtx", ",", "0", ",", "0", ")", ";", "operand_rb", "=", "XVECEXP", "(", "unspec_rtx", ",", "0", ",", "1", ")", ";", "if", "(", "rtx_equal_p", "(", "def_reg", ",", "operand_ra", ")", "||", "rtx_equal_p", "(", "def_reg", ",", "operand_rb", ")", ")", "return", "true", ";", "return", "false", ";", "case", "CODE_FOR_move_di", ":", "case", "CODE_FOR_move_df", ":", "src_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "alu_e1_insn", ")", ")", ";", "dst_rtx", "=", "SET_DEST", "(", "PATTERN", "(", "alu_e1_insn", ")", ")", ";", "if", "(", "REG_P", "(", "dst_rtx", ")", "&&", "REG_P", "(", "src_rtx", ")", "&&", "rtx_equal_p", "(", "src_rtx", ",", "def_reg", ")", ")", "return", "true", ";", "return", "false", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Check", "dependencies", "from", "any", "stages", "to", "ALU_E1", "(", "E1", ")", ".", "This", "is", "a", "helper", "function", "of", "n13_consumed_by_e1_dep_p", "(", ")", "."], "TS_V_token": ["nds32", "0", "0", "0", "0", "1"], "File": "nds32-pipelines-auxiliary", "Func": "n13_alu_e1_insn_dep_reg_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3121, "Length": 161, "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", ")", "{", "tree", "decl_name", "=", "clone_function_name", "(", "default_decl", ",", "\"resolver\"", ")", ";", "const", "char", "*", "resolver_name", "=", "IDENTIFIER_POINTER", "(", "decl_name", ")", ";", "tree", "type", "=", "build_function_type_list", "(", "ptr_type_node", ",", "NULL_TREE", ")", ";", "tree", "decl", "=", "build_fn_decl", "(", "resolver_name", ",", "type", ")", ";", "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", ")", "=", "0", ";", "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", ";", "tree", "t", "=", "build_decl", "(", "UNKNOWN_LOCATION", ",", "RESULT_DECL", ",", "NULL_TREE", ",", "ptr_type_node", ")", ";", "DECL_CONTEXT", "(", "t", ")", "=", "decl", ";", "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", ",", "profile_count", "::", "uninitialized", "(", ")", ")", ";", "cgraph_node", "::", "add_new_function", "(", "decl", ",", "true", ")", ";", "symtab", "->", "call_cgraph_insertion_hooks", "(", "cgraph_node", "::", "get_create", "(", "decl", ")", ")", ";", "pop_cfun", "(", ")", ";", "DECL_ATTRIBUTES", "(", "dispatch_decl", ")", "=", "make_attribute", "(", "\"ifunc\"", ",", "resolver_name", ",", "DECL_ATTRIBUTES", "(", "dispatch_decl", ")", ")", ";", "cgraph_node", "::", "create_same_body_alias", "(", "dispatch_decl", ",", "decl", ")", ";", "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": ["rs6000", "\"resolver\"", "1", "1", "0", "0", "1", "0", "0", "0", "1", "1", "\"ifunc\""], "File": "rs60008", "Func": "make_resolver_func", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3122, "Length": 270, "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", ")", ";", "if", "(", "Subtarget", ".", "isAIXABI", "(", ")", ")", "{", "assert", "(", "!", "Subtarget", ".", "hasAltivec", "(", ")", "&&", "\"Altivec is not implemented on AIX yet.\"", ")", ";", "return", "TM", ".", "isPPC64", "(", ")", "?", "CSR_AIX64_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_SVR464_Altivec_RegMask", ":", "CSR_SVR464_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", "\"Altivec is not implemented on AIX yet.\"", "PPC", "PPC", "PPC"], "File": "PPCRegisterInfo56", "Func": "getCallPreservedMask", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3123, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "RegImmPair", ">", "ARMBaseInstrInfo", "::", "isAddImmediate", "(", "const", "MachineInstr", "&", "MI", ",", "Register", "Reg", ")", "const", "{", "int", "Sign", "=", "1", ";", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "int64_t", "Offset", "=", "0", ";", "const", "MachineOperand", "&", "Op0", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "if", "(", "!", "Op0", ".", "isReg", "(", ")", "||", "Reg", "!=", "Op0", ".", "getReg", "(", ")", ")", "return", "None", ";", "if", "(", "Opcode", "==", "ARM", "::", "SUBri", ")", "Sign", "=", "-", "1", ";", "else", "if", "(", "Opcode", "!=", "ARM", "::", "ADDri", ")", "return", "None", ";", "if", "(", "!", "MI", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "||", "!", "MI", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", ")", "return", "None", ";", "Offset", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "*", "Sign", ";", "return", "RegImmPair", "{", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ",", "Offset", "}", ";", "}", ""], "natrual_language": ["If", "the", "specific", "machine", "instruction", "is", "an", "instruction", "that", "adds", "an", "immediate", "value", "and", "a", "register", ",", "and", "stores", "the", "result", "in", "the", "given", "register", "Reg", ",", "return", "a", "pair", "of", "the", "source", "register", "and", "the", "offset", "which", "has", "been", "added", "."], "TS_V_token": ["ARM", "ARM", "1", "0", "0", "ARM::SUBri", "1", "ARM::ADDri", "1", "2", "2", "1"], "File": "ARMBaseInstrInfo110", "Func": "isAddImmediate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3124, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "try_issue_nops", "(", "struct", "bundle_state", "*", "curr_state", ",", "int", "nops_num", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nops_num", ";", "i", "++", ")", "if", "(", "state_transition", "(", "curr_state", "->", "dfa_state", ",", "ia64_nop", ")", ">=", "0", ")", "{", "free_bundle_state", "(", "curr_state", ")", ";", "return", "FALSE", ";", "}", "return", "TRUE", ";", "}", ""], "natrual_language": ["The", "following", "function", "tries", "to", "issue", "NOPS_NUM", "nops", "for", "the", "current", "state", "without", "advancing", "processor", "cycle", ".", "If", "it", "failed", ",", "the", "function", "returns", "FALSE", "and", "frees", "the", "current", "state", "."], "TS_V_token": ["ia64", "0", "0"], "File": "ia64", "Func": "try_issue_nops", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3125, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_macro_fusion_p", "(", "void", ")", "{", "return", "aarch64_tune_params", "->", "fuseable_ops", "!=", "AARCH64_FUSE_NOTHING", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SCHED_MACRO_FUSION_P", ".", "Return", "true", "if", "target", "supports", "instruction", "fusion", "of", "some", "sort", "."], "TS_V_token": ["aarch64"], "File": "aarch642", "Func": "aarch64_macro_fusion_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3126, "Length": 15, "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": ["AArch64"], "File": "AArch64StackTagging18", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3127, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_vector_alignment_reachable", "(", "const_tree", "type", "ATTRIBUTE_UNUSED", ",", "bool", "is_packed", ")", "{", "if", "(", "is_packed", ")", "return", "false", ";", "if", "(", "TARGET_32BIT", ")", "{", "if", "(", "rs6000_alignment_flags", "==", "MASK_ALIGN_NATURAL", ")", "return", "true", ";", "if", "(", "rs6000_alignment_flags", "==", "MASK_ALIGN_POWER", ")", "return", "true", ";", "return", "false", ";", "}", "else", "{", "if", "(", "TARGET_MACHO", ")", "return", "false", ";", "return", "true", ";", "}", "}", ""], "natrual_language": ["Return", "true", "iff", ",", "data", "reference", "of", "TYPE", "can", "reach", "vector", "alignment", "(", "16", ")", "after", "applying", "N", "number", "of", "iterations", ".", "This", "routine", "does", "not", "determine", "how", "may", "iterations", "are", "required", "to", "reach", "desired", "alignment", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_vector_alignment_reachable", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3128, "Length": 60, "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": 3129, "Length": 29, "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", "(", "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": "ARMBaseRegisterInfo16", "Func": "getCallPreservedMask", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3130, "Length": 124, "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": 3131, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "find_mem_ref", "(", "rtx", "pat", ",", "rtx", "*", "mem_ref", ")", "{", "const", "char", "*", "fmt", ";", "int", "i", ",", "j", ";", "if", "(", "tie_operand", "(", "pat", ",", "VOIDmode", ")", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "MEM", ")", "{", "*", "mem_ref", "=", "pat", ";", "return", "true", ";", "}", "fmt", "=", "GET_RTX_FORMAT", "(", "GET_CODE", "(", "pat", ")", ")", ";", "for", "(", "i", "=", "GET_RTX_LENGTH", "(", "GET_CODE", "(", "pat", ")", ")", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "if", "(", "fmt", "[", "i", "]", "==", "'e'", ")", "{", "if", "(", "find_mem_ref", "(", "XEXP", "(", "pat", ",", "i", ")", ",", "mem_ref", ")", ")", "return", "true", ";", "}", "else", "if", "(", "fmt", "[", "i", "]", "==", "'E'", ")", "for", "(", "j", "=", "XVECLEN", "(", "pat", ",", "i", ")", "-", "1", ";", "j", ">=", "0", ";", "j", "--", ")", "{", "if", "(", "find_mem_ref", "(", "XVECEXP", "(", "pat", ",", "i", ",", "j", ")", ",", "mem_ref", ")", ")", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Determine", "if", "PAT", "refers", "to", "memory", ".", "If", "so", ",", "set", "MEM_REF", "to", "the", "MEM", "rtx", "and", "return", "true", "."], "TS_V_token": ["powerpcspe", "1", "0", "1", "0"], "File": "powerpcspe", "Func": "find_mem_ref", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3132, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pa_asm_trampoline_template", "(", "FILE", "*", "f", ")", "{", "if", "(", "!", "TARGET_64BIT", ")", "{", "fputs", "(", "\"\\tldw\t36(%r22),%r21\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tbb,>=,n\t%r21,30,.+16\\n\"", ",", "f", ")", ";", "if", "(", "ASSEMBLER_DIALECT", "==", "0", ")", "fputs", "(", "\"\\tdepi\t0,31,2,%r21\\n\"", ",", "f", ")", ";", "else", "fputs", "(", "\"\\tdepwi\t0,31,2,%r21\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tldw\t4(%r21),%r19\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tldw\t0(%r21),%r21\\n\"", ",", "f", ")", ";", "if", "(", "TARGET_PA_20", ")", "{", "fputs", "(", "\"\\tbve\t(%r21)\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tldw\t40(%r22),%r29\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\t.word\t0\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\t.word\t0\\n\"", ",", "f", ")", ";", "}", "else", "{", "fputs", "(", "\"\\tldsid\t(%r21),%r1\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tmtsp\t%r1,%sr0\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tbe\t0(%sr0,%r21)\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tldw\t40(%r22),%r29\\n\"", ",", "f", ")", ";", "}", "fputs", "(", "\"\\t.word\t0\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\t.word\t0\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\t.word\t0\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\t.word\t0\\n\"", ",", "f", ")", ";", "}", "else", "{", "fputs", "(", "\"\\t.dword 0\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\t.dword 0\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\t.dword 0\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\t.dword 0\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tmfia\t%r31\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tldd\t24(%r31),%r1\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tldd\t24(%r1),%r27\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tldd\t16(%r1),%r1\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tbve\t(%r1)\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tldd\t32(%r31),%r31\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\t.dword 0 ; fptr\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\t.dword 0 ; static link\\n\"", ",", "f", ")", ";", "}", "}", ""], "natrual_language": ["Output", "assembler", "code", "for", "a", "block", "containing", "the", "constant", "parts", "of", "a", "trampoline", ",", "leaving", "space", "for", "the", "variable", "parts.\\", "The", "trampoline", "sets", "the", "static", "chain", "pointer", "to", "STATIC_CHAIN_REGNUM", "and", "then", "branches", "to", "the", "specified", "routine", ".", "This", "code", "template", "is", "copied", "from", "text", "segment", "to", "stack", "location", "and", "then", "patched", "with", "pa_trampoline_init", "to", "contain", "valid", "values", ",", "and", "then", "entered", "as", "a", "subroutine", ".", "It", "is", "best", "to", "keep", "this", "as", "small", "as", "possible", "to", "avoid", "having", "to", "flush", "multiple", "lines", "in", "the", "cache", "."], "TS_V_token": ["pa", "\"\\tldw\t36(%r22),%r21\\n\"", "\"\\tbb,>=,n\t%r21,30,.+16\\n\"", "0", "\"\\tdepi\t0,31,2,%r21\\n\"", "\"\\tdepwi\t0,31,2,%r21\\n\"", "\"\\tldw\t4(%r21),%r19\\n\"", "\"\\tldw\t0(%r21),%r21\\n\"", "\"\\tbve\t(%r21)\\n\"", "\"\\tldw\t40(%r22),%r29\\n\"", "\"\\t.word\t0\\n\"", "\"\\t.word\t0\\n\"", "\"\\tldsid\t(%r21),%r1\\n\"", "\"\\tmtsp\t%r1,%sr0\\n\"", "\"\\tbe\t0(%sr0,%r21)\\n\"", "\"\\tldw\t40(%r22),%r29\\n\"", "\"\\t.word\t0\\n\"", "\"\\t.word\t0\\n\"", "\"\\t.word\t0\\n\"", "\"\\t.word\t0\\n\"", "\"\\t.dword 0\\n\"", "\"\\t.dword 0\\n\"", "\"\\t.dword 0\\n\"", "\"\\t.dword 0\\n\"", "\"\\tmfia\t%r31\\n\"", "\"\\tldd\t24(%r31),%r1\\n\"", "\"\\tldd\t24(%r1),%r27\\n\"", "\"\\tldd\t16(%r1),%r1\\n\"", "\"\\tbve\t(%r1)\\n\"", "\"\\tldd\t32(%r31),%r31\\n\"", "\"\\t.dword 0 ; fptr\\n\"", "\"\\t.dword 0 ; static link\\n\""], "File": "pa4", "Func": "pa_asm_trampoline_template", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3133, "Length": 246, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86DomainReassignment", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "if", "(", "DisableX86DomainReassignment", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** Machine Function before Domain Reassignment *****\\n\"", ")", ";", "LLVM_DEBUG", "(", "MF", ".", "print", "(", "dbgs", "(", ")", ")", ")", ";", "STI", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "STI", "->", "hasAVX512", "(", ")", "||", "!", "STI", "->", "hasBWI", "(", ")", ")", "return", "false", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "assert", "(", "MRI", "->", "isSSA", "(", ")", "&&", "\"Expected MIR to be in SSA form\"", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "initConverters", "(", ")", ";", "bool", "Changed", "=", "false", ";", "EnclosedEdges", ".", "clear", "(", ")", ";", "EnclosedInstrs", ".", "clear", "(", ")", ";", "std", "::", "vector", "<", "Closure", ">", "Closures", ";", "unsigned", "ClosureID", "=", "0", ";", "for", "(", "unsigned", "Idx", "=", "0", ";", "Idx", "<", "MRI", "->", "getNumVirtRegs", "(", ")", ";", "++", "Idx", ")", "{", "unsigned", "Reg", "=", "Register", "::", "index2VirtReg", "(", "Idx", ")", ";", "if", "(", "!", "isGPR", "(", "MRI", "->", "getRegClass", "(", "Reg", ")", ")", ")", "continue", ";", "if", "(", "EnclosedEdges", ".", "count", "(", "Reg", ")", ")", "continue", ";", "Closure", "C", "(", "ClosureID", "++", ",", "{", "MaskDomain", "}", ")", ";", "buildClosure", "(", "C", ",", "Reg", ")", ";", "if", "(", "!", "C", ".", "empty", "(", ")", "&&", "C", ".", "isLegal", "(", "MaskDomain", ")", ")", "Closures", ".", "push_back", "(", "std", "::", "move", "(", "C", ")", ")", ";", "}", "for", "(", "Closure", "&", "C", ":", "Closures", ")", "{", "LLVM_DEBUG", "(", "C", ".", "dump", "(", "MRI", ")", ")", ";", "if", "(", "isReassignmentProfitable", "(", "C", ",", "MaskDomain", ")", ")", "{", "reassign", "(", "C", ",", "MaskDomain", ")", ";", "++", "NumClosuresConverted", ";", "Changed", "=", "true", ";", "}", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** Machine Function after Domain Reassignment *****\\n\"", ")", ";", "LLVM_DEBUG", "(", "MF", ".", "print", "(", "dbgs", "(", ")", ")", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "\"***** Machine Function before Domain Reassignment *****\\n\"", "X86", "\"Expected MIR to be in SSA form\"", "0", "0", "\"***** Machine Function after Domain Reassignment *****\\n\""], "File": "X86DomainReassignment", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3134, "Length": 317, "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": 3135, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "llvm", "::", "FastISel", "*", "ARM", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "funcInfo", ")", "{", "if", "(", "EnableARMFastISel", ")", "return", "new", "ARMFastISel", "(", "funcInfo", ")", ";", "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", "0"], "File": "ARMFastISel23", "Func": "createFastISel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3136, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "findDeadCallerSavedReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "const", "TargetRegisterInfo", "&", "TRI", ",", "bool", "Is64Bit", ")", "{", "const", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "Function", "*", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "if", "(", "!", "F", "||", "MF", "->", "getMMI", "(", ")", ".", "callsEHReturn", "(", ")", ")", "return", "0", ";", "static", "const", "unsigned", "CallerSavedRegs32Bit", "[", "]", "=", "{", "X86", "::", "EAX", ",", "X86", "::", "EDX", ",", "X86", "::", "ECX", "}", ";", "static", "const", "unsigned", "CallerSavedRegs64Bit", "[", "]", "=", "{", "X86", "::", "RAX", ",", "X86", "::", "RDX", ",", "X86", "::", "RCX", ",", "X86", "::", "RSI", ",", "X86", "::", "RDI", ",", "X86", "::", "R8", ",", "X86", "::", "R9", ",", "X86", "::", "R10", ",", "X86", "::", "R11", "}", ";", "unsigned", "Opc", "=", "MBBI", "->", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "default", ":", "return", "0", ";", "case", "X86", "::", "RET", ":", "case", "X86", "::", "RETI", ":", "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", "<", "unsigned", ",", "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", "(", "const", "unsigned", "*", "AsI", "=", "TRI", ".", "getOverlaps", "(", "Reg", ")", ";", "*", "AsI", ";", "++", "AsI", ")", "Uses", ".", "insert", "(", "*", "AsI", ")", ";", "}", "const", "unsigned", "*", "CS", "=", "Is64Bit", "?", "CallerSavedRegs64Bit", ":", "CallerSavedRegs32Bit", ";", "for", "(", ";", "*", "CS", ";", "++", "CS", ")", "if", "(", "!", "Uses", ".", "count", "(", "*", "CS", ")", ")", "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", "0", "X86::EAX", "X86::EDX", "X86::ECX", "X86::RAX", "X86::RDX", "X86::RCX", "X86::RSI", "X86::RDI", "X86::R8", "X86::R9", "X86::R10", "X86::R11", "0", "X86::RET", "X86::RETI", "X86::TCRETURNdi", "X86::TCRETURNri", "X86::TCRETURNmi", "X86::TCRETURNdi64", "X86::TCRETURNri64", "X86::TCRETURNmi64", "X86::EH_RETURN", "X86::EH_RETURN64", "8", "0", "0"], "File": "X86FrameLowering45", "Func": "findDeadCallerSavedReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3137, "Length": 344, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMem", "(", "RegisterKind", "RegKind", ",", "MemoryKind", "MemKind", ")", "const", "{", "return", "(", "Kind", "==", "KindMem", "&&", "Mem", ".", "RegKind", "==", "RegKind", "&&", "(", "MemKind", "==", "BDXMem", "||", "!", "Mem", ".", "Index", ")", "&&", "(", "MemKind", "==", "BDLMem", ")", "==", "(", "Mem", ".", "Length", "!=", "nullptr", ")", ")", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["SystemZ"], "File": "SystemZAsmParser20", "Func": "isMem", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3138, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_cracked_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_U", "||", "type", "==", "TYPE_STORE_U", "||", "type", "==", "TYPE_FPLOAD_U", "||", "type", "==", "TYPE_FPSTORE_U", "||", "type", "==", "TYPE_FPLOAD_UX", "||", "type", "==", "TYPE_FPSTORE_UX", "||", "type", "==", "TYPE_LOAD_EXT", "||", "type", "==", "TYPE_DELAYED_CR", "||", "type", "==", "TYPE_COMPARE", "||", "type", "==", "TYPE_DELAYED_COMPARE", "||", "type", "==", "TYPE_IMUL_COMPARE", "||", "type", "==", "TYPE_LMUL_COMPARE", "||", "type", "==", "TYPE_IDIV", "||", "type", "==", "TYPE_LDIV", "||", "type", "==", "TYPE_INSERT_WORD", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["The", "function", "returns", "true", "if", "INSN", "is", "cracked", "into", "2", "instructions", "by", "the", "processor", "(", "and", "therefore", "occupies", "2", "issue", "slots", ")", "."], "TS_V_token": ["rs6000"], "File": "rs60003", "Func": "is_cracked_insn", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3139, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "PPCRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AnyReg", ")", "{", "if", "(", "Subtarget", ".", "hasVSX", "(", ")", ")", "return", "CSR_64_AllRegs_VSX_SaveList", ";", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "CSR_64_AllRegs_Altivec_SaveList", ";", "return", "CSR_64_AllRegs_SaveList", ";", "}", "if", "(", "Subtarget", ".", "isDarwinABI", "(", ")", ")", "return", "TM", ".", "isPPC64", "(", ")", "?", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_Darwin64_Altivec_SaveList", ":", "CSR_Darwin64_SaveList", ")", ":", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_Darwin32_Altivec_SaveList", ":", "CSR_Darwin32_SaveList", ")", ";", "if", "(", "TM", ".", "isPPC64", "(", ")", "&&", "MF", "->", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", "->", "isSplitCSR", "(", ")", ")", "return", "CSR_SRV464_TLS_PE_SaveList", ";", "if", "(", "Subtarget", ".", "hasSPE", "(", ")", ")", "return", "CSR_SVR432_SPE_SaveList", ";", "bool", "SaveR2", "=", "MF", "->", "getRegInfo", "(", ")", ".", "isAllocatable", "(", "PPC", "::", "X2", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "Cold", ")", "{", "return", "TM", ".", "isPPC64", "(", ")", "?", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "(", "SaveR2", "?", "CSR_SVR64_ColdCC_R2_Altivec_SaveList", ":", "CSR_SVR64_ColdCC_Altivec_SaveList", ")", ":", "(", "SaveR2", "?", "CSR_SVR64_ColdCC_R2_SaveList", ":", "CSR_SVR64_ColdCC_SaveList", ")", ")", ":", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_SVR32_ColdCC_Altivec_SaveList", ":", "CSR_SVR32_ColdCC_SaveList", ")", ";", "}", "return", "TM", ".", "isPPC64", "(", ")", "?", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "(", "SaveR2", "?", "CSR_SVR464_R2_Altivec_SaveList", ":", "CSR_SVR464_Altivec_SaveList", ")", ":", "(", "SaveR2", "?", "CSR_SVR464_R2_SaveList", ":", "CSR_SVR464_SaveList", ")", ")", ":", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_SVR432_Altivec_SaveList", ":", "CSR_SVR432_SaveList", ")", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC::X2", "PPC", "PPC"], "File": "PPCRegisterInfo43", "Func": "getCalleeSavedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3140, "Length": 266, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "arm_handle_cmse_nonsecure_entry", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", ",", "int", ",", "bool", "*", "no_add_attrs", ")", "{", "tree", "fndecl", ";", "if", "(", "!", "use_cmse", ")", "{", "*", "no_add_attrs", "=", "true", ";", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute ignored without -mcmse option.\"", ",", "name", ")", ";", "return", "NULL_TREE", ";", "}", "if", "(", "TREE_CODE", "(", "*", "node", ")", "!=", "FUNCTION_DECL", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute only applies to functions\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "return", "NULL_TREE", ";", "}", "fndecl", "=", "*", "node", ";", "if", "(", "!", "TREE_PUBLIC", "(", "fndecl", ")", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute has no effect on functions \"", "\"with static linkage\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "return", "NULL_TREE", ";", "}", "*", "no_add_attrs", "|=", "cmse_func_args_or_return_in_stack", "(", "fndecl", ",", "name", ",", "TREE_TYPE", "(", "fndecl", ")", ")", ";", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Called", "upon", "detection", "of", "the", "use", "of", "the", "cmse_nonsecure_entry", "attribute", ",", "this", "function", "will", "check", "whether", "the", "attribute", "is", "allowed", "here", "and", "will", "add", "the", "attribute", "to", "the", "function", "declaration", "tree", "or", "otherwise", "issue", "a", "warning", "."], "TS_V_token": ["arm", "\"%qE attribute ignored without -mcmse option.\"", "\"%qE attribute only applies to functions\"", "\"%qE attribute has no effect on functions \"", "\"with static linkage\""], "File": "arm6", "Func": "arm_handle_cmse_nonsecure_entry", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3141, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMRange", "getLocRange", "(", ")", "const", "{", "return", "SMRange", "(", "StartLoc", ",", "EndLoc", ")", ";", "}", ""], "natrual_language": ["getLocRange", "-", "Get", "the", "range", "between", "the", "first", "and", "last", "token", "of", "this", "operand", "."], "TS_V_token": ["ARM"], "File": "ARMAsmParser (2)", "Func": "getLocRange", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3142, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "ivms_arg_type", "ia64_arg_type", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "SFmode", ":", "return", "FS", ";", "case", "DFmode", ":", "return", "FT", ";", "default", ":", "return", "I64", ";", "}", "}", ""], "natrual_language": ["Return", "ivms_arg_type", "based", "on", "machine_mode", "."], "TS_V_token": ["ia64"], "File": "ia644", "Func": "ia64_arg_type", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3143, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "ARMRegisterInfo", "::", "getPointerRegClass", "(", ")", "const", "{", "return", "&", "ARM", "::", "GPRRegClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["ARM", "ARM", "ARM::GPRRegClass"], "File": "ARMRegisterInfo13", "Func": "getPointerRegClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3144, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "aarch64_parse_opt_result", "aarch64_parse_cpu", "(", "const", "char", "*", "to_parse", ",", "const", "struct", "processor", "*", "*", "res", ",", "uint64_t", "*", "isa_flags", ",", "std", "::", "string", "*", "invalid_extension", ")", "{", "const", "char", "*", "ext", ";", "const", "struct", "processor", "*", "cpu", ";", "size_t", "len", ";", "ext", "=", "strchr", "(", "to_parse", ",", "'+'", ")", ";", "if", "(", "ext", "!=", "NULL", ")", "len", "=", "ext", "-", "to_parse", ";", "else", "len", "=", "strlen", "(", "to_parse", ")", ";", "if", "(", "len", "==", "0", ")", "return", "AARCH64_PARSE_MISSING_ARG", ";", "for", "(", "cpu", "=", "all_cores", ";", "cpu", "->", "name", "!=", "NULL", ";", "cpu", "++", ")", "{", "if", "(", "strlen", "(", "cpu", "->", "name", ")", "==", "len", "&&", "strncmp", "(", "cpu", "->", "name", ",", "to_parse", ",", "len", ")", "==", "0", ")", "{", "uint64_t", "isa_temp", "=", "cpu", "->", "flags", ";", "if", "(", "ext", "!=", "NULL", ")", "{", "enum", "aarch64_parse_opt_result", "ext_res", "=", "aarch64_parse_extension", "(", "ext", ",", "&", "isa_temp", ",", "invalid_extension", ")", ";", "if", "(", "ext_res", "!=", "AARCH64_PARSE_OK", ")", "return", "ext_res", ";", "}", "*", "res", "=", "cpu", ";", "*", "isa_flags", "=", "isa_temp", ";", "return", "AARCH64_PARSE_OK", ";", "}", "}", "return", "AARCH64_PARSE_INVALID_ARG", ";", "}", ""], "natrual_language": ["Parse", "the", "TO_PARSE", "string", "and", "put", "the", "result", "tuning", "in", "RES", "and", "the", "architecture", "flags", "in", "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", "0", "0"], "File": "aarch64", "Func": "aarch64_parse_cpu", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3145, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "find_addr_reg", "(", "rtx", "addr", ")", "{", "while", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", ")", "{", "if", "(", "GET_CODE", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "==", "REG", "&&", "REGNO", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "!=", "0", ")", "addr", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "else", "if", "(", "GET_CODE", "(", "XEXP", "(", "addr", ",", "1", ")", ")", "==", "REG", "&&", "REGNO", "(", "XEXP", "(", "addr", ",", "1", ")", ")", "!=", "0", ")", "addr", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "else", "if", "(", "CONSTANT_P", "(", "XEXP", "(", "addr", ",", "0", ")", ")", ")", "addr", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "else", "if", "(", "CONSTANT_P", "(", "XEXP", "(", "addr", ",", "1", ")", ")", ")", "addr", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "gcc_assert", "(", "GET_CODE", "(", "addr", ")", "==", "REG", "&&", "REGNO", "(", "addr", ")", "!=", "0", ")", ";", "return", "addr", ";", "}", ""], "natrual_language": ["Return", "a", "REG", "that", "occurs", "in", "ADDR", "with", "coefficient", "1", ".", "ADDR", "can", "be", "effectively", "incremented", "by", "incrementing", "REG", ".", "r0", "is", "special", "and", "we", "must", "not", "select", "it", "as", "an", "address", "register", "by", "this", "routine", "since", "our", "caller", "will", "try", "to", "increment", "the", "returned", "register", "via", "an", "``", "la", "''", "instruction", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "1", "1", "0", "1", "0", "1", "1", "0", "0"], "File": "rs60003", "Func": "find_addr_reg", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3146, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "extract_nth_access_rtx", "(", "rtx_insn", "*", "insn", ",", "int", "n", ")", "{", "int", "n_elems", "=", "parallel_elements", "(", "insn", ")", ";", "int", "post_update_rtx_index", "=", "find_post_update_rtx", "(", "insn", ")", ";", "memory_access_direction", "direction", "=", "determine_access_direction", "(", "insn", ")", ";", "gcc_assert", "(", "direction", "!=", "MEM_ACCESS_DIR_UNKNOWN", ")", ";", "if", "(", "direction", "==", "MEM_ACCESS_DIR_NEG", ")", "n", "=", "-", "1", "*", "n", "-", "1", ";", "if", "(", "post_update_rtx_index", "!=", "-", "1", ")", "{", "if", "(", "n", ">=", "0", "&&", "post_update_rtx_index", "<=", "n", ")", "++", "n", ";", "else", "if", "(", "n", "<", "0", "&&", "post_update_rtx_index", ">=", "n", "+", "n_elems", ")", "--", "n", ";", "}", "return", "parallel_element", "(", "insn", ",", "n", ")", ";", "}", ""], "natrual_language": ["Return", "the", "nth", "load/store", "operation", "in", "the", "real", "micro-operation", "accessing", "order", "."], "TS_V_token": ["nds32", "1", "1", "1", "0", "0"], "File": "nds32-pipelines-auxiliary", "Func": "extract_nth_access_rtx", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3147, "Length": 104, "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", "(", ")", ";", "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"], "File": "Thumb2ITBlockPass", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3148, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_output_mi_thunk", "(", "FILE", "*", "file", ",", "tree", "thunk", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", ",", "tree", "function", ")", "{", "int", "this_regno", "=", "R0_REGNUM", ";", "rtx", "this_rtx", ",", "temp0", ",", "temp1", ",", "addr", ",", "funexp", ";", "rtx_insn", "*", "insn", ";", "reload_completed", "=", "1", ";", "emit_note", "(", "NOTE_INSN_PROLOGUE_END", ")", ";", "this_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "this_regno", ")", ";", "temp0", "=", "gen_rtx_REG", "(", "Pmode", ",", "IP0_REGNUM", ")", ";", "temp1", "=", "gen_rtx_REG", "(", "Pmode", ",", "IP1_REGNUM", ")", ";", "if", "(", "vcall_offset", "==", "0", ")", "aarch64_add_offset", "(", "Pmode", ",", "this_rtx", ",", "this_rtx", ",", "delta", ",", "temp1", ",", "temp0", ",", "false", ")", ";", "else", "{", "gcc_assert", "(", "(", "vcall_offset", "&", "(", "POINTER_BYTES", "-", "1", ")", ")", "==", "0", ")", ";", "addr", "=", "this_rtx", ";", "if", "(", "delta", "!=", "0", ")", "{", "if", "(", "delta", ">=", "-", "256", "&&", "delta", "<", "256", ")", "addr", "=", "gen_rtx_PRE_MODIFY", "(", "Pmode", ",", "this_rtx", ",", "plus_constant", "(", "Pmode", ",", "this_rtx", ",", "delta", ")", ")", ";", "else", "aarch64_add_offset", "(", "Pmode", ",", "this_rtx", ",", "this_rtx", ",", "delta", ",", "temp1", ",", "temp0", ",", "false", ")", ";", "}", "if", "(", "Pmode", "==", "ptr_mode", ")", "aarch64_emit_move", "(", "temp0", ",", "gen_rtx_MEM", "(", "ptr_mode", ",", "addr", ")", ")", ";", "else", "aarch64_emit_move", "(", "temp0", ",", "gen_rtx_ZERO_EXTEND", "(", "Pmode", ",", "gen_rtx_MEM", "(", "ptr_mode", ",", "addr", ")", ")", ")", ";", "if", "(", "vcall_offset", ">=", "-", "256", "&&", "vcall_offset", "<", "4096", "*", "POINTER_BYTES", ")", "addr", "=", "plus_constant", "(", "Pmode", ",", "temp0", ",", "vcall_offset", ")", ";", "else", "{", "aarch64_internal_mov_immediate", "(", "temp1", ",", "GEN_INT", "(", "vcall_offset", ")", ",", "true", ",", "Pmode", ")", ";", "addr", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "temp0", ",", "temp1", ")", ";", "}", "if", "(", "Pmode", "==", "ptr_mode", ")", "aarch64_emit_move", "(", "temp1", ",", "gen_rtx_MEM", "(", "ptr_mode", ",", "addr", ")", ")", ";", "else", "aarch64_emit_move", "(", "temp1", ",", "gen_rtx_SIGN_EXTEND", "(", "Pmode", ",", "gen_rtx_MEM", "(", "ptr_mode", ",", "addr", ")", ")", ")", ";", "emit_insn", "(", "gen_add2_insn", "(", "this_rtx", ",", "temp1", ")", ")", ";", "}", "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", ",", "NULL_RTX", ")", ")", ";", "SIBLING_CALL_P", "(", "insn", ")", "=", "1", ";", "insn", "=", "get_insns", "(", ")", ";", "shorten_branches", "(", "insn", ")", ";", "final_start_function", "(", "insn", ",", "file", ",", "1", ")", ";", "final", "(", "insn", ",", "file", ",", "1", ")", ";", "final_end_function", "(", ")", ";", "reload_completed", "=", "0", ";", "}", ""], "natrual_language": ["Output", "code", "to", "add", "DELTA", "to", "the", "first", "argument", ",", "and", "then", "jump", "to", "FUNCTION", ".", "Used", "for", "C++", "multiple", "inheritance", "."], "TS_V_token": ["aarch64", "1", "0", "1", "0", "0", "256", "256", "256", "4096", "1", "0", "1", "1", "1", "0"], "File": "aarch645", "Func": "aarch64_output_mi_thunk", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3149, "Length": 414, "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", ";", "}", "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"], "File": "X86ISelLowering101", "Func": "getNumRegistersForCallingConv", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3150, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isCheapToSpeculateCtlz", "(", ")", "const", "{", "return", "Subtarget", "->", "hasV6T2Ops", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "cheap", "to", "speculate", "a", "call", "to", "intrinsic", "ctlz", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMISelLowering (2)2", "Func": "isCheapToSpeculateCtlz", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3151, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "machine_mode", "function_instance", "::", "memory_vector_mode", "(", ")", "const", "{", "return", "base", "->", "memory_vector_mode", "(", "*", "this", ")", ";", "}", ""], "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", "Func": "memory_vector_mode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3152, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rx_split_cbranch", "(", "machine_mode", "cc_mode", ",", "enum", "rtx_code", "cmp1", ",", "rtx", "c1", ",", "rtx", "c2", ",", "rtx", "label", ")", "{", "rtx", "flags", ",", "x", ";", "flags", "=", "gen_rtx_REG", "(", "cc_mode", ",", "CC_REG", ")", ";", "x", "=", "gen_rtx_COMPARE", "(", "cc_mode", ",", "c1", ",", "c2", ")", ";", "x", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "flags", ",", "x", ")", ";", "emit_insn", "(", "x", ")", ";", "x", "=", "gen_rtx_fmt_ee", "(", "cmp1", ",", "VOIDmode", ",", "flags", ",", "const0_rtx", ")", ";", "x", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "x", ",", "label", ",", "pc_rtx", ")", ";", "x", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "pc_rtx", ",", "x", ")", ";", "emit_jump_insn", "(", "x", ")", ";", "}", ""], "natrual_language": ["Split", "the", "conditional", "branch", ".", "Emit", "(", "COMPARE", "C1", "C2", ")", "into", "CC_REG", "with", "CC_MODE", ",", "and", "use", "that", "in", "branches", "based", "on", "that", "compare", "."], "TS_V_token": ["rx"], "File": "rx2", "Func": "rx_split_cbranch", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3153, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "AArch64LoadStoreOpt", "::", "getMemSize", "(", "MachineInstr", "*", "MemMI", ")", "{", "switch", "(", "MemMI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Opcode has has unknown size!\"", ")", ";", "case", "AArch64", "::", "STRSui", ":", "case", "AArch64", "::", "STURSi", ":", "return", "4", ";", "case", "AArch64", "::", "STRDui", ":", "case", "AArch64", "::", "STURDi", ":", "return", "8", ";", "case", "AArch64", "::", "STRQui", ":", "case", "AArch64", "::", "STURQi", ":", "return", "16", ";", "case", "AArch64", "::", "STRWui", ":", "case", "AArch64", "::", "STURWi", ":", "return", "4", ";", "case", "AArch64", "::", "STRXui", ":", "case", "AArch64", "::", "STURXi", ":", "return", "8", ";", "case", "AArch64", "::", "LDRSui", ":", "case", "AArch64", "::", "LDURSi", ":", "return", "4", ";", "case", "AArch64", "::", "LDRDui", ":", "case", "AArch64", "::", "LDURDi", ":", "return", "8", ";", "case", "AArch64", "::", "LDRQui", ":", "case", "AArch64", "::", "LDURQi", ":", "return", "16", ";", "case", "AArch64", "::", "LDRWui", ":", "case", "AArch64", "::", "LDURWi", ":", "return", "4", ";", "case", "AArch64", "::", "LDRXui", ":", "case", "AArch64", "::", "LDURXi", ":", "return", "8", ";", "}", "}", ""], "natrual_language": ["Returns", "the", "size", "in", "bytes", "of", "the", "memory", "access", "."], "TS_V_token": ["AArch64", "AArch64", "\"Opcode has has unknown size!\"", "AArch64::STRSui", "AArch64::STURSi", "4", "AArch64::STRDui", "AArch64::STURDi", "8", "AArch64::STRQui", "AArch64::STURQi", "16", "AArch64::STRWui", "AArch64::STURWi", "4", "AArch64::STRXui", "AArch64::STURXi", "8", "AArch64::LDRSui", "AArch64::LDURSi", "4", "AArch64::LDRDui", "AArch64::LDURDi", "8", "AArch64::LDRQui", "AArch64::LDURQi", "16", "AArch64::LDRWui", "AArch64::LDURWi", "4", "AArch64::LDRXui", "AArch64::LDURXi", "8"], "File": "AArch64LoadStoreOptimizer24", "Func": "getMemSize", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3154, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "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": ["AArch64", "AArch64"], "File": "AArch64ISelLowering (2)3", "Func": "getTargetNode", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3155, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetLowering", "::", "AdjustInstrPostInstrSelection", "(", "MachineInstr", "&", "MI", ",", "SDNode", "*", "Node", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", ";", "case", "Mips", "::", "JALR", ":", "case", "Mips", "::", "JALRPseudo", ":", "case", "Mips", "::", "JALR64", ":", "case", "Mips", "::", "JALR64Pseudo", ":", "case", "Mips", "::", "JALR16_MM", ":", "case", "Mips", "::", "JALRC16_MMR6", ":", "case", "Mips", "::", "TAILCALLREG", ":", "case", "Mips", "::", "TAILCALLREG64", ":", "case", "Mips", "::", "TAILCALLR6REG", ":", "case", "Mips", "::", "TAILCALL64R6REG", ":", "case", "Mips", "::", "TAILCALLREG_MM", ":", "case", "Mips", "::", "TAILCALLREG_MMR6", ":", "{", "if", "(", "!", "EmitJalrReloc", "||", "Subtarget", ".", "inMips16Mode", "(", ")", "||", "!", "isPositionIndependent", "(", ")", "||", "Node", "->", "getNumOperands", "(", ")", "<", "1", "||", "Node", "->", "getOperand", "(", "0", ")", ".", "getNumOperands", "(", ")", "<", "2", ")", "{", "return", ";", "}", "const", "SDValue", "TargetAddr", "=", "Node", "->", "getOperand", "(", "0", ")", ".", "getOperand", "(", "1", ")", ";", "StringRef", "Sym", ";", "if", "(", "const", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast_or_null", "<", "const", "GlobalAddressSDNode", ">", "(", "TargetAddr", ")", ")", "{", "Sym", "=", "G", "->", "getGlobal", "(", ")", "->", "getName", "(", ")", ";", "}", "else", "if", "(", "const", "ExternalSymbolSDNode", "*", "ES", "=", "dyn_cast_or_null", "<", "const", "ExternalSymbolSDNode", ">", "(", "TargetAddr", ")", ")", "{", "Sym", "=", "ES", "->", "getSymbol", "(", ")", ";", "}", "if", "(", "Sym", ".", "empty", "(", ")", ")", "return", ";", "MachineFunction", "*", "MF", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "MCSymbol", "*", "S", "=", "MF", "->", "getContext", "(", ")", ".", "getOrCreateSymbol", "(", "Sym", ")", ";", "MI", ".", "addOperand", "(", "MachineOperand", "::", "CreateMCSymbol", "(", "S", ",", "MipsII", "::", "MO_JALR", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'hasPostISelHook", "'", "flag", "."], "TS_V_token": ["Mips", "Mips", "Mips::JALR", "Mips::JALRPseudo", "Mips::JALR64", "Mips::JALR64Pseudo", "Mips::JALR16_MM", "Mips::JALRC16_MMR6", "Mips::TAILCALLREG", "Mips::TAILCALLREG64", "Mips::TAILCALLR6REG", "Mips::TAILCALL64R6REG", "Mips::TAILCALLREG_MM", "Mips::TAILCALLREG_MMR6", "Mips", "1", "0", "2", "0", "1", "MipsII::MO_JALR"], "File": "MipsISelLowering (2)4", "Func": "AdjustInstrPostInstrSelection", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3156, "Length": 264, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "Mips16InstrInfo", "::", "loadImmediate", "(", "unsigned", "FrameReg", ",", "int64_t", "Imm", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "II", ",", "DebugLoc", "DL", ",", "unsigned", "&", "NewImm", ")", "const", "{", "RegScavenger", "rs", ";", "int32_t", "lo", "=", "Imm", "&", "0xFFFF", ";", "int32_t", "hi", "=", "(", "(", "Imm", ">>", "16", ")", "+", "(", "lo", ">>", "15", ")", ")", "&", "0xFFFF", ";", "NewImm", "=", "lo", ";", "unsigned", "Reg", "=", "0", ";", "unsigned", "SpReg", "=", "0", ";", "rs", ".", "enterBasicBlock", "(", "&", "MBB", ")", ";", "rs", ".", "forward", "(", "II", ")", ";", "unsigned", "FirstRegSaved", "=", "0", ",", "SecondRegSaved", "=", "0", ";", "unsigned", "FirstRegSavedTo", "=", "0", ",", "SecondRegSavedTo", "=", "0", ";", "Reg", "=", "rs", ".", "FindUnusedReg", "(", "&", "Mips", "::", "CPU16RegsRegClass", ")", ";", "if", "(", "Reg", "==", "0", ")", "{", "FirstRegSaved", "=", "Reg", "=", "Mips", "::", "V0", ";", "FirstRegSavedTo", "=", "Mips", "::", "T0", ";", "copyPhysReg", "(", "MBB", ",", "II", ",", "DL", ",", "FirstRegSavedTo", ",", "FirstRegSaved", ",", "true", ")", ";", "}", "else", "rs", ".", "setUsed", "(", "Reg", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "get", "(", "Mips", "::", "LiRxImmX16", ")", ",", "Reg", ")", ".", "addImm", "(", "hi", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "get", "(", "Mips", "::", "SllX16", ")", ",", "Reg", ")", ".", "addReg", "(", "Reg", ")", ".", "addImm", "(", "16", ")", ";", "if", "(", "FrameReg", "==", "Mips", "::", "SP", ")", "{", "SpReg", "=", "rs", ".", "FindUnusedReg", "(", "&", "Mips", "::", "CPU16RegsRegClass", ")", ";", "if", "(", "SpReg", "==", "0", ")", "{", "if", "(", "Reg", "!=", "Mips", "::", "V1", ")", "{", "SecondRegSaved", "=", "SpReg", "=", "Mips", "::", "V1", ";", "SecondRegSavedTo", "=", "Mips", "::", "T1", ";", "}", "else", "{", "SecondRegSaved", "=", "SpReg", "=", "Mips", "::", "V0", ";", "SecondRegSavedTo", "=", "Mips", "::", "T0", ";", "}", "copyPhysReg", "(", "MBB", ",", "II", ",", "DL", ",", "SecondRegSavedTo", ",", "SecondRegSaved", ",", "true", ")", ";", "}", "else", "rs", ".", "setUsed", "(", "SpReg", ")", ";", "copyPhysReg", "(", "MBB", ",", "II", ",", "DL", ",", "SpReg", ",", "Mips", "::", "SP", ",", "false", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "get", "(", "Mips", "::", "AdduRxRyRz16", ")", ",", "Reg", ")", ".", "addReg", "(", "SpReg", ")", ".", "addReg", "(", "Reg", ")", ";", "}", "else", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "get", "(", "Mips", "::", "AdduRxRyRz16", ")", ",", "Reg", ")", ".", "addReg", "(", "FrameReg", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ";", "if", "(", "FirstRegSaved", "||", "SecondRegSaved", ")", "{", "II", "=", "llvm", "::", "next", "(", "II", ")", ";", "if", "(", "FirstRegSaved", ")", "copyPhysReg", "(", "MBB", ",", "II", ",", "DL", ",", "FirstRegSaved", ",", "FirstRegSavedTo", ",", "true", ")", ";", "if", "(", "SecondRegSaved", ")", "copyPhysReg", "(", "MBB", ",", "II", ",", "DL", ",", "SecondRegSaved", ",", "SecondRegSavedTo", ",", "true", ")", ";", "}", "return", "Reg", ";", "}", ""], "natrual_language": ["Emit", "a", "series", "of", "instructions", "to", "load", "an", "immediate", "."], "TS_V_token": ["Mips", "Mips", "0xFFFF", "16", "15", "0xFFFF", "0", "0", "0", "0", "0", "0", "Mips::CPU16RegsRegClass", "0", "Mips::V0", "Mips::T0", "Mips::LiRxImmX16", "Mips::SllX16", "16", "Mips::SP", "Mips::CPU16RegsRegClass", "0", "Mips::V1", "Mips::V1", "Mips::T1", "Mips::V0", "Mips::T0", "Mips::SP", "Mips::AdduRxRyRz16", "Mips::AdduRxRyRz16"], "File": "Mips16InstrInfo1", "Func": "loadImmediate", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3157, "Length": 444, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "compute_save_world_info", "(", "rs6000_stack_t", "*", "info_ptr", ")", "{", "info_ptr", "->", "world_save_p", "=", "1", ";", "info_ptr", "->", "world_save_p", "=", "(", "WORLD_SAVE_P", "(", "info_ptr", ")", "&&", "DEFAULT_ABI", "==", "ABI_DARWIN", "&&", "!", "(", "current_function_calls_setjmp", "&&", "flag_exceptions", ")", "&&", "info_ptr", "->", "first_fp_reg_save", "==", "FIRST_SAVED_FP_REGNO", "&&", "info_ptr", "->", "first_gp_reg_save", "==", "FIRST_SAVED_GP_REGNO", "&&", "info_ptr", "->", "first_altivec_reg_save", "==", "FIRST_SAVED_ALTIVEC_REGNO", "&&", "info_ptr", "->", "cr_save_p", ")", ";", "if", "(", "WORLD_SAVE_P", "(", "info_ptr", ")", ")", "{", "rtx", "insn", ";", "for", "(", "insn", "=", "get_last_insn_anywhere", "(", ")", ";", "insn", ";", "insn", "=", "PREV_INSN", "(", "insn", ")", ")", "if", "(", "GET_CODE", "(", "insn", ")", "==", "CALL_INSN", "&&", "SIBLING_CALL_P", "(", "insn", ")", ")", "{", "info_ptr", "->", "world_save_p", "=", "0", ";", "break", ";", "}", "}", "if", "(", "WORLD_SAVE_P", "(", "info_ptr", ")", ")", "{", "info_ptr", "->", "vrsave_size", "=", "4", ";", "if", "(", "info_ptr", "->", "vrsave_mask", "==", "0", ")", "info_ptr", "->", "vrsave_mask", "=", "compute_vrsave_mask", "(", ")", ";", "gcc_assert", "(", "info_ptr", "->", "first_fp_reg_save", ">=", "FIRST_SAVED_FP_REGNO", "&&", "(", "info_ptr", "->", "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", "0"], "File": "rs60003", "Func": "compute_save_world_info", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3158, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "sh_cbranch_distance", "(", "rtx_insn", "*", "_cbranch_insn", ",", "unsigned", "int", "max_dist", ")", "{", "rtx_jump_insn", "*", "cbranch_insn", "=", "safe_as_a", "<", "rtx_jump_insn", "*", ">", "(", "_cbranch_insn", ")", ";", "if", "(", "dump_file", ")", "{", "fprintf", "(", "dump_file", ",", "\"sh_cbranch_distance insn = \\n\"", ")", ";", "print_rtl_single", "(", "dump_file", ",", "cbranch_insn", ")", ";", "}", "unsigned", "int", "dist", "=", "0", ";", "for", "(", "rtx_insn", "*", "i", "=", "next_nonnote_insn", "(", "cbranch_insn", ")", ";", "i", "!=", "NULL", "&&", "dist", "<", "max_dist", ";", "i", "=", "next_nonnote_insn", "(", "i", ")", ")", "{", "const", "unsigned", "int", "i_len", "=", "get_attr_length", "(", "i", ")", ";", "dist", "+=", "i_len", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\" insn %d length = %u dist = %u\\n\"", ",", "INSN_UID", "(", "i", ")", ",", "i_len", ",", "dist", ")", ";", "if", "(", "rtx_code_label", "*", "l", "=", "dyn_cast", "<", "rtx_code_label", "*", ">", "(", "i", ")", ")", "{", "if", "(", "l", "==", "cbranch_insn", "->", "jump_target", "(", ")", ")", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\" cbranch dist = %u\\n\"", ",", "dist", ")", ";", "return", "dist", ";", "}", "break", ";", "}", "}", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\" cbranch dist = unknown\\n\"", ")", ";", "return", "unknown_cbranch_distance", ";", "}", ""], "natrual_language": ["Try", "to", "calculate", "the", "branch", "distance", "of", "a", "conditional", "branch", "in", "bytes", ".", "FIXME", ":", "Because", "of", "PR", "59189", "we", "ca", "n't", "use", "the", "CFG", "here", ".", "Instead", "just", "walk", "from", "this", "insn", "into", "the", "next", "(", "fall-through", ")", "basic", "block", "and", "see", "if", "we", "hit", "the", "label", "."], "TS_V_token": ["sh", "\"sh_cbranch_distance insn = \\n\"", "0", "\" insn %d length = %u dist = %u\\n\"", "\" cbranch dist = %u\\n\"", "\" cbranch dist = unknown\\n\""], "File": "sh", "Func": "sh_cbranch_distance", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3159, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_expand_fp_vcond", "(", "rtx", "operands", "[", "]", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "operands", "[", "3", "]", ")", ";", "rtx", "cmp", ";", "code", "=", "ix86_prepare_sse_fp_compare_args", "(", "operands", "[", "0", "]", ",", "code", ",", "&", "operands", "[", "4", "]", ",", "&", "operands", "[", "5", "]", ")", ";", "if", "(", "code", "==", "UNKNOWN", ")", "{", "rtx", "temp", ";", "switch", "(", "GET_CODE", "(", "operands", "[", "3", "]", ")", ")", "{", "case", "LTGT", ":", "temp", "=", "ix86_expand_sse_cmp", "(", "operands", "[", "0", "]", ",", "ORDERED", ",", "operands", "[", "4", "]", ",", "operands", "[", "5", "]", ",", "operands", "[", "0", "]", ",", "operands", "[", "0", "]", ")", ";", "cmp", "=", "ix86_expand_sse_cmp", "(", "operands", "[", "0", "]", ",", "NE", ",", "operands", "[", "4", "]", ",", "operands", "[", "5", "]", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ";", "code", "=", "AND", ";", "break", ";", "case", "UNEQ", ":", "temp", "=", "ix86_expand_sse_cmp", "(", "operands", "[", "0", "]", ",", "UNORDERED", ",", "operands", "[", "4", "]", ",", "operands", "[", "5", "]", ",", "operands", "[", "0", "]", ",", "operands", "[", "0", "]", ")", ";", "cmp", "=", "ix86_expand_sse_cmp", "(", "operands", "[", "0", "]", ",", "EQ", ",", "operands", "[", "4", "]", ",", "operands", "[", "5", "]", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ";", "code", "=", "IOR", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "cmp", "=", "expand_simple_binop", "(", "GET_MODE", "(", "cmp", ")", ",", "code", ",", "temp", ",", "cmp", ",", "cmp", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "ix86_expand_sse_movcc", "(", "operands", "[", "0", "]", ",", "cmp", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ";", "return", "true", ";", "}", "if", "(", "ix86_expand_sse_fp_minmax", "(", "operands", "[", "0", "]", ",", "code", ",", "operands", "[", "4", "]", ",", "operands", "[", "5", "]", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ")", "return", "true", ";", "cmp", "=", "ix86_expand_sse_cmp", "(", "operands", "[", "0", "]", ",", "code", ",", "operands", "[", "4", "]", ",", "operands", "[", "5", "]", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ";", "ix86_expand_sse_movcc", "(", "operands", "[", "0", "]", ",", "cmp", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Expand", "a", "floating-point", "vector", "conditional", "move", ";", "a", "vcond", "operation", "rather", "than", "a", "movcc", "operation", "."], "TS_V_token": ["i386", "3", "0", "4", "5", "3", "0", "4", "5", "0", "0", "0", "4", "5", "1", "2", "0", "4", "5", "0", "0", "0", "4", "5", "1", "2", "1", "0", "1", "2", "0", "4", "5", "1", "2", "0", "4", "5", "1", "2", "0", "1", "2"], "File": "i386-expand", "Func": "ix86_expand_fp_vcond", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3160, "Length": 359, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "pru_output_signed_cbranch_zeroop2", "(", "rtx", "*", "operands", ",", "bool", "is_near", ")", "{", "static", "char", "buf", "[", "1024", "]", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "operands", "[", "0", "]", ")", ";", "int", "regop_sign_bit_pos", "=", "sign_bit_position", "(", "operands", "[", "1", "]", ")", ";", "if", "(", "code", "==", "LT", ")", "{", "if", "(", "is_near", ")", "snprintf", "(", "buf", ",", "sizeof", "(", "buf", ")", ",", "\"qbbs\\t%%l3, %%1, %d\\n\\t\"", ",", "regop_sign_bit_pos", ")", ";", "else", "snprintf", "(", "buf", ",", "sizeof", "(", "buf", ")", ",", "\"qbbc\\t.+8, %%1, %d\\n\\t\"", "\"jmp\\t%%%%label(%%l3)\"", ",", "regop_sign_bit_pos", ")", ";", "}", "else", "if", "(", "code", "==", "GE", ")", "{", "if", "(", "is_near", ")", "snprintf", "(", "buf", ",", "sizeof", "(", "buf", ")", ",", "\"qbbc\\t%%l3, %%1, %d\\n\\t\"", ",", "regop_sign_bit_pos", ")", ";", "else", "snprintf", "(", "buf", ",", "sizeof", "(", "buf", ")", ",", "\"qbbs\\t.+8, %%1, %d\\n\\t\"", "\"jmp\\t%%%%label(%%l3)\"", ",", "regop_sign_bit_pos", ")", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "return", "buf", ";", "}", ""], "natrual_language": ["Optimized", "version", "of", "pru_output_signed_cbranch_ubyteop2", "for", "constant", "zero", "second", "operand", "."], "TS_V_token": ["pru", "1024", "0", "1", "\"qbbs\\t%%l3, %%1, %d\\n\\t\"", "\"qbbc\\t.+8, %%1, %d\\n\\t\"", "\"jmp\\t%%%%label(%%l3)\"", "\"qbbc\\t%%l3, %%1, %d\\n\\t\"", "\"qbbs\\t.+8, %%1, %d\\n\\t\"", "\"jmp\\t%%%%label(%%l3)\""], "File": "pru", "Func": "pru_output_signed_cbranch_zeroop2", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3161, "Length": 137, "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": 3162, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_emit_sve_ptrue_op_cc", "(", "rtx", "target", ",", "rtx", "ptrue", ",", "rtx", "op", ")", "{", "rtx", "unspec", "=", "gen_rtx_UNSPEC", "(", "GET_MODE", "(", "target", ")", ",", "gen_rtvec", "(", "2", ",", "ptrue", ",", "op", ")", ",", "UNSPEC_MERGE_PTRUE", ")", ";", "rtx_insn", "*", "insn", "=", "emit_insn", "(", "gen_set_clobber_cc", "(", "target", ",", "unspec", ")", ")", ";", "set_unique_reg_note", "(", "insn", ",", "REG_EQUAL", ",", "copy_rtx", "(", "op", ")", ")", ";", "}", ""], "natrual_language": ["Likewise", ",", "but", "also", "clobber", "the", "condition", "codes", "."], "TS_V_token": ["aarch64", "2"], "File": "aarch646", "Func": "aarch64_emit_sve_ptrue_op_cc", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3163, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isShuffleMaskLegal", "(", "const", "SmallVectorImpl", "<", "int", ">", "&", "M", ",", "EVT", "VT", ")", "const", "{", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "false", ";", "return", "(", "VT", ".", "getVectorNumElements", "(", ")", "==", "2", "||", "ShuffleVectorSDNode", "::", "isSplatMask", "(", "&", "M", "[", "0", "]", ",", "VT", ")", "||", "isMOVLMask", "(", "M", ",", "VT", ")", "||", "isSHUFPMask", "(", "M", ",", "VT", ",", "Subtarget", "->", "hasAVX", "(", ")", ")", "||", "isPSHUFDMask", "(", "M", ",", "VT", ")", "||", "isPSHUFHWMask", "(", "M", ",", "VT", ",", "Subtarget", "->", "hasAVX2", "(", ")", ")", "||", "isPSHUFLWMask", "(", "M", ",", "VT", ",", "Subtarget", "->", "hasAVX2", "(", ")", ")", "||", "isPALIGNRMask", "(", "M", ",", "VT", ",", "Subtarget", ")", "||", "isUNPCKLMask", "(", "M", ",", "VT", ",", "Subtarget", "->", "hasAVX2", "(", ")", ")", "||", "isUNPCKHMask", "(", "M", ",", "VT", ",", "Subtarget", "->", "hasAVX2", "(", ")", ")", "||", "isUNPCKL_v_undef_Mask", "(", "M", ",", "VT", ",", "Subtarget", "->", "hasAVX2", "(", ")", ")", "||", "isUNPCKH_v_undef_Mask", "(", "M", ",", "VT", ",", "Subtarget", "->", "hasAVX2", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "can", "use", "this", "to", "indicate", "that", "they", "only", "support", "some", "VECTOR_SHUFFLE", "operations", ",", "those", "with", "specific", "masks", "."], "TS_V_token": ["X86", "X86", "64", "2", "0"], "File": "X86ISelLowering117", "Func": "isShuffleMaskLegal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3164, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PassConfig", "::", "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": ["AArch64", "AArch64"], "File": "AArch64TargetMachine (2)3", "Func": "addLegalizeMachineIR", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3165, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc_emit_membar_for_model", "(", "enum", "memmodel", "model", ",", "int", "load_store", ",", "int", "before_after", ")", "{", "const", "int", "LoadLoad", "=", "1", ";", "const", "int", "StoreLoad", "=", "2", ";", "const", "int", "LoadStore", "=", "4", ";", "const", "int", "StoreStore", "=", "8", ";", "int", "mm", "=", "0", ",", "implied", "=", "0", ";", "switch", "(", "sparc_memory_model", ")", "{", "case", "SMM_SC", ":", "implied", "=", "LoadLoad", "|", "StoreLoad", "|", "LoadStore", "|", "StoreStore", ";", "break", ";", "case", "SMM_TSO", ":", "implied", "|=", "StoreStore", ";", "if", "(", "load_store", "==", "3", "&&", "before_after", "==", "1", ")", "implied", "|=", "StoreLoad", ";", "case", "SMM_PSO", ":", "implied", "|=", "LoadLoad", "|", "LoadStore", ";", "if", "(", "load_store", "==", "3", "&&", "before_after", "==", "2", ")", "implied", "|=", "StoreLoad", "|", "StoreStore", ";", "case", "SMM_RMO", ":", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "before_after", "&", "1", ")", "{", "if", "(", "is_mm_release", "(", "model", ")", "||", "is_mm_acq_rel", "(", "model", ")", "||", "is_mm_seq_cst", "(", "model", ")", ")", "{", "if", "(", "load_store", "&", "1", ")", "mm", "|=", "LoadLoad", "|", "StoreLoad", ";", "if", "(", "load_store", "&", "2", ")", "mm", "|=", "LoadStore", "|", "StoreStore", ";", "}", "}", "if", "(", "before_after", "&", "2", ")", "{", "if", "(", "is_mm_acquire", "(", "model", ")", "||", "is_mm_acq_rel", "(", "model", ")", "||", "is_mm_seq_cst", "(", "model", ")", ")", "{", "if", "(", "load_store", "&", "1", ")", "mm", "|=", "LoadLoad", "|", "LoadStore", ";", "if", "(", "load_store", "&", "2", ")", "mm", "|=", "StoreLoad", "|", "StoreStore", ";", "}", "}", "mm", "&=", "~", "implied", ";", "if", "(", "mm", "||", "before_after", "==", "3", ")", "emit_insn", "(", "gen_membar", "(", "GEN_INT", "(", "mm", ")", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "membar", "instruction", "for", "various", "use", "cases", ".", "Both", "the", "LOAD_STORE", "and", "BEFORE_AFTER", "arguments", "of", "the", "form", "X_Y", ".", "They", "are", "two-bit", "masks", "where", "bit", "0", "indicates", "that", "X", "is", "true", ",", "and", "bit", "1", "indicates", "Y", "is", "true", "."], "TS_V_token": ["sparc", "1", "2", "4", "8", "0", "0", "3", "1", "3", "2", "1", "1", "2", "2", "1", "2", "3"], "File": "sparc", "Func": "sparc_emit_membar_for_model", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3166, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "UPTAsmPrinter", "::", "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": ["UPT", "UPT"], "File": "UPTAsmPrinter", "Func": "EmitInstruction", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3167, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "verify_type_context", "(", "location_t", "loc", ",", "type_context_kind", "context", ",", "const_tree", "type", ",", "bool", "silent_p", ")", "{", "if", "(", "!", "sizeless_type_p", "(", "type", ")", ")", "return", "true", ";", "switch", "(", "context", ")", "{", "case", "TCTX_SIZEOF", ":", "case", "TCTX_STATIC_STORAGE", ":", "if", "(", "!", "silent_p", ")", "error_at", "(", "loc", ",", "\"SVE type %qT does not have a fixed size\"", ",", "type", ")", ";", "return", "false", ";", "case", "TCTX_ALIGNOF", ":", "if", "(", "!", "silent_p", ")", "error_at", "(", "loc", ",", "\"SVE type %qT does not have a defined alignment\"", ",", "type", ")", ";", "return", "false", ";", "case", "TCTX_THREAD_STORAGE", ":", "if", "(", "!", "silent_p", ")", "error_at", "(", "loc", ",", "\"variables of type %qT cannot have thread-local\"", "\" storage duration\"", ",", "type", ")", ";", "return", "false", ";", "case", "TCTX_POINTER_ARITH", ":", "if", "(", "!", "silent_p", ")", "error_at", "(", "loc", ",", "\"arithmetic on pointer to SVE type %qT\"", ",", "type", ")", ";", "return", "false", ";", "case", "TCTX_FIELD", ":", "if", "(", "silent_p", ")", ";", "else", "if", "(", "lang_GNU_CXX", "(", ")", ")", "error_at", "(", "loc", ",", "\"member variables cannot have SVE type %qT\"", ",", "type", ")", ";", "else", "error_at", "(", "loc", ",", "\"fields cannot have SVE type %qT\"", ",", "type", ")", ";", "return", "false", ";", "case", "TCTX_ARRAY_ELEMENT", ":", "if", "(", "!", "silent_p", ")", "error_at", "(", "loc", ",", "\"array elements cannot have SVE type %qT\"", ",", "type", ")", ";", "return", "false", ";", "case", "TCTX_ALLOCATION", ":", "if", "(", "!", "silent_p", ")", "error_at", "(", "loc", ",", "\"cannot allocate objects with SVE type %qT\"", ",", "type", ")", ";", "return", "false", ";", "case", "TCTX_DEALLOCATION", ":", "if", "(", "!", "silent_p", ")", "error_at", "(", "loc", ",", "\"cannot delete objects with SVE type %qT\"", ",", "type", ")", ";", "return", "false", ";", "case", "TCTX_EXCEPTIONS", ":", "if", "(", "!", "silent_p", ")", "error_at", "(", "loc", ",", "\"cannot throw or catch SVE type %qT\"", ",", "type", ")", ";", "return", "false", ";", "case", "TCTX_CAPTURE_BY_COPY", ":", "if", "(", "!", "silent_p", ")", "error_at", "(", "loc", ",", "\"capture by copy of SVE type %qT\"", ",", "type", ")", ";", "return", "false", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VERIFY_TYPE_CONTEXT", "for", "RVV", "types", "."], "TS_V_token": ["aarch64", "\"SVE type %qT does not have a fixed size\"", "\"SVE type %qT does not have a defined alignment\"", "\"variables of type %qT cannot have thread-local\"", "\" storage duration\"", "\"arithmetic on pointer to SVE type %qT\"", "\"member variables cannot have SVE type %qT\"", "\"fields cannot have SVE type %qT\"", "\"array elements cannot have SVE type %qT\"", "\"cannot allocate objects with SVE type %qT\"", "\"cannot delete objects with SVE type %qT\"", "\"cannot throw or catch SVE type %qT\"", "\"capture by copy of SVE type %qT\""], "File": "aarch64-sve-builtins", "Func": "verify_type_context", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3168, "Length": 259, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_is_valid_shift_mask", "(", "rtx", "mask", ",", "rtx", "shift", ",", "machine_mode", "mode", ")", "{", "int", "nb", ",", "ne", ";", "if", "(", "!", "rs6000_is_valid_mask", "(", "mask", ",", "&", "nb", ",", "&", "ne", ",", "mode", ")", ")", "return", "false", ";", "int", "n", "=", "GET_MODE_PRECISION", "(", "mode", ")", ";", "int", "sh", "=", "-", "1", ";", "if", "(", "CONST_INT_P", "(", "XEXP", "(", "shift", ",", "1", ")", ")", ")", "{", "sh", "=", "INTVAL", "(", "XEXP", "(", "shift", ",", "1", ")", ")", ";", "if", "(", "sh", "<", "0", "||", "sh", ">=", "n", ")", "return", "false", ";", "}", "rtx_code", "code", "=", "GET_CODE", "(", "shift", ")", ";", "if", "(", "sh", "==", "0", ")", "code", "=", "ROTATE", ";", "if", "(", "code", "==", "ROTATE", "&&", "sh", ">=", "0", "&&", "nb", ">=", "ne", "&&", "ne", ">=", "sh", ")", "code", "=", "ASHIFT", ";", "if", "(", "code", "==", "ROTATE", "&&", "sh", ">=", "0", "&&", "nb", ">=", "ne", "&&", "nb", "<", "sh", ")", "{", "code", "=", "LSHIFTRT", ";", "sh", "=", "n", "-", "sh", ";", "}", "if", "(", "mode", "==", "DImode", "&&", "code", "==", "ROTATE", ")", "return", "(", "nb", "==", "63", "||", "ne", "==", "0", "||", "ne", "==", "sh", ")", ";", "if", "(", "mode", "==", "SImode", "&&", "code", "==", "ROTATE", ")", "return", "(", "nb", "<", "32", "&&", "ne", "<", "32", "&&", "sh", "<", "32", ")", ";", "if", "(", "ne", ">", "nb", ")", "return", "false", ";", "if", "(", "sh", "<", "0", ")", "return", "false", ";", "if", "(", "code", "==", "ASHIFT", "&&", "ne", "<", "sh", ")", "return", "false", ";", "if", "(", "nb", "<", "32", "&&", "ne", "<", "32", "&&", "sh", "<", "32", "&&", "!", "(", "code", "==", "LSHIFTRT", "&&", "nb", ">=", "32", "-", "sh", ")", ")", "return", "true", ";", "if", "(", "code", "==", "LSHIFTRT", ")", "sh", "=", "64", "-", "sh", ";", "if", "(", "nb", "==", "63", "||", "ne", "==", "0", "||", "ne", "==", "sh", ")", "return", "!", "(", "code", "==", "LSHIFTRT", "&&", "nb", ">=", "sh", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "whether", "MASK", "(", "a", "CONST_INT", ")", "is", "a", "valid", "mask", "for", "any", "rlw", "[", "i", "]", "nm", ",", "rld", "[", "i", "]", "cl", ",", "rld", "[", "i", "]", "cr", ",", "or", "rld", "[", "i", "]", "c", "instruction", ",", "to", "implement", "an", "AND", "with", "shift", "SHIFT", "(", "a", "ROTATE", ",", "ASHIFT", ",", "or", "LSHIFTRT", ")", "in", "mode", "MODE", "."], "TS_V_token": ["rs6000", "1", "1", "1", "0", "0", "0", "0", "63", "0", "32", "32", "32", "0", "32", "32", "32", "32", "64", "63", "0"], "File": "rs6000", "Func": "rs6000_is_valid_shift_mask", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3169, "Length": 313, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_register_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "from", ",", "reg_class_t", "to", ")", "{", "reg_class_t", "dregs", ";", "int", "cost1", ",", "cost2", ";", "from", "=", "mips_canonicalize_move_class", "(", "from", ")", ";", "to", "=", "mips_canonicalize_move_class", "(", "to", ")", ";", "if", "(", "from", "==", "FP_REGS", ")", "{", "if", "(", "to", "==", "FP_REGS", "&&", "mips_mode_ok_for_mov_fmt_p", "(", "mode", ")", ")", "return", "4", ";", "}", "dregs", "=", "TARGET_MIPS16", "?", "M16_REGS", ":", "GENERAL_REGS", ";", "if", "(", "from", "==", "dregs", ")", "return", "mips_move_from_gpr_cost", "(", "to", ")", ";", "if", "(", "to", "==", "dregs", ")", "return", "mips_move_to_gpr_cost", "(", "from", ")", ";", "cost1", "=", "mips_move_to_gpr_cost", "(", "from", ")", ";", "if", "(", "cost1", "!=", "0", ")", "{", "cost2", "=", "mips_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": ["mips", "4", "0", "0", "0"], "File": "mips", "Func": "mips_register_move_cost", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3170, "Length": 127, "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": 3171, "Length": 73, "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": 3172, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createSparcDelaySlotFillerPass", "(", ")", ")", ";", "if", "(", "this", "->", "getSparcTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "insertNOPLoad", "(", ")", ")", "{", "addPass", "(", "new", "InsertNOPLoad", "(", ")", ")", ";", "}", "if", "(", "this", "->", "getSparcTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "fixFSMULD", "(", ")", ")", "{", "addPass", "(", "new", "FixFSMULD", "(", ")", ")", ";", "}", "if", "(", "this", "->", "getSparcTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "replaceFMULS", "(", ")", ")", "{", "addPass", "(", "new", "ReplaceFMULS", "(", ")", ")", ";", "}", "if", "(", "this", "->", "getSparcTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "detectRoundChange", "(", ")", ")", "{", "addPass", "(", "new", "DetectRoundChange", "(", ")", ")", ";", "}", "if", "(", "this", "->", "getSparcTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "fixAllFDIVSQRT", "(", ")", ")", "{", "addPass", "(", "new", "FixAllFDIVSQRT", "(", ")", ")", ";", "}", "}", ""], "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", "Sparc", "Sparc"], "File": "SparcTargetMachine32", "Func": "addPreEmitPass", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3173, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_legitimate_constant_p", "(", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "CONST", ":", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "{", "if", "(", "!", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "return", "false", ";", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "}", "if", "(", "TARGET_MACHO", "&&", "darwin_local_data_pic", "(", "x", ")", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", ")", "switch", "(", "XINT", "(", "x", ",", "1", ")", ")", "{", "case", "UNSPEC_GOT", ":", "case", "UNSPEC_GOTOFF", ":", "case", "UNSPEC_PLTOFF", ":", "return", "TARGET_64BIT", ";", "case", "UNSPEC_TPOFF", ":", "case", "UNSPEC_NTPOFF", ":", "x", "=", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ";", "return", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", "==", "TLS_MODEL_LOCAL_EXEC", ")", ";", "case", "UNSPEC_DTPOFF", ":", "x", "=", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ";", "return", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", "==", "TLS_MODEL_LOCAL_DYNAMIC", ")", ";", "default", ":", "return", "false", ";", "}", "if", "(", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "SYMBOL_REF", ")", "return", "false", ";", "case", "SYMBOL_REF", ":", "if", "(", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", ")", "return", "false", ";", "if", "(", "TARGET_DLLIMPORT_DECL_ATTRIBUTES", "&&", "SYMBOL_REF_DLLIMPORT_P", "(", "x", ")", ")", "return", "false", ";", "if", "(", "MACHO_DYNAMIC_NO_PIC_P", ")", "return", "machopic_symbol_defined_p", "(", "x", ")", ";", "if", "(", "ix86_force_load_from_GOT_p", "(", "x", ")", ")", "return", "false", ";", "break", ";", "CASE_CONST_SCALAR_INT", ":", "if", "(", "ix86_endbr_immediate_operand", "(", "x", ",", "VOIDmode", ")", ")", "return", "false", ";", "switch", "(", "mode", ")", "{", "case", "E_TImode", ":", "if", "(", "TARGET_64BIT", ")", "return", "true", ";", "case", "E_OImode", ":", "case", "E_XImode", ":", "if", "(", "!", "standard_sse_constant_p", "(", "x", ",", "mode", ")", "&&", "GET_MODE_SIZE", "(", "TARGET_AVX512F", "?", "XImode", ":", "(", "TARGET_AVX", "?", "OImode", ":", "(", "TARGET_SSE2", "?", "TImode", ":", "DImode", ")", ")", ")", "<", "GET_MODE_SIZE", "(", "mode", ")", ")", "return", "false", ";", "default", ":", "break", ";", "}", "break", ";", "case", "CONST_VECTOR", ":", "if", "(", "!", "standard_sse_constant_p", "(", "x", ",", "mode", ")", ")", "return", "false", ";", "break", ";", "case", "CONST_DOUBLE", ":", "if", "(", "mode", "==", "E_BFmode", ")", "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": ["i386", "0", "1", "0", "1", "0", "0", "0", "0"], "File": "i3861", "Func": "ix86_legitimate_constant_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3174, "Length": 372, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_adjust_vect_cost_per_loop", "(", "rs6000_cost_data", "*", "data", ")", "{", "struct", "loop", "*", "loop", "=", "data", "->", "loop_info", ";", "gcc_assert", "(", "loop", ")", ";", "loop_vec_info", "loop_vinfo", "=", "loop_vec_info_for_loop", "(", "loop", ")", ";", "if", "(", "LOOP_VINFO_FULLY_WITH_LENGTH_P", "(", "loop_vinfo", ")", ")", "{", "rgroup_controls", "*", "rgc", ";", "unsigned", "int", "num_vectors_m1", ";", "unsigned", "int", "shift_cnt", "=", "0", ";", "FOR_EACH_VEC_ELT", "(", "LOOP_VINFO_LENS", "(", "loop_vinfo", ")", ",", "num_vectors_m1", ",", "rgc", ")", "if", "(", "rgc", "->", "type", ")", "shift_cnt", "+=", "num_vectors_m1", "+", "1", ";", "rs6000_add_stmt_cost", "(", "loop_vinfo", ",", "(", "void", "*", ")", "data", ",", "shift_cnt", ",", "scalar_stmt", ",", "NULL", ",", "NULL_TREE", ",", "0", ",", "vect_body", ")", ";", "}", "}", ""], "natrual_language": ["For", "some", "target", "specific", "vectorization", "cost", "which", "ca", "n't", "be", "handled", "per", "stmt", ",", "we", "check", "the", "requisite", "conditions", "and", "adjust", "the", "vectorization", "cost", "accordingly", "if", "satisfied", ".", "One", "typical", "example", "is", "to", "model", "shift", "cost", "for", "vector", "with", "length", "by", "counting", "number", "of", "required", "lengths", "under", "condition", "LOOP_VINFO_FULLY_WITH_LENGTH_P", "."], "TS_V_token": ["rs6000", "0", "1", "0"], "File": "rs60001", "Func": "rs6000_adjust_vect_cost_per_loop", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3175, "Length": 101, "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": 3176, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "gimple", "*", "fold", "(", "gimple_folder", "&", ")", "const", "{", "return", "NULL", ";", "}", ""], "natrual_language": ["Try", "to", "fold", "the", "call", ".", "Return", "the", "new", "statement", "on", "success", "and", "null", "on", "failure", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "fold", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3177, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_hard_regno_mode_ok", "(", "unsigned", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_CC", ")", "return", "regno", "==", "CC_REGNUM", ";", "if", "(", "regno", "==", "VG_REGNUM", ")", "return", "mode", "==", "DImode", ";", "unsigned", "int", "vec_flags", "=", "aarch64_classify_vector_mode", "(", "mode", ")", ";", "if", "(", "vec_flags", "&", "VEC_SVE_PRED", ")", "return", "pr_or_ffr_regnum_p", "(", "regno", ")", ";", "if", "(", "pr_or_ffr_regnum_p", "(", "regno", ")", ")", "return", "false", ";", "if", "(", "regno", "==", "SP_REGNUM", ")", "return", "mode", "==", "Pmode", "||", "mode", "==", "ptr_mode", ";", "if", "(", "regno", "==", "FRAME_POINTER_REGNUM", "||", "regno", "==", "ARG_POINTER_REGNUM", ")", "return", "mode", "==", "Pmode", ";", "if", "(", "GP_REGNUM_P", "(", "regno", ")", ")", "{", "if", "(", "vec_flags", "&", "VEC_ANY_SVE", ")", "return", "false", ";", "if", "(", "known_le", "(", "GET_MODE_SIZE", "(", "mode", ")", ",", "8", ")", ")", "return", "true", ";", "if", "(", "known_le", "(", "GET_MODE_SIZE", "(", "mode", ")", ",", "16", ")", ")", "return", "(", "regno", "&", "1", ")", "==", "0", ";", "}", "else", "if", "(", "FP_REGNUM_P", "(", "regno", ")", ")", "{", "if", "(", "vec_flags", "&", "VEC_STRUCT", ")", "return", "end_hard_regno", "(", "mode", ",", "regno", ")", "-", "1", "<=", "V31_REGNUM", ";", "else", "return", "!", "VECTOR_MODE_P", "(", "mode", ")", "||", "vec_flags", "!=", "0", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "HARD_REGNO_MODE_OK", "."], "TS_V_token": ["aarch64", "8", "16", "1", "0", "1", "0"], "File": "aarch64", "Func": "aarch64_hard_regno_mode_ok", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3178, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_fix_trunc", "(", "rtx", "insn", ",", "rtx", "*", "operands", ",", "int", "fisttp", ")", "{", "int", "stack_top_dies", "=", "find_regno_note", "(", "insn", ",", "REG_DEAD", ",", "FIRST_STACK_REG", ")", "!=", "0", ";", "int", "dimode_p", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", "==", "DImode", ";", "int", "round_mode", "=", "get_attr_i387_cw", "(", "insn", ")", ";", "if", "(", "(", "dimode_p", "||", "fisttp", ")", "&&", "!", "stack_top_dies", ")", "output_asm_insn", "(", "\"fld\\t%y1\"", ",", "operands", ")", ";", "gcc_assert", "(", "STACK_TOP_P", "(", "operands", "[", "1", "]", ")", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "operands", "[", "0", "]", ")", "==", "MEM", ")", ";", "if", "(", "fisttp", ")", "output_asm_insn", "(", "\"fisttp%z0\\t%0\"", ",", "operands", ")", ";", "else", "{", "if", "(", "round_mode", "!=", "I387_CW_ANY", ")", "output_asm_insn", "(", "\"fldcw\\t%3\"", ",", "operands", ")", ";", "if", "(", "stack_top_dies", "||", "dimode_p", ")", "output_asm_insn", "(", "\"fistp%z0\\t%0\"", ",", "operands", ")", ";", "else", "output_asm_insn", "(", "\"fist%z0\\t%0\"", ",", "operands", ")", ";", "if", "(", "round_mode", "!=", "I387_CW_ANY", ")", "output_asm_insn", "(", "\"fldcw\\t%2\"", ",", "operands", ")", ";", "}", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "code", "for", "INSN", "to", "convert", "a", "float", "to", "a", "signed", "int", ".", "OPERANDS", "are", "the", "insn", "operands", ".", "The", "output", "may", "be", "[", "HSD", "]", "Imode", "and", "the", "input", "operand", "may", "be", "[", "SDX", "]", "Fmode", "."], "TS_V_token": ["i386", "0", "0", "\"fld\\t%y1\"", "1", "0", "\"fisttp%z0\\t%0\"", "\"fldcw\\t%3\"", "\"fistp%z0\\t%0\"", "\"fist%z0\\t%0\"", "\"fldcw\\t%2\"", "\"\""], "File": "i3863", "Func": "output_fix_trunc", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3179, "Length": 158, "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", ";", "EVT", "VT", ";", "SDValue", "Ptr", ";", "Align", "Alignment", ";", "bool", "isSEXTLoad", "=", "false", ";", "bool", "IsMasked", "=", "false", ";", "if", "(", "LoadSDNode", "*", "LD", "=", "dyn_cast", "<", "LoadSDNode", ">", "(", "N", ")", ")", "{", "Ptr", "=", "LD", "->", "getBasePtr", "(", ")", ";", "VT", "=", "LD", "->", "getMemoryVT", "(", ")", ";", "Alignment", "=", "LD", "->", "getAlign", "(", ")", ";", "isSEXTLoad", "=", "LD", "->", "getExtensionType", "(", ")", "==", "ISD", "::", "SEXTLOAD", ";", "}", "else", "if", "(", "StoreSDNode", "*", "ST", "=", "dyn_cast", "<", "StoreSDNode", ">", "(", "N", ")", ")", "{", "Ptr", "=", "ST", "->", "getBasePtr", "(", ")", ";", "VT", "=", "ST", "->", "getMemoryVT", "(", ")", ";", "Alignment", "=", "ST", "->", "getAlign", "(", ")", ";", "}", "else", "if", "(", "MaskedLoadSDNode", "*", "LD", "=", "dyn_cast", "<", "MaskedLoadSDNode", ">", "(", "N", ")", ")", "{", "Ptr", "=", "LD", "->", "getBasePtr", "(", ")", ";", "VT", "=", "LD", "->", "getMemoryVT", "(", ")", ";", "Alignment", "=", "LD", "->", "getAlign", "(", ")", ";", "isSEXTLoad", "=", "LD", "->", "getExtensionType", "(", ")", "==", "ISD", "::", "SEXTLOAD", ";", "IsMasked", "=", "true", ";", "}", "else", "if", "(", "MaskedStoreSDNode", "*", "ST", "=", "dyn_cast", "<", "MaskedStoreSDNode", ">", "(", "N", ")", ")", "{", "Ptr", "=", "ST", "->", "getBasePtr", "(", ")", ";", "VT", "=", "ST", "->", "getMemoryVT", "(", ")", ";", "Alignment", "=", "ST", "->", "getAlign", "(", ")", ";", "IsMasked", "=", "true", ";", "}", "else", "return", "false", ";", "bool", "isInc", ";", "bool", "isLegal", "=", "false", ";", "if", "(", "VT", ".", "isVector", "(", ")", ")", "isLegal", "=", "Subtarget", "->", "hasMVEIntegerOps", "(", ")", "&&", "getMVEIndexedAddressParts", "(", "Ptr", ".", "getNode", "(", ")", ",", "VT", ",", "Alignment", ",", "isSEXTLoad", ",", "IsMasked", ",", "Subtarget", "->", "isLittle", "(", ")", ",", "Base", ",", "Offset", ",", "isInc", ",", "DAG", ")", ";", "else", "{", "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::SEXTLOAD", "ISD::SEXTLOAD", "ARM", "ISD::PRE_INC", "ISD::PRE_DEC"], "File": "ARMISelLowering (2)5", "Func": "getPreIndexedAddressParts", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3180, "Length": 395, "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": 3181, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arm_gen_load_multiple_1", "(", "int", "count", ",", "int", "*", "regs", ",", "rtx", "*", "mems", ",", "rtx", "basereg", ",", "HOST_WIDE_INT", "wback_offset", ")", "{", "int", "i", "=", "0", ",", "j", ";", "rtx", "result", ";", "if", "(", "!", "multiple_operation_profitable_p", "(", "false", ",", "count", ",", "0", ")", ")", "{", "rtx", "seq", ";", "start_sequence", "(", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "count", ";", "i", "++", ")", "emit_move_insn", "(", "gen_rtx_REG", "(", "SImode", ",", "regs", "[", "i", "]", ")", ",", "mems", "[", "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", "(", "gen_rtx_REG", "(", "SImode", ",", "regs", "[", "j", "]", ")", ",", "mems", "[", "j", "]", ")", ";", "return", "result", ";", "}", ""], "natrual_language": ["Generate", "a", "load-multiple", "instruction", ".", "COUNT", "is", "the", "number", "of", "loads", "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", "1", "0", "0", "0", "0", "1", "0", "0"], "File": "arm", "Func": "arm_gen_load_multiple_1", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3182, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc_expand_prologue", "(", "void", ")", "{", "HOST_WIDE_INT", "size", ";", "rtx_insn", "*", "insn", ";", "sparc_leaf_function_p", "=", "optimize", ">", "0", "&&", "crtl", "->", "is_leaf", "&&", "only_leaf_regs_used", "(", ")", ";", "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", "||", "flag_stack_clash_protection", ")", "{", "if", "(", "crtl", "->", "is_leaf", "&&", "!", "cfun", "->", "calls_alloca", ")", "{", "if", "(", "size", ">", "PROBE_INTERVAL", "&&", "size", ">", "get_stack_check_protect", "(", ")", ")", "sparc_emit_probe_stack_range", "(", "get_stack_check_protect", "(", ")", ",", "size", "-", "get_stack_check_protect", "(", ")", ")", ";", "}", "else", "if", "(", "size", ">", "0", ")", "sparc_emit_probe_stack_range", "(", "get_stack_check_protect", "(", ")", ",", "size", ")", ";", "}", "if", "(", "size", "==", "0", ")", ";", "else", "if", "(", "sparc_leaf_function_p", ")", "{", "rtx", "size_int_rtx", "=", "GEN_INT", "(", "-", "size", ")", ";", "if", "(", "size", "<=", "4096", ")", "insn", "=", "emit_insn", "(", "gen_stack_pointer_inc", "(", "size_int_rtx", ")", ")", ";", "else", "if", "(", "size", "<=", "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", "-", "size", ")", ")", ")", ";", "}", "else", "{", "rtx", "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_FRAME_RELATED_EXPR", ",", "gen_stack_pointer_inc", "(", "size_int_rtx", ")", ")", ";", "}", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "else", "{", "rtx", "size_int_rtx", "=", "GEN_INT", "(", "-", "size", ")", ";", "if", "(", "size", "<=", "4096", ")", "emit_window_save", "(", "size_int_rtx", ")", ";", "else", "if", "(", "size", "<=", "8192", ")", "{", "emit_window_save", "(", "GEN_INT", "(", "-", "4096", ")", ")", ";", "emit_insn", "(", "gen_stack_pointer_inc", "(", "GEN_INT", "(", "4096", "-", "size", ")", ")", ")", ";", "emit_insn", "(", "gen_frame_blockage", "(", ")", ")", ";", "}", "else", "{", "rtx", "size_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "emit_move_insn", "(", "size_rtx", ",", "size_int_rtx", ")", ";", "emit_window_save", "(", "size_rtx", ")", ";", "}", "}", "if", "(", "sparc_leaf_function_p", ")", "{", "sparc_frame_base_reg", "=", "stack_pointer_rtx", ";", "sparc_frame_base_offset", "=", "size", "+", "SPARC_STACK_BIAS", ";", "}", "else", "{", "sparc_frame_base_reg", "=", "hard_frame_pointer_rtx", ";", "sparc_frame_base_offset", "=", "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", ")", ";", "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", "PIC", "register", "if", "needed", "."], "TS_V_token": ["sparc", "0", "0", "0", "4096", "8192", "4096", "1", "4096", "1", "1", "4096", "8192", "4096", "4096", "1", "0"], "File": "sparc", "Func": "sparc_expand_prologue", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3183, "Length": 378, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "KudeyarTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "getTargetMachine", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "assert", "(", "(", "Opc", "==", "Kudeyar", "::", "Select32T", "||", "Opc", "==", "Kudeyar", "::", "Select32F", ")", "&&", "\"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", ")", ";", "int", "br_code", ";", "switch", "(", "Opc", ")", "{", "case", "Kudeyar", "::", "Select32T", ":", "br_code", "=", "Kudeyar", "::", "BTs", ";", "break", ";", "case", "Kudeyar", "::", "Select32F", ":", "br_code", "=", "Kudeyar", "::", "BFs", ";", "break", ";", "default", ":", "br_code", "=", "0", ";", "}", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "br_code", ")", ")", ".", "addMBB", "(", "copy1MBB", ")", ";", "BB", "=", "copy0MBB", ";", "BB", "->", "addSuccessor", "(", "copy1MBB", ")", ";", "BB", "=", "copy1MBB", ";", "BuildMI", "(", "*", "BB", ",", "BB", "->", "begin", "(", ")", ",", "dl", ",", "TII", ".", "get", "(", "Kudeyar", "::", "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": ["Kudeyar", "Kudeyar", "Kudeyar::Select32T", "Kudeyar::Select32F", "\"Unexpected instr type to insert\"", "Kudeyar::Select32T", "Kudeyar::BTs", "Kudeyar::Select32F", "Kudeyar::BFs", "0", "Kudeyar::PHI", "0", "2", "1"], "File": "KudeyarISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3184, "Length": 353, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_restore_gp_from_cprestore_slot", "(", "rtx", "temp", ")", "{", "gcc_assert", "(", "TARGET_ABICALLS", "&&", "TARGET_OLDABI", "&&", "epilogue_completed", ")", ";", "if", "(", "!", "cfun", "->", "machine", "->", "must_restore_gp_when_clobbered_p", ")", "{", "emit_note", "(", "NOTE_INSN_DELETED", ")", ";", "return", ";", "}", "if", "(", "TARGET_MIPS16", ")", "{", "mips_emit_move", "(", "temp", ",", "mips_cprestore_slot", "(", "temp", ",", "true", ")", ")", ";", "mips_emit_move", "(", "pic_offset_table_rtx", ",", "temp", ")", ";", "}", "else", "mips_emit_move", "(", "pic_offset_table_rtx", ",", "mips_cprestore_slot", "(", "temp", ",", "true", ")", ")", ";", "if", "(", "!", "TARGET_EXPLICIT_RELOCS", ")", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", ""], "natrual_language": ["Restore", "$", "gp", "from", "its", "save", "slot", ",", "using", "TEMP", "as", "a", "temporary", "base", "register", "if", "need", "be", ".", "This", "function", "is", "for", "o32", "and", "o64", "abicalls", "only", ".", "See", "mips_must_initialize_gp_p", "for", "details", "about", "how", "we", "manage", "the", "global", "pointer", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_restore_gp_from_cprestore_slot", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3185, "Length": 85, "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": "AArch64AsmParser45", "Func": "validateTargetOperandClass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3186, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "PPCRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "if", "(", "Subtarget", ".", "isDarwinABI", "(", ")", ")", "return", "Subtarget", ".", "isPPC64", "(", ")", "?", "CSR_Darwin64_SaveList", ":", "CSR_Darwin32_SaveList", ";", "return", "Subtarget", ".", "isPPC64", "(", ")", "?", "CSR_SVR464_SaveList", ":", "CSR_SVR432_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC"], "File": "PPCRegisterInfo1", "Func": "getCalleeSavedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3187, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64FrameLowering", "::", "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": ["ARM64", "ARM64"], "File": "ARM64FrameLowering", "Func": "hasReservedCallFrame", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3188, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintWeight", "AArch64TargetLowering", "::", "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", "'x'", ":", "case", "'w'", ":", "if", "(", "type", "->", "isFloatingPointTy", "(", ")", "||", "type", "->", "isVectorTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'z'", ":", "weight", "=", "CW_Constant", ";", "break", ";", "case", "'U'", ":", "if", "(", "constraint", "[", "1", "]", "==", "'p'", "&&", "(", "constraint", "[", "2", "]", "==", "'l'", "||", "constraint", "[", "2", "]", "==", "'a'", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "}", "return", "weight", ";", "}", ""], "natrual_language": ["Examine", "constraint", "string", "and", "operand", "type", "and", "determine", "a", "weight", "value", "."], "TS_V_token": ["AArch64", "AArch64", "1", "2", "2"], "File": "AArch64ISelLowering102", "Func": "getSingleConstraintMatchWeight", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3189, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FrameLowering", "::", "canUseAsPrologue", "(", "const", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "MachineBasicBlock", "*", "TmpMBB", "=", "const_cast", "<", "MachineBasicBlock", "*", ">", "(", "&", "MBB", ")", ";", "const", "AArch64Subtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ";", "const", "AArch64RegisterInfo", "*", "RegInfo", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "if", "(", "!", "RegInfo", "->", "needsStackRealignment", "(", "*", "MF", ")", ")", "return", "true", ";", "return", "findScratchNonCalleeSaveRegister", "(", "TmpMBB", ")", "!=", "AArch64", "::", "NoRegister", ";", "}", ""], "natrual_language": ["Check", "whether", "or", "not", "the", "given", "MBB", "can", "be", "used", "as", "a", "prologue", "for", "the", "target", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64::NoRegister"], "File": "AArch64FrameLowering10", "Func": "canUseAsPrologue", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3190, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "X86InstrInfo", "::", "insertOutlinedCall", "(", "Module", "&", "M", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "It", ",", "MachineFunction", "&", "MF", ",", "const", "outliner", "::", "Candidate", "&", "C", ")", "const", "{", "if", "(", "C", ".", "CallConstructionID", "==", "MachineOutlinerTailCall", ")", "{", "It", "=", "MBB", ".", "insert", "(", "It", ",", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "X86", "::", "JMP_1", ")", ")", ".", "addGlobalAddress", "(", "M", ".", "getNamedValue", "(", "MF", ".", "getName", "(", ")", ")", ")", ")", ";", "}", "else", "{", "It", "=", "MBB", ".", "insert", "(", "It", ",", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "X86", "::", "CALL64pcrel32", ")", ")", ".", "addGlobalAddress", "(", "M", ".", "getNamedValue", "(", "MF", ".", "getName", "(", ")", ")", ")", ")", ";", "}", "return", "It", ";", "}", ""], "natrual_language": ["Insert", "a", "call", "to", "an", "outlined", "function", "into", "the", "program", "."], "TS_V_token": ["X86", "X86", "X86::JMP_1", "X86::CALL64pcrel32"], "File": "X86InstrInfo86", "Func": "insertOutlinedCall", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3191, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_unspec_offset_high", "(", "rtx", "temp", ",", "rtx", "base", ",", "rtx", "addr", ",", "enum", "mips_symbol_type", "symbol_type", ")", "{", "if", "(", "mips_split_p", "[", "symbol_type", "]", ")", "{", "addr", "=", "gen_rtx_HIGH", "(", "Pmode", ",", "mips_unspec_address", "(", "addr", ",", "symbol_type", ")", ")", ";", "addr", "=", "mips_force_temporary", "(", "temp", ",", "addr", ")", ";", "base", "=", "mips_force_temporary", "(", "temp", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "addr", ",", "base", ")", ")", ";", "}", "return", "base", ";", "}", ""], "natrual_language": ["If", "mips_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", "available", "as", "a", "temporary", "register", "if", "needed", ".", "The", "returned", "expression", "can", "be", "used", "as", "the", "first", "operand", "to", "a", "LO_SUM", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_unspec_offset_high", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3192, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "ArrayRef", "<", "Register", ">>", "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", "(", ")", ")", ".", "isZero", "(", ")", ")", "continue", ";", "ArgInfo", "OrigArg", "{", "VRegs", "[", "i", "]", ",", "Arg", ".", "getType", "(", ")", "}", ";", "setArgFlags", "(", "OrigArg", ",", "i", "+", "AttributeList", "::", "FirstArgIndex", ",", "DL", ",", "F", ")", ";", "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", "4", "8", "4", "16", "AArch64"], "File": "AArch64CallLowering12", "Func": "lowerFormalArguments", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3193, "Length": 442, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "ARMTargetLowering", "::", "emitStoreConditional", "(", "IRBuilderBase", "&", "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", ")", ";", "CallInst", "*", "CI", "=", "Builder", ".", "CreateCall", "(", "Strex", ",", "{", "Builder", ".", "CreateZExtOrBitCast", "(", "Val", ",", "Strex", "->", "getFunctionType", "(", ")", "->", "getParamType", "(", "0", ")", ")", ",", "Addr", "}", ")", ";", "CI", "->", "addParamAttr", "(", "1", ",", "Attribute", "::", "get", "(", "M", "->", "getContext", "(", ")", ",", "Attribute", "::", "ElementType", ",", "Val", "->", "getType", "(", ")", ")", ")", ";", "return", "CI", ";", "}", ""], "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", "1"], "File": "ARMISelLowering12", "Func": "emitStoreConditional", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3194, "Length": 308, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_output_addr_const_extra", "(", "FILE", "*", "file", ",", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", ")", "switch", "(", "XINT", "(", "x", ",", "1", ")", ")", "{", "case", "UNSPEC_TOCREL", ":", "gcc_checking_assert", "(", "GET_CODE", "(", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", "==", "SYMBOL_REF", "&&", "REG_P", "(", "XVECEXP", "(", "x", ",", "0", ",", "1", ")", ")", "&&", "REGNO", "(", "XVECEXP", "(", "x", ",", "0", ",", "1", ")", ")", "==", "TOC_REGISTER", ")", ";", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "if", "(", "x", "==", "tocrel_base", "&&", "tocrel_offset", "!=", "const0_rtx", ")", "{", "if", "(", "INTVAL", "(", "tocrel_offset", ")", ">=", "0", ")", "fprintf", "(", "file", ",", "\"+\"", ")", ";", "output_addr_const", "(", "file", ",", "CONST_CAST_RTX", "(", "tocrel_offset", ")", ")", ";", "}", "if", "(", "!", "TARGET_AIX", "||", "(", "TARGET_ELF", "&&", "TARGET_MINIMAL_TOC", ")", ")", "{", "putc", "(", "'-'", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "toc_label_name", ")", ";", "}", "else", "if", "(", "TARGET_ELF", ")", "fputs", "(", "\"@toc\"", ",", "file", ")", ";", "return", "true", ";", "case", "UNSPEC_MACHOPIC_OFFSET", ":", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "putc", "(", "'-'", ",", "file", ")", ";", "machopic_output_function_base_name", "(", "file", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA", "."], "TS_V_token": ["rs6000", "1", "0", "0", "0", "1", "0", "1", "0", "0", "0", "\"+\"", "\"@toc\"", "0", "0"], "File": "rs60004", "Func": "rs6000_output_addr_const_extra", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3195, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc_emit_floatunsdi", "(", "rtx", "*", "operands", ",", "machine_mode", "mode", ")", "{", "rtx", "i0", ",", "i1", ",", "f0", ",", "in", ",", "out", ";", "out", "=", "operands", "[", "0", "]", ";", "in", "=", "force_reg", "(", "DImode", ",", "operands", "[", "1", "]", ")", ";", "rtx_code_label", "*", "neglab", "=", "gen_label_rtx", "(", ")", ";", "rtx_code_label", "*", "donelab", "=", "gen_label_rtx", "(", ")", ";", "i0", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "i1", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "f0", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_cmp_and_jump_insns", "(", "in", ",", "const0_rtx", ",", "LT", ",", "const0_rtx", ",", "DImode", ",", "0", ",", "neglab", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "out", ",", "gen_rtx_FLOAT", "(", "mode", ",", "in", ")", ")", ")", ";", "emit_jump_insn", "(", "gen_jump", "(", "donelab", ")", ")", ";", "emit_barrier", "(", ")", ";", "emit_label", "(", "neglab", ")", ";", "emit_insn", "(", "gen_lshrdi3", "(", "i0", ",", "in", ",", "const1_rtx", ")", ")", ";", "emit_insn", "(", "gen_anddi3", "(", "i1", ",", "in", ",", "const1_rtx", ")", ")", ";", "emit_insn", "(", "gen_iordi3", "(", "i0", ",", "i0", ",", "i1", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "f0", ",", "gen_rtx_FLOAT", "(", "mode", ",", "i0", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "out", ",", "gen_rtx_PLUS", "(", "mode", ",", "f0", ",", "f0", ")", ")", ")", ";", "emit_label", "(", "donelab", ")", ";", "}", ""], "natrual_language": ["Generate", "an", "unsigned", "DImode", "to", "FP", "conversion", ".", "This", "is", "the", "same", "code", "optabs", "would", "emit", "if", "we", "did", "n't", "have", "TFmode", "patterns", "."], "TS_V_token": ["sparc", "0", "1", "0"], "File": "sparc", "Func": "sparc_emit_floatunsdi", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3196, "Length": 201, "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": 3197, "Length": 183, "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_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": "rs60007", "Func": "register_to_reg_type", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3198, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "AArch64Subtarget", "::", "ClassifyGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "const", "TargetMachine", "&", "TM", ")", "const", "{", "bool", "isDef", "=", "GV", "->", "isStrongDefinitionForLinker", "(", ")", ";", "if", "(", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", "&&", "isTargetMachO", "(", ")", ")", "return", "AArch64II", "::", "MO_GOT", ";", "if", "(", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Small", "&&", "GV", "->", "hasExternalWeakLinkage", "(", ")", ")", "{", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", "return", "AArch64II", "::", "MO_CONSTPOOL", ";", "else", "return", "AArch64II", "::", "MO_GOT", ";", "}", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Static", "&&", "GV", "->", "hasDefaultVisibility", "(", ")", ")", "{", "if", "(", "isTargetMachO", "(", ")", ")", "return", "isDef", "?", "AArch64II", "::", "MO_NO_FLAG", ":", "AArch64II", "::", "MO_GOT", ";", "else", "return", "GV", "->", "hasLocalLinkage", "(", ")", "?", "AArch64II", "::", "MO_NO_FLAG", ":", "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_CONSTPOOL", "AArch64II::MO_GOT", "AArch64II::MO_NO_FLAG", "AArch64II::MO_GOT", "AArch64II::MO_NO_FLAG", "AArch64II::MO_GOT", "AArch64II::MO_NO_FLAG"], "File": "AArch64Subtarget11", "Func": "ClassifyGlobalReference", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3199, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmBackend", "::", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "static", "const", "uint8_t", "Nops", "[", "10", "]", "[", "10", "]", "=", "{", "{", "0x90", "}", ",", "{", "0x66", ",", "0x90", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x40", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x44", ",", "0x00", ",", "0x00", "}", ",", "{", "0x66", ",", "0x0f", ",", "0x1f", ",", "0x44", ",", "0x00", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x80", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x84", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "{", "0x66", ",", "0x0f", ",", "0x1f", ",", "0x84", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "{", "0x66", ",", "0x2e", ",", "0x0f", ",", "0x1f", ",", "0x84", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "}", ";", "if", "(", "!", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "FeatureNOPL", "]", ")", "{", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "<", "Count", ";", "++", "i", ")", "OW", "->", "write8", "(", "0x90", ")", ";", "return", "true", ";", "}", "uint64_t", "MaxNopLength", "=", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "ProcIntelSLM", "]", "?", "7", ":", "15", ";", "do", "{", "const", "uint8_t", "ThisNopLength", "=", "(", "uint8_t", ")", "std", "::", "min", "(", "Count", ",", "MaxNopLength", ")", ";", "const", "uint8_t", "Prefixes", "=", "ThisNopLength", "<=", "10", "?", "0", ":", "ThisNopLength", "-", "10", ";", "for", "(", "uint8_t", "i", "=", "0", ";", "i", "<", "Prefixes", ";", "i", "++", ")", "OW", "->", "write8", "(", "0x66", ")", ";", "const", "uint8_t", "Rest", "=", "ThisNopLength", "-", "Prefixes", ";", "for", "(", "uint8_t", "i", "=", "0", ";", "i", "<", "Rest", ";", "i", "++", ")", "OW", "->", "write8", "(", "Nops", "[", "Rest", "-", "1", "]", "[", "i", "]", ")", ";", "Count", "-=", "ThisNopLength", ";", "}", "while", "(", "Count", "!=", "0", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["X86", "X86", "10", "10", "0x90", "0x66", "0x90", "0x0f", "0x1f", "0x00", "0x0f", "0x1f", "0x40", "0x00", "0x0f", "0x1f", "0x44", "0x00", "0x00", "0x66", "0x0f", "0x1f", "0x44", "0x00", "0x00", "0x0f", "0x1f", "0x80", "0x00", "0x00", "0x00", "0x00", "0x0f", "0x1f", "0x84", "0x00", "0x00", "0x00", "0x00", "0x00", "0x66", "0x0f", "0x1f", "0x84", "0x00", "0x00", "0x00", "0x00", "0x00", "0x66", "0x2e", "0x0f", "0x1f", "0x84", "0x00", "0x00", "0x00", "0x00", "0x00", "X86::FeatureNOPL", "0", "0x90", "X86::ProcIntelSLM", "7", "15", "10", "0", "10", "0", "0x66", "0", "1", "0"], "File": "X86AsmBackend19", "Func": "writeNopData", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3200, "Length": 322, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "ARM64_MachoTargetObjectFile", "::", "getTTypeGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "unsigned", "Encoding", ",", "Mangler", "&", "Mang", ",", "const", "TargetMachine", "&", "TM", ",", "MachineModuleInfo", "*", "MMI", ",", "MCStreamer", "&", "Streamer", ")", "const", "{", "if", "(", "Encoding", "&", "(", "DW_EH_PE_indirect", "|", "DW_EH_PE_pcrel", ")", ")", "{", "const", "MCSymbol", "*", "Sym", "=", "TM", ".", "getSymbol", "(", "GV", ",", "Mang", ")", ";", "const", "MCExpr", "*", "Res", "=", "MCSymbolRefExpr", "::", "Create", "(", "Sym", ",", "MCSymbolRefExpr", "::", "VK_GOT", ",", "getContext", "(", ")", ")", ";", "MCSymbol", "*", "PCSym", "=", "getContext", "(", ")", ".", "CreateTempSymbol", "(", ")", ";", "Streamer", ".", "EmitLabel", "(", "PCSym", ")", ";", "const", "MCExpr", "*", "PC", "=", "MCSymbolRefExpr", "::", "Create", "(", "PCSym", ",", "getContext", "(", ")", ")", ";", "return", "MCBinaryExpr", "::", "CreateSub", "(", "Res", ",", "PC", ",", "getContext", "(", ")", ")", ";", "}", "return", "TargetLoweringObjectFileMachO", "::", "getTTypeGlobalReference", "(", "GV", ",", "Encoding", ",", "Mang", ",", "TM", ",", "MMI", ",", "Streamer", ")", ";", "}", ""], "natrual_language": ["The", "mach-o", "version", "of", "this", "method", "defaults", "to", "returning", "a", "stub", "reference", "."], "TS_V_token": ["ARM64", "ARM64"], "File": "ARM64TargetObjectFile", "Func": "getTTypeGlobalReference", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3201, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "ARMTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'l'", ":", "if", "(", "Subtarget", "->", "isThumb", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "ARM", "::", "tGPRRegisterClass", ")", ";", "else", "return", "std", "::", "make_pair", "(", "0U", ",", "ARM", "::", "GPRRegisterClass", ")", ";", "case", "'r'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "ARM", "::", "GPRRegisterClass", ")", ";", "case", "'w'", ":", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "ARM", "::", "SPRRegisterClass", ")", ";", "if", "(", "VT", "==", "MVT", "::", "f64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "ARM", "::", "DPRRegisterClass", ")", ";", "break", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["ARM", "ARM", "1", "0", "0U", "ARM::tGPRRegisterClass", "0U", "ARM::GPRRegisterClass", "0U", "ARM::GPRRegisterClass", "MVT::f32", "0U", "ARM::SPRRegisterClass", "MVT::f64", "0U", "ARM::DPRRegisterClass"], "File": "ARMISelLowering57", "Func": "getRegForInlineAsmConstraint", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3202, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "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", "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", "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": "pa3", "Func": "output_global_address", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3203, "Length": 396, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "VERegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "Register", "ReservedRegs", "[", "]", "=", "{", "VE", "::", "SX8", ",", "VE", "::", "SX9", ",", "VE", "::", "SX10", ",", "VE", "::", "SX11", ",", "VE", "::", "SX12", ",", "VE", "::", "SX13", ",", "VE", "::", "SX14", ",", "VE", "::", "SX15", ",", "VE", "::", "SX16", ",", "VE", "::", "SX17", ",", "}", ";", "for", "(", "auto", "R", ":", "ReservedRegs", ")", "for", "(", "MCRegAliasIterator", "ItAlias", "(", "R", ",", "this", ",", "true", ")", ";", "ItAlias", ".", "isValid", "(", ")", ";", "++", "ItAlias", ")", "Reserved", ".", "set", "(", "*", "ItAlias", ")", ";", "Reserved", ".", "set", "(", "VE", "::", "VM0", ")", ";", "Reserved", ".", "set", "(", "VE", "::", "VMP0", ")", ";", "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": ["VE", "VE", "VE::SX8", "VE::SX9", "VE::SX10", "VE::SX11", "VE::SX12", "VE::SX13", "VE::SX14", "VE::SX15", "VE::SX16", "VE::SX17", "VE::VM0", "VE::VMP0"], "File": "VERegisterInfo3", "Func": "getReservedRegs", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3204, "Length": 127, "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", ")", ")", ";", "auto", "*", "RBI", "=", "new", "X86RegisterBankInfo", "(", "*", "I", "->", "getRegisterInfo", "(", ")", ")", ";", "GISel", "->", "RegBankInfo", ".", "reset", "(", "RBI", ")", ";", "GISel", "->", "InstSelector", ".", "reset", "(", "new", "X86InstructionSelector", "(", "*", "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": "X86TargetMachine64", "Func": "getSubtargetImpl", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3205, "Length": 309, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "optimizeCompareInstr", "(", "MachineInstr", "*", "CmpInstr", ",", "unsigned", "SrcReg", ",", "unsigned", "SrcReg2", ",", "int", "CmpMask", ",", "int", "CmpValue", ",", "const", "MachineRegisterInfo", "*", "MRI", ")", "const", "{", "assert", "(", "CmpInstr", ")", ";", "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", "=", "convertFlagSettingOpcode", "(", "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", ";", "}", "assert", "(", "(", "CmpValue", "==", "0", "||", "CmpValue", "==", "1", ")", "&&", "\"CmpValue must be 0 or 1!\"", ")", ";", "if", "(", "CmpValue", "!=", "0", "||", "SrcReg2", "!=", "0", ")", "return", "false", ";", "if", "(", "!", "MRI", "->", "use_nodbg_empty", "(", "CmpInstr", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", "return", "false", ";", "return", "substituteCmpToZero", "(", "CmpInstr", ",", "SrcReg", ",", "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!\"", "0", "1", "\"CmpValue must be 0 or 1!\"", "0", "0", "0"], "File": "AArch64InstrInfo110", "Func": "optimizeCompareInstr", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3206, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "AsmVariant", ")", "{", "printIntelMemReference", "(", "*", "this", ",", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "}", "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'", ":", "printMemReference", "(", "*", "this", ",", "MI", ",", "OpNo", ",", "O", ",", "\"H\"", ")", ";", "return", "false", ";", "case", "'P'", ":", "printMemReference", "(", "*", "this", ",", "MI", ",", "OpNo", ",", "O", ",", "\"no-rip\"", ")", ";", "return", "false", ";", "}", "}", "printMemReference", "(", "*", "this", ",", "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": ["X86", "X86", "0", "1", "0", "0", "\"H\"", "\"no-rip\""], "File": "X86AsmPrinter", "Func": "PrintAsmMemoryOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3207, "Length": 157, "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", "=", "(", "enum", "attr_fp_mode", ")", "mode", ";", "enum", "attr_fp_mode", "norm_mode", "=", "ACTUAL_NORMAL_MODE", "(", "FP_MODE", ")", ";", "rtx", "addr_reg", "=", "!", "can_create_pseudo_p", "(", ")", "?", "get_free_reg", "(", "regs_live", ")", ":", "NULL_RTX", ";", "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": "sh", "Func": "fpscr_set_from_mem", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3208, "Length": 54, "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", "=", "MF", ".", "getSubtarget", "(", ")", ".", "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": "MipsRegisterInfo (2)1", "Func": "getRegPressureLimit", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3209, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64FrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "assert", "(", "getStackGrowthDirection", "(", ")", "==", "TargetFrameLowering", "::", "StackGrowsDown", "&&", "\"Upwards growing stack unsupported\"", ")", ";", "int", "MinCSFrameIndex", ",", "MaxCSFrameIndex", ";", "int64_t", "SVEStackSize", "=", "assignSVEStackObjectOffsets", "(", "MFI", ",", "MinCSFrameIndex", ",", "MaxCSFrameIndex", ")", ";", "AArch64FunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "AFI", "->", "setStackSizeSVE", "(", "alignTo", "(", "SVEStackSize", ",", "16U", ")", ")", ";", "AFI", "->", "setMinMaxSVECSFrameIndex", "(", "MinCSFrameIndex", ",", "MaxCSFrameIndex", ")", ";", "if", "(", "!", "MF", ".", "hasEHFunclets", "(", ")", ")", "return", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "WinEHFuncInfo", "&", "EHInfo", "=", "*", "MF", ".", "getWinEHFuncInfo", "(", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "auto", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "while", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", "&&", "MBBI", "->", "getFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ")", "++", "MBBI", ";", "int64_t", "FixedObject", "=", "getFixedObjectSize", "(", "MF", ",", "AFI", ",", "true", ",", "false", ")", ";", "int", "UnwindHelpFI", "=", "MFI", ".", "CreateFixedObject", "(", "8", ",", "-", "FixedObject", ",", "false", ")", ";", "EHInfo", ".", "UnwindHelpFrameIdx", "=", "UnwindHelpFI", ";", "DebugLoc", "DL", ";", "RS", "->", "enterBasicBlockEnd", "(", "MBB", ")", ";", "RS", "->", "backward", "(", "std", "::", "prev", "(", "MBBI", ")", ")", ";", "unsigned", "DstReg", "=", "RS", "->", "FindUnusedReg", "(", "&", "AArch64", "::", "GPR64commonRegClass", ")", ";", "assert", "(", "DstReg", "&&", "\"There must be a free register after frame setup\"", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "AArch64", "::", "MOVi64imm", ")", ",", "DstReg", ")", ".", "addImm", "(", "-", "2", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "AArch64", "::", "STURXi", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "true", ")", ")", ".", "addFrameIndex", "(", "UnwindHelpFI", ")", ".", "addImm", "(", "0", ")", ";", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["AArch64", "AArch64", "\"Upwards growing stack unsupported\"", "AArch64", "AArch64", "16U", "8", "AArch64::GPR64commonRegClass", "\"There must be a free register after frame setup\"", "AArch64::MOVi64imm", "2", "AArch64::STURXi", "0"], "File": "AArch64FrameLowering (2)1", "Func": "processFunctionBeforeFrameFinalized", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3210, "Length": 310, "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", "->", "getFnAttributes", "(", ")", ".", "hasAttribute", "(", "Attributes", "::", "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": "ARMISelLowering107", "Func": "getOptimalMemOpType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3211, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "unsigned", "VReg", ")", "const", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "auto", "MIB", "=", "MIRBuilder", ".", "buildInstrNoInsert", "(", "AArch64", "::", "RET_ReallyLR", ")", ";", "assert", "(", "(", "(", "Val", "&&", "VReg", ")", "||", "(", "!", "Val", "&&", "!", "VReg", ")", ")", "&&", "\"Return value without a vreg\"", ")", ";", "bool", "Success", "=", "true", ";", "if", "(", "VReg", ")", "{", "const", "AArch64TargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "AArch64TargetLowering", ">", "(", ")", ";", "CCAssignFn", "*", "AssignFn", "=", "TLI", ".", "CCAssignFnForReturn", "(", "F", ".", "getCallingConv", "(", ")", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "auto", "&", "DL", "=", "F", ".", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "ArgInfo", "OrigArg", "{", "VReg", ",", "Val", "->", "getType", "(", ")", "}", ";", "setArgFlags", "(", "OrigArg", ",", "AttributeList", "::", "ReturnIndex", ",", "DL", ",", "F", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "SplitArgs", ";", "splitToValueTypes", "(", "OrigArg", ",", "SplitArgs", ",", "DL", ",", "MRI", ",", "F", ".", "getCallingConv", "(", ")", ",", "[", "&", "]", "(", "unsigned", "Reg", ",", "uint64_t", "Offset", ")", "{", "MIRBuilder", ".", "buildExtract", "(", "Reg", ",", "VReg", ",", "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", "8"], "File": "AArch64CallLowering (2)", "Func": "lowerReturn", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3212, "Length": 246, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZFrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "std", "::", "vector", "<", "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": "SystemZFrameLowering27", "Func": "restoreCalleeSavedRegisters", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3213, "Length": 398, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCLOHType", "getKind", "(", ")", "const", "{", "return", "Kind", ";", "}", ""], "natrual_language": ["Returns", "the", "Kind", "of", "lane", "offset", "."], "TS_V_token": ["ARM64"], "File": "ARM64MachineFunctionInfo", "Func": "getKind", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3214, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", ")", "{", "unsigned", "long", "func_type", ";", "if", "(", "cfun", "->", "machine", "->", "sibcall_blocked", ")", "return", "false", ";", "if", "(", "TARGET_FDPIC", ")", "{", "if", "(", "decl", "==", "NULL", ")", "return", "false", ";", "}", "if", "(", "TARGET_THUMB1", ")", "return", "false", ";", "if", "(", "TARGET_VXWORKS_RTP", "&&", "flag_pic", "&&", "decl", "&&", "!", "targetm", ".", "binds_local_p", "(", "decl", ")", ")", "return", "false", ";", "if", "(", "TARGET_APCS_FRAME", "&&", "TARGET_ARM", "&&", "TARGET_HARD_FLOAT", "&&", "decl", "&&", "arm_is_long_call_p", "(", "decl", ")", ")", "return", "false", ";", "if", "(", "TARGET_INTERWORK", "&&", "decl", "&&", "TREE_PUBLIC", "(", "decl", ")", "&&", "!", "TREE_ASM_WRITTEN", "(", "decl", ")", ")", "return", "false", ";", "func_type", "=", "arm_current_func_type", "(", ")", ";", "if", "(", "IS_INTERRUPT", "(", "func_type", ")", ")", "return", "false", ";", "if", "(", "IS_CMSE_ENTRY", "(", "arm_current_func_type", "(", ")", ")", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "exp", ")", "==", "CALL_EXPR", ")", "{", "tree", "fntype", "=", "TREE_TYPE", "(", "TREE_TYPE", "(", "CALL_EXPR_FN", "(", "exp", ")", ")", ")", ";", "if", "(", "lookup_attribute", "(", "\"cmse_nonsecure_call\"", ",", "TYPE_ATTRIBUTES", "(", "fntype", ")", ")", ")", "return", "false", ";", "}", "if", "(", "!", "VOID_TYPE_P", "(", "TREE_TYPE", "(", "DECL_RESULT", "(", "cfun", "->", "decl", ")", ")", ")", ")", "{", "rtx", "a", ",", "b", ";", "tree", "decl_or_type", "=", "decl", ";", "if", "(", "!", "decl", ")", "decl_or_type", "=", "TREE_TYPE", "(", "TREE_TYPE", "(", "CALL_EXPR_FN", "(", "exp", ")", ")", ")", ";", "a", "=", "arm_function_value", "(", "TREE_TYPE", "(", "exp", ")", ",", "decl_or_type", ",", "false", ")", ";", "b", "=", "arm_function_value", "(", "TREE_TYPE", "(", "DECL_RESULT", "(", "cfun", "->", "decl", ")", ")", ",", "cfun", "->", "decl", ",", "false", ")", ";", "if", "(", "!", "rtx_equal_p", "(", "a", ",", "b", ")", ")", "return", "false", ";", "}", "if", "(", "IS_STACKALIGN", "(", "func_type", ")", ")", "return", "false", ";", "if", "(", "TARGET_AAPCS_BASED", "&&", "arm_abi", "==", "ARM_ABI_AAPCS", "&&", "decl", "&&", "DECL_WEAK", "(", "decl", ")", ")", "return", "false", ";", "if", "(", "!", "decl", "&&", "CALL_EXPR_BY_DESCRIPTOR", "(", "exp", ")", "&&", "!", "flag_trampolines", ")", "{", "tree", "fntype", "=", "TREE_TYPE", "(", "TREE_TYPE", "(", "CALL_EXPR_FN", "(", "exp", ")", ")", ")", ";", "CUMULATIVE_ARGS", "cum", ";", "cumulative_args_t", "cum_v", ";", "arm_init_cumulative_args", "(", "&", "cum", ",", "fntype", ",", "NULL_RTX", ",", "NULL_TREE", ")", ";", "cum_v", "=", "pack_cumulative_args", "(", "&", "cum", ")", ";", "for", "(", "tree", "t", "=", "TYPE_ARG_TYPES", "(", "fntype", ")", ";", "t", ";", "t", "=", "TREE_CHAIN", "(", "t", ")", ")", "{", "tree", "type", "=", "TREE_VALUE", "(", "t", ")", ";", "if", "(", "!", "VOID_TYPE_P", "(", "type", ")", ")", "{", "function_arg_info", "arg", "(", "type", ",", "true", ")", ";", "arm_function_arg_advance", "(", "cum_v", ",", "arg", ")", ";", "}", "}", "function_arg_info", "arg", "(", "integer_type_node", ",", "true", ")", ";", "if", "(", "!", "arm_function_arg", "(", "cum_v", ",", "arg", ")", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "non-zero", "if", "it", "is", "ok", "to", "make", "a", "tail-call", "to", "DECL", "."], "TS_V_token": ["arm", "\"cmse_nonsecure_call\""], "File": "arm", "Func": "arm_function_ok_for_sibcall", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3215, "Length": 429, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCFastISel", "::", "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", "PPCMaterializeFP", "(", "CFP", ",", "VT", ")", ";", "else", "if", "(", "const", "GlobalValue", "*", "GV", "=", "dyn_cast", "<", "GlobalValue", ">", "(", "C", ")", ")", "return", "PPCMaterializeGV", "(", "GV", ",", "VT", ")", ";", "else", "if", "(", "isa", "<", "ConstantInt", ">", "(", "C", ")", ")", "return", "PPCMaterializeInt", "(", "C", ",", "VT", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Emit", "a", "constant", "in", "a", "register", "using", "target-specific", "logic", ",", "such", "as", "constant", "pool", "loads", "."], "TS_V_token": ["PowerPC", "PPC", "0", "PPC", "PPC", "PPC", "0"], "File": "PPCFastISel55", "Func": "fastMaterializeConstant", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3216, "Length": 118, "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", ")", ")", "{", "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": "Thumb2InstrInfo (2)", "Func": "storeRegToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3217, "Length": 331, "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", ",", "0", ")", "||", "isVMOVNMask", "(", "M", ",", "VT", ",", "1", ")", ")", ")", "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", "0", "1"], "File": "ARMISelLowering (2)6", "Func": "isShuffleMaskLegal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3218, "Length": 353, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_emit_prologue_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", "&&", "TARGET_DOUBLE_FLOAT", ")", "?", "DFmode", ":", "SFmode", ";", "int", "fp_reg_size", "=", "8", ";", "if", "(", "bitmap_bit_p", "(", "components", ",", "0", ")", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "reg_mode", ",", "0", ")", ";", "rtx_insn", "*", "insn", "=", "emit_move_insn", "(", "reg", ",", "gen_rtx_REG", "(", "reg_mode", ",", "LR_REGNO", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_REGISTER", ",", "NULL", ")", ";", "int", "offset", "=", "info", "->", "lr_save_offset", ";", "if", "(", "info", "->", "push_p", ")", "offset", "+=", "info", "->", "total_size", ";", "insn", "=", "emit_insn", "(", "gen_frame_store", "(", "reg", ",", "ptr_reg", ",", "offset", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "rtx", "lr", "=", "gen_rtx_REG", "(", "reg_mode", ",", "LR_REGNO", ")", ";", "rtx", "mem", "=", "copy_rtx", "(", "SET_DEST", "(", "single_set", "(", "insn", ")", ")", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_OFFSET", ",", "gen_rtx_SET", "(", "mem", ",", "lr", ")", ")", ";", "}", "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", "(", "reg_mode", ",", "i", ")", ";", "rtx_insn", "*", "insn", "=", "emit_insn", "(", "gen_frame_store", "(", "reg", ",", "ptr_reg", ",", "offset", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "rtx", "set", "=", "copy_rtx", "(", "single_set", "(", "insn", ")", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_OFFSET", ",", "set", ")", ";", "}", "offset", "+=", "reg_size", ";", "}", "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_store", "(", "reg", ",", "ptr_reg", ",", "offset", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "rtx", "set", "=", "copy_rtx", "(", "single_set", "(", "insn", ")", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_OFFSET", ",", "set", ")", ";", "}", "offset", "+=", "fp_reg_size", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_SHRINK_WRAP_EMIT_PROLOGUE_COMPONENTS", "."], "TS_V_token": ["powerpcspe", "4", "8", "8", "0", "0", "1", "1", "32", "1", "64", "1"], "File": "powerpcspe", "Func": "rs6000_emit_prologue_components", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3219, "Length": 403, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "consume_whitespace", "(", "void", ")", "{", "while", "(", "pos", "<", "LINELEN", "&&", "isspace", "(", "linebuf", "[", "pos", "]", ")", "&&", "linebuf", "[", "pos", "]", "!=", "'\\n'", ")", "pos", "++", ";", "if", "(", "pos", ">=", "LINELEN", ")", "{", "diag", "(", "pos", ",", "\"line length overrun.\\n\"", ")", ";", "exit", "(", "1", ")", ";", "}", "return", ";", "}", ""], "natrual_language": ["Pass", "over", "whitespace", "(", "other", "than", "a", "newline", ",", "which", "terminates", "the", "scan", ")", "."], "TS_V_token": ["rs6000", "\"line length overrun.\\n\"", "1"], "File": "rs6000-gen-builtins", "Func": "consume_whitespace", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3220, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_d_target_versions", "(", "void", ")", "{", "if", "(", "TARGET_64BIT", ")", "d_add_builtin_version", "(", "\"MIPS64\"", ")", ";", "else", "d_add_builtin_version", "(", "\"MIPS32\"", ")", ";", "if", "(", "mips_abi", "==", "ABI_32", ")", "d_add_builtin_version", "(", "\"MIPS_O32\"", ")", ";", "else", "if", "(", "mips_abi", "==", "ABI_EABI", ")", "d_add_builtin_version", "(", "\"MIPS_EABI\"", ")", ";", "else", "if", "(", "mips_abi", "==", "ABI_N32", ")", "d_add_builtin_version", "(", "\"MIPS_N32\"", ")", ";", "else", "if", "(", "mips_abi", "==", "ABI_64", ")", "d_add_builtin_version", "(", "\"MIPS_N64\"", ")", ";", "else", "if", "(", "mips_abi", "==", "ABI_O64", ")", "d_add_builtin_version", "(", "\"MIPS_O64\"", ")", ";", "if", "(", "TARGET_HARD_FLOAT_ABI", ")", "{", "d_add_builtin_version", "(", "\"MIPS_HardFloat\"", ")", ";", "d_add_builtin_version", "(", "\"D_HardFloat\"", ")", ";", "}", "else", "if", "(", "TARGET_SOFT_FLOAT_ABI", ")", "{", "d_add_builtin_version", "(", "\"MIPS_SoftFloat\"", ")", ";", "d_add_builtin_version", "(", "\"D_SoftFloat\"", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_D_CPU_VERSIONS", "for", "MIPS", "targets", "."], "TS_V_token": ["mips", "\"MIPS64\"", "\"MIPS32\"", "\"MIPS_O32\"", "\"MIPS_EABI\"", "\"MIPS_N32\"", "\"MIPS_N64\"", "\"MIPS_O64\"", "\"MIPS_HardFloat\"", "\"D_HardFloat\"", "\"MIPS_SoftFloat\"", "\"D_SoftFloat\""], "File": "mips-d", "Func": "mips_d_target_versions", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3221, "Length": 114, "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": 3222, "Length": 179, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "return", "true", ";", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "assert", "(", "MO", ".", "isReg", "(", ")", "&&", "\"unexpected inline asm memory operand\"", ")", ";", "O", "<<", "\"[\"", "<<", "ARMInstPrinter", "::", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", "<<", "\"]\"", ";", "return", "false", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "."], "TS_V_token": ["ARM", "ARM", "0", "\"unexpected inline asm memory operand\"", "\"[\"", "ARM", "\"]\""], "File": "ARMAsmPrinter32", "Func": "PrintAsmMemoryOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3223, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_pragma_aarch64", "(", "cpp_reader", "*", ")", "{", "tree", "x", ";", "if", "(", "pragma_lex", "(", "&", "x", ")", "!=", "CPP_STRING", ")", "{", "error", "(", "\"%<#pragma GCC aarch64%> requires a string parameter\"", ")", ";", "return", ";", "}", "const", "char", "*", "name", "=", "TREE_STRING_POINTER", "(", "x", ")", ";", "if", "(", "strcmp", "(", "name", ",", "\"arm_sve.h\"", ")", "==", "0", ")", "aarch64_sve", "::", "handle_arm_sve_h", "(", ")", ";", "else", "if", "(", "strcmp", "(", "name", ",", "\"arm_neon.h\"", ")", "==", "0", ")", "handle_arm_neon_h", "(", ")", ";", "else", "if", "(", "strcmp", "(", "name", ",", "\"arm_acle.h\"", ")", "==", "0", ")", "handle_arm_acle_h", "(", ")", ";", "else", "error", "(", "\"unknown %<#pragma GCC aarch64%> option %qs\"", ",", "name", ")", ";", "}", ""], "natrual_language": ["Implement", "``", "#", "pragma", "GCC", "aarch64", "''", "."], "TS_V_token": ["aarch64", "\"%<#pragma GCC aarch64%> requires a string parameter\"", "\"arm_sve.h\"", "0", "aarch64_sve::handle_arm_sve_h", "\"arm_neon.h\"", "0", "\"arm_acle.h\"", "0", "\"unknown %<#pragma GCC aarch64%> option %qs\""], "File": "aarch64-c", "Func": "aarch64_pragma_aarch64", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3224, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "resolve_vec_splats", "(", "resolution", "*", "res", ",", "rs6000_gen_builtins", "fcode", ",", "vec", "<", "tree", ",", "va_gc", ">", "*", "arglist", ",", "unsigned", "nargs", ")", "{", "const", "char", "*", "name", ";", "name", "=", "fcode", "==", "RS6000_OVLD_VEC_SPLATS", "?", "\"vec_splats\"", ":", "\"vec_promote\"", ";", "if", "(", "fcode", "==", "RS6000_OVLD_VEC_SPLATS", "&&", "nargs", "!=", "1", ")", "{", "error", "(", "\"builtin %qs only accepts 1 argument\"", ",", "name", ")", ";", "*", "res", "=", "resolved", ";", "return", "error_mark_node", ";", "}", "if", "(", "fcode", "==", "RS6000_OVLD_VEC_PROMOTE", "&&", "nargs", "!=", "2", ")", "{", "error", "(", "\"builtin %qs only accepts 2 arguments\"", ",", "name", ")", ";", "*", "res", "=", "resolved", ";", "return", "error_mark_node", ";", "}", "if", "(", "fcode", "==", "RS6000_OVLD_VEC_PROMOTE", "&&", "!", "INTEGRAL_TYPE_P", "(", "TREE_TYPE", "(", "(", "*", "arglist", ")", "[", "1", "]", ")", ")", ")", "{", "*", "res", "=", "resolved_bad", ";", "return", "error_mark_node", ";", "}", "tree", "arg", "=", "(", "*", "arglist", ")", "[", "0", "]", ";", "tree", "type", "=", "TREE_TYPE", "(", "arg", ")", ";", "if", "(", "!", "SCALAR_FLOAT_TYPE_P", "(", "type", ")", "&&", "!", "INTEGRAL_TYPE_P", "(", "type", ")", ")", "{", "*", "res", "=", "resolved_bad", ";", "return", "error_mark_node", ";", "}", "bool", "unsigned_p", "=", "TYPE_UNSIGNED", "(", "type", ")", ";", "int", "size", ";", "switch", "(", "TYPE_MODE", "(", "type", ")", ")", "{", "case", "E_TImode", ":", "type", "=", "unsigned_p", "?", "unsigned_V1TI_type_node", ":", "V1TI_type_node", ";", "size", "=", "1", ";", "break", ";", "case", "E_DImode", ":", "type", "=", "unsigned_p", "?", "unsigned_V2DI_type_node", ":", "V2DI_type_node", ";", "size", "=", "2", ";", "break", ";", "case", "E_SImode", ":", "type", "=", "unsigned_p", "?", "unsigned_V4SI_type_node", ":", "V4SI_type_node", ";", "size", "=", "4", ";", "break", ";", "case", "E_HImode", ":", "type", "=", "unsigned_p", "?", "unsigned_V8HI_type_node", ":", "V8HI_type_node", ";", "size", "=", "8", ";", "break", ";", "case", "E_QImode", ":", "type", "=", "unsigned_p", "?", "unsigned_V16QI_type_node", ":", "V16QI_type_node", ";", "size", "=", "16", ";", "break", ";", "case", "E_SFmode", ":", "type", "=", "V4SF_type_node", ";", "size", "=", "4", ";", "break", ";", "case", "E_DFmode", ":", "type", "=", "V2DF_type_node", ";", "size", "=", "2", ";", "break", ";", "default", ":", "*", "res", "=", "resolved_bad", ";", "return", "error_mark_node", ";", "}", "arg", "=", "save_expr", "(", "fold_convert", "(", "TREE_TYPE", "(", "type", ")", ",", "arg", ")", ")", ";", "vec", "<", "constructor_elt", ",", "va_gc", ">", "*", "vec", ";", "vec_alloc", "(", "vec", ",", "size", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "size", ";", "i", "++", ")", "{", "constructor_elt", "elt", "=", "{", "NULL_TREE", ",", "arg", "}", ";", "vec", "->", "quick_push", "(", "elt", ")", ";", "}", "*", "res", "=", "resolved", ";", "return", "build_constructor", "(", "type", ",", "vec", ")", ";", "}", ""], "natrual_language": ["Resolve", "an", "overloaded", "vec_splats", "or", "vec_promote", "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", "\"vec_splats\"", "\"vec_promote\"", "1", "\"builtin %qs only accepts 1 argument\"", "2", "\"builtin %qs only accepts 2 arguments\"", "1", "0", "1", "2", "4", "8", "16", "4", "2", "0"], "File": "rs6000-c", "Func": "resolve_vec_splats", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3225, "Length": 385, "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": 3226, "Length": 300, "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": 3227, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"ReplaceFMULS: Erratum Fix LBR32: replace FMULS instruction with a \"", "\"routine using conversions/double precision operations to replace \"", "\"FMULS\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Sparc", "\"ReplaceFMULS: Erratum Fix LBR32: replace FMULS instruction with a \"", "\"routine using conversions/double precision operations to replace \"", "\"FMULS\""], "File": "LeonPasses5", "Func": "getPassName", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3228, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAsmPrinter", "::", "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", "'c'", ":", "break", ";", "case", "'L'", ":", "if", "(", "!", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isReg", "(", ")", "||", "OpNo", "+", "1", "==", "MI", "->", "getNumOperands", "(", ")", "||", "!", "MI", "->", "getOperand", "(", "OpNo", "+", "1", ")", ".", "isReg", "(", ")", ")", "return", "true", ";", "++", "OpNo", ";", "break", ";", "case", "'I'", ":", "if", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isImm", "(", ")", ")", "O", "<<", "\"i\"", ";", "return", "false", ";", "case", "'x'", ":", "if", "(", "!", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isReg", "(", ")", ")", "return", "true", ";", "unsigned", "Reg", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", ";", "if", "(", "PPCInstrInfo", "::", "isVRRegister", "(", "Reg", ")", ")", "Reg", "=", "PPC", "::", "VSX32", "+", "(", "Reg", "-", "PPC", "::", "V0", ")", ";", "else", "if", "(", "PPCInstrInfo", "::", "isVFRegister", "(", "Reg", ")", ")", "Reg", "=", "PPC", "::", "VSX32", "+", "(", "Reg", "-", "PPC", "::", "VF0", ")", ";", "const", "char", "*", "RegName", ";", "RegName", "=", "PPCInstPrinter", "::", "getRegisterName", "(", "Reg", ")", ";", "RegName", "=", "PPCRegisterInfo", "::", "stripRegisterPrefix", "(", "RegName", ")", ";", "O", "<<", "RegName", ";", "return", "false", ";", "}", "}", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["PowerPC", "PPC", "0", "1", "0", "0", "1", "1", "\"i\"", "PPC", "PPC::VSX32", "PPC::V0", "PPC", "PPC::VSX32", "PPC::VF0", "PPC", "PPC"], "File": "PPCAsmPrinter108", "Func": "PrintAsmOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3229, "Length": 277, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_debug_rtx_costs", "(", "rtx", "x", ",", "int", "code", ",", "int", "outer_code", ",", "int", "opno", ",", "int", "*", "total", ",", "bool", "speed", ")", "{", "bool", "ret", "=", "rs6000_rtx_costs", "(", "x", ",", "code", ",", "outer_code", ",", "opno", ",", "total", ",", "speed", ")", ";", "fprintf", "(", "stderr", ",", "\"\\nrs6000_rtx_costs, return = %s, code = %s, outer_code = %s, \"", "\"opno = %d, total = %d, speed = %s, x:\\n\"", ",", "ret", "?", "\"complete\"", ":", "\"scan inner\"", ",", "GET_RTX_NAME", "(", "code", ")", ",", "GET_RTX_NAME", "(", "outer_code", ")", ",", "opno", ",", "*", "total", ",", "speed", "?", "\"true\"", ":", "\"false\"", ")", ";", "debug_rtx", "(", "x", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Debug", "form", "of", "r6000_rtx_costs", "that", "is", "selected", "if", "-mdebug=cost", "."], "TS_V_token": ["rs6000", "\"\\nrs6000_rtx_costs, return = %s, code = %s, outer_code = %s, \"", "\"opno = %d, total = %d, speed = %s, x:\\n\"", "\"complete\"", "\"scan inner\"", "\"true\"", "\"false\""], "File": "rs60004", "Func": "rs6000_debug_rtx_costs", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3230, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VETargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", "AddrSpace", ",", "Align", "A", ",", "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": ["VE", "VE"], "File": "VEISelLowering11", "Func": "allowsMisalignedMemoryAccesses", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3231, "Length": 39, "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", ")", ";", "}", "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": "AArch64LegalizerInfo11", "Func": "legalizeCustom", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3232, "Length": 144, "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": 3233, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZTargetLowering", "::", "CanLowerReturn", "(", "CallingConv", "::", "ID", "CallConv", ",", "MachineFunction", "&", "MF", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "LLVMContext", "&", "Context", ")", "const", "{", "if", "(", "Subtarget", ".", "hasVector", "(", ")", ")", "VerifyVectorTypes", "(", "Outs", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RetLocs", ";", "CCState", "RetCCInfo", "(", "CallConv", ",", "isVarArg", ",", "MF", ",", "RetLocs", ",", "Context", ")", ";", "return", "RetCCInfo", ".", "CheckReturn", "(", "Outs", ",", "RetCC_SystemZ", ")", ";", "}", ""], "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": ["SystemZ", "SystemZ", "ISD::OutputArg", "16", "SystemZ"], "File": "SystemZISelLowering (2)1", "Func": "CanLowerReturn", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3234, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_fpu_init_builtins", "(", "void", ")", "{", "tree", "ftype", "=", "build_function_type_list", "(", "void_type_node", ",", "build_pointer_type", "(", "unsigned_type_node", ")", ",", "0", ")", ";", "def_builtin", "(", "\"__builtin_load_fsr\"", ",", "CODE_FOR_ldfsr", ",", "SPARC_BUILTIN_LDFSR", ",", "ftype", ")", ";", "def_builtin", "(", "\"__builtin_store_fsr\"", ",", "CODE_FOR_stfsr", ",", "SPARC_BUILTIN_STFSR", ",", "ftype", ")", ";", "}", ""], "natrual_language": ["Create", "builtin", "functions", "for", "FPU", "instructions", "."], "TS_V_token": ["sparc", "0", "\"__builtin_load_fsr\"", "\"__builtin_store_fsr\""], "File": "sparc", "Func": "sparc_fpu_init_builtins", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3235, "Length": 45, "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": 3236, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "AArch64RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "assert", "(", "MF", "&&", "\"Invalid MachineFunction pointer.\"", ")", ";", "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", "::", "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", ";", "else", "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"], "File": "AArch64RegisterInfo15", "Func": "getCalleeSavedRegs", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3237, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCExpandISEL", "::", "initialize", "(", "MachineFunction", "&", "MFParam", ")", "{", "MF", "=", "&", "MFParam", ";", "TII", "=", "MF", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "ISELInstructions", ".", "clear", "(", ")", ";", "}", ""], "natrual_language": ["Initialize", "the", "strategy", "after", "building", "the", "DAG", "for", "a", "new", "region", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCExpandISEL", "Func": "initialize", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3238, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_expand_pextr", "(", "rtx", "*", "operands", ")", "{", "rtx", "dst", "=", "operands", "[", "0", "]", ";", "rtx", "src", "=", "operands", "[", "1", "]", ";", "unsigned", "int", "size", "=", "INTVAL", "(", "operands", "[", "2", "]", ")", ";", "unsigned", "int", "pos", "=", "INTVAL", "(", "operands", "[", "3", "]", ")", ";", "if", "(", "SUBREG_P", "(", "dst", ")", ")", "{", "if", "(", "SUBREG_BYTE", "(", "dst", ")", ">", "0", ")", "return", "false", ";", "dst", "=", "SUBREG_REG", "(", "dst", ")", ";", "}", "if", "(", "SUBREG_P", "(", "src", ")", ")", "{", "pos", "+=", "SUBREG_BYTE", "(", "src", ")", "*", "BITS_PER_UNIT", ";", "src", "=", "SUBREG_REG", "(", "src", ")", ";", "}", "switch", "(", "GET_MODE", "(", "src", ")", ")", "{", "case", "E_V16QImode", ":", "case", "E_V8HImode", ":", "case", "E_V4SImode", ":", "case", "E_V2DImode", ":", "case", "E_V1TImode", ":", "{", "machine_mode", "srcmode", ",", "dstmode", ";", "rtx", "d", ",", "pat", ";", "if", "(", "!", "int_mode_for_size", "(", "size", ",", "0", ")", ".", "exists", "(", "&", "dstmode", ")", ")", "return", "false", ";", "switch", "(", "dstmode", ")", "{", "case", "E_QImode", ":", "if", "(", "!", "TARGET_SSE4_1", ")", "return", "false", ";", "srcmode", "=", "V16QImode", ";", "break", ";", "case", "E_HImode", ":", "if", "(", "!", "TARGET_SSE2", ")", "return", "false", ";", "srcmode", "=", "V8HImode", ";", "break", ";", "case", "E_SImode", ":", "if", "(", "!", "TARGET_SSE4_1", ")", "return", "false", ";", "srcmode", "=", "V4SImode", ";", "break", ";", "case", "E_DImode", ":", "gcc_assert", "(", "TARGET_64BIT", ")", ";", "if", "(", "!", "TARGET_SSE4_1", ")", "return", "false", ";", "srcmode", "=", "V2DImode", ";", "break", ";", "default", ":", "return", "false", ";", "}", "if", "(", "pos", "&", "(", "size", "-", "1", ")", ")", "return", "false", ";", "if", "(", "GET_MODE", "(", "dst", ")", "==", "dstmode", ")", "d", "=", "dst", ";", "else", "d", "=", "gen_reg_rtx", "(", "dstmode", ")", ";", "pat", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "1", ",", "GEN_INT", "(", "pos", "/", "size", ")", ")", ")", ";", "pat", "=", "gen_rtx_VEC_SELECT", "(", "dstmode", ",", "gen_lowpart", "(", "srcmode", ",", "src", ")", ",", "pat", ")", ";", "if", "(", "dstmode", "==", "QImode", "||", "dstmode", "==", "HImode", ")", "{", "pat", "=", "gen_rtx_ZERO_EXTEND", "(", "SImode", ",", "pat", ")", ";", "d", "=", "gen_lowpart", "(", "SImode", ",", "d", ")", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "d", ",", "pat", ")", ")", ";", "if", "(", "d", "!=", "dst", ")", "emit_move_insn", "(", "dst", ",", "gen_lowpart", "(", "GET_MODE", "(", "dst", ")", ",", "d", ")", ")", ";", "return", "true", ";", "}", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Expand", "an", "extract", "from", "a", "vector", "register", "through", "pextr", "insn", ".", "Return", "true", "if", "successful", "."], "TS_V_token": ["i386", "0", "1", "2", "3", "0", "0", "1", "1"], "File": "i386-expand", "Func": "ix86_expand_pextr", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3239, "Length": 379, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_prepare_pch_save", "(", "void", ")", "{", "mips_set_compression_mode", "(", "0", ")", ";", "mips16_globals", "=", "0", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PREPARE_PCH_SAVE", "."], "TS_V_token": ["mips", "0", "0"], "File": "mips4", "Func": "mips_prepare_pch_save", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3240, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_expand_vselect", "(", "rtx", "target", ",", "rtx", "op0", ",", "const", "unsigned", "char", "*", "perm", ",", "unsigned", "nelt", ")", "{", "rtx", "rperm", "[", "MAX_VECT_LEN", "]", ",", "x", ";", "rtx_insn", "*", "insn", ";", "unsigned", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "rperm", "[", "i", "]", "=", "GEN_INT", "(", "perm", "[", "i", "]", ")", ";", "x", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec_v", "(", "nelt", ",", "rperm", ")", ")", ";", "x", "=", "gen_rtx_VEC_SELECT", "(", "GET_MODE", "(", "target", ")", ",", "op0", ",", "x", ")", ";", "x", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "target", ",", "x", ")", ";", "insn", "=", "emit_insn", "(", "x", ")", ";", "if", "(", "recog_memoized", "(", "insn", ")", "<", "0", ")", "{", "remove_insn", "(", "insn", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Construct", "(", "set", "target", "(", "vec_select", "op0", "(", "parallel", "perm", ")", ")", ")", "and", "return", "true", "if", "that", "'s", "a", "valid", "instruction", "in", "the", "active", "ISA", "."], "TS_V_token": ["mips", "0", "0"], "File": "mips4", "Func": "mips_expand_vselect", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3241, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_validate_sls_mitigation", "(", "const", "char", "*", "const_str", ")", "{", "char", "*", "token_save", "=", "NULL", ";", "char", "*", "str", "=", "NULL", ";", "if", "(", "strcmp", "(", "const_str", ",", "\"none\"", ")", "==", "0", ")", "{", "aarch64_sls_hardening", "=", "SLS_NONE", ";", "return", ";", "}", "if", "(", "strcmp", "(", "const_str", ",", "\"all\"", ")", "==", "0", ")", "{", "aarch64_sls_hardening", "=", "SLS_ALL", ";", "return", ";", "}", "char", "*", "str_root", "=", "xstrdup", "(", "const_str", ")", ";", "str", "=", "strtok_r", "(", "str_root", ",", "\",\"", ",", "&", "token_save", ")", ";", "if", "(", "!", "str", ")", "error", "(", "\"invalid argument given to %<-mharden-sls=%>\"", ")", ";", "int", "temp", "=", "SLS_NONE", ";", "while", "(", "str", ")", "{", "if", "(", "strcmp", "(", "str", ",", "\"blr\"", ")", "==", "0", ")", "temp", "|=", "SLS_BLR", ";", "else", "if", "(", "strcmp", "(", "str", ",", "\"retbr\"", ")", "==", "0", ")", "temp", "|=", "SLS_RETBR", ";", "else", "if", "(", "strcmp", "(", "str", ",", "\"none\"", ")", "==", "0", "||", "strcmp", "(", "str", ",", "\"all\"", ")", "==", "0", ")", "{", "error", "(", "\"%<%s%> must be by itself for %<-mharden-sls=%>\"", ",", "str", ")", ";", "break", ";", "}", "else", "{", "error", "(", "\"invalid argument %<%s%> for %<-mharden-sls=%>\"", ",", "str", ")", ";", "break", ";", "}", "str", "=", "strtok_r", "(", "NULL", ",", "\",\"", ",", "&", "token_save", ")", ";", "}", "aarch64_sls_hardening", "=", "(", "aarch64_sls_hardening_type", ")", "temp", ";", "free", "(", "str_root", ")", ";", "}", ""], "natrual_language": ["As", "of", "yet", "we", "only", "allow", "setting", "these", "options", "globally", ",", "in", "the", "future", "we", "may", "allow", "setting", "them", "per", "function", "."], "TS_V_token": ["aarch64", "\"none\"", "0", "\"all\"", "0", "\",\"", "\"invalid argument given to %<-mharden-sls=%>\"", "\"blr\"", "0", "\"retbr\"", "0", "\"none\"", "0", "\"all\"", "0", "\"%<%s%> must be by itself for %<-mharden-sls=%>\"", "\"invalid argument %<%s%> for %<-mharden-sls=%>\"", "\",\""], "File": "aarch641", "Func": "aarch64_validate_sls_mitigation", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3242, "Length": 202, "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", "::", "VACOPY", ":", "return", "LowerVACOPY", "(", "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", "::", "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", "::", "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::VACOPY", "PPC", "ISD::STACKRESTORE", "PPC", "ISD::DYNAMIC_STACKALLOC", "PPC", "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::MUL", "ISD::INTRINSIC_W_CHAIN", "ISD::RETURNADDR", "ISD::FRAMEADDR"], "File": "PPCISelLowering120", "Func": "LowerOperation", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3243, "Length": 496, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "return", "createX86MachObjectWriter", "(", "OS", ",", "true", ",", "MachO", "::", "CPU_TYPE_X86_64", ",", "Subtype", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86AsmBackend1", "Func": "createObjectWriter", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3244, "Length": 26, "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", ";", "Bundles", "=", "&", "getAnalysis", "<", "EdgeBundles", ">", "(", ")", ";", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "bundleCFG", "(", "MF", ")", ";", "StackTop", "=", "0", ";", "SmallPtrSet", "<", "MachineBasicBlock", "*", ",", "8", ">", "Processed", ";", "MachineBasicBlock", "*", "Entry", "=", "MF", ".", "begin", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "*", "BB", ":", "depth_first_ext", "(", "Entry", ",", "Processed", ")", ")", "Changed", "|=", "processBasicBlock", "(", "MF", ",", "*", "BB", ")", ";", "if", "(", "MF", ".", "size", "(", ")", "!=", "Processed", ".", "size", "(", ")", ")", "for", "(", "MachineFunction", "::", "iterator", "BB", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "BB", "!=", "E", ";", "++", "BB", ")", "if", "(", "Processed", ".", "insert", "(", "BB", ")", ")", "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", "8"], "File": "X86FloatingPoint54", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3245, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCFrameLowering", "::", "determineFrameLayout", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "FrameSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "unsigned", "MaxAlign", "=", "MFI", "->", "getMaxAlignment", "(", ")", ";", "unsigned", "TargetAlign", "=", "getStackAlignment", "(", ")", ";", "unsigned", "AlignMask", "=", "TargetAlign", "-", "1", ";", "bool", "DisableRedZone", "=", "MF", ".", "getFunction", "(", ")", "->", "getFnAttributes", "(", ")", ".", "hasNoRedZoneAttr", "(", ")", ";", "if", "(", "!", "DisableRedZone", "&&", "FrameSize", "<=", "224", "&&", "!", "MFI", "->", "hasVarSizedObjects", "(", ")", "&&", "!", "MFI", "->", "adjustsStack", "(", ")", "&&", "!", "(", "Subtarget", ".", "isPPC64", "(", ")", "&&", "Subtarget", ".", "isSVR4ABI", "(", ")", "&&", "spillsCR", "(", "MF", ")", ")", "&&", "(", "!", "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", "PPC", "0", "PPC"], "File": "PPCFrameLowering72", "Func": "determineFrameLayout", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3246, "Length": 220, "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": "PPCTargetMachine62", "Func": "addInstSelector", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3247, "Length": 23, "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", "X86Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "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": "X86FrameLowering109", "Func": "restoreCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3248, "Length": 282, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_linux_float_exceptions_rounding_supported_p", "(", "void", ")", "{", "if", "(", "OPTION_GLIBC", ")", "return", "true", ";", "else", "return", "TARGET_DF_INSN", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FLOAT_EXCEPTIONS_ROUNDING_SUPPORTED_P", "."], "TS_V_token": ["rs6000"], "File": "rs6000-linux2", "Func": "rs6000_linux_float_exceptions_rounding_supported_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3249, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMCodeEmitter", "::", "getMachineOpValue", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "&", "MO", ")", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "ARMRegisterInfo", "::", "getRegisterNumbering", "(", "MO", ".", "getReg", "(", ")", ")", ";", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "else", "if", "(", "MO", ".", "isGlobal", "(", ")", ")", "emitGlobalAddress", "(", "MO", ".", "getGlobal", "(", ")", ",", "ARM", "::", "reloc_arm_branch", ",", "true", ")", ";", "else", "if", "(", "MO", ".", "isSymbol", "(", ")", ")", "emitExternalSymbolAddress", "(", "MO", ".", "getSymbolName", "(", ")", ",", "ARM", "::", "reloc_arm_branch", ")", ";", "else", "if", "(", "MO", ".", "isCPI", "(", ")", ")", "{", "const", "TargetInstrDesc", "&", "TID", "=", "MI", ".", "getDesc", "(", ")", ";", "unsigned", "Reloc", "=", "(", "(", "TID", ".", "TSFlags", "&", "ARMII", "::", "FormMask", ")", "==", "ARMII", "::", "VFPLdStFrm", ")", "?", "ARM", "::", "reloc_arm_vfp_cp_entry", ":", "ARM", "::", "reloc_arm_cp_entry", ";", "emitConstPoolAddress", "(", "MO", ".", "getIndex", "(", ")", ",", "Reloc", ")", ";", "}", "else", "if", "(", "MO", ".", "isJTI", "(", ")", ")", "emitJumpTableAddress", "(", "MO", ".", "getIndex", "(", ")", ",", "ARM", "::", "reloc_arm_relative", ")", ";", "else", "if", "(", "MO", ".", "isMBB", "(", ")", ")", "emitMachineBasicBlock", "(", "MO", ".", "getMBB", "(", ")", ",", "ARM", "::", "reloc_arm_branch", ")", ";", "else", "{", "cerr", "<<", "\"ERROR: Unknown type of MachineOperand: \"", "<<", "MO", "<<", "\"\\n\"", ";", "abort", "(", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM::reloc_arm_branch", "ARM::reloc_arm_branch", "ARMII::FormMask", "ARMII::VFPLdStFrm", "ARM::reloc_arm_vfp_cp_entry", "ARM::reloc_arm_cp_entry", "ARM::reloc_arm_relative", "ARM::reloc_arm_branch", "\"ERROR: Unknown type of MachineOperand: \"", "\"\\n\"", "0"], "File": "ARMCodeEmitter19", "Func": "getMachineOpValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3250, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "ix86_minimum_incoming_stack_boundary", "(", "bool", "sibcall", ")", "{", "unsigned", "int", "incoming_stack_boundary", ";", "if", "(", "ix86_user_incoming_stack_boundary", ")", "incoming_stack_boundary", "=", "ix86_user_incoming_stack_boundary", ";", "else", "if", "(", "!", "sibcall", "&&", "!", "TARGET_64BIT", "&&", "ix86_force_align_arg_pointer", "&&", "crtl", "->", "stack_alignment_estimated", "==", "128", ")", "incoming_stack_boundary", "=", "MIN_STACK_BOUNDARY", ";", "else", "incoming_stack_boundary", "=", "ix86_default_incoming_stack_boundary", ";", "if", "(", "incoming_stack_boundary", ">", "MIN_STACK_BOUNDARY", "&&", "lookup_attribute", "(", "ix86_force_align_arg_pointer_string", ",", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "current_function_decl", ")", ")", ")", ")", "incoming_stack_boundary", "=", "MIN_STACK_BOUNDARY", ";", "if", "(", "incoming_stack_boundary", "<", "crtl", "->", "parm_stack_boundary", ")", "incoming_stack_boundary", "=", "crtl", "->", "parm_stack_boundary", ";", "if", "(", "incoming_stack_boundary", ">", "MAIN_STACK_BOUNDARY", "&&", "DECL_NAME", "(", "current_function_decl", ")", "&&", "MAIN_NAME_P", "(", "DECL_NAME", "(", "current_function_decl", ")", ")", "&&", "DECL_FILE_SCOPE_P", "(", "current_function_decl", ")", ")", "incoming_stack_boundary", "=", "MAIN_STACK_BOUNDARY", ";", "return", "incoming_stack_boundary", ";", "}", ""], "natrual_language": ["Return", "minimum", "incoming", "stack", "alignment", "."], "TS_V_token": ["i386", "128"], "File": "i3864", "Func": "ix86_minimum_incoming_stack_boundary", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3251, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "init_cumulative_args", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "tree", "fntype", ",", "rtx", "libname", "ATTRIBUTE_UNUSED", ")", "{", "static", "CUMULATIVE_ARGS", "zero_cum", ";", "tree", "param", ";", "tree", "next_param", ";", "if", "(", "TARGET_DEBUG_D_MODE", ")", "{", "fprintf", "(", "stderr", ",", "\"\\ninit_cumulative_args, fntype = 0x%.8lx\"", ",", "(", "long", ")", "fntype", ")", ";", "if", "(", "!", "fntype", ")", "fputc", "(", "'\\n'", ",", "stderr", ")", ";", "else", "{", "tree", "ret_type", "=", "TREE_TYPE", "(", "fntype", ")", ";", "fprintf", "(", "stderr", ",", "\", fntype code = %s, ret code = %s\\n\"", ",", "tree_code_name", "[", "(", "int", ")", "TREE_CODE", "(", "fntype", ")", "]", ",", "tree_code_name", "[", "(", "int", ")", "TREE_CODE", "(", "ret_type", ")", "]", ")", ";", "}", "}", "*", "cum", "=", "zero_cum", ";", "for", "(", "param", "=", "fntype", "?", "TYPE_ARG_TYPES", "(", "fntype", ")", ":", "0", ";", "param", "!=", "0", ";", "param", "=", "next_param", ")", "{", "next_param", "=", "TREE_CHAIN", "(", "param", ")", ";", "if", "(", "next_param", "==", "0", "&&", "TREE_VALUE", "(", "param", ")", "!=", "void_type_node", ")", "cum", "->", "gp_reg_found", "=", "1", ";", "}", "}", ""], "natrual_language": ["Handle", "the", "INIT_CUMULATIVE_ARGS", "macro", ".", "Initialize", "a", "variable", "CUM", "of", "type", "CUMULATIVE_ARGS", "for", "a", "call", "to", "a", "function", "whose", "data", "type", "is", "FNTYPE", ".", "For", "a", "library", "call", ",", "FNTYPE", "is", "0", "."], "TS_V_token": ["iq2000", "\"\\ninit_cumulative_args, fntype = 0x%.8lx\"", "\", fntype code = %s, ret code = %s\\n\"", "0", "0", "0", "1"], "File": "iq20002", "Func": "init_cumulative_args", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3252, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "SparcSubtarget", "::", "getAdjustedFrameSize", "(", "int", "frameSize", ")", "const", "{", "if", "(", "is64Bit", "(", ")", ")", "{", "frameSize", "+=", "128", ";", "frameSize", "=", "alignTo", "(", "frameSize", ",", "16", ")", ";", "}", "else", "{", "frameSize", "+=", "92", ";", "frameSize", "=", "alignTo", "(", "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": ["Sparc", "Sparc", "128", "16", "92", "8"], "File": "SparcSubtarget1", "Func": "getAdjustedFrameSize", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3253, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "VariantKind", "getKind", "(", ")", "const", "{", "return", "Kind", ";", "}", ""], "natrual_language": ["Returns", "the", "Kind", "of", "lane", "offset", "."], "TS_V_token": ["ARM"], "File": "ARMMCExpr", "Func": "getKind", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3254, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcTargetMachine", "::", "SparcTargetMachine", "(", "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", ",", "bool", "is64bit", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "is64bit", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "RM", ")", ",", "getEffectiveSparcCodeModel", "(", "CM", ",", "getEffectiveRelocModel", "(", "RM", ")", ",", "is64bit", ",", "JIT", ")", ",", "OL", ")", ",", "TLOF", "(", "std", "::", "make_unique", "<", "SparcELFTargetObjectFile", ">", "(", ")", ")", ",", "Subtarget", "(", "TT", ",", "std", "::", "string", "(", "CPU", ")", ",", "std", "::", "string", "(", "FS", ")", ",", "*", "this", ",", "is64bit", ")", ",", "is64Bit", "(", "is64bit", ")", "{", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "ILP32", "architecture", "model", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc", "Sparc"], "File": "SparcTargetMachine (2)1", "Func": "SparcTargetMachine", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3255, "Length": 140, "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": 3256, "Length": 262, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "ARMTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "0", ";", "case", "ARMISD", "::", "Wrapper", ":", "return", "\"ARMISD::Wrapper\"", ";", "case", "ARMISD", "::", "WrapperJT", ":", "return", "\"ARMISD::WrapperJT\"", ";", "case", "ARMISD", "::", "CALL", ":", "return", "\"ARMISD::CALL\"", ";", "case", "ARMISD", "::", "CALL_PRED", ":", "return", "\"ARMISD::CALL_PRED\"", ";", "case", "ARMISD", "::", "CALL_NOLINK", ":", "return", "\"ARMISD::CALL_NOLINK\"", ";", "case", "ARMISD", "::", "tCALL", ":", "return", "\"ARMISD::tCALL\"", ";", "case", "ARMISD", "::", "BRCOND", ":", "return", "\"ARMISD::BRCOND\"", ";", "case", "ARMISD", "::", "BR_JT", ":", "return", "\"ARMISD::BR_JT\"", ";", "case", "ARMISD", "::", "RET_FLAG", ":", "return", "\"ARMISD::RET_FLAG\"", ";", "case", "ARMISD", "::", "PIC_ADD", ":", "return", "\"ARMISD::PIC_ADD\"", ";", "case", "ARMISD", "::", "CMP", ":", "return", "\"ARMISD::CMP\"", ";", "case", "ARMISD", "::", "CMPNZ", ":", "return", "\"ARMISD::CMPNZ\"", ";", "case", "ARMISD", "::", "CMPFP", ":", "return", "\"ARMISD::CMPFP\"", ";", "case", "ARMISD", "::", "CMPFPw0", ":", "return", "\"ARMISD::CMPFPw0\"", ";", "case", "ARMISD", "::", "FMSTAT", ":", "return", "\"ARMISD::FMSTAT\"", ";", "case", "ARMISD", "::", "CMOV", ":", "return", "\"ARMISD::CMOV\"", ";", "case", "ARMISD", "::", "CNEG", ":", "return", "\"ARMISD::CNEG\"", ";", "case", "ARMISD", "::", "FTOSI", ":", "return", "\"ARMISD::FTOSI\"", ";", "case", "ARMISD", "::", "FTOUI", ":", "return", "\"ARMISD::FTOUI\"", ";", "case", "ARMISD", "::", "SITOF", ":", "return", "\"ARMISD::SITOF\"", ";", "case", "ARMISD", "::", "UITOF", ":", "return", "\"ARMISD::UITOF\"", ";", "case", "ARMISD", "::", "SRL_FLAG", ":", "return", "\"ARMISD::SRL_FLAG\"", ";", "case", "ARMISD", "::", "SRA_FLAG", ":", "return", "\"ARMISD::SRA_FLAG\"", ";", "case", "ARMISD", "::", "RRX", ":", "return", "\"ARMISD::RRX\"", ";", "case", "ARMISD", "::", "FMRRD", ":", "return", "\"ARMISD::FMRRD\"", ";", "case", "ARMISD", "::", "FMDRR", ":", "return", "\"ARMISD::FMDRR\"", ";", "case", "ARMISD", "::", "THREAD_POINTER", ":", "return", "\"ARMISD::THREAD_POINTER\"", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["ARM", "ARM", "0", "ARMISD::Wrapper", "\"ARMISD::Wrapper\"", "ARMISD::WrapperJT", "\"ARMISD::WrapperJT\"", "ARMISD::CALL", "\"ARMISD::CALL\"", "ARMISD::CALL_PRED", "\"ARMISD::CALL_PRED\"", "ARMISD::CALL_NOLINK", "\"ARMISD::CALL_NOLINK\"", "ARMISD::tCALL", "\"ARMISD::tCALL\"", "ARMISD::BRCOND", "\"ARMISD::BRCOND\"", "ARMISD::BR_JT", "\"ARMISD::BR_JT\"", "ARMISD::RET_FLAG", "\"ARMISD::RET_FLAG\"", "ARMISD::PIC_ADD", "\"ARMISD::PIC_ADD\"", "ARMISD::CMP", "\"ARMISD::CMP\"", "ARMISD::CMPNZ", "\"ARMISD::CMPNZ\"", "ARMISD::CMPFP", "\"ARMISD::CMPFP\"", "ARMISD::CMPFPw0", "\"ARMISD::CMPFPw0\"", "ARMISD::FMSTAT", "\"ARMISD::FMSTAT\"", "ARMISD::CMOV", "\"ARMISD::CMOV\"", "ARMISD::CNEG", "\"ARMISD::CNEG\"", "ARMISD::FTOSI", "\"ARMISD::FTOSI\"", "ARMISD::FTOUI", "\"ARMISD::FTOUI\"", "ARMISD::SITOF", "\"ARMISD::SITOF\"", "ARMISD::UITOF", "\"ARMISD::UITOF\"", "ARMISD::SRL_FLAG", "\"ARMISD::SRL_FLAG\"", "ARMISD::SRA_FLAG", "\"ARMISD::SRA_FLAG\"", "ARMISD::RRX", "\"ARMISD::RRX\"", "ARMISD::FMRRD", "\"ARMISD::FMRRD\"", "ARMISD::FMDRR", "\"ARMISD::FMDRR\"", "ARMISD::THREAD_POINTER", "\"ARMISD::THREAD_POINTER\""], "File": "ARMISelLowering124", "Func": "getTargetNodeName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3257, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_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", ";", "struct", "expand_vec_perm_d", "d", ";", "int", "i", ",", "nelt", ",", "which", ";", "if", "(", "!", "VALID_NEON_DREG_MODE", "(", "vmode", ")", "&&", "!", "VALID_NEON_QREG_MODE", "(", "vmode", ")", ")", "return", "false", ";", "d", ".", "target", "=", "target", ";", "if", "(", "op0", ")", "{", "rtx", "nop0", "=", "force_reg", "(", "vmode", ",", "op0", ")", ";", "if", "(", "op0", "==", "op1", ")", "op1", "=", "nop0", ";", "op0", "=", "nop0", ";", "}", "if", "(", "op1", ")", "op1", "=", "force_reg", "(", "vmode", ",", "op1", ")", ";", "d", ".", "op0", "=", "op0", ";", "d", ".", "op1", "=", "op1", ";", "d", ".", "vmode", "=", "vmode", ";", "gcc_assert", "(", "VECTOR_MODE_P", "(", "d", ".", "vmode", ")", ")", ";", "d", ".", "testing_p", "=", "!", "target", ";", "nelt", "=", "GET_MODE_NUNITS", "(", "d", ".", "vmode", ")", ";", "for", "(", "i", "=", "which", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "{", "int", "ei", "=", "sel", "[", "i", "]", "&", "(", "2", "*", "nelt", "-", "1", ")", ";", "which", "|=", "(", "ei", "<", "nelt", "?", "1", ":", "2", ")", ";", "}", "switch", "(", "which", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "3", ":", "d", ".", "one_vector_p", "=", "false", ";", "if", "(", "d", ".", "testing_p", "||", "!", "rtx_equal_p", "(", "op0", ",", "op1", ")", ")", "break", ";", "case", "2", ":", "d", ".", "op0", "=", "op1", ";", "d", ".", "one_vector_p", "=", "true", ";", "break", ";", "case", "1", ":", "d", ".", "op1", "=", "op0", ";", "d", ".", "one_vector_p", "=", "true", ";", "break", ";", "}", "d", ".", "perm", ".", "new_vector", "(", "sel", ".", "encoding", "(", ")", ",", "d", ".", "one_vector_p", "?", "1", ":", "2", ",", "nelt", ")", ";", "if", "(", "!", "d", ".", "testing_p", ")", "return", "arm_expand_vec_perm_const_1", "(", "&", "d", ")", ";", "d", ".", "target", "=", "gen_raw_REG", "(", "d", ".", "vmode", ",", "LAST_VIRTUAL_REGISTER", "+", "1", ")", ";", "d", ".", "op1", "=", "d", ".", "op0", "=", "gen_raw_REG", "(", "d", ".", "vmode", ",", "LAST_VIRTUAL_REGISTER", "+", "2", ")", ";", "if", "(", "!", "d", ".", "one_vector_p", ")", "d", ".", "op1", "=", "gen_raw_REG", "(", "d", ".", "vmode", ",", "LAST_VIRTUAL_REGISTER", "+", "3", ")", ";", "start_sequence", "(", ")", ";", "bool", "ret", "=", "arm_expand_vec_perm_const_1", "(", "&", "d", ")", ";", "end_sequence", "(", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VECTORIZE_VEC_PERM_CONST", "."], "TS_V_token": ["arm", "0", "2", "1", "1", "2", "3", "2", "1", "1", "2", "1", "2", "3"], "File": "arm1", "Func": "arm_vectorize_vec_perm_const", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3258, "Length": 385, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MipsSubtarget", "::", "MipsSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "little", ",", "const", "MipsTargetMachine", "&", "TM", ")", ":", "MipsGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "MipsArchVersion", "(", "MipsDefault", ")", ",", "IsLittle", "(", "little", ")", ",", "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", ")", ",", "AllowMixed16_32", "(", "Mixed16_32", "|", "Mips_Os16", ")", ",", "Os16", "(", "Mips_Os16", ")", ",", "HasMSA", "(", "false", ")", ",", "TM", "(", "TM", ")", ",", "TargetTriple", "(", "TT", ")", ",", "TSInfo", "(", "*", "TM", ".", "getDataLayout", "(", ")", ")", ",", "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", "(", ")", "||", "isABI_EABI", "(", ")", ")", ")", "||", "(", "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", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "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": "MipsSubtarget21", "Func": "MipsSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3259, "Length": 458, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "i386_find_on_wrapper_list", "(", "const", "char", "*", "target", ")", "{", "static", "char", "first_time", "=", "1", ";", "static", "hash_table", "<", "nofree_string_hash", ">", "*", "wrappers", ";", "if", "(", "first_time", ")", "{", "static", "char", "wrapper_list_buffer", "[", "]", "=", "CXX_WRAP_SPEC_LIST", ";", "char", "*", "bufptr", ";", "wrappers", "=", "new", "hash_table", "<", "nofree_string_hash", ">", "(", "8", ")", ";", "for", "(", "bufptr", "=", "wrapper_list_buffer", ";", "*", "bufptr", ";", "++", "bufptr", ")", "{", "char", "*", "found", "=", "NULL", ";", "if", "(", "ISSPACE", "(", "*", "bufptr", ")", ")", "continue", ";", "if", "(", "*", "bufptr", "==", "'_'", ")", "found", "=", "bufptr", ";", "while", "(", "*", "bufptr", "&&", "!", "ISSPACE", "(", "*", "bufptr", ")", ")", "++", "bufptr", ";", "if", "(", "*", "bufptr", ")", "*", "bufptr", "=", "0", ";", "if", "(", "found", ")", "*", "wrappers", "->", "find_slot", "(", "found", ",", "INSERT", ")", "=", "found", ";", "}", "first_time", "=", "0", ";", "}", "return", "wrappers", "->", "find", "(", "target", ")", ";", "}", ""], "natrual_language": ["Search", "for", "a", "function", "named", "TARGET", "in", "the", "list", "of", "library", "wrappers", "we", "are", "using", ",", "returning", "a", "pointer", "to", "it", "if", "found", "or", "NULL", "if", "not", ".", "This", "function", "might", "be", "called", "on", "quite", "a", "few", "symbols", ",", "and", "we", "only", "have", "the", "list", "of", "names", "of", "wrapped", "functions", "available", "to", "us", "as", "a", "spec", "string", ",", "so", "first", "time", "round", "we", "lazily", "initialise", "a", "hash", "table", "to", "make", "things", "quicker", "."], "TS_V_token": ["i386", "1", "8", "0", "0"], "File": "winnt", "Func": "i386_find_on_wrapper_list", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3260, "Length": 150, "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", "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::JumpTableDest32", "AArch64::JumpTableDest16", "AArch64::JumpTableDest8", "12", "AArch64::SPACE", "1", "AArch64::StoreSwiftAsyncContext", "20"], "File": "AArch64InstrInfo105", "Func": "getInstSizeInBytes", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3261, "Length": 341, "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", ")", ",", "\"% 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", ")", ";", "TREE_NOTHROW", "(", "dispatch_decl", ")", "=", "TREE_NOTHROW", "(", "fn", ")", ";", "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 % 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\"", "\"% attribute needs GLIBC (2.23 and newer) that \"", "\"exports hardware capability bits\"", "1", "1", "\"multiversioning needs % which is not supported \"", "\"on this target\""], "File": "rs60001", "Func": "rs6000_get_function_versions_dispatcher", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3262, "Length": 400, "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_rtx_SUBREG", "(", "vimode", ",", "operands", "[", "1", "]", ",", "0", ")", ")", ";", "}", "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_rtx_SUBREG", "(", "vimode", ",", "operands", "[", "2", "]", ",", "0", ")", ")", ";", "}", "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", "0", "1", "2", "2", "2", "0", "2", "0", "0"], "File": "mips6", "Func": "mips_expand_vec_cond_expr", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3263, "Length": 355, "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": "SystemZMachineScheduler14", "Func": "schedNode", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3264, "Length": 44, "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": 3265, "Length": 244, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZRegisterInfo", "::", "shouldCoalesce", "(", "MachineInstr", "*", "MI", ",", "const", "TargetRegisterClass", "*", "SrcRC", ",", "unsigned", "SubReg", ",", "const", "TargetRegisterClass", "*", "DstRC", ",", "unsigned", "DstSubReg", ",", "const", "TargetRegisterClass", "*", "NewRC", ",", "LiveIntervals", "&", "LIS", ")", "const", "{", "assert", "(", "MI", "->", "isCopy", "(", ")", "&&", "\"Only expecting COPY instructions\"", ")", ";", "if", "(", "!", "(", "NewRC", "->", "hasSuperClassEq", "(", "&", "SystemZ", "::", "GR128BitRegClass", ")", "&&", "(", "getRegSizeInBits", "(", "*", "SrcRC", ")", "<=", "64", "||", "getRegSizeInBits", "(", "*", "DstRC", ")", "<=", "64", ")", ")", ")", "return", "true", ";", "unsigned", "WideOpNo", "=", "(", "getRegSizeInBits", "(", "*", "SrcRC", ")", "==", "128", "?", "1", ":", "0", ")", ";", "unsigned", "GR128Reg", "=", "MI", "->", "getOperand", "(", "WideOpNo", ")", ".", "getReg", "(", ")", ";", "unsigned", "GRNarReg", "=", "MI", "->", "getOperand", "(", "(", "WideOpNo", "==", "1", ")", "?", "0", ":", "1", ")", ".", "getReg", "(", ")", ";", "LiveInterval", "&", "IntGR128", "=", "LIS", ".", "getInterval", "(", "GR128Reg", ")", ";", "LiveInterval", "&", "IntGRNar", "=", "LIS", ".", "getInterval", "(", "GRNarReg", ")", ";", "MachineBasicBlock", "*", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "if", "(", "LIS", ".", "isLiveInToMBB", "(", "IntGR128", ",", "MBB", ")", "||", "LIS", ".", "isLiveOutOfMBB", "(", "IntGR128", ",", "MBB", ")", "||", "LIS", ".", "isLiveInToMBB", "(", "IntGRNar", ",", "MBB", ")", "||", "LIS", ".", "isLiveOutOfMBB", "(", "IntGRNar", ",", "MBB", ")", ")", "return", "false", ";", "MachineInstr", "*", "FirstMI", "=", "nullptr", ",", "*", "LastMI", "=", "nullptr", ";", "if", "(", "WideOpNo", "==", "1", ")", "{", "FirstMI", "=", "LIS", ".", "getInstructionFromIndex", "(", "IntGR128", ".", "beginIndex", "(", ")", ")", ";", "LastMI", "=", "LIS", ".", "getInstructionFromIndex", "(", "IntGRNar", ".", "endIndex", "(", ")", ")", ";", "}", "else", "{", "FirstMI", "=", "LIS", ".", "getInstructionFromIndex", "(", "IntGRNar", ".", "beginIndex", "(", ")", ")", ";", "LastMI", "=", "LIS", ".", "getInstructionFromIndex", "(", "IntGR128", ".", "endIndex", "(", ")", ")", ";", "}", "assert", "(", "FirstMI", "&&", "LastMI", "&&", "\"No instruction from index?\"", ")", ";", "BitVector", "PhysClobbered", "(", "getNumRegs", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MII", "=", "FirstMI", ",", "MEE", "=", "LastMI", ";", "MEE", "++", ";", "for", "(", ";", "MII", "!=", "MEE", ";", "++", "MII", ")", "{", "for", "(", "const", "MachineOperand", "&", "MO", ":", "MII", "->", "operands", "(", ")", ")", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "isPhysicalRegister", "(", "MO", ".", "getReg", "(", ")", ")", ")", "{", "for", "(", "MCSuperRegIterator", "SI", "(", "MO", ".", "getReg", "(", ")", ",", "this", ",", "true", ")", ";", "SI", ".", "isValid", "(", ")", ";", "++", "SI", ")", "if", "(", "NewRC", "->", "contains", "(", "*", "SI", ")", ")", "{", "PhysClobbered", ".", "set", "(", "*", "SI", ")", ";", "break", ";", "}", "}", "}", "unsigned", "const", "DemandedFreeGR128", "=", "3", ";", "if", "(", "PhysClobbered", ".", "count", "(", ")", ">", "(", "NewRC", "->", "getNumRegs", "(", ")", "-", "DemandedFreeGR128", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Subtarget", "Hooks", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"Only expecting COPY instructions\"", "SystemZ::GR128BitRegClass", "64", "64", "128", "1", "0", "1", "0", "1", "1", "\"No instruction from index?\"", "3"], "File": "SystemZRegisterInfo12", "Func": "shouldCoalesce", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3266, "Length": 436, "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", "}", "}", ";", "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", "\"Invalid kind!\""], "File": "SystemZMCAsmBackend22", "Func": "getFixupKindInfo", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3267, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "xstormy16_encode_section_info", "(", "tree", "decl", ",", "rtx", "r", ",", "int", "first", ")", "{", "default_encode_section_info", "(", "decl", ",", "r", ",", "first", ")", ";", "if", "(", "TREE_CODE", "(", "decl", ")", "==", "VAR_DECL", "&&", "(", "lookup_attribute", "(", "\"below100\"", ",", "DECL_ATTRIBUTES", "(", "decl", ")", ")", "||", "lookup_attribute", "(", "\"BELOW100\"", ",", "DECL_ATTRIBUTES", "(", "decl", ")", ")", ")", ")", "{", "rtx", "symbol", "=", "XEXP", "(", "r", ",", "0", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "symbol", ")", "==", "SYMBOL_REF", ")", ";", "SYMBOL_REF_FLAGS", "(", "symbol", ")", "|=", "SYMBOL_FLAG_XSTORMY16_BELOW100", ";", "}", "}", ""], "natrual_language": ["Mark", "functions", "with", "SYMBOL_REF_FLAG", "."], "TS_V_token": ["stormy16", "\"below100\"", "\"BELOW100\"", "0"], "File": "stormy16", "Func": "xstormy16_encode_section_info", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3268, "Length": 84, "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", ";", "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"], "File": "AArch64RegisterInfo", "Func": "needsFrameBaseReg", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3269, "Length": 167, "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": 3270, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "this", "->", "MF", "=", "&", "MF", ";", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "MCP", "=", "MF", ".", "getConstantPool", "(", ")", ";", "SetupMachineFunction", "(", "MF", ")", ";", "O", "<<", "\"\\n\"", ";", "O", "<<", "\"\\n\"", ";", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "switch", "(", "F", "->", "getLinkage", "(", ")", ")", "{", "default", ":", "assert", "(", "0", "&&", "\"Unknown linkage type!\"", ")", ";", "case", "Function", "::", "PrivateLinkage", ":", "case", "Function", "::", "InternalLinkage", ":", "SwitchToTextSection", "(", "\"\\t.text\"", ",", "F", ")", ";", "break", ";", "case", "Function", "::", "ExternalLinkage", ":", "SwitchToTextSection", "(", "\"\\t.text\"", ",", "F", ")", ";", "O", "<<", "\"\\t.globl\\t\"", "<<", "CurrentFnName", "<<", "\"\\n\"", ";", "break", ";", "case", "Function", "::", "WeakAnyLinkage", ":", "case", "Function", "::", "WeakODRLinkage", ":", "case", "Function", "::", "LinkOnceAnyLinkage", ":", "case", "Function", "::", "LinkOnceODRLinkage", ":", "if", "(", "Subtarget", "->", "isTargetDarwin", "(", ")", ")", "{", "SwitchToTextSection", "(", "\".section __TEXT,__textcoal_nt,coalesced,pure_instructions\"", ",", "F", ")", ";", "O", "<<", "\"\\t.globl\\t\"", "<<", "CurrentFnName", "<<", "\"\\n\"", ";", "O", "<<", "\"\\t.weak_definition\\t\"", "<<", "CurrentFnName", "<<", "\"\\n\"", ";", "}", "else", "{", "O", "<<", "TAI", "->", "getWeakRefDirective", "(", ")", "<<", "CurrentFnName", "<<", "\"\\n\"", ";", "}", "break", ";", "}", "printVisibility", "(", "CurrentFnName", ",", "F", "->", "getVisibility", "(", ")", ")", ";", "if", "(", "AFI", "->", "isThumbFunction", "(", ")", ")", "{", "EmitAlignment", "(", "1", ",", "F", ",", "AFI", "->", "getAlign", "(", ")", ")", ";", "O", "<<", "\"\\t.code\\t16\\n\"", ";", "O", "<<", "\"\\t.thumb_func\"", ";", "if", "(", "Subtarget", "->", "isTargetDarwin", "(", ")", ")", "O", "<<", "\"\\t\"", "<<", "CurrentFnName", ";", "O", "<<", "\"\\n\"", ";", "InCPMode", "=", "false", ";", "}", "else", "EmitAlignment", "(", "2", ",", "F", ")", ";", "O", "<<", "CurrentFnName", "<<", "\":\\n\"", ";", "DW", "->", "BeginFunction", "(", "&", "MF", ")", ";", "if", "(", "Subtarget", "->", "isTargetDarwin", "(", ")", ")", "{", "MachineFunction", "::", "iterator", "I", "=", "MF", ".", "begin", "(", ")", ";", "if", "(", "++", "I", "==", "MF", ".", "end", "(", ")", "&&", "MF", ".", "front", "(", ")", ".", "empty", "(", ")", ")", "O", "<<", "\"\\tnop\\n\"", ";", "}", "for", "(", "MachineFunction", "::", "const_iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "I", "!=", "MF", ".", "begin", "(", ")", ")", "{", "printBasicBlockLabel", "(", "I", ",", "true", ",", "true", ",", "VerboseAsm", ")", ";", "O", "<<", "'\\n'", ";", "}", "for", "(", "MachineBasicBlock", "::", "const_iterator", "II", "=", "I", "->", "begin", "(", ")", ",", "E", "=", "I", "->", "end", "(", ")", ";", "II", "!=", "E", ";", "++", "II", ")", "{", "printMachineInstruction", "(", "II", ")", ";", "}", "}", "if", "(", "TAI", "->", "hasDotTypeDotSizeDirective", "(", ")", ")", "O", "<<", "\"\\t.size \"", "<<", "CurrentFnName", "<<", "\", .-\"", "<<", "CurrentFnName", "<<", "\"\\n\"", ";", "DW", "->", "EndFunction", "(", "&", "MF", ")", ";", "O", ".", "flush", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "\"\\n\"", "\"\\n\"", "0", "\"Unknown linkage type!\"", "\"\\t.text\"", "\"\\t.text\"", "\"\\t.globl\\t\"", "\"\\n\"", "\".section __TEXT,__textcoal_nt,coalesced,pure_instructions\"", "\"\\t.globl\\t\"", "\"\\n\"", "\"\\t.weak_definition\\t\"", "\"\\n\"", "\"\\n\"", "1", "\"\\t.code\\t16\\n\"", "\"\\t.thumb_func\"", "\"\\t\"", "\"\\n\"", "2", "\":\\n\"", "\"\\tnop\\n\"", "\"\\t.size \"", "\", .-\"", "\"\\n\""], "File": "ARMAsmPrinter31", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3271, "Length": 452, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "MipsFI", "=", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "if", "(", "Subtarget", "->", "inMips16Mode", "(", ")", ")", "for", "(", "const", "auto", "&", "I", ":", "MipsFI", "->", "StubsNeeded", ")", "{", "const", "char", "*", "Symbol", "=", "I", ".", "first", ";", "const", "Mips16HardFloatInfo", "::", "FuncSignature", "*", "Signature", "=", "I", ".", "second", ";", "if", "(", "StubsNeeded", ".", "find", "(", "Symbol", ")", "==", "StubsNeeded", ".", "end", "(", ")", ")", "StubsNeeded", "[", "Symbol", "]", "=", "Signature", ";", "}", "MCP", "=", "MF", ".", "getConstantPool", "(", ")", ";", "if", "(", "Subtarget", "->", "isTargetNaCl", "(", ")", ")", "NaClAlignIndirectJumpTargets", "(", "MF", ")", ";", "AsmPrinter", "::", "runOnMachineFunction", "(", "MF", ")", ";", "emitXRayTable", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips16HardFloatInfo::FuncSignature"], "File": "MipsAsmPrinter37", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3272, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SparcRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcInstrInfo (2)", "Func": "getRegisterInfo", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3273, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64InstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "AArch64", "::", "LDRWui", ":", "case", "AArch64", "::", "LDRXui", ":", "case", "AArch64", "::", "LDRBui", ":", "case", "AArch64", "::", "LDRHui", ":", "case", "AArch64", "::", "LDRSui", ":", "case", "AArch64", "::", "LDRDui", ":", "case", "AArch64", "::", "LDRQui", ":", "case", "AArch64", "::", "LDR_PXI", ":", "case", "AArch64", "::", "LDR_ZXI", ":", "case", "AArch64", "::", "LDR_ZZXI", ":", "case", "AArch64", "::", "LDR_ZZZXI", ":", "case", "AArch64", "::", "LDR_ZZZZXI", ":", "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": ["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": ["AArch64", "AArch64", "AArch64::LDRWui", "AArch64::LDRXui", "AArch64::LDRBui", "AArch64::LDRHui", "AArch64::LDRSui", "AArch64::LDRDui", "AArch64::LDRQui", "AArch64::LDR_PXI", "AArch64::LDR_ZXI", "AArch64::LDR_ZZXI", "AArch64::LDR_ZZZXI", "AArch64::LDR_ZZZZXI", "0", "0", "1", "2", "2", "0", "1", "0", "0"], "File": "AArch64InstrInfo73", "Func": "isLoadFromStackSlot", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3274, "Length": 173, "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": 3275, "Length": 290, "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", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "const", "MipsRegisterInfo", "&", "RegInfo", "=", "*", "static_cast", "<", "const", "MipsRegisterInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "SP", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "SP_64", ":", "Mips", "::", "SP", ";", "unsigned", "FP", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "FP_64", ":", "Mips", "::", "FP", ";", "unsigned", "ZERO", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "ZERO_64", ":", "Mips", "::", "ZERO", ";", "unsigned", "ADDu", "=", "Mips", "::", "ADDu", ";", "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", "(", "MipsFI", "->", "callsEhReturn", "(", ")", ")", "{", "const", "TargetRegisterClass", "*", "RC", "=", "STI", ".", "isABI_N64", "(", ")", "?", "&", "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", ",", "ehDataReg", "(", "J", ")", ",", "MipsFI", "->", "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": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::SP_64", "Mips::SP", "Mips::FP_64", "Mips::FP", "Mips::ZERO_64", "Mips::ZERO", "Mips::ADDu", "0", "Mips", "Mips::GPR64RegClass", "Mips::GPR32RegClass", "0", "0", "4", "Mips"], "File": "MipsSEFrameLowering34", "Func": "emitEpilogue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3276, "Length": 368, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "def_builtin", "(", "const", "char", "*", "name", ",", "enum", "insn_code", "icode", ",", "enum", "sparc_builtins", "code", ",", "tree", "type", ")", "{", "tree", "t", "=", "add_builtin_function", "(", "name", ",", "type", ",", "code", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "if", "(", "t", ")", "{", "sparc_builtins", "[", "code", "]", "=", "t", ";", "sparc_builtins_icode", "[", "code", "]", "=", "icode", ";", "}", "return", "t", ";", "}", ""], "natrual_language": ["Add", "a", "SPARC", "builtin", "function", "with", "NAME", ",", "ICODE", ",", "CODE", "and", "TYPE", ".", "Return", "the", "function", "decl", "or", "NULL_TREE", "if", "the", "builtin", "was", "not", "added", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "def_builtin", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3277, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SHUXIFrameLowering", "::", "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": ["SHUXI", "SHUXI"], "File": "SHUXIFrameLowering", "Func": "hasReservedCallFrame", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3278, "Length": 25, "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": 3279, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "invalid_e500_subreg", "(", "rtx", "op", ",", "enum", "machine_mode", "mode", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "==", "SUBREG", "&&", "mode", "==", "SImode", "&&", "REG_P", "(", "SUBREG_REG", "(", "op", ")", ")", "&&", "GET_MODE", "(", "SUBREG_REG", "(", "op", ")", ")", "==", "DFmode", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "SUBREG", "&&", "mode", "==", "DFmode", "&&", "REG_P", "(", "SUBREG_REG", "(", "op", ")", ")", "&&", "GET_MODE", "(", "SUBREG_REG", "(", "op", ")", ")", "==", "DImode", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "OP", "is", "an", "invalid", "SUBREG", "operation", "on", "the", "e500", "."], "TS_V_token": ["rs6000"], "File": "rs60003", "Func": "invalid_e500_subreg", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3280, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsPassConfig", "::", "addPreRegBankSelect", "(", ")", "{", "bool", "IsOptNone", "=", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ";", "addPass", "(", "createMipsPostLegalizeCombiner", "(", "IsOptNone", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "the", "register", "bank", "selection", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsTargetMachine (2)1", "Func": "addPreRegBankSelect", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3281, "Length": 27, "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": 3282, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_const_not_ok_for_debug_p", "(", "rtx", "p", ")", "{", "tree", "decl_op0", "=", "NULL", ";", "tree", "decl_op1", "=", "NULL", ";", "if", "(", "GET_CODE", "(", "p", ")", "==", "MINUS", ")", "{", "if", "(", "GET_CODE", "(", "XEXP", "(", "p", ",", "1", ")", ")", "==", "SYMBOL_REF", ")", "{", "decl_op1", "=", "SYMBOL_REF_DECL", "(", "XEXP", "(", "p", ",", "1", ")", ")", ";", "if", "(", "decl_op1", "&&", "GET_CODE", "(", "XEXP", "(", "p", ",", "0", ")", ")", "==", "SYMBOL_REF", "&&", "(", "decl_op0", "=", "SYMBOL_REF_DECL", "(", "XEXP", "(", "p", ",", "0", ")", ")", ")", ")", "{", "if", "(", "(", "TREE_CODE", "(", "decl_op1", ")", "==", "VAR_DECL", "||", "TREE_CODE", "(", "decl_op1", ")", "==", "CONST_DECL", ")", "&&", "(", "TREE_CODE", "(", "decl_op0", ")", "==", "VAR_DECL", "||", "TREE_CODE", "(", "decl_op0", ")", "==", "CONST_DECL", ")", ")", "return", "(", "get_variable_section", "(", "decl_op1", ",", "false", ")", "!=", "get_variable_section", "(", "decl_op0", ",", "false", ")", ")", ";", "if", "(", "TREE_CODE", "(", "decl_op1", ")", "==", "LABEL_DECL", "&&", "TREE_CODE", "(", "decl_op0", ")", "==", "LABEL_DECL", ")", "return", "(", "DECL_CONTEXT", "(", "decl_op1", ")", "!=", "DECL_CONTEXT", "(", "decl_op0", ")", ")", ";", "}", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["This", "is", "a", "temporary", "fix", "for", "PR60655", ".", "Ideally", "we", "need", "to", "handle", "most", "of", "these", "cases", "in", "the", "generic", "part", "but", "currently", "we", "reject", "minus", "(", "..", ")", "(", "sym_ref", ")", ".", "We", "try", "to", "ameliorate", "the", "case", "with", "minus", "(", "sym_ref1", ")", "(", "sym_ref2", ")", "where", "they", "are", "in", "the", "same", "section", "."], "TS_V_token": ["arm", "1", "1", "0", "0"], "File": "arm4", "Func": "arm_const_not_ok_for_debug_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3283, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"AArch64 MI Peephole Optimization pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64", "\"AArch64 MI Peephole Optimization pass\""], "File": "AArch64MIPeepholeOpt", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3284, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ")", "const", "{", "static", "const", "char", "Nops", "[", "10", "]", "[", "11", "]", "=", "{", "\"\\x90\"", ",", "\"\\x66\\x90\"", ",", "\"\\x0f\\x1f\\x00\"", ",", "\"\\x0f\\x1f\\x40\\x00\"", ",", "\"\\x0f\\x1f\\x44\\x00\\x00\"", ",", "\"\\x66\\x0f\\x1f\\x44\\x00\\x00\"", ",", "\"\\x0f\\x1f\\x80\\x00\\x00\\x00\\x00\"", ",", "\"\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", ",", "\"\\x66\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", ",", "\"\\x66\\x2e\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", ",", "}", ";", "if", "(", "!", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "FeatureNOPL", "]", ")", "{", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "<", "Count", ";", "++", "i", ")", "OS", "<<", "'\\x90'", ";", "return", "true", ";", "}", "uint64_t", "MaxNopLength", "=", "10", ";", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "FeatureFast7ByteNOP", "]", ")", "MaxNopLength", "=", "7", ";", "else", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "FeatureFast15ByteNOP", "]", ")", "MaxNopLength", "=", "15", ";", "else", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "FeatureFast11ByteNOP", "]", ")", "MaxNopLength", "=", "11", ";", "do", "{", "const", "uint8_t", "ThisNopLength", "=", "(", "uint8_t", ")", "std", "::", "min", "(", "Count", ",", "MaxNopLength", ")", ";", "const", "uint8_t", "Prefixes", "=", "ThisNopLength", "<=", "10", "?", "0", ":", "ThisNopLength", "-", "10", ";", "for", "(", "uint8_t", "i", "=", "0", ";", "i", "<", "Prefixes", ";", "i", "++", ")", "OS", "<<", "'\\x66'", ";", "const", "uint8_t", "Rest", "=", "ThisNopLength", "-", "Prefixes", ";", "if", "(", "Rest", "!=", "0", ")", "OS", ".", "write", "(", "Nops", "[", "Rest", "-", "1", "]", ",", "Rest", ")", ";", "Count", "-=", "ThisNopLength", ";", "}", "while", "(", "Count", "!=", "0", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["X86", "X86", "10", "11", "\"\\x90\"", "\"\\x66\\x90\"", "\"\\x0f\\x1f\\x00\"", "\"\\x0f\\x1f\\x40\\x00\"", "\"\\x0f\\x1f\\x44\\x00\\x00\"", "\"\\x66\\x0f\\x1f\\x44\\x00\\x00\"", "\"\\x0f\\x1f\\x80\\x00\\x00\\x00\\x00\"", "\"\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", "\"\\x66\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", "\"\\x66\\x2e\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", "X86::FeatureNOPL", "0", "10", "X86::FeatureFast7ByteNOP", "7", "X86::FeatureFast15ByteNOP", "15", "X86::FeatureFast11ByteNOP", "11", "10", "0", "10", "0", "0", "1", "0"], "File": "X86AsmBackend16", "Func": "writeNopData", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3285, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMAsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsResolved", ")", "const", "{", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "MCContext", "&", "Ctx", "=", "Asm", ".", "getContext", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "Asm", ",", "Fixup", ",", "Target", ",", "Value", ",", "IsResolved", ",", "Ctx", ",", "IsLittleEndian", ")", ";", "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": "ARMAsmBackend15", "Func": "applyFixup", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3286, "Length": 207, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "function_instance", "::", "could_trap_p", "(", ")", "const", "{", "unsigned", "int", "flags", "=", "call_properties", "(", ")", ";", "if", "(", "flags", "&", "CP_RAISE_FP_EXCEPTIONS", ")", "return", "true", ";", "if", "(", "flags", "&", "(", "CP_READ_MEMORY", "|", "CP_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-sve-builtins", "Func": "could_trap_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3287, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "post_update_insn_p", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "find_post_update_rtx", "(", "insn", ")", "==", "-", "1", ")", "return", "false", ";", "else", "return", "true", ";", "}", ""], "natrual_language": ["Determine", "if", "INSN", "is", "a", "post", "update", "insn", "."], "TS_V_token": ["nds32", "1"], "File": "nds32-utils", "Func": "post_update_insn_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3288, "Length": 26, "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": 3289, "Length": 431, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_expand_builtin", "(", "tree", "exp", ",", "rtx", "target", ",", "rtx", "subtarget", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "int", "ignore", "ATTRIBUTE_UNUSED", ")", "{", "tree", "fndecl", "=", "TREE_OPERAND", "(", "CALL_EXPR_FN", "(", "exp", ")", ",", "0", ")", ";", "int", "fcode", "=", "DECL_FUNCTION_CODE", "(", "fndecl", ")", ";", "int", "icode", ";", "rtx", "pat", ",", "op0", ";", "tree", "arg0", ";", "switch", "(", "fcode", ")", "{", "case", "AARCH64_BUILTIN_GET_FPCR", ":", "case", "AARCH64_BUILTIN_SET_FPCR", ":", "case", "AARCH64_BUILTIN_GET_FPSR", ":", "case", "AARCH64_BUILTIN_SET_FPSR", ":", "if", "(", "(", "fcode", "==", "AARCH64_BUILTIN_GET_FPCR", ")", "||", "(", "fcode", "==", "AARCH64_BUILTIN_GET_FPSR", ")", ")", "{", "icode", "=", "(", "fcode", "==", "AARCH64_BUILTIN_GET_FPSR", ")", "?", "CODE_FOR_get_fpsr", ":", "CODE_FOR_get_fpcr", ";", "target", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ")", ";", "}", "else", "{", "target", "=", "NULL_RTX", ";", "icode", "=", "(", "fcode", "==", "AARCH64_BUILTIN_SET_FPSR", ")", "?", "CODE_FOR_set_fpsr", ":", "CODE_FOR_set_fpcr", ";", "arg0", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "op0", "=", "expand_normal", "(", "arg0", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op0", ")", ";", "}", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "}", "if", "(", "fcode", ">=", "AARCH64_SIMD_BUILTIN_BASE", "&&", "fcode", "<=", "AARCH64_SIMD_BUILTIN_MAX", ")", "return", "aarch64_simd_expand_builtin", "(", "fcode", ",", "exp", ",", "target", ")", ";", "else", "if", "(", "fcode", ">=", "AARCH64_CRC32_BUILTIN_BASE", "&&", "fcode", "<=", "AARCH64_CRC32_BUILTIN_MAX", ")", "return", "aarch64_crc32_expand_builtin", "(", "fcode", ",", "exp", ",", "target", ")", ";", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_EXPAND_BUILTIN", "."], "TS_V_token": ["aarch64", "0", "0"], "File": "aarch64-builtins2", "Func": "aarch64_expand_builtin", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3290, "Length": 216, "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", ">=", "INT32_MIN", "&&", "Value", "<=", "UINT32_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": "ARMAsmParser (2)5", "Func": "validateTargetOperandClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3291, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "aarch64_symbol_type", "aarch64_classify_symbol", "(", "rtx", "x", ",", "rtx", "offset", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", ")", "{", "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", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", ")", "{", "if", "(", "aarch64_cmodel", "==", "AARCH64_CMODEL_LARGE", ")", "{", "if", "(", "nopcrelative_literal_loads", "&&", "CONSTANT_POOL_ADDRESS_P", "(", "x", ")", ")", "return", "SYMBOL_SMALL_ABSOLUTE", ";", "else", "return", "SYMBOL_FORCE_TO_MEM", ";", "}", "if", "(", "aarch64_tls_symbol_p", "(", "x", ")", ")", "return", "aarch64_classify_tls_symbol", "(", "x", ")", ";", "switch", "(", "aarch64_cmodel", ")", "{", "case", "AARCH64_CMODEL_TINY", ":", "if", "(", "SYMBOL_REF_WEAK", "(", "x", ")", "||", "INTVAL", "(", "offset", ")", "<", "-", "1048575", "||", "INTVAL", "(", "offset", ")", ">", "1048575", ")", "return", "SYMBOL_FORCE_TO_MEM", ";", "return", "SYMBOL_TINY_ABSOLUTE", ";", "case", "AARCH64_CMODEL_SMALL", ":", "if", "(", "SYMBOL_REF_WEAK", "(", "x", ")", "||", "!", "IN_RANGE", "(", "INTVAL", "(", "offset", ")", ",", "HOST_WIDE_INT_C", "(", "-", "4294967263", ")", ",", "HOST_WIDE_INT_C", "(", "4294967264", ")", ")", ")", "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", ";", "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", "1048575", "1048575", "4294967263", "4294967264"], "File": "aarch643", "Func": "aarch64_classify_symbol", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3292, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "AArch64RegisterInfo", "::", "getThisReturnPreservedMask", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "assert", "(", "CC", "!=", "CallingConv", "::", "GHC", "&&", "\"should not be GHC calling convention.\"", ")", ";", "return", "CSR_AArch64_AAPCS_ThisReturn_RegMask", ";", "}", ""], "natrual_language": ["getThisReturnPreservedMask", "-", "Returns", "a", "call", "preserved", "mask", "specific", "to", "the", "case", "that", "'returned", "'", "is", "on", "an", "i32", "first", "argument", "if", "the", "calling", "convention", "is", "one", "that", "can", "(", "partially", ")", "model", "this", "attribute", "with", "a", "preserved", "mask", "(", "i.e", "."], "TS_V_token": ["AArch64", "AArch64", "\"should not be GHC calling convention.\"", "AArch64"], "File": "AArch64RegisterInfo63", "Func": "getThisReturnPreservedMask", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3293, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "long", "csky_isr_value", "(", "tree", "argument", ")", "{", "const", "isr_attribute_entry", "*", "ptr", ";", "const", "char", "*", "arg", ";", "if", "(", "argument", "==", "NULL_TREE", ")", "return", "CSKY_FT_ISR", ";", "if", "(", "TREE_VALUE", "(", "argument", ")", "==", "NULL_TREE", "||", "TREE_CODE", "(", "TREE_VALUE", "(", "argument", ")", ")", "!=", "STRING_CST", ")", "return", "CSKY_FT_UNKNOWN", ";", "arg", "=", "TREE_STRING_POINTER", "(", "TREE_VALUE", "(", "argument", ")", ")", ";", "for", "(", "ptr", "=", "isr_attribute_map", ";", "ptr", "->", "arg", "!=", "NULL", ";", "ptr", "++", ")", "if", "(", "strcmp", "(", "arg", ",", "ptr", "->", "arg", ")", "==", "0", ")", "return", "ptr", "->", "return_value", ";", "return", "CSKY_FT_UNKNOWN", ";", "}", ""], "natrual_language": ["Returns", "the", "(", "interrupt", ")", "function", "type", "of", "the", "current", "function", ",", "or", "CSKY_FT_UNKNOWN", "if", "the", "type", "can", "not", "be", "determined", "."], "TS_V_token": ["csky", "0"], "File": "csky", "Func": "csky_isr_value", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3294, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_move_vfp", "(", "rtx", "*", "operands", ")", "{", "rtx", "reg", ",", "mem", ",", "addr", ",", "ops", "[", "2", "]", ";", "int", "load", "=", "REG_P", "(", "operands", "[", "0", "]", ")", ";", "int", "dp", "=", "GET_MODE_SIZE", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", ")", "==", "8", ";", "int", "integer_p", "=", "GET_MODE_CLASS", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", ")", "==", "MODE_INT", ";", "const", "char", "*", "templ", ";", "char", "buff", "[", "50", "]", ";", "machine_mode", "mode", ";", "reg", "=", "operands", "[", "!", "load", "]", ";", "mem", "=", "operands", "[", "load", "]", ";", "mode", "=", "GET_MODE", "(", "reg", ")", ";", "gcc_assert", "(", "REG_P", "(", "reg", ")", ")", ";", "gcc_assert", "(", "IS_VFP_REGNUM", "(", "REGNO", "(", "reg", ")", ")", ")", ";", "gcc_assert", "(", "mode", "==", "SFmode", "||", "mode", "==", "DFmode", "||", "mode", "==", "SImode", "||", "mode", "==", "DImode", "||", "(", "TARGET_NEON", "&&", "VALID_NEON_DREG_MODE", "(", "mode", ")", ")", ")", ";", "gcc_assert", "(", "MEM_P", "(", "mem", ")", ")", ";", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "PRE_DEC", ":", "templ", "=", "\"v%smdb%%?.%s\\t%%0!, {%%%s1}%s\"", ";", "ops", "[", "0", "]", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "ops", "[", "1", "]", "=", "reg", ";", "break", ";", "case", "POST_INC", ":", "templ", "=", "\"v%smia%%?.%s\\t%%0!, {%%%s1}%s\"", ";", "ops", "[", "0", "]", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "ops", "[", "1", "]", "=", "reg", ";", "break", ";", "default", ":", "templ", "=", "\"v%sr%%?.%s\\t%%%s0, %%1%s\"", ";", "ops", "[", "0", "]", "=", "reg", ";", "ops", "[", "1", "]", "=", "mem", ";", "break", ";", "}", "sprintf", "(", "buff", ",", "templ", ",", "load", "?", "\"ld\"", ":", "\"st\"", ",", "dp", "?", "\"64\"", ":", "\"32\"", ",", "dp", "?", "\"P\"", ":", "\"\"", ",", "integer_p", "?", "\"\\t%@ int\"", ":", "\"\"", ")", ";", "output_asm_insn", "(", "buff", ",", "ops", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "a", "VFP", "load", "or", "store", "instruction", "."], "TS_V_token": ["arm", "2", "0", "0", "8", "0", "50", "0", "\"v%smdb%%?.%s\\t%%0!, {%%%s1}%s\"", "0", "0", "1", "\"v%smia%%?.%s\\t%%0!, {%%%s1}%s\"", "0", "0", "1", "\"v%sr%%?.%s\\t%%%s0, %%1%s\"", "0", "1", "\"ld\"", "\"st\"", "\"64\"", "\"32\"", "\"P\"", "\"\"", "\"\\t%@ int\"", "\"\"", "\"\""], "File": "arm4", "Func": "output_move_vfp", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3295, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "type_suffix_index", "long_type_suffix", "(", "function_resolver", "&", "r", ",", "type_suffix_index", "type", ")", "{", "unsigned", "int", "element_bits", "=", "type_suffixes", "[", "type", "]", ".", "element_bits", ";", "if", "(", "type_suffixes", "[", "type", "]", ".", "integer_p", "&&", "element_bits", "<", "64", ")", "return", "find_type_suffix", "(", "type_suffixes", "[", "type", "]", ".", "tclass", ",", "element_bits", "*", "2", ")", ";", "r", ".", "report_no_such_form", "(", "type", ")", ";", "return", "NUM_TYPE_SUFFIXES", ";", "}", ""], "natrual_language": ["TYPE", "is", "the", "largest", "type", "suffix", "associated", "with", "the", "arguments", "of", "R", ",", "but", "the", "result", "is", "twice", "as", "wide", ".", "Return", "the", "associated", "type", "suffix", "if", "it", "exists", ",", "otherwise", "report", "an", "appropriate", "error", "and", "return", "NUM_TYPE_SUFFIXES", "."], "TS_V_token": ["aarch64", "64", "2"], "File": "aarch64-sve-builtins-shapes", "Func": "long_type_suffix", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3296, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "override", "{", "return", "createLC3ELFObjectWriter", "(", "OS", ",", "OSABI", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["LC3", "LC3"], "File": "LC3AsmBackend", "Func": "createObjectWriter", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3297, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "ArrayRef", "<", "Register", ">>", "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", "(", ")", ")", ".", "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": "AArch64CallLowering57", "Func": "lowerFormalArguments", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3298, "Length": 467, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "som_output_comdat_data_section_asm_op", "(", "const", "char", "*", "data", ")", "{", "in_section", "=", "NULL", ";", "output_section_asm_op", "(", "data", ")", ";", "}", ""], "natrual_language": ["A", "get_unnamed_section", "callback", "for", "switching", "to", "comdat", "data", "sections", ".", "This", "function", "is", "only", "used", "with", "SOM", "."], "TS_V_token": ["pa"], "File": "pa", "Func": "som_output_comdat_data_section_asm_op", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3299, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_addr_space_zero_address_valid", "(", "addr_space_t", "as", ")", "{", "return", "as", "!=", "ADDR_SPACE_GENERIC", ";", "}", ""], "natrual_language": ["All", "use", "of", "segmentation", "is", "assumed", "to", "make", "address", "0", "valid", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_addr_space_zero_address_valid", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3300, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["TOY"], "File": "TOYAsmBackend", "Func": "writeNopData", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3301, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "iq2000_emit_frame_related_store", "(", "rtx", "mem", ",", "rtx", "reg", ",", "HOST_WIDE_INT", "offset", ")", "{", "rtx", "dwarf_address", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ";", "rtx", "dwarf_mem", "=", "gen_rtx_MEM", "(", "GET_MODE", "(", "reg", ")", ",", "dwarf_address", ")", ";", "iq2000_annotate_frame_insn", "(", "emit_move_insn", "(", "mem", ",", "reg", ")", ",", "gen_rtx_SET", "(", "dwarf_mem", ",", "reg", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "move", "instruction", "that", "stores", "REG", "in", "MEM", ".", "Make", "the", "instruction", "frame", "related", "and", "note", "that", "it", "stores", "REG", "at", "(", "SP", "+", "OFFSET", ")", "."], "TS_V_token": ["iq2000"], "File": "iq2000", "Func": "iq2000_emit_frame_related_store", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3302, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "SystemZHazardRecognizer", "::", "resourcesCost", "(", "SUnit", "*", "SU", ")", "{", "int", "Cost", "=", "0", ";", "const", "MCSchedClassDesc", "*", "SC", "=", "getSchedClass", "(", "SU", ")", ";", "if", "(", "!", "SC", "->", "isValid", "(", ")", ")", "return", "0", ";", "if", "(", "SU", "->", "isUnbuffered", ")", "Cost", "=", "(", "isFPdOpPreferred_distance", "(", "SU", ")", "?", "INT_MIN", ":", "INT_MAX", ")", ";", "else", "if", "(", "CriticalResourceIdx", "!=", "UINT_MAX", ")", "{", "for", "(", "TargetSchedModel", "::", "ProcResIter", "PI", "=", "SchedModel", "->", "getWriteProcResBegin", "(", "SC", ")", ",", "PE", "=", "SchedModel", "->", "getWriteProcResEnd", "(", "SC", ")", ";", "PI", "!=", "PE", ";", "++", "PI", ")", "if", "(", "PI", "->", "ProcResourceIdx", "==", "CriticalResourceIdx", ")", "Cost", "=", "PI", "->", "Cycles", ";", "}", "return", "Cost", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "SU", "in", "regards", "to", "processor", "resources", "usage", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "0"], "File": "SystemZHazardRecognizer", "Func": "resourcesCost", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3303, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "parse_type", "(", "const", "function_instance", "&", "instance", ",", "const", "char", "*", "&", "format", ")", "{", "int", "ch", "=", "*", "format", "++", ";", "if", "(", "ch", "==", "'_'", ")", "return", "void_type_node", ";", "if", "(", "ch", "==", "'a'", ")", "{", "ch", "=", "*", "format", "++", ";", "if", "(", "ch", "==", "'l'", ")", "return", "build_const_pointer", "(", "instance", ".", "memory_scalar_type", "(", ")", ")", ";", "if", "(", "ch", "==", "'p'", ")", "return", "const_ptr_type_node", ";", "if", "(", "ch", "==", "'s'", ")", "return", "build_pointer_type", "(", "instance", ".", "memory_scalar_type", "(", ")", ")", ";", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "ch", "==", "'b'", ")", "return", "instance", ".", "base_vector_type", "(", ")", ";", "if", "(", "ch", "==", "'d'", ")", "return", "instance", ".", "displacement_vector_type", "(", ")", ";", "if", "(", "ch", "==", "'e'", ")", "{", "if", "(", "strncmp", "(", "format", ",", "\"pattern\"", ",", "7", ")", "==", "0", ")", "{", "format", "+=", "7", ";", "return", "acle_svpattern", ";", "}", "if", "(", "strncmp", "(", "format", ",", "\"prfop\"", ",", "5", ")", "==", "0", ")", "{", "format", "+=", "5", ";", "return", "acle_svprfop", ";", "}", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "ch", "==", "'s'", ")", "{", "type_suffix_index", "suffix", "=", "parse_element_type", "(", "instance", ",", "format", ")", ";", "return", "scalar_types", "[", "type_suffixes", "[", "suffix", "]", ".", "vector_type", "]", ";", "}", "if", "(", "ch", "==", "'t'", ")", "{", "type_suffix_index", "suffix", "=", "parse_element_type", "(", "instance", ",", "format", ")", ";", "vector_type_index", "vector_type", "=", "type_suffixes", "[", "suffix", "]", ".", "vector_type", ";", "unsigned", "int", "num_vectors", "=", "instance", ".", "vectors_per_tuple", "(", ")", ";", "return", "acle_vector_types", "[", "num_vectors", "-", "1", "]", "[", "vector_type", "]", ";", "}", "if", "(", "ch", "==", "'v'", ")", "{", "type_suffix_index", "suffix", "=", "parse_element_type", "(", "instance", ",", "format", ")", ";", "return", "acle_vector_types", "[", "0", "]", "[", "type_suffixes", "[", "suffix", "]", ".", "vector_type", "]", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Read", "and", "return", "a", "type", "from", "FORMAT", "for", "function", "INSTANCE", ".", "Advance", "FORMAT", "beyond", "the", "type", "string", ".", "The", "format", "is", ":", "_", "-", "void", "al", "-", "array", "pointer", "for", "loads", "ap", "-", "array", "pointer", "for", "prefetches", "as", "-", "array", "pointer", "for", "stores", "b", "-", "base", "vector", "type", "(", "from", "a", "_", "<", "m0", ">", "base", "suffix", ")", "d", "-", "displacement", "vector", "type", "(", "from", "a", "_", "<", "m1", ">", "index", "or", "_", "<", "m1", ">", "offset", "suffix", ")", "e", "<", "name", ">", "-", "an", "enum", "with", "the", "given", "name", "s", "<", "elt", ">", "-", "a", "scalar", "type", "with", "the", "given", "element", "suffix", "t", "<", "elt", ">", "-", "a", "vector", "or", "tuple", "type", "with", "given", "element", "suffix", "[", "*", "1", "]", "v", "<", "elt", ">", "-", "a", "vector", "with", "the", "given", "element", "suffix", "where", "<", "elt", ">", "has", "the", "format", "described", "above", "parse_element_type", "[", "*", "1", "]", "the", "vectors_per_tuple", "function", "indicates", "whether", "the", "type", "should", "be", "a", "tuple", ",", "and", "if", "so", ",", "how", "many", "vectors", "it", "should", "contain", "."], "TS_V_token": ["aarch64", "\"pattern\"", "7", "0", "7", "\"prfop\"", "5", "0", "5", "1", "0"], "File": "aarch64-sve-builtins-shapes", "Func": "parse_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3304, "Length": 288, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "gen_safe_HIGH64", "(", "rtx", "dest", ",", "HOST_WIDE_INT", "val", ")", "{", "return", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "GEN_INT", "(", "val", "&", "~", "(", "HOST_WIDE_INT", ")", "0x3ff", ")", ")", ";", "}", ""], "natrual_language": ["The", "optimizer", "is", "not", "to", "assume", "anything", "about", "exactly", "which", "bits", "are", "set", "for", "a", "HIGH", ",", "they", "are", "unspecified", ".", "Unfortunately", "this", "leads", "to", "many", "missed", "optimizations", "during", "CSE", ".", "We", "mask", "out", "the", "non-HIGH", "bits", ",", "and", "matches", "a", "plain", "movdi", ",", "to", "alleviate", "this", "problem", "."], "TS_V_token": ["sparc", "0x3ff"], "File": "sparc3", "Func": "gen_safe_HIGH64", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3305, "Length": 31, "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", ")", ";", "unsigned", "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", "(", ")", ";", "unsigned", "SrcReg", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "unsigned", "SrcEvenReg", "=", "getSubReg", "(", "SrcReg", ",", "SP", "::", "sub_even64", ")", ";", "unsigned", "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", ",", "II", ",", "*", "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", "(", ")", ";", "unsigned", "DestReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "unsigned", "DestEvenReg", "=", "getSubReg", "(", "DestReg", ",", "SP", "::", "sub_even64", ")", ";", "unsigned", "DestOddReg", "=", "getSubReg", "(", "DestReg", ",", "SP", "::", "sub_odd64", ")", ";", "MachineInstr", "*", "StMI", "=", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "LDDFri", ")", ",", "DestEvenReg", ")", ".", "addReg", "(", "FrameReg", ")", ".", "addImm", "(", "0", ")", ";", "replaceFI", "(", "MF", ",", "II", ",", "*", "StMI", ",", "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": "SparcRegisterInfo (2)", "Func": "eliminateFrameIndex", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3306, "Length": 476, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "MipsTargetLowering", "::", "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_Mips", ")", ";", "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": ["Mips", "Mips", "16", "Mips", "8", "0", "1", "2", "0", "ISD::MERGE_VALUES", "0"], "File": "MipsISelLowering35", "Func": "LowerCallResult", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3307, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AsmPrinter", "::", "getAnalysisUsage", "(", "AU", ")", ";", "AU", ".", "setPreservesAll", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AArch64"], "File": "AArch64AsmPrinter (2)", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3308, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "ARMTTIImpl", "::", "getArithmeticReductionCost", "(", "unsigned", "Opcode", ",", "VectorType", "*", "ValTy", ",", "bool", "IsPairwiseForm", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "EVT", "ValVT", "=", "TLI", "->", "getValueType", "(", "DL", ",", "ValTy", ")", ";", "int", "ISD", "=", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", ";", "if", "(", "!", "ST", "->", "hasMVEIntegerOps", "(", ")", "||", "!", "ValVT", ".", "isSimple", "(", ")", "||", "ISD", "!=", "ISD", "::", "ADD", ")", "return", "BaseT", "::", "getArithmeticReductionCost", "(", "Opcode", ",", "ValTy", ",", "IsPairwiseForm", ",", "CostKind", ")", ";", "std", "::", "pair", "<", "InstructionCost", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "ValTy", ")", ";", "static", "const", "CostTblEntry", "CostTblAdd", "[", "]", "{", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v16i8", ",", "1", "}", ",", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v8i16", ",", "1", "}", ",", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v4i32", ",", "1", "}", ",", "}", ";", "if", "(", "const", "auto", "*", "Entry", "=", "CostTableLookup", "(", "CostTblAdd", ",", "ISD", ",", "LT", ".", "second", ")", ")", "return", "Entry", "->", "Cost", "*", "ST", "->", "getMVEVectorCostFactor", "(", "CostKind", ")", "*", "LT", ".", "first", ";", "return", "BaseT", "::", "getArithmeticReductionCost", "(", "Opcode", ",", "ValTy", ",", "IsPairwiseForm", ",", "CostKind", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "vector", "reduction", "intrinsics", "."], "TS_V_token": ["ARM", "ARM", "ISD::ADD", "ISD::ADD", "MVT::v16i8", "1", "ISD::ADD", "MVT::v8i16", "1", "ISD::ADD", "MVT::v4i32", "1"], "File": "ARMTargetTransformInfo54", "Func": "getArithmeticReductionCost", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3309, "Length": 192, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_frame_related", "(", "rtx", "insn", ",", "rtx", "reg", ",", "HOST_WIDE_INT", "val", ",", "rtx", "reg2", ",", "rtx", "rreg", ")", "{", "rtx", "real", ",", "temp", ";", "if", "(", "reg", "==", "reg2", ")", "reg", "=", "gen_raw_REG", "(", "GET_MODE", "(", "reg", ")", ",", "REGNO", "(", "reg", ")", ")", ";", "if", "(", "reg", "==", "rreg", ")", "reg", "=", "gen_raw_REG", "(", "GET_MODE", "(", "reg", ")", ",", "REGNO", "(", "reg", ")", ")", ";", "real", "=", "copy_rtx", "(", "PATTERN", "(", "insn", ")", ")", ";", "if", "(", "reg2", "!=", "NULL_RTX", ")", "real", "=", "replace_rtx", "(", "real", ",", "reg2", ",", "rreg", ")", ";", "real", "=", "replace_rtx", "(", "real", ",", "reg", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "gen_rtx_REG", "(", "Pmode", ",", "STACK_POINTER_REGNUM", ")", ",", "GEN_INT", "(", "val", ")", ")", ")", ";", "if", "(", "GET_CODE", "(", "real", ")", "==", "SET", ")", "{", "rtx", "set", "=", "real", ";", "temp", "=", "simplify_rtx", "(", "SET_SRC", "(", "set", ")", ")", ";", "if", "(", "temp", ")", "SET_SRC", "(", "set", ")", "=", "temp", ";", "temp", "=", "simplify_rtx", "(", "SET_DEST", "(", "set", ")", ")", ";", "if", "(", "temp", ")", "SET_DEST", "(", "set", ")", "=", "temp", ";", "if", "(", "GET_CODE", "(", "SET_DEST", "(", "set", ")", ")", "==", "MEM", ")", "{", "temp", "=", "simplify_rtx", "(", "XEXP", "(", "SET_DEST", "(", "set", ")", ",", "0", ")", ")", ";", "if", "(", "temp", ")", "XEXP", "(", "SET_DEST", "(", "set", ")", ",", "0", ")", "=", "temp", ";", "}", "}", "else", "{", "int", "i", ";", "gcc_assert", "(", "GET_CODE", "(", "real", ")", "==", "PARALLEL", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "XVECLEN", "(", "real", ",", "0", ")", ";", "i", "++", ")", "if", "(", "GET_CODE", "(", "XVECEXP", "(", "real", ",", "0", ",", "i", ")", ")", "==", "SET", ")", "{", "rtx", "set", "=", "XVECEXP", "(", "real", ",", "0", ",", "i", ")", ";", "temp", "=", "simplify_rtx", "(", "SET_SRC", "(", "set", ")", ")", ";", "if", "(", "temp", ")", "SET_SRC", "(", "set", ")", "=", "temp", ";", "temp", "=", "simplify_rtx", "(", "SET_DEST", "(", "set", ")", ")", ";", "if", "(", "temp", ")", "SET_DEST", "(", "set", ")", "=", "temp", ";", "if", "(", "GET_CODE", "(", "SET_DEST", "(", "set", ")", ")", "==", "MEM", ")", "{", "temp", "=", "simplify_rtx", "(", "XEXP", "(", "SET_DEST", "(", "set", ")", ",", "0", ")", ")", ";", "if", "(", "temp", ")", "XEXP", "(", "SET_DEST", "(", "set", ")", ",", "0", ")", "=", "temp", ";", "}", "RTX_FRAME_RELATED_P", "(", "set", ")", "=", "1", ";", "}", "}", "if", "(", "TARGET_SPE", ")", "real", "=", "spe_synthesize_frame_save", "(", "real", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "REG_NOTES", "(", "insn", ")", "=", "gen_rtx_EXPR_LIST", "(", "REG_FRAME_RELATED_EXPR", ",", "real", ",", "REG_NOTES", "(", "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", "0", "0", "0", "1", "1"], "File": "rs60003", "Func": "rs6000_frame_related", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3310, "Length": 417, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_vector_mode_supported_p", "(", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_FPU_ANY", "&&", "(", "(", "mode", "==", "V2SFmode", ")", "||", "(", "mode", "==", "V4SFmode", ")", "||", "(", "mode", "==", "V16SFmode", ")", ")", ")", "return", "true", ";", "else", "if", "(", "TARGET_SHMEDIA", "&&", "(", "(", "mode", "==", "V8QImode", ")", "||", "(", "mode", "==", "V2HImode", ")", "||", "(", "mode", "==", "V4HImode", ")", "||", "(", "mode", "==", "V2SImode", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implements", "target", "hook", "vector_mode_supported_p", "."], "TS_V_token": ["sh"], "File": "sh4", "Func": "sh_vector_mode_supported_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3311, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "SmallVector", "<", "MachineInstr", "*", ",", "4", ">", "NewMIs", ";", "PPCFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", ";", "FuncInfo", "->", "setHasSpills", "(", ")", ";", "bool", "NonRI", "=", "false", ",", "SpillsVRS", "=", "false", ";", "if", "(", "StoreRegToStackSlot", "(", "MF", ",", "SrcReg", ",", "isKill", ",", "FrameIdx", ",", "RC", ",", "NewMIs", ",", "NonRI", ",", "SpillsVRS", ")", ")", "FuncInfo", "->", "setSpillsCR", "(", ")", ";", "if", "(", "SpillsVRS", ")", "FuncInfo", "->", "setSpillsVRSAVE", "(", ")", ";", "if", "(", "NonRI", ")", "FuncInfo", "->", "setHasNonRISpills", "(", ")", ";", "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", "(", "MF", ",", "FrameIdx", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FrameIdx", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FrameIdx", ")", ")", ";", "NewMIs", ".", "back", "(", ")", "->", "addMemOperand", "(", "MF", ",", "MMO", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["PowerPC", "PPC", "4", "PPC", "PPC", "0"], "File": "PPCInstrInfo100", "Func": "storeRegToStackSlot", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3312, "Length": 225, "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", "&&", "TARGET_FPRS", ")", "regno", "=", "(", "mode", "==", "TDmode", ")", "?", "FP_ARG_RETURN", "+", "1", ":", "FP_ARG_RETURN", ";", "else", "if", "(", "SCALAR_FLOAT_TYPE_P", "(", "valtype", ")", "&&", "TARGET_HARD_FLOAT", "&&", "TARGET_FPRS", "&&", "!", "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", "if", "(", "TARGET_E500_DOUBLE", "&&", "TARGET_HARD_FLOAT", "&&", "(", "mode", "==", "DFmode", "||", "mode", "==", "DCmode", "||", "FLOAT128_IBM_P", "(", "mode", ")", "||", "mode", "==", "TCmode", ")", ")", "return", "spe_build_register_parallel", "(", "mode", ",", "GP_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": ["powerpcspe", "0", "1", "7", "3", "1", "4", "1", "32", "64", "1"], "File": "powerpcspe", "Func": "rs6000_function_value", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3313, "Length": 428, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsTargetLowering", "*", "getTLI", "(", ")", "const", "{", "return", "TLI", ";", "}", ""], "natrual_language": ["Getter", "for", "generic", "TargetLowering", "class", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsTargetTransformInfo", "Func": "getTLI", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3314, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "insertEdge", "(", "unsigned", "Reg", ")", "{", "return", "Edges", ".", "insert", "(", "Reg", ")", ".", "second", ";", "}", ""], "natrual_language": ["Update", "the", "call", "graph", "after", "inserting", "a", "new", "edge", "."], "TS_V_token": ["X86"], "File": "X86DomainReassignment", "Func": "insertEdge", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3315, "Length": 18, "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": 3316, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mmix_asm_output_reg_pop", "(", "FILE", "*", "stream", ",", "int", "regno", ")", "{", "fprintf", "(", "stream", ",", "\"\\tLDOU %s,%s,0\\n\\tINCL %s,8\\n\"", ",", "reg_names", "[", "MMIX_OUTPUT_REGNO", "(", "regno", ")", "]", ",", "reg_names", "[", "MMIX_STACK_POINTER_REGNUM", "]", ",", "reg_names", "[", "MMIX_STACK_POINTER_REGNUM", "]", ")", ";", "}", ""], "natrual_language": ["ASM_OUTPUT_REG_POP", "."], "TS_V_token": ["mmix", "\"\\tLDOU %s,%s,0\\n\\tINCL %s,8\\n\""], "File": "mmix", "Func": "mmix_asm_output_reg_pop", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3317, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "MCFixupKind", ">", "ARMAsmBackend", "::", "getFixupKind", "(", "StringRef", "Name", ")", "const", "{", "if", "(", "STI", ".", "getTargetTriple", "(", ")", ".", "isOSBinFormatELF", "(", ")", "&&", "Name", "==", "\"R_ARM_NONE\"", ")", "return", "FK_NONE", ";", "return", "MCAsmBackend", "::", "getFixupKind", "(", "Name", ")", ";", "}", ""], "natrual_language": ["getFixupKind", "-", "Get", "the", "fixup", "kind", "of", "this", "expression", "."], "TS_V_token": ["ARM", "ARM", "\"R_ARM_NONE\""], "File": "ARMAsmBackend27", "Func": "getFixupKind", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3318, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 Domain Reassignment Pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 Domain Reassignment Pass\""], "File": "X86DomainReassignment", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3319, "Length": 11, "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": ["X86"], "File": "X86MachineFunctionInfo (2)", "Func": "getGlobalBaseReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3320, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "MachineModuleInfo", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["Mips"], "File": "MipsCodeEmitter11", "Func": "getAnalysisUsage", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3321, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsPassConfig", "::", "addIRPasses", "(", ")", "{", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "addPass", "(", "createAtomicExpandPass", "(", "&", "getMipsTargetMachine", "(", ")", ")", ")", ";", "if", "(", "getMipsSubtarget", "(", ")", ".", "os16", "(", ")", ")", "addPass", "(", "createMipsOs16Pass", "(", "getMipsTargetMachine", "(", ")", ")", ")", ";", "if", "(", "getMipsSubtarget", "(", ")", ".", "inMips16HardFloat", "(", ")", ")", "addPass", "(", "createMips16HardFloatPass", "(", "getMipsTargetMachine", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsTargetMachine2", "Func": "addIRPasses", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3322, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "return", "true", ";", "printAddrMode2Operand", "(", "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": ["ARM", "ARM", "0"], "File": "ARMAsmPrinter31", "Func": "PrintAsmMemoryOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3323, "Length": 45, "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": 3324, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstrBuilder", "MipsInstrInfo", "::", "insertNop", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "DebugLoc", "DL", ")", "const", "{", "assert", "(", "!", "Subtarget", ".", "inMips16Mode", "(", ")", "&&", "\"insertNop does not support MIPS16e mode at this time\"", ")", ";", "const", "unsigned", "MMOpc", "=", "Subtarget", ".", "hasMips32r6", "(", ")", "?", "Mips", "::", "SLL_MMR6", ":", "Mips", "::", "SLL_MM", ";", "const", "unsigned", "Opc", "=", "Subtarget", ".", "inMicroMipsMode", "(", ")", "?", "MMOpc", ":", "Mips", "::", "SLL", ";", "return", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opc", ")", ",", "Mips", "::", "ZERO", ")", ".", "addReg", "(", "Mips", "::", "ZERO", ")", ".", "addImm", "(", "0", ")", ";", "}", ""], "natrual_language": ["Insert", "an", "ISA", "appropriate", "nop", "."], "TS_V_token": ["Mips", "Mips", "Mips", "\"insertNop does not support MIPS16e mode at this time\"", "Mips", "Mips::SLL_MMR6", "Mips::SLL_MM", "Mips", "Mips::SLL", "Mips::ZERO", "Mips::ZERO", "0"], "File": "MipsInstrInfo35", "Func": "insertNop", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3325, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isThumb", "(", ")", "const", "{", "return", "InThumbMode", ";", "}", ""], "natrual_language": ["Tests", "whether", "the", "target", "is", "Thumb", "(", "little", "and", "big", "endian", ")", "."], "TS_V_token": ["ARM"], "File": "ARMSubtarget (2)", "Func": "isThumb", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3326, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mmix_option_override", "(", "void", ")", "{", "if", "(", "flag_pic", ")", "{", "warning", "(", "0", ",", "\"%<-f%s%> not supported: ignored\"", ",", "(", "flag_pic", ">", "1", ")", "?", "\"PIC\"", ":", "\"pic\"", ")", ";", "flag_pic", "=", "0", ";", "}", "if", "(", "flag_verbose_asm", "||", "flag_debug_asm", "||", "flag_dump_rtl_in_asm", ")", "{", "targetm", ".", "asm_out", ".", "byte_op", "=", "\"\\t.byte\\t\"", ";", "targetm", ".", "asm_out", ".", "aligned_op", ".", "hi", "=", "\"\\t.short\\t\"", ";", "targetm", ".", "asm_out", ".", "aligned_op", ".", "si", "=", "\"\\t.long\\t\"", ";", "targetm", ".", "asm_out", ".", "aligned_op", ".", "di", "=", "\"\\t.dc.a\\t\"", ";", "}", "}", ""], "natrual_language": ["TARGET_OPTION_OVERRIDE", "."], "TS_V_token": ["mmix", "0", "\"%<-f%s%> not supported: ignored\"", "1", "\"PIC\"", "\"pic\"", "0", "\"\\t.byte\\t\"", "\"\\t.short\\t\"", "\"\\t.long\\t\"", "\"\\t.dc.a\\t\""], "File": "mmix", "Func": "mmix_option_override", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3327, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_emit_sve_pred_move", "(", "rtx", "dest", ",", "rtx", "pred", ",", "rtx", "src", ")", "{", "expand_operand", "ops", "[", "3", "]", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "create_output_operand", "(", "&", "ops", "[", "0", "]", ",", "dest", ",", "mode", ")", ";", "create_input_operand", "(", "&", "ops", "[", "1", "]", ",", "pred", ",", "GET_MODE", "(", "pred", ")", ")", ";", "create_input_operand", "(", "&", "ops", "[", "2", "]", ",", "src", ",", "mode", ")", ";", "temporary_volatile_ok", "v", "(", "true", ")", ";", "expand_insn", "(", "code_for_aarch64_pred_mov", "(", "mode", ")", ",", "3", ",", "ops", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "SVE", "predicated", "move", "from", "SRC", "to", "DEST", ".", "PRED", "is", "a", "predicate", "that", "is", "known", "to", "contain", "PTRUE", "."], "TS_V_token": ["aarch64", "3", "0", "1", "2", "3"], "File": "aarch64", "Func": "aarch64_emit_sve_pred_move", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3328, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsInstrInfo", "::", "SafeInForbiddenSlot", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "MI", ".", "isInlineAsm", "(", ")", ")", "return", "false", ";", "return", "(", "MI", ".", "getDesc", "(", ")", ".", "TSFlags", "&", "MipsII", "::", "IsCTI", ")", "==", "0", ";", "}", ""], "natrual_language": ["Predicate", "to", "determine", "if", "an", "instruction", "can", "go", "in", "a", "forbidden", "slot", "."], "TS_V_token": ["Mips", "Mips", "MipsII::IsCTI", "0"], "File": "MipsInstrInfo (2)", "Func": "SafeInForbiddenSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3329, "Length": 41, "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_p", ",", "int", "*", "pregno", ",", "int", "*", "ppadding", ")", "{", "int", "regbase", "=", "(", "incoming_p", "?", "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", ")", "!=", "VECTOR_TYPE", "&&", "TREE_CODE", "(", "type", ")", "!=", "RECORD_TYPE", ")", ")", "{", "if", "(", "slotno", ">=", "SPARC_INT_ARG_MAX", ")", "return", "-", "1", ";", "regno", "=", "regbase", "+", "slotno", ";", "}", "else", "{", "int", "intregs_p", "=", "0", ",", "fpregs_p", "=", "0", ",", "packed_p", "=", "0", ";", "if", "(", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", ")", "fpregs_p", "=", "1", ";", "else", "scan_record_type", "(", "type", ",", "&", "intregs_p", ",", "&", "fpregs_p", ",", "&", "packed_p", ")", ";", "if", "(", "packed_p", "||", "!", "named", ")", "fpregs_p", "=", "0", ",", "intregs_p", "=", "1", ";", "if", "(", "fpregs_p", "&&", "slotno", ">=", "SPARC_FP_ARG_MAX", ")", "return", "-", "1", ";", "if", "(", "!", "fpregs_p", "&&", "intregs_p", "&&", "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", "0", "0", "0", "1", "0", "1", "1", "1"], "File": "sparc4", "Func": "function_arg_slotno", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3330, "Length": 436, "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", ")", "{", "if", "(", "NO_PROFILE_COUNTERS", ")", "emit_library_call", "(", "init_one_libfunc", "(", "RS6000_MCOUNT", ")", ",", "0", ",", "VOIDmode", ",", "0", ")", ";", "else", "{", "char", "buf", "[", "30", "]", ";", "const", "char", "*", "label_name", ";", "rtx", "fun", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "buf", ",", "\"LP\"", ",", "labelno", ")", ";", "label_name", "=", "(", "*", "targetm", ".", "strip_name_encoding", ")", "(", "ggc_strdup", "(", "buf", ")", ")", ";", "fun", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "label_name", ")", ";", "emit_library_call", "(", "init_one_libfunc", "(", "RS6000_MCOUNT", ")", ",", "0", ",", "VOIDmode", ",", "1", ",", "fun", ",", "Pmode", ")", ";", "}", "}", "else", "if", "(", "DEFAULT_ABI", "==", "ABI_DARWIN", ")", "{", "const", "char", "*", "mcount_name", "=", "RS6000_MCOUNT", ";", "int", "caller_addr_regno", "=", "LINK_REGISTER_REGNUM", ";", "current_function_uses_pic_offset_table", "=", "1", ";", "if", "(", "MACHOPIC_INDIRECT", "&&", "current_function_uses_pic_offset_table", ")", "caller_addr_regno", "=", "0", ";", "emit_library_call", "(", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "mcount_name", ")", ",", "0", ",", "VOIDmode", ",", "1", ",", "gen_rtx_REG", "(", "Pmode", ",", "caller_addr_regno", ")", ",", "Pmode", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "profile", "function", "."], "TS_V_token": ["rs6000", "0", "0", "30", "\"LP\"", "0", "1", "1", "0", "0", "1"], "File": "rs60003", "Func": "output_profile_hook", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3331, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "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"], "File": "X86FrameLowering130", "Func": "determineCalleeSaves", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3332, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mep_get_intrinsic_insn", "(", "int", "intrinsic", "ATTRIBUTE_UNUSED", ",", "const", "struct", "cgen_insn", "*", "*", "insn_ptr", "ATTRIBUTE_UNUSED", ")", "{", "int", "i", ";", "i", "=", "mep_intrinsic_insn", "[", "intrinsic", "]", ";", "while", "(", "i", ">=", "0", "&&", "!", "CGEN_ENABLE_INSN_P", "(", "i", ")", ")", "i", "=", "mep_intrinsic_chain", "[", "i", "]", ";", "if", "(", "i", ">=", "0", ")", "{", "*", "insn_ptr", "=", "&", "cgen_insns", "[", "i", "]", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["See", "if", "any", "implementation", "of", "INTRINSIC", "is", "available", "to", "the", "current", "function", ".", "If", "so", ",", "store", "the", "most", "general", "implementation", "in", "*", "INSN_PTR", "and", "return", "true", ".", "Return", "false", "otherwise", "."], "TS_V_token": ["mep", "0", "0"], "File": "mep", "Func": "mep_get_intrinsic_insn", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3333, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isLegalAddressingMode", "(", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ")", "const", "{", "CodeModel", "::", "Model", "M", "=", "getTargetMachine", "(", ")", ".", "getCodeModel", "(", ")", ";", "Reloc", "::", "Model", "R", "=", "getTargetMachine", "(", ")", ".", "getRelocationModel", "(", ")", ";", "if", "(", "!", "X86", "::", "isOffsetSuitableForCodeModel", "(", "AM", ".", "BaseOffs", ",", "M", ",", "AM", ".", "BaseGV", "!=", "NULL", ")", ")", "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)1", "Func": "isLegalAddressingMode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3334, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_arg_partial_bytes", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "bool", "named", ")", "{", "int", "ret", "=", "0", ";", "int", "align_words", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", ")", "return", "0", ";", "if", "(", "USE_ALTIVEC_FOR_ARG_P", "(", "cum", ",", "mode", ",", "type", ",", "named", ")", "&&", "cum", "->", "nargs_prototype", ">=", "0", ")", "return", "0", ";", "if", "(", "rs6000_darwin64_abi", "&&", "mode", "==", "BLKmode", "&&", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", "&&", "int_size_in_bytes", "(", "type", ")", ">", "0", ")", "return", "0", ";", "align_words", "=", "rs6000_parm_start", "(", "mode", ",", "type", ",", "cum", "->", "words", ")", ";", "if", "(", "USE_FP_FOR_ARG_P", "(", "cum", ",", "mode", ",", "type", ")", "&&", "!", "(", "type", "&&", "(", "cum", "->", "nargs_prototype", "<=", "0", "||", "(", "DEFAULT_ABI", "==", "ABI_AIX", "&&", "TARGET_XL_COMPAT", "&&", "align_words", ">=", "GP_ARG_NUM_REG", ")", ")", ")", ")", "{", "if", "(", "cum", "->", "fregno", "+", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "7", ")", ">>", "3", ")", ">", "FP_ARG_MAX_REG", "+", "1", ")", "ret", "=", "(", "FP_ARG_MAX_REG", "+", "1", "-", "cum", "->", "fregno", ")", "*", "8", ";", "else", "if", "(", "cum", "->", "nargs_prototype", ">=", "0", ")", "return", "0", ";", "}", "if", "(", "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", "0", "0", "0", "0", "7", "3", "1", "1", "8", "0", "0", "4", "8", "0", "\"rs6000_arg_partial_bytes: %d\\n\""], "File": "rs60003", "Func": "rs6000_arg_partial_bytes", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3335, "Length": 237, "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": 3336, "Length": 24, "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": 3337, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MINA32AsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["MINA32", "MINA32"], "File": "MINA32AsmBackend", "Func": "writeNopData", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3338, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_add_new_builtins", "(", "HOST_WIDE_INT", "isa", ",", "HOST_WIDE_INT", "isa2", ")", "{", "isa", "&=", "~", "OPTION_MASK_ISA_64BIT", ";", "if", "(", "(", "isa", "&", "deferred_isa_values", ")", "==", "0", "&&", "(", "isa2", "&", "deferred_isa_values2", ")", "==", "0", "&&", "(", "(", "deferred_isa_values", "&", "OPTION_MASK_ISA_MMX", ")", "==", "0", "||", "!", "(", "TARGET_64BIT", "&&", "(", "isa", "&", "OPTION_MASK_ISA_SSE2", ")", "!=", "0", ")", ")", ")", "return", ";", "deferred_isa_values", "&=", "~", "isa", ";", "deferred_isa_values2", "&=", "~", "isa2", ";", "if", "(", "TARGET_64BIT", "&&", "(", "isa", "&", "OPTION_MASK_ISA_SSE2", ")", "!=", "0", ")", "deferred_isa_values", "&=", "~", "OPTION_MASK_ISA_MMX", ";", "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", "]", ".", "isa", "&", "OPTION_MASK_ISA_MMX", ")", "!=", "0", "&&", "TARGET_64BIT", "&&", "(", "isa", "&", "OPTION_MASK_ISA_SSE2", ")", "!=", "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", "]", ".", "pure_p", ")", "DECL_PURE_P", "(", "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", "0", "0", "0", "0", "0", "1", "1"], "File": "i386-builtins1", "Func": "ix86_add_new_builtins", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3339, "Length": 271, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "Cpu0InstrInfo", "*", "getInstrInfo", "(", ")", "{", "return", "getTargetMachine", "(", ")", ".", "getInstrInfo", "(", ")", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["Cpu0", "Cpu0"], "File": "Cpu0ISelDAGToDAG1", "Func": "getInstrInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3340, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "BuildSDIVPow2", "(", "SDNode", "*", "N", ",", "const", "APInt", "&", "Divisor", ",", "SelectionDAG", "&", "DAG", ",", "std", "::", "vector", "<", "SDNode", "*", ">", "*", "Created", ")", "const", "{", "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", "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)1", "Func": "BuildSDIVPow2", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3341, "Length": 329, "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", "}", ";", "setArgFlags", "(", "OrigArg", ",", "i", "+", "AttributeList", "::", "FirstArgIndex", ",", "DL", ",", "F", ")", ";", "if", "(", "Arg", ".", "hasAttribute", "(", "Attribute", "::", "SwiftAsync", ")", ")", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", "->", "setHasSwiftAsyncContext", "(", "true", ")", ";", "splitToValueTypes", "(", "OrigArg", ",", "SplitArgs", ",", "DL", ",", "F", ".", "getCallingConv", "(", ")", ")", ";", "++", "i", ";", "}", "if", "(", "!", "MBB", ".", "empty", "(", ")", ")", "MIRBuilder", ".", "setInstr", "(", "*", "MBB", ".", "begin", "(", ")", ")", ";", "const", "AArch64TargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "AArch64TargetLowering", ">", "(", ")", ";", "CCAssignFn", "*", "AssignFn", "=", "TLI", ".", "CCAssignFnForCall", "(", "F", ".", "getCallingConv", "(", ")", ",", "false", ")", ";", "AArch64IncomingValueAssigner", "Assigner", "(", "AssignFn", ",", "AssignFn", ")", ";", "FormalArgHandler", "Handler", "(", "MIRBuilder", ",", "MRI", ")", ";", "if", "(", "!", "determineAndHandleAssignments", "(", "Handler", ",", "Assigner", ",", "SplitArgs", ",", "MIRBuilder", ",", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ")", ")", "return", "false", ";", "AArch64FunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "uint64_t", "StackOffset", "=", "Assigner", ".", "StackOffset", ";", "if", "(", "F", ".", "isVarArg", "(", ")", ")", "{", "auto", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ";", "if", "(", "!", "Subtarget", ".", "isTargetDarwin", "(", ")", ")", "{", "return", "false", ";", "}", "StackOffset", "=", "alignTo", "(", "Assigner", ".", "StackOffset", ",", "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", "AArch64", "4", "8", "4", "16", "AArch64"], "File": "AArch64CallLowering30", "Func": "lowerFormalArguments", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3342, "Length": 485, "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": 3343, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"ARM64 Collect Linker Optimization Hint (LOH)\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM64", "\"ARM64 Collect Linker Optimization Hint (LOH)\""], "File": "ARM64CollectLOH1", "Func": "getPassName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3344, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64O0PreLegalizerCombiner", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "MF", ".", "getProperties", "(", ")", ".", "hasProperty", "(", "MachineFunctionProperties", "::", "Property", "::", "FailedISel", ")", ")", "return", "false", ";", "auto", "&", "TPC", "=", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "GISelKnownBits", "*", "KB", "=", "&", "getAnalysis", "<", "GISelKnownBitsAnalysis", ">", "(", ")", ".", "get", "(", "MF", ")", ";", "AArch64O0PreLegalizerCombinerInfo", "PCInfo", "(", "false", ",", "F", ".", "hasOptSize", "(", ")", ",", "F", ".", "hasMinSize", "(", ")", ",", "KB", ",", "nullptr", ")", ";", "Combiner", "C", "(", "PCInfo", ",", "&", "TPC", ")", ";", "return", "C", ".", "combineMachineInstrs", "(", "MF", ",", "nullptr", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64O0PreLegalizerCombiner", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3345, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StackOffset", "CSKYFrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "Register", "&", "FrameReg", ")", "const", "{", "const", "CSKYMachineFunctionInfo", "*", "CFI", "=", "MF", ".", "getInfo", "<", "CSKYMachineFunctionInfo", ">", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterInfo", "*", "RI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "const", "auto", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "int", "MinCSFI", "=", "0", ";", "int", "MaxCSFI", "=", "-", "1", ";", "int", "Offset", "=", "MFI", ".", "getObjectOffset", "(", "FI", ")", "+", "MFI", ".", "getOffsetAdjustment", "(", ")", ";", "if", "(", "CSI", ".", "size", "(", ")", ")", "{", "MinCSFI", "=", "CSI", "[", "0", "]", ".", "getFrameIdx", "(", ")", ";", "MaxCSFI", "=", "CSI", "[", "CSI", ".", "size", "(", ")", "-", "1", "]", ".", "getFrameIdx", "(", ")", ";", "}", "if", "(", "FI", ">=", "MinCSFI", "&&", "FI", "<=", "MaxCSFI", ")", "{", "FrameReg", "=", "CSKY", "::", "R14", ";", "Offset", "+=", "CFI", "->", "getVarArgsSaveSize", "(", ")", "+", "CFI", "->", "getCalleeSaveAreaSize", "(", ")", ";", "}", "else", "if", "(", "RI", "->", "hasStackRealignment", "(", "MF", ")", ")", "{", "assert", "(", "hasFP", "(", "MF", ")", ")", ";", "if", "(", "!", "MFI", ".", "isFixedObjectIndex", "(", "FI", ")", ")", "{", "FrameReg", "=", "hasBP", "(", "MF", ")", "?", "getBPReg", "(", "STI", ")", ":", "CSKY", "::", "R14", ";", "Offset", "+=", "MFI", ".", "getStackSize", "(", ")", ";", "}", "else", "{", "FrameReg", "=", "getFPReg", "(", "STI", ")", ";", "Offset", "+=", "CFI", "->", "getVarArgsSaveSize", "(", ")", "+", "CFI", "->", "getCalleeSaveAreaSize", "(", ")", ";", "}", "}", "else", "{", "if", "(", "MFI", ".", "isFixedObjectIndex", "(", "FI", ")", "&&", "hasFP", "(", "MF", ")", ")", "{", "FrameReg", "=", "getFPReg", "(", "STI", ")", ";", "Offset", "+=", "CFI", "->", "getVarArgsSaveSize", "(", ")", "+", "CFI", "->", "getCalleeSaveAreaSize", "(", ")", ";", "}", "else", "{", "FrameReg", "=", "hasBP", "(", "MF", ")", "?", "getBPReg", "(", "STI", ")", ":", "CSKY", "::", "R14", ";", "Offset", "+=", "MFI", ".", "getStackSize", "(", ")", ";", "}", "}", "return", "StackOffset", "::", "getFixed", "(", "Offset", ")", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["CSKY", "CSKY", "CSKY", "CSKY", "0", "1", "0", "1", "CSKY::R14", "CSKY::R14", "CSKY::R14"], "File": "CSKYFrameLowering1", "Func": "getFrameIndexReference", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3346, "Length": 323, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createThumb2SizeReductionPass", "(", ")", ")", ";", "if", "(", "getARMSubtarget", "(", ")", ".", "isThumb2", "(", ")", ")", "addPass", "(", "&", "UnpackMachineBundlesID", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createARMOptimizeBarriersPass", "(", ")", ")", ";", "addPass", "(", "createARMConstantIslandPass", "(", ")", ")", ";", "}", ""], "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", "ARM", "ARM"], "File": "ARMTargetMachine72", "Func": "addPreEmitPass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3347, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ix86_data_alignment", "(", "tree", "type", ",", "unsigned", "int", "align", ",", "bool", "opt", ")", "{", "unsigned", "int", "max_align_compat", "=", "MIN", "(", "256", ",", "MAX_OFILE_ALIGNMENT", ")", ";", "unsigned", "int", "max_align", "=", "MIN", "(", "(", "unsigned", ")", "ix86_tune_cost", "->", "prefetch_block", "*", "8", ",", "MAX_OFILE_ALIGNMENT", ")", ";", "if", "(", "max_align", "<", "BITS_PER_WORD", ")", "max_align", "=", "BITS_PER_WORD", ";", "switch", "(", "ix86_align_data_type", ")", "{", "case", "ix86_align_data_type_abi", ":", "opt", "=", "false", ";", "break", ";", "case", "ix86_align_data_type_compat", ":", "max_align", "=", "BITS_PER_WORD", ";", "break", ";", "case", "ix86_align_data_type_cacheline", ":", "break", ";", "}", "if", "(", "TARGET_IAMCU", ")", "align", "=", "iamcu_alignment", "(", "type", ",", "align", ")", ";", "if", "(", "opt", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "TYPE_SIZE", "(", "type", ")", "&&", "TREE_CODE", "(", "TYPE_SIZE", "(", "type", ")", ")", "==", "INTEGER_CST", ")", "{", "if", "(", "wi", "::", "geu_p", "(", "wi", "::", "to_wide", "(", "TYPE_SIZE", "(", "type", ")", ")", ",", "max_align_compat", ")", "&&", "align", "<", "max_align_compat", ")", "align", "=", "max_align_compat", ";", "if", "(", "wi", "::", "geu_p", "(", "wi", "::", "to_wide", "(", "TYPE_SIZE", "(", "type", ")", ")", ",", "max_align", ")", "&&", "align", "<", "max_align", ")", "align", "=", "max_align", ";", "}", "if", "(", "TARGET_64BIT", ")", "{", "if", "(", "(", "opt", "?", "AGGREGATE_TYPE_P", "(", "type", ")", ":", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", ")", "&&", "TYPE_SIZE", "(", "type", ")", "&&", "TREE_CODE", "(", "TYPE_SIZE", "(", "type", ")", ")", "==", "INTEGER_CST", "&&", "wi", "::", "geu_p", "(", "wi", "::", "to_wide", "(", "TYPE_SIZE", "(", "type", ")", ")", ",", "128", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "if", "(", "!", "opt", ")", "return", "align", ";", "if", "(", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", ")", "{", "if", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "type", ")", ")", "==", "DFmode", "&&", "align", "<", "64", ")", "return", "64", ";", "if", "(", "ALIGN_MODE_128", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "type", ")", ")", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "else", "if", "(", "TREE_CODE", "(", "type", ")", "==", "COMPLEX_TYPE", ")", "{", "if", "(", "TYPE_MODE", "(", "type", ")", "==", "DCmode", "&&", "align", "<", "64", ")", "return", "64", ";", "if", "(", "(", "TYPE_MODE", "(", "type", ")", "==", "XCmode", "||", "TYPE_MODE", "(", "type", ")", "==", "TCmode", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "else", "if", "(", "(", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "UNION_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "QUAL_UNION_TYPE", ")", "&&", "TYPE_FIELDS", "(", "type", ")", ")", "{", "if", "(", "DECL_MODE", "(", "TYPE_FIELDS", "(", "type", ")", ")", "==", "DFmode", "&&", "align", "<", "64", ")", "return", "64", ";", "if", "(", "ALIGN_MODE_128", "(", "DECL_MODE", "(", "TYPE_FIELDS", "(", "type", ")", ")", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "else", "if", "(", "TREE_CODE", "(", "type", ")", "==", "REAL_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "INTEGER_TYPE", ")", "{", "if", "(", "TYPE_MODE", "(", "type", ")", "==", "DFmode", "&&", "align", "<", "64", ")", "return", "64", ";", "if", "(", "ALIGN_MODE_128", "(", "TYPE_MODE", "(", "type", ")", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "return", "align", ";", "}", ""], "natrual_language": ["Compute", "the", "alignment", "for", "a", "static", "variable", ".", "TYPE", "is", "the", "data", "type", ",", "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", "256", "8", "128", "128", "128", "64", "64", "128", "128", "64", "64", "128", "128", "64", "64", "128", "128", "64", "64", "128", "128"], "File": "i386", "Func": "ix86_data_alignment", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3348, "Length": 484, "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": 3349, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsMCExpr", "*", "MipsMCExpr", "::", "Create", "(", "MCSymbolRefExpr", "::", "VariantKind", "VK", ",", "const", "MCExpr", "*", "Expr", ",", "MCContext", "&", "Ctx", ")", "{", "VariantKind", "Kind", ";", "switch", "(", "VK", ")", "{", "case", "MCSymbolRefExpr", "::", "VK_Mips_ABS_LO", ":", "Kind", "=", "VK_Mips_LO", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_ABS_HI", ":", "Kind", "=", "VK_Mips_HI", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_HIGHER", ":", "Kind", "=", "VK_Mips_HIGHER", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_HIGHEST", ":", "Kind", "=", "VK_Mips_HIGHEST", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Invalid kind!\"", ")", ";", "}", "return", "new", "(", "Ctx", ")", "MipsMCExpr", "(", "Kind", ",", "Expr", ")", ";", "}", ""], "natrual_language": ["Construct", "a", "unary", "instruction", ",", "given", "the", "opcode", "and", "an", "operand", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "\"Invalid kind!\"", "Mips"], "File": "MipsMCExpr1", "Func": "Create", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3350, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_reverse_mask", "(", "machine_mode", "mode", ",", "unsigned", "int", "nunits", ")", "{", "rtx", "mask", ";", "rtvec", "v", "=", "rtvec_alloc", "(", "16", ")", ";", "unsigned", "int", "i", ",", "j", ";", "unsigned", "int", "usize", "=", "GET_MODE_UNIT_SIZE", "(", "mode", ")", ";", "gcc_assert", "(", "BYTES_BIG_ENDIAN", ")", ";", "gcc_assert", "(", "AARCH64_VALID_SIMD_QREG_MODE", "(", "mode", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nunits", ";", "i", "++", ")", "for", "(", "j", "=", "0", ";", "j", "<", "usize", ";", "j", "++", ")", "RTVEC_ELT", "(", "v", ",", "i", "*", "usize", "+", "j", ")", "=", "GEN_INT", "(", "(", "i", "+", "1", ")", "*", "usize", "-", "1", "-", "j", ")", ";", "mask", "=", "gen_rtx_CONST_VECTOR", "(", "V16QImode", ",", "v", ")", ";", "return", "force_reg", "(", "V16QImode", ",", "mask", ")", ";", "}", ""], "natrual_language": ["Generate", "a", "byte", "permute", "mask", "for", "a", "register", "of", "mode", "MODE", ",", "which", "has", "NUNITS", "units", "."], "TS_V_token": ["aarch64", "16", "0", "0", "1", "1"], "File": "aarch64", "Func": "aarch64_reverse_mask", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3351, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Function", "*", "AArch64TargetLowering", "::", "getSSPStackGuardCheck", "(", "const", "Module", "&", "M", ")", "const", "{", "if", "(", "Subtarget", "->", "getTargetTriple", "(", ")", ".", "isWindowsMSVCEnvironment", "(", ")", ")", "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": ["AArch64", "AArch64", "\"__security_check_cookie\""], "File": "AArch64ISelLowering (2)2", "Func": "getSSPStackGuardCheck", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3352, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AnalyzeCallOperands", "(", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "CCAssignFn", "Fn", ",", "std", "::", "vector", "<", "TargetLowering", "::", "ArgListEntry", ">", "&", "FuncArgs", ",", "const", "SDNode", "*", "CallNode", ")", "{", "PreAnalyzeCallOperands", "(", "Outs", ",", "FuncArgs", ",", "CallNode", ")", ";", "CCState", "::", "AnalyzeCallOperands", "(", "Outs", ",", "Fn", ")", ";", "OriginalArgWasF128", ".", "clear", "(", ")", ";", "OriginalArgWasFloat", ".", "clear", "(", ")", ";", "CallOperandIsFixed", ".", "clear", "(", ")", ";", "}", ""], "natrual_language": ["AnalyzeCallOperands", "-", "Same", "as", "above", "except", "it", "takes", "vectors", "of", "types", "and", "argument", "flags", "."], "TS_V_token": ["Mips", "ISD::OutputArg"], "File": "MipsCCState", "Func": "AnalyzeCallOperands", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3353, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitBytes", "(", "StringRef", "Data", ")", "override", "{", "EmitMappingSymbol", "(", "\"$d\"", ")", ";", "MCELFStreamer", "::", "emitBytes", "(", "Data", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "bytes", "in", "Data", "into", "the", "output", "."], "TS_V_token": ["CSKY", "\"$d\""], "File": "CSKYELFStreamer", "Func": "emitBytes", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3354, "Length": 21, "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", ".", "hasAttribute", "(", "Attribute", "::", "None", ")", "?", "CPUAttr", ".", "getValueAsString", "(", ")", ".", "str", "(", ")", ":", "TargetCPU", ";", "std", "::", "string", "FS", "=", "!", "FSAttr", ".", "hasAttribute", "(", "Attribute", "::", "None", ")", "?", "FSAttr", ".", "getValueAsString", "(", ")", ".", "str", "(", ")", ":", "TargetFS", ";", "bool", "SoftFloat", "=", "F", ".", "getFnAttribute", "(", "\"use-soft-float\"", ")", ".", "getValueAsString", "(", ")", "==", "\"true\"", ";", "if", "(", "SoftFloat", ")", "FS", "+=", "FS", ".", "empty", "(", ")", "?", "\"-hard-float\"", ":", "\",-hard-float\"", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "CPU", "+", "FS", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "llvm", "::", "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\"", "\"true\"", "\"-hard-float\"", "\",-hard-float\"", "PPC"], "File": "PPCTargetMachine1", "Func": "getSubtargetImpl", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3355, "Length": 181, "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", "(", ")", ";", "aarch64_init_data_intrinsics", "(", ")", ";", "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-builtins1", "Func": "aarch64_general_init_builtins", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3356, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "canUseAsEpilogue", "(", "const", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "assert", "(", "MBB", ".", "getParent", "(", ")", "&&", "\"Block is not attached to a function!\"", ")", ";", "if", "(", "STI", ".", "isTargetWin64", "(", ")", "&&", "!", "MBB", ".", "succ_empty", "(", ")", "&&", "!", "MBB", ".", "isReturnBlock", "(", ")", ")", "return", "false", ";", "if", "(", "canUseLEAForSPInEpilogue", "(", "*", "MBB", ".", "getParent", "(", ")", ")", ")", "return", "true", ";", "return", "!", "flagsNeedToBePreservedBeforeTheTerminators", "(", "MBB", ")", ";", "}", ""], "natrual_language": ["Check", "whether", "or", "not", "the", "given", "MBB", "can", "be", "used", "as", "a", "epilogue", "for", "the", "target", "."], "TS_V_token": ["X86", "X86", "\"Block is not attached to a function!\""], "File": "X86FrameLowering (2)2", "Func": "canUseAsEpilogue", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3357, "Length": 71, "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": 3358, "Length": 78, "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": 3359, "Length": 28, "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", "=", "copy_to_reg", "(", "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", "=", "ix86_expand_sse_compare_mask", "(", "UNGT", ",", "dxa", ",", "half", ",", "false", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "tmp", ",", "gen_rtx_AND", "(", "mode", ",", "tmp", ",", "one", ")", ")", ")", ";", "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", ",", "tmp", ",", "one", ")", ")", ")", ";", "xa2", "=", "expand_simple_binop", "(", "mode", ",", "PLUS", ",", "xa2", ",", "tmp", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "ix86_sse_copysign_to_positive", "(", "res", ",", "xa2", ",", "res", ",", "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": "i386-expand", "Func": "ix86_expand_rounddf_32", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3360, "Length": 318, "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", ")", ",", "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", ")", ";", "}", ""], "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\""], "File": "MipsSubtarget2", "Func": "MipsSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3361, "Length": 290, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86RegisterInfo", "::", "getFrameRegister", "(", "MachineFunction", "&", "MF", ")", "const", "{", "return", "hasFP", "(", "MF", ")", "?", "FramePtr", ":", "StackPtr", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["X86", "X86"], "File": "X86RegisterInfo33", "Func": "getFrameRegister", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3362, "Length": 22, "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", "(", "hasMips64r6", "(", ")", "&&", "InMicroMipsMode", ")", "report_fatal_error", "(", "\"microMIPS64R6 is not supported\"", ",", "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", "\"microMIPS64R6 is not supported\"", "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": "MipsSubtarget44", "Func": "MipsSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3363, "Length": 508, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "override", "{", "storeRegToStack", "(", "MBB", ",", "MBBI", ",", "SrcReg", ",", "isKill", ",", "FrameIndex", ",", "RC", ",", "TRI", ",", "0", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["Cpu0", "0"], "File": "Cpu0InstrInfo", "Func": "storeRegToStackSlot", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3364, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "use_rsqrt_p", "(", "machine_mode", "mode", ")", "{", "return", "(", "!", "flag_trapping_math", "&&", "flag_unsafe_math_optimizations", "&&", "(", "(", "aarch64_tune_params", ".", "approx_modes", "->", "recip_sqrt", "&", "AARCH64_APPROX_MODE", "(", "mode", ")", ")", "||", "flag_mrecip_low_precision_sqrt", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "safe", "to", "use", "the", "rsqrt", "optabs", "to", "optimize", "1.0/sqrt", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "use_rsqrt_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3365, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pop", "(", "int", "rn", ")", "{", "rtx", "x", ";", "if", "(", "rn", "==", "FPUL_REG", ")", "x", "=", "gen_pop_fpul", "(", ")", ";", "else", "if", "(", "rn", "==", "FPSCR_REG", ")", "x", "=", "gen_pop_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", ";", "x", "=", "gen_pop_4", "(", "gen_rtx_REG", "(", "DFmode", ",", "rn", ")", ")", ";", "}", "else", "if", "(", "TARGET_SH2E", "&&", "FP_REGISTER_P", "(", "rn", ")", ")", "x", "=", "gen_pop_e", "(", "gen_rtx_REG", "(", "SFmode", ",", "rn", ")", ")", ";", "else", "x", "=", "gen_pop", "(", "gen_rtx_REG", "(", "SImode", ",", "rn", ")", ")", ";", "x", "=", "emit_insn", "(", "x", ")", ";", "REG_NOTES", "(", "x", ")", "=", "gen_rtx_EXPR_LIST", "(", "REG_INC", ",", "gen_rtx_REG", "(", "SImode", ",", "STACK_POINTER_REGNUM", ")", ",", "0", ")", ";", "}", ""], "natrual_language": ["Output", "RTL", "to", "pop", "register", "RN", "from", "the", "stack", "."], "TS_V_token": ["sh", "1", "0"], "File": "sh3", "Func": "pop", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3366, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64RegisterInfo", "::", "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": ["ARM64", "ARM64"], "File": "ARM64RegisterInfo", "Func": "requiresRegisterScavenging", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3367, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PadShortFunc", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "AttributeSet", "&", "FnAttrs", "=", "MF", ".", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ";", "if", "(", "FnAttrs", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "OptimizeForSize", ")", "||", "FnAttrs", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "MinSize", ")", ")", "{", "return", "false", ";", "}", "TM", "=", "&", "MF", ".", "getTarget", "(", ")", ";", "if", "(", "!", "TM", "->", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "padShortFunctions", "(", ")", ")", "return", "false", ";", "TII", "=", "TM", "->", "getSubtargetImpl", "(", ")", "->", "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": "X86PadShortFunction27", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3368, "Length": 263, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_emit_probe_stack_range", "(", "HOST_WIDE_INT", "first", ",", "HOST_WIDE_INT", "size", ")", "{", "if", "(", "TARGET_MIPS16", ")", "sorry", "(", "\"-fstack-check=specific not implemented for MIPS16\"", ")", ";", "if", "(", "first", "+", "size", "<=", "32768", ")", "{", "HOST_WIDE_INT", "i", ";", "for", "(", "i", "=", "PROBE_INTERVAL", ";", "i", "<", "size", ";", "i", "+=", "PROBE_INTERVAL", ")", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "(", "first", "+", "i", ")", ")", ")", ";", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "(", "first", "+", "size", ")", ")", ")", ";", "}", "else", "{", "HOST_WIDE_INT", "rounded_size", ";", "rtx", "r3", "=", "MIPS_PROLOGUE_TEMP", "(", "Pmode", ")", ";", "rtx", "r12", "=", "MIPS_PROLOGUE_TEMP2", "(", "Pmode", ")", ";", "gcc_assert", "(", "first", "<=", "32768", ")", ";", "rounded_size", "=", "size", "&", "-", "PROBE_INTERVAL", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "r3", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "first", ")", ")", ")", ";", "if", "(", "rounded_size", ">", "32768", ")", "{", "emit_move_insn", "(", "r12", ",", "GEN_INT", "(", "rounded_size", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "r12", ",", "gen_rtx_MINUS", "(", "Pmode", ",", "r3", ",", "r12", ")", ")", ")", ";", "}", "else", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "r12", ",", "plus_constant", "(", "Pmode", ",", "r3", ",", "-", "rounded_size", ")", ")", ")", ";", "emit_insn", "(", "PMODE_INSN", "(", "gen_probe_stack_range", ",", "(", "r3", ",", "r3", ",", "r12", ")", ")", ")", ";", "if", "(", "size", "!=", "rounded_size", ")", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "r12", ",", "rounded_size", "-", "size", ")", ")", ";", "}", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "probe", "a", "range", "of", "stack", "addresses", "from", "FIRST", "to", "FIRST+SIZE", ",", "inclusive", ".", "These", "are", "offsets", "from", "the", "current", "stack", "pointer", "."], "TS_V_token": ["mips", "\"-fstack-check=specific not implemented for MIPS16\"", "32768", "32768", "32768"], "File": "mips4", "Func": "mips_emit_probe_stack_range", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3369, "Length": 239, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_expand_vec_perm_const_1", "(", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ",", "unsigned", "char", "perm0", ",", "unsigned", "char", "perm1", ")", "{", "rtx", "x", ";", "if", "(", "(", "perm0", "&", "2", ")", "==", "(", "perm1", "&", "2", ")", ")", "{", "if", "(", "perm0", "&", "2", ")", "op0", "=", "op1", ";", "else", "op1", "=", "op0", ";", "}", "if", "(", "rtx_equal_p", "(", "op0", ",", "op1", ")", ")", "{", "perm0", "=", "perm0", "&", "1", ";", "perm1", "=", "(", "perm1", "&", "1", ")", "+", "2", ";", "}", "else", "if", "(", "perm0", "&", "2", ")", "{", "if", "(", "perm1", "&", "2", ")", "return", "false", ";", "perm0", "-=", "2", ";", "perm1", "+=", "2", ";", "std", "::", "swap", "(", "op0", ",", "op1", ")", ";", "}", "else", "if", "(", "(", "perm1", "&", "2", ")", "==", "0", ")", "return", "false", ";", "if", "(", "target", "!=", "NULL", ")", "{", "machine_mode", "vmode", ",", "dmode", ";", "rtvec", "v", ";", "vmode", "=", "GET_MODE", "(", "target", ")", ";", "gcc_assert", "(", "GET_MODE_NUNITS", "(", "vmode", ")", "==", "2", ")", ";", "dmode", "=", "mode_for_vector", "(", "GET_MODE_INNER", "(", "vmode", ")", ",", "4", ")", ";", "x", "=", "gen_rtx_VEC_CONCAT", "(", "dmode", ",", "op0", ",", "op1", ")", ";", "v", "=", "gen_rtvec", "(", "2", ",", "GEN_INT", "(", "perm0", ")", ",", "GEN_INT", "(", "perm1", ")", ")", ";", "x", "=", "gen_rtx_VEC_SELECT", "(", "vmode", ",", "x", ",", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "v", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "target", ",", "x", ")", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Expand", "a", "Paired", "Single", "or", "VSX", "Permute", "Doubleword", "constant", "permutation", ".", "Return", "true", "if", "we", "match", "an", "efficient", "implementation", "."], "TS_V_token": ["rs6000", "2", "2", "2", "1", "1", "2", "2", "2", "2", "2", "2", "0", "2", "4", "2"], "File": "rs60004", "Func": "rs6000_expand_vec_perm_const_1", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3370, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZPassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createSystemZShortenInstPass", "(", "getSystemZTargetMachine", "(", ")", ")", ",", "false", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createSystemZElimComparePass", "(", "getSystemZTargetMachine", "(", ")", ")", ",", "false", ")", ";", "addPass", "(", "createSystemZLongBranchPass", "(", "getSystemZTargetMachine", "(", ")", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "MISchedPostRA", ")", "addPass", "(", "&", "PostMachineSchedulerID", ")", ";", "else", "addPass", "(", "&", "PostRASchedulerID", ")", ";", "}", "}", ""], "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": "SystemZTargetMachine17", "Func": "addPreEmitPass", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3371, "Length": 91, "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 (2)1", "Func": "hasReservedCallFrame", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3372, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsInstrInfo", "*", "MipsInstrInfo", "::", "create", "(", "MipsSubtarget", "&", "STI", ")", "{", "if", "(", "STI", ".", "inMips16Mode", "(", ")", ")", "return", "createMips16InstrInfo", "(", "STI", ")", ";", "return", "createMipsSEInstrInfo", "(", "STI", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsInstrInfo (2)3", "Func": "create", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3373, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_scalar_mode_supported_p", "(", "machine_mode", "mode", ")", "{", "if", "(", "DECIMAL_FLOAT_MODE_P", "(", "mode", ")", ")", "return", "default_decimal_float_supported_p", "(", ")", ";", "else", "if", "(", "mode", "==", "TFmode", ")", "return", "true", ";", "else", "return", "default_scalar_mode_supported_p", "(", "mode", ")", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "scalar_mode_supported_p", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_scalar_mode_supported_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3374, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "or1k_init_pic_reg", "(", "void", ")", "{", "if", "(", "crtl", "->", "profile", ")", "cfun", "->", "machine", "->", "set_got_insn", "=", "emit_insn_after", "(", "gen_set_got_tmp", "(", "pic_offset_table_rtx", ")", ",", "cfun", "->", "machine", "->", "set_mcount_arg_insn", ")", ";", "else", "{", "start_sequence", "(", ")", ";", "cfun", "->", "machine", "->", "set_got_insn", "=", "emit_insn", "(", "gen_set_got_tmp", "(", "pic_offset_table_rtx", ")", ")", ";", "rtx_insn", "*", "seq", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "edge", "entry_edge", "=", "single_succ_edge", "(", "ENTRY_BLOCK_PTR_FOR_FN", "(", "cfun", ")", ")", ";", "insert_insn_on_edge", "(", "seq", ",", "entry_edge", ")", ";", "commit_one_edge_insertion", "(", "entry_edge", ")", ";", "}", "}", ""], "natrual_language": ["Worker", "for", "TARGET_INIT_PIC_REG", ".", "Initialize", "the", "cfun-", ">", "machine-", ">", "set_got_insn", "rtx", "and", "insert", "it", "at", "the", "entry", "of", "the", "current", "function", ".", "The", "rtx", "is", "just", "a", "temporary", "placeholder", "for", "the", "GOT", "and", "will", "be", "replaced", "or", "removed", "during", "or1k_expand_prologue", "."], "TS_V_token": ["or1k"], "File": "or1k", "Func": "or1k_init_pic_reg", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3375, "Length": 90, "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", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "Entry", "->", "begin", "(", ")", ";", "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", ",", "MBBI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "NewVR", ")", ".", "addReg", "(", "*", "I", ")", ";", "for", "(", "auto", "*", "Exit", ":", "Exits", ")", "BuildMI", "(", "*", "Exit", ",", "Exit", "->", "getFirstTerminator", "(", ")", ",", "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", "Func": "insertCopiesSplitCSR", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3376, "Length": 271, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_vectorize_vec_perm_const_ok", "(", "machine_mode", "vmode", ",", "const", "unsigned", "char", "*", "sel", ")", "{", "struct", "expand_vec_perm_d", "d", ";", "unsigned", "int", "i", ",", "nelt", ",", "which", ";", "bool", "ret", ";", "d", ".", "vmode", "=", "vmode", ";", "d", ".", "nelt", "=", "nelt", "=", "GET_MODE_NUNITS", "(", "d", ".", "vmode", ")", ";", "d", ".", "testing_p", "=", "true", ";", "switch", "(", "d", ".", "vmode", ")", "{", "case", "V16SFmode", ":", "case", "V16SImode", ":", "case", "V8DImode", ":", "case", "V8DFmode", ":", "if", "(", "TARGET_AVX512F", ")", "return", "true", ";", "break", ";", "case", "V32HImode", ":", "if", "(", "TARGET_AVX512BW", ")", "return", "true", ";", "break", ";", "case", "V64QImode", ":", "if", "(", "TARGET_AVX512BW", ")", "return", "true", ";", "break", ";", "case", "V8SImode", ":", "case", "V8SFmode", ":", "case", "V4DFmode", ":", "case", "V4DImode", ":", "if", "(", "TARGET_AVX512VL", ")", "return", "true", ";", "break", ";", "case", "V16HImode", ":", "if", "(", "TARGET_AVX2", ")", "return", "true", ";", "break", ";", "case", "V32QImode", ":", "if", "(", "TARGET_AVX2", ")", "return", "true", ";", "break", ";", "case", "V4SImode", ":", "case", "V4SFmode", ":", "case", "V8HImode", ":", "case", "V16QImode", ":", "if", "(", "TARGET_XOP", ")", "return", "true", ";", "if", "(", "TARGET_SSSE3", ")", "return", "true", ";", "break", ";", "case", "V2DImode", ":", "case", "V2DFmode", ":", "return", "true", ";", "default", ":", "return", "false", ";", "}", "memcpy", "(", "d", ".", "perm", ",", "sel", ",", "nelt", ")", ";", "for", "(", "i", "=", "which", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "{", "unsigned", "char", "e", "=", "d", ".", "perm", "[", "i", "]", ";", "gcc_assert", "(", "e", "<", "2", "*", "nelt", ")", ";", "which", "|=", "(", "e", "<", "nelt", "?", "1", ":", "2", ")", ";", "}", "if", "(", "which", "==", "2", ")", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "d", ".", "perm", "[", "i", "]", "-=", "nelt", ";", "d", ".", "one_operand_p", "=", "(", "which", "!=", "3", ")", ";", "if", "(", "d", ".", "one_operand_p", "&&", "(", "d", ".", "vmode", "==", "V4SFmode", "||", "d", ".", "vmode", "==", "V4SImode", ")", ")", "return", "true", ";", "d", ".", "target", "=", "gen_raw_REG", "(", "d", ".", "vmode", ",", "LAST_VIRTUAL_REGISTER", "+", "1", ")", ";", "d", ".", "op1", "=", "d", ".", "op0", "=", "gen_raw_REG", "(", "d", ".", "vmode", ",", "LAST_VIRTUAL_REGISTER", "+", "2", ")", ";", "if", "(", "!", "d", ".", "one_operand_p", ")", "d", ".", "op1", "=", "gen_raw_REG", "(", "d", ".", "vmode", ",", "LAST_VIRTUAL_REGISTER", "+", "3", ")", ";", "start_sequence", "(", ")", ";", "ret", "=", "ix86_expand_vec_perm_const_1", "(", "&", "d", ")", ";", "end_sequence", "(", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.vec_perm_const_ok", "."], "TS_V_token": ["i386", "0", "2", "1", "2", "2", "0", "3", "1", "2", "3"], "File": "i3864", "Func": "ix86_vectorize_vec_perm_const_ok", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3377, "Length": 391, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "ClobbersPredicate", "(", "MachineInstr", "&", "MI", ",", "std", "::", "vector", "<", "MachineOperand", ">", "&", "Pred", ",", "bool", "SkipDead", ")", "const", "{", "bool", "Found", "=", "false", ";", "for", "(", "const", "MachineOperand", "&", "MO", ":", "MI", ".", "operands", "(", ")", ")", "{", "bool", "ClobbersCPSR", "=", "MO", ".", "isRegMask", "(", ")", "&&", "MO", ".", "clobbersPhysReg", "(", "ARM", "::", "CPSR", ")", ";", "bool", "IsCPSR", "=", "MO", ".", "isReg", "(", ")", "&&", "MO", ".", "isDef", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "==", "ARM", "::", "CPSR", ";", "if", "(", "ClobbersCPSR", "||", "IsCPSR", ")", "{", "const", "MCInstrDesc", "&", "MCID", "=", "MI", ".", "getDesc", "(", ")", ";", "if", "(", "MCID", ".", "TSFlags", "&", "ARMII", "::", "ThumbArithFlagSetting", "&&", "MO", ".", "isDead", "(", ")", "&&", "SkipDead", ")", "continue", ";", "Pred", ".", "push_back", "(", "MO", ")", ";", "Found", "=", "true", ";", "}", "}", "return", "Found", ";", "}", ""], "natrual_language": ["If", "the", "specified", "instruction", "defines", "any", "predicate", "or", "condition", "code", "register", "(", "s", ")", "used", "for", "predication", ",", "returns", "true", "as", "well", "as", "the", "definition", "predicate", "(", "s", ")", "by", "reference", "."], "TS_V_token": ["ARM", "ARM", "ARM::CPSR", "ARM::CPSR", "ARMII::ThumbArithFlagSetting"], "File": "ARMBaseInstrInfo128", "Func": "ClobbersPredicate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3378, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "AArch64FI", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "STI", "=", "static_cast", "<", "const", "AArch64Subtarget", "*", ">", "(", "&", "MF", ".", "getSubtarget", "(", ")", ")", ";", "SetupMachineFunction", "(", "MF", ")", ";", "if", "(", "STI", "->", "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", "(", ")", ";", "}", "emitFunctionBody", "(", ")", ";", "emitXRayTable", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64AsmPrinter1", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3379, "Length": 130, "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", "&&", "CS", "!=", "X86", "::", "RSP", "&&", "CS", "!=", "X86", "::", "ESP", ")", "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", "X86::RSP", "X86::ESP", "0"], "File": "X86FrameLowering10", "Func": "findDeadCallerSavedReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3380, "Length": 306, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isSchedulingBoundary", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineBasicBlock", "*", "MBB", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "TargetInstrInfo", "::", "isSchedulingBoundary", "(", "MI", ",", "MBB", ",", "MF", ")", ")", "return", "true", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "AArch64", "::", "HINT", ":", "if", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", "==", "0x14", ")", "return", "true", ";", "break", ";", "case", "AArch64", "::", "DSB", ":", "case", "AArch64", "::", "ISB", ":", "return", "true", ";", "default", ":", ";", "}", "if", "(", "isSEHInstruction", "(", "MI", ")", ")", "return", "true", ";", "auto", "Next", "=", "std", "::", "next", "(", "MI", ".", "getIterator", "(", ")", ")", ";", "return", "Next", "!=", "MBB", "->", "end", "(", ")", "&&", "Next", "->", "isCFIInstruction", "(", ")", ";", "}", ""], "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": ["AArch64", "AArch64", "AArch64::HINT", "0", "0x14", "AArch64::DSB", "AArch64::ISB"], "File": "AArch64InstrInfo51", "Func": "isSchedulingBoundary", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3381, "Length": 129, "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": ["Lanai"], "File": "LanaiAsmBackend18", "Func": "mayNeedRelaxation", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3382, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86TTIImpl", "::", "getGatherScatterOpCost", "(", "unsigned", "Opcode", ",", "Type", "*", "SrcVTy", ",", "Value", "*", "Ptr", ",", "bool", "VariableMask", ",", "unsigned", "Alignment", ",", "TTI", "::", "TargetCostKind", "CostKind", ",", "const", "Instruction", "*", "I", "=", "nullptr", ")", "{", "if", "(", "CostKind", "!=", "TTI", "::", "TCK_RecipThroughput", ")", "return", "1", ";", "assert", "(", "SrcVTy", "->", "isVectorTy", "(", ")", "&&", "\"Unexpected data type for Gather/Scatter\"", ")", ";", "unsigned", "VF", "=", "cast", "<", "VectorType", ">", "(", "SrcVTy", ")", "->", "getNumElements", "(", ")", ";", "PointerType", "*", "PtrTy", "=", "dyn_cast", "<", "PointerType", ">", "(", "Ptr", "->", "getType", "(", ")", ")", ";", "if", "(", "!", "PtrTy", "&&", "Ptr", "->", "getType", "(", ")", "->", "isVectorTy", "(", ")", ")", "PtrTy", "=", "dyn_cast", "<", "PointerType", ">", "(", "cast", "<", "VectorType", ">", "(", "Ptr", "->", "getType", "(", ")", ")", "->", "getElementType", "(", ")", ")", ";", "assert", "(", "PtrTy", "&&", "\"Unexpected type for Ptr argument\"", ")", ";", "unsigned", "AddressSpace", "=", "PtrTy", "->", "getAddressSpace", "(", ")", ";", "bool", "Scalarize", "=", "false", ";", "if", "(", "(", "Opcode", "==", "Instruction", "::", "Load", "&&", "!", "isLegalMaskedGather", "(", "SrcVTy", ",", "MaybeAlign", "(", "Alignment", ")", ")", ")", "||", "(", "Opcode", "==", "Instruction", "::", "Store", "&&", "!", "isLegalMaskedScatter", "(", "SrcVTy", ",", "MaybeAlign", "(", "Alignment", ")", ")", ")", ")", "Scalarize", "=", "true", ";", "if", "(", "ST", "->", "hasAVX512", "(", ")", "&&", "(", "VF", "==", "2", "||", "(", "VF", "==", "4", "&&", "!", "ST", "->", "hasVLX", "(", ")", ")", ")", ")", "Scalarize", "=", "true", ";", "if", "(", "Scalarize", ")", "return", "getGSScalarCost", "(", "Opcode", ",", "SrcVTy", ",", "VariableMask", ",", "Alignment", ",", "AddressSpace", ")", ";", "return", "getGSVectorCost", "(", "Opcode", ",", "SrcVTy", ",", "Ptr", ",", "Alignment", ",", "AddressSpace", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "Gather", "/", "Scatter", "operation", "."], "TS_V_token": ["X86", "X86", "1", "\"Unexpected data type for Gather/Scatter\"", "\"Unexpected type for Ptr argument\"", "2", "4"], "File": "X86TargetTransformInfo38", "Func": "getGatherScatterOpCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3383, "Length": 256, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "int64_t", "Amount", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "Mips", "::", "ADJCALLSTACKDOWN", ")", "Amount", "=", "-", "Amount", ";", "const", "Mips16InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "Mips16InstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "TII", ".", "adjustStackPtr", "(", "Mips", "::", "SP", ",", "Amount", ",", "MBB", ",", "I", ")", ";", "}", "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": ["Mips", "Mips", "0", "Mips::ADJCALLSTACKDOWN", "Mips", "Mips", "Mips::SP"], "File": "Mips16FrameLowering10", "Func": "eliminateCallFramePseudoInstr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3384, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCRegisterInfo", "::", "lowerDynamicAlloc", "(", "MachineBasicBlock", "::", "iterator", "II", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "bool", "LP64", "=", "TM", ".", "isPPC64", "(", ")", ";", "DebugLoc", "dl", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "unsigned", "maxCallFrameSize", "=", "MFI", ".", "getMaxCallFrameSize", "(", ")", ";", "Align", "MaxAlign", "=", "MFI", ".", "getMaxAlign", "(", ")", ";", "assert", "(", "isAligned", "(", "MaxAlign", ",", "maxCallFrameSize", ")", "&&", "\"Maximum call-frame size not sufficiently aligned\"", ")", ";", "(", "void", ")", "MaxAlign", ";", "const", "TargetRegisterClass", "*", "G8RC", "=", "&", "PPC", "::", "G8RCRegClass", ";", "const", "TargetRegisterClass", "*", "GPRC", "=", "&", "PPC", "::", "GPRCRegClass", ";", "Register", "Reg", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "LP64", "?", "G8RC", ":", "GPRC", ")", ";", "bool", "KillNegSizeReg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "isKill", "(", ")", ";", "Register", "NegSizeReg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "prepareDynamicAlloca", "(", "II", ",", "NegSizeReg", ",", "KillNegSizeReg", ",", "Reg", ")", ";", "if", "(", "LP64", ")", "{", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "STDUX", ")", ",", "PPC", "::", "X1", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "PPC", "::", "X1", ")", ".", "addReg", "(", "NegSizeReg", ",", "getKillRegState", "(", "KillNegSizeReg", ")", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "ADDI8", ")", ",", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "PPC", "::", "X1", ")", ".", "addImm", "(", "maxCallFrameSize", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "STWUX", ")", ",", "PPC", "::", "R1", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "PPC", "::", "R1", ")", ".", "addReg", "(", "NegSizeReg", ",", "getKillRegState", "(", "KillNegSizeReg", ")", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "ADDI", ")", ",", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "PPC", "::", "R1", ")", ".", "addImm", "(", "maxCallFrameSize", ")", ";", "}", "MBB", ".", "erase", "(", "II", ")", ";", "}", ""], "natrual_language": ["lowerDynamicAlloc", "-", "Generate", "the", "code", "for", "allocating", "an", "object", "in", "the", "current", "frame", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "\"Maximum call-frame size not sufficiently aligned\"", "PPC::G8RCRegClass", "PPC::GPRCRegClass", "1", "1", "PPC::STDUX", "PPC::X1", "PPC::X1", "PPC::ADDI8", "0", "PPC::X1", "PPC::STWUX", "PPC::R1", "PPC::R1", "PPC::ADDI", "0", "PPC::R1"], "File": "PPCRegisterInfo (2)3", "Func": "lowerDynamicAlloc", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3385, "Length": 402, "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": ["MMIX"], "File": "MMIXISelLowering", "Func": "shouldConvertConstantLoadToIntImm", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3386, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseInstrInfo", "::", "extraSizeToPredicateInstructions", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "NumInsts", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "isThumb2", "(", ")", ")", "return", "0", ";", "unsigned", "MaxInsts", "=", "Subtarget", ".", "restrictIT", "(", ")", "?", "1", ":", "4", ";", "return", "divideCeil", "(", "NumInsts", ",", "MaxInsts", ")", "*", "2", ";", "}", ""], "natrual_language": ["Return", "the", "increase", "in", "code", "size", "needed", "to", "predicate", "a", "contiguous", "run", "of", "NumInsts", "instructions", "."], "TS_V_token": ["ARM", "ARM", "0", "1", "4", "2"], "File": "ARMBaseInstrInfo110", "Func": "extraSizeToPredicateInstructions", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3387, "Length": 51, "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": 3388, "Length": 264, "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": 3389, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_sve_sqadd_sqsub_immediate_p", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "bool", "negate_p", ")", "{", "if", "(", "!", "aarch64_sve_arith_immediate_p", "(", "mode", ",", "x", ",", "negate_p", ")", ")", "return", "false", ";", "rtx", "elt", "=", "unwrap_const_vec_duplicate", "(", "x", ")", ";", "return", "negate_p", "==", "(", "INTVAL", "(", "elt", ")", "<", "0", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "valid", "immediate", "for", "the", "SVE", "SQADD", "and", "SQSUB", "instructions", "when", "applied", "to", "mode", "MODE", ".", "Negate", "X", "first", "if", "NEGATE_P", "is", "true", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64", "Func": "aarch64_sve_sqadd_sqsub_immediate_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3390, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_pass_by_reference", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "if", "(", "TARGET_64BIT", ")", "{", "enum", "calling_abi", "call_abi", "=", "cum", "?", "cum", "->", "call_abi", ":", "ix86_abi", ";", "if", "(", "call_abi", "==", "MS_ABI", ")", "{", "HOST_WIDE_INT", "msize", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "type", ")", "{", "if", "(", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", ")", "return", "true", ";", "if", "(", "RECORD_OR_UNION_TYPE_P", "(", "type", ")", ")", "{", "msize", "=", "int_size_in_bytes", "(", "type", ")", ";", "}", "}", "return", "msize", "!=", "1", "&&", "msize", "!=", "2", "&&", "msize", "!=", "4", "&&", "msize", "!=", "8", ";", "}", "else", "if", "(", "type", "&&", "int_size_in_bytes", "(", "type", ")", "==", "-", "1", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "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", "."], "TS_V_token": ["i386", "1", "2", "4", "8", "1"], "File": "i3868", "Func": "ix86_pass_by_reference", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3391, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "getStackAddress", "(", "uint64_t", "Size", ",", "int64_t", "Offset", ",", "MachinePointerInfo", "&", "MPO", ")", "override", "{", "assert", "(", "(", "Size", "==", "1", "||", "Size", "==", "2", "||", "Size", "==", "4", "||", "Size", "==", "8", ")", "&&", "\"Unsupported size\"", ")", ";", "LLT", "p0", "=", "LLT", "::", "pointer", "(", "0", ",", "32", ")", ";", "LLT", "s32", "=", "LLT", "::", "scalar", "(", "32", ")", ";", "Register", "SPReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "p0", ")", ";", "MIRBuilder", ".", "buildCopy", "(", "SPReg", ",", "Register", "(", "ARM", "::", "SP", ")", ")", ";", "Register", "OffsetReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "s32", ")", ";", "MIRBuilder", ".", "buildConstant", "(", "OffsetReg", ",", "Offset", ")", ";", "Register", "AddrReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "p0", ")", ";", "MIRBuilder", ".", "buildPtrAdd", "(", "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": ["ARM", "1", "2", "4", "8", "\"Unsupported size\"", "0", "32", "32", "ARM::SP"], "File": "ARMCallLowering30", "Func": "getStackAddress", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3392, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mmix_output_octa", "(", "FILE", "*", "stream", ",", "int64_t", "value", ",", "int", "do_begin_end", ")", "{", "if", "(", "do_begin_end", ")", "fprintf", "(", "stream", ",", "\"\\tOCTA \"", ")", ";", "if", "(", "(", "value", "<", "(", "int64_t", ")", "0", "&&", "value", ">", "(", "int64_t", ")", "-", "10000", ")", "||", "(", "value", ">=", "(", "int64_t", ")", "0", "&&", "value", "<=", "(", "int64_t", ")", "16384", ")", ")", "fprintf", "(", "stream", ",", "\"%d\"", ",", "(", "int", ")", "value", ")", ";", "else", "if", "(", "value", ">", "(", "int64_t", ")", "0", "&&", "value", "<", "(", "(", "int64_t", ")", "1", "<<", "31", ")", "*", "2", ")", "fprintf", "(", "stream", ",", "\"#%x\"", ",", "(", "unsigned", "int", ")", "value", ")", ";", "else", "if", "(", "sizeof", "(", "HOST_WIDE_INT", ")", "==", "sizeof", "(", "int64_t", ")", ")", "fprintf", "(", "stream", ",", "\"#\"", "HOST_WIDE_INT_PRINT_HEX_PURE", ",", "(", "HOST_WIDE_INT", ")", "value", ")", ";", "else", "fprintf", "(", "stream", ",", "\"%\"", "PRIu64", ",", "value", ")", ";", "if", "(", "do_begin_end", ")", "fprintf", "(", "stream", ",", "\"\\n\"", ")", ";", "}", ""], "natrual_language": ["Print", "a", "64-bit", "value", ",", "optionally", "prefixed", "by", "assembly", "pseudo", "."], "TS_V_token": ["mmix", "\"\\tOCTA \"", "0", "10000", "0", "16384", "\"%d\"", "0", "1", "31", "2", "\"#%x\"", "\"#\"", "\"%\"", "\"\\n\""], "File": "mmix4", "Func": "mmix_output_octa", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3393, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "ARMDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "OS", ",", "raw_ostream", "&", "CS", ")", "const", "{", "CommentStream", "=", "&", "CS", ";", "assert", "(", "!", "STI", ".", "getFeatureBits", "(", ")", "[", "ARM", "::", "ModeThumb", "]", "&&", "\"Asked to disassemble an ARM instruction but Subtarget is in Thumb \"", "\"mode!\"", ")", ";", "if", "(", "Bytes", ".", "size", "(", ")", "<", "4", ")", "{", "Size", "=", "0", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "uint32_t", "Insn", "=", "(", "Bytes", "[", "3", "]", "<<", "24", ")", "|", "(", "Bytes", "[", "2", "]", "<<", "16", ")", "|", "(", "Bytes", "[", "1", "]", "<<", "8", ")", "|", "(", "Bytes", "[", "0", "]", "<<", "0", ")", ";", "DecodeStatus", "Result", "=", "decodeInstruction", "(", "DecoderTableARM32", ",", "MI", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "Size", "=", "4", ";", "return", "checkDecodedInstruction", "(", "MI", ",", "Size", ",", "Address", ",", "OS", ",", "CS", ",", "Insn", ",", "Result", ")", ";", "}", "struct", "DecodeTable", "{", "const", "uint8_t", "*", "P", ";", "bool", "DecodePred", ";", "}", ";", "const", "DecodeTable", "Tables", "[", "]", "=", "{", "{", "DecoderTableVFP32", ",", "false", "}", ",", "{", "DecoderTableVFPV832", ",", "false", "}", ",", "{", "DecoderTableNEONData32", ",", "true", "}", ",", "{", "DecoderTableNEONLoadStore32", ",", "true", "}", ",", "{", "DecoderTableNEONDup32", ",", "true", "}", ",", "{", "DecoderTablev8NEON32", ",", "false", "}", ",", "{", "DecoderTablev8Crypto32", ",", "false", "}", ",", "}", ";", "for", "(", "auto", "Table", ":", "Tables", ")", "{", "Result", "=", "decodeInstruction", "(", "Table", ".", "P", ",", "MI", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "Size", "=", "4", ";", "if", "(", "Table", ".", "DecodePred", "&&", "!", "DecodePredicateOperand", "(", "MI", ",", "0xE", ",", "Address", ",", "this", ")", ")", "return", "MCDisassembler", "::", "Fail", ";", "return", "Result", ";", "}", "}", "Size", "=", "4", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["ARM", "ARM", "ARM::ModeThumb", "\"Asked to disassemble an ARM instruction but Subtarget is in Thumb \"", "\"mode!\"", "4", "0", "3", "24", "2", "16", "1", "8", "0", "0", "ARM", "4", "4", "0xE", "4"], "File": "ARMDisassembler46", "Func": "getInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3394, "Length": 307, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_set_got", "(", "rtx", "dest", ")", "{", "rtx", "xops", "[", "3", "]", ";", "xops", "[", "0", "]", "=", "dest", ";", "xops", "[", "1", "]", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "GOT_SYMBOL_NAME", ")", ";", "if", "(", "!", "TARGET_DEEP_BRANCH_PREDICTION", "||", "!", "flag_pic", ")", "{", "xops", "[", "2", "]", "=", "gen_rtx_LABEL_REF", "(", "Pmode", ",", "gen_label_rtx", "(", ")", ")", ";", "if", "(", "!", "flag_pic", ")", "output_asm_insn", "(", "\"mov{l}\\t{%2, %0|%0, %2}\"", ",", "xops", ")", ";", "else", "output_asm_insn", "(", "\"call\\t%a2\"", ",", "xops", ")", ";", "ASM_OUTPUT_LABEL", "(", "asm_out_file", ",", "machopic_function_base_name", "(", ")", ")", ";", "(", "*", "targetm", ".", "asm_out", ".", "internal_label", ")", "(", "asm_out_file", ",", "\"L\"", ",", "CODE_LABEL_NUMBER", "(", "XEXP", "(", "xops", "[", "2", "]", ",", "0", ")", ")", ")", ";", "if", "(", "flag_pic", ")", "output_asm_insn", "(", "\"pop{l}\\t%0\"", ",", "xops", ")", ";", "}", "else", "{", "char", "name", "[", "32", "]", ";", "get_pc_thunk_name", "(", "name", ",", "REGNO", "(", "dest", ")", ")", ";", "pic_labels_used", "|=", "1", "<<", "REGNO", "(", "dest", ")", ";", "xops", "[", "2", "]", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "ggc_strdup", "(", "name", ")", ")", ";", "xops", "[", "2", "]", "=", "gen_rtx_MEM", "(", "QImode", ",", "xops", "[", "2", "]", ")", ";", "output_asm_insn", "(", "\"call\\t%X2\"", ",", "xops", ")", ";", "}", "if", "(", "!", "flag_pic", "||", "TARGET_DEEP_BRANCH_PREDICTION", ")", "output_asm_insn", "(", "\"add{l}\\t{%1, %0|%0, %1}\"", ",", "xops", ")", ";", "else", "if", "(", "!", "TARGET_MACHO", ")", "output_asm_insn", "(", "\"add{l}\\t{%1+[.-%a2], %0|%0, %1+(.-%a2)}\"", ",", "xops", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Emit", "code", "for", "the", "SET_GOT", "patterns", "."], "TS_V_token": ["i386", "3", "0", "1", "2", "\"mov{l}\\t{%2, %0|%0, %2}\"", "\"call\\t%a2\"", "\"L\"", "2", "0", "\"pop{l}\\t%0\"", "32", "1", "2", "2", "2", "\"call\\t%X2\"", "\"add{l}\\t{%1, %0|%0, %1}\"", "\"add{l}\\t{%1+[.-%a2], %0|%0, %1+(.-%a2)}\"", "\"\""], "File": "i3863", "Func": "output_set_got", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3395, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CCAssignFn", "*", "CSKYTargetLowering", "::", "CCAssignFnForCall", "(", "CallingConv", "::", "ID", "CC", ",", "bool", "IsVarArg", ")", "const", "{", "if", "(", "IsVarArg", "||", "!", "Subtarget", ".", "useHardFloatABI", "(", ")", ")", "return", "CC_CSKY_ABIV2_SOFT", ";", "else", "return", "CC_CSKY_ABIV2_FP", ";", "}", ""], "natrual_language": ["Selects", "the", "correct", "CCAssignFn", "for", "a", "given", "CallingConvention", "value", "."], "TS_V_token": ["CSKY", "CSKY", "CSKY", "CSKY"], "File": "CSKYISelLowering", "Func": "CCAssignFnForCall", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3396, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMCodeEmitter", "::", "getMachineOpValue", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "&", "MO", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "getARMRegisterNumbering", "(", "MO", ".", "getReg", "(", ")", ")", ";", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "else", "if", "(", "MO", ".", "isFPImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getFPImm", "(", ")", "->", "getValueAPF", "(", ")", ".", "bitcastToAPInt", "(", ")", ".", "getHiBits", "(", "32", ")", ".", "getLimitedValue", "(", ")", ")", ";", "else", "if", "(", "MO", ".", "isGlobal", "(", ")", ")", "emitGlobalAddress", "(", "MO", ".", "getGlobal", "(", ")", ",", "ARM", "::", "reloc_arm_branch", ",", "true", ",", "false", ")", ";", "else", "if", "(", "MO", ".", "isSymbol", "(", ")", ")", "emitExternalSymbolAddress", "(", "MO", ".", "getSymbolName", "(", ")", ",", "ARM", "::", "reloc_arm_branch", ")", ";", "else", "if", "(", "MO", ".", "isCPI", "(", ")", ")", "{", "const", "MCInstrDesc", "&", "MCID", "=", "MI", ".", "getDesc", "(", ")", ";", "unsigned", "Reloc", "=", "(", "(", "MCID", ".", "TSFlags", "&", "ARMII", "::", "FormMask", ")", "==", "ARMII", "::", "VFPLdStFrm", ")", "?", "ARM", "::", "reloc_arm_vfp_cp_entry", ":", "ARM", "::", "reloc_arm_cp_entry", ";", "emitConstPoolAddress", "(", "MO", ".", "getIndex", "(", ")", ",", "Reloc", ")", ";", "}", "else", "if", "(", "MO", ".", "isJTI", "(", ")", ")", "emitJumpTableAddress", "(", "MO", ".", "getIndex", "(", ")", ",", "ARM", "::", "reloc_arm_relative", ")", ";", "else", "if", "(", "MO", ".", "isMBB", "(", ")", ")", "emitMachineBasicBlock", "(", "MO", ".", "getMBB", "(", ")", ",", "ARM", "::", "reloc_arm_branch", ")", ";", "else", "llvm_unreachable", "(", "\"Unable to encode MachineOperand!\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["ARM", "ARM", "ARM", "32", "ARM::reloc_arm_branch", "ARM::reloc_arm_branch", "ARMII::FormMask", "ARMII::VFPLdStFrm", "ARM::reloc_arm_vfp_cp_entry", "ARM::reloc_arm_cp_entry", "ARM::reloc_arm_relative", "ARM::reloc_arm_branch", "\"Unable to encode MachineOperand!\"", "0"], "File": "ARMCodeEmitter26", "Func": "getMachineOpValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3397, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMFastISel", "::", "constrainOperandRegClass", "(", "const", "MCInstrDesc", "&", "II", ",", "unsigned", "Op", ",", "unsigned", "OpNum", ")", "{", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "Op", ")", ")", "{", "const", "TargetRegisterClass", "*", "RegClass", "=", "TII", ".", "getRegClass", "(", "II", ",", "OpNum", ",", "&", "TRI", ",", "*", "FuncInfo", ".", "MF", ")", ";", "if", "(", "!", "MRI", ".", "constrainRegClass", "(", "Op", ",", "RegClass", ")", ")", "{", "unsigned", "NewOp", "=", "createResultReg", "(", "RegClass", ")", ";", "AddOptionalDefs", "(", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DL", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "NewOp", ")", ".", "addReg", "(", "Op", ")", ")", ";", "return", "NewOp", ";", "}", "}", "return", "Op", ";", "}", ""], "natrual_language": ["Try", "to", "constrain", "Op", "so", "that", "it", "is", "usable", "by", "argument", "OpNum", "of", "the", "provided", "MCInstrDesc", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMFastISel63", "Func": "constrainOperandRegClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3398, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ARMGOT", "&", "ARMGNULDBackend", "::", "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": ["ARM", "ARM", "ARM", "\"GOT section not exist\""], "File": "ARMLDBackend", "Func": "getGOT", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3399, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb2InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "RC", "==", "ARM", "::", "GPRRegisterClass", "||", "RC", "==", "ARM", "::", "tGPRRegisterClass", "||", "RC", "==", "ARM", "::", "tcGPRRegisterClass", "||", "RC", "==", "ARM", "::", "rGPRRegisterClass", "||", "RC", "==", "ARM", "::", "GPRnopcRegisterClass", ")", "{", "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", "::", "MOLoad", ",", "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", ",", "TRI", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM::GPRRegisterClass", "ARM::tGPRRegisterClass", "ARM::tcGPRRegisterClass", "ARM::rGPRRegisterClass", "ARM::GPRnopcRegisterClass", "ARM::t2LDRi12", "0", "ARM"], "File": "Thumb2InstrInfo41", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3400, "Length": 199, "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": 3401, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "rtx_code", "ix86_reverse_condition", "(", "enum", "rtx_code", "code", ",", "machine_mode", "mode", ")", "{", "return", "(", "mode", "!=", "CCFPmode", "&&", "mode", "!=", "CCFPUmode", "?", "reverse_condition", "(", "code", ")", ":", "reverse_condition_maybe_unordered", "(", "code", ")", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "REVERSE_CONDITION", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_reverse_condition", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3402, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetTransformInfo", "FPGATargetMachine", "::", "getTargetTransformInfo", "(", "const", "Function", "&", "F", ")", "{", "return", "TargetTransformInfo", "(", "FPGATTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetTransformInfo", "implementation", "for", "the", "target", "."], "TS_V_token": ["FPGA", "FPGA", "FPGA"], "File": "FPGATargetMachine", "Func": "getTargetTransformInfo", "Target": "FPGA", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3403, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "nds32_expand_epilogue_v3pop", "(", "bool", "sibcall_p", ")", "{", "int", "sp_adjust", ";", "unsigned", "Rb", ",", "Re", ";", "nds32_compute_stack_frame", "(", ")", ";", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "if", "(", "cfun", "->", "machine", "->", "naked_p", ")", "{", "if", "(", "!", "sibcall_p", ")", "emit_jump_insn", "(", "gen_return_internal", "(", ")", ")", ";", "return", ";", "}", "Rb", "=", "cfun", "->", "machine", "->", "callee_saved_first_gpr_regno", ";", "Re", "=", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", ";", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "if", "(", "satisfies_constraint_Iu08", "(", "GEN_INT", "(", "sp_adjust", ")", ")", "&&", "NDS32_DOUBLE_WORD_ALIGN_P", "(", "sp_adjust", ")", "&&", "!", "cfun", "->", "calls_alloca", ")", "{", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "int", "fpr_position", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", ";", "nds32_emit_v3pop_fpr_callee_saved", "(", "fpr_position", ")", ";", "}", "nds32_emit_stack_v3pop", "(", "Rb", ",", "Re", ",", "sp_adjust", ")", ";", "}", "else", "{", "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", ";", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "sp_adjust", "=", "sp_adjust", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "hard_frame_pointer_rtx", ",", "-", "1", "*", "sp_adjust", ")", ";", "nds32_emit_v3pop_fpr_callee_saved", "(", "0", ")", ";", "}", "else", "{", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "hard_frame_pointer_rtx", ",", "-", "1", "*", "sp_adjust", ")", ";", "}", "}", "else", "{", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "sp_adjust", "=", "sp_adjust", "-", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "-", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "sp_adjust", ")", ";", "nds32_emit_v3pop_fpr_callee_saved", "(", "0", ")", ";", "}", "else", "{", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "sp_adjust", ")", ";", "}", "}", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "int", "fpr_space", "=", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "nds32_emit_stack_v3pop", "(", "Rb", ",", "Re", ",", "fpr_space", ")", ";", "}", "else", "{", "nds32_emit_stack_v3pop", "(", "Rb", ",", "Re", ",", "0", ")", ";", "}", "}", "emit_jump_insn", "(", "gen_pop25return", "(", ")", ")", ";", "}", ""], "natrual_language": ["Function", "for", "v3pop", "epilogue", "."], "TS_V_token": ["nds32", "1", "0", "1", "0", "0"], "File": "nds325", "Func": "nds32_expand_epilogue_v3pop", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3404, "Length": 389, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "if", "(", "IDVal", "==", "\".word\"", ")", "return", "ParseDirectiveWord", "(", "4", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "if", "(", "IDVal", "==", "\".tc\"", ")", "return", "ParseDirectiveTC", "(", "isPPC64", "(", ")", "?", "8", ":", "4", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["PowerPC", "PPC", "\".word\"", "4", "\".tc\"", "PPC", "8", "4"], "File": "PPCAsmParser1", "Func": "ParseDirective", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3405, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rx_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_JSR", ")", "return", "false", ";", "if", "(", "decl", "==", "NULL", ")", "return", "false", ";", "if", "(", "is_fast_interrupt_func", "(", "NULL_TREE", ")", "||", "is_interrupt_func", "(", "NULL_TREE", ")", "||", "is_naked_func", "(", "NULL_TREE", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "it", "is", "ok", "to", "make", "a", "tail-call", "to", "DECL", ",", "a", "function_decl", "or", "NULL", "if", "this", "is", "an", "indirect", "call", ",", "using", "EXP"], "TS_V_token": ["rx"], "File": "rx", "Func": "rx_function_ok_for_sibcall", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3406, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "isFrameStoreOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", "if", "(", "isFrameOperand", "(", "MI", ",", "0", ",", "FrameIndex", ")", ")", "return", "MI", "->", "getOperand", "(", "X86AddrNumOperands", ")", ".", "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", "0", "X86", "0"], "File": "X86InstrInfo134", "Func": "isStoreToStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3407, "Length": 54, "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": 3408, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "originalTypeIsF128", "(", "const", "Type", "*", "Ty", ",", "const", "SDNode", "*", "CallNode", ")", "{", "if", "(", "Ty", "->", "isFP128Ty", "(", ")", ")", "return", "true", ";", "if", "(", "Ty", "->", "isStructTy", "(", ")", "&&", "Ty", "->", "getStructNumElements", "(", ")", "==", "1", "&&", "Ty", "->", "getStructElementType", "(", "0", ")", "->", "isFP128Ty", "(", ")", ")", "return", "true", ";", "const", "ExternalSymbolSDNode", "*", "ES", "=", "dyn_cast_or_null", "<", "const", "ExternalSymbolSDNode", ">", "(", "CallNode", ")", ";", "return", "(", "ES", "&&", "Ty", "->", "isIntegerTy", "(", "128", ")", "&&", "isF128SoftLibCall", "(", "ES", "->", "getSymbol", "(", ")", ")", ")", ";", "}", ""], "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": "MipsCCState14", "Func": "originalTypeIsF128", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3409, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb2SizeReduce", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "PredicateFtor", "&&", "!", "PredicateFtor", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "STI", "=", "&", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "if", "(", "STI", "->", "isThumb1Only", "(", ")", "||", "STI", "->", "prefers32BitThumb", "(", ")", ")", "return", "false", ";", "TII", "=", "static_cast", "<", "const", "Thumb2InstrInfo", "*", ">", "(", "STI", "->", "getInstrInfo", "(", ")", ")", ";", "OptimizeSize", "=", "MF", ".", "getFunction", "(", ")", ".", "hasOptSize", "(", ")", ";", "MinimizeSize", "=", "STI", "->", "hasMinSize", "(", ")", ";", "BlockInfo", ".", "clear", "(", ")", ";", "BlockInfo", ".", "resize", "(", "MF", ".", "getNumBlockIDs", "(", ")", ")", ";", "ReversePostOrderTraversal", "<", "MachineFunction", "*", ">", "RPOT", "(", "&", "MF", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineBasicBlock", "*", "MBB", ":", "RPOT", ")", "Modified", "|=", "ReduceMBB", "(", "*", "MBB", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM"], "File": "Thumb2SizeReduction25", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3410, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "KudeyarRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "Reserved", ".", "set", "(", "Kudeyar", "::", "SP", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "Kudeyar", "::", "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": ["Kudeyar", "Kudeyar", "Kudeyar::SP", "Kudeyar::FP"], "File": "KudeyarRegisterInfo", "Func": "getReservedRegs", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3411, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mayNeedRelaxation", "(", "const", "MCInst", "&", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Check", "whether", "the", "given", "instruction", "may", "need", "relaxation", "."], "TS_V_token": ["DLX"], "File": "DLXAsmBackend", "Func": "mayNeedRelaxation", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3412, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "ix86_promote_function_mode", "(", "const_tree", "type", ",", "machine_mode", "mode", ",", "int", "*", "punsignedp", ",", "const_tree", "fntype", ",", "int", "for_return", ")", "{", "if", "(", "type", "!=", "NULL_TREE", "&&", "POINTER_TYPE_P", "(", "type", ")", ")", "{", "*", "punsignedp", "=", "POINTERS_EXTEND_UNSIGNED", ";", "return", "word_mode", ";", "}", "return", "default_promote_function_mode", "(", "type", ",", "mode", ",", "punsignedp", ",", "fntype", ",", "for_return", ")", ";", "}", ""], "natrual_language": ["Pointer", "function", "arguments", "and", "return", "values", "are", "promoted", "to", "word_mode", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_promote_function_mode", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3413, "Length": 57, "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": 3414, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64RegisterInfo", "::", "resolveFrameIndex", "(", "MachineInstr", "&", "MI", ",", "Register", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "StackOffset", "Off", "=", "StackOffset", "::", "getFixed", "(", "Offset", ")", ";", "unsigned", "i", "=", "0", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "const", "MachineFunction", "*", "MF", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "AArch64InstrInfo", "*", "TII", "=", "MF", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "bool", "Done", "=", "rewriteAArch64FrameIndex", "(", "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": ["AArch64", "AArch64", "0", "\"Instr doesn't have FrameIndex operand!\"", "AArch64", "AArch64", "AArch64", "\"Unable to resolve frame index!\""], "File": "AArch64RegisterInfo25", "Func": "resolveFrameIndex", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3415, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_output_tlsargs", "(", "rtx", "*", "operands", ")", "{", "rtx", "op", "[", "3", "]", ";", "op", "[", "0", "]", "=", "operands", "[", "0", "]", ";", "op", "[", "1", "]", "=", "XVECEXP", "(", "operands", "[", "2", "]", ",", "0", ",", "0", ")", ";", "if", "(", "XINT", "(", "operands", "[", "2", "]", ",", "1", ")", "==", "UNSPEC_TLSGD", ")", "{", "op", "[", "2", "]", "=", "XVECEXP", "(", "operands", "[", "2", "]", ",", "0", ",", "1", ")", ";", "if", "(", "TARGET_CMODEL", "!=", "CMODEL_SMALL", ")", "output_asm_insn", "(", "\"addis %0,%2,%1@got@tlsgd@ha\\n\\t\"", "\"addi %0,%0,%1@got@tlsgd@l\"", ",", "op", ")", ";", "else", "output_asm_insn", "(", "\"addi %0,%2,%1@got@tlsgd\"", ",", "op", ")", ";", "}", "else", "if", "(", "XINT", "(", "operands", "[", "2", "]", ",", "1", ")", "==", "UNSPEC_TLSLD", ")", "{", "if", "(", "TARGET_CMODEL", "!=", "CMODEL_SMALL", ")", "output_asm_insn", "(", "\"addis %0,%1,%&@got@tlsld@ha\\n\\t\"", "\"addi %0,%0,%&@got@tlsld@l\"", ",", "op", ")", ";", "else", "output_asm_insn", "(", "\"addi %0,%1,%&@got@tlsld\"", ",", "op", ")", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Output", "arg", "setup", "instructions", "for", "a", "!", "TARGET_TLS_MARKERS", "__tls_get_addr", "call", "."], "TS_V_token": ["rs6000", "3", "0", "0", "1", "2", "0", "0", "2", "1", "2", "2", "0", "1", "\"addis %0,%2,%1@got@tlsgd@ha\\n\\t\"", "\"addi %0,%0,%1@got@tlsgd@l\"", "\"addi %0,%2,%1@got@tlsgd\"", "2", "1", "\"addis %0,%1,%&@got@tlsld@ha\\n\\t\"", "\"addi %0,%0,%&@got@tlsld@l\"", "\"addi %0,%1,%&@got@tlsld\""], "File": "rs60008", "Func": "rs6000_output_tlsargs", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3416, "Length": 141, "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", "(", ")", ")", ";", "unsigned", "V0", "=", "IsN64", "?", "Mips", "::", "V0_64", ":", "Mips", "::", "V0", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "V0", ",", "Val", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "MF", ".", "getRegInfo", "(", ")", ".", "addLiveOut", "(", "V0", ")", ";", "}", "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_64", "Mips::V0", "1", "MipsISD::Ret", "MVT::Other", "MipsISD::Ret", "MVT::Other"], "File": "MipsISelLowering101", "Func": "LowerReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3417, "Length": 407, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "Mips16InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "Mips16InstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "0", "&&", "!", "MFI", ".", "adjustsStack", "(", ")", ")", "return", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "MCRegisterInfo", "*", "MRI", "=", "MMI", ".", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "TII", ".", "makeFrame", "(", "Mips", "::", "SP", ",", "StackSize", ",", "MBB", ",", "MBBI", ")", ";", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "cfiDefCfaOffset", "(", "nullptr", ",", "StackSize", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "if", "(", "!", "CSI", ".", "empty", "(", ")", ")", "{", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "for", "(", "const", "CalleeSavedInfo", "&", "I", ":", "CSI", ")", "{", "int64_t", "Offset", "=", "MFI", ".", "getObjectOffset", "(", "I", ".", "getFrameIdx", "(", ")", ")", ";", "Register", "Reg", "=", "I", ".", "getReg", "(", ")", ";", "unsigned", "DReg", "=", "MRI", "->", "getDwarfRegNum", "(", "Reg", ",", "true", ")", ";", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createOffset", "(", "nullptr", ",", "DReg", ",", "Offset", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "}", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "MoveR3216", ")", ",", "Mips", "::", "S0", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "0", "Mips::SP", "Mips::MoveR3216", "Mips::S0", "Mips::SP"], "File": "Mips16FrameLowering16", "Func": "emitPrologue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3418, "Length": 338, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "nds32_expand_prologue_v3push", "(", "void", ")", "{", "int", "fp_adjust", ";", "int", "sp_adjust", ";", "int", "fpr_space", "=", "0", ";", "unsigned", "Rb", ",", "Re", ";", "nds32_compute_stack_frame", "(", ")", ";", "if", "(", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", ">", "0", ")", "df_set_regs_ever_live", "(", "FP_REGNUM", ",", "1", ")", ";", "if", "(", "frame_pointer_needed", ")", "cfun", "->", "machine", "->", "fp_as_gp_p", "=", "false", ";", "if", "(", "cfun", "->", "machine", "->", "naked_p", "&&", "!", "flag_pic", ")", "return", ";", "Rb", "=", "cfun", "->", "machine", "->", "callee_saved_first_gpr_regno", ";", "Re", "=", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", ";", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "if", "(", "satisfies_constraint_Iu08", "(", "GEN_INT", "(", "sp_adjust", ")", ")", "&&", "NDS32_DOUBLE_WORD_ALIGN_P", "(", "sp_adjust", ")", ")", "{", "nds32_emit_stack_v3push", "(", "Rb", ",", "Re", ",", "sp_adjust", ")", ";", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "int", "fpr_position", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", ";", "nds32_emit_push_fpr_callee_saved", "(", "fpr_position", ")", ";", "}", "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", "+", "sp_adjust", ";", "nds32_emit_adjust_frame", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ",", "fp_adjust", ")", ";", "}", "}", "else", "{", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "fpr_space", "=", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "nds32_emit_stack_v3push", "(", "Rb", ",", "Re", ",", "fpr_space", ")", ";", "nds32_emit_push_fpr_callee_saved", "(", "0", ")", ";", "}", "else", "{", "nds32_emit_stack_v3push", "(", "Rb", ",", "Re", ",", "0", ")", ";", "}", "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", ";", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "fp_adjust", "=", "fp_adjust", "+", "fpr_space", ";", "}", "nds32_emit_adjust_frame", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ",", "fp_adjust", ")", ";", "}", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "sp_adjust", "=", "sp_adjust", "-", "fpr_space", ";", "}", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "-", "1", "*", "sp_adjust", ")", ";", "}", "if", "(", "flag_pic", "&&", "df_regs_ever_live_p", "(", "PIC_OFFSET_TABLE_REGNUM", ")", ")", "nds32_emit_load_gp", "(", ")", ";", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", ""], "natrual_language": ["Function", "for", "v3push", "prologue", "."], "TS_V_token": ["nds32", "0", "0", "1", "0", "0", "1"], "File": "nds32", "Func": "nds32_expand_prologue_v3push", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3419, "Length": 376, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "OR1KRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "OR1K", "::", "R2", ":", "OR1K", "::", "R1", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["OR1K", "OR1K", "OR1K::R2", "OR1K::R1"], "File": "OR1KRegisterInfo1", "Func": "getFrameRegister", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3420, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "MINA32TargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "case", "MINA32ISD", "::", "name", ":", "\\", "return", "#", "name", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "nullptr", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["MINA32", "MINA32", "MINA32ISD::name"], "File": "MINA32ISelLowering", "Func": "getTargetNodeName", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3421, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addPreISel", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableGlobalMerge", "&&", "!", "getARMSubtarget", "(", ")", ".", "isTargetNaCl", "(", ")", ")", "addPass", "(", "createGlobalMergePass", "(", "TM", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMTargetMachine88", "Func": "addPreISel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3422, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "neon_lane_bounds", "(", "rtx", "operand", ",", "HOST_WIDE_INT", "low", ",", "HOST_WIDE_INT", "high", ",", "const_tree", "exp", ")", "{", "bounds_check", "(", "operand", ",", "low", ",", "high", ",", "exp", ",", "\"lane\"", ")", ";", "}", ""], "natrual_language": ["Bounds-check", "lanes", "."], "TS_V_token": ["arm", "\"lane\""], "File": "arm", "Func": "neon_lane_bounds", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3423, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_binop", "(", "enum", "rtx_code", "code", ",", "machine_mode", "mode", ",", "rtx", "dst", ",", "rtx", "src", ")", "{", "rtx", "op", ",", "clob", ";", "op", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "dst", ",", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "dst", ",", "src", ")", ")", ";", "clob", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "CCmode", ",", "FLAGS_REG", ")", ")", ";", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "op", ",", "clob", ")", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "x86", "binary", "operand", "CODE", "in", "mode", "MODE", ",", "where", "the", "first", "operand", "matches", "destination", ".", "RTX", "includes", "clobber", "of", "FLAGS_REG", "."], "TS_V_token": ["i386", "2"], "File": "i3864", "Func": "ix86_emit_binop", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3424, "Length": 75, "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": 3425, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "getBasePointerSaveOffset", "(", "bool", "isPPC64", ",", "bool", "isDarwinABI", ",", "bool", "isPIC", ")", "{", "if", "(", "isDarwinABI", ")", "return", "isPPC64", "?", "-", "16U", ":", "-", "8U", ";", "return", "isPPC64", "?", "-", "16U", ":", "isPIC", "?", "-", "12U", ":", "-", "8U", ";", "}", ""], "natrual_language": ["getBasePointerSaveOffset", "-", "Return", "the", "previous", "frame", "offset", "to", "save", "the", "base", "pointer", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "16U", "8U", "PPC", "16U", "12U", "8U"], "File": "PPCFrameLowering21", "Func": "getBasePointerSaveOffset", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3426, "Length": 42, "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": 3427, "Length": 245, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "MandarinTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "MandarinPassConfig", "(", "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": ["Mandarin"], "File": "MandarinTargetMachine", "Func": "createPassConfig", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3428, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetTransformInfo", "::", "PopcntSupportKind", "X86TTIImpl", "::", "getPopcntSupport", "(", "unsigned", "TyWidth", ")", "{", "assert", "(", "isPowerOf2_32", "(", "TyWidth", ")", "&&", "\"Ty width must be power of 2\"", ")", ";", "return", "ST", "->", "hasPOPCNT", "(", ")", "?", "TTI", "::", "PSK_FastHardware", ":", "TTI", "::", "PSK_Software", ";", "}", ""], "natrual_language": ["Return", "hardware", "support", "for", "population", "count", "."], "TS_V_token": ["X86", "X86", "\"Ty width must be power of 2\""], "File": "X86TargetTransformInfo (2)", "Func": "getPopcntSupport", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3429, "Length": 37, "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": 3430, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "int", "Offset", "=", "0", ";", "if", "(", "ExtraCode", ")", "{", "if", "(", "ExtraCode", "[", "0", "]", "==", "'D'", ")", "Offset", "=", "4", ";", "else", "return", "true", ";", "}", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "assert", "(", "MO", ".", "isReg", "(", ")", "&&", "\"unexpected inline asm memory operand\"", ")", ";", "O", "<<", "Offset", "<<", "\"($\"", "<<", "MipsInstPrinter", "::", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", "<<", "\")\"", ";", "return", "false", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "."], "TS_V_token": ["Mips", "Mips", "0", "0", "4", "\"unexpected inline asm memory operand\"", "\"($\"", "Mips", "\")\""], "File": "MipsAsmPrinter11", "Func": "PrintAsmMemoryOperand", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3431, "Length": 100, "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_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-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": "X86InstrInfo (2)3", "Func": "getSerializableDirectMachineOperandTargetFlags", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3432, "Length": 180, "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": ["SystemZ"], "File": "SystemZAsmParser (2)", "Func": "getStartLoc", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3433, "Length": 11, "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": 3434, "Length": 86, "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", "IsPCRel", ")", "const", "override", "{", "Value", "=", "adjustFixupValue", "(", "Fixup", ".", "getKind", "(", ")", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittleEndian", "?", "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", "1", "8", "0xff"], "File": "PPCAsmBackend16", "Func": "applyFixup", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3435, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCPassConfig", "::", "addPreSched2", "(", ")", "{", "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"], "File": "PPCTargetMachine13", "Func": "addPreSched2", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3436, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "pru_regno_ok_for_base_p", "(", "int", "regno", ",", "bool", "strict_p", ")", "{", "if", "(", "!", "HARD_REGISTER_NUM_P", "(", "regno", ")", "&&", "!", "strict_p", ")", "return", "true", ";", "return", "(", "GP_REG_P", "(", "regno", ")", "||", "regno", "==", "FRAME_POINTER_REGNUM", "||", "regno", "==", "ARG_POINTER_REGNUM", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "register", "REGNO", "is", "a", "valid", "base", "register", ".", "STRICT_P", "is", "true", "if", "REG_OK_STRICT", "is", "in", "effect", "."], "TS_V_token": ["pru"], "File": "pru", "Func": "pru_regno_ok_for_base_p", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3437, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_pad_reg_upward", "(", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "first", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "BYTES_BIG_ENDIAN", "&&", "aarch64_composite_type_p", "(", "type", ",", "mode", ")", ")", "{", "HOST_WIDE_INT", "size", "=", "(", "type", "?", "int_size_in_bytes", "(", "type", ")", ":", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "if", "(", "size", "<", "2", "*", "UNITS_PER_WORD", ")", "return", "true", ";", "}", "return", "!", "BYTES_BIG_ENDIAN", ";", "}", ""], "natrual_language": ["Similarly", ",", "for", "use", "by", "BLOCK_REG_PADDING", "(", "MODE", ",", "TYPE", ",", "FIRST", ")", ".", "It", "specifies", "padding", "for", "the", "last", "(", "may", "also", "be", "the", "only", ")", "element", "of", "a", "block", "move", "between", "registers", "and", "memory", ".", "If", "assuming", "the", "block", "is", "in", "the", "memory", ",", "padding", "upward", "means", "that", "the", "last", "element", "is", "padded", "after", "its", "highest", "significant", "byte", ",", "while", "in", "downward", "padding", ",", "the", "last", "element", "is", "padded", "at", "the", "its", "least", "significant", "byte", "side", ".", "Small", "aggregates", "and", "small", "complex", "types", "are", "always", "padded", "upwards", ".", "We", "do", "n't", "need", "to", "worry", "about", "homogeneous", "floating-point", "or", "short-vector", "aggregates", ";", "their", "move", "is", "not", "affected", "by", "the", "padding", "direction", "determined", "here", ".", "Regardless", "of", "endianness", ",", "each", "element", "of", "such", "an", "aggregate", "is", "put", "in", "the", "least", "significant", "bits", "of", "a", "fp/simd", "register", ".", "Return", "!", "BYTES_BIG_ENDIAN", "if", "the", "least", "significant", "byte", "of", "the", "register", "has", "useful", "data", ",", "and", "return", "the", "opposite", "if", "the", "most", "significant", "byte", "does", "."], "TS_V_token": ["aarch64", "2"], "File": "aarch642", "Func": "aarch64_pad_reg_upward", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3438, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "use_simple_return_p", "(", "void", ")", "{", "arm_stack_offsets", "*", "offsets", ";", "offsets", "=", "arm_get_frame_offsets", "(", ")", ";", "return", "offsets", "->", "outgoing_args", "!=", "0", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "we", "should", "try", "to", "use", "a", "simple_return", "insn", ",", "i.e", ".", "perform", "shrink-wrapping", "if", "possible", ".", "This", "is", "the", "case", "if", "we", "need", "to", "emit", "a", "prologue", ",", "which", "we", "can", "test", "by", "looking", "at", "the", "offsets", "."], "TS_V_token": ["arm", "0"], "File": "arm4", "Func": "use_simple_return_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3439, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMExpandPseudo", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "TargetMachine", "&", "TM", "=", "MF", ".", "getTarget", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "TM", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "TM", ".", "getRegisterInfo", "(", ")", ";", "STI", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "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", "ARM", "ARM", "ARM"], "File": "ARMExpandPseudoInsts5", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3440, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreEmitPass2", "(", ")", "{", "const", "Triple", "&", "TT", "=", "TM", "->", "getTargetTriple", "(", ")", ";", "const", "MCAsmInfo", "*", "MAI", "=", "TM", "->", "getMCAsmInfo", "(", ")", ";", "addPass", "(", "createX86RetpolineThunksPass", "(", ")", ")", ";", "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", "(", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "may", "add", "passes", "immediately", "before", "machine", "code", "is", "emitted", "in", "this", "callback", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86TargetMachine130", "Func": "addPreEmitPass2", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3441, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "make_resolver_func", "(", "const", "tree", "default_decl", ",", "const", "tree", "ifunc_alias_decl", ",", "basic_block", "*", "empty_bb", ")", "{", "char", "*", "resolver_name", ";", "tree", "decl", ",", "type", ",", "decl_name", ",", "t", ";", "if", "(", "TREE_PUBLIC", "(", "default_decl", ")", "==", "0", ")", "{", "char", "*", "ifunc_name", "=", "make_unique_name", "(", "default_decl", ",", "\"ifunc\"", ",", "true", ")", ";", "symtab", "->", "change_decl_assembler_name", "(", "ifunc_alias_decl", ",", "get_identifier", "(", "ifunc_name", ")", ")", ";", "XDELETEVEC", "(", "ifunc_name", ")", ";", "}", "resolver_name", "=", "make_unique_name", "(", "default_decl", ",", "\"resolver\"", ",", "false", ")", ";", "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", ")", "=", "1", ";", "TREE_PUBLIC", "(", "decl", ")", "=", "0", ";", "DECL_UNINLINABLE", "(", "decl", ")", "=", "1", ";", "DECL_EXTERNAL", "(", "decl", ")", "=", "0", ";", "DECL_EXTERNAL", "(", "ifunc_alias_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_CONTEXT", "(", "t", ")", "=", "decl", ";", "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", ",", "profile_count", "::", "uninitialized", "(", ")", ")", ";", "cgraph_node", "::", "add_new_function", "(", "decl", ",", "true", ")", ";", "symtab", "->", "call_cgraph_insertion_hooks", "(", "cgraph_node", "::", "get_create", "(", "decl", ")", ")", ";", "pop_cfun", "(", ")", ";", "gcc_assert", "(", "ifunc_alias_decl", "!=", "NULL", ")", ";", "DECL_ATTRIBUTES", "(", "ifunc_alias_decl", ")", "=", "make_attribute", "(", "\"ifunc\"", ",", "resolver_name", ",", "DECL_ATTRIBUTES", "(", "ifunc_alias_decl", ")", ")", ";", "cgraph_node", "::", "create_same_body_alias", "(", "ifunc_alias_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", "\"ifunc\"", "\"resolver\"", "1", "1", "1", "0", "1", "0", "0", "0", "1", "1", "1", "\"ifunc\""], "File": "i3868", "Func": "make_resolver_func", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3442, "Length": 362, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isSEHInstruction", "(", "const", "MachineInstr", "&", "MI", ")", "{", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "default", ":", "return", "false", ";", "case", "AArch64", "::", "SEH_StackAlloc", ":", "case", "AArch64", "::", "SEH_SaveFPLR", ":", "case", "AArch64", "::", "SEH_SaveFPLR_X", ":", "case", "AArch64", "::", "SEH_SaveReg", ":", "case", "AArch64", "::", "SEH_SaveReg_X", ":", "case", "AArch64", "::", "SEH_SaveRegP", ":", "case", "AArch64", "::", "SEH_SaveRegP_X", ":", "case", "AArch64", "::", "SEH_SaveFReg", ":", "case", "AArch64", "::", "SEH_SaveFReg_X", ":", "case", "AArch64", "::", "SEH_SaveFRegP", ":", "case", "AArch64", "::", "SEH_SaveFRegP_X", ":", "case", "AArch64", "::", "SEH_SetFP", ":", "case", "AArch64", "::", "SEH_AddFP", ":", "case", "AArch64", "::", "SEH_Nop", ":", "case", "AArch64", "::", "SEH_PrologEnd", ":", "case", "AArch64", "::", "SEH_EpilogStart", ":", "case", "AArch64", "::", "SEH_EpilogEnd", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "the", "instructions", "is", "a", "SEH", "instruciton", "used", "for", "unwinding", "on", "Windows", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::SEH_StackAlloc", "AArch64::SEH_SaveFPLR", "AArch64::SEH_SaveFPLR_X", "AArch64::SEH_SaveReg", "AArch64::SEH_SaveReg_X", "AArch64::SEH_SaveRegP", "AArch64::SEH_SaveRegP_X", "AArch64::SEH_SaveFReg", "AArch64::SEH_SaveFReg_X", "AArch64::SEH_SaveFRegP", "AArch64::SEH_SaveFRegP_X", "AArch64::SEH_SetFP", "AArch64::SEH_AddFP", "AArch64::SEH_Nop", "AArch64::SEH_PrologEnd", "AArch64::SEH_EpilogStart", "AArch64::SEH_EpilogEnd"], "File": "AArch64InstrInfo (2)1", "Func": "isSEHInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3443, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MINA32FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["MINA32", "MINA32"], "File": "MINA32FrameLowering", "Func": "emitEpilogue", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3444, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsRegisterInfo", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MipsFunctionInfo", "*", "MipsFI", "=", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "::", "getUnknownLoc", "(", ")", ")", ";", "bool", "isPIC", "=", "(", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", ";", "adjustMipsStackFrame", "(", "MF", ")", ";", "unsigned", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "0", "&&", "!", "MFI", "->", "hasCalls", "(", ")", ")", "return", ";", "int", "FPOffset", "=", "MipsFI", "->", "getFPStackOffset", "(", ")", ";", "int", "RAOffset", "=", "MipsFI", "->", "getRAStackOffset", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "NOREORDER", ")", ")", ";", "if", "(", "isPIC", "&&", "Subtarget", ".", "isABI_O32", "(", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "CPLOAD", ")", ")", ".", "addReg", "(", "getPICCallReg", "(", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "NOMACRO", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "ADDiu", ")", ",", "Mips", "::", "SP", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ".", "addImm", "(", "-", "StackSize", ")", ";", "if", "(", "MFI", "->", "hasCalls", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "SW", ")", ")", ".", "addReg", "(", "Mips", "::", "RA", ")", ".", "addImm", "(", "RAOffset", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "SW", ")", ")", ".", "addReg", "(", "Mips", "::", "FP", ")", ".", "addImm", "(", "FPOffset", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "ADDu", ")", ",", "Mips", "::", "FP", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ".", "addReg", "(", "Mips", "::", "ZERO", ")", ";", "}", "if", "(", "(", "isPIC", ")", "&&", "(", "MFI", "->", "hasCalls", "(", ")", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "CPRESTORE", ")", ")", ".", "addImm", "(", "MipsFI", "->", "getGPStackOffset", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "0", "Mips", "Mips", "Mips::NOREORDER", "Mips::CPLOAD", "Mips::NOMACRO", "Mips::ADDiu", "Mips::SP", "Mips::SP", "Mips::SW", "Mips::RA", "Mips::SP", "Mips::SW", "Mips::FP", "Mips::SP", "Mips::ADDu", "Mips::FP", "Mips::SP", "Mips::ZERO", "Mips::CPRESTORE", "Mips"], "File": "MipsRegisterInfo18", "Func": "emitPrologue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3445, "Length": 425, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FixupLEAPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Func", ")", "{", "MF", "=", "&", "Func", ";", "const", "X86Subtarget", "&", "ST", "=", "Func", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "OptIncDec", "=", "!", "ST", ".", "slowIncDec", "(", ")", "||", "Func", ".", "getFunction", "(", ")", "->", "optForMinSize", "(", ")", ";", "OptLEA", "=", "ST", ".", "LEAusesAG", "(", ")", "||", "ST", ".", "slowLEA", "(", ")", ";", "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": "X86FixupLEAs (2)", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3446, "Length": 140, "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", "(", ")", ";", "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", ")", "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": ["Mips", "Mips", "0", "Mips::RA"], "File": "Mips16FrameLowering25", "Func": "spillCalleeSavedRegisters", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3447, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "uint16_t", "*", "lookup", "(", "unsigned", "opcode", ",", "unsigned", "domain", ")", "{", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "array_lengthof", "(", "ReplaceableInstrs", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "if", "(", "ReplaceableInstrs", "[", "i", "]", "[", "domain", "-", "1", "]", "==", "opcode", ")", "return", "ReplaceableInstrs", "[", "i", "]", ";", "return", "0", ";", "}", ""], "natrual_language": ["This", "method", "finds", "the", "value", "with", "the", "given", "Name", "in", "the", "the", "symbol", "table", "."], "TS_V_token": ["X86", "0", "1", "0"], "File": "X86InstrInfo (2)", "Func": "lookup", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3448, "Length": 58, "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": 3449, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsInstrInfo", "::", "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", "(", ")", ";", "unsigned", "Opc", "=", "0", ";", "if", "(", "RC", "==", "Mips", "::", "CPURegsRegisterClass", ")", "Opc", "=", "IsN64", "?", "Mips", "::", "LW_P8", ":", "Mips", "::", "LW", ";", "else", "if", "(", "RC", "==", "Mips", "::", "CPU64RegsRegisterClass", ")", "Opc", "=", "IsN64", "?", "Mips", "::", "LD_P8", ":", "Mips", "::", "LD", ";", "else", "if", "(", "RC", "==", "Mips", "::", "FGR32RegisterClass", ")", "Opc", "=", "IsN64", "?", "Mips", "::", "LWC1_P8", ":", "Mips", "::", "LWC1", ";", "else", "if", "(", "RC", "==", "Mips", "::", "AFGR64RegisterClass", ")", "Opc", "=", "Mips", "::", "LDC1", ";", "else", "if", "(", "RC", "==", "Mips", "::", "FGR64RegisterClass", ")", "Opc", "=", "IsN64", "?", "Mips", "::", "LDC164_P8", ":", "Mips", "::", "LDC164", ";", "assert", "(", "Opc", "&&", "\"Register class not handled!\"", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ",", "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": ["Mips", "Mips", "0", "Mips::CPURegsRegisterClass", "Mips::LW_P8", "Mips::LW", "Mips::CPU64RegsRegisterClass", "Mips::LD_P8", "Mips::LD", "Mips::FGR32RegisterClass", "Mips::LWC1_P8", "Mips::LWC1", "Mips::AFGR64RegisterClass", "Mips::LDC1", "Mips::FGR64RegisterClass", "Mips::LDC164_P8", "Mips::LDC164", "\"Register class not handled!\"", "0"], "File": "MipsInstrInfo11", "Func": "loadRegFromStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3450, "Length": 190, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb2InstrInfo", "::", "ReplaceTailWithBranchTo", "(", "MachineBasicBlock", "::", "iterator", "Tail", ",", "MachineBasicBlock", "*", "NewDest", ")", "const", "{", "MachineBasicBlock", "*", "MBB", "=", "Tail", "->", "getParent", "(", ")", ";", "ARMFunctionInfo", "*", "AFI", "=", "MBB", "->", "getParent", "(", ")", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "if", "(", "!", "AFI", "->", "hasITBlocks", "(", ")", "||", "Tail", "->", "isBranch", "(", ")", ")", "{", "TargetInstrInfo", "::", "ReplaceTailWithBranchTo", "(", "Tail", ",", "NewDest", ")", ";", "return", ";", "}", "unsigned", "PredReg", "=", "0", ";", "ARMCC", "::", "CondCodes", "CC", "=", "getInstrPredicate", "(", "*", "Tail", ",", "PredReg", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "Tail", ";", "if", "(", "CC", "!=", "ARMCC", "::", "AL", ")", "--", "MBBI", ";", "TargetInstrInfo", "::", "ReplaceTailWithBranchTo", "(", "Tail", ",", "NewDest", ")", ";", "if", "(", "CC", "!=", "ARMCC", "::", "AL", ")", "{", "MachineBasicBlock", "::", "iterator", "E", "=", "MBB", "->", "begin", "(", ")", ";", "unsigned", "Count", "=", "4", ";", "while", "(", "Count", "&&", "MBBI", "!=", "E", ")", "{", "if", "(", "MBBI", "->", "isDebugValue", "(", ")", ")", "{", "--", "MBBI", ";", "continue", ";", "}", "if", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2IT", ")", "{", "unsigned", "Mask", "=", "MBBI", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "Count", "==", "4", ")", "MBBI", "->", "eraseFromParent", "(", ")", ";", "else", "{", "unsigned", "MaskOn", "=", "1", "<<", "Count", ";", "unsigned", "MaskOff", "=", "~", "(", "MaskOn", "-", "1", ")", ";", "MBBI", "->", "getOperand", "(", "1", ")", ".", "setImm", "(", "(", "Mask", "&", "MaskOff", ")", "|", "MaskOn", ")", ";", "}", "return", ";", "}", "--", "MBBI", ";", "--", "Count", ";", "}", "}", "}", ""], "natrual_language": ["Delete", "the", "instruction", "OldInst", "and", "everything", "after", "it", ",", "replacing", "it", "with", "an", "unconditional", "branch", "to", "NewDest", "."], "TS_V_token": ["ARM", "ARM", "ARM", "0", "ARMCC::CondCodes", "ARMCC::AL", "ARMCC::AL", "4", "ARM::t2IT", "1", "4", "1", "1", "1"], "File": "Thumb2InstrInfo14", "Func": "ReplaceTailWithBranchTo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3451, "Length": 254, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "poly_int64", "ix86_push_rounding", "(", "poly_int64", "bytes", ")", "{", "return", "ROUND_UP", "(", "bytes", ",", "UNITS_PER_WORD", ")", ";", "}", ""], "natrual_language": ["Implement", "PUSH_ROUNDING", ".", "On", "386", ",", "we", "have", "pushw", "instruction", "that", "decrements", "by", "exactly", "2", "no", "matter", "what", "the", "position", "was", ",", "there", "is", "no", "pushb", ".", "But", "as", "CIE", "data", "alignment", "factor", "on", "this", "arch", "is", "-4", "for", "32bit", "targets", "and", "-8", "for", "64bit", "targets", ",", "we", "need", "to", "make", "sure", "all", "stack", "pointer", "adjustments", "are", "in", "multiple", "of", "4", "for", "32bit", "targets", "and", "8", "for", "64bit", "targets", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_push_rounding", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3452, "Length": 16, "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", ")", ".", "setLibCallee", "(", "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": "AArch64SelectionDAGInfo6", "Func": "EmitTargetCodeForMemset", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3453, "Length": 296, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetMachine", "::", "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": "ARMTargetMachine26", "Func": "addInstSelector", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3454, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 vzeroupper inserter\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 vzeroupper inserter\""], "File": "X86VZeroUpper12", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3455, "Length": 13, "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": 3456, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "shouldExpandAtomicCmpXchgInIR", "(", "AtomicCmpXchgInst", "*", "AI", ")", "const", "{", "return", "getTargetMachine", "(", ")", ".", "getOptLevel", "(", ")", "!=", "0", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "atomic", "cmpxchg", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "."], "TS_V_token": ["ARM", "ARM", "0"], "File": "ARMISelLowering11", "Func": "shouldExpandAtomicCmpXchgInIR", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3457, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "HOST_WIDE_INT", "arm_asan_shadow_offset", "(", "void", ")", "{", "return", "(", "unsigned", "HOST_WIDE_INT", ")", "1", "<<", "29", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_ASAN_SHADOW_OFFSET", "hook", "."], "TS_V_token": ["arm", "1", "29"], "File": "arm4", "Func": "arm_asan_shadow_offset", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3458, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 Avoid Store Forwarding Blocks\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 Avoid Store Forwarding Blocks\""], "File": "X86AvoidStoreForwardingBlocks", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3459, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "v2df_reduction_p", "(", "rtx", "op", ")", "{", "if", "(", "GET_MODE", "(", "op", ")", "!=", "V2DFmode", ")", "return", "false", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "op", ")", ";", "if", "(", "code", "!=", "PLUS", "&&", "code", "!=", "SMIN", "&&", "code", "!=", "SMAX", ")", "return", "false", ";", "rtx", "concat", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "concat", ")", "!=", "VEC_CONCAT", ")", "return", "false", ";", "rtx", "select0", "=", "XEXP", "(", "concat", ",", "0", ")", ";", "rtx", "select1", "=", "XEXP", "(", "concat", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "select0", ")", "!=", "VEC_SELECT", "||", "GET_CODE", "(", "select1", ")", "!=", "VEC_SELECT", ")", "return", "false", ";", "rtx", "reg0", "=", "XEXP", "(", "select0", ",", "0", ")", ";", "rtx", "reg1", "=", "XEXP", "(", "select1", ",", "0", ")", ";", "if", "(", "!", "rtx_equal_p", "(", "reg0", ",", "reg1", ")", "||", "!", "REG_P", "(", "reg0", ")", ")", "return", "false", ";", "rtx", "parallel0", "=", "XEXP", "(", "select0", ",", "1", ")", ";", "rtx", "parallel1", "=", "XEXP", "(", "select1", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "parallel0", ")", "!=", "PARALLEL", "||", "GET_CODE", "(", "parallel1", ")", "!=", "PARALLEL", ")", "return", "false", ";", "if", "(", "!", "rtx_equal_p", "(", "XVECEXP", "(", "parallel0", ",", "0", ",", "0", ")", ",", "const1_rtx", ")", "||", "!", "rtx_equal_p", "(", "XVECEXP", "(", "parallel1", ",", "0", ",", "0", ")", ",", "const0_rtx", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "TRUE", "iff", "OP", "matches", "a", "V2DF", "reduction", "pattern", ".", "See", "the", "definition", "of", "vsx_reduc_", "<", "VEC_reduc_name", ">", "_v2df", "in", "vsx.md", "."], "TS_V_token": ["powerpcspe", "0", "0", "1", "0", "0", "1", "1", "0", "0", "0", "0"], "File": "powerpcspe", "Func": "v2df_reduction_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3460, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "X86TargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", "DL", ",", "LLVMContext", "&", "Context", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "MVT", "::", "i8", ";", "if", "(", "VT", ".", "isSimple", "(", ")", ")", "{", "MVT", "VVT", "=", "VT", ".", "getSimpleVT", "(", ")", ";", "const", "unsigned", "NumElts", "=", "VVT", ".", "getVectorNumElements", "(", ")", ";", "MVT", "EltVT", "=", "VVT", ".", "getVectorElementType", "(", ")", ";", "if", "(", "VVT", ".", "is512BitVector", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "hasAVX512", "(", ")", ")", "if", "(", "EltVT", "==", "MVT", "::", "i32", "||", "EltVT", "==", "MVT", "::", "i64", "||", "EltVT", "==", "MVT", "::", "f32", "||", "EltVT", "==", "MVT", "::", "f64", ")", "switch", "(", "NumElts", ")", "{", "case", "8", ":", "return", "MVT", "::", "v8i1", ";", "case", "16", ":", "return", "MVT", "::", "v16i1", ";", "}", "if", "(", "Subtarget", ".", "hasBWI", "(", ")", ")", "if", "(", "EltVT", "==", "MVT", "::", "i8", "||", "EltVT", "==", "MVT", "::", "i16", ")", "switch", "(", "NumElts", ")", "{", "case", "32", ":", "return", "MVT", "::", "v32i1", ";", "case", "64", ":", "return", "MVT", "::", "v64i1", ";", "}", "}", "if", "(", "Subtarget", ".", "hasBWI", "(", ")", "&&", "Subtarget", ".", "hasVLX", "(", ")", ")", "return", "MVT", "::", "getVectorVT", "(", "MVT", "::", "i1", ",", "NumElts", ")", ";", "if", "(", "!", "isTypeLegal", "(", "VT", ")", "&&", "getTypeAction", "(", "Context", ",", "VT", ")", "==", "TypePromoteInteger", ")", "{", "EVT", "LegalVT", "=", "getTypeToTransformTo", "(", "Context", ",", "VT", ")", ";", "EltVT", "=", "LegalVT", ".", "getVectorElementType", "(", ")", ".", "getSimpleVT", "(", ")", ";", "}", "if", "(", "Subtarget", ".", "hasVLX", "(", ")", "&&", "EltVT", ".", "getSizeInBits", "(", ")", ">=", "32", ")", "switch", "(", "NumElts", ")", "{", "case", "2", ":", "return", "MVT", "::", "v2i1", ";", "case", "4", ":", "return", "MVT", "::", "v4i1", ";", "case", "8", ":", "return", "MVT", "::", "v8i1", ";", "}", "}", "return", "VT", ".", "changeVectorElementTypeToInteger", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["X86", "X86", "MVT::i8", "MVT::i32", "MVT::i64", "MVT::f32", "MVT::f64", "8", "MVT::v8i1", "16", "MVT::v16i1", "MVT::i8", "MVT::i16", "32", "MVT::v32i1", "64", "MVT::v64i1", "MVT::getVectorVT", "MVT::i1", "32", "2", "MVT::v2i1", "4", "MVT::v4i1", "8", "MVT::v8i1"], "File": "X86ISelLowering152", "Func": "getSetCCResultType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3461, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_move_quad", "(", "rtx", "*", "operands", ")", "{", "if", "(", "REG_P", "(", "operands", "[", "0", "]", ")", ")", "{", "if", "(", "MEM_P", "(", "operands", "[", "1", "]", ")", ")", "{", "switch", "(", "GET_CODE", "(", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ")", ")", "{", "case", "REG", ":", "output_asm_insn", "(", "\"ldm%(ia%)\\t%m1, %M0\"", ",", "operands", ")", ";", "break", ";", "case", "LABEL_REF", ":", "case", "CONST", ":", "output_asm_insn", "(", "\"adr%?\\t%0, %1\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"ldm%(ia%)\\t%0, %M0\"", ",", "operands", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "{", "rtx", "ops", "[", "2", "]", ";", "int", "dest", ",", "src", ",", "i", ";", "gcc_assert", "(", "REG_P", "(", "operands", "[", "1", "]", ")", ")", ";", "dest", "=", "REGNO", "(", "operands", "[", "0", "]", ")", ";", "src", "=", "REGNO", "(", "operands", "[", "1", "]", ")", ";", "if", "(", "dest", "<", "src", ")", "for", "(", "i", "=", "0", ";", "i", "<", "4", ";", "i", "++", ")", "{", "ops", "[", "0", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "dest", "+", "i", ")", ";", "ops", "[", "1", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "src", "+", "i", ")", ";", "output_asm_insn", "(", "\"mov%?\\t%0, %1\"", ",", "ops", ")", ";", "}", "else", "for", "(", "i", "=", "3", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "ops", "[", "0", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "dest", "+", "i", ")", ";", "ops", "[", "1", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "src", "+", "i", ")", ";", "output_asm_insn", "(", "\"mov%?\\t%0, %1\"", ",", "ops", ")", ";", "}", "}", "}", "else", "{", "gcc_assert", "(", "MEM_P", "(", "operands", "[", "0", "]", ")", ")", ";", "gcc_assert", "(", "REG_P", "(", "operands", "[", "1", "]", ")", ")", ";", "gcc_assert", "(", "!", "reg_overlap_mentioned_p", "(", "operands", "[", "1", "]", ",", "operands", "[", "0", "]", ")", ")", ";", "switch", "(", "GET_CODE", "(", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ")", ")", "{", "case", "REG", ":", "output_asm_insn", "(", "\"stm%(ia%)\\t%m0, %M1\"", ",", "operands", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "assembler", "code", "to", "perform", "a", "quadword", "move", "insn", "with", "operands", "OPERANDS", "."], "TS_V_token": ["arm", "0", "1", "1", "0", "\"ldm%(ia%)\\t%m1, %M0\"", "\"adr%?\\t%0, %1\"", "\"ldm%(ia%)\\t%0, %M0\"", "2", "1", "0", "1", "0", "4", "0", "1", "\"mov%?\\t%0, %1\"", "3", "0", "0", "1", "\"mov%?\\t%0, %1\"", "0", "1", "1", "0", "0", "0", "\"stm%(ia%)\\t%m0, %M1\"", "\"\""], "File": "arm4", "Func": "output_move_quad", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3462, "Length": 326, "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", "::", "SHL_PARTS", ":", "return", "LowerShiftLeftParts", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SRL_PARTS", ":", "case", "ISD", "::", "SRA_PARTS", ":", "return", "LowerShiftRightParts", "(", "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", "::", "ConstantPool", ":", "return", "LowerConstantPool", "(", "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", "::", "CONCAT_VECTORS", ":", "return", "LowerCONCAT_VECTORS", "(", "Op", ",", "DAG", ")", ";", "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::SHL_PARTS", "ISD::SRL_PARTS", "ISD::SRA_PARTS", "ISD::BlockAddress", "ISD::BRCOND", "ISD::BR_CC", "ISD::GlobalAddress", "ISD::ConstantPool", "ISD::GlobalTLSAddress", "ISD::JumpTable", "ISD::SELECT", "ISD::SELECT_CC", "ISD::SETCC", "ISD::VACOPY", "ISD::VASTART", "ISD::BUILD_VECTOR", "ISD::CONCAT_VECTORS", "ISD::VECTOR_SHUFFLE"], "File": "AArch64ISelLowering109", "Func": "LowerOperation", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3463, "Length": 447, "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": 3464, "Length": 146, "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", "=", "IsN64", "?", "Mips", "::", "GP_64", ":", "Mips", "::", "GP", ";", "EVT", "Ty", "=", "IsN64", "?", "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", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "const", "uint32_t", "*", "Mask", "=", "TRI", "->", "getCallPreservedMask", "(", "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": ["Mips", "Mips", "Mips::GP_64", "Mips::GP", "MVT::i64", "MVT::i32", "0", "1", "0", "\"Missing call preserved mask for calling convention\""], "File": "MipsISelLowering126", "Func": "getOpndList", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3465, "Length": 288, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCPassConfig", "::", "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": ["PowerPC", "PPC"], "File": "PPCTargetMachine40", "Func": "addGlobalInstructionSelect", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3466, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_define_unconditional_macros", "(", "cpp_reader", "*", "pfile", ")", "{", "builtin_define", "(", "\"__aarch64__\"", ")", ";", "builtin_define", "(", "\"__ARM_64BIT_STATE\"", ")", ";", "builtin_define", "(", "\"__ARM_ARCH_ISA_A64\"", ")", ";", "builtin_define_with_int_value", "(", "\"__ARM_ALIGN_MAX_PWR\"", ",", "28", ")", ";", "builtin_define_with_int_value", "(", "\"__ARM_ALIGN_MAX_STACK_PWR\"", ",", "16", ")", ";", "builtin_define", "(", "\"__ARM_ARCH_8A\"", ")", ";", "builtin_define_with_int_value", "(", "\"__ARM_ARCH_PROFILE\"", ",", "'A'", ")", ";", "builtin_define", "(", "\"__ARM_FEATURE_CLZ\"", ")", ";", "builtin_define", "(", "\"__ARM_FEATURE_IDIV\"", ")", ";", "builtin_define", "(", "\"__ARM_FEATURE_UNALIGNED\"", ")", ";", "builtin_define", "(", "\"__ARM_PCS_AAPCS64\"", ")", ";", "builtin_define_with_int_value", "(", "\"__ARM_SIZEOF_WCHAR_T\"", ",", "WCHAR_TYPE_SIZE", "/", "8", ")", ";", "}", ""], "natrual_language": ["Define", "the", "macros", "that", "we", "always", "expect", "to", "have", "on", "AArch64", "."], "TS_V_token": ["aarch64", "\"__aarch64__\"", "\"__ARM_64BIT_STATE\"", "\"__ARM_ARCH_ISA_A64\"", "\"__ARM_ALIGN_MAX_PWR\"", "28", "\"__ARM_ALIGN_MAX_STACK_PWR\"", "16", "\"__ARM_ARCH_8A\"", "\"__ARM_ARCH_PROFILE\"", "\"__ARM_FEATURE_CLZ\"", "\"__ARM_FEATURE_IDIV\"", "\"__ARM_FEATURE_UNALIGNED\"", "\"__ARM_PCS_AAPCS64\"", "\"__ARM_SIZEOF_WCHAR_T\"", "8"], "File": "aarch64-c2", "Func": "aarch64_define_unconditional_macros", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3467, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86FastISel", "::", "fastMaterializeConstant", "(", "const", "Constant", "*", "C", ")", "{", "EVT", "CEVT", "=", "TLI", ".", "getValueType", "(", "C", "->", "getType", "(", ")", ",", "true", ")", ";", "if", "(", "!", "CEVT", ".", "isSimple", "(", ")", ")", "return", "0", ";", "MVT", "VT", "=", "CEVT", ".", "getSimpleVT", "(", ")", ";", "if", "(", "const", "auto", "*", "CI", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "C", ")", ")", "return", "X86MaterializeInt", "(", "CI", ",", "VT", ")", ";", "else", "if", "(", "const", "ConstantFP", "*", "CFP", "=", "dyn_cast", "<", "ConstantFP", ">", "(", "C", ")", ")", "return", "X86MaterializeFP", "(", "CFP", ",", "VT", ")", ";", "else", "if", "(", "const", "GlobalValue", "*", "GV", "=", "dyn_cast", "<", "GlobalValue", ">", "(", "C", ")", ")", "return", "X86MaterializeGV", "(", "GV", ",", "VT", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Emit", "a", "constant", "in", "a", "register", "using", "target-specific", "logic", ",", "such", "as", "constant", "pool", "loads", "."], "TS_V_token": ["X86", "X86", "0", "X86", "X86", "X86", "0"], "File": "X86FastISel101", "Func": "fastMaterializeConstant", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3468, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "reMaterialize", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "unsigned", "SubIdx", ",", "const", "MachineInstr", "&", "Orig", ",", "const", "TargetRegisterInfo", "&", "TRI", ")", "const", "{", "bool", "ClobbersEFLAGS", "=", "Orig", ".", "modifiesRegister", "(", "X86", "::", "EFLAGS", ",", "&", "TRI", ")", ";", "if", "(", "ClobbersEFLAGS", "&&", "!", "isSafeToClobberEFLAGS", "(", "MBB", ",", "I", ")", ")", "{", "int", "Value", ";", "switch", "(", "Orig", ".", "getOpcode", "(", ")", ")", "{", "case", "X86", "::", "MOV32r0", ":", "Value", "=", "0", ";", "break", ";", "case", "X86", "::", "MOV32r1", ":", "Value", "=", "1", ";", "break", ";", "case", "X86", "::", "MOV32r_1", ":", "Value", "=", "-", "1", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Unexpected instruction!\"", ")", ";", "}", "const", "DebugLoc", "&", "DL", "=", "Orig", ".", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "X86", "::", "MOV32ri", ")", ")", ".", "add", "(", "Orig", ".", "getOperand", "(", "0", ")", ")", ".", "addImm", "(", "Value", ")", ";", "}", "else", "{", "MachineInstr", "*", "MI", "=", "MBB", ".", "getParent", "(", ")", "->", "CloneMachineInstr", "(", "&", "Orig", ")", ";", "MBB", ".", "insert", "(", "I", ",", "MI", ")", ";", "}", "MachineInstr", "&", "NewMI", "=", "*", "std", "::", "prev", "(", "I", ")", ";", "NewMI", ".", "substituteRegister", "(", "Orig", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "DestReg", ",", "SubIdx", ",", "TRI", ")", ";", "}", ""], "natrual_language": ["Re-issue", "the", "specified", "'original", "'", "instruction", "at", "the", "specific", "location", "targeting", "a", "new", "destination", "register", "."], "TS_V_token": ["X86", "X86", "X86::EFLAGS", "X86::MOV32r0", "0", "X86::MOV32r1", "1", "X86::MOV32r_1", "1", "\"Unexpected instruction!\"", "X86::MOV32ri", "0", "0"], "File": "X86InstrInfo106", "Func": "reMaterialize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3469, "Length": 220, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64ConditionalCompares", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** AArch64 Conditional Compares **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "SchedModel", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getSchedModel", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "DomTree", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "Loops", "=", "getAnalysisIfAvailable", "<", "MachineLoopInfo", ">", "(", ")", ";", "MBPI", "=", "&", "getAnalysis", "<", "MachineBranchProbabilityInfo", ">", "(", ")", ";", "Traces", "=", "&", "getAnalysis", "<", "MachineTraceMetrics", ">", "(", ")", ";", "MinInstr", "=", "nullptr", ";", "MinSize", "=", "MF", ".", "getFunction", "(", ")", ".", "optForMinSize", "(", ")", ";", "bool", "Changed", "=", "false", ";", "CmpConv", ".", "runOnMachineFunction", "(", "MF", ",", "MBPI", ")", ";", "for", "(", "auto", "*", "I", ":", "depth_first", "(", "DomTree", ")", ")", "if", "(", "tryConvert", "(", "I", "->", "getBlock", "(", ")", ")", ")", "Changed", "=", "true", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"********** AArch64 Conditional Compares **********\\n\"", "\"********** Function: \""], "File": "AArch64ConditionalCompares5", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3470, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86TargetMachine", "::", "X86TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "is64Bit", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "StackAlignmentOverride", ",", "is64Bit", ")", ",", "FrameLowering", "(", "*", "this", ",", "Subtarget", ")", ",", "ELFWriterInfo", "(", "is64Bit", ",", "true", ")", "{", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "RIPRel", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "isTargetCygMing", "(", ")", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "StubPIC", ")", ";", "else", "{", "assert", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "DynamicNoPIC", ")", ";", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "StubDynamicNoPIC", ")", ";", "}", "}", "else", "if", "(", "Subtarget", ".", "isTargetELF", "(", ")", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "GOT", ")", ";", "}", "if", "(", "FloatABIType", "==", "FloatABI", "::", "Default", ")", "FloatABIType", "=", "FloatABI", "::", "Hard", ";", "}", ""], "natrual_language": ["Create", "an", "X86", "target", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86TargetMachine116", "Func": "X86TargetMachine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3471, "Length": 231, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_address_cost", "(", "rtx", "x", ")", "{", "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", ".", "disp", "&&", "parts", ".", "disp", "!=", "const0_rtx", ")", "cost", "--", ";", "if", "(", "parts", ".", "seg", "!=", "SEG_DEFAULT", ")", "cost", "--", ";", "if", "(", "(", "parts", ".", "base", "&&", "(", "!", "REG_P", "(", "parts", ".", "base", ")", "||", "REGNO", "(", "parts", ".", "base", ")", ">=", "FIRST_PSEUDO_REGISTER", ")", ")", "||", "(", "parts", ".", "index", "&&", "(", "!", "REG_P", "(", "parts", ".", "index", ")", "||", "REGNO", "(", "parts", ".", "index", ")", ">=", "FIRST_PSEUDO_REGISTER", ")", ")", ")", "cost", "++", ";", "if", "(", "parts", ".", "base", "&&", "(", "!", "REG_P", "(", "parts", ".", "base", ")", "||", "REGNO", "(", "parts", ".", "base", ")", ">=", "FIRST_PSEUDO_REGISTER", ")", "&&", "parts", ".", "index", "&&", "(", "!", "REG_P", "(", "parts", ".", "index", ")", "||", "REGNO", "(", "parts", ".", "index", ")", ">=", "FIRST_PSEUDO_REGISTER", ")", "&&", "parts", ".", "base", "!=", "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": "i3863", "Func": "ix86_address_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3472, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_init_sched_context", "(", "void", "*", "_sc", ",", "bool", "clean_p", ")", "{", "rs6000_sched_context_t", "sc", "=", "(", "rs6000_sched_context_t", ")", "_sc", ";", "if", "(", "clean_p", ")", "{", "sc", "->", "cached_can_issue_more", "=", "0", ";", "sc", "->", "last_scheduled_insn", "=", "NULL_RTX", ";", "sc", "->", "load_store_pendulum", "=", "0", ";", "}", "else", "{", "sc", "->", "cached_can_issue_more", "=", "cached_can_issue_more", ";", "sc", "->", "last_scheduled_insn", "=", "last_scheduled_insn", ";", "sc", "->", "load_store_pendulum", "=", "load_store_pendulum", ";", "}", "}", ""], "natrual_language": ["If", "CLEAN_P", "is", "true", "then", "initializes", "_SC", "with", "clean", "data", ",", "and", "from", "the", "global", "context", "otherwise", "."], "TS_V_token": ["rs6000", "0", "0"], "File": "rs60004", "Func": "rs6000_init_sched_context", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3473, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "getUndefRegClearance", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "&", "OpNum", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "!", "hasUndefRegUpdate", "(", "MI", ".", "getOpcode", "(", ")", ",", "OpNum", ")", ")", "return", "0", ";", "const", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNum", ")", ";", "if", "(", "MO", ".", "isUndef", "(", ")", "&&", "Register", "::", "isPhysicalRegister", "(", "MO", ".", "getReg", "(", ")", ")", ")", "{", "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", "0"], "File": "X86InstrInfo106", "Func": "getUndefRegClearance", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3474, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "LanaiRegisterInfo", "*", "LRI", "=", "static_cast", "<", "const", "LanaiRegisterInfo", "*", ">", "(", "STI", ".", "getRegisterInfo", "(", ")", ")", ";", "int", "Offset", "=", "-", "4", ";", "MFI", ".", "CreateFixedObject", "(", "4", ",", "Offset", ",", "true", ")", ";", "Offset", "-=", "4", ";", "MFI", ".", "CreateFixedObject", "(", "4", ",", "Offset", ",", "true", ")", ";", "Offset", "-=", "4", ";", "if", "(", "LRI", "->", "hasBasePointer", "(", "MF", ")", ")", "{", "MFI", ".", "CreateFixedObject", "(", "4", ",", "Offset", ",", "true", ")", ";", "SavedRegs", ".", "reset", "(", "LRI", "->", "getBaseRegister", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai", "Lanai", "4", "4", "4", "4", "4", "4"], "File": "LanaiFrameLowering1", "Func": "determineCalleeSaves", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3475, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "int_log2", "(", "HOST_WIDE_INT", "power", ")", "{", "HOST_WIDE_INT", "shift", "=", "0", ";", "while", "(", "(", "(", "(", "HOST_WIDE_INT", ")", "1", "<<", "shift", ")", "&", "power", ")", "==", "0", ")", "{", "gcc_assert", "(", "shift", "<=", "31", ")", ";", "shift", "++", ";", "}", "return", "shift", ";", "}", ""], "natrual_language": ["Obtain", "the", "shift", "from", "the", "POWER", "of", "two", "."], "TS_V_token": ["arm", "0", "1", "0", "31"], "File": "arm3", "Func": "int_log2", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3476, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint32_t", "ARMMCCodeEmitter", "::", "getBranchTargetOpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpIdx", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ")", "const", "{", "if", "(", "isThumb2", "(", ")", ")", "return", "::", "getBranchTargetOpValue", "(", "MI", ",", "OpIdx", ",", "ARM", "::", "fixup_t2_condbranch", ",", "Fixups", ")", ";", "return", "getARMBranchTargetOpValue", "(", "MI", ",", "OpIdx", ",", "Fixups", ")", ";", "}", ""], "natrual_language": ["getBranchTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "."], "TS_V_token": ["ARM", "ARM", "ARM::fixup_t2_condbranch", "ARM"], "File": "ARMMCCodeEmitter10", "Func": "getBranchTargetOpValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3477, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "loongarch_init_print_operand_punct", "(", "void", ")", "{", "const", "char", "*", "p", ";", "for", "(", "p", "=", "\".$\"", ";", "*", "p", ";", "p", "++", ")", "loongarch_print_operand_punct", "[", "(", "unsigned", "char", ")", "*", "p", "]", "=", "true", ";", "}", ""], "natrual_language": ["Initialize", "loongarch_print_operand_punct", "."], "TS_V_token": ["loongarch", "\".$\""], "File": "loongarch", "Func": "loongarch_init_print_operand_punct", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3478, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_longcall_ref", "(", "rtx", "call_ref", ",", "rtx", "arg", ")", "{", "const", "char", "*", "call_name", "=", "XSTR", "(", "call_ref", ",", "0", ")", ";", "if", "(", "*", "call_name", "==", "'.'", ")", "{", "while", "(", "*", "call_name", "==", "'.'", ")", "call_name", "++", ";", "tree", "node", "=", "get_identifier", "(", "call_name", ")", ";", "call_ref", "=", "gen_rtx_SYMBOL_REF", "(", "VOIDmode", ",", "IDENTIFIER_POINTER", "(", "node", ")", ")", ";", "}", "if", "(", "TARGET_PLTSEQ", ")", "{", "rtx", "base", "=", "const0_rtx", ";", "int", "regno", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_ELFv2", ")", "{", "base", "=", "gen_rtx_REG", "(", "Pmode", ",", "TOC_REGISTER", ")", ";", "regno", "=", "12", ";", "}", "else", "{", "if", "(", "flag_pic", ")", "base", "=", "gen_rtx_REG", "(", "Pmode", ",", "RS6000_PIC_OFFSET_TABLE_REGNUM", ")", ";", "regno", "=", "11", ";", "}", "rtx", "reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "regno", ")", ";", "rtx", "hi", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "3", ",", "base", ",", "call_ref", ",", "arg", ")", ",", "UNSPEC_PLT16_HA", ")", ";", "rtx", "lo", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "3", ",", "reg", ",", "call_ref", ",", "arg", ")", ",", "UNSPEC_PLT16_LO", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "reg", ",", "hi", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "reg", ",", "lo", ")", ")", ";", "return", "reg", ";", "}", "return", "force_reg", "(", "Pmode", ",", "call_ref", ")", ";", "}", ""], "natrual_language": ["Return", "a", "reference", "suitable", "for", "calling", "a", "function", "with", "the", "longcall", "attribute", "."], "TS_V_token": ["rs6000", "0", "12", "11", "3", "3"], "File": "rs60008", "Func": "rs6000_longcall_ref", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3479, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "struct", "processor", "*", "aarch64_get_tune_cpu", "(", "enum", "aarch64_processor", "cpu", ")", "{", "if", "(", "cpu", "!=", "aarch64_none", ")", "return", "&", "all_cores", "[", "cpu", "]", ";", "return", "&", "all_cores", "[", "TARGET_CPU_DEFAULT", "&", "0x3f", "]", ";", "}", ""], "natrual_language": ["Return", "the", "CPU", "corresponding", "to", "the", "enum", "CPU", ".", "If", "it", "does", "n't", "specify", "a", "cpu", ",", "return", "the", "default", "."], "TS_V_token": ["aarch64", "0x3f"], "File": "aarch64", "Func": "aarch64_get_tune_cpu", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3480, "Length": 35, "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": 3481, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "aarch64_anchor_offset", "(", "HOST_WIDE_INT", "offset", ",", "HOST_WIDE_INT", "size", ",", "machine_mode", "mode", ")", "{", "if", "(", "size", ">", "16", ")", "return", "(", "offset", "+", "0x400", ")", "&", "~", "0x7f0", ";", "if", "(", "offset", "&", "(", "size", "-", "1", ")", ")", "{", "if", "(", "mode", "==", "BLKmode", ")", "return", "(", "offset", "+", "512", ")", "&", "~", "0x3ff", ";", "return", "(", "offset", "+", "0x100", ")", "&", "~", "0x1ff", ";", "}", "if", "(", "IN_RANGE", "(", "offset", ",", "-", "256", ",", "0", ")", ")", "return", "0", ";", "if", "(", "mode", "==", "TImode", "||", "mode", "==", "TFmode", ")", "return", "(", "offset", "+", "0x100", ")", "&", "~", "0x1ff", ";", "return", "offset", "&", "(", "~", "0xfff", "*", "size", ")", ";", "}", ""], "natrual_language": ["OFFSET", "is", "an", "address", "offset", "for", "mode", "MODE", ",", "which", "has", "SIZE", "bytes", ".", "If", "OFFSET", "is", "out", "of", "range", ",", "return", "an", "offset", "of", "an", "anchor", "point", "that", "is", "in", "range", ".", "Return", "0", "otherwise", "."], "TS_V_token": ["aarch64", "16", "0x400", "0x7f0", "1", "512", "0x3ff", "0x100", "0x1ff", "256", "0", "0", "0x100", "0x1ff", "0xfff"], "File": "aarch64", "Func": "aarch64_anchor_offset", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3482, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmBackend", "::", "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", "(", ")", ";", "MCContext", "&", "Ctx", "=", "Asm", ".", "getContext", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "+", "7", ")", "/", "8", ";", "unsigned", "FullSize", ";", "switch", "(", "(", "unsigned", ")", "Kind", ")", "{", "case", "FK_Data_2", ":", "case", "Mips", "::", "fixup_Mips_16", ":", "case", "Mips", "::", "fixup_MICROMIPS_PC10_S1", ":", "FullSize", "=", "2", ";", "break", ";", "case", "FK_Data_8", ":", "case", "Mips", "::", "fixup_Mips_64", ":", "FullSize", "=", "8", ";", "break", ";", "case", "FK_Data_4", ":", "default", ":", "FullSize", "=", "4", ";", "break", ";", "}", "uint64_t", "CurVal", "=", "0", ";", "bool", "microMipsLEByteOrder", "=", "needsMMLEByteOrder", "(", "(", "unsigned", ")", "Kind", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "Endian", "==", "support", "::", "little", "?", "(", "microMipsLEByteOrder", "?", "calculateMMLEIndex", "(", "i", ")", ":", "i", ")", ":", "(", "FullSize", "-", "1", "-", "i", ")", ";", "CurVal", "|=", "(", "uint64_t", ")", "(", "(", "uint8_t", ")", "Data", "[", "Offset", "+", "Idx", "]", ")", "<<", "(", "i", "*", "8", ")", ";", "}", "uint64_t", "Mask", "=", "(", "(", "uint64_t", ")", "(", "-", "1", ")", ">>", "(", "64", "-", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", ")", ";", "CurVal", "|=", "Value", "&", "Mask", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "Endian", "==", "support", "::", "little", "?", "(", "microMipsLEByteOrder", "?", "calculateMMLEIndex", "(", "i", ")", ":", "i", ")", ":", "(", "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": ["Mips", "Mips", "7", "8", "Mips::fixup_Mips_16", "Mips::fixup_MICROMIPS_PC10_S1", "2", "Mips::fixup_Mips_64", "8", "4", "0", "Mips", "0", "support::little", "Mips", "1", "8", "1", "64", "0", "support::little", "Mips", "1", "8", "0xff"], "File": "MipsAsmBackend16", "Func": "applyFixup", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3483, "Length": 339, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86WinAllocaExpander", "::", "lower", "(", "MachineInstr", "*", "MI", ",", "Lowering", "L", ")", "{", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineBasicBlock", "*", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "*", "MI", ";", "int64_t", "Amount", "=", "getWinAllocaAmount", "(", "MI", ",", "MRI", ")", ";", "if", "(", "Amount", "==", "0", ")", "{", "MI", "->", "eraseFromParent", "(", ")", ";", "return", ";", "}", "bool", "Is64Bit", "=", "STI", "->", "is64Bit", "(", ")", ";", "bool", "Is64BitAlloca", "=", "MI", "->", "getOpcode", "(", ")", "==", "X86", "::", "WIN_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", ";", "}", "unsigned", "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::WIN_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": "X86WinAllocaExpander3", "Func": "lower", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3484, "Length": 464, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_build_builtin_va_list_64", "(", "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", "(", "BUILTINS_LOCATION", ",", "TYPE_DECL", ",", "get_identifier", "(", "\"__va_list_tag\"", ")", ",", "record", ")", ";", "f_gpr", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"gp_offset\"", ")", ",", "unsigned_type_node", ")", ";", "f_fpr", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"fp_offset\"", ")", ",", "unsigned_type_node", ")", ";", "f_ovf", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"overflow_arg_area\"", ")", ",", "ptr_type_node", ")", ";", "f_sav", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "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", ";", "TYPE_STUB_DECL", "(", "record", ")", "=", "type_decl", ";", "TYPE_NAME", "(", "record", ")", "=", "type_decl", ";", "TYPE_FIELDS", "(", "record", ")", "=", "f_gpr", ";", "DECL_CHAIN", "(", "f_gpr", ")", "=", "f_fpr", ";", "DECL_CHAIN", "(", "f_fpr", ")", "=", "f_ovf", ";", "DECL_CHAIN", "(", "f_ovf", ")", "=", "f_sav", ";", "layout_type", "(", "record", ")", ";", "TYPE_ATTRIBUTES", "(", "record", ")", "=", "tree_cons", "(", "get_identifier", "(", "\"sysv_abi va_list\"", ")", ",", "NULL_TREE", ",", "TYPE_ATTRIBUTES", "(", "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\"", "\"sysv_abi va_list\""], "File": "i386", "Func": "ix86_build_builtin_va_list_64", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3485, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_expand_atomic_exchange", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "retval", ",", "mem", ",", "val", ",", "cond", ";", "machine_mode", "mode", ";", "enum", "memmodel", "model", ";", "rtx", "label", ",", "x", ",", "mask", ",", "shift", ";", "retval", "=", "operands", "[", "0", "]", ";", "mem", "=", "operands", "[", "1", "]", ";", "val", "=", "operands", "[", "2", "]", ";", "model", "=", "(", "enum", "memmodel", ")", "INTVAL", "(", "operands", "[", "3", "]", ")", ";", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "mask", "=", "shift", "=", "NULL_RTX", ";", "if", "(", "!", "TARGET_SYNC_HI_QI", "&&", "(", "mode", "==", "QImode", "||", "mode", "==", "HImode", ")", ")", "{", "mem", "=", "rs6000_adjust_atomic_subword", "(", "mem", ",", "&", "shift", ",", "&", "mask", ")", ";", "val", "=", "convert_modes", "(", "SImode", ",", "mode", ",", "val", ",", "1", ")", ";", "val", "=", "expand_simple_binop", "(", "SImode", ",", "ASHIFT", ",", "val", ",", "shift", ",", "NULL_RTX", ",", "1", ",", "OPTAB_LIB_WIDEN", ")", ";", "retval", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "mode", "=", "SImode", ";", "}", "mem", "=", "rs6000_pre_atomic_barrier", "(", "mem", ",", "model", ")", ";", "label", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "gen_label_rtx", "(", ")", ")", ";", "emit_label", "(", "XEXP", "(", "label", ",", "0", ")", ")", ";", "emit_load_locked", "(", "mode", ",", "retval", ",", "mem", ")", ";", "x", "=", "val", ";", "if", "(", "mask", ")", "x", "=", "rs6000_mask_atomic_subword", "(", "retval", ",", "val", ",", "mask", ")", ";", "cond", "=", "gen_reg_rtx", "(", "CCmode", ")", ";", "emit_store_conditional", "(", "mode", ",", "cond", ",", "mem", ",", "x", ")", ";", "x", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "cond", ",", "const0_rtx", ")", ";", "emit_unlikely_jump", "(", "x", ",", "label", ")", ";", "rs6000_post_atomic_barrier", "(", "model", ")", ";", "if", "(", "shift", ")", "rs6000_finish_atomic_subword", "(", "operands", "[", "0", "]", ",", "retval", ",", "shift", ")", ";", "}", ""], "natrual_language": ["Expand", "an", "atomic", "exchange", "operation", "."], "TS_V_token": ["rs6000", "0", "1", "2", "3", "1", "1", "0", "0"], "File": "rs60004", "Func": "rs6000_expand_atomic_exchange", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3486, "Length": 271, "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", "(", ")", ",", "64", ")", ";", "isKill", "=", "Src", ".", "isKill", "(", ")", ";", "isUndef", "=", "Src", ".", "isUndef", "(", ")", ";", "}", "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", "64", "X86::sub_32bit"], "File": "X86InstrInfo10", "Func": "classifyLEAReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3487, "Length": 296, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "ix86_valid_target_attribute_tree", "(", "tree", "args", ",", "struct", "gcc_options", "*", "opts", ",", "struct", "gcc_options", "*", "opts_set", ")", "{", "const", "char", "*", "orig_arch_string", "=", "opts", "->", "x_ix86_arch_string", ";", "const", "char", "*", "orig_tune_string", "=", "opts", "->", "x_ix86_tune_string", ";", "enum", "fpmath_unit", "orig_fpmath_set", "=", "opts_set", "->", "x_ix86_fpmath", ";", "int", "orig_tune_defaulted", "=", "ix86_tune_defaulted", ";", "int", "orig_arch_specified", "=", "ix86_arch_specified", ";", "char", "*", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_MAX", "]", "=", "{", "NULL", ",", "NULL", "}", ";", "tree", "t", "=", "NULL_TREE", ";", "int", "i", ";", "struct", "cl_target_option", "*", "def", "=", "TREE_TARGET_OPTION", "(", "target_option_default_node", ")", ";", "struct", "gcc_options", "enum_opts_set", ";", "memset", "(", "&", "enum_opts_set", ",", "0", ",", "sizeof", "(", "enum_opts_set", ")", ")", ";", "if", "(", "!", "ix86_valid_target_attribute_inner_p", "(", "args", ",", "option_strings", ",", "opts", ",", "opts_set", ",", "&", "enum_opts_set", ")", ")", "return", "error_mark_node", ";", "if", "(", "opts", "->", "x_ix86_isa_flags", "!=", "def", "->", "x_ix86_isa_flags", "||", "opts", "->", "x_target_flags", "!=", "def", "->", "x_target_flags", "||", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_ARCH", "]", "||", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_TUNE", "]", "||", "enum_opts_set", ".", "x_ix86_fpmath", ")", "{", "if", "(", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_ARCH", "]", ")", "{", "opts", "->", "x_ix86_arch_string", "=", "ggc_strdup", "(", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_ARCH", "]", ")", ";", "opts", "->", "x_ix86_isa_flags", "&=", "(", "OPTION_MASK_ISA_64BIT", "|", "OPTION_MASK_ABI_64", "|", "OPTION_MASK_ABI_X32", "|", "OPTION_MASK_CODE16", ")", ";", "}", "else", "if", "(", "!", "orig_arch_specified", ")", "opts", "->", "x_ix86_arch_string", "=", "NULL", ";", "if", "(", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_TUNE", "]", ")", "opts", "->", "x_ix86_tune_string", "=", "ggc_strdup", "(", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_TUNE", "]", ")", ";", "else", "if", "(", "orig_tune_defaulted", ")", "opts", "->", "x_ix86_tune_string", "=", "NULL", ";", "if", "(", "enum_opts_set", ".", "x_ix86_fpmath", ")", "opts_set", "->", "x_ix86_fpmath", "=", "(", "enum", "fpmath_unit", ")", "1", ";", "else", "if", "(", "!", "TARGET_64BIT_P", "(", "opts", "->", "x_ix86_isa_flags", ")", "&&", "TARGET_SSE_P", "(", "opts", "->", "x_ix86_isa_flags", ")", ")", "{", "if", "(", "TARGET_80387_P", "(", "opts", "->", "x_target_flags", ")", ")", "opts", "->", "x_ix86_fpmath", "=", "(", "enum", "fpmath_unit", ")", "(", "FPMATH_SSE", "|", "FPMATH_387", ")", ";", "else", "opts", "->", "x_ix86_fpmath", "=", "(", "enum", "fpmath_unit", ")", "FPMATH_SSE", ";", "opts_set", "->", "x_ix86_fpmath", "=", "(", "enum", "fpmath_unit", ")", "1", ";", "}", "ix86_option_override_internal", "(", "false", ",", "opts", ",", "opts_set", ")", ";", "ix86_add_new_builtins", "(", "opts", "->", "x_ix86_isa_flags", ")", ";", "t", "=", "build_target_option_node", "(", "opts", ")", ";", "opts", "->", "x_ix86_arch_string", "=", "orig_arch_string", ";", "opts", "->", "x_ix86_tune_string", "=", "orig_tune_string", ";", "opts_set", "->", "x_ix86_fpmath", "=", "orig_fpmath_set", ";", "for", "(", "i", "=", "0", ";", "i", "<", "IX86_FUNCTION_SPECIFIC_MAX", ";", "i", "++", ")", "free", "(", "option_strings", "[", "i", "]", ")", ";", "}", "return", "t", ";", "}", ""], "natrual_language": ["Return", "a", "TARGET_OPTION_NODE", "tree", "of", "the", "target", "options", "listed", "or", "NULL", "."], "TS_V_token": ["i386", "0", "1", "1", "0"], "File": "i3865", "Func": "ix86_valid_target_attribute_tree", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3488, "Length": 378, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TOYRegisterInfo", "::", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "live-ins", "should", "be", "tracked", "after", "register", "allocation", "."], "TS_V_token": ["TOY", "TOY"], "File": "TOYRegisterInfo1", "Func": "trackLivenessAfterRegAlloc", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3489, "Length": 16, "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", "::", "v16i1", "||", "Ty", "==", "MVT", "::", "v8i1", "||", "Ty", "==", "MVT", "::", "v4i1", ")", ")", "{", "if", "(", "Fast", ")", "*", "Fast", "=", "true", ";", "return", "true", ";", "}", "if", "(", "(", "Ty", "==", "MVT", "::", "v4i8", "||", "Ty", "==", "MVT", "::", "v8i8", "||", "Ty", "==", "MVT", "::", "v4i16", ")", "&&", "Alignment", ">=", "VT", ".", "getScalarSizeInBits", "(", ")", "/", "8", ")", "{", "if", "(", "Fast", ")", "*", "Fast", "=", "true", ";", "return", "true", ";", "}", "if", "(", "Ty", "==", "MVT", "::", "v16i8", "||", "Ty", "==", "MVT", "::", "v8i16", "||", "Ty", "==", "MVT", "::", "v8f16", "||", "Ty", "==", "MVT", "::", "v4i32", "||", "Ty", "==", "MVT", "::", "v4f32", "||", "Ty", "==", "MVT", "::", "v2i64", "||", "Ty", "==", "MVT", "::", "v2f64", ")", "{", "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::v16i1", "MVT::v8i1", "MVT::v4i1", "MVT::v4i8", "MVT::v8i8", "MVT::v4i16", "8", "MVT::v16i8", "MVT::v8i16", "MVT::v8f16", "MVT::v4i32", "MVT::v4f32", "MVT::v2i64", "MVT::v2f64"], "File": "ARMISelLowering (2)6", "Func": "allowsMisalignedMemoryAccesses", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3490, "Length": 303, "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", ";", "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": "X86FrameLowering82", "Func": "eliminateCallFramePseudoInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3491, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "CJGTargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "const", "SDLoc", "&", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "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": ["CJG", "CJG", "ISD::InputArg", "16", "0", "1", "2", "0"], "File": "CJGISelLowering", "Func": "LowerCallResult", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3492, "Length": 168, "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\"", "1", "\", \"", "\"\\t\"", "\" \"", "\"\\n\""], "File": "winnt4", "Func": "i386_pe_asm_output_aligned_decl_common", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3493, "Length": 135, "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", "AArch64ISD", "::", "NVCAST", ":", "return", "performNVCASTCombine", "(", "N", ")", ";", "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", "AArch64ISD::NVCAST", "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": "AArch64ISelLowering118", "Func": "PerformDAGCombine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3494, "Length": 487, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "XNCMRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "llvm_unreachable", "(", "0", ")", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["XNCM", "XNCM", "0"], "File": "XNCMRegisterInfo", "Func": "getFrameRegister", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3495, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "ADDRSPACECAST", ":", "return", "lowerADDRSPACECAST", "(", "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", "::", "VACOPY", ":", "return", "lowerVACOPY", "(", "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", "::", "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", "::", "EH_DWARF_CFA", ":", "return", "lowerEH_DWARF_CFA", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FP_TO_SINT", ":", "return", "lowerFP_TO_SINT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_JT", ":", "return", "lowerBR_JT", "(", "Op", ",", "DAG", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Mips", "Mips", "ISD::ADDRSPACECAST", "ISD::BRCOND", "ISD::ConstantPool", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::GlobalTLSAddress", "ISD::JumpTable", "ISD::SELECT", "ISD::SETCC", "ISD::VASTART", "ISD::VAARG", "ISD::VACOPY", "ISD::FCOPYSIGN", "ISD::FABS", "ISD::FRAMEADDR", "ISD::RETURNADDR", "ISD::EH_RETURN", "ISD::ATOMIC_FENCE", "ISD::SHL_PARTS", "ISD::SRA_PARTS", "ISD::SRL_PARTS", "ISD::LOAD", "ISD::STORE", "ISD::EH_DWARF_CFA", "ISD::FP_TO_SINT", "ISD::BR_JT"], "File": "MipsISelLowering66", "Func": "LowerOperation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3496, "Length": 372, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_mode_valid_for_sched_fusion_p", "(", "machine_mode", "mode", ")", "{", "return", "mode", "==", "SImode", "||", "mode", "==", "DImode", "||", "mode", "==", "SFmode", "||", "mode", "==", "DFmode", "||", "(", "aarch64_vector_mode_supported_p", "(", "mode", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "==", "8", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "MODE", "is", "one", "of", "the", "modes", "for", "which", "we", "support", "LDP/STP", "operations", "."], "TS_V_token": ["aarch64", "8"], "File": "aarch643", "Func": "aarch64_mode_valid_for_sched_fusion_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3497, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBankInfo", "*", "MipsSubtarget", "::", "getRegBankInfo", "(", ")", "const", "{", "return", "RegBankInfo", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["If", "the", "information", "for", "the", "register", "banks", "is", "available", ",", "return", "it", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsSubtarget (2)2", "Func": "getRegBankInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3498, "Length": 18, "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": 3499, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "static", "void", "aarch64_print_hint_for_core", "(", "const", "char", "*", "str", ")", "{", "aarch64_print_hint_for_core_or_arch", "(", "str", ",", "false", ")", ";", "}", ""], "natrual_language": ["Print", "a", "hint", "with", "a", "suggestion", "for", "a", "core", "name", "that", "most", "closely", "resembles", "what", "the", "user", "passed", "in", "STR", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_print_hint_for_core", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3500, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcAsmPrinter", "::", "emitFunctionBodyStart", "(", ")", "{", "if", "(", "!", "MF", "->", "getSubtarget", "<", "SparcSubtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ")", "return", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "const", "unsigned", "globalRegs", "[", "]", "=", "{", "SP", "::", "G2", ",", "SP", "::", "G3", ",", "SP", "::", "G6", ",", "SP", "::", "G7", ",", "0", "}", ";", "for", "(", "unsigned", "i", "=", "0", ";", "globalRegs", "[", "i", "]", "!=", "0", ";", "++", "i", ")", "{", "unsigned", "reg", "=", "globalRegs", "[", "i", "]", ";", "if", "(", "MRI", ".", "use_empty", "(", "reg", ")", ")", "continue", ";", "if", "(", "reg", "==", "SP", "::", "G6", "||", "reg", "==", "SP", "::", "G7", ")", "getTargetStreamer", "(", ")", ".", "emitSparcRegisterIgnore", "(", "reg", ")", ";", "else", "getTargetStreamer", "(", ")", ".", "emitSparcRegisterScratch", "(", "reg", ")", ";", "}", "}", ""], "natrual_language": ["Targets", "can", "override", "this", "to", "emit", "stuff", "before", "the", "first", "basic", "block", "in", "the", "function", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "SP::G2", "SP::G3", "SP::G6", "SP::G7", "0", "0", "0", "SP::G6", "SP::G7", "Sparc", "Sparc"], "File": "SparcAsmPrinter17", "Func": "emitFunctionBodyStart", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3501, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "csky_valid_mem_constraint_operand", "(", "rtx", "op", ",", "const", "char", "*", "constraint", ")", "{", "struct", "csky_address", "addr", ";", "if", "(", "GET_CODE", "(", "op", ")", "!=", "MEM", ")", "return", "false", ";", "if", "(", "!", "decompose_csky_address", "(", "XEXP", "(", "op", ",", "0", ")", ",", "&", "addr", ")", ")", "return", "false", ";", "if", "(", "!", "is_csky_address_register_rtx_p", "(", "addr", ".", "base", ",", "0", ")", ")", "return", "false", ";", "if", "(", "addr", ".", "index", "&&", "(", "constraint", "[", "0", "]", "==", "'Q'", "||", "constraint", "[", "0", "]", "==", "'W'", ")", ")", "{", "if", "(", "!", "is_csky_address_register_rtx_p", "(", "addr", ".", "index", ",", "0", ")", ")", "return", "false", ";", "if", "(", "addr", ".", "scale", "==", "1", "||", "addr", ".", "scale", "==", "2", "||", "addr", ".", "scale", "==", "4", "||", "addr", ".", "scale", "==", "8", ")", "return", "true", ";", "return", "false", ";", "}", "else", "if", "(", "addr", ".", "disp", "&&", "constraint", "[", "0", "]", "==", "'Q'", ")", "{", "rtx", "disp", "=", "addr", ".", "disp", ";", "if", "(", "!", "CONST_INT_P", "(", "disp", ")", ")", "return", "false", ";", "if", "(", "(", "(", "unsigned", ")", "INTVAL", "(", "disp", ")", "%", "4", ")", "==", "0", "&&", "(", "unsigned", ")", "INTVAL", "(", "disp", ")", "<=", "(", "unsigned", ")", "1020", ")", "return", "true", ";", "return", "false", ";", "}", "else", "if", "(", "constraint", "[", "0", "]", "==", "'Q'", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Support", "for", "the", "Q", "or", "W", "memory", "constraint", ".", "Returns", "true", "if", "OP", "is", "a", "MEM", "RTX", "with", "an", "address", "consisting", "of", "base", "+", "index", "or", "base", "+", "displacement", "."], "TS_V_token": ["csky", "0", "0", "0", "0", "0", "1", "2", "4", "8", "0", "4", "0", "1020", "0"], "File": "csky", "Func": "csky_valid_mem_constraint_operand", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3502, "Length": 219, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZXPLINKFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineFrameInfo", "&", "MFFrame", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "SystemZSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "SystemZSubtarget", ">", "(", ")", ";", "auto", "&", "Regs", "=", "Subtarget", ".", "getSpecialRegisters", "<", "SystemZXPLINK64Registers", ">", "(", ")", ";", "MFFrame", ".", "setOffsetAdjustment", "(", "Regs", ".", "getStackPointerBias", "(", ")", ")", ";", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ"], "File": "SystemZFrameLowering20", "Func": "processFunctionBeforeFrameFinalized", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3503, "Length": 64, "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", "{", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "Mips", "::", "CPURegsRegisterClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Mips", "::", "SW", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addImm", "(", "0", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "else", "if", "(", "RC", "==", "Mips", "::", "FGR32RegisterClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Mips", "::", "SWC1", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addImm", "(", "0", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "else", "if", "(", "RC", "==", "Mips", "::", "AFGR64RegisterClass", ")", "{", "if", "(", "!", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "isMips1", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Mips", "::", "SDC1", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addImm", "(", "0", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "}", "else", "{", "const", "TargetRegisterInfo", "*", "TRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "const", "unsigned", "*", "SubSet", "=", "TRI", "->", "getSubRegisters", "(", "SrcReg", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Mips", "::", "SWC1", ")", ")", ".", "addReg", "(", "SubSet", "[", "0", "]", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addImm", "(", "0", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Mips", "::", "SWC1", ")", ")", ".", "addReg", "(", "SubSet", "[", "1", "]", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addImm", "(", "4", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "}", "}", "else", "llvm_unreachable", "(", "\"Register class not handled!\"", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["Mips", "Mips", "Mips::CPURegsRegisterClass", "Mips::SW", "0", "Mips::FGR32RegisterClass", "Mips::SWC1", "0", "Mips::AFGR64RegisterClass", "Mips", "Mips", "Mips::SDC1", "0", "Mips::SWC1", "0", "0", "Mips::SWC1", "1", "4", "\"Register class not handled!\""], "File": "MipsInstrInfo8", "Func": "storeRegToStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3504, "Length": 324, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsELFStreamer", "::", "createPendingLabelRelocs", "(", ")", "{", "MipsTargetELFStreamer", "*", "ELFTargetStreamer", "=", "static_cast", "<", "MipsTargetELFStreamer", "*", ">", "(", "getTargetStreamer", "(", ")", ")", ";", "if", "(", "ELFTargetStreamer", "->", "isMicroMipsEnabled", "(", ")", ")", "{", "for", "(", "auto", "Label", ":", "Labels", ")", "{", "MCSymbolData", "&", "Data", "=", "getOrCreateSymbolData", "(", "Label", ")", ";", "MCELF", "::", "setOther", "(", "Data", ",", "ELF", "::", "STO_MIPS_MICROMIPS", ">>", "2", ")", ";", "}", "}", "Labels", ".", "clear", "(", ")", ";", "}", ""], "natrual_language": ["Mark", "labels", "as", "microMIPS", ",", "if", "necessary", "for", "the", "subtarget", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "2"], "File": "MipsELFStreamer6", "Func": "createPendingLabelRelocs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3505, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "DLXRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "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": ["DLX", "DLX"], "File": "DLXRegisterInfo", "Func": "eliminateFrameIndex", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3506, "Length": 23, "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": ["powerpcspe", "\"unknown depencency\"", "\"data dependency\"", "\"output dependency\"", "\"anti depencency\"", "\"\\nrs6000_adjust_cost, final cost = %d, orig cost = %d, \"", "\"%s, insn:\\n\""], "File": "powerpcspe", "Func": "rs6000_debug_adjust_cost", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3507, "Length": 116, "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!\"", ")", ";", "FrameReg", "=", "TRI", "->", "getStackRegister", "(", ")", ";", "int", "Offset", "=", "MFI", "->", "getObjectOffset", "(", "FI", ")", "-", "getOffsetOfLocalArea", "(", ")", ";", "return", "Offset", "+", "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": "X86FrameLowering112", "Func": "getFrameIndexReferencePreferSP", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3508, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMElfTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "isAAPCS_ABI", "=", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "isAAPCS_ABI", "(", ")", ";", "if", "(", "isAAPCS_ABI", ")", "{", "StaticCtorSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".init_array\"", ",", "ELF", "::", "SHT_INIT_ARRAY", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getDataRel", "(", ")", ")", ";", "StaticDtorSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".fini_array\"", ",", "ELF", "::", "SHT_FINI_ARRAY", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getDataRel", "(", ")", ")", ";", "LSDASection", "=", "NULL", ";", "}", "AttributesSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".ARM.attributes\"", ",", "ELF", "::", "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": "ARMTargetObjectFile19", "Func": "Initialize", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3509, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_tls_referenced_p", "(", "rtx", "x", ")", "{", "if", "(", "!", "TARGET_HAVE_TLS", ")", "return", "false", ";", "subrtx_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX", "(", "iter", ",", "array", ",", "x", ",", "ALL", ")", "{", "const_rtx", "x", "=", "*", "iter", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", "!=", "0", ")", "{", "if", "(", "arm_disable_literal_pool", ")", "sorry", "(", "\"accessing thread-local storage is not currently supported \"", "\"with -mpure-code or -mslow-flash-data\"", ")", ";", "return", "true", ";", "}", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", "&&", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_TLS", ")", "iter", ".", "skip_subrtxes", "(", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "X", "contains", "any", "TLS", "symbol", "references", "."], "TS_V_token": ["arm", "0", "\"accessing thread-local storage is not currently supported \"", "\"with -mpure-code or -mslow-flash-data\"", "1"], "File": "arm7", "Func": "arm_tls_referenced_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3510, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_probe_stack_range", "(", "HOST_WIDE_INT", "first", ",", "HOST_WIDE_INT", "size", ",", "const", "bool", "int_registers_saved", ")", "{", "if", "(", "size", "<=", "6", "*", "get_probe_interval", "(", ")", ")", "{", "HOST_WIDE_INT", "i", ";", "for", "(", "i", "=", "get_probe_interval", "(", ")", ";", "i", "<", "size", ";", "i", "+=", "get_probe_interval", "(", ")", ")", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "(", "first", "+", "i", ")", ")", ")", ";", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "(", "first", "+", "size", ")", ")", ")", ";", "}", "else", "{", "gcc_assert", "(", "int_registers_saved", ")", ";", "HOST_WIDE_INT", "rounded_size", ",", "last", ";", "struct", "scratch_reg", "sr", ";", "get_scratch_register_on_entry", "(", "&", "sr", ")", ";", "rounded_size", "=", "ROUND_DOWN", "(", "size", ",", "get_probe_interval", "(", ")", ")", ";", "emit_move_insn", "(", "sr", ".", "reg", ",", "GEN_INT", "(", "-", "first", ")", ")", ";", "last", "=", "first", "+", "rounded_size", ";", "emit_insn", "(", "ix86_gen_probe_stack_range", "(", "sr", ".", "reg", ",", "sr", ".", "reg", ",", "GEN_INT", "(", "-", "last", ")", ")", ")", ";", "if", "(", "size", "!=", "rounded_size", ")", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "sr", ".", "reg", ")", ",", "rounded_size", "-", "size", ")", ")", ";", "release_scratch_register_on_entry", "(", "&", "sr", ",", "size", ",", "true", ")", ";", "}", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "probe", "a", "range", "of", "stack", "addresses", "from", "FIRST", "to", "FIRST+SIZE", ",", "inclusive", ".", "These", "are", "offsets", "from", "the", "current", "stack", "pointer", "."], "TS_V_token": ["i386", "6"], "File": "i3867", "Func": "ix86_emit_probe_stack_range", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3511, "Length": 202, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "machreg_t", "inet_netof", "(", "machreg_t", "in", ")", "{", "return", "_inet_netof", "(", "in", "<<", "SHIFT_BITS", ")", ";", "}", ""], "natrual_language": ["<", "arpa/inet.h", ">", "has", "unsigned", "long", "inet_netof", "(", "struct", "in_addr", ")", ";", "(", "IRIX", "6.2", ")", "in_addr_t", "inet_netof", "(", "struct", "in_addr", ")", ";", "(", "IRIX", "6.5", ")"], "TS_V_token": ["mips"], "File": "irix6-libc-compat", "Func": "inet_netof", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3512, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getCacheLineSize", "(", ")", "{", "return", "256", ";", "}", ""], "natrual_language": ["Return", "the", "target", "cache", "line", "size", "in", "bytes", "."], "TS_V_token": ["SystemZ", "256"], "File": "SystemZTargetTransformInfo10", "Func": "getCacheLineSize", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3513, "Length": 9, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "pa_singlemove_string", "(", "rtx", "*", "operands", ")", "{", "HOST_WIDE_INT", "intval", ";", "if", "(", "GET_CODE", "(", "operands", "[", "0", "]", ")", "==", "MEM", ")", "return", "\"stw %r1,%0\"", ";", "if", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "MEM", ")", "return", "\"ldw %1,%0\"", ";", "if", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "CONST_DOUBLE", ")", "{", "long", "i", ";", "gcc_assert", "(", "GET_MODE", "(", "operands", "[", "1", "]", ")", "==", "SFmode", ")", ";", "REAL_VALUE_TO_TARGET_SINGLE", "(", "*", "CONST_DOUBLE_REAL_VALUE", "(", "operands", "[", "1", "]", ")", ",", "i", ")", ";", "operands", "[", "1", "]", "=", "GEN_INT", "(", "i", ")", ";", "}", "if", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "CONST_INT", ")", "{", "intval", "=", "INTVAL", "(", "operands", "[", "1", "]", ")", ";", "if", "(", "VAL_14_BITS_P", "(", "intval", ")", ")", "return", "\"ldi %1,%0\"", ";", "else", "if", "(", "(", "intval", "&", "0x7ff", ")", "==", "0", ")", "return", "\"ldil L'%1,%0\"", ";", "else", "if", "(", "pa_zdepi_cint_p", "(", "intval", ")", ")", "return", "\"{zdepi %Z1,%0|depwi,z %Z1,%0}\"", ";", "else", "return", "\"ldil L'%1,%0\\n\\tldo R'%1(%0),%0\"", ";", "}", "return", "\"copy %1,%0\"", ";", "}", ""], "natrual_language": ["Return", "the", "best", "assembler", "insn", "template", "for", "moving", "operands", "[", "1", "]", "into", "operands", "[", "0", "]", "as", "a", "fullword", "."], "TS_V_token": ["pa", "0", "\"stw %r1,%0\"", "1", "\"ldw %1,%0\"", "1", "1", "1", "1", "1", "1", "\"ldi %1,%0\"", "0x7ff", "0", "\"ldil L'%1,%0\"", "\"{zdepi %Z1,%0|depwi,z %Z1,%0}\"", "\"ldil L'%1,%0\\n\\tldo R'%1(%0),%0\"", "\"copy %1,%0\""], "File": "pa", "Func": "pa_singlemove_string", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3514, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsTargetLowering", "::", "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_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", "(", ")", ",", "Outs", "[", "i", "]", ".", "Val", ",", "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": "MipsISelLowering115", "Func": "LowerReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3515, "Length": 399, "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": 3516, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMAsmParser", "::", "checkTargetMatchPredicate", "(", "MCInst", "&", "Inst", ")", "{", "unsigned", "Opc", "=", "Inst", ".", "getOpcode", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "MII", ".", "get", "(", "Opc", ")", ";", "if", "(", "MCID", ".", "TSFlags", "&", "ARMII", "::", "ThumbArithFlagSetting", ")", "{", "assert", "(", "MCID", ".", "hasOptionalDef", "(", ")", "&&", "\"optionally flag setting instruction missing optional def operand\"", ")", ";", "assert", "(", "MCID", ".", "NumOperands", "==", "Inst", ".", "getNumOperands", "(", ")", "&&", "\"operand count mismatch!\"", ")", ";", "unsigned", "OpNo", ";", "for", "(", "OpNo", "=", "0", ";", "!", "MCID", ".", "OpInfo", "[", "OpNo", "]", ".", "isOptionalDef", "(", ")", "&&", "OpNo", "<", "MCID", ".", "NumOperands", ";", "++", "OpNo", ")", ";", "if", "(", "isThumbOne", "(", ")", "&&", "Inst", ".", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", "!=", "ARM", "::", "CPSR", ")", "return", "Match_MnemonicFail", ";", "if", "(", "isThumbTwo", "(", ")", "&&", "Inst", ".", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", "!=", "ARM", "::", "CPSR", "&&", "!", "inITBlock", "(", ")", ")", "return", "Match_RequiresITBlock", ";", "if", "(", "isThumbTwo", "(", ")", "&&", "Inst", ".", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", "==", "ARM", "::", "CPSR", "&&", "inITBlock", "(", ")", ")", "return", "Match_RequiresNotITBlock", ";", "}", "else", "if", "(", "Opc", "==", "ARM", "::", "tADDhirr", "&&", "isThumbOne", "(", ")", "&&", "!", "hasV6MOps", "(", ")", "&&", "isARMLowRegister", "(", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", "&&", "isARMLowRegister", "(", "Inst", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ")", "return", "Match_RequiresThumb2", ";", "else", "if", "(", "Opc", "==", "ARM", "::", "tMOVr", "&&", "isThumbOne", "(", ")", "&&", "!", "hasV6Ops", "(", ")", "&&", "isARMLowRegister", "(", "Inst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", "&&", "isARMLowRegister", "(", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ")", "return", "Match_RequiresV6", ";", "return", "Match_Success", ";", "}", ""], "natrual_language": ["checkTargetMatchPredicate", "-", "Validate", "the", "instruction", "match", "against", "any", "complex", "target", "predicates", "not", "expressible", "via", "match", "classes", "."], "TS_V_token": ["ARM", "ARM", "ARMII::ThumbArithFlagSetting", "\"optionally flag setting instruction missing optional def operand\"", "\"operand count mismatch!\"", "0", "ARM::CPSR", "ARM::CPSR", "ARM::CPSR", "ARM::tADDhirr", "ARM", "1", "ARM", "2", "ARM::tMOVr", "ARM", "0", "ARM", "1"], "File": "ARMAsmParser101", "Func": "checkTargetMatchPredicate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3517, "Length": 283, "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": 3518, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "PPCDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "if", "(", "!", "GlobalBaseReg", ")", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "PPCSubTarget", "->", "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", "(", "PPCSubTarget", "->", "isTargetELF", "(", ")", ")", "{", "GlobalBaseReg", "=", "PPC", "::", "R30", ";", "if", "(", "M", "->", "getPICLevel", "(", ")", "==", "PICLevel", "::", "Small", ")", "{", "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", ")", ";", "unsigned", "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_NOR0RegClass", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MovePCtoLR", ")", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MFLR", ")", ",", "GlobalBaseReg", ")", ";", "}", "}", "else", "{", "GlobalBaseReg", "=", "RegInfo", "->", "createVirtualRegister", "(", "&", "PPC", "::", "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", "PPC", "MVT::i32", "PPC", "PPC::R30", "PPC::MoveGOTtoLR", "PPC::MFLR", "PPC", "PPC::MovePCtoLR", "PPC::MFLR", "PPC::GPRCRegClass", "PPC::UpdateGBR", "PPC", "PPC::GPRC_NOR0RegClass", "PPC::MovePCtoLR", "PPC::MFLR", "PPC::G8RC_NOX0RegClass", "PPC::MovePCtoLR8", "PPC::MFLR8", "PPC"], "File": "PPCISelDAGToDAG (2)1", "Func": "getGlobalBaseReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3519, "Length": 399, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16TargetLowering", "::", "getOpndList", "(", "SmallVectorImpl", "<", "SDValue", ">", "&", "Ops", ",", "std", "::", "deque", "<", "std", "::", "pair", "<", "unsigned", ",", "SDValue", ">", ">", "&", "RegsToPass", ",", "bool", "IsPICCall", ",", "bool", "GlobalOrExternal", ",", "bool", "InternalLinkage", ",", "CallLoweringInfo", "&", "CLI", ",", "SDValue", "Callee", ",", "SDValue", "Chain", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "CLI", ".", "DAG", ";", "const", "char", "*", "Mips16HelperFunction", "=", "0", ";", "bool", "NeedMips16Helper", "=", "false", ";", "if", "(", "getTargetMachine", "(", ")", ".", "Options", ".", "UseSoftFloat", "&&", "Mips16HardFloat", ")", "{", "bool", "LookupHelper", "=", "true", ";", "if", "(", "ExternalSymbolSDNode", "*", "S", "=", "dyn_cast", "<", "ExternalSymbolSDNode", ">", "(", "CLI", ".", "Callee", ")", ")", "{", "if", "(", "NoHelperNeeded", ".", "find", "(", "S", "->", "getSymbol", "(", ")", ")", "!=", "NoHelperNeeded", ".", "end", "(", ")", ")", "{", "LookupHelper", "=", "false", ";", "}", "}", "if", "(", "LookupHelper", ")", "Mips16HelperFunction", "=", "getMips16HelperFunction", "(", "CLI", ".", "RetTy", ",", "CLI", ".", "Args", ",", "NeedMips16Helper", ")", ";", "}", "SDValue", "JumpTarget", "=", "Callee", ";", "if", "(", "IsPICCall", "||", "!", "GlobalOrExternal", ")", "{", "unsigned", "V0Reg", "=", "Mips", "::", "V0", ";", "if", "(", "NeedMips16Helper", ")", "{", "RegsToPass", ".", "push_front", "(", "std", "::", "make_pair", "(", "V0Reg", ",", "Callee", ")", ")", ";", "JumpTarget", "=", "DAG", ".", "getExternalSymbol", "(", "Mips16HelperFunction", ",", "getPointerTy", "(", ")", ")", ";", "JumpTarget", "=", "getAddrGlobal", "(", "JumpTarget", ",", "DAG", ",", "MipsII", "::", "MO_GOT", ")", ";", "}", "else", "RegsToPass", ".", "push_front", "(", "std", "::", "make_pair", "(", "(", "unsigned", ")", "Mips", "::", "T9", ",", "Callee", ")", ")", ";", "}", "Ops", ".", "push_back", "(", "JumpTarget", ")", ";", "MipsTargetLowering", "::", "getOpndList", "(", "Ops", ",", "RegsToPass", ",", "IsPICCall", ",", "GlobalOrExternal", ",", "InternalLinkage", ",", "CLI", ",", "Callee", ",", "Chain", ")", ";", "}", ""], "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", "0", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::V0", "Mips", "Mips", "MipsII::MO_GOT", "Mips::T9", "Mips"], "File": "Mips16ISelLowering", "Func": "getOpndList", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3520, "Length": 266, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addPreISel", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableGlobalMerge", ")", "PM", ".", "add", "(", "createGlobalMergePass", "(", "TM", "->", "getTargetLowering", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["ARM", "ARM"], "File": "ARMTargetMachine109", "Func": "addPreISel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3521, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "MipsRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "if", "(", "Subtarget", ".", "isSingleFloat", "(", ")", ")", "return", "CSR_SingleFloatOnly_SaveList", ";", "else", "if", "(", "!", "Subtarget", ".", "hasMips64", "(", ")", ")", "return", "CSR_O32_SaveList", ";", "else", "if", "(", "Subtarget", ".", "isABI_N32", "(", ")", ")", "return", "CSR_N32_SaveList", ";", "assert", "(", "Subtarget", ".", "isABI_N64", "(", ")", ")", ";", "return", "CSR_N64_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsRegisterInfo11", "Func": "getCalleeSavedRegs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3522, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "assert", "(", "&", "MF", ".", "front", "(", ")", "==", "&", "MBB", "&&", "\"Shrink-wrapping not yet supported\"", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "Mips16InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "Mips16InstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "0", "&&", "!", "MFI", "->", "adjustsStack", "(", ")", ")", "return", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "MCRegisterInfo", "*", "MRI", "=", "MMI", ".", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MachineLocation", "DstML", ",", "SrcML", ";", "TII", ".", "makeFrame", "(", "Mips", "::", "SP", ",", "StackSize", ",", "MBB", ",", "MBBI", ")", ";", "unsigned", "CFIIndex", "=", "MMI", ".", "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", "(", ")", ")", "{", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", "->", "getCalleeSavedInfo", "(", ")", ";", "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", "DReg", "=", "MRI", "->", "getDwarfRegNum", "(", "Reg", ",", "true", ")", ";", "unsigned", "CFIIndex", "=", "MMI", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createOffset", "(", "nullptr", ",", "DReg", ",", "Offset", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "}", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "MoveR3216", ")", ",", "Mips", "::", "S0", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "\"Shrink-wrapping not yet supported\"", "Mips", "Mips", "0", "Mips::SP", "Mips::MoveR3216", "Mips::S0", "Mips::SP"], "File": "Mips16FrameLowering22", "Func": "emitPrologue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3523, "Length": 400, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "llvm", "::", "FastISel", "*", "AArch64", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "FuncInfo", ",", "const", "TargetLibraryInfo", "*", "LibInfo", ")", "{", "return", "new", "AArch64FastISel", "(", "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": ["AArch64", "AArch64::createFastISel", "AArch64"], "File": "AArch64FastISel (2)", "Func": "createFastISel", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3524, "Length": 28, "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", "=", "&", "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": "ARMLoadStoreOptimizer76", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3525, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_elf_output_toc_section_asm_op", "(", "const", "void", "*", "data", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "(", "DEFAULT_ABI", "==", "ABI_AIX", "||", "DEFAULT_ABI", "==", "ABI_ELFv2", ")", "&&", "TARGET_MINIMAL_TOC", "&&", "!", "TARGET_RELOCATABLE", ")", "{", "if", "(", "!", "toc_initialized", ")", "{", "toc_initialized", "=", "1", ";", "fprintf", "(", "asm_out_file", ",", "\"%s\\n\"", ",", "TOC_SECTION_ASM_OP", ")", ";", "(", "*", "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_INTERNAL_LABEL_PREFIX", "(", "asm_out_file", ",", "\"LCTOC1\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\" = .+32768\\n\"", ")", ";", "}", "else", "fprintf", "(", "asm_out_file", ",", "\"%s\\n\"", ",", "MINIMAL_TOC_SECTION_ASM_OP", ")", ";", "}", "else", "if", "(", "(", "DEFAULT_ABI", "==", "ABI_AIX", "||", "DEFAULT_ABI", "==", "ABI_ELFv2", ")", "&&", "!", "TARGET_RELOCATABLE", ")", "fprintf", "(", "asm_out_file", ",", "\"%s\\n\"", ",", "TOC_SECTION_ASM_OP", ")", ";", "else", "{", "fprintf", "(", "asm_out_file", ",", "\"%s\\n\"", ",", "MINIMAL_TOC_SECTION_ASM_OP", ")", ";", "if", "(", "!", "toc_initialized", ")", "{", "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", "1", "\"%s\\n\"", "\"LCTOC\"", "0", "\"\\t.tc \"", "\"LCTOC1[TC],\"", "\"LCTOC1\"", "\"\\n\"", "\"%s\\n\"", "\"LCTOC1\"", "\" = .+32768\\n\"", "\"%s\\n\"", "\"%s\\n\"", "\"%s\\n\"", "\"LCTOC1\"", "\" = .+32768\\n\"", "1"], "File": "rs60004", "Func": "rs6000_elf_output_toc_section_asm_op", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3526, "Length": 190, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "shmedia_prepare_call_address", "(", "rtx", "fnaddr", ",", "int", "is_sibcall", ")", "{", "int", "is_sym", ";", "fnaddr", "=", "XEXP", "(", "fnaddr", ",", "0", ")", ";", "is_sym", "=", "GET_CODE", "(", "fnaddr", ")", "==", "SYMBOL_REF", ";", "if", "(", "flag_pic", "&&", "is_sym", ")", "{", "if", "(", "!", "SYMBOL_REF_LOCAL_P", "(", "fnaddr", ")", ")", "{", "rtx", "reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "if", "(", "is_sibcall", ")", "emit_insn", "(", "gen_symGOT2reg", "(", "reg", ",", "fnaddr", ")", ")", ";", "else", "emit_insn", "(", "gen_symGOTPLT2reg", "(", "reg", ",", "fnaddr", ")", ")", ";", "fnaddr", "=", "reg", ";", "}", "else", "{", "fnaddr", "=", "gen_sym2PIC", "(", "fnaddr", ")", ";", "PUT_MODE", "(", "fnaddr", ",", "Pmode", ")", ";", "}", "}", "if", "(", "!", "TARGET_PT_FIXED", "&&", "(", "!", "is_sym", "||", "TARGET_INVALID_SYMBOLS", ")", "&&", "(", "!", "REG_P", "(", "fnaddr", ")", "||", "!", "TARGET_REGISTER_P", "(", "REGNO", "(", "fnaddr", ")", ")", ")", ")", "{", "rtx", "tr", "=", "gen_reg_rtx", "(", "PDImode", ")", ";", "emit_insn", "(", "gen_ptabs", "(", "tr", ",", "fnaddr", ")", ")", ";", "fnaddr", "=", "tr", ";", "}", "else", "if", "(", "!", "target_reg_operand", "(", "fnaddr", ",", "Pmode", ")", ")", "fnaddr", "=", "copy_to_mode_reg", "(", "Pmode", ",", "fnaddr", ")", ";", "return", "fnaddr", ";", "}", ""], "natrual_language": ["FNADDR", "is", "the", "MEM", "expression", "from", "a", "call", "expander", ".", "Return", "an", "address", "to", "use", "in", "an", "SHmedia", "insn", "pattern", "."], "TS_V_token": ["sh", "0"], "File": "sh3", "Func": "shmedia_prepare_call_address", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3527, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "SICFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "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": ["SIC", "SIC"], "File": "SICFrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3528, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ia64_mode_to_int", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_BImode", ":", "return", "0", ";", "case", "E_QImode", ":", "return", "1", ";", "case", "E_HImode", ":", "return", "2", ";", "case", "E_SImode", ":", "return", "3", ";", "case", "E_DImode", ":", "return", "4", ";", "case", "E_SFmode", ":", "return", "5", ";", "case", "E_DFmode", ":", "return", "6", ";", "case", "E_XFmode", ":", "return", "7", ";", "case", "E_TImode", ":", "return", "SPEC_MODE_INVALID", ";", "default", ":", "return", "SPEC_MODE_INVALID", ";", "}", "}", ""], "natrual_language": ["Return", "index", "of", "the", "MODE", "."], "TS_V_token": ["ia64", "0", "1", "2", "3", "4", "5", "6", "7"], "File": "ia64", "Func": "ia64_mode_to_int", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3529, "Length": 74, "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": 3530, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsPostLegalizerCombiner", "::", "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", "MipsSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "const", "MipsLegalizerInfo", "*", "LI", "=", "static_cast", "<", "const", "MipsLegalizerInfo", "*", ">", "(", "ST", ".", "getLegalizerInfo", "(", ")", ")", ";", "GISelKnownBits", "*", "KB", "=", "&", "getAnalysis", "<", "GISelKnownBitsAnalysis", ">", "(", ")", ".", "get", "(", "MF", ")", ";", "MipsPostLegalizerCombinerInfo", "PCInfo", "(", "EnableOpt", ",", "F", ".", "hasOptSize", "(", ")", ",", "F", ".", "hasMinSize", "(", ")", ",", "KB", ",", "LI", ")", ";", "Combiner", "C", "(", "PCInfo", ",", "TPC", ")", ";", "return", "C", ".", "combineMachineInstrs", "(", "MF", ",", "nullptr", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsPostLegalizerCombiner", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3531, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_emit_fcc_reload", "(", "rtx", "dest", ",", "rtx", "src", ",", "rtx", "scratch", ")", "{", "rtx", "fp1", ",", "fp2", ";", "if", "(", "MEM_P", "(", "src", ")", ")", "src", "=", "adjust_address", "(", "src", ",", "SFmode", ",", "0", ")", ";", "else", "if", "(", "REG_P", "(", "src", ")", "||", "GET_CODE", "(", "src", ")", "==", "SUBREG", ")", "src", "=", "gen_rtx_REG", "(", "SFmode", ",", "true_regnum", "(", "src", ")", ")", ";", "fp1", "=", "gen_rtx_REG", "(", "SFmode", ",", "REGNO", "(", "scratch", ")", ")", ";", "fp2", "=", "gen_rtx_REG", "(", "SFmode", ",", "REGNO", "(", "scratch", ")", "+", "FP_INC", ")", ";", "emit_move_insn", "(", "copy_rtx", "(", "fp1", ")", ",", "src", ")", ";", "emit_move_insn", "(", "copy_rtx", "(", "fp2", ")", ",", "CONST0_RTX", "(", "SFmode", ")", ")", ";", "emit_insn", "(", "gen_slt_sf", "(", "dest", ",", "fp2", ",", "fp1", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "move", "general", "operand", "SRC", "into", "condition-code", "register", "DEST", ".", "SCRATCH", "is", "a", "scratch", "TFmode", "float", "register", ".", "The", "sequence", "is", ":", "FP1", "=", "SRC", "FP2", "=", "0.0f", "DEST", "=", "FP2", "<", "FP1", "where", "FP1", "and", "FP2", "are", "single-precision", "float", "registers", "taken", "from", "SCRATCH", "."], "TS_V_token": ["mips", "0"], "File": "mips3", "Func": "mips_emit_fcc_reload", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3532, "Length": 125, "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": 3533, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_expand_builtin", "(", "tree", "exp", ",", "rtx", "target", ",", "rtx", "subtarget", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "int", "ignore", "ATTRIBUTE_UNUSED", ")", "{", "tree", "fndecl", "=", "TREE_OPERAND", "(", "CALL_EXPR_FN", "(", "exp", ")", ",", "0", ")", ";", "int", "fcode", "=", "DECL_FUNCTION_CODE", "(", "fndecl", ")", ";", "int", "icode", ";", "rtx", "pat", ",", "op0", ";", "tree", "arg0", ";", "switch", "(", "fcode", ")", "{", "case", "AARCH64_BUILTIN_GET_FPCR", ":", "case", "AARCH64_BUILTIN_SET_FPCR", ":", "case", "AARCH64_BUILTIN_GET_FPSR", ":", "case", "AARCH64_BUILTIN_SET_FPSR", ":", "if", "(", "(", "fcode", "==", "AARCH64_BUILTIN_GET_FPCR", ")", "||", "(", "fcode", "==", "AARCH64_BUILTIN_GET_FPSR", ")", ")", "{", "icode", "=", "(", "fcode", "==", "AARCH64_BUILTIN_GET_FPSR", ")", "?", "CODE_FOR_get_fpsr", ":", "CODE_FOR_get_fpcr", ";", "target", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ")", ";", "}", "else", "{", "target", "=", "NULL_RTX", ";", "icode", "=", "(", "fcode", "==", "AARCH64_BUILTIN_SET_FPSR", ")", "?", "CODE_FOR_set_fpsr", ":", "CODE_FOR_set_fpcr", ";", "arg0", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "op0", "=", "force_reg", "(", "SImode", ",", "expand_normal", "(", "arg0", ")", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op0", ")", ";", "}", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "case", "AARCH64_PAUTH_BUILTIN_AUTIA1716", ":", "case", "AARCH64_PAUTH_BUILTIN_PACIA1716", ":", "case", "AARCH64_PAUTH_BUILTIN_XPACLRI", ":", "arg0", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "op0", "=", "force_reg", "(", "Pmode", ",", "expand_normal", "(", "arg0", ")", ")", ";", "if", "(", "!", "target", ")", "target", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "else", "target", "=", "force_reg", "(", "Pmode", ",", "target", ")", ";", "emit_move_insn", "(", "target", ",", "op0", ")", ";", "if", "(", "fcode", "==", "AARCH64_PAUTH_BUILTIN_XPACLRI", ")", "{", "rtx", "lr", "=", "gen_rtx_REG", "(", "Pmode", ",", "R30_REGNUM", ")", ";", "icode", "=", "CODE_FOR_xpaclri", ";", "emit_move_insn", "(", "lr", ",", "op0", ")", ";", "emit_insn", "(", "GEN_FCN", "(", "icode", ")", "(", ")", ")", ";", "emit_move_insn", "(", "target", ",", "lr", ")", ";", "}", "else", "{", "tree", "arg1", "=", "CALL_EXPR_ARG", "(", "exp", ",", "1", ")", ";", "rtx", "op1", "=", "force_reg", "(", "Pmode", ",", "expand_normal", "(", "arg1", ")", ")", ";", "icode", "=", "(", "fcode", "==", "AARCH64_PAUTH_BUILTIN_PACIA1716", "?", "CODE_FOR_paci1716", ":", "CODE_FOR_auti1716", ")", ";", "rtx", "x16_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "R16_REGNUM", ")", ";", "rtx", "x17_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "R17_REGNUM", ")", ";", "emit_move_insn", "(", "x17_reg", ",", "op0", ")", ";", "emit_move_insn", "(", "x16_reg", ",", "op1", ")", ";", "emit_insn", "(", "GEN_FCN", "(", "icode", ")", "(", ")", ")", ";", "emit_move_insn", "(", "target", ",", "x17_reg", ")", ";", "}", "return", "target", ";", "}", "if", "(", "fcode", ">=", "AARCH64_SIMD_BUILTIN_BASE", "&&", "fcode", "<=", "AARCH64_SIMD_BUILTIN_MAX", ")", "return", "aarch64_simd_expand_builtin", "(", "fcode", ",", "exp", ",", "target", ")", ";", "else", "if", "(", "fcode", ">=", "AARCH64_CRC32_BUILTIN_BASE", "&&", "fcode", "<=", "AARCH64_CRC32_BUILTIN_MAX", ")", "return", "aarch64_crc32_expand_builtin", "(", "fcode", ",", "exp", ",", "target", ")", ";", "if", "(", "fcode", "==", "AARCH64_BUILTIN_RSQRT_DF", "||", "fcode", "==", "AARCH64_BUILTIN_RSQRT_SF", "||", "fcode", "==", "AARCH64_BUILTIN_RSQRT_V2DF", "||", "fcode", "==", "AARCH64_BUILTIN_RSQRT_V2SF", "||", "fcode", "==", "AARCH64_BUILTIN_RSQRT_V4SF", ")", "return", "aarch64_expand_builtin_rsqrt", "(", "fcode", ",", "exp", ",", "target", ")", ";", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_EXPAND_BUILTIN", "."], "TS_V_token": ["aarch64", "0", "0", "0", "1"], "File": "aarch64-builtins4", "Func": "aarch64_expand_builtin", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3534, "Length": 450, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "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": ["X86", "X86"], "File": "X86TargetTransformInfo (2)1", "Func": "areInlineCompatible", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3535, "Length": 90, "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": 3536, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Note", "(", "SMLoc", "L", ",", "const", "Twine", "&", "Msg", ",", "ArrayRef", "<", "SMRange", ">", "Ranges", "=", "None", ")", "{", "return", "getParser", "(", ")", ".", "Note", "(", "L", ",", "Msg", ",", "Ranges", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "note", "at", "the", "location", "L", ",", "with", "the", "message", "Msg", "."], "TS_V_token": ["ARM"], "File": "ARMAsmParser (2)5", "Func": "Note", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3537, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_avoid_lea_for_addr", "(", "rtx_insn", "*", "insn", ",", "rtx", "operands", "[", "]", ")", "{", "unsigned", "int", "regno0", ",", "regno1", ",", "regno2", ";", "int", "split_cost", ";", "struct", "ix86_address", "parts", ";", "int", "ok", ";", "if", "(", "!", "TARGET_AVOID_LEA_FOR_ADDR", "||", "optimize_function_for_size_p", "(", "cfun", ")", ")", "return", "false", ";", "if", "(", "REG_P", "(", "operands", "[", "1", "]", ")", "||", "(", "SImode_address_operand", "(", "operands", "[", "1", "]", ",", "VOIDmode", ")", "&&", "REG_P", "(", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ")", ")", ")", "return", "false", ";", "if", "(", "!", "ix86_ok_to_clobber_flags", "(", "insn", ")", ")", "return", "false", ";", "ok", "=", "ix86_decompose_address", "(", "operands", "[", "1", "]", ",", "&", "parts", ")", ";", "gcc_assert", "(", "ok", ")", ";", "if", "(", "(", "parts", ".", "base", "!=", "NULL_RTX", ")", "+", "(", "parts", ".", "index", "!=", "NULL_RTX", ")", "+", "(", "parts", ".", "disp", "!=", "NULL_RTX", ")", "+", "(", "parts", ".", "scale", ">", "1", ")", "<", "2", ")", "return", "false", ";", "if", "(", "parts", ".", "disp", "&&", "flag_pic", "&&", "!", "LEGITIMATE_PIC_OPERAND_P", "(", "parts", ".", "disp", ")", ")", "return", "false", ";", "regno0", "=", "true_regnum", "(", "operands", "[", "0", "]", ")", ";", "regno1", "=", "INVALID_REGNUM", ";", "regno2", "=", "INVALID_REGNUM", ";", "if", "(", "parts", ".", "base", ")", "regno1", "=", "true_regnum", "(", "parts", ".", "base", ")", ";", "if", "(", "parts", ".", "index", ")", "regno2", "=", "true_regnum", "(", "parts", ".", "index", ")", ";", "split_cost", "=", "0", ";", "if", "(", "parts", ".", "base", "||", "parts", ".", "index", ")", "{", "if", "(", "regno1", "!=", "regno0", "&&", "regno2", "!=", "regno0", ")", "split_cost", "+=", "1", ";", "if", "(", "parts", ".", "base", "&&", "parts", ".", "index", ")", "split_cost", "+=", "1", ";", "if", "(", "parts", ".", "scale", ">", "1", ")", "{", "if", "(", "regno0", "!=", "regno1", ")", "split_cost", "+=", "1", ";", "else", "if", "(", "regno2", "==", "regno0", ")", "split_cost", "+=", "4", ";", "else", "split_cost", "+=", "parts", ".", "scale", ";", "}", "if", "(", "parts", ".", "disp", "&&", "parts", ".", "disp", "!=", "const0_rtx", ")", "split_cost", "+=", "1", ";", "split_cost", "-=", "1", ";", "}", "return", "!", "ix86_lea_outperforms", "(", "insn", ",", "regno0", ",", "regno1", ",", "regno2", ",", "split_cost", ",", "parts", ".", "scale", ">", "1", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "need", "to", "split", "lea", "into", "a", "sequence", "of", "instructions", "to", "avoid", "AGU", "stalls", "during", "peephole2", "."], "TS_V_token": ["i386", "1", "1", "1", "0", "1", "1", "2", "0", "0", "1", "1", "1", "1", "4", "1", "1", "1"], "File": "i3864", "Func": "ix86_avoid_lea_for_addr", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3538, "Length": 341, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rip_relative_addr_p", "(", "struct", "ix86_address", "*", "parts", ")", "{", "rtx", "base", ",", "index", ",", "disp", ";", "base", "=", "parts", "->", "base", ";", "index", "=", "parts", "->", "index", ";", "disp", "=", "parts", "->", "disp", ";", "if", "(", "disp", "&&", "!", "base", "&&", "!", "index", ")", "{", "if", "(", "TARGET_64BIT", ")", "{", "rtx", "symbol", "=", "disp", ";", "if", "(", "GET_CODE", "(", "disp", ")", "==", "CONST", ")", "symbol", "=", "XEXP", "(", "disp", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "symbol", ")", "==", "PLUS", "&&", "CONST_INT_P", "(", "XEXP", "(", "symbol", ",", "1", ")", ")", ")", "symbol", "=", "XEXP", "(", "symbol", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "symbol", ")", "==", "LABEL_REF", "||", "(", "GET_CODE", "(", "symbol", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_TLS_MODEL", "(", "symbol", ")", "==", "0", ")", "||", "(", "GET_CODE", "(", "symbol", ")", "==", "UNSPEC", "&&", "(", "XINT", "(", "symbol", ",", "1", ")", "==", "UNSPEC_GOTPCREL", "||", "XINT", "(", "symbol", ",", "1", ")", "==", "UNSPEC_PCREL", "||", "XINT", "(", "symbol", ",", "1", ")", "==", "UNSPEC_GOTNTPOFF", ")", ")", ")", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Check", "whether", "x86", "address", "PARTS", "is", "a", "pc-relative", "address", "."], "TS_V_token": ["i386", "0", "1", "0", "0", "1", "1", "1"], "File": "i3864", "Func": "rip_relative_addr_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3539, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "override", "{", "return", "createARMMachObjectWriter", "(", "OS", ",", "false", ",", "MachO", "::", "CPU_TYPE_ARM", ",", "Subtype", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMAsmBackendDarwin", "Func": "createObjectWriter", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3540, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "zero_all_vector_registers", "(", "HARD_REG_SET", "need_zeroed_hardregs", ")", "{", "if", "(", "!", "TARGET_AVX", ")", "return", "NULL", ";", "for", "(", "unsigned", "int", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "(", "LEGACY_SSE_REGNO_P", "(", "regno", ")", "||", "(", "TARGET_64BIT", "&&", "(", "REX_SSE_REGNO_P", "(", "regno", ")", "||", "(", "TARGET_AVX512F", "&&", "EXT_REX_SSE_REGNO_P", "(", "regno", ")", ")", ")", ")", ")", "&&", "!", "TEST_HARD_REG_BIT", "(", "need_zeroed_hardregs", ",", "regno", ")", ")", "return", "NULL", ";", "return", "gen_avx_vzeroall", "(", ")", ";", "}", ""], "natrual_language": ["Generate", "a", "rtx", "to", "zero", "all", "vector", "registers", "together", "if", "possible", ",", "otherwise", ",", "return", "NULL", "."], "TS_V_token": ["i386", "0"], "File": "i386", "Func": "zero_all_vector_registers", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3541, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "permute_store", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "rtx", "src_reg", "=", "SET_SRC", "(", "body", ")", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "src_reg", ")", ";", "int", "n_elts", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "int", "half_elts", "=", "n_elts", "/", "2", ";", "rtx", "par", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "rtvec_alloc", "(", "n_elts", ")", ")", ";", "int", "i", ",", "j", ";", "for", "(", "i", "=", "0", ",", "j", "=", "half_elts", ";", "i", "<", "half_elts", ";", "++", "i", ",", "++", "j", ")", "XVECEXP", "(", "par", ",", "0", ",", "i", ")", "=", "GEN_INT", "(", "j", ")", ";", "for", "(", "i", "=", "half_elts", ",", "j", "=", "0", ";", "j", "<", "half_elts", ";", "++", "i", ",", "++", "j", ")", "XVECEXP", "(", "par", ",", "0", ",", "i", ")", "=", "GEN_INT", "(", "j", ")", ";", "rtx", "sel", "=", "gen_rtx_VEC_SELECT", "(", "mode", ",", "src_reg", ",", "par", ")", ";", "SET_SRC", "(", "body", ")", "=", "sel", ";", "INSN_CODE", "(", "insn", ")", "=", "-", "1", ";", "df_insn_rescan", "(", "insn", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Replacing store %d with permuted store\\n\"", ",", "INSN_UID", "(", "insn", ")", ")", ";", "}", ""], "natrual_language": ["Convert", "the", "non-permuting", "store", "INSN", "to", "a", "permuting", "one", "."], "TS_V_token": ["powerpcspe", "2", "0", "0", "0", "0", "1", "\"Replacing store %d with permuted store\\n\""], "File": "powerpcspe", "Func": "permute_store", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3542, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isSchedulingBoundary", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineBasicBlock", "*", "MBB", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "MI", ".", "isDebugValue", "(", ")", ")", "return", "false", ";", "if", "(", "MI", ".", "isTerminator", "(", ")", "||", "MI", ".", "isPosition", "(", ")", ")", "return", "true", ";", "MachineBasicBlock", "::", "const_iterator", "I", "=", "MI", ";", "while", "(", "++", "I", "!=", "MBB", "->", "end", "(", ")", "&&", "I", "->", "isDebugValue", "(", ")", ")", ";", "if", "(", "I", "!=", "MBB", "->", "end", "(", ")", "&&", "I", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2IT", ")", "return", "true", ";", "if", "(", "!", "MI", ".", "isCall", "(", ")", "&&", "MI", ".", "definesRegister", "(", "ARM", "::", "SP", ")", ")", "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": ["ARM", "ARM", "ARM::t2IT", "ARM::SP"], "File": "ARMBaseInstrInfo (2)2", "Func": "isSchedulingBoundary", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3543, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "machine_function", "*", "arm_init_machine_status", "(", "void", ")", "{", "struct", "machine_function", "*", "machine", ";", "machine", "=", "(", "machine_function", "*", ")", "ggc_alloc_cleared", "(", "sizeof", "(", "machine_function", ")", ")", ";", "machine", "->", "func_type", "=", "ARM_FT_UNKNOWN", ";", "return", "machine", ";", "}", ""], "natrual_language": ["Functions", "to", "save", "and", "restore", "machine-specific", "function", "data", "."], "TS_V_token": ["arm"], "File": "arm3", "Func": "arm_init_machine_status", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3544, "Length": 38, "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": 3545, "Length": 44, "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": 3546, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "has_non_address_hard_reg", "(", "rtx_insn", "*", "insn", ")", "{", "df_ref", "ref", ";", "FOR_EACH_INSN_DEF", "(", "ref", ",", "insn", ")", "if", "(", "HARD_REGISTER_P", "(", "DF_REF_REAL_REG", "(", "ref", ")", ")", "&&", "!", "DF_REF_FLAGS_IS_SET", "(", "ref", ",", "DF_REF_MUST_CLOBBER", ")", "&&", "DF_REF_REGNO", "(", "ref", ")", "!=", "FLAGS_REG", ")", "return", "true", ";", "FOR_EACH_INSN_USE", "(", "ref", ",", "insn", ")", "if", "(", "!", "DF_REF_REG_MEM_P", "(", "ref", ")", "&&", "HARD_REGISTER_P", "(", "DF_REF_REAL_REG", "(", "ref", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "1", "if", "INSN", "uses", "or", "defines", "a", "hard", "register", ".", "Hard", "register", "uses", "in", "a", "memory", "address", "are", "ignored", ".", "Clobbers", "and", "flags", "definitions", "are", "ignored", "."], "TS_V_token": ["i386"], "File": "i386-features", "Func": "has_non_address_hard_reg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3547, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARM64TargetLowering", "::", "ConstraintType", "ARM64TargetLowering", "::", "getConstraintType", "(", "const", "std", "::", "string", "&", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'z'", ":", "return", "C_Other", ";", "case", "'x'", ":", "case", "'w'", ":", "return", "C_RegisterClass", ";", "case", "'Q'", ":", "return", "C_Memory", ";", "}", "}", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "."], "TS_V_token": ["ARM64", "ARM64", "ARM64", "1", "0"], "File": "ARM64ISelLowering", "Func": "getConstraintType", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3548, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MMIXInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "O", ",", "unsigned", "RegNo", ")", "const", "{", "O", "<<", "getRegisterName", "(", "RegNo", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["MMIX", "MMIX"], "File": "MMIXInstPrinter", "Func": "printRegName", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3549, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TTI", "::", "getIntImmCost", "(", "Intrinsic", "::", "ID", "IID", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "const", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", ")", "return", "~", "0U", ";", "switch", "(", "IID", ")", "{", "default", ":", "return", "TCC_Free", ";", "case", "Intrinsic", "::", "sadd_with_overflow", ":", "case", "Intrinsic", "::", "uadd_with_overflow", ":", "case", "Intrinsic", "::", "ssub_with_overflow", ":", "case", "Intrinsic", "::", "usub_with_overflow", ":", "case", "Intrinsic", "::", "smul_with_overflow", ":", "case", "Intrinsic", "::", "umul_with_overflow", ":", "if", "(", "(", "Idx", "==", "1", ")", "&&", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", "&&", "isInt", "<", "32", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "return", "TCC_Free", ";", "break", ";", "case", "Intrinsic", "::", "experimental_stackmap", ":", "if", "(", "(", "Idx", "<", "2", ")", "||", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", "&&", "isInt", "<", "64", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", ")", "return", "TCC_Free", ";", "break", ";", "case", "Intrinsic", "::", "experimental_patchpoint_void", ":", "case", "Intrinsic", "::", "experimental_patchpoint_i64", ":", "if", "(", "(", "Idx", "<", "4", ")", "||", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", "&&", "isInt", "<", "64", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", ")", "return", "TCC_Free", ";", "break", ";", "}", "return", "X86TTI", "::", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["X86", "X86", "Intrinsic::ID", "0", "0U", "Intrinsic::sadd_with_overflow", "Intrinsic::uadd_with_overflow", "Intrinsic::ssub_with_overflow", "Intrinsic::usub_with_overflow", "Intrinsic::smul_with_overflow", "Intrinsic::umul_with_overflow", "1", "64", "32", "Intrinsic::experimental_stackmap", "2", "64", "64", "Intrinsic::experimental_patchpoint_void", "Intrinsic::experimental_patchpoint_i64", "4", "64", "64", "X86"], "File": "X86TargetTransformInfo54", "Func": "getIntImmCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3550, "Length": 222, "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": 3551, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_legitimate_constant_p", "(", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "if", "(", "TARGET_ELF", "&&", "tls_referenced_p", "(", "x", ")", ")", "return", "false", ";", "if", "(", "CONST_DOUBLE_P", "(", "x", ")", ")", "return", "easy_fp_constant", "(", "x", ",", "mode", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST_VECTOR", ")", "return", "easy_vector_constant", "(", "x", ",", "mode", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LEGITIMATE_CONSTANT_P", ".", "On", "the", "RS/6000", ",", "all", "integer", "constants", "are", "acceptable", ",", "most", "wo", "n't", "be", "valid", "for", "particular", "insns", ",", "though", ".", "Only", "easy", "FP", "constants", "are", "acceptable", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_legitimate_constant_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3552, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_secondary_memory_needed", "(", "machine_mode", "mode", ",", "reg_class_t", "class1", ",", "reg_class_t", "class2", ")", "{", "return", "inline_secondary_memory_needed", "(", "mode", ",", "class1", ",", "class2", ",", "true", ")", ";", "}", ""], "natrual_language": ["If", "we", "are", "copying", "between", "general", "and", "FP", "registers", ",", "we", "need", "a", "memory", "location", ".", "The", "same", "is", "true", "for", "SSE", "and", "MMX", "registers", ".", "The", "macro", "ca", "n't", "work", "reliably", "when", "one", "of", "the", "CLASSES", "is", "class", "containing", "registers", "from", "multiple", "units", "(", "SSE", ",", "MMX", ",", "integer", ")", ".", "We", "avoid", "this", "by", "never", "combining", "those", "units", "in", "single", "alternative", "in", "the", "machine", "description", ".", "Ensure", "that", "this", "constraint", "holds", "to", "avoid", "unexpected", "surprises", ".", "When", "STRICT", "is", "false", ",", "we", "are", "being", "called", "from", "REGISTER_MOVE_COST", ",", "so", "do", "not", "enforce", "these", "sanity", "checks", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_secondary_memory_needed", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3553, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "LLVM_DUMP_METHOD", "void", "dump", "(", "const", "MachineRegisterInfo", "*", "MRI", ")", "const", "{", "dbgs", "(", ")", "<<", "\"Registers: \"", ";", "bool", "First", "=", "true", ";", "for", "(", "unsigned", "Reg", ":", "Edges", ")", "{", "if", "(", "!", "First", ")", "dbgs", "(", ")", "<<", "\", \"", ";", "First", "=", "false", ";", "dbgs", "(", ")", "<<", "printReg", "(", "Reg", ",", "MRI", "->", "getTargetRegisterInfo", "(", ")", ",", "0", ",", "MRI", ")", ";", "}", "dbgs", "(", ")", "<<", "\"\\n\"", "<<", "\"Instructions:\"", ";", "for", "(", "MachineInstr", "*", "MI", ":", "Instrs", ")", "{", "dbgs", "(", ")", "<<", "\"\\n \"", ";", "MI", "->", "print", "(", "dbgs", "(", ")", ")", ";", "}", "dbgs", "(", ")", "<<", "\"\\n\"", ";", "}", ""], "natrual_language": ["Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "."], "TS_V_token": ["X86", "\"Registers: \"", "\", \"", "0", "\"\\n\"", "\"Instructions:\"", "\"\\n \"", "\"\\n\""], "File": "X86DomainReassignment", "Func": "dump", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3554, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "nds32_expand_cctl_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", ",", "op0_num", ",", "op0", ",", "name", ")", ")", "return", "NULL_RTX", ";", "op0", "=", "nds32_legitimize_argument", "(", "icode", ",", "op0_num", ",", "op0", ")", ";", "op1", "=", "nds32_legitimize_argument", "(", "icode", ",", "op1_num", ",", "op1", ")", ";", "if", "(", "icode", "==", "CODE_FOR_cctl_idx_write", ")", "{", "rtx", "op2", "=", "nds32_read_argument", "(", "exp", ",", "2", ")", ";", "op2", "=", "nds32_legitimize_argument", "(", "icode", ",", "2", ",", "op2", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op0", ",", "op1", ",", "op2", ")", ";", "}", "else", "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", "cctl", "builtins", "."], "TS_V_token": ["nds32", "0", "1", "1", "0", "2", "1", "2", "2"], "File": "nds32-intrinsic", "Func": "nds32_expand_cctl_builtin", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3555, "Length": 208, "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", ")", "{", "machine_mode", "mode1", "=", "TYPE_MODE", "(", "type1", ")", ";", "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": ["powerpcspe", "\"__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": "powerpcspe", "Func": "rs6000_invalid_binary_op", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3556, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SystemZInstrInfo", "::", "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", "->", "isBranch", "(", ")", ")", "break", ";", "if", "(", "!", "getBranchInfo", "(", "*", "I", ")", ".", "Target", "->", "isMBB", "(", ")", ")", "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": ["SystemZ", "SystemZ", "\"code size not handled\"", "0"], "File": "SystemZInstrInfo (2)2", "Func": "removeBranch", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3557, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86DAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "OptForSize", "=", "MF", "->", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "OptimizeForSize", ")", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "I", "++", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "(", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", "&&", "!", "Subtarget", "->", "callRegIndirect", "(", ")", ")", "||", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "TC_RETURN", "&&", "(", "Subtarget", "->", "is64Bit", "(", ")", "||", "getTargetMachine", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", ")", ")", ")", ")", "{", "bool", "HasCallSeq", "=", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", ";", "SDValue", "Chain", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Load", "=", "N", "->", "getOperand", "(", "1", ")", ";", "if", "(", "!", "isCalleeLoad", "(", "Load", ",", "Chain", ",", "HasCallSeq", ")", ")", "continue", ";", "MoveBelowOrigChain", "(", "CurDAG", ",", "Load", ",", "SDValue", "(", "N", ",", "0", ")", ",", "Chain", ")", ";", "++", "NumLoadMoved", ";", "continue", ";", "}", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_ROUND", "&&", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "MVT", "SrcVT", "=", "N", "->", "getOperand", "(", "0", ")", ".", "getSimpleValueType", "(", ")", ";", "MVT", "DstVT", "=", "N", "->", "getSimpleValueType", "(", "0", ")", ";", "if", "(", "SrcVT", ".", "isVector", "(", ")", "||", "DstVT", ".", "isVector", "(", ")", ")", "continue", ";", "const", "X86TargetLowering", "*", "X86Lowering", "=", "static_cast", "<", "const", "X86TargetLowering", "*", ">", "(", "getTargetLowering", "(", ")", ")", ";", "bool", "SrcIsSSE", "=", "X86Lowering", "->", "isScalarFPTypeInSSEReg", "(", "SrcVT", ")", ";", "bool", "DstIsSSE", "=", "X86Lowering", "->", "isScalarFPTypeInSSEReg", "(", "DstVT", ")", ";", "if", "(", "SrcIsSSE", "&&", "DstIsSSE", ")", "continue", ";", "if", "(", "!", "SrcIsSSE", "&&", "!", "DstIsSSE", ")", "{", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "if", "(", "N", "->", "getConstantOperandVal", "(", "1", ")", ")", "continue", ";", "}", "MVT", "MemVT", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_ROUND", ")", "MemVT", "=", "DstVT", ";", "else", "MemVT", "=", "SrcIsSSE", "?", "SrcVT", ":", "DstVT", ";", "SDValue", "MemTmp", "=", "CurDAG", "->", "CreateStackTemporary", "(", "MemVT", ")", ";", "SDLoc", "dl", "(", "N", ")", ";", "SDValue", "Store", "=", "CurDAG", "->", "getTruncStore", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "dl", ",", "N", "->", "getOperand", "(", "0", ")", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "SDValue", "Result", "=", "CurDAG", "->", "getExtLoad", "(", "ISD", "::", "EXTLOAD", ",", "dl", ",", "DstVT", ",", "Store", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "--", "I", ";", "CurDAG", "->", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "0", ")", ",", "Result", ")", ";", "++", "I", ";", "CurDAG", "->", "DeleteNode", "(", "N", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["X86", "X86", "X86ISD::CALL", "X86ISD::TC_RETURN", "X86ISD::CALL", "0", "1", "0", "ISD::FP_ROUND", "ISD::FP_EXTEND", "0", "0", "X86", "X86", "X86", "X86", "X86", "ISD::FP_EXTEND", "1", "ISD::FP_ROUND", "0", "0", "ISD::EXTLOAD", "0", "0"], "File": "X86ISelDAGToDAG100", "Func": "PreprocessISelDAG", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3558, "Length": 481, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "loongarch_classify_address", "(", "struct", "loongarch_address_info", "*", "info", ",", "rtx", "x", ",", "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", "loongarch_valid_base_register_p", "(", "info", "->", "reg", ",", "mode", ",", "strict_p", ")", ";", "case", "PLUS", ":", "if", "(", "loongarch_valid_base_register_p", "(", "XEXP", "(", "x", ",", "0", ")", ",", "mode", ",", "strict_p", ")", "&&", "loongarch_valid_index_p", "(", "info", ",", "XEXP", "(", "x", ",", "1", ")", ",", "mode", ",", "strict_p", ")", ")", "{", "info", "->", "reg", "=", "XEXP", "(", "x", ",", "0", ")", ";", "return", "true", ";", "}", "if", "(", "loongarch_valid_base_register_p", "(", "XEXP", "(", "x", ",", "1", ")", ",", "mode", ",", "strict_p", ")", "&&", "loongarch_valid_index_p", "(", "info", ",", "XEXP", "(", "x", ",", "0", ")", ",", "mode", ",", "strict_p", ")", ")", "{", "info", "->", "reg", "=", "XEXP", "(", "x", ",", "1", ")", ";", "return", "true", ";", "}", "info", "->", "type", "=", "ADDRESS_REG", ";", "info", "->", "reg", "=", "XEXP", "(", "x", ",", "0", ")", ";", "info", "->", "offset", "=", "XEXP", "(", "x", ",", "1", ")", ";", "return", "(", "loongarch_valid_base_register_p", "(", "info", "->", "reg", ",", "mode", ",", "strict_p", ")", "&&", "loongarch_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", "=", "loongarch_classify_symbolic_expression", "(", "info", "->", "offset", ")", ";", "return", "(", "loongarch_valid_base_register_p", "(", "info", "->", "reg", ",", "mode", ",", "strict_p", ")", "&&", "loongarch_valid_lo_sum_p", "(", "info", "->", "symbol_type", ",", "mode", ",", "info", "->", "offset", ")", ")", ";", "case", "CONST_INT", ":", "info", "->", "type", "=", "ADDRESS_CONST_INT", ";", "return", "IMM12_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": ["loongarch", "0", "1", "0", "1", "0", "1", "0", "1", "0", "1"], "File": "loongarch1", "Func": "loongarch_classify_address", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3559, "Length": 307, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "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", ";", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "bool", "AfterFPPop", "=", "Opc", "==", "X86", "::", "TAILJMPm64", "||", "Opc", "==", "X86", "::", "TAILJMPm", ";", "if", "(", "needsStackRealignment", "(", "MF", ")", ")", "BasePtr", "=", "(", "FrameIndex", "<", "0", "?", "FramePtr", ":", "StackPtr", ")", ";", "else", "if", "(", "AfterFPPop", ")", "BasePtr", "=", "StackPtr", ";", "else", "BasePtr", "=", "(", "hasFP", "(", "MF", ")", "?", "FramePtr", ":", "StackPtr", ")", ";", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "BasePtr", ",", "false", ")", ";", "int", "FIOffset", ";", "if", "(", "AfterFPPop", ")", "{", "const", "TargetFrameInfo", "&", "TFI", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", ";", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "FIOffset", "=", "MFI", "->", "getObjectOffset", "(", "FrameIndex", ")", "-", "TFI", ".", "getOffsetOfLocalArea", "(", ")", ";", "}", "else", "FIOffset", "=", "getFrameIndexOffset", "(", "MF", ",", "FrameIndex", ")", ";", "if", "(", "MI", ".", "getOperand", "(", "i", "+", "3", ")", ".", "isImm", "(", ")", ")", "{", "int", "Offset", "=", "FIOffset", "+", "(", "int", ")", "(", "MI", ".", "getOperand", "(", "i", "+", "3", ")", ".", "getImm", "(", ")", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "3", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", "else", "{", "uint64_t", "Offset", "=", "FIOffset", "+", "(", "uint64_t", ")", "MI", ".", "getOperand", "(", "i", "+", "3", ")", ".", "getOffset", "(", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "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\"", "0", "\"Instr doesn't have FrameIndex operand!\"", "X86::TAILJMPm64", "X86::TAILJMPm", "0", "3", "3", "3", "3", "3"], "File": "X86RegisterInfo31", "Func": "eliminateFrameIndex", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3560, "Length": 338, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "OptimizeLEAPass", "::", "isReplaceable", "(", "const", "MachineInstr", "&", "First", ",", "const", "MachineInstr", "&", "Last", ",", "int64_t", "&", "AddrDispShift", ")", "{", "assert", "(", "isLEA", "(", "First", ")", "&&", "isLEA", "(", "Last", ")", "&&", "\"The function works only with LEA instructions\"", ")", ";", "if", "(", "!", "isSimilarMemOp", "(", "Last", ",", "1", ",", "First", ",", "1", ",", "AddrDispShift", ")", ")", "return", "false", ";", "if", "(", "MRI", "->", "getRegClass", "(", "First", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", "!=", "MRI", "->", "getRegClass", "(", "Last", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", "return", "false", ";", "for", "(", "auto", "&", "MO", ":", "MRI", "->", "use_operands", "(", "Last", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", "{", "MachineInstr", "&", "MI", "=", "*", "MO", ".", "getParent", "(", ")", ";", "const", "MCInstrDesc", "&", "Desc", "=", "MI", ".", "getDesc", "(", ")", ";", "int", "MemOpNo", "=", "X86II", "::", "getMemoryOperandNo", "(", "Desc", ".", "TSFlags", ",", "MI", ".", "getOpcode", "(", ")", ")", ";", "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", "\"The function works only with LEA instructions\"", "1", "1", "0", "0", "0", "X86II::getMemoryOperandNo", "0", "X86II::getOperandBias", "X86::AddrBaseReg", "0", "X86::AddrBaseReg", "X86::AddrDisp", "32", "X86::AddrDisp"], "File": "X86OptimizeLEAs3", "Func": "isReplaceable", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3561, "Length": 291, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86DAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "OptForSize", "=", "MF", "->", "getFunction", "(", ")", "->", "hasFnAttr", "(", "Attribute", "::", "OptimizeForSize", ")", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "I", "++", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", "||", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "TC_RETURN", ")", ")", "{", "bool", "HasCallSeq", "=", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", ";", "SDValue", "Chain", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Load", "=", "N", "->", "getOperand", "(", "1", ")", ";", "if", "(", "!", "isCalleeLoad", "(", "Load", ",", "Chain", ",", "HasCallSeq", ")", ")", "continue", ";", "MoveBelowOrigChain", "(", "CurDAG", ",", "Load", ",", "SDValue", "(", "N", ",", "0", ")", ",", "Chain", ")", ";", "++", "NumLoadMoved", ";", "continue", ";", "}", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_ROUND", "&&", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "EVT", "SrcVT", "=", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", ";", "EVT", "DstVT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "bool", "SrcIsSSE", "=", "X86Lowering", ".", "isScalarFPTypeInSSEReg", "(", "SrcVT", ")", ";", "bool", "DstIsSSE", "=", "X86Lowering", ".", "isScalarFPTypeInSSEReg", "(", "DstVT", ")", ";", "if", "(", "SrcIsSSE", "&&", "DstIsSSE", ")", "continue", ";", "if", "(", "!", "SrcIsSSE", "&&", "!", "DstIsSSE", ")", "{", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "if", "(", "N", "->", "getConstantOperandVal", "(", "1", ")", ")", "continue", ";", "}", "EVT", "MemVT", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_ROUND", ")", "MemVT", "=", "DstVT", ";", "else", "MemVT", "=", "SrcIsSSE", "?", "SrcVT", ":", "DstVT", ";", "SDValue", "MemTmp", "=", "CurDAG", "->", "CreateStackTemporary", "(", "MemVT", ")", ";", "DebugLoc", "dl", "=", "N", "->", "getDebugLoc", "(", ")", ";", "SDValue", "Store", "=", "CurDAG", "->", "getTruncStore", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "dl", ",", "N", "->", "getOperand", "(", "0", ")", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "SDValue", "Result", "=", "CurDAG", "->", "getExtLoad", "(", "ISD", "::", "EXTLOAD", ",", "dl", ",", "DstVT", ",", "Store", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "--", "I", ";", "CurDAG", "->", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "0", ")", ",", "Result", ")", ";", "++", "I", ";", "CurDAG", "->", "DeleteNode", "(", "N", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["X86", "X86", "X86ISD::CALL", "X86ISD::TC_RETURN", "X86ISD::CALL", "0", "1", "0", "ISD::FP_ROUND", "ISD::FP_EXTEND", "0", "0", "X86", "X86", "ISD::FP_EXTEND", "1", "ISD::FP_ROUND", "0", "0", "ISD::EXTLOAD", "0", "0"], "File": "X86ISelDAGToDAG109", "Func": "PreprocessISelDAG", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3562, "Length": 412, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "uint64_t", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "unsigned", "MatchResult", ";", "MatchResult", "=", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ";", "switch", "(", "MatchResult", ")", "{", "case", "Match_Success", ":", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "Out", ".", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "return", "false", ";", "case", "Match_MissingFeature", ":", "{", "assert", "(", "ErrorInfo", "&&", "\"Unknown missing feature!\"", ")", ";", "std", "::", "string", "Msg", "=", "\"instruction requires:\"", ";", "uint64_t", "Mask", "=", "1", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "sizeof", "(", "ErrorInfo", ")", "*", "8", "-", "1", ";", "++", "I", ")", "{", "if", "(", "ErrorInfo", "&", "Mask", ")", "{", "Msg", "+=", "\" \"", ";", "Msg", "+=", "getSubtargetFeatureName", "(", "ErrorInfo", "&", "Mask", ")", ";", "}", "Mask", "<<=", "1", ";", "}", "return", "Error", "(", "IDLoc", ",", "Msg", ")", ";", "}", "case", "Match_InvalidOperand", ":", "{", "SMLoc", "ErrorLoc", "=", "IDLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "0ULL", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "IDLoc", ",", "\"too few operands for instruction\"", ")", ";", "ErrorLoc", "=", "(", "(", "SystemZOperand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "\"invalid operand for instruction\"", ")", ";", "}", "case", "Match_MnemonicFail", ":", "return", "Error", "(", "IDLoc", ",", "\"invalid instruction\"", ")", ";", "}", "llvm_unreachable", "(", "\"Unexpected match type\"", ")", ";", "}", ""], "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": ["SystemZ", "SystemZ", "\"Unknown missing feature!\"", "\"instruction requires:\"", "1", "0", "8", "1", "\" \"", "1", "0ULL", "\"too few operands for instruction\"", "SystemZ", "\"invalid operand for instruction\"", "\"invalid instruction\"", "\"Unexpected match type\""], "File": "SystemZAsmParser", "Func": "MatchAndEmitInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3563, "Length": 247, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SparcSubtarget", "*", "getSubtargetImpl", "(", ")", "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": ["Sparc", "Sparc"], "File": "SparcTargetMachine26", "Func": "getSubtargetImpl", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3564, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_md_asm_clobbers", "(", "tree", ",", "tree", ",", "tree", "clobbers", ")", "{", "clobbers", "=", "tree_cons", "(", "NULL_TREE", ",", "build_string", "(", "5", ",", "\"flags\"", ")", ",", "clobbers", ")", ";", "clobbers", "=", "tree_cons", "(", "NULL_TREE", ",", "build_string", "(", "4", ",", "\"fpsr\"", ")", ",", "clobbers", ")", ";", "return", "clobbers", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_MD_ASM_CLOBBERS", ".", "We", "do", "this", "in", "the", "new", "i386", "backend", "to", "maintain", "source", "compatibility", "with", "the", "old", "cc0-based", "compiler", "."], "TS_V_token": ["i386", "5", "\"flags\"", "4", "\"fpsr\""], "File": "i3864", "Func": "ix86_md_asm_clobbers", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3565, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86TargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "APInt", "&", "KnownZero", ",", "APInt", "&", "KnownOne", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "unsigned", "BitWidth", "=", "KnownZero", ".", "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!\"", ")", ";", "KnownZero", "=", "KnownOne", "=", "APInt", "(", "BitWidth", ",", "0", ")", ";", "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", ";", "case", "X86ISD", "::", "SETCC", ":", "KnownZero", "|=", "APInt", "::", "getHighBitsSet", "(", "BitWidth", ",", "BitWidth", "-", "1", ")", ";", "break", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "{", "unsigned", "IntId", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "0", ")", ")", "->", "getZExtValue", "(", ")", ";", "unsigned", "NumLoBits", "=", "0", ";", "switch", "(", "IntId", ")", "{", "default", ":", "break", ";", "case", "Intrinsic", "::", "x86_sse_movmsk_ps", ":", "case", "Intrinsic", "::", "x86_avx_movmsk_ps_256", ":", "case", "Intrinsic", "::", "x86_sse2_movmsk_pd", ":", "case", "Intrinsic", "::", "x86_avx_movmsk_pd_256", ":", "case", "Intrinsic", "::", "x86_mmx_pmovmskb", ":", "case", "Intrinsic", "::", "x86_sse2_pmovmskb_128", ":", "case", "Intrinsic", "::", "x86_avx2_pmovmskb", ":", "{", "switch", "(", "IntId", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Impossible intrinsic\"", ")", ";", "case", "Intrinsic", "::", "x86_sse_movmsk_ps", ":", "NumLoBits", "=", "4", ";", "break", ";", "case", "Intrinsic", "::", "x86_avx_movmsk_ps_256", ":", "NumLoBits", "=", "8", ";", "break", ";", "case", "Intrinsic", "::", "x86_sse2_movmsk_pd", ":", "NumLoBits", "=", "2", ";", "break", ";", "case", "Intrinsic", "::", "x86_avx_movmsk_pd_256", ":", "NumLoBits", "=", "4", ";", "break", ";", "case", "Intrinsic", "::", "x86_mmx_pmovmskb", ":", "NumLoBits", "=", "8", ";", "break", ";", "case", "Intrinsic", "::", "x86_sse2_pmovmskb_128", ":", "NumLoBits", "=", "16", ";", "break", ";", "case", "Intrinsic", "::", "x86_avx2_pmovmskb", ":", "NumLoBits", "=", "32", ";", "break", ";", "}", "KnownZero", "=", "APInt", "::", "getHighBitsSet", "(", "BitWidth", ",", "BitWidth", "-", "NumLoBits", ")", ";", "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": ["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!\"", "0", "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", "ISD::INTRINSIC_WO_CHAIN", "0", "0", "Intrinsic::x86_sse_movmsk_ps", "Intrinsic::x86_avx_movmsk_ps_256", "Intrinsic::x86_sse2_movmsk_pd", "Intrinsic::x86_avx_movmsk_pd_256", "Intrinsic::x86_mmx_pmovmskb", "Intrinsic::x86_sse2_pmovmskb_128", "Intrinsic::x86_avx2_pmovmskb", "\"Impossible intrinsic\"", "Intrinsic::x86_sse_movmsk_ps", "4", "Intrinsic::x86_avx_movmsk_ps_256", "8", "Intrinsic::x86_sse2_movmsk_pd", "2", "Intrinsic::x86_avx_movmsk_pd_256", "4", "Intrinsic::x86_mmx_pmovmskb", "8", "Intrinsic::x86_sse2_pmovmskb_128", "16", "Intrinsic::x86_avx2_pmovmskb", "32"], "File": "X86ISelLowering (2)", "Func": "computeKnownBitsForTargetNode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3566, "Length": 372, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"Workaround A53 erratum 835769 pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64", "\"Workaround A53 erratum 835769 pass\""], "File": "AArch64A53Fix835769", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3567, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mt_emit_cbranch", "(", "enum", "rtx_code", "code", ",", "rtx", "loc", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "rtx", "condition_rtx", ",", "loc_ref", ";", "if", "(", "!", "reg_or_0_operand", "(", "op0", ",", "SImode", ")", ")", "op0", "=", "copy_to_mode_reg", "(", "SImode", ",", "op0", ")", ";", "if", "(", "!", "reg_or_0_operand", "(", "op1", ",", "SImode", ")", ")", "op1", "=", "copy_to_mode_reg", "(", "SImode", ",", "op1", ")", ";", "condition_rtx", "=", "mt_generate_compare", "(", "code", ",", "op0", ",", "op1", ")", ";", "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": ["mt"], "File": "mt", "Func": "mt_emit_cbranch", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3568, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "aarch64_get_attributes", "(", "aarch64_simd_builtin_datum", "*", "d", ")", "{", "tree", "attrs", "=", "NULL_TREE", ";", "if", "(", "!", "aarch64_modifies_global_state_p", "(", "d", ")", ")", "{", "if", "(", "aarch64_reads_global_state_p", "(", "d", ")", ")", "attrs", "=", "aarch64_add_attribute", "(", "\"pure\"", ",", "attrs", ")", ";", "else", "attrs", "=", "aarch64_add_attribute", "(", "\"const\"", ",", "attrs", ")", ";", "}", "if", "(", "!", "flag_non_call_exceptions", "||", "!", "aarch64_could_trap_p", "(", "d", ")", ")", "attrs", "=", "aarch64_add_attribute", "(", "\"nothrow\"", ",", "attrs", ")", ";", "return", "aarch64_add_attribute", "(", "\"leaf\"", ",", "attrs", ")", ";", "}", ""], "natrual_language": ["Return", "the", "appropriate", "function", "attributes", "."], "TS_V_token": ["aarch64", "\"pure\"", "\"const\"", "\"nothrow\"", "\"leaf\""], "File": "aarch64-builtins1", "Func": "aarch64_get_attributes", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3569, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "avoid_collisions", "(", "tag_map_t", "&", "tag_map", ")", "{", "do", "{", "map_changed", "=", "false", ";", "tag_map", ".", "traverse", "<", "tag_map_t", "*", ",", "avoid_collisions_1", ">", "(", "&", "tag_map", ")", ";", "}", "while", "(", "map_changed", ")", ";", "}", ""], "natrual_language": ["For", "each", "set", "of", "collisions", ",", "attempt", "to", "rename", "the", "registers", "or", "insert", "a", "move", "to", "avoid", "the", "collision", ".", "We", "repeatedly", "traverse", "through", "TAG_MAP", "using", "AVOID_COLLISIONS_1", "trying", "to", "rename", "registers", "to", "avoid", "collisions", "until", "a", "full", "traversal", "results", "in", "no", "change", "in", "the", "map", "."], "TS_V_token": ["aarch64"], "File": "falkor-tag-collision-avoidance", "Func": "avoid_collisions", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3570, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86TargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "APInt", "&", "KnownZero", ",", "APInt", "&", "KnownOne", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "unsigned", "BitWidth", "=", "KnownZero", ".", "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!\"", ")", ";", "KnownZero", "=", "KnownOne", "=", "APInt", "(", "BitWidth", ",", "0", ")", ";", "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", ":", "KnownZero", "|=", "APInt", "::", "getHighBitsSet", "(", "BitWidth", ",", "BitWidth", "-", "1", ")", ";", "break", ";", "case", "X86ISD", "::", "MOVMSK", ":", "{", "unsigned", "NumLoBits", "=", "Op", ".", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", ".", "getVectorNumElements", "(", ")", ";", "KnownZero", "=", "APInt", "::", "getHighBitsSet", "(", "BitWidth", ",", "BitWidth", "-", "NumLoBits", ")", ";", "break", ";", "}", "case", "X86ISD", "::", "VZEXT", ":", "{", "SDValue", "N0", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "unsigned", "NumElts", "=", "Op", ".", "getValueType", "(", ")", ".", "getVectorNumElements", "(", ")", ";", "unsigned", "InNumElts", "=", "N0", ".", "getValueType", "(", ")", ".", "getVectorNumElements", "(", ")", ";", "unsigned", "InBitWidth", "=", "N0", ".", "getValueType", "(", ")", ".", "getScalarSizeInBits", "(", ")", ";", "KnownZero", "=", "KnownOne", "=", "APInt", "(", "InBitWidth", ",", "0", ")", ";", "APInt", "DemandedElts", "=", "APInt", "::", "getLowBitsSet", "(", "InNumElts", ",", "NumElts", ")", ";", "DAG", ".", "computeKnownBits", "(", "N0", ",", "KnownZero", ",", "KnownOne", ",", "DemandedElts", ",", "Depth", "+", "1", ")", ";", "KnownOne", "=", "KnownOne", ".", "zext", "(", "BitWidth", ")", ";", "KnownZero", "=", "KnownZero", ".", "zext", "(", "BitWidth", ")", ";", "KnownZero", "|=", "APInt", "::", "getHighBitsSet", "(", "BitWidth", ",", "BitWidth", "-", "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!\"", "0", "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::VZEXT", "0", "0", "1"], "File": "X86ISelLowering236", "Func": "computeKnownBitsForTargetNode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3571, "Length": 357, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MipsSubtarget", "&", "MipsSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetMachine", "&", "TM", ")", "{", "std", "::", "string", "CPUName", "=", "MIPS_MC", "::", "selectMipsCPU", "(", "TM", ".", "getTargetTriple", "(", ")", ",", "CPU", ")", ";", "ParseSubtargetFeatures", "(", "CPUName", ",", "FS", ")", ";", "InstrItins", "=", "getInstrItineraryForCPU", "(", "CPUName", ")", ";", "if", "(", "InMips16Mode", "&&", "!", "IsSoftFloat", ")", "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_MC::selectMipsCPU", "Mips", "Mips"], "File": "MipsSubtarget (2)1", "Func": "initializeSubtargetDependencies", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3572, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", "const", "{", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "+", "7", ")", "/", "8", ";", "unsigned", "FullSize", ";", "switch", "(", "(", "unsigned", ")", "Kind", ")", "{", "case", "FK_Data_2", ":", "case", "Mips", "::", "fixup_Mips_16", ":", "case", "Mips", "::", "fixup_MICROMIPS_PC10_S1", ":", "FullSize", "=", "2", ";", "break", ";", "case", "FK_Data_8", ":", "case", "Mips", "::", "fixup_Mips_64", ":", "FullSize", "=", "8", ";", "break", ";", "case", "FK_Data_4", ":", "default", ":", "FullSize", "=", "4", ";", "break", ";", "}", "uint64_t", "CurVal", "=", "0", ";", "bool", "microMipsLEByteOrder", "=", "needsMMLEByteOrder", "(", "(", "unsigned", ")", "Kind", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittle", "?", "(", "microMipsLEByteOrder", "?", "calculateMMLEIndex", "(", "i", ")", ":", "i", ")", ":", "(", "FullSize", "-", "1", "-", "i", ")", ";", "CurVal", "|=", "(", "uint64_t", ")", "(", "(", "uint8_t", ")", "Data", "[", "Offset", "+", "Idx", "]", ")", "<<", "(", "i", "*", "8", ")", ";", "}", "uint64_t", "Mask", "=", "(", "(", "uint64_t", ")", "(", "-", "1", ")", ">>", "(", "64", "-", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", ")", ";", "CurVal", "|=", "Value", "&", "Mask", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittle", "?", "(", "microMipsLEByteOrder", "?", "calculateMMLEIndex", "(", "i", ")", ":", "i", ")", ":", "(", "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": ["Mips", "Mips", "7", "8", "Mips::fixup_Mips_16", "Mips::fixup_MICROMIPS_PC10_S1", "2", "Mips::fixup_Mips_64", "8", "4", "0", "Mips", "0", "Mips", "1", "8", "1", "64", "0", "Mips", "1", "8", "0xff"], "File": "MipsAsmBackend (2)", "Func": "applyFixup", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3573, "Length": 305, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "memory_scalar_type", "(", "const", "function_instance", "&", "fi", ")", "const", "OVERRIDE", "{", "type_class_index", "tclass", "=", "fi", ".", "type_suffix", "(", "0", ")", ".", "tclass", ";", "unsigned", "int", "element_bits", "=", "GET_MODE_BITSIZE", "(", "m_to_mode", ")", ";", "type_suffix_index", "suffix", "=", "find_type_suffix", "(", "tclass", ",", "element_bits", ")", ";", "return", "scalar_types", "[", "type_suffixes", "[", "suffix", "]", ".", "vector_type", "]", ";", "}", ""], "natrual_language": ["If", "the", "function", "addresses", "memory", ",", "return", "the", "type", "of", "a", "single", "scalar", "memory", "element", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64-sve-builtins-functions", "Func": "memory_scalar_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3574, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mmix_asm_output_source_filename", "(", "FILE", "*", "stream", ",", "const", "char", "*", "name", ")", "{", "fprintf", "(", "stream", ",", "\"# 1 \"", ")", ";", "OUTPUT_QUOTED_STRING", "(", "stream", ",", "name", ")", ";", "fprintf", "(", "stream", ",", "\"\\n\"", ")", ";", "}", ""], "natrual_language": ["ASM_OUTPUT_SOURCE_FILENAME", "."], "TS_V_token": ["mmix", "\"# 1 \"", "\"\\n\""], "File": "mmix3", "Func": "mmix_asm_output_source_filename", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3575, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "has_dispatch", "(", "rtx_insn", "*", "insn", ",", "int", "action", ")", "{", "if", "(", "(", "TARGET_BDVER1", "||", "TARGET_BDVER2", "||", "TARGET_BDVER3", "||", "TARGET_BDVER4", "||", "TARGET_ZNVER1", ")", "&&", "flag_dispatch_scheduler", ")", "switch", "(", "action", ")", "{", "default", ":", "return", "false", ";", "case", "IS_DISPATCH_ON", ":", "return", "true", ";", "break", ";", "case", "IS_CMP", ":", "return", "is_cmp", "(", "insn", ")", ";", "case", "DISPATCH_VIOLATION", ":", "return", "dispatch_violation", "(", ")", ";", "case", "FITS_DISPATCH_WINDOW", ":", "return", "fits_dispatch_window", "(", "insn", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "Dispatch", "Scheduling", "is", "supported", "."], "TS_V_token": ["i386"], "File": "i3865", "Func": "has_dispatch", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3576, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "AArch64TargetLowering", "::", "getScalingFactorCost", "(", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ")", "const", "{", "if", "(", "isLegalAddressingMode", "(", "AM", ",", "Ty", ")", ")", "return", "AM", ".", "Scale", "!=", "0", "&&", "AM", ".", "Scale", "!=", "1", ";", "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": ["AArch64", "AArch64", "0", "1", "1"], "File": "AArch64ISelLowering109", "Func": "getScalingFactorCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3577, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcInstrInfo", "::", "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", ";", "unsigned", "LastOpc", "=", "LastInst", "->", "getOpcode", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", "||", "!", "isUnpredicatedTerminator", "(", "*", "--", "I", ")", ")", "{", "if", "(", "isUncondBranchOpcode", "(", "LastOpc", ")", ")", "{", "TBB", "=", "LastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "return", "false", ";", "}", "if", "(", "isCondBranchOpcode", "(", "LastOpc", ")", ")", "{", "parseCondBranch", "(", "LastInst", ",", "TBB", ",", "Cond", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", "MachineInstr", "*", "SecondLastInst", "=", "&", "*", "I", ";", "unsigned", "SecondLastOpc", "=", "SecondLastInst", "->", "getOpcode", "(", ")", ";", "if", "(", "AllowModify", "&&", "isUncondBranchOpcode", "(", "LastOpc", ")", ")", "{", "while", "(", "isUncondBranchOpcode", "(", "SecondLastOpc", ")", ")", "{", "LastInst", "->", "eraseFromParent", "(", ")", ";", "LastInst", "=", "SecondLastInst", ";", "LastOpc", "=", "LastInst", "->", "getOpcode", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", "||", "!", "isUnpredicatedTerminator", "(", "*", "--", "I", ")", ")", "{", "TBB", "=", "LastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "return", "false", ";", "}", "else", "{", "SecondLastInst", "=", "&", "*", "I", ";", "SecondLastOpc", "=", "SecondLastInst", "->", "getOpcode", "(", ")", ";", "}", "}", "}", "if", "(", "SecondLastInst", "&&", "I", "!=", "MBB", ".", "begin", "(", ")", "&&", "isUnpredicatedTerminator", "(", "*", "--", "I", ")", ")", "return", "true", ";", "if", "(", "isCondBranchOpcode", "(", "SecondLastOpc", ")", "&&", "isUncondBranchOpcode", "(", "LastOpc", ")", ")", "{", "parseCondBranch", "(", "SecondLastInst", ",", "TBB", ",", "Cond", ")", ";", "FBB", "=", "LastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "return", "false", ";", "}", "if", "(", "isUncondBranchOpcode", "(", "SecondLastOpc", ")", "&&", "isUncondBranchOpcode", "(", "LastOpc", ")", ")", "{", "TBB", "=", "SecondLastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "return", "false", ";", "}", "if", "(", "isIndirectBranchOpcode", "(", "SecondLastOpc", ")", "&&", "isUncondBranchOpcode", "(", "LastOpc", ")", ")", "{", "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": ["Sparc", "Sparc", "0", "0", "0", "0"], "File": "SparcInstrInfo1", "Func": "analyzeBranch", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3578, "Length": 387, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nds32_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", "ATTRIBUTE_UNUSED", ")", "{", "return", "(", "!", "TARGET_V3PUSH", "&&", "!", "nds32_isr_function_p", "(", "current_function_decl", ")", "&&", "(", "cfun", "->", "machine", "->", "va_args_size", "==", "0", ")", "&&", "decl", "&&", "!", "flag_pic", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "ok", "to", "do", "sibling", "call", "optimization", "."], "TS_V_token": ["nds32", "0"], "File": "nds32", "Func": "nds32_function_ok_for_sibcall", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3579, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "shouldExpandAtomicStoreInIR", "(", "StoreInst", "*", "SI", ")", "const", "{", "unsigned", "Size", "=", "SI", "->", "getValueOperand", "(", ")", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "return", "(", "Size", "==", "64", ")", "&&", "!", "Subtarget", "->", "isMClass", "(", ")", ";", "}", ""], "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": "ARMISelLowering (2)2", "Func": "shouldExpandAtomicStoreInIR", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3580, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86CallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "ArrayRef", "<", "Register", ">", "VRegs", ")", "const", "{", "assert", "(", "(", "(", "Val", "&&", "!", "VRegs", ".", "empty", "(", ")", ")", "||", "(", "!", "Val", "&&", "VRegs", ".", "empty", "(", ")", ")", ")", "&&", "\"Return value without a vreg\"", ")", ";", "auto", "MIB", "=", "MIRBuilder", ".", "buildInstrNoInsert", "(", "X86", "::", "RET", ")", ".", "addImm", "(", "0", ")", ";", "if", "(", "!", "VRegs", ".", "empty", "(", ")", ")", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "const", "DataLayout", "&", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "LLVMContext", "&", "Ctx", "=", "Val", "->", "getType", "(", ")", "->", "getContext", "(", ")", ";", "const", "X86TargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "X86TargetLowering", ">", "(", ")", ";", "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", ")", "{", "ArgInfo", "CurArgInfo", "=", "ArgInfo", "{", "VRegs", "[", "i", "]", ",", "SplitEVTs", "[", "i", "]", ".", "getTypeForEVT", "(", "Ctx", ")", "}", ";", "setArgFlags", "(", "CurArgInfo", ",", "AttributeList", "::", "ReturnIndex", ",", "DL", ",", "F", ")", ";", "if", "(", "!", "splitToValueTypes", "(", "CurArgInfo", ",", "SplitArgs", ",", "DL", ",", "MRI", ",", "[", "&", "]", "(", "ArrayRef", "<", "Register", ">", "Regs", ")", "{", "MIRBuilder", ".", "buildUnmerge", "(", "Regs", ",", "VRegs", "[", "i", "]", ")", ";", "}", ")", ")", "return", "false", ";", "}", "X86OutgoingValueHandler", "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", "X86", "X86", "4", "\"For each split Type there should be exactly one VReg.\"", "8", "0", "X86", "X86"], "File": "X86CallLowering17", "Func": "lowerReturn", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3581, "Length": 330, "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": 3582, "Length": 500, "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", ";", "if", "(", "!", "d", "->", "one_operand_p", ")", "return", "false", ";", "elt", "=", "d", "->", "perm", "[", "0", "]", ";", "for", "(", "i", "=", "1", ";", "i", "<", "nelt", ";", "++", "i", ")", "if", "(", "d", "->", "perm", "[", "i", "]", "!=", "elt", ")", "return", "false", ";", "return", "expand_vec_perm_broadcast_1", "(", "d", ")", ";", "}", ""], "natrual_language": ["Pattern", "match", "broadcast", "permutations", "."], "TS_V_token": ["i386", "0", "1"], "File": "i386-expand", "Func": "expand_vec_perm_broadcast", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3583, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "DigitalSubtarget", "*", "getSubtargetImpl", "(", ")", "const", "{", "return", "&", "DefaultSubtarget", ";", "}", ""], "natrual_language": ["Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "."], "TS_V_token": ["Digital"], "File": "DigitalTargetMachine", "Func": "getSubtargetImpl", "Target": "Digital", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3584, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "DLXSubtarget", "*", "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": ["DLX", "DLX"], "File": "DLXTargetMachine", "Func": "getSubtargetImpl", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3585, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64InstrInfo", "::", "suppressLdStPair", "(", "MachineInstr", "*", "MI", ")", "const", "{", "if", "(", "MI", "->", "memoperands_empty", "(", ")", ")", "return", ";", "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": "AArch64InstrInfo1", "Func": "suppressLdStPair", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3586, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "Value", "*", "getNumElements", "(", "BasicBlock", "*", "Preheader", ",", "Value", "*", "BTC", ")", "{", "for", "(", "auto", "&", "I", ":", "*", "Preheader", ")", "{", "if", "(", "I", ".", "getOpcode", "(", ")", "!=", "Instruction", "::", "Add", "||", "&", "I", "!=", "BTC", ")", "continue", ";", "ConstantInt", "*", "MinusOne", "=", "nullptr", ";", "if", "(", "!", "(", "MinusOne", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "I", ".", "getOperand", "(", "1", ")", ")", ")", ")", "continue", ";", "if", "(", "MinusOne", "->", "getSExtValue", "(", ")", "==", "-", "1", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"ARM TP: Found num elems: \"", "<<", "I", "<<", "\"\\n\"", ")", ";", "return", "I", ".", "getOperand", "(", "0", ")", ";", "}", "}", "IRBuilder", "<", ">", "Builder", "(", "Preheader", "->", "getTerminator", "(", ")", ")", ";", "Value", "*", "NumElements", "=", "Builder", ".", "CreateAdd", "(", "BTC", ",", "ConstantInt", "::", "get", "(", "BTC", "->", "getType", "(", ")", ",", "1", ")", ",", "\"num.elements\"", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"ARM TP: Created num elems: \"", "<<", "*", "NumElements", "<<", "\"\\n\"", ")", ";", "return", "NumElements", ";", "}", ""], "natrual_language": ["Random", "access", "to", "the", "elements", "."], "TS_V_token": ["ARM", "1", "1", "\"ARM TP: Found num elems: \"", "\"\\n\"", "0", "1", "\"num.elements\"", "\"ARM TP: Created num elems: \"", "\"\\n\""], "File": "MVETailPredication", "Func": "getNumElements", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3587, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_option_restore", "(", "struct", "gcc_options", "*", ",", "struct", "cl_target_option", "*", "ptr", ")", "{", "arm_configure_build_target", "(", "&", "arm_active_target", ",", "ptr", ",", "&", "global_options_set", ",", "false", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_RESTORE", "."], "TS_V_token": ["arm"], "File": "arm6", "Func": "arm_option_restore", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3588, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "SDLoc", "DL", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "CCAssignFn", "*", "RetCC", "=", "CallConv", "==", "CallingConv", "::", "WebKit_JS", "?", "RetCC_AArch64_WebKit_JS", ":", "RetCC_AArch64_AAPCS", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC", ")", ";", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "RetOps", "(", "1", ",", "Chain", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "realRVLocIdx", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ",", "++", "realRVLocIdx", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "SDValue", "Arg", "=", "OutVals", "[", "realRVLocIdx", "]", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown loc info!\"", ")", ";", "case", "CCValAssign", "::", "Full", ":", "if", "(", "Outs", "[", "i", "]", ".", "ArgVT", "==", "MVT", "::", "i1", ")", "{", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "TRUNCATE", ",", "DL", ",", "MVT", "::", "i1", ",", "Arg", ")", ";", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ZERO_EXTEND", ",", "DL", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "}", "break", ";", "case", "CCValAssign", "::", "BCvt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "DL", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "}", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "VA", ".", "getLocReg", "(", ")", ",", "Arg", ",", "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", "(", "AArch64ISD", "::", "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": ["AArch64", "AArch64", "ISD::OutputArg", "AArch64", "AArch64", "16", "4", "1", "0", "0", "\"Can only return in registers!\"", "\"Unknown loc info!\"", "MVT::i1", "ISD::TRUNCATE", "MVT::i1", "ISD::ZERO_EXTEND", "ISD::BITCAST", "1", "0", "AArch64ISD::RET_FLAG", "MVT::Other"], "File": "AArch64ISelLowering23", "Func": "LowerReturn", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3589, "Length": 372, "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", ")", ";", "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", ")", ";", "}", "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"], "File": "ARMISelLowering108", "Func": "ReplaceNodeResults", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3590, "Length": 292, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_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", ".", "This", "is", "a", "GCC", "extension", "to", "the", "ARM", "ABI", "."], "TS_V_token": ["arm"], "File": "arm4", "Func": "arm_pass_by_reference", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3591, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "SparcTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "SparcPassConfig", "(", "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": ["Sparc", "Sparc", "Sparc"], "File": "SparcTargetMachine1", "Func": "createPassConfig", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3592, "Length": 21, "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", "(", "0", ",", "\"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\"", "0", "\"GCC vector passed by reference: \"", "\"non-standard ABI extension with no compatibility guarantee\"", "1", "0"], "File": "rs60005", "Func": "rs6000_pass_by_reference", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3593, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiInstrInfo", "::", "areMemAccessesTriviallyDisjoint", "(", "MachineInstr", "&", "MIa", ",", "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", "(", ")", ";", "unsigned", "BaseRegA", "=", "0", ",", "BaseRegB", "=", "0", ";", "int64_t", "OffsetA", "=", "0", ",", "OffsetB", "=", "0", ";", "unsigned", "int", "WidthA", "=", "0", ",", "WidthB", "=", "0", ";", "if", "(", "getMemOpBaseRegImmOfsWidth", "(", "MIa", ",", "BaseRegA", ",", "OffsetA", ",", "WidthA", ",", "TRI", ")", "&&", "getMemOpBaseRegImmOfsWidth", "(", "MIb", ",", "BaseRegB", ",", "OffsetB", ",", "WidthB", ",", "TRI", ")", ")", "{", "if", "(", "BaseRegA", "==", "BaseRegB", ")", "{", "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": ["Lanai", "Lanai", "\"MIa must be a load or store.\"", "\"MIb must be a load or store.\"", "0", "0", "0", "0", "0", "0"], "File": "LanaiInstrInfo12", "Func": "areMemAccessesTriviallyDisjoint", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3594, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "rx_hard_regno_nregs", "(", "unsigned", "int", ",", "machine_mode", "mode", ")", "{", "return", "CLASS_MAX_NREGS", "(", "0", ",", "mode", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_NREGS", "."], "TS_V_token": ["rx", "0"], "File": "rx", "Func": "rx_hard_regno_nregs", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3595, "Length": 21, "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", "{", "Value", "=", "adjustFixupValue", "(", "Fixup", ".", "getKind", "(", ")", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "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": "PPCAsmBackend21", "Func": "applyFixup", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3596, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_expand_builtin_tme", "(", "int", "fcode", ",", "tree", "exp", ",", "rtx", "target", ")", "{", "switch", "(", "fcode", ")", "{", "case", "AARCH64_TME_BUILTIN_TSTART", ":", "target", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "emit_insn", "(", "GEN_FCN", "(", "CODE_FOR_tstart", ")", "(", "target", ")", ")", ";", "break", ";", "case", "AARCH64_TME_BUILTIN_TTEST", ":", "target", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "emit_insn", "(", "GEN_FCN", "(", "CODE_FOR_ttest", ")", "(", "target", ")", ")", ";", "break", ";", "case", "AARCH64_TME_BUILTIN_TCOMMIT", ":", "emit_insn", "(", "GEN_FCN", "(", "CODE_FOR_tcommit", ")", "(", ")", ")", ";", "break", ";", "case", "AARCH64_TME_BUILTIN_TCANCEL", ":", "{", "tree", "arg0", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "rtx", "op0", "=", "expand_normal", "(", "arg0", ")", ";", "if", "(", "CONST_INT_P", "(", "op0", ")", "&&", "UINTVAL", "(", "op0", ")", "<=", "65536", ")", "emit_insn", "(", "GEN_FCN", "(", "CODE_FOR_tcancel", ")", "(", "op0", ")", ")", ";", "else", "{", "error_at", "(", "EXPR_LOCATION", "(", "exp", ")", ",", "\"argument must be a 16-bit constant immediate\"", ")", ";", "return", "const0_rtx", ";", "}", "}", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "target", ";", "}", ""], "natrual_language": ["Function", "to", "expand", "an", "expression", "EXP", "which", "calls", "one", "of", "the", "Transactional", "Memory", "Extension", "(", "TME", ")", "builtins", "FCODE", "with", "the", "result", "going", "to", "TARGET", "."], "TS_V_token": ["aarch64", "0", "65536", "\"argument must be a 16-bit constant immediate\""], "File": "aarch64-builtins", "Func": "aarch64_expand_builtin_tme", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3597, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "EVT", "VT", ")", "const", "{", "bool", "isPPC64", "=", "PPCSubTarget", ".", "isPPC64", "(", ")", ";", "bool", "isDarwinABI", "=", "PPCSubTarget", ".", "isDarwinABI", "(", ")", ";", "if", "(", "(", "isPPC64", "&&", "VT", "!=", "MVT", "::", "i64", "&&", "VT", "!=", "MVT", "::", "i32", ")", "||", "(", "!", "isPPC64", "&&", "VT", "!=", "MVT", "::", "i32", ")", ")", "report_fatal_error", "(", "\"Invalid register global variable type\"", ")", ";", "bool", "is64Bit", "=", "isPPC64", "&&", "VT", "==", "MVT", "::", "i64", ";", "unsigned", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "\"r1\"", ",", "is64Bit", "?", "PPC", "::", "X1", ":", "PPC", "::", "R1", ")", ".", "Case", "(", "\"r2\"", ",", "isDarwinABI", "?", "0", ":", "(", "is64Bit", "?", "PPC", "::", "X2", ":", "PPC", "::", "R2", ")", ")", ".", "Case", "(", "\"r13\"", ",", "(", "!", "isPPC64", "&&", "isDarwinABI", ")", "?", "0", ":", "(", "is64Bit", "?", "PPC", "::", "X13", ":", "PPC", "::", "R13", ")", ")", ".", "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": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC", "MVT::i64", "MVT::i32", "PPC", "MVT::i32", "\"Invalid register global variable type\"", "PPC", "MVT::i64", "\"r1\"", "PPC::X1", "PPC::R1", "\"r2\"", "0", "PPC::X2", "PPC::R2", "\"r13\"", "PPC", "0", "PPC::X13", "PPC::R13", "0", "\"Invalid register name global variable\""], "File": "PPCISelLowering88", "Func": "getRegisterByName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3598, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mep_incompatible_arg", "(", "const", "struct", "insn_operand_data", "*", "operand", ",", "rtx", "arg", ",", "int", "argnum", ",", "tree", "fnname", ")", "{", "size_t", "i", ";", "if", "(", "GET_CODE", "(", "arg", ")", "==", "CONST_INT", ")", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "cgen_immediate_predicates", ")", ";", "i", "++", ")", "if", "(", "operand", "->", "predicate", "==", "cgen_immediate_predicates", "[", "i", "]", ".", "predicate", ")", "{", "const", "struct", "cgen_immediate_predicate", "*", "predicate", ";", "HOST_WIDE_INT", "argval", ";", "predicate", "=", "&", "cgen_immediate_predicates", "[", "i", "]", ";", "argval", "=", "INTVAL", "(", "arg", ")", ";", "if", "(", "argval", "<", "predicate", "->", "lower", "||", "argval", ">=", "predicate", "->", "upper", ")", "error", "(", "\"argument %d of %qE must be in the range %d...%d\"", ",", "argnum", ",", "fnname", ",", "predicate", "->", "lower", ",", "predicate", "->", "upper", "-", "1", ")", ";", "else", "error", "(", "\"argument %d of %qE must be a multiple of %d\"", ",", "argnum", ",", "fnname", ",", "predicate", "->", "align", ")", ";", "return", ";", "}", "error", "(", "\"incompatible type for argument %d of %qE\"", ",", "argnum", ",", "fnname", ")", ";", "}", ""], "natrual_language": ["Report", "that", "ARG", "can", "not", "be", "passed", "to", "argument", "ARGNUM", "of", "intrinsic", "function", "FNNAME", ".", "OPERAND", "describes", "the", "operand", "to", "which", "ARGNUM", "is", "mapped", "."], "TS_V_token": ["mep", "0", "\"argument %d of %qE must be in the range %d...%d\"", "1", "\"argument %d of %qE must be a multiple of %d\"", "\"incompatible type for argument %d of %qE\""], "File": "mep", "Func": "mep_incompatible_arg", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3599, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ia64_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "FR_REGNO_P", "(", "regno", ")", ")", "return", "(", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_CC", "&&", "mode", "!=", "BImode", "&&", "mode", "!=", "TFmode", ")", ";", "if", "(", "PR_REGNO_P", "(", "regno", ")", ")", "return", "mode", "==", "BImode", "||", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_CC", ";", "if", "(", "GR_REGNO_P", "(", "regno", ")", ")", "return", "mode", "!=", "XFmode", "&&", "mode", "!=", "XCmode", "&&", "mode", "!=", "RFmode", ";", "if", "(", "AR_REGNO_P", "(", "regno", ")", ")", "return", "mode", "==", "DImode", ";", "if", "(", "BR_REGNO_P", "(", "regno", ")", ")", "return", "mode", "==", "DImode", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_MODE_OK", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "ia64_hard_regno_mode_ok", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3600, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "AArch64RegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "if", "(", "CC", "==", "CallingConv", "::", "GHC", ")", "return", "CSR_AArch64_NoRegs_RegMask", ";", "if", "(", "CC", "==", "CallingConv", "::", "AnyReg", ")", "return", "CSR_AArch64_AllRegs_RegMask", ";", "if", "(", "CC", "==", "CallingConv", "::", "CXX_FAST_TLS", ")", "return", "CSR_AArch64_CXX_TLS_Darwin_RegMask", ";", "if", "(", "CC", "==", "CallingConv", "::", "PreserveMost", ")", "return", "CSR_AArch64_RT_MostRegs_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", "AArch64", "AArch64", "AArch64"], "File": "AArch64RegisterInfo10", "Func": "getCallPreservedMask", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3601, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "IsEligibleForTailCallOptimization", "(", "SDValue", "Callee", ",", "unsigned", "CalleeCC", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "unsigned", "CallerCC", "=", "MF", ".", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", ";", "return", "CalleeCC", "==", "CallingConv", "::", "Fast", "&&", "CallerCC", "==", "CalleeCC", ";", "}", ""], "natrual_language": ["IsEligibleForTailCallOptimization", "-", "Check", "whether", "the", "call", "is", "eligible", "for", "tail", "call", "optimization", "."], "TS_V_token": ["X86", "X86", "ISD::InputArg"], "File": "X86ISelLowering94", "Func": "IsEligibleForTailCallOptimization", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3602, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_array_mode_supported_p", "(", "machine_mode", "mode", ",", "unsigned", "HOST_WIDE_INT", "nelems", ")", "{", "if", "(", "TARGET_SIMD", "&&", "(", "AARCH64_VALID_SIMD_QREG_MODE", "(", "mode", ")", "||", "AARCH64_VALID_SIMD_DREG_MODE", "(", "mode", ")", ")", "&&", "(", "nelems", ">=", "2", "&&", "nelems", "<=", "4", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "target", "hook", "TARGET_ARRAY_MODE_SUPPORTED_P", "."], "TS_V_token": ["aarch64", "2", "4"], "File": "aarch64", "Func": "aarch64_array_mode_supported_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3603, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_static_chain", "(", "const_tree", "fndecl_or_type", ",", "bool", "incoming_p", ")", "{", "unsigned", "regno", ";", "if", "(", "DECL_P", "(", "fndecl_or_type", ")", "&&", "!", "DECL_STATIC_CHAIN", "(", "fndecl_or_type", ")", ")", "return", "NULL", ";", "if", "(", "TARGET_64BIT", ")", "{", "regno", "=", "R10_REG", ";", "}", "else", "{", "const_tree", "fntype", ",", "fndecl", ";", "unsigned", "int", "ccvt", ";", "regno", "=", "CX_REG", ";", "if", "(", "TREE_CODE", "(", "fndecl_or_type", ")", "==", "FUNCTION_DECL", ")", "{", "fntype", "=", "TREE_TYPE", "(", "fndecl_or_type", ")", ";", "fndecl", "=", "fndecl_or_type", ";", "}", "else", "{", "fntype", "=", "fndecl_or_type", ";", "fndecl", "=", "NULL", ";", "}", "ccvt", "=", "ix86_get_callcvt", "(", "fntype", ")", ";", "if", "(", "(", "ccvt", "&", "IX86_CALLCVT_FASTCALL", ")", "!=", "0", ")", "{", "regno", "=", "AX_REG", ";", "}", "else", "if", "(", "(", "ccvt", "&", "IX86_CALLCVT_THISCALL", ")", "!=", "0", ")", "{", "regno", "=", "AX_REG", ";", "}", "else", "if", "(", "ix86_function_regparm", "(", "fntype", ",", "fndecl", ")", "==", "3", ")", "{", "if", "(", "incoming_p", ")", "{", "if", "(", "fndecl", "==", "current_function_decl", ")", "ix86_static_chain_on_stack", "=", "true", ";", "return", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "arg_pointer_rtx", ",", "-", "8", ")", ")", ";", "}", "regno", "=", "SI_REG", ";", "}", "}", "return", "gen_rtx_REG", "(", "Pmode", ",", "regno", ")", ";", "}", ""], "natrual_language": ["Find", "a", "location", "for", "the", "static", "chain", "incoming", "to", "a", "nested", "function", ".", "This", "is", "a", "register", ",", "unless", "all", "free", "registers", "are", "used", "by", "arguments", "."], "TS_V_token": ["i386", "0", "0", "3", "8"], "File": "i3864", "Func": "ix86_static_chain", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3604, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MOVToLEAPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "const", "TargetInstrInfo", "*", "TII", "=", "Fn", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "if", "(", "Seed", "!=", "0", ")", "RNG", ".", "reset", "(", "Fn", ".", "getFunction", "(", ")", "->", "getParent", "(", ")", "->", "createRNG", "(", "Seed", ",", "this", ",", "Fn", ".", "getFunction", "(", ")", "->", "getName", "(", ")", ")", ")", ";", "else", "if", "(", "!", "RNG", ")", "RNG", ".", "reset", "(", "Fn", ".", "getFunction", "(", ")", "->", "getParent", "(", ")", "->", "createRNG", "(", "this", ")", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "BB", "=", "Fn", ".", "begin", "(", ")", ",", "E", "=", "Fn", ".", "end", "(", ")", ";", "BB", "!=", "E", ";", "++", "BB", ")", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "BB", "->", "begin", "(", ")", ";", "I", "!=", "BB", "->", "end", "(", ")", ";", ")", "{", "++", "PreMOVtoLEAInstructionCount", ";", "if", "(", "I", "->", "getNumOperands", "(", ")", "!=", "2", "||", "!", "I", "->", "getOperand", "(", "0", ")", ".", "isReg", "(", ")", "||", "!", "I", "->", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", ")", "{", "++", "I", ";", "continue", ";", "}", "unsigned", "leaOpc", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "X86", "::", "MOV32rr", ")", "{", "leaOpc", "=", "X86", "::", "LEA32r", ";", "}", "else", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "X86", "::", "MOV64rr", ")", "{", "leaOpc", "=", "X86", "::", "LEA64r", ";", "}", "else", "{", "++", "I", ";", "continue", ";", "}", "unsigned", "int", "Roll", "=", "RNG", "->", "Random", "(", "100", ")", ";", "++", "MOVCandidates", ";", "if", "(", "Roll", ">=", "multicompiler", "::", "MOVToLEAPercentage", ")", "{", "++", "I", ";", "continue", ";", "}", "++", "ReplacedMOV", ";", "MachineBasicBlock", "::", "iterator", "J", "=", "I", ";", "++", "I", ";", "addRegOffset", "(", "BuildMI", "(", "*", "BB", ",", "J", ",", "J", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "leaOpc", ")", ",", "J", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ",", "J", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ",", "false", ",", "0", ")", ";", "J", "->", "eraseFromParent", "(", ")", ";", "Changed", "=", "true", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "0", "2", "0", "1", "X86::MOV32rr", "X86::LEA32r", "X86::MOV64rr", "X86::LEA64r", "100", "0", "1", "0"], "File": "MOVToLEA", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3605, "Length": 348, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmPrinter", "::", "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": ["Mips", "Mips", "0", "1", "0", "0", "\"0x\"", "\"0x\"", "0xffff", "1", "\"$0\""], "File": "MipsAsmPrinter24", "Func": "PrintAsmOperand", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3606, "Length": 298, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ")", "{", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "PPC", "::", "RLWINM", ")", "{", "unsigned", "char", "SH", "=", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "unsigned", "char", "MB", "=", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "unsigned", "char", "ME", "=", "MI", "->", "getOperand", "(", "4", ")", ".", "getImm", "(", ")", ";", "bool", "useSubstituteMnemonic", "=", "false", ";", "if", "(", "SH", "<=", "31", "&&", "MB", "==", "0", "&&", "ME", "==", "(", "31", "-", "SH", ")", ")", "{", "O", "<<", "\"\\tslwi \"", ";", "useSubstituteMnemonic", "=", "true", ";", "}", "if", "(", "SH", "<=", "31", "&&", "MB", "==", "(", "32", "-", "SH", ")", "&&", "ME", "==", "31", ")", "{", "O", "<<", "\"\\tsrwi \"", ";", "useSubstituteMnemonic", "=", "true", ";", "SH", "=", "32", "-", "SH", ";", "}", "if", "(", "useSubstituteMnemonic", ")", "{", "printOperand", "(", "MI", ",", "0", ",", "O", ")", ";", "O", "<<", "\", \"", ";", "printOperand", "(", "MI", ",", "1", ",", "O", ")", ";", "O", "<<", "\", \"", "<<", "(", "unsigned", "int", ")", "SH", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "return", ";", "}", "}", "if", "(", "(", "MI", "->", "getOpcode", "(", ")", "==", "PPC", "::", "OR", "||", "MI", "->", "getOpcode", "(", ")", "==", "PPC", "::", "OR8", ")", "&&", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", "{", "O", "<<", "\"\\tmr \"", ";", "printOperand", "(", "MI", ",", "0", ",", "O", ")", ";", "O", "<<", "\", \"", ";", "printOperand", "(", "MI", ",", "1", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "return", ";", "}", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "PPC", "::", "RLDICR", ")", "{", "unsigned", "char", "SH", "=", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "unsigned", "char", "ME", "=", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "if", "(", "63", "-", "SH", "==", "ME", ")", "{", "O", "<<", "\"\\tsldi \"", ";", "printOperand", "(", "MI", ",", "0", ",", "O", ")", ";", "O", "<<", "\", \"", ";", "printOperand", "(", "MI", ",", "1", ",", "O", ")", ";", "O", "<<", "\", \"", "<<", "(", "unsigned", "int", ")", "SH", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "return", ";", "}", "}", "printInstruction", "(", "MI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::RLWINM", "2", "3", "4", "31", "0", "31", "\"\\tslwi \"", "31", "32", "31", "\"\\tsrwi \"", "32", "0", "\", \"", "1", "\", \"", "PPC::OR", "PPC::OR8", "1", "2", "\"\\tmr \"", "0", "\", \"", "1", "PPC::RLDICR", "2", "3", "63", "\"\\tsldi \"", "0", "\", \"", "1", "\", \""], "File": "PPCInstPrinter1", "Func": "printInst", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3607, "Length": 388, "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\"", ")", ";", "if", "(", "setExecutionDomainCustom", "(", "MI", ",", "Domain", ")", ")", "return", ";", "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", ")", "{", "table", "=", "lookup", "(", "MI", ".", "getOpcode", "(", ")", ",", "dom", ",", "ReplaceableInstrsFP", ")", ";", "assert", "(", "(", "!", "table", "||", "Domain", "<", "3", ")", "&&", "\"Can only select PackedSingle or PackedDouble\"", ")", ";", "}", "if", "(", "!", "table", ")", "{", "assert", "(", "Subtarget", ".", "hasAVX2", "(", ")", "&&", "\"256-bit insert/extract only available in AVX2\"", ")", ";", "table", "=", "lookup", "(", "MI", ".", "getOpcode", "(", ")", ",", "dom", ",", "ReplaceableInstrsAVX2InsertExtract", ")", ";", "}", "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\"", "3", "\"Can only select PackedSingle or PackedDouble\"", "\"256-bit insert/extract 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": "X86InstrInfo (2)3", "Func": "setExecutionDomain", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3608, "Length": 405, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CallLowering", "::", "LowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "::", "ArgumentListType", "&", "Args", ",", "const", "SmallVectorImpl", "<", "unsigned", ">", "&", "VRegs", ")", "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", "=", "Args", ".", "size", "(", ")", ";", "Function", "::", "const_arg_iterator", "CurOrigArg", "=", "Args", ".", "begin", "(", ")", ";", "const", "AArch64TargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "AArch64TargetLowering", ">", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumArgs", ";", "++", "i", ",", "++", "CurOrigArg", ")", "{", "MVT", "ValVT", "=", "MVT", "::", "getVT", "(", "CurOrigArg", "->", "getType", "(", ")", ")", ";", "CCAssignFn", "*", "AssignFn", "=", "TLI", ".", "CCAssignFnForCall", "(", "F", ".", "getCallingConv", "(", ")", ",", "false", ")", ";", "bool", "Res", "=", "AssignFn", "(", "i", ",", "ValVT", ",", "ValVT", ",", "CCValAssign", "::", "Full", ",", "ISD", "::", "ArgFlagsTy", "(", ")", ",", "CCInfo", ")", ";", "assert", "(", "!", "Res", "&&", "\"Call operand has unhandled type\"", ")", ";", "(", "void", ")", "Res", ";", "}", "assert", "(", "ArgLocs", ".", "size", "(", ")", "==", "Args", ".", "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\"", ")", ";", "MIRBuilder", ".", "getMBB", "(", ")", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ")", ";", "MIRBuilder", ".", "buildInstr", "(", "TargetOpcode", "::", "COPY", ",", "VRegs", "[", "i", "]", ",", "VA", ".", "getLocReg", "(", ")", ")", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown loc info!\"", ")", ";", "case", "CCValAssign", "::", "Full", ":", "break", ";", "case", "CCValAssign", "::", "BCvt", ":", "break", ";", "case", "CCValAssign", "::", "AExt", ":", "case", "CCValAssign", "::", "SExt", ":", "case", "CCValAssign", "::", "ZExt", ":", "assert", "(", "0", "&&", "\"Not yet implemented\"", ")", ";", "break", ";", "}", "}", "return", "true", ";", "}", ""], "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": ["AArch64", "AArch64", "16", "AArch64", "AArch64", "0", "MVT::getVT", "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": "AArch64CallLowering10", "Func": "LowerFormalArguments", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3609, "Length": 357, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Warning", "(", "SMLoc", "L", ",", "const", "Twine", "&", "Msg", ")", "{", "Parser", ".", "Warning", "(", "L", ",", "Msg", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "warning", "at", "the", "location", "L", ",", "with", "the", "message", "Msg", "."], "TS_V_token": ["ARM"], "File": "ARMAsmParser111", "Func": "Warning", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3610, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "parse_signature", "(", "const", "function_instance", "&", "instance", ",", "const", "char", "*", "format", ",", "vec", "<", "tree", ">", "&", "argument_types", ")", "{", "tree", "return_type", "=", "parse_type", "(", "instance", ",", "format", ")", ";", "while", "(", "format", "[", "0", "]", "==", "','", ")", "{", "format", "+=", "1", ";", "tree", "argument_type", "=", "parse_type", "(", "instance", ",", "format", ")", ";", "unsigned", "int", "count", "=", "parse_count", "(", "instance", ",", "format", ")", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "count", ";", "++", "i", ")", "argument_types", ".", "quick_push", "(", "argument_type", ")", ";", "}", "gcc_assert", "(", "format", "[", "0", "]", "==", "0", ")", ";", "return", "return_type", ";", "}", ""], "natrual_language": ["Read", "a", "type", "signature", "for", "INSTANCE", "from", "FORMAT", ".", "Add", "the", "argument", "types", "to", "ARGUMENT_TYPES", "and", "return", "the", "return", "type", ".", "The", "format", "is", "a", "comma-separated", "list", "of", "types", "(", "as", "for", "parse_type", ")", ",", "with", "the", "first", "type", "being", "the", "return", "type", "and", "the", "rest", "being", "the", "argument", "types", ".", "Each", "argument", "type", "can", "be", "followed", "by", "an", "optional", "count", "(", "as", "for", "parse_count", ")", "."], "TS_V_token": ["aarch64", "0", "1", "0", "0", "0"], "File": "aarch64-sve-builtins-shapes", "Func": "parse_signature", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3611, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "*", "Thumb2InstrInfo", "::", "CreateTargetPostRAHazardRecognizer", "(", "const", "InstrItineraryData", "&", "II", ")", "const", "{", "return", "(", "ScheduleHazardRecognizer", "*", ")", "new", "Thumb2HazardRecognizer", "(", "II", ")", ";", "}", ""], "natrual_language": ["Allocate", "and", "return", "a", "hazard", "recognizer", "to", "use", "for", "by", "non-scheduling", "passes", "."], "TS_V_token": ["ARM"], "File": "Thumb2InstrInfo15", "Func": "CreateTargetPostRAHazardRecognizer", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3612, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "rs6000_longcall_ref", "(", "rtx", "call_ref", ")", "{", "const", "char", "*", "call_name", ";", "tree", "node", ";", "if", "(", "GET_CODE", "(", "call_ref", ")", "!=", "SYMBOL_REF", ")", "return", "call_ref", ";", "call_name", "=", "XSTR", "(", "call_ref", ",", "0", ")", ";", "if", "(", "*", "call_name", "==", "'.'", ")", "{", "while", "(", "*", "call_name", "==", "'.'", ")", "call_name", "++", ";", "node", "=", "get_identifier", "(", "call_name", ")", ";", "call_ref", "=", "gen_rtx_SYMBOL_REF", "(", "VOIDmode", ",", "IDENTIFIER_POINTER", "(", "node", ")", ")", ";", "}", "return", "force_reg", "(", "Pmode", ",", "call_ref", ")", ";", "}", ""], "natrual_language": ["Return", "a", "reference", "suitable", "for", "calling", "a", "function", "with", "the", "longcall", "attribute", "."], "TS_V_token": ["rs6000", "0"], "File": "rs60003", "Func": "rs6000_longcall_ref", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3613, "Length": 83, "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": 3614, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetObjectFile", "::", "IsConstantInSmallSection", "(", "const", "Constant", "*", "CN", ",", "const", "TargetMachine", "&", "TM", ")", "const", "{", "return", "(", "static_cast", "<", "const", "MipsTargetMachine", "&", ">", "(", "TM", ")", ".", "getSubtargetImpl", "(", ")", "->", "useSmallSection", "(", ")", "&&", "LocalSData", "&&", "IsInSmallSection", "(", "TM", ".", "getDataLayout", "(", ")", "->", "getTypeAllocSize", "(", "CN", "->", "getType", "(", ")", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "constant", "should", "be", "placed", "into", "small", "data", "section", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsTargetObjectFile2", "Func": "IsConstantInSmallSection", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3615, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_evpc_ext", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "HOST_WIDE_INT", "location", ";", "rtx", "offset", ";", "if", "(", "d", "->", "vec_flags", "==", "VEC_SVE_PRED", "||", "!", "d", "->", "perm", "[", "0", "]", ".", "is_constant", "(", "&", "location", ")", "||", "!", "d", "->", "perm", ".", "series_p", "(", "0", ",", "1", ",", "location", ",", "1", ")", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "if", "(", "BYTES_BIG_ENDIAN", "&&", "location", "!=", "0", "&&", "d", "->", "vec_flags", "==", "VEC_ADVSIMD", ")", "{", "std", "::", "swap", "(", "d", "->", "op0", ",", "d", "->", "op1", ")", ";", "location", "=", "d", "->", "perm", ".", "length", "(", ")", ".", "to_constant", "(", ")", "-", "location", ";", "}", "offset", "=", "GEN_INT", "(", "location", ")", ";", "emit_set_insn", "(", "d", "->", "target", ",", "gen_rtx_UNSPEC", "(", "d", "->", "vmode", ",", "gen_rtvec", "(", "3", ",", "d", "->", "op0", ",", "d", "->", "op1", ",", "offset", ")", ",", "UNSPEC_EXT", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "for", "the", "EXT", "insn", "."], "TS_V_token": ["aarch64", "0", "0", "1", "1", "0", "3"], "File": "aarch64", "Func": "aarch64_evpc_ext", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3616, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_vectorize_builtin_scatter", "(", "const_tree", "vectype", ",", "const_tree", "index_type", ",", "int", "scale", ")", "{", "bool", "si", ";", "enum", "ix86_builtins", "code", ";", "if", "(", "!", "TARGET_AVX512F", ")", "return", "NULL_TREE", ";", "if", "(", "(", "TREE_CODE", "(", "index_type", ")", "!=", "INTEGER_TYPE", "&&", "!", "POINTER_TYPE_P", "(", "index_type", ")", ")", "||", "(", "TYPE_MODE", "(", "index_type", ")", "!=", "SImode", "&&", "TYPE_MODE", "(", "index_type", ")", "!=", "DImode", ")", ")", "return", "NULL_TREE", ";", "if", "(", "TYPE_PRECISION", "(", "index_type", ")", ">", "POINTER_SIZE", ")", "return", "NULL_TREE", ";", "if", "(", "TYPE_PRECISION", "(", "index_type", ")", "<", "POINTER_SIZE", "&&", "TYPE_UNSIGNED", "(", "index_type", ")", ")", "return", "NULL_TREE", ";", "if", "(", "scale", "<=", "0", "||", "scale", ">", "8", "||", "(", "scale", "&", "(", "scale", "-", "1", ")", ")", "!=", "0", ")", "return", "NULL_TREE", ";", "si", "=", "TYPE_MODE", "(", "index_type", ")", "==", "SImode", ";", "switch", "(", "TYPE_MODE", "(", "vectype", ")", ")", "{", "case", "E_V8DFmode", ":", "code", "=", "si", "?", "IX86_BUILTIN_SCATTERALTSIV8DF", ":", "IX86_BUILTIN_SCATTERDIV8DF", ";", "break", ";", "case", "E_V8DImode", ":", "code", "=", "si", "?", "IX86_BUILTIN_SCATTERALTSIV8DI", ":", "IX86_BUILTIN_SCATTERDIV8DI", ";", "break", ";", "case", "E_V16SFmode", ":", "code", "=", "si", "?", "IX86_BUILTIN_SCATTERSIV16SF", ":", "IX86_BUILTIN_SCATTERALTDIV16SF", ";", "break", ";", "case", "E_V16SImode", ":", "code", "=", "si", "?", "IX86_BUILTIN_SCATTERSIV16SI", ":", "IX86_BUILTIN_SCATTERALTDIV16SI", ";", "break", ";", "case", "E_V4DFmode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_SCATTERALTSIV4DF", ":", "IX86_BUILTIN_SCATTERDIV4DF", ";", "else", "return", "NULL_TREE", ";", "break", ";", "case", "E_V4DImode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_SCATTERALTSIV4DI", ":", "IX86_BUILTIN_SCATTERDIV4DI", ";", "else", "return", "NULL_TREE", ";", "break", ";", "case", "E_V8SFmode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_SCATTERSIV8SF", ":", "IX86_BUILTIN_SCATTERALTDIV8SF", ";", "else", "return", "NULL_TREE", ";", "break", ";", "case", "E_V8SImode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_SCATTERSIV8SI", ":", "IX86_BUILTIN_SCATTERALTDIV8SI", ";", "else", "return", "NULL_TREE", ";", "break", ";", "case", "E_V2DFmode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_SCATTERALTSIV2DF", ":", "IX86_BUILTIN_SCATTERDIV2DF", ";", "else", "return", "NULL_TREE", ";", "break", ";", "case", "E_V2DImode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_SCATTERALTSIV2DI", ":", "IX86_BUILTIN_SCATTERDIV2DI", ";", "else", "return", "NULL_TREE", ";", "break", ";", "case", "E_V4SFmode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_SCATTERSIV4SF", ":", "IX86_BUILTIN_SCATTERALTDIV4SF", ";", "else", "return", "NULL_TREE", ";", "break", ";", "case", "E_V4SImode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_SCATTERSIV4SI", ":", "IX86_BUILTIN_SCATTERALTDIV4SI", ";", "else", "return", "NULL_TREE", ";", "break", ";", "default", ":", "return", "NULL_TREE", ";", "}", "return", "ix86_builtins", "[", "code", "]", ";", "}", ""], "natrual_language": ["Returns", "a", "decl", "of", "a", "function", "that", "implements", "scatter", "store", "with", "register", "type", "VECTYPE", "and", "index", "type", "INDEX_TYPE", "and", "SCALE", ".", "Return", "NULL_TREE", "if", "it", "is", "not", "available", "."], "TS_V_token": ["i386", "0", "8", "1", "0"], "File": "i3868", "Func": "ix86_vectorize_builtin_scatter", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3617, "Length": 369, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_xcoff_output_toc_section_asm_op", "(", "const", "char", "*", "data", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_MINIMAL_TOC", ")", "{", "if", "(", "!", "toc_initialized", ")", "{", "fputs", "(", "\"\\t.toc\\nLCTOC..1:\\n\"", ",", "asm_out_file", ")", ";", "fputs", "(", "\"\\t.tc toc_table[TC],toc_table[RW]\\n\"", ",", "asm_out_file", ")", ";", "toc_initialized", "=", "1", ";", "}", "fprintf", "(", "asm_out_file", ",", "\"\\t.csect toc_table[RW]%s\\n\"", ",", "(", "TARGET_32BIT", "?", "\"\"", ":", "\",3\"", ")", ")", ";", "}", "else", "fputs", "(", "\"\\t.toc\\n\"", ",", "asm_out_file", ")", ";", "}", ""], "natrual_language": ["A", "get_unnamed_section", "callback", ",", "used", "for", "switching", "to", "toc_section", "."], "TS_V_token": ["rs6000", "\"\\t.toc\\nLCTOC..1:\\n\"", "\"\\t.tc toc_table[TC],toc_table[RW]\\n\"", "1", "\"\\t.csect toc_table[RW]%s\\n\"", "\"\"", "\",3\"", "\"\\t.toc\\n\""], "File": "rs6000", "Func": "rs6000_xcoff_output_toc_section_asm_op", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3618, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtl_opt_pass", "*", "make_pass_tag_collision_avoidance", "(", "gcc", "::", "context", "*", "ctxt", ")", "{", "return", "new", "pass_tag_collision_avoidance", "(", "ctxt", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "pass", "instance", "."], "TS_V_token": ["aarch64"], "File": "falkor-tag-collision-avoidance", "Func": "make_pass_tag_collision_avoidance", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3619, "Length": 19, "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", "true", ";", "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": "SparcAsmPrinter30", "Func": "PrintAsmOperand", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3620, "Length": 81, "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": ["rs6000"], "File": "rs6000", "Func": "rs6000_use_blocks_for_decl_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3621, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "aarch64_symbol_type", "aarch64_classify_symbol", "(", "rtx", "x", ",", "rtx", "offset", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", ")", "{", "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", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", ")", "{", "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", ")", ")", "||", "INTVAL", "(", "offset", ")", "<", "-", "1048575", "||", "INTVAL", "(", "offset", ")", ">", "1048575", ")", "return", "SYMBOL_FORCE_TO_MEM", ";", "return", "SYMBOL_TINY_ABSOLUTE", ";", "case", "AARCH64_CMODEL_SMALL", ":", "if", "(", "(", "SYMBOL_REF_WEAK", "(", "x", ")", "&&", "!", "aarch64_symbol_binds_local_p", "(", "x", ")", ")", "||", "!", "IN_RANGE", "(", "INTVAL", "(", "offset", ")", ",", "HOST_WIDE_INT_C", "(", "-", "4294967263", ")", ",", "HOST_WIDE_INT_C", "(", "4294967264", ")", ")", ")", "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", "(", "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", "1048575", "1048575", "4294967263", "4294967264"], "File": "aarch644", "Func": "aarch64_classify_symbol", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3622, "Length": 246, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ia64_return_in_memory", "(", "tree", "valtype", ",", "tree", "fntype", "ATTRIBUTE_UNUSED", ")", "{", "enum", "machine_mode", "mode", ";", "enum", "machine_mode", "hfa_mode", ";", "HOST_WIDE_INT", "byte_size", ";", "mode", "=", "TYPE_MODE", "(", "valtype", ")", ";", "byte_size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "mode", "==", "BLKmode", ")", "{", "byte_size", "=", "int_size_in_bytes", "(", "valtype", ")", ";", "if", "(", "byte_size", "<", "0", ")", "return", "true", ";", "}", "hfa_mode", "=", "hfa_element_mode", "(", "valtype", ",", "0", ")", ";", "if", "(", "hfa_mode", "!=", "VOIDmode", ")", "{", "int", "hfa_size", "=", "GET_MODE_SIZE", "(", "hfa_mode", ")", ";", "if", "(", "byte_size", "/", "hfa_size", ">", "MAX_ARGUMENT_SLOTS", ")", "return", "true", ";", "else", "return", "false", ";", "}", "else", "if", "(", "byte_size", ">", "UNITS_PER_WORD", "*", "MAX_INT_RETURN_SLOTS", ")", "return", "true", ";", "else", "return", "false", ";", "}", ""], "natrual_language": ["Return", "1", "if", "function", "return", "value", "returned", "in", "memory", ".", "Return", "0", "if", "it", "is", "in", "a", "register", "."], "TS_V_token": ["ia64", "0", "0"], "File": "ia643", "Func": "ia64_return_in_memory", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3623, "Length": 118, "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": 3624, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_emit_binary", "(", "enum", "rtx_code", "code", ",", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "target", ",", "gen_rtx_fmt_ee", "(", "code", ",", "GET_MODE", "(", "target", ")", ",", "op0", ",", "op1", ")", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "instruction", "of", "the", "form", "(", "set", "TARGET", "(", "CODE", "OP0", "OP1", ")", ")", "."], "TS_V_token": ["mips"], "File": "mips4", "Func": "mips_emit_binary", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3625, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_expand_sse_comi", "(", "const", "struct", "builtin_description", "*", "d", ",", "tree", "arglist", ",", "rtx", "target", ")", "{", "rtx", "pat", ";", "tree", "arg0", "=", "TREE_VALUE", "(", "arglist", ")", ";", "tree", "arg1", "=", "TREE_VALUE", "(", "TREE_CHAIN", "(", "arglist", ")", ")", ";", "rtx", "op0", "=", "expand_expr", "(", "arg0", ",", "NULL_RTX", ",", "VOIDmode", ",", "0", ")", ";", "rtx", "op1", "=", "expand_expr", "(", "arg1", ",", "NULL_RTX", ",", "VOIDmode", ",", "0", ")", ";", "rtx", "op2", ";", "enum", "machine_mode", "mode0", "=", "insn_data", "[", "d", "->", "icode", "]", ".", "operand", "[", "0", "]", ".", "mode", ";", "enum", "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", ")", ";", "if", "(", "d", "->", "flag", "&", "BUILTIN_DESC_SWAP_OPERANDS", ")", "{", "rtx", "tmp", "=", "op1", ";", "op1", "=", "op0", ";", "op0", "=", "tmp", ";", "}", "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", ")", ";", "op2", "=", "gen_rtx_fmt_ee", "(", "comparison", ",", "mode0", ",", "op0", ",", "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", "comi", "insns", "."], "TS_V_token": ["i386", "0", "0", "0", "1", "0", "0", "1", "0"], "File": "i3863", "Func": "ix86_expand_sse_comi", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3626, "Length": 362, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "regs_used", "(", "rtx", "x", ",", "int", "is_dest", ")", "{", "enum", "rtx_code", "code", ";", "const", "char", "*", "fmt", ";", "int", "used", "=", "0", ";", "if", "(", "!", "x", ")", "return", "used", ";", "code", "=", "GET_CODE", "(", "x", ")", ";", "switch", "(", "code", ")", "{", "case", "REG", ":", "if", "(", "REGNO", "(", "x", ")", "<", "16", ")", "return", "(", "(", "(", "1", "<<", "HARD_REGNO_NREGS", "(", "0", ",", "GET_MODE", "(", "x", ")", ")", ")", "-", "1", ")", "<<", "(", "REGNO", "(", "x", ")", "+", "is_dest", ")", ")", ";", "return", "0", ";", "case", "SUBREG", ":", "{", "rtx", "y", "=", "SUBREG_REG", "(", "x", ")", ";", "if", "(", "!", "REG_P", "(", "y", ")", ")", "break", ";", "if", "(", "REGNO", "(", "y", ")", "<", "16", ")", "return", "(", "(", "(", "1", "<<", "HARD_REGNO_NREGS", "(", "0", ",", "GET_MODE", "(", "x", ")", ")", ")", "-", "1", ")", "<<", "(", "REGNO", "(", "y", ")", "+", "subreg_regno_offset", "(", "REGNO", "(", "y", ")", ",", "GET_MODE", "(", "y", ")", ",", "SUBREG_BYTE", "(", "x", ")", ",", "GET_MODE", "(", "x", ")", ")", "+", "is_dest", ")", ")", ";", "return", "0", ";", "}", "case", "SET", ":", "return", "regs_used", "(", "SET_SRC", "(", "x", ")", ",", "0", ")", "|", "regs_used", "(", "SET_DEST", "(", "x", ")", ",", "16", ")", ";", "case", "RETURN", ":", "return", "0x00ffff00", ";", "case", "CLOBBER", ":", "is_dest", "=", "1", ";", "break", ";", "case", "MEM", ":", "is_dest", "=", "0", ";", "break", ";", "case", "CALL", ":", "used", "|=", "0x00ff00f0", ";", "break", ";", "default", ":", "break", ";", "}", "fmt", "=", "GET_RTX_FORMAT", "(", "code", ")", ";", "for", "(", "int", "i", "=", "GET_RTX_LENGTH", "(", "code", ")", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "if", "(", "fmt", "[", "i", "]", "==", "'E'", ")", "{", "for", "(", "int", "j", "=", "XVECLEN", "(", "x", ",", "i", ")", "-", "1", ";", "j", ">=", "0", ";", "j", "--", ")", "used", "|=", "regs_used", "(", "XVECEXP", "(", "x", ",", "i", ",", "j", ")", ",", "is_dest", ")", ";", "}", "else", "if", "(", "fmt", "[", "i", "]", "==", "'e'", ")", "used", "|=", "regs_used", "(", "XEXP", "(", "x", ",", "i", ")", ",", "is_dest", ")", ";", "}", "return", "used", ";", "}", ""], "natrual_language": ["Given", "a", "X", ",", "a", "pattern", "of", "an", "insn", "or", "a", "part", "of", "it", ",", "return", "a", "mask", "of", "used", "general", "registers", ".", "Bits", "0", "..", "15", "mean", "that", "the", "respective", "registers", "are", "used", "as", "inputs", "in", "the", "instruction", ".", "Bits", "16", "..", "31", "mean", "that", "the", "registers", "0", "..", "15", ",", "respectively", ",", "are", "used", "as", "outputs", ",", "or", "are", "clobbered", ".", "IS_DEST", "should", "be", "set", "to", "16", "if", "X", "is", "the", "destination", "of", "a", "SET", ",", "else", "to", "0", "."], "TS_V_token": ["sh", "0", "16", "1", "0", "1", "0", "16", "1", "0", "1", "0", "0", "16", "0x00ffff00", "1", "0", "0x00ff00f0", "1", "0", "1", "0"], "File": "sh6", "Func": "regs_used", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3627, "Length": 343, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_adjust_priority", "(", "rtx", "insn", "ATTRIBUTE_UNUSED", ",", "int", "priority", ")", "{", "if", "(", "!", "INSN_P", "(", "insn", ")", ")", "return", "priority", ";", "if", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "USE", ")", "return", "priority", ";", "switch", "(", "rs6000_cpu_attr", ")", "{", "case", "CPU_PPC750", ":", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "default", ":", "break", ";", "case", "TYPE_IMUL", ":", "case", "TYPE_IDIV", ":", "fprintf", "(", "stderr", ",", "\"priority was %#x (%d) before adjustment\\n\"", ",", "priority", ",", "priority", ")", ";", "if", "(", "priority", ">=", "0", "&&", "priority", "<", "0x01000000", ")", "priority", ">>=", "3", ";", "break", ";", "}", "}", "if", "(", "is_dispatch_slot_restricted", "(", "insn", ")", "&&", "reload_completed", "&&", "current_sched_info", "->", "sched_max_insns_priority", "&&", "rs6000_sched_restricted_insns_priority", ")", "{", "if", "(", "rs6000_sched_restricted_insns_priority", "==", "1", ")", "return", "current_sched_info", "->", "sched_max_insns_priority", ";", "else", "if", "(", "rs6000_sched_restricted_insns_priority", "==", "2", ")", "return", "(", "priority", "+", "1", ")", ";", "}", "return", "priority", ";", "}", ""], "natrual_language": ["A", "C", "statement", "(", "sans", "semicolon", ")", "to", "update", "the", "integer", "scheduling", "priority", "INSN_PRIORITY", "(", "INSN", ")", ".", "Reduce", "the", "priority", "to", "execute", "the", "INSN", "earlier", ",", "increase", "the", "priority", "to", "execute", "INSN", "later", ".", "Do", "not", "define", "this", "macro", "if", "you", "do", "not", "need", "to", "adjust", "the", "scheduling", "priorities", "of", "insns", "."], "TS_V_token": ["rs6000", "\"priority was %#x (%d) before adjustment\\n\"", "0", "0x01000000", "3", "1", "2", "1"], "File": "rs60003", "Func": "rs6000_adjust_priority", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3628, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "XNCMTargetLowering", "::", "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_XNCM", ")", ";", "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": ["XNCM", "XNCM", "ISD::InputArg", "16", "XNCM", "0", "1", "2", "0"], "File": "XNCMISelLowering", "Func": "LowerCallResult", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3629, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isGPRZero", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "AArch64", "::", "MOVZWi", ":", "case", "AArch64", "::", "MOVZXi", ":", "if", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", "&&", "MI", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "==", "0", ")", "{", "assert", "(", "MI", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", "==", "3", "&&", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "0", "&&", "\"invalid MOVZi operands\"", ")", ";", "return", "true", ";", "}", "break", ";", "case", "AArch64", "::", "ANDWri", ":", "return", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "AArch64", "::", "WZR", ";", "case", "AArch64", "::", "ANDXri", ":", "return", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "AArch64", "::", "XZR", ";", "case", "TargetOpcode", "::", "COPY", ":", "return", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "AArch64", "::", "WZR", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Does", "this", "instruction", "set", "its", "full", "destination", "register", "to", "zero", "?"], "TS_V_token": ["AArch64", "AArch64", "AArch64::MOVZWi", "AArch64::MOVZXi", "1", "1", "0", "3", "2", "0", "\"invalid MOVZi operands\"", "AArch64::ANDWri", "1", "AArch64::WZR", "AArch64::ANDXri", "1", "AArch64::XZR", "1", "AArch64::WZR"], "File": "AArch64InstrInfo1", "Func": "isGPRZero", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3630, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "forward_branch_p", "(", "rtx", "insn", ")", "{", "rtx", "label", "=", "JUMP_LABEL", "(", "insn", ")", ";", "while", "(", "insn", ")", "{", "if", "(", "insn", "==", "label", ")", "break", ";", "else", "insn", "=", "NEXT_INSN", "(", "insn", ")", ";", "}", "return", "(", "insn", "==", "label", ")", ";", "}", ""], "natrual_language": ["Return", "1", "if", "INSN", "branches", "forward", ".", "Should", "be", "using", "insn_addresses", "to", "avoid", "walking", "through", "all", "the", "insns", "..."], "TS_V_token": ["pa"], "File": "pa3", "Func": "forward_branch_p", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3631, "Length": 46, "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", "::", "TailCall", ":", "return", "\"MipsISD::TailCall\"", ";", "case", "MipsISD", "::", "Hi", ":", "return", "\"MipsISD::Hi\"", ";", "case", "MipsISD", "::", "Lo", ":", "return", "\"MipsISD::Lo\"", ";", "case", "MipsISD", "::", "GPRel", ":", "return", "\"MipsISD::GPRel\"", ";", "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", "::", "Wrapper", ":", "return", "\"MipsISD::Wrapper\"", ";", "case", "MipsISD", "::", "Sync", ":", "return", "\"MipsISD::Sync\"", ";", "case", "MipsISD", "::", "Ext", ":", "return", "\"MipsISD::Ext\"", ";", "case", "MipsISD", "::", "Ins", ":", "return", "\"MipsISD::Ins\"", ";", "case", "MipsISD", "::", "LWL", ":", "return", "\"MipsISD::LWL\"", ";", "case", "MipsISD", "::", "LWR", ":", "return", "\"MipsISD::LWR\"", ";", "case", "MipsISD", "::", "SWL", ":", "return", "\"MipsISD::SWL\"", ";", "case", "MipsISD", "::", "SWR", ":", "return", "\"MipsISD::SWR\"", ";", "case", "MipsISD", "::", "LDL", ":", "return", "\"MipsISD::LDL\"", ";", "case", "MipsISD", "::", "LDR", ":", "return", "\"MipsISD::LDR\"", ";", "case", "MipsISD", "::", "SDL", ":", "return", "\"MipsISD::SDL\"", ";", "case", "MipsISD", "::", "SDR", ":", "return", "\"MipsISD::SDR\"", ";", "case", "MipsISD", "::", "EXTP", ":", "return", "\"MipsISD::EXTP\"", ";", "case", "MipsISD", "::", "EXTPDP", ":", "return", "\"MipsISD::EXTPDP\"", ";", "case", "MipsISD", "::", "EXTR_S_H", ":", "return", "\"MipsISD::EXTR_S_H\"", ";", "case", "MipsISD", "::", "EXTR_W", ":", "return", "\"MipsISD::EXTR_W\"", ";", "case", "MipsISD", "::", "EXTR_R_W", ":", "return", "\"MipsISD::EXTR_R_W\"", ";", "case", "MipsISD", "::", "EXTR_RS_W", ":", "return", "\"MipsISD::EXTR_RS_W\"", ";", "case", "MipsISD", "::", "SHILO", ":", "return", "\"MipsISD::SHILO\"", ";", "case", "MipsISD", "::", "MTHLIP", ":", "return", "\"MipsISD::MTHLIP\"", ";", "case", "MipsISD", "::", "MULT", ":", "return", "\"MipsISD::MULT\"", ";", "case", "MipsISD", "::", "MULTU", ":", "return", "\"MipsISD::MULTU\"", ";", "case", "MipsISD", "::", "MADD_DSP", ":", "return", "\"MipsISD::MADD_DSPDSP\"", ";", "case", "MipsISD", "::", "MADDU_DSP", ":", "return", "\"MipsISD::MADDU_DSP\"", ";", "case", "MipsISD", "::", "MSUB_DSP", ":", "return", "\"MipsISD::MSUB_DSP\"", ";", "case", "MipsISD", "::", "MSUBU_DSP", ":", "return", "\"MipsISD::MSUBU_DSP\"", ";", "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::TailCall", "\"MipsISD::TailCall\"", "MipsISD::Hi", "\"MipsISD::Hi\"", "MipsISD::Lo", "\"MipsISD::Lo\"", "MipsISD::GPRel", "\"MipsISD::GPRel\"", "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::Wrapper", "\"MipsISD::Wrapper\"", "MipsISD::Sync", "\"MipsISD::Sync\"", "MipsISD::Ext", "\"MipsISD::Ext\"", "MipsISD::Ins", "\"MipsISD::Ins\"", "MipsISD::LWL", "\"MipsISD::LWL\"", "MipsISD::LWR", "\"MipsISD::LWR\"", "MipsISD::SWL", "\"MipsISD::SWL\"", "MipsISD::SWR", "\"MipsISD::SWR\"", "MipsISD::LDL", "\"MipsISD::LDL\"", "MipsISD::LDR", "\"MipsISD::LDR\"", "MipsISD::SDL", "\"MipsISD::SDL\"", "MipsISD::SDR", "\"MipsISD::SDR\"", "MipsISD::EXTP", "\"MipsISD::EXTP\"", "MipsISD::EXTPDP", "\"MipsISD::EXTPDP\"", "MipsISD::EXTR_S_H", "\"MipsISD::EXTR_S_H\"", "MipsISD::EXTR_W", "\"MipsISD::EXTR_W\"", "MipsISD::EXTR_R_W", "\"MipsISD::EXTR_R_W\"", "MipsISD::EXTR_RS_W", "\"MipsISD::EXTR_RS_W\"", "MipsISD::SHILO", "\"MipsISD::SHILO\"", "MipsISD::MTHLIP", "\"MipsISD::MTHLIP\"", "MipsISD::MULT", "\"MipsISD::MULT\"", "MipsISD::MULTU", "\"MipsISD::MULTU\"", "MipsISD::MADD_DSP", "\"MipsISD::MADD_DSPDSP\"", "MipsISD::MADDU_DSP", "\"MipsISD::MADDU_DSP\"", "MipsISD::MSUB_DSP", "\"MipsISD::MSUB_DSP\"", "MipsISD::MSUBU_DSP", "\"MipsISD::MSUBU_DSP\""], "File": "MipsISelLowering51", "Func": "getTargetNodeName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3632, "Length": 392, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMElfTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "const", "ARMTargetMachine", "&", "ARM_TM", "=", "static_cast", "<", "const", "ARMTargetMachine", "&", ">", "(", "TM", ")", ";", "bool", "isAAPCS_ABI", "=", "ARM_TM", ".", "TargetABI", "==", "ARMTargetMachine", "::", "ARMABI", "::", "ARM_ABI_AAPCS", ";", "genExecuteOnly", "=", "ARM_TM", ".", "getSubtargetImpl", "(", ")", "->", "genExecuteOnly", "(", ")", ";", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "InitializeELF", "(", "isAAPCS_ABI", ")", ";", "if", "(", "isAAPCS_ABI", ")", "{", "LSDASection", "=", "nullptr", ";", "}", "AttributesSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".ARM.attributes\"", ",", "ELF", "::", "SHT_ARM_ATTRIBUTES", ",", "0", ")", ";", "if", "(", "genExecuteOnly", ")", "{", "unsigned", "Type", "=", "ELF", "::", "SHT_PROGBITS", ";", "unsigned", "Flags", "=", "ELF", "::", "SHF_EXECINSTR", "|", "ELF", "::", "SHF_ALLOC", "|", "ELF", "::", "SHF_ARM_PURECODE", ";", "TextSection", "=", "Ctx", ".", "getELFSection", "(", "\".text\"", ",", "Type", ",", "Flags", ",", "0", ",", "\"\"", ",", "0U", ")", ";", "}", "}", ""], "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", "ARM", "\".ARM.attributes\"", "ARM", "0", "ARM", "\".text\"", "0", "\"\"", "0U"], "File": "ARMTargetObjectFile25", "Func": "Initialize", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3633, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "rs6000_builtin_reciprocal", "(", "tree", "fndecl", ")", "{", "switch", "(", "DECL_MD_FUNCTION_CODE", "(", "fndecl", ")", ")", "{", "case", "RS6000_BIF_XVSQRTDP", ":", "if", "(", "!", "RS6000_RECIP_AUTO_RSQRTE_P", "(", "V2DFmode", ")", ")", "return", "NULL_TREE", ";", "return", "rs6000_builtin_decls", "[", "RS6000_BIF_RSQRT_2DF", "]", ";", "case", "RS6000_BIF_XVSQRTSP", ":", "if", "(", "!", "RS6000_RECIP_AUTO_RSQRTE_P", "(", "V4SFmode", ")", ")", "return", "NULL_TREE", ";", "return", "rs6000_builtin_decls", "[", "RS6000_BIF_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": ["rs6000"], "File": "rs6000-builtin", "Func": "rs6000_builtin_reciprocal", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3634, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "ARMBaseInstrInfo", "::", "insertOutlinedCall", "(", "Module", "&", "M", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "It", ",", "MachineFunction", "&", "MF", ",", "const", "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", ")", ";", "saveLROnStack", "(", "MBB", ",", "It", ")", ";", "if", "(", "!", "AFI", ".", "isLRSpilled", "(", ")", ")", "emitCFIForLRSaveOnStack", "(", "MBB", ",", "It", ")", ";", "CallPt", "=", "MBB", ".", "insert", "(", "It", ",", "CallMIB", ")", ";", "restoreLRFromStack", "(", "MBB", ",", "It", ")", ";", "if", "(", "!", "AFI", ".", "isLRSpilled", "(", ")", ")", "emitCFIForLRRestoreFromStack", "(", "MBB", ",", "It", ")", ";", "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": "ARMBaseInstrInfo110", "Func": "insertOutlinedCall", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3635, "Length": 457, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FrameLowering", "::", "enableStackSlotScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "AArch64FunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "return", "AFI", "->", "hasCalleeSaveStackFreeSpace", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "stack", "slot", "holes", "in", "the", "fixed", "and", "callee-save", "stack", "area", "should", "be", "used", "when", "allocating", "other", "stack", "locations", "to", "reduce", "stack", "size", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64FrameLowering (2)1", "Func": "enableStackSlotScavenging", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3636, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "LanaiRegisterInfo", "::", "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": ["Lanai", "Lanai"], "File": "LanaiRegisterInfo (2)1", "Func": "getCallPreservedMask", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3637, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "getStackAddress", "(", "uint64_t", "Size", ",", "int64_t", "Offset", ",", "MachinePointerInfo", "&", "MPO", ")", "override", "{", "assert", "(", "(", "Size", "==", "1", "||", "Size", "==", "2", "||", "Size", "==", "4", "||", "Size", "==", "8", ")", "&&", "\"Unsupported size\"", ")", ";", "auto", "&", "MFI", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getFrameInfo", "(", ")", ";", "int", "FI", "=", "MFI", ".", "CreateFixedObject", "(", "Size", ",", "Offset", ",", "true", ")", ";", "MPO", "=", "MachinePointerInfo", "::", "getFixedStack", "(", "MIRBuilder", ".", "getMF", "(", ")", ",", "FI", ")", ";", "Register", "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", "1", "2", "4", "8", "\"Unsupported size\"", "32"], "File": "ARMCallLowering23", "Func": "getStackAddress", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3638, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "X86TargetLowering", "::", "getPICJumpTableRelocBase", "(", "SDValue", "Table", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "is64Bit", "(", ")", ")", "return", "DAG", ".", "getNode", "(", "X86ISD", "::", "GlobalBaseReg", ",", "SDLoc", "(", ")", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ";", "return", "Table", ";", "}", ""], "natrual_language": ["Returns", "relocation", "base", "for", "the", "given", "PIC", "jumptable", "."], "TS_V_token": ["X86", "X86", "X86ISD::GlobalBaseReg"], "File": "X86ISelLowering (2)3", "Func": "getPICJumpTableRelocBase", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3639, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCFastISel", "::", "fastEmitInst_ri", "(", "unsigned", "MachineInstOpcode", ",", "const", "TargetRegisterClass", "*", "RC", ",", "unsigned", "Op0", ",", "uint64_t", "Imm", ")", "{", "if", "(", "MachineInstOpcode", "==", "PPC", "::", "ADDI", ")", "MRI", ".", "setRegClass", "(", "Op0", ",", "&", "PPC", "::", "GPRC_and_GPRC_NOR0RegClass", ")", ";", "else", "if", "(", "MachineInstOpcode", "==", "PPC", "::", "ADDI8", ")", "MRI", ".", "setRegClass", "(", "Op0", ",", "&", "PPC", "::", "G8RC_and_G8RC_NOX0RegClass", ")", ";", "const", "TargetRegisterClass", "*", "UseRC", "=", "(", "RC", "==", "&", "PPC", "::", "GPRCRegClass", "?", "&", "PPC", "::", "GPRC_and_GPRC_NOR0RegClass", ":", "(", "RC", "==", "&", "PPC", "::", "G8RCRegClass", "?", "&", "PPC", "::", "G8RC_and_G8RC_NOX0RegClass", ":", "RC", ")", ")", ";", "return", "FastISel", "::", "fastEmitInst_ri", "(", "MachineInstOpcode", ",", "UseRC", ",", "Op0", ",", "Imm", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "MachineInstr", "with", "a", "register", "operand", ",", "an", "immediate", ",", "and", "a", "result", "register", "in", "the", "given", "register", "class", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::ADDI", "PPC::GPRC_and_GPRC_NOR0RegClass", "PPC::ADDI8", "PPC::G8RC_and_G8RC_NOX0RegClass", "PPC::GPRCRegClass", "PPC::GPRC_and_GPRC_NOR0RegClass", "PPC::G8RCRegClass", "PPC::G8RC_and_G8RC_NOX0RegClass"], "File": "PPCFastISel12", "Func": "fastEmitInst_ri", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3640, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"MipsPreLegalizerCombiner\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"MipsPreLegalizerCombiner\""], "File": "MipsPreLegalizerCombiner (2)", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3641, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "postOffset", "(", "Align", "Alignment", "=", "Align", "(", "1", ")", ")", "const", "{", "unsigned", "PO", "=", "Offset", "+", "Size", ";", "const", "Align", "PA", "=", "std", "::", "max", "(", "PostAlign", ",", "Alignment", ")", ";", "if", "(", "PA", "==", "Align", "(", "1", ")", ")", "return", "PO", ";", "return", "PO", "+", "UnknownPadding", "(", "PA", ",", "internalKnownBits", "(", ")", ")", ";", "}", ""], "natrual_language": ["Compute", "the", "offset", "immediately", "following", "this", "block", "."], "TS_V_token": ["ARM", "1", "1"], "File": "ARMBasicBlockInfo3", "Func": "postOffset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3642, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "X86TargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "IsMemset", ",", "bool", "ZeroMemset", ",", "bool", "MemcpyStrSrc", ",", "const", "AttributeList", "&", "FuncAttributes", ")", "const", "{", "if", "(", "!", "FuncAttributes", ".", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ")", "{", "if", "(", "Size", ">=", "16", "&&", "(", "!", "Subtarget", ".", "isUnalignedMem16Slow", "(", ")", "||", "(", "(", "DstAlign", "==", "0", "||", "DstAlign", ">=", "16", ")", "&&", "(", "SrcAlign", "==", "0", "||", "SrcAlign", ">=", "16", ")", ")", ")", ")", "{", "if", "(", "Size", ">=", "32", "&&", "Subtarget", ".", "hasAVX", "(", ")", "&&", "(", "Subtarget", ".", "getPreferVectorWidth", "(", ")", ">=", "256", ")", ")", "{", "return", "MVT", "::", "v32i8", ";", "}", "if", "(", "Subtarget", ".", "hasSSE2", "(", ")", "&&", "(", "Subtarget", ".", "getPreferVectorWidth", "(", ")", ">=", "128", ")", ")", "return", "MVT", "::", "v16i8", ";", "if", "(", "Subtarget", ".", "hasSSE1", "(", ")", "&&", "(", "Subtarget", ".", "is64Bit", "(", ")", "||", "Subtarget", ".", "hasX87", "(", ")", ")", "&&", "(", "Subtarget", ".", "getPreferVectorWidth", "(", ")", ">=", "128", ")", ")", "return", "MVT", "::", "v4f32", ";", "}", "else", "if", "(", "(", "!", "IsMemset", "||", "ZeroMemset", ")", "&&", "!", "MemcpyStrSrc", "&&", "Size", ">=", "8", "&&", "!", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Subtarget", ".", "hasSSE2", "(", ")", ")", "{", "return", "MVT", "::", "f64", ";", "}", "}", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Size", ">=", "8", ")", "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": ["X86", "X86", "16", "0", "16", "0", "16", "32", "256", "MVT::v32i8", "128", "MVT::v16i8", "128", "MVT::v4f32", "8", "MVT::f64", "8", "MVT::i64", "MVT::i32"], "File": "X86ISelLowering108", "Func": "getOptimalMemOpType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3643, "Length": 232, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "nds32_asm_file_end_for_isr", "(", "void", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "NDS32_N_ISR_VECTORS", ";", "i", "++", ")", "if", "(", "nds32_isr_vectors", "[", "i", "]", ".", "category", "!=", "NDS32_ISR_NONE", ")", "break", ";", "if", "(", "i", "==", "NDS32_N_ISR_VECTORS", ")", "return", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t! ------------------------------------\\n\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t! The isr vector information:\\n\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t! ------------------------------------\\n\"", ")", ";", "if", "(", "nds32_isr_vectors", "[", "0", "]", ".", "category", "==", "NDS32_ISR_RESET", ")", "{", "nds32_emit_isr_reset_content", "(", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t! ------------------------------------\\n\"", ")", ";", "}", "for", "(", "i", "=", "1", ";", "i", "<", "NDS32_N_ISR_VECTORS", ";", "i", "++", ")", "{", "if", "(", "nds32_isr_vectors", "[", "i", "]", ".", "category", "==", "NDS32_ISR_INTERRUPT", "||", "nds32_isr_vectors", "[", "i", "]", ".", "category", "==", "NDS32_ISR_EXCEPTION", ")", "{", "fprintf", "(", "asm_out_file", ",", "\"\\t! interrupt/exception vector %02d\\n\"", ",", "i", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t! ------------------------------------\\n\"", ")", ";", "nds32_emit_isr_jmptbl_section", "(", "i", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t! ....................................\\n\"", ")", ";", "nds32_emit_isr_vector_section", "(", "i", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t! ------------------------------------\\n\"", ")", ";", "}", "}", "}", ""], "natrual_language": ["A", "helper", "function", "to", "handle", "isr", "stuff", "at", "the", "end", "of", "asm", "file", "."], "TS_V_token": ["nds32", "0", "\"\\t! ------------------------------------\\n\"", "\"\\t! The isr vector information:\\n\"", "\"\\t! ------------------------------------\\n\"", "0", "\"\\t! ------------------------------------\\n\"", "1", "\"\\t! interrupt/exception vector %02d\\n\"", "\"\\t! ------------------------------------\\n\"", "\"\\t! ....................................\\n\"", "\"\\t! ------------------------------------\\n\""], "File": "nds32-isr2", "Func": "nds32_asm_file_end_for_isr", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3644, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isKZeroMasked", "(", ")", "const", "{", "return", "(", "Attributes", "&", "KZeroMasked", ")", "!=", "0", ";", "}", ""], "natrual_language": ["Returns", "true", "iff", "the", "group", "of", "FMA", "opcodes", "holds", "k-zero-masked", "opcodes", "."], "TS_V_token": ["X86", "0"], "File": "X86InstrFMA3Info11", "Func": "isKZeroMasked", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3645, "Length": 16, "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": 3646, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86ATTAsmParser", "::", "ParseInstruction", "(", "const", "StringRef", "&", "Name", ",", "SMLoc", "NameLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ")", "{", "StringRef", "PatchedName", "=", "StringSwitch", "<", "StringRef", ">", "(", "Name", ")", ".", "Case", "(", "\"sal\"", ",", "\"shl\"", ")", ".", "Case", "(", "\"salb\"", ",", "\"shlb\"", ")", ".", "Case", "(", "\"sall\"", ",", "\"shll\"", ")", ".", "Case", "(", "\"salq\"", ",", "\"shlq\"", ")", ".", "Case", "(", "\"salw\"", ",", "\"shlw\"", ")", ".", "Case", "(", "\"repe\"", ",", "\"rep\"", ")", ".", "Case", "(", "\"repz\"", ",", "\"rep\"", ")", ".", "Case", "(", "\"repnz\"", ",", "\"repne\"", ")", ".", "Default", "(", "Name", ")", ";", "Operands", ".", "push_back", "(", "X86Operand", "::", "CreateToken", "(", "PatchedName", ",", "NameLoc", ")", ")", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Star", ")", ")", "{", "SMLoc", "Loc", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "Operands", ".", "push_back", "(", "X86Operand", "::", "CreateToken", "(", "\"*\"", ",", "Loc", ")", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "}", "if", "(", "X86Operand", "*", "Op", "=", "ParseOperand", "(", ")", ")", "Operands", ".", "push_back", "(", "Op", ")", ";", "else", "return", "true", ";", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "X86Operand", "*", "Op", "=", "ParseOperand", "(", ")", ")", "Operands", ".", "push_back", "(", "Op", ")", ";", "else", "return", "true", ";", "}", "}", "if", "(", "(", "Name", ".", "startswith", "(", "\"shr\"", ")", "||", "Name", ".", "startswith", "(", "\"sar\"", ")", "||", "Name", ".", "startswith", "(", "\"shl\"", ")", ")", "&&", "Operands", ".", "size", "(", ")", "==", "3", "&&", "static_cast", "<", "X86Operand", "*", ">", "(", "Operands", "[", "1", "]", ")", "->", "isImm", "(", ")", "&&", "isa", "<", "MCConstantExpr", ">", "(", "static_cast", "<", "X86Operand", "*", ">", "(", "Operands", "[", "1", "]", ")", "->", "getImm", "(", ")", ")", "&&", "cast", "<", "MCConstantExpr", ">", "(", "static_cast", "<", "X86Operand", "*", ">", "(", "Operands", "[", "1", "]", ")", "->", "getImm", "(", ")", ")", "->", "getValue", "(", ")", "==", "1", ")", "{", "delete", "Operands", "[", "1", "]", ";", "Operands", ".", "erase", "(", "Operands", ".", "begin", "(", ")", "+", "1", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["X86", "X86", "\"sal\"", "\"shl\"", "\"salb\"", "\"shlb\"", "\"sall\"", "\"shll\"", "\"salq\"", "\"shlq\"", "\"salw\"", "\"shlw\"", "\"repe\"", "\"rep\"", "\"repz\"", "\"rep\"", "\"repnz\"", "\"repne\"", "X86Operand::CreateToken", "X86Operand::CreateToken", "\"*\"", "X86", "X86", "\"shr\"", "\"sar\"", "\"shl\"", "3", "X86", "1", "X86", "1", "X86", "1", "1", "1", "1"], "File": "X86AsmParser12", "Func": "ParseInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3647, "Length": 358, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "swap_reorder", "(", "rtx", "*", "a", ",", "int", "n", ")", "{", "rtx", "insn", "=", "a", "[", "n", "-", "1", "]", ";", "int", "i", "=", "n", "-", "2", ";", "while", "(", "i", ">=", "0", "&&", "rank_for_reorder", "(", "a", "+", "i", ",", "&", "insn", ")", ">=", "0", ")", "{", "a", "[", "i", "+", "1", "]", "=", "a", "[", "i", "]", ";", "i", "-=", "1", ";", "}", "a", "[", "i", "+", "1", "]", "=", "insn", ";", "}", ""], "natrual_language": ["Resort", "the", "array", "A", "in", "which", "only", "element", "at", "index", "N", "may", "be", "out", "of", "order", "."], "TS_V_token": ["sh", "1", "2", "0", "0", "1", "1", "1"], "File": "sh3", "Func": "swap_reorder", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3648, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_asm_declare_function_name", "(", "FILE", "*", "file", ",", "const", "char", "*", "name", ",", "tree", "decl", ")", "{", "size_t", "cmse_name_len", ";", "char", "*", "cmse_name", "=", "0", ";", "char", "cmse_prefix", "[", "]", "=", "\"__acle_se_\"", ";", "if", "(", "use_cmse", "&&", "lookup_attribute", "(", "\"cmse_nonsecure_entry\"", ",", "DECL_ATTRIBUTES", "(", "decl", ")", ")", ")", "{", "cmse_name_len", "=", "sizeof", "(", "cmse_prefix", ")", "+", "strlen", "(", "name", ")", ";", "cmse_name", "=", "XALLOCAVEC", "(", "char", ",", "cmse_name_len", ")", ";", "snprintf", "(", "cmse_name", ",", "cmse_name_len", ",", "\"%s%s\"", ",", "cmse_prefix", ",", "name", ")", ";", "targetm", ".", "asm_out", ".", "globalize_label", "(", "file", ",", "cmse_name", ")", ";", "ARM_DECLARE_FUNCTION_NAME", "(", "file", ",", "cmse_name", ",", "decl", ")", ";", "ASM_OUTPUT_TYPE_DIRECTIVE", "(", "file", ",", "cmse_name", ",", "\"function\"", ")", ";", "}", "ARM_DECLARE_FUNCTION_NAME", "(", "file", ",", "name", ",", "decl", ")", ";", "ASM_OUTPUT_TYPE_DIRECTIVE", "(", "file", ",", "name", ",", "\"function\"", ")", ";", "ASM_DECLARE_RESULT", "(", "file", ",", "DECL_RESULT", "(", "decl", ")", ")", ";", "ASM_OUTPUT_LABEL", "(", "file", ",", "name", ")", ";", "if", "(", "cmse_name", ")", "ASM_OUTPUT_LABEL", "(", "file", ",", "cmse_name", ")", ";", "ARM_OUTPUT_FN_UNWIND", "(", "file", ",", "TRUE", ")", ";", "}", ""], "natrual_language": ["Output", "in", "FILE", "asm", "statements", "needed", "to", "declare", "the", "NAME", "of", "the", "function", "defined", "by", "its", "DECL", "node", "."], "TS_V_token": ["arm", "0", "\"__acle_se_\"", "\"cmse_nonsecure_entry\"", "\"%s%s\"", "\"function\"", "\"function\""], "File": "arm", "Func": "arm_asm_declare_function_name", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3649, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "hppa_can_use_return_insn_p", "(", ")", "{", "return", "(", "reload_completed", "&&", "(", "compute_frame_size", "(", "get_frame_size", "(", ")", ",", "0", ")", "?", "0", ":", "1", ")", "&&", "!", "regs_ever_live", "[", "2", "]", "&&", "!", "frame_pointer_needed", ")", ";", "}", ""], "natrual_language": ["This", "is", "only", "valid", "once", "reload", "has", "completed", "because", "it", "depends", "on", "knowing", "exactly", "how", "much", "(", "if", "any", ")", "frame", "there", "is", "and", "...", "It", "'s", "only", "valid", "if", "there", "is", "no", "frame", "marker", "to", "de-allocate", "and", "...", "It", "'s", "only", "valid", "if", "%", "r2", "has", "n't", "been", "saved", "into", "the", "caller", "'s", "frame", "(", "we", "'re", "not", "profiling", "and", "%", "r2", "is", "n't", "live", "anywhere", ")", "."], "TS_V_token": ["pa", "0", "0", "1", "2"], "File": "pa2", "Func": "hppa_can_use_return_insn_p", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3650, "Length": 35, "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", "::", "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", ")", ";", "}", "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::BlockAddress", "ISD::BRCOND", "ISD::BR_CC", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::JumpTable", "ISD::SELECT", "ISD::SELECT_CC", "ISD::SETCC", "ISD::VACOPY", "ISD::VASTART"], "File": "AArch64ISelLowering123", "Func": "LowerOperation", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3651, "Length": 334, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_const_not_ok_for_debug_p", "(", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", "&&", "XINT", "(", "x", ",", "1", ")", "!=", "UNSPEC_GOTOFF", ")", "return", "true", ";", "if", "(", "SYMBOL_REF_P", "(", "x", ")", "&&", "strcmp", "(", "XSTR", "(", "x", ",", "0", ")", ",", "GOT_SYMBOL_NAME", ")", "==", "0", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "should", "n't", "be", "emitted", "into", "the", "debug", "info", ".", "Disallow", "UNSPECs", "other", "than", "@", "gotoff", "-", "we", "ca", "n't", "emit", "_GLOBAL_OFFSET_TABLE_", "symbol", "easily", "into", "the", ".debug_info", "section", ",", "so", "we", "need", "not", "to", "delegitimize", ",", "but", "instead", "assemble", "as", "@", "gotoff", ".", "Disallow", "_GLOBAL_OFFSET_TABLE_", "SYMBOL_REF", "-", "the", "assembler", "magically", "assembles", "that", "as", "_GLOBAL_OFFSET_TABLE_-", ".", "expression", "."], "TS_V_token": ["i386", "1", "0", "0"], "File": "i386", "Func": "ix86_const_not_ok_for_debug_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3652, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "getOpcodeAfterMemoryUnfold", "(", "unsigned", "Opc", ",", "bool", "UnfoldLoad", ",", "bool", "UnfoldStore", ",", "unsigned", "*", "LoadRegIndex", ")", "const", "{", "DenseMap", "<", "unsigned", ",", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", ">", "::", "const_iterator", "I", "=", "MemOp2RegOpTable", ".", "find", "(", "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", ";", "if", "(", "LoadRegIndex", ")", "*", "LoadRegIndex", "=", "I", "->", "second", ".", "second", "&", "0xf", ";", "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", "0xf"], "File": "X86InstrInfo12", "Func": "getOpcodeAfterMemoryUnfold", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3653, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_9e_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", ")", "{", "switch", "(", "code", ")", "{", "case", "MULT", ":", "if", "(", "arm_arch6m", "&&", "arm_m_profile_small_mul", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "32", ")", ";", "else", "*", "total", "=", "COSTS_N_INSNS", "(", "3", ")", ";", "return", "true", ";", "default", ":", "*", "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", "(", "mode", "==", "SImode", ")", "{", "*", "total", "=", "COSTS_N_INSNS", "(", "2", ")", ";", "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", "costs", "for", "9e", "(", "and", "later", ")", "cores", "."], "TS_V_token": ["arm", "32", "3", "0", "1", "0", "0", "2", "5", "2", "1", "20"], "File": "arm4", "Func": "arm_9e_rtx_costs", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3654, "Length": 272, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "loongarch_flatten_aggregate_argument", "(", "const_tree", "type", ",", "loongarch_aggregate_field", "fields", "[", "2", "]", ")", "{", "if", "(", "!", "type", "||", "TREE_CODE", "(", "type", ")", "!=", "RECORD_TYPE", ")", "return", "-", "1", ";", "return", "loongarch_flatten_aggregate_field", "(", "type", ",", "fields", ",", "0", ",", "0", ")", ";", "}", ""], "natrual_language": ["Identify", "candidate", "aggregates", "for", "passing", "in", "floating-point", "registers", ".", "Candidates", "have", "at", "most", "two", "fields", "after", "flattening", "."], "TS_V_token": ["loongarch", "2", "1", "0", "0"], "File": "loongarch", "Func": "loongarch_flatten_aggregate_argument", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3655, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "Thumb2RegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["ARM"], "File": "Thumb2InstrInfo10", "Func": "getRegisterInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3656, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "DL", ",", "MCRegister", "DestReg", ",", "MCRegister", "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": "Mips16InstrInfo10", "Func": "copyPhysReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3657, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "MINA32RegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "return", "nullptr", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["MINA32", "MINA32"], "File": "MINA32RegisterInfo", "Func": "getCallPreservedMask", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3658, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_option_valid_attribute_p", "(", "tree", "fndecl", ",", "tree", ",", "tree", "args", ",", "int", ")", "{", "struct", "cl_target_option", "cur_target", ";", "bool", "ret", ";", "tree", "old_optimize", ";", "tree", "new_target", ",", "new_optimize", ";", "tree", "existing_target", "=", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "fndecl", ")", ";", "if", "(", "!", "existing_target", "&&", "args", "==", "current_target_pragma", ")", "{", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "fndecl", ")", "=", "target_option_current_node", ";", "return", "true", ";", "}", "tree", "func_optimize", "=", "DECL_FUNCTION_SPECIFIC_OPTIMIZATION", "(", "fndecl", ")", ";", "old_optimize", "=", "build_optimization_node", "(", "&", "global_options", ",", "&", "global_options_set", ")", ";", "func_optimize", "=", "DECL_FUNCTION_SPECIFIC_OPTIMIZATION", "(", "fndecl", ")", ";", "if", "(", "func_optimize", "&&", "func_optimize", "!=", "old_optimize", ")", "cl_optimization_restore", "(", "&", "global_options", ",", "&", "global_options_set", ",", "TREE_OPTIMIZATION", "(", "func_optimize", ")", ")", ";", "cl_target_option_save", "(", "&", "cur_target", ",", "&", "global_options", ",", "&", "global_options_set", ")", ";", "if", "(", "existing_target", ")", "{", "struct", "cl_target_option", "*", "existing_options", "=", "TREE_TARGET_OPTION", "(", "existing_target", ")", ";", "if", "(", "existing_options", ")", "cl_target_option_restore", "(", "&", "global_options", ",", "&", "global_options_set", ",", "existing_options", ")", ";", "}", "else", "cl_target_option_restore", "(", "&", "global_options", ",", "&", "global_options_set", ",", "TREE_TARGET_OPTION", "(", "target_option_current_node", ")", ")", ";", "ret", "=", "aarch64_process_target_attr", "(", "args", ")", ";", "if", "(", "ret", ")", "{", "aarch64_override_options_internal", "(", "&", "global_options", ")", ";", "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", ";", "}", "new_target", "=", "build_target_option_node", "(", "&", "global_options", ",", "&", "global_options_set", ")", ";", "}", "else", "new_target", "=", "NULL", ";", "new_optimize", "=", "build_optimization_node", "(", "&", "global_options", ",", "&", "global_options_set", ")", ";", "if", "(", "fndecl", "&&", "ret", ")", "{", "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", ",", "&", "global_options_set", ",", "&", "cur_target", ")", ";", "if", "(", "old_optimize", "!=", "new_optimize", ")", "cl_optimization_restore", "(", "&", "global_options", ",", "&", "global_options_set", ",", "TREE_OPTIMIZATION", "(", "old_optimize", ")", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_VALID_ATTRIBUTE_P", ".", "This", "is", "used", "to", "process", "attribute", "(", "(", "target", "(", "``", "...", "''", ")", ")", ")", "."], "TS_V_token": ["aarch64"], "File": "aarch641", "Func": "aarch64_option_valid_attribute_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3659, "Length": 298, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "EnableA53Fix835769", ")", "addPass", "(", "createAArch64A53Fix835769", "(", ")", ")", ";", "if", "(", "BranchRelaxation", ")", "addPass", "(", "&", "BranchRelaxationPassID", ")", ";", "if", "(", "EnableBranchTargets", ")", "addPass", "(", "createAArch64BranchTargetsPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableCompressJumpTables", ")", "addPass", "(", "createAArch64CompressJumpTablesPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableCollectLOH", "&&", "TM", "->", "getTargetTriple", "(", ")", ".", "isOSBinFormatMachO", "(", ")", ")", "addPass", "(", "createAArch64CollectLOHPass", "(", ")", ")", ";", "}", ""], "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", "AArch64"], "File": "AArch64TargetMachine87", "Func": "addPreEmitPass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3660, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "mips_shadow_set", "mips_use_shadow_register_set", "(", "tree", "type", ")", "{", "tree", "attr", "=", "lookup_attribute", "(", "\"use_shadow_register_set\"", ",", "TYPE_ATTRIBUTES", "(", "type", ")", ")", ";", "tree", "args", ";", "if", "(", "attr", "==", "NULL", ")", "return", "SHADOW_SET_NO", ";", "args", "=", "TREE_VALUE", "(", "attr", ")", ";", "if", "(", "args", "==", "NULL", ")", "return", "SHADOW_SET_YES", ";", "return", "SHADOW_SET_INTSTACK", ";", "}", ""], "natrual_language": ["Return", "the", "mips_shadow_set", "if", "the", "``", "use_shadow_register_set", "''", "attribute", "is", "set", "for", "a", "function", "."], "TS_V_token": ["mips", "\"use_shadow_register_set\""], "File": "mips", "Func": "mips_use_shadow_register_set", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3661, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "X86TargetLowering", "::", "getSetCCResultType", "(", "MVT", "VT", ")", "const", "{", "return", "MVT", "::", "i8", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["X86", "X86", "MVT::i8"], "File": "X86ISelLowering160", "Func": "getSetCCResultType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3662, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "Mips16InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "Mips16InstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "!", "StackSize", ")", "return", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "Move32R16", ")", ",", "Mips", "::", "SP", ")", ".", "addReg", "(", "Mips", "::", "S0", ")", ";", "TII", ".", "restoreFrame", "(", "Mips", "::", "SP", ",", "StackSize", ",", "MBB", ",", "MBBI", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips::Move32R16", "Mips::SP", "Mips::S0", "Mips::SP"], "File": "Mips16FrameLowering21", "Func": "emitEpilogue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3663, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LEGInstrInfo", "::", "expandPostRAPseudo", "(", "MachineInstr", "&", "MI", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "LEG", "::", "MOVi32", ":", "{", "DebugLoc", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "const", "unsigned", "DstReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "const", "bool", "DstIsDead", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "isDead", "(", ")", ";", "const", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "auto", "LO16", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "LEG", "::", "MOVLOi16", ")", ",", "DstReg", ")", ";", "auto", "HI16", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "LEG", "::", "MOVHIi16", ")", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "const", "unsigned", "Imm", "=", "MO", ".", "getImm", "(", ")", ";", "const", "unsigned", "Lo16", "=", "Imm", "&", "0xffff", ";", "const", "unsigned", "Hi16", "=", "(", "Imm", ">>", "16", ")", "&", "0xffff", ";", "LO16", "=", "LO16", ".", "addImm", "(", "Lo16", ")", ";", "HI16", "=", "HI16", ".", "addImm", "(", "Hi16", ")", ";", "}", "else", "{", "const", "GlobalValue", "*", "GV", "=", "MO", ".", "getGlobal", "(", ")", ";", "const", "unsigned", "TF", "=", "MO", ".", "getTargetFlags", "(", ")", ";", "LO16", "=", "LO16", ".", "addGlobalAddress", "(", "GV", ",", "MO", ".", "getOffset", "(", ")", ",", "TF", "|", "LEGII", "::", "MO_LO16", ")", ";", "HI16", "=", "HI16", ".", "addGlobalAddress", "(", "GV", ",", "MO", ".", "getOffset", "(", ")", ",", "TF", "|", "LEGII", "::", "MO_HI16", ")", ";", "}", "MBB", ".", "erase", "(", "MI", ")", ";", "return", "true", ";", "}", "}", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["LEG", "LEG", "LEG::MOVi32", "0", "0", "1", "LEG::MOVLOi16", "LEG::MOVHIi16", "0xffff", "16", "0xffff", "LEGII::MO_LO16", "LEGII::MO_HI16"], "File": "LEGInstrInfo", "Func": "expandPostRAPseudo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3664, "Length": 289, "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": ["CSKY"], "File": "CSKYMCExpr", "Func": "classof", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3665, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsELFStreamer", "::", "EmitInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "MCELFStreamer", "::", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "MCContext", "&", "Context", "=", "getContext", "(", ")", ";", "const", "MCRegisterInfo", "*", "MCRegInfo", "=", "Context", ".", "getRegisterInfo", "(", ")", ";", "for", "(", "unsigned", "OpIndex", "=", "0", ";", "OpIndex", "<", "Inst", ".", "getNumOperands", "(", ")", ";", "++", "OpIndex", ")", "{", "const", "MCOperand", "&", "Op", "=", "Inst", ".", "getOperand", "(", "OpIndex", ")", ";", "if", "(", "!", "Op", ".", "isReg", "(", ")", ")", "continue", ";", "unsigned", "Reg", "=", "Op", ".", "getReg", "(", ")", ";", "RegInfoRecord", "->", "SetPhysRegUsed", "(", "Reg", ",", "MCRegInfo", ")", ";", "}", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["Mips", "Mips", "0"], "File": "MipsELFStreamer12", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3666, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameInfo", "::", "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": ["X86", "X86"], "File": "X86FrameInfo", "Func": "hasReservedCallFrame", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3667, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "isPredicable", "(", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "STI", ".", "hasLoadStoreOnCond", "(", ")", "&&", "getConditionalMove", "(", "Opcode", ")", ")", "return", "true", ";", "if", "(", "Opcode", "==", "SystemZ", "::", "Return", "||", "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::CallJG", "SystemZ::CallBR"], "File": "SystemZInstrInfo49", "Func": "isPredicable", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3668, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "arm_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": ["arm", "\"%qE attribute only applies to functions\""], "File": "arm", "Func": "arm_handle_fndecl_attribute", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3669, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "sched_fusion_type", "fusion_load_store", "(", "rtx_insn", "*", "insn", ",", "rtx", "*", "base", ",", "rtx", "*", "offset", ")", "{", "rtx", "x", ",", "dest", ",", "src", ";", "enum", "sched_fusion_type", "fusion", "=", "SCHED_FUSION_LD", ";", "gcc_assert", "(", "INSN_P", "(", "insn", ")", ")", ";", "x", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "SET", ")", "return", "SCHED_FUSION_NONE", ";", "src", "=", "SET_SRC", "(", "x", ")", ";", "dest", "=", "SET_DEST", "(", "x", ")", ";", "machine_mode", "dest_mode", "=", "GET_MODE", "(", "dest", ")", ";", "if", "(", "!", "aarch64_mode_valid_for_sched_fusion_p", "(", "dest_mode", ")", ")", "return", "SCHED_FUSION_NONE", ";", "if", "(", "GET_CODE", "(", "src", ")", "==", "SIGN_EXTEND", ")", "{", "fusion", "=", "SCHED_FUSION_LD_SIGN_EXTEND", ";", "src", "=", "XEXP", "(", "src", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "src", ")", "!=", "MEM", "||", "GET_MODE", "(", "src", ")", "!=", "SImode", ")", "return", "SCHED_FUSION_NONE", ";", "}", "else", "if", "(", "GET_CODE", "(", "src", ")", "==", "ZERO_EXTEND", ")", "{", "fusion", "=", "SCHED_FUSION_LD_ZERO_EXTEND", ";", "src", "=", "XEXP", "(", "src", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "src", ")", "!=", "MEM", "||", "GET_MODE", "(", "src", ")", "!=", "SImode", ")", "return", "SCHED_FUSION_NONE", ";", "}", "if", "(", "GET_CODE", "(", "src", ")", "==", "MEM", "&&", "REG_P", "(", "dest", ")", ")", "extract_base_offset_in_addr", "(", "src", ",", "base", ",", "offset", ")", ";", "else", "if", "(", "GET_CODE", "(", "dest", ")", "==", "MEM", "&&", "(", "REG_P", "(", "src", ")", "||", "src", "==", "const0_rtx", ")", ")", "{", "fusion", "=", "SCHED_FUSION_ST", ";", "extract_base_offset_in_addr", "(", "dest", ",", "base", ",", "offset", ")", ";", "}", "else", "return", "SCHED_FUSION_NONE", ";", "if", "(", "*", "base", "==", "NULL_RTX", "||", "*", "offset", "==", "NULL_RTX", ")", "fusion", "=", "SCHED_FUSION_NONE", ";", "return", "fusion", ";", "}", ""], "natrual_language": ["If", "INSN", "is", "a", "load", "or", "store", "of", "address", "in", "the", "form", "of", "[", "base+offset", "]", ",", "extract", "the", "two", "parts", "and", "set", "to", "BASE", "and", "OFFSET", ".", "IS_LOAD", "is", "set", "to", "TRUE", "if", "it", "'s", "a", "load", ".", "Return", "TRUE", "if", "INSN", "is", "such", "an", "instruction", ",", "otherwise", "return", "FALSE", "."], "TS_V_token": ["aarch64", "0", "0"], "File": "aarch64", "Func": "fusion_load_store", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3670, "Length": 261, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0FrameLowering", "::", "determineFrameLayout", "(", "MachineFunction", "&", "MF", ")", "const", "{", "}", ""], "natrual_language": ["Determine", "the", "frame", "layout", "but", "do", "not", "update", "the", "machine", "function", "."], "TS_V_token": ["Cpu0", "Cpu0"], "File": "Cpu0FrameLowering3", "Func": "determineFrameLayout", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3671, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "emit_fusion_p9_load", "(", "rtx", "reg", ",", "rtx", "mem", ",", "rtx", "tmp_reg", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "reg", ")", ";", "rtx", "hi", ";", "rtx", "lo", ";", "rtx", "addr", ";", "const", "char", "*", "load_string", ";", "int", "r", ";", "if", "(", "GET_CODE", "(", "mem", ")", "==", "FLOAT_EXTEND", "||", "GET_CODE", "(", "mem", ")", "==", "ZERO_EXTEND", ")", "{", "mem", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "}", "if", "(", "GET_CODE", "(", "reg", ")", "==", "SUBREG", ")", "{", "gcc_assert", "(", "SUBREG_BYTE", "(", "reg", ")", "==", "0", ")", ";", "reg", "=", "SUBREG_REG", "(", "reg", ")", ";", "}", "if", "(", "!", "REG_P", "(", "reg", ")", ")", "fatal_insn", "(", "\"emit_fusion_p9_load, bad reg #1\"", ",", "reg", ")", ";", "r", "=", "REGNO", "(", "reg", ")", ";", "if", "(", "FP_REGNO_P", "(", "r", ")", ")", "{", "if", "(", "mode", "==", "SFmode", ")", "load_string", "=", "\"lfs\"", ";", "else", "if", "(", "mode", "==", "DFmode", "||", "mode", "==", "DImode", ")", "load_string", "=", "\"lfd\"", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "else", "if", "(", "ALTIVEC_REGNO_P", "(", "r", ")", "&&", "TARGET_P9_DFORM_SCALAR", ")", "{", "if", "(", "mode", "==", "SFmode", ")", "load_string", "=", "\"lxssp\"", ";", "else", "if", "(", "mode", "==", "DFmode", "||", "mode", "==", "DImode", ")", "load_string", "=", "\"lxsd\"", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "else", "if", "(", "INT_REGNO_P", "(", "r", ")", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "load_string", "=", "\"lbz\"", ";", "break", ";", "case", "E_HImode", ":", "load_string", "=", "\"lhz\"", ";", "break", ";", "case", "E_SImode", ":", "case", "E_SFmode", ":", "load_string", "=", "\"lwz\"", ";", "break", ";", "case", "E_DImode", ":", "case", "E_DFmode", ":", "if", "(", "!", "TARGET_POWERPC64", ")", "gcc_unreachable", "(", ")", ";", "load_string", "=", "\"ld\"", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "fatal_insn", "(", "\"emit_fusion_p9_load, bad reg #2\"", ",", "reg", ")", ";", "if", "(", "!", "MEM_P", "(", "mem", ")", ")", "fatal_insn", "(", "\"emit_fusion_p9_load not MEM\"", ",", "mem", ")", ";", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "fusion_split_address", "(", "addr", ",", "&", "hi", ",", "&", "lo", ")", ";", "emit_fusion_addis", "(", "tmp_reg", ",", "hi", ",", "\"power9 load fusion\"", ",", "GET_MODE_NAME", "(", "mode", ")", ")", ";", "emit_fusion_load_store", "(", "reg", ",", "tmp_reg", ",", "lo", ",", "load_string", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Return", "a", "string", "to", "fuse", "an", "addis", "instruction", "with", "a", "load", "using", "extended", "fusion", ".", "The", "address", "that", "is", "used", "is", "the", "logical", "address", "that", "was", "formed", "during", "peephole2", ":", "(", "lo_sum", "(", "high", ")", "(", "low-part", ")", ")", "The", "code", "is", "complicated", ",", "so", "we", "call", "output_asm_insn", "directly", ",", "and", "just", "return", "``", "''", "."], "TS_V_token": ["powerpcspe", "0", "0", "\"emit_fusion_p9_load, bad reg #1\"", "\"lfs\"", "\"lfd\"", "\"lxssp\"", "\"lxsd\"", "\"lbz\"", "\"lhz\"", "\"lwz\"", "\"ld\"", "\"emit_fusion_p9_load, bad reg #2\"", "\"emit_fusion_p9_load not MEM\"", "0", "\"power9 load fusion\"", "\"\""], "File": "powerpcspe", "Func": "emit_fusion_p9_load", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3672, "Length": 350, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_can_change_mode_class", "(", "machine_mode", "from", ",", "machine_mode", "to", ",", "reg_class_t", "rclass", ")", "{", "unsigned", "from_size", "=", "GET_MODE_SIZE", "(", "from", ")", ";", "unsigned", "to_size", "=", "GET_MODE_SIZE", "(", "to", ")", ";", "if", "(", "from_size", "!=", "to_size", ")", "{", "enum", "reg_class", "xclass", "=", "(", "TARGET_VSX", ")", "?", "VSX_REGS", ":", "FLOAT_REGS", ";", "if", "(", "reg_classes_intersect_p", "(", "xclass", ",", "rclass", ")", ")", "{", "unsigned", "to_nregs", "=", "hard_regno_nregs", "(", "FIRST_FPR_REGNO", ",", "to", ")", ";", "unsigned", "from_nregs", "=", "hard_regno_nregs", "(", "FIRST_FPR_REGNO", ",", "from", ")", ";", "bool", "to_float128_vector_p", "=", "FLOAT128_VECTOR_P", "(", "to", ")", ";", "bool", "from_float128_vector_p", "=", "FLOAT128_VECTOR_P", "(", "from", ")", ";", "if", "(", "to_float128_vector_p", "&&", "from_float128_vector_p", ")", "return", "true", ";", "else", "if", "(", "to_float128_vector_p", "||", "from_float128_vector_p", ")", "return", "false", ";", "if", "(", "!", "BYTES_BIG_ENDIAN", "&&", "(", "to", "==", "TDmode", "||", "from", "==", "TDmode", ")", ")", "return", "false", ";", "if", "(", "from_size", "<", "8", "||", "to_size", "<", "8", ")", "return", "false", ";", "if", "(", "from_size", "==", "8", "&&", "(", "8", "*", "to_nregs", ")", "!=", "to_size", ")", "return", "false", ";", "if", "(", "to_size", "==", "8", "&&", "(", "8", "*", "from_nregs", ")", "!=", "from_size", ")", "return", "false", ";", "return", "true", ";", "}", "else", "return", "true", ";", "}", "if", "(", "TARGET_E500_DOUBLE", "&&", "(", "(", "(", "(", "to", ")", "==", "DFmode", ")", "+", "(", "(", "from", ")", "==", "DFmode", ")", ")", "==", "1", "||", "(", "(", "(", "to", ")", "==", "TFmode", ")", "+", "(", "(", "from", ")", "==", "TFmode", ")", ")", "==", "1", "||", "(", "(", "(", "to", ")", "==", "IFmode", ")", "+", "(", "(", "from", ")", "==", "IFmode", ")", ")", "==", "1", "||", "(", "(", "(", "to", ")", "==", "KFmode", ")", "+", "(", "(", "from", ")", "==", "KFmode", ")", ")", "==", "1", "||", "(", "(", "(", "to", ")", "==", "DDmode", ")", "+", "(", "(", "from", ")", "==", "DDmode", ")", ")", "==", "1", "||", "(", "(", "(", "to", ")", "==", "TDmode", ")", "+", "(", "(", "from", ")", "==", "TDmode", ")", ")", "==", "1", "||", "(", "(", "(", "to", ")", "==", "DImode", ")", "+", "(", "(", "from", ")", "==", "DImode", ")", ")", "==", "1", ")", ")", "return", "false", ";", "if", "(", "TARGET_VSX", "&&", "VSX_REG_CLASS_P", "(", "rclass", ")", ")", "{", "unsigned", "num_regs", "=", "(", "from_size", "+", "15", ")", "/", "16", ";", "if", "(", "hard_regno_nregs", "(", "FIRST_FPR_REGNO", ",", "to", ")", ">", "num_regs", "||", "hard_regno_nregs", "(", "FIRST_FPR_REGNO", ",", "from", ")", ">", "num_regs", ")", "return", "false", ";", "return", "(", "from_size", "==", "8", "||", "from_size", "==", "16", ")", ";", "}", "if", "(", "TARGET_ALTIVEC", "&&", "rclass", "==", "ALTIVEC_REGS", "&&", "(", "ALTIVEC_VECTOR_MODE", "(", "from", ")", "+", "ALTIVEC_VECTOR_MODE", "(", "to", ")", ")", "==", "1", ")", "return", "false", ";", "if", "(", "TARGET_SPE", "&&", "(", "SPE_VECTOR_MODE", "(", "from", ")", "+", "SPE_VECTOR_MODE", "(", "to", ")", ")", "==", "1", "&&", "reg_classes_intersect_p", "(", "GENERAL_REGS", ",", "rclass", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CAN_CHANGE_MODE_CLASS", "."], "TS_V_token": ["powerpcspe", "8", "8", "8", "8", "8", "8", "1", "1", "1", "1", "1", "1", "1", "15", "16", "8", "16", "1", "1"], "File": "powerpcspe", "Func": "rs6000_can_change_mode_class", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3673, "Length": 450, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16TargetLowering", "::", "getOpndList", "(", "SmallVectorImpl", "<", "SDValue", ">", "&", "Ops", ",", "std", "::", "deque", "<", "std", "::", "pair", "<", "unsigned", ",", "SDValue", ">", ">", "&", "RegsToPass", ",", "bool", "IsPICCall", ",", "bool", "GlobalOrExternal", ",", "bool", "InternalLinkage", ",", "CallLoweringInfo", "&", "CLI", ",", "SDValue", "Callee", ",", "SDValue", "Chain", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "CLI", ".", "DAG", ";", "const", "char", "*", "Mips16HelperFunction", "=", "0", ";", "bool", "NeedMips16Helper", "=", "false", ";", "if", "(", "getTargetMachine", "(", ")", ".", "Options", ".", "UseSoftFloat", "&&", "Subtarget", "->", "inMips16HardFloat", "(", ")", ")", "{", "bool", "LookupHelper", "=", "true", ";", "if", "(", "ExternalSymbolSDNode", "*", "S", "=", "dyn_cast", "<", "ExternalSymbolSDNode", ">", "(", "CLI", ".", "Callee", ")", ")", "{", "Mips16Libcall", "Find", "=", "{", "RTLIB", "::", "UNKNOWN_LIBCALL", ",", "S", "->", "getSymbol", "(", ")", "}", ";", "if", "(", "std", "::", "binary_search", "(", "HardFloatLibCalls", ",", "array_endof", "(", "HardFloatLibCalls", ")", ",", "Find", ")", ")", "LookupHelper", "=", "false", ";", "}", "else", "if", "(", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "CLI", ".", "Callee", ")", ")", "{", "Mips16Libcall", "Find", "=", "{", "RTLIB", "::", "UNKNOWN_LIBCALL", ",", "G", "->", "getGlobal", "(", ")", "->", "getName", "(", ")", ".", "data", "(", ")", "}", ";", "if", "(", "std", "::", "binary_search", "(", "HardFloatLibCalls", ",", "array_endof", "(", "HardFloatLibCalls", ")", ",", "Find", ")", ")", "LookupHelper", "=", "false", ";", "}", "if", "(", "LookupHelper", ")", "Mips16HelperFunction", "=", "getMips16HelperFunction", "(", "CLI", ".", "RetTy", ",", "CLI", ".", "Args", ",", "NeedMips16Helper", ")", ";", "}", "SDValue", "JumpTarget", "=", "Callee", ";", "if", "(", "IsPICCall", "||", "!", "GlobalOrExternal", ")", "{", "unsigned", "V0Reg", "=", "Mips", "::", "V0", ";", "if", "(", "NeedMips16Helper", ")", "{", "RegsToPass", ".", "push_front", "(", "std", "::", "make_pair", "(", "V0Reg", ",", "Callee", ")", ")", ";", "JumpTarget", "=", "DAG", ".", "getExternalSymbol", "(", "Mips16HelperFunction", ",", "getPointerTy", "(", ")", ")", ";", "JumpTarget", "=", "getAddrGlobal", "(", "JumpTarget", ",", "DAG", ",", "MipsII", "::", "MO_GOT", ")", ";", "}", "else", "RegsToPass", ".", "push_front", "(", "std", "::", "make_pair", "(", "(", "unsigned", ")", "Mips", "::", "T9", ",", "Callee", ")", ")", ";", "}", "Ops", ".", "push_back", "(", "JumpTarget", ")", ";", "MipsTargetLowering", "::", "getOpndList", "(", "Ops", ",", "RegsToPass", ",", "IsPICCall", ",", "GlobalOrExternal", ",", "InternalLinkage", ",", "CLI", ",", "Callee", ",", "Chain", ")", ";", "}", ""], "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", "0", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::V0", "Mips", "Mips", "MipsII::MO_GOT", "Mips::T9", "Mips"], "File": "Mips16ISelLowering9", "Func": "getOpndList", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3674, "Length": 342, "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": 3675, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "setSpecialOperandAttr", "(", "MachineInstr", "&", "OldMI1", ",", "MachineInstr", "&", "OldMI2", ",", "MachineInstr", "&", "NewMI1", ",", "MachineInstr", "&", "NewMI2", ")", "const", "{", "uint16_t", "IntersectedFlags", "=", "OldMI1", ".", "getFlags", "(", ")", "&", "OldMI2", ".", "getFlags", "(", ")", ";", "NewMI1", ".", "setFlags", "(", "IntersectedFlags", ")", ";", "NewMI1", ".", "clearFlag", "(", "MachineInstr", "::", "MIFlag", "::", "NoSWrap", ")", ";", "NewMI1", ".", "clearFlag", "(", "MachineInstr", "::", "MIFlag", "::", "NoUWrap", ")", ";", "NewMI1", ".", "clearFlag", "(", "MachineInstr", "::", "MIFlag", "::", "IsExact", ")", ";", "NewMI2", ".", "setFlags", "(", "IntersectedFlags", ")", ";", "NewMI2", ".", "clearFlag", "(", "MachineInstr", "::", "MIFlag", "::", "NoSWrap", ")", ";", "NewMI2", ".", "clearFlag", "(", "MachineInstr", "::", "MIFlag", "::", "NoUWrap", ")", ";", "NewMI2", ".", "clearFlag", "(", "MachineInstr", "::", "MIFlag", "::", "IsExact", ")", ";", "MachineOperand", "*", "OldFlagDef1", "=", "OldMI1", ".", "findRegisterDefOperand", "(", "X86", "::", "EFLAGS", ")", ";", "MachineOperand", "*", "OldFlagDef2", "=", "OldMI2", ".", "findRegisterDefOperand", "(", "X86", "::", "EFLAGS", ")", ";", "assert", "(", "!", "OldFlagDef1", "==", "!", "OldFlagDef2", "&&", "\"Unexpected instruction type for reassociation\"", ")", ";", "if", "(", "!", "OldFlagDef1", "||", "!", "OldFlagDef2", ")", "return", ";", "assert", "(", "OldFlagDef1", "->", "isDead", "(", ")", "&&", "OldFlagDef2", "->", "isDead", "(", ")", "&&", "\"Must have dead EFLAGS operand in reassociable instruction\"", ")", ";", "MachineOperand", "*", "NewFlagDef1", "=", "NewMI1", ".", "findRegisterDefOperand", "(", "X86", "::", "EFLAGS", ")", ";", "MachineOperand", "*", "NewFlagDef2", "=", "NewMI2", ".", "findRegisterDefOperand", "(", "X86", "::", "EFLAGS", ")", ";", "assert", "(", "NewFlagDef1", "&&", "NewFlagDef2", "&&", "\"Unexpected operand in reassociable instruction\"", ")", ";", "NewFlagDef1", "->", "setIsDead", "(", ")", ";", "NewFlagDef2", "->", "setIsDead", "(", ")", ";", "}", ""], "natrual_language": ["This", "is", "an", "architecture-specific", "helper", "function", "of", "reassociateOps", "."], "TS_V_token": ["X86", "X86", "X86::EFLAGS", "X86::EFLAGS", "\"Unexpected instruction type for reassociation\"", "\"Must have dead EFLAGS operand in reassociable instruction\"", "X86::EFLAGS", "X86::EFLAGS", "\"Unexpected operand in reassociable instruction\""], "File": "X86InstrInfo (2)3", "Func": "setSpecialOperandAttr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3676, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "X86TargetLowering", "::", "getStackProbeSymbolName", "(", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"probe-stack\"", ")", ")", "return", "MF", ".", "getFunction", "(", ")", ".", "getFnAttribute", "(", "\"probe-stack\"", ")", ".", "getValueAsString", "(", ")", ";", "if", "(", "!", "Subtarget", ".", "isOSWindows", "(", ")", "||", "Subtarget", ".", "isTargetMachO", "(", ")", ")", "return", "\"\"", ";", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "return", "Subtarget", ".", "isTargetCygMing", "(", ")", "?", "\"___chkstk_ms\"", ":", "\"__chkstk\"", ";", "return", "Subtarget", ".", "isTargetCygMing", "(", ")", "?", "\"_alloca\"", ":", "\"_chkstk\"", ";", "}", ""], "natrual_language": ["Returns", "the", "name", "of", "the", "symbol", "used", "to", "emit", "stack", "probes", "or", "the", "empty", "string", "if", "not", "applicable", "."], "TS_V_token": ["X86", "X86", "\"probe-stack\"", "\"probe-stack\"", "\"\"", "\"___chkstk_ms\"", "\"__chkstk\"", "\"_alloca\"", "\"_chkstk\""], "File": "X86ISelLowering184", "Func": "getStackProbeSymbolName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3677, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "loongarch_output_ascii", "(", "FILE", "*", "stream", ",", "const", "char", "*", "string", ",", "size_t", "len", ")", "{", "size_t", "i", ";", "int", "cur_pos", ";", "cur_pos", "=", "17", ";", "fprintf", "(", "stream", ",", "\"\\t.ascii\\t\\\"\"", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "len", ";", "i", "++", ")", "{", "int", "c", ";", "c", "=", "(", "unsigned", "char", ")", "string", "[", "i", "]", ";", "if", "(", "ISPRINT", "(", "c", ")", ")", "{", "if", "(", "c", "==", "'\\\\'", "||", "c", "==", "'\\\"'", ")", "{", "putc", "(", "'\\\\'", ",", "stream", ")", ";", "cur_pos", "++", ";", "}", "putc", "(", "c", ",", "stream", ")", ";", "cur_pos", "++", ";", "}", "else", "{", "fprintf", "(", "stream", ",", "\"\\\\%03o\"", ",", "c", ")", ";", "cur_pos", "+=", "4", ";", "}", "if", "(", "cur_pos", ">", "72", "&&", "i", "+", "1", "<", "len", ")", "{", "cur_pos", "=", "17", ";", "fprintf", "(", "stream", ",", "\"\\\"\\n\\t.ascii\\t\\\"\"", ")", ";", "}", "}", "fprintf", "(", "stream", ",", "\"\\\"\\n\"", ")", ";", "}", ""], "natrual_language": ["Implement", "ASM_OUTPUT_ASCII", "."], "TS_V_token": ["loongarch", "17", "\"\\t.ascii\\t\\\"\"", "0", "\"\\\\%03o\"", "4", "72", "1", "17", "\"\\\"\\n\\t.ascii\\t\\\"\"", "\"\\\"\\n\""], "File": "loongarch", "Func": "loongarch_output_ascii", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3678, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_const_double_inline_cost", "(", "rtx", "val", ")", "{", "rtx", "lowpart", ",", "highpart", ";", "enum", "machine_mode", "mode", ";", "mode", "=", "GET_MODE", "(", "val", ")", ";", "if", "(", "mode", "==", "VOIDmode", ")", "mode", "=", "DImode", ";", "gcc_assert", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "8", ")", ";", "lowpart", "=", "gen_lowpart", "(", "SImode", ",", "val", ")", ";", "highpart", "=", "gen_highpart_mode", "(", "SImode", ",", "mode", ",", "val", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "lowpart", ")", "==", "CONST_INT", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "highpart", ")", "==", "CONST_INT", ")", ";", "return", "(", "arm_gen_constant", "(", "SET", ",", "SImode", ",", "NULL_RTX", ",", "INTVAL", "(", "lowpart", ")", ",", "NULL_RTX", ",", "NULL_RTX", ",", "0", ",", "0", ")", "+", "arm_gen_constant", "(", "SET", ",", "SImode", ",", "NULL_RTX", ",", "INTVAL", "(", "highpart", ")", ",", "NULL_RTX", ",", "NULL_RTX", ",", "0", ",", "0", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "synthesizing", "a", "64-bit", "constant", "VAL", "inline", ".", "Returns", "the", "number", "of", "insns", "needed", ",", "or", "99", "if", "we", "do", "n't", "know", "how", "to", "do", "it", "."], "TS_V_token": ["arm", "8", "0", "0", "0", "0"], "File": "arm3", "Func": "arm_const_double_inline_cost", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3679, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isShuffleMaskLegal", "(", "const", "SmallVectorImpl", "<", "int", ">", "&", "M", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "false", ";", "return", "isTypeLegal", "(", "VT", ".", "getSimpleVT", "(", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "can", "use", "this", "to", "indicate", "that", "they", "only", "support", "some", "VECTOR_SHUFFLE", "operations", ",", "those", "with", "specific", "masks", "."], "TS_V_token": ["X86", "X86", "64"], "File": "X86ISelLowering200", "Func": "isShuffleMaskLegal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3680, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_macro_fusion_pair_p", "(", "rtx_insn", "*", "condgen", ",", "rtx_insn", "*", "condjmp", ")", "{", "rtx", "src", ",", "dest", ";", "enum", "rtx_code", "ccode", ";", "rtx", "compare_set", "=", "NULL_RTX", ",", "test_if", ",", "cond", ";", "rtx", "alu_set", "=", "NULL_RTX", ",", "addr", "=", "NULL_RTX", ";", "if", "(", "!", "any_condjump_p", "(", "condjmp", ")", ")", "return", "false", ";", "if", "(", "get_attr_type", "(", "condgen", ")", "!=", "TYPE_TEST", "&&", "get_attr_type", "(", "condgen", ")", "!=", "TYPE_ICMP", "&&", "get_attr_type", "(", "condgen", ")", "!=", "TYPE_INCDEC", "&&", "get_attr_type", "(", "condgen", ")", "!=", "TYPE_ALU", ")", "return", "false", ";", "compare_set", "=", "single_set", "(", "condgen", ")", ";", "if", "(", "compare_set", "==", "NULL_RTX", "&&", "!", "TARGET_FUSE_ALU_AND_BRANCH", ")", "return", "false", ";", "if", "(", "compare_set", "==", "NULL_RTX", ")", "{", "int", "i", ";", "rtx", "pat", "=", "PATTERN", "(", "condgen", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "XVECLEN", "(", "pat", ",", "0", ")", ";", "i", "++", ")", "if", "(", "GET_CODE", "(", "XVECEXP", "(", "pat", ",", "0", ",", "i", ")", ")", "==", "SET", ")", "{", "rtx", "set_src", "=", "SET_SRC", "(", "XVECEXP", "(", "pat", ",", "0", ",", "i", ")", ")", ";", "if", "(", "GET_CODE", "(", "set_src", ")", "==", "COMPARE", ")", "compare_set", "=", "XVECEXP", "(", "pat", ",", "0", ",", "i", ")", ";", "else", "alu_set", "=", "XVECEXP", "(", "pat", ",", "0", ",", "i", ")", ";", "}", "}", "if", "(", "compare_set", "==", "NULL_RTX", ")", "return", "false", ";", "src", "=", "SET_SRC", "(", "compare_set", ")", ";", "if", "(", "GET_CODE", "(", "src", ")", "!=", "COMPARE", ")", "return", "false", ";", "if", "(", "(", "MEM_P", "(", "XEXP", "(", "src", ",", "0", ")", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "src", ",", "1", ")", ")", ")", "||", "(", "MEM_P", "(", "XEXP", "(", "src", ",", "1", ")", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "src", ",", "0", ")", ")", ")", ")", "return", "false", ";", "if", "(", "MEM_P", "(", "XEXP", "(", "src", ",", "0", ")", ")", ")", "addr", "=", "XEXP", "(", "XEXP", "(", "src", ",", "0", ")", ",", "0", ")", ";", "else", "if", "(", "MEM_P", "(", "XEXP", "(", "src", ",", "1", ")", ")", ")", "addr", "=", "XEXP", "(", "XEXP", "(", "src", ",", "1", ")", ",", "0", ")", ";", "if", "(", "addr", ")", "{", "ix86_address", "parts", ";", "int", "ok", "=", "ix86_decompose_address", "(", "addr", ",", "&", "parts", ")", ";", "gcc_assert", "(", "ok", ")", ";", "if", "(", "rip_relative_addr_p", "(", "&", "parts", ")", ")", "return", "false", ";", "}", "test_if", "=", "SET_SRC", "(", "pc_set", "(", "condjmp", ")", ")", ";", "cond", "=", "XEXP", "(", "test_if", ",", "0", ")", ";", "ccode", "=", "GET_CODE", "(", "cond", ")", ";", "if", "(", "!", "TARGET_FUSE_CMP_AND_BRANCH_SOFLAGS", "&&", "(", "ccode", "==", "GE", "||", "ccode", "==", "GT", "||", "ccode", "==", "LE", "||", "ccode", "==", "LT", ")", ")", "return", "false", ";", "if", "(", "get_attr_type", "(", "condgen", ")", "==", "TYPE_TEST", "||", "get_attr_type", "(", "condgen", ")", "==", "TYPE_ICMP", ")", "return", "true", ";", "if", "(", "!", "TARGET_FUSE_ALU_AND_BRANCH", "||", "!", "alu_set", ")", "return", "false", ";", "dest", "=", "SET_DEST", "(", "alu_set", ")", ";", "if", "(", "MEM_P", "(", "dest", ")", ")", "return", "false", ";", "if", "(", "get_attr_type", "(", "condgen", ")", "==", "TYPE_INCDEC", "&&", "(", "ccode", "==", "GEU", "||", "ccode", "==", "GTU", "||", "ccode", "==", "LEU", "||", "ccode", "==", "LTU", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Check", "whether", "current", "microarchitecture", "support", "macro", "fusion", "for", "insn", "pair", "``", "CONDGEN", "+", "CONDJMP", "''", ".", "Refer", "to", "``", "Intel", "Architectures", "Optimization", "Reference", "Manual", "''", "."], "TS_V_token": ["i386", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "0", "0", "0", "1", "1", "0", "0"], "File": "i3864", "Func": "ix86_macro_fusion_pair_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3681, "Length": 504, "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": ["LEG"], "File": "LEGTargetMachine", "Func": "getObjFileLowering", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3682, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_can_use_return_insn_p", "(", "void", ")", "{", "struct", "ix86_frame", "frame", ";", "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", ";", "ix86_compute_frame_layout", "(", "&", "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": "i3866", "Func": "ix86_can_use_return_insn_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3683, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "Register", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "assert", "(", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectSize", "(", "FrameIdx", ")", ">=", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", "&&", "\"Stack slot too small for store\"", ")", ";", "unsigned", "Alignment", "=", "std", "::", "max", "<", "uint32_t", ">", "(", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", ",", "16", ")", ";", "bool", "isAligned", "=", "(", "Subtarget", ".", "getFrameLowering", "(", ")", "->", "getStackAlign", "(", ")", ">=", "Alignment", ")", "||", "RI", ".", "canRealignStack", "(", "MF", ")", ";", "unsigned", "Opc", "=", "getStoreRegOpcode", "(", "SrcReg", ",", "RC", ",", "isAligned", ",", "Subtarget", ")", ";", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "MI", ",", "DebugLoc", "(", ")", ",", "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\"", "16"], "File": "X86InstrInfo136", "Func": "storeRegToStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3684, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "SparcELFTargetObjectFile", "::", "getTTypeGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "unsigned", "Encoding", ",", "Mangler", "&", "Mang", ",", "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\"", ",", "Mang", ",", "TM", ")", ";", "MachineModuleInfoImpl", "::", "StubValueTy", "&", "StubSym", "=", "ELFMMI", ".", "getGVStubEntry", "(", "SSym", ")", ";", "if", "(", "StubSym", ".", "getPointer", "(", ")", "==", "0", ")", "{", "MCSymbol", "*", "Sym", "=", "TM", ".", "getSymbol", "(", "GV", ",", "Mang", ")", ";", "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", ",", "Mang", ",", "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\"", "0", "Sparc", "Sparc", "SP"], "File": "SparcTargetObjectFile", "Func": "getTTypeGlobalReference", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3685, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_lra_p", "(", "void", ")", "{", "return", "sh_lra_flag", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "use", "LRA", "instead", "of", "reload", "pass", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "sh_lra_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3686, "Length": 10, "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", "::", "LW_P8", ")", "||", "(", "Opc", "==", "Mips", "::", "LD", ")", "||", "(", "Opc", "==", "Mips", "::", "LD_P8", ")", "||", "(", "Opc", "==", "Mips", "::", "LWC1", ")", "||", "(", "Opc", "==", "Mips", "::", "LWC1_P8", ")", "||", "(", "Opc", "==", "Mips", "::", "LDC1", ")", "||", "(", "Opc", "==", "Mips", "::", "LDC164", ")", "||", "(", "Opc", "==", "Mips", "::", "LDC164_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": ["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::LW_P8", "Mips::LD", "Mips::LD_P8", "Mips::LWC1", "Mips::LWC1_P8", "Mips::LDC1", "Mips::LDC164", "Mips::LDC164_P8", "1", "2", "2", "1", "0", "0"], "File": "MipsSEInstrInfo1", "Func": "isLoadFromStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3687, "Length": 172, "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": ["PowerPC"], "File": "PPCAsmParser (2)1", "Func": "getEndLoc", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3688, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_assemble_integer", "(", "rtx", "x", ",", "unsigned", "int", "size", ",", "int", "aligned_p", ")", "{", "machine_mode", "mode", ";", "if", "(", "size", "==", "UNITS_PER_WORD", "&&", "aligned_p", ")", "{", "fputs", "(", "\"\\t.word\\t\"", ",", "asm_out_file", ")", ";", "output_addr_const", "(", "asm_out_file", ",", "x", ")", ";", "if", "(", "NEED_GOT_RELOC", "&&", "flag_pic", "&&", "making_const_table", "&&", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", ")", ")", "{", "if", "(", "!", "arm_pic_data_is_text_relative", "||", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "!", "SYMBOL_REF_LOCAL_P", "(", "x", ")", ")", ")", "fputs", "(", "\"(GOT)\"", ",", "asm_out_file", ")", ";", "else", "fputs", "(", "\"(GOTOFF)\"", ",", "asm_out_file", ")", ";", "}", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "return", "true", ";", "}", "mode", "=", "GET_MODE", "(", "x", ")", ";", "if", "(", "arm_vector_mode_supported_p", "(", "mode", ")", ")", "{", "int", "i", ",", "units", ";", "gcc_assert", "(", "GET_CODE", "(", "x", ")", "==", "CONST_VECTOR", ")", ";", "units", "=", "CONST_VECTOR_NUNITS", "(", "x", ")", ";", "size", "=", "GET_MODE_UNIT_SIZE", "(", "mode", ")", ";", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_INT", ")", "for", "(", "i", "=", "0", ";", "i", "<", "units", ";", "i", "++", ")", "{", "rtx", "elt", "=", "CONST_VECTOR_ELT", "(", "x", ",", "i", ")", ";", "assemble_integer", "(", "elt", ",", "size", ",", "i", "==", "0", "?", "BIGGEST_ALIGNMENT", ":", "size", "*", "BITS_PER_UNIT", ",", "1", ")", ";", "}", "else", "for", "(", "i", "=", "0", ";", "i", "<", "units", ";", "i", "++", ")", "{", "rtx", "elt", "=", "CONST_VECTOR_ELT", "(", "x", ",", "i", ")", ";", "assemble_real", "(", "*", "CONST_DOUBLE_REAL_VALUE", "(", "elt", ")", ",", "GET_MODE_INNER", "(", "mode", ")", ",", "i", "==", "0", "?", "BIGGEST_ALIGNMENT", ":", "size", "*", "BITS_PER_UNIT", ")", ";", "}", "return", "true", ";", "}", "return", "default_assemble_integer", "(", "x", ",", "size", ",", "aligned_p", ")", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "assembling", "integer", "objects", ".", "The", "ARM", "version", "needs", "to", "handle", "word-sized", "values", "specially", "."], "TS_V_token": ["arm", "\"\\t.word\\t\"", "\"(GOT)\"", "\"(GOTOFF)\"", "0", "0", "1", "0", "0"], "File": "arm5", "Func": "arm_assemble_integer", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3689, "Length": 275, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", ")", "{", "tree", "fntype", ";", "if", "(", "CALL_EXPR_STATIC_CHAIN", "(", "exp", ")", ")", "return", "false", ";", "if", "(", "decl", ")", "fntype", "=", "TREE_TYPE", "(", "decl", ")", ";", "else", "fntype", "=", "TREE_TYPE", "(", "TREE_TYPE", "(", "CALL_EXPR_FN", "(", "exp", ")", ")", ")", ";", "if", "(", "TARGET_ALTIVEC_ABI", "&&", "TARGET_ALTIVEC_VRSAVE", "&&", "!", "(", "decl", "&&", "decl", "==", "current_function_decl", ")", ")", "{", "function_args_iterator", "args_iter", ";", "tree", "type", ";", "int", "nvreg", "=", "0", ";", "FOREACH_FUNCTION_ARGS", "(", "fntype", ",", "type", ",", "args_iter", ")", "if", "(", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", "&&", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "TYPE_MODE", "(", "type", ")", ")", ")", "nvreg", "++", ";", "FOREACH_FUNCTION_ARGS", "(", "TREE_TYPE", "(", "current_function_decl", ")", ",", "type", ",", "args_iter", ")", "if", "(", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", "&&", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "TYPE_MODE", "(", "type", ")", ")", ")", "nvreg", "--", ";", "if", "(", "nvreg", ">", "0", ")", "return", "false", ";", "}", "if", "(", "DEFAULT_ABI", "==", "ABI_DARWIN", "||", "(", "(", "DEFAULT_ABI", "==", "ABI_AIX", "||", "DEFAULT_ABI", "==", "ABI_ELFv2", ")", "&&", "decl", "&&", "!", "DECL_EXTERNAL", "(", "decl", ")", "&&", "!", "DECL_WEAK", "(", "decl", ")", "&&", "(", "*", "targetm", ".", "binds_local_p", ")", "(", "decl", ")", ")", "||", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "(", "!", "TARGET_SECURE_PLT", "||", "!", "flag_pic", "||", "(", "decl", "&&", "(", "*", "targetm", ".", "binds_local_p", ")", "(", "decl", ")", ")", ")", ")", ")", "{", "tree", "attr_list", "=", "TYPE_ATTRIBUTES", "(", "fntype", ")", ";", "if", "(", "!", "lookup_attribute", "(", "\"longcall\"", ",", "attr_list", ")", "||", "lookup_attribute", "(", "\"shortcall\"", ",", "attr_list", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Say", "whether", "a", "function", "is", "a", "candidate", "for", "sibcall", "handling", "or", "not", ".", "We", "do", "not", "allow", "indirect", "calls", "to", "be", "optimized", "into", "sibling", "calls", ".", "Also", ",", "we", "ca", "n't", "do", "it", "if", "there", "are", "any", "vector", "parameters", ";", "there", "'s", "nowhere", "to", "put", "the", "VRsave", "code", "so", "it", "works", ";", "note", "that", "functions", "with", "vector", "parameters", "are", "required", "to", "have", "a", "prototype", ",", "so", "the", "argument", "type", "info", "must", "be", "available", "here", ".", "(", "The", "tail", "recursion", "case", "can", "work", "with", "vector", "parameters", ",", "but", "there", "'s", "no", "way", "to", "distinguish", "here", ".", ")"], "TS_V_token": ["rs6000", "0", "0", "\"longcall\"", "\"shortcall\""], "File": "rs60008", "Func": "rs6000_function_ok_for_sibcall", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3690, "Length": 249, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_legitimate_address_p", "(", "enum", "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", "&&", "(", "TARGET_SOFT_FLOAT", "||", "TARGET_VFP", ")", ")", ")", ")", ";", "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", "&&", "GET_CODE", "(", "addend", ")", "==", "REG", ")", "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", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "1", ")", ")", "==", "CONST_INT", ")", ")", ")", "return", "1", ";", "else", "if", "(", "mode", "==", "TImode", ")", "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", ")", "&&", "arm_legitimate_index_p", "(", "mode", ",", "xop1", ",", "outer", ",", "strict_p", ")", ")", "||", "(", "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": "arm3", "Func": "arm_legitimate_address_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3691, "Length": 482, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "choose_basereg", "(", "HOST_WIDE_INT", "cfa_offset", ",", "rtx", "&", "base_reg", ",", "HOST_WIDE_INT", "&", "base_offset", ",", "unsigned", "int", "align_reqested", ",", "unsigned", "int", "*", "align", ")", "{", "const", "struct", "machine_function", "*", "m", "=", "cfun", "->", "machine", ";", "unsigned", "int", "hfp_align", ";", "unsigned", "int", "drap_align", ";", "unsigned", "int", "sp_align", ";", "bool", "hfp_ok", "=", "fp_valid_at", "(", "cfa_offset", ")", ";", "bool", "drap_ok", "=", "m", "->", "fs", ".", "drap_valid", ";", "bool", "sp_ok", "=", "sp_valid_at", "(", "cfa_offset", ")", ";", "hfp_align", "=", "drap_align", "=", "sp_align", "=", "INCOMING_STACK_BOUNDARY", ";", "if", "(", "align_reqested", ")", "{", "if", "(", "m", "->", "fs", ".", "realigned", ")", "hfp_align", "=", "drap_align", "=", "sp_align", "=", "crtl", "->", "stack_alignment_needed", ";", "else", "if", "(", "m", "->", "fs", ".", "sp_realigned", ")", "sp_align", "=", "crtl", "->", "stack_alignment_needed", ";", "hfp_ok", "=", "hfp_ok", "&&", "hfp_align", ">=", "align_reqested", ";", "drap_ok", "=", "drap_ok", "&&", "drap_align", ">=", "align_reqested", ";", "sp_ok", "=", "sp_ok", "&&", "sp_align", ">=", "align_reqested", ";", "}", "if", "(", "m", "->", "use_fast_prologue_epilogue", ")", "{", "if", "(", "hfp_ok", ")", "{", "base_reg", "=", "hard_frame_pointer_rtx", ";", "base_offset", "=", "m", "->", "fs", ".", "fp_offset", "-", "cfa_offset", ";", "}", "else", "if", "(", "drap_ok", ")", "{", "base_reg", "=", "crtl", "->", "drap_reg", ";", "base_offset", "=", "0", "-", "cfa_offset", ";", "}", "else", "if", "(", "sp_ok", ")", "{", "base_reg", "=", "stack_pointer_rtx", ";", "base_offset", "=", "m", "->", "fs", ".", "sp_offset", "-", "cfa_offset", ";", "}", "}", "else", "{", "HOST_WIDE_INT", "toffset", ";", "int", "len", "=", "16", ",", "tlen", ";", "if", "(", "sp_ok", ")", "{", "base_reg", "=", "stack_pointer_rtx", ";", "base_offset", "=", "m", "->", "fs", ".", "sp_offset", "-", "cfa_offset", ";", "len", "=", "choose_baseaddr_len", "(", "STACK_POINTER_REGNUM", ",", "base_offset", ")", ";", "}", "if", "(", "drap_ok", ")", "{", "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", "(", "hfp_ok", ")", "{", "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", ";", "}", "}", "}", "if", "(", "align", ")", "{", "if", "(", "base_reg", "==", "stack_pointer_rtx", ")", "*", "align", "=", "sp_align", ";", "else", "if", "(", "base_reg", "==", "crtl", "->", "drap_reg", ")", "*", "align", "=", "drap_align", ";", "else", "if", "(", "base_reg", "==", "hard_frame_pointer_rtx", ")", "*", "align", "=", "hfp_align", ";", "}", "}", ""], "natrual_language": ["Choose", "a", "base", "register", "based", "upon", "alignment", "requested", ",", "speed", "and/or", "size", "."], "TS_V_token": ["i386", "0", "16", "0"], "File": "i386", "Func": "choose_basereg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3692, "Length": 386, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "HOST_WIDE_INT", "htm_spr_num", "(", "enum", "rs6000_builtins", "code", ")", "{", "if", "(", "code", "==", "HTM_BUILTIN_GET_TFHAR", "||", "code", "==", "HTM_BUILTIN_SET_TFHAR", ")", "return", "TFHAR_SPR", ";", "else", "if", "(", "code", "==", "HTM_BUILTIN_GET_TFIAR", "||", "code", "==", "HTM_BUILTIN_SET_TFIAR", ")", "return", "TFIAR_SPR", ";", "else", "if", "(", "code", "==", "HTM_BUILTIN_GET_TEXASR", "||", "code", "==", "HTM_BUILTIN_SET_TEXASR", ")", "return", "TEXASR_SPR", ";", "gcc_assert", "(", "code", "==", "HTM_BUILTIN_GET_TEXASRU", "||", "code", "==", "HTM_BUILTIN_SET_TEXASRU", ")", ";", "return", "TEXASRU_SPR", ";", "}", ""], "natrual_language": ["Return", "the", "appropriate", "SPR", "number", "associated", "with", "the", "given", "builtin", "."], "TS_V_token": ["rs6000"], "File": "rs6000-call", "Func": "htm_spr_num", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3693, "Length": 66, "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", "(", ")", ",", "false", ")", ";", "}", ""], "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": "SystemZMCAsmInfo2", "Func": "getNonexecutableStackSection", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3694, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "SDLoc", "dl", "(", "N", ")", ";", "if", "(", "N", "->", "isMachineOpcode", "(", ")", ")", "{", "N", "->", "setNodeId", "(", "-", "1", ")", ";", "return", ";", "}", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "INLINEASM", ":", "{", "if", "(", "tryInlineAsm", "(", "N", ")", ")", "return", ";", "break", ";", "}", "case", "SPISD", "::", "GLOBAL_BASE_REG", ":", "ReplaceNode", "(", "N", ",", "getGlobalBaseReg", "(", ")", ")", ";", "return", ";", "case", "ISD", "::", "SDIV", ":", "case", "ISD", "::", "UDIV", ":", "{", "if", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i64", ")", "break", ";", "SDValue", "DivLHS", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "DivRHS", "=", "N", "->", "getOperand", "(", "1", ")", ";", "SDValue", "TopPart", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SDIV", ")", "{", "TopPart", "=", "SDValue", "(", "CurDAG", "->", "getMachineNode", "(", "SP", "::", "SRAri", ",", "dl", ",", "MVT", "::", "i32", ",", "DivLHS", ",", "CurDAG", "->", "getTargetConstant", "(", "31", ",", "dl", ",", "MVT", "::", "i32", ")", ")", ",", "0", ")", ";", "}", "else", "{", "TopPart", "=", "CurDAG", "->", "getRegister", "(", "SP", "::", "G0", ",", "MVT", "::", "i32", ")", ";", "}", "TopPart", "=", "CurDAG", "->", "getCopyToReg", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "dl", ",", "SP", "::", "Y", ",", "TopPart", ",", "SDValue", "(", ")", ")", ".", "getValue", "(", "1", ")", ";", "unsigned", "Opcode", "=", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SDIV", "?", "SP", "::", "SDIVrr", ":", "SP", "::", "UDIVrr", ";", "CurDAG", "->", "SelectNodeTo", "(", "N", ",", "Opcode", ",", "MVT", "::", "i32", ",", "DivLHS", ",", "DivRHS", ",", "TopPart", ")", ";", "return", ";", "}", "case", "ISD", "::", "MULHU", ":", "case", "ISD", "::", "MULHS", ":", "{", "SDValue", "MulLHS", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "MulRHS", "=", "N", "->", "getOperand", "(", "1", ")", ";", "unsigned", "Opcode", "=", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "MULHU", "?", "SP", "::", "UMULrr", ":", "SP", "::", "SMULrr", ";", "SDNode", "*", "Mul", "=", "CurDAG", "->", "getMachineNode", "(", "Opcode", ",", "dl", ",", "MVT", "::", "i32", ",", "MVT", "::", "i32", ",", "MulLHS", ",", "MulRHS", ")", ";", "SDValue", "ResultHigh", "=", "SDValue", "(", "Mul", ",", "1", ")", ";", "ReplaceUses", "(", "SDValue", "(", "N", ",", "0", ")", ",", "ResultHigh", ")", ";", "CurDAG", "->", "RemoveDeadNode", "(", "N", ")", ";", "return", ";", "}", "}", "SelectCode", "(", "N", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["Sparc", "Sparc", "1", "ISD::INLINEASM", "SPISD::GLOBAL_BASE_REG", "ISD::SDIV", "ISD::UDIV", "0", "MVT::i64", "0", "1", "ISD::SDIV", "SP::SRAri", "MVT::i32", "31", "MVT::i32", "0", "SP::G0", "MVT::i32", "SP::Y", "1", "ISD::SDIV", "SP::SDIVrr", "SP::UDIVrr", "MVT::i32", "ISD::MULHU", "ISD::MULHS", "0", "1", "ISD::MULHU", "SP::UMULrr", "SP::SMULrr", "MVT::i32", "MVT::i32", "1", "0"], "File": "SparcISelDAGToDAG34", "Func": "Select", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3695, "Length": 390, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "loongarch_split_move_insn_p", "(", "rtx", "dest", ",", "rtx", "src", ")", "{", "return", "loongarch_split_move_p", "(", "dest", ",", "src", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "move", "from", "SRC", "to", "DEST", "in", "INSN", "should", "be", "split", "."], "TS_V_token": ["loongarch"], "File": "loongarch1", "Func": "loongarch_split_move_insn_p", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3696, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "resolveFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "I", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "int", "Off", "=", "Offset", ";", "unsigned", "i", "=", "0", ";", "assert", "(", "!", "AFI", "->", "isThumb1OnlyFunction", "(", ")", "&&", "\"This resolveFrameIndex does not support Thumb1!\"", ")", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "bool", "Done", "=", "false", ";", "if", "(", "!", "AFI", "->", "isThumbFunction", "(", ")", ")", "Done", "=", "rewriteARMFrameIndex", "(", "MI", ",", "i", ",", "BaseReg", ",", "Off", ",", "TII", ")", ";", "else", "{", "assert", "(", "AFI", "->", "isThumb2Function", "(", ")", ")", ";", "Done", "=", "rewriteT2FrameIndex", "(", "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", "0", "\"This resolveFrameIndex does not support Thumb1!\"", "\"Instr doesn't have FrameIndex operand!\"", "ARM", "\"Unable to resolve frame index!\""], "File": "ARMBaseRegisterInfo1", "Func": "resolveFrameIndex", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3697, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_float_const_representable_p", "(", "rtx", "x", ")", "{", "int", "point_pos", "=", "2", "*", "HOST_BITS_PER_WIDE_INT", "-", "1", ";", "int", "exponent", ";", "unsigned", "HOST_WIDE_INT", "mantissa", ",", "mask", ";", "REAL_VALUE_TYPE", "r", ",", "m", ";", "bool", "fail", ";", "if", "(", "!", "CONST_DOUBLE_P", "(", "x", ")", ")", "return", "false", ";", "if", "(", "GET_MODE", "(", "x", ")", "==", "VOIDmode", ")", "return", "false", ";", "REAL_VALUE_FROM_CONST_DOUBLE", "(", "r", ",", "x", ")", ";", "if", "(", "REAL_VALUE_ISINF", "(", "r", ")", "||", "REAL_VALUE_ISNAN", "(", "r", ")", "||", "REAL_VALUE_MINUS_ZERO", "(", "r", ")", ")", "return", "false", ";", "r", "=", "real_value_abs", "(", "&", "r", ")", ";", "exponent", "=", "REAL_EXP", "(", "&", "r", ")", ";", "real_ldexp", "(", "&", "m", ",", "&", "r", ",", "point_pos", "-", "exponent", ")", ";", "wide_int", "w", "=", "real_to_integer", "(", "&", "m", ",", "&", "fail", ",", "HOST_BITS_PER_WIDE_INT", "*", "2", ")", ";", "if", "(", "w", ".", "elt", "(", "0", ")", "!=", "0", ")", "return", "false", ";", "mantissa", "=", "w", ".", "elt", "(", "1", ")", ";", "point_pos", "-=", "HOST_BITS_PER_WIDE_INT", ";", "mask", "=", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "1", "<<", "(", "point_pos", "-", "5", ")", ")", "-", "1", ";", "if", "(", "(", "mantissa", "&", "mask", ")", "!=", "0", ")", "return", "false", ";", "mantissa", ">>=", "point_pos", "-", "5", ";", "if", "(", "mantissa", "==", "0", ")", "return", "false", ";", "mantissa", "&=", "~", "(", "1", "<<", "4", ")", ";", "gcc_assert", "(", "mantissa", "<=", "15", ")", ";", "exponent", "=", "5", "-", "exponent", ";", "return", "(", "exponent", ">=", "0", "&&", "exponent", "<=", "7", ")", ";", "}", ""], "natrual_language": ["Return", "true", "iff", "X", "can", "be", "represented", "by", "a", "quarter-precision", "floating", "point", "immediate", "operand", "X", ".", "Note", ",", "we", "can", "not", "represent", "0.0", "."], "TS_V_token": ["aarch64", "2", "1", "2", "0", "0", "1", "1", "5", "1", "0", "5", "0", "1", "4", "15", "5", "0", "7"], "File": "aarch642", "Func": "aarch64_float_const_representable_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3698, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64MacroFusion", "::", "apply", "(", "ScheduleDAGInstrs", "*", "DAGInstrs", ")", "{", "ScheduleDAGMI", "*", "DAG", "=", "static_cast", "<", "ScheduleDAGMI", "*", ">", "(", "DAGInstrs", ")", ";", "for", "(", "SUnit", "&", "ISU", ":", "DAG", "->", "SUnits", ")", "scheduleAdjacentImpl", "(", "DAG", ",", "ISU", ")", ";", "scheduleAdjacentImpl", "(", "DAG", ",", "DAG", "->", "ExitSU", ")", ";", "}", ""], "natrual_language": ["Apply", "the", "profile", "inference", "algorithm", "for", "a", "given", "function", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64MacroFusion", "Func": "apply", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3699, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "function_expander", "::", "add_address_operand", "(", "rtx", "x", ")", "{", "m_ops", ".", "safe_grow", "(", "m_ops", ".", "length", "(", ")", "+", "1", ")", ";", "create_address_operand", "(", "&", "m_ops", ".", "last", "(", ")", ",", "x", ")", ";", "}", ""], "natrual_language": ["Add", "an", "address", "operand", "with", "value", "X", ".", "The", "static", "operand", "data", "says", "what", "mode", "and", "form", "the", "address", "must", "have", "."], "TS_V_token": ["aarch64", "1"], "File": "aarch64-sve-builtins", "Func": "add_address_operand", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3700, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTTIImpl", "::", "isLegalMaskedGather", "(", "Type", "*", "Ty", ",", "Align", "Alignment", ")", "{", "if", "(", "!", "EnableMaskedGatherScatters", "||", "!", "ST", "->", "hasMVEIntegerOps", "(", ")", ")", "return", "false", ";", "unsigned", "EltWidth", "=", "Ty", "->", "getScalarSizeInBits", "(", ")", ";", "return", "(", "(", "EltWidth", "==", "32", "&&", "Alignment", ">=", "4", ")", "||", "(", "EltWidth", "==", "16", "&&", "Alignment", ">=", "2", ")", "||", "EltWidth", "==", "8", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "gather", "."], "TS_V_token": ["ARM", "ARM", "32", "4", "16", "2", "8"], "File": "ARMTargetTransformInfo17", "Func": "isLegalMaskedGather", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3701, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StackOffset", "AArch64FrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "Register", "&", "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": "AArch64FrameLowering (2)1", "Func": "getFrameIndexReference", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3702, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "rs6000_libcall_value", "(", "machine_mode", "mode", ")", "{", "unsigned", "int", "regno", ";", "if", "(", "TARGET_32BIT", "&&", "TARGET_POWERPC64", "&&", "mode", "==", "DImode", ")", "return", "rs6000_parallel_return", "(", "mode", ",", "2", ",", "SImode", ",", "GP_ARG_RETURN", ",", "1", ")", ";", "if", "(", "DECIMAL_FLOAT_MODE_P", "(", "mode", ")", "&&", "TARGET_HARD_FLOAT", "&&", "TARGET_FPRS", ")", "regno", "=", "(", "mode", "==", "TDmode", ")", "?", "FP_ARG_RETURN", "+", "1", ":", "FP_ARG_RETURN", ";", "else", "if", "(", "SCALAR_FLOAT_MODE_NOT_VECTOR_P", "(", "mode", ")", "&&", "TARGET_HARD_FLOAT", "&&", "TARGET_FPRS", "&&", "(", "(", "TARGET_SINGLE_FLOAT", "&&", "mode", "==", "SFmode", ")", "||", "TARGET_DOUBLE_FLOAT", ")", ")", "regno", "=", "FP_ARG_RETURN", ";", "else", "if", "(", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "mode", ")", "&&", "TARGET_ALTIVEC", "&&", "TARGET_ALTIVEC_ABI", ")", "regno", "=", "ALTIVEC_ARG_RETURN", ";", "else", "if", "(", "COMPLEX_MODE_P", "(", "mode", ")", "&&", "targetm", ".", "calls", ".", "split_complex_arg", ")", "return", "rs6000_complex_function_value", "(", "mode", ")", ";", "else", "if", "(", "TARGET_E500_DOUBLE", "&&", "TARGET_HARD_FLOAT", "&&", "(", "mode", "==", "DFmode", "||", "mode", "==", "DCmode", "||", "FLOAT128_IBM_P", "(", "mode", ")", "||", "mode", "==", "TCmode", ")", ")", "return", "spe_build_register_parallel", "(", "mode", ",", "GP_ARG_RETURN", ")", ";", "else", "regno", "=", "GP_ARG_RETURN", ";", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "}", ""], "natrual_language": ["Define", "how", "to", "find", "the", "value", "returned", "by", "a", "library", "function", "assuming", "the", "value", "has", "mode", "MODE", "."], "TS_V_token": ["rs6000", "2", "1", "1"], "File": "rs60005", "Func": "rs6000_libcall_value", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3703, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_load_pic_register", "(", "unsigned", "long", "saved_regs", "ATTRIBUTE_UNUSED", ")", "{", "rtx", "l1", ",", "labelno", ",", "pic_tmp", ",", "pic_rtx", ",", "pic_reg", ";", "if", "(", "crtl", "->", "uses_pic_offset_table", "==", "0", "||", "TARGET_SINGLE_PIC_BASE", ")", "return", ";", "gcc_assert", "(", "flag_pic", ")", ";", "pic_reg", "=", "cfun", "->", "machine", "->", "pic_reg", ";", "if", "(", "TARGET_VXWORKS_RTP", ")", "{", "pic_rtx", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "VXWORKS_GOTT_BASE", ")", ";", "pic_rtx", "=", "gen_rtx_CONST", "(", "Pmode", ",", "pic_rtx", ")", ";", "emit_insn", "(", "gen_pic_load_addr_32bit", "(", "pic_reg", ",", "pic_rtx", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "Pmode", ",", "pic_reg", ",", "gen_rtx_MEM", "(", "Pmode", ",", "pic_reg", ")", ")", ")", ";", "pic_tmp", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "VXWORKS_GOTT_INDEX", ")", ";", "emit_insn", "(", "gen_pic_offset_arm", "(", "pic_reg", ",", "pic_reg", ",", "pic_tmp", ")", ")", ";", "}", "else", "{", "labelno", "=", "GEN_INT", "(", "pic_labelno", "++", ")", ";", "l1", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "labelno", ")", ",", "UNSPEC_PIC_LABEL", ")", ";", "l1", "=", "gen_rtx_CONST", "(", "VOIDmode", ",", "l1", ")", ";", "pic_rtx", "=", "plus_constant", "(", "Pmode", ",", "l1", ",", "TARGET_ARM", "?", "8", ":", "4", ")", ";", "pic_rtx", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "pic_rtx", ")", ",", "UNSPEC_GOTSYM_OFF", ")", ";", "pic_rtx", "=", "gen_rtx_CONST", "(", "Pmode", ",", "pic_rtx", ")", ";", "if", "(", "TARGET_32BIT", ")", "{", "emit_insn", "(", "gen_pic_load_addr_unified", "(", "pic_reg", ",", "pic_rtx", ",", "labelno", ")", ")", ";", "}", "else", "{", "if", "(", "arm_pic_register", "!=", "INVALID_REGNUM", "&&", "REGNO", "(", "pic_reg", ")", ">", "LAST_LO_REGNUM", ")", "{", "pic_tmp", "=", "gen_rtx_REG", "(", "SImode", ",", "thumb_find_work_register", "(", "saved_regs", ")", ")", ";", "emit_insn", "(", "gen_pic_load_addr_thumb1", "(", "pic_tmp", ",", "pic_rtx", ")", ")", ";", "emit_insn", "(", "gen_movsi", "(", "pic_offset_table_rtx", ",", "pic_tmp", ")", ")", ";", "emit_insn", "(", "gen_pic_add_dot_plus_four", "(", "pic_reg", ",", "pic_reg", ",", "labelno", ")", ")", ";", "}", "else", "if", "(", "arm_pic_register", "!=", "INVALID_REGNUM", "&&", "arm_pic_register", ">", "LAST_LO_REGNUM", "&&", "REGNO", "(", "pic_reg", ")", "<=", "LAST_LO_REGNUM", ")", "{", "emit_insn", "(", "gen_pic_load_addr_unified", "(", "pic_reg", ",", "pic_rtx", ",", "labelno", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_REG", "(", "Pmode", ",", "arm_pic_register", ")", ",", "pic_reg", ")", ";", "emit_use", "(", "gen_rtx_REG", "(", "Pmode", ",", "arm_pic_register", ")", ")", ";", "}", "else", "emit_insn", "(", "gen_pic_load_addr_unified", "(", "pic_reg", ",", "pic_rtx", ",", "labelno", ")", ")", ";", "}", "}", "emit_use", "(", "pic_reg", ")", ";", "}", ""], "natrual_language": ["Generate", "code", "to", "load", "the", "PIC", "register", ".", "In", "thumb", "mode", "SCRATCH", "is", "a", "low", "register", "."], "TS_V_token": ["arm", "0", "1", "8", "4", "1"], "File": "arm4", "Func": "arm_load_pic_register", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3704, "Length": 346, "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", "(", ")", ".", "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": "MipsISelLowering120", "Func": "getOpndList", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3705, "Length": 384, "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": ["LC3"], "File": "LC3AsmBackend", "Func": "relaxInstruction", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3706, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86RegisterInfo", "::", "hasReservedSpillSlot", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Reg", ",", "int", "&", "FrameIdx", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "if", "(", "Reg", "==", "FramePtr", "&&", "TFI", "->", "hasFP", "(", "MF", ")", ")", "{", "FrameIdx", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectIndexBegin", "(", ")", ";", "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": ["X86", "X86"], "File": "X86RegisterInfo2", "Func": "hasReservedSpillSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3707, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "long", "thumb1_compute_save_core_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", "(", "frame_pointer_needed", ")", "mask", "|=", "1", "<<", "HARD_FRAME_POINTER_REGNUM", ";", "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", "core", "registers", "need", "to", "be", "saved", "on", "the", "stack", "for", "the", "current", "function", "."], "TS_V_token": ["arm", "0", "0", "12", "1", "1", "1", "0", "1", "0xff", "1", "0xff", "0", "0x0f00", "1", "1", "504", "1", "1", "1"], "File": "arm7", "Func": "thumb1_compute_save_core_reg_mask", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3708, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isVectorLoadExtDesirable", "(", "SDValue", "ExtVal", ")", "const", "{", "EVT", "SrcVT", "=", "ExtVal", ".", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", ";", "if", "(", "SrcVT", ".", "getScalarType", "(", ")", "==", "MVT", "::", "i1", ")", "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": ["X86", "X86", "0", "MVT::i1"], "File": "X86ISelLowering (2)7", "Func": "isVectorLoadExtDesirable", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3709, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineLoopInfo", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["ARM"], "File": "ARMBlockPlacement", "Func": "getAnalysisUsage", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3710, "Length": 33, "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": ["powerpcspe", "1"], "File": "powerpcspe", "Func": "rs6000_got_register", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3711, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BaseKind", "getKind", "(", ")", "const", "{", "return", "Kind", ";", "}", ""], "natrual_language": ["Returns", "the", "Kind", "of", "lane", "offset", "."], "TS_V_token": ["AArch64"], "File": "AArch64FastISel (2)", "Func": "getKind", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3712, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "mode_suffix_index", "find_mode_suffix", "(", "vector_type_index", "base_vector_type", ",", "vector_type_index", "displacement_vector_type", ",", "units_index", "displacement_units", ")", "{", "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", "==", "displacement_vector_type", "&&", "mode", ".", "displacement_units", "==", "displacement_units", ")", "return", "mode_suffix_index", "(", "mode_i", ")", ";", "}", "return", "MODE_none", ";", "}", ""], "natrual_language": ["Try", "to", "find", "a", "mode", "with", "the", "given", "mode_suffix_info", "fields", ".", "Return", "the", "mode", "on", "success", "or", "MODE_none", "on", "failure", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64-sve-builtins", "Func": "find_mode_suffix", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3713, "Length": 74, "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", "::", "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::SETCC", "1", "X86ISD::MOVMSK", "0", "X86ISD::VSHLI", "X86ISD::VSRLI", "1", "0", "1", "X86ISD::VSHLI", "X86ISD::VZEXT", "0", "\"Illegal VZEXT input\"", "1"], "File": "X86ISelLowering71", "Func": "computeKnownBitsForTargetNode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3714, "Length": 422, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"CPU0 DAG to DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Cpu0", "\"CPU0 DAG to DAG Pattern Instruction Selection\""], "File": "Cpu0ISelDAGToDAG2", "Func": "getPassName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3715, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FastISel", "::", "tryToFoldLoadIntoMI", "(", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "LoadInst", "*", "LI", ")", "{", "const", "Value", "*", "Ptr", "=", "LI", "->", "getPointerOperand", "(", ")", ";", "X86AddressMode", "AM", ";", "if", "(", "!", "X86SelectAddress", "(", "Ptr", ",", "AM", ")", ")", "return", "false", ";", "const", "X86InstrInfo", "&", "XII", "=", "(", "const", "X86InstrInfo", "&", ")", "TII", ";", "unsigned", "Size", "=", "DL", ".", "getTypeAllocSize", "(", "LI", "->", "getType", "(", ")", ")", ";", "unsigned", "Alignment", "=", "LI", "->", "getAlignment", "(", ")", ";", "if", "(", "Alignment", "==", "0", ")", "Alignment", "=", "DL", ".", "getABITypeAlignment", "(", "LI", "->", "getType", "(", ")", ")", ";", "SmallVector", "<", "MachineOperand", ",", "8", ">", "AddrOps", ";", "AM", ".", "getFullAddress", "(", "AddrOps", ")", ";", "MachineInstr", "*", "Result", "=", "XII", ".", "foldMemoryOperandImpl", "(", "*", "FuncInfo", ".", "MF", ",", "MI", ",", "OpNo", ",", "AddrOps", ",", "Size", ",", "Alignment", ",", "true", ")", ";", "if", "(", "!", "Result", ")", "return", "false", ";", "unsigned", "OperandNo", "=", "0", ";", "for", "(", "MachineInstr", "::", "mop_iterator", "I", "=", "Result", "->", "operands_begin", "(", ")", ",", "E", "=", "Result", "->", "operands_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ",", "++", "OperandNo", ")", "{", "MachineOperand", "&", "MO", "=", "*", "I", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", "||", "MO", ".", "isDef", "(", ")", "||", "MO", ".", "getReg", "(", ")", "!=", "AM", ".", "IndexReg", ")", "continue", ";", "unsigned", "IndexReg", "=", "constrainOperandRegClass", "(", "Result", "->", "getDesc", "(", ")", ",", "MO", ".", "getReg", "(", ")", ",", "OperandNo", ")", ";", "if", "(", "IndexReg", "==", "MO", ".", "getReg", "(", ")", ")", "continue", ";", "MO", ".", "setReg", "(", "IndexReg", ")", ";", "}", "Result", "->", "addMemOperand", "(", "*", "FuncInfo", ".", "MF", ",", "createMachineMemOperandFor", "(", "LI", ")", ")", ";", "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", "X86", "X86", "0", "8", "0"], "File": "X86FastISel94", "Func": "tryToFoldLoadIntoMI", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3716, "Length": 297, "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": 3717, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", "->", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsTargetMachine26", "Func": "getRegisterInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3718, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "xstormy16_split_cbranch", "(", "enum", "machine_mode", "mode", ",", "rtx", "label", ",", "rtx", "comparison", ",", "rtx", "dest", ",", "rtx", "carry", ")", "{", "rtx", "op0", "=", "XEXP", "(", "comparison", ",", "0", ")", ";", "rtx", "op1", "=", "XEXP", "(", "comparison", ",", "1", ")", ";", "rtx", "seq", ",", "last_insn", ";", "rtx", "compare", ";", "start_sequence", "(", ")", ";", "xstormy16_expand_arith", "(", "mode", ",", "COMPARE", ",", "dest", ",", "op0", ",", "op1", ",", "carry", ")", ";", "seq", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "gcc_assert", "(", "INSN_P", "(", "seq", ")", ")", ";", "last_insn", "=", "seq", ";", "while", "(", "NEXT_INSN", "(", "last_insn", ")", "!=", "NULL_RTX", ")", "last_insn", "=", "NEXT_INSN", "(", "last_insn", ")", ";", "compare", "=", "SET_SRC", "(", "XVECEXP", "(", "PATTERN", "(", "last_insn", ")", ",", "0", ",", "0", ")", ")", ";", "PUT_CODE", "(", "XEXP", "(", "compare", ",", "0", ")", ",", "GET_CODE", "(", "comparison", ")", ")", ";", "XEXP", "(", "compare", ",", "1", ")", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "label", ")", ";", "emit_insn", "(", "seq", ")", ";", "}", ""], "natrual_language": ["Take", "a", "SImode", "conditional", "branch", ",", "one", "of", "GT/LE/GTU/LEU", ",", "and", "split", "the", "arithmetic", "operation", ".", "Most", "of", "the", "work", "is", "done", "by", "xstormy16_expand_arith", "."], "TS_V_token": ["stormy16", "0", "1", "0", "0", "0", "1"], "File": "stormy163", "Func": "xstormy16_split_cbranch", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3719, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86TargetLowering", "::", "initializeSplitCSR", "(", "MachineBasicBlock", "*", "Entry", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "is64Bit", "(", ")", ")", "return", ";", "X86MachineFunctionInfo", "*", "AFI", "=", "Entry", "->", "getParent", "(", ")", "->", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "AFI", "->", "setIsSplitCSR", "(", "true", ")", ";", "}", ""], "natrual_language": ["Perform", "necessary", "initialization", "to", "handle", "a", "subset", "of", "CSRs", "explicitly", "via", "copies", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86ISelLowering197", "Func": "initializeSplitCSR", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3720, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "hi_const", "(", "rtx", "src", ")", "{", "return", "(", "GET_CODE", "(", "src", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "src", ")", ">=", "-", "32768", "&&", "INTVAL", "(", "src", ")", "<=", "32767", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "constant", "would", "be", "an", "ok", "source", "for", "a", "mov.w", "instead", "of", "a", "mov.l", "."], "TS_V_token": ["sh", "32768", "32767"], "File": "sh3", "Func": "hi_const", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3721, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_expand_builtin", "(", "tree", "exp", ",", "rtx", "target", ",", "rtx", "subtarget", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ",", "int", "ignore", ")", "{", "tree", "fndecl", ";", "unsigned", "int", "fcode", ",", "avail", ";", "const", "struct", "mips_builtin_description", "*", "d", ";", "fndecl", "=", "TREE_OPERAND", "(", "CALL_EXPR_FN", "(", "exp", ")", ",", "0", ")", ";", "fcode", "=", "DECL_MD_FUNCTION_CODE", "(", "fndecl", ")", ";", "gcc_assert", "(", "fcode", "<", "ARRAY_SIZE", "(", "mips_builtins", ")", ")", ";", "d", "=", "&", "mips_builtins", "[", "fcode", "]", ";", "avail", "=", "d", "->", "avail", "(", ")", ";", "gcc_assert", "(", "avail", "!=", "0", ")", ";", "if", "(", "TARGET_MIPS16", "&&", "!", "(", "avail", "&", "BUILTIN_AVAIL_MIPS16", ")", ")", "{", "error", "(", "\"built-in function %qE not supported for MIPS16\"", ",", "DECL_NAME", "(", "fndecl", ")", ")", ";", "return", "ignore", "?", "const0_rtx", ":", "CONST0_RTX", "(", "mode", ")", ";", "}", "switch", "(", "d", "->", "builtin_type", ")", "{", "case", "MIPS_BUILTIN_DIRECT", ":", "return", "mips_expand_builtin_direct", "(", "d", "->", "icode", ",", "target", ",", "exp", ",", "true", ")", ";", "case", "MIPS_BUILTIN_DIRECT_NO_TARGET", ":", "return", "mips_expand_builtin_direct", "(", "d", "->", "icode", ",", "target", ",", "exp", ",", "false", ")", ";", "case", "MIPS_BUILTIN_MOVT", ":", "case", "MIPS_BUILTIN_MOVF", ":", "return", "mips_expand_builtin_movtf", "(", "d", "->", "builtin_type", ",", "d", "->", "icode", ",", "d", "->", "cond", ",", "target", ",", "exp", ")", ";", "case", "MIPS_BUILTIN_CMP_ANY", ":", "case", "MIPS_BUILTIN_CMP_ALL", ":", "case", "MIPS_BUILTIN_CMP_UPPER", ":", "case", "MIPS_BUILTIN_CMP_LOWER", ":", "case", "MIPS_BUILTIN_CMP_SINGLE", ":", "return", "mips_expand_builtin_compare", "(", "d", "->", "builtin_type", ",", "d", "->", "icode", ",", "d", "->", "cond", ",", "target", ",", "exp", ")", ";", "case", "MIPS_BUILTIN_MSA_TEST_BRANCH", ":", "return", "mips_expand_builtin_msa_test_branch", "(", "d", "->", "icode", ",", "exp", ")", ";", "case", "MIPS_BUILTIN_BPOSGE32", ":", "return", "mips_expand_builtin_bposge", "(", "d", "->", "builtin_type", ",", "target", ")", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Expand", "builtin", "functions", ".", "This", "is", "called", "from", "TARGET_EXPAND_BUILTIN", "."], "TS_V_token": ["mips", "0", "0", "\"built-in function %qE not supported for MIPS16\""], "File": "mips", "Func": "mips_expand_builtin", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3722, "Length": 255, "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": ["ARM64"], "File": "ARM64AsmParser", "Func": "isImm", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3723, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "SmallDataSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".sdata\"", ",", "MCSectionELF", "::", "SHT_PROGBITS", ",", "MCSectionELF", "::", "SHF_WRITE", "|", "MCSectionELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getDataRel", "(", ")", ")", ";", "SmallBSSSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".sbss\"", ",", "MCSectionELF", "::", "SHT_NOBITS", ",", "MCSectionELF", "::", "SHF_WRITE", "|", "MCSectionELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getBSS", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["Mips", "Mips", "\".sdata\"", "\".sbss\""], "File": "MipsTargetObjectFile18", "Func": "Initialize", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3724, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_secondary_reload_move", "(", "enum", "rs6000_reg_type", "to_type", ",", "enum", "rs6000_reg_type", "from_type", ",", "machine_mode", "mode", ",", "secondary_reload_info", "*", "sri", ",", "bool", "altivec_p", ")", "{", "if", "(", "to_type", "==", "NO_REG_TYPE", "||", "from_type", "==", "NO_REG_TYPE", ")", "return", "false", ";", "if", "(", "(", "to_type", "==", "PSEUDO_REG_TYPE", "&&", "from_type", "==", "PSEUDO_REG_TYPE", ")", "||", "(", "to_type", "==", "PSEUDO_REG_TYPE", "&&", "IS_STD_REG_TYPE", "(", "from_type", ")", ")", "||", "(", "from_type", "==", "PSEUDO_REG_TYPE", "&&", "IS_STD_REG_TYPE", "(", "to_type", ")", ")", ")", "return", "true", ";", "if", "(", "to_type", "==", "from_type", "&&", "IS_STD_REG_TYPE", "(", "to_type", ")", ")", "return", "true", ";", "if", "(", "rs6000_secondary_reload_simple_move", "(", "to_type", ",", "from_type", ",", "mode", ")", ")", "{", "if", "(", "sri", ")", "{", "sri", "->", "icode", "=", "CODE_FOR_nothing", ";", "sri", "->", "extra_cost", "=", "0", ";", "}", "return", "true", ";", "}", "return", "rs6000_secondary_reload_direct_move", "(", "to_type", ",", "from_type", ",", "mode", ",", "sri", ",", "altivec_p", ")", ";", "}", ""], "natrual_language": ["Return", "whether", "a", "move", "between", "two", "register", "classes", "can", "be", "done", "either", "directly", "(", "simple", "move", ")", "or", "via", "a", "pattern", "that", "uses", "a", "single", "extra", "temporary", "(", "using", "power8", "'s", "direct", "move", "in", "this", "case", "."], "TS_V_token": ["rs6000", "0"], "File": "rs6000", "Func": "rs6000_secondary_reload_move", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3725, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZXPLINKFrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "ArrayRef", "<", "CalleeSavedInfo", ">", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "true", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "SystemZMachineFunctionInfo", "*", "ZFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "const", "SystemZSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "SystemZSubtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "*", "TII", "=", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "auto", "&", "Regs", "=", "Subtarget", ".", "getSpecialRegisters", "<", "SystemZXPLINK64Registers", ">", "(", ")", ";", "SystemZ", "::", "GPRRegs", "SpillGPRs", "=", "ZFI", "->", "getSpillGPRRegs", "(", ")", ";", "DebugLoc", "DL", ";", "if", "(", "SpillGPRs", ".", "LowGPR", ")", "{", "assert", "(", "SpillGPRs", ".", "LowGPR", "!=", "SpillGPRs", ".", "HighGPR", "&&", "\"Should be saving multiple registers\"", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "SystemZ", "::", "STMG", ")", ")", ";", "addSavedGPR", "(", "MBB", ",", "MIB", ",", "SpillGPRs", ".", "LowGPR", ",", "false", ")", ";", "addSavedGPR", "(", "MBB", ",", "MIB", ",", "SpillGPRs", ".", "HighGPR", ",", "false", ")", ";", "MIB", ".", "addReg", "(", "Regs", ".", "getStackPointerRegister", "(", ")", ")", ";", "MIB", ".", "addImm", "(", "SpillGPRs", ".", "GPROffset", ")", ";", "auto", "&", "GRRegClass", "=", "SystemZ", "::", "GR64BitRegClass", ";", "for", "(", "const", "CalleeSavedInfo", "&", "I", ":", "CSI", ")", "{", "Register", "Reg", "=", "I", ".", "getReg", "(", ")", ";", "if", "(", "GRRegClass", ".", "contains", "(", "Reg", ")", ")", "addSavedGPR", "(", "MBB", ",", "MIB", ",", "Reg", ",", "true", ")", ";", "}", "}", "for", "(", "const", "CalleeSavedInfo", "&", "I", ":", "CSI", ")", "{", "Register", "Reg", "=", "I", ".", "getReg", "(", ")", ";", "if", "(", "SystemZ", "::", "FP64BitRegClass", ".", "contains", "(", "Reg", ")", ")", "{", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "TII", "->", "storeRegToStackSlot", "(", "MBB", ",", "MBBI", ",", "Reg", ",", "true", ",", "I", ".", "getFrameIdx", "(", ")", ",", "&", "SystemZ", "::", "FP64BitRegClass", ",", "TRI", ")", ";", "}", "if", "(", "SystemZ", "::", "VR128BitRegClass", ".", "contains", "(", "Reg", ")", ")", "{", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "TII", "->", "storeRegToStackSlot", "(", "MBB", ",", "MBBI", ",", "Reg", ",", "true", ",", "I", ".", "getFrameIdx", "(", ")", ",", "&", "SystemZ", "::", "VR128BitRegClass", ",", "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": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ::GPRRegs", "\"Should be saving multiple registers\"", "SystemZ::STMG", "SystemZ::GR64BitRegClass", "SystemZ::FP64BitRegClass", "SystemZ::FP64BitRegClass", "SystemZ::VR128BitRegClass", "SystemZ::VR128BitRegClass"], "File": "SystemZFrameLowering20", "Func": "spillCalleeSavedRegisters", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3726, "Length": 366, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "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::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)", "Func": "isPairableLdStInst", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3727, "Length": 139, "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": 3728, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "getAddr", "(", "NodeTy", "*", "N", ",", "SelectionDAG", "&", "DAG", ",", "bool", "IsLocal", "=", "true", ")", "const", "{", "SDLoc", "DL", "(", "N", ")", ";", "EVT", "Ty", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";", "unsigned", "Flag", "=", "CSKYII", "::", "MO_None", ";", "bool", "IsPIC", "=", "isPositionIndependent", "(", ")", ";", "if", "(", "IsPIC", ")", "Flag", "=", "IsLocal", "?", "CSKYII", "::", "MO_GOTOFF", ":", "IsCall", "?", "CSKYII", "::", "MO_PLT32", ":", "CSKYII", "::", "MO_GOT32", ";", "SDValue", "TCPV", "=", "getTargetConstantPoolValue", "(", "N", ",", "Ty", ",", "DAG", ",", "Flag", ")", ";", "SDValue", "TV", "=", "getTargetNode", "(", "N", ",", "DL", ",", "Ty", ",", "DAG", ",", "Flag", ")", ";", "SDValue", "Addr", "=", "DAG", ".", "getNode", "(", "CSKYISD", "::", "LOAD_ADDR", ",", "DL", ",", "Ty", ",", "{", "TV", ",", "TCPV", "}", ")", ";", "if", "(", "!", "IsPIC", ")", "return", "Addr", ";", "SDValue", "Result", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ADD", ",", "DL", ",", "Ty", ",", "{", "DAG", ".", "getGLOBAL_OFFSET_TABLE", "(", "Ty", ")", ",", "Addr", "}", ")", ";", "if", "(", "IsLocal", ")", "return", "Result", ";", "return", "DAG", ".", "getLoad", "(", "Ty", ",", "DL", ",", "DAG", ".", "getEntryNode", "(", ")", ",", "Result", ",", "MachinePointerInfo", "::", "getGOT", "(", "DAG", ".", "getMachineFunction", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "address", "accessed", "by", "this", "recipe", "."], "TS_V_token": ["CSKY", "CSKYII::MO_None", "CSKYII::MO_GOTOFF", "CSKYII::MO_PLT32", "CSKYII::MO_GOT32", "CSKYISD::LOAD_ADDR", "ISD::ADD"], "File": "CSKYISelLowering1", "Func": "getAddr", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3729, "Length": 196, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstructionSelector", "::", "select", "(", "MachineInstr", "&", "I", ")", "{", "if", "(", "selectImpl", "(", "I", ",", "*", "CoverageInfo", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Select", "the", "(", "possibly", "generic", ")", "instruction", "I", "to", "only", "use", "target-specific", "opcodes", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCInstructionSelector", "Func": "select", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3730, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getString", "(", ")", ";", "if", "(", "IDVal", "==", "\".byte\"", ")", "return", "parseDirectiveWord", "(", "1", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "if", "(", "IDVal", "==", "\".half\"", ")", "return", "parseDirectiveWord", "(", "2", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "if", "(", "IDVal", "==", "\".word\"", ")", "return", "parseDirectiveWord", "(", "4", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "if", "(", "IDVal", "==", "\".nword\"", ")", "return", "parseDirectiveWord", "(", "is64Bit", "(", ")", "?", "8", ":", "4", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "if", "(", "is64Bit", "(", ")", "&&", "IDVal", "==", "\".xword\"", ")", "return", "parseDirectiveWord", "(", "8", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "if", "(", "IDVal", "==", "\".register\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["Sparc", "Sparc", "\".byte\"", "1", "\".half\"", "2", "\".word\"", "4", "\".nword\"", "8", "4", "\".xword\"", "8", "\".register\""], "File": "SparcAsmParser", "Func": "ParseDirective", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3731, "Length": 139, "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": ["X86"], "File": "X86Subtarget1", "Func": "getDataLayout", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3732, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseTargetMachine", "::", "addPreEmitPass", "(", "PassManagerBase", "&", "PM", ")", "{", "if", "(", "Subtarget", ".", "isThumb2", "(", ")", ")", "{", "if", "(", "!", "Subtarget", ".", "prefers32BitThumb", "(", ")", ")", "PM", ".", "add", "(", "createThumb2SizeReductionPass", "(", ")", ")", ";", "PM", ".", "add", "(", "createUnpackMachineBundlesPass", "(", ")", ")", ";", "}", "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": "ARMTargetMachine61", "Func": "addPreEmitPass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3733, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DEBUG_FUNCTION", "void", "rs6000_debug_print_mode", "(", "ssize_t", "m", ")", "{", "ssize_t", "rc", ";", "int", "spaces", "=", "0", ";", "fprintf", "(", "stderr", ",", "\"Mode: %-5s\"", ",", "GET_MODE_NAME", "(", "m", ")", ")", ";", "for", "(", "rc", "=", "0", ";", "rc", "<", "N_RELOAD_REG", ";", "rc", "++", ")", "fprintf", "(", "stderr", ",", "\" %s: %s\"", ",", "reload_reg_map", "[", "rc", "]", ".", "name", ",", "rs6000_debug_addr_mask", "(", "reg_addr", "[", "m", "]", ".", "addr_mask", "[", "rc", "]", ",", "true", ")", ")", ";", "if", "(", "(", "reg_addr", "[", "m", "]", ".", "reload_store", "!=", "CODE_FOR_nothing", ")", "||", "(", "reg_addr", "[", "m", "]", ".", "reload_load", "!=", "CODE_FOR_nothing", ")", ")", "{", "fprintf", "(", "stderr", ",", "\"%*s Reload=%c%c\"", ",", "spaces", ",", "\"\"", ",", "(", "reg_addr", "[", "m", "]", ".", "reload_store", "!=", "CODE_FOR_nothing", ")", "?", "'s'", ":", "'*'", ",", "(", "reg_addr", "[", "m", "]", ".", "reload_load", "!=", "CODE_FOR_nothing", ")", "?", "'l'", ":", "'*'", ")", ";", "spaces", "=", "0", ";", "}", "else", "spaces", "+=", "strlen", "(", "\" Reload=sl\"", ")", ";", "if", "(", "reg_addr", "[", "m", "]", ".", "scalar_in_vmx_p", ")", "{", "fprintf", "(", "stderr", ",", "\"%*s Upper=y\"", ",", "spaces", ",", "\"\"", ")", ";", "spaces", "=", "0", ";", "}", "else", "spaces", "+=", "strlen", "(", "\" Upper=y\"", ")", ";", "if", "(", "rs6000_vector_unit", "[", "m", "]", "!=", "VECTOR_NONE", "||", "rs6000_vector_mem", "[", "m", "]", "!=", "VECTOR_NONE", ")", "{", "fprintf", "(", "stderr", ",", "\"%*s vector: arith=%-10s mem=%s\"", ",", "spaces", ",", "\"\"", ",", "rs6000_debug_vector_unit", "(", "rs6000_vector_unit", "[", "m", "]", ")", ",", "rs6000_debug_vector_unit", "(", "rs6000_vector_mem", "[", "m", "]", ")", ")", ";", "}", "fputs", "(", "\"\\n\"", ",", "stderr", ")", ";", "}", ""], "natrual_language": ["Print", "the", "address", "masks", "in", "a", "human", "readble", "fashion", "."], "TS_V_token": ["rs6000", "0", "\"Mode: %-5s\"", "0", "\" %s: %s\"", "\"%*s Reload=%c%c\"", "\"\"", "0", "\" Reload=sl\"", "\"%*s Upper=y\"", "\"\"", "0", "\" Upper=y\"", "\"%*s vector: arith=%-10s mem=%s\"", "\"\"", "\"\\n\""], "File": "rs6000", "Func": "rs6000_debug_print_mode", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3734, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_imported_p", "(", "rtx", "x", ")", "{", "if", "(", "!", "TARGET_DLLIMPORT_DECL_ATTRIBUTES", "||", "GET_CODE", "(", "x", ")", "!=", "SYMBOL_REF", ")", "return", "false", ";", "return", "SYMBOL_REF_DLLIMPORT_P", "(", "x", ")", "||", "SYMBOL_REF_STUBVAR_P", "(", "x", ")", ";", "}", ""], "natrual_language": ["Nonzero", "if", "the", "symbol", "is", "marked", "as", "dllimport", ",", "or", "as", "stub-variable", ",", "otherwise", "zero", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "is_imported_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3735, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "init_cumulative_args", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "tree", "fntype", ",", "rtx", "libname", "ATTRIBUTE_UNUSED", ",", "int", "incoming", ",", "int", "libcall", ",", "int", "n_named_args", ")", "{", "static", "CUMULATIVE_ARGS", "zero_cumulative", ";", "*", "cum", "=", "zero_cumulative", ";", "cum", "->", "words", "=", "0", ";", "cum", "->", "fregno", "=", "FP_ARG_MIN_REG", ";", "cum", "->", "vregno", "=", "ALTIVEC_ARG_MIN_REG", ";", "cum", "->", "prototype", "=", "(", "fntype", "&&", "TYPE_ARG_TYPES", "(", "fntype", ")", ")", ";", "cum", "->", "call_cookie", "=", "(", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "libcall", ")", "?", "CALL_LIBCALL", ":", "CALL_NORMAL", ")", ";", "cum", "->", "sysv_gregno", "=", "GP_ARG_MIN_REG", ";", "cum", "->", "stdarg", "=", "fntype", "&&", "(", "TYPE_ARG_TYPES", "(", "fntype", ")", "!=", "0", "&&", "(", "TREE_VALUE", "(", "tree_last", "(", "TYPE_ARG_TYPES", "(", "fntype", ")", ")", ")", "!=", "void_type_node", ")", ")", ";", "cum", "->", "nargs_prototype", "=", "0", ";", "if", "(", "incoming", "||", "cum", "->", "prototype", ")", "cum", "->", "nargs_prototype", "=", "n_named_args", ";", "if", "(", "(", "!", "fntype", "&&", "rs6000_default_long_calls", ")", "||", "(", "fntype", "&&", "lookup_attribute", "(", "\"longcall\"", ",", "TYPE_ATTRIBUTES", "(", "fntype", ")", ")", "&&", "!", "lookup_attribute", "(", "\"shortcall\"", ",", "TYPE_ATTRIBUTES", "(", "fntype", ")", ")", ")", ")", "cum", "->", "call_cookie", "|=", "CALL_LONG", ";", "if", "(", "TARGET_DEBUG_ARG", ")", "{", "fprintf", "(", "stderr", ",", "\"\\ninit_cumulative_args:\"", ")", ";", "if", "(", "fntype", ")", "{", "tree", "ret_type", "=", "TREE_TYPE", "(", "fntype", ")", ";", "fprintf", "(", "stderr", ",", "\" ret code = %s,\"", ",", "tree_code_name", "[", "(", "int", ")", "TREE_CODE", "(", "ret_type", ")", "]", ")", ";", "}", "if", "(", "cum", "->", "call_cookie", "&", "CALL_LONG", ")", "fprintf", "(", "stderr", ",", "\" longcall,\"", ")", ";", "fprintf", "(", "stderr", ",", "\" proto = %d, nargs = %d\\n\"", ",", "cum", "->", "prototype", ",", "cum", "->", "nargs_prototype", ")", ";", "}", "if", "(", "fntype", "&&", "!", "TARGET_ALTIVEC", "&&", "TARGET_ALTIVEC_ABI", "&&", "ALTIVEC_VECTOR_MODE", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "fntype", ")", ")", ")", ")", "{", "error", "(", "\"cannot return value in vector register because\"", "\" altivec instructions are disabled, use -maltivec\"", "\" to enable them\"", ")", ";", "}", "}", ""], "natrual_language": ["Handle", "the", "INIT_CUMULATIVE_ARGS", "macro", ".", "Initialize", "a", "variable", "CUM", "of", "type", "CUMULATIVE_ARGS", "for", "a", "call", "to", "a", "function", "whose", "data", "type", "is", "FNTYPE", ".", "For", "a", "library", "call", ",", "FNTYPE", "is", "0", "."], "TS_V_token": ["rs6000", "0", "0", "0", "\"longcall\"", "\"shortcall\"", "\"\\ninit_cumulative_args:\"", "\" ret code = %s,\"", "\" longcall,\"", "\" proto = %d, nargs = %d\\n\"", "\"cannot return value in vector register because\"", "\" altivec instructions are disabled, use -maltivec\"", "\" to enable them\""], "File": "rs60003", "Func": "init_cumulative_args", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3736, "Length": 283, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCOperand", "::", "print", "(", "raw_ostream", "&", "OS", ")", "const", "{", "switch", "(", "Kind", ")", "{", "case", "Token", ":", "OS", "<<", "\"'\"", "<<", "getToken", "(", ")", "<<", "\"'\"", ";", "break", ";", "case", "Immediate", ":", "case", "ContextImmediate", ":", "OS", "<<", "getImm", "(", ")", ";", "break", ";", "case", "Expression", ":", "OS", "<<", "*", "getExpr", "(", ")", ";", "break", ";", "case", "TLSRegister", ":", "OS", "<<", "*", "getTLSReg", "(", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["PowerPC", "PPC", "\"'\"", "\"'\""], "File": "PPCAsmParser (2)1", "Func": "print", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3737, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getAlign", "(", ")", "const", "{", "return", "Align", ";", "}", ""], "natrual_language": ["Return", "the", "minimum", "known", "alignment", "in", "bytes", "of", "the", "actual", "memory", "reference", "."], "TS_V_token": ["ARM"], "File": "ARMMachineFunctionInfo10", "Func": "getAlign", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3738, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "ClobbersPredicate", "(", "MachineInstr", "&", "MI", ",", "std", "::", "vector", "<", "MachineOperand", ">", "&", "Pred", ",", "bool", "SkipDead", ")", "const", "{", "const", "TargetRegisterClass", "*", "RCs", "[", "]", "=", "{", "&", "PPC", "::", "CRRCRegClass", ",", "&", "PPC", "::", "CRBITRCRegClass", ",", "&", "PPC", "::", "CTRRCRegClass", ",", "&", "PPC", "::", "CTRRC8RegClass", "}", ";", "bool", "Found", "=", "false", ";", "for", "(", "const", "MachineOperand", "&", "MO", ":", "MI", ".", "operands", "(", ")", ")", "{", "for", "(", "unsigned", "c", "=", "0", ";", "c", "<", "array_lengthof", "(", "RCs", ")", "&&", "!", "Found", ";", "++", "c", ")", "{", "const", "TargetRegisterClass", "*", "RC", "=", "RCs", "[", "c", "]", ";", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "if", "(", "MO", ".", "isDef", "(", ")", "&&", "RC", "->", "contains", "(", "MO", ".", "getReg", "(", ")", ")", ")", "{", "Pred", ".", "push_back", "(", "MO", ")", ";", "Found", "=", "true", ";", "}", "}", "else", "if", "(", "MO", ".", "isRegMask", "(", ")", ")", "{", "for", "(", "MCPhysReg", "R", ":", "*", "RC", ")", "if", "(", "MO", ".", "clobbersPhysReg", "(", "R", ")", ")", "{", "Pred", ".", "push_back", "(", "MO", ")", ";", "Found", "=", "true", ";", "}", "}", "}", "}", "return", "Found", ";", "}", ""], "natrual_language": ["If", "the", "specified", "instruction", "defines", "any", "predicate", "or", "condition", "code", "register", "(", "s", ")", "used", "for", "predication", ",", "returns", "true", "as", "well", "as", "the", "definition", "predicate", "(", "s", ")", "by", "reference", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::CRRCRegClass", "PPC::CRBITRCRegClass", "PPC::CTRRCRegClass", "PPC::CTRRC8RegClass", "0"], "File": "PPCInstrInfo29", "Func": "ClobbersPredicate", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3739, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_near_type_p", "(", "const_tree", "type", ")", "{", "return", "lookup_attribute", "(", "\"near\"", ",", "TYPE_ATTRIBUTES", "(", "type", ")", ")", "!=", "NULL", ";", "}", ""], "natrual_language": ["Predicates", "to", "test", "for", "presence", "of", "``", "near", "''", "and", "``", "far", "''", "/", "''", "long_call", "''", "attributes", "on", "the", "given", "TYPE", "."], "TS_V_token": ["mips", "\"near\""], "File": "mips4", "Func": "mips_near_type_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3740, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiRegisterInfo", "::", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "live-ins", "should", "be", "tracked", "after", "register", "allocation", "."], "TS_V_token": ["Lanai", "Lanai"], "File": "LanaiRegisterInfo", "Func": "trackLivenessAfterRegAlloc", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3741, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PPCTTI", "::", "PopcntSupportKind", "PPCTTI", "::", "getPopcntSupport", "(", "unsigned", "TyWidth", ")", "const", "{", "assert", "(", "isPowerOf2_32", "(", "TyWidth", ")", "&&", "\"Ty width must be power of 2\"", ")", ";", "if", "(", "ST", "->", "hasPOPCNTD", "(", ")", "&&", "TyWidth", "<=", "64", ")", "return", "PSK_FastHardware", ";", "return", "PSK_Software", ";", "}", ""], "natrual_language": ["Return", "hardware", "support", "for", "population", "count", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "\"Ty width must be power of 2\"", "64"], "File": "PPCTargetTransformInfo (2)", "Func": "getPopcntSupport", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3742, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "fixed_size_mode", "aarch64_get_reg_raw_mode", "(", "int", "regno", ")", "{", "if", "(", "TARGET_SVE", "&&", "FP_REGNUM_P", "(", "regno", ")", ")", "return", "as_a", "<", "fixed_size_mode", ">", "(", "V16QImode", ")", ";", "return", "default_get_reg_raw_mode", "(", "regno", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_GET_RAW_RESULT_MODE", "and", "TARGET_GET_RAW_ARG_MODE", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_get_reg_raw_mode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3743, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "X86ELFTargetObjectFile", "::", "getDebugThreadLocalSymbol", "(", "const", "MCSymbol", "*", "Sym", ")", "const", "{", "return", "MCSymbolRefExpr", "::", "Create", "(", "Sym", ",", "MCSymbolRefExpr", "::", "VK_DTPOFF", ",", "getContext", "(", ")", ")", ";", "}", ""], "natrual_language": ["Describe", "a", "TLS", "variable", "address", "within", "debug", "info", "."], "TS_V_token": ["X86", "X86"], "File": "X86TargetObjectFile10", "Func": "getDebugThreadLocalSymbol", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3744, "Length": 31, "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": 3745, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SystemZTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "ZERO_EXTEND", ":", "return", "combineZERO_EXTEND", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "return", "combineSIGN_EXTEND", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SIGN_EXTEND_INREG", ":", "return", "combineSIGN_EXTEND_INREG", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "MERGE_HIGH", ":", "case", "SystemZISD", "::", "MERGE_LOW", ":", "return", "combineMERGE", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "combineLOAD", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "combineSTORE", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "EXTRACT_VECTOR_ELT", ":", "return", "combineEXTRACT_VECTOR_ELT", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "JOIN_DWORDS", ":", "return", "combineJOIN_DWORDS", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "FP_ROUND", ":", "return", "combineFP_ROUND", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "FP_EXTEND", ":", "return", "combineFP_EXTEND", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "BSWAP", ":", "return", "combineBSWAP", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "BR_CCMASK", ":", "return", "combineBR_CCMASK", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "SELECT_CCMASK", ":", "return", "combineSELECT_CCMASK", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "GET_CCMASK", ":", "return", "combineGET_CCMASK", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SDIV", ":", "case", "ISD", "::", "UDIV", ":", "case", "ISD", "::", "SREM", ":", "case", "ISD", "::", "UREM", ":", "return", "combineIntDIVREM", "(", "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": ["SystemZ", "SystemZ", "ISD::ZERO_EXTEND", "ISD::SIGN_EXTEND", "ISD::SIGN_EXTEND_INREG", "SystemZISD::MERGE_HIGH", "SystemZISD::MERGE_LOW", "ISD::LOAD", "ISD::STORE", "ISD::EXTRACT_VECTOR_ELT", "SystemZISD::JOIN_DWORDS", "ISD::FP_ROUND", "ISD::FP_EXTEND", "ISD::BSWAP", "SystemZISD::BR_CCMASK", "SystemZISD::SELECT_CCMASK", "SystemZISD::GET_CCMASK", "ISD::SDIV", "ISD::UDIV", "ISD::SREM", "ISD::UREM"], "File": "SystemZISelLowering", "Func": "PerformDAGCombine", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3746, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch_bti_j_insn_p", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "!", "insn", "||", "!", "INSN_P", "(", "insn", ")", ")", "return", "false", ";", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "return", "GET_CODE", "(", "pat", ")", "==", "UNSPEC_VOLATILE", "&&", "XINT", "(", "pat", ",", "1", ")", "==", "VUNSPEC_BTI_NOP", ";", "}", ""], "natrual_language": ["Check", "if", "INSN", "is", "a", "BTI", "J", "insn", "."], "TS_V_token": ["arm", "1"], "File": "arm1", "Func": "aarch_bti_j_insn_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3747, "Length": 48, "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": 3748, "Length": 266, "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", "=", "\"mips32r1\"", ";", "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", "\"mips32r1\"", "Mips", "Mips", "Mips", "Mips", "Mips", "\"Invalid Arch & ABI pair.\"", "\"linux\""], "File": "MipsSubtarget65", "Func": "MipsSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3749, "Length": 217, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_lra_p", "(", "void", ")", "{", "return", "TARGET_LRA", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "use", "LRA", "instead", "of", "reload", "pass", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "sparc_lra_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3750, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "LC2200FrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "FrameReg", ")", "const", "{", "int", "offset", "=", "TargetFrameLowering", "::", "getFrameIndexReference", "(", "MF", ",", "FI", ",", "FrameReg", ")", ";", "assert", "(", "offset", "%", "4", "==", "0", "&&", "\"4-byte addressibility\"", ")", ";", "return", "offset", "/", "4", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["LC2200", "LC2200", "4", "0", "\"4-byte addressibility\"", "4"], "File": "LC2200FrameLowering", "Func": "getFrameIndexReference", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3751, "Length": 50, "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": 3752, "Length": 66, "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", "|", "MachineMemOperand", "::", "MOInvariant", ",", "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": ["X86"], "File": "X86CallLowering11", "Func": "assignValueToAddress", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3753, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "HOST_WIDE_INT", "htm_spr_num", "(", "enum", "rs6000_gen_builtins", "code", ")", "{", "if", "(", "code", "==", "RS6000_BIF_GET_TFHAR", "||", "code", "==", "RS6000_BIF_SET_TFHAR", ")", "return", "TFHAR_SPR", ";", "else", "if", "(", "code", "==", "RS6000_BIF_GET_TFIAR", "||", "code", "==", "RS6000_BIF_SET_TFIAR", ")", "return", "TFIAR_SPR", ";", "else", "if", "(", "code", "==", "RS6000_BIF_GET_TEXASR", "||", "code", "==", "RS6000_BIF_SET_TEXASR", ")", "return", "TEXASR_SPR", ";", "gcc_assert", "(", "code", "==", "RS6000_BIF_GET_TEXASRU", "||", "code", "==", "RS6000_BIF_SET_TEXASRU", ")", ";", "return", "TEXASRU_SPR", ";", "}", ""], "natrual_language": ["Return", "the", "appropriate", "SPR", "number", "associated", "with", "the", "given", "builtin", "."], "TS_V_token": ["rs6000"], "File": "rs6000-builtin", "Func": "htm_spr_num", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3754, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86Subtarget", "::", "enableEarlyIfConversion", "(", ")", "const", "{", "return", "canUseCMOV", "(", ")", "&&", "X86EarlyIfConv", ";", "}", ""], "natrual_language": ["Enable", "the", "use", "of", "the", "early", "if", "conversion", "pass", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86Subtarget41", "Func": "enableEarlyIfConversion", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3755, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_emit_adjust_frame", "(", "rtx", "to_reg", ",", "rtx", "from_reg", ",", "int", "adjust_value", ")", "{", "rtx", "tmp_reg", ";", "rtx", "frame_adjust_insn", ";", "rtx", "adjust_value_rtx", "=", "GEN_INT", "(", "adjust_value", ")", ";", "if", "(", "adjust_value", "==", "0", ")", "return", ";", "if", "(", "!", "satisfies_constraint_Is15", "(", "adjust_value_rtx", ")", ")", "{", "tmp_reg", "=", "gen_rtx_REG", "(", "SImode", ",", "TA_REGNUM", ")", ";", "emit_move_insn", "(", "tmp_reg", ",", "adjust_value_rtx", ")", ";", "frame_adjust_insn", "=", "gen_addsi3", "(", "to_reg", ",", "from_reg", ",", "tmp_reg", ")", ";", "frame_adjust_insn", "=", "emit_insn", "(", "frame_adjust_insn", ")", ";", "rtx", "plus_rtx", ";", "rtx", "set_rtx", ";", "plus_rtx", "=", "plus_constant", "(", "Pmode", ",", "from_reg", ",", "adjust_value", ")", ";", "set_rtx", "=", "gen_rtx_SET", "(", "to_reg", ",", "plus_rtx", ")", ";", "add_reg_note", "(", "frame_adjust_insn", ",", "REG_FRAME_RELATED_EXPR", ",", "set_rtx", ")", ";", "}", "else", "{", "frame_adjust_insn", "=", "gen_addsi3", "(", "to_reg", ",", "from_reg", ",", "adjust_value_rtx", ")", ";", "frame_adjust_insn", "=", "emit_insn", "(", "frame_adjust_insn", ")", ";", "}", "RTX_FRAME_RELATED_P", "(", "frame_adjust_insn", ")", "=", "1", ";", "}", ""], "natrual_language": ["Function", "that", "may", "creates", "more", "instructions", "for", "large", "value", "on", "adjusting", "stack", "pointer", ".", "In", "nds32", "target", ",", "'addi", "'", "can", "be", "used", "for", "stack", "pointer", "adjustment", "in", "prologue/epilogue", "stage", ".", "However", ",", "sometimes", "there", "are", "too", "many", "local", "variables", "so", "that", "the", "adjustment", "value", "is", "not", "able", "to", "be", "fit", "in", "the", "'addi", "'", "instruction", ".", "One", "solution", "is", "to", "move", "value", "into", "a", "register", "and", "then", "use", "'add", "'", "instruction", ".", "In", "practice", ",", "we", "use", "TA_REGNUM", "(", "$", "r15", ")", "to", "accomplish", "this", "purpose", "."], "TS_V_token": ["nds32", "0", "1"], "File": "nds32", "Func": "nds32_emit_adjust_frame", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3756, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_avoid_hazard", "(", "rtx_insn", "*", "after", ",", "rtx_insn", "*", "insn", ",", "int", "*", "hilo_delay", ",", "rtx", "*", "delayed_reg", ",", "rtx", "lo_reg", ")", "{", "rtx", "pattern", ",", "set", ";", "int", "nops", ",", "ninsns", ";", "pattern", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pattern", ")", "==", "ASM_INPUT", "||", "asm_noperands", "(", "pattern", ")", ">=", "0", ")", "cfun", "->", "machine", "->", "all_noreorder_p", "=", "false", ";", "ninsns", "=", "get_attr_length", "(", "insn", ")", "/", "4", ";", "if", "(", "ninsns", "==", "0", ")", "return", ";", "if", "(", "*", "hilo_delay", "<", "2", "&&", "reg_set_p", "(", "lo_reg", ",", "pattern", ")", ")", "nops", "=", "2", "-", "*", "hilo_delay", ";", "else", "if", "(", "*", "delayed_reg", "!=", "0", "&&", "reg_referenced_p", "(", "*", "delayed_reg", ",", "pattern", ")", ")", "nops", "=", "1", ";", "else", "nops", "=", "0", ";", "*", "hilo_delay", "+=", "nops", ";", "while", "(", "nops", "--", ">", "0", ")", "emit_insn_after", "(", "gen_hazard_nop", "(", ")", ",", "after", ")", ";", "*", "hilo_delay", "+=", "ninsns", ";", "*", "delayed_reg", "=", "0", ";", "if", "(", "INSN_CODE", "(", "insn", ")", ">=", "0", ")", "switch", "(", "get_attr_hazard", "(", "insn", ")", ")", "{", "case", "HAZARD_NONE", ":", "break", ";", "case", "HAZARD_HILO", ":", "*", "hilo_delay", "=", "0", ";", "break", ";", "case", "HAZARD_DELAY", ":", "set", "=", "single_set", "(", "insn", ")", ";", "gcc_assert", "(", "set", ")", ";", "*", "delayed_reg", "=", "SET_DEST", "(", "set", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Subroutine", "of", "mips_reorg", ".", "If", "there", "is", "a", "hazard", "between", "INSN", "and", "a", "previous", "instruction", ",", "avoid", "it", "by", "inserting", "nops", "after", "instruction", "AFTER", ".", "*", "DELAYED_REG", "and", "*", "HILO_DELAY", "describe", "the", "hazards", "that", "apply", "at", "this", "point", ".", "If", "*", "DELAYED_REG", "is", "non-null", ",", "INSN", "must", "wait", "a", "cycle", "before", "using", "the", "value", "of", "that", "register", ".", "*", "HILO_DELAY", "counts", "the", "number", "of", "instructions", "since", "the", "last", "hilo", "hazard", "(", "that", "is", ",", "the", "number", "of", "instructions", "since", "the", "last", "mflo", "or", "mfhi", ")", ".", "After", "inserting", "nops", "for", "INSN", ",", "update", "*", "DELAYED_REG", "and", "*", "HILO_DELAY", "for", "the", "next", "instruction", ".", "LO_REG", "is", "an", "rtx", "for", "the", "LO", "register", ",", "used", "in", "dependence", "checking", "."], "TS_V_token": ["mips", "0", "4", "0", "2", "2", "0", "1", "0", "0", "0", "0", "0"], "File": "mips4", "Func": "mips_avoid_hazard", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3757, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsRegisterInfo", "::", "getFrameRegister", "(", "MachineFunction", "&", "MF", ")", "const", "{", "return", "hasFP", "(", "MF", ")", "?", "Mips", "::", "FP", ":", "Mips", "::", "SP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["Mips", "Mips", "Mips::FP", "Mips::SP"], "File": "MipsRegisterInfo18", "Func": "getFrameRegister", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3758, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "thumb2_expand_return", "(", "bool", "simple_return", ")", "{", "int", "i", ",", "num_regs", ";", "unsigned", "long", "saved_regs_mask", ";", "arm_stack_offsets", "*", "offsets", ";", "offsets", "=", "arm_get_frame_offsets", "(", ")", ";", "saved_regs_mask", "=", "offsets", "->", "saved_regs_mask", ";", "for", "(", "i", "=", "0", ",", "num_regs", "=", "0", ";", "i", "<=", "LAST_ARM_REGNUM", ";", "i", "++", ")", "if", "(", "saved_regs_mask", "&", "(", "1", "<<", "i", ")", ")", "num_regs", "++", ";", "if", "(", "!", "simple_return", "&&", "saved_regs_mask", ")", "{", "if", "(", "num_regs", "==", "1", ")", "{", "rtx", "par", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "2", ")", ")", ";", "rtx", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "PC_REGNUM", ")", ";", "rtx", "addr", "=", "gen_rtx_MEM", "(", "SImode", ",", "gen_rtx_POST_INC", "(", "SImode", ",", "stack_pointer_rtx", ")", ")", ";", "set_mem_alias_set", "(", "addr", ",", "get_frame_alias_set", "(", ")", ")", ";", "XVECEXP", "(", "par", ",", "0", ",", "0", ")", "=", "ret_rtx", ";", "XVECEXP", "(", "par", ",", "0", ",", "1", ")", "=", "gen_rtx_SET", "(", "SImode", ",", "reg", ",", "addr", ")", ";", "RTX_FRAME_RELATED_P", "(", "XVECEXP", "(", "par", ",", "0", ",", "1", ")", ")", "=", "1", ";", "emit_jump_insn", "(", "par", ")", ";", "}", "else", "{", "saved_regs_mask", "&=", "~", "(", "1", "<<", "LR_REGNUM", ")", ";", "saved_regs_mask", "|=", "(", "1", "<<", "PC_REGNUM", ")", ";", "arm_emit_multi_reg_pop", "(", "saved_regs_mask", ")", ";", "}", "}", "else", "{", "emit_jump_insn", "(", "simple_return_rtx", ")", ";", "}", "}", ""], "natrual_language": ["Generate", "pattern", "*", "pop_multiple_with_stack_update_and_return", "if", "single", "POP", "instruction", "can", "be", "generated", ".", "LR", "should", "be", "replaced", "by", "PC", ".", "All", "the", "checks", "required", "are", "already", "done", "by", "USE_RETURN_INSN", "(", ")", ".", "Hence", ",", "all", "we", "really", "need", "to", "check", "here", "is", "if", "single", "register", "is", "to", "be", "returned", ",", "or", "multiple", "register", "return", "."], "TS_V_token": ["arm", "0", "0", "1", "1", "2", "0", "0", "0", "1", "0", "1", "1", "1", "1"], "File": "arm4", "Func": "thumb2_expand_return", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3759, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LC3RegisterInfo", "::", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "live-ins", "should", "be", "tracked", "after", "register", "allocation", "."], "TS_V_token": ["LC3", "LC3"], "File": "LC3RegisterInfo", "Func": "trackLivenessAfterRegAlloc", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3760, "Length": 16, "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", ";", "if", "(", "Inst", ".", "getNumOperands", "(", ")", "==", "0", ")", "return", "false", ";", "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", "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": "ARMMCTargetDesc19", "Func": "evaluateBranch", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3761, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "push_regs", "(", "HARD_REG_SET", "*", "mask", ",", "int", "interrupt_handler", ")", "{", "int", "i", "=", "interrupt_handler", "?", "LAST_BANKED_REG", "+", "1", ":", "0", ";", "int", "skip_fpscr", "=", "0", ";", "for", "(", ";", "i", "<", "FIRST_PSEUDO_REGISTER", ";", "i", "++", ")", "{", "if", "(", "i", "==", "FIRST_FP_REG", "&&", "interrupt_handler", "&&", "TARGET_FMOVD", "&&", "hard_reg_set_intersect_p", "(", "*", "mask", ",", "reg_class_contents", "[", "DF_REGS", "]", ")", ")", "{", "HARD_REG_SET", "unsaved", ";", "push", "(", "FPSCR_REG", ")", ";", "COMPL_HARD_REG_SET", "(", "unsaved", ",", "*", "mask", ")", ";", "fpscr_set_from_mem", "(", "NORMAL_MODE", "(", "FP_MODE", ")", ",", "unsaved", ")", ";", "skip_fpscr", "=", "1", ";", "}", "if", "(", "i", "!=", "PR_REG", "&&", "(", "i", "!=", "FPSCR_REG", "||", "!", "skip_fpscr", ")", "&&", "TEST_HARD_REG_BIT", "(", "*", "mask", ",", "i", ")", ")", "{", "if", "(", "!", "(", "sh_cfun_resbank_handler_p", "(", ")", "&&", "(", "(", "i", ">=", "FIRST_GENERAL_REG", "&&", "i", "<", "LAST_GENERAL_REG", ")", "||", "i", "==", "MACH_REG", "||", "i", "==", "MACL_REG", "||", "i", "==", "GBR_REG", ")", ")", ")", "push", "(", "i", ")", ";", "}", "}", "if", "(", "interrupt_handler", ")", "{", "bool", "use_movml", "=", "false", ";", "if", "(", "TARGET_SH2A", ")", "{", "unsigned", "int", "count", "=", "0", ";", "for", "(", "i", "=", "FIRST_BANKED_REG", ";", "i", "<=", "LAST_BANKED_REG", ";", "i", "++", ")", "if", "(", "TEST_HARD_REG_BIT", "(", "*", "mask", ",", "i", ")", ")", "count", "++", ";", "else", "break", ";", "if", "(", "count", "==", "LAST_BANKED_REG", "-", "FIRST_BANKED_REG", "+", "1", ")", "use_movml", "=", "true", ";", "}", "if", "(", "sh_cfun_resbank_handler_p", "(", ")", ")", ";", "else", "if", "(", "use_movml", ")", "{", "rtx", "x", ",", "mem", ",", "reg", ",", "set", ";", "rtx", "sp_reg", "=", "gen_rtx_REG", "(", "SImode", ",", "STACK_POINTER_REGNUM", ")", ";", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "x", "=", "gen_movml_push_banked", "(", "sp_reg", ")", ";", "x", "=", "frame_insn", "(", "x", ")", ";", "for", "(", "i", "=", "FIRST_BANKED_REG", ";", "i", "<=", "LAST_BANKED_REG", ";", "i", "++", ")", "{", "mem", "=", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "sp_reg", ",", "i", "*", "4", ")", ")", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "i", ")", ";", "add_reg_note", "(", "x", ",", "REG_CFA_OFFSET", ",", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ")", ";", "}", "set", "=", "gen_rtx_SET", "(", "sp_reg", ",", "plus_constant", "(", "Pmode", ",", "sp_reg", ",", "-", "32", ")", ")", ";", "add_reg_note", "(", "x", ",", "REG_CFA_ADJUST_CFA", ",", "set", ")", ";", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", "else", "for", "(", "i", "=", "FIRST_BANKED_REG", ";", "i", "<=", "LAST_BANKED_REG", ";", "i", "++", ")", "if", "(", "TEST_HARD_REG_BIT", "(", "*", "mask", ",", "i", ")", ")", "push", "(", "i", ")", ";", "}", "if", "(", "TEST_HARD_REG_BIT", "(", "*", "mask", ",", "PR_REG", ")", "&&", "!", "sh_cfun_resbank_handler_p", "(", ")", ")", "push", "(", "PR_REG", ")", ";", "}", ""], "natrual_language": ["Generate", "code", "to", "push", "the", "regs", "specified", "in", "the", "mask", ".", "remember", "that", "the", "mask", "is", "of", "the", "internal", "shape", "of", "the", "regs", ",", "not", "the", "external", "shape", "-", "so", "go", "through", "the", "renumber", "vector"], "TS_V_token": ["sh", "1", "0", "0", "1", "0", "1", "4", "32"], "File": "sh5", "Func": "push_regs", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3762, "Length": 415, "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", ",", "bool", "MinSize", ")", ":", "ARMGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "UseMulOps", "(", "UseFusedMulOps", ")", ",", "ReservedGPRegisters", "(", "ARM", "::", "GPRRegClass", ".", "getNumRegs", "(", ")", ")", ",", "CPUString", "(", "CPU", ")", ",", "OptMinSize", "(", "MinSize", ")", ",", "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", ")", "{", "CallLoweringInfo", ".", "reset", "(", "new", "ARMCallLowering", "(", "*", "getTargetLowering", "(", ")", ")", ")", ";", "Legalizer", ".", "reset", "(", "new", "ARMLegalizerInfo", "(", "*", "this", ")", ")", ";", "auto", "*", "RBI", "=", "new", "ARMRegisterBankInfo", "(", "*", "getRegisterInfo", "(", ")", ")", ";", "InstSelector", ".", "reset", "(", "createARMInstructionSelector", "(", "*", "static_cast", "<", "const", "ARMBaseTargetMachine", "*", ">", "(", "&", "TM", ")", ",", "*", "this", ",", "*", "RBI", ")", ")", ";", "RegBankInfo", ".", "reset", "(", "RBI", ")", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM", "ARM::GPRRegClass", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM"], "File": "ARMSubtarget94", "Func": "ARMSubtarget", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3763, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "xstormy16_print_operand_address", "(", "FILE", "*", "file", ",", "machine_mode", ",", "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": "stormy16", "Func": "xstormy16_print_operand_address", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3764, "Length": 231, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "PPCRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "PPCFrameLowering", "*", "PPCFI", "=", "static_cast", "<", "const", "PPCFrameLowering", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R0", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R1", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "RM", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R2", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R13", ")", ";", "}", "if", "(", "Subtarget", ".", "isDarwinABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R2", ")", ";", "}", "if", "(", "Subtarget", ".", "isPPC64", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R13", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R31", ")", ";", "if", "(", "!", "requiresRegisterScavenging", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "R0", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X0", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X1", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X13", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X31", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "X2", ")", ";", "}", "if", "(", "Subtarget", ".", "isDarwinABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "X2", ")", ";", "}", "}", "if", "(", "PPCFI", "->", "needsFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "R31", ")", ";", "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": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC::R0", "PPC::R1", "PPC::LR", "PPC::LR8", "PPC::RM", "PPC::R2", "PPC::R13", "PPC::R2", "PPC", "PPC::R13", "PPC::R31", "PPC::R0", "PPC::X0", "PPC::X1", "PPC::X13", "PPC::X31", "PPC::X2", "PPC::X2", "PPC", "PPC::R31"], "File": "PPCRegisterInfo84", "Func": "getReservedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3765, "Length": 276, "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!\"", ")", ";", "break", ";", "case", "ISD", "::", "BITCAST", ":", "Res", "=", "ExpandBITCAST", "(", "N", ",", "DAG", ")", ";", "break", ";", "case", "ISD", "::", "SRL", ":", "case", "ISD", "::", "SRA", ":", "Res", "=", "Expand64BitShift", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "break", ";", "case", "ISD", "::", "ATOMIC_LOAD_ADD", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMADD64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_LOAD_AND", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMAND64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_LOAD_NAND", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMNAND64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_LOAD_OR", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMOR64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_LOAD_SUB", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMSUB64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_LOAD_XOR", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMXOR64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_SWAP", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMSWAP64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_CMP_SWAP", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMCMPXCHG64_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::BITCAST", "ISD::SRL", "ISD::SRA", "ISD::ATOMIC_LOAD_ADD", "ARMISD::ATOMADD64_DAG", "ISD::ATOMIC_LOAD_AND", "ARMISD::ATOMAND64_DAG", "ISD::ATOMIC_LOAD_NAND", "ARMISD::ATOMNAND64_DAG", "ISD::ATOMIC_LOAD_OR", "ARMISD::ATOMOR64_DAG", "ISD::ATOMIC_LOAD_SUB", "ARMISD::ATOMSUB64_DAG", "ISD::ATOMIC_LOAD_XOR", "ARMISD::ATOMXOR64_DAG", "ISD::ATOMIC_SWAP", "ARMISD::ATOMSWAP64_DAG", "ISD::ATOMIC_CMP_SWAP", "ARMISD::ATOMCMPXCHG64_DAG"], "File": "ARMISelLowering152", "Func": "ReplaceNodeResults", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3766, "Length": 259, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsLongBranch", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "if", "(", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "&&", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "isABI_O32", "(", ")", "&&", "F", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", "->", "globalBaseRegSet", "(", ")", ")", "emitGPDisp", "(", "F", ",", "TII", ")", ";", "if", "(", "SkipLongBranch", ")", "return", "true", ";", "MF", "=", "&", "F", ";", "initMBBInfo", "(", ")", ";", "SmallVector", "<", "MBBInfo", ",", "16", ">", "::", "iterator", "I", ",", "E", "=", "MBBInfos", ".", "end", "(", ")", ";", "bool", "EverMadeChange", "=", "false", ",", "MadeChange", "=", "true", ";", "while", "(", "MadeChange", ")", "{", "MadeChange", "=", "false", ";", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "!", "I", "->", "Br", "||", "I", "->", "HasLongBranch", ")", "continue", ";", "if", "(", "!", "ForceLongBranch", "&&", "isInt", "<", "16", ">", "(", "computeOffset", "(", "I", "->", "Br", ")", "/", "4", ")", ")", "continue", ";", "I", "->", "HasLongBranch", "=", "true", ";", "I", "->", "Size", "+=", "LongBranchSeqSize", "*", "4", ";", "++", "LongBranches", ";", "EverMadeChange", "=", "MadeChange", "=", "true", ";", "}", "}", "if", "(", "!", "EverMadeChange", ")", "return", "true", ";", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "{", "MF", "->", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", "->", "setEmitNOAT", "(", ")", ";", "uint64_t", "Address", "=", "0", ";", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "Address", "+=", "I", "->", "Size", ",", "++", "I", ")", "I", "->", "Address", "=", "Address", ";", "}", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "if", "(", "I", "->", "HasLongBranch", ")", "expandToLongBranch", "(", "*", "I", ")", ";", "MF", "->", "RenumberBlocks", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "16", "16", "4", "4", "Mips", "0"], "File": "MipsLongBranch16", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3767, "Length": 295, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsCCState", "::", "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", "Mips", "1", "0", "128"], "File": "MipsCCState9", "Func": "originalTypeIsF128", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3768, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsConstantIslands", "::", "getOffsetOf", "(", "MachineInstr", "*", "MI", ")", "const", "{", "MachineBasicBlock", "*", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "unsigned", "Offset", "=", "BBInfo", "[", "MBB", "->", "getNumber", "(", ")", "]", ".", "Offset", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", "->", "begin", "(", ")", ";", "&", "*", "I", "!=", "MI", ";", "++", "I", ")", "{", "assert", "(", "I", "!=", "MBB", "->", "end", "(", ")", "&&", "\"Didn't find MI in its own basic block?\"", ")", ";", "Offset", "+=", "TII", "->", "GetInstSizeInBytes", "(", "*", "I", ")", ";", "}", "return", "Offset", ";", "}", ""], "natrual_language": ["getOffsetOf", "-", "Return", "the", "current", "offset", "of", "the", "specified", "machine", "instruction", "from", "the", "start", "of", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "\"Didn't find MI in its own basic block?\""], "File": "MipsConstantIslandPass48", "Func": "getOffsetOf", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3769, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getMemSize", "(", ")", "const", "{", "assert", "(", "Kind", "==", "Memory", "&&", "\"Invalid access!\"", ")", ";", "return", "Mem", ".", "Size", ";", "}", ""], "natrual_language": ["Returns", "the", "size", "in", "bytes", "of", "the", "memory", "access", "."], "TS_V_token": ["X86", "\"Invalid access!\""], "File": "X86AsmParser10", "Func": "getMemSize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3770, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", ",", "uint64_t", ",", "const", "MCRelaxableFragment", "*", ",", "const", "MCAsmLayout", "&", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["Lanai"], "File": "LanaiAsmBackend", "Func": "fixupNeedsRelaxation", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3771, "Length": 24, "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", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "SP", "::", "IntRegsRegisterClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "else", "if", "(", "RC", "==", "SP", "::", "FPRegsRegisterClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STFri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "else", "if", "(", "RC", "==", "SP", "::", "DFPRegsRegisterClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STDFri", ")", ")", ".", "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": ["Sparc", "Sparc", "SP::IntRegsRegisterClass", "SP::STri", "0", "SP::FPRegsRegisterClass", "SP::STFri", "0", "SP::DFPRegsRegisterClass", "SP::STDFri", "0", "\"Can't store this register to stack slot\""], "File": "SparcInstrInfo7", "Func": "storeRegToStackSlot", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3772, "Length": 192, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "InstrItineraryData", "*", "getInstrItineraryData", "(", ")", "const", "override", "{", "return", "&", "getSubtargetImpl", "(", ")", "->", "getInstrItineraryData", "(", ")", ";", "}", ""], "natrual_language": ["getInstrItineraryData", "-", "Returns", "instruction", "itinerary", "data", "for", "the", "target", "or", "specific", "subtarget", "."], "TS_V_token": ["PowerPC"], "File": "PPCTargetMachine", "Func": "getInstrItineraryData", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3773, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "unsigned", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCRetInfo", "(", "CallConv", ",", "isVarArg", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCRetInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_PPC", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "RVLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "EVT", "VT", "=", "VA", ".", "getValVT", "(", ")", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "VT", ",", "InFlag", ")", ".", "getValue", "(", "1", ")", ";", "InVals", ".", "push_back", "(", "Chain", ".", "getValue", "(", "0", ")", ")", ";", "InFlag", "=", "Chain", ".", "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": ["PowerPC", "PPC", "ISD::InputArg", "16", "PPC", "0", "\"Can only return in registers!\"", "1", "0", "2"], "File": "PPCISelLowering70", "Func": "LowerCallResult", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3774, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "nds32_local_alignment", "(", "tree", "local", "ATTRIBUTE_UNUSED", ",", "unsigned", "int", "basic_align", ")", "{", "bool", "at_least_align_to_word", "=", "false", ";", "switch", "(", "TREE_CODE", "(", "local", ")", ")", "{", "case", "ARRAY_TYPE", ":", "case", "RECORD_TYPE", ":", "case", "UNION_TYPE", ":", "at_least_align_to_word", "=", "true", ";", "break", ";", "default", ":", "at_least_align_to_word", "=", "false", ";", "break", ";", "}", "if", "(", "at_least_align_to_word", "&&", "(", "basic_align", "<", "BITS_PER_WORD", ")", ")", "return", "BITS_PER_WORD", ";", "else", "return", "basic_align", ";", "}", ""], "natrual_language": ["Return", "alignment", "for", "local", "variable", "."], "TS_V_token": ["nds32"], "File": "nds32", "Func": "nds32_local_alignment", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3775, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsSubtarget", "::", "overrideSchedPolicy", "(", "MachineSchedPolicy", "&", "Policy", ",", "unsigned", "NumRegionInstrs", ")", "const", "{", "}", ""], "natrual_language": ["Override", "generic", "scheduling", "policy", "within", "a", "region", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsSubtarget37", "Func": "overrideSchedPolicy", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3776, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "function_arg_slotno", "(", "const", "struct", "sparc_args", "*", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "int", "named", ",", "int", "incoming_p", ",", "int", "*", "pregno", ",", "int", "*", "ppadding", ")", "{", "int", "regbase", "=", "(", "incoming_p", "?", "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", ":", "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", ")", "==", "UNION_TYPE", ")", ")", "{", "if", "(", "slotno", ">=", "SPARC_INT_ARG_MAX", ")", "return", "-", "1", ";", "regno", "=", "regbase", "+", "slotno", ";", "}", "else", "{", "int", "intregs_p", "=", "0", ",", "fpregs_p", "=", "0", ",", "packed_p", "=", "0", ";", "if", "(", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", ")", "fpregs_p", "=", "1", ";", "else", "scan_record_type", "(", "type", ",", "&", "intregs_p", ",", "&", "fpregs_p", ",", "&", "packed_p", ")", ";", "if", "(", "packed_p", "||", "!", "named", ")", "fpregs_p", "=", "0", ",", "intregs_p", "=", "1", ";", "if", "(", "fpregs_p", "&&", "slotno", ">=", "SPARC_FP_ARG_MAX", ")", "return", "-", "1", ";", "if", "(", "!", "fpregs_p", "&&", "intregs_p", "&&", "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", "0", "0", "0", "1", "0", "1", "1", "1"], "File": "sparc3", "Func": "function_arg_slotno", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3777, "Length": 427, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_split_lock_test_and_set", "(", "rtx", "retval", ",", "rtx", "mem", ",", "rtx", "val", ",", "rtx", "scratch", ")", "{", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "rtx", "label", ",", "x", ",", "cond", "=", "gen_rtx_REG", "(", "CCmode", ",", "CR0_REGNO", ")", ";", "emit_insn", "(", "gen_memory_barrier", "(", ")", ")", ";", "label", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "gen_label_rtx", "(", ")", ")", ";", "emit_label", "(", "XEXP", "(", "label", ",", "0", ")", ")", ";", "emit_load_locked", "(", "mode", ",", "retval", ",", "mem", ")", ";", "emit_move_insn", "(", "scratch", ",", "val", ")", ";", "emit_store_conditional", "(", "mode", ",", "cond", ",", "mem", ",", "scratch", ")", ";", "x", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "cond", ",", "const0_rtx", ")", ";", "emit_unlikely_jump", "(", "x", ",", "label", ")", ";", "emit_insn", "(", "gen_isync", "(", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "an", "atomic", "test", "and", "set", "operation", ".", "MEM", "is", "the", "memory", "on", "which", "to", "operate", ".", "VAL", "is", "the", "value", "set", ".", "SCRATCH", "is", "a", "scratch", "GPR", "."], "TS_V_token": ["rs6000", "0"], "File": "rs60003", "Func": "rs6000_split_lock_test_and_set", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3778, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "genAlternativeCodeSequence", "(", "MachineInstr", "&", "Root", ",", "MachineCombinerPattern", "::", "MC_PATTERN", "Pattern", ",", "SmallVectorImpl", "<", "MachineInstr", "*", ">", "&", "InsInstrs", ",", "SmallVectorImpl", "<", "MachineInstr", "*", ">", "&", "DelInstrs", ",", "DenseMap", "<", "unsigned", ",", "unsigned", ">", "&", "InstIdxForVirtReg", ")", "const", "{", "MachineRegisterInfo", "&", "MRI", "=", "Root", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MachineInstr", "*", "Prev", "=", "nullptr", ";", "switch", "(", "Pattern", ")", "{", "case", "MachineCombinerPattern", "::", "MC_REASSOC_AX_BY", ":", "case", "MachineCombinerPattern", "::", "MC_REASSOC_XA_BY", ":", "Prev", "=", "MRI", ".", "getUniqueVRegDef", "(", "Root", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ";", "break", ";", "case", "MachineCombinerPattern", "::", "MC_REASSOC_AX_YB", ":", "case", "MachineCombinerPattern", "::", "MC_REASSOC_XA_YB", ":", "Prev", "=", "MRI", ".", "getUniqueVRegDef", "(", "Root", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ";", "}", "assert", "(", "Prev", "&&", "\"Unknown pattern for machine combiner\"", ")", ";", "reassociateOps", "(", "Root", ",", "*", "Prev", ",", "Pattern", ",", "InsInstrs", ",", "DelInstrs", ",", "InstIdxForVirtReg", ")", ";", "return", ";", "}", ""], "natrual_language": ["When", "getMachineCombinerPatterns", "(", ")", "finds", "potential", "patterns", ",", "this", "function", "generates", "the", "instructions", "that", "could", "replace", "the", "original", "code", "sequence", "."], "TS_V_token": ["X86", "X86", "1", "2", "\"Unknown pattern for machine combiner\""], "File": "X86InstrInfo111", "Func": "genAlternativeCodeSequence", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3779, "Length": 155, "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", ")", ",", "ReserveX18", "(", "TT", ".", "isOSDarwin", "(", ")", "||", "TT", ".", "isOSWindows", "(", ")", ")", ",", "IsLittle", "(", "LittleEndian", ")", ",", "TargetTriple", "(", "TT", ")", ",", "FrameLowering", "(", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "FS", ",", "CPU", ")", ")", ",", "TSInfo", "(", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", "{", "CallLoweringInfo", ".", "reset", "(", "new", "AArch64CallLowering", "(", "*", "getTargetLowering", "(", ")", ")", ")", ";", "Legalizer", ".", "reset", "(", "new", "AArch64LegalizerInfo", "(", ")", ")", ";", "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", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64Subtarget24", "Func": "AArch64Subtarget", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3780, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_find_max_used_stack_alignment", "(", "unsigned", "int", "&", "stack_alignment", ",", "bool", "check_stack_slot", ")", "{", "HARD_REG_SET", "set_up_by_prologue", ",", "prologue_used", ";", "basic_block", "bb", ";", "CLEAR_HARD_REG_SET", "(", "prologue_used", ")", ";", "CLEAR_HARD_REG_SET", "(", "set_up_by_prologue", ")", ";", "add_to_hard_reg_set", "(", "&", "set_up_by_prologue", ",", "Pmode", ",", "STACK_POINTER_REGNUM", ")", ";", "add_to_hard_reg_set", "(", "&", "set_up_by_prologue", ",", "Pmode", ",", "ARG_POINTER_REGNUM", ")", ";", "add_to_hard_reg_set", "(", "&", "set_up_by_prologue", ",", "Pmode", ",", "HARD_FRAME_POINTER_REGNUM", ")", ";", "if", "(", "stack_alignment", ">", "crtl", "->", "preferred_stack_boundary", ")", "stack_alignment", "=", "crtl", "->", "preferred_stack_boundary", ";", "bool", "require_stack_frame", "=", "false", ";", "FOR_EACH_BB_FN", "(", "bb", ",", "cfun", ")", "{", "rtx_insn", "*", "insn", ";", "FOR_BB_INSNS", "(", "bb", ",", "insn", ")", "if", "(", "NONDEBUG_INSN_P", "(", "insn", ")", "&&", "requires_stack_frame_p", "(", "insn", ",", "prologue_used", ",", "set_up_by_prologue", ")", ")", "{", "require_stack_frame", "=", "true", ";", "if", "(", "check_stack_slot", ")", "{", "subrtx_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX", "(", "iter", ",", "array", ",", "PATTERN", "(", "insn", ")", ",", "ALL", ")", "if", "(", "MEM_P", "(", "*", "iter", ")", "&&", "(", "reg_mentioned_p", "(", "stack_pointer_rtx", ",", "*", "iter", ")", "||", "reg_mentioned_p", "(", "frame_pointer_rtx", ",", "*", "iter", ")", ")", ")", "{", "unsigned", "int", "alignment", "=", "MEM_ALIGN", "(", "*", "iter", ")", ";", "if", "(", "alignment", ">", "stack_alignment", ")", "stack_alignment", "=", "alignment", ";", "}", "}", "}", "}", "return", "require_stack_frame", ";", "}", ""], "natrual_language": ["Return", "true", "if", "stack", "frame", "is", "required", ".", "Update", "STACK_ALIGNMENT", "to", "the", "largest", "alignment", ",", "in", "bits", ",", "of", "stack", "slot", "used", "if", "stack", "frame", "is", "required", "and", "CHECK_STACK_SLOT", "is", "true", "."], "TS_V_token": ["i386"], "File": "i3867", "Func": "ix86_find_max_used_stack_alignment", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3781, "Length": 196, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_final_prescan_insn", "(", "rtx_insn", "*", "insn", ",", "rtx", "*", "opvec", ",", "int", "noperands", ")", "{", "if", "(", "INSN_P", "(", "insn", ")", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "UNSPEC_VOLATILE", "&&", "XINT", "(", "PATTERN", "(", "insn", ")", ",", "1", ")", "==", "UNSPEC_CONSTTABLE", ")", "mips_set_text_contents_type", "(", "asm_out_file", ",", "\"__pool_\"", ",", "XINT", "(", "XVECEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ",", "0", ")", ",", "0", ")", ",", "FALSE", ")", ";", "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", "1", "\"__pool_\"", "0", "0", "0"], "File": "mips6", "Func": "mips_final_prescan_insn", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3782, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsCallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "unsigned", "VReg", ")", "const", "{", "MachineInstrBuilder", "Ret", "=", "MIRBuilder", ".", "buildInstrNoInsert", "(", "Mips", "::", "RetRA", ")", ";", "if", "(", "Val", "!=", "nullptr", ")", "{", "if", "(", "!", "isSupportedType", "(", "Val", "->", "getType", "(", ")", ")", ")", "return", "false", ";", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "const", "DataLayout", "&", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "const", "MipsTargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "MipsTargetLowering", ">", "(", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "RetInfos", ";", "SmallVector", "<", "unsigned", ",", "8", ">", "OrigArgIndices", ";", "ArgInfo", "ArgRetInfo", "(", "VReg", ",", "Val", "->", "getType", "(", ")", ")", ";", "setArgFlags", "(", "ArgRetInfo", ",", "AttributeList", "::", "ReturnIndex", ",", "DL", ",", "F", ")", ";", "splitToValueTypes", "(", "ArgRetInfo", ",", "0", ",", "RetInfos", ",", "OrigArgIndices", ")", ";", "SmallVector", "<", "ISD", "::", "OutputArg", ",", "8", ">", "Outs", ";", "subTargetRegTypeForCallingConv", "(", "MIRBuilder", ",", "RetInfos", ",", "OrigArgIndices", ",", "[", "&", "]", "(", "ISD", "::", "ArgFlagsTy", "flags", ",", "EVT", "vt", ",", "EVT", "argvt", ",", "bool", "used", ",", "unsigned", "origIdx", ",", "unsigned", "partOffs", ")", "{", "Outs", ".", "emplace_back", "(", "flags", ",", "vt", ",", "argvt", ",", "used", ",", "origIdx", ",", "partOffs", ")", ";", "}", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "MipsCCState", "CCInfo", "(", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ",", "MF", ",", "ArgLocs", ",", "F", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "TLI", ".", "CCAssignFnForReturn", "(", ")", ")", ";", "OutgoingValueHandler", "RetHandler", "(", "MIRBuilder", ",", "MF", ".", "getRegInfo", "(", ")", ",", "Ret", ")", ";", "if", "(", "!", "RetHandler", ".", "handle", "(", "ArgLocs", ",", "RetInfos", ")", ")", "{", "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": ["Mips", "Mips", "Mips::RetRA", "Mips", "Mips", "8", "8", "0", "ISD::OutputArg", "8", "ISD::ArgFlagsTy", "16", "Mips"], "File": "MipsCallLowering13", "Func": "lowerReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3783, "Length": 303, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZRegisterInfo", "::", "getRegAllocationHints", "(", "unsigned", "VirtReg", ",", "ArrayRef", "<", "MCPhysReg", ">", "Order", ",", "SmallVectorImpl", "<", "MCPhysReg", ">", "&", "Hints", ",", "const", "MachineFunction", "&", "MF", ",", "const", "VirtRegMap", "*", "VRM", ",", "const", "LiveRegMatrix", "*", "Matrix", ")", "const", "{", "const", "MachineRegisterInfo", "*", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "bool", "BaseImplRetVal", "=", "TargetRegisterInfo", "::", "getRegAllocationHints", "(", "VirtReg", ",", "Order", ",", "Hints", ",", "MF", ",", "VRM", ",", "Matrix", ")", ";", "if", "(", "MRI", "->", "getRegClass", "(", "VirtReg", ")", "==", "&", "SystemZ", "::", "GRX32BitRegClass", ")", "{", "SmallVector", "<", "unsigned", ",", "8", ">", "Worklist", ";", "SmallSet", "<", "unsigned", ",", "4", ">", "DoneRegs", ";", "Worklist", ".", "push_back", "(", "VirtReg", ")", ";", "while", "(", "Worklist", ".", "size", "(", ")", ")", "{", "unsigned", "Reg", "=", "Worklist", ".", "pop_back_val", "(", ")", ";", "if", "(", "!", "DoneRegs", ".", "insert", "(", "Reg", ")", ".", "second", ")", "continue", ";", "for", "(", "auto", "&", "Use", ":", "MRI", "->", "use_instructions", "(", "Reg", ")", ")", "if", "(", "Use", ".", "getOpcode", "(", ")", "==", "SystemZ", "::", "LOCRMux", ")", "{", "MachineOperand", "&", "TrueMO", "=", "Use", ".", "getOperand", "(", "1", ")", ";", "MachineOperand", "&", "FalseMO", "=", "Use", ".", "getOperand", "(", "2", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getCommonSubClass", "(", "getRC32", "(", "FalseMO", ",", "VRM", ",", "MRI", ")", ",", "getRC32", "(", "TrueMO", ",", "VRM", ",", "MRI", ")", ")", ";", "if", "(", "RC", "&&", "RC", "!=", "&", "SystemZ", "::", "GRX32BitRegClass", ")", "{", "SmallSet", "<", "unsigned", ",", "4", ">", "CopyHints", ";", "CopyHints", ".", "insert", "(", "Hints", ".", "begin", "(", ")", ",", "Hints", ".", "end", "(", ")", ")", ";", "Hints", ".", "clear", "(", ")", ";", "for", "(", "MCPhysReg", "Reg", ":", "Order", ")", "if", "(", "CopyHints", ".", "count", "(", "Reg", ")", "&&", "RC", "->", "contains", "(", "Reg", ")", "&&", "!", "MRI", "->", "isReserved", "(", "Reg", ")", ")", "Hints", ".", "push_back", "(", "Reg", ")", ";", "for", "(", "MCPhysReg", "Reg", ":", "Order", ")", "if", "(", "!", "CopyHints", ".", "count", "(", "Reg", ")", "&&", "RC", "->", "contains", "(", "Reg", ")", "&&", "!", "MRI", "->", "isReserved", "(", "Reg", ")", ")", "Hints", ".", "push_back", "(", "Reg", ")", ";", "return", "true", ";", "}", "unsigned", "OtherReg", "=", "(", "TrueMO", ".", "getReg", "(", ")", "==", "Reg", "?", "FalseMO", ".", "getReg", "(", ")", ":", "TrueMO", ".", "getReg", "(", ")", ")", ";", "if", "(", "MRI", "->", "getRegClass", "(", "OtherReg", ")", "==", "&", "SystemZ", "::", "GRX32BitRegClass", ")", "Worklist", ".", "push_back", "(", "OtherReg", ")", ";", "}", "}", "}", "return", "BaseImplRetVal", ";", "}", ""], "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": ["SystemZ", "SystemZ", "SystemZ::GRX32BitRegClass", "8", "4", "SystemZ::LOCRMux", "1", "2", "SystemZ::GRX32BitRegClass", "4", "SystemZ::GRX32BitRegClass"], "File": "SystemZRegisterInfo16", "Func": "getRegAllocationHints", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3784, "Length": 408, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isReverseMask", "(", "ArrayRef", "<", "int", ">", "M", ",", "EVT", "VT", ")", "{", "unsigned", "NumElts", "=", "VT", ".", "getVectorNumElements", "(", ")", ";", "if", "(", "NumElts", "!=", "M", ".", "size", "(", ")", ")", "return", "false", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumElts", ";", "++", "i", ")", "if", "(", "M", "[", "i", "]", ">=", "0", "&&", "M", "[", "i", "]", "!=", "(", "int", ")", "(", "NumElts", "-", "1", "-", "i", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "shuffle", "mask", "swaps", "the", "order", "of", "elements", "from", "exactly", "one", "source", "vector", "."], "TS_V_token": ["ARM", "0", "0", "1"], "File": "ARMISelLowering (2)", "Func": "isReverseMask", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3785, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "construct_plt_address", "(", "rtx", "symbol", ")", "{", "rtx", "tmp", ",", "unspec", ";", "gcc_assert", "(", "GET_CODE", "(", "symbol", ")", "==", "SYMBOL_REF", ")", ";", "gcc_assert", "(", "ix86_cmodel", "==", "CM_LARGE_PIC", "&&", "!", "TARGET_PECOFF", ")", ";", "gcc_assert", "(", "Pmode", "==", "DImode", ")", ";", "tmp", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "unspec", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "symbol", ")", ",", "UNSPEC_PLTOFF", ")", ";", "emit_move_insn", "(", "tmp", ",", "gen_rtx_CONST", "(", "Pmode", ",", "unspec", ")", ")", ";", "emit_insn", "(", "ix86_gen_add3", "(", "tmp", ",", "tmp", ",", "pic_offset_table_rtx", ")", ")", ";", "return", "tmp", ";", "}", ""], "natrual_language": ["For", "given", "symbol", "(", "function", ")", "construct", "code", "to", "compute", "address", "of", "it", "'s", "PLT", "entry", "in", "large", "x86-64", "PIC", "model", "."], "TS_V_token": ["i386", "1"], "File": "i3864", "Func": "construct_plt_address", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3786, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aapcs_vfp_allocate_return_reg", "(", "enum", "arm_pcs", "pcs_variant", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ",", "const_tree", "type", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "!", "use_vfp_abi", "(", "pcs_variant", ",", "false", ")", ")", "return", "NULL", ";", "if", "(", "mode", "==", "BLKmode", "||", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_INT", "&&", "GET_MODE_SIZE", "(", "mode", ")", ">=", "GET_MODE_SIZE", "(", "TImode", ")", "&&", "!", "(", "TARGET_NEON", "||", "TARGET_HAVE_MVE", ")", ")", ")", "{", "int", "count", ";", "machine_mode", "ag_mode", ";", "int", "i", ";", "rtx", "par", ";", "int", "shift", ";", "aapcs_vfp_is_call_or_return_candidate", "(", "pcs_variant", ",", "mode", ",", "type", ",", "&", "ag_mode", ",", "&", "count", ")", ";", "if", "(", "!", "(", "TARGET_NEON", "||", "TARGET_HAVE_MVE", ")", ")", "{", "if", "(", "ag_mode", "==", "V2SImode", ")", "ag_mode", "=", "DImode", ";", "else", "if", "(", "ag_mode", "==", "V4SImode", ")", "{", "ag_mode", "=", "DImode", ";", "count", "*=", "2", ";", "}", "}", "shift", "=", "GET_MODE_SIZE", "(", "ag_mode", ")", "/", "GET_MODE_SIZE", "(", "SFmode", ")", ";", "par", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "rtvec_alloc", "(", "count", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "count", ";", "i", "++", ")", "{", "rtx", "tmp", "=", "gen_rtx_REG", "(", "ag_mode", ",", "FIRST_VFP_REGNUM", "+", "i", "*", "shift", ")", ";", "tmp", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "tmp", ",", "GEN_INT", "(", "i", "*", "GET_MODE_SIZE", "(", "ag_mode", ")", ")", ")", ";", "XVECEXP", "(", "par", ",", "0", ",", "i", ")", "=", "tmp", ";", "}", "return", "par", ";", "}", "return", "gen_rtx_REG", "(", "mode", ",", "FIRST_VFP_REGNUM", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "allocate_return_reg", "field", "in", "aapcs_cp_arg_layout", ".", "See", "the", "comment", "there", "for", "the", "behaviour", "of", "this", "function", "."], "TS_V_token": ["arm", "2", "0", "0"], "File": "arm", "Func": "aapcs_vfp_allocate_return_reg", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3787, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCRegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "if", "(", "GuaranteedTailCallOpt", "&&", "I", "->", "getOpcode", "(", ")", "==", "PPC", "::", "ADJCALLSTACKUP", ")", "{", "if", "(", "int", "CalleeAmt", "=", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ")", "{", "bool", "is64Bit", "=", "Subtarget", ".", "isPPC64", "(", ")", ";", "CalleeAmt", "*=", "-", "1", ";", "unsigned", "StackReg", "=", "is64Bit", "?", "PPC", "::", "X1", ":", "PPC", "::", "R1", ";", "unsigned", "TmpReg", "=", "is64Bit", "?", "PPC", "::", "X0", ":", "PPC", "::", "R0", ";", "unsigned", "ADDIInstr", "=", "is64Bit", "?", "PPC", "::", "ADDI8", ":", "PPC", "::", "ADDI", ";", "unsigned", "ADDInstr", "=", "is64Bit", "?", "PPC", "::", "ADD8", ":", "PPC", "::", "ADD4", ";", "unsigned", "LISInstr", "=", "is64Bit", "?", "PPC", "::", "LIS8", ":", "PPC", "::", "LIS", ";", "unsigned", "ORIInstr", "=", "is64Bit", "?", "PPC", "::", "ORI8", ":", "PPC", "::", "ORI", ";", "MachineInstr", "*", "MI", "=", "I", ";", "DebugLoc", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "isInt16", "(", "CalleeAmt", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "TII", ".", "get", "(", "ADDIInstr", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addImm", "(", "CalleeAmt", ")", ";", "}", "else", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "I", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "LISInstr", ")", ",", "TmpReg", ")", ".", "addImm", "(", "CalleeAmt", ">>", "16", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ORIInstr", ")", ",", "TmpReg", ")", ".", "addReg", "(", "TmpReg", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "CalleeAmt", "&", "0xFFFF", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ADDInstr", ")", ")", ".", "addReg", "(", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addReg", "(", "TmpReg", ")", ";", "}", "}", "}", "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": ["PowerPC", "PPC", "PPC::ADJCALLSTACKUP", "1", "PPC", "1", "PPC::X1", "PPC::R1", "PPC::X0", "PPC::R0", "PPC::ADDI8", "PPC::ADDI", "PPC::ADD8", "PPC::ADD4", "PPC::LIS8", "PPC::LIS", "PPC::ORI8", "PPC::ORI", "16", "0xFFFF"], "File": "PPCRegisterInfo50", "Func": "eliminateCallFramePseudoInstr", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3788, "Length": 306, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_387_reg_move", "(", "rtx_insn", "*", "insn", ",", "rtx", "*", "operands", ")", "{", "if", "(", "REG_P", "(", "operands", "[", "0", "]", ")", ")", "{", "if", "(", "REG_P", "(", "operands", "[", "1", "]", ")", "&&", "find_regno_note", "(", "insn", ",", "REG_DEAD", ",", "REGNO", "(", "operands", "[", "1", "]", ")", ")", ")", "{", "if", "(", "REGNO", "(", "operands", "[", "0", "]", ")", "==", "FIRST_STACK_REG", ")", "return", "output_387_ffreep", "(", "operands", ",", "0", ")", ";", "return", "\"fstp\\t%y0\"", ";", "}", "if", "(", "STACK_TOP_P", "(", "operands", "[", "0", "]", ")", ")", "return", "\"fld%Z1\\t%y1\"", ";", "return", "\"fst\\t%y0\"", ";", "}", "else", "if", "(", "MEM_P", "(", "operands", "[", "0", "]", ")", ")", "{", "gcc_assert", "(", "REG_P", "(", "operands", "[", "1", "]", ")", ")", ";", "if", "(", "find_regno_note", "(", "insn", ",", "REG_DEAD", ",", "REGNO", "(", "operands", "[", "1", "]", ")", ")", ")", "return", "\"fstp%Z0\\t%y0\"", ";", "else", "{", "if", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", "==", "XFmode", ")", "return", "\"fstp%Z0\\t%y0\\n\\tfld%Z0\\t%y0\"", ";", "else", "return", "\"fst%Z0\\t%y0\"", ";", "}", "}", "else", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Output", "code", "to", "perform", "an", "x87", "FP", "register", "move", ",", "from", "OPERANDS", "[", "1", "]", "to", "OPERANDS", "[", "0", "]", "."], "TS_V_token": ["i386", "0", "1", "1", "0", "0", "\"fstp\\t%y0\"", "0", "\"fld%Z1\\t%y1\"", "\"fst\\t%y0\"", "0", "1", "1", "\"fstp%Z0\\t%y0\"", "0", "\"fstp%Z0\\t%y0\\n\\tfld%Z0\\t%y0\"", "\"fst%Z0\\t%y0\""], "File": "i386", "Func": "output_387_reg_move", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3789, "Length": 164, "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": ["X86"], "File": "X86Operand (2)", "Func": "addExpr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3790, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Instruction", "*", "PPCTargetLowering", "::", "emitLeadingFence", "(", "IRBuilder", "<", ">", "&", "Builder", ",", "AtomicOrdering", "Ord", ",", "bool", "IsStore", ",", "bool", "IsLoad", ")", "const", "{", "if", "(", "Ord", "==", "SequentiallyConsistent", ")", "return", "callIntrinsic", "(", "Builder", ",", "Intrinsic", "::", "ppc_sync", ")", ";", "if", "(", "isAtLeastRelease", "(", "Ord", ")", ")", "return", "callIntrinsic", "(", "Builder", ",", "Intrinsic", "::", "ppc_lwsync", ")", ";", "return", "nullptr", ";", "}", ""], "natrual_language": ["Custom", "Lower", "{", "."], "TS_V_token": ["PowerPC", "PPC", "Intrinsic::ppc_sync", "Intrinsic::ppc_lwsync"], "File": "PPCISelLowering (2)2", "Func": "emitLeadingFence", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3791, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "altivec_expand_stvex_be", "(", "rtx", "op0", ",", "rtx", "op1", ",", "machine_mode", "mode", ",", "unsigned", "unspec", ")", "{", "machine_mode", "inner_mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "rtx", "tmp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rtx", "stvx", "=", "gen_rtx_UNSPEC", "(", "inner_mode", ",", "gen_rtvec", "(", "1", ",", "tmp", ")", ",", "unspec", ")", ";", "rtx", "sel", "=", "swap_selector_for_mode", "(", "mode", ")", ";", "rtx", "vperm", ";", "gcc_assert", "(", "REG_P", "(", "op1", ")", ")", ";", "vperm", "=", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "3", ",", "op1", ",", "op1", ",", "sel", ")", ",", "UNSPEC_VPERM", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "tmp", ",", "vperm", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "op0", ",", "stvx", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "code", "for", "a", "``", "stve", "*", "x", "''", "built-in", "for", "a", "little", "endian", "target", "with", "-maltivec=be", "specified", ".", "Issue", "the", "store", "preceded", "by", "an", "element-reversing", "permute", "."], "TS_V_token": ["rs6000", "1", "3"], "File": "rs60005", "Func": "altivec_expand_stvex_be", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3792, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "LLVM_OVERRIDE", "{", "return", "\"SystemZ DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["SystemZ", "\"SystemZ DAG->DAG Pattern Instruction Selection\""], "File": "SystemZISelDAGToDAG1", "Func": "getPassName", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3793, "Length": 14, "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", ")", ";", "}", "}", ""], "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"], "File": "ARMTargetMachine49", "Func": "addPreSched2", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3794, "Length": 186, "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", "::", "tGPRRegClass", "||", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "DestReg", ")", "&&", "isARMLowRegister", "(", "DestReg", ")", ")", ")", "&&", "\"Unknown regclass!\"", ")", ";", "if", "(", "RC", "==", "&", "ARM", "::", "tGPRRegClass", "||", "(", "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", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tLDRspi", ")", ",", "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::tGPRRegClass", "ARM", "\"Unknown regclass!\"", "ARM::tGPRRegClass", "ARM", "ARM::tLDRspi", "0"], "File": "Thumb1InstrInfo21", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3795, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "hfa_element_mode", "(", "const_tree", "type", ",", "bool", "nested", ")", "{", "machine_mode", "element_mode", "=", "VOIDmode", ";", "machine_mode", "mode", ";", "enum", "tree_code", "code", "=", "TREE_CODE", "(", "type", ")", ";", "int", "know_element_mode", "=", "0", ";", "tree", "t", ";", "if", "(", "!", "nested", "&&", "(", "!", "TYPE_SIZE", "(", "type", ")", "||", "integer_zerop", "(", "TYPE_SIZE", "(", "type", ")", ")", ")", ")", "return", "VOIDmode", ";", "switch", "(", "code", ")", "{", "case", "VOID_TYPE", ":", "case", "INTEGER_TYPE", ":", "case", "ENUMERAL_TYPE", ":", "case", "BOOLEAN_TYPE", ":", "case", "POINTER_TYPE", ":", "case", "OFFSET_TYPE", ":", "case", "REFERENCE_TYPE", ":", "case", "METHOD_TYPE", ":", "case", "LANG_TYPE", ":", "case", "FUNCTION_TYPE", ":", "return", "VOIDmode", ";", "case", "COMPLEX_TYPE", ":", "if", "(", "GET_MODE_CLASS", "(", "TYPE_MODE", "(", "type", ")", ")", "==", "MODE_COMPLEX_FLOAT", "&&", "TYPE_MODE", "(", "type", ")", "!=", "TCmode", ")", "return", "GET_MODE_INNER", "(", "TYPE_MODE", "(", "type", ")", ")", ";", "else", "return", "VOIDmode", ";", "case", "REAL_TYPE", ":", "if", "(", "nested", "&&", "TYPE_MODE", "(", "type", ")", "!=", "TFmode", ")", "return", "TYPE_MODE", "(", "type", ")", ";", "else", "return", "VOIDmode", ";", "case", "ARRAY_TYPE", ":", "return", "hfa_element_mode", "(", "TREE_TYPE", "(", "type", ")", ",", "1", ")", ";", "case", "RECORD_TYPE", ":", "case", "UNION_TYPE", ":", "case", "QUAL_UNION_TYPE", ":", "for", "(", "t", "=", "TYPE_FIELDS", "(", "type", ")", ";", "t", ";", "t", "=", "DECL_CHAIN", "(", "t", ")", ")", "{", "if", "(", "TREE_CODE", "(", "t", ")", "!=", "FIELD_DECL", ")", "continue", ";", "mode", "=", "hfa_element_mode", "(", "TREE_TYPE", "(", "t", ")", ",", "1", ")", ";", "if", "(", "know_element_mode", ")", "{", "if", "(", "mode", "!=", "element_mode", ")", "return", "VOIDmode", ";", "}", "else", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_FLOAT", ")", "return", "VOIDmode", ";", "else", "{", "know_element_mode", "=", "1", ";", "element_mode", "=", "mode", ";", "}", "}", "return", "element_mode", ";", "default", ":", "return", "VOIDmode", ";", "}", "return", "VOIDmode", ";", "}", ""], "natrual_language": ["Check", "whether", "TYPE", "is", "a", "homogeneous", "floating", "point", "aggregate", ".", "If", "it", "is", ",", "return", "the", "mode", "of", "the", "floating", "point", "type", "that", "appears", "in", "all", "leafs", ".", "If", "it", "is", "not", ",", "return", "VOIDmode", ".", "An", "aggregate", "is", "a", "homogeneous", "floating", "point", "aggregate", "is", "if", "all", "fields/elements", "in", "it", "have", "the", "same", "floating", "point", "type", "(", "e.g", ",", "SFmode", ")", ".", "128-bit", "quad-precision", "floats", "are", "excluded", "."], "TS_V_token": ["ia64", "0", "1", "1", "1"], "File": "ia644", "Func": "hfa_element_mode", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3796, "Length": 275, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "VariantKind", "getKind", "(", ")", "const", "{", "return", "Kind", ";", "}", ""], "natrual_language": ["Returns", "the", "Kind", "of", "lane", "offset", "."], "TS_V_token": ["Lanai"], "File": "LanaiMCExpr", "Func": "getKind", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3797, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "X86TargetLowering", "::", "getNegatedExpression", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ",", "bool", "LegalOperations", ",", "bool", "ForCodeSize", ",", "NegatibleCost", "&", "Cost", ",", "unsigned", "Depth", ")", "const", "{", "if", "(", "SDValue", "Arg", "=", "isFNEG", "(", "DAG", ",", "Op", ".", "getNode", "(", ")", ",", "Depth", ")", ")", "{", "Cost", "=", "NegatibleCost", "::", "Cheaper", ";", "return", "DAG", ".", "getBitcast", "(", "Op", ".", "getValueType", "(", ")", ",", "Arg", ")", ";", "}", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "EVT", "SVT", "=", "VT", ".", "getScalarType", "(", ")", ";", "unsigned", "Opc", "=", "Op", ".", "getOpcode", "(", ")", ";", "SDNodeFlags", "Flags", "=", "Op", ".", "getNode", "(", ")", "->", "getFlags", "(", ")", ";", "switch", "(", "Opc", ")", "{", "case", "ISD", "::", "FMA", ":", "case", "X86ISD", "::", "FMSUB", ":", "case", "X86ISD", "::", "FNMADD", ":", "case", "X86ISD", "::", "FNMSUB", ":", "case", "X86ISD", "::", "FMADD_RND", ":", "case", "X86ISD", "::", "FMSUB_RND", ":", "case", "X86ISD", "::", "FNMADD_RND", ":", "case", "X86ISD", "::", "FNMSUB_RND", ":", "{", "if", "(", "!", "Op", ".", "hasOneUse", "(", ")", "||", "!", "Subtarget", ".", "hasAnyFMA", "(", ")", "||", "!", "isTypeLegal", "(", "VT", ")", "||", "!", "(", "SVT", "==", "MVT", "::", "f32", "||", "SVT", "==", "MVT", "::", "f64", ")", "||", "!", "isOperationLegal", "(", "ISD", "::", "FMA", ",", "VT", ")", ")", "break", ";", "if", "(", "!", "Flags", ".", "hasNoSignedZeros", "(", ")", ")", "break", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "NewOps", "(", "Op", ".", "getNumOperands", "(", ")", ",", "SDValue", "(", ")", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "!=", "3", ";", "++", "i", ")", "NewOps", "[", "i", "]", "=", "getCheaperNegatedExpression", "(", "Op", ".", "getOperand", "(", "i", ")", ",", "DAG", ",", "LegalOperations", ",", "ForCodeSize", ",", "Depth", "+", "1", ")", ";", "bool", "NegA", "=", "!", "!", "NewOps", "[", "0", "]", ";", "bool", "NegB", "=", "!", "!", "NewOps", "[", "1", "]", ";", "bool", "NegC", "=", "!", "!", "NewOps", "[", "2", "]", ";", "unsigned", "NewOpc", "=", "negateFMAOpcode", "(", "Opc", ",", "NegA", "!=", "NegB", ",", "NegC", ",", "true", ")", ";", "Cost", "=", "(", "NegA", "||", "NegB", "||", "NegC", ")", "?", "NegatibleCost", "::", "Cheaper", ":", "NegatibleCost", "::", "Neutral", ";", "for", "(", "int", "i", "=", "0", ",", "e", "=", "Op", ".", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "if", "(", "!", "NewOps", "[", "i", "]", ")", "NewOps", "[", "i", "]", "=", "Op", ".", "getOperand", "(", "i", ")", ";", "return", "DAG", ".", "getNode", "(", "NewOpc", ",", "SDLoc", "(", "Op", ")", ",", "VT", ",", "NewOps", ")", ";", "}", "case", "X86ISD", "::", "FRCP", ":", "if", "(", "SDValue", "NegOp0", "=", "getNegatedExpression", "(", "Op", ".", "getOperand", "(", "0", ")", ",", "DAG", ",", "LegalOperations", ",", "ForCodeSize", ",", "Cost", ",", "Depth", "+", "1", ")", ")", "return", "DAG", ".", "getNode", "(", "Opc", ",", "SDLoc", "(", "Op", ")", ",", "VT", ",", "NegOp0", ")", ";", "break", ";", "}", "return", "TargetLowering", "::", "getNegatedExpression", "(", "Op", ",", "DAG", ",", "LegalOperations", ",", "ForCodeSize", ",", "Cost", ",", "Depth", ")", ";", "}", ""], "natrual_language": ["Return", "the", "newly", "negated", "expression", "if", "the", "cost", "is", "not", "expensive", "and", "set", "the", "cost", "in", "Cost", "to", "indicate", "that", "if", "it", "is", "cheaper", "or", "neutral", "to", "do", "the", "negation", "."], "TS_V_token": ["X86", "X86", "ISD::FMA", "X86ISD::FMSUB", "X86ISD::FNMADD", "X86ISD::FNMSUB", "X86ISD::FMADD_RND", "X86ISD::FMSUB_RND", "X86ISD::FNMADD_RND", "X86ISD::FNMSUB_RND", "MVT::f32", "MVT::f64", "ISD::FMA", "4", "0", "3", "1", "0", "1", "2", "0", "X86ISD::FRCP", "0", "1"], "File": "X86ISelLowering (2)5", "Func": "getNegatedExpression", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3798, "Length": 466, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isNoopAddrSpaceCast", "(", "unsigned", "SrcAS", ",", "unsigned", "DestAS", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "a", "cast", "between", "SrcAS", "and", "DestAS", "is", "a", "noop", "."], "TS_V_token": ["AArch64"], "File": "AArch64ISelLowering (2)", "Func": "isNoopAddrSpaceCast", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3799, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "addLiveInAttr", "(", "unsigned", "VReg", ",", "ISD", "::", "ArgFlagsTy", "Flags", ")", "{", "LiveInAttrs", ".", "push_back", "(", "std", "::", "make_pair", "(", "VReg", ",", "Flags", ")", ")", ";", "}", ""], "natrual_language": ["This", "function", "associates", "attributes", "for", "each", "live-in", "virtual", "register", "."], "TS_V_token": ["PowerPC", "ISD::ArgFlagsTy"], "File": "PPCMachineFunctionInfo13", "Func": "addLiveInAttr", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3800, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aapcs_vfp_allocate_return_reg", "(", "enum", "arm_pcs", "pcs_variant", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ",", "const_tree", "type", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "!", "use_vfp_abi", "(", "pcs_variant", ",", "false", ")", ")", "return", "NULL", ";", "if", "(", "mode", "==", "BLKmode", "||", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_INT", "&&", "GET_MODE_SIZE", "(", "mode", ")", ">=", "GET_MODE_SIZE", "(", "TImode", ")", "&&", "!", "TARGET_NEON", ")", ")", "{", "int", "count", ";", "machine_mode", "ag_mode", ";", "int", "i", ";", "rtx", "par", ";", "int", "shift", ";", "aapcs_vfp_is_call_or_return_candidate", "(", "pcs_variant", ",", "mode", ",", "type", ",", "&", "ag_mode", ",", "&", "count", ")", ";", "if", "(", "!", "TARGET_NEON", ")", "{", "if", "(", "ag_mode", "==", "V2SImode", ")", "ag_mode", "=", "DImode", ";", "else", "if", "(", "ag_mode", "==", "V4SImode", ")", "{", "ag_mode", "=", "DImode", ";", "count", "*=", "2", ";", "}", "}", "shift", "=", "GET_MODE_SIZE", "(", "ag_mode", ")", "/", "GET_MODE_SIZE", "(", "SFmode", ")", ";", "par", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "rtvec_alloc", "(", "count", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "count", ";", "i", "++", ")", "{", "rtx", "tmp", "=", "gen_rtx_REG", "(", "ag_mode", ",", "FIRST_VFP_REGNUM", "+", "i", "*", "shift", ")", ";", "tmp", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "tmp", ",", "GEN_INT", "(", "i", "*", "GET_MODE_SIZE", "(", "ag_mode", ")", ")", ")", ";", "XVECEXP", "(", "par", ",", "0", ",", "i", ")", "=", "tmp", ";", "}", "return", "par", ";", "}", "return", "gen_rtx_REG", "(", "mode", ",", "FIRST_VFP_REGNUM", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "allocate_return_reg", "field", "in", "aapcs_cp_arg_layout", ".", "See", "the", "comment", "there", "for", "the", "behaviour", "of", "this", "function", "."], "TS_V_token": ["arm", "2", "0", "0"], "File": "arm5", "Func": "aapcs_vfp_allocate_return_reg", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3801, "Length": 219, "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": "LanaiISelLowering", "Func": "LowerReturn", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3802, "Length": 389, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sh_legitimize_address", "(", "rtx", "x", ",", "rtx", "oldx", ",", "machine_mode", "mode", ")", "{", "if", "(", "flag_pic", ")", "x", "=", "legitimize_pic_address", "(", "oldx", ",", "mode", ",", "NULL_RTX", ")", ";", "if", "(", "(", "TARGET_FPU_DOUBLE", "&&", "mode", "==", "DFmode", ")", "||", "(", "TARGET_SH2E", "&&", "mode", "==", "SFmode", ")", ")", "return", "x", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", "&&", "BASE_REGISTER_RTX_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", ")", "{", "struct", "disp_adjust", "adj", "=", "sh_find_mov_disp_adjust", "(", "mode", ",", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", ";", "if", "(", "adj", ".", "offset_adjust", "!=", "NULL_RTX", "&&", "adj", ".", "mov_disp", "!=", "NULL_RTX", ")", "{", "rtx", "sum", "=", "expand_binop", "(", "Pmode", ",", "add_optab", ",", "XEXP", "(", "x", ",", "0", ")", ",", "adj", ".", "offset_adjust", ",", "NULL_RTX", ",", "0", ",", "OPTAB_LIB_WIDEN", ")", ";", "return", "gen_rtx_PLUS", "(", "Pmode", ",", "sum", ",", "adj", ".", "mov_disp", ")", ";", "}", "}", "return", "x", ";", "}", ""], "natrual_language": ["Try", "to", "modify", "an", "illegitimate", "address", "and", "make", "it", "legitimate", ".", "If", "we", "find", "one", ",", "return", "the", "new", ",", "valid", "address", ".", "Otherwise", ",", "return", "the", "original", "address", "."], "TS_V_token": ["sh", "1", "0", "1", "0", "0"], "File": "sh", "Func": "sh_legitimize_address", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3803, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZPostRASchedStrategy", "::", "enterMBB", "(", "MachineBasicBlock", "*", "NextMBB", ")", "{", "assert", "(", "(", "SchedStates", ".", "find", "(", "NextMBB", ")", "==", "SchedStates", ".", "end", "(", ")", ")", "&&", "\"Entering MBB twice?\"", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"** Entering \"", "<<", "printMBBReference", "(", "*", "NextMBB", ")", ")", ";", "MBB", "=", "NextMBB", ";", "HazardRec", "=", "SchedStates", "[", "MBB", "]", "=", "new", "SystemZHazardRecognizer", "(", "TII", ",", "&", "SchedModel", ")", ";", "DEBUG", "(", "const", "MachineLoop", "*", "Loop", "=", "MLI", "->", "getLoopFor", "(", "MBB", ")", ";", "if", "(", "Loop", "&&", "Loop", "->", "getHeader", "(", ")", "==", "MBB", ")", "dbgs", "(", ")", "<<", "\" (Loop header)\"", ";", "dbgs", "(", ")", "<<", "\":\\n\"", ";", ")", ";", "MachineBasicBlock", "*", "SinglePredMBB", "=", "getSingleSchedPred", "(", "MBB", ",", "MLI", "->", "getLoopFor", "(", "MBB", ")", ")", ";", "if", "(", "SinglePredMBB", "==", "nullptr", "||", "SchedStates", ".", "find", "(", "SinglePredMBB", ")", "==", "SchedStates", ".", "end", "(", ")", ")", "return", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"** Continued scheduling from \"", "<<", "printMBBReference", "(", "*", "SinglePredMBB", ")", "<<", "\"\\n\"", ";", ")", ";", "HazardRec", "->", "copyState", "(", "SchedStates", "[", "SinglePredMBB", "]", ")", ";", "DEBUG", "(", "HazardRec", "->", "dumpState", "(", ")", ";", ")", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "SinglePredMBB", "->", "getFirstTerminator", "(", ")", ";", "I", "!=", "SinglePredMBB", "->", "end", "(", ")", ";", "I", "++", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"** Emitting incoming branch: \"", ";", "I", "->", "dump", "(", ")", ";", ")", ";", "bool", "TakenBranch", "=", "(", "I", "->", "isBranch", "(", ")", "&&", "(", "TII", "->", "getBranchInfo", "(", "*", "I", ")", ".", "Target", "->", "isReg", "(", ")", "||", "TII", "->", "getBranchInfo", "(", "*", "I", ")", ".", "Target", "->", "getMBB", "(", ")", "==", "MBB", ")", ")", ";", "HazardRec", "->", "emitInstruction", "(", "&", "*", "I", ",", "TakenBranch", ")", ";", "if", "(", "TakenBranch", ")", "break", ";", "}", "}", ""], "natrual_language": ["Tell", "the", "strategy", "that", "MBB", "is", "about", "to", "be", "processed", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"Entering MBB twice?\"", "\"** Entering \"", "SystemZ", "\" (Loop header)\"", "\":\\n\"", "\"** Continued scheduling from \"", "\"\\n\"", "\"** Emitting incoming branch: \""], "File": "SystemZMachineScheduler12", "Func": "enterMBB", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3804, "Length": 283, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isAsCheapAsAMove", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "isCortexA57", "(", ")", "&&", "!", "Subtarget", ".", "isCortexA53", "(", ")", "&&", "!", "Subtarget", ".", "isKryo", "(", ")", ")", "return", "MI", "->", "isAsCheapAsAMove", "(", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "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::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": "AArch64InstrInfo18", "Func": "isAsCheapAsAMove", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3805, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "sh_address_cost", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "addr_space_t", "as", "ATTRIBUTE_UNUSED", ",", "bool", "speed", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "REG_P", "(", "x", ")", "&&", "REGNO", "(", "x", ")", "==", "GBR_REG", ")", "return", "2", ";", "if", "(", "REG_P", "(", "x", ")", "||", "GET_CODE", "(", "x", ")", "==", "POST_INC", "||", "GET_CODE", "(", "x", ")", "==", "PRE_DEC", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "{", "if", "(", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "GBR_REG", "&&", "gbr_displacement", "(", "XEXP", "(", "x", ",", "1", ")", ",", "mode", ")", ")", "return", "2", ";", "const", "HOST_WIDE_INT", "offset", "=", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ";", "if", "(", "offset", "==", "0", ")", "return", "1", ";", "if", "(", "offset", ">", "0", "&&", "offset", "<=", "sh_max_mov_insn_displacement", "(", "mode", ",", "false", ")", ")", "return", "(", "mode", "==", "HImode", "||", "mode", "==", "QImode", ")", "?", "2", ":", "1", ";", "if", "(", "TARGET_SH2A", "&&", "offset", ">", "0", "&&", "offset", "<=", "sh_max_mov_insn_displacement", "(", "mode", ",", "true", ")", ")", "return", "2", ";", "return", "3", ";", "}", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "!", "CONSTANT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", "&&", "!", "TARGET_SHMEDIA", ")", "return", "3", ";", "return", "10", ";", "}", ""], "natrual_language": ["Compute", "the", "cost", "of", "an", "address", ".", "For", "the", "SH", ",", "all", "valid", "addresses", "are", "the", "same", "cost", ".", "Use", "a", "slightly", "higher", "cost", "for", "reg", "+", "reg", "addressing", ",", "since", "it", "increases", "pressure", "on", "r0", "."], "TS_V_token": ["sh", "2", "1", "0", "1", "0", "1", "2", "1", "0", "1", "0", "2", "1", "0", "2", "3", "1", "3", "10"], "File": "sh4", "Func": "sh_address_cost", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3806, "Length": 226, "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", "seh_nop_p", "=", "false", ";", "const", "char", "*", "xasm", ";", "if", "(", "SIBLING_CALL_P", "(", "insn", ")", ")", "{", "if", "(", "direct_p", ")", "{", "if", "(", "ix86_nopic_noplt_attribute_p", "(", "call_op", ")", ")", "xasm", "=", "\"%!jmp\\t{*%p0@GOTPCREL(%%rip)|[QWORD PTR %p0@GOTPCREL[rip]]}\"", ";", "else", "xasm", "=", "\"%!jmp\\t%P0\"", ";", "}", "else", "if", "(", "TARGET_SEH", ")", "xasm", "=", "\"%!rex.W jmp\\t%A0\"", ";", "else", "xasm", "=", "\"%!jmp\\t%A0\"", ";", "output_asm_insn", "(", "xasm", ",", "&", "call_op", ")", ";", "return", "\"\"", ";", "}", "if", "(", "TARGET_SEH", ")", "{", "rtx_insn", "*", "i", ";", "for", "(", "i", "=", "NEXT_INSN", "(", "insn", ")", ";", "i", ";", "i", "=", "NEXT_INSN", "(", "i", ")", ")", "{", "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", ")", ")", "xasm", "=", "\"%!call\\t{*%p0@GOTPCREL(%%rip)|[QWORD PTR %p0@GOTPCREL[rip]]}\"", ";", "else", "xasm", "=", "\"%!call\\t%P0\"", ";", "}", "else", "xasm", "=", "\"%!call\\t%A0\"", ";", "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", "\"%!jmp\\t{*%p0@GOTPCREL(%%rip)|[QWORD PTR %p0@GOTPCREL[rip]]}\"", "\"%!jmp\\t%P0\"", "\"%!rex.W jmp\\t%A0\"", "\"%!jmp\\t%A0\"", "\"\"", "\"%!call\\t{*%p0@GOTPCREL(%%rip)|[QWORD PTR %p0@GOTPCREL[rip]]}\"", "\"%!call\\t%P0\"", "\"%!call\\t%A0\"", "\"nop\"", "\"\""], "File": "i3865", "Func": "ix86_output_call_insn", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3807, "Length": 215, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "or1k_expand_call", "(", "rtx", "retval", ",", "rtx", "fnaddr", ",", "rtx", "callarg1", ",", "bool", "sibcall", ")", "{", "rtx", "call", ",", "use", "=", "NULL", ";", "if", "(", "flag_pic", "&&", "GET_CODE", "(", "XEXP", "(", "fnaddr", ",", "0", ")", ")", "==", "SYMBOL_REF", "&&", "!", "SYMBOL_REF_LOCAL_P", "(", "XEXP", "(", "fnaddr", ",", "0", ")", ")", ")", "{", "crtl", "->", "uses_pic_offset_table", "=", "1", ";", "rtx", "hard_pic", "=", "gen_rtx_REG", "(", "Pmode", ",", "REAL_PIC_OFFSET_TABLE_REGNUM", ")", ";", "emit_move_insn", "(", "hard_pic", ",", "pic_offset_table_rtx", ")", ";", "use_reg", "(", "&", "use", ",", "hard_pic", ")", ";", "}", "if", "(", "!", "call_insn_operand", "(", "XEXP", "(", "fnaddr", ",", "0", ")", ",", "Pmode", ")", ")", "{", "fnaddr", "=", "copy_to_mode_reg", "(", "Pmode", ",", "XEXP", "(", "fnaddr", ",", "0", ")", ")", ";", "fnaddr", "=", "gen_rtx_MEM", "(", "SImode", ",", "fnaddr", ")", ";", "}", "call", "=", "gen_rtx_CALL", "(", "VOIDmode", ",", "fnaddr", ",", "callarg1", ")", ";", "if", "(", "retval", ")", "call", "=", "gen_rtx_SET", "(", "retval", ",", "call", ")", ";", "if", "(", "!", "sibcall", ")", "{", "rtx", "clob", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "Pmode", ",", "LR_REGNUM", ")", ")", ";", "call", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "call", ",", "clob", ")", ")", ";", "}", "call", "=", "emit_call_insn", "(", "call", ")", ";", "CALL_INSN_FUNCTION_USAGE", "(", "call", ")", "=", "use", ";", "}", ""], "natrual_language": ["Expand", "the", "patterns", "``", "call", "''", ",", "``", "sibcall", "''", ",", "``", "call_value", "''", "and", "``", "sibcall_value", "''", ".", "Expands", "a", "function", "call", "where", "argument", "RETVAL", "is", "an", "optional", "RTX", "providing", "return", "value", "storage", ",", "the", "argument", "FNADDR", "is", "and", "RTX", "describing", "the", "function", "to", "call", ",", "the", "argument", "CALLARG1", "is", "the", "number", "or", "registers", "used", "as", "operands", "and", "the", "argument", "SIBCALL", "should", "be", "true", "if", "this", "is", "a", "nested", "function", "call", ".", "If", "FNADDR", "is", "a", "non", "local", "symbol", "and", "FLAG_PIC", "is", "enabled", "this", "will", "generate", "a", "PLT", "call", "."], "TS_V_token": ["or1k", "0", "0", "1", "0", "0", "2"], "File": "or1k", "Func": "or1k_expand_call", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3808, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86TTI", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "UnrollingPreferences", "&", "UP", ")", "const", "{", "if", "(", "!", "UsePartialUnrolling", ")", "return", ";", "unsigned", "MaxBranches", ",", "MaxOps", ";", "if", "(", "PartialUnrollingThreshold", ".", "getNumOccurrences", "(", ")", ">", "0", ")", "{", "MaxBranches", "=", "PartialUnrollingMaxBranches", ";", "MaxOps", "=", "PartialUnrollingThreshold", ";", "}", "else", "if", "(", "ST", "->", "isAtom", "(", ")", ")", "{", "MaxBranches", "=", "2", ";", "MaxOps", "=", "10", ";", "}", "else", "if", "(", "ST", "->", "hasFSGSBase", "(", ")", "&&", "ST", "->", "hasXOP", "(", ")", ")", "{", "MaxBranches", "=", "16", ";", "MaxOps", "=", "40", ";", "}", "else", "if", "(", "ST", "->", "hasFMA4", "(", ")", ")", "{", "return", ";", "}", "else", "if", "(", "ST", "->", "hasAVX", "(", ")", "||", "ST", "->", "hasSSE42", "(", ")", ")", "{", "MaxBranches", "=", "8", ";", "MaxOps", "=", "28", ";", "}", "else", "if", "(", "ST", "->", "hasSSSE3", "(", ")", ")", "{", "MaxBranches", "=", "4", ";", "MaxOps", "=", "18", ";", "}", "else", "{", "return", ";", "}", "unsigned", "MaxDepth", "=", "0", ";", "for", "(", "df_iterator", "<", "BasicBlock", "*", ">", "DI", "=", "df_begin", "(", "L", "->", "getHeader", "(", ")", ")", ",", "DE", "=", "df_end", "(", "L", "->", "getHeader", "(", ")", ")", ";", "DI", "!=", "DE", ";", ")", "{", "if", "(", "!", "L", "->", "contains", "(", "*", "DI", ")", ")", "{", "DI", ".", "skipChildren", "(", ")", ";", "continue", ";", "}", "MaxDepth", "=", "std", "::", "max", "(", "MaxDepth", ",", "DI", ".", "getPathLength", "(", ")", ")", ";", "if", "(", "MaxDepth", ">", "MaxBranches", ")", "return", ";", "for", "(", "BasicBlock", "::", "iterator", "I", "=", "DI", "->", "begin", "(", ")", ",", "IE", "=", "DI", "->", "end", "(", ")", ";", "I", "!=", "IE", ";", "++", "I", ")", "if", "(", "isa", "<", "CallInst", ">", "(", "I", ")", "||", "isa", "<", "InvokeInst", ">", "(", "I", ")", ")", "{", "ImmutableCallSite", "CS", "(", "I", ")", ";", "if", "(", "const", "Function", "*", "F", "=", "CS", ".", "getCalledFunction", "(", ")", ")", "{", "if", "(", "!", "isLoweredToCall", "(", "F", ")", ")", "continue", ";", "}", "return", ";", "}", "++", "DI", ";", "}", "UP", ".", "Partial", "=", "UP", ".", "Runtime", "=", "true", ";", "UP", ".", "PartialThreshold", "=", "UP", ".", "PartialOptSizeThreshold", "=", "MaxOps", ";", "if", "(", "MaxDepth", ">", "1", ")", "UP", ".", "MaxCount", "=", "(", "MaxBranches", "-", "1", ")", "/", "(", "MaxDepth", "-", "1", ")", ";", "}", ""], "natrual_language": ["Get", "target-customized", "preferences", "for", "the", "generic", "loop", "unrolling", "transformation", "."], "TS_V_token": ["X86", "X86", "0", "2", "10", "16", "40", "8", "28", "4", "18", "0", "1", "1", "1"], "File": "X86TargetTransformInfo54", "Func": "getUnrollingPreferences", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3809, "Length": 365, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "std", "::", "unique_ptr", "<", "AArch64Operand", ">", "CreateReg", "(", "unsigned", "RegNum", ",", "RegKind", "Kind", ",", "SMLoc", "S", ",", "SMLoc", "E", ",", "MCContext", "&", "Ctx", ",", "AArch64_AM", "::", "ShiftExtendType", "ExtTy", "=", "AArch64_AM", "::", "LSL", ",", "unsigned", "ShiftAmount", "=", "0", ",", "unsigned", "HasExplicitAmount", "=", "false", ")", "{", "auto", "Op", "=", "make_unique", "<", "AArch64Operand", ">", "(", "k_Register", ",", "Ctx", ")", ";", "Op", "->", "Reg", ".", "RegNum", "=", "RegNum", ";", "Op", "->", "Reg", ".", "Kind", "=", "Kind", ";", "Op", "->", "Reg", ".", "ElementWidth", "=", "0", ";", "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": "AArch64AsmParser27", "Func": "CreateReg", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3810, "Length": 128, "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": 3811, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_invalid_builtin", "(", "enum", "rs6000_gen_builtins", "fncode", ")", "{", "size_t", "j", "=", "(", "size_t", ")", "fncode", ";", "const", "char", "*", "name", "=", "rs6000_builtin_info", "[", "j", "]", ".", "bifname", ";", "switch", "(", "rs6000_builtin_info", "[", "j", "]", ".", "enable", ")", "{", "case", "ENB_P5", ":", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"-mcpu=power5\"", ")", ";", "break", ";", "case", "ENB_P6", ":", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"-mcpu=power6\"", ")", ";", "break", ";", "case", "ENB_P6_64", ":", "error", "(", "\"%qs requires the %qs option and either the %qs or %qs option\"", ",", "name", ",", "\"-mcpu=power6\"", ",", "\"-m64\"", ",", "\"-mpowerpc64\"", ")", ";", "break", ";", "case", "ENB_ALTIVEC", ":", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"-maltivec\"", ")", ";", "break", ";", "case", "ENB_CELL", ":", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"-mcpu=cell\"", ")", ";", "break", ";", "case", "ENB_VSX", ":", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"-mvsx\"", ")", ";", "break", ";", "case", "ENB_P7", ":", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"-mcpu=power7\"", ")", ";", "break", ";", "case", "ENB_P7_64", ":", "error", "(", "\"%qs requires the %qs option and either the %qs or %qs option\"", ",", "name", ",", "\"-mcpu=power7\"", ",", "\"-m64\"", ",", "\"-mpowerpc64\"", ")", ";", "break", ";", "case", "ENB_P8", ":", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"-mcpu=power8\"", ")", ";", "break", ";", "case", "ENB_P8V", ":", "error", "(", "\"%qs requires the %qs and %qs options\"", ",", "name", ",", "\"-mcpu=power8\"", ",", "\"-mvsx\"", ")", ";", "break", ";", "case", "ENB_P9", ":", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"-mcpu=power9\"", ")", ";", "break", ";", "case", "ENB_P9_64", ":", "error", "(", "\"%qs requires the %qs option and either the %qs or %qs option\"", ",", "name", ",", "\"-mcpu=power9\"", ",", "\"-m64\"", ",", "\"-mpowerpc64\"", ")", ";", "break", ";", "case", "ENB_P9V", ":", "error", "(", "\"%qs requires the %qs and %qs options\"", ",", "name", ",", "\"-mcpu=power9\"", ",", "\"-mvsx\"", ")", ";", "break", ";", "case", "ENB_IEEE128_HW", ":", "error", "(", "\"%qs requires quad-precision floating-point arithmetic\"", ",", "name", ")", ";", "break", ";", "case", "ENB_DFP", ":", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"-mhard-dfp\"", ")", ";", "break", ";", "case", "ENB_CRYPTO", ":", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"-mcrypto\"", ")", ";", "break", ";", "case", "ENB_HTM", ":", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"-mhtm\"", ")", ";", "break", ";", "case", "ENB_P10", ":", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"-mcpu=power10\"", ")", ";", "break", ";", "case", "ENB_P10_64", ":", "error", "(", "\"%qs requires the %qs option and either the %qs or %qs option\"", ",", "name", ",", "\"-mcpu=power10\"", ",", "\"-m64\"", ",", "\"-mpowerpc64\"", ")", ";", "break", ";", "case", "ENB_MMA", ":", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"-mmma\"", ")", ";", "break", ";", "default", ":", "case", "ENB_ALWAYS", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Raise", "an", "error", "message", "for", "a", "builtin", "function", "that", "is", "called", "without", "the", "appropriate", "target", "options", "being", "set", "."], "TS_V_token": ["rs6000", "\"%qs requires the %qs option\"", "\"-mcpu=power5\"", "\"%qs requires the %qs option\"", "\"-mcpu=power6\"", "\"%qs requires the %qs option and either the %qs or %qs option\"", "\"-mcpu=power6\"", "\"-m64\"", "\"-mpowerpc64\"", "\"%qs requires the %qs option\"", "\"-maltivec\"", "\"%qs requires the %qs option\"", "\"-mcpu=cell\"", "\"%qs requires the %qs option\"", "\"-mvsx\"", "\"%qs requires the %qs option\"", "\"-mcpu=power7\"", "\"%qs requires the %qs option and either the %qs or %qs option\"", "\"-mcpu=power7\"", "\"-m64\"", "\"-mpowerpc64\"", "\"%qs requires the %qs option\"", "\"-mcpu=power8\"", "\"%qs requires the %qs and %qs options\"", "\"-mcpu=power8\"", "\"-mvsx\"", "\"%qs requires the %qs option\"", "\"-mcpu=power9\"", "\"%qs requires the %qs option and either the %qs or %qs option\"", "\"-mcpu=power9\"", "\"-m64\"", "\"-mpowerpc64\"", "\"%qs requires the %qs and %qs options\"", "\"-mcpu=power9\"", "\"-mvsx\"", "\"%qs requires quad-precision floating-point arithmetic\"", "\"%qs requires the %qs option\"", "\"-mhard-dfp\"", "\"%qs requires the %qs option\"", "\"-mcrypto\"", "\"%qs requires the %qs option\"", "\"-mhtm\"", "\"%qs requires the %qs option\"", "\"-mcpu=power10\"", "\"%qs requires the %qs option and either the %qs or %qs option\"", "\"-mcpu=power10\"", "\"-m64\"", "\"-mpowerpc64\"", "\"%qs requires the %qs option\"", "\"-mmma\""], "File": "rs6000-builtin", "Func": "rs6000_invalid_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3812, "Length": 347, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "reg_class_t", "csky_secondary_reload", "(", "bool", "in_p", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ",", "reg_class_t", "rclass", ",", "machine_mode", "mode", ",", "secondary_reload_info", "*", "sri", "ATTRIBUTE_UNUSED", ")", "{", "int", "regno", "=", "-", "1", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "SIGN_EXTEND", ")", "{", "int", "off", "=", "0", ";", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "reg_renumber", ")", "regno", "=", "true_regnum", "(", "x", ")", ";", "else", "{", "while", "(", "GET_CODE", "(", "x", ")", "==", "SUBREG", ")", "{", "off", "+=", "subreg_regno_offset", "(", "REGNO", "(", "SUBREG_REG", "(", "x", ")", ")", ",", "GET_MODE", "(", "SUBREG_REG", "(", "x", ")", ")", ",", "SUBREG_BYTE", "(", "x", ")", ",", "GET_MODE", "(", "x", ")", ")", ";", "x", "=", "SUBREG_REG", "(", "x", ")", ";", "}", "if", "(", "GET_CODE", "(", "x", ")", "==", "REG", ")", "regno", "=", "REGNO", "(", "x", ")", "+", "off", ";", "}", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "REG", "||", "GET_CODE", "(", "x", ")", "==", "SUBREG", ")", "regno", "=", "true_regnum", "(", "x", ")", ";", "if", "(", "rclass", "==", "HILO_REGS", "&&", "!", "CSKY_GENERAL_REGNO_P", "(", "regno", ")", ")", "return", "GENERAL_REGS", ";", "if", "(", "rclass", "==", "V_REGS", "&&", "!", "CSKY_GENERAL_REGNO_P", "(", "regno", ")", ")", "{", "if", "(", "MEM_P", "(", "x", ")", "&&", "(", "mode", "==", "SFmode", "||", "mode", "==", "DFmode", ")", ")", "return", "NO_REGS", ";", "else", "return", "GENERAL_REGS", ";", "}", "return", "NO_REGS", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SECONDARY_RELOAD", ".", "If", "copying", "a", "register", "of", "RCLASS", "from/to", "X", "requires", "an", "intermediate", "register", ",", "the", "hook", "should", "return", "the", "REGISTER_CLASS", "required", "for", "this", "intermediate", "register", ".", "If", "no", "intermediate", "register", "is", "required", ",", "it", "should", "return", "NO_REGS", ".", "If", "more", "than", "one", "intermediate", "register", "is", "required", ",", "describe", "the", "one", "that", "is", "closest", "in", "the", "copy", "chain", "to", "the", "reload", "register", "."], "TS_V_token": ["csky", "1", "0", "0"], "File": "csky", "Func": "csky_secondary_reload", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3813, "Length": 215, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ARMTargetLowering", "*", "getTLI", "(", ")", "const", "{", "return", "TLI", ";", "}", ""], "natrual_language": ["Getter", "for", "generic", "TargetLowering", "class", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMTargetTransformInfo (2)1", "Func": "getTLI", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3814, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "detect_l2_cache", "(", "struct", "cache_desc", "*", "level2", ")", "{", "unsigned", "eax", ",", "ebx", ",", "ecx", ",", "edx", ";", "unsigned", "assoc", ";", "__cpuid", "(", "0x80000006", ",", "eax", ",", "ebx", ",", "ecx", ",", "edx", ")", ";", "level2", "->", "sizekb", "=", "(", "ecx", ">>", "16", ")", "&", "0xffff", ";", "level2", "->", "line", "=", "ecx", "&", "0xff", ";", "assoc", "=", "(", "ecx", ">>", "12", ")", "&", "0xf", ";", "if", "(", "assoc", "==", "6", ")", "assoc", "=", "8", ";", "else", "if", "(", "assoc", "==", "8", ")", "assoc", "=", "16", ";", "else", "if", "(", "assoc", ">=", "0xa", "&&", "assoc", "<=", "0xc", ")", "assoc", "=", "32", "+", "(", "assoc", "-", "0xa", ")", "*", "16", ";", "else", "if", "(", "assoc", ">=", "0xd", "&&", "assoc", "<=", "0xe", ")", "assoc", "=", "96", "+", "(", "assoc", "-", "0xd", ")", "*", "32", ";", "level2", "->", "assoc", "=", "assoc", ";", "}", ""], "natrual_language": ["Detect", "L2", "cache", "parameters", "using", "CPUID", "extended", "function", "0x80000006", "."], "TS_V_token": ["i386", "0x80000006", "16", "0xffff", "0xff", "12", "0xf", "6", "8", "8", "16", "0xa", "0xc", "32", "0xa", "16", "0xd", "0xe", "96", "0xd", "32"], "File": "driver-i386", "Func": "detect_l2_cache", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3815, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_no_early_store_addr_dep", "(", "rtx", "producer", ",", "rtx", "consumer", ")", "{", "rtx", "value", "=", "arm_find_sub_rtx_with_code", "(", "PATTERN", "(", "producer", ")", ",", "SET", ",", "false", ")", ";", "rtx", "addr", "=", "arm_find_sub_rtx_with_code", "(", "PATTERN", "(", "consumer", ")", ",", "SET", ",", "false", ")", ";", "if", "(", "value", ")", "value", "=", "SET_DEST", "(", "value", ")", ";", "if", "(", "addr", ")", "addr", "=", "SET_DEST", "(", "addr", ")", ";", "if", "(", "!", "value", "||", "!", "addr", ")", "return", "0", ";", "return", "!", "reg_overlap_mentioned_p", "(", "value", ",", "addr", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "the", "CONSUMER", "instruction", "(", "a", "store", ")", "does", "not", "need", "PRODUCER", "'s", "value", "to", "calculate", "the", "address", "."], "TS_V_token": ["arm", "0"], "File": "aarch-common", "Func": "arm_no_early_store_addr_dep", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3816, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "CAHPMCExpr", "::", "getVariantKindName", "(", "VariantKind", "Kind", ")", "{", "switch", "(", "Kind", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Invalid ELF symbol kind\"", ")", ";", "case", "VK_CAHP_LO", ":", "return", "\"lo\"", ";", "case", "VK_CAHP_HI", ":", "return", "\"hi\"", ";", "}", "}", ""], "natrual_language": ["Convert", "the", "variant", "kind", "into", "an", "ELF-appropriate", "modifier", "(", "e.g", "."], "TS_V_token": ["CAHP", "CAHP", "\"Invalid ELF symbol kind\"", "CAHP", "\"lo\"", "CAHP", "\"hi\""], "File": "CAHPMCExpr", "Func": "getVariantKindName", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3817, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "aarch64_gen_far_branch", "(", "rtx", "*", "operands", ",", "int", "pos_label", ",", "const", "char", "*", "dest", ",", "const", "char", "*", "branch_format", ")", "{", "rtx_code_label", "*", "tmp_label", "=", "gen_label_rtx", "(", ")", ";", "char", "label_buf", "[", "256", "]", ";", "char", "buffer", "[", "128", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "label_buf", ",", "dest", ",", "CODE_LABEL_NUMBER", "(", "tmp_label", ")", ")", ";", "const", "char", "*", "label_ptr", "=", "targetm", ".", "strip_name_encoding", "(", "label_buf", ")", ";", "rtx", "dest_label", "=", "operands", "[", "pos_label", "]", ";", "operands", "[", "pos_label", "]", "=", "tmp_label", ";", "snprintf", "(", "buffer", ",", "sizeof", "(", "buffer", ")", ",", "\"%s%s\"", ",", "branch_format", ",", "label_ptr", ")", ";", "output_asm_insn", "(", "buffer", ",", "operands", ")", ";", "snprintf", "(", "buffer", ",", "sizeof", "(", "buffer", ")", ",", "\"b\\t%%l%d\\n%s:\"", ",", "pos_label", ",", "label_ptr", ")", ";", "operands", "[", "pos_label", "]", "=", "dest_label", ";", "output_asm_insn", "(", "buffer", ",", "operands", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Generate", "code", "to", "enable", "conditional", "branches", "in", "functions", "over", "1", "MiB", "."], "TS_V_token": ["aarch64", "256", "128", "\"%s%s\"", "\"b\\t%%l%d\\n%s:\"", "\"\""], "File": "aarch64", "Func": "aarch64_gen_far_branch", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3818, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "thumb1_final_prescan_insn", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "flag_print_asm_name", ")", "asm_fprintf", "(", "asm_out_file", ",", "\"%@ 0x%04x\\n\"", ",", "INSN_ADDRESSES", "(", "INSN_UID", "(", "insn", ")", ")", ")", ";", "if", "(", "INSN_CODE", "(", "insn", ")", "!=", "CODE_FOR_cbranchsi4_insn", ")", "{", "enum", "attr_conds", "conds", ";", "if", "(", "cfun", "->", "machine", "->", "thumb1_cc_insn", ")", "{", "if", "(", "modified_in_p", "(", "cfun", "->", "machine", "->", "thumb1_cc_op0", ",", "insn", ")", "||", "modified_in_p", "(", "cfun", "->", "machine", "->", "thumb1_cc_op1", ",", "insn", ")", ")", "CC_STATUS_INIT", ";", "}", "conds", "=", "get_attr_conds", "(", "insn", ")", ";", "if", "(", "conds", "==", "CONDS_SET", ")", "{", "rtx", "set", "=", "single_set", "(", "insn", ")", ";", "cfun", "->", "machine", "->", "thumb1_cc_insn", "=", "insn", ";", "cfun", "->", "machine", "->", "thumb1_cc_op0", "=", "SET_DEST", "(", "set", ")", ";", "cfun", "->", "machine", "->", "thumb1_cc_op1", "=", "const0_rtx", ";", "cfun", "->", "machine", "->", "thumb1_cc_mode", "=", "CC_NZmode", ";", "if", "(", "INSN_CODE", "(", "insn", ")", "==", "CODE_FOR_thumb1_subsi3_insn", ")", "{", "rtx", "src1", "=", "XEXP", "(", "SET_SRC", "(", "set", ")", ",", "1", ")", ";", "if", "(", "src1", "==", "const0_rtx", ")", "cfun", "->", "machine", "->", "thumb1_cc_mode", "=", "CCmode", ";", "}", "else", "if", "(", "REG_P", "(", "SET_DEST", "(", "set", ")", ")", "&&", "REG_P", "(", "SET_SRC", "(", "set", ")", ")", ")", "{", "cfun", "->", "machine", "->", "thumb1_cc_op0", "=", "SET_SRC", "(", "set", ")", ";", "}", "}", "else", "if", "(", "conds", "!=", "CONDS_NOCOND", ")", "cfun", "->", "machine", "->", "thumb1_cc_insn", "=", "NULL_RTX", ";", "}", "if", "(", "cfun", "->", "machine", "->", "lr_save_eliminated", "&&", "get_attr_far_jump", "(", "insn", ")", "==", "FAR_JUMP_YES", ")", "internal_error", "(", "\"Unexpected thumb1 far jump\"", ")", ";", "}", ""], "natrual_language": ["Scan", "INSN", "just", "before", "assembler", "is", "output", "for", "it", ".", "For", "Thumb-1", ",", "we", "track", "the", "status", "of", "the", "condition", "codes", ";", "this", "information", "is", "used", "in", "the", "cbranchsi4_insn", "pattern", "."], "TS_V_token": ["arm", "\"%@ 0x%04x\\n\"", "1", "\"Unexpected thumb1 far jump\""], "File": "arm", "Func": "thumb1_final_prescan_insn", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3819, "Length": 242, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBank", "&", "MipsRegisterBankInfo", "::", "getRegBankFromRegClass", "(", "const", "TargetRegisterClass", "&", "RC", ")", "const", "{", "using", "namespace", "Mips", ";", "switch", "(", "RC", ".", "getID", "(", ")", ")", "{", "case", "Mips", "::", "GPR32RegClassID", ":", "case", "Mips", "::", "CPU16Regs_and_GPRMM16ZeroRegClassID", ":", "case", "Mips", "::", "GPRMM16MovePPairFirstRegClassID", ":", "case", "Mips", "::", "CPU16Regs_and_GPRMM16MovePPairSecondRegClassID", ":", "case", "Mips", "::", "GPRMM16MoveP_and_CPU16Regs_and_GPRMM16ZeroRegClassID", ":", "case", "Mips", "::", "GPRMM16MovePPairFirst_and_GPRMM16MovePPairSecondRegClassID", ":", "case", "Mips", "::", "SP32RegClassID", ":", "return", "getRegBank", "(", "Mips", "::", "GPRBRegBankID", ")", ";", "case", "Mips", "::", "FGRCCRegClassID", ":", "case", "Mips", "::", "FGR64RegClassID", ":", "case", "Mips", "::", "AFGR64RegClassID", ":", "case", "Mips", "::", "AFGR64_and_OddSPRegClassID", ":", "return", "getRegBank", "(", "Mips", "::", "FPRBRegBankID", ")", ";", "default", ":", "llvm_unreachable", "(", "\"Register class not supported\"", ")", ";", "}", "}", ""], "natrual_language": ["Get", "a", "register", "bank", "that", "covers", "RC", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips::GPR32RegClassID", "Mips::CPU16Regs_and_GPRMM16ZeroRegClassID", "Mips::GPRMM16MovePPairFirstRegClassID", "Mips::CPU16Regs_and_GPRMM16MovePPairSecondRegClassID", "Mips::GPRMM16MoveP_and_CPU16Regs_and_GPRMM16ZeroRegClassID", "Mips::GPRMM16MovePPairFirst_and_GPRMM16MovePPairSecondRegClassID", "Mips::SP32RegClassID", "Mips::GPRBRegBankID", "Mips::FGRCCRegClassID", "Mips::FGR64RegClassID", "Mips::AFGR64RegClassID", "Mips::AFGR64_and_OddSPRegClassID", "Mips::FPRBRegBankID", "\"Register class not supported\""], "File": "MipsRegisterBankInfo33", "Func": "getRegBankFromRegClass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3820, "Length": 107, "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", ":", "return", "fixCommutedOpIndices", "(", "SrcOpIdx1", ",", "SrcOpIdx2", ",", "1", ",", "2", ")", ";", "}", "return", "false", ";", "}", "default", ":", "if", "(", "isFMA3", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", "return", "findFMA3CommutedOpIndices", "(", "MI", ",", "SrcOpIdx1", ",", "SrcOpIdx2", ")", ";", "return", "TargetInstrInfo", "::", "findCommutedOpIndices", "(", "MI", ",", "SrcOpIdx1", ",", "SrcOpIdx2", ")", ";", "}", "return", "false", ";", "}", ""], "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"], "File": "X86InstrInfo (2)2", "Func": "findCommutedOpIndices", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3821, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_cannot_change_mode_class", "(", "machine_mode", "from", ",", "machine_mode", "to", ",", "enum", "reg_class", "rclass", ")", "{", "unsigned", "from_size", "=", "GET_MODE_SIZE", "(", "from", ")", ";", "unsigned", "to_size", "=", "GET_MODE_SIZE", "(", "to", ")", ";", "if", "(", "from_size", "!=", "to_size", ")", "{", "enum", "reg_class", "xclass", "=", "(", "TARGET_VSX", ")", "?", "VSX_REGS", ":", "FLOAT_REGS", ";", "if", "(", "reg_classes_intersect_p", "(", "xclass", ",", "rclass", ")", ")", "{", "unsigned", "to_nregs", "=", "hard_regno_nregs", "[", "FIRST_FPR_REGNO", "]", "[", "to", "]", ";", "unsigned", "from_nregs", "=", "hard_regno_nregs", "[", "FIRST_FPR_REGNO", "]", "[", "from", "]", ";", "if", "(", "TARGET_IEEEQUAD", "&&", "(", "to", "==", "TFmode", "||", "from", "==", "TFmode", ")", ")", "return", "true", ";", "if", "(", "!", "BYTES_BIG_ENDIAN", "&&", "(", "to", "==", "TDmode", "||", "from", "==", "TDmode", ")", ")", "return", "true", ";", "if", "(", "from_size", "<", "8", "||", "to_size", "<", "8", ")", "return", "true", ";", "if", "(", "from_size", "==", "8", "&&", "(", "8", "*", "to_nregs", ")", "!=", "to_size", ")", "return", "true", ";", "if", "(", "to_size", "==", "8", "&&", "(", "8", "*", "from_nregs", ")", "!=", "from_size", ")", "return", "true", ";", "return", "false", ";", "}", "else", "return", "false", ";", "}", "if", "(", "TARGET_E500_DOUBLE", "&&", "(", "(", "(", "(", "to", ")", "==", "DFmode", ")", "+", "(", "(", "from", ")", "==", "DFmode", ")", ")", "==", "1", "||", "(", "(", "(", "to", ")", "==", "TFmode", ")", "+", "(", "(", "from", ")", "==", "TFmode", ")", ")", "==", "1", "||", "(", "(", "(", "to", ")", "==", "DDmode", ")", "+", "(", "(", "from", ")", "==", "DDmode", ")", ")", "==", "1", "||", "(", "(", "(", "to", ")", "==", "TDmode", ")", "+", "(", "(", "from", ")", "==", "TDmode", ")", ")", "==", "1", "||", "(", "(", "(", "to", ")", "==", "DImode", ")", "+", "(", "(", "from", ")", "==", "DImode", ")", ")", "==", "1", ")", ")", "return", "true", ";", "if", "(", "TARGET_VSX", "&&", "VSX_REG_CLASS_P", "(", "rclass", ")", ")", "{", "unsigned", "num_regs", "=", "(", "from_size", "+", "15", ")", "/", "16", ";", "if", "(", "hard_regno_nregs", "[", "FIRST_FPR_REGNO", "]", "[", "to", "]", ">", "num_regs", "||", "hard_regno_nregs", "[", "FIRST_FPR_REGNO", "]", "[", "from", "]", ">", "num_regs", ")", "return", "true", ";", "return", "(", "from_size", "!=", "8", "&&", "from_size", "!=", "16", ")", ";", "}", "if", "(", "TARGET_ALTIVEC", "&&", "rclass", "==", "ALTIVEC_REGS", "&&", "(", "ALTIVEC_VECTOR_MODE", "(", "from", ")", "+", "ALTIVEC_VECTOR_MODE", "(", "to", ")", ")", "==", "1", ")", "return", "true", ";", "if", "(", "TARGET_SPE", "&&", "(", "SPE_VECTOR_MODE", "(", "from", ")", "+", "SPE_VECTOR_MODE", "(", "to", ")", ")", "==", "1", "&&", "reg_classes_intersect_p", "(", "GENERAL_REGS", ",", "rclass", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "for", "CLASS", "a", "mode", "change", "from", "FROM", "to", "TO", "is", "invalid", "."], "TS_V_token": ["rs6000", "8", "8", "8", "8", "8", "8", "1", "1", "1", "1", "1", "15", "16", "8", "16", "1", "1"], "File": "rs60004", "Func": "rs6000_cannot_change_mode_class", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3822, "Length": 397, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sh_remove_reg_dead_or_unused_notes", "(", "rtx_insn", "*", "i", ",", "int", "regno", ")", "{", "if", "(", "rtx", "n", "=", "find_regno_note", "(", "i", ",", "REG_DEAD", ",", "regno", ")", ")", "remove_note", "(", "i", ",", "n", ")", ";", "if", "(", "rtx", "n", "=", "find_regno_note", "(", "i", ",", "REG_UNUSED", ",", "regno", ")", ")", "remove_note", "(", "i", ",", "n", ")", ";", "}", ""], "natrual_language": ["Given", "an", "insn", "and", "a", "reg", "number", ",", "remove", "reg", "dead", "or", "reg", "unused", "notes", "to", "mark", "it", "as", "being", "used", "after", "the", "insn", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "sh_remove_reg_dead_or_unused_notes", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3823, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "extract_movd44_odd_reg", "(", "rtx_insn", "*", "insn", ")", "{", "gcc_assert", "(", "movd44_insn_p", "(", "insn", ")", ")", ";", "rtx", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "insn", ")", ")", ";", "machine_mode", "mode", ";", "gcc_assert", "(", "REG_P", "(", "def_reg", ")", "||", "GET_CODE", "(", "def_reg", ")", "==", "SUBREG", ")", ";", "switch", "(", "GET_MODE", "(", "def_reg", ")", ")", "{", "case", "E_DImode", ":", "mode", "=", "SImode", ";", "break", ";", "case", "E_DFmode", ":", "mode", "=", "SFmode", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "gen_highpart", "(", "mode", ",", "def_reg", ")", ";", "}", ""], "natrual_language": ["Extract", "the", "second", "result", "(", "odd", "reg", ")", "of", "a", "movd44", "insn", "."], "TS_V_token": ["nds32"], "File": "nds32-utils", "Func": "extract_movd44_odd_reg", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3824, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "get_mode_wider_vector", "(", "machine_mode", "o", ")", "{", "machine_mode", "n", "=", "GET_MODE_WIDER_MODE", "(", "o", ")", ".", "require", "(", ")", ";", "gcc_assert", "(", "GET_MODE_NUNITS", "(", "o", ")", "==", "GET_MODE_NUNITS", "(", "n", ")", "*", "2", ")", ";", "gcc_assert", "(", "GET_MODE_SIZE", "(", "o", ")", "==", "GET_MODE_SIZE", "(", "n", ")", ")", ";", "return", "n", ";", "}", ""], "natrual_language": ["Get", "a", "vector", "mode", "of", "the", "same", "size", "as", "the", "original", "but", "with", "elements", "twice", "as", "wide", ".", "This", "is", "only", "guaranteed", "to", "apply", "to", "integral", "vectors", "."], "TS_V_token": ["i386", "2"], "File": "i386-expand", "Func": "get_mode_wider_vector", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3825, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isLegalICmpImmediate", "(", "int64_t", "Imm", ")", "const", "{", "return", "Imm", "==", "(", "int32_t", ")", "Imm", ";", "}", ""], "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": ["X86", "X86"], "File": "X86ISelLowering117", "Func": "isLegalICmpImmediate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3826, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_can_use_return_insn", "(", "void", ")", "{", "if", "(", "cfun", "->", "machine", "->", "interrupt_handler_p", ")", "return", "false", ";", "if", "(", "!", "reload_completed", ")", "return", "false", ";", "if", "(", "crtl", "->", "profile", ")", "return", "false", ";", "if", "(", "mips16_cfun_returns_in_fpr_p", "(", ")", ")", "return", "false", ";", "return", "(", "cfun", "->", "machine", "->", "frame", ".", "total_size", "==", "0", "&&", "!", "cfun", "->", "machine", "->", "use_frame_header_for_callee_saved_regs", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "this", "function", "is", "known", "to", "have", "a", "null", "epilogue", ".", "This", "allows", "the", "optimizer", "to", "omit", "jumps", "to", "jumps", "if", "no", "stack", "was", "created", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips_can_use_return_insn", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3827, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "AArch64InstrInfo", "::", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "*", "MI", ",", "ArrayRef", "<", "unsigned", ">", "Ops", ",", "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": "AArch64InstrInfo62", "Func": "foldMemoryOperandImpl", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3828, "Length": 139, "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": ["Cpu0"], "File": "Cpu0AsmBackend", "Func": "relaxInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3829, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "i386_pe_seh_fini", "(", "FILE", "*", "f", ",", "bool", "cold", ")", "{", "struct", "seh_frame_state", "*", "seh", ";", "if", "(", "!", "TARGET_SEH", ")", "return", ";", "if", "(", "cfun", "->", "is_thunk", ")", "return", ";", "seh", "=", "cfun", "->", "machine", "->", "seh", ";", "if", "(", "cold", "!=", "seh", "->", "in_cold_section", ")", "return", ";", "XDELETE", "(", "seh", ")", ";", "cfun", "->", "machine", "->", "seh", "=", "NULL", ";", "fputs", "(", "\"\\t.seh_endproc\\n\"", ",", "f", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "assembler", "directive", "for", "the", "end", "of", "the", "function", "."], "TS_V_token": ["i386", "\"\\t.seh_endproc\\n\""], "File": "winnt", "Func": "i386_pe_seh_fini", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3830, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print_operand_address", "(", "FILE", "*", "file", ",", "rtx", "x", ")", "{", "if", "(", "REG_P", "(", "x", ")", ")", "fprintf", "(", "file", ",", "\"0(%s)\"", ",", "reg_names", "[", "REGNO", "(", "x", ")", "]", ")", ";", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "x", ")", "==", "CONST", "||", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", ")", "{", "output_addr_const", "(", "file", ",", "x", ")", ";", "if", "(", "small_data_operand", "(", "x", ",", "GET_MODE", "(", "x", ")", ")", ")", "fprintf", "(", "file", ",", "\"@%s(%s)\"", ",", "SMALL_DATA_RELOC", ",", "reg_names", "[", "SMALL_DATA_REG", "]", ")", ";", "else", "gcc_assert", "(", "!", "TARGET_TOC", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "{", "if", "(", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "0", ")", "fprintf", "(", "file", ",", "\"%s,%s\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "1", ")", ")", "]", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "else", "fprintf", "(", "file", ",", "\"%s,%s\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "1", ")", ")", "]", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "CONST_INT", ")", "fprintf", "(", "file", ",", "HOST_WIDE_INT_PRINT_DEC", "\"(%s)\"", ",", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "LO_SUM", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "CONSTANT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "{", "fprintf", "(", "file", ",", "\"lo16(\"", ")", ";", "output_addr_const", "(", "file", ",", "XEXP", "(", "x", ",", "1", ")", ")", ";", "fprintf", "(", "file", ",", "\")(%s)\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "LO_SUM", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "CONSTANT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "{", "output_addr_const", "(", "file", ",", "XEXP", "(", "x", ",", "1", ")", ")", ";", "fprintf", "(", "file", ",", "\"@l(%s)\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "}", "else", "if", "(", "toc_relative_expr_p", "(", "x", ",", "false", ",", "&", "tocrel_base_oac", ",", "&", "tocrel_offset_oac", ")", ")", "{", "output_addr_const", "(", "file", ",", "CONST_CAST_RTX", "(", "tocrel_base_oac", ")", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "LO_SUM", ")", "fprintf", "(", "file", ",", "\"@l(%s)\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "else", "fprintf", "(", "file", ",", "\"(%s)\"", ",", "reg_names", "[", "REGNO", "(", "XVECEXP", "(", "tocrel_base_oac", ",", "0", ",", "1", ")", ")", "]", ")", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Print", "the", "operand", "address", "represented", "by", "the", "rtx", "addr"], "TS_V_token": ["rs6000", "\"0(%s)\"", "\"@%s(%s)\"", "0", "1", "0", "0", "\"%s,%s\"", "1", "0", "\"%s,%s\"", "0", "1", "0", "1", "\"(%s)\"", "1", "0", "0", "1", "\"lo16(\"", "1", "\")(%s)\"", "0", "0", "1", "1", "\"@l(%s)\"", "0", "\"@l(%s)\"", "0", "\"(%s)\"", "0", "1"], "File": "rs60007", "Func": "print_operand_address", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3831, "Length": 496, "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", "(", "nullptr", ",", "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", "(", ")", ",", "SDLoc", "(", "Op", ")", ",", "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", "1", "0", "13"], "File": "SparcISelLowering (2)2", "Func": "LowerAsmOperandForConstraint", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3832, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiInstrInfo", "::", "getMemOperandWithOffset", "(", "MachineInstr", "&", "LdSt", ",", "MachineOperand", "*", "&", "BaseOp", ",", "int64_t", "&", "Offset", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "switch", "(", "LdSt", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Lanai", "::", "LDW_RI", ":", "case", "Lanai", "::", "LDW_RR", ":", "case", "Lanai", "::", "SW_RR", ":", "case", "Lanai", "::", "SW_RI", ":", "case", "Lanai", "::", "LDHs_RI", ":", "case", "Lanai", "::", "LDHz_RI", ":", "case", "Lanai", "::", "STH_RI", ":", "case", "Lanai", "::", "LDBs_RI", ":", "case", "Lanai", "::", "LDBz_RI", ":", "unsigned", "Width", ";", "return", "getMemOperandWithOffsetWidth", "(", "LdSt", ",", "BaseOp", ",", "Offset", ",", "Width", ",", "TRI", ")", ";", "}", "}", ""], "natrual_language": ["Get", "the", "base", "operand", "and", "byte", "offset", "of", "an", "instruction", "that", "reads/writes", "memory", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai::LDW_RI", "Lanai::LDW_RR", "Lanai::SW_RR", "Lanai::SW_RI", "Lanai::LDHs_RI", "Lanai::LDHz_RI", "Lanai::STH_RI", "Lanai::LDBs_RI", "Lanai::LDBz_RI"], "File": "LanaiInstrInfo (2)", "Func": "getMemOperandWithOffset", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3833, "Length": 103, "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": 3834, "Length": 74, "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": 3835, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "PPCRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "if", "(", "Subtarget", ".", "isDarwinABI", "(", ")", ")", "return", "Subtarget", ".", "isPPC64", "(", ")", "?", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_Darwin64_Altivec_SaveList", ":", "CSR_Darwin64_SaveList", ")", ":", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_Darwin32_Altivec_SaveList", ":", "CSR_Darwin32_SaveList", ")", ";", "return", "Subtarget", ".", "isPPC64", "(", ")", "?", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_SVR464_Altivec_SaveList", ":", "CSR_SVR464_SaveList", ")", ":", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_SVR432_Altivec_SaveList", ":", "CSR_SVR432_SaveList", ")", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC"], "File": "PPCRegisterInfo (2)", "Func": "getCalleeSavedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3836, "Length": 85, "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": 3837, "Length": 290, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "int", "atomic_alloc", "(", "unsigned", "int", "*", "mask", ")", "{", "unsigned", "int", "old", "=", "*", "mask", ",", "ret", ",", "new", ";", "while", "(", "1", ")", "{", "if", "(", "old", "==", "0", ")", "return", "-", "1", ";", "ret", "=", "old", "&", "-", "old", ";", "new", "=", "old", "&", "~", "ret", ";", "new", "=", "__sync_val_compare_and_swap", "(", "mask", ",", "old", ",", "new", ")", ";", "if", "(", "old", "==", "new", ")", "break", ";", "old", "=", "new", ";", "}", "return", "__builtin_ffs", "(", "ret", ")", "-", "1", ";", "}", ""], "natrual_language": ["MASK", "is", "a", "bitmap", "describing", "the", "allocation", "state", "of", "emergency", "buffers", ",", "with", "bit", "set", "indicating", "free", ".", "Return", ">", "=", "0", "if", "allocation", "is", "successful", ";", "<", "0", "if", "failure", "."], "TS_V_token": ["ia64", "1", "0", "1", "1"], "File": "unwind-ia64", "Func": "atomic_alloc", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3838, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_vec_interleave_v2df_operator_ok", "(", "rtx", "operands", "[", "3", "]", ",", "bool", "high", ")", "{", "if", "(", "MEM_P", "(", "operands", "[", "0", "]", ")", ")", "return", "rtx_equal_p", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "+", "high", "]", ")", ";", "if", "(", "MEM_P", "(", "operands", "[", "1", "]", ")", "&&", "MEM_P", "(", "operands", "[", "2", "]", ")", ")", "return", "TARGET_SSE3", "&&", "rtx_equal_p", "(", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "the", "operands", "to", "a", "vec_interleave_", "{", "high", ",", "low", "}", "v2df", "are", "ok", ",", "keeping", "in", "mind", "the", "possible", "movddup", "alternative", "."], "TS_V_token": ["i386", "3", "0", "0", "1", "1", "2", "1", "2"], "File": "i386", "Func": "ix86_vec_interleave_v2df_operator_ok", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3839, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "override", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "X86", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"reloc_riprel_4byte\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_riprel_4byte_movq_load\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_riprel_4byte_relax\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_riprel_4byte_relax_rex\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_signed_4byte\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"reloc_global_offset_table\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"reloc_global_offset_table8\"", ",", "0", ",", "64", ",", "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": ["X86", "X86::NumTargetFixupKinds", "\"reloc_riprel_4byte\"", "0", "32", "\"reloc_riprel_4byte_movq_load\"", "0", "32", "\"reloc_riprel_4byte_relax\"", "0", "32", "\"reloc_riprel_4byte_relax_rex\"", "0", "32", "\"reloc_signed_4byte\"", "0", "32", "0", "\"reloc_global_offset_table\"", "0", "32", "0", "\"reloc_global_offset_table8\"", "0", "64", "0", "\"Invalid kind!\""], "File": "X86AsmBackend82", "Func": "getFixupKindInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3840, "Length": 141, "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": 3841, "Length": 494, "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\"", ")", ";", "bool", "common_unsupported_modes", "=", "arm_arch_notm", "||", "flag_pic", "||", "TARGET_NEON", ";", "if", "(", "target_slow_flash_data", "&&", "(", "!", "TARGET_HAVE_MOVT", "||", "common_unsupported_modes", ")", ")", "error", "(", "\"%s only supports non-pic code on M-profile targets with the \"", "\"MOVT instruction\"", ",", "flag", ")", ";", "if", "(", "target_pure_code", "&&", "common_unsupported_modes", ")", "error", "(", "\"%s only supports non-pic code on M-profile targets\"", ",", "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 only supports non-pic code on M-profile targets\"", "\"%s incompatible with %<-mword-relocations%>\""], "File": "arm", "Func": "arm_option_check_internal", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3842, "Length": 245, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "FISCMCCodeEmitter", "::", "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": ["FISC", "FISC", "4", "\"Unexpected instruction size!\""], "File": "FISCMCCodeEmitter", "Func": "encodeInstruction", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3843, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_handle_attr_arch", "(", "const", "char", "*", "str", ")", "{", "const", "struct", "processor", "*", "tmp_arch", "=", "NULL", ";", "std", "::", "string", "invalid_extension", ";", "enum", "aarch64_parse_opt_result", "parse_res", "=", "aarch64_parse_arch", "(", "str", ",", "&", "tmp_arch", ",", "&", "aarch64_isa_flags", ",", "&", "invalid_extension", ")", ";", "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 feature modifier %s of value (\\\"%s\\\") in \"", "\"% pragma or attribute\"", ",", "invalid_extension", ".", "c_str", "(", ")", ",", "str", ")", ";", "aarch64_print_hint_for_extensions", "(", "invalid_extension", ")", ";", "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 feature modifier %s of value (\\\"%s\\\") in \"", "\"% pragma or attribute\""], "File": "aarch64", "Func": "aarch64_handle_attr_arch", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3844, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "umips_movep_target_p", "(", "rtx", "reg1", ",", "rtx", "reg2", ")", "{", "int", "regno1", ",", "regno2", ",", "pair", ";", "unsigned", "int", "i", ";", "static", "const", "int", "match", "[", "8", "]", "=", "{", "0x00000060", ",", "0x000000a0", ",", "0x000000c0", ",", "0x00200010", ",", "0x00400010", ",", "0x00000030", ",", "0x00000050", ",", "0x00000090", "}", ";", "if", "(", "!", "REG_P", "(", "reg1", ")", "||", "!", "REG_P", "(", "reg2", ")", ")", "return", "false", ";", "regno1", "=", "REGNO", "(", "reg1", ")", ";", "regno2", "=", "REGNO", "(", "reg2", ")", ";", "if", "(", "!", "GP_REG_P", "(", "regno1", ")", "||", "!", "GP_REG_P", "(", "regno2", ")", ")", "return", "false", ";", "pair", "=", "(", "1", "<<", "regno1", ")", "|", "(", "1", "<<", "regno2", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "match", ")", ";", "i", "++", ")", "if", "(", "pair", "==", "match", "[", "i", "]", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "REG1", "and", "REG2", "match", "the", "criteria", "for", "a", "movep", "insn", "."], "TS_V_token": ["mips", "8", "0x00000060", "0x000000a0", "0x000000c0", "0x00200010", "0x00400010", "0x00000030", "0x00000050", "0x00000090", "1", "1", "0"], "File": "mips", "Func": "umips_movep_target_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3845, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsSEFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getFirstTerminator", "(", ")", ";", "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", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "MipsABIInfo", "ABI", "=", "STI", ".", "getABI", "(", ")", ";", "unsigned", "SP", "=", "ABI", ".", "GetStackPtr", "(", ")", ";", "unsigned", "FP", "=", "ABI", ".", "GetFramePtr", "(", ")", ";", "unsigned", "ZERO", "=", "ABI", ".", "GetNullPtr", "(", ")", ";", "unsigned", "MOVE", "=", "ABI", ".", "GetSPMoveOp", "(", ")", ";", "if", "(", "MFI", ".", "getStackSize", "(", ")", "==", "0", "&&", "!", "MFI", ".", "adjustsStack", "(", ")", ")", "return", ";", "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", "0", "Mips", "Mips::GPR64RegClass", "Mips::GPR32RegClass", "0", "0", "4", "Mips", "\"interrupt\""], "File": "MipsSEFrameLowering40", "Func": "emitEpilogue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3846, "Length": 400, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "aarch64_simd_switcher", "::", "aarch64_simd_switcher", "(", "unsigned", "int", "extra_flags", ")", ":", "m_old_isa_flags", "(", "aarch64_isa_flags", ")", ",", "m_old_general_regs_only", "(", "TARGET_GENERAL_REGS_ONLY", ")", "{", "aarch64_isa_flags", "=", "AARCH64_FL_FP", "|", "AARCH64_FL_SIMD", "|", "extra_flags", ";", "global_options", ".", "x_target_flags", "&=", "~", "MASK_GENERAL_REGS_ONLY", ";", "}", ""], "natrual_language": ["Enable", "AARCH64_FL_", "*", "flags", "EXTRA_FLAGS", "on", "top", "of", "the", "base", "Advanced", "SIMD", "set", "."], "TS_V_token": ["aarch64", "aarch64_simd_switcher::aarch64_simd_switcher"], "File": "aarch64-builtins", "Func": "aarch64_simd_switcher", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3847, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CAHPSubtarget", "&", "CAHPSubtarget", "::", "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": ["CAHP", "CAHP", "CAHP", "\"generic\""], "File": "CAHPSubtarget", "Func": "initializeSubtargetDependencies", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3848, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_CC", ")", "return", "(", "regno", "==", "CC_REGNUM", "||", "(", "TARGET_VFP_BASE", "&&", "regno", "==", "VFPCC_REGNUM", ")", ")", ";", "if", "(", "regno", "==", "CC_REGNUM", "&&", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_CC", ")", "return", "false", ";", "if", "(", "IS_VPR_REGNUM", "(", "regno", ")", ")", "return", "mode", "==", "HImode", "||", "mode", "==", "V16BImode", "||", "mode", "==", "V8BImode", "||", "mode", "==", "V4BImode", ";", "if", "(", "TARGET_THUMB1", ")", "return", "(", "ARM_NUM_REGS", "(", "mode", ")", "<", "2", ")", "||", "(", "regno", "<", "LAST_LO_REGNUM", ")", ";", "if", "(", "TARGET_VFP_BASE", "&&", "IS_VFP_REGNUM", "(", "regno", ")", ")", "{", "if", "(", "mode", "==", "DFmode", "||", "mode", "==", "DImode", ")", "return", "VFP_REGNO_OK_FOR_DOUBLE", "(", "regno", ")", ";", "if", "(", "mode", "==", "HFmode", "||", "mode", "==", "BFmode", "||", "mode", "==", "HImode", "||", "mode", "==", "SFmode", "||", "mode", "==", "SImode", ")", "return", "VFP_REGNO_OK_FOR_SINGLE", "(", "regno", ")", ";", "if", "(", "TARGET_NEON", ")", "return", "(", "VALID_NEON_DREG_MODE", "(", "mode", ")", "&&", "VFP_REGNO_OK_FOR_DOUBLE", "(", "regno", ")", ")", "||", "(", "VALID_NEON_QREG_MODE", "(", "mode", ")", "&&", "NEON_REGNO_OK_FOR_QUAD", "(", "regno", ")", ")", "||", "(", "mode", "==", "TImode", "&&", "NEON_REGNO_OK_FOR_NREGS", "(", "regno", ",", "2", ")", ")", "||", "(", "mode", "==", "EImode", "&&", "NEON_REGNO_OK_FOR_NREGS", "(", "regno", ",", "3", ")", ")", "||", "(", "mode", "==", "OImode", "&&", "NEON_REGNO_OK_FOR_NREGS", "(", "regno", ",", "4", ")", ")", "||", "(", "mode", "==", "CImode", "&&", "NEON_REGNO_OK_FOR_NREGS", "(", "regno", ",", "6", ")", ")", "||", "(", "mode", "==", "XImode", "&&", "NEON_REGNO_OK_FOR_NREGS", "(", "regno", ",", "8", ")", ")", ";", "if", "(", "TARGET_HAVE_MVE", ")", "return", "(", "(", "VALID_MVE_MODE", "(", "mode", ")", "&&", "NEON_REGNO_OK_FOR_QUAD", "(", "regno", ")", ")", "||", "(", "mode", "==", "OImode", "&&", "NEON_REGNO_OK_FOR_NREGS", "(", "regno", ",", "4", ")", ")", "||", "(", "mode", "==", "XImode", "&&", "NEON_REGNO_OK_FOR_NREGS", "(", "regno", ",", "8", ")", ")", ")", ";", "return", "false", ";", "}", "if", "(", "TARGET_REALLY_IWMMXT", ")", "{", "if", "(", "IS_IWMMXT_GR_REGNUM", "(", "regno", ")", ")", "return", "mode", "==", "SImode", ";", "if", "(", "IS_IWMMXT_REGNUM", "(", "regno", ")", ")", "return", "VALID_IWMMXT_REG_MODE", "(", "mode", ")", ";", "}", "if", "(", "regno", "<=", "LAST_ARM_REGNUM", ")", "{", "if", "(", "ARM_NUM_REGS", "(", "mode", ")", ">", "4", ")", "return", "false", ";", "if", "(", "TARGET_THUMB2", "&&", "!", "(", "TARGET_HAVE_MVE", "||", "TARGET_CDE", ")", ")", "return", "true", ";", "return", "!", "(", "(", "TARGET_LDRD", "||", "TARGET_CDE", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", ">", "4", "&&", "(", "regno", "&", "1", ")", "!=", "0", ")", ";", "}", "if", "(", "regno", "==", "FRAME_POINTER_REGNUM", "||", "regno", "==", "ARG_POINTER_REGNUM", ")", "return", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_INT", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "REGNO", "is", "a", "valid", "register", "for", "holding", "a", "quantity", "of", "type", "MODE", "."], "TS_V_token": ["arm", "2", "2", "3", "4", "6", "8", "4", "8", "4", "4", "1", "0"], "File": "arm", "Func": "arm_hard_regno_mode_ok", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3849, "Length": 405, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCFunctionInfo", "::", "isLiveInSExt", "(", "Register", "VReg", ")", "const", "{", "for", "(", "const", "std", "::", "pair", "<", "Register", ",", "ISD", "::", "ArgFlagsTy", ">", "&", "LiveIn", ":", "LiveInAttrs", ")", "if", "(", "LiveIn", ".", "first", "==", "VReg", ")", "return", "LiveIn", ".", "second", ".", "isSExt", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "returns", "true", "if", "the", "specified", "vreg", "is", "a", "live-in", "register", "and", "sign-extended", "."], "TS_V_token": ["PowerPC", "PPC", "ISD::ArgFlagsTy"], "File": "PPCMachineFunctionInfo10", "Func": "isLiveInSExt", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3850, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Comet2DAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"### Select\\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": ["Comet2", "Comet2", "\"### Select\\n\"", "\"== \"", "\"\\n\"", "1"], "File": "Comet2ISelDAGToDAG", "Func": "Select", "Target": "Comet2", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3851, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "const", "TargetMachine", "&", "TM", "=", "getTargetMachine", "(", ")", ";", "SDLoc", "dl", "(", "N", ")", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Do not know how to custom type legalize this operation!\"", ")", ";", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "{", "if", "(", "cast", "<", "ConstantSDNode", ">", "(", "N", "->", "getOperand", "(", "1", ")", ")", "->", "getZExtValue", "(", ")", "!=", "Intrinsic", "::", "ppc_is_decremented_ctr_nonzero", ")", "break", ";", "assert", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i1", "&&", "\"Unexpected result type for CTR decrement intrinsic\"", ")", ";", "EVT", "SVT", "=", "getSetCCResultType", "(", "*", "DAG", ".", "getContext", "(", ")", ",", "N", "->", "getValueType", "(", "0", ")", ")", ";", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "SVT", ",", "MVT", "::", "Other", ")", ";", "SDValue", "NewInt", "=", "DAG", ".", "getNode", "(", "N", "->", "getOpcode", "(", ")", ",", "dl", ",", "VTs", ",", "N", "->", "getOperand", "(", "0", ")", ",", "N", "->", "getOperand", "(", "1", ")", ")", ";", "Results", ".", "push_back", "(", "NewInt", ")", ";", "Results", ".", "push_back", "(", "NewInt", ".", "getValue", "(", "1", ")", ")", ";", "break", ";", "}", "case", "ISD", "::", "VAARG", ":", "{", "if", "(", "!", "TM", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "isSVR4ABI", "(", ")", "||", "TM", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "isPPC64", "(", ")", ")", "return", ";", "EVT", "VT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "if", "(", "VT", "==", "MVT", "::", "i64", ")", "{", "SDValue", "NewNode", "=", "LowerVAARG", "(", "SDValue", "(", "N", ",", "1", ")", ",", "DAG", ",", "PPCSubTarget", ")", ";", "Results", ".", "push_back", "(", "NewNode", ")", ";", "Results", ".", "push_back", "(", "NewNode", ".", "getValue", "(", "1", ")", ")", ";", "}", "return", ";", "}", "case", "ISD", "::", "FP_ROUND_INREG", ":", "{", "assert", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "ppcf128", ")", ";", "assert", "(", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", "==", "MVT", "::", "ppcf128", ")", ";", "SDValue", "Lo", "=", "DAG", ".", "getNode", "(", "ISD", "::", "EXTRACT_ELEMENT", ",", "dl", ",", "MVT", "::", "f64", ",", "N", "->", "getOperand", "(", "0", ")", ",", "DAG", ".", "getIntPtrConstant", "(", "0", ")", ")", ";", "SDValue", "Hi", "=", "DAG", ".", "getNode", "(", "ISD", "::", "EXTRACT_ELEMENT", ",", "dl", ",", "MVT", "::", "f64", ",", "N", "->", "getOperand", "(", "0", ")", ",", "DAG", ".", "getIntPtrConstant", "(", "1", ")", ")", ";", "SDValue", "FPreg", "=", "DAG", ".", "getNode", "(", "PPCISD", "::", "FADDRTZ", ",", "dl", ",", "MVT", "::", "f64", ",", "Lo", ",", "Hi", ")", ";", "Results", ".", "push_back", "(", "DAG", ".", "getNode", "(", "ISD", "::", "BUILD_PAIR", ",", "dl", ",", "MVT", "::", "ppcf128", ",", "FPreg", ",", "FPreg", ")", ")", ";", "return", ";", "}", "case", "ISD", "::", "FP_TO_SINT", ":", "if", "(", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", "==", "MVT", "::", "ppcf128", ")", "return", ";", "Results", ".", "push_back", "(", "LowerFP_TO_INT", "(", "SDValue", "(", "N", ",", "0", ")", ",", "DAG", ",", "dl", ")", ")", ";", "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": ["PowerPC", "PPC", "\"Do not know how to custom type legalize this operation!\"", "ISD::INTRINSIC_W_CHAIN", "1", "Intrinsic::ppc_is_decremented_ctr_nonzero", "0", "MVT::i1", "\"Unexpected result type for CTR decrement intrinsic\"", "0", "MVT::Other", "0", "1", "1", "ISD::VAARG", "PPC", "PPC", "PPC", "0", "MVT::i64", "1", "PPC", "1", "ISD::FP_ROUND_INREG", "0", "MVT::ppcf128", "0", "MVT::ppcf128", "ISD::EXTRACT_ELEMENT", "MVT::f64", "0", "0", "ISD::EXTRACT_ELEMENT", "MVT::f64", "0", "1", "PPCISD::FADDRTZ", "MVT::f64", "ISD::BUILD_PAIR", "MVT::ppcf128", "ISD::FP_TO_SINT", "0", "MVT::ppcf128", "0"], "File": "PPCISelLowering (2)", "Func": "ReplaceNodeResults", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3852, "Length": 482, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "csky_allocate_stack_slots_for_args", "(", "void", ")", "{", "return", "!", "CSKY_FUNCTION_IS_NAKED", "(", "get_csky_current_func_type", "(", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ALLOCATE_STACK_SLOTS_FOR_ARGS", "."], "TS_V_token": ["csky"], "File": "csky", "Func": "csky_allocate_stack_slots_for_args", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3853, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ia64_needs_block_p", "(", "ds_t", "ts", ")", "{", "if", "(", "ts", "&", "BEGIN_DATA", ")", "return", "!", "mflag_sched_spec_ldc", ";", "gcc_assert", "(", "(", "ts", "&", "BEGIN_CONTROL", ")", "!=", "0", ")", ";", "return", "!", "(", "mflag_sched_spec_control_ldc", "&&", "mflag_sched_spec_ldc", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", ",", "if", "INSN", "needs", "branchy", "recovery", "check", "."], "TS_V_token": ["ia64", "0"], "File": "ia64", "Func": "ia64_needs_block_p", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3854, "Length": 38, "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", "=", "0", ")", "{", "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", "0", "\"Invalid memory operand!\"", "1", "2", "4", "8", "\"Invalid scale!\"", "X86", "X86"], "File": "X86AsmParser (2)2", "Func": "CreateMem", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3855, "Length": 169, "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", "::", "TailCall", ":", "return", "\"MipsISD::TailCall\"", ";", "case", "MipsISD", "::", "Hi", ":", "return", "\"MipsISD::Hi\"", ";", "case", "MipsISD", "::", "Lo", ":", "return", "\"MipsISD::Lo\"", ";", "case", "MipsISD", "::", "GPRel", ":", "return", "\"MipsISD::GPRel\"", ";", "case", "MipsISD", "::", "ThreadPointer", ":", "return", "\"MipsISD::ThreadPointer\"", ";", "case", "MipsISD", "::", "Ret", ":", "return", "\"MipsISD::Ret\"", ";", "case", "MipsISD", "::", "EH_RETURN", ":", "return", "\"MipsISD::EH_RETURN\"", ";", "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", "::", "Wrapper", ":", "return", "\"MipsISD::Wrapper\"", ";", "case", "MipsISD", "::", "Sync", ":", "return", "\"MipsISD::Sync\"", ";", "case", "MipsISD", "::", "Ext", ":", "return", "\"MipsISD::Ext\"", ";", "case", "MipsISD", "::", "Ins", ":", "return", "\"MipsISD::Ins\"", ";", "case", "MipsISD", "::", "LWL", ":", "return", "\"MipsISD::LWL\"", ";", "case", "MipsISD", "::", "LWR", ":", "return", "\"MipsISD::LWR\"", ";", "case", "MipsISD", "::", "SWL", ":", "return", "\"MipsISD::SWL\"", ";", "case", "MipsISD", "::", "SWR", ":", "return", "\"MipsISD::SWR\"", ";", "case", "MipsISD", "::", "LDL", ":", "return", "\"MipsISD::LDL\"", ";", "case", "MipsISD", "::", "LDR", ":", "return", "\"MipsISD::LDR\"", ";", "case", "MipsISD", "::", "SDL", ":", "return", "\"MipsISD::SDL\"", ";", "case", "MipsISD", "::", "SDR", ":", "return", "\"MipsISD::SDR\"", ";", "case", "MipsISD", "::", "EXTP", ":", "return", "\"MipsISD::EXTP\"", ";", "case", "MipsISD", "::", "EXTPDP", ":", "return", "\"MipsISD::EXTPDP\"", ";", "case", "MipsISD", "::", "EXTR_S_H", ":", "return", "\"MipsISD::EXTR_S_H\"", ";", "case", "MipsISD", "::", "EXTR_W", ":", "return", "\"MipsISD::EXTR_W\"", ";", "case", "MipsISD", "::", "EXTR_R_W", ":", "return", "\"MipsISD::EXTR_R_W\"", ";", "case", "MipsISD", "::", "EXTR_RS_W", ":", "return", "\"MipsISD::EXTR_RS_W\"", ";", "case", "MipsISD", "::", "SHILO", ":", "return", "\"MipsISD::SHILO\"", ";", "case", "MipsISD", "::", "MTHLIP", ":", "return", "\"MipsISD::MTHLIP\"", ";", "case", "MipsISD", "::", "MULT", ":", "return", "\"MipsISD::MULT\"", ";", "case", "MipsISD", "::", "MULTU", ":", "return", "\"MipsISD::MULTU\"", ";", "case", "MipsISD", "::", "MADD_DSP", ":", "return", "\"MipsISD::MADD_DSPDSP\"", ";", "case", "MipsISD", "::", "MADDU_DSP", ":", "return", "\"MipsISD::MADDU_DSP\"", ";", "case", "MipsISD", "::", "MSUB_DSP", ":", "return", "\"MipsISD::MSUB_DSP\"", ";", "case", "MipsISD", "::", "MSUBU_DSP", ":", "return", "\"MipsISD::MSUBU_DSP\"", ";", "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::TailCall", "\"MipsISD::TailCall\"", "MipsISD::Hi", "\"MipsISD::Hi\"", "MipsISD::Lo", "\"MipsISD::Lo\"", "MipsISD::GPRel", "\"MipsISD::GPRel\"", "MipsISD::ThreadPointer", "\"MipsISD::ThreadPointer\"", "MipsISD::Ret", "\"MipsISD::Ret\"", "MipsISD::EH_RETURN", "\"MipsISD::EH_RETURN\"", "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::Wrapper", "\"MipsISD::Wrapper\"", "MipsISD::Sync", "\"MipsISD::Sync\"", "MipsISD::Ext", "\"MipsISD::Ext\"", "MipsISD::Ins", "\"MipsISD::Ins\"", "MipsISD::LWL", "\"MipsISD::LWL\"", "MipsISD::LWR", "\"MipsISD::LWR\"", "MipsISD::SWL", "\"MipsISD::SWL\"", "MipsISD::SWR", "\"MipsISD::SWR\"", "MipsISD::LDL", "\"MipsISD::LDL\"", "MipsISD::LDR", "\"MipsISD::LDR\"", "MipsISD::SDL", "\"MipsISD::SDL\"", "MipsISD::SDR", "\"MipsISD::SDR\"", "MipsISD::EXTP", "\"MipsISD::EXTP\"", "MipsISD::EXTPDP", "\"MipsISD::EXTPDP\"", "MipsISD::EXTR_S_H", "\"MipsISD::EXTR_S_H\"", "MipsISD::EXTR_W", "\"MipsISD::EXTR_W\"", "MipsISD::EXTR_R_W", "\"MipsISD::EXTR_R_W\"", "MipsISD::EXTR_RS_W", "\"MipsISD::EXTR_RS_W\"", "MipsISD::SHILO", "\"MipsISD::SHILO\"", "MipsISD::MTHLIP", "\"MipsISD::MTHLIP\"", "MipsISD::MULT", "\"MipsISD::MULT\"", "MipsISD::MULTU", "\"MipsISD::MULTU\"", "MipsISD::MADD_DSP", "\"MipsISD::MADD_DSPDSP\"", "MipsISD::MADDU_DSP", "\"MipsISD::MADDU_DSP\"", "MipsISD::MSUB_DSP", "\"MipsISD::MSUB_DSP\"", "MipsISD::MSUBU_DSP", "\"MipsISD::MSUBU_DSP\""], "File": "MipsISelLowering24", "Func": "getTargetNodeName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3856, "Length": 400, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "emitSparcRegisterScratch", "(", "unsigned", "reg", ")", "{", "}", ""], "natrual_language": ["Emit", "``", ".register", "<", "reg", ">", ",", "#", "scratch", "''", "."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcTargetStreamer2", "Func": "emitSparcRegisterScratch", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3857, "Length": 9, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_encode_section_info", "(", "tree", "decl", ",", "rtx", "rtl", ",", "int", "first", ")", "{", "default_encode_section_info", "(", "decl", ",", "rtl", ",", "first", ")", ";", "if", "(", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", ")", "{", "rtx", "symbol", "=", "XEXP", "(", "rtl", ",", "0", ")", ";", "tree", "type", "=", "TREE_TYPE", "(", "decl", ")", ";", "if", "(", "(", "TARGET_LONG_CALLS", "&&", "!", "mips_near_type_p", "(", "type", ")", ")", "||", "mips_far_type_p", "(", "type", ")", ")", "SYMBOL_REF_FLAGS", "(", "symbol", ")", "|=", "SYMBOL_FLAG_LONG_CALL", ";", "}", "}", ""], "natrual_language": ["Set", "SYMBOL_REF_FLAGS", "for", "the", "SYMBOL_REF", "inside", "RTL", ",", "which", "belongs", "to", "DECL", ".", "FIRST", "is", "true", "if", "this", "is", "the", "first", "time", "handling", "this", "decl", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips_encode_section_info", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3858, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "X86Subtarget", "::", "classifyGlobalFunctionReference", "(", "const", "GlobalValue", "*", "GV", ",", "const", "Module", "&", "M", ")", "const", "{", "if", "(", "TM", ".", "shouldAssumeDSOLocal", "(", "M", ",", "GV", ")", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "assert", "(", "!", "isTargetCOFF", "(", ")", ")", ";", "const", "Function", "*", "F", "=", "dyn_cast_or_null", "<", "Function", ">", "(", "GV", ")", ";", "if", "(", "isTargetELF", "(", ")", ")", "{", "if", "(", "is64Bit", "(", ")", "&&", "F", "&&", "(", "CallingConv", "::", "X86_RegCall", "==", "F", "->", "getCallingConv", "(", ")", ")", ")", "return", "X86II", "::", "MO_GOTPCREL", ";", "return", "X86II", "::", "MO_PLT", ";", "}", "if", "(", "is64Bit", "(", ")", ")", "{", "if", "(", "F", "&&", "F", "->", "hasFnAttribute", "(", "Attribute", "::", "NonLazyBind", ")", ")", "return", "X86II", "::", "MO_GOTPCREL", ";", "return", "X86II", "::", "MO_NO_FLAG", ";", "}", "return", "X86II", "::", "MO_NO_FLAG", ";", "}", ""], "natrual_language": ["Classify", "a", "global", "function", "reference", "for", "the", "current", "subtarget", "."], "TS_V_token": ["X86", "X86", "X86II::MO_NO_FLAG", "X86", "X86II::MO_GOTPCREL", "X86II::MO_PLT", "X86II::MO_GOTPCREL", "X86II::MO_NO_FLAG", "X86II::MO_NO_FLAG"], "File": "X86Subtarget24", "Func": "classifyGlobalFunctionReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3859, "Length": 130, "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", ")", "||", "(", "allowsMisalignedMemoryAccesses", "(", "MVT", "::", "v2f64", ",", "0", ",", "1", ",", "&", "Fast", ")", "&&", "Fast", ")", ")", ")", "{", "return", "MVT", "::", "v2f64", ";", "}", "else", "if", "(", "Size", ">=", "8", "&&", "(", "memOpAlign", "(", "SrcAlign", ",", "DstAlign", ",", "8", ")", "||", "(", "allowsMisalignedMemoryAccesses", "(", "MVT", "::", "f64", ",", "0", ",", "1", ",", "&", "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", "0", "1", "MVT::v2f64", "8", "8", "MVT::f64", "0", "1", "MVT::f64", "4", "MVT::i32", "2", "MVT::i16", "MVT::Other"], "File": "ARMISelLowering (2)3", "Func": "getOptimalMemOpType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3860, "Length": 192, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_expand_prologue", "(", "void", ")", "{", "aarch64_layout_frame", "(", ")", ";", "poly_int64", "frame_size", "=", "cfun", "->", "machine", "->", "frame", ".", "frame_size", ";", "poly_int64", "initial_adjust", "=", "cfun", "->", "machine", "->", "frame", ".", "initial_adjust", ";", "HOST_WIDE_INT", "callee_adjust", "=", "cfun", "->", "machine", "->", "frame", ".", "callee_adjust", ";", "poly_int64", "final_adjust", "=", "cfun", "->", "machine", "->", "frame", ".", "final_adjust", ";", "poly_int64", "callee_offset", "=", "cfun", "->", "machine", "->", "frame", ".", "callee_offset", ";", "unsigned", "reg1", "=", "cfun", "->", "machine", "->", "frame", ".", "wb_candidate1", ";", "unsigned", "reg2", "=", "cfun", "->", "machine", "->", "frame", ".", "wb_candidate2", ";", "bool", "emit_frame_chain", "=", "cfun", "->", "machine", "->", "frame", ".", "emit_frame_chain", ";", "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", "=", "constant_lower_bound", "(", "frame_size", ")", ";", "if", "(", "flag_stack_check", "==", "STATIC_BUILTIN_STACK_CHECK", ")", "{", "if", "(", "crtl", "->", "is_leaf", "&&", "!", "cfun", "->", "calls_alloca", ")", "{", "if", "(", "maybe_gt", "(", "frame_size", ",", "PROBE_INTERVAL", ")", "&&", "maybe_gt", "(", "frame_size", ",", "get_stack_check_protect", "(", ")", ")", ")", "aarch64_emit_probe_stack_range", "(", "get_stack_check_protect", "(", ")", ",", "(", "frame_size", "-", "get_stack_check_protect", "(", ")", ")", ")", ";", "}", "else", "if", "(", "maybe_gt", "(", "frame_size", ",", "0", ")", ")", "aarch64_emit_probe_stack_range", "(", "get_stack_check_protect", "(", ")", ",", "frame_size", ")", ";", "}", "rtx", "ip0_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "IP0_REGNUM", ")", ";", "rtx", "ip1_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "IP1_REGNUM", ")", ";", "aarch64_sub_sp", "(", "ip0_rtx", ",", "ip1_rtx", ",", "initial_adjust", ",", "true", ")", ";", "if", "(", "callee_adjust", "!=", "0", ")", "aarch64_push_regs", "(", "reg1", ",", "reg2", ",", "callee_adjust", ")", ";", "if", "(", "emit_frame_chain", ")", "{", "poly_int64", "reg_offset", "=", "callee_adjust", ";", "if", "(", "callee_adjust", "==", "0", ")", "{", "reg1", "=", "R29_REGNUM", ";", "reg2", "=", "R30_REGNUM", ";", "reg_offset", "=", "callee_offset", ";", "aarch64_save_callee_saves", "(", "DImode", ",", "reg_offset", ",", "reg1", ",", "reg2", ",", "false", ")", ";", "}", "aarch64_add_offset", "(", "Pmode", ",", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ",", "callee_offset", ",", "ip1_rtx", ",", "ip0_rtx", ",", "frame_pointer_needed", ")", ";", "if", "(", "frame_pointer_needed", "&&", "!", "frame_size", ".", "is_constant", "(", ")", ")", "{", "rtx_insn", "*", "insn", "=", "get_last_insn", "(", ")", ";", "gcc_assert", "(", "RTX_FRAME_RELATED_P", "(", "insn", ")", ")", ";", "if", "(", "!", "find_reg_note", "(", "insn", ",", "REG_CFA_ADJUST_CFA", ",", "NULL_RTX", ")", ")", "{", "rtx", "src", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "callee_offset", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_ADJUST_CFA", ",", "gen_rtx_SET", "(", "hard_frame_pointer_rtx", ",", "src", ")", ")", ";", "}", "reg_offset", "-=", "callee_offset", ";", "aarch64_add_cfa_expression", "(", "insn", ",", "reg2", ",", "hard_frame_pointer_rtx", ",", "reg_offset", "+", "UNITS_PER_WORD", ")", ";", "aarch64_add_cfa_expression", "(", "insn", ",", "reg1", ",", "hard_frame_pointer_rtx", ",", "reg_offset", ")", ";", "}", "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", "||", "emit_frame_chain", ")", ";", "aarch64_save_callee_saves", "(", "DFmode", ",", "callee_offset", ",", "V0_REGNUM", ",", "V31_REGNUM", ",", "callee_adjust", "!=", "0", "||", "emit_frame_chain", ")", ";", "aarch64_sub_sp", "(", "ip1_rtx", ",", "ip0_rtx", ",", "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", "0", "0"], "File": "aarch645", "Func": "aarch64_expand_prologue", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3861, "Length": 480, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "char", "*", "ix86_offload_options", "(", "void", ")", "{", "if", "(", "TARGET_LP64", ")", "return", "xstrdup", "(", "\"-foffload-abi=lp64\"", ")", ";", "return", "xstrdup", "(", "\"-foffload-abi=ilp32\"", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_OFFLOAD_OPTIONS", "hook", "."], "TS_V_token": ["i386", "\"-foffload-abi=lp64\"", "\"-foffload-abi=ilp32\""], "File": "i3864", "Func": "ix86_offload_options", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3862, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SHUXITargetLowering", "::", "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", ":", "llvm_unreachable", "(", "\"Unsupported calling convention\"", ")", ";", "case", "CallingConv", "::", "C", ":", "break", ";", "}", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", ".", "getRegInfo", "(", ")", ";", "if", "(", "IsVarArg", ")", "{", "llvm_unreachable", "(", "\"VarArg not supported\"", ")", ";", "}", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "CC_SHUXI", ")", ";", "for", "(", "auto", "&", "VA", ":", "ArgLocs", ")", "{", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "EVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "switch", "(", "RegVT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "case", "MVT", "::", "i32", ":", "{", "const", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "SHUXI", "::", "GPRegsRegClass", ")", ";", "RegInfo", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "VReg", ")", ";", "SDValue", "ArgIn", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "VReg", ",", "RegVT", ")", ";", "InVals", ".", "push_back", "(", "ArgIn", ")", ";", "break", ";", "}", "default", ":", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"LowerFormalArguments Unhandled argument type: \"", "<<", "RegVT", ".", "getEVTString", "(", ")", "<<", "\"\\n\"", ")", ";", "llvm_unreachable", "(", "\"unhandled argument type\"", ")", ";", "}", "}", "else", "{", "llvm_unreachable", "(", "\"Defined with too many args\"", ")", ";", "}", "}", "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": ["SHUXI", "SHUXI", "ISD::InputArg", "\"Unsupported calling convention\"", "\"VarArg not supported\"", "16", "SHUXI", "MVT::i32", "SHUXI::GPRegsRegClass", "\"LowerFormalArguments Unhandled argument type: \"", "\"\\n\"", "\"unhandled argument type\"", "\"Defined with too many args\""], "File": "SHUXIISelLowering", "Func": "LowerFormalArguments", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3863, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "loongarch_memmodel_needs_rel_acq_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", ":", "case", "MEMMODEL_ACQUIRE", ":", "case", "MEMMODEL_CONSUME", ":", "case", "MEMMODEL_SYNC_ACQUIRE", ":", "return", "true", ";", "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_rel_acq_fence", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3864, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mem_locations_overlap", "(", "rtx", "mem1", ",", "rtx", "mem2", ")", "{", "rtx", "reg1", ",", "reg2", ";", "HOST_WIDE_INT", "off1", ",", "size1", ",", "off2", ",", "size2", ";", "if", "(", "get_memref_parts", "(", "mem1", ",", "&", "reg1", ",", "&", "off1", ",", "&", "size1", ")", "&&", "get_memref_parts", "(", "mem2", ",", "&", "reg2", ",", "&", "off2", ",", "&", "size2", ")", ")", "return", "(", "(", "REGNO", "(", "reg1", ")", "==", "REGNO", "(", "reg2", ")", ")", "&&", "(", "(", "(", "off1", "<=", "off2", ")", "&&", "(", "off1", "+", "size1", ">", "off2", ")", ")", "||", "(", "(", "off2", "<=", "off1", ")", "&&", "(", "off2", "+", "size2", ">", "off1", ")", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "returns", "true", "if", "it", "can", "be", "determined", "that", "the", "two", "MEM", "locations", "overlap", "by", "at", "least", "1", "byte", "based", "on", "base", "reg/offset/size", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "mem_locations_overlap", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3865, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCSection", "*", "X86ELFMCAsmInfo", "::", "getNonexecutableStackSection", "(", "MCContext", "&", "Ctx", ")", "const", "{", "return", "Ctx", ".", "getELFSection", "(", "\".note.GNU-stack\"", ",", "MCSectionELF", "::", "SHT_PROGBITS", ",", "0", ",", "SectionKind", "::", "getMetadata", "(", ")", ",", "false", ")", ";", "}", ""], "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": ["X86", "X86", "\".note.GNU-stack\"", "0"], "File": "X86MCAsmInfo12", "Func": "getNonexecutableStackSection", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3866, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_output_multireg_pop", "(", "rtx", "*", "operands", ",", "bool", "return_pc", ",", "rtx", "cond", ",", "bool", "reverse", ",", "bool", "update", ")", "{", "int", "i", ";", "char", "pattern", "[", "100", "]", ";", "int", "offset", ";", "const", "char", "*", "conditional", ";", "int", "num_saves", "=", "XVECLEN", "(", "operands", "[", "0", "]", ",", "0", ")", ";", "unsigned", "int", "regno", ";", "unsigned", "int", "regno_base", "=", "REGNO", "(", "operands", "[", "1", "]", ")", ";", "offset", "=", "0", ";", "offset", "+=", "update", "?", "1", ":", "0", ";", "offset", "+=", "return_pc", "?", "1", ":", "0", ";", "for", "(", "i", "=", "offset", ";", "i", "<", "num_saves", ";", "i", "++", ")", "{", "regno", "=", "REGNO", "(", "XEXP", "(", "XVECEXP", "(", "operands", "[", "0", "]", ",", "0", ",", "i", ")", ",", "0", ")", ")", ";", "gcc_assert", "(", "(", "regno", "!=", "SP_REGNUM", ")", "||", "(", "regno_base", "==", "SP_REGNUM", ")", ")", ";", "if", "(", "regno", "==", "regno_base", ")", "gcc_assert", "(", "!", "update", ")", ";", "}", "conditional", "=", "reverse", "?", "\"%?%D0\"", ":", "\"%?%d0\"", ";", "if", "(", "(", "regno_base", "==", "SP_REGNUM", ")", "&&", "update", ")", "{", "sprintf", "(", "pattern", ",", "\"pop%s\\t{\"", ",", "conditional", ")", ";", "}", "else", "{", "if", "(", "regno_base", "==", "SP_REGNUM", ")", "sprintf", "(", "pattern", ",", "\"ldmfd%s\"", ",", "conditional", ")", ";", "if", "(", "update", ")", "sprintf", "(", "pattern", ",", "\"ldmia%s\\t\"", ",", "conditional", ")", ";", "else", "sprintf", "(", "pattern", ",", "\"ldm%s\\t\"", ",", "conditional", ")", ";", "strcat", "(", "pattern", ",", "reg_names", "[", "regno_base", "]", ")", ";", "if", "(", "update", ")", "strcat", "(", "pattern", ",", "\"!, {\"", ")", ";", "else", "strcat", "(", "pattern", ",", "\", {\"", ")", ";", "}", "strcat", "(", "pattern", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "XVECEXP", "(", "operands", "[", "0", "]", ",", "0", ",", "offset", ")", ",", "0", ")", ")", "]", ")", ";", "for", "(", "i", "=", "offset", "+", "1", ";", "i", "<", "num_saves", ";", "i", "++", ")", "{", "strcat", "(", "pattern", ",", "\", \"", ")", ";", "strcat", "(", "pattern", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "XVECEXP", "(", "operands", "[", "0", "]", ",", "0", ",", "i", ")", ",", "0", ")", ")", "]", ")", ";", "}", "strcat", "(", "pattern", ",", "\"}\"", ")", ";", "if", "(", "IS_INTERRUPT", "(", "arm_current_func_type", "(", ")", ")", "&&", "return_pc", ")", "strcat", "(", "pattern", ",", "\"^\"", ")", ";", "output_asm_insn", "(", "pattern", ",", "&", "cond", ")", ";", "}", ""], "natrual_language": ["OPERANDS", "[", "0", "]", "is", "the", "entire", "list", "of", "insns", "that", "constitute", "pop", ",", "OPERANDS", "[", "1", "]", "is", "the", "base", "register", ",", "RETURN_PC", "is", "true", "iff", "return", "insn", "is", "in", "the", "list", ",", "UPDATE", "is", "true", "iff", "the", "list", "contains", "explicit", "update", "of", "base", "register", "."], "TS_V_token": ["arm", "100", "0", "0", "1", "0", "1", "0", "1", "0", "0", "0", "0", "\"%?%D0\"", "\"%?%d0\"", "\"pop%s\\t{\"", "\"ldmfd%s\"", "\"ldmia%s\\t\"", "\"ldm%s\\t\"", "\"!, {\"", "\", {\"", "0", "0", "0", "1", "\", \"", "0", "0", "0", "\"}\"", "\"^\""], "File": "arm5", "Func": "arm_output_multireg_pop", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3867, "Length": 363, "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\"", ":", "\"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\"", "\"before\""], "File": "rs6000", "Func": "rs6000_debug_legitimate_address_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3868, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isImm", "(", ")", "const", "override", "{", "return", "Kind", "==", "IMMEDIATE", ";", "}", ""], "natrual_language": ["isImm", "-", "Is", "this", "an", "immediate", "operand", "?"], "TS_V_token": ["DLX"], "File": "DLXAsmParser", "Func": "isImm", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3869, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "MipsAsmPrinter", "::", "getCurrentABIString", "(", ")", "const", "{", "switch", "(", "Subtarget", "->", "getTargetABI", "(", ")", ")", "{", "case", "MipsSubtarget", "::", "O32", ":", "return", "\"abi32\"", ";", "case", "MipsSubtarget", "::", "N32", ":", "return", "\"abiN32\"", ";", "case", "MipsSubtarget", "::", "N64", ":", "return", "\"abi64\"", ";", "case", "MipsSubtarget", "::", "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": "MipsAsmPrinter11", "Func": "getCurrentABIString", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3870, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_parse_one_override_token", "(", "const", "char", "*", "token", ",", "size_t", "length", ",", "struct", "tune_params", "*", "tune", ")", "{", "const", "struct", "aarch64_tuning_override_function", "*", "fn", "=", "aarch64_tuning_override_functions", ";", "const", "char", "*", "option_part", "=", "strchr", "(", "token", ",", "'='", ")", ";", "if", "(", "!", "option_part", ")", "{", "error", "(", "\"tuning string missing in option (%s)\"", ",", "token", ")", ";", "return", ";", "}", "length", "=", "option_part", "-", "token", ";", "option_part", "++", ";", "for", "(", ";", "fn", "->", "name", "!=", "NULL", ";", "fn", "++", ")", "{", "if", "(", "!", "strncmp", "(", "fn", "->", "name", ",", "token", ",", "length", ")", ")", "{", "fn", "->", "parse_override", "(", "option_part", ",", "tune", ")", ";", "return", ";", "}", "}", "error", "(", "\"unknown tuning option (%s)\"", ",", "token", ")", ";", "return", ";", "}", ""], "natrual_language": ["Parse", "TOKEN", ",", "which", "has", "length", "LENGTH", "to", "see", "if", "it", "is", "a", "tuning", "option", "we", "understand", ".", "If", "it", "is", ",", "extract", "the", "option", "string", "and", "handoff", "to", "the", "appropriate", "function", "."], "TS_V_token": ["aarch64", "\"tuning string missing in option (%s)\"", "\"unknown tuning option (%s)\""], "File": "aarch64", "Func": "aarch64_parse_one_override_token", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3871, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_get_builtin_func_type", "(", "enum", "ix86_builtin_func_type", "tcode", ")", "{", "tree", "type", ";", "gcc_assert", "(", "(", "unsigned", ")", "tcode", "<", "ARRAY_SIZE", "(", "ix86_builtin_func_type_tab", ")", ")", ";", "type", "=", "ix86_builtin_func_type_tab", "[", "(", "int", ")", "tcode", "]", ";", "if", "(", "type", "!=", "NULL", ")", "return", "type", ";", "if", "(", "tcode", "<=", "IX86_BT_LAST_FUNC", ")", "{", "unsigned", "start", "=", "ix86_builtin_func_start", "[", "(", "int", ")", "tcode", "]", ";", "unsigned", "after", "=", "ix86_builtin_func_start", "[", "(", "int", ")", "tcode", "+", "1", "]", ";", "tree", "rtype", ",", "atype", ",", "args", "=", "void_list_node", ";", "unsigned", "i", ";", "rtype", "=", "ix86_get_builtin_type", "(", "ix86_builtin_func_args", "[", "start", "]", ")", ";", "for", "(", "i", "=", "after", "-", "1", ";", "i", ">", "start", ";", "--", "i", ")", "{", "atype", "=", "ix86_get_builtin_type", "(", "ix86_builtin_func_args", "[", "i", "]", ")", ";", "args", "=", "tree_cons", "(", "NULL", ",", "atype", ",", "args", ")", ";", "}", "type", "=", "build_function_type", "(", "rtype", ",", "args", ")", ";", "}", "else", "{", "unsigned", "index", "=", "tcode", "-", "IX86_BT_LAST_FUNC", "-", "1", ";", "enum", "ix86_builtin_func_type", "icode", ";", "icode", "=", "ix86_builtin_func_alias_base", "[", "index", "]", ";", "type", "=", "ix86_get_builtin_func_type", "(", "icode", ")", ";", "}", "ix86_builtin_func_type_tab", "[", "(", "int", ")", "tcode", "]", "=", "type", ";", "return", "type", ";", "}", ""], "natrual_language": ["Retrieve", "an", "element", "from", "the", "above", "table", ",", "building", "some", "of", "the", "types", "lazily", "."], "TS_V_token": ["i386", "1", "1", "1"], "File": "i386-builtins", "Func": "ix86_get_builtin_func_type", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3872, "Length": 189, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TTIImpl", "::", "getTgtMemIntrinsic", "(", "IntrinsicInst", "*", "Inst", ",", "MemIntrinsicInfo", "&", "Info", ")", "{", "switch", "(", "Inst", "->", "getIntrinsicID", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Intrinsic", "::", "aarch64_neon_ld2", ":", "case", "Intrinsic", "::", "aarch64_neon_ld3", ":", "case", "Intrinsic", "::", "aarch64_neon_ld4", ":", "Info", ".", "ReadMem", "=", "true", ";", "Info", ".", "WriteMem", "=", "false", ";", "Info", ".", "IsSimple", "=", "true", ";", "Info", ".", "NumMemRefs", "=", "1", ";", "Info", ".", "PtrVal", "=", "Inst", "->", "getArgOperand", "(", "0", ")", ";", "break", ";", "case", "Intrinsic", "::", "aarch64_neon_st2", ":", "case", "Intrinsic", "::", "aarch64_neon_st3", ":", "case", "Intrinsic", "::", "aarch64_neon_st4", ":", "Info", ".", "ReadMem", "=", "false", ";", "Info", ".", "WriteMem", "=", "true", ";", "Info", ".", "IsSimple", "=", "true", ";", "Info", ".", "NumMemRefs", "=", "1", ";", "Info", ".", "PtrVal", "=", "Inst", "->", "getArgOperand", "(", "Inst", "->", "getNumArgOperands", "(", ")", "-", "1", ")", ";", "break", ";", "}", "switch", "(", "Inst", "->", "getIntrinsicID", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Intrinsic", "::", "aarch64_neon_ld2", ":", "case", "Intrinsic", "::", "aarch64_neon_st2", ":", "Info", ".", "MatchingId", "=", "VECTOR_LDST_TWO_ELEMENTS", ";", "break", ";", "case", "Intrinsic", "::", "aarch64_neon_ld3", ":", "case", "Intrinsic", "::", "aarch64_neon_st3", ":", "Info", ".", "MatchingId", "=", "VECTOR_LDST_THREE_ELEMENTS", ";", "break", ";", "case", "Intrinsic", "::", "aarch64_neon_ld4", ":", "case", "Intrinsic", "::", "aarch64_neon_st4", ":", "Info", ".", "MatchingId", "=", "VECTOR_LDST_FOUR_ELEMENTS", ";", "break", ";", "}", "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": ["AArch64", "AArch64", "Intrinsic::aarch64_neon_ld2", "Intrinsic::aarch64_neon_ld3", "Intrinsic::aarch64_neon_ld4", "1", "0", "Intrinsic::aarch64_neon_st2", "Intrinsic::aarch64_neon_st3", "Intrinsic::aarch64_neon_st4", "1", "1", "Intrinsic::aarch64_neon_ld2", "Intrinsic::aarch64_neon_st2", "Intrinsic::aarch64_neon_ld3", "Intrinsic::aarch64_neon_st3", "Intrinsic::aarch64_neon_ld4", "Intrinsic::aarch64_neon_st4"], "File": "AArch64TargetTransformInfo (2)", "Func": "getTgtMemIntrinsic", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3873, "Length": 211, "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": 3874, "Length": 410, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPreAllocLoadStoreOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "TD", "=", "&", "Fn", ".", "getDataLayout", "(", ")", ";", "STI", "=", "&", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "Fn", ".", "getSubtarget", "(", ")", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "STI", "->", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "Fn", ".", "getRegInfo", "(", ")", ";", "MF", "=", "&", "Fn", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MFI", ":", "Fn", ")", "Modified", "|=", "RescheduleLoadStoreInstrs", "(", "&", "MFI", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMLoadStoreOptimizer (2)1", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3875, "Length": 91, "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": ["Lanai"], "File": "LanaiAsmParser (2)", "Func": "getStartLoc", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3876, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "X86RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "X86Subtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "bool", "HasSSE", "=", "Subtarget", ".", "hasSSE1", "(", ")", ";", "bool", "HasAVX", "=", "Subtarget", ".", "hasAVX", "(", ")", ";", "bool", "HasAVX512", "=", "Subtarget", ".", "hasAVX512", "(", ")", ";", "bool", "CallsEHReturn", "=", "MF", "->", "getMMI", "(", ")", ".", "callsEHReturn", "(", ")", ";", "assert", "(", "MF", "&&", "\"MachineFunction required\"", ")", ";", "switch", "(", "MF", "->", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", ")", "{", "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", "::", "Cold", ":", "if", "(", "Is64Bit", ")", "return", "CSR_64_MostRegs_SaveList", ";", "break", ";", "case", "CallingConv", "::", "X86_64_Win64", ":", "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", ";", "return", "CSR_64_AllRegs_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", ")", "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", "X86", "X86", "\"MachineFunction required\"", "X86", "X86", "X86", "X86"], "File": "X86RegisterInfo5", "Func": "getCalleeSavedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3877, "Length": 397, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "nds32_expand_prologue_v3push", "(", "void", ")", "{", "int", "fp_adjust", ";", "int", "sp_adjust", ";", "rtx", "Rb", ",", "Re", ";", "rtx", "fp_adjust_insn", ",", "sp_adjust_insn", ";", "nds32_compute_stack_frame", "(", ")", ";", "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", ")", ";", "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", ")", ")", "{", "nds32_emit_stack_v3push", "(", "Rb", ",", "Re", ",", "GEN_INT", "(", "14", ")", ",", "GEN_INT", "(", "sp_adjust", ")", ")", ";", "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", "+", "sp_adjust", ";", "fp_adjust_insn", "=", "gen_addsi3", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "fp_adjust", ")", ")", ";", "fp_adjust_insn", "=", "emit_insn", "(", "fp_adjust_insn", ")", ";", "}", "}", "else", "{", "nds32_emit_stack_v3push", "(", "Rb", ",", "Re", ",", "GEN_INT", "(", "14", ")", ",", "GEN_INT", "(", "0", ")", ")", ";", "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", ")", ";", "}", "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", "v3push", "prologue", "."], "TS_V_token": ["nds32", "14", "14", "0", "1", "1", "1"], "File": "nds322", "Func": "nds32_expand_prologue_v3push", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3878, "Length": 301, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "AArch64TargetLowering", "::", "getScalarShiftAmountTy", "(", "EVT", "LHSTy", ")", "const", "{", "return", "MVT", "::", "i64", ";", "}", ""], "natrual_language": ["Return", "the", "type", "to", "use", "for", "a", "scalar", "shift", "opcode", ",", "given", "the", "shifted", "amount", "type", "."], "TS_V_token": ["AArch64", "AArch64", "MVT::i64"], "File": "AArch64ISelLowering116", "Func": "getScalarShiftAmountTy", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3879, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsSETargetLowering", "::", "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", "=", "IsN64", "?", "Mips", "::", "T9_64", ":", "Mips", "::", "T9", ";", "RegsToPass", ".", "push_front", "(", "std", "::", "make_pair", "(", "T9Reg", ",", "Callee", ")", ")", ";", "}", "else", "Ops", ".", "push_back", "(", "Callee", ")", ";", "MipsTargetLowering", "::", "getOpndList", "(", "Ops", ",", "RegsToPass", ",", "IsPICCall", ",", "GlobalOrExternal", ",", "InternalLinkage", ",", "CLI", ",", "Callee", ",", "Chain", ")", ";", "}", ""], "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::T9_64", "Mips::T9", "Mips"], "File": "MipsSEISelLowering1", "Func": "getOpndList", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3880, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsInstrInfo", "::", "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", "->", "isDebugValue", "(", ")", ")", "{", "++", "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": ["Mips", "Mips", "\"code size not handled\"", "0", "2"], "File": "MipsInstrInfo37", "Func": "removeBranch", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3881, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseRegisterInfo", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "(", "(", "NoFramePointerElim", "&&", "MFI", "->", "hasCalls", "(", ")", ")", "||", "needsStackRealignment", "(", "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": "ARMBaseRegisterInfo12", "Func": "hasFP", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3882, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "SICABIInfo", "Unknown", "(", ")", "{", "return", "SICABIInfo", "(", "ABI", "::", "Unknown", ")", ";", "}", ""], "natrual_language": ["The", "kind", "of", "location", "description", "being", "produced", ".", "More", "..."], "TS_V_token": ["SIC", "SIC", "SIC", "ABI::Unknown"], "File": "SICABIInfo", "Func": "Unknown", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3883, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "arm_output_iwmmxt_tinsr", "(", "rtx", "*", "operands", ")", "{", "int", "mask", "=", "INTVAL", "(", "operands", "[", "3", "]", ")", ";", "int", "i", ";", "char", "templ", "[", "50", "]", ";", "int", "units", "=", "mode_nunits", "[", "GET_MODE", "(", "operands", "[", "0", "]", ")", "]", ";", "gcc_assert", "(", "(", "mask", "&", "(", "mask", "-", "1", ")", ")", "==", "0", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "units", ";", "++", "i", ")", "{", "if", "(", "(", "mask", "&", "0x01", ")", "==", "1", ")", "{", "break", ";", "}", "mask", ">>=", "1", ";", "}", "gcc_assert", "(", "i", "<", "units", ")", ";", "{", "switch", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", ")", "{", "case", "E_V8QImode", ":", "sprintf", "(", "templ", ",", "\"tinsrb%%?\\t%%0, %%2, #%d\"", ",", "i", ")", ";", "break", ";", "case", "E_V4HImode", ":", "sprintf", "(", "templ", ",", "\"tinsrh%%?\\t%%0, %%2, #%d\"", ",", "i", ")", ";", "break", ";", "case", "E_V2SImode", ":", "sprintf", "(", "templ", ",", "\"tinsrw%%?\\t%%0, %%2, #%d\"", ",", "i", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "break", ";", "}", "output_asm_insn", "(", "templ", ",", "operands", ")", ";", "}", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "assembly", "for", "a", "WMMX", "tinsr", "instruction", "."], "TS_V_token": ["arm", "3", "50", "0", "1", "0", "0", "0x01", "1", "1", "0", "\"tinsrb%%?\\t%%0, %%2, #%d\"", "\"tinsrh%%?\\t%%0, %%2, #%d\"", "\"tinsrw%%?\\t%%0, %%2, #%d\"", "\"\""], "File": "arm", "Func": "arm_output_iwmmxt_tinsr", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3884, "Length": 174, "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": 3885, "Length": 417, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "predefined_function_abi", "&", "aarch64_insn_callee_abi", "(", "const", "rtx_insn", "*", "insn", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", ")", ";", "rtx", "unspec", "=", "XVECEXP", "(", "pat", ",", "0", ",", "1", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "unspec", ")", "==", "UNSPEC", "&&", "XINT", "(", "unspec", ",", "1", ")", "==", "UNSPEC_CALLEE_ABI", ")", ";", "return", "function_abis", "[", "INTVAL", "(", "XVECEXP", "(", "unspec", ",", "0", ",", "0", ")", ")", "]", ";", "}", ""], "natrual_language": ["Implement", "TARGET_INSN_CALLEE_ABI", "."], "TS_V_token": ["aarch64", "0", "1", "1", "0", "0"], "File": "aarch64", "Func": "aarch64_insn_callee_abi", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3886, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emit_fusion_addis", "(", "rtx", "target", ",", "rtx", "addis_value", ",", "const", "char", "*", "comment", ",", "const", "char", "*", "mode_name", ")", "{", "rtx", "fuse_ops", "[", "10", "]", ";", "char", "insn_template", "[", "80", "]", ";", "const", "char", "*", "addis_str", "=", "NULL", ";", "const", "char", "*", "comment_str", "=", "ASM_COMMENT_START", ";", "if", "(", "*", "comment_str", "==", "' '", ")", "comment_str", "++", ";", "fuse_ops", "[", "0", "]", "=", "target", ";", "if", "(", "satisfies_constraint_L", "(", "addis_value", ")", ")", "{", "fuse_ops", "[", "1", "]", "=", "addis_value", ";", "addis_str", "=", "\"lis %0,%v1\"", ";", "}", "else", "if", "(", "GET_CODE", "(", "addis_value", ")", "==", "PLUS", ")", "{", "rtx", "op0", "=", "XEXP", "(", "addis_value", ",", "0", ")", ";", "rtx", "op1", "=", "XEXP", "(", "addis_value", ",", "1", ")", ";", "if", "(", "REG_P", "(", "op0", ")", "&&", "CONST_INT_P", "(", "op1", ")", "&&", "satisfies_constraint_L", "(", "op1", ")", ")", "{", "fuse_ops", "[", "1", "]", "=", "op0", ";", "fuse_ops", "[", "2", "]", "=", "op1", ";", "addis_str", "=", "\"addis %0,%1,%v2\"", ";", "}", "}", "else", "if", "(", "GET_CODE", "(", "addis_value", ")", "==", "HIGH", ")", "{", "rtx", "value", "=", "XEXP", "(", "addis_value", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "value", ")", "==", "UNSPEC", "&&", "XINT", "(", "value", ",", "1", ")", "==", "UNSPEC_TOCREL", ")", "{", "fuse_ops", "[", "1", "]", "=", "XVECEXP", "(", "value", ",", "0", ",", "0", ")", ";", "fuse_ops", "[", "2", "]", "=", "XVECEXP", "(", "value", ",", "0", ",", "1", ")", ";", "if", "(", "TARGET_ELF", ")", "addis_str", "=", "\"addis %0,%2,%1@toc@ha\"", ";", "else", "if", "(", "TARGET_XCOFF", ")", "addis_str", "=", "\"addis %0,%1@u(%2)\"", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "value", ")", "==", "PLUS", ")", "{", "rtx", "op0", "=", "XEXP", "(", "value", ",", "0", ")", ";", "rtx", "op1", "=", "XEXP", "(", "value", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "op0", ")", "==", "UNSPEC", "&&", "XINT", "(", "op0", ",", "1", ")", "==", "UNSPEC_TOCREL", "&&", "CONST_INT_P", "(", "op1", ")", ")", "{", "fuse_ops", "[", "1", "]", "=", "XVECEXP", "(", "op0", ",", "0", ",", "0", ")", ";", "fuse_ops", "[", "2", "]", "=", "XVECEXP", "(", "op0", ",", "0", ",", "1", ")", ";", "fuse_ops", "[", "3", "]", "=", "op1", ";", "if", "(", "TARGET_ELF", ")", "addis_str", "=", "\"addis %0,%2,%1+%3@toc@ha\"", ";", "else", "if", "(", "TARGET_XCOFF", ")", "addis_str", "=", "\"addis %0,%1+%3@u(%2)\"", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "if", "(", "satisfies_constraint_L", "(", "value", ")", ")", "{", "fuse_ops", "[", "1", "]", "=", "value", ";", "addis_str", "=", "\"lis %0,%v1\"", ";", "}", "else", "if", "(", "TARGET_ELF", "&&", "!", "TARGET_POWERPC64", "&&", "CONSTANT_P", "(", "value", ")", ")", "{", "fuse_ops", "[", "1", "]", "=", "value", ";", "addis_str", "=", "\"lis %0,%1@ha\"", ";", "}", "}", "if", "(", "!", "addis_str", ")", "fatal_insn", "(", "\"Could not generate addis value for fusion\"", ",", "addis_value", ")", ";", "sprintf", "(", "insn_template", ",", "\"%s\\t\\t%s %s, type %s\"", ",", "addis_str", ",", "comment_str", ",", "comment", ",", "mode_name", ")", ";", "output_asm_insn", "(", "insn_template", ",", "fuse_ops", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "addis", "instruction", "that", "will", "be", "part", "of", "a", "fused", "instruction", "sequence", "."], "TS_V_token": ["rs6000", "10", "80", "0", "1", "\"lis %0,%v1\"", "0", "1", "1", "2", "\"addis %0,%1,%v2\"", "0", "1", "1", "0", "0", "2", "0", "1", "\"addis %0,%2,%1@toc@ha\"", "\"addis %0,%1@u(%2)\"", "0", "1", "1", "1", "0", "0", "2", "0", "1", "3", "\"addis %0,%2,%1+%3@toc@ha\"", "\"addis %0,%1+%3@u(%2)\"", "1", "\"lis %0,%v1\"", "1", "\"lis %0,%1@ha\"", "\"Could not generate addis value for fusion\"", "\"%s\\t\\t%s %s, type %s\""], "File": "rs60005", "Func": "emit_fusion_addis", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3887, "Length": 440, "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": 3888, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "X86MCExpr", "*", "create", "(", "int64_t", "RegNo", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "X86MCExpr", "(", "RegNo", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86MCExpr (2)", "Func": "create", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3889, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "Cpu0MCExpr", "*", "Cpu0MCExpr", "::", "create", "(", "const", "MCSymbol", "*", "Symbol", ",", "Cpu0MCExpr", "::", "Cpu0ExprKind", "Kind", ",", "MCContext", "&", "Ctx", ")", "{", "const", "MCSymbolRefExpr", "*", "MCSym", "=", "MCSymbolRefExpr", "::", "create", "(", "Symbol", ",", "MCSymbolRefExpr", "::", "VK_None", ",", "Ctx", ")", ";", "return", "new", "(", "Ctx", ")", "Cpu0MCExpr", "(", "Kind", ",", "MCSym", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0"], "File": "Cpu0MCExpr1", "Func": "create", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3890, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "aarch64_reassociation_width", "(", "unsigned", "opc", ",", "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", ")", "&&", "opc", "!=", "PLUS_EXPR", ")", "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": "aarch64", "Func": "aarch64_reassociation_width", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3891, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "OS", ")", "{", "const", "MCRegisterInfo", "&", "MRI", "=", "*", "TM", ".", "getMCRegisterInfo", "(", ")", ";", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "MCOperand", "MCOp", ";", "if", "(", "ExtraCode", ")", "{", "if", "(", "ExtraCode", "[", "0", "]", "==", "'N'", "&&", "!", "ExtraCode", "[", "1", "]", "&&", "MO", ".", "isReg", "(", ")", "&&", "SystemZ", "::", "GR128BitRegClass", ".", "contains", "(", "MO", ".", "getReg", "(", ")", ")", ")", "MCOp", "=", "MCOperand", "::", "createReg", "(", "MRI", ".", "getSubReg", "(", "MO", ".", "getReg", "(", ")", ",", "SystemZ", "::", "subreg_l64", ")", ")", ";", "else", "return", "AsmPrinter", "::", "PrintAsmOperand", "(", "MI", ",", "OpNo", ",", "ExtraCode", ",", "OS", ")", ";", "}", "else", "{", "SystemZMCInstLower", "Lower", "(", "MF", "->", "getContext", "(", ")", ",", "*", "this", ")", ";", "MCOp", "=", "Lower", ".", "lowerOperand", "(", "MO", ")", ";", "}", "SystemZInstPrinter", "::", "printOperand", "(", "MCOp", ",", "MAI", ",", "OS", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "1", "SystemZ::GR128BitRegClass", "SystemZ::subreg_l64", "SystemZ", "SystemZ"], "File": "SystemZAsmPrinter11", "Func": "PrintAsmOperand", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3892, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_vectorize_vec_perm_const", "(", "machine_mode", "vmode", ",", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ",", "const", "vec_perm_indices", "&", "sel", ")", "{", "struct", "expand_vec_perm_d", "d", ";", "if", "(", "sel", ".", "ninputs", "(", ")", "==", "1", "||", "(", "op0", "&&", "rtx_equal_p", "(", "op0", ",", "op1", ")", ")", ")", "d", ".", "one_vector_p", "=", "true", ";", "else", "if", "(", "sel", ".", "all_from_input_p", "(", "0", ")", ")", "{", "d", ".", "one_vector_p", "=", "true", ";", "op1", "=", "op0", ";", "}", "else", "if", "(", "sel", ".", "all_from_input_p", "(", "1", ")", ")", "{", "d", ".", "one_vector_p", "=", "true", ";", "op0", "=", "op1", ";", "}", "else", "d", ".", "one_vector_p", "=", "false", ";", "d", ".", "perm", ".", "new_vector", "(", "sel", ".", "encoding", "(", ")", ",", "d", ".", "one_vector_p", "?", "1", ":", "2", ",", "sel", ".", "nelts_per_input", "(", ")", ")", ";", "d", ".", "vmode", "=", "vmode", ";", "d", ".", "vec_flags", "=", "aarch64_classify_vector_mode", "(", "d", ".", "vmode", ")", ";", "d", ".", "target", "=", "target", ";", "d", ".", "op0", "=", "op0", "?", "force_reg", "(", "vmode", ",", "op0", ")", ":", "NULL_RTX", ";", "if", "(", "op0", "==", "op1", ")", "d", ".", "op1", "=", "d", ".", "op0", ";", "else", "d", ".", "op1", "=", "op1", "?", "force_reg", "(", "vmode", ",", "op1", ")", ":", "NULL_RTX", ";", "d", ".", "testing_p", "=", "!", "target", ";", "if", "(", "!", "d", ".", "testing_p", ")", "return", "aarch64_expand_vec_perm_const_1", "(", "&", "d", ")", ";", "rtx_insn", "*", "last", "=", "get_last_insn", "(", ")", ";", "bool", "ret", "=", "aarch64_expand_vec_perm_const_1", "(", "&", "d", ")", ";", "gcc_assert", "(", "last", "==", "get_last_insn", "(", ")", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VECTORIZE_VEC_PERM_CONST", "."], "TS_V_token": ["aarch64", "1", "0", "1", "1", "2"], "File": "aarch641", "Func": "aarch64_vectorize_vec_perm_const", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3893, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_fusion_enabled_p", "(", "tune_params", "::", "fuse_ops", "op", ")", "{", "return", "current_tune", "->", "fusible_ops", "&", "op", ";", "}", ""], "natrual_language": ["Return", "true", "iff", "the", "instruction", "fusion", "described", "by", "OP", "is", "enabled", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_fusion_enabled_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3894, "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", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "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", "1"], "File": "X86FrameLowering25", "Func": "assignCalleeSavedSpillSlots", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3895, "Length": 470, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_emit_stack_tie", "(", "void", ")", "{", "rtx", "mem", "=", "gen_rtx_MEM", "(", "BLKmode", ",", "gen_rtx_REG", "(", "Pmode", ",", "STACK_POINTER_REGNUM", ")", ")", ";", "set_mem_alias_set", "(", "mem", ",", "rs6000_sr_alias_set", ")", ";", "emit_insn", "(", "gen_stack_tie", "(", "mem", ")", ")", ";", "}", ""], "natrual_language": ["This", "ties", "together", "stack", "memory", "(", "MEM", "with", "an", "alias", "set", "of", "rs6000_sr_alias_set", ")", "and", "the", "change", "to", "the", "stack", "pointer", "."], "TS_V_token": ["rs6000"], "File": "rs60003", "Func": "rs6000_emit_stack_tie", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3896, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips16_lay_out_constants", "(", "bool", "split_p", ")", "{", "struct", "mips16_constant_pool", "pool", ";", "rtx_insn", "*", "insn", ",", "*", "barrier", ";", "if", "(", "!", "TARGET_MIPS16_PCREL_LOADS", ")", "return", ";", "if", "(", "split_p", ")", "{", "if", "(", "mips_cfg_in_reorg", "(", ")", ")", "split_all_insns", "(", ")", ";", "else", "split_all_insns_noflow", "(", ")", ";", "}", "barrier", "=", "0", ";", "memset", "(", "&", "pool", ",", "0", ",", "sizeof", "(", "pool", ")", ")", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "if", "(", "USEFUL_INSN_P", "(", "insn", ")", ")", "mips16_rewrite_pool_refs", "(", "insn", ",", "&", "pool", ")", ";", "pool", ".", "insn_address", "+=", "mips16_insn_length", "(", "insn", ")", ";", "if", "(", "pool", ".", "first", "!=", "NULL", ")", "{", "if", "(", "barrier", "==", "0", "&&", "pool", ".", "insn_address", "+", "4", ">", "pool", ".", "highest_address", ")", "{", "rtx_code_label", "*", "label", ";", "rtx_insn", "*", "jump", ";", "label", "=", "gen_label_rtx", "(", ")", ";", "jump", "=", "emit_jump_insn_before", "(", "gen_jump", "(", "label", ")", ",", "insn", ")", ";", "JUMP_LABEL", "(", "jump", ")", "=", "label", ";", "LABEL_NUSES", "(", "label", ")", "=", "1", ";", "barrier", "=", "emit_barrier_after", "(", "jump", ")", ";", "emit_label_after", "(", "label", ",", "barrier", ")", ";", "pool", ".", "insn_address", "+=", "4", ";", "}", "if", "(", "pool", ".", "insn_address", ">", "pool", ".", "highest_address", ")", "{", "mips16_emit_constants", "(", "pool", ".", "first", ",", "barrier", ")", ";", "pool", ".", "first", "=", "NULL", ";", "barrier", "=", "0", ";", "}", "else", "if", "(", "BARRIER_P", "(", "insn", ")", ")", "barrier", "=", "insn", ";", "}", "}", "mips16_emit_constants", "(", "pool", ".", "first", ",", "get_last_insn", "(", ")", ")", ";", "}", ""], "natrual_language": ["Build", "MIPS16", "constant", "pools", "."], "TS_V_token": ["mips", "0", "0", "0", "4", "1", "4", "0"], "File": "mips", "Func": "mips16_lay_out_constants", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3897, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmPrinter", "::", "emitFunctionBodyStart", "(", ")", "{", "if", "(", "EmitFPOData", ")", "{", "if", "(", "auto", "*", "XTS", "=", "static_cast", "<", "X86TargetStreamer", "*", ">", "(", "OutStreamer", "->", "getTargetStreamer", "(", ")", ")", ")", "XTS", "->", "emitFPOProc", "(", "CurrentFnSym", ",", "MF", "->", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "getArgumentStackSize", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["Targets", "can", "override", "this", "to", "emit", "stuff", "before", "the", "first", "basic", "block", "in", "the", "function", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86AsmPrinter10", "Func": "emitFunctionBodyStart", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3898, "Length": 53, "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", "unsigned", "*", "table", "=", "lookup", "(", "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\"", "\"Cannot change domain\"", "1"], "File": "X86InstrInfo139", "Func": "setExecutionDomain", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3899, "Length": 92, "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", "::", "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"], "File": "X86RegisterInfo62", "Func": "getCalleeSavedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3900, "Length": 494, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZElimCompare", "::", "processBlock", "(", "MachineBasicBlock", "&", "MBB", ")", "{", "bool", "Changed", "=", "false", ";", "LivePhysRegs", "LiveRegs", "(", "*", "TRI", ")", ";", "LiveRegs", ".", "addLiveOuts", "(", "MBB", ")", ";", "bool", "CompleteCCUsers", "=", "!", "LiveRegs", ".", "contains", "(", "SystemZ", "::", "CC", ")", ";", "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", "SystemZ::CC", "4", "SystemZ::CC", "SystemZ::CC"], "File": "SystemZElimCompare (2)2", "Func": "processBlock", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3901, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "unspec_cond_fcmla", "(", "int", "rot", ")", "{", "switch", "(", "rot", ")", "{", "case", "0", ":", "return", "UNSPEC_COND_FCMLA", ";", "case", "90", ":", "return", "UNSPEC_COND_FCMLA90", ";", "case", "180", ":", "return", "UNSPEC_COND_FCMLA180", ";", "case", "270", ":", "return", "UNSPEC_COND_FCMLA270", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "UNSPEC_COND_FCMLA", "*", "unspec", "for", "rotation", "amount", "ROT", "."], "TS_V_token": ["aarch64", "0", "90", "180", "270"], "File": "aarch64-sve-builtins-base", "Func": "unspec_cond_fcmla", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3902, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "scavenge_reg", "(", "HARD_REG_SET", "*", "s", ")", "{", "for", "(", "int", "r", "=", "FIRST_GENERAL_REG", ";", "r", "<=", "LAST_GENERAL_REG", ";", "r", "++", ")", "if", "(", "TEST_HARD_REG_BIT", "(", "*", "s", ",", "r", ")", ")", "return", "r", ";", "return", "-", "1", ";", "}", ""], "natrual_language": ["Find", "the", "number", "of", "a", "general", "purpose", "register", "in", "S", "."], "TS_V_token": ["sh", "1"], "File": "sh", "Func": "scavenge_reg", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3903, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetLowering", "::", "HandleByVal", "(", "CCState", "*", "State", ",", "unsigned", "&", "size", ",", "unsigned", "Align", ")", "const", "{", "unsigned", "reg", "=", "State", "->", "AllocateReg", "(", "GPRArgRegs", ",", "4", ")", ";", "assert", "(", "(", "State", "->", "getCallOrPrologue", "(", ")", "==", "Prologue", "||", "State", "->", "getCallOrPrologue", "(", ")", "==", "Call", ")", "&&", "\"unhandled ParmContext\"", ")", ";", "if", "(", "Subtarget", "->", "isTargetNaCl", "(", ")", ")", "{", "if", "(", "(", "!", "State", "->", "isFirstByValRegValid", "(", ")", ")", "&&", "(", "ARM", "::", "R0", "<=", "reg", ")", "&&", "(", "reg", "<=", "ARM", "::", "R3", ")", ")", "{", "State", "->", "setHasByValInRegPosition", "(", ")", ";", "}", "while", "(", "State", "->", "AllocateReg", "(", "GPRArgRegs", ",", "4", ")", ")", ";", "return", ";", "}", "if", "(", "(", "!", "State", "->", "isFirstByValRegValid", "(", ")", ")", "&&", "(", "ARM", "::", "R0", "<=", "reg", ")", "&&", "(", "reg", "<=", "ARM", "::", "R3", ")", ")", "{", "if", "(", "Subtarget", "->", "isAAPCS_ABI", "(", ")", "&&", "Align", ">", "4", ")", "{", "unsigned", "AlignInRegs", "=", "Align", "/", "4", ";", "unsigned", "Waste", "=", "(", "ARM", "::", "R4", "-", "reg", ")", "%", "AlignInRegs", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Waste", ";", "++", "i", ")", "reg", "=", "State", "->", "AllocateReg", "(", "GPRArgRegs", ",", "4", ")", ";", "}", "if", "(", "reg", "!=", "0", ")", "{", "State", "->", "setFirstByValReg", "(", "reg", ")", ";", "if", "(", "State", "->", "getCallOrPrologue", "(", ")", "==", "Call", ")", "{", "unsigned", "excess", "=", "4", "*", "(", "ARM", "::", "R4", "-", "reg", ")", ";", "assert", "(", "size", ">=", "excess", "&&", "\"expected larger existing stack allocation\"", ")", ";", "size", "-=", "excess", ";", "}", "}", "}", "while", "(", "State", "->", "AllocateReg", "(", "GPRArgRegs", ",", "4", ")", ")", ";", "}", ""], "natrual_language": ["Target-specific", "cleanup", "for", "formal", "ByVal", "parameters", "."], "TS_V_token": ["ARM", "ARM", "4", "\"unhandled ParmContext\"", "ARM::R0", "ARM::R3", "4", "ARM::R0", "ARM::R3", "4", "4", "ARM::R4", "0", "4", "0", "4", "ARM::R4", "\"expected larger existing stack allocation\"", "4"], "File": "ARMISelLowering91", "Func": "HandleByVal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3904, "Length": 266, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VERegisterInfo", "::", "canRealignStack", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "!", "TargetRegisterInfo", "::", "canRealignStack", "(", "MF", ")", ")", "return", "false", ";", "if", "(", "getFrameLowering", "(", "MF", ")", "->", "hasReservedCallFrame", "(", "MF", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["True", "if", "the", "stack", "can", "be", "realigned", "for", "the", "target", "."], "TS_V_token": ["VE", "VE"], "File": "VERegisterInfo", "Func": "canRealignStack", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3905, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isShuffleMaskLegal", "(", "const", "SmallVectorImpl", "<", "int", ">", "&", "M", ",", "EVT", "VT", ")", "const", "{", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "false", ";", "return", "(", "VT", ".", "getVectorNumElements", "(", ")", "==", "2", "||", "ShuffleVectorSDNode", "::", "isSplatMask", "(", "&", "M", "[", "0", "]", ",", "VT", ")", "||", "isMOVLMask", "(", "M", ",", "VT", ")", "||", "isSHUFPMask", "(", "M", ",", "VT", ")", "||", "isPSHUFDMask", "(", "M", ",", "VT", ")", "||", "isPSHUFHWMask", "(", "M", ",", "VT", ")", "||", "isPSHUFLWMask", "(", "M", ",", "VT", ")", "||", "isUNPCKLMask", "(", "M", ",", "VT", ")", "||", "isUNPCKHMask", "(", "M", ",", "VT", ")", "||", "isUNPCKL_v_undef_Mask", "(", "M", ",", "VT", ")", "||", "isUNPCKH_v_undef_Mask", "(", "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": ["X86", "X86", "64", "2", "0"], "File": "X86ISelLowering94", "Func": "isShuffleMaskLegal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3906, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CountValueType", "getType", "(", ")", "const", "{", "return", "Kind", ";", "}", ""], "natrual_language": ["Overload", "to", "return", "most", "specific", "vector", "type", "."], "TS_V_token": ["PowerPC"], "File": "PPCCTRLoops2", "Func": "getType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3907, "Length": 10, "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", ")", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "word_mode", ",", "regno", ")", ";", "rtx", "mem", ";", "rtx_insn", "*", "insn", ";", "mem", "=", "choose_baseaddr", "(", "cfa_offset", ")", ";", "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": "i3865", "Func": "ix86_emit_restore_regs_using_mov", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3908, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isZero", "(", ")", "{", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "if", "(", "const", "auto", "*", "ConstExpr", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Imm", ".", "Val", ")", ")", "{", "int64_t", "Value", "=", "ConstExpr", "->", "getValue", "(", ")", ";", "return", "Value", "==", "0", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "expression", "is", "a", "constant", "zero", "."], "TS_V_token": ["VE", "0"], "File": "VEAsmParser (2)", "Func": "isZero", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3909, "Length": 52, "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": ["Cpu0"], "File": "Cpu0Subtarget3", "Func": "enableMachineScheduler", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3910, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZTTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ",", "OptimizationRemarkEmitter", "*", "ORE", ")", "{", "bool", "HasCall", "=", "false", ";", "InstructionCost", "NumStores", "=", "0", ";", "for", "(", "auto", "&", "BB", ":", "L", "->", "blocks", "(", ")", ")", "for", "(", "auto", "&", "I", ":", "*", "BB", ")", "{", "if", "(", "isa", "<", "CallInst", ">", "(", "&", "I", ")", "||", "isa", "<", "InvokeInst", ">", "(", "&", "I", ")", ")", "{", "if", "(", "const", "Function", "*", "F", "=", "cast", "<", "CallBase", ">", "(", "I", ")", ".", "getCalledFunction", "(", ")", ")", "{", "if", "(", "isLoweredToCall", "(", "F", ")", ")", "HasCall", "=", "true", ";", "if", "(", "F", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "memcpy", "||", "F", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "memset", ")", "NumStores", "++", ";", "}", "else", "{", "HasCall", "=", "true", ";", "}", "}", "if", "(", "isa", "<", "StoreInst", ">", "(", "&", "I", ")", ")", "{", "Type", "*", "MemAccessTy", "=", "I", ".", "getOperand", "(", "0", ")", "->", "getType", "(", ")", ";", "NumStores", "+=", "getMemoryOpCost", "(", "Instruction", "::", "Store", ",", "MemAccessTy", ",", "None", ",", "0", ",", "TTI", "::", "TCK_RecipThroughput", ")", ";", "}", "}", "unsigned", "const", "NumStoresVal", "=", "*", "NumStores", ".", "getValue", "(", ")", ";", "unsigned", "const", "Max", "=", "(", "NumStoresVal", "?", "(", "12", "/", "NumStoresVal", ")", ":", "UINT_MAX", ")", ";", "if", "(", "HasCall", ")", "{", "UP", ".", "FullUnrollMaxCount", "=", "Max", ";", "UP", ".", "MaxCount", "=", "1", ";", "return", ";", "}", "UP", ".", "MaxCount", "=", "Max", ";", "if", "(", "UP", ".", "MaxCount", "<=", "1", ")", "return", ";", "UP", ".", "Partial", "=", "UP", ".", "Runtime", "=", "true", ";", "UP", ".", "PartialThreshold", "=", "75", ";", "UP", ".", "DefaultUnrollRuntimeCount", "=", "4", ";", "UP", ".", "AllowExpensiveTripCount", "=", "true", ";", "UP", ".", "Force", "=", "true", ";", "}", ""], "natrual_language": ["Get", "target-customized", "preferences", "for", "the", "generic", "loop", "unrolling", "transformation", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "Intrinsic::memcpy", "Intrinsic::memset", "0", "0", "12", "1", "1", "75", "4"], "File": "SystemZTargetTransformInfo1", "Func": "getUnrollingPreferences", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3911, "Length": 288, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_evpc_rev", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "int", "i", ",", "j", ",", "diff", ",", "nelt", "=", "d", "->", "nelt", ";", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ")", ";", "if", "(", "!", "d", "->", "one_vector_p", ")", "return", "false", ";", "diff", "=", "d", "->", "perm", "[", "0", "]", ";", "switch", "(", "diff", ")", "{", "case", "7", ":", "switch", "(", "d", "->", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_aarch64_rev64v16qi", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_aarch64_rev64v8qi", ";", "break", ";", "default", ":", "return", "false", ";", "}", "break", ";", "case", "3", ":", "switch", "(", "d", "->", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_aarch64_rev32v16qi", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_aarch64_rev32v8qi", ";", "break", ";", "case", "V8HImode", ":", "gen", "=", "gen_aarch64_rev64v8hi", ";", "break", ";", "case", "V4HImode", ":", "gen", "=", "gen_aarch64_rev64v4hi", ";", "break", ";", "default", ":", "return", "false", ";", "}", "break", ";", "case", "1", ":", "switch", "(", "d", "->", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_aarch64_rev16v16qi", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_aarch64_rev16v8qi", ";", "break", ";", "case", "V8HImode", ":", "gen", "=", "gen_aarch64_rev32v8hi", ";", "break", ";", "case", "V4HImode", ":", "gen", "=", "gen_aarch64_rev32v4hi", ";", "break", ";", "case", "V4SImode", ":", "gen", "=", "gen_aarch64_rev64v4si", ";", "break", ";", "case", "V2SImode", ":", "gen", "=", "gen_aarch64_rev64v2si", ";", "break", ";", "case", "V4SFmode", ":", "gen", "=", "gen_aarch64_rev64v4sf", ";", "break", ";", "case", "V2SFmode", ":", "gen", "=", "gen_aarch64_rev64v2sf", ";", "break", ";", "default", ":", "return", "false", ";", "}", "break", ";", "default", ":", "return", "false", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "i", "+=", "diff", "+", "1", ")", "for", "(", "j", "=", "0", ";", "j", "<=", "diff", ";", "j", "+=", "1", ")", "{", "gcc_assert", "(", "i", "+", "j", "<", "nelt", ")", ";", "if", "(", "d", "->", "perm", "[", "i", "+", "j", "]", "!=", "i", "+", "diff", "-", "j", ")", "return", "false", ";", "}", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "emit_insn", "(", "gen", "(", "d", "->", "target", ",", "d", "->", "op0", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "for", "the", "REV", "insns", "."], "TS_V_token": ["aarch64", "0", "7", "3", "1", "0", "1", "0", "1"], "File": "aarch642", "Func": "aarch64_evpc_rev", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3912, "Length": 333, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "standard_80387_constant_p", "(", "rtx", "x", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "x", ")", ";", "const", "REAL_VALUE_TYPE", "*", "r", ";", "if", "(", "!", "(", "CONST_DOUBLE_P", "(", "x", ")", "&&", "X87_FLOAT_MODE_P", "(", "mode", ")", ")", ")", "return", "-", "1", ";", "if", "(", "x", "==", "CONST0_RTX", "(", "mode", ")", ")", "return", "1", ";", "if", "(", "x", "==", "CONST1_RTX", "(", "mode", ")", ")", "return", "2", ";", "r", "=", "CONST_DOUBLE_REAL_VALUE", "(", "x", ")", ";", "if", "(", "mode", "==", "XFmode", "&&", "(", "optimize_function_for_size_p", "(", "cfun", ")", "||", "TARGET_EXT_80387_CONSTANTS", ")", "&&", "!", "flag_rounding_math", ")", "{", "int", "i", ";", "if", "(", "!", "ext_80387_constants_init", ")", "init_ext_80387_constants", "(", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "5", ";", "i", "++", ")", "if", "(", "real_identical", "(", "r", ",", "&", "ext_80387_constants_table", "[", "i", "]", ")", ")", "return", "i", "+", "3", ";", "}", "if", "(", "real_isnegzero", "(", "r", ")", ")", "return", "8", ";", "if", "(", "real_identical", "(", "r", ",", "&", "dconstm1", ")", ")", "return", "9", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "constant", "is", "something", "that", "can", "be", "loaded", "with", "a", "special", "instruction", "."], "TS_V_token": ["i386", "1", "1", "2", "0", "5", "3", "8", "9", "0"], "File": "i386", "Func": "standard_80387_constant_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3913, "Length": 160, "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": 3914, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "unsigned", "Opcode", "=", "Node", "->", "getOpcode", "(", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "LLVM_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", "->", "isZero", "(", ")", ")", "{", "SDValue", "New", "=", "CurDAG", "->", "getCopyFromReg", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "SDLoc", "(", "Node", ")", ",", "Lanai", "::", "R0", ",", "MVT", "::", "i32", ")", ";", "return", "ReplaceNode", "(", "Node", ",", "New", ".", "getNode", "(", ")", ")", ";", "}", "if", "(", "ConstNode", "->", "isAllOnes", "(", ")", ")", "{", "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", "\"== \"", "\"\\n\"", "0", "ISD::Constant", "MVT::i32", "Lanai::R0", "MVT::i32", "Lanai::R1", "MVT::i32", "ISD::FrameIndex"], "File": "LanaiISelDAGToDAG4", "Func": "Select", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3915, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_add_offset_1", "(", "scalar_int_mode", "mode", ",", "rtx", "dest", ",", "rtx", "src", ",", "HOST_WIDE_INT", "offset", ",", "rtx", "temp1", ",", "bool", "frame_related_p", ",", "bool", "emit_move_imm", ")", "{", "gcc_assert", "(", "emit_move_imm", "||", "temp1", "!=", "NULL_RTX", ")", ";", "gcc_assert", "(", "temp1", "==", "NULL_RTX", "||", "!", "reg_overlap_mentioned_p", "(", "temp1", ",", "src", ")", ")", ";", "HOST_WIDE_INT", "moffset", "=", "abs_hwi", "(", "offset", ")", ";", "rtx_insn", "*", "insn", ";", "if", "(", "!", "moffset", ")", "{", "if", "(", "!", "rtx_equal_p", "(", "dest", ",", "src", ")", ")", "{", "insn", "=", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "src", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "frame_related_p", ";", "}", "return", ";", "}", "if", "(", "aarch64_uimm12_shift", "(", "moffset", ")", ")", "{", "insn", "=", "emit_insn", "(", "gen_add3_insn", "(", "dest", ",", "src", ",", "GEN_INT", "(", "offset", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "frame_related_p", ";", "return", ";", "}", "if", "(", "moffset", "<", "0x1000000", "&&", "(", "(", "!", "temp1", "&&", "!", "can_create_pseudo_p", "(", ")", ")", "||", "!", "aarch64_move_imm", "(", "moffset", ",", "mode", ")", ")", ")", "{", "HOST_WIDE_INT", "low_off", "=", "moffset", "&", "0xfff", ";", "low_off", "=", "offset", "<", "0", "?", "-", "low_off", ":", "low_off", ";", "insn", "=", "emit_insn", "(", "gen_add3_insn", "(", "dest", ",", "src", ",", "GEN_INT", "(", "low_off", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "frame_related_p", ";", "insn", "=", "emit_insn", "(", "gen_add2_insn", "(", "dest", ",", "GEN_INT", "(", "offset", "-", "low_off", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "frame_related_p", ";", "return", ";", "}", "if", "(", "emit_move_imm", ")", "{", "gcc_assert", "(", "temp1", "!=", "NULL_RTX", "||", "can_create_pseudo_p", "(", ")", ")", ";", "temp1", "=", "aarch64_force_temporary", "(", "mode", ",", "temp1", ",", "GEN_INT", "(", "moffset", ")", ")", ";", "}", "insn", "=", "emit_insn", "(", "offset", "<", "0", "?", "gen_sub3_insn", "(", "dest", ",", "src", ",", "temp1", ")", ":", "gen_add3_insn", "(", "dest", ",", "src", ",", "temp1", ")", ")", ";", "if", "(", "frame_related_p", ")", "{", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "frame_related_p", ";", "rtx", "adj", "=", "plus_constant", "(", "mode", ",", "src", ",", "offset", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_ADJUST_CFA", ",", "gen_rtx_SET", "(", "dest", ",", "adj", ")", ")", ";", "}", "}", ""], "natrual_language": ["A", "subroutine", "of", "aarch64_add_offset", ".", "Set", "DEST", "to", "SRC", "+", "OFFSET", "for", "a", "non-polynomial", "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", "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", ".", "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", "0x1000000", "0xfff", "0", "0"], "File": "aarch645", "Func": "aarch64_add_offset_1", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3916, "Length": 331, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "reg_class", "crx_secondary_reload_class", "(", "enum", "reg_class", "class", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "reg_classes_intersect_p", "(", "class", ",", "HILO_REGS", ")", "&&", "true_regnum", "(", "x", ")", "==", "-", "1", ")", "return", "GENERAL_REGS", ";", "return", "NO_REGS", ";", "}", ""], "natrual_language": ["Transfer", "between", "HILO_REGS", "and", "memory", "via", "secondary", "reloading", "."], "TS_V_token": ["crx", "1"], "File": "crx", "Func": "crx_secondary_reload_class", "Target": "crx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3917, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetMachine", "::", "addPostRegAlloc", "(", "PassManagerBase", "&", "PM", ")", "{", "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": "X86TargetMachine116", "Func": "addPostRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3918, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isLegalAddressingMode", "(", "const", "AddrMode", "&", "AM", ",", "const", "Type", "*", "Ty", ")", "const", "{", "if", "(", "AM", ".", "BaseOffs", "<=", "-", "(", "1LL", "<<", "32", ")", "||", "AM", ".", "BaseOffs", ">=", "(", "1LL", "<<", "32", ")", "-", "1", ")", "return", "false", ";", "if", "(", "AM", ".", "BaseGV", ")", "{", "if", "(", "Subtarget", "->", "GVRequiresExtraLoad", "(", "AM", ".", "BaseGV", ",", "getTargetMachine", "(", ")", ",", "false", ")", ")", "return", "false", ";", "if", "(", "Subtarget", "->", "GVRequiresRegister", "(", "AM", ".", "BaseGV", ",", "getTargetMachine", "(", ")", ",", "false", ")", "&&", "AM", ".", "HasBaseReg", ")", "return", "false", ";", "if", "(", "Subtarget", "->", "is64Bit", "(", ")", ")", "{", "if", "(", "getTargetMachine", "(", ")", ".", "getCodeModel", "(", ")", "!=", "CodeModel", "::", "Small", ")", "return", "false", ";", "if", "(", "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", "1LL", "32", "1LL", "32", "1", "1", "0", "1", "2", "4", "8", "3", "5", "9"], "File": "X86ISelLowering160", "Func": "isLegalAddressingMode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3919, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isMicroMips", "(", "const", "MCSubtargetInfo", "*", "STI", ")", "{", "return", "STI", "->", "getFeatureBits", "(", ")", "[", "Mips", "::", "FeatureMicroMips", "]", ";", "}", ""], "natrual_language": ["Check", "whether", "a", "given", "symbol", "has", "been", "flagged", "with", "MICROMIPS", "flag", "."], "TS_V_token": ["Mips", "Mips", "Mips::FeatureMicroMips"], "File": "MipsTargetStreamer (2)1", "Func": "isMicroMips", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3920, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "sh_builtin_decl", "(", "unsigned", "code", ",", "bool", "initialize_p", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "code", ">=", "ARRAY_SIZE", "(", "bdesc", ")", ")", "return", "error_mark_node", ";", "if", "(", "!", "bdesc", "[", "code", "]", ".", "is_enabled", "(", ")", ")", "return", "error_mark_node", ";", "return", "bdesc", "[", "code", "]", ".", "fndecl", ";", "}", ""], "natrual_language": ["Returns", "the", "sh", "builtin", "decl", "for", "CODE", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "sh_builtin_decl", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3921, "Length": 48, "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": 3922, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "mips16e_find_first_register", "(", "unsigned", "int", "mask", ",", "const", "unsigned", "char", "*", "regs", ",", "unsigned", "int", "size", ")", "{", "unsigned", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "size", ";", "i", "++", ")", "if", "(", "BITSET_P", "(", "mask", ",", "regs", "[", "i", "]", ")", ")", "break", ";", "return", "i", ";", "}", ""], "natrual_language": ["Return", "the", "index", "of", "the", "lowest", "X", "in", "the", "range", "[", "0", ",", "SIZE", ")", "for", "which", "bit", "REGS", "[", "X", "]", "is", "set", "in", "MASK", ".", "Return", "SIZE", "if", "there", "is", "no", "such", "X", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips16e_find_first_register", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3923, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "barrier_align", "(", "rtx_insn", "*", "barrier_or_label", ")", "{", "rtx", "next", ",", "pat", ";", "if", "(", "!", "barrier_or_label", ")", "return", "0", ";", "if", "(", "LABEL_P", "(", "barrier_or_label", ")", "&&", "NEXT_INSN", "(", "barrier_or_label", ")", "&&", "JUMP_TABLE_DATA_P", "(", "NEXT_INSN", "(", "barrier_or_label", ")", ")", ")", "return", "2", ";", "if", "(", "BARRIER_P", "(", "barrier_or_label", ")", "&&", "PREV_INSN", "(", "barrier_or_label", ")", "&&", "JUMP_TABLE_DATA_P", "(", "PREV_INSN", "(", "barrier_or_label", ")", ")", ")", "{", "pat", "=", "PATTERN", "(", "PREV_INSN", "(", "barrier_or_label", ")", ")", ";", "return", "(", "(", "optimize_size", "||", "(", "(", "unsigned", ")", "XVECLEN", "(", "pat", ",", "1", ")", "*", "GET_MODE_SIZE", "(", "GET_MODE", "(", "pat", ")", ")", "<=", "(", "unsigned", ")", "1", "<<", "(", "CACHE_LOG", "-", "2", ")", ")", ")", "?", "1", "<<", "TARGET_SHMEDIA", ":", "align_jumps_log", ")", ";", "}", "next", "=", "next_active_insn", "(", "barrier_or_label", ")", ";", "if", "(", "!", "next", ")", "return", "0", ";", "pat", "=", "PATTERN", "(", "next", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "UNSPEC_VOLATILE", "&&", "XINT", "(", "pat", ",", "1", ")", "==", "UNSPECV_ALIGN", ")", "return", "0", ";", "if", "(", "optimize_size", ")", "return", "0", ";", "if", "(", "!", "TARGET_SH2", "||", "!", "optimize", ")", "return", "align_jumps_log", ";", "if", "(", "mdep_reorg_phase", ">", "SH_FIXUP_PCLOAD", ")", "{", "int", "slot", ",", "credit", ";", "bool", "jump_to_next", "=", "false", ";", "rtx_insn", "*", "prev", "=", "prev_real_insn", "(", "prev_active_insn", "(", "barrier_or_label", ")", ")", ";", "for", "(", "slot", "=", "2", ",", "credit", "=", "(", "1", "<<", "(", "CACHE_LOG", "-", "2", ")", ")", "+", "2", ";", "credit", ">=", "0", "&&", "prev", "&&", "NONJUMP_INSN_P", "(", "prev", ")", ";", "prev", "=", "prev_real_insn", "(", "prev", ")", ")", "{", "jump_to_next", "=", "false", ";", "if", "(", "GET_CODE", "(", "PATTERN", "(", "prev", ")", ")", "==", "USE", "||", "GET_CODE", "(", "PATTERN", "(", "prev", ")", ")", "==", "CLOBBER", ")", "continue", ";", "if", "(", "rtx_sequence", "*", "prev_seq", "=", "dyn_cast", "<", "rtx_sequence", "*", ">", "(", "PATTERN", "(", "prev", ")", ")", ")", "{", "prev", "=", "prev_seq", "->", "insn", "(", "1", ")", ";", "if", "(", "INSN_UID", "(", "prev", ")", "==", "INSN_UID", "(", "next", ")", ")", "{", "jump_to_next", "=", "true", ";", "continue", ";", "}", "}", "if", "(", "slot", "&&", "get_attr_in_delay_slot", "(", "prev", ")", "==", "IN_DELAY_SLOT_YES", ")", "slot", "=", "0", ";", "credit", "-=", "get_attr_length", "(", "prev", ")", ";", "}", "if", "(", "prev", "&&", "jump_to_label_p", "(", "prev", ")", ")", "{", "rtx_insn", "*", "x", ";", "if", "(", "jump_to_next", "||", "next_real_insn", "(", "JUMP_LABEL", "(", "prev", ")", ")", "==", "next", "||", "JUMP_LABEL", "(", "prev", ")", "==", "next_nonnote_insn", "(", "next", ")", "||", "(", "x", "=", "(", "NEXT_INSN", "(", "NEXT_INSN", "(", "PREV_INSN", "(", "prev", ")", ")", ")", ")", ",", "(", "INSN_P", "(", "x", ")", "&&", "(", "INSN_CODE", "(", "x", ")", "==", "CODE_FOR_block_branch_redirect", "||", "INSN_CODE", "(", "x", ")", "==", "CODE_FOR_indirect_jump_scratch", "||", "INSN_CODE", "(", "x", ")", "==", "CODE_FOR_stuff_delay_slot", ")", ")", ")", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "prev", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", ")", "pat", "=", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ";", "if", "(", "credit", "-", "slot", ">=", "(", "GET_CODE", "(", "SET_SRC", "(", "pat", ")", ")", "==", "PC", "?", "2", ":", "0", ")", ")", "return", "0", ";", "}", "}", "}", "return", "align_jumps_log", ";", "}", ""], "natrual_language": ["BARRIER_OR_LABEL", "is", "either", "a", "BARRIER", "or", "a", "CODE_LABEL", "immediately", "following", "a", "barrier", ".", "Return", "the", "base", "2", "logarithm", "of", "the", "desired", "alignment", "."], "TS_V_token": ["sh", "0", "2", "1", "1", "2", "1", "0", "1", "0", "0", "2", "1", "2", "2", "0", "1", "0", "0", "0", "2", "0", "0"], "File": "sh4", "Func": "barrier_align", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3924, "Length": 495, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_const_bounds", "(", "rtx", "operand", ",", "HOST_WIDE_INT", "low", ",", "HOST_WIDE_INT", "high", ")", "{", "bounds_check", "(", "operand", ",", "low", ",", "high", ",", "NULL_TREE", ",", "\"constant\"", ")", ";", "}", ""], "natrual_language": ["Bounds-check", "constants", "."], "TS_V_token": ["arm", "\"constant\""], "File": "arm", "Func": "arm_const_bounds", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3925, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "ARMBaseRegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "return", "&", "ARM", "::", "GPRRegClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["ARM", "ARM", "ARM::GPRRegClass"], "File": "ARMBaseRegisterInfo", "Func": "getPointerRegClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3926, "Length": 24, "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": ["DLX", "0"], "File": "DLXAsmParser", "Func": "addExpr", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3927, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_complex_function_value", "(", "enum", "machine_mode", "mode", ")", "{", "unsigned", "int", "regno", ";", "rtx", "r1", ",", "r2", ";", "enum", "machine_mode", "inner", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "unsigned", "int", "inner_bytes", "=", "GET_MODE_SIZE", "(", "inner", ")", ";", "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": "rs60003", "Func": "rs6000_complex_function_value", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3928, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CondBrTuning", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** AArch64 Conditional Branch Tuning **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "bool", "LocalChange", "=", "false", ";", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ".", "terminators", "(", ")", ")", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "AArch64", "::", "CBZW", ":", "case", "AArch64", "::", "CBZX", ":", "case", "AArch64", "::", "CBNZW", ":", "case", "AArch64", "::", "CBNZX", ":", "case", "AArch64", "::", "TBZW", ":", "case", "AArch64", "::", "TBZX", ":", "case", "AArch64", "::", "TBNZW", ":", "case", "AArch64", "::", "TBNZX", ":", "MachineInstr", "*", "DefMI", "=", "getOperandDef", "(", "MI", ".", "getOperand", "(", "0", ")", ")", ";", "LocalChange", "=", "(", "DefMI", "&&", "tryToTuneBranch", "(", "MI", ",", "*", "DefMI", ")", ")", ";", "break", ";", "}", "if", "(", "LocalChange", ")", "{", "Changed", "=", "true", ";", "break", ";", "}", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"********** AArch64 Conditional Branch Tuning **********\\n\"", "\"********** Function: \"", "AArch64", "AArch64::CBZW", "AArch64::CBZX", "AArch64::CBNZW", "AArch64::CBNZX", "AArch64::TBZW", "AArch64::TBZX", "AArch64::TBNZW", "AArch64::TBNZX", "0"], "File": "AArch64CondBrTuning1", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3929, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "build_vs_index", "(", "function_builder", "&", "b", ",", "const", "char", "*", "signature", ",", "const", "function_group_info", "&", "group", ",", "bool", "force_direct_overloads", "=", "false", ")", "{", "build_32_64", "(", "b", ",", "signature", ",", "group", ",", "MODE_u32base_index", ",", "MODE_u64base_index", ",", "force_direct_overloads", ")", ";", "}", ""], "natrual_language": ["Like", "build_v_base", ",", "but", "for", "functions", "that", "also", "take", "a", "scalar", "array", "index", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins-shapes", "Func": "build_vs_index", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3930, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "SDValue", "matchBinOpReduction", "(", "SDNode", "*", "Extract", ",", "unsigned", "&", "BinOp", ",", "ArrayRef", "<", "ISD", "::", "NodeType", ">", "CandidateBinOps", ")", "{", "if", "(", "(", "Extract", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "EXTRACT_VECTOR_ELT", ")", "||", "!", "isNullConstant", "(", "Extract", "->", "getOperand", "(", "1", ")", ")", ")", "return", "SDValue", "(", ")", ";", "SDValue", "Op", "=", "Extract", "->", "getOperand", "(", "0", ")", ";", "unsigned", "Stages", "=", "Log2_32", "(", "Op", ".", "getValueType", "(", ")", ".", "getVectorNumElements", "(", ")", ")", ";", "if", "(", "llvm", "::", "none_of", "(", "CandidateBinOps", ",", "[", "Op", "]", "(", "ISD", "::", "NodeType", "BinOp", ")", "{", "return", "Op", ".", "getOpcode", "(", ")", "==", "unsigned", "(", "BinOp", ")", ";", "}", ")", ")", "return", "SDValue", "(", ")", ";", "unsigned", "CandidateBinOp", "=", "Op", ".", "getOpcode", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Stages", ";", "++", "i", ")", "{", "if", "(", "Op", ".", "getOpcode", "(", ")", "!=", "CandidateBinOp", ")", "return", "SDValue", "(", ")", ";", "ShuffleVectorSDNode", "*", "Shuffle", "=", "dyn_cast", "<", "ShuffleVectorSDNode", ">", "(", "Op", ".", "getOperand", "(", "0", ")", ".", "getNode", "(", ")", ")", ";", "if", "(", "Shuffle", ")", "{", "Op", "=", "Op", ".", "getOperand", "(", "1", ")", ";", "}", "else", "{", "Shuffle", "=", "dyn_cast", "<", "ShuffleVectorSDNode", ">", "(", "Op", ".", "getOperand", "(", "1", ")", ".", "getNode", "(", ")", ")", ";", "Op", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "}", "if", "(", "!", "Shuffle", "||", "Shuffle", "->", "getOperand", "(", "0", ")", "!=", "Op", ")", "return", "SDValue", "(", ")", ";", "for", "(", "int", "Index", "=", "0", ",", "MaskEnd", "=", "1", "<<", "i", ";", "Index", "<", "MaskEnd", ";", "++", "Index", ")", "if", "(", "Shuffle", "->", "getMaskElt", "(", "Index", ")", "!=", "MaskEnd", "+", "Index", ")", "return", "SDValue", "(", ")", ";", "}", "BinOp", "=", "CandidateBinOp", ";", "return", "Op", ";", "}", ""], "natrual_language": ["Match", "a", "binop", "+", "shuffle", "pyramid", "that", "represents", "a", "horizontal", "reduction", "over", "the", "elements", "of", "a", "vector", "starting", "from", "the", "EXTRACT_VECTOR_ELT", "node", "/p", "Extract", "."], "TS_V_token": ["X86", "ISD::NodeType", "ISD::EXTRACT_VECTOR_ELT", "1", "0", "ISD::NodeType", "0", "0", "1", "1", "0", "0", "0", "1"], "File": "X86ISelLowering102", "Func": "matchBinOpReduction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3931, "Length": 287, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "aarch64_resolve_overloaded_builtin_general", "(", "location_t", "loc", ",", "tree", "function", ",", "void", "*", "pass_params", ")", "{", "unsigned", "int", "fcode", "=", "AARCH64_BUILTIN_SUBCODE", "(", "function", ")", ";", "if", "(", "fcode", ">=", "AARCH64_MEMTAG_BUILTIN_START", "&&", "fcode", "<=", "AARCH64_MEMTAG_BUILTIN_END", ")", "return", "aarch64_resolve_overloaded_memtag", "(", "loc", ",", "function", ",", "pass_params", ")", ";", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Called", "at", "aarch64_resolve_overloaded_builtin", "in", "aarch64-c.cc", "."], "TS_V_token": ["aarch64"], "File": "aarch64-builtins", "Func": "aarch64_resolve_overloaded_builtin_general", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3932, "Length": 47, "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": 3933, "Length": 310, "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", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Cpu0", "Cpu0", "ISD::BRCOND", "ISD::GlobalAddress"], "File": "Cpu0ISelLowering2", "Func": "LowerOperation", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3934, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86RegisterInfo", "::", "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": ["X86", "X86"], "File": "X86RegisterInfo31", "Func": "hasReservedCallFrame", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3935, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_costly_group", "(", "rtx", "*", "group_insns", ",", "rtx", "next_insn", ")", "{", "int", "i", ";", "rtx", "link", ";", "int", "cost", ";", "int", "issue_rate", "=", "rs6000_issue_rate", "(", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "issue_rate", ";", "i", "++", ")", "{", "rtx", "insn", "=", "group_insns", "[", "i", "]", ";", "if", "(", "!", "insn", ")", "continue", ";", "for", "(", "link", "=", "INSN_DEPEND", "(", "insn", ")", ";", "link", "!=", "0", ";", "link", "=", "XEXP", "(", "link", ",", "1", ")", ")", "{", "rtx", "next", "=", "XEXP", "(", "link", ",", "0", ")", ";", "if", "(", "next", "==", "next_insn", ")", "{", "cost", "=", "insn_cost", "(", "insn", ",", "link", ",", "next_insn", ")", ";", "if", "(", "rs6000_is_costly_dependence", "(", "insn", ",", "next_insn", ",", "link", ",", "cost", ",", "0", ")", ")", "return", "true", ";", "}", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "recommended", "to", "keep", "NEXT_INSN", "``", "far", "''", "(", "in", "a", "separate", "dispatch", "group", ")", "from", "the", "insns", "in", "GROUP_INSNS", ".", "Return", "false", "otherwise", "."], "TS_V_token": ["rs6000", "0", "0", "1", "0", "0"], "File": "rs60003", "Func": "is_costly_group", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3936, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "size_type", "size", "(", ")", "const", "{", "return", "V", ".", "size", "(", ")", ";", "}", ""], "natrual_language": ["The", "number", "of", "name/type", "pairs", "is", "returned", "."], "TS_V_token": ["X86"], "File": "ImmutableGraph", "Func": "size", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3937, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "loongarch_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": ["loongarch"], "File": "loongarch", "Func": "loongarch_va_start", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3938, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "std", "::", "string", "NewOpcode", ";", "if", "(", "parseOptionalToken", "(", "AsmToken", "::", "Plus", ")", ")", "{", "NewOpcode", "=", "std", "::", "string", "(", "Name", ")", ";", "NewOpcode", "+=", "'+'", ";", "Name", "=", "NewOpcode", ";", "}", "if", "(", "parseOptionalToken", "(", "AsmToken", "::", "Minus", ")", ")", "{", "NewOpcode", "=", "std", "::", "string", "(", "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", "(", "parseOptionalToken", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "return", "false", ";", "if", "(", "ParseOperand", "(", "Operands", ")", ")", "return", "true", ";", "while", "(", "!", "parseOptionalToken", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "parseToken", "(", "AsmToken", "::", "Comma", ")", "||", "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", "]", ")", ";", "}", "if", "(", "Name", "==", "\"lqarx\"", "||", "Name", "==", "\"ldarx\"", "||", "Name", "==", "\"lwarx\"", "||", "Name", "==", "\"lharx\"", "||", "Name", "==", "\"lbarx\"", ")", "{", "if", "(", "Operands", ".", "size", "(", ")", "!=", "5", ")", "return", "false", ";", "PPCOperand", "&", "EHOp", "=", "(", "PPCOperand", "&", ")", "*", "Operands", "[", "4", "]", ";", "if", "(", "EHOp", ".", "isU1Imm", "(", ")", "&&", "EHOp", ".", "getImm", "(", ")", "==", "0", ")", "Operands", ".", "pop_back", "(", ")", ";", "}", "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", "\"lqarx\"", "\"ldarx\"", "\"lwarx\"", "\"lharx\"", "\"lbarx\"", "5", "PPC", "PPC", "4", "0"], "File": "PPCAsmParser12", "Func": "ParseInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3939, "Length": 428, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_call_darwin_1", "(", "rtx", "value", ",", "rtx", "func_desc", ",", "rtx", "tlsarg", ",", "rtx", "cookie", ",", "bool", "sibcall", ")", "{", "rtx", "func", "=", "func_desc", ";", "rtx", "func_addr", ";", "rtx", "call", "[", "3", "]", ";", "rtx", "insn", ";", "int", "cookie_val", "=", "INTVAL", "(", "cookie", ")", ";", "bool", "make_island", "=", "false", ";", "if", "(", "(", "cookie_val", "&", "CALL_LONG", ")", "!=", "0", "&&", "GET_CODE", "(", "func_desc", ")", "==", "SYMBOL_REF", ")", "{", "if", "(", "darwin_symbol_stubs", "&&", "TARGET_32BIT", ")", "make_island", "=", "true", ";", "else", "{", "func", "=", "rs6000_longcall_ref", "(", "func_desc", ",", "NULL_RTX", ")", ";", "cookie_val", "&=", "~", "CALL_LONG", ";", "}", "}", "if", "(", "GET_CODE", "(", "func", ")", "!=", "SYMBOL_REF", ")", "{", "func", "=", "force_reg", "(", "Pmode", ",", "func", ")", ";", "func_addr", "=", "gen_rtx_REG", "(", "Pmode", ",", "CTR_REGNO", ")", ";", "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", ",", "GEN_INT", "(", "cookie_val", ")", ")", ";", "if", "(", "sibcall", ")", "call", "[", "2", "]", "=", "simple_return_rtx", ";", "else", "call", "[", "2", "]", "=", "gen_hard_reg_clobber", "(", "Pmode", ",", "LR_REGNO", ")", ";", "insn", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec_v", "(", "3", ",", "call", ")", ")", ";", "insn", "=", "emit_call_insn", "(", "insn", ")", ";", "if", "(", "make_island", ")", "{", "tree", "funname", "=", "get_identifier", "(", "XSTR", "(", "func_desc", ",", "0", ")", ")", ";", "if", "(", "no_previous_def", "(", "funname", ")", ")", "{", "rtx", "label_rtx", "=", "gen_label_rtx", "(", ")", ";", "char", "*", "label_buf", ",", "temp_buf", "[", "256", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "temp_buf", ",", "\"L\"", ",", "CODE_LABEL_NUMBER", "(", "label_rtx", ")", ")", ";", "label_buf", "=", "temp_buf", "[", "0", "]", "==", "'*'", "?", "temp_buf", "+", "1", ":", "temp_buf", ";", "tree", "labelname", "=", "get_identifier", "(", "label_buf", ")", ";", "add_compiler_branch_island", "(", "labelname", ",", "funname", ",", "insn_line", "(", "(", "const", "rtx_insn", "*", ")", "insn", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["Expand", "code", "to", "perform", "a", "call", "under", "the", "Darwin", "ABI", ".", "Modulo", "handling", "of", "mlongcall", ",", "this", "is", "much", "the", "same", "as", "sysv", ".", "if/when", "the", "longcall", "optimisation", "is", "removed", ",", "we", "could", "drop", "this", "code", "and", "use", "the", "sysv", "case", "(", "taking", "care", "to", "avoid", "the", "tls", "stuff", ")", ".", "We", "can", "use", "this", "for", "sibcalls", "too", ",", "if", "needed", "."], "TS_V_token": ["rs6000", "3", "0", "0", "0", "0", "1", "2", "2", "3", "0", "256", "\"L\"", "0", "1"], "File": "rs6000", "Func": "rs6000_call_darwin_1", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3940, "Length": 333, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "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": ["PowerPC"], "File": "PPCTargetTransformInfo (2)", "Func": "getAdjustedAnalysisPointer", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3941, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "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": ["X86", "X86"], "File": "X86TargetMachine114", "Func": "addIRTranslator", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3942, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isFMAFasterThanFMulAndFAdd", "(", "EVT", "VT", ")", "const", "{", "VT", "=", "VT", ".", "getScalarType", "(", ")", ";", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "case", "MVT", "::", "f32", ":", "case", "MVT", "::", "f64", ":", "return", "true", ";", "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": ["AArch64", "AArch64", "MVT::f32", "MVT::f64"], "File": "AArch64ISelLowering (2)", "Func": "isFMAFasterThanFMulAndFAdd", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3943, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_popcount", "(", "rtx", "dst", ",", "rtx", "src", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "dst", ")", ";", "rtx", "tmp1", ",", "tmp2", ";", "if", "(", "TARGET_POPCNTD", ")", "{", "if", "(", "mode", "==", "SImode", ")", "emit_insn", "(", "gen_popcntdsi2", "(", "dst", ",", "src", ")", ")", ";", "else", "emit_insn", "(", "gen_popcntddi2", "(", "dst", ",", "src", ")", ")", ";", "return", ";", "}", "tmp1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "if", "(", "mode", "==", "SImode", ")", "{", "emit_insn", "(", "gen_popcntbsi2", "(", "tmp1", ",", "src", ")", ")", ";", "tmp2", "=", "expand_mult", "(", "SImode", ",", "tmp1", ",", "GEN_INT", "(", "0x01010101", ")", ",", "NULL_RTX", ",", "0", ")", ";", "tmp2", "=", "force_reg", "(", "SImode", ",", "tmp2", ")", ";", "emit_insn", "(", "gen_lshrsi3", "(", "dst", ",", "tmp2", ",", "GEN_INT", "(", "24", ")", ")", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_popcntbdi2", "(", "tmp1", ",", "src", ")", ")", ";", "tmp2", "=", "expand_mult", "(", "DImode", ",", "tmp1", ",", "GEN_INT", "(", "(", "HOST_WIDE_INT", ")", "0x01010101", "<<", "32", "|", "0x01010101", ")", ",", "NULL_RTX", ",", "0", ")", ";", "tmp2", "=", "force_reg", "(", "DImode", ",", "tmp2", ")", ";", "emit_insn", "(", "gen_lshrdi3", "(", "dst", ",", "tmp2", ",", "GEN_INT", "(", "56", ")", ")", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "popcount", "intrinsic", "on", "TARGET_POPCNTB", "(", "Power5", ")", "and", "TARGET_POPCNTD", "(", "Power7", ")", "targets", ".", "DST", "is", "the", "target", ",", "and", "SRC", "is", "the", "argument", "operand", "."], "TS_V_token": ["powerpcspe", "0x01010101", "0", "24", "0x01010101", "32", "0x01010101", "0", "56"], "File": "powerpcspe", "Func": "rs6000_emit_popcount", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3944, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addPreSched2", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createARMLoadStoreOptimizationPass", "(", ")", ")", ";", "if", "(", "getARMSubtarget", "(", ")", ".", "hasNEON", "(", ")", ")", "addPass", "(", "createExecutionDependencyFixPass", "(", "&", "ARM", "::", "DPRRegClass", ")", ")", ";", "}", "addPass", "(", "createARMExpandPseudoPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "!", "getARMSubtarget", "(", ")", ".", "isThumb1Only", "(", ")", ")", "{", "if", "(", "getARMSubtarget", "(", ")", ".", "restrictIT", "(", ")", "&&", "!", "getARMSubtarget", "(", ")", ".", "prefers32BitThumb", "(", ")", ")", "addPass", "(", "createThumb2SizeReductionPass", "(", ")", ")", ";", "addPass", "(", "&", "IfConverterID", ")", ";", "}", "}", "if", "(", "getARMSubtarget", "(", ")", ".", "isThumb2", "(", ")", ")", "addPass", "(", "createThumb2ITBlockPass", "(", ")", ")", ";", "}", ""], "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::DPRRegClass", "ARM", "ARM", "ARM", "ARM", "ARM"], "File": "ARMTargetMachine25", "Func": "addPreSched2", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3945, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_pass_by_reference", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "if", "(", "(", "type", "&&", "POINTER_BOUNDS_TYPE_P", "(", "type", ")", ")", "||", "POINTER_BOUNDS_MODE_P", "(", "mode", ")", ")", "return", "false", ";", "if", "(", "TARGET_64BIT", "&&", "(", "cum", "?", "cum", "->", "call_abi", ":", "ix86_abi", ")", "==", "MS_ABI", ")", "{", "int", "msize", "=", "(", "int", ")", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "type", ")", "{", "if", "(", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", ")", "return", "true", ";", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "msize", "=", "int_size_in_bytes", "(", "type", ")", ";", "}", "}", "switch", "(", "msize", ")", "{", "case", "1", ":", "case", "2", ":", "case", "4", ":", "case", "8", ":", "break", ";", "default", ":", "return", "true", ";", "}", "}", "else", "if", "(", "TARGET_64BIT", "&&", "type", "&&", "int_size_in_bytes", "(", "type", ")", "==", "-", "1", ")", "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", "."], "TS_V_token": ["i386", "1", "2", "4", "8", "1", "1", "0"], "File": "i3864", "Func": "ix86_pass_by_reference", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3946, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "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"], "File": "X86TargetMachine84", "Func": "addPreRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3947, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "isCopyInstr", "(", "const", "MachineInstr", "&", "MI", ",", "MachineOperand", "&", "Src", ",", "MachineOperand", "&", "Dest", ")", "const", "{", "if", "(", "MI", ".", "isMoveReg", "(", ")", ")", "{", "Dest", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "Src", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "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": "X86InstrInfo42", "Func": "isCopyInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3948, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_sve_float_mul_immediate_p", "(", "rtx", "x", ")", "{", "rtx", "elt", ";", "return", "(", "const_vec_duplicate_p", "(", "x", ",", "&", "elt", ")", "&&", "GET_CODE", "(", "elt", ")", "==", "CONST_DOUBLE", "&&", "(", "real_equal", "(", "CONST_DOUBLE_REAL_VALUE", "(", "elt", ")", ",", "&", "dconsthalf", ")", "||", "real_equal", "(", "CONST_DOUBLE_REAL_VALUE", "(", "elt", ")", ",", "&", "dconst2", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "valid", "immediate", "operand", "for", "an", "SVE", "FMUL", "instruction", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_sve_float_mul_immediate_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3949, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCPostRASchedStrategy", "::", "leaveMBB", "(", ")", "{", "PostGenericScheduler", "::", "leaveMBB", "(", ")", ";", "}", ""], "natrual_language": ["Tell", "the", "strategy", "that", "current", "MBB", "is", "done", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCMachineScheduler", "Func": "leaveMBB", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3950, "Length": 14, "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", ")", "{", "Register", "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": "MipsSEFrameLowering (2)1", "Func": "spillCalleeSavedRegisters", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3951, "Length": 317, "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": ["Mips"], "File": "MipsMCExpr13", "Func": "findAssociatedFragment", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3952, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "prefixed_paddi_p", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "!", "set", ")", "return", "false", ";", "rtx", "dest", "=", "SET_DEST", "(", "set", ")", ";", "rtx", "src", "=", "SET_SRC", "(", "set", ")", ";", "if", "(", "!", "REG_P", "(", "dest", ")", "&&", "!", "SUBREG_P", "(", "dest", ")", ")", "return", "false", ";", "if", "(", "CONST_INT_P", "(", "src", ")", ")", "return", "(", "satisfies_constraint_eI", "(", "src", ")", "&&", "!", "satisfies_constraint_I", "(", "src", ")", "&&", "!", "satisfies_constraint_L", "(", "src", ")", ")", ";", "if", "(", "GET_CODE", "(", "src", ")", "==", "PLUS", ")", "{", "rtx", "op1", "=", "XEXP", "(", "src", ",", "1", ")", ";", "return", "(", "CONST_INT_P", "(", "op1", ")", "&&", "satisfies_constraint_eI", "(", "op1", ")", "&&", "!", "satisfies_constraint_I", "(", "op1", ")", "&&", "!", "satisfies_constraint_L", "(", "op1", ")", ")", ";", "}", "if", "(", "!", "TARGET_PCREL", "||", "GET_MODE", "(", "dest", ")", "!=", "Pmode", ")", "return", "false", ";", "if", "(", "!", "SYMBOL_REF_P", "(", "src", ")", "&&", "!", "LABEL_REF_P", "(", "src", ")", "&&", "GET_CODE", "(", "src", ")", "!=", "CONST", ")", "return", "false", ";", "enum", "insn_form", "iform", "=", "address_to_insn_form", "(", "src", ",", "Pmode", ",", "NON_PREFIXED_DEFAULT", ")", ";", "return", "(", "iform", "==", "INSN_FORM_PCREL_EXTERNAL", "||", "iform", "==", "INSN_FORM_PCREL_LOCAL", ")", ";", "}", ""], "natrual_language": ["Whether", "a", "load", "immediate", "or", "add", "instruction", "is", "a", "prefixed", "instruction", ".", "This", "is", "called", "from", "the", "prefixed", "attribute", "processing", "."], "TS_V_token": ["rs6000", "1"], "File": "rs6000", "Func": "prefixed_paddi_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3953, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "iq2000_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": ["Worker", "function", "for", "TARGET_RETURN_IN_MEMORY", "."], "TS_V_token": ["iq2000", "2", "1"], "File": "iq2000", "Func": "iq2000_return_in_memory", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3954, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "A57ChainingConstraint", "::", "apply", "(", "PBQPRAGraph", "&", "G", ")", "{", "const", "MachineFunction", "&", "MF", "=", "G", ".", "getMetadata", "(", ")", ".", "MF", ";", "LiveIntervals", "&", "LIs", "=", "G", ".", "getMetadata", "(", ")", ".", "LIS", ";", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "DEBUG", "(", "MF", ".", "dump", "(", ")", ")", ";", "for", "(", "const", "auto", "&", "MBB", ":", "MF", ")", "{", "Chains", ".", "clear", "(", ")", ";", "for", "(", "const", "auto", "&", "MI", ":", "MBB", ")", "{", "for", "(", "auto", "r", ":", "Chains", ")", "{", "SmallVector", "<", "unsigned", ",", "8", ">", "toDel", ";", "if", "(", "regJustKilledBefore", "(", "LIs", ",", "r", ",", "MI", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Killing chain \"", "<<", "printReg", "(", "r", ",", "TRI", ")", "<<", "\" at \"", ";", "MI", ".", "print", "(", "dbgs", "(", ")", ")", ";", ")", ";", "toDel", ".", "push_back", "(", "r", ")", ";", "}", "while", "(", "!", "toDel", ".", "empty", "(", ")", ")", "{", "Chains", ".", "remove", "(", "toDel", ".", "back", "(", ")", ")", ";", "toDel", ".", "pop_back", "(", ")", ";", "}", "}", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "AArch64", "::", "FMSUBSrrr", ":", "case", "AArch64", "::", "FMADDSrrr", ":", "case", "AArch64", "::", "FNMSUBSrrr", ":", "case", "AArch64", "::", "FNMADDSrrr", ":", "case", "AArch64", "::", "FMSUBDrrr", ":", "case", "AArch64", "::", "FMADDDrrr", ":", "case", "AArch64", "::", "FNMSUBDrrr", ":", "case", "AArch64", "::", "FNMADDDrrr", ":", "{", "unsigned", "Rd", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "unsigned", "Ra", "=", "MI", ".", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", ";", "if", "(", "addIntraChainConstraint", "(", "G", ",", "Rd", ",", "Ra", ")", ")", "addInterChainConstraint", "(", "G", ",", "Rd", ",", "Ra", ")", ";", "break", ";", "}", "case", "AArch64", "::", "FMLAv2f32", ":", "case", "AArch64", "::", "FMLSv2f32", ":", "{", "unsigned", "Rd", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "addInterChainConstraint", "(", "G", ",", "Rd", ",", "Rd", ")", ";", "break", ";", "}", "default", ":", "break", ";", "}", "}", "}", "}", ""], "natrual_language": ["Apply", "the", "profile", "inference", "algorithm", "for", "a", "given", "function", "."], "TS_V_token": ["AArch64", "8", "\"Killing chain \"", "\" at \"", "AArch64::FMSUBSrrr", "AArch64::FMADDSrrr", "AArch64::FNMSUBSrrr", "AArch64::FNMADDSrrr", "AArch64::FMSUBDrrr", "AArch64::FMADDDrrr", "AArch64::FNMSUBDrrr", "AArch64::FNMADDDrrr", "0", "3", "AArch64::FMLAv2f32", "AArch64::FMLSv2f32", "0"], "File": "AArch64PBQPRegAlloc11", "Func": "apply", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3955, "Length": 321, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZPostRASchedStrategy", "::", "enterMBB", "(", "MachineBasicBlock", "*", "NextMBB", ")", "{", "assert", "(", "(", "SchedStates", ".", "find", "(", "NextMBB", ")", "==", "SchedStates", ".", "end", "(", ")", ")", "&&", "\"Entering MBB twice?\"", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"+++ Entering \"", "<<", "printMBBReference", "(", "*", "NextMBB", ")", ")", ";", "MBB", "=", "NextMBB", ";", "HazardRec", "=", "SchedStates", "[", "MBB", "]", "=", "new", "SystemZHazardRecognizer", "(", "TII", ",", "&", "SchedModel", ")", ";", "DEBUG", "(", "const", "MachineLoop", "*", "Loop", "=", "MLI", "->", "getLoopFor", "(", "MBB", ")", ";", "if", "(", "Loop", "&&", "Loop", "->", "getHeader", "(", ")", "==", "MBB", ")", "dbgs", "(", ")", "<<", "\" (Loop header)\"", ";", "dbgs", "(", ")", "<<", "\":\\n\"", ";", ")", ";", "MachineBasicBlock", "*", "SinglePredMBB", "=", "getSingleSchedPred", "(", "MBB", ",", "MLI", "->", "getLoopFor", "(", "MBB", ")", ")", ";", "if", "(", "SinglePredMBB", "==", "nullptr", "||", "SchedStates", ".", "find", "(", "SinglePredMBB", ")", "==", "SchedStates", ".", "end", "(", ")", ")", "return", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"+++ Continued scheduling from \"", "<<", "printMBBReference", "(", "*", "SinglePredMBB", ")", "<<", "\"\\n\"", ";", ")", ";", "HazardRec", "->", "copyState", "(", "SchedStates", "[", "SinglePredMBB", "]", ")", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "SinglePredMBB", "->", "getFirstTerminator", "(", ")", ";", "I", "!=", "SinglePredMBB", "->", "end", "(", ")", ";", "I", "++", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"+++ Emitting incoming branch: \"", ";", "I", "->", "dump", "(", ")", ";", ")", ";", "bool", "TakenBranch", "=", "(", "I", "->", "isBranch", "(", ")", "&&", "(", "TII", "->", "getBranchInfo", "(", "*", "I", ")", ".", "Target", "->", "isReg", "(", ")", "||", "TII", "->", "getBranchInfo", "(", "*", "I", ")", ".", "Target", "->", "getMBB", "(", ")", "==", "MBB", ")", ")", ";", "HazardRec", "->", "emitInstruction", "(", "&", "*", "I", ",", "TakenBranch", ")", ";", "if", "(", "TakenBranch", ")", "break", ";", "}", "}", ""], "natrual_language": ["Tell", "the", "strategy", "that", "MBB", "is", "about", "to", "be", "processed", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"Entering MBB twice?\"", "\"+++ Entering \"", "SystemZ", "\" (Loop header)\"", "\":\\n\"", "\"+++ Continued scheduling from \"", "\"\\n\"", "\"+++ Emitting incoming branch: \""], "File": "SystemZMachineScheduler14", "Func": "enterMBB", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3956, "Length": 273, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emitSPUpdate", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "const", "TargetInstrInfo", "&", "TII", ",", "DebugLoc", "dl", ",", "const", "ThumbRegisterInfo", "&", "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 (2)", "Func": "emitSPUpdate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3957, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isTarget64BitLP64", "(", ")", "const", "{", "return", "In64BitMode", "&&", "(", "TargetTriple", ".", "getEnvironment", "(", ")", "!=", "Triple", "::", "GNUX32", ")", ";", "}", ""], "natrual_language": ["Is", "this", "x86_64", "with", "the", "LP64", "programming", "model", "(", "standard", "AMD64", ",", "no", "x32", ")", "?"], "TS_V_token": ["X86"], "File": "X86Subtarget1", "Func": "isTarget64BitLP64", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3958, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "unsigned", "*", "PPCRegisterInfo", "::", "getCallPreservedMask", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "if", "(", "Subtarget", ".", "isDarwinABI", "(", ")", ")", "return", "Subtarget", ".", "isPPC64", "(", ")", "?", "CSR_Darwin64_RegMask", ":", "CSR_Darwin32_RegMask", ";", "return", "Subtarget", ".", "isPPC64", "(", ")", "?", "CSR_SVR464_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"], "File": "PPCRegisterInfo25", "Func": "getCallPreservedMask", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3959, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "X86", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"reloc_riprel_4byte\"", ",", "0", ",", "4", "*", "8", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_riprel_4byte_movq_load\"", ",", "0", ",", "4", "*", "8", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_signed_4byte\"", ",", "0", ",", "4", "*", "8", ",", "0", "}", ",", "{", "\"reloc_global_offset_table\"", ",", "0", ",", "4", "*", "8", ",", "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": ["X86", "X86::NumTargetFixupKinds", "\"reloc_riprel_4byte\"", "0", "4", "8", "\"reloc_riprel_4byte_movq_load\"", "0", "4", "8", "\"reloc_signed_4byte\"", "0", "4", "8", "0", "\"reloc_global_offset_table\"", "0", "4", "8", "0", "\"Invalid kind!\""], "File": "X86AsmBackend20", "Func": "getFixupKindInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3960, "Length": 113, "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", ";", "auto", "DL", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getDataLayout", "(", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "ArgInfos", ";", "unsigned", "Idx", "=", "0", ";", "for", "(", "auto", "&", "Arg", ":", "F", ".", "getArgumentList", "(", ")", ")", "{", "ArgInfo", "AInfo", "(", "VRegs", "[", "Idx", "]", ",", "Arg", ".", "getType", "(", ")", ")", ";", "setArgFlags", "(", "AInfo", ",", "Idx", "+", "1", ",", "DL", ",", "F", ")", ";", "ArgInfos", ".", "push_back", "(", "AInfo", ")", ";", "Idx", "++", ";", "}", "FormalArgHandler", "ArgHandler", "(", "MIRBuilder", ",", "MIRBuilder", ".", "getMF", "(", ")", ".", "getRegInfo", "(", ")", ",", "CC_X86", ",", "DL", ")", ";", "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": ["X86", "X86", "8", "0", "1", "X86"], "File": "X86CallLowering8", "Func": "lowerFormalArguments", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3961, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_setup_reg_addr_masks", "(", "void", ")", "{", "ssize_t", "rc", ",", "reg", ",", "m", ",", "nregs", ";", "addr_mask_type", "any_addr_mask", ",", "addr_mask", ";", "for", "(", "m", "=", "0", ";", "m", "<", "NUM_MACHINE_MODES", ";", "++", "m", ")", "{", "machine_mode", "m2", "=", "(", "machine_mode", ")", "m", ";", "bool", "complex_p", "=", "false", ";", "bool", "small_int_p", "=", "(", "m2", "==", "QImode", "||", "m2", "==", "HImode", "||", "m2", "==", "SImode", ")", ";", "size_t", "msize", ";", "if", "(", "COMPLEX_MODE_P", "(", "m2", ")", ")", "{", "complex_p", "=", "true", ";", "m2", "=", "GET_MODE_INNER", "(", "m2", ")", ";", "}", "msize", "=", "GET_MODE_SIZE", "(", "m2", ")", ";", "bool", "indexed_only_p", "=", "(", "m", "==", "SDmode", "&&", "TARGET_NO_SDMODE_STACK", ")", ";", "any_addr_mask", "=", "0", ";", "for", "(", "rc", "=", "FIRST_RELOAD_REG_CLASS", ";", "rc", "<=", "LAST_RELOAD_REG_CLASS", ";", "rc", "++", ")", "{", "addr_mask", "=", "0", ";", "reg", "=", "reload_reg_map", "[", "rc", "]", ".", "reg", ";", "if", "(", "reg", ">=", "0", "&&", "rs6000_hard_regno_mode_ok_p", "[", "m", "]", "[", "reg", "]", ")", "{", "bool", "small_int_vsx_p", "=", "(", "small_int_p", "&&", "(", "rc", "==", "RELOAD_REG_FPR", "||", "rc", "==", "RELOAD_REG_VMX", ")", ")", ";", "nregs", "=", "rs6000_hard_regno_nregs", "[", "m", "]", "[", "reg", "]", ";", "addr_mask", "|=", "RELOAD_REG_VALID", ";", "if", "(", "small_int_vsx_p", ")", "addr_mask", "|=", "RELOAD_REG_INDEXED", ";", "else", "if", "(", "nregs", ">", "1", "||", "m", "==", "BLKmode", "||", "complex_p", ")", "addr_mask", "|=", "RELOAD_REG_MULTIPLE", ";", "else", "addr_mask", "|=", "RELOAD_REG_INDEXED", ";", "if", "(", "TARGET_UPDATE", "&&", "(", "rc", "==", "RELOAD_REG_GPR", "||", "rc", "==", "RELOAD_REG_FPR", ")", "&&", "msize", "<=", "8", "&&", "!", "VECTOR_MODE_P", "(", "m2", ")", "&&", "!", "FLOAT128_VECTOR_P", "(", "m2", ")", "&&", "!", "complex_p", "&&", "(", "m", "!=", "E_DFmode", "||", "!", "TARGET_VSX", ")", "&&", "(", "m", "!=", "E_SFmode", "||", "!", "TARGET_P8_VECTOR", ")", "&&", "!", "small_int_vsx_p", ")", "{", "addr_mask", "|=", "RELOAD_REG_PRE_INCDEC", ";", "switch", "(", "m", ")", "{", "default", ":", "addr_mask", "|=", "RELOAD_REG_PRE_MODIFY", ";", "break", ";", "case", "E_DImode", ":", "if", "(", "TARGET_POWERPC64", ")", "addr_mask", "|=", "RELOAD_REG_PRE_MODIFY", ";", "break", ";", "case", "E_DFmode", ":", "case", "E_DDmode", ":", "if", "(", "TARGET_DF_INSN", ")", "addr_mask", "|=", "RELOAD_REG_PRE_MODIFY", ";", "break", ";", "}", "}", "}", "if", "(", "(", "addr_mask", "!=", "0", ")", "&&", "!", "indexed_only_p", "&&", "msize", "<=", "8", "&&", "(", "rc", "==", "RELOAD_REG_GPR", "||", "(", "(", "msize", "==", "8", "||", "m2", "==", "SFmode", ")", "&&", "(", "rc", "==", "RELOAD_REG_FPR", "||", "(", "rc", "==", "RELOAD_REG_VMX", "&&", "TARGET_P9_VECTOR", ")", ")", ")", ")", ")", "addr_mask", "|=", "RELOAD_REG_OFFSET", ";", "else", "if", "(", "(", "addr_mask", "!=", "0", ")", "&&", "!", "indexed_only_p", "&&", "msize", "==", "16", "&&", "TARGET_P9_VECTOR", "&&", "(", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "m2", ")", "||", "(", "m2", "==", "TImode", "&&", "TARGET_VSX", ")", ")", ")", "{", "addr_mask", "|=", "RELOAD_REG_OFFSET", ";", "if", "(", "rc", "==", "RELOAD_REG_FPR", "||", "rc", "==", "RELOAD_REG_VMX", ")", "addr_mask", "|=", "RELOAD_REG_QUAD_OFFSET", ";", "}", "if", "(", "rc", "==", "RELOAD_REG_VMX", "&&", "msize", "==", "16", "&&", "(", "addr_mask", "&", "RELOAD_REG_VALID", ")", "!=", "0", ")", "addr_mask", "|=", "RELOAD_REG_AND_M16", ";", "reg_addr", "[", "m", "]", ".", "addr_mask", "[", "rc", "]", "=", "addr_mask", ";", "any_addr_mask", "|=", "addr_mask", ";", "}", "reg_addr", "[", "m", "]", ".", "addr_mask", "[", "RELOAD_REG_ANY", "]", "=", "any_addr_mask", ";", "}", "}", ""], "natrual_language": ["Update", "the", "addr", "mask", "bits", "in", "reg_addr", "to", "help", "secondary", "reload", "and", "go", "if", "legitimate", "address", "support", "to", "figure", "out", "the", "appropriate", "addressing", "to", "use", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "1", "8", "0", "8", "8", "0", "16", "16", "0"], "File": "rs60007", "Func": "rs6000_setup_reg_addr_masks", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3962, "Length": 474, "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": 3963, "Length": 484, "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", "(", "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": "rs60005", "Func": "rs6000_complex_function_value", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3964, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "AArch64NamedImmMapper", "::", "toString", "(", "uint32_t", "Value", ",", "const", "FeatureBitset", "&", "FeatureBits", ",", "bool", "&", "Valid", ")", "const", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "NumMappings", ";", "++", "i", ")", "{", "if", "(", "Mappings", "[", "i", "]", ".", "isValueEqual", "(", "Value", ",", "FeatureBits", ")", ")", "{", "Valid", "=", "true", ";", "return", "Mappings", "[", "i", "]", ".", "Name", ";", "}", "}", "Valid", "=", "false", ";", "return", "StringRef", "(", ")", ";", "}", ""], "natrual_language": ["Convert", "to", "a", "decimal", "representation", "in", "a", "string", "."], "TS_V_token": ["AArch64", "AArch64", "0"], "File": "AArch64BaseInfo (2)", "Func": "toString", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3965, "Length": 73, "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", ";", "case", "Intrinsic", "::", "aarch64_neon_pmull64", ":", "if", "(", "!", "areOperandsOfVmullHighP64", "(", "II", "->", "getArgOperand", "(", "0", ")", ",", "II", "->", "getArgOperand", "(", "1", ")", ")", ")", "return", "false", ";", "Ops", ".", "push_back", "(", "&", "II", "->", "getArgOperandUse", "(", "0", ")", ")", ";", "Ops", ".", "push_back", "(", "&", "II", "->", "getArgOperandUse", "(", "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", "Intrinsic::aarch64_neon_pmull64", "0", "1", "0", "1", "0", "1", "0", "1", "0", "0", "0", "1"], "File": "AArch64ISelLowering129", "Func": "shouldSinkOperands", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3966, "Length": 332, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_speculation_safe_value", "(", "machine_mode", "mode", ",", "rtx", "result", ",", "rtx", "val", ",", "rtx", "failval", ")", "{", "if", "(", "!", "aarch64_track_speculation", ")", "return", "default_speculation_safe_value", "(", "mode", ",", "result", ",", "val", ",", "failval", ")", ";", "if", "(", "!", "REG_P", "(", "val", ")", ")", "val", "=", "copy_to_mode_reg", "(", "mode", ",", "val", ")", ";", "if", "(", "!", "aarch64_reg_or_zero", "(", "failval", ",", "mode", ")", ")", "failval", "=", "copy_to_mode_reg", "(", "mode", ",", "failval", ")", ";", "emit_insn", "(", "gen_despeculate_copy", "(", "mode", ",", "result", ",", "val", ",", "failval", ")", ")", ";", "return", "result", ";", "}", ""], "natrual_language": ["Override", "the", "default", "target", "speculation_safe_value", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_speculation_safe_value", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3967, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_store_conditional", "(", "machine_mode", "mode", ",", "rtx", "mem", ",", "rtx", "val", ")", "{", "gcc_assert", "(", "mode", "==", "SImode", ")", ";", "emit_insn", "(", "gen_store_conditional_si", "(", "mem", ",", "val", ")", ")", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "the", "atomic", "operation", "splitters", ".", "Emit", "a", "store-conditional", "instruction", "in", "MODE", "."], "TS_V_token": ["or1k"], "File": "or1k", "Func": "emit_store_conditional", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3968, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "loongarch_set_frame_expr", "(", "rtx", "frame_pattern", ")", "{", "rtx", "insn", ";", "insn", "=", "get_last_insn", "(", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "REG_NOTES", "(", "insn", ")", "=", "alloc_EXPR_LIST", "(", "REG_FRAME_RELATED_EXPR", ",", "frame_pattern", ",", "REG_NOTES", "(", "insn", ")", ")", ";", "}", ""], "natrual_language": ["Make", "the", "last", "instruction", "frame-related", "and", "note", "that", "it", "performs", "the", "operation", "described", "by", "FRAME_PATTERN", "."], "TS_V_token": ["loongarch", "1"], "File": "loongarch", "Func": "loongarch_set_frame_expr", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3969, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "SystemZRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZInstrInfo12", "Func": "getRegisterInfo", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3970, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createExecutionDependencyFixPass", "(", "&", "X86", "::", "VR128RegClass", ")", ")", ";", "if", "(", "UseVZeroUpper", ")", "addPass", "(", "createX86IssueVZeroUpperPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createX86PadShortFunctions", "(", ")", ")", ";", "addPass", "(", "createX86FixupLEAs", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["X86", "X86", "X86::VR128RegClass", "X86", "X86", "X86"], "File": "X86TargetMachine110", "Func": "addPreEmitPass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3971, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "AArch64Operand", "*", "CreateReg", "(", "unsigned", "RegNum", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{", "AArch64Operand", "*", "Op", "=", "new", "AArch64Operand", "(", "k_Register", ",", "S", ",", "E", ")", ";", "Op", "->", "Reg", ".", "RegNum", "=", "RegNum", ";", "return", "Op", ";", "}", ""], "natrual_language": ["CreateReg", "-", "Allocate", "a", "single", "virtual", "register", "for", "the", "given", "type", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64AsmParser13", "Func": "CreateReg", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3972, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_insr", "(", "rtx", "target", ",", "rtx", "elem", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "target", ")", ";", "scalar_mode", "elem_mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "elem", "=", "force_reg", "(", "elem_mode", ",", "elem", ")", ";", "insn_code", "icode", "=", "optab_handler", "(", "vec_shl_insert_optab", ",", "mode", ")", ";", "gcc_assert", "(", "icode", "!=", "CODE_FOR_nothing", ")", ";", "emit_insn", "(", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "target", ",", "elem", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "RTL", "corresponding", "to", ":", "insr", "TARGET", ",", "ELEM", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "emit_insr", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3973, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_rtx_costs_wrapper", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "int", "outer", ",", "int", "param", ",", "int", "*", "cost", ",", "bool", "speed", ")", "{", "bool", "result", "=", "aarch64_rtx_costs", "(", "x", ",", "mode", ",", "outer", ",", "param", ",", "cost", ",", "speed", ")", ";", "if", "(", "dump_file", "&&", "(", "dump_flags", "&", "TDF_DETAILS", ")", ")", "{", "print_rtl_single", "(", "dump_file", ",", "x", ")", ";", "fprintf", "(", "dump_file", ",", "\"\\n%s cost: %d (%s)\\n\"", ",", "speed", "?", "\"Hot\"", ":", "\"Cold\"", ",", "*", "cost", ",", "result", "?", "\"final\"", ":", "\"partial\"", ")", ";", "}", "return", "result", ";", "}", ""], "natrual_language": ["Wrapper", "around", "aarch64_rtx_costs", ",", "dumps", "the", "partial", ",", "or", "total", "cost", "calculated", "for", "X", ".", "This", "cost", "is", "stored", "in", "*", "COST", ".", "Returns", "true", "if", "the", "total", "cost", "of", "X", "was", "calculated", "."], "TS_V_token": ["aarch64", "\"\\n%s cost: %d (%s)\\n\"", "\"Hot\"", "\"Cold\"", "\"final\"", "\"partial\""], "File": "aarch643", "Func": "aarch64_rtx_costs_wrapper", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3974, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_legitimate_constant_p", "(", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "if", "(", "TARGET_ELF", "&&", "tls_referenced_p", "(", "x", ")", ")", "return", "false", ";", "return", "(", "(", "GET_CODE", "(", "x", ")", "!=", "CONST_DOUBLE", "&&", "GET_CODE", "(", "x", ")", "!=", "CONST_VECTOR", ")", "||", "GET_MODE", "(", "x", ")", "==", "VOIDmode", "||", "(", "TARGET_POWERPC64", "&&", "mode", "==", "DImode", ")", "||", "easy_fp_constant", "(", "x", ",", "mode", ")", "||", "easy_vector_constant", "(", "x", ",", "mode", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LEGITIMATE_CONSTANT_P", ".", "On", "the", "RS/6000", ",", "all", "integer", "constants", "are", "acceptable", ",", "most", "wo", "n't", "be", "valid", "for", "particular", "insns", ",", "though", ".", "Only", "easy", "FP", "constants", "are", "acceptable", "."], "TS_V_token": ["rs6000"], "File": "rs60004", "Func": "rs6000_legitimate_constant_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3975, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ProtectReturnSupportPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Func", ")", "{", "if", "(", "!", "Func", ".", "protectReturnPtr", "(", ")", ")", "return", "false", ";", "bool", "modified", "=", "false", ";", "if", "(", "!", "Func", ".", "getName", "(", ")", ".", "equals", "(", "\"main\"", ")", ")", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "Func", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "X86Subtarget", "&", "STI", "=", "Func", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "unsigned", "Reg", "=", "STI", ".", "is64Bit", "(", ")", "?", "X86", "::", "RBX", ":", "X86", "::", "EBX", ";", "unsigned", "PushOpc", "=", "STI", ".", "is64Bit", "(", ")", "?", "X86", "::", "PUSH64r", ":", "X86", "::", "PUSH32r", ";", "MachineBasicBlock", "*", "MBB", "=", "Func", ".", "begin", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MI", "=", "MBB", "->", "begin", "(", ")", ";", "const", "DebugLoc", "&", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "*", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "PushOpc", ")", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ";", "modified", "=", "true", ";", "for", "(", "auto", "MBBI", "=", "Func", ".", "begin", "(", ")", ",", "MBBE", "=", "Func", ".", "end", "(", ")", ";", "MBBI", "!=", "MBBE", ";", "MBBI", "++", ")", "{", "if", "(", "!", "isReturnBlock", "(", "MBBI", ")", ")", "continue", ";", "modified", "|=", "handleReturnInst", "(", "*", "MBBI", ",", "MBBI", "->", "getFirstTerminator", "(", ")", ")", ";", "}", "}", "SmallVector", "<", "MachineInstr", "*", ",", "16", ">", "worklist", ";", "for", "(", "auto", "MBBI", "=", "Func", ".", "begin", "(", ")", ",", "MBBE", "=", "Func", ".", "end", "(", ")", ";", "MBBI", "!=", "MBBE", ";", "MBBI", "++", ")", "{", "for", "(", "auto", "MI", "=", "MBBI", "->", "begin", "(", ")", ",", "ME", "=", "MBBI", "->", "end", "(", ")", ";", "MI", "!=", "ME", ";", "MI", "++", ")", "if", "(", "MI", "->", "isCall", "(", ")", ")", "worklist", ".", "push_back", "(", "MI", ")", ";", "}", "while", "(", "!", "worklist", ".", "empty", "(", ")", ")", "{", "MachineInstr", "*", "mi", "=", "worklist", ".", "pop_back_val", "(", ")", ";", "modified", "|=", "handleCallInst", "(", "mi", ")", ";", "}", "return", "modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "\"main\"", "X86", "X86", "X86::RBX", "X86::EBX", "X86::PUSH64r", "X86::PUSH32r", "16"], "File": "X86ProtectReturnSupport", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3976, "Length": 335, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "pad_direction", "sparc_function_arg_padding", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "if", "(", "TARGET_ARCH64", "&&", "type", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "return", "PAD_UPWARD", ";", "return", "default_function_arg_padding", "(", "mode", ",", "type", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_ARG_PADDING", ".", "For", "the", "64-bit", "ABI", "structs", "are", "always", "stored", "left", "shifted", "in", "their", "argument", "slot", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "sparc_function_arg_padding", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3977, "Length": 34, "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": ["PowerPC"], "File": "PPCSubtarget (2)", "Func": "getTargetTriple", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3978, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "requiresFrameIndexScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "requires", "post", "PEI", "scavenging", "of", "registers", "for", "materializing", "frame", "index", "constants", "."], "TS_V_token": ["LC2200"], "File": "LC2200RegisterInfo", "Func": "requiresFrameIndexScavenging", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3979, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMDAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "if", "(", "!", "Subtarget", "->", "hasV6T2Ops", "(", ")", ")", "return", ";", "bool", "isThumb2", "=", "Subtarget", "->", "isThumb", "(", ")", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "I", "++", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "ADD", ")", "continue", ";", "SDValue", "N0", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "N1", "=", "N", "->", "getOperand", "(", "1", ")", ";", "unsigned", "And_imm", "=", "0", ";", "if", "(", "!", "isOpcWithIntImmediate", "(", "N1", ".", "getNode", "(", ")", ",", "ISD", "::", "AND", ",", "And_imm", ")", ")", "{", "if", "(", "isOpcWithIntImmediate", "(", "N0", ".", "getNode", "(", ")", ",", "ISD", "::", "AND", ",", "And_imm", ")", ")", "std", "::", "swap", "(", "N0", ",", "N1", ")", ";", "}", "if", "(", "!", "And_imm", ")", "continue", ";", "unsigned", "TZ", "=", "CountTrailingZeros_32", "(", "And_imm", ")", ";", "if", "(", "TZ", "!=", "1", "&&", "TZ", "!=", "2", ")", "continue", ";", "And_imm", ">>=", "TZ", ";", "if", "(", "And_imm", "&", "(", "And_imm", "+", "1", ")", ")", "continue", ";", "SDValue", "Srl", "=", "N1", ".", "getOperand", "(", "0", ")", ";", "unsigned", "Srl_imm", "=", "0", ";", "if", "(", "!", "isOpcWithIntImmediate", "(", "Srl", ".", "getNode", "(", ")", ",", "ISD", "::", "SRL", ",", "Srl_imm", ")", "||", "(", "Srl_imm", "<=", "2", ")", ")", "continue", ";", "SDValue", "CPTmp0", ";", "SDValue", "CPTmp1", ";", "SDValue", "CPTmp2", ";", "if", "(", "isThumb2", ")", "{", "if", "(", "SelectT2ShifterOperandReg", "(", "N0", ",", "CPTmp0", ",", "CPTmp1", ")", ")", "continue", ";", "}", "else", "{", "if", "(", "SelectImmShifterOperand", "(", "N0", ",", "CPTmp0", ",", "CPTmp1", ")", "||", "SelectRegShifterOperand", "(", "N0", ",", "CPTmp0", ",", "CPTmp1", ",", "CPTmp2", ")", ")", "continue", ";", "}", "Srl", "=", "CurDAG", "->", "getNode", "(", "ISD", "::", "SRL", ",", "Srl", ".", "getDebugLoc", "(", ")", ",", "MVT", "::", "i32", ",", "Srl", ".", "getOperand", "(", "0", ")", ",", "CurDAG", "->", "getConstant", "(", "Srl_imm", "+", "TZ", ",", "MVT", "::", "i32", ")", ")", ";", "N1", "=", "CurDAG", "->", "getNode", "(", "ISD", "::", "AND", ",", "N1", ".", "getDebugLoc", "(", ")", ",", "MVT", "::", "i32", ",", "Srl", ",", "CurDAG", "->", "getConstant", "(", "And_imm", ",", "MVT", "::", "i32", ")", ")", ";", "N1", "=", "CurDAG", "->", "getNode", "(", "ISD", "::", "SHL", ",", "N1", ".", "getDebugLoc", "(", ")", ",", "MVT", "::", "i32", ",", "N1", ",", "CurDAG", "->", "getConstant", "(", "TZ", ",", "MVT", "::", "i32", ")", ")", ";", "CurDAG", "->", "UpdateNodeOperands", "(", "N", ",", "N0", ",", "N1", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["ARM", "ARM", "ISD::ADD", "0", "1", "0", "ISD::AND", "ISD::AND", "1", "2", "1", "0", "0", "ISD::SRL", "2", "ISD::SRL", "MVT::i32", "0", "MVT::i32", "ISD::AND", "MVT::i32", "MVT::i32", "ISD::SHL", "MVT::i32", "MVT::i32"], "File": "ARMISelDAGToDAG115", "Func": "PreprocessISelDAG", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3980, "Length": 407, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "mips_d_handle_target_float_abi", "(", "void", ")", "{", "const", "char", "*", "abi", ";", "if", "(", "TARGET_HARD_FLOAT_ABI", ")", "abi", "=", "\"hard\"", ";", "else", "if", "(", "TARGET_SOFT_FLOAT_ABI", ")", "abi", "=", "\"soft\"", ";", "else", "abi", "=", "\"\"", ";", "return", "build_string_literal", "(", "strlen", "(", "abi", ")", "+", "1", ",", "abi", ")", ";", "}", ""], "natrual_language": ["Handle", "a", "call", "to", "`", "__traits", "(", "getTargetInfo", ",", "``", "floatAbi", "''", ")", "'", "."], "TS_V_token": ["mips", "\"hard\"", "\"soft\"", "\"\"", "1"], "File": "mips-d", "Func": "mips_d_handle_target_float_abi", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3981, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "thumb_far_jump_used_p", "(", "void", ")", "{", "rtx", "insn", ";", "if", "(", "cfun", "->", "machine", "->", "far_jump_used", ")", "return", "1", ";", "if", "(", "!", "(", "ARM_DOUBLEWORD_ALIGN", "||", "reload_completed", ")", ")", "{", "if", "(", "regs_ever_live", "[", "ARG_POINTER_REGNUM", "]", ")", "cfun", "->", "machine", "->", "arg_pointer_live", "=", "1", ";", "else", "if", "(", "!", "cfun", "->", "machine", "->", "arg_pointer_live", ")", "return", "0", ";", "}", "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", "1", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["Returns", "non-zero", "if", "the", "current", "function", "contains", ",", "or", "might", "contain", "a", "far", "jump", "."], "TS_V_token": ["arm", "1", "1", "0", "1", "1", "0"], "File": "arm3", "Func": "thumb_far_jump_used_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3982, "Length": 132, "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", ":", "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": "AArch64ISelLowering19", "Func": "CCAssignFnForCall", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3983, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "sbitmap", "aarch64_get_separate_components", "(", "void", ")", "{", "aarch64_layout_frame", "(", ")", ";", "sbitmap", "components", "=", "sbitmap_alloc", "(", "LAST_SAVED_REGNUM", "+", "1", ")", ";", "bitmap_clear", "(", "components", ")", ";", "for", "(", "unsigned", "regno", "=", "0", ";", "regno", "<=", "LAST_SAVED_REGNUM", ";", "regno", "++", ")", "if", "(", "aarch64_register_saved_on_entry", "(", "regno", ")", ")", "{", "HOST_WIDE_INT", "offset", "=", "cfun", "->", "machine", "->", "frame", ".", "reg_offset", "[", "regno", "]", ";", "if", "(", "!", "frame_pointer_needed", ")", "offset", "+=", "cfun", "->", "machine", "->", "frame", ".", "frame_size", "-", "cfun", "->", "machine", "->", "frame", ".", "hard_fp_offset", ";", "if", "(", "offset_12bit_unsigned_scaled_p", "(", "DImode", ",", "offset", ")", ")", "bitmap_set_bit", "(", "components", ",", "regno", ")", ";", "}", "if", "(", "frame_pointer_needed", ")", "bitmap_clear_bit", "(", "components", ",", "HARD_FRAME_POINTER_REGNUM", ")", ";", "unsigned", "reg1", "=", "cfun", "->", "machine", "->", "frame", ".", "wb_candidate1", ";", "unsigned", "reg2", "=", "cfun", "->", "machine", "->", "frame", ".", "wb_candidate2", ";", "if", "(", "reg2", "!=", "INVALID_REGNUM", ")", "bitmap_clear_bit", "(", "components", ",", "reg2", ")", ";", "if", "(", "reg1", "!=", "INVALID_REGNUM", ")", "bitmap_clear_bit", "(", "components", ",", "reg1", ")", ";", "bitmap_clear_bit", "(", "components", ",", "LR_REGNUM", ")", ";", "bitmap_clear_bit", "(", "components", ",", "SP_REGNUM", ")", ";", "return", "components", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SHRINK_WRAP_GET_SEPARATE_COMPONENTS", "."], "TS_V_token": ["aarch64", "1", "0"], "File": "aarch644", "Func": "aarch64_get_separate_components", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3984, "Length": 179, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "switch", "(", "ConstraintID", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected asm memory constraint\"", ")", ";", "case", "InlineAsm", "::", "Constraint_i", ":", "LLVM_FALLTHROUGH", ";", "case", "InlineAsm", "::", "Constraint_m", ":", "case", "InlineAsm", "::", "Constraint_o", ":", "case", "InlineAsm", "::", "Constraint_Q", ":", "case", "InlineAsm", "::", "Constraint_Um", ":", "case", "InlineAsm", "::", "Constraint_Un", ":", "case", "InlineAsm", "::", "Constraint_Uq", ":", "case", "InlineAsm", "::", "Constraint_Us", ":", "case", "InlineAsm", "::", "Constraint_Ut", ":", "case", "InlineAsm", "::", "Constraint_Uv", ":", "case", "InlineAsm", "::", "Constraint_Uy", ":", "OutOps", ".", "push_back", "(", "Op", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["ARM", "ARM", "\"Unexpected asm memory constraint\""], "File": "ARMISelDAGToDAG", "Func": "SelectInlineAsmMemoryOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3985, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "X86RegisterInfo", "::", "getCallPreservedMask", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "if", "(", "CC", "==", "CallingConv", "::", "GHC", ")", "return", "CSR_NoRegs_RegMask", ";", "if", "(", "!", "Is64Bit", ")", "return", "CSR_32_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"], "File": "X86RegisterInfo36", "Func": "getCallPreservedMask", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3986, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetObjectFile", "::", "IsGlobalInSmallSection", "(", "const", "GlobalValue", "*", "GV", ",", "const", "TargetMachine", "&", "TM", ",", "SectionKind", "Kind", ")", "const", "{", "return", "(", "IsGlobalInSmallSectionImpl", "(", "GV", ",", "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": "MipsTargetObjectFile", "Func": "IsGlobalInSmallSection", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3987, "Length": 51, "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": 3988, "Length": 397, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCRegisterInfo", "::", "lowerACCRestore", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "unsigned", "FrameIndex", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "Register", "DestReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "assert", "(", "MI", ".", "definesRegister", "(", "DestReg", ")", "&&", "\"RESTORE_ACC does not define its destination\"", ")", ";", "bool", "IsPrimed", "=", "PPC", "::", "ACCRCRegClass", ".", "contains", "(", "DestReg", ")", ";", "Register", "Reg", "=", "PPC", "::", "VSRp0", "+", "(", "DestReg", "-", "(", "IsPrimed", "?", "PPC", "::", "ACC0", ":", "PPC", "::", "UACC0", ")", ")", "*", "2", ";", "bool", "IsLittleEndian", "=", "Subtarget", ".", "isLittleEndian", "(", ")", ";", "emitAccSpillRestoreInfo", "(", "MBB", ",", "IsPrimed", ",", "true", ")", ";", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "TII", ".", "get", "(", "PPC", "::", "LXVP", ")", ",", "Reg", ")", ",", "FrameIndex", ",", "IsLittleEndian", "?", "32", ":", "0", ")", ";", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "TII", ".", "get", "(", "PPC", "::", "LXVP", ")", ",", "Reg", "+", "1", ")", ",", "FrameIndex", ",", "IsLittleEndian", "?", "0", ":", "32", ")", ";", "if", "(", "IsPrimed", ")", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "TII", ".", "get", "(", "PPC", "::", "XXMTACC", ")", ",", "DestReg", ")", ".", "addReg", "(", "DestReg", ")", ";", "MBB", ".", "erase", "(", "II", ")", ";", "}", ""], "natrual_language": ["lowerACCRestore", "-", "Generate", "the", "code", "to", "restore", "the", "accumulator", "register", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "0", "\"RESTORE_ACC does not define its destination\"", "PPC::ACCRCRegClass", "PPC::VSRp0", "PPC::ACC0", "PPC::UACC0", "2", "PPC::LXVP", "32", "0", "PPC::LXVP", "1", "0", "32", "PPC::XXMTACC"], "File": "PPCRegisterInfo (2)3", "Func": "lowerACCRestore", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3989, "Length": 261, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "ARMTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "ADD", ":", "return", "PerformADDCombine", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SUB", ":", "return", "PerformSUBCombine", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "MUL", ":", "return", "PerformMULCombine", "(", "N", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "OR", ":", "return", "PerformORCombine", "(", "N", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "AND", ":", "return", "PerformANDCombine", "(", "N", ",", "DCI", ")", ";", "case", "ARMISD", "::", "VMOVRRD", ":", "return", "PerformVMOVRRDCombine", "(", "N", ",", "DCI", ")", ";", "case", "ARMISD", "::", "VMOVDRR", ":", "return", "PerformVMOVDRRCombine", "(", "N", ",", "DCI", ".", "DAG", ")", ";", "case", "ISD", "::", "BUILD_VECTOR", ":", "return", "PerformBUILD_VECTORCombine", "(", "N", ",", "DCI", ".", "DAG", ")", ";", "case", "ISD", "::", "VECTOR_SHUFFLE", ":", "return", "PerformVECTOR_SHUFFLECombine", "(", "N", ",", "DCI", ".", "DAG", ")", ";", "case", "ARMISD", "::", "VDUPLANE", ":", "return", "PerformVDUPLANECombine", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "PerformIntrinsicCombine", "(", "N", ",", "DCI", ".", "DAG", ")", ";", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SRL", ":", "return", "PerformShiftCombine", "(", "N", ",", "DCI", ".", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "case", "ISD", "::", "ZERO_EXTEND", ":", "case", "ISD", "::", "ANY_EXTEND", ":", "return", "PerformExtendCombine", "(", "N", ",", "DCI", ".", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "PerformSELECT_CCCombine", "(", "N", ",", "DCI", ".", "DAG", ",", "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": ["ARM", "ARM", "ISD::ADD", "ISD::SUB", "ISD::MUL", "ISD::OR", "ISD::AND", "ARMISD::VMOVRRD", "ARMISD::VMOVDRR", "ISD::BUILD_VECTOR", "ISD::VECTOR_SHUFFLE", "ARMISD::VDUPLANE", "ISD::INTRINSIC_WO_CHAIN", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::SIGN_EXTEND", "ISD::ZERO_EXTEND", "ISD::ANY_EXTEND", "ISD::SELECT_CC"], "File": "ARMISelLowering71", "Func": "PerformDAGCombine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3990, "Length": 261, "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": 3991, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "split_ti", "(", "rtx", "operands", "[", "]", ",", "int", "num", ",", "rtx", "lo_half", "[", "]", ",", "rtx", "hi_half", "[", "]", ")", "{", "while", "(", "num", "--", ")", "{", "rtx", "op", "=", "operands", "[", "num", "]", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "MEM", ")", "{", "lo_half", "[", "num", "]", "=", "adjust_address", "(", "op", ",", "DImode", ",", "0", ")", ";", "hi_half", "[", "num", "]", "=", "adjust_address", "(", "op", ",", "DImode", ",", "8", ")", ";", "}", "else", "{", "lo_half", "[", "num", "]", "=", "simplify_gen_subreg", "(", "DImode", ",", "op", ",", "TImode", ",", "0", ")", ";", "hi_half", "[", "num", "]", "=", "simplify_gen_subreg", "(", "DImode", ",", "op", ",", "TImode", ",", "8", ")", ";", "}", "}", "}", ""], "natrual_language": ["Split", "one", "or", "more", "TImode", "RTL", "references", "into", "pairs", "of", "DImode", "references", ".", "The", "RTL", "can", "be", "REG", ",", "offsettable", "MEM", ",", "integer", "constant", ",", "or", "CONST_DOUBLE", ".", "``", "operands", "''", "is", "a", "pointer", "to", "an", "array", "of", "DImode", "RTL", "to", "split", "and", "``", "num", "''", "is", "its", "length", ".", "lo_half", "and", "hi_half", "are", "output", "arrays", "that", "parallel", "``", "operands", "''", "."], "TS_V_token": ["i386", "0", "8", "0", "8"], "File": "i3863", "Func": "split_ti", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3992, "Length": 112, "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": 3993, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPreAllocLoadStoreOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "if", "(", "AssumeMisalignedLoadStores", "||", "skipFunction", "(", "Fn", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "TD", "=", "&", "Fn", ".", "getDataLayout", "(", ")", ";", "STI", "=", "&", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "Fn", ".", "getSubtarget", "(", ")", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "STI", "->", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "Fn", ".", "getRegInfo", "(", ")", ";", "DT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "MF", "=", "&", "Fn", ";", "AA", "=", "&", "getAnalysis", "<", "AAResultsWrapperPass", ">", "(", ")", ".", "getAAResults", "(", ")", ";", "bool", "Modified", "=", "DistributeIncrements", "(", ")", ";", "for", "(", "MachineBasicBlock", "&", "MFI", ":", "Fn", ")", "Modified", "|=", "RescheduleLoadStoreInstrs", "(", "&", "MFI", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMLoadStoreOptimizer19", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3994, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "originalTypeIsF128", "(", "const", "Type", "*", "Ty", ",", "const", "SDNode", "*", "CallNode", ")", "{", "if", "(", "Ty", "->", "isFP128Ty", "(", ")", ")", "return", "true", ";", "const", "ExternalSymbolSDNode", "*", "ES", "=", "dyn_cast_or_null", "<", "const", "ExternalSymbolSDNode", ">", "(", "CallNode", ")", ";", "return", "(", "ES", "&&", "Ty", "->", "isIntegerTy", "(", "128", ")", "&&", "isF128SoftLibCall", "(", "ES", "->", "getSymbol", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["This", "function", "returns", "true", "if", "Ty", "is", "fp128", ",", "{", "f128", "}", "or", "i128", "which", "was", "originally", "a", "fp128", "."], "TS_V_token": ["Mips", "128"], "File": "MipsISelLowering (2)", "Func": "originalTypeIsF128", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3995, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_block_set_non_vect_profit_p", "(", "rtx", "val", ",", "unsigned", "HOST_WIDE_INT", "length", ",", "unsigned", "HOST_WIDE_INT", "align", ",", "bool", "unaligned_p", ",", "bool", "use_strd_p", ")", "{", "int", "num", "=", "0", ";", "const", "int", "leftover", "[", "8", "]", "=", "{", "0", ",", "1", ",", "1", ",", "2", ",", "1", ",", "2", ",", "2", ",", "3", "}", ";", "if", "(", "unaligned_p", ")", "{", "num", "=", "arm_const_inline_cost", "(", "SET", ",", "val", ")", ";", "num", "+=", "length", "/", "align", "+", "length", "%", "align", ";", "}", "else", "if", "(", "use_strd_p", ")", "{", "num", "=", "arm_const_double_inline_cost", "(", "val", ")", ";", "num", "+=", "(", "length", ">>", "3", ")", "+", "leftover", "[", "length", "&", "7", "]", ";", "}", "else", "{", "num", "=", "arm_const_inline_cost", "(", "SET", ",", "val", ")", ";", "num", "+=", "(", "length", ">>", "2", ")", "+", "leftover", "[", "length", "&", "3", "]", ";", "}", "if", "(", "unaligned_access", "&&", "length", ">", "3", "&&", "(", "length", "&", "3", ")", "==", "3", ")", "num", "--", ";", "return", "(", "num", "<=", "arm_block_set_max_insns", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "it", "'s", "profitable", "to", "set", "block", "of", "memory", "for", "non-vectorized", "case", ".", "VAL", "is", "the", "value", "to", "set", "the", "memory", "with", ".", "LENGTH", "is", "the", "number", "of", "bytes", "to", "set", ".", "ALIGN", "is", "the", "alignment", "of", "the", "destination", "memory", "in", "bytes", ".", "UNALIGNED_P", "is", "TRUE", "if", "we", "can", "only", "set", "the", "memory", "with", "instructions", "meeting", "alignment", "requirements", ".", "USE_STRD_P", "is", "TRUE", "if", "we", "can", "use", "strd", "to", "set", "the", "memory", "."], "TS_V_token": ["arm", "0", "8", "0", "1", "1", "2", "1", "2", "2", "3", "3", "7", "2", "3", "3", "3", "3"], "File": "arm", "Func": "arm_block_set_non_vect_profit_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3996, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "calculate_pic_address_constant", "(", "rtx", "reg", ",", "rtx", "pic_reg", ",", "rtx", "orig", ")", "{", "rtx", "pat", ";", "rtx", "mem", ";", "pat", "=", "gen_calculate_pic_address", "(", "reg", ",", "pic_reg", ",", "orig", ")", ";", "mem", "=", "SET_SRC", "(", "pat", ")", ";", "gcc_assert", "(", "MEM_P", "(", "mem", ")", "&&", "!", "MEM_VOLATILE_P", "(", "mem", ")", ")", ";", "MEM_READONLY_P", "(", "mem", ")", "=", "1", ";", "MEM_NOTRAP_P", "(", "mem", ")", "=", "1", ";", "return", "emit_insn", "(", "pat", ")", ";", "}", ""], "natrual_language": ["Generate", "insns", "to", "calculate", "the", "address", "of", "ORIG", "in", "pic", "mode", "."], "TS_V_token": ["arm", "1", "1"], "File": "arm", "Func": "calculate_pic_address_constant", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3997, "Length": 74, "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", "::", "FRE", ":", "return", "\"PPCISD::FRE\"", ";", "case", "PPCISD", "::", "FRSQRTE", ":", "return", "\"PPCISD::FRSQRTE\"", ";", "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", "::", "CALL", ":", "return", "\"PPCISD::CALL\"", ";", "case", "PPCISD", "::", "CALL_NOP", ":", "return", "\"PPCISD::CALL_NOP\"", ";", "case", "PPCISD", "::", "MTCTR", ":", "return", "\"PPCISD::MTCTR\"", ";", "case", "PPCISD", "::", "BCTRL", ":", "return", "\"PPCISD::BCTRL\"", ";", "case", "PPCISD", "::", "RET_FLAG", ":", "return", "\"PPCISD::RET_FLAG\"", ";", "case", "PPCISD", "::", "EH_SJLJ_SETJMP", ":", "return", "\"PPCISD::EH_SJLJ_SETJMP\"", ";", "case", "PPCISD", "::", "EH_SJLJ_LONGJMP", ":", "return", "\"PPCISD::EH_SJLJ_LONGJMP\"", ";", "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", "::", "BDNZ", ":", "return", "\"PPCISD::BDNZ\"", ";", "case", "PPCISD", "::", "BDZ", ":", "return", "\"PPCISD::BDZ\"", ";", "case", "PPCISD", "::", "MFFS", ":", "return", "\"PPCISD::MFFS\"", ";", "case", "PPCISD", "::", "FADDRTZ", ":", "return", "\"PPCISD::FADDRTZ\"", ";", "case", "PPCISD", "::", "TC_RETURN", ":", "return", "\"PPCISD::TC_RETURN\"", ";", "case", "PPCISD", "::", "CR6SET", ":", "return", "\"PPCISD::CR6SET\"", ";", "case", "PPCISD", "::", "CR6UNSET", ":", "return", "\"PPCISD::CR6UNSET\"", ";", "case", "PPCISD", "::", "ADDIS_TOC_HA", ":", "return", "\"PPCISD::ADDIS_TOC_HA\"", ";", "case", "PPCISD", "::", "LD_TOC_L", ":", "return", "\"PPCISD::LD_TOC_L\"", ";", "case", "PPCISD", "::", "ADDI_TOC_L", ":", "return", "\"PPCISD::ADDI_TOC_L\"", ";", "case", "PPCISD", "::", "ADDIS_GOT_TPREL_HA", ":", "return", "\"PPCISD::ADDIS_GOT_TPREL_HA\"", ";", "case", "PPCISD", "::", "LD_GOT_TPREL_L", ":", "return", "\"PPCISD::LD_GOT_TPREL_L\"", ";", "case", "PPCISD", "::", "ADD_TLS", ":", "return", "\"PPCISD::ADD_TLS\"", ";", "case", "PPCISD", "::", "ADDIS_TLSGD_HA", ":", "return", "\"PPCISD::ADDIS_TLSGD_HA\"", ";", "case", "PPCISD", "::", "ADDI_TLSGD_L", ":", "return", "\"PPCISD::ADDI_TLSGD_L\"", ";", "case", "PPCISD", "::", "GET_TLS_ADDR", ":", "return", "\"PPCISD::GET_TLS_ADDR\"", ";", "case", "PPCISD", "::", "ADDIS_TLSLD_HA", ":", "return", "\"PPCISD::ADDIS_TLSLD_HA\"", ";", "case", "PPCISD", "::", "ADDI_TLSLD_L", ":", "return", "\"PPCISD::ADDI_TLSLD_L\"", ";", "case", "PPCISD", "::", "GET_TLSLD_ADDR", ":", "return", "\"PPCISD::GET_TLSLD_ADDR\"", ";", "case", "PPCISD", "::", "ADDIS_DTPREL_HA", ":", "return", "\"PPCISD::ADDIS_DTPREL_HA\"", ";", "case", "PPCISD", "::", "ADDI_DTPREL_L", ":", "return", "\"PPCISD::ADDI_DTPREL_L\"", ";", "case", "PPCISD", "::", "VADD_SPLAT", ":", "return", "\"PPCISD::VADD_SPLAT\"", ";", "case", "PPCISD", "::", "SC", ":", "return", "\"PPCISD::SC\"", ";", "}", "}", ""], "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::FRE", "\"PPCISD::FRE\"", "PPCISD::FRSQRTE", "\"PPCISD::FRSQRTE\"", "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::CALL", "\"PPCISD::CALL\"", "PPCISD::CALL_NOP", "\"PPCISD::CALL_NOP\"", "PPCISD::MTCTR", "\"PPCISD::MTCTR\"", "PPCISD::BCTRL", "\"PPCISD::BCTRL\"", "PPCISD::RET_FLAG", "\"PPCISD::RET_FLAG\"", "PPCISD::EH_SJLJ_SETJMP", "\"PPCISD::EH_SJLJ_SETJMP\"", "PPCISD::EH_SJLJ_LONGJMP", "\"PPCISD::EH_SJLJ_LONGJMP\"", "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::BDNZ", "\"PPCISD::BDNZ\"", "PPCISD::BDZ", "\"PPCISD::BDZ\"", "PPCISD::MFFS", "\"PPCISD::MFFS\"", "PPCISD::FADDRTZ", "\"PPCISD::FADDRTZ\"", "PPCISD::TC_RETURN", "\"PPCISD::TC_RETURN\"", "PPCISD::CR6SET", "\"PPCISD::CR6SET\"", "PPCISD::CR6UNSET", "\"PPCISD::CR6UNSET\"", "PPCISD::ADDIS_TOC_HA", "\"PPCISD::ADDIS_TOC_HA\"", "PPCISD::LD_TOC_L", "\"PPCISD::LD_TOC_L\"", "PPCISD::ADDI_TOC_L", "\"PPCISD::ADDI_TOC_L\"", "PPCISD::ADDIS_GOT_TPREL_HA", "\"PPCISD::ADDIS_GOT_TPREL_HA\"", "PPCISD::LD_GOT_TPREL_L", "\"PPCISD::LD_GOT_TPREL_L\"", "PPCISD::ADD_TLS", "\"PPCISD::ADD_TLS\"", "PPCISD::ADDIS_TLSGD_HA", "\"PPCISD::ADDIS_TLSGD_HA\"", "PPCISD::ADDI_TLSGD_L", "\"PPCISD::ADDI_TLSGD_L\"", "PPCISD::GET_TLS_ADDR", "\"PPCISD::GET_TLS_ADDR\"", "PPCISD::ADDIS_TLSLD_HA", "\"PPCISD::ADDIS_TLSLD_HA\"", "PPCISD::ADDI_TLSLD_L", "\"PPCISD::ADDI_TLSLD_L\"", "PPCISD::GET_TLSLD_ADDR", "\"PPCISD::GET_TLSLD_ADDR\"", "PPCISD::ADDIS_DTPREL_HA", "\"PPCISD::ADDIS_DTPREL_HA\"", "PPCISD::ADDI_DTPREL_L", "\"PPCISD::ADDI_DTPREL_L\"", "PPCISD::VADD_SPLAT", "\"PPCISD::VADD_SPLAT\"", "PPCISD::SC", "\"PPCISD::SC\""], "File": "PPCISelLowering173", "Func": "getTargetNodeName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3998, "Length": 496, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_must_pass_in_stack", "(", "machine_mode", "mode", ",", "const_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": "i3864", "Func": "ix86_must_pass_in_stack", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3999, "Length": 43, "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", ";", "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": "rs60001", "Func": "have_compare_and_set_mask", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4000, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCAsmPrinter", "::", "PrintSymbolOperand", "(", "const", "MachineOperand", "&", "MO", ",", "raw_ostream", "&", "O", ")", "{", "const", "GlobalValue", "*", "GV", "=", "MO", ".", "getGlobal", "(", ")", ";", "MCSymbol", "*", "SymToPrint", ";", "if", "(", "Subtarget", "->", "hasLazyResolverStub", "(", "GV", ")", ")", "{", "SymToPrint", "=", "getSymbolWithGlobalValueBase", "(", "GV", ",", "\"$non_lazy_ptr\"", ")", ";", "MachineModuleInfoImpl", "::", "StubValueTy", "&", "StubSym", "=", "MMI", "->", "getObjFileInfo", "<", "MachineModuleInfoMachO", ">", "(", ")", ".", "getGVStubEntry", "(", "SymToPrint", ")", ";", "if", "(", "!", "StubSym", ".", "getPointer", "(", ")", ")", "StubSym", "=", "MachineModuleInfoImpl", "::", "StubValueTy", "(", "getSymbol", "(", "GV", ")", ",", "!", "GV", "->", "hasInternalLinkage", "(", ")", ")", ";", "}", "else", "{", "SymToPrint", "=", "getSymbol", "(", "GV", ")", ";", "}", "SymToPrint", "->", "print", "(", "O", ",", "MAI", ")", ";", "printOffset", "(", "MO", ".", "getOffset", "(", ")", ",", "O", ")", ";", "}", ""], "natrual_language": ["Print", "the", "MachineOperand", "as", "a", "symbol", "."], "TS_V_token": ["PowerPC", "PPC", "\"$non_lazy_ptr\""], "File": "PPCAsmPrinter101", "Func": "PrintSymbolOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4001, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mmix_setup_frame_addresses", "(", ")", "{", "}", ""], "natrual_language": ["SETUP_FRAME_ADDRESSES", "."], "TS_V_token": ["mmix"], "File": "mmix2", "Func": "mmix_setup_frame_addresses", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4002, "Length": 6, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "SHUXIRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "SHUXI", "::", "SR", ")", ";", "Reserved", ".", "set", "(", "SHUXI", "::", "PC", ")", ";", "Reserved", ".", "set", "(", "SHUXI", "::", "SP", ")", ";", "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": ["SHUXI", "SHUXI", "SHUXI::SR", "SHUXI::PC", "SHUXI::SP"], "File": "SHUXIRegisterInfo", "Func": "getReservedRegs", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4003, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "X86TargetLowering", "::", "getSqrtEstimate", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ",", "int", "Enabled", ",", "int", "&", "RefinementSteps", ",", "bool", "&", "UseOneConstNR", ",", "bool", "Reciprocal", ")", "const", "{", "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", ";", "return", "DAG", ".", "getNode", "(", "Opcode", ",", "SDLoc", "(", "Op", ")", ",", "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"], "File": "X86ISelLowering (2)6", "Func": "getSqrtEstimate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4004, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableDeadRegisterElimination", ")", "addPass", "(", "createAArch64DeadRegisterDefinitions", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableAdvSIMDScalar", ")", "{", "addPass", "(", "createAArch64AdvSIMDScalar", "(", ")", ")", ";", "addPass", "(", "&", "PeepholeOptimizerID", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine (2)3", "Func": "addPreRegAlloc", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4005, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86IntelAsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "if", "(", "!", "DLLExportedGVs", ".", "empty", "(", ")", "||", "!", "DLLExportedFns", ".", "empty", "(", ")", ")", "{", "O", "<<", "\"; WARNING: The following code is valid only with MASM v8.x\"", "<<", "\"and (possible) higher\\n\"", "<<", "\"; This version of MASM is usually shipped with Microsoft \"", "<<", "\"Visual Studio 2005\\n\"", "<<", "\"; or (possible) further versions. Unfortunately, there is no \"", "<<", "\"way to support\\n\"", "<<", "\"; dllexported symbols in the earlier versions of MASM in fully \"", "<<", "\"automatic way\\n\\n\"", ";", "O", "<<", "\"_drectve\\t segment info alias('.drectve')\\n\"", ";", "for", "(", "StringSet", "<", ">", "::", "iterator", "i", "=", "DLLExportedGVs", ".", "begin", "(", ")", ",", "e", "=", "DLLExportedGVs", ".", "end", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "O", "<<", "\"\\t db ' /EXPORT:\"", "<<", "i", "->", "getKeyData", "(", ")", "<<", "\",data'\\n\"", ";", "for", "(", "StringSet", "<", ">", "::", "iterator", "i", "=", "DLLExportedFns", ".", "begin", "(", ")", ",", "e", "=", "DLLExportedFns", ".", "end", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "O", "<<", "\"\\t db ' /EXPORT:\"", "<<", "i", "->", "getKeyData", "(", ")", "<<", "\"'\\n\"", ";", "O", "<<", "\"_drectve\\t ends\\n\"", ";", "}", "bool", "Result", "=", "AsmPrinter", "::", "doFinalization", "(", "M", ")", ";", "O", "<<", "\"\\tend\\n\"", ";", "return", "Result", ";", "}", ""], "natrual_language": ["doFinalization", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "any", "necessary", "clean", "up", "after", "all", "passes", "have", "run", "."], "TS_V_token": ["X86", "X86", "\"; WARNING: The following code is valid only with MASM v8.x\"", "\"and (possible) higher\\n\"", "\"; This version of MASM is usually shipped with Microsoft \"", "\"Visual Studio 2005\\n\"", "\"; or (possible) further versions. Unfortunately, there is no \"", "\"way to support\\n\"", "\"; dllexported symbols in the earlier versions of MASM in fully \"", "\"automatic way\\n\\n\"", "\"_drectve\\t segment info alias('.drectve')\\n\"", "\"\\t db ' /EXPORT:\"", "\",data'\\n\"", "\"\\t db ' /EXPORT:\"", "\"'\\n\"", "\"_drectve\\t ends\\n\"", "\"\\tend\\n\""], "File": "X86IntelAsmPrinter2", "Func": "doFinalization", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4006, "Length": 156, "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": 4007, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "arm_pic_static_addr", "(", "rtx", "orig", ",", "rtx", "reg", ")", "{", "rtx", "l1", ",", "labelno", ",", "offset_rtx", ";", "rtx_insn", "*", "insn", ";", "gcc_assert", "(", "flag_pic", ")", ";", "bool", "is_readonly", "=", "false", ";", "bool", "info_known", "=", "false", ";", "if", "(", "TARGET_FDPIC", "&&", "SYMBOL_REF_P", "(", "orig", ")", "&&", "!", "SYMBOL_REF_FUNCTION_P", "(", "orig", ")", ")", "info_known", "=", "arm_is_segment_info_known", "(", "orig", ",", "&", "is_readonly", ")", ";", "if", "(", "TARGET_FDPIC", "&&", "SYMBOL_REF_P", "(", "orig", ")", "&&", "!", "SYMBOL_REF_FUNCTION_P", "(", "orig", ")", "&&", "!", "info_known", ")", "{", "rtx", "pic_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "FDPIC_REGNUM", ")", ";", "insn", "=", "calculate_pic_address_constant", "(", "reg", ",", "pic_reg", ",", "orig", ")", ";", "}", "else", "if", "(", "TARGET_FDPIC", "&&", "SYMBOL_REF_P", "(", "orig", ")", "&&", "(", "SYMBOL_REF_FUNCTION_P", "(", "orig", ")", "||", "!", "is_readonly", ")", ")", "{", "rtx", "pic_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "FDPIC_REGNUM", ")", ";", "rtx", "l1", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "orig", ")", ",", "UNSPEC_PIC_SYM", ")", ";", "emit_insn", "(", "gen_movsi", "(", "reg", ",", "l1", ")", ")", ";", "insn", "=", "emit_insn", "(", "gen_addsi3", "(", "reg", ",", "reg", ",", "pic_reg", ")", ")", ";", "}", "else", "{", "labelno", "=", "GEN_INT", "(", "pic_labelno", "++", ")", ";", "l1", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "labelno", ")", ",", "UNSPEC_PIC_LABEL", ")", ";", "l1", "=", "gen_rtx_CONST", "(", "VOIDmode", ",", "l1", ")", ";", "offset_rtx", "=", "plus_constant", "(", "Pmode", ",", "l1", ",", "TARGET_ARM", "?", "8", ":", "4", ")", ";", "offset_rtx", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "2", ",", "orig", ",", "offset_rtx", ")", ",", "UNSPEC_SYMBOL_OFFSET", ")", ";", "offset_rtx", "=", "gen_rtx_CONST", "(", "Pmode", ",", "offset_rtx", ")", ";", "insn", "=", "emit_insn", "(", "gen_pic_load_addr_unified", "(", "reg", ",", "offset_rtx", ",", "labelno", ")", ")", ";", "}", "return", "insn", ";", "}", ""], "natrual_language": ["Generate", "code", "to", "load", "the", "address", "of", "a", "static", "var", "when", "flag_pic", "is", "set", "."], "TS_V_token": ["arm", "1", "1", "8", "4", "2"], "File": "arm", "Func": "arm_pic_static_addr", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4008, "Length": 273, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetMachine", "::", "addInstSelector", "(", "PassManagerBase", "&", "PM", ")", "{", "PM", ".", "add", "(", "createX86ISelDag", "(", "*", "this", ",", "getOptLevel", "(", ")", ")", ")", ";", "if", "(", "!", "Subtarget", ".", "is64Bit", "(", ")", ")", "PM", ".", "add", "(", "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"], "File": "X86TargetMachine116", "Func": "addInstSelector", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4009, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_hard_regno_nregs_internal", "(", "int", "regno", ",", "machine_mode", "mode", ")", "{", "unsigned", "HOST_WIDE_INT", "reg_size", ";", "if", "(", "FP_REGNO_P", "(", "regno", ")", ")", "reg_size", "=", "(", "VECTOR_MEM_VSX_P", "(", "mode", ")", "||", "VECTOR_ALIGNMENT_P", "(", "mode", ")", "?", "UNITS_PER_VSX_WORD", ":", "UNITS_PER_FP_WORD", ")", ";", "else", "if", "(", "ALTIVEC_REGNO_P", "(", "regno", ")", ")", "reg_size", "=", "UNITS_PER_ALTIVEC_WORD", ";", "else", "reg_size", "=", "UNITS_PER_WORD", ";", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "reg_size", "-", "1", ")", "/", "reg_size", ";", "}", ""], "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", ".", "POWER", "and", "PowerPC", "GPRs", "hold", "32", "bits", "worth", ";", "PowerPC64", "GPRs", "and", "FPRs", "point", "register", "holds", "64", "bits", "worth", "."], "TS_V_token": ["rs6000", "1"], "File": "rs6000", "Func": "rs6000_hard_regno_nregs_internal", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4010, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_builtin_is_supported_p", "(", "enum", "rs6000_builtins", "fncode", ")", "{", "HOST_WIDE_INT", "fnmask", "=", "rs6000_builtin_info", "[", "fncode", "]", ".", "mask", ";", "if", "(", "(", "fnmask", "&", "rs6000_builtin_mask", ")", "!=", "fnmask", ")", "return", "false", ";", "else", "return", "true", ";", "}", ""], "natrual_language": ["Check", "whether", "a", "builtin", "function", "is", "supported", "in", "this", "target", "configuration", "."], "TS_V_token": ["rs6000"], "File": "rs6000-call", "Func": "rs6000_builtin_is_supported_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4011, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCRegisterInfo", "::", "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", "=", "PPCFrameInfo", "::", "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", "PPC"], "File": "PPCRegisterInfo21", "Func": "determineFrameLayout", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4012, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PadShortFunc", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "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": "X86PadShortFunction24", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4013, "Length": 239, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTTIImpl", "::", "canSaveCmp", "(", "Loop", "*", "L", ",", "BranchInst", "*", "*", "BI", ",", "ScalarEvolution", "*", "SE", ",", "LoopInfo", "*", "LI", ",", "DominatorTree", "*", "DT", ",", "AssumptionCache", "*", "AC", ",", "TargetLibraryInfo", "*", "LibInfo", ")", "{", "for", "(", "Loop", "*", "I", ":", "*", "L", ")", "if", "(", "canSaveCmp", "(", "I", ",", "BI", ",", "SE", ",", "LI", ",", "DT", ",", "AC", ",", "LibInfo", ")", ")", "return", "false", ";", "HardwareLoopInfo", "HWLoopInfo", "(", "L", ")", ";", "if", "(", "!", "HWLoopInfo", ".", "canAnalyze", "(", "*", "LI", ")", ")", "return", "false", ";", "if", "(", "!", "isHardwareLoopProfitable", "(", "L", ",", "*", "SE", ",", "*", "AC", ",", "LibInfo", ",", "HWLoopInfo", ")", ")", "return", "false", ";", "if", "(", "!", "HWLoopInfo", ".", "isHardwareLoopCandidate", "(", "*", "SE", ",", "*", "LI", ",", "*", "DT", ")", ")", "return", "false", ";", "*", "BI", "=", "HWLoopInfo", ".", "ExitBranch", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "can", "save", "a", "compare", "for", "loop", "count", ",", "for", "example", "hardware", "loop", "saves", "a", "compare", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCTargetTransformInfo14", "Func": "canSaveCmp", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4014, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMSubtarget", "::", "ARMSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "const", "TargetOptions", "&", "Options", ")", ":", "ARMGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "ARMProcFamily", "(", "Others", ")", ",", "ARMProcClass", "(", "None", ")", ",", "stackAlignment", "(", "4", ")", ",", "CPUString", "(", "CPU", ")", ",", "TargetTriple", "(", "TT", ")", ",", "Options", "(", "Options", ")", ",", "TargetABI", "(", "ARM_ABI_APCS", ")", "{", "initializeEnvironment", "(", ")", ";", "resetSubtargetFeatures", "(", "CPU", ",", "FS", ")", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "4", "ARM"], "File": "ARMSubtarget19", "Func": "ARMSubtarget", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4015, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "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": ["PowerPC"], "File": "PPCRegisterInfo16", "Func": "requiresRegisterScavenging", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4016, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcTargetMachine", "::", "SparcTargetMachine", "(", "const", "Target", "&", "T", ",", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "is64bit", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ")", ",", "Subtarget", "(", "TT", ",", "FS", ",", "is64bit", ")", ",", "DataLayout", "(", "Subtarget", ".", "getDataLayout", "(", ")", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "InstrInfo", "(", "Subtarget", ")", ",", "FrameInfo", "(", "Subtarget", ")", "{", "}", ""], "natrual_language": ["Create", "an", "ILP32", "architecture", "model", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc"], "File": "SparcTargetMachine21", "Func": "SparcTargetMachine", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4017, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCFastISel", "::", "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", "PPCMaterializeFP", "(", "CFP", ",", "VT", ")", ";", "else", "if", "(", "const", "GlobalValue", "*", "GV", "=", "dyn_cast", "<", "GlobalValue", ">", "(", "C", ")", ")", "return", "PPCMaterializeGV", "(", "GV", ",", "VT", ")", ";", "else", "if", "(", "const", "ConstantInt", "*", "CI", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "C", ")", ")", "return", "PPCMaterializeInt", "(", "CI", ",", "VT", ",", "false", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Emit", "a", "constant", "in", "a", "register", "using", "target-specific", "logic", ",", "such", "as", "constant", "pool", "loads", "."], "TS_V_token": ["PowerPC", "PPC", "0", "PPC", "PPC", "PPC", "0"], "File": "PPCFastISel (2)1", "Func": "fastMaterializeConstant", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4018, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsTargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "EVT", "VT", ")", "const", "{", "if", "(", "Subtarget", ".", "isGP64bit", "(", ")", ")", "{", "unsigned", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "\"$28\"", ",", "Mips", "::", "GP_64", ")", ".", "Default", "(", "0", ")", ";", "if", "(", "Reg", ")", "return", "Reg", ";", "}", "else", "{", "unsigned", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "\"$28\"", ",", "Mips", "::", "GP", ")", ".", "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": ["Mips", "Mips", "\"$28\"", "Mips::GP_64", "0", "\"$28\"", "Mips::GP", "0", "\"Invalid register name global variable\""], "File": "MipsISelLowering108", "Func": "getRegisterByName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4019, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FrameLowering", "::", "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": ["AArch64", "AArch64"], "File": "AArch64FrameLowering (2)1", "Func": "hasReservedCallFrame", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4020, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_split_stack_prologue", "(", "rs6000_stack_t", "*", "info", ",", "rtx_insn", "*", "sp_adjust", ",", "HOST_WIDE_INT", "frame_off", ",", "rtx", "frame_reg_rtx", ")", "{", "cfun", "->", "machine", "->", "split_stack_argp_used", "=", "true", ";", "if", "(", "sp_adjust", ")", "{", "rtx", "r12", "=", "gen_rtx_REG", "(", "Pmode", ",", "12", ")", ";", "rtx", "sp_reg_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "STACK_POINTER_REGNUM", ")", ";", "rtx", "set_r12", "=", "gen_rtx_SET", "(", "r12", ",", "sp_reg_rtx", ")", ";", "emit_insn_before", "(", "set_r12", ",", "sp_adjust", ")", ";", "}", "else", "if", "(", "frame_off", "!=", "0", "||", "REGNO", "(", "frame_reg_rtx", ")", "!=", "12", ")", "{", "rtx", "r12", "=", "gen_rtx_REG", "(", "Pmode", ",", "12", ")", ";", "if", "(", "frame_off", "==", "0", ")", "emit_move_insn", "(", "r12", ",", "frame_reg_rtx", ")", ";", "else", "emit_insn", "(", "gen_add3_insn", "(", "r12", ",", "frame_reg_rtx", ",", "GEN_INT", "(", "frame_off", ")", ")", ")", ";", "}", "if", "(", "info", "->", "push_p", ")", "{", "rtx", "r12", "=", "gen_rtx_REG", "(", "Pmode", ",", "12", ")", ";", "rtx", "r29", "=", "gen_rtx_REG", "(", "Pmode", ",", "29", ")", ";", "rtx", "cr7", "=", "gen_rtx_REG", "(", "CCUNSmode", ",", "CR7_REGNO", ")", ";", "rtx", "not_more", "=", "gen_label_rtx", "(", ")", ";", "rtx", "jump", ";", "jump", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "gen_rtx_GEU", "(", "VOIDmode", ",", "cr7", ",", "const0_rtx", ")", ",", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "not_more", ")", ",", "pc_rtx", ")", ";", "jump", "=", "emit_jump_insn", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "jump", ")", ")", ";", "JUMP_LABEL", "(", "jump", ")", "=", "not_more", ";", "LABEL_NUSES", "(", "not_more", ")", "+=", "1", ";", "emit_move_insn", "(", "r12", ",", "r29", ")", ";", "emit_label", "(", "not_more", ")", ";", "}", "}", ""], "natrual_language": ["Set", "up", "the", "arg", "pointer", "(", "r12", ")", "for", "-fsplit-stack", "code", ".", "If", "__morestack", "was", "called", ",", "it", "left", "the", "arg", "pointer", "to", "the", "old", "stack", "in", "r29", ".", "Otherwise", ",", "the", "arg", "pointer", "is", "the", "top", "of", "the", "current", "frame", "."], "TS_V_token": ["rs6000", "12", "0", "12", "12", "0", "12", "29", "1"], "File": "rs6000-logue", "Func": "emit_split_stack_prologue", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4021, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_n10_ex_to_ex_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "gcc_assert", "(", "get_attr_type", "(", "producer", ")", "==", "TYPE_FLOAD", "||", "get_attr_type", "(", "producer", ")", "==", "TYPE_FSTORE", ")", ";", "gcc_assert", "(", "get_attr_type", "(", "consumer", ")", "==", "TYPE_FLOAD", "||", "get_attr_type", "(", "consumer", ")", "==", "TYPE_FSTORE", ")", ";", "if", "(", "!", "post_update_insn_p", "(", "producer", ")", ")", "return", "false", ";", "return", "reg_overlap_p", "(", "extract_base_reg", "(", "producer", ")", ",", "extract_mem_rtx", "(", "consumer", ")", ")", ";", "}", ""], "natrual_language": ["Check", "dependencies", "from", "EX", "to", "EX", "(", "ADDR_OUT", "-", ">", "ADDR_IN", ")", "."], "TS_V_token": ["nds32"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n10_ex_to_ex_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4022, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86FrameLowering", "::", "getWinEHFuncletFrameSize", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "unsigned", "CSSize", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "getCalleeSavedFrameSize", "(", ")", ";", "unsigned", "UsedSize", ";", "EHPersonality", "Personality", "=", "classifyEHPersonality", "(", "MF", ".", "getFunction", "(", ")", "->", "getPersonalityFn", "(", ")", ")", ";", "if", "(", "Personality", "==", "EHPersonality", "::", "CoreCLR", ")", "{", "UsedSize", "=", "getPSPSlotOffsetFromSP", "(", "MF", ")", "+", "SlotSize", ";", "}", "else", "{", "UsedSize", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getMaxCallFrameSize", "(", ")", ";", "}", "unsigned", "FrameSizeMinusRBP", "=", "alignTo", "(", "CSSize", "+", "UsedSize", ",", "getStackAlignment", "(", ")", ")", ";", "return", "FrameSizeMinusRBP", "-", "CSSize", ";", "}", ""], "natrual_language": ["Funclets", "only", "need", "to", "account", "for", "space", "for", "the", "callee", "saved", "registers", ",", "as", "the", "locals", "are", "accounted", "for", "in", "the", "parent", "'s", "stack", "frame", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86FrameLowering112", "Func": "getWinEHFuncletFrameSize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4023, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "cortex_a9_sched_adjust_cost", "(", "rtx_insn", "*", "insn", ",", "rtx", "link", ",", "rtx_insn", "*", "dep", ",", "int", "*", "cost", ")", "{", "switch", "(", "REG_NOTE_KIND", "(", "link", ")", ")", "{", "case", "REG_DEP_ANTI", ":", "*", "cost", "=", "0", ";", "return", "false", ";", "case", "REG_DEP_TRUE", ":", "case", "REG_DEP_OUTPUT", ":", "if", "(", "recog_memoized", "(", "insn", ")", ">=", "0", "&&", "recog_memoized", "(", "dep", ")", ">=", "0", ")", "{", "if", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "SET", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "SET_DEST", "(", "PATTERN", "(", "insn", ")", ")", ")", ")", "==", "MODE_FLOAT", "||", "GET_MODE_CLASS", "(", "GET_MODE", "(", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ")", ")", "==", "MODE_FLOAT", ")", "{", "enum", "attr_type", "attr_type_insn", "=", "get_attr_type", "(", "insn", ")", ";", "enum", "attr_type", "attr_type_dep", "=", "get_attr_type", "(", "dep", ")", ";", "if", "(", "REG_P", "(", "SET_DEST", "(", "PATTERN", "(", "insn", ")", ")", ")", "&&", "reg_set_p", "(", "SET_DEST", "(", "PATTERN", "(", "insn", ")", ")", ",", "dep", ")", ")", "{", "if", "(", "(", "attr_type_insn", "==", "TYPE_FMACS", "||", "attr_type_insn", "==", "TYPE_FMACD", ")", "&&", "(", "attr_type_dep", "==", "TYPE_FMACS", "||", "attr_type_dep", "==", "TYPE_FMACD", ")", ")", "{", "if", "(", "REG_NOTE_KIND", "(", "link", ")", "==", "REG_DEP_OUTPUT", ")", "*", "cost", "=", "insn_default_latency", "(", "dep", ")", "-", "3", ";", "else", "*", "cost", "=", "insn_default_latency", "(", "dep", ")", ";", "return", "false", ";", "}", "else", "{", "if", "(", "REG_NOTE_KIND", "(", "link", ")", "==", "REG_DEP_OUTPUT", ")", "*", "cost", "=", "insn_default_latency", "(", "dep", ")", "+", "1", ";", "else", "*", "cost", "=", "insn_default_latency", "(", "dep", ")", ";", "}", "return", "false", ";", "}", "}", "}", "}", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Adjust", "cost", "hook", "for", "Cortex", "A9", "."], "TS_V_token": ["arm", "0", "0", "0", "3", "1"], "File": "arm5", "Func": "cortex_a9_sched_adjust_cost", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4024, "Length": 261, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "sh_get_fdpic_reg_initial_val", "(", "void", ")", "{", "return", "get_hard_reg_initial_val", "(", "Pmode", ",", "PIC_REG", ")", ";", "}", ""], "natrual_language": ["Return", "an", "rtx", "holding", "the", "initial", "value", "of", "the", "FDPIC", "register", "(", "the", "FDPIC", "pointer", "passed", "in", "from", "the", "caller", ")", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "sh_get_fdpic_reg_initial_val", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4025, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_vms_init_libfuncs", "(", "void", ")", "{", "set_optab_libfunc", "(", "sdiv_optab", ",", "SImode", ",", "\"OTS$DIV_I\"", ")", ";", "set_optab_libfunc", "(", "sdiv_optab", ",", "DImode", ",", "\"OTS$DIV_L\"", ")", ";", "set_optab_libfunc", "(", "udiv_optab", ",", "SImode", ",", "\"OTS$DIV_UI\"", ")", ";", "set_optab_libfunc", "(", "udiv_optab", ",", "DImode", ",", "\"OTS$DIV_UL\"", ")", ";", "set_optab_libfunc", "(", "smod_optab", ",", "SImode", ",", "\"OTS$REM_I\"", ")", ";", "set_optab_libfunc", "(", "smod_optab", ",", "DImode", ",", "\"OTS$REM_L\"", ")", ";", "set_optab_libfunc", "(", "umod_optab", ",", "SImode", ",", "\"OTS$REM_UI\"", ")", ";", "set_optab_libfunc", "(", "umod_optab", ",", "DImode", ",", "\"OTS$REM_UL\"", ")", ";", "MEM_LIBFUNCS_INIT", ";", "}", ""], "natrual_language": ["Rename", "the", "division", "and", "modulus", "functions", "in", "VMS", "."], "TS_V_token": ["ia64", "\"OTS$DIV_I\"", "\"OTS$DIV_L\"", "\"OTS$DIV_UI\"", "\"OTS$DIV_UL\"", "\"OTS$REM_I\"", "\"OTS$REM_L\"", "\"OTS$REM_UI\"", "\"OTS$REM_UL\""], "File": "ia64", "Func": "ia64_vms_init_libfuncs", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4026, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LC3bAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "if", "(", "MI", "->", "isDebugValue", "(", ")", ")", "{", "SmallString", "<", "128", ">", "Str", ";", "raw_svector_ostream", "OS", "(", "Str", ")", ";", "PrintDebugValueComment", "(", "MI", ",", "OS", ")", ";", "return", ";", "}", "MCInst", "TmpInst0", ";", "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": ["LC3b", "LC3b", "128"], "File": "LC3bAsmPrinter", "Func": "EmitInstruction", "Target": "LC3b", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4027, "Length": 62, "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", "(", "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": "stormy16", "Func": "xstormy16_expand_call", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4028, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "instr_iterator", "skip", "(", "MachineBasicBlock", "*", "MBB", ",", "unsigned", "Index", ")", "{", "auto", "I", "=", "MBB", "->", "instr_begin", "(", ")", ";", "auto", "E", "=", "MBB", "->", "instr_end", "(", ")", ";", "unsigned", "Cur", "=", "0", ";", "while", "(", "I", "!=", "E", "&&", "Cur", "!=", "Index", ")", "++", "I", ",", "++", "Cur", ";", "return", "++", "I", ";", "}", ""], "natrual_language": ["Advance", "the", "Cursor", "position", "by", "the", "given", "number", "of", "bytes", "."], "TS_V_token": ["X86", "0"], "File": "X86EncodeLiterals", "Func": "skip", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4029, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "postKnownBits", "(", "Align", "Align", "=", "llvm", "::", "Align", "(", "1", ")", ")", "const", "{", "return", "std", "::", "max", "(", "Log2", "(", "std", "::", "max", "(", "PostAlign", ",", "Align", ")", ")", ",", "internalKnownBits", "(", ")", ")", ";", "}", ""], "natrual_language": ["Compute", "the", "number", "of", "known", "low", "bits", "of", "postOffset", "."], "TS_V_token": ["ARM", "1"], "File": "ARMBasicBlockInfo3", "Func": "postKnownBits", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4030, "Length": 38, "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": 4031, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "getTgtMemIntrinsic", "(", "IntrinsicInfo", "&", "Info", ",", "const", "CallInst", "&", "I", ",", "unsigned", "Intrinsic", ")", "const", "{", "const", "IntrinsicData", "*", "IntrData", "=", "getIntrinsicWithChain", "(", "Intrinsic", ")", ";", "if", "(", "!", "IntrData", ")", "return", "false", ";", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_W_CHAIN", ";", "Info", ".", "readMem", "=", "false", ";", "Info", ".", "writeMem", "=", "false", ";", "Info", ".", "vol", "=", "false", ";", "Info", ".", "offset", "=", "0", ";", "switch", "(", "IntrData", "->", "Type", ")", "{", "case", "EXPAND_FROM_MEM", ":", "{", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "0", ")", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVT", "(", "I", ".", "getType", "(", ")", ")", ";", "Info", ".", "align", "=", "1", ";", "Info", ".", "readMem", "=", "true", ";", "break", ";", "}", "case", "COMPRESS_TO_MEM", ":", "{", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "0", ")", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVT", "(", "I", ".", "getArgOperand", "(", "1", ")", "->", "getType", "(", ")", ")", ";", "Info", ".", "align", "=", "1", ";", "Info", ".", "writeMem", "=", "true", ";", "break", ";", "}", "case", "TRUNCATE_TO_MEM_VI8", ":", "case", "TRUNCATE_TO_MEM_VI16", ":", "case", "TRUNCATE_TO_MEM_VI32", ":", "{", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "0", ")", ";", "MVT", "VT", "=", "MVT", "::", "getVT", "(", "I", ".", "getArgOperand", "(", "1", ")", "->", "getType", "(", ")", ")", ";", "MVT", "ScalarVT", "=", "MVT", "::", "INVALID_SIMPLE_VALUE_TYPE", ";", "if", "(", "IntrData", "->", "Type", "==", "TRUNCATE_TO_MEM_VI8", ")", "ScalarVT", "=", "MVT", "::", "i8", ";", "else", "if", "(", "IntrData", "->", "Type", "==", "TRUNCATE_TO_MEM_VI16", ")", "ScalarVT", "=", "MVT", "::", "i16", ";", "else", "if", "(", "IntrData", "->", "Type", "==", "TRUNCATE_TO_MEM_VI32", ")", "ScalarVT", "=", "MVT", "::", "i32", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVectorVT", "(", "ScalarVT", ",", "VT", ".", "getVectorNumElements", "(", ")", ")", ";", "Info", ".", "align", "=", "1", ";", "Info", ".", "writeMem", "=", "true", ";", "break", ";", "}", "case", "STOREANT", ":", "{", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "0", ")", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVT", "(", "I", ".", "getArgOperand", "(", "1", ")", "->", "getType", "(", ")", ")", ";", "Info", ".", "align", "=", "Info", ".", "memVT", ".", "getSizeInBits", "(", ")", "/", "8", ";", "Info", ".", "writeMem", "=", "true", ";", "break", ";", "}", "default", ":", "return", "false", ";", "}", "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": ["X86", "X86", "ISD::INTRINSIC_W_CHAIN", "0", "0", "MVT::getVT", "1", "0", "MVT::getVT", "1", "1", "0", "MVT::getVT", "1", "MVT::INVALID_SIMPLE_VALUE_TYPE", "MVT::i8", "MVT::i16", "MVT::i32", "MVT::getVectorVT", "1", "0", "MVT::getVT", "1", "8"], "File": "X86ISelLowering148", "Func": "getTgtMemIntrinsic", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4032, "Length": 362, "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": 4033, "Length": 84, "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": 4034, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "mips16e_output_save_restore", "(", "rtx", "pattern", ",", "HOST_WIDE_INT", "adjust", ")", "{", "static", "char", "buffer", "[", "300", "]", ";", "struct", "mips16e_save_restore_info", "info", ";", "unsigned", "int", "i", ",", "end", ";", "char", "*", "s", ";", "if", "(", "!", "mips16e_save_restore_pattern_p", "(", "pattern", ",", "adjust", ",", "&", "info", ")", ")", "gcc_unreachable", "(", ")", ";", "s", "=", "strcpy", "(", "buffer", ",", "adjust", ">", "0", "?", "\"restore\\t\"", ":", "\"save\\t\"", ")", ";", "s", "+=", "strlen", "(", "s", ")", ";", "if", "(", "info", ".", "nargs", ">", "1", ")", "s", "+=", "sprintf", "(", "s", ",", "\"%s-%s,\"", ",", "reg_names", "[", "GP_ARG_FIRST", "]", ",", "reg_names", "[", "GP_ARG_FIRST", "+", "info", ".", "nargs", "-", "1", "]", ")", ";", "else", "if", "(", "info", ".", "nargs", "==", "1", ")", "s", "+=", "sprintf", "(", "s", ",", "\"%s,\"", ",", "reg_names", "[", "GP_ARG_FIRST", "]", ")", ";", "s", "+=", "sprintf", "(", "s", ",", "\"%d\"", ",", "(", "int", ")", "info", ".", "size", ")", ";", "if", "(", "BITSET_P", "(", "info", ".", "mask", ",", "16", ")", ")", "s", "+=", "sprintf", "(", "s", ",", "\",%s\"", ",", "reg_names", "[", "GP_REG_FIRST", "+", "16", "]", ")", ";", "if", "(", "BITSET_P", "(", "info", ".", "mask", ",", "17", ")", ")", "s", "+=", "sprintf", "(", "s", ",", "\",%s\"", ",", "reg_names", "[", "GP_REG_FIRST", "+", "17", "]", ")", ";", "end", "=", "ARRAY_SIZE", "(", "mips16e_s2_s8_regs", ")", ";", "i", "=", "mips16e_find_first_register", "(", "info", ".", "mask", ",", "mips16e_s2_s8_regs", ",", "end", ")", ";", "if", "(", "i", "<", "end", ")", "s", "=", "mips16e_add_register_range", "(", "s", ",", "mips16e_s2_s8_regs", "[", "end", "-", "1", "]", ",", "mips16e_s2_s8_regs", "[", "i", "]", ")", ";", "end", "=", "ARRAY_SIZE", "(", "mips16e_a0_a3_regs", ")", ";", "i", "=", "mips16e_find_first_register", "(", "info", ".", "mask", ",", "mips16e_a0_a3_regs", ",", "end", ")", ";", "if", "(", "i", "<", "end", ")", "s", "=", "mips16e_add_register_range", "(", "s", ",", "mips16e_a0_a3_regs", "[", "i", "]", ",", "mips16e_a0_a3_regs", "[", "end", "-", "1", "]", ")", ";", "if", "(", "BITSET_P", "(", "info", ".", "mask", ",", "RETURN_ADDR_REGNUM", ")", ")", "s", "+=", "sprintf", "(", "s", ",", "\",%s\"", ",", "reg_names", "[", "RETURN_ADDR_REGNUM", "]", ")", ";", "return", "buffer", ";", "}", ""], "natrual_language": ["Return", "the", "assembly", "instruction", "for", "a", "MIPS16e", "SAVE", "or", "RESTORE", "instruction", ".", "PATTERN", "and", "ADJUST", "are", "as", "for", "mips16e_save_restore_pattern_p", "."], "TS_V_token": ["mips", "300", "0", "\"restore\\t\"", "\"save\\t\"", "1", "\"%s-%s,\"", "1", "1", "\"%s,\"", "\"%d\"", "16", "\",%s\"", "16", "17", "\",%s\"", "17", "1", "1", "\",%s\""], "File": "mips", "Func": "mips16e_output_save_restore", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4035, "Length": 317, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_builtin_mpx_function", "(", "unsigned", "fcode", ")", "{", "switch", "(", "fcode", ")", "{", "case", "BUILT_IN_CHKP_BNDMK", ":", "return", "ix86_builtins", "[", "IX86_BUILTIN_BNDMK", "]", ";", "case", "BUILT_IN_CHKP_BNDSTX", ":", "return", "ix86_builtins", "[", "IX86_BUILTIN_BNDSTX", "]", ";", "case", "BUILT_IN_CHKP_BNDLDX", ":", "return", "ix86_builtins", "[", "IX86_BUILTIN_BNDLDX", "]", ";", "case", "BUILT_IN_CHKP_BNDCL", ":", "return", "ix86_builtins", "[", "IX86_BUILTIN_BNDCL", "]", ";", "case", "BUILT_IN_CHKP_BNDCU", ":", "return", "ix86_builtins", "[", "IX86_BUILTIN_BNDCU", "]", ";", "case", "BUILT_IN_CHKP_BNDRET", ":", "return", "ix86_builtins", "[", "IX86_BUILTIN_BNDRET", "]", ";", "case", "BUILT_IN_CHKP_INTERSECT", ":", "return", "ix86_builtins", "[", "IX86_BUILTIN_BNDINT", "]", ";", "case", "BUILT_IN_CHKP_NARROW", ":", "return", "ix86_builtins", "[", "IX86_BUILTIN_BNDNARROW", "]", ";", "case", "BUILT_IN_CHKP_SIZEOF", ":", "return", "ix86_builtins", "[", "IX86_BUILTIN_SIZEOF", "]", ";", "case", "BUILT_IN_CHKP_EXTRACT_LOWER", ":", "return", "ix86_builtins", "[", "IX86_BUILTIN_BNDLOWER", "]", ";", "case", "BUILT_IN_CHKP_EXTRACT_UPPER", ":", "return", "ix86_builtins", "[", "IX86_BUILTIN_BNDUPPER", "]", ";", "default", ":", "return", "NULL_TREE", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Return", "function", "decl", "for", "target", "specific", "builtin", "for", "given", "MPX", "builtin", "passed", "i", "FCODE", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_builtin_mpx_function", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4036, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XNCMAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "XNCMMCInstLower", "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": ["XNCM", "XNCM", "XNCM"], "File": "XNCMAsmPrinter", "Func": "EmitInstruction", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4037, "Length": 43, "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", "->", "isBundle", "(", ")", ")", "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": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "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": "MipsAsmPrinter", "Func": "emitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4038, "Length": 504, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "F2003fSubtarget", "*", "getSubtargetImpl", "(", "const", "Function", "&", "F", ")", "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": ["F2003f", "F2003f"], "File": "F2003fTargetMachine", "Func": "getSubtargetImpl", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4039, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_expand_fpsr_fpcr_getter", "(", "enum", "insn_code", "icode", ",", "machine_mode", "mode", ",", "rtx", "target", ")", "{", "expand_operand", "op", ";", "create_output_operand", "(", "&", "op", ",", "target", ",", "mode", ")", ";", "expand_insn", "(", "icode", ",", "1", ",", "&", "op", ")", ";", "return", "op", ".", "value", ";", "}", ""], "natrual_language": ["Expand", "a", "fpsr", "or", "fpcr", "getter", "(", "depending", "on", "UNSPEC", ")", "using", "MODE", ".", "Return", "the", "target", "."], "TS_V_token": ["aarch64", "1"], "File": "aarch64-builtins", "Func": "aarch64_expand_fpsr_fpcr_getter", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4040, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SICTargetMachine", "&", "getTargetMachine", "(", ")", "{", "return", "static_cast", "<", "const", "SICTargetMachine", "&", ">", "(", "TM", ")", ";", "}", ""], "natrual_language": ["Return", "the", "target", "machine", "(", "if", "available", ")", "."], "TS_V_token": ["SIC", "SIC", "SIC"], "File": "SICISelDAGToDAG", "Func": "getTargetMachine", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4041, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCInstrInfo", "::", "insertNoop", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "DebugLoc", "DL", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "PPC", "::", "NOP", ")", ")", ";", "}", ""], "natrual_language": ["Insert", "a", "noop", "into", "the", "instruction", "stream", "at", "the", "specified", "point", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::NOP"], "File": "PPCInstrInfo107", "Func": "insertNoop", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4042, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc_emit_call_insn", "(", "rtx", "pat", ",", "rtx", "addr", ")", "{", "rtx_insn", "*", "insn", ";", "insn", "=", "emit_call_insn", "(", "pat", ")", ";", "if", "(", "TARGET_VXWORKS_RTP", "&&", "flag_pic", "&&", "GET_CODE", "(", "addr", ")", "==", "SYMBOL_REF", "&&", "(", "SYMBOL_REF_DECL", "(", "addr", ")", "?", "!", "targetm", ".", "binds_local_p", "(", "SYMBOL_REF_DECL", "(", "addr", ")", ")", ":", "!", "SYMBOL_REF_LOCAL_P", "(", "addr", ")", ")", ")", "{", "use_reg", "(", "&", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ",", "pic_offset_table_rtx", ")", ";", "crtl", "->", "uses_pic_offset_table", "=", "1", ";", "}", "}", ""], "natrual_language": ["Emit", "a", "call", "instruction", "with", "the", "pattern", "given", "by", "PAT", ".", "ADDR", "is", "the", "address", "of", "the", "call", "target", "."], "TS_V_token": ["sparc", "1"], "File": "sparc", "Func": "sparc_emit_call_insn", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4043, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86CmovConverterPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "if", "(", "!", "EnableCmovConverter", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** \"", "<<", "getPassName", "(", ")", "<<", "\" : \"", "<<", "MF", ".", "getName", "(", ")", "<<", "\"**********\\n\"", ")", ";", "bool", "Changed", "=", "false", ";", "MLI", "=", "&", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "const", "TargetSubtargetInfo", "&", "STI", "=", "MF", ".", "getSubtarget", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "TII", "=", "STI", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "TSchedModel", ".", "init", "(", "&", "STI", ")", ";", "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", "::", "none_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": "X86CmovConversion19", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4044, "Length": 355, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_branch", "(", "rtx_insn", "*", "insn", ")", "{", "return", "(", "CALL_P", "(", "insn", ")", "||", "JUMP_P", "(", "insn", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "insn", "is", "a", "branch", "instruction", "."], "TS_V_token": ["i386"], "File": "i3865", "Func": "is_branch", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4045, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "function_arg_32", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "machine_mode", "mode", ",", "machine_mode", "orig_mode", ",", "const_tree", "type", ",", "HOST_WIDE_INT", "bytes", ",", "HOST_WIDE_INT", "words", ")", "{", "bool", "error_p", "=", "false", ";", "if", "(", "mode", "==", "VOIDmode", ")", "return", "constm1_rtx", ";", "if", "(", "TARGET_IAMCU", ")", "{", "if", "(", "!", "VECTOR_MODE_P", "(", "mode", ")", "&&", "bytes", "<=", "8", ")", "goto", "pass_in_reg", ";", "return", "NULL_RTX", ";", "}", "switch", "(", "mode", ")", "{", "default", ":", "break", ";", "case", "E_BLKmode", ":", "if", "(", "bytes", "<", "0", ")", "break", ";", "case", "E_DImode", ":", "case", "E_SImode", ":", "case", "E_HImode", ":", "case", "E_QImode", ":", "pass_in_reg", ":", "if", "(", "words", "<=", "cum", "->", "nregs", ")", "{", "int", "regno", "=", "cum", "->", "regno", ";", "if", "(", "cum", "->", "fastcall", ")", "{", "if", "(", "mode", "==", "BLKmode", "||", "mode", "==", "DImode", "||", "(", "type", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", ")", ")", "break", ";", "if", "(", "regno", "==", "AX_REG", ")", "regno", "=", "CX_REG", ";", "}", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "}", "break", ";", "case", "E_DFmode", ":", "if", "(", "cum", "->", "float_in_sse", "==", "-", "1", ")", "error_p", "=", "true", ";", "if", "(", "cum", "->", "float_in_sse", "<", "2", ")", "break", ";", "case", "E_SFmode", ":", "if", "(", "cum", "->", "float_in_sse", "==", "-", "1", ")", "error_p", "=", "true", ";", "if", "(", "cum", "->", "float_in_sse", "<", "1", ")", "break", ";", "case", "E_TImode", ":", "case", "E_V16QImode", ":", "case", "E_V8HImode", ":", "case", "E_V4SImode", ":", "case", "E_V2DImode", ":", "case", "E_V8HFmode", ":", "case", "E_V4SFmode", ":", "case", "E_V2DFmode", ":", "if", "(", "!", "type", "||", "!", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "if", "(", "cum", "->", "sse_nregs", ")", "return", "gen_reg_or_parallel", "(", "mode", ",", "orig_mode", ",", "cum", "->", "sse_regno", "+", "FIRST_SSE_REG", ")", ";", "}", "break", ";", "case", "E_OImode", ":", "case", "E_XImode", ":", "gcc_unreachable", "(", ")", ";", "case", "E_V64QImode", ":", "case", "E_V32HImode", ":", "case", "E_V16SImode", ":", "case", "E_V8DImode", ":", "case", "E_V32HFmode", ":", "case", "E_V16SFmode", ":", "case", "E_V8DFmode", ":", "case", "E_V16HFmode", ":", "case", "E_V8SFmode", ":", "case", "E_V8SImode", ":", "case", "E_V32QImode", ":", "case", "E_V16HImode", ":", "case", "E_V4DFmode", ":", "case", "E_V4DImode", ":", "if", "(", "!", "type", "||", "!", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "if", "(", "cum", "->", "sse_nregs", ")", "return", "gen_reg_or_parallel", "(", "mode", ",", "orig_mode", ",", "cum", "->", "sse_regno", "+", "FIRST_SSE_REG", ")", ";", "}", "break", ";", "case", "E_V8QImode", ":", "case", "E_V4HImode", ":", "case", "E_V4HFmode", ":", "case", "E_V2SImode", ":", "case", "E_V2SFmode", ":", "case", "E_V1TImode", ":", "case", "E_V1DImode", ":", "if", "(", "!", "type", "||", "!", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "if", "(", "cum", "->", "mmx_nregs", ")", "return", "gen_reg_or_parallel", "(", "mode", ",", "orig_mode", ",", "cum", "->", "mmx_regno", "+", "FIRST_MMX_REG", ")", ";", "}", "break", ";", "}", "if", "(", "error_p", ")", "{", "cum", "->", "float_in_sse", "=", "0", ";", "error", "(", "\"calling %qD with SSE calling convention without \"", "\"SSE/SSE2 enabled\"", ",", "cum", "->", "decl", ")", ";", "sorry", "(", "\"this is a GCC bug that can be worked around by adding \"", "\"attribute used to function called\"", ")", ";", "}", "return", "NULL_RTX", ";", "}", ""], "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", ")", "."], "TS_V_token": ["i386", "8", "0", "1", "2", "1", "1", "0", "\"calling %qD with SSE calling convention without \"", "\"SSE/SSE2 enabled\"", "\"this is a GCC bug that can be worked around by adding \"", "\"attribute used to function called\""], "File": "i386", "Func": "function_arg_32", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4046, "Length": 449, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_expand_sve_vec_perm", "(", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ",", "rtx", "sel", ")", "{", "machine_mode", "data_mode", "=", "GET_MODE", "(", "target", ")", ";", "machine_mode", "sel_mode", "=", "GET_MODE", "(", "sel", ")", ";", "int", "nunits", "=", "GET_MODE_NUNITS", "(", "sel_mode", ")", ".", "to_constant", "(", ")", ";", "rtx", "sel_reg", "=", "force_reg", "(", "sel_mode", ",", "sel", ")", ";", "if", "(", "GET_CODE", "(", "sel", ")", "==", "CONST_VECTOR", "&&", "aarch64_const_vec_all_in_range_p", "(", "sel", ",", "0", ",", "nunits", "-", "1", ")", ")", "{", "emit_unspec2", "(", "target", ",", "UNSPEC_TBL", ",", "op0", ",", "sel_reg", ")", ";", "return", ";", "}", "if", "(", "rtx_equal_p", "(", "op0", ",", "op1", ")", ")", "{", "rtx", "max_sel", "=", "aarch64_simd_gen_const_vector_dup", "(", "sel_mode", ",", "nunits", "-", "1", ")", ";", "rtx", "sel_mod", "=", "expand_simple_binop", "(", "sel_mode", ",", "AND", ",", "sel_reg", ",", "max_sel", ",", "NULL", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "emit_unspec2", "(", "target", ",", "UNSPEC_TBL", ",", "op0", ",", "sel_mod", ")", ";", "return", ";", "}", "rtx", "res0", "=", "gen_reg_rtx", "(", "data_mode", ")", ";", "rtx", "res1", "=", "gen_reg_rtx", "(", "data_mode", ")", ";", "rtx", "neg_num_elems", "=", "aarch64_simd_gen_const_vector_dup", "(", "sel_mode", ",", "-", "nunits", ")", ";", "if", "(", "GET_CODE", "(", "sel", ")", "!=", "CONST_VECTOR", "||", "!", "aarch64_const_vec_all_in_range_p", "(", "sel", ",", "0", ",", "2", "*", "nunits", "-", "1", ")", ")", "{", "rtx", "max_sel", "=", "aarch64_simd_gen_const_vector_dup", "(", "sel_mode", ",", "2", "*", "nunits", "-", "1", ")", ";", "sel_reg", "=", "expand_simple_binop", "(", "sel_mode", ",", "AND", ",", "sel_reg", ",", "max_sel", ",", "NULL", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "}", "emit_unspec2", "(", "res0", ",", "UNSPEC_TBL", ",", "op0", ",", "sel_reg", ")", ";", "rtx", "sel_sub", "=", "expand_simple_binop", "(", "sel_mode", ",", "PLUS", ",", "sel_reg", ",", "neg_num_elems", ",", "NULL", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "emit_unspec2", "(", "res1", ",", "UNSPEC_TBL", ",", "op1", ",", "sel_sub", ")", ";", "if", "(", "GET_MODE_CLASS", "(", "data_mode", ")", "==", "MODE_VECTOR_INT", ")", "emit_insn", "(", "gen_rtx_SET", "(", "target", ",", "gen_rtx_IOR", "(", "data_mode", ",", "res0", ",", "res1", ")", ")", ")", ";", "else", "emit_unspec2", "(", "target", ",", "UNSPEC_IORF", ",", "res0", ",", "res1", ")", ";", "}", ""], "natrual_language": ["Expand", "an", "SVE", "vec_perm", "with", "the", "given", "operands", "."], "TS_V_token": ["aarch64", "0", "1", "1", "0", "0", "2", "1", "2", "1", "0", "0"], "File": "aarch64", "Func": "aarch64_expand_sve_vec_perm", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4047, "Length": 311, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLoweringBase", "::", "LegalizeTypeAction", "getPreferredVectorAction", "(", "EVT", "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": ["SystemZ", "8", "0"], "File": "SystemZISelLowering10", "Func": "getPreferredVectorAction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4048, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_sched_finish", "(", "FILE", "*", "dump", ",", "int", "sched_verbose", ")", "{", "int", "n_groups", ";", "if", "(", "sched_verbose", ")", "fprintf", "(", "dump", ",", "\"=== Finishing schedule.\\n\"", ")", ";", "if", "(", "reload_completed", "&&", "rs6000_sched_groups", ")", "{", "if", "(", "sel_sched_p", "(", ")", ")", "return", ";", "if", "(", "rs6000_sched_insert_nops", "==", "sched_finish_none", ")", "return", ";", "if", "(", "rs6000_sched_insert_nops", "==", "sched_finish_pad_groups", ")", "n_groups", "=", "pad_groups", "(", "dump", ",", "sched_verbose", ",", "current_sched_info", "->", "prev_head", ",", "current_sched_info", "->", "next_tail", ")", ";", "else", "n_groups", "=", "redefine_groups", "(", "dump", ",", "sched_verbose", ",", "current_sched_info", "->", "prev_head", ",", "current_sched_info", "->", "next_tail", ")", ";", "if", "(", "sched_verbose", ">=", "6", ")", "{", "fprintf", "(", "dump", ",", "\"ngroups = %d\\n\"", ",", "n_groups", ")", ";", "print_rtl", "(", "dump", ",", "current_sched_info", "->", "prev_head", ")", ";", "fprintf", "(", "dump", ",", "\"Done finish_sched\\n\"", ")", ";", "}", "}", "}", ""], "natrual_language": ["The", "following", "function", "is", "called", "at", "the", "end", "of", "scheduling", "BB", ".", "After", "reload", ",", "it", "inserts", "nops", "at", "insn", "group", "bundling", "."], "TS_V_token": ["powerpcspe", "\"=== Finishing schedule.\\n\"", "6", "\"ngroups = %d\\n\"", "\"Done finish_sched\\n\""], "File": "powerpcspe", "Func": "rs6000_sched_finish", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4049, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMLoc", "getStartLoc", "(", ")", "const", "{", "return", "StartLoc", ";", "}", ""], "natrual_language": ["getStartLoc", "-", "Get", "the", "location", "of", "the", "first", "token", "of", "this", "operand", "."], "TS_V_token": ["OR1K"], "File": "OR1KAsmParser", "Func": "getStartLoc", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4050, "Length": 10, "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", ";", "DebugLoc", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "int", "Size", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "SP", "::", "ADJCALLSTACKDOWN", ")", "Size", "=", "-", "Size", ";", "const", "SparcInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "SparcInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "if", "(", "Size", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", ".", "get", "(", "SP", "::", "ADDri", ")", ",", "SP", "::", "O6", ")", ".", "addReg", "(", "SP", "::", "O6", ")", ".", "addImm", "(", "Size", ")", ";", "}", "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": ["Sparc", "Sparc", "0", "SP::ADJCALLSTACKDOWN", "Sparc", "Sparc", "SP::ADDri", "SP::O6", "SP::O6"], "File": "SparcFrameLowering3", "Func": "eliminateCallFramePseudoInstr", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4051, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"AArch64 Conditional Compares\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64", "\"AArch64 Conditional Compares\""], "File": "AArch64ConditionalCompares (2)", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4052, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ia64_expand_vecint_compare", "(", "enum", "rtx_code", "code", ",", "enum", "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", ";", "t1", "=", "gen_reg_rtx", "(", "V2SImode", ")", ";", "emit_insn", "(", "gen_subv2si3", "(", "t1", ",", "op0", ",", "op1", ")", ")", ";", "mask", "=", "GEN_INT", "(", "-", "0x80000000", ")", ";", "mask", "=", "gen_rtx_CONST_VECTOR", "(", "V2SImode", ",", "gen_rtvec", "(", "2", ",", "mask", ",", "mask", ")", ")", ";", "mask", "=", "force_reg", "(", "V2SImode", ",", "mask", ")", ";", "t2", "=", "gen_reg_rtx", "(", "V2SImode", ")", ";", "emit_insn", "(", "gen_andv2si3", "(", "t2", ",", "op0", ",", "mask", ")", ")", ";", "x", "=", "gen_reg_rtx", "(", "V2SImode", ")", ";", "emit_insn", "(", "gen_xorv2si3", "(", "x", ",", "t1", ",", "t2", ")", ")", ";", "code", "=", "GT", ";", "op0", "=", "x", ";", "op1", "=", "CONST0_RTX", "(", "mode", ")", ";", "}", "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": "ia643", "Func": "ia64_expand_vecint_compare", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4053, "Length": 341, "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": 4054, "Length": 469, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "PPCTargetLowering", "::", "shouldExpandAtomicRMWInIR", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "unsigned", "Size", "=", "AI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "EnableQuadwordAtomics", "&&", "Subtarget", ".", "hasQuadwordAtomics", "(", ")", "&&", "Size", "==", "128", ")", "return", "AtomicExpansionKind", "::", "MaskedIntrinsic", ";", "return", "TargetLowering", "::", "shouldExpandAtomicRMWInIR", "(", "AI", ")", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "IR-level", "AtomicExpand", "pass", "should", "expand", "the", "given", "AtomicRMW", ",", "if", "at", "all", "."], "TS_V_token": ["PowerPC", "PPC", "128"], "File": "PPCISelLowering109", "Func": "shouldExpandAtomicRMWInIR", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4055, "Length": 54, "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": 4056, "Length": 434, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "rs6000_address_for_fpconvert", "(", "rtx", "x", ")", "{", "int", "strict_p", "=", "(", "reload_in_progress", "||", "reload_completed", ")", ";", "rtx", "addr", ";", "gcc_assert", "(", "MEM_P", "(", "x", ")", ")", ";", "addr", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "!", "legitimate_indirect_address_p", "(", "addr", ",", "strict_p", ")", "&&", "!", "legitimate_indexed_address_p", "(", "addr", ",", "strict_p", ")", ")", "{", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PRE_INC", "||", "GET_CODE", "(", "addr", ")", "==", "PRE_DEC", ")", "{", "rtx", "reg", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "HOST_WIDE_INT", "size", "=", "GET_MODE_SIZE", "(", "GET_MODE", "(", "x", ")", ")", ";", "rtx", "size_rtx", "=", "GEN_INT", "(", "(", "GET_CODE", "(", "addr", ")", "==", "PRE_DEC", ")", "?", "-", "size", ":", "size", ")", ";", "gcc_assert", "(", "REG_P", "(", "reg", ")", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "reg", ",", "reg", ",", "size_rtx", ")", ")", ";", "addr", "=", "reg", ";", "}", "else", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PRE_MODIFY", ")", "{", "rtx", "reg", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "rtx", "expr", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "gcc_assert", "(", "REG_P", "(", "reg", ")", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "expr", ")", "==", "PLUS", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "reg", ",", "XEXP", "(", "expr", ",", "0", ")", ",", "XEXP", "(", "expr", ",", "1", ")", ")", ")", ";", "addr", "=", "reg", ";", "}", "x", "=", "replace_equiv_address", "(", "x", ",", "copy_addr_to_reg", "(", "addr", ")", ")", ";", "}", "return", "x", ";", "}", ""], "natrual_language": ["Given", "a", "memory", "reference", ",", "if", "it", "is", "not", "a", "reg", "or", "reg+reg", "addressing", ",", "convert", "to", "such", "a", "form", "to", "deal", "with", "memory", "reference", "instructions", "like", "STFIWX", "that", "only", "take", "reg+reg", "addressing", "."], "TS_V_token": ["rs6000", "0", "0", "0", "1", "0", "1"], "File": "rs60004", "Func": "rs6000_address_for_fpconvert", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4057, "Length": 231, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Mips Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"Mips Assembly Printer\""], "File": "MipsAsmPrinter12", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4058, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "VEFrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "FrameReg", ")", "const", "{", "const", "VESubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "VESubtarget", ">", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "VERegisterInfo", "*", "RegInfo", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "const", "VEMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "VEMachineFunctionInfo", ">", "(", ")", ";", "bool", "isFixed", "=", "MFI", ".", "isFixedObjectIndex", "(", "FI", ")", ";", "bool", "UseFP", "=", "true", ";", "if", "(", "FuncInfo", "->", "isLeafProc", "(", ")", ")", "{", "UseFP", "=", "false", ";", "}", "else", "if", "(", "isFixed", ")", "{", "UseFP", "=", "true", ";", "}", "else", "if", "(", "RegInfo", "->", "needsStackRealignment", "(", "MF", ")", ")", "{", "UseFP", "=", "false", ";", "}", "int64_t", "FrameOffset", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectOffset", "(", "FI", ")", ";", "if", "(", "UseFP", ")", "{", "FrameReg", "=", "RegInfo", "->", "getFrameRegister", "(", "MF", ")", ";", "return", "FrameOffset", ";", "}", "FrameReg", "=", "VE", "::", "SX11", ";", "return", "FrameOffset", "+", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ";", "}", ""], "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", "VE", "VE::SX11"], "File": "VEFrameLowering3", "Func": "getFrameIndexReference", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4059, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "MMIX", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["MMIX", "MMIX::NumTargetFixupKinds"], "File": "MMIXAsmBackend", "Func": "getNumFixupKinds", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4060, "Length": 13, "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", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "DADDu", ":", "Mips", "::", "ADDu", ";", "unsigned", "ADDiu", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "DADDiu", ":", "Mips", "::", "ADDiu", ";", "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", "Mips::DADDu", "Mips::ADDu", "Mips::DADDiu", "Mips::ADDiu", "0", "16"], "File": "MipsSEInstrInfo14", "Func": "adjustStackPtr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4061, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "emit_fusion_p9_store", "(", "rtx", "mem", ",", "rtx", "reg", ",", "rtx", "tmp_reg", ")", "{", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "reg", ")", ";", "rtx", "hi", ";", "rtx", "lo", ";", "rtx", "addr", ";", "const", "char", "*", "store_string", ";", "int", "r", ";", "if", "(", "GET_CODE", "(", "reg", ")", "==", "SUBREG", ")", "{", "gcc_assert", "(", "SUBREG_BYTE", "(", "reg", ")", "==", "0", ")", ";", "reg", "=", "SUBREG_REG", "(", "reg", ")", ";", "}", "if", "(", "!", "REG_P", "(", "reg", ")", ")", "fatal_insn", "(", "\"emit_fusion_p9_store, bad reg #1\"", ",", "reg", ")", ";", "r", "=", "REGNO", "(", "reg", ")", ";", "if", "(", "FP_REGNO_P", "(", "r", ")", ")", "{", "if", "(", "mode", "==", "SFmode", ")", "store_string", "=", "\"stfs\"", ";", "else", "if", "(", "mode", "==", "DFmode", ")", "store_string", "=", "\"stfd\"", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "else", "if", "(", "INT_REGNO_P", "(", "r", ")", ")", "{", "switch", "(", "mode", ")", "{", "case", "QImode", ":", "store_string", "=", "\"stb\"", ";", "break", ";", "case", "HImode", ":", "store_string", "=", "\"sth\"", ";", "break", ";", "case", "SImode", ":", "case", "SFmode", ":", "store_string", "=", "\"stw\"", ";", "break", ";", "case", "DImode", ":", "case", "DFmode", ":", "if", "(", "!", "TARGET_POWERPC64", ")", "gcc_unreachable", "(", ")", ";", "store_string", "=", "\"std\"", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "fatal_insn", "(", "\"emit_fusion_p9_store, bad reg #2\"", ",", "reg", ")", ";", "if", "(", "!", "MEM_P", "(", "mem", ")", ")", "fatal_insn", "(", "\"emit_fusion_p9_store not MEM\"", ",", "mem", ")", ";", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "fusion_split_address", "(", "addr", ",", "&", "hi", ",", "&", "lo", ")", ";", "emit_fusion_addis", "(", "tmp_reg", ",", "hi", ",", "\"power9 store fusion\"", ",", "GET_MODE_NAME", "(", "mode", ")", ")", ";", "emit_fusion_load_store", "(", "reg", ",", "tmp_reg", ",", "lo", ",", "store_string", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Return", "a", "string", "to", "fuse", "an", "addis", "instruction", "with", "a", "store", "using", "extended", "fusion", ".", "The", "address", "that", "is", "used", "is", "the", "logical", "address", "that", "was", "formed", "during", "peephole2", ":", "(", "lo_sum", "(", "high", ")", "(", "low-part", ")", ")", "The", "code", "is", "complicated", ",", "so", "we", "call", "output_asm_insn", "directly", ",", "and", "just", "return", "``", "''", "."], "TS_V_token": ["rs6000", "0", "\"emit_fusion_p9_store, bad reg #1\"", "\"stfs\"", "\"stfd\"", "\"stb\"", "\"sth\"", "\"stw\"", "\"std\"", "\"emit_fusion_p9_store, bad reg #2\"", "\"emit_fusion_p9_store not MEM\"", "0", "\"power9 store fusion\"", "\"\""], "File": "rs60005", "Func": "emit_fusion_p9_store", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4062, "Length": 271, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86VectorTargetTransformInfo", "::", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ")", "const", "{", "std", "::", "pair", "<", "unsigned", ",", "MVT", ">", "LT", "=", "getTypeLegalizationCost", "(", "Ty", ")", ";", "int", "ISD", "=", "InstructionOpcodeToISD", "(", "Opcode", ")", ";", "assert", "(", "ISD", "&&", "\"Invalid opcode\"", ")", ";", "const", "X86Subtarget", "&", "ST", "=", "TLI", "->", "getTargetMachine", "(", ")", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "static", "const", "X86CostTblEntry", "AVX1CostTable", "[", "]", "=", "{", "{", "ISD", "::", "MUL", ",", "MVT", "::", "v8i32", ",", "4", "}", ",", "{", "ISD", "::", "SUB", ",", "MVT", "::", "v8i32", ",", "4", "}", ",", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v8i32", ",", "4", "}", ",", "{", "ISD", "::", "MUL", ",", "MVT", "::", "v4i64", ",", "4", "}", ",", "{", "ISD", "::", "SUB", ",", "MVT", "::", "v4i64", ",", "4", "}", ",", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v4i64", ",", "4", "}", ",", "}", ";", "if", "(", "ST", ".", "hasAVX", "(", ")", ")", "{", "int", "Idx", "=", "FindInTable", "(", "AVX1CostTable", ",", "array_lengthof", "(", "AVX1CostTable", ")", ",", "ISD", ",", "LT", ".", "second", ")", ";", "if", "(", "Idx", "!=", "-", "1", ")", "return", "LT", ".", "first", "*", "AVX1CostTable", "[", "Idx", "]", ".", "Cost", ";", "}", "return", "VectorTargetTransformImpl", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ")", ";", "}", ""], "natrual_language": ["This", "is", "an", "approximation", "of", "reciprocal", "throughput", "of", "a", "math/logic", "op", "."], "TS_V_token": ["X86", "X86", "\"Invalid opcode\"", "X86", "X86", "X86", "ISD::MUL", "MVT::v8i32", "4", "ISD::SUB", "MVT::v8i32", "4", "ISD::ADD", "MVT::v8i32", "4", "ISD::MUL", "MVT::v4i64", "4", "ISD::SUB", "MVT::v4i64", "4", "ISD::ADD", "MVT::v4i64", "4", "1"], "File": "X86ISelLowering142", "Func": "getArithmeticInstrCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4063, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"DLX Delay Slot Filler\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["DLX", "\"DLX Delay Slot Filler\""], "File": "DLXDelaySlotFiller", "Func": "getPassName", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4064, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "llvm", "::", "FastISel", "*", "ARM64", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "funcInfo", ",", "const", "TargetLibraryInfo", "*", "libInfo", ")", "{", "return", "new", "ARM64FastISel", "(", "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": ["ARM64", "ARM64::createFastISel", "ARM64"], "File": "ARM64FastISel", "Func": "createFastISel", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4065, "Length": 28, "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", "(", "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": "rs6000-logue", "Func": "load_cr_save", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4066, "Length": 101, "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": 4067, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_call", "(", "rtx", "*", "operands", ")", "{", "gcc_assert", "(", "!", "arm_arch5t", ")", ";", "if", "(", "REGNO", "(", "operands", "[", "0", "]", ")", "==", "LR_REGNUM", ")", "{", "operands", "[", "0", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "IP_REGNUM", ")", ";", "output_asm_insn", "(", "\"mov%?\\t%0, %|lr\"", ",", "operands", ")", ";", "}", "output_asm_insn", "(", "\"mov%?\\t%|lr, %|pc\"", ",", "operands", ")", ";", "if", "(", "TARGET_INTERWORK", "||", "arm_arch4t", ")", "output_asm_insn", "(", "\"bx%?\\t%0\"", ",", "operands", ")", ";", "else", "output_asm_insn", "(", "\"mov%?\\t%|pc, %0\"", ",", "operands", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["INSN", "is", "either", "a", "function", "call", "or", "a", "millicode", "call", ".", "It", "may", "have", "an", "unconditional", "jump", "in", "its", "delay", "slot", ".", "CALL_DEST", "is", "the", "routine", "we", "are", "calling", "."], "TS_V_token": ["arm", "0", "0", "\"mov%?\\t%0, %|lr\"", "\"mov%?\\t%|lr, %|pc\"", "\"bx%?\\t%0\"", "\"mov%?\\t%|pc, %0\"", "\"\""], "File": "arm", "Func": "output_call", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4068, "Length": 81, "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", ">=", "INT32_MIN", "&&", "Value", "<=", "UINT32_MAX", ")", "&&", "\"expression value must be representable in 32 bits\"", ")", ";", "}", "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::GPRRegClassID"], "File": "ARMAsmParser101", "Func": "validateTargetOperandClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4069, "Length": 176, "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": 4070, "Length": 133, "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": "X86InstrInfo71", "Func": "isStoreToStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4071, "Length": 73, "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", ";", "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", ")", ";", "machine_mode", "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": "sh", "Func": "sh_emit_scc_to_t", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4072, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "compute_cpymem_length", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "unsigned", "int", "align", "=", "INTVAL", "(", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "7", ")", ",", "0", ")", ")", ";", "unsigned", "long", "n_bytes", "=", "INTVAL", "(", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "6", ")", ",", "0", ")", ")", ";", "unsigned", "int", "n_insns", "=", "0", ";", "if", "(", "align", ">", "(", "TARGET_64BIT", "?", "8", ":", "4", ")", ")", "align", "=", "(", "TARGET_64BIT", "?", "8", ":", "4", ")", ";", "n_insns", "=", "6", ";", "if", "(", "n_bytes", "%", "(", "2", "*", "align", ")", "!=", "0", ")", "{", "if", "(", "(", "n_bytes", "%", "(", "2", "*", "align", ")", ")", ">=", "align", ")", "n_insns", "+=", "2", ";", "if", "(", "(", "n_bytes", "%", "align", ")", "!=", "0", ")", "n_insns", "+=", "2", ";", "}", "return", "n_insns", "*", "4", ";", "}", ""], "natrual_language": ["Count", "the", "number", "of", "insns", "necessary", "to", "handle", "this", "block", "move", ".", "Basic", "structure", "is", "the", "same", "as", "emit_block_move", ",", "except", "that", "we", "count", "insns", "rather", "than", "emit", "them", "."], "TS_V_token": ["pa", "0", "7", "0", "0", "6", "0", "0", "8", "4", "8", "4", "6", "2", "0", "2", "2", "0", "2", "4"], "File": "pa", "Func": "compute_cpymem_length", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4073, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ia64_produce_address_p", "(", "rtx", "insn", ")", "{", "return", "insn", "->", "call", ";", "}", ""], "natrual_language": ["The", "following", "function", "returns", "TRUE", "if", "INSN", "produces", "address", "for", "a", "load/store", "insn", ".", "We", "will", "place", "such", "insns", "into", "M", "slot", "because", "it", "decreases", "its", "latency", "time", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "ia64_produce_address_p", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4074, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "ARM64FunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARM64FunctionInfo", ">", "(", ")", ";", "if", "(", "AFI", "->", "getNumLocalDynamicTLSAccesses", "(", ")", "<", "2", ")", "{", "return", "false", ";", "}", "MachineDominatorTree", "*", "DT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "return", "VisitNode", "(", "DT", "->", "getRootNode", "(", ")", ",", "0", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM64", "ARM64", "ARM64", "2", "0"], "File": "ARM64CleanupLocalDynamicTLSPass1", "Func": "runOnMachineFunction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4075, "Length": 62, "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": 4076, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "pa_output_function_label", "(", "FILE", "*", "file", ")", "{", "ASM_OUTPUT_LABEL", "(", "file", ",", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "current_function_decl", ")", ",", "0", ")", ",", "0", ")", ")", ";", "fputs", "(", "\"\\t.PROC\\n\"", ",", "file", ")", ";", "fprintf", "(", "file", ",", "\"\\t.CALLINFO FRAME=\"", "HOST_WIDE_INT_PRINT_DEC", ",", "actual_fsize", ")", ";", "if", "(", "crtl", "->", "is_leaf", ")", "fputs", "(", "\",NO_CALLS\"", ",", "file", ")", ";", "else", "fputs", "(", "\",CALLS\"", ",", "file", ")", ";", "if", "(", "rp_saved", ")", "fputs", "(", "\",SAVE_RP\"", ",", "file", ")", ";", "if", "(", "frame_pointer_needed", ")", "fputs", "(", "\",SAVE_SP\"", ",", "file", ")", ";", "if", "(", "gr_saved", ")", "fprintf", "(", "file", ",", "\",ENTRY_GR=%d\"", ",", "gr_saved", "+", "2", ")", ";", "if", "(", "fr_saved", ")", "fprintf", "(", "file", ",", "\",ENTRY_FR=%d\"", ",", "fr_saved", "+", "11", ")", ";", "fputs", "(", "\"\\n\\t.ENTRY\\n\"", ",", "file", ")", ";", "}", ""], "natrual_language": ["Output", "function", "label", ",", "and", "associated", ".PROC", "and", ".CALLINFO", "statements", "."], "TS_V_token": ["pa", "0", "0", "\"\\t.PROC\\n\"", "\"\\t.CALLINFO FRAME=\"", "\",NO_CALLS\"", "\",CALLS\"", "\",SAVE_RP\"", "\",SAVE_SP\"", "\",ENTRY_GR=%d\"", "2", "\",ENTRY_FR=%d\"", "11", "\"\\n\\t.ENTRY\\n\""], "File": "pa", "Func": "pa_output_function_label", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4077, "Length": 126, "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", "(", "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"], "File": "AArch64RegisterInfo62", "Func": "getCallPreservedMask", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4078, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "detect_processor_aix", "(", "void", ")", "{", "switch", "(", "_system_configuration", ".", "implementation", ")", "{", "case", "0x0008", ":", "return", "\"601\"", ";", "case", "0x0020", ":", "return", "\"603\"", ";", "case", "0x0010", ":", "return", "\"604\"", ";", "case", "0x0040", ":", "return", "\"620\"", ";", "case", "0x0080", ":", "return", "\"630\"", ";", "case", "0x0100", ":", "case", "0x0200", ":", "case", "0x0400", ":", "return", "\"rs64\"", ";", "case", "0x0800", ":", "return", "\"power4\"", ";", "case", "0x2000", ":", "if", "(", "_system_configuration", ".", "version", "==", "0x0F0000", ")", "return", "\"power5\"", ";", "else", "return", "\"power5+\"", ";", "case", "0x4000", ":", "return", "\"power6\"", ";", "case", "0x8000", ":", "return", "\"power7\"", ";", "case", "0x10000", ":", "return", "\"power8\"", ";", "case", "0x20000", ":", "return", "\"power9\"", ";", "case", "0x40000", ":", "return", "\"power10\"", ";", "default", ":", "return", "\"powerpc\"", ";", "}", "}", ""], "natrual_language": ["Returns", "the", "processor", "implementation", "on", "AIX", "."], "TS_V_token": ["rs6000", "0x0008", "\"601\"", "0x0020", "\"603\"", "0x0010", "\"604\"", "0x0040", "\"620\"", "0x0080", "\"630\"", "0x0100", "0x0200", "0x0400", "\"rs64\"", "0x0800", "\"power4\"", "0x2000", "0x0F0000", "\"power5\"", "\"power5+\"", "0x4000", "\"power6\"", "0x8000", "\"power7\"", "0x10000", "\"power8\"", "0x20000", "\"power9\"", "0x40000", "\"power10\"", "\"powerpc\""], "File": "driver-rs6000", "Func": "detect_processor_aix", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4079, "Length": 119, "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": 4080, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "OR1KDAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "static_cast", "<", "const", "OR1KSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "return", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["OR1K", "OR1K", "OR1K"], "File": "OR1KISelDAGToDAG1", "Func": "runOnMachineFunction", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4081, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_init_cumulative_args", "(", "CUMULATIVE_ARGS", "*", "pcum", ",", "tree", "fntype", ",", "rtx", "libname", ",", "tree", "fndecl", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "fntype", ")", "pcum", "->", "pcs_variant", "=", "arm_get_pcs_model", "(", "fntype", ",", "fndecl", ")", ";", "else", "pcum", "->", "pcs_variant", "=", "arm_pcs_default", ";", "if", "(", "pcum", "->", "pcs_variant", "<=", "ARM_PCS_AAPCS_LOCAL", ")", "{", "if", "(", "arm_libcall_uses_aapcs_base", "(", "libname", ")", ")", "pcum", "->", "pcs_variant", "=", "ARM_PCS_AAPCS", ";", "pcum", "->", "aapcs_ncrn", "=", "pcum", "->", "aapcs_next_ncrn", "=", "0", ";", "pcum", "->", "aapcs_reg", "=", "NULL_RTX", ";", "pcum", "->", "aapcs_partial", "=", "0", ";", "pcum", "->", "aapcs_arg_processed", "=", "false", ";", "pcum", "->", "aapcs_cprc_slot", "=", "-", "1", ";", "pcum", "->", "can_split", "=", "true", ";", "if", "(", "pcum", "->", "pcs_variant", "!=", "ARM_PCS_AAPCS", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARM_NUM_COPROC_SLOTS", ";", "i", "++", ")", "{", "pcum", "->", "aapcs_cprc_failed", "[", "i", "]", "=", "false", ";", "aapcs_cp_arg_layout", "[", "i", "]", ".", "cum_init", "(", "pcum", ",", "fntype", ",", "libname", ",", "fndecl", ")", ";", "}", "}", "return", ";", "}", "pcum", "->", "nregs", "=", "0", ";", "pcum", "->", "iwmmxt_nregs", "=", "0", ";", "pcum", "->", "can_split", "=", "true", ";", "pcum", "->", "named_count", "=", "0", ";", "pcum", "->", "nargs", "=", "0", ";", "if", "(", "TARGET_REALLY_IWMMXT", "&&", "fntype", ")", "{", "tree", "fn_arg", ";", "for", "(", "fn_arg", "=", "TYPE_ARG_TYPES", "(", "fntype", ")", ";", "fn_arg", ";", "fn_arg", "=", "TREE_CHAIN", "(", "fn_arg", ")", ")", "pcum", "->", "named_count", "+=", "1", ";", "if", "(", "!", "pcum", "->", "named_count", ")", "pcum", "->", "named_count", "=", "INT_MAX", ";", "}", "}", ""], "natrual_language": ["Initialize", "a", "variable", "CUM", "of", "type", "CUMULATIVE_ARGS", "for", "a", "call", "to", "a", "function", "whose", "data", "type", "is", "FNTYPE", ".", "For", "a", "library", "call", ",", "FNTYPE", "is", "NULL", "."], "TS_V_token": ["arm", "0", "0", "1", "0", "0", "0", "0", "0", "1"], "File": "arm", "Func": "arm_init_cumulative_args", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4082, "Length": 238, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMAsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", "const", "{", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ",", "IsPCRel", ",", "nullptr", ",", "IsLittleEndian", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "assert", "(", "Offset", "+", "NumBytes", "<=", "DataSize", "&&", "\"Invalid fixup offset!\"", ")", ";", "unsigned", "FullSizeBytes", ";", "if", "(", "!", "IsLittleEndian", ")", "FullSizeBytes", "=", "getFixupKindContainerSizeBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "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!\"", "0", "1", "8", "0xff"], "File": "ARMAsmBackend52", "Func": "applyFixup", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4083, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "build_one", "(", "function_builder", "&", "b", ",", "const", "char", "*", "signature", ",", "const", "function_group_info", "&", "group", ",", "mode_suffix_index", "mode_suffix_id", ",", "unsigned", "int", "ti", ",", "unsigned", "int", "pi", ",", "bool", "force_direct_overloads", ")", "{", "auto_vec", "<", "tree", ",", "16", ">", "argument_types", ";", "function_instance", "instance", "(", "group", ".", "base_name", ",", "*", "group", ".", "base", ",", "*", "group", ".", "shape", ",", "mode_suffix_id", ",", "group", ".", "types", "[", "ti", "]", ",", "group", ".", "preds", "[", "pi", "]", ")", ";", "tree", "return_type", "=", "parse_signature", "(", "instance", ",", "signature", ",", "argument_types", ")", ";", "apply_predication", "(", "instance", ",", "return_type", ",", "argument_types", ")", ";", "b", ".", "add_unique_function", "(", "instance", ",", "return_type", ",", "argument_types", ",", "group", ".", "required_extensions", ",", "force_direct_overloads", ")", ";", "}", ""], "natrual_language": ["Add", "one", "function", "instance", "for", "GROUP", ",", "using", "operand", "suffix", "at", "index", "OI", ",", "mode", "suffix", "at", "index", "PAIR", "&", "&", "bi", "and", "predication", "suffix", "at", "index", "pred_idx", "."], "TS_V_token": ["aarch64", "16"], "File": "aarch64-sve-builtins-shapes", "Func": "build_one", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4084, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "ExpandInlineAsm", "(", "CallInst", "*", "CI", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "hasV6Ops", "(", ")", ")", "return", "false", ";", "InlineAsm", "*", "IA", "=", "cast", "<", "InlineAsm", ">", "(", "CI", "->", "getCalledValue", "(", ")", ")", ";", "std", "::", "string", "AsmStr", "=", "IA", "->", "getAsmString", "(", ")", ";", "SmallVector", "<", "StringRef", ",", "4", ">", "AsmPieces", ";", "SplitString", "(", "AsmStr", ",", "AsmPieces", ",", "\";\\n\"", ")", ";", "switch", "(", "AsmPieces", ".", "size", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "1", ":", "AsmStr", "=", "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)", "Func": "ExpandInlineAsm", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4085, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTTIImpl", "::", "getCacheLineSize", "(", ")", "const", "{", "if", "(", "CacheLineSize", ".", "getNumOccurrences", "(", ")", ">", "0", ")", "return", "CacheLineSize", ";", "unsigned", "Directive", "=", "ST", "->", "getCPUDirective", "(", ")", ";", "if", "(", "Directive", "==", "PPC", "::", "DIR_PWR7", "||", "Directive", "==", "PPC", "::", "DIR_PWR8", "||", "Directive", "==", "PPC", "::", "DIR_PWR9", "||", "Directive", "==", "PPC", "::", "DIR_PWR_FUTURE", ")", "return", "128", ";", "return", "64", ";", "}", ""], "natrual_language": ["Return", "the", "target", "cache", "line", "size", "in", "bytes", "."], "TS_V_token": ["PowerPC", "PPC", "0", "PPC::DIR_PWR7", "PPC::DIR_PWR8", "PPC::DIR_PWR9", "PPC::DIR_PWR_FUTURE", "128", "64"], "File": "PPCTargetTransformInfo35", "Func": "getCacheLineSize", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4086, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "single_def_chain_p", "(", "rtx", "reg", ")", "{", "df_ref", "ref", "=", "DF_REG_DEF_CHAIN", "(", "REGNO", "(", "reg", ")", ")", ";", "if", "(", "!", "ref", ")", "return", "false", ";", "return", "DF_REF_NEXT_REG", "(", "ref", ")", "==", "nullptr", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "register", "REG", "is", "defined", "in", "a", "single", "DEF", "chain", ".", "If", "it", "is", "defined", "in", "more", "than", "one", "DEF", "chains", ",", "we", "may", "not", "be", "able", "to", "convert", "it", "in", "all", "chains", "."], "TS_V_token": ["i386"], "File": "i386-features1", "Func": "single_def_chain_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4087, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "const", "PPCSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "if", "(", "!", "STI", ".", "hasVSX", "(", ")", ")", "return", "false", ";", "TII", "=", "STI", ".", "getInstrInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "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": "PPCVSXCopy", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4088, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "clear", "(", ")", "{", "Refs", "=", "AvailableDomains", "=", "Dist", "=", "0", ";", "Instrs", ".", "clear", "(", ")", ";", "}", ""], "natrual_language": ["Clear", "all", "timers", "in", "this", "group", "."], "TS_V_token": ["X86", "0"], "File": "SSEDomainFix", "Func": "clear", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4089, "Length": 20, "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'", ":", "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": "SparcISelLowering", "Func": "getConstraintType", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4090, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64TTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ",", "OptimizationRemarkEmitter", "*", "ORE", ")", "{", "BaseT", "::", "getUnrollingPreferences", "(", "L", ",", "SE", ",", "UP", ",", "ORE", ")", ";", "UP", ".", "UpperBound", "=", "true", ";", "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", ".", "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": "AArch64TargetTransformInfo", "Func": "getUnrollingPreferences", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4091, "Length": 242, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "MCFixupKind", ">", "SystemZMCAsmBackend", "::", "getFixupKind", "(", "StringRef", "Name", ")", "const", "{", "unsigned", "Type", "=", "llvm", "::", "StringSwitch", "<", "unsigned", ">", "(", "Name", ")", ".", "Case", "(", "\"BFD_RELOC_NONE\"", ",", "ELF", "::", "R_390_NONE", ")", ".", "Case", "(", "\"BFD_RELOC_8\"", ",", "ELF", "::", "R_390_8", ")", ".", "Case", "(", "\"BFD_RELOC_16\"", ",", "ELF", "::", "R_390_16", ")", ".", "Case", "(", "\"BFD_RELOC_32\"", ",", "ELF", "::", "R_390_32", ")", ".", "Case", "(", "\"BFD_RELOC_64\"", ",", "ELF", "::", "R_390_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": ["SystemZ", "SystemZ", "\"BFD_RELOC_NONE\"", "\"BFD_RELOC_8\"", "\"BFD_RELOC_16\"", "\"BFD_RELOC_32\"", "\"BFD_RELOC_64\"", "1u", "1u"], "File": "SystemZMCAsmBackend10", "Func": "getFixupKind", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4092, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_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", ";", "bool", "testing_p", "=", "!", "target", ";", "if", "(", "TARGET_ALTIVEC", "&&", "testing_p", ")", "return", "true", ";", "if", "(", "op0", ")", "{", "rtx", "nop0", "=", "force_reg", "(", "vmode", ",", "op0", ")", ";", "if", "(", "op0", "==", "op1", ")", "op1", "=", "nop0", ";", "op0", "=", "nop0", ";", "}", "if", "(", "op1", ")", "op1", "=", "force_reg", "(", "vmode", ",", "op1", ")", ";", "if", "(", "(", "vmode", "==", "V2DFmode", "||", "vmode", "==", "V2DImode", ")", "&&", "VECTOR_MEM_VSX_P", "(", "vmode", ")", ")", "{", "if", "(", "testing_p", ")", "{", "op0", "=", "gen_raw_REG", "(", "vmode", ",", "LAST_VIRTUAL_REGISTER", "+", "1", ")", ";", "op1", "=", "gen_raw_REG", "(", "vmode", ",", "LAST_VIRTUAL_REGISTER", "+", "2", ")", ";", "}", "if", "(", "rs6000_expand_vec_perm_const_1", "(", "target", ",", "op0", ",", "op1", ",", "sel", "[", "0", "]", ",", "sel", "[", "1", "]", ")", ")", "return", "true", ";", "}", "if", "(", "TARGET_ALTIVEC", ")", "{", "if", "(", "vmode", "!=", "V16QImode", ")", "return", "false", ";", "if", "(", "altivec_expand_vec_perm_const", "(", "target", ",", "op0", ",", "op1", ",", "sel", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VECTORIZE_VEC_PERM_CONST", "."], "TS_V_token": ["rs6000", "1", "2", "0", "1"], "File": "rs60001", "Func": "rs6000_vectorize_vec_perm_const", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4093, "Length": 198, "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", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Perform", "target-specific", "instruction", "verification", "."], "TS_V_token": ["ARM", "ARM", "\"Pseudo flag setting opcodes only exist in Selection DAG\""], "File": "ARMBaseInstrInfo (2)2", "Func": "verifyInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4094, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isFsqrtCheap", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "if", "(", "DAG", ".", "getNodeIfExists", "(", "X86ISD", "::", "FRSQRT", ",", "DAG", ".", "getVTList", "(", "VT", ")", ",", "Op", ")", ")", "return", "false", ";", "if", "(", "VT", ".", "isVector", "(", ")", ")", "return", "Subtarget", ".", "hasFastVectorFSQRT", "(", ")", ";", "return", "Subtarget", ".", "hasFastScalarFSQRT", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "SQRT", "(", "X", ")", "should", "n't", "be", "replaced", "with", "X", "*", "RSQRT", "(", "X", ")", "."], "TS_V_token": ["X86", "X86", "X86ISD::FRSQRT"], "File": "X86ISelLowering (2)5", "Func": "isFsqrtCheap", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4095, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isToken", "(", ")", "const", "override", "{", "return", "Kind", "==", "Token", ";", "}", ""], "natrual_language": ["isToken", "-", "Is", "this", "a", "token", "operand", "?"], "TS_V_token": ["CSKY"], "File": "CSKYAsmParser", "Func": "isToken", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4096, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "VECustomDAG", "::", "getUnpack", "(", "EVT", "DestVT", ",", "SDValue", "Vec", ",", "PackElem", "Part", ",", "SDValue", "AVL", ")", "const", "{", "assert", "(", "getAnnotatedNodeAVL", "(", "AVL", ")", ".", "second", "&&", "\"Expected a pack-legalized AVL\"", ")", ";", "unsigned", "OC", "=", "(", "Part", "==", "PackElem", "::", "Lo", ")", "?", "VEISD", "::", "VEC_UNPACK_LO", ":", "VEISD", "::", "VEC_UNPACK_HI", ";", "return", "DAG", ".", "getNode", "(", "OC", ",", "DL", ",", "DestVT", ",", "Vec", ",", "AVL", ")", ";", "}", ""], "natrual_language": ["}", "Legalizing", "getNode"], "TS_V_token": ["VE", "VECustomDAG::getUnpack", "\"Expected a pack-legalized AVL\"", "VEISD::VEC_UNPACK_LO", "VEISD::VEC_UNPACK_HI"], "File": "VECustomDAG1", "Func": "getUnpack", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4097, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc_expand_prologue", "(", "void", ")", "{", "HOST_WIDE_INT", "size", ";", "rtx_insn", "*", "insn", ";", "sparc_leaf_function_p", "=", "optimize", ">", "0", "&&", "crtl", "->", "is_leaf", "&&", "only_leaf_regs_used", "(", ")", ";", "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", "(", "size", "==", "0", ")", ";", "else", "if", "(", "sparc_leaf_function_p", ")", "{", "rtx", "size_int_rtx", "=", "GEN_INT", "(", "-", "size", ")", ";", "if", "(", "size", "<=", "4096", ")", "insn", "=", "emit_insn", "(", "gen_stack_pointer_inc", "(", "size_int_rtx", ")", ")", ";", "else", "if", "(", "size", "<=", "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", "-", "size", ")", ")", ")", ";", "}", "else", "{", "rtx", "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_FRAME_RELATED_EXPR", ",", "gen_stack_pointer_inc", "(", "size_int_rtx", ")", ")", ";", "}", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "else", "{", "rtx", "size_int_rtx", "=", "GEN_INT", "(", "-", "size", ")", ";", "if", "(", "size", "<=", "4096", ")", "emit_window_save", "(", "size_int_rtx", ")", ";", "else", "if", "(", "size", "<=", "8192", ")", "{", "emit_window_save", "(", "GEN_INT", "(", "-", "4096", ")", ")", ";", "emit_insn", "(", "gen_stack_pointer_inc", "(", "GEN_INT", "(", "4096", "-", "size", ")", ")", ")", ";", "emit_insn", "(", "gen_frame_blockage", "(", ")", ")", ";", "}", "else", "{", "rtx", "size_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "emit_move_insn", "(", "size_rtx", ",", "size_int_rtx", ")", ";", "emit_window_save", "(", "size_rtx", ")", ";", "}", "}", "if", "(", "sparc_leaf_function_p", ")", "{", "sparc_frame_base_reg", "=", "stack_pointer_rtx", ";", "sparc_frame_base_offset", "=", "size", "+", "SPARC_STACK_BIAS", ";", "}", "else", "{", "sparc_frame_base_reg", "=", "hard_frame_pointer_rtx", ";", "sparc_frame_base_offset", "=", "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", "PIC", "register", "if", "needed", "."], "TS_V_token": ["sparc", "0", "0", "0", "4096", "8192", "4096", "1", "4096", "1", "1", "4096", "8192", "4096", "4096", "1", "0"], "File": "sparc4", "Func": "sparc_expand_prologue", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4098, "Length": 378, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sh_function_arg_advance", "(", "cumulative_args_t", "ca_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "ca", "=", "get_cumulative_args", "(", "ca_v", ")", ";", "if", "(", "ca", "->", "force_mem", ")", "ca", "->", "force_mem", "=", "false", ";", "if", "(", "(", "TARGET_HITACHI", "||", "ca", "->", "renesas_abi", ")", "&&", "TARGET_FPU_DOUBLE", ")", "{", "if", "(", "arg", ".", "mode", "==", "SFmode", "&&", "ca", "->", "free_single_fp_reg", ")", "{", "ca", "->", "free_single_fp_reg", "=", "0", ";", "return", ";", "}", "if", "(", "arg", ".", "mode", "==", "DFmode", "&&", "sh_round_reg", "(", "*", "ca", ",", "DFmode", ")", "!=", "sh_round_reg", "(", "*", "ca", ",", "SFmode", ")", ")", "{", "ca", "->", "free_single_fp_reg", "=", "(", "sh_round_reg", "(", "*", "ca", ",", "SFmode", ")", "+", "BASE_ARG_REG", "(", "arg", ".", "mode", ")", ")", ";", "}", "}", "if", "(", "!", "(", "(", "TARGET_SH4", "||", "TARGET_SH2A", ")", "||", "ca", "->", "renesas_abi", ")", "||", "sh_pass_in_reg_p", "(", "*", "ca", ",", "arg", ".", "mode", ",", "arg", ".", "type", ")", ")", "(", "ca", "->", "arg_count", "[", "(", "int", ")", "get_sh_arg_class", "(", "arg", ".", "mode", ")", "]", "=", "(", "sh_round_reg", "(", "*", "ca", ",", "arg", ".", "mode", ")", "+", "CEIL", "(", "arg", ".", "promoted_size_in_bytes", "(", ")", ",", "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": ["sh", "0"], "File": "sh", "Func": "sh_function_arg_advance", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4099, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_set_frame_expr", "(", "rtx", "frame_pattern", ")", "{", "rtx", "insn", ";", "insn", "=", "get_last_insn", "(", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "REG_NOTES", "(", "insn", ")", "=", "alloc_EXPR_LIST", "(", "REG_FRAME_RELATED_EXPR", ",", "frame_pattern", ",", "REG_NOTES", "(", "insn", ")", ")", ";", "}", ""], "natrual_language": ["Make", "the", "last", "instruction", "frame", "related", "and", "note", "that", "it", "performs", "the", "operation", "described", "by", "FRAME_PATTERN", "."], "TS_V_token": ["mips", "1"], "File": "mips3", "Func": "mips_set_frame_expr", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4100, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "pad_direction", "iq2000_function_arg_padding", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "return", "(", "!", "BYTES_BIG_ENDIAN", "?", "PAD_UPWARD", ":", "(", "(", "mode", "==", "BLKmode", "?", "(", "type", "&&", "TREE_CODE", "(", "TYPE_SIZE", "(", "type", ")", ")", "==", "INTEGER_CST", "&&", "int_size_in_bytes", "(", "type", ")", "<", "(", "PARM_BOUNDARY", "/", "BITS_PER_UNIT", ")", ")", ":", "(", "GET_MODE_BITSIZE", "(", "mode", ")", "<", "PARM_BOUNDARY", "&&", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_INT", ")", ")", "?", "PAD_DOWNWARD", ":", "PAD_UPWARD", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_ARG_PADDING", "."], "TS_V_token": ["iq2000"], "File": "iq2000", "Func": "iq2000_function_arg_padding", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4101, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_macro_fusion_p", "(", ")", "{", "return", "TARGET_FUSE_CMP_AND_BRANCH", ";", "}", ""], "natrual_language": ["Return", "true", "if", "target", "platform", "supports", "macro-fusion", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_macro_fusion_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4102, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print_operand_address", "(", "FILE", "*", "file", ",", "rtx", "x", ")", "{", "if", "(", "REG_P", "(", "x", ")", ")", "fprintf", "(", "file", ",", "\"0(%s)\"", ",", "reg_names", "[", "REGNO", "(", "x", ")", "]", ")", ";", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "x", ")", "==", "CONST", "||", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", ")", "{", "output_addr_const", "(", "file", ",", "x", ")", ";", "if", "(", "small_data_operand", "(", "x", ",", "GET_MODE", "(", "x", ")", ")", ")", "fprintf", "(", "file", ",", "\"@%s(%s)\"", ",", "SMALL_DATA_RELOC", ",", "reg_names", "[", "SMALL_DATA_REG", "]", ")", ";", "else", "gcc_assert", "(", "!", "TARGET_TOC", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "{", "if", "(", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "0", ")", "fprintf", "(", "file", ",", "\"%s,%s\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "1", ")", ")", "]", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "else", "fprintf", "(", "file", ",", "\"%s,%s\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "1", ")", ")", "]", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "CONST_INT", ")", "fprintf", "(", "file", ",", "HOST_WIDE_INT_PRINT_DEC", "\"(%s)\"", ",", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "LO_SUM", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "CONSTANT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "{", "fprintf", "(", "file", ",", "\"lo16(\"", ")", ";", "output_addr_const", "(", "file", ",", "XEXP", "(", "x", ",", "1", ")", ")", ";", "fprintf", "(", "file", ",", "\")(%s)\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "LO_SUM", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "CONSTANT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "{", "output_addr_const", "(", "file", ",", "XEXP", "(", "x", ",", "1", ")", ")", ";", "fprintf", "(", "file", ",", "\"@l(%s)\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "}", "else", "if", "(", "toc_relative_expr_p", "(", "x", ",", "false", ")", ")", "{", "output_addr_const", "(", "file", ",", "CONST_CAST_RTX", "(", "tocrel_base", ")", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "LO_SUM", ")", "fprintf", "(", "file", ",", "\"@l(%s)\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "else", "fprintf", "(", "file", ",", "\"(%s)\"", ",", "reg_names", "[", "REGNO", "(", "XVECEXP", "(", "tocrel_base", ",", "0", ",", "1", ")", ")", "]", ")", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Print", "the", "operand", "address", "represented", "by", "the", "rtx", "addr"], "TS_V_token": ["powerpcspe", "\"0(%s)\"", "\"@%s(%s)\"", "0", "1", "0", "0", "\"%s,%s\"", "1", "0", "\"%s,%s\"", "0", "1", "0", "1", "\"(%s)\"", "1", "0", "0", "1", "\"lo16(\"", "1", "\")(%s)\"", "0", "0", "1", "1", "\"@l(%s)\"", "0", "\"@l(%s)\"", "0", "\"(%s)\"", "0", "1"], "File": "powerpcspe", "Func": "print_operand_address", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4103, "Length": 490, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "rs6000_hash_constant", "(", "rtx", "k", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "k", ")", ";", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "k", ")", ";", "unsigned", "result", "=", "(", "code", "<<", "3", ")", "^", "mode", ";", "const", "char", "*", "format", ";", "int", "flen", ",", "fidx", ";", "format", "=", "GET_RTX_FORMAT", "(", "code", ")", ";", "flen", "=", "strlen", "(", "format", ")", ";", "fidx", "=", "0", ";", "switch", "(", "code", ")", "{", "case", "LABEL_REF", ":", "return", "result", "*", "1231", "+", "(", "unsigned", ")", "INSN_UID", "(", "XEXP", "(", "k", ",", "0", ")", ")", ";", "case", "CONST_DOUBLE", ":", "if", "(", "mode", "!=", "VOIDmode", ")", "return", "real_hash", "(", "CONST_DOUBLE_REAL_VALUE", "(", "k", ")", ")", "*", "result", ";", "flen", "=", "2", ";", "break", ";", "case", "CODE_LABEL", ":", "fidx", "=", "3", ";", "break", ";", "default", ":", "break", ";", "}", "for", "(", ";", "fidx", "<", "flen", ";", "fidx", "++", ")", "switch", "(", "format", "[", "fidx", "]", ")", "{", "case", "'s'", ":", "{", "unsigned", "i", ",", "len", ";", "const", "char", "*", "str", "=", "XSTR", "(", "k", ",", "fidx", ")", ";", "len", "=", "strlen", "(", "str", ")", ";", "result", "=", "result", "*", "613", "+", "len", ";", "for", "(", "i", "=", "0", ";", "i", "<", "len", ";", "i", "++", ")", "result", "=", "result", "*", "613", "+", "(", "unsigned", ")", "str", "[", "i", "]", ";", "break", ";", "}", "case", "'u'", ":", "case", "'e'", ":", "result", "=", "result", "*", "1231", "+", "rs6000_hash_constant", "(", "XEXP", "(", "k", ",", "fidx", ")", ")", ";", "break", ";", "case", "'i'", ":", "case", "'n'", ":", "result", "=", "result", "*", "613", "+", "(", "unsigned", ")", "XINT", "(", "k", ",", "fidx", ")", ";", "break", ";", "case", "'w'", ":", "if", "(", "sizeof", "(", "unsigned", ")", ">=", "sizeof", "(", "HOST_WIDE_INT", ")", ")", "result", "=", "result", "*", "613", "+", "(", "unsigned", ")", "XWINT", "(", "k", ",", "fidx", ")", ";", "else", "{", "size_t", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "sizeof", "(", "HOST_WIDE_INT", ")", "/", "sizeof", "(", "unsigned", ")", ";", "i", "++", ")", "result", "=", "result", "*", "613", "+", "(", "unsigned", ")", "(", "XWINT", "(", "k", ",", "fidx", ")", ">>", "CHAR_BIT", "*", "i", ")", ";", "}", "break", ";", "case", "'0'", ":", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "result", ";", "}", ""], "natrual_language": ["Hash", "functions", "for", "the", "hash", "table", "."], "TS_V_token": ["rs6000", "3", "0", "1231", "0", "2", "3", "613", "0", "613", "1231", "613", "613", "0", "613"], "File": "rs60003", "Func": "rs6000_hash_constant", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4104, "Length": 361, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getStackAddress", "(", "uint64_t", "Size", ",", "int64_t", "Offset", ",", "MachinePointerInfo", "&", "MPO", ")", "override", "{", "LLT", "p0", "=", "LLT", "::", "pointer", "(", "0", ",", "64", ")", ";", "LLT", "s64", "=", "LLT", "::", "scalar", "(", "64", ")", ";", "unsigned", "SPReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "p0", ")", ";", "MIRBuilder", ".", "buildCopy", "(", "SPReg", ",", "AArch64", "::", "SP", ")", ";", "unsigned", "OffsetReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "s64", ")", ";", "MIRBuilder", ".", "buildConstant", "(", "OffsetReg", ",", "Offset", ")", ";", "unsigned", "AddrReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "p0", ")", ";", "MIRBuilder", ".", "buildGEP", "(", "AddrReg", ",", "SPReg", ",", "OffsetReg", ")", ";", "MPO", "=", "MachinePointerInfo", "::", "getStack", "(", "MIRBuilder", ".", "getMF", "(", ")", ",", "Offset", ")", ";", "StackSize", "=", "std", "::", "max", "(", "StackSize", ",", "Size", "+", "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": "AArch64CallLowering23", "Func": "getStackAddress", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4105, "Length": 130, "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", "::", "Cold", ":", "if", "(", "Is64Bit", ")", "return", "CSR_64_MostRegs_RegMask", ";", "break", ";", "case", "CallingConv", "::", "X86_64_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", ";", "return", "CSR_64_AllRegs_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", ")", "{", "if", "(", "IsWin64", ")", "return", "CSR_Win64_RegMask", ";", "if", "(", "Subtarget", ".", "getTargetLowering", "(", ")", "->", "supportSwiftError", "(", ")", "&&", "MF", ".", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ".", "hasAttrSomewhere", "(", "Attribute", "::", "SwiftError", ")", ")", "return", "CSR_64_SwiftError_RegMask", ";", "return", "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", "X86", "X86", "X86"], "File": "X86RegisterInfo32", "Func": "getCallPreservedMask", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4106, "Length": 388, "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": 4107, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pru_elf_asm_constructor", "(", "rtx", "symbol", ",", "int", "priority", ")", "{", "char", "buf", "[", "23", "]", ";", "section", "*", "s", ";", "if", "(", "priority", "==", "DEFAULT_INIT_PRIORITY", ")", "snprintf", "(", "buf", ",", "sizeof", "(", "buf", ")", ",", "\".init_array\"", ")", ";", "else", "{", "snprintf", "(", "buf", ",", "sizeof", "(", "buf", ")", ",", "\".init_array.%.5u\"", ",", "priority", ")", ";", "}", "s", "=", "get_section", "(", "buf", ",", "SECTION_WRITE", "|", "SECTION_NOTYPE", ",", "NULL", ")", ";", "switch_to_section", "(", "s", ")", ";", "assemble_aligned_integer", "(", "INIT_ARRAY_ENTRY_BYTES", ",", "symbol", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_CONSTRUCTOR", "."], "TS_V_token": ["pru", "23", "\".init_array\"", "\".init_array.%.5u\""], "File": "pru", "Func": "pru_elf_asm_constructor", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4108, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBank", "&", "AArch64RegisterBankInfo", "::", "getRegBankFromRegClass", "(", "const", "TargetRegisterClass", "&", "RC", ",", "LLT", ")", "const", "{", "switch", "(", "RC", ".", "getID", "(", ")", ")", "{", "case", "AArch64", "::", "FPR8RegClassID", ":", "case", "AArch64", "::", "FPR16RegClassID", ":", "case", "AArch64", "::", "FPR32RegClassID", ":", "case", "AArch64", "::", "FPR64RegClassID", ":", "case", "AArch64", "::", "FPR128RegClassID", ":", "case", "AArch64", "::", "FPR128_loRegClassID", ":", "case", "AArch64", "::", "DDRegClassID", ":", "case", "AArch64", "::", "DDDRegClassID", ":", "case", "AArch64", "::", "DDDDRegClassID", ":", "case", "AArch64", "::", "QQRegClassID", ":", "case", "AArch64", "::", "QQQRegClassID", ":", "case", "AArch64", "::", "QQQQRegClassID", ":", "return", "getRegBank", "(", "AArch64", "::", "FPRRegBankID", ")", ";", "case", "AArch64", "::", "GPR32commonRegClassID", ":", "case", "AArch64", "::", "GPR32RegClassID", ":", "case", "AArch64", "::", "GPR32spRegClassID", ":", "case", "AArch64", "::", "GPR32sponlyRegClassID", ":", "case", "AArch64", "::", "GPR32argRegClassID", ":", "case", "AArch64", "::", "GPR32allRegClassID", ":", "case", "AArch64", "::", "GPR64commonRegClassID", ":", "case", "AArch64", "::", "GPR64RegClassID", ":", "case", "AArch64", "::", "GPR64spRegClassID", ":", "case", "AArch64", "::", "GPR64sponlyRegClassID", ":", "case", "AArch64", "::", "GPR64argRegClassID", ":", "case", "AArch64", "::", "GPR64allRegClassID", ":", "case", "AArch64", "::", "GPR64noipRegClassID", ":", "case", "AArch64", "::", "GPR64common_and_GPR64noipRegClassID", ":", "case", "AArch64", "::", "GPR64noip_and_tcGPR64RegClassID", ":", "case", "AArch64", "::", "tcGPR64RegClassID", ":", "case", "AArch64", "::", "WSeqPairsClassRegClassID", ":", "case", "AArch64", "::", "XSeqPairsClassRegClassID", ":", "return", "getRegBank", "(", "AArch64", "::", "GPRRegBankID", ")", ";", "case", "AArch64", "::", "CCRRegClassID", ":", "return", "getRegBank", "(", "AArch64", "::", "CCRegBankID", ")", ";", "default", ":", "llvm_unreachable", "(", "\"Register class not supported\"", ")", ";", "}", "}", ""], "natrual_language": ["Get", "a", "register", "bank", "that", "covers", "RC", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::FPR8RegClassID", "AArch64::FPR16RegClassID", "AArch64::FPR32RegClassID", "AArch64::FPR64RegClassID", "AArch64::FPR128RegClassID", "AArch64::FPR128_loRegClassID", "AArch64::DDRegClassID", "AArch64::DDDRegClassID", "AArch64::DDDDRegClassID", "AArch64::QQRegClassID", "AArch64::QQQRegClassID", "AArch64::QQQQRegClassID", "AArch64::FPRRegBankID", "AArch64::GPR32commonRegClassID", "AArch64::GPR32RegClassID", "AArch64::GPR32spRegClassID", "AArch64::GPR32sponlyRegClassID", "AArch64::GPR32argRegClassID", "AArch64::GPR32allRegClassID", "AArch64::GPR64commonRegClassID", "AArch64::GPR64RegClassID", "AArch64::GPR64spRegClassID", "AArch64::GPR64sponlyRegClassID", "AArch64::GPR64argRegClassID", "AArch64::GPR64allRegClassID", "AArch64::GPR64noipRegClassID", "AArch64::GPR64common_and_GPR64noipRegClassID", "AArch64::GPR64noip_and_tcGPR64RegClassID", "AArch64::tcGPR64RegClassID", "AArch64::WSeqPairsClassRegClassID", "AArch64::XSeqPairsClassRegClassID", "AArch64::GPRRegBankID", "AArch64::CCRRegClassID", "AArch64::CCRegBankID", "\"Register class not supported\""], "File": "AArch64RegisterBankInfo6", "Func": "getRegBankFromRegClass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4109, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCLoopInstrFormPrep", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "LI", "=", "&", "getAnalysis", "<", "LoopInfoWrapperPass", ">", "(", ")", ".", "getLoopInfo", "(", ")", ";", "SE", "=", "&", "getAnalysis", "<", "ScalarEvolutionWrapperPass", ">", "(", ")", ".", "getSE", "(", ")", ";", "auto", "*", "DTWP", "=", "getAnalysisIfAvailable", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "DT", "=", "DTWP", "?", "&", "DTWP", "->", "getDomTree", "(", ")", ":", "nullptr", ";", "PreserveLCSSA", "=", "mustPreserveAnalysisID", "(", "LCSSAID", ")", ";", "ST", "=", "TM", "?", "TM", "->", "getSubtargetImpl", "(", "F", ")", ":", "nullptr", ";", "SuccPrepCount", "=", "0", ";", "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", "0"], "File": "PPCLoopInstrFormPrep", "Func": "runOnFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4110, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "GuaranteedTailCallOpt", "&&", "I", "->", "getOpcode", "(", ")", "==", "PPC", "::", "ADJCALLSTACKUP", ")", "{", "if", "(", "int", "CalleeAmt", "=", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ")", "{", "bool", "is64Bit", "=", "Subtarget", ".", "isPPC64", "(", ")", ";", "CalleeAmt", "*=", "-", "1", ";", "unsigned", "StackReg", "=", "is64Bit", "?", "PPC", "::", "X1", ":", "PPC", "::", "R1", ";", "unsigned", "TmpReg", "=", "is64Bit", "?", "PPC", "::", "X0", ":", "PPC", "::", "R0", ";", "unsigned", "ADDIInstr", "=", "is64Bit", "?", "PPC", "::", "ADDI8", ":", "PPC", "::", "ADDI", ";", "unsigned", "ADDInstr", "=", "is64Bit", "?", "PPC", "::", "ADD8", ":", "PPC", "::", "ADD4", ";", "unsigned", "LISInstr", "=", "is64Bit", "?", "PPC", "::", "LIS8", ":", "PPC", "::", "LIS", ";", "unsigned", "ORIInstr", "=", "is64Bit", "?", "PPC", "::", "ORI8", ":", "PPC", "::", "ORI", ";", "MachineInstr", "*", "MI", "=", "I", ";", "DebugLoc", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "isInt", "<", "16", ">", "(", "CalleeAmt", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "TII", ".", "get", "(", "ADDIInstr", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "CalleeAmt", ")", ";", "}", "else", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "I", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "LISInstr", ")", ",", "TmpReg", ")", ".", "addImm", "(", "CalleeAmt", ">>", "16", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ORIInstr", ")", ",", "TmpReg", ")", ".", "addReg", "(", "TmpReg", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "CalleeAmt", "&", "0xFFFF", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ADDInstr", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "TmpReg", ")", ";", "}", "}", "}", "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": ["PowerPC", "PPC", "PPC::ADJCALLSTACKUP", "1", "PPC", "1", "PPC::X1", "PPC::R1", "PPC::X0", "PPC::R0", "PPC::ADDI8", "PPC::ADDI", "PPC::ADD8", "PPC::ADD4", "PPC::LIS8", "PPC::LIS", "PPC::ORI8", "PPC::ORI", "16", "16", "0xFFFF"], "File": "PPCFrameLowering12", "Func": "eliminateCallFramePseudoInstr", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4111, "Length": 334, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "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", ")", ";", "auto", "InsertPos", "=", "skipDebugInstructionsForward", "(", "I", ",", "MBB", ".", "end", "(", ")", ")", ";", "if", "(", "!", "reserveCallFrame", ")", "{", "unsigned", "StackAlign", "=", "getStackAlignment", "(", ")", ";", "Amount", "=", "alignTo", "(", "Amount", ",", "StackAlign", ")", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "Function", "*", "Fn", "=", "MF", ".", "getFunction", "(", ")", ";", "bool", "WindowsCFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", "->", "usesWindowsCFI", "(", ")", ";", "bool", "DwarfCFI", "=", "!", "WindowsCFI", "&&", "(", "MMI", ".", "hasDebugInfo", "(", ")", "||", "Fn", "->", "needsUnwindTableEntry", "(", ")", ")", ";", "bool", "HasDwarfEHHandlers", "=", "!", "WindowsCFI", "&&", "!", "MF", ".", "getLandingPads", "(", ")", ".", "empty", "(", ")", ";", "if", "(", "HasDwarfEHHandlers", "&&", "!", "isDestroy", "&&", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "getHasPushSequences", "(", ")", ")", "BuildCFI", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "MCCFIInstruction", "::", "createGnuArgsSize", "(", "nullptr", ",", "Amount", ")", ")", ";", "if", "(", "Amount", "==", "0", ")", "return", "I", ";", "Amount", "-=", "InternalAmt", ";", "if", "(", "isDestroy", "&&", "InternalAmt", "&&", "DwarfCFI", "&&", "!", "hasFP", "(", "MF", ")", ")", "BuildCFI", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "MCCFIInstruction", "::", "createAdjustCfaOffset", "(", "nullptr", ",", "-", "InternalAmt", ")", ")", ";", "int64_t", "StackAdjustment", "=", "isDestroy", "?", "Amount", ":", "-", "Amount", ";", "int64_t", "CfaAdjustment", "=", "-", "StackAdjustment", ";", "if", "(", "StackAdjustment", ")", "{", "StackAdjustment", "+=", "mergeSPUpdates", "(", "MBB", ",", "InsertPos", ",", "true", ")", ";", "StackAdjustment", "+=", "mergeSPUpdates", "(", "MBB", ",", "InsertPos", ",", "false", ")", ";", "if", "(", "StackAdjustment", ")", "{", "if", "(", "!", "(", "Fn", "->", "optForMinSize", "(", ")", "&&", "adjustStackWithPops", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "StackAdjustment", ")", ")", ")", "BuildStackAdjustment", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "StackAdjustment", ",", "false", ")", ";", "}", "}", "if", "(", "DwarfCFI", "&&", "!", "hasFP", "(", "MF", ")", ")", "{", "if", "(", "CfaAdjustment", ")", "{", "BuildCFI", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "MCCFIInstruction", "::", "createAdjustCfaOffset", "(", "nullptr", ",", "CfaAdjustment", ")", ")", ";", "}", "}", "return", "I", ";", "}", "if", "(", "isDestroy", "&&", "InternalAmt", ")", "{", "MachineBasicBlock", "::", "iterator", "CI", "=", "I", ";", "MachineBasicBlock", "::", "iterator", "B", "=", "MBB", ".", "begin", "(", ")", ";", "while", "(", "CI", "!=", "B", "&&", "!", "std", "::", "prev", "(", "CI", ")", "->", "isCall", "(", ")", ")", "--", "CI", ";", "BuildStackAdjustment", "(", "MBB", ",", "CI", ",", "DL", ",", "-", "InternalAmt", ",", "false", ")", ";", "}", "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": ["X86", "X86", "0", "0", "1", "0", "X86", "0"], "File": "X86FrameLowering111", "Func": "eliminateCallFramePseudoInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4112, "Length": 494, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "MipsTargetStreamer", "&", "TS", "=", "getTargetStreamer", "(", ")", ";", "TS", ".", "forbidModuleDirective", "(", ")", ";", "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", "->", "getOpcode", "(", ")", "==", "Mips", "::", "PseudoReturn", "||", "I", "->", "getOpcode", "(", ")", "==", "Mips", "::", "PseudoReturn64", "||", "I", "->", "getOpcode", "(", ")", "==", "Mips", "::", "PseudoIndirectBranch", "||", "I", "->", "getOpcode", "(", ")", "==", "Mips", "::", "PseudoIndirectBranch64", ")", "{", "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::PseudoReturn", "Mips::PseudoReturn64", "Mips::PseudoIndirectBranch", "Mips::PseudoIndirectBranch64", "Mips", "\"Pseudo opcode found in EmitInstruction()\""], "File": "MipsAsmPrinter69", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4113, "Length": 364, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "preferZeroCompareBranch", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "heuristic", "to", "prefer", "icmp", "eq", "zero", "should", "be", "used", "in", "code", "gen", "prepare", "."], "TS_V_token": ["SystemZ"], "File": "SystemZISelLowering18", "Func": "preferZeroCompareBranch", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4114, "Length": 11, "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": 4115, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "optimizeCompareInstr", "(", "MachineInstr", "*", "CmpInstr", ",", "unsigned", "SrcReg", ",", "unsigned", "SrcReg2", ",", "int", "CmpMask", ",", "int", "CmpValue", ",", "const", "MachineRegisterInfo", "*", "MRI", ")", "const", "{", "assert", "(", "CmpInstr", ")", ";", "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", "=", "convertFlagSettingOpcode", "(", "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", ",", "&", "getRegisterInfo", "(", ")", ",", "this", ")", ";", "assert", "(", "(", "CmpValue", "==", "0", "||", "CmpValue", "==", "1", ")", "&&", "\"CmpValue must be 0 or 1!\"", ")", ";", "if", "(", "CmpValue", "!=", "0", "||", "SrcReg2", "!=", "0", ")", "return", "false", ";", "if", "(", "!", "MRI", "->", "use_nodbg_empty", "(", "CmpInstr", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", "return", "false", ";", "return", "substituteCmpToZero", "(", "CmpInstr", ",", "SrcReg", ",", "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", "1", "\"CmpValue must be 0 or 1!\"", "0", "0", "0"], "File": "AArch64InstrInfo73", "Func": "optimizeCompareInstr", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4116, "Length": 266, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "pru_section_type_flags", "(", "tree", "decl", ",", "const", "char", "*", "name", ",", "int", "reloc", ")", "{", "unsigned", "int", "flags", "=", "default_section_type_flags", "(", "decl", ",", "name", ",", "reloc", ")", ";", "if", "(", "!", "strcmp", "(", "name", ",", "\".pru_irq_map\"", ")", ")", "flags", "=", "SECTION_DEBUG", "|", "SECTION_RETAIN", ";", "return", "flags", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SECTION_TYPE_FLAGS", "."], "TS_V_token": ["pru", "\".pru_irq_map\""], "File": "pru", "Func": "pru_section_type_flags", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4117, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelDAGToDAG (2)", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4118, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "shouldOutlineFromFunctionByDefault", "(", "MachineFunction", "&", "MF", ")", "const", "{", "return", "MF", ".", "getFunction", "(", ")", ".", "optForMinSize", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "function", "should", "be", "outlined", "from", "by", "default", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64InstrInfo (2)1", "Func": "shouldOutlineFromFunctionByDefault", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4119, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_output_addr_const_extra", "(", "FILE", "*", "fp", ",", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", "&&", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_TLS", ")", "return", "arm_emit_tls_decoration", "(", "fp", ",", "x", ")", ";", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", "&&", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_PIC_LABEL", ")", "{", "char", "label", "[", "256", "]", ";", "int", "labelno", "=", "INTVAL", "(", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "label", ",", "\"LPIC\"", ",", "labelno", ")", ";", "assemble_name_raw", "(", "fp", ",", "label", ")", ";", "return", "TRUE", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST_VECTOR", ")", "return", "arm_emit_vector_const", "(", "fp", ",", "x", ")", ";", "return", "FALSE", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA", "."], "TS_V_token": ["arm", "1", "1", "256", "0", "0", "\"LPIC\""], "File": "arm3", "Func": "arm_output_addr_const_extra", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4120, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_setup_reg_addr_masks", "(", "void", ")", "{", "ssize_t", "rc", ",", "reg", ",", "m", ",", "nregs", ";", "addr_mask_type", "any_addr_mask", ",", "addr_mask", ";", "for", "(", "m", "=", "0", ";", "m", "<", "NUM_MACHINE_MODES", ";", "++", "m", ")", "{", "machine_mode", "m2", "=", "(", "machine_mode", ")", "m", ";", "bool", "indexed_only_p", "=", "(", "m", "==", "SDmode", "&&", "TARGET_NO_SDMODE_STACK", ")", ";", "any_addr_mask", "=", "0", ";", "for", "(", "rc", "=", "FIRST_RELOAD_REG_CLASS", ";", "rc", "<=", "LAST_RELOAD_REG_CLASS", ";", "rc", "++", ")", "{", "addr_mask", "=", "0", ";", "reg", "=", "reload_reg_map", "[", "rc", "]", ".", "reg", ";", "if", "(", "reg", ">=", "0", "&&", "rs6000_hard_regno_mode_ok_p", "[", "m", "]", "[", "reg", "]", ")", "{", "nregs", "=", "rs6000_hard_regno_nregs", "[", "m", "]", "[", "reg", "]", ";", "addr_mask", "|=", "RELOAD_REG_VALID", ";", "if", "(", "nregs", ">", "1", "||", "m", "==", "BLKmode", ")", "addr_mask", "|=", "RELOAD_REG_MULTIPLE", ";", "else", "addr_mask", "|=", "RELOAD_REG_INDEXED", ";", "if", "(", "TARGET_UPDATE", "&&", "(", "rc", "==", "RELOAD_REG_GPR", "||", "rc", "==", "RELOAD_REG_FPR", ")", "&&", "GET_MODE_SIZE", "(", "m2", ")", "<=", "8", "&&", "!", "VECTOR_MODE_P", "(", "m2", ")", "&&", "!", "COMPLEX_MODE_P", "(", "m2", ")", "&&", "!", "indexed_only_p", "&&", "!", "(", "TARGET_E500_DOUBLE", "&&", "GET_MODE_SIZE", "(", "m2", ")", "==", "8", ")", ")", "{", "addr_mask", "|=", "RELOAD_REG_PRE_INCDEC", ";", "switch", "(", "m", ")", "{", "default", ":", "addr_mask", "|=", "RELOAD_REG_PRE_MODIFY", ";", "break", ";", "case", "DImode", ":", "if", "(", "TARGET_POWERPC64", ")", "addr_mask", "|=", "RELOAD_REG_PRE_MODIFY", ";", "break", ";", "case", "DFmode", ":", "case", "DDmode", ":", "if", "(", "TARGET_DF_INSN", ")", "addr_mask", "|=", "RELOAD_REG_PRE_MODIFY", ";", "break", ";", "}", "}", "}", "if", "(", "(", "addr_mask", "!=", "0", ")", "&&", "!", "indexed_only_p", "&&", "(", "rc", "==", "RELOAD_REG_GPR", "||", "rc", "==", "RELOAD_REG_FPR", ")", ")", "addr_mask", "|=", "RELOAD_REG_OFFSET", ";", "if", "(", "rc", "==", "RELOAD_REG_VMX", "&&", "GET_MODE_SIZE", "(", "m2", ")", "==", "16", "&&", "(", "addr_mask", "&", "RELOAD_REG_VALID", ")", "!=", "0", ")", "addr_mask", "|=", "RELOAD_REG_AND_M16", ";", "reg_addr", "[", "m", "]", ".", "addr_mask", "[", "rc", "]", "=", "addr_mask", ";", "any_addr_mask", "|=", "addr_mask", ";", "}", "reg_addr", "[", "m", "]", ".", "addr_mask", "[", "RELOAD_REG_ANY", "]", "=", "any_addr_mask", ";", "}", "}", ""], "natrual_language": ["Update", "the", "addr", "mask", "bits", "in", "reg_addr", "to", "help", "secondary", "reload", "and", "go", "if", "legitimate", "address", "support", "to", "figure", "out", "the", "appropriate", "addressing", "to", "use", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "1", "8", "8", "0", "16", "0"], "File": "rs60004", "Func": "rs6000_setup_reg_addr_masks", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4121, "Length": 312, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "classof", "(", "const", "ARMConstantPoolMBB", "*", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["Methods", "for", "support", "type", "inquiry", "through", "isa", ",", "cast", ",", "and", "dyn_cast", ":"], "TS_V_token": ["ARM", "ARM"], "File": "ARMConstantPoolValue29", "Func": "classof", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4122, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_mult_move_p", "(", "rtx", "dest", ",", "rtx", "src", ",", "enum", "mips_split_type", "split_type", ")", "{", "return", "(", "(", "split_type", "!=", "SPLIT_FOR_SPEED", "||", "mips_tuning_info", ".", "fast_mult_zero_zero_p", ")", "&&", "src", "==", "const0_rtx", "&&", "REG_P", "(", "dest", ")", "&&", "GET_MODE_SIZE", "(", "GET_MODE", "(", "dest", ")", ")", "==", "2", "*", "UNITS_PER_WORD", "&&", "(", "ISA_HAS_DSP_MULT", "?", "ACC_REG_P", "(", "REGNO", "(", "dest", ")", ")", ":", "MD_REG_P", "(", "REGNO", "(", "dest", ")", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "SRC", "should", "be", "moved", "into", "DEST", "using", "``", "MULT", "$", "0", ",", "$", "0", "''", ".", "SPLIT_TYPE", "is", "the", "condition", "under", "which", "moves", "should", "be", "split", "."], "TS_V_token": ["mips", "2"], "File": "mips", "Func": "mips_mult_move_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4123, "Length": 70, "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", ";", "return", "first_reg", ";", "}", ""], "natrual_language": ["Return", "the", "first", "register", "that", "is", "required", "to", "be", "saved", ".", "16", "if", "none", "."], "TS_V_token": ["rs6000", "13", "31"], "File": "rs6000-logue", "Func": "first_reg_to_save", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4124, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCRegisterInfo", "::", "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", ";", "if", "(", "!", "DisableRedZone", "&&", "FrameSize", "<=", "224", "&&", "!", "MFI", "->", "hasVarSizedObjects", "(", ")", "&&", "!", "MFI", "->", "hasCalls", "(", ")", "&&", "(", "!", "ALIGN_STACK", "||", "MaxAlign", "<=", "TargetAlign", ")", ")", "{", "MFI", "->", "setStackSize", "(", "0", ")", ";", "return", ";", "}", "unsigned", "maxCallFrameSize", "=", "MFI", "->", "getMaxCallFrameSize", "(", ")", ";", "unsigned", "minCallFrameSize", "=", "PPCFrameInfo", "::", "getMinCallFrameSize", "(", "Subtarget", ".", "isPPC64", "(", ")", ",", "Subtarget", ".", "isMachoABI", "(", ")", ")", ";", "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", "PPC"], "File": "PPCRegisterInfo23", "Func": "determineFrameLayout", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4125, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitAssignment", "(", "MCSymbol", "*", "S", ",", "const", "MCExpr", "*", "Value", ")", "override", "{", "auto", "*", "Symbol", "=", "cast", "<", "MCSymbolELF", ">", "(", "S", ")", ";", "if", "(", "copyLocalEntry", "(", "Symbol", ",", "Value", ")", ")", "UpdateOther", ".", "insert", "(", "Symbol", ")", ";", "else", "UpdateOther", ".", "erase", "(", "Symbol", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "assignment", "of", "Value", "to", "Symbol", "."], "TS_V_token": ["PowerPC"], "File": "PPCMCTargetDesc (2)1", "Func": "emitAssignment", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4126, "Length": 51, "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": 4127, "Length": 242, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MINA32AsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "MCAsmParser", "&", "Parser", "=", "getParser", "(", ")", ";", "size_t", "Start", "=", "0", ",", "Next", "=", "Name", ".", "find", "(", "'.'", ")", ";", "StringRef", "Head", "=", "Name", ".", "slice", "(", "Start", ",", "Next", ")", ";", "Operands", ".", "push_back", "(", "MINA32Operand", "::", "CreateToken", "(", "Head", ",", "NameLoc", ")", ")", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "ParseOperand", "(", "Operands", ",", "Head", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token in argument list (first)\"", ")", ";", "}", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "ParseOperand", "(", "Operands", ",", "Head", ")", ")", "{", "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": ["MINA32", "MINA32", "0", "MINA32Operand::CreateToken", "\"unexpected token in argument list (first)\"", "\"unexpected token in argument list\"", "\"unexpected token in argument list\""], "File": "MINA32AsmParser", "Func": "ParseInstruction", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4128, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", ">=", "CodeGenOpt", "::", "Aggressive", "&&", "EnableLoadStoreOpt", ")", "addPass", "(", "createAArch64LoadStoreOptimizationPass", "(", ")", ")", ";", "addPass", "(", "createAArch64A53Fix835769", "(", ")", ")", ";", "if", "(", "EnableBranchTargets", ")", "addPass", "(", "createAArch64BranchTargetsPass", "(", ")", ")", ";", "if", "(", "BranchRelaxation", ")", "addPass", "(", "&", "BranchRelaxationPassID", ")", ";", "if", "(", "TM", "->", "getTargetTriple", "(", ")", ".", "isOSWindows", "(", ")", ")", "{", "addPass", "(", "createCFGuardLongjmpPass", "(", ")", ")", ";", "addPass", "(", "createEHContGuardCatchretPass", "(", ")", ")", ";", "}", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableCompressJumpTables", ")", "addPass", "(", "createAArch64CompressJumpTablesPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableCollectLOH", "&&", "TM", "->", "getTargetTriple", "(", ")", ".", "isOSBinFormatMachO", "(", ")", ")", "addPass", "(", "createAArch64CollectLOHPass", "(", ")", ")", ";", "}", ""], "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", "AArch64", "AArch64"], "File": "AArch64TargetMachine32", "Func": "addPreEmitPass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4129, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "length_fp_args", "(", "rtx", "insn", ")", "{", "int", "length", "=", "0", ";", "rtx", "link", ";", "for", "(", "link", "=", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ";", "link", ";", "link", "=", "XEXP", "(", "link", ",", "1", ")", ")", "{", "int", "arg_mode", ",", "regno", ";", "rtx", "use", "=", "XEXP", "(", "link", ",", "0", ")", ";", "if", "(", "!", "(", "GET_CODE", "(", "use", ")", "==", "USE", "&&", "GET_CODE", "(", "XEXP", "(", "use", ",", "0", ")", ")", "==", "REG", "&&", "FUNCTION_ARG_REGNO_P", "(", "REGNO", "(", "XEXP", "(", "use", ",", "0", ")", ")", ")", ")", ")", "continue", ";", "arg_mode", "=", "GET_MODE", "(", "XEXP", "(", "use", ",", "0", ")", ")", ";", "regno", "=", "REGNO", "(", "XEXP", "(", "use", ",", "0", ")", ")", ";", "if", "(", "regno", ">=", "32", "&&", "regno", "<=", "39", ")", "{", "if", "(", "arg_mode", "==", "SFmode", ")", "length", "+=", "8", ";", "else", "length", "+=", "12", ";", "}", "}", "return", "length", ";", "}", ""], "natrual_language": ["Compute", "length", "of", "the", "FP", "argument", "copy", "sequence", "for", "INSN", "."], "TS_V_token": ["pa", "0", "1", "0", "0", "0", "0", "0", "32", "39", "8", "12"], "File": "pa3", "Func": "length_fp_args", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4130, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Initialize", "(", "const", "MachineFunction", "&", "MF", ",", "bool", "isPIC", ")", "{", "IsPIC", "=", "isPIC", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["Sparc"], "File": "SparcJITInfo", "Func": "Initialize", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4131, "Length": 17, "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": 4132, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "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": "pa3", "Func": "output_64bit_ior", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4133, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_expand_zeroop_builtin", "(", "enum", "insn_code", "icode", ",", "rtx", "target", ")", "{", "rtx", "pat", ";", "machine_mode", "tmode", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "mode", ";", "if", "(", "icode", "==", "CODE_FOR_nothing", ")", "return", "0", ";", "if", "(", "target", "==", "0", "||", "GET_MODE", "(", "target", ")", "!=", "tmode", "||", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "predicate", ")", "(", "target", ",", "tmode", ")", ")", "target", "=", "gen_reg_rtx", "(", "tmode", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ")", ";", "if", "(", "!", "pat", ")", "return", "0", ";", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Expand", "an", "expression", "EXP", "that", "calls", "a", "builtin", "without", "arguments", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "0"], "File": "rs60004", "Func": "rs6000_expand_zeroop_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4134, "Length": 107, "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": 4135, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "mips_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", "<=", "8", ")", "{", "mips_branch_likely", "=", "(", "final_sequence", "&&", "INSN_ANNULLED_BRANCH_P", "(", "insn", ")", ")", ";", "return", "branch_if_true", ";", "}", "mips_branch_likely", "=", "false", ";", "rtx_code_label", "*", "not_taken", "=", "gen_label_rtx", "(", ")", ";", "taken", "=", "operands", "[", "0", "]", ";", "operands", "[", "0", "]", "=", "not_taken", ";", "output_asm_insn", "(", "branch_if_false", ",", "operands", ")", ";", "if", "(", "final_sequence", ")", "{", "if", "(", "!", "INSN_ANNULLED_BRANCH_P", "(", "insn", ")", ")", "{", "final_scan_insn", "(", "final_sequence", "->", "insn", "(", "1", ")", ",", "asm_out_file", ",", "optimize", ",", "1", ",", "NULL", ")", ";", "final_sequence", "->", "insn", "(", "1", ")", "->", "set_deleted", "(", ")", ";", "}", "else", "output_asm_insn", "(", "\"nop\"", ",", "0", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\n\"", ")", ";", "}", "if", "(", "TARGET_ABSOLUTE_JUMPS", ")", "output_asm_insn", "(", "MIPS_ABSOLUTE_JUMP", "(", "\"j\\t%0%/\"", ")", ",", "&", "taken", ")", ";", "else", "{", "mips_output_load_label", "(", "taken", ")", ";", "output_asm_insn", "(", "\"jr\\t%@%]%/\"", ",", "0", ")", ";", "}", "if", "(", "final_sequence", ")", "{", "if", "(", "INSN_ANNULLED_BRANCH_P", "(", "insn", ")", ")", "{", "final_scan_insn", "(", "final_sequence", "->", "insn", "(", "1", ")", ",", "asm_out_file", ",", "optimize", ",", "1", ",", "NULL", ")", ";", "final_sequence", "->", "insn", "(", "1", ")", "->", "set_deleted", "(", ")", ";", "}", "else", "output_asm_insn", "(", "\"nop\"", ",", "0", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\n\"", ")", ";", "}", "targetm", ".", "asm_out", ".", "internal_label", "(", "asm_out_file", ",", "\"L\"", ",", "CODE_LABEL_NUMBER", "(", "not_taken", ")", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "assembly", "instructions", "to", "peform", "a", "conditional", "branch", ".", "INSN", "is", "the", "branch", "instruction", ".", "OPERANDS", "[", "0", "]", "is", "the", "condition", ".", "OPERANDS", "[", "1", "]", "is", "the", "target", "of", "the", "branch", ".", "OPERANDS", "[", "2", "]", "is", "the", "target", "of", "the", "first", "operand", "to", "the", "condition", ".", "If", "TWO_OPERANDS_P", "is", "nonzero", "the", "comparison", "takes", "two", "operands", ";", "OPERANDS", "[", "3", "]", "will", "be", "the", "second", "operand", ".", "If", "INVERTED_P", "is", "nonzero", "we", "are", "to", "branch", "if", "the", "condition", "does", "not", "hold", ".", "If", "FLOAT_P", "is", "nonzero", "this", "is", "a", "floating-point", "comparison", ".", "LENGTH", "is", "the", "length", "(", "in", "bytes", ")", "of", "the", "sequence", "we", "are", "to", "generate", ".", "That", "tells", "us", "whether", "to", "generate", "a", "simple", "conditional", "branch", ",", "or", "a", "reversed", "conditional", "branch", "around", "a", "`", "jr", "'", "instruction", "."], "TS_V_token": ["mips", "0", "8", "0", "0", "1", "1", "1", "\"nop\"", "0", "\"\\n\"", "\"j\\t%0%/\"", "\"jr\\t%@%]%/\"", "0", "1", "1", "1", "\"nop\"", "0", "\"\\n\"", "\"L\"", "\"\""], "File": "mips4", "Func": "mips_output_conditional_branch", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4136, "Length": 273, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "AARCH64_EXPAND_PSEUDO_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64"], "File": "AArch64ExpandPseudoInsts (2)", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4137, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rs6000_vector_type", "(", "const", "char", "*", "name", ",", "tree", "elt_type", ",", "unsigned", "num_elts", ")", "{", "tree", "result", "=", "build_vector_type", "(", "elt_type", ",", "num_elts", ")", ";", "result", "=", "build_variant_type_copy", "(", "result", ")", ";", "add_builtin_type", "(", "name", ",", "result", ")", ";", "return", "result", ";", "}", ""], "natrual_language": ["Create", "a", "builtin", "vector", "type", "with", "a", "name", ".", "Taking", "care", "not", "to", "give", "the", "canonical", "type", "a", "name", "."], "TS_V_token": ["rs6000"], "File": "rs6000-builtin", "Func": "rs6000_vector_type", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4138, "Length": 44, "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": 4139, "Length": 503, "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", ",", "SDLoc", "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": "AArch64ISelLowering109", "Func": "LowerCallResult", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4140, "Length": 276, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "VEFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "MachineInstr", "&", "MI", "=", "*", "I", ";", "int64_t", "Size", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "VE", "::", "ADJCALLSTACKDOWN", ")", "Size", "=", "-", "Size", ";", "if", "(", "Size", ")", "emitSPAdjustment", "(", "MF", ",", "MBB", ",", "I", ",", "Size", ")", ";", "}", "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": ["VE", "VE", "0", "VE::ADJCALLSTACKDOWN"], "File": "VEFrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4141, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "isReallyTriviallyReMaterializable", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "X86", "::", "MOV8rm", ":", "case", "X86", "::", "MOV16rm", ":", "case", "X86", "::", "MOV32rm", ":", "case", "X86", "::", "MOV64rm", ":", "case", "X86", "::", "LD_Fp64m", ":", "case", "X86", "::", "MOVSSrm", ":", "case", "X86", "::", "MOVSDrm", ":", "case", "X86", "::", "MOVAPSrm", ":", "case", "X86", "::", "MOVAPDrm", ":", "case", "X86", "::", "MOVDQArm", ":", "case", "X86", "::", "MMX_MOVD64rm", ":", "case", "X86", "::", "MMX_MOVQ64rm", ":", "{", "if", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", "&&", "MI", "->", "getOperand", "(", "3", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", "==", "0", "&&", "CanRematLoadWithDispOperand", "(", "MI", "->", "getOperand", "(", "4", ")", ",", "TM", ")", ")", "{", "unsigned", "BaseReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "if", "(", "BaseReg", "==", "0", "||", "BaseReg", "==", "X86", "::", "RIP", ")", "return", "true", ";", "if", "(", "!", "ReMatPICStubLoad", "&&", "MI", "->", "getOperand", "(", "4", ")", ".", "isGlobal", "(", ")", ")", "return", "false", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "bool", "isPICBase", "=", "false", ";", "for", "(", "MachineRegisterInfo", "::", "def_iterator", "I", "=", "MRI", ".", "def_begin", "(", "BaseReg", ")", ",", "E", "=", "MRI", ".", "def_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "MachineInstr", "*", "DefMI", "=", "I", ".", "getOperand", "(", ")", ".", "getParent", "(", ")", ";", "if", "(", "DefMI", "->", "getOpcode", "(", ")", "!=", "X86", "::", "MOVPC32r", ")", "return", "false", ";", "assert", "(", "!", "isPICBase", "&&", "\"More than one PIC base?\"", ")", ";", "isPICBase", "=", "true", ";", "}", "return", "isPICBase", ";", "}", "return", "false", ";", "}", "case", "X86", "::", "LEA32r", ":", "case", "X86", "::", "LEA64r", ":", "{", "if", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", "&&", "MI", "->", "getOperand", "(", "3", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", "==", "0", "&&", "!", "MI", "->", "getOperand", "(", "4", ")", ".", "isReg", "(", ")", ")", "{", "if", "(", "!", "MI", "->", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", ")", "return", "true", ";", "unsigned", "BaseReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "if", "(", "BaseReg", "==", "0", ")", "return", "true", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "return", "regIsPICBase", "(", "BaseReg", ",", "MRI", ")", ";", "}", "return", "false", ";", "}", "}", "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": ["X86", "X86", "X86::MOV8rm", "X86::MOV16rm", "X86::MOV32rm", "X86::MOV64rm", "X86::LD_Fp64m", "X86::MOVSSrm", "X86::MOVSDrm", "X86::MOVAPSrm", "X86::MOVAPDrm", "X86::MOVDQArm", "X86::MMX_MOVD64rm", "X86::MMX_MOVQ64rm", "1", "2", "3", "3", "0", "4", "1", "0", "X86::RIP", "4", "X86::MOVPC32r", "\"More than one PIC base?\"", "X86::LEA32r", "X86::LEA64r", "2", "3", "3", "0", "4", "1", "1", "0"], "File": "X86InstrInfo108", "Func": "isReallyTriviallyReMaterializable", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4142, "Length": 453, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1RegisterInfo", "::", "requiresRegisterScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "ThumbRegScavenging", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "requires", "(", "and", "can", "make", "use", "of", ")", "the", "register", "scavenger", "."], "TS_V_token": ["ARM"], "File": "Thumb1RegisterInfo13", "Func": "requiresRegisterScavenging", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4143, "Length": 16, "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@num_prefetch_slots:\\t%d\\n\"", ",", "current_tune", "->", "num_prefetch_slots", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t@l1_cache_size:\\t%d\\n\"", ",", "current_tune", "->", "l1_cache_size", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t@l1_cache_line_size:\\t%d\\n\"", ",", "current_tune", "->", "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", "[", "0", "]", ",", "(", "int", ")", "current_tune", "->", "logical_op_non_short_circuit", "[", "1", "]", ")", ";", "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@disparage_partial_flag_setting_t16_encodings:\\t%d\\n\"", ",", "(", "int", ")", "current_tune", "->", "disparage_partial_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@fuseable_ops:\\t%u\\n\"", ",", "current_tune", "->", "fuseable_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@num_prefetch_slots:\\t%d\\n\"", "\"\\t\\t@l1_cache_size:\\t%d\\n\"", "\"\\t\\t@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\"", "0", "1", "\"\\t\\t@prefer_neon_for_64bits:\\t%d\\n\"", "\"\\t\\t@disparage_flag_setting_t16_encodings:\\t%d\\n\"", "\"\\t\\t@disparage_partial_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@fuseable_ops:\\t%u\\n\"", "\"\\t\\t@sched_autopref:\\t%d\\n\""], "File": "arm4", "Func": "arm_print_tune_info", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4144, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "nds32_expand_builtin_null_ftype_reg_imm", "(", "enum", "insn_code", "icode", ",", "tree", "exp", ",", "rtx", "target", ")", "{", "struct", "expand_operand", "ops", "[", "2", "]", ";", "tree", "arg0", ",", "arg1", ";", "rtx", "value0", ",", "value1", ";", "arg0", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "arg1", "=", "CALL_EXPR_ARG", "(", "exp", ",", "1", ")", ";", "value0", "=", "expand_normal", "(", "arg0", ")", ";", "value1", "=", "expand_normal", "(", "arg1", ")", ";", "create_input_operand", "(", "&", "ops", "[", "0", "]", ",", "value0", ",", "TYPE_MODE", "(", "TREE_TYPE", "(", "arg0", ")", ")", ")", ";", "create_input_operand", "(", "&", "ops", "[", "1", "]", ",", "value1", ",", "TYPE_MODE", "(", "TREE_TYPE", "(", "arg1", ")", ")", ")", ";", "if", "(", "!", "maybe_expand_insn", "(", "icode", ",", "2", ",", "ops", ")", ")", "error", "(", "\"invalid argument to built-in function\"", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Function", "to", "expand", "builtin", "function", "for", "'", "[", "(", "unspec_volatile", "[", "(", "reg", ")", "(", "imm", ")", "]", ")", "]", "'", "pattern", "."], "TS_V_token": ["nds32", "2", "0", "1", "0", "1", "2", "\"invalid argument to built-in function\""], "File": "nds32-intrinsic2", "Func": "nds32_expand_builtin_null_ftype_reg_imm", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4145, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "reverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "assert", "(", "Cond", ".", "size", "(", ")", "==", "2", "&&", "\"Invalid PPC branch opcode!\"", ")", ";", "if", "(", "Cond", "[", "1", "]", ".", "getReg", "(", ")", "==", "PPC", "::", "CTR8", "||", "Cond", "[", "1", "]", ".", "getReg", "(", ")", "==", "PPC", "::", "CTR", ")", "Cond", "[", "0", "]", ".", "setImm", "(", "Cond", "[", "0", "]", ".", "getImm", "(", ")", "==", "0", "?", "1", ":", "0", ")", ";", "else", "Cond", "[", "0", "]", ".", "setImm", "(", "PPC", "::", "InvertPredicate", "(", "(", "PPC", "::", "Predicate", ")", "Cond", "[", "0", "]", ".", "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": ["PowerPC", "PPC", "2", "\"Invalid PPC branch opcode!\"", "1", "PPC::CTR8", "1", "PPC::CTR", "0", "0", "0", "1", "0", "0", "PPC::InvertPredicate", "PPC::Predicate", "0"], "File": "PPCInstrInfo (2)2", "Func": "reverseBranchCondition", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4146, "Length": 110, "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": 4147, "Length": 153, "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": 4148, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SDValue", "&", "getMask", "(", ")", "const", "{", "return", "getOperand", "(", "3", ")", ";", "}", ""], "natrual_language": ["Return", "the", "mask", "used", "by", "this", "recipe", "."], "TS_V_token": ["X86", "3"], "File": "X86ISelLowering103", "Func": "getMask", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4149, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "classifyLEAReg", "(", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "&", "Src", ",", "unsigned", "Opc", ",", "bool", "AllowSP", ",", "Register", "&", "NewSrc", ",", "bool", "&", "isKill", ",", "MachineOperand", "&", "ImplicitOp", ",", "LiveVariables", "*", "LV", ",", "LiveIntervals", "*", "LIS", ")", "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", ";", "}", "Register", "SrcReg", "=", "Src", ".", "getReg", "(", ")", ";", "isKill", "=", "MI", ".", "killsRegister", "(", "SrcReg", ")", ";", "if", "(", "Opc", "!=", "X86", "::", "LEA64_32r", ")", "{", "NewSrc", "=", "SrcReg", ";", "assert", "(", "!", "Src", ".", "isUndef", "(", ")", "&&", "\"Undef op doesn't need optimization\"", ")", ";", "if", "(", "NewSrc", ".", "isVirtual", "(", ")", "&&", "!", "MF", ".", "getRegInfo", "(", ")", ".", "constrainRegClass", "(", "NewSrc", ",", "RC", ")", ")", "return", "false", ";", "return", "true", ";", "}", "if", "(", "SrcReg", ".", "isPhysical", "(", ")", ")", "{", "ImplicitOp", "=", "Src", ";", "ImplicitOp", ".", "setImplicit", "(", ")", ";", "NewSrc", "=", "getX86SubSuperRegister", "(", "SrcReg", ",", "64", ")", ";", "assert", "(", "!", "Src", ".", "isUndef", "(", ")", "&&", "\"Undef op doesn't need optimization\"", ")", ";", "}", "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", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "isKill", "=", "true", ";", "if", "(", "LV", ")", "LV", "->", "replaceKillInstruction", "(", "SrcReg", ",", "MI", ",", "*", "Copy", ")", ";", "if", "(", "LIS", ")", "{", "SlotIndex", "CopyIdx", "=", "LIS", "->", "InsertMachineInstrInMaps", "(", "*", "Copy", ")", ";", "SlotIndex", "Idx", "=", "LIS", "->", "getInstructionIndex", "(", "MI", ")", ";", "LiveInterval", "&", "LI", "=", "LIS", "->", "getInterval", "(", "SrcReg", ")", ";", "LiveRange", "::", "Segment", "*", "S", "=", "LI", ".", "getSegmentContaining", "(", "Idx", ")", ";", "if", "(", "S", "->", "end", ".", "getBaseIndex", "(", ")", "==", "Idx", ")", "S", "->", "end", "=", "CopyIdx", ".", "getRegSlot", "(", ")", ";", "}", "}", "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", "\"Undef op doesn't need optimization\"", "X86", "64", "\"Undef op doesn't need optimization\"", "X86::sub_32bit"], "File": "X86InstrInfo153", "Func": "classifyLEAReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4150, "Length": 389, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CSKYInstrInfo", "::", "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", "=", "getBranchDestBlock", "(", "*", "I", ")", ";", "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", "=", "getBranchDestBlock", "(", "*", "I", ")", ";", "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": ["CSKY", "CSKY", "0", "2", "1", "1", "2"], "File": "CSKYInstrInfo1", "Func": "analyzeBranch", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4151, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "rs6000_adjust_insn_length", "(", "rtx_insn", "*", "insn", ",", "int", "length", ")", "{", "if", "(", "TARGET_PREFIXED", "&&", "NONJUMP_INSN_P", "(", "insn", ")", ")", "{", "rtx", "pattern", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pattern", ")", "!=", "USE", "&&", "GET_CODE", "(", "pattern", ")", "!=", "CLOBBER", "&&", "get_attr_prefixed", "(", "insn", ")", "==", "PREFIXED_YES", ")", "{", "int", "num_prefixed", "=", "get_attr_max_prefixed_insns", "(", "insn", ")", ";", "length", "+=", "4", "*", "(", "num_prefixed", "+", "1", ")", ";", "}", "}", "return", "length", ";", "}", ""], "natrual_language": ["Adjust", "the", "length", "of", "an", "INSN", ".", "LENGTH", "is", "the", "currently-computed", "length", "and", "should", "be", "adjusted", "to", "reflect", "any", "required", "changes", ".", "This", "macro", "is", "used", "when", "there", "is", "some", "systematic", "length", "adjustment", "required", "that", "would", "be", "difficult", "to", "express", "in", "the", "length", "attribute", ".", "In", "the", "PowerPC", ",", "we", "use", "this", "to", "adjust", "the", "length", "of", "an", "instruction", "if", "one", "or", "more", "prefixed", "instructions", "are", "generated", ",", "using", "the", "attribute", "num_prefixed_insns", ".", "A", "prefixed", "instruction", "is", "8", "bytes", "instead", "of", "4", ",", "but", "the", "hardware", "requires", "that", "a", "prefied", "instruciton", "does", "not", "cross", "a", "64-byte", "boundary", ".", "This", "means", "the", "compiler", "has", "to", "assume", "the", "length", "of", "the", "first", "prefixed", "instruction", "is", "12", "bytes", "instead", "of", "8", "bytes", ".", "Since", "the", "length", "is", "already", "set", "for", "the", "non-prefixed", "instruction", ",", "we", "just", "need", "to", "udpate", "for", "the", "difference", "."], "TS_V_token": ["rs6000", "4", "1"], "File": "rs6000", "Func": "rs6000_adjust_insn_length", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4152, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "loongarch_starting_frame_offset", "(", "void", ")", "{", "if", "(", "FRAME_GROWS_DOWNWARD", ")", "return", "0", ";", "return", "crtl", "->", "outgoing_args_size", ";", "}", ""], "natrual_language": ["Implement", "TARGET_STARTING_FRAME_OFFSET", ".", "See", "loongarch_compute_frame_info", "for", "details", "about", "the", "frame", "layout", "."], "TS_V_token": ["loongarch", "0"], "File": "loongarch", "Func": "loongarch_starting_frame_offset", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4153, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "RCPair", "ARMTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "StringRef", "Constraint", ",", "MVT", "VT", ")", "const", "{", "switch", "(", "Constraint", ".", "size", "(", ")", ")", "{", "case", "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", "::", "Other", ")", "break", ";", "if", "(", "VT", "==", "MVT", "::", "f32", "||", "VT", "==", "MVT", "::", "i32", ")", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "SPRRegClass", ")", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "DPR_VFP2RegClass", ")", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "128", ")", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "QPR_VFP2RegClass", ")", ";", "break", ";", "}", "break", ";", "case", "2", ":", "if", "(", "Constraint", "[", "0", "]", "==", "'T'", ")", "{", "switch", "(", "Constraint", "[", "1", "]", ")", "{", "default", ":", "break", ";", "case", "'e'", ":", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "tGPREvenRegClass", ")", ";", "case", "'o'", ":", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "tGPROddRegClass", ")", ";", "}", "}", "break", ";", "default", ":", "break", ";", "}", "if", "(", "StringRef", "(", "\"{cc}\"", ")", ".", "equals_insensitive", "(", "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::Other", "MVT::f32", "MVT::i32", "0U", "ARM::SPRRegClass", "64", "0U", "ARM::DPR_VFP2RegClass", "128", "0U", "ARM::QPR_VFP2RegClass", "2", "0", "1", "0U", "ARM::tGPREvenRegClass", "0U", "ARM::tGPROddRegClass", "\"{cc}\"", "ARM::CPSR", "ARM::CCRRegClass"], "File": "ARMISelLowering (2)5", "Func": "getRegForInlineAsmConstraint", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4154, "Length": 470, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_expand_vec_perm_1", "(", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ",", "rtx", "sel", ")", "{", "machine_mode", "vmode", "=", "GET_MODE", "(", "target", ")", ";", "bool", "one_vector_p", "=", "rtx_equal_p", "(", "op0", ",", "op1", ")", ";", "gcc_checking_assert", "(", "vmode", "==", "V8QImode", "||", "vmode", "==", "V16QImode", ")", ";", "gcc_checking_assert", "(", "GET_MODE", "(", "op0", ")", "==", "vmode", ")", ";", "gcc_checking_assert", "(", "GET_MODE", "(", "op1", ")", "==", "vmode", ")", ";", "gcc_checking_assert", "(", "GET_MODE", "(", "sel", ")", "==", "vmode", ")", ";", "gcc_checking_assert", "(", "TARGET_SIMD", ")", ";", "if", "(", "one_vector_p", ")", "{", "if", "(", "vmode", "==", "V8QImode", ")", "{", "rtx", "pair", "=", "gen_reg_rtx", "(", "V16QImode", ")", ";", "emit_insn", "(", "gen_aarch64_combinev8qi", "(", "pair", ",", "op0", ",", "op0", ")", ")", ";", "emit_insn", "(", "gen_aarch64_tbl1v8qi", "(", "target", ",", "pair", ",", "sel", ")", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_aarch64_tbl1v16qi", "(", "target", ",", "op0", ",", "sel", ")", ")", ";", "}", "}", "else", "{", "rtx", "pair", ";", "if", "(", "vmode", "==", "V8QImode", ")", "{", "pair", "=", "gen_reg_rtx", "(", "V16QImode", ")", ";", "emit_insn", "(", "gen_aarch64_combinev8qi", "(", "pair", ",", "op0", ",", "op1", ")", ")", ";", "emit_insn", "(", "gen_aarch64_tbl1v8qi", "(", "target", ",", "pair", ",", "sel", ")", ")", ";", "}", "else", "{", "pair", "=", "gen_reg_rtx", "(", "OImode", ")", ";", "emit_insn", "(", "gen_aarch64_combinev16qi", "(", "pair", ",", "op0", ",", "op1", ")", ")", ";", "emit_insn", "(", "gen_aarch64_tbl2v16qi", "(", "target", ",", "pair", ",", "sel", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["Generate", "a", "variable", "permutation", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_expand_vec_perm_1", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4155, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "std", "::", "unique_ptr", "<", "FISCOperand", ">", "CreateMem", "(", "unsigned", "Base", ",", "const", "MCExpr", "*", "Off", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{", "auto", "Op", "=", "make_unique", "<", "FISCOperand", ">", "(", "k_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": ["FISC", "FISC", "FISC"], "File": "FISCAsmParser", "Func": "CreateMem", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4156, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "vax_function_arg", "(", "cumulative_args_t", "cum", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "const_tree", "type", "ATTRIBUTE_UNUSED", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["On", "the", "VAX", "all", "args", "are", "pushed", "."], "TS_V_token": ["vax"], "File": "vax4", "Func": "vax_function_arg", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4157, "Length": 25, "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", ";", "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", ")", "{", "unsigned", "int", "bits", "=", "BITS_PER_WORD", "-", "intoffset", "%", "BITS_PER_WORD", ";", "if", "(", "!", "int_mode_for_size", "(", "bits", ",", "0", ")", ".", "exists", "(", ")", ")", "{", "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": ["powerpcspe", "1", "64", "0", "1", "0", "1", "1", "0", "0", "0"], "File": "powerpcspe", "Func": "rs6000_darwin64_record_arg_advance_flush", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4158, "Length": 214, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_legitimize_tls_address_aix", "(", "rtx", "addr", ",", "enum", "tls_model", "model", ")", "{", "rtx", "sym", ",", "mem", ",", "tocref", ",", "tlsreg", ",", "tmpreg", ",", "dest", ";", "const", "char", "*", "name", ";", "char", "*", "tlsname", ";", "sym", "=", "force_const_mem", "(", "GET_MODE", "(", "addr", ")", ",", "addr", ")", ";", "if", "(", "constant_pool_expr_p", "(", "XEXP", "(", "sym", ",", "0", ")", ")", "&&", "ASM_OUTPUT_SPECIAL_POOL_ENTRY_P", "(", "get_pool_constant", "(", "XEXP", "(", "sym", ",", "0", ")", ")", ",", "Pmode", ")", ")", "{", "tocref", "=", "create_TOC_reference", "(", "XEXP", "(", "sym", ",", "0", ")", ",", "NULL_RTX", ")", ";", "mem", "=", "gen_const_mem", "(", "Pmode", ",", "tocref", ")", ";", "set_mem_alias_set", "(", "mem", ",", "get_TOC_alias_set", "(", ")", ")", ";", "}", "else", "return", "sym", ";", "if", "(", "model", "==", "TLS_MODEL_GLOBAL_DYNAMIC", "||", "model", "==", "TLS_MODEL_LOCAL_DYNAMIC", ")", "{", "name", "=", "XSTR", "(", "XVECEXP", "(", "XEXP", "(", "mem", ",", "0", ")", ",", "0", ",", "0", ")", ",", "0", ")", ";", "tlsname", "=", "XALLOCAVEC", "(", "char", ",", "strlen", "(", "name", ")", "+", "1", ")", ";", "strcpy", "(", "tlsname", ",", "\"*LCM\"", ")", ";", "strcat", "(", "tlsname", ",", "name", "+", "3", ")", ";", "rtx", "modaddr", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "ggc_strdup", "(", "tlsname", ")", ")", ";", "SYMBOL_REF_FLAGS", "(", "modaddr", ")", "|=", "SYMBOL_FLAG_LOCAL", ";", "tocref", "=", "create_TOC_reference", "(", "modaddr", ",", "NULL_RTX", ")", ";", "rtx", "modmem", "=", "gen_const_mem", "(", "Pmode", ",", "tocref", ")", ";", "set_mem_alias_set", "(", "modmem", ",", "get_TOC_alias_set", "(", ")", ")", ";", "rtx", "modreg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "modreg", ",", "modmem", ")", ")", ";", "tmpreg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "tmpreg", ",", "mem", ")", ")", ";", "dest", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "if", "(", "TARGET_32BIT", ")", "emit_insn", "(", "gen_tls_get_addrsi", "(", "dest", ",", "modreg", ",", "tmpreg", ")", ")", ";", "else", "emit_insn", "(", "gen_tls_get_addrdi", "(", "dest", ",", "modreg", ",", "tmpreg", ")", ")", ";", "return", "dest", ";", "}", "else", "if", "(", "TARGET_32BIT", ")", "{", "tlsreg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_tls_get_tpointer", "(", "tlsreg", ")", ")", ";", "}", "else", "{", "tlsreg", "=", "gen_rtx_REG", "(", "DImode", ",", "13", ")", ";", "xcoff_tls_exec_model_detected", "=", "true", ";", "}", "tmpreg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "tmpreg", ",", "mem", ")", ")", ";", "set_unique_reg_note", "(", "get_last_insn", "(", ")", ",", "REG_EQUAL", ",", "gen_rtx_MINUS", "(", "Pmode", ",", "addr", ",", "tlsreg", ")", ")", ";", "dest", "=", "force_reg", "(", "Pmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "tmpreg", ",", "tlsreg", ")", ")", ";", "return", "dest", ";", "}", ""], "natrual_language": ["AIX", "Thread-Local", "Address", "support", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "0", "0", "0", "1", "\"*LCM\"", "3", "13"], "File": "rs6000", "Func": "rs6000_legitimize_tls_address_aix", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4159, "Length": 389, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZPassConfig", "::", "addILPOpts", "(", ")", "{", "addPass", "(", "&", "EarlyIfConverterID", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Add", "passes", "that", "optimize", "instruction", "level", "parallelism", "for", "out-of-order", "targets", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZTargetMachine10", "Func": "addILPOpts", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4160, "Length": 17, "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", "(", ")", ")", "return", "SDValue", "(", ")", ";", "const", "ARMTargetLowering", "&", "TLI", "=", "*", "static_cast", "<", "const", "ARMTargetLowering", "*", ">", "(", "DAG", ".", "getTarget", "(", ")", ".", "getTargetLowering", "(", ")", ")", ";", "TargetLowering", "::", "ArgListTy", "Args", ";", "TargetLowering", "::", "ArgListEntry", "Entry", ";", "Type", "*", "IntPtrTy", "=", "TLI", ".", "getTargetData", "(", ")", "->", "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", ")", ";", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "CallResult", "=", "TLI", ".", "LowerCallTo", "(", "Chain", ",", "Type", "::", "getVoidTy", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ",", "false", ",", "false", ",", "false", ",", "false", ",", "0", ",", "TLI", ".", "getLibcallCallingConv", "(", "RTLIB", "::", "MEMSET", ")", ",", "false", ",", "false", ",", "DAG", ".", "getExternalSymbol", "(", "TLI", ".", "getLibcallName", "(", "RTLIB", "::", "MEMSET", ")", ",", "TLI", ".", "getPointerTy", "(", ")", ")", ",", "Args", ",", "DAG", ",", "dl", ")", ";", "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": "ARMSelectionDAGInfo41", "Func": "EmitTargetCodeForMemset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4161, "Length": 320, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsMCCodeEmitter", "::", "getBranchTargetOpValueMMR6", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ">>", "1", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"getBranchTargetOpValueMMR6 expects only expressions or immediates\"", ")", ";", "const", "MCExpr", "*", "FixupExpression", "=", "MCBinaryExpr", "::", "createAdd", "(", "MO", ".", "getExpr", "(", ")", ",", "MCConstantExpr", "::", "create", "(", "-", "2", ",", "Ctx", ")", ",", "Ctx", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "FixupExpression", ",", "MCFixupKind", "(", "Mips", "::", "fixup_Mips_PC16", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTargetOpValueMMR6", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "."], "TS_V_token": ["Mips", "Mips", "1", "\"getBranchTargetOpValueMMR6 expects only expressions or immediates\"", "2", "0", "Mips::fixup_Mips_PC16", "0"], "File": "MipsMCCodeEmitter (2)", "Func": "getBranchTargetOpValueMMR6", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4162, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MVEVPTOptimisations", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "const", "ARMSubtarget", "&", "STI", "=", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "Fn", ".", "getSubtarget", "(", ")", ")", ";", "if", "(", "!", "STI", ".", "isThumb2", "(", ")", "||", "!", "STI", ".", "hasMVEIntegerOps", "(", ")", ")", "return", "false", ";", "TII", "=", "static_cast", "<", "const", "Thumb2InstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "MRI", "=", "&", "Fn", ".", "getRegInfo", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** ARM MVE VPT Optimisations **********\\n\"", "<<", "\"********** Function: \"", "<<", "Fn", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "Fn", ")", "{", "Modified", "|=", "ReplaceVCMPsByVPNOTs", "(", "MBB", ")", ";", "Modified", "|=", "ReduceOldVCCRValueUses", "(", "MBB", ")", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"**************************************\\n\"", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "\"********** ARM MVE VPT Optimisations **********\\n\"", "\"********** Function: \"", "\"**************************************\\n\""], "File": "MVEVPTOptimisationsPass1", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4163, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetObjectFile", "::", "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", ",", "SectionKind", "::", "getDataRel", "(", ")", ")", ";", "SmallBSSSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".sbss\"", ",", "ELF", "::", "SHT_NOBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getBSS", "(", ")", ")", ";", "const", "MipsSubtarget", "&", "Subtarget", "=", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "if", "(", "Subtarget", ".", "isABI_N64", "(", ")", "||", "Subtarget", ".", "isABI_N32", "(", ")", ")", "ReginfoSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".MIPS.options\"", ",", "ELF", "::", "SHT_MIPS_OPTIONS", ",", "ELF", "::", "SHF_ALLOC", "|", "ELF", "::", "SHF_MIPS_NOSTRIP", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "else", "ReginfoSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".reginfo\"", ",", "ELF", "::", "SHT_MIPS_REGINFO", ",", "ELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["Mips", "Mips", "\".sdata\"", "\".sbss\"", "Mips", "Mips", "\".MIPS.options\"", "\".reginfo\""], "File": "MipsTargetObjectFile5", "Func": "Initialize", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4164, "Length": 175, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_save_restore_reg", "(", "enum", "machine_mode", "mode", ",", "int", "regno", ",", "HOST_WIDE_INT", "offset", ",", "mips_save_restore_fn", "fn", ")", "{", "rtx", "mem", ";", "mem", "=", "gen_rtx_MEM", "(", "mode", ",", "plus_constant", "(", "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": ["mips"], "File": "mips3", "Func": "mips_save_restore_reg", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4165, "Length": 48, "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": 4166, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "uses_TOC", "(", "void", ")", "{", "rtx_insn", "*", "insn", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "if", "(", "INSN_P", "(", "insn", ")", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "int", "i", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", ")", "for", "(", "i", "=", "0", ";", "i", "<", "XVECLEN", "(", "pat", ",", "0", ")", ";", "i", "++", ")", "{", "rtx", "sub", "=", "XVECEXP", "(", "pat", ",", "0", ",", "i", ")", ";", "if", "(", "GET_CODE", "(", "sub", ")", "==", "USE", ")", "{", "sub", "=", "XEXP", "(", "sub", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "sub", ")", "==", "UNSPEC", "&&", "XINT", "(", "sub", ",", "1", ")", "==", "UNSPEC_TOC", ")", "return", "1", ";", "}", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["This", "retuns", "nonzero", "if", "the", "current", "function", "uses", "the", "TOC", ".", "This", "is", "determined", "by", "the", "presence", "of", "(", "unspec", "...", "7", ")", ",", "which", "is", "generated", "by", "the", "various", "load_toc_", "*", "patterns", "."], "TS_V_token": ["powerpcspe", "0", "0", "0", "0", "1", "1", "0"], "File": "powerpcspe", "Func": "uses_TOC", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4167, "Length": 134, "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": 4168, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_set_return_address", "(", "rtx", "address", ",", "rtx", "scratch", ")", "{", "rtx", "slot_address", ";", "compute_frame_size", "(", "get_frame_size", "(", ")", ")", ";", "gcc_assert", "(", "(", "cfun", "->", "machine", "->", "frame", ".", "mask", ">>", "31", ")", "&", "1", ")", ";", "slot_address", "=", "mips_add_offset", "(", "scratch", ",", "stack_pointer_rtx", ",", "cfun", "->", "machine", "->", "frame", ".", "gp_sp_offset", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "GET_MODE", "(", "address", ")", ",", "slot_address", ")", ",", "address", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "change", "the", "current", "function", "'s", "return", "address", "to", "ADDRESS", ".", "SCRATCH", "is", "available", "as", "a", "scratch", "register", ",", "if", "needed", ".", "ADDRESS", "and", "SCRATCH", "are", "both", "word-mode", "GPRs", "."], "TS_V_token": ["mips", "31", "1"], "File": "mips3", "Func": "mips_set_return_address", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4169, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "pic_address_needs_scratch", "(", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ")", "==", "SYMBOL_REF", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "1", ")", ")", "==", "CONST_INT", "&&", "!", "SMALL_INT", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "1", ")", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "an", "address", "which", "needs", "a", "temporary", "register", "when", "reloaded", "while", "generating", "PIC", "code", "."], "TS_V_token": ["sparc", "0", "0", "0", "0", "1", "0", "1", "1", "0"], "File": "sparc3", "Func": "pic_address_needs_scratch", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4170, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_validate_march", "(", "const", "char", "*", "str", ",", "const", "struct", "processor", "*", "*", "res", ",", "unsigned", "long", "*", "isa_flags", ")", "{", "enum", "aarch64_parse_opt_result", "parse_res", "=", "aarch64_parse_arch", "(", "str", ",", "res", ",", "isa_flags", ")", ";", "if", "(", "parse_res", "==", "AARCH64_PARSE_OK", ")", "return", "true", ";", "switch", "(", "parse_res", ")", "{", "case", "AARCH64_PARSE_MISSING_ARG", ":", "error", "(", "\"missing arch name in -march=%qs\"", ",", "str", ")", ";", "break", ";", "case", "AARCH64_PARSE_INVALID_ARG", ":", "error", "(", "\"unknown value %qs for -march\"", ",", "str", ")", ";", "break", ";", "case", "AARCH64_PARSE_INVALID_FEATURE", ":", "error", "(", "\"invalid feature modifier in -march=%qs\"", ",", "str", ")", ";", "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=%qs\"", "\"unknown value %qs for -march\"", "\"invalid feature modifier in -march=%qs\""], "File": "aarch643", "Func": "aarch64_validate_march", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4171, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isIntrinsic", "(", ")", "const", "{", "return", "(", "Attributes", "&", "Intrinsic", ")", "!=", "0", ";", "}", ""], "natrual_language": ["Returns", "true", "iff", "the", "group", "of", "FMA", "opcodes", "holds", "intrinsic", "opcodes", "."], "TS_V_token": ["X86", "0"], "File": "X86InstrFMA3Info11", "Func": "isIntrinsic", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4172, "Length": 16, "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": 4173, "Length": 198, "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": 4174, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Emitter", "<", "CodeEmitter", ">", "::", "emitInstruction", "(", "const", "MachineInstr", "&", "MI", ")", "{", "DOUT", "(", "llvm", "::", "dbgs", "(", ")", "<<", "\"JIT: \"", "<<", "(", "void", "*", ")", "MCE", ".", "getCurrentPCValue", "(", ")", "<<", "\":\\t\"", "<<", "MI", ")", ";", "MCE", ".", "processDebugLoc", "(", "MI", ".", "getDebugLoc", "(", ")", ")", ";", "NumEmitted", "++", ";", "switch", "(", "MI", ".", "getDesc", "(", ")", ".", "TSFlags", "&", "ARMII", "::", "FormMask", ")", "{", "default", ":", "{", "llvm_unreachable", "(", "\"Unhandled instruction encoding format!\"", ")", ";", "break", ";", "}", "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", "::", "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", ";", "}", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["ARM", "\"JIT: \"", "\":\\t\"", "ARMII::FormMask", "\"Unhandled instruction encoding format!\"", "ARMII::Pseudo", "ARMII::DPFrm", "ARMII::DPSoRegFrm", "ARMII::LdFrm", "ARMII::StFrm", "ARMII::LdMiscFrm", "ARMII::StMiscFrm", "ARMII::LdStMulFrm", "ARMII::MulFrm", "ARMII::ExtFrm", "ARMII::ArithMiscFrm", "ARMII::BrFrm", "ARMII::BrMiscFrm", "ARMII::VFPUnaryFrm", "ARMII::VFPBinaryFrm", "ARMII::VFPConv1Frm", "ARMII::VFPConv2Frm", "ARMII::VFPConv3Frm", "ARMII::VFPConv4Frm", "ARMII::VFPConv5Frm", "ARMII::VFPLdStFrm", "ARMII::VFPLdStMulFrm", "ARMII::VFPMiscFrm"], "File": "ARMCodeEmitter20", "Func": "emitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4175, "Length": 301, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_function_arg", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "omode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "machine_mode", "mode", "=", "omode", ";", "HOST_WIDE_INT", "bytes", ",", "words", ";", "rtx", "arg", ";", "if", "(", "!", "cum", "->", "caller", "&&", "cfun", "->", "machine", "->", "func_type", "!=", "TYPE_NORMAL", ")", "{", "gcc_assert", "(", "type", "!=", "NULL_TREE", ")", ";", "if", "(", "POINTER_TYPE_P", "(", "type", ")", ")", "{", "gcc_assert", "(", "TYPE_MODE", "(", "type", ")", "==", "Pmode", ")", ";", "arg", "=", "plus_constant", "(", "Pmode", ",", "arg_pointer_rtx", ",", "-", "UNITS_PER_WORD", ")", ";", "}", "else", "{", "gcc_assert", "(", "cfun", "->", "machine", "->", "func_type", "==", "TYPE_EXCEPTION", "&&", "TREE_CODE", "(", "type", ")", "==", "INTEGER_TYPE", "&&", "TYPE_MODE", "(", "type", ")", "==", "word_mode", ")", ";", "arg", "=", "gen_rtx_MEM", "(", "word_mode", ",", "plus_constant", "(", "Pmode", ",", "arg_pointer_rtx", ",", "-", "2", "*", "UNITS_PER_WORD", ")", ")", ";", "}", "return", "arg", ";", "}", "if", "(", "mode", "==", "BLKmode", ")", "bytes", "=", "int_size_in_bytes", "(", "type", ")", ";", "else", "bytes", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "words", "=", "CEIL", "(", "bytes", ",", "UNITS_PER_WORD", ")", ";", "if", "(", "type", "&&", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", ")", "mode", "=", "type_natural_mode", "(", "type", ",", "cum", ",", "false", ")", ";", "if", "(", "TARGET_64BIT", ")", "{", "enum", "calling_abi", "call_abi", "=", "cum", "?", "cum", "->", "call_abi", ":", "ix86_abi", ";", "if", "(", "call_abi", "==", "MS_ABI", ")", "arg", "=", "function_arg_ms_64", "(", "cum", ",", "mode", ",", "omode", ",", "named", ",", "bytes", ")", ";", "else", "arg", "=", "function_arg_64", "(", "cum", ",", "mode", ",", "omode", ",", "type", ",", "named", ")", ";", "}", "else", "arg", "=", "function_arg_32", "(", "cum", ",", "mode", ",", "omode", ",", "type", ",", "bytes", ",", "words", ")", ";", "if", "(", "arg", "==", "NULL_RTX", "&&", "cum", "->", "caller", ")", "cfun", "->", "machine", "->", "outgoing_args_on_stack", "=", "true", ";", "return", "arg", ";", "}", ""], "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": "i3868", "Func": "ix86_function_arg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4176, "Length": 291, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "TM", "->", "isPagerando", "(", ")", ")", "{", "addPass", "(", "createAArch64PagerandoOptimizerPass", "(", ")", ")", ";", "addPass", "(", "&", "DeadMachineInstructionElimID", ")", ";", "}", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableDeadRegisterElimination", ")", "addPass", "(", "createAArch64DeadRegisterDefinitions", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableAdvSIMDScalar", ")", "{", "addPass", "(", "createAArch64AdvSIMDScalar", "(", ")", ")", ";", "addPass", "(", "&", "PeepholeOptimizerID", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine5", "Func": "addPreRegAlloc", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4177, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb2InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "ARM", "::", "GPRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "t2LDRi12", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "return", ";", "}", "if", "(", "ARM", "::", "GPRPairRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "if", "(", "Register", "::", "isVirtualRegister", "(", "DestReg", ")", ")", "{", "MachineRegisterInfo", "*", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "MRI", "->", "constrainRegClass", "(", "DestReg", ",", "&", "ARM", "::", "GPRPair_with_gsub_1_in_GPRwithAPSRnospRegClass", ")", ";", "}", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "t2LDRDi8", ")", ")", ";", "AddDReg", "(", "MIB", ",", "DestReg", ",", "ARM", "::", "gsub_0", ",", "RegState", "::", "DefineNoRead", ",", "TRI", ")", ";", "AddDReg", "(", "MIB", ",", "DestReg", ",", "ARM", "::", "gsub_1", ",", "RegState", "::", "DefineNoRead", ",", "TRI", ")", ";", "MIB", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "if", "(", "Register", "::", "isPhysicalRegister", "(", "DestReg", ")", ")", "MIB", ".", "addReg", "(", "DestReg", ",", "RegState", "::", "ImplicitDefine", ")", ";", "return", ";", "}", "ARMBaseInstrInfo", "::", "loadRegFromStackSlot", "(", "MBB", ",", "I", ",", "DestReg", ",", "FI", ",", "RC", ",", "TRI", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM::GPRRegClass", "ARM::t2LDRi12", "0", "ARMCC::AL", "ARM::GPRPairRegClass", "ARM::GPRPair_with_gsub_1_in_GPRwithAPSRnospRegClass", "ARM::t2LDRDi8", "ARM::gsub_0", "ARM::gsub_1", "0", "ARMCC::AL", "ARM"], "File": "Thumb2InstrInfo67", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4178, "Length": 335, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "unsigned", "int", "function_base", "::", "call_properties", "(", "const", "function_instance", "&", "instance", ")", "const", "{", "unsigned", "int", "flags", "=", "0", ";", "if", "(", "instance", ".", "type_suffix", "(", "0", ")", ".", "float_p", "||", "instance", ".", "type_suffix", "(", "1", ")", ".", "float_p", ")", "flags", "|=", "CP_READ_FPCR", "|", "CP_RAISE_FP_EXCEPTIONS", ";", "return", "flags", ";", "}", ""], "natrual_language": ["Default", "implementation", "of", "function_base", ":", ":call_properties", ",", "with", "conservatively", "correct", "behavior", "for", "floating-point", "instructions", "."], "TS_V_token": ["aarch64", "0", "0", "1"], "File": "aarch64-sve-builtins", "Func": "call_properties", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4179, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "X86TargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "IsMemset", ",", "bool", "ZeroMemset", ",", "bool", "MemcpyStrSrc", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "!", "F", ".", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ")", "{", "if", "(", "Size", ">=", "16", "&&", "(", "!", "Subtarget", ".", "isUnalignedMem16Slow", "(", ")", "||", "(", "(", "DstAlign", "==", "0", "||", "DstAlign", ">=", "16", ")", "&&", "(", "SrcAlign", "==", "0", "||", "SrcAlign", ">=", "16", ")", ")", ")", ")", "{", "if", "(", "Size", ">=", "32", "&&", "Subtarget", ".", "hasAVX", "(", ")", ")", "{", "return", "MVT", "::", "v32i8", ";", "}", "if", "(", "Subtarget", ".", "hasSSE2", "(", ")", ")", "return", "MVT", "::", "v16i8", ";", "if", "(", "Subtarget", ".", "hasSSE1", "(", ")", ")", "return", "MVT", "::", "v4f32", ";", "}", "else", "if", "(", "(", "!", "IsMemset", "||", "ZeroMemset", ")", "&&", "!", "MemcpyStrSrc", "&&", "Size", ">=", "8", "&&", "!", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Subtarget", ".", "hasSSE2", "(", ")", ")", "{", "return", "MVT", "::", "f64", ";", "}", "}", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Size", ">=", "8", ")", "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": ["X86", "X86", "16", "0", "16", "0", "16", "32", "MVT::v32i8", "MVT::v16i8", "MVT::v4f32", "8", "MVT::f64", "8", "MVT::i64", "MVT::i32"], "File": "X86ISelLowering", "Func": "getOptimalMemOpType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4180, "Length": 198, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcTargetMachine", "::", "SparcTargetMachine", "(", "const", "Module", "&", "M", ",", "const", "std", "::", "string", "&", "FS", ")", ":", "DataLayout", "(", "\"E-p:32:32-f128:128:128\"", ")", ",", "Subtarget", "(", "M", ",", "FS", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "InstrInfo", "(", "Subtarget", ")", ",", "FrameInfo", "(", "TargetFrameInfo", "::", "StackGrowsDown", ",", "8", ",", "0", ")", "{", "}", ""], "natrual_language": ["Create", "an", "ILP32", "architecture", "model", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "\"E-p:32:32-f128:128:128\"", "8", "0"], "File": "SparcTargetMachine14", "Func": "SparcTargetMachine", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4181, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstrBuilder", "MipsInstrInfo", "::", "genInstrWithNewOpc", "(", "unsigned", "NewOpc", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "MachineInstrBuilder", "MIB", ";", "int", "ZeroOperandPosition", "=", "-", "1", ";", "bool", "BranchWithZeroOperand", "=", "false", ";", "if", "(", "I", "->", "isBranch", "(", ")", "&&", "!", "I", "->", "isPseudo", "(", ")", ")", "{", "auto", "TRI", "=", "I", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "ZeroOperandPosition", "=", "I", "->", "findRegisterUseOperandIdx", "(", "Mips", "::", "ZERO", ",", "false", ",", "TRI", ")", ";", "BranchWithZeroOperand", "=", "ZeroOperandPosition", "!=", "-", "1", ";", "}", "if", "(", "BranchWithZeroOperand", ")", "{", "switch", "(", "NewOpc", ")", "{", "case", "Mips", "::", "BEQC", ":", "NewOpc", "=", "Mips", "::", "BEQZC", ";", "break", ";", "case", "Mips", "::", "BNEC", ":", "NewOpc", "=", "Mips", "::", "BNEZC", ";", "break", ";", "case", "Mips", "::", "BGEC", ":", "NewOpc", "=", "Mips", "::", "BGEZC", ";", "break", ";", "case", "Mips", "::", "BLTC", ":", "NewOpc", "=", "Mips", "::", "BLTZC", ";", "break", ";", "case", "Mips", "::", "BEQC64", ":", "NewOpc", "=", "Mips", "::", "BEQZC64", ";", "break", ";", "case", "Mips", "::", "BNEC64", ":", "NewOpc", "=", "Mips", "::", "BNEZC64", ";", "break", ";", "}", "}", "MIB", "=", "BuildMI", "(", "*", "I", "->", "getParent", "(", ")", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "NewOpc", ")", ")", ";", "if", "(", "NewOpc", "==", "Mips", "::", "JIC", "||", "NewOpc", "==", "Mips", "::", "JIALC", "||", "NewOpc", "==", "Mips", "::", "JIC64", "||", "NewOpc", "==", "Mips", "::", "JIALC64", ")", "{", "if", "(", "NewOpc", "==", "Mips", "::", "JIALC", "||", "NewOpc", "==", "Mips", "::", "JIALC64", ")", "MIB", "->", "RemoveOperand", "(", "0", ")", ";", "for", "(", "unsigned", "J", "=", "0", ",", "E", "=", "I", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", ";", "J", "<", "E", ";", "++", "J", ")", "{", "MIB", ".", "add", "(", "I", "->", "getOperand", "(", "J", ")", ")", ";", "}", "MIB", ".", "addImm", "(", "0", ")", ";", "for", "(", "unsigned", "J", "=", "I", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", ",", "E", "=", "I", "->", "getNumOperands", "(", ")", ";", "J", "<", "E", ";", "++", "J", ")", "{", "const", "MachineOperand", "&", "MO", "=", "I", "->", "getOperand", "(", "J", ")", ";", "if", "(", "MO", ".", "isMCSymbol", "(", ")", "&&", "(", "MO", ".", "getTargetFlags", "(", ")", "&", "MipsII", "::", "MO_JALR", ")", ")", "MIB", ".", "addSym", "(", "MO", ".", "getMCSymbol", "(", ")", ",", "MipsII", "::", "MO_JALR", ")", ";", "}", "}", "else", "{", "for", "(", "unsigned", "J", "=", "0", ",", "E", "=", "I", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", ";", "J", "<", "E", ";", "++", "J", ")", "{", "if", "(", "BranchWithZeroOperand", "&&", "(", "unsigned", ")", "ZeroOperandPosition", "==", "J", ")", "continue", ";", "MIB", ".", "add", "(", "I", "->", "getOperand", "(", "J", ")", ")", ";", "}", "}", "MIB", ".", "copyImplicitOps", "(", "*", "I", ")", ";", "MIB", ".", "cloneMemRefs", "(", "*", "I", ")", ";", "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", "1", "Mips::ZERO", "1", "Mips::BEQC", "Mips::BEQZC", "Mips::BNEC", "Mips::BNEZC", "Mips::BGEC", "Mips::BGEZC", "Mips::BLTC", "Mips::BLTZC", "Mips::BEQC64", "Mips::BEQZC64", "Mips::BNEC64", "Mips::BNEZC64", "Mips::JIC", "Mips::JIALC", "Mips::JIC64", "Mips::JIALC64", "Mips::JIALC", "Mips::JIALC64", "0", "0", "0", "MipsII::MO_JALR", "MipsII::MO_JALR", "0"], "File": "MipsInstrInfo (2)3", "Func": "genInstrWithNewOpc", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4182, "Length": 455, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "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": ["AArch64", "AArch64"], "File": "AArch64ISelLowering (2)2", "Func": "preferIncOfAddToSubOfNot", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4183, "Length": 18, "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", ",", "Subtarget", ".", "isABI_O32", "(", ")", ",", "Subtarget", ".", "isFP64bit", "(", ")", ",", "CCInfo", ")", ";", "MipsCCInfo", ".", "analyzeCallResult", "(", "Ins", ",", "Subtarget", ".", "abiUsesSoftFloat", "(", ")", ",", "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": "MipsISelLowering120", "Func": "LowerCallResult", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4184, "Length": 252, "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": 4185, "Length": 323, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SparcRegisterInfo", "::", "getFrameRegister", "(", "MachineFunction", "&", "MF", ")", "const", "{", "llvm_unreachable", "(", "\"What is the frame register\"", ")", ";", "return", "SP", "::", "G1", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["Sparc", "Sparc", "\"What is the frame register\"", "SP::G1"], "File": "SparcRegisterInfo8", "Func": "getFrameRegister", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4186, "Length": 22, "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": 4187, "Length": 120, "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", "::", "ADDE", ":", "return", "PerformADDECombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SUBE", ":", "return", "PerformSUBECombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "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", ")", ";", "case", "ISD", "::", "ADD", ":", "return", "PerformADDCombine", "(", "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::ADDE", "ISD::SUBE", "ISD::SDIVREM", "ISD::UDIVREM", "ISD::SELECT", "ISD::AND", "ISD::OR", "ISD::ADD"], "File": "MipsISelLowering101", "Func": "PerformDAGCombine", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4188, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_init_acle_builtins", "(", "void", ")", "{", "unsigned", "int", "i", ",", "fcode", "=", "ARM_BUILTIN_ACLE_PATTERN_START", ";", "tree", "sat_check_fpr", "=", "build_function_type_list", "(", "void_type_node", ",", "intSI_type_node", ",", "intSI_type_node", ",", "intSI_type_node", ",", "NULL", ")", ";", "arm_builtin_decls", "[", "ARM_BUILTIN_SAT_IMM_CHECK", "]", "=", "add_builtin_function", "(", "\"__builtin_sat_imm_check\"", ",", "sat_check_fpr", ",", "ARM_BUILTIN_SAT_IMM_CHECK", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "acle_builtin_data", ")", ";", "i", "++", ",", "fcode", "++", ")", "{", "arm_builtin_datum", "*", "d", "=", "&", "acle_builtin_data", "[", "i", "]", ";", "arm_init_builtin", "(", "fcode", ",", "d", ",", "\"__builtin_arm\"", ")", ";", "}", "}", ""], "natrual_language": ["Set", "up", "ACLE", "builtins", ",", "even", "builtins", "for", "instructions", "that", "are", "not", "in", "the", "current", "target", "ISA", "to", "allow", "the", "user", "to", "compile", "particular", "modules", "with", "different", "target", "specific", "options", "that", "differ", "from", "the", "command", "line", "options", ".", "Such", "builtins", "will", "be", "rejected", "in", "arm_expand_builtin", "."], "TS_V_token": ["arm", "\"__builtin_sat_imm_check\"", "0", "\"__builtin_arm\""], "File": "arm-builtins", "Func": "arm_init_acle_builtins", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4189, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "switch", "(", "ConstraintID", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected asm memory constraint\"", ")", ";", "case", "InlineAsm", "::", "Constraint_i", ":", "case", "InlineAsm", "::", "Constraint_m", ":", "case", "InlineAsm", "::", "Constraint_R", ":", "case", "InlineAsm", "::", "Constraint_ZC", ":", "OutOps", ".", "push_back", "(", "Op", ")", ";", "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\""], "File": "MipsISelDAGToDAG (2)", "Func": "SelectInlineAsmMemoryOperand", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4190, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64StorePairSuppress", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "mf", ")", "{", "MF", "=", "&", "mf", ";", "TII", "=", "static_cast", "<", "const", "ARM64InstrInfo", "*", ">", "(", "MF", "->", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "MF", "->", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "MF", "->", "getRegInfo", "(", ")", ";", "const", "TargetSubtargetInfo", "&", "ST", "=", "MF", "->", "getTarget", "(", ")", ".", "getSubtarget", "<", "TargetSubtargetInfo", ">", "(", ")", ";", "SchedModel", ".", "init", "(", "*", "ST", ".", "getSchedModel", "(", ")", ",", "&", "ST", ",", "TII", ")", ";", "Traces", "=", "&", "getAnalysis", "<", "MachineTraceMetrics", ">", "(", ")", ";", "MinInstr", "=", "nullptr", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"*** \"", "<<", "getPassName", "(", ")", "<<", "\": \"", "<<", "MF", "->", "getName", "(", ")", "<<", "'\\n'", ")", ";", "if", "(", "!", "SchedModel", ".", "hasInstrSchedModel", "(", ")", ")", "{", "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", ";", "unsigned", "BaseReg", ";", "unsigned", "Offset", ";", "if", "(", "TII", "->", "getLdStBaseRegImmOfs", "(", "&", "MI", ",", "BaseReg", ",", "Offset", ",", "TRI", ")", ")", "{", "if", "(", "PrevBaseReg", "==", "BaseReg", ")", "{", "if", "(", "!", "SuppressSTP", "&&", "shouldAddSTPToBlock", "(", "MI", ".", "getParent", "(", ")", ")", ")", "break", ";", "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": ["ARM64", "ARM64", "ARM64", "\"*** \"", "\": \"", "\" Skipping pass: no machine model present.\\n\"", "0", "\"Unpairing store \"", "\"\\n\"", "0"], "File": "ARM64StorePairSuppress", "Func": "runOnMachineFunction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4191, "Length": 278, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "legitimate_constant_pool_address_p", "(", "const_rtx", "x", ",", "machine_mode", "mode", ",", "bool", "strict", ")", "{", "const_rtx", "tocrel_base", ",", "tocrel_offset", ";", "return", "(", "toc_relative_expr_p", "(", "x", ",", "strict", ",", "&", "tocrel_base", ",", "&", "tocrel_offset", ")", "&&", "(", "TARGET_CMODEL", "!=", "CMODEL_MEDIUM", "||", "constant_pool_expr_p", "(", "XVECEXP", "(", "tocrel_base", ",", "0", ",", "0", ")", ")", "||", "mode", "==", "QImode", "||", "offsettable_ok_by_alignment", "(", "XVECEXP", "(", "tocrel_base", ",", "0", ",", "0", ")", ",", "INTVAL", "(", "tocrel_offset", ")", ",", "mode", ")", ")", ")", ";", "}", ""], "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", "0", "0"], "File": "rs6000", "Func": "legitimate_constant_pool_address_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4192, "Length": 76, "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", ")", ";", "if", "(", "TARGET_TOC", ")", "remove_from_hard_reg_set", "(", "&", "set", "->", "set", ",", "Pmode", ",", "TOC_REGNUM", ")", ";", "}", ""], "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": "rs6000", "Func": "rs6000_set_up_by_prologue", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4193, "Length": 73, "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": 4194, "Length": 16, "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", ",", "unsigned", "MIFlags", ")", "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", ")", ".", "setMIFlags", "(", "MIFlags", ")", ";", "}", ""], "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": "Thumb2RegisterInfo3", "Func": "emitLoadConstPool", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4195, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTTIImpl", "::", "getCacheLineSize", "(", ")", "{", "if", "(", "CacheLineSize", ".", "getNumOccurrences", "(", ")", ">", "0", ")", "return", "CacheLineSize", ";", "unsigned", "Mcpu", "=", "ST", "->", "getMcpu", "(", ")", ";", "if", "(", "Mcpu", "==", "PPC", "::", "MCPU_PWR7", "||", "Mcpu", "==", "PPC", "::", "MCPU_PWR8", "||", "Mcpu", "==", "PPC", "::", "MCPU_PWR9", ")", "return", "128", ";", "return", "64", ";", "}", ""], "natrual_language": ["Return", "the", "target", "cache", "line", "size", "in", "bytes", "."], "TS_V_token": ["PowerPC", "PPC", "0", "PPC::MCPU_PWR7", "PPC::MCPU_PWR8", "PPC::MCPU_PWR9", "128", "64"], "File": "PPCTargetTransformInfo15", "Func": "getCacheLineSize", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4196, "Length": 56, "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": 4197, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZInstrInfo", "::", "insertSelect", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DstReg", ",", "ArrayRef", "<", "MachineOperand", ">", "Pred", ",", "unsigned", "TrueReg", ",", "unsigned", "FalseReg", ")", "const", "{", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "MRI", ".", "getRegClass", "(", "DstReg", ")", ";", "assert", "(", "Pred", ".", "size", "(", ")", "==", "2", "&&", "\"Invalid condition\"", ")", ";", "unsigned", "CCValid", "=", "Pred", "[", "0", "]", ".", "getImm", "(", ")", ";", "unsigned", "CCMask", "=", "Pred", "[", "1", "]", ".", "getImm", "(", ")", ";", "unsigned", "Opc", ";", "if", "(", "SystemZ", "::", "GRX32BitRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "if", "(", "STI", ".", "hasLoadStoreOnCond2", "(", ")", ")", "Opc", "=", "SystemZ", "::", "LOCRMux", ";", "else", "{", "Opc", "=", "SystemZ", "::", "LOCR", ";", "MRI", ".", "constrainRegClass", "(", "DstReg", ",", "&", "SystemZ", "::", "GR32BitRegClass", ")", ";", "unsigned", "TReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "SystemZ", "::", "GR32BitRegClass", ")", ";", "unsigned", "FReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "SystemZ", "::", "GR32BitRegClass", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "TReg", ")", ".", "addReg", "(", "TrueReg", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "FReg", ")", ".", "addReg", "(", "FalseReg", ")", ";", "TrueReg", "=", "TReg", ";", "FalseReg", "=", "FReg", ";", "}", "}", "else", "if", "(", "SystemZ", "::", "GR64BitRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opc", "=", "SystemZ", "::", "LOCGR", ";", "else", "llvm_unreachable", "(", "\"Invalid register class\"", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DstReg", ")", ".", "addReg", "(", "FalseReg", ")", ".", "addReg", "(", "TrueReg", ")", ".", "addImm", "(", "CCValid", ")", ".", "addImm", "(", "CCMask", ")", ";", "}", ""], "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": ["SystemZ", "SystemZ", "2", "\"Invalid condition\"", "0", "1", "SystemZ::GRX32BitRegClass", "SystemZ::LOCRMux", "SystemZ::LOCR", "SystemZ::GR32BitRegClass", "SystemZ::GR32BitRegClass", "SystemZ::GR32BitRegClass", "SystemZ::GR64BitRegClass", "SystemZ::LOCGR", "\"Invalid register class\""], "File": "SystemZInstrInfo (2)2", "Func": "insertSelect", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4198, "Length": 291, "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": "X86AsmPrinter30", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4199, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "llvm", "::", "Optional", "<", "unsigned", ">", "X86TTIImpl", "::", "getCacheSize", "(", "TargetTransformInfo", "::", "CacheLevel", "Level", ")", "const", "{", "switch", "(", "Level", ")", "{", "case", "TargetTransformInfo", "::", "CacheLevel", "::", "L1D", ":", "return", "32", "*", "1024", ";", "case", "TargetTransformInfo", "::", "CacheLevel", "::", "L2D", ":", "return", "256", "*", "1024", ";", "}", "llvm_unreachable", "(", "\"Unknown TargetTransformInfo::CacheLevel\"", ")", ";", "}", ""], "natrual_language": ["Return", "the", "cache", "size", "in", "bytes", "for", "the", "given", "level", "of", "cache", "."], "TS_V_token": ["X86", "X86", "32", "1024", "256", "1024", "\"Unknown TargetTransformInfo::CacheLevel\""], "File": "X86TargetTransformInfo (2)", "Func": "getCacheSize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4200, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "SMLoc", "Loc", "=", "DirectiveID", ".", "getLoc", "(", ")", ";", "if", "(", "IDVal", "==", "\".hword\"", ")", "return", "parseDirectiveWord", "(", "2", ",", "Loc", ")", ";", "if", "(", "IDVal", "==", "\".word\"", ")", "return", "parseDirectiveWord", "(", "4", ",", "Loc", ")", ";", "if", "(", "IDVal", "==", "\".xword\"", ")", "return", "parseDirectiveWord", "(", "8", ",", "Loc", ")", ";", "if", "(", "IDVal", "==", "\".tlsdesccall\"", ")", "return", "parseDirectiveTLSDescCall", "(", "Loc", ")", ";", "return", "parseDirectiveLOH", "(", "IDVal", ",", "Loc", ")", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["ARM64", "ARM64", "\".hword\"", "2", "\".word\"", "4", "\".xword\"", "8", "\".tlsdesccall\""], "File": "ARM64AsmParser", "Func": "ParseDirective", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4201, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "X86FrameLowering", "::", "emitStackProbe", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "DebugLoc", "DL", ",", "bool", "InProlog", ")", "const", "{", "const", "X86Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "STI", ".", "isTargetWindowsCoreCLR", "(", ")", ")", "{", "if", "(", "InProlog", ")", "{", "return", "emitStackProbeInlineStub", "(", "MF", ",", "MBB", ",", "MBBI", ",", "DL", ",", "true", ")", ";", "}", "else", "{", "return", "emitStackProbeInline", "(", "MF", ",", "MBB", ",", "MBBI", ",", "DL", ",", "false", ")", ";", "}", "}", "else", "{", "return", "emitStackProbeCall", "(", "MF", ",", "MBB", ",", "MBBI", ",", "DL", ",", "InProlog", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "target", "stack", "probe", "code", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86FrameLowering (2)4", "Func": "emitStackProbe", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4202, "Length": 106, "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": 4203, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "function_builder", "::", "add_unique_function", "(", "const", "function_instance", "&", "instance", ",", "tree", "return_type", ",", "vec", "<", "tree", ">", "&", "argument_types", ",", "aarch64_feature_flags", "required_extensions", ",", "bool", "force_direct_overloads", ")", "{", "char", "*", "name", "=", "get_name", "(", "instance", ",", "false", ")", ";", "tree", "fntype", "=", "build_function_type_array", "(", "return_type", ",", "argument_types", ".", "length", "(", ")", ",", "argument_types", ".", "address", "(", ")", ")", ";", "tree", "attrs", "=", "get_attributes", "(", "instance", ")", ";", "registered_function", "&", "rfn", "=", "add_function", "(", "instance", ",", "name", ",", "fntype", ",", "attrs", ",", "required_extensions", ",", "false", ",", "false", ")", ";", "hashval_t", "hash", "=", "instance", ".", "hash", "(", ")", ";", "registered_function", "*", "*", "rfn_slot", "=", "function_table", "->", "find_slot_with_hash", "(", "instance", ",", "hash", ",", "INSERT", ")", ";", "gcc_assert", "(", "!", "*", "rfn_slot", ")", ";", "*", "rfn_slot", "=", "&", "rfn", ";", "char", "*", "overload_name", "=", "get_name", "(", "instance", ",", "true", ")", ";", "if", "(", "strcmp", "(", "name", ",", "overload_name", ")", "!=", "0", ")", "{", "tree", "attrs", "=", "get_attributes", "(", "instance", ")", ";", "bool", "placeholder_p", "=", "!", "(", "m_direct_overloads", "||", "force_direct_overloads", ")", ";", "add_function", "(", "instance", ",", "overload_name", ",", "fntype", ",", "attrs", ",", "required_extensions", ",", "false", ",", "placeholder_p", ")", ";", "}", "obstack_free", "(", "&", "m_string_obstack", ",", "name", ")", ";", "}", ""], "natrual_language": ["Add", "a", "built-in", "function", "for", "INSTANCE", ",", "with", "the", "argument", "types", "given", "by", "ARGUMENT_TYPES", "and", "the", "return", "type", "given", "by", "RETURN_TYPE", ".", "NAME", "is", "the", "``", "full", "''", "name", "for", "C", "function", ".", "OVERLOAD_NAME", "is", "the", "``", "short", "''", "name", "for", "C++", "overloaded", "function", ".", "OVERLOAD_NAME", "can", "be", "nullptr", "because", "some", "instance", "does", "n't", "have", "C++", "overloaded", "function", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64-sve-builtins3", "Func": "add_unique_function", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4204, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isSigned", "(", "Value", "*", "V", ")", "{", "if", "(", "!", "isa", "<", "Instruction", ">", "(", "V", ")", ")", "return", "false", ";", "unsigned", "Opc", "=", "cast", "<", "Instruction", ">", "(", "V", ")", "->", "getOpcode", "(", ")", ";", "return", "Opc", "==", "Instruction", "::", "AShr", "||", "Opc", "==", "Instruction", "::", "SDiv", "||", "Opc", "==", "Instruction", "::", "SRem", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "all", "source", "operands", "of", "the", "recurrence", "are", "SExtInsts", "."], "TS_V_token": ["ARM"], "File": "ARMCodeGenPrepare1", "Func": "isSigned", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4205, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "PPCRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AnyReg", ")", "{", "if", "(", "Subtarget", ".", "hasVSX", "(", ")", ")", "return", "CSR_64_AllRegs_VSX_SaveList", ";", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "CSR_64_AllRegs_Altivec_SaveList", ";", "return", "CSR_64_AllRegs_SaveList", ";", "}", "if", "(", "TM", ".", "isPPC64", "(", ")", "&&", "MF", "->", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", "->", "isSplitCSR", "(", ")", ")", "return", "CSR_SRV464_TLS_PE_SaveList", ";", "bool", "SaveR2", "=", "MF", "->", "getRegInfo", "(", ")", ".", "isAllocatable", "(", "PPC", "::", "X2", ")", "&&", "!", "Subtarget", ".", "isUsingPCRelativeCalls", "(", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "Cold", ")", "{", "if", "(", "TM", ".", "isPPC64", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "SaveR2", "?", "CSR_SVR64_ColdCC_R2_Altivec_SaveList", ":", "CSR_SVR64_ColdCC_Altivec_SaveList", ";", "return", "SaveR2", "?", "CSR_SVR64_ColdCC_R2_SaveList", ":", "CSR_SVR64_ColdCC_SaveList", ";", "}", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "CSR_SVR32_ColdCC_Altivec_SaveList", ";", "else", "if", "(", "Subtarget", ".", "hasSPE", "(", ")", ")", "return", "CSR_SVR32_ColdCC_SPE_SaveList", ";", "return", "CSR_SVR32_ColdCC_SaveList", ";", "}", "if", "(", "TM", ".", "isPPC64", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "SaveR2", "?", "CSR_PPC64_R2_Altivec_SaveList", ":", "CSR_PPC64_Altivec_SaveList", ";", "return", "SaveR2", "?", "CSR_PPC64_R2_SaveList", ":", "CSR_PPC64_SaveList", ";", "}", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "CSR_SVR432_Altivec_SaveList", ";", "else", "if", "(", "Subtarget", ".", "hasSPE", "(", ")", ")", "return", "CSR_SVR432_SPE_SaveList", ";", "return", "CSR_SVR432_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC::X2", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC"], "File": "PPCRegisterInfo10", "Func": "getCalleeSavedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4206, "Length": 253, "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": 4207, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "pa_arg_partial_bytes", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "unsigned", "int", "max_arg_words", "=", "8", ";", "unsigned", "int", "offset", "=", "0", ";", "if", "(", "!", "TARGET_64BIT", ")", "return", "0", ";", "if", "(", "pa_function_arg_size", "(", "arg", ".", "mode", ",", "arg", ".", "type", ")", ">", "1", "&&", "(", "cum", "->", "words", "&", "1", ")", ")", "offset", "=", "1", ";", "if", "(", "cum", "->", "words", "+", "offset", "+", "pa_function_arg_size", "(", "arg", ".", "mode", ",", "arg", ".", "type", ")", "<=", "max_arg_words", ")", "return", "0", ";", "else", "if", "(", "cum", "->", "words", "+", "offset", ">=", "max_arg_words", ")", "return", "0", ";", "else", "return", "(", "max_arg_words", "-", "cum", "->", "words", "-", "offset", ")", "*", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["If", "this", "arg", "would", "be", "passed", "totally", "in", "registers", "or", "totally", "on", "the", "stack", ",", "then", "this", "routine", "should", "return", "zero", "."], "TS_V_token": ["pa", "8", "0", "0", "1", "1", "1", "0", "0"], "File": "pa", "Func": "pa_arg_partial_bytes", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4208, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "sparc_cstore_mode", "(", "enum", "insn_code", "icode", "ATTRIBUTE_UNUSED", ")", "{", "return", "(", "TARGET_ARCH64", "?", "DImode", ":", "SImode", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CSTORE_MODE", "."], "TS_V_token": ["sparc"], "File": "sparc4", "Func": "sparc_cstore_mode", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4209, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createMipsModuleISelDag", "(", "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"], "File": "MipsTargetMachine45", "Func": "addInstSelector", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4210, "Length": 31, "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", "(", ")", "&&", "type", "->", "getPrimitiveSizeInBits", "(", ")", ".", "getFixedSize", "(", ")", "==", "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": "MipsISelLowering107", "Func": "getSingleConstraintMatchWeight", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4211, "Length": 212, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_extract_perm_from_pool_constant", "(", "int", "*", "perm", ",", "rtx", "mem", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "int", "nelt", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "if", "(", "!", "INTEGRAL_MODE_P", "(", "mode", ")", ")", "return", "false", ";", "if", "(", "!", "(", "MEM_P", "(", "mem", ")", ")", "||", "!", "SYMBOL_REF_P", "(", "XEXP", "(", "mem", ",", "0", ")", ")", "||", "!", "CONSTANT_POOL_ADDRESS_P", "(", "XEXP", "(", "mem", ",", "0", ")", ")", ")", "return", "false", ";", "rtx", "constant", "=", "get_pool_constant", "(", "XEXP", "(", "mem", ",", "0", ")", ")", ";", "if", "(", "GET_CODE", "(", "constant", ")", "!=", "CONST_VECTOR", ")", "return", "false", ";", "if", "(", "GET_MODE", "(", "constant", ")", "!=", "mode", ")", "{", "constant", "=", "simplify_subreg", "(", "mode", ",", "constant", ",", "GET_MODE", "(", "constant", ")", ",", "0", ")", ";", "if", "(", "constant", "==", "nullptr", "||", "GET_CODE", "(", "constant", ")", "!=", "CONST_VECTOR", ")", "return", "false", ";", "}", "for", "(", "int", "i", "=", "0", ";", "i", "!=", "nelt", ";", "i", "++", ")", "perm", "[", "i", "]", "=", "UINTVAL", "(", "XVECEXP", "(", "constant", ",", "0", ",", "i", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "mem", "is", "pool", "constant", "which", "contains", "a", "const_vector", "perm", "index", ",", "assign", "the", "index", "to", "PERM", "."], "TS_V_token": ["i386", "0", "0", "0", "0", "0", "0"], "File": "i386-expand", "Func": "ix86_extract_perm_from_pool_constant", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4212, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_adjust_cost", "(", "rtx", "insn", ",", "rtx", "link", ",", "rtx", "dep_insn", ",", "int", "cost", ")", "{", "if", "(", "!", "recog_memoized", "(", "insn", ")", ")", "return", "0", ";", "if", "(", "REG_NOTE_KIND", "(", "link", ")", "!=", "0", ")", "return", "0", ";", "if", "(", "REG_NOTE_KIND", "(", "link", ")", "==", "0", ")", "{", "if", "(", "rs6000_sched_groups", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "SET", "&&", "GET_CODE", "(", "PATTERN", "(", "dep_insn", ")", ")", "==", "SET", "&&", "GET_CODE", "(", "XEXP", "(", "PATTERN", "(", "insn", ")", ",", "1", ")", ")", "==", "MEM", "&&", "GET_CODE", "(", "XEXP", "(", "PATTERN", "(", "dep_insn", ")", ",", "0", ")", ")", "==", "MEM", "&&", "(", "GET_MODE_SIZE", "(", "GET_MODE", "(", "XEXP", "(", "PATTERN", "(", "insn", ")", ",", "1", ")", ")", ")", ">", "GET_MODE_SIZE", "(", "GET_MODE", "(", "XEXP", "(", "PATTERN", "(", "dep_insn", ")", ",", "0", ")", ")", ")", ")", ")", "return", "cost", "+", "14", ";", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_JMPREG", ":", "return", "TARGET_POWER", "?", "5", ":", "4", ";", "case", "TYPE_BRANCH", ":", "if", "(", "(", "rs6000_cpu_attr", "==", "CPU_PPC603", "||", "rs6000_cpu_attr", "==", "CPU_PPC604", "||", "rs6000_cpu_attr", "==", "CPU_PPC604E", "||", "rs6000_cpu_attr", "==", "CPU_PPC620", "||", "rs6000_cpu_attr", "==", "CPU_PPC630", "||", "rs6000_cpu_attr", "==", "CPU_PPC750", "||", "rs6000_cpu_attr", "==", "CPU_PPC7400", "||", "rs6000_cpu_attr", "==", "CPU_PPC7450", "||", "rs6000_cpu_attr", "==", "CPU_POWER4", "||", "rs6000_cpu_attr", "==", "CPU_POWER5", ")", "&&", "recog_memoized", "(", "dep_insn", ")", "&&", "(", "INSN_CODE", "(", "dep_insn", ")", ">=", "0", ")", "&&", "(", "get_attr_type", "(", "dep_insn", ")", "==", "TYPE_CMP", "||", "get_attr_type", "(", "dep_insn", ")", "==", "TYPE_COMPARE", "||", "get_attr_type", "(", "dep_insn", ")", "==", "TYPE_DELAYED_COMPARE", "||", "get_attr_type", "(", "dep_insn", ")", "==", "TYPE_IMUL_COMPARE", "||", "get_attr_type", "(", "dep_insn", ")", "==", "TYPE_LMUL_COMPARE", "||", "get_attr_type", "(", "dep_insn", ")", "==", "TYPE_FPCOMPARE", "||", "get_attr_type", "(", "dep_insn", ")", "==", "TYPE_CR_LOGICAL", "||", "get_attr_type", "(", "dep_insn", ")", "==", "TYPE_DELAYED_CR", ")", ")", "return", "cost", "+", "2", ";", "default", ":", "break", ";", "}", "}", "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": ["rs6000", "0", "0", "0", "0", "1", "0", "1", "0", "14", "5", "4", "0", "2"], "File": "rs60003", "Func": "rs6000_adjust_cost", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4213, "Length": 295, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "convert_float128_to_int", "(", "rtx", "*", "operands", ",", "enum", "rtx_code", "code", ")", "{", "rtx", "dest", "=", "operands", "[", "0", "]", ";", "rtx", "src", "=", "operands", "[", "1", "]", ";", "rtx", "tmp", "=", "operands", "[", "2", "]", ";", "rtx", "cvt", ";", "rtvec", "cvt_vec", ";", "rtx", "cvt_unspec", ";", "rtvec", "move_vec", ";", "rtx", "move_unspec", ";", "if", "(", "GET_CODE", "(", "tmp", ")", "==", "SCRATCH", ")", "tmp", "=", "gen_reg_rtx", "(", "V2DImode", ")", ";", "if", "(", "MEM_P", "(", "dest", ")", ")", "dest", "=", "rs6000_address_for_fpconvert", "(", "dest", ")", ";", "cvt", "=", "gen_rtx_fmt_e", "(", "code", ",", "GET_MODE", "(", "dest", ")", ",", "src", ")", ";", "cvt_vec", "=", "gen_rtvec", "(", "1", ",", "cvt", ")", ";", "cvt_unspec", "=", "gen_rtx_UNSPEC", "(", "V2DImode", ",", "cvt_vec", ",", "UNSPEC_IEEE128_CONVERT", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "tmp", ",", "cvt_unspec", ")", ")", ";", "move_vec", "=", "gen_rtvec", "(", "1", ",", "tmp", ")", ";", "move_unspec", "=", "gen_rtx_UNSPEC", "(", "GET_MODE", "(", "dest", ")", ",", "move_vec", ",", "UNSPEC_IEEE128_MOVE", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "move_unspec", ")", ")", ";", "}", ""], "natrual_language": ["Split", "a", "conversion", "from", "__float128", "to", "an", "integer", "type", "into", "separate", "insns", ".", "OPERANDS", "points", "to", "the", "destination", ",", "source", ",", "and", "V2DI", "temporary", "register", ".", "CODE", "is", "either", "FIX", "or", "UNSIGNED_FIX", "."], "TS_V_token": ["rs6000", "0", "1", "2", "1", "1"], "File": "rs60005", "Func": "convert_float128_to_int", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4214, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ",", "bool", "ForCodeSize", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "hasVFP3Base", "(", ")", ")", "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", "->", "hasFP64", "(", ")", ")", "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": "ARMISelLowering (2)6", "Func": "isFPImmLegal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4215, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitFill", "(", "const", "MCExpr", "&", "NumBytes", ",", "uint64_t", "FillValue", ",", "SMLoc", "Loc", ")", "override", "{", "EmitDataMappingSymbol", "(", ")", ";", "MCObjectStreamer", "::", "emitFill", "(", "NumBytes", ",", "FillValue", ",", "Loc", ")", ";", "}", ""], "natrual_language": ["Emit", "Size", "bytes", "worth", "of", "the", "value", "specified", "by", "FillValue", "."], "TS_V_token": ["ARM"], "File": "ARMELFStreamer16", "Func": "emitFill", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4216, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TOYAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "llvm_unreachable", "(", "\"PrintAsmMemoryOperand not implemented yet!\\n\"", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "."], "TS_V_token": ["TOY", "TOY", "\"PrintAsmMemoryOperand not implemented yet!\\n\""], "File": "TOYAsmPrinter", "Func": "PrintAsmMemoryOperand", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4217, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FrameLowering", "::", "canUseRedZone", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "!", "EnableRedZone", ")", "return", "false", ";", "if", "(", "MF", ".", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "Attribute", "::", "NoRedZone", ")", ")", "return", "false", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "AArch64FunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "unsigned", "NumBytes", "=", "AFI", "->", "getLocalStackSize", "(", ")", ";", "return", "!", "(", "MFI", ".", "hasCalls", "(", ")", "||", "hasFP", "(", "MF", ")", "||", "NumBytes", ">", "128", ")", ";", "}", ""], "natrual_language": ["Can", "this", "function", "use", "the", "red", "zone", "for", "local", "allocations", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "128"], "File": "AArch64FrameLowering19", "Func": "canUseRedZone", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4218, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_function_value_regno_p", "(", "const", "unsigned", "int", "regno", ")", "{", "if", "(", "regno", "==", "ARG_REGISTER", "(", "1", ")", "||", "(", "TARGET_32BIT", "&&", "TARGET_AAPCS_BASED", "&&", "TARGET_HARD_FLOAT", "&&", "regno", "==", "FIRST_VFP_REGNUM", ")", "||", "(", "TARGET_IWMMXT_ABI", "&&", "regno", "==", "FIRST_IWMMXT_REGNUM", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_VALUE_REGNO_P", "."], "TS_V_token": ["arm", "1"], "File": "arm", "Func": "arm_function_value_regno_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4219, "Length": 46, "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": 4220, "Length": 79, "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": 4221, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "getVectorIdxTy", "(", "const", "DataLayout", "&", "DL", ")", "const", "override", "{", "return", "MVT", "::", "i32", ";", "}", ""], "natrual_language": ["Returns", "the", "type", "to", "be", "used", "for", "the", "index", "operand", "of", ":", "ISD", ":", ":INSERT_VECTOR_ELT", ",", "ISD", ":", ":EXTRACT_VECTOR_ELT", ",", "ISD", ":", ":INSERT_SUBVECTOR", ",", "and", "ISD", ":", ":EXTRACT_SUBVECTOR", "."], "TS_V_token": ["SystemZ", "MVT::i32"], "File": "SystemZISelLowering (2)", "Func": "getVectorIdxTy", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4222, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "addRange", "(", "uint64_t", "Start", ",", "uint64_t", "End", ",", "Instruction", "*", "Inst", ")", "{", "auto", "I", "=", "llvm", "::", "lower_bound", "(", "Ranges", ",", "Start", ",", "[", "]", "(", "const", "Range", "&", "LHS", ",", "uint64_t", "RHS", ")", "{", "return", "LHS", ".", "End", "<=", "RHS", ";", "}", ")", ";", "if", "(", "I", "!=", "Ranges", ".", "end", "(", ")", "&&", "End", ">", "I", "->", "Start", ")", "{", "return", "false", ";", "}", "Ranges", ".", "insert", "(", "I", ",", "{", "Start", ",", "End", ",", "Inst", "}", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["addRange", "-", "Add", "an", "address", "range", "to", "the", "list", "of", "ranges", "for", "this", "unit", "."], "TS_V_token": ["AArch64"], "File": "AArch64StackTagging (2)", "Func": "addRange", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4223, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "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": "ARMExpandPseudoInsts18", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4224, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "ix86_autovectorize_vector_modes", "(", "vector_modes", "*", "modes", ",", "bool", "all", ")", "{", "if", "(", "TARGET_AVX512F", "&&", "!", "TARGET_PREFER_AVX256", ")", "{", "modes", "->", "safe_push", "(", "V64QImode", ")", ";", "modes", "->", "safe_push", "(", "V32QImode", ")", ";", "modes", "->", "safe_push", "(", "V16QImode", ")", ";", "}", "else", "if", "(", "TARGET_AVX512F", "&&", "all", ")", "{", "modes", "->", "safe_push", "(", "V32QImode", ")", ";", "modes", "->", "safe_push", "(", "V16QImode", ")", ";", "modes", "->", "safe_push", "(", "V64QImode", ")", ";", "}", "else", "if", "(", "TARGET_AVX", "&&", "!", "TARGET_PREFER_AVX128", ")", "{", "modes", "->", "safe_push", "(", "V32QImode", ")", ";", "modes", "->", "safe_push", "(", "V16QImode", ")", ";", "}", "else", "if", "(", "TARGET_AVX", "&&", "all", ")", "{", "modes", "->", "safe_push", "(", "V16QImode", ")", ";", "modes", "->", "safe_push", "(", "V32QImode", ")", ";", "}", "else", "if", "(", "TARGET_SSE2", ")", "modes", "->", "safe_push", "(", "V16QImode", ")", ";", "if", "(", "TARGET_MMX_WITH_SSE", ")", "modes", "->", "safe_push", "(", "V8QImode", ")", ";", "if", "(", "TARGET_SSE2", ")", "modes", "->", "safe_push", "(", "V4QImode", ")", ";", "return", "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", "0"], "File": "i386", "Func": "ix86_autovectorize_vector_modes", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4225, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMAsmPrinter", "::", "emitFunctionBodyEnd", "(", ")", "{", "if", "(", "!", "InConstantPool", ")", "return", ";", "InConstantPool", "=", "false", ";", "OutStreamer", "->", "emitDataRegion", "(", "MCDR_DataRegionEnd", ")", ";", "}", ""], "natrual_language": ["Targets", "can", "override", "this", "to", "emit", "stuff", "after", "the", "last", "basic", "block", "in", "the", "function", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMAsmPrinter", "Func": "emitFunctionBodyEnd", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4226, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SICAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "SICFI", "=", "MF", ".", "getInfo", "<", "SICFunctionInfo", ">", "(", ")", ";", "AsmPrinter", "::", "runOnMachineFunction", "(", "MF", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["SIC", "SIC", "SIC", "SIC"], "File": "SICAsmPrinter", "Func": "runOnMachineFunction", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4227, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSEDAGToDAGISel", "::", "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": "MipsSEISelDAGToDAG6", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4228, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", "ARMBaseInstrInfo", "::", "decomposeMachineOperandsTargetFlags", "(", "unsigned", "TF", ")", "const", "{", "const", "unsigned", "Mask", "=", "ARMII", "::", "MO_OPTION_MASK", ";", "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": ["ARM", "ARM", "ARMII::MO_OPTION_MASK"], "File": "ARMBaseInstrInfo1", "Func": "decomposeMachineOperandsTargetFlags", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4229, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "gen_pop", "(", "rtx", "arg", ")", "{", "if", "(", "REG_P", "(", "arg", ")", "&&", "GET_MODE", "(", "arg", ")", "!=", "word_mode", ")", "arg", "=", "gen_rtx_REG", "(", "word_mode", ",", "REGNO", "(", "arg", ")", ")", ";", "return", "gen_rtx_SET", "(", "arg", ",", "gen_rtx_MEM", "(", "word_mode", ",", "gen_rtx_POST_INC", "(", "Pmode", ",", "stack_pointer_rtx", ")", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "an", "``", "pop", "''", "pattern", "for", "input", "ARG", "."], "TS_V_token": ["i386"], "File": "i3865", "Func": "gen_pop", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4230, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCFrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "return", "false", ";", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "PPCInstrInfo", "&", "TII", "=", "*", "Subtarget", ".", "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", "0", "0", "PPC::VRSAVE", "PPC::CR2", "PPC::CR3", "PPC::CR4", "PPC::CR2", "PPC::CR4", "PPC", "\"loadRegFromStackSlot didn't insert any code!\"", "PPC"], "File": "PPCFrameLowering11", "Func": "restoreCalleeSavedRegisters", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4231, "Length": 412, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "VERegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "switch", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", ")", "{", "case", "CallingConv", "::", "Fast", ":", "default", ":", "return", "CSR_SaveList", ";", "case", "CallingConv", "::", "PreserveAll", ":", "return", "CSR_preserve_all_SaveList", ";", "}", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["VE", "VE"], "File": "VERegisterInfo3", "Func": "getCalleeSavedRegs", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4232, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["LoongArch"], "File": "LoongArchAsmParser", "Func": "ParseDirective", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4233, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64AsmBackend", "::", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCInst", "&", "Res", ")", "const", "{", "llvm_unreachable", "(", "\"AArch64AsmBackend::relaxInstruction() unimplemented\"", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["AArch64", "AArch64", "\"AArch64AsmBackend::relaxInstruction() unimplemented\""], "File": "AArch64AsmBackend1", "Func": "relaxInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4234, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "long", "arm_current_func_type", "(", "void", ")", "{", "if", "(", "ARM_FUNC_TYPE", "(", "cfun", "->", "machine", "->", "func_type", ")", "==", "ARM_FT_UNKNOWN", ")", "cfun", "->", "machine", "->", "func_type", "=", "arm_compute_func_type", "(", ")", ";", "return", "cfun", "->", "machine", "->", "func_type", ";", "}", ""], "natrual_language": ["Returns", "the", "type", "of", "the", "current", "function", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_current_func_type", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4235, "Length": 38, "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", "(", ")", ";", "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", "1", "0", "ARM::tBX", "ARMCC::AL", "0"], "File": "ARMAsmPrinter30", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4236, "Length": 221, "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", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "isLittle", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "CPU", ",", "Options", ",", "isLittle", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "TT", ",", "RM", ")", ",", "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", ";", "}", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "ARM", "architecture", "model", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM"], "File": "ARMTargetMachine58", "Func": "ARMBaseTargetMachine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4237, "Length": 291, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "canInsertSelect", "(", "const", "MachineBasicBlock", "&", "MBB", ",", "const", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "unsigned", "TrueReg", ",", "unsigned", "FalseReg", ",", "int", "&", "CondCycles", ",", "int", "&", "TrueCycles", ",", "int", "&", "FalseCycles", ")", "const", "{", "if", "(", "!", "TM", ".", "getSubtargetImpl", "(", ")", "->", "hasISEL", "(", ")", ")", "return", "false", ";", "if", "(", "Cond", ".", "size", "(", ")", "!=", "2", ")", "return", "false", ";", "if", "(", "Cond", "[", "1", "]", ".", "getReg", "(", ")", "==", "PPC", "::", "CTR", "||", "Cond", "[", "1", "]", ".", "getReg", "(", ")", "==", "PPC", "::", "CTR8", ")", "return", "false", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "RI", ".", "getCommonSubClass", "(", "MRI", ".", "getRegClass", "(", "TrueReg", ")", ",", "MRI", ".", "getRegClass", "(", "FalseReg", ")", ")", ";", "if", "(", "!", "RC", ")", "return", "false", ";", "if", "(", "!", "PPC", "::", "GPRCRegClass", ".", "hasSubClassEq", "(", "RC", ")", "&&", "!", "PPC", "::", "GPRC_NOR0RegClass", ".", "hasSubClassEq", "(", "RC", ")", "&&", "!", "PPC", "::", "G8RCRegClass", ".", "hasSubClassEq", "(", "RC", ")", "&&", "!", "PPC", "::", "G8RC_NOX0RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "return", "false", ";", "CondCycles", "=", "1", ";", "TrueCycles", "=", "1", ";", "FalseCycles", "=", "1", ";", "return", "true", ";", "}", ""], "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": ["PowerPC", "PPC", "2", "1", "PPC::CTR", "1", "PPC::CTR8", "PPC::GPRCRegClass", "PPC::GPRC_NOR0RegClass", "PPC::G8RCRegClass", "PPC::G8RC_NOX0RegClass", "1", "1", "1"], "File": "PPCInstrInfo (2)", "Func": "canInsertSelect", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4238, "Length": 206, "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": 4239, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0SETargetLowering", "::", "isEligibleForTailCallOptimization", "(", "const", "Cpu0CC", "&", "Cpu0CCInfo", ",", "unsigned", "NextStackOffset", ",", "const", "Cpu0MachineFunctionInfo", "&", "FI", ")", "const", "{", "if", "(", "!", "EnableCpu0TailCalls", ")", "return", "false", ";", "if", "(", "Cpu0CCInfo", ".", "hasByValArg", "(", ")", "||", "FI", ".", "hasByvalArg", "(", ")", ")", "return", "false", ";", "return", "NextStackOffset", "<=", "FI", ".", "getIncomingArgSize", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "call", "can", "be", "lowered", "as", "a", "tail", "call", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0"], "File": "Cpu0SEISelLowering1", "Func": "isEligibleForTailCallOptimization", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4240, "Length": 55, "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", ":", "Res", "=", "LowerSADDSUBSAT", "(", "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", ";", "}", "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", "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"], "File": "ARMISelLowering103", "Func": "ReplaceNodeResults", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4241, "Length": 359, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "VETargetLowering", "::", "shouldExpandAtomicRMWInIR", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "if", "(", "AI", "->", "getOperation", "(", ")", "==", "AtomicRMWInst", "::", "Xchg", ")", "{", "return", "AtomicExpansionKind", "::", "None", ";", "}", "return", "AtomicExpansionKind", "::", "CmpXChg", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "IR-level", "AtomicExpand", "pass", "should", "expand", "the", "given", "AtomicRMW", ",", "if", "at", "all", "."], "TS_V_token": ["VE", "VE"], "File": "VEISelLowering11", "Func": "shouldExpandAtomicRMWInIR", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4242, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "aarch64_partial_ptrue_length", "(", "rtx_vector_builder", "&", "builder", ",", "unsigned", "int", "elt_size", ")", "{", "if", "(", "builder", ".", "nelts_per_pattern", "(", ")", "==", "3", ")", "return", "0", ";", "unsigned", "int", "nelts", "=", "builder", ".", "encoded_nelts", "(", ")", ";", "unsigned", "int", "i", "=", "0", ";", "for", "(", ";", "i", "<", "nelts", ";", "i", "+=", "elt_size", ")", "if", "(", "INTVAL", "(", "builder", ".", "elt", "(", "i", ")", ")", "==", "0", ")", "break", ";", "unsigned", "int", "vl", "=", "i", "/", "elt_size", ";", "if", "(", "i", "==", "nelts", ")", "return", "-", "1", ";", "if", "(", "builder", ".", "nelts_per_pattern", "(", ")", "!=", "2", ")", "return", "0", ";", "if", "(", "i", ">", "builder", ".", "npatterns", "(", ")", "&&", "maybe_ne", "(", "nelts", ",", "builder", ".", "full_nelts", "(", ")", ")", ")", "return", "0", ";", "for", "(", ";", "i", "<", "nelts", ";", "i", "+=", "elt_size", ")", "if", "(", "INTVAL", "(", "builder", ".", "elt", "(", "i", ")", ")", "!=", "0", ")", "return", "0", ";", "return", "vl", ";", "}", ""], "natrual_language": ["BUILDER", "is", "a", "predicate", "constant", "of", "mode", "VNx16BI", ".", "Consider", "the", "value", "that", "the", "constant", "would", "have", "with", "predicate", "element", "size", "ELT_SIZE", "(", "ignoring", "the", "upper", "bits", "in", "each", "element", ")", "and", "return", ":", "*", "-1", "if", "all", "bits", "are", "set", "*", "N", "if", "the", "predicate", "has", "N", "leading", "set", "bits", "followed", "by", "all", "clear", "bits", "*", "0", "if", "the", "predicate", "does", "not", "have", "any", "of", "these", "forms", "."], "TS_V_token": ["aarch64", "3", "0", "0", "0", "1", "2", "0", "0", "0", "0"], "File": "aarch64", "Func": "aarch64_partial_ptrue_length", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4243, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "MipsRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MipsSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "Subtarget", ".", "getFrameLowering", "(", ")", ";", "bool", "IsN64", "=", "static_cast", "<", "const", "MipsTargetMachine", "&", ">", "(", "MF", ".", "getTarget", "(", ")", ")", ".", "getABI", "(", ")", ".", "IsN64", "(", ")", ";", "if", "(", "Subtarget", ".", "inMips16Mode", "(", ")", ")", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "Mips", "::", "S0", ":", "Mips", "::", "SP", ";", "else", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "(", "IsN64", "?", "Mips", "::", "FP_64", ":", "Mips", "::", "FP", ")", ":", "(", "IsN64", "?", "Mips", "::", "SP_64", ":", "Mips", "::", "SP", ")", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::S0", "Mips::SP", "Mips::FP_64", "Mips::FP", "Mips::SP_64", "Mips::SP"], "File": "MipsRegisterInfo (2)2", "Func": "getFrameRegister", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4244, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCAIXAsmPrinter", "::", "emitFunctionBodyEnd", "(", ")", "{", "if", "(", "!", "TM", ".", "getXCOFFTracebackTable", "(", ")", ")", "return", ";", "emitTracebackTable", "(", ")", ";", "if", "(", "!", "TargetLoweringObjectFileXCOFF", "::", "ShouldEmitEHBlock", "(", "MF", ")", "&&", "(", "getNumberOfVRSaved", "(", ")", ">", "0", ")", ")", "{", "OutStreamer", "->", "SwitchSection", "(", "getObjFileLowering", "(", ")", ".", "getCompactUnwindSection", "(", ")", ")", ";", "MCSymbol", "*", "EHInfoLabel", "=", "TargetLoweringObjectFileXCOFF", "::", "getEHInfoTableSymbol", "(", "MF", ")", ";", "OutStreamer", "->", "emitLabel", "(", "EHInfoLabel", ")", ";", "OutStreamer", "->", "emitInt32", "(", "0", ")", ";", "const", "DataLayout", "&", "DL", "=", "MMI", "->", "getModule", "(", ")", "->", "getDataLayout", "(", ")", ";", "const", "unsigned", "PointerSize", "=", "DL", ".", "getPointerSize", "(", ")", ";", "OutStreamer", "->", "emitValueToAlignment", "(", "PointerSize", ")", ";", "OutStreamer", "->", "emitIntValue", "(", "0", ",", "PointerSize", ")", ";", "OutStreamer", "->", "emitIntValue", "(", "0", ",", "PointerSize", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "MF", "->", "getSection", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["Targets", "can", "override", "this", "to", "emit", "stuff", "after", "the", "last", "basic", "block", "in", "the", "function", "."], "TS_V_token": ["PowerPC", "PPC", "0", "0", "0", "0"], "File": "PPCAsmPrinter (2)3", "Func": "emitFunctionBodyEnd", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4245, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "shouldSinkOperands", "(", "Instruction", "*", "I", ",", "SmallVectorImpl", "<", "Use", "*", ">", "&", "Ops", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "hasNEON", "(", ")", "||", "!", "I", "->", "getType", "(", ")", "->", "isVectorTy", "(", ")", ")", "return", "false", ";", "switch", "(", "I", "->", "getOpcode", "(", ")", ")", "{", "case", "Instruction", "::", "Sub", ":", "case", "Instruction", "::", "Add", ":", "{", "if", "(", "!", "areExtractExts", "(", "I", "->", "getOperand", "(", "0", ")", ",", "I", "->", "getOperand", "(", "1", ")", ")", ")", "return", "false", ";", "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": ["ARM", "ARM", "0", "1", "0", "1"], "File": "ARMISelLowering10", "Func": "shouldSinkOperands", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4246, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "get_thread_pointer", "(", "machine_mode", "tp_mode", ",", "bool", "to_reg", ")", "{", "rtx", "tp", "=", "gen_rtx_UNSPEC", "(", "ptr_mode", ",", "gen_rtvec", "(", "1", ",", "const0_rtx", ")", ",", "UNSPEC_TP", ")", ";", "if", "(", "GET_MODE", "(", "tp", ")", "!=", "tp_mode", ")", "{", "gcc_assert", "(", "GET_MODE", "(", "tp", ")", "==", "SImode", ")", ";", "gcc_assert", "(", "tp_mode", "==", "DImode", ")", ";", "tp", "=", "gen_rtx_ZERO_EXTEND", "(", "tp_mode", ",", "tp", ")", ";", "}", "if", "(", "to_reg", ")", "tp", "=", "copy_to_mode_reg", "(", "tp_mode", ",", "tp", ")", ";", "return", "tp", ";", "}", ""], "natrual_language": ["Load", "the", "thread", "pointer", ".", "If", "TO_REG", "is", "true", ",", "force", "it", "into", "a", "register", "."], "TS_V_token": ["i386", "1"], "File": "i386", "Func": "get_thread_pointer", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4247, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "loongarch_canonicalize_int_order_test", "(", "enum", "rtx_code", "*", "code", ",", "rtx", "*", "cmp1", ",", "machine_mode", "mode", ")", "{", "HOST_WIDE_INT", "plus_one", ";", "if", "(", "loongarch_int_order_operand_ok_p", "(", "*", "code", ",", "*", "cmp1", ")", ")", "return", "true", ";", "if", "(", "CONST_INT_P", "(", "*", "cmp1", ")", ")", "switch", "(", "*", "code", ")", "{", "case", "LE", ":", "plus_one", "=", "trunc_int_for_mode", "(", "UINTVAL", "(", "*", "cmp1", ")", "+", "1", ",", "mode", ")", ";", "if", "(", "INTVAL", "(", "*", "cmp1", ")", "<", "plus_one", ")", "{", "*", "code", "=", "LT", ";", "*", "cmp1", "=", "force_reg", "(", "mode", ",", "GEN_INT", "(", "plus_one", ")", ")", ";", "return", "true", ";", "}", "break", ";", "case", "LEU", ":", "plus_one", "=", "trunc_int_for_mode", "(", "UINTVAL", "(", "*", "cmp1", ")", "+", "1", ",", "mode", ")", ";", "if", "(", "plus_one", "!=", "0", ")", "{", "*", "code", "=", "LTU", ";", "*", "cmp1", "=", "force_reg", "(", "mode", ",", "GEN_INT", "(", "plus_one", ")", ")", ";", "return", "true", ";", "}", "break", ";", "default", ":", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "*", "CMP1", "(", "of", "mode", "MODE", ")", "is", "a", "valid", "second", "operand", "for", "integer", "ordering", "test", "*", "CODE", ",", "or", "if", "an", "equivalent", "combination", "can", "be", "formed", "by", "adjusting", "*", "CODE", "and", "*", "CMP1", ".", "When", "returning", "true", ",", "update", "*", "CODE", "and", "*", "CMP1", "with", "the", "chosen", "code", "and", "operand", ",", "otherwise", "leave", "them", "alone", "."], "TS_V_token": ["loongarch", "1", "1", "0"], "File": "loongarch", "Func": "loongarch_canonicalize_int_order_test", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4248, "Length": 159, "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": 4249, "Length": 281, "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": ["MMIX"], "File": "MMIXAsmParser", "Func": "getEndLoc", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4250, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_sim_wait_regs_2", "(", "rtx", "*", "x", ",", "void", "*", "data", ")", "{", "if", "(", "REG_P", "(", "*", "x", ")", ")", "mips_sim_wait_reg", "(", "data", ",", "mips_sim_insn", ",", "*", "x", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["A", "for_each_rtx", "callback", ".", "If", "*", "X", "is", "a", "register", ",", "advance", "simulation", "state", "DATA", "until", "mips_sim_insn", "can", "read", "the", "register", "'s", "value", "."], "TS_V_token": ["mips", "0"], "File": "mips3", "Func": "mips_sim_wait_regs_2", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4251, "Length": 35, "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": 4252, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "static", "int", "arm_constant_limit", "(", "bool", "size_p", ")", "{", "return", "size_p", "?", "1", ":", "current_tune", "->", "constant_limit", ";", "}", ""], "natrual_language": ["The", "maximum", "number", "of", "insns", "to", "be", "used", "when", "loading", "a", "constant", "."], "TS_V_token": ["arm", "1"], "File": "arm", "Func": "arm_constant_limit", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4253, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"ARM Native Client Rewrite Pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"ARM Native Client Rewrite Pass\""], "File": "ARMNaClRewritePass", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4254, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "ix86_valid_target_attribute_tree", "(", "tree", "args", ",", "struct", "gcc_options", "*", "opts", ",", "struct", "gcc_options", "*", "opts_set", ")", "{", "const", "char", "*", "orig_arch_string", "=", "opts", "->", "x_ix86_arch_string", ";", "const", "char", "*", "orig_tune_string", "=", "opts", "->", "x_ix86_tune_string", ";", "enum", "fpmath_unit", "orig_fpmath_set", "=", "opts_set", "->", "x_ix86_fpmath", ";", "int", "orig_tune_defaulted", "=", "ix86_tune_defaulted", ";", "int", "orig_arch_specified", "=", "ix86_arch_specified", ";", "char", "*", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_MAX", "]", "=", "{", "NULL", ",", "NULL", "}", ";", "tree", "t", "=", "NULL_TREE", ";", "struct", "cl_target_option", "*", "def", "=", "TREE_TARGET_OPTION", "(", "target_option_default_node", ")", ";", "struct", "gcc_options", "enum_opts_set", ";", "memset", "(", "&", "enum_opts_set", ",", "0", ",", "sizeof", "(", "enum_opts_set", ")", ")", ";", "if", "(", "!", "ix86_valid_target_attribute_inner_p", "(", "args", ",", "option_strings", ",", "opts", ",", "opts_set", ",", "&", "enum_opts_set", ")", ")", "return", "error_mark_node", ";", "if", "(", "opts", "->", "x_ix86_isa_flags", "!=", "def", "->", "x_ix86_isa_flags", "||", "opts", "->", "x_ix86_isa_flags2", "!=", "def", "->", "x_ix86_isa_flags2", "||", "opts", "->", "x_target_flags", "!=", "def", "->", "x_target_flags", "||", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_ARCH", "]", "||", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_TUNE", "]", "||", "enum_opts_set", ".", "x_ix86_fpmath", ")", "{", "if", "(", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_ARCH", "]", ")", "{", "opts", "->", "x_ix86_arch_string", "=", "ggc_strdup", "(", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_ARCH", "]", ")", ";", "opts", "->", "x_ix86_isa_flags", "&=", "(", "OPTION_MASK_ISA_64BIT", "|", "OPTION_MASK_ABI_64", "|", "OPTION_MASK_ABI_X32", "|", "OPTION_MASK_CODE16", ")", ";", "opts", "->", "x_ix86_isa_flags2", "=", "0", ";", "}", "else", "if", "(", "!", "orig_arch_specified", ")", "opts", "->", "x_ix86_arch_string", "=", "NULL", ";", "if", "(", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_TUNE", "]", ")", "opts", "->", "x_ix86_tune_string", "=", "ggc_strdup", "(", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_TUNE", "]", ")", ";", "else", "if", "(", "orig_tune_defaulted", ")", "opts", "->", "x_ix86_tune_string", "=", "NULL", ";", "if", "(", "enum_opts_set", ".", "x_ix86_fpmath", ")", "opts_set", "->", "x_ix86_fpmath", "=", "(", "enum", "fpmath_unit", ")", "1", ";", "bool", "r", "=", "ix86_option_override_internal", "(", "false", ",", "opts", ",", "opts_set", ")", ";", "if", "(", "!", "r", ")", "{", "release_options_strings", "(", "option_strings", ")", ";", "return", "error_mark_node", ";", "}", "ix86_add_new_builtins", "(", "opts", "->", "x_ix86_isa_flags", ",", "opts", "->", "x_ix86_isa_flags2", ")", ";", "t", "=", "build_target_option_node", "(", "opts", ")", ";", "opts", "->", "x_ix86_arch_string", "=", "orig_arch_string", ";", "opts", "->", "x_ix86_tune_string", "=", "orig_tune_string", ";", "opts_set", "->", "x_ix86_fpmath", "=", "orig_fpmath_set", ";", "release_options_strings", "(", "option_strings", ")", ";", "}", "return", "t", ";", "}", ""], "natrual_language": ["Return", "a", "TARGET_OPTION_NODE", "tree", "of", "the", "target", "options", "listed", "or", "NULL", "."], "TS_V_token": ["i386", "0", "0", "1"], "File": "i3867", "Func": "ix86_valid_target_attribute_tree", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4255, "Length": 331, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "VESubtarget", "::", "getAdjustedFrameSize", "(", "int", "frameSize", ")", "const", "{", "frameSize", "+=", "176", ";", "frameSize", "=", "alignTo", "(", "frameSize", ",", "16", ")", ";", "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": ["VE", "VE", "176", "16"], "File": "VESubtarget", "Func": "getAdjustedFrameSize", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4256, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "addInst", "(", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SPAdjust", ",", "bool", "BeforeFPSet", "=", "false", ")", "{", "InstInfo", "Info", "=", "{", "I", ",", "SPAdjust", ",", "BeforeFPSet", "}", ";", "Insts", ".", "push_back", "(", "Info", ")", ";", "}", ""], "natrual_language": ["Add", "a", "new", "MCInst", "operand", "."], "TS_V_token": ["ARM"], "File": "ARMFrameLowering (2)1", "Func": "addInst", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4257, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"SystemZ Local Dynamic TLS Access Clean-up\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["SystemZ", "\"SystemZ Local Dynamic TLS Access Clean-up\""], "File": "SystemZLDCleanup (2)1", "Func": "getPassName", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4258, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "analyzeBranchPredicate", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBranchPredicate", "&", "MBP", ",", "bool", "AllowModify", ")", "const", "{", "using", "namespace", "std", "::", "placeholders", ";", "SmallVector", "<", "MachineOperand", ",", "4", ">", "Cond", ";", "SmallVector", "<", "MachineInstr", "*", ",", "4", ">", "CondBranches", ";", "if", "(", "AnalyzeBranchImpl", "(", "MBB", ",", "MBP", ".", "TrueDest", ",", "MBP", ".", "FalseDest", ",", "Cond", ",", "CondBranches", ",", "AllowModify", ")", ")", "return", "true", ";", "if", "(", "Cond", ".", "size", "(", ")", "!=", "1", ")", "return", "true", ";", "assert", "(", "MBP", ".", "TrueDest", "&&", "\"expected!\"", ")", ";", "if", "(", "!", "MBP", ".", "FalseDest", ")", "MBP", ".", "FalseDest", "=", "MBB", ".", "getNextNode", "(", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "&", "getRegisterInfo", "(", ")", ";", "MachineInstr", "*", "ConditionDef", "=", "nullptr", ";", "bool", "SingleUseCondition", "=", "true", ";", "for", "(", "MachineInstr", "&", "MI", ":", "llvm", "::", "drop_begin", "(", "llvm", "::", "reverse", "(", "MBB", ")", ")", ")", "{", "if", "(", "MI", ".", "modifiesRegister", "(", "X86", "::", "EFLAGS", ",", "TRI", ")", ")", "{", "ConditionDef", "=", "&", "MI", ";", "break", ";", "}", "if", "(", "MI", ".", "readsRegister", "(", "X86", "::", "EFLAGS", ",", "TRI", ")", ")", "SingleUseCondition", "=", "false", ";", "}", "if", "(", "!", "ConditionDef", ")", "return", "true", ";", "if", "(", "SingleUseCondition", ")", "{", "for", "(", "auto", "*", "Succ", ":", "MBB", ".", "successors", "(", ")", ")", "if", "(", "Succ", "->", "isLiveIn", "(", "X86", "::", "EFLAGS", ")", ")", "SingleUseCondition", "=", "false", ";", "}", "MBP", ".", "ConditionDef", "=", "ConditionDef", ";", "MBP", ".", "SingleUseCondition", "=", "SingleUseCondition", ";", "const", "unsigned", "TestOpcode", "=", "Subtarget", ".", "is64Bit", "(", ")", "?", "X86", "::", "TEST64rr", ":", "X86", "::", "TEST32rr", ";", "if", "(", "ConditionDef", "->", "getOpcode", "(", ")", "==", "TestOpcode", "&&", "ConditionDef", "->", "getNumOperands", "(", ")", "==", "3", "&&", "ConditionDef", "->", "getOperand", "(", "0", ")", ".", "isIdenticalTo", "(", "ConditionDef", "->", "getOperand", "(", "1", ")", ")", "&&", "(", "Cond", "[", "0", "]", ".", "getImm", "(", ")", "==", "X86", "::", "COND_NE", "||", "Cond", "[", "0", "]", ".", "getImm", "(", ")", "==", "X86", "::", "COND_E", ")", ")", "{", "MBP", ".", "LHS", "=", "ConditionDef", "->", "getOperand", "(", "0", ")", ";", "MBP", ".", "RHS", "=", "MachineOperand", "::", "CreateImm", "(", "0", ")", ";", "MBP", ".", "Predicate", "=", "Cond", "[", "0", "]", ".", "getImm", "(", ")", "==", "X86", "::", "COND_NE", "?", "MachineBranchPredicate", "::", "PRED_NE", ":", "MachineBranchPredicate", "::", "PRED_EQ", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Analyze", "the", "branching", "code", "at", "the", "end", "of", "MBB", "and", "parse", "it", "into", "the", "MachineBranchPredicate", "structure", "if", "possible", "."], "TS_V_token": ["X86", "X86", "4", "4", "1", "\"expected!\"", "X86::EFLAGS", "X86::EFLAGS", "X86::EFLAGS", "X86::TEST64rr", "X86::TEST32rr", "3", "0", "1", "0", "X86::COND_NE", "0", "X86::COND_E", "0", "0", "0", "X86::COND_NE"], "File": "X86InstrInfo153", "Func": "analyzeBranchPredicate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4259, "Length": 374, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "mve_dereference_pointer", "(", "tree", "exp", ",", "tree", "type", ",", "machine_mode", "reg_mode", ",", "machine_mode", "vector_mode", ")", "{", "HOST_WIDE_INT", "reg_size", ",", "vector_size", ",", "nelems", ";", "tree", "elem_type", ",", "upper_bound", ",", "array_type", ";", "vector_size", "=", "GET_MODE_SIZE", "(", "vector_mode", ")", ";", "reg_size", "=", "GET_MODE_SIZE", "(", "reg_mode", ")", ";", "gcc_assert", "(", "POINTER_TYPE_P", "(", "type", ")", ")", ";", "elem_type", "=", "TREE_TYPE", "(", "type", ")", ";", "nelems", "=", "reg_size", "/", "vector_size", ";", "upper_bound", "=", "build_int_cst", "(", "size_type_node", ",", "nelems", "-", "1", ")", ";", "array_type", "=", "build_array_type", "(", "elem_type", ",", "build_index_type", "(", "upper_bound", ")", ")", ";", "return", "fold_build2", "(", "MEM_REF", ",", "array_type", ",", "exp", ",", "build_int_cst", "(", "build_pointer_type", "(", "array_type", ")", ",", "0", ")", ")", ";", "}", ""], "natrual_language": ["EXP", "is", "a", "pointer", "argument", "to", "a", "vector", "scatter", "store", "intrinsics", ".", "Consider", "the", "following", "example", ":", "VSTRW", "<", "v", ">", ".", "<", "dt", ">", "Qd", ",", "[", "Qm", "{", ",", "#", "+/-", "<", "imm", ">", "}", "]", "!", "When", "<", "Qm", ">", "used", "as", "the", "base", "register", "for", "the", "target", "address", ",", "this", "function", "is", "used", "to", "derive", "and", "return", "an", "expression", "for", "the", "accessed", "memory", ".", "The", "intrinsic", "function", "operates", "on", "a", "block", "of", "registers", "that", "has", "mode", "REG_MODE", ".", "This", "block", "contains", "vectors", "of", "type", "TYPE_MODE", ".", "The", "function", "references", "the", "memory", "at", "EXP", "of", "type", "TYPE", "and", "in", "mode", "MEM_MODE", ".", "This", "mode", "may", "be", "BLKmode", "if", "no", "more", "suitable", "mode", "is", "available", "."], "TS_V_token": ["arm", "1", "0"], "File": "arm-builtins", "Func": "mve_dereference_pointer", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4260, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZInstrInfo", "::", "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", "(", ")", ";", "unsigned", "Opc", "=", "0", ";", "if", "(", "RC", "==", "&", "SystemZ", "::", "GR32RegClass", "||", "RC", "==", "&", "SystemZ", "::", "ADDR32RegClass", ")", "Opc", "=", "SystemZ", "::", "MOV32rm", ";", "else", "if", "(", "RC", "==", "&", "SystemZ", "::", "GR64RegClass", "||", "RC", "==", "&", "SystemZ", "::", "ADDR64RegClass", ")", "{", "Opc", "=", "SystemZ", "::", "MOV64rm", ";", "}", "else", "if", "(", "RC", "==", "&", "SystemZ", "::", "FP32RegClass", ")", "{", "Opc", "=", "SystemZ", "::", "FMOV32rm", ";", "}", "else", "if", "(", "RC", "==", "&", "SystemZ", "::", "FP64RegClass", ")", "{", "Opc", "=", "SystemZ", "::", "FMOV64rm", ";", "}", "else", "if", "(", "RC", "==", "&", "SystemZ", "::", "GR64PRegClass", ")", "{", "Opc", "=", "SystemZ", "::", "MOV64Prm", ";", "}", "else", "if", "(", "RC", "==", "&", "SystemZ", "::", "GR128RegClass", ")", "{", "Opc", "=", "SystemZ", "::", "MOV128rm", ";", "}", "else", "llvm_unreachable", "(", "\"Unsupported regclass to load\"", ")", ";", "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": ["SystemZ", "SystemZ", "0", "SystemZ::GR32RegClass", "SystemZ::ADDR32RegClass", "SystemZ::MOV32rm", "SystemZ::GR64RegClass", "SystemZ::ADDR64RegClass", "SystemZ::MOV64rm", "SystemZ::FP32RegClass", "SystemZ::FMOV32rm", "SystemZ::FP64RegClass", "SystemZ::FMOV64rm", "SystemZ::GR64PRegClass", "SystemZ::MOV64Prm", "SystemZ::GR128RegClass", "SystemZ::MOV128rm", "\"Unsupported regclass to load\""], "File": "SystemZInstrInfo25", "Func": "loadRegFromStackSlot", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4261, "Length": 205, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "CJGRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["CJG", "CJG"], "File": "CJGInstrInfo", "Func": "getRegisterInfo", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4262, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "KudeyarAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "if", "(", "MI", "->", "isDebugValue", "(", ")", ")", "{", "SmallString", "<", "128", ">", "Str", ";", "raw_svector_ostream", "OS", "(", "Str", ")", ";", "PrintDebugValueComment", "(", "MI", ",", "OS", ")", ";", "return", ";", "}", "MCInst", "TmpInst0", ";", "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": ["Kudeyar", "Kudeyar", "128"], "File": "KudeyarAsmPrinter", "Func": "EmitInstruction", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4263, "Length": 62, "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": 4264, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCInstFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "assert", "(", "0", "&&", "\"relaxInstruction() unimplemented\"", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["PowerPC", "0", "\"relaxInstruction() unimplemented\""], "File": "PPCAsmBackend38", "Func": "fixupNeedsRelaxation", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4265, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsAnalyzeImmediate", "::", "InstSeq", "&", "MipsAnalyzeImmediate", "::", "Analyze", "(", "uint64_t", "Imm", ",", "unsigned", "Size", ",", "bool", "LastInstrIsADDiu", ")", "{", "this", "->", "Size", "=", "Size", ";", "if", "(", "Size", "==", "32", ")", "{", "ADDiu", "=", "Mips", "::", "ADDiu", ";", "ORi", "=", "Mips", "::", "ORi", ";", "SLL", "=", "Mips", "::", "SLL", ";", "LUi", "=", "Mips", "::", "LUi", ";", "}", "else", "{", "ADDiu", "=", "Mips", "::", "DADDiu", ";", "ORi", "=", "Mips", "::", "ORi64", ";", "SLL", "=", "Mips", "::", "DSLL", ";", "LUi", "=", "Mips", "::", "LUi64", ";", "}", "InstSeqLs", "SeqLs", ";", "if", "(", "LastInstrIsADDiu", "|", "!", "Imm", ")", "GetInstSeqLsADDiu", "(", "Imm", ",", "Size", ",", "SeqLs", ")", ";", "else", "GetInstSeqLs", "(", "Imm", ",", "Size", ",", "SeqLs", ")", ";", "GetShortestSeq", "(", "SeqLs", ",", "Insts", ")", ";", "return", "Insts", ";", "}", ""], "natrual_language": ["Analyze", "-", "Get", "an", "instruction", "sequence", "to", "load", "immediate", "Imm", "."], "TS_V_token": ["Mips", "Mips", "Mips", "32", "Mips::ADDiu", "Mips::ORi", "Mips::SLL", "Mips::LUi", "Mips::DADDiu", "Mips::ORi64", "Mips::DSLL", "Mips::LUi64"], "File": "MipsAnalyzeImmediate (2)", "Func": "Analyze", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4266, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86IntelAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "this", "->", "MF", "=", "&", "MF", ";", "SetupMachineFunction", "(", "MF", ")", ";", "O", "<<", "\"\\n\\n\"", ";", "EmitConstantPool", "(", "MF", ".", "getConstantPool", "(", ")", ")", ";", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "unsigned", "CC", "=", "F", "->", "getCallingConv", "(", ")", ";", "unsigned", "FnAlign", "=", "MF", ".", "getAlignment", "(", ")", ";", "if", "(", "CC", "==", "CallingConv", "::", "X86_StdCall", "||", "CC", "==", "CallingConv", "::", "X86_FastCall", ")", "FunctionInfoMap", "[", "F", "]", "=", "*", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "decorateName", "(", "CurrentFnName", ",", "F", ")", ";", "OutStreamer", ".", "SwitchSection", "(", "getObjFileLowering", "(", ")", ".", "SectionForGlobal", "(", "F", ",", "Mang", ",", "TM", ")", ")", ";", "switch", "(", "F", "->", "getLinkage", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unsupported linkage type!\"", ")", ";", "case", "Function", "::", "PrivateLinkage", ":", "case", "Function", "::", "LinkerPrivateLinkage", ":", "case", "Function", "::", "InternalLinkage", ":", "EmitAlignment", "(", "FnAlign", ")", ";", "break", ";", "case", "Function", "::", "DLLExportLinkage", ":", "DLLExportedFns", ".", "insert", "(", "CurrentFnName", ")", ";", "case", "Function", "::", "ExternalLinkage", ":", "O", "<<", "\"\\tpublic \"", "<<", "CurrentFnName", "<<", "\"\\n\"", ";", "EmitAlignment", "(", "FnAlign", ")", ";", "break", ";", "}", "O", "<<", "CurrentFnName", "<<", "\"\\tproc near\\n\"", ";", "for", "(", "MachineFunction", "::", "const_iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "!", "I", "->", "pred_empty", "(", ")", ")", "{", "printBasicBlockLabel", "(", "I", ",", "true", ",", "true", ")", ";", "O", "<<", "'\\n'", ";", "}", "for", "(", "MachineBasicBlock", "::", "const_iterator", "II", "=", "I", "->", "begin", "(", ")", ",", "E", "=", "I", "->", "end", "(", ")", ";", "II", "!=", "E", ";", "++", "II", ")", "{", "printMachineInstruction", "(", "II", ")", ";", "}", "}", "EmitJumpTableInfo", "(", "MF", ".", "getJumpTableInfo", "(", ")", ",", "MF", ")", ";", "O", "<<", "CurrentFnName", "<<", "\"\\tendp\\n\"", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "\"\\n\\n\"", "X86", "X86", "X86", "\"Unsupported linkage type!\"", "\"\\tpublic \"", "\"\\n\"", "\"\\tproc near\\n\"", "\"\\tendp\\n\""], "File": "X86IntelAsmPrinter2", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4267, "Length": 305, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_insn_has_inflexible_gp_ref_p", "(", "rtx_insn", "*", "insn", ")", "{", "return", "find_reg_fusage", "(", "insn", ",", "USE", ",", "pic_offset_table_rtx", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "INSN", "refers", "to", "the", "global", "pointer", "in", "an", "``", "inflexible", "''", "way", ".", "See", "mips_cfun_has_inflexible_gp_ref_p", "for", "details", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_insn_has_inflexible_gp_ref_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4268, "Length": 20, "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": "MipsMCCodeEmitter60", "Func": "getMachineOpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4269, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mmix_setup_incoming_varargs", "(", "cumulative_args_t", "args_so_farp_v", ",", "const", "function_arg_info", "&", "arg", ",", "int", "*", "pretend_sizep", ",", "int", "second_time", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "args_so_farp", "=", "get_cumulative_args", "(", "args_so_farp_v", ")", ";", "if", "(", "args_so_farp", "->", "regs", "+", "1", "<", "MMIX_MAX_ARGS_IN_REGS", ")", "*", "pretend_sizep", "=", "(", "MMIX_MAX_ARGS_IN_REGS", "-", "(", "args_so_farp", "->", "regs", "+", "1", ")", ")", "*", "8", ";", "if", "(", "(", "7", "+", "(", "MMIX_FUNCTION_ARG_SIZE", "(", "arg", ".", "mode", ",", "arg", ".", "type", ")", ")", ")", "/", "8", "!=", "1", ")", "internal_error", "(", "\"MMIX Internal: Last named vararg would not fit in a register\"", ")", ";", "}", ""], "natrual_language": ["SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["mmix", "1", "1", "8", "7", "8", "1", "\"MMIX Internal: Last named vararg would not fit in a register\""], "File": "mmix", "Func": "mmix_setup_incoming_varargs", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4270, "Length": 86, "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", ")", ";", "nds32_gen_dup_4_byte_to_word_value_aux", "(", "value", ",", "value4word", ")", ";", "return", "value4word", ";", "}", ""], "natrual_language": ["Auxiliary", "function", "for", "expand", "setmem", "pattern", "."], "TS_V_token": ["nds32"], "File": "nds32-memory-manipulation", "Func": "nds32_gen_dup_4_byte_to_word_value", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4271, "Length": 27, "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", "'d'", ":", "case", "'y'", ":", "case", "'r'", ":", "if", "(", "VT", "==", "MVT", "::", "i32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "Mips", "::", "CPURegsRegisterClass", ")", ";", "assert", "(", "VT", "==", "MVT", "::", "i64", "&&", "\"Unexpected type.\"", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "Mips", "::", "CPU64RegsRegisterClass", ")", ";", "case", "'f'", ":", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "Mips", "::", "FGR32RegisterClass", ")", ";", "if", "(", "(", "VT", "==", "MVT", "::", "f64", ")", "&&", "(", "!", "Subtarget", "->", "isSingleFloat", "(", ")", ")", ")", "{", "if", "(", "Subtarget", "->", "isFP64bit", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "Mips", "::", "FGR64RegisterClass", ")", ";", "else", "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", "MVT::i32", "0U", "Mips::CPURegsRegisterClass", "MVT::i64", "\"Unexpected type.\"", "0U", "Mips::CPU64RegsRegisterClass", "MVT::f32", "0U", "Mips::FGR32RegisterClass", "MVT::f64", "0U", "Mips::FGR64RegisterClass", "0U", "Mips::AFGR64RegisterClass"], "File": "MipsISelLowering (2)3", "Func": "getRegForInlineAsmConstraint", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4272, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TOYInstrInfo", "::", "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", "(", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "TOY", "::", "STORErr", ")", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addReg", "(", "TOY", "::", "ZERO", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["TOY", "TOY", "TOY::STORErr", "TOY::ZERO"], "File": "TOYInstrInfo", "Func": "storeRegToStackSlot", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4273, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "ia64_function_value", "(", "tree", "valtype", ",", "tree", "func", "ATTRIBUTE_UNUSED", ")", "{", "enum", "machine_mode", "mode", ";", "enum", "machine_mode", "hfa_mode", ";", "mode", "=", "TYPE_MODE", "(", "valtype", ")", ";", "hfa_mode", "=", "hfa_element_mode", "(", "valtype", ",", "0", ")", ";", "if", "(", "hfa_mode", "!=", "VOIDmode", ")", "{", "rtx", "loc", "[", "8", "]", ";", "int", "i", ";", "int", "hfa_size", ";", "int", "byte_size", ";", "int", "offset", ";", "hfa_size", "=", "GET_MODE_SIZE", "(", "hfa_mode", ")", ";", "byte_size", "=", "(", "(", "mode", "==", "BLKmode", ")", "?", "int_size_in_bytes", "(", "valtype", ")", ":", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "offset", "=", "0", ";", "for", "(", "i", "=", "0", ";", "offset", "<", "byte_size", ";", "i", "++", ")", "{", "loc", "[", "i", "]", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "hfa_mode", ",", "FR_ARG_FIRST", "+", "i", ")", ",", "GEN_INT", "(", "offset", ")", ")", ";", "offset", "+=", "hfa_size", ";", "}", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec_v", "(", "i", ",", "loc", ")", ")", ";", "}", "else", "if", "(", "FLOAT_TYPE_P", "(", "valtype", ")", "&&", "mode", "!=", "TFmode", "&&", "mode", "!=", "TCmode", ")", "return", "gen_rtx_REG", "(", "mode", ",", "FR_ARG_FIRST", ")", ";", "else", "{", "bool", "need_parallel", "=", "false", ";", "if", "(", "BYTES_BIG_ENDIAN", "&&", "(", "mode", "==", "BLKmode", "||", "(", "valtype", "&&", "AGGREGATE_TYPE_P", "(", "valtype", ")", ")", ")", ")", "need_parallel", "=", "true", ";", "else", "if", "(", "mode", "==", "XFmode", "||", "mode", "==", "XCmode", "||", "mode", "==", "RFmode", ")", "need_parallel", "=", "true", ";", "if", "(", "need_parallel", ")", "{", "rtx", "loc", "[", "8", "]", ";", "int", "offset", ";", "int", "bytesize", ";", "int", "i", ";", "offset", "=", "0", ";", "bytesize", "=", "int_size_in_bytes", "(", "valtype", ")", ";", "if", "(", "bytesize", "==", "0", ")", "return", "gen_rtx_REG", "(", "mode", ",", "GR_RET_FIRST", ")", ";", "for", "(", "i", "=", "0", ";", "offset", "<", "bytesize", ";", "i", "++", ")", "{", "loc", "[", "i", "]", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "DImode", ",", "GR_RET_FIRST", "+", "i", ")", ",", "GEN_INT", "(", "offset", ")", ")", ";", "offset", "+=", "UNITS_PER_WORD", ";", "}", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec_v", "(", "i", ",", "loc", ")", ")", ";", "}", "return", "gen_rtx_REG", "(", "mode", ",", "GR_RET_FIRST", ")", ";", "}", "}", ""], "natrual_language": ["Return", "rtx", "for", "register", "that", "holds", "the", "function", "return", "value", "."], "TS_V_token": ["ia64", "0", "8", "0", "0", "8", "0", "0", "0"], "File": "ia643", "Func": "ia64_function_value", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4274, "Length": 333, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_must_pass_in_stack", "(", "machine_mode", "mode", ",", "const_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": "arm4", "Func": "arm_must_pass_in_stack", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4275, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZFrameInfo", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetFrameInfo", "&", "TFI", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "prior", "(", "MBB", ".", "end", "(", ")", ")", ";", "const", "SystemZInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "SystemZInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "SystemZMachineFunctionInfo", "*", "SystemZMFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "unsigned", "RetOpcode", "=", "MBBI", "->", "getOpcode", "(", ")", ";", "switch", "(", "RetOpcode", ")", "{", "case", "SystemZ", "::", "RET", ":", "break", ";", "default", ":", "assert", "(", "0", "&&", "\"Can only insert epilog into returning blocks\"", ")", ";", "}", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", "-", "SystemZMFI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "uint64_t", "NumBytes", "=", "StackSize", "-", "TFI", ".", "getOffsetOfLocalArea", "(", ")", ";", "while", "(", "MBBI", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "MachineBasicBlock", "::", "iterator", "PI", "=", "prior", "(", "MBBI", ")", ";", "--", "MBBI", ";", "if", "(", "!", "PI", "->", "getDesc", "(", ")", ".", "isTerminator", "(", ")", ")", "break", ";", "}", "if", "(", "StackSize", "||", "MFI", "->", "hasCalls", "(", ")", ")", "{", "assert", "(", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "SystemZ", "::", "MOV64rmm", "||", "MBBI", "->", "getOpcode", "(", ")", "==", "SystemZ", "::", "MOV64rm", ")", "&&", "\"Expected to see callee-save register restore code\"", ")", ";", "assert", "(", "MF", ".", "getRegInfo", "(", ")", ".", "isPhysRegUsed", "(", "SystemZ", "::", "R15D", ")", "&&", "\"Invalid stack frame calculation!\"", ")", ";", "unsigned", "i", "=", "0", ";", "MachineInstr", "&", "MI", "=", "*", "MBBI", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isImm", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Unexpected restore code!\"", ")", ";", "}", "uint64_t", "Offset", "=", "NumBytes", "+", "MI", ".", "getOperand", "(", "i", ")", ".", "getImm", "(", ")", ";", "if", "(", "Offset", ">", "524287", ")", "{", "NumBytes", "=", "Offset", "-", "524287", ";", "Offset", "=", "524287", ";", "emitSPUpdate", "(", "MBB", ",", "MBBI", ",", "NumBytes", ",", "TII", ")", ";", "}", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ::RET", "0", "\"Can only insert epilog into returning blocks\"", "SystemZ", "SystemZ::MOV64rmm", "SystemZ::MOV64rm", "\"Expected to see callee-save register restore code\"", "SystemZ::R15D", "\"Invalid stack frame calculation!\"", "0", "\"Unexpected restore code!\"", "524287", "524287", "524287"], "File": "SystemZFrameInfo", "Func": "emitEpilogue", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4276, "Length": 349, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "isProfitableToHoist", "(", "Instruction", "*", "I", ")", "const", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "Instruction", "::", "FMul", ")", "return", "true", ";", "if", "(", "!", "I", "->", "hasOneUse", "(", ")", ")", "return", "true", ";", "Instruction", "*", "User", "=", "I", "->", "user_back", "(", ")", ";", "assert", "(", "User", "&&", "\"A single use instruction with no uses.\"", ")", ";", "if", "(", "User", "->", "getOpcode", "(", ")", "!=", "Instruction", "::", "FSub", "&&", "User", "->", "getOpcode", "(", ")", "==", "Instruction", "::", "FAdd", ")", "return", "true", ";", "const", "TargetOptions", "&", "Options", "=", "getTargetMachine", "(", ")", ".", "Options", ";", "const", "Function", "*", "F", "=", "I", "->", "getFunction", "(", ")", ";", "const", "DataLayout", "&", "DL", "=", "F", "->", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "Type", "*", "Ty", "=", "User", "->", "getOperand", "(", "0", ")", "->", "getType", "(", ")", ";", "return", "!", "(", "isFMAFasterThanFMulAndFAdd", "(", "*", "F", ",", "Ty", ")", "&&", "isOperationLegalOrCustom", "(", "ISD", "::", "FMA", ",", "getValueType", "(", "DL", ",", "Ty", ")", ")", "&&", "(", "Options", ".", "AllowFPOpFusion", "==", "FPOpFusion", "::", "Fast", "||", "Options", ".", "UnsafeFPMath", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "profitable", "to", "hoist", "instruction", "in", "the", "then/else", "to", "before", "if", "."], "TS_V_token": ["PowerPC", "PPC", "\"A single use instruction with no uses.\"", "0", "ISD::FMA"], "File": "PPCISelLowering97", "Func": "isProfitableToHoist", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4277, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "X86TargetLowering", "::", "getRecipEstimate", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ",", "int", "Enabled", ",", "int", "&", "RefinementSteps", ")", "const", "{", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "if", "(", "(", "VT", "==", "MVT", "::", "f32", "&&", "Subtarget", ".", "hasSSE1", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "v4f32", "&&", "Subtarget", ".", "hasSSE1", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "v8f32", "&&", "Subtarget", ".", "hasAVX", "(", ")", ")", ")", "{", "if", "(", "VT", "==", "MVT", "::", "f32", "&&", "Enabled", "==", "ReciprocalEstimate", "::", "Unspecified", ")", "return", "SDValue", "(", ")", ";", "if", "(", "RefinementSteps", "==", "ReciprocalEstimate", "::", "Unspecified", ")", "RefinementSteps", "=", "1", ";", "return", "DAG", ".", "getNode", "(", "X86ISD", "::", "FRCP", ",", "SDLoc", "(", "Op", ")", ",", "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::f32", "1", "X86ISD::FRCP"], "File": "X86ISelLowering102", "Func": "getRecipEstimate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4278, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_parallel_movb", "(", "rtx", "*", "operands", ",", "int", "length", ")", "{", "if", "(", "length", "==", "4", ")", "return", "\"mov%I1b,tr %1,%0,%2\"", ";", "if", "(", "dbr_sequence_length", "(", ")", "==", "0", ")", "{", "if", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "CONST_INT", ")", "return", "\"b %2\\n\\tldi %1,%0\"", ";", "else", "return", "\"b %2\\n\\tcopy %1,%0\"", ";", "}", "else", "{", "if", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "CONST_INT", ")", "return", "\"ldi %1,%0\\n\\tb %2\"", ";", "else", "return", "\"copy %1,%0\\n\\tb %2\"", ";", "}", "}", ""], "natrual_language": ["Output", "an", "unconditional", "move", "and", "branch", "insn", "."], "TS_V_token": ["pa", "4", "\"mov%I1b,tr %1,%0,%2\"", "0", "1", "\"b %2\\n\\tldi %1,%0\"", "\"b %2\\n\\tcopy %1,%0\"", "1", "\"ldi %1,%0\\n\\tb %2\"", "\"copy %1,%0\\n\\tb %2\""], "File": "pa3", "Func": "output_parallel_movb", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4279, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isEqual", "(", "const", "TOCKey", "&", "A", ",", "const", "TOCKey", "&", "B", ")", "{", "return", "A", "==", "B", ";", "}", ""], "natrual_language": ["isEqual", "-", "Compares", "two", "trees", "for", "structural", "equality", "and", "returns", "true", "if", "they", "are", "equal", "."], "TS_V_token": ["PowerPC"], "File": "PPCAsmPrinter (2)3", "Func": "isEqual", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4280, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getString", "(", ")", ";", "if", "(", "IDVal", "==", "\".ent\"", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".end\"", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".frame\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".set\"", ")", "{", "return", "parseDirectiveSet", "(", ")", ";", "}", "if", "(", "IDVal", "==", "\".fmask\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".mask\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".gpword\"", ")", "{", "parseDirectiveGpWord", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".word\"", ")", "{", "parseDirectiveWord", "(", "4", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".option\"", ")", "return", "parseDirectiveOption", "(", ")", ";", "if", "(", "IDVal", "==", "\".abicalls\"", ")", "{", "getTargetStreamer", "(", ")", ".", "emitDirectiveAbiCalls", "(", ")", ";", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "Error", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ",", "\"unexpected token in directive\"", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "}", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["Mips", "Mips", "\".ent\"", "\".end\"", "\".frame\"", "\".set\"", "\".fmask\"", "\".mask\"", "\".gpword\"", "\".word\"", "4", "\".option\"", "\".abicalls\"", "\"unexpected token in directive\""], "File": "MipsAsmParser29", "Func": "ParseDirective", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4281, "Length": 225, "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", ")", ")", "&&", "rs6000_reg_live_or_pic_offset_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": "rs60005", "Func": "first_reg_to_save", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4282, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetStreamer", "::", "emitInst", "(", "uint32_t", "Inst", ",", "char", "Suffix", ")", "{", "unsigned", "Size", ";", "char", "Buffer", "[", "4", "]", ";", "const", "bool", "LittleEndian", "=", "getStreamer", "(", ")", ".", "getContext", "(", ")", ".", "getAsmInfo", "(", ")", "->", "isLittleEndian", "(", ")", ";", "switch", "(", "Suffix", ")", "{", "case", "'\\0'", ":", "Size", "=", "4", ";", "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", ")", ";", "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\"", ")", ";", "}", "getStreamer", "(", ")", ".", "emitBytes", "(", "StringRef", "(", "Buffer", ",", "Size", ")", ")", ";", "}", ""], "natrual_language": ["Callback", "used", "to", "implement", "the", ".inst", "directive", "."], "TS_V_token": ["ARM", "ARM", "4", "4", "0", "1", "1", "2", "4", "0", "2", "0", "1", "1", "0", "2", "1", "\"Invalid Suffix\""], "File": "ARMTargetStreamer (2)1", "Func": "emitInst", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4283, "Length": 239, "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", "(", ")", ";", "Register", "FramePtr", "=", "TRI", "->", "getFrameRegister", "(", "MF", ")", ";", "Register", "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", ")", ";", "}", "Register", "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": "X86FrameLowering101", "Func": "restoreWin32EHStackPointers", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4284, "Length": 415, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_sysv4_init_libfuncs", "(", "void", ")", "{", "ia64_init_libfuncs", "(", ")", ";", "set_optab_libfunc", "(", "eq_optab", ",", "TFmode", ",", "\"_U_Qfeq\"", ")", ";", "set_optab_libfunc", "(", "ne_optab", ",", "TFmode", ",", "\"_U_Qfne\"", ")", ";", "set_optab_libfunc", "(", "gt_optab", ",", "TFmode", ",", "\"_U_Qfgt\"", ")", ";", "set_optab_libfunc", "(", "ge_optab", ",", "TFmode", ",", "\"_U_Qfge\"", ")", ";", "set_optab_libfunc", "(", "lt_optab", ",", "TFmode", ",", "\"_U_Qflt\"", ")", ";", "set_optab_libfunc", "(", "le_optab", ",", "TFmode", ",", "\"_U_Qfle\"", ")", ";", "}", ""], "natrual_language": ["Rename", "the", "TFmode", "libfuncs", "available", "from", "soft-fp", "in", "glibc", "using", "the", "HPUX", "conventions", "."], "TS_V_token": ["ia64", "\"_U_Qfeq\"", "\"_U_Qfne\"", "\"_U_Qfgt\"", "\"_U_Qfge\"", "\"_U_Qflt\"", "\"_U_Qfle\""], "File": "ia64", "Func": "ia64_sysv4_init_libfuncs", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4285, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcRegisterInfo", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "::", "getUnknownLoc", "(", ")", ")", ";", "int", "NumBytes", "=", "(", "int", ")", "MFI", "->", "getStackSize", "(", ")", ";", "NumBytes", "+=", "92", ";", "NumBytes", "=", "(", "NumBytes", "+", "7", ")", "&", "~", "7", ";", "NumBytes", "=", "-", "NumBytes", ";", "if", "(", "NumBytes", ">=", "-", "4096", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "SAVEri", ")", ",", "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", "::", "SAVErr", ")", ",", "SP", "::", "O6", ")", ".", "addReg", "(", "SP", "::", "O6", ")", ".", "addReg", "(", "SP", "::", "G1", ")", ";", "}", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Sparc", "Sparc", "92", "7", "7", "4096", "SP::SAVEri", "SP::O6", "SP::O6", "10U", "SP::SETHIi", "SP::G1", "SP::ORri", "SP::G1", "SP::G1", "1", "10", "1", "SP::SAVErr", "SP::O6", "SP::O6", "SP::G1"], "File": "SparcRegisterInfo25", "Func": "emitPrologue", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4286, "Length": 263, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "getReg", "(", "const", "void", "*", "D", ",", "unsigned", "RC", ",", "unsigned", "RegNo", ")", "{", "const", "AArch64Disassembler", "*", "Dis", "=", "static_cast", "<", "const", "AArch64Disassembler", "*", ">", "(", "D", ")", ";", "return", "Dis", "->", "getRegInfo", "(", ")", "->", "getRegClass", "(", "RC", ")", ".", "getRegister", "(", "RegNo", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64Disassembler10", "Func": "getReg", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4287, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalMaskedExpandLoad", "(", "Type", "*", "DataTy", ")", "{", "if", "(", "!", "isa", "<", "VectorType", ">", "(", "DataTy", ")", ")", "return", "false", ";", "if", "(", "!", "ST", "->", "hasAVX512", "(", ")", ")", "return", "false", ";", "if", "(", "cast", "<", "FixedVectorType", ">", "(", "DataTy", ")", "->", "getNumElements", "(", ")", "==", "1", ")", "return", "false", ";", "Type", "*", "ScalarTy", "=", "cast", "<", "VectorType", ">", "(", "DataTy", ")", "->", "getElementType", "(", ")", ";", "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", "->", "hasVBMI2", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "expand", "load", "."], "TS_V_token": ["X86", "X86", "1", "32", "64", "8", "16"], "File": "X86TargetTransformInfo (2)1", "Func": "isLegalMaskedExpandLoad", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4288, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_simd_check_vect_par_cnst_half", "(", "rtx", "op", ",", "machine_mode", "mode", ",", "bool", "high", ")", "{", "int", "nelts", ";", "if", "(", "!", "VECTOR_MODE_P", "(", "mode", ")", "||", "!", "GET_MODE_NUNITS", "(", "mode", ")", ".", "is_constant", "(", "&", "nelts", ")", ")", "return", "false", ";", "rtx", "ideal", "=", "aarch64_simd_vect_par_cnst_half", "(", "mode", ",", "nelts", ",", "high", ")", ";", "HOST_WIDE_INT", "count_op", "=", "XVECLEN", "(", "op", ",", "0", ")", ";", "HOST_WIDE_INT", "count_ideal", "=", "XVECLEN", "(", "ideal", ",", "0", ")", ";", "int", "i", "=", "0", ";", "if", "(", "count_op", "!=", "count_ideal", ")", "return", "false", ";", "for", "(", "i", "=", "0", ";", "i", "<", "count_ideal", ";", "i", "++", ")", "{", "rtx", "elt_op", "=", "XVECEXP", "(", "op", ",", "0", ",", "i", ")", ";", "rtx", "elt_ideal", "=", "XVECEXP", "(", "ideal", ",", "0", ",", "i", ")", ";", "if", "(", "!", "CONST_INT_P", "(", "elt_op", ")", "||", "INTVAL", "(", "elt_ideal", ")", "!=", "INTVAL", "(", "elt_op", ")", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Check", "OP", "for", "validity", "as", "a", "PARALLEL", "RTX", "vector", "with", "elements", "numbering", "the", "lanes", "of", "either", "the", "high", "(", "HIGH", "==", "TRUE", ")", "or", "low", "lanes", ",", "from", "the", "perspective", "of", "the", "architecture", ".", "See", "the", "diagram", "above", "aarch64_simd_vect_par_cnst_half", "for", "more", "details", "."], "TS_V_token": ["aarch64", "0", "0", "0", "0", "0", "0"], "File": "aarch64", "Func": "aarch64_simd_check_vect_par_cnst_half", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4289, "Length": 149, "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", "(", ")", ",", "getTargetMachine", "(", ")", ",", "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", ",", "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": "MipsISelLowering3", "Func": "LowerCallResult", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4290, "Length": 505, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_evpc_reencode", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "expand_vec_perm_d", "newd", ";", "unsigned", "HOST_WIDE_INT", "nelt", ";", "if", "(", "d", "->", "vec_flags", "!=", "VEC_ADVSIMD", ")", "return", "false", ";", "poly_uint64", "vec_bits", "=", "GET_MODE_BITSIZE", "(", "d", "->", "vmode", ")", ";", "unsigned", "int", "new_elt_bits", "=", "GET_MODE_UNIT_BITSIZE", "(", "d", "->", "vmode", ")", "*", "2", ";", "auto", "new_elt_mode", "=", "int_mode_for_size", "(", "new_elt_bits", ",", "false", ")", ".", "require", "(", ")", ";", "machine_mode", "new_mode", "=", "aarch64_simd_container_mode", "(", "new_elt_mode", ",", "vec_bits", ")", ";", "if", "(", "new_mode", "==", "word_mode", ")", "return", "false", ";", "nelt", "=", "d", "->", "perm", ".", "length", "(", ")", ".", "to_constant", "(", ")", ";", "vec_perm_builder", "newpermconst", ";", "newpermconst", ".", "new_vector", "(", "nelt", "/", "2", ",", "nelt", "/", "2", ",", "1", ")", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "nelt", ";", "i", "+=", "2", ")", "{", "poly_int64", "elt0", "=", "d", "->", "perm", "[", "i", "]", ";", "poly_int64", "elt1", "=", "d", "->", "perm", "[", "i", "+", "1", "]", ";", "poly_int64", "newelt", ";", "if", "(", "!", "multiple_p", "(", "elt0", ",", "2", ",", "&", "newelt", ")", "||", "maybe_ne", "(", "elt0", "+", "1", ",", "elt1", ")", ")", "return", "false", ";", "newpermconst", ".", "quick_push", "(", "newelt", ".", "to_constant", "(", ")", ")", ";", "}", "newpermconst", ".", "finalize", "(", ")", ";", "newd", ".", "vmode", "=", "new_mode", ";", "newd", ".", "vec_flags", "=", "VEC_ADVSIMD", ";", "newd", ".", "target", "=", "d", "->", "target", "?", "gen_lowpart", "(", "new_mode", ",", "d", "->", "target", ")", ":", "NULL", ";", "newd", ".", "op0", "=", "d", "->", "op0", "?", "gen_lowpart", "(", "new_mode", ",", "d", "->", "op0", ")", ":", "NULL", ";", "newd", ".", "op1", "=", "d", "->", "op1", "?", "gen_lowpart", "(", "new_mode", ",", "d", "->", "op1", ")", ":", "NULL", ";", "newd", ".", "testing_p", "=", "d", "->", "testing_p", ";", "newd", ".", "one_vector_p", "=", "d", "->", "one_vector_p", ";", "newd", ".", "perm", ".", "new_vector", "(", "newpermconst", ",", "newd", ".", "one_vector_p", "?", "1", ":", "2", ",", "nelt", "/", "2", ")", ";", "return", "aarch64_expand_vec_perm_const_1", "(", "&", "newd", ")", ";", "}", ""], "natrual_language": ["Try", "to", "re-encode", "the", "PERM", "constant", "so", "it", "combines", "odd", "and", "even", "elements", ".", "This", "rewrites", "constants", "such", "as", "{", "0", ",", "1", ",", "4", ",", "5", "}", "/V4SF", "to", "{", "0", ",", "2", "}", "/V2DI", ".", "We", "retry", "with", "this", "new", "constant", "with", "the", "full", "suite", "of", "patterns", "."], "TS_V_token": ["aarch64", "2", "2", "2", "1", "0", "2", "1", "2", "1", "1", "2", "2"], "File": "aarch641", "Func": "aarch64_evpc_reencode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4291, "Length": 315, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "sh_hard_regno_rename_ok", "(", "unsigned", "int", "old_reg", "ATTRIBUTE_UNUSED", ",", "unsigned", "int", "new_reg", ")", "{", "if", "(", "sh_cfun_interrupt_handler_p", "(", ")", "&&", "!", "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": ["sh", "0", "1"], "File": "sh3", "Func": "sh_hard_regno_rename_ok", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4292, "Length": 32, "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_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": ["powerpcspe", "\":\\n\""], "File": "powerpcspe", "Func": "rs6000_xcoff_declare_object_name", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4293, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", "&&", "\"Unexpected\"", ")", ";", "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", ";", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "bool", "AfterFPPop", "=", "Opc", "==", "X86", "::", "TAILJMPm64", "||", "Opc", "==", "X86", "::", "TAILJMPm", ";", "if", "(", "needsStackRealignment", "(", "MF", ")", ")", "BasePtr", "=", "(", "FrameIndex", "<", "0", "?", "FramePtr", ":", "StackPtr", ")", ";", "else", "if", "(", "AfterFPPop", ")", "BasePtr", "=", "StackPtr", ";", "else", "BasePtr", "=", "(", "TFI", "->", "hasFP", "(", "MF", ")", "?", "FramePtr", ":", "StackPtr", ")", ";", "MI", ".", "getOperand", "(", "i", ")", ".", "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", "(", "MI", ".", "getOperand", "(", "i", "+", "3", ")", ".", "isImm", "(", ")", ")", "{", "int", "Offset", "=", "FIOffset", "+", "(", "int", ")", "(", "MI", ".", "getOperand", "(", "i", "+", "3", ")", ".", "getImm", "(", ")", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "3", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", "else", "{", "uint64_t", "Offset", "=", "FIOffset", "+", "(", "uint64_t", ")", "MI", ".", "getOperand", "(", "i", "+", "3", ")", ".", "getOffset", "(", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "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\"", "0", "\"Instr doesn't have FrameIndex operand!\"", "X86::TAILJMPm64", "X86::TAILJMPm", "0", "3", "3", "3", "3", "3"], "File": "X86RegisterInfo40", "Func": "eliminateFrameIndex", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4294, "Length": 341, "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": 4295, "Length": 294, "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", ".", "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.\"", ")", ";", "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", ".", "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": "PPCISelLowering10", "Func": "LowerCall", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4296, "Length": 421, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "{", "return", "2", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["TeeRISC", "2"], "File": "TeeRISCAsmBackend", "Func": "getNumFixupKinds", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4297, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "bool", ">", "AArch64FastISel", "::", "getRegForGEPIndex", "(", "const", "Value", "*", "Idx", ")", "{", "unsigned", "IdxN", "=", "getRegForValue", "(", "Idx", ")", ";", "if", "(", "IdxN", "==", "0", ")", "return", "std", "::", "pair", "<", "unsigned", ",", "bool", ">", "(", "0", ",", "false", ")", ";", "bool", "IdxNIsKill", "=", "hasTrivialKill", "(", "Idx", ")", ";", "MVT", "PtrVT", "=", "TLI", ".", "getPointerTy", "(", "DL", ")", ";", "EVT", "IdxVT", "=", "EVT", "::", "getEVT", "(", "Idx", "->", "getType", "(", ")", ",", "false", ")", ";", "if", "(", "IdxVT", ".", "bitsLT", "(", "PtrVT", ")", ")", "{", "IdxN", "=", "emitIntExt", "(", "IdxVT", ".", "getSimpleVT", "(", ")", ",", "IdxN", ",", "PtrVT", ",", "false", ")", ";", "IdxNIsKill", "=", "true", ";", "}", "else", "if", "(", "IdxVT", ".", "bitsGT", "(", "PtrVT", ")", ")", "llvm_unreachable", "(", "\"AArch64 FastISel doesn't support types larger than i64\"", ")", ";", "return", "std", "::", "pair", "<", "unsigned", ",", "bool", ">", "(", "IdxN", ",", "IdxNIsKill", ")", ";", "}", ""], "natrual_language": ["This", "is", "a", "wrapper", "around", "getRegForValue", "that", "also", "takes", "care", "of", "truncating", "or", "sign-extending", "the", "given", "getelementptr", "index", "value", "."], "TS_V_token": ["AArch64", "AArch64", "0", "0", "\"AArch64 FastISel doesn't support types larger than i64\""], "File": "AArch64FastISel (2)", "Func": "getRegForGEPIndex", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4298, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_rtx_costs", "(", "rtx", "x", ",", "int", "code", ",", "int", "outer_code", ",", "int", "opno", "ATTRIBUTE_UNUSED", ",", "int", "*", "total", ",", "bool", "speed", ")", "{", "bool", "result", ";", "if", "(", "TARGET_OLD_RTX_COSTS", "||", "(", "!", "current_tune", "->", "insn_extra_cost", "&&", "!", "TARGET_NEW_GENERIC_COSTS", ")", ")", "{", "if", "(", "!", "speed", ")", "result", "=", "arm_size_rtx_costs", "(", "x", ",", "(", "enum", "rtx_code", ")", "code", ",", "(", "enum", "rtx_code", ")", "outer_code", ",", "total", ")", ";", "else", "result", "=", "current_tune", "->", "rtx_costs", "(", "x", ",", "(", "enum", "rtx_code", ")", "code", ",", "(", "enum", "rtx_code", ")", "outer_code", ",", "total", ",", "speed", ")", ";", "}", "else", "{", "if", "(", "current_tune", "->", "insn_extra_cost", ")", "result", "=", "arm_new_rtx_costs", "(", "x", ",", "(", "enum", "rtx_code", ")", "code", ",", "(", "enum", "rtx_code", ")", "outer_code", ",", "current_tune", "->", "insn_extra_cost", ",", "total", ",", "speed", ")", ";", "else", "result", "=", "arm_new_rtx_costs", "(", "x", ",", "(", "enum", "rtx_code", ")", "code", ",", "(", "enum", "rtx_code", ")", "outer_code", ",", "&", "generic_extra_costs", ",", "total", ",", "speed", ")", ";", "}", "if", "(", "dump_file", "&&", "(", "dump_flags", "&", "TDF_DETAILS", ")", ")", "{", "print_rtl_single", "(", "dump_file", ",", "x", ")", ";", "fprintf", "(", "dump_file", ",", "\"\\n%s cost: %d (%s)\\n\"", ",", "speed", "?", "\"Hot\"", ":", "\"Cold\"", ",", "*", "total", ",", "result", "?", "\"final\"", ":", "\"partial\"", ")", ";", "}", "return", "result", ";", "}", ""], "natrual_language": ["RTX", "costs", "when", "optimizing", "for", "size", "."], "TS_V_token": ["arm", "\"\\n%s cost: %d (%s)\\n\"", "\"Hot\"", "\"Cold\"", "\"final\"", "\"partial\""], "File": "arm4", "Func": "arm_rtx_costs", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4299, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "PredicateInstruction", "(", "MachineInstr", "&", "MI", ",", "ArrayRef", "<", "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", "(", "Opcode", "==", "SystemZ", "::", "Trap", ")", "{", "MI", ".", "setDesc", "(", "get", "(", "SystemZ", "::", "CondTrap", ")", ")", ";", "MachineInstrBuilder", "(", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ".", "addImm", "(", "CCValid", ")", ".", "addImm", "(", "CCMask", ")", ".", "addReg", "(", "SystemZ", "::", "CC", ",", "RegState", "::", "Implicit", ")", ";", "return", "true", ";", "}", "if", "(", "Opcode", "==", "SystemZ", "::", "Return", ")", "{", "MI", ".", "setDesc", "(", "get", "(", "SystemZ", "::", "CondReturn", ")", ")", ";", "MachineInstrBuilder", "(", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ".", "addImm", "(", "CCValid", ")", ".", "addImm", "(", "CCMask", ")", ".", "addReg", "(", "SystemZ", "::", "CC", ",", "RegState", "::", "Implicit", ")", ";", "return", "true", ";", "}", "if", "(", "Opcode", "==", "SystemZ", "::", "CallJG", ")", "{", "MachineOperand", "FirstOp", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "const", "uint32_t", "*", "RegMask", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getRegMask", "(", ")", ";", "MI", ".", "RemoveOperand", "(", "1", ")", ";", "MI", ".", "RemoveOperand", "(", "0", ")", ";", "MI", ".", "setDesc", "(", "get", "(", "SystemZ", "::", "CallBRCL", ")", ")", ";", "MachineInstrBuilder", "(", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ".", "addImm", "(", "CCValid", ")", ".", "addImm", "(", "CCMask", ")", ".", "add", "(", "FirstOp", ")", ".", "addRegMask", "(", "RegMask", ")", ".", "addReg", "(", "SystemZ", "::", "CC", ",", "RegState", "::", "Implicit", ")", ";", "return", "true", ";", "}", "if", "(", "Opcode", "==", "SystemZ", "::", "CallBR", ")", "{", "const", "uint32_t", "*", "RegMask", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getRegMask", "(", ")", ";", "MI", ".", "RemoveOperand", "(", "0", ")", ";", "MI", ".", "setDesc", "(", "get", "(", "SystemZ", "::", "CallBCR", ")", ")", ";", "MachineInstrBuilder", "(", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ".", "addImm", "(", "CCValid", ")", ".", "addImm", "(", "CCMask", ")", ".", "addRegMask", "(", "RegMask", ")", ".", "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::Trap", "SystemZ::CondTrap", "SystemZ::CC", "SystemZ::Return", "SystemZ::CondReturn", "SystemZ::CC", "SystemZ::CallJG", "0", "1", "1", "0", "SystemZ::CallBRCL", "SystemZ::CC", "SystemZ::CallBR", "0", "0", "SystemZ::CallBCR", "SystemZ::CC"], "File": "SystemZInstrInfo (2)2", "Func": "PredicateInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4300, "Length": 406, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_v8plus_mult", "(", "rtx_insn", "*", "insn", ",", "rtx", "*", "operands", ",", "const", "char", "*", "opcode", ")", "{", "char", "mulstr", "[", "32", "]", ";", "gcc_assert", "(", "!", "TARGET_ARCH64", ")", ";", "if", "(", "sparc_check_64", "(", "operands", "[", "1", "]", ",", "insn", ")", "<=", "0", ")", "output_asm_insn", "(", "\"srl\\t%L1, 0, %L1\"", ",", "operands", ")", ";", "if", "(", "which_alternative", "==", "1", ")", "output_asm_insn", "(", "\"sllx\\t%H1, 32, %H1\"", ",", "operands", ")", ";", "if", "(", "GET_CODE", "(", "operands", "[", "2", "]", ")", "==", "CONST_INT", ")", "{", "if", "(", "which_alternative", "==", "1", ")", "{", "output_asm_insn", "(", "\"or\\t%L1, %H1, %H1\"", ",", "operands", ")", ";", "sprintf", "(", "mulstr", ",", "\"%s\\t%%H1, %%2, %%L0\"", ",", "opcode", ")", ";", "output_asm_insn", "(", "mulstr", ",", "operands", ")", ";", "return", "\"srlx\\t%L0, 32, %H0\"", ";", "}", "else", "{", "output_asm_insn", "(", "\"sllx\\t%H1, 32, %3\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"or\\t%L1, %3, %3\"", ",", "operands", ")", ";", "sprintf", "(", "mulstr", ",", "\"%s\\t%%3, %%2, %%3\"", ",", "opcode", ")", ";", "output_asm_insn", "(", "mulstr", ",", "operands", ")", ";", "output_asm_insn", "(", "\"srlx\\t%3, 32, %H0\"", ",", "operands", ")", ";", "return", "\"mov\\t%3, %L0\"", ";", "}", "}", "else", "if", "(", "rtx_equal_p", "(", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ")", "{", "if", "(", "which_alternative", "==", "1", ")", "{", "output_asm_insn", "(", "\"or\\t%L1, %H1, %H1\"", ",", "operands", ")", ";", "sprintf", "(", "mulstr", ",", "\"%s\\t%%H1, %%H1, %%L0\"", ",", "opcode", ")", ";", "output_asm_insn", "(", "mulstr", ",", "operands", ")", ";", "return", "\"srlx\\t%L0, 32, %H0\"", ";", "}", "else", "{", "output_asm_insn", "(", "\"sllx\\t%H1, 32, %3\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"or\\t%L1, %3, %3\"", ",", "operands", ")", ";", "sprintf", "(", "mulstr", ",", "\"%s\\t%%3, %%3, %%3\"", ",", "opcode", ")", ";", "output_asm_insn", "(", "mulstr", ",", "operands", ")", ";", "output_asm_insn", "(", "\"srlx\\t%3, 32, %H0\"", ",", "operands", ")", ";", "return", "\"mov\\t%3, %L0\"", ";", "}", "}", "if", "(", "sparc_check_64", "(", "operands", "[", "2", "]", ",", "insn", ")", "<=", "0", ")", "output_asm_insn", "(", "\"srl\\t%L2, 0, %L2\"", ",", "operands", ")", ";", "if", "(", "which_alternative", "==", "1", ")", "{", "output_asm_insn", "(", "\"or\\t%L1, %H1, %H1\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"sllx\\t%H2, 32, %L1\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"or\\t%L2, %L1, %L1\"", ",", "operands", ")", ";", "sprintf", "(", "mulstr", ",", "\"%s\\t%%H1, %%L1, %%L0\"", ",", "opcode", ")", ";", "output_asm_insn", "(", "mulstr", ",", "operands", ")", ";", "return", "\"srlx\\t%L0, 32, %H0\"", ";", "}", "else", "{", "output_asm_insn", "(", "\"sllx\\t%H1, 32, %3\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"sllx\\t%H2, 32, %4\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"or\\t%L1, %3, %3\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"or\\t%L2, %4, %4\"", ",", "operands", ")", ";", "sprintf", "(", "mulstr", ",", "\"%s\\t%%3, %%4, %%3\"", ",", "opcode", ")", ";", "output_asm_insn", "(", "mulstr", ",", "operands", ")", ";", "output_asm_insn", "(", "\"srlx\\t%3, 32, %H0\"", ",", "operands", ")", ";", "return", "\"mov\\t%3, %L0\"", ";", "}", "}", ""], "natrual_language": ["Output", "a", "wide", "multiply", "instruction", "in", "V8+", "mode", ".", "INSN", "is", "the", "instruction", ",", "OPERANDS", "are", "its", "operands", "and", "OPCODE", "is", "the", "mnemonic", "to", "be", "used", "."], "TS_V_token": ["sparc", "32", "1", "0", "\"srl\\t%L1, 0, %L1\"", "1", "\"sllx\\t%H1, 32, %H1\"", "2", "1", "\"or\\t%L1, %H1, %H1\"", "\"%s\\t%%H1, %%2, %%L0\"", "\"srlx\\t%L0, 32, %H0\"", "\"sllx\\t%H1, 32, %3\"", "\"or\\t%L1, %3, %3\"", "\"%s\\t%%3, %%2, %%3\"", "\"srlx\\t%3, 32, %H0\"", "\"mov\\t%3, %L0\"", "1", "2", "1", "\"or\\t%L1, %H1, %H1\"", "\"%s\\t%%H1, %%H1, %%L0\"", "\"srlx\\t%L0, 32, %H0\"", "\"sllx\\t%H1, 32, %3\"", "\"or\\t%L1, %3, %3\"", "\"%s\\t%%3, %%3, %%3\"", "\"srlx\\t%3, 32, %H0\"", "\"mov\\t%3, %L0\"", "2", "0", "\"srl\\t%L2, 0, %L2\"", "1", "\"or\\t%L1, %H1, %H1\"", "\"sllx\\t%H2, 32, %L1\"", "\"or\\t%L2, %L1, %L1\"", "\"%s\\t%%H1, %%L1, %%L0\"", "\"srlx\\t%L0, 32, %H0\"", "\"sllx\\t%H1, 32, %3\"", "\"sllx\\t%H2, 32, %4\"", "\"or\\t%L1, %3, %3\"", "\"or\\t%L2, %4, %4\"", "\"%s\\t%%3, %%4, %%3\"", "\"srlx\\t%3, 32, %H0\"", "\"mov\\t%3, %L0\""], "File": "sparc", "Func": "output_v8plus_mult", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4301, "Length": 378, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86TargetLowering", "::", "insertSSPDeclarations", "(", "Module", "&", "M", ")", "const", "{", "if", "(", "Subtarget", ".", "getTargetTriple", "(", ")", ".", "isWindowsMSVCEnvironment", "(", ")", "||", "Subtarget", ".", "getTargetTriple", "(", ")", ".", "isWindowsItaniumEnvironment", "(", ")", ")", "{", "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", "::", "X86_FastCall", ")", ";", "F", "->", "addAttribute", "(", "1", ",", "Attribute", "::", "AttrKind", "::", "InReg", ")", ";", "}", "return", ";", "}", "if", "(", "hasStackGuardSlotTLS", "(", "Subtarget", ".", "getTargetTriple", "(", ")", ")", ")", "return", ";", "TargetLowering", "::", "insertSSPDeclarations", "(", "M", ")", ";", "}", ""], "natrual_language": ["Inserts", "necessary", "declarations", "for", "SSP", "(", "stack", "protection", ")", "purpose", "."], "TS_V_token": ["X86", "X86", "\"__security_cookie\"", "\"__security_check_cookie\"", "X86", "1"], "File": "X86ISelLowering (2)6", "Func": "insertSSPDeclarations", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4302, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LC2200AsmBackend", "::", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCInst", "&", "Res", ")", "const", "{", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["LC2200", "LC2200"], "File": "LC2200AsmBackend", "Func": "relaxInstruction", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4303, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "DLXTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "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": ["DLX", "DLX"], "File": "DLXISelLowering", "Func": "PerformDAGCombine", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4304, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "initialize_aarch64_code_model", "(", "struct", "gcc_options", "*", "opts", ")", "{", "aarch64_cmodel", "=", "opts", "->", "x_aarch64_cmodel_var", ";", "switch", "(", "opts", "->", "x_aarch64_cmodel_var", ")", "{", "case", "AARCH64_CMODEL_TINY", ":", "if", "(", "opts", "->", "x_flag_pic", ")", "aarch64_cmodel", "=", "AARCH64_CMODEL_TINY_PIC", ";", "break", ";", "case", "AARCH64_CMODEL_SMALL", ":", "if", "(", "opts", "->", "x_flag_pic", ")", "{", "aarch64_cmodel", "=", "(", "flag_pic", "==", "2", "?", "AARCH64_CMODEL_SMALL_PIC", ":", "AARCH64_CMODEL_SMALL_SPIC", ")", ";", "aarch64_cmodel", "=", "AARCH64_CMODEL_SMALL_PIC", ";", "}", "break", ";", "case", "AARCH64_CMODEL_LARGE", ":", "if", "(", "opts", "->", "x_flag_pic", ")", "sorry", "(", "\"code model %qs with %<-f%s%>\"", ",", "\"large\"", ",", "opts", "->", "x_flag_pic", ">", "1", "?", "\"PIC\"", ":", "\"pic\"", ")", ";", "if", "(", "opts", "->", "x_aarch64_abi", "==", "AARCH64_ABI_ILP32", ")", "sorry", "(", "\"code model %qs not supported in ilp32 mode\"", ",", "\"large\"", ")", ";", "break", ";", "case", "AARCH64_CMODEL_TINY_PIC", ":", "case", "AARCH64_CMODEL_SMALL_PIC", ":", "case", "AARCH64_CMODEL_SMALL_SPIC", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["A", "checking", "mechanism", "for", "the", "implementation", "of", "the", "various", "code", "models", "."], "TS_V_token": ["aarch64", "2", "\"code model %qs with %<-f%s%>\"", "\"large\"", "1", "\"PIC\"", "\"pic\"", "\"code model %qs not supported in ilp32 mode\"", "\"large\""], "File": "aarch64", "Func": "initialize_aarch64_code_model", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4305, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_adjust_cost", "(", "rtx_insn", "*", "insn", ",", "int", "dep_type", ",", "rtx_insn", "*", "dep", ",", "int", "cost", ",", "unsigned", "int", ")", "{", "rtx", "i_pat", ",", "d_pat", ";", "if", "(", "TARGET_THUMB1", "&&", "dep_type", "==", "0", "&&", "recog_memoized", "(", "insn", ")", "==", "CODE_FOR_cbranchsi4_insn", "&&", "recog_memoized", "(", "dep", ")", ">=", "0", "&&", "get_attr_conds", "(", "dep", ")", "==", "CONDS_SET", ")", "return", "0", ";", "if", "(", "current_tune", "->", "sched_adjust_cost", "!=", "NULL", ")", "{", "if", "(", "!", "current_tune", "->", "sched_adjust_cost", "(", "insn", ",", "dep_type", ",", "dep", ",", "&", "cost", ")", ")", "return", "cost", ";", "}", "if", "(", "dep_type", "==", "REG_DEP_ANTI", "||", "dep_type", "==", "REG_DEP_OUTPUT", ")", "return", "0", ";", "if", "(", "dep_type", "==", "0", "&&", "CALL_P", "(", "insn", ")", ")", "return", "1", ";", "if", "(", "(", "i_pat", "=", "single_set", "(", "insn", ")", ")", "!=", "NULL", "&&", "MEM_P", "(", "SET_SRC", "(", "i_pat", ")", ")", "&&", "(", "d_pat", "=", "single_set", "(", "dep", ")", ")", "!=", "NULL", "&&", "MEM_P", "(", "SET_DEST", "(", "d_pat", ")", ")", ")", "{", "rtx", "src_mem", "=", "XEXP", "(", "SET_SRC", "(", "i_pat", ")", ",", "0", ")", ";", "if", "(", "(", "SYMBOL_REF_P", "(", "src_mem", ")", "&&", "CONSTANT_POOL_ADDRESS_P", "(", "src_mem", ")", ")", "||", "reg_mentioned_p", "(", "stack_pointer_rtx", ",", "src_mem", ")", "||", "reg_mentioned_p", "(", "frame_pointer_rtx", ",", "src_mem", ")", "||", "reg_mentioned_p", "(", "hard_frame_pointer_rtx", ",", "src_mem", ")", ")", "return", "1", ";", "}", "return", "cost", ";", "}", ""], "natrual_language": ["This", "function", "implements", "the", "target", "macro", "TARGET_SCHED_ADJUST_COST", ".", "It", "corrects", "the", "value", "of", "COST", "based", "on", "the", "relationship", "between", "INSN", "and", "DEP", "through", "the", "dependence", "LINK", ".", "It", "returns", "the", "new", "value", ".", "There", "is", "a", "per-core", "adjust_cost", "hook", "to", "adjust", "scheduler", "costs", "and", "the", "per-core", "hook", "can", "choose", "to", "completely", "override", "the", "generic", "adjust_cost", "function", ".", "Only", "put", "bits", "of", "code", "into", "arm_adjust_cost", "that", "are", "common", "across", "all", "cores", "."], "TS_V_token": ["arm", "0", "0", "0", "0", "0", "1", "0", "1"], "File": "arm", "Func": "arm_adjust_cost", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4306, "Length": 213, "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", ";", "}", "}", "if", "(", "!", "TARGET_P9_VECTOR", "&&", "(", "rs6000_isa_flags_explicit", "&", "OPTION_MASK_P9_VECTOR", ")", "!=", "0", "&&", "TARGET_P9_DFORM_BOTH", ">", "0", ")", "{", "error", "(", "\"-mno-power9-vector turns off -mpower9-dform\"", ")", ";", "TARGET_P9_DFORM_BOTH", "=", "0", ";", "}", "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\"", "0", "0", "\"-mno-power9-vector turns off -mpower9-dform\"", "0"], "File": "rs60006", "Func": "rs6000_disable_incompatible_switches", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4307, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "sfunc_uses_reg", "(", "rtx", "insn", ")", "{", "int", "i", ";", "rtx", "pattern", ",", "part", ",", "reg_part", ",", "reg", ";", "if", "(", "GET_CODE", "(", "insn", ")", "!=", "INSN", ")", "return", "0", ";", "pattern", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pattern", ")", "!=", "PARALLEL", "||", "get_attr_type", "(", "insn", ")", "!=", "TYPE_SFUNC", ")", "return", "0", ";", "for", "(", "reg_part", "=", "0", ",", "i", "=", "XVECLEN", "(", "pattern", ",", "0", ")", "-", "1", ";", "i", ">=", "1", ";", "i", "--", ")", "{", "part", "=", "XVECEXP", "(", "pattern", ",", "0", ",", "i", ")", ";", "if", "(", "GET_CODE", "(", "part", ")", "==", "USE", "&&", "GET_MODE", "(", "XEXP", "(", "part", ",", "0", ")", ")", "==", "SImode", ")", "reg_part", "=", "part", ";", "}", "if", "(", "!", "reg_part", ")", "return", "0", ";", "reg", "=", "XEXP", "(", "reg_part", ",", "0", ")", ";", "for", "(", "i", "=", "XVECLEN", "(", "pattern", ",", "0", ")", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "part", "=", "XVECEXP", "(", "pattern", ",", "0", ",", "i", ")", ";", "if", "(", "part", "==", "reg_part", "||", "GET_CODE", "(", "part", ")", "==", "CLOBBER", ")", "continue", ";", "if", "(", "reg_mentioned_p", "(", "reg", ",", "(", "(", "GET_CODE", "(", "part", ")", "==", "SET", "&&", "GET_CODE", "(", "SET_DEST", "(", "part", ")", ")", "==", "REG", ")", "?", "SET_SRC", "(", "part", ")", ":", "part", ")", ")", ")", "return", "0", ";", "}", "return", "reg", ";", "}", ""], "natrual_language": ["If", "the", "instruction", "INSN", "is", "implemented", "by", "a", "special", "function", ",", "and", "we", "can", "positively", "find", "the", "register", "that", "is", "used", "to", "call", "the", "sfunc", ",", "and", "this", "register", "is", "not", "used", "anywhere", "else", "in", "this", "instruction", "-", "except", "as", "the", "destination", "of", "a", "set", ",", "return", "this", "register", ";", "else", ",", "return", "0", "."], "TS_V_token": ["sh", "0", "0", "0", "0", "1", "1", "0", "0", "0", "0", "0", "1", "0", "0", "0"], "File": "sh3", "Func": "sfunc_uses_reg", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4308, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64TargetLowering", "::", "LowerAsmOperandForConstraint", "(", "SDValue", "Op", ",", "std", "::", "string", "&", "Constraint", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "Ops", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDValue", "Result", "(", "0", ",", "0", ")", ";", "if", "(", "Constraint", ".", "size", "(", ")", "!=", "1", ")", "return", ";", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'I'", ":", "case", "'J'", ":", "case", "'K'", ":", "case", "'L'", ":", "case", "'M'", ":", "case", "'N'", ":", "case", "'Z'", ":", "{", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ";", "if", "(", "!", "C", ")", "return", ";", "uint64_t", "CVal", "=", "C", "->", "getZExtValue", "(", ")", ";", "uint32_t", "Bits", ";", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unimplemented C_Other constraint\"", ")", ";", "case", "'I'", ":", "if", "(", "CVal", "<=", "0xfff", ")", "break", ";", "return", ";", "case", "'K'", ":", "if", "(", "A64Imms", "::", "isLogicalImm", "(", "32", ",", "CVal", ",", "Bits", ")", ")", "break", ";", "return", ";", "case", "'L'", ":", "if", "(", "A64Imms", "::", "isLogicalImm", "(", "64", ",", "CVal", ",", "Bits", ")", ")", "break", ";", "return", ";", "case", "'Z'", ":", "if", "(", "CVal", "==", "0", ")", "break", ";", "return", ";", "}", "Result", "=", "DAG", ".", "getTargetConstant", "(", "CVal", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "}", "case", "'S'", ":", "{", "if", "(", "const", "GlobalAddressSDNode", "*", "GA", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", ")", "{", "Result", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GA", "->", "getGlobal", "(", ")", ",", "Op", ".", "getDebugLoc", "(", ")", ",", "GA", "->", "getValueType", "(", "0", ")", ")", ";", "}", "else", "if", "(", "const", "BlockAddressSDNode", "*", "BA", "=", "dyn_cast", "<", "BlockAddressSDNode", ">", "(", "Op", ")", ")", "{", "Result", "=", "DAG", ".", "getTargetBlockAddress", "(", "BA", "->", "getBlockAddress", "(", ")", ",", "BA", "->", "getValueType", "(", "0", ")", ")", ";", "}", "else", "if", "(", "const", "ExternalSymbolSDNode", "*", "ES", "=", "dyn_cast", "<", "ExternalSymbolSDNode", ">", "(", "Op", ")", ")", "{", "Result", "=", "DAG", ".", "getTargetExternalSymbol", "(", "ES", "->", "getSymbol", "(", ")", ",", "ES", "->", "getValueType", "(", "0", ")", ")", ";", "}", "else", "return", ";", "break", ";", "}", "case", "'Y'", ":", "if", "(", "const", "ConstantFPSDNode", "*", "CFP", "=", "dyn_cast", "<", "ConstantFPSDNode", ">", "(", "Op", ")", ")", "{", "if", "(", "CFP", "->", "isExactlyValue", "(", "0.0", ")", ")", "{", "Result", "=", "DAG", ".", "getTargetConstantFP", "(", "0.0", ",", "CFP", "->", "getValueType", "(", "0", ")", ")", ";", "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": ["AArch64", "AArch64", "0", "0", "1", "0", "0", "\"Unimplemented C_Other constraint\"", "0xfff", "32", "64", "0", "0", "0", "0", "0.0", "0.0", "0"], "File": "AArch64ISelLowering123", "Func": "LowerAsmOperandForConstraint", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4309, "Length": 428, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "load_got_register", "(", "void", ")", "{", "if", "(", "!", "got_register_rtx", ")", "got_register_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "GLOBAL_OFFSET_TABLE_REGNUM", ")", ";", "if", "(", "TARGET_VXWORKS_RTP", ")", "emit_insn", "(", "gen_vxworks_load_got", "(", ")", ")", ";", "else", "{", "if", "(", "!", "got_helper_rtx", ")", "{", "char", "name", "[", "32", "]", ";", "get_pc_thunk_name", "(", "name", ",", "GLOBAL_OFFSET_TABLE_REGNUM", ")", ";", "got_helper_rtx", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "ggc_strdup", "(", "name", ")", ")", ";", "}", "emit_insn", "(", "gen_load_pcrel_sym", "(", "got_register_rtx", ",", "sparc_got", "(", ")", ",", "got_helper_rtx", ")", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "code", "to", "load", "the", "GOT", "register", "."], "TS_V_token": ["sparc", "32"], "File": "sparc8", "Func": "load_got_register", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4310, "Length": 81, "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": 4311, "Length": 278, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "type_suffix_index", "function_resolver", "::", "infer_integer_vector_type", "(", "unsigned", "int", "argno", ")", "{", "type_suffix_index", "type", "=", "infer_vector_type", "(", "argno", ")", ";", "if", "(", "type", "==", "NUM_TYPE_SUFFIXES", ")", "return", "type", ";", "if", "(", "!", "type_suffixes", "[", "type", "]", ".", "integer_p", ")", "{", "error_at", "(", "location", ",", "\"passing %qT to argument %d of %qE, which\"", "\" expects a vector of integers\"", ",", "get_argument_type", "(", "argno", ")", ",", "argno", "+", "1", ",", "fndecl", ")", ";", "return", "NUM_TYPE_SUFFIXES", ";", "}", "return", "type", ";", "}", ""], "natrual_language": ["Like", "infer_vector_type", ",", "but", "also", "require", "the", "type", "to", "be", "integral", "."], "TS_V_token": ["aarch64", "\"passing %qT to argument %d of %qE, which\"", "\" expects a vector of integers\"", "1"], "File": "aarch64-sve-builtins", "Func": "infer_integer_vector_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4312, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "enablePostRAScheduler", "(", ")", "const", "override", "{", "return", "isGeneric", "(", ")", "||", "isCortexA53", "(", ")", "||", "isCortexA57", "(", ")", "||", "isKryo", "(", ")", ";", "}", ""], "natrual_language": ["True", "if", "the", "subtarget", "should", "run", "a", "scheduler", "after", "register", "allocation", "."], "TS_V_token": ["AArch64"], "File": "AArch64Subtarget13", "Func": "enablePostRAScheduler", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4313, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int64_t", "getBytes", "(", ")", "const", "{", "return", "Bytes", ";", "}", ""], "natrual_language": ["Extract", "a", "fixed", "number", "of", "bytes", "from", "the", "location", "given", "by", "the", "cursor", "."], "TS_V_token": ["AArch64"], "File": "AArch64StackOffset", "Func": "getBytes", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4314, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCContext", "&", "getContext", "(", ")", "{", "return", "getStreamer", "(", ")", ".", "getContext", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "LLVMContext", "used", "by", "the", "analysis", "."], "TS_V_token": ["X86"], "File": "X86WinCOFFTargetStreamer", "Func": "getContext", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4315, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SparcSubtarget", "*", "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": ["Sparc", "Sparc"], "File": "SparcTargetMachine22", "Func": "getSubtargetImpl", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4316, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64AppleInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "uint64_t", "Address", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "raw_ostream", "&", "O", ")", "{", "unsigned", "Opcode", "=", "MI", "->", "getOpcode", "(", ")", ";", "StringRef", "Layout", ";", "bool", "IsTbx", ";", "if", "(", "isTblTbxInstruction", "(", "MI", "->", "getOpcode", "(", ")", ",", "Layout", ",", "IsTbx", ")", ")", "{", "O", "<<", "\"\\t\"", "<<", "(", "IsTbx", "?", "\"tbx\"", ":", "\"tbl\"", ")", "<<", "Layout", "<<", "'\\t'", "<<", "getRegisterName", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "AArch64", "::", "vreg", ")", "<<", "\", \"", ";", "unsigned", "ListOpNum", "=", "IsTbx", "?", "2", ":", "1", ";", "printVectorList", "(", "MI", ",", "ListOpNum", ",", "STI", ",", "O", ",", "\"\"", ")", ";", "O", "<<", "\", \"", "<<", "getRegisterName", "(", "MI", "->", "getOperand", "(", "ListOpNum", "+", "1", ")", ".", "getReg", "(", ")", ",", "AArch64", "::", "vreg", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "return", ";", "}", "if", "(", "const", "LdStNInstrDesc", "*", "LdStDesc", "=", "getLdStNInstrDesc", "(", "Opcode", ")", ")", "{", "O", "<<", "\"\\t\"", "<<", "LdStDesc", "->", "Mnemonic", "<<", "LdStDesc", "->", "Layout", "<<", "'\\t'", ";", "int", "OpNum", "=", "LdStDesc", "->", "ListOperand", ";", "printVectorList", "(", "MI", ",", "OpNum", "++", ",", "STI", ",", "O", ",", "\"\"", ")", ";", "if", "(", "LdStDesc", "->", "HasLane", ")", "O", "<<", "'['", "<<", "MI", "->", "getOperand", "(", "OpNum", "++", ")", ".", "getImm", "(", ")", "<<", "']'", ";", "unsigned", "AddrReg", "=", "MI", "->", "getOperand", "(", "OpNum", "++", ")", ".", "getReg", "(", ")", ";", "O", "<<", "\", [\"", "<<", "getRegisterName", "(", "AddrReg", ")", "<<", "']'", ";", "if", "(", "LdStDesc", "->", "NaturalOffset", "!=", "0", ")", "{", "unsigned", "Reg", "=", "MI", "->", "getOperand", "(", "OpNum", "++", ")", ".", "getReg", "(", ")", ";", "if", "(", "Reg", "!=", "AArch64", "::", "XZR", ")", "O", "<<", "\", \"", "<<", "getRegisterName", "(", "Reg", ")", ";", "else", "{", "assert", "(", "LdStDesc", "->", "NaturalOffset", "&&", "\"no offset on post-inc instruction?\"", ")", ";", "O", "<<", "\", #\"", "<<", "LdStDesc", "->", "NaturalOffset", ";", "}", "}", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "return", ";", "}", "AArch64InstPrinter", "::", "printInst", "(", "MI", ",", "Address", ",", "Annot", ",", "STI", ",", "O", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["AArch64", "AArch64", "\"\\t\"", "\"tbx\"", "\"tbl\"", "0", "AArch64::vreg", "\", \"", "2", "1", "\"\"", "\", \"", "1", "AArch64::vreg", "\"\\t\"", "\"\"", "\", [\"", "0", "AArch64::XZR", "\", \"", "\"no offset on post-inc instruction?\"", "\", #\"", "AArch64"], "File": "AArch64InstPrinter13", "Func": "printInst", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4317, "Length": 335, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "X86TargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "unsigned", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "bool", "Is64Bit", "=", "Subtarget", "->", "is64Bit", "(", ")", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_X86", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "EVT", "CopyVT", "=", "VA", ".", "getValVT", "(", ")", ";", "if", "(", "(", "CopyVT", "==", "MVT", "::", "f32", "||", "CopyVT", "==", "MVT", "::", "f64", ")", "&&", "(", "(", "Is64Bit", "||", "Ins", "[", "i", "]", ".", "Flags", ".", "isInReg", "(", ")", ")", "&&", "!", "Subtarget", "->", "hasSSE1", "(", ")", ")", ")", "{", "llvm_report_error", "(", "\"SSE register return with SSE disabled\"", ")", ";", "}", "if", "(", "(", "VA", ".", "getLocReg", "(", ")", "==", "X86", "::", "ST0", "||", "VA", ".", "getLocReg", "(", ")", "==", "X86", "::", "ST1", ")", "&&", "isScalarFPTypeInSSEReg", "(", "VA", ".", "getValVT", "(", ")", ")", ")", "{", "CopyVT", "=", "MVT", "::", "f80", ";", "}", "SDValue", "Val", ";", "if", "(", "Is64Bit", "&&", "CopyVT", ".", "isVector", "(", ")", "&&", "CopyVT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "{", "if", "(", "VA", ".", "getLocReg", "(", ")", "==", "X86", "::", "XMM0", "||", "VA", ".", "getLocReg", "(", ")", "==", "X86", "::", "XMM1", ")", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "MVT", "::", "v2i64", ",", "InFlag", ")", ".", "getValue", "(", "1", ")", ";", "Val", "=", "Chain", ".", "getValue", "(", "0", ")", ";", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "EXTRACT_VECTOR_ELT", ",", "dl", ",", "MVT", "::", "i64", ",", "Val", ",", "DAG", ".", "getConstant", "(", "0", ",", "MVT", "::", "i64", ")", ")", ";", "}", "else", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "MVT", "::", "i64", ",", "InFlag", ")", ".", "getValue", "(", "1", ")", ";", "Val", "=", "Chain", ".", "getValue", "(", "0", ")", ";", "}", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BIT_CONVERT", ",", "dl", ",", "CopyVT", ",", "Val", ")", ";", "}", "else", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "CopyVT", ",", "InFlag", ")", ".", "getValue", "(", "1", ")", ";", "Val", "=", "Chain", ".", "getValue", "(", "0", ")", ";", "}", "InFlag", "=", "Chain", ".", "getValue", "(", "2", ")", ";", "if", "(", "CopyVT", "!=", "VA", ".", "getValVT", "(", ")", ")", "{", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "FP_ROUND", ",", "dl", ",", "VA", ".", "getValVT", "(", ")", ",", "Val", ",", "DAG", ".", "getIntPtrConstant", "(", "1", ")", ")", ";", "}", "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", "\"SSE register return with SSE disabled\"", "X86::ST0", "X86::ST1", "MVT::f80", "64", "X86::XMM0", "X86::XMM1", "MVT::v2i64", "1", "0", "ISD::EXTRACT_VECTOR_ELT", "MVT::i64", "0", "MVT::i64", "MVT::i64", "1", "0", "ISD::BIT_CONVERT", "1", "0", "2", "ISD::FP_ROUND", "1"], "File": "X86ISelLowering94", "Func": "LowerCallResult", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4318, "Length": 484, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_cirrus_insn_p", "(", "rtx", "insn", ")", "{", "enum", "attr_cirrus", "attr", ";", "if", "(", "!", "insn", "||", "GET_CODE", "(", "insn", ")", "!=", "INSN", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "USE", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "CLOBBER", ")", "return", "0", ";", "attr", "=", "get_attr_cirrus", "(", "insn", ")", ";", "return", "attr", "!=", "CIRRUS_NOT", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "INSN", "is", "a", "Cirrus", "instruction", "."], "TS_V_token": ["arm", "0"], "File": "arm3", "Func": "arm_cirrus_insn_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4319, "Length": 60, "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", ",", "Address", ",", "0", ",", "OS", ")", ";", "}", "else", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "X86", "::", "DATA16_PREFIX", "&&", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "Mode16Bit", "]", ")", "{", "OS", "<<", "\"\\tdata32\"", ";", "}", "else", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "Address", ",", "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": "X86ATTInstPrinter2", "Func": "printInst", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4320, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "function_expander", "::", "overlaps_input_p", "(", "rtx", "x", ")", "{", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "args", ".", "length", "(", ")", ";", "++", "i", ")", "if", "(", "reg_overlap_mentioned_p", "(", "x", ",", "args", "[", "i", "]", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "overlaps", "any", "input", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64-sve-builtins", "Func": "overlaps_input_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4321, "Length": 47, "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", ";", "if", "(", "arm_current_function_pac_enabled_p", "(", ")", ")", "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_arch5t", "&&", "TARGET_ARM", ")", "{", "if", "(", "!", "call_used_or_fixed_reg_p", "(", "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", "(", "IS_CMSE_ENTRY", "(", "func_type", ")", "&&", "(", "saved_int_regs", "||", "TARGET_HAVE_FPCXT_CMSE", ")", ")", "return", "0", ";", "if", "(", "saved_int_regs", "&&", "!", "(", "saved_int_regs", "&", "(", "1", "<<", "LR_REGNUM", ")", ")", ")", "return", "0", ";", "if", "(", "TARGET_VFP_BASE", ")", "for", "(", "regno", "=", "FIRST_VFP_REGNUM", ";", "regno", "<=", "LAST_VFP_REGNUM", ";", "regno", "++", ")", "if", "(", "reg_needs_saving_p", "(", "regno", ")", ")", "return", "0", ";", "if", "(", "TARGET_REALLY_IWMMXT", ")", "for", "(", "regno", "=", "FIRST_IWMMXT_REGNUM", ";", "regno", "<=", "LAST_IWMMXT_REGNUM", ";", "regno", "++", ")", "if", "(", "reg_needs_saving_p", "(", "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", "0", "4", "0", "0", "4", "3", "0", "4", "0", "3", "0", "0x7", "0", "0", "0", "0", "1", "0", "0", "0", "1", "0", "0", "0", "1"], "File": "arm1", "Func": "use_return_insn", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4322, "Length": 405, "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": 4323, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "getExceptionPointerRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "override", "{", "return", "ABI", ".", "IsCheriPureCap", "(", ")", "?", "Mips", "::", "C16", ":", "(", "ABI", ".", "IsN64", "(", ")", "?", "Mips", "::", "A0_64", ":", "Mips", "::", "A0", ")", ";", "}", ""], "natrual_language": ["If", "a", "physical", "register", ",", "this", "returns", "the", "register", "that", "receives", "the", "exception", "address", "on", "entry", "to", "an", "EH", "pad", "."], "TS_V_token": ["Mips", "Mips::C16", "Mips::A0_64", "Mips::A0"], "File": "MipsISelLowering52", "Func": "getExceptionPointerRegister", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4324, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pa_trampoline_init", "(", "rtx", "m_tramp", ",", "tree", "fndecl", ",", "rtx", "chain_value", ")", "{", "rtx", "fnaddr", "=", "XEXP", "(", "DECL_RTL", "(", "fndecl", ")", ",", "0", ")", ";", "rtx", "start_addr", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "end_addr", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "line_length", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "r_tramp", ",", "tmp", ";", "emit_block_move", "(", "m_tramp", ",", "assemble_trampoline_template", "(", ")", ",", "GEN_INT", "(", "TRAMPOLINE_SIZE", ")", ",", "BLOCK_OP_NORMAL", ")", ";", "r_tramp", "=", "force_reg", "(", "Pmode", ",", "XEXP", "(", "m_tramp", ",", "0", ")", ")", ";", "if", "(", "!", "TARGET_64BIT", ")", "{", "tmp", "=", "adjust_address", "(", "m_tramp", ",", "Pmode", ",", "48", ")", ";", "emit_move_insn", "(", "tmp", ",", "fnaddr", ")", ";", "tmp", "=", "adjust_address", "(", "m_tramp", ",", "Pmode", ",", "52", ")", ";", "emit_move_insn", "(", "tmp", ",", "chain_value", ")", ";", "tmp", "=", "adjust_address", "(", "m_tramp", ",", "Pmode", ",", "56", ")", ";", "emit_move_insn", "(", "tmp", ",", "r_tramp", ")", ";", "tmp", "=", "adjust_address", "(", "m_tramp", ",", "Pmode", ",", "60", ")", ";", "emit_move_insn", "(", "tmp", ",", "gen_rtx_REG", "(", "Pmode", ",", "19", ")", ")", ";", "emit_insn", "(", "gen_andsi3", "(", "start_addr", ",", "r_tramp", ",", "GEN_INT", "(", "-", "MIN_CACHELINE_SIZE", ")", ")", ")", ";", "tmp", "=", "force_reg", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "r_tramp", ",", "TRAMPOLINE_CODE_SIZE", "-", "1", ")", ")", ";", "emit_insn", "(", "gen_andsi3", "(", "end_addr", ",", "tmp", ",", "GEN_INT", "(", "-", "MIN_CACHELINE_SIZE", ")", ")", ")", ";", "emit_move_insn", "(", "line_length", ",", "GEN_INT", "(", "MIN_CACHELINE_SIZE", ")", ")", ";", "emit_insn", "(", "gen_dcacheflushsi", "(", "start_addr", ",", "end_addr", ",", "line_length", ")", ")", ";", "emit_insn", "(", "gen_icacheflushsi", "(", "start_addr", ",", "end_addr", ",", "line_length", ",", "gen_reg_rtx", "(", "Pmode", ")", ",", "gen_reg_rtx", "(", "Pmode", ")", ")", ")", ";", "}", "else", "{", "tmp", "=", "adjust_address", "(", "m_tramp", ",", "Pmode", ",", "56", ")", ";", "emit_move_insn", "(", "tmp", ",", "fnaddr", ")", ";", "tmp", "=", "adjust_address", "(", "m_tramp", ",", "Pmode", ",", "64", ")", ";", "emit_move_insn", "(", "tmp", ",", "chain_value", ")", ";", "tmp", "=", "adjust_address", "(", "m_tramp", ",", "Pmode", ",", "16", ")", ";", "emit_move_insn", "(", "tmp", ",", "force_reg", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "r_tramp", ",", "32", ")", ")", ")", ";", "tmp", "=", "adjust_address", "(", "m_tramp", ",", "Pmode", ",", "24", ")", ";", "emit_move_insn", "(", "tmp", ",", "gen_rtx_REG", "(", "Pmode", ",", "27", ")", ")", ";", "tmp", "=", "force_reg", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "r_tramp", ",", "32", ")", ")", ";", "emit_insn", "(", "gen_anddi3", "(", "start_addr", ",", "tmp", ",", "GEN_INT", "(", "-", "MIN_CACHELINE_SIZE", ")", ")", ")", ";", "tmp", "=", "force_reg", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "tmp", ",", "TRAMPOLINE_CODE_SIZE", "-", "1", ")", ")", ";", "emit_insn", "(", "gen_anddi3", "(", "end_addr", ",", "tmp", ",", "GEN_INT", "(", "-", "MIN_CACHELINE_SIZE", ")", ")", ")", ";", "emit_move_insn", "(", "line_length", ",", "GEN_INT", "(", "MIN_CACHELINE_SIZE", ")", ")", ";", "emit_insn", "(", "gen_dcacheflushdi", "(", "start_addr", ",", "end_addr", ",", "line_length", ")", ")", ";", "emit_insn", "(", "gen_icacheflushdi", "(", "start_addr", ",", "end_addr", ",", "line_length", ",", "gen_reg_rtx", "(", "Pmode", ")", ",", "gen_reg_rtx", "(", "Pmode", ")", ")", ")", ";", "}", "emit_library_call", "(", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"__enable_execute_stack\"", ")", ",", "LCT_NORMAL", ",", "VOIDmode", ",", "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", ".", "Move", "the", "function", "address", "to", "the", "trampoline", "template", "at", "offset", "36", ".", "Move", "the", "static", "chain", "value", "to", "trampoline", "template", "at", "offset", "40", ".", "Move", "the", "trampoline", "address", "to", "trampoline", "template", "at", "offset", "44", ".", "Move", "r19", "to", "trampoline", "template", "at", "offset", "48", ".", "The", "latter", "two", "words", "create", "a", "plabel", "for", "the", "indirect", "call", "to", "the", "trampoline", ".", "A", "similar", "sequence", "is", "used", "for", "the", "64-bit", "port", "but", "the", "plabel", "is", "at", "the", "beginning", "of", "the", "trampoline", ".", "Finally", ",", "the", "cache", "entries", "for", "the", "trampoline", "code", "are", "flushed", ".", "This", "is", "necessary", "to", "ensure", "that", "the", "trampoline", "instruction", "sequence", "is", "written", "to", "memory", "prior", "to", "any", "attempts", "at", "prefetching", "the", "code", "sequence", "."], "TS_V_token": ["pa", "0", "0", "48", "52", "56", "60", "19", "1", "56", "64", "16", "32", "24", "27", "32", "1", "\"__enable_execute_stack\"", "0"], "File": "pa", "Func": "pa_trampoline_init", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4325, "Length": 490, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "get_vector_offset", "(", "rtx", "mem", ",", "rtx", "element", ",", "rtx", "base_tmp", ",", "unsigned", "scalar_size", ")", "{", "if", "(", "CONST_INT_P", "(", "element", ")", ")", "return", "GEN_INT", "(", "INTVAL", "(", "element", ")", "*", "scalar_size", ")", ";", "gcc_assert", "(", "satisfies_constraint_Q", "(", "mem", ")", ")", ";", "rtx", "num_ele_m1", "=", "GEN_INT", "(", "GET_MODE_NUNITS", "(", "GET_MODE", "(", "mem", ")", ")", "-", "1", ")", ";", "rtx", "and_op", "=", "gen_rtx_AND", "(", "Pmode", ",", "element", ",", "num_ele_m1", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "base_tmp", ",", "and_op", ")", ")", ";", "int", "shift", "=", "exact_log2", "(", "scalar_size", ")", ";", "gcc_assert", "(", "shift", ">=", "0", ")", ";", "if", "(", "shift", ">", "0", ")", "{", "rtx", "shift_op", "=", "gen_rtx_ASHIFT", "(", "Pmode", ",", "base_tmp", ",", "GEN_INT", "(", "shift", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "base_tmp", ",", "shift_op", ")", ")", ";", "}", "return", "base_tmp", ";", "}", ""], "natrual_language": ["Return", "the", "offset", "within", "a", "memory", "object", "(", "MEM", ")", "of", "a", "vector", "type", "to", "a", "given", "element", "within", "the", "vector", "(", "ELEMENT", ")", "with", "an", "element", "size", "(", "SCALAR_SIZE", ")", ".", "If", "the", "element", "is", "constant", ",", "we", "return", "a", "constant", "integer", ".", "Otherwise", ",", "we", "use", "a", "base", "register", "temporary", "to", "calculate", "the", "offset", "after", "masking", "it", "to", "fit", "within", "the", "bounds", "of", "the", "vector", "and", "scaling", "it", ".", "The", "masking", "is", "required", "by", "the", "64-bit", "ELF", "version", "2", "ABI", "for", "the", "vec_extract", "built-in", "function", "."], "TS_V_token": ["rs6000", "1", "0", "0"], "File": "rs6000", "Func": "get_vector_offset", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4326, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "{", "if", "(", "PPCSubTarget", ".", "isSVR4ABI", "(", ")", "&&", "!", "PPCSubTarget", ".", "isPPC64", "(", ")", ")", "{", "return", "LowerFormalArguments_SVR4", "(", "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": "PPCISelLowering107", "Func": "LowerFormalArguments", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4327, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMem", "(", "RegisterKind", "RegKind", ",", "MemoryKind", "MemKind", ")", "const", "{", "return", "(", "Kind", "==", "KindMem", "&&", "Mem", ".", "RegKind", "==", "RegKind", "&&", "(", "MemKind", "==", "BDXMem", "||", "!", "Mem", ".", "Index", ")", "&&", "(", "MemKind", "==", "BDLMem", ")", "==", "(", "Mem", ".", "Length", "!=", "0", ")", ")", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["SystemZ", "0"], "File": "SystemZAsmParser10", "Func": "isMem", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4328, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "long", "arm_isr_value", "(", "tree", "argument", ")", "{", "const", "isr_attribute_arg", "*", "ptr", ";", "const", "char", "*", "arg", ";", "if", "(", "argument", "==", "NULL_TREE", ")", "return", "ARM_FT_ISR", ";", "if", "(", "TREE_VALUE", "(", "argument", ")", "==", "NULL_TREE", "||", "TREE_CODE", "(", "TREE_VALUE", "(", "argument", ")", ")", "!=", "STRING_CST", ")", "return", "ARM_FT_UNKNOWN", ";", "arg", "=", "TREE_STRING_POINTER", "(", "TREE_VALUE", "(", "argument", ")", ")", ";", "for", "(", "ptr", "=", "isr_attribute_args", ";", "ptr", "->", "arg", "!=", "NULL", ";", "ptr", "++", ")", "if", "(", "streq", "(", "arg", ",", "ptr", "->", "arg", ")", ")", "return", "ptr", "->", "return_value", ";", "return", "ARM_FT_UNKNOWN", ";", "}", ""], "natrual_language": ["Returns", "the", "(", "interrupt", ")", "function", "type", "of", "the", "current", "function", ",", "or", "ARM_FT_UNKNOWN", "if", "the", "type", "can", "not", "be", "determined", "."], "TS_V_token": ["arm"], "File": "arm3", "Func": "arm_isr_value", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4329, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetTransformInfo", "AArch64TargetMachine", "::", "getTargetTransformInfo", "(", "const", "Function", "&", "F", ")", "{", "return", "TargetTransformInfo", "(", "AArch64TTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetTransformInfo", "implementation", "for", "the", "target", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine (2)3", "Func": "getTargetTransformInfo", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4330, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_offset_9bit_signed_unscaled_p", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "poly_int64", "offset", ")", "{", "HOST_WIDE_INT", "const_offset", ";", "return", "(", "offset", ".", "is_constant", "(", "&", "const_offset", ")", "&&", "IN_RANGE", "(", "const_offset", ",", "-", "256", ",", "255", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OFFSET", "is", "a", "signed", "9-bit", "value", "."], "TS_V_token": ["aarch64", "256", "255"], "File": "aarch64", "Func": "aarch64_offset_9bit_signed_unscaled_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4331, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_set_got", "(", "rtx", "dest", ",", "rtx", "label", ")", "{", "rtx", "xops", "[", "3", "]", ";", "xops", "[", "0", "]", "=", "dest", ";", "if", "(", "TARGET_VXWORKS_RTP", "&&", "flag_pic", ")", "{", "xops", "[", "2", "]", "=", "gen_rtx_MEM", "(", "Pmode", ",", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "VXWORKS_GOTT_BASE", ")", ")", ";", "output_asm_insn", "(", "\"mov{l}\\t{%2, %0|%0, %2}\"", ",", "xops", ")", ";", "xops", "[", "2", "]", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "VXWORKS_GOTT_INDEX", ")", ";", "SYMBOL_REF_FLAGS", "(", "xops", "[", "2", "]", ")", "|=", "SYMBOL_FLAG_LOCAL", ";", "output_asm_insn", "(", "\"mov{l}\\t{%P2(%0), %0|%0, DWORD PTR %P2[%0]}\"", ",", "xops", ")", ";", "return", "\"\"", ";", "}", "xops", "[", "1", "]", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "GOT_SYMBOL_NAME", ")", ";", "if", "(", "!", "flag_pic", ")", "{", "if", "(", "TARGET_MACHO", ")", "gcc_unreachable", "(", ")", ";", "xops", "[", "2", "]", "=", "gen_rtx_LABEL_REF", "(", "Pmode", ",", "label", "?", "label", ":", "gen_label_rtx", "(", ")", ")", ";", "output_asm_insn", "(", "\"mov%z0\\t{%2, %0|%0, %2}\"", ",", "xops", ")", ";", "targetm", ".", "asm_out", ".", "internal_label", "(", "asm_out_file", ",", "\"L\"", ",", "CODE_LABEL_NUMBER", "(", "XEXP", "(", "xops", "[", "2", "]", ",", "0", ")", ")", ")", ";", "}", "else", "{", "char", "name", "[", "32", "]", ";", "get_pc_thunk_name", "(", "name", ",", "REGNO", "(", "dest", ")", ")", ";", "pic_labels_used", "|=", "1", "<<", "REGNO", "(", "dest", ")", ";", "xops", "[", "2", "]", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "ggc_strdup", "(", "name", ")", ")", ";", "xops", "[", "2", "]", "=", "gen_rtx_MEM", "(", "QImode", ",", "xops", "[", "2", "]", ")", ";", "output_asm_insn", "(", "\"%!call\\t%X2\"", ",", "xops", ")", ";", "if", "(", "machopic_should_output_picbase_label", "(", ")", "||", "!", "label", ")", "ASM_OUTPUT_LABEL", "(", "asm_out_file", ",", "MACHOPIC_FUNCTION_BASE_NAME", ")", ";", "if", "(", "label", ")", "targetm", ".", "asm_out", ".", "internal_label", "(", "asm_out_file", ",", "\"L\"", ",", "CODE_LABEL_NUMBER", "(", "label", ")", ")", ";", "}", "if", "(", "!", "TARGET_MACHO", ")", "output_asm_insn", "(", "\"add%z0\\t{%1, %0|%0, %1}\"", ",", "xops", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Emit", "code", "for", "the", "SET_GOT", "patterns", "."], "TS_V_token": ["i386", "3", "0", "2", "\"mov{l}\\t{%2, %0|%0, %2}\"", "2", "2", "\"mov{l}\\t{%P2(%0), %0|%0, DWORD PTR %P2[%0]}\"", "\"\"", "1", "2", "\"mov%z0\\t{%2, %0|%0, %2}\"", "\"L\"", "2", "0", "32", "1", "2", "2", "2", "\"%!call\\t%X2\"", "\"L\"", "\"add%z0\\t{%1, %0|%0, %1}\"", "\"\""], "File": "i3864", "Func": "output_set_got", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4332, "Length": 282, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "getFMA3OpcodeToCommuteOperands", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "SrcOpIdx1", ",", "unsigned", "SrcOpIdx2", ",", "const", "X86InstrFMA3Group", "&", "FMA3Group", ")", "const", "{", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "SrcOpIdx1", ">", "SrcOpIdx2", ")", "std", "::", "swap", "(", "SrcOpIdx1", ",", "SrcOpIdx2", ")", ";", "if", "(", "FMA3Group", ".", "isIntrinsic", "(", ")", "&&", "SrcOpIdx1", "==", "1", ")", "return", "0", ";", "int", "Case", "=", "getThreeSrcCommuteCase", "(", "MI", ".", "getDesc", "(", ")", ".", "TSFlags", ",", "SrcOpIdx1", ",", "SrcOpIdx2", ")", ";", "if", "(", "Case", "<", "0", ")", "return", "0", ";", "const", "unsigned", "Form132Index", "=", "0", ";", "const", "unsigned", "Form213Index", "=", "1", ";", "const", "unsigned", "Form231Index", "=", "2", ";", "static", "const", "unsigned", "FormMapping", "[", "]", "[", "3", "]", "=", "{", "{", "Form231Index", ",", "Form213Index", ",", "Form132Index", "}", ",", "{", "Form132Index", ",", "Form231Index", ",", "Form213Index", "}", ",", "{", "Form213Index", ",", "Form132Index", ",", "Form231Index", "}", "}", ";", "unsigned", "FMAForms", "[", "3", "]", ";", "if", "(", "FMA3Group", ".", "isRegOpcodeFromGroup", "(", "Opc", ")", ")", "{", "FMAForms", "[", "0", "]", "=", "FMA3Group", ".", "getReg132Opcode", "(", ")", ";", "FMAForms", "[", "1", "]", "=", "FMA3Group", ".", "getReg213Opcode", "(", ")", ";", "FMAForms", "[", "2", "]", "=", "FMA3Group", ".", "getReg231Opcode", "(", ")", ";", "}", "else", "{", "FMAForms", "[", "0", "]", "=", "FMA3Group", ".", "getMem132Opcode", "(", ")", ";", "FMAForms", "[", "1", "]", "=", "FMA3Group", ".", "getMem213Opcode", "(", ")", ";", "FMAForms", "[", "2", "]", "=", "FMA3Group", ".", "getMem231Opcode", "(", ")", ";", "}", "unsigned", "FormIndex", ";", "for", "(", "FormIndex", "=", "0", ";", "FormIndex", "<", "3", ";", "FormIndex", "++", ")", "if", "(", "Opc", "==", "FMAForms", "[", "FormIndex", "]", ")", "break", ";", "FormIndex", "=", "FormMapping", "[", "Case", "]", "[", "FormIndex", "]", ";", "return", "FMAForms", "[", "FormIndex", "]", ";", "}", ""], "natrual_language": ["Returns", "an", "adjusted", "FMA", "opcode", "that", "must", "be", "used", "in", "FMA", "instruction", "that", "performs", "the", "same", "computations", "as", "the", "given", "MI", "but", "which", "has", "the", "operands", "SrcOpIdx1", "and", "SrcOpIdx2", "commuted", "."], "TS_V_token": ["X86", "X86", "X86", "1", "0", "0", "0", "0", "1", "2", "3", "3", "0", "1", "2", "0", "1", "2", "0", "3"], "File": "X86InstrInfo112", "Func": "getFMA3OpcodeToCommuteOperands", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4333, "Length": 273, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86TargetMachine", "::", "X86TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "is64Bit", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ")", ",", "Subtarget", "(", "TT", ",", "FS", ",", "is64Bit", ")", ",", "DataLayout", "(", "Subtarget", ".", "getDataLayout", "(", ")", ")", ",", "FrameInfo", "(", "TargetFrameInfo", "::", "StackGrowsDown", ",", "Subtarget", ".", "getStackAlignment", "(", ")", ",", "(", "Subtarget", ".", "isTargetWin64", "(", ")", "?", "-", "40", ":", "(", "Subtarget", ".", "is64Bit", "(", ")", "?", "-", "8", ":", "-", "4", ")", ")", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "JITInfo", "(", "*", "this", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "ELFWriterInfo", "(", "*", "this", ")", "{", "DefRelocModel", "=", "getRelocationModel", "(", ")", ";", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Default", ")", "{", "if", "(", "!", "Subtarget", ".", "isTargetDarwin", "(", ")", ")", "setRelocationModel", "(", "Reloc", "::", "Static", ")", ";", "else", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "setRelocationModel", "(", "Reloc", "::", "PIC_", ")", ";", "else", "setRelocationModel", "(", "Reloc", "::", "DynamicNoPIC", ")", ";", "}", "assert", "(", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Default", "&&", "\"Relocation mode not picked\"", ")", ";", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "DynamicNoPIC", ")", "{", "if", "(", "is64Bit", ")", "setRelocationModel", "(", "Reloc", "::", "PIC_", ")", ";", "else", "if", "(", "!", "Subtarget", ".", "isTargetDarwin", "(", ")", ")", "setRelocationModel", "(", "Reloc", "::", "Static", ")", ";", "}", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", "&&", "Subtarget", ".", "isTargetDarwin", "(", ")", "&&", "is64Bit", ")", "setRelocationModel", "(", "Reloc", "::", "PIC_", ")", ";", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "isTargetCygMing", "(", ")", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "RIPRel", ")", ";", "else", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "StubPIC", ")", ";", "else", "{", "assert", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "DynamicNoPIC", ")", ";", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "StubDynamicNoPIC", ")", ";", "}", "}", "else", "if", "(", "Subtarget", ".", "isTargetELF", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "RIPRel", ")", ";", "else", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "GOT", ")", ";", "}", "if", "(", "Subtarget", ".", "getPICStyle", "(", ")", "==", "PICStyles", "::", "None", ")", "setRelocationModel", "(", "Reloc", "::", "Static", ")", ";", "}", ""], "natrual_language": ["Create", "an", "X86", "target", "."], "TS_V_token": ["X86", "X86", "X86", "40", "8", "4", "\"Relocation mode not picked\""], "File": "X86TargetMachine118", "Func": "X86TargetMachine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4334, "Length": 420, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sparc_struct_value_rtx", "(", "tree", "fndecl", ",", "int", "incoming", ")", "{", "if", "(", "TARGET_ARCH64", ")", "return", "0", ";", "else", "{", "rtx", "mem", ";", "if", "(", "incoming", ")", "mem", "=", "gen_frame_mem", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "frame_pointer_rtx", ",", "STRUCT_VALUE_OFFSET", ")", ")", ";", "else", "mem", "=", "gen_frame_mem", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "STRUCT_VALUE_OFFSET", ")", ")", ";", "if", "(", "incoming", "==", "2", "&&", "sparc_std_struct_return", "&&", "TYPE_SIZE_UNIT", "(", "TREE_TYPE", "(", "fndecl", ")", ")", "&&", "TREE_CODE", "(", "TYPE_SIZE_UNIT", "(", "TREE_TYPE", "(", "fndecl", ")", ")", ")", "==", "INTEGER_CST", ")", "{", "rtx", "ret_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "RETURN_ADDR_REGNUM", ")", ";", "rtx", "scratch", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx_code_label", "*", "endlab", "=", "gen_label_rtx", "(", ")", ";", "tree", "size", "=", "TYPE_SIZE_UNIT", "(", "TREE_TYPE", "(", "fndecl", ")", ")", ";", "rtx", "size_rtx", "=", "GEN_INT", "(", "TREE_INT_CST_LOW", "(", "size", ")", "&", "0xfff", ")", ";", "rtx", "temp_val", "=", "assign_stack_local", "(", "Pmode", ",", "TREE_INT_CST_LOW", "(", "size", ")", ",", "0", ")", ";", "emit_move_insn", "(", "scratch", ",", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "ret_reg", ",", "8", ")", ")", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "ret_reg", ",", "ret_reg", ",", "GEN_INT", "(", "4", ")", ")", ")", ";", "emit_cmp_and_jump_insns", "(", "scratch", ",", "size_rtx", ",", "EQ", ",", "const0_rtx", ",", "SImode", ",", "0", ",", "endlab", ")", ";", "emit_insn", "(", "gen_sub3_insn", "(", "ret_reg", ",", "ret_reg", ",", "GEN_INT", "(", "4", ")", ")", ")", ";", "emit_move_insn", "(", "mem", ",", "XEXP", "(", "temp_val", ",", "0", ")", ")", ";", "emit_label", "(", "endlab", ")", ";", "}", "return", "mem", ";", "}", "}", ""], "natrual_language": ["Handle", "the", "TARGET_STRUCT_VALUE", "target", "hook", ".", "Return", "where", "to", "find", "the", "structure", "return", "value", "address", "."], "TS_V_token": ["sparc", "0", "2", "0xfff", "0", "8", "4", "0", "4", "0"], "File": "sparc5", "Func": "sparc_struct_value_rtx", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4335, "Length": 244, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_function_specific_save", "(", "struct", "cl_target_option", "*", "ptr", ",", "struct", "gcc_options", "*", "opts", ")", "{", "ptr", "->", "x_rs6000_isa_flags", "=", "opts", "->", "x_rs6000_isa_flags", ";", "ptr", "->", "x_rs6000_isa_flags_explicit", "=", "opts", "->", "x_rs6000_isa_flags_explicit", ";", "}", ""], "natrual_language": ["Save", "the", "current", "options"], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_function_specific_save", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4336, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_emit_compare", "(", "enum", "rtx_code", "*", "code", ",", "rtx", "*", "op0", ",", "rtx", "*", "op1", ",", "bool", "need_eq_ne_p", ")", "{", "rtx", "cmp_op0", "=", "*", "op0", ";", "rtx", "cmp_op1", "=", "*", "op1", ";", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "*", "op0", ")", ")", "==", "MODE_INT", ")", "{", "if", "(", "!", "need_eq_ne_p", "&&", "*", "op1", "==", "const0_rtx", ")", ";", "else", "if", "(", "*", "code", "==", "EQ", "||", "*", "code", "==", "NE", ")", "{", "if", "(", "need_eq_ne_p", ")", "{", "*", "op0", "=", "mips_zero_if_equal", "(", "cmp_op0", ",", "cmp_op1", ")", ";", "*", "op1", "=", "const0_rtx", ";", "}", "else", "*", "op1", "=", "force_reg", "(", "GET_MODE", "(", "cmp_op0", ")", ",", "cmp_op1", ")", ";", "}", "else", "{", "bool", "invert", "=", "false", ";", "*", "op0", "=", "gen_reg_rtx", "(", "GET_MODE", "(", "cmp_op0", ")", ")", ";", "mips_emit_int_order_test", "(", "*", "code", ",", "&", "invert", ",", "*", "op0", ",", "cmp_op0", ",", "cmp_op1", ")", ";", "*", "code", "=", "(", "invert", "?", "EQ", ":", "NE", ")", ";", "*", "op1", "=", "const0_rtx", ";", "}", "}", "else", "if", "(", "ALL_FIXED_POINT_MODE_P", "(", "GET_MODE", "(", "cmp_op0", ")", ")", ")", "{", "*", "op0", "=", "gen_rtx_REG", "(", "CCDSPmode", ",", "CCDSP_CC_REGNUM", ")", ";", "mips_emit_binary", "(", "*", "code", ",", "*", "op0", ",", "cmp_op0", ",", "cmp_op1", ")", ";", "*", "code", "=", "NE", ";", "*", "op1", "=", "const0_rtx", ";", "}", "else", "{", "enum", "rtx_code", "cmp_code", ";", "cmp_code", "=", "*", "code", ";", "if", "(", "ISA_HAS_CCF", ")", "{", "*", "code", "=", "NE", ";", "*", "op0", "=", "gen_reg_rtx", "(", "CCFmode", ")", ";", "}", "else", "{", "*", "code", "=", "mips_reversed_fp_cond", "(", "&", "cmp_code", ")", "?", "EQ", ":", "NE", ";", "if", "(", "ISA_HAS_8CC", ")", "*", "op0", "=", "mips_allocate_fcc", "(", "CCmode", ")", ";", "else", "*", "op0", "=", "gen_rtx_REG", "(", "CCmode", ",", "FPSW_REGNUM", ")", ";", "}", "*", "op1", "=", "const0_rtx", ";", "mips_emit_binary", "(", "cmp_code", ",", "*", "op0", ",", "cmp_op0", ",", "cmp_op1", ")", ";", "}", "}", ""], "natrual_language": ["Convert", "a", "comparison", "into", "something", "that", "can", "be", "used", "in", "a", "branch", "or", "conditional", "move", ".", "On", "entry", ",", "*", "OP0", "and", "*", "OP1", "are", "the", "values", "being", "compared", "and", "*", "CODE", "is", "the", "code", "used", "to", "compare", "them", ".", "Update", "*", "CODE", ",", "*", "OP0", "and", "*", "OP1", "so", "that", "they", "describe", "the", "final", "comparison", ".", "If", "NEED_EQ_NE_P", ",", "then", "only", "EQ", "or", "NE", "comparisons", "against", "zero", "are", "possible", ",", "otherwise", "any", "standard", "branch", "condition", "can", "be", "used", ".", "The", "standard", "branch", "conditions", "are", ":", "-", "EQ", "or", "NE", "between", "two", "registers", ".", "-", "any", "comparison", "between", "a", "register", "and", "zero", "."], "TS_V_token": ["mips"], "File": "mips4", "Func": "mips_emit_compare", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4337, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addRequired", "<", "ReachingDefAnalysis", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["ARM"], "File": "MVEVPTBlockPass12", "Func": "getAnalysisUsage", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4338, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMSubtarget", "::", "ARMSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "const", "ARMBaseTargetMachine", "&", "TM", ",", "bool", "IsLittle", ")", ":", "ARMGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "ARMProcFamily", "(", "Others", ")", ",", "ARMProcClass", "(", "None", ")", ",", "stackAlignment", "(", "4", ")", ",", "CPUString", "(", "CPU", ")", ",", "IsLittle", "(", "IsLittle", ")", ",", "TargetTriple", "(", "TT", ")", ",", "Options", "(", "TM", ".", "Options", ")", ",", "TM", "(", "TM", ")", ",", "DL", "(", "computeDataLayout", "(", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ")", ")", ")", ",", "TSInfo", "(", "DL", ")", ",", "InstrInfo", "(", "isThumb1Only", "(", ")", "?", "(", "ARMBaseInstrInfo", "*", ")", "new", "Thumb1InstrInfo", "(", "*", "this", ")", ":", "!", "isThumb", "(", ")", "?", "(", "ARMBaseInstrInfo", "*", ")", "new", "ARMInstrInfo", "(", "*", "this", ")", ":", "(", "ARMBaseInstrInfo", "*", ")", "new", "Thumb2InstrInfo", "(", "*", "this", ")", ")", ",", "TLInfo", "(", "TM", ")", ",", "FrameLowering", "(", "!", "isThumb1Only", "(", ")", "?", "new", "ARMFrameLowering", "(", "*", "this", ")", ":", "(", "ARMFrameLowering", "*", ")", "new", "Thumb1FrameLowering", "(", "*", "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", "4", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM"], "File": "ARMSubtarget40", "Func": "ARMSubtarget", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4339, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "crx_const_double_ok", "(", "rtx", "op", ")", "{", "if", "(", "GET_MODE", "(", "op", ")", "==", "DFmode", ")", "{", "REAL_VALUE_TYPE", "r", ";", "long", "l", "[", "2", "]", ";", "REAL_VALUE_FROM_CONST_DOUBLE", "(", "r", ",", "op", ")", ";", "REAL_VALUE_TO_TARGET_DOUBLE", "(", "r", ",", "l", ")", ";", "return", "(", "UNSIGNED_INT_FITS_N_BITS", "(", "l", "[", "0", "]", ",", "4", ")", "&&", "UNSIGNED_INT_FITS_N_BITS", "(", "l", "[", "1", "]", ",", "4", ")", ")", "?", "1", ":", "0", ";", "}", "if", "(", "GET_MODE", "(", "op", ")", "==", "SFmode", ")", "{", "REAL_VALUE_TYPE", "r", ";", "long", "l", ";", "REAL_VALUE_FROM_CONST_DOUBLE", "(", "r", ",", "op", ")", ";", "REAL_VALUE_TO_TARGET_SINGLE", "(", "r", ",", "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", "crx", "store-immediate", "instructions"], "TS_V_token": ["crx", "2", "0", "4", "1", "4", "1", "0", "4", "1", "0", "4", "4", "1", "0"], "File": "crx", "Func": "crx_const_double_ok", "Target": "crx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4340, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsMCCodeEmitter", "::", "getBranchTarget7OpValueMM", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ">>", "1", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"getBranchTargetOpValueMM expects only expressions or immediates\"", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "Expr", ",", "MCFixupKind", "(", "Mips", "::", "fixup_MICROMIPS_PC7_S1", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTarget7OpValueMM", "-", "Return", "binary", "encoding", "of", "the", "microMIPS", "branch", "target", "operand", "."], "TS_V_token": ["Mips", "Mips", "1", "\"getBranchTargetOpValueMM expects only expressions or immediates\"", "0", "Mips::fixup_MICROMIPS_PC7_S1", "0"], "File": "MipsMCCodeEmitter (2)", "Func": "getBranchTarget7OpValueMM", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4341, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_restore_regs_using_pop", "(", "void", ")", "{", "unsigned", "int", "regno", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "GENERAL_REGNO_P", "(", "regno", ")", "&&", "ix86_save_reg", "(", "regno", ",", "false", ",", "true", ")", ")", "ix86_emit_restore_reg_using_pop", "(", "gen_rtx_REG", "(", "word_mode", ",", "regno", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "restore", "saved", "registers", "using", "POP", "insns", "."], "TS_V_token": ["i386", "0"], "File": "i386", "Func": "ix86_emit_restore_regs_using_pop", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4342, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64TTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ")", "{", "BaseT", "::", "getUnrollingPreferences", "(", "L", ",", "UP", ")", ";", "if", "(", "L", "->", "getLoopDepth", "(", ")", ">", "1", ")", "UP", ".", "PartialThreshold", "*=", "2", ";", "UP", ".", "PartialOptSizeThreshold", "=", "0", ";", "}", ""], "natrual_language": ["Get", "target-customized", "preferences", "for", "the", "generic", "loop", "unrolling", "transformation", "."], "TS_V_token": ["AArch64", "AArch64", "1", "2", "0"], "File": "AArch64TargetTransformInfo (2)", "Func": "getUnrollingPreferences", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4343, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mips_class_max_nregs", "(", "enum", "reg_class", "class", "ATTRIBUTE_UNUSED", ",", "enum", "machine_mode", "mode", ")", "{", "if", "(", "class", "==", "ST_REGS", ")", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "3", ")", "/", "4", ";", "else", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Implement", "CLASS_MAX_NREGS", ".", "Usually", "all", "registers", "are", "word-sized", ".", "The", "only", "supported", "exception", "is", "-mgp64", "-msingle-float", ",", "which", "has", "64-bit", "words", "but", "32-bit", "float", "registers", ".", "A", "word-based", "calculation", "is", "correct", "even", "in", "that", "case", ",", "since", "-msingle-float", "disallows", "multi-FPR", "values", ".", "The", "FP", "status", "registers", "are", "an", "exception", "to", "this", "rule", ".", "They", "are", "always", "4", "bytes", "wide", "as", "they", "only", "hold", "condition", "code", "modes", ",", "and", "CCmode", "is", "always", "considered", "to", "be", "4", "bytes", "wide", "."], "TS_V_token": ["mips", "3", "4", "1"], "File": "mips3", "Func": "mips_class_max_nregs", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4344, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "unsigned", "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_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", "(", ")", ",", "Outs", "[", "i", "]", ".", "Val", ",", "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": "MipsISelLowering93", "Func": "LowerReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4345, "Length": 397, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "getGlobalBaseReg", "(", "MachineFunction", "*", "MF", ")", "const", "{", "assert", "(", "(", "!", "Subtarget", ".", "is64Bit", "(", ")", "||", "MF", "->", "getTarget", "(", ")", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Medium", "||", "MF", "->", "getTarget", "(", ")", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", ")", "&&", "\"X86-64 PIC uses RIP relative addressing\"", ")", ";", "X86MachineFunctionInfo", "*", "X86FI", "=", "MF", "->", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "Register", "GlobalBaseReg", "=", "X86FI", "->", "getGlobalBaseReg", "(", ")", ";", "if", "(", "GlobalBaseReg", "!=", "0", ")", "return", "GlobalBaseReg", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", "->", "getRegInfo", "(", ")", ";", "GlobalBaseReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "Subtarget", ".", "is64Bit", "(", ")", "?", "&", "X86", "::", "GR64_NOSPRegClass", ":", "&", "X86", "::", "GR32_NOSPRegClass", ")", ";", "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-64 PIC uses RIP relative addressing\"", "X86", "X86", "X86", "X86", "0", "X86::GR64_NOSPRegClass", "X86::GR32_NOSPRegClass", "X86"], "File": "X86InstrInfo (2)3", "Func": "getGlobalBaseReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4346, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "calling_abi", "ix86_function_type_abi", "(", "const_tree", "fntype", ")", "{", "enum", "calling_abi", "abi", "=", "ix86_abi", ";", "if", "(", "fntype", "==", "NULL_TREE", "||", "TYPE_ATTRIBUTES", "(", "fntype", ")", "==", "NULL_TREE", ")", "return", "abi", ";", "if", "(", "abi", "==", "SYSV_ABI", "&&", "lookup_attribute", "(", "\"ms_abi\"", ",", "TYPE_ATTRIBUTES", "(", "fntype", ")", ")", ")", "{", "static", "int", "warned", ";", "if", "(", "TARGET_X32", "&&", "!", "warned", ")", "{", "error", "(", "\"X32 does not support ms_abi attribute\"", ")", ";", "warned", "=", "1", ";", "}", "abi", "=", "MS_ABI", ";", "}", "else", "if", "(", "abi", "==", "MS_ABI", "&&", "lookup_attribute", "(", "\"sysv_abi\"", ",", "TYPE_ATTRIBUTES", "(", "fntype", ")", ")", ")", "abi", "=", "SYSV_ABI", ";", "return", "abi", ";", "}", ""], "natrual_language": ["Returns", "value", "SYSV_ABI", ",", "MS_ABI", "dependent", "on", "fntype", ",", "specifying", "the", "call", "abi", "used", "."], "TS_V_token": ["i386", "\"ms_abi\"", "\"X32 does not support ms_abi attribute\"", "1", "\"sysv_abi\""], "File": "i3867", "Func": "ix86_function_type_abi", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4347, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "dump", "(", "SelectionDAG", "*", "DAG", "=", "nullptr", ")", "{", "dbgs", "(", ")", "<<", "\"X86ISelAddressMode \"", "<<", "this", "<<", "'\\n'", ";", "dbgs", "(", ")", "<<", "\"Base_Reg \"", ";", "if", "(", "Base_Reg", ".", "getNode", "(", ")", ")", "Base_Reg", ".", "getNode", "(", ")", "->", "dump", "(", "DAG", ")", ";", "else", "dbgs", "(", ")", "<<", "\"nul\\n\"", ";", "if", "(", "BaseType", "==", "FrameIndexBase", ")", "dbgs", "(", ")", "<<", "\" Base.FrameIndex \"", "<<", "Base_FrameIndex", "<<", "'\\n'", ";", "dbgs", "(", ")", "<<", "\" Scale \"", "<<", "Scale", "<<", "'\\n'", "<<", "\"IndexReg \"", ";", "if", "(", "IndexReg", ".", "getNode", "(", ")", ")", "IndexReg", ".", "getNode", "(", ")", "->", "dump", "(", "DAG", ")", ";", "else", "dbgs", "(", ")", "<<", "\"nul\\n\"", ";", "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", "(", ")", "<<", "\" MCSym \"", ";", "if", "(", "MCSym", ")", "dbgs", "(", ")", "<<", "MCSym", ";", "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\\n\"", "\" Base.FrameIndex \"", "\" Scale \"", "\"IndexReg \"", "\"nul\\n\"", "\" Disp \"", "\"GV \"", "\"nul\"", "\" CP \"", "\"nul\"", "\"ES \"", "\"nul\"", "\" MCSym \"", "\"nul\"", "\" JT\"", "\" Align\""], "File": "X86ISelDAGToDAG (2)1", "Func": "dump", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4348, "Length": 221, "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": 4349, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAsmPrinter", "::", "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", ")", ";", "return", "false", ";", "case", "'L'", ":", "if", "(", "!", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isReg", "(", ")", "||", "OpNo", "+", "1", "==", "MI", "->", "getNumOperands", "(", ")", "||", "!", "MI", "->", "getOperand", "(", "OpNo", "+", "1", ")", ".", "isReg", "(", ")", ")", "return", "true", ";", "++", "OpNo", ";", "break", ";", "case", "'I'", ":", "if", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isImm", "(", ")", ")", "O", "<<", "\"i\"", ";", "return", "false", ";", "}", "}", "printOperand", "(", "MI", ",", "OpNo", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["PowerPC", "PPC", "0", "1", "0", "0", "1", "1", "\"i\""], "File": "PPCAsmPrinter107", "Func": "PrintAsmOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4350, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_evpc_trn", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "int", "i", ",", "odd", ",", "mask", ",", "nelt", "=", "d", "->", "nelt", ";", "rtx", "out", ",", "in0", ",", "in1", ",", "x", ";", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "machine_mode", "vmode", "=", "d", "->", "vmode", ";", "if", "(", "GET_MODE_UNIT_SIZE", "(", "vmode", ")", ">", "8", ")", "return", "false", ";", "if", "(", "d", "->", "perm", "[", "0", "]", "==", "0", ")", "odd", "=", "0", ";", "else", "if", "(", "d", "->", "perm", "[", "0", "]", "==", "1", ")", "odd", "=", "1", ";", "else", "return", "false", ";", "mask", "=", "(", "d", "->", "one_vector_p", "?", "nelt", "-", "1", ":", "2", "*", "nelt", "-", "1", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "i", "+=", "2", ")", "{", "if", "(", "d", "->", "perm", "[", "i", "]", "!=", "i", "+", "odd", ")", "return", "false", ";", "if", "(", "d", "->", "perm", "[", "i", "+", "1", "]", "!=", "(", "(", "i", "+", "nelt", "+", "odd", ")", "&", "mask", ")", ")", "return", "false", ";", "}", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "in0", "=", "d", "->", "op0", ";", "in1", "=", "d", "->", "op1", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "{", "x", "=", "in0", ",", "in0", "=", "in1", ",", "in1", "=", "x", ";", "odd", "=", "!", "odd", ";", "}", "out", "=", "d", "->", "target", ";", "if", "(", "odd", ")", "{", "switch", "(", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_aarch64_trn2v16qi", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_aarch64_trn2v8qi", ";", "break", ";", "case", "V8HImode", ":", "gen", "=", "gen_aarch64_trn2v8hi", ";", "break", ";", "case", "V4HImode", ":", "gen", "=", "gen_aarch64_trn2v4hi", ";", "break", ";", "case", "V4SImode", ":", "gen", "=", "gen_aarch64_trn2v4si", ";", "break", ";", "case", "V2SImode", ":", "gen", "=", "gen_aarch64_trn2v2si", ";", "break", ";", "case", "V2DImode", ":", "gen", "=", "gen_aarch64_trn2v2di", ";", "break", ";", "case", "V4SFmode", ":", "gen", "=", "gen_aarch64_trn2v4sf", ";", "break", ";", "case", "V2SFmode", ":", "gen", "=", "gen_aarch64_trn2v2sf", ";", "break", ";", "case", "V2DFmode", ":", "gen", "=", "gen_aarch64_trn2v2df", ";", "break", ";", "default", ":", "return", "false", ";", "}", "}", "else", "{", "switch", "(", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_aarch64_trn1v16qi", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_aarch64_trn1v8qi", ";", "break", ";", "case", "V8HImode", ":", "gen", "=", "gen_aarch64_trn1v8hi", ";", "break", ";", "case", "V4HImode", ":", "gen", "=", "gen_aarch64_trn1v4hi", ";", "break", ";", "case", "V4SImode", ":", "gen", "=", "gen_aarch64_trn1v4si", ";", "break", ";", "case", "V2SImode", ":", "gen", "=", "gen_aarch64_trn1v2si", ";", "break", ";", "case", "V2DImode", ":", "gen", "=", "gen_aarch64_trn1v2di", ";", "break", ";", "case", "V4SFmode", ":", "gen", "=", "gen_aarch64_trn1v4sf", ";", "break", ";", "case", "V2SFmode", ":", "gen", "=", "gen_aarch64_trn1v2sf", ";", "break", ";", "case", "V2DFmode", ":", "gen", "=", "gen_aarch64_trn1v2df", ";", "break", ";", "default", ":", "return", "false", ";", "}", "}", "emit_insn", "(", "gen", "(", "out", ",", "in0", ",", "in1", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "suitable", "for", "the", "TRN", "instructions", "."], "TS_V_token": ["aarch64", "8", "0", "0", "0", "0", "1", "1", "1", "2", "1", "0", "2", "1"], "File": "aarch642", "Func": "aarch64_evpc_trn", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4351, "Length": 453, "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", "(", "PPC", "::", "R0", ",", "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::R0"], "File": "PPCISelLowering107", "Func": "SelectAddressRegRegOnly", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4352, "Length": 98, "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", "(", ")", ";", "}", "if", "(", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", "&&", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", ")", "{", "if", "(", "MCSymbol", "*", "AddrSymbol", "=", "OutContext", ".", "lookupSymbol", "(", "\"__morestack_addr\"", ")", ")", "{", "Align", "Alignment", "(", "1", ")", ";", "MCSection", "*", "ReadOnlySection", "=", "getObjFileLowering", "(", ")", ".", "getSectionForConstant", "(", "getDataLayout", "(", ")", ",", "SectionKind", "::", "getReadOnly", "(", ")", ",", "nullptr", ",", "Alignment", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "ReadOnlySection", ")", ";", "OutStreamer", "->", "emitLabel", "(", "AddrSymbol", ")", ";", "unsigned", "PtrSize", "=", "MAI", "->", "getCodePointerSize", "(", ")", ";", "OutStreamer", "->", "emitSymbolValue", "(", "GetExternalSymbolSymbol", "(", "\"__morestack\"", ")", ",", "PtrSize", ")", ";", "}", "}", "}", ""], "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\"", "\"__morestack_addr\"", "1", "\"__morestack\""], "File": "X86AsmPrinter50", "Func": "emitEndOfAsmFile", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4353, "Length": 256, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMTargetLowering", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameInfo", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", ";", "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", "-", "(", "Subtarget", "->", "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": "ARMISelLowering71", "Func": "getRegPressureLimit", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4354, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCScoreboardHazardRecognizer", "::", "AdvanceCycle", "(", ")", "{", "ScoreboardHazardRecognizer", "::", "AdvanceCycle", "(", ")", ";", "}", ""], "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"], "File": "PPCHazardRecognizers26", "Func": "AdvanceCycle", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4355, "Length": 14, "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": 4356, "Length": 138, "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": 4357, "Length": 430, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "AArch64TTIImpl", "::", "getIntImmCostInst", "(", "unsigned", "Opcode", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ",", "Instruction", "*", "Inst", ")", "{", "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", "::", "Add", ":", "case", "Instruction", "::", "Sub", ":", "case", "Instruction", "::", "Mul", ":", "case", "Instruction", "::", "UDiv", ":", "case", "Instruction", "::", "SDiv", ":", "case", "Instruction", "::", "URem", ":", "case", "Instruction", "::", "SRem", ":", "case", "Instruction", "::", "And", ":", "case", "Instruction", "::", "Or", ":", "case", "Instruction", "::", "Xor", ":", "case", "Instruction", "::", "ICmp", ":", "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", "=", "AArch64TTIImpl", "::", "getIntImmCost", "(", "Imm", ",", "Ty", ",", "CostKind", ")", ";", "return", "(", "Cost", "<=", "NumConstants", "*", "TTI", "::", "TCC_Basic", ")", "?", "static_cast", "<", "int", ">", "(", "TTI", "::", "TCC_Free", ")", ":", "Cost", ";", "}", "return", "AArch64TTIImpl", "::", "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": ["AArch64", "AArch64", "0", "0U", "0", "2", "0", "1", "1", "63", "64", "AArch64", "AArch64"], "File": "AArch64TargetTransformInfo31", "Func": "getIntImmCostInst", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4358, "Length": 327, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_output_addr_const_extra", "(", "FILE", "*", "file", ",", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", "&&", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_SALT_ADDR", ")", "{", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA", "."], "TS_V_token": ["aarch64", "1", "0", "0"], "File": "aarch641", "Func": "aarch64_output_addr_const_extra", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4359, "Length": 53, "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", ")", "{", "tree", "decl_name", "=", "clone_function_name", "(", "default_decl", ",", "\"resolver\"", ")", ";", "const", "char", "*", "resolver_name", "=", "IDENTIFIER_POINTER", "(", "decl_name", ")", ";", "tree", "type", "=", "build_function_type_list", "(", "ptr_type_node", ",", "NULL_TREE", ")", ";", "tree", "decl", "=", "build_fn_decl", "(", "resolver_name", ",", "type", ")", ";", "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", ")", "=", "0", ";", "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", ";", "tree", "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", ",", "profile_count", "::", "uninitialized", "(", ")", ")", ";", "cgraph_node", "::", "add_new_function", "(", "decl", ",", "true", ")", ";", "symtab", "->", "call_cgraph_insertion_hooks", "(", "cgraph_node", "::", "get_create", "(", "decl", ")", ")", ";", "pop_cfun", "(", ")", ";", "DECL_ATTRIBUTES", "(", "dispatch_decl", ")", "=", "make_attribute", "(", "\"ifunc\"", ",", "resolver_name", ",", "DECL_ATTRIBUTES", "(", "dispatch_decl", ")", ")", ";", "cgraph_node", "::", "create_same_body_alias", "(", "dispatch_decl", ",", "decl", ")", ";", "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": ["rs6000", "\"resolver\"", "1", "1", "0", "0", "1", "0", "0", "0", "1", "1", "\"ifunc\""], "File": "rs60007", "Func": "make_resolver_func", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4360, "Length": 263, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "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)1", "Func": "getPassName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4361, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "nds32_expand_builtin_store", "(", "enum", "insn_code", "icode", ",", "tree", "exp", ",", "rtx", "target", ")", "{", "rtx", "pat", ";", "rtx", "op0", "=", "nds32_read_argument", "(", "exp", ",", "0", ")", ";", "rtx", "op1", "=", "nds32_read_argument", "(", "exp", ",", "1", ")", ";", "rtx", "addr_helper", "=", "gen_reg_rtx", "(", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "mode", ")", ";", "op0", "=", "nds32_legitimize_argument", "(", "icode", ",", "0", ",", "op0", ")", ";", "op1", "=", "nds32_legitimize_argument", "(", "icode", ",", "2", ",", "op1", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op0", ",", "addr_helper", ",", "op1", ")", ";", "if", "(", "!", "pat", ")", "return", "NULL_RTX", ";", "emit_move_insn", "(", "addr_helper", ",", "GEN_INT", "(", "0", ")", ")", ";", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Expand", "builtins", "for", "store", "."], "TS_V_token": ["nds32", "0", "1", "1", "0", "2", "0"], "File": "nds32-intrinsic", "Func": "nds32_expand_builtin_store", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4362, "Length": 119, "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", "(", ")", "->", "getVectorNumElements", "(", ")", "%", "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": "X86InterleavedAccess", "Func": "lowerInterleavedStore", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4363, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_sls_emit_function_stub", "(", "FILE", "*", "out_file", ",", "int", "regnum", ")", "{", "asm_fprintf", "(", "out_file", ",", "\"\\tmov\\tx16, x%d\\n\"", ",", "regnum", ")", ";", "asm_fprintf", "(", "out_file", ",", "\"\\tbr\\tx16\\n\"", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "aarch64_sls_emit_blr_function_thunks", "and", "aarch64_sls_emit_shared_blr_thunks", "below", "."], "TS_V_token": ["aarch64", "\"\\tmov\\tx16, x%d\\n\"", "\"\\tbr\\tx16\\n\""], "File": "aarch641", "Func": "aarch64_sls_emit_function_stub", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4364, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBranchTargets", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "!", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", "->", "branchTargetEnforcement", "(", ")", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** ARM Branch Targets **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "const", "ARMInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "ARMInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "SmallPtrSet", "<", "const", "MachineBasicBlock", "*", ",", "8", ">", "JumpTableTargets", ";", "if", "(", "const", "MachineJumpTableInfo", "*", "JTI", "=", "MF", ".", "getJumpTableInfo", "(", ")", ")", "for", "(", "const", "MachineJumpTableEntry", "&", "JTE", ":", "JTI", "->", "getJumpTables", "(", ")", ")", "for", "(", "const", "MachineBasicBlock", "*", "MBB", ":", "JTE", ".", "MBBs", ")", "JumpTableTargets", ".", "insert", "(", "MBB", ")", ";", "bool", "MadeChange", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "bool", "NeedBTI", "=", "false", ";", "bool", "IsFirstBB", "=", "&", "MBB", "==", "&", "MF", ".", "front", "(", ")", ";", "if", "(", "IsFirstBB", ")", "NeedBTI", "=", "true", ";", "if", "(", "MBB", ".", "hasAddressTaken", "(", ")", "||", "MBB", ".", "isEHPad", "(", ")", "||", "JumpTableTargets", ".", "count", "(", "&", "MBB", ")", ")", "NeedBTI", "=", "true", ";", "if", "(", "NeedBTI", ")", "{", "addBTI", "(", "TII", ",", "MBB", ",", "IsFirstBB", ")", ";", "MadeChange", "=", "true", ";", "}", "}", "return", "MadeChange", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "\"********** ARM Branch Targets **********\\n\"", "\"********** Function: \"", "ARM", "ARM", "8"], "File": "ARMBranchTargets", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4365, "Length": 216, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "X86Subtarget", "::", "classifyGlobalFunctionReference", "(", "const", "GlobalValue", "*", "GV", ",", "const", "Module", "&", "M", ")", "const", "{", "if", "(", "TM", ".", "shouldAssumeDSOLocal", "(", "M", ",", "GV", ")", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "if", "(", "isTargetCOFF", "(", ")", ")", "{", "assert", "(", "GV", "->", "hasDLLImportStorageClass", "(", ")", "&&", "\"shouldAssumeDSOLocal gave inconsistent answer\"", ")", ";", "return", "X86II", "::", "MO_DLLIMPORT", ";", "}", "const", "Function", "*", "F", "=", "dyn_cast_or_null", "<", "Function", ">", "(", "GV", ")", ";", "if", "(", "isTargetELF", "(", ")", ")", "{", "if", "(", "is64Bit", "(", ")", "&&", "F", "&&", "(", "CallingConv", "::", "X86_RegCall", "==", "F", "->", "getCallingConv", "(", ")", ")", ")", "return", "X86II", "::", "MO_GOTPCREL", ";", "return", "X86II", "::", "MO_PLT", ";", "}", "if", "(", "is64Bit", "(", ")", ")", "{", "if", "(", "F", "&&", "F", "->", "hasFnAttribute", "(", "Attribute", "::", "NonLazyBind", ")", ")", "return", "X86II", "::", "MO_GOTPCREL", ";", "return", "X86II", "::", "MO_NO_FLAG", ";", "}", "return", "X86II", "::", "MO_NO_FLAG", ";", "}", ""], "natrual_language": ["Classify", "a", "global", "function", "reference", "for", "the", "current", "subtarget", "."], "TS_V_token": ["X86", "X86", "X86II::MO_NO_FLAG", "\"shouldAssumeDSOLocal gave inconsistent answer\"", "X86II::MO_DLLIMPORT", "X86", "X86II::MO_GOTPCREL", "X86II::MO_PLT", "X86II::MO_GOTPCREL", "X86II::MO_NO_FLAG", "X86II::MO_NO_FLAG"], "File": "X86Subtarget25", "Func": "classifyGlobalFunctionReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4366, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FPGATTIImpl", "::", "isTypeLegal", "(", "Type", "*", "Ty", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "type", "is", "legal", "."], "TS_V_token": ["FPGA", "FPGA"], "File": "FPGATargetTransformInfo", "Func": "isTypeLegal", "Target": "FPGA", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4367, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ")", "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", ")", "support", "::", "endian", "::", "write", "(", "OS", ",", "nopEncoding", ",", "Endian", ")", ";", "if", "(", "Count", "&", "1", ")", "OS", "<<", "'\\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", ")", "support", "::", "endian", "::", "write", "(", "OS", ",", "nopEncoding", ",", "Endian", ")", ";", "switch", "(", "Count", "%", "4", ")", "{", "default", ":", "break", ";", "case", "1", ":", "OS", "<<", "'\\0'", ";", "break", ";", "case", "2", ":", "OS", ".", "write", "(", "\"\\0\\0\"", ",", "2", ")", ";", "break", ";", "case", "3", ":", "OS", ".", "write", "(", "\"\\0\\0\\xa0\"", ",", "3", ")", ";", "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", "support::endian", "1", "ARM", "ARM", "4", "0", "support::endian", "4", "1", "2", "\"\\0\\0\"", "2", "3", "\"\\0\\0\\xa0\"", "3"], "File": "ARMAsmBackend (2)2", "Func": "writeNopData", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4368, "Length": 204, "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": ["TOY"], "File": "TOYTargetMachine", "Func": "getDataLayout", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4369, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "classof", "(", "const", "SDNode", "*", "N", ")", "{", "return", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "MSCATTER", ";", "}", ""], "natrual_language": ["Methods", "for", "support", "type", "inquiry", "through", "isa", ",", "cast", ",", "and", "dyn_cast", ":"], "TS_V_token": ["X86", "X86ISD::MSCATTER"], "File": "X86ISelLowering", "Func": "classof", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4370, "Length": 22, "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", ":", "OperandsMapping", "=", "&", "Mips", "::", "ValueMappings", "[", "Mips", "::", "GPRIdx", "]", ";", "break", ";", "case", "G_CONSTANT", ":", "case", "G_FRAME_INDEX", ":", "OperandsMapping", "=", "getOperandsMapping", "(", "{", "&", "Mips", "::", "ValueMappings", "[", "Mips", "::", "GPRIdx", "]", ",", "nullptr", "}", ")", ";", "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", "1"], "File": "MipsRegisterBankInfo26", "Func": "getInstrMapping", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4371, "Length": 155, "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", ")", ",", "TargetABI", "(", "computeTargetABI", "(", "Triple", "(", "TT", ")", ",", "CPU", ",", "Options", ")", ")", ",", "TLOF", "(", "createTLOF", "(", "Triple", "(", "getTargetTriple", "(", ")", ")", ")", ")", ",", "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": "ARMTargetMachine73", "Func": "ARMBaseTargetMachine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4372, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "Mips", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_Mips_16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_Mips_REL32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_Mips_26\"", ",", "0", ",", "26", ",", "0", "}", ",", "{", "\"fixup_Mips_HI16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_LO16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_GPREL16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_LITERAL\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_GOT_Global\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_GOT_Local\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_PC16\"", ",", "0", ",", "16", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_Mips_CALL16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_GPREL32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_Mips_SHIFT5\"", ",", "6", ",", "5", ",", "0", "}", ",", "{", "\"fixup_Mips_SHIFT6\"", ",", "6", ",", "5", ",", "0", "}", ",", "{", "\"fixup_Mips_64\"", ",", "0", ",", "64", ",", "0", "}", ",", "{", "\"fixup_Mips_TLSGD\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_GOTTPREL\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_TPREL_HI\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_TPREL_LO\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_TLSLDM\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_DTPREL_HI\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_DTPREL_LO\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_Branch_PCRel\"", ",", "0", ",", "16", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_Mips_GPOFF_HI\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_GPOFF_LO\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_GOT_PAGE\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_GOT_OFST\"", ",", "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": ["Mips", "Mips::NumTargetFixupKinds", "\"fixup_Mips_16\"", "0", "16", "0", "\"fixup_Mips_32\"", "0", "32", "0", "\"fixup_Mips_REL32\"", "0", "32", "0", "\"fixup_Mips_26\"", "0", "26", "0", "\"fixup_Mips_HI16\"", "0", "16", "0", "\"fixup_Mips_LO16\"", "0", "16", "0", "\"fixup_Mips_GPREL16\"", "0", "16", "0", "\"fixup_Mips_LITERAL\"", "0", "16", "0", "\"fixup_Mips_GOT_Global\"", "0", "16", "0", "\"fixup_Mips_GOT_Local\"", "0", "16", "0", "\"fixup_Mips_PC16\"", "0", "16", "\"fixup_Mips_CALL16\"", "0", "16", "0", "\"fixup_Mips_GPREL32\"", "0", "32", "0", "\"fixup_Mips_SHIFT5\"", "6", "5", "0", "\"fixup_Mips_SHIFT6\"", "6", "5", "0", "\"fixup_Mips_64\"", "0", "64", "0", "\"fixup_Mips_TLSGD\"", "0", "16", "0", "\"fixup_Mips_GOTTPREL\"", "0", "16", "0", "\"fixup_Mips_TPREL_HI\"", "0", "16", "0", "\"fixup_Mips_TPREL_LO\"", "0", "16", "0", "\"fixup_Mips_TLSLDM\"", "0", "16", "0", "\"fixup_Mips_DTPREL_HI\"", "0", "16", "0", "\"fixup_Mips_DTPREL_LO\"", "0", "16", "0", "\"fixup_Mips_Branch_PCRel\"", "0", "16", "\"fixup_Mips_GPOFF_HI\"", "0", "16", "0", "\"fixup_Mips_GPOFF_LO\"", "0", "16", "0", "\"fixup_Mips_GOT_PAGE\"", "0", "16", "0", "\"fixup_Mips_GOT_OFST\"", "0", "16", "0", "\"Invalid kind!\""], "File": "MipsAsmBackend21", "Func": "getFixupKindInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4373, "Length": 345, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_tls_referenced_p", "(", "rtx", "x", ")", "{", "if", "(", "!", "targetm", ".", "have_tls", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "PLUS", ")", "x", "=", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "contains", "a", "thread-local", "symbol", "."], "TS_V_token": ["nds32", "0", "0", "0"], "File": "nds32-md-auxiliary", "Func": "nds32_tls_referenced_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4374, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "O", ",", "unsigned", "RegNo", ")", "const", "{", "O", "<<", "'%'", "<<", "getRegisterName", "(", "RegNo", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZInstPrinter", "Func": "printRegName", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4375, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XNCMAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "{", "return", "true", ";", "}", "printSrcMemOperand", "(", "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": ["XNCM", "XNCM", "0"], "File": "XNCMAsmPrinter", "Func": "PrintAsmMemoryOperand", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4376, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_reassociation_width", "(", "unsigned", "int", "opc", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ")", "{", "switch", "(", "rs6000_cpu", ")", "{", "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", "opc", "==", "MULT_EXPR", "?", "4", ":", "6", ";", "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": ["powerpcspe", "1", "4", "4", "6", "4", "1"], "File": "powerpcspe", "Func": "rs6000_reassociation_width", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4377, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetObjectFile", "::", "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", ",", "SectionKind", "::", "getDataRel", "(", ")", ")", ";", "SmallBSSSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".sbss\"", ",", "ELF", "::", "SHT_NOBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getBSS", "(", ")", ")", ";", "this", "->", "TM", "=", "&", "TM", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["Mips", "Mips", "\".sdata\"", "\".sbss\""], "File": "MipsTargetObjectFile35", "Func": "Initialize", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4378, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86GenericDisassembler", "::", "getInstruction", "(", "MCInst", "&", "instr", ",", "uint64_t", "&", "size", ",", "const", "MemoryObject", "&", "region", ",", "uint64_t", "address", ",", "raw_ostream", "&", "vStream", ")", "const", "{", "InternalInstruction", "internalInstr", ";", "int", "ret", "=", "decodeInstruction", "(", "&", "internalInstr", ",", "regionReader", ",", "(", "void", "*", ")", "&", "region", ",", "logger", ",", "(", "void", "*", ")", "&", "vStream", ",", "address", ",", "fMode", ")", ";", "if", "(", "ret", ")", "{", "size", "=", "internalInstr", ".", "readerCursor", "-", "address", ";", "return", "false", ";", "}", "else", "{", "size", "=", "internalInstr", ".", "length", ";", "translateInstruction", "(", "instr", ",", "internalInstr", ")", ";", "return", "true", ";", "}", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["X86", "X86"], "File": "X86Disassembler54", "Func": "getInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4379, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "AArch64TTIImpl", "::", "getArithmeticReductionCost", "(", "unsigned", "Opcode", ",", "VectorType", "*", "ValTy", ",", "bool", "IsPairwiseForm", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "if", "(", "IsPairwiseForm", ")", "return", "BaseT", "::", "getArithmeticReductionCost", "(", "Opcode", ",", "ValTy", ",", "IsPairwiseForm", ",", "CostKind", ")", ";", "std", "::", "pair", "<", "int", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "ValTy", ")", ";", "MVT", "MTy", "=", "LT", ".", "second", ";", "int", "ISD", "=", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", ";", "assert", "(", "ISD", "&&", "\"Invalid opcode\"", ")", ";", "static", "const", "CostTblEntry", "CostTblNoPairwise", "[", "]", "{", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v8i8", ",", "1", "}", ",", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v16i8", ",", "1", "}", ",", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v4i16", ",", "1", "}", ",", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v8i16", ",", "1", "}", ",", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v4i32", ",", "1", "}", ",", "}", ";", "if", "(", "const", "auto", "*", "Entry", "=", "CostTableLookup", "(", "CostTblNoPairwise", ",", "ISD", ",", "MTy", ")", ")", "return", "LT", ".", "first", "*", "Entry", "->", "Cost", ";", "return", "BaseT", "::", "getArithmeticReductionCost", "(", "Opcode", ",", "ValTy", ",", "IsPairwiseForm", ",", "CostKind", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "vector", "reduction", "intrinsics", "."], "TS_V_token": ["AArch64", "AArch64", "\"Invalid opcode\"", "ISD::ADD", "MVT::v8i8", "1", "ISD::ADD", "MVT::v16i8", "1", "ISD::ADD", "MVT::v4i16", "1", "ISD::ADD", "MVT::v8i16", "1", "ISD::ADD", "MVT::v4i32", "1"], "File": "AArch64TargetTransformInfo2", "Func": "getArithmeticReductionCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4380, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "inlineStackProbe", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "PrologMBB", ")", "const", "{", "const", "StringRef", "ChkStkStubSymbol", "=", "\"__chkstk_stub\"", ";", "MachineInstr", "*", "ChkStkStub", "=", "nullptr", ";", "for", "(", "MachineInstr", "&", "MI", ":", "PrologMBB", ")", "{", "if", "(", "MI", ".", "isCall", "(", ")", "&&", "MI", ".", "getOperand", "(", "0", ")", ".", "isSymbol", "(", ")", "&&", "ChkStkStubSymbol", "==", "MI", ".", "getOperand", "(", "0", ")", ".", "getSymbolName", "(", ")", ")", "{", "ChkStkStub", "=", "&", "MI", ";", "break", ";", "}", "}", "if", "(", "ChkStkStub", "!=", "nullptr", ")", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "std", "::", "next", "(", "ChkStkStub", "->", "getIterator", "(", ")", ")", ";", "assert", "(", "std", "::", "prev", "(", "MBBI", ")", ".", "operator", "==", "(", "ChkStkStub", ")", "&&", "\"MBBI expected after __chkstk_stub.\"", ")", ";", "DebugLoc", "DL", "=", "PrologMBB", ".", "findDebugLoc", "(", "MBBI", ")", ";", "emitStackProbeInline", "(", "MF", ",", "PrologMBB", ",", "MBBI", ",", "DL", ",", "true", ")", ";", "ChkStkStub", "->", "eraseFromParent", "(", ")", ";", "}", "}", ""], "natrual_language": ["Replace", "a", "StackProbe", "inline-stub", "with", "the", "actual", "probe", "code", "inline", "."], "TS_V_token": ["X86", "X86", "\"__chkstk_stub\"", "0", "0", "\"MBBI expected after __chkstk_stub.\""], "File": "X86FrameLowering (2)4", "Func": "inlineStackProbe", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4381, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_setup_incoming_varargs", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "tree", "type", ",", "int", "*", "pretend_size", "ATTRIBUTE_UNUSED", ",", "int", "no_rtl", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "CUMULATIVE_ARGS", "local_cum", ";", "int", "gr_saved", ",", "vr_saved", ";", "local_cum", "=", "*", "cum", ";", "aarch64_function_arg_advance", "(", "pack_cumulative_args", "(", "&", "local_cum", ")", ",", "mode", ",", "type", ",", "true", ")", ";", "gr_saved", "=", "NUM_ARG_REGS", "-", "local_cum", ".", "aapcs_ncrn", ";", "vr_saved", "=", "NUM_FP_ARG_REGS", "-", "local_cum", ".", "aapcs_nvrn", ";", "if", "(", "!", "TARGET_FLOAT", ")", "{", "gcc_assert", "(", "local_cum", ".", "aapcs_nvrn", "==", "0", ")", ";", "vr_saved", "=", "0", ";", "}", "if", "(", "!", "no_rtl", ")", "{", "if", "(", "gr_saved", ">", "0", ")", "{", "rtx", "ptr", ",", "mem", ";", "ptr", "=", "plus_constant", "(", "Pmode", ",", "virtual_incoming_args_rtx", ",", "-", "gr_saved", "*", "UNITS_PER_WORD", ")", ";", "mem", "=", "gen_frame_mem", "(", "BLKmode", ",", "ptr", ")", ";", "set_mem_alias_set", "(", "mem", ",", "get_varargs_alias_set", "(", ")", ")", ";", "move_block_from_reg", "(", "local_cum", ".", "aapcs_ncrn", "+", "R0_REGNUM", ",", "mem", ",", "gr_saved", ")", ";", "}", "if", "(", "vr_saved", ">", "0", ")", "{", "machine_mode", "mode", "=", "TImode", ";", "int", "off", ",", "i", ";", "off", "=", "-", "ROUND_UP", "(", "gr_saved", "*", "UNITS_PER_WORD", ",", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ")", ";", "off", "-=", "vr_saved", "*", "UNITS_PER_VREG", ";", "for", "(", "i", "=", "local_cum", ".", "aapcs_nvrn", ";", "i", "<", "NUM_FP_ARG_REGS", ";", "++", "i", ")", "{", "rtx", "ptr", ",", "mem", ";", "ptr", "=", "plus_constant", "(", "Pmode", ",", "virtual_incoming_args_rtx", ",", "off", ")", ";", "mem", "=", "gen_frame_mem", "(", "mode", ",", "ptr", ")", ";", "set_mem_alias_set", "(", "mem", ",", "get_varargs_alias_set", "(", ")", ")", ";", "aarch64_emit_move", "(", "mem", ",", "gen_rtx_REG", "(", "mode", ",", "V0_REGNUM", "+", "i", ")", ")", ";", "off", "+=", "UNITS_PER_VREG", ";", "}", "}", "}", "cfun", "->", "machine", "->", "frame", ".", "saved_varargs_size", "=", "(", "ROUND_UP", "(", "gr_saved", "*", "UNITS_PER_WORD", ",", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ")", "+", "vr_saved", "*", "UNITS_PER_VREG", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["aarch64", "0", "0", "0", "0"], "File": "aarch643", "Func": "aarch64_setup_incoming_varargs", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4382, "Length": 293, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "bool", "IsN64", "=", "Subtarget", ".", "isABI_N64", "(", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "(", "IsN64", "?", "Mips", "::", "FP_64", ":", "Mips", "::", "FP", ")", ":", "(", "IsN64", "?", "Mips", "::", "SP_64", ":", "Mips", "::", "SP", ")", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["Mips", "Mips", "Mips::FP_64", "Mips::FP", "Mips::SP_64", "Mips::SP"], "File": "MipsRegisterInfo20", "Func": "getFrameRegister", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4383, "Length": 69, "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": "MipsSEISelLowering (2)4", "Func": "getRepRegClassFor", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4384, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "aarch64_parse_opt_result", "aarch64_parse_arch", "(", "const", "char", "*", "to_parse", ",", "const", "struct", "processor", "*", "*", "res", ",", "unsigned", "long", "*", "isa_flags", ",", "std", "::", "string", "*", "invalid_extension", ")", "{", "const", "char", "*", "ext", ";", "const", "struct", "processor", "*", "arch", ";", "size_t", "len", ";", "ext", "=", "strchr", "(", "to_parse", ",", "'+'", ")", ";", "if", "(", "ext", "!=", "NULL", ")", "len", "=", "ext", "-", "to_parse", ";", "else", "len", "=", "strlen", "(", "to_parse", ")", ";", "if", "(", "len", "==", "0", ")", "return", "AARCH64_PARSE_MISSING_ARG", ";", "for", "(", "arch", "=", "all_architectures", ";", "arch", "->", "name", "!=", "NULL", ";", "arch", "++", ")", "{", "if", "(", "strlen", "(", "arch", "->", "name", ")", "==", "len", "&&", "strncmp", "(", "arch", "->", "name", ",", "to_parse", ",", "len", ")", "==", "0", ")", "{", "unsigned", "long", "isa_temp", "=", "arch", "->", "flags", ";", "if", "(", "ext", "!=", "NULL", ")", "{", "enum", "aarch64_parse_opt_result", "ext_res", "=", "aarch64_parse_extension", "(", "ext", ",", "&", "isa_temp", ",", "invalid_extension", ")", ";", "if", "(", "ext_res", "!=", "AARCH64_PARSE_OK", ")", "return", "ext_res", ";", "}", "*", "res", "=", "arch", ";", "*", "isa_flags", "=", "isa_temp", ";", "return", "AARCH64_PARSE_OK", ";", "}", "}", "return", "AARCH64_PARSE_INVALID_ARG", ";", "}", ""], "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", "0", "0"], "File": "aarch646", "Func": "aarch64_parse_arch", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4385, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "processBlock", "(", "MachineBasicBlock", "&", "MBB", ")", "{", "bool", "Changed", "=", "false", ";", "bool", "Is64Bit", "=", "MBB", ".", "getParent", "(", ")", "->", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "isPPC64", "(", ")", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ",", "IE", "=", "MBB", ".", "end", "(", ")", ";", "I", "!=", "IE", ";", ")", "{", "MachineInstr", "*", "MI", "=", "I", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "ADDItlsgdLADDR", "&&", "MI", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "ADDItlsldLADDR", "&&", "MI", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "ADDItlsgdLADDR32", "&&", "MI", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "ADDItlsldLADDR32", ")", "{", "++", "I", ";", "continue", ";", "}", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"TLS Dynamic Call Fixup:\\n \"", "<<", "*", "MI", ";", ")", ";", "unsigned", "OutReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "unsigned", "InReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "GPR3", "=", "Is64Bit", "?", "PPC", "::", "X3", ":", "PPC", "::", "R3", ";", "unsigned", "Opc1", ",", "Opc2", ";", "SmallVector", "<", "unsigned", ",", "4", ">", "OrigRegs", ";", "OrigRegs", ".", "push_back", "(", "OutReg", ")", ";", "OrigRegs", ".", "push_back", "(", "InReg", ")", ";", "OrigRegs", ".", "push_back", "(", "GPR3", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Opcode inconsistency error\"", ")", ";", "case", "PPC", "::", "ADDItlsgdLADDR", ":", "Opc1", "=", "PPC", "::", "ADDItlsgdL", ";", "Opc2", "=", "PPC", "::", "GETtlsADDR", ";", "break", ";", "case", "PPC", "::", "ADDItlsldLADDR", ":", "Opc1", "=", "PPC", "::", "ADDItlsldL", ";", "Opc2", "=", "PPC", "::", "GETtlsldADDR", ";", "break", ";", "case", "PPC", "::", "ADDItlsgdLADDR32", ":", "Opc1", "=", "PPC", "::", "ADDItlsgdL32", ";", "Opc2", "=", "PPC", "::", "GETtlsADDR32", ";", "break", ";", "case", "PPC", "::", "ADDItlsldLADDR32", ":", "Opc1", "=", "PPC", "::", "ADDItlsldL32", ";", "Opc2", "=", "PPC", "::", "GETtlsldADDR32", ";", "break", ";", "}", "MachineInstr", "*", "Addi", "=", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", "->", "get", "(", "Opc1", ")", ",", "GPR3", ")", ".", "addReg", "(", "InReg", ")", ";", "Addi", "->", "addOperand", "(", "MI", "->", "getOperand", "(", "2", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "First", "=", "I", ";", "--", "First", ";", "MachineInstr", "*", "Call", "=", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", "->", "get", "(", "Opc2", ")", ",", "GPR3", ")", ".", "addReg", "(", "GPR3", ")", ")", ";", "Call", "->", "addOperand", "(", "MI", "->", "getOperand", "(", "3", ")", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "OutReg", ")", ".", "addReg", "(", "GPR3", ")", ";", "MachineBasicBlock", "::", "iterator", "Last", "=", "I", ";", "--", "Last", ";", "++", "I", ";", "MI", "->", "removeFromParent", "(", ")", ";", "LIS", "->", "repairIntervalsInRange", "(", "&", "MBB", ",", "First", ",", "Last", ",", "OrigRegs", ")", ";", "Changed", "=", "true", ";", "}", "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", "PPC", "PPC", "PPC::ADDItlsgdLADDR", "PPC::ADDItlsldLADDR", "PPC::ADDItlsgdLADDR32", "PPC::ADDItlsldLADDR32", "\"TLS Dynamic Call Fixup:\\n \"", "0", "1", "PPC::X3", "PPC::R3", "4", "\"Opcode inconsistency error\"", "PPC::ADDItlsgdLADDR", "PPC::ADDItlsgdL", "PPC::GETtlsADDR", "PPC::ADDItlsldLADDR", "PPC::ADDItlsldL", "PPC::GETtlsldADDR", "PPC::ADDItlsgdLADDR32", "PPC::ADDItlsgdL32", "PPC::GETtlsADDR32", "PPC::ADDItlsldLADDR32", "PPC::ADDItlsldL32", "PPC::GETtlsldADDR32", "2", "3"], "File": "PPCTLSDynamicCall", "Func": "processBlock", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4386, "Length": 462, "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": 4387, "Length": 185, "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": ["AArch64"], "File": "AArch64AsmParser (2)1", "Func": "isImm", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4388, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PadShortFunc", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "optForSize", "(", ")", ")", "return", "false", ";", "if", "(", "!", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "padShortFunctions", "(", ")", ")", "return", "false", ";", "TSM", ".", "init", "(", "&", "MF", ".", "getSubtarget", "(", ")", ")", ";", "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", "->", "isDebugInstr", "(", ")", ")", "--", "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)1", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4389, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64ConditionalCompares", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** AArch64 Conditional Compares **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "SchedModel", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getSchedModel", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "DomTree", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "Loops", "=", "getAnalysisIfAvailable", "<", "MachineLoopInfo", ">", "(", ")", ";", "Traces", "=", "&", "getAnalysis", "<", "MachineTraceMetrics", ">", "(", ")", ";", "MinInstr", "=", "nullptr", ";", "MinSize", "=", "MF", ".", "getFunction", "(", ")", "->", "optForMinSize", "(", ")", ";", "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": ["AArch64", "AArch64", "\"********** AArch64 Conditional Compares **********\\n\"", "\"********** Function: \""], "File": "AArch64ConditionalCompares (2)", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4390, "Length": 161, "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": ["Lanai"], "File": "LanaiAsmBackend18", "Func": "fixupNeedsRelaxation", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4391, "Length": 28, "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", ".", "hasOptNone", "(", ")", ")", "OptimizationGoal", "=", "6", ";", "else", "if", "(", "F", ".", "hasMinSize", "(", ")", ")", "OptimizationGoal", "=", "4", ";", "else", "if", "(", "F", ".", "hasOptSize", "(", ")", ")", "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", "(", "Align", "(", "2", ")", ")", ";", "for", "(", "std", "::", "pair", "<", "unsigned", ",", "MCSymbol", "*", ">", "&", "TIP", ":", "ThumbIndirectPads", ")", "{", "OutStreamer", "->", "EmitLabel", "(", "TIP", ".", "second", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "MCInstBuilder", "(", "ARM", "::", "tBX", ")", ".", "addReg", "(", "TIP", ".", "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", "2", "ARM::tBX", "ARMCC::AL", "0"], "File": "ARMAsmPrinter110", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4392, "Length": 367, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_cmove", "(", "rtx", "dst", ",", "rtx", "src", ",", "enum", "rtx_code", "code", ",", "rtx", "op1", ",", "rtx", "op2", ")", "{", "rtx", "t", ";", "if", "(", "TARGET_CMOVE", ")", "{", "t", "=", "ix86_expand_compare", "(", "code", ",", "op1", ",", "op2", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dst", ",", "gen_rtx_IF_THEN_ELSE", "(", "GET_MODE", "(", "dst", ")", ",", "t", ",", "src", ",", "dst", ")", ")", ")", ";", "}", "else", "{", "rtx", "nomove", "=", "gen_label_rtx", "(", ")", ";", "emit_cmp_and_jump_insns", "(", "op1", ",", "op2", ",", "reverse_condition", "(", "code", ")", ",", "const0_rtx", ",", "GET_MODE", "(", "op1", ")", ",", "1", ",", "nomove", ")", ";", "emit_move_insn", "(", "dst", ",", "src", ")", ";", "emit_label", "(", "nomove", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "conditional", "move", "of", "SRC", "to", "DST", "with", "condition", "OP1", "CODE", "OP2", "."], "TS_V_token": ["i386", "1"], "File": "i3864", "Func": "ix86_emit_cmove", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4393, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LC3MCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "if", "(", "Desc", ".", "getSize", "(", ")", "!=", "2", ")", "{", "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": ["LC3", "LC3", "2", "\"Unexpected instruction size!\""], "File": "LC3MCCodeEmitter", "Func": "encodeInstruction", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4394, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "recordRelocation", "(", "MachObjectWriter", "*", "Writer", ",", "MCAssembler", "&", "Asm", ",", "const", "MCAsmLayout", "&", "Layout", ",", "const", "MCFragment", "*", "Fragment", ",", "const", "MCFixup", "&", "Fixup", ",", "MCValue", "Target", ",", "uint64_t", "&", "FixedValue", ")", "override", "{", "if", "(", "Writer", "->", "is64Bit", "(", ")", ")", "{", "report_fatal_error", "(", "\"Relocation emission for MachO/PPC64 unimplemented.\"", ")", ";", "}", "else", "RecordPPCRelocation", "(", "Writer", ",", "Asm", ",", "Layout", ",", "Fragment", ",", "Fixup", ",", "Target", ",", "FixedValue", ")", ";", "}", ""], "natrual_language": ["Record", "a", "relocation", "entry", "."], "TS_V_token": ["PowerPC", "\"Relocation emission for MachO/PPC64 unimplemented.\"", "PPC"], "File": "PPCMachObjectWriter", "Func": "recordRelocation", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4395, "Length": 69, "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": 4396, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "analyzeBranchPredicate", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBranchPredicate", "&", "MBP", ",", "bool", "AllowModify", ")", "const", "{", "using", "namespace", "std", "::", "placeholders", ";", "SmallVector", "<", "MachineOperand", ",", "4", ">", "Cond", ";", "SmallVector", "<", "MachineInstr", "*", ",", "4", ">", "CondBranches", ";", "if", "(", "AnalyzeBranchImpl", "(", "MBB", ",", "MBP", ".", "TrueDest", ",", "MBP", ".", "FalseDest", ",", "Cond", ",", "CondBranches", ",", "AllowModify", ")", ")", "return", "true", ";", "if", "(", "Cond", ".", "size", "(", ")", "!=", "1", ")", "return", "true", ";", "assert", "(", "MBP", ".", "TrueDest", "&&", "\"expected!\"", ")", ";", "if", "(", "!", "MBP", ".", "FalseDest", ")", "MBP", ".", "FalseDest", "=", "MBB", ".", "getNextNode", "(", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "&", "getRegisterInfo", "(", ")", ";", "MachineInstr", "*", "ConditionDef", "=", "nullptr", ";", "bool", "SingleUseCondition", "=", "true", ";", "for", "(", "auto", "I", "=", "std", "::", "next", "(", "MBB", ".", "rbegin", "(", ")", ")", ",", "E", "=", "MBB", ".", "rend", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "I", "->", "modifiesRegister", "(", "X86", "::", "EFLAGS", ",", "TRI", ")", ")", "{", "ConditionDef", "=", "&", "*", "I", ";", "break", ";", "}", "if", "(", "I", "->", "readsRegister", "(", "X86", "::", "EFLAGS", ",", "TRI", ")", ")", "SingleUseCondition", "=", "false", ";", "}", "if", "(", "!", "ConditionDef", ")", "return", "true", ";", "if", "(", "SingleUseCondition", ")", "{", "for", "(", "auto", "*", "Succ", ":", "MBB", ".", "successors", "(", ")", ")", "if", "(", "Succ", "->", "isLiveIn", "(", "X86", "::", "EFLAGS", ")", ")", "SingleUseCondition", "=", "false", ";", "}", "MBP", ".", "ConditionDef", "=", "ConditionDef", ";", "MBP", ".", "SingleUseCondition", "=", "SingleUseCondition", ";", "const", "unsigned", "TestOpcode", "=", "Subtarget", ".", "is64Bit", "(", ")", "?", "X86", "::", "TEST64rr", ":", "X86", "::", "TEST32rr", ";", "if", "(", "ConditionDef", "->", "getOpcode", "(", ")", "==", "TestOpcode", "&&", "ConditionDef", "->", "getNumOperands", "(", ")", "==", "3", "&&", "ConditionDef", "->", "getOperand", "(", "0", ")", ".", "isIdenticalTo", "(", "ConditionDef", "->", "getOperand", "(", "1", ")", ")", "&&", "(", "Cond", "[", "0", "]", ".", "getImm", "(", ")", "==", "X86", "::", "COND_NE", "||", "Cond", "[", "0", "]", ".", "getImm", "(", ")", "==", "X86", "::", "COND_E", ")", ")", "{", "MBP", ".", "LHS", "=", "ConditionDef", "->", "getOperand", "(", "0", ")", ";", "MBP", ".", "RHS", "=", "MachineOperand", "::", "CreateImm", "(", "0", ")", ";", "MBP", ".", "Predicate", "=", "Cond", "[", "0", "]", ".", "getImm", "(", ")", "==", "X86", "::", "COND_NE", "?", "MachineBranchPredicate", "::", "PRED_NE", ":", "MachineBranchPredicate", "::", "PRED_EQ", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Analyze", "the", "branching", "code", "at", "the", "end", "of", "MBB", "and", "parse", "it", "into", "the", "MachineBranchPredicate", "structure", "if", "possible", "."], "TS_V_token": ["X86", "X86", "4", "4", "1", "\"expected!\"", "X86::EFLAGS", "X86::EFLAGS", "X86::EFLAGS", "X86::TEST64rr", "X86::TEST32rr", "3", "0", "1", "0", "X86::COND_NE", "0", "X86::COND_E", "0", "0", "0", "X86::COND_NE"], "File": "X86InstrInfo (2)1", "Func": "analyzeBranchPredicate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4397, "Length": 388, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMachineVerifierClean", "(", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "is", "expected", "to", "pass", "all", "machine", "verifier", "checks", "."], "TS_V_token": ["X86"], "File": "X86TargetMachine11", "Func": "isMachineVerifierClean", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4398, "Length": 11, "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", "(", "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", ")", ")", ")", "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": "arm7", "Func": "thumb2_legitimate_address_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4399, "Length": 462, "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": 4400, "Length": 102, "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": 4401, "Length": 58, "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": 4402, "Length": 40, "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", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", ")", ";", "}", ""], "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": "AArch64TargetMachine53", "Func": "addIRPasses", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4403, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "short_memory_operand", "(", "rtx", "x", ",", "machine_mode", "mode", ")", "{", "if", "(", "!", "memory_operand", "(", "x", ",", "mode", ")", ")", "return", "0", ";", "return", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "!=", "PLUS", ")", ";", "}", ""], "natrual_language": ["Return", "1", "if", "OP", "is", "a", "valid", "operand", "for", "a", "`", "short", "'", "memory", "reference", "insn", "."], "TS_V_token": ["stormy16", "0", "0"], "File": "stormy16", "Func": "short_memory_operand", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4404, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "gimple", "*", "gimple_folder", "::", "fold_to_vl_pred", "(", "unsigned", "int", "vl", ")", "{", "tree", "vectype", "=", "TREE_TYPE", "(", "lhs", ")", ";", "tree", "element_type", "=", "TREE_TYPE", "(", "vectype", ")", ";", "tree", "minus_one", "=", "build_all_ones_cst", "(", "element_type", ")", ";", "tree", "zero", "=", "build_zero_cst", "(", "element_type", ")", ";", "unsigned", "int", "element_bytes", "=", "type_suffix", "(", "0", ")", ".", "element_bytes", ";", "unsigned", "int", "count", "=", "constant_lower_bound", "(", "TYPE_VECTOR_SUBPARTS", "(", "vectype", ")", ")", ";", "gcc_assert", "(", "vl", "*", "element_bytes", "<=", "count", ")", ";", "tree_vector_builder", "builder", "(", "vectype", ",", "count", ",", "2", ")", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "count", "*", "2", ";", "++", "i", ")", "{", "bool", "bit", "=", "(", "i", "&", "(", "element_bytes", "-", "1", ")", ")", "==", "0", "&&", "i", "<", "vl", "*", "element_bytes", ";", "builder", ".", "quick_push", "(", "bit", "?", "minus_one", ":", "zero", ")", ";", "}", "return", "gimple_build_assign", "(", "lhs", ",", "builder", ".", "build", "(", ")", ")", ";", "}", ""], "natrual_language": ["Fold", "an", "operation", "to", "a", "constant", "predicate", "in", "which", "the", "first", "VL", "elements", "are", "set", "and", "the", "rest", "are", "clear", ".", "Take", "the", "element", "size", "from", "type", "suffix", "0", "."], "TS_V_token": ["aarch64", "0", "2", "0", "2", "1", "0"], "File": "aarch64-sve-builtins", "Func": "fold_to_vl_pred", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4405, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_regno_class", "(", "int", "regno", ")", "{", "if", "(", "TARGET_THUMB", ")", "{", "if", "(", "regno", "==", "STACK_POINTER_REGNUM", ")", "return", "STACK_REG", ";", "if", "(", "regno", "==", "CC_REGNUM", ")", "return", "CC_REG", ";", "if", "(", "regno", "<", "8", ")", "return", "LO_REGS", ";", "return", "HI_REGS", ";", "}", "if", "(", "regno", "<=", "LAST_ARM_REGNUM", "||", "regno", "==", "FRAME_POINTER_REGNUM", "||", "regno", "==", "ARG_POINTER_REGNUM", ")", "return", "GENERAL_REGS", ";", "if", "(", "regno", "==", "CC_REGNUM", "||", "regno", "==", "VFPCC_REGNUM", ")", "return", "NO_REGS", ";", "if", "(", "IS_CIRRUS_REGNUM", "(", "regno", ")", ")", "return", "CIRRUS_REGS", ";", "if", "(", "IS_VFP_REGNUM", "(", "regno", ")", ")", "return", "VFP_REGS", ";", "if", "(", "IS_IWMMXT_REGNUM", "(", "regno", ")", ")", "return", "IWMMXT_REGS", ";", "if", "(", "IS_IWMMXT_GR_REGNUM", "(", "regno", ")", ")", "return", "IWMMXT_GR_REGS", ";", "return", "FPA_REGS", ";", "}", ""], "natrual_language": ["For", "efficiency", "and", "historical", "reasons", "LO_REGS", ",", "HI_REGS", "and", "CC_REGS", "are", "not", "used", "in", "arm", "mode", "."], "TS_V_token": ["arm", "8"], "File": "arm3", "Func": "arm_regno_class", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4406, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsInstPrinter", "::", "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": ["Mips", "Mips"], "File": "MipsInstPrinter11", "Func": "printInst", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4407, "Length": 33, "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", "(", "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", "PPC", "PPC", "PPC"], "File": "PPCISelLowering (2)", "Func": "LowerCall", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4408, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsABIInfo", "::", "GetCalleeAllocdArgSizeInBytes", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "if", "(", "IsO32", "(", ")", ")", "return", "CC", "!=", "CallingConv", "::", "Fast", "?", "16", ":", "0", ";", "if", "(", "IsN32", "(", ")", "||", "IsN64", "(", ")", "||", "IsEABI", "(", ")", ")", "return", "0", ";", "llvm_unreachable", "(", "\"Unhandled ABI\"", ")", ";", "}", ""], "natrual_language": ["Obtain", "the", "size", "of", "the", "area", "allocated", "by", "the", "callee", "for", "arguments", "."], "TS_V_token": ["Mips", "Mips", "16", "0", "0", "\"Unhandled ABI\""], "File": "MipsABIInfo", "Func": "GetCalleeAllocdArgSizeInBytes", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4409, "Length": 52, "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": 4410, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "Cpu0ABIInfo", "::", "GetCalleeAllocdArgSizeInBytes", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "if", "(", "IsO32", "(", ")", ")", "return", "CC", "!=", "0", ";", "if", "(", "IsS32", "(", ")", ")", "return", "0", ";", "llvm_unreachable", "(", "\"Unhandled ABI\"", ")", ";", "}", ""], "natrual_language": ["Obtain", "the", "size", "of", "the", "area", "allocated", "by", "the", "callee", "for", "arguments", "."], "TS_V_token": ["Cpu0", "Cpu0", "0", "0", "\"Unhandled ABI\""], "File": "Cpu0ABIInfo", "Func": "GetCalleeAllocdArgSizeInBytes", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4411, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PPCTargetLowering", "::", "ConstraintType", "PPCTargetLowering", "::", "getConstraintType", "(", "StringRef", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'b'", ":", "case", "'r'", ":", "case", "'f'", ":", "case", "'d'", ":", "case", "'v'", ":", "case", "'y'", ":", "return", "C_RegisterClass", ";", "case", "'Z'", ":", "return", "C_Memory", ";", "}", "}", "else", "if", "(", "Constraint", "==", "\"wc\"", ")", "{", "return", "C_RegisterClass", ";", "}", "else", "if", "(", "Constraint", "==", "\"wa\"", "||", "Constraint", "==", "\"wd\"", "||", "Constraint", "==", "\"wf\"", "||", "Constraint", "==", "\"ws\"", ")", "{", "return", "C_RegisterClass", ";", "}", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "1", "0", "\"wc\"", "\"wa\"", "\"wd\"", "\"wf\"", "\"ws\""], "File": "PPCISelLowering", "Func": "getConstraintType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4412, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_real_tls_symbol_ref_p", "(", "rtx", "x", ")", "{", "return", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", ">=", "TLS_MODEL_REAL", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "symbol", "that", "refers", "to", "real", "(", "rather", "than", "emulated", ")", "TLS", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_real_tls_symbol_ref_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4413, "Length": 26, "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", ",", "Subtarget", "->", "isABI_O32", "(", ")", ",", "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": "MipsISelLowering (2)1", "Func": "LowerCallResult", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4414, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TOYPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createTOYISelDag", "(", "getTOYTargetMachine", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["TOY", "TOY", "TOY", "TOY"], "File": "TOYTargetMachine", "Func": "addInstSelector", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4415, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCDisassembler", "::", "DecodeStatus", "X86GenericDisassembler", "::", "getInstruction", "(", "MCInst", "&", "Instr", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "VStream", ",", "raw_ostream", "&", "CStream", ")", "const", "{", "CommentStream", "=", "&", "CStream", ";", "InternalInstruction", "InternalInstr", ";", "dlog_t", "LoggerFn", "=", "logger", ";", "if", "(", "&", "VStream", "==", "&", "nulls", "(", ")", ")", "LoggerFn", "=", "nullptr", ";", "Region", "R", "(", "Bytes", ",", "Address", ")", ";", "int", "Ret", "=", "decodeInstruction", "(", "&", "InternalInstr", ",", "regionReader", ",", "(", "const", "void", "*", ")", "&", "R", ",", "LoggerFn", ",", "(", "void", "*", ")", "&", "VStream", ",", "(", "const", "void", "*", ")", "MII", ".", "get", "(", ")", ",", "Address", ",", "fMode", ")", ";", "if", "(", "Ret", ")", "{", "Size", "=", "InternalInstr", ".", "readerCursor", "-", "Address", ";", "return", "Fail", ";", "}", "else", "{", "Size", "=", "InternalInstr", ".", "length", ";", "return", "(", "!", "translateInstruction", "(", "Instr", ",", "InternalInstr", ",", "this", ")", ")", "?", "Success", ":", "Fail", ";", "}", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["X86", "X86"], "File": "X86Disassembler (2)1", "Func": "getInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4416, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "KudeyarAsmPrinter", "::", "emitFrameDirective", "(", ")", "{", "const", "TargetRegisterInfo", "&", "RI", "=", "*", "TM", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "stackReg", "=", "RI", ".", "getFrameRegister", "(", "*", "MF", ")", ";", "unsigned", "returnReg", "=", "RI", ".", "getRARegister", "(", ")", ";", "unsigned", "stackSize", "=", "MF", "->", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "if", "(", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "OutStreamer", ".", "EmitRawText", "(", "\"\\t.frame\\t$\"", "+", "StringRef", "(", "KudeyarInstPrinter", "::", "getRegisterName", "(", "stackReg", ")", ")", ".", "lower", "(", ")", "+", "\",\"", "+", "Twine", "(", "stackSize", ")", ")", ";", "}", ""], "natrual_language": ["Frame", "Directive", "."], "TS_V_token": ["Kudeyar", "Kudeyar", "\"\\t.frame\\t$\"", "Kudeyar", "\",\""], "File": "KudeyarAsmPrinter", "Func": "emitFrameDirective", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4417, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86DAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "SDValue", "Op0", ",", "Op1", ",", "Op2", ",", "Op3", ",", "Op4", ";", "switch", "(", "ConstraintID", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected asm memory constraint\"", ")", ";", "case", "InlineAsm", "::", "Constraint_i", ":", "case", "InlineAsm", "::", "Constraint_o", ":", "case", "InlineAsm", "::", "Constraint_v", ":", "case", "InlineAsm", "::", "Constraint_m", ":", "case", "InlineAsm", "::", "Constraint_X", ":", "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", "\"Unexpected asm memory constraint\""], "File": "X86ISelDAGToDAG110", "Func": "SelectInlineAsmMemoryOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4418, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "LoadInst", "*", "X86TargetLowering", "::", "lowerIdempotentRMWIntoFencedLoad", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "unsigned", "NativeWidth", "=", "Subtarget", "->", "is64Bit", "(", ")", "?", "64", ":", "32", ";", "const", "Type", "*", "MemType", "=", "AI", "->", "getType", "(", ")", ";", "if", "(", "MemType", "->", "getPrimitiveSizeInBits", "(", ")", ">", "NativeWidth", ")", "return", "nullptr", ";", "auto", "Builder", "=", "IRBuilder", "<", ">", "(", "AI", ")", ";", "Module", "*", "M", "=", "Builder", ".", "GetInsertBlock", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "auto", "SynchScope", "=", "AI", "->", "getSynchScope", "(", ")", ";", "auto", "Order", "=", "AtomicCmpXchgInst", "::", "getStrongestFailureOrdering", "(", "AI", "->", "getOrdering", "(", ")", ")", ";", "auto", "Ptr", "=", "AI", "->", "getPointerOperand", "(", ")", ";", "if", "(", "SynchScope", "==", "SingleThread", ")", "{", "return", "nullptr", ";", "}", "else", "if", "(", "hasMFENCE", "(", "*", "Subtarget", ")", ")", "{", "Function", "*", "MFence", "=", "llvm", "::", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "Intrinsic", "::", "x86_sse2_mfence", ")", ";", "Builder", ".", "CreateCall", "(", "MFence", ")", ";", "}", "else", "{", "return", "nullptr", ";", "}", "LoadInst", "*", "Loaded", "=", "Builder", ".", "CreateAlignedLoad", "(", "Ptr", ",", "AI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ")", ";", "Loaded", "->", "setAtomic", "(", "Order", ",", "SynchScope", ")", ";", "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": "X86ISelLowering (2)4", "Func": "lowerIdempotentRMWIntoFencedLoad", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4419, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_emit_set_const64_longway", "(", "rtx", "op0", ",", "rtx", "temp", ",", "unsigned", "HOST_WIDE_INT", "high_bits", ",", "unsigned", "HOST_WIDE_INT", "low_bits", ")", "{", "rtx", "sub_temp", ";", "if", "(", "reload_in_progress", "||", "reload_completed", ")", "sub_temp", "=", "op0", ";", "else", "sub_temp", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "if", "(", "(", "high_bits", "&", "0xfffffc00", ")", "!=", "0", ")", "{", "emit_insn", "(", "gen_safe_HIGH64", "(", "temp", ",", "high_bits", ")", ")", ";", "if", "(", "(", "high_bits", "&", "~", "0xfffffc00", ")", "!=", "0", ")", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "sub_temp", ",", "gen_safe_OR64", "(", "temp", ",", "(", "high_bits", "&", "0x3ff", ")", ")", ")", ")", ";", "else", "sub_temp", "=", "temp", ";", "}", "else", "{", "emit_insn", "(", "gen_safe_SET64", "(", "temp", ",", "high_bits", ")", ")", ";", "sub_temp", "=", "temp", ";", "}", "if", "(", "!", "reload_in_progress", "&&", "!", "reload_completed", ")", "{", "rtx", "temp2", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "rtx", "temp3", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "rtx", "temp4", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "temp4", ",", "gen_rtx_ASHIFT", "(", "DImode", ",", "sub_temp", ",", "GEN_INT", "(", "32", ")", ")", ")", ")", ";", "emit_insn", "(", "gen_safe_HIGH64", "(", "temp2", ",", "low_bits", ")", ")", ";", "if", "(", "(", "low_bits", "&", "~", "0xfffffc00", ")", "!=", "0", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "temp3", ",", "gen_safe_OR64", "(", "temp2", ",", "(", "low_bits", "&", "0x3ff", ")", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "op0", ",", "gen_rtx_PLUS", "(", "DImode", ",", "temp4", ",", "temp3", ")", ")", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "op0", ",", "gen_rtx_PLUS", "(", "DImode", ",", "temp4", ",", "temp2", ")", ")", ")", ";", "}", "}", "else", "{", "rtx", "low1", "=", "GEN_INT", "(", "(", "low_bits", ">>", "(", "32", "-", "12", ")", ")", "&", "0xfff", ")", ";", "rtx", "low2", "=", "GEN_INT", "(", "(", "low_bits", ">>", "(", "32", "-", "12", "-", "12", ")", ")", "&", "0xfff", ")", ";", "rtx", "low3", "=", "GEN_INT", "(", "(", "low_bits", ">>", "(", "32", "-", "12", "-", "12", "-", "8", ")", ")", "&", "0x0ff", ")", ";", "int", "to_shift", "=", "12", ";", "if", "(", "low1", "!=", "const0_rtx", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "op0", ",", "gen_rtx_ASHIFT", "(", "DImode", ",", "sub_temp", ",", "GEN_INT", "(", "to_shift", ")", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "op0", ",", "gen_rtx_IOR", "(", "DImode", ",", "op0", ",", "low1", ")", ")", ")", ";", "sub_temp", "=", "op0", ";", "to_shift", "=", "12", ";", "}", "else", "{", "to_shift", "+=", "12", ";", "}", "if", "(", "low2", "!=", "const0_rtx", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "op0", ",", "gen_rtx_ASHIFT", "(", "DImode", ",", "sub_temp", ",", "GEN_INT", "(", "to_shift", ")", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "op0", ",", "gen_rtx_IOR", "(", "DImode", ",", "op0", ",", "low2", ")", ")", ")", ";", "sub_temp", "=", "op0", ";", "to_shift", "=", "8", ";", "}", "else", "{", "to_shift", "+=", "8", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "op0", ",", "gen_rtx_ASHIFT", "(", "DImode", ",", "sub_temp", ",", "GEN_INT", "(", "to_shift", ")", ")", ")", ")", ";", "if", "(", "low3", "!=", "const0_rtx", ")", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "op0", ",", "gen_rtx_IOR", "(", "DImode", ",", "op0", ",", "low3", ")", ")", ")", ";", "}", "}", ""], "natrual_language": ["Full", "64-bit", "constant", "decomposition", ".", "Even", "though", "this", "is", "the", "'worst", "'", "case", ",", "we", "still", "optimize", "a", "few", "things", "away", "."], "TS_V_token": ["sparc", "0xfffffc00", "0", "0xfffffc00", "0", "0x3ff", "32", "0xfffffc00", "0", "0x3ff", "32", "12", "0xfff", "32", "12", "12", "0xfff", "32", "12", "12", "8", "0x0ff", "12", "12", "12", "8", "8"], "File": "sparc3", "Func": "sparc_emit_set_const64_longway", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4420, "Length": 501, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86ProcFamilyEnum", "getProcFamily", "(", ")", "const", "{", "return", "X86ProcFamily", ";", "}", ""], "natrual_language": ["Returns", "RISC-V", "processor", "family", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86Subtarget100", "Func": "getProcFamily", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4421, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "ix86_handle_selectany_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", ",", "int", ",", "bool", "*", "no_add_attrs", ")", "{", "tree", "decl", "=", "*", "node", ";", "if", "(", "TREE_CODE", "(", "decl", ")", "!=", "VAR_DECL", "||", "!", "TREE_PUBLIC", "(", "decl", ")", ")", "error", "(", "\"%qE attribute applies only to initialized variables\"", "\" with external linkage\"", ",", "name", ")", ";", "else", "{", "make_decl_one_only", "(", "decl", ",", "DECL_ASSEMBLER_NAME", "(", "decl", ")", ")", ";", "DECL_COMMON", "(", "decl", ")", "=", "0", ";", "}", "*", "no_add_attrs", "=", "true", ";", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "a", "``", "selectany", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["i386", "\"%qE attribute applies only to initialized variables\"", "\" with external linkage\"", "0"], "File": "winnt", "Func": "ix86_handle_selectany_attribute", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4422, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mve_vector_mem_operand", "(", "machine_mode", "mode", ",", "rtx", "op", ",", "bool", "strict", ")", "{", "enum", "rtx_code", "code", ";", "int", "val", ",", "reg_no", ";", "if", "(", "REG_P", "(", "op", ")", ")", "{", "reg_no", "=", "arm_effective_regno", "(", "op", ",", "strict", ")", ";", "return", "(", "(", "(", "mode", "==", "E_V8QImode", "||", "mode", "==", "E_V4QImode", "||", "mode", "==", "E_V4HImode", ")", "?", "reg_no", "<=", "LAST_LO_REGNUM", ":", "reg_no", "<", "LAST_ARM_REGNUM", ")", "||", "(", "!", "strict", "&&", "reg_no", ">=", "FIRST_PSEUDO_REGISTER", ")", ")", ";", "}", "code", "=", "GET_CODE", "(", "op", ")", ";", "if", "(", "code", "==", "POST_INC", "||", "code", "==", "PRE_DEC", "||", "code", "==", "PRE_INC", "||", "code", "==", "POST_DEC", ")", "{", "reg_no", "=", "arm_effective_regno", "(", "XEXP", "(", "op", ",", "0", ")", ",", "strict", ")", ";", "return", "(", "(", "(", "mode", "==", "E_V8QImode", "||", "mode", "==", "E_V4QImode", "||", "mode", "==", "E_V4HImode", ")", "?", "reg_no", "<=", "LAST_LO_REGNUM", ":", "(", "reg_no", "<", "LAST_ARM_REGNUM", "&&", "reg_no", "!=", "SP_REGNUM", ")", ")", "||", "(", "!", "strict", "&&", "reg_no", ">=", "FIRST_PSEUDO_REGISTER", ")", ")", ";", "}", "else", "if", "(", "(", "(", "code", "==", "POST_MODIFY", "||", "code", "==", "PRE_MODIFY", ")", "&&", "GET_CODE", "(", "XEXP", "(", "op", ",", "1", ")", ")", "==", "PLUS", "&&", "XEXP", "(", "op", ",", "0", ")", "==", "XEXP", "(", "XEXP", "(", "op", ",", "1", ")", ",", "0", ")", "&&", "REG_P", "(", "XEXP", "(", "op", ",", "0", ")", ")", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "op", ",", "1", ")", ",", "1", ")", ")", "==", "CONST_INT", ")", "||", "(", "reload_completed", "&&", "code", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "op", ",", "0", ")", ")", "&&", "GET_CODE", "(", "XEXP", "(", "op", ",", "1", ")", ")", "==", "CONST_INT", ")", ")", "{", "reg_no", "=", "arm_effective_regno", "(", "XEXP", "(", "op", ",", "0", ")", ",", "strict", ")", ";", "if", "(", "code", "==", "PLUS", ")", "val", "=", "INTVAL", "(", "XEXP", "(", "op", ",", "1", ")", ")", ";", "else", "val", "=", "INTVAL", "(", "XEXP", "(", "XEXP", "(", "op", ",", "1", ")", ",", "1", ")", ")", ";", "switch", "(", "mode", ")", "{", "case", "E_V16QImode", ":", "case", "E_V8QImode", ":", "case", "E_V4QImode", ":", "if", "(", "abs", "(", "val", ")", ">", "127", ")", "return", "FALSE", ";", "break", ";", "case", "E_V8HImode", ":", "case", "E_V8HFmode", ":", "case", "E_V4HImode", ":", "case", "E_V4HFmode", ":", "if", "(", "val", "%", "2", "!=", "0", "||", "abs", "(", "val", ")", ">", "254", ")", "return", "FALSE", ";", "break", ";", "case", "E_V4SImode", ":", "case", "E_V4SFmode", ":", "if", "(", "val", "%", "4", "!=", "0", "||", "abs", "(", "val", ")", ">", "508", ")", "return", "FALSE", ";", "break", ";", "default", ":", "return", "FALSE", ";", "}", "return", "(", "(", "!", "strict", "&&", "reg_no", ">=", "FIRST_PSEUDO_REGISTER", ")", "||", "(", "MVE_STN_LDW_MODE", "(", "mode", ")", "?", "reg_no", "<=", "LAST_LO_REGNUM", ":", "(", "reg_no", "<", "LAST_ARM_REGNUM", "&&", "(", "code", "==", "PLUS", "||", "reg_no", "!=", "SP_REGNUM", ")", ")", ")", ")", ";", "}", "return", "FALSE", ";", "}", ""], "natrual_language": ["This", "function", "returns", "TRUE", "on", "matching", "mode", "and", "op.1", ".", "For", "given", "modes", ",", "check", "for", "[", "Rn", "]", ",", "return", "TRUE", "for", "Rn", "<", "=", "LO_REGS.2", ".", "For", "other", "modes", ",", "check", "for", "[", "Rn", "]", ",", "return", "TRUE", "for", "Rn", "<", "R15", "(", "expect", "R13", ")", "."], "TS_V_token": ["arm", "0", "1", "0", "1", "0", "0", "1", "1", "0", "1", "0", "1", "1", "1", "127", "2", "0", "254", "4", "0", "508"], "File": "arm1", "Func": "mve_vector_mem_operand", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4423, "Length": 449, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Mips Long Branch\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"Mips Long Branch\""], "File": "MipsLongBranch1", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4424, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_sve_valid_immediate", "(", "unsigned", "HOST_WIDE_INT", "val64", ",", "simd_immediate_info", "*", "info", ")", "{", "scalar_int_mode", "mode", "=", "DImode", ";", "unsigned", "int", "val32", "=", "val64", "&", "0xffffffff", ";", "if", "(", "val32", "==", "(", "val64", ">>", "32", ")", ")", "{", "mode", "=", "SImode", ";", "unsigned", "int", "val16", "=", "val32", "&", "0xffff", ";", "if", "(", "val16", "==", "(", "val32", ">>", "16", ")", ")", "{", "mode", "=", "HImode", ";", "unsigned", "int", "val8", "=", "val16", "&", "0xff", ";", "if", "(", "val8", "==", "(", "val16", ">>", "8", ")", ")", "mode", "=", "QImode", ";", "}", "}", "HOST_WIDE_INT", "val", "=", "trunc_int_for_mode", "(", "val64", ",", "mode", ")", ";", "if", "(", "IN_RANGE", "(", "val", ",", "-", "0x80", ",", "0x7f", ")", ")", "{", "if", "(", "info", ")", "*", "info", "=", "simd_immediate_info", "(", "mode", ",", "val", ")", ";", "return", "true", ";", "}", "if", "(", "(", "val", "&", "0xff", ")", "==", "0", "&&", "IN_RANGE", "(", "val", ",", "-", "0x8000", ",", "0x7f00", ")", ")", "{", "if", "(", "info", ")", "*", "info", "=", "simd_immediate_info", "(", "mode", ",", "val", ")", ";", "return", "true", ";", "}", "if", "(", "aarch64_bitmask_imm", "(", "val64", ",", "mode", ")", ")", "{", "if", "(", "info", ")", "*", "info", "=", "simd_immediate_info", "(", "mode", ",", "val", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "replicating", "VAL64", "gives", "a", "valid", "immediate", "for", "an", "SVE", "MOV", "instruction", ".", "If", "INFO", "is", "nonnull", ",", "use", "it", "to", "describe", "valid", "immediates", "."], "TS_V_token": ["aarch64", "0xffffffff", "32", "0xffff", "16", "0xff", "8", "0x80", "0x7f", "0xff", "0", "0x8000", "0x7f00"], "File": "aarch64", "Func": "aarch64_sve_valid_immediate", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4425, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiTargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "KnownBits", "&", "Known", ",", "const", "APInt", "&", "DemandedElts", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "unsigned", "BitWidth", "=", "Known", ".", "getBitWidth", "(", ")", ";", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "LanaiISD", "::", "SETCC", ":", "Known", "=", "KnownBits", "(", "BitWidth", ")", ";", "Known", ".", "Zero", ".", "setBits", "(", "1", ",", "BitWidth", ")", ";", "break", ";", "case", "LanaiISD", "::", "SELECT_CC", ":", "KnownBits", "Known2", ";", "Known", "=", "DAG", ".", "computeKnownBits", "(", "Op", "->", "getOperand", "(", "0", ")", ",", "Depth", "+", "1", ")", ";", "Known2", "=", "DAG", ".", "computeKnownBits", "(", "Op", "->", "getOperand", "(", "1", ")", ",", "Depth", "+", "1", ")", ";", "Known", ".", "Zero", "&=", "Known2", ".", "Zero", ";", "Known", ".", "One", "&=", "Known2", ".", "One", ";", "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": ["Lanai", "Lanai", "LanaiISD::SETCC", "1", "LanaiISD::SELECT_CC", "0", "1", "1", "1"], "File": "LanaiISelLowering11", "Func": "computeKnownBitsForTargetNode", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4426, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsSubtarget", "::", "resetSubtarget", "(", "MachineFunction", "*", "MF", ")", "{", "bool", "ChangeToMips16", "=", "false", ",", "ChangeToNoMips16", "=", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"resetSubtargetFeatures\"", "<<", "\"\\n\"", ")", ";", "AttributeSet", "FnAttrs", "=", "MF", "->", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ";", "ChangeToMips16", "=", "FnAttrs", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "\"mips16\"", ")", ";", "ChangeToNoMips16", "=", "FnAttrs", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "\"nomips16\"", ")", ";", "assert", "(", "!", "(", "ChangeToMips16", "&", "ChangeToNoMips16", ")", "&&", "\"mips16 and nomips16 specified on the same function\"", ")", ";", "if", "(", "ChangeToMips16", ")", "{", "if", "(", "PreviousInMips16Mode", ")", "return", ";", "OverrideMode", "=", "Mips16Override", ";", "PreviousInMips16Mode", "=", "true", ";", "TM", "->", "setHelperClassesMips16", "(", ")", ";", "return", ";", "}", "else", "if", "(", "ChangeToNoMips16", ")", "{", "if", "(", "!", "PreviousInMips16Mode", ")", "return", ";", "OverrideMode", "=", "NoMips16Override", ";", "PreviousInMips16Mode", "=", "false", ";", "TM", "->", "setHelperClassesMipsSE", "(", ")", ";", "return", ";", "}", "else", "{", "if", "(", "OverrideMode", "==", "NoOverride", ")", "return", ";", "OverrideMode", "=", "NoOverride", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"back to default\"", "<<", "\"\\n\"", ")", ";", "if", "(", "inMips16Mode", "(", ")", "&&", "!", "PreviousInMips16Mode", ")", "{", "TM", "->", "setHelperClassesMips16", "(", ")", ";", "PreviousInMips16Mode", "=", "true", ";", "}", "else", "if", "(", "!", "inMips16Mode", "(", ")", "&&", "PreviousInMips16Mode", ")", "{", "TM", "->", "setHelperClassesMipsSE", "(", ")", ";", "PreviousInMips16Mode", "=", "false", ";", "}", "return", ";", "}", "}", ""], "natrual_language": ["Reset", "the", "subtarget", "for", "the", "Mips", "target", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "\"resetSubtargetFeatures\"", "\"\\n\"", "Mips", "\"mips16\"", "Mips", "\"nomips16\"", "Mips", "Mips", "\"mips16 and nomips16 specified on the same function\"", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "\"back to default\"", "\"\\n\"", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsSubtarget16", "Func": "resetSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4427, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"A57 FP Anti-dependency breaker\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64", "\"A57 FP Anti-dependency breaker\""], "File": "AArch64A57FPLoadBalancing", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4428, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SystemZSelectionDAGInfo", "::", "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", "{", "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": "SystemZSelectionDAGInfo2", "Func": "EmitTargetCodeForMemcpy", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4429, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "rs6000_emit_vector_cond_expr", "(", "rtx", "dest", ",", "rtx", "op_true", ",", "rtx", "op_false", ",", "rtx", "cond", ",", "rtx", "cc_op0", ",", "rtx", "cc_op1", ")", "{", "machine_mode", "dest_mode", "=", "GET_MODE", "(", "dest", ")", ";", "machine_mode", "mask_mode", "=", "GET_MODE", "(", "cc_op0", ")", ";", "enum", "rtx_code", "rcode", "=", "GET_CODE", "(", "cond", ")", ";", "machine_mode", "cc_mode", "=", "CCmode", ";", "rtx", "mask", ";", "rtx", "cond2", ";", "rtx", "tmp", ";", "bool", "invert_move", "=", "false", ";", "if", "(", "VECTOR_UNIT_NONE_P", "(", "dest_mode", ")", ")", "return", "0", ";", "gcc_assert", "(", "GET_MODE_SIZE", "(", "dest_mode", ")", "==", "GET_MODE_SIZE", "(", "mask_mode", ")", "&&", "GET_MODE_NUNITS", "(", "dest_mode", ")", "==", "GET_MODE_NUNITS", "(", "mask_mode", ")", ")", ";", "switch", "(", "rcode", ")", "{", "case", "NE", ":", "case", "UNLE", ":", "case", "UNLT", ":", "case", "UNGE", ":", "case", "UNGT", ":", "invert_move", "=", "true", ";", "rcode", "=", "reverse_condition_maybe_unordered", "(", "rcode", ")", ";", "if", "(", "rcode", "==", "UNKNOWN", ")", "return", "0", ";", "break", ";", "case", "GTU", ":", "case", "GEU", ":", "case", "LTU", ":", "case", "LEU", ":", "cc_mode", "=", "CCUNSmode", ";", "break", ";", "default", ":", "break", ";", "}", "mask", "=", "rs6000_emit_vector_compare", "(", "rcode", ",", "cc_op0", ",", "cc_op1", ",", "mask_mode", ")", ";", "if", "(", "!", "mask", ")", "return", "0", ";", "if", "(", "invert_move", ")", "{", "tmp", "=", "op_true", ";", "op_true", "=", "op_false", ";", "op_false", "=", "tmp", ";", "}", "cond2", "=", "gen_rtx_fmt_ee", "(", "NE", ",", "cc_mode", ",", "gen_lowpart", "(", "dest_mode", ",", "mask", ")", ",", "CONST0_RTX", "(", "dest_mode", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "gen_rtx_IF_THEN_ELSE", "(", "dest_mode", ",", "cond2", ",", "op_true", ",", "op_false", ")", ")", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Emit", "vector", "conditional", "expression", ".", "DEST", "is", "destination", ".", "OP1", "and", "OP2", "are", "two", "VEC_COND_EXPR", "operands", ".", "CC_OP0", "and", "CC_OP1", "are", "the", "two", "operands", "for", "the", "relation", "operation", "COND", "."], "TS_V_token": ["rs6000", "0", "0", "0", "1"], "File": "rs60005", "Func": "rs6000_emit_vector_cond_expr", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4430, "Length": 247, "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", "*", ">", "(", "MF", "->", "getTarget", "(", ")", ".", "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": "PPCFrameLowering18", "Func": "spillCalleeSavedRegisters", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4431, "Length": 367, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "if", "(", "STI", ".", "isTargetDarwin", "(", ")", ")", "return", "true", ";", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "(", "(", "DisableFramePointerElim", "(", "MF", ")", "&&", "MFI", "->", "hasCalls", "(", ")", ")", "||", "RegInfo", "->", "needsStackRealignment", "(", "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": "ARMFrameLowering25", "Func": "hasFP", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4432, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetMachine", "::", "addPreEmitPass", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "!", "DisableLdStOpti", "&&", "!", "Subtarget", ".", "isThumb", "(", ")", ")", "PM", ".", "add", "(", "createARMLoadStoreOptimizationPass", "(", ")", ")", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "!", "DisableIfConversion", "&&", "!", "Subtarget", ".", "isThumb", "(", ")", ")", "PM", ".", "add", "(", "createIfConverterPass", "(", ")", ")", ";", "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", "ARM"], "File": "ARMTargetMachine26", "Func": "addPreEmitPass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4433, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CJGFrameLowering", "::", "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", "(", "CJG", "::", "POP", ")", ",", "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": ["CJG", "CJG", "0", "CJG::POP"], "File": "CJGFrameLowering", "Func": "restoreCalleeSavedRegisters", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4434, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64FrameLowering", "::", "orderFrameObjects", "(", "const", "MachineFunction", "&", "MF", ",", "SmallVectorImpl", "<", "int", ">", "&", "ObjectsToAllocate", ")", "const", "{", "if", "(", "!", "OrderFrameObjects", "||", "ObjectsToAllocate", ".", "empty", "(", ")", ")", "return", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "std", "::", "vector", "<", "FrameObject", ">", "FrameObjects", "(", "MFI", ".", "getObjectIndexEnd", "(", ")", ")", ";", "for", "(", "auto", "&", "Obj", ":", "ObjectsToAllocate", ")", "{", "FrameObjects", "[", "Obj", "]", ".", "IsValid", "=", "true", ";", "FrameObjects", "[", "Obj", "]", ".", "ObjectIndex", "=", "Obj", ";", "}", "GroupBuilder", "GB", "(", "FrameObjects", ")", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "if", "(", "MI", ".", "isDebugInstr", "(", ")", ")", "continue", ";", "int", "OpIndex", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "AArch64", "::", "STGloop", ":", "case", "AArch64", "::", "STZGloop", ":", "OpIndex", "=", "3", ";", "break", ";", "case", "AArch64", "::", "STGOffset", ":", "case", "AArch64", "::", "STZGOffset", ":", "case", "AArch64", "::", "ST2GOffset", ":", "case", "AArch64", "::", "STZ2GOffset", ":", "OpIndex", "=", "1", ";", "break", ";", "default", ":", "OpIndex", "=", "-", "1", ";", "}", "int", "TaggedFI", "=", "-", "1", ";", "if", "(", "OpIndex", ">=", "0", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpIndex", ")", ";", "if", "(", "MO", ".", "isFI", "(", ")", ")", "{", "int", "FI", "=", "MO", ".", "getIndex", "(", ")", ";", "if", "(", "FI", ">=", "0", "&&", "FI", "<", "MFI", ".", "getObjectIndexEnd", "(", ")", "&&", "FrameObjects", "[", "FI", "]", ".", "IsValid", ")", "TaggedFI", "=", "FI", ";", "}", "}", "if", "(", "TaggedFI", ">=", "0", ")", "GB", ".", "AddMember", "(", "TaggedFI", ")", ";", "else", "GB", ".", "EndCurrentGroup", "(", ")", ";", "}", "GB", ".", "EndCurrentGroup", "(", ")", ";", "}", "const", "AArch64FunctionInfo", "&", "AFI", "=", "*", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "Optional", "<", "int", ">", "TBPI", "=", "AFI", ".", "getTaggedBasePointerIndex", "(", ")", ";", "if", "(", "TBPI", ")", "{", "FrameObjects", "[", "*", "TBPI", "]", ".", "ObjectFirst", "=", "true", ";", "FrameObjects", "[", "*", "TBPI", "]", ".", "GroupFirst", "=", "true", ";", "int", "FirstGroupIndex", "=", "FrameObjects", "[", "*", "TBPI", "]", ".", "GroupIndex", ";", "if", "(", "FirstGroupIndex", ">=", "0", ")", "for", "(", "FrameObject", "&", "Object", ":", "FrameObjects", ")", "if", "(", "Object", ".", "GroupIndex", "==", "FirstGroupIndex", ")", "Object", ".", "GroupFirst", "=", "true", ";", "}", "llvm", "::", "stable_sort", "(", "FrameObjects", ",", "FrameObjectCompare", ")", ";", "int", "i", "=", "0", ";", "for", "(", "auto", "&", "Obj", ":", "FrameObjects", ")", "{", "if", "(", "!", "Obj", ".", "IsValid", ")", "break", ";", "ObjectsToAllocate", "[", "i", "++", "]", "=", "Obj", ".", "ObjectIndex", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Final frame order:\\n\"", ";", "for", "(", "auto", "&", "Obj", ":", "FrameObjects", ")", "{", "if", "(", "!", "Obj", ".", "IsValid", ")", "break", ";", "dbgs", "(", ")", "<<", "\" \"", "<<", "Obj", ".", "ObjectIndex", "<<", "\": group \"", "<<", "Obj", ".", "GroupIndex", ";", "if", "(", "Obj", ".", "ObjectFirst", ")", "dbgs", "(", ")", "<<", "\", first\"", ";", "if", "(", "Obj", ".", "GroupFirst", ")", "dbgs", "(", ")", "<<", "\", group-first\"", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ";", "}", ")", ";", "}", ""], "natrual_language": ["Order", "the", "symbols", "in", "the", "local", "stack", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::STGloop", "AArch64::STZGloop", "3", "AArch64::STGOffset", "AArch64::STZGOffset", "AArch64::ST2GOffset", "AArch64::STZ2GOffset", "1", "1", "1", "0", "0", "0", "AArch64", "AArch64", "0", "0", "\"Final frame order:\\n\"", "\" \"", "\": group \"", "\", first\"", "\", group-first\"", "\"\\n\""], "File": "AArch64FrameLowering (2)1", "Func": "orderFrameObjects", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4435, "Length": 491, "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", ")", ";", "}", "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", "Mips"], "File": "MipsSEISelLowering12", "Func": "LowerOperation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4436, "Length": 247, "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": 4437, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "vector_init_bshuffle", "(", "rtx", "target", ",", "rtx", "elt", ",", "machine_mode", "mode", ",", "machine_mode", "inner_mode", ")", "{", "rtx", "t1", ",", "final_insn", ",", "sel", ";", "int", "bmask", ";", "t1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "elt", "=", "convert_modes", "(", "SImode", ",", "inner_mode", ",", "elt", ",", "true", ")", ";", "emit_move_insn", "(", "gen_lowpart", "(", "SImode", ",", "t1", ")", ",", "elt", ")", ";", "switch", "(", "mode", ")", "{", "case", "V2SImode", ":", "final_insn", "=", "gen_bshufflev2si_vis", "(", "target", ",", "t1", ",", "t1", ")", ";", "bmask", "=", "0x45674567", ";", "break", ";", "case", "V4HImode", ":", "final_insn", "=", "gen_bshufflev4hi_vis", "(", "target", ",", "t1", ",", "t1", ")", ";", "bmask", "=", "0x67676767", ";", "break", ";", "case", "V8QImode", ":", "final_insn", "=", "gen_bshufflev8qi_vis", "(", "target", ",", "t1", ",", "t1", ")", ";", "bmask", "=", "0x77777777", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "sel", "=", "force_reg", "(", "SImode", ",", "GEN_INT", "(", "bmask", ")", ")", ";", "emit_insn", "(", "gen_bmasksi_vis", "(", "gen_reg_rtx", "(", "SImode", ")", ",", "sel", ",", "const0_rtx", ")", ")", ";", "emit_insn", "(", "final_insn", ")", ";", "}", ""], "natrual_language": ["Subroutine", "of", "sparc_expand_vector_init", ".", "Emit", "code", "to", "initialize", "all", "fields", "of", "TARGET", "to", "ELT", "by", "means", "of", "VIS2", "BSHUFFLE", "insn", ".", "MODE", "and", "INNER_MODE", "are", "the", "modes", "describing", "TARGET", "."], "TS_V_token": ["sparc", "0x45674567", "0x67676767", "0x77777777"], "File": "sparc6", "Func": "vector_init_bshuffle", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4438, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "iamcu_alignment", "(", "tree", "type", ",", "int", "align", ")", "{", "machine_mode", "mode", ";", "if", "(", "align", "<", "32", "||", "TYPE_USER_ALIGN", "(", "type", ")", ")", "return", "align", ";", "type", "=", "strip_array_types", "(", "type", ")", ";", "if", "(", "TYPE_ATOMIC", "(", "type", ")", ")", "return", "align", ";", "mode", "=", "TYPE_MODE", "(", "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": "i386", "Func": "iamcu_alignment", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4439, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "LegalizerInfo", "*", "getLegalizerInfo", "(", ")", "const", "override", "{", "return", "nullptr", ";", "}", ""], "natrual_language": ["Expose", "LegalizerInfo", "so", "the", "clients", "can", "re-use", "."], "TS_V_token": ["X86"], "File": "X86TargetMachine45", "Func": "getLegalizerInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4440, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_n13_last_load_to_e2_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "rtx", "last_def_reg", "=", "extract_nth_access_reg", "(", "producer", ",", "-", "1", ")", ";", "return", "n13_consumed_by_e2_dep_p", "(", "consumer", ",", "last_def_reg", ")", ";", "}", ""], "natrual_language": ["Check", "dependencies", "from", "LMW", "(", "N", ",", "N", ")", "to", "E2", "."], "TS_V_token": ["nds32", "1"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n13_last_load_to_e2_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4441, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_cprestore_slot", "(", "rtx", "temp", ",", "bool", "load_p", ")", "{", "rtx", "base", ";", "HOST_WIDE_INT", "offset", ";", "mips_get_cprestore_base_and_offset", "(", "&", "base", ",", "&", "offset", ",", "load_p", ")", ";", "return", "gen_frame_mem", "(", "Pmode", ",", "mips_add_offset", "(", "temp", ",", "base", ",", "offset", ")", ")", ";", "}", ""], "natrual_language": ["Return", "a", "MEM", "rtx", "for", "the", "cprestore", "slot", ".", "LOAD_P", "is", "true", "if", "we", "are", "going", "to", "load", "from", "it", ",", "false", "if", "we", "are", "going", "to", "store", "to", "it", ".", "Use", "TEMP", "as", "a", "temporary", "register", "if", "need", "be", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_cprestore_slot", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4442, "Length": 44, "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": 4443, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "LoongArchSubtarget", ">", "(", ")", ";", "return", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["LoongArch", "LoongArch"], "File": "LoongArchISelDAGToDAG", "Func": "runOnMachineFunction", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4444, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Mips", "::", "RDHWR", ":", "case", "Mips", "::", "RDHWR64", ":", "O", "<<", "\"\\t.set\\tpush\\n\"", ";", "O", "<<", "\"\\t.set\\tmips32r2\\n\"", ";", "break", ";", "case", "Mips", "::", "Save16", ":", "O", "<<", "\"\\tsave\\t\"", ";", "printSaveRestore", "(", "MI", ",", "O", ")", ";", "O", "<<", "\" # 16 bit inst\\n\"", ";", "return", ";", "case", "Mips", "::", "SaveX16", ":", "O", "<<", "\"\\tsave\\t\"", ";", "printSaveRestore", "(", "MI", ",", "O", ")", ";", "O", "<<", "\"\\n\"", ";", "return", ";", "case", "Mips", "::", "Restore16", ":", "O", "<<", "\"\\trestore\\t\"", ";", "printSaveRestore", "(", "MI", ",", "O", ")", ";", "O", "<<", "\" # 16 bit inst\\n\"", ";", "return", ";", "case", "Mips", "::", "RestoreX16", ":", "O", "<<", "\"\\trestore\\t\"", ";", "printSaveRestore", "(", "MI", ",", "O", ")", ";", "O", "<<", "\"\\n\"", ";", "return", ";", "}", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "O", ")", "&&", "!", "printAlias", "(", "*", "MI", ",", "O", ")", ")", "printInstruction", "(", "MI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Mips", "::", "RDHWR", ":", "case", "Mips", "::", "RDHWR64", ":", "O", "<<", "\"\\n\\t.set\\tpop\"", ";", "}", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["Mips", "Mips", "Mips::RDHWR", "Mips::RDHWR64", "\"\\t.set\\tpush\\n\"", "\"\\t.set\\tmips32r2\\n\"", "Mips::Save16", "\"\\tsave\\t\"", "\" # 16 bit inst\\n\"", "Mips::SaveX16", "\"\\tsave\\t\"", "\"\\n\"", "Mips::Restore16", "\"\\trestore\\t\"", "\" # 16 bit inst\\n\"", "Mips::RestoreX16", "\"\\trestore\\t\"", "\"\\n\"", "Mips::RDHWR", "Mips::RDHWR64", "\"\\n\\t.set\\tpop\""], "File": "MipsInstPrinter12", "Func": "printInst", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4445, "Length": 207, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "X86TTIImpl", "::", "getGatherScatterOpCost", "(", "unsigned", "Opcode", ",", "Type", "*", "SrcVTy", ",", "const", "Value", "*", "Ptr", ",", "bool", "VariableMask", ",", "Align", "Alignment", ",", "TTI", "::", "TargetCostKind", "CostKind", ",", "const", "Instruction", "*", "I", "=", "nullptr", ")", "{", "if", "(", "CostKind", "!=", "TTI", "::", "TCK_RecipThroughput", ")", "{", "if", "(", "(", "Opcode", "==", "Instruction", "::", "Load", "&&", "isLegalMaskedGather", "(", "SrcVTy", ",", "Align", "(", "Alignment", ")", ")", "&&", "!", "forceScalarizeMaskedGather", "(", "cast", "<", "VectorType", ">", "(", "SrcVTy", ")", ",", "Align", "(", "Alignment", ")", ")", ")", "||", "(", "Opcode", "==", "Instruction", "::", "Store", "&&", "isLegalMaskedScatter", "(", "SrcVTy", ",", "Align", "(", "Alignment", ")", ")", "&&", "!", "forceScalarizeMaskedScatter", "(", "cast", "<", "VectorType", ">", "(", "SrcVTy", ")", ",", "Align", "(", "Alignment", ")", ")", ")", ")", "return", "1", ";", "return", "BaseT", "::", "getGatherScatterOpCost", "(", "Opcode", ",", "SrcVTy", ",", "Ptr", ",", "VariableMask", ",", "Alignment", ",", "CostKind", ",", "I", ")", ";", "}", "assert", "(", "SrcVTy", "->", "isVectorTy", "(", ")", "&&", "\"Unexpected data type for Gather/Scatter\"", ")", ";", "PointerType", "*", "PtrTy", "=", "dyn_cast", "<", "PointerType", ">", "(", "Ptr", "->", "getType", "(", ")", ")", ";", "if", "(", "!", "PtrTy", "&&", "Ptr", "->", "getType", "(", ")", "->", "isVectorTy", "(", ")", ")", "PtrTy", "=", "dyn_cast", "<", "PointerType", ">", "(", "cast", "<", "VectorType", ">", "(", "Ptr", "->", "getType", "(", ")", ")", "->", "getElementType", "(", ")", ")", ";", "assert", "(", "PtrTy", "&&", "\"Unexpected type for Ptr argument\"", ")", ";", "unsigned", "AddressSpace", "=", "PtrTy", "->", "getAddressSpace", "(", ")", ";", "if", "(", "(", "Opcode", "==", "Instruction", "::", "Load", "&&", "(", "!", "isLegalMaskedGather", "(", "SrcVTy", ",", "Align", "(", "Alignment", ")", ")", "||", "forceScalarizeMaskedGather", "(", "cast", "<", "VectorType", ">", "(", "SrcVTy", ")", ",", "Align", "(", "Alignment", ")", ")", ")", ")", "||", "(", "Opcode", "==", "Instruction", "::", "Store", "&&", "(", "!", "isLegalMaskedScatter", "(", "SrcVTy", ",", "Align", "(", "Alignment", ")", ")", "||", "forceScalarizeMaskedScatter", "(", "cast", "<", "VectorType", ">", "(", "SrcVTy", ")", ",", "Align", "(", "Alignment", ")", ")", ")", ")", ")", "return", "getGSScalarCost", "(", "Opcode", ",", "SrcVTy", ",", "VariableMask", ",", "Alignment", ",", "AddressSpace", ")", ";", "return", "getGSVectorCost", "(", "Opcode", ",", "SrcVTy", ",", "Ptr", ",", "Alignment", ",", "AddressSpace", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "Gather", "/", "Scatter", "operation", "."], "TS_V_token": ["X86", "X86", "1", "\"Unexpected data type for Gather/Scatter\"", "\"Unexpected type for Ptr argument\""], "File": "X86TargetTransformInfo10", "Func": "getGatherScatterOpCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4446, "Length": 328, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64MCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "verifyInstructionPredicates", "(", "MI", ",", "computeAvailableFeatures", "(", "STI", ".", "getFeatureBits", "(", ")", ")", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "TLSDESCCALL", ")", "{", "auto", "Reloc", "=", "STI", ".", "getTargetTriple", "(", ")", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "GNUILP32", "?", "ELF", "::", "R_AARCH64_P32_TLSDESC_CALL", ":", "ELF", "::", "R_AARCH64_TLSDESC_CALL", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "MI", ".", "getOperand", "(", "0", ")", ".", "getExpr", "(", ")", ",", "MCFixupKind", "(", "FirstLiteralRelocationKind", "+", "Reloc", ")", ")", ")", ";", "return", ";", "}", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "CompilerBarrier", "||", "MI", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "SPACE", ")", "{", "return", ";", "}", "uint64_t", "Binary", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "support", "::", "endian", "::", "write", "<", "uint32_t", ">", "(", "OS", ",", "Binary", ",", "support", "::", "little", ")", ";", "++", "MCNumEmitted", ";", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::TLSDESCCALL", "0", "0", "AArch64::CompilerBarrier", "AArch64::SPACE", "support::endian", "support::little"], "File": "AArch64MCCodeEmitter15", "Func": "encodeInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4447, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "CallLowering", "*", "PPCSubtarget", "::", "getCallLowering", "(", ")", "const", "{", "return", "CallLoweringInfo", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Methods", "used", "by", "Global", "ISel", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCSubtarget13", "Func": "getCallLowering", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4448, "Length": 18, "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": 4449, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arm_expand_unop_builtin", "(", "enum", "insn_code", "icode", ",", "tree", "arglist", ",", "rtx", "target", ",", "int", "do_load", ")", "{", "rtx", "pat", ";", "tree", "arg0", "=", "TREE_VALUE", "(", "arglist", ")", ";", "rtx", "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", "(", "!", "target", "||", "GET_MODE", "(", "target", ")", "!=", "tmode", "||", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "predicate", ")", "(", "target", ",", "tmode", ")", ")", "target", "=", "gen_reg_rtx", "(", "tmode", ")", ";", "if", "(", "do_load", ")", "op0", "=", "gen_rtx_MEM", "(", "mode0", ",", "copy_to_mode_reg", "(", "Pmode", ",", "op0", ")", ")", ";", "else", "{", "if", "(", "VECTOR_MODE_P", "(", "mode0", ")", ")", "op0", "=", "safe_vector_operand", "(", "op0", ",", "mode0", ")", ";", "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", "arm_expand_builtin", "to", "take", "care", "of", "unop", "insns", "."], "TS_V_token": ["arm", "0", "0", "1", "0", "1", "0"], "File": "arm3", "Func": "arm_expand_unop_builtin", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4450, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isCall", "(", "unsigned", "Opcode", ",", "bool", "*", "IsIndirectCall", ")", "{", "*", "IsIndirectCall", "=", "false", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "false", ";", "case", "Mips", "::", "JAL", ":", "case", "Mips", "::", "BAL_BR", ":", "case", "Mips", "::", "BLTZAL", ":", "case", "Mips", "::", "BGEZAL", ":", "return", "true", ";", "case", "Mips", "::", "JALR", ":", "*", "IsIndirectCall", "=", "true", ";", "return", "true", ";", "}", "}", ""], "natrual_language": ["Is", "a", "function", "call", "."], "TS_V_token": ["Mips", "Mips::JAL", "Mips::BAL_BR", "Mips::BLTZAL", "Mips::BGEZAL", "Mips::JALR"], "File": "MipsNaClELFStreamer11", "Func": "isCall", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4451, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_mode_exit", "(", "int", "entity", ")", "{", "switch", "(", "entity", ")", "{", "case", "X86_DIRFLAG", ":", "return", "X86_DIRFLAG_ANY", ";", "case", "AVX_U128", ":", "return", "ix86_avx_u128_mode_exit", "(", ")", ";", "case", "I387_TRUNC", ":", "case", "I387_FLOOR", ":", "case", "I387_CEIL", ":", "case", "I387_MASK_PM", ":", "return", "I387_CW_ANY", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "a", "mode", "that", "ENTITY", "is", "assumed", "to", "be", "switched", "to", "at", "function", "exit", "."], "TS_V_token": ["i386"], "File": "i3866", "Func": "ix86_mode_exit", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4452, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_masks_and_shift_for_bfi_p", "(", "scalar_int_mode", "mode", ",", "unsigned", "HOST_WIDE_INT", "mask1", ",", "unsigned", "HOST_WIDE_INT", "shft_amnt", ",", "unsigned", "HOST_WIDE_INT", "mask2", ")", "{", "unsigned", "HOST_WIDE_INT", "t", ";", "if", "(", "mask1", "!=", "~", "mask2", ")", "return", "false", ";", "if", "(", "mask2", "==", "0", "||", "mask2", "==", "HOST_WIDE_INT_M1U", ")", "return", "false", ";", "gcc_assert", "(", "shft_amnt", "<", "GET_MODE_BITSIZE", "(", "mode", ")", ")", ";", "t", "=", "mask2", "+", "(", "HOST_WIDE_INT_1U", "<<", "shft_amnt", ")", ";", "return", "(", "t", "==", "(", "t", "&", "-", "t", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "masks", "and", "a", "shift", "amount", "from", "an", "RTX", "of", "the", "form", "(", "(", "x", "&", "MASK1", ")", "|", "(", "(", "y", "<", "<", "SHIFT_AMNT", ")", "&", "MASK2", ")", ")", "are", "valid", "to", "combine", "into", "a", "BFI", "instruction", "of", "mode", "MODE", ".", "See", "*", "arch64_bfi", "patterns", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64", "Func": "aarch64_masks_and_shift_for_bfi_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4453, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "emitSPUpdate", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "int64_t", "NumBytes", ",", "bool", "InEpilogue", ")", "const", "{", "bool", "isSub", "=", "NumBytes", "<", "0", ";", "uint64_t", "Offset", "=", "isSub", "?", "-", "NumBytes", ":", "NumBytes", ";", "uint64_t", "Chunk", "=", "(", "1LL", "<<", "31", ")", "-", "1", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MBBI", ")", ";", "if", "(", "Offset", "==", "0", ")", "{", "MachineInstrBuilder", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "X86", "::", "SUB64ri8", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "0", ")", ";", "if", "(", "!", "InEpilogue", ")", "MI", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "else", "MI", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameDestroy", ")", ";", "}", "while", "(", "Offset", ")", "{", "if", "(", "Offset", ">", "Chunk", ")", "{", "unsigned", "Reg", "=", "0", ";", "if", "(", "isSub", "&&", "!", "isEAXLiveIn", "(", "MBB", ")", ")", "Reg", "=", "(", "unsigned", ")", "(", "Is64Bit", "?", "X86", "::", "RAX", ":", "X86", "::", "EAX", ")", ";", "else", "Reg", "=", "findDeadCallerSavedReg", "(", "MBB", ",", "MBBI", ",", "TRI", ",", "Is64Bit", ")", ";", "if", "(", "Reg", ")", "{", "unsigned", "Opc", "=", "Is64Bit", "?", "X86", "::", "MOV64ri", ":", "X86", "::", "MOV32ri", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "Reg", ")", ".", "addImm", "(", "Offset", ")", ";", "Opc", "=", "isSub", "?", "getSUBrrOpcode", "(", "Is64Bit", ")", ":", "getADDrrOpcode", "(", "Is64Bit", ")", ";", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addReg", "(", "Reg", ")", ";", "MI", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "Offset", "=", "0", ";", "continue", ";", "}", "}", "uint64_t", "ThisVal", "=", "std", "::", "min", "(", "Offset", ",", "Chunk", ")", ";", "if", "(", "ThisVal", "==", "(", "Is64Bit", "?", "8", ":", "4", ")", "&&", "false", ")", "{", "unsigned", "Reg", "=", "isSub", "?", "(", "unsigned", ")", "(", "Is64Bit", "?", "X86", "::", "RAX", ":", "X86", "::", "EAX", ")", ":", "findDeadCallerSavedReg", "(", "MBB", ",", "MBBI", ",", "TRI", ",", "Is64Bit", ")", ";", "if", "(", "Reg", ")", "{", "unsigned", "Opc", "=", "isSub", "?", "(", "Is64Bit", "?", "X86", "::", "PUSH64r", ":", "X86", "::", "PUSH32r", ")", ":", "(", "Is64Bit", "?", "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", ")", ";", "else", "MI", "->", "setFlag", "(", "MachineInstr", "::", "FrameDestroy", ")", ";", "Offset", "-=", "ThisVal", ";", "continue", ";", "}", "}", "MachineInstrBuilder", "MI", "=", "BuildStackAdjustment", "(", "MBB", ",", "MBBI", ",", "DL", ",", "isSub", "?", "-", "ThisVal", ":", "ThisVal", ",", "InEpilogue", ")", ";", "if", "(", "isSub", ")", "MI", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "else", "MI", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameDestroy", ")", ";", "Offset", "-=", "ThisVal", ";", "}", "}", ""], "natrual_language": ["Emit", "a", "series", "of", "instructions", "to", "increment", "/", "decrement", "the", "stack", "pointer", "by", "a", "constant", "value", "."], "TS_V_token": ["X86", "X86", "0", "1LL", "31", "1", "0", "X86::SUB64ri8", "0", "0", "X86::RAX", "X86::EAX", "X86::MOV64ri", "X86::MOV32ri", "3", "0", "8", "4", "X86::RAX", "X86::EAX", "X86::PUSH64r", "X86::PUSH32r", "X86::POP64r", "X86::POP32r"], "File": "X86FrameLowering8", "Func": "emitSPUpdate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4454, "Length": 499, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_handle_vis_mul8x16", "(", "tree", "*", "n_elts", ",", "enum", "sparc_builtins", "fncode", ",", "tree", "inner_type", ",", "tree", "cst0", ",", "tree", "cst1", ")", "{", "unsigned", "i", ",", "num", "=", "VECTOR_CST_NELTS", "(", "cst0", ")", ";", "int", "scale", ";", "switch", "(", "fncode", ")", "{", "case", "SPARC_BUILTIN_FMUL8X16", ":", "for", "(", "i", "=", "0", ";", "i", "<", "num", ";", "++", "i", ")", "{", "int", "val", "=", "sparc_vis_mul8x16", "(", "TREE_INT_CST_LOW", "(", "VECTOR_CST_ELT", "(", "cst0", ",", "i", ")", ")", ",", "TREE_INT_CST_LOW", "(", "VECTOR_CST_ELT", "(", "cst1", ",", "i", ")", ")", ")", ";", "n_elts", "[", "i", "]", "=", "build_int_cst", "(", "inner_type", ",", "val", ")", ";", "}", "break", ";", "case", "SPARC_BUILTIN_FMUL8X16AU", ":", "scale", "=", "TREE_INT_CST_LOW", "(", "VECTOR_CST_ELT", "(", "cst1", ",", "0", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "num", ";", "++", "i", ")", "{", "int", "val", "=", "sparc_vis_mul8x16", "(", "TREE_INT_CST_LOW", "(", "VECTOR_CST_ELT", "(", "cst0", ",", "i", ")", ")", ",", "scale", ")", ";", "n_elts", "[", "i", "]", "=", "build_int_cst", "(", "inner_type", ",", "val", ")", ";", "}", "break", ";", "case", "SPARC_BUILTIN_FMUL8X16AL", ":", "scale", "=", "TREE_INT_CST_LOW", "(", "VECTOR_CST_ELT", "(", "cst1", ",", "1", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "num", ";", "++", "i", ")", "{", "int", "val", "=", "sparc_vis_mul8x16", "(", "TREE_INT_CST_LOW", "(", "VECTOR_CST_ELT", "(", "cst0", ",", "i", ")", ")", ",", "scale", ")", ";", "n_elts", "[", "i", "]", "=", "build_int_cst", "(", "inner_type", ",", "val", ")", ";", "}", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Multiply", "the", "vector", "elements", "in", "ELTS0", "to", "the", "elements", "in", "ELTS1", "as", "specified", "by", "FNCODE", ".", "All", "of", "the", "elements", "in", "ELTS0", "and", "ELTS1", "lists", "must", "be", "integer", "constants", ".", "A", "tree", "list", "with", "the", "results", "of", "the", "multiplications", "is", "returned", ",", "and", "each", "element", "in", "the", "list", "is", "of", "INNER_TYPE", "."], "TS_V_token": ["sparc", "0", "0", "0", "1", "0"], "File": "sparc4", "Func": "sparc_handle_vis_mul8x16", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4455, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "KudeyarInstPrinter", "::", "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": ["Kudeyar", "Kudeyar"], "File": "KudeyarInstPrinter", "Func": "printInst", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4456, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "X86TargetLowering", "::", "LowerXConstraint", "(", "EVT", "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": "X86ISelLowering (2)6", "Func": "LowerXConstraint", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4457, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SystemZRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "SystemZ", "::", "R11D", ":", "SystemZ", "::", "R15D", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ::R11D", "SystemZ::R15D"], "File": "SystemZRegisterInfo", "Func": "getFrameRegister", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4458, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "timode_check_non_convertible_regs", "(", "bitmap", "candidates", ",", "bitmap", "regs", ",", "unsigned", "int", "regno", ")", "{", "if", "(", "bitmap_bit_p", "(", "regs", ",", "regno", ")", "||", "HARD_REGISTER_NUM_P", "(", "regno", ")", ")", "return", ";", "for", "(", "df_ref", "def", "=", "DF_REG_DEF_CHAIN", "(", "regno", ")", ";", "def", ";", "def", "=", "DF_REF_NEXT_REG", "(", "def", ")", ")", "{", "if", "(", "!", "bitmap_bit_p", "(", "candidates", ",", "DF_REF_INSN_UID", "(", "def", ")", ")", ")", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"r%d has non convertible def in insn %d\\n\"", ",", "regno", ",", "DF_REF_INSN_UID", "(", "def", ")", ")", ";", "bitmap_set_bit", "(", "regs", ",", "regno", ")", ";", "break", ";", "}", "}", "for", "(", "df_ref", "ref", "=", "DF_REG_USE_CHAIN", "(", "regno", ")", ";", "ref", ";", "ref", "=", "DF_REF_NEXT_REG", "(", "ref", ")", ")", "{", "if", "(", "NONDEBUG_INSN_P", "(", "DF_REF_INSN", "(", "ref", ")", ")", "&&", "!", "bitmap_bit_p", "(", "candidates", ",", "DF_REF_INSN_UID", "(", "ref", ")", ")", ")", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"r%d has non convertible use in insn %d\\n\"", ",", "regno", ",", "DF_REF_INSN_UID", "(", "ref", ")", ")", ";", "bitmap_set_bit", "(", "regs", ",", "regno", ")", ";", "break", ";", "}", "}", "}", ""], "natrual_language": ["For", "a", "register", "REGNO", ",", "scan", "instructions", "for", "its", "defs", "and", "uses", ".", "Put", "REGNO", "in", "REGS", "if", "a", "def", "or", "use", "is", "n't", "in", "CANDIDATES", "."], "TS_V_token": ["i386", "\"r%d has non convertible def in insn %d\\n\"", "\"r%d has non convertible use in insn %d\\n\""], "File": "i386-features1", "Func": "timode_check_non_convertible_regs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4459, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "gimple_folder", "::", "convert_pred", "(", "gimple_seq", "&", "stmts", ",", "tree", "vectype", ",", "unsigned", "int", "argno", ")", "{", "tree", "pred", "=", "gimple_call_arg", "(", "call", ",", "argno", ")", ";", "if", "(", "known_eq", "(", "TYPE_VECTOR_SUBPARTS", "(", "TREE_TYPE", "(", "pred", ")", ")", ",", "TYPE_VECTOR_SUBPARTS", "(", "vectype", ")", ")", ")", "return", "pred", ";", "return", "gimple_build", "(", "&", "stmts", ",", "VIEW_CONVERT_EXPR", ",", "truth_type_for", "(", "vectype", ")", ",", "pred", ")", ";", "}", ""], "natrual_language": ["Convert", "predicate", "argument", "ARGNO", "so", "that", "it", "has", "the", "type", "appropriate", "for", "an", "operation", "on", "VECTYPE", ".", "Add", "any", "new", "statements", "to", "STMTS", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "convert_pred", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4460, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCTargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "KnownBits", "&", "Known", ",", "const", "APInt", "&", "DemandedElts", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "Known", ".", "resetAll", "(", ")", ";", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "PPCISD", "::", "LBRX", ":", "{", "if", "(", "cast", "<", "VTSDNode", ">", "(", "Op", ".", "getOperand", "(", "2", ")", ")", "->", "getVT", "(", ")", "==", "MVT", "::", "i16", ")", "Known", ".", "Zero", "=", "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_vcmpequq_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_vcmpgtsq_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", ":", "case", "Intrinsic", "::", "ppc_altivec_vcmpgtuq_p", ":", "Known", ".", "Zero", "=", "~", "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", "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_vcmpequq_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_vcmpgtsq_p", "Intrinsic::ppc_altivec_vcmpgtub_p", "Intrinsic::ppc_altivec_vcmpgtuh_p", "Intrinsic::ppc_altivec_vcmpgtuw_p", "Intrinsic::ppc_altivec_vcmpgtud_p", "Intrinsic::ppc_altivec_vcmpgtuq_p", "1U"], "File": "PPCISelLowering109", "Func": "computeKnownBitsForTargetNode", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4461, "Length": 223, "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", ";", "if", "(", "I", "->", "isPseudo", "(", ")", "&&", "!", "Subtarget", "->", "inMips16Mode", "(", ")", ")", "llvm_unreachable", "(", "\"Pseudo opcode found in EmitInstruction()\"", ")", ";", "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", "Mips", "\"Pseudo opcode found in EmitInstruction()\""], "File": "MipsAsmPrinter11", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4462, "Length": 136, "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": 4463, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "Cpu0AsmBackend", "::", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "Cpu0", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_Cpu0_32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_Cpu0_HI16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Cpu0_LO16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Cpu0_GPREL16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Cpu0_GOT\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Cpu0_PC16\"", ",", "0", ",", "16", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_Cpu0_PC24\"", ",", "0", ",", "24", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_Cpu0_CALL16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Cpu0_TLSGD\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Cpu0_GOTTP\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Cpu0_TP_HI\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Cpu0_TP_LO\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Cpu0_TLSLDM\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Cpu0_DTP_HI\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Cpu0_DTP_LO\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"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", "Cpu0::NumTargetFixupKinds", "\"fixup_Cpu0_32\"", "0", "32", "0", "\"fixup_Cpu0_HI16\"", "0", "16", "0", "\"fixup_Cpu0_LO16\"", "0", "16", "0", "\"fixup_Cpu0_GPREL16\"", "0", "16", "0", "\"fixup_Cpu0_GOT\"", "0", "16", "0", "\"fixup_Cpu0_PC16\"", "0", "16", "\"fixup_Cpu0_PC24\"", "0", "24", "\"fixup_Cpu0_CALL16\"", "0", "16", "0", "\"fixup_Cpu0_TLSGD\"", "0", "16", "0", "\"fixup_Cpu0_GOTTP\"", "0", "16", "0", "\"fixup_Cpu0_TP_HI\"", "0", "16", "0", "\"fixup_Cpu0_TP_LO\"", "0", "16", "0", "\"fixup_Cpu0_TLSLDM\"", "0", "16", "0", "\"fixup_Cpu0_DTP_HI\"", "0", "16", "0", "\"fixup_Cpu0_DTP_LO\"", "0", "16", "0", "\"fixup_Cpu0_GOT_HI16\"", "0", "16", "0", "\"fixup_Cpu0_GOT_LO16\"", "0", "16", "0", "\"Invalid kind!\""], "File": "Cpu0AsmBackend", "Func": "getFixupKindInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4464, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86CallFrameOptimization", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "STI", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "TFL", "=", "STI", "->", "getFrameLowering", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "const", "X86RegisterInfo", "&", "RegInfo", "=", "*", "static_cast", "<", "const", "X86RegisterInfo", "*", ">", "(", "STI", "->", "getRegisterInfo", "(", ")", ")", ";", "SlotSize", "=", "RegInfo", ".", "getSlotSize", "(", ")", ";", "assert", "(", "isPowerOf2_32", "(", "SlotSize", ")", "&&", "\"Expect power of 2 stack slot size\"", ")", ";", "Log2SlotSize", "=", "Log2_32", "(", "SlotSize", ")", ";", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", "||", "!", "isLegal", "(", "MF", ")", ")", "return", "false", ";", "unsigned", "FrameSetupOpcode", "=", "TII", "->", "getCallFrameSetupOpcode", "(", ")", ";", "bool", "Changed", "=", "false", ";", "ContextVector", "CallSeqVector", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "FrameSetupOpcode", ")", "{", "CallContext", "Context", ";", "collectCallInfo", "(", "MF", ",", "MBB", ",", "MI", ",", "Context", ")", ";", "CallSeqVector", ".", "push_back", "(", "Context", ")", ";", "}", "if", "(", "!", "isProfitable", "(", "MF", ",", "CallSeqVector", ")", ")", "return", "false", ";", "for", "(", "auto", "CC", ":", "CallSeqVector", ")", "{", "if", "(", "CC", ".", "UsePush", ")", "{", "adjustCallSequence", "(", "MF", ",", "CC", ")", ";", "Changed", "=", "true", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "\"Expect power of 2 stack slot size\""], "File": "X86CallFrameOptimization12", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4465, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "insn_is_store_p", "(", "rtx", "insn", ")", "{", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "body", ")", "==", "SET", "&&", "MEM_P", "(", "SET_DEST", "(", "body", ")", ")", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "body", ")", "!=", "PARALLEL", ")", "return", "0", ";", "rtx", "set", "=", "XVECEXP", "(", "body", ",", "0", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "set", ")", "==", "SET", "&&", "MEM_P", "(", "SET_DEST", "(", "set", ")", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "1", "iff", "INSN", "is", "a", "store", "insn", ",", "including", "permuting", "stores", "that", "represent", "an", "stvxd2x", "instruction", ";", "else", "return", "0", "."], "TS_V_token": ["rs6000", "1", "0", "0", "0", "1", "0"], "File": "rs6000-p8swap", "Func": "insn_is_store_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4466, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "X86RegisterInfo", "::", "getGPRsForTailCall", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "IsWin64", "||", "(", "F", "&&", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "Win64", ")", ")", "return", "&", "X86", "::", "GR64_TCW64RegClass", ";", "else", "if", "(", "Is64Bit", ")", "return", "&", "X86", "::", "GR64_TCRegClass", ";", "bool", "hasHipeCC", "=", "(", "F", "?", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "HiPE", ":", "false", ")", ";", "if", "(", "hasHipeCC", ")", "return", "&", "X86", "::", "GR32RegClass", ";", "return", "&", "X86", "::", "GR32_TCRegClass", ";", "}", ""], "natrual_language": ["getGPRsForTailCall", "-", "Returns", "a", "register", "class", "with", "registers", "that", "can", "be", "used", "in", "forming", "tail", "calls", "."], "TS_V_token": ["X86", "X86", "X86::GR64_TCW64RegClass", "X86::GR64_TCRegClass", "X86::GR32RegClass", "X86::GR32_TCRegClass"], "File": "X86RegisterInfo29", "Func": "getGPRsForTailCall", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4467, "Length": 96, "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", ",", "STI", ")", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "X86", "::", "CALLpcrel32", "&&", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "Is64Bit", "]", ")", ")", "{", "OS", "<<", "\"\\tcallq\\t\"", ";", "printPCRelImm", "(", "MI", ",", "Address", ",", "0", ",", "OS", ")", ";", "}", "else", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "X86", "::", "DATA16_PREFIX", "&&", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "Is16Bit", "]", ")", "{", "OS", "<<", "\"\\tdata32\"", ";", "}", "else", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "Address", ",", "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::Is64Bit", "\"\\tcallq\\t\"", "0", "X86::DATA16_PREFIX", "X86::Is16Bit", "\"\\tdata32\""], "File": "X86ATTInstPrinter30", "Func": "printInst", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4468, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "Node", "*", "getDest", "(", ")", "const", "{", "return", "Dest", ";", "}", ""], "natrual_language": ["Get", "the", "current", "destination", "live", "range", "."], "TS_V_token": ["X86"], "File": "ImmutableGraph", "Func": "getDest", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4469, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "Cpu0RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "return", "CSR_O32_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["Cpu0", "Cpu0"], "File": "Cpu0RegisterInfo", "Func": "getCalleeSavedRegs", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4470, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64MCInstLower", "::", "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", ";", "MCOp", "=", "MCOperand", "::", "createReg", "(", "MO", ".", "getReg", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_RegisterMask", ":", "return", "false", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "MCOp", "=", "MCOperand", "::", "createImm", "(", "MO", ".", "getImm", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "MCOp", "=", "MCOperand", "::", "createExpr", "(", "MCSymbolRefExpr", "::", "create", "(", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ",", "Ctx", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "GetGlobalAddressSymbol", "(", "MO", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "GetExternalSymbolSymbol", "(", "MO", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_MCSymbol", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "MO", ".", "getMCSymbol", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "Printer", ".", "GetJTISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "Printer", ".", "GetCPISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_BlockAddress", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "Printer", ".", "GetBlockAddressSymbol", "(", "MO", ".", "getBlockAddress", "(", ")", ")", ")", ";", "break", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Wrapper", "for", "MCInstLowering.lowerOperand", "(", ")", "for", "the", "tblgen'erated", "pseudo", "lowering", "."], "TS_V_token": ["AArch64", "AArch64", "\"unknown operand type\""], "File": "AArch64MCInstLower1", "Func": "lowerOperand", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4471, "Length": 260, "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", ";", "case", "Mips", "::", "BBIT0", ":", "return", "Mips", "::", "BBIT1", ";", "case", "Mips", "::", "BBIT1", ":", "return", "Mips", "::", "BBIT0", ";", "case", "Mips", "::", "BBIT032", ":", "return", "Mips", "::", "BBIT132", ";", "case", "Mips", "::", "BBIT132", ":", "return", "Mips", "::", "BBIT032", ";", "}", "}", ""], "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", "Mips::BBIT0", "Mips::BBIT1", "Mips::BBIT1", "Mips::BBIT0", "Mips::BBIT032", "Mips::BBIT132", "Mips::BBIT132", "Mips::BBIT032"], "File": "MipsSEInstrInfo12", "Func": "getOppositeBranchOpc", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4472, "Length": 444, "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", "<", "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", ")", ";", "}", "}", ""], "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": "SystemZISelLowering107", "Func": "LowerCall", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4473, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XNCMInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "DestReg", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "llvm_unreachable", "(", "\"Cannot 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": ["XNCM", "XNCM", "\"Cannot load this register from stack slot!\""], "File": "XNCMInstrInfo", "Func": "loadRegFromStackSlot", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4474, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mmix_asm_output_reg_push", "(", "FILE", "*", "stream", ",", "int", "regno", ")", "{", "fprintf", "(", "stream", ",", "\"\\tSUBU %s,%s,8\\n\\tSTOU %s,%s,0\\n\"", ",", "reg_names", "[", "MMIX_STACK_POINTER_REGNUM", "]", ",", "reg_names", "[", "MMIX_STACK_POINTER_REGNUM", "]", ",", "reg_names", "[", "MMIX_OUTPUT_REGNO", "(", "regno", ")", "]", ",", "reg_names", "[", "MMIX_STACK_POINTER_REGNUM", "]", ")", ";", "}", ""], "natrual_language": ["ASM_OUTPUT_REG_PUSH", "."], "TS_V_token": ["mmix", "\"\\tSUBU %s,%s,8\\n\\tSTOU %s,%s,0\\n\""], "File": "mmix", "Func": "mmix_asm_output_reg_push", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4475, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_convert_const_wide_int_to_broadcast", "(", "machine_mode", "mode", ",", "rtx", "op", ")", "{", "if", "(", "!", "TARGET_INTER_UNIT_MOVES_TO_VEC", ")", "return", "nullptr", ";", "if", "(", "!", "TARGET_AVX", "||", "!", "CONST_WIDE_INT_P", "(", "op", ")", "||", "standard_sse_constant_p", "(", "op", ",", "mode", ")", "||", "(", "CONST_WIDE_INT_NUNITS", "(", "op", ")", "*", "HOST_BITS_PER_WIDE_INT", "!=", "GET_MODE_BITSIZE", "(", "mode", ")", ")", ")", "return", "nullptr", ";", "HOST_WIDE_INT", "val", "=", "CONST_WIDE_INT_ELT", "(", "op", ",", "0", ")", ";", "HOST_WIDE_INT", "val_broadcast", ";", "scalar_int_mode", "broadcast_mode", ";", "if", "(", "TARGET_AVX2", "&&", "ix86_broadcast", "(", "val", ",", "GET_MODE_BITSIZE", "(", "QImode", ")", ",", "val_broadcast", ")", ")", "broadcast_mode", "=", "QImode", ";", "else", "if", "(", "TARGET_AVX2", "&&", "ix86_broadcast", "(", "val", ",", "GET_MODE_BITSIZE", "(", "HImode", ")", ",", "val_broadcast", ")", ")", "broadcast_mode", "=", "HImode", ";", "else", "if", "(", "ix86_broadcast", "(", "val", ",", "GET_MODE_BITSIZE", "(", "SImode", ")", ",", "val_broadcast", ")", ")", "broadcast_mode", "=", "SImode", ";", "else", "if", "(", "TARGET_64BIT", "&&", "ix86_broadcast", "(", "val", ",", "GET_MODE_BITSIZE", "(", "DImode", ")", ",", "val_broadcast", ")", ")", "broadcast_mode", "=", "DImode", ";", "else", "return", "nullptr", ";", "for", "(", "int", "i", "=", "1", ";", "i", "<", "CONST_WIDE_INT_NUNITS", "(", "op", ")", ";", "i", "++", ")", "if", "(", "val", "!=", "CONST_WIDE_INT_ELT", "(", "op", ",", "i", ")", ")", "return", "nullptr", ";", "unsigned", "int", "nunits", "=", "(", "GET_MODE_SIZE", "(", "mode", ")", "/", "GET_MODE_SIZE", "(", "broadcast_mode", ")", ")", ";", "machine_mode", "vector_mode", ";", "if", "(", "!", "mode_for_vector", "(", "broadcast_mode", ",", "nunits", ")", ".", "exists", "(", "&", "vector_mode", ")", ")", "gcc_unreachable", "(", ")", ";", "rtx", "target", "=", "gen_reg_rtx", "(", "vector_mode", ")", ";", "bool", "ok", "=", "ix86_expand_vector_init_duplicate", "(", "false", ",", "vector_mode", ",", "target", ",", "GEN_INT", "(", "val_broadcast", ")", ")", ";", "gcc_assert", "(", "ok", ")", ";", "target", "=", "lowpart_subreg", "(", "mode", ",", "target", ",", "vector_mode", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Convert", "the", "CONST_WIDE_INT", "operand", "OP", "to", "broadcast", "in", "MODE", "."], "TS_V_token": ["i386", "0", "1"], "File": "i386-expand1", "Func": "ix86_convert_const_wide_int_to_broadcast", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4476, "Length": 270, "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", ")", ",", "HasX86_64", "(", "false", ")", ",", "HasSSE4A", "(", "false", ")", ",", "HasAVX", "(", "false", ")", ",", "HasFMA3", "(", "false", ")", ",", "HasFMA4", "(", "false", ")", ",", "IsBTMemSlow", "(", "false", ")", ",", "DarwinVers", "(", "0", ")", ",", "IsLinux", "(", "false", ")", ",", "stackAlignment", "(", "8", ")", ",", "MaxInlineSizeThreshold", "(", "128", ")", ",", "Is64Bit", "(", "is64Bit", ")", ",", "TargetType", "(", "isELF", ")", "{", "if", "(", "FloatABIType", "==", "FloatABI", "::", "Default", ")", "FloatABIType", "=", "FloatABI", "::", "Hard", ";", "if", "(", "!", "FS", ".", "empty", "(", ")", ")", "{", "std", "::", "string", "CPU", "=", "GetCurrentX86CPU", "(", ")", ";", "ParseSubtargetFeatures", "(", "FS", ",", "CPU", ")", ";", "}", "else", "{", "AutoDetectSubtargetFeatures", "(", ")", ";", "if", "(", "Is64Bit", "&&", "X86SSELevel", "<", "SSE2", ")", "X86SSELevel", "=", "SSE2", ";", "}", "if", "(", "Is64Bit", ")", "HasX86_64", "=", "true", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"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", ";", "IsLinux", "=", "true", ";", "}", "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", "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": "X86Subtarget36", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4477, "Length": 431, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCFastISel", "::", "isTypeLegal", "(", "Type", "*", "Ty", ",", "MVT", "&", "VT", ")", "{", "EVT", "Evt", "=", "TLI", ".", "getValueType", "(", "Ty", ",", "true", ")", ";", "if", "(", "Evt", "==", "MVT", "::", "Other", "||", "!", "Evt", ".", "isSimple", "(", ")", ")", "return", "false", ";", "VT", "=", "Evt", ".", "getSimpleVT", "(", ")", ";", "return", "TLI", ".", "isTypeLegal", "(", "VT", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "type", "is", "legal", "."], "TS_V_token": ["PowerPC", "PPC", "MVT::Other"], "File": "PPCFastISel1", "Func": "isTypeLegal", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4478, "Length": 61, "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", "::", "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", "::", "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::FCOPYSIGN", "ISD::FABS", "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)", "Func": "LowerOperation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4479, "Length": 346, "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": 4480, "Length": 280, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb2InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "*", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "&", "ARM", "::", "GPRRegClass", "||", "RC", "==", "&", "ARM", "::", "tGPRRegClass", "||", "RC", "==", "&", "ARM", "::", "tcGPRRegClass", "||", "RC", "==", "&", "ARM", "::", "rGPRRegClass", "||", "RC", "==", "&", "ARM", "::", "GPRnopcRegClass", ")", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "t2LDRi12", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ")", ";", "return", ";", "}", "if", "(", "ARM", "::", "GPRPairRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "DestReg", ")", ")", "{", "MachineRegisterInfo", "*", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "MRI", "->", "constrainRegClass", "(", "DestReg", ",", "&", "ARM", "::", "GPRPair_with_gsub_1_in_rGPRRegClass", ")", ";", "}", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "t2LDRDi8", ")", ")", ";", "AddDReg", "(", "MIB", ",", "DestReg", ",", "ARM", "::", "gsub_0", ",", "RegState", "::", "DefineNoRead", ",", "TRI", ")", ";", "AddDReg", "(", "MIB", ",", "DestReg", ",", "ARM", "::", "gsub_1", ",", "RegState", "::", "DefineNoRead", ",", "TRI", ")", ";", "MIB", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "AddDefaultPred", "(", "MIB", ")", ";", "if", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "DestReg", ")", ")", "MIB", ".", "addReg", "(", "DestReg", ",", "RegState", "::", "ImplicitDefine", ")", ";", "return", ";", "}", "ARMBaseInstrInfo", "::", "loadRegFromStackSlot", "(", "MBB", ",", "I", ",", "DestReg", ",", "FI", ",", "RC", ",", "TRI", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM::GPRRegClass", "ARM::tGPRRegClass", "ARM::tcGPRRegClass", "ARM::rGPRRegClass", "ARM::GPRnopcRegClass", "ARM::t2LDRi12", "0", "ARM::GPRPairRegClass", "ARM::GPRPair_with_gsub_1_in_rGPRRegClass", "ARM::t2LDRDi8", "ARM::gsub_0", "ARM::gsub_1", "0", "ARM"], "File": "Thumb2InstrInfo40", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4481, "Length": 350, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_cxx_key_method_may_be_inline", "(", "void", ")", "{", "return", "!", "TARGET_AAPCS_BASED", ";", "}", ""], "natrual_language": ["The", "EABI", "says", "that", "an", "inline", "function", "may", "never", "be", "the", "key", "method", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_cxx_key_method_may_be_inline", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4482, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "function_arg_boundary", "(", "enum", "machine_mode", "mode", ",", "tree", "type", ")", "{", "unsigned", "int", "alignment", ";", "alignment", "=", "type", "?", "TYPE_ALIGN", "(", "type", ")", ":", "GET_MODE_ALIGNMENT", "(", "mode", ")", ";", "if", "(", "alignment", "<", "PARM_BOUNDARY", ")", "alignment", "=", "PARM_BOUNDARY", ";", "if", "(", "alignment", ">", "STACK_BOUNDARY", ")", "alignment", "=", "STACK_BOUNDARY", ";", "return", "alignment", ";", "}", ""], "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", "to", "be", "double", "word", "aligned", ".", "Doubleword", "align", "SPE", "vectors", ".", "Quadword", "align", "Altivec", "vectors", ".", "Quadword", "align", "large", "synthetic", "vector", "types", "."], "TS_V_token": ["mips"], "File": "mips3", "Func": "function_arg_boundary", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4483, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "LLT", "AArch64TargetLowering", "::", "getOptimalMemOpLLT", "(", "const", "MemOp", "&", "Op", ",", "const", "AttributeList", "&", "FuncAttributes", ")", "const", "{", "bool", "CanImplicitFloat", "=", "!", "FuncAttributes", ".", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ";", "bool", "CanUseNEON", "=", "Subtarget", "->", "hasNEON", "(", ")", "&&", "CanImplicitFloat", ";", "bool", "CanUseFP", "=", "Subtarget", "->", "hasFPARMv8", "(", ")", "&&", "CanImplicitFloat", ";", "bool", "IsSmallMemset", "=", "Op", ".", "isMemset", "(", ")", "&&", "Op", ".", "size", "(", ")", "<", "32", ";", "auto", "AlignmentIsAcceptable", "=", "[", "&", "]", "(", "EVT", "VT", ",", "Align", "AlignCheck", ")", "{", "if", "(", "Op", ".", "isAligned", "(", "AlignCheck", ")", ")", "return", "true", ";", "bool", "Fast", ";", "return", "allowsMisalignedMemoryAccesses", "(", "VT", ",", "0", ",", "Align", "(", "1", ")", ",", "MachineMemOperand", "::", "MONone", ",", "&", "Fast", ")", "&&", "Fast", ";", "}", ";", "if", "(", "CanUseNEON", "&&", "Op", ".", "isMemset", "(", ")", "&&", "!", "IsSmallMemset", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "v2i64", ",", "Align", "(", "16", ")", ")", ")", "return", "LLT", "::", "fixed_vector", "(", "2", ",", "64", ")", ";", "if", "(", "CanUseFP", "&&", "!", "IsSmallMemset", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "f128", ",", "Align", "(", "16", ")", ")", ")", "return", "LLT", "::", "scalar", "(", "128", ")", ";", "if", "(", "Op", ".", "size", "(", ")", ">=", "8", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "i64", ",", "Align", "(", "8", ")", ")", ")", "return", "LLT", "::", "scalar", "(", "64", ")", ";", "if", "(", "Op", ".", "size", "(", ")", ">=", "4", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "i32", ",", "Align", "(", "4", ")", ")", ")", "return", "LLT", "::", "scalar", "(", "32", ")", ";", "return", "LLT", "(", ")", ";", "}", ""], "natrual_language": ["LLT", "returning", "variant", "."], "TS_V_token": ["AArch64", "AArch64", "32", "0", "1", "MVT::v2i64", "16", "2", "64", "MVT::f128", "16", "128", "8", "MVT::i64", "8", "64", "4", "MVT::i32", "4", "32"], "File": "AArch64ISelLowering101", "Func": "getOptimalMemOpLLT", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4484, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_mov128_immediate", "(", "rtx", "imm", ")", "{", "if", "(", "GET_CODE", "(", "imm", ")", "==", "CONST_INT", ")", "return", "true", ";", "gcc_assert", "(", "CONST_WIDE_INT_NUNITS", "(", "imm", ")", "==", "2", ")", ";", "rtx", "lo", "=", "GEN_INT", "(", "CONST_WIDE_INT_ELT", "(", "imm", ",", "0", ")", ")", ";", "rtx", "hi", "=", "GEN_INT", "(", "CONST_WIDE_INT_ELT", "(", "imm", ",", "1", ")", ")", ";", "return", "aarch64_internal_mov_immediate", "(", "NULL_RTX", ",", "lo", ",", "false", ",", "DImode", ")", "+", "aarch64_internal_mov_immediate", "(", "NULL_RTX", ",", "hi", ",", "false", ",", "DImode", ")", "<=", "4", ";", "}", ""], "natrual_language": ["Return", "whether", "imm", "is", "a", "128-bit", "immediate", "which", "is", "simple", "enough", "to", "expand", "inline", "."], "TS_V_token": ["aarch64", "2", "0", "1", "4"], "File": "aarch64", "Func": "aarch64_mov128_immediate", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4485, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMElfTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "bool", "isAAPCS_ABI", "=", "static_cast", "<", "const", "ARMTargetMachine", "&", ">", "(", "TM", ")", ".", "TargetABI", "==", "ARMTargetMachine", "::", "ARMABI", "::", "ARM_ABI_AAPCS", ";", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "InitializeELF", "(", "isAAPCS_ABI", ")", ";", "if", "(", "isAAPCS_ABI", ")", "{", "LSDASection", "=", "nullptr", ";", "}", "AttributesSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".ARM.attributes\"", ",", "ELF", "::", "SHT_ARM_ATTRIBUTES", ",", "0", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARMABI::ARM_ABI_AAPCS", "\".ARM.attributes\"", "ARM", "0"], "File": "ARMTargetObjectFile (2)", "Func": "Initialize", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4486, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasFP", "(", "const", "MachineFunction", "&", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["Lanai"], "File": "LanaiFrameLowering", "Func": "hasFP", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4487, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_is_long_call_p", "(", "rtx", "sym", ")", "{", "return", "aarch64_decl_is_long_call_p", "(", "SYMBOL_REF_DECL", "(", "sym", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "calls", "to", "symbol-ref", "SYM", "should", "be", "treated", "as", "long-calls", "(", "ie", "called", "via", "a", "register", ")", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_is_long_call_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4488, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "aarch64_builtin_decl", "(", "unsigned", "int", "code", ",", "bool", "initialize_p", ")", "{", "unsigned", "int", "subcode", "=", "code", ">>", "AARCH64_BUILTIN_SHIFT", ";", "switch", "(", "code", "&", "AARCH64_BUILTIN_CLASS", ")", "{", "case", "AARCH64_BUILTIN_GENERAL", ":", "return", "aarch64_general_builtin_decl", "(", "subcode", ",", "initialize_p", ")", ";", "case", "AARCH64_BUILTIN_SVE", ":", "return", "aarch64_sve", "::", "builtin_decl", "(", "subcode", ",", "initialize_p", ")", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_BUILTIN_DECL", "."], "TS_V_token": ["aarch64", "aarch64_sve::builtin_decl"], "File": "aarch64", "Func": "aarch64_builtin_decl", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4489, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "MipsRegisterInfo", "::", "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": ["Mips", "Mips", "\"What is the dwarf register number\"", "1"], "File": "MipsRegisterInfo14", "Func": "getDwarfRegNum", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4490, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_pre_atomic_barrier", "(", "enum", "memmodel", "model", ")", "{", "if", "(", "need_atomic_barrier_p", "(", "model", ",", "true", ")", ")", "emit_insn", "(", "gen_memory_barrier", "(", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "memory", "barrier", "around", "an", "atomic", "sequence", "according", "to", "MODEL", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_pre_atomic_barrier", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4491, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PPCSubtarget", "&", "PPCSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "initializeEnvironment", "(", ")", ";", "initSubtargetFeatures", "(", "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": ["PowerPC", "PPC", "PPC"], "File": "PPCSubtarget (2)", "Func": "initializeSubtargetDependencies", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4492, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBank", "&", "MipsRegisterBankInfo", "::", "getRegBankFromRegClass", "(", "const", "TargetRegisterClass", "&", "RC", ")", "const", "{", "using", "namespace", "Mips", ";", "switch", "(", "RC", ".", "getID", "(", ")", ")", "{", "case", "Mips", "::", "GPR32RegClassID", ":", "case", "Mips", "::", "CPU16Regs_and_GPRMM16ZeroRegClassID", ":", "case", "Mips", "::", "GPRMM16MovePPairFirstRegClassID", ":", "case", "Mips", "::", "CPU16Regs_and_GPRMM16MovePPairSecondRegClassID", ":", "case", "Mips", "::", "GPRMM16MoveP_and_CPU16Regs_and_GPRMM16ZeroRegClassID", ":", "case", "Mips", "::", "GPRMM16MovePPairFirst_and_GPRMM16MovePPairSecondRegClassID", ":", "case", "Mips", "::", "SP32RegClassID", ":", "return", "getRegBank", "(", "Mips", "::", "GPRBRegBankID", ")", ";", "default", ":", "llvm_unreachable", "(", "\"Register class not supported\"", ")", ";", "}", "}", ""], "natrual_language": ["Get", "a", "register", "bank", "that", "covers", "RC", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips::GPR32RegClassID", "Mips::CPU16Regs_and_GPRMM16ZeroRegClassID", "Mips::GPRMM16MovePPairFirstRegClassID", "Mips::CPU16Regs_and_GPRMM16MovePPairSecondRegClassID", "Mips::GPRMM16MoveP_and_CPU16Regs_and_GPRMM16ZeroRegClassID", "Mips::GPRMM16MovePPairFirst_and_GPRMM16MovePPairSecondRegClassID", "Mips::SP32RegClassID", "Mips::GPRBRegBankID", "\"Register class not supported\""], "File": "MipsRegisterBankInfo", "Func": "getRegBankFromRegClass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4493, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "VETargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Should not custom lower this!\"", ")", ";", "case", "ISD", "::", "ATOMIC_FENCE", ":", "return", "lowerATOMIC_FENCE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ATOMIC_SWAP", ":", "return", "lowerATOMIC_SWAP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "lowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "lowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "lowerDYNAMIC_STACKALLOC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "lowerFRAMEADDR", "(", "Op", ",", "DAG", ",", "*", "this", ",", "Subtarget", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "lowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "return", "lowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "JumpTable", ":", "return", "lowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "lowerLOAD", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BUILD_VECTOR", ":", "return", "lowerBUILD_VECTOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "lowerSTORE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "lowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VAARG", ":", "return", "lowerVAARG", "(", "Op", ",", "DAG", ")", ";", "return", "lowerToVVP", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["VE", "VE", "\"Should not custom lower this!\"", "ISD::ATOMIC_FENCE", "ISD::ATOMIC_SWAP", "ISD::BlockAddress", "ISD::ConstantPool", "ISD::DYNAMIC_STACKALLOC", "ISD::FRAMEADDR", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::JumpTable", "ISD::LOAD", "ISD::BUILD_VECTOR", "VE", "ISD::STORE", "ISD::VASTART", "ISD::VAARG"], "File": "VEISelLowering12", "Func": "LowerOperation", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4494, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmBackend", "::", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "static", "const", "uint8_t", "Nops", "[", "10", "]", "[", "10", "]", "=", "{", "{", "0x90", "}", ",", "{", "0x66", ",", "0x90", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x40", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x44", ",", "0x00", ",", "0x00", "}", ",", "{", "0x66", ",", "0x0f", ",", "0x1f", ",", "0x44", ",", "0x00", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x80", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x84", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "{", "0x66", ",", "0x0f", ",", "0x1f", ",", "0x84", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "{", "0x66", ",", "0x2e", ",", "0x0f", ",", "0x1f", ",", "0x84", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "}", ";", "if", "(", "!", "HasNopl", ")", "{", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "<", "Count", ";", "++", "i", ")", "OW", "->", "write8", "(", "0x90", ")", ";", "return", "true", ";", "}", "do", "{", "const", "uint8_t", "ThisNopLength", "=", "(", "uint8_t", ")", "std", "::", "min", "(", "Count", ",", "MaxNopLength", ")", ";", "const", "uint8_t", "Prefixes", "=", "ThisNopLength", "<=", "10", "?", "0", ":", "ThisNopLength", "-", "10", ";", "for", "(", "uint8_t", "i", "=", "0", ";", "i", "<", "Prefixes", ";", "i", "++", ")", "OW", "->", "write8", "(", "0x66", ")", ";", "const", "uint8_t", "Rest", "=", "ThisNopLength", "-", "Prefixes", ";", "for", "(", "uint8_t", "i", "=", "0", ";", "i", "<", "Rest", ";", "i", "++", ")", "OW", "->", "write8", "(", "Nops", "[", "Rest", "-", "1", "]", "[", "i", "]", ")", ";", "Count", "-=", "ThisNopLength", ";", "}", "while", "(", "Count", "!=", "0", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["X86", "X86", "10", "10", "0x90", "0x66", "0x90", "0x0f", "0x1f", "0x00", "0x0f", "0x1f", "0x40", "0x00", "0x0f", "0x1f", "0x44", "0x00", "0x00", "0x66", "0x0f", "0x1f", "0x44", "0x00", "0x00", "0x0f", "0x1f", "0x80", "0x00", "0x00", "0x00", "0x00", "0x0f", "0x1f", "0x84", "0x00", "0x00", "0x00", "0x00", "0x00", "0x66", "0x0f", "0x1f", "0x84", "0x00", "0x00", "0x00", "0x00", "0x00", "0x66", "0x2e", "0x0f", "0x1f", "0x84", "0x00", "0x00", "0x00", "0x00", "0x00", "0", "0x90", "10", "0", "10", "0", "0x66", "0", "1", "0"], "File": "X86AsmBackend (2)", "Func": "writeNopData", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4495, "Length": 295, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "shouldInsertFencesForAtomic", "(", "const", "Instruction", "*", "I", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Helper", "functions", "for", "atomic", "operations", "."], "TS_V_token": ["PowerPC"], "File": "PPCISelLowering (2)2", "Func": "shouldInsertFencesForAtomic", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4496, "Length": 15, "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", "(", "HasAVX512", ")", "return", "CSR_64_RT_AllRegs_512_RegMask", ";", "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", "::", "SwiftTail", ":", "if", "(", "!", "Is64Bit", ")", "return", "CSR_32_RegMask", ";", "return", "IsWin64", "?", "CSR_Win64_SwiftTail_RegMask", ":", "CSR_64_SwiftTail_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": "X86RegisterInfo (2)1", "Func": "getCallPreservedMask", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4497, "Length": 457, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64A53Fix835769", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** AArch64A53Fix835769 *****\\n\"", ")", ";", "bool", "Changed", "=", "false", ";", "TII", "=", "F", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "for", "(", "auto", "&", "MBB", ":", "F", ")", "{", "Changed", "|=", "runOnBasicBlock", "(", "MBB", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"***** AArch64A53Fix835769 *****\\n\""], "File": "AArch64A53Fix83576920", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4498, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_comp_type_attributes", "(", "const_tree", "type1", ",", "const_tree", "type2", ")", "{", "int", "l1", ",", "l2", ",", "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", ";", "s1", "=", "lookup_attribute", "(", "\"short_call\"", ",", "TYPE_ATTRIBUTES", "(", "type1", ")", ")", "!=", "NULL", ";", "s2", "=", "lookup_attribute", "(", "\"short_call\"", ",", "TYPE_ATTRIBUTES", "(", "type2", ")", ")", "!=", "NULL", ";", "if", "(", "l1", "|", "l2", "|", "s1", "|", "s2", ")", "{", "if", "(", "(", "l1", "!=", "l2", ")", "||", "(", "s1", "!=", "s2", ")", ")", "return", "0", ";", "if", "(", "(", "l1", "&", "s2", ")", "||", "(", "l2", "&", "s1", ")", ")", "return", "0", ";", "}", "l1", "=", "lookup_attribute", "(", "\"isr\"", ",", "TYPE_ATTRIBUTES", "(", "type1", ")", ")", "!=", "NULL", ";", "if", "(", "!", "l1", ")", "l1", "=", "lookup_attribute", "(", "\"interrupt\"", ",", "TYPE_ATTRIBUTES", "(", "type1", ")", ")", "!=", "NULL", ";", "l2", "=", "lookup_attribute", "(", "\"isr\"", ",", "TYPE_ATTRIBUTES", "(", "type2", ")", ")", "!=", "NULL", ";", "if", "(", "!", "l2", ")", "l1", "=", "lookup_attribute", "(", "\"interrupt\"", ",", "TYPE_ATTRIBUTES", "(", "type2", ")", ")", "!=", "NULL", ";", "if", "(", "l1", "!=", "l2", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "0", "if", "the", "attributes", "for", "two", "types", "are", "incompatible", ",", "1", "if", "they", "are", "compatible", ",", "and", "2", "if", "they", "are", "nearly", "compatible", "(", "which", "causes", "a", "warning", "to", "be", "generated", ")", "."], "TS_V_token": ["arm", "1", "\"long_call\"", "\"long_call\"", "\"short_call\"", "\"short_call\"", "0", "0", "\"isr\"", "\"interrupt\"", "\"isr\"", "\"interrupt\"", "0", "1"], "File": "arm4", "Func": "arm_comp_type_attributes", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4499, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "get_spec_unspec_code", "(", "const_rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "!=", "UNSPEC", ")", "return", "-", "1", ";", "{", "int", "code", ";", "code", "=", "XINT", "(", "x", ",", "1", ")", ";", "switch", "(", "code", ")", "{", "case", "UNSPEC_LDA", ":", "case", "UNSPEC_LDS", ":", "case", "UNSPEC_LDS_A", ":", "case", "UNSPEC_LDSA", ":", "return", "code", ";", "default", ":", "return", "-", "1", ";", "}", "}", "}", ""], "natrual_language": ["If", "X", "is", "an", "unspec", "part", "of", "a", "speculative", "load", ",", "return", "its", "code", ".", "Return", "-1", "otherwise", "."], "TS_V_token": ["ia64", "1", "1", "1"], "File": "ia64", "Func": "get_spec_unspec_code", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4500, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "ARMBaseRegisterInfo", "::", "getThisReturnPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "const", "ARMSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "if", "(", "CC", "==", "CallingConv", "::", "GHC", ")", "return", "nullptr", ";", "return", "STI", ".", "isTargetDarwin", "(", ")", "?", "CSR_iOS_ThisReturn_RegMask", ":", "CSR_AAPCS_ThisReturn_RegMask", ";", "}", ""], "natrual_language": ["getThisReturnPreservedMask", "-", "Returns", "a", "call", "preserved", "mask", "specific", "to", "the", "case", "that", "'returned", "'", "is", "on", "an", "i32", "first", "argument", "if", "the", "calling", "convention", "is", "one", "that", "can", "(", "partially", ")", "model", "this", "attribute", "with", "a", "preserved", "mask", "(", "i.e", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "ARMBaseRegisterInfo", "Func": "getThisReturnPreservedMask", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4501, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_sim_record_set", "(", "rtx", "x", ",", "rtx", "pat", "ATTRIBUTE_UNUSED", ",", "void", "*", "data", ")", "{", "struct", "mips_sim", "*", "state", ";", "unsigned", "int", "i", ";", "state", "=", "data", ";", "if", "(", "REG_P", "(", "x", ")", ")", "for", "(", "i", "=", "0", ";", "i", "<", "HARD_REGNO_NREGS", "(", "REGNO", "(", "x", ")", ",", "GET_MODE", "(", "x", ")", ")", ";", "i", "++", ")", "{", "state", "->", "last_set", "[", "REGNO", "(", "x", ")", "+", "i", "]", ".", "insn", "=", "mips_sim_insn", ";", "state", "->", "last_set", "[", "REGNO", "(", "x", ")", "+", "i", "]", ".", "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", "0"], "File": "mips3", "Func": "mips_sim_record_set", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4502, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_adjust_cost", "(", "rtx", "insn", ",", "rtx", "link", ",", "rtx", "dep", ",", "int", "cost", ")", "{", "rtx", "i_pat", ",", "d_pat", ";", "if", "(", "arm_tune_xscale", "&&", "REG_NOTE_KIND", "(", "link", ")", "==", "0", "&&", "recog_memoized", "(", "insn", ")", ">=", "0", "&&", "recog_memoized", "(", "dep", ")", ">=", "0", ")", "{", "int", "shift_opnum", "=", "get_attr_shift", "(", "insn", ")", ";", "enum", "attr_type", "attr_type", "=", "get_attr_type", "(", "dep", ")", ";", "if", "(", "shift_opnum", "!=", "0", "&&", "(", "attr_type", "==", "TYPE_ALU_SHIFT", "||", "attr_type", "==", "TYPE_ALU_SHIFT_REG", ")", ")", "{", "rtx", "shifted_operand", ";", "int", "opno", ";", "extract_insn", "(", "insn", ")", ";", "shifted_operand", "=", "recog_data", ".", "operand", "[", "shift_opnum", "]", ";", "extract_insn", "(", "dep", ")", ";", "preprocess_constraints", "(", ")", ";", "for", "(", "opno", "=", "0", ";", "opno", "<", "recog_data", ".", "n_operands", ";", "opno", "++", ")", "{", "if", "(", "recog_data", ".", "operand_type", "[", "opno", "]", "==", "OP_IN", ")", "continue", ";", "if", "(", "reg_overlap_mentioned_p", "(", "recog_data", ".", "operand", "[", "opno", "]", ",", "shifted_operand", ")", ")", "return", "2", ";", "}", "}", "}", "if", "(", "REG_NOTE_KIND", "(", "link", ")", "==", "REG_DEP_ANTI", "||", "REG_NOTE_KIND", "(", "link", ")", "==", "REG_DEP_OUTPUT", ")", "return", "0", ";", "if", "(", "REG_NOTE_KIND", "(", "link", ")", "==", "0", "&&", "GET_CODE", "(", "insn", ")", "==", "CALL_INSN", ")", "return", "1", ";", "if", "(", "(", "i_pat", "=", "single_set", "(", "insn", ")", ")", "!=", "NULL", "&&", "GET_CODE", "(", "SET_SRC", "(", "i_pat", ")", ")", "==", "MEM", "&&", "(", "d_pat", "=", "single_set", "(", "dep", ")", ")", "!=", "NULL", "&&", "GET_CODE", "(", "SET_DEST", "(", "d_pat", ")", ")", "==", "MEM", ")", "{", "rtx", "src_mem", "=", "XEXP", "(", "SET_SRC", "(", "i_pat", ")", ",", "0", ")", ";", "if", "(", "(", "GET_CODE", "(", "src_mem", ")", "==", "SYMBOL_REF", "&&", "CONSTANT_POOL_ADDRESS_P", "(", "src_mem", ")", ")", "||", "reg_mentioned_p", "(", "stack_pointer_rtx", ",", "src_mem", ")", "||", "reg_mentioned_p", "(", "frame_pointer_rtx", ",", "src_mem", ")", "||", "reg_mentioned_p", "(", "hard_frame_pointer_rtx", ",", "src_mem", ")", ")", "return", "1", ";", "}", "return", "cost", ";", "}", ""], "natrual_language": ["This", "function", "implements", "the", "target", "macro", "TARGET_SCHED_ADJUST_COST", ".", "It", "corrects", "the", "value", "of", "COST", "based", "on", "the", "relationship", "between", "INSN", "and", "DEP", "through", "the", "dependence", "LINK", ".", "It", "returns", "the", "new", "value", ".", "There", "is", "a", "per-core", "adjust_cost", "hook", "to", "adjust", "scheduler", "costs", "and", "the", "per-core", "hook", "can", "choose", "to", "completely", "override", "the", "generic", "adjust_cost", "function", ".", "Only", "put", "bits", "of", "code", "into", "arm_adjust_cost", "that", "are", "common", "across", "all", "cores", "."], "TS_V_token": ["arm", "0", "0", "0", "0", "0", "2", "0", "0", "1", "0", "1"], "File": "arm3", "Func": "arm_adjust_cost", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4503, "Length": 301, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "for", "(", "Module", "::", "const_global_iterator", "I", "=", "M", ".", "global_begin", "(", ")", ",", "E", "=", "M", ".", "global_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "printModuleLevelGV", "(", "I", ")", ";", "O", "<<", "'\\n'", ";", "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": ["Mips", "Mips"], "File": "MipsAsmPrinter21", "Func": "doFinalization", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4504, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "shouldSink", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "isPredicated", "(", "MI", ")", ")", "return", "true", ";", "MachineBasicBlock", "::", "const_iterator", "Next", "=", "&", "MI", ";", "++", "Next", ";", "unsigned", "SrcReg", ",", "SrcReg2", ";", "int", "CmpMask", ",", "CmpValue", ";", "bool", "IsThumb1", ";", "if", "(", "Next", "!=", "MI", ".", "getParent", "(", ")", "->", "end", "(", ")", "&&", "analyzeCompare", "(", "*", "Next", ",", "SrcReg", ",", "SrcReg2", ",", "CmpMask", ",", "CmpValue", ")", "&&", "isRedundantFlagInstr", "(", "&", "*", "Next", ",", "SrcReg", ",", "SrcReg2", ",", "CmpValue", ",", "&", "MI", ",", "IsThumb1", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "instruction", "should", "be", "sunk", "by", "MachineSink", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMBaseInstrInfo10", "Func": "shouldSink", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4505, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "fp_one_operand", "(", "rtx", "op", ")", "{", "REAL_VALUE_TYPE", "r", ";", "if", "(", "GET_MODE", "(", "op", ")", "!=", "SFmode", ")", "return", "false", ";", "REAL_VALUE_FROM_CONST_DOUBLE", "(", "r", ",", "op", ")", ";", "return", "REAL_VALUES_EQUAL", "(", "r", ",", "dconst1", ")", ";", "}", ""], "natrual_language": ["Nonzero", "if", "OP", "is", "a", "floating", "point", "value", "with", "value", "1.0", "."], "TS_V_token": ["sh"], "File": "sh4", "Func": "fp_one_operand", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4506, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isProfitableToIfCvt", "(", "MachineBasicBlock", "&", "TMBB", ",", "unsigned", "TCycles", ",", "unsigned", "TExtra", ",", "MachineBasicBlock", "&", "FMBB", ",", "unsigned", "FCycles", ",", "unsigned", "FExtra", ",", "const", "BranchProbability", "&", "Probability", ")", "const", "{", "if", "(", "!", "TCycles", "||", "!", "FCycles", ")", "return", "false", ";", "unsigned", "TUnpredCost", "=", "Probability", ".", "scale", "(", "TCycles", ")", ";", "unsigned", "FUnpredCost", "=", "Probability", ".", "getCompl", "(", ")", ".", "scale", "(", "FCycles", ")", ";", "unsigned", "UnpredCost", "=", "TUnpredCost", "+", "FUnpredCost", ";", "UnpredCost", "+=", "1", ";", "UnpredCost", "+=", "Subtarget", ".", "getMispredictionPenalty", "(", ")", "/", "10", ";", "return", "(", "TCycles", "+", "FCycles", "+", "TExtra", "+", "FExtra", ")", "<=", "UnpredCost", ";", "}", ""], "natrual_language": ["Second", "variant", "of", "isProfitableToIfCvt", "."], "TS_V_token": ["ARM", "ARM", "1", "10"], "File": "ARMBaseInstrInfo105", "Func": "isProfitableToIfCvt", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4507, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_emit_bic", "(", "machine_mode", "mode", ",", "rtx", "dst", ",", "rtx", "s1", ",", "rtx", "s2", ",", "int", "shift", ")", "{", "rtx", "shift_rtx", "=", "GEN_INT", "(", "shift", ")", ";", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "switch", "(", "mode", ")", "{", "case", "SImode", ":", "gen", "=", "gen_and_one_cmpl_lshrsi3", ";", "break", ";", "case", "DImode", ":", "gen", "=", "gen_and_one_cmpl_lshrdi3", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "emit_insn", "(", "gen", "(", "dst", ",", "s2", ",", "shift_rtx", ",", "s1", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "BIC", "instruction", "."], "TS_V_token": ["aarch64"], "File": "aarch643", "Func": "aarch64_emit_bic", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4508, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "SparcTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown SELECT_CC!\"", ")", ";", "case", "SP", "::", "SELECT_CC_Int_ICC", ":", "case", "SP", "::", "SELECT_CC_FP_ICC", ":", "case", "SP", "::", "SELECT_CC_DFP_ICC", ":", "case", "SP", "::", "SELECT_CC_QFP_ICC", ":", "return", "expandSelectCC", "(", "MI", ",", "BB", ",", "SP", "::", "BCOND", ")", ";", "case", "SP", "::", "SELECT_CC_Int_FCC", ":", "case", "SP", "::", "SELECT_CC_FP_FCC", ":", "case", "SP", "::", "SELECT_CC_DFP_FCC", ":", "case", "SP", "::", "SELECT_CC_QFP_FCC", ":", "return", "expandSelectCC", "(", "MI", ",", "BB", ",", "SP", "::", "FBCOND", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["Sparc", "Sparc", "\"Unknown SELECT_CC!\"", "SP::SELECT_CC_Int_ICC", "SP::SELECT_CC_FP_ICC", "SP::SELECT_CC_DFP_ICC", "SP::SELECT_CC_QFP_ICC", "SP::BCOND", "SP::SELECT_CC_Int_FCC", "SP::SELECT_CC_FP_FCC", "SP::SELECT_CC_DFP_FCC", "SP::SELECT_CC_QFP_FCC", "SP::FBCOND"], "File": "SparcISelLowering (2)2", "Func": "EmitInstrWithCustomInserter", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4509, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetStreamer", "::", "emitInst", "(", "uint32_t", "Inst", ",", "char", "Suffix", ")", "{", "unsigned", "Size", ";", "char", "Buffer", "[", "4", "]", ";", "const", "bool", "LittleEndian", "=", "getStreamer", "(", ")", ".", "getContext", "(", ")", ".", "getAsmInfo", "(", ")", "->", "isLittleEndian", "(", ")", ";", "switch", "(", "Suffix", ")", "{", "case", "'\\0'", ":", "Size", "=", "4", ";", "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", ")", ";", "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\"", ")", ";", "}", "getStreamer", "(", ")", ".", "EmitBytes", "(", "StringRef", "(", "Buffer", ",", "Size", ")", ")", ";", "}", ""], "natrual_language": ["Callback", "used", "to", "implement", "the", ".inst", "directive", "."], "TS_V_token": ["ARM", "ARM", "4", "4", "0", "1", "1", "2", "4", "0", "2", "0", "1", "1", "0", "2", "1", "\"Invalid Suffix\""], "File": "ARMTargetStreamer12", "Func": "emitInst", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4510, "Length": 239, "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": 4511, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "union_defs", "(", "swap_web_entry", "*", "insn_entry", ",", "rtx", "insn", ",", "df_ref", "use", ")", "{", "struct", "df_link", "*", "link", "=", "DF_REF_CHAIN", "(", "use", ")", ";", "if", "(", "!", "link", ")", "insn_entry", "[", "INSN_UID", "(", "insn", ")", "]", ".", "is_live_in", "=", "1", ";", "while", "(", "link", ")", "{", "if", "(", "DF_REF_IS_ARTIFICIAL", "(", "link", "->", "ref", ")", ")", "insn_entry", "[", "INSN_UID", "(", "insn", ")", "]", ".", "is_live_in", "=", "1", ";", "if", "(", "DF_REF_INSN_INFO", "(", "link", "->", "ref", ")", ")", "{", "rtx", "def_insn", "=", "DF_REF_INSN", "(", "link", "->", "ref", ")", ";", "gcc_assert", "(", "NONDEBUG_INSN_P", "(", "def_insn", ")", ")", ";", "unionfind_union", "(", "insn_entry", "+", "INSN_UID", "(", "insn", ")", ",", "insn_entry", "+", "INSN_UID", "(", "def_insn", ")", ")", ";", "}", "link", "=", "link", "->", "next", ";", "}", "}", ""], "natrual_language": ["Union", "INSN", "with", "all", "insns", "containing", "definitions", "that", "reach", "USE", ".", "Detect", "whether", "USE", "is", "live-in", "to", "the", "current", "function", "."], "TS_V_token": ["rs6000", "1", "1"], "File": "rs6000-p8swap1", "Func": "union_defs", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4512, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getStackAddress", "(", "uint64_t", "Size", ",", "int64_t", "Offset", ",", "MachinePointerInfo", "&", "MPO", ")", "override", "{", "auto", "&", "MFI", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getFrameInfo", "(", ")", ";", "int", "FI", "=", "MFI", ".", "CreateFixedObject", "(", "Size", ",", "Offset", ",", "true", ")", ";", "MPO", "=", "MachinePointerInfo", "::", "getFixedStack", "(", "MIRBuilder", ".", "getMF", "(", ")", ",", "FI", ")", ";", "unsigned", "AddrReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "LLT", "::", "pointer", "(", "0", ",", "DL", ".", "getPointerSizeInBits", "(", "0", ")", ")", ")", ";", "MIRBuilder", ".", "buildFrameIndex", "(", "AddrReg", ",", "FI", ")", ";", "return", "AddrReg", ";", "}", ""], "natrual_language": ["Materialize", "a", "VReg", "containing", "the", "address", "of", "the", "specified", "stack-based", "object", "."], "TS_V_token": ["X86", "0", "0"], "File": "X86CallLowering16", "Func": "getStackAddress", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4513, "Length": 93, "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": 4514, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86RegisterInfo", "::", "canRealignStack", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "(", "RealignStack", "&&", "!", "MFI", "->", "hasVarSizedObjects", "(", ")", ")", ";", "}", ""], "natrual_language": ["True", "if", "the", "stack", "can", "be", "realigned", "for", "the", "target", "."], "TS_V_token": ["X86", "X86"], "File": "X86RegisterInfo11", "Func": "canRealignStack", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4515, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_expand_block_move", "(", "rtx", "dest", ",", "rtx", "src", ",", "rtx", "length", ")", "{", "if", "(", "!", "ISA_HAS_LWL_LWR", ")", "return", "false", ";", "if", "(", "CONST_INT_P", "(", "length", ")", ")", "{", "if", "(", "INTVAL", "(", "length", ")", "<=", "MIPS_MAX_MOVE_BYTES_STRAIGHT", ")", "{", "mips_block_move_straight", "(", "dest", ",", "src", ",", "INTVAL", "(", "length", ")", ")", ";", "return", "true", ";", "}", "else", "if", "(", "optimize", ")", "{", "mips_block_move_loop", "(", "dest", ",", "src", ",", "INTVAL", "(", "length", ")", ",", "MIPS_MAX_MOVE_BYTES_PER_LOOP_ITER", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Expand", "a", "movmemsi", "instruction", ",", "which", "copies", "LENGTH", "bytes", "from", "memory", "reference", "SRC", "to", "memory", "reference", "DEST", "."], "TS_V_token": ["mips"], "File": "mips4", "Func": "mips_expand_block_move", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4516, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "doInitialization", "(", "Loop", "*", "L", ",", "LPPassManager", "&", "LPM", ")", "override", "{", "LoadPairs", ".", "clear", "(", ")", ";", "WideLoads", ".", "clear", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["ARM"], "File": "ARMParallelDSP21", "Func": "doInitialization", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4517, "Length": 29, "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": 4518, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86FrameLowering", "::", "getInitialCFAOffset", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "TRI", "->", "getSlotSize", "(", ")", ";", "}", ""], "natrual_language": ["Return", "initial", "CFA", "offset", "value", "i.e", "."], "TS_V_token": ["X86", "X86"], "File": "X86FrameLowering (2)3", "Func": "getInitialCFAOffset", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4519, "Length": 20, "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", ")", ";", "}", "}", ""], "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"], "File": "AArch64ISelLowering (2)2", "Func": "EmitInstrWithCustomInserter", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4520, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "aarch64_preferred_simd_mode", "(", "scalar_mode", "mode", ")", "{", "if", "(", "TARGET_SVE", "&&", "aarch64_cmp_autovec_modes", "(", "VNx16QImode", ",", "V16QImode", ")", ")", "return", "aarch64_full_sve_mode", "(", "mode", ")", ".", "else_mode", "(", "word_mode", ")", ";", "if", "(", "TARGET_SIMD", ")", "return", "aarch64_vq_mode", "(", "mode", ")", ".", "else_mode", "(", "word_mode", ")", ";", "return", "word_mode", ";", "}", ""], "natrual_language": ["Return", "128-bit", "container", "as", "the", "preferred", "SIMD", "mode", "for", "MODE", "."], "TS_V_token": ["aarch64"], "File": "aarch641", "Func": "aarch64_preferred_simd_mode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4521, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "X86RegisterInfo", "::", "getCallPreservedMask", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "bool", "HasAVX", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "hasAVX", "(", ")", ";", "bool", "HasAVX512", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "hasAVX512", "(", ")", ";", "if", "(", "CC", "==", "CallingConv", "::", "Intel_OCL_BI", ")", "{", "if", "(", "IsWin64", "&&", "HasAVX512", ")", "return", "CSR_Win64_Intel_OCL_BI_AVX512_RegMask", ";", "if", "(", "Is64Bit", "&&", "HasAVX512", ")", "return", "CSR_64_Intel_OCL_BI_AVX512_RegMask", ";", "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", "X86"], "File": "X86RegisterInfo21", "Func": "getCallPreservedMask", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4522, "Length": 152, "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": 4523, "Length": 23, "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": 4524, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsSETargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "DCI", ".", "DAG", ";", "SDValue", "Val", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "AND", ":", "Val", "=", "performANDCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "break", ";", "case", "ISD", "::", "OR", ":", "Val", "=", "performORCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "break", ";", "case", "ISD", "::", "MUL", ":", "return", "performMULCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "this", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SHL", ":", "Val", "=", "performSHLCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "break", ";", "case", "ISD", "::", "SRA", ":", "return", "performSRACombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SRL", ":", "return", "performSRLCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "VSELECT", ":", "return", "performVSELECTCombine", "(", "N", ",", "DAG", ")", ";", "case", "ISD", "::", "XOR", ":", "Val", "=", "performXORCombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "break", ";", "case", "ISD", "::", "SETCC", ":", "Val", "=", "performSETCCCombine", "(", "N", ",", "DAG", ")", ";", "break", ";", "}", "if", "(", "Val", ".", "getNode", "(", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\nMipsSE DAG Combine:\\n\"", ";", "N", "->", "printrWithDepth", "(", "dbgs", "(", ")", ",", "&", "DAG", ")", ";", "dbgs", "(", ")", "<<", "\"\\n=> \\n\"", ";", "Val", ".", "getNode", "(", ")", "->", "printrWithDepth", "(", "dbgs", "(", ")", ",", "&", "DAG", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "return", "Val", ";", "}", "return", "MipsTargetLowering", "::", "PerformDAGCombine", "(", "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": ["Mips", "Mips", "ISD::AND", "ISD::OR", "ISD::MUL", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::VSELECT", "ISD::XOR", "ISD::SETCC", "\"\\nMipsSE DAG Combine:\\n\"", "\"\\n=> \\n\"", "\"\\n\"", "Mips"], "File": "MipsSEISelLowering15", "Func": "PerformDAGCombine", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4525, "Length": 269, "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", "::", "tGPRRegClass", "||", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "SrcReg", ")", "&&", "isARMLowRegister", "(", "SrcReg", ")", ")", ")", "&&", "\"Unknown regclass!\"", ")", ";", "if", "(", "RC", "==", "&", "ARM", "::", "tGPRRegClass", "||", "(", "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", "(", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tSTRspi", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "}", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM::tGPRRegClass", "ARM", "\"Unknown regclass!\"", "ARM::tGPRRegClass", "ARM", "ARM::tSTRspi", "0", "ARMCC::AL"], "File": "Thumb1InstrInfo10", "Func": "storeRegToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4526, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsMCInstLower", "::", "Initialize", "(", "MCContext", "*", "C", ")", "{", "Ctx", "=", "C", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsMCInstLower", "Func": "Initialize", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4527, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "fp_mov_p", "(", "rtx", "op", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "==", "CONST_DOUBLE", ")", "{", "long", "i", ";", "REAL_VALUE_TO_TARGET_SINGLE", "(", "*", "CONST_DOUBLE_REAL_VALUE", "(", "op", ")", ",", "i", ")", ";", "return", "SPARC_SIMM13_P", "(", "i", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Nonzero", "if", "OP", "is", "a", "floating", "point", "constant", "which", "can", "be", "loaded", "into", "an", "integer", "register", "using", "a", "single", "mov", "instruction", "."], "TS_V_token": ["sparc", "0"], "File": "sparc", "Func": "fp_mov_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4528, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "int", "arm_arm_address_cost", "(", "rtx", "x", ")", "{", "enum", "rtx_code", "c", "=", "GET_CODE", "(", "x", ")", ";", "if", "(", "c", "==", "PRE_INC", "||", "c", "==", "PRE_DEC", "||", "c", "==", "POST_INC", "||", "c", "==", "POST_DEC", ")", "return", "0", ";", "if", "(", "c", "==", "MEM", "||", "c", "==", "LABEL_REF", "||", "c", "==", "SYMBOL_REF", ")", "return", "10", ";", "if", "(", "c", "==", "PLUS", ")", "{", "if", "(", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "return", "2", ";", "if", "(", "ARITHMETIC_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "||", "ARITHMETIC_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "return", "3", ";", "return", "4", ";", "}", "return", "6", ";", "}", ""], "natrual_language": ["All", "address", "computations", "that", "can", "be", "done", "are", "free", ",", "but", "rtx", "cost", "returns", "the", "same", "for", "practically", "all", "of", "them", ".", "So", "we", "weight", "the", "different", "types", "of", "address", "here", "in", "the", "order", "(", "most", "pref", "first", ")", ":", "PRE/POST_INC/DEC", ",", "SHIFT", "or", "NON-INT", "sum", ",", "INT", "sum", ",", "REG", ",", "MEM", "or", "LABEL", "."], "TS_V_token": ["arm", "0", "10", "1", "2", "0", "1", "3", "4", "6"], "File": "arm", "Func": "arm_arm_address_cost", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4529, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "scheduled_good_insn", "(", "rtx_insn", "*", "last", ")", "{", "if", "(", "last", "&&", "recog_memoized", "(", "last", ")", ">=", "0", ")", "return", "1", ";", "for", "(", ";", "last", "!=", "NULL", "&&", "!", "NOTE_INSN_BASIC_BLOCK_P", "(", "last", ")", "&&", "!", "stops_p", "[", "INSN_UID", "(", "last", ")", "]", ";", "last", "=", "PREV_INSN", "(", "last", ")", ")", "if", "(", "INSN_P", "(", "last", ")", "&&", "recog_memoized", "(", "last", ")", ">=", "0", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Returns", "1", "when", "a", "meaningful", "insn", "was", "scheduled", "between", "the", "last", "group", "barrier", "and", "LAST", "."], "TS_V_token": ["ia64", "0", "1", "0", "1", "0"], "File": "ia64", "Func": "scheduled_good_insn", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4530, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTTIImpl", "::", "isLegalMaskedGather", "(", "Type", "*", "Ty", ",", "MaybeAlign", "Alignment", ")", "{", "if", "(", "!", "EnableMaskedGatherScatters", "||", "!", "ST", "->", "hasMVEIntegerOps", "(", ")", ")", "return", "false", ";", "if", "(", "isa", "<", "VectorType", ">", "(", "Ty", ")", ")", "return", "false", ";", "unsigned", "EltWidth", "=", "Ty", "->", "getScalarSizeInBits", "(", ")", ";", "return", "(", "(", "EltWidth", "==", "32", "&&", "(", "!", "Alignment", "||", "Alignment", ">=", "4", ")", ")", "||", "(", "EltWidth", "==", "16", "&&", "(", "!", "Alignment", "||", "Alignment", ">=", "2", ")", ")", "||", "EltWidth", "==", "8", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "gather", "."], "TS_V_token": ["ARM", "ARM", "32", "4", "16", "2", "8"], "File": "ARMTargetTransformInfo10", "Func": "isLegalMaskedGather", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4531, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Mips OptimizePICCall\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"Mips OptimizePICCall\""], "File": "MipsOptimizePICCall13", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4532, "Length": 13, "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", ")", ";", "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"], "File": "AArch64Disassembler28", "Func": "getInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4533, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "canInsertSelect", "(", "const", "MachineBasicBlock", "&", "MBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "Register", "DstReg", ",", "Register", "TrueReg", ",", "Register", "FalseReg", ",", "int", "&", "CondCycles", ",", "int", "&", "TrueCycles", ",", "int", "&", "FalseCycles", ")", "const", "{", "if", "(", "Cond", ".", "size", "(", ")", "!=", "2", ")", "return", "false", ";", "if", "(", "Cond", "[", "1", "]", ".", "getReg", "(", ")", "==", "PPC", "::", "CTR", "||", "Cond", "[", "1", "]", ".", "getReg", "(", ")", "==", "PPC", "::", "CTR8", ")", "return", "false", ";", "if", "(", "Register", "::", "isPhysicalRegister", "(", "Cond", "[", "1", "]", ".", "getReg", "(", ")", ")", ")", "return", "false", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "RI", ".", "getCommonSubClass", "(", "MRI", ".", "getRegClass", "(", "TrueReg", ")", ",", "MRI", ".", "getRegClass", "(", "FalseReg", ")", ")", ";", "if", "(", "!", "RC", ")", "return", "false", ";", "if", "(", "!", "PPC", "::", "GPRCRegClass", ".", "hasSubClassEq", "(", "RC", ")", "&&", "!", "PPC", "::", "GPRC_NOR0RegClass", ".", "hasSubClassEq", "(", "RC", ")", "&&", "!", "PPC", "::", "G8RCRegClass", ".", "hasSubClassEq", "(", "RC", ")", "&&", "!", "PPC", "::", "G8RC_NOX0RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "return", "false", ";", "CondCycles", "=", "1", ";", "TrueCycles", "=", "1", ";", "FalseCycles", "=", "1", ";", "return", "true", ";", "}", ""], "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": ["PowerPC", "PPC", "2", "1", "PPC::CTR", "1", "PPC::CTR8", "1", "PPC::GPRCRegClass", "PPC::GPRC_NOR0RegClass", "PPC::G8RCRegClass", "PPC::G8RC_NOX0RegClass", "1", "1", "1"], "File": "PPCInstrInfo", "Func": "canInsertSelect", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4534, "Length": 210, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalNTStore", "(", "Type", "*", "DataType", ",", "Align", "Alignment", ")", "{", "unsigned", "DataSize", "=", "DL", ".", "getTypeStoreSize", "(", "DataType", ")", ";", "if", "(", "ST", "->", "hasSSE4A", "(", ")", "&&", "(", "DataType", "->", "isFloatTy", "(", ")", "||", "DataType", "->", "isDoubleTy", "(", ")", ")", ")", "return", "true", ";", "if", "(", "Alignment", "<", "DataSize", "||", "DataSize", "<", "4", "||", "DataSize", ">", "32", "||", "!", "isPowerOf2_32", "(", "DataSize", ")", ")", "return", "false", ";", "if", "(", "DataSize", "==", "32", ")", "return", "ST", "->", "hasAVX", "(", ")", ";", "else", "if", "(", "DataSize", "==", "16", ")", "return", "ST", "->", "hasSSE1", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "nontemporal", "store", "."], "TS_V_token": ["X86", "X86", "4", "32", "32", "16"], "File": "X86TargetTransformInfo100", "Func": "isLegalNTStore", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4535, "Length": 102, "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": 4536, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64WinCOFFStreamer", "::", "finishImpl", "(", ")", "{", "emitFrames", "(", "nullptr", ")", ";", "EmitWindowsUnwindTables", "(", ")", ";", "MCWinCOFFStreamer", "::", "finishImpl", "(", ")", ";", "}", ""], "natrual_language": ["Streamer", "specific", "finalization", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64WinCOFFStreamer", "Func": "finishImpl", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4537, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "X86TargetLowering", "::", "SimplifyMultipleUseDemandedBitsForTargetNode", "(", "SDValue", "Op", ",", "const", "APInt", "&", "DemandedBits", ",", "const", "APInt", "&", "DemandedElts", ",", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "int", "NumElts", "=", "DemandedElts", ".", "getBitWidth", "(", ")", ";", "unsigned", "Opc", "=", "Op", ".", "getOpcode", "(", ")", ";", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "switch", "(", "Opc", ")", "{", "case", "X86ISD", "::", "PINSRB", ":", "case", "X86ISD", "::", "PINSRW", ":", "{", "SDValue", "Vec", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "auto", "*", "CIdx", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "2", ")", ")", ";", "MVT", "VecVT", "=", "Vec", ".", "getSimpleValueType", "(", ")", ";", "if", "(", "CIdx", "&&", "CIdx", "->", "getAPIntValue", "(", ")", ".", "ult", "(", "VecVT", ".", "getVectorNumElements", "(", ")", ")", "&&", "!", "DemandedElts", "[", "CIdx", "->", "getZExtValue", "(", ")", "]", ")", "return", "Vec", ";", "break", ";", "}", "case", "X86ISD", "::", "PCMPGT", ":", "if", "(", "DemandedBits", ".", "isSignMask", "(", ")", "&&", "ISD", "::", "isBuildVectorAllZeros", "(", "Op", ".", "getOperand", "(", "0", ")", ".", "getNode", "(", ")", ")", ")", "return", "Op", ".", "getOperand", "(", "1", ")", ";", "break", ";", "}", "APInt", "ShuffleUndef", ",", "ShuffleZero", ";", "SmallVector", "<", "int", ",", "16", ">", "ShuffleMask", ";", "SmallVector", "<", "SDValue", ",", "2", ">", "ShuffleOps", ";", "if", "(", "getTargetShuffleInputs", "(", "Op", ",", "DemandedElts", ",", "ShuffleOps", ",", "ShuffleMask", ",", "ShuffleUndef", ",", "ShuffleZero", ",", "DAG", ",", "Depth", ",", "false", ")", ")", "{", "int", "NumOps", "=", "ShuffleOps", ".", "size", "(", ")", ";", "if", "(", "ShuffleMask", ".", "size", "(", ")", "==", "(", "unsigned", ")", "NumElts", "&&", "llvm", "::", "all_of", "(", "ShuffleOps", ",", "[", "VT", "]", "(", "SDValue", "V", ")", "{", "return", "VT", ".", "getSizeInBits", "(", ")", "==", "V", ".", "getValueSizeInBits", "(", ")", ";", "}", ")", ")", "{", "if", "(", "DemandedElts", ".", "isSubsetOf", "(", "ShuffleUndef", ")", ")", "return", "DAG", ".", "getUNDEF", "(", "VT", ")", ";", "if", "(", "DemandedElts", ".", "isSubsetOf", "(", "ShuffleUndef", "|", "ShuffleZero", ")", ")", "return", "getZeroVector", "(", "VT", ".", "getSimpleVT", "(", ")", ",", "Subtarget", ",", "DAG", ",", "SDLoc", "(", "Op", ")", ")", ";", "APInt", "IdentityOp", "=", "APInt", "::", "getAllOnesValue", "(", "NumOps", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "!=", "NumElts", ";", "++", "i", ")", "{", "int", "M", "=", "ShuffleMask", "[", "i", "]", ";", "if", "(", "!", "DemandedElts", "[", "i", "]", "||", "ShuffleUndef", "[", "i", "]", ")", "continue", ";", "int", "Op", "=", "M", "/", "NumElts", ";", "int", "Index", "=", "M", "%", "NumElts", ";", "if", "(", "M", "<", "0", "||", "Index", "!=", "i", ")", "{", "IdentityOp", ".", "clearAllBits", "(", ")", ";", "break", ";", "}", "IdentityOp", "&=", "APInt", "::", "getOneBitSet", "(", "NumOps", ",", "Op", ")", ";", "if", "(", "IdentityOp", "==", "0", ")", "break", ";", "}", "assert", "(", "(", "IdentityOp", "==", "0", "||", "IdentityOp", ".", "countPopulation", "(", ")", "==", "1", ")", "&&", "\"Multiple identity shuffles detected\"", ")", ";", "if", "(", "IdentityOp", "!=", "0", ")", "return", "DAG", ".", "getBitcast", "(", "VT", ",", "ShuffleOps", "[", "IdentityOp", ".", "countTrailingZeros", "(", ")", "]", ")", ";", "}", "}", "return", "TargetLowering", "::", "SimplifyMultipleUseDemandedBitsForTargetNode", "(", "Op", ",", "DemandedBits", ",", "DemandedElts", ",", "DAG", ",", "Depth", ")", ";", "}", ""], "natrual_language": ["More", "limited", "version", "of", "SimplifyDemandedBits", "that", "can", "be", "used", "to", "``", "look", "through", "''", "ops", "that", "do", "n't", "contribute", "to", "the", "DemandedBits/DemandedElts", "-", "bitwise", "ops", "etc", "."], "TS_V_token": ["X86", "X86", "X86ISD::PINSRB", "X86ISD::PINSRW", "0", "2", "X86ISD::PCMPGT", "ISD::isBuildVectorAllZeros", "0", "1", "16", "2", "0", "0", "0", "0", "1", "\"Multiple identity shuffles detected\"", "0"], "File": "X86ISelLowering131", "Func": "SimplifyMultipleUseDemandedBitsForTargetNode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4538, "Length": 489, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AnalyzeFormalArguments", "(", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "CCAssignFn", "Fn", ")", "{", "ArgIsFixed", ".", "clear", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Ins", ".", "size", "(", ")", ";", "++", "i", ")", "ArgIsFixed", ".", "push_back", "(", "true", ")", ";", "ArgIsShortVector", ".", "clear", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Ins", ".", "size", "(", ")", ";", "++", "i", ")", "ArgIsShortVector", ".", "push_back", "(", "IsShortVectorType", "(", "Ins", "[", "i", "]", ".", "ArgVT", ")", ")", ";", "CCState", "::", "AnalyzeFormalArguments", "(", "Ins", ",", "Fn", ")", ";", "}", ""], "natrual_language": ["AnalyzeFormalArguments", "-", "Analyze", "an", "array", "of", "argument", "values", ",", "incorporating", "info", "about", "the", "formals", "into", "this", "state", "."], "TS_V_token": ["SystemZ", "ISD::InputArg", "0", "0"], "File": "SystemZCallingConv", "Func": "AnalyzeFormalArguments", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4539, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "constant_fp_to_128bit_vector", "(", "rtx", "op", ",", "machine_mode", "mode", ",", "size_t", "byte_num", ",", "vec_const_128bit_type", "*", "info", ")", "{", "unsigned", "bitsize", "=", "GET_MODE_BITSIZE", "(", "mode", ")", ";", "unsigned", "num_words", "=", "bitsize", "/", "32", ";", "const", "REAL_VALUE_TYPE", "*", "rtype", "=", "CONST_DOUBLE_REAL_VALUE", "(", "op", ")", ";", "long", "real_words", "[", "VECTOR_128BIT_WORDS", "]", ";", "gcc_assert", "(", "num_words", "<=", "VECTOR_128BIT_WORDS", "&&", "(", "bitsize", "%", "32", ")", "==", "0", ")", ";", "real_to_target", "(", "real_words", ",", "rtype", ",", "mode", ")", ";", "for", "(", "unsigned", "num", "=", "0", ";", "num", "<", "num_words", ";", "num", "++", ")", "{", "unsigned", "endian_num", "=", "(", "BYTES_BIG_ENDIAN", "?", "num", ":", "num_words", "-", "1", "-", "num", ")", ";", "unsigned", "uvalue", "=", "real_words", "[", "endian_num", "]", ";", "for", "(", "int", "shift", "=", "32", "-", "8", ";", "shift", ">=", "0", ";", "shift", "-=", "8", ")", "info", "->", "bytes", "[", "byte_num", "++", "]", "=", "(", "uvalue", ">>", "shift", ")", "&", "0xff", ";", "}", "info", "->", "fp_constant_p", "=", "true", ";", "}", ""], "natrual_language": ["Copy", "a", "floating", "point", "constant", "to", "the", "vector", "constant", "structure", "."], "TS_V_token": ["rs6000", "32", "32", "0", "0", "1", "32", "8", "0", "8", "0xff"], "File": "rs6000", "Func": "constant_fp_to_128bit_vector", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4540, "Length": 152, "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", "*", "barrier", ";", "rtx_insn", "*", "from", "=", "fix", "->", "insn", ";", "rtx_insn", "*", "selected", "=", "NULL", ";", "int", "selected_cost", ";", "HOST_WIDE_INT", "selected_address", ";", "Mfix", "*", "new_fix", ";", "HOST_WIDE_INT", "max_count", "=", "max_address", "-", "fix", "->", "address", ";", "rtx_code_label", "*", "label", "=", "gen_label_rtx", "(", ")", ";", "selected_cost", "=", "arm_barrier_cost", "(", "from", ")", ";", "selected_address", "=", "fix", "->", "address", ";", "while", "(", "from", "&&", "count", "<", "max_count", ")", "{", "rtx_jump_table_data", "*", "tmp", ";", "int", "new_cost", ";", "gcc_assert", "(", "!", "BARRIER_P", "(", "from", ")", ")", ";", "if", "(", "LABEL_P", "(", "from", ")", ")", "count", "+=", "get_label_padding", "(", "from", ")", ";", "else", "count", "+=", "get_attr_length", "(", "from", ")", ";", "if", "(", "tablejump_p", "(", "from", ",", "NULL", ",", "&", "tmp", ")", ")", "{", "count", "+=", "get_jump_table_size", "(", "tmp", ")", ";", "new_cost", "=", "arm_barrier_cost", "(", "from", ")", ";", "if", "(", "count", "<", "max_count", "&&", "(", "!", "selected", "||", "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", "&&", "(", "!", "selected", "||", "new_cost", "<=", "selected_cost", ")", ")", "{", "selected", "=", "from", ";", "selected_cost", "=", "new_cost", ";", "selected_address", "=", "fix", "->", "address", "+", "count", ";", "}", "from", "=", "NEXT_INSN", "(", "from", ")", ";", "}", "gcc_assert", "(", "selected", ")", ";", "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": "arm", "Func": "create_fix_barrier", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4541, "Length": 327, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_modifies_global_state_p", "(", "aarch64_simd_builtin_datum", "*", "d", ")", "{", "unsigned", "int", "flags", "=", "aarch64_call_properties", "(", "d", ")", ";", "if", "(", "flags", "&", "FLAG_RAISE_FP_EXCEPTIONS", ")", "return", "true", ";", "if", "(", "flags", "&", "FLAG_PREFETCH_MEMORY", ")", "return", "true", ";", "return", "flags", "&", "FLAG_WRITE_MEMORY", ";", "}", ""], "natrual_language": ["Return", "true", "if", "calls", "to", "the", "function", "could", "modify", "some", "form", "of", "global", "state", "."], "TS_V_token": ["aarch64"], "File": "aarch64-builtins1", "Func": "aarch64_modifies_global_state_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4542, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_mode_dependent_address_p", "(", "const_rtx", "addr", ",", "addr_space_t", "as", "ATTRIBUTE_UNUSED", ")", "{", "return", "rs6000_mode_dependent_address_ptr", "(", "addr", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MODE_DEPENDENT_ADDRESS_P", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_mode_dependent_address_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4543, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitThumbFunc", "(", "MCSymbol", "*", "Func", ")", "override", "{", "getAssembler", "(", ")", ".", "setIsThumbFunc", "(", "Func", ")", ";", "emitSymbolAttribute", "(", "Func", ",", "MCSA_ELF_TypeFunction", ")", ";", "}", ""], "natrual_language": ["Note", "in", "the", "output", "that", "the", "specified", "Func", "is", "a", "Thumb", "mode", "function", "(", "ARM", "target", "only", ")", "."], "TS_V_token": ["ARM"], "File": "ARMELFStreamer22", "Func": "emitThumbFunc", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4544, "Length": 26, "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": 4545, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "loongarch_valid_pointer_mode", "(", "scalar_int_mode", "mode", ")", "{", "return", "mode", "==", "SImode", "||", "(", "TARGET_64BIT", "&&", "mode", "==", "DImode", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VALID_POINTER_MODE", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_valid_pointer_mode", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4546, "Length": 22, "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": 4547, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "OutgoingValueHandler", "::", "getStackAddress", "(", "const", "CCValAssign", "&", "VA", ",", "MachineMemOperand", "*", "&", "MMO", ")", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFL", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "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", ")", ";", "unsigned", "Offset", "=", "VA", ".", "getLocMemOffset", "(", ")", ";", "MIRBuilder", ".", "buildConstant", "(", "OffsetReg", ",", "Offset", ")", ";", "unsigned", "AddrReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "p0", ")", ";", "MIRBuilder", ".", "buildGEP", "(", "AddrReg", ",", "SPReg", ",", "OffsetReg", ")", ";", "MachinePointerInfo", "MPO", "=", "MachinePointerInfo", "::", "getStack", "(", "MIRBuilder", ".", "getMF", "(", ")", ",", "Offset", ")", ";", "unsigned", "Size", "=", "alignTo", "(", "VA", ".", "getValVT", "(", ")", ".", "getSizeInBits", "(", ")", ",", "8", ")", "/", "8", ";", "unsigned", "Align", "=", "MinAlign", "(", "TFL", "->", "getStackAlignment", "(", ")", ",", "Offset", ")", ";", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MPO", ",", "MachineMemOperand", "::", "MOStore", ",", "Size", ",", "Align", ")", ";", "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", "8", "8"], "File": "MipsCallLowering27", "Func": "getStackAddress", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4548, "Length": 204, "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": 4549, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "useLoadStackGuardNode", "(", ")", "const", "{", "return", "Subtarget", "->", "getTargetTriple", "(", ")", ".", "getObjectFormat", "(", ")", "==", "Triple", "::", "MachO", ";", "}", ""], "natrual_language": ["If", "this", "function", "returns", "true", ",", "SelectionDAGBuilder", "emits", "a", "LOAD_STACK_GUARD", "node", "when", "it", "is", "lowering", "Intrinsic", ":", ":stackprotector", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMISelLowering149", "Func": "useLoadStackGuardNode", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4550, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "convertSelectOfConstantsToMath", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "select", "of", "constants", "(", "select", "Cond", ",", "C1", ",", "C2", ")", "should", "be", "transformed", "into", "simple", "math", "ops", "with", "the", "condition", "value", "."], "TS_V_token": ["X86"], "File": "X86ISelLowering128", "Func": "convertSelectOfConstantsToMath", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4551, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "char", "*", "detect_caches_freebsd", "(", "void", ")", "{", "unsigned", "l1_sizekb", ",", "l1_line", ",", "l1_assoc", ",", "l2_sizekb", ";", "size_t", "len", "=", "4", ";", "sysctlbyname", "(", "\"machdep.cacheline_size\"", ",", "&", "l1_line", ",", "&", "len", ",", "NULL", ",", "0", ")", ";", "l1_sizekb", "=", "32", ";", "l1_assoc", "=", "0", ";", "l2_sizekb", "=", "512", ";", "return", "describe_cache", "(", "l1_sizekb", ",", "l1_line", ",", "l1_assoc", ",", "l2_sizekb", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "description", "of", "caches", "on", "FreeBSD", "PPC", "."], "TS_V_token": ["powerpcspe", "4", "\"machdep.cacheline_size\"", "0", "32", "0", "512"], "File": "driver-powerpcspe", "Func": "detect_caches_freebsd", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4552, "Length": 62, "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", ")", ")", "{", "gcc_assert", "(", "VECTOR_MODE_P", "(", "src_mode", ")", ")", ";", "emit_insn", "(", "gen_aarch64_split_simd_mov", "(", "src_mode", ",", "dst", ",", "src", ")", ")", ";", "}", "}", ""], "natrual_language": ["Split", "a", "complex", "SIMD", "move", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_split_simd_move", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4553, "Length": 69, "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": 4554, "Length": 403, "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", "(", "NewRC", "->", "getSize", "(", ")", "<", "32", "&&", "DstRC", "->", "getSize", "(", ")", "<", "32", "&&", "SrcRC", "->", "getSize", "(", ")", "<", "32", ")", "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", "32", "32", "32", "ARM", "\"\\tARM::shouldCoalesce - Coalesced Weight: \"", "\"\\n\"", "\"\\tARM::shouldCoalesce - Reg Weight: \"", "\"\\n\"", "100", "1"], "File": "ARMBaseRegisterInfo13", "Func": "shouldCoalesce", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4555, "Length": 266, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "select_block_compare_mode", "(", "unsigned", "HOST_WIDE_INT", "offset", ",", "unsigned", "HOST_WIDE_INT", "bytes", ",", "unsigned", "HOST_WIDE_INT", "align", ",", "bool", "word_mode_ok", ")", "{", "unsigned", "HOST_WIDE_INT", "maxread", "=", "ROUND_UP", "(", "bytes", ",", "align", ")", ";", "if", "(", "word_mode_ok", "&&", "bytes", ">=", "UNITS_PER_WORD", ")", "return", "word_mode", ";", "else", "if", "(", "bytes", "==", "GET_MODE_SIZE", "(", "SImode", ")", ")", "return", "SImode", ";", "else", "if", "(", "bytes", "==", "GET_MODE_SIZE", "(", "HImode", ")", ")", "return", "HImode", ";", "else", "if", "(", "bytes", "==", "GET_MODE_SIZE", "(", "QImode", ")", ")", "return", "QImode", ";", "else", "if", "(", "bytes", "<", "GET_MODE_SIZE", "(", "SImode", ")", "&&", "offset", ">=", "GET_MODE_SIZE", "(", "SImode", ")", "-", "bytes", ")", "return", "SImode", ";", "else", "if", "(", "word_mode_ok", "&&", "bytes", "<", "UNITS_PER_WORD", "&&", "offset", ">=", "UNITS_PER_WORD", "-", "bytes", ")", "return", "word_mode", ";", "else", "if", "(", "word_mode_ok", "&&", "maxread", ">=", "UNITS_PER_WORD", ")", "return", "word_mode", ";", "else", "if", "(", "maxread", ">=", "GET_MODE_SIZE", "(", "SImode", ")", ")", "return", "SImode", ";", "else", "if", "(", "bytes", ">", "GET_MODE_SIZE", "(", "SImode", ")", ")", "return", "SImode", ";", "else", "if", "(", "bytes", ">", "GET_MODE_SIZE", "(", "HImode", ")", ")", "return", "HImode", ";", "return", "QImode", ";", "}", ""], "natrual_language": ["Select", "the", "mode", "to", "be", "used", "for", "reading", "the", "next", "chunk", "of", "bytes", "in", "the", "compare", ".", "OFFSET", "is", "the", "current", "read", "offset", "from", "the", "beginning", "of", "the", "block", ".", "BYTES", "is", "the", "number", "of", "bytes", "remaining", "to", "be", "read", ".", "ALIGN", "is", "the", "minimum", "alignment", "of", "the", "memory", "blocks", "being", "compared", "in", "bytes", "."], "TS_V_token": ["rs6000"], "File": "rs6000-string2", "Func": "select_block_compare_mode", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4556, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "r10k_safe_mem_expr_p", "(", "tree", "expr", ",", "unsigned", "HOST_WIDE_INT", "offset", ")", "{", "HOST_WIDE_INT", "bitoffset", ",", "bitsize", ";", "tree", "inner", ",", "var_offset", ";", "machine_mode", "mode", ";", "int", "unsigned_p", ",", "volatile_p", ";", "inner", "=", "get_inner_reference", "(", "expr", ",", "&", "bitsize", ",", "&", "bitoffset", ",", "&", "var_offset", ",", "&", "mode", ",", "&", "unsigned_p", ",", "&", "volatile_p", ",", "false", ")", ";", "if", "(", "!", "DECL_P", "(", "inner", ")", "||", "!", "DECL_SIZE_UNIT", "(", "inner", ")", "||", "var_offset", ")", "return", "false", ";", "offset", "+=", "bitoffset", "/", "BITS_PER_UNIT", ";", "return", "offset", "<", "tree_to_uhwi", "(", "DECL_SIZE_UNIT", "(", "inner", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "MEM", "with", "MEM_EXPR", "EXPR", "and", "MEM_OFFSET", "OFFSET", "is", "an", "in-range", "access", "to", "an", "automatic", "variable", ",", "or", "to", "an", "object", "with", "a", "link-time-constant", "address", "."], "TS_V_token": ["mips"], "File": "mips4", "Func": "r10k_safe_mem_expr_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4557, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "NEONPreAllocPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "TII", "=", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "MFI", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "MFI", "!=", "E", ";", "++", "MFI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MFI", ";", "Modified", "|=", "PreAllocNEONRegisters", "(", "MBB", ")", ";", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM"], "File": "NEONPreAllocPass1", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4558, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsCodeEmitter", "::", "getMachineOpValue", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "&", "MO", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "getMipsRegisterNumbering", "(", "MO", ".", "getReg", "(", ")", ")", ";", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "else", "if", "(", "MO", ".", "isGlobal", "(", ")", ")", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "Mips", "::", "ULW", "||", "MI", ".", "getOpcode", "(", ")", "==", "Mips", "::", "USW", "||", "MI", ".", "getOpcode", "(", ")", "==", "Mips", "::", "ULH", "||", "MI", ".", "getOpcode", "(", ")", "==", "Mips", "::", "ULHu", ")", "emitGlobalAddressUnaligned", "(", "MO", ".", "getGlobal", "(", ")", ",", "getRelocation", "(", "MI", ",", "MO", ")", ",", "4", ")", ";", "else", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "Mips", "::", "USH", ")", "emitGlobalAddressUnaligned", "(", "MO", ".", "getGlobal", "(", ")", ",", "getRelocation", "(", "MI", ",", "MO", ")", ",", "8", ")", ";", "else", "emitGlobalAddress", "(", "MO", ".", "getGlobal", "(", ")", ",", "getRelocation", "(", "MI", ",", "MO", ")", ",", "true", ")", ";", "}", "else", "if", "(", "MO", ".", "isSymbol", "(", ")", ")", "emitExternalSymbolAddress", "(", "MO", ".", "getSymbolName", "(", ")", ",", "getRelocation", "(", "MI", ",", "MO", ")", ")", ";", "else", "if", "(", "MO", ".", "isCPI", "(", ")", ")", "emitConstPoolAddress", "(", "MO", ".", "getIndex", "(", ")", ",", "getRelocation", "(", "MI", ",", "MO", ")", ")", ";", "else", "if", "(", "MO", ".", "isJTI", "(", ")", ")", "emitJumpTableAddress", "(", "MO", ".", "getIndex", "(", ")", ",", "getRelocation", "(", "MI", ",", "MO", ")", ")", ";", "else", "if", "(", "MO", ".", "isMBB", "(", ")", ")", "emitMachineBasicBlock", "(", "MO", ".", "getMBB", "(", ")", ",", "getRelocation", "(", "MI", ",", "MO", ")", ")", ";", "else", "llvm_unreachable", "(", "\"Unable to encode MachineOperand!\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips::ULW", "Mips::USW", "Mips::ULH", "Mips::ULHu", "4", "Mips::USH", "8", "\"Unable to encode MachineOperand!\"", "0"], "File": "MipsCodeEmitter14", "Func": "getMachineOpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4559, "Length": 288, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_hard_regno_scratch_ok", "(", "unsigned", "int", "regno", ")", "{", "if", "(", "cfun", "->", "machine", "->", "interrupt_handler_p", "&&", "!", "df_regs_ever_live_p", "(", "regno", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "register", "REGNO", "can", "be", "used", "as", "a", "scratch", "register", "in", "peephole2", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_hard_regno_scratch_ok", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4560, "Length": 29, "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", "(", "mask", ")", ">", "0", "&&", "UINTVAL", "(", "shft_amnt", ")", "<", "GET_MODE_BITSIZE", "(", "mode", ")", "&&", "exact_log2", "(", "(", "UINTVAL", "(", "mask", ")", ">>", "UINTVAL", "(", "shft_amnt", ")", ")", "+", "1", ")", ">=", "0", "&&", "(", "UINTVAL", "(", "mask", ")", "&", "(", "(", "HOST_WIDE_INT_1U", "<<", "UINTVAL", "(", "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", "0", "1", "0", "1", "0"], "File": "aarch641", "Func": "aarch64_mask_and_shift_for_ubfiz_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4561, "Length": 83, "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": ["ARM"], "File": "ARMAsmParser", "Func": "Error", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4562, "Length": 38, "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": 4563, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "X86RegisterInfo", "::", "getGPRsForTailCall", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "IsWin64", "||", "(", "F", "&&", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "X86_64_Win64", ")", ")", "return", "&", "X86", "::", "GR64_TCW64RegClass", ";", "else", "if", "(", "Is64Bit", ")", "return", "&", "X86", "::", "GR64_TCRegClass", ";", "bool", "hasHipeCC", "=", "(", "F", "?", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "HiPE", ":", "false", ")", ";", "if", "(", "hasHipeCC", ")", "return", "&", "X86", "::", "GR32RegClass", ";", "return", "&", "X86", "::", "GR32_TCRegClass", ";", "}", ""], "natrual_language": ["getGPRsForTailCall", "-", "Returns", "a", "register", "class", "with", "registers", "that", "can", "be", "used", "in", "forming", "tail", "calls", "."], "TS_V_token": ["X86", "X86", "X86", "X86::GR64_TCW64RegClass", "X86::GR64_TCRegClass", "X86::GR32RegClass", "X86::GR32_TCRegClass"], "File": "X86RegisterInfo (2)", "Func": "getGPRsForTailCall", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4564, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTTIImpl", "::", "useColdCCForColdCall", "(", "Function", "&", "F", ")", "{", "return", "EnablePPCColdCC", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "input", "function", "which", "is", "cold", "at", "all", "call", "sites", ",", "should", "use", "coldcc", "calling", "convention", "."], "TS_V_token": ["PowerPC", "PPC", "PPC"], "File": "PPCTargetTransformInfo", "Func": "useColdCCForColdCall", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4565, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "ARMDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "CS", ")", "const", "{", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "ARM", "::", "ModeThumb", "]", ")", "return", "getThumbInstruction", "(", "MI", ",", "Size", ",", "Bytes", ",", "Address", ",", "CS", ")", ";", "return", "getARMInstruction", "(", "MI", ",", "Size", ",", "Bytes", ",", "Address", ",", "CS", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["ARM", "ARM", "ARM::ModeThumb", "ARM"], "File": "ARMDisassembler15", "Func": "getInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4566, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "final_prescan_insn", "(", "rtx_insn", "*", "insn", ",", "rtx", "opvec", "[", "]", "ATTRIBUTE_UNUSED", ",", "int", "noperands", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "dslots_number_nops", ">", "0", ")", "{", "rtx", "pattern", "=", "PATTERN", "(", "insn", ")", ";", "int", "length", "=", "get_attr_length", "(", "insn", ")", ";", "if", "(", "length", "==", "0", "||", "(", "iq2000_load_reg", "!=", "0", "&&", "reg_mentioned_p", "(", "iq2000_load_reg", ",", "pattern", ")", ")", "||", "(", "iq2000_load_reg2", "!=", "0", "&&", "reg_mentioned_p", "(", "iq2000_load_reg2", ",", "pattern", ")", ")", "||", "(", "iq2000_load_reg3", "!=", "0", "&&", "reg_mentioned_p", "(", "iq2000_load_reg3", ",", "pattern", ")", ")", "||", "(", "iq2000_load_reg4", "!=", "0", "&&", "reg_mentioned_p", "(", "iq2000_load_reg4", ",", "pattern", ")", ")", ")", "fputs", "(", "\"\\tnop\\n\"", ",", "asm_out_file", ")", ";", "else", "dslots_load_filled", "++", ";", "while", "(", "--", "dslots_number_nops", ">", "0", ")", "fputs", "(", "\"\\tnop\\n\"", ",", "asm_out_file", ")", ";", "iq2000_load_reg", "=", "0", ";", "iq2000_load_reg2", "=", "0", ";", "iq2000_load_reg3", "=", "0", ";", "iq2000_load_reg4", "=", "0", ";", "}", "if", "(", "(", "JUMP_P", "(", "insn", ")", "||", "CALL_P", "(", "insn", ")", "||", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "RETURN", ")", ")", "&&", "NEXT_INSN", "(", "PREV_INSN", "(", "insn", ")", ")", "==", "insn", ")", "{", "rtx_insn", "*", "tmp", "=", "insn", ";", "while", "(", "NEXT_INSN", "(", "tmp", ")", "&&", "NOTE_P", "(", "NEXT_INSN", "(", "tmp", ")", ")", "&&", "NOTE_KIND", "(", "NEXT_INSN", "(", "tmp", ")", ")", "==", "NOTE_INSN_CALL_ARG_LOCATION", ")", "tmp", "=", "NEXT_INSN", "(", "tmp", ")", ";", "rtx_insn", "*", "nop_insn", "=", "emit_insn_after", "(", "gen_nop", "(", ")", ",", "tmp", ")", ";", "INSN_ADDRESSES_NEW", "(", "nop_insn", ",", "-", "1", ")", ";", "}", "if", "(", "TARGET_STATS", "&&", "(", "JUMP_P", "(", "insn", ")", "||", "CALL_P", "(", "insn", ")", ")", ")", "dslots_jump_total", "++", ";", "}", ""], "natrual_language": ["If", "defined", ",", "a", "C", "statement", "to", "be", "executed", "just", "prior", "to", "the", "output", "of", "assembler", "code", "for", "INSN", ",", "to", "modify", "the", "extracted", "operands", "so", "they", "will", "be", "output", "differently", ".", "Here", "the", "argument", "OPVEC", "is", "the", "vector", "containing", "the", "operands", "extracted", "from", "INSN", ",", "and", "NOPERANDS", "is", "the", "number", "of", "elements", "of", "the", "vector", "which", "contain", "meaningful", "data", "for", "this", "insn", ".", "The", "contents", "of", "this", "vector", "are", "what", "will", "be", "used", "to", "convert", "the", "insn", "template", "into", "assembler", "code", ",", "so", "you", "can", "change", "the", "assembler", "output", "by", "changing", "the", "contents", "of", "the", "vector", ".", "We", "use", "it", "to", "check", "if", "the", "current", "insn", "needs", "a", "nop", "in", "front", "of", "it", "because", "of", "load", "delays", ",", "and", "also", "to", "update", "the", "delay", "slot", "statistics", "."], "TS_V_token": ["iq2000", "0", "0", "0", "0", "0", "0", "\"\\tnop\\n\"", "0", "\"\\tnop\\n\"", "0", "0", "0", "0", "1"], "File": "iq20005", "Func": "final_prescan_insn", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4567, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "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", ",", "MF", ".", "getTarget", "(", ")", ",", "RVLocs", ",", "Context", ")", ";", "return", "CCInfo", ".", "CheckReturn", "(", "Outs", ",", "RetCC_X86", ")", ";", "}", ""], "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": ["X86", "X86", "ISD::OutputArg", "16", "X86"], "File": "X86ISelLowering (2)", "Func": "CanLowerReturn", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4568, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "addPass", "(", "createSystemZCopyPhysRegsPass", "(", "getSystemZTargetMachine", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ"], "File": "SystemZTargetMachine18", "Func": "addPreRegAlloc", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4569, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMConstantIslands", "::", "verify", "(", ")", "{", "for", "(", "MachineFunction", "::", "iterator", "MBBI", "=", "MF", "->", "begin", "(", ")", ",", "E", "=", "MF", "->", "end", "(", ")", ";", "MBBI", "!=", "E", ";", "++", "MBBI", ")", "{", "MachineBasicBlock", "*", "MBB", "=", "&", "*", "MBBI", ";", "unsigned", "MBBId", "=", "MBB", "->", "getNumber", "(", ")", ";", "assert", "(", "!", "MBBId", "||", "BBInfo", "[", "MBBId", "-", "1", "]", ".", "postOffset", "(", ")", "<=", "BBInfo", "[", "MBBId", "]", ".", "Offset", ")", ";", "}", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Verifying \"", "<<", "CPUsers", ".", "size", "(", ")", "<<", "\" CP users.\\n\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CPUsers", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CPUser", "&", "U", "=", "CPUsers", "[", "i", "]", ";", "unsigned", "UserOffset", "=", "getUserOffset", "(", "U", ")", ";", "if", "(", "isCPEntryInRange", "(", "U", ".", "MI", ",", "UserOffset", ",", "U", ".", "CPEMI", ",", "U", ".", "getMaxDisp", "(", ")", "+", "2", ",", "U", ".", "NegOk", ",", "true", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"OK\\n\"", ")", ";", "continue", ";", "}", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Out of range.\\n\"", ")", ";", "dumpBBs", "(", ")", ";", "DEBUG", "(", "MF", "->", "dump", "(", ")", ")", ";", "llvm_unreachable", "(", "\"Constant pool entry out of range!\"", ")", ";", "}", "}", ""], "natrual_language": ["Check", "if", "this", "register", "bank", "is", "valid", "."], "TS_V_token": ["ARM", "ARM", "1", "\"Verifying \"", "\" CP users.\\n\"", "0", "2", "\"OK\\n\"", "\"Out of range.\\n\"", "\"Constant pool entry out of range!\""], "File": "ARMConstantIslandPass (2)1", "Func": "verify", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4570, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "reg_class", "mt_secondary_reload_class", "(", "enum", "reg_class", "class", "ATTRIBUTE_UNUSED", ",", "enum", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "if", "(", "(", "mode", "==", "QImode", "&&", "(", "!", "TARGET_BYTE_ACCESS", ")", ")", "||", "mode", "==", "HImode", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "MEM", "||", "(", "GET_CODE", "(", "x", ")", "==", "REG", "&&", "true_regnum", "(", "x", ")", "==", "-", "1", ")", "||", "(", "GET_CODE", "(", "x", ")", "==", "SUBREG", "&&", "(", "GET_CODE", "(", "SUBREG_REG", "(", "x", ")", ")", "==", "MEM", "||", "(", "GET_CODE", "(", "SUBREG_REG", "(", "x", ")", ")", "==", "REG", "&&", "true_regnum", "(", "SUBREG_REG", "(", "x", ")", ")", "==", "-", "1", ")", ")", ")", ")", "return", "GENERAL_REGS", ";", "}", "return", "NO_REGS", ";", "}", ""], "natrual_language": ["Implement", "SECONDARY_RELOAD_CLASS", "."], "TS_V_token": ["mt", "1", "1"], "File": "mt", "Func": "mt_secondary_reload_class", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4571, "Length": 113, "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", "(", "PATTERN", "(", "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": "mips4", "Func": "mips_sim_issue_insn", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4572, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SparcInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcSubtarget11", "Func": "getInstrInfo", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4573, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "Cpu0RegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", ")", "const", "{", "return", "CSR_O32_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["Cpu0", "Cpu0"], "File": "Cpu0RegisterInfo", "Func": "getCallPreservedMask", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4574, "Length": 22, "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": 4575, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_trampoline_init", "(", "rtx", "m_tramp", ",", "tree", "fndecl", ",", "rtx", "cxt", ")", "{", "int", "regsize", "=", "(", "TARGET_32BIT", ")", "?", "4", ":", "8", ";", "rtx", "fnaddr", "=", "XEXP", "(", "DECL_RTL", "(", "fndecl", ")", ",", "0", ")", ";", "rtx", "ctx_reg", "=", "force_reg", "(", "Pmode", ",", "cxt", ")", ";", "rtx", "addr", "=", "force_reg", "(", "Pmode", ",", "XEXP", "(", "m_tramp", ",", "0", ")", ")", ";", "switch", "(", "DEFAULT_ABI", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "ABI_AIX", ":", "{", "rtx", "fnmem", ",", "fn_reg", ",", "toc_reg", ";", "if", "(", "!", "TARGET_POINTERS_TO_NESTED_FUNCTIONS", ")", "error", "(", "\"You cannot take the address of a nested function if you use \"", "\"the -mno-pointers-to-nested-functions option.\"", ")", ";", "fnmem", "=", "gen_const_mem", "(", "Pmode", ",", "force_reg", "(", "Pmode", ",", "fnaddr", ")", ")", ";", "fn_reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "toc_reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "m_tramp", "=", "replace_equiv_address", "(", "m_tramp", ",", "addr", ")", ";", "emit_move_insn", "(", "fn_reg", ",", "MEM_PLUS", "(", "fnmem", ",", "0", ")", ")", ";", "emit_move_insn", "(", "toc_reg", ",", "MEM_PLUS", "(", "fnmem", ",", "regsize", ")", ")", ";", "emit_move_insn", "(", "MEM_PLUS", "(", "m_tramp", ",", "0", ")", ",", "fn_reg", ")", ";", "emit_move_insn", "(", "MEM_PLUS", "(", "m_tramp", ",", "regsize", ")", ",", "toc_reg", ")", ";", "emit_move_insn", "(", "MEM_PLUS", "(", "m_tramp", ",", "2", "*", "regsize", ")", ",", "ctx_reg", ")", ";", "}", "break", ";", "case", "ABI_ELFv2", ":", "case", "ABI_DARWIN", ":", "case", "ABI_V4", ":", "emit_library_call", "(", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"__trampoline_setup\"", ")", ",", "LCT_NORMAL", ",", "VOIDmode", ",", "addr", ",", "Pmode", ",", "GEN_INT", "(", "rs6000_trampoline_size", "(", ")", ")", ",", "SImode", ",", "fnaddr", ",", "Pmode", ",", "ctx_reg", ",", "Pmode", ")", ";", "break", ";", "}", "}", ""], "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": ["powerpcspe", "4", "8", "0", "0", "\"You cannot take the address of a nested function if you use \"", "\"the -mno-pointers-to-nested-functions option.\"", "0", "0", "2", "\"__trampoline_setup\""], "File": "powerpcspe", "Func": "rs6000_trampoline_init", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4576, "Length": 246, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "AArch64InstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64Subtarget (2)", "Func": "getInstrInfo", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4577, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "const", "TargetRegisterClass", "*", ",", "uint8_t", ">", "ARMTargetLowering", "::", "findRepresentativeClass", "(", "MVT", "VT", ")", "const", "{", "const", "TargetRegisterClass", "*", "RRC", "=", "nullptr", ";", "uint8_t", "Cost", "=", "1", ";", "switch", "(", "VT", ".", "SimpleTy", ")", "{", "default", ":", "return", "TargetLowering", "::", "findRepresentativeClass", "(", "VT", ")", ";", "case", "MVT", "::", "f32", ":", "case", "MVT", "::", "f64", ":", "case", "MVT", "::", "v8i8", ":", "case", "MVT", "::", "v4i16", ":", "case", "MVT", "::", "v2i32", ":", "case", "MVT", "::", "v1i64", ":", "case", "MVT", "::", "v2f32", ":", "RRC", "=", "&", "ARM", "::", "DPRRegClass", ";", "if", "(", "Subtarget", "->", "useNEONForSinglePrecisionFP", "(", ")", ")", "Cost", "=", "2", ";", "break", ";", "case", "MVT", "::", "v16i8", ":", "case", "MVT", "::", "v8i16", ":", "case", "MVT", "::", "v4i32", ":", "case", "MVT", "::", "v2i64", ":", "case", "MVT", "::", "v4f32", ":", "case", "MVT", "::", "v2f64", ":", "RRC", "=", "&", "ARM", "::", "DPRRegClass", ";", "Cost", "=", "2", ";", "break", ";", "case", "MVT", "::", "v4i64", ":", "RRC", "=", "&", "ARM", "::", "DPRRegClass", ";", "Cost", "=", "4", ";", "break", ";", "case", "MVT", "::", "v8i64", ":", "RRC", "=", "&", "ARM", "::", "DPRRegClass", ";", "Cost", "=", "8", ";", "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": ["ARM", "ARM", "1", "MVT::f32", "MVT::f64", "MVT::v8i8", "MVT::v4i16", "MVT::v2i32", "MVT::v1i64", "MVT::v2f32", "ARM::DPRRegClass", "2", "MVT::v16i8", "MVT::v8i16", "MVT::v4i32", "MVT::v2i64", "MVT::v4f32", "MVT::v2f64", "ARM::DPRRegClass", "2", "MVT::v4i64", "ARM::DPRRegClass", "4", "MVT::v8i64", "ARM::DPRRegClass", "8"], "File": "ARMISelLowering (2)", "Func": "findRepresentativeClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4578, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsPassConfig", "::", "addPreEmitPass", "(", ")", "{", "MipsTargetMachine", "&", "TM", "=", "getMipsTargetMachine", "(", ")", ";", "addPass", "(", "createMipsDelaySlotFillerPass", "(", "TM", ")", ")", ";", "addPass", "(", "createMipsLongBranchPass", "(", "TM", ")", ")", ";", "addPass", "(", "createMipsConstantIslandPass", "(", "TM", ")", ")", ";", "}", ""], "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"], "File": "MipsTargetMachine2", "Func": "addPreEmitPass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4579, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "xstormy16_below100_symbol", "(", "rtx", "x", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST", ")", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "CONST_INT", ")", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", ")", "return", "(", "SYMBOL_REF_FLAGS", "(", "x", ")", "&", "SYMBOL_FLAG_XSTORMY16_BELOW100", ")", "!=", "0", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST_INT", ")", "{", "HOST_WIDE_INT", "i", "=", "INTVAL", "(", "x", ")", ";", "if", "(", "(", "i", ">=", "0x0000", "&&", "i", "<=", "0x00ff", ")", "||", "(", "i", ">=", "0x7f00", "&&", "i", "<=", "0x7fff", ")", ")", "return", "1", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Predicate", "for", "symbols", "and", "addresses", "that", "reflect", "special", "8-bit", "addressing", "."], "TS_V_token": ["stormy16", "0", "1", "0", "0", "0x0000", "0x00ff", "0x7f00", "0x7fff", "1", "0"], "File": "stormy163", "Func": "xstormy16_below100_symbol", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4580, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_dwarf_handle_frame_unspec", "(", "const", "char", "*", "label", ",", "rtx", "pattern", "ATTRIBUTE_UNUSED", ",", "int", "index", "ATTRIBUTE_UNUSED", ")", "{", "gcc_assert", "(", "index", "==", "UNSPECV_SAVEW", ")", ";", "dwarf2out_window_save", "(", "label", ")", ";", "}", ""], "natrual_language": ["Handle", "the", "TARGET_DWARF_HANDLE_FRAME_UNSPEC", "hook", ".", "This", "is", "called", "from", "dwarf2out.c", "to", "emit", "call", "frame", "instructions", "for", "frame-related", "insns", "containing", "UNSPECs", "and", "UNSPEC_VOLATILEs", "."], "TS_V_token": ["sparc"], "File": "sparc3", "Func": "sparc_dwarf_handle_frame_unspec", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4581, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "i386_pe_declare_function_type", "(", "FILE", "*", "file", ",", "const", "char", "*", "name", ",", "int", "public", ")", "{", "fprintf", "(", "file", ",", "\"\\t.def\\t\"", ")", ";", "assemble_name", "(", "file", ",", "name", ")", ";", "fprintf", "(", "file", ",", "\";\\t.scl\\t%d;\\t.type\\t%d;\\t.endef\\n\"", ",", "public", "?", "(", "int", ")", "C_EXT", ":", "(", "int", ")", "C_STAT", ",", "(", "int", ")", "DT_FCN", "<<", "N_BTSHFT", ")", ";", "}", ""], "natrual_language": ["Mark", "a", "function", "appropriately", ".", "This", "should", "only", "be", "called", "for", "functions", "for", "which", "we", "are", "not", "emitting", "COFF", "debugging", "information", ".", "FILE", "is", "the", "assembler", "output", "file", ",", "NAME", "is", "the", "name", "of", "the", "function", ",", "and", "PUBLIC", "is", "nonzero", "if", "the", "function", "is", "globally", "visible", "."], "TS_V_token": ["i386", "\"\\t.def\\t\"", "\";\\t.scl\\t%d;\\t.type\\t%d;\\t.endef\\n\""], "File": "winnt3", "Func": "i386_pe_declare_function_type", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4582, "Length": 57, "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!\"", ")", ";", "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", "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": "ARMBaseRegisterInfo1", "Func": "getFrameIndexInstrOffset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4583, "Length": 326, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "tryAddingPcLoadReferenceComment", "(", "uint64_t", "Address", ",", "int", "Value", ",", "const", "void", "*", "Decoder", ")", "{", "const", "MCDisassembler", "*", "Dis", "=", "static_cast", "<", "const", "MCDisassembler", "*", ">", "(", "Decoder", ")", ";", "Dis", "->", "tryAddingPcLoadReferenceComment", "(", "Value", ",", "Address", ")", ";", "}", ""], "natrual_language": ["Try", "to", "add", "a", "comment", "on", "the", "PC-relative", "load", "."], "TS_V_token": ["ARM"], "File": "ARMDisassembler (2)", "Func": "tryAddingPcLoadReferenceComment", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4584, "Length": 41, "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", "->", "isDebugInstr", "(", ")", ")", "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", ")", "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"], "File": "PPCHazardRecognizers", "Func": "getHazardType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4585, "Length": 263, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"CAHP DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["CAHP", "\"CAHP DAG->DAG Pattern Instruction Selection\""], "File": "CAHPISelDAGToDAG", "Func": "getPassName", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4586, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "getSubExpr", "(", ")", "const", "{", "return", "Expr", ";", "}", ""], "natrual_language": ["getSubExpr", "-", "Get", "the", "child", "of", "this", "expression", "."], "TS_V_token": ["ARM64"], "File": "ARM64MCExpr", "Func": "getSubExpr", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4587, "Length": 12, "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": 4588, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "uint64_t", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "unsigned", "MatchResult", ";", "MatchResult", "=", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ";", "switch", "(", "MatchResult", ")", "{", "default", ":", "break", ";", "case", "Match_Success", ":", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "Out", ".", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "return", "false", ";", "case", "Match_MissingFeature", ":", "{", "assert", "(", "ErrorInfo", "&&", "\"Unknown missing feature!\"", ")", ";", "std", "::", "string", "Msg", "=", "\"instruction requires:\"", ";", "uint64_t", "Mask", "=", "1", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "sizeof", "(", "ErrorInfo", ")", "*", "8", "-", "1", ";", "++", "I", ")", "{", "if", "(", "ErrorInfo", "&", "Mask", ")", "{", "Msg", "+=", "\" \"", ";", "Msg", "+=", "getSubtargetFeatureName", "(", "ErrorInfo", "&", "Mask", ")", ";", "}", "Mask", "<<=", "1", ";", "}", "return", "Error", "(", "IDLoc", ",", "Msg", ")", ";", "}", "case", "Match_InvalidOperand", ":", "{", "SMLoc", "ErrorLoc", "=", "IDLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "0ULL", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "IDLoc", ",", "\"too few operands for instruction\"", ")", ";", "ErrorLoc", "=", "(", "(", "SystemZOperand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "\"invalid operand for instruction\"", ")", ";", "}", "case", "Match_MnemonicFail", ":", "return", "Error", "(", "IDLoc", ",", "\"invalid instruction\"", ")", ";", "}", "llvm_unreachable", "(", "\"Unexpected match type\"", ")", ";", "}", ""], "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": ["SystemZ", "SystemZ", "\"Unknown missing feature!\"", "\"instruction requires:\"", "1", "0", "8", "1", "\" \"", "1", "0ULL", "\"too few operands for instruction\"", "SystemZ", "\"invalid operand for instruction\"", "\"invalid instruction\"", "\"Unexpected match type\""], "File": "SystemZAsmParser40", "Func": "MatchAndEmitInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4589, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "i386_pe_maybe_record_exported_symbol", "(", "tree", "decl", ",", "const", "char", "*", "name", ",", "int", "is_data", ")", "{", "rtx", "symbol", ";", "struct", "export_list", "*", "p", ";", "if", "(", "!", "decl", ")", "return", ";", "symbol", "=", "XEXP", "(", "DECL_RTL", "(", "decl", ")", ",", "0", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "symbol", ")", "==", "SYMBOL_REF", ")", ";", "if", "(", "!", "SYMBOL_REF_DLLEXPORT_P", "(", "symbol", ")", ")", "return", ";", "gcc_assert", "(", "TREE_PUBLIC", "(", "decl", ")", ")", ";", "p", "=", "ggc_alloc", "<", "export_list", ">", "(", ")", ";", "p", "->", "next", "=", "export_head", ";", "p", "->", "name", "=", "name", ";", "p", "->", "is_data", "=", "is_data", ";", "export_head", "=", "p", ";", "}", ""], "natrual_language": ["Assemble", "an", "export", "symbol", "entry", ".", "We", "need", "to", "keep", "a", "list", "of", "these", ",", "so", "that", "we", "can", "output", "the", "export", "list", "at", "the", "end", "of", "the", "assembly", ".", "We", "used", "to", "output", "these", "export", "symbols", "in", "each", "function", ",", "but", "that", "causes", "problems", "with", "GNU", "ld", "when", "the", "sections", "are", "linkonce", ".", "Beware", ",", "DECL", "may", "be", "NULL", "if", "compile_file", "(", ")", "is", "emitting", "the", "LTO", "marker", "."], "TS_V_token": ["i386", "0"], "File": "winnt", "Func": "i386_pe_maybe_record_exported_symbol", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4590, "Length": 102, "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", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "unsigned", "Count", "=", "CSI", ".", "size", "(", ")", ";", "DebugLoc", "DL", ";", "assert", "(", "(", "Count", "&", "1", ")", "==", "0", "&&", "\"Odd number of callee-saved regs to spill!\"", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Count", ";", "i", "+=", "2", ")", "{", "unsigned", "idx", "=", "Count", "-", "i", "-", "2", ";", "unsigned", "Reg1", "=", "CSI", "[", "idx", "]", ".", "getReg", "(", ")", ";", "unsigned", "Reg2", "=", "CSI", "[", "idx", "+", "1", "]", ".", "getReg", "(", ")", ";", "assert", "(", "CSI", "[", "idx", "]", ".", "getFrameIdx", "(", ")", "+", "1", "==", "CSI", "[", "idx", "+", "1", "]", ".", "getFrameIdx", "(", ")", "&&", "\"Out of order callee saved regs!\"", ")", ";", "unsigned", "StrOpc", ";", "assert", "(", "(", "Count", "&", "1", ")", "==", "0", "&&", "\"Odd number of callee-saved regs to spill!\"", ")", ";", "assert", "(", "(", "i", "&", "1", ")", "==", "0", "&&", "\"Odd index for callee-saved reg spill!\"", ")", ";", "if", "(", "AArch64", "::", "GPR64RegClass", ".", "contains", "(", "Reg1", ")", ")", "{", "assert", "(", "AArch64", "::", "GPR64RegClass", ".", "contains", "(", "Reg2", ")", "&&", "\"Expected GPR64 callee-saved register pair!\"", ")", ";", "if", "(", "i", "==", "0", ")", "StrOpc", "=", "AArch64", "::", "STPXpre", ";", "else", "StrOpc", "=", "AArch64", "::", "STPXi", ";", "}", "else", "if", "(", "AArch64", "::", "FPR64RegClass", ".", "contains", "(", "Reg1", ")", ")", "{", "assert", "(", "AArch64", "::", "FPR64RegClass", ".", "contains", "(", "Reg2", ")", "&&", "\"Expected FPR64 callee-saved register pair!\"", ")", ";", "if", "(", "i", "==", "0", ")", "StrOpc", "=", "AArch64", "::", "STPDpre", ";", "else", "StrOpc", "=", "AArch64", "::", "STPDi", ";", "}", "else", "llvm_unreachable", "(", "\"Unexpected callee saved register!\"", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"CSR spill: (\"", "<<", "TRI", "->", "getName", "(", "Reg1", ")", "<<", "\", \"", "<<", "TRI", "->", "getName", "(", "Reg2", ")", "<<", "\") -> fi#(\"", "<<", "CSI", "[", "idx", "]", ".", "getFrameIdx", "(", ")", "<<", "\", \"", "<<", "CSI", "[", "idx", "+", "1", "]", ".", "getFrameIdx", "(", ")", "<<", "\")\\n\"", ")", ";", "const", "int", "Offset", "=", "(", "i", "==", "0", ")", "?", "-", "Count", ":", "i", ";", "assert", "(", "(", "Offset", ">=", "-", "64", "&&", "Offset", "<=", "63", ")", "&&", "\"Offset out of bounds for STP immediate\"", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "StrOpc", ")", ")", ";", "if", "(", "StrOpc", "==", "AArch64", "::", "STPDpre", "||", "StrOpc", "==", "AArch64", "::", "STPXpre", ")", "MIB", ".", "addReg", "(", "AArch64", "::", "SP", ",", "RegState", "::", "Define", ")", ";", "MIB", ".", "addReg", "(", "Reg2", ",", "getPrologueDeath", "(", "MF", ",", "Reg2", ")", ")", ".", "addReg", "(", "Reg1", ",", "getPrologueDeath", "(", "MF", ",", "Reg1", ")", ")", ".", "addReg", "(", "AArch64", "::", "SP", ")", ".", "addImm", "(", "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", "1", "0", "\"Odd number of callee-saved regs to spill!\"", "0", "2", "2", "1", "1", "1", "\"Out of order callee saved regs!\"", "1", "0", "\"Odd number of callee-saved regs to spill!\"", "1", "0", "\"Odd index for callee-saved reg spill!\"", "AArch64::GPR64RegClass", "AArch64::GPR64RegClass", "\"Expected GPR64 callee-saved register pair!\"", "0", "AArch64::STPXpre", "AArch64::STPXi", "AArch64::FPR64RegClass", "AArch64::FPR64RegClass", "\"Expected FPR64 callee-saved register pair!\"", "0", "AArch64::STPDpre", "AArch64::STPDi", "\"Unexpected callee saved register!\"", "\"CSR spill: (\"", "\", \"", "\") -> fi#(\"", "\", \"", "1", "\")\\n\"", "0", "64", "63", "\"Offset out of bounds for STP immediate\"", "AArch64::STPDpre", "AArch64::STPXpre", "AArch64::SP", "AArch64::SP"], "File": "AArch64FrameLowering44", "Func": "spillCalleeSavedRegisters", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4591, "Length": 485, "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": 4592, "Length": 30, "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", "||", "mode", "==", "TFmode", ")", ")", "return", "true", ";", "}", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "current", "function", "uses", "any", "GPRs", "in", "64-bit", "SIMD", "mode", "."], "TS_V_token": ["rs6000"], "File": "rs60004", "Func": "spe_func_has_64bit_regs_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4593, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_nsaved_sseregs", "(", "void", ")", "{", "int", "nregs", "=", "0", ";", "int", "regno", ";", "if", "(", "!", "TARGET_64BIT_MS_ABI", ")", "return", "0", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "SSE_REGNO_P", "(", "regno", ")", "&&", "ix86_save_reg", "(", "regno", ",", "true", ",", "true", ")", ")", "nregs", "++", ";", "return", "nregs", ";", "}", ""], "natrual_language": ["Return", "number", "of", "saved", "SSE", "registrers", "."], "TS_V_token": ["i386", "0", "0", "0"], "File": "i386", "Func": "ix86_nsaved_sseregs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4594, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "spe_synthesize_frame_save", "(", "rtx", "real", ")", "{", "rtx", "synth", ",", "offset", ",", "reg", ",", "real2", ";", "if", "(", "GET_CODE", "(", "real", ")", "!=", "SET", "||", "GET_MODE", "(", "SET_SRC", "(", "real", ")", ")", "!=", "V2SImode", ")", "return", "real", ";", "gcc_assert", "(", "GET_CODE", "(", "SET_DEST", "(", "real", ")", ")", "==", "MEM", "&&", "GET_CODE", "(", "XEXP", "(", "SET_DEST", "(", "real", ")", ",", "0", ")", ")", "==", "PLUS", "&&", "GET_CODE", "(", "SET_SRC", "(", "real", ")", ")", "==", "REG", ")", ";", "real2", "=", "copy_rtx", "(", "real", ")", ";", "PUT_MODE", "(", "SET_DEST", "(", "real2", ")", ",", "SImode", ")", ";", "reg", "=", "SET_SRC", "(", "real2", ")", ";", "real2", "=", "replace_rtx", "(", "real2", ",", "reg", ",", "gen_rtx_REG", "(", "SImode", ",", "REGNO", "(", "reg", ")", ")", ")", ";", "synth", "=", "copy_rtx", "(", "real2", ")", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "{", "offset", "=", "XEXP", "(", "XEXP", "(", "SET_DEST", "(", "real2", ")", ",", "0", ")", ",", "1", ")", ";", "real2", "=", "replace_rtx", "(", "real2", ",", "offset", ",", "GEN_INT", "(", "INTVAL", "(", "offset", ")", "+", "4", ")", ")", ";", "}", "reg", "=", "SET_SRC", "(", "synth", ")", ";", "synth", "=", "replace_rtx", "(", "synth", ",", "reg", ",", "gen_rtx_REG", "(", "SImode", ",", "REGNO", "(", "reg", ")", "+", "1200", ")", ")", ";", "offset", "=", "XEXP", "(", "XEXP", "(", "SET_DEST", "(", "synth", ")", ",", "0", ")", ",", "1", ")", ";", "synth", "=", "replace_rtx", "(", "synth", ",", "offset", ",", "GEN_INT", "(", "INTVAL", "(", "offset", ")", "+", "(", "BYTES_BIG_ENDIAN", "?", "0", ":", "4", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "synth", ")", "=", "1", ";", "RTX_FRAME_RELATED_P", "(", "real2", ")", "=", "1", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "real", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "synth", ",", "real2", ")", ")", ";", "else", "real", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "real2", ",", "synth", ")", ")", ";", "return", "real", ";", "}", ""], "natrual_language": ["Given", "an", "SPE", "frame", "note", ",", "return", "a", "PARALLEL", "of", "SETs", "with", "the", "original", "note", ",", "plus", "a", "synthetic", "register", "save", "."], "TS_V_token": ["rs6000", "0", "0", "1", "4", "1200", "0", "1", "0", "4", "1", "1", "2", "2"], "File": "rs60003", "Func": "spe_synthesize_frame_save", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4595, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_legitimize_address_displacement", "(", "rtx", "*", "disp", ",", "rtx", "*", "off", ",", "machine_mode", "mode", ")", "{", "HOST_WIDE_INT", "offset", "=", "INTVAL", "(", "*", "disp", ")", ";", "HOST_WIDE_INT", "base", "=", "offset", "&", "~", "(", "GET_MODE_SIZE", "(", "mode", ")", "<", "4", "?", "0xfff", ":", "0x3ffc", ")", ";", "if", "(", "mode", "==", "TImode", "||", "mode", "==", "TFmode", "||", "(", "offset", "&", "(", "GET_MODE_SIZE", "(", "mode", ")", "-", "1", ")", ")", "!=", "0", ")", "base", "=", "(", "offset", "+", "0x100", ")", "&", "~", "0x1ff", ";", "*", "off", "=", "GEN_INT", "(", "base", ")", ";", "*", "disp", "=", "GEN_INT", "(", "offset", "-", "base", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Split", "an", "out-of-range", "address", "displacement", "into", "a", "base", "and", "offset", ".", "Use", "4KB", "range", "for", "1-", "and", "2-byte", "accesses", "and", "a", "16KB", "range", "otherwise", "to", "increase", "opportunities", "for", "sharing", "the", "base", "address", "of", "different", "sizes", ".", "For", "unaligned", "accesses", "and", "TI/TF", "mode", "use", "the", "signed", "9-bit", "range", "."], "TS_V_token": ["aarch64", "4", "0xfff", "0x3ffc", "1", "0", "0x100", "0x1ff"], "File": "aarch644", "Func": "aarch64_legitimize_address_displacement", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4596, "Length": 102, "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", "V32QImode", ":", "extract", "=", "gen_avx_vextractf128v32qi", ";", "mode", "=", "V16QImode", ";", "break", ";", "case", "V8SFmode", ":", "extract", "=", "gen_avx_vextractf128v8sf", ";", "mode", "=", "V4SFmode", ";", "break", ";", "case", "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": "i3866", "Func": "ix86_avx256_split_vector_move_misalign", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4597, "Length": 360, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "std", "::", "string", "&", "ARMToARMStub", "::", "name", "(", ")", "const", "{", "return", "m_Name", ";", "}", ""], "natrual_language": ["Gets", "the", "name", "of", "the", "pass", "we", "are", "mixed", "into", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMToARMStub", "Func": "name", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4598, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emitConstantPool", "(", "MCStreamer", "&", "Streamer", ",", "const", "MCSection", "*", "Section", ",", "ConstantPool", "&", "CP", ")", "{", "if", "(", "!", "CP", ".", "empty", "(", ")", ")", "{", "Streamer", ".", "SwitchSection", "(", "Section", ")", ";", "CP", ".", "emitEntries", "(", "Streamer", ")", ";", "}", "}", ""], "natrual_language": ["Print", "to", "the", "current", "output", "stream", "assembly", "representations", "of", "the", "constants", "in", "the", "constant", "pool", "MCP", "."], "TS_V_token": ["ARM"], "File": "ARMTargetStreamer10", "Func": "emitConstantPool", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4599, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZPassConfig", "::", "addPreEmitPass", "(", ")", "{", "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"], "File": "SystemZTargetMachine8", "Func": "addPreEmitPass", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4600, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mmix_print_operand_punct_valid_p", "(", "unsigned", "char", "code", ")", "{", "return", "code", "==", "'+'", "||", "code", "==", "'.'", "||", "code", "==", "'!'", ";", "}", ""], "natrual_language": ["PRINT_OPERAND_PUNCT_VALID_P", "."], "TS_V_token": ["mmix"], "File": "mmix", "Func": "mmix_print_operand_punct_valid_p", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4601, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_builtin_setjmp_frame_value", "(", "void", ")", "{", "return", "stack_realign_fp", "?", "hard_frame_pointer_rtx", ":", "virtual_stack_vars_rtx", ";", "}", ""], "natrual_language": ["In", "a", "dynamically-aligned", "function", ",", "we", "ca", "n't", "know", "the", "offset", "from", "stack", "pointer", "to", "frame", "pointer", ",", "so", "we", "must", "ensure", "that", "setjmp", "eliminates", "fp", "against", "the", "hard", "fp", "(", "%", "ebp", ")", "rather", "than", "trying", "to", "index", "from", "%", "esp", "up", "to", "the", "top", "of", "the", "frame", "across", "a", "gap", "that", "is", "of", "unknown", "(", "at", "compile-time", ")", "size", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_builtin_setjmp_frame_value", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4602, "Length": 15, "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", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["ARM", "ARM", "127"], "File": "ARMTargetMachine (2)1", "Func": "addPreISel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4603, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "loongarch_print_operand_punct_valid_p", "(", "unsigned", "char", "code", ")", "{", "return", "loongarch_print_operand_punct", "[", "code", "]", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PRINT_OPERAND_PUNCT_VALID_P", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_print_operand_punct_valid_p", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4604, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PromoteConstant", "::", "runOnFunction", "(", "Function", "&", "F", ",", "PromotionCacheTy", "&", "PromotionCache", ")", "{", "SmallVector", "<", "UpdateRecord", ",", "64", ">", "Updates", ";", "for", "(", "Instruction", "&", "I", ":", "instructions", "(", "&", "F", ")", ")", "{", "for", "(", "Use", "&", "U", ":", "I", ".", "operands", "(", ")", ")", "{", "Constant", "*", "Cst", "=", "dyn_cast", "<", "Constant", ">", "(", "U", ")", ";", "if", "(", "!", "Cst", "||", "isa", "<", "GlobalValue", ">", "(", "Cst", ")", "||", "isa", "<", "ConstantExpr", ">", "(", "Cst", ")", ")", "continue", ";", "if", "(", "!", "shouldConvert", "(", "*", "Cst", ",", "PromotionCache", ")", ")", "continue", ";", "unsigned", "OpNo", "=", "&", "U", "-", "I", ".", "op_begin", "(", ")", ";", "if", "(", "!", "shouldConvertUse", "(", "Cst", ",", "&", "I", ",", "OpNo", ")", ")", "continue", ";", "Updates", ".", "emplace_back", "(", "Cst", ",", "&", "I", ",", "OpNo", ")", ";", "}", "}", "if", "(", "Updates", ".", "empty", "(", ")", ")", "return", "false", ";", "promoteConstants", "(", "F", ",", "Updates", ",", "PromotionCache", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["AArch64", "AArch64", "64"], "File": "AArch64PromoteConstant", "Func": "runOnFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4605, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMWinCOFFObjectWriter", "::", "recordRelocation", "(", "const", "MCFixup", "&", "Fixup", ")", "const", "{", "return", "static_cast", "<", "unsigned", ">", "(", "Fixup", ".", "getKind", "(", ")", ")", "!=", "ARM", "::", "fixup_t2_movt_hi16", ";", "}", ""], "natrual_language": ["Record", "a", "relocation", "entry", "."], "TS_V_token": ["ARM", "ARM", "ARM::fixup_t2_movt_hi16"], "File": "ARMWinCOFFObjectWriter", "Func": "recordRelocation", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4606, "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", "(", "GET_CODE", "(", "dst", ")", "==", "SUBREG", ")", "{", "pos", "+=", "SUBREG_BYTE", "(", "dst", ")", "*", "BITS_PER_UNIT", ";", "dst", "=", "SUBREG_REG", "(", "dst", ")", ";", "}", "if", "(", "GET_CODE", "(", "src", ")", "==", "SUBREG", ")", "src", "=", "SUBREG_REG", "(", "src", ")", ";", "switch", "(", "GET_MODE", "(", "dst", ")", ")", "{", "case", "V16QImode", ":", "case", "V8HImode", ":", "case", "V4SImode", ":", "case", "V2DImode", ":", "{", "machine_mode", "srcmode", ",", "dstmode", ";", "rtx", "(", "*", "pinsr", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "srcmode", "=", "mode_for_size", "(", "size", ",", "MODE_INT", ",", "0", ")", ";", "switch", "(", "srcmode", ")", "{", "case", "QImode", ":", "if", "(", "!", "TARGET_SSE4_1", ")", "return", "false", ";", "dstmode", "=", "V16QImode", ";", "pinsr", "=", "gen_sse4_1_pinsrb", ";", "break", ";", "case", "HImode", ":", "if", "(", "!", "TARGET_SSE2", ")", "return", "false", ";", "dstmode", "=", "V8HImode", ";", "pinsr", "=", "gen_sse2_pinsrw", ";", "break", ";", "case", "SImode", ":", "if", "(", "!", "TARGET_SSE4_1", ")", "return", "false", ";", "dstmode", "=", "V4SImode", ";", "pinsr", "=", "gen_sse4_1_pinsrd", ";", "break", ";", "case", "DImode", ":", "gcc_assert", "(", "TARGET_64BIT", ")", ";", "if", "(", "!", "TARGET_SSE4_1", ")", "return", "false", ";", "dstmode", "=", "V2DImode", ";", "pinsr", "=", "gen_sse4_1_pinsrq", ";", "break", ";", "default", ":", "return", "false", ";", "}", "rtx", "d", "=", "dst", ";", "if", "(", "GET_MODE", "(", "dst", ")", "!=", "dstmode", ")", "d", "=", "gen_reg_rtx", "(", "dstmode", ")", ";", "src", "=", "gen_lowpart", "(", "srcmode", ",", "src", ")", ";", "pos", "/=", "size", ";", "emit_insn", "(", "pinsr", "(", "d", ",", "gen_lowpart", "(", "dstmode", ",", "dst", ")", ",", "src", ",", "GEN_INT", "(", "1", "<<", "pos", ")", ")", ")", ";", "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"], "File": "i3864", "Func": "ix86_expand_pinsr", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4607, "Length": 333, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "Dcpu16InstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["Dcpu16"], "File": "Dcpu16TargetMachine (2)", "Func": "getInstrInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4608, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "VEFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "assert", "(", "isLeafProc", "(", "MF", ")", "&&", "\"TODO implement for non-leaf procs\"", ")", ";", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["VE", "VE", "\"TODO implement for non-leaf procs\""], "File": "VEFrameLowering10", "Func": "determineCalleeSaves", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4609, "Length": 41, "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": 4610, "Length": 62, "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": 4611, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "no_previous_def", "(", "tree", "function_name", ")", "{", "tree", "branch_island", ";", "for", "(", "branch_island", "=", "branch_island_list", ";", "branch_island", ";", "branch_island", "=", "TREE_CHAIN", "(", "branch_island", ")", ")", "if", "(", "function_name", "==", "BRANCH_ISLAND_FUNCTION_NAME", "(", "branch_island", ")", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["NO_PREVIOUS_DEF", "checks", "in", "the", "link", "list", "whether", "the", "function", "name", "is", "already", "there", "or", "not", "."], "TS_V_token": ["rs6000", "0", "1"], "File": "rs60003", "Func": "no_previous_def", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4612, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "const", "SDLoc", "&", "DL", ",", "SelectionDAG", "&", "DAG", ")", "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", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC", ")", ";", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "RetOps", "(", "1", ",", "Chain", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "realRVLocIdx", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ",", "++", "realRVLocIdx", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "SDValue", "Arg", "=", "OutVals", "[", "realRVLocIdx", "]", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown loc info!\"", ")", ";", "case", "CCValAssign", "::", "Full", ":", "if", "(", "Outs", "[", "i", "]", ".", "ArgVT", "==", "MVT", "::", "i1", ")", "{", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "TRUNCATE", ",", "DL", ",", "MVT", "::", "i1", ",", "Arg", ")", ";", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ZERO_EXTEND", ",", "DL", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "}", "break", ";", "case", "CCValAssign", "::", "BCvt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "DL", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "}", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "VA", ".", "getLocReg", "(", ")", ",", "Arg", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "}", "const", "AArch64RegisterInfo", "*", "TRI", "=", "Subtarget", "->", "getRegisterInfo", "(", ")", ";", "const", "MCPhysReg", "*", "I", "=", "TRI", "->", "getCalleeSavedRegsViaCopy", "(", "&", "DAG", ".", "getMachineFunction", "(", ")", ")", ";", "if", "(", "I", ")", "{", "for", "(", ";", "*", "I", ";", "++", "I", ")", "{", "if", "(", "AArch64", "::", "GPR64RegClass", ".", "contains", "(", "*", "I", ")", ")", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "*", "I", ",", "MVT", "::", "i64", ")", ")", ";", "else", "if", "(", "AArch64", "::", "FPR64RegClass", ".", "contains", "(", "*", "I", ")", ")", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "*", "I", ",", "MVT", "::", "getFloatingPointVT", "(", "64", ")", ")", ")", ";", "else", "llvm_unreachable", "(", "\"Unexpected register class in CSRsViaCopy!\"", ")", ";", "}", "}", "RetOps", "[", "0", "]", "=", "Chain", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "RetOps", ".", "push_back", "(", "Flag", ")", ";", "return", "DAG", ".", "getNode", "(", "AArch64ISD", "::", "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": ["AArch64", "AArch64", "ISD::OutputArg", "AArch64", "AArch64", "16", "4", "1", "0", "0", "\"Can only return in registers!\"", "\"Unknown loc info!\"", "MVT::i1", "ISD::TRUNCATE", "MVT::i1", "ISD::ZERO_EXTEND", "ISD::BITCAST", "1", "AArch64", "AArch64::GPR64RegClass", "MVT::i64", "AArch64::FPR64RegClass", "MVT::getFloatingPointVT", "64", "\"Unexpected register class in CSRsViaCopy!\"", "0", "AArch64ISD::RET_FLAG", "MVT::Other"], "File": "AArch64ISelLowering (2)", "Func": "LowerReturn", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4613, "Length": 483, "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", ";", "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", "::", "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", "MVT::f16", "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": "X86ISelLowering (2)5", "Func": "getSqrtEstimate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4614, "Length": 322, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mmix_opposite_regno", "(", "int", "regno", ",", "int", "incoming", ")", "{", "if", "(", "incoming", "&&", "regno", "==", "MMIX_OUTGOING_RETURN_VALUE_REGNUM", ")", "return", "MMIX_RETURN_VALUE_REGNUM", ";", "if", "(", "!", "incoming", "&&", "regno", "==", "MMIX_RETURN_VALUE_REGNUM", ")", "return", "MMIX_OUTGOING_RETURN_VALUE_REGNUM", ";", "if", "(", "!", "mmix_function_arg_regno_p", "(", "regno", ",", "incoming", ")", ")", "return", "regno", ";", "return", "regno", "-", "(", "incoming", "?", "MMIX_FIRST_INCOMING_ARG_REGNUM", "-", "MMIX_FIRST_ARG_REGNUM", ":", "MMIX_FIRST_ARG_REGNUM", "-", "MMIX_FIRST_INCOMING_ARG_REGNUM", ")", ";", "}", ""], "natrual_language": ["INCOMING_REGNO", "and", "OUTGOING_REGNO", "worker", "function", ".", "Those", "two", "macros", "must", "only", "be", "applied", "to", "function", "argument", "registers", "and", "the", "function", "return", "value", "register", "for", "the", "opposite", "use", ".", "FIXME", ":", "for", "their", "current", "use", "in", "gcc", ",", "it", "'d", "be", "better", "with", "an", "explicit", "specific", "additional", "FUNCTION_INCOMING_ARG_REGNO_P", "a'la", "TARGET_FUNCTION_ARG", "/", "TARGET_FUNCTION_INCOMING_ARG", "instead", "of", "forcing", "the", "target", "to", "commit", "to", "a", "fixed", "mapping", "and", "for", "any", "unspecified", "register", "use", ".", "Particularly", "when", "thinking", "about", "the", "return-value", ",", "it", "is", "better", "to", "imagine", "INCOMING_REGNO", "and", "OUTGOING_REGNO", "as", "named", "CALLEE_TO_CALLER_REGNO", "and", "INNER_REGNO", "as", "named", "CALLER_TO_CALLEE_REGNO", "because", "the", "direction", ".", "The", "``", "incoming", "''", "and", "``", "outgoing", "''", "is", "from", "the", "perspective", "of", "the", "parameter-registers", ",", "but", "the", "same", "macro", "is", "(", "must", "be", ",", "lacking", "an", "alternative", "like", "suggested", "above", ")", "used", "to", "map", "the", "return-value-register", "from", "the", "same", "perspective", ".", "To", "make", "directions", "even", "more", "confusing", ",", "the", "macro", "MMIX_OUTGOING_RETURN_VALUE_REGNUM", "holds", "the", "number", "of", "the", "register", "in", "which", "to", "return", "a", "value", ",", "i.e", ".", "INCOMING_REGNO", "for", "the", "return-value-", "register", "as", "received", "from", "a", "called", "function", ";", "the", "return-value", "on", "the", "way", "out", "."], "TS_V_token": ["mmix"], "File": "mmix", "Func": "mmix_opposite_regno", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4615, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pru_function_value_regno_p", "(", "const", "unsigned", "int", "regno", ")", "{", "return", "regno", "==", "FIRST_RETVAL_REGNUM", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_VALUE_REGNO_P", "."], "TS_V_token": ["pru"], "File": "pru", "Func": "pru_function_value_regno_p", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4616, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "PPCDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "CS", ")", "const", "{", "Size", "=", "4", ";", "if", "(", "Bytes", ".", "size", "(", ")", "<", "4", ")", "{", "Size", "=", "0", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "uint32_t", "Inst", "=", "IsLittleEndian", "?", "support", "::", "endian", "::", "read32le", "(", "Bytes", ".", "data", "(", ")", ")", ":", "support", "::", "endian", "::", "read32be", "(", "Bytes", ".", "data", "(", ")", ")", ";", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "PPC", "::", "FeatureQPX", "]", ")", "{", "DecodeStatus", "result", "=", "decodeInstruction", "(", "DecoderTableQPX32", ",", "MI", ",", "Inst", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "result", "!=", "MCDisassembler", "::", "Fail", ")", "return", "result", ";", "}", "else", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "PPC", "::", "FeatureSPE", "]", ")", "{", "DecodeStatus", "result", "=", "decodeInstruction", "(", "DecoderTableSPE32", ",", "MI", ",", "Inst", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "result", "!=", "MCDisassembler", "::", "Fail", ")", "return", "result", ";", "}", "return", "decodeInstruction", "(", "DecoderTable32", ",", "MI", ",", "Inst", ",", "Address", ",", "this", ",", "STI", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["PowerPC", "PPC", "4", "4", "0", "support::endian", "support::endian", "PPC::FeatureQPX", "PPC::FeatureSPE"], "File": "PPCDisassembler26", "Func": "getInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4617, "Length": 190, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64TargetLowering", "::", "getNumInterleavedAccesses", "(", "VectorType", "*", "VecTy", ",", "const", "DataLayout", "&", "DL", ",", "bool", "UseScalable", ")", "const", "{", "unsigned", "VecSize", "=", "UseScalable", "?", "Subtarget", "->", "getMinSVEVectorSizeInBits", "(", ")", ":", "128", ";", "return", "std", "::", "max", "<", "unsigned", ">", "(", "1", ",", "(", "DL", ".", "getTypeSizeInBits", "(", "VecTy", ")", "+", "127", ")", "/", "VecSize", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "number", "of", "interleaved", "accesses", "that", "will", "be", "generated", "when", "lowering", "accesses", "of", "the", "given", "type", "."], "TS_V_token": ["AArch64", "AArch64", "128", "1", "127"], "File": "AArch64ISelLowering168", "Func": "getNumInterleavedAccesses", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4618, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "or1k_output_mi_thunk", "(", "FILE", "*", "file", ",", "tree", "thunk_fndecl", ",", "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", ";", "rtx_insn", "*", "insn", ";", "reload_completed", "=", "1", ";", "epilogue_completed", "=", "1", ";", "emit_note", "(", "NOTE_INSN_PROLOGUE_END", ")", ";", "if", "(", "aggregate_value_p", "(", "TREE_TYPE", "(", "TREE_TYPE", "(", "function", ")", ")", ",", "function", ")", ")", "this_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "4", ")", ";", "else", "this_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "3", ")", ";", "if", "(", "delta", ")", "{", "rtx", "delta_rtx", "=", "GEN_INT", "(", "delta", ")", ";", "if", "(", "!", "satisfies_constraint_I", "(", "delta_rtx", ")", ")", "{", "rtx", "scratch", "=", "gen_rtx_REG", "(", "Pmode", ",", "PE_TMP_REGNUM", ")", ";", "emit_move_insn", "(", "scratch", ",", "delta_rtx", ")", ";", "delta_rtx", "=", "scratch", ";", "}", "emit_insn", "(", "gen_add2_insn", "(", "this_rtx", ",", "delta_rtx", ")", ")", ";", "}", "if", "(", "vcall_offset", ")", "{", "rtx", "scratch", "=", "gen_rtx_REG", "(", "Pmode", ",", "PE_TMP_REGNUM", ")", ";", "HOST_WIDE_INT", "lo", "=", "sext_hwi", "(", "vcall_offset", ",", "16", ")", ";", "HOST_WIDE_INT", "hi", "=", "vcall_offset", "-", "lo", ";", "rtx", "tmp", ";", "tmp", "=", "gen_rtx_MEM", "(", "Pmode", ",", "this_rtx", ")", ";", "emit_move_insn", "(", "scratch", ",", "tmp", ")", ";", "if", "(", "hi", "!=", "0", ")", "{", "rtx", "scratch2", "=", "gen_rtx_REG", "(", "Pmode", ",", "RV_REGNUM", ")", ";", "emit_move_insn", "(", "scratch2", ",", "GEN_INT", "(", "hi", ")", ")", ";", "emit_insn", "(", "gen_add2_insn", "(", "scratch", ",", "scratch2", ")", ")", ";", "}", "tmp", "=", "plus_constant", "(", "Pmode", ",", "scratch", ",", "lo", ")", ";", "tmp", "=", "gen_rtx_MEM", "(", "Pmode", ",", "tmp", ")", ";", "emit_move_insn", "(", "scratch", ",", "tmp", ")", ";", "emit_insn", "(", "gen_add2_insn", "(", "this_rtx", ",", "scratch", ")", ")", ";", "}", "if", "(", "!", "TREE_USED", "(", "function", ")", ")", "{", "assemble_external", "(", "function", ")", ";", "TREE_USED", "(", "function", ")", "=", "1", ";", "}", "funexp", "=", "XEXP", "(", "DECL_RTL", "(", "function", ")", ",", "0", ")", ";", "gcc_assert", "(", "SYMBOL_REF_LOCAL_P", "(", "funexp", ")", ")", ";", "funexp", "=", "gen_rtx_MEM", "(", "FUNCTION_MODE", ",", "funexp", ")", ";", "insn", "=", "emit_call_insn", "(", "gen_sibcall", "(", "funexp", ",", "const0_rtx", ")", ")", ";", "SIBLING_CALL_P", "(", "insn", ")", "=", "1", ";", "emit_barrier", "(", ")", ";", "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", ";", "epilogue_completed", "=", "0", ";", "}", ""], "natrual_language": ["Worker", "for", "TARGET_ASM_OUTPUT_MI_THUNK", ".", "Output", "the", "assembler", "code", "for", "a", "thunk", "function", ".", "THUNK_DECL", "is", "the", "declaration", "for", "the", "thunk", "function", "itself", ",", "FUNCTION", "is", "the", "decl", "for", "the", "target", "function", ".", "DELTA", "is", "an", "immediate", "constant", "offset", "to", "be", "added", "to", "THIS", ".", "If", "VCALL_OFFSET", "is", "nonzero", ",", "the", "word", "at", "address", "(", "*", "THIS", "+", "VCALL_OFFSET", ")", "should", "be", "additionally", "added", "to", "THIS", "."], "TS_V_token": ["or1k", "1", "1", "4", "3", "16", "0", "1", "0", "1", "1", "1", "0", "0"], "File": "or1k", "Func": "or1k_output_mi_thunk", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4619, "Length": 402, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "index_term_p", "(", "rtx", "prod", ",", "machine_mode", "mode", ",", "bool", "strict", ")", "{", "rtx", "xfoo0", ",", "xfoo1", ";", "bool", "log_p", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "1", ")", "return", "BASE_REGISTER_P", "(", "prod", ",", "strict", ")", ";", "if", "(", "(", "GET_CODE", "(", "prod", ")", "!=", "MULT", "&&", "GET_CODE", "(", "prod", ")", "!=", "ASHIFT", ")", "||", "GET_MODE_SIZE", "(", "mode", ")", ">", "8", ")", "return", "false", ";", "log_p", "=", "GET_CODE", "(", "prod", ")", "==", "ASHIFT", ";", "xfoo0", "=", "XEXP", "(", "prod", ",", "0", ")", ";", "xfoo1", "=", "XEXP", "(", "prod", ",", "1", ")", ";", "if", "(", "CONST_INT_P", "(", "xfoo0", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "==", "(", "log_p", "?", "1", "<<", "INTVAL", "(", "xfoo0", ")", ":", "INTVAL", "(", "xfoo0", ")", ")", "&&", "INDEX_REGISTER_P", "(", "xfoo1", ",", "strict", ")", ")", "return", "true", ";", "if", "(", "CONST_INT_P", "(", "xfoo1", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "==", "(", "log_p", "?", "1", "<<", "INTVAL", "(", "xfoo1", ")", ":", "INTVAL", "(", "xfoo1", ")", ")", "&&", "INDEX_REGISTER_P", "(", "xfoo0", ",", "strict", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["1", "if", "PROD", "is", "either", "a", "reg", "times", "size", "of", "mode", "MODE", "and", "MODE", "is", "less", "than", "or", "equal", "8", "bytes", ",", "or", "just", "a", "reg", "if", "MODE", "is", "one", "byte", "."], "TS_V_token": ["vax", "1", "8", "0", "1", "1", "1"], "File": "vax", "Func": "index_term_p", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4620, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MipsSubtarget", "&", "MipsSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetMachine", "&", "TM", ")", "{", "std", "::", "string", "CPUName", "=", "MIPS_MC", "::", "selectMipsCPU", "(", "TM", ".", "getTargetTriple", "(", ")", ",", "CPU", ")", ";", "ParseSubtargetFeatures", "(", "CPUName", ",", "FS", ")", ";", "InstrItins", "=", "getInstrItineraryForCPU", "(", "CPUName", ")", ";", "if", "(", "InMips16Mode", "&&", "!", "IsSoftFloat", ")", "InMips16HardFloat", "=", "true", ";", "if", "(", "StackAlignOverride", ")", "stackAlignment", "=", "*", "StackAlignOverride", ";", "else", "if", "(", "isABI_N32", "(", ")", "||", "isABI_N64", "(", ")", ")", "stackAlignment", "=", "Align", "(", "16", ")", ";", "else", "{", "assert", "(", "isABI_O32", "(", ")", "&&", "\"Unknown ABI for stack alignment!\"", ")", ";", "stackAlignment", "=", "Align", "(", "8", ")", ";", "}", "if", "(", "(", "isABI_N32", "(", ")", "||", "isABI_N64", "(", ")", ")", "&&", "!", "isGP64bit", "(", ")", ")", "report_fatal_error", "(", "\"64-bit code requested on a subtarget that doesn't \"", "\"support it!\"", ")", ";", "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_MC::selectMipsCPU", "Mips", "Mips", "16", "\"Unknown ABI for stack alignment!\"", "8", "\"64-bit code requested on a subtarget that doesn't \"", "\"support it!\""], "File": "MipsSubtarget74", "Func": "initializeSubtargetDependencies", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4621, "Length": 135, "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", "'d'", ":", "case", "'y'", ":", "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", ")", ";", "break", ";", "}", "}", "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": "MipsISelLowering109", "Func": "getRegForInlineAsmConstraint", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4622, "Length": 144, "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", ")", "{", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "gen", "=", "gen_aarch64_store_exclusiveqi", ";", "break", ";", "case", "E_HImode", ":", "gen", "=", "gen_aarch64_store_exclusivehi", ";", "break", ";", "case", "E_SImode", ":", "gen", "=", "gen_aarch64_store_exclusivesi", ";", "break", ";", "case", "E_DImode", ":", "gen", "=", "gen_aarch64_store_exclusivedi", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "emit_insn", "(", "gen", "(", "bval", ",", "rval", ",", "mem", ",", "model_rtx", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "store", "exclusive", "."], "TS_V_token": ["aarch64"], "File": "aarch645", "Func": "aarch64_emit_store_exclusive", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4623, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseInstrInfo", "::", "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", ")", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "STR", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addReg", "(", "0", ")", ".", "addImm", "(", "0", ")", ")", ";", "}", "else", "if", "(", "RC", "==", "ARM", "::", "DPRRegisterClass", "||", "RC", "==", "ARM", "::", "DPR_VFP2RegisterClass", ")", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "FSTD", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ")", ";", "}", "else", "if", "(", "RC", "==", "ARM", "::", "SPRRegisterClass", ")", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "FSTS", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ")", ";", "}", "else", "{", "assert", "(", "RC", "==", "ARM", "::", "QPRRegisterClass", "&&", "\"Unknown regclass!\"", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "VSTRQ", ")", ")", ".", "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", "ARM::GPRRegisterClass", "ARM::STR", "0", "0", "ARM::DPRRegisterClass", "ARM::DPR_VFP2RegisterClass", "ARM::FSTD", "0", "ARM::SPRRegisterClass", "ARM::FSTS", "0", "ARM::QPRRegisterClass", "\"Unknown regclass!\"", "ARM::VSTRQ", "0"], "File": "ARMBaseInstrInfo31", "Func": "storeRegToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4624, "Length": 268, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "AARCH64_DEAD_REG_DEF_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64"], "File": "AArch64DeadRegisterDefinitionsPass (2)1", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4625, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "InstrItineraryData", "&", "getInstrItineraryData", "(", ")", "const", "{", "return", "InstrItins", ";", "}", ""], "natrual_language": ["getInstrItineraryData", "-", "Returns", "instruction", "itinerary", "data", "for", "the", "target", "or", "specific", "subtarget", "."], "TS_V_token": ["X86"], "File": "X86Subtarget1", "Func": "getInstrItineraryData", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4626, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "canInsertSelect", "(", "const", "MachineBasicBlock", "&", "MBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "Register", "DstReg", ",", "Register", "TrueReg", ",", "Register", "FalseReg", ",", "int", "&", "CondCycles", ",", "int", "&", "TrueCycles", ",", "int", "&", "FalseCycles", ")", "const", "{", "if", "(", "Cond", ".", "size", "(", ")", "!=", "2", ")", "return", "false", ";", "if", "(", "Cond", "[", "1", "]", ".", "getReg", "(", ")", "==", "PPC", "::", "CTR", "||", "Cond", "[", "1", "]", ".", "getReg", "(", ")", "==", "PPC", "::", "CTR8", ")", "return", "false", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "RI", ".", "getCommonSubClass", "(", "MRI", ".", "getRegClass", "(", "TrueReg", ")", ",", "MRI", ".", "getRegClass", "(", "FalseReg", ")", ")", ";", "if", "(", "!", "RC", ")", "return", "false", ";", "if", "(", "!", "PPC", "::", "GPRCRegClass", ".", "hasSubClassEq", "(", "RC", ")", "&&", "!", "PPC", "::", "GPRC_NOR0RegClass", ".", "hasSubClassEq", "(", "RC", ")", "&&", "!", "PPC", "::", "G8RCRegClass", ".", "hasSubClassEq", "(", "RC", ")", "&&", "!", "PPC", "::", "G8RC_NOX0RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "return", "false", ";", "CondCycles", "=", "1", ";", "TrueCycles", "=", "1", ";", "FalseCycles", "=", "1", ";", "return", "true", ";", "}", ""], "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": ["PowerPC", "PPC", "2", "1", "PPC::CTR", "1", "PPC::CTR8", "PPC::GPRCRegClass", "PPC::GPRC_NOR0RegClass", "PPC::G8RCRegClass", "PPC::G8RC_NOX0RegClass", "1", "1", "1"], "File": "PPCInstrInfo128", "Func": "canInsertSelect", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4627, "Length": 191, "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": 4628, "Length": 123, "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": ["Mips"], "File": "MipsMachineFunction11", "Func": "getGlobalBaseReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4629, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CJGAsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", "const", "{", "if", "(", "IsPCRel", ")", "{", "llvm_unreachable", "(", "\"PC Rel not currently implemented\"", ")", ";", "}", "if", "(", "!", "Value", ")", "{", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ")", ";", "return", ";", "}", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "assert", "(", "Offset", "<=", "DataSize", "&&", "\"Invalid fixup offset!\"", ")", ";", "assert", "(", "Value", "%", "4", "==", "0", "&&", "\"The destination address is not aligned to a word\"", ")", ";", "Data", "[", "Offset", "]", "=", "Value", "&", "0xFF", ";", "Data", "[", "Offset", "+", "1", "]", "=", "uint8_t", "(", "(", "Value", ">>", "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": ["CJG", "CJG", "\"PC Rel not currently implemented\"", "\"Invalid fixup offset!\"", "4", "0", "\"The destination address is not aligned to a word\"", "0xFF", "1", "8", "0xFF"], "File": "CJGAsmBackend", "Func": "applyFixup", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4630, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "is_fast_interrupt_func", "(", "const_tree", "decl", ")", "{", "return", "has_func_attr", "(", "decl", ",", "\"fast_interrupt\"", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "provided", "function", "has", "the", "``", "fast_interrupt", "''", "attribute", "."], "TS_V_token": ["rx", "\"fast_interrupt\""], "File": "rx2", "Func": "is_fast_interrupt_func", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4631, "Length": 18, "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": 4632, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "ARMTargetLowering", "::", "shouldExpandAtomicLoadInIR", "(", "LoadInst", "*", "LI", ")", "const", "{", "bool", "has64BitAtomicLoad", ";", "if", "(", "Subtarget", "->", "isMClass", "(", ")", ")", "has64BitAtomicLoad", "=", "false", ";", "else", "if", "(", "Subtarget", "->", "isThumb", "(", ")", ")", "has64BitAtomicLoad", "=", "Subtarget", "->", "hasV7Ops", "(", ")", ";", "else", "has64BitAtomicLoad", "=", "Subtarget", "->", "hasV6Ops", "(", ")", ";", "unsigned", "Size", "=", "LI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "return", "(", "Size", "==", "64", "&&", "has64BitAtomicLoad", ")", "?", "AtomicExpansionKind", "::", "LLOnly", ":", "AtomicExpansionKind", "::", "None", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "(", "atomic", ")", "load", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "."], "TS_V_token": ["ARM", "ARM", "64"], "File": "ARMISelLowering12", "Func": "shouldExpandAtomicLoadInIR", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4633, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_annotate_pic_call_expr", "(", "rtx", "call", ",", "rtx", "symbol", ")", "{", "rtx", "args_size", ";", "args_size", "=", "XEXP", "(", "call", ",", "1", ")", ";", "XEXP", "(", "call", ",", "1", ")", "=", "gen_rtx_UNSPEC", "(", "GET_MODE", "(", "args_size", ")", ",", "gen_rtvec", "(", "2", ",", "args_size", ",", "symbol", ")", ",", "UNSPEC_CALL_ATTR", ")", ";", "}", ""], "natrual_language": ["Replace", "the", "args_size", "operand", "of", "the", "call", "expression", "CALL", "with", "the", "call-attribute", "UNSPEC", "and", "fill", "in", "SYMBOL", "as", "the", "function", "symbol", "."], "TS_V_token": ["mips", "1", "1", "2"], "File": "mips", "Func": "mips_annotate_pic_call_expr", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4634, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "addPass", "(", "createX86LowerAMXIntrinsicsPass", "(", ")", ")", ";", "addPass", "(", "createX86LowerAMXTypePass", "(", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createInterleavedAccessPass", "(", ")", ")", ";", "addPass", "(", "createX86PartialReductionPass", "(", ")", ")", ";", "}", "addPass", "(", "createIndirectBrExpandPass", "(", ")", ")", ";", "const", "Triple", "&", "TT", "=", "TM", "->", "getTargetTriple", "(", ")", ";", "if", "(", "TT", ".", "isOSWindows", "(", ")", ")", "{", "if", "(", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", "{", "addPass", "(", "createCFGuardDispatchPass", "(", ")", ")", ";", "}", "else", "{", "addPass", "(", "createCFGuardCheckPass", "(", ")", ")", ";", "}", "}", "if", "(", "TM", "->", "Options", ".", "JMCInstrument", ")", "addPass", "(", "createJMCInstrumenterPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86"], "File": "X86TargetMachine58", "Func": "addIRPasses", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4635, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "FunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["ARM"], "File": "ARMGlobalMerge", "Func": "getAnalysisUsage", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4636, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "thumb2_output_casesi", "(", "rtx", "*", "operands", ")", "{", "rtx", "diff_vec", "=", "PATTERN", "(", "NEXT_INSN", "(", "as_a", "<", "rtx_insn", "*", ">", "(", "operands", "[", "2", "]", ")", ")", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "diff_vec", ")", "==", "ADDR_DIFF_VEC", ")", ";", "output_asm_insn", "(", "\"cmp\\t%0, %1\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"bhi\\t%l3\"", ",", "operands", ")", ";", "switch", "(", "GET_MODE", "(", "diff_vec", ")", ")", "{", "case", "QImode", ":", "return", "\"tbb\\t[%|pc, %0]\"", ";", "case", "HImode", ":", "return", "\"tbh\\t[%|pc, %0, lsl #1]\"", ";", "case", "SImode", ":", "if", "(", "flag_pic", ")", "{", "output_asm_insn", "(", "\"adr\\t%4, %l2\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"ldr\\t%5, [%4, %0, lsl #2]\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"add\\t%4, %4, %5\"", ",", "operands", ")", ";", "return", "\"bx\\t%4\"", ";", "}", "else", "{", "output_asm_insn", "(", "\"adr\\t%4, %l2\"", ",", "operands", ")", ";", "return", "\"ldr\\t%|pc, [%4, %0, lsl #2]\"", ";", "}", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Output", "a", "Thumb-2", "casesi", "instruction", "."], "TS_V_token": ["arm", "2", "\"cmp\\t%0, %1\"", "\"bhi\\t%l3\"", "\"tbb\\t[%|pc, %0]\"", "\"tbh\\t[%|pc, %0, lsl #1]\"", "\"adr\\t%4, %l2\"", "\"ldr\\t%5, [%4, %0, lsl #2]\"", "\"add\\t%4, %4, %5\"", "\"bx\\t%4\"", "\"adr\\t%4, %l2\"", "\"ldr\\t%|pc, [%4, %0, lsl #2]\""], "File": "arm4", "Func": "thumb2_output_casesi", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4637, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MLxExpansion", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "TII", "=", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "Fn", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "Fn", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "Fn", ".", "getRegInfo", "(", ")", ";", "const", "ARMSubtarget", "*", "STI", "=", "&", "Fn", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "isLikeA9", "=", "STI", "->", "isLikeA9", "(", ")", "||", "STI", "->", "isSwift", "(", ")", ";", "isSwift", "=", "STI", "->", "isSwift", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "MFI", "=", "Fn", ".", "begin", "(", ")", ",", "E", "=", "Fn", ".", "end", "(", ")", ";", "MFI", "!=", "E", ";", "++", "MFI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MFI", ";", "Modified", "|=", "ExpandFPMLxInstructions", "(", "MBB", ")", ";", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "MLxExpansionPass15", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4638, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_is_valid_shift_mask", "(", "rtx", "mask", ",", "rtx", "shift", ",", "machine_mode", "mode", ")", "{", "int", "nb", ",", "ne", ";", "if", "(", "!", "rs6000_is_valid_mask", "(", "mask", ",", "&", "nb", ",", "&", "ne", ",", "mode", ")", ")", "return", "false", ";", "int", "n", "=", "GET_MODE_PRECISION", "(", "mode", ")", ";", "int", "sh", "=", "-", "1", ";", "if", "(", "CONST_INT_P", "(", "XEXP", "(", "shift", ",", "1", ")", ")", ")", "{", "sh", "=", "INTVAL", "(", "XEXP", "(", "shift", ",", "1", ")", ")", ";", "if", "(", "sh", "<", "0", "||", "sh", ">=", "n", ")", "return", "false", ";", "}", "rtx_code", "code", "=", "GET_CODE", "(", "shift", ")", ";", "if", "(", "sh", "==", "0", ")", "code", "=", "ROTATE", ";", "if", "(", "code", "==", "ROTATE", "&&", "sh", ">=", "0", "&&", "nb", ">=", "ne", "&&", "ne", ">=", "sh", ")", "code", "=", "ASHIFT", ";", "if", "(", "code", "==", "ROTATE", "&&", "sh", ">=", "0", "&&", "nb", ">=", "ne", "&&", "nb", "<", "sh", ")", "{", "code", "=", "LSHIFTRT", ";", "sh", "=", "n", "-", "sh", ";", "}", "if", "(", "mode", "==", "DImode", "&&", "code", "==", "ROTATE", ")", "return", "(", "nb", "==", "63", "||", "ne", "==", "0", "||", "ne", "==", "sh", ")", ";", "if", "(", "mode", "==", "SImode", "&&", "code", "==", "ROTATE", ")", "return", "(", "nb", "<", "32", "&&", "ne", "<", "32", "&&", "sh", "<", "32", ")", ";", "if", "(", "ne", ">", "nb", ")", "return", "false", ";", "if", "(", "sh", "<", "0", ")", "return", "false", ";", "if", "(", "code", "==", "ASHIFT", "&&", "ne", "<", "sh", ")", "return", "false", ";", "if", "(", "nb", "<", "32", "&&", "ne", "<", "32", "&&", "sh", "<", "32", "&&", "!", "(", "code", "==", "LSHIFTRT", "&&", "nb", ">=", "32", "-", "sh", ")", ")", "return", "true", ";", "if", "(", "code", "==", "LSHIFTRT", ")", "sh", "=", "64", "-", "sh", ";", "if", "(", "nb", "==", "63", "||", "ne", "==", "0", "||", "ne", "==", "sh", ")", "return", "!", "(", "code", "==", "LSHIFTRT", "&&", "nb", ">=", "sh", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "whether", "MASK", "(", "a", "CONST_INT", ")", "is", "a", "valid", "mask", "for", "any", "rlw", "[", "i", "]", "nm", ",", "rld", "[", "i", "]", "cl", ",", "rld", "[", "i", "]", "cr", ",", "or", "rld", "[", "i", "]", "c", "instruction", ",", "to", "implement", "an", "AND", "with", "shift", "SHIFT", "(", "a", "ROTATE", ",", "ASHIFT", ",", "or", "LSHIFTRT", ")", "in", "mode", "MODE", "."], "TS_V_token": ["powerpcspe", "1", "1", "1", "0", "0", "0", "0", "63", "0", "32", "32", "32", "0", "32", "32", "32", "32", "64", "63", "0"], "File": "powerpcspe", "Func": "rs6000_is_valid_shift_mask", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4639, "Length": 313, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "shouldExpandGetActiveLaneMask", "(", "EVT", "ResVT", ",", "EVT", "OpVT", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "hasSVE", "(", ")", ")", "return", "true", ";", "if", "(", "ResVT", "!=", "MVT", "::", "nxv2i1", "&&", "ResVT", "!=", "MVT", "::", "nxv4i1", "&&", "ResVT", "!=", "MVT", "::", "nxv8i1", "&&", "ResVT", "!=", "MVT", "::", "nxv16i1", "&&", "ResVT", "!=", "MVT", "::", "v2i1", "&&", "ResVT", "!=", "MVT", "::", "v4i1", "&&", "ResVT", "!=", "MVT", "::", "v8i1", "&&", "ResVT", "!=", "MVT", "::", "v16i1", ")", "return", "true", ";", "if", "(", "OpVT", "!=", "MVT", "::", "i32", "&&", "OpVT", "!=", "MVT", "::", "i64", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "@", "llvm.get.active.lane.mask", "intrinsic", "should", "be", "expanded", "using", "generic", "code", "in", "SelectionDAGBuilder", "."], "TS_V_token": ["AArch64", "AArch64", "MVT::nxv2i1", "MVT::nxv4i1", "MVT::nxv8i1", "MVT::nxv16i1", "MVT::v2i1", "MVT::v4i1", "MVT::v8i1", "MVT::v16i1", "MVT::i32", "MVT::i64"], "File": "AArch64ISelLowering69", "Func": "shouldExpandGetActiveLaneMask", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4640, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64StorePairSuppress", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "mf", ")", "{", "MF", "=", "&", "mf", ";", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "MF", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "MF", "->", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "MF", "->", "getRegInfo", "(", ")", ";", "const", "TargetSubtargetInfo", "&", "ST", "=", "MF", "->", "getTarget", "(", ")", ".", "getSubtarget", "<", "TargetSubtargetInfo", ">", "(", ")", ";", "SchedModel", ".", "init", "(", "ST", ".", "getSchedModel", "(", ")", ",", "&", "ST", ",", "TII", ")", ";", "Traces", "=", "&", "getAnalysis", "<", "MachineTraceMetrics", ">", "(", ")", ";", "MinInstr", "=", "nullptr", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"*** \"", "<<", "getPassName", "(", ")", "<<", "\": \"", "<<", "MF", "->", "getName", "(", ")", "<<", "'\\n'", ")", ";", "if", "(", "!", "SchedModel", ".", "hasInstrSchedModel", "(", ")", ")", "{", "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", ";", "unsigned", "BaseReg", ";", "unsigned", "Offset", ";", "if", "(", "TII", "->", "getLdStBaseRegImmOfs", "(", "&", "MI", ",", "BaseReg", ",", "Offset", ",", "TRI", ")", ")", "{", "if", "(", "PrevBaseReg", "==", "BaseReg", ")", "{", "if", "(", "!", "SuppressSTP", "&&", "shouldAddSTPToBlock", "(", "MI", ".", "getParent", "(", ")", ")", ")", "break", ";", "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": "AArch64StorePairSuppress25", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4641, "Length": 277, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "sparc_builtin_saveregs", "(", ")", "{", "int", "first_reg", "=", "current_function_args_info", ".", "words", ";", "rtx", "address", ";", "int", "regno", ";", "for", "(", "regno", "=", "first_reg", ";", "regno", "<", "NPARM_REGS", "(", "word_mode", ")", ";", "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", ",", "BASE_INCOMING_ARG_REG", "(", "word_mode", ")", "+", "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": "sparc2", "Func": "sparc_builtin_saveregs", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4642, "Length": 100, "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", ")", ",", "HasMulDivAdd", "(", "false", ")", ",", "HasMinMax", "(", "false", ")", ",", "HasSwap", "(", "false", ")", ",", "HasBitCount", "(", "false", ")", ",", "HasFPIdx", "(", "false", ")", ",", "InMips16Mode", "(", "false", ")", ",", "HasDSP", "(", "false", ")", ",", "HasDSPR2", "(", "false", ")", ",", "IsAndroid", "(", "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", ";", "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", "\"mips32\"", "Mips", "Mips", "Mips", "Mips", "Mips", "\"Invalid Arch & ABI pair.\"", "\"linux\""], "File": "MipsSubtarget59", "Func": "MipsSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4643, "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\"", ";", "else", "{", "if", "(", "isTargetDarwin", "(", ")", ")", "p", "=", "\"e-p:32:32-f64:32:64-i64:32:64-f80:128:128\"", ";", "else", "p", "=", "\"e-p:32:32-f64:32:64-i64:32:64-f80:32: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\"", "\"e-p:32:32-f64:32:64-i64:32:64-f80:128:128\"", "\"e-p:32:32-f64:32:64-i64:32:64-f80:32:32\""], "File": "X86Subtarget36", "Func": "getDataLayout", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4644, "Length": 50, "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", "(", "MIRBuilder", ",", "ArgInfos", ",", "OrigArgIndices", ",", "[", "&", "]", "(", "ISD", "::", "ArgFlagsTy", "flags", ",", "EVT", "vt", ",", "EVT", "argvt", ",", "bool", "used", ",", "unsigned", "origIdx", ",", "unsigned", "partOffs", ")", "{", "Ins", ".", "emplace_back", "(", "flags", ",", "vt", ",", "argvt", ",", "used", ",", "origIdx", ",", "partOffs", ")", ";", "}", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "MipsCCState", "CCInfo", "(", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ",", "MF", ",", "ArgLocs", ",", "F", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "TLI", ".", "CCAssignFnForCall", "(", ")", ")", ";", "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", "ISD::ArgFlagsTy", "16", "Mips"], "File": "MipsCallLowering13", "Func": "lowerFormalArguments", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4645, "Length": 329, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isToken", "(", ")", "const", "override", "{", "return", "Kind", "==", "k_Token", ";", "}", ""], "natrual_language": ["isToken", "-", "Is", "this", "a", "token", "operand", "?"], "TS_V_token": ["Cpu0"], "File": "Cpu0AsmParser", "Func": "isToken", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4646, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rsqrte_type", "get_rsqrte_type", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "DFmode", ":", "return", "gen_aarch64_rsqrtedf", ";", "case", "SFmode", ":", "return", "gen_aarch64_rsqrtesf", ";", "case", "V2DFmode", ":", "return", "gen_aarch64_rsqrtev2df", ";", "case", "V2SFmode", ":", "return", "gen_aarch64_rsqrtev2sf", ";", "case", "V4SFmode", ":", "return", "gen_aarch64_rsqrtev4sf", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Select", "reciprocal", "square", "root", "initial", "estimate", "insn", "depending", "on", "machine", "mode", "."], "TS_V_token": ["aarch64"], "File": "aarch644", "Func": "get_rsqrte_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4647, "Length": 51, "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", "::", "LXV", ":", "case", "PPC", "::", "QVLFDX", ":", "case", "PPC", "::", "QVLFSXs", ":", "case", "PPC", "::", "QVLFDXb", ":", "case", "PPC", "::", "RESTORE_VRSAVE", ":", "case", "PPC", "::", "SPILLTOVSR_LD", ":", "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::LXV", "PPC::QVLFDX", "PPC::QVLFSXs", "PPC::QVLFDXb", "PPC::RESTORE_VRSAVE", "PPC::SPILLTOVSR_LD", "1", "1", "2", "2", "0", "0"], "File": "PPCInstrInfo102", "Func": "isLoadFromStackSlot", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4648, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "{", "llvm_unreachable", "(", "\"unimplemented!\"", ")", ";", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["Mips", "\"unimplemented!\""], "File": "MipsAsmParser102", "Func": "print", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4649, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CSKYInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "uint64_t", "Address", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "raw_ostream", "&", "O", ")", "{", "const", "MCInst", "*", "NewMI", "=", "MI", ";", "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": ["CSKY", "CSKY"], "File": "CSKYInstPrinter", "Func": "printInst", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4650, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "ARMBaseInstrInfo", "::", "duplicate", "(", "MachineInstr", "*", "Orig", ",", "MachineFunction", "&", "MF", ")", "const", "{", "MachineInstr", "*", "MI", "=", "TargetInstrInfo", "::", "duplicate", "(", "Orig", ",", "MF", ")", ";", "switch", "(", "Orig", "->", "getOpcode", "(", ")", ")", "{", "case", "ARM", "::", "tLDRpci_pic", ":", "case", "ARM", "::", "t2LDRpci_pic", ":", "{", "unsigned", "CPI", "=", "Orig", "->", "getOperand", "(", "1", ")", ".", "getIndex", "(", ")", ";", "unsigned", "PCLabelId", "=", "duplicateCPV", "(", "MF", ",", "CPI", ")", ";", "Orig", "->", "getOperand", "(", "1", ")", ".", "setIndex", "(", "CPI", ")", ";", "Orig", "->", "getOperand", "(", "2", ")", ".", "setImm", "(", "PCLabelId", ")", ";", "break", ";", "}", "}", "return", "MI", ";", "}", ""], "natrual_language": ["Clones", "instruction", "or", "the", "whole", "instruction", "bundle", "Orig", "and", "insert", "into", "MBB", "before", "InsertBefore", "."], "TS_V_token": ["ARM", "ARM", "ARM::tLDRpci_pic", "ARM::t2LDRpci_pic", "1", "1", "2"], "File": "ARMBaseInstrInfo (2)", "Func": "duplicate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4651, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "reset", "(", ")", "{", "FnStartLocs", "=", "Locs", "(", ")", ";", "CantUnwindLocs", "=", "Locs", "(", ")", ";", "PersonalityLocs", "=", "Locs", "(", ")", ";", "HandlerDataLocs", "=", "Locs", "(", ")", ";", "PersonalityIndexLocs", "=", "Locs", "(", ")", ";", "FPReg", "=", "ARM", "::", "SP", ";", "}", ""], "natrual_language": ["Reset", "an", "existing", "scalar", "value", "for", "Def", "and", "a", "given", "Instance", "."], "TS_V_token": ["ARM", "ARM::SP"], "File": "ARMAsmParser (2)", "Func": "reset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4652, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_valid_multiple_load_store", "(", "rtx", "op", ",", "bool", "load_p", ")", "{", "int", "count", ";", "int", "first_elt_regno", ";", "rtx", "elt", ";", "count", "=", "XVECLEN", "(", "op", ",", "0", ")", ";", "elt", "=", "XVECEXP", "(", "op", ",", "0", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "elt", ")", "!=", "SET", "||", "count", "<=", "1", "||", "count", ">", "8", ")", "return", "false", ";", "if", "(", "load_p", ")", "{", "if", "(", "GET_CODE", "(", "SET_DEST", "(", "elt", ")", ")", "!=", "REG", "||", "GET_CODE", "(", "SET_SRC", "(", "elt", ")", ")", "!=", "MEM", ")", "return", "false", ";", "first_elt_regno", "=", "REGNO", "(", "SET_DEST", "(", "elt", ")", ")", ";", "}", "else", "{", "if", "(", "GET_CODE", "(", "SET_SRC", "(", "elt", ")", ")", "!=", "REG", "||", "GET_CODE", "(", "SET_DEST", "(", "elt", ")", ")", "!=", "MEM", ")", "return", "false", ";", "first_elt_regno", "=", "REGNO", "(", "SET_SRC", "(", "elt", ")", ")", ";", "}", "if", "(", "!", "nds32_consecutive_registers_load_store_p", "(", "op", ",", "load_p", ",", "0", ",", "first_elt_regno", ",", "count", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Function", "to", "check", "whether", "the", "OP", "is", "a", "valid", "load/store", "operation", ".", "This", "is", "a", "helper", "function", "for", "the", "predicates", ":", "'nds32_load_multiple_operation", "'", "and", "'nds32_store_multiple_operation", "'", "in", "predicates.md", "file", ".", "The", "OP", "is", "supposed", "to", "be", "a", "parallel", "rtx", ".", "For", "each", "element", "within", "this", "parallel", "rtx", ":", "(", "set", "(", "reg", ")", "(", "mem", "addr", ")", ")", "is", "the", "form", "for", "load", "operation", ".", "(", "set", "(", "mem", "addr", ")", "(", "reg", ")", ")", "is", "the", "form", "for", "store", "operation", ".", "We", "have", "to", "extract", "reg", "and", "mem", "of", "every", "element", "and", "check", "if", "the", "information", "is", "valid", "for", "multiple", "load/store", "operation", "."], "TS_V_token": ["nds32", "0", "0", "0", "1", "8", "0"], "File": "nds32-predicates2", "Func": "nds32_valid_multiple_load_store", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4653, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_vectorize_vec_perm_const", "(", "machine_mode", "vmode", ",", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ",", "const", "vec_perm_indices", "&", "sel", ")", "{", "struct", "expand_vec_perm_d", "d", ";", "int", "i", ",", "nelt", ",", "which", ";", "unsigned", "char", "orig_perm", "[", "MAX_VECT_LEN", "]", ";", "bool", "ok", ";", "d", ".", "target", "=", "target", ";", "if", "(", "op0", ")", "{", "rtx", "nop0", "=", "force_reg", "(", "vmode", ",", "op0", ")", ";", "if", "(", "op0", "==", "op1", ")", "op1", "=", "nop0", ";", "op0", "=", "nop0", ";", "}", "if", "(", "op1", ")", "op1", "=", "force_reg", "(", "vmode", ",", "op1", ")", ";", "d", ".", "op0", "=", "op0", ";", "d", ".", "op1", "=", "op1", ";", "d", ".", "vmode", "=", "vmode", ";", "gcc_assert", "(", "VECTOR_MODE_P", "(", "vmode", ")", ")", ";", "d", ".", "nelt", "=", "nelt", "=", "GET_MODE_NUNITS", "(", "vmode", ")", ";", "d", ".", "testing_p", "=", "!", "target", ";", "memset", "(", "orig_perm", ",", "0", ",", "MAX_VECT_LEN", ")", ";", "for", "(", "i", "=", "which", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "{", "int", "ei", "=", "sel", "[", "i", "]", "&", "(", "2", "*", "nelt", "-", "1", ")", ";", "which", "|=", "(", "ei", "<", "nelt", "?", "1", ":", "2", ")", ";", "orig_perm", "[", "i", "]", "=", "ei", ";", "}", "memcpy", "(", "d", ".", "perm", ",", "orig_perm", ",", "MAX_VECT_LEN", ")", ";", "switch", "(", "which", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "3", ":", "d", ".", "one_vector_p", "=", "false", ";", "if", "(", "d", ".", "testing_p", "||", "!", "rtx_equal_p", "(", "d", ".", "op0", ",", "d", ".", "op1", ")", ")", "break", ";", "case", "2", ":", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "d", ".", "perm", "[", "i", "]", "&=", "nelt", "-", "1", ";", "d", ".", "op0", "=", "d", ".", "op1", ";", "d", ".", "one_vector_p", "=", "true", ";", "break", ";", "case", "1", ":", "d", ".", "op1", "=", "d", ".", "op0", ";", "d", ".", "one_vector_p", "=", "true", ";", "break", ";", "}", "if", "(", "d", ".", "testing_p", ")", "{", "d", ".", "target", "=", "gen_raw_REG", "(", "d", ".", "vmode", ",", "LAST_VIRTUAL_REGISTER", "+", "1", ")", ";", "d", ".", "op1", "=", "d", ".", "op0", "=", "gen_raw_REG", "(", "d", ".", "vmode", ",", "LAST_VIRTUAL_REGISTER", "+", "2", ")", ";", "if", "(", "!", "d", ".", "one_vector_p", ")", "d", ".", "op1", "=", "gen_raw_REG", "(", "d", ".", "vmode", ",", "LAST_VIRTUAL_REGISTER", "+", "3", ")", ";", "start_sequence", "(", ")", ";", "ok", "=", "mips_expand_vec_perm_const_1", "(", "&", "d", ")", ";", "end_sequence", "(", ")", ";", "return", "ok", ";", "}", "ok", "=", "mips_expand_vec_perm_const_1", "(", "&", "d", ")", ";", "if", "(", "!", "ok", "&&", "which", "==", "3", ")", "{", "d", ".", "op0", "=", "op0", ";", "d", ".", "op1", "=", "op1", ";", "d", ".", "one_vector_p", "=", "false", ";", "memcpy", "(", "d", ".", "perm", ",", "orig_perm", ",", "MAX_VECT_LEN", ")", ";", "ok", "=", "mips_expand_vec_perm_const_1", "(", "&", "d", ")", ";", "}", "return", "ok", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VECTORIZE_VEC_PERM_CONST", "."], "TS_V_token": ["mips", "0", "0", "2", "1", "1", "2", "3", "2", "0", "1", "1", "1", "2", "3", "3"], "File": "mips", "Func": "mips_vectorize_vec_perm_const", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4654, "Length": 454, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AZPRPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createAZPRISelDag", "(", "getAZPRTargetMachine", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["AZPR", "AZPR", "AZPR", "AZPR"], "File": "AZPRTargetMachine", "Func": "addInstSelector", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4655, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsInstrInfo", "::", "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", "==", "Mips", "::", "CPURegsRegisterClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Mips", "::", "LW", ")", ",", "DestReg", ")", ".", "addImm", "(", "0", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "else", "if", "(", "RC", "==", "Mips", "::", "FGR32RegisterClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Mips", "::", "LWC1", ")", ",", "DestReg", ")", ".", "addImm", "(", "0", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "else", "if", "(", "RC", "==", "Mips", "::", "AFGR64RegisterClass", ")", "{", "if", "(", "!", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "isMips1", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Mips", "::", "LDC1", ")", ",", "DestReg", ")", ".", "addImm", "(", "0", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "}", "else", "{", "const", "TargetRegisterInfo", "*", "TRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "const", "unsigned", "*", "SubSet", "=", "TRI", "->", "getSubRegisters", "(", "DestReg", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Mips", "::", "LWC1", ")", ",", "SubSet", "[", "0", "]", ")", ".", "addImm", "(", "0", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Mips", "::", "LWC1", ")", ",", "SubSet", "[", "1", "]", ")", ".", "addImm", "(", "4", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "}", "}", "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": ["Mips", "Mips", "Mips::CPURegsRegisterClass", "Mips::LW", "0", "Mips::FGR32RegisterClass", "Mips::LWC1", "0", "Mips::AFGR64RegisterClass", "Mips", "Mips", "Mips::LDC1", "0", "Mips::LWC1", "0", "0", "Mips::LWC1", "1", "4", "\"Register class not handled!\""], "File": "MipsInstrInfo38", "Func": "loadRegFromStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4656, "Length": 287, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "Cpu0FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "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": ["Cpu0", "Cpu0"], "File": "Cpu0FrameLowering4", "Func": "eliminateCallFramePseudoInstr", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4657, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_emit_move_si_sf_subreg", "(", "rtx", "dest", ",", "rtx", "source", ",", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_DIRECT_MOVE_64BIT", "&&", "!", "reload_in_progress", "&&", "!", "reload_completed", "&&", "!", "lra_in_progress", "&&", "(", "!", "SUBREG_P", "(", "dest", ")", "||", "!", "sf_subreg_operand", "(", "dest", ",", "mode", ")", ")", "&&", "SUBREG_P", "(", "source", ")", "&&", "sf_subreg_operand", "(", "source", ",", "mode", ")", ")", "{", "rtx", "inner_source", "=", "SUBREG_REG", "(", "source", ")", ";", "machine_mode", "inner_mode", "=", "GET_MODE", "(", "inner_source", ")", ";", "if", "(", "mode", "==", "SImode", "&&", "inner_mode", "==", "SFmode", ")", "{", "emit_insn", "(", "gen_movsi_from_sf", "(", "dest", ",", "inner_source", ")", ")", ";", "return", "true", ";", "}", "if", "(", "mode", "==", "SFmode", "&&", "inner_mode", "==", "SImode", ")", "{", "emit_insn", "(", "gen_movsf_from_si", "(", "dest", ",", "inner_source", ")", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "change", "moves", "with", ":", "(", "SUBREG", ":", "SF", "(", "REG", ":", "SI", ")", ")", "and", "(", "SUBREG", ":", "SI", "(", "REG", ":", "SF", ")", ")", "into", "separate", "UNSPEC", "insns", ".", "In", "the", "PowerPC", "architecture", ",", "scalar", "SFmode", "values", "are", "stored", "as", "DFmode", "values", "in", "the", "VSX", "registers", ".", "We", "need", "to", "convert", "the", "bits", "before", "we", "can", "use", "a", "direct", "move", "or", "operate", "on", "the", "bits", "in", "the", "vector", "register", "as", "an", "integer", "type", ".", "Skip", "things", "like", "(", "set", "(", "SUBREG", ":", "SI", "(", "...", ")", "(", "SUBREG", ":", "SI", "(", "...", ")", ")", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_emit_move_si_sf_subreg", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4658, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMBaseTargetMachine", "::", "ARMBaseTargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "isLittle", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "CPU", ",", "Options", ",", "isLittle", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "TargetABI", "(", "computeTargetABI", "(", "TT", ",", "CPU", ",", "Options", ")", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ",", "isLittle", ")", ",", "isLittle", "(", "isLittle", ")", "{", "if", "(", "Options", ".", "FloatABIType", "==", "FloatABI", "::", "Default", ")", "this", "->", "Options", ".", "FloatABIType", "=", "Subtarget", ".", "isTargetHardFloat", "(", ")", "?", "FloatABI", "::", "Hard", ":", "FloatABI", "::", "Soft", ";", "if", "(", "Options", ".", "EABIVersion", "==", "EABI", "::", "Default", "||", "Options", ".", "EABIVersion", "==", "EABI", "::", "Unknown", ")", "{", "if", "(", "Subtarget", ".", "isTargetGNUAEABI", "(", ")", ")", "this", "->", "Options", ".", "EABIVersion", "=", "EABI", "::", "GNU", ";", "else", "this", "->", "Options", ".", "EABIVersion", "=", "EABI", "::", "EABI5", ";", "}", "}", ""], "natrual_language": ["Create", "an", "ARM", "architecture", "model", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMTargetMachine (2)1", "Func": "ARMBaseTargetMachine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4659, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_parse_tls_size_option", "(", "void", ")", "{", "if", "(", "rs6000_tls_size_string", "==", "0", ")", "return", ";", "else", "if", "(", "strcmp", "(", "rs6000_tls_size_string", ",", "\"16\"", ")", "==", "0", ")", "rs6000_tls_size", "=", "16", ";", "else", "if", "(", "strcmp", "(", "rs6000_tls_size_string", ",", "\"32\"", ")", "==", "0", ")", "rs6000_tls_size", "=", "32", ";", "else", "if", "(", "strcmp", "(", "rs6000_tls_size_string", ",", "\"64\"", ")", "==", "0", ")", "rs6000_tls_size", "=", "64", ";", "else", "error", "(", "\"bad value %qs for -mtls-size switch\"", ",", "rs6000_tls_size_string", ")", ";", "}", ""], "natrual_language": ["Validate", "and", "record", "the", "size", "specified", "with", "the", "-mtls-size", "option", "."], "TS_V_token": ["rs6000", "0", "\"16\"", "0", "16", "\"32\"", "0", "32", "\"64\"", "0", "64", "\"bad value %qs for -mtls-size switch\""], "File": "rs60003", "Func": "rs6000_parse_tls_size_option", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4660, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "sbitmap", "aarch64_components_for_bb", "(", "basic_block", "bb", ")", "{", "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", "(", "LAST_SAVED_REGNUM", "+", "1", ")", ";", "bitmap_clear", "(", "components", ")", ";", "function_abi_aggregator", "callee_abis", ";", "rtx_insn", "*", "insn", ";", "FOR_BB_INSNS", "(", "bb", ",", "insn", ")", "if", "(", "CALL_P", "(", "insn", ")", ")", "callee_abis", ".", "note_callee_abi", "(", "insn_callee_abi", "(", "insn", ")", ")", ";", "HARD_REG_SET", "extra_caller_saves", "=", "callee_abis", ".", "caller_save_regs", "(", "*", "crtl", "->", "abi", ")", ";", "for", "(", "unsigned", "regno", "=", "0", ";", "regno", "<=", "LAST_SAVED_REGNUM", ";", "regno", "++", ")", "if", "(", "!", "fixed_regs", "[", "regno", "]", "&&", "!", "crtl", "->", "abi", "->", "clobbers_full_reg_p", "(", "regno", ")", "&&", "(", "TEST_HARD_REG_BIT", "(", "extra_caller_saves", ",", "regno", ")", "||", "bitmap_bit_p", "(", "in", ",", "regno", ")", "||", "bitmap_bit_p", "(", "gen", ",", "regno", ")", "||", "bitmap_bit_p", "(", "kill", ",", "regno", ")", ")", ")", "{", "bitmap_set_bit", "(", "components", ",", "regno", ")", ";", "poly_int64", "offset", "=", "cfun", "->", "machine", "->", "frame", ".", "reg_offset", "[", "regno", "]", ";", "unsigned", "regno2", "=", "multiple_p", "(", "offset", ",", "16", ")", "?", "regno", "+", "1", ":", "regno", "-", "1", ";", "if", "(", "regno2", "<=", "LAST_SAVED_REGNUM", ")", "{", "poly_int64", "offset2", "=", "cfun", "->", "machine", "->", "frame", ".", "reg_offset", "[", "regno2", "]", ";", "if", "(", "regno", "<", "regno2", "?", "known_eq", "(", "offset", "+", "8", ",", "offset2", ")", ":", "multiple_p", "(", "offset2", ",", "16", ")", "&&", "known_eq", "(", "offset2", "+", "8", ",", "offset", ")", ")", "bitmap_set_bit", "(", "components", ",", "regno2", ")", ";", "}", "}", "return", "components", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SHRINK_WRAP_COMPONENTS_FOR_BB", "."], "TS_V_token": ["aarch64", "1", "0", "16", "1", "1", "8", "16", "8"], "File": "aarch64", "Func": "aarch64_components_for_bb", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4661, "Length": 263, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "mayBeEmittedAsTailCall", "(", "CallInst", "*", "CI", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "supportsTailCall", "(", ")", ")", "return", "false", ";", "auto", "Attr", "=", "CI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getFnAttribute", "(", "\"disable-tail-calls\"", ")", ";", "if", "(", "!", "CI", "->", "isTailCall", "(", ")", "||", "Attr", ".", "getValueAsString", "(", ")", "==", "\"true\"", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "may", "be", "able", "emit", "the", "call", "instruction", "as", "a", "tail", "call", "."], "TS_V_token": ["ARM", "ARM", "\"disable-tail-calls\"", "\"true\""], "File": "ARMISelLowering (2)2", "Func": "mayBeEmittedAsTailCall", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4662, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "swiftAsyncContextIsDynamicallySet", "(", ")", "const", "{", "const", "Triple", "&", "TT", "=", "getTargetTriple", "(", ")", ";", "unsigned", "Major", "=", "TT", ".", "getOSVersion", "(", ")", ".", "getMajor", "(", ")", ";", "switch", "(", "TT", ".", "getOS", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Triple", "::", "IOS", ":", "case", "Triple", "::", "TvOS", ":", "return", "Major", "<", "15", ";", "case", "Triple", "::", "WatchOS", ":", "return", "Major", "<", "8", ";", "case", "Triple", "::", "MacOSX", ":", "case", "Triple", "::", "Darwin", ":", "return", "Major", "<", "12", ";", "}", "}", ""], "natrual_language": ["Return", "whether", "FrameLowering", "should", "always", "set", "the", "``", "extended", "frame", "present", "''", "bit", "in", "FP", ",", "or", "set", "it", "based", "on", "a", "symbol", "in", "the", "runtime", "."], "TS_V_token": ["X86", "15", "8", "12"], "File": "X86Subtarget (2)2", "Func": "swiftAsyncContextIsDynamicallySet", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4663, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "csky_label_mentioned_p", "(", "rtx", "x", ")", "{", "const", "char", "*", "fmt", ";", "int", "i", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", ")", "return", "true", ";", "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", "(", "csky_label_mentioned_p", "(", "XVECEXP", "(", "x", ",", "i", ",", "j", ")", ")", ")", "return", "true", ";", "}", "else", "if", "(", "fmt", "[", "i", "]", "==", "'e'", "&&", "csky_label_mentioned_p", "(", "XEXP", "(", "x", ",", "i", ")", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "X", "references", "a", "LABEL_REF", "."], "TS_V_token": ["csky", "1", "0", "1", "0"], "File": "csky", "Func": "csky_label_mentioned_p", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4664, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "aarch64_parse_opt_result", "aarch64_parse_tune", "(", "const", "char", "*", "to_parse", ",", "const", "struct", "processor", "*", "*", "res", ")", "{", "const", "struct", "processor", "*", "cpu", ";", "for", "(", "cpu", "=", "all_cores", ";", "cpu", "->", "name", "!=", "NULL", ";", "cpu", "++", ")", "{", "if", "(", "strcmp", "(", "cpu", "->", "name", ",", "to_parse", ")", "==", "0", ")", "{", "*", "res", "=", "cpu", ";", "return", "AARCH64_PARSE_OK", ";", "}", "}", "return", "AARCH64_PARSE_INVALID_ARG", ";", "}", ""], "natrual_language": ["Parse", "the", "TUNE", "string", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64", "Func": "aarch64_parse_tune", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4665, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86DomainReassignment", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "if", "(", "DisableX86DomainReassignment", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** Machine Function before Domain Reassignment *****\\n\"", ")", ";", "LLVM_DEBUG", "(", "MF", ".", "print", "(", "dbgs", "(", ")", ")", ")", ";", "STI", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "STI", "->", "hasAVX512", "(", ")", "||", "!", "STI", "->", "hasBWI", "(", ")", ")", "return", "false", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "assert", "(", "MRI", "->", "isSSA", "(", ")", "&&", "\"Expected MIR to be in SSA form\"", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "initConverters", "(", ")", ";", "bool", "Changed", "=", "false", ";", "EnclosedEdges", ".", "clear", "(", ")", ";", "EnclosedInstrs", ".", "clear", "(", ")", ";", "std", "::", "vector", "<", "Closure", ">", "Closures", ";", "unsigned", "ClosureID", "=", "0", ";", "for", "(", "unsigned", "Idx", "=", "0", ";", "Idx", "<", "MRI", "->", "getNumVirtRegs", "(", ")", ";", "++", "Idx", ")", "{", "Register", "Reg", "=", "Register", "::", "index2VirtReg", "(", "Idx", ")", ";", "if", "(", "!", "isGPR", "(", "MRI", "->", "getRegClass", "(", "Reg", ")", ")", ")", "continue", ";", "if", "(", "EnclosedEdges", ".", "count", "(", "Reg", ")", ")", "continue", ";", "Closure", "C", "(", "ClosureID", "++", ",", "{", "MaskDomain", "}", ")", ";", "buildClosure", "(", "C", ",", "Reg", ")", ";", "if", "(", "!", "C", ".", "empty", "(", ")", "&&", "C", ".", "isLegal", "(", "MaskDomain", ")", ")", "Closures", ".", "push_back", "(", "std", "::", "move", "(", "C", ")", ")", ";", "}", "for", "(", "Closure", "&", "C", ":", "Closures", ")", "{", "LLVM_DEBUG", "(", "C", ".", "dump", "(", "MRI", ")", ")", ";", "if", "(", "isReassignmentProfitable", "(", "C", ",", "MaskDomain", ")", ")", "{", "reassign", "(", "C", ",", "MaskDomain", ")", ";", "++", "NumClosuresConverted", ";", "Changed", "=", "true", ";", "}", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** Machine Function after Domain Reassignment *****\\n\"", ")", ";", "LLVM_DEBUG", "(", "MF", ".", "print", "(", "dbgs", "(", ")", ")", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "\"***** Machine Function before Domain Reassignment *****\\n\"", "X86", "\"Expected MIR to be in SSA form\"", "0", "0", "\"***** Machine Function after Domain Reassignment *****\\n\""], "File": "X86DomainReassignment17", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4666, "Length": 317, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VZeroUpperInserter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "TII", "=", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "BB", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "BB", "!=", "E", ";", "++", "BB", ")", "Changed", "|=", "processBasicBlock", "(", "MF", ",", "*", "BB", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86"], "File": "X86VZeroUpper", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4667, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ia64_expand_call", "(", "rtx", "retval", ",", "rtx", "addr", ",", "rtx", "nextarg", "ATTRIBUTE_UNUSED", ",", "int", "sibcall_p", ")", "{", "rtx", "insn", ",", "b0", ";", "addr", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "addr", "=", "convert_memory_address", "(", "DImode", ",", "addr", ")", ";", "b0", "=", "gen_rtx_REG", "(", "DImode", ",", "R_BR", "(", "0", ")", ")", ";", "if", "(", "TARGET_NO_PIC", "||", "TARGET_AUTO_PIC", ")", "{", "if", "(", "sibcall_p", ")", "insn", "=", "gen_sibcall_nogp", "(", "addr", ")", ";", "else", "if", "(", "!", "retval", ")", "insn", "=", "gen_call_nogp", "(", "addr", ",", "b0", ")", ";", "else", "insn", "=", "gen_call_value_nogp", "(", "retval", ",", "addr", ",", "b0", ")", ";", "insn", "=", "emit_call_insn", "(", "insn", ")", ";", "}", "else", "{", "if", "(", "sibcall_p", ")", "insn", "=", "gen_sibcall_gp", "(", "addr", ")", ";", "else", "if", "(", "!", "retval", ")", "insn", "=", "gen_call_gp", "(", "addr", ",", "b0", ")", ";", "else", "insn", "=", "gen_call_value_gp", "(", "retval", ",", "addr", ",", "b0", ")", ";", "insn", "=", "emit_call_insn", "(", "insn", ")", ";", "use_reg", "(", "&", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ",", "pic_offset_table_rtx", ")", ";", "}", "if", "(", "sibcall_p", ")", "use_reg", "(", "&", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ",", "b0", ")", ";", "if", "(", "TARGET_ABI_OPEN_VMS", ")", "use_reg", "(", "&", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ",", "gen_rtx_REG", "(", "DImode", ",", "GR_REG", "(", "25", ")", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "appropriate", "sequence", "for", "a", "call", "."], "TS_V_token": ["ia64", "0", "0", "25"], "File": "ia64", "Func": "ia64_expand_call", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4668, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", "const", "override", "{", "unsigned", "NumBytes", "=", "getFixupKindInfo", "(", "Fixup", ".", "getKind", "(", ")", ")", ".", "TargetSize", "/", "8", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ".", "getKind", "(", ")", ",", "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": ["AArch64", "8", "\"Invalid fixup offset!\"", "0", "8", "0xff"], "File": "AArch64AsmBackend37", "Func": "applyFixup", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4669, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "OR1KTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBR_CC", "(", "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", "::", "JumpTable", ":", "return", "LowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "LowerDYNAMIC_STACKALLOC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "CTTZ", ":", "return", "LowerCTTZ", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "CTTZ_ZERO_UNDEF", ":", "return", "LowerCTTZ_ZERO_UNDEF", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "CTLZ", ":", "case", "ISD", "::", "CTLZ_ZERO_UNDEF", ":", "return", "LowerCTLZ", "(", "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": ["OR1K", "OR1K", "ISD::BR_CC", "ISD::ConstantPool", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::JumpTable", "ISD::SELECT_CC", "ISD::VASTART", "ISD::DYNAMIC_STACKALLOC", "ISD::CTTZ", "ISD::CTTZ_ZERO_UNDEF", "ISD::CTLZ", "ISD::CTLZ_ZERO_UNDEF", "ISD::RETURNADDR", "ISD::FRAMEADDR", "\"unimplemented operand\""], "File": "OR1KISelLowering", "Func": "LowerOperation", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4670, "Length": 206, "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", ",", "bool", "is64Bit", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "Options", ".", "StackAlignmentOverride", ",", "is64Bit", ")", ",", "FrameLowering", "(", "*", "this", ",", "Subtarget", ")", ",", "InstrItins", "(", "Subtarget", ".", "getInstrItineraryData", "(", ")", ")", "{", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "RIPRel", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "isTargetCygMing", "(", ")", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "StubPIC", ")", ";", "else", "{", "assert", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "DynamicNoPIC", ")", ";", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "StubDynamicNoPIC", ")", ";", "}", "}", "else", "if", "(", "Subtarget", ".", "isTargetELF", "(", ")", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "GOT", ")", ";", "}", "if", "(", "Options", ".", "FloatABIType", "==", "FloatABI", "::", "Default", ")", "this", "->", "Options", ".", "FloatABIType", "=", "FloatABI", "::", "Hard", ";", "}", ""], "natrual_language": ["Create", "an", "X86", "target", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86TargetMachine1", "Func": "X86TargetMachine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4671, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "fma_forest", "::", "merge_forest", "(", "fma_forest", "*", "other_forest", ")", "{", "std", "::", "list", "<", "fma_root_node", "*", ">", "*", "other_roots", ";", "std", "::", "list", "<", "fma_root_node", "*", ">", "::", "iterator", "other_root_iter", ";", "if", "(", "this", "==", "other_forest", ")", "return", ";", "other_roots", "=", "other_forest", "->", "m_roots", ";", "for", "(", "other_root_iter", "=", "other_roots", "->", "begin", "(", ")", ";", "other_root_iter", "!=", "other_roots", "->", "end", "(", ")", ";", "other_root_iter", "++", ")", "(", "*", "other_root_iter", ")", "->", "set_forest", "(", "this", ")", ";", "this", "->", "m_globals", "->", "remove_forest", "(", "other_forest", ")", ";", "this", "->", "m_roots", "->", "splice", "(", "this", "->", "m_roots", "->", "begin", "(", ")", ",", "*", "other_roots", ")", ";", "delete", "other_forest", ";", "this", "->", "m_nb_nodes", "+=", "other_forest", "->", "m_nb_nodes", ";", "}", ""], "natrual_language": ["Merge", "REF_FOREST", "and", "OTHER_FOREST", "together", ",", "making", "REF_FOREST", "the", "canonical", "fma_forest", "object", "to", "represent", "both", "."], "TS_V_token": ["aarch64"], "File": "cortex-a57-fma-steering2", "Func": "merge_forest", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4672, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "loongarch_legitimize_const_move", "(", "machine_mode", "mode", ",", "rtx", "dest", ",", "rtx", "src", ")", "{", "rtx", "base", ",", "offset", ";", "if", "(", "splittable_const_int_operand", "(", "src", ",", "mode", ")", ")", "{", "loongarch_move_integer", "(", "dest", ",", "dest", ",", "INTVAL", "(", "src", ")", ")", ";", "return", ";", "}", "if", "(", "loongarch_tls_symbol_p", "(", "src", ")", ")", "{", "loongarch_emit_move", "(", "dest", ",", "loongarch_legitimize_tls_address", "(", "src", ")", ")", ";", "return", ";", "}", "split_const", "(", "src", ",", "&", "base", ",", "&", "offset", ")", ";", "if", "(", "offset", "!=", "const0_rtx", "&&", "(", "targetm", ".", "cannot_force_const_mem", "(", "mode", ",", "src", ")", "||", "(", "can_create_pseudo_p", "(", ")", ")", ")", ")", "{", "base", "=", "loongarch_force_temporary", "(", "dest", ",", "base", ")", ";", "loongarch_emit_move", "(", "dest", ",", "loongarch_add_offset", "(", "NULL", ",", "base", ",", "INTVAL", "(", "offset", ")", ")", ")", ";", "return", ";", "}", "src", "=", "force_const_mem", "(", "mode", ",", "src", ")", ";", "loongarch_emit_move", "(", "dest", ",", "src", ")", ";", "}", ""], "natrual_language": ["Subroutine", "of", "loongarch_legitimize_move", ".", "Move", "constant", "SRC", "into", "register", "DEST", "given", "that", "SRC", "satisfies", "immediate_operand", "but", "does", "n't", "satisfy", "move_operand", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_legitimize_const_move", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4673, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "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": "i386-features", "Func": "ix86_compare_version_priority", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4674, "Length": 44, "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": 4675, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "CSKYRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "CSKY", "::", "R8", ":", "CSKY", "::", "R14", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["CSKY", "CSKY", "CSKY::R8", "CSKY::R14"], "File": "CSKYRegisterInfo", "Func": "getFrameRegister", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4676, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "initialize", "(", "MF", ")", ";", "return", "simplifyCode", "(", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC"], "File": "PPCMIPeephole (2)", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4677, "Length": 20, "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": 4678, "Length": 334, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmParser", "::", "emitInstruction", "(", "MCInst", "&", "Inst", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ")", "{", "Out", ".", "emitInstruction", "(", "Inst", ",", "getSTI", "(", ")", ")", ";", "if", "(", "LVIInlineAsmHardening", ")", "{", "if", "(", "getSTI", "(", ")", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "FeatureLVIControlFlowIntegrity", "]", "&&", "applyLVICFIMitigation", "(", "Inst", ")", ")", "return", ";", "if", "(", "getSTI", "(", ")", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "FeatureLVILoadHardening", "]", ")", "applyLVILoadHardeningMitigation", "(", "Inst", ",", "Out", ")", ";", "}", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["X86", "X86", "X86::FeatureLVIControlFlowIntegrity", "X86::FeatureLVILoadHardening"], "File": "X86AsmParser110", "Func": "emitInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4679, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "ix86_function_value", "(", "tree", "valtype", ",", "tree", "fntype_or_decl", ",", "bool", "outgoing", "ATTRIBUTE_UNUSED", ")", "{", "enum", "machine_mode", "natmode", "=", "type_natural_mode", "(", "valtype", ")", ";", "if", "(", "TARGET_64BIT", ")", "{", "rtx", "ret", "=", "construct_container", "(", "natmode", ",", "TYPE_MODE", "(", "valtype", ")", ",", "valtype", ",", "1", ",", "REGPARM_MAX", ",", "SSE_REGPARM_MAX", ",", "x86_64_int_return_registers", ",", "0", ")", ";", "if", "(", "!", "ret", ")", "ret", "=", "gen_rtx_REG", "(", "TYPE_MODE", "(", "valtype", ")", ",", "0", ")", ";", "return", "ret", ";", "}", "else", "{", "tree", "fn", "=", "NULL_TREE", ",", "fntype", ";", "if", "(", "fntype_or_decl", "&&", "DECL_P", "(", "fntype_or_decl", ")", ")", "fn", "=", "fntype_or_decl", ";", "fntype", "=", "fn", "?", "TREE_TYPE", "(", "fn", ")", ":", "fntype_or_decl", ";", "return", "gen_rtx_REG", "(", "TYPE_MODE", "(", "valtype", ")", ",", "ix86_value_regno", "(", "natmode", ",", "fn", ",", "fntype", ")", ")", ";", "}", "}", ""], "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", "."], "TS_V_token": ["i386", "1", "0", "0"], "File": "i3863", "Func": "ix86_function_value", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4680, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "MachineFunction", "*", "MF", "=", "BB", "->", "getParent", "(", ")", ";", "unsigned", "GP", "=", "0", ";", "for", "(", "MachineRegisterInfo", "::", "livein_iterator", "ii", "=", "MF", "->", "getRegInfo", "(", ")", ".", "livein_begin", "(", ")", ",", "ee", "=", "MF", "->", "getRegInfo", "(", ")", ".", "livein_end", "(", ")", ";", "ii", "!=", "ee", ";", "++", "ii", ")", "if", "(", "ii", "->", "first", "==", "Mips", "::", "GP", ")", "{", "GP", "=", "ii", "->", "second", ";", "break", ";", "}", "assert", "(", "GP", "&&", "\"GOT PTR not in liveins\"", ")", ";", "return", "CurDAG", "->", "getCopyFromReg", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "DebugLoc", "::", "getUnknownLoc", "(", ")", ",", "GP", ",", "MVT", "::", "i32", ")", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["Mips", "Mips", "0", "Mips::GP", "\"GOT PTR not in liveins\"", "MVT::i32"], "File": "MipsISelDAGToDAG15", "Func": "getGlobalBaseReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4681, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "LoadInst", "*", "X86TargetLowering", "::", "lowerIdempotentRMWIntoFencedLoad", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "const", "X86Subtarget", "&", "Subtarget", "=", "getTargetMachine", "(", ")", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "unsigned", "NativeWidth", "=", "Subtarget", ".", "is64Bit", "(", ")", "?", "64", ":", "32", ";", "const", "Type", "*", "MemType", "=", "AI", "->", "getType", "(", ")", ";", "if", "(", "MemType", "->", "getPrimitiveSizeInBits", "(", ")", ">", "NativeWidth", ")", "return", "nullptr", ";", "auto", "Builder", "=", "IRBuilder", "<", ">", "(", "AI", ")", ";", "Module", "*", "M", "=", "Builder", ".", "GetInsertBlock", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "auto", "SynchScope", "=", "AI", "->", "getSynchScope", "(", ")", ";", "auto", "Order", "=", "AtomicCmpXchgInst", "::", "getStrongestFailureOrdering", "(", "AI", "->", "getOrdering", "(", ")", ")", ";", "auto", "Ptr", "=", "AI", "->", "getPointerOperand", "(", ")", ";", "if", "(", "SynchScope", "==", "SingleThread", ")", "{", "return", "nullptr", ";", "}", "else", "if", "(", "hasMFENCE", "(", "Subtarget", ")", ")", "{", "Function", "*", "MFence", "=", "llvm", "::", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "Intrinsic", "::", "x86_sse2_mfence", ")", ";", "Builder", ".", "CreateCall", "(", "MFence", ")", ";", "}", "else", "{", "return", "nullptr", ";", "}", "LoadInst", "*", "Loaded", "=", "Builder", ".", "CreateAlignedLoad", "(", "Ptr", ",", "AI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ")", ";", "Loaded", "->", "setAtomic", "(", "Order", ",", "SynchScope", ")", ";", "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", "X86", "X86", "64", "32", "Intrinsic::getDeclaration", "Intrinsic::x86_sse2_mfence"], "File": "X86ISelLowering113", "Func": "lowerIdempotentRMWIntoFencedLoad", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4682, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_is_long_call_p", "(", "tree", "decl", ")", "{", "tree", "attrs", ";", "if", "(", "!", "decl", ")", "return", "TARGET_LONG_CALLS", ";", "attrs", "=", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "decl", ")", ")", ";", "if", "(", "lookup_attribute", "(", "\"short_call\"", ",", "attrs", ")", ")", "return", "false", ";", "if", "(", "!", "flag_reorder_blocks_and_partition", "&&", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", "&&", "arm_function_in_section_p", "(", "decl", ",", "current_function_section", "(", ")", ")", ")", "return", "false", ";", "if", "(", "lookup_attribute", "(", "\"long_call\"", ",", "attrs", ")", ")", "return", "true", ";", "return", "TARGET_LONG_CALLS", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "a", "32-bit", "``", "long_call", "''", "should", "be", "generated", "for", "a", "call", "from", "the", "current", "function", "to", "DECL", ".", "We", "generate", "a", "long_call", "if", "the", "function", ":", "a.", "has", "an", "__attribute__", "(", "(", "long", "call", ")", ")", "or", "b.", "is", "within", "the", "scope", "of", "a", "#", "pragma", "long_calls", "or", "c.", "the", "-mlong-calls", "command", "line", "switch", "has", "been", "specified", "However", "we", "do", "not", "generate", "a", "long", "call", "if", "the", "function", ":", "d.", "has", "an", "__attribute__", "(", "(", "short_call", ")", ")", "or", "e.", "is", "inside", "the", "scope", "of", "a", "#", "pragma", "no_long_calls", "or", "f.", "is", "defined", "in", "the", "same", "section", "as", "the", "current", "function", "."], "TS_V_token": ["arm", "\"short_call\"", "\"long_call\""], "File": "arm", "Func": "arm_is_long_call_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4683, "Length": 80, "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", ")", ",", "IsBTMemSlow", "(", "false", ")", ",", "IsUAMemFast", "(", "false", ")", ",", "HasVectorUAMem", "(", "false", ")", ",", "HasCmpxchg16b", "(", "false", ")", ",", "UseLeaForSP", "(", "false", ")", ",", "HasSlowDivide", "(", "false", ")", ",", "PostRAScheduler", "(", "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", ")", ";", "}", "}", "}", "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", "(", ")", "||", "isTargetFreeBSD", "(", ")", "||", "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": "X86Subtarget50", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4684, "Length": 478, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "analyzeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "&", "TBB", ",", "MachineBasicBlock", "*", "&", "FBB", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "bool", "AllowModify", ")", "const", "{", "SmallVector", "<", "MachineInstr", "*", ",", "4", ">", "CondBranches", ";", "return", "AnalyzeBranchImpl", "(", "MBB", ",", "TBB", ",", "FBB", ",", "Cond", ",", "CondBranches", ",", "AllowModify", ")", ";", "}", ""], "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": ["X86", "X86", "4"], "File": "X86InstrInfo (2)1", "Func": "analyzeBranch", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4685, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AnalyzeCallOperands", "(", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "CCAssignFn", "Fn", ")", "{", "IsFixed", ".", "resize", "(", "Outs", ".", "size", "(", ")", ",", "false", ")", ";", "for", "(", "unsigned", "ValNo", "=", "0", ",", "E", "=", "Outs", ".", "size", "(", ")", ";", "ValNo", "!=", "E", ";", "++", "ValNo", ")", "if", "(", "Outs", "[", "ValNo", "]", ".", "IsFixed", ")", "IsFixed", ".", "set", "(", "ValNo", ")", ";", "CCState", "::", "AnalyzeCallOperands", "(", "Outs", ",", "Fn", ")", ";", "}", ""], "natrual_language": ["AnalyzeCallOperands", "-", "Same", "as", "above", "except", "it", "takes", "vectors", "of", "types", "and", "argument", "flags", "."], "TS_V_token": ["PowerPC", "ISD::OutputArg", "0"], "File": "PPCCCState5", "Func": "AnalyzeCallOperands", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4686, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsOptimizePICCall", "::", "getReg", "(", "ValueType", "Entry", ")", "{", "unsigned", "Reg", "=", "ScopedHT", ".", "lookup", "(", "Entry", ")", ".", "second", ";", "assert", "(", "Reg", ")", ";", "return", "Reg", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsOptimizePICCall15", "Func": "getReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4687, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "check_op_callback", "(", "tree", "*", "tp", ",", "int", "*", "walk_subtrees", ",", "void", "*", "data", ")", "{", "struct", "walk_stmt_info", "*", "wi", "=", "(", "struct", "walk_stmt_info", "*", ")", "data", ";", "if", "(", "RECORD_OR_UNION_TYPE_P", "(", "*", "tp", ")", "||", "TREE_CODE", "(", "*", "tp", ")", "==", "ENUMERAL_TYPE", ")", "{", "if", "(", "TREE_TYPE", "(", "*", "tp", ")", "==", "NULL", ")", "return", "NULL", ";", "}", "if", "(", "TREE_TYPE", "(", "*", "tp", ")", "==", "NULL", ")", "return", "NULL", ";", "const", "tree", "type", "=", "TREE_TYPE", "(", "*", "tp", ")", ";", "gcall", "*", "call", "=", "dyn_cast", "<", "gcall", "*", ">", "(", "gsi_stmt", "(", "wi", "->", "gsi", ")", ")", ";", "if", "(", "call", "&&", "tp", "==", "gimple_call_fn_ptr", "(", "call", ")", "&&", "gimple_call_fndecl", "(", "call", ")", ")", "return", "NULL", ";", "switch", "(", "TREE_CODE", "(", "type", ")", ")", "{", "case", "FUNCTION_TYPE", ":", "case", "METHOD_TYPE", ":", "{", "for", "(", "tree", "p", "=", "TYPE_ARG_TYPES", "(", "type", ")", ";", "p", ";", "p", "=", "TREE_CHAIN", "(", "p", ")", ")", "{", "tree", "arg_type", "=", "TREE_VALUE", "(", "p", ")", ";", "if", "(", "chkp_type_has_function_pointer", "(", "arg_type", ")", ")", "error_at", "(", "gimple_location", "(", "wi", "->", "stmt", ")", ",", "\"function pointers \"", "\"not supported with %<-mabi=ti%> option\"", ")", ";", "}", "break", ";", "}", "case", "RECORD_TYPE", ":", "case", "UNION_TYPE", ":", "case", "QUAL_UNION_TYPE", ":", "case", "POINTER_TYPE", ":", "{", "if", "(", "chkp_type_has_function_pointer", "(", "type", ")", ")", "{", "error_at", "(", "gimple_location", "(", "wi", "->", "stmt", ")", ",", "\"function pointers not supported with \"", "\"%<-mabi=ti%> option\"", ")", ";", "*", "walk_subtrees", "=", "false", ";", "}", "break", ";", "}", "default", ":", "break", ";", "}", "return", "NULL", ";", "}", ""], "natrual_language": ["Callback", "for", "walk_gimple_seq", "that", "checks", "TP", "tree", "for", "TI", "ABI", "compliance", "."], "TS_V_token": ["pru", "\"function pointers \"", "\"not supported with %<-mabi=ti%> option\"", "\"function pointers not supported with \"", "\"%<-mabi=ti%> option\""], "File": "pru-passes", "Func": "check_op_callback", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4688, "Length": 239, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mmix_function_arg", "(", "cumulative_args_t", "argsp", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "return", "mmix_function_arg_1", "(", "argsp", ",", "mode", ",", "type", ",", "named", ",", "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": "mmix4", "Func": "mmix_function_arg", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4689, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "emitLoadConstPool", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "DebugLoc", "dl", ",", "unsigned", "DestReg", ",", "unsigned", "SubIdx", ",", "int", "Val", ",", "ARMCC", "::", "CondCodes", "Pred", ",", "unsigned", "PredReg", ",", "unsigned", "MIFlags", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "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", ")", ".", "addImm", "(", "Pred", ")", ".", "addReg", "(", "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": "ARMBaseRegisterInfo15", "Func": "emitLoadConstPool", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4690, "Length": 172, "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": 4691, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "expand_vec_perm_vpshufb2_vpermq", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "rtx", "rperm", "[", "2", "]", "[", "32", "]", ",", "vperm", ",", "l", ",", "h", ",", "hp", ",", "op", ",", "m128", ";", "unsigned", "int", "i", ",", "nelt", ",", "eltsz", ";", "if", "(", "!", "TARGET_AVX2", "||", "!", "d", "->", "one_operand_p", "||", "(", "d", "->", "vmode", "!=", "V32QImode", "&&", "d", "->", "vmode", "!=", "V16HImode", ")", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "nelt", "=", "d", "->", "nelt", ";", "eltsz", "=", "GET_MODE_SIZE", "(", "GET_MODE_INNER", "(", "d", "->", "vmode", ")", ")", ";", "m128", "=", "GEN_INT", "(", "-", "128", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "{", "unsigned", "j", ",", "e", "=", "d", "->", "perm", "[", "i", "]", "&", "(", "nelt", "/", "2", "-", "1", ")", ";", "unsigned", "which", "=", "(", "(", "d", "->", "perm", "[", "i", "]", "^", "i", ")", "&", "(", "nelt", "/", "2", ")", ")", "*", "eltsz", ";", "for", "(", "j", "=", "0", ";", "j", "<", "eltsz", ";", "++", "j", ")", "{", "rperm", "[", "!", "!", "which", "]", "[", "(", "i", "*", "eltsz", "+", "j", ")", "^", "which", "]", "=", "GEN_INT", "(", "e", "*", "eltsz", "+", "j", ")", ";", "rperm", "[", "!", "which", "]", "[", "(", "i", "*", "eltsz", "+", "j", ")", "^", "(", "which", "^", "16", ")", "]", "=", "m128", ";", "}", "}", "vperm", "=", "gen_rtx_CONST_VECTOR", "(", "V32QImode", ",", "gen_rtvec_v", "(", "32", ",", "rperm", "[", "1", "]", ")", ")", ";", "vperm", "=", "force_reg", "(", "V32QImode", ",", "vperm", ")", ";", "h", "=", "gen_reg_rtx", "(", "V32QImode", ")", ";", "op", "=", "gen_lowpart", "(", "V32QImode", ",", "d", "->", "op0", ")", ";", "emit_insn", "(", "gen_avx2_pshufbv32qi3", "(", "h", ",", "op", ",", "vperm", ")", ")", ";", "hp", "=", "gen_reg_rtx", "(", "V4DImode", ")", ";", "op", "=", "gen_lowpart", "(", "V4DImode", ",", "h", ")", ";", "emit_insn", "(", "gen_avx2_permv4di_1", "(", "hp", ",", "op", ",", "const2_rtx", ",", "GEN_INT", "(", "3", ")", ",", "const0_rtx", ",", "const1_rtx", ")", ")", ";", "vperm", "=", "gen_rtx_CONST_VECTOR", "(", "V32QImode", ",", "gen_rtvec_v", "(", "32", ",", "rperm", "[", "0", "]", ")", ")", ";", "vperm", "=", "force_reg", "(", "V32QImode", ",", "vperm", ")", ";", "l", "=", "gen_reg_rtx", "(", "V32QImode", ")", ";", "op", "=", "gen_lowpart", "(", "V32QImode", ",", "d", "->", "op0", ")", ";", "emit_insn", "(", "gen_avx2_pshufbv32qi3", "(", "l", ",", "op", ",", "vperm", ")", ")", ";", "op", "=", "d", "->", "target", ";", "if", "(", "d", "->", "vmode", "!=", "V32QImode", ")", "op", "=", "gen_reg_rtx", "(", "V32QImode", ")", ";", "emit_insn", "(", "gen_iorv32qi3", "(", "op", ",", "l", ",", "gen_lowpart", "(", "V32QImode", ",", "hp", ")", ")", ")", ";", "if", "(", "op", "!=", "d", "->", "target", ")", "emit_move_insn", "(", "d", "->", "target", ",", "gen_lowpart", "(", "d", "->", "vmode", ",", "op", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "arbitrary", "permutation", "of", "one", "V32QImode", "and", "V16QImode", "operand", "with", "two", "vpshufb", "insns", ",", "vpermq", "and", "vpor", ".", "We", "should", "have", "already", "failed", "all", "two", "or", "three", "instruction", "sequences", "."], "TS_V_token": ["i386", "2", "32", "128", "0", "2", "1", "2", "0", "16", "32", "1", "3", "32", "0"], "File": "i3864", "Func": "expand_vec_perm_vpshufb2_vpermq", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4692, "Length": 440, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getReg", "(", ")", "const", "override", "{", "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)", "Func": "getReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4693, "Length": 28, "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", ",", "unsigned", "MinSVEVectorSizeInBitsOverride", ",", "unsigned", "MaxSVEVectorSizeInBitsOverride", ")", ":", "AArch64GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "CPU", ",", "FS", ")", ",", "ReserveXRegister", "(", "AArch64", "::", "GPR64commonRegClass", ".", "getNumRegs", "(", ")", ")", ",", "CustomCallSavedXRegs", "(", "AArch64", "::", "GPR64commonRegClass", ".", "getNumRegs", "(", ")", ")", ",", "IsLittle", "(", "LittleEndian", ")", ",", "MinSVEVectorSizeInBits", "(", "MinSVEVectorSizeInBitsOverride", ")", ",", "MaxSVEVectorSizeInBits", "(", "MaxSVEVectorSizeInBitsOverride", ")", ",", "TargetTriple", "(", "TT", ")", ",", "FrameLowering", "(", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "FS", ",", "CPU", ")", ")", ",", "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 (2)1", "Func": "AArch64Subtarget", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4694, "Length": 219, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "aarch64_simd_clone_compute_vecsize_and_simdlen", "(", "struct", "cgraph_node", "*", "node", ",", "struct", "cgraph_simd_clone", "*", "clonei", ",", "tree", "base_type", ",", "int", "num", ")", "{", "tree", "t", ",", "ret_type", ";", "unsigned", "int", "elt_bits", ",", "count", ";", "unsigned", "HOST_WIDE_INT", "const_simdlen", ";", "poly_uint64", "vec_bits", ";", "if", "(", "!", "TARGET_SIMD", ")", "return", "0", ";", "if", "(", "maybe_ne", "(", "clonei", "->", "simdlen", ",", "0U", ")", "&&", "clonei", "->", "simdlen", ".", "is_constant", "(", "&", "const_simdlen", ")", "&&", "(", "const_simdlen", "<", "2", "||", "const_simdlen", ">", "1024", "||", "(", "const_simdlen", "&", "(", "const_simdlen", "-", "1", ")", ")", "!=", "0", ")", ")", "{", "warning_at", "(", "DECL_SOURCE_LOCATION", "(", "node", "->", "decl", ")", ",", "0", ",", "\"unsupported simdlen %wd\"", ",", "const_simdlen", ")", ";", "return", "0", ";", "}", "ret_type", "=", "TREE_TYPE", "(", "TREE_TYPE", "(", "node", "->", "decl", ")", ")", ";", "if", "(", "TREE_CODE", "(", "ret_type", ")", "!=", "VOID_TYPE", "&&", "!", "currently_supported_simd_type", "(", "ret_type", ",", "base_type", ")", ")", "{", "if", "(", "TYPE_SIZE", "(", "ret_type", ")", "!=", "TYPE_SIZE", "(", "base_type", ")", ")", "warning_at", "(", "DECL_SOURCE_LOCATION", "(", "node", "->", "decl", ")", ",", "0", ",", "\"GCC does not currently support mixed size types \"", "\"for % functions\"", ")", ";", "else", "if", "(", "supported_simd_type", "(", "ret_type", ")", ")", "warning_at", "(", "DECL_SOURCE_LOCATION", "(", "node", "->", "decl", ")", ",", "0", ",", "\"GCC does not currently support return type %qT \"", "\"for % functions\"", ",", "ret_type", ")", ";", "else", "warning_at", "(", "DECL_SOURCE_LOCATION", "(", "node", "->", "decl", ")", ",", "0", ",", "\"unsupported return type %qT for % functions\"", ",", "ret_type", ")", ";", "return", "0", ";", "}", "int", "i", ";", "tree", "type_arg_types", "=", "TYPE_ARG_TYPES", "(", "TREE_TYPE", "(", "node", "->", "decl", ")", ")", ";", "bool", "decl_arg_p", "=", "(", "node", "->", "definition", "||", "type_arg_types", "==", "NULL_TREE", ")", ";", "for", "(", "t", "=", "(", "decl_arg_p", "?", "DECL_ARGUMENTS", "(", "node", "->", "decl", ")", ":", "type_arg_types", ")", ",", "i", "=", "0", ";", "t", "&&", "t", "!=", "void_list_node", ";", "t", "=", "TREE_CHAIN", "(", "t", ")", ",", "i", "++", ")", "{", "tree", "arg_type", "=", "decl_arg_p", "?", "TREE_TYPE", "(", "t", ")", ":", "TREE_VALUE", "(", "t", ")", ";", "if", "(", "clonei", "->", "args", "[", "i", "]", ".", "arg_type", "!=", "SIMD_CLONE_ARG_TYPE_UNIFORM", "&&", "!", "currently_supported_simd_type", "(", "arg_type", ",", "base_type", ")", ")", "{", "if", "(", "TYPE_SIZE", "(", "arg_type", ")", "!=", "TYPE_SIZE", "(", "base_type", ")", ")", "warning_at", "(", "DECL_SOURCE_LOCATION", "(", "node", "->", "decl", ")", ",", "0", ",", "\"GCC does not currently support mixed size types \"", "\"for % functions\"", ")", ";", "else", "warning_at", "(", "DECL_SOURCE_LOCATION", "(", "node", "->", "decl", ")", ",", "0", ",", "\"GCC does not currently support argument type %qT \"", "\"for % functions\"", ",", "arg_type", ")", ";", "return", "0", ";", "}", "}", "clonei", "->", "vecsize_mangle", "=", "'n'", ";", "clonei", "->", "mask_mode", "=", "VOIDmode", ";", "elt_bits", "=", "GET_MODE_BITSIZE", "(", "SCALAR_TYPE_MODE", "(", "base_type", ")", ")", ";", "if", "(", "known_eq", "(", "clonei", "->", "simdlen", ",", "0U", ")", ")", "{", "count", "=", "2", ";", "vec_bits", "=", "(", "num", "==", "0", "?", "64", ":", "128", ")", ";", "clonei", "->", "simdlen", "=", "exact_div", "(", "vec_bits", ",", "elt_bits", ")", ";", "}", "else", "{", "count", "=", "1", ";", "vec_bits", "=", "clonei", "->", "simdlen", "*", "elt_bits", ";", "if", "(", "clonei", "->", "simdlen", ".", "is_constant", "(", "&", "const_simdlen", ")", "&&", "maybe_ne", "(", "vec_bits", ",", "64U", ")", "&&", "maybe_ne", "(", "vec_bits", ",", "128U", ")", ")", "{", "warning_at", "(", "DECL_SOURCE_LOCATION", "(", "node", "->", "decl", ")", ",", "0", ",", "\"GCC does not currently support simdlen %wd for type %qT\"", ",", "const_simdlen", ",", "base_type", ")", ";", "return", "0", ";", "}", "}", "clonei", "->", "vecsize_int", "=", "vec_bits", ";", "clonei", "->", "vecsize_float", "=", "vec_bits", ";", "return", "count", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SIMD_CLONE_COMPUTE_VECSIZE_AND_SIMDLEN", "."], "TS_V_token": ["aarch64", "0", "0U", "2", "1024", "1", "0", "0", "\"unsupported simdlen %wd\"", "0", "0", "\"GCC does not currently support mixed size types \"", "\"for % functions\"", "0", "\"GCC does not currently support return type %qT \"", "\"for % functions\"", "0", "\"unsupported return type %qT for % functions\"", "0", "0", "0", "\"GCC does not currently support mixed size types \"", "\"for % functions\"", "0", "\"GCC does not currently support argument type %qT \"", "\"for % functions\"", "0", "0U", "2", "0", "64", "128", "1", "64U", "128U", "0", "\"GCC does not currently support simdlen %wd for type %qT\"", "0"], "File": "aarch641", "Func": "aarch64_simd_clone_compute_vecsize_and_simdlen", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4695, "Length": 510, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "findCommutedOpIndices", "(", "MachineInstr", "*", "MI", ",", "unsigned", "&", "SrcOpIdx1", ",", "unsigned", "&", "SrcOpIdx2", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "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::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": "X86InstrInfo125", "Func": "findCommutedOpIndices", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4696, "Length": 175, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "{", "return", "X86", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["X86", "X86::NumTargetFixupKinds"], "File": "X86AsmBackend20", "Func": "getNumFixupKinds", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4697, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "iq2000_debugger_offset", "(", "rtx", "addr", ",", "HOST_WIDE_INT", "offset", ")", "{", "rtx", "offset2", "=", "const0_rtx", ";", "rtx", "reg", "=", "eliminate_constant_term", "(", "addr", ",", "&", "offset2", ")", ";", "if", "(", "offset", "==", "0", ")", "offset", "=", "INTVAL", "(", "offset2", ")", ";", "if", "(", "reg", "==", "stack_pointer_rtx", "||", "reg", "==", "frame_pointer_rtx", "||", "reg", "==", "hard_frame_pointer_rtx", ")", "{", "HOST_WIDE_INT", "frame_size", "=", "(", "!", "cfun", "->", "machine", "->", "initialized", ")", "?", "compute_frame_size", "(", "get_frame_size", "(", ")", ")", ":", "cfun", "->", "machine", "->", "total_size", ";", "offset", "=", "offset", "-", "frame_size", ";", "}", "return", "offset", ";", "}", ""], "natrual_language": ["The", "arg", "pointer", "(", "which", "is", "eliminated", ")", "points", "to", "the", "virtual", "frame", "pointer", ",", "while", "the", "frame", "pointer", "(", "which", "may", "be", "eliminated", ")", "points", "to", "the", "stack", "pointer", "after", "the", "initial", "adjustments", "."], "TS_V_token": ["iq2000", "0"], "File": "iq2000", "Func": "iq2000_debugger_offset", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4698, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_expand_sse_fp_minmax", "(", "rtx", "dest", ",", "enum", "rtx_code", "code", ",", "rtx", "cmp_op0", ",", "rtx", "cmp_op1", ",", "rtx", "if_true", ",", "rtx", "if_false", ")", "{", "machine_mode", "mode", ";", "bool", "is_min", ";", "rtx", "tmp", ";", "if", "(", "code", "==", "LT", ")", ";", "else", "if", "(", "code", "==", "UNGE", ")", "std", "::", "swap", "(", "if_true", ",", "if_false", ")", ";", "else", "return", "false", ";", "if", "(", "rtx_equal_p", "(", "cmp_op0", ",", "if_true", ")", "&&", "rtx_equal_p", "(", "cmp_op1", ",", "if_false", ")", ")", "is_min", "=", "true", ";", "else", "if", "(", "rtx_equal_p", "(", "cmp_op1", ",", "if_true", ")", "&&", "rtx_equal_p", "(", "cmp_op0", ",", "if_false", ")", ")", "is_min", "=", "false", ";", "else", "return", "false", ";", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "if", "(", "!", "flag_finite_math_only", "||", "!", "flag_unsafe_math_optimizations", ")", "{", "int", "u", "=", "is_min", "?", "UNSPEC_IEEE_MIN", ":", "UNSPEC_IEEE_MAX", ";", "rtvec", "v", ";", "if_true", "=", "force_reg", "(", "mode", ",", "if_true", ")", ";", "v", "=", "gen_rtvec", "(", "2", ",", "if_true", ",", "if_false", ")", ";", "tmp", "=", "gen_rtx_UNSPEC", "(", "mode", ",", "v", ",", "u", ")", ";", "}", "else", "{", "code", "=", "is_min", "?", "SMIN", ":", "SMAX", ";", "tmp", "=", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "if_true", ",", "if_false", ")", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "tmp", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Detect", "conditional", "moves", "that", "exactly", "match", "min/max", "operational", "semantics", ".", "Note", "that", "this", "is", "IEEE", "safe", ",", "as", "long", "as", "we", "do", "n't", "interchange", "the", "operands", ".", "Returns", "FALSE", "if", "this", "conditional", "move", "does", "n't", "match", "a", "MIN/MAX", ",", "and", "TRUE", "if", "the", "operation", "is", "successful", "and", "instructions", "are", "emitted", "."], "TS_V_token": ["i386", "2"], "File": "i3865", "Func": "ix86_expand_sse_fp_minmax", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4699, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "AARCH64_COLLECT_LOH_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64"], "File": "AArch64CollectLOH", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4700, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineOperand", "&", "AArch64InstrInfo", "::", "getMemOpBaseRegImmOfsOffsetOperand", "(", "MachineInstr", "&", "LdSt", ")", "const", "{", "assert", "(", "LdSt", ".", "mayLoadOrStore", "(", ")", "&&", "\"Expected a memory operation.\"", ")", ";", "MachineOperand", "&", "OfsOp", "=", "LdSt", ".", "getOperand", "(", "LdSt", ".", "getNumExplicitOperands", "(", ")", "-", "1", ")", ";", "assert", "(", "OfsOp", ".", "isImm", "(", ")", "&&", "\"Offset operand wasn't immediate.\"", ")", ";", "return", "OfsOp", ";", "}", ""], "natrual_language": ["Return", "the", "immediate", "offset", "of", "the", "base", "register", "in", "a", "load/store", "LdSt", "."], "TS_V_token": ["AArch64", "AArch64", "\"Expected a memory operation.\"", "1", "\"Offset operand wasn't immediate.\""], "File": "AArch64InstrInfo109", "Func": "getMemOpBaseRegImmOfsOffsetOperand", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4701, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "machine_mode", "rs6000_secondary_memory_needed_mode", "(", "machine_mode", "mode", ")", "{", "if", "(", "lra_in_progress", "&&", "mode", "==", "SDmode", ")", "return", "DDmode", ";", "return", "mode", ";", "}", ""], "natrual_language": ["Return", "the", "mode", "to", "be", "used", "for", "memory", "when", "a", "secondary", "memory", "location", "is", "needed", ".", "For", "SDmode", "values", "we", "need", "to", "use", "DDmode", ",", "in", "all", "other", "cases", "we", "can", "use", "the", "same", "mode", "."], "TS_V_token": ["rs6000"], "File": "rs60004", "Func": "rs6000_secondary_memory_needed_mode", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4702, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ARM", "::", "STR", ":", "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", "::", "t2STRi12", ":", "case", "ARM", "::", "tSpill", ":", "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", "::", "VSTRD", ":", "case", "ARM", "::", "VSTRS", ":", "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", ";", "}", "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::STR", "ARM::t2STRs", "1", "2", "3", "2", "0", "3", "0", "1", "0", "ARM::t2STRi12", "ARM::tSpill", "1", "2", "2", "0", "1", "0", "ARM::VSTRD", "ARM::VSTRS", "1", "2", "2", "0", "1", "0", "0"], "File": "ARMBaseInstrInfo114", "Func": "isStoreToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4703, "Length": 286, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_process_components", "(", "sbitmap", "components", ",", "bool", "prologue_p", ")", "{", "rtx", "ptr_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "frame_pointer_needed", "?", "HARD_FRAME_POINTER_REGNUM", ":", "STACK_POINTER_REGNUM", ")", ";", "unsigned", "last_regno", "=", "SBITMAP_SIZE", "(", "components", ")", ";", "unsigned", "regno", "=", "aarch64_get_next_set_bit", "(", "components", ",", "R0_REGNUM", ")", ";", "rtx_insn", "*", "insn", "=", "NULL", ";", "while", "(", "regno", "!=", "last_regno", ")", "{", "machine_mode", "mode", "=", "GP_REGNUM_P", "(", "regno", ")", "?", "E_DImode", ":", "E_DFmode", ";", "rtx", "reg", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "poly_int64", "offset", "=", "cfun", "->", "machine", "->", "frame", ".", "reg_offset", "[", "regno", "]", ";", "if", "(", "!", "frame_pointer_needed", ")", "offset", "+=", "cfun", "->", "machine", "->", "frame", ".", "frame_size", "-", "cfun", "->", "machine", "->", "frame", ".", "hard_fp_offset", ";", "rtx", "addr", "=", "plus_constant", "(", "Pmode", ",", "ptr_reg", ",", "offset", ")", ";", "rtx", "mem", "=", "gen_frame_mem", "(", "mode", ",", "addr", ")", ";", "rtx", "set", "=", "prologue_p", "?", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ":", "gen_rtx_SET", "(", "reg", ",", "mem", ")", ";", "unsigned", "regno2", "=", "aarch64_get_next_set_bit", "(", "components", ",", "regno", "+", "1", ")", ";", "if", "(", "regno2", "==", "last_regno", ")", "{", "insn", "=", "emit_insn", "(", "set", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "if", "(", "prologue_p", ")", "add_reg_note", "(", "insn", ",", "REG_CFA_OFFSET", ",", "copy_rtx", "(", "set", ")", ")", ";", "else", "add_reg_note", "(", "insn", ",", "REG_CFA_RESTORE", ",", "reg", ")", ";", "break", ";", "}", "poly_int64", "offset2", "=", "cfun", "->", "machine", "->", "frame", ".", "reg_offset", "[", "regno2", "]", ";", "if", "(", "!", "satisfies_constraint_Ump", "(", "mem", ")", "||", "GP_REGNUM_P", "(", "regno", ")", "!=", "GP_REGNUM_P", "(", "regno2", ")", "||", "maybe_ne", "(", "(", "offset2", "-", "cfun", "->", "machine", "->", "frame", ".", "reg_offset", "[", "regno", "]", ")", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ")", "{", "insn", "=", "emit_insn", "(", "set", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "if", "(", "prologue_p", ")", "add_reg_note", "(", "insn", ",", "REG_CFA_OFFSET", ",", "copy_rtx", "(", "set", ")", ")", ";", "else", "add_reg_note", "(", "insn", ",", "REG_CFA_RESTORE", ",", "reg", ")", ";", "regno", "=", "regno2", ";", "continue", ";", "}", "rtx", "reg2", "=", "gen_rtx_REG", "(", "mode", ",", "regno2", ")", ";", "if", "(", "!", "frame_pointer_needed", ")", "offset2", "+=", "cfun", "->", "machine", "->", "frame", ".", "frame_size", "-", "cfun", "->", "machine", "->", "frame", ".", "hard_fp_offset", ";", "rtx", "addr2", "=", "plus_constant", "(", "Pmode", ",", "ptr_reg", ",", "offset2", ")", ";", "rtx", "mem2", "=", "gen_frame_mem", "(", "mode", ",", "addr2", ")", ";", "rtx", "set2", "=", "prologue_p", "?", "gen_rtx_SET", "(", "mem2", ",", "reg2", ")", ":", "gen_rtx_SET", "(", "reg2", ",", "mem2", ")", ";", "if", "(", "prologue_p", ")", "insn", "=", "emit_insn", "(", "aarch64_gen_store_pair", "(", "mode", ",", "mem", ",", "reg", ",", "mem2", ",", "reg2", ")", ")", ";", "else", "insn", "=", "emit_insn", "(", "aarch64_gen_load_pair", "(", "mode", ",", "reg", ",", "mem", ",", "reg2", ",", "mem2", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "if", "(", "prologue_p", ")", "{", "add_reg_note", "(", "insn", ",", "REG_CFA_OFFSET", ",", "set", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_OFFSET", ",", "set2", ")", ";", "}", "else", "{", "add_reg_note", "(", "insn", ",", "REG_CFA_RESTORE", ",", "reg", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_RESTORE", ",", "reg2", ")", ";", "}", "regno", "=", "aarch64_get_next_set_bit", "(", "components", ",", "regno2", "+", "1", ")", ";", "}", "}", ""], "natrual_language": ["Do", "the", "work", "for", "aarch64_emit_prologue_components", "and", "aarch64_emit_epilogue_components", ".", "COMPONENTS", "is", "the", "bitmap", "of", "registers", "to", "save/restore", ",", "PROLOGUE_P", "indicates", "whether", "to", "emit", "the", "prologue", "sequence", "for", "these", "components", "or", "the", "epilogue", "sequence", ".", "That", "is", ",", "it", "determines", "whether", "we", "should", "emit", "stores", "or", "loads", "and", "what", "kind", "of", "CFA", "notes", "to", "attach", "to", "the", "insns", ".", "Otherwise", "the", "logic", "for", "the", "two", "sequences", "is", "very", "similar", "."], "TS_V_token": ["aarch64", "1", "1", "1", "1", "1"], "File": "aarch645", "Func": "aarch64_process_components", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4704, "Length": 501, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "bool", "is64", "=", "getPointerSize", "(", ")", "==", "8", ";", "return", "createPPCELFObjectWriter", "(", "OS", ",", "is64", ",", "isLittleEndian", "(", ")", ",", "OSABI", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["PowerPC", "8", "PPC"], "File": "PPCAsmBackend", "Func": "createObjectWriter", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4705, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_process_load_label", "(", "rtx", "target", ")", "{", "rtx", "base", ",", "gp", ",", "intop", ";", "HOST_WIDE_INT", "offset", ";", "mips_multi_start", "(", ")", ";", "switch", "(", "mips_abi", ")", "{", "case", "ABI_N32", ":", "mips_multi_add_insn", "(", "\"lw\\t%@,%%got_page(%0)(%+)\"", ",", "target", ",", "0", ")", ";", "mips_multi_add_insn", "(", "\"addiu\\t%@,%@,%%got_ofst(%0)\"", ",", "target", ",", "0", ")", ";", "break", ";", "case", "ABI_64", ":", "mips_multi_add_insn", "(", "\"ld\\t%@,%%got_page(%0)(%+)\"", ",", "target", ",", "0", ")", ";", "mips_multi_add_insn", "(", "\"daddiu\\t%@,%@,%%got_ofst(%0)\"", ",", "target", ",", "0", ")", ";", "break", ";", "default", ":", "gp", "=", "pic_offset_table_rtx", ";", "if", "(", "mips_cfun_has_cprestore_slot_p", "(", ")", ")", "{", "gp", "=", "gen_rtx_REG", "(", "Pmode", ",", "AT_REGNUM", ")", ";", "mips_get_cprestore_base_and_offset", "(", "&", "base", ",", "&", "offset", ",", "true", ")", ";", "if", "(", "!", "SMALL_OPERAND", "(", "offset", ")", ")", "{", "intop", "=", "GEN_INT", "(", "CONST_HIGH_PART", "(", "offset", ")", ")", ";", "mips_multi_add_insn", "(", "\"lui\\t%0,%1\"", ",", "gp", ",", "intop", ",", "0", ")", ";", "mips_multi_add_insn", "(", "\"addu\\t%0,%0,%1\"", ",", "gp", ",", "base", ",", "0", ")", ";", "base", "=", "gp", ";", "offset", "=", "CONST_LOW_PART", "(", "offset", ")", ";", "}", "intop", "=", "GEN_INT", "(", "offset", ")", ";", "if", "(", "ISA_HAS_LOAD_DELAY", ")", "mips_multi_add_insn", "(", "\"lw\\t%0,%1(%2)%#\"", ",", "gp", ",", "intop", ",", "base", ",", "0", ")", ";", "else", "mips_multi_add_insn", "(", "\"lw\\t%0,%1(%2)\"", ",", "gp", ",", "intop", ",", "base", ",", "0", ")", ";", "}", "if", "(", "ISA_HAS_LOAD_DELAY", ")", "mips_multi_add_insn", "(", "\"lw\\t%@,%%got(%0)(%1)%#\"", ",", "target", ",", "gp", ",", "0", ")", ";", "else", "mips_multi_add_insn", "(", "\"lw\\t%@,%%got(%0)(%1)\"", ",", "target", ",", "gp", ",", "0", ")", ";", "mips_multi_add_insn", "(", "\"addiu\\t%@,%@,%%lo(%0)\"", ",", "target", ",", "0", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Build", "up", "a", "multi-insn", "sequence", "that", "loads", "label", "TARGET", "into", "$", "AT", "."], "TS_V_token": ["mips", "\"lw\\t%@,%%got_page(%0)(%+)\"", "0", "\"addiu\\t%@,%@,%%got_ofst(%0)\"", "0", "\"ld\\t%@,%%got_page(%0)(%+)\"", "0", "\"daddiu\\t%@,%@,%%got_ofst(%0)\"", "0", "\"lui\\t%0,%1\"", "0", "\"addu\\t%0,%0,%1\"", "0", "\"lw\\t%0,%1(%2)%#\"", "0", "\"lw\\t%0,%1(%2)\"", "0", "\"lw\\t%@,%%got(%0)(%1)%#\"", "0", "\"lw\\t%@,%%got(%0)(%1)\"", "0", "\"addiu\\t%@,%@,%%lo(%0)\"", "0"], "File": "mips", "Func": "mips_process_load_label", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4706, "Length": 238, "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", ")", "{", "StackMapOpers", "Opers", "(", "&", "MI", ")", ";", "return", "Opers", ".", "getNumPatchBytes", "(", ")", ";", "}", "else", "if", "(", "Opcode", "==", "TargetOpcode", "::", "PATCHPOINT", ")", "{", "PatchPointOpers", "Opers", "(", "&", "MI", ")", ";", "return", "Opers", ".", "getNumPatchBytes", "(", ")", ";", "}", "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"], "File": "PPCInstrInfo133", "Func": "getInstSizeInBytes", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4707, "Length": 150, "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": 4708, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0PassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createCpu0ISelDag", "(", "getCpu0TargetMachine", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0", "Cpu0"], "File": "Cpu0TargetMachine1", "Func": "addInstSelector", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4709, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86TargetLowering", "::", "insertCopiesSplitCSR", "(", "MachineBasicBlock", "*", "Entry", ",", "const", "SmallVectorImpl", "<", "MachineBasicBlock", "*", ">", "&", "Exits", ")", "const", "{", "const", "X86RegisterInfo", "*", "TRI", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "const", "MCPhysReg", "*", "IStart", "=", "TRI", "->", "getCalleeSavedRegsViaCopy", "(", "Entry", "->", "getParent", "(", ")", ")", ";", "if", "(", "!", "IStart", ")", "return", ";", "const", "TargetInstrInfo", "*", "TII", "=", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "MachineRegisterInfo", "*", "MRI", "=", "&", "Entry", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "Entry", "->", "begin", "(", ")", ";", "for", "(", "const", "MCPhysReg", "*", "I", "=", "IStart", ";", "*", "I", ";", "++", "I", ")", "{", "const", "TargetRegisterClass", "*", "RC", "=", "nullptr", ";", "if", "(", "X86", "::", "GR64RegClass", ".", "contains", "(", "*", "I", ")", ")", "RC", "=", "&", "X86", "::", "GR64RegClass", ";", "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", ",", "MBBI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "NewVR", ")", ".", "addReg", "(", "*", "I", ")", ";", "for", "(", "auto", "*", "Exit", ":", "Exits", ")", "BuildMI", "(", "*", "Exit", ",", "Exit", "->", "getFirstTerminator", "(", ")", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "*", "I", ")", ".", "addReg", "(", "NewVR", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "explicit", "copies", "in", "entry", "and", "exit", "blocks", "."], "TS_V_token": ["X86", "X86", "X86", "X86::GR64RegClass", "X86::GR64RegClass", "\"Unexpected register class in CSRsViaCopy!\"", "\"Function should be nounwind in insertCopiesSplitCSR!\""], "File": "X86ISelLowering (2)8", "Func": "insertCopiesSplitCSR", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4710, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ",", "bool", "ForCodeSize", ")", "const", "{", "if", "(", "!", "VT", ".", "isSimple", "(", ")", "||", "!", "Subtarget", ".", "hasVSX", "(", ")", ")", "return", "false", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "return", "false", ";", "case", "MVT", "::", "f32", ":", "case", "MVT", "::", "f64", ":", "if", "(", "Subtarget", ".", "hasPrefixInstrs", "(", ")", ")", "{", "APFloat", "APFloatOfImm", "=", "Imm", ";", "return", "convertToNonDenormSingle", "(", "APFloatOfImm", ")", ";", "}", "LLVM_FALLTHROUGH", ";", "case", "MVT", "::", "ppcf128", ":", "return", "Imm", ".", "isPosZero", "(", ")", ";", "}", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "can", "instruction", "select", "the", "specified", "FP", "immediate", "natively", "."], "TS_V_token": ["PowerPC", "PPC", "MVT::f32", "MVT::f64", "MVT::ppcf128"], "File": "PPCISelLowering100", "Func": "isFPImmLegal", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4711, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isProfitableToDupForIfCvt", "(", "MachineBasicBlock", "&", "MBB", ",", "unsigned", "NumCycles", ",", "const", "BranchProbability", "&", "Probability", ")", "const", "override", "{", "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": ["PowerPC"], "File": "PPCInstrInfo", "Func": "isProfitableToDupForIfCvt", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4712, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "convertSelectOfConstantsToMath", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "select", "of", "constants", "(", "select", "Cond", ",", "C1", ",", "C2", ")", "should", "be", "transformed", "into", "simple", "math", "ops", "with", "the", "condition", "value", "."], "TS_V_token": ["PowerPC"], "File": "PPCISelLowering108", "Func": "convertSelectOfConstantsToMath", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4713, "Length": 11, "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": 4714, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MVEGatherScatterLowering", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "!", "EnableMaskedGatherScatters", ")", "return", "false", ";", "auto", "&", "TPC", "=", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ";", "auto", "&", "TM", "=", "TPC", ".", "getTM", "<", "TargetMachine", ">", "(", ")", ";", "auto", "*", "ST", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", "F", ")", ";", "if", "(", "!", "ST", "->", "hasMVEIntegerOps", "(", ")", ")", "return", "false", ";", "LI", "=", "&", "getAnalysis", "<", "LoopInfoWrapperPass", ">", "(", ")", ".", "getLoopInfo", "(", ")", ";", "SmallVector", "<", "IntrinsicInst", "*", ",", "4", ">", "Gathers", ";", "SmallVector", "<", "IntrinsicInst", "*", ",", "4", ">", "Scatters", ";", "for", "(", "BasicBlock", "&", "BB", ":", "F", ")", "{", "for", "(", "Instruction", "&", "I", ":", "BB", ")", "{", "IntrinsicInst", "*", "II", "=", "dyn_cast", "<", "IntrinsicInst", ">", "(", "&", "I", ")", ";", "if", "(", "II", "&&", "II", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "masked_gather", ")", "{", "Gathers", ".", "push_back", "(", "II", ")", ";", "if", "(", "isa", "<", "GetElementPtrInst", ">", "(", "II", "->", "getArgOperand", "(", "0", ")", ")", ")", "optimiseOffsets", "(", "cast", "<", "Instruction", ">", "(", "II", "->", "getArgOperand", "(", "0", ")", ")", "->", "getOperand", "(", "1", ")", ",", "II", "->", "getParent", "(", ")", ",", "LI", ")", ";", "}", "else", "if", "(", "II", "&&", "II", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "masked_scatter", ")", "{", "Scatters", ".", "push_back", "(", "II", ")", ";", "if", "(", "isa", "<", "GetElementPtrInst", ">", "(", "II", "->", "getArgOperand", "(", "1", ")", ")", ")", "optimiseOffsets", "(", "cast", "<", "Instruction", ">", "(", "II", "->", "getArgOperand", "(", "1", ")", ")", "->", "getOperand", "(", "1", ")", ",", "II", "->", "getParent", "(", ")", ",", "LI", ")", ";", "}", "}", "}", "bool", "Changed", "=", "false", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Gathers", ".", "size", "(", ")", ";", "i", "++", ")", "{", "IntrinsicInst", "*", "I", "=", "Gathers", "[", "i", "]", ";", "Value", "*", "L", "=", "lowerGather", "(", "I", ")", ";", "if", "(", "L", "==", "nullptr", ")", "continue", ";", "SimplifyInstructionsInBlock", "(", "cast", "<", "Instruction", ">", "(", "L", ")", "->", "getParent", "(", ")", ")", ";", "Changed", "=", "true", ";", "}", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Scatters", ".", "size", "(", ")", ";", "i", "++", ")", "{", "IntrinsicInst", "*", "I", "=", "Scatters", "[", "i", "]", ";", "Value", "*", "S", "=", "lowerScatter", "(", "I", ")", ";", "if", "(", "S", "==", "nullptr", ")", "continue", ";", "SimplifyInstructionsInBlock", "(", "cast", "<", "Instruction", ">", "(", "S", ")", "->", "getParent", "(", ")", ")", ";", "Changed", "=", "true", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["ARM", "ARM", "4", "4", "Intrinsic::masked_gather", "0", "0", "1", "Intrinsic::masked_scatter", "1", "1", "1", "0", "0"], "File": "MVEGatherScatterLowering5", "Func": "runOnFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4715, "Length": 408, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZPassConfig", "::", "addPreSched2", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "getSystemZTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "hasLoadStoreOnCond", "(", ")", ")", "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": ["SystemZ", "SystemZ", "SystemZ"], "File": "SystemZTargetMachine12", "Func": "addPreSched2", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4716, "Length": 36, "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", ";", "Bundles", "=", "&", "getAnalysis", "<", "EdgeBundles", ">", "(", ")", ";", "TII", "=", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "bundleCFG", "(", "MF", ")", ";", "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", "(", ")", ")", "for", "(", "MachineFunction", "::", "iterator", "BB", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "BB", "!=", "E", ";", "++", "BB", ")", "if", "(", "Processed", ".", "insert", "(", "BB", ")", ")", "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", "8", "8"], "File": "X86FloatingPoint1", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4717, "Length": 254, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb2SizeReduce", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "PredicateFtor", "&&", "!", "PredicateFtor", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "STI", "=", "&", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "if", "(", "STI", "->", "isThumb1Only", "(", ")", "||", "STI", "->", "prefers32BitThumb", "(", ")", ")", "return", "false", ";", "TII", "=", "static_cast", "<", "const", "Thumb2InstrInfo", "*", ">", "(", "STI", "->", "getInstrInfo", "(", ")", ")", ";", "OptimizeSize", "=", "MF", ".", "getFunction", "(", ")", ".", "hasOptSize", "(", ")", ";", "MinimizeSize", "=", "STI", "->", "hasMinSize", "(", ")", ";", "BlockInfo", ".", "clear", "(", ")", ";", "BlockInfo", ".", "resize", "(", "MF", ".", "getNumBlockIDs", "(", ")", ")", ";", "ReversePostOrderTraversal", "<", "MachineFunction", "*", ">", "RPOT", "(", "&", "MF", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineBasicBlock", "*", "MBB", ":", "RPOT", ")", "Modified", "|=", "ReduceMBB", "(", "*", "MBB", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM"], "File": "Thumb2SizeReduction30", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4718, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_can_change_mode_class", "(", "machine_mode", "from", ",", "machine_mode", "to", ",", "reg_class_t", "rclass", ")", "{", "unsigned", "from_size", "=", "GET_MODE_SIZE", "(", "from", ")", ";", "unsigned", "to_size", "=", "GET_MODE_SIZE", "(", "to", ")", ";", "if", "(", "from_size", "!=", "to_size", ")", "{", "enum", "reg_class", "xclass", "=", "(", "TARGET_VSX", ")", "?", "VSX_REGS", ":", "FLOAT_REGS", ";", "if", "(", "reg_classes_intersect_p", "(", "xclass", ",", "rclass", ")", ")", "{", "unsigned", "to_nregs", "=", "hard_regno_nregs", "(", "FIRST_FPR_REGNO", ",", "to", ")", ";", "unsigned", "from_nregs", "=", "hard_regno_nregs", "(", "FIRST_FPR_REGNO", ",", "from", ")", ";", "bool", "to_float128_vector_p", "=", "FLOAT128_VECTOR_P", "(", "to", ")", ";", "bool", "from_float128_vector_p", "=", "FLOAT128_VECTOR_P", "(", "from", ")", ";", "if", "(", "to_float128_vector_p", "&&", "from_float128_vector_p", ")", "return", "true", ";", "else", "if", "(", "to_float128_vector_p", "||", "from_float128_vector_p", ")", "return", "false", ";", "if", "(", "!", "BYTES_BIG_ENDIAN", "&&", "(", "to", "==", "TDmode", "||", "from", "==", "TDmode", ")", ")", "return", "false", ";", "if", "(", "from_size", "<", "8", "||", "to_size", "<", "8", ")", "return", "false", ";", "if", "(", "from_size", "==", "8", "&&", "(", "8", "*", "to_nregs", ")", "!=", "to_size", ")", "return", "false", ";", "if", "(", "to_size", "==", "8", "&&", "(", "8", "*", "from_nregs", ")", "!=", "from_size", ")", "return", "false", ";", "return", "true", ";", "}", "else", "return", "true", ";", "}", "if", "(", "TARGET_VSX", "&&", "VSX_REG_CLASS_P", "(", "rclass", ")", ")", "{", "unsigned", "num_regs", "=", "(", "from_size", "+", "15", ")", "/", "16", ";", "if", "(", "hard_regno_nregs", "(", "FIRST_FPR_REGNO", ",", "to", ")", ">", "num_regs", "||", "hard_regno_nregs", "(", "FIRST_FPR_REGNO", ",", "from", ")", ">", "num_regs", ")", "return", "false", ";", "return", "(", "from_size", "==", "8", "||", "from_size", "==", "16", ")", ";", "}", "if", "(", "TARGET_ALTIVEC", "&&", "rclass", "==", "ALTIVEC_REGS", "&&", "(", "ALTIVEC_VECTOR_MODE", "(", "from", ")", "+", "ALTIVEC_VECTOR_MODE", "(", "to", ")", ")", "==", "1", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CAN_CHANGE_MODE_CLASS", "."], "TS_V_token": ["rs6000", "8", "8", "8", "8", "8", "8", "15", "16", "8", "16", "1"], "File": "rs60007", "Func": "rs6000_can_change_mode_class", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4719, "Length": 273, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "aarch64_general_builtin_rsqrt", "(", "unsigned", "int", "fn", ")", "{", "if", "(", "fn", "==", "AARCH64_SIMD_BUILTIN_UNOP_sqrtv2df", ")", "return", "aarch64_builtin_decls", "[", "AARCH64_BUILTIN_RSQRT_V2DF", "]", ";", "if", "(", "fn", "==", "AARCH64_SIMD_BUILTIN_UNOP_sqrtv2sf", ")", "return", "aarch64_builtin_decls", "[", "AARCH64_BUILTIN_RSQRT_V2SF", "]", ";", "if", "(", "fn", "==", "AARCH64_SIMD_BUILTIN_UNOP_sqrtv4sf", ")", "return", "aarch64_builtin_decls", "[", "AARCH64_BUILTIN_RSQRT_V4SF", "]", ";", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Return", "builtin", "for", "reciprocal", "square", "root", "."], "TS_V_token": ["aarch64"], "File": "aarch64-builtins", "Func": "aarch64_general_builtin_rsqrt", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4720, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "iq2000_can_use_return_insn", "(", "void", ")", "{", "if", "(", "!", "reload_completed", ")", "return", "0", ";", "if", "(", "df_regs_ever_live_p", "(", "31", ")", "||", "profile_flag", ")", "return", "0", ";", "if", "(", "cfun", "->", "machine", "->", "initialized", ")", "return", "cfun", "->", "machine", "->", "total_size", "==", "0", ";", "return", "compute_frame_size", "(", "get_frame_size", "(", ")", ")", "==", "0", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "this", "function", "is", "known", "to", "have", "a", "null", "epilogue", ".", "This", "allows", "the", "optimizer", "to", "omit", "jumps", "to", "jumps", "if", "no", "stack", "was", "created", "."], "TS_V_token": ["iq2000", "0", "31", "0", "0", "0"], "File": "iq2000", "Func": "iq2000_can_use_return_insn", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4721, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64PassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createARM64BranchRelaxation", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableCollectLOH", "&&", "TM", "->", "getSubtarget", "<", "ARM64Subtarget", ">", "(", ")", ".", "isTargetMachO", "(", ")", ")", "addPass", "(", "createARM64CollectLOHPass", "(", ")", ")", ";", "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": ["ARM64", "ARM64", "ARM64", "ARM64", "ARM64"], "File": "ARM64TargetMachine", "Func": "addPreEmitPass", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4722, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "lowerOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCOperand", "&", "MCOp", ")", "const", "{", "return", "LowerMMIXMachineOperandToMCOperand", "(", "MO", ",", "MCOp", ",", "*", "this", ")", ";", "}", ""], "natrual_language": ["Wrapper", "for", "MCInstLowering.lowerOperand", "(", ")", "for", "the", "tblgen'erated", "pseudo", "lowering", "."], "TS_V_token": ["MMIX", "MMIX"], "File": "MMIXAsmPrinter", "Func": "lowerOperand", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4723, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "mode_suffix_index", "function_resolver", "::", "resolve_adr_address", "(", "unsigned", "int", "argno", ")", "{", "vector_type_index", "base_type", "=", "infer_vector_base_type", "(", "argno", ")", ";", "if", "(", "base_type", "==", "NUM_VECTOR_TYPES", ")", "return", "MODE_none", ";", "vector_type_index", "displacement_type", "=", "infer_vector_displacement_type", "(", "argno", "+", "1", ")", ";", "if", "(", "displacement_type", "==", "NUM_VECTOR_TYPES", ")", "return", "MODE_none", ";", "mode_suffix_index", "mode", "=", "find_mode_suffix", "(", "base_type", ",", "displacement_type", ",", "displacement_units", "(", ")", ")", ";", "if", "(", "mode", "==", "MODE_none", ")", "{", "if", "(", "mode_suffix_id", "==", "MODE_offset", ")", "error_at", "(", "location", ",", "\"cannot combine a base of type %qT with\"", "\" an offset of type %qT\"", ",", "get_argument_type", "(", "argno", ")", ",", "get_argument_type", "(", "argno", "+", "1", ")", ")", ";", "else", "error_at", "(", "location", ",", "\"cannot combine a base of type %qT with\"", "\" an index of type %qT\"", ",", "get_argument_type", "(", "argno", ")", ",", "get_argument_type", "(", "argno", "+", "1", ")", ")", ";", "}", "return", "mode", ";", "}", ""], "natrual_language": ["Require", "arguments", "ARGNO", "and", "ARGNO", "+", "1", "to", "form", "an", "ADR-style", "address", ",", "i.e", ".", "one", "with", "a", "vector", "of", "base", "addresses", "and", "a", "vector", "of", "displacements", ".", "The", "overloaded", "function", "'s", "mode", "suffix", "determines", "the", "units", "of", "the", "displacement", "(", "bytes", "for", "``", "_offset", "''", ",", "elements", "for", "``", "_index", "''", ")", ".", "Return", "the", "associated", "mode", "suffix", "on", "success", ",", "otherwise", "report", "an", "error", "and", "return", "MODE_none", "."], "TS_V_token": ["aarch64", "1", "\"cannot combine a base of type %qT with\"", "\" an offset of type %qT\"", "1", "\"cannot combine a base of type %qT with\"", "\" an index of type %qT\"", "1"], "File": "aarch64-sve-builtins", "Func": "resolve_adr_address", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4724, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "ix86_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", ")", ")", ";", "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", ")", "{", "if", "(", "is_function_default_version", "(", "default_version_info", "->", "this_node", "->", "decl", ")", ")", "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", ";", "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", ")", ";", "TREE_NOTHROW", "(", "dispatch_decl", ")", "=", "TREE_NOTHROW", "(", "fn", ")", ";", "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 % 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": ["i386", "1", "1", "\"multiversioning needs % which is not supported \"", "\"on this target\""], "File": "i386-features1", "Func": "ix86_get_function_versions_dispatcher", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4725, "Length": 364, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMConstantPoolMBB", "::", "print", "(", "raw_ostream", "&", "O", ")", "const", "{", "O", "<<", "printMBBReference", "(", "*", "MBB", ")", ";", "ARMConstantPoolValue", "::", "print", "(", "O", ")", ";", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMConstantPoolValue1", "Func": "print", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4726, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_gw_mm_to_ex_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "rtx", "def_reg", ";", "switch", "(", "get_attr_type", "(", "producer", ")", ")", "{", "case", "TYPE_LOAD", ":", "case", "TYPE_MUL", ":", "case", "TYPE_MAC", ":", "case", "TYPE_DALU64", ":", "case", "TYPE_DMUL", ":", "case", "TYPE_DMAC", ":", "case", "TYPE_DALUROUND", ":", "case", "TYPE_DBPICK", ":", "case", "TYPE_DWEXT", ":", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "break", ";", "case", "TYPE_DIV", ":", "if", "(", "divmod_p", "(", "producer", ")", ")", "{", "rtx", "def_reg1", "=", "SET_DEST", "(", "parallel_element", "(", "producer", ",", "0", ")", ")", ";", "rtx", "def_reg2", "=", "SET_DEST", "(", "parallel_element", "(", "producer", ",", "1", ")", ")", ";", "return", "(", "gw_consumed_by_ex_dep_p", "(", "consumer", ",", "def_reg1", ")", "||", "gw_consumed_by_ex_dep_p", "(", "consumer", ",", "def_reg2", ")", ")", ";", "}", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "gw_consumed_by_ex_dep_p", "(", "consumer", ",", "def_reg", ")", ";", "}", ""], "natrual_language": ["Check", "dependencies", "from", "MM", "to", "EX", "."], "TS_V_token": ["nds32", "0", "1"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_gw_mm_to_ex_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4727, "Length": 145, "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": ["ARM"], "File": "ARMAsmParser (2)1", "Func": "isImm", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4728, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_adjust_atomic_subword", "(", "rtx", "orig_mem", ",", "rtx", "*", "pshift", ",", "rtx", "*", "pmask", ")", "{", "rtx", "addr", ",", "align", ",", "shift", ",", "mask", ",", "mem", ";", "HOST_WIDE_INT", "shift_mask", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "orig_mem", ")", ";", "shift_mask", "=", "(", "mode", "==", "QImode", "?", "0x18", ":", "0x10", ")", ";", "addr", "=", "XEXP", "(", "orig_mem", ",", "0", ")", ";", "addr", "=", "force_reg", "(", "GET_MODE", "(", "addr", ")", ",", "addr", ")", ";", "align", "=", "expand_simple_binop", "(", "Pmode", ",", "AND", ",", "addr", ",", "GEN_INT", "(", "-", "4", ")", ",", "NULL_RTX", ",", "1", ",", "OPTAB_LIB_WIDEN", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "SImode", ",", "align", ")", ";", "MEM_VOLATILE_P", "(", "mem", ")", "=", "MEM_VOLATILE_P", "(", "orig_mem", ")", ";", "if", "(", "MEM_ALIAS_SET", "(", "orig_mem", ")", "==", "ALIAS_SET_MEMORY_BARRIER", ")", "set_mem_alias_set", "(", "mem", ",", "ALIAS_SET_MEMORY_BARRIER", ")", ";", "shift", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "addr", "=", "gen_lowpart", "(", "SImode", ",", "addr", ")", ";", "rtx", "tmp", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_ashlsi3", "(", "tmp", ",", "addr", ",", "GEN_INT", "(", "3", ")", ")", ")", ";", "emit_insn", "(", "gen_andsi3", "(", "shift", ",", "tmp", ",", "GEN_INT", "(", "shift_mask", ")", ")", ")", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "shift", "=", "expand_simple_binop", "(", "SImode", ",", "XOR", ",", "shift", ",", "GEN_INT", "(", "shift_mask", ")", ",", "shift", ",", "1", ",", "OPTAB_LIB_WIDEN", ")", ";", "*", "pshift", "=", "shift", ";", "mask", "=", "expand_simple_binop", "(", "SImode", ",", "ASHIFT", ",", "GEN_INT", "(", "GET_MODE_MASK", "(", "mode", ")", ")", ",", "shift", ",", "NULL_RTX", ",", "1", ",", "OPTAB_LIB_WIDEN", ")", ";", "*", "pmask", "=", "mask", ";", "return", "mem", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "the", "various", "atomic", "expanders", ".", "For", "sub-word", "operations", ",", "we", "must", "adjust", "things", "to", "operate", "on", "SImode", ".", "Given", "the", "original", "MEM", ",", "return", "a", "new", "aligned", "memory", ".", "Also", "build", "and", "return", "the", "quantities", "by", "which", "to", "shift", "and", "mask", "."], "TS_V_token": ["powerpcspe", "0x18", "0x10", "0", "4", "1", "3", "1", "1"], "File": "powerpcspe", "Func": "rs6000_adjust_atomic_subword", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4729, "Length": 248, "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": ["AArch64"], "File": "AArch64InstrInfo101", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4730, "Length": 33, "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", "::", "BITCAST", ":", "Res", "=", "ExpandBITCAST", "(", "N", ",", "DAG", ")", ";", "break", ";", "case", "ISD", "::", "SRL", ":", "case", "ISD", "::", "SRA", ":", "Res", "=", "Expand64BitShift", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "break", ";", "case", "ISD", "::", "READCYCLECOUNTER", ":", "ReplaceREADCYCLECOUNTER", "(", "N", ",", "Results", ",", "DAG", ",", "Subtarget", ")", ";", "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::BITCAST", "ISD::SRL", "ISD::SRA", "ISD::READCYCLECOUNTER"], "File": "ARMISelLowering (2)", "Func": "ReplaceNodeResults", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4731, "Length": 115, "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": ["rs6000", "0", "50"], "File": "rs60007", "Func": "rs6000_add_stmt_cost", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4732, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "csky_num_arg_regs", "(", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "is_stdarg", ")", "{", "int", "size", ";", "if", "(", "type", "&&", "mode", "==", "BLKmode", ")", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "else", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "TARGET_HARD_FLOAT_ABI", "&&", "!", "is_stdarg", ")", "{", "if", "(", "CSKY_VREG_MODE_P", "(", "mode", ")", "&&", "!", "TARGET_SINGLE_FPU", ")", "return", "(", "(", "CSKY_NUM_WORDS", "(", "size", ")", "+", "1", ")", "/", "2", ")", ";", "}", "return", "CSKY_NUM_WORDS", "(", "size", ")", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "registers", "(", "words", ")", "needed", "to", "pass", "an", "argument", "of", "MODE", "and", "TYPE", "."], "TS_V_token": ["csky", "1", "2"], "File": "csky", "Func": "csky_num_arg_regs", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4733, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86RetpolineThunks", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "getPassName", "(", ")", "<<", "'\\n'", ")", ";", "TM", "=", "&", "MF", ".", "getTarget", "(", ")", ";", ";", "STI", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "Is64Bit", "=", "TM", "->", "getTargetTriple", "(", ")", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ";", "MMI", "=", "&", "getAnalysis", "<", "MachineModuleInfo", ">", "(", ")", ";", "Module", "&", "M", "=", "const_cast", "<", "Module", "&", ">", "(", "*", "MMI", "->", "getModule", "(", ")", ")", ";", "if", "(", "!", "MF", ".", "getName", "(", ")", ".", "startswith", "(", "ThunkNamePrefix", ")", ")", "{", "if", "(", "InsertedThunks", ")", "return", "false", ";", "if", "(", "!", "STI", "->", "useRetpoline", "(", ")", "||", "STI", "->", "useRetpolineExternalThunk", "(", ")", ")", "return", "false", ";", "if", "(", "Is64Bit", ")", "createThunkFunction", "(", "M", ",", "R11ThunkName", ")", ";", "else", "for", "(", "StringRef", "Name", ":", "{", "EAXThunkName", ",", "ECXThunkName", ",", "EDXThunkName", ",", "EDIThunkName", "}", ")", "createThunkFunction", "(", "M", ",", "Name", ")", ";", "InsertedThunks", "=", "true", ";", "return", "true", ";", "}", "if", "(", "Is64Bit", ")", "{", "assert", "(", "MF", ".", "getName", "(", ")", "==", "\"__llvm_retpoline_r11\"", "&&", "\"Should only have an r11 thunk on 64-bit targets\"", ")", ";", "populateThunk", "(", "MF", ",", "X86", "::", "R11", ")", ";", "}", "else", "{", "if", "(", "MF", ".", "getName", "(", ")", "==", "EAXThunkName", ")", "populateThunk", "(", "MF", ",", "X86", "::", "EAX", ")", ";", "else", "if", "(", "MF", ".", "getName", "(", ")", "==", "ECXThunkName", ")", "populateThunk", "(", "MF", ",", "X86", "::", "ECX", ")", ";", "else", "if", "(", "MF", ".", "getName", "(", ")", "==", "EDXThunkName", ")", "populateThunk", "(", "MF", ",", "X86", "::", "EDX", ")", ";", "else", "if", "(", "MF", ".", "getName", "(", ")", "==", "EDIThunkName", ")", "populateThunk", "(", "MF", ",", "X86", "::", "EDI", ")", ";", "else", "llvm_unreachable", "(", "\"Invalid thunk name on x86-32!\"", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "\"__llvm_retpoline_r11\"", "\"Should only have an r11 thunk on 64-bit targets\"", "X86::R11", "X86::EAX", "X86::ECX", "X86::EDX", "X86::EDI", "\"Invalid thunk name on x86-32!\""], "File": "X86RetpolineThunks7", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4734, "Length": 299, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_sim_issue_insn", "(", "struct", "mips_sim", "*", "state", ",", "rtx", "insn", ")", "{", "state_transition", "(", "state", "->", "dfa_state", ",", "insn", ")", ";", "state", "->", "insns_left", "--", ";", "mips_sim_insn", "=", "insn", ";", "note_stores", "(", "PATTERN", "(", "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"], "File": "mips3", "Func": "mips_sim_issue_insn", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4735, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aapcs_layout_arg", "(", "CUMULATIVE_ARGS", "*", "pcum", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "int", "nregs", ",", "nregs2", ";", "int", "ncrn", ";", "if", "(", "pcum", "->", "aapcs_arg_processed", ")", "return", ";", "pcum", "->", "aapcs_arg_processed", "=", "true", ";", "if", "(", "!", "named", ")", "return", ";", "if", "(", "pcum", "->", "pcs_variant", "!=", "ARM_PCS_AAPCS", ")", "{", "int", "slot", "=", "aapcs_select_call_coproc", "(", "pcum", ",", "mode", ",", "type", ")", ";", "pcum", "->", "aapcs_cprc_slot", "=", "slot", ";", "if", "(", "slot", ">=", "0", ")", "{", "if", "(", "!", "pcum", "->", "aapcs_cprc_failed", "[", "slot", "]", ")", "{", "if", "(", "aapcs_cp_arg_layout", "[", "slot", "]", ".", "allocate", "(", "pcum", ",", "mode", ",", "type", ")", ")", "return", ";", "pcum", "->", "aapcs_cprc_failed", "[", "slot", "]", "=", "true", ";", "pcum", "->", "can_split", "=", "false", ";", "}", "gcc_assert", "(", "pcum", "->", "can_split", "==", "false", ")", ";", "return", ";", "}", "}", "ncrn", "=", "pcum", "->", "aapcs_ncrn", ";", "if", "(", "ncrn", "&", "1", ")", "{", "int", "res", "=", "arm_needs_doubleword_align", "(", "mode", ",", "type", ")", ";", "if", "(", "res", "<", "0", "&&", "warn_psabi", "&&", "currently_expanding_gimple_stmt", ")", "inform", "(", "input_location", ",", "\"parameter passing for argument of type \"", "\"%qT changed in GCC 7.1\"", ",", "type", ")", ";", "else", "if", "(", "res", ">", "0", ")", "ncrn", "++", ";", "}", "nregs", "=", "ARM_NUM_REGS2", "(", "mode", ",", "type", ")", ";", "gcc_assert", "(", "nregs", ">=", "0", ")", ";", "nregs2", "=", "nregs", "?", "nregs", ":", "1", ";", "if", "(", "ncrn", "+", "nregs2", "<=", "NUM_ARG_REGS", ")", "{", "pcum", "->", "aapcs_reg", "=", "gen_rtx_REG", "(", "mode", ",", "ncrn", ")", ";", "pcum", "->", "aapcs_next_ncrn", "=", "ncrn", "+", "nregs", ";", "return", ";", "}", "if", "(", "ncrn", "<", "NUM_ARG_REGS", "&&", "pcum", "->", "can_split", ")", "{", "pcum", "->", "aapcs_reg", "=", "gen_rtx_REG", "(", "mode", ",", "ncrn", ")", ";", "pcum", "->", "aapcs_next_ncrn", "=", "NUM_ARG_REGS", ";", "pcum", "->", "aapcs_partial", "=", "(", "NUM_ARG_REGS", "-", "ncrn", ")", "*", "UNITS_PER_WORD", ";", "return", ";", "}", "pcum", "->", "aapcs_next_ncrn", "=", "NUM_ARG_REGS", ";", "return", ";", "}", ""], "natrual_language": ["Lay", "out", "a", "function", "argument", "using", "the", "AAPCS", "rules", ".", "The", "rule", "numbers", "referred", "to", "here", "are", "those", "in", "the", "AAPCS", "."], "TS_V_token": ["arm", "0", "1", "0", "\"parameter passing for argument of type \"", "\"%qT changed in GCC 7.1\"", "0", "0", "1"], "File": "arm", "Func": "aapcs_layout_arg", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4736, "Length": 300, "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": 4737, "Length": 25, "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", "=", "AP", ".", "getDataLayout", "(", ")", ";", "MCContext", "&", "Ctx", "=", "AP", ".", "OutContext", ";", "bool", "isDarwin", "=", "TM", ".", "getTargetTriple", "(", ")", ".", "isOSDarwin", "(", ")", ";", "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\"", ")", ";", "Mangler", "::", "getNameWithPrefix", "(", "Name", ",", "MO", ".", "getSymbolName", "(", ")", ",", "DL", ")", ";", "}", "else", "{", "const", "GlobalValue", "*", "GV", "=", "MO", ".", "getGlobal", "(", ")", ";", "TM", ".", "getNameWithPrefix", "(", "Name", ",", "GV", ",", "*", "Mang", ")", ";", "}", "unsigned", "OrigLen", "=", "Name", ".", "size", "(", ")", "-", "PrefixLen", ";", "Name", "+=", "Suffix", ";", "MCSymbol", "*", "Sym", "=", "Ctx", ".", "getOrCreateSymbol", "(", "Name", ")", ";", "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", "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": "PPCMCInstLower47", "Func": "GetSymbolFromOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4738, "Length": 459, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "scalar_int_mode", "pru_unwind_word_mode", "(", "void", ")", "{", "return", "SImode", ";", "}", ""], "natrual_language": ["Implement", "TARGET_UNWIND_WORD_MODE", ".", "Since", "PRU", "is", "really", "a", "32-bit", "CPU", ",", "the", "default", "word_mode", "is", "not", "suitable", "."], "TS_V_token": ["pru"], "File": "pru", "Func": "pru_unwind_word_mode", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4739, "Length": 11, "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", "(", "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"], "File": "AArch64RegisterInfo18", "Func": "getCallPreservedMask", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4740, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_cannot_change_mode_class", "(", "machine_mode", "from", ",", "machine_mode", "to", ",", "enum", "reg_class", "rclass", ")", "{", "unsigned", "from_size", "=", "GET_MODE_SIZE", "(", "from", ")", ";", "unsigned", "to_size", "=", "GET_MODE_SIZE", "(", "to", ")", ";", "if", "(", "from_size", "!=", "to_size", ")", "{", "enum", "reg_class", "xclass", "=", "(", "TARGET_VSX", ")", "?", "VSX_REGS", ":", "FLOAT_REGS", ";", "if", "(", "reg_classes_intersect_p", "(", "xclass", ",", "rclass", ")", ")", "{", "unsigned", "to_nregs", "=", "hard_regno_nregs", "[", "FIRST_FPR_REGNO", "]", "[", "to", "]", ";", "unsigned", "from_nregs", "=", "hard_regno_nregs", "[", "FIRST_FPR_REGNO", "]", "[", "from", "]", ";", "bool", "to_float128_vector_p", "=", "FLOAT128_VECTOR_P", "(", "to", ")", ";", "bool", "from_float128_vector_p", "=", "FLOAT128_VECTOR_P", "(", "from", ")", ";", "if", "(", "to_float128_vector_p", "&&", "from_float128_vector_p", ")", "return", "false", ";", "else", "if", "(", "to_float128_vector_p", "||", "from_float128_vector_p", ")", "return", "true", ";", "if", "(", "!", "BYTES_BIG_ENDIAN", "&&", "(", "to", "==", "TDmode", "||", "from", "==", "TDmode", ")", ")", "return", "true", ";", "if", "(", "from_size", "<", "8", "||", "to_size", "<", "8", ")", "return", "true", ";", "if", "(", "from_size", "==", "8", "&&", "(", "8", "*", "to_nregs", ")", "!=", "to_size", ")", "return", "true", ";", "if", "(", "to_size", "==", "8", "&&", "(", "8", "*", "from_nregs", ")", "!=", "from_size", ")", "return", "true", ";", "return", "false", ";", "}", "else", "return", "false", ";", "}", "if", "(", "TARGET_E500_DOUBLE", "&&", "(", "(", "(", "(", "to", ")", "==", "DFmode", ")", "+", "(", "(", "from", ")", "==", "DFmode", ")", ")", "==", "1", "||", "(", "(", "(", "to", ")", "==", "TFmode", ")", "+", "(", "(", "from", ")", "==", "TFmode", ")", ")", "==", "1", "||", "(", "(", "(", "to", ")", "==", "IFmode", ")", "+", "(", "(", "from", ")", "==", "IFmode", ")", ")", "==", "1", "||", "(", "(", "(", "to", ")", "==", "KFmode", ")", "+", "(", "(", "from", ")", "==", "KFmode", ")", ")", "==", "1", "||", "(", "(", "(", "to", ")", "==", "DDmode", ")", "+", "(", "(", "from", ")", "==", "DDmode", ")", ")", "==", "1", "||", "(", "(", "(", "to", ")", "==", "TDmode", ")", "+", "(", "(", "from", ")", "==", "TDmode", ")", ")", "==", "1", "||", "(", "(", "(", "to", ")", "==", "DImode", ")", "+", "(", "(", "from", ")", "==", "DImode", ")", ")", "==", "1", ")", ")", "return", "true", ";", "if", "(", "TARGET_VSX", "&&", "VSX_REG_CLASS_P", "(", "rclass", ")", ")", "{", "unsigned", "num_regs", "=", "(", "from_size", "+", "15", ")", "/", "16", ";", "if", "(", "hard_regno_nregs", "[", "FIRST_FPR_REGNO", "]", "[", "to", "]", ">", "num_regs", "||", "hard_regno_nregs", "[", "FIRST_FPR_REGNO", "]", "[", "from", "]", ">", "num_regs", ")", "return", "true", ";", "return", "(", "from_size", "!=", "8", "&&", "from_size", "!=", "16", ")", ";", "}", "if", "(", "TARGET_ALTIVEC", "&&", "rclass", "==", "ALTIVEC_REGS", "&&", "(", "ALTIVEC_VECTOR_MODE", "(", "from", ")", "+", "ALTIVEC_VECTOR_MODE", "(", "to", ")", ")", "==", "1", ")", "return", "true", ";", "if", "(", "TARGET_SPE", "&&", "(", "SPE_VECTOR_MODE", "(", "from", ")", "+", "SPE_VECTOR_MODE", "(", "to", ")", ")", "==", "1", "&&", "reg_classes_intersect_p", "(", "GENERAL_REGS", ",", "rclass", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "for", "CLASS", "a", "mode", "change", "from", "FROM", "to", "TO", "is", "invalid", "."], "TS_V_token": ["rs6000", "8", "8", "8", "8", "8", "8", "1", "1", "1", "1", "1", "1", "1", "15", "16", "8", "16", "1", "1"], "File": "rs60005", "Func": "rs6000_cannot_change_mode_class", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4741, "Length": 455, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "adjust_xxpermdi", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "set", "=", "PATTERN", "(", "insn", ")", ";", "rtx", "select", "=", "XEXP", "(", "set", ",", "1", ")", ";", "rtx", "concat", "=", "XEXP", "(", "select", ",", "0", ")", ";", "rtx", "src0", "=", "XEXP", "(", "concat", ",", "0", ")", ";", "XEXP", "(", "concat", ",", "0", ")", "=", "XEXP", "(", "concat", ",", "1", ")", ";", "XEXP", "(", "concat", ",", "1", ")", "=", "src0", ";", "rtx", "parallel", "=", "XEXP", "(", "select", ",", "1", ")", ";", "int", "lane0", "=", "INTVAL", "(", "XVECEXP", "(", "parallel", ",", "0", ",", "0", ")", ")", ";", "int", "lane1", "=", "INTVAL", "(", "XVECEXP", "(", "parallel", ",", "0", ",", "1", ")", ")", ";", "int", "new_lane0", "=", "3", "-", "lane1", ";", "int", "new_lane1", "=", "3", "-", "lane0", ";", "XVECEXP", "(", "parallel", ",", "0", ",", "0", ")", "=", "GEN_INT", "(", "new_lane0", ")", ";", "XVECEXP", "(", "parallel", ",", "0", ",", "1", ")", "=", "GEN_INT", "(", "new_lane1", ")", ";", "INSN_CODE", "(", "insn", ")", "=", "-", "1", ";", "df_insn_rescan", "(", "insn", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Changing lanes for xxpermdi %d\\n\"", ",", "INSN_UID", "(", "insn", ")", ")", ";", "}", ""], "natrual_language": ["Given", "OP", "that", "contains", "an", "XXPERMDI", "operation", "(", "that", "is", "not", "a", "doubleword", "swap", ")", ",", "reverse", "the", "order", "of", "the", "source", "operands", "and", "adjust", "the", "indices", "of", "the", "source", "lanes", "to", "account", "for", "doubleword", "reversal", "."], "TS_V_token": ["powerpcspe", "1", "0", "0", "0", "1", "1", "1", "0", "0", "0", "1", "3", "3", "0", "0", "0", "1", "1", "\"Changing lanes for xxpermdi %d\\n\""], "File": "powerpcspe", "Func": "adjust_xxpermdi", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4742, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "handleAssemblerFlag", "(", "MCAssemblerFlag", "Flag", ")", "{", "switch", "(", "Flag", ")", "{", "default", ":", "break", ";", "case", "MCAF_Code16", ":", "setIsThumb", "(", "true", ")", ";", "break", ";", "case", "MCAF_Code32", ":", "setIsThumb", "(", "false", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Handle", "any", "target-specific", "assembler", "flags", ".", "By", "default", ",", "do", "nothing", "."], "TS_V_token": ["ARM"], "File": "ARMAsmBackend (2)", "Func": "handleAssemblerFlag", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4743, "Length": 38, "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": 4744, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "aarch64_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": ["aarch64"], "File": "aarch64-builtins", "Func": "aarch64_add_attribute", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4745, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isSchedulingBoundary", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineBasicBlock", "*", "MBB", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "TargetInstrInfo", "::", "isSchedulingBoundary", "(", "MI", ",", "MBB", ",", "MF", ")", ")", "return", "true", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "AArch64", "::", "DSB", ":", "case", "AArch64", "::", "ISB", ":", "return", "true", ";", "default", ":", ";", "}", "return", "isSEHInstruction", "(", "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": ["AArch64", "AArch64", "AArch64::DSB", "AArch64::ISB"], "File": "AArch64InstrInfo5", "Func": "isSchedulingBoundary", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4746, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_optab_supported_p", "(", "int", "op", ",", "machine_mode", "mode1", ",", "machine_mode", ",", "optimization_type", "opt_type", ")", "{", "switch", "(", "op", ")", "{", "case", "asin_optab", ":", "case", "acos_optab", ":", "case", "log1p_optab", ":", "case", "exp_optab", ":", "case", "exp10_optab", ":", "case", "exp2_optab", ":", "case", "expm1_optab", ":", "case", "ldexp_optab", ":", "case", "scalb_optab", ":", "case", "round_optab", ":", "return", "opt_type", "==", "OPTIMIZE_FOR_SPEED", ";", "case", "rint_optab", ":", "if", "(", "SSE_FLOAT_MODE_P", "(", "mode1", ")", "&&", "TARGET_SSE_MATH", "&&", "!", "flag_trapping_math", "&&", "!", "TARGET_ROUND", ")", "return", "opt_type", "==", "OPTIMIZE_FOR_SPEED", ";", "return", "true", ";", "case", "floor_optab", ":", "case", "ceil_optab", ":", "case", "btrunc_optab", ":", "if", "(", "SSE_FLOAT_MODE_P", "(", "mode1", ")", "&&", "TARGET_SSE_MATH", "&&", "!", "flag_trapping_math", "&&", "TARGET_ROUND", ")", "return", "true", ";", "return", "opt_type", "==", "OPTIMIZE_FOR_SPEED", ";", "case", "rsqrt_optab", ":", "return", "opt_type", "==", "OPTIMIZE_FOR_SPEED", "&&", "use_rsqrt_p", "(", ")", ";", "default", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Implement", "the", "TARGET_OPTAB_SUPPORTED_P", "hook", "."], "TS_V_token": ["i386"], "File": "i3865", "Func": "ix86_optab_supported_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4747, "Length": 132, "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": 4748, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "mmix_strip_name_encoding", "(", "const", "char", "*", "name", ")", "{", "for", "(", ";", "(", "*", "name", "==", "'@'", "||", "*", "name", "==", "'*'", ")", ";", "name", "++", ")", ";", "return", "name", ";", "}", ""], "natrual_language": ["STRIP_NAME_ENCODING", "."], "TS_V_token": ["mmix"], "File": "mmix", "Func": "mmix_strip_name_encoding", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4749, "Length": 35, "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": 4750, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86TargetMachine", "::", "X86TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "is64Bit", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ")", ",", "Subtarget", "(", "TT", ",", "FS", ",", "is64Bit", ")", ",", "DataLayout", "(", "Subtarget", ".", "getDataLayout", "(", ")", ")", ",", "FrameInfo", "(", "TargetFrameInfo", "::", "StackGrowsDown", ",", "Subtarget", ".", "getStackAlignment", "(", ")", ",", "(", "Subtarget", ".", "isTargetWin64", "(", ")", "?", "-", "40", ":", "(", "Subtarget", ".", "is64Bit", "(", ")", "?", "-", "8", ":", "-", "4", ")", ")", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "JITInfo", "(", "*", "this", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "ELFWriterInfo", "(", "*", "this", ")", "{", "DefRelocModel", "=", "getRelocationModel", "(", ")", ";", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Default", ")", "{", "if", "(", "Subtarget", ".", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "setRelocationModel", "(", "Reloc", "::", "PIC_", ")", ";", "else", "setRelocationModel", "(", "Reloc", "::", "DynamicNoPIC", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "isTargetWin64", "(", ")", ")", "setRelocationModel", "(", "Reloc", "::", "PIC_", ")", ";", "else", "setRelocationModel", "(", "Reloc", "::", "Static", ")", ";", "}", "assert", "(", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Default", "&&", "\"Relocation mode not picked\"", ")", ";", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "DynamicNoPIC", ")", "{", "if", "(", "is64Bit", ")", "setRelocationModel", "(", "Reloc", "::", "PIC_", ")", ";", "else", "if", "(", "!", "Subtarget", ".", "isTargetDarwin", "(", ")", ")", "setRelocationModel", "(", "Reloc", "::", "Static", ")", ";", "}", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", "&&", "Subtarget", ".", "isTargetDarwin", "(", ")", "&&", "is64Bit", ")", "setRelocationModel", "(", "Reloc", "::", "PIC_", ")", ";", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "RIPRel", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "isTargetCygMing", "(", ")", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "StubPIC", ")", ";", "else", "{", "assert", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "DynamicNoPIC", ")", ";", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "StubDynamicNoPIC", ")", ";", "}", "}", "else", "if", "(", "Subtarget", ".", "isTargetELF", "(", ")", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "GOT", ")", ";", "}", "if", "(", "Subtarget", ".", "getPICStyle", "(", ")", "==", "PICStyles", "::", "None", ")", "setRelocationModel", "(", "Reloc", "::", "Static", ")", ";", "}", ""], "natrual_language": ["Create", "an", "X86", "target", "."], "TS_V_token": ["X86", "X86", "X86", "40", "8", "4", "\"Relocation mode not picked\""], "File": "X86TargetMachine37", "Func": "X86TargetMachine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4751, "Length": 427, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "X86RegisterInfo", "&", "RegInfo", "=", "*", "static_cast", "<", "const", "X86RegisterInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "unsigned", "StackPtr", "=", "RegInfo", ".", "getStackRegister", "(", ")", ";", "bool", "reseveCallFrame", "=", "hasReservedCallFrame", "(", "MF", ")", ";", "int", "Opcode", "=", "I", "->", "getOpcode", "(", ")", ";", "bool", "isDestroy", "=", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ";", "const", "X86Subtarget", "&", "STI", "=", "MF", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "bool", "IsLP64", "=", "STI", ".", "isTarget64BitLP64", "(", ")", ";", "DebugLoc", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "uint64_t", "Amount", "=", "!", "reseveCallFrame", "?", "I", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ":", "0", ";", "uint64_t", "CalleeAmt", "=", "isDestroy", "?", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ":", "0", ";", "I", "=", "MBB", ".", "erase", "(", "I", ")", ";", "if", "(", "!", "reseveCallFrame", ")", "{", "if", "(", "Amount", "==", "0", ")", "return", ";", "unsigned", "StackAlign", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", "->", "getStackAlignment", "(", ")", ";", "Amount", "=", "(", "Amount", "+", "StackAlign", "-", "1", ")", "/", "StackAlign", "*", "StackAlign", ";", "MachineInstr", "*", "New", "=", "nullptr", ";", "if", "(", "Opcode", "==", "TII", ".", "getCallFrameSetupOpcode", "(", ")", ")", "{", "New", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "getSUBriOpcode", "(", "IsLP64", ",", "Amount", ")", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ")", ";", "Amount", "-=", "CalleeAmt", ";", "if", "(", "Amount", ")", "{", "unsigned", "Opc", "=", "getADDriOpcode", "(", "IsLP64", ",", "Amount", ")", ";", "New", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "}", "if", "(", "New", ")", "{", "New", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "return", ";", "}", "if", "(", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", "&&", "CalleeAmt", ")", "{", "unsigned", "Opc", "=", "getSUBriOpcode", "(", "IsLP64", ",", "CalleeAmt", ")", ";", "MachineInstr", "*", "New", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "CalleeAmt", ")", ";", "New", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "B", "=", "MBB", ".", "begin", "(", ")", ";", "while", "(", "I", "!=", "B", "&&", "!", "std", "::", "prev", "(", "I", ")", "->", "isCall", "(", ")", ")", "--", "I", ";", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "}", ""], "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", "X86", "X86", "X86", "X86", "0", "0", "1", "0", "0", "1", "3", "3"], "File": "X86FrameLowering115", "Func": "eliminateCallFramePseudoInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4752, "Length": 473, "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", ")", ";", "ReserveXRegister", ".", "set", "(", "19", ")", ";", "ReserveXRegister", ".", "set", "(", "20", ")", ";", "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", "19", "20", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64Subtarget12", "Func": "AArch64Subtarget", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4753, "Length": 202, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "nds32_md_asm_adjust", "(", "vec", "<", "rtx", ">", "&", "outputs", "ATTRIBUTE_UNUSED", ",", "vec", "<", "rtx", ">", "&", "inputs", "ATTRIBUTE_UNUSED", ",", "vec", "<", "machine_mode", ">", "&", "input_modes", "ATTRIBUTE_UNUSED", ",", "vec", "<", "const", "char", "*", ">", "&", "constraints", "ATTRIBUTE_UNUSED", ",", "vec", "<", "rtx", ">", "&", "clobbers", ",", "HARD_REG_SET", "&", "clobbered_regs", ",", "location_t", ")", "{", "if", "(", "!", "flag_inline_asm_r15", ")", "{", "clobbers", ".", "safe_push", "(", "gen_rtx_REG", "(", "SImode", ",", "TA_REGNUM", ")", ")", ";", "SET_HARD_REG_BIT", "(", "clobbered_regs", ",", "TA_REGNUM", ")", ";", "}", "return", "NULL", ";", "}", ""], "natrual_language": ["Miscellaneous", "Parameters", "."], "TS_V_token": ["nds32"], "File": "nds32", "Func": "nds32_md_asm_adjust", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4754, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "FixupLEAPass", "::", "processInstruction", "(", "MachineBasicBlock", "::", "iterator", "&", "I", ",", "MachineBasicBlock", "&", "MBB", ")", "{", "MachineInstr", "&", "MI", "=", "*", "I", ";", "const", "MCInstrDesc", "&", "Desc", "=", "MI", ".", "getDesc", "(", ")", ";", "int", "AddrOffset", "=", "X86II", "::", "getMemoryOperandNo", "(", "Desc", ".", "TSFlags", ")", ";", "if", "(", "AddrOffset", ">=", "0", ")", "{", "AddrOffset", "+=", "X86II", "::", "getOperandBias", "(", "Desc", ")", ";", "MachineOperand", "&", "p", "=", "MI", ".", "getOperand", "(", "AddrOffset", "+", "X86", "::", "AddrBaseReg", ")", ";", "if", "(", "p", ".", "isReg", "(", ")", "&&", "p", ".", "getReg", "(", ")", "!=", "X86", "::", "ESP", ")", "{", "seekLEAFixup", "(", "p", ",", "I", ",", "MBB", ")", ";", "}", "MachineOperand", "&", "q", "=", "MI", ".", "getOperand", "(", "AddrOffset", "+", "X86", "::", "AddrIndexReg", ")", ";", "if", "(", "q", ".", "isReg", "(", ")", "&&", "q", ".", "getReg", "(", ")", "!=", "X86", "::", "ESP", ")", "{", "seekLEAFixup", "(", "q", ",", "I", ",", "MBB", ")", ";", "}", "}", "}", ""], "natrual_language": ["Process", "a", "single", "instruction", "and", "collect", "debug", "info", "anchors", "."], "TS_V_token": ["X86", "X86II::getMemoryOperandNo", "0", "X86II::getOperandBias", "X86::AddrBaseReg", "X86::ESP", "X86::AddrIndexReg", "X86::ESP"], "File": "X86FixupLEAs1", "Func": "processInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4755, "Length": 152, "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": 4756, "Length": 500, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "is_dispatch_slot_restricted", "(", "rtx", "insn", ")", "{", "enum", "attr_type", "type", ";", "if", "(", "!", "rs6000_sched_groups", ")", "return", "0", ";", "if", "(", "!", "insn", "||", "insn", "==", "NULL_RTX", "||", "GET_CODE", "(", "insn", ")", "==", "NOTE", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "USE", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "CLOBBER", ")", "return", "0", ";", "type", "=", "get_attr_type", "(", "insn", ")", ";", "switch", "(", "type", ")", "{", "case", "TYPE_MFCR", ":", "case", "TYPE_MFCRF", ":", "case", "TYPE_MTCR", ":", "case", "TYPE_DELAYED_CR", ":", "case", "TYPE_CR_LOGICAL", ":", "case", "TYPE_MTJMPR", ":", "case", "TYPE_MFJMPR", ":", "return", "1", ";", "case", "TYPE_IDIV", ":", "case", "TYPE_LDIV", ":", "return", "2", ";", "case", "TYPE_LOAD_L", ":", "case", "TYPE_STORE_C", ":", "case", "TYPE_ISYNC", ":", "case", "TYPE_SYNC", ":", "return", "4", ";", "default", ":", "if", "(", "rs6000_cpu", "==", "PROCESSOR_POWER5", "&&", "is_cracked_insn", "(", "insn", ")", ")", "return", "2", ";", "return", "0", ";", "}", "}", ""], "natrual_language": ["The", "function", "returns", "a", "nonzero", "value", "if", "INSN", "can", "be", "scheduled", "only", "as", "the", "first", "insn", "in", "a", "dispatch", "group", "(", "``", "dispatch-slot", "restricted", "''", ")", ".", "In", "this", "case", ",", "the", "returned", "value", "indicates", "how", "many", "dispatch", "slots", "the", "insn", "occupies", "(", "at", "the", "beginning", "of", "the", "group", ")", ".", "Return", "0", "otherwise", "."], "TS_V_token": ["rs6000", "0", "0", "1", "2", "4", "2", "0"], "File": "rs60003", "Func": "is_dispatch_slot_restricted", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4757, "Length": 140, "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": 4758, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBankInfo", "*", "ARMSubtarget", "::", "getRegBankInfo", "(", ")", "const", "{", "assert", "(", "GISel", "&&", "\"Access to GlobalISel APIs not set\"", ")", ";", "return", "GISel", "->", "getRegBankInfo", "(", ")", ";", "}", ""], "natrual_language": ["If", "the", "information", "for", "the", "register", "banks", "is", "available", ",", "return", "it", "."], "TS_V_token": ["ARM", "ARM", "\"Access to GlobalISel APIs not set\""], "File": "ARMSubtarget24", "Func": "getRegBankInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4759, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "std", "::", "unique_ptr", "<", "ARMOperand", ">", "CreateReg", "(", "unsigned", "RegNum", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{", "auto", "Op", "=", "make_unique", "<", "ARMOperand", ">", "(", "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": ["ARM", "ARM", "ARM"], "File": "ARMAsmParser (2)2", "Func": "CreateReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4760, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCPassConfig", "::", "addPreEmitPass", "(", ")", "{", "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"], "File": "PPCTargetMachine15", "Func": "addPreEmitPass", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4761, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "get_ppc476_thunk_name", "(", "char", "name", "[", "32", "]", ")", "{", "gcc_assert", "(", "TARGET_LINK_STACK", ")", ";", "if", "(", "USE_HIDDEN_LINKONCE", ")", "sprintf", "(", "name", ",", "\"__ppc476.get_thunk\"", ")", ";", "else", "ASM_GENERATE_INTERNAL_LABEL", "(", "name", ",", "\"LPPC476_\"", ",", "0", ")", ";", "}", ""], "natrual_language": ["Fills", "in", "the", "label", "name", "that", "should", "be", "used", "for", "a", "476", "link", "stack", "thunk", "."], "TS_V_token": ["rs6000", "32", "\"__ppc476.get_thunk\"", "\"LPPC476_\"", "0"], "File": "rs6000", "Func": "get_ppc476_thunk_name", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4762, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "isLoadFromStackSlotPostFE", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "unsigned", "Dummy", ";", "if", "(", "isFrameLoadOpcode", "(", "MI", ".", "getOpcode", "(", ")", ",", "Dummy", ")", ")", "{", "unsigned", "Reg", ";", "if", "(", "(", "Reg", "=", "isLoadFromStackSlot", "(", "MI", ",", "FrameIndex", ")", ")", ")", "return", "Reg", ";", "const", "MachineMemOperand", "*", "Dummy", ";", "return", "hasLoadFromStackSlot", "(", "MI", ",", "Dummy", ",", "FrameIndex", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["isLoadFromStackSlotPostFE", "-", "Check", "for", "post-frame", "ptr", "elimination", "stack", "locations", "as", "well", "."], "TS_V_token": ["X86", "X86", "0"], "File": "X86InstrInfo", "Func": "isLoadFromStackSlotPostFE", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4763, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Reloc", "::", "Model", "MipsSubtarget", "::", "getRelocationModel", "(", ")", "const", "{", "return", "TM", "->", "getRelocationModel", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "code", "generation", "relocation", "model", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsSubtarget23", "Func": "getRelocationModel", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4764, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "{", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["OR1K"], "File": "OR1KAsmParser", "Func": "print", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4765, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mem_operand_gpr", "(", "rtx", "op", ",", "machine_mode", "mode", ")", "{", "unsigned", "HOST_WIDE_INT", "offset", ";", "int", "extra", ";", "rtx", "addr", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "TARGET_UPDATE", "&&", "(", "GET_CODE", "(", "addr", ")", "==", "PRE_INC", "||", "GET_CODE", "(", "addr", ")", "==", "PRE_DEC", ")", "&&", "mode_supports_pre_incdec_p", "(", "mode", ")", "&&", "legitimate_indirect_address_p", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "false", ")", ")", "return", "true", ";", "if", "(", "address_is_prefixed", "(", "addr", ",", "mode", ",", "NON_PREFIXED_DS", ")", ")", "return", "true", ";", "if", "(", "TARGET_MACHO", "&&", "GET_CODE", "(", "addr", ")", "==", "LO_SUM", ")", "return", "darwin_rs6000_legitimate_lo_sum_const_p", "(", "XEXP", "(", "addr", ",", "1", ")", ",", "mode", ")", ";", "if", "(", "!", "rs6000_offsettable_memref_p", "(", "op", ",", "mode", ",", "false", ")", ")", "return", "false", ";", "op", "=", "address_offset", "(", "addr", ")", ";", "if", "(", "op", "==", "NULL_RTX", ")", "return", "true", ";", "offset", "=", "INTVAL", "(", "op", ")", ";", "if", "(", "TARGET_POWERPC64", "&&", "(", "offset", "&", "3", ")", "!=", "0", ")", "return", "false", ";", "extra", "=", "GET_MODE_SIZE", "(", "mode", ")", "-", "UNITS_PER_WORD", ";", "if", "(", "extra", "<", "0", ")", "extra", "=", "0", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "LO_SUM", ")", "offset", "=", "(", "(", "offset", "&", "0xffff", ")", "^", "0x8000", ")", "-", "0x8000", ";", "return", "SIGNED_16BIT_OFFSET_EXTRA_P", "(", "offset", ",", "extra", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "MEM", "operand", "is", "a", "memory", "operand", "suitable", "for", "use", "with", "a", "(", "full", "width", ",", "possibly", "multiple", ")", "gpr", "load/store", ".", "On", "powerpc64", "this", "means", "the", "offset", "must", "be", "divisible", "by", "4", ".", "Implements", "'", "Y", "'", "constraint", ".", "Accept", "direct", ",", "indexed", ",", "offset", ",", "lo_sum", "and", "tocref", ".", "Since", "this", "is", "a", "constraint", "function", "we", "know", "the", "operand", "has", "satisfied", "a", "suitable", "memory", "predicate", ".", "Offsetting", "a", "lo_sum", "should", "not", "be", "allowed", ",", "except", "where", "we", "know", "by", "alignment", "that", "a", "32k", "boundary", "is", "not", "crossed", ".", "Note", "that", "by", "``", "offsetting", "''", "here", "we", "mean", "a", "further", "offset", "to", "access", "parts", "of", "the", "MEM", ".", "It", "'s", "fine", "to", "have", "a", "lo_sum", "where", "the", "inner", "address", "is", "offset", "from", "a", "sym", ",", "since", "the", "same", "sym+offset", "will", "appear", "in", "the", "high", "part", "of", "the", "address", "calculation", "."], "TS_V_token": ["rs6000", "0", "0", "1", "3", "0", "0", "0", "0xffff", "0x8000", "0x8000"], "File": "rs6000", "Func": "mem_operand_gpr", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4766, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "HOST_WIDE_INT", "mips_asan_shadow_offset", "(", "void", ")", "{", "return", "SUBTARGET_SHADOW_OFFSET", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_ASAN_SHADOW_OFFSET", "hook", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_asan_shadow_offset", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4767, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_delegitimize_address", "(", "rtx", "orig_x", ")", "{", "rtx", "x", ",", "y", ",", "offset", ";", "if", "(", "GET_CODE", "(", "orig_x", ")", "==", "UNSPEC", ")", "switch", "(", "XINT", "(", "orig_x", ",", "1", ")", ")", "{", "case", "UNSPEC_FUSION_GPR", ":", "case", "UNSPEC_PCREL_OPT_LD_ADDR", ":", "case", "UNSPEC_PCREL_OPT_LD_SAME_REG", ":", "case", "UNSPEC_PCREL_OPT_ST_ADDR", ":", "orig_x", "=", "XVECEXP", "(", "orig_x", ",", "0", ",", "0", ")", ";", "break", ";", "default", ":", "break", ";", "}", "orig_x", "=", "delegitimize_mem_from_attrs", "(", "orig_x", ")", ";", "x", "=", "orig_x", ";", "if", "(", "MEM_P", "(", "x", ")", ")", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "y", "=", "x", ";", "if", "(", "TARGET_CMODEL", "!=", "CMODEL_SMALL", "&&", "GET_CODE", "(", "y", ")", "==", "LO_SUM", ")", "y", "=", "XEXP", "(", "y", ",", "1", ")", ";", "offset", "=", "NULL_RTX", ";", "if", "(", "GET_CODE", "(", "y", ")", "==", "PLUS", "&&", "GET_MODE", "(", "y", ")", "==", "Pmode", "&&", "CONST_INT_P", "(", "XEXP", "(", "y", ",", "1", ")", ")", ")", "{", "offset", "=", "XEXP", "(", "y", ",", "1", ")", ";", "y", "=", "XEXP", "(", "y", ",", "0", ")", ";", "}", "if", "(", "GET_CODE", "(", "y", ")", "==", "UNSPEC", "&&", "XINT", "(", "y", ",", "1", ")", "==", "UNSPEC_TOCREL", ")", "{", "y", "=", "XVECEXP", "(", "y", ",", "0", ",", "0", ")", ";", "if", "(", "TARGET_XCOFF", "&&", "SYMBOL_REF_P", "(", "y", ")", "&&", "CONSTANT_POOL_ADDRESS_P", "(", "y", ")", "&&", "rs6000_real_tls_symbol_ref_p", "(", "get_pool_constant", "(", "y", ")", ")", ")", "return", "orig_x", ";", "if", "(", "offset", "!=", "NULL_RTX", ")", "y", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "y", ",", "offset", ")", ";", "if", "(", "!", "MEM_P", "(", "orig_x", ")", ")", "return", "y", ";", "else", "return", "replace_equiv_address_nv", "(", "orig_x", ",", "y", ")", ";", "}", "if", "(", "TARGET_MACHO", "&&", "GET_CODE", "(", "orig_x", ")", "==", "LO_SUM", "&&", "GET_CODE", "(", "XEXP", "(", "orig_x", ",", "1", ")", ")", "==", "CONST", ")", "{", "y", "=", "XEXP", "(", "XEXP", "(", "orig_x", ",", "1", ")", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "y", ")", "==", "UNSPEC", "&&", "XINT", "(", "y", ",", "1", ")", "==", "UNSPEC_MACHOPIC_OFFSET", ")", "return", "XVECEXP", "(", "y", ",", "0", ",", "0", ")", ";", "}", "return", "orig_x", ";", "}", ""], "natrual_language": ["In", "the", "name", "of", "slightly", "smaller", "debug", "output", ",", "and", "to", "cater", "to", "general", "assembler", "lossage", ",", "recognize", "various", "UNSPEC", "sequences", "and", "turn", "them", "back", "into", "a", "direct", "symbol", "reference", "."], "TS_V_token": ["rs6000", "1", "0", "0", "0", "1", "1", "1", "0", "1", "0", "0", "1", "1", "0", "1", "0", "0"], "File": "rs6000", "Func": "rs6000_delegitimize_address", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4768, "Length": 331, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mep_print_operand_address", "(", "FILE", "*", "stream", ",", "rtx", "address", ")", "{", "if", "(", "GET_CODE", "(", "address", ")", "==", "MEM", ")", "address", "=", "XEXP", "(", "address", ",", "0", ")", ";", "else", "gcc_assert", "(", "GET_CODE", "(", "address", ")", "==", "REG", ")", ";", "mep_print_operand", "(", "stream", ",", "address", ",", "0", ")", ";", "}", ""], "natrual_language": ["Operand", "Printing", "."], "TS_V_token": ["mep", "0", "0"], "File": "mep", "Func": "mep_print_operand_address", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4769, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMFrameLowering", "::", "hasReservedCallFrame", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "FFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "CFSize", "=", "FFI", "->", "getMaxCallFrameSize", "(", ")", ";", "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", "1", "12", "1", "2"], "File": "ARMFrameLowering (2)", "Func": "hasReservedCallFrame", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4770, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mips_class_max_nregs", "(", "enum", "reg_class", "rclass", ",", "machine_mode", "mode", ")", "{", "int", "size", ";", "HARD_REG_SET", "left", ";", "size", "=", "0x8000", ";", "COPY_HARD_REG_SET", "(", "left", ",", "reg_class_contents", "[", "(", "int", ")", "rclass", "]", ")", ";", "if", "(", "hard_reg_set_intersect_p", "(", "left", ",", "reg_class_contents", "[", "(", "int", ")", "ST_REGS", "]", ")", ")", "{", "if", "(", "HARD_REGNO_MODE_OK", "(", "ST_REG_FIRST", ",", "mode", ")", ")", "size", "=", "MIN", "(", "size", ",", "4", ")", ";", "AND_COMPL_HARD_REG_SET", "(", "left", ",", "reg_class_contents", "[", "(", "int", ")", "ST_REGS", "]", ")", ";", "}", "if", "(", "hard_reg_set_intersect_p", "(", "left", ",", "reg_class_contents", "[", "(", "int", ")", "FP_REGS", "]", ")", ")", "{", "if", "(", "HARD_REGNO_MODE_OK", "(", "FP_REG_FIRST", ",", "mode", ")", ")", "{", "if", "(", "MSA_SUPPORTED_MODE_P", "(", "mode", ")", ")", "size", "=", "MIN", "(", "size", ",", "UNITS_PER_MSA_REG", ")", ";", "else", "size", "=", "MIN", "(", "size", ",", "UNITS_PER_FPREG", ")", ";", "}", "AND_COMPL_HARD_REG_SET", "(", "left", ",", "reg_class_contents", "[", "(", "int", ")", "FP_REGS", "]", ")", ";", "}", "if", "(", "!", "hard_reg_set_empty_p", "(", "left", ")", ")", "size", "=", "MIN", "(", "size", ",", "UNITS_PER_WORD", ")", ";", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "size", "-", "1", ")", "/", "size", ";", "}", ""], "natrual_language": ["Implement", "CLASS_MAX_NREGS", ".", "Usually", "all", "registers", "are", "word-sized", ".", "The", "only", "supported", "exception", "is", "-mgp64", "-msingle-float", ",", "which", "has", "64-bit", "words", "but", "32-bit", "float", "registers", ".", "A", "word-based", "calculation", "is", "correct", "even", "in", "that", "case", ",", "since", "-msingle-float", "disallows", "multi-FPR", "values", ".", "The", "FP", "status", "registers", "are", "an", "exception", "to", "this", "rule", ".", "They", "are", "always", "4", "bytes", "wide", "as", "they", "only", "hold", "condition", "code", "modes", ",", "and", "CCmode", "is", "always", "considered", "to", "be", "4", "bytes", "wide", "."], "TS_V_token": ["mips", "0x8000", "4", "1"], "File": "mips6", "Func": "mips_class_max_nregs", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4771, "Length": 181, "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", "(", ")", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "{", "addPass", "(", "&", "LiveVariablesID", ",", "false", ")", ";", "addPass", "(", "createPPCTLSDynamicCallPass", "(", ")", ")", ";", "}", "if", "(", "EnableExtraTOCRegDeps", ")", "addPass", "(", "createPPCTOCRegDepsPass", "(", ")", ")", ";", "}", ""], "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": "PPCTargetMachine63", "Func": "addPreRegAlloc", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4772, "Length": 86, "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": 4773, "Length": 347, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "unsigned", "Opc", "=", "0", ";", "if", "(", "X86", "::", "GR64RegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "X86", "::", "MOV64rr", ";", "else", "if", "(", "X86", "::", "GR32RegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "X86", "::", "MOV32rr", ";", "else", "if", "(", "X86", "::", "GR16RegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "X86", "::", "MOV16rr", ";", "else", "if", "(", "X86", "::", "GR8RegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "if", "(", "(", "isHReg", "(", "DestReg", ")", "||", "isHReg", "(", "SrcReg", ")", ")", "&&", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ")", "Opc", "=", "X86", "::", "MOV8rr_NOREX", ";", "else", "Opc", "=", "X86", "::", "MOV8rr", ";", "}", "else", "if", "(", "X86", "::", "VR128RegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "X86", "::", "MOVAPSrr", ";", "else", "if", "(", "X86", "::", "VR64RegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "X86", "::", "MMX_MOVQ64rr", ";", "else", "Opc", "=", "CopyToFromAsymmetricReg", "(", "DestReg", ",", "SrcReg", ")", ";", "if", "(", "Opc", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "return", ";", "}", "if", "(", "SrcReg", "==", "X86", "::", "EFLAGS", ")", "{", "if", "(", "X86", "::", "GR64RegClass", ".", "contains", "(", "DestReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "X86", "::", "PUSHF64", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "X86", "::", "POP64r", ")", ",", "DestReg", ")", ";", "return", ";", "}", "else", "if", "(", "X86", "::", "GR32RegClass", ".", "contains", "(", "DestReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "X86", "::", "PUSHF32", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "X86", "::", "POP32r", ")", ",", "DestReg", ")", ";", "return", ";", "}", "}", "if", "(", "DestReg", "==", "X86", "::", "EFLAGS", ")", "{", "if", "(", "X86", "::", "GR64RegClass", ".", "contains", "(", "SrcReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "X86", "::", "PUSH64r", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "X86", "::", "POPF64", ")", ")", ";", "return", ";", "}", "else", "if", "(", "X86", "::", "GR32RegClass", ".", "contains", "(", "SrcReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "X86", "::", "PUSH32r", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "X86", "::", "POPF32", ")", ")", ";", "return", ";", "}", "}", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Cannot copy \"", "<<", "RI", ".", "getName", "(", "SrcReg", ")", "<<", "\" to \"", "<<", "RI", ".", "getName", "(", "DestReg", ")", "<<", "'\\n'", ")", ";", "llvm_unreachable", "(", "\"Cannot emit physreg copy instruction\"", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["X86", "X86", "0", "X86::GR64RegClass", "X86::MOV64rr", "X86::GR32RegClass", "X86::MOV32rr", "X86::GR16RegClass", "X86::MOV16rr", "X86::GR8RegClass", "X86", "X86::MOV8rr_NOREX", "X86::MOV8rr", "X86::VR128RegClass", "X86::MOVAPSrr", "X86::VR64RegClass", "X86::MMX_MOVQ64rr", "X86::EFLAGS", "X86::GR64RegClass", "X86::PUSHF64", "X86::POP64r", "X86::GR32RegClass", "X86::PUSHF32", "X86::POP32r", "X86::EFLAGS", "X86::GR64RegClass", "X86::PUSH64r", "X86::POPF64", "X86::GR32RegClass", "X86::PUSH32r", "X86::POPF32", "\"Cannot copy \"", "\" to \"", "\"Cannot emit physreg copy instruction\""], "File": "X86InstrInfo12", "Func": "copyPhysReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4774, "Length": 499, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mmix_init_libfuncs", "(", "void", ")", "{", "set_optab_libfunc", "(", "ffs_optab", ",", "SImode", ",", "\"__ffsdi2\"", ")", ";", "}", ""], "natrual_language": ["Unfortunately", ",", "by", "default", "__builtin_ffs", "is", "expanded", "to", "ffs", "for", "targets", "where", "INT_TYPE_SIZE", "<", "BITS_PER_WORD", ".", "That", "together", "with", "newlib", "since", "2017-07-04", "implementing", "ffs", "as", "__builtin_ffs", "leads", "to", "(", "newlib", ")", "ffs", "recursively", "calling", "itself", ".", "But", ",", "because", "of", "argument", "promotion", ",", "and", "with", "ffs", "we", "'re", "counting", "from", "the", "least", "bit", ",", "the", "libgcc", "equivalent", "for", "ffsl", "works", "equally", "well", "for", "int", "arguments", ",", "so", "just", "use", "that", "."], "TS_V_token": ["mmix", "\"__ffsdi2\""], "File": "mmix", "Func": "mmix_init_libfuncs", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4775, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86Subtarget", "::", "isLegalToCallImmediateAddr", "(", ")", "const", "{", "if", "(", "In64BitMode", "||", "isTargetWin32", "(", ")", ")", "return", "false", ";", "return", "isTargetELF", "(", ")", "||", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "subtarget", "allows", "calls", "to", "immediate", "address", "."], "TS_V_token": ["X86", "X86"], "File": "X86Subtarget (2)3", "Func": "isLegalToCallImmediateAddr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4776, "Length": 35, "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", ")", ";", "if", "(", "!", "REG_P", "(", "reg", ")", "||", "!", "CR_REGNO_P", "(", "REGNO", "(", "reg", ")", ")", ")", "return", "-", "1", ";", "cc_mode", "=", "GET_MODE", "(", "reg", ")", ";", "cc_regnum", "=", "REGNO", "(", "reg", ")", ";", "base_bit", "=", "4", "*", "(", "cc_regnum", "-", "CR0_REGNO", ")", ";", "validate_condition_mode", "(", "code", ",", "cc_mode", ")", ";", "if", "(", "scc_p", ")", "switch", "(", "code", ")", "{", "case", "EQ", ":", "case", "GT", ":", "case", "LT", ":", "case", "UNORDERED", ":", "case", "GTU", ":", "case", "LTU", ":", "break", ";", "default", ":", "return", "-", "1", ";", "}", "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", ":", "return", "-", "1", ";", "}", "}", ""], "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", "1", "4", "1", "3", "2", "2", "1", "3", "3", "3", "1", "1"], "File": "rs6000", "Func": "ccr_bit", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4777, "Length": 244, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "csky_print_operand_address", "(", "FILE", "*", "stream", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ")", "{", "struct", "csky_address", "addr", ";", "decompose_csky_address", "(", "x", ",", "&", "addr", ")", ";", "if", "(", "addr", ".", "label", "&&", "addr", ".", "disp", "&&", "GET_CODE", "(", "addr", ".", "disp", ")", "==", "CONST_INT", ")", "{", "fprintf", "(", "stream", ",", "\"[\"", ")", ";", "csky_output_constpool_label", "(", "stream", ",", "addr", ".", "label", ")", ";", "fprintf", "(", "stream", ",", "\"+%d]\"", ",", "(", "int", ")", "INTVAL", "(", "addr", ".", "disp", ")", ")", ";", "}", "else", "if", "(", "addr", ".", "label", ")", "{", "fprintf", "(", "stream", ",", "\"[\"", ")", ";", "csky_output_constpool_label", "(", "stream", ",", "addr", ".", "label", ")", ";", "fprintf", "(", "stream", ",", "\"]\"", ")", ";", "}", "else", "if", "(", "addr", ".", "symbol", "&&", "addr", ".", "disp", "&&", "GET_CODE", "(", "addr", ".", "disp", ")", "==", "CONST_INT", ")", "{", "fprintf", "(", "stream", ",", "\"[\"", ")", ";", "output_addr_const", "(", "stream", ",", "addr", ".", "symbol", ")", ";", "fprintf", "(", "stream", ",", "\"+%d]\"", ",", "(", "int", ")", "INTVAL", "(", "addr", ".", "disp", ")", ")", ";", "}", "else", "if", "(", "addr", ".", "symbol", ")", "{", "fprintf", "(", "stream", ",", "\"[\"", ")", ";", "output_addr_const", "(", "stream", ",", "addr", ".", "symbol", ")", ";", "fprintf", "(", "stream", ",", "\"]\"", ")", ";", "}", "else", "if", "(", "addr", ".", "disp", "&&", "GET_CODE", "(", "addr", ".", "disp", ")", "==", "CONST_INT", ")", "fprintf", "(", "stream", ",", "\"(%s, %d)\"", ",", "reg_names", "[", "REGNO", "(", "addr", ".", "base", ")", "]", ",", "(", "int", ")", "INTVAL", "(", "addr", ".", "disp", ")", ")", ";", "else", "if", "(", "addr", ".", "disp", "&&", "GET_CODE", "(", "addr", ".", "disp", ")", "==", "UNSPEC", ")", "{", "if", "(", "REGNO", "(", "addr", ".", "base", ")", "!=", "CSKY_GB_REGNUM", ")", "fprintf", "(", "stream", ",", "\"(%s, \"", ",", "reg_names", "[", "REGNO", "(", "addr", ".", "base", ")", "]", ")", ";", "else", "fprintf", "(", "stream", ",", "\"[\"", ")", ";", "csky_output_pic_addr_const", "(", "stream", ",", "addr", ".", "disp", ",", "0", ")", ";", "fprintf", "(", "stream", ",", "\"%s\"", ",", "(", "REGNO", "(", "addr", ".", "base", ")", "!=", "CSKY_GB_REGNUM", ")", "?", "\")\"", ":", "\"]\"", ")", ";", "}", "else", "if", "(", "addr", ".", "index", ")", "fprintf", "(", "stream", ",", "\"(%s, %s << %d)\"", ",", "reg_names", "[", "REGNO", "(", "addr", ".", "base", ")", "]", ",", "reg_names", "[", "REGNO", "(", "addr", ".", "index", ")", "]", ",", "exact_log2", "(", "(", "int", ")", "(", "addr", ".", "scale", ")", ")", ")", ";", "else", "fprintf", "(", "stream", ",", "\"(%s, 0)\"", ",", "reg_names", "[", "REGNO", "(", "addr", ".", "base", ")", "]", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PRINT_OPERAND_ADDRESS", "."], "TS_V_token": ["csky", "\"[\"", "\"+%d]\"", "\"[\"", "\"]\"", "\"[\"", "\"+%d]\"", "\"[\"", "\"]\"", "\"(%s, %d)\"", "\"(%s, \"", "\"[\"", "0", "\"%s\"", "\")\"", "\"]\"", "\"(%s, %s << %d)\"", "\"(%s, 0)\""], "File": "csky", "Func": "csky_print_operand_address", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4778, "Length": 396, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "loongarch_adjust_cost", "(", "rtx_insn", "*", ",", "int", "dep_type", ",", "rtx_insn", "*", ",", "int", "cost", ",", "unsigned", "int", ")", "{", "if", "(", "dep_type", "!=", "0", "&&", "(", "dep_type", "!=", "REG_DEP_OUTPUT", ")", ")", "return", "0", ";", "return", "cost", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SCHED_ADJUST_COST", ".", "We", "assume", "that", "anti", "and", "output", "dependencies", "have", "no", "cost", "."], "TS_V_token": ["loongarch", "0", "0"], "File": "loongarch", "Func": "loongarch_adjust_cost", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4779, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_split_move_insn", "(", "rtx", "dest", ",", "rtx", "src", ",", "rtx", "insn", ")", "{", "mips_split_move", "(", "dest", ",", "src", ",", "mips_insn_split_type", "(", "insn", ")", ")", ";", "}", ""], "natrual_language": ["Split", "a", "move", "from", "SRC", "to", "DEST", "in", "INSN", ",", "given", "that", "mips_split_move_insn_p", "holds", "."], "TS_V_token": ["mips"], "File": "mips4", "Func": "mips_split_move_insn", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4780, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "if", "(", "TRI", "->", "hasBasePointer", "(", "MF", ")", ")", "{", "unsigned", "BasePtr", "=", "TRI", "->", "getBaseRegister", "(", ")", ";", "if", "(", "STI", ".", "isTarget64BitILP32", "(", ")", ")", "BasePtr", "=", "getX86SubSuperRegister", "(", "BasePtr", ",", "64", ")", ";", "SavedRegs", ".", "set", "(", "BasePtr", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["X86", "X86", "X86", "64"], "File": "X86FrameLowering10", "Func": "determineCalleeSaves", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4781, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86DAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "OptForSize", "=", "MF", "->", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "OptimizeForSize", ")", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "I", "++", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", "||", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "TC_RETURN", "&&", "(", "Subtarget", "->", "is64Bit", "(", ")", "||", "getTargetMachine", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", ")", ")", ")", ")", "{", "bool", "HasCallSeq", "=", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", ";", "SDValue", "Chain", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Load", "=", "N", "->", "getOperand", "(", "1", ")", ";", "if", "(", "!", "isCalleeLoad", "(", "Load", ",", "Chain", ",", "HasCallSeq", ")", ")", "continue", ";", "MoveBelowOrigChain", "(", "CurDAG", ",", "Load", ",", "SDValue", "(", "N", ",", "0", ")", ",", "Chain", ")", ";", "++", "NumLoadMoved", ";", "continue", ";", "}", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_ROUND", "&&", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "EVT", "SrcVT", "=", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", ";", "EVT", "DstVT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "if", "(", "SrcVT", ".", "isVector", "(", ")", "||", "DstVT", ".", "isVector", "(", ")", ")", "continue", ";", "bool", "SrcIsSSE", "=", "X86Lowering", ".", "isScalarFPTypeInSSEReg", "(", "SrcVT", ")", ";", "bool", "DstIsSSE", "=", "X86Lowering", ".", "isScalarFPTypeInSSEReg", "(", "DstVT", ")", ";", "if", "(", "SrcIsSSE", "&&", "DstIsSSE", ")", "continue", ";", "if", "(", "!", "SrcIsSSE", "&&", "!", "DstIsSSE", ")", "{", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "if", "(", "N", "->", "getConstantOperandVal", "(", "1", ")", ")", "continue", ";", "}", "EVT", "MemVT", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_ROUND", ")", "MemVT", "=", "DstVT", ";", "else", "MemVT", "=", "SrcIsSSE", "?", "SrcVT", ":", "DstVT", ";", "SDValue", "MemTmp", "=", "CurDAG", "->", "CreateStackTemporary", "(", "MemVT", ")", ";", "DebugLoc", "dl", "=", "N", "->", "getDebugLoc", "(", ")", ";", "SDValue", "Store", "=", "CurDAG", "->", "getTruncStore", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "dl", ",", "N", "->", "getOperand", "(", "0", ")", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "SDValue", "Result", "=", "CurDAG", "->", "getExtLoad", "(", "ISD", "::", "EXTLOAD", ",", "dl", ",", "DstVT", ",", "Store", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "--", "I", ";", "CurDAG", "->", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "0", ")", ",", "Result", ")", ";", "++", "I", ";", "CurDAG", "->", "DeleteNode", "(", "N", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["X86", "X86", "X86ISD::CALL", "X86ISD::TC_RETURN", "X86ISD::CALL", "0", "1", "0", "ISD::FP_ROUND", "ISD::FP_EXTEND", "0", "0", "X86", "X86", "ISD::FP_EXTEND", "1", "ISD::FP_ROUND", "0", "0", "ISD::EXTLOAD", "0", "0"], "File": "X86ISelDAGToDAG103", "Func": "PreprocessISelDAG", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4782, "Length": 458, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "uint64_t", "Address", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "raw_ostream", "&", "O", ")", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Mips", "::", "RDHWR", ":", "case", "Mips", "::", "RDHWR64", ":", "O", "<<", "\"\\t.set\\tpush\\n\"", ";", "O", "<<", "\"\\t.set\\tmips32r2\\n\"", ";", "break", ";", "case", "Mips", "::", "Save16", ":", "O", "<<", "\"\\tsave\\t\"", ";", "printSaveRestore", "(", "MI", ",", "O", ")", ";", "O", "<<", "\" # 16 bit inst\\n\"", ";", "return", ";", "case", "Mips", "::", "SaveX16", ":", "O", "<<", "\"\\tsave\\t\"", ";", "printSaveRestore", "(", "MI", ",", "O", ")", ";", "O", "<<", "\"\\n\"", ";", "return", ";", "case", "Mips", "::", "Restore16", ":", "O", "<<", "\"\\trestore\\t\"", ";", "printSaveRestore", "(", "MI", ",", "O", ")", ";", "O", "<<", "\" # 16 bit inst\\n\"", ";", "return", ";", "case", "Mips", "::", "RestoreX16", ":", "O", "<<", "\"\\trestore\\t\"", ";", "printSaveRestore", "(", "MI", ",", "O", ")", ";", "O", "<<", "\"\\n\"", ";", "return", ";", "}", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "O", ")", "&&", "!", "printAlias", "(", "*", "MI", ",", "O", ")", ")", "printInstruction", "(", "MI", ",", "Address", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Mips", "::", "RDHWR", ":", "case", "Mips", "::", "RDHWR64", ":", "O", "<<", "\"\\n\\t.set\\tpop\"", ";", "}", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["Mips", "Mips", "Mips::RDHWR", "Mips::RDHWR64", "\"\\t.set\\tpush\\n\"", "\"\\t.set\\tmips32r2\\n\"", "Mips::Save16", "\"\\tsave\\t\"", "\" # 16 bit inst\\n\"", "Mips::SaveX16", "\"\\tsave\\t\"", "\"\\n\"", "Mips::Restore16", "\"\\trestore\\t\"", "\" # 16 bit inst\\n\"", "Mips::RestoreX16", "\"\\trestore\\t\"", "\"\\n\"", "Mips::RDHWR", "Mips::RDHWR64", "\"\\n\\t.set\\tpop\""], "File": "MipsInstPrinter27", "Func": "printInst", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4783, "Length": 212, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "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": ["rs6000", "12"], "File": "rs6000-logue", "Func": "rs6000_live_on_entry", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4784, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_advsimd_ldp_stp_p", "(", "enum", "vect_cost_for_stmt", "kind", ",", "stmt_vec_info", "stmt_info", ")", "{", "switch", "(", "kind", ")", "{", "case", "vector_load", ":", "case", "vector_store", ":", "case", "unaligned_load", ":", "case", "unaligned_store", ":", "break", ";", "default", ":", "return", "false", ";", "}", "if", "(", "aarch64_tune_params", ".", "extra_tuning_flags", "&", "AARCH64_EXTRA_TUNE_NO_LDP_STP_QREGS", ")", "return", "false", ";", "return", "is_gimple_assign", "(", "stmt_info", "->", "stmt", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "creating", "multiple", "copies", "of", "STMT_INFO", "for", "Advanced", "SIMD", "vectors", "would", "produce", "a", "series", "of", "LDP", "or", "STP", "operations", ".", "KIND", "is", "the", "kind", "of", "statement", "that", "STMT_INFO", "represents", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_advsimd_ldp_stp_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4785, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_maybe_dead", "(", "rtx", "insn", ")", "{", "REG_NOTES", "(", "insn", ")", "=", "gen_rtx_EXPR_LIST", "(", "REG_MAYBE_DEAD", ",", "const0_rtx", ",", "REG_NOTES", "(", "insn", ")", ")", ";", "}", ""], "natrual_language": ["Add", "a", "REG_MAYBE_DEAD", "note", "to", "the", "insn", "."], "TS_V_token": ["rs6000"], "File": "rs60003", "Func": "rs6000_maybe_dead", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4786, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64AsmPrinter", "::", "emitEndOfAsmFile", "(", "Module", "&", "M", ")", "{", "EmitHwasanMemaccessSymbols", "(", "M", ")", ";", "const", "Triple", "&", "TT", "=", "TM", ".", "getTargetTriple", "(", ")", ";", "if", "(", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "{", "OutStreamer", "->", "emitAssemblerFlag", "(", "MCAF_SubsectionsViaSymbols", ")", ";", "}", "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": ["AArch64", "AArch64"], "File": "AArch64AsmPrinter25", "Func": "emitEndOfAsmFile", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4787, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86ATTAsmParser", "::", "ParseInstruction", "(", "const", "StringRef", "&", "Name", ",", "SMLoc", "NameLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ")", "{", "StringRef", "PatchedName", "=", "StringSwitch", "<", "StringRef", ">", "(", "Name", ")", ".", "Case", "(", "\"sal\"", ",", "\"shl\"", ")", ".", "Case", "(", "\"salb\"", ",", "\"shlb\"", ")", ".", "Case", "(", "\"sall\"", ",", "\"shll\"", ")", ".", "Case", "(", "\"salq\"", ",", "\"shlq\"", ")", ".", "Case", "(", "\"salw\"", ",", "\"shlw\"", ")", ".", "Case", "(", "\"repe\"", ",", "\"rep\"", ")", ".", "Case", "(", "\"repz\"", ",", "\"rep\"", ")", ".", "Case", "(", "\"repnz\"", ",", "\"repne\"", ")", ".", "Default", "(", "Name", ")", ";", "Operands", ".", "push_back", "(", "X86Operand", "::", "CreateToken", "(", "PatchedName", ",", "NameLoc", ")", ")", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Star", ")", ")", "{", "SMLoc", "Loc", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "Operands", ".", "push_back", "(", "X86Operand", "::", "CreateToken", "(", "\"*\"", ",", "Loc", ")", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "}", "if", "(", "X86Operand", "*", "Op", "=", "ParseOperand", "(", ")", ")", "Operands", ".", "push_back", "(", "Op", ")", ";", "else", "return", "true", ";", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "X86Operand", "*", "Op", "=", "ParseOperand", "(", ")", ")", "Operands", ".", "push_back", "(", "Op", ")", ";", "else", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["X86", "X86", "\"sal\"", "\"shl\"", "\"salb\"", "\"shlb\"", "\"sall\"", "\"shll\"", "\"salq\"", "\"shlq\"", "\"salw\"", "\"shlw\"", "\"repe\"", "\"rep\"", "\"repz\"", "\"rep\"", "\"repnz\"", "\"repne\"", "X86Operand::CreateToken", "X86Operand::CreateToken", "\"*\"", "X86", "X86"], "File": "X86AsmParser68", "Func": "ParseInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4788, "Length": 238, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "{", "if", "(", "ExtraCode", "[", "1", "]", "!=", "0", ")", "return", "true", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "default", ":", "return", "true", ";", "case", "'a'", ":", "if", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "isReg", "(", ")", ")", "{", "O", "<<", "\"[\"", "<<", "getRegisterName", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "getReg", "(", ")", ")", "<<", "\"]\"", ";", "return", "false", ";", "}", "case", "'c'", ":", "if", "(", "!", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "isImm", "(", ")", ")", "return", "true", ";", "printNoHashImmediate", "(", "MI", ",", "OpNum", ")", ";", "return", "false", ";", "case", "'P'", ":", "case", "'q'", ":", "printOperand", "(", "MI", ",", "OpNum", ")", ";", "return", "false", ";", "case", "'Q'", ":", "if", "(", "TM", ".", "getTargetData", "(", ")", "->", "isLittleEndian", "(", ")", ")", "break", ";", "case", "'R'", ":", "if", "(", "TM", ".", "getTargetData", "(", ")", "->", "isBigEndian", "(", ")", ")", "break", ";", "case", "'H'", ":", "if", "(", "!", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "isReg", "(", ")", "||", "OpNum", "+", "1", "==", "MI", "->", "getNumOperands", "(", ")", "||", "!", "MI", "->", "getOperand", "(", "OpNum", "+", "1", ")", ".", "isReg", "(", ")", ")", "return", "true", ";", "++", "OpNum", ";", "}", "}", "printOperand", "(", "MI", ",", "OpNum", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["ARM", "ARM", "0", "1", "0", "0", "\"[\"", "\"]\"", "1", "1"], "File": "ARMAsmPrinter100", "Func": "PrintAsmOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4789, "Length": 238, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_emit_multi_reg_pop", "(", "unsigned", "long", "saved_regs_mask", ")", "{", "int", "num_regs", "=", "0", ";", "int", "i", ",", "j", ";", "rtx", "par", ";", "rtx", "dwarf", "=", "NULL_RTX", ";", "rtx", "tmp", ",", "reg", ";", "bool", "return_in_pc", "=", "saved_regs_mask", "&", "(", "1", "<<", "PC_REGNUM", ")", ";", "int", "offset_adj", ";", "int", "emit_update", ";", "offset_adj", "=", "return_in_pc", "?", "1", ":", "0", ";", "for", "(", "i", "=", "0", ";", "i", "<=", "LAST_ARM_REGNUM", ";", "i", "++", ")", "if", "(", "saved_regs_mask", "&", "(", "1", "<<", "i", ")", ")", "num_regs", "++", ";", "gcc_assert", "(", "num_regs", "&&", "num_regs", "<=", "16", ")", ";", "emit_update", "=", "(", "saved_regs_mask", "&", "(", "1", "<<", "SP_REGNUM", ")", ")", "?", "0", ":", "1", ";", "par", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "num_regs", "+", "emit_update", "+", "offset_adj", ")", ")", ";", "if", "(", "return_in_pc", ")", "XVECEXP", "(", "par", ",", "0", ",", "0", ")", "=", "ret_rtx", ";", "if", "(", "emit_update", ")", "{", "tmp", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "4", "*", "num_regs", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "tmp", ")", "=", "1", ";", "XVECEXP", "(", "par", ",", "0", ",", "offset_adj", ")", "=", "tmp", ";", "}", "for", "(", "j", "=", "0", ",", "i", "=", "0", ";", "j", "<", "num_regs", ";", "i", "++", ")", "if", "(", "saved_regs_mask", "&", "(", "1", "<<", "i", ")", ")", "{", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "i", ")", ";", "if", "(", "(", "num_regs", "==", "1", ")", "&&", "emit_update", "&&", "!", "return_in_pc", ")", "{", "tmp", "=", "gen_frame_mem", "(", "SImode", ",", "gen_rtx_POST_INC", "(", "Pmode", ",", "stack_pointer_rtx", ")", ")", ";", "tmp", "=", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "reg", ",", "tmp", ")", ")", ";", "REG_NOTES", "(", "tmp", ")", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "dwarf", ")", ";", "return", ";", "}", "tmp", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "reg", ",", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "4", "*", "j", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "tmp", ")", "=", "1", ";", "XVECEXP", "(", "par", ",", "0", ",", "j", "+", "emit_update", "+", "offset_adj", ")", "=", "tmp", ";", "if", "(", "i", "!=", "PC_REGNUM", ")", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "dwarf", ")", ";", "j", "++", ";", "}", "if", "(", "return_in_pc", ")", "par", "=", "emit_jump_insn", "(", "par", ")", ";", "else", "par", "=", "emit_insn", "(", "par", ")", ";", "REG_NOTES", "(", "par", ")", "=", "dwarf", ";", "if", "(", "!", "return_in_pc", ")", "arm_add_cfa_adjust_cfa_note", "(", "par", ",", "UNITS_PER_WORD", "*", "num_regs", ",", "stack_pointer_rtx", ",", "stack_pointer_rtx", ")", ";", "}", ""], "natrual_language": ["Generate", "and", "emit", "an", "insn", "pattern", "that", "we", "will", "recognize", "as", "a", "pop_multi", ".", "SAVED_REGS_MASK", "shows", "which", "registers", "need", "to", "be", "restored", ".", "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", "0", "1", "1", "0", "0", "1", "16", "1", "0", "1", "0", "0", "4", "1", "0", "0", "0", "1", "1", "4", "1", "0"], "File": "arm4", "Func": "arm_emit_multi_reg_pop", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4790, "Length": 392, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "shouldInsertFencesForAtomic", "(", "const", "Instruction", "*", "I", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Helper", "functions", "for", "atomic", "operations", "."], "TS_V_token": ["VE"], "File": "VEISelLowering", "Func": "shouldInsertFencesForAtomic", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4791, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isShuffleMaskLegal", "(", "const", "SmallVectorImpl", "<", "int", ">", "&", "M", ",", "EVT", "VT", ")", "const", "{", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "isPALIGNRMask", "(", "M", ",", "VT", ",", "Subtarget", "->", "hasSSSE3", "(", ")", "||", "Subtarget", "->", "hasAVX", "(", ")", ")", ";", "return", "(", "VT", ".", "getVectorNumElements", "(", ")", "==", "2", "||", "ShuffleVectorSDNode", "::", "isSplatMask", "(", "&", "M", "[", "0", "]", ",", "VT", ")", "||", "isMOVLMask", "(", "M", ",", "VT", ")", "||", "isSHUFPMask", "(", "M", ",", "VT", ")", "||", "isPSHUFDMask", "(", "M", ",", "VT", ")", "||", "isPSHUFHWMask", "(", "M", ",", "VT", ")", "||", "isPSHUFLWMask", "(", "M", ",", "VT", ")", "||", "isPALIGNRMask", "(", "M", ",", "VT", ",", "Subtarget", "->", "hasSSSE3", "(", ")", "||", "Subtarget", "->", "hasAVX", "(", ")", ")", "||", "isUNPCKLMask", "(", "M", ",", "VT", ")", "||", "isUNPCKHMask", "(", "M", ",", "VT", ")", "||", "isUNPCKL_v_undef_Mask", "(", "M", ",", "VT", ")", "||", "isUNPCKH_v_undef_Mask", "(", "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": ["X86", "X86", "64", "2", "0"], "File": "X86ISelLowering191", "Func": "isShuffleMaskLegal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4792, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mep_rewrite_mulsi3", "(", "rtx_insn", "*", "insn", ",", "rtx", "dest", ",", "rtx", "src1", ",", "rtx", "src2", ")", "{", "rtx", "lo", ",", "pattern", ";", "lo", "=", "gen_rtx_REG", "(", "SImode", ",", "LO_REGNO", ")", ";", "if", "(", "dest", ")", "pattern", "=", "gen_mulsi3r", "(", "lo", ",", "dest", ",", "copy_rtx", "(", "dest", ")", ",", "mep_mulr_source", "(", "insn", ",", "dest", ",", "src1", ",", "src2", ")", ")", ";", "else", "pattern", "=", "gen_mulsi3_lo", "(", "lo", ",", "src1", ",", "src2", ")", ";", "mep_rewrite_mult", "(", "insn", ",", "pattern", ")", ";", "}", ""], "natrual_language": ["Subroutine", "of", "mep_reuse_lo_p", ".", "Rewrite", "instruction", "INSN", "so", "that", "it", "calculates", "SRC1", "*", "SRC2", "and", "stores", "the", "result", "in", "$", "lo", ".", "Also", "make", "it", "store", "the", "result", "in", "DEST", "if", "nonnull", "."], "TS_V_token": ["mep"], "File": "mep", "Func": "mep_rewrite_mulsi3", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4793, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_setup_incoming_varargs", "(", "cumulative_args_t", "cum", ",", "machine_mode", "mode", ",", "tree", "type", ",", "int", "*", "pretend_size", "ATTRIBUTE_UNUSED", ",", "int", "no_rtl", ")", "{", "CUMULATIVE_ARGS", "local_cum", ";", "int", "gp_saved", ",", "fp_saved", ";", "local_cum", "=", "*", "get_cumulative_args", "(", "cum", ")", ";", "mips_function_arg_advance", "(", "pack_cumulative_args", "(", "&", "local_cum", ")", ",", "mode", ",", "type", ",", "true", ")", ";", "gp_saved", "=", "MAX_ARGS_IN_REGISTERS", "-", "local_cum", ".", "num_gprs", ";", "fp_saved", "=", "(", "EABI_FLOAT_VARARGS_P", "?", "MAX_ARGS_IN_REGISTERS", "-", "local_cum", ".", "num_fprs", ":", "0", ")", ";", "if", "(", "!", "no_rtl", ")", "{", "if", "(", "gp_saved", ">", "0", ")", "{", "rtx", "ptr", ",", "mem", ";", "ptr", "=", "plus_constant", "(", "Pmode", ",", "virtual_incoming_args_rtx", ",", "REG_PARM_STACK_SPACE", "(", "cfun", "->", "decl", ")", "-", "gp_saved", "*", "UNITS_PER_WORD", ")", ";", "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", "(", "fp_saved", ">", "0", ")", "{", "machine_mode", "mode", ";", "int", "off", ",", "i", ";", "off", "=", "ROUND_DOWN", "(", "-", "gp_saved", "*", "UNITS_PER_WORD", ",", "UNITS_PER_FPVALUE", ")", ";", "off", "-=", "fp_saved", "*", "UNITS_PER_FPREG", ";", "mode", "=", "TARGET_SINGLE_FLOAT", "?", "SFmode", ":", "DFmode", ";", "for", "(", "i", "=", "local_cum", ".", "num_fprs", ";", "i", "<", "MAX_ARGS_IN_REGISTERS", ";", "i", "+=", "MAX_FPRS_PER_FMT", ")", "{", "rtx", "ptr", ",", "mem", ";", "ptr", "=", "plus_constant", "(", "Pmode", ",", "virtual_incoming_args_rtx", ",", "off", ")", ";", "mem", "=", "gen_frame_mem", "(", "mode", ",", "ptr", ")", ";", "set_mem_alias_set", "(", "mem", ",", "get_varargs_alias_set", "(", ")", ")", ";", "mips_emit_move", "(", "mem", ",", "gen_rtx_REG", "(", "mode", ",", "FP_ARG_FIRST", "+", "i", ")", ")", ";", "off", "+=", "UNITS_PER_HWFPVALUE", ";", "}", "}", "}", "if", "(", "REG_PARM_STACK_SPACE", "(", "cfun", "->", "decl", ")", "==", "0", ")", "cfun", "->", "machine", "->", "varargs_size", "=", "(", "gp_saved", "*", "UNITS_PER_WORD", "+", "fp_saved", "*", "UNITS_PER_FPREG", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["mips", "0", "0", "0", "0"], "File": "mips5", "Func": "mips_setup_incoming_varargs", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4794, "Length": 286, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "SDLoc", "DL", ",", "SelectionDAG", "&", "DAG", ")", "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", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC", ")", ";", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "RetOps", "(", "1", ",", "Chain", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "realRVLocIdx", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ",", "++", "realRVLocIdx", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "SDValue", "Arg", "=", "OutVals", "[", "realRVLocIdx", "]", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown loc info!\"", ")", ";", "case", "CCValAssign", "::", "Full", ":", "if", "(", "Outs", "[", "i", "]", ".", "ArgVT", "==", "MVT", "::", "i1", ")", "{", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "TRUNCATE", ",", "DL", ",", "MVT", "::", "i1", ",", "Arg", ")", ";", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ZERO_EXTEND", ",", "DL", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "}", "break", ";", "case", "CCValAssign", "::", "BCvt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "DL", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "}", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "VA", ".", "getLocReg", "(", ")", ",", "Arg", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "}", "const", "AArch64RegisterInfo", "*", "TRI", "=", "Subtarget", "->", "getRegisterInfo", "(", ")", ";", "const", "MCPhysReg", "*", "I", "=", "TRI", "->", "getCalleeSavedRegsViaCopy", "(", "&", "DAG", ".", "getMachineFunction", "(", ")", ")", ";", "if", "(", "I", ")", "{", "for", "(", ";", "*", "I", ";", "++", "I", ")", "{", "if", "(", "AArch64", "::", "GPR64RegClass", ".", "contains", "(", "*", "I", ")", ")", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "*", "I", ",", "MVT", "::", "i64", ")", ")", ";", "else", "if", "(", "AArch64", "::", "FPR64RegClass", ".", "contains", "(", "*", "I", ")", ")", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "*", "I", ",", "MVT", "::", "getFloatingPointVT", "(", "64", ")", ")", ")", ";", "else", "llvm_unreachable", "(", "\"Unexpected register class in CSRsViaCopy!\"", ")", ";", "}", "}", "RetOps", "[", "0", "]", "=", "Chain", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "RetOps", ".", "push_back", "(", "Flag", ")", ";", "return", "DAG", ".", "getNode", "(", "AArch64ISD", "::", "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": ["AArch64", "AArch64", "ISD::OutputArg", "AArch64", "AArch64", "16", "4", "1", "0", "0", "\"Can only return in registers!\"", "\"Unknown loc info!\"", "MVT::i1", "ISD::TRUNCATE", "MVT::i1", "ISD::ZERO_EXTEND", "ISD::BITCAST", "1", "AArch64", "AArch64::GPR64RegClass", "MVT::i64", "AArch64::FPR64RegClass", "MVT::getFloatingPointVT", "64", "\"Unexpected register class in CSRsViaCopy!\"", "0", "AArch64ISD::RET_FLAG", "MVT::Other"], "File": "AArch64ISelLowering (2)1", "Func": "LowerReturn", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4795, "Length": 481, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "expand_vec_perm_vpshufb2_vpermq_even_odd", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "rtx", "rperm", "[", "2", "]", "[", "32", "]", ",", "vperm", ",", "l", ",", "h", ",", "ior", ",", "op", ",", "m128", ";", "unsigned", "int", "i", ",", "nelt", ",", "eltsz", ";", "if", "(", "!", "TARGET_AVX2", "||", "d", "->", "one_operand_p", "||", "(", "d", "->", "vmode", "!=", "V32QImode", "&&", "d", "->", "vmode", "!=", "V16HImode", ")", ")", "return", "false", ";", "for", "(", "i", "=", "0", ";", "i", "<", "d", "->", "nelt", ";", "++", "i", ")", "if", "(", "(", "d", "->", "perm", "[", "i", "]", "^", "(", "i", "*", "2", ")", ")", "&", "(", "3", "*", "d", "->", "nelt", "/", "2", ")", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "nelt", "=", "d", "->", "nelt", ";", "eltsz", "=", "GET_MODE_SIZE", "(", "GET_MODE_INNER", "(", "d", "->", "vmode", ")", ")", ";", "m128", "=", "GEN_INT", "(", "-", "128", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "{", "unsigned", "j", ",", "e", "=", "d", "->", "perm", "[", "i", "]", "&", "(", "nelt", "/", "2", "-", "1", ")", ";", "unsigned", "which", "=", "d", "->", "perm", "[", "i", "]", ">=", "nelt", ";", "unsigned", "xorv", "=", "(", "i", ">=", "nelt", "/", "4", "&&", "i", "<", "3", "*", "nelt", "/", "4", ")", "?", "24", ":", "0", ";", "for", "(", "j", "=", "0", ";", "j", "<", "eltsz", ";", "++", "j", ")", "{", "rperm", "[", "which", "]", "[", "(", "i", "*", "eltsz", "+", "j", ")", "^", "xorv", "]", "=", "GEN_INT", "(", "e", "*", "eltsz", "+", "j", ")", ";", "rperm", "[", "1", "-", "which", "]", "[", "(", "i", "*", "eltsz", "+", "j", ")", "^", "xorv", "]", "=", "m128", ";", "}", "}", "vperm", "=", "gen_rtx_CONST_VECTOR", "(", "V32QImode", ",", "gen_rtvec_v", "(", "32", ",", "rperm", "[", "0", "]", ")", ")", ";", "vperm", "=", "force_reg", "(", "V32QImode", ",", "vperm", ")", ";", "l", "=", "gen_reg_rtx", "(", "V32QImode", ")", ";", "op", "=", "gen_lowpart", "(", "V32QImode", ",", "d", "->", "op0", ")", ";", "emit_insn", "(", "gen_avx2_pshufbv32qi3", "(", "l", ",", "op", ",", "vperm", ")", ")", ";", "vperm", "=", "gen_rtx_CONST_VECTOR", "(", "V32QImode", ",", "gen_rtvec_v", "(", "32", ",", "rperm", "[", "1", "]", ")", ")", ";", "vperm", "=", "force_reg", "(", "V32QImode", ",", "vperm", ")", ";", "h", "=", "gen_reg_rtx", "(", "V32QImode", ")", ";", "op", "=", "gen_lowpart", "(", "V32QImode", ",", "d", "->", "op1", ")", ";", "emit_insn", "(", "gen_avx2_pshufbv32qi3", "(", "h", ",", "op", ",", "vperm", ")", ")", ";", "ior", "=", "gen_reg_rtx", "(", "V32QImode", ")", ";", "emit_insn", "(", "gen_iorv32qi3", "(", "ior", ",", "l", ",", "h", ")", ")", ";", "op", "=", "gen_reg_rtx", "(", "V4DImode", ")", ";", "ior", "=", "gen_lowpart", "(", "V4DImode", ",", "ior", ")", ";", "emit_insn", "(", "gen_avx2_permv4di_1", "(", "op", ",", "ior", ",", "const0_rtx", ",", "const2_rtx", ",", "const1_rtx", ",", "GEN_INT", "(", "3", ")", ")", ")", ";", "emit_move_insn", "(", "d", "->", "target", ",", "gen_lowpart", "(", "d", "->", "vmode", ",", "op", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "expand_vec_perm_even_odd_1", ".", "Implement", "extract-even", "and", "extract-odd", "permutations", "of", "two", "V32QImode", "and", "V16QImode", "operand", "with", "two", "vpshufb", "insns", ",", "vpor", "and", "vpermq", ".", "We", "should", "have", "already", "failed", "all", "two", "or", "three", "instruction", "sequences", "."], "TS_V_token": ["i386", "2", "32", "0", "2", "3", "2", "128", "0", "2", "1", "4", "3", "4", "24", "0", "0", "1", "32", "0", "32", "1", "3"], "File": "i3864", "Func": "expand_vec_perm_vpshufb2_vpermq_even_odd", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4796, "Length": 463, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "get_some_local_dynamic_name", "(", "void", ")", "{", "rtx", "insn", ";", "if", "(", "cfun", "->", "machine", "->", "some_ld_name", ")", "return", "cfun", "->", "machine", "->", "some_ld_name", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "if", "(", "INSN_P", "(", "insn", ")", "&&", "for_each_rtx", "(", "&", "PATTERN", "(", "insn", ")", ",", "get_some_local_dynamic_name_1", ",", "0", ")", ")", "return", "cfun", "->", "machine", "->", "some_ld_name", ";", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Locate", "some", "local-dynamic", "symbol", "still", "in", "use", "by", "this", "function", "so", "that", "we", "can", "print", "its", "name", "in", "local-dynamic", "base", "patterns", "."], "TS_V_token": ["sparc", "0"], "File": "sparc3", "Func": "get_some_local_dynamic_name", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4797, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "SICRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "static", "const", "uint16_t", "ReservedCPURegs", "[", "]", "=", "{", "SIC", "::", "X", ",", "SIC", "::", "PC", "}", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "ReservedCPURegs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedCPURegs", "[", "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": ["SIC", "SIC", "SIC::X", "SIC::PC", "0"], "File": "SICRegisterInfo", "Func": "getReservedRegs", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4798, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseInstrInfo", "::", "getNumMicroOps", "(", "const", "InstrItineraryData", "*", "ItinData", ",", "const", "MachineInstr", "*", "MI", ")", "const", "{", "if", "(", "!", "ItinData", "||", "ItinData", "->", "isEmpty", "(", ")", ")", "return", "1", ";", "const", "MCInstrDesc", "&", "Desc", "=", "MI", "->", "getDesc", "(", ")", ";", "unsigned", "Class", "=", "Desc", ".", "getSchedClass", "(", ")", ";", "unsigned", "UOps", "=", "ItinData", "->", "Itineraries", "[", "Class", "]", ".", "NumMicroOps", ";", "if", "(", "UOps", ")", "return", "UOps", ";", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected multi-uops instruction!\"", ")", ";", "break", ";", "case", "ARM", "::", "VLDMQIA", ":", "case", "ARM", "::", "VSTMQIA", ":", "return", "2", ";", "case", "ARM", "::", "VLDMDIA", ":", "case", "ARM", "::", "VLDMDIA_UPD", ":", "case", "ARM", "::", "VLDMDDB_UPD", ":", "case", "ARM", "::", "VLDMSIA", ":", "case", "ARM", "::", "VLDMSIA_UPD", ":", "case", "ARM", "::", "VLDMSDB_UPD", ":", "case", "ARM", "::", "VSTMDIA", ":", "case", "ARM", "::", "VSTMDIA_UPD", ":", "case", "ARM", "::", "VSTMDDB_UPD", ":", "case", "ARM", "::", "VSTMSIA", ":", "case", "ARM", "::", "VSTMSIA_UPD", ":", "case", "ARM", "::", "VSTMSDB_UPD", ":", "{", "unsigned", "NumRegs", "=", "MI", "->", "getNumOperands", "(", ")", "-", "Desc", ".", "getNumOperands", "(", ")", ";", "return", "(", "NumRegs", "/", "2", ")", "+", "(", "NumRegs", "%", "2", ")", "+", "1", ";", "}", "case", "ARM", "::", "LDMIA_RET", ":", "case", "ARM", "::", "LDMIA", ":", "case", "ARM", "::", "LDMDA", ":", "case", "ARM", "::", "LDMDB", ":", "case", "ARM", "::", "LDMIB", ":", "case", "ARM", "::", "LDMIA_UPD", ":", "case", "ARM", "::", "LDMDA_UPD", ":", "case", "ARM", "::", "LDMDB_UPD", ":", "case", "ARM", "::", "LDMIB_UPD", ":", "case", "ARM", "::", "STMIA", ":", "case", "ARM", "::", "STMDA", ":", "case", "ARM", "::", "STMDB", ":", "case", "ARM", "::", "STMIB", ":", "case", "ARM", "::", "STMIA_UPD", ":", "case", "ARM", "::", "STMDA_UPD", ":", "case", "ARM", "::", "STMDB_UPD", ":", "case", "ARM", "::", "STMIB_UPD", ":", "case", "ARM", "::", "tLDMIA", ":", "case", "ARM", "::", "tLDMIA_UPD", ":", "case", "ARM", "::", "tSTMIA_UPD", ":", "case", "ARM", "::", "tPOP_RET", ":", "case", "ARM", "::", "tPOP", ":", "case", "ARM", "::", "tPUSH", ":", "case", "ARM", "::", "t2LDMIA_RET", ":", "case", "ARM", "::", "t2LDMIA", ":", "case", "ARM", "::", "t2LDMDB", ":", "case", "ARM", "::", "t2LDMIA_UPD", ":", "case", "ARM", "::", "t2LDMDB_UPD", ":", "case", "ARM", "::", "t2STMIA", ":", "case", "ARM", "::", "t2STMDB", ":", "case", "ARM", "::", "t2STMIA_UPD", ":", "case", "ARM", "::", "t2STMDB_UPD", ":", "{", "unsigned", "NumRegs", "=", "MI", "->", "getNumOperands", "(", ")", "-", "Desc", ".", "getNumOperands", "(", ")", "+", "1", ";", "if", "(", "Subtarget", ".", "isCortexA8", "(", ")", ")", "{", "if", "(", "NumRegs", "<", "4", ")", "return", "2", ";", "UOps", "=", "(", "NumRegs", "/", "2", ")", ";", "if", "(", "NumRegs", "%", "2", ")", "++", "UOps", ";", "return", "UOps", ";", "}", "else", "if", "(", "Subtarget", ".", "isCortexA9", "(", ")", ")", "{", "UOps", "=", "(", "NumRegs", "/", "2", ")", ";", "if", "(", "(", "NumRegs", "%", "2", ")", "||", "!", "MI", "->", "hasOneMemOperand", "(", ")", "||", "(", "*", "MI", "->", "memoperands_begin", "(", ")", ")", "->", "getAlignment", "(", ")", "<", "8", ")", "++", "UOps", ";", "return", "UOps", ";", "}", "else", "{", "return", "NumRegs", ";", "}", "}", "}", "}", ""], "natrual_language": ["Return", "the", "number", "of", "issue", "slots", "required", "for", "this", "MI", "."], "TS_V_token": ["ARM", "ARM", "1", "\"Unexpected multi-uops instruction!\"", "ARM::VLDMQIA", "ARM::VSTMQIA", "2", "ARM::VLDMDIA", "ARM::VLDMDIA_UPD", "ARM::VLDMDDB_UPD", "ARM::VLDMSIA", "ARM::VLDMSIA_UPD", "ARM::VLDMSDB_UPD", "ARM::VSTMDIA", "ARM::VSTMDIA_UPD", "ARM::VSTMDDB_UPD", "ARM::VSTMSIA", "ARM::VSTMSIA_UPD", "ARM::VSTMSDB_UPD", "2", "2", "1", "ARM::LDMIA_RET", "ARM::LDMIA", "ARM::LDMDA", "ARM::LDMDB", "ARM::LDMIB", "ARM::LDMIA_UPD", "ARM::LDMDA_UPD", "ARM::LDMDB_UPD", "ARM::LDMIB_UPD", "ARM::STMIA", "ARM::STMDA", "ARM::STMDB", "ARM::STMIB", "ARM::STMIA_UPD", "ARM::STMDA_UPD", "ARM::STMDB_UPD", "ARM::STMIB_UPD", "ARM::tLDMIA", "ARM::tLDMIA_UPD", "ARM::tSTMIA_UPD", "ARM::tPOP_RET", "ARM::tPOP", "ARM::tPUSH", "ARM::t2LDMIA_RET", "ARM::t2LDMIA", "ARM::t2LDMDB", "ARM::t2LDMIA_UPD", "ARM::t2LDMDB_UPD", "ARM::t2STMIA", "ARM::t2STMDB", "ARM::t2STMIA_UPD", "ARM::t2STMDB_UPD", "1", "4", "2", "2", "2", "2", "2", "8"], "File": "ARMBaseInstrInfo108", "Func": "getNumMicroOps", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4799, "Length": 479, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "UnwindOpcodeAssembler", "::", "EmitVFPRegSave", "(", "uint32_t", "VFPRegSave", ")", "{", "for", "(", "uint32_t", "Regs", ":", "{", "VFPRegSave", "&", "0xffff0000u", ",", "VFPRegSave", "&", "0x0000ffffu", "}", ")", "{", "while", "(", "Regs", ")", "{", "auto", "RangeMSB", "=", "32", "-", "countLeadingZeros", "(", "Regs", ")", ";", "auto", "RangeLen", "=", "countLeadingOnes", "(", "Regs", "<<", "(", "32", "-", "RangeMSB", ")", ")", ";", "auto", "RangeLSB", "=", "RangeMSB", "-", "RangeLen", ";", "int", "Opcode", "=", "RangeLSB", ">=", "16", "?", "ARM", "::", "EHABI", "::", "UNWIND_OPCODE_POP_VFP_REG_RANGE_FSTMFDD_D16", ":", "ARM", "::", "EHABI", "::", "UNWIND_OPCODE_POP_VFP_REG_RANGE_FSTMFDD", ";", "EmitInt16", "(", "Opcode", "|", "(", "(", "RangeLSB", "%", "16", ")", "<<", "4", ")", "|", "(", "RangeLen", "-", "1", ")", ")", ";", "Regs", "&=", "~", "(", "-", "1u", "<<", "RangeLSB", ")", ";", "}", "}", "}", ""], "natrual_language": ["Emit", "unwind", "opcodes", "for", ".vsave", "directives", "."], "TS_V_token": ["ARM", "0xffff0000u", "0x0000ffffu", "32", "32", "16", "ARM::EHABI", "ARM::EHABI", "16", "4", "1", "1u"], "File": "ARMUnwindOpAsm (2)", "Func": "EmitVFPRegSave", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4800, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_legitimize_tls_address", "(", "rtx", "loc", ")", "{", "rtx", "dest", ",", "insn", ",", "v0", ",", "v1", ",", "tmp1", ",", "tmp2", ",", "eqv", ";", "enum", "tls_model", "model", ";", "v0", "=", "gen_rtx_REG", "(", "Pmode", ",", "GP_RETURN", ")", ";", "v1", "=", "gen_rtx_REG", "(", "Pmode", ",", "GP_RETURN", "+", "1", ")", ";", "model", "=", "SYMBOL_REF_TLS_MODEL", "(", "loc", ")", ";", "switch", "(", "model", ")", "{", "case", "TLS_MODEL_GLOBAL_DYNAMIC", ":", "insn", "=", "mips_call_tls_get_addr", "(", "loc", ",", "SYMBOL_TLSGD", ",", "v0", ")", ";", "dest", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_libcall_block", "(", "insn", ",", "dest", ",", "v0", ",", "loc", ")", ";", "break", ";", "case", "TLS_MODEL_LOCAL_DYNAMIC", ":", "insn", "=", "mips_call_tls_get_addr", "(", "loc", ",", "SYMBOL_TLSLDM", ",", "v0", ")", ";", "tmp1", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "eqv", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "const0_rtx", ")", ",", "UNSPEC_TLS_LDM", ")", ";", "emit_libcall_block", "(", "insn", ",", "tmp1", ",", "v0", ",", "eqv", ")", ";", "tmp2", "=", "mips_unspec_offset_high", "(", "NULL", ",", "tmp1", ",", "loc", ",", "SYMBOL_DTPREL", ")", ";", "dest", "=", "gen_rtx_LO_SUM", "(", "Pmode", ",", "tmp2", ",", "mips_unspec_address", "(", "loc", ",", "SYMBOL_DTPREL", ")", ")", ";", "break", ";", "case", "TLS_MODEL_INITIAL_EXEC", ":", "tmp1", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "tmp2", "=", "mips_unspec_address", "(", "loc", ",", "SYMBOL_GOTTPREL", ")", ";", "if", "(", "Pmode", "==", "DImode", ")", "{", "emit_insn", "(", "gen_tls_get_tp_di", "(", "v1", ")", ")", ";", "emit_insn", "(", "gen_load_gotdi", "(", "tmp1", ",", "pic_offset_table_rtx", ",", "tmp2", ")", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_tls_get_tp_si", "(", "v1", ")", ")", ";", "emit_insn", "(", "gen_load_gotsi", "(", "tmp1", ",", "pic_offset_table_rtx", ",", "tmp2", ")", ")", ";", "}", "dest", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "dest", ",", "tmp1", ",", "v1", ")", ")", ";", "break", ";", "case", "TLS_MODEL_LOCAL_EXEC", ":", "if", "(", "Pmode", "==", "DImode", ")", "emit_insn", "(", "gen_tls_get_tp_di", "(", "v1", ")", ")", ";", "else", "emit_insn", "(", "gen_tls_get_tp_si", "(", "v1", ")", ")", ";", "tmp1", "=", "mips_unspec_offset_high", "(", "NULL", ",", "v1", ",", "loc", ",", "SYMBOL_TPREL", ")", ";", "dest", "=", "gen_rtx_LO_SUM", "(", "Pmode", ",", "tmp1", ",", "mips_unspec_address", "(", "loc", ",", "SYMBOL_TPREL", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "dest", ";", "}", ""], "natrual_language": ["Generate", "the", "code", "to", "access", "LOC", ",", "a", "thread", "local", "SYMBOL_REF", ".", "The", "return", "value", "will", "be", "a", "valid", "address", "and", "move_operand", "(", "either", "a", "REG", "or", "a", "LO_SUM", ")", "."], "TS_V_token": ["mips", "1", "1"], "File": "mips3", "Func": "mips_legitimize_tls_address", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4801, "Length": 331, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "X86_64MachoTargetObjectFile", "::", "getTTypeGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "Mangler", "*", "Mang", ",", "MachineModuleInfo", "*", "MMI", ",", "unsigned", "Encoding", ",", "MCStreamer", "&", "Streamer", ")", "const", "{", "if", "(", "Encoding", "&", "(", "DW_EH_PE_indirect", "|", "DW_EH_PE_pcrel", ")", ")", "{", "const", "MCSymbol", "*", "Sym", "=", "Mang", "->", "getSymbol", "(", "GV", ")", ";", "const", "MCExpr", "*", "Res", "=", "MCSymbolRefExpr", "::", "Create", "(", "Sym", ",", "MCSymbolRefExpr", "::", "VK_GOTPCREL", ",", "getContext", "(", ")", ")", ";", "const", "MCExpr", "*", "Four", "=", "MCConstantExpr", "::", "Create", "(", "4", ",", "getContext", "(", ")", ")", ";", "return", "MCBinaryExpr", "::", "CreateAdd", "(", "Res", ",", "Four", ",", "getContext", "(", ")", ")", ";", "}", "return", "TargetLoweringObjectFileMachO", "::", "getTTypeGlobalReference", "(", "GV", ",", "Mang", ",", "MMI", ",", "Encoding", ",", "Streamer", ")", ";", "}", ""], "natrual_language": ["The", "mach-o", "version", "of", "this", "method", "defaults", "to", "returning", "a", "stub", "reference", "."], "TS_V_token": ["X86", "X86", "4"], "File": "X86TargetObjectFile11", "Func": "getTTypeGlobalReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4802, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0AsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "size_t", "Start", "=", "0", ",", "Next", "=", "Name", ".", "find", "(", "'.'", ")", ";", "StringRef", "Mnemonic", "=", "Name", ".", "slice", "(", "Start", ",", "Next", ")", ";", "if", "(", "Mnemonic", "==", "\"ret\"", ")", "Mnemonic", "=", "\"jr\"", ";", "Operands", ".", "push_back", "(", "Cpu0Operand", "::", "CreateToken", "(", "Mnemonic", ",", "NameLoc", ")", ")", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "ParseOperand", "(", "Operands", ",", "Name", ")", ")", "{", "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": ["Cpu0", "Cpu0", "0", "\"ret\"", "\"jr\"", "Cpu0Operand::CreateToken", "\"unexpected token in argument list\"", "\"unexpected token in argument list\"", "\"unexpected token in argument list\""], "File": "Cpu0AsmParser", "Func": "ParseInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4803, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_need_noat_wrapper_p", "(", "rtx_insn", "*", "insn", ",", "rtx", "*", "opvec", ",", "int", "noperands", ")", "{", "if", "(", "recog_memoized", "(", "insn", ")", ">=", "0", ")", "{", "subrtx_iterator", "::", "array_type", "array", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "noperands", ";", "i", "++", ")", "FOR_EACH_SUBRTX", "(", "iter", ",", "array", ",", "opvec", "[", "i", "]", ",", "NONCONST", ")", "if", "(", "REG_P", "(", "*", "iter", ")", "&&", "REGNO", "(", "*", "iter", ")", "==", "AT_REGNUM", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "INSN", "needs", "to", "be", "wrapped", "in", "``", ".set", "noat", "''", ".", "INSN", "has", "NOPERANDS", "operands", ",", "stored", "in", "OPVEC", "."], "TS_V_token": ["mips", "0", "0"], "File": "mips", "Func": "mips_need_noat_wrapper_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4804, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FISCAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "int", "Offset", "=", "0", ";", "if", "(", "ExtraCode", ")", "return", "true", ";", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "assert", "(", "MO", ".", "isReg", "(", ")", "&&", "\"unexpected inline asm memory operand\"", ")", ";", "O", "<<", "\"[\"", "<<", "FISCInstPrinter", "::", "getRegisterName", "(", "MO", ".", "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": ["FISC", "FISC", "0", "\"unexpected inline asm memory operand\"", "\"[\"", "FISC", "\", \"", "\"]\""], "File": "FISCAsmPrinter", "Func": "PrintAsmMemoryOperand", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4805, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_gen_atomic_ldop", "(", "enum", "rtx_code", "code", ",", "rtx", "out_data", ",", "rtx", "out_result", ",", "rtx", "mem", ",", "rtx", "value", ",", "rtx", "model_rtx", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "machine_mode", "wmode", "=", "(", "mode", "==", "DImode", "?", "DImode", ":", "SImode", ")", ";", "const", "bool", "short_mode", "=", "(", "mode", "<", "SImode", ")", ";", "aarch64_atomic_load_op_code", "ldop_code", ";", "rtx", "src", ";", "rtx", "x", ";", "if", "(", "out_data", ")", "out_data", "=", "gen_lowpart", "(", "mode", ",", "out_data", ")", ";", "if", "(", "out_result", ")", "out_result", "=", "gen_lowpart", "(", "mode", ",", "out_result", ")", ";", "if", "(", "!", "register_operand", "(", "value", ",", "mode", ")", "||", "code", "==", "AND", "||", "code", "==", "MINUS", ")", "{", "src", "=", "out_result", "?", "out_result", ":", "out_data", ";", "emit_move_insn", "(", "src", ",", "gen_lowpart", "(", "mode", ",", "value", ")", ")", ";", "}", "else", "src", "=", "value", ";", "gcc_assert", "(", "register_operand", "(", "src", ",", "mode", ")", ")", ";", "switch", "(", "code", ")", "{", "case", "SET", ":", "aarch64_emit_atomic_swap", "(", "mode", ",", "out_data", ",", "src", ",", "mem", ",", "model_rtx", ")", ";", "return", ";", "case", "MINUS", ":", "{", "rtx", "neg_src", ";", "if", "(", "short_mode", ")", "src", "=", "gen_lowpart", "(", "wmode", ",", "src", ")", ";", "neg_src", "=", "gen_rtx_NEG", "(", "wmode", ",", "src", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "src", ",", "neg_src", ")", ")", ";", "if", "(", "short_mode", ")", "src", "=", "gen_lowpart", "(", "mode", ",", "src", ")", ";", "}", "case", "PLUS", ":", "ldop_code", "=", "AARCH64_LDOP_PLUS", ";", "break", ";", "case", "IOR", ":", "ldop_code", "=", "AARCH64_LDOP_OR", ";", "break", ";", "case", "XOR", ":", "ldop_code", "=", "AARCH64_LDOP_XOR", ";", "break", ";", "case", "AND", ":", "{", "rtx", "not_src", ";", "if", "(", "short_mode", ")", "src", "=", "gen_lowpart", "(", "wmode", ",", "src", ")", ";", "not_src", "=", "gen_rtx_NOT", "(", "wmode", ",", "src", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "src", ",", "not_src", ")", ")", ";", "if", "(", "short_mode", ")", "src", "=", "gen_lowpart", "(", "mode", ",", "src", ")", ";", "}", "ldop_code", "=", "AARCH64_LDOP_BIC", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "aarch64_emit_atomic_load_op", "(", "ldop_code", ",", "mode", ",", "out_data", ",", "src", ",", "mem", ",", "model_rtx", ")", ";", "if", "(", "!", "out_result", ")", "return", ";", "if", "(", "short_mode", ")", "{", "src", "=", "gen_lowpart", "(", "wmode", ",", "src", ")", ";", "out_data", "=", "gen_lowpart", "(", "wmode", ",", "out_data", ")", ";", "out_result", "=", "gen_lowpart", "(", "wmode", ",", "out_result", ")", ";", "}", "x", "=", "NULL_RTX", ";", "switch", "(", "code", ")", "{", "case", "MINUS", ":", "case", "PLUS", ":", "x", "=", "gen_rtx_PLUS", "(", "wmode", ",", "out_data", ",", "src", ")", ";", "break", ";", "case", "IOR", ":", "x", "=", "gen_rtx_IOR", "(", "wmode", ",", "out_data", ",", "src", ")", ";", "break", ";", "case", "XOR", ":", "x", "=", "gen_rtx_XOR", "(", "wmode", ",", "out_data", ",", "src", ")", ";", "break", ";", "case", "AND", ":", "aarch64_emit_bic", "(", "wmode", ",", "out_result", ",", "out_data", ",", "src", ",", "0", ")", ";", "return", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "emit_set_insn", "(", "out_result", ",", "x", ")", ";", "return", ";", "}", ""], "natrual_language": ["Emit", "an", "atomic", "load+operate", ".", "CODE", "is", "the", "operation", ".", "OUT_DATA", "is", "the", "location", "to", "store", "the", "data", "read", "from", "memory", ".", "OUT_RESULT", "is", "the", "location", "to", "store", "the", "result", "of", "the", "operation", ".", "MEM", "is", "the", "memory", "location", "to", "read", "and", "modify", ".", "MODEL_RTX", "is", "the", "memory", "ordering", "to", "use", ".", "VALUE", "is", "the", "second", "operand", "for", "the", "operation", ".", "Either", "OUT_DATA", "or", "OUT_RESULT", ",", "but", "not", "both", ",", "can", "be", "NULL", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch643", "Func": "aarch64_gen_atomic_ldop", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4806, "Length": 463, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ")", "{", "size_t", "CondCodePos", "=", "Name", ".", "find", "(", "'.'", ")", ";", "StringRef", "Mnemonic", "=", "Name", ".", "substr", "(", "0", ",", "CondCodePos", ")", ";", "Operands", ".", "push_back", "(", "AArch64Operand", "::", "CreateToken", "(", "Mnemonic", ",", "NameLoc", ")", ")", ";", "if", "(", "CondCodePos", "!=", "StringRef", "::", "npos", ")", "{", "SMLoc", "S", "=", "SMLoc", "::", "getFromPointer", "(", "NameLoc", ".", "getPointer", "(", ")", "+", "CondCodePos", "+", "1", ")", ";", "StringRef", "CondStr", "=", "Name", ".", "substr", "(", "CondCodePos", "+", "1", ",", "StringRef", "::", "npos", ")", ";", "A64CC", "::", "CondCodes", "Code", ";", "Code", "=", "A64StringToCondCode", "(", "CondStr", ")", ";", "if", "(", "Code", "==", "A64CC", "::", "Invalid", ")", "{", "Error", "(", "S", ",", "\"invalid condition code\"", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "true", ";", "}", "SMLoc", "DotL", "=", "SMLoc", "::", "getFromPointer", "(", "NameLoc", ".", "getPointer", "(", ")", "+", "CondCodePos", ")", ";", "Operands", ".", "push_back", "(", "AArch64Operand", "::", "CreateToken", "(", "\".\"", ",", "DotL", ")", ")", ";", "SMLoc", "E", "=", "SMLoc", "::", "getFromPointer", "(", "NameLoc", ".", "getPointer", "(", ")", "+", "CondCodePos", "+", "3", ")", ";", "Operands", ".", "push_back", "(", "AArch64Operand", "::", "CreateCondCode", "(", "Code", ",", "S", ",", "E", ")", ")", ";", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "ParseOperand", "(", "Operands", ",", "Mnemonic", ")", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "true", ";", "}", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "ParseOperand", "(", "Operands", ",", "Mnemonic", ")", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "true", ";", "}", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "is", "(", "AsmToken", "::", "RBrac", ")", ")", "{", "SMLoc", "Loc", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "Operands", ".", "push_back", "(", "AArch64Operand", "::", "CreateToken", "(", "\"]\"", ",", "Loc", ")", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "}", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "is", "(", "AsmToken", "::", "Exclaim", ")", ")", "{", "SMLoc", "Loc", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "Operands", ".", "push_back", "(", "AArch64Operand", "::", "CreateToken", "(", "\"!\"", ",", "Loc", ")", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "}", "}", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"expected comma before next operand\"", ")", ";", "}", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["AArch64", "AArch64", "0", "AArch64", "1", "1", "A64CC::CondCodes", "A64CC::Invalid", "\"invalid condition code\"", "AArch64", "\".\"", "3", "AArch64", "AArch64", "\"]\"", "AArch64", "\"!\"", "\"expected comma before next operand\""], "File": "AArch64AsmParser13", "Func": "ParseInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4807, "Length": 432, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_split_compare_and_swap", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "rval", ",", "mem", ",", "oldval", ",", "newval", ",", "scratch", ";", "machine_mode", "mode", ";", "bool", "is_weak", ";", "rtx_code_label", "*", "label1", ",", "*", "label2", ";", "rtx", "x", ",", "cond", ";", "enum", "memmodel", "model", ";", "rtx", "model_rtx", ";", "rval", "=", "operands", "[", "0", "]", ";", "mem", "=", "operands", "[", "1", "]", ";", "oldval", "=", "operands", "[", "2", "]", ";", "newval", "=", "operands", "[", "3", "]", ";", "is_weak", "=", "(", "operands", "[", "4", "]", "!=", "const0_rtx", ")", ";", "model_rtx", "=", "operands", "[", "5", "]", ";", "scratch", "=", "operands", "[", "7", "]", ";", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "model", "=", "memmodel_from_int", "(", "INTVAL", "(", "model_rtx", ")", ")", ";", "bool", "strong_zero_p", "=", "!", "is_weak", "&&", "oldval", "==", "const0_rtx", ";", "label1", "=", "NULL", ";", "if", "(", "!", "is_weak", ")", "{", "label1", "=", "gen_label_rtx", "(", ")", ";", "emit_label", "(", "label1", ")", ";", "}", "label2", "=", "gen_label_rtx", "(", ")", ";", "if", "(", "is_mm_sync", "(", "model", ")", ")", "aarch64_emit_load_exclusive", "(", "mode", ",", "rval", ",", "mem", ",", "GEN_INT", "(", "MEMMODEL_RELAXED", ")", ")", ";", "else", "aarch64_emit_load_exclusive", "(", "mode", ",", "rval", ",", "mem", ",", "model_rtx", ")", ";", "if", "(", "strong_zero_p", ")", "{", "if", "(", "aarch64_track_speculation", ")", "{", "rtx", "cc_reg", "=", "aarch64_gen_compare_reg", "(", "NE", ",", "rval", ",", "const0_rtx", ")", ";", "x", "=", "gen_rtx_NE", "(", "GET_MODE", "(", "cc_reg", ")", ",", "cc_reg", ",", "const0_rtx", ")", ";", "}", "else", "x", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "rval", ",", "const0_rtx", ")", ";", "x", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "x", ",", "gen_rtx_LABEL_REF", "(", "Pmode", ",", "label2", ")", ",", "pc_rtx", ")", ";", "aarch64_emit_unlikely_jump", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "x", ")", ")", ";", "}", "else", "{", "cond", "=", "aarch64_gen_compare_reg_maybe_ze", "(", "NE", ",", "rval", ",", "oldval", ",", "mode", ")", ";", "x", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "cond", ",", "const0_rtx", ")", ";", "x", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "x", ",", "gen_rtx_LABEL_REF", "(", "Pmode", ",", "label2", ")", ",", "pc_rtx", ")", ";", "aarch64_emit_unlikely_jump", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "x", ")", ")", ";", "}", "aarch64_emit_store_exclusive", "(", "mode", ",", "scratch", ",", "mem", ",", "newval", ",", "model_rtx", ")", ";", "if", "(", "!", "is_weak", ")", "{", "if", "(", "aarch64_track_speculation", ")", "{", "rtx", "cc_reg", "=", "aarch64_gen_compare_reg", "(", "NE", ",", "scratch", ",", "const0_rtx", ")", ";", "x", "=", "gen_rtx_NE", "(", "GET_MODE", "(", "cc_reg", ")", ",", "cc_reg", ",", "const0_rtx", ")", ";", "}", "else", "x", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "scratch", ",", "const0_rtx", ")", ";", "x", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "x", ",", "gen_rtx_LABEL_REF", "(", "Pmode", ",", "label1", ")", ",", "pc_rtx", ")", ";", "aarch64_emit_unlikely_jump", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "x", ")", ")", ";", "}", "else", "{", "cond", "=", "gen_rtx_REG", "(", "CCmode", ",", "CC_REGNUM", ")", ";", "x", "=", "gen_rtx_COMPARE", "(", "CCmode", ",", "scratch", ",", "const0_rtx", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "cond", ",", "x", ")", ")", ";", "}", "emit_label", "(", "label2", ")", ";", "if", "(", "strong_zero_p", ")", "{", "cond", "=", "gen_rtx_REG", "(", "CCmode", ",", "CC_REGNUM", ")", ";", "x", "=", "gen_rtx_COMPARE", "(", "CCmode", ",", "rval", ",", "const0_rtx", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "cond", ",", "x", ")", ")", ";", "}", "if", "(", "is_mm_sync", "(", "model", ")", ")", "aarch64_emit_post_barrier", "(", "model", ")", ";", "}", ""], "natrual_language": ["Split", "a", "compare", "and", "swap", "pattern", "."], "TS_V_token": ["aarch64", "0", "1", "2", "3", "4", "5", "7"], "File": "aarch646", "Func": "aarch64_split_compare_and_swap", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4808, "Length": 498, "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", ",", "Options", ")", "{", "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": "ARMTargetMachine35", "Func": "ARMBaseTargetMachine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4809, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "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", "]", "=", "1", ";", "if", "(", "!", "comma", ")", "break", ";", "*", "comma", "=", "','", ";", "str", "=", "comma", "+", "1", ";", "}", "}", ""], "natrual_language": ["Parse", "the", "-mfixed-range=", "option", "string", "."], "TS_V_token": ["ia64", "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": "ia64", "Func": "fix_range", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4810, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getStackAddress", "(", "uint64_t", "Size", ",", "int64_t", "Offset", ",", "MachinePointerInfo", "&", "MPO", ")", "override", "{", "auto", "&", "MFI", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getFrameInfo", "(", ")", ";", "int", "FI", "=", "MFI", ".", "CreateFixedObject", "(", "Size", ",", "Offset", ",", "true", ")", ";", "MPO", "=", "MachinePointerInfo", "::", "getFixedStack", "(", "MIRBuilder", ".", "getMF", "(", ")", ",", "FI", ")", ";", "unsigned", "AddrReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "LLT", "::", "pointer", "(", "0", ",", "64", ")", ")", ";", "MIRBuilder", ".", "buildFrameIndex", "(", "AddrReg", ",", "FI", ")", ";", "return", "AddrReg", ";", "}", ""], "natrual_language": ["Materialize", "a", "VReg", "containing", "the", "address", "of", "the", "specified", "stack-based", "object", "."], "TS_V_token": ["AArch64", "0", "64"], "File": "AArch64CallLowering22", "Func": "getStackAddress", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4811, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "getMemOperandWithOffset", "(", "MachineInstr", "&", "LdSt", ",", "MachineOperand", "*", "&", "BaseOp", ",", "int64_t", "&", "Offset", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "unsigned", "Width", ";", "return", "getMemOperandWithOffsetWidth", "(", "LdSt", ",", "BaseOp", ",", "Offset", ",", "Width", ",", "TRI", ")", ";", "}", ""], "natrual_language": ["Get", "the", "base", "operand", "and", "byte", "offset", "of", "an", "instruction", "that", "reads/writes", "memory", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64InstrInfo (2)1", "Func": "getMemOperandWithOffset", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4812, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sp_valid_at", "(", "HOST_WIDE_INT", "cfa_offset", ")", "{", "const", "struct", "machine_frame_state", "&", "fs", "=", "cfun", "->", "machine", "->", "fs", ";", "if", "(", "fs", ".", "sp_realigned", "&&", "cfa_offset", "<=", "fs", ".", "sp_realigned_offset", ")", "{", "gcc_assert", "(", "cfa_offset", "<=", "fs", ".", "sp_realigned_fp_last", ")", ";", "return", "false", ";", "}", "return", "fs", ".", "sp_valid", ";", "}", ""], "natrual_language": ["Determine", "if", "the", "stack", "pointer", "is", "valid", "for", "accessing", "the", "CFA_OFFSET", "in", "the", "frame", "save", "area", ".", "The", "register", "is", "saved", "at", "CFA", "-", "CFA_OFFSET", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "sp_valid_at", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4813, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZXPLINKFrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "ArrayRef", "<", "CalleeSavedInfo", ">", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "true", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "SystemZMachineFunctionInfo", "*", "ZFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "const", "SystemZSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "SystemZSubtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "*", "TII", "=", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "auto", "&", "Regs", "=", "Subtarget", ".", "getSpecialRegisters", "<", "SystemZXPLINK64Registers", ">", "(", ")", ";", "SystemZ", "::", "GPRRegs", "SpillGPRs", "=", "ZFI", "->", "getSpillGPRRegs", "(", ")", ";", "DebugLoc", "DL", ";", "if", "(", "SpillGPRs", ".", "LowGPR", ")", "{", "assert", "(", "SpillGPRs", ".", "LowGPR", "!=", "SpillGPRs", ".", "HighGPR", "&&", "\"Should be saving multiple registers\"", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "SystemZ", "::", "STMG", ")", ")", ";", "addSavedGPR", "(", "MBB", ",", "MIB", ",", "SpillGPRs", ".", "LowGPR", ",", "false", ")", ";", "addSavedGPR", "(", "MBB", ",", "MIB", ",", "SpillGPRs", ".", "HighGPR", ",", "false", ")", ";", "MIB", ".", "addReg", "(", "Regs", ".", "getStackPointerRegister", "(", ")", ")", ";", "MIB", ".", "addImm", "(", "SpillGPRs", ".", "GPROffset", ")", ";", "auto", "&", "GRRegClass", "=", "SystemZ", "::", "GR64BitRegClass", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "CSI", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "I", "]", ".", "getReg", "(", ")", ";", "if", "(", "GRRegClass", ".", "contains", "(", "Reg", ")", ")", "addSavedGPR", "(", "MBB", ",", "MIB", ",", "Reg", ",", "true", ")", ";", "}", "}", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "CSI", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "I", "]", ".", "getReg", "(", ")", ";", "if", "(", "SystemZ", "::", "FP64BitRegClass", ".", "contains", "(", "Reg", ")", ")", "{", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "TII", "->", "storeRegToStackSlot", "(", "MBB", ",", "MBBI", ",", "Reg", ",", "true", ",", "CSI", "[", "I", "]", ".", "getFrameIdx", "(", ")", ",", "&", "SystemZ", "::", "FP64BitRegClass", ",", "TRI", ")", ";", "}", "if", "(", "SystemZ", "::", "VR128BitRegClass", ".", "contains", "(", "Reg", ")", ")", "{", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "TII", "->", "storeRegToStackSlot", "(", "MBB", ",", "MBBI", ",", "Reg", ",", "true", ",", "CSI", "[", "I", "]", ".", "getFrameIdx", "(", ")", ",", "&", "SystemZ", "::", "VR128BitRegClass", ",", "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": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ::GPRRegs", "\"Should be saving multiple registers\"", "SystemZ::STMG", "SystemZ::GR64BitRegClass", "0", "0", "SystemZ::FP64BitRegClass", "SystemZ::FP64BitRegClass", "SystemZ::VR128BitRegClass", "SystemZ::VR128BitRegClass"], "File": "SystemZFrameLowering10", "Func": "spillCalleeSavedRegisters", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4814, "Length": 404, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "Cpu0DAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "unsigned", "Opcode", "=", "Node", "->", "getOpcode", "(", ")", ";", "DebugLoc", "dl", "=", "Node", "->", "getDebugLoc", "(", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"Selecting: \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"== \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "return", "NULL", ";", "}", "EVT", "NodeTy", "=", "Node", "->", "getValueType", "(", "0", ")", ";", "unsigned", "MultOpc", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "MULHS", ":", "case", "ISD", "::", "MULHU", ":", "{", "MultOpc", "=", "(", "Opcode", "==", "ISD", "::", "MULHU", "?", "Cpu0", "::", "MULTu", ":", "Cpu0", "::", "MULT", ")", ";", "return", "SelectMULT", "(", "Node", ",", "MultOpc", ",", "dl", ",", "NodeTy", ",", "false", ",", "true", ")", ".", "second", ";", "}", "case", "ISD", "::", "GLOBAL_OFFSET_TABLE", ":", "return", "getGlobalBaseReg", "(", ")", ";", "case", "ISD", "::", "Constant", ":", "{", "const", "ConstantSDNode", "*", "CN", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Node", ")", ";", "unsigned", "Size", "=", "CN", "->", "getValueSizeInBits", "(", "0", ")", ";", "if", "(", "Size", "==", "32", ")", "break", ";", "}", "}", "SDNode", "*", "ResNode", "=", "SelectCode", "(", "Node", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"=> \"", ")", ";", "if", "(", "ResNode", "==", "NULL", "||", "ResNode", "==", "Node", ")", "DEBUG", "(", "Node", "->", "dump", "(", "CurDAG", ")", ")", ";", "else", "DEBUG", "(", "ResNode", "->", "dump", "(", "CurDAG", ")", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "return", "ResNode", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["Cpu0", "Cpu0", "\"Selecting: \"", "\"\\n\"", "\"== \"", "\"\\n\"", "0", "ISD::MULHS", "ISD::MULHU", "ISD::MULHU", "Cpu0::MULTu", "Cpu0::MULT", "ISD::GLOBAL_OFFSET_TABLE", "ISD::Constant", "0", "32", "\"=> \"", "\"\\n\""], "File": "Cpu0ISelDAGToDAG1", "Func": "Select", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4815, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "&", "LiveRangeShrinkID", ")", ";", "addPass", "(", "createX86FixupSetCC", "(", ")", ")", ";", "addPass", "(", "createX86OptimizeLEAs", "(", ")", ")", ";", "addPass", "(", "createX86CallFrameOptimization", "(", ")", ")", ";", "addPass", "(", "createX86AvoidStoreForwardingBlocks", "(", ")", ")", ";", "}", "addPass", "(", "createX86SpeculativeLoadHardeningPass", "(", ")", ")", ";", "addPass", "(", "createX86FlagsCopyLoweringPass", "(", ")", ")", ";", "addPass", "(", "createX86DynAllocaExpander", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createX86PreTileConfigPass", "(", ")", ")", ";", "else", "addPass", "(", "createX86FastPreTileConfigPass", "(", ")", ")", ";", "}", ""], "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", "X86", "X86", "X86", "X86"], "File": "X86TargetMachine58", "Func": "addPreRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4816, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CAHPInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DstReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "assert", "(", "CAHP", "::", "GPRRegClass", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", "&&", "\"Impossible reg-to-reg copy\"", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "CAHP", "::", "MOV", ")", ",", "DstReg", ")", ".", "addReg", "(", "SrcReg", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["CAHP", "CAHP", "CAHP::GPRRegClass", "\"Impossible reg-to-reg copy\"", "CAHP::MOV"], "File": "CAHPInstrInfo", "Func": "copyPhysReg", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4817, "Length": 70, "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_adjust_vect_cost_per_loop", "(", "cost_data", ")", ";", "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": "rs60001", "Func": "rs6000_finish_cost", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4818, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "LC2200TargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "(", "LC2200ISD", "::", "NodeType", ")", "Opcode", ")", "{", "case", "LC2200ISD", "::", "FIRST_NUMBER", ":", "break", ";", "case", "LC2200ISD", "::", "RET", ":", "return", "\"LC2200ISD::RET\"", ";", "case", "LC2200ISD", "::", "CALL", ":", "return", "\"LC2200ISD::CALL\"", ";", "case", "LC2200ISD", "::", "JMP", ":", "return", "\"LC2200ISD::JMP\"", ";", "case", "LC2200ISD", "::", "NAND", ":", "return", "\"LC2200ISD::NAND\"", ";", "case", "LC2200ISD", "::", "CMP_SKIP", ":", "return", "\"LC2200ISD::CMP_SKIP\"", ";", "case", "LC2200ISD", "::", "CMP_JMP", ":", "return", "\"LC2200ISD::CMP_JMP\"", ";", "case", "LC2200ISD", "::", "SELECT_MOVE", ":", "return", "\"LC2200ISD::SELECT_MOVE\"", ";", "case", "LC2200ISD", "::", "CMP_SELECT_MOVE", ":", "return", "\"LC2200ISD::CMP_SELECT_MOVE\"", ";", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["LC2200", "LC2200", "LC2200ISD::NodeType", "LC2200ISD::FIRST_NUMBER", "LC2200ISD::RET", "\"LC2200ISD::RET\"", "LC2200ISD::CALL", "\"LC2200ISD::CALL\"", "LC2200ISD::JMP", "\"LC2200ISD::JMP\"", "LC2200ISD::NAND", "\"LC2200ISD::NAND\"", "LC2200ISD::CMP_SKIP", "\"LC2200ISD::CMP_SKIP\"", "LC2200ISD::CMP_JMP", "\"LC2200ISD::CMP_JMP\"", "LC2200ISD::SELECT_MOVE", "\"LC2200ISD::SELECT_MOVE\"", "LC2200ISD::CMP_SELECT_MOVE", "\"LC2200ISD::CMP_SELECT_MOVE\""], "File": "LC2200ISelLowering", "Func": "getTargetNodeName", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4819, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "ARMTargetLowering", "::", "PerformBRCONDCombine", "(", "SDNode", "*", "N", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDValue", "Cmp", "=", "N", "->", "getOperand", "(", "4", ")", ";", "if", "(", "Cmp", ".", "getOpcode", "(", ")", "!=", "ARMISD", "::", "CMPZ", ")", "return", "SDValue", "(", ")", ";", "EVT", "VT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "SDLoc", "dl", "(", "N", ")", ";", "SDValue", "LHS", "=", "Cmp", ".", "getOperand", "(", "0", ")", ";", "SDValue", "RHS", "=", "Cmp", ".", "getOperand", "(", "1", ")", ";", "SDValue", "Chain", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "BB", "=", "N", "->", "getOperand", "(", "1", ")", ";", "SDValue", "ARMcc", "=", "N", "->", "getOperand", "(", "2", ")", ";", "ARMCC", "::", "CondCodes", "CC", "=", "(", "ARMCC", "::", "CondCodes", ")", "cast", "<", "ConstantSDNode", ">", "(", "ARMcc", ")", "->", "getZExtValue", "(", ")", ";", "if", "(", "CC", "==", "ARMCC", "::", "NE", "&&", "LHS", ".", "getOpcode", "(", ")", "==", "ISD", "::", "AND", "&&", "LHS", "->", "hasOneUse", "(", ")", "&&", "LHS", "->", "getOperand", "(", "0", ")", "->", "getOpcode", "(", ")", "==", "ARMISD", "::", "CMOV", "&&", "LHS", "->", "getOperand", "(", "0", ")", "->", "hasOneUse", "(", ")", ")", "{", "auto", "*", "LHS00C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "LHS", "->", "getOperand", "(", "0", ")", "->", "getOperand", "(", "0", ")", ")", ";", "auto", "*", "LHS01C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "LHS", "->", "getOperand", "(", "0", ")", "->", "getOperand", "(", "1", ")", ")", ";", "auto", "*", "LHS1C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "LHS", "->", "getOperand", "(", "1", ")", ")", ";", "auto", "*", "RHSC", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "RHS", ")", ";", "if", "(", "(", "LHS00C", "&&", "LHS00C", "->", "getZExtValue", "(", ")", "==", "0", ")", "&&", "(", "LHS01C", "&&", "LHS01C", "->", "getZExtValue", "(", ")", "==", "1", ")", "&&", "(", "LHS1C", "&&", "LHS1C", "->", "getZExtValue", "(", ")", "==", "1", ")", "&&", "(", "RHSC", "&&", "RHSC", "->", "getZExtValue", "(", ")", "==", "0", ")", ")", "{", "return", "DAG", ".", "getNode", "(", "ARMISD", "::", "BRCOND", ",", "dl", ",", "VT", ",", "Chain", ",", "BB", ",", "LHS", "->", "getOperand", "(", "0", ")", "->", "getOperand", "(", "2", ")", ",", "LHS", "->", "getOperand", "(", "0", ")", "->", "getOperand", "(", "3", ")", ",", "LHS", "->", "getOperand", "(", "0", ")", "->", "getOperand", "(", "4", ")", ")", ";", "}", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["PerformBRCONDCombine", "-", "Target-specific", "DAG", "combining", "for", "ARMISD", ":", ":BRCOND", "."], "TS_V_token": ["ARM", "ARM", "4", "ARMISD::CMPZ", "0", "0", "1", "0", "1", "ARM", "2", "ARMCC::CondCodes", "ARMCC::CondCodes", "ARM", "ARMCC::NE", "ISD::AND", "0", "ARMISD::CMOV", "0", "0", "0", "0", "1", "1", "0", "1", "1", "0", "ARMISD::BRCOND", "0", "2", "0", "3", "0", "4"], "File": "ARMISelLowering (2)5", "Func": "PerformBRCONDCombine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4820, "Length": 367, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1FrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "DebugLoc", "DL", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "ARM", "::", "tPUSH", ")", ")", ";", "AddDefaultPred", "(", "MIB", ")", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "bool", "isKill", "=", "true", ";", "if", "(", "Reg", "==", "ARM", "::", "LR", ")", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "if", "(", "MF", ".", "getFrameInfo", "(", ")", "->", "isReturnAddressTaken", "(", ")", "&&", "MF", ".", "getRegInfo", "(", ")", ".", "isLiveIn", "(", "Reg", ")", ")", "isKill", "=", "false", ";", "}", "if", "(", "isKill", ")", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "MIB", ".", "addReg", "(", "Reg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "}", "MIB", ".", "setMIFlags", "(", "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": ["ARM", "ARM::tPUSH", "0", "1", "ARM::LR"], "File": "Thumb1FrameLowering57", "Func": "spillCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4821, "Length": 239, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TTI", "::", "getNumberOfRegisters", "(", "bool", "Vector", ")", "const", "{", "if", "(", "Vector", "&&", "!", "ST", "->", "hasSSE1", "(", ")", ")", "return", "0", ";", "if", "(", "ST", "->", "is64Bit", "(", ")", ")", "{", "if", "(", "Vector", "&&", "ST", "->", "hasAVX512", "(", ")", ")", "return", "32", ";", "return", "16", ";", "}", "return", "8", ";", "}", ""], "natrual_language": ["\ufffd", "?", "Vector", "TTI", "begin", "\ufffd", "?"], "TS_V_token": ["X86", "X86", "0", "32", "16", "8"], "File": "X86TargetTransformInfo112", "Func": "getNumberOfRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4822, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "PPCInstrInfo", "::", "getOperandLatency", "(", "const", "InstrItineraryData", "*", "ItinData", ",", "const", "MachineInstr", "*", "DefMI", ",", "unsigned", "DefIdx", ",", "const", "MachineInstr", "*", "UseMI", ",", "unsigned", "UseIdx", ")", "const", "{", "int", "Latency", "=", "PPCGenInstrInfo", "::", "getOperandLatency", "(", "ItinData", ",", "DefMI", ",", "DefIdx", ",", "UseMI", ",", "UseIdx", ")", ";", "if", "(", "!", "DefMI", "->", "getParent", "(", ")", ")", "return", "Latency", ";", "const", "MachineOperand", "&", "DefMO", "=", "DefMI", "->", "getOperand", "(", "DefIdx", ")", ";", "unsigned", "Reg", "=", "DefMO", ".", "getReg", "(", ")", ";", "bool", "IsRegCR", ";", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "Reg", ")", ")", "{", "const", "MachineRegisterInfo", "*", "MRI", "=", "&", "DefMI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "IsRegCR", "=", "MRI", "->", "getRegClass", "(", "Reg", ")", "->", "hasSuperClassEq", "(", "&", "PPC", "::", "CRRCRegClass", ")", "||", "MRI", "->", "getRegClass", "(", "Reg", ")", "->", "hasSuperClassEq", "(", "&", "PPC", "::", "CRBITRCRegClass", ")", ";", "}", "else", "{", "IsRegCR", "=", "PPC", "::", "CRRCRegClass", ".", "contains", "(", "Reg", ")", "||", "PPC", "::", "CRBITRCRegClass", ".", "contains", "(", "Reg", ")", ";", "}", "if", "(", "UseMI", "->", "isBranch", "(", ")", "&&", "IsRegCR", ")", "{", "if", "(", "Latency", "<", "0", ")", "Latency", "=", "getInstrLatency", "(", "ItinData", ",", "DefMI", ")", ";", "unsigned", "Directive", "=", "Subtarget", ".", "getDarwinDirective", "(", ")", ";", "switch", "(", "Directive", ")", "{", "default", ":", "break", ";", "case", "PPC", "::", "DIR_7400", ":", "case", "PPC", "::", "DIR_750", ":", "case", "PPC", "::", "DIR_970", ":", "case", "PPC", "::", "DIR_E5500", ":", "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", ":", "Latency", "+=", "2", ";", "break", ";", "}", "}", "return", "Latency", ";", "}", ""], "natrual_language": ["Compute", "and", "return", "the", "use", "operand", "latency", "of", "a", "given", "pair", "of", "def", "and", "use", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::CRRCRegClass", "PPC::CRBITRCRegClass", "PPC::CRRCRegClass", "PPC::CRBITRCRegClass", "0", "PPC::DIR_7400", "PPC::DIR_750", "PPC::DIR_970", "PPC::DIR_E5500", "PPC::DIR_PWR4", "PPC::DIR_PWR5", "PPC::DIR_PWR5X", "PPC::DIR_PWR6", "PPC::DIR_PWR6X", "PPC::DIR_PWR7", "PPC::DIR_PWR8", "2"], "File": "PPCInstrInfo (3)", "Func": "getOperandLatency", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4823, "Length": 279, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "PPCTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'b'", ":", "if", "(", "VT", "==", "MVT", "::", "i64", "&&", "Subtarget", ".", "isPPC64", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "G8RC_NOX0RegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "GPRC_NOR0RegClass", ")", ";", "case", "'r'", ":", "if", "(", "VT", "==", "MVT", "::", "i64", "&&", "Subtarget", ".", "isPPC64", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "G8RCRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "GPRCRegClass", ")", ";", "case", "'f'", ":", "if", "(", "VT", "==", "MVT", "::", "f32", "||", "VT", "==", "MVT", "::", "i32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "F4RCRegClass", ")", ";", "if", "(", "VT", "==", "MVT", "::", "f64", "||", "VT", "==", "MVT", "::", "i64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "F8RCRegClass", ")", ";", "break", ";", "case", "'v'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "VRRCRegClass", ")", ";", "case", "'y'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "CRRCRegClass", ")", ";", "}", "}", "else", "if", "(", "Constraint", "==", "\"wc\"", ")", "{", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "CRBITRCRegClass", ")", ";", "}", "else", "if", "(", "Constraint", "==", "\"wa\"", "||", "Constraint", "==", "\"wd\"", "||", "Constraint", "==", "\"wf\"", ")", "{", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "VSRCRegClass", ")", ";", "}", "else", "if", "(", "Constraint", "==", "\"ws\"", ")", "{", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "VSFRCRegClass", ")", ";", "}", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "R", "=", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "if", "(", "R", ".", "first", "&&", "VT", "==", "MVT", "::", "i64", "&&", "Subtarget", ".", "isPPC64", "(", ")", "&&", "PPC", "::", "GPRCRegClass", ".", "contains", "(", "R", ".", "first", ")", ")", "{", "const", "TargetRegisterInfo", "*", "TRI", "=", "getTargetMachine", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "return", "std", "::", "make_pair", "(", "TRI", "->", "getMatchingSuperReg", "(", "R", ".", "first", ",", "PPC", "::", "sub_32", ",", "&", "PPC", "::", "G8RCRegClass", ")", ",", "&", "PPC", "::", "G8RCRegClass", ")", ";", "}", "if", "(", "!", "R", ".", "second", "&&", "StringRef", "(", "\"{cc}\"", ")", ".", "equals_lower", "(", "Constraint", ")", ")", "{", "R", ".", "first", "=", "PPC", "::", "CR0", ";", "R", ".", "second", "=", "&", "PPC", "::", "CRRCRegClass", ";", "}", "return", "R", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["PowerPC", "PPC", "1", "0", "MVT::i64", "PPC", "0U", "PPC::G8RC_NOX0RegClass", "0U", "PPC::GPRC_NOR0RegClass", "MVT::i64", "PPC", "0U", "PPC::G8RCRegClass", "0U", "PPC::GPRCRegClass", "MVT::f32", "MVT::i32", "0U", "PPC::F4RCRegClass", "MVT::f64", "MVT::i64", "0U", "PPC::F8RCRegClass", "0U", "PPC::VRRCRegClass", "0U", "PPC::CRRCRegClass", "\"wc\"", "0U", "PPC::CRBITRCRegClass", "\"wa\"", "\"wd\"", "\"wf\"", "0U", "PPC::VSRCRegClass", "\"ws\"", "0U", "PPC::VSFRCRegClass", "MVT::i64", "PPC", "PPC::GPRCRegClass", "PPC::sub_32", "PPC::G8RCRegClass", "PPC::G8RCRegClass", "\"{cc}\"", "PPC::CR0", "PPC::CRRCRegClass"], "File": "PPCISelLowering8", "Func": "getRegForInlineAsmConstraint", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4824, "Length": 432, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pop", "(", "struct", "unw_state_record", "*", "sr", ")", "{", "struct", "unw_reg_state", "*", "rs", "=", "sr", "->", "curr", ".", "next", ";", "if", "(", "!", "rs", ")", "abort", "(", ")", ";", "memcpy", "(", "&", "sr", "->", "curr", ",", "rs", ",", "sizeof", "(", "*", "rs", ")", ")", ";", "free_reg_state", "(", "rs", ")", ";", "}", ""], "natrual_language": ["Output", "RTL", "to", "pop", "register", "RN", "from", "the", "stack", "."], "TS_V_token": ["ia64"], "File": "unwind-ia64", "Func": "pop", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4825, "Length": 52, "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": ["UPT"], "File": "UPTAsmBackend", "Func": "mayNeedRelaxation", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4826, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsTargetLowering", "::", "getJumpTableEncoding", "(", ")", "const", "{", "if", "(", "Subtarget", "->", "isABI_N64", "(", ")", ")", "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)1", "Func": "getJumpTableEncoding", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4827, "Length": 29, "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": 4828, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ")", "const", "{", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "LegalFPImmediates", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "if", "(", "Imm", ".", "bitwiseIsEqual", "(", "LegalFPImmediates", "[", "i", "]", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "can", "instruction", "select", "the", "specified", "FP", "immediate", "natively", "."], "TS_V_token": ["X86", "X86", "0"], "File": "X86ISelLowering (2)", "Func": "isFPImmLegal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4829, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"SystemZ Local Dynamic TLS Access Clean-up\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["SystemZ", "\"SystemZ Local Dynamic TLS Access Clean-up\""], "File": "SystemZLDCleanup11", "Func": "getPassName", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4830, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "ix86_expand_adjust_ufix_to_sfix_si", "(", "rtx", "val", ",", "rtx", "*", "xorp", ")", "{", "REAL_VALUE_TYPE", "TWO31r", ";", "rtx", "two31r", ",", "tmp", "[", "4", "]", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "val", ")", ";", "machine_mode", "scalarmode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "machine_mode", "intmode", "=", "GET_MODE_SIZE", "(", "mode", ")", "==", "32", "?", "V8SImode", ":", "V4SImode", ";", "rtx", "(", "*", "cmp", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "3", ";", "i", "++", ")", "tmp", "[", "i", "]", "=", "gen_reg_rtx", "(", "mode", ")", ";", "real_ldexp", "(", "&", "TWO31r", ",", "&", "dconst1", ",", "31", ")", ";", "two31r", "=", "const_double_from_real_value", "(", "TWO31r", ",", "scalarmode", ")", ";", "two31r", "=", "ix86_build_const_vector", "(", "mode", ",", "1", ",", "two31r", ")", ";", "two31r", "=", "force_reg", "(", "mode", ",", "two31r", ")", ";", "switch", "(", "mode", ")", "{", "case", "V8SFmode", ":", "cmp", "=", "gen_avx_maskcmpv8sf3", ";", "break", ";", "case", "V4SFmode", ":", "cmp", "=", "gen_sse_maskcmpv4sf3", ";", "break", ";", "case", "V4DFmode", ":", "cmp", "=", "gen_avx_maskcmpv4df3", ";", "break", ";", "case", "V2DFmode", ":", "cmp", "=", "gen_sse2_maskcmpv2df3", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "tmp", "[", "3", "]", "=", "gen_rtx_LE", "(", "mode", ",", "two31r", ",", "val", ")", ";", "emit_insn", "(", "cmp", "(", "tmp", "[", "0", "]", ",", "two31r", ",", "val", ",", "tmp", "[", "3", "]", ")", ")", ";", "tmp", "[", "1", "]", "=", "expand_simple_binop", "(", "mode", ",", "AND", ",", "tmp", "[", "0", "]", ",", "two31r", ",", "tmp", "[", "1", "]", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "if", "(", "intmode", "==", "V4SImode", "||", "TARGET_AVX2", ")", "*", "xorp", "=", "expand_simple_binop", "(", "intmode", ",", "ASHIFT", ",", "gen_lowpart", "(", "intmode", ",", "tmp", "[", "0", "]", ")", ",", "GEN_INT", "(", "31", ")", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "else", "{", "rtx", "two31", "=", "GEN_INT", "(", "HOST_WIDE_INT_1U", "<<", "31", ")", ";", "two31", "=", "ix86_build_const_vector", "(", "intmode", ",", "1", ",", "two31", ")", ";", "*", "xorp", "=", "expand_simple_binop", "(", "intmode", ",", "AND", ",", "gen_lowpart", "(", "intmode", ",", "tmp", "[", "0", "]", ")", ",", "two31", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "}", "return", "expand_simple_binop", "(", "mode", ",", "MINUS", ",", "val", ",", "tmp", "[", "1", "]", ",", "tmp", "[", "2", "]", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "}", ""], "natrual_language": ["Adjust", "a", "V", "*", "SFmode/V", "*", "DFmode", "value", "VAL", "so", "that", "*", "sfix_trunc", "*", "resp", ".", "fix_trunc", "*", "pattern", "can", "be", "used", "on", "it", "instead", "of", "fixuns_trunc", "*", ".", "This", "is", "done", "by", "doing", "just", "signed", "conversion", "if", "<", "0x1p31", ",", "and", "otherwise", "by", "subtracting", "0x1p31", "first", "and", "xoring", "in", "0x80000000", "from", "*", "XORP", "afterwards", "."], "TS_V_token": ["i386", "4", "32", "0", "3", "31", "1", "3", "0", "3", "1", "0", "1", "0", "0", "31", "0", "31", "1", "0", "0", "1", "2", "0"], "File": "i3865", "Func": "ix86_expand_adjust_ufix_to_sfix_si", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4831, "Length": 359, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SparcMCCodeEmitter", "::", "getBranchTargetOpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isReg", "(", ")", "||", "MO", ".", "isImm", "(", ")", ")", "return", "getMachineOpValue", "(", "MI", ",", "MO", ",", "Fixups", ",", "STI", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "MO", ".", "getExpr", "(", ")", ",", "(", "MCFixupKind", ")", "Sparc", "::", "fixup_sparc_br22", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "."], "TS_V_token": ["Sparc", "Sparc", "0", "Sparc::fixup_sparc_br22", "0"], "File": "SparcMCCodeEmitter", "Func": "getBranchTargetOpValue", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4832, "Length": 94, "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", ")", ";", "SDLoc", "dl", "(", "N", ")", ";", "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", ";", "DAG", ".", "ComputeMaskedBits", "(", "SDValue", "(", "N", ",", "0", ")", ",", "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": "ARMISelLowering (2)1", "Func": "PerformCMOVCombine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4833, "Length": 388, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_vectorize_builtin_gather", "(", "const_tree", "mem_vectype", ",", "const_tree", "index_type", ",", "int", "scale", ")", "{", "bool", "si", ";", "enum", "ix86_builtins", "code", ";", "if", "(", "!", "TARGET_AVX2", ")", "return", "NULL_TREE", ";", "if", "(", "(", "TREE_CODE", "(", "index_type", ")", "!=", "INTEGER_TYPE", "&&", "!", "POINTER_TYPE_P", "(", "index_type", ")", ")", "||", "(", "TYPE_MODE", "(", "index_type", ")", "!=", "SImode", "&&", "TYPE_MODE", "(", "index_type", ")", "!=", "DImode", ")", ")", "return", "NULL_TREE", ";", "if", "(", "TYPE_PRECISION", "(", "index_type", ")", ">", "POINTER_SIZE", ")", "return", "NULL_TREE", ";", "if", "(", "TYPE_PRECISION", "(", "index_type", ")", "<", "POINTER_SIZE", "&&", "TYPE_UNSIGNED", "(", "index_type", ")", ")", "return", "NULL_TREE", ";", "if", "(", "scale", "<=", "0", "||", "scale", ">", "8", "||", "(", "scale", "&", "(", "scale", "-", "1", ")", ")", "!=", "0", ")", "return", "NULL_TREE", ";", "si", "=", "TYPE_MODE", "(", "index_type", ")", "==", "SImode", ";", "switch", "(", "TYPE_MODE", "(", "mem_vectype", ")", ")", "{", "case", "V2DFmode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3SIV2DF", ":", "IX86_BUILTIN_GATHER3DIV2DF", ";", "else", "code", "=", "si", "?", "IX86_BUILTIN_GATHERSIV2DF", ":", "IX86_BUILTIN_GATHERDIV2DF", ";", "break", ";", "case", "V4DFmode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3ALTSIV4DF", ":", "IX86_BUILTIN_GATHER3DIV4DF", ";", "else", "code", "=", "si", "?", "IX86_BUILTIN_GATHERALTSIV4DF", ":", "IX86_BUILTIN_GATHERDIV4DF", ";", "break", ";", "case", "V2DImode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3SIV2DI", ":", "IX86_BUILTIN_GATHER3DIV2DI", ";", "else", "code", "=", "si", "?", "IX86_BUILTIN_GATHERSIV2DI", ":", "IX86_BUILTIN_GATHERDIV2DI", ";", "break", ";", "case", "V4DImode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3ALTSIV4DI", ":", "IX86_BUILTIN_GATHER3DIV4DI", ";", "else", "code", "=", "si", "?", "IX86_BUILTIN_GATHERALTSIV4DI", ":", "IX86_BUILTIN_GATHERDIV4DI", ";", "break", ";", "case", "V4SFmode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3SIV4SF", ":", "IX86_BUILTIN_GATHER3DIV4SF", ";", "else", "code", "=", "si", "?", "IX86_BUILTIN_GATHERSIV4SF", ":", "IX86_BUILTIN_GATHERDIV4SF", ";", "break", ";", "case", "V8SFmode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3SIV8SF", ":", "IX86_BUILTIN_GATHER3ALTDIV8SF", ";", "else", "code", "=", "si", "?", "IX86_BUILTIN_GATHERSIV8SF", ":", "IX86_BUILTIN_GATHERALTDIV8SF", ";", "break", ";", "case", "V4SImode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3SIV4SI", ":", "IX86_BUILTIN_GATHER3DIV4SI", ";", "else", "code", "=", "si", "?", "IX86_BUILTIN_GATHERSIV4SI", ":", "IX86_BUILTIN_GATHERDIV4SI", ";", "break", ";", "case", "V8SImode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3SIV8SI", ":", "IX86_BUILTIN_GATHER3ALTDIV8SI", ";", "else", "code", "=", "si", "?", "IX86_BUILTIN_GATHERSIV8SI", ":", "IX86_BUILTIN_GATHERALTDIV8SI", ";", "break", ";", "case", "V8DFmode", ":", "if", "(", "TARGET_AVX512F", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3ALTSIV8DF", ":", "IX86_BUILTIN_GATHER3DIV8DF", ";", "else", "return", "NULL_TREE", ";", "break", ";", "case", "V8DImode", ":", "if", "(", "TARGET_AVX512F", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3ALTSIV8DI", ":", "IX86_BUILTIN_GATHER3DIV8DI", ";", "else", "return", "NULL_TREE", ";", "break", ";", "case", "V16SFmode", ":", "if", "(", "TARGET_AVX512F", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3SIV16SF", ":", "IX86_BUILTIN_GATHER3ALTDIV16SF", ";", "else", "return", "NULL_TREE", ";", "break", ";", "case", "V16SImode", ":", "if", "(", "TARGET_AVX512F", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3SIV16SI", ":", "IX86_BUILTIN_GATHER3ALTDIV16SI", ";", "else", "return", "NULL_TREE", ";", "break", ";", "default", ":", "return", "NULL_TREE", ";", "}", "return", "ix86_get_builtin", "(", "code", ")", ";", "}", ""], "natrual_language": ["Returns", "a", "decl", "of", "a", "function", "that", "implements", "gather", "load", "with", "memory", "type", "MEM_VECTYPE", "and", "index", "type", "INDEX_VECTYPE", "and", "SCALE", ".", "Return", "NULL_TREE", "if", "it", "is", "not", "available", "."], "TS_V_token": ["i386", "0", "8", "1", "0"], "File": "i3864", "Func": "ix86_vectorize_builtin_gather", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4834, "Length": 441, "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": ["OR1K"], "File": "OR1KAsmBackend1", "Func": "fixupNeedsRelaxation", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4835, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "VETargetLowering", "::", "lowerToVVP", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "auto", "OCOpt", "=", "getVVPOpcode", "(", "Op", "->", "getOpcode", "(", ")", ")", ";", "if", "(", "!", "OCOpt", ".", "hasValue", "(", ")", ")", "return", "SDValue", "(", ")", ";", "unsigned", "VVPOC", "=", "OCOpt", ".", "getValue", "(", ")", ";", "EVT", "OpVecVT", "=", "Op", ".", "getValueType", "(", ")", ";", "EVT", "LegalVecVT", "=", "getTypeToTransformTo", "(", "*", "DAG", ".", "getContext", "(", ")", ",", "OpVecVT", ")", ";", "SDLoc", "DL", "(", "Op", ")", ";", "SDValue", "AVL", "=", "DAG", ".", "getConstant", "(", "OpVecVT", ".", "getVectorNumElements", "(", ")", ",", "DL", ",", "MVT", "::", "i32", ")", ";", "MVT", "MaskVT", "=", "MVT", "::", "v256i1", ";", "SDValue", "ConstTrue", "=", "DAG", ".", "getConstant", "(", "1", ",", "DL", ",", "MVT", "::", "i32", ")", ";", "SDValue", "Mask", "=", "DAG", ".", "getNode", "(", "VEISD", "::", "VEC_BROADCAST", ",", "DL", ",", "MaskVT", ",", "ConstTrue", ")", ";", "bool", "IsBinaryOp", "=", "false", ";", "switch", "(", "VVPOC", ")", "{", "case", "VEISD", "::", "VVPNAME", ":", "\\", "IsBinaryOp", "=", "true", ";", "\\", "break", ";", "}", "if", "(", "IsBinaryOp", ")", "{", "assert", "(", "LegalVecVT", ".", "isSimple", "(", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "VVPOC", ",", "DL", ",", "LegalVecVT", ",", "Op", "->", "getOperand", "(", "0", ")", ",", "Op", "->", "getOperand", "(", "1", ")", ",", "Mask", ",", "AVL", ")", ";", "}", "llvm_unreachable", "(", "\"lowerToVVP called for unexpected SDNode.\"", ")", ";", "}", ""], "natrual_language": ["}", "Custom", "Inserter"], "TS_V_token": ["VE", "VE", "MVT::i32", "MVT::v256i1", "1", "MVT::i32", "VEISD::VEC_BROADCAST", "VEISD::VVPNAME", "0", "1", "\"lowerToVVP called for unexpected SDNode.\""], "File": "VEISelLowering12", "Func": "lowerToVVP", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4836, "Length": 215, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ")", "{", "StringRef", "Mnemonic", ";", "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", "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": "MipsAsmParser3", "Func": "ParseInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4837, "Length": 433, "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", ")", "||", "get_pool_size", "(", ")", ")", ")", "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": "rs60005", "Func": "rs6000_reg_live_or_pic_offset_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4838, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86IndirectBranchTrackingPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "X86Subtarget", "&", "SubTarget", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "const", "Module", "*", "M", "=", "MF", ".", "getMMI", "(", ")", ".", "getModule", "(", ")", ";", "Metadata", "*", "isCFProtectionSupported", "=", "M", "->", "getModuleFlag", "(", "\"cf-protection-branch\"", ")", ";", "const", "X86TargetMachine", "*", "TM", "=", "static_cast", "<", "const", "X86TargetMachine", "*", ">", "(", "&", "MF", ".", "getTarget", "(", ")", ")", ";", "bool", "isJITwithCET", "=", "TM", "->", "isJIT", "(", ")", ";", "bool", "isJITwithCET", "=", "false", ";", "if", "(", "!", "isCFProtectionSupported", "&&", "!", "IndirectBranchTracking", "&&", "!", "isJITwithCET", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "TII", "=", "SubTarget", ".", "getInstrInfo", "(", ")", ";", "EndbrOpcode", "=", "SubTarget", ".", "is64Bit", "(", ")", "?", "X86", "::", "ENDBR64", ":", "X86", "::", "ENDBR32", ";", "if", "(", "needsPrologueENDBR", "(", "MF", ",", "M", ")", ")", "{", "auto", "MBB", "=", "MF", ".", "begin", "(", ")", ";", "Changed", "|=", "addENDBR", "(", "*", "MBB", ",", "MBB", "->", "begin", "(", ")", ")", ";", "}", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "if", "(", "MBB", ".", "hasAddressTaken", "(", ")", ")", "Changed", "|=", "addENDBR", "(", "MBB", ",", "MBB", ".", "begin", "(", ")", ")", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ";", "I", "!=", "MBB", ".", "end", "(", ")", ";", "++", "I", ")", "{", "if", "(", "I", "->", "isCall", "(", ")", "&&", "I", "->", "getNumOperands", "(", ")", ">", "0", "&&", "IsCallReturnTwice", "(", "I", "->", "getOperand", "(", "0", ")", ")", ")", "{", "Changed", "|=", "addENDBR", "(", "MBB", ",", "std", "::", "next", "(", "I", ")", ")", ";", "}", "}", "if", "(", "TM", "->", "Options", ".", "ExceptionModel", "==", "ExceptionHandling", "::", "SjLj", ")", "{", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ";", "I", "!=", "MBB", ".", "end", "(", ")", ";", "++", "I", ")", "{", "if", "(", "MBB", ".", "isEHPad", "(", ")", ")", "{", "if", "(", "I", "->", "isDebugInstr", "(", ")", ")", "continue", ";", "Changed", "|=", "addENDBR", "(", "MBB", ",", "I", ")", ";", "break", ";", "}", "else", "if", "(", "I", "->", "isEHLabel", "(", ")", ")", "{", "MCSymbol", "*", "Sym", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getMCSymbol", "(", ")", ";", "if", "(", "!", "MF", ".", "hasCallSiteLandingPad", "(", "Sym", ")", ")", "continue", ";", "Changed", "|=", "addENDBR", "(", "MBB", ",", "std", "::", "next", "(", "I", ")", ")", ";", "break", ";", "}", "}", "}", "else", "if", "(", "MBB", ".", "isEHPad", "(", ")", ")", "{", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ";", "I", "!=", "MBB", ".", "end", "(", ")", ";", "++", "I", ")", "{", "if", "(", "!", "I", "->", "isEHLabel", "(", ")", ")", "continue", ";", "Changed", "|=", "addENDBR", "(", "MBB", ",", "std", "::", "next", "(", "I", ")", ")", ";", "break", ";", "}", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "\"cf-protection-branch\"", "X86", "X86", "X86::ENDBR64", "X86::ENDBR32", "0", "0", "0"], "File": "X86IndirectBranchTracking15", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4839, "Length": 453, "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": "PPCQPXLoadSplat", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4840, "Length": 505, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AnalyzeCallOperands", "(", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "CCAssignFn", "Fn", ")", "{", "ArgIsFixed", ".", "clear", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Outs", ".", "size", "(", ")", ";", "++", "i", ")", "ArgIsFixed", ".", "push_back", "(", "Outs", "[", "i", "]", ".", "IsFixed", ")", ";", "ArgIsShortVector", ".", "clear", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Outs", ".", "size", "(", ")", ";", "++", "i", ")", "ArgIsShortVector", ".", "push_back", "(", "IsShortVectorType", "(", "Outs", "[", "i", "]", ".", "ArgVT", ")", ")", ";", "CCState", "::", "AnalyzeCallOperands", "(", "Outs", ",", "Fn", ")", ";", "}", ""], "natrual_language": ["AnalyzeCallOperands", "-", "Same", "as", "above", "except", "it", "takes", "vectors", "of", "types", "and", "argument", "flags", "."], "TS_V_token": ["SystemZ", "ISD::OutputArg", "0", "0"], "File": "SystemZCallingConv", "Func": "AnalyzeCallOperands", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4841, "Length": 102, "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": 4842, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMLoc", "getLoc", "(", ")", "const", "{", "return", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "}", ""], "natrual_language": ["Get", "the", "source", "location", "of", "the", "point", "where", "the", "field", "was", "defined", "."], "TS_V_token": ["ARM64"], "File": "ARM64AsmParser", "Func": "getLoc", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4843, "Length": 18, "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", "(", "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": ["powerpcspe", "1"], "File": "powerpcspe", "Func": "load_cr_save", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4844, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "void", "w32_error", "(", "const", "char", "*", "function", ",", "const", "char", "*", "file", ",", "int", "line", ",", "const", "char", "*", "my_msg", ")", "{", "LPSTR", "w32_msgbuf", ";", "FormatMessageA", "(", "FORMAT_MESSAGE_ALLOCATE_BUFFER", "|", "FORMAT_MESSAGE_FROM_SYSTEM", "|", "FORMAT_MESSAGE_IGNORE_INSERTS", "|", "FORMAT_MESSAGE_MAX_WIDTH_MASK", ",", "NULL", ",", "GetLastError", "(", ")", ",", "MAKELANGID", "(", "LANG_NEUTRAL", ",", "SUBLANG_DEFAULT", ")", ",", "(", "LPSTR", ")", "&", "w32_msgbuf", ",", "0", ",", "NULL", ")", ";", "fprintf", "(", "stderr", ",", "\"internal error in %s, at %s:%d: %s: %s\\n\"", ",", "function", ",", "trim_filename", "(", "file", ")", ",", "line", ",", "my_msg", ",", "w32_msgbuf", ")", ";", "LocalFree", "(", "(", "HLOCAL", ")", "w32_msgbuf", ")", ";", "}", ""], "natrual_language": ["Print", "out", "the", "GetLastError", "(", ")", "translation", "."], "TS_V_token": ["i386", "0", "\"internal error in %s, at %s:%d: %s: %s\\n\""], "File": "host-mingw32", "Func": "w32_error", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4845, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "CAHPInstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["CAHP", "CAHP"], "File": "CAHPSubtarget", "Func": "getInstrInfo", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4846, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZHazardRecognizer", "::", "EmitInstruction", "(", "SUnit", "*", "SU", ")", "{", "const", "MCSchedClassDesc", "*", "SC", "=", "DAG", "->", "getSchedClass", "(", "SU", ")", ";", "DEBUG", "(", "dumpCurrGroup", "(", "\"Decode group before emission\"", ")", ";", ")", ";", "if", "(", "!", "fitsIntoCurrentGroup", "(", "SU", ")", ")", "nextGroup", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"+++ HazardRecognizer emitting \"", ";", "dumpSU", "(", "SU", ",", "dbgs", "(", ")", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ";", "raw_string_ostream", "cgd", "(", "CurGroupDbg", ")", ";", "if", "(", "CurGroupDbg", ".", "length", "(", ")", ")", "cgd", "<<", "\", \"", ";", "dumpSU", "(", "SU", ",", "cgd", ")", ";", ")", ";", "if", "(", "SU", "->", "getInstr", "(", ")", "->", "isCall", "(", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"+++ Clearing state after call.\\n\"", ";", ")", ";", "clearProcResCounters", "(", ")", ";", "LastFPdOpCycleIdx", "=", "UINT_MAX", ";", "CurrGroupSize", "+=", "getNumDecoderSlots", "(", "SU", ")", ";", "assert", "(", "CurrGroupSize", "<=", "3", ")", ";", "nextGroup", "(", ")", ";", "return", ";", "}", "for", "(", "TargetSchedModel", "::", "ProcResIter", "PI", "=", "SchedModel", "->", "getWriteProcResBegin", "(", "SC", ")", ",", "PE", "=", "SchedModel", "->", "getWriteProcResEnd", "(", "SC", ")", ";", "PI", "!=", "PE", ";", "++", "PI", ")", "{", "if", "(", "SchedModel", "->", "getProcResource", "(", "PI", "->", "ProcResourceIdx", ")", "->", "BufferSize", "==", "1", ")", "continue", ";", "int", "&", "CurrCounter", "=", "ProcResourceCounters", "[", "PI", "->", "ProcResourceIdx", "]", ";", "CurrCounter", "+=", "PI", "->", "Cycles", ";", "if", "(", "(", "CurrCounter", ">", "ProcResCostLim", ")", "&&", "(", "CriticalResourceIdx", "==", "UINT_MAX", "||", "(", "PI", "->", "ProcResourceIdx", "!=", "CriticalResourceIdx", "&&", "CurrCounter", ">", "ProcResourceCounters", "[", "CriticalResourceIdx", "]", ")", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"+++ New critical resource: \"", "<<", "SchedModel", "->", "getProcResource", "(", "PI", "->", "ProcResourceIdx", ")", "->", "Name", "<<", "\"\\n\"", ";", ")", ";", "CriticalResourceIdx", "=", "PI", "->", "ProcResourceIdx", ";", "}", "}", "if", "(", "SU", "->", "isUnbuffered", ")", "{", "LastFPdOpCycleIdx", "=", "getCurrCycleIdx", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"+++ Last FPd cycle index: \"", "<<", "LastFPdOpCycleIdx", "<<", "\"\\n\"", ";", ")", ";", "}", "CurrGroupSize", "+=", "getNumDecoderSlots", "(", "SU", ")", ";", "assert", "(", "CurrGroupSize", "<=", "3", ")", ";", "if", "(", "CurrGroupSize", "==", "3", "||", "SC", "->", "EndGroup", ")", "nextGroup", "(", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"Decode group before emission\"", "\"+++ HazardRecognizer emitting \"", "\"\\n\"", "\", \"", "\"+++ Clearing state after call.\\n\"", "3", "1", "\"+++ New critical resource: \"", "\"\\n\"", "\"+++ Last FPd cycle index: \"", "\"\\n\"", "3", "3"], "File": "SystemZHazardRecognizer4", "Func": "EmitInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4847, "Length": 328, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64AsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "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'", "?", "ARM64", "::", "WZR", ":", "ARM64", "::", "XZR", ";", "O", "<<", "ARM64InstPrinter", "::", "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", "=", "&", "ARM64", "::", "FPR8RegClass", ";", "break", ";", "case", "'h'", ":", "RC", "=", "&", "ARM64", "::", "FPR16RegClass", ";", "break", ";", "case", "'s'", ":", "RC", "=", "&", "ARM64", "::", "FPR32RegClass", ";", "break", ";", "case", "'d'", ":", "RC", "=", "&", "ARM64", "::", "FPR64RegClass", ";", "break", ";", "case", "'q'", ":", "RC", "=", "&", "ARM64", "::", "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", "(", "ARM64", "::", "GPR32allRegClass", ".", "contains", "(", "Reg", ")", "||", "ARM64", "::", "GPR64allRegClass", ".", "contains", "(", "Reg", ")", ")", "return", "printAsmMRegister", "(", "MO", ",", "'x'", ",", "O", ")", ";", "return", "printAsmRegInClass", "(", "MO", ",", "&", "ARM64", "::", "FPR128RegClass", ",", "true", ",", "O", ")", ";", "}", "printOperand", "(", "MI", ",", "OpNum", ",", "O", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["ARM64", "ARM64", "0", "1", "0", "0", "0", "0", "0", "ARM64::WZR", "ARM64::XZR", "ARM64", "0", "ARM64::FPR8RegClass", "ARM64::FPR16RegClass", "ARM64::FPR32RegClass", "ARM64::FPR64RegClass", "ARM64::FPR128RegClass", "ARM64::GPR32allRegClass", "ARM64::GPR64allRegClass", "ARM64::FPR128RegClass"], "File": "ARM64AsmPrinter", "Func": "PrintAsmOperand", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4848, "Length": 367, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "char", "ConstraintCode", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "assert", "(", "ConstraintCode", "==", "'m'", "&&", "\"unexpected asm memory constraint\"", ")", ";", "SDValue", "Base", ",", "Offset", ",", "Opc", ";", "if", "(", "!", "SelectAddrMode2", "(", "Op", ",", "Op", ",", "Base", ",", "Offset", ",", "Opc", ")", ")", "return", "true", ";", "OutOps", ".", "push_back", "(", "Base", ")", ";", "OutOps", ".", "push_back", "(", "Offset", ")", ";", "OutOps", ".", "push_back", "(", "Opc", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["ARM", "ARM", "\"unexpected asm memory constraint\""], "File": "ARMISelDAGToDAG21", "Func": "SelectInlineAsmMemoryOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4849, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "getGOT", "(", "NodeTy", "*", "N", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"AArch64TargetLowering::getGOT\\n\"", ")", ";", "SDLoc", "DL", "(", "N", ")", ";", "EVT", "Ty", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";", "SDValue", "GotAddr", "=", "getTargetNode", "(", "N", ",", "Ty", ",", "DAG", ",", "AArch64II", "::", "MO_GOT", ")", ";", "return", "DAG", ".", "getNode", "(", "AArch64ISD", "::", "LOADgot", ",", "DL", ",", "Ty", ",", "GotAddr", ")", ";", "}", ""], "natrual_language": ["Return", "a", "pseudo", "source", "value", "referencing", "the", "global", "offset", "table", "(", "or", "something", "the", "like", ")", "."], "TS_V_token": ["AArch64", "AArch64", "\"AArch64TargetLowering::getGOT\\n\"", "AArch64II::MO_GOT", "AArch64ISD::LOADgot"], "File": "AArch64ISelLowering105", "Func": "getGOT", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4850, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PPCTargetLowering", "::", "ConstraintType", "PPCTargetLowering", "::", "getConstraintType", "(", "const", "std", "::", "string", "&", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'b'", ":", "case", "'r'", ":", "case", "'f'", ":", "case", "'v'", ":", "case", "'y'", ":", "return", "C_RegisterClass", ";", "case", "'Z'", ":", "return", "C_Memory", ";", "}", "}", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "1", "0"], "File": "PPCISelLowering (2)1", "Func": "getConstraintType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4851, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "X86TargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "IsMemset", ",", "bool", "ZeroMemset", ",", "bool", "MemcpyStrSrc", ",", "const", "AttributeList", "&", "FuncAttributes", ")", "const", "{", "if", "(", "!", "FuncAttributes", ".", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ")", "{", "if", "(", "Size", ">=", "16", "&&", "(", "!", "Subtarget", ".", "isUnalignedMem16Slow", "(", ")", "||", "(", "(", "DstAlign", "==", "0", "||", "DstAlign", ">=", "16", ")", "&&", "(", "SrcAlign", "==", "0", "||", "SrcAlign", ">=", "16", ")", ")", ")", ")", "{", "if", "(", "Size", ">=", "64", "&&", "Subtarget", ".", "hasAVX512", "(", ")", "&&", "(", "Subtarget", ".", "getPreferVectorWidth", "(", ")", ">=", "512", ")", ")", "{", "return", "Subtarget", ".", "hasBWI", "(", ")", "?", "MVT", "::", "v64i8", ":", "MVT", "::", "v16i32", ";", "}", "if", "(", "Size", ">=", "32", "&&", "Subtarget", ".", "hasAVX", "(", ")", "&&", "(", "Subtarget", ".", "getPreferVectorWidth", "(", ")", ">=", "256", ")", ")", "{", "return", "MVT", "::", "v32i8", ";", "}", "if", "(", "Subtarget", ".", "hasSSE2", "(", ")", "&&", "(", "Subtarget", ".", "getPreferVectorWidth", "(", ")", ">=", "128", ")", ")", "return", "MVT", "::", "v16i8", ";", "if", "(", "Subtarget", ".", "hasSSE1", "(", ")", "&&", "(", "Subtarget", ".", "is64Bit", "(", ")", "||", "Subtarget", ".", "hasX87", "(", ")", ")", "&&", "(", "Subtarget", ".", "getPreferVectorWidth", "(", ")", ">=", "128", ")", ")", "return", "MVT", "::", "v4f32", ";", "}", "else", "if", "(", "(", "!", "IsMemset", "||", "ZeroMemset", ")", "&&", "!", "MemcpyStrSrc", "&&", "Size", ">=", "8", "&&", "!", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Subtarget", ".", "hasSSE2", "(", ")", ")", "{", "return", "MVT", "::", "f64", ";", "}", "}", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Size", ">=", "8", ")", "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": ["X86", "X86", "16", "0", "16", "0", "16", "64", "512", "MVT::v64i8", "MVT::v16i32", "32", "256", "MVT::v32i8", "128", "MVT::v16i8", "128", "MVT::v4f32", "8", "MVT::f64", "8", "MVT::i64", "MVT::i32"], "File": "X86ISelLowering (2)6", "Func": "getOptimalMemOpType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4852, "Length": 271, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "SDLoc", "dl", "(", "N", ")", ";", "if", "(", "N", "->", "isMachineOpcode", "(", ")", ")", "{", "N", "->", "setNodeId", "(", "-", "1", ")", ";", "return", ";", "}", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "INLINEASM", ":", "case", "ISD", "::", "INLINEASM_BR", ":", "{", "if", "(", "tryInlineAsm", "(", "N", ")", ")", "return", ";", "break", ";", "}", "case", "SPISD", "::", "GLOBAL_BASE_REG", ":", "ReplaceNode", "(", "N", ",", "getGlobalBaseReg", "(", ")", ")", ";", "return", ";", "case", "ISD", "::", "SDIV", ":", "case", "ISD", "::", "UDIV", ":", "{", "if", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i64", ")", "break", ";", "SDValue", "DivLHS", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "DivRHS", "=", "N", "->", "getOperand", "(", "1", ")", ";", "SDValue", "TopPart", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SDIV", ")", "{", "TopPart", "=", "SDValue", "(", "CurDAG", "->", "getMachineNode", "(", "SP", "::", "SRAri", ",", "dl", ",", "MVT", "::", "i32", ",", "DivLHS", ",", "CurDAG", "->", "getTargetConstant", "(", "31", ",", "dl", ",", "MVT", "::", "i32", ")", ")", ",", "0", ")", ";", "}", "else", "{", "TopPart", "=", "CurDAG", "->", "getRegister", "(", "SP", "::", "G0", ",", "MVT", "::", "i32", ")", ";", "}", "TopPart", "=", "CurDAG", "->", "getCopyToReg", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "dl", ",", "SP", "::", "Y", ",", "TopPart", ",", "SDValue", "(", ")", ")", ".", "getValue", "(", "1", ")", ";", "unsigned", "Opcode", "=", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SDIV", "?", "SP", "::", "SDIVrr", ":", "SP", "::", "UDIVrr", ";", "CurDAG", "->", "SelectNodeTo", "(", "N", ",", "Opcode", ",", "MVT", "::", "i32", ",", "DivLHS", ",", "DivRHS", ",", "TopPart", ")", ";", "return", ";", "}", "}", "SelectCode", "(", "N", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["Sparc", "Sparc", "1", "ISD::INLINEASM", "ISD::INLINEASM_BR", "SPISD::GLOBAL_BASE_REG", "ISD::SDIV", "ISD::UDIV", "0", "MVT::i64", "0", "1", "ISD::SDIV", "SP::SRAri", "MVT::i32", "31", "MVT::i32", "0", "SP::G0", "MVT::i32", "SP::Y", "1", "ISD::SDIV", "SP::SDIVrr", "SP::UDIVrr", "MVT::i32"], "File": "SparcISelDAGToDAG19", "Func": "Select", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4853, "Length": 286, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_pad_reg_upward", "(", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "first", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "BYTES_BIG_ENDIAN", "&&", "aarch64_composite_type_p", "(", "type", ",", "mode", ")", ")", "{", "HOST_WIDE_INT", "size", ";", "if", "(", "type", ")", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "else", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ".", "to_constant", "(", ")", ";", "if", "(", "size", "<", "2", "*", "UNITS_PER_WORD", ")", "{", "pure_scalable_type_info", "pst_info", ";", "if", "(", "pst_info", ".", "analyze_registers", "(", "type", ")", ")", "return", "false", ";", "return", "true", ";", "}", "}", "return", "!", "BYTES_BIG_ENDIAN", ";", "}", ""], "natrual_language": ["Similarly", ",", "for", "use", "by", "BLOCK_REG_PADDING", "(", "MODE", ",", "TYPE", ",", "FIRST", ")", ".", "It", "specifies", "padding", "for", "the", "last", "(", "may", "also", "be", "the", "only", ")", "element", "of", "a", "block", "move", "between", "registers", "and", "memory", ".", "If", "assuming", "the", "block", "is", "in", "the", "memory", ",", "padding", "upward", "means", "that", "the", "last", "element", "is", "padded", "after", "its", "highest", "significant", "byte", ",", "while", "in", "downward", "padding", ",", "the", "last", "element", "is", "padded", "at", "the", "its", "least", "significant", "byte", "side", ".", "Small", "aggregates", "and", "small", "complex", "types", "are", "always", "padded", "upwards", ".", "We", "do", "n't", "need", "to", "worry", "about", "homogeneous", "floating-point", "or", "short-vector", "aggregates", ";", "their", "move", "is", "not", "affected", "by", "the", "padding", "direction", "determined", "here", ".", "Regardless", "of", "endianness", ",", "each", "element", "of", "such", "an", "aggregate", "is", "put", "in", "the", "least", "significant", "bits", "of", "a", "fp/simd", "register", ".", "Return", "!", "BYTES_BIG_ENDIAN", "if", "the", "least", "significant", "byte", "of", "the", "register", "has", "useful", "data", ",", "and", "return", "the", "opposite", "if", "the", "most", "significant", "byte", "does", "."], "TS_V_token": ["aarch64", "2"], "File": "aarch64", "Func": "aarch64_pad_reg_upward", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4854, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBank", "&", "MipsRegisterBankInfo", "::", "getRegBankFromRegClass", "(", "const", "TargetRegisterClass", "&", "RC", ")", "const", "{", "using", "namespace", "Mips", ";", "switch", "(", "RC", ".", "getID", "(", ")", ")", "{", "case", "Mips", "::", "GPR32RegClassID", ":", "case", "Mips", "::", "CPU16Regs_and_GPRMM16ZeroRegClassID", ":", "case", "Mips", "::", "GPRMM16MoveP_and_CPU16Regs_and_GPRMM16ZeroRegClassID", ":", "case", "Mips", "::", "SP32RegClassID", ":", "return", "getRegBank", "(", "Mips", "::", "GPRBRegBankID", ")", ";", "default", ":", "llvm_unreachable", "(", "\"Register class not supported\"", ")", ";", "}", "}", ""], "natrual_language": ["Get", "a", "register", "bank", "that", "covers", "RC", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips::GPR32RegClassID", "Mips::CPU16Regs_and_GPRMM16ZeroRegClassID", "Mips::GPRMM16MoveP_and_CPU16Regs_and_GPRMM16ZeroRegClassID", "Mips::SP32RegClassID", "Mips::GPRBRegBankID", "\"Register class not supported\""], "File": "MipsRegisterBankInfo26", "Func": "getRegBankFromRegClass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4855, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_sve_ld1rq_operand_p", "(", "rtx", "op", ")", "{", "return", "aarch64_sve_ld1rq_ld1ro_operand_p", "(", "op", ",", "TImode", ",", "GET_MODE_INNER", "(", "GET_MODE", "(", "op", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "is", "a", "valid", "MEM", "operand", "for", "an", "SVE", "LD1RQ", "instruction", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_sve_ld1rq_operand_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4856, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMWinCOFFStreamer", "::", "emitThumbFunc", "(", "MCSymbol", "*", "Symbol", ")", "{", "getAssembler", "(", ")", ".", "setIsThumbFunc", "(", "Symbol", ")", ";", "}", ""], "natrual_language": ["Note", "in", "the", "output", "that", "the", "specified", "Func", "is", "a", "Thumb", "mode", "function", "(", "ARM", "target", "only", ")", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMWinCOFFStreamer", "Func": "emitThumbFunc", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4857, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "getStackAddress", "(", "uint64_t", "Size", ",", "int64_t", "Offset", ",", "MachinePointerInfo", "&", "MPO", ")", "override", "{", "assert", "(", "(", "Size", "==", "1", "||", "Size", "==", "2", "||", "Size", "==", "4", "||", "Size", "==", "8", ")", "&&", "\"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", "1", "2", "4", "8", "\"Unsupported size\"", "32"], "File": "ARMCallLowering1", "Func": "getStackAddress", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4858, "Length": 115, "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": 4859, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_emit_probe_stack_range", "(", "HOST_WIDE_INT", "first", ",", "HOST_WIDE_INT", "size", ")", "{", "if", "(", "first", "+", "size", "<=", "32768", ")", "{", "HOST_WIDE_INT", "i", ";", "for", "(", "i", "=", "PROBE_INTERVAL", ";", "i", "<", "size", ";", "i", "+=", "PROBE_INTERVAL", ")", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "(", "first", "+", "i", ")", ")", ")", ";", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "(", "first", "+", "size", ")", ")", ")", ";", "}", "else", "{", "HOST_WIDE_INT", "rounded_size", ";", "rtx", "r12", "=", "gen_rtx_REG", "(", "Pmode", ",", "12", ")", ";", "rtx", "r0", "=", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ";", "gcc_assert", "(", "first", "<=", "32768", ")", ";", "rounded_size", "=", "size", "&", "-", "PROBE_INTERVAL", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "r12", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "first", ")", ")", ")", ";", "if", "(", "rounded_size", ">", "32768", ")", "{", "emit_move_insn", "(", "r0", ",", "GEN_INT", "(", "-", "rounded_size", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "r0", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "r12", ",", "r0", ")", ")", ")", ";", "}", "else", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "r0", ",", "plus_constant", "(", "Pmode", ",", "r12", ",", "-", "rounded_size", ")", ")", ")", ";", "if", "(", "TARGET_64BIT", ")", "emit_insn", "(", "gen_probe_stack_rangedi", "(", "r12", ",", "r12", ",", "r0", ")", ")", ";", "else", "emit_insn", "(", "gen_probe_stack_rangesi", "(", "r12", ",", "r12", ",", "r0", ")", ")", ";", "if", "(", "size", "!=", "rounded_size", ")", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "r12", ",", "rounded_size", "-", "size", ")", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "code", "to", "probe", "a", "range", "of", "stack", "addresses", "from", "FIRST", "to", "FIRST+SIZE", ",", "inclusive", ".", "These", "are", "offsets", "from", "the", "current", "stack", "pointer", "."], "TS_V_token": ["rs6000", "32768", "12", "0", "32768", "32768"], "File": "rs60004", "Func": "rs6000_emit_probe_stack_range", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4860, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isPredicable", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "!", "MI", ".", "isPredicable", "(", ")", ")", "return", "false", ";", "if", "(", "MI", ".", "isBundle", "(", ")", ")", "return", "false", ";", "if", "(", "!", "isEligibleForITBlock", "(", "&", "MI", ")", ")", "return", "false", ";", "const", "ARMFunctionInfo", "*", "AFI", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "if", "(", "(", "MI", ".", "getDesc", "(", ")", ".", "TSFlags", "&", "ARMII", "::", "DomainMask", ")", "==", "ARMII", "::", "DomainNEON", ")", "return", "false", ";", "if", "(", "AFI", "->", "isThumb2Function", "(", ")", ")", "{", "if", "(", "getSubtarget", "(", ")", ".", "restrictIT", "(", ")", ")", "return", "isV8EligibleForIT", "(", "&", "MI", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "instruction", "can", "be", "predicated", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARMII::DomainMask", "ARMII::DomainNEON"], "File": "ARMBaseInstrInfo1", "Func": "isPredicable", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4861, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "getFMA3OpcodeToCommuteOperands", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "SrcOpIdx1", ",", "unsigned", "SrcOpIdx2", ",", "const", "X86InstrFMA3Group", "&", "FMA3Group", ")", "const", "{", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "assert", "(", "!", "(", "FMA3Group", ".", "isIntrinsic", "(", ")", "&&", "(", "SrcOpIdx1", "==", "1", "||", "SrcOpIdx2", "==", "1", ")", ")", "&&", "\"Intrinsic instructions can't commute operand 1\"", ")", ";", "unsigned", "Case", "=", "getThreeSrcCommuteCase", "(", "MI", ".", "getDesc", "(", ")", ".", "TSFlags", ",", "SrcOpIdx1", ",", "SrcOpIdx2", ")", ";", "assert", "(", "Case", "<", "3", "&&", "\"Unexpected case number!\"", ")", ";", "const", "unsigned", "Form132Index", "=", "0", ";", "const", "unsigned", "Form213Index", "=", "1", ";", "const", "unsigned", "Form231Index", "=", "2", ";", "static", "const", "unsigned", "FormMapping", "[", "]", "[", "3", "]", "=", "{", "{", "Form231Index", ",", "Form213Index", ",", "Form132Index", "}", ",", "{", "Form132Index", ",", "Form231Index", ",", "Form213Index", "}", ",", "{", "Form213Index", ",", "Form132Index", ",", "Form231Index", "}", "}", ";", "unsigned", "FMAForms", "[", "3", "]", ";", "FMAForms", "[", "0", "]", "=", "FMA3Group", ".", "get132Opcode", "(", ")", ";", "FMAForms", "[", "1", "]", "=", "FMA3Group", ".", "get213Opcode", "(", ")", ";", "FMAForms", "[", "2", "]", "=", "FMA3Group", ".", "get231Opcode", "(", ")", ";", "unsigned", "FormIndex", ";", "for", "(", "FormIndex", "=", "0", ";", "FormIndex", "<", "3", ";", "FormIndex", "++", ")", "if", "(", "Opc", "==", "FMAForms", "[", "FormIndex", "]", ")", "break", ";", "FormIndex", "=", "FormMapping", "[", "Case", "]", "[", "FormIndex", "]", ";", "return", "FMAForms", "[", "FormIndex", "]", ";", "}", ""], "natrual_language": ["Returns", "an", "adjusted", "FMA", "opcode", "that", "must", "be", "used", "in", "FMA", "instruction", "that", "performs", "the", "same", "computations", "as", "the", "given", "MI", "but", "which", "has", "the", "operands", "SrcOpIdx1", "and", "SrcOpIdx2", "commuted", "."], "TS_V_token": ["X86", "X86", "X86", "1", "1", "\"Intrinsic instructions can't commute operand 1\"", "3", "\"Unexpected case number!\"", "0", "1", "2", "3", "3", "0", "1", "2", "0", "3"], "File": "X86InstrInfo (2)3", "Func": "getFMA3OpcodeToCommuteOperands", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4862, "Length": 220, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", "const", "override", "{", "Value", "=", "adjustFixupValue", "(", "Fixup", ".", "getKind", "(", ")", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "4", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittleEndian", "?", "i", ":", "3", "-", "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": ["Sparc", "0", "4", "3", "8", "0xff"], "File": "SparcAsmBackend25", "Func": "applyFixup", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4863, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips16_lay_out_constants", "(", "void", ")", "{", "struct", "mips16_constant_pool", "pool", ";", "rtx", "insn", ",", "barrier", ";", "barrier", "=", "0", ";", "memset", "(", "&", "pool", ",", "0", ",", "sizeof", "(", "pool", ")", ")", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "if", "(", "INSN_P", "(", "insn", ")", ")", "for_each_rtx", "(", "&", "PATTERN", "(", "insn", ")", ",", "mips16_rewrite_pool_refs", ",", "&", "pool", ")", ";", "pool", ".", "insn_address", "+=", "mips16_insn_length", "(", "insn", ")", ";", "if", "(", "pool", ".", "first", "!=", "NULL", ")", "{", "if", "(", "barrier", "==", "0", "&&", "pool", ".", "insn_address", "+", "4", ">", "pool", ".", "highest_address", ")", "{", "rtx", "label", ",", "jump", ";", "label", "=", "gen_label_rtx", "(", ")", ";", "jump", "=", "emit_jump_insn_before", "(", "gen_jump", "(", "label", ")", ",", "insn", ")", ";", "JUMP_LABEL", "(", "jump", ")", "=", "label", ";", "LABEL_NUSES", "(", "label", ")", "=", "1", ";", "barrier", "=", "emit_barrier_after", "(", "jump", ")", ";", "emit_label_after", "(", "label", ",", "barrier", ")", ";", "pool", ".", "insn_address", "+=", "4", ";", "}", "if", "(", "pool", ".", "insn_address", ">", "pool", ".", "highest_address", ")", "{", "dump_constants", "(", "pool", ".", "first", ",", "barrier", ")", ";", "pool", ".", "first", "=", "NULL", ";", "barrier", "=", "0", ";", "}", "else", "if", "(", "BARRIER_P", "(", "insn", ")", ")", "barrier", "=", "insn", ";", "}", "}", "dump_constants", "(", "pool", ".", "first", ",", "get_last_insn", "(", ")", ")", ";", "}", ""], "natrual_language": ["Build", "MIPS16", "constant", "pools", "."], "TS_V_token": ["mips", "0", "0", "0", "4", "1", "4", "0"], "File": "mips3", "Func": "mips16_lay_out_constants", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4864, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_vector_mode_p", "(", "machine_mode", "mode", ")", "{", "return", "aarch64_vector_mode_supported_p", "(", "mode", ")", "||", "aarch64_vect_struct_mode_p", "(", "mode", ")", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "MODE", "is", "any", "of", "the", "vector", "modes", "."], "TS_V_token": ["aarch64"], "File": "aarch642", "Func": "aarch64_vector_mode_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4865, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "Check", "(", "DecodeStatus", "&", "Out", ",", "DecodeStatus", "In", ")", "{", "switch", "(", "In", ")", "{", "case", "MCDisassembler", "::", "Success", ":", "return", "true", ";", "case", "MCDisassembler", "::", "SoftFail", ":", "Out", "=", "In", ";", "return", "true", ";", "case", "MCDisassembler", "::", "Fail", ":", "Out", "=", "In", ";", "return", "false", ";", "}", "llvm_unreachable", "(", "\"Invalid DecodeStatus!\"", ")", ";", "}", ""], "natrual_language": ["Matches", "check", "string", "and", "its", "``", "not", "strings", "''", "and/or", "``", "dag", "strings", "''", "."], "TS_V_token": ["ARM64", "\"Invalid DecodeStatus!\""], "File": "ARM64Disassembler1", "Func": "Check", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4866, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "bool", ">", "AArch64FastISel", "::", "getRegForGEPIndex", "(", "const", "Value", "*", "Idx", ")", "{", "unsigned", "IdxN", "=", "getRegForValue", "(", "Idx", ")", ";", "if", "(", "IdxN", "==", "0", ")", "return", "std", "::", "pair", "<", "unsigned", ",", "bool", ">", "(", "0", ",", "false", ")", ";", "bool", "IdxNIsKill", "=", "hasTrivialKill", "(", "Idx", ")", ";", "MVT", "PtrVT", "=", "TLI", ".", "getPointerTy", "(", ")", ";", "EVT", "IdxVT", "=", "EVT", "::", "getEVT", "(", "Idx", "->", "getType", "(", ")", ",", "false", ")", ";", "if", "(", "IdxVT", ".", "bitsLT", "(", "PtrVT", ")", ")", "{", "IdxN", "=", "emitIntExt", "(", "IdxVT", ".", "getSimpleVT", "(", ")", ",", "IdxN", ",", "PtrVT", ",", "false", ")", ";", "IdxNIsKill", "=", "true", ";", "}", "else", "if", "(", "IdxVT", ".", "bitsGT", "(", "PtrVT", ")", ")", "llvm_unreachable", "(", "\"AArch64 FastISel doesn't support types larger than i64\"", ")", ";", "return", "std", "::", "pair", "<", "unsigned", ",", "bool", ">", "(", "IdxN", ",", "IdxNIsKill", ")", ";", "}", ""], "natrual_language": ["This", "is", "a", "wrapper", "around", "getRegForValue", "that", "also", "takes", "care", "of", "truncating", "or", "sign-extending", "the", "given", "getelementptr", "index", "value", "."], "TS_V_token": ["AArch64", "AArch64", "0", "0", "\"AArch64 FastISel doesn't support types larger than i64\""], "File": "AArch64FastISel22", "Func": "getRegForGEPIndex", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4867, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "mmix_preferred_output_reload_class", "(", "rtx", "x", ",", "reg_class_t", "rclass", ")", "{", "return", "GET_CODE", "(", "x", ")", "==", "MOD", "&&", "GET_MODE", "(", "x", ")", "==", "DImode", "?", "REMAINDER_REG", ":", "rclass", ";", "}", ""], "natrual_language": ["PREFERRED_OUTPUT_RELOAD_CLASS", ".", "We", "need", "to", "extend", "the", "reload", "class", "of", "REMAINDER_REG", "and", "HIMULT_REG", "."], "TS_V_token": ["mmix"], "File": "mmix", "Func": "mmix_preferred_output_reload_class", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4868, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"ARM64 Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM64", "\"ARM64 Instruction Selection\""], "File": "ARM64ISelDAGToDAG", "Func": "getPassName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4869, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "MipsABIInfo", "Unknown", "(", ")", "{", "return", "MipsABIInfo", "(", "ABI", "::", "Unknown", ")", ";", "}", ""], "natrual_language": ["The", "kind", "of", "location", "description", "being", "produced", ".", "More", "..."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsABIInfo (2)", "Func": "Unknown", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4870, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "loongarch_legitimize_address", "(", "rtx", "x", ",", "rtx", "oldx", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ")", "{", "rtx", "base", ",", "addr", ";", "HOST_WIDE_INT", "offset", ";", "if", "(", "loongarch_tls_symbol_p", "(", "x", ")", ")", "return", "loongarch_legitimize_tls_address", "(", "x", ")", ";", "if", "(", "loongarch_split_symbol", "(", "NULL", ",", "x", ",", "mode", ",", "&", "addr", ")", ")", "return", "loongarch_force_address", "(", "addr", ",", "mode", ")", ";", "loongarch_split_plus", "(", "x", ",", "&", "base", ",", "&", "offset", ")", ";", "if", "(", "offset", "!=", "0", ")", "{", "if", "(", "!", "loongarch_valid_base_register_p", "(", "base", ",", "mode", ",", "false", ")", ")", "base", "=", "copy_to_mode_reg", "(", "Pmode", ",", "base", ")", ";", "addr", "=", "loongarch_add_offset", "(", "NULL", ",", "base", ",", "offset", ")", ";", "return", "loongarch_force_address", "(", "addr", ",", "mode", ")", ";", "}", "return", "x", ";", "}", ""], "natrual_language": ["This", "function", "is", "used", "to", "implement", "LEGITIMIZE_ADDRESS", ".", "If", "X", "can", "be", "legitimized", "in", "a", "way", "that", "the", "generic", "machinery", "might", "not", "expect", ",", "return", "a", "new", "address", ",", "otherwise", "return", "NULL", ".", "MODE", "is", "the", "mode", "of", "the", "memory", "being", "accessed", "."], "TS_V_token": ["loongarch", "0"], "File": "loongarch1", "Func": "loongarch_legitimize_address", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4871, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMSubtarget", "::", "isGVIndirectSymbol", "(", "const", "GlobalValue", "*", "GV", ")", "const", "{", "if", "(", "!", "TM", ".", "shouldAssumeDSOLocal", "(", "*", "GV", "->", "getParent", "(", ")", ",", "GV", ")", ")", "return", "true", ";", "if", "(", "isTargetMachO", "(", ")", "&&", "TM", ".", "isPositionIndependent", "(", ")", "&&", "(", "GV", "->", "isDeclarationForLinker", "(", ")", "||", "GV", "->", "hasCommonLinkage", "(", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["True", "if", "the", "GV", "will", "be", "accessed", "via", "an", "indirect", "symbol", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMSubtarget", "Func": "isGVIndirectSymbol", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4872, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "AArch64TargetLowering", "::", "shouldExpandAtomicCmpXchgInIR", "(", "AtomicCmpXchgInst", "*", "AI", ")", "const", "{", "if", "(", "Subtarget", "->", "hasLSE", "(", ")", "||", "Subtarget", "->", "outlineAtomics", "(", ")", ")", "return", "AtomicExpansionKind", "::", "None", ";", "if", "(", "getTargetMachine", "(", ")", ".", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ")", "return", "AtomicExpansionKind", "::", "None", ";", "unsigned", "Size", "=", "AI", "->", "getCompareOperand", "(", ")", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "Size", ">", "64", ")", "return", "AtomicExpansionKind", "::", "None", ";", "return", "AtomicExpansionKind", "::", "LLSC", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "atomic", "cmpxchg", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "."], "TS_V_token": ["AArch64", "AArch64", "64"], "File": "AArch64ISelLowering (2)2", "Func": "shouldExpandAtomicCmpXchgInIR", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4873, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_expand_builtin_va_start", "(", "tree", "valist", ",", "rtx", "nextarg", "ATTRIBUTE_UNUSED", ")", "{", "const", "CUMULATIVE_ARGS", "*", "cum", ";", "tree", "f_stack", ",", "f_grtop", ",", "f_vrtop", ",", "f_groff", ",", "f_vroff", ";", "tree", "stack", ",", "grtop", ",", "vrtop", ",", "groff", ",", "vroff", ";", "tree", "t", ";", "int", "gr_save_area_size", "=", "cfun", "->", "va_list_gpr_size", ";", "int", "vr_save_area_size", "=", "cfun", "->", "va_list_fpr_size", ";", "int", "vr_offset", ";", "cum", "=", "&", "crtl", "->", "args", ".", "info", ";", "if", "(", "cfun", "->", "va_list_gpr_size", ")", "gr_save_area_size", "=", "MIN", "(", "(", "NUM_ARG_REGS", "-", "cum", "->", "aapcs_ncrn", ")", "*", "UNITS_PER_WORD", ",", "cfun", "->", "va_list_gpr_size", ")", ";", "if", "(", "cfun", "->", "va_list_fpr_size", ")", "vr_save_area_size", "=", "MIN", "(", "(", "NUM_FP_ARG_REGS", "-", "cum", "->", "aapcs_nvrn", ")", "*", "UNITS_PER_VREG", ",", "cfun", "->", "va_list_fpr_size", ")", ";", "if", "(", "!", "TARGET_FLOAT", ")", "{", "gcc_assert", "(", "cum", "->", "aapcs_nvrn", "==", "0", ")", ";", "vr_save_area_size", "=", "0", ";", "}", "f_stack", "=", "TYPE_FIELDS", "(", "va_list_type_node", ")", ";", "f_grtop", "=", "DECL_CHAIN", "(", "f_stack", ")", ";", "f_vrtop", "=", "DECL_CHAIN", "(", "f_grtop", ")", ";", "f_groff", "=", "DECL_CHAIN", "(", "f_vrtop", ")", ";", "f_vroff", "=", "DECL_CHAIN", "(", "f_groff", ")", ";", "stack", "=", "build3", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_stack", ")", ",", "valist", ",", "f_stack", ",", "NULL_TREE", ")", ";", "grtop", "=", "build3", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_grtop", ")", ",", "valist", ",", "f_grtop", ",", "NULL_TREE", ")", ";", "vrtop", "=", "build3", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_vrtop", ")", ",", "valist", ",", "f_vrtop", ",", "NULL_TREE", ")", ";", "groff", "=", "build3", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_groff", ")", ",", "valist", ",", "f_groff", ",", "NULL_TREE", ")", ";", "vroff", "=", "build3", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_vroff", ")", ",", "valist", ",", "f_vroff", ",", "NULL_TREE", ")", ";", "t", "=", "make_tree", "(", "TREE_TYPE", "(", "stack", ")", ",", "virtual_incoming_args_rtx", ")", ";", "if", "(", "cum", "->", "aapcs_stack_size", ">", "0", ")", "t", "=", "fold_build_pointer_plus_hwi", "(", "t", ",", "cum", "->", "aapcs_stack_size", "*", "UNITS_PER_WORD", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "stack", ")", ",", "stack", ",", "t", ")", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "t", "=", "make_tree", "(", "TREE_TYPE", "(", "grtop", ")", ",", "virtual_incoming_args_rtx", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "grtop", ")", ",", "grtop", ",", "t", ")", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "t", "=", "make_tree", "(", "TREE_TYPE", "(", "vrtop", ")", ",", "virtual_incoming_args_rtx", ")", ";", "vr_offset", "=", "ROUND_UP", "(", "gr_save_area_size", ",", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ")", ";", "if", "(", "vr_offset", ")", "t", "=", "fold_build_pointer_plus_hwi", "(", "t", ",", "-", "vr_offset", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "vrtop", ")", ",", "vrtop", ",", "t", ")", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "groff", ")", ",", "groff", ",", "build_int_cst", "(", "TREE_TYPE", "(", "groff", ")", ",", "-", "gr_save_area_size", ")", ")", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "vroff", ")", ",", "vroff", ",", "build_int_cst", "(", "TREE_TYPE", "(", "vroff", ")", ",", "-", "vr_save_area_size", ")", ")", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_EXPAND_BUILTIN_VA_START", "."], "TS_V_token": ["aarch64", "0", "0", "0"], "File": "aarch64", "Func": "aarch64_expand_builtin_va_start", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4874, "Length": 499, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "uint64_t", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "unsigned", "MatchResult", ";", "MatchResult", "=", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ";", "switch", "(", "MatchResult", ")", "{", "case", "Match_Success", ":", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "Out", ".", "EmitInstruction", "(", "Inst", ",", "getSTI", "(", ")", ")", ";", "return", "false", ";", "case", "Match_MissingFeature", ":", "{", "assert", "(", "ErrorInfo", "&&", "\"Unknown missing feature!\"", ")", ";", "std", "::", "string", "Msg", "=", "\"instruction requires:\"", ";", "uint64_t", "Mask", "=", "1", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "sizeof", "(", "ErrorInfo", ")", "*", "8", "-", "1", ";", "++", "I", ")", "{", "if", "(", "ErrorInfo", "&", "Mask", ")", "{", "Msg", "+=", "\" \"", ";", "Msg", "+=", "getSubtargetFeatureName", "(", "ErrorInfo", "&", "Mask", ")", ";", "}", "Mask", "<<=", "1", ";", "}", "return", "Error", "(", "IDLoc", ",", "Msg", ")", ";", "}", "case", "Match_InvalidOperand", ":", "{", "SMLoc", "ErrorLoc", "=", "IDLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "0ULL", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "IDLoc", ",", "\"too few operands for instruction\"", ")", ";", "ErrorLoc", "=", "(", "(", "SystemZOperand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "\"invalid operand for instruction\"", ")", ";", "}", "case", "Match_MnemonicFail", ":", "{", "uint64_t", "FBS", "=", "ComputeAvailableFeatures", "(", "getSTI", "(", ")", ".", "getFeatureBits", "(", ")", ")", ";", "std", "::", "string", "Suggestion", "=", "SystemZMnemonicSpellCheck", "(", "(", "(", "SystemZOperand", "&", ")", "*", "Operands", "[", "0", "]", ")", ".", "getToken", "(", ")", ",", "FBS", ")", ";", "return", "Error", "(", "IDLoc", ",", "\"invalid instruction\"", "+", "Suggestion", ",", "(", "(", "SystemZOperand", "&", ")", "*", "Operands", "[", "0", "]", ")", ".", "getLocRange", "(", ")", ")", ";", "}", "}", "llvm_unreachable", "(", "\"Unexpected match type\"", ")", ";", "}", ""], "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": ["SystemZ", "SystemZ", "\"Unknown missing feature!\"", "\"instruction requires:\"", "1", "0", "8", "1", "\" \"", "1", "0ULL", "\"too few operands for instruction\"", "SystemZ", "\"invalid operand for instruction\"", "SystemZ", "SystemZ", "0", "\"invalid instruction\"", "SystemZ", "0", "\"Unexpected match type\""], "File": "SystemZAsmParser12", "Func": "MatchAndEmitInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4875, "Length": 309, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCAIXAsmPrinter", "::", "SetupMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "CurrentFnDescSym", "=", "getSymbol", "(", "&", "MF", ".", "getFunction", "(", ")", ")", ";", "MCSectionXCOFF", "*", "FnDescSec", "=", "OutStreamer", "->", "getContext", "(", ")", ".", "getXCOFFSection", "(", "CurrentFnDescSym", "->", "getName", "(", ")", ",", "XCOFF", "::", "XMC_DS", ",", "XCOFF", "::", "XTY_SD", ",", "XCOFF", "::", "C_HIDEXT", ",", "SectionKind", "::", "getData", "(", ")", ")", ";", "cast", "<", "MCSymbolXCOFF", ">", "(", "CurrentFnDescSym", ")", "->", "setContainingCsect", "(", "FnDescSec", ")", ";", "return", "AsmPrinter", "::", "SetupMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["This", "should", "be", "called", "when", "a", "new", "MachineFunction", "is", "being", "processed", "from", "runOnMachineFunction", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCAsmPrinter101", "Func": "SetupMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4876, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ShouldShrinkFPConstant", "(", "EVT", "VT", ")", "const", "override", "{", "return", "VT", "!=", "MVT", "::", "f64", ";", "}", ""], "natrual_language": ["If", "true", ",", "then", "instruction", "selection", "should", "seek", "to", "shrink", "the", "FP", "constant", "of", "the", "specified", "type", "to", "a", "smaller", "type", "in", "order", "to", "save", "space", "and", "/", "or", "reduce", "runtime", "."], "TS_V_token": ["SystemZ", "MVT::f64"], "File": "SystemZISelLowering33", "Func": "ShouldShrinkFPConstant", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4877, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseInstrInfo", "::", "isStoreToStackSlotPostFE", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "SmallVector", "<", "const", "MachineMemOperand", "*", ",", "1", ">", "Accesses", ";", "if", "(", "MI", ".", "mayStore", "(", ")", "&&", "hasStoreToStackSlot", "(", "MI", ",", "Accesses", ")", "&&", "Accesses", ".", "size", "(", ")", "==", "1", ")", "{", "FrameIndex", "=", "cast", "<", "FixedStackPseudoSourceValue", ">", "(", "Accesses", ".", "front", "(", ")", "->", "getPseudoValue", "(", ")", ")", "->", "getFrameIndex", "(", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["isStoreToStackSlotPostFE", "-", "Check", "for", "post-frame", "ptr", "elimination", "stack", "locations", "as", "well", "."], "TS_V_token": ["ARM", "ARM", "1", "1"], "File": "ARMBaseInstrInfo10", "Func": "isStoreToStackSlotPostFE", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4878, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TOYRegisterInfo", "::", "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": ["TOY", "TOY"], "File": "TOYRegisterInfo1", "Func": "useFPForScavengingIndex", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4879, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SystemZTargetLowering", "::", "prepareVolatileOrAtomicLoad", "(", "SDValue", "Chain", ",", "SDLoc", "DL", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "return", "DAG", ".", "getNode", "(", "SystemZISD", "::", "SERIALIZE", ",", "DL", ",", "MVT", "::", "Other", ",", "Chain", ")", ";", "}", ""], "natrual_language": ["This", "callback", "is", "used", "to", "prepare", "for", "a", "volatile", "or", "atomic", "load", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZISD::SERIALIZE", "MVT::Other"], "File": "SystemZISelLowering (2)1", "Func": "prepareVolatileOrAtomicLoad", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4880, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16RegisterInfo", "::", "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": ["Mips", "Mips"], "File": "Mips16RegisterInfo11", "Func": "requiresFrameIndexScavenging", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4881, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_movsf_ie_ra_split_p", "(", "rtx", "op0", ",", "rtx", "op1", ",", "rtx", "op2", ")", "{", "if", "(", "rtx_equal_p", "(", "op0", ",", "op1", ")", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "op1", ")", "==", "CONST_DOUBLE", "&&", "!", "satisfies_constraint_G", "(", "op1", ")", "&&", "!", "satisfies_constraint_H", "(", "op1", ")", "&&", "REG_P", "(", "op0", ")", "&&", "REG_P", "(", "op2", ")", ")", "return", "true", ";", "if", "(", "REG_P", "(", "op0", ")", "&&", "FP_REGISTER_P", "(", "REGNO", "(", "op0", ")", ")", "&&", "REG_P", "(", "op1", ")", "&&", "GENERAL_REGISTER_P", "(", "REGNO", "(", "op1", ")", ")", "&&", "REG_P", "(", "op2", ")", "&&", "(", "REGNO", "(", "op2", ")", "==", "FPUL_REG", ")", ")", "return", "true", ";", "if", "(", "REG_P", "(", "op1", ")", "&&", "FP_REGISTER_P", "(", "REGNO", "(", "op1", ")", ")", "&&", "REG_P", "(", "op0", ")", "&&", "GENERAL_REGISTER_P", "(", "REGNO", "(", "op0", ")", ")", "&&", "REG_P", "(", "op2", ")", "&&", "(", "REGNO", "(", "op2", ")", "==", "FPUL_REG", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "movsf", "insn", "should", "be", "splited", "with", "an", "additional", "register", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "sh_movsf_ie_ra_split_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4882, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "PPCRegisterInfo", "::", "getLargestLegalSuperClass", "(", "const", "TargetRegisterClass", "*", "RC", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "if", "(", "Subtarget", ".", "hasVSX", "(", ")", ")", "{", "if", "(", "RC", "==", "&", "PPC", "::", "F8RCRegClass", ")", "return", "&", "PPC", "::", "VSFRCRegClass", ";", "else", "if", "(", "RC", "==", "&", "PPC", "::", "VRRCRegClass", ")", "return", "&", "PPC", "::", "VSRCRegClass", ";", "}", "return", "TargetRegisterInfo", "::", "getLargestLegalSuperClass", "(", "RC", ",", "MF", ")", ";", "}", ""], "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": ["PowerPC", "PPC", "PPC", "PPC", "PPC::F8RCRegClass", "PPC::VSFRCRegClass", "PPC::VRRCRegClass", "PPC::VSRCRegClass"], "File": "PPCRegisterInfo15", "Func": "getLargestLegalSuperClass", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4883, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "moxie_function_value_regno_p", "(", "const", "unsigned", "int", "regno", ")", "{", "return", "(", "regno", "==", "MOXIE_R0", ")", ";", "}", ""], "natrual_language": ["Handle", "TARGET_FUNCTION_VALUE_REGNO_P", ".", "We", "always", "return", "values", "in", "register", "$", "r0", "for", "moxie", "."], "TS_V_token": ["moxie"], "File": "moxie", "Func": "moxie_function_value_regno_p", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4884, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "canUseAsPrologue", "(", "const", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "assert", "(", "MBB", ".", "getParent", "(", ")", "&&", "\"Block is not attached to a function!\"", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "if", "(", "!", "MBB", ".", "isLiveIn", "(", "X86", "::", "EFLAGS", ")", ")", "return", "true", ";", "const", "X86MachineFunctionInfo", "*", "X86FI", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "return", "!", "TRI", "->", "hasStackRealignment", "(", "MF", ")", "&&", "!", "X86FI", "->", "hasSwiftAsyncContext", "(", ")", ";", "}", ""], "natrual_language": ["Check", "whether", "or", "not", "the", "given", "MBB", "can", "be", "used", "as", "a", "prologue", "for", "the", "target", "."], "TS_V_token": ["X86", "X86", "\"Block is not attached to a function!\"", "X86::EFLAGS", "X86", "X86", "X86", "X86"], "File": "X86FrameLowering (2)3", "Func": "canUseAsPrologue", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4885, "Length": 81, "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", "(", "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", "ARM::R3", "ARM::tBX_RET_vararg", "ARM::R3"], "File": "Thumb1RegisterInfo24", "Func": "emitEpilogue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4886, "Length": 490, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "::", "HazardType", "SystemZHazardRecognizer", "::", "getHazardType", "(", "SUnit", "*", "SU", ",", "int", "Stalls", ")", "{", "return", "(", "fitsIntoCurrentGroup", "(", "SU", ")", "?", "NoHazard", ":", "Hazard", ")", ";", "}", ""], "natrual_language": ["getHazardType", "-", "Return", "the", "hazard", "type", "of", "emitting", "this", "node", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZHazardRecognizer2", "Func": "getHazardType", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4887, "Length": 28, "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", "(", "std", "::", "any_of", "(", "MBB", ".", "instr_begin", "(", ")", ",", "MBB", ".", "instr_end", "(", ")", ",", "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", ")", ";", "unsigned", "StackAlignment", "=", "Subtarget", ".", "getStackAlignment", "(", ")", ".", "value", "(", ")", ";", "const", "TargetSubtargetInfo", "&", "STI", "=", "MF", ".", "getSubtarget", "(", ")", ";", "const", "MCRegisterInfo", "*", "MRI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "DwarfReg", "=", "MRI", "->", "getDwarfRegNum", "(", "ARM", "::", "LR", ",", "true", ")", ";", "int64_t", "StackPosEntry", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "cfiDefCfaOffset", "(", "nullptr", ",", "StackAlignment", ")", ")", ";", "BuildMI", "(", "MBB", ",", "It", ",", "DebugLoc", "(", ")", ",", "get", "(", "ARM", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "StackPosEntry", ")", ".", "setMIFlags", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "int64_t", "LRPosEntry", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createOffset", "(", "nullptr", ",", "DwarfReg", ",", "StackAlignment", ")", ")", ";", "BuildMI", "(", "MBB", ",", "It", ",", "DebugLoc", "(", ")", ",", "get", "(", "ARM", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "LRPosEntry", ")", ".", "setMIFlags", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "restoreLRFromStack", "(", "MBB", ",", "Et", ")", ";", "}", "if", "(", "OF", ".", "FrameConstructionID", "==", "MachineOutlinerTailCall", "||", "OF", ".", "FrameConstructionID", "==", "MachineOutlinerThunk", ")", "return", ";", "BuildMI", "(", "MBB", ",", "MBB", ".", "end", "(", ")", ",", "DebugLoc", "(", ")", ",", "get", "(", "Subtarget", ".", "getReturnOpcode", "(", ")", ")", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "}", ""], "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", "ARM::LR", "ARM::CFI_INSTRUCTION", "ARM::CFI_INSTRUCTION", "ARMCC::AL"], "File": "ARMBaseInstrInfo116", "Func": "buildOutlinedFrame", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4888, "Length": 504, "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": 4889, "Length": 480, "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", "(", ")", ";", "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", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Blocked load and store instructions: \\n\"", ")", ";", "DEBUG", "(", "LoadInst", "->", "dump", "(", ")", ")", ";", "DEBUG", "(", "StoreInst", "->", "dump", "(", ")", ")", ";", "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", "(", ")", ";", "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": "X86AvoidStoreForwardingBlocks17", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4890, "Length": 406, "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": 4891, "Length": 190, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "void", "aarch64_sub_sp", "(", "rtx", "temp1", ",", "rtx", "temp2", ",", "poly_int64", "delta", ",", "bool", "frame_related_p", ",", "bool", "emit_move_imm", "=", "true", ")", "{", "aarch64_add_offset", "(", "Pmode", ",", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "-", "delta", ",", "temp1", ",", "temp2", ",", "frame_related_p", ",", "emit_move_imm", ")", ";", "}", ""], "natrual_language": ["Subtract", "DELTA", "from", "the", "stack", "pointer", ",", "marking", "the", "instructions", "frame-related", "if", "FRAME_RELATED_P", ".", "TEMP1", "is", "available", "as", "a", "temporary", "if", "nonnull", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_sub_sp", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4892, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isTailCall", "(", "const", "MachineInstr", "&", "Inst", ")", "const", "{", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "case", "ARM", "::", "TAILJMPd", ":", "case", "ARM", "::", "TAILJMPr", ":", "case", "ARM", "::", "TCRETURNdi", ":", "case", "ARM", "::", "TCRETURNri", ":", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Determines", "whether", "Inst", "is", "a", "tail", "call", "instruction", "."], "TS_V_token": ["ARM", "ARM", "ARM::TAILJMPd", "ARM::TAILJMPr", "ARM::TCRETURNdi", "ARM::TCRETURNri"], "File": "ARMBaseInstrInfo63", "Func": "isTailCall", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4893, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PPCTargetLowering", "::", "ConstraintType", "PPCTargetLowering", "::", "getConstraintType", "(", "StringRef", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'b'", ":", "case", "'r'", ":", "case", "'f'", ":", "case", "'d'", ":", "case", "'v'", ":", "case", "'y'", ":", "return", "C_RegisterClass", ";", "case", "'Z'", ":", "return", "C_Memory", ";", "}", "}", "else", "if", "(", "Constraint", "==", "\"wc\"", ")", "{", "return", "C_RegisterClass", ";", "}", "else", "if", "(", "Constraint", "==", "\"wa\"", "||", "Constraint", "==", "\"wd\"", "||", "Constraint", "==", "\"wf\"", "||", "Constraint", "==", "\"ws\"", "||", "Constraint", "==", "\"wi\"", ")", "{", "return", "C_RegisterClass", ";", "}", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "1", "0", "\"wc\"", "\"wa\"", "\"wd\"", "\"wf\"", "\"ws\"", "\"wi\""], "File": "PPCISelLowering (2)7", "Func": "getConstraintType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4894, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCPassConfig", "::", "addILPOpts", "(", ")", "{", "addPass", "(", "&", "EarlyIfConverterID", ")", ";", "if", "(", "EnableMachineCombinerPass", ")", "addPass", "(", "&", "MachineCombinerID", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Add", "passes", "that", "optimize", "instruction", "level", "parallelism", "for", "out-of-order", "targets", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCTargetMachine1", "Func": "addILPOpts", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4895, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isToken", "(", ")", "const", "override", "{", "return", "Kind", "==", "k_Token", ";", "}", ""], "natrual_language": ["isToken", "-", "Is", "this", "a", "token", "operand", "?"], "TS_V_token": ["LC2200"], "File": "LC2200AsmParser", "Func": "isToken", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4896, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "from_compare", "(", "rtx", "*", "operands", ",", "int", "code", ")", "{", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "sh_compare_op0", ")", ";", "rtx", "insn", ";", "if", "(", "mode", "==", "VOIDmode", ")", "mode", "=", "GET_MODE", "(", "sh_compare_op1", ")", ";", "if", "(", "code", "!=", "EQ", "||", "mode", "==", "DImode", "||", "(", "TARGET_SH2E", "&&", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", ")", ")", "{", "sh_compare_op0", "=", "force_reg", "(", "mode", ",", "sh_compare_op0", ")", ";", "if", "(", "sh_compare_op1", "!=", "const0_rtx", "||", "code", "==", "GTU", "||", "code", "==", "GEU", "||", "(", "TARGET_SH2E", "&&", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", ")", ")", "sh_compare_op1", "=", "force_reg", "(", "mode", ",", "sh_compare_op1", ")", ";", "}", "if", "(", "TARGET_SH2E", "&&", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", "&&", "code", "==", "GE", ")", "{", "from_compare", "(", "operands", ",", "GT", ")", ";", "insn", "=", "gen_ieee_ccmpeqsf_t", "(", "sh_compare_op0", ",", "sh_compare_op1", ")", ";", "}", "else", "insn", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "SImode", ",", "T_REG", ")", ",", "gen_rtx_fmt_ee", "(", "code", ",", "SImode", ",", "sh_compare_op0", ",", "sh_compare_op1", ")", ")", ";", "if", "(", "(", "TARGET_SH4", "||", "TARGET_SH2A", ")", "&&", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", ")", "{", "insn", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "insn", ",", "gen_rtx_USE", "(", "VOIDmode", ",", "get_fpscr_rtx", "(", ")", ")", ")", ")", ";", "(", "mode", "==", "SFmode", "?", "emit_sf_insn", ":", "emit_df_insn", ")", "(", "insn", ")", ";", "}", "else", "emit_insn", "(", "insn", ")", ";", "}", ""], "natrual_language": ["Called", "from", "the", "md", "file", ",", "set", "up", "the", "operands", "of", "a", "compare", "instruction", "."], "TS_V_token": ["sh", "2"], "File": "sh3", "Func": "from_compare", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4897, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_libgcc_floating_mode_supported_p", "(", "scalar_float_mode", "mode", ")", "{", "return", "(", "(", "(", "mode", "==", "HFmode", "||", "mode", "==", "BFmode", ")", "&&", "TARGET_SSE2", ")", "?", "true", ":", "default_libgcc_floating_mode_supported_p", "(", "mode", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "target", "hook", "libgcc_floating_mode_supported_p", "."], "TS_V_token": ["i386"], "File": "i3861", "Func": "ix86_libgcc_floating_mode_supported_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4898, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZMCAsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", "const", "{", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "Size", "=", "(", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "+", "7", ")", "/", "8", ";", "assert", "(", "Offset", "+", "Size", "<=", "DataSize", "&&", "\"Invalid fixup offset!\"", ")", ";", "Value", "=", "extractBitsForFixup", "(", "Kind", ",", "Value", ")", ";", "unsigned", "ShiftValue", "=", "(", "Size", "*", "8", ")", "-", "8", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "!=", "Size", ";", "++", "I", ")", "{", "Data", "[", "Offset", "+", "I", "]", "|=", "uint8_t", "(", "Value", ">>", "ShiftValue", ")", ";", "ShiftValue", "-=", "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": ["SystemZ", "SystemZ", "7", "8", "\"Invalid fixup offset!\"", "8", "8", "0", "8"], "File": "SystemZMCAsmBackend", "Func": "applyFixup", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4899, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "host_detect_local_cpu", "(", "int", "argc", ",", "const", "char", "*", "*", "argv", ")", "{", "const", "char", "*", "cpu", "=", "NULL", ";", "char", "*", "ret", "=", "NULL", ";", "char", "buf", "[", "128", "]", ";", "FILE", "*", "f", ";", "bool", "arch", ";", "if", "(", "argc", "<", "1", ")", "return", "NULL", ";", "arch", "=", "strcmp", "(", "argv", "[", "0", "]", ",", "\"arch\"", ")", "==", "0", ";", "if", "(", "!", "arch", "&&", "strcmp", "(", "argv", "[", "0", "]", ",", "\"tune\"", ")", ")", "return", "NULL", ";", "f", "=", "fopen", "(", "\"/proc/cpuinfo\"", ",", "\"r\"", ")", ";", "if", "(", "f", "==", "NULL", ")", "goto", "fallback_cpu", ";", "while", "(", "fgets", "(", "buf", ",", "sizeof", "(", "buf", ")", ",", "f", ")", "!=", "NULL", ")", "if", "(", "startswith", "(", "buf", ",", "\"cpu model\"", ")", ")", "{", "if", "(", "strstr", "(", "buf", ",", "\"Godson2 V0.2\"", ")", "!=", "NULL", "||", "strstr", "(", "buf", ",", "\"Loongson-2 V0.2\"", ")", "!=", "NULL", "||", "strstr", "(", "buf", ",", "\"Loongson-2E\"", ")", "!=", "NULL", ")", "cpu", "=", "\"loongson2e\"", ";", "else", "if", "(", "strstr", "(", "buf", ",", "\"Godson2 V0.3\"", ")", "!=", "NULL", "||", "strstr", "(", "buf", ",", "\"Loongson-2 V0.3\"", ")", "!=", "NULL", "||", "strstr", "(", "buf", ",", "\"Loongson-2F\"", ")", "!=", "NULL", ")", "cpu", "=", "\"loongson2f\"", ";", "else", "if", "(", "strstr", "(", "buf", ",", "\"Godson3 V0.5\"", ")", "!=", "NULL", "||", "strstr", "(", "buf", ",", "\"Loongson-3 V0.5\"", ")", "!=", "NULL", "||", "strstr", "(", "buf", ",", "\"Loongson-3A\"", ")", "!=", "NULL", ")", "cpu", "=", "\"loongson3a\"", ";", "else", "if", "(", "strstr", "(", "buf", ",", "\"SiByte SB1\"", ")", "!=", "NULL", ")", "cpu", "=", "\"sb1\"", ";", "else", "if", "(", "strstr", "(", "buf", ",", "\"R5000\"", ")", "!=", "NULL", ")", "cpu", "=", "\"r5000\"", ";", "else", "if", "(", "strstr", "(", "buf", ",", "\"Octeon II\"", ")", "!=", "NULL", ")", "cpu", "=", "\"octeon2\"", ";", "else", "if", "(", "strstr", "(", "buf", ",", "\"Octeon\"", ")", "!=", "NULL", ")", "cpu", "=", "\"octeon\"", ";", "break", ";", "}", "fclose", "(", "f", ")", ";", "fallback_cpu", ":", "ret", "=", "reconcat", "(", "ret", ",", "\" -mnan=2008 \"", ",", "NULL", ")", ";", "if", "(", "cpu", "==", "NULL", ")", "cpu", "=", "(", "const", "char", "*", ")", "getauxval", "(", "AT_BASE_PLATFORM", ")", ";", "if", "(", "cpu", "==", "NULL", ")", "cpu", "=", "_MIPS_ARCH", ";", "if", "(", "cpu", ")", "ret", "=", "reconcat", "(", "ret", ",", "ret", ",", "\"-m\"", ",", "argv", "[", "0", "]", ",", "\"=\"", ",", "cpu", ",", "NULL", ")", ";", "return", "ret", ";", "}", ""], "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": ["mips", "128", "1", "0", "\"arch\"", "0", "0", "\"tune\"", "\"/proc/cpuinfo\"", "\"r\"", "\"cpu model\"", "\"Godson2 V0.2\"", "\"Loongson-2 V0.2\"", "\"Loongson-2E\"", "\"loongson2e\"", "\"Godson2 V0.3\"", "\"Loongson-2 V0.3\"", "\"Loongson-2F\"", "\"loongson2f\"", "\"Godson3 V0.5\"", "\"Loongson-3 V0.5\"", "\"Loongson-3A\"", "\"loongson3a\"", "\"SiByte SB1\"", "\"sb1\"", "\"R5000\"", "\"r5000\"", "\"Octeon II\"", "\"octeon2\"", "\"Octeon\"", "\"octeon\"", "\" -mnan=2008 \"", "\"-m\"", "0", "\"=\""], "File": "driver-native1", "Func": "host_detect_local_cpu", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4900, "Length": 370, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "fusion_p9_p", "(", "rtx", "addis_reg", ",", "rtx", "addis_value", ",", "rtx", "dest", ",", "rtx", "src", ")", "{", "rtx", "addr", ",", "mem", ",", "offset", ";", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "src", ")", ";", "if", "(", "!", "base_reg_operand", "(", "addis_reg", ",", "GET_MODE", "(", "addis_reg", ")", ")", ")", "return", "false", ";", "if", "(", "!", "fusion_gpr_addis", "(", "addis_value", ",", "GET_MODE", "(", "addis_value", ")", ")", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "src", ")", "==", "FLOAT_EXTEND", "||", "GET_CODE", "(", "src", ")", "==", "ZERO_EXTEND", ")", "src", "=", "XEXP", "(", "src", ",", "0", ")", ";", "if", "(", "fpr_reg_operand", "(", "src", ",", "mode", ")", "||", "int_reg_operand", "(", "src", ",", "mode", ")", ")", "{", "if", "(", "!", "MEM_P", "(", "dest", ")", ")", "return", "false", ";", "mem", "=", "dest", ";", "}", "else", "if", "(", "MEM_P", "(", "src", ")", ")", "{", "if", "(", "!", "fpr_reg_operand", "(", "dest", ",", "mode", ")", "&&", "!", "int_reg_operand", "(", "dest", ",", "mode", ")", ")", "return", "false", ";", "mem", "=", "src", ";", "}", "else", "return", "false", ";", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", ")", "{", "if", "(", "!", "rtx_equal_p", "(", "addis_reg", ",", "XEXP", "(", "addr", ",", "0", ")", ")", ")", "return", "false", ";", "return", "satisfies_constraint_I", "(", "XEXP", "(", "addr", ",", "1", ")", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "addr", ")", "==", "LO_SUM", ")", "{", "if", "(", "!", "rtx_equal_p", "(", "addis_reg", ",", "XEXP", "(", "addr", ",", "0", ")", ")", ")", "return", "false", ";", "offset", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "if", "(", "TARGET_XCOFF", "||", "(", "TARGET_ELF", "&&", "TARGET_POWERPC64", ")", ")", "return", "small_toc_ref", "(", "offset", ",", "GET_MODE", "(", "offset", ")", ")", ";", "else", "if", "(", "TARGET_ELF", "&&", "!", "TARGET_POWERPC64", ")", "return", "CONSTANT_P", "(", "offset", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "peephole2", "can", "combine", "a", "load/store", "involving", "a", "combination", "of", "an", "addis", "instruction", "and", "the", "memory", "operation", ".", "This", "was", "added", "to", "the", "ISA", "3.0", "(", "power9", ")", "hardware", "."], "TS_V_token": ["rs6000", "0", "0", "0", "1", "0", "1"], "File": "rs60005", "Func": "fusion_p9_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4901, "Length": 288, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "X86InstrInfo", "::", "insertOutlinedCall", "(", "Module", "&", "M", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "It", ",", "MachineFunction", "&", "MF", ",", "const", "outliner", "::", "Candidate", "&", "C", ")", "const", "{", "if", "(", "C", ".", "CallConstructionID", "==", "MachineOutlinerTailCall", ")", "{", "It", "=", "MBB", ".", "insert", "(", "It", ",", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "X86", "::", "TAILJMPd64", ")", ")", ".", "addGlobalAddress", "(", "M", ".", "getNamedValue", "(", "MF", ".", "getName", "(", ")", ")", ")", ")", ";", "}", "else", "{", "It", "=", "MBB", ".", "insert", "(", "It", ",", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "X86", "::", "CALL64pcrel32", ")", ")", ".", "addGlobalAddress", "(", "M", ".", "getNamedValue", "(", "MF", ".", "getName", "(", ")", ")", ")", ")", ";", "}", "return", "It", ";", "}", ""], "natrual_language": ["Insert", "a", "call", "to", "an", "outlined", "function", "into", "the", "program", "."], "TS_V_token": ["X86", "X86", "X86::TAILJMPd64", "X86::CALL64pcrel32"], "File": "X86InstrInfo (2)3", "Func": "insertOutlinedCall", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4902, "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": ["ARM"], "File": "ARMTargetMachine", "Func": "getInstrItineraryData", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4903, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CheckReturn", "(", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "ArgsFlags", ",", "CCAssignFn", "Fn", ")", "{", "PreAnalyzeReturnForF128", "(", "ArgsFlags", ")", ";", "PreAnalyzeReturnForVectorFloat", "(", "ArgsFlags", ")", ";", "bool", "Return", "=", "CCState", "::", "CheckReturn", "(", "ArgsFlags", ",", "Fn", ")", ";", "OriginalArgWasFloat", ".", "clear", "(", ")", ";", "OriginalArgWasF128", ".", "clear", "(", ")", ";", "OriginalArgWasFloatVector", ".", "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": "MipsCCState12", "Func": "CheckReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4904, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "outliner", "::", "TargetCostInfo", "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", ";", "}", ")", ";", "if", "(", "RepeatedSequenceLocs", "[", "0", "]", ".", "back", "(", ")", "->", "isTerminator", "(", ")", ")", "return", "outliner", "::", "TargetCostInfo", "(", "SequenceSize", ",", "1", ",", "0", ",", "MachineOutlinerTailCall", ",", "MachineOutlinerTailCall", ")", ";", "return", "outliner", "::", "TargetCostInfo", "(", "SequenceSize", ",", "1", ",", "1", ",", "MachineOutlinerDefault", ",", "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", "1", "0", "1", "1"], "File": "X86InstrInfo102", "Func": "getOutliningCandidateInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4905, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_classify_vector_mode", "(", "machine_mode", "mode", ")", "{", "if", "(", "aarch64_advsimd_struct_mode_p", "(", "mode", ")", ")", "return", "VEC_ADVSIMD", "|", "VEC_STRUCT", ";", "if", "(", "aarch64_sve_pred_mode_p", "(", "mode", ")", ")", "return", "VEC_SVE_PRED", ";", "switch", "(", "mode", ")", "{", "case", "E_VNx2QImode", ":", "case", "E_VNx4QImode", ":", "case", "E_VNx8QImode", ":", "case", "E_VNx2HImode", ":", "case", "E_VNx4HImode", ":", "case", "E_VNx2SImode", ":", "case", "E_VNx2HFmode", ":", "case", "E_VNx4HFmode", ":", "case", "E_VNx2SFmode", ":", "return", "TARGET_SVE", "?", "VEC_SVE_DATA", "|", "VEC_PARTIAL", ":", "0", ";", "case", "E_VNx16QImode", ":", "case", "E_VNx8HImode", ":", "case", "E_VNx4SImode", ":", "case", "E_VNx2DImode", ":", "case", "E_VNx8BFmode", ":", "case", "E_VNx8HFmode", ":", "case", "E_VNx4SFmode", ":", "case", "E_VNx2DFmode", ":", "return", "TARGET_SVE", "?", "VEC_SVE_DATA", ":", "0", ";", "case", "E_VNx32QImode", ":", "case", "E_VNx16HImode", ":", "case", "E_VNx8SImode", ":", "case", "E_VNx4DImode", ":", "case", "E_VNx16BFmode", ":", "case", "E_VNx16HFmode", ":", "case", "E_VNx8SFmode", ":", "case", "E_VNx4DFmode", ":", "case", "E_VNx48QImode", ":", "case", "E_VNx24HImode", ":", "case", "E_VNx12SImode", ":", "case", "E_VNx6DImode", ":", "case", "E_VNx24BFmode", ":", "case", "E_VNx24HFmode", ":", "case", "E_VNx12SFmode", ":", "case", "E_VNx6DFmode", ":", "case", "E_VNx64QImode", ":", "case", "E_VNx32HImode", ":", "case", "E_VNx16SImode", ":", "case", "E_VNx8DImode", ":", "case", "E_VNx32BFmode", ":", "case", "E_VNx32HFmode", ":", "case", "E_VNx16SFmode", ":", "case", "E_VNx8DFmode", ":", "return", "TARGET_SVE", "?", "VEC_SVE_DATA", "|", "VEC_STRUCT", ":", "0", ";", "case", "E_V8QImode", ":", "case", "E_V4HImode", ":", "case", "E_V2SImode", ":", "case", "E_V4HFmode", ":", "case", "E_V4BFmode", ":", "case", "E_V2SFmode", ":", "case", "E_V1DFmode", ":", "case", "E_V16QImode", ":", "case", "E_V8HImode", ":", "case", "E_V4SImode", ":", "case", "E_V2DImode", ":", "case", "E_V8HFmode", ":", "case", "E_V8BFmode", ":", "case", "E_V4SFmode", ":", "case", "E_V2DFmode", ":", "return", "TARGET_SIMD", "?", "VEC_ADVSIMD", ":", "0", ";", "default", ":", "return", "0", ";", "}", "}", ""], "natrual_language": ["Return", "a", "set", "of", "flags", "describing", "the", "vector", "properties", "of", "mode", "MODE", ".", "Ignore", "modes", "that", "are", "not", "supported", "by", "the", "current", "target", "."], "TS_V_token": ["aarch64", "0", "0", "0", "0", "0"], "File": "aarch64", "Func": "aarch64_classify_vector_mode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4906, "Length": 243, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_member_type_forces_blk", "(", "const_tree", "field", ",", "machine_mode", "mode", ")", "{", "return", "(", "(", "TARGET_SPE", "&&", "TREE_CODE", "(", "TREE_TYPE", "(", "field", ")", ")", "==", "VECTOR_TYPE", ")", "||", "(", "TARGET_E500_DOUBLE", "&&", "mode", "==", "DFmode", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "structure", ",", "union", "or", "array", "containing", "FIELD", "should", "be", "accessed", "using", "`", "BLKMODE", "'", ".", "For", "the", "SPE", ",", "simd", "types", "are", "V2SI", ",", "and", "gcc", "can", "be", "tempted", "to", "put", "the", "entire", "thing", "in", "a", "DI", "and", "use", "subregs", "to", "access", "the", "internals", ".", "store_bit_field", "(", ")", "will", "force", "(", "subreg", ":", "DI", "(", "reg", ":", "V2SI", "x", ")", ")", "'s", "to", "the", "back-end", ".", "Because", "a", "single", "GPR", "can", "hold", "a", "V2SI", ",", "but", "not", "a", "DI", ",", "the", "best", "thing", "to", "do", "is", "set", "structs", "to", "BLKmode", "and", "avoid", "Severe", "Tire", "Damage", ".", "On", "e500", "v2", ",", "DF", "and", "DI", "modes", "suffer", "from", "the", "same", "anomaly", ".", "DF", "can", "fit", "into", "1", ",", "whereas", "DI", "still", "needs", "two", "."], "TS_V_token": ["rs6000"], "File": "rs60004", "Func": "rs6000_member_type_forces_blk", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4907, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "set_reg_plus_d", "(", "int", "reg", ",", "int", "base", ",", "HOST_WIDE_INT", "disp", ",", "int", "note", ")", "{", "rtx_insn", "*", "insn", ";", "if", "(", "VAL_14_BITS_P", "(", "disp", ")", ")", "{", "insn", "=", "emit_move_insn", "(", "gen_rtx_REG", "(", "Pmode", ",", "reg", ")", ",", "plus_constant", "(", "Pmode", ",", "gen_rtx_REG", "(", "Pmode", ",", "base", ")", ",", "disp", ")", ")", ";", "}", "else", "if", "(", "TARGET_64BIT", "&&", "!", "VAL_32_BITS_P", "(", "disp", ")", ")", "{", "rtx", "basereg", "=", "gen_rtx_REG", "(", "Pmode", ",", "base", ")", ";", "rtx", "delta", "=", "GEN_INT", "(", "disp", ")", ";", "rtx", "tmpreg", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "emit_move_insn", "(", "tmpreg", ",", "delta", ")", ";", "insn", "=", "emit_move_insn", "(", "gen_rtx_REG", "(", "Pmode", ",", "reg", ")", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "tmpreg", ",", "basereg", ")", ")", ";", "if", "(", "DO_FRAME_NOTES", ")", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "VOIDmode", ",", "tmpreg", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "basereg", ",", "delta", ")", ")", ")", ";", "}", "else", "{", "rtx", "basereg", "=", "gen_rtx_REG", "(", "Pmode", ",", "base", ")", ";", "rtx", "delta", "=", "GEN_INT", "(", "disp", ")", ";", "rtx", "tmpreg", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "emit_move_insn", "(", "tmpreg", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "basereg", ",", "gen_rtx_HIGH", "(", "Pmode", ",", "delta", ")", ")", ")", ";", "insn", "=", "emit_move_insn", "(", "gen_rtx_REG", "(", "Pmode", ",", "reg", ")", ",", "gen_rtx_LO_SUM", "(", "Pmode", ",", "tmpreg", ",", "delta", ")", ")", ";", "}", "if", "(", "DO_FRAME_NOTES", "&&", "note", ")", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", ""], "natrual_language": ["Emit", "RTL", "to", "set", "REG", "to", "the", "value", "specified", "by", "BASE+DISP", ".", "Handle", "case", "where", "DISP", ">", "8k", "by", "using", "the", "add_high_const", "patterns", ".", "Note", "in", "DISP", ">", "8k", "case", ",", "we", "will", "leave", "the", "high", "part", "of", "the", "address", "in", "%", "r1", ".", "There", "is", "code", "in", "expand_hppa_", "{", "prologue", ",", "epilogue", "}", "that", "knows", "this", "."], "TS_V_token": ["pa", "1", "1", "1"], "File": "pa4", "Func": "set_reg_plus_d", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4908, "Length": 237, "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": 4909, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "SparcDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "SDLoc", "dl", "(", "N", ")", ";", "if", "(", "N", "->", "isMachineOpcode", "(", ")", ")", "{", "N", "->", "setNodeId", "(", "-", "1", ")", ";", "return", "nullptr", ";", "}", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "SPISD", "::", "GLOBAL_BASE_REG", ":", "return", "getGlobalBaseReg", "(", ")", ";", "case", "ISD", "::", "SDIV", ":", "case", "ISD", "::", "UDIV", ":", "{", "if", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i64", ")", "break", ";", "SDValue", "DivLHS", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "DivRHS", "=", "N", "->", "getOperand", "(", "1", ")", ";", "SDValue", "TopPart", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SDIV", ")", "{", "TopPart", "=", "SDValue", "(", "CurDAG", "->", "getMachineNode", "(", "SP", "::", "SRAri", ",", "dl", ",", "MVT", "::", "i32", ",", "DivLHS", ",", "CurDAG", "->", "getTargetConstant", "(", "31", ",", "dl", ",", "MVT", "::", "i32", ")", ")", ",", "0", ")", ";", "}", "else", "{", "TopPart", "=", "CurDAG", "->", "getRegister", "(", "SP", "::", "G0", ",", "MVT", "::", "i32", ")", ";", "}", "TopPart", "=", "CurDAG", "->", "getCopyToReg", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "dl", ",", "SP", "::", "Y", ",", "TopPart", ",", "SDValue", "(", ")", ")", ".", "getValue", "(", "1", ")", ";", "unsigned", "Opcode", "=", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SDIV", "?", "SP", "::", "SDIVrr", ":", "SP", "::", "UDIVrr", ";", "return", "CurDAG", "->", "SelectNodeTo", "(", "N", ",", "Opcode", ",", "MVT", "::", "i32", ",", "DivLHS", ",", "DivRHS", ",", "TopPart", ")", ";", "}", "case", "ISD", "::", "MULHU", ":", "case", "ISD", "::", "MULHS", ":", "{", "SDValue", "MulLHS", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "MulRHS", "=", "N", "->", "getOperand", "(", "1", ")", ";", "unsigned", "Opcode", "=", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "MULHU", "?", "SP", "::", "UMULrr", ":", "SP", "::", "SMULrr", ";", "SDNode", "*", "Mul", "=", "CurDAG", "->", "getMachineNode", "(", "Opcode", ",", "dl", ",", "MVT", "::", "i32", ",", "MVT", "::", "i32", ",", "MulLHS", ",", "MulRHS", ")", ";", "SDValue", "ResultHigh", "=", "SDValue", "(", "Mul", ",", "1", ")", ";", "ReplaceUses", "(", "SDValue", "(", "N", ",", "0", ")", ",", "ResultHigh", ")", ";", "return", "nullptr", ";", "}", "}", "return", "SelectCode", "(", "N", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["Sparc", "Sparc", "1", "SPISD::GLOBAL_BASE_REG", "ISD::SDIV", "ISD::UDIV", "0", "MVT::i64", "0", "1", "ISD::SDIV", "SP::SRAri", "MVT::i32", "31", "MVT::i32", "0", "SP::G0", "MVT::i32", "SP::Y", "1", "ISD::SDIV", "SP::SDIVrr", "SP::UDIVrr", "MVT::i32", "ISD::MULHU", "ISD::MULHS", "0", "1", "ISD::MULHU", "SP::UMULrr", "SP::SMULrr", "MVT::i32", "MVT::i32", "1", "0"], "File": "SparcISelDAGToDAG26", "Func": "Select", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4910, "Length": 362, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "num_insns_constant", "(", "rtx", "op", ",", "machine_mode", "mode", ")", "{", "HOST_WIDE_INT", "low", ",", "high", ";", "switch", "(", "GET_CODE", "(", "op", ")", ")", "{", "case", "CONST_INT", ":", "if", "(", "(", "INTVAL", "(", "op", ")", ">>", "31", ")", "!=", "0", "&&", "(", "INTVAL", "(", "op", ")", ">>", "31", ")", "!=", "-", "1", "&&", "mask64_operand", "(", "op", ",", "mode", ")", ")", "return", "2", ";", "else", "return", "num_insns_constant_wide", "(", "INTVAL", "(", "op", ")", ")", ";", "case", "CONST_WIDE_INT", ":", "{", "int", "i", ";", "int", "ins", "=", "CONST_WIDE_INT_NUNITS", "(", "op", ")", "-", "1", ";", "for", "(", "i", "=", "0", ";", "i", "<", "CONST_WIDE_INT_NUNITS", "(", "op", ")", ";", "i", "++", ")", "ins", "+=", "num_insns_constant_wide", "(", "CONST_WIDE_INT_ELT", "(", "op", ",", "i", ")", ")", ";", "return", "ins", ";", "}", "case", "CONST_DOUBLE", ":", "if", "(", "mode", "==", "SFmode", "||", "mode", "==", "SDmode", ")", "{", "long", "l", ";", "REAL_VALUE_TYPE", "rv", ";", "REAL_VALUE_FROM_CONST_DOUBLE", "(", "rv", ",", "op", ")", ";", "if", "(", "DECIMAL_FLOAT_MODE_P", "(", "mode", ")", ")", "REAL_VALUE_TO_TARGET_DECIMAL32", "(", "rv", ",", "l", ")", ";", "else", "REAL_VALUE_TO_TARGET_SINGLE", "(", "rv", ",", "l", ")", ";", "return", "num_insns_constant_wide", "(", "(", "HOST_WIDE_INT", ")", "l", ")", ";", "}", "long", "l", "[", "2", "]", ";", "REAL_VALUE_TYPE", "rv", ";", "REAL_VALUE_FROM_CONST_DOUBLE", "(", "rv", ",", "op", ")", ";", "if", "(", "DECIMAL_FLOAT_MODE_P", "(", "mode", ")", ")", "REAL_VALUE_TO_TARGET_DECIMAL64", "(", "rv", ",", "l", ")", ";", "else", "REAL_VALUE_TO_TARGET_DOUBLE", "(", "rv", ",", "l", ")", ";", "high", "=", "l", "[", "WORDS_BIG_ENDIAN", "==", "0", "]", ";", "low", "=", "l", "[", "WORDS_BIG_ENDIAN", "!=", "0", "]", ";", "if", "(", "TARGET_32BIT", ")", "return", "(", "num_insns_constant_wide", "(", "low", ")", "+", "num_insns_constant_wide", "(", "high", ")", ")", ";", "else", "{", "if", "(", "(", "high", "==", "0", "&&", "low", ">=", "0", ")", "||", "(", "high", "==", "-", "1", "&&", "low", "<", "0", ")", ")", "return", "num_insns_constant_wide", "(", "low", ")", ";", "else", "if", "(", "mask64_operand", "(", "op", ",", "mode", ")", ")", "return", "2", ";", "else", "if", "(", "low", "==", "0", ")", "return", "num_insns_constant_wide", "(", "high", ")", "+", "1", ";", "else", "return", "(", "num_insns_constant_wide", "(", "high", ")", "+", "num_insns_constant_wide", "(", "low", ")", "+", "1", ")", ";", "}", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "it", "takes", "to", "form", "a", "constant", "in", "as", "many", "gprs", "are", "needed", "for", "MODE", "."], "TS_V_token": ["rs6000", "31", "0", "31", "1", "2", "1", "0", "2", "0", "0", "0", "0", "1", "0", "2", "0", "1", "1"], "File": "rs60004", "Func": "num_insns_constant", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4911, "Length": 336, "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", "(", "useSmallAddressing", "(", ")", "&&", "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": "AArch64Subtarget16", "Func": "ClassifyGlobalReference", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4912, "Length": 84, "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", ";", "EVT", "VT", ";", "SDValue", "Ptr", ";", "unsigned", "Align", ";", "bool", "isSEXTLoad", "=", "false", ";", "if", "(", "LoadSDNode", "*", "LD", "=", "dyn_cast", "<", "LoadSDNode", ">", "(", "N", ")", ")", "{", "Ptr", "=", "LD", "->", "getBasePtr", "(", ")", ";", "VT", "=", "LD", "->", "getMemoryVT", "(", ")", ";", "Align", "=", "LD", "->", "getAlignment", "(", ")", ";", "isSEXTLoad", "=", "LD", "->", "getExtensionType", "(", ")", "==", "ISD", "::", "SEXTLOAD", ";", "}", "else", "if", "(", "StoreSDNode", "*", "ST", "=", "dyn_cast", "<", "StoreSDNode", ">", "(", "N", ")", ")", "{", "Ptr", "=", "ST", "->", "getBasePtr", "(", ")", ";", "VT", "=", "ST", "->", "getMemoryVT", "(", ")", ";", "Align", "=", "ST", "->", "getAlignment", "(", ")", ";", "}", "else", "return", "false", ";", "bool", "isInc", ";", "bool", "isLegal", "=", "false", ";", "if", "(", "VT", ".", "isVector", "(", ")", ")", "isLegal", "=", "Subtarget", "->", "hasMVEIntegerOps", "(", ")", "&&", "getMVEIndexedAddressParts", "(", "Ptr", ".", "getNode", "(", ")", ",", "VT", ",", "Align", ",", "isSEXTLoad", ",", "Subtarget", "->", "isLittle", "(", ")", ",", "Base", ",", "Offset", ",", "isInc", ",", "DAG", ")", ";", "else", "{", "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::SEXTLOAD", "ARM", "ISD::PRE_INC", "ISD::PRE_DEC"], "File": "ARMISelLowering101", "Func": "getPreIndexedAddressParts", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4913, "Length": 286, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_cpu_cpp_builtins", "(", "cpp_reader", "*", "pfile", ")", "{", "aarch64_define_unconditional_macros", "(", "pfile", ")", ";", "aarch64_update_cpp_builtins", "(", "pfile", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CPU_CPP_BUILTINS", "."], "TS_V_token": ["aarch64"], "File": "aarch64-c", "Func": "aarch64_cpu_cpp_builtins", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4914, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_gw_last_load_to_ex_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "rtx", "last_def_reg", "=", "extract_nth_access_reg", "(", "producer", ",", "-", "1", ")", ";", "return", "gw_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_gw_last_load_to_ex_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4915, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_evpc_neon_vrev", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "int", "i", ",", "j", ",", "diff", ",", "nelt", "=", "d", "->", "nelt", ";", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ")", ";", "if", "(", "!", "d", "->", "one_vector_p", ")", "return", "false", ";", "diff", "=", "d", "->", "perm", "[", "0", "]", ";", "switch", "(", "diff", ")", "{", "case", "7", ":", "switch", "(", "d", "->", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_neon_vrev64v16qi", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_neon_vrev64v8qi", ";", "break", ";", "default", ":", "return", "false", ";", "}", "break", ";", "case", "3", ":", "switch", "(", "d", "->", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_neon_vrev32v16qi", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_neon_vrev32v8qi", ";", "break", ";", "case", "V8HImode", ":", "gen", "=", "gen_neon_vrev64v8hi", ";", "break", ";", "case", "V4HImode", ":", "gen", "=", "gen_neon_vrev64v4hi", ";", "break", ";", "default", ":", "return", "false", ";", "}", "break", ";", "case", "1", ":", "switch", "(", "d", "->", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_neon_vrev16v16qi", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_neon_vrev16v8qi", ";", "break", ";", "case", "V8HImode", ":", "gen", "=", "gen_neon_vrev32v8hi", ";", "break", ";", "case", "V4HImode", ":", "gen", "=", "gen_neon_vrev32v4hi", ";", "break", ";", "case", "V4SImode", ":", "gen", "=", "gen_neon_vrev64v4si", ";", "break", ";", "case", "V2SImode", ":", "gen", "=", "gen_neon_vrev64v2si", ";", "break", ";", "case", "V4SFmode", ":", "gen", "=", "gen_neon_vrev64v4sf", ";", "break", ";", "case", "V2SFmode", ":", "gen", "=", "gen_neon_vrev64v2sf", ";", "break", ";", "default", ":", "return", "false", ";", "}", "break", ";", "default", ":", "return", "false", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "i", "+=", "diff", "+", "1", ")", "for", "(", "j", "=", "0", ";", "j", "<=", "diff", ";", "j", "+=", "1", ")", "{", "gcc_assert", "(", "i", "+", "j", "<", "nelt", ")", ";", "if", "(", "d", "->", "perm", "[", "i", "+", "j", "]", "!=", "i", "+", "diff", "-", "j", ")", "return", "false", ";", "}", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "emit_insn", "(", "gen", "(", "d", "->", "target", ",", "d", "->", "op0", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "for", "the", "VREV", "insns", "."], "TS_V_token": ["arm", "0", "7", "3", "1", "0", "1", "0", "1"], "File": "arm4", "Func": "arm_evpc_neon_vrev", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4916, "Length": 333, "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", ")", ";", "}", "}", "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"], "File": "SystemZISelLowering5", "Func": "getRegForInlineAsmConstraint", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4917, "Length": 242, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "reg_class", "nds32_regno_reg_class", "(", "int", "regno", ")", "{", "if", "(", "regno", ">=", "0", "&&", "regno", "<=", "7", ")", "return", "LOW_REGS", ";", "else", "if", "(", "regno", ">=", "8", "&&", "regno", "<=", "11", ")", "return", "MIDDLE_REGS", ";", "else", "if", "(", "regno", ">=", "12", "&&", "regno", "<=", "14", ")", "return", "HIGH_REGS", ";", "else", "if", "(", "regno", "==", "15", ")", "return", "R15_TA_REG", ";", "else", "if", "(", "regno", ">=", "16", "&&", "regno", "<=", "19", ")", "return", "MIDDLE_REGS", ";", "else", "if", "(", "regno", ">=", "20", "&&", "regno", "<=", "31", ")", "return", "HIGH_REGS", ";", "else", "if", "(", "regno", "==", "32", "||", "regno", "==", "33", ")", "return", "FRAME_REGS", ";", "else", "return", "NO_REGS", ";", "}", ""], "natrual_language": ["Register", "Classes", "."], "TS_V_token": ["nds32", "0", "7", "8", "11", "12", "14", "15", "16", "19", "20", "31", "32", "33"], "File": "nds322", "Func": "nds32_regno_reg_class", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4918, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "DLXDisassembler", "::", "getInstruction", "(", "MCInst", "&", "Instr", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", ",", "raw_ostream", "&", ")", "const", "{", "uint32_t", "Insn", ";", "DecodeStatus", "Result", "=", "readInstruction32", "(", "Bytes", ",", "Size", ",", "Insn", ")", ";", "if", "(", "Result", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "Result", "=", "decodeInstruction", "(", "DecoderTableDLX32", ",", "Instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "PostOperandDecodeAdjust", "(", "Instr", ",", "Insn", ")", ";", "Size", "=", "4", ";", "return", "Result", ";", "}", "return", "MCDisassembler", "::", "Fail", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["DLX", "DLX", "DLX", "4"], "File": "DLXDisassembler", "Func": "getInstruction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4919, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "AArch64RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "assert", "(", "MF", "&&", "\"Invalid MachineFunction pointer.\"", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "CFGuard_Check", ")", "return", "CSR_Win_AArch64_CFGuard_Check_SaveList", ";", "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", "::", "AArch64_SVE_VectorCall", ")", "return", "CSR_AArch64_SVE_AAPCS_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", "AArch64", "AArch64", "AArch64"], "File": "AArch64RegisterInfo12", "Func": "getCalleeSavedRegs", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4920, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "MCAsmInfo", "*", "createMCAsmInfo", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ")", "{", "Triple", "TheTriple", "(", "TT", ")", ";", "switch", "(", "TheTriple", ".", "getOS", "(", ")", ")", "{", "case", "Triple", "::", "Darwin", ":", "return", "new", "ARMMCAsmInfoDarwin", "(", ")", ";", "default", ":", "return", "new", "ARMELFMCAsmInfo", "(", ")", ";", "}", "}", ""], "natrual_language": ["createMCAsmInfo", "-", "Create", "a", "MCAsmInfo", "implementation", "for", "the", "specified", "target", "triple", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMTargetMachine91", "Func": "createMCAsmInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4921, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "fusion_p9_p", "(", "rtx", "addis_reg", ",", "rtx", "addis_value", ",", "rtx", "dest", ",", "rtx", "src", ")", "{", "rtx", "addr", ",", "mem", ",", "offset", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "src", ")", ";", "if", "(", "!", "base_reg_operand", "(", "addis_reg", ",", "GET_MODE", "(", "addis_reg", ")", ")", ")", "return", "false", ";", "if", "(", "!", "fusion_gpr_addis", "(", "addis_value", ",", "GET_MODE", "(", "addis_value", ")", ")", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "src", ")", "==", "FLOAT_EXTEND", "||", "GET_CODE", "(", "src", ")", "==", "ZERO_EXTEND", ")", "src", "=", "XEXP", "(", "src", ",", "0", ")", ";", "if", "(", "fpr_reg_operand", "(", "src", ",", "mode", ")", "||", "int_reg_operand", "(", "src", ",", "mode", ")", ")", "{", "if", "(", "!", "MEM_P", "(", "dest", ")", ")", "return", "false", ";", "mem", "=", "dest", ";", "}", "else", "if", "(", "MEM_P", "(", "src", ")", ")", "{", "if", "(", "!", "fpr_reg_operand", "(", "dest", ",", "mode", ")", "&&", "!", "int_reg_operand", "(", "dest", ",", "mode", ")", ")", "return", "false", ";", "mem", "=", "src", ";", "}", "else", "return", "false", ";", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", ")", "{", "if", "(", "!", "rtx_equal_p", "(", "addis_reg", ",", "XEXP", "(", "addr", ",", "0", ")", ")", ")", "return", "false", ";", "return", "satisfies_constraint_I", "(", "XEXP", "(", "addr", ",", "1", ")", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "addr", ")", "==", "LO_SUM", ")", "{", "if", "(", "!", "rtx_equal_p", "(", "addis_reg", ",", "XEXP", "(", "addr", ",", "0", ")", ")", ")", "return", "false", ";", "offset", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "if", "(", "TARGET_XCOFF", "||", "(", "TARGET_ELF", "&&", "TARGET_POWERPC64", ")", ")", "return", "small_toc_ref", "(", "offset", ",", "GET_MODE", "(", "offset", ")", ")", ";", "else", "if", "(", "TARGET_ELF", "&&", "!", "TARGET_POWERPC64", ")", "return", "CONSTANT_P", "(", "offset", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "peephole2", "can", "combine", "a", "load/store", "involving", "a", "combination", "of", "an", "addis", "instruction", "and", "the", "memory", "operation", ".", "This", "was", "added", "to", "the", "ISA", "3.0", "(", "power9", ")", "hardware", "."], "TS_V_token": ["rs6000", "0", "0", "0", "1", "0", "1"], "File": "rs60007", "Func": "fusion_p9_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4922, "Length": 287, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "VEInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "VE", "::", "STSri", "||", "MI", ".", "getOpcode", "(", ")", "==", "VE", "::", "STLri", "||", "MI", ".", "getOpcode", "(", ")", "==", "VE", "::", "STUri", ")", "{", "if", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "isFI", "(", ")", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "==", "0", ")", "{", "FrameIndex", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "2", ")", ".", "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::STSri", "VE::STLri", "VE::STUri", "0", "1", "1", "0", "0", "2", "0"], "File": "VEInstrInfo15", "Func": "isStoreToStackSlot", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4923, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64InstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "const", "MCInstrDesc", "&", "MCID", "=", "MI", ".", "getDesc", "(", ")", ";", "const", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "MCAsmInfo", "&", "MAI", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", ";", "if", "(", "MCID", ".", "getSize", "(", ")", ")", "return", "MCID", ".", "getSize", "(", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "INLINEASM", ")", "return", "getInlineAsmLength", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getSymbolName", "(", ")", ",", "MAI", ")", ";", "if", "(", "MI", ".", "isLabel", "(", ")", ")", "return", "0", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "TargetOpcode", "::", "BUNDLE", ":", "return", "getInstBundleLength", "(", "MI", ")", ";", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "KILL", ":", "case", "TargetOpcode", "::", "PROLOG_LABEL", ":", "case", "TargetOpcode", "::", "EH_LABEL", ":", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "return", "0", ";", "case", "AArch64", "::", "TLSDESCCALL", ":", "return", "0", ";", "default", ":", "llvm_unreachable", "(", "\"Unknown instruction class\"", ")", ";", "}", "}", ""], "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", "0", "0", "AArch64::TLSDESCCALL", "0", "\"Unknown instruction class\""], "File": "AArch64InstrInfo101", "Func": "getInstSizeInBytes", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4924, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64AsmPrinter", "::", "emitEndOfAsmFile", "(", "Module", "&", "M", ")", "{", "EmitHwasanMemaccessSymbols", "(", "M", ")", ";", "const", "Triple", "&", "TT", "=", "TM", ".", "getTargetTriple", "(", ")", ";", "if", "(", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "{", "MachineModuleInfoMachO", "&", "MMIMacho", "=", "MMI", "->", "getObjFileInfo", "<", "MachineModuleInfoMachO", ">", "(", ")", ";", "auto", "Stubs", "=", "MMIMacho", ".", "getAuthGVStubList", "(", ")", ";", "if", "(", "!", "Stubs", ".", "empty", "(", ")", ")", "{", "OutStreamer", "->", "SwitchSection", "(", "OutContext", ".", "getMachOSection", "(", "\"__DATA\"", ",", "\"__auth_ptr\"", ",", "MachO", "::", "S_REGULAR", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ")", ";", "emitAlignment", "(", "Align", "(", "8", ")", ")", ";", "for", "(", "auto", "&", "Stub", ":", "Stubs", ")", "emitAuthenticatedPointer", "(", "*", "OutStreamer", ",", "Stub", ".", "first", ",", "Stub", ".", "second", ")", ";", "OutStreamer", "->", "AddBlankLine", "(", ")", ";", "}", "OutStreamer", "->", "emitAssemblerFlag", "(", "MCAF_SubsectionsViaSymbols", ")", ";", "}", "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": ["AArch64", "AArch64", "\"__DATA\"", "\"__auth_ptr\"", "8"], "File": "AArch64AsmPrinter77", "Func": "emitEndOfAsmFile", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4925, "Length": 148, "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": 4926, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseInstrInfo", "::", "getInstrLatency", "(", "const", "InstrItineraryData", "*", "ItinData", ",", "const", "MachineInstr", "&", "MI", ",", "unsigned", "*", "PredCost", ")", "const", "{", "if", "(", "MI", ".", "isCopyLike", "(", ")", "||", "MI", ".", "isInsertSubreg", "(", ")", "||", "MI", ".", "isRegSequence", "(", ")", "||", "MI", ".", "isImplicitDef", "(", ")", ")", "return", "1", ";", "if", "(", "MI", ".", "isBundle", "(", ")", ")", "{", "unsigned", "Latency", "=", "0", ";", "MachineBasicBlock", "::", "const_instr_iterator", "I", "=", "MI", ".", "getIterator", "(", ")", ";", "MachineBasicBlock", "::", "const_instr_iterator", "E", "=", "MI", ".", "getParent", "(", ")", "->", "instr_end", "(", ")", ";", "while", "(", "++", "I", "!=", "E", "&&", "I", "->", "isInsideBundle", "(", ")", ")", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "ARM", "::", "t2IT", ")", "Latency", "+=", "getInstrLatency", "(", "ItinData", ",", "*", "I", ",", "PredCost", ")", ";", "}", "return", "Latency", ";", "}", "const", "MCInstrDesc", "&", "MCID", "=", "MI", ".", "getDesc", "(", ")", ";", "if", "(", "PredCost", "&&", "(", "MCID", ".", "isCall", "(", ")", "||", "(", "MCID", ".", "hasImplicitDefOfPhysReg", "(", "ARM", "::", "CPSR", ")", "&&", "!", "Subtarget", ".", "cheapPredicableCPSRDef", "(", ")", ")", ")", ")", "{", "*", "PredCost", "=", "1", ";", "}", "if", "(", "!", "ItinData", ")", "return", "MI", ".", "mayLoad", "(", ")", "?", "3", ":", "1", ";", "unsigned", "Class", "=", "MCID", ".", "getSchedClass", "(", ")", ";", "if", "(", "!", "ItinData", "->", "isEmpty", "(", ")", "&&", "ItinData", "->", "getNumMicroOps", "(", "Class", ")", "<", "0", ")", "return", "getNumMicroOps", "(", "ItinData", ",", "MI", ")", ";", "unsigned", "Latency", "=", "ItinData", "->", "getStageLatency", "(", "Class", ")", ";", "unsigned", "DefAlign", "=", "MI", ".", "hasOneMemOperand", "(", ")", "?", "(", "*", "MI", ".", "memoperands_begin", "(", ")", ")", "->", "getAlign", "(", ")", ".", "value", "(", ")", ":", "0", ";", "int", "Adj", "=", "adjustDefLatency", "(", "Subtarget", ",", "MI", ",", "MCID", ",", "DefAlign", ")", ";", "if", "(", "Adj", ">=", "0", "||", "(", "int", ")", "Latency", ">", "-", "Adj", ")", "{", "return", "Latency", "+", "Adj", ";", "}", "return", "Latency", ";", "}", ""], "natrual_language": ["Compute", "the", "instruction", "latency", "of", "a", "given", "instruction", "."], "TS_V_token": ["ARM", "ARM", "1", "0", "ARM::t2IT", "ARM::CPSR", "1", "3", "1", "0", "0", "0"], "File": "ARMBaseInstrInfo110", "Func": "getInstrLatency", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4927, "Length": 309, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_convert_const_wide_int_to_broadcast", "(", "machine_mode", "mode", ",", "rtx", "op", ")", "{", "if", "(", "!", "TARGET_INTER_UNIT_MOVES_TO_VEC", ")", "return", "nullptr", ";", "if", "(", "!", "TARGET_AVX", "||", "!", "CONST_WIDE_INT_P", "(", "op", ")", "||", "standard_sse_constant_p", "(", "op", ",", "mode", ")", ")", "return", "nullptr", ";", "HOST_WIDE_INT", "val", "=", "CONST_WIDE_INT_ELT", "(", "op", ",", "0", ")", ";", "HOST_WIDE_INT", "val_broadcast", ";", "scalar_int_mode", "broadcast_mode", ";", "if", "(", "TARGET_AVX2", "&&", "ix86_broadcast", "(", "val", ",", "GET_MODE_BITSIZE", "(", "QImode", ")", ",", "val_broadcast", ")", ")", "broadcast_mode", "=", "QImode", ";", "else", "if", "(", "TARGET_AVX2", "&&", "ix86_broadcast", "(", "val", ",", "GET_MODE_BITSIZE", "(", "HImode", ")", ",", "val_broadcast", ")", ")", "broadcast_mode", "=", "HImode", ";", "else", "if", "(", "ix86_broadcast", "(", "val", ",", "GET_MODE_BITSIZE", "(", "SImode", ")", ",", "val_broadcast", ")", ")", "broadcast_mode", "=", "SImode", ";", "else", "if", "(", "TARGET_64BIT", "&&", "ix86_broadcast", "(", "val", ",", "GET_MODE_BITSIZE", "(", "DImode", ")", ",", "val_broadcast", ")", ")", "broadcast_mode", "=", "DImode", ";", "else", "return", "nullptr", ";", "for", "(", "int", "i", "=", "1", ";", "i", "<", "CONST_WIDE_INT_NUNITS", "(", "op", ")", ";", "i", "++", ")", "if", "(", "val", "!=", "CONST_WIDE_INT_ELT", "(", "op", ",", "i", ")", ")", "return", "nullptr", ";", "unsigned", "int", "nunits", "=", "(", "GET_MODE_SIZE", "(", "mode", ")", "/", "GET_MODE_SIZE", "(", "broadcast_mode", ")", ")", ";", "machine_mode", "vector_mode", ";", "if", "(", "!", "mode_for_vector", "(", "broadcast_mode", ",", "nunits", ")", ".", "exists", "(", "&", "vector_mode", ")", ")", "gcc_unreachable", "(", ")", ";", "rtx", "target", "=", "ix86_gen_scratch_sse_rtx", "(", "vector_mode", ")", ";", "bool", "ok", "=", "ix86_expand_vector_init_duplicate", "(", "false", ",", "vector_mode", ",", "target", ",", "GEN_INT", "(", "val_broadcast", ")", ")", ";", "gcc_assert", "(", "ok", ")", ";", "target", "=", "lowpart_subreg", "(", "mode", ",", "target", ",", "vector_mode", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Convert", "the", "CONST_WIDE_INT", "operand", "OP", "to", "broadcast", "in", "MODE", "."], "TS_V_token": ["i386", "0", "1"], "File": "i386-expand", "Func": "ix86_convert_const_wide_int_to_broadcast", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4928, "Length": 256, "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": 4929, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mem_operand_ds_form", "(", "rtx", "op", ",", "machine_mode", "mode", ")", "{", "unsigned", "HOST_WIDE_INT", "offset", ";", "int", "extra", ";", "rtx", "addr", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "address_is_prefixed", "(", "addr", ",", "mode", ",", "NON_PREFIXED_DS", ")", ")", "return", "true", ";", "if", "(", "!", "offsettable_address_p", "(", "false", ",", "mode", ",", "addr", ")", ")", "return", "false", ";", "op", "=", "address_offset", "(", "addr", ")", ";", "if", "(", "op", "==", "NULL_RTX", ")", "return", "true", ";", "offset", "=", "INTVAL", "(", "op", ")", ";", "if", "(", "(", "offset", "&", "3", ")", "!=", "0", ")", "return", "false", ";", "extra", "=", "GET_MODE_SIZE", "(", "mode", ")", "-", "UNITS_PER_WORD", ";", "if", "(", "extra", "<", "0", ")", "extra", "=", "0", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "LO_SUM", ")", "offset", "=", "sext_hwi", "(", "offset", ",", "16", ")", ";", "return", "SIGNED_16BIT_OFFSET_EXTRA_P", "(", "offset", ",", "extra", ")", ";", "}", ""], "natrual_language": ["As", "above", ",", "but", "for", "DS-FORM", "VSX", "insns", ".", "Unlike", "mem_operand_gpr", ",", "enforce", "an", "offset", "divisible", "by", "4", "even", "for", "32-bit", "."], "TS_V_token": ["rs6000", "0", "3", "0", "0", "0", "16"], "File": "rs60001", "Func": "mem_operand_ds_form", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4930, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "inline_secondary_memory_needed", "(", "machine_mode", "mode", ",", "reg_class_t", "class1", ",", "reg_class_t", "class2", ",", "int", "strict", ")", "{", "if", "(", "lra_in_progress", "&&", "(", "class1", "==", "NO_REGS", "||", "class2", "==", "NO_REGS", ")", ")", "return", "false", ";", "if", "(", "MAYBE_FLOAT_CLASS_P", "(", "class1", ")", "!=", "FLOAT_CLASS_P", "(", "class1", ")", "||", "MAYBE_FLOAT_CLASS_P", "(", "class2", ")", "!=", "FLOAT_CLASS_P", "(", "class2", ")", "||", "MAYBE_SSE_CLASS_P", "(", "class1", ")", "!=", "SSE_CLASS_P", "(", "class1", ")", "||", "MAYBE_SSE_CLASS_P", "(", "class2", ")", "!=", "SSE_CLASS_P", "(", "class2", ")", "||", "MAYBE_MMX_CLASS_P", "(", "class1", ")", "!=", "MMX_CLASS_P", "(", "class1", ")", "||", "MAYBE_MMX_CLASS_P", "(", "class2", ")", "!=", "MMX_CLASS_P", "(", "class2", ")", "||", "MAYBE_MASK_CLASS_P", "(", "class1", ")", "!=", "MASK_CLASS_P", "(", "class1", ")", "||", "MAYBE_MASK_CLASS_P", "(", "class2", ")", "!=", "MASK_CLASS_P", "(", "class2", ")", ")", "{", "gcc_assert", "(", "!", "strict", "||", "lra_in_progress", ")", ";", "return", "true", ";", "}", "if", "(", "FLOAT_CLASS_P", "(", "class1", ")", "!=", "FLOAT_CLASS_P", "(", "class2", ")", ")", "return", "true", ";", "if", "(", "(", "MASK_CLASS_P", "(", "class1", ")", "!=", "MASK_CLASS_P", "(", "class2", ")", ")", "&&", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "UNITS_PER_WORD", ")", ")", "return", "true", ";", "if", "(", "MMX_CLASS_P", "(", "class1", ")", "!=", "MMX_CLASS_P", "(", "class2", ")", ")", "return", "true", ";", "if", "(", "SSE_CLASS_P", "(", "class1", ")", "!=", "SSE_CLASS_P", "(", "class2", ")", ")", "{", "if", "(", "!", "TARGET_SSE2", ")", "return", "true", ";", "if", "(", "(", "SSE_CLASS_P", "(", "class1", ")", "&&", "!", "TARGET_INTER_UNIT_MOVES_FROM_VEC", ")", "||", "(", "SSE_CLASS_P", "(", "class2", ")", "&&", "!", "TARGET_INTER_UNIT_MOVES_TO_VEC", ")", ")", "return", "true", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "UNITS_PER_WORD", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["If", "we", "are", "copying", "between", "general", "and", "FP", "registers", ",", "we", "need", "a", "memory", "location", ".", "The", "same", "is", "true", "for", "SSE", "and", "MMX", "registers", ".", "To", "optimize", "register_move_cost", "performance", ",", "allow", "inline", "variant", ".", "The", "macro", "ca", "n't", "work", "reliably", "when", "one", "of", "the", "CLASSES", "is", "class", "containing", "registers", "from", "multiple", "units", "(", "SSE", ",", "MMX", ",", "integer", ")", ".", "We", "avoid", "this", "by", "never", "combining", "those", "units", "in", "single", "alternative", "in", "the", "machine", "description", ".", "Ensure", "that", "this", "constraint", "holds", "to", "avoid", "unexpected", "surprises", ".", "When", "STRICT", "is", "false", ",", "we", "are", "being", "called", "from", "REGISTER_MOVE_COST", ",", "so", "do", "not", "enforce", "these", "sanity", "checks", "."], "TS_V_token": ["i386"], "File": "i3867", "Func": "inline_secondary_memory_needed", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4931, "Length": 249, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arm_function_value", "(", "const_tree", "type", ",", "const_tree", "func", ",", "bool", "outgoing", "ATTRIBUTE_UNUSED", ")", "{", "machine_mode", "mode", ";", "int", "unsignedp", "ATTRIBUTE_UNUSED", ";", "rtx", "r", "ATTRIBUTE_UNUSED", ";", "mode", "=", "TYPE_MODE", "(", "type", ")", ";", "if", "(", "TARGET_AAPCS_BASED", ")", "return", "aapcs_allocate_return_reg", "(", "mode", ",", "type", ",", "func", ")", ";", "if", "(", "INTEGRAL_TYPE_P", "(", "type", ")", ")", "mode", "=", "arm_promote_function_mode", "(", "type", ",", "mode", ",", "&", "unsignedp", ",", "func", ",", "1", ")", ";", "if", "(", "arm_return_in_msb", "(", "type", ")", ")", "{", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "if", "(", "size", "%", "UNITS_PER_WORD", "!=", "0", ")", "{", "size", "+=", "UNITS_PER_WORD", "-", "size", "%", "UNITS_PER_WORD", ";", "mode", "=", "int_mode_for_size", "(", "size", "*", "BITS_PER_UNIT", ",", "0", ")", ".", "require", "(", ")", ";", "}", "}", "return", "arm_libcall_value_1", "(", "mode", ")", ";", "}", ""], "natrual_language": ["Define", "how", "to", "find", "the", "value", "returned", "by", "a", "function", "."], "TS_V_token": ["arm", "1", "0", "0"], "File": "arm", "Func": "arm_function_value", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4932, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64AsmPrinter", "::", "emitJumpTableInfo", "(", ")", "{", "const", "MachineJumpTableInfo", "*", "MJTI", "=", "MF", "->", "getJumpTableInfo", "(", ")", ";", "if", "(", "!", "MJTI", ")", "return", ";", "const", "std", "::", "vector", "<", "MachineJumpTableEntry", ">", "&", "JT", "=", "MJTI", "->", "getJumpTables", "(", ")", ";", "if", "(", "JT", ".", "empty", "(", ")", ")", "return", ";", "const", "Function", "&", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "const", "TargetLoweringObjectFile", "&", "TLOF", "=", "getObjFileLowering", "(", ")", ";", "bool", "JTInDiffSection", "=", "!", "STI", "->", "isTargetCOFF", "(", ")", "||", "!", "TLOF", ".", "shouldPutJumpTableInFunctionSection", "(", "MJTI", "->", "getEntryKind", "(", ")", "==", "MachineJumpTableInfo", "::", "EK_LabelDifference32", ",", "F", ")", ";", "if", "(", "JTInDiffSection", ")", "{", "MCSection", "*", "ReadOnlySec", "=", "TLOF", ".", "getSectionForJumpTable", "(", "F", ",", "TM", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "ReadOnlySec", ")", ";", "}", "auto", "AFI", "=", "MF", "->", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "for", "(", "unsigned", "JTI", "=", "0", ",", "e", "=", "JT", ".", "size", "(", ")", ";", "JTI", "!=", "e", ";", "++", "JTI", ")", "{", "const", "std", "::", "vector", "<", "MachineBasicBlock", "*", ">", "&", "JTBBs", "=", "JT", "[", "JTI", "]", ".", "MBBs", ";", "if", "(", "JTBBs", ".", "empty", "(", ")", ")", "continue", ";", "unsigned", "Size", "=", "AFI", "->", "getJumpTableEntrySize", "(", "JTI", ")", ";", "emitAlignment", "(", "Align", "(", "Size", ")", ")", ";", "OutStreamer", "->", "emitLabel", "(", "GetJTISymbol", "(", "JTI", ")", ")", ";", "const", "MCSymbol", "*", "BaseSym", "=", "AArch64FI", "->", "getJumpTableEntryPCRelSymbol", "(", "JTI", ")", ";", "const", "MCExpr", "*", "Base", "=", "MCSymbolRefExpr", "::", "create", "(", "BaseSym", ",", "OutContext", ")", ";", "for", "(", "auto", "*", "JTBB", ":", "JTBBs", ")", "{", "const", "MCExpr", "*", "Value", "=", "MCSymbolRefExpr", "::", "create", "(", "JTBB", "->", "getSymbol", "(", ")", ",", "OutContext", ")", ";", "Value", "=", "MCBinaryExpr", "::", "createSub", "(", "Value", ",", "Base", ",", "OutContext", ")", ";", "if", "(", "Size", "!=", "4", ")", "Value", "=", "MCBinaryExpr", "::", "createLShr", "(", "Value", ",", "MCConstantExpr", "::", "create", "(", "2", ",", "OutContext", ")", ",", "OutContext", ")", ";", "OutStreamer", "->", "emitValue", "(", "Value", ",", "Size", ")", ";", "}", "}", "}", ""], "natrual_language": ["Print", "assembly", "representations", "of", "the", "jump", "tables", "used", "by", "the", "current", "function", "to", "the", "current", "output", "stream", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "0", "AArch64", "4", "2"], "File": "AArch64AsmPrinter1", "Func": "emitJumpTableInfo", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4933, "Length": 320, "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", ")", ";", "if", "(", "Subtarget", "->", "isPICStyleRIPRel", "(", ")", ")", "O", "<<", "\"(%rip)\"", ";", "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", "\"(%rip)\"", "0"], "File": "X86AsmPrinter107", "Func": "PrintAsmOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4934, "Length": 385, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsTargetLowering", "::", "getJumpTableEncoding", "(", ")", "const", "{", "if", "(", "Subtarget", ".", "isABI_N64", "(", ")", ")", "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": "MipsISelLowering106", "Func": "getJumpTableEncoding", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4935, "Length": 29, "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": 4936, "Length": 48, "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_GHC_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": "ARMBaseRegisterInfo21", "Func": "getCalleeSavedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4937, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "pru_register_abicheck_pass", "(", "void", ")", "{", "opt_pass", "*", "tiabi_check", "=", "make_pass_tiabi_check", "(", "g", ")", ";", "struct", "register_pass_info", "tiabi_check_info", "=", "{", "tiabi_check", ",", "\"*warn_unused_result\"", ",", "1", ",", "PASS_POS_INSERT_AFTER", "}", ";", "register_pass", "(", "&", "tiabi_check_info", ")", ";", "}", ""], "natrual_language": ["Register", "as", "early", "as", "possible", "."], "TS_V_token": ["pru", "\"*warn_unused_result\"", "1"], "File": "pru-passes", "Func": "pru_register_abicheck_pass", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4938, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_prefetch", "(", "rtx_insn", "*", "insn", ")", "{", "return", "NONJUMP_INSN_P", "(", "insn", ")", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "PREFETCH", ";", "}", ""], "natrual_language": ["Return", "true", "if", "insn", "is", "a", "prefetch", "instruction", "."], "TS_V_token": ["i386"], "File": "i3865", "Func": "is_prefetch", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4939, "Length": 26, "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_TMM", ":", "\\", "if", "(", "index", ">", "7", ")", "\\", "*", "valid", "=", "0", ";", "\\", "return", "prefix", "##", "_TMM0", "+", "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_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", "7", "0", "0xf", "7", "0", "7", "0", "2", "0x7", "7", "5", "0", "7"], "File": "X86Disassembler (2)2", "Func": "name", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4940, "Length": 449, "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", ")", ";", "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", ")", ";", "}", "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", "ISD::SHL_PARTS", "ISD::SRA_PARTS", "ISD::SRL_PARTS", "ISD::LOAD", "ISD::STORE"], "File": "MipsISelLowering39", "Func": "LowerOperation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4941, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "MachineModuleInfo", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["X86"], "File": "X86CodeEmitter11", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4942, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_ls2_dfa_post_advance_cycle", "(", "state_t", "state", ")", "{", "if", "(", "cpu_unit_reservation_p", "(", "state", ",", "mips_ls2", ".", "alu1_core_unit_code", ")", ")", "{", "gcc_assert", "(", "mips_ls2", ".", "cycle_has_multi_p", ")", ";", "mips_ls2", ".", "alu1_turn_p", "=", "false", ";", "}", "mips_ls2", ".", "cycle_has_multi_p", "=", "false", ";", "if", "(", "cpu_unit_reservation_p", "(", "state", ",", "mips_ls2", ".", "alu2_core_unit_code", ")", ")", "mips_ls2", ".", "alu1_turn_p", "=", "true", ";", "if", "(", "mips_ls2", ".", "alu1_turn_p", ")", "{", "if", "(", "state_transition", "(", "state", ",", "mips_ls2", ".", "alu1_turn_enabled_insn", ")", ">=", "0", ")", "gcc_unreachable", "(", ")", ";", "}", "else", "{", "if", "(", "state_transition", "(", "state", ",", "mips_ls2", ".", "alu2_turn_enabled_insn", ")", ">=", "0", ")", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "cpu_unit_reservation_p", "(", "state", ",", "mips_ls2", ".", "falu1_core_unit_code", ")", ")", "{", "gcc_unreachable", "(", ")", ";", "mips_ls2", ".", "falu1_turn_p", "=", "false", ";", "}", "if", "(", "cpu_unit_reservation_p", "(", "state", ",", "mips_ls2", ".", "falu2_core_unit_code", ")", ")", "mips_ls2", ".", "falu1_turn_p", "=", "true", ";", "if", "(", "mips_ls2", ".", "falu1_turn_p", ")", "{", "if", "(", "state_transition", "(", "state", ",", "mips_ls2", ".", "falu1_turn_enabled_insn", ")", ">=", "0", ")", "gcc_unreachable", "(", ")", ";", "}", "else", "{", "if", "(", "state_transition", "(", "state", ",", "mips_ls2", ".", "falu2_turn_enabled_insn", ")", ">=", "0", ")", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Initialize", "STATE", "when", "scheduling", "for", "Loongson", "2E/2F", ".", "Support", "round-robin", "dispatch", "scheme", "by", "enabling", "only", "one", "of", "ALU1/ALU2", "and", "one", "of", "FALU1/FALU2", "units", "for", "ALU1/2", "and", "FALU1/2", "instructions", "respectively", "."], "TS_V_token": ["mips", "0", "0", "0", "0"], "File": "mips", "Func": "mips_ls2_dfa_post_advance_cycle", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4943, "Length": 188, "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": 4944, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_extend_bitfield_pattern_p", "(", "rtx", "x", ")", "{", "rtx_code", "outer_code", "=", "GET_CODE", "(", "x", ")", ";", "machine_mode", "outer_mode", "=", "GET_MODE", "(", "x", ")", ";", "if", "(", "outer_code", "!=", "ZERO_EXTEND", "&&", "outer_code", "!=", "SIGN_EXTEND", "&&", "outer_mode", "!=", "SImode", "&&", "outer_mode", "!=", "DImode", ")", "return", "NULL_RTX", ";", "rtx", "inner", "=", "XEXP", "(", "x", ",", "0", ")", ";", "rtx_code", "inner_code", "=", "GET_CODE", "(", "inner", ")", ";", "machine_mode", "inner_mode", "=", "GET_MODE", "(", "inner", ")", ";", "rtx", "op", "=", "NULL_RTX", ";", "switch", "(", "inner_code", ")", "{", "case", "ASHIFT", ":", "if", "(", "CONST_INT_P", "(", "XEXP", "(", "inner", ",", "1", ")", ")", "&&", "(", "inner_mode", "==", "QImode", "||", "inner_mode", "==", "HImode", ")", ")", "op", "=", "XEXP", "(", "inner", ",", "0", ")", ";", "break", ";", "case", "LSHIFTRT", ":", "if", "(", "outer_code", "==", "ZERO_EXTEND", "&&", "CONST_INT_P", "(", "XEXP", "(", "inner", ",", "1", ")", ")", "&&", "(", "inner_mode", "==", "QImode", "||", "inner_mode", "==", "HImode", ")", ")", "op", "=", "XEXP", "(", "inner", ",", "0", ")", ";", "break", ";", "case", "ASHIFTRT", ":", "if", "(", "outer_code", "==", "SIGN_EXTEND", "&&", "CONST_INT_P", "(", "XEXP", "(", "inner", ",", "1", ")", ")", "&&", "(", "inner_mode", "==", "QImode", "||", "inner_mode", "==", "HImode", ")", ")", "op", "=", "XEXP", "(", "inner", ",", "0", ")", ";", "break", ";", "default", ":", "break", ";", "}", "return", "op", ";", "}", ""], "natrual_language": ["Check", "whether", "X", "is", "a", "bitfield", "operation", "of", "the", "form", "shift", "+", "extend", "that", "maps", "down", "to", "a", "UBFIZ/SBFIZ/UBFX/SBFX", "instruction", ".", "If", "so", ",", "return", "the", "operand", "to", "which", "the", "bitfield", "operation", "is", "applied", ".", "Otherwise", "return", "NULL_RTX", "."], "TS_V_token": ["aarch64", "0", "1", "0", "1", "0", "1", "0"], "File": "aarch64", "Func": "aarch64_extend_bitfield_pattern_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4945, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "ia64_invalid_unary_op", "(", "int", "op", ",", "const_tree", "type", ")", "{", "if", "(", "TYPE_MODE", "(", "type", ")", "==", "RFmode", "&&", "op", "!=", "CONVERT_EXPR", "&&", "op", "!=", "ADDR_EXPR", ")", "return", "N_", "(", "\"invalid operation on %<__fpreg%>\"", ")", ";", "return", "NULL", ";", "}", ""], "natrual_language": ["Return", "the", "diagnostic", "message", "string", "if", "the", "unary", "operation", "OP", "is", "not", "permitted", "on", "TYPE", ",", "NULL", "otherwise", "."], "TS_V_token": ["ia64", "\"invalid operation on %<__fpreg%>\""], "File": "ia64", "Func": "ia64_invalid_unary_op", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4946, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "SimplifyDemandedBitsForTargetNode", "(", "SDValue", "Op", ",", "const", "APInt", "&", "OriginalDemandedBits", ",", "KnownBits", "&", "Known", ",", "TargetLoweringOpt", "&", "TLO", ",", "unsigned", "Depth", ")", "const", "{", "unsigned", "Opc", "=", "Op", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "case", "X86ISD", "::", "PMULDQ", ":", "case", "X86ISD", "::", "PMULUDQ", ":", "{", "KnownBits", "KnownOp", ";", "SDValue", "LHS", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "SDValue", "RHS", "=", "Op", ".", "getOperand", "(", "1", ")", ";", "APInt", "DemandedMask", "=", "APInt", "::", "getLowBitsSet", "(", "64", ",", "32", ")", ";", "if", "(", "SimplifyDemandedBits", "(", "LHS", ",", "DemandedMask", ",", "KnownOp", ",", "TLO", ",", "Depth", "+", "1", ")", ")", "return", "true", ";", "if", "(", "SimplifyDemandedBits", "(", "RHS", ",", "DemandedMask", ",", "KnownOp", ",", "TLO", ",", "Depth", "+", "1", ")", ")", "return", "true", ";", "break", ";", "}", "}", "return", "TargetLowering", "::", "SimplifyDemandedBitsForTargetNode", "(", "Op", ",", "OriginalDemandedBits", ",", "Known", ",", "TLO", ",", "Depth", ")", ";", "}", ""], "natrual_language": ["Attempt", "to", "simplify", "any", "target", "nodes", "based", "on", "the", "demanded", "bits/elts", ",", "returning", "true", "on", "success", "."], "TS_V_token": ["X86", "X86", "X86ISD::PMULDQ", "X86ISD::PMULUDQ", "0", "1", "64", "32", "1", "1"], "File": "X86ISelLowering223", "Func": "SimplifyDemandedBitsForTargetNode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4947, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMSubtarget", "::", "enablePostRAMachineScheduler", "(", ")", "const", "{", "if", "(", "!", "enableMachineScheduler", "(", ")", ")", "return", "false", ";", "if", "(", "disablePostRAScheduler", "(", ")", ")", "return", "false", ";", "return", "!", "isThumb1Only", "(", ")", ";", "}", ""], "natrual_language": ["True", "if", "the", "subtarget", "should", "run", "a", "machine", "scheduler", "after", "register", "allocation", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMSubtarget37", "Func": "enablePostRAMachineScheduler", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4948, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "emit_fusion_p9_load", "(", "rtx", "reg", ",", "rtx", "mem", ",", "rtx", "tmp_reg", ")", "{", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "reg", ")", ";", "rtx", "hi", ";", "rtx", "lo", ";", "rtx", "addr", ";", "const", "char", "*", "load_string", ";", "int", "r", ";", "if", "(", "GET_CODE", "(", "mem", ")", "==", "FLOAT_EXTEND", "||", "GET_CODE", "(", "mem", ")", "==", "ZERO_EXTEND", ")", "{", "mem", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "}", "if", "(", "GET_CODE", "(", "reg", ")", "==", "SUBREG", ")", "{", "gcc_assert", "(", "SUBREG_BYTE", "(", "reg", ")", "==", "0", ")", ";", "reg", "=", "SUBREG_REG", "(", "reg", ")", ";", "}", "if", "(", "!", "REG_P", "(", "reg", ")", ")", "fatal_insn", "(", "\"emit_fusion_p9_load, bad reg #1\"", ",", "reg", ")", ";", "r", "=", "REGNO", "(", "reg", ")", ";", "if", "(", "FP_REGNO_P", "(", "r", ")", ")", "{", "if", "(", "mode", "==", "SFmode", ")", "load_string", "=", "\"lfs\"", ";", "else", "if", "(", "mode", "==", "DFmode", "||", "mode", "==", "DImode", ")", "load_string", "=", "\"lfd\"", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "else", "if", "(", "INT_REGNO_P", "(", "r", ")", ")", "{", "switch", "(", "mode", ")", "{", "case", "QImode", ":", "load_string", "=", "\"lbz\"", ";", "break", ";", "case", "HImode", ":", "load_string", "=", "\"lhz\"", ";", "break", ";", "case", "SImode", ":", "case", "SFmode", ":", "load_string", "=", "\"lwz\"", ";", "break", ";", "case", "DImode", ":", "case", "DFmode", ":", "if", "(", "!", "TARGET_POWERPC64", ")", "gcc_unreachable", "(", ")", ";", "load_string", "=", "\"ld\"", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "fatal_insn", "(", "\"emit_fusion_p9_load, bad reg #2\"", ",", "reg", ")", ";", "if", "(", "!", "MEM_P", "(", "mem", ")", ")", "fatal_insn", "(", "\"emit_fusion_p9_load not MEM\"", ",", "mem", ")", ";", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "fusion_split_address", "(", "addr", ",", "&", "hi", ",", "&", "lo", ")", ";", "emit_fusion_addis", "(", "tmp_reg", ",", "hi", ",", "\"power9 load fusion\"", ",", "GET_MODE_NAME", "(", "mode", ")", ")", ";", "emit_fusion_load_store", "(", "reg", ",", "tmp_reg", ",", "lo", ",", "load_string", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Return", "a", "string", "to", "fuse", "an", "addis", "instruction", "with", "a", "load", "using", "extended", "fusion", ".", "The", "address", "that", "is", "used", "is", "the", "logical", "address", "that", "was", "formed", "during", "peephole2", ":", "(", "lo_sum", "(", "high", ")", "(", "low-part", ")", ")", "The", "code", "is", "complicated", ",", "so", "we", "call", "output_asm_insn", "directly", ",", "and", "just", "return", "``", "''", "."], "TS_V_token": ["rs6000", "0", "0", "\"emit_fusion_p9_load, bad reg #1\"", "\"lfs\"", "\"lfd\"", "\"lbz\"", "\"lhz\"", "\"lwz\"", "\"ld\"", "\"emit_fusion_p9_load, bad reg #2\"", "\"emit_fusion_p9_load not MEM\"", "0", "\"power9 load fusion\"", "\"\""], "File": "rs60005", "Func": "emit_fusion_p9_load", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4949, "Length": 309, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_rtx_constant_in_small_data_p", "(", "machine_mode", "mode", ")", "{", "return", "(", "!", "TARGET_EMBEDDED_DATA", "&&", "TARGET_LOCAL_SDATA", "&&", "GET_MODE_SIZE", "(", "mode", ")", "<=", "mips_small_data_threshold", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "rtx", "constants", "of", "mode", "MODE", "should", "be", "put", "into", "a", "small", "data", "section", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_rtx_constant_in_small_data_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4950, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_override_options_after_change", "(", "void", ")", "{", "if", "(", "(", "OPTION_SET_P", "(", "flag_unroll_loops", ")", "&&", "flag_unroll_loops", ")", "||", "(", "OPTION_SET_P", "(", "flag_unroll_all_loops", ")", "&&", "flag_unroll_all_loops", ")", ")", "{", "if", "(", "!", "OPTION_SET_P", "(", "unroll_only_small_loops", ")", ")", "unroll_only_small_loops", "=", "0", ";", "if", "(", "!", "OPTION_SET_P", "(", "flag_rename_registers", ")", ")", "flag_rename_registers", "=", "1", ";", "if", "(", "!", "OPTION_SET_P", "(", "flag_cunroll_grow_size", ")", ")", "flag_cunroll_grow_size", "=", "1", ";", "}", "else", "if", "(", "!", "OPTION_SET_P", "(", "flag_cunroll_grow_size", ")", ")", "flag_cunroll_grow_size", "=", "flag_peel_loops", "||", "optimize", ">=", "3", ";", "if", "(", "rs6000_rop_protect", ")", "flag_shrink_wrap", "=", "0", ";", "}", ""], "natrual_language": ["This", "target", "function", "is", "similar", "to", "the", "hook", "TARGET_OPTION_OVERRIDE", "but", "is", "called", "when", "the", "optimize", "level", "is", "changed", "via", "an", "attribute", "or", "pragma", "or", "when", "it", "is", "reset", "at", "the", "end", "of", "the", "code", "affected", "by", "the", "attribute", "or", "pragma", ".", "It", "is", "not", "called", "at", "the", "beginning", "of", "compilation", "when", "TARGET_OPTION_OVERRIDE", "is", "called", "so", "if", "you", "want", "to", "perform", "these", "actions", "then", ",", "you", "should", "have", "TARGET_OPTION_OVERRIDE", "call", "TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE", "."], "TS_V_token": ["rs6000", "0", "1", "1", "3", "0"], "File": "rs6000", "Func": "rs6000_override_options_after_change", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4951, "Length": 91, "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": ["LC2200"], "File": "LC2200TargetMachine", "Func": "getObjFileLowering", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4952, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_assemble_integer", "(", "rtx", "x", ",", "unsigned", "int", "size", ",", "int", "aligned_p", ")", "{", "if", "(", "RELOCATABLE_NEEDS_FIXUP", "&&", "size", "==", "4", "&&", "aligned_p", ")", "{", "static", "int", "recurse", "=", "0", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "(", "TARGET_RELOCATABLE", "||", "flag_pic", ">", "1", ")", "&&", "in_section", "!=", "toc_section", "&&", "!", "recurse", "&&", "!", "CONST_SCALAR_INT_P", "(", "x", ")", "&&", "CONSTANT_P", "(", "x", ")", ")", "{", "char", "buf", "[", "256", "]", ";", "recurse", "=", "1", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "buf", ",", "\"LCP\"", ",", "fixuplabelno", ")", ";", "fixuplabelno", "++", ";", "ASM_OUTPUT_LABEL", "(", "asm_out_file", ",", "buf", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.long\\t(\"", ")", ";", "output_addr_const", "(", "asm_out_file", ",", "x", ")", ";", "fprintf", "(", "asm_out_file", ",", "\")@fixup\\n\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.section\\t\\\".fixup\\\",\\\"aw\\\"\\n\"", ")", ";", "ASM_OUTPUT_ALIGN", "(", "asm_out_file", ",", "2", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.long\\t\"", ")", ";", "assemble_name", "(", "asm_out_file", ",", "buf", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\n\\t.previous\\n\"", ")", ";", "recurse", "=", "0", ";", "return", "true", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "XSTR", "(", "x", ",", "0", ")", "[", "0", "]", "==", "'.'", "&&", "DEFAULT_ABI", "==", "ABI_AIX", ")", "{", "const", "char", "*", "name", "=", "XSTR", "(", "x", ",", "0", ")", ";", "while", "(", "*", "name", "==", "'.'", ")", "name", "++", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.long\\t%s\\n\"", ",", "name", ")", ";", "return", "true", ";", "}", "}", "return", "default_assemble_integer", "(", "x", ",", "size", ",", "aligned_p", ")", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "assembling", "integer", "objects", ".", "The", "powerpc", "version", "has", "to", "handle", "fixup", "entries", "for", "relocatable", "code", "if", "RELOCATABLE_NEEDS_FIXUP", "is", "defined", ".", "It", "also", "needs", "to", "handle", "DI-mode", "objects", "on", "64-bit", "targets", "."], "TS_V_token": ["powerpcspe", "4", "0", "1", "256", "1", "\"LCP\"", "\"\\t.long\\t(\"", "\")@fixup\\n\"", "\"\\t.section\\t\\\".fixup\\\",\\\"aw\\\"\\n\"", "2", "\"\\t.long\\t\"", "\"\\n\\t.previous\\n\"", "0", "0", "0", "0", "\"\\t.long\\t%s\\n\""], "File": "powerpcspe", "Func": "rs6000_assemble_integer", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4953, "Length": 232, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetMachine", "::", "addInstSelector", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "PM", ".", "add", "(", "createX86ISelDag", "(", "*", "this", ",", "OptLevel", ")", ")", ";", "PM", ".", "add", "(", "createX87FPRegKillInserterPass", "(", ")", ")", ";", "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"], "File": "X86TargetMachine118", "Func": "addInstSelector", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4954, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "SystemZRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "SystemZSubtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "SystemZSubtarget", ">", "(", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "GHC", ")", "return", "CSR_SystemZ_NoRegs_SaveList", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AnyReg", ")", "return", "Subtarget", ".", "hasVector", "(", ")", "?", "CSR_SystemZ_AllRegs_Vector_SaveList", ":", "CSR_SystemZ_AllRegs_SaveList", ";", "if", "(", "MF", "->", "getSubtarget", "(", ")", ".", "getTargetLowering", "(", ")", "->", "supportSwiftError", "(", ")", "&&", "MF", "->", "getFunction", "(", ")", ".", "getAttributes", "(", ")", ".", "hasAttrSomewhere", "(", "Attribute", "::", "SwiftError", ")", ")", "return", "CSR_SystemZ_SwiftError_SaveList", ";", "return", "CSR_SystemZ_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ"], "File": "SystemZRegisterInfo15", "Func": "getCalleeSavedRegs", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4955, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMInstrInfo", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "if", "(", "!", "AFI", "->", "isThumbFunction", "(", ")", "||", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "bool", "isVarArg", "=", "AFI", "->", "getVarArgsRegSaveSize", "(", ")", ">", "0", ";", "MachineInstr", "*", "PopMI", "=", "MF", ".", "CreateMachineInstr", "(", "get", "(", "ARM", "::", "tPOP", ")", ",", "MI", "->", "getDebugLoc", "(", ")", ")", ";", "MBB", ".", "insert", "(", "MI", ",", "PopMI", ")", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "if", "(", "Reg", "==", "ARM", "::", "LR", ")", "{", "if", "(", "isVarArg", ")", "continue", ";", "Reg", "=", "ARM", "::", "PC", ";", "PopMI", "->", "setDesc", "(", "get", "(", "ARM", "::", "tPOP_RET", ")", ")", ";", "MBB", ".", "erase", "(", "MI", ")", ";", "}", "PopMI", "->", "addOperand", "(", "MachineOperand", "::", "CreateReg", "(", "Reg", ",", "true", ")", ")", ";", "}", "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::tPOP", "0", "1", "ARM::LR", "ARM::PC", "ARM::tPOP_RET"], "File": "ARMInstrInfo14", "Func": "restoreCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4956, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "inline_secondary_memory_needed", "(", "machine_mode", "mode", ",", "reg_class_t", "class1", ",", "reg_class_t", "class2", ",", "int", "strict", ")", "{", "if", "(", "lra_in_progress", "&&", "(", "class1", "==", "NO_REGS", "||", "class2", "==", "NO_REGS", ")", ")", "return", "false", ";", "if", "(", "MAYBE_FLOAT_CLASS_P", "(", "class1", ")", "!=", "FLOAT_CLASS_P", "(", "class1", ")", "||", "MAYBE_FLOAT_CLASS_P", "(", "class2", ")", "!=", "FLOAT_CLASS_P", "(", "class2", ")", "||", "MAYBE_SSE_CLASS_P", "(", "class1", ")", "!=", "SSE_CLASS_P", "(", "class1", ")", "||", "MAYBE_SSE_CLASS_P", "(", "class2", ")", "!=", "SSE_CLASS_P", "(", "class2", ")", "||", "MAYBE_MMX_CLASS_P", "(", "class1", ")", "!=", "MMX_CLASS_P", "(", "class1", ")", "||", "MAYBE_MMX_CLASS_P", "(", "class2", ")", "!=", "MMX_CLASS_P", "(", "class2", ")", "||", "MAYBE_MASK_CLASS_P", "(", "class1", ")", "!=", "MASK_CLASS_P", "(", "class1", ")", "||", "MAYBE_MASK_CLASS_P", "(", "class2", ")", "!=", "MASK_CLASS_P", "(", "class2", ")", ")", "{", "gcc_assert", "(", "!", "strict", "||", "lra_in_progress", ")", ";", "return", "true", ";", "}", "if", "(", "FLOAT_CLASS_P", "(", "class1", ")", "!=", "FLOAT_CLASS_P", "(", "class2", ")", ")", "return", "true", ";", "if", "(", "MMX_CLASS_P", "(", "class1", ")", "!=", "MMX_CLASS_P", "(", "class2", ")", ")", "return", "true", ";", "if", "(", "MASK_CLASS_P", "(", "class1", ")", "!=", "MASK_CLASS_P", "(", "class2", ")", ")", "{", "if", "(", "!", "(", "INTEGER_CLASS_P", "(", "class1", ")", "||", "INTEGER_CLASS_P", "(", "class2", ")", ")", "||", "GET_MODE_SIZE", "(", "mode", ")", ">", "UNITS_PER_WORD", ")", "return", "true", ";", "}", "if", "(", "SSE_CLASS_P", "(", "class1", ")", "!=", "SSE_CLASS_P", "(", "class2", ")", ")", "{", "if", "(", "!", "TARGET_SSE2", ")", "return", "true", ";", "if", "(", "!", "(", "INTEGER_CLASS_P", "(", "class1", ")", "||", "INTEGER_CLASS_P", "(", "class2", ")", ")", ")", "return", "true", ";", "int", "msize", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "msize", ">", "UNITS_PER_WORD", ")", "return", "true", ";", "int", "minsize", "=", "GET_MODE_SIZE", "(", "TARGET_SSE2", "?", "HImode", ":", "SImode", ")", ";", "if", "(", "msize", "<", "minsize", ")", "return", "true", ";", "if", "(", "(", "SSE_CLASS_P", "(", "class1", ")", "&&", "!", "TARGET_INTER_UNIT_MOVES_FROM_VEC", ")", "||", "(", "SSE_CLASS_P", "(", "class2", ")", "&&", "!", "TARGET_INTER_UNIT_MOVES_TO_VEC", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["If", "we", "are", "copying", "between", "general", "and", "FP", "registers", ",", "we", "need", "a", "memory", "location", ".", "The", "same", "is", "true", "for", "SSE", "and", "MMX", "registers", ".", "To", "optimize", "register_move_cost", "performance", ",", "allow", "inline", "variant", ".", "The", "macro", "ca", "n't", "work", "reliably", "when", "one", "of", "the", "CLASSES", "is", "class", "containing", "registers", "from", "multiple", "units", "(", "SSE", ",", "MMX", ",", "integer", ")", ".", "We", "avoid", "this", "by", "never", "combining", "those", "units", "in", "single", "alternative", "in", "the", "machine", "description", ".", "Ensure", "that", "this", "constraint", "holds", "to", "avoid", "unexpected", "surprises", ".", "When", "STRICT", "is", "false", ",", "we", "are", "being", "called", "from", "REGISTER_MOVE_COST", ",", "so", "do", "not", "enforce", "these", "sanity", "checks", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "inline_secondary_memory_needed", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4957, "Length": 306, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "SystemZSelectionDAGInfo", "::", "EmitTargetCodeForStrcmp", "(", "SelectionDAG", "&", "DAG", ",", "const", "SDLoc", "&", "DL", ",", "SDValue", "Chain", ",", "SDValue", "Src1", ",", "SDValue", "Src2", ",", "MachinePointerInfo", "Op1PtrInfo", ",", "MachinePointerInfo", "Op2PtrInfo", ")", "const", "{", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "Src1", ".", "getValueType", "(", ")", ",", "MVT", "::", "Other", ",", "MVT", "::", "Glue", ")", ";", "SDValue", "Unused", "=", "DAG", ".", "getNode", "(", "SystemZISD", "::", "STRCMP", ",", "DL", ",", "VTs", ",", "Chain", ",", "Src1", ",", "Src2", ",", "DAG", ".", "getConstant", "(", "0", ",", "DL", ",", "MVT", "::", "i32", ")", ")", ";", "Chain", "=", "Unused", ".", "getValue", "(", "1", ")", ";", "SDValue", "Glue", "=", "Chain", ".", "getValue", "(", "2", ")", ";", "return", "std", "::", "make_pair", "(", "addIPMSequence", "(", "DL", ",", "Glue", ",", "DAG", ")", ",", "Chain", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "strcmp", ",", "in", "cases", "where", "that", "is", "faster", "than", "a", "libcall", "."], "TS_V_token": ["SystemZ", "SystemZ", "MVT::Other", "MVT::Glue", "SystemZISD::STRCMP", "0", "MVT::i32", "1", "2"], "File": "SystemZSelectionDAGInfo20", "Func": "EmitTargetCodeForStrcmp", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4958, "Length": 132, "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": ["powerpcspe", "0", "0", "0", "0", "0"], "File": "powerpcspe", "Func": "rs6000_initial_elimination_offset", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4959, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isExtFreeImpl", "(", "const", "Instruction", "*", "Ext", ")", "const", "{", "if", "(", "isa", "<", "FPExtInst", ">", "(", "Ext", ")", ")", "return", "false", ";", "if", "(", "Ext", "->", "getType", "(", ")", "->", "isVectorTy", "(", ")", ")", "return", "false", ";", "for", "(", "const", "Use", "&", "U", ":", "Ext", "->", "uses", "(", ")", ")", "{", "const", "Instruction", "*", "Instr", "=", "cast", "<", "Instruction", ">", "(", "U", ".", "getUser", "(", ")", ")", ";", "switch", "(", "Instr", "->", "getOpcode", "(", ")", ")", "{", "case", "Instruction", "::", "Shl", ":", "if", "(", "!", "isa", "<", "ConstantInt", ">", "(", "Instr", "->", "getOperand", "(", "1", ")", ")", ")", "return", "false", ";", "break", ";", "case", "Instruction", "::", "GetElementPtr", ":", "{", "gep_type_iterator", "GTI", "=", "gep_type_begin", "(", "Instr", ")", ";", "auto", "&", "DL", "=", "Ext", "->", "getModule", "(", ")", "->", "getDataLayout", "(", ")", ";", "std", "::", "advance", "(", "GTI", ",", "U", ".", "getOperandNo", "(", ")", "-", "1", ")", ";", "Type", "*", "IdxTy", "=", "GTI", ".", "getIndexedType", "(", ")", ";", "uint64_t", "ShiftAmt", "=", "countTrailingZeros", "(", "DL", ".", "getTypeStoreSizeInBits", "(", "IdxTy", ")", ")", "-", "3", ";", "if", "(", "ShiftAmt", "==", "0", "||", "ShiftAmt", ">", "4", ")", "return", "false", ";", "break", ";", "}", "case", "Instruction", "::", "Trunc", ":", "if", "(", "Instr", "->", "getType", "(", ")", "==", "Ext", "->", "getOperand", "(", "0", ")", "->", "getType", "(", ")", ")", "continue", ";", "LLVM_FALLTHROUGH", ";", "default", ":", "return", "false", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "extension", "represented", "by", "I", "is", "free", "."], "TS_V_token": ["AArch64", "AArch64", "1", "1", "3", "0", "4", "0"], "File": "AArch64ISelLowering", "Func": "isExtFreeImpl", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4960, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "llvm_unreachable", "(", "\"relaxInstruction() unimplemented\"", ")", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["PowerPC", "\"relaxInstruction() unimplemented\""], "File": "PPCAsmBackend1", "Func": "fixupNeedsRelaxation", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4961, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "Mips16RegisterInfo", "::", "intRegClass", "(", "unsigned", "Size", ")", "const", "{", "assert", "(", "Size", "==", "4", ")", ";", "return", "&", "Mips", "::", "CPU16RegsRegClass", ";", "}", ""], "natrual_language": ["Return", "GPR", "register", "class", "."], "TS_V_token": ["Mips", "Mips", "4", "Mips::CPU16RegsRegClass"], "File": "Mips16RegisterInfo", "Func": "intRegClass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4962, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "ParamLoadedValue", ">", "AArch64InstrInfo", "::", "describeLoadedValue", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "AArch64", "::", "MOVZWi", ":", "case", "AArch64", "::", "MOVZXi", ":", "if", "(", "!", "MI", ".", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", ")", "return", "None", ";", "int", "Immediate", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "int", "Shift", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "return", "ParamLoadedValue", "(", "MachineOperand", "::", "CreateImm", "(", "Immediate", "<<", "Shift", ")", ",", "nullptr", ")", ";", "}", "return", "TargetInstrInfo", "::", "describeLoadedValue", "(", "MI", ")", ";", "}", ""], "natrual_language": ["Produce", "the", "expression", "describing", "the", "MI", "loading", "a", "value", "into", "the", "physical", "register", "Reg", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::MOVZWi", "AArch64::MOVZXi", "1", "1", "2"], "File": "AArch64InstrInfo23", "Func": "describeLoadedValue", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4963, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "arithmetic_instr", "(", "rtx", "op", ",", "int", "shift_first_arg", ")", "{", "switch", "(", "GET_CODE", "(", "op", ")", ")", "{", "case", "PLUS", ":", "return", "\"add\"", ";", "case", "MINUS", ":", "return", "shift_first_arg", "?", "\"rsb\"", ":", "\"sub\"", ";", "case", "IOR", ":", "return", "\"orr\"", ";", "case", "XOR", ":", "return", "\"eor\"", ";", "case", "AND", ":", "return", "\"and\"", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "appropriate", "ARM", "instruction", "for", "the", "operation", "code", ".", "The", "returned", "result", "should", "not", "be", "overwritten", ".", "OP", "is", "the", "rtx", "of", "the", "operation", ".", "SHIFT_FIRST_ARG", "is", "TRUE", "if", "the", "first", "argument", "of", "the", "operator", "was", "shifted", "."], "TS_V_token": ["arm", "\"add\"", "\"rsb\"", "\"sub\"", "\"orr\"", "\"eor\"", "\"and\""], "File": "arm3", "Func": "arithmetic_instr", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4964, "Length": 62, "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": 4965, "Length": 159, "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": 4966, "Length": 472, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_register_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "class1_i", ",", "reg_class_t", "class2_i", ")", "{", "enum", "reg_class", "class1", "=", "(", "enum", "reg_class", ")", "class1_i", ";", "enum", "reg_class", "class2", "=", "(", "enum", "reg_class", ")", "class2_i", ";", "if", "(", "inline_secondary_memory_needed", "(", "class1", ",", "class2", ",", "mode", ",", "0", ")", ")", "{", "int", "cost", "=", "1", ";", "cost", "+=", "inline_memory_move_cost", "(", "mode", ",", "class1", ",", "2", ")", ";", "cost", "+=", "inline_memory_move_cost", "(", "mode", ",", "class2", ",", "2", ")", ";", "if", "(", "targetm", ".", "class_max_nregs", "(", "class1", ",", "mode", ")", ">", "targetm", ".", "class_max_nregs", "(", "class2", ",", "mode", ")", ")", "cost", "+=", "20", ";", "if", "(", "(", "MMX_CLASS_P", "(", "class1", ")", "&&", "MAYBE_FLOAT_CLASS_P", "(", "class2", ")", ")", "||", "(", "MMX_CLASS_P", "(", "class2", ")", "&&", "MAYBE_FLOAT_CLASS_P", "(", "class1", ")", ")", ")", "cost", "+=", "20", ";", "return", "cost", ";", "}", "if", "(", "MMX_CLASS_P", "(", "class1", ")", "!=", "MMX_CLASS_P", "(", "class2", ")", "||", "SSE_CLASS_P", "(", "class1", ")", "!=", "SSE_CLASS_P", "(", "class2", ")", ")", "return", "MAX", "(", "8", ",", "ix86_cost", "->", "mmxsse_to_integer", ")", ";", "if", "(", "MAYBE_FLOAT_CLASS_P", "(", "class1", ")", ")", "return", "ix86_cost", "->", "fp_move", ";", "if", "(", "MAYBE_SSE_CLASS_P", "(", "class1", ")", ")", "return", "ix86_cost", "->", "sse_move", ";", "if", "(", "MAYBE_MMX_CLASS_P", "(", "class1", ")", ")", "return", "ix86_cost", "->", "mmx_move", ";", "return", "2", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "moving", "data", "from", "a", "register", "in", "class", "CLASS1", "to", "one", "in", "class", "CLASS2", ".", "It", "is", "not", "required", "that", "the", "cost", "always", "equal", "2", "when", "FROM", "is", "the", "same", "as", "TO", ";", "on", "some", "machines", "it", "is", "expensive", "to", "move", "between", "registers", "if", "they", "are", "not", "general", "registers", "."], "TS_V_token": ["i386", "0", "1", "2", "2", "20", "20", "8", "2"], "File": "i3864", "Func": "ix86_register_move_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4967, "Length": 205, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetTransformInfo", "AArch64TargetMachine", "::", "getTargetTransformInfo", "(", "const", "Function", "&", "F", ")", "const", "{", "return", "TargetTransformInfo", "(", "AArch64TTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetTransformInfo", "implementation", "for", "the", "target", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine32", "Func": "getTargetTransformInfo", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4968, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "const", "SDLoc", "&", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCRetInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCRetInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_PPC", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "RVLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "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", "::", "AExt", ":", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "TRUNCATE", ",", "dl", ",", "VA", ".", "getValVT", "(", ")", ",", "Val", ")", ";", "break", ";", "case", "CCValAssign", "::", "ZExt", ":", "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", ":", "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": ["PowerPC", "PPC", "ISD::InputArg", "16", "PPC", "0", "\"Can only return in registers!\"", "1", "2", "\"Unknown loc info!\"", "ISD::TRUNCATE", "ISD::AssertZext", "ISD::TRUNCATE", "ISD::AssertSext", "ISD::TRUNCATE"], "File": "PPCISelLowering10", "Func": "LowerCallResult", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4969, "Length": 358, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "loongarch_in_small_data_p", "(", "const_tree", "decl", ")", "{", "int", "size", ";", "if", "(", "TREE_CODE", "(", "decl", ")", "==", "STRING_CST", "||", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", ")", "return", "false", ";", "if", "(", "VAR_P", "(", "decl", ")", "&&", "DECL_SECTION_NAME", "(", "decl", ")", "!=", "0", ")", "{", "const", "char", "*", "name", ";", "name", "=", "DECL_SECTION_NAME", "(", "decl", ")", ";", "if", "(", "strcmp", "(", "name", ",", "\".sdata\"", ")", "!=", "0", "&&", "strcmp", "(", "name", ",", "\".sbss\"", ")", "!=", "0", ")", "return", "false", ";", "if", "(", "!", "DECL_EXTERNAL", "(", "decl", ")", ")", "return", "true", ";", "}", "size", "=", "int_size_in_bytes", "(", "TREE_TYPE", "(", "decl", ")", ")", ";", "return", "size", ">", "0", "&&", "size", "<=", "g_switch_value", ";", "}", ""], "natrual_language": ["Implement", "TARGET_IN_SMALL_DATA_P", "."], "TS_V_token": ["loongarch", "0", "\".sdata\"", "0", "\".sbss\"", "0", "0"], "File": "loongarch", "Func": "loongarch_in_small_data_p", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4970, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nds32_sp_base_or_plus_load_store_p", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "mem_src", "=", "NULL_RTX", ";", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_LOAD", ":", "mem_src", "=", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ";", "break", ";", "case", "TYPE_STORE", ":", "mem_src", "=", "SET_DEST", "(", "PATTERN", "(", "insn", ")", ")", ";", "break", ";", "default", ":", "break", ";", "}", "if", "(", "mem_src", "!=", "NULL_RTX", ")", "{", "if", "(", "(", "GET_CODE", "(", "mem_src", ")", "==", "ZERO_EXTEND", ")", "||", "(", "GET_CODE", "(", "mem_src", ")", "==", "SIGN_EXTEND", ")", ")", "mem_src", "=", "XEXP", "(", "mem_src", ",", "0", ")", ";", "if", "(", "(", "GET_CODE", "(", "XEXP", "(", "mem_src", ",", "0", ")", ")", "==", "PLUS", ")", ")", "mem_src", "=", "XEXP", "(", "mem_src", ",", "0", ")", ";", "if", "(", "REG_P", "(", "XEXP", "(", "mem_src", ",", "0", ")", ")", "&&", "(", "(", "frame_pointer_needed", "&&", "REGNO", "(", "XEXP", "(", "mem_src", ",", "0", ")", ")", "==", "FP_REGNUM", ")", "||", "REGNO", "(", "XEXP", "(", "mem_src", ",", "0", ")", ")", "==", "SP_REGNUM", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "insn", "is", "a", "sp/fp", "base", "or", "sp/fp", "plus", "load-store", "instruction", "."], "TS_V_token": ["nds32", "0", "0", "0", "0", "0", "0"], "File": "nds32-relax-opt", "Func": "nds32_sp_base_or_plus_load_store_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4971, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pa_asm_trampoline_template", "(", "FILE", "*", "f", ")", "{", "if", "(", "!", "TARGET_64BIT", ")", "{", "if", "(", "TARGET_PA_20", ")", "{", "fputs", "(", "\"\\tmfia\t%r20\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tldw\t\t48(%r20),%r22\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tcopy\t%r22,%r21\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tbb,>=,n\t%r22,30,.+16\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tdepwi\t0,31,2,%r22\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tldw\t\t0(%r22),%r21\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tldw\t\t4(%r22),%r19\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tbve\t\t(%r21)\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tldw\t\t52(%r1),%r29\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\t.word\t0\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\t.word\t0\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\t.word\t0\\n\"", ",", "f", ")", ";", "}", "else", "{", "if", "(", "ASSEMBLER_DIALECT", "==", "0", ")", "{", "fputs", "(", "\"\\tbl\t.+8,%r20\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tdepi\t0,31,2,%r20\\n\"", ",", "f", ")", ";", "}", "else", "{", "fputs", "(", "\"\\tb,l\t.+8,%r20\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tdepwi\t0,31,2,%r20\\n\"", ",", "f", ")", ";", "}", "fputs", "(", "\"\\tldw\t\t40(%r20),%r22\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tcopy\t%r22,%r21\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tbb,>=,n\t%r22,30,.+16\\n\"", ",", "f", ")", ";", "if", "(", "ASSEMBLER_DIALECT", "==", "0", ")", "fputs", "(", "\"\\tdepi\t0,31,2,%r22\\n\"", ",", "f", ")", ";", "else", "fputs", "(", "\"\\tdepwi\t0,31,2,%r22\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tldw\t\t0(%r22),%r21\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tldw\t\t4(%r22),%r19\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tldsid\t(%r21),%r1\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tmtsp\t%r1,%sr0\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tbe\t\t0(%sr0,%r21)\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tldw\t\t44(%r20),%r29\\n\"", ",", "f", ")", ";", "}", "fputs", "(", "\"\\t.word\t0\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\t.word\t0\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\t.word\t0\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\t.word\t0\\n\"", ",", "f", ")", ";", "}", "else", "{", "fputs", "(", "\"\\t.dword 0\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\t.dword 0\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\t.dword 0\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\t.dword 0\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tmfia\t%r31\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tldd\t24(%r31),%r27\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tldd\t32(%r31),%r31\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tldd\t16(%r27),%r1\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tbve\t(%r1)\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\tldd\t24(%r27),%r27\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\t.dword 0 ; fptr\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\t.dword 0 ; static link\\n\"", ",", "f", ")", ";", "}", "}", ""], "natrual_language": ["Output", "assembler", "code", "for", "a", "block", "containing", "the", "constant", "parts", "of", "a", "trampoline", ",", "leaving", "space", "for", "the", "variable", "parts.\\", "The", "trampoline", "sets", "the", "static", "chain", "pointer", "to", "STATIC_CHAIN_REGNUM", "and", "then", "branches", "to", "the", "specified", "routine", ".", "This", "code", "template", "is", "copied", "from", "text", "segment", "to", "stack", "location", "and", "then", "patched", "with", "pa_trampoline_init", "to", "contain", "valid", "values", ",", "and", "then", "entered", "as", "a", "subroutine", ".", "It", "is", "best", "to", "keep", "this", "as", "small", "as", "possible", "to", "avoid", "having", "to", "flush", "multiple", "lines", "in", "the", "cache", "."], "TS_V_token": ["pa", "\"\\tmfia\t%r20\\n\"", "\"\\tldw\t\t48(%r20),%r22\\n\"", "\"\\tcopy\t%r22,%r21\\n\"", "\"\\tbb,>=,n\t%r22,30,.+16\\n\"", "\"\\tdepwi\t0,31,2,%r22\\n\"", "\"\\tldw\t\t0(%r22),%r21\\n\"", "\"\\tldw\t\t4(%r22),%r19\\n\"", "\"\\tbve\t\t(%r21)\\n\"", "\"\\tldw\t\t52(%r1),%r29\\n\"", "\"\\t.word\t0\\n\"", "\"\\t.word\t0\\n\"", "\"\\t.word\t0\\n\"", "0", "\"\\tbl\t.+8,%r20\\n\"", "\"\\tdepi\t0,31,2,%r20\\n\"", "\"\\tb,l\t.+8,%r20\\n\"", "\"\\tdepwi\t0,31,2,%r20\\n\"", "\"\\tldw\t\t40(%r20),%r22\\n\"", "\"\\tcopy\t%r22,%r21\\n\"", "\"\\tbb,>=,n\t%r22,30,.+16\\n\"", "0", "\"\\tdepi\t0,31,2,%r22\\n\"", "\"\\tdepwi\t0,31,2,%r22\\n\"", "\"\\tldw\t\t0(%r22),%r21\\n\"", "\"\\tldw\t\t4(%r22),%r19\\n\"", "\"\\tldsid\t(%r21),%r1\\n\"", "\"\\tmtsp\t%r1,%sr0\\n\"", "\"\\tbe\t\t0(%sr0,%r21)\\n\"", "\"\\tldw\t\t44(%r20),%r29\\n\"", "\"\\t.word\t0\\n\"", "\"\\t.word\t0\\n\"", "\"\\t.word\t0\\n\"", "\"\\t.word\t0\\n\"", "\"\\t.dword 0\\n\"", "\"\\t.dword 0\\n\"", "\"\\t.dword 0\\n\"", "\"\\t.dword 0\\n\"", "\"\\tmfia\t%r31\\n\"", "\"\\tldd\t24(%r31),%r27\\n\"", "\"\\tldd\t32(%r31),%r31\\n\"", "\"\\tldd\t16(%r27),%r1\\n\"", "\"\\tbve\t(%r1)\\n\"", "\"\\tldd\t24(%r27),%r27\\n\"", "\"\\t.dword 0 ; fptr\\n\"", "\"\\t.dword 0 ; static link\\n\""], "File": "pa", "Func": "pa_asm_trampoline_template", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4972, "Length": 348, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_evpc_neon_vrev", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "int", "i", ",", "j", ",", "diff", ",", "nelt", "=", "d", "->", "perm", ".", "length", "(", ")", ";", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ")", ";", "if", "(", "!", "d", "->", "one_vector_p", ")", "return", "false", ";", "diff", "=", "d", "->", "perm", "[", "0", "]", ";", "switch", "(", "diff", ")", "{", "case", "7", ":", "switch", "(", "d", "->", "vmode", ")", "{", "case", "E_V16QImode", ":", "gen", "=", "gen_neon_vrev64v16qi", ";", "break", ";", "case", "E_V8QImode", ":", "gen", "=", "gen_neon_vrev64v8qi", ";", "break", ";", "default", ":", "return", "false", ";", "}", "break", ";", "case", "3", ":", "switch", "(", "d", "->", "vmode", ")", "{", "case", "E_V16QImode", ":", "gen", "=", "gen_neon_vrev32v16qi", ";", "break", ";", "case", "E_V8QImode", ":", "gen", "=", "gen_neon_vrev32v8qi", ";", "break", ";", "case", "E_V8HImode", ":", "gen", "=", "gen_neon_vrev64v8hi", ";", "break", ";", "case", "E_V4HImode", ":", "gen", "=", "gen_neon_vrev64v4hi", ";", "break", ";", "case", "E_V8HFmode", ":", "gen", "=", "gen_neon_vrev64v8hf", ";", "break", ";", "case", "E_V4HFmode", ":", "gen", "=", "gen_neon_vrev64v4hf", ";", "break", ";", "default", ":", "return", "false", ";", "}", "break", ";", "case", "1", ":", "switch", "(", "d", "->", "vmode", ")", "{", "case", "E_V16QImode", ":", "gen", "=", "gen_neon_vrev16v16qi", ";", "break", ";", "case", "E_V8QImode", ":", "gen", "=", "gen_neon_vrev16v8qi", ";", "break", ";", "case", "E_V8HImode", ":", "gen", "=", "gen_neon_vrev32v8hi", ";", "break", ";", "case", "E_V4HImode", ":", "gen", "=", "gen_neon_vrev32v4hi", ";", "break", ";", "case", "E_V4SImode", ":", "gen", "=", "gen_neon_vrev64v4si", ";", "break", ";", "case", "E_V2SImode", ":", "gen", "=", "gen_neon_vrev64v2si", ";", "break", ";", "case", "E_V4SFmode", ":", "gen", "=", "gen_neon_vrev64v4sf", ";", "break", ";", "case", "E_V2SFmode", ":", "gen", "=", "gen_neon_vrev64v2sf", ";", "break", ";", "default", ":", "return", "false", ";", "}", "break", ";", "default", ":", "return", "false", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "i", "+=", "diff", "+", "1", ")", "for", "(", "j", "=", "0", ";", "j", "<=", "diff", ";", "j", "+=", "1", ")", "{", "gcc_assert", "(", "i", "+", "j", "<", "nelt", ")", ";", "if", "(", "d", "->", "perm", "[", "i", "+", "j", "]", "!=", "i", "+", "diff", "-", "j", ")", "return", "false", ";", "}", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "emit_insn", "(", "gen", "(", "d", "->", "target", ",", "d", "->", "op0", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "for", "the", "VREV", "insns", "."], "TS_V_token": ["arm", "0", "7", "3", "1", "0", "1", "0", "1"], "File": "arm7", "Func": "arm_evpc_neon_vrev", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4973, "Length": 355, "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", ":", "{", "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": "MipsRegisterBankInfo2", "Func": "applyMappingImpl", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4974, "Length": 347, "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": 4975, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "override", "{", "return", "createARMWinCOFFObjectWriter", "(", "OS", ",", "false", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMAsmBackendWinCOFF", "Func": "createObjectWriter", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4976, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_split_atomic_op", "(", "enum", "rtx_code", "code", ",", "rtx", "old_out", ",", "rtx", "new_out", ",", "rtx", "mem", ",", "rtx", "value", ",", "rtx", "model_rtx", ",", "rtx", "cond", ")", "{", "enum", "memmodel", "model", "=", "memmodel_from_int", "(", "INTVAL", "(", "model_rtx", ")", ")", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "machine_mode", "wmode", "=", "(", "mode", "==", "DImode", "?", "DImode", ":", "SImode", ")", ";", "rtx_code_label", "*", "label", ";", "rtx", "x", ";", "bool", "is_armv8_sync", "=", "arm_arch8", "&&", "is_mm_sync", "(", "model", ")", ";", "bool", "use_acquire", "=", "TARGET_HAVE_LDACQ", "&&", "!", "(", "is_mm_relaxed", "(", "model", ")", "||", "is_mm_consume", "(", "model", ")", "||", "is_mm_release", "(", "model", ")", ")", ";", "bool", "use_release", "=", "TARGET_HAVE_LDACQ", "&&", "!", "(", "is_mm_relaxed", "(", "model", ")", "||", "is_mm_consume", "(", "model", ")", "||", "is_mm_acquire", "(", "model", ")", ")", ";", "if", "(", "is_armv8_sync", ")", "use_acquire", "=", "false", ";", "if", "(", "!", "(", "use_acquire", "||", "use_release", ")", ")", "arm_pre_atomic_barrier", "(", "model", ")", ";", "label", "=", "gen_label_rtx", "(", ")", ";", "emit_label", "(", "label", ")", ";", "if", "(", "new_out", ")", "new_out", "=", "gen_lowpart", "(", "wmode", ",", "new_out", ")", ";", "if", "(", "old_out", ")", "old_out", "=", "gen_lowpart", "(", "wmode", ",", "old_out", ")", ";", "else", "old_out", "=", "new_out", ";", "value", "=", "simplify_gen_subreg", "(", "wmode", ",", "value", ",", "mode", ",", "0", ")", ";", "arm_emit_load_exclusive", "(", "mode", ",", "old_out", ",", "mem", ",", "use_acquire", ")", ";", "switch", "(", "code", ")", "{", "case", "SET", ":", "new_out", "=", "value", ";", "break", ";", "case", "NOT", ":", "x", "=", "gen_rtx_AND", "(", "wmode", ",", "old_out", ",", "value", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "new_out", ",", "x", ")", ")", ";", "x", "=", "gen_rtx_NOT", "(", "wmode", ",", "new_out", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "new_out", ",", "x", ")", ")", ";", "break", ";", "case", "MINUS", ":", "if", "(", "CONST_INT_P", "(", "value", ")", ")", "{", "value", "=", "GEN_INT", "(", "-", "INTVAL", "(", "value", ")", ")", ";", "code", "=", "PLUS", ";", "}", "case", "PLUS", ":", "if", "(", "mode", "==", "DImode", ")", "{", "emit_move_insn", "(", "new_out", ",", "old_out", ")", ";", "if", "(", "code", "==", "PLUS", ")", "x", "=", "gen_adddi3", "(", "new_out", ",", "new_out", ",", "value", ")", ";", "else", "x", "=", "gen_subdi3", "(", "new_out", ",", "new_out", ",", "value", ")", ";", "emit_insn", "(", "x", ")", ";", "break", ";", "}", "default", ":", "x", "=", "gen_rtx_fmt_ee", "(", "code", ",", "wmode", ",", "old_out", ",", "value", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "new_out", ",", "x", ")", ")", ";", "break", ";", "}", "arm_emit_store_exclusive", "(", "mode", ",", "cond", ",", "mem", ",", "gen_lowpart", "(", "mode", ",", "new_out", ")", ",", "use_release", ")", ";", "x", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "cond", ",", "const0_rtx", ")", ";", "emit_unlikely_jump", "(", "gen_cbranchsi4", "(", "x", ",", "cond", ",", "const0_rtx", ",", "label", ")", ")", ";", "if", "(", "is_armv8_sync", "||", "!", "(", "use_acquire", "||", "use_release", ")", ")", "arm_post_atomic_barrier", "(", "model", ")", ";", "}", ""], "natrual_language": ["Split", "an", "atomic", "operation", "pattern", ".", "Operation", "is", "given", "by", "CODE", "and", "is", "one", "of", "PLUS", ",", "MINUS", ",", "IOR", ",", "XOR", ",", "SET", "(", "for", "an", "exchange", "operation", ")", "or", "NOT", "(", "for", "a", "nand", "operation", ")", ".", "Operation", "is", "performed", "on", "the", "content", "at", "MEM", "and", "on", "VALUE", "following", "the", "memory", "model", "MODEL_RTX", ".", "The", "content", "at", "MEM", "before", "and", "after", "the", "operation", "is", "returned", "in", "OLD_OUT", "and", "NEW_OUT", "respectively", "while", "the", "success", "of", "the", "operation", "is", "returned", "in", "COND", ".", "Using", "a", "scratch", "register", "or", "an", "operand", "register", "for", "these", "determines", "what", "result", "is", "returned", "for", "that", "pattern", "."], "TS_V_token": ["arm", "0"], "File": "arm5", "Func": "arm_split_atomic_op", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4977, "Length": 438, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86FrameLowering", "::", "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", ";", "PI", "=", "skipDebugInstructionsBackward", "(", "PI", ",", "MBB", ".", "begin", "(", ")", ")", ";", "if", "(", "doMergeWithPrevious", "&&", "PI", "!=", "MBB", ".", "begin", "(", ")", "&&", "PI", "->", "isCFIInstruction", "(", ")", ")", "PI", "=", "std", "::", "prev", "(", "PI", ")", ";", "unsigned", "Opc", "=", "PI", "->", "getOpcode", "(", ")", ";", "int", "Offset", "=", "0", ";", "if", "(", "(", "Opc", "==", "X86", "::", "ADD64ri32", "||", "Opc", "==", "X86", "::", "ADD64ri8", "||", "Opc", "==", "X86", "::", "ADD32ri", "||", "Opc", "==", "X86", "::", "ADD32ri8", ")", "&&", "PI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "StackPtr", ")", "{", "assert", "(", "PI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "StackPtr", ")", ";", "Offset", "=", "PI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "}", "else", "if", "(", "(", "Opc", "==", "X86", "::", "LEA32r", "||", "Opc", "==", "X86", "::", "LEA64_32r", ")", "&&", "PI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "StackPtr", "&&", "PI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "StackPtr", "&&", "PI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "1", "&&", "PI", "->", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", "==", "X86", "::", "NoRegister", "&&", "PI", "->", "getOperand", "(", "5", ")", ".", "getReg", "(", ")", "==", "X86", "::", "NoRegister", ")", "{", "Offset", "=", "PI", "->", "getOperand", "(", "4", ")", ".", "getImm", "(", ")", ";", "}", "else", "if", "(", "(", "Opc", "==", "X86", "::", "SUB64ri32", "||", "Opc", "==", "X86", "::", "SUB64ri8", "||", "Opc", "==", "X86", "::", "SUB32ri", "||", "Opc", "==", "X86", "::", "SUB32ri8", ")", "&&", "PI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "StackPtr", ")", "{", "assert", "(", "PI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "StackPtr", ")", ";", "Offset", "=", "-", "PI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "}", "else", "return", "0", ";", "PI", "=", "MBB", ".", "erase", "(", "PI", ")", ";", "if", "(", "PI", "!=", "MBB", ".", "end", "(", ")", "&&", "PI", "->", "isCFIInstruction", "(", ")", ")", "{", "auto", "CIs", "=", "MBB", ".", "getParent", "(", ")", "->", "getFrameInstructions", "(", ")", ";", "MCCFIInstruction", "CI", "=", "CIs", "[", "PI", "->", "getOperand", "(", "0", ")", ".", "getCFIIndex", "(", ")", "]", ";", "if", "(", "CI", ".", "getOperation", "(", ")", "==", "MCCFIInstruction", "::", "OpDefCfaOffset", ")", "PI", "=", "MBB", ".", "erase", "(", "PI", ")", ";", "}", "if", "(", "!", "doMergeWithPrevious", ")", "MBBI", "=", "skipDebugInstructionsForward", "(", "PI", ",", "MBB", ".", "end", "(", ")", ")", ";", "return", "Offset", ";", "}", ""], "natrual_language": ["Check", "the", "instruction", "before/after", "the", "passed", "instruction", "."], "TS_V_token": ["X86", "X86", "0", "0", "X86::ADD64ri32", "X86::ADD64ri8", "X86::ADD32ri", "X86::ADD32ri8", "0", "1", "2", "X86::LEA32r", "X86::LEA64_32r", "0", "1", "2", "1", "3", "X86::NoRegister", "5", "X86::NoRegister", "4", "X86::SUB64ri32", "X86::SUB64ri8", "X86::SUB32ri", "X86::SUB32ri8", "0", "1", "2", "0", "0"], "File": "X86FrameLowering12", "Func": "mergeSPUpdates", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4978, "Length": 471, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_autovectorize_vector_sizes", "(", "void", ")", "{", "return", "(", "16", "|", "8", ")", ";", "}", ""], "natrual_language": ["Return", "a", "list", "of", "possible", "vector", "sizes", "for", "the", "vectorizer", "to", "iterate", "over", "."], "TS_V_token": ["aarch64", "16", "8"], "File": "aarch642", "Func": "aarch64_autovectorize_vector_sizes", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4979, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "Value", "*", ">", "AArch64TTIImpl", "::", "simplifyDemandedVectorEltsIntrinsic", "(", "InstCombiner", "&", "IC", ",", "IntrinsicInst", "&", "II", ",", "APInt", "OrigDemandedElts", ",", "APInt", "&", "UndefElts", ",", "APInt", "&", "UndefElts2", ",", "APInt", "&", "UndefElts3", ",", "std", "::", "function", "<", "void", "(", "Instruction", "*", ",", "unsigned", ",", "APInt", ",", "APInt", "&", ")", ">", "SimplifyAndSetOp", ")", "const", "{", "switch", "(", "II", ".", "getIntrinsicID", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Intrinsic", "::", "aarch64_neon_fcvtxn", ":", "case", "Intrinsic", "::", "aarch64_neon_rshrn", ":", "case", "Intrinsic", "::", "aarch64_neon_sqrshrn", ":", "case", "Intrinsic", "::", "aarch64_neon_sqrshrun", ":", "case", "Intrinsic", "::", "aarch64_neon_sqshrn", ":", "case", "Intrinsic", "::", "aarch64_neon_sqshrun", ":", "case", "Intrinsic", "::", "aarch64_neon_sqxtn", ":", "case", "Intrinsic", "::", "aarch64_neon_sqxtun", ":", "case", "Intrinsic", "::", "aarch64_neon_uqrshrn", ":", "case", "Intrinsic", "::", "aarch64_neon_uqshrn", ":", "case", "Intrinsic", "::", "aarch64_neon_uqxtn", ":", "SimplifyAndSetOp", "(", "&", "II", ",", "0", ",", "OrigDemandedElts", ",", "UndefElts", ")", ";", "break", ";", "}", "return", "None", ";", "}", ""], "natrual_language": ["Can", "be", "used", "to", "implement", "target-specific", "instruction", "combining", "."], "TS_V_token": ["AArch64", "AArch64", "Intrinsic::aarch64_neon_fcvtxn", "Intrinsic::aarch64_neon_rshrn", "Intrinsic::aarch64_neon_sqrshrn", "Intrinsic::aarch64_neon_sqrshrun", "Intrinsic::aarch64_neon_sqshrn", "Intrinsic::aarch64_neon_sqshrun", "Intrinsic::aarch64_neon_sqxtn", "Intrinsic::aarch64_neon_sqxtun", "Intrinsic::aarch64_neon_uqrshrn", "Intrinsic::aarch64_neon_uqshrn", "Intrinsic::aarch64_neon_uqxtn", "0"], "File": "AArch64TargetTransformInfo24", "Func": "simplifyDemandedVectorEltsIntrinsic", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4980, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "nds32_force_addi_stack_int", "(", "int", "full_value", ")", "{", "int", "adjust_value", ";", "rtx", "tmp_reg", ";", "rtx", "sp_adjust_insn", ";", "if", "(", "!", "satisfies_constraint_Is15", "(", "GEN_INT", "(", "full_value", ")", ")", ")", "{", "tmp_reg", "=", "gen_rtx_REG", "(", "SImode", ",", "TA_REGNUM", ")", ";", "emit_move_insn", "(", "tmp_reg", ",", "GEN_INT", "(", "full_value", ")", ")", ";", "sp_adjust_insn", "=", "gen_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "tmp_reg", ")", ";", "sp_adjust_insn", "=", "emit_insn", "(", "sp_adjust_insn", ")", ";", "if", "(", "full_value", "<", "0", ")", "{", "rtx", "plus_rtx", ";", "rtx", "set_rtx", ";", "plus_rtx", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "full_value", ")", ";", "set_rtx", "=", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "plus_rtx", ")", ";", "add_reg_note", "(", "sp_adjust_insn", ",", "REG_FRAME_RELATED_EXPR", ",", "set_rtx", ")", ";", "RTX_FRAME_RELATED_P", "(", "sp_adjust_insn", ")", "=", "1", ";", "}", "return", "0", ";", "}", "else", "{", "adjust_value", "=", "(", "full_value", "<", "0", ")", "?", "(", "-", "full_value", ")", ":", "(", "full_value", ")", ";", "return", "adjust_value", ";", "}", "}", ""], "natrual_language": ["Function", "that", "may", "creates", "more", "instructions", "for", "large", "value", "on", "adjusting", "stack", "pointer", ".", "In", "nds32", "target", ",", "'addi", "'", "can", "be", "used", "for", "stack", "pointer", "adjustment", "in", "prologue/epilogue", "stage", ".", "However", ",", "sometimes", "there", "are", "too", "many", "local", "variables", "so", "that", "the", "adjustment", "value", "is", "not", "able", "to", "be", "fit", "in", "the", "'addi", "'", "instruction", ".", "One", "solution", "is", "to", "move", "value", "into", "a", "register", "and", "then", "use", "'add", "'", "instruction", ".", "In", "practice", ",", "we", "use", "TA_REGNUM", "(", "$", "r15", ")", "to", "accomplish", "this", "purpose", ".", "Also", ",", "we", "need", "to", "return", "zero", "for", "sp", "adjustment", "so", "that", "proglogue/epilogue", "knows", "there", "is", "no", "need", "to", "create", "'addi", "'", "instruction", "."], "TS_V_token": ["nds32", "0", "1", "0", "0"], "File": "nds323", "Func": "nds32_force_addi_stack_int", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4981, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "MipsRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "static", "const", "uint16_t", "ReservedCPURegs", "[", "]", "=", "{", "Mips", "::", "ZERO", ",", "Mips", "::", "AT", ",", "Mips", "::", "K0", ",", "Mips", "::", "K1", ",", "Mips", "::", "SP", ",", "Mips", "::", "FP", ",", "Mips", "::", "RA", "}", ";", "static", "const", "uint16_t", "ReservedCPU64Regs", "[", "]", "=", "{", "Mips", "::", "ZERO_64", ",", "Mips", "::", "AT_64", ",", "Mips", "::", "K0_64", ",", "Mips", "::", "K1_64", ",", "Mips", "::", "SP_64", ",", "Mips", "::", "FP_64", ",", "Mips", "::", "RA_64", "}", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "typedef", "TargetRegisterClass", "::", "iterator", "RegIter", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "ReservedCPURegs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedCPURegs", "[", "I", "]", ")", ";", "if", "(", "Subtarget", ".", "hasMips64", "(", ")", ")", "{", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "ReservedCPU64Regs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedCPU64Regs", "[", "I", "]", ")", ";", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "AFGR64RegisterClass", "->", "begin", "(", ")", ";", "Reg", "!=", "Mips", "::", "AFGR64RegisterClass", "->", "end", "(", ")", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "}", "else", "{", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "CPU64RegsRegisterClass", "->", "begin", "(", ")", ";", "Reg", "!=", "Mips", "::", "CPU64RegsRegisterClass", "->", "end", "(", ")", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "FGR64RegisterClass", "->", "begin", "(", ")", ";", "Reg", "!=", "Mips", "::", "FGR64RegisterClass", "->", "end", "(", ")", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "}", "if", "(", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", "->", "globalBaseRegFixed", "(", ")", ")", "{", "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::AT", "Mips::K0", "Mips::K1", "Mips::SP", "Mips::FP", "Mips::RA", "Mips::ZERO_64", "Mips::AT_64", "Mips::K0_64", "Mips::K1_64", "Mips::SP_64", "Mips::FP_64", "Mips::RA_64", "0", "Mips", "0", "Mips::AFGR64RegisterClass", "Mips::AFGR64RegisterClass", "Mips::CPU64RegsRegisterClass", "Mips::CPU64RegsRegisterClass", "Mips::FGR64RegisterClass", "Mips::FGR64RegisterClass", "Mips", "Mips::GP", "Mips::GP_64"], "File": "MipsRegisterInfo67", "Func": "getReservedRegs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4982, "Length": 308, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isFPImm", "(", ")", "const", "{", "return", "Kind", "==", "k_FPImmediate", ";", "}", ""], "natrual_language": ["isFPImm", "-", "Tests", "if", "this", "is", "a", "MO_FPImmediate", "operand", "."], "TS_V_token": ["AArch64"], "File": "AArch64AsmParser13", "Func": "isFPImm", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4983, "Length": 12, "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)1", "Func": "hasHighOperandLatency", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4984, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_output_dwarf_dtprel", "(", "FILE", "*", "file", ",", "int", "size", ",", "rtx", "x", ")", "{", "gcc_assert", "(", "size", "==", "4", "||", "size", "==", "8", ")", ";", "if", "(", "size", "==", "4", ")", "fputs", "(", "\"\\tdata4.ua\\t@dtprel(\"", ",", "file", ")", ";", "else", "fputs", "(", "\"\\tdata8.ua\\t@dtprel(\"", ",", "file", ")", ";", "output_addr_const", "(", "file", ",", "x", ")", ";", "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": ["ia64", "4", "8", "4", "\"\\tdata4.ua\\t@dtprel(\"", "\"\\tdata8.ua\\t@dtprel(\"", "\")\""], "File": "ia64", "Func": "ia64_output_dwarf_dtprel", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4985, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "check", "(", "function_checker", "&", "c", ")", "const", "OVERRIDE", "{", "return", "c", ".", "require_immediate_range", "(", "2", ",", "0", ",", "7", ")", ";", "}", ""], "natrual_language": ["Perform", "semantic", "checks", "on", "the", "call", ".", "Return", "true", "if", "the", "call", "is", "valid", ",", "otherwise", "report", "a", "suitable", "error", "."], "TS_V_token": ["aarch64", "2", "0", "7"], "File": "aarch64-sve-builtins-shapes", "Func": "check", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4986, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "TOYMCCodeEmitter", "::", "getBranchTargetOpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ")", "const", "{", "llvm_unreachable", "(", "\"getBranchTargetOpValue is not implemented yet\"", ")", ";", "}", ""], "natrual_language": ["getBranchTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "."], "TS_V_token": ["TOY", "TOY", "\"getBranchTargetOpValue is not implemented yet\""], "File": "TOYMCCodeEmitter", "Func": "getBranchTargetOpValue", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4987, "Length": 28, "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", ";", "case", "PROCESSOR_SH5", ":", "{", "builtin_define_with_value", "(", "\"__SH5__\"", ",", "TARGET_SHMEDIA64", "?", "\"64\"", ":", "\"32\"", ",", "0", ")", ";", "builtin_define_with_value", "(", "\"__SHMEDIA__\"", ",", "TARGET_SHMEDIA", "?", "\"1\"", ":", "\"0\"", ",", "0", ")", ";", "if", "(", "!", "TARGET_FPU_DOUBLE", ")", "builtin_define", "(", "\"__SH4_NOFPU__\"", ")", ";", "}", "}", "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__\"", ")", ";", "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__\"", "\"__SH5__\"", "\"64\"", "\"32\"", "0", "\"__SHMEDIA__\"", "\"1\"", "\"0\"", "0", "\"__SH4_NOFPU__\"", "\"__SH_FPU_ANY__\"", "\"__SH_FPU_DOUBLE__\"", "\"__HITACHI__\"", "\"__FMOVD_ENABLED__\"", "\"__LITTLE_ENDIAN__\"", "\"__BIG_ENDIAN__\"", "\"__SH_ATOMIC_MODEL_%s__\""], "File": "sh-c3", "Func": "sh_cpu_cpp_builtins", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4988, "Length": 287, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "override", "{", "EmitA64MappingSymbol", "(", ")", ";", "MCELFStreamer", "::", "emitInstruction", "(", "Inst", ",", "STI", ")", ";", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["AArch64"], "File": "AArch64ELFStreamer19", "Func": "emitInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4989, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_process_target_attr", "(", "tree", "args", ",", "const", "char", "*", "pragma_or_attr", ")", "{", "if", "(", "TREE_CODE", "(", "args", ")", "==", "TREE_LIST", ")", "{", "do", "{", "tree", "head", "=", "TREE_VALUE", "(", "args", ")", ";", "if", "(", "head", ")", "{", "if", "(", "!", "aarch64_process_target_attr", "(", "head", ",", "pragma_or_attr", ")", ")", "return", "false", ";", "}", "args", "=", "TREE_CHAIN", "(", "args", ")", ";", "}", "while", "(", "args", ")", ";", "return", "true", ";", "}", "gcc_assert", "(", "TREE_CODE", "(", "args", ")", "==", "STRING_CST", ")", ";", "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 target %s value\"", ",", "pragma_or_attr", ")", ";", "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", ",", "pragma_or_attr", ")", ")", "{", "error", "(", "\"target %s %qs is invalid\"", ",", "pragma_or_attr", ",", "token", ")", ";", "return", "false", ";", "}", "token", "=", "strtok", "(", "NULL", ",", "\",\"", ")", ";", "}", "if", "(", "num_attrs", "!=", "num_commas", "+", "1", ")", "{", "error", "(", "\"malformed target %s list %qs\"", ",", "pragma_or_attr", ",", "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", "1", "0", "\"malformed target %s value\"", "\",\"", "0", "\"target %s %qs is invalid\"", "\",\"", "1", "\"malformed target %s list %qs\""], "File": "aarch643", "Func": "aarch64_process_target_attr", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4990, "Length": 231, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "has_dispatch", "(", "rtx_insn", "*", "insn", ",", "int", "action", ")", "{", "if", "(", "(", "TARGET_BDVER1", "||", "TARGET_BDVER2", "||", "TARGET_BDVER3", "||", "TARGET_BDVER4", "||", "TARGET_ZNVER1", ")", "&&", "flag_dispatch_scheduler", ")", "switch", "(", "action", ")", "{", "default", ":", "return", "false", ";", "case", "IS_DISPATCH_ON", ":", "return", "true", ";", "case", "IS_CMP", ":", "return", "is_cmp", "(", "insn", ")", ";", "case", "DISPATCH_VIOLATION", ":", "return", "dispatch_violation", "(", ")", ";", "case", "FITS_DISPATCH_WINDOW", ":", "return", "fits_dispatch_window", "(", "insn", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "Dispatch", "Scheduling", "is", "supported", "."], "TS_V_token": ["i386"], "File": "i3866", "Func": "has_dispatch", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4991, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VERegisterInfo", "::", "isConstantPhysReg", "(", "MCRegister", "PhysReg", ")", "const", "{", "switch", "(", "PhysReg", ")", "{", "case", "VE", "::", "VM0", ":", "case", "VE", "::", "VMP0", ":", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Returns", "true", "if", "PhysReg", "is", "unallocatable", "and", "constant", "throughout", "the", "function", "."], "TS_V_token": ["VE", "VE", "VE::VM0", "VE::VMP0"], "File": "VERegisterInfo3", "Func": "isConstantPhysReg", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4992, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PromoteConstant", "::", "runOnFunction", "(", "Function", "&", "F", ",", "PromotionCacheTy", "&", "PromotionCache", ")", "{", "SmallVector", "<", "UpdateRecord", ",", "64", ">", "Updates", ";", "for", "(", "Instruction", "&", "I", ":", "instructions", "(", "&", "F", ")", ")", "{", "for", "(", "Use", "&", "U", ":", "I", ".", "operands", "(", ")", ")", "{", "Constant", "*", "Cst", "=", "dyn_cast", "<", "Constant", ">", "(", "U", ")", ";", "if", "(", "!", "Cst", "||", "isa", "<", "GlobalValue", ">", "(", "Cst", ")", "||", "!", "containsOnlyConstantData", "(", "Cst", ")", ")", "continue", ";", "if", "(", "!", "shouldConvert", "(", "*", "Cst", ",", "PromotionCache", ")", ")", "continue", ";", "unsigned", "OpNo", "=", "&", "U", "-", "I", ".", "op_begin", "(", ")", ";", "if", "(", "!", "shouldConvertUse", "(", "Cst", ",", "&", "I", ",", "OpNo", ")", ")", "continue", ";", "Updates", ".", "emplace_back", "(", "Cst", ",", "&", "I", ",", "OpNo", ")", ";", "}", "}", "if", "(", "Updates", ".", "empty", "(", ")", ")", "return", "false", ";", "promoteConstants", "(", "F", ",", "Updates", ",", "PromotionCache", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["AArch64", "AArch64", "64"], "File": "AArch64PromoteConstant26", "Func": "runOnFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4993, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_arg_info", "(", "const", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "int", "named", ",", "struct", "mips_arg_info", "*", "info", ")", "{", "bool", "doubleword_aligned_p", ";", "unsigned", "int", "num_bytes", ",", "num_words", ",", "max_regs", ";", "num_bytes", "=", "type", "?", "int_size_in_bytes", "(", "type", ")", ":", "GET_MODE_SIZE", "(", "mode", ")", ";", "num_words", "=", "(", "num_bytes", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "switch", "(", "mips_abi", ")", "{", "case", "ABI_EABI", ":", "info", "->", "fpr_p", "=", "(", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", "||", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_FLOAT", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "<=", "UNITS_PER_FPVALUE", ")", ";", "break", ";", "case", "ABI_32", ":", "case", "ABI_O64", ":", "info", "->", "fpr_p", "=", "(", "!", "cum", "->", "gp_reg_found", "&&", "cum", "->", "arg_number", "<", "2", "&&", "(", "type", "==", "0", "||", "SCALAR_FLOAT_TYPE_P", "(", "type", ")", "||", "VECTOR_FLOAT_TYPE_P", "(", "type", ")", ")", "&&", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", "||", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_FLOAT", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "<=", "UNITS_PER_FPVALUE", ")", ";", "break", ";", "case", "ABI_N32", ":", "case", "ABI_64", ":", "info", "->", "fpr_p", "=", "(", "named", "&&", "(", "type", "==", "0", "||", "FLOAT_TYPE_P", "(", "type", ")", ")", "&&", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", "||", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_FLOAT", "||", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_FLOAT", ")", "&&", "GET_MODE_UNIT_SIZE", "(", "mode", ")", "<=", "UNITS_PER_FPVALUE", ")", ";", "if", "(", "info", "->", "fpr_p", "&&", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_FLOAT", "&&", "GET_MODE_UNIT_SIZE", "(", "mode", ")", "<", "UNITS_PER_FPVALUE", ")", "{", "if", "(", "cum", "->", "num_gprs", ">=", "MAX_ARGS_IN_REGISTERS", "-", "1", ")", "info", "->", "fpr_p", "=", "false", ";", "else", "num_words", "=", "2", ";", "}", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "doubleword_aligned_p", "=", "FUNCTION_ARG_BOUNDARY", "(", "mode", ",", "type", ")", ">", "BITS_PER_WORD", ";", "info", "->", "reg_offset", "=", "(", "mips_abi", "==", "ABI_EABI", "&&", "info", "->", "fpr_p", "?", "cum", "->", "num_fprs", ":", "cum", "->", "num_gprs", ")", ";", "if", "(", "doubleword_aligned_p", ")", "info", "->", "reg_offset", "+=", "info", "->", "reg_offset", "&", "1", ";", "info", "->", "stack_offset", "=", "cum", "->", "stack_words", ";", "if", "(", "doubleword_aligned_p", ")", "info", "->", "stack_offset", "+=", "info", "->", "stack_offset", "&", "1", ";", "max_regs", "=", "MAX_ARGS_IN_REGISTERS", "-", "info", "->", "reg_offset", ";", "info", "->", "reg_words", "=", "MIN", "(", "num_words", ",", "max_regs", ")", ";", "info", "->", "stack_words", "=", "num_words", "-", "info", "->", "reg_words", ";", "}", ""], "natrual_language": ["Fill", "INFO", "with", "information", "about", "a", "single", "argument", ".", "CUM", "is", "the", "cumulative", "state", "for", "earlier", "arguments", ".", "MODE", "is", "the", "mode", "of", "this", "argument", "and", "TYPE", "is", "its", "type", "(", "if", "known", ")", ".", "NAMED", "is", "true", "if", "this", "is", "a", "named", "(", "fixed", ")", "argument", "rather", "than", "a", "variable", "one", "."], "TS_V_token": ["mips", "1", "2", "0", "0", "1", "2", "1", "1"], "File": "mips3", "Func": "mips_arg_info", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4994, "Length": 371, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "fold_compare_helper", "(", "gimple_stmt_iterator", "*", "gsi", ",", "tree_code", "code", ",", "gimple", "*", "stmt", ")", "{", "tree", "arg0", "=", "gimple_call_arg", "(", "stmt", ",", "0", ")", ";", "tree", "arg1", "=", "gimple_call_arg", "(", "stmt", ",", "1", ")", ";", "tree", "lhs", "=", "gimple_call_lhs", "(", "stmt", ")", ";", "tree", "cmp", "=", "fold_build_vec_cmp", "(", "code", ",", "TREE_TYPE", "(", "lhs", ")", ",", "arg0", ",", "arg1", ",", "gsi", ")", ";", "gimple", "*", "g", "=", "gimple_build_assign", "(", "lhs", ",", "cmp", ")", ";", "gimple_set_location", "(", "g", ",", "gimple_location", "(", "stmt", ")", ")", ";", "gsi_replace", "(", "gsi", ",", "g", ",", "true", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "handle", "the", "in-between", "steps", "for", "the", "vector", "compare", "built-ins", "."], "TS_V_token": ["rs6000", "0", "1"], "File": "rs6000-builtin", "Func": "fold_compare_helper", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4995, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "symbian_add_attribute_to_class_vtable_and_rtti", "(", "tree", "ctype", ",", "const", "char", "*", "attr_name", ")", "{", "symbian_add_attribute", "(", "ctype", ",", "attr_name", ")", ";", "if", "(", "CLASSTYPE_VTABLES", "(", "ctype", ")", ")", "symbian_add_attribute", "(", "CLASSTYPE_VTABLES", "(", "ctype", ")", ",", "attr_name", ")", ";", "if", "(", "TYPE_MAIN_VARIANT", "(", "ctype", ")", "&&", "CLASSTYPE_TYPEINFO_VAR", "(", "TYPE_MAIN_VARIANT", "(", "ctype", ")", ")", ")", "symbian_add_attribute", "(", "CLASSTYPE_TYPEINFO_VAR", "(", "TYPE_MAIN_VARIANT", "(", "ctype", ")", ")", ",", "attr_name", ")", ";", "}", ""], "natrual_language": ["Add", "the", "named", "attribute", "to", "a", "class", "and", "its", "vtable", "and", "rtti", "."], "TS_V_token": ["sh"], "File": "symbian", "Func": "symbian_add_attribute_to_class_vtable_and_rtti", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4996, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sparc_builtin_setjmp_frame_value", "(", "void", ")", "{", "return", "hard_frame_pointer_rtx", ";", "}", ""], "natrual_language": ["Return", "the", "hard", "frame", "pointer", "directly", "to", "bypass", "the", "stack", "bias", "."], "TS_V_token": ["sparc"], "File": "sparc4", "Func": "sparc_builtin_setjmp_frame_value", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4997, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "getMachineCombinerPatterns", "(", "MachineInstr", "&", "Root", ",", "SmallVectorImpl", "<", "MachineCombinerPattern", ">", "&", "Patterns", ",", "bool", "DoRegPressureReduce", ")", "const", "{", "if", "(", "getMaddPatterns", "(", "Root", ",", "Patterns", ")", ")", "return", "true", ";", "if", "(", "getFMAPatterns", "(", "Root", ",", "Patterns", ")", ")", "return", "true", ";", "return", "TargetInstrInfo", "::", "getMachineCombinerPatterns", "(", "Root", ",", "Patterns", ",", "DoRegPressureReduce", ")", ";", "}", ""], "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": "AArch64InstrInfo105", "Func": "getMachineCombinerPatterns", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4998, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "reMaterialize", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "unsigned", "SubIdx", ",", "const", "MachineInstr", "*", "Orig", ",", "const", "TargetRegisterInfo", "&", "TRI", ")", "const", "{", "unsigned", "Opc", "=", "Orig", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "X86", "::", "MOV32r0", "&&", "!", "isSafeToClobberEFLAGS", "(", "MBB", ",", "I", ")", ")", "{", "DebugLoc", "DL", "=", "Orig", "->", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "X86", "::", "MOV32ri", ")", ")", ".", "addOperand", "(", "Orig", "->", "getOperand", "(", "0", ")", ")", ".", "addImm", "(", "0", ")", ";", "}", "else", "{", "MachineInstr", "*", "MI", "=", "MBB", ".", "getParent", "(", ")", "->", "CloneMachineInstr", "(", "Orig", ")", ";", "MBB", ".", "insert", "(", "I", ",", "MI", ")", ";", "}", "MachineInstr", "*", "NewMI", "=", "std", "::", "prev", "(", "I", ")", ";", "NewMI", "->", "substituteRegister", "(", "Orig", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "DestReg", ",", "SubIdx", ",", "TRI", ")", ";", "}", ""], "natrual_language": ["Re-issue", "the", "specified", "'original", "'", "instruction", "at", "the", "specific", "location", "targeting", "a", "new", "destination", "register", "."], "TS_V_token": ["X86", "X86", "X86::MOV32r0", "X86::MOV32ri", "0", "0", "0"], "File": "X86InstrInfo (2)", "Func": "reMaterialize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4999, "Length": 160, "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", ")", ";", "setSupportsDebugEntryValues", "(", "true", ")", ";", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "X86", "target", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86TargetMachine130", "Func": "X86TargetMachine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5000, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetELFStreamer", "::", "finish", "(", ")", "{", "MCAssembler", "&", "MCA", "=", "getStreamer", "(", ")", ".", "getAssembler", "(", ")", ";", "const", "MCObjectFileInfo", "&", "OFI", "=", "*", "MCA", ".", "getContext", "(", ")", ".", "getObjectFileInfo", "(", ")", ";", "MCSection", "&", "TextSection", "=", "*", "OFI", ".", "getTextSection", "(", ")", ";", "MCA", ".", "registerSection", "(", "TextSection", ")", ";", "MCSection", "&", "DataSection", "=", "*", "OFI", ".", "getDataSection", "(", ")", ";", "MCA", ".", "registerSection", "(", "DataSection", ")", ";", "MCSection", "&", "BSSSection", "=", "*", "OFI", ".", "getBSSSection", "(", ")", ";", "MCA", ".", "registerSection", "(", "BSSSection", ")", ";", "TextSection", ".", "setAlignment", "(", "std", "::", "max", "(", "16u", ",", "TextSection", ".", "getAlignment", "(", ")", ")", ")", ";", "DataSection", ".", "setAlignment", "(", "std", "::", "max", "(", "16u", ",", "DataSection", ".", "getAlignment", "(", ")", ")", ")", ";", "BSSSection", ".", "setAlignment", "(", "std", "::", "max", "(", "16u", ",", "BSSSection", ".", "getAlignment", "(", ")", ")", ")", ";", "if", "(", "RoundSectionSizes", ")", "{", "MCStreamer", "&", "OS", "=", "getStreamer", "(", ")", ";", "for", "(", "MCSection", "&", "S", ":", "MCA", ")", "{", "MCSectionELF", "&", "Section", "=", "static_cast", "<", "MCSectionELF", "&", ">", "(", "S", ")", ";", "unsigned", "Alignment", "=", "Section", ".", "getAlignment", "(", ")", ";", "if", "(", "Alignment", ")", "{", "OS", ".", "SwitchSection", "(", "&", "Section", ")", ";", "if", "(", "Section", ".", "UseCodeAlign", "(", ")", ")", "OS", ".", "EmitCodeAlignment", "(", "Alignment", ",", "Alignment", ")", ";", "else", "OS", ".", "EmitValueToAlignment", "(", "Alignment", ",", "0", ",", "1", ",", "Alignment", ")", ";", "}", "}", "}", "const", "FeatureBitset", "&", "Features", "=", "STI", ".", "getFeatureBits", "(", ")", ";", "unsigned", "EFlags", "=", "MCA", ".", "getELFHeaderEFlags", "(", ")", ";", "if", "(", "getABI", "(", ")", ".", "IsO32", "(", ")", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_ABI_O32", ";", "else", "if", "(", "getABI", "(", ")", ".", "IsN32", "(", ")", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_ABI2", ";", "if", "(", "Features", "[", "Mips", "::", "FeatureGP64Bit", "]", ")", "{", "if", "(", "getABI", "(", ")", ".", "IsO32", "(", ")", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_32BITMODE", ";", "}", "else", "if", "(", "Features", "[", "Mips", "::", "FeatureMips64r2", "]", "||", "Features", "[", "Mips", "::", "FeatureMips64", "]", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_32BITMODE", ";", "if", "(", "EFlags", "&", "ELF", "::", "EF_MIPS_CPIC", "&&", "getABI", "(", ")", ".", "IsN64", "(", ")", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_PIC", ";", "MCA", ".", "setELFHeaderEFlags", "(", "EFlags", ")", ";", "MipsELFStreamer", "&", "MEF", "=", "static_cast", "<", "MipsELFStreamer", "&", ">", "(", "Streamer", ")", ";", "MEF", ".", "EmitMipsOptionRecords", "(", ")", ";", "emitMipsAbiFlags", "(", ")", ";", "}", ""], "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": ["Mips", "Mips", "16u", "16u", "16u", "0", "1", "Mips::FeatureGP64Bit", "Mips::FeatureMips64r2", "Mips::FeatureMips64", "Mips", "Mips", "Mips", "Mips"], "File": "MipsTargetStreamer23", "Func": "finish", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5001, "Length": 390, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86IndirectBranchTrackingPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "X86Subtarget", "&", "SubTarget", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "Metadata", "*", "isCFProtectionSupported", "=", "MF", ".", "getMMI", "(", ")", ".", "getModule", "(", ")", "->", "getModuleFlag", "(", "\"cf-protection-branch\"", ")", ";", "if", "(", "!", "isCFProtectionSupported", "&&", "!", "IndirectBranchTracking", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "TII", "=", "SubTarget", ".", "getInstrInfo", "(", ")", ";", "EndbrOpcode", "=", "SubTarget", ".", "is64Bit", "(", ")", "?", "X86", "::", "ENDBR64", ":", "X86", "::", "ENDBR32", ";", "if", "(", "(", "MF", ".", "getFunction", "(", ")", ".", "hasAddressTaken", "(", ")", "||", "!", "MF", ".", "getFunction", "(", ")", ".", "hasLocalLinkage", "(", ")", ")", "&&", "!", "MF", ".", "getFunction", "(", ")", ".", "doesNoCfCheck", "(", ")", ")", "{", "auto", "MBB", "=", "MF", ".", "begin", "(", ")", ";", "Changed", "|=", "addENDBR", "(", "*", "MBB", ",", "MBB", "->", "begin", "(", ")", ")", ";", "}", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "if", "(", "MBB", ".", "hasAddressTaken", "(", ")", ")", "Changed", "|=", "addENDBR", "(", "MBB", ",", "MBB", ".", "begin", "(", ")", ")", ";", "bool", "EHPadIBTNeeded", "=", "MBB", ".", "isEHPad", "(", ")", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ";", "I", "!=", "MBB", ".", "end", "(", ")", ";", "++", "I", ")", "{", "if", "(", "I", "->", "isCall", "(", ")", "&&", "IsCallReturnTwice", "(", "I", "->", "getOperand", "(", "0", ")", ")", ")", "Changed", "|=", "addENDBR", "(", "MBB", ",", "std", "::", "next", "(", "I", ")", ")", ";", "if", "(", "EHPadIBTNeeded", "&&", "I", "->", "isEHLabel", "(", ")", ")", "{", "Changed", "|=", "addENDBR", "(", "MBB", ",", "std", "::", "next", "(", "I", ")", ")", ";", "EHPadIBTNeeded", "=", "false", ";", "}", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "\"cf-protection-branch\"", "X86::ENDBR64", "X86::ENDBR32", "0"], "File": "X86IndirectBranchTracking11", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5002, "Length": 276, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBankInfo", "*", "AArch64Subtarget", "::", "getRegBankInfo", "(", ")", "const", "{", "assert", "(", "GISel", "&&", "\"Access to GlobalISel APIs not set\"", ")", ";", "return", "GISel", "->", "getRegBankInfo", "(", ")", ";", "}", ""], "natrual_language": ["If", "the", "information", "for", "the", "register", "banks", "is", "available", ",", "return", "it", "."], "TS_V_token": ["AArch64", "AArch64", "\"Access to GlobalISel APIs not set\""], "File": "AArch64Subtarget16", "Func": "getRegBankInfo", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5003, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AdvSIMDScalar", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "mf", ")", "{", "bool", "Changed", "=", "false", ";", "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": "AArch64AdvSIMDScalarPass", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5004, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "const_ok_for_arm", "(", "HOST_WIDE_INT", "i", ")", "{", "int", "lowbit", ";", "if", "(", "(", "i", "&", "~", "(", "unsigned", "HOST_WIDE_INT", ")", "0xffffffff", ")", "!=", "0", "&&", "(", "(", "i", "&", "~", "(", "unsigned", "HOST_WIDE_INT", ")", "0xffffffff", ")", "!=", "(", "(", "~", "(", "unsigned", "HOST_WIDE_INT", ")", "0", ")", "&", "~", "(", "unsigned", "HOST_WIDE_INT", ")", "0xffffffff", ")", ")", ")", "return", "FALSE", ";", "i", "&=", "(", "unsigned", "HOST_WIDE_INT", ")", "0xffffffff", ";", "if", "(", "(", "i", "&", "~", "(", "unsigned", "HOST_WIDE_INT", ")", "0xff", ")", "==", "0", ")", "return", "TRUE", ";", "lowbit", "=", "ffs", "(", "(", "int", ")", "i", ")", "-", "1", ";", "if", "(", "TARGET_ARM", ")", "lowbit", "&=", "~", "1", ";", "if", "(", "(", "i", "&", "~", "(", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "0xff", ")", "<<", "lowbit", ")", ")", "==", "0", ")", "return", "TRUE", ";", "if", "(", "TARGET_ARM", ")", "{", "if", "(", "lowbit", "<=", "4", "&&", "(", "(", "i", "&", "~", "0xc000003f", ")", "==", "0", "||", "(", "i", "&", "~", "0xf000000f", ")", "==", "0", "||", "(", "i", "&", "~", "0xfc000003", ")", "==", "0", ")", ")", "return", "TRUE", ";", "}", "else", "{", "HOST_WIDE_INT", "v", ";", "v", "=", "i", "&", "0xff", ";", "v", "|=", "v", "<<", "16", ";", "if", "(", "i", "==", "v", "||", "i", "==", "(", "v", "|", "(", "v", "<<", "8", ")", ")", ")", "return", "TRUE", ";", "v", "=", "i", "&", "0xff00", ";", "v", "|=", "v", "<<", "16", ";", "if", "(", "i", "==", "v", ")", "return", "TRUE", ";", "}", "return", "FALSE", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "int", "I", "is", "a", "valid", "immediate", "ARM", "constant", "."], "TS_V_token": ["arm", "0xffffffff", "0", "0xffffffff", "0", "0xffffffff", "0xffffffff", "0xff", "0", "1", "1", "0xff", "0", "4", "0xc000003f", "0", "0xf000000f", "0", "0xfc000003", "0", "0xff", "16", "8", "0xff00", "16"], "File": "arm4", "Func": "const_ok_for_arm", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5005, "Length": 238, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "darwin_rs6000_override_options", "(", "void", ")", "{", "rs6000_altivec_abi", "=", "1", ";", "TARGET_ALTIVEC_VRSAVE", "=", "1", ";", "rs6000_current_abi", "=", "ABI_DARWIN", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_DARWIN", "&&", "TARGET_64BIT", ")", "darwin_one_byte_bool", "=", "1", ";", "if", "(", "TARGET_64BIT", "&&", "!", "TARGET_POWERPC64", ")", "{", "rs6000_isa_flags", "|=", "OPTION_MASK_POWERPC64", ";", "warning", "(", "0", ",", "\"-m64 requires PowerPC64 architecture, enabling\"", ")", ";", "}", "if", "(", "flag_mkernel", ")", "{", "rs6000_default_long_calls", "=", "1", ";", "rs6000_isa_flags", "|=", "OPTION_MASK_SOFT_FLOAT", ";", "}", "if", "(", "!", "flag_mkernel", "&&", "!", "flag_apple_kext", "&&", "TARGET_64BIT", "&&", "!", "(", "rs6000_isa_flags_explicit", "&", "OPTION_MASK_ALTIVEC", ")", ")", "rs6000_isa_flags", "|=", "OPTION_MASK_ALTIVEC", ";", "if", "(", "!", "flag_mkernel", "&&", "!", "flag_apple_kext", "&&", "strverscmp", "(", "darwin_macosx_version_min", ",", "\"10.5\"", ")", ">=", "0", "&&", "!", "(", "rs6000_isa_flags_explicit", "&", "OPTION_MASK_ALTIVEC", ")", "&&", "!", "global_options_set", ".", "x_rs6000_cpu_index", ")", "{", "rs6000_isa_flags", "|=", "OPTION_MASK_ALTIVEC", ";", "}", "}", ""], "natrual_language": ["The", "Darwin", "version", "of", "SUBTARGET_OVERRIDE_OPTIONS", "."], "TS_V_token": ["rs6000", "1", "1", "1", "0", "\"-m64 requires PowerPC64 architecture, enabling\"", "1", "\"10.5\"", "0"], "File": "rs60004", "Func": "darwin_rs6000_override_options", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5006, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AZPRAsmPrinter", "::", "isBlockOnlyReachableByFallthrough", "(", "const", "MachineBasicBlock", "*", "MBB", ")", "const", "{", "const", "MachineBasicBlock", "*", "Pred", "=", "*", "MBB", "->", "pred_begin", "(", ")", ";", "MachineBasicBlock", "::", "const_pred_iterator", "PI", "=", "MBB", "->", "pred_begin", "(", ")", ",", "PI2", "=", "PI", ";", "++", "PI2", ";", "if", "(", "PI2", "!=", "MBB", "->", "pred_end", "(", ")", ")", "return", "false", ";", "if", "(", "!", "Pred", "->", "isLayoutSuccessor", "(", "MBB", ")", ")", "return", "false", ";", "if", "(", "Pred", "->", "empty", "(", ")", ")", "return", "true", ";", "MachineBasicBlock", "::", "const_iterator", "I", "=", "Pred", "->", "end", "(", ")", ";", "while", "(", "I", "!=", "Pred", "->", "begin", "(", ")", "&&", "!", "(", "--", "I", ")", "->", "isTerminator", "(", ")", ")", ";", "return", "!", "(", "I", "->", "isBarrier", "(", ")", "||", "(", "I", "->", "getOpcode", "(", ")", "==", "AZPR", "::", "BE", "&&", "I", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "I", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ")", ";", "}", ""], "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": ["AZPR", "AZPR", "AZPR::BE", "0", "1"], "File": "AZPRAsmPrinter", "Func": "isBlockOnlyReachableByFallthrough", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5007, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MipsSubtarget", "&", "MipsSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetMachine", "&", "TM", ")", "{", "std", "::", "string", "CPUName", "=", "MIPS_MC", "::", "selectMipsCPU", "(", "TM", ".", "getTargetTriple", "(", ")", ",", "CPU", ")", ";", "ParseSubtargetFeatures", "(", "CPUName", ",", "FS", ")", ";", "InstrItins", "=", "getInstrItineraryForCPU", "(", "CPUName", ")", ";", "if", "(", "InMips16Mode", "&&", "!", "IsSoftFloat", ")", "InMips16HardFloat", "=", "true", ";", "if", "(", "StackAlignOverride", ")", "stackAlignment", "=", "StackAlignOverride", ";", "else", "if", "(", "isABI_N32", "(", ")", "||", "isABI_N64", "(", ")", ")", "stackAlignment", "=", "16", ";", "else", "{", "assert", "(", "isABI_O32", "(", ")", "&&", "\"Unknown ABI for stack alignment!\"", ")", ";", "stackAlignment", "=", "8", ";", "}", "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_MC::selectMipsCPU", "Mips", "Mips", "16", "\"Unknown ABI for stack alignment!\"", "8"], "File": "MipsSubtarget14", "Func": "initializeSubtargetDependencies", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5008, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "::", "HazardType", "PPCScoreboardHazardRecognizer", "::", "getHazardType", "(", "SUnit", "*", "SU", ",", "int", "Stalls", ")", "{", "return", "ScoreboardHazardRecognizer", "::", "getHazardType", "(", "SU", ",", "Stalls", ")", ";", "}", ""], "natrual_language": ["getHazardType", "-", "Return", "the", "hazard", "type", "of", "emitting", "this", "node", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCHazardRecognizers26", "Func": "getHazardType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5009, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "pa_d_handle_target_float_abi", "(", "void", ")", "{", "const", "char", "*", "abi", ";", "if", "(", "TARGET_SOFT_FLOAT", ")", "abi", "=", "\"soft\"", ";", "else", "abi", "=", "\"hard\"", ";", "return", "build_string_literal", "(", "strlen", "(", "abi", ")", "+", "1", ",", "abi", ")", ";", "}", ""], "natrual_language": ["Handle", "a", "call", "to", "`", "__traits", "(", "getTargetInfo", ",", "``", "floatAbi", "''", ")", "'", "."], "TS_V_token": ["pa", "\"soft\"", "\"hard\"", "1"], "File": "pa-d", "Func": "pa_d_handle_target_float_abi", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5010, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_maybe_switch_abi", "(", "void", ")", "{", "if", "(", "TARGET_64BIT", "&&", "call_used_regs", "[", "SI_REG", "]", "==", "(", "cfun", "->", "machine", "->", "call_abi", "==", "MS_ABI", ")", ")", "reinit_regs", "(", ")", ";", "}", ""], "natrual_language": ["64-bit", "MS", "and", "SYSV", "ABI", "have", "different", "set", "of", "call", "used", "registers", ".", "Avoid", "expensive", "re-initialization", "of", "init_regs", "each", "time", "we", "switch", "function", "context", "since", "this", "is", "needed", "only", "during", "RTL", "expansion", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_maybe_switch_abi", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5011, "Length": 31, "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": ["rs6000"], "File": "rs6000", "Func": "is_nonpipeline_insn", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5012, "Length": 101, "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": ["Mips", "128"], "File": "MipsAsmPrinter19", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5013, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "UnwindOpcodeAssembler", "::", "EmitVFPRegSave", "(", "uint32_t", "VFPRegSave", ")", "{", "size_t", "i", "=", "32", ";", "while", "(", "i", ">", "16", ")", "{", "uint32_t", "Bit", "=", "1u", "<<", "(", "i", "-", "1", ")", ";", "if", "(", "(", "VFPRegSave", "&", "Bit", ")", "==", "0u", ")", "{", "--", "i", ";", "continue", ";", "}", "uint32_t", "Range", "=", "0", ";", "--", "i", ";", "Bit", ">>=", "1", ";", "while", "(", "i", ">", "16", "&&", "(", "VFPRegSave", "&", "Bit", ")", ")", "{", "--", "i", ";", "++", "Range", ";", "Bit", ">>=", "1", ";", "}", "EmitInt16", "(", "ARM", "::", "EHABI", "::", "UNWIND_OPCODE_POP_VFP_REG_RANGE_FSTMFDD_D16", "|", "(", "(", "i", "-", "16", ")", "<<", "4", ")", "|", "Range", ")", ";", "}", "while", "(", "i", ">", "0", ")", "{", "uint32_t", "Bit", "=", "1u", "<<", "(", "i", "-", "1", ")", ";", "if", "(", "(", "VFPRegSave", "&", "Bit", ")", "==", "0u", ")", "{", "--", "i", ";", "continue", ";", "}", "uint32_t", "Range", "=", "0", ";", "--", "i", ";", "Bit", ">>=", "1", ";", "while", "(", "i", ">", "0", "&&", "(", "VFPRegSave", "&", "Bit", ")", ")", "{", "--", "i", ";", "++", "Range", ";", "Bit", ">>=", "1", ";", "}", "EmitInt16", "(", "ARM", "::", "EHABI", "::", "UNWIND_OPCODE_POP_VFP_REG_RANGE_FSTMFDD", "|", "(", "i", "<<", "4", ")", "|", "Range", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "unwind", "opcodes", "for", ".vsave", "directives", "."], "TS_V_token": ["ARM", "32", "16", "1u", "1", "0u", "0", "1", "16", "1", "ARM::EHABI", "16", "4", "0", "1u", "1", "0u", "0", "1", "0", "1", "ARM::EHABI", "4"], "File": "ARMUnwindOpAsm7", "Func": "EmitVFPRegSave", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5014, "Length": 197, "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": 5015, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "mmix_data_section_asm_op", "(", "void", ")", "{", "return", "\"\\t.data ! mmixal:= 8H LOC 9B\"", ";", "}", ""], "natrual_language": ["DATA_SECTION_ASM_OP", "."], "TS_V_token": ["mmix", "\"\\t.data ! mmixal:= 8H LOC 9B\""], "File": "mmix", "Func": "mmix_data_section_asm_op", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5016, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "tree", "tuple_type_field", "(", "tree", "type", ")", "{", "for", "(", "tree", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";", "field", ";", "field", "=", "DECL_CHAIN", "(", "field", ")", ")", "if", "(", "TREE_CODE", "(", "field", ")", "==", "FIELD_DECL", ")", "return", "field", ";", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "single", "field", "in", "tuple", "type", "TYPE", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "tuple_type_field", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5017, "Length": 44, "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": 5018, "Length": 329, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "pa_arg_partial_bytes", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "unsigned", "int", "max_arg_words", "=", "8", ";", "unsigned", "int", "offset", "=", "0", ";", "if", "(", "!", "TARGET_64BIT", ")", "return", "0", ";", "if", "(", "FUNCTION_ARG_SIZE", "(", "mode", ",", "type", ")", ">", "1", "&&", "(", "cum", "->", "words", "&", "1", ")", ")", "offset", "=", "1", ";", "if", "(", "cum", "->", "words", "+", "offset", "+", "FUNCTION_ARG_SIZE", "(", "mode", ",", "type", ")", "<=", "max_arg_words", ")", "return", "0", ";", "else", "if", "(", "cum", "->", "words", "+", "offset", ">=", "max_arg_words", ")", "return", "0", ";", "else", "return", "(", "max_arg_words", "-", "cum", "->", "words", "-", "offset", ")", "*", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["If", "this", "arg", "would", "be", "passed", "totally", "in", "registers", "or", "totally", "on", "the", "stack", ",", "then", "this", "routine", "should", "return", "zero", "."], "TS_V_token": ["pa", "8", "0", "0", "1", "1", "1", "0", "0"], "File": "pa3", "Func": "pa_arg_partial_bytes", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5019, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "MipsTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'d'", ":", "case", "'y'", ":", "case", "'r'", ":", "if", "(", "VT", "==", "MVT", "::", "i32", "||", "VT", "==", "MVT", "::", "i16", "||", "VT", "==", "MVT", "::", "i8", ")", "{", "if", "(", "Subtarget", "->", "inMips16Mode", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "CPU16RegsRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "GPR32RegClass", ")", ";", "}", "if", "(", "VT", "==", "MVT", "::", "i64", "&&", "!", "HasMips64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "GPR32RegClass", ")", ";", "if", "(", "VT", "==", "MVT", "::", "i64", "&&", "HasMips64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "GPR64RegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0u", ",", "static_cast", "<", "const", "TargetRegisterClass", "*", ">", "(", "0", ")", ")", ";", "case", "'f'", ":", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "FGR32RegClass", ")", ";", "if", "(", "(", "VT", "==", "MVT", "::", "f64", ")", "&&", "(", "!", "Subtarget", "->", "isSingleFloat", "(", ")", ")", ")", "{", "if", "(", "Subtarget", "->", "isFP64bit", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "FGR64RegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "AFGR64RegClass", ")", ";", "}", "break", ";", "case", "'c'", ":", "if", "(", "VT", "==", "MVT", "::", "i32", ")", "return", "std", "::", "make_pair", "(", "(", "unsigned", ")", "Mips", "::", "T9", ",", "&", "Mips", "::", "GPR32RegClass", ")", ";", "assert", "(", "VT", "==", "MVT", "::", "i64", "&&", "\"Unexpected type.\"", ")", ";", "return", "std", "::", "make_pair", "(", "(", "unsigned", ")", "Mips", "::", "T9_64", ",", "&", "Mips", "::", "GPR64RegClass", ")", ";", "case", "'l'", ":", "if", "(", "VT", "==", "MVT", "::", "i32", ")", "return", "std", "::", "make_pair", "(", "(", "unsigned", ")", "Mips", "::", "LO", ",", "&", "Mips", "::", "LORegsRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "(", "unsigned", ")", "Mips", "::", "LO64", ",", "&", "Mips", "::", "LORegs64RegClass", ")", ";", "case", "'x'", ":", "return", "std", "::", "make_pair", "(", "0u", ",", "static_cast", "<", "const", "TargetRegisterClass", "*", ">", "(", "0", ")", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["Mips", "Mips", "1", "0", "MVT::i32", "MVT::i16", "MVT::i8", "Mips", "0U", "Mips::CPU16RegsRegClass", "0U", "Mips::GPR32RegClass", "MVT::i64", "Mips", "0U", "Mips::GPR32RegClass", "MVT::i64", "Mips", "0U", "Mips::GPR64RegClass", "0u", "0", "MVT::f32", "0U", "Mips::FGR32RegClass", "MVT::f64", "0U", "Mips::FGR64RegClass", "0U", "Mips::AFGR64RegClass", "MVT::i32", "Mips::T9", "Mips::GPR32RegClass", "MVT::i64", "\"Unexpected type.\"", "Mips::T9_64", "Mips::GPR64RegClass", "MVT::i32", "Mips::LO", "Mips::LORegsRegClass", "Mips::LO64", "Mips::LORegs64RegClass", "0u", "0"], "File": "MipsISelLowering (2)", "Func": "getRegForInlineAsmConstraint", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5020, "Length": 395, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_validize_comparison", "(", "rtx", "*", "comparison", ",", "rtx", "*", "op1", ",", "rtx", "*", "op2", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "*", "comparison", ")", ";", "int", "code_int", ";", "machine_mode", "mode", "=", "(", "GET_MODE", "(", "*", "op1", ")", "==", "VOIDmode", ")", "?", "GET_MODE", "(", "*", "op2", ")", ":", "GET_MODE", "(", "*", "op1", ")", ";", "gcc_assert", "(", "GET_MODE", "(", "*", "op1", ")", "!=", "VOIDmode", "||", "GET_MODE", "(", "*", "op2", ")", "!=", "VOIDmode", ")", ";", "if", "(", "code", "==", "UNEQ", "||", "code", "==", "LTGT", ")", "return", "false", ";", "code_int", "=", "(", "int", ")", "code", ";", "arm_canonicalize_comparison", "(", "&", "code_int", ",", "op1", ",", "op2", ",", "0", ")", ";", "PUT_CODE", "(", "*", "comparison", ",", "(", "enum", "rtx_code", ")", "code_int", ")", ";", "switch", "(", "mode", ")", "{", "case", "SImode", ":", "if", "(", "!", "arm_add_operand", "(", "*", "op1", ",", "mode", ")", ")", "*", "op1", "=", "force_reg", "(", "mode", ",", "*", "op1", ")", ";", "if", "(", "!", "arm_add_operand", "(", "*", "op2", ",", "mode", ")", ")", "*", "op2", "=", "force_reg", "(", "mode", ",", "*", "op2", ")", ";", "return", "true", ";", "case", "DImode", ":", "if", "(", "!", "cmpdi_operand", "(", "*", "op1", ",", "mode", ")", ")", "*", "op1", "=", "force_reg", "(", "mode", ",", "*", "op1", ")", ";", "if", "(", "!", "cmpdi_operand", "(", "*", "op2", ",", "mode", ")", ")", "*", "op2", "=", "force_reg", "(", "mode", ",", "*", "op2", ")", ";", "return", "true", ";", "case", "HFmode", ":", "if", "(", "!", "TARGET_VFP_FP16INST", ")", "break", ";", "mode", "=", "SFmode", ";", "*", "op1", "=", "convert_to_mode", "(", "mode", ",", "*", "op1", ",", "1", ")", ";", "*", "op2", "=", "convert_to_mode", "(", "mode", ",", "*", "op2", ",", "1", ")", ";", "case", "SFmode", ":", "case", "DFmode", ":", "if", "(", "!", "vfp_compare_operand", "(", "*", "op1", ",", "mode", ")", ")", "*", "op1", "=", "force_reg", "(", "mode", ",", "*", "op1", ")", ";", "if", "(", "!", "vfp_compare_operand", "(", "*", "op2", ",", "mode", ")", ")", "*", "op2", "=", "force_reg", "(", "mode", ",", "*", "op2", ")", ";", "return", "true", ";", "default", ":", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "a", "valid", "comparison", "operation", "and", "makes", "the", "operands", "in", "a", "form", "that", "is", "valid", "."], "TS_V_token": ["arm", "0", "1", "1"], "File": "arm6", "Func": "arm_validize_comparison", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5021, "Length": 324, "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", "(", "IsWin64", ")", "return", "&", "X86", "::", "GR64_TCW64RegClass", ";", "else", "if", "(", "Is64Bit", ")", "return", "&", "X86", "::", "GR64_TCRegClass", ";", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "bool", "hasHipeCC", "=", "(", "F", "?", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "HiPE", ":", "false", ")", ";", "if", "(", "hasHipeCC", ")", "return", "&", "X86", "::", "GR32RegClass", ";", "return", "&", "X86", "::", "GR32_TCRegClass", ";", "}", "}", ""], "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_TCW64RegClass", "X86::GR64_TCRegClass", "X86::GR32RegClass", "X86::GR32_TCRegClass"], "File": "X86RegisterInfo37", "Func": "getPointerRegClass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5022, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCRegisterInfo", "::", "hasReservedSpillSlot", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Reg", ",", "int", "&", "FrameIdx", ")", "const", "{", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", "&&", "PPC", "::", "CR2", "<=", "Reg", "&&", "Reg", "<=", "PPC", "::", "CR4", ")", "{", "FrameIdx", "=", "MF", ".", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", "->", "getCRSpillFrameIndex", "(", ")", ";", "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": ["PowerPC", "PPC", "PPC", "PPC", "PPC::CR2", "PPC::CR4", "PPC"], "File": "PPCRegisterInfo94", "Func": "hasReservedSpillSlot", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5023, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "SICAsmBackend", "::", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "{", "return", "createSICELFObjectWriter", "(", "OS", ",", "MCELFObjectTargetWriter", "::", "getOSABI", "(", "OSType", ")", ",", "IsLittle", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["SIC", "SIC", "SIC"], "File": "SICAsmBackend", "Func": "createObjectWriter", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5024, "Length": 28, "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", ";", "HasCMov", "=", "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": "X86Subtarget96", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5025, "Length": 440, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "sh_round_reg", "(", "const", "CUMULATIVE_ARGS", "&", "cum", ",", "machine_mode", "mode", ")", "{", "return", "(", "(", "(", "TARGET_ALIGN_DOUBLE", "||", "(", "TARGET_FPU_DOUBLE", "&&", "(", "mode", "==", "DFmode", "||", "mode", "==", "DCmode", ")", "&&", "cum", ".", "arg_count", "[", "(", "int", ")", "SH_ARG_FLOAT", "]", "<", "NPARM_REGS", "(", "mode", ")", ")", ")", "&&", "GET_MODE_UNIT_SIZE", "(", "mode", ")", ">", "UNITS_PER_WORD", ")", "?", "(", "cum", ".", "arg_count", "[", "(", "int", ")", "get_sh_arg_class", "(", "mode", ")", "]", "+", "(", "cum", ".", "arg_count", "[", "(", "int", ")", "get_sh_arg_class", "(", "mode", ")", "]", "&", "1", ")", ")", ":", "cum", ".", "arg_count", "[", "(", "int", ")", "get_sh_arg_class", "(", "mode", ")", "]", ")", ";", "}", ""], "natrual_language": ["Round", "a", "register", "number", "up", "to", "a", "proper", "boundary", "for", "an", "arg", "of", "mode", "MODE", ".", "The", "SH", "does", "n't", "care", "about", "double", "alignment", ",", "so", "we", "only", "round", "doubles", "to", "even", "regs", "when", "asked", "to", "explicitly", "."], "TS_V_token": ["sh", "1"], "File": "sh", "Func": "sh_round_reg", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5026, "Length": 104, "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": 5027, "Length": 268, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_file_end", "(", "void", ")", "{", "if", "(", "got_helper_rtx", ")", "{", "const", "char", "*", "name", "=", "XSTR", "(", "got_helper_rtx", ",", "0", ")", ";", "const", "char", "*", "reg_name", "=", "reg_names", "[", "GLOBAL_OFFSET_TABLE_REGNUM", "]", ";", "bool", "do_cfi", ";", "if", "(", "USE_HIDDEN_LINKONCE", ")", "{", "tree", "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", ";", "make_decl_one_only", "(", "decl", ",", "DECL_ASSEMBLER_NAME", "(", "decl", ")", ")", ";", "DECL_VISIBILITY", "(", "decl", ")", "=", "VISIBILITY_HIDDEN", ";", "DECL_VISIBILITY_SPECIFIED", "(", "decl", ")", "=", "1", ";", "resolve_unique_section", "(", "decl", ",", "0", ",", "flag_function_sections", ")", ";", "allocate_struct_function", "(", "decl", ",", "true", ")", ";", "cfun", "->", "is_thunk", "=", "1", ";", "current_function_decl", "=", "decl", ";", "init_varasm_status", "(", ")", ";", "assemble_start_function", "(", "decl", ",", "name", ")", ";", "}", "else", "{", "const", "int", "align", "=", "floor_log2", "(", "FUNCTION_BOUNDARY", "/", "BITS_PER_UNIT", ")", ";", "switch_to_section", "(", "text_section", ")", ";", "if", "(", "align", ">", "0", ")", "ASM_OUTPUT_ALIGN", "(", "asm_out_file", ",", "align", ")", ";", "ASM_OUTPUT_LABEL", "(", "asm_out_file", ",", "name", ")", ";", "}", "do_cfi", "=", "dwarf2out_do_cfi_asm", "(", ")", ";", "if", "(", "do_cfi", ")", "fprintf", "(", "asm_out_file", ",", "\"\\t.cfi_startproc\\n\"", ")", ";", "if", "(", "flag_delayed_branch", ")", "fprintf", "(", "asm_out_file", ",", "\"\\tjmp\\t%%o7+8\\n\\t add\\t%%o7, %s, %s\\n\"", ",", "reg_name", ",", "reg_name", ")", ";", "else", "fprintf", "(", "asm_out_file", ",", "\"\\tadd\\t%%o7, %s, %s\\n\\tjmp\\t%%o7+8\\n\\t nop\\n\"", ",", "reg_name", ",", "reg_name", ")", ";", "if", "(", "do_cfi", ")", "fprintf", "(", "asm_out_file", ",", "\"\\t.cfi_endproc\\n\"", ")", ";", "}", "if", "(", "NEED_INDICATE_EXEC_STACK", ")", "file_end_indicate_exec_stack", "(", ")", ";", "solaris_file_end", "(", ")", ";", "}", ""], "natrual_language": ["Do", "whatever", "processing", "is", "required", "at", "the", "end", "of", "a", "file", "."], "TS_V_token": ["sparc", "0", "1", "1", "1", "0", "1", "0", "\"\\t.cfi_startproc\\n\"", "\"\\tjmp\\t%%o7+8\\n\\t add\\t%%o7, %s, %s\\n\"", "\"\\tadd\\t%%o7, %s, %s\\n\\tjmp\\t%%o7+8\\n\\t nop\\n\"", "\"\\t.cfi_endproc\\n\""], "File": "sparc4", "Func": "sparc_file_end", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5028, "Length": 264, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "xstormy16_carry_plus_operand", "(", "rtx", "x", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "return", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "CONST_INT", "&&", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", "<", "-", "4", "||", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ">", "4", ")", ")", ";", "}", ""], "natrual_language": ["Recognize", "a", "PLUS", "that", "needs", "the", "carry", "register", "."], "TS_V_token": ["stormy16", "1", "1", "4", "1", "4"], "File": "stormy163", "Func": "xstormy16_carry_plus_operand", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5029, "Length": 62, "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": 5030, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "SparcDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "unsigned", "GlobalBaseReg", "=", "TM", ".", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", "->", "getGlobalBaseReg", "(", "MF", ")", ";", "return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "TLI", "->", "getPointerTy", "(", ")", ")", ".", "getNode", "(", ")", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcISelDAGToDAG18", "Func": "getGlobalBaseReg", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5031, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "complete_vector_type", "(", "typeinfo", "*", "typeptr", ",", "char", "*", "buf", ",", "int", "*", "bufi", ")", "{", "if", "(", "typeptr", "->", "isbool", ")", "buf", "[", "(", "*", "bufi", ")", "++", "]", "=", "'b'", ";", "buf", "[", "(", "*", "bufi", ")", "++", "]", "=", "'v'", ";", "if", "(", "typeptr", "->", "ispixel", ")", "{", "memcpy", "(", "&", "buf", "[", "*", "bufi", "]", ",", "\"p8hi\"", ",", "4", ")", ";", "*", "bufi", "+=", "4", ";", "return", ";", "}", "switch", "(", "typeptr", "->", "base", ")", "{", "case", "BT_CHAR", ":", "memcpy", "(", "&", "buf", "[", "*", "bufi", "]", ",", "\"16qi\"", ",", "4", ")", ";", "*", "bufi", "+=", "4", ";", "break", ";", "case", "BT_SHORT", ":", "memcpy", "(", "&", "buf", "[", "*", "bufi", "]", ",", "\"8hi\"", ",", "3", ")", ";", "*", "bufi", "+=", "3", ";", "break", ";", "case", "BT_INT", ":", "memcpy", "(", "&", "buf", "[", "*", "bufi", "]", ",", "\"4si\"", ",", "3", ")", ";", "*", "bufi", "+=", "3", ";", "break", ";", "case", "BT_LONGLONG", ":", "memcpy", "(", "&", "buf", "[", "*", "bufi", "]", ",", "\"2di\"", ",", "3", ")", ";", "*", "bufi", "+=", "3", ";", "break", ";", "case", "BT_FLOAT", ":", "memcpy", "(", "&", "buf", "[", "*", "bufi", "]", ",", "\"4sf\"", ",", "3", ")", ";", "*", "bufi", "+=", "3", ";", "break", ";", "case", "BT_DOUBLE", ":", "memcpy", "(", "&", "buf", "[", "*", "bufi", "]", ",", "\"2df\"", ",", "3", ")", ";", "*", "bufi", "+=", "3", ";", "break", ";", "case", "BT_INT128", ":", "memcpy", "(", "&", "buf", "[", "*", "bufi", "]", ",", "\"1ti\"", ",", "3", ")", ";", "*", "bufi", "+=", "3", ";", "break", ";", "case", "BT_FLOAT128", ":", "memcpy", "(", "&", "buf", "[", "*", "bufi", "]", ",", "\"1tf\"", ",", "3", ")", ";", "*", "bufi", "+=", "3", ";", "break", ";", "case", "BT_VPAIR", ":", "memcpy", "(", "&", "buf", "[", "*", "bufi", "]", ",", "\"1poi\"", ",", "4", ")", ";", "*", "bufi", "+=", "4", ";", "break", ";", "case", "BT_VQUAD", ":", "memcpy", "(", "&", "buf", "[", "*", "bufi", "]", ",", "\"1pxi\"", ",", "4", ")", ";", "*", "bufi", "+=", "4", ";", "break", ";", "default", ":", "diag", "(", "pos", ",", "\"unhandled basetype %d.\\n\"", ",", "typeptr", "->", "base", ")", ";", "exit", "(", "1", ")", ";", "}", "}", ""], "natrual_language": ["Convert", "a", "vector", "type", "into", "a", "mode", "string", "."], "TS_V_token": ["rs6000", "\"p8hi\"", "4", "4", "\"16qi\"", "4", "4", "\"8hi\"", "3", "3", "\"4si\"", "3", "3", "\"2di\"", "3", "3", "\"4sf\"", "3", "3", "\"2df\"", "3", "3", "\"1ti\"", "3", "3", "\"1tf\"", "3", "3", "\"1poi\"", "4", "4", "\"1pxi\"", "4", "4", "\"unhandled basetype %d.\\n\"", "1"], "File": "rs6000-gen-builtins", "Func": "complete_vector_type", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5032, "Length": 341, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "PPCTargetLowering", "::", "getSetCCResultType", "(", "LLVMContext", "&", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "PPCSubTarget", ".", "useCRBits", "(", ")", "?", "MVT", "::", "i1", ":", "MVT", "::", "i32", ";", "return", "VT", ".", "changeVectorElementTypeToInteger", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "MVT::i1", "MVT::i32"], "File": "PPCISelLowering (2)", "Func": "getSetCCResultType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5033, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "mips_arg_regno", "(", "const", "struct", "mips_arg_info", "*", "info", ",", "bool", "hard_float_p", ")", "{", "if", "(", "!", "info", "->", "fpr_p", "||", "!", "hard_float_p", ")", "return", "GP_ARG_FIRST", "+", "info", "->", "reg_offset", ";", "else", "if", "(", "mips_abi", "==", "ABI_32", "&&", "TARGET_DOUBLE_FLOAT", "&&", "info", "->", "reg_offset", ">", "0", ")", "return", "FP_ARG_FIRST", "+", "2", ";", "else", "return", "FP_ARG_FIRST", "+", "info", "->", "reg_offset", ";", "}", ""], "natrual_language": ["INFO", "describes", "a", "register", "argument", "that", "has", "the", "normal", "format", "for", "the", "argument", "'s", "mode", ".", "Return", "the", "register", "it", "uses", ",", "assuming", "that", "FPRs", "are", "available", "if", "HARD_FLOAT_P", "."], "TS_V_token": ["mips", "0", "2"], "File": "mips", "Func": "mips_arg_regno", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5034, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmPrinter", "::", "emitStartOfAsmFile", "(", "Module", "&", "M", ")", "{", "const", "Triple", "&", "TT", "=", "TM", ".", "getTargetTriple", "(", ")", ";", "if", "(", "TT", ".", "isOSBinFormatELF", "(", ")", ")", "{", "unsigned", "FeatureFlagsAnd", "=", "0", ";", "if", "(", "M", ".", "getModuleFlag", "(", "\"cf-protection-branch\"", ")", ")", "FeatureFlagsAnd", "|=", "ELF", "::", "GNU_PROPERTY_X86_FEATURE_1_IBT", ";", "if", "(", "M", ".", "getModuleFlag", "(", "\"cf-protection-return\"", ")", ")", "FeatureFlagsAnd", "|=", "ELF", "::", "GNU_PROPERTY_X86_FEATURE_1_SHSTK", ";", "if", "(", "FeatureFlagsAnd", ")", "{", "if", "(", "!", "TT", ".", "isArch32Bit", "(", ")", "&&", "!", "TT", ".", "isArch64Bit", "(", ")", ")", "llvm_unreachable", "(", "\"CFProtection used on invalid architecture!\"", ")", ";", "MCSection", "*", "Cur", "=", "OutStreamer", "->", "getCurrentSectionOnly", "(", ")", ";", "MCSection", "*", "Nt", "=", "MMI", "->", "getContext", "(", ")", ".", "getELFSection", "(", "\".note.gnu.property\"", ",", "ELF", "::", "SHT_NOTE", ",", "ELF", "::", "SHF_ALLOC", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "Nt", ")", ";", "int", "WordSize", "=", "TT", ".", "isArch64Bit", "(", ")", "?", "8", ":", "4", ";", "emitAlignment", "(", "WordSize", "==", "4", "?", "Align", "(", "4", ")", ":", "Align", "(", "8", ")", ")", ";", "OutStreamer", "->", "emitIntValue", "(", "4", ",", "4", ")", ";", "OutStreamer", "->", "emitIntValue", "(", "8", "+", "WordSize", ",", "4", ")", ";", "OutStreamer", "->", "emitIntValue", "(", "ELF", "::", "NT_GNU_PROPERTY_TYPE_0", ",", "4", ")", ";", "OutStreamer", "->", "emitBytes", "(", "StringRef", "(", "\"GNU\"", ",", "4", ")", ")", ";", "OutStreamer", "->", "emitIntValue", "(", "ELF", "::", "GNU_PROPERTY_X86_FEATURE_1_AND", ",", "4", ")", ";", "OutStreamer", "->", "emitIntValue", "(", "4", ",", "4", ")", ";", "OutStreamer", "->", "emitIntValue", "(", "FeatureFlagsAnd", ",", "4", ")", ";", "emitAlignment", "(", "WordSize", "==", "4", "?", "Align", "(", "4", ")", ":", "Align", "(", "8", ")", ")", ";", "OutStreamer", "->", "endSection", "(", "Nt", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "Cur", ")", ";", "}", "}", "if", "(", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "OutStreamer", "->", "SwitchSection", "(", "getObjFileLowering", "(", ")", ".", "getTextSection", "(", ")", ")", ";", "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", "(", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86", ")", "{", "Feat00Flags", "|=", "1", ";", "}", "if", "(", "M", ".", "getModuleFlag", "(", "\"cfguard\"", ")", ")", "Feat00Flags", "|=", "0x800", ";", "OutStreamer", "->", "emitSymbolAttribute", "(", "S", ",", "MCSA_Global", ")", ";", "OutStreamer", "->", "emitAssignment", "(", "S", ",", "MCConstantExpr", "::", "create", "(", "Feat00Flags", ",", "MMI", "->", "getContext", "(", ")", ")", ")", ";", "}", "OutStreamer", "->", "emitSyntaxDirective", "(", ")", ";", "bool", "is16", "=", "TT", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "CODE16", ";", "if", "(", "M", ".", "getModuleInlineAsm", "(", ")", ".", "empty", "(", ")", "&&", "is16", ")", "OutStreamer", "->", "emitAssemblerFlag", "(", "MCAF_Code16", ")", ";", "}", ""], "natrual_language": ["This", "virtual", "method", "can", "be", "overridden", "by", "targets", "that", "want", "to", "emit", "something", "at", "the", "start", "of", "their", "file", "."], "TS_V_token": ["X86", "X86", "0", "\"cf-protection-branch\"", "X86", "\"cf-protection-return\"", "X86", "\"CFProtection used on invalid architecture!\"", "\".note.gnu.property\"", "8", "4", "4", "4", "8", "4", "4", "8", "4", "4", "\"GNU\"", "4", "X86", "4", "4", "4", "4", "4", "4", "8", "\"@feat.00\"", "0", "1", "\"cfguard\"", "0x800"], "File": "X86AsmPrinter74", "Func": "emitStartOfAsmFile", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5035, "Length": 452, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isCommutativeBinOp", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "case", "X86ISD", "::", "AVG", ":", "case", "X86ISD", "::", "PCMPEQ", ":", "case", "X86ISD", "::", "PMULDQ", ":", "case", "X86ISD", "::", "PMULUDQ", ":", "case", "X86ISD", "::", "FMAXC", ":", "case", "X86ISD", "::", "FMINC", ":", "case", "X86ISD", "::", "FAND", ":", "case", "X86ISD", "::", "FOR", ":", "case", "X86ISD", "::", "FXOR", ":", "return", "true", ";", "}", "return", "TargetLoweringBase", "::", "isCommutativeBinOp", "(", "Opcode", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "opcode", "is", "a", "commutative", "binary", "operation", "."], "TS_V_token": ["X86", "X86", "X86ISD::AVG", "X86ISD::PCMPEQ", "X86ISD::PMULDQ", "X86ISD::PMULUDQ", "X86ISD::FMAXC", "X86ISD::FMINC", "X86ISD::FAND", "X86ISD::FOR", "X86ISD::FXOR"], "File": "X86ISelLowering (2)5", "Func": "isCommutativeBinOp", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5036, "Length": 73, "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": 5037, "Length": 353, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCMCCodeEmitter", "::", "getInstSizeInBytes", "(", "const", "MCInst", "&", "MI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "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"], "File": "PPCMCCodeEmitter13", "Func": "getInstSizeInBytes", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5038, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["AArch64"], "File": "AArch64TargetMachine15", "Func": "getRegisterInfo", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5039, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZOperand", "::", "print", "(", "raw_ostream", "&", "OS", ")", "const", "{", "llvm_unreachable", "(", "\"Not implemented\"", ")", ";", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"Not implemented\""], "File": "SystemZAsmParser (2)", "Func": "print", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5040, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mep_convert_regnum", "(", "const", "struct", "cgen_regnum_operand", "*", "regnum", ",", "rtx", "arg", ")", "{", "if", "(", "regnum", "->", "count", "==", "0", ")", "return", "arg", ";", "if", "(", "GET_CODE", "(", "arg", ")", "!=", "CONST_INT", "||", "INTVAL", "(", "arg", ")", "<", "0", "||", "INTVAL", "(", "arg", ")", ">=", "regnum", "->", "count", ")", "return", "0", ";", "return", "gen_rtx_REG", "(", "SImode", ",", "INTVAL", "(", "arg", ")", "+", "regnum", "->", "base", ")", ";", "}", ""], "natrual_language": ["Apply", "regnum", "conversions", "to", "ARG", "using", "the", "description", "given", "by", "REGNUM", ".", "Return", "the", "new", "argument", "on", "success", "and", "null", "on", "failure", "."], "TS_V_token": ["mep", "0", "0", "0"], "File": "mep", "Func": "mep_convert_regnum", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5041, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "pru_get_ctable_exact_base_index", "(", "unsigned", "HOST_WIDE_INT", "caddr", ")", "{", "unsigned", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "pru_ctable", ")", ";", "i", "++", ")", "{", "if", "(", "pru_ctable", "[", "i", "]", ".", "valid", "&&", "pru_ctable", "[", "i", "]", ".", "base", "==", "caddr", ")", "return", "i", ";", "}", "return", "-", "1", ";", "}", ""], "natrual_language": ["Recognize", "a", "CTABLE", "base", "address", ".", "Return", "CTABLE", "entry", "index", ",", "or", "-1", "if", "base", "was", "not", "found", "in", "the", "pragma-filled", "pru_ctable", "."], "TS_V_token": ["pru", "0", "1"], "File": "pru", "Func": "pru_get_ctable_exact_base_index", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5042, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "loongarch_unspec_address_offset", "(", "rtx", "base", ",", "rtx", "offset", ",", "enum", "loongarch_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": ["loongarch", "1"], "File": "loongarch", "Func": "loongarch_unspec_address_offset", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5043, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsMCCodeEmitter", "::", "getJumpTargetOpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ">>", "2", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"getJumpTargetOpValue expects only expressions or an immediate\"", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "0", ",", "Expr", ",", "MCFixupKind", "(", "Mips", "::", "fixup_Mips_26", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getJumpTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "jump", "target", "operand", "."], "TS_V_token": ["Mips", "Mips", "2", "\"getJumpTargetOpValue expects only expressions or an immediate\"", "0", "Mips::fixup_Mips_26", "0"], "File": "MipsMCCodeEmitter12", "Func": "getJumpTargetOpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5044, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createAArch64ISelDag", "(", "getAArch64TargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "if", "(", "TM", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isTargetELF", "(", ")", "&&", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createAArch64CleanupLocalDynamicTLSPass", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine3", "Func": "addInstSelector", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5045, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "altivec_expand_lvx_be", "(", "rtx", "op0", ",", "rtx", "op1", ",", "machine_mode", "mode", ",", "unsigned", "unspec", ")", "{", "rtx", "tmp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rtx", "load", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "tmp", ",", "op1", ")", ";", "rtx", "lvx", "=", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "1", ",", "const0_rtx", ")", ",", "unspec", ")", ";", "rtx", "par", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec", "(", "2", ",", "load", ",", "lvx", ")", ")", ";", "rtx", "sel", "=", "swap_selector_for_mode", "(", "mode", ")", ";", "rtx", "vperm", "=", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "3", ",", "tmp", ",", "tmp", ",", "sel", ")", ",", "UNSPEC_VPERM", ")", ";", "gcc_assert", "(", "REG_P", "(", "op0", ")", ")", ";", "emit_insn", "(", "par", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "op0", ",", "vperm", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "code", "for", "an", "``", "lvx", "''", ",", "``", "lvxl", "''", ",", "or", "``", "lve", "*", "x", "''", "built-in", "for", "a", "little", "endian", "target", "with", "-maltivec=be", "specified", ".", "Issue", "the", "load", "followed", "by", "an", "element-reversing", "permute", "."], "TS_V_token": ["rs6000", "1", "2", "3"], "File": "rs60004", "Func": "altivec_expand_lvx_be", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5046, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "getGlobalBaseReg", "(", ")", "const", "{", "return", "GlobalBaseReg", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["Sparc"], "File": "SparcMachineFunctionInfo9", "Func": "getGlobalBaseReg", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5047, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "shadd_constant_p", "(", "int", "val", ")", "{", "if", "(", "val", "==", "2", "||", "val", "==", "4", "||", "val", "==", "8", ")", "return", "1", ";", "else", "return", "0", ";", "}", ""], "natrual_language": ["Return", "1", "if", "the", "given", "constant", "is", "2", ",", "4", ",", "or", "8", ".", "These", "are", "the", "valid", "constants", "for", "shadd", "instructions", "."], "TS_V_token": ["pa", "2", "4", "8", "1", "0"], "File": "pa3", "Func": "shadd_constant_p", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5048, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "VETargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"::LowerOperation\"", ";", "Op", "->", "print", "(", "dbgs", "(", ")", ")", ";", ")", ";", "unsigned", "Opcode", "=", "Op", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "case", "ISD", "::", "ATOMIC_FENCE", ":", "return", "lowerATOMIC_FENCE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ATOMIC_SWAP", ":", "return", "lowerATOMIC_SWAP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "lowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "lowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "lowerDYNAMIC_STACKALLOC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EH_SJLJ_LONGJMP", ":", "return", "lowerEH_SJLJ_LONGJMP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EH_SJLJ_SETJMP", ":", "return", "lowerEH_SJLJ_SETJMP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EH_SJLJ_SETUP_DISPATCH", ":", "return", "lowerEH_SJLJ_SETUP_DISPATCH", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "lowerFRAMEADDR", "(", "Op", ",", "DAG", ",", "*", "this", ",", "Subtarget", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "lowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "return", "lowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "lowerINTRINSIC_WO_CHAIN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "JumpTable", ":", "return", "lowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "lowerLOAD", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "lowerRETURNADDR", "(", "Op", ",", "DAG", ",", "*", "this", ",", "Subtarget", ")", ";", "case", "ISD", "::", "BUILD_VECTOR", ":", "return", "lowerBUILD_VECTOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "lowerSTORE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "lowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VAARG", ":", "return", "lowerVAARG", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INSERT_VECTOR_ELT", ":", "return", "lowerINSERT_VECTOR_ELT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EXTRACT_VECTOR_ELT", ":", "return", "lowerEXTRACT_VECTOR_ELT", "(", "Op", ",", "DAG", ")", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"::LowerOperation_VVP\"", ";", "Op", "->", "print", "(", "dbgs", "(", ")", ")", ";", ")", ";", "if", "(", "ISD", "::", "isVPOpcode", "(", "Opcode", ")", ")", "return", "lowerToVVP", "(", "Op", ",", "DAG", ")", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Should not custom lower this!\"", ")", ";", "case", "VEISD", "::", "VEC_BROADCAST", ":", "if", "(", "getAnnotatedNodeAVL", "(", "Op", ")", ".", "second", ")", "return", "Op", ";", "return", "legalizeInternalVectorOp", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "MLOAD", ":", "case", "ISD", "::", "MSTORE", ":", "if", "(", "isMaskArithmetic", "(", "Op", ")", "&&", "isPackedVectorType", "(", "Op", ".", "getValueType", "(", ")", ")", ")", "return", "splitMaskArithmetic", "(", "Op", ",", "DAG", ")", ";", "return", "lowerToVVP", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["VE", "VE", "\"::LowerOperation\"", "ISD::ATOMIC_FENCE", "ISD::ATOMIC_SWAP", "ISD::BlockAddress", "ISD::ConstantPool", "ISD::DYNAMIC_STACKALLOC", "ISD::EH_SJLJ_LONGJMP", "ISD::EH_SJLJ_SETJMP", "ISD::EH_SJLJ_SETUP_DISPATCH", "ISD::FRAMEADDR", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::INTRINSIC_WO_CHAIN", "ISD::JumpTable", "ISD::LOAD", "ISD::RETURNADDR", "ISD::BUILD_VECTOR", "VE", "ISD::STORE", "ISD::VASTART", "ISD::VAARG", "ISD::INSERT_VECTOR_ELT", "VE", "ISD::EXTRACT_VECTOR_ELT", "VE", "\"::LowerOperation_VVP\"", "ISD::isVPOpcode", "\"Should not custom lower this!\"", "VEISD::VEC_BROADCAST", "ISD::MLOAD", "ISD::MSTORE"], "File": "VEISelLowering8", "Func": "LowerOperation", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5049, "Length": 448, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "hashval_t", "mips_lo_sum_offset_hasher", "::", "hash", "(", "const", "mips_lo_sum_offset", "*", "entry", ")", "{", "return", "mips_hash_base", "(", "entry", "->", "base", ")", ";", "}", ""], "natrual_language": ["Hash", "function", "for", "builtin", "functions", "with", "up", "to", "3", "arguments", "and", "a", "return", "type", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "hash", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5050, "Length": 21, "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", "(", "createNEONMoveFixPass", "(", ")", ")", ";", "}", "PM", ".", "add", "(", "createARMExpandPseudoPass", "(", ")", ")", ";", "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"], "File": "ARMTargetMachine7", "Func": "addPreSched2", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5051, "Length": 73, "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", ";", "if", "(", "auto", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "AI", "->", "getValOperand", "(", ")", ")", ")", "if", "(", "AI", "->", "getOperation", "(", ")", "==", "AtomicRMWInst", "::", "Or", "&&", "C", "->", "isZero", "(", ")", "&&", "AI", "->", "use_empty", "(", ")", ")", "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", "(", ")", ",", "Align", "(", "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": "X86ISelLowering168", "Func": "lowerIdempotentRMWIntoFencedLoad", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5052, "Length": 254, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["X86"], "File": "ShadowCallStack", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5053, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isConditionalBranch", "(", "unsigned", "Opc", ")", "{", "switch", "(", "Opc", ")", "{", "default", ":", "return", "false", ";", "case", "AArch64", "::", "TBZW", ":", "case", "AArch64", "::", "TBNZW", ":", "case", "AArch64", "::", "TBZX", ":", "case", "AArch64", "::", "TBNZX", ":", "case", "AArch64", "::", "CBZW", ":", "case", "AArch64", "::", "CBNZW", ":", "case", "AArch64", "::", "CBZX", ":", "case", "AArch64", "::", "CBNZX", ":", "case", "AArch64", "::", "Bcc", ":", "return", "true", ";", "}", "}", ""], "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": ["AArch64", "AArch64::TBZW", "AArch64::TBNZW", "AArch64::TBZX", "AArch64::TBNZX", "AArch64::CBZW", "AArch64::CBNZW", "AArch64::CBZX", "AArch64::CBNZX", "AArch64::Bcc"], "File": "AArch64BranchRelaxation", "Func": "isConditionalBranch", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5054, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "ix86_minimum_alignment", "(", "tree", "exp", ",", "machine_mode", "mode", ",", "unsigned", "int", "align", ")", "{", "tree", "type", ",", "decl", ";", "if", "(", "exp", "&&", "DECL_P", "(", "exp", ")", ")", "{", "type", "=", "TREE_TYPE", "(", "exp", ")", ";", "decl", "=", "exp", ";", "}", "else", "{", "type", "=", "exp", ";", "decl", "=", "NULL", ";", "}", "if", "(", "TARGET_64BIT", "||", "align", "!=", "64", "||", "ix86_preferred_stack_boundary", ">=", "64", ")", "return", "align", ";", "if", "(", "(", "mode", "==", "DImode", "||", "(", "type", "&&", "TYPE_MODE", "(", "type", ")", "==", "DImode", ")", ")", "&&", "(", "!", "type", "||", "!", "TYPE_USER_ALIGN", "(", "type", ")", ")", "&&", "(", "!", "decl", "||", "!", "DECL_USER_ALIGN", "(", "decl", ")", ")", ")", "return", "32", ";", "return", "align", ";", "}", ""], "natrual_language": ["Compute", "the", "minimum", "required", "alignment", "for", "dynamic", "stack", "realignment", "purposes", "for", "a", "local", "variable", ",", "parameter", "or", "a", "stack", "slot", ".", "EXP", "is", "the", "data", "type", "or", "decl", "itself", ",", "MODE", "is", "its", "mode", "and", "ALIGN", "is", "the", "alignment", "that", "the", "object", "would", "ordinarily", "have", "."], "TS_V_token": ["i386", "64", "64", "32"], "File": "i3864", "Func": "ix86_minimum_alignment", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5055, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb1RegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "TargetFrameInfo", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", ";", "if", "(", "!", "TFI", "->", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "MachineInstr", "*", "Old", "=", "I", ";", "DebugLoc", "dl", "=", "Old", "->", "getDebugLoc", "(", ")", ";", "unsigned", "Amount", "=", "Old", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "Amount", "!=", "0", ")", "{", "unsigned", "Align", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", "->", "getStackAlignment", "(", ")", ";", "Amount", "=", "(", "Amount", "+", "Align", "-", "1", ")", "/", "Align", "*", "Align", ";", "unsigned", "Opc", "=", "Old", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "ARM", "::", "ADJCALLSTACKDOWN", "||", "Opc", "==", "ARM", "::", "tADJCALLSTACKDOWN", ")", "{", "emitSPUpdate", "(", "MBB", ",", "I", ",", "TII", ",", "dl", ",", "*", "this", ",", "-", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Opc", "==", "ARM", "::", "ADJCALLSTACKUP", "||", "Opc", "==", "ARM", "::", "tADJCALLSTACKUP", ")", ";", "emitSPUpdate", "(", "MBB", ",", "I", ",", "TII", ",", "dl", ",", "*", "this", ",", "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": ["ARM", "0", "0", "1", "ARM::ADJCALLSTACKDOWN", "ARM::tADJCALLSTACKDOWN", "ARM::ADJCALLSTACKUP", "ARM::tADJCALLSTACKUP"], "File": "Thumb1RegisterInfo12", "Func": "eliminateCallFramePseudoInstr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5056, "Length": 199, "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": 5057, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "vax_output_mi_thunk", "(", "FILE", "*", "file", ",", "tree", "thunk", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", "ATTRIBUTE_UNUSED", ",", "tree", "function", ")", "{", "fprintf", "(", "file", ",", "\"\\t.word 0x0ffc\\n\\taddl2 $\"", "HOST_WIDE_INT_PRINT_DEC", ",", "delta", ")", ";", "asm_fprintf", "(", "file", ",", "\",4(%Rap)\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\tjmp \"", ")", ";", "assemble_name", "(", "file", ",", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "function", ")", ",", "0", ")", ",", "0", ")", ")", ";", "fprintf", "(", "file", ",", "\"+2\\n\"", ")", ";", "}", ""], "natrual_language": ["Output", "code", "to", "add", "DELTA", "to", "the", "first", "argument", ",", "and", "then", "jump", "to", "FUNCTION", ".", "Used", "for", "C++", "multiple", "inheritance", ".", ".mask", "^m", "<", "r2", ",", "r3", ",", "r4", ",", "r5", ",", "r6", ",", "r7", ",", "r8", ",", "r9", ",", "r10", ",", "r11", ">", "#", "conservative", "entry", "mask", "addl2", "$", "DELTA", ",", "4", "(", "ap", ")", "#", "adjust", "first", "argument", "jmp", "FUNCTION+2", "#", "jump", "beyond", "FUNCTION", "'s", "entry", "mask"], "TS_V_token": ["vax", "\"\\t.word 0x0ffc\\n\\taddl2 $\"", "\",4(%Rap)\\n\"", "\"\\tjmp \"", "0", "0", "\"+2\\n\""], "File": "vax3", "Func": "vax_output_mi_thunk", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5058, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_swdiv", "(", "rtx", "dst", ",", "rtx", "n", ",", "rtx", "d", ",", "bool", "note_p", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "dst", ")", ";", "rtx", "one", ",", "x0", ",", "e0", ",", "x1", ",", "xprev", ",", "eprev", ",", "xnext", ",", "enext", ",", "u", ",", "v", ";", "int", "i", ";", "int", "passes", "=", "(", "TARGET_RECIP_PRECISION", ")", "?", "1", ":", "3", ";", "if", "(", "mode", "==", "DFmode", "||", "mode", "==", "V2DFmode", ")", "passes", "++", ";", "enum", "insn_code", "code", "=", "optab_handler", "(", "smul_optab", ",", "mode", ")", ";", "insn_gen_fn", "gen_mul", "=", "GEN_FCN", "(", "code", ")", ";", "gcc_assert", "(", "code", "!=", "CODE_FOR_nothing", ")", ";", "one", "=", "rs6000_load_constant_and_splat", "(", "mode", ",", "dconst1", ")", ";", "x0", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "x0", ",", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "1", ",", "d", ")", ",", "UNSPEC_FRES", ")", ")", ")", ";", "if", "(", "passes", ">", "1", ")", "{", "e0", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rs6000_emit_nmsub", "(", "e0", ",", "d", ",", "x0", ",", "one", ")", ";", "x1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rs6000_emit_madd", "(", "x1", ",", "e0", ",", "x0", ",", "x0", ")", ";", "for", "(", "i", "=", "0", ",", "xprev", "=", "x1", ",", "eprev", "=", "e0", ";", "i", "<", "passes", "-", "2", ";", "++", "i", ",", "xprev", "=", "xnext", ",", "eprev", "=", "enext", ")", "{", "enext", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_mul", "(", "enext", ",", "eprev", ",", "eprev", ")", ")", ";", "xnext", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rs6000_emit_madd", "(", "xnext", ",", "enext", ",", "xprev", ",", "xprev", ")", ";", "}", "}", "else", "xprev", "=", "x0", ";", "u", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_mul", "(", "u", ",", "n", ",", "xprev", ")", ")", ";", "v", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rs6000_emit_nmsub", "(", "v", ",", "d", ",", "u", ",", "n", ")", ";", "rs6000_emit_madd", "(", "dst", ",", "v", ",", "xprev", ",", "u", ")", ";", "if", "(", "note_p", ")", "add_reg_note", "(", "get_last_insn", "(", ")", ",", "REG_EQUAL", ",", "gen_rtx_DIV", "(", "mode", ",", "n", ",", "d", ")", ")", ";", "}", ""], "natrual_language": ["Newton-Raphson", "approximation", "of", "floating", "point", "divide", "DST", "=", "N/D", ".", "If", "NOTE_P", ",", "add", "a", "reg_note", "saying", "that", "this", "was", "a", "division", ".", "Support", "both", "scalar", "and", "vector", "divide", ".", "Assumes", "no", "trapping", "math", "and", "finite", "arguments", "."], "TS_V_token": ["rs6000", "1", "3", "1", "1", "0", "2"], "File": "rs6000", "Func": "rs6000_emit_swdiv", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5059, "Length": 326, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "scalar_chain", "::", "analyze_register_chain", "(", "bitmap", "candidates", ",", "df_ref", "ref", ",", "bitmap", "disallowed", ")", "{", "df_link", "*", "chain", ";", "bool", "mark_def", "=", "false", ";", "gcc_checking_assert", "(", "bitmap_bit_p", "(", "insns", ",", "DF_REF_INSN_UID", "(", "ref", ")", ")", ")", ";", "for", "(", "chain", "=", "DF_REF_CHAIN", "(", "ref", ")", ";", "chain", ";", "chain", "=", "chain", "->", "next", ")", "{", "unsigned", "uid", "=", "DF_REF_INSN_UID", "(", "chain", "->", "ref", ")", ";", "if", "(", "!", "NONDEBUG_INSN_P", "(", "DF_REF_INSN", "(", "chain", "->", "ref", ")", ")", ")", "continue", ";", "if", "(", "--", "max_visits", "==", "0", ")", "return", "false", ";", "if", "(", "!", "DF_REF_REG_MEM_P", "(", "chain", "->", "ref", ")", ")", "{", "if", "(", "bitmap_bit_p", "(", "insns", ",", "uid", ")", ")", "continue", ";", "if", "(", "bitmap_bit_p", "(", "candidates", ",", "uid", ")", ")", "{", "add_to_queue", "(", "uid", ")", ";", "continue", ";", "}", "if", "(", "bitmap_bit_p", "(", "disallowed", ",", "uid", ")", ")", "return", "false", ";", "}", "if", "(", "DF_REF_REG_DEF_P", "(", "chain", "->", "ref", ")", ")", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\" r%d def in insn %d isn't convertible\\n\"", ",", "DF_REF_REGNO", "(", "chain", "->", "ref", ")", ",", "uid", ")", ";", "mark_dual_mode_def", "(", "chain", "->", "ref", ")", ";", "}", "else", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\" r%d use in insn %d isn't convertible\\n\"", ",", "DF_REF_REGNO", "(", "chain", "->", "ref", ")", ",", "uid", ")", ";", "mark_def", "=", "true", ";", "}", "}", "if", "(", "mark_def", ")", "mark_dual_mode_def", "(", "ref", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Check", "REF", "'s", "chain", "to", "add", "new", "insns", "into", "a", "queue", "and", "find", "registers", "requiring", "conversion", ".", "Return", "true", "if", "OK", ",", "false", "if", "the", "analysis", "was", "aborted", "."], "TS_V_token": ["i386", "0", "\" r%d def in insn %d isn't convertible\\n\"", "\" r%d use in insn %d isn't convertible\\n\""], "File": "i386-features1", "Func": "analyze_register_chain", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5060, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86TargetLowering", "::", "insertSSPDeclarations", "(", "Module", "&", "M", ")", "const", "{", "if", "(", "Subtarget", ".", "getTargetTriple", "(", ")", ".", "isWindowsMSVCEnvironment", "(", ")", "||", "Subtarget", ".", "getTargetTriple", "(", ")", ".", "isWindowsItaniumEnvironment", "(", ")", ")", "{", "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", "::", "X86_FastCall", ")", ";", "F", "->", "addParamAttr", "(", "0", ",", "Attribute", "::", "AttrKind", "::", "InReg", ")", ";", "}", "return", ";", "}", "StringRef", "GuardMode", "=", "M", ".", "getStackProtectorGuard", "(", ")", ";", "if", "(", "(", "GuardMode", "==", "\"tls\"", "||", "GuardMode", ".", "empty", "(", ")", ")", "&&", "hasStackGuardSlotTLS", "(", "Subtarget", ".", "getTargetTriple", "(", ")", ")", ")", "return", ";", "TargetLowering", "::", "insertSSPDeclarations", "(", "M", ")", ";", "}", ""], "natrual_language": ["Inserts", "necessary", "declarations", "for", "SSP", "(", "stack", "protection", ")", "purpose", "."], "TS_V_token": ["X86", "X86", "\"__security_cookie\"", "\"__security_check_cookie\"", "X86", "0", "\"tls\""], "File": "X86ISelLowering (2)5", "Func": "insertSSPDeclarations", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5061, "Length": 171, "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": 5062, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sh_init_cumulative_args", "(", "CUMULATIVE_ARGS", "*", "pcum", ",", "tree", "fntype", ",", "rtx", "libname", "ATTRIBUTE_UNUSED", ",", "tree", "fndecl", ",", "signed", "int", "n_named_args", ",", "enum", "machine_mode", "mode", ")", "{", "pcum", "->", "arg_count", "[", "(", "int", ")", "SH_ARG_FLOAT", "]", "=", "0", ";", "pcum", "->", "free_single_fp_reg", "=", "0", ";", "pcum", "->", "stack_regs", "=", "0", ";", "pcum", "->", "byref_regs", "=", "0", ";", "pcum", "->", "byref", "=", "0", ";", "pcum", "->", "outgoing", "=", "(", "n_named_args", "==", "-", "1", ")", "?", "0", ":", "1", ";", "pcum", "->", "renesas_abi", "=", "sh_attr_renesas_p", "(", "fntype", ")", "?", "1", ":", "0", ";", "if", "(", "fntype", ")", "{", "pcum", "->", "force_mem", "=", "(", "(", "TARGET_HITACHI", "||", "pcum", "->", "renesas_abi", ")", "&&", "aggregate_value_p", "(", "TREE_TYPE", "(", "fntype", ")", ",", "fndecl", ")", ")", ";", "pcum", "->", "prototype_p", "=", "TYPE_ARG_TYPES", "(", "fntype", ")", "?", "TRUE", ":", "FALSE", ";", "pcum", "->", "arg_count", "[", "(", "int", ")", "SH_ARG_INT", "]", "=", "TARGET_SH5", "&&", "aggregate_value_p", "(", "TREE_TYPE", "(", "fntype", ")", ",", "fndecl", ")", ";", "pcum", "->", "call_cookie", "=", "CALL_COOKIE_RET_TRAMP", "(", "TARGET_SHCOMPACT", "&&", "pcum", "->", "arg_count", "[", "(", "int", ")", "SH_ARG_INT", "]", "==", "0", "&&", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "fntype", ")", ")", "==", "BLKmode", "?", "int_size_in_bytes", "(", "TREE_TYPE", "(", "fntype", ")", ")", ":", "GET_MODE_SIZE", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "fntype", ")", ")", ")", ")", ">", "4", "&&", "(", "BASE_RETURN_VALUE_REG", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "fntype", ")", ")", ")", "==", "FIRST_RET_REG", ")", ")", ";", "}", "else", "{", "pcum", "->", "arg_count", "[", "(", "int", ")", "SH_ARG_INT", "]", "=", "0", ";", "pcum", "->", "prototype_p", "=", "FALSE", ";", "if", "(", "mode", "!=", "VOIDmode", ")", "{", "pcum", "->", "call_cookie", "=", "CALL_COOKIE_RET_TRAMP", "(", "TARGET_SHCOMPACT", "&&", "GET_MODE_SIZE", "(", "mode", ")", ">", "4", "&&", "BASE_RETURN_VALUE_REG", "(", "mode", ")", "==", "FIRST_RET_REG", ")", ";", "pcum", "->", "force_mem", "=", "(", "TARGET_DEFAULT", "&", "MASK_HITACHI", ")", "&&", "(", "mode", "==", "BLKmode", "||", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "4", "&&", "!", "(", "mode", "==", "DFmode", "&&", "TARGET_FPU_DOUBLE", ")", ")", ")", ";", "}", "else", "{", "pcum", "->", "call_cookie", "=", "0", ";", "pcum", "->", "force_mem", "=", "FALSE", ";", "}", "}", "}", ""], "natrual_language": ["Initialize", "the", "CUMULATIVE_ARGS", "structure", "."], "TS_V_token": ["sh", "0", "0", "0", "0", "0", "1", "0", "1", "1", "0", "0", "4", "0", "4", "4", "0"], "File": "sh3", "Func": "sh_init_cumulative_args", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5063, "Length": 326, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pop", "(", "int", "rn", ")", "{", "rtx", "x", ",", "sp_reg", ",", "reg", ";", "if", "(", "rn", "==", "FPUL_REG", ")", "x", "=", "gen_pop_fpul", "(", ")", ";", "else", "if", "(", "rn", "==", "FPSCR_REG", ")", "x", "=", "gen_pop_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", ";", "x", "=", "gen_pop_4", "(", "gen_rtx_REG", "(", "DFmode", ",", "rn", ")", ")", ";", "}", "else", "if", "(", "TARGET_SH2E", "&&", "FP_REGISTER_P", "(", "rn", ")", ")", "x", "=", "gen_pop_e", "(", "gen_rtx_REG", "(", "SFmode", ",", "rn", ")", ")", ";", "else", "x", "=", "gen_pop", "(", "gen_rtx_REG", "(", "SImode", ",", "rn", ")", ")", ";", "x", "=", "emit_insn", "(", "x", ")", ";", "sp_reg", "=", "gen_rtx_REG", "(", "SImode", ",", "STACK_POINTER_REGNUM", ")", ";", "reg", "=", "copy_rtx", "(", "GET_CODE", "(", "PATTERN", "(", "x", ")", ")", "==", "PARALLEL", "?", "SET_DEST", "(", "XVECEXP", "(", "PATTERN", "(", "x", ")", ",", "0", ",", "0", ")", ")", ":", "SET_DEST", "(", "PATTERN", "(", "x", ")", ")", ")", ";", "add_reg_note", "(", "x", ",", "REG_CFA_RESTORE", ",", "reg", ")", ";", "add_reg_note", "(", "x", ",", "REG_CFA_ADJUST_CFA", ",", "gen_rtx_SET", "(", "SImode", ",", "sp_reg", ",", "plus_constant", "(", "SImode", ",", "sp_reg", ",", "GET_MODE_SIZE", "(", "GET_MODE", "(", "reg", ")", ")", ")", ")", ")", ";", "add_reg_note", "(", "x", ",", "REG_INC", ",", "gen_rtx_REG", "(", "SImode", ",", "STACK_POINTER_REGNUM", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "x", ")", "=", "1", ";", "}", ""], "natrual_language": ["Output", "RTL", "to", "pop", "register", "RN", "from", "the", "stack", "."], "TS_V_token": ["sh", "1", "0", "0", "1"], "File": "sh4", "Func": "pop", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5064, "Length": 239, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetStackID", "::", "Value", "AArch64FrameLowering", "::", "getStackIDForScalableVectors", "(", ")", "const", "{", "return", "TargetStackID", "::", "SVEVector", ";", "}", ""], "natrual_language": ["Returns", "the", "StackID", "that", "scalable", "vectors", "should", "be", "associated", "with", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64FrameLowering100", "Func": "getStackIDForScalableVectors", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5065, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SICInstrInfo", "::", "expandPostRAPseudo", "(", "MachineInstr", "&", "MI", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "switch", "(", "MI", ".", "getDesc", "(", ")", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "SIC", "::", "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": ["SIC", "SIC", "SIC::RetLR"], "File": "SICInstrInfo", "Func": "expandPostRAPseudo", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5066, "Length": 66, "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": 5067, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ELFAArch64AsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", "const", "{", "if", "(", "!", "IsLittleEndian", "&&", "Fixup", ".", "getKind", "(", ")", "==", "FK_Data_4", ")", "{", "if", "(", "isByteSwappedFixup", "(", "Fixup", ".", "getValue", "(", ")", ")", ")", "Value", "=", "ByteSwap_32", "(", "unsigned", "(", "Value", ")", ")", ";", "}", "AArch64AsmBackend", "::", "applyFixup", "(", "Fixup", ",", "Data", ",", "DataSize", ",", "Value", ",", "IsPCRel", ")", ";", "}", ""], "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", "AArch64"], "File": "AArch64AsmBackend (2)", "Func": "applyFixup", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5068, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetELFStreamer", "::", "emitLabel", "(", "MCSymbol", "*", "Symbol", ")", "{", "ARMELFStreamer", "&", "Streamer", "=", "getStreamer", "(", ")", ";", "if", "(", "!", "Streamer", ".", "IsThumb", ")", "return", ";", "Streamer", ".", "getAssembler", "(", ")", ".", "registerSymbol", "(", "*", "Symbol", ")", ";", "unsigned", "Type", "=", "cast", "<", "MCSymbolELF", ">", "(", "Symbol", ")", "->", "getType", "(", ")", ";", "if", "(", "Type", "==", "ELF", "::", "STT_FUNC", "||", "Type", "==", "ELF", "::", "STT_GNU_IFUNC", ")", "Streamer", ".", "emitThumbFunc", "(", "Symbol", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "label", "for", "Symbol", "into", "the", "current", "section", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMELFStreamer22", "Func": "emitLabel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5069, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FastISel", "::", "tryToFoldLoadIntoMI", "(", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "LoadInst", "*", "LI", ")", "{", "const", "Value", "*", "Ptr", "=", "LI", "->", "getPointerOperand", "(", ")", ";", "X86AddressMode", "AM", ";", "if", "(", "!", "X86SelectAddress", "(", "Ptr", ",", "AM", ")", ")", "return", "false", ";", "const", "X86InstrInfo", "&", "XII", "=", "(", "const", "X86InstrInfo", "&", ")", "TII", ";", "unsigned", "Size", "=", "DL", ".", "getTypeAllocSize", "(", "LI", "->", "getType", "(", ")", ")", ";", "unsigned", "Alignment", "=", "LI", "->", "getAlignment", "(", ")", ";", "if", "(", "Alignment", "==", "0", ")", "Alignment", "=", "DL", ".", "getABITypeAlignment", "(", "LI", "->", "getType", "(", ")", ")", ";", "SmallVector", "<", "MachineOperand", ",", "8", ">", "AddrOps", ";", "AM", ".", "getFullAddress", "(", "AddrOps", ")", ";", "MachineInstr", "*", "Result", "=", "XII", ".", "foldMemoryOperandImpl", "(", "*", "FuncInfo", ".", "MF", ",", "MI", ",", "OpNo", ",", "AddrOps", ",", "Size", ",", "Alignment", ",", "true", ")", ";", "if", "(", "!", "Result", ")", "return", "false", ";", "Result", "->", "addMemOperand", "(", "*", "FuncInfo", ".", "MF", ",", "createMachineMemOperandFor", "(", "LI", ")", ")", ";", "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", "X86", "X86", "0", "8"], "File": "X86FastISel101", "Func": "tryToFoldLoadIntoMI", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5070, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_expand_sse_compare_mask", "(", "enum", "rtx_code", "code", ",", "rtx", "op0", ",", "rtx", "op1", ",", "bool", "swap_operands", ")", "{", "rtx", "(", "*", "insn", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "op0", ")", ";", "rtx", "mask", "=", "gen_reg_rtx", "(", "mode", ")", ";", "if", "(", "swap_operands", ")", "std", "::", "swap", "(", "op0", ",", "op1", ")", ";", "insn", "=", "mode", "==", "DFmode", "?", "gen_setcc_df_sse", ":", "gen_setcc_sf_sse", ";", "emit_insn", "(", "insn", "(", "mask", ",", "op0", ",", "op1", ",", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "op0", ",", "op1", ")", ")", ")", ";", "return", "mask", ";", "}", ""], "natrual_language": ["Expand", "a", "mask", "generating", "SSE", "comparison", "instruction", "comparing", "OP0", "with", "OP1", "using", "comparison", "code", "CODE", ".", "Operands", "are", "swapped", "for", "the", "comparison", "if", "SWAP_OPERANDS", "is", "true", ".", "Returns", "a", "rtx", "for", "the", "generated", "mask", "."], "TS_V_token": ["i386"], "File": "i386-expand", "Func": "ix86_expand_sse_compare_mask", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5071, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsFastISel", "::", "fastMaterializeAlloca", "(", "const", "AllocaInst", "*", "AI", ")", "{", "assert", "(", "TLI", ".", "getValueType", "(", "DL", ",", "AI", "->", "getType", "(", ")", ",", "true", ")", "==", "MVT", "::", "i32", "&&", "\"Alloca should always return a pointer.\"", ")", ";", "DenseMap", "<", "const", "AllocaInst", "*", ",", "int", ">", "::", "iterator", "SI", "=", "FuncInfo", ".", "StaticAllocaMap", ".", "find", "(", "AI", ")", ";", "if", "(", "SI", "!=", "FuncInfo", ".", "StaticAllocaMap", ".", "end", "(", ")", ")", "{", "Register", "ResultReg", "=", "createResultReg", "(", "&", "Mips", "::", "GPR32RegClass", ")", ";", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "TII", ".", "get", "(", "Mips", "::", "LEA_ADDiu", ")", ",", "ResultReg", ")", ".", "addFrameIndex", "(", "SI", "->", "second", ")", ".", "addImm", "(", "0", ")", ";", "return", "ResultReg", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Emit", "an", "alloca", "address", "in", "a", "register", "using", "target-specific", "logic", "."], "TS_V_token": ["Mips", "Mips", "MVT::i32", "\"Alloca should always return a pointer.\"", "Mips::GPR32RegClass", "Mips::LEA_ADDiu", "0", "0"], "File": "MipsFastISel19", "Func": "fastMaterializeAlloca", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5072, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "TOYTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBR_CC", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["TOY", "TOY", "ISD::BR_CC"], "File": "TOYISelLowering", "Func": "LowerOperation", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5073, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "VEInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "VE", "::", "LDrii", "||", "MI", ".", "getOpcode", "(", ")", "==", "VE", "::", "LDLSXrii", "||", "MI", ".", "getOpcode", "(", ")", "==", "VE", "::", "LDUrii", "||", "MI", ".", "getOpcode", "(", ")", "==", "VE", "::", "LDQrii", ")", "{", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isFI", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "0", "&&", "MI", ".", "getOperand", "(", "3", ")", ".", "isImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "3", ")", ".", "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": ["VE", "VE", "VE::LDrii", "VE::LDLSXrii", "VE::LDUrii", "VE::LDQrii", "1", "2", "2", "0", "3", "3", "0", "1", "0", "0"], "File": "VEInstrInfo", "Func": "isLoadFromStackSlot", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5074, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "unsigned", ">", "VRegs", ")", "const", "{", "if", "(", "F", ".", "arg_empty", "(", ")", ")", "return", "true", ";", "if", "(", "F", ".", "isVarArg", "(", ")", ")", "return", "false", ";", "auto", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "auto", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "auto", "&", "TLI", "=", "*", "getTLI", "<", "ARMTargetLowering", ">", "(", ")", ";", "auto", "Subtarget", "=", "TLI", ".", "getSubtarget", "(", ")", ";", "if", "(", "Subtarget", "->", "isThumb", "(", ")", ")", "return", "false", ";", "for", "(", "auto", "&", "Arg", ":", "F", ".", "args", "(", ")", ")", "if", "(", "!", "isSupportedType", "(", "DL", ",", "TLI", ",", "Arg", ".", "getType", "(", ")", ")", ")", "return", "false", ";", "CCAssignFn", "*", "AssignFn", "=", "TLI", ".", "CCAssignFnForCall", "(", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "ArgInfos", ";", "unsigned", "Idx", "=", "0", ";", "for", "(", "auto", "&", "Arg", ":", "F", ".", "args", "(", ")", ")", "{", "ArgInfo", "AInfo", "(", "VRegs", "[", "Idx", "]", ",", "Arg", ".", "getType", "(", ")", ")", ";", "setArgFlags", "(", "AInfo", ",", "Idx", "+", "1", ",", "DL", ",", "F", ")", ";", "splitToValueTypes", "(", "AInfo", ",", "ArgInfos", ",", "DL", ",", "MF", ".", "getRegInfo", "(", ")", ")", ";", "Idx", "++", ";", "}", "FormalArgHandler", "ArgHandler", "(", "MIRBuilder", ",", "MIRBuilder", ".", "getMF", "(", ")", ".", "getRegInfo", "(", ")", ",", "AssignFn", ")", ";", "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", "0", "1"], "File": "ARMCallLowering34", "Func": "lowerFormalArguments", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5075, "Length": 249, "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": 5076, "Length": 284, "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": "MipsAsmParser41", "Func": "getReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5077, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86TargetLowering", "::", "insertCopiesSplitCSR", "(", "MachineBasicBlock", "*", "Entry", ",", "const", "SmallVectorImpl", "<", "MachineBasicBlock", "*", ">", "&", "Exits", ")", "const", "{", "const", "X86RegisterInfo", "*", "TRI", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "const", "MCPhysReg", "*", "IStart", "=", "TRI", "->", "getCalleeSavedRegsViaCopy", "(", "Entry", "->", "getParent", "(", ")", ")", ";", "if", "(", "!", "IStart", ")", "return", ";", "const", "TargetInstrInfo", "*", "TII", "=", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "MachineRegisterInfo", "*", "MRI", "=", "&", "Entry", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "Entry", "->", "begin", "(", ")", ";", "for", "(", "const", "MCPhysReg", "*", "I", "=", "IStart", ";", "*", "I", ";", "++", "I", ")", "{", "const", "TargetRegisterClass", "*", "RC", "=", "nullptr", ";", "if", "(", "X86", "::", "GR64RegClass", ".", "contains", "(", "*", "I", ")", ")", "RC", "=", "&", "X86", "::", "GR64RegClass", ";", "else", "llvm_unreachable", "(", "\"Unexpected register class in CSRsViaCopy!\"", ")", ";", "Register", "NewVR", "=", "MRI", "->", "createVirtualRegister", "(", "RC", ")", ";", "assert", "(", "Entry", "->", "getParent", "(", ")", "->", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "NoUnwind", ")", "&&", "\"Function should be nounwind in insertCopiesSplitCSR!\"", ")", ";", "Entry", "->", "addLiveIn", "(", "*", "I", ")", ";", "BuildMI", "(", "*", "Entry", ",", "MBBI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "NewVR", ")", ".", "addReg", "(", "*", "I", ")", ";", "for", "(", "auto", "*", "Exit", ":", "Exits", ")", "BuildMI", "(", "*", "Exit", ",", "Exit", "->", "getFirstTerminator", "(", ")", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "*", "I", ")", ".", "addReg", "(", "NewVR", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "explicit", "copies", "in", "entry", "and", "exit", "blocks", "."], "TS_V_token": ["X86", "X86", "X86", "X86::GR64RegClass", "X86::GR64RegClass", "\"Unexpected register class in CSRsViaCopy!\"", "\"Function should be nounwind in insertCopiesSplitCSR!\""], "File": "X86ISelLowering (2)5", "Func": "insertCopiesSplitCSR", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5078, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "barrier_align", "(", "rtx", "barrier_or_label", ")", "{", "rtx", "next", "=", "next_real_insn", "(", "barrier_or_label", ")", ",", "pat", ",", "prev", ";", "int", "slot", ",", "credit", ",", "jump_to_next", "=", "0", ";", "if", "(", "!", "next", ")", "return", "0", ";", "pat", "=", "PATTERN", "(", "next", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "ADDR_DIFF_VEC", ")", "return", "2", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "UNSPEC_VOLATILE", "&&", "XINT", "(", "pat", ",", "1", ")", "==", "UNSPECV_ALIGN", ")", "return", "0", ";", "prev", "=", "prev_real_insn", "(", "barrier_or_label", ")", ";", "if", "(", "GET_CODE", "(", "PATTERN", "(", "prev", ")", ")", "==", "ADDR_DIFF_VEC", ")", "{", "pat", "=", "PATTERN", "(", "prev", ")", ";", "return", "(", "(", "TARGET_SMALLCODE", "||", "(", "(", "unsigned", ")", "XVECLEN", "(", "pat", ",", "1", ")", "*", "GET_MODE_SIZE", "(", "GET_MODE", "(", "pat", ")", ")", "<=", "(", "unsigned", ")", "1", "<<", "(", "CACHE_LOG", "-", "2", ")", ")", ")", "?", "1", "<<", "TARGET_SHMEDIA", ":", "align_jumps_log", ")", ";", "}", "if", "(", "TARGET_SMALLCODE", ")", "return", "0", ";", "if", "(", "!", "TARGET_SH2", "||", "!", "optimize", ")", "return", "align_jumps_log", ";", "if", "(", "mdep_reorg_phase", ">", "SH_FIXUP_PCLOAD", ")", "{", "prev", "=", "prev_real_insn", "(", "prev", ")", ";", "for", "(", "slot", "=", "2", ",", "credit", "=", "(", "1", "<<", "(", "CACHE_LOG", "-", "2", ")", ")", "+", "2", ";", "credit", ">=", "0", "&&", "prev", "&&", "GET_CODE", "(", "prev", ")", "==", "INSN", ";", "prev", "=", "prev_real_insn", "(", "prev", ")", ")", "{", "jump_to_next", "=", "0", ";", "if", "(", "GET_CODE", "(", "PATTERN", "(", "prev", ")", ")", "==", "USE", "||", "GET_CODE", "(", "PATTERN", "(", "prev", ")", ")", "==", "CLOBBER", ")", "continue", ";", "if", "(", "GET_CODE", "(", "PATTERN", "(", "prev", ")", ")", "==", "SEQUENCE", ")", "{", "prev", "=", "XVECEXP", "(", "PATTERN", "(", "prev", ")", ",", "0", ",", "1", ")", ";", "if", "(", "INSN_UID", "(", "prev", ")", "==", "INSN_UID", "(", "next", ")", ")", "{", "jump_to_next", "=", "1", ";", "continue", ";", "}", "}", "if", "(", "slot", "&&", "get_attr_in_delay_slot", "(", "prev", ")", "==", "IN_DELAY_SLOT_YES", ")", "slot", "=", "0", ";", "credit", "-=", "get_attr_length", "(", "prev", ")", ";", "}", "if", "(", "prev", "&&", "GET_CODE", "(", "prev", ")", "==", "JUMP_INSN", "&&", "JUMP_LABEL", "(", "prev", ")", ")", "{", "rtx", "x", ";", "if", "(", "jump_to_next", "||", "next_real_insn", "(", "JUMP_LABEL", "(", "prev", ")", ")", "==", "next", "||", "JUMP_LABEL", "(", "prev", ")", "==", "next_nonnote_insn", "(", "next", ")", "||", "(", "x", "=", "(", "NEXT_INSN", "(", "NEXT_INSN", "(", "PREV_INSN", "(", "prev", ")", ")", ")", ")", ",", "(", "INSN_P", "(", "x", ")", "&&", "(", "INSN_CODE", "(", "x", ")", "==", "CODE_FOR_block_branch_redirect", "||", "INSN_CODE", "(", "x", ")", "==", "CODE_FOR_indirect_jump_scratch", "||", "INSN_CODE", "(", "x", ")", "==", "CODE_FOR_stuff_delay_slot", ")", ")", ")", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "prev", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", ")", "pat", "=", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ";", "if", "(", "credit", "-", "slot", ">=", "(", "GET_CODE", "(", "SET_SRC", "(", "pat", ")", ")", "==", "PC", "?", "2", ":", "0", ")", ")", "return", "0", ";", "}", "}", "}", "return", "align_jumps_log", ";", "}", ""], "natrual_language": ["BARRIER_OR_LABEL", "is", "either", "a", "BARRIER", "or", "a", "CODE_LABEL", "immediately", "following", "a", "barrier", ".", "Return", "the", "base", "2", "logarithm", "of", "the", "desired", "alignment", "."], "TS_V_token": ["sh", "0", "0", "2", "1", "0", "1", "1", "2", "1", "0", "2", "1", "2", "2", "0", "0", "0", "1", "1", "0", "0", "0", "2", "0", "0"], "File": "sh3", "Func": "barrier_align", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5079, "Length": 472, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_expand_interleave", "(", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ",", "bool", "highp", ")", "{", "machine_mode", "vmode", "=", "GET_MODE", "(", "target", ")", ";", "unsigned", "i", ",", "high", ",", "nelt", "=", "GET_MODE_NUNITS", "(", "vmode", ")", ";", "rtx", "perm", "[", "16", "]", ";", "high", "=", "(", "highp", "?", "0", ":", "nelt", "/", "2", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", "/", "2", ";", "i", "++", ")", "{", "perm", "[", "i", "*", "2", "]", "=", "GEN_INT", "(", "i", "+", "high", ")", ";", "perm", "[", "i", "*", "2", "+", "1", "]", "=", "GEN_INT", "(", "i", "+", "nelt", "+", "high", ")", ";", "}", "rs6000_do_expand_vec_perm", "(", "target", ",", "op0", ",", "op1", ",", "vmode", ",", "nelt", ",", "perm", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "vector", "interleave", "operation", "."], "TS_V_token": ["rs6000", "16", "0", "2", "0", "2", "2", "2", "1"], "File": "rs60004", "Func": "rs6000_expand_interleave", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5080, "Length": 119, "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": 5081, "Length": 417, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "Opc", "=", "0", ";", "if", "(", "RC", "==", "&", "SystemZ", "::", "GR32RegClass", "||", "RC", "==", "&", "SystemZ", "::", "ADDR32RegClass", ")", "Opc", "=", "SystemZ", "::", "MOV32mr", ";", "else", "if", "(", "RC", "==", "&", "SystemZ", "::", "GR64RegClass", "||", "RC", "==", "&", "SystemZ", "::", "ADDR64RegClass", ")", "{", "Opc", "=", "SystemZ", "::", "MOV64mr", ";", "}", "else", "if", "(", "RC", "==", "&", "SystemZ", "::", "FP32RegClass", ")", "{", "Opc", "=", "SystemZ", "::", "FMOV32mr", ";", "}", "else", "if", "(", "RC", "==", "&", "SystemZ", "::", "FP64RegClass", ")", "{", "Opc", "=", "SystemZ", "::", "FMOV64mr", ";", "}", "else", "if", "(", "RC", "==", "&", "SystemZ", "::", "GR64PRegClass", ")", "{", "Opc", "=", "SystemZ", "::", "MOV64Pmr", ";", "}", "else", "if", "(", "RC", "==", "&", "SystemZ", "::", "GR128RegClass", ")", "{", "Opc", "=", "SystemZ", "::", "MOV128mr", ";", "}", "else", "llvm_unreachable", "(", "\"Unsupported regclass to store\"", ")", ";", "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": ["SystemZ", "SystemZ", "0", "SystemZ::GR32RegClass", "SystemZ::ADDR32RegClass", "SystemZ::MOV32mr", "SystemZ::GR64RegClass", "SystemZ::ADDR64RegClass", "SystemZ::MOV64mr", "SystemZ::FP32RegClass", "SystemZ::FMOV32mr", "SystemZ::FP64RegClass", "SystemZ::FMOV64mr", "SystemZ::GR64PRegClass", "SystemZ::MOV64Pmr", "SystemZ::GR128RegClass", "SystemZ::MOV128mr", "\"Unsupported regclass to store\""], "File": "SystemZInstrInfo4", "Func": "storeRegToStackSlot", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5082, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "IA64TargetMachine", "::", "addInstSelector", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "PM", ".", "add", "(", "createIA64DAGToDAGInstructionSelector", "(", "*", "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": ["IA64", "IA64", "IA64"], "File": "IA64TargetMachine", "Func": "addInstSelector", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5083, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "TOYMCCodeEmitter", "::", "getJumpTargetOpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ")", "const", "{", "llvm_unreachable", "(", "\"getJumpTargetOpValue is not implemented yet\"", ")", ";", "}", ""], "natrual_language": ["getJumpTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "jump", "target", "operand", "."], "TS_V_token": ["TOY", "TOY", "\"getJumpTargetOpValue is not implemented yet\""], "File": "TOYMCCodeEmitter", "Func": "getJumpTargetOpValue", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5084, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "neon_const_bounds", "(", "rtx", "operand", ",", "HOST_WIDE_INT", "low", ",", "HOST_WIDE_INT", "high", ")", "{", "bounds_check", "(", "operand", ",", "low", ",", "high", ",", "\"constant out of range\"", ")", ";", "}", ""], "natrual_language": ["Bounds-check", "constants", "."], "TS_V_token": ["arm", "\"constant out of range\""], "File": "arm4", "Func": "neon_const_bounds", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5085, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_reads_global_state_p", "(", "unsigned", "int", "f", ",", "machine_mode", "mode", ")", "{", "unsigned", "int", "flags", "=", "aarch64_call_properties", "(", "f", ",", "mode", ")", ";", "if", "(", "flags", "&", "FLAG_READ_FPCR", ")", "return", "true", ";", "return", "flags", "&", "FLAG_READ_MEMORY", ";", "}", ""], "natrual_language": ["Return", "true", "if", "calls", "to", "the", "function", "could", "read", "some", "form", "of", "global", "state", "."], "TS_V_token": ["aarch64"], "File": "aarch64-builtins", "Func": "aarch64_reads_global_state_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5086, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "PPCTargetLowering", "::", "getPICJumpTableRelocBaseExpr", "(", "const", "MachineFunction", "*", "MF", ",", "unsigned", "JTI", ",", "MCContext", "&", "Ctx", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "isPPC64", "(", ")", ")", "return", "TargetLowering", "::", "getPICJumpTableRelocBaseExpr", "(", "MF", ",", "JTI", ",", "Ctx", ")", ";", "switch", "(", "getTargetMachine", "(", ")", ".", "getCodeModel", "(", ")", ")", "{", "case", "CodeModel", "::", "Default", ":", "case", "CodeModel", "::", "Small", ":", "case", "CodeModel", "::", "Medium", ":", "return", "TargetLowering", "::", "getPICJumpTableRelocBaseExpr", "(", "MF", ",", "JTI", ",", "Ctx", ")", ";", "default", ":", "return", "MCSymbolRefExpr", "::", "create", "(", "MF", "->", "getPICBaseSymbol", "(", ")", ",", "Ctx", ")", ";", "}", "}", ""], "natrual_language": ["This", "returns", "the", "relocation", "base", "for", "the", "given", "PIC", "jumptable", ",", "the", "same", "as", "getPICJumpTableRelocBase", ",", "but", "as", "an", "MCExpr", "."], "TS_V_token": ["PowerPC", "PPC", "PPC"], "File": "PPCISelLowering135", "Func": "getPICJumpTableRelocBaseExpr", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5087, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "unsigned", "Opc", ";", "if", "(", "PPC", "::", "GPRCRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "PPC", "::", "OR", ";", "else", "if", "(", "PPC", "::", "G8RCRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "PPC", "::", "OR8", ";", "else", "if", "(", "PPC", "::", "F4RCRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "PPC", "::", "FMR", ";", "else", "if", "(", "PPC", "::", "CRRCRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "PPC", "::", "MCRF", ";", "else", "if", "(", "PPC", "::", "VRRCRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "PPC", "::", "VOR", ";", "else", "if", "(", "PPC", "::", "CRBITRCRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "PPC", "::", "CROR", ";", "else", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "const", "TargetInstrDesc", "&", "TID", "=", "get", "(", "Opc", ")", ";", "if", "(", "TID", ".", "getNumOperands", "(", ")", "==", "3", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TID", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "else", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TID", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["PowerPC", "PPC", "PPC::GPRCRegClass", "PPC::OR", "PPC::G8RCRegClass", "PPC::OR8", "PPC::F4RCRegClass", "PPC::FMR", "PPC::CRRCRegClass", "PPC::MCRF", "PPC::VRRCRegClass", "PPC::VOR", "PPC::CRBITRCRegClass", "PPC::CROR", "\"Impossible reg-to-reg copy\"", "3"], "File": "PPCInstrInfo33", "Func": "copyPhysReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5088, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "sparc_preferred_simd_mode", "(", "scalar_mode", "mode", ")", "{", "if", "(", "TARGET_VIS", ")", "switch", "(", "mode", ")", "{", "case", "E_SImode", ":", "return", "V2SImode", ";", "case", "E_HImode", ":", "return", "V4HImode", ";", "case", "E_QImode", ":", "return", "V8QImode", ";", "default", ":", ";", "}", "return", "word_mode", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_VECTORIZE_PREFERRED_SIMD_MODE", "target", "hook", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "sparc_preferred_simd_mode", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5089, "Length": 43, "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": 5090, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LanaiSelectionDAGInfo", "::", "EmitTargetCodeForMemcpy", "(", "SelectionDAG", "&", ",", "const", "SDLoc", "&", ",", "SDValue", ",", "SDValue", ",", "SDValue", ",", "SDValue", "Size", ",", "unsigned", ",", "bool", ",", "bool", ",", "MachinePointerInfo", ",", "MachinePointerInfo", ")", "const", "{", "ConstantSDNode", "*", "ConstantSize", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Size", ")", ";", "if", "(", "!", "ConstantSize", ")", "return", "SDValue", "(", ")", ";", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memcpy", "."], "TS_V_token": ["Lanai", "Lanai"], "File": "LanaiSelectionDAGInfo", "Func": "EmitTargetCodeForMemcpy", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5091, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "LanaiDisassembler", "::", "getInstruction", "(", "MCInst", "&", "Instr", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", ")", "const", "{", "uint32_t", "Insn", ";", "DecodeStatus", "Result", "=", "readInstruction32", "(", "Bytes", ",", "Size", ",", "Insn", ")", ";", "if", "(", "Result", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "Result", "=", "decodeInstruction", "(", "DecoderTableLanai32", ",", "Instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "PostOperandDecodeAdjust", "(", "Instr", ",", "Insn", ")", ";", "Size", "=", "4", ";", "return", "Result", ";", "}", "return", "MCDisassembler", "::", "Fail", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai", "4"], "File": "LanaiDisassembler (2)", "Func": "getInstruction", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5092, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SystemZInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "return", "isSimpleMove", "(", "MI", ",", "FrameIndex", ",", "SystemZII", "::", "SimpleBDXLoad", ")", ";", "}", ""], "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": ["SystemZ", "SystemZ", "SystemZII::SimpleBDXLoad"], "File": "SystemZInstrInfo (2)", "Func": "isLoadFromStackSlot", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5093, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "nds32_can_use_return_insn", "(", "void", ")", "{", "if", "(", "!", "reload_completed", ")", "return", "0", ";", "return", "(", "cfun", "->", "machine", "->", "naked_p", "&&", "(", "cfun", "->", "machine", "->", "va_args_size", "==", "0", ")", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "this", "function", "is", "known", "to", "have", "a", "null", "epilogue", ".", "This", "allows", "the", "optimizer", "to", "omit", "jumps", "to", "jumps", "if", "no", "stack", "was", "created", "."], "TS_V_token": ["nds32", "0", "0"], "File": "nds322", "Func": "nds32_can_use_return_insn", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5094, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16InstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", "->", "getParent", "(", ")", ";", "switch", "(", "MI", "->", "getDesc", "(", ")", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Mips", "::", "RetRA16", ":", "ExpandRetRA16", "(", "MBB", ",", "MI", ",", "Mips", "::", "JrcRa16", ")", ";", "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::RetRA16", "Mips::JrcRa16"], "File": "Mips16InstrInfo (2)", "Func": "expandPostRAPseudo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5095, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "AARCH64_DEAD_REG_DEF_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64"], "File": "AArch64DeadRegisterDefinitionsPass (2)", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5096, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "ix86_compat_function_arg_boundary", "(", "machine_mode", "mode", ",", "const_tree", "type", ",", "unsigned", "int", "align", ")", "{", "if", "(", "!", "TARGET_64BIT", "&&", "mode", "!=", "TDmode", "&&", "mode", "!=", "TFmode", ")", "{", "if", "(", "!", "type", ")", "{", "if", "(", "!", "(", "TARGET_SSE", "&&", "SSE_REG_MODE_P", "(", "mode", ")", ")", ")", "align", "=", "PARM_BOUNDARY", ";", "}", "else", "{", "if", "(", "!", "ix86_compat_aligned_value_p", "(", "type", ")", ")", "align", "=", "PARM_BOUNDARY", ";", "}", "}", "if", "(", "align", ">", "BIGGEST_ALIGNMENT", ")", "align", "=", "BIGGEST_ALIGNMENT", ";", "return", "align", ";", "}", ""], "natrual_language": ["Return", "the", "alignment", "boundary", "for", "MODE", "and", "TYPE", "with", "alignment", "ALIGN", ".", "XXX", ":", "This", "function", "is", "obsolete", "and", "is", "only", "used", "for", "checking", "psABI", "compatibility", "with", "previous", "versions", "of", "GCC", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_compat_function_arg_boundary", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5097, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86DomainReassignment", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "if", "(", "DisableX86DomainReassignment", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** Machine Function before Domain Reassignment *****\\n\"", ")", ";", "LLVM_DEBUG", "(", "MF", ".", "print", "(", "dbgs", "(", ")", ")", ")", ";", "STI", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "STI", "->", "hasAVX512", "(", ")", "||", "!", "STI", "->", "hasBWI", "(", ")", ")", "return", "false", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "assert", "(", "MRI", "->", "isSSA", "(", ")", "&&", "\"Expected MIR to be in SSA form\"", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "initConverters", "(", ")", ";", "bool", "Changed", "=", "false", ";", "EnclosedEdges", ".", "clear", "(", ")", ";", "EnclosedEdges", ".", "resize", "(", "MRI", "->", "getNumVirtRegs", "(", ")", ")", ";", "EnclosedInstrs", ".", "clear", "(", ")", ";", "std", "::", "vector", "<", "Closure", ">", "Closures", ";", "unsigned", "ClosureID", "=", "0", ";", "for", "(", "unsigned", "Idx", "=", "0", ";", "Idx", "<", "MRI", "->", "getNumVirtRegs", "(", ")", ";", "++", "Idx", ")", "{", "Register", "Reg", "=", "Register", "::", "index2VirtReg", "(", "Idx", ")", ";", "if", "(", "!", "isGPR", "(", "MRI", "->", "getRegClass", "(", "Reg", ")", ")", ")", "continue", ";", "if", "(", "EnclosedEdges", ".", "test", "(", "Idx", ")", ")", "continue", ";", "Closure", "C", "(", "ClosureID", "++", ",", "{", "MaskDomain", "}", ")", ";", "buildClosure", "(", "C", ",", "Reg", ")", ";", "if", "(", "!", "C", ".", "empty", "(", ")", "&&", "C", ".", "isLegal", "(", "MaskDomain", ")", ")", "Closures", ".", "push_back", "(", "std", "::", "move", "(", "C", ")", ")", ";", "}", "for", "(", "Closure", "&", "C", ":", "Closures", ")", "{", "LLVM_DEBUG", "(", "C", ".", "dump", "(", "MRI", ")", ")", ";", "if", "(", "isReassignmentProfitable", "(", "C", ",", "MaskDomain", ")", ")", "{", "reassign", "(", "C", ",", "MaskDomain", ")", ";", "++", "NumClosuresConverted", ";", "Changed", "=", "true", ";", "}", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** Machine Function after Domain Reassignment *****\\n\"", ")", ";", "LLVM_DEBUG", "(", "MF", ".", "print", "(", "dbgs", "(", ")", ")", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "\"***** Machine Function before Domain Reassignment *****\\n\"", "X86", "\"Expected MIR to be in SSA form\"", "0", "0", "\"***** Machine Function after Domain Reassignment *****\\n\""], "File": "X86DomainReassignment11", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5098, "Length": 328, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "mips_hard_regno_nregs", "(", "int", "regno", ",", "enum", "machine_mode", "mode", ")", "{", "if", "(", "ST_REG_P", "(", "regno", ")", ")", "return", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "3", ")", "/", "4", ")", ";", "else", "if", "(", "!", "FP_REG_P", "(", "regno", ")", ")", "return", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ")", ";", "else", "return", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_FPREG", "-", "1", ")", "/", "UNITS_PER_FPREG", ")", ";", "}", ""], "natrual_language": ["Implement", "HARD_REGNO_NREGS", "."], "TS_V_token": ["mips", "3", "4", "1", "1"], "File": "mips3", "Func": "mips_hard_regno_nregs", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5099, "Length": 76, "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": 5100, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "MipsTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "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", ")", "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": "MipsISelLowering35", "Func": "EmitInstrWithCustomInserter", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5101, "Length": 436, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "X86TargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "Align", ",", "bool", "isSrcConst", ",", "bool", "isSrcStr", ")", "const", "{", "if", "(", "!", "NoImplicitFloat", "&&", "Subtarget", "->", "getStackAlignment", "(", ")", ">=", "16", ")", "{", "if", "(", "(", "isSrcConst", "||", "isSrcStr", ")", "&&", "Subtarget", "->", "hasSSE2", "(", ")", "&&", "Size", ">=", "16", ")", "return", "MVT", "::", "v4i32", ";", "if", "(", "(", "isSrcConst", "||", "isSrcStr", ")", "&&", "Subtarget", "->", "hasSSE1", "(", ")", "&&", "Size", ">=", "16", ")", "return", "MVT", "::", "v4f32", ";", "}", "if", "(", "Subtarget", "->", "is64Bit", "(", ")", "&&", "Size", ">=", "8", ")", "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": ["X86", "X86", "16", "16", "MVT::v4i32", "16", "MVT::v4f32", "8", "MVT::i64", "MVT::i32"], "File": "X86ISelLowering160", "Func": "getOptimalMemOpType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5102, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetLowering", "::", "AdjustInstrPostInstrSelection", "(", "MachineInstr", "*", "MI", ",", "SDNode", "*", "Node", ")", "const", "{", "const", "MCInstrDesc", "&", "MCID", "=", "MI", "->", "getDesc", "(", ")", ";", "if", "(", "!", "MCID", ".", "hasPostISelHook", "(", ")", ")", "{", "assert", "(", "!", "convertAddSubFlagsOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", "&&", "\"Pseudo flag-setting opcodes must be marked with 'hasPostISelHook'\"", ")", ";", "return", ";", "}", "unsigned", "NewOpc", "=", "convertAddSubFlagsOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "if", "(", "NewOpc", ")", "{", "const", "ARMBaseInstrInfo", "*", "TII", "=", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "getTargetMachine", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MI", "->", "setDesc", "(", "TII", "->", "get", "(", "NewOpc", ")", ")", ";", "}", "unsigned", "ccOutIdx", "=", "MCID", ".", "getNumOperands", "(", ")", "-", "1", ";", "if", "(", "!", "MCID", ".", "hasOptionalDef", "(", ")", "||", "!", "MCID", ".", "OpInfo", "[", "ccOutIdx", "]", ".", "isOptionalDef", "(", ")", ")", "{", "assert", "(", "!", "NewOpc", "&&", "\"Optional cc_out operand required\"", ")", ";", "return", ";", "}", "bool", "definesCPSR", "=", "false", ";", "bool", "deadCPSR", "=", "false", ";", "for", "(", "unsigned", "i", "=", "MCID", ".", "getNumOperands", "(", ")", ",", "e", "=", "MI", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "i", ")", ";", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "MO", ".", "isDef", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "==", "ARM", "::", "CPSR", ")", "{", "definesCPSR", "=", "true", ";", "if", "(", "MO", ".", "isDead", "(", ")", ")", "deadCPSR", "=", "true", ";", "MI", "->", "RemoveOperand", "(", "i", ")", ";", "break", ";", "}", "}", "if", "(", "!", "definesCPSR", ")", "{", "assert", "(", "!", "NewOpc", "&&", "\"Optional cc_out operand required\"", ")", ";", "return", ";", "}", "assert", "(", "deadCPSR", "==", "!", "Node", "->", "hasAnyUseOfValue", "(", "1", ")", "&&", "\"inconsistent dead flag\"", ")", ";", "if", "(", "deadCPSR", ")", "{", "assert", "(", "!", "MI", "->", "getOperand", "(", "ccOutIdx", ")", ".", "getReg", "(", ")", "&&", "\"expect uninitialized optional cc_out operand\"", ")", ";", "return", ";", "}", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "ccOutIdx", ")", ";", "MO", ".", "setReg", "(", "ARM", "::", "CPSR", ")", ";", "MO", ".", "setIsDef", "(", "true", ")", ";", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'hasPostISelHook", "'", "flag", "."], "TS_V_token": ["ARM", "ARM", "\"Pseudo flag-setting opcodes must be marked with 'hasPostISelHook'\"", "ARM", "ARM", "1", "\"Optional cc_out operand required\"", "ARM::CPSR", "\"Optional cc_out operand required\"", "1", "\"inconsistent dead flag\"", "\"expect uninitialized optional cc_out operand\"", "ARM::CPSR"], "File": "ARMISelLowering152", "Func": "AdjustInstrPostInstrSelection", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5103, "Length": 335, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "machine_mode", "function_instance", "::", "gp_mode", "(", "unsigned", "int", "i", ")", "const", "{", "return", "aarch64_sve_pred_mode", "(", "type_suffix", "(", "i", ")", ".", "element_bytes", ")", ".", "require", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "mode", "of", "the", "governing", "predicate", "to", "use", "when", "operating", "on", "type", "suffix", "I", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "gp_mode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5104, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FrameLowering", "::", "assignCalleeSavedSpillSlots", "(", "MachineFunction", "&", "MF", ",", "const", "TargetRegisterInfo", "*", "RegInfo", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "unsigned", "&", "MinCSFrameIndex", ",", "unsigned", "&", "MaxCSFrameIndex", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "true", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "auto", "AFI", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "for", "(", "auto", "&", "CS", ":", "CSI", ")", "{", "unsigned", "Reg", "=", "CS", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "RegInfo", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "int", "FrameIdx", ";", "unsigned", "Size", "=", "RegInfo", "->", "getSpillSize", "(", "*", "RC", ")", ";", "Align", "Alignment", "(", "RegInfo", "->", "getSpillAlignment", "(", "*", "RC", ")", ")", ";", "FrameIdx", "=", "MFI", ".", "CreateStackObject", "(", "Size", ",", "Alignment", ",", "true", ")", ";", "CS", ".", "setFrameIdx", "(", "FrameIdx", ")", ";", "if", "(", "(", "unsigned", ")", "FrameIdx", "<", "MinCSFrameIndex", ")", "MinCSFrameIndex", "=", "FrameIdx", ";", "if", "(", "(", "unsigned", ")", "FrameIdx", ">", "MaxCSFrameIndex", ")", "MaxCSFrameIndex", "=", "FrameIdx", ";", "if", "(", "hasFP", "(", "MF", ")", "&&", "AFI", "->", "hasSwiftAsyncContext", "(", ")", "&&", "Reg", "==", "AArch64", "::", "FP", ")", "{", "FrameIdx", "=", "MFI", ".", "CreateStackObject", "(", "8", ",", "Alignment", ",", "true", ")", ";", "AFI", "->", "setSwiftAsyncContextFrameIdx", "(", "FrameIdx", ")", ";", "if", "(", "(", "unsigned", ")", "FrameIdx", "<", "MinCSFrameIndex", ")", "MinCSFrameIndex", "=", "FrameIdx", ";", "if", "(", "(", "unsigned", ")", "FrameIdx", ">", "MaxCSFrameIndex", ")", "MaxCSFrameIndex", "=", "FrameIdx", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["This", "function", "will", "assign", "callee", "saved", "gprs", "to", "volatile", "vector", "registers", "for", "prologue", "spills", "when", "applicable", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64::FP", "8"], "File": "AArch64FrameLowering100", "Func": "assignCalleeSavedSpillSlots", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5105, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "pro_epilogue_adjust_stack", "(", "rtx", "dest", ",", "rtx", "src", ",", "rtx", "offset", ",", "int", "style", ",", "bool", "set_cfa", ")", "{", "struct", "machine_function", "*", "m", "=", "cfun", "->", "machine", ";", "rtx", "addend", "=", "offset", ";", "rtx", "insn", ";", "bool", "add_frame_related_expr", "=", "false", ";", "if", "(", "!", "x86_64_immediate_operand", "(", "offset", ",", "Pmode", ")", ")", "{", "if", "(", "style", ")", "addend", "=", "gen_rtx_REG", "(", "Pmode", ",", "R11_REG", ")", ";", "else", "{", "gcc_assert", "(", "src", "!=", "hard_frame_pointer_rtx", "&&", "dest", "!=", "hard_frame_pointer_rtx", ")", ";", "addend", "=", "hard_frame_pointer_rtx", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "addend", ",", "offset", ")", ")", ";", "if", "(", "style", "<", "0", ")", "add_frame_related_expr", "=", "true", ";", "}", "insn", "=", "emit_insn", "(", "gen_pro_epilogue_adjust_stack_add", "(", "Pmode", ",", "dest", ",", "src", ",", "addend", ")", ")", ";", "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", "(", "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", "(", "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", ";", "bool", "realigned", "=", "m", "->", "fs", ".", "sp_realigned", ";", "if", "(", "src", "==", "hard_frame_pointer_rtx", ")", "{", "valid", "=", "m", "->", "fs", ".", "fp_valid", ";", "realigned", "=", "false", ";", "ooffset", "=", "m", "->", "fs", ".", "fp_offset", ";", "}", "else", "if", "(", "src", "==", "crtl", "->", "drap_reg", ")", "{", "valid", "=", "m", "->", "fs", ".", "drap_valid", ";", "realigned", "=", "false", ";", "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", ";", "m", "->", "fs", ".", "sp_realigned", "=", "realigned", ";", "}", "return", "insn", ";", "}", ""], "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": "i386", "Func": "pro_epilogue_adjust_stack", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5106, "Length": 396, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LEGInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "LEG", "::", "MOVrr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["LEG", "LEG", "LEG::MOVrr"], "File": "LEGInstrInfo", "Func": "copyPhysReg", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5107, "Length": 63, "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", "[", "]", "=", "{", "MD", "::", "R0", ",", "MD", "::", "R1", ",", "MD", "::", "R2", ",", "MD", "::", "R3", "}", ";", "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", "(", "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", "--", ";", "}", "}", "else", "{", "UseStack", "=", "true", ";", "for", "(", "unsigned", "j", "=", "0", ";", "j", "<", "Parts", ";", "j", "++", ")", "{", "if", "(", "ArgFlags", ".", "isByVal", "(", ")", ")", "{", "State", ".", "HandleByVal", "(", "ValNo", "++", ",", "ArgVT", ",", "LocVT", ",", "LocInfo", ",", "4", ",", "4", ",", "ArgFlags", ")", ";", "continue", ";", "}", "if", "(", "LocVT", "==", "MVT", "::", "i32", "||", "LocVT", "==", "MVT", "::", "f32", ")", "{", "unsigned", "Offset1", "=", "State", ".", "AllocateStack", "(", "4", ",", "4", ")", ";", "State", ".", "addLoc", "(", "CCValAssign", "::", "getMem", "(", "ValNo", "++", ",", "ArgVT", ",", "Offset1", ",", "LocVT", ",", "LocInfo", ")", ")", ";", "continue", ";", "}", "}", "}", "}", "}", ""], "natrual_language": ["The", "function", "will", "invoke", "AnalyzeCallOperands", "."], "TS_V_token": ["Mandarin", "MD::R0", "MD::R1", "MD::R2", "MD::R3", "4", "0", "0", "ISD::ArgFlagsTy", "2", "2", "0", "0", "4", "4", "MVT::i32", "MVT::f32", "4", "4"], "File": "MandarinISelLowering", "Func": "AnalyzeArguments", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5108, "Length": 383, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1FrameLowering", "::", "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", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "bool", "isVarArg", "=", "AFI", "->", "getVarArgsRegSaveSize", "(", ")", ">", "0", ";", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "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", "(", "TII", ".", "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": "Thumb1FrameLowering38", "Func": "restoreCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5109, "Length": 256, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "function_builder", "::", "append_name", "(", "const", "char", "*", "name", ")", "{", "obstack_grow", "(", "&", "m_string_obstack", ",", "name", ",", "strlen", "(", "name", ")", ")", ";", "}", ""], "natrual_language": ["Add", "NAME", "to", "the", "end", "of", "the", "function", "name", "being", "built", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "append_name", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5110, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "ARM_PREALLOC_LOAD_STORE_OPT_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMLoadStoreOptimizer10", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5111, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "isFPExtFree", "(", "EVT", "DestVT", ",", "EVT", "SrcVT", ")", "const", "{", "assert", "(", "DestVT", ".", "isFloatingPoint", "(", ")", "&&", "SrcVT", ".", "isFloatingPoint", "(", ")", "&&", "\"invalid fpext types\"", ")", ";", "if", "(", "DestVT", "==", "MVT", "::", "f128", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "an", "fpext", "operation", "is", "free", "(", "for", "instance", ",", "because", "single-precision", "floating-point", "numbers", "are", "implicitly", "extended", "to", "double-precision", ")", "."], "TS_V_token": ["PowerPC", "PPC", "\"invalid fpext types\"", "MVT::f128"], "File": "PPCISelLowering (2)7", "Func": "isFPExtFree", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5112, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARM64ConditionalCompares", "::", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "MachineBranchProbabilityInfo", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineLoopInfo", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineLoopInfo", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineTraceMetrics", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineTraceMetrics", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["ARM64", "ARM64"], "File": "ARM64ConditionalCompares", "Func": "getAnalysisUsage", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5113, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "initiate_bundle_states", "(", "void", ")", "{", "bundle_states_num", "=", "0", ";", "free_bundle_state_chain", "=", "NULL", ";", "allocated_bundle_states_chain", "=", "NULL", ";", "}", ""], "natrual_language": ["Start", "work", "with", "abstract", "data", "`", "bundle", "states", "'", "."], "TS_V_token": ["ia64", "0"], "File": "ia64", "Func": "initiate_bundle_states", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5114, "Length": 20, "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": 5115, "Length": 425, "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", "=", "Ord", "==", "Release", "||", "Ord", "==", "AcquireRelease", "||", "Ord", "==", "SequentiallyConsistent", ";", "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", ".", "CreateCall3", "(", "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", ".", "CreateCall2", "(", "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": "AArch64ISelLowering23", "Func": "emitStoreConditional", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5116, "Length": 261, "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": 5117, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86TTIImpl", "::", "getIntImmCostInst", "(", "unsigned", "Opcode", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ",", "Instruction", "*", "Inst", ")", "{", "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", ",", "CostKind", ")", ";", "return", "(", "Cost", "<=", "NumConstants", "*", "TTI", "::", "TCC_Basic", ")", "?", "static_cast", "<", "int", ">", "(", "TTI", "::", "TCC_Free", ")", ":", "Cost", ";", "}", "return", "X86TTIImpl", "::", "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": ["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": "X86TargetTransformInfo103", "Func": "getIntImmCostInst", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5118, "Length": 447, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_function_parms_need_stack", "(", "tree", "fun", ",", "bool", "incoming", ")", "{", "tree", "fntype", ",", "result", ";", "CUMULATIVE_ARGS", "args_so_far_v", ";", "cumulative_args_t", "args_so_far", ";", "if", "(", "!", "fun", ")", "return", "false", ";", "fntype", "=", "fun", ";", "if", "(", "!", "TYPE_P", "(", "fun", ")", ")", "fntype", "=", "TREE_TYPE", "(", "fun", ")", ";", "if", "(", "(", "!", "incoming", "&&", "!", "prototype_p", "(", "fntype", ")", ")", "||", "stdarg_p", "(", "fntype", ")", ")", "return", "true", ";", "INIT_CUMULATIVE_INCOMING_ARGS", "(", "args_so_far_v", ",", "fntype", ",", "NULL_RTX", ")", ";", "args_so_far", "=", "pack_cumulative_args", "(", "&", "args_so_far_v", ")", ";", "if", "(", "incoming", ")", "{", "gcc_assert", "(", "DECL_P", "(", "fun", ")", ")", ";", "result", "=", "DECL_RESULT", "(", "fun", ")", ";", "}", "else", "result", "=", "TREE_TYPE", "(", "fntype", ")", ";", "if", "(", "result", "&&", "aggregate_value_p", "(", "result", ",", "fntype", ")", ")", "{", "if", "(", "!", "TYPE_P", "(", "result", ")", ")", "result", "=", "TREE_TYPE", "(", "result", ")", ";", "result", "=", "build_pointer_type", "(", "result", ")", ";", "rs6000_parm_needs_stack", "(", "args_so_far", ",", "result", ")", ";", "}", "if", "(", "incoming", ")", "{", "tree", "parm", ";", "for", "(", "parm", "=", "DECL_ARGUMENTS", "(", "fun", ")", ";", "parm", "&&", "parm", "!=", "void_list_node", ";", "parm", "=", "TREE_CHAIN", "(", "parm", ")", ")", "if", "(", "rs6000_parm_needs_stack", "(", "args_so_far", ",", "TREE_TYPE", "(", "parm", ")", ")", ")", "return", "true", ";", "}", "else", "{", "function_args_iterator", "args_iter", ";", "tree", "arg_type", ";", "FOREACH_FUNCTION_ARGS", "(", "fntype", ",", "arg_type", ",", "args_iter", ")", "if", "(", "rs6000_parm_needs_stack", "(", "args_so_far", ",", "arg_type", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "FUN", "has", "no", "prototype", ",", "has", "a", "variable", "argument", "list", ",", "or", "passes", "any", "parameter", "in", "memory", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_function_parms_need_stack", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5119, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCPreRASchedStrategy", "::", "tryCandidate", "(", "SchedCandidate", "&", "Cand", ",", "SchedCandidate", "&", "TryCand", ",", "SchedBoundary", "*", "Zone", ")", "const", "{", "GenericScheduler", "::", "tryCandidate", "(", "Cand", ",", "TryCand", ",", "Zone", ")", ";", "if", "(", "!", "Cand", ".", "isValid", "(", ")", "||", "!", "Zone", ")", "return", ";", "if", "(", "TryCand", ".", "Reason", "!=", "NodeOrder", "&&", "TryCand", ".", "Reason", "!=", "NoCand", ")", "return", ";", "if", "(", "biasAddiLoadCandidate", "(", "Cand", ",", "TryCand", ",", "*", "Zone", ")", ")", "return", ";", "}", ""], "natrual_language": ["Apply", "a", "set", "of", "heuristics", "to", "a", "new", "candidate", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCMachineScheduler", "Func": "tryCandidate", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5120, "Length": 75, "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": 5121, "Length": 117, "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", "||", "!", "TARGET_VECTORIZE_BUILTINS", ")", "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": "rs60005", "Func": "rs6000_builtin_md_vectorized_function", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5122, "Length": 278, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetLowering", "::", "HandleByVal", "(", "CCState", "*", "State", ",", "unsigned", "&", "Size", ",", "unsigned", "Align", ")", "const", "{", "assert", "(", "(", "State", "->", "getCallOrPrologue", "(", ")", "==", "Prologue", "||", "State", "->", "getCallOrPrologue", "(", ")", "==", "Call", ")", "&&", "\"unhandled ParmContext\"", ")", ";", "Align", "=", "std", "::", "max", "(", "Align", ",", "4U", ")", ";", "unsigned", "Reg", "=", "State", "->", "AllocateReg", "(", "GPRArgRegs", ")", ";", "if", "(", "!", "Reg", ")", "return", ";", "unsigned", "AlignInRegs", "=", "Align", "/", "4", ";", "unsigned", "Waste", "=", "(", "ARM", "::", "R4", "-", "Reg", ")", "%", "AlignInRegs", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Waste", ";", "++", "i", ")", "Reg", "=", "State", "->", "AllocateReg", "(", "GPRArgRegs", ")", ";", "if", "(", "!", "Reg", ")", "return", ";", "unsigned", "Excess", "=", "4", "*", "(", "ARM", "::", "R4", "-", "Reg", ")", ";", "const", "unsigned", "NSAAOffset", "=", "State", "->", "getNextStackOffset", "(", ")", ";", "if", "(", "NSAAOffset", "!=", "0", "&&", "Size", ">", "Excess", ")", "{", "while", "(", "State", "->", "AllocateReg", "(", "GPRArgRegs", ")", ")", ";", "return", ";", "}", "unsigned", "ByValRegBegin", "=", "Reg", ";", "unsigned", "ByValRegEnd", "=", "std", "::", "min", "<", "unsigned", ">", "(", "Reg", "+", "Size", "/", "4", ",", "ARM", "::", "R4", ")", ";", "State", "->", "addInRegsParamInfo", "(", "ByValRegBegin", ",", "ByValRegEnd", ")", ";", "for", "(", "unsigned", "i", "=", "Reg", "+", "1", ";", "i", "!=", "ByValRegEnd", ";", "++", "i", ")", "State", "->", "AllocateReg", "(", "GPRArgRegs", ")", ";", "Size", "=", "std", "::", "max", "<", "int", ">", "(", "Size", "-", "Excess", ",", "0", ")", ";", "}", ""], "natrual_language": ["Target-specific", "cleanup", "for", "formal", "ByVal", "parameters", "."], "TS_V_token": ["ARM", "ARM", "\"unhandled ParmContext\"", "4U", "4", "ARM::R4", "0", "4", "ARM::R4", "0", "4", "ARM::R4", "1", "0"], "File": "ARMISelLowering (2)2", "Func": "HandleByVal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5123, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "OR1KFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetInstrInfo", "*", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "OR1KRegisterInfo", "*", "TRI", "=", "static_cast", "<", "const", "OR1KRegisterInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "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", "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": "OR1KFrameLowering1", "Func": "emitEpilogue", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5124, "Length": 472, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_setup_incoming_varargs", "(", "cumulative_args_t", "cum", ",", "machine_mode", "mode", ",", "tree", "type", ",", "int", "*", "pretend_size", "ATTRIBUTE_UNUSED", ",", "int", "no_rtl", ")", "{", "CUMULATIVE_ARGS", "local_cum", ";", "int", "gp_saved", ",", "fp_saved", ";", "local_cum", "=", "*", "get_cumulative_args", "(", "cum", ")", ";", "mips_function_arg_advance", "(", "pack_cumulative_args", "(", "&", "local_cum", ")", ",", "mode", ",", "type", ",", "true", ")", ";", "gp_saved", "=", "MAX_ARGS_IN_REGISTERS", "-", "local_cum", ".", "num_gprs", ";", "fp_saved", "=", "(", "EABI_FLOAT_VARARGS_P", "?", "MAX_ARGS_IN_REGISTERS", "-", "local_cum", ".", "num_fprs", ":", "0", ")", ";", "if", "(", "!", "no_rtl", ")", "{", "if", "(", "gp_saved", ">", "0", ")", "{", "rtx", "ptr", ",", "mem", ";", "ptr", "=", "plus_constant", "(", "Pmode", ",", "virtual_incoming_args_rtx", ",", "REG_PARM_STACK_SPACE", "(", "cfun", "->", "decl", ")", "-", "gp_saved", "*", "UNITS_PER_WORD", ")", ";", "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", "(", "fp_saved", ">", "0", ")", "{", "machine_mode", "mode", ";", "int", "off", ",", "i", ";", "off", "=", "(", "-", "gp_saved", "*", "UNITS_PER_WORD", ")", "&", "-", "UNITS_PER_FPVALUE", ";", "off", "-=", "fp_saved", "*", "UNITS_PER_FPREG", ";", "mode", "=", "TARGET_SINGLE_FLOAT", "?", "SFmode", ":", "DFmode", ";", "for", "(", "i", "=", "local_cum", ".", "num_fprs", ";", "i", "<", "MAX_ARGS_IN_REGISTERS", ";", "i", "+=", "MAX_FPRS_PER_FMT", ")", "{", "rtx", "ptr", ",", "mem", ";", "ptr", "=", "plus_constant", "(", "Pmode", ",", "virtual_incoming_args_rtx", ",", "off", ")", ";", "mem", "=", "gen_frame_mem", "(", "mode", ",", "ptr", ")", ";", "set_mem_alias_set", "(", "mem", ",", "get_varargs_alias_set", "(", ")", ")", ";", "mips_emit_move", "(", "mem", ",", "gen_rtx_REG", "(", "mode", ",", "FP_ARG_FIRST", "+", "i", ")", ")", ";", "off", "+=", "UNITS_PER_HWFPVALUE", ";", "}", "}", "}", "if", "(", "REG_PARM_STACK_SPACE", "(", "cfun", "->", "decl", ")", "==", "0", ")", "cfun", "->", "machine", "->", "varargs_size", "=", "(", "gp_saved", "*", "UNITS_PER_WORD", "+", "fp_saved", "*", "UNITS_PER_FPREG", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["mips", "0", "0", "0", "0"], "File": "mips4", "Func": "mips_setup_incoming_varargs", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5125, "Length": 286, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_override_options_after_change", "(", "void", ")", "{", "if", "(", "(", "global_options_set", ".", "x_flag_unroll_loops", "&&", "flag_unroll_loops", ")", "||", "(", "global_options_set", ".", "x_flag_unroll_all_loops", "&&", "flag_unroll_all_loops", ")", ")", "{", "if", "(", "!", "global_options_set", ".", "x_unroll_only_small_loops", ")", "unroll_only_small_loops", "=", "0", ";", "if", "(", "!", "global_options_set", ".", "x_flag_rename_registers", ")", "flag_rename_registers", "=", "1", ";", "if", "(", "!", "global_options_set", ".", "x_flag_cunroll_grow_size", ")", "flag_cunroll_grow_size", "=", "1", ";", "}", "else", "if", "(", "!", "global_options_set", ".", "x_flag_cunroll_grow_size", ")", "flag_cunroll_grow_size", "=", "flag_peel_loops", "||", "optimize", ">=", "3", ";", "}", ""], "natrual_language": ["This", "target", "function", "is", "similar", "to", "the", "hook", "TARGET_OPTION_OVERRIDE", "but", "is", "called", "when", "the", "optimize", "level", "is", "changed", "via", "an", "attribute", "or", "pragma", "or", "when", "it", "is", "reset", "at", "the", "end", "of", "the", "code", "affected", "by", "the", "attribute", "or", "pragma", ".", "It", "is", "not", "called", "at", "the", "beginning", "of", "compilation", "when", "TARGET_OPTION_OVERRIDE", "is", "called", "so", "if", "you", "want", "to", "perform", "these", "actions", "then", ",", "you", "should", "have", "TARGET_OPTION_OVERRIDE", "call", "TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE", "."], "TS_V_token": ["rs6000", "0", "1", "1", "3"], "File": "rs60001", "Func": "rs6000_override_options_after_change", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5126, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "simd_vec_cost", "*", "aarch64_simd_vec_costs_for_flags", "(", "unsigned", "int", "flags", ")", "{", "const", "cpu_vector_cost", "*", "costs", "=", "aarch64_tune_params", ".", "vec_costs", ";", "if", "(", "(", "flags", "&", "VEC_ANY_SVE", ")", "&&", "costs", "->", "sve", ")", "return", "costs", "->", "sve", ";", "return", "costs", "->", "advsimd", ";", "}", ""], "natrual_language": ["Return", "the", "appropriate", "SIMD", "costs", "for", "vectors", "with", "VEC_", "*", "flags", "FLAGS", "."], "TS_V_token": ["aarch64"], "File": "aarch641", "Func": "aarch64_simd_vec_costs_for_flags", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5127, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "X86RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "X86FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "FramePtr", ":", "StackPtr", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86RegisterInfo (2)1", "Func": "getFrameRegister", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5128, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb2InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "*", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "FI", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "&", "ARM", "::", "GPRRegClass", "||", "RC", "==", "&", "ARM", "::", "tGPRRegClass", "||", "RC", "==", "&", "ARM", "::", "tcGPRRegClass", "||", "RC", "==", "&", "ARM", "::", "rGPRRegClass", "||", "RC", "==", "&", "ARM", "::", "GPRnopcRegClass", ")", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "t2LDRi12", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ")", ";", "return", ";", "}", "if", "(", "ARM", "::", "GPRPairRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "MachineRegisterInfo", "*", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "MRI", "->", "constrainRegClass", "(", "DestReg", ",", "&", "ARM", "::", "GPRPair_with_gsub_1_in_rGPRRegClass", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "t2LDRDi8", ")", ")", ";", "AddDReg", "(", "MIB", ",", "DestReg", ",", "ARM", "::", "gsub_0", ",", "RegState", "::", "DefineNoRead", ",", "TRI", ")", ";", "AddDReg", "(", "MIB", ",", "DestReg", ",", "ARM", "::", "gsub_1", ",", "RegState", "::", "DefineNoRead", ",", "TRI", ")", ";", "MIB", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "AddDefaultPred", "(", "MIB", ")", ";", "if", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "DestReg", ")", ")", "MIB", ".", "addReg", "(", "DestReg", ",", "RegState", "::", "ImplicitDefine", ")", ";", "return", ";", "}", "ARMBaseInstrInfo", "::", "loadRegFromStackSlot", "(", "MBB", ",", "I", ",", "DestReg", ",", "FI", ",", "RC", ",", "TRI", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM::GPRRegClass", "ARM::tGPRRegClass", "ARM::tcGPRRegClass", "ARM::rGPRRegClass", "ARM::GPRnopcRegClass", "ARM::t2LDRi12", "0", "ARM::GPRPairRegClass", "ARM::GPRPair_with_gsub_1_in_rGPRRegClass", "ARM::t2LDRDi8", "ARM::gsub_0", "ARM::gsub_1", "0", "ARM"], "File": "Thumb2InstrInfo11", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5129, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "BuildSDIVPow2", "(", "SDNode", "*", "N", ",", "const", "APInt", "&", "Divisor", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDNode", "*", ">", "&", "Created", ")", "const", "{", "AttributeList", "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", ")", ";", "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", ";", "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)2", "Func": "BuildSDIVPow2", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5130, "Length": 356, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMFastISel", "::", "fastMaterializeAlloca", "(", "const", "AllocaInst", "*", "AI", ")", "{", "if", "(", "!", "FuncInfo", ".", "StaticAllocaMap", ".", "count", "(", "AI", ")", ")", "return", "0", ";", "MVT", "VT", ";", "if", "(", "!", "isLoadTypeLegal", "(", "AI", "->", "getType", "(", ")", ",", "VT", ")", ")", "return", "0", ";", "DenseMap", "<", "const", "AllocaInst", "*", ",", "int", ">", "::", "iterator", "SI", "=", "FuncInfo", ".", "StaticAllocaMap", ".", "find", "(", "AI", ")", ";", "if", "(", "SI", "!=", "FuncInfo", ".", "StaticAllocaMap", ".", "end", "(", ")", ")", "{", "unsigned", "Opc", "=", "isThumb2", "?", "ARM", "::", "t2ADDri", ":", "ARM", "::", "ADDri", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TLI", ".", "getRegClassFor", "(", "VT", ")", ";", "unsigned", "ResultReg", "=", "createResultReg", "(", "RC", ")", ";", "ResultReg", "=", "constrainOperandRegClass", "(", "TII", ".", "get", "(", "Opc", ")", ",", "ResultReg", ",", "0", ")", ";", "AddOptionalDefs", "(", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "TII", ".", "get", "(", "Opc", ")", ",", "ResultReg", ")", ".", "addFrameIndex", "(", "SI", "->", "second", ")", ".", "addImm", "(", "0", ")", ")", ";", "return", "ResultReg", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Emit", "an", "alloca", "address", "in", "a", "register", "using", "target-specific", "logic", "."], "TS_V_token": ["ARM", "ARM", "0", "0", "ARM::t2ADDri", "ARM::ADDri", "0", "0", "0"], "File": "ARMFastISel (2)2", "Func": "fastMaterializeAlloca", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5131, "Length": 175, "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", ";", "}", "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_GOT"], "File": "X86Subtarget (2)3", "Func": "classifyGlobalReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5132, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCAIXAsmPrinter", "::", "SetupMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "CurrentFnDescSym", "=", "getSymbol", "(", "&", "MF", ".", "getFunction", "(", ")", ")", ";", "MCSectionXCOFF", "*", "FnDescSec", "=", "cast", "<", "MCSectionXCOFF", ">", "(", "getObjFileLowering", "(", ")", ".", "getSectionForFunctionDescriptor", "(", "CurrentFnDescSym", ")", ")", ";", "FnDescSec", "->", "setAlignment", "(", "Align", "(", "Subtarget", "->", "isPPC64", "(", ")", "?", "8", ":", "4", ")", ")", ";", "cast", "<", "MCSymbolXCOFF", ">", "(", "CurrentFnDescSym", ")", "->", "setContainingCsect", "(", "FnDescSec", ")", ";", "return", "AsmPrinter", "::", "SetupMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["This", "should", "be", "called", "when", "a", "new", "MachineFunction", "is", "being", "processed", "from", "runOnMachineFunction", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "8", "4"], "File": "PPCAsmPrinter62", "Func": "SetupMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5133, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToAddress", "(", "Register", "ValVReg", ",", "Register", "Addr", ",", "uint64_t", "Size", ",", "MachinePointerInfo", "&", "MPO", ",", "CCValAssign", "&", "VA", ")", "override", "{", "assert", "(", "(", "Size", "==", "1", "||", "Size", "==", "2", "||", "Size", "==", "4", "||", "Size", "==", "8", ")", "&&", "\"Unsupported size\"", ")", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "SExt", "||", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "ZExt", ")", "{", "Size", "=", "4", ";", "assert", "(", "MRI", ".", "getType", "(", "ValVReg", ")", ".", "isScalar", "(", ")", "&&", "\"Only scalars supported atm\"", ")", ";", "auto", "LoadVReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "LLT", "::", "scalar", "(", "32", ")", ")", ";", "buildLoad", "(", "LoadVReg", ",", "Addr", ",", "Size", ",", "1", ",", "MPO", ")", ";", "MIRBuilder", ".", "buildTrunc", "(", "ValVReg", ",", "LoadVReg", ")", ";", "}", "else", "{", "buildLoad", "(", "ValVReg", ",", "Addr", ",", "Size", ",", "1", ",", "MPO", ")", ";", "}", "}", ""], "natrual_language": ["An", "overload", "which", "takes", "an", "ArgInfo", "if", "additional", "information", "about", "the", "arg", "is", "needed", "."], "TS_V_token": ["ARM", "1", "2", "4", "8", "\"Unsupported size\"", "4", "\"Only scalars supported atm\"", "32", "1", "1"], "File": "ARMCallLowering1", "Func": "assignValueToAddress", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5134, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "addImm", "(", "int64_t", "imm", ")", "{", "Imm", "+=", "imm", ";", "}", ""], "natrual_language": ["Add", "a", "new", "integer", "immediate", "operand", "."], "TS_V_token": ["X86"], "File": "X86AsmParser (2)4", "Func": "addImm", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5135, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "sparc_preferred_reload_class", "(", "rtx", "x", ",", "reg_class_t", "rclass", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "x", ")", ";", "if", "(", "CONSTANT_P", "(", "x", ")", ")", "{", "if", "(", "FP_REG_CLASS_P", "(", "rclass", ")", "||", "rclass", "==", "GENERAL_OR_FP_REGS", "||", "rclass", "==", "GENERAL_OR_EXTRA_FP_REGS", "||", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", "&&", "!", "TARGET_FPU", ")", "||", "(", "mode", "==", "TFmode", "&&", "!", "const_zero_operand", "(", "x", ",", "mode", ")", ")", ")", "return", "NO_REGS", ";", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_INT", ")", "return", "GENERAL_REGS", ";", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_INT", ")", "{", "if", "(", "!", "FP_REG_CLASS_P", "(", "rclass", ")", "||", "!", "(", "const_zero_operand", "(", "x", ",", "mode", ")", "||", "const_all_ones_operand", "(", "x", ",", "mode", ")", ")", ")", "return", "NO_REGS", ";", "}", "}", "if", "(", "TARGET_VIS3", "&&", "!", "TARGET_ARCH64", "&&", "(", "rclass", "==", "EXTRA_FP_REGS", "||", "rclass", "==", "GENERAL_OR_EXTRA_FP_REGS", ")", ")", "{", "int", "regno", "=", "true_regnum", "(", "x", ")", ";", "if", "(", "SPARC_INT_REG_P", "(", "regno", ")", ")", "return", "(", "rclass", "==", "EXTRA_FP_REGS", "?", "FP_REGS", ":", "GENERAL_OR_FP_REGS", ")", ";", "}", "return", "rclass", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PREFERRED_RELOAD_CLASS", ":", "-", "We", "ca", "n't", "load", "constants", "into", "FP", "registers", ".", "-", "We", "ca", "n't", "load", "FP", "constants", "into", "integer", "registers", "when", "soft-float", ",", "because", "there", "is", "no", "soft-float", "pattern", "with", "a", "r/F", "constraint", ".", "-", "We", "ca", "n't", "load", "FP", "constants", "into", "integer", "registers", "for", "TFmode", "unless", "it", "is", "0.0L", ",", "because", "there", "is", "no", "movtf", "pattern", "with", "a", "r/F", "constraint", ".", "-", "Try", "and", "reload", "integer", "constants", "(", "symbolic", "or", "otherwise", ")", "back", "into", "registers", "directly", ",", "rather", "than", "having", "them", "dumped", "to", "memory", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "sparc_preferred_reload_class", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5136, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_emit_stack_tie", "(", "rtx", "fp", ",", "bool", "hard_frame_needed", ")", "{", "rtvec", "p", ";", "int", "i", ";", "rtx", "regs", "[", "3", "]", ";", "i", "=", "0", ";", "regs", "[", "i", "++", "]", "=", "gen_rtx_REG", "(", "Pmode", ",", "STACK_POINTER_REGNUM", ")", ";", "if", "(", "hard_frame_needed", ")", "regs", "[", "i", "++", "]", "=", "gen_rtx_REG", "(", "Pmode", ",", "HARD_FRAME_POINTER_REGNUM", ")", ";", "if", "(", "!", "(", "REGNO", "(", "fp", ")", "==", "STACK_POINTER_REGNUM", "||", "(", "hard_frame_needed", "&&", "REGNO", "(", "fp", ")", "==", "HARD_FRAME_POINTER_REGNUM", ")", ")", ")", "regs", "[", "i", "++", "]", "=", "fp", ";", "p", "=", "rtvec_alloc", "(", "i", ")", ";", "while", "(", "--", "i", ">=", "0", ")", "{", "rtx", "mem", "=", "gen_frame_mem", "(", "BLKmode", ",", "regs", "[", "i", "]", ")", ";", "RTVEC_ELT", "(", "p", ",", "i", ")", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "mem", ",", "const0_rtx", ")", ";", "}", "emit_insn", "(", "gen_stack_tie", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "p", ")", ")", ")", ";", "}", ""], "natrual_language": ["This", "ties", "together", "stack", "memory", "(", "MEM", "with", "an", "alias", "set", "of", "rs6000_sr_alias_set", ")", "and", "the", "change", "to", "the", "stack", "pointer", "."], "TS_V_token": ["rs6000", "3", "0", "0"], "File": "rs60004", "Func": "rs6000_emit_stack_tie", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5137, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCLoopPreIncPrep", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "LI", "=", "&", "getAnalysis", "<", "LoopInfoWrapperPass", ">", "(", ")", ".", "getLoopInfo", "(", ")", ";", "SE", "=", "&", "getAnalysis", "<", "ScalarEvolutionWrapperPass", ">", "(", ")", ".", "getSE", "(", ")", ";", "auto", "*", "DTWP", "=", "getAnalysisIfAvailable", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "DT", "=", "DTWP", "?", "&", "DTWP", "->", "getDomTree", "(", ")", ":", "nullptr", ";", "PreserveLCSSA", "=", "mustPreserveAnalysisID", "(", "LCSSAID", ")", ";", "ST", "=", "TM", "?", "TM", "->", "getSubtargetImpl", "(", "F", ")", ":", "nullptr", ";", "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"], "File": "PPCLoopPreIncPrep21", "Func": "runOnFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5138, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Emitter", "<", "CodeEmitter", ">", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "assert", "(", "(", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Default", "||", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Static", ")", "&&", "\"JIT relocation model must be set to static or default!\"", ")", ";", "II", "=", "(", "(", "ARMTargetMachine", "&", ")", "MF", ".", "getTarget", "(", ")", ")", ".", "getInstrInfo", "(", ")", ";", "TD", "=", "(", "(", "ARMTargetMachine", "&", ")", "MF", ".", "getTarget", "(", ")", ")", ".", "getTargetData", "(", ")", ";", "JTI", "=", "(", "(", "ARMTargetMachine", "&", ")", "MF", ".", "getTarget", "(", ")", ")", ".", "getJITInfo", "(", ")", ";", "MCPEs", "=", "&", "MF", ".", "getConstantPool", "(", ")", "->", "getConstants", "(", ")", ";", "MJTEs", "=", "&", "MF", ".", "getJumpTableInfo", "(", ")", "->", "getJumpTables", "(", ")", ";", "IsPIC", "=", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ";", "JTI", "->", "Initialize", "(", "MF", ",", "IsPIC", ")", ";", "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", ")", "emitInstruction", "(", "*", "I", ")", ";", "}", "}", "while", "(", "MCE", ".", "finishFunction", "(", "MF", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "\"JIT relocation model must be set to static or default!\"", "ARM", "ARM", "ARM", "\"JITTing function '\"", "\"'\\n\""], "File": "ARMCodeEmitter7", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5139, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 LEA Optimize\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 LEA Optimize\""], "File": "X86OptimizeLEAs", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5140, "Length": 11, "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", ")", "||", "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": "ARMISelLowering131", "Func": "isShuffleMaskLegal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5141, "Length": 288, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "override", "{", "switch", "(", "ConstraintID", ")", "{", "default", ":", "errs", "(", ")", "<<", "\"ConstraintID: \"", "<<", "ConstraintID", "<<", "\"\\n\"", ";", "llvm_unreachable", "(", "\"Unexpected asm memory constraint\"", ")", ";", "case", "InlineAsm", "::", "Constraint_es", ":", "case", "InlineAsm", "::", "Constraint_i", ":", "case", "InlineAsm", "::", "Constraint_m", ":", "case", "InlineAsm", "::", "Constraint_o", ":", "case", "InlineAsm", "::", "Constraint_Q", ":", "case", "InlineAsm", "::", "Constraint_Z", ":", "case", "InlineAsm", "::", "Constraint_Zy", ":", "const", "TargetRegisterInfo", "*", "TRI", "=", "PPCSubTarget", "->", "getRegisterInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "TRC", "=", "TRI", "->", "getPointerRegClass", "(", "*", "MF", ",", "1", ")", ";", "SDValue", "RC", "=", "CurDAG", "->", "getTargetConstant", "(", "TRC", "->", "getID", "(", ")", ",", "MVT", "::", "i32", ")", ";", "SDValue", "NewOp", "=", "SDValue", "(", "CurDAG", "->", "getMachineNode", "(", "TargetOpcode", "::", "COPY_TO_REGCLASS", ",", "SDLoc", "(", "Op", ")", ",", "Op", ".", "getValueType", "(", ")", ",", "Op", ",", "RC", ")", ",", "0", ")", ";", "OutOps", ".", "push_back", "(", "NewOp", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["PowerPC", "\"ConstraintID: \"", "\"\\n\"", "\"Unexpected asm memory constraint\"", "PPC", "1", "MVT::i32", "0"], "File": "PPCISelDAGToDAG86", "Func": "SelectInlineAsmMemoryOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5142, "Length": 170, "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": 5143, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCInstrInfo", "::", "genAlternativeCodeSequence", "(", "MachineInstr", "&", "Root", ",", "MachineCombinerPattern", "::", "MC_PATTERN", "Pattern", ",", "SmallVectorImpl", "<", "MachineInstr", "*", ">", "&", "InsInstrs", ",", "SmallVectorImpl", "<", "MachineInstr", "*", ">", "&", "DelInstrs", ",", "DenseMap", "<", "unsigned", ",", "unsigned", ">", "&", "InstIdxForVirtReg", ")", "const", "{", "MachineRegisterInfo", "&", "MRI", "=", "Root", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MachineInstr", "*", "Prev", "=", "nullptr", ";", "switch", "(", "Pattern", ")", "{", "case", "MachineCombinerPattern", "::", "MC_REASSOC_AX_BY", ":", "case", "MachineCombinerPattern", "::", "MC_REASSOC_XA_BY", ":", "Prev", "=", "MRI", ".", "getUniqueVRegDef", "(", "Root", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ";", "break", ";", "case", "MachineCombinerPattern", "::", "MC_REASSOC_AX_YB", ":", "case", "MachineCombinerPattern", "::", "MC_REASSOC_XA_YB", ":", "Prev", "=", "MRI", ".", "getUniqueVRegDef", "(", "Root", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ";", "}", "assert", "(", "Prev", "&&", "\"Unknown pattern for machine combiner\"", ")", ";", "reassociateOps", "(", "Root", ",", "*", "Prev", ",", "Pattern", ",", "InsInstrs", ",", "DelInstrs", ",", "InstIdxForVirtReg", ")", ";", "return", ";", "}", ""], "natrual_language": ["When", "getMachineCombinerPatterns", "(", ")", "finds", "potential", "patterns", ",", "this", "function", "generates", "the", "instructions", "that", "could", "replace", "the", "original", "code", "sequence", "."], "TS_V_token": ["PowerPC", "PPC", "1", "2", "\"Unknown pattern for machine combiner\""], "File": "PPCInstrInfo103", "Func": "genAlternativeCodeSequence", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5144, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetLowering", "::", "insertCopiesSplitCSR", "(", "MachineBasicBlock", "*", "Entry", ",", "const", "SmallVectorImpl", "<", "MachineBasicBlock", "*", ">", "&", "Exits", ")", "const", "{", "const", "ARMBaseRegisterInfo", "*", "TRI", "=", "Subtarget", "->", "getRegisterInfo", "(", ")", ";", "const", "MCPhysReg", "*", "IStart", "=", "TRI", "->", "getCalleeSavedRegsViaCopy", "(", "Entry", "->", "getParent", "(", ")", ")", ";", "if", "(", "!", "IStart", ")", "return", ";", "const", "TargetInstrInfo", "*", "TII", "=", "Subtarget", "->", "getInstrInfo", "(", ")", ";", "MachineRegisterInfo", "*", "MRI", "=", "&", "Entry", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "Entry", "->", "begin", "(", ")", ";", "for", "(", "const", "MCPhysReg", "*", "I", "=", "IStart", ";", "*", "I", ";", "++", "I", ")", "{", "const", "TargetRegisterClass", "*", "RC", "=", "nullptr", ";", "if", "(", "ARM", "::", "GPRRegClass", ".", "contains", "(", "*", "I", ")", ")", "RC", "=", "&", "ARM", "::", "GPRRegClass", ";", "else", "if", "(", "ARM", "::", "DPRRegClass", ".", "contains", "(", "*", "I", ")", ")", "RC", "=", "&", "ARM", "::", "DPRRegClass", ";", "else", "llvm_unreachable", "(", "\"Unexpected register class in CSRsViaCopy!\"", ")", ";", "Register", "NewVR", "=", "MRI", "->", "createVirtualRegister", "(", "RC", ")", ";", "assert", "(", "Entry", "->", "getParent", "(", ")", "->", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "NoUnwind", ")", "&&", "\"Function should be nounwind in insertCopiesSplitCSR!\"", ")", ";", "Entry", "->", "addLiveIn", "(", "*", "I", ")", ";", "BuildMI", "(", "*", "Entry", ",", "MBBI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "NewVR", ")", ".", "addReg", "(", "*", "I", ")", ";", "for", "(", "auto", "*", "Exit", ":", "Exits", ")", "BuildMI", "(", "*", "Exit", ",", "Exit", "->", "getFirstTerminator", "(", ")", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "*", "I", ")", ".", "addReg", "(", "NewVR", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "explicit", "copies", "in", "entry", "and", "exit", "blocks", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM::GPRRegClass", "ARM::GPRRegClass", "ARM::DPRRegClass", "ARM::DPRRegClass", "\"Unexpected register class in CSRsViaCopy!\"", "\"Function should be nounwind in insertCopiesSplitCSR!\""], "File": "ARMISelLowering (2)5", "Func": "insertCopiesSplitCSR", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5145, "Length": 271, "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", "(", "*", "this", ",", "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": "X86AsmPrinter54", "Func": "PrintAsmOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5146, "Length": 455, "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": 5147, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsMCCodeEmitter", "::", "getBranchTargetOpValueMM", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ">>", "1", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"getBranchTargetOpValueMM expects only expressions or immediates\"", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "0", ",", "Expr", ",", "MCFixupKind", "(", "Mips", "::", "fixup_MICROMIPS_PC16_S1", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "microMIPS", "branch", "target", "operand", "."], "TS_V_token": ["Mips", "Mips", "1", "\"getBranchTargetOpValueMM expects only expressions or immediates\"", "0", "Mips", "0"], "File": "MipsMCCodeEmitter2", "Func": "getBranchTargetOpValueMM", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5148, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_emit_allocate_stack", "(", "HOST_WIDE_INT", "size", ",", "rtx", "copy_reg", ",", "int", "copy_off", ")", "{", "rtx_insn", "*", "insn", ";", "rtx", "stack_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "STACK_POINTER_REGNUM", ")", ";", "rtx", "tmp_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ";", "rtx", "todec", "=", "gen_int_mode", "(", "-", "size", ",", "Pmode", ")", ";", "rtx", "par", ",", "set", ",", "mem", ";", "if", "(", "INTVAL", "(", "todec", ")", "!=", "-", "size", ")", "{", "warning", "(", "0", ",", "\"stack frame too large\"", ")", ";", "emit_insn", "(", "gen_trap", "(", ")", ")", ";", "return", ";", "}", "if", "(", "crtl", "->", "limit_stack", ")", "{", "if", "(", "REG_P", "(", "stack_limit_rtx", ")", "&&", "REGNO", "(", "stack_limit_rtx", ")", ">", "1", "&&", "REGNO", "(", "stack_limit_rtx", ")", "<=", "31", ")", "{", "emit_insn", "(", "gen_add3_insn", "(", "tmp_reg", ",", "stack_limit_rtx", ",", "GEN_INT", "(", "size", ")", ")", ")", ";", "emit_insn", "(", "gen_cond_trap", "(", "LTU", ",", "stack_reg", ",", "tmp_reg", ",", "const0_rtx", ")", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "stack_limit_rtx", ")", "==", "SYMBOL_REF", "&&", "TARGET_32BIT", "&&", "DEFAULT_ABI", "==", "ABI_V4", ")", "{", "rtx", "toload", "=", "gen_rtx_CONST", "(", "VOIDmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_limit_rtx", ",", "GEN_INT", "(", "size", ")", ")", ")", ";", "emit_insn", "(", "gen_elf_high", "(", "tmp_reg", ",", "toload", ")", ")", ";", "emit_insn", "(", "gen_elf_low", "(", "tmp_reg", ",", "tmp_reg", ",", "toload", ")", ")", ";", "emit_insn", "(", "gen_cond_trap", "(", "LTU", ",", "stack_reg", ",", "tmp_reg", ",", "const0_rtx", ")", ")", ";", "}", "else", "warning", "(", "0", ",", "\"stack limit expression is not supported\"", ")", ";", "}", "if", "(", "copy_reg", ")", "{", "if", "(", "copy_off", "!=", "0", ")", "emit_insn", "(", "gen_add3_insn", "(", "copy_reg", ",", "stack_reg", ",", "GEN_INT", "(", "copy_off", ")", ")", ")", ";", "else", "emit_move_insn", "(", "copy_reg", ",", "stack_reg", ")", ";", "}", "if", "(", "size", ">", "32767", ")", "{", "if", "(", "get_last_insn", "(", ")", "==", "NULL_RTX", ")", "emit_note", "(", "NOTE_INSN_DELETED", ")", ";", "insn", "=", "emit_move_insn", "(", "tmp_reg", ",", "todec", ")", ";", "try_split", "(", "PATTERN", "(", "insn", ")", ",", "insn", ",", "0", ")", ";", "todec", "=", "tmp_reg", ";", "}", "insn", "=", "emit_insn", "(", "TARGET_32BIT", "?", "gen_movsi_update_stack", "(", "stack_reg", ",", "stack_reg", ",", "todec", ",", "stack_reg", ")", ":", "gen_movdi_di_update_stack", "(", "stack_reg", ",", "stack_reg", ",", "todec", ",", "stack_reg", ")", ")", ";", "par", "=", "PATTERN", "(", "insn", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "par", ")", "==", "PARALLEL", ")", ";", "set", "=", "XVECEXP", "(", "par", ",", "0", ",", "0", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "set", ")", "==", "SET", ")", ";", "mem", "=", "SET_DEST", "(", "set", ")", ";", "gcc_assert", "(", "MEM_P", "(", "mem", ")", ")", ";", "MEM_NOTRAP_P", "(", "mem", ")", "=", "1", ";", "set_mem_alias_set", "(", "mem", ",", "get_frame_alias_set", "(", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "VOIDmode", ",", "stack_reg", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_reg", ",", "GEN_INT", "(", "-", "size", ")", ")", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "correct", "code", "for", "allocating", "stack", "space", ",", "as", "insns", ".", "If", "COPY_R12", ",", "make", "sure", "a", "copy", "of", "the", "old", "frame", "is", "left", "in", "r12", ".", "The", "generated", "code", "may", "use", "hard", "register", "0", "as", "a", "temporary", "."], "TS_V_token": ["rs6000", "0", "0", "\"stack frame too large\"", "1", "31", "0", "\"stack limit expression is not supported\"", "0", "32767", "0", "0", "0", "1", "1"], "File": "rs60004", "Func": "rs6000_emit_allocate_stack", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5149, "Length": 440, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmBackend", "::", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "static", "const", "uint8_t", "Nops", "[", "10", "]", "[", "10", "]", "=", "{", "{", "0x90", "}", ",", "{", "0x66", ",", "0x90", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x40", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x44", ",", "0x00", ",", "0x00", "}", ",", "{", "0x66", ",", "0x0f", ",", "0x1f", ",", "0x44", ",", "0x00", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x80", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x84", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "{", "0x66", ",", "0x0f", ",", "0x1f", ",", "0x84", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "{", "0x66", ",", "0x2e", ",", "0x0f", ",", "0x1f", ",", "0x84", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "}", ";", "if", "(", "!", "HasNopl", ")", "{", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "<", "Count", ";", "++", "i", ")", "OW", "->", "Write8", "(", "0x90", ")", ";", "return", "true", ";", "}", "do", "{", "const", "uint8_t", "ThisNopLength", "=", "(", "uint8_t", ")", "std", "::", "min", "(", "Count", ",", "(", "uint64_t", ")", "15", ")", ";", "const", "uint8_t", "Prefixes", "=", "ThisNopLength", "<=", "10", "?", "0", ":", "ThisNopLength", "-", "10", ";", "for", "(", "uint8_t", "i", "=", "0", ";", "i", "<", "Prefixes", ";", "i", "++", ")", "OW", "->", "Write8", "(", "0x66", ")", ";", "const", "uint8_t", "Rest", "=", "ThisNopLength", "-", "Prefixes", ";", "for", "(", "uint8_t", "i", "=", "0", ";", "i", "<", "Rest", ";", "i", "++", ")", "OW", "->", "Write8", "(", "Nops", "[", "Rest", "-", "1", "]", "[", "i", "]", ")", ";", "Count", "-=", "ThisNopLength", ";", "}", "while", "(", "Count", "!=", "0", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["X86", "X86", "10", "10", "0x90", "0x66", "0x90", "0x0f", "0x1f", "0x00", "0x0f", "0x1f", "0x40", "0x00", "0x0f", "0x1f", "0x44", "0x00", "0x00", "0x66", "0x0f", "0x1f", "0x44", "0x00", "0x00", "0x0f", "0x1f", "0x80", "0x00", "0x00", "0x00", "0x00", "0x0f", "0x1f", "0x84", "0x00", "0x00", "0x00", "0x00", "0x00", "0x66", "0x0f", "0x1f", "0x84", "0x00", "0x00", "0x00", "0x00", "0x00", "0x66", "0x2e", "0x0f", "0x1f", "0x84", "0x00", "0x00", "0x00", "0x00", "0x00", "0", "0x90", "15", "10", "0", "10", "0", "0x66", "0", "1", "0"], "File": "X86AsmBackend27", "Func": "writeNopData", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5150, "Length": 298, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "constant_int_to_128bit_vector", "(", "rtx", "op", ",", "machine_mode", "mode", ",", "size_t", "byte_num", ",", "vec_const_128bit_type", "*", "info", ")", "{", "unsigned", "HOST_WIDE_INT", "uvalue", "=", "UINTVAL", "(", "op", ")", ";", "unsigned", "bitsize", "=", "GET_MODE_BITSIZE", "(", "mode", ")", ";", "for", "(", "int", "shift", "=", "bitsize", "-", "8", ";", "shift", ">=", "0", ";", "shift", "-=", "8", ")", "info", "->", "bytes", "[", "byte_num", "++", "]", "=", "(", "uvalue", ">>", "shift", ")", "&", "0xff", ";", "}", ""], "natrual_language": ["Copy", "an", "integer", "constant", "to", "the", "vector", "constant", "structure", "."], "TS_V_token": ["rs6000", "8", "0", "8", "0xff"], "File": "rs6000", "Func": "constant_int_to_128bit_vector", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5151, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCRegisterInfo", "::", "isFrameOffsetLegal", "(", "const", "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!\"", ")", ";", "}", "unsigned", "OffsetOperandNo", "=", "getOffsetONFromFION", "(", "*", "MI", ",", "FIOperandNum", ")", ";", "Offset", "+=", "MI", "->", "getOperand", "(", "OffsetOperandNo", ")", ".", "getImm", "(", ")", ";", "return", "MI", "->", "getOpcode", "(", ")", "==", "PPC", "::", "DBG_VALUE", "||", "MI", "->", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "STACKMAP", "||", "MI", "->", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "PATCHPOINT", "||", "(", "isInt", "<", "16", ">", "(", "Offset", ")", "&&", "(", "Offset", "%", "offsetMinAlign", "(", "*", "MI", ")", ")", "==", "0", ")", ";", "}", ""], "natrual_language": ["Determine", "whether", "a", "given", "base", "register", "plus", "offset", "immediate", "is", "encodable", "to", "resolve", "a", "frame", "index", "."], "TS_V_token": ["PowerPC", "PPC", "0", "\"Instr doesn't have FrameIndex operand!\"", "PPC::DBG_VALUE", "16", "0"], "File": "PPCRegisterInfo (2)2", "Func": "isFrameOffsetLegal", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5152, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "F2003fFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "assert", "(", "&", "MF", ".", "front", "(", ")", "==", "&", "MBB", "&&", "\"Shrink-wrapping not yet supported\"", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "F2003fInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "F2003fInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "DL", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "StackSize", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "F2003f", "::", "NTAri", ")", ",", "F2003f", "::", "F5", ")", ".", "addReg", "(", "F2003f", "::", "F5", ")", ".", "addImm", "(", "StackSize", ")", ";", "}", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["F2003f", "F2003f", "\"Shrink-wrapping not yet supported\"", "F2003f", "F2003f", "F2003f::NTAri", "F2003f::F5", "F2003f::F5"], "File": "F2003fFrameLowering", "Func": "emitPrologue", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5153, "Length": 146, "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", ">", "(", ")", ";", "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", ")", ";", "}", "}", "}", "MachineModuleInfoMachO", "::", "SymbolListTy", "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", "(", ")", ";", "}", "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"], "File": "PPCAsmPrinter (2)1", "Func": "doFinalization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5154, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "const", "SystemZInstrInfo", "*", "ZII", "=", "static_cast", "<", "const", "SystemZInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "SystemZMachineFunctionInfo", "*", "ZFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "assert", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "SystemZ", "::", "RET", "&&", "\"Can only insert epilogue into returning blocks\"", ")", ";", "uint64_t", "StackSize", "=", "getAllocatedStackSize", "(", "MF", ")", ";", "if", "(", "ZFI", "->", "getLowSavedGPR", "(", ")", ")", "{", "--", "MBBI", ";", "unsigned", "Opcode", "=", "MBBI", "->", "getOpcode", "(", ")", ";", "if", "(", "Opcode", "!=", "SystemZ", "::", "LMG", ")", "llvm_unreachable", "(", "\"Expected to see callee-save register restore code\"", ")", ";", "unsigned", "AddrOpNo", "=", "2", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "uint64_t", "Offset", "=", "StackSize", "+", "MBBI", "->", "getOperand", "(", "AddrOpNo", "+", "1", ")", ".", "getImm", "(", ")", ";", "unsigned", "NewOpcode", "=", "ZII", "->", "getOpcodeForOffset", "(", "Opcode", ",", "Offset", ")", ";", "if", "(", "!", "NewOpcode", ")", "{", "uint64_t", "NumBytes", "=", "Offset", "-", "0x7fff8", ";", "emitIncrement", "(", "MBB", ",", "MBBI", ",", "DL", ",", "MBBI", "->", "getOperand", "(", "AddrOpNo", ")", ".", "getReg", "(", ")", ",", "NumBytes", ",", "ZII", ")", ";", "Offset", "-=", "NumBytes", ";", "NewOpcode", "=", "ZII", "->", "getOpcodeForOffset", "(", "Opcode", ",", "Offset", ")", ";", "assert", "(", "NewOpcode", "&&", "\"No restore instruction available\"", ")", ";", "}", "MBBI", "->", "setDesc", "(", "ZII", "->", "get", "(", "NewOpcode", ")", ")", ";", "MBBI", "->", "getOperand", "(", "AddrOpNo", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", "else", "if", "(", "StackSize", ")", "{", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "emitIncrement", "(", "MBB", ",", "MBBI", ",", "DL", ",", "SystemZ", "::", "R15D", ",", "StackSize", ",", "ZII", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ::RET", "\"Can only insert epilogue into returning blocks\"", "SystemZ::LMG", "\"Expected to see callee-save register restore code\"", "2", "1", "0x7fff8", "\"No restore instruction available\"", "1", "SystemZ::R15D"], "File": "SystemZFrameLowering13", "Func": "emitEpilogue", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5155, "Length": 284, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "scalar_chain", "::", "build", "(", "bitmap", "candidates", ",", "unsigned", "insn_uid", ",", "bitmap", "disallowed", ")", "{", "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", ")", ";", "if", "(", "!", "add_insn", "(", "candidates", ",", "insn_uid", ",", "disallowed", ")", ")", "{", "bitmap_ior_into", "(", "disallowed", ",", "insns", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Aborted chain #%d discovery\\n\"", ",", "chain_id", ")", ";", "BITMAP_FREE", "(", "queue", ")", ";", "return", "false", ";", "}", "}", "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", ")", ";", "return", "true", ";", "}", ""], "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\"", "\"Aborted chain #%d discovery\\n\"", "\"Collected chain #%d...\\n\"", "\" insns: \"", "\"\"", "\" defs to convert: \"", "0", "\"%sr%d\"", "\", \"", "\"\\n\""], "File": "i386-features1", "Func": "build", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5156, "Length": 217, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "handle_arm_neon_h", "(", "void", ")", "{", "aarch64_simd_switcher", "simd", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "ARM_NEON_H_TYPES_LAST", ";", "i", "++", ")", "for", "(", "unsigned", "int", "count", "=", "2", ";", "count", "<=", "4", ";", "++", "count", ")", "if", "(", "!", "aarch64_scalar_builtin_type_p", "(", "aarch64_simd_types", "[", "i", "]", ".", "type", ")", ")", "register_tuple_type", "(", "count", ",", "i", ")", ";", "aarch64_init_simd_builtin_functions", "(", "true", ")", ";", "}", ""], "natrual_language": ["Implement", "#", "pragma", "GCC", "aarch64", "``", "arm_neon.h", "''", ".", "The", "types", "and", "functions", "defined", "here", "need", "to", "be", "available", "internally", "during", "LTO", "as", "well", "."], "TS_V_token": ["aarch64", "0", "2", "4"], "File": "aarch64-builtins", "Func": "handle_arm_neon_h", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5157, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_emit_i387_acosh", "(", "rtx", "op0", ",", "rtx", "op1", ")", "{", "rtx", "e1", "=", "gen_reg_rtx", "(", "XFmode", ")", ";", "rtx", "e2", "=", "gen_reg_rtx", "(", "XFmode", ")", ";", "rtx", "cst1", "=", "force_reg", "(", "XFmode", ",", "CONST1_RTX", "(", "XFmode", ")", ")", ";", "emit_insn", "(", "gen_addxf3", "(", "e2", ",", "op1", ",", "cst1", ")", ")", ";", "emit_insn", "(", "gen_sqrtxf2", "(", "e2", ",", "e2", ")", ")", ";", "emit_insn", "(", "gen_subxf3", "(", "e1", ",", "op1", ",", "cst1", ")", ")", ";", "emit_insn", "(", "gen_sqrtxf2", "(", "e1", ",", "e1", ")", ")", ";", "emit_insn", "(", "gen_mulxf3", "(", "e1", ",", "e1", ",", "e2", ")", ")", ";", "emit_insn", "(", "gen_addxf3", "(", "e1", ",", "e1", ",", "op1", ")", ")", ";", "emit_insn", "(", "gen_logxf2", "(", "op0", ",", "e1", ")", ")", ";", "}", ""], "natrual_language": ["Output", "code", "to", "perform", "an", "acosh", "XFmode", "calculation", "."], "TS_V_token": ["i386"], "File": "i386-expand", "Func": "ix86_emit_i387_acosh", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5158, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_restore_callee_saves", "(", "poly_int64", "start_offset", ",", "unsigned", "start", ",", "unsigned", "limit", ",", "bool", "skip_wb", ",", "rtx", "*", "cfi_ops", ")", "{", "unsigned", "regno", ";", "unsigned", "regno2", ";", "poly_int64", "offset", ";", "rtx", "anchor_reg", "=", "NULL_RTX", ",", "ptrue", "=", "NULL_RTX", ";", "for", "(", "regno", "=", "aarch64_next_callee_save", "(", "start", ",", "limit", ")", ";", "regno", "<=", "limit", ";", "regno", "=", "aarch64_next_callee_save", "(", "regno", "+", "1", ",", "limit", ")", ")", "{", "bool", "frame_related_p", "=", "aarch64_emit_cfi_for_reg_p", "(", "regno", ")", ";", "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", ";", "machine_mode", "mode", "=", "aarch64_reg_save_mode", "(", "regno", ")", ";", "reg", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "offset", "=", "start_offset", "+", "cfun", "->", "machine", "->", "frame", ".", "reg_offset", "[", "regno", "]", ";", "rtx", "base_rtx", "=", "stack_pointer_rtx", ";", "if", "(", "mode", "==", "VNx2DImode", "&&", "BYTES_BIG_ENDIAN", ")", "aarch64_adjust_sve_callee_save_base", "(", "mode", ",", "base_rtx", ",", "anchor_reg", ",", "offset", ",", "ptrue", ")", ";", "mem", "=", "gen_frame_mem", "(", "mode", ",", "plus_constant", "(", "Pmode", ",", "base_rtx", ",", "offset", ")", ")", ";", "if", "(", "!", "aarch64_sve_mode_p", "(", "mode", ")", "&&", "(", "regno2", "=", "aarch64_next_callee_save", "(", "regno", "+", "1", ",", "limit", ")", ")", "<=", "limit", "&&", "!", "cfun", "->", "machine", "->", "reg_is_wrapped_separately", "[", "regno2", "]", "&&", "known_eq", "(", "GET_MODE_SIZE", "(", "mode", ")", ",", "cfun", "->", "machine", "->", "frame", ".", "reg_offset", "[", "regno2", "]", "-", "cfun", "->", "machine", "->", "frame", ".", "reg_offset", "[", "regno", "]", ")", ")", "{", "rtx", "reg2", "=", "gen_rtx_REG", "(", "mode", ",", "regno2", ")", ";", "rtx", "mem2", ";", "offset", "+=", "GET_MODE_SIZE", "(", "mode", ")", ";", "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", "if", "(", "mode", "==", "VNx2DImode", "&&", "BYTES_BIG_ENDIAN", ")", "emit_insn", "(", "gen_aarch64_pred_mov", "(", "mode", ",", "reg", ",", "ptrue", ",", "mem", ")", ")", ";", "else", "if", "(", "aarch64_sve_mode_p", "(", "mode", ")", ")", "emit_insn", "(", "gen_rtx_SET", "(", "reg", ",", "mem", ")", ")", ";", "else", "emit_move_insn", "(", "reg", ",", "mem", ")", ";", "if", "(", "frame_related_p", ")", "*", "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": "aarch64", "Func": "aarch64_restore_callee_saves", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5159, "Length": 396, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CSKYFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["CSKY", "CSKY"], "File": "CSKYFrameLowering", "Func": "emitEpilogue", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5160, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBankInfo", "::", "InstructionMapping", "&", "X86RegisterBankInfo", "::", "getInstrMapping", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "auto", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "!", "isPreISelGenericOpcode", "(", "Opc", ")", ")", "{", "const", "InstructionMapping", "&", "Mapping", "=", "getInstrMappingImpl", "(", "MI", ")", ";", "if", "(", "Mapping", ".", "isValid", "(", ")", ")", "return", "Mapping", ";", "}", "switch", "(", "Opc", ")", "{", "case", "TargetOpcode", "::", "G_ADD", ":", "case", "TargetOpcode", "::", "G_SUB", ":", "return", "getSameOperandsMapping", "(", "MI", ",", "false", ")", ";", "break", ";", "case", "TargetOpcode", "::", "G_FADD", ":", "case", "TargetOpcode", "::", "G_FSUB", ":", "case", "TargetOpcode", "::", "G_FMUL", ":", "case", "TargetOpcode", "::", "G_FDIV", ":", "return", "getSameOperandsMapping", "(", "MI", ",", "true", ")", ";", "break", ";", "default", ":", "break", ";", "}", "unsigned", "NumOperands", "=", "MI", ".", "getNumOperands", "(", ")", ";", "SmallVector", "<", "PartialMappingIdx", ",", "4", ">", "OpRegBankIdx", "(", "NumOperands", ")", ";", "getInstrPartialMappingIdxs", "(", "MI", ",", "MRI", ",", "false", ",", "OpRegBankIdx", ")", ";", "SmallVector", "<", "const", "ValueMapping", "*", ",", "8", ">", "OpdsMapping", "(", "NumOperands", ")", ";", "if", "(", "!", "getInstrValueMapping", "(", "MI", ",", "OpRegBankIdx", ",", "OpdsMapping", ")", ")", "return", "getInvalidInstructionMapping", "(", ")", ";", "return", "getInstructionMapping", "(", "DefaultMappingID", ",", "1", ",", "getOperandsMapping", "(", "OpdsMapping", ")", ",", "NumOperands", ")", ";", "}", ""], "natrual_language": ["Get", "the", "mapping", "of", "the", "different", "operands", "of", "MI", "on", "the", "register", "bank", "."], "TS_V_token": ["X86", "X86", "4", "8", "1"], "File": "X86RegisterBankInfo17", "Func": "getInstrMapping", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5161, "Length": 220, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_mode_needed", "(", "int", "entity", ",", "rtx_insn", "*", "insn", ")", "{", "switch", "(", "entity", ")", "{", "case", "X86_DIRFLAG", ":", "return", "ix86_dirflag_mode_needed", "(", "insn", ")", ";", "case", "AVX_U128", ":", "return", "ix86_avx_u128_mode_needed", "(", "insn", ")", ";", "case", "I387_TRUNC", ":", "case", "I387_FLOOR", ":", "case", "I387_CEIL", ":", "case", "I387_MASK_PM", ":", "return", "ix86_i387_mode_needed", "(", "entity", ",", "insn", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "needed", "mode", "for", "entity", "in", "optimize_mode_switching", "pass", "."], "TS_V_token": ["i386", "0"], "File": "i3866", "Func": "ix86_mode_needed", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5162, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_branch", "(", "rtx", "insn", ")", "{", "return", "(", "CALL_P", "(", "insn", ")", "||", "JUMP_P", "(", "insn", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "insn", "is", "a", "branch", "instruction", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "is_branch", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5163, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPreSched2", "(", ")", "{", "addPass", "(", "createAArch64ExpandPseudoPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "EnableLoadStoreOpt", ")", "addPass", "(", "createAArch64LoadStoreOptimizationPass", "(", ")", ")", ";", "}", "addPass", "(", "createAArch64SpeculationHardeningPass", "(", ")", ")", ";", "addPass", "(", "createAArch64IndirectThunks", "(", ")", ")", ";", "addPass", "(", "createAArch64SLSHardeningPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "EnableFalkorHWPFFix", ")", "addPass", "(", "createFalkorHWPFFixPass", "(", ")", ")", ";", "}", "}", ""], "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", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine27", "Func": "addPreSched2", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5164, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetLowering", "::", "LowerAsmOperandForConstraint", "(", "SDValue", "Op", ",", "char", "Constraint", ",", "bool", "hasMemory", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "Ops", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDValue", "Result", "(", "0", ",", "0", ")", ";", "switch", "(", "Constraint", ")", "{", "default", ":", "break", ";", "case", "'I'", ":", "case", "'J'", ":", "case", "'K'", ":", "case", "'L'", ":", "case", "'M'", ":", "case", "'N'", ":", "case", "'O'", ":", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ";", "if", "(", "!", "C", ")", "return", ";", "int64_t", "CVal64", "=", "C", "->", "getSExtValue", "(", ")", ";", "int", "CVal", "=", "(", "int", ")", "CVal64", ";", "if", "(", "CVal", "!=", "CVal64", ")", "return", ";", "switch", "(", "Constraint", ")", "{", "case", "'I'", ":", "if", "(", "Subtarget", "->", "isThumb", "(", ")", ")", "{", "if", "(", "CVal", ">=", "0", "&&", "CVal", "<=", "255", ")", "break", ";", "}", "else", "{", "if", "(", "ARM_AM", "::", "getSOImmVal", "(", "CVal", ")", "!=", "-", "1", ")", "break", ";", "}", "return", ";", "case", "'J'", ":", "if", "(", "Subtarget", "->", "isThumb", "(", ")", ")", "{", "if", "(", "CVal", ">=", "-", "255", "&&", "CVal", "<=", "-", "1", ")", "break", ";", "}", "else", "{", "if", "(", "CVal", ">=", "-", "4095", "&&", "CVal", "<=", "4095", ")", "break", ";", "}", "return", ";", "case", "'K'", ":", "if", "(", "Subtarget", "->", "isThumb", "(", ")", ")", "{", "if", "(", "CVal", "!=", "0", "&&", "ARM_AM", "::", "isThumbImmShiftedVal", "(", "CVal", ")", ")", "break", ";", "}", "else", "{", "if", "(", "ARM_AM", "::", "getSOImmVal", "(", "~", "CVal", ")", "!=", "-", "1", ")", "break", ";", "}", "return", ";", "case", "'L'", ":", "if", "(", "Subtarget", "->", "isThumb", "(", ")", ")", "{", "if", "(", "CVal", ">=", "-", "7", "&&", "CVal", "<", "7", ")", "break", ";", "}", "else", "{", "if", "(", "ARM_AM", "::", "getSOImmVal", "(", "-", "CVal", ")", "!=", "-", "1", ")", "break", ";", "}", "return", ";", "case", "'M'", ":", "if", "(", "Subtarget", "->", "isThumb", "(", ")", ")", "{", "if", "(", "(", "CVal", ">=", "0", "&&", "CVal", "<=", "1020", ")", "&&", "(", "(", "CVal", "&", "3", ")", "==", "0", ")", ")", "break", ";", "}", "else", "{", "if", "(", "(", "CVal", ">=", "0", "&&", "CVal", "<=", "32", ")", "||", "(", "(", "CVal", "&", "(", "CVal", "-", "1", ")", ")", "==", "0", ")", ")", "break", ";", "}", "return", ";", "case", "'N'", ":", "if", "(", "Subtarget", "->", "isThumb", "(", ")", ")", "{", "if", "(", "CVal", ">=", "0", "&&", "CVal", "<=", "31", ")", "break", ";", "}", "return", ";", "case", "'O'", ":", "if", "(", "Subtarget", "->", "isThumb", "(", ")", ")", "{", "if", "(", "(", "CVal", ">=", "-", "508", "&&", "CVal", "<=", "508", ")", "&&", "(", "(", "CVal", "&", "3", ")", "==", "0", ")", ")", "break", ";", "}", "return", ";", "}", "Result", "=", "DAG", ".", "getTargetConstant", "(", "CVal", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "}", "if", "(", "Result", ".", "getNode", "(", ")", ")", "{", "Ops", ".", "push_back", "(", "Result", ")", ";", "return", ";", "}", "return", "TargetLowering", "::", "LowerAsmOperandForConstraint", "(", "Op", ",", "Constraint", ",", "hasMemory", ",", "Ops", ",", "DAG", ")", ";", "}", ""], "natrual_language": ["Lower", "the", "specified", "operand", "into", "the", "Ops", "vector", "."], "TS_V_token": ["ARM", "ARM", "0", "0", "0", "255", "ARM_AM::getSOImmVal", "1", "255", "1", "4095", "4095", "0", "ARM_AM::isThumbImmShiftedVal", "ARM_AM::getSOImmVal", "1", "7", "7", "ARM_AM::getSOImmVal", "1", "0", "1020", "3", "0", "0", "32", "1", "0", "0", "31", "508", "508", "3", "0"], "File": "ARMISelLowering57", "Func": "LowerAsmOperandForConstraint", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5165, "Length": 491, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "assert", "(", "&", "MF", ".", "front", "(", ")", "==", "&", "MBB", "&&", "\"Shrink-wrapping not yet supported\"", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "Mips16InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "Mips16InstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "0", "&&", "!", "MFI", ".", "adjustsStack", "(", ")", ")", "return", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "MCRegisterInfo", "*", "MRI", "=", "MMI", ".", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "TII", ".", "makeFrame", "(", "Mips", "::", "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", ".", "empty", "(", ")", ")", "{", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "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", "DReg", "=", "MRI", "->", "getDwarfRegNum", "(", "Reg", ",", "true", ")", ";", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createOffset", "(", "nullptr", ",", "DReg", ",", "Offset", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "}", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "MoveR3216", ")", ",", "Mips", "::", "S0", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "\"Shrink-wrapping not yet supported\"", "Mips", "Mips", "0", "Mips::SP", "Mips::MoveR3216", "Mips::S0", "Mips::SP"], "File": "Mips16FrameLowering9", "Func": "emitPrologue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5166, "Length": 378, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPostRegAlloc", "(", ")", "{", "addPass", "(", "createX86LowerTileCopyPass", "(", ")", ")", ";", "addPass", "(", "createX86FloatingPointStackifierPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createX86LoadValueInjectionLoadHardeningPass", "(", ")", ")", ";", "}", ""], "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": "X86TargetMachine114", "Func": "addPostRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5167, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "MCFixupKind", ">", "AArch64AsmBackend", "::", "getFixupKind", "(", "StringRef", "Name", ")", "const", "{", "if", "(", "!", "TheTriple", ".", "isOSBinFormatELF", "(", ")", ")", "return", "None", ";", "unsigned", "Type", "=", "llvm", "::", "StringSwitch", "<", "unsigned", ">", "(", "Name", ")", ".", "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": ["AArch64", "AArch64", "1u", "1u"], "File": "AArch64AsmBackend17", "Func": "getFixupKind", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5168, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "altivec_expand_vec_ext_builtin", "(", "tree", "exp", ",", "rtx", "target", ")", "{", "machine_mode", "tmode", ",", "mode0", ";", "tree", "arg0", ",", "arg1", ";", "rtx", "op0", ";", "rtx", "op1", ";", "arg0", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "arg1", "=", "CALL_EXPR_ARG", "(", "exp", ",", "1", ")", ";", "op0", "=", "expand_normal", "(", "arg0", ")", ";", "op1", "=", "expand_normal", "(", "arg1", ")", ";", "if", "(", "TREE_CODE", "(", "arg1", ")", "==", "INTEGER_CST", ")", "(", "void", ")", "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", ")", ";", "rs6000_expand_vector_extract", "(", "target", ",", "op0", ",", "op1", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Expand", "vec_ext", "builtin", "."], "TS_V_token": ["powerpcspe", "0", "1"], "File": "powerpcspe", "Func": "altivec_expand_vec_ext_builtin", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5169, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ")", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Mips", "::", "RDHWR", ":", "case", "Mips", "::", "RDHWR64", ":", "O", "<<", "\"\\t.set\\tpush\\n\"", ";", "O", "<<", "\"\\t.set\\tmips32r2\\n\"", ";", "break", ";", "case", "Mips", "::", "Save16", ":", "O", "<<", "\"\\tsave\\t\"", ";", "printSaveRestore", "(", "MI", ",", "O", ")", ";", "O", "<<", "\" # 16 bit inst\\n\"", ";", "return", ";", "case", "Mips", "::", "SaveX16", ":", "O", "<<", "\"\\tsave\\t\"", ";", "printSaveRestore", "(", "MI", ",", "O", ")", ";", "O", "<<", "\"\\n\"", ";", "return", ";", "case", "Mips", "::", "Restore16", ":", "O", "<<", "\"\\trestore\\t\"", ";", "printSaveRestore", "(", "MI", ",", "O", ")", ";", "O", "<<", "\" # 16 bit inst\\n\"", ";", "return", ";", "case", "Mips", "::", "RestoreX16", ":", "O", "<<", "\"\\trestore\\t\"", ";", "printSaveRestore", "(", "MI", ",", "O", ")", ";", "O", "<<", "\"\\n\"", ";", "return", ";", "}", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "O", ")", "&&", "!", "printAlias", "(", "*", "MI", ",", "O", ")", ")", "printInstruction", "(", "MI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Mips", "::", "RDHWR", ":", "case", "Mips", "::", "RDHWR64", ":", "O", "<<", "\"\\n\\t.set\\tpop\"", ";", "}", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["Mips", "Mips", "Mips::RDHWR", "Mips::RDHWR64", "\"\\t.set\\tpush\\n\"", "\"\\t.set\\tmips32r2\\n\"", "Mips::Save16", "\"\\tsave\\t\"", "\" # 16 bit inst\\n\"", "Mips::SaveX16", "\"\\tsave\\t\"", "\"\\n\"", "Mips::Restore16", "\"\\trestore\\t\"", "\" # 16 bit inst\\n\"", "Mips::RestoreX16", "\"\\trestore\\t\"", "\"\\n\"", "Mips::RDHWR", "Mips::RDHWR64", "\"\\n\\t.set\\tpop\""], "File": "MipsInstPrinter", "Func": "printInst", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5170, "Length": 202, "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": 5171, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64FastISel", "::", "fastMaterializeConstant", "(", "const", "Constant", "*", "C", ")", "{", "EVT", "CEVT", "=", "TLI", ".", "getValueType", "(", "DL", ",", "C", "->", "getType", "(", ")", ",", "true", ")", ";", "if", "(", "!", "CEVT", ".", "isSimple", "(", ")", ")", "return", "0", ";", "MVT", "VT", "=", "CEVT", ".", "getSimpleVT", "(", ")", ";", "if", "(", "const", "auto", "*", "CI", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "C", ")", ")", "return", "materializeInt", "(", "CI", ",", "VT", ")", ";", "else", "if", "(", "const", "ConstantFP", "*", "CFP", "=", "dyn_cast", "<", "ConstantFP", ">", "(", "C", ")", ")", "return", "materializeFP", "(", "CFP", ",", "VT", ")", ";", "else", "if", "(", "const", "GlobalValue", "*", "GV", "=", "dyn_cast", "<", "GlobalValue", ">", "(", "C", ")", ")", "return", "materializeGV", "(", "GV", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Emit", "a", "constant", "in", "a", "register", "using", "target-specific", "logic", ",", "such", "as", "constant", "pool", "loads", "."], "TS_V_token": ["AArch64", "AArch64", "0", "0"], "File": "AArch64FastISel (2)", "Func": "fastMaterializeConstant", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5172, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsMCCodeEmitter", "::", "getBranchTargetOpValueMM", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ">>", "1", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"getBranchTargetOpValueMM expects only expressions or immediates\"", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "Expr", ",", "MCFixupKind", "(", "Mips", "::", "fixup_MICROMIPS_PC16_S1", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "microMIPS", "branch", "target", "operand", "."], "TS_V_token": ["Mips", "Mips", "1", "\"getBranchTargetOpValueMM expects only expressions or immediates\"", "0", "Mips", "0"], "File": "MipsMCCodeEmitter (2)", "Func": "getBranchTargetOpValueMM", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5173, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "canInsertSelect", "(", "const", "MachineBasicBlock", "&", "MBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "unsigned", "DstReg", ",", "unsigned", "TrueReg", ",", "unsigned", "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": "X86InstrInfo106", "Func": "canInsertSelect", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5174, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "IA64RegisterInfo", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "NoFramePointerElim", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["IA64", "IA64"], "File": "IA64RegisterInfo", "Func": "hasFP", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5175, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "SystemZHazardRecognizer", "::", "groupingCost", "(", "SUnit", "*", "SU", ")", "const", "{", "const", "MCSchedClassDesc", "*", "SC", "=", "getSchedClass", "(", "SU", ")", ";", "if", "(", "!", "SC", "->", "isValid", "(", ")", ")", "return", "0", ";", "if", "(", "SC", "->", "BeginGroup", ")", "{", "if", "(", "CurrGroupSize", ")", "return", "3", "-", "CurrGroupSize", ";", "return", "-", "1", ";", "}", "if", "(", "SC", "->", "EndGroup", ")", "{", "unsigned", "resultingGroupSize", "=", "(", "CurrGroupSize", "+", "getNumDecoderSlots", "(", "SU", ")", ")", ";", "if", "(", "resultingGroupSize", "<", "3", ")", "return", "(", "3", "-", "resultingGroupSize", ")", ";", "return", "-", "1", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "decoder", "grouping", "for", "SU", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "3", "1", "3", "3", "1", "0"], "File": "SystemZHazardRecognizer1", "Func": "groupingCost", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5176, "Length": 95, "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", ")", ",", "HasPOPCNT", "(", "false", ")", ",", "HasSSE4A", "(", "false", ")", ",", "HasAVX", "(", "false", ")", ",", "HasAES", "(", "false", ")", ",", "HasCLMUL", "(", "false", ")", ",", "HasFMA3", "(", "false", ")", ",", "HasFMA4", "(", "false", ")", ",", "IsBTMemSlow", "(", "false", ")", ",", "IsUAMemFast", "(", "false", ")", ",", "HasVectorUAMem", "(", "false", ")", ",", "stackAlignment", "(", "8", ")", ",", "MaxInlineSizeThreshold", "(", "128", ")", ",", "TargetTriple", "(", "TT", ")", ",", "Is64Bit", "(", "is64Bit", ")", "{", "if", "(", "FloatABIType", "==", "FloatABI", "::", "Default", ")", "FloatABIType", "=", "FloatABI", "::", "Hard", ";", "if", "(", "!", "FS", ".", "empty", "(", ")", ")", "{", "std", "::", "string", "CPU", "=", "sys", "::", "getHostCPUName", "(", ")", ";", "ParseSubtargetFeatures", "(", "FS", ",", "CPU", ")", ";", "if", "(", "HasAVX", ")", "X86SSELevel", "=", "NoMMXSSE", ";", "}", "else", "{", "AutoDetectSubtargetFeatures", "(", ")", ";", "if", "(", "Is64Bit", "&&", "!", "HasAVX", "&&", "X86SSELevel", "<", "SSE2", ")", "X86SSELevel", "=", "SSE2", ";", "}", "if", "(", "Is64Bit", ")", "{", "HasX86_64", "=", "true", ";", "HasCMov", "=", "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", "(", "isTargetDarwin", "(", ")", "||", "isTargetFreeBSD", "(", ")", "||", "isTargetLinux", "(", ")", "||", "isTargetSolaris", "(", ")", "||", "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", "8", "128", "X86", "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!\"", "16"], "File": "X86Subtarget80", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5177, "Length": 272, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "rs6000_pltseq_template", "(", "rtx", "*", "operands", ",", "int", "which", ")", "{", "const", "char", "*", "rel64", "=", "TARGET_64BIT", "?", "\"64\"", ":", "\"\"", ";", "char", "tls", "[", "28", "]", ";", "tls", "[", "0", "]", "=", "0", ";", "if", "(", "TARGET_TLS_MARKERS", "&&", "GET_CODE", "(", "operands", "[", "3", "]", ")", "==", "UNSPEC", ")", "{", "if", "(", "XINT", "(", "operands", "[", "3", "]", ",", "1", ")", "==", "UNSPEC_TLSGD", ")", "sprintf", "(", "tls", ",", "\".reloc .,R_PPC%s_TLSGD,%%3\\n\\t\"", ",", "rel64", ")", ";", "else", "if", "(", "XINT", "(", "operands", "[", "3", "]", ",", "1", ")", "==", "UNSPEC_TLSLD", ")", "sprintf", "(", "tls", ",", "\".reloc .,R_PPC%s_TLSLD,%%&\\n\\t\"", ",", "rel64", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "gcc_assert", "(", "DEFAULT_ABI", "==", "ABI_ELFv2", "||", "DEFAULT_ABI", "==", "ABI_V4", ")", ";", "static", "char", "str", "[", "96", "]", ";", "const", "char", "*", "off", "=", "WORDS_BIG_ENDIAN", "?", "\"+2\"", ":", "\"\"", ";", "const", "char", "*", "addend", "=", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "TARGET_SECURE_PLT", "&&", "flag_pic", "==", "2", "?", "\"+32768\"", ":", "\"\"", ")", ";", "switch", "(", "which", ")", "{", "case", "0", ":", "sprintf", "(", "str", ",", "\"%s.reloc .,R_PPC%s_PLTSEQ,%%z2\\n\\t\"", "\"st%s\"", ",", "tls", ",", "rel64", ",", "TARGET_64BIT", "?", "\"d 2,24(1)\"", ":", "\"w 2,12(1)\"", ")", ";", "break", ";", "case", "1", ":", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "!", "flag_pic", ")", "sprintf", "(", "str", ",", "\"%s.reloc .%s,R_PPC%s_PLT16_HA,%%z2\\n\\t\"", "\"lis %%0,0\"", ",", "tls", ",", "off", ",", "rel64", ")", ";", "else", "sprintf", "(", "str", ",", "\"%s.reloc .%s,R_PPC%s_PLT16_HA,%%z2%s\\n\\t\"", "\"addis %%0,%%1,0\"", ",", "tls", ",", "off", ",", "rel64", ",", "addend", ")", ";", "break", ";", "case", "2", ":", "sprintf", "(", "str", ",", "\"%s.reloc .%s,R_PPC%s_PLT16_LO%s,%%z2%s\\n\\t\"", "\"l%s %%0,0(%%1)\"", ",", "tls", ",", "off", ",", "rel64", ",", "TARGET_64BIT", "?", "\"_DS\"", ":", "\"\"", ",", "addend", ",", "TARGET_64BIT", "?", "\"d\"", ":", "\"wz\"", ")", ";", "break", ";", "case", "3", ":", "sprintf", "(", "str", ",", "\"%s.reloc .,R_PPC%s_PLTSEQ,%%z2%s\\n\\t\"", "\"mtctr %%1\"", ",", "tls", ",", "rel64", ",", "addend", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "str", ";", "}", ""], "natrual_language": ["Output", "indirect", "call", "insns", ".", "WHICH", "is", "0", "for", "tocsave", ",", "1", "for", "plt16_ha", ",", "2", "for", "plt16_lo", ",", "3", "for", "mtctr", "."], "TS_V_token": ["rs6000", "\"64\"", "\"\"", "28", "0", "0", "3", "3", "1", "\".reloc .,R_PPC%s_TLSGD,%%3\\n\\t\"", "3", "1", "\".reloc .,R_PPC%s_TLSLD,%%&\\n\\t\"", "96", "\"+2\"", "\"\"", "2", "\"+32768\"", "\"\"", "0", "\"%s.reloc .,R_PPC%s_PLTSEQ,%%z2\\n\\t\"", "\"st%s\"", "\"d 2,24(1)\"", "\"w 2,12(1)\"", "1", "\"%s.reloc .%s,R_PPC%s_PLT16_HA,%%z2\\n\\t\"", "\"lis %%0,0\"", "\"%s.reloc .%s,R_PPC%s_PLT16_HA,%%z2%s\\n\\t\"", "\"addis %%0,%%1,0\"", "2", "\"%s.reloc .%s,R_PPC%s_PLT16_LO%s,%%z2%s\\n\\t\"", "\"l%s %%0,0(%%1)\"", "\"_DS\"", "\"\"", "\"d\"", "\"wz\"", "3", "\"%s.reloc .,R_PPC%s_PLTSEQ,%%z2%s\\n\\t\"", "\"mtctr %%1\""], "File": "rs60008", "Func": "rs6000_pltseq_template", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5178, "Length": 291, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "PPCFrameLowering", "::", "determineFrameLayout", "(", "const", "MachineFunction", "&", "MF", ",", "bool", "UseEstimate", ",", "unsigned", "*", "NewMaxCallFrameSize", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "PPCFunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", ";", "uint64_t", "FrameSize", "=", "UseEstimate", "?", "MFI", ".", "estimateStackSize", "(", "MF", ")", ":", "MFI", ".", "getStackSize", "(", ")", ";", "Align", "TargetAlign", "=", "getStackAlign", "(", ")", ";", "Align", "MaxAlign", "=", "MFI", ".", "getMaxAlign", "(", ")", ";", "Align", "Alignment", "=", "std", "::", "max", "(", "TargetAlign", ",", "MaxAlign", ")", ";", "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", "=", "alignTo", "(", "maxCallFrameSize", ",", "Alignment", ")", ";", "if", "(", "NewMaxCallFrameSize", ")", "*", "NewMaxCallFrameSize", "=", "maxCallFrameSize", ";", "FrameSize", "+=", "maxCallFrameSize", ";", "FrameSize", "=", "alignTo", "(", "FrameSize", ",", "Alignment", ")", ";", "return", "FrameSize", ";", "}", ""], "natrual_language": ["Determine", "the", "frame", "layout", "but", "do", "not", "update", "the", "machine", "function", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "0"], "File": "PPCFrameLowering16", "Func": "determineFrameLayout", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5179, "Length": 261, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTTIImpl", "::", "isNumRegsMajorCostOfLSR", "(", ")", "{", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "LSR", "major", "cost", "is", "number", "of", "registers", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCTargetTransformInfo1", "Func": "isNumRegsMajorCostOfLSR", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5180, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "ix86_constant_alignment", "(", "const_tree", "exp", ",", "HOST_WIDE_INT", "align", ")", "{", "if", "(", "TREE_CODE", "(", "exp", ")", "==", "REAL_CST", "||", "TREE_CODE", "(", "exp", ")", "==", "VECTOR_CST", "||", "TREE_CODE", "(", "exp", ")", "==", "INTEGER_CST", ")", "{", "machine_mode", "mode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "exp", ")", ")", ";", "HOST_WIDE_INT", "mode_align", "=", "ix86_static_rtx_alignment", "(", "mode", ")", ";", "return", "MAX", "(", "mode_align", ",", "align", ")", ";", "}", "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", "31"], "File": "i386", "Func": "ix86_constant_alignment", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5181, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_probe_stack_range", "(", "rtx", "reg1", ",", "rtx", "reg2", ")", "{", "static", "int", "labelno", "=", "0", ";", "char", "loop_lab", "[", "32", "]", ";", "rtx", "xops", "[", "3", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "loop_lab", ",", "\"LPSRL\"", ",", "labelno", "++", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "loop_lab", ")", ";", "xops", "[", "0", "]", "=", "reg1", ";", "xops", "[", "1", "]", "=", "GEN_INT", "(", "-", "PROBE_INTERVAL", ")", ";", "output_asm_insn", "(", "\"addl %0 = %1, %0\"", ",", "xops", ")", ";", "fputs", "(", "\"\\t;;\\n\"", ",", "asm_out_file", ")", ";", "output_asm_insn", "(", "\"probe.w.fault %0, 0\"", ",", "xops", ")", ";", "xops", "[", "1", "]", "=", "reg2", ";", "xops", "[", "2", "]", "=", "gen_rtx_REG", "(", "BImode", ",", "PR_REG", "(", "6", ")", ")", ";", "output_asm_insn", "(", "\"cmp.eq %2, %I2 = %0, %1\"", ",", "xops", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t(%s) br.cond.dpnt \"", ",", "reg_names", "[", "PR_REG", "(", "7", ")", "]", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "loop_lab", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Wrapper", "around", "the", "output_probe_stack_range", "routines", "."], "TS_V_token": ["ia64", "0", "32", "3", "\"LPSRL\"", "0", "1", "\"addl %0 = %1, %0\"", "\"\\t;;\\n\"", "\"probe.w.fault %0, 0\"", "1", "2", "6", "\"cmp.eq %2, %I2 = %0, %1\"", "\"\\t(%s) br.cond.dpnt \"", "7", "\"\""], "File": "ia64", "Func": "output_probe_stack_range", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5182, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createAArch64ISelDAG", "(", "getAArch64TargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "if", "(", "getAArch64Subtarget", "(", ")", ".", "isTargetELF", "(", ")", "&&", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createAArch64CleanupLocalDynamicTLSPass", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine26", "Func": "addInstSelector", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5183, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"Thumb2 instruction size reduction pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"Thumb2 instruction size reduction pass\""], "File": "Thumb2SizeReduction (2)", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5184, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "mips_debugger_offset", "(", "rtx", "addr", ",", "HOST_WIDE_INT", "offset", ")", "{", "rtx", "offset2", "=", "const0_rtx", ";", "rtx", "reg", "=", "eliminate_constant_term", "(", "addr", ",", "&", "offset2", ")", ";", "if", "(", "offset", "==", "0", ")", "offset", "=", "INTVAL", "(", "offset2", ")", ";", "if", "(", "reg", "==", "stack_pointer_rtx", "||", "reg", "==", "frame_pointer_rtx", "||", "reg", "==", "hard_frame_pointer_rtx", ")", "{", "HOST_WIDE_INT", "frame_size", "=", "(", "!", "cfun", "->", "machine", "->", "frame", ".", "initialized", ")", "?", "compute_frame_size", "(", "get_frame_size", "(", ")", ")", ":", "cfun", "->", "machine", "->", "frame", ".", "total_size", ";", "if", "(", "frame_pointer_needed", "&&", "TARGET_MIPS16", ")", "frame_size", "-=", "cfun", "->", "machine", "->", "frame", ".", "args_size", ";", "offset", "=", "offset", "-", "frame_size", ";", "}", "else", "if", "(", "reg", "!=", "arg_pointer_rtx", ")", "fatal_insn", "(", "\"mips_debugger_offset called with non stack/frame/arg pointer\"", ",", "addr", ")", ";", "return", "offset", ";", "}", ""], "natrual_language": ["The", "MIPS", "debug", "format", "wants", "all", "automatic", "variables", "and", "arguments", "to", "be", "in", "terms", "of", "the", "virtual", "frame", "pointer", "(", "stack", "pointer", "before", "any", "adjustment", "in", "the", "function", ")", ",", "while", "the", "MIPS", "3.0", "linker", "wants", "the", "frame", "pointer", "to", "be", "the", "stack", "pointer", "after", "the", "initial", "adjustment", ".", "So", ",", "we", "do", "the", "adjustment", "here", ".", "The", "arg", "pointer", "(", "which", "is", "eliminated", ")", "points", "to", "the", "virtual", "frame", "pointer", ",", "while", "the", "frame", "pointer", "(", "which", "may", "be", "eliminated", ")", "points", "to", "the", "stack", "pointer", "after", "the", "initial", "adjustments", "."], "TS_V_token": ["mips", "0", "\"mips_debugger_offset called with non stack/frame/arg pointer\""], "File": "mips3", "Func": "mips_debugger_offset", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5185, "Length": 124, "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": 5186, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_simd_scalar_immediate_valid_for_move", "(", "rtx", "op", ",", "machine_mode", "mode", ")", "{", "machine_mode", "vmode", ";", "gcc_assert", "(", "!", "VECTOR_MODE_P", "(", "mode", ")", ")", ";", "vmode", "=", "aarch64_preferred_simd_mode", "(", "mode", ")", ";", "rtx", "op_v", "=", "aarch64_simd_gen_const_vector_dup", "(", "vmode", ",", "INTVAL", "(", "op", ")", ")", ";", "return", "aarch64_simd_valid_immediate", "(", "op_v", ",", "vmode", ",", "false", ",", "NULL", ")", ";", "}", ""], "natrual_language": ["Check", "OP", "is", "a", "legal", "scalar", "immediate", "for", "the", "MOVI", "instruction", "."], "TS_V_token": ["aarch64"], "File": "aarch642", "Func": "aarch64_simd_scalar_immediate_valid_for_move", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5187, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SICAsmPrinter", "::", "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", "->", "getIterator", "(", ")", ";", "MachineBasicBlock", "::", "const_instr_iterator", "E", "=", "MI", "->", "getParent", "(", ")", "->", "instr_end", "(", ")", ";", "do", "{", "if", "(", "emitPseudoExpansionLowering", "(", "*", "OutStreamer", ",", "&", "*", "I", ")", ")", "continue", ";", "if", "(", "I", "->", "isPseudo", "(", ")", ")", "llvm_unreachable", "(", "\"Pseudo opcode found in EmitInstruction()\"", ")", ";", "MCInst", "TmpInst0", ";", "MCInstLowering", ".", "Lower", "(", "&", "*", "I", ",", "TmpInst0", ")", ";", "OutStreamer", "->", "EmitInstruction", "(", "TmpInst0", ",", "getSubtargetInfo", "(", ")", ")", ";", "}", "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": ["SIC", "SIC", "128", "\"Pseudo opcode found in EmitInstruction()\""], "File": "SICAsmPrinter", "Func": "EmitInstruction", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5188, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "std", "::", "unique_ptr", "<", "X86Operand", ">", "CreateReg", "(", "unsigned", "RegNo", ",", "SMLoc", "StartLoc", ",", "SMLoc", "EndLoc", ",", "bool", "AddressOf", "=", "false", ",", "SMLoc", "OffsetOfLoc", "=", "SMLoc", "(", ")", ",", "StringRef", "SymName", "=", "StringRef", "(", ")", ",", "void", "*", "OpDecl", "=", "nullptr", ")", "{", "auto", "Res", "=", "std", "::", "make_unique", "<", "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"], "File": "X86Operand14", "Func": "CreateReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5189, "Length": 97, "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": "X86DisassemblerDecoder23", "Func": "name", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5190, "Length": 452, "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", ";", "const", "CallBase", "*", "CB", "=", "CLI", ".", "CB", ";", "if", "(", "isTailCall", ")", "{", "if", "(", "Subtarget", ".", "useLongCalls", "(", ")", "&&", "!", "(", "CB", "&&", "CB", "->", "isMustTailCall", "(", ")", ")", ")", "isTailCall", "=", "false", ";", "else", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", "&&", "Subtarget", ".", "isPPC64", "(", ")", ")", "isTailCall", "=", "IsEligibleForTailCallOptimization_64SVR4", "(", "Callee", ",", "CallConv", ",", "CB", ",", "isVarArg", ",", "Outs", ",", "Ins", ",", "DAG", ")", ";", "else", "isTailCall", "=", "IsEligibleForTailCallOptimization", "(", "Callee", ",", "CallConv", ",", "isVarArg", ",", "Ins", ",", "DAG", ")", ";", "if", "(", "isTailCall", ")", "{", "++", "NumTailCalls", ";", "if", "(", "!", "getTargetMachine", "(", ")", ".", "Options", ".", "GuaranteedTailCallOpt", ")", "++", "NumSiblingCalls", ";", "assert", "(", "(", "Subtarget", ".", "isUsingPCRelativeCalls", "(", ")", "||", "isa", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", ")", "&&", "\"Callee should be an llvm::Function object.\"", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"TCO caller: \"", "<<", "DAG", ".", "getMachineFunction", "(", ")", ".", "getName", "(", ")", "<<", "\"\\nTCO callee: \"", ")", ";", "LLVM_DEBUG", "(", "Callee", ".", "dump", "(", ")", ")", ";", "}", "}", "if", "(", "!", "isTailCall", "&&", "CB", "&&", "CB", "->", "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", ")", ";", "CallFlags", "CFlags", "(", "CallConv", ",", "isTailCall", ",", "isVarArg", ",", "isPatchPoint", ",", "isIndirectCall", "(", "Callee", ",", "DAG", ",", "Subtarget", ",", "isPatchPoint", ")", ",", "Subtarget", ".", "is64BitELFABI", "(", ")", "&&", "any_of", "(", "Outs", ",", "[", "]", "(", "ISD", "::", "OutputArg", "Arg", ")", "{", "return", "Arg", ".", "Flags", ".", "isNest", "(", ")", ";", "}", ")", ",", "CLI", ".", "NoMerge", ")", ";", "if", "(", "Subtarget", ".", "isAIXABI", "(", ")", ")", "return", "LowerCall_AIX", "(", "Chain", ",", "Callee", ",", "CFlags", ",", "Outs", ",", "OutVals", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ",", "CB", ")", ";", "assert", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", ";", "if", "(", "Subtarget", ".", "isPPC64", "(", ")", ")", "return", "LowerCall_64SVR4", "(", "Chain", ",", "Callee", ",", "CFlags", ",", "Outs", ",", "OutVals", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ",", "CB", ")", ";", "return", "LowerCall_32SVR4", "(", "Chain", ",", "Callee", ",", "CFlags", ",", "Outs", ",", "OutVals", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ",", "CB", ")", ";", "}", ""], "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.\"", "\"TCO caller: \"", "\"\\nTCO callee: \"", "\"failed to perform tail call elimination on a call \"", "\"site marked musttail\"", "ISD::OutputArg", "PPC"], "File": "PPCISelLowering109", "Func": "LowerCall", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5191, "Length": 483, "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": 5192, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "isCoalescableExtInstr", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "&", "SrcReg", ",", "unsigned", "&", "DstReg", ",", "unsigned", "&", "SubIdx", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "X86", "::", "MOVSX16rr8", ":", "case", "X86", "::", "MOVZX16rr8", ":", "case", "X86", "::", "MOVSX32rr8", ":", "case", "X86", "::", "MOVZX32rr8", ":", "case", "X86", "::", "MOVSX64rr8", ":", "case", "X86", "::", "MOVZX64rr8", ":", "if", "(", "!", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ")", "return", "false", ";", "case", "X86", "::", "MOVSX32rr16", ":", "case", "X86", "::", "MOVZX32rr16", ":", "case", "X86", "::", "MOVSX64rr16", ":", "case", "X86", "::", "MOVZX64rr16", ":", "case", "X86", "::", "MOVSX64rr32", ":", "case", "X86", "::", "MOVZX64rr32", ":", "{", "if", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getSubReg", "(", ")", "||", "MI", ".", "getOperand", "(", "1", ")", ".", "getSubReg", "(", ")", ")", "return", "false", ";", "SrcReg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "DstReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unreachable!\"", ")", ";", "case", "X86", "::", "MOVSX16rr8", ":", "case", "X86", "::", "MOVZX16rr8", ":", "case", "X86", "::", "MOVSX32rr8", ":", "case", "X86", "::", "MOVZX32rr8", ":", "case", "X86", "::", "MOVSX64rr8", ":", "case", "X86", "::", "MOVZX64rr8", ":", "SubIdx", "=", "X86", "::", "sub_8bit", ";", "break", ";", "case", "X86", "::", "MOVSX32rr16", ":", "case", "X86", "::", "MOVZX32rr16", ":", "case", "X86", "::", "MOVSX64rr16", ":", "case", "X86", "::", "MOVZX64rr16", ":", "SubIdx", "=", "X86", "::", "sub_16bit", ";", "break", ";", "case", "X86", "::", "MOVSX64rr32", ":", "case", "X86", "::", "MOVZX64rr32", ":", "SubIdx", "=", "X86", "::", "sub_32bit", ";", "break", ";", "}", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["isCoalescableExtInstr", "-", "Return", "true", "if", "the", "instruction", "is", "a", "``", "coalescable", "''", "extension", "instruction", "."], "TS_V_token": ["X86", "X86", "X86::MOVSX16rr8", "X86::MOVZX16rr8", "X86::MOVSX32rr8", "X86::MOVZX32rr8", "X86::MOVSX64rr8", "X86::MOVZX64rr8", "X86", "X86::MOVSX32rr16", "X86::MOVZX32rr16", "X86::MOVSX64rr16", "X86::MOVZX64rr16", "X86::MOVSX64rr32", "X86::MOVZX64rr32", "0", "1", "1", "0", "\"Unreachable!\"", "X86::MOVSX16rr8", "X86::MOVZX16rr8", "X86::MOVSX32rr8", "X86::MOVZX32rr8", "X86::MOVSX64rr8", "X86::MOVZX64rr8", "X86::sub_8bit", "X86::MOVSX32rr16", "X86::MOVZX32rr16", "X86::MOVSX64rr16", "X86::MOVZX64rr16", "X86::sub_16bit", "X86::MOVSX64rr32", "X86::MOVZX64rr32", "X86::sub_32bit"], "File": "X86InstrInfo116", "Func": "isCoalescableExtInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5193, "Length": 280, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"SPARC Delay Slot Filler\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Sparc", "\"SPARC Delay Slot Filler\""], "File": "DelaySlotFiller17", "Func": "getPassName", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5194, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalMaskedGather", "(", "Type", "*", "DataTy", ")", "{", "if", "(", "isa", "<", "VectorType", ">", "(", "DataTy", ")", "&&", "!", "isPowerOf2_32", "(", "DataTy", "->", "getVectorNumElements", "(", ")", ")", ")", "return", "false", ";", "Type", "*", "ScalarTy", "=", "DataTy", "->", "getScalarType", "(", ")", ";", "int", "DataWidth", "=", "isa", "<", "PointerType", ">", "(", "ScalarTy", ")", "?", "DL", ".", "getPointerSizeInBits", "(", ")", ":", "ScalarTy", "->", "getPrimitiveSizeInBits", "(", ")", ";", "return", "DataWidth", ">=", "32", "&&", "ST", "->", "hasAVX512", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "gather", "."], "TS_V_token": ["X86", "X86", "32"], "File": "X86TargetTransformInfo (3)", "Func": "isLegalMaskedGather", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5195, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "SystemZTargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", "DL", ",", "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": ["SystemZ", "SystemZ", "MVT::i32"], "File": "SystemZISelLowering (2)1", "Func": "getSetCCResultType", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5196, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "getExceptionPointerRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "override", "{", "return", "ABI", ".", "IsN64", "(", ")", "?", "Mips", "::", "A0_64", ":", "Mips", "::", "A0", ";", "}", ""], "natrual_language": ["If", "a", "physical", "register", ",", "this", "returns", "the", "register", "that", "receives", "the", "exception", "address", "on", "entry", "to", "an", "EH", "pad", "."], "TS_V_token": ["Mips", "Mips::A0_64", "Mips::A0"], "File": "MipsISelLowering32", "Func": "getExceptionPointerRegister", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5197, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_handle_tm_regparm_attribute", "(", "tree", "*", "node", ",", "tree", ",", "tree", ",", "int", "flags", ",", "bool", "*", "no_add_attrs", ")", "{", "tree", "alt", ";", "*", "no_add_attrs", "=", "true", ";", "if", "(", "TARGET_64BIT", ")", "return", "NULL_TREE", ";", "if", "(", "CHECK_STACK_LIMIT", ">", "0", ")", "alt", "=", "tree_cons", "(", "get_identifier", "(", "\"fastcall\"", ")", ",", "NULL", ",", "NULL", ")", ";", "else", "{", "alt", "=", "tree_cons", "(", "NULL", ",", "build_int_cst", "(", "NULL", ",", "2", ")", ",", "NULL", ")", ";", "alt", "=", "tree_cons", "(", "get_identifier", "(", "\"regparm\"", ")", ",", "alt", ",", "NULL", ")", ";", "}", "decl_attributes", "(", "node", ",", "alt", ",", "flags", ")", ";", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["The", "transactional", "memory", "builtins", "are", "implicitly", "regparm", "or", "fastcall", "depending", "on", "the", "ABI", ".", "Override", "the", "generic", "do-nothing", "attribute", "that", "these", "builtins", "were", "declared", "with", ",", "and", "replace", "it", "with", "one", "of", "the", "two", "attributes", "that", "we", "expect", "elsewhere", "."], "TS_V_token": ["i386", "0", "\"fastcall\"", "2", "\"regparm\""], "File": "i386-options", "Func": "ix86_handle_tm_regparm_attribute", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5198, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "ExtAddrMode", ">", "AArch64InstrInfo", "::", "getAddrModeFromMemoryOp", "(", "const", "MachineInstr", "&", "MemI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "const", "MachineOperand", "*", "Base", ";", "int64_t", "Offset", ";", "bool", "OffsetIsScalable", ";", "if", "(", "!", "getMemOperandWithOffset", "(", "MemI", ",", "Base", ",", "Offset", ",", "OffsetIsScalable", ",", "TRI", ")", ")", "return", "None", ";", "if", "(", "!", "Base", "->", "isReg", "(", ")", ")", "return", "None", ";", "ExtAddrMode", "AM", ";", "AM", ".", "BaseReg", "=", "Base", "->", "getReg", "(", ")", ";", "AM", ".", "Displacement", "=", "Offset", ";", "AM", ".", "ScaledReg", "=", "0", ";", "AM", ".", "Scale", "=", "0", ";", "return", "AM", ";", "}", ""], "natrual_language": ["Target", "dependent", "implementation", "to", "get", "the", "values", "constituting", "the", "address", "MachineInstr", "that", "is", "accessing", "memory", "."], "TS_V_token": ["AArch64", "AArch64", "0", "0"], "File": "AArch64InstrInfo31", "Func": "getAddrModeFromMemoryOp", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5199, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "SparcDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "Register", "GlobalBaseReg", "=", "Subtarget", "->", "getInstrInfo", "(", ")", "->", "getGlobalBaseReg", "(", "MF", ")", ";", "return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "TLI", "->", "getPointerTy", "(", "CurDAG", "->", "getDataLayout", "(", ")", ")", ")", ".", "getNode", "(", ")", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcISelDAGToDAG32", "Func": "getGlobalBaseReg", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5200, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "PPCDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "if", "(", "!", "GlobalBaseReg", ")", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "TM", ".", "getInstrInfo", "(", ")", ";", "MachineBasicBlock", "&", "FirstMBB", "=", "BB", "->", "getParent", "(", ")", "->", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "FirstMBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "PPCLowering", ".", "getPointerTy", "(", ")", "==", "MVT", "::", "i32", ")", "{", "GlobalBaseReg", "=", "RegInfo", "->", "createVirtualRegister", "(", "PPC", "::", "GPRCRegisterClass", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MovePCtoLR", ")", ",", "PPC", "::", "LR", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MFLR", ")", ",", "GlobalBaseReg", ")", ";", "}", "else", "{", "GlobalBaseReg", "=", "RegInfo", "->", "createVirtualRegister", "(", "PPC", "::", "G8RCRegisterClass", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MovePCtoLR8", ")", ",", "PPC", "::", "LR8", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MFLR8", ")", ",", "GlobalBaseReg", ")", ";", "}", "}", "return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "PPCLowering", ".", "getPointerTy", "(", ")", ")", ".", "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::GPRCRegisterClass", "PPC::MovePCtoLR", "PPC::LR", "PPC::MFLR", "PPC::G8RCRegisterClass", "PPC::MovePCtoLR8", "PPC::LR8", "PPC::MFLR8", "PPC"], "File": "PPCISelDAGToDAG33", "Func": "getGlobalBaseReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5201, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mmix_setup_incoming_varargs", "(", "cumulative_args_t", "args_so_farp_v", ",", "const", "function_arg_info", "&", "arg", ",", "int", "*", "pretend_sizep", ",", "int", "second_time", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "args_so_farp", "=", "get_cumulative_args", "(", "args_so_farp_v", ")", ";", "if", "(", "args_so_farp", "->", "regs", "+", "1", "<", "MMIX_MAX_ARGS_IN_REGS", ")", "*", "pretend_sizep", "=", "(", "MMIX_MAX_ARGS_IN_REGS", "-", "(", "args_so_farp", "->", "regs", "+", "1", ")", ")", "*", "8", ";", "if", "(", "!", "TYPE_NO_NAMED_ARGS_STDARG_P", "(", "TREE_TYPE", "(", "current_function_decl", ")", ")", "&&", "(", "7", "+", "(", "MMIX_FUNCTION_ARG_SIZE", "(", "arg", ".", "mode", ",", "arg", ".", "type", ")", ")", ")", "/", "8", "!=", "1", ")", "internal_error", "(", "\"MMIX Internal: Last named vararg would not fit in a register\"", ")", ";", "}", ""], "natrual_language": ["SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["mmix", "1", "1", "8", "7", "8", "1", "\"MMIX Internal: Last named vararg would not fit in a register\""], "File": "mmix1", "Func": "mmix_setup_incoming_varargs", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5202, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_function_specific_save", "(", "struct", "cl_target_option", "*", "ptr", ",", "struct", "gcc_options", "*", "opts", ")", "{", "ptr", "->", "arch", "=", "ix86_arch", ";", "ptr", "->", "schedule", "=", "ix86_schedule", ";", "ptr", "->", "prefetch_sse", "=", "x86_prefetch_sse", ";", "ptr", "->", "tune", "=", "ix86_tune", ";", "ptr", "->", "branch_cost", "=", "ix86_branch_cost", ";", "ptr", "->", "tune_defaulted", "=", "ix86_tune_defaulted", ";", "ptr", "->", "arch_specified", "=", "ix86_arch_specified", ";", "ptr", "->", "x_ix86_isa_flags_explicit", "=", "opts", "->", "x_ix86_isa_flags_explicit", ";", "ptr", "->", "x_ix86_isa_flags2_explicit", "=", "opts", "->", "x_ix86_isa_flags2_explicit", ";", "ptr", "->", "x_recip_mask_explicit", "=", "opts", "->", "x_recip_mask_explicit", ";", "ptr", "->", "x_ix86_arch_string", "=", "opts", "->", "x_ix86_arch_string", ";", "ptr", "->", "x_ix86_tune_string", "=", "opts", "->", "x_ix86_tune_string", ";", "ptr", "->", "x_ix86_cmodel", "=", "opts", "->", "x_ix86_cmodel", ";", "ptr", "->", "x_ix86_abi", "=", "opts", "->", "x_ix86_abi", ";", "ptr", "->", "x_ix86_asm_dialect", "=", "opts", "->", "x_ix86_asm_dialect", ";", "ptr", "->", "x_ix86_branch_cost", "=", "opts", "->", "x_ix86_branch_cost", ";", "ptr", "->", "x_ix86_dump_tunes", "=", "opts", "->", "x_ix86_dump_tunes", ";", "ptr", "->", "x_ix86_force_align_arg_pointer", "=", "opts", "->", "x_ix86_force_align_arg_pointer", ";", "ptr", "->", "x_ix86_force_drap", "=", "opts", "->", "x_ix86_force_drap", ";", "ptr", "->", "x_ix86_incoming_stack_boundary_arg", "=", "opts", "->", "x_ix86_incoming_stack_boundary_arg", ";", "ptr", "->", "x_ix86_pmode", "=", "opts", "->", "x_ix86_pmode", ";", "ptr", "->", "x_ix86_preferred_stack_boundary_arg", "=", "opts", "->", "x_ix86_preferred_stack_boundary_arg", ";", "ptr", "->", "x_ix86_recip_name", "=", "opts", "->", "x_ix86_recip_name", ";", "ptr", "->", "x_ix86_regparm", "=", "opts", "->", "x_ix86_regparm", ";", "ptr", "->", "x_ix86_section_threshold", "=", "opts", "->", "x_ix86_section_threshold", ";", "ptr", "->", "x_ix86_sse2avx", "=", "opts", "->", "x_ix86_sse2avx", ";", "ptr", "->", "x_ix86_stack_protector_guard", "=", "opts", "->", "x_ix86_stack_protector_guard", ";", "ptr", "->", "x_ix86_stringop_alg", "=", "opts", "->", "x_ix86_stringop_alg", ";", "ptr", "->", "x_ix86_tls_dialect", "=", "opts", "->", "x_ix86_tls_dialect", ";", "ptr", "->", "x_ix86_tune_ctrl_string", "=", "opts", "->", "x_ix86_tune_ctrl_string", ";", "ptr", "->", "x_ix86_tune_memcpy_strategy", "=", "opts", "->", "x_ix86_tune_memcpy_strategy", ";", "ptr", "->", "x_ix86_tune_memset_strategy", "=", "opts", "->", "x_ix86_tune_memset_strategy", ";", "ptr", "->", "x_ix86_tune_no_default", "=", "opts", "->", "x_ix86_tune_no_default", ";", "ptr", "->", "x_ix86_veclibabi_type", "=", "opts", "->", "x_ix86_veclibabi_type", ";", "gcc_assert", "(", "ptr", "->", "arch", "==", "ix86_arch", ")", ";", "gcc_assert", "(", "ptr", "->", "schedule", "==", "ix86_schedule", ")", ";", "gcc_assert", "(", "ptr", "->", "tune", "==", "ix86_tune", ")", ";", "gcc_assert", "(", "ptr", "->", "branch_cost", "==", "ix86_branch_cost", ")", ";", "}", ""], "natrual_language": ["Save", "the", "current", "options"], "TS_V_token": ["i386"], "File": "i3866", "Func": "ix86_function_specific_save", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5203, "Length": 310, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "MachineModuleInfo", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineModuleInfo", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["X86"], "File": "X86RetpolineThunks1", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5204, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "scalar_chain", "::", "add_to_queue", "(", "unsigned", "insn_uid", ")", "{", "if", "(", "!", "bitmap_set_bit", "(", "queue", ",", "insn_uid", ")", ")", "return", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\" Adding insn %d into chain's #%d queue\\n\"", ",", "insn_uid", ",", "chain_id", ")", ";", "}", ""], "natrual_language": ["Add", "instruction", "into", "chains", "'", "queue", "."], "TS_V_token": ["i386", "\" Adding insn %d into chain's #%d queue\\n\""], "File": "i386-features1", "Func": "add_to_queue", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5205, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc_d_register_target_info", "(", "void", ")", "{", "const", "struct", "d_target_info_spec", "handlers", "[", "]", "=", "{", "{", "\"floatAbi\"", ",", "sparc_d_handle_target_float_abi", "}", ",", "{", "NULL", ",", "NULL", "}", ",", "}", ";", "d_add_target_info_handlers", "(", "handlers", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_D_REGISTER_CPU_TARGET_INFO", "."], "TS_V_token": ["sparc", "\"floatAbi\""], "File": "sparc-d", "Func": "sparc_d_register_target_info", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5206, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "KudeyarTargetLowering", "::", "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", "::", "Kudeyar_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": ["Kudeyar", "Kudeyar", "ISD::OutputArg", "32", "32", "ISD::InputArg", "32", "\"Unsupported calling convention\"", "Kudeyar", "\"ISRs cannot be called directly\""], "File": "KudeyarISelLowering", "Func": "LowerCall", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5207, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "memory_scalar_type", "(", "const", "function_instance", "&", "fi", ")", "const", "override", "{", "type_class_index", "tclass", "=", "fi", ".", "type_suffix", "(", "0", ")", ".", "tclass", ";", "unsigned", "int", "element_bits", "=", "GET_MODE_BITSIZE", "(", "m_to_mode", ")", ";", "type_suffix_index", "suffix", "=", "find_type_suffix", "(", "tclass", ",", "element_bits", ")", ";", "return", "scalar_types", "[", "type_suffixes", "[", "suffix", "]", ".", "vector_type", "]", ";", "}", ""], "natrual_language": ["If", "the", "function", "addresses", "memory", ",", "return", "the", "type", "of", "a", "single", "scalar", "memory", "element", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64-sve-builtins-functions3", "Func": "memory_scalar_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5208, "Length": 54, "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": 5209, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "i386_pe_record_external_function", "(", "tree", "decl", ",", "const", "char", "*", "name", ")", "{", "struct", "extern_list", "*", "p", ";", "p", "=", "(", "struct", "extern_list", "*", ")", "ggc_alloc", "(", "sizeof", "*", "p", ")", ";", "p", "->", "next", "=", "extern_head", ";", "p", "->", "decl", "=", "decl", ";", "p", "->", "name", "=", "name", ";", "extern_head", "=", "p", ";", "}", ""], "natrual_language": ["Assemble", "an", "external", "function", "reference", ".", "We", "need", "to", "keep", "a", "list", "of", "these", ",", "so", "that", "we", "can", "output", "the", "function", "types", "at", "the", "end", "of", "the", "assembly", ".", "We", "ca", "n't", "output", "the", "types", "now", ",", "because", "we", "might", "see", "a", "definition", "of", "the", "function", "later", "on", "and", "emit", "debugging", "information", "for", "it", "then", "."], "TS_V_token": ["i386"], "File": "winnt3", "Func": "i386_pe_record_external_function", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5210, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCodeEmitter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "assert", "(", "(", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Default", "||", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Static", ")", "&&", "\"JIT relocation model must be set to static or default!\"", ")", ";", "JTI", "=", "(", "(", "ARMBaseTargetMachine", "&", ")", "MF", ".", "getTarget", "(", ")", ")", ".", "getJITInfo", "(", ")", ";", "II", "=", "(", "const", "ARMBaseInstrInfo", "*", ")", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "TD", "=", "MF", ".", "getTarget", "(", ")", ".", "getTargetData", "(", ")", ";", "Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "MCPEs", "=", "&", "MF", ".", "getConstantPool", "(", ")", "->", "getConstants", "(", ")", ";", "MJTEs", "=", "0", ";", "if", "(", "MF", ".", "getJumpTableInfo", "(", ")", ")", "MJTEs", "=", "&", "MF", ".", "getJumpTableInfo", "(", ")", "->", "getJumpTables", "(", ")", ";", "IsPIC", "=", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ";", "IsThumb", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", "->", "isThumbFunction", "(", ")", ";", "JTI", "->", "Initialize", "(", "MF", ",", "IsPIC", ")", ";", "MMI", "=", "&", "getAnalysis", "<", "MachineModuleInfo", ">", "(", ")", ";", "MCE", ".", "setModuleInfo", "(", "MMI", ")", ";", "do", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"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", "::", "iterator", "I", "=", "MBB", "->", "begin", "(", ")", ",", "E", "=", "MBB", "->", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "emitInstruction", "(", "*", "I", ")", ";", "}", "}", "while", "(", "MCE", ".", "finishFunction", "(", "MF", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "\"JIT relocation model must be set to static or default!\"", "ARM", "ARM", "ARM", "0", "ARM", "\"JITTing function '\"", "\"'\\n\""], "File": "ARMCodeEmitter12", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5211, "Length": 311, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_floorceildf_32", "(", "rtx", "operand0", ",", "rtx", "operand1", ",", "bool", "do_floor", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "operand0", ")", ";", "rtx", "xa", ",", "TWO52", ",", "tmp", ",", "one", ",", "res", ",", "mask", ";", "rtx_code_label", "*", "label", ";", "TWO52", "=", "ix86_gen_TWO52", "(", "mode", ")", ";", "res", "=", "copy_to_reg", "(", "operand1", ")", ";", "xa", "=", "ix86_expand_sse_fabs", "(", "res", ",", "&", "mask", ")", ";", "label", "=", "ix86_expand_sse_compare_and_jump", "(", "UNLE", ",", "TWO52", ",", "xa", ",", "false", ")", ";", "xa", "=", "expand_simple_binop", "(", "mode", ",", "PLUS", ",", "xa", ",", "TWO52", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "xa", "=", "expand_simple_binop", "(", "mode", ",", "MINUS", ",", "xa", ",", "TWO52", ",", "xa", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "ix86_sse_copysign_to_positive", "(", "xa", ",", "xa", ",", "res", ",", "mask", ")", ";", "one", "=", "force_reg", "(", "mode", ",", "const_double_from_real_value", "(", "dconst1", ",", "mode", ")", ")", ";", "tmp", "=", "ix86_expand_sse_compare_mask", "(", "UNGT", ",", "xa", ",", "res", ",", "!", "do_floor", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "tmp", ",", "gen_rtx_AND", "(", "mode", ",", "one", ",", "tmp", ")", ")", ")", ";", "tmp", "=", "expand_simple_binop", "(", "mode", ",", "do_floor", "?", "MINUS", ":", "PLUS", ",", "xa", ",", "tmp", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "if", "(", "HONOR_SIGNED_ZEROS", "(", "mode", ")", ")", "{", "if", "(", "do_floor", "&&", "flag_rounding_math", ")", "tmp", "=", "ix86_expand_sse_fabs", "(", "tmp", ",", "NULL", ")", ";", "ix86_sse_copysign_to_positive", "(", "tmp", ",", "tmp", ",", "res", ",", "mask", ")", ";", "}", "emit_move_insn", "(", "res", ",", "tmp", ")", ";", "emit_label", "(", "label", ")", ";", "LABEL_NUSES", "(", "label", ")", "=", "1", ";", "emit_move_insn", "(", "operand0", ",", "res", ")", ";", "}", ""], "natrual_language": ["Expand", "SSE2", "sequence", "for", "computing", "floor", "or", "ceil", "from", "OPERAND1", "storing", "into", "OPERAND0", "."], "TS_V_token": ["i386", "0", "0", "0", "1"], "File": "i386-expand", "Func": "ix86_expand_floorceildf_32", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5212, "Length": 254, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "shouldInsertFencesForAtomic", "(", "const", "Instruction", "*", "I", ")", "const", "{", "return", "isOpSuitableForLDPSTP", "(", "I", ")", ";", "}", ""], "natrual_language": ["Helper", "functions", "for", "atomic", "operations", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ISelLowering (2)2", "Func": "shouldInsertFencesForAtomic", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5213, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "AArch64RegisterInfo", "::", "getThisReturnPreservedMask", "(", "CallingConv", "::", "ID", ")", "const", "{", "return", "CSR_AArch64_AAPCS_ThisReturn_RegMask", ";", "}", ""], "natrual_language": ["getThisReturnPreservedMask", "-", "Returns", "a", "call", "preserved", "mask", "specific", "to", "the", "case", "that", "'returned", "'", "is", "on", "an", "i32", "first", "argument", "if", "the", "calling", "convention", "is", "one", "that", "can", "(", "partially", ")", "model", "this", "attribute", "with", "a", "preserved", "mask", "(", "i.e", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64RegisterInfo1", "Func": "getThisReturnPreservedMask", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5214, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "easy_altivec_constant", "(", "rtx", "op", ",", "enum", "machine_mode", "mode", ")", "{", "unsigned", "step", ",", "copies", ";", "if", "(", "mode", "==", "VOIDmode", ")", "mode", "=", "GET_MODE", "(", "op", ")", ";", "else", "if", "(", "mode", "!=", "GET_MODE", "(", "op", ")", ")", "return", "false", ";", "step", "=", "GET_MODE_NUNITS", "(", "mode", ")", "/", "4", ";", "copies", "=", "1", ";", "if", "(", "vspltis_constant", "(", "op", ",", "step", ",", "copies", ")", ")", "return", "true", ";", "if", "(", "step", "==", "1", ")", "copies", "<<=", "1", ";", "else", "step", ">>=", "1", ";", "if", "(", "vspltis_constant", "(", "op", ",", "step", ",", "copies", ")", ")", "return", "true", ";", "if", "(", "step", "==", "1", ")", "copies", "<<=", "1", ";", "else", "step", ">>=", "1", ";", "if", "(", "vspltis_constant", "(", "op", ",", "step", ",", "copies", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "is", "of", "the", "given", "MODE", "and", "can", "be", "synthesized", "with", "a", "vspltisb", ",", "vspltish", "or", "vspltisw", "."], "TS_V_token": ["rs6000", "4", "1", "1", "1", "1", "1", "1", "1"], "File": "rs60003", "Func": "easy_altivec_constant", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5215, "Length": 131, "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": 5216, "Length": 495, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCRegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "PPCFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "const", "unsigned", "DefaultSafety", "=", "1", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "PPC", "::", "G8RC_NOX0RegClassID", ":", "case", "PPC", "::", "GPRC_NOR0RegClassID", ":", "case", "PPC", "::", "SPERCRegClassID", ":", "case", "PPC", "::", "SPE4RCRegClassID", ":", "case", "PPC", "::", "G8RCRegClassID", ":", "case", "PPC", "::", "GPRCRegClassID", ":", "{", "unsigned", "FP", "=", "TFI", "->", "hasFP", "(", "MF", ")", "?", "1", ":", "0", ";", "return", "32", "-", "FP", "-", "DefaultSafety", ";", "}", "case", "PPC", "::", "F8RCRegClassID", ":", "case", "PPC", "::", "F4RCRegClassID", ":", "case", "PPC", "::", "QFRCRegClassID", ":", "case", "PPC", "::", "QSRCRegClassID", ":", "case", "PPC", "::", "QBRCRegClassID", ":", "case", "PPC", "::", "VRRCRegClassID", ":", "case", "PPC", "::", "VFRCRegClassID", ":", "case", "PPC", "::", "VSLRCRegClassID", ":", "return", "32", "-", "DefaultSafety", ";", "case", "PPC", "::", "VSRCRegClassID", ":", "case", "PPC", "::", "VSFRCRegClassID", ":", "case", "PPC", "::", "VSSRCRegClassID", ":", "return", "64", "-", "DefaultSafety", ";", "case", "PPC", "::", "CRRCRegClassID", ":", "return", "8", "-", "DefaultSafety", ";", "}", "}", ""], "natrual_language": ["Return", "the", "register", "pressure", "``", "high", "water", "mark", "''", "for", "the", "specific", "register", "class", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "1", "0", "PPC::G8RC_NOX0RegClassID", "PPC::GPRC_NOR0RegClassID", "PPC::SPERCRegClassID", "PPC::SPE4RCRegClassID", "PPC::G8RCRegClassID", "PPC::GPRCRegClassID", "1", "0", "32", "PPC::F8RCRegClassID", "PPC::F4RCRegClassID", "PPC::QFRCRegClassID", "PPC::QSRCRegClassID", "PPC::QBRCRegClassID", "PPC::VRRCRegClassID", "PPC::VFRCRegClassID", "PPC::VSLRCRegClassID", "32", "PPC::VSRCRegClassID", "PPC::VSFRCRegClassID", "PPC::VSSRCRegClassID", "64", "PPC::CRRCRegClassID", "8"], "File": "PPCRegisterInfo43", "Func": "getRegPressureLimit", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5217, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64TargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "EVT", "VT", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "unsigned", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "\"sp\"", ",", "AArch64", "::", "SP", ")", ".", "Case", "(", "\"x1\"", ",", "AArch64", "::", "X1", ")", ".", "Case", "(", "\"w1\"", ",", "AArch64", "::", "W1", ")", ".", "Case", "(", "\"x2\"", ",", "AArch64", "::", "X2", ")", ".", "Case", "(", "\"w2\"", ",", "AArch64", "::", "W2", ")", ".", "Case", "(", "\"x3\"", ",", "AArch64", "::", "X3", ")", ".", "Case", "(", "\"w3\"", ",", "AArch64", "::", "W3", ")", ".", "Case", "(", "\"x4\"", ",", "AArch64", "::", "X4", ")", ".", "Case", "(", "\"w4\"", ",", "AArch64", "::", "W4", ")", ".", "Case", "(", "\"x5\"", ",", "AArch64", "::", "X5", ")", ".", "Case", "(", "\"w5\"", ",", "AArch64", "::", "W5", ")", ".", "Case", "(", "\"x6\"", ",", "AArch64", "::", "X6", ")", ".", "Case", "(", "\"w6\"", ",", "AArch64", "::", "W6", ")", ".", "Case", "(", "\"x7\"", ",", "AArch64", "::", "X7", ")", ".", "Case", "(", "\"w7\"", ",", "AArch64", "::", "W7", ")", ".", "Case", "(", "\"x18\"", ",", "AArch64", "::", "X18", ")", ".", "Case", "(", "\"w18\"", ",", "AArch64", "::", "W18", ")", ".", "Case", "(", "\"x20\"", ",", "AArch64", "::", "X20", ")", ".", "Case", "(", "\"w20\"", ",", "AArch64", "::", "W20", ")", ".", "Default", "(", "0", ")", ";", "if", "(", "(", "(", "Reg", "==", "AArch64", "::", "X1", "||", "Reg", "==", "AArch64", "::", "W1", ")", "&&", "!", "Subtarget", "->", "isXRegisterReserved", "(", "1", ")", ")", "||", "(", "(", "Reg", "==", "AArch64", "::", "X2", "||", "Reg", "==", "AArch64", "::", "W2", ")", "&&", "!", "Subtarget", "->", "isXRegisterReserved", "(", "2", ")", ")", "||", "(", "(", "Reg", "==", "AArch64", "::", "X3", "||", "Reg", "==", "AArch64", "::", "W3", ")", "&&", "!", "Subtarget", "->", "isXRegisterReserved", "(", "3", ")", ")", "||", "(", "(", "Reg", "==", "AArch64", "::", "X4", "||", "Reg", "==", "AArch64", "::", "W4", ")", "&&", "!", "Subtarget", "->", "isXRegisterReserved", "(", "4", ")", ")", "||", "(", "(", "Reg", "==", "AArch64", "::", "X5", "||", "Reg", "==", "AArch64", "::", "W5", ")", "&&", "!", "Subtarget", "->", "isXRegisterReserved", "(", "5", ")", ")", "||", "(", "(", "Reg", "==", "AArch64", "::", "X6", "||", "Reg", "==", "AArch64", "::", "W6", ")", "&&", "!", "Subtarget", "->", "isXRegisterReserved", "(", "6", ")", ")", "||", "(", "(", "Reg", "==", "AArch64", "::", "X7", "||", "Reg", "==", "AArch64", "::", "W7", ")", "&&", "!", "Subtarget", "->", "isXRegisterReserved", "(", "7", ")", ")", "||", "(", "(", "Reg", "==", "AArch64", "::", "X18", "||", "Reg", "==", "AArch64", "::", "W18", ")", "&&", "!", "Subtarget", "->", "isXRegisterReserved", "(", "18", ")", ")", "||", "(", "(", "Reg", "==", "AArch64", "::", "X20", "||", "Reg", "==", "AArch64", "::", "W20", ")", "&&", "!", "Subtarget", "->", "isXRegisterReserved", "(", "20", ")", ")", ")", "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", "\"sp\"", "AArch64::SP", "\"x1\"", "AArch64::X1", "\"w1\"", "AArch64::W1", "\"x2\"", "AArch64::X2", "\"w2\"", "AArch64::W2", "\"x3\"", "AArch64::X3", "\"w3\"", "AArch64::W3", "\"x4\"", "AArch64::X4", "\"w4\"", "AArch64::W4", "\"x5\"", "AArch64::X5", "\"w5\"", "AArch64::W5", "\"x6\"", "AArch64::X6", "\"w6\"", "AArch64::W6", "\"x7\"", "AArch64::X7", "\"w7\"", "AArch64::W7", "\"x18\"", "AArch64::X18", "\"w18\"", "AArch64::W18", "\"x20\"", "AArch64::X20", "\"w20\"", "AArch64::W20", "0", "AArch64::X1", "AArch64::W1", "1", "AArch64::X2", "AArch64::W2", "2", "AArch64::X3", "AArch64::W3", "3", "AArch64::X4", "AArch64::W4", "4", "AArch64::X5", "AArch64::W5", "5", "AArch64::X6", "AArch64::W6", "6", "AArch64::X7", "AArch64::W7", "7", "AArch64::X18", "AArch64::W18", "18", "AArch64::X20", "AArch64::W20", "20", "0", "\"Invalid register name \\\"\"", "\"\\\".\""], "File": "AArch64ISelLowering114", "Func": "getRegisterByName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5218, "Length": 451, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "InstrItineraryData", "&", "getInstrItineraryData", "(", ")", "const", "{", "return", "InstrItins", ";", "}", ""], "natrual_language": ["getInstrItineraryData", "-", "Returns", "instruction", "itinerary", "data", "for", "the", "target", "or", "specific", "subtarget", "."], "TS_V_token": ["PowerPC"], "File": "PPCSubtarget (2)", "Func": "getInstrItineraryData", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5219, "Length": 12, "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": 5220, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "dump_target_flag_bits", "(", "const", "int", "flags", ")", "{", "if", "(", "flags", "&", "MASK_64BIT", ")", "fprintf", "(", "stderr", ",", "\"64BIT \"", ")", ";", "if", "(", "flags", "&", "MASK_APP_REGS", ")", "fprintf", "(", "stderr", ",", "\"APP_REGS \"", ")", ";", "if", "(", "flags", "&", "MASK_FASTER_STRUCTS", ")", "fprintf", "(", "stderr", ",", "\"FASTER_STRUCTS \"", ")", ";", "if", "(", "flags", "&", "MASK_FLAT", ")", "fprintf", "(", "stderr", ",", "\"FLAT \"", ")", ";", "if", "(", "flags", "&", "MASK_FMAF", ")", "fprintf", "(", "stderr", ",", "\"FMAF \"", ")", ";", "if", "(", "flags", "&", "MASK_FSMULD", ")", "fprintf", "(", "stderr", ",", "\"FSMULD \"", ")", ";", "if", "(", "flags", "&", "MASK_FPU", ")", "fprintf", "(", "stderr", ",", "\"FPU \"", ")", ";", "if", "(", "flags", "&", "MASK_HARD_QUAD", ")", "fprintf", "(", "stderr", ",", "\"HARD_QUAD \"", ")", ";", "if", "(", "flags", "&", "MASK_POPC", ")", "fprintf", "(", "stderr", ",", "\"POPC \"", ")", ";", "if", "(", "flags", "&", "MASK_PTR64", ")", "fprintf", "(", "stderr", ",", "\"PTR64 \"", ")", ";", "if", "(", "flags", "&", "MASK_STACK_BIAS", ")", "fprintf", "(", "stderr", ",", "\"STACK_BIAS \"", ")", ";", "if", "(", "flags", "&", "MASK_UNALIGNED_DOUBLES", ")", "fprintf", "(", "stderr", ",", "\"UNALIGNED_DOUBLES \"", ")", ";", "if", "(", "flags", "&", "MASK_V8PLUS", ")", "fprintf", "(", "stderr", ",", "\"V8PLUS \"", ")", ";", "if", "(", "flags", "&", "MASK_VIS", ")", "fprintf", "(", "stderr", ",", "\"VIS \"", ")", ";", "if", "(", "flags", "&", "MASK_VIS2", ")", "fprintf", "(", "stderr", ",", "\"VIS2 \"", ")", ";", "if", "(", "flags", "&", "MASK_VIS3", ")", "fprintf", "(", "stderr", ",", "\"VIS3 \"", ")", ";", "if", "(", "flags", "&", "MASK_VIS4", ")", "fprintf", "(", "stderr", ",", "\"VIS4 \"", ")", ";", "if", "(", "flags", "&", "MASK_VIS4B", ")", "fprintf", "(", "stderr", ",", "\"VIS4B \"", ")", ";", "if", "(", "flags", "&", "MASK_CBCOND", ")", "fprintf", "(", "stderr", ",", "\"CBCOND \"", ")", ";", "if", "(", "flags", "&", "MASK_DEPRECATED_V8_INSNS", ")", "fprintf", "(", "stderr", ",", "\"DEPRECATED_V8_INSNS \"", ")", ";", "if", "(", "flags", "&", "MASK_LEON", ")", "fprintf", "(", "stderr", ",", "\"LEON \"", ")", ";", "if", "(", "flags", "&", "MASK_LEON3", ")", "fprintf", "(", "stderr", ",", "\"LEON3 \"", ")", ";", "if", "(", "flags", "&", "MASK_SPARCLET", ")", "fprintf", "(", "stderr", ",", "\"SPARCLET \"", ")", ";", "if", "(", "flags", "&", "MASK_SPARCLITE", ")", "fprintf", "(", "stderr", ",", "\"SPARCLITE \"", ")", ";", "if", "(", "flags", "&", "MASK_V8", ")", "fprintf", "(", "stderr", ",", "\"V8 \"", ")", ";", "if", "(", "flags", "&", "MASK_V9", ")", "fprintf", "(", "stderr", ",", "\"V9 \"", ")", ";", "}", ""], "natrual_language": ["Helpers", "for", "TARGET_DEBUG_OPTIONS", "."], "TS_V_token": ["sparc", "\"64BIT \"", "\"APP_REGS \"", "\"FASTER_STRUCTS \"", "\"FLAT \"", "\"FMAF \"", "\"FSMULD \"", "\"FPU \"", "\"HARD_QUAD \"", "\"POPC \"", "\"PTR64 \"", "\"STACK_BIAS \"", "\"UNALIGNED_DOUBLES \"", "\"V8PLUS \"", "\"VIS \"", "\"VIS2 \"", "\"VIS3 \"", "\"VIS4 \"", "\"VIS4B \"", "\"CBCOND \"", "\"DEPRECATED_V8_INSNS \"", "\"LEON \"", "\"LEON3 \"", "\"SPARCLET \"", "\"SPARCLITE \"", "\"V8 \"", "\"V9 \""], "File": "sparc", "Func": "dump_target_flag_bits", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5221, "Length": 348, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_vectorize_vec_perm_const", "(", "machine_mode", "vmode", ",", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ",", "const", "vec_perm_indices", "&", "sel", ")", "{", "bool", "testing_p", "=", "!", "target", ";", "if", "(", "TARGET_ALTIVEC", "&&", "testing_p", ")", "return", "true", ";", "if", "(", "(", "vmode", "==", "V2SFmode", "&&", "TARGET_PAIRED_FLOAT", ")", "||", "(", "(", "vmode", "==", "V2DFmode", "||", "vmode", "==", "V2DImode", ")", "&&", "VECTOR_MEM_VSX_P", "(", "vmode", ")", ")", ")", "{", "if", "(", "testing_p", ")", "{", "op0", "=", "gen_raw_REG", "(", "vmode", ",", "LAST_VIRTUAL_REGISTER", "+", "1", ")", ";", "op1", "=", "gen_raw_REG", "(", "vmode", ",", "LAST_VIRTUAL_REGISTER", "+", "2", ")", ";", "}", "if", "(", "rs6000_expand_vec_perm_const_1", "(", "target", ",", "op0", ",", "op1", ",", "sel", "[", "0", "]", ",", "sel", "[", "1", "]", ")", ")", "return", "true", ";", "}", "if", "(", "TARGET_ALTIVEC", ")", "{", "if", "(", "vmode", "!=", "V16QImode", ")", "return", "false", ";", "if", "(", "altivec_expand_vec_perm_const", "(", "target", ",", "op0", ",", "op1", ",", "sel", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VECTORIZE_VEC_PERM_CONST", "."], "TS_V_token": ["rs6000", "1", "2", "0", "1"], "File": "rs60007", "Func": "rs6000_vectorize_vec_perm_const", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5222, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "Cpu0SERegisterInfo", "::", "intRegClass", "(", "unsigned", "Size", ")", "const", "{", "return", "&", "Cpu0", "::", "CPURegsRegClass", ";", "}", ""], "natrual_language": ["Return", "GPR", "register", "class", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0::CPURegsRegClass"], "File": "Cpu0SERegisterInfo", "Func": "intRegClass", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5223, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "or1k_legitimate_constant_p", "(", "machine_mode", ",", "rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "CONST_INT", ":", "case", "CONST_WIDE_INT", ":", "case", "HIGH", ":", "return", "true", ";", "case", "CONST", ":", "case", "SYMBOL_REF", ":", "case", "LABEL_REF", ":", "return", "or1k_tls_symbolic_operand", "(", "x", ")", "==", "TLS_MODEL_NONE", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Worker", "for", "TARGET_LEGITIMATE_CONSTANT_P", ".", "Returns", "true", "is", "the", "RTX", "X", "represents", "a", "constant", "that", "can", "be", "used", "as", "an", "immediate", "operand", "in", "OpenRISC", "."], "TS_V_token": ["or1k"], "File": "or1k", "Func": "or1k_legitimate_constant_p", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5224, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "SystemZInstrInfo", "::", "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": ["SystemZ", "SystemZ"], "File": "SystemZInstrInfo38", "Func": "foldMemoryOperandImpl", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5225, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_function_arg", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "omode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "machine_mode", "mode", "=", "omode", ";", "HOST_WIDE_INT", "bytes", ",", "words", ";", "rtx", "arg", ";", "if", "(", "(", "type", "&&", "POINTER_BOUNDS_TYPE_P", "(", "type", ")", ")", "||", "POINTER_BOUNDS_MODE_P", "(", "mode", ")", ")", "{", "if", "(", "cum", "->", "bnds_in_bt", ")", "arg", "=", "NULL", ";", "else", "if", "(", "cum", "->", "bnd_regno", "<=", "LAST_BND_REG", ")", "arg", "=", "gen_rtx_REG", "(", "BNDmode", ",", "cum", "->", "bnd_regno", ")", ";", "else", "arg", "=", "GEN_INT", "(", "cum", "->", "bnd_regno", "-", "LAST_BND_REG", "-", "1", ")", ";", "return", "arg", ";", "}", "if", "(", "mode", "==", "BLKmode", ")", "bytes", "=", "int_size_in_bytes", "(", "type", ")", ";", "else", "bytes", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "words", "=", "(", "bytes", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "if", "(", "type", "&&", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", ")", "mode", "=", "type_natural_mode", "(", "type", ",", "cum", ",", "false", ")", ";", "if", "(", "TARGET_64BIT", "&&", "(", "cum", "?", "cum", "->", "call_abi", ":", "ix86_abi", ")", "==", "MS_ABI", ")", "arg", "=", "function_arg_ms_64", "(", "cum", ",", "mode", ",", "omode", ",", "named", ",", "bytes", ")", ";", "else", "if", "(", "TARGET_64BIT", ")", "arg", "=", "function_arg_64", "(", "cum", ",", "mode", ",", "omode", ",", "type", ",", "named", ")", ";", "else", "arg", "=", "function_arg_32", "(", "cum", ",", "mode", ",", "omode", ",", "type", ",", "bytes", ",", "words", ")", ";", "return", "arg", ";", "}", ""], "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", "1", "1"], "File": "i3864", "Func": "ix86_function_arg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5226, "Length": 232, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_save_reg_using_mov", "(", "machine_mode", "mode", ",", "unsigned", "int", "regno", ",", "HOST_WIDE_INT", "cfa_offset", ")", "{", "struct", "machine_function", "*", "m", "=", "cfun", "->", "machine", ";", "rtx", "reg", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "rtx", "mem", ",", "addr", ",", "base", ",", "insn", ";", "unsigned", "int", "align", ";", "addr", "=", "choose_baseaddr", "(", "cfa_offset", ")", ";", "mem", "=", "gen_frame_mem", "(", "mode", ",", "addr", ")", ";", "align", "=", "MIN", "(", "GET_MODE_ALIGNMENT", "(", "mode", ")", ",", "INCOMING_STACK_BOUNDARY", ")", ";", "set_mem_align", "(", "mem", ",", "align", ")", ";", "insn", "=", "emit_insn", "(", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "base", "=", "addr", ";", "if", "(", "GET_CODE", "(", "base", ")", "==", "PLUS", ")", "base", "=", "XEXP", "(", "base", ",", "0", ")", ";", "gcc_checking_assert", "(", "REG_P", "(", "base", ")", ")", ";", "if", "(", "m", "->", "fs", ".", "realigned", ")", "{", "gcc_checking_assert", "(", "stack_realign_drap", ")", ";", "if", "(", "regno", "==", "REGNO", "(", "crtl", "->", "drap_reg", ")", ")", "{", "gcc_checking_assert", "(", "cfun", "->", "machine", "->", "fs", ".", "fp_valid", ")", ";", "addr", "=", "plus_constant", "(", "Pmode", ",", "hard_frame_pointer_rtx", ",", "cfun", "->", "machine", "->", "fs", ".", "fp_offset", "-", "cfa_offset", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "mode", ",", "addr", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_DEF_CFA", ",", "mem", ")", ";", "}", "else", "{", "gcc_checking_assert", "(", "cfun", "->", "machine", "->", "fs", ".", "fp_valid", ")", ";", "addr", "=", "plus_constant", "(", "Pmode", ",", "hard_frame_pointer_rtx", ",", "cfun", "->", "machine", "->", "fs", ".", "fp_offset", "-", "cfa_offset", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "mode", ",", "addr", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_EXPRESSION", ",", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ")", ";", "}", "}", "else", "if", "(", "base", "!=", "m", "->", "fs", ".", "cfa_reg", ")", "{", "addr", "=", "plus_constant", "(", "Pmode", ",", "m", "->", "fs", ".", "cfa_reg", ",", "m", "->", "fs", ".", "cfa_offset", "-", "cfa_offset", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "mode", ",", "addr", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_OFFSET", ",", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "a", "single", "register", "save", "at", "CFA", "-", "CFA_OFFSET", "."], "TS_V_token": ["i386", "1", "0"], "File": "i3866", "Func": "ix86_emit_save_reg_using_mov", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5227, "Length": 321, "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": 5228, "Length": 369, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"2003f Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["F2003f", "\"2003f Assembly Printer\""], "File": "F2003fAsmPrinter", "Func": "getPassName", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5229, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "machine_mode", "ix86_fp_compare_mode", "(", "enum", "rtx_code", ")", "{", "return", "TARGET_IEEE_FP", "?", "CCFPUmode", ":", "CCFPmode", ";", "}", ""], "natrual_language": ["Figure", "out", "whether", "to", "use", "ordered", "or", "unordered", "fp", "comparisons", ".", "Return", "the", "appropriate", "mode", "to", "use", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_fp_compare_mode", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5230, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsCallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "ArrayRef", "<", "Register", ">", "VRegs", ",", "FunctionLoweringInfo", "&", "FLI", ")", "const", "{", "MachineInstrBuilder", "Ret", "=", "MIRBuilder", ".", "buildInstrNoInsert", "(", "Mips", "::", "RetRA", ")", ";", "if", "(", "Val", "!=", "nullptr", "&&", "!", "isSupportedReturnType", "(", "Val", "->", "getType", "(", ")", ")", ")", "return", "false", ";", "if", "(", "!", "VRegs", ".", "empty", "(", ")", ")", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "const", "DataLayout", "&", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "const", "MipsTargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "MipsTargetLowering", ">", "(", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "RetInfos", ";", "ArgInfo", "ArgRetInfo", "(", "VRegs", ",", "*", "Val", ",", "0", ")", ";", "setArgFlags", "(", "ArgRetInfo", ",", "AttributeList", "::", "ReturnIndex", ",", "DL", ",", "F", ")", ";", "splitToValueTypes", "(", "ArgRetInfo", ",", "RetInfos", ",", "DL", ",", "F", ".", "getCallingConv", "(", ")", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "SmallVector", "<", "ISD", "::", "OutputArg", ",", "8", ">", "Outs", ";", "MipsCCState", "CCInfo", "(", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ",", "MF", ",", "ArgLocs", ",", "F", ".", "getContext", "(", ")", ")", ";", "MipsOutgoingValueHandler", "RetHandler", "(", "MIRBuilder", ",", "MF", ".", "getRegInfo", "(", ")", ",", "Ret", ")", ";", "std", "::", "string", "FuncName", "=", "F", ".", "getName", "(", ")", ".", "str", "(", ")", ";", "MipsOutgoingValueAssigner", "Assigner", "(", "TLI", ".", "CCAssignFnForReturn", "(", ")", ",", "FuncName", ".", "c_str", "(", ")", ",", "true", ")", ";", "if", "(", "!", "determineAssignments", "(", "Assigner", ",", "RetInfos", ",", "CCInfo", ")", ")", "return", "false", ";", "if", "(", "!", "handleAssignments", "(", "RetHandler", ",", "RetInfos", ",", "CCInfo", ",", "ArgLocs", ",", "MIRBuilder", ")", ")", "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": ["Mips", "Mips", "Mips::RetRA", "Mips", "Mips", "8", "0", "16", "ISD::OutputArg", "8", "Mips", "Mips", "Mips"], "File": "MipsCallLowering (2)", "Func": "lowerReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5231, "Length": 296, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "HOST_WIDE_INT", "compute_current_alignment", "(", "unsigned", "HOST_WIDE_INT", "base_align", ",", "unsigned", "HOST_WIDE_INT", "offset", ")", "{", "if", "(", "offset", "==", "0", ")", "return", "base_align", ";", "return", "MIN", "(", "base_align", ",", "offset", "&", "-", "offset", ")", ";", "}", ""], "natrual_language": ["Compute", "the", "alignment", "of", "pointer+OFFSET", "where", "the", "original", "alignment", "of", "pointer", "was", "BASE_ALIGN", "."], "TS_V_token": ["rs6000", "0"], "File": "rs6000-string", "Func": "compute_current_alignment", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5232, "Length": 35, "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": 5233, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_call_abi_override", "(", "const_tree", "fndecl", ")", "{", "cfun", "->", "machine", "->", "call_abi", "=", "ix86_function_abi", "(", "fndecl", ")", ";", "}", ""], "natrual_language": ["Implementation", "of", "call", "abi", "switching", "target", "hook", ".", "Specific", "to", "FNDECL", "the", "specific", "call", "register", "sets", "are", "set", ".", "See", "also", "ix86_conditional_register_usage", "for", "more", "details", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_call_abi_override", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5234, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "rs6000_address_for_fpconvert", "(", "rtx", "x", ")", "{", "int", "strict_p", "=", "(", "reload_in_progress", "||", "reload_completed", ")", ";", "rtx", "addr", ";", "gcc_assert", "(", "MEM_P", "(", "x", ")", ")", ";", "addr", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "!", "legitimate_indirect_address_p", "(", "addr", ",", "strict_p", ")", "&&", "!", "legitimate_indexed_address_p", "(", "addr", ",", "strict_p", ")", ")", "{", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PRE_INC", "||", "GET_CODE", "(", "addr", ")", "==", "PRE_DEC", ")", "{", "rtx", "reg", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "HOST_WIDE_INT", "size", "=", "GET_MODE_SIZE", "(", "GET_MODE", "(", "x", ")", ")", ";", "rtx", "size_rtx", "=", "GEN_INT", "(", "(", "GET_CODE", "(", "addr", ")", "==", "PRE_DEC", ")", "?", "-", "size", ":", "size", ")", ";", "gcc_assert", "(", "REG_P", "(", "reg", ")", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "reg", ",", "reg", ",", "size_rtx", ")", ")", ";", "addr", "=", "reg", ";", "}", "else", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PRE_MODIFY", ")", "{", "rtx", "reg", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "rtx", "expr", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "gcc_assert", "(", "REG_P", "(", "reg", ")", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "expr", ")", "==", "PLUS", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "reg", ",", "XEXP", "(", "expr", ",", "0", ")", ",", "XEXP", "(", "expr", ",", "1", ")", ")", ")", ";", "addr", "=", "reg", ";", "}", "x", "=", "replace_equiv_address", "(", "x", ",", "copy_addr_to_reg", "(", "addr", ")", ")", ";", "}", "return", "x", ";", "}", ""], "natrual_language": ["Given", "a", "memory", "reference", ",", "if", "it", "is", "not", "a", "reg", "or", "reg+reg", "addressing", ",", "convert", "to", "such", "a", "form", "to", "deal", "with", "memory", "reference", "instructions", "like", "STFIWX", "that", "only", "take", "reg+reg", "addressing", "."], "TS_V_token": ["powerpcspe", "0", "0", "0", "1", "0", "1"], "File": "powerpcspe", "Func": "rs6000_address_for_fpconvert", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5235, "Length": 231, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isExtractSubvectorCheap", "(", "EVT", "ResVT", ",", "EVT", "SrcVT", ",", "unsigned", "Index", ")", "const", "{", "if", "(", "!", "isOperationLegalOrCustom", "(", "ISD", "::", "EXTRACT_SUBVECTOR", ",", "ResVT", ")", ")", "return", "false", ";", "return", "(", "Index", "==", "0", "||", "Index", "==", "ResVT", ".", "getVectorMinNumElements", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "EXTRACT_SUBVECTOR", "is", "cheap", "for", "this", "result", "type", "with", "this", "index", "."], "TS_V_token": ["AArch64", "AArch64", "ISD::EXTRACT_SUBVECTOR", "0"], "File": "AArch64ISelLowering45", "Func": "isExtractSubvectorCheap", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5236, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "Emitter", "<", "CodeEmitter", ">", "::", "getMachineOpValue", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "&", "MO", ")", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "ARMRegisterInfo", "::", "getRegisterNumbering", "(", "MO", ".", "getReg", "(", ")", ")", ";", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "else", "if", "(", "MO", ".", "isGlobal", "(", ")", ")", "emitGlobalAddress", "(", "MO", ".", "getGlobal", "(", ")", ",", "ARM", "::", "reloc_arm_branch", ",", "true", ")", ";", "else", "if", "(", "MO", ".", "isSymbol", "(", ")", ")", "emitExternalSymbolAddress", "(", "MO", ".", "getSymbolName", "(", ")", ",", "ARM", "::", "reloc_arm_branch", ")", ";", "else", "if", "(", "MO", ".", "isCPI", "(", ")", ")", "{", "const", "TargetInstrDesc", "&", "TID", "=", "MI", ".", "getDesc", "(", ")", ";", "unsigned", "Reloc", "=", "(", "(", "TID", ".", "TSFlags", "&", "ARMII", "::", "FormMask", ")", "==", "ARMII", "::", "VFPLdStFrm", ")", "?", "ARM", "::", "reloc_arm_vfp_cp_entry", ":", "ARM", "::", "reloc_arm_cp_entry", ";", "emitConstPoolAddress", "(", "MO", ".", "getIndex", "(", ")", ",", "Reloc", ")", ";", "}", "else", "if", "(", "MO", ".", "isJTI", "(", ")", ")", "emitJumpTableAddress", "(", "MO", ".", "getIndex", "(", ")", ",", "ARM", "::", "reloc_arm_relative", ")", ";", "else", "if", "(", "MO", ".", "isMBB", "(", ")", ")", "emitMachineBasicBlock", "(", "MO", ".", "getMBB", "(", ")", ",", "ARM", "::", "reloc_arm_branch", ")", ";", "else", "{", "cerr", "<<", "\"ERROR: Unknown type of MachineOperand: \"", "<<", "MO", "<<", "\"\\n\"", ";", "abort", "(", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["ARM", "ARM", "ARM::reloc_arm_branch", "ARM::reloc_arm_branch", "ARMII::FormMask", "ARMII::VFPLdStFrm", "ARM::reloc_arm_vfp_cp_entry", "ARM::reloc_arm_cp_entry", "ARM::reloc_arm_relative", "ARM::reloc_arm_branch", "\"ERROR: Unknown type of MachineOperand: \"", "\"\\n\"", "0"], "File": "ARMCodeEmitter7", "Func": "getMachineOpValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5237, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsSETargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "DCI", ".", "DAG", ";", "SDValue", "Val", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "ADDE", ":", "return", "performADDECombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SUBE", ":", "return", "performSUBECombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SHL", ":", "return", "performSHLCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SRA", ":", "return", "performSRACombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SRL", ":", "return", "performSRLCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "VSELECT", ":", "return", "performVSELECTCombine", "(", "N", ",", "DAG", ")", ";", "case", "ISD", "::", "SETCC", ":", "{", "Val", "=", "performSETCCCombine", "(", "N", ",", "DAG", ")", ";", "break", ";", "}", "}", "if", "(", "Val", ".", "getNode", "(", ")", ")", "return", "Val", ";", "return", "MipsTargetLowering", "::", "PerformDAGCombine", "(", "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": ["Mips", "Mips", "ISD::ADDE", "ISD::SUBE", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::VSELECT", "ISD::SETCC", "Mips"], "File": "MipsSEISelLowering78", "Func": "PerformDAGCombine", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5238, "Length": 174, "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": 5239, "Length": 409, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "sh_contains_memref_p_1", "(", "rtx", "*", "loc", ",", "void", "*", "data", "ATTRIBUTE_UNUSED", ")", "{", "return", "(", "GET_CODE", "(", "*", "loc", ")", "==", "MEM", ")", ";", "}", ""], "natrual_language": ["Called", "by", "sh_contains_memref_p", "via", "for_each_rtx", "."], "TS_V_token": ["sh"], "File": "sh3", "Func": "sh_contains_memref_p_1", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5240, "Length": 26, "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": 5241, "Length": 363, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16FrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "MutableArrayRef", "<", "CalleeSavedInfo", ">", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "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": ["Mips", "Mips"], "File": "Mips16FrameLowering12", "Func": "restoreCalleeSavedRegisters", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5242, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "useLoadStackGuardNode", "(", ")", "const", "{", "return", "Subtarget", "->", "isTargetMachO", "(", ")", ";", "}", ""], "natrual_language": ["If", "this", "function", "returns", "true", ",", "SelectionDAGBuilder", "emits", "a", "LOAD_STACK_GUARD", "node", "when", "it", "is", "lowering", "Intrinsic", ":", ":stackprotector", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMISelLowering (2)2", "Func": "useLoadStackGuardNode", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5243, "Length": 16, "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", "=", "(", "GET_CODE", "(", "bytes_rtx", ")", "==", "CONST_INT", ")", ";", "HOST_WIDE_INT", "align", ";", "HOST_WIDE_INT", "bytes", ";", "int", "offset", ";", "int", "clear_bytes", ";", "int", "clear_step", ";", "if", "(", "!", "constp", ")", "return", "0", ";", "gcc_assert", "(", "GET_CODE", "(", "align_rtx", ")", "==", "CONST_INT", ")", ";", "align", "=", "INTVAL", "(", "align_rtx", ")", "*", "BITS_PER_UNIT", ";", "bytes", "=", "INTVAL", "(", "bytes_rtx", ")", ";", "if", "(", "bytes", "<=", "0", ")", "return", "1", ";", "if", "(", "TARGET_ALTIVEC", "&&", "align", ">=", "128", ")", "clear_step", "=", "16", ";", "else", "if", "(", "TARGET_POWERPC64", "&&", "align", ">=", "32", ")", "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", ";", "for", "(", "offset", "=", "0", ";", "bytes", ">", "0", ";", "offset", "+=", "clear_bytes", ",", "bytes", "-=", "clear_bytes", ")", "{", "enum", "machine_mode", "mode", "=", "BLKmode", ";", "rtx", "dest", ";", "if", "(", "bytes", ">=", "16", "&&", "TARGET_ALTIVEC", "&&", "align", ">=", "128", ")", "{", "clear_bytes", "=", "16", ";", "mode", "=", "V4SImode", ";", "}", "else", "if", "(", "bytes", ">=", "8", "&&", "TARGET_POWERPC64", "&&", "(", "align", ">=", "64", "||", "(", "!", "STRICT_ALIGNMENT", "&&", "align", ">=", "32", ")", ")", ")", "{", "clear_bytes", "=", "8", ";", "mode", "=", "DImode", ";", "}", "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", "32", "8", "4", "3", "0", "8", "0", "0", "0", "16", "128", "16", "8", "64", "32", "8", "4", "32", "4", "2", "16", "2", "1", "1"], "File": "rs60003", "Func": "expand_block_clear", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5244, "Length": 333, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "AArch64RegisterInfo", "::", "getCrossCopyRegClass", "(", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "if", "(", "RC", "==", "&", "AArch64", "::", "CCRRegClass", ")", "return", "&", "AArch64", "::", "GPR64RegClass", ";", "return", "RC", ";", "}", ""], "natrual_language": ["getCrossCopyRegClass", "-", "Returns", "a", "legal", "register", "class", "to", "copy", "a", "register", "in", "the", "specified", "class", "to", "or", "from", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::CCRRegClass", "AArch64::GPR64RegClass"], "File": "AArch64RegisterInfo (2)", "Func": "getCrossCopyRegClass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5245, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "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", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "Context", ")", ";", "return", "CCInfo", ".", "CheckReturn", "(", "Outs", ",", "RetCC_PPC", ")", ";", "}", ""], "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": ["PowerPC", "PPC", "ISD::OutputArg", "16", "PPC"], "File": "PPCISelLowering (2)", "Func": "CanLowerReturn", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5246, "Length": 70, "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": 5247, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsRegisterInfo", "::", "getPICCallReg", "(", "void", ")", "{", "return", "Mips", "::", "T9", ";", "}", ""], "natrual_language": ["Get", "PIC", "indirect", "call", "register", "."], "TS_V_token": ["Mips", "Mips", "Mips::T9"], "File": "MipsRegisterInfo18", "Func": "getPICCallReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5248, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseInstrInfo", "::", "reMaterialize", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "Register", "DestReg", ",", "unsigned", "SubIdx", ",", "const", "MachineInstr", "&", "Orig", ",", "const", "TargetRegisterInfo", "&", "TRI", ")", "const", "{", "unsigned", "Opcode", "=", "Orig", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "{", "MachineInstr", "*", "MI", "=", "MBB", ".", "getParent", "(", ")", "->", "CloneMachineInstr", "(", "&", "Orig", ")", ";", "MI", "->", "substituteRegister", "(", "Orig", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "DestReg", ",", "SubIdx", ",", "TRI", ")", ";", "MBB", ".", "insert", "(", "I", ",", "MI", ")", ";", "break", ";", "}", "case", "ARM", "::", "tLDRpci_pic", ":", "case", "ARM", "::", "t2LDRpci_pic", ":", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "unsigned", "CPI", "=", "Orig", ".", "getOperand", "(", "1", ")", ".", "getIndex", "(", ")", ";", "unsigned", "PCLabelId", "=", "duplicateCPV", "(", "MF", ",", "CPI", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "Orig", ".", "getDebugLoc", "(", ")", ",", "get", "(", "Opcode", ")", ",", "DestReg", ")", ".", "addConstantPoolIndex", "(", "CPI", ")", ".", "addImm", "(", "PCLabelId", ")", ".", "cloneMemRefs", "(", "Orig", ")", ";", "break", ";", "}", "}", "}", ""], "natrual_language": ["Re-issue", "the", "specified", "'original", "'", "instruction", "at", "the", "specific", "location", "targeting", "a", "new", "destination", "register", "."], "TS_V_token": ["ARM", "ARM", "0", "ARM::tLDRpci_pic", "ARM::t2LDRpci_pic", "1"], "File": "ARMBaseInstrInfo110", "Func": "reMaterialize", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5249, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "gen_frame_mem_offset", "(", "machine_mode", "mode", ",", "rtx", "reg", ",", "int", "offset", ")", "{", "rtx", "int_rtx", ",", "offset_rtx", ";", "int_rtx", "=", "GEN_INT", "(", "offset", ")", ";", "if", "(", "(", "TARGET_SPE_ABI", "&&", "SPE_VECTOR_MODE", "(", "mode", ")", "&&", "!", "SPE_CONST_OFFSET_OK", "(", "offset", ")", ")", "||", "(", "TARGET_E500_DOUBLE", "&&", "mode", "==", "DFmode", ")", ")", "{", "offset_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "FIXED_SCRATCH", ")", ";", "emit_move_insn", "(", "offset_rtx", ",", "int_rtx", ")", ";", "}", "else", "offset_rtx", "=", "int_rtx", ";", "return", "gen_frame_mem", "(", "mode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "reg", ",", "offset_rtx", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "offset", "memory", "reference", "suitable", "for", "a", "frame", "store", ",", "while", "converting", "to", "a", "valid", "addressing", "mode", "."], "TS_V_token": ["rs6000"], "File": "rs60004", "Func": "gen_frame_mem_offset", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5250, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "UPTRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["UPT", "UPT"], "File": "UPTSubtarget", "Func": "getRegisterInfo", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5251, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "static", "rtx_insn", "*", "emit_set_insn", "(", "rtx", "x", ",", "rtx", "y", ")", "{", "return", "emit_insn", "(", "gen_rtx_SET", "(", "x", ",", "y", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "insn", "that", "'s", "a", "simple", "single-set", ".", "Both", "the", "operands", "must", "be", "known", "to", "be", "valid", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "emit_set_insn", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5252, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mark_reg_gr_used_mask", "(", "rtx", "reg", ",", "void", "*", "data", "ATTRIBUTE_UNUSED", ")", "{", "unsigned", "int", "regno", "=", "REGNO", "(", "reg", ")", ";", "if", "(", "regno", "<", "32", ")", "{", "unsigned", "int", "i", ",", "n", "=", "REG_NREGS", "(", "reg", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n", ";", "++", "i", ")", "current_frame_info", ".", "gr_used_mask", "|=", "1", "<<", "(", "regno", "+", "i", ")", ";", "}", "}", ""], "natrual_language": ["Helper", "function", "for", "ia64_compute_frame_size", ",", "called", "through", "diddle_return_value", ".", "Mark", "REG", "in", "current_frame_info.gr_used_mask", "."], "TS_V_token": ["ia64", "32", "0", "1"], "File": "ia64", "Func": "mark_reg_gr_used_mask", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5253, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "size_t", "ARMToARMStub", "::", "size", "(", ")", "const", "{", "return", "m_Size", ";", "}", ""], "natrual_language": ["The", "number", "of", "name/type", "pairs", "is", "returned", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMToARMStub", "Func": "size", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5254, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "getMemOperandWithOffsetWidth", "(", "const", "MachineInstr", "&", "LdSt", ",", "const", "MachineOperand", "*", "&", "BaseOp", ",", "int64_t", "&", "Offset", ",", "bool", "&", "OffsetIsScalable", ",", "unsigned", "&", "Width", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "assert", "(", "LdSt", ".", "mayLoadOrStore", "(", ")", "&&", "\"Expected a memory operation.\"", ")", ";", "if", "(", "LdSt", ".", "getNumExplicitOperands", "(", ")", "==", "3", ")", "{", "if", "(", "(", "!", "LdSt", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "&&", "!", "LdSt", ".", "getOperand", "(", "1", ")", ".", "isFI", "(", ")", ")", "||", "!", "LdSt", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", ")", "return", "false", ";", "}", "else", "if", "(", "LdSt", ".", "getNumExplicitOperands", "(", ")", "==", "4", ")", "{", "if", "(", "!", "LdSt", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "||", "(", "!", "LdSt", ".", "getOperand", "(", "2", ")", ".", "isReg", "(", ")", "&&", "!", "LdSt", ".", "getOperand", "(", "2", ")", ".", "isFI", "(", ")", ")", "||", "!", "LdSt", ".", "getOperand", "(", "3", ")", ".", "isImm", "(", ")", ")", "return", "false", ";", "}", "else", "return", "false", ";", "TypeSize", "Scale", "(", "0U", ",", "false", ")", ";", "int64_t", "Dummy1", ",", "Dummy2", ";", "if", "(", "!", "getMemOpInfo", "(", "LdSt", ".", "getOpcode", "(", ")", ",", "Scale", ",", "Width", ",", "Dummy1", ",", "Dummy2", ")", ")", "return", "false", ";", "if", "(", "LdSt", ".", "getNumExplicitOperands", "(", ")", "==", "3", ")", "{", "BaseOp", "=", "&", "LdSt", ".", "getOperand", "(", "1", ")", ";", "Offset", "=", "LdSt", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "*", "Scale", ".", "getKnownMinSize", "(", ")", ";", "}", "else", "{", "assert", "(", "LdSt", ".", "getNumExplicitOperands", "(", ")", "==", "4", "&&", "\"invalid number of operands\"", ")", ";", "BaseOp", "=", "&", "LdSt", ".", "getOperand", "(", "2", ")", ";", "Offset", "=", "LdSt", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "*", "Scale", ".", "getKnownMinSize", "(", ")", ";", "}", "OffsetIsScalable", "=", "Scale", ".", "isScalable", "(", ")", ";", "if", "(", "!", "BaseOp", "->", "isReg", "(", ")", "&&", "!", "BaseOp", "->", "isFI", "(", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "get", "the", "base", "operand", ",", "byte", "offset", "of", "an", "instruction", "and", "the", "memory", "width", "."], "TS_V_token": ["AArch64", "AArch64", "\"Expected a memory operation.\"", "3", "1", "1", "2", "4", "1", "2", "2", "3", "0U", "3", "1", "2", "4", "\"invalid number of operands\"", "2", "3"], "File": "AArch64InstrInfo105", "Func": "getMemOperandWithOffsetWidth", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5255, "Length": 326, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_short_vector_p", "(", "const_tree", "type", ",", "machine_mode", "mode", ")", "{", "HOST_WIDE_INT", "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", "(", "size", "==", "8", "||", "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": "aarch643", "Func": "aarch64_short_vector_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5256, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "timode_check_non_convertible_regs", "(", "bitmap", "candidates", ",", "bitmap", "regs", ",", "unsigned", "int", "regno", ")", "{", "for", "(", "df_ref", "def", "=", "DF_REG_DEF_CHAIN", "(", "regno", ")", ";", "def", ";", "def", "=", "DF_REF_NEXT_REG", "(", "def", ")", ")", "{", "if", "(", "!", "bitmap_bit_p", "(", "candidates", ",", "DF_REF_INSN_UID", "(", "def", ")", ")", ")", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"r%d has non convertible def in insn %d\\n\"", ",", "regno", ",", "DF_REF_INSN_UID", "(", "def", ")", ")", ";", "bitmap_set_bit", "(", "regs", ",", "regno", ")", ";", "break", ";", "}", "}", "for", "(", "df_ref", "ref", "=", "DF_REG_USE_CHAIN", "(", "regno", ")", ";", "ref", ";", "ref", "=", "DF_REF_NEXT_REG", "(", "ref", ")", ")", "{", "if", "(", "NONDEBUG_INSN_P", "(", "DF_REF_INSN", "(", "ref", ")", ")", "&&", "!", "bitmap_bit_p", "(", "candidates", ",", "DF_REF_INSN_UID", "(", "ref", ")", ")", ")", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"r%d has non convertible use in insn %d\\n\"", ",", "regno", ",", "DF_REF_INSN_UID", "(", "ref", ")", ")", ";", "bitmap_set_bit", "(", "regs", ",", "regno", ")", ";", "break", ";", "}", "}", "}", ""], "natrual_language": ["For", "a", "register", "REGNO", ",", "scan", "instructions", "for", "its", "defs", "and", "uses", ".", "Put", "REGNO", "in", "REGS", "if", "a", "def", "or", "use", "is", "n't", "in", "CANDIDATES", "."], "TS_V_token": ["i386", "\"r%d has non convertible def in insn %d\\n\"", "\"r%d has non convertible use in insn %d\\n\""], "File": "i386-features", "Func": "timode_check_non_convertible_regs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5257, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "SystemZRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "if", "(", "MF", "->", "getSubtarget", "(", ")", ".", "getTargetLowering", "(", ")", "->", "supportSwiftError", "(", ")", "&&", "MF", "->", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ".", "hasAttrSomewhere", "(", "Attribute", "::", "SwiftError", ")", ")", "return", "CSR_SystemZ_SwiftError_SaveList", ";", "return", "CSR_SystemZ_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ"], "File": "SystemZRegisterInfo12", "Func": "getCalleeSavedRegs", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5258, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isToken", "(", ")", "const", "{", "return", "Kind", "==", "k_Token", ";", "}", ""], "natrual_language": ["isToken", "-", "Is", "this", "a", "token", "operand", "?"], "TS_V_token": ["Mips"], "File": "MipsAsmParser102", "Func": "isToken", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5259, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "write_init_ovld_table", "(", "void", ")", "{", "fprintf", "(", "init_file", ",", "\" int base = RS6000_OVLD_NONE;\\n\\n\"", ")", ";", "fprintf", "(", "init_file", ",", "\" /* The fndecl for an overload is arbitrarily the first one\\n\"", "\" for the overload. We sort out the real types when\\n\"", "\" processing the overload in the gcc front end. */\\n\"", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<=", "curr_ovld", ";", "i", "++", ")", "{", "fprintf", "(", "init_file", ",", "\" rs6000_instance_info[RS6000_INST_%s].fntype\"", "\"\\n = %s;\\n\"", ",", "ovlds", "[", "i", "]", ".", "ovld_id_name", ",", "ovlds", "[", "i", "]", ".", "fndecl", ")", ";", "if", "(", "i", "==", "0", "||", "ovlds", "[", "i", "]", ".", "stanza", "!=", "ovlds", "[", "i", "-", "1", "]", ".", "stanza", ")", "{", "ovld_stanza", "*", "stanza", "=", "&", "ovld_stanzas", "[", "ovlds", "[", "i", "]", ".", "stanza", "]", ";", "fprintf", "(", "init_file", ",", "\"\\n\"", ")", ";", "int", "tf_found", "=", "strstr", "(", "ovlds", "[", "i", "]", ".", "fndecl", ",", "\"tf\"", ")", "!=", "NULL", ";", "int", "dfp_found", "=", "(", "strstr", "(", "ovlds", "[", "i", "]", ".", "fndecl", ",", "\"sd\"", ")", "!=", "NULL", "||", "strstr", "(", "ovlds", "[", "i", "]", ".", "fndecl", ",", "\"dd\"", ")", "!=", "NULL", "||", "strstr", "(", "ovlds", "[", "i", "]", ".", "fndecl", ",", "\"td\"", ")", "!=", "NULL", ")", ";", "if", "(", "tf_found", ")", "{", "fprintf", "(", "init_file", ",", "\" if (float128_type_node)\\n\"", ")", ";", "fprintf", "(", "init_file", ",", "\" {\\n\"", ")", ";", "}", "else", "if", "(", "dfp_found", ")", "{", "fprintf", "(", "init_file", ",", "\" if (dfloat64_type_node)\\n\"", ")", ";", "fprintf", "(", "init_file", ",", "\" {\\n\"", ")", ";", "}", "fprintf", "(", "init_file", ",", "\" rs6000_builtin_decls[(int)RS6000_OVLD_%s] = t\\n\"", ",", "stanza", "->", "stanza_id", ")", ";", "fprintf", "(", "init_file", ",", "\" = add_builtin_function (\\\"%s\\\",\\n\"", ",", "stanza", "->", "intern_name", ")", ";", "fprintf", "(", "init_file", ",", "\" %s,\\n\"", ",", "ovlds", "[", "i", "]", ".", "fndecl", ")", ";", "fprintf", "(", "init_file", ",", "\" (int)RS6000_OVLD_%s,\"", "\" BUILT_IN_MD,\\n\"", ",", "stanza", "->", "stanza_id", ")", ";", "fprintf", "(", "init_file", ",", "\" NULL, NULL_TREE);\\n\"", ")", ";", "if", "(", "tf_found", "||", "dfp_found", ")", "fprintf", "(", "init_file", ",", "\" }\\n\"", ")", ";", "fprintf", "(", "init_file", ",", "\"\\n\"", ")", ";", "fprintf", "(", "init_file", ",", "\" rs6000_overload_info[RS6000_OVLD_%s - base]\"", "\".first_instance\\n\"", ",", "stanza", "->", "stanza_id", ")", ";", "fprintf", "(", "init_file", ",", "\" = &rs6000_instance_info[RS6000_INST_%s];\\n\\n\"", ",", "ovlds", "[", "i", "]", ".", "ovld_id_name", ")", ";", "}", "}", "}", ""], "natrual_language": ["Write", "code", "to", "initialize", "the", "overload", "table", "."], "TS_V_token": ["rs6000", "\" int base = RS6000_OVLD_NONE;\\n\\n\"", "\" /* The fndecl for an overload is arbitrarily the first one\\n\"", "\" for the overload. We sort out the real types when\\n\"", "\" processing the overload in the gcc front end. */\\n\"", "0", "\" rs6000_instance_info[RS6000_INST_%s].fntype\"", "\"\\n = %s;\\n\"", "0", "1", "\"\\n\"", "\"tf\"", "\"sd\"", "\"dd\"", "\"td\"", "\" if (float128_type_node)\\n\"", "\" {\\n\"", "\" if (dfloat64_type_node)\\n\"", "\" {\\n\"", "\" rs6000_builtin_decls[(int)RS6000_OVLD_%s] = t\\n\"", "\" = add_builtin_function (\\\"%s\\\",\\n\"", "\" %s,\\n\"", "\" (int)RS6000_OVLD_%s,\"", "\" BUILT_IN_MD,\\n\"", "\" NULL, NULL_TREE);\\n\"", "\" }\\n\"", "\"\\n\"", "\" rs6000_overload_info[RS6000_OVLD_%s - base]\"", "\".first_instance\\n\"", "\" = &rs6000_instance_info[RS6000_INST_%s];\\n\\n\""], "File": "rs6000-gen-builtins", "Func": "write_init_ovld_table", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5260, "Length": 314, "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": 5261, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", ")", "{", "tree", "type", ",", "decl_or_type", ";", "rtx", "a", ",", "b", ";", "bool", "bind_global", "=", "decl", "&&", "!", "targetm", ".", "binds_local_p", "(", "decl", ")", ";", "if", "(", "cfun", "->", "machine", "->", "no_caller_saved_registers", ")", "return", "false", ";", "if", "(", "!", "TARGET_MACHO", "&&", "!", "TARGET_64BIT", "&&", "flag_pic", "&&", "flag_plt", "&&", "bind_global", ")", "return", "false", ";", "if", "(", "ix86_minimum_incoming_stack_boundary", "(", "true", ")", "<", "PREFERRED_STACK_BOUNDARY", ")", "return", "false", ";", "if", "(", "decl", ")", "{", "decl_or_type", "=", "decl", ";", "type", "=", "TREE_TYPE", "(", "decl", ")", ";", "}", "else", "{", "type", "=", "CALL_EXPR_FN", "(", "exp", ")", ";", "type", "=", "TREE_TYPE", "(", "type", ")", ";", "type", "=", "TREE_TYPE", "(", "type", ")", ";", "decl_or_type", "=", "type", ";", "}", "a", "=", "ix86_function_value", "(", "TREE_TYPE", "(", "exp", ")", ",", "decl_or_type", ",", "false", ")", ";", "b", "=", "ix86_function_value", "(", "TREE_TYPE", "(", "DECL_RESULT", "(", "cfun", "->", "decl", ")", ")", ",", "cfun", "->", "decl", ",", "false", ")", ";", "if", "(", "STACK_REG_P", "(", "a", ")", "||", "STACK_REG_P", "(", "b", ")", ")", "{", "if", "(", "!", "rtx_equal_p", "(", "a", ",", "b", ")", ")", "return", "false", ";", "}", "else", "if", "(", "VOID_TYPE_P", "(", "TREE_TYPE", "(", "DECL_RESULT", "(", "cfun", "->", "decl", ")", ")", ")", ")", ";", "else", "if", "(", "!", "rtx_equal_p", "(", "a", ",", "b", ")", ")", "return", "false", ";", "if", "(", "TARGET_64BIT", ")", "{", "if", "(", "cfun", "->", "machine", "->", "call_abi", "==", "MS_ABI", "&&", "ix86_function_type_abi", "(", "type", ")", "==", "SYSV_ABI", ")", "return", "false", ";", "}", "else", "{", "if", "(", "!", "decl", "||", "(", "bind_global", "&&", "flag_pic", "&&", "!", "flag_plt", ")", "||", "(", "TARGET_DLLIMPORT_DECL_ATTRIBUTES", "&&", "DECL_DLLIMPORT_P", "(", "decl", ")", ")", ")", "{", "if", "(", "ix86_function_regparm", "(", "type", ",", "NULL", ")", ">=", "3", "&&", "!", "cfun", "->", "machine", "->", "arg_reg_available", ")", "return", "false", ";", "}", "}", "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": ["i386", "3"], "File": "i3866", "Func": "ix86_function_ok_for_sibcall", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5262, "Length": 291, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_regno_ok_for_base_p", "(", "int", "regno", ",", "bool", "strict_p", ")", "{", "if", "(", "!", "HARD_REGISTER_NUM_P", "(", "regno", ")", ")", "{", "if", "(", "!", "strict_p", ")", "return", "true", ";", "if", "(", "!", "reg_renumber", ")", "return", "false", ";", "regno", "=", "reg_renumber", "[", "regno", "]", ";", "}", "return", "(", "GP_REGNUM_P", "(", "regno", ")", "||", "regno", "==", "SP_REGNUM", "||", "regno", "==", "FRAME_POINTER_REGNUM", "||", "regno", "==", "ARG_POINTER_REGNUM", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "register", "REGNO", "is", "a", "valid", "base", "register", "for", "mode", "MODE", ".", "STRICT_P", "is", "true", "if", "REG_OK_STRICT", "is", "in", "effect", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_regno_ok_for_base_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5263, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_cortex_m_branch_cost", "(", "bool", "speed_p", ",", "bool", "predictable_p", ")", "{", "return", "(", "TARGET_32BIT", "&&", "speed_p", ")", "?", "1", ":", "arm_default_branch_cost", "(", "speed_p", ",", "predictable_p", ")", ";", "}", ""], "natrual_language": ["Thumb-2", "branches", "are", "relatively", "cheap", "on", "Cortex-M", "processors", "(", "``", "1", "+", "P", "cycles", "''", "on", "Cortex-M4", ",", "where", "P", "varies", "from", "1", "to", "3", "according", "to", "some", "criteria", ")", ",", "since", "sequences", "of", "non-executed", "instructions", "in", "IT", "blocks", "probably", "take", "the", "same", "amount", "of", "time", "as", "executed", "instructions", "(", "and", "the", "IT", "instruction", "itself", "takes", "space", "in", "icache", ")", ".", "This", "function", "was", "experimentally", "determined", "to", "give", "good", "results", "on", "a", "popular", "embedded", "benchmark", "."], "TS_V_token": ["arm", "1"], "File": "arm", "Func": "arm_cortex_m_branch_cost", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5264, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "shouldBuildLookupTables", "(", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "switches", "should", "be", "turned", "into", "lookup", "tables", "for", "the", "target", "."], "TS_V_token": ["Lanai"], "File": "LanaiTargetTransformInfo", "Func": "shouldBuildLookupTables", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5265, "Length": 10, "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", "(", "(", "unsigned", ")", "Fixup", ".", "getKind", "(", ")", "==", "ARM", "::", "fixup_arm_thumb_bl", ")", "{", "assert", "(", "Sym", "&&", "\"How did we resolve this?\"", ")", ";", "if", "(", "Sym", "->", "isExternal", "(", ")", ")", "return", "true", ";", "}", "if", "(", "Sym", "&&", "Sym", "->", "isELF", "(", ")", ")", "{", "unsigned", "Type", "=", "dyn_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": "ARMAsmBackend15", "Func": "shouldForceRelocation", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5266, "Length": 234, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PostLegalizerLowering", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "MF", ".", "getProperties", "(", ")", ".", "hasProperty", "(", "MachineFunctionProperties", "::", "Property", "::", "FailedISel", ")", ")", "return", "false", ";", "assert", "(", "MF", ".", "getProperties", "(", ")", ".", "hasProperty", "(", "MachineFunctionProperties", "::", "Property", "::", "Legalized", ")", "&&", "\"Expected a legalized function?\"", ")", ";", "auto", "*", "TPC", "=", "&", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "AArch64PostLegalizerLoweringInfo", "PCInfo", "(", "F", ".", "hasOptSize", "(", ")", ",", "F", ".", "hasMinSize", "(", ")", ")", ";", "Combiner", "C", "(", "PCInfo", ",", "TPC", ")", ";", "return", "C", ".", "combineMachineInstrs", "(", "MF", ",", "nullptr", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"Expected a legalized function?\"", "AArch64"], "File": "AArch64PostLegalizerLowering", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5267, "Length": 108, "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": 5268, "Length": 395, "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", "&&", "(", "mode", "==", "TFmode", "||", "mode", "==", "TDmode", ")", ")", ")", ")", "return", "64", ";", "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", "8", "16", "64", "16", "128", "64", "\"the ABI of passing aggregates with %d-byte alignment\"", "\" has changed in GCC 5\"", "128", "64", "128"], "File": "rs60004", "Func": "rs6000_function_arg_boundary", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5269, "Length": 254, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZHazardRecognizer", "::", "EmitInstruction", "(", "SUnit", "*", "SU", ")", "{", "const", "MCSchedClassDesc", "*", "SC", "=", "getSchedClass", "(", "SU", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"++ HazardRecognizer emitting \"", ";", "dumpSU", "(", "SU", ",", "dbgs", "(", ")", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ";", ")", ";", "DEBUG", "(", "dumpCurrGroup", "(", "\"Decode group before emission\"", ")", ";", ")", ";", "if", "(", "!", "fitsIntoCurrentGroup", "(", "SU", ")", ")", "nextGroup", "(", ")", ";", "DEBUG", "(", "raw_string_ostream", "cgd", "(", "CurGroupDbg", ")", ";", "if", "(", "CurGroupDbg", ".", "length", "(", ")", ")", "cgd", "<<", "\", \"", ";", "dumpSU", "(", "SU", ",", "cgd", ")", ";", ")", ";", "LastEmittedMI", "=", "SU", "->", "getInstr", "(", ")", ";", "if", "(", "SU", "->", "isCall", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"++ Clearing state after call.\\n\"", ";", ")", ";", "Reset", "(", ")", ";", "LastEmittedMI", "=", "SU", "->", "getInstr", "(", ")", ";", "return", ";", "}", "for", "(", "TargetSchedModel", "::", "ProcResIter", "PI", "=", "SchedModel", "->", "getWriteProcResBegin", "(", "SC", ")", ",", "PE", "=", "SchedModel", "->", "getWriteProcResEnd", "(", "SC", ")", ";", "PI", "!=", "PE", ";", "++", "PI", ")", "{", "if", "(", "SchedModel", "->", "getProcResource", "(", "PI", "->", "ProcResourceIdx", ")", "->", "BufferSize", "==", "1", ")", "continue", ";", "int", "&", "CurrCounter", "=", "ProcResourceCounters", "[", "PI", "->", "ProcResourceIdx", "]", ";", "CurrCounter", "+=", "PI", "->", "Cycles", ";", "if", "(", "(", "CurrCounter", ">", "ProcResCostLim", ")", "&&", "(", "CriticalResourceIdx", "==", "UINT_MAX", "||", "(", "PI", "->", "ProcResourceIdx", "!=", "CriticalResourceIdx", "&&", "CurrCounter", ">", "ProcResourceCounters", "[", "CriticalResourceIdx", "]", ")", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"++ New critical resource: \"", "<<", "SchedModel", "->", "getProcResource", "(", "PI", "->", "ProcResourceIdx", ")", "->", "Name", "<<", "\"\\n\"", ";", ")", ";", "CriticalResourceIdx", "=", "PI", "->", "ProcResourceIdx", ";", "}", "}", "if", "(", "SU", "->", "isUnbuffered", ")", "{", "LastFPdOpCycleIdx", "=", "getCurrCycleIdx", "(", "SU", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"++ Last FPd cycle index: \"", "<<", "LastFPdOpCycleIdx", "<<", "\"\\n\"", ";", ")", ";", "}", "CurrGroupSize", "+=", "getNumDecoderSlots", "(", "SU", ")", ";", "assert", "(", "CurrGroupSize", "<=", "3", ")", ";", "if", "(", "CurrGroupSize", "==", "3", "||", "SC", "->", "EndGroup", ")", "nextGroup", "(", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"++ HazardRecognizer emitting \"", "\"\\n\"", "\"Decode group before emission\"", "\", \"", "\"++ Clearing state after call.\\n\"", "1", "\"++ New critical resource: \"", "\"\\n\"", "\"++ Last FPd cycle index: \"", "\"\\n\"", "3", "3"], "File": "SystemZHazardRecognizer10", "Func": "EmitInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5270, "Length": 319, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "machreg_t", "semctl", "(", "machreg_t", "semid", ",", "machreg_t", "semnum", ",", "machreg_t", "cmd", ",", "machreg_t", "arg", ")", "{", "return", "_semctl", "(", "semid", ",", "semnum", ",", "cmd", ",", "arg", "<<", "SHIFT_BITS", ")", ";", "}", ""], "natrual_language": ["<", "sys/sem.h", ">", "has", "int", "semctl", "(", "int", ",", "int", ",", "int", ",", "...", ")", ";", "where", "the", "variadic", "argument", "is", "union", "semun", "if", "used", ".", "union", "semun", "contains", "an", "int", "and", "two", "pointers", ",", "so", "the", "union", "is", "already", "64", "bits", "wide", "under", "the", "N64", "ABI", "and", "alignment", "is", "not", "an", "issue", "."], "TS_V_token": ["mips"], "File": "irix6-libc-compat", "Func": "semctl", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5271, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_emit_multi_reg_pop", "(", "unsigned", "long", "saved_regs_mask", ")", "{", "int", "num_regs", "=", "0", ";", "int", "i", ",", "j", ";", "rtx", "par", ";", "rtx", "dwarf", "=", "NULL_RTX", ";", "rtx", "tmp", ",", "reg", ";", "bool", "return_in_pc", "=", "saved_regs_mask", "&", "(", "1", "<<", "PC_REGNUM", ")", ";", "int", "offset_adj", ";", "int", "emit_update", ";", "offset_adj", "=", "return_in_pc", "?", "1", ":", "0", ";", "for", "(", "i", "=", "0", ";", "i", "<=", "LAST_ARM_REGNUM", ";", "i", "++", ")", "if", "(", "saved_regs_mask", "&", "(", "1", "<<", "i", ")", ")", "num_regs", "++", ";", "gcc_assert", "(", "num_regs", "&&", "num_regs", "<=", "16", ")", ";", "emit_update", "=", "(", "saved_regs_mask", "&", "(", "1", "<<", "SP_REGNUM", ")", ")", "?", "0", ":", "1", ";", "par", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "num_regs", "+", "emit_update", "+", "offset_adj", ")", ")", ";", "if", "(", "return_in_pc", ")", "XVECEXP", "(", "par", ",", "0", ",", "0", ")", "=", "ret_rtx", ";", "if", "(", "emit_update", ")", "{", "tmp", "=", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "4", "*", "num_regs", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "tmp", ")", "=", "1", ";", "XVECEXP", "(", "par", ",", "0", ",", "offset_adj", ")", "=", "tmp", ";", "}", "for", "(", "j", "=", "0", ",", "i", "=", "0", ";", "j", "<", "num_regs", ";", "i", "++", ")", "if", "(", "saved_regs_mask", "&", "(", "1", "<<", "i", ")", ")", "{", "rtx", "dwarf_reg", "=", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "i", ")", ";", "if", "(", "arm_current_function_pac_enabled_p", "(", ")", "&&", "i", "==", "IP_REGNUM", ")", "dwarf_reg", "=", "gen_rtx_REG", "(", "SImode", ",", "RA_AUTH_CODE", ")", ";", "if", "(", "(", "num_regs", "==", "1", ")", "&&", "emit_update", "&&", "!", "return_in_pc", ")", "{", "tmp", "=", "gen_frame_mem", "(", "SImode", ",", "gen_rtx_POST_INC", "(", "Pmode", ",", "stack_pointer_rtx", ")", ")", ";", "tmp", "=", "emit_insn", "(", "gen_rtx_SET", "(", "reg", ",", "tmp", ")", ")", ";", "REG_NOTES", "(", "tmp", ")", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "dwarf_reg", ",", "dwarf", ")", ";", "return", ";", "}", "tmp", "=", "gen_rtx_SET", "(", "reg", ",", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "4", "*", "j", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "tmp", ")", "=", "1", ";", "XVECEXP", "(", "par", ",", "0", ",", "j", "+", "emit_update", "+", "offset_adj", ")", "=", "tmp", ";", "if", "(", "i", "!=", "PC_REGNUM", ")", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "dwarf_reg", ",", "dwarf", ")", ";", "j", "++", ";", "}", "if", "(", "return_in_pc", ")", "par", "=", "emit_jump_insn", "(", "par", ")", ";", "else", "par", "=", "emit_insn", "(", "par", ")", ";", "REG_NOTES", "(", "par", ")", "=", "dwarf", ";", "if", "(", "!", "return_in_pc", ")", "arm_add_cfa_adjust_cfa_note", "(", "par", ",", "UNITS_PER_WORD", "*", "num_regs", ",", "stack_pointer_rtx", ",", "stack_pointer_rtx", ")", ";", "}", ""], "natrual_language": ["Generate", "and", "emit", "an", "insn", "pattern", "that", "we", "will", "recognize", "as", "a", "pop_multi", ".", "SAVED_REGS_MASK", "shows", "which", "registers", "need", "to", "be", "restored", ".", "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", "0", "1", "1", "0", "0", "1", "16", "1", "0", "1", "0", "0", "4", "1", "0", "0", "0", "1", "1", "4", "1", "0"], "File": "arm1", "Func": "arm_emit_multi_reg_pop", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5272, "Length": 408, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rs6000_build_builtin_va_list", "(", "void", ")", "{", "tree", "f_gpr", ",", "f_fpr", ",", "f_res", ",", "f_ovf", ",", "f_sav", ",", "record", ",", "type_decl", ";", "if", "(", "DEFAULT_ABI", "!=", "ABI_V4", ")", "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", "(", "\"gpr\"", ")", ",", "unsigned_char_type_node", ")", ";", "f_fpr", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"fpr\"", ")", ",", "unsigned_char_type_node", ")", ";", "f_res", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"reserved\"", ")", ",", "short_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_res", ")", "=", "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_res", ";", "TREE_CHAIN", "(", "f_res", ")", "=", "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": ["rs6000", "\"__va_list_tag\"", "\"gpr\"", "\"fpr\"", "\"reserved\"", "\"overflow_arg_area\"", "\"reg_save_area\""], "File": "rs60003", "Func": "rs6000_build_builtin_va_list", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5273, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCInstrInfo", "::", "insertNoop", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "PPC", "::", "NOP", ")", ")", ";", "}", ""], "natrual_language": ["Insert", "a", "noop", "into", "the", "instruction", "stream", "at", "the", "specified", "point", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::NOP"], "File": "PPCInstrInfo8", "Func": "insertNoop", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5274, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_eh_reg_restore", "(", "rtx", "source", ",", "rtx", "scratch", ")", "{", "rs6000_stack_t", "*", "info", "=", "rs6000_stack_info", "(", ")", ";", "rtx", "operands", "[", "2", "]", ";", "operands", "[", "0", "]", "=", "source", ";", "operands", "[", "1", "]", "=", "scratch", ";", "if", "(", "info", "->", "lr_save_p", ")", "{", "rtx", "frame_rtx", "=", "stack_pointer_rtx", ";", "HOST_WIDE_INT", "sp_offset", "=", "0", ";", "rtx", "tmp", ";", "if", "(", "frame_pointer_needed", "||", "cfun", "->", "calls_alloca", "||", "info", "->", "total_size", ">", "32767", ")", "{", "tmp", "=", "gen_frame_mem", "(", "Pmode", ",", "frame_rtx", ")", ";", "emit_move_insn", "(", "operands", "[", "1", "]", ",", "tmp", ")", ";", "frame_rtx", "=", "operands", "[", "1", "]", ";", "}", "else", "if", "(", "info", "->", "push_p", ")", "sp_offset", "=", "info", "->", "total_size", ";", "tmp", "=", "plus_constant", "(", "Pmode", ",", "frame_rtx", ",", "info", "->", "lr_save_offset", "+", "sp_offset", ")", ";", "tmp", "=", "gen_frame_mem", "(", "Pmode", ",", "tmp", ")", ";", "emit_move_insn", "(", "tmp", ",", "operands", "[", "0", "]", ")", ";", "}", "else", "emit_move_insn", "(", "gen_rtx_REG", "(", "Pmode", ",", "LR_REGNO", ")", ",", "operands", "[", "0", "]", ")", ";", "cfun", "->", "machine", "->", "lr_save_state", "=", "info", "->", "lr_save_p", "+", "1", ";", "}", ""], "natrual_language": ["Emit", "instructions", "to", "restore", "the", "link", "register", "after", "determining", "where", "its", "value", "has", "been", "stored", "."], "TS_V_token": ["rs6000", "2", "0", "1", "0", "32767", "1", "1", "0", "0", "1"], "File": "rs6000-logue", "Func": "rs6000_emit_eh_reg_restore", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5275, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCMCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ")", "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": "PPCMCCodeEmitter23", "Func": "getMachineOpValue", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5276, "Length": 110, "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", ")", ",", "ReserveX18", "(", "TT", ".", "isOSDarwin", "(", ")", "||", "TT", ".", "isOSWindows", "(", ")", ")", ",", "IsLittle", "(", "LittleEndian", ")", ",", "TargetTriple", "(", "TT", ")", ",", "FrameLowering", "(", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "FS", ",", "CPU", ")", ")", ",", "TSInfo", "(", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", ",", "GISel", "(", ")", "{", "GISelAccessor", "*", "AArch64GISel", "=", "new", "GISelAccessor", "(", ")", ";", "AArch64GISelActualAccessor", "*", "AArch64GISel", "=", "new", "AArch64GISelActualAccessor", "(", ")", ";", "AArch64GISel", "->", "CallLoweringInfo", ".", "reset", "(", "new", "AArch64CallLowering", "(", "*", "getTargetLowering", "(", ")", ")", ")", ";", "AArch64GISel", "->", "Legalizer", ".", "reset", "(", "new", "AArch64LegalizerInfo", "(", ")", ")", ";", "auto", "*", "RBI", "=", "new", "AArch64RegisterBankInfo", "(", "*", "getRegisterInfo", "(", ")", ")", ";", "AArch64GISel", "->", "InstSelector", ".", "reset", "(", "createAArch64InstructionSelector", "(", "*", "static_cast", "<", "const", "AArch64TargetMachine", "*", ">", "(", "&", "TM", ")", ",", "*", "this", ",", "*", "RBI", ")", ")", ";", "AArch64GISel", "->", "RegBankInfo", ".", "reset", "(", "RBI", ")", ";", "setGISelAccessor", "(", "*", "AArch64GISel", ")", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64Subtarget51", "Func": "AArch64Subtarget", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5277, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64TargetMachine", "::", "AArch64TargetMachine", "(", "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", ",", "bool", "LittleEndian", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "Options", ".", "MCOptions", ",", "LittleEndian", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "TT", ",", "RM", ")", ",", "getEffectiveAArch64CodeModel", "(", "TT", ",", "CM", ",", "JIT", ")", ",", "OL", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", ",", "isLittle", "(", "LittleEndian", ")", "{", "initAsmInfo", "(", ")", ";", "if", "(", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "{", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "this", "->", "Options", ".", "NoTrapAfterNoreturn", "=", "true", ";", "}", "if", "(", "getMCAsmInfo", "(", ")", "->", "usesWindowsCFI", "(", ")", ")", "{", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "}", "if", "(", "this", "->", "Options", ".", "TLSSize", "==", "0", ")", "this", "->", "Options", ".", "TLSSize", "=", "24", ";", "if", "(", "(", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Small", "||", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Kernel", ")", "&&", "this", "->", "Options", ".", "TLSSize", ">", "32", ")", "this", "->", "Options", ".", "TLSSize", "=", "32", ";", "else", "if", "(", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Tiny", "&&", "this", "->", "Options", ".", "TLSSize", ">", "24", ")", "this", "->", "Options", ".", "TLSSize", "=", "24", ";", "if", "(", "getOptLevel", "(", ")", "<=", "EnableGlobalISelAtO", "&&", "TT", ".", "getArch", "(", ")", "!=", "Triple", "::", "aarch64_32", "&&", "!", "(", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", "&&", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", ")", "{", "setGlobalISel", "(", "true", ")", ";", "setGlobalISelAbort", "(", "GlobalISelAbortMode", "::", "Disable", ")", ";", "}", "setMachineOutliner", "(", "true", ")", ";", "setSupportsDefaultOutlining", "(", "true", ")", ";", "setSupportsDebugEntryValues", "(", "true", ")", ";", "}", ""], "natrual_language": ["Create", "an", "AArch64", "architecture", "model", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "0", "24", "32", "32", "24", "24"], "File": "AArch64TargetMachine14", "Func": "AArch64TargetMachine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5278, "Length": 306, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "mips_output_order_conditional_branch", "(", "rtx_insn", "*", "insn", ",", "rtx", "*", "operands", ",", "bool", "inverted_p", ")", "{", "const", "char", "*", "branch", "[", "2", "]", ";", "if", "(", "operands", "[", "3", "]", "!=", "const0_rtx", ")", "{", "if", "(", "REGNO", "(", "operands", "[", "2", "]", ")", "==", "REGNO", "(", "operands", "[", "3", "]", ")", ")", "{", "switch", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", ")", "{", "case", "LT", ":", "case", "LTU", ":", "inverted_p", "=", "!", "inverted_p", ";", "case", "GE", ":", "case", "GEU", ":", "branch", "[", "!", "inverted_p", "]", "=", "MIPS_BRANCH_C", "(", "\"b\"", ",", "\"%0\"", ")", ";", "branch", "[", "inverted_p", "]", "=", "\"%*\\t\\t# branch never\"", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "{", "branch", "[", "!", "inverted_p", "]", "=", "MIPS_BRANCH_C", "(", "\"b%C1\"", ",", "\"%2,%3,%0\"", ")", ";", "branch", "[", "inverted_p", "]", "=", "MIPS_BRANCH_C", "(", "\"b%N1\"", ",", "\"%2,%3,%0\"", ")", ";", "}", "}", "else", "{", "switch", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", ")", "{", "case", "LEU", ":", "inverted_p", "=", "!", "inverted_p", ";", "case", "GTU", ":", "if", "(", "TARGET_CB_MAYBE", ")", "{", "branch", "[", "!", "inverted_p", "]", "=", "MIPS_BRANCH_C", "(", "\"bnez\"", ",", "\"%2,%0\"", ")", ";", "branch", "[", "inverted_p", "]", "=", "MIPS_BRANCH_C", "(", "\"beqz\"", ",", "\"%2,%0\"", ")", ";", "}", "else", "{", "branch", "[", "!", "inverted_p", "]", "=", "MIPS_BRANCH", "(", "\"bne\"", ",", "\"%2,%.,%0\"", ")", ";", "branch", "[", "inverted_p", "]", "=", "MIPS_BRANCH", "(", "\"beq\"", ",", "\"%2,%.,%0\"", ")", ";", "}", "break", ";", "case", "LTU", ":", "inverted_p", "=", "!", "inverted_p", ";", "case", "GEU", ":", "if", "(", "TARGET_CB_MAYBE", ")", "{", "branch", "[", "!", "inverted_p", "]", "=", "MIPS_BRANCH_C", "(", "\"b\"", ",", "\"%0\"", ")", ";", "branch", "[", "inverted_p", "]", "=", "\"%*\\t\\t# branch never\"", ";", "}", "else", "{", "branch", "[", "!", "inverted_p", "]", "=", "MIPS_BRANCH", "(", "\"beq\"", ",", "\"%.,%.,%0\"", ")", ";", "branch", "[", "inverted_p", "]", "=", "MIPS_BRANCH", "(", "\"bne\"", ",", "\"%.,%.,%0\"", ")", ";", "}", "break", ";", "default", ":", "if", "(", "TARGET_CB_MAYBE", ")", "{", "branch", "[", "!", "inverted_p", "]", "=", "MIPS_BRANCH_C", "(", "\"b%C1z\"", ",", "\"%2,%0\"", ")", ";", "branch", "[", "inverted_p", "]", "=", "MIPS_BRANCH_C", "(", "\"b%N1z\"", ",", "\"%2,%0\"", ")", ";", "}", "else", "{", "branch", "[", "!", "inverted_p", "]", "=", "MIPS_BRANCH", "(", "\"b%C1z\"", ",", "\"%2,%0\"", ")", ";", "branch", "[", "inverted_p", "]", "=", "MIPS_BRANCH", "(", "\"b%N1z\"", ",", "\"%2,%0\"", ")", ";", "}", "break", ";", "}", "}", "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", "ordering", "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", ";", "its", "second", "is", "always", "zero", "."], "TS_V_token": ["mips", "2", "3", "2", "3", "1", "\"b\"", "\"%0\"", "\"%*\\t\\t# branch never\"", "\"b%C1\"", "\"%2,%3,%0\"", "\"b%N1\"", "\"%2,%3,%0\"", "1", "\"bnez\"", "\"%2,%0\"", "\"beqz\"", "\"%2,%0\"", "\"bne\"", "\"%2,%.,%0\"", "\"beq\"", "\"%2,%.,%0\"", "\"b\"", "\"%0\"", "\"%*\\t\\t# branch never\"", "\"beq\"", "\"%.,%.,%0\"", "\"bne\"", "\"%.,%.,%0\"", "\"b%C1z\"", "\"%2,%0\"", "\"b%N1z\"", "\"%2,%0\"", "\"b%C1z\"", "\"%2,%0\"", "\"b%N1z\"", "\"%2,%0\"", "1", "0"], "File": "mips", "Func": "mips_output_order_conditional_branch", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5279, "Length": 377, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TOYRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["TOY", "TOY"], "File": "TOYInstrInfo1", "Func": "getRegisterInfo", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5280, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "offset_9bit_signed_unscaled_p", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "poly_int64", "offset", ")", "{", "HOST_WIDE_INT", "const_offset", ";", "return", "(", "offset", ".", "is_constant", "(", "&", "const_offset", ")", "&&", "IN_RANGE", "(", "const_offset", ",", "-", "256", ",", "255", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OFFSET", "is", "a", "signed", "9-bit", "value", "."], "TS_V_token": ["aarch64", "256", "255"], "File": "aarch645", "Func": "offset_9bit_signed_unscaled_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5281, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isIncomingArgumentHandler", "(", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "handler", "is", "dealing", "with", "incoming", "arguments", ",", "i.e", "."], "TS_V_token": ["AArch64"], "File": "AArch64CallLowering12", "Func": "isIncomingArgumentHandler", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5282, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_declare_function_name", "(", "FILE", "*", "stream", ",", "const", "char", "*", "name", ",", "tree", "fndecl", ")", "{", "tree", "target_parts", "=", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "fndecl", ")", ";", "struct", "cl_target_option", "*", "targ_options", ";", "if", "(", "target_parts", ")", "targ_options", "=", "TREE_TARGET_OPTION", "(", "target_parts", ")", ";", "else", "targ_options", "=", "TREE_TARGET_OPTION", "(", "target_option_current_node", ")", ";", "gcc_assert", "(", "targ_options", ")", ";", "const", "struct", "processor", "*", "this_arch", "=", "aarch64_get_arch", "(", "targ_options", "->", "x_explicit_arch", ")", ";", "uint64_t", "isa_flags", "=", "targ_options", "->", "x_aarch64_isa_flags", ";", "std", "::", "string", "extension", "=", "aarch64_get_extension_string_for_isa_flags", "(", "isa_flags", ",", "this_arch", "->", "flags", ")", ";", "std", "::", "string", "to_print", "=", "this_arch", "->", "name", "+", "extension", ";", "if", "(", "to_print", "!=", "aarch64_last_printed_arch_string", ")", "{", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t.arch %s\\n\"", ",", "to_print", ".", "c_str", "(", ")", ")", ";", "aarch64_last_printed_arch_string", "=", "to_print", ";", "}", "const", "struct", "processor", "*", "this_tune", "=", "aarch64_get_tune_cpu", "(", "targ_options", "->", "x_explicit_tune_core", ")", ";", "if", "(", "flag_debug_asm", "&&", "aarch64_last_printed_tune_string", "!=", "this_tune", "->", "name", ")", "{", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\"", "ASM_COMMENT_START", "\".tune %s\\n\"", ",", "this_tune", "->", "name", ")", ";", "aarch64_last_printed_tune_string", "=", "this_tune", "->", "name", ";", "}", "aarch64_asm_output_variant_pcs", "(", "stream", ",", "fndecl", ",", "name", ")", ";", "ASM_OUTPUT_TYPE_DIRECTIVE", "(", "stream", ",", "name", ",", "\"function\"", ")", ";", "ASM_OUTPUT_LABEL", "(", "stream", ",", "name", ")", ";", "cfun", "->", "machine", "->", "label_is_assembled", "=", "true", ";", "}", ""], "natrual_language": ["Implement", "ASM_DECLARE_FUNCTION_NAME", ".", "Output", "the", "ISA", "features", "used", "by", "the", "function", "fndecl", "."], "TS_V_token": ["aarch64", "\"\\t.arch %s\\n\"", "\"\\t\"", "\".tune %s\\n\"", "\"function\""], "File": "aarch64", "Func": "aarch64_declare_function_name", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5283, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "predefined_function_abi", "&", "aarch64_fntype_abi", "(", "const_tree", "fntype", ")", "{", "if", "(", "lookup_attribute", "(", "\"aarch64_vector_pcs\"", ",", "TYPE_ATTRIBUTES", "(", "fntype", ")", ")", ")", "return", "aarch64_simd_abi", "(", ")", ";", "if", "(", "aarch64_returns_value_in_sve_regs_p", "(", "fntype", ")", "||", "aarch64_takes_arguments_in_sve_regs_p", "(", "fntype", ")", ")", "return", "aarch64_sve_abi", "(", ")", ";", "return", "default_function_abi", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FNTYPE_ABI", "."], "TS_V_token": ["aarch64", "\"aarch64_vector_pcs\""], "File": "aarch64", "Func": "aarch64_fntype_abi", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5284, "Length": 48, "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": 5285, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_emit_p9_fp_cmove", "(", "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", "result_mode", "=", "GET_MODE", "(", "dest", ")", ";", "rtx", "compare_rtx", ";", "rtx", "cmove_rtx", ";", "rtx", "clobber_rtx", ";", "if", "(", "!", "can_create_pseudo_p", "(", ")", ")", "return", "0", ";", "switch", "(", "code", ")", "{", "case", "EQ", ":", "case", "GE", ":", "case", "GT", ":", "break", ";", "case", "NE", ":", "case", "LT", ":", "case", "LE", ":", "code", "=", "swap_condition", "(", "code", ")", ";", "std", "::", "swap", "(", "op0", ",", "op1", ")", ";", "break", ";", "default", ":", "return", "0", ";", "}", "compare_rtx", "=", "gen_rtx_fmt_ee", "(", "code", ",", "CCFPmode", ",", "op0", ",", "op1", ")", ";", "cmove_rtx", "=", "gen_rtx_SET", "(", "dest", ",", "gen_rtx_IF_THEN_ELSE", "(", "result_mode", ",", "compare_rtx", ",", "true_cond", ",", "false_cond", ")", ")", ";", "clobber_rtx", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_SCRATCH", "(", "V2DImode", ")", ")", ";", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "cmove_rtx", ",", "clobber_rtx", ")", ")", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["ISA", "3.0", "(", "power9", ")", "conditional", "move", "subcase", "to", "emit", "XSCMP", "{", "EQ", ",", "GE", ",", "GT", ",", "NE", "}", "DP", "and", "XXSEL", "instructions", "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": ["rs6000", "0", "1", "0", "0", "2", "1"], "File": "rs6000", "Func": "rs6000_emit_p9_fp_cmove", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5286, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "getIntImmCost", "(", "Intrinsic", "::", "ID", "IID", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "{", "return", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["DLX", "Intrinsic::ID"], "File": "DLXTargetTransformInfo", "Func": "getIntImmCost", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5287, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "assert", "(", "&", "MF", ".", "front", "(", ")", "==", "&", "MBB", "&&", "\"Shrink-wrapping not yet supported\"", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "Mips16InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "Mips16InstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "0", "&&", "!", "MFI", ".", "adjustsStack", "(", ")", ")", "return", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "MCRegisterInfo", "*", "MRI", "=", "MMI", ".", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MachineLocation", "DstML", ",", "SrcML", ";", "TII", ".", "makeFrame", "(", "Mips", "::", "SP", ",", "StackSize", ",", "MBB", ",", "MBBI", ")", ";", "unsigned", "CFIIndex", "=", "MMI", ".", "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", "(", ")", ")", "{", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "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", "DReg", "=", "MRI", "->", "getDwarfRegNum", "(", "Reg", ",", "true", ")", ";", "unsigned", "CFIIndex", "=", "MMI", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createOffset", "(", "nullptr", ",", "DReg", ",", "Offset", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "}", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "MoveR3216", ")", ",", "Mips", "::", "S0", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "\"Shrink-wrapping not yet supported\"", "Mips", "Mips", "0", "Mips::SP", "Mips::MoveR3216", "Mips::S0", "Mips::SP"], "File": "Mips16FrameLowering29", "Func": "emitPrologue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5288, "Length": 382, "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", "(", ")", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Convert", "the", "instruction", "into", "a", "predicated", "instruction", "."], "TS_V_token": ["ARM", "ARM", "0", "1", "1", "0", "1", "1"], "File": "ARMBaseInstrInfo (2)2", "Func": "PredicateInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5289, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "or1k_function_arg_advance", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "int", "nreg", "=", "CEIL", "(", "GET_MODE_SIZE", "(", "arg", ".", "mode", ")", ",", "UNITS_PER_WORD", ")", ";", "gcc_assert", "(", "nreg", "<=", "2", ")", ";", "if", "(", "arg", ".", "named", ")", "*", "cum", "+=", "nreg", ";", "}", ""], "natrual_language": ["Worker", "for", "TARGET_FUNCTION_ARG_ADVANCE", ".", "Update", "the", "cumulative", "args", "descriptor", "CUM_V", "to", "advance", "past", "the", "next", "function", "argument", ".", "Note", ",", "this", "is", "not", "called", "for", "arguments", "passed", "on", "the", "stack", "."], "TS_V_token": ["or1k", "2"], "File": "or1k", "Func": "or1k_function_arg_advance", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5290, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "shouldExpandAtomicStoreInIR", "(", "StoreInst", "*", "SI", ")", "const", "{", "return", "needsCmpXchgNb", "(", "SI", "->", "getValueOperand", "(", ")", "->", "getType", "(", ")", ")", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "(", "atomic", ")", "store", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "into", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering (2)3", "Func": "shouldExpandAtomicStoreInIR", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5291, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "ARMOperand", "*", "CreateMem", "(", "unsigned", "BaseRegNum", ",", "const", "MCConstantExpr", "*", "OffsetImm", ",", "unsigned", "OffsetRegNum", ",", "ARM_AM", "::", "ShiftOpc", "ShiftType", ",", "unsigned", "ShiftImm", ",", "unsigned", "Alignment", ",", "bool", "isNegative", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{", "ARMOperand", "*", "Op", "=", "new", "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", ";", "return", "Op", ";", "}", ""], "natrual_language": ["Create", "a", "generalized", "memory", "operand", "."], "TS_V_token": ["ARM", "ARM", "ARM_AM::ShiftOpc", "ARM", "ARM"], "File": "ARMAsmParser (2)", "Func": "CreateMem", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5292, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCRegisterInfo", "::", "lowerCRSpilling", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "unsigned", "FrameIndex", ",", "int", "SPAdj", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "DebugLoc", "dl", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "(", "void", ")", "SPAdj", ";", "(", "void", ")", "RS", ";", "bool", "LP64", "=", "Subtarget", ".", "isPPC64", "(", ")", ";", "unsigned", "Reg", "=", "Subtarget", ".", "isDarwinABI", "(", ")", "?", "(", "LP64", "?", "PPC", "::", "X2", ":", "PPC", "::", "R2", ")", ":", "(", "LP64", "?", "PPC", "::", "X0", ":", "PPC", "::", "R0", ")", ";", "unsigned", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "LP64", "?", "PPC", "::", "MFCR8pseud", ":", "PPC", "::", "MFCRpseud", ")", ",", "Reg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "isKill", "(", ")", ")", ")", ";", "if", "(", "SrcReg", "!=", "PPC", "::", "CR0", ")", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "LP64", "?", "PPC", "::", "RLWINM8", ":", "PPC", "::", "RLWINM", ")", ",", "Reg", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "getPPCRegisterNumbering", "(", "SrcReg", ")", "*", "4", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "31", ")", ";", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "LP64", "?", "PPC", "::", "STW8", ":", "PPC", "::", "STW", ")", ")", ".", "addReg", "(", "Reg", ",", "getKillRegState", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ")", ")", ",", "FrameIndex", ")", ";", "MBB", ".", "erase", "(", "II", ")", ";", "}", ""], "natrual_language": ["lowerCRSpilling", "-", "Generate", "the", "code", "for", "spilling", "a", "CR", "register", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::X2", "PPC::R2", "PPC::X0", "PPC::R0", "0", "PPC::MFCR8pseud", "PPC::MFCRpseud", "0", "PPC::CR0", "PPC::RLWINM8", "PPC::RLWINM", "PPC", "4", "0", "31", "PPC::STW8", "PPC::STW", "1"], "File": "PPCRegisterInfo14", "Func": "lowerCRSpilling", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5293, "Length": 279, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "address_offset", "(", "rtx", "op", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "==", "PRE_INC", "||", "GET_CODE", "(", "op", ")", "==", "PRE_DEC", ")", "op", "=", "XEXP", "(", "op", ",", "0", ")", ";", "else", "if", "(", "GET_CODE", "(", "op", ")", "==", "PRE_MODIFY", "||", "GET_CODE", "(", "op", ")", "==", "LO_SUM", ")", "op", "=", "XEXP", "(", "op", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "CONST", ")", "op", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "PLUS", ")", "op", "=", "XEXP", "(", "op", ",", "1", ")", ";", "if", "(", "CONST_INT_P", "(", "op", ")", ")", "return", "op", ";", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Given", "an", "address", ",", "return", "a", "constant", "offset", "term", "if", "one", "exists", "."], "TS_V_token": ["powerpcspe", "0", "1", "0", "1"], "File": "powerpcspe", "Func": "address_offset", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5294, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "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", "false", ";", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "XEXP", "(", "op", ",", "0", ")", ")", ")", "==", "MODE_CC", ")", "return", "false", ";", "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", "true", ";", "}", ""], "natrual_language": ["Same", "as", "above", ",", "but", "for", "ints", "(", "isel", ")", "."], "TS_V_token": ["rs6000", "0", "0"], "File": "rs6000", "Func": "rs6000_emit_int_cmove", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5295, "Length": 241, "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", "(", ")", ";", "unsigned", "Count", "=", "CSI", ".", "size", "(", ")", ";", "DebugLoc", "DL", ";", "assert", "(", "(", "Count", "&", "1", ")", "==", "0", "&&", "\"Odd number of callee-saved regs to spill!\"", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Count", ";", "i", "+=", "2", ")", "{", "unsigned", "idx", "=", "Count", "-", "i", "-", "2", ";", "unsigned", "Reg1", "=", "CSI", "[", "idx", "]", ".", "getReg", "(", ")", ";", "unsigned", "Reg2", "=", "CSI", "[", "idx", "+", "1", "]", ".", "getReg", "(", ")", ";", "assert", "(", "CSI", "[", "idx", "]", ".", "getFrameIdx", "(", ")", "+", "1", "==", "CSI", "[", "idx", "+", "1", "]", ".", "getFrameIdx", "(", ")", "&&", "\"Out of order callee saved regs!\"", ")", ";", "unsigned", "StrOpc", ";", "assert", "(", "(", "Count", "&", "1", ")", "==", "0", "&&", "\"Odd number of callee-saved regs to spill!\"", ")", ";", "assert", "(", "(", "i", "&", "1", ")", "==", "0", "&&", "\"Odd index for callee-saved reg spill!\"", ")", ";", "if", "(", "AArch64", "::", "GPR64RegClass", ".", "contains", "(", "Reg1", ")", ")", "{", "assert", "(", "AArch64", "::", "GPR64RegClass", ".", "contains", "(", "Reg2", ")", "&&", "\"Expected GPR64 callee-saved register pair!\"", ")", ";", "if", "(", "i", "==", "0", ")", "StrOpc", "=", "AArch64", "::", "STPXpre", ";", "else", "StrOpc", "=", "AArch64", "::", "STPXi", ";", "}", "else", "if", "(", "AArch64", "::", "FPR64RegClass", ".", "contains", "(", "Reg1", ")", ")", "{", "assert", "(", "AArch64", "::", "FPR64RegClass", ".", "contains", "(", "Reg2", ")", "&&", "\"Expected FPR64 callee-saved register pair!\"", ")", ";", "if", "(", "i", "==", "0", ")", "StrOpc", "=", "AArch64", "::", "STPDpre", ";", "else", "StrOpc", "=", "AArch64", "::", "STPDi", ";", "}", "else", "llvm_unreachable", "(", "\"Unexpected callee saved register!\"", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"CSR spill: (\"", "<<", "TRI", "->", "getName", "(", "Reg1", ")", "<<", "\", \"", "<<", "TRI", "->", "getName", "(", "Reg2", ")", "<<", "\") -> fi#(\"", "<<", "CSI", "[", "idx", "]", ".", "getFrameIdx", "(", ")", "<<", "\", \"", "<<", "CSI", "[", "idx", "+", "1", "]", ".", "getFrameIdx", "(", ")", "<<", "\")\\n\"", ")", ";", "const", "int", "Offset", "=", "(", "i", "==", "0", ")", "?", "-", "Count", ":", "i", ";", "assert", "(", "(", "Offset", ">=", "-", "64", "&&", "Offset", "<=", "63", ")", "&&", "\"Offset out of bounds for STP immediate\"", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "StrOpc", ")", ")", ";", "if", "(", "StrOpc", "==", "AArch64", "::", "STPDpre", "||", "StrOpc", "==", "AArch64", "::", "STPXpre", ")", "MIB", ".", "addReg", "(", "AArch64", "::", "SP", ",", "RegState", "::", "Define", ")", ";", "MIB", ".", "addReg", "(", "Reg2", ",", "getPrologueDeath", "(", "MF", ",", "Reg2", ")", ")", ".", "addReg", "(", "Reg1", ",", "getPrologueDeath", "(", "MF", ",", "Reg1", ")", ")", ".", "addReg", "(", "AArch64", "::", "SP", ")", ".", "addImm", "(", "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", "1", "0", "\"Odd number of callee-saved regs to spill!\"", "0", "2", "2", "1", "1", "1", "\"Out of order callee saved regs!\"", "1", "0", "\"Odd number of callee-saved regs to spill!\"", "1", "0", "\"Odd index for callee-saved reg spill!\"", "AArch64::GPR64RegClass", "AArch64::GPR64RegClass", "\"Expected GPR64 callee-saved register pair!\"", "0", "AArch64::STPXpre", "AArch64::STPXi", "AArch64::FPR64RegClass", "AArch64::FPR64RegClass", "\"Expected FPR64 callee-saved register pair!\"", "0", "AArch64::STPDpre", "AArch64::STPDi", "\"Unexpected callee saved register!\"", "\"CSR spill: (\"", "\", \"", "\") -> fi#(\"", "\", \"", "1", "\")\\n\"", "0", "64", "63", "\"Offset out of bounds for STP immediate\"", "AArch64::STPDpre", "AArch64::STPXpre", "AArch64::SP", "AArch64::SP"], "File": "AArch64FrameLowering34", "Func": "spillCalleeSavedRegisters", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5296, "Length": 485, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "MipsRegisterInfo", "::", "getCallPreservedMask", "(", "CallingConv", "::", "ID", ")", "const", "{", "if", "(", "Subtarget", ".", "isSingleFloat", "(", ")", ")", "return", "CSR_SingleFloatOnly_RegMask", ";", "if", "(", "Subtarget", ".", "isABI_N64", "(", ")", ")", "return", "CSR_N64_RegMask", ";", "if", "(", "Subtarget", ".", "isABI_N32", "(", ")", ")", "return", "CSR_N32_RegMask", ";", "if", "(", "Subtarget", ".", "isFP64bit", "(", ")", ")", "return", "CSR_O32_FP64_RegMask", ";", "if", "(", "Subtarget", ".", "isFPXX", "(", ")", ")", "return", "CSR_O32_FPXX_RegMask", ";", "return", "CSR_O32_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsRegisterInfo", "Func": "getCallPreservedMask", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5297, "Length": 72, "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": 5298, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "getPICJumpTableRelocBase", "(", "SDValue", "Table", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "isPPC64", "(", ")", "||", "Subtarget", ".", "isAIXABI", "(", ")", ")", "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": "PPCISelLowering100", "Func": "getPICJumpTableRelocBase", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5299, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "char", "*", "aarch64_offload_options", "(", "void", ")", "{", "if", "(", "TARGET_ILP32", ")", "return", "xstrdup", "(", "\"-foffload-abi=ilp32\"", ")", ";", "else", "return", "xstrdup", "(", "\"-foffload-abi=lp64\"", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_OFFLOAD_OPTIONS", "hook", "."], "TS_V_token": ["aarch64", "\"-foffload-abi=ilp32\"", "\"-foffload-abi=lp64\""], "File": "aarch641", "Func": "aarch64_offload_options", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5300, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_init_dwarf_reg_sizes_extra", "(", "tree", "address", ")", "{", "if", "(", "TARGET_SPE", ")", "{", "int", "i", ";", "machine_mode", "mode", "=", "TYPE_MODE", "(", "char_type_node", ")", ";", "rtx", "addr", "=", "expand_expr", "(", "address", ",", "NULL_RTX", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "rtx", "mem", "=", "gen_rtx_MEM", "(", "BLKmode", ",", "addr", ")", ";", "rtx", "value", "=", "gen_int_mode", "(", "4", ",", "mode", ")", ";", "for", "(", "i", "=", "FIRST_SPE_HIGH_REGNO", ";", "i", "<", "LAST_SPE_HIGH_REGNO", "+", "1", ";", "i", "++", ")", "{", "int", "column", "=", "DWARF_REG_TO_UNWIND_COLUMN", "(", "DWARF2_FRAME_REG_OUT", "(", "DWARF_FRAME_REGNUM", "(", "i", ")", ",", "true", ")", ")", ";", "HOST_WIDE_INT", "offset", "=", "column", "*", "GET_MODE_SIZE", "(", "mode", ")", ";", "emit_move_insn", "(", "adjust_address", "(", "mem", ",", "mode", ",", "offset", ")", ",", "value", ")", ";", "}", "}", "if", "(", "TARGET_MACHO", "&&", "!", "TARGET_ALTIVEC", ")", "{", "int", "i", ";", "machine_mode", "mode", "=", "TYPE_MODE", "(", "char_type_node", ")", ";", "rtx", "addr", "=", "expand_expr", "(", "address", ",", "NULL_RTX", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "rtx", "mem", "=", "gen_rtx_MEM", "(", "BLKmode", ",", "addr", ")", ";", "rtx", "value", "=", "gen_int_mode", "(", "16", ",", "mode", ")", ";", "for", "(", "i", "=", "FIRST_ALTIVEC_REGNO", ";", "i", "<", "LAST_ALTIVEC_REGNO", "+", "1", ";", "i", "++", ")", "{", "int", "column", "=", "DWARF_REG_TO_UNWIND_COLUMN", "(", "DWARF2_FRAME_REG_OUT", "(", "DWARF_FRAME_REGNUM", "(", "i", ")", ",", "true", ")", ")", ";", "HOST_WIDE_INT", "offset", "=", "column", "*", "GET_MODE_SIZE", "(", "mode", ")", ";", "emit_move_insn", "(", "adjust_address", "(", "mem", ",", "mode", ",", "offset", ")", ",", "value", ")", ";", "}", "}", "}", ""], "natrual_language": ["Fill", "in", "sizes", "of", "registers", "used", "by", "unwinder", "."], "TS_V_token": ["rs6000", "4", "1", "16", "1"], "File": "rs60004", "Func": "rs6000_init_dwarf_reg_sizes_extra", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5301, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0InstPrinter", "::", "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": ["Cpu0", "Cpu0"], "File": "Cpu0InstPrinter2", "Func": "printInst", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5302, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ARMMCExpr", "*", "ARMMCExpr", "::", "Create", "(", "VariantKind", "Kind", ",", "const", "MCExpr", "*", "Expr", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "ARMMCExpr", "(", "Kind", ",", "Expr", ")", ";", "}", ""], "natrual_language": ["Construct", "a", "unary", "instruction", ",", "given", "the", "opcode", "and", "an", "operand", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "ARMMCExpr", "Func": "Create", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5303, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_vector_mode_supported_p", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_V2SFmode", ":", "return", "TARGET_PAIRED_SINGLE_FLOAT", ";", "case", "E_V2HImode", ":", "case", "E_V4QImode", ":", "case", "E_V2HQmode", ":", "case", "E_V2UHQmode", ":", "case", "E_V2HAmode", ":", "case", "E_V2UHAmode", ":", "case", "E_V4QQmode", ":", "case", "E_V4UQQmode", ":", "return", "TARGET_DSP", ";", "case", "E_V2SImode", ":", "case", "E_V4HImode", ":", "case", "E_V8QImode", ":", "return", "TARGET_LOONGSON_MMI", ";", "default", ":", "return", "MSA_SUPPORTED_MODE_P", "(", "mode", ")", ";", "}", "}", ""], "natrual_language": ["Target", "hook", "for", "vector_mode_supported_p", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_vector_mode_supported_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5304, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsInstrInfo", "::", "verifyInstruction", "(", "const", "MachineInstr", "&", "MI", ",", "StringRef", "&", "ErrInfo", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "Mips", "::", "EXT", ":", "case", "Mips", "::", "EXT_MM", ":", "case", "Mips", "::", "INS", ":", "case", "Mips", "::", "INS_MM", ":", "case", "Mips", "::", "DINS", ":", "return", "verifyInsExtInstruction", "(", "MI", ",", "ErrInfo", ",", "0", ",", "32", ",", "0", ",", "32", ",", "0", ",", "32", ")", ";", "case", "Mips", "::", "DINSM", ":", "return", "verifyInsExtInstruction", "(", "MI", ",", "ErrInfo", ",", "0", ",", "32", ",", "1", ",", "64", ",", "32", ",", "64", ")", ";", "case", "Mips", "::", "DINSU", ":", "return", "verifyInsExtInstruction", "(", "MI", ",", "ErrInfo", ",", "32", ",", "64", ",", "0", ",", "32", ",", "32", ",", "64", ")", ";", "case", "Mips", "::", "DEXT", ":", "return", "verifyInsExtInstruction", "(", "MI", ",", "ErrInfo", ",", "0", ",", "32", ",", "0", ",", "32", ",", "0", ",", "63", ")", ";", "case", "Mips", "::", "DEXTM", ":", "return", "verifyInsExtInstruction", "(", "MI", ",", "ErrInfo", ",", "0", ",", "32", ",", "32", ",", "64", ",", "32", ",", "64", ")", ";", "case", "Mips", "::", "DEXTU", ":", "return", "verifyInsExtInstruction", "(", "MI", ",", "ErrInfo", ",", "32", ",", "64", ",", "0", ",", "32", ",", "32", ",", "64", ")", ";", "default", ":", "return", "true", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Perform", "target-specific", "instruction", "verification", "."], "TS_V_token": ["Mips", "Mips", "Mips::EXT", "Mips::EXT_MM", "Mips::INS", "Mips::INS_MM", "Mips::DINS", "0", "32", "0", "32", "0", "32", "Mips::DINSM", "0", "32", "1", "64", "32", "64", "Mips::DINSU", "32", "64", "0", "32", "32", "64", "Mips::DEXT", "0", "32", "0", "32", "0", "63", "Mips::DEXTM", "0", "32", "32", "64", "32", "64", "Mips::DEXTU", "32", "64", "0", "32", "32", "64"], "File": "MipsInstrInfo42", "Func": "verifyInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5305, "Length": 205, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86CallFrameOptimization", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "TFL", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "if", "(", "!", "isLegal", "(", "MF", ")", ")", "return", "false", ";", "unsigned", "FrameSetupOpcode", "=", "TII", "->", "getCallFrameSetupOpcode", "(", ")", ";", "bool", "Changed", "=", "false", ";", "ContextVector", "CallSeqVector", ";", "for", "(", "MachineFunction", "::", "iterator", "BB", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "BB", "!=", "E", ";", "++", "BB", ")", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "BB", "->", "begin", "(", ")", ";", "I", "!=", "BB", "->", "end", "(", ")", ";", "++", "I", ")", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "FrameSetupOpcode", ")", "{", "CallContext", "Context", ";", "collectCallInfo", "(", "MF", ",", "*", "BB", ",", "I", ",", "Context", ")", ";", "CallSeqVector", ".", "push_back", "(", "Context", ")", ";", "}", "if", "(", "!", "isProfitable", "(", "MF", ",", "CallSeqVector", ")", ")", "return", "false", ";", "for", "(", "auto", "CC", ":", "CallSeqVector", ")", "if", "(", "CC", ".", "UsePush", ")", "Changed", "|=", "adjustCallSequence", "(", "MF", ",", "CC", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86"], "File": "X86CallFrameOptimization35", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5306, "Length": 196, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SystemZRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "getSubtargetImpl", "(", ")", "->", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZTargetMachine", "Func": "getRegisterInfo", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5307, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "or1k_expand_prologue", "(", "void", ")", "{", "HOST_WIDE_INT", "sp_offset", "=", "-", "cfun", "->", "machine", "->", "total_size", ";", "HOST_WIDE_INT", "reg_offset", ",", "this_offset", ";", "rtx", "insn", ";", "if", "(", "flag_stack_usage_info", ")", "current_function_static_stack_size", "=", "-", "sp_offset", ";", "if", "(", "sp_offset", "==", "0", ")", "goto", "fini", ";", "reg_offset", "=", "(", "sp_offset", "+", "cfun", "->", "machine", "->", "local_vars_size", "+", "cfun", "->", "machine", "->", "args_size", ")", ";", "this_offset", "=", "MAX", "(", "sp_offset", ",", "-", "32764", ")", ";", "reg_offset", "-=", "this_offset", ";", "sp_offset", "-=", "this_offset", ";", "insn", "=", "emit_insn", "(", "gen_frame_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "this_offset", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "for", "(", "int", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "regno", "!=", "HARD_FRAME_POINTER_REGNUM", "&&", "regno", "!=", "LR_REGNUM", "&&", "callee_saved_regno_p", "(", "regno", ")", ")", "{", "or1k_save_reg", "(", "regno", ",", "reg_offset", ")", ";", "reg_offset", "+=", "UNITS_PER_WORD", ";", "}", "if", "(", "callee_saved_regno_p", "(", "HARD_FRAME_POINTER_REGNUM", ")", ")", "{", "or1k_save_reg", "(", "HARD_FRAME_POINTER_REGNUM", ",", "reg_offset", ")", ";", "if", "(", "frame_pointer_needed", ")", "{", "insn", "=", "emit_insn", "(", "gen_addsi3", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "this_offset", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "reg_offset", "+=", "UNITS_PER_WORD", ";", "}", "if", "(", "callee_saved_regno_p", "(", "LR_REGNUM", ")", ")", "{", "or1k_save_reg", "(", "LR_REGNUM", ",", "reg_offset", ")", ";", "reg_offset", "+=", "UNITS_PER_WORD", ";", "}", "gcc_assert", "(", "reg_offset", "+", "this_offset", "==", "0", ")", ";", "if", "(", "sp_offset", "!=", "0", ")", "{", "if", "(", "sp_offset", "<", "2", "*", "-", "32768", ")", "{", "rtx", "tmp", "=", "gen_rtx_REG", "(", "Pmode", ",", "PE_TMP_REGNUM", ")", ";", "emit_move_insn", "(", "tmp", ",", "GEN_INT", "(", "sp_offset", ")", ")", ";", "insn", "=", "emit_insn", "(", "gen_frame_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "tmp", ")", ")", ";", "if", "(", "!", "frame_pointer_needed", ")", "{", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_ADJUST_CFA", ",", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "sp_offset", ")", ")", ")", ";", "}", "}", "else", "{", "do", "{", "this_offset", "=", "MAX", "(", "sp_offset", ",", "-", "32768", ")", ";", "sp_offset", "-=", "this_offset", ";", "insn", "=", "emit_insn", "(", "gen_frame_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "this_offset", ")", ")", ")", ";", "if", "(", "!", "frame_pointer_needed", ")", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "while", "(", "sp_offset", "!=", "0", ")", ";", "}", "}", "fini", ":", "rtx_insn", "*", "set_got_insn", "=", "cfun", "->", "machine", "->", "set_got_insn", ";", "if", "(", "crtl", "->", "uses_pic_offset_table", ")", "{", "rtx", "reg", "=", "SET_DEST", "(", "PATTERN", "(", "set_got_insn", ")", ")", ";", "rtx_insn", "*", "insn", "=", "emit_insn_before", "(", "gen_set_got", "(", "reg", ")", ",", "set_got_insn", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_FLUSH_QUEUE", ",", "NULL_RTX", ")", ";", "}", "delete_insn", "(", "set_got_insn", ")", ";", "}", ""], "natrual_language": ["Expand", "the", "``", "prologue", "''", "pattern", "."], "TS_V_token": ["or1k", "0", "32764", "1", "0", "1", "0", "0", "2", "32768", "1", "32768", "1", "0", "1"], "File": "or1k", "Func": "or1k_expand_prologue", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5308, "Length": 435, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CAHPMCExpr", "::", "evaluateAsConstant", "(", "int64_t", "&", "Res", ")", "const", "{", "MCValue", "Value", ";", "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": ["CAHP", "CAHP"], "File": "CAHPMCExpr", "Func": "evaluateAsConstant", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5309, "Length": 60, "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", "::", "getVFPf32Imm", "(", "Imm", ")", "!=", "-", "1", ";", "if", "(", "VT", "==", "MVT", "::", "f64", ")", "return", "ARM", "::", "getVFPf64Imm", "(", "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::getVFPf32Imm", "1", "MVT::f64", "ARM::getVFPf64Imm", "1"], "File": "ARMISelLowering109", "Func": "isFPImmLegal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5310, "Length": 69, "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": 5311, "Length": 219, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"AArch64PostLegalizerCombiner\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64", "\"AArch64PostLegalizerCombiner\""], "File": "AArch64PostLegalizerCombiner (2)", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5312, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "resolveFrameIndex", "(", "MachineInstr", "&", "MI", ",", "unsigned", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "ARMBaseInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "int", "Off", "=", "Offset", ";", "unsigned", "i", "=", "0", ";", "assert", "(", "!", "AFI", "->", "isThumb1OnlyFunction", "(", ")", "&&", "\"This resolveFrameIndex does not support Thumb1!\"", ")", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "bool", "Done", "=", "false", ";", "if", "(", "!", "AFI", "->", "isThumbFunction", "(", ")", ")", "Done", "=", "rewriteARMFrameIndex", "(", "MI", ",", "i", ",", "BaseReg", ",", "Off", ",", "TII", ")", ";", "else", "{", "assert", "(", "AFI", "->", "isThumb2Function", "(", ")", ")", ";", "Done", "=", "rewriteT2FrameIndex", "(", "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", "ARM", "0", "\"This resolveFrameIndex does not support Thumb1!\"", "\"Instr doesn't have FrameIndex operand!\"", "ARM", "\"Unable to resolve frame index!\""], "File": "ARMBaseRegisterInfo13", "Func": "resolveFrameIndex", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5313, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_mask_and_shift_for_ubfiz_p", "(", "machine_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": "aarch644", "Func": "aarch64_mask_and_shift_for_ubfiz_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5314, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1RegisterInfo", "::", "saveScavengerRegister", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "MachineBasicBlock", "::", "iterator", "&", "UseMI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "unsigned", "Reg", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "DL", ";", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", ".", "get", "(", "ARM", "::", "tMOVr", ")", ")", ".", "addReg", "(", "ARM", "::", "R12", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ")", ";", "bool", "done", "=", "false", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "II", "=", "I", ";", "!", "done", "&&", "II", "!=", "UseMI", ";", "++", "II", ")", "{", "if", "(", "II", "->", "isDebugValue", "(", ")", ")", "continue", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "II", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "const", "MachineOperand", "&", "MO", "=", "II", "->", "getOperand", "(", "i", ")", ";", "if", "(", "MO", ".", "isRegMask", "(", ")", "&&", "MO", ".", "clobbersPhysReg", "(", "ARM", "::", "R12", ")", ")", "{", "UseMI", "=", "II", ";", "done", "=", "true", ";", "break", ";", "}", "if", "(", "!", "MO", ".", "isReg", "(", ")", "||", "MO", ".", "isUndef", "(", ")", "||", "!", "MO", ".", "getReg", "(", ")", "||", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "MO", ".", "getReg", "(", ")", ")", ")", "continue", ";", "if", "(", "MO", ".", "getReg", "(", ")", "==", "ARM", "::", "R12", ")", "{", "UseMI", "=", "II", ";", "done", "=", "true", ";", "break", ";", "}", "}", "}", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "UseMI", ",", "DL", ",", "TII", ".", "get", "(", "ARM", "::", "tMOVr", ")", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "ARM", "::", "R12", ",", "RegState", "::", "Kill", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Spill", "the", "register", "so", "it", "can", "be", "used", "by", "the", "register", "scavenger", "."], "TS_V_token": ["ARM", "ARM::tMOVr", "ARM::R12", "0", "ARM::R12", "ARM::R12", "ARM::tMOVr", "ARM::R12"], "File": "Thumb1RegisterInfo8", "Func": "saveScavengerRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5315, "Length": 291, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "sh_dwarf_calling_convention", "(", "const_tree", "func", ")", "{", "if", "(", "sh_attr_renesas_p", "(", "func", ")", ")", "return", "DW_CC_GNU_renesas_sh", ";", "return", "DW_CC_normal", ";", "}", ""], "natrual_language": ["Implements", "target", "hook", "dwarf_calling_convention", ".", "Return", "an", "enum", "of", "dwarf_calling_convention", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "sh_dwarf_calling_convention", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5316, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ArrayRef", "<", "MCPhysReg", ">", "MipsABIInfo", "::", "GetByValArgRegs", "(", ")", "const", "{", "if", "(", "IsCheriPureCap", "(", ")", ")", "return", "{", "}", ";", "if", "(", "IsO32", "(", ")", ")", "return", "makeArrayRef", "(", "O32IntRegs", ")", ";", "if", "(", "IsN32", "(", ")", "||", "IsN64", "(", ")", ")", "return", "makeArrayRef", "(", "Mips64IntRegs", ")", ";", "llvm_unreachable", "(", "\"Unhandled ABI\"", ")", ";", "}", ""], "natrual_language": ["The", "registers", "to", "use", "for", "byval", "arguments", "."], "TS_V_token": ["Mips", "Mips", "Mips", "\"Unhandled ABI\""], "File": "MipsABIInfo10", "Func": "GetByValArgRegs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5317, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "Position", ",", "const", "DebugLoc", "&", "DL", ",", "MCRegister", "DestinationRegister", ",", "MCRegister", "SourceRegister", ",", "bool", "KillSource", ")", "const", "{", "if", "(", "!", "Lanai", "::", "GPRRegClass", ".", "contains", "(", "DestinationRegister", ",", "SourceRegister", ")", ")", "{", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "}", "BuildMI", "(", "MBB", ",", "Position", ",", "DL", ",", "get", "(", "Lanai", "::", "OR_I_LO", ")", ",", "DestinationRegister", ")", ".", "addReg", "(", "SourceRegister", ",", "getKillRegState", "(", "KillSource", ")", ")", ".", "addImm", "(", "0", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["Lanai", "Lanai", "Lanai::GPRRegClass", "\"Impossible reg-to-reg copy\"", "Lanai::OR_I_LO", "0"], "File": "LanaiInstrInfo1", "Func": "copyPhysReg", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5318, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "*", "ARMBaseInstrInfo", "::", "CreateTargetPostRAHazardRecognizer", "(", "const", "InstrItineraryData", "*", "II", ",", "const", "ScheduleDAG", "*", "DAG", ")", "const", "{", "if", "(", "Subtarget", ".", "isThumb2", "(", ")", "||", "Subtarget", ".", "hasVFP2", "(", ")", ")", "return", "(", "ScheduleHazardRecognizer", "*", ")", "new", "ARMHazardRecognizer", "(", "II", ",", "DAG", ")", ";", "return", "TargetInstrInfo", "::", "CreateTargetPostRAHazardRecognizer", "(", "II", ",", "DAG", ")", ";", "}", ""], "natrual_language": ["Allocate", "and", "return", "a", "hazard", "recognizer", "to", "use", "for", "by", "non-scheduling", "passes", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMBaseInstrInfo (2)", "Func": "CreateTargetPostRAHazardRecognizer", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5319, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "HOST_WIDE_INT", "ix86_memmodel_check", "(", "unsigned", "HOST_WIDE_INT", "val", ")", "{", "enum", "memmodel", "model", "=", "memmodel_from_int", "(", "val", ")", ";", "bool", "strong", ";", "if", "(", "val", "&", "~", "(", "unsigned", "HOST_WIDE_INT", ")", "(", "IX86_HLE_ACQUIRE", "|", "IX86_HLE_RELEASE", "|", "MEMMODEL_MASK", ")", "||", "(", "(", "val", "&", "IX86_HLE_ACQUIRE", ")", "&&", "(", "val", "&", "IX86_HLE_RELEASE", ")", ")", ")", "{", "warning", "(", "OPT_Winvalid_memory_model", ",", "\"unknown architecture specific memory model\"", ")", ";", "return", "MEMMODEL_SEQ_CST", ";", "}", "strong", "=", "(", "is_mm_acq_rel", "(", "model", ")", "||", "is_mm_seq_cst", "(", "model", ")", ")", ";", "if", "(", "val", "&", "IX86_HLE_ACQUIRE", "&&", "!", "(", "is_mm_acquire", "(", "model", ")", "||", "strong", ")", ")", "{", "warning", "(", "OPT_Winvalid_memory_model", ",", "\"% not used with % or stronger \"", "\"memory model\"", ")", ";", "return", "MEMMODEL_SEQ_CST", "|", "IX86_HLE_ACQUIRE", ";", "}", "if", "(", "val", "&", "IX86_HLE_RELEASE", "&&", "!", "(", "is_mm_release", "(", "model", ")", "||", "strong", ")", ")", "{", "warning", "(", "OPT_Winvalid_memory_model", ",", "\"% not used with % or stronger \"", "\"memory model\"", ")", ";", "return", "MEMMODEL_SEQ_CST", "|", "IX86_HLE_RELEASE", ";", "}", "return", "val", ";", "}", ""], "natrual_language": ["Validate", "target", "specific", "memory", "model", "bits", "in", "VAL", "."], "TS_V_token": ["i386", "\"unknown architecture specific memory model\"", "\"% not used with % or stronger \"", "\"memory model\"", "\"% not used with % or stronger \"", "\"memory model\""], "File": "i386", "Func": "ix86_memmodel_check", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5320, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "X86TargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "IsMemset", ",", "bool", "ZeroMemset", ",", "bool", "MemcpyStrSrc", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "!", "F", "->", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ")", "{", "if", "(", "Size", ">=", "16", "&&", "(", "!", "Subtarget", ".", "isUnalignedMem16Slow", "(", ")", "||", "(", "(", "DstAlign", "==", "0", "||", "DstAlign", ">=", "16", ")", "&&", "(", "SrcAlign", "==", "0", "||", "SrcAlign", ">=", "16", ")", ")", ")", ")", "{", "if", "(", "Size", ">=", "32", "&&", "Subtarget", ".", "hasAVX", "(", ")", ")", "{", "return", "MVT", "::", "v32i8", ";", "}", "if", "(", "Subtarget", ".", "hasSSE2", "(", ")", ")", "return", "MVT", "::", "v16i8", ";", "if", "(", "Subtarget", ".", "hasSSE1", "(", ")", ")", "return", "MVT", "::", "v4f32", ";", "}", "else", "if", "(", "(", "!", "IsMemset", "||", "ZeroMemset", ")", "&&", "!", "MemcpyStrSrc", "&&", "Size", ">=", "8", "&&", "!", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Subtarget", ".", "hasSSE2", "(", ")", ")", "{", "return", "MVT", "::", "f64", ";", "}", "}", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Size", ">=", "8", ")", "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": ["X86", "X86", "16", "0", "16", "0", "16", "32", "MVT::v32i8", "MVT::v16i8", "MVT::v4f32", "8", "MVT::f64", "8", "MVT::i64", "MVT::i32"], "File": "X86ISelLowering (3)", "Func": "getOptimalMemOpType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5321, "Length": 198, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_some_values_include_pst_objects_p", "(", "const_tree", "type", ")", "{", "if", "(", "TYPE_SIZE", "(", "type", ")", "&&", "integer_zerop", "(", "TYPE_SIZE", "(", "type", ")", ")", ")", "return", "false", ";", "if", "(", "aarch64_sve", "::", "builtin_type_p", "(", "type", ")", ")", "return", "true", ";", "if", "(", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "COMPLEX_TYPE", ")", "return", "aarch64_some_values_include_pst_objects_p", "(", "TREE_TYPE", "(", "type", ")", ")", ";", "if", "(", "RECORD_OR_UNION_TYPE_P", "(", "type", ")", ")", "for", "(", "tree", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";", "field", ";", "field", "=", "TREE_CHAIN", "(", "field", ")", ")", "if", "(", "TREE_CODE", "(", "field", ")", "==", "FIELD_DECL", "&&", "aarch64_some_values_include_pst_objects_p", "(", "TREE_TYPE", "(", "field", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "at", "least", "one", "possible", "value", "of", "type", "TYPE", "includes", "at", "least", "one", "object", "of", "Pure", "Scalable", "Type", ",", "in", "the", "sense", "of", "the", "AAPCS64", ".", "This", "is", "a", "relatively", "expensive", "test", "for", "some", "types", ",", "so", "it", "should", "generally", "be", "made", "as", "late", "as", "possible", "."], "TS_V_token": ["aarch64", "aarch64_sve::builtin_type_p"], "File": "aarch64", "Func": "aarch64_some_values_include_pst_objects_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5322, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VZeroUpperInserter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "!", "UseVZeroUpper", ")", "return", "false", ";", "const", "X86Subtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "ST", ".", "hasAVX", "(", ")", "||", "!", "ST", ".", "insertVZEROUPPER", "(", ")", ")", "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": "X86VZeroUpper19", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5323, "Length": 357, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_vec_interleave_v2df_operator_ok", "(", "rtx", "operands", "[", "3", "]", ",", "bool", "high", ")", "{", "if", "(", "MEM_P", "(", "operands", "[", "0", "]", ")", ")", "return", "rtx_equal_p", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "+", "high", "]", ")", ";", "if", "(", "MEM_P", "(", "operands", "[", "1", "]", ")", "&&", "MEM_P", "(", "operands", "[", "2", "]", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "the", "operands", "to", "a", "vec_interleave_", "{", "high", ",", "low", "}", "v2df", "are", "ok", ",", "keeping", "in", "mind", "the", "possible", "movddup", "alternative", "."], "TS_V_token": ["i386", "3", "0", "0", "1", "1", "2"], "File": "i3861", "Func": "ix86_vec_interleave_v2df_operator_ok", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5324, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleDAGInstrs", "*", "createPostMachineScheduler", "(", "MachineSchedContext", "*", "C", ")", "const", "override", "{", "ScheduleDAGMI", "*", "DAG", "=", "createGenericSchedPostRA", "(", "C", ")", ";", "DAG", "->", "addMutation", "(", "createX86MacroFusionDAGMutation", "(", ")", ")", ";", "return", "DAG", ";", "}", ""], "natrual_language": ["Similar", "to", "createMachineScheduler", "but", "used", "when", "postRA", "machine", "scheduling", "is", "enabled", "."], "TS_V_token": ["X86", "X86"], "File": "X86TargetMachine105", "Func": "createPostMachineScheduler", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5325, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "ix86_get_mask_mode", "(", "unsigned", "nunits", ",", "unsigned", "vector_size", ")", "{", "unsigned", "elem_size", "=", "vector_size", "/", "nunits", ";", "if", "(", "(", "TARGET_AVX512F", "&&", "vector_size", "==", "64", ")", "||", "(", "TARGET_AVX512VL", "&&", "(", "vector_size", "==", "32", "||", "vector_size", "==", "16", ")", ")", ")", "{", "if", "(", "elem_size", "==", "4", "||", "elem_size", "==", "8", "||", "TARGET_AVX512BW", ")", "return", "smallest_mode_for_size", "(", "nunits", ",", "MODE_INT", ")", ";", "}", "machine_mode", "elem_mode", "=", "smallest_mode_for_size", "(", "elem_size", "*", "BITS_PER_UNIT", ",", "MODE_INT", ")", ";", "gcc_assert", "(", "elem_size", "*", "nunits", "==", "vector_size", ")", ";", "return", "mode_for_vector", "(", "elem_mode", ",", "nunits", ")", ";", "}", ""], "natrual_language": ["Implemenation", "of", "targetm.vectorize.get_mask_mode", "."], "TS_V_token": ["i386", "64", "32", "16", "4", "8"], "File": "i3865", "Func": "ix86_get_mask_mode", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5326, "Length": 94, "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", ":", "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"], "File": "ARMBaseRegisterInfo1", "Func": "getLargestLegalSuperClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5327, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "xstormy16_print_operand", "(", "FILE", "*", "file", ",", "rtx", "x", ",", "int", "code", ")", "{", "switch", "(", "code", ")", "{", "case", "'B'", ":", "{", "static", "int", "bits_set", "[", "8", "]", "=", "{", "0", ",", "1", ",", "1", ",", "2", ",", "1", ",", "2", ",", "2", ",", "3", "}", ";", "HOST_WIDE_INT", "xx", "=", "1", ";", "HOST_WIDE_INT", "l", ";", "if", "(", "CONST_INT_P", "(", "x", ")", ")", "xx", "=", "INTVAL", "(", "x", ")", ";", "else", "output_operand_lossage", "(", "\"'B' operand is not constant\"", ")", ";", "if", "(", "bits_set", "[", "xx", "&", "7", "]", "<=", "1", ")", "{", "if", "(", "(", "~", "xx", "&", "~", "(", "HOST_WIDE_INT", ")", "0xff", ")", "==", "0", ")", "xx", "&=", "0xff", ";", "else", "if", "(", "(", "~", "xx", "&", "~", "(", "HOST_WIDE_INT", ")", "0xffff", ")", "==", "0", ")", "xx", "&=", "0xffff", ";", "l", "=", "exact_log2", "(", "xx", ")", ";", "}", "else", "{", "if", "(", "(", "xx", "&", "~", "(", "HOST_WIDE_INT", ")", "0xff", ")", "==", "0", ")", "xx", "|=", "~", "(", "HOST_WIDE_INT", ")", "0xff", ";", "else", "if", "(", "(", "xx", "&", "~", "(", "HOST_WIDE_INT", ")", "0xffff", ")", "==", "0", ")", "xx", "|=", "~", "(", "HOST_WIDE_INT", ")", "0xffff", ";", "l", "=", "exact_log2", "(", "~", "xx", ")", ";", "}", "if", "(", "l", "==", "-", "1", ")", "output_operand_lossage", "(", "\"'B' operand has multiple bits set\"", ")", ";", "fprintf", "(", "file", ",", "IMMEDIATE_PREFIX", "HOST_WIDE_INT_PRINT_DEC", ",", "l", ")", ";", "return", ";", "}", "case", "'C'", ":", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", ")", "assemble_name", "(", "file", ",", "XSTR", "(", "x", ",", "0", ")", ")", ";", "else", "if", "(", "LABEL_P", "(", "x", ")", ")", "output_asm_label", "(", "x", ")", ";", "else", "xstormy16_print_operand_address", "(", "file", ",", "VOIDmode", ",", "x", ")", ";", "return", ";", "case", "'o'", ":", "case", "'O'", ":", "{", "HOST_WIDE_INT", "xx", "=", "0", ";", "if", "(", "CONST_INT_P", "(", "x", ")", ")", "xx", "=", "INTVAL", "(", "x", ")", ";", "else", "output_operand_lossage", "(", "\"'o' operand is not constant\"", ")", ";", "if", "(", "code", "==", "'O'", ")", "xx", "=", "-", "xx", ";", "fprintf", "(", "file", ",", "IMMEDIATE_PREFIX", "HOST_WIDE_INT_PRINT_DEC", ",", "xx", "-", "1", ")", ";", "return", ";", "}", "case", "'b'", ":", "{", "HOST_WIDE_INT", "xx", "=", "1", ";", "HOST_WIDE_INT", "l", ";", "if", "(", "CONST_INT_P", "(", "x", ")", ")", "xx", "=", "INTVAL", "(", "x", ")", ";", "else", "output_operand_lossage", "(", "\"'B' operand is not constant\"", ")", ";", "l", "=", "7", "-", "xx", ";", "fputs", "(", "IMMEDIATE_PREFIX", ",", "file", ")", ";", "fprintf", "(", "file", ",", "HOST_WIDE_INT_PRINT_DEC", ",", "l", ")", ";", "return", ";", "}", "case", "0", ":", "break", ";", "default", ":", "output_operand_lossage", "(", "\"xstormy16_print_operand: unknown code\"", ")", ";", "return", ";", "}", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "REG", ":", "fputs", "(", "reg_names", "[", "REGNO", "(", "x", ")", "]", ",", "file", ")", ";", "break", ";", "case", "MEM", ":", "xstormy16_print_operand_address", "(", "file", ",", "GET_MODE", "(", "x", ")", ",", "XEXP", "(", "x", ",", "0", ")", ")", ";", "break", ";", "default", ":", "fputs", "(", "IMMEDIATE_PREFIX", ",", "file", ")", ";", "output_addr_const", "(", "file", ",", "x", ")", ";", "break", ";", "}", "return", ";", "}", ""], "natrual_language": ["Print", "an", "operand", "to", "an", "assembler", "instruction", "."], "TS_V_token": ["stormy16", "8", "0", "1", "1", "2", "1", "2", "2", "3", "1", "\"'B' operand is not constant\"", "7", "1", "0xff", "0", "0xff", "0xffff", "0", "0xffff", "0xff", "0", "0xff", "0xffff", "0", "0xffff", "1", "\"'B' operand has multiple bits set\"", "0", "0", "\"'o' operand is not constant\"", "1", "1", "\"'B' operand is not constant\"", "7", "0", "\"xstormy16_print_operand: unknown code\"", "0"], "File": "stormy16", "Func": "xstormy16_print_operand", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5328, "Length": 466, "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", ";", "case", "ISD", "::", "FP_TO_SINT_SAT", ":", "case", "ISD", "::", "FP_TO_UINT_SAT", ":", "Res", "=", "LowerFP_TO_INT_SAT", "(", "SDValue", "(", "N", ",", "0", ")", ",", "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", "ISD::FP_TO_SINT_SAT", "ISD::FP_TO_UINT_SAT", "0"], "File": "ARMISelLowering (2)5", "Func": "ReplaceNodeResults", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5329, "Length": 438, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMTargetLowering", "::", "getMaxSupportedInterleaveFactor", "(", ")", "const", "{", "if", "(", "Subtarget", "->", "hasNEON", "(", ")", ")", "return", "4", ";", "if", "(", "Subtarget", "->", "hasMVEIntegerOps", "(", ")", ")", "return", "MVEMaxSupportedInterleaveFactor", ";", "return", "TargetLoweringBase", "::", "getMaxSupportedInterleaveFactor", "(", ")", ";", "}", ""], "natrual_language": ["Get", "the", "maximum", "supported", "factor", "for", "interleaved", "memory", "accesses", "."], "TS_V_token": ["ARM", "ARM", "4"], "File": "ARMISelLowering (2)5", "Func": "getMaxSupportedInterleaveFactor", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5330, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_parse_yes_no_option", "(", "const", "char", "*", "name", ",", "const", "char", "*", "value", ",", "int", "*", "flag", ")", "{", "if", "(", "value", "==", "0", ")", "return", ";", "else", "if", "(", "!", "strcmp", "(", "value", ",", "\"yes\"", ")", ")", "*", "flag", "=", "1", ";", "else", "if", "(", "!", "strcmp", "(", "value", ",", "\"no\"", ")", ")", "*", "flag", "=", "0", ";", "else", "error", "(", "\"unknown -m%s= option specified: '%s'\"", ",", "name", ",", "value", ")", ";", "}", ""], "natrual_language": ["Handle", "generic", "options", "of", "the", "form", "-mfoo=yes/no", ".", "NAME", "is", "the", "option", "name", ".", "VALUE", "is", "the", "option", "value", ".", "FLAG", "is", "the", "pointer", "to", "the", "flag", "where", "to", "store", "a", "1", "or", "0", ",", "depending", "on", "whether", "the", "option", "value", "is", "'yes", "'", "or", "'no", "'", "respectively", "."], "TS_V_token": ["rs6000", "0", "\"yes\"", "1", "\"no\"", "0", "\"unknown -m%s= option specified: '%s'\""], "File": "rs60003", "Func": "rs6000_parse_yes_no_option", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5331, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCInstrInfo", "::", "insertNoop", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "unsigned", "Directive", "=", "Subtarget", ".", "getDarwinDirective", "(", ")", ";", "unsigned", "Opcode", ";", "switch", "(", "Directive", ")", "{", "default", ":", "Opcode", "=", "PPC", "::", "NOP", ";", "break", ";", "case", "PPC", "::", "DIR_PWR6", ":", "Opcode", "=", "PPC", "::", "NOP_GT_PWR6", ";", "break", ";", "case", "PPC", "::", "DIR_PWR7", ":", "Opcode", "=", "PPC", "::", "NOP_GT_PWR7", ";", "break", ";", "case", "PPC", "::", "DIR_PWR8", ":", "Opcode", "=", "PPC", "::", "NOP_GT_PWR7", ";", "break", ";", "case", "PPC", "::", "DIR_PWR9", ":", "Opcode", "=", "PPC", "::", "NOP_GT_PWR7", ";", "break", ";", "}", "DebugLoc", "DL", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opcode", ")", ")", ";", "}", ""], "natrual_language": ["Insert", "a", "noop", "into", "the", "instruction", "stream", "at", "the", "specified", "point", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::NOP", "PPC::DIR_PWR6", "PPC::NOP_GT_PWR6", "PPC::DIR_PWR7", "PPC::NOP_GT_PWR7", "PPC::DIR_PWR8", "PPC::NOP_GT_PWR7", "PPC::DIR_PWR9", "PPC::NOP_GT_PWR7"], "File": "PPCInstrInfo (2)2", "Func": "insertNoop", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5332, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "free_insn_info", "(", "const", "rtx", "&", "t", "ATTRIBUTE_UNUSED", ",", "insn_info_list_t", "*", "v", ",", "void", "*", "arg", "ATTRIBUTE_UNUSED", ")", "{", "while", "(", "v", "->", "length", "(", ")", ">", "0", ")", "delete", "v", "->", "pop", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Callback", "to", "free", "all", "tag_insn_info", "objects", "."], "TS_V_token": ["aarch64", "0"], "File": "falkor-tag-collision-avoidance", "Func": "free_insn_info", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5333, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_sve_float_mul_immediate_p", "(", "rtx", "x", ")", "{", "rtx", "elt", ";", "return", "(", "const_vec_duplicate_p", "(", "x", ",", "&", "elt", ")", "&&", "GET_CODE", "(", "elt", ")", "==", "CONST_DOUBLE", "&&", "real_equal", "(", "CONST_DOUBLE_REAL_VALUE", "(", "elt", ")", ",", "&", "dconsthalf", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "valid", "immediate", "operand", "for", "an", "SVE", "FMUL", "instruction", "."], "TS_V_token": ["aarch64"], "File": "aarch645", "Func": "aarch64_sve_float_mul_immediate_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5334, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "Mips16InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "Mips16InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "0", "&&", "!", "MFI", "->", "adjustsStack", "(", ")", ")", "return", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "MCRegisterInfo", "*", "MRI", "=", "MMI", ".", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MachineLocation", "DstML", ",", "SrcML", ";", "TII", ".", "makeFrame", "(", "Mips", "::", "SP", ",", "StackSize", ",", "MBB", ",", "MBBI", ")", ";", "unsigned", "CFIIndex", "=", "MMI", ".", "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", "(", ")", ")", "{", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", "->", "getCalleeSavedInfo", "(", ")", ";", "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", "DReg", "=", "MRI", "->", "getDwarfRegNum", "(", "Reg", ",", "true", ")", ";", "unsigned", "CFIIndex", "=", "MMI", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createOffset", "(", "nullptr", ",", "DReg", ",", "Offset", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "}", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "MoveR3216", ")", ",", "Mips", "::", "S0", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "0", "Mips::SP", "Mips::MoveR3216", "Mips::S0", "Mips::SP"], "File": "Mips16FrameLowering8", "Func": "emitPrologue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5335, "Length": 388, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "get_next_active_insn", "(", "rtx_insn", "*", "insn", ",", "rtx_insn", "*", "tail", ")", "{", "if", "(", "insn", "==", "NULL_RTX", "||", "insn", "==", "tail", ")", "return", "NULL", ";", "while", "(", "1", ")", "{", "insn", "=", "NEXT_INSN", "(", "insn", ")", ";", "if", "(", "insn", "==", "NULL_RTX", "||", "insn", "==", "tail", ")", "return", "NULL", ";", "if", "(", "CALL_P", "(", "insn", ")", "||", "JUMP_P", "(", "insn", ")", "||", "JUMP_TABLE_DATA_P", "(", "insn", ")", "||", "(", "NONJUMP_INSN_P", "(", "insn", ")", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "USE", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "CLOBBER", "&&", "INSN_CODE", "(", "insn", ")", "!=", "CODE_FOR_stack_tie", ")", ")", "break", ";", "}", "return", "insn", ";", "}", ""], "natrual_language": ["Return", "the", "next", "insn", "after", "INSN", "that", "is", "found", "before", "TAIL", "is", "reached", ",", "skipping", "any", "``", "non-active", "''", "insns", "-", "insns", "that", "will", "not", "actually", "occupy", "an", "issue", "slot", ".", "Return", "NULL_RTX", "if", "such", "an", "insn", "is", "not", "found", "."], "TS_V_token": ["rs6000", "1"], "File": "rs6000", "Func": "get_next_active_insn", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5336, "Length": 110, "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\"", ")", ";", "const", "SDNode", "*", "Node", "=", "SU", "->", "getNode", "(", ")", "->", "getGluedMachineNode", "(", ")", ";", "bool", "isFirst", ",", "isSingle", ",", "isCracked", ",", "isLoad", ",", "isStore", ";", "PPCII", "::", "PPC970_Unit", "InstrType", "=", "GetInstrType", "(", "Node", "->", "getOpcode", "(", ")", ",", "isFirst", ",", "isSingle", ",", "isCracked", ",", "isLoad", ",", "isStore", ")", ";", "if", "(", "InstrType", "==", "PPCII", "::", "PPC970_Pseudo", ")", "return", "NoHazard", ";", "unsigned", "Opcode", "=", "Node", "->", "getMachineOpcode", "(", ")", ";", "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", ")", "{", "unsigned", "LoadSize", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown load!\"", ")", ";", "case", "PPC", "::", "LBZ", ":", "case", "PPC", "::", "LBZU", ":", "case", "PPC", "::", "LBZX", ":", "case", "PPC", "::", "LBZ8", ":", "case", "PPC", "::", "LBZU8", ":", "case", "PPC", "::", "LBZX8", ":", "case", "PPC", "::", "LVEBX", ":", "LoadSize", "=", "1", ";", "break", ";", "case", "PPC", "::", "LHA", ":", "case", "PPC", "::", "LHAU", ":", "case", "PPC", "::", "LHAX", ":", "case", "PPC", "::", "LHZ", ":", "case", "PPC", "::", "LHZU", ":", "case", "PPC", "::", "LHZX", ":", "case", "PPC", "::", "LVEHX", ":", "case", "PPC", "::", "LHBRX", ":", "case", "PPC", "::", "LHA8", ":", "case", "PPC", "::", "LHAU8", ":", "case", "PPC", "::", "LHAX8", ":", "case", "PPC", "::", "LHZ8", ":", "case", "PPC", "::", "LHZU8", ":", "case", "PPC", "::", "LHZX8", ":", "LoadSize", "=", "2", ";", "break", ";", "case", "PPC", "::", "LFS", ":", "case", "PPC", "::", "LFSU", ":", "case", "PPC", "::", "LFSX", ":", "case", "PPC", "::", "LWZ", ":", "case", "PPC", "::", "LWZU", ":", "case", "PPC", "::", "LWZX", ":", "case", "PPC", "::", "LWA", ":", "case", "PPC", "::", "LWAX", ":", "case", "PPC", "::", "LVEWX", ":", "case", "PPC", "::", "LWBRX", ":", "case", "PPC", "::", "LWZ8", ":", "case", "PPC", "::", "LWZX8", ":", "LoadSize", "=", "4", ";", "break", ";", "case", "PPC", "::", "LFD", ":", "case", "PPC", "::", "LFDU", ":", "case", "PPC", "::", "LFDX", ":", "case", "PPC", "::", "LD", ":", "case", "PPC", "::", "LDU", ":", "case", "PPC", "::", "LDX", ":", "LoadSize", "=", "8", ";", "break", ";", "case", "PPC", "::", "LVX", ":", "case", "PPC", "::", "LVXL", ":", "LoadSize", "=", "16", ";", "break", ";", "}", "if", "(", "isLoadOfStoredAddress", "(", "LoadSize", ",", "Node", "->", "getOperand", "(", "0", ")", ",", "Node", "->", "getOperand", "(", "1", ")", ")", ")", "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", "\"Unknown load!\"", "PPC::LBZ", "PPC::LBZU", "PPC::LBZX", "PPC::LBZ8", "PPC::LBZU8", "PPC::LBZX8", "PPC::LVEBX", "1", "PPC::LHA", "PPC::LHAU", "PPC::LHAX", "PPC::LHZ", "PPC::LHZU", "PPC::LHZX", "PPC::LVEHX", "PPC::LHBRX", "PPC::LHA8", "PPC::LHAU8", "PPC::LHAX8", "PPC::LHZ8", "PPC::LHZU8", "PPC::LHZX8", "2", "PPC::LFS", "PPC::LFSU", "PPC::LFSX", "PPC::LWZ", "PPC::LWZU", "PPC::LWZX", "PPC::LWA", "PPC::LWAX", "PPC::LVEWX", "PPC::LWBRX", "PPC::LWZ8", "PPC::LWZX8", "4", "PPC::LFD", "PPC::LFDU", "PPC::LFDX", "PPC::LD", "PPC::LDU", "PPC::LDX", "8", "PPC::LVX", "PPC::LVXL", "16", "0", "1"], "File": "PPCHazardRecognizers30", "Func": "getHazardType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5337, "Length": 500, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSubtarget", "::", "enablePostRAScheduler", "(", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["True", "if", "the", "subtarget", "should", "run", "a", "scheduler", "after", "register", "allocation", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsSubtarget (2)1", "Func": "enablePostRAScheduler", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5338, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "process_end_window", "(", "void", ")", "{", "gcc_assert", "(", "dispatch_window_list", "->", "num_insn", "<=", "MAX_INSN", ")", ";", "if", "(", "dispatch_window_list", "->", "next", ")", "{", "gcc_assert", "(", "dispatch_window_list1", "->", "num_insn", "<=", "MAX_INSN", ")", ";", "gcc_assert", "(", "dispatch_window_list", "->", "window_size", "+", "dispatch_window_list1", "->", "window_size", "<=", "48", ")", ";", "init_window", "(", "1", ")", ";", "}", "init_window", "(", "0", ")", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "when", "the", "end", "of", "a", "window", "processing", "is", "reached", "."], "TS_V_token": ["i386", "48", "1", "0"], "File": "i3864", "Func": "process_end_window", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5339, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "VEMCExpr", "*", "VEMCExpr", "::", "create", "(", "VariantKind", "Kind", ",", "const", "MCExpr", "*", "Expr", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "VEMCExpr", "(", "Kind", ",", "Expr", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["VE", "VE", "VE", "VE"], "File": "VEMCExpr", "Func": "create", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5340, "Length": 33, "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", ":", "return", "SYMBOL_SMALL_GOTTPREL", ";", "case", "TLS_MODEL_LOCAL_EXEC", ":", "return", "SYMBOL_SMALL_TPREL", ";", "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"], "File": "aarch642", "Func": "aarch64_classify_tls_symbol", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5341, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isPredicable", "(", "MachineInstr", "*", "MI", ")", "const", "{", "if", "(", "!", "MI", "->", "isPredicable", "(", ")", ")", "return", "false", ";", "ARMFunctionInfo", "*", "AFI", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "if", "(", "AFI", "->", "isThumb2Function", "(", ")", ")", "{", "if", "(", "getSubtarget", "(", ")", ".", "hasV8Ops", "(", ")", ")", "return", "isV8EligibleForIT", "(", "MI", ")", ";", "}", "else", "{", "if", "(", "(", "MI", "->", "getDesc", "(", ")", ".", "TSFlags", "&", "ARMII", "::", "DomainMask", ")", "==", "ARMII", "::", "DomainNEON", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "instruction", "can", "be", "predicated", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARMII::DomainMask", "ARMII::DomainNEON"], "File": "ARMBaseInstrInfo107", "Func": "isPredicable", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5342, "Length": 100, "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": 5343, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsFastISel", "::", "fastMaterializeAlloca", "(", "const", "AllocaInst", "*", "AI", ")", "{", "assert", "(", "TLI", ".", "getValueType", "(", "AI", "->", "getType", "(", ")", ",", "true", ")", "==", "MVT", "::", "i32", "&&", "\"Alloca should always return a pointer.\"", ")", ";", "DenseMap", "<", "const", "AllocaInst", "*", ",", "int", ">", "::", "iterator", "SI", "=", "FuncInfo", ".", "StaticAllocaMap", ".", "find", "(", "AI", ")", ";", "if", "(", "SI", "!=", "FuncInfo", ".", "StaticAllocaMap", ".", "end", "(", ")", ")", "{", "unsigned", "ResultReg", "=", "createResultReg", "(", "&", "Mips", "::", "GPR32RegClass", ")", ";", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "TII", ".", "get", "(", "Mips", "::", "LEA_ADDiu", ")", ",", "ResultReg", ")", ".", "addFrameIndex", "(", "SI", "->", "second", ")", ".", "addImm", "(", "0", ")", ";", "return", "ResultReg", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Emit", "an", "alloca", "address", "in", "a", "register", "using", "target-specific", "logic", "."], "TS_V_token": ["Mips", "Mips", "MVT::i32", "\"Alloca should always return a pointer.\"", "Mips::GPR32RegClass", "Mips::LEA_ADDiu", "0", "0"], "File": "MipsFastISel13", "Func": "fastMaterializeAlloca", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5344, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "adjust_splat", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "rtx", "unspec", "=", "XEXP", "(", "body", ",", "1", ")", ";", "int", "half_elts", "=", "GET_MODE_NUNITS", "(", "GET_MODE", "(", "unspec", ")", ")", ">>", "1", ";", "int", "lane", "=", "INTVAL", "(", "XVECEXP", "(", "unspec", ",", "0", ",", "1", ")", ")", ";", "lane", "=", "lane", ">=", "half_elts", "?", "lane", "-", "half_elts", ":", "lane", "+", "half_elts", ";", "XVECEXP", "(", "unspec", ",", "0", ",", "1", ")", "=", "GEN_INT", "(", "lane", ")", ";", "INSN_CODE", "(", "insn", ")", "=", "-", "1", ";", "df_insn_rescan", "(", "insn", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Changing lane for splat %d\\n\"", ",", "INSN_UID", "(", "insn", ")", ")", ";", "}", ""], "natrual_language": ["Given", "OP", "that", "contains", "a", "vector", "direct-splat", "operation", ",", "adjust", "the", "index", "of", "the", "source", "lane", "to", "account", "for", "the", "doubleword", "swap", "."], "TS_V_token": ["powerpcspe", "1", "1", "0", "1", "0", "1", "1", "\"Changing lane for splat %d\\n\""], "File": "powerpcspe", "Func": "adjust_splat", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5345, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "sh_try_omit_signzero_extend", "(", "rtx", "extended_op", ",", "rtx_insn", "*", "insn", ")", "{", "if", "(", "REG_P", "(", "extended_op", ")", ")", "extended_op", "=", "extended_op", ";", "else", "if", "(", "GET_CODE", "(", "extended_op", ")", "==", "SUBREG", "&&", "REG_P", "(", "SUBREG_REG", "(", "extended_op", ")", ")", ")", "extended_op", "=", "SUBREG_REG", "(", "extended_op", ")", ";", "else", "return", "NULL_RTX", ";", "if", "(", "GET_MODE", "(", "extended_op", ")", "!=", "SImode", ")", "return", "NULL_RTX", ";", "set_of_reg", "s", "=", "sh_find_set_of_reg", "(", "extended_op", ",", "insn", ",", "prev_nonnote_nondebug_insn_bb", ")", ";", "if", "(", "s", ".", "set_src", "==", "NULL_RTX", ")", "return", "NULL_RTX", ";", "if", "(", "t_reg_operand", "(", "s", ".", "set_src", ",", "VOIDmode", ")", "||", "negt_reg_operand", "(", "s", ".", "set_src", ",", "VOIDmode", ")", ")", "return", "extended_op", ";", "else", "if", "(", "sh_is_logical_t_store_expr", "(", "s", ".", "set_src", ",", "s", ".", "insn", ")", ")", "return", "extended_op", ";", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Given", "the", "operand", "that", "is", "extended", "in", "a", "sign/zero", "extend", "insn", ",", "and", "the", "insn", ",", "try", "to", "figure", "out", "whether", "the", "sign/zero", "extension", "can", "be", "replaced", "by", "a", "simple", "reg-reg", "copy", ".", "If", "so", ",", "the", "replacement", "reg", "rtx", "is", "returned", ",", "NULL_RTX", "otherwise", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "sh_try_omit_signzero_extend", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5346, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "VETargetLowering", "::", "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", "(", ")", ";", "unsigned", "ArgsPreserved", "=", "64", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AllocateStack", "(", "ArgsPreserved", ",", "8", ")", ";", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "CC_VE", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "ArgLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"TODO implement argument passing on stack\"", ")", ";", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "unsigned", "VReg", "=", "MF", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "getRegClassFor", "(", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "SDValue", "Arg", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "VReg", ",", "VA", ".", "getLocVT", "(", ")", ")", ";", "if", "(", "VA", ".", "getValVT", "(", ")", "==", "MVT", "::", "i32", "&&", "VA", ".", "needsCustom", "(", ")", ")", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "SRL", ",", "DL", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ",", "DAG", ".", "getConstant", "(", "32", ",", "DL", ",", "MVT", "::", "i32", ")", ")", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "case", "CCValAssign", "::", "SExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "AssertSext", ",", "DL", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ",", "DAG", ".", "getValueType", "(", "VA", ".", "getValVT", "(", ")", ")", ")", ";", "break", ";", "case", "CCValAssign", "::", "ZExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "AssertZext", ",", "DL", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ",", "DAG", ".", "getValueType", "(", "VA", ".", "getValVT", "(", ")", ")", ")", ";", "break", ";", "default", ":", "break", ";", "}", "if", "(", "VA", ".", "isExtInLoc", "(", ")", ")", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "TRUNCATE", ",", "DL", ",", "VA", ".", "getValVT", "(", ")", ",", "Arg", ")", ";", "InVals", ".", "push_back", "(", "Arg", ")", ";", "continue", ";", "}", "}", "assert", "(", "!", "IsVarArg", "&&", "\"TODO implement var args\"", ")", ";", "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": ["VE", "VE", "ISD::InputArg", "64", "16", "8", "VE", "0", "\"TODO implement argument passing on stack\"", "MVT::i32", "ISD::SRL", "32", "MVT::i32", "ISD::AssertSext", "ISD::AssertZext", "ISD::TRUNCATE", "\"TODO implement var args\""], "File": "VEISelLowering5", "Func": "LowerFormalArguments", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5347, "Length": 399, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mmix_print_operand_punct_valid_p", "(", "int", "code", "ATTRIBUTE_UNUSED", ")", "{", "return", "code", "==", "'+'", "||", "code", "==", "'.'", ";", "}", ""], "natrual_language": ["PRINT_OPERAND_PUNCT_VALID_P", "."], "TS_V_token": ["mmix"], "File": "mmix3", "Func": "mmix_print_operand_punct_valid_p", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5348, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAsmPrinter", "::", "PrintAsmOperand", "(", "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", "AsmPrinter", "::", "PrintAsmOperand", "(", "MI", ",", "OpNo", ",", "ExtraCode", ",", "O", ")", ";", "case", "'L'", ":", "if", "(", "!", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isReg", "(", ")", "||", "OpNo", "+", "1", "==", "MI", "->", "getNumOperands", "(", ")", "||", "!", "MI", "->", "getOperand", "(", "OpNo", "+", "1", ")", ".", "isReg", "(", ")", ")", "return", "true", ";", "++", "OpNo", ";", "break", ";", "case", "'I'", ":", "if", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isImm", "(", ")", ")", "O", "<<", "\"i\"", ";", "return", "false", ";", "case", "'x'", ":", "if", "(", "!", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isReg", "(", ")", ")", "return", "true", ";", "Register", "Reg", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", ";", "if", "(", "PPCInstrInfo", "::", "isVRRegister", "(", "Reg", ")", ")", "Reg", "=", "PPC", "::", "VSX32", "+", "(", "Reg", "-", "PPC", "::", "V0", ")", ";", "else", "if", "(", "PPCInstrInfo", "::", "isVFRegister", "(", "Reg", ")", ")", "Reg", "=", "PPC", "::", "VSX32", "+", "(", "Reg", "-", "PPC", "::", "VF0", ")", ";", "const", "char", "*", "RegName", ";", "RegName", "=", "PPCInstPrinter", "::", "getRegisterName", "(", "Reg", ")", ";", "RegName", "=", "PPCRegisterInfo", "::", "stripRegisterPrefix", "(", "RegName", ")", ";", "O", "<<", "RegName", ";", "return", "false", ";", "}", "}", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["PowerPC", "PPC", "0", "1", "0", "0", "1", "1", "\"i\"", "PPC", "PPC::VSX32", "PPC::V0", "PPC", "PPC::VSX32", "PPC::VF0", "PPC", "PPC"], "File": "PPCAsmPrinter (2)3", "Func": "PrintAsmOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5349, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalMaskedScatter", "(", "Type", "*", "DataType", ")", "{", "if", "(", "!", "ST", "->", "hasAVX512", "(", ")", ")", "return", "false", ";", "return", "isLegalMaskedGather", "(", "DataType", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "scatter", "."], "TS_V_token": ["X86", "X86"], "File": "X86TargetTransformInfo (2)", "Func": "isLegalMaskedScatter", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5350, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "DCPU16InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "unsigned", "Opc", "=", "DCPU16", "::", "MOV16rr", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["Dcpu16", "DCPU16", "DCPU16::MOV16rr"], "File": "Dcpu16InstrInfo", "Func": "copyPhysReg", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5351, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_regno_ok_for_index_p", "(", "int", "regno", ",", "bool", "strict_p", ")", "{", "if", "(", "!", "HARD_REGISTER_NUM_P", "(", "regno", ")", ")", "{", "if", "(", "!", "strict_p", ")", "return", "true", ";", "if", "(", "!", "reg_renumber", ")", "return", "false", ";", "regno", "=", "reg_renumber", "[", "regno", "]", ";", "}", "return", "GP_REGNUM_P", "(", "regno", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "register", "REGNO", "is", "a", "valid", "index", "register", ".", "STRICT_P", "is", "true", "if", "REG_OK_STRICT", "is", "in", "effect", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_regno_ok_for_index_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5352, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TargetLowering", "::", "getVectorTypeBreakdownForCallingConv", "(", "LLVMContext", "&", "Context", ",", "CallingConv", "::", "ID", "CC", ",", "EVT", "VT", ",", "EVT", "&", "IntermediateVT", ",", "unsigned", "&", "NumIntermediates", ",", "MVT", "&", "RegisterVT", ")", "const", "{", "if", "(", "VT", ".", "isVector", "(", ")", "&&", "VT", ".", "getVectorElementType", "(", ")", "==", "MVT", "::", "i1", "&&", "Subtarget", ".", "hasAVX512", "(", ")", "&&", "(", "!", "isPowerOf2_32", "(", "VT", ".", "getVectorNumElements", "(", ")", ")", "||", "(", "VT", ".", "getVectorNumElements", "(", ")", "==", "64", "&&", "!", "Subtarget", ".", "hasBWI", "(", ")", ")", "||", "VT", ".", "getVectorNumElements", "(", ")", ">", "64", ")", ")", "{", "RegisterVT", "=", "MVT", "::", "i8", ";", "IntermediateVT", "=", "MVT", "::", "i1", ";", "NumIntermediates", "=", "VT", ".", "getVectorNumElements", "(", ")", ";", "return", "NumIntermediates", ";", "}", "if", "(", "VT", "==", "MVT", "::", "v64i1", "&&", "Subtarget", ".", "hasBWI", "(", ")", "&&", "!", "Subtarget", ".", "useAVX512Regs", "(", ")", "&&", "CC", "!=", "CallingConv", "::", "X86_RegCall", ")", "{", "RegisterVT", "=", "MVT", "::", "v32i8", ";", "IntermediateVT", "=", "MVT", "::", "v32i1", ";", "NumIntermediates", "=", "2", ";", "return", "2", ";", "}", "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": ["X86", "X86", "MVT::i1", "64", "64", "MVT::i8", "MVT::i1", "MVT::v64i1", "X86", "MVT::v32i8", "MVT::v32i1", "2", "2"], "File": "X86ISelLowering (2)5", "Func": "getVectorTypeBreakdownForCallingConv", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5353, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "getSubExpr", "(", ")", "const", "{", "return", "Expr", ";", "}", ""], "natrual_language": ["getSubExpr", "-", "Get", "the", "child", "of", "this", "expression", "."], "TS_V_token": ["AArch64"], "File": "AArch64MCExpr (2)", "Func": "getSubExpr", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5354, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "const", "TargetMachine", "&", "TM", "=", "getTargetMachine", "(", ")", ";", "SDLoc", "dl", "(", "N", ")", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Do not know how to custom type legalize this operation!\"", ")", ";", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "{", "if", "(", "cast", "<", "ConstantSDNode", ">", "(", "N", "->", "getOperand", "(", "1", ")", ")", "->", "getZExtValue", "(", ")", "!=", "Intrinsic", "::", "ppc_is_decremented_ctr_nonzero", ")", "break", ";", "assert", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i1", "&&", "\"Unexpected result type for CTR decrement intrinsic\"", ")", ";", "EVT", "SVT", "=", "getSetCCResultType", "(", "*", "DAG", ".", "getContext", "(", ")", ",", "N", "->", "getValueType", "(", "0", ")", ")", ";", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "SVT", ",", "MVT", "::", "Other", ")", ";", "SDValue", "NewInt", "=", "DAG", ".", "getNode", "(", "N", "->", "getOpcode", "(", ")", ",", "dl", ",", "VTs", ",", "N", "->", "getOperand", "(", "0", ")", ",", "N", "->", "getOperand", "(", "1", ")", ")", ";", "Results", ".", "push_back", "(", "NewInt", ")", ";", "Results", ".", "push_back", "(", "NewInt", ".", "getValue", "(", "1", ")", ")", ";", "break", ";", "}", "case", "ISD", "::", "VAARG", ":", "{", "if", "(", "!", "TM", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "isSVR4ABI", "(", ")", "||", "TM", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "isPPC64", "(", ")", ")", "return", ";", "EVT", "VT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "if", "(", "VT", "==", "MVT", "::", "i64", ")", "{", "SDValue", "NewNode", "=", "LowerVAARG", "(", "SDValue", "(", "N", ",", "1", ")", ",", "DAG", ",", "Subtarget", ")", ";", "Results", ".", "push_back", "(", "NewNode", ")", ";", "Results", ".", "push_back", "(", "NewNode", ".", "getValue", "(", "1", ")", ")", ";", "}", "return", ";", "}", "case", "ISD", "::", "FP_ROUND_INREG", ":", "{", "assert", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "ppcf128", ")", ";", "assert", "(", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", "==", "MVT", "::", "ppcf128", ")", ";", "SDValue", "Lo", "=", "DAG", ".", "getNode", "(", "ISD", "::", "EXTRACT_ELEMENT", ",", "dl", ",", "MVT", "::", "f64", ",", "N", "->", "getOperand", "(", "0", ")", ",", "DAG", ".", "getIntPtrConstant", "(", "0", ")", ")", ";", "SDValue", "Hi", "=", "DAG", ".", "getNode", "(", "ISD", "::", "EXTRACT_ELEMENT", ",", "dl", ",", "MVT", "::", "f64", ",", "N", "->", "getOperand", "(", "0", ")", ",", "DAG", ".", "getIntPtrConstant", "(", "1", ")", ")", ";", "SDValue", "FPreg", "=", "DAG", ".", "getNode", "(", "PPCISD", "::", "FADDRTZ", ",", "dl", ",", "MVT", "::", "f64", ",", "Lo", ",", "Hi", ")", ";", "Results", ".", "push_back", "(", "DAG", ".", "getNode", "(", "ISD", "::", "BUILD_PAIR", ",", "dl", ",", "MVT", "::", "ppcf128", ",", "FPreg", ",", "FPreg", ")", ")", ";", "return", ";", "}", "case", "ISD", "::", "FP_TO_SINT", ":", "if", "(", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", "==", "MVT", "::", "ppcf128", ")", "return", ";", "Results", ".", "push_back", "(", "LowerFP_TO_INT", "(", "SDValue", "(", "N", ",", "0", ")", ",", "DAG", ",", "dl", ")", ")", ";", "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": ["PowerPC", "PPC", "\"Do not know how to custom type legalize this operation!\"", "ISD::INTRINSIC_W_CHAIN", "1", "Intrinsic::ppc_is_decremented_ctr_nonzero", "0", "MVT::i1", "\"Unexpected result type for CTR decrement intrinsic\"", "0", "MVT::Other", "0", "1", "1", "ISD::VAARG", "PPC", "PPC", "PPC", "0", "MVT::i64", "1", "1", "ISD::FP_ROUND_INREG", "0", "MVT::ppcf128", "0", "MVT::ppcf128", "ISD::EXTRACT_ELEMENT", "MVT::f64", "0", "0", "ISD::EXTRACT_ELEMENT", "MVT::f64", "0", "1", "PPCISD::FADDRTZ", "MVT::f64", "ISD::BUILD_PAIR", "MVT::ppcf128", "ISD::FP_TO_SINT", "0", "MVT::ppcf128", "0"], "File": "PPCISelLowering148", "Func": "ReplaceNodeResults", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5355, "Length": 482, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_expand_atomic_qihi", "(", "union", "mips_gen_fn_ptrs", "generator", ",", "rtx", "result", ",", "rtx", "mem", ",", "rtx", "oldval", ",", "rtx", "newval", ")", "{", "rtx", "orig_addr", ",", "memsi_addr", ",", "memsi", ",", "shift", ",", "shiftsi", ",", "unshifted_mask", ";", "rtx", "unshifted_mask_reg", ",", "mask", ",", "inverted_mask", ",", "si_op", ";", "rtx", "res", "=", "NULL", ";", "machine_mode", "mode", ";", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "orig_addr", "=", "force_reg", "(", "Pmode", ",", "XEXP", "(", "mem", ",", "0", ")", ")", ";", "memsi_addr", "=", "mips_force_binary", "(", "Pmode", ",", "AND", ",", "orig_addr", ",", "force_reg", "(", "Pmode", ",", "GEN_INT", "(", "-", "4", ")", ")", ")", ";", "memsi", "=", "gen_rtx_MEM", "(", "SImode", ",", "memsi_addr", ")", ";", "set_mem_alias_set", "(", "memsi", ",", "ALIAS_SET_MEMORY_BARRIER", ")", ";", "MEM_VOLATILE_P", "(", "memsi", ")", "=", "MEM_VOLATILE_P", "(", "mem", ")", ";", "shift", "=", "mips_force_binary", "(", "Pmode", ",", "AND", ",", "orig_addr", ",", "GEN_INT", "(", "3", ")", ")", ";", "if", "(", "TARGET_BIG_ENDIAN", ")", "mips_emit_binary", "(", "XOR", ",", "shift", ",", "shift", ",", "GEN_INT", "(", "mode", "==", "QImode", "?", "3", ":", "2", ")", ")", ";", "mips_emit_binary", "(", "ASHIFT", ",", "shift", ",", "shift", ",", "GEN_INT", "(", "3", ")", ")", ";", "shiftsi", "=", "force_reg", "(", "SImode", ",", "gen_lowpart", "(", "SImode", ",", "shift", ")", ")", ";", "unshifted_mask", "=", "GEN_INT", "(", "GET_MODE_MASK", "(", "mode", ")", ")", ";", "unshifted_mask_reg", "=", "force_reg", "(", "SImode", ",", "unshifted_mask", ")", ";", "mask", "=", "mips_force_binary", "(", "SImode", ",", "ASHIFT", ",", "unshifted_mask_reg", ",", "shiftsi", ")", ";", "inverted_mask", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "inverted_mask", ",", "gen_rtx_NOT", "(", "SImode", ",", "mask", ")", ")", ")", ";", "if", "(", "oldval", "!=", "const0_rtx", ")", "{", "oldval", "=", "convert_modes", "(", "SImode", ",", "mode", ",", "oldval", ",", "true", ")", ";", "oldval", "=", "force_reg", "(", "SImode", ",", "oldval", ")", ";", "oldval", "=", "mips_force_binary", "(", "SImode", ",", "ASHIFT", ",", "oldval", ",", "shiftsi", ")", ";", "}", "if", "(", "newval", "&&", "newval", "!=", "const0_rtx", ")", "{", "newval", "=", "convert_modes", "(", "SImode", ",", "mode", ",", "newval", ",", "true", ")", ";", "newval", "=", "force_reg", "(", "SImode", ",", "newval", ")", ";", "newval", "=", "mips_force_binary", "(", "SImode", ",", "ASHIFT", ",", "newval", ",", "shiftsi", ")", ";", "}", "if", "(", "result", ")", "res", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "if", "(", "newval", ")", "si_op", "=", "generator", ".", "fn_6", "(", "res", ",", "memsi", ",", "mask", ",", "inverted_mask", ",", "oldval", ",", "newval", ")", ";", "else", "if", "(", "result", ")", "si_op", "=", "generator", ".", "fn_5", "(", "res", ",", "memsi", ",", "mask", ",", "inverted_mask", ",", "oldval", ")", ";", "else", "si_op", "=", "generator", ".", "fn_4", "(", "memsi", ",", "mask", ",", "inverted_mask", ",", "oldval", ")", ";", "emit_insn", "(", "si_op", ")", ";", "if", "(", "result", ")", "{", "mips_emit_binary", "(", "AND", ",", "res", ",", "res", ",", "mask", ")", ";", "mips_emit_binary", "(", "LSHIFTRT", ",", "res", ",", "res", ",", "shiftsi", ")", ";", "mips_emit_move", "(", "result", ",", "gen_lowpart", "(", "GET_MODE", "(", "result", ")", ",", "res", ")", ")", ";", "}", "}", ""], "natrual_language": ["Expand", "a", "QI", "or", "HI", "mode", "atomic", "memory", "operation", ".", "GENERATOR", "contains", "a", "pointer", "to", "the", "gen_", "*", "function", "that", "generates", "the", "SI", "mode", "underlying", "atomic", "operation", "using", "masks", "that", "we", "calculate", ".", "RESULT", "is", "the", "return", "register", "for", "the", "operation", ".", "Its", "value", "is", "NULL", "if", "unused", ".", "MEM", "is", "the", "location", "of", "the", "atomic", "access", ".", "OLDVAL", "is", "the", "first", "operand", "for", "the", "operation", ".", "NEWVAL", "is", "the", "optional", "second", "operand", "for", "the", "operation", ".", "Its", "value", "is", "NULL", "if", "unused", "."], "TS_V_token": ["mips", "0", "4", "3", "3", "2", "3"], "File": "mips", "Func": "mips_expand_atomic_qihi", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5356, "Length": 450, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LC3PassConfig", "::", "addPreEmitPass", "(", ")", "{", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["LC3", "LC3"], "File": "LC3TargetMachine", "Func": "addPreEmitPass", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5357, "Length": 8, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "OutgoingValueHandler", "::", "assignValueToAddress", "(", "Register", "ValVReg", ",", "const", "CCValAssign", "&", "VA", ")", "{", "MachineMemOperand", "*", "MMO", ";", "Register", "Addr", "=", "getStackAddress", "(", "VA", ",", "MMO", ")", ";", "Register", "ExtReg", "=", "extendRegister", "(", "ValVReg", ",", "VA", ")", ";", "MIRBuilder", ".", "buildStore", "(", "ExtReg", ",", "Addr", ",", "*", "MMO", ")", ";", "}", ""], "natrual_language": ["An", "overload", "which", "takes", "an", "ArgInfo", "if", "additional", "information", "about", "the", "arg", "is", "needed", "."], "TS_V_token": ["Mips"], "File": "MipsCallLowering10", "Func": "assignValueToAddress", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5358, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "getPartialRegUpdateClearance", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "OpNum", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "OpNum", "!=", "0", "||", "!", "hasPartialRegUpdate", "(", "MI", ".", "getOpcode", "(", ")", ",", "Subtarget", ")", ")", "return", "0", ";", "const", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "Register", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "if", "(", "Reg", ".", "isVirtual", "(", ")", ")", "{", "if", "(", "MO", ".", "readsReg", "(", ")", "||", "MI", ".", "readsVirtualRegister", "(", "Reg", ")", ")", "return", "0", ";", "}", "else", "{", "if", "(", "MI", ".", "readsRegister", "(", "Reg", ",", "TRI", ")", ")", "return", "0", ";", "}", "return", "PartialRegUpdateClearance", ";", "}", ""], "natrual_language": ["Inform", "the", "BreakFalseDeps", "pass", "how", "many", "idle", "instructions", "we", "would", "like", "before", "a", "partial", "register", "update", "."], "TS_V_token": ["X86", "X86", "0", "0", "0", "0", "0"], "File": "X86InstrInfo (2)3", "Func": "getPartialRegUpdateClearance", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5359, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rx_can_use_simple_return", "(", "void", ")", "{", "unsigned", "int", "low", ";", "unsigned", "int", "high", ";", "unsigned", "int", "frame_size", ";", "unsigned", "int", "stack_size", ";", "unsigned", "int", "register_mask", ";", "if", "(", "is_naked_func", "(", "NULL_TREE", ")", "||", "is_fast_interrupt_func", "(", "NULL_TREE", ")", "||", "is_interrupt_func", "(", "NULL_TREE", ")", ")", "return", "false", ";", "rx_get_stack_layout", "(", "&", "low", ",", "&", "high", ",", "&", "register_mask", ",", "&", "frame_size", ",", "&", "stack_size", ")", ";", "return", "(", "register_mask", "==", "0", "&&", "(", "frame_size", "+", "stack_size", ")", "==", "0", "&&", "low", "==", "0", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "a", "simple", "return", "insn", "can", "be", "used", "."], "TS_V_token": ["rx", "0", "0", "0"], "File": "rx", "Func": "rx_can_use_simple_return", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5360, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "X86TargetLowering", "::", "getOptimalMemOpType", "(", "const", "MemOp", "&", "Op", ",", "const", "AttributeList", "&", "FuncAttributes", ")", "const", "{", "if", "(", "!", "FuncAttributes", ".", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ")", "{", "if", "(", "Op", ".", "size", "(", ")", ">=", "16", "&&", "(", "!", "Subtarget", ".", "isUnalignedMem16Slow", "(", ")", "||", "Op", ".", "isAligned", "(", "Align", "(", "16", ")", ")", ")", ")", "{", "if", "(", "Op", ".", "size", "(", ")", ">=", "64", "&&", "Subtarget", ".", "hasAVX512", "(", ")", "&&", "(", "Subtarget", ".", "getPreferVectorWidth", "(", ")", ">=", "512", ")", ")", "{", "return", "Subtarget", ".", "hasBWI", "(", ")", "?", "MVT", "::", "v64i8", ":", "MVT", "::", "v16i32", ";", "}", "if", "(", "Op", ".", "size", "(", ")", ">=", "32", "&&", "Subtarget", ".", "hasAVX", "(", ")", "&&", "(", "Subtarget", ".", "getPreferVectorWidth", "(", ")", ">=", "256", ")", ")", "{", "return", "MVT", "::", "v32i8", ";", "}", "if", "(", "Subtarget", ".", "hasSSE2", "(", ")", "&&", "(", "Subtarget", ".", "getPreferVectorWidth", "(", ")", ">=", "128", ")", ")", "return", "MVT", "::", "v16i8", ";", "if", "(", "Subtarget", ".", "hasSSE1", "(", ")", "&&", "(", "Subtarget", ".", "is64Bit", "(", ")", "||", "Subtarget", ".", "hasX87", "(", ")", ")", "&&", "(", "Subtarget", ".", "getPreferVectorWidth", "(", ")", ">=", "128", ")", ")", "return", "MVT", "::", "v4f32", ";", "}", "else", "if", "(", "(", "(", "Op", ".", "isMemcpy", "(", ")", "&&", "!", "Op", ".", "isMemcpyStrSrc", "(", ")", ")", "||", "Op", ".", "isZeroMemset", "(", ")", ")", "&&", "Op", ".", "size", "(", ")", ">=", "8", "&&", "!", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Subtarget", ".", "hasSSE2", "(", ")", ")", "{", "return", "MVT", "::", "f64", ";", "}", "}", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Op", ".", "size", "(", ")", ">=", "8", ")", "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": ["X86", "X86", "16", "16", "64", "512", "MVT::v64i8", "MVT::v16i32", "32", "256", "MVT::v32i8", "128", "MVT::v16i8", "128", "MVT::v4f32", "8", "MVT::f64", "8", "MVT::i64", "MVT::i32"], "File": "X86ISelLowering101", "Func": "getOptimalMemOpType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5361, "Length": 279, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86ATTInstPrinter", "::", "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": "X86ATTInstPrinter28", "Func": "printPCRelImm", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5362, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_can_change_mode_class", "(", "machine_mode", "from", ",", "machine_mode", "to", ",", "reg_class_t", "rclass", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "from", ")", "==", "8", "&&", "GET_MODE_SIZE", "(", "to", ")", "==", "8", "&&", "INTEGRAL_MODE_P", "(", "from", ")", "&&", "INTEGRAL_MODE_P", "(", "to", ")", ")", "return", "true", ";", "if", "(", "MSA_SUPPORTED_MODE_P", "(", "from", ")", "&&", "MSA_SUPPORTED_MODE_P", "(", "to", ")", ")", "return", "true", ";", "return", "!", "reg_classes_intersect_p", "(", "FP_REGS", ",", "rclass", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CAN_CHANGE_MODE_CLASS", "."], "TS_V_token": ["mips", "8", "8"], "File": "mips", "Func": "mips_can_change_mode_class", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5363, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_handle_attr_isa_flags", "(", "char", "*", "str", ")", "{", "enum", "aarch64_parse_opt_result", "parse_res", ";", "unsigned", "long", "isa_flags", "=", "aarch64_isa_flags", ";", "if", "(", "strncmp", "(", "\"+nothing\"", ",", "str", ",", "8", ")", "==", "0", ")", "{", "isa_flags", "=", "0", ";", "str", "+=", "8", ";", "}", "std", "::", "string", "invalid_extension", ";", "parse_res", "=", "aarch64_parse_extension", "(", "str", ",", "&", "isa_flags", ",", "&", "invalid_extension", ")", ";", "if", "(", "parse_res", "==", "AARCH64_PARSE_OK", ")", "{", "aarch64_isa_flags", "=", "isa_flags", ";", "return", "true", ";", "}", "switch", "(", "parse_res", ")", "{", "case", "AARCH64_PARSE_MISSING_ARG", ":", "error", "(", "\"missing value in % pragma or attribute\"", ")", ";", "break", ";", "case", "AARCH64_PARSE_INVALID_FEATURE", ":", "error", "(", "\"invalid feature modifier %s of value (\\\"%s\\\") in \"", "\"% pragma or attribute\"", ",", "invalid_extension", ".", "c_str", "(", ")", ",", "str", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Parse", "an", "architecture", "extensions", "target", "attribute", "string", "specified", "in", "STR", ".", "For", "example", "``", "+fp+nosimd", "''", ".", "Show", "any", "errors", "if", "needed", ".", "Return", "TRUE", "if", "successful", ".", "Update", "aarch64_isa_flags", "to", "reflect", "the", "ISA", "features", "modified", ".", "PRAGMA_OR_ATTR", "is", "used", "in", "potential", "error", "messages", "."], "TS_V_token": ["aarch64", "\"+nothing\"", "8", "0", "0", "8", "\"missing value in % pragma or attribute\"", "\"invalid feature modifier %s of value (\\\"%s\\\") in \"", "\"% pragma or attribute\""], "File": "aarch646", "Func": "aarch64_handle_attr_isa_flags", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5364, "Length": 120, "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": ["Sparc", "Sparc", "128", "16", "0", "\"Stack size not 16-byte aligned\"", "92", "8"], "File": "SparcSubtarget", "Func": "getAdjustedFrameSize", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5365, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SystemZRegisterInfo", "::", "getRARegister", "(", ")", "const", "{", "assert", "(", "0", "&&", "\"What is the return address register\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["This", "method", "should", "return", "the", "register", "where", "the", "return", "address", "can", "be", "found", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "\"What is the return address register\"", "0"], "File": "SystemZRegisterInfo13", "Func": "getRARegister", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5366, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleDAGInstrs", "*", "createPostMachineScheduler", "(", "MachineSchedContext", "*", "C", ")", "const", "override", "{", "ScheduleDAGMI", "*", "DAG", "=", "createGenericSchedPostRA", "(", "C", ")", ";", "return", "DAG", ";", "}", ""], "natrual_language": ["Similar", "to", "createMachineScheduler", "but", "used", "when", "postRA", "machine", "scheduling", "is", "enabled", "."], "TS_V_token": ["ARM"], "File": "ARMTargetMachine14", "Func": "createPostMachineScheduler", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5367, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "csky_symbolic_address_p", "(", "rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "SYMBOL_REF", ":", "case", "LABEL_REF", ":", "return", "1", ";", "case", "CONST", ":", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "return", "(", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "LABEL_REF", ")", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "CONST_INT", ")", ";", "default", ":", "return", "0", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "an", "address", "form", "involving", "a", "symbol", "or", "label", "ref", "."], "TS_V_token": ["csky", "1", "0", "0", "0", "1", "0"], "File": "csky", "Func": "csky_symbolic_address_p", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5368, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ATTRIBUTE_UNUSED", "static", "section", "*", "ia64_hpux_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", "until", "HP-UX", "linker", "is", "fixed", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "ia64_hpux_function_section", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5369, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createPPCPreEmitPeepholePass", "(", ")", ")", ";", "addPass", "(", "createPPCExpandISELPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createPPCEarlyReturnPass", "(", ")", ")", ";", "}", ""], "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"], "File": "PPCTargetMachine40", "Func": "addPreEmitPass", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5370, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mmix_constant_address_p", "(", "rtx", "x", ")", "{", "RTX_CODE", "code", "=", "GET_CODE", "(", "x", ")", ";", "int", "addend", "=", "0", ";", "int", "constant_ok", "=", "TARGET_BASE_ADDRESSES", "!=", "0", ";", "switch", "(", "code", ")", "{", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":", "return", "1", ";", "case", "HIGH", ":", "return", "constant_ok", ";", "case", "CONST_INT", ":", "addend", "=", "INTVAL", "(", "x", ")", ";", "break", ";", "case", "CONST_DOUBLE", ":", "if", "(", "GET_MODE", "(", "x", ")", "!=", "VOIDmode", ")", "return", "constant_ok", ";", "addend", "=", "CONST_DOUBLE_LOW", "(", "x", ")", ";", "break", ";", "case", "CONST", ":", "if", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "PLUS", ")", "{", "rtx", "x0", "=", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ";", "rtx", "x1", "=", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "1", ")", ";", "if", "(", "(", "GET_CODE", "(", "x0", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "x0", ")", "==", "LABEL_REF", ")", "&&", "(", "GET_CODE", "(", "x1", ")", "==", "CONST_INT", "||", "(", "GET_CODE", "(", "x1", ")", "==", "CONST_DOUBLE", "&&", "GET_MODE", "(", "x1", ")", "==", "VOIDmode", ")", ")", ")", "addend", "=", "mmix_intval", "(", "x1", ")", ";", "else", "return", "constant_ok", ";", "}", "else", "return", "constant_ok", ";", "break", ";", "default", ":", "return", "0", ";", "}", "return", "constant_ok", "||", "(", "addend", "&", "3", ")", "==", "0", ";", "}", ""], "natrual_language": ["We", "must", "exclude", "constant", "addresses", "that", "have", "an", "increment", "that", "is", "not", "a", "multiple", "of", "four", "bytes", "because", "of", "restrictions", "of", "the", "GETA", "instruction", ",", "unless", "TARGET_BASE_ADDRESSES", "."], "TS_V_token": ["mmix", "0", "0", "1", "0", "0", "0", "0", "1", "0", "3", "0"], "File": "mmix", "Func": "mmix_constant_address_p", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5371, "Length": 210, "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": 5372, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCInstFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "assert", "(", "0", "&&", "\"RelaxInstruction() unimplemented\"", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["Mips", "0", "\"RelaxInstruction() unimplemented\""], "File": "MipsAsmBackend21", "Func": "fixupNeedsRelaxation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5373, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FastISel", "::", "fastSelectInstruction", "(", "const", "Instruction", "*", "I", ")", "{", "switch", "(", "I", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Instruction", "::", "Load", ":", "return", "X86SelectLoad", "(", "I", ")", ";", "case", "Instruction", "::", "Store", ":", "return", "X86SelectStore", "(", "I", ")", ";", "case", "Instruction", "::", "Ret", ":", "return", "X86SelectRet", "(", "I", ")", ";", "case", "Instruction", "::", "ICmp", ":", "case", "Instruction", "::", "FCmp", ":", "return", "X86SelectCmp", "(", "I", ")", ";", "case", "Instruction", "::", "ZExt", ":", "return", "X86SelectZExt", "(", "I", ")", ";", "case", "Instruction", "::", "Br", ":", "return", "X86SelectBranch", "(", "I", ")", ";", "case", "Instruction", "::", "LShr", ":", "case", "Instruction", "::", "AShr", ":", "case", "Instruction", "::", "Shl", ":", "return", "X86SelectShift", "(", "I", ")", ";", "case", "Instruction", "::", "SDiv", ":", "case", "Instruction", "::", "UDiv", ":", "case", "Instruction", "::", "SRem", ":", "case", "Instruction", "::", "URem", ":", "return", "X86SelectDivRem", "(", "I", ")", ";", "case", "Instruction", "::", "Select", ":", "return", "X86SelectSelect", "(", "I", ")", ";", "case", "Instruction", "::", "Trunc", ":", "return", "X86SelectTrunc", "(", "I", ")", ";", "case", "Instruction", "::", "FPExt", ":", "return", "X86SelectFPExt", "(", "I", ")", ";", "case", "Instruction", "::", "FPTrunc", ":", "return", "X86SelectFPTrunc", "(", "I", ")", ";", "case", "Instruction", "::", "SIToFP", ":", "return", "X86SelectSIToFP", "(", "I", ")", ";", "case", "Instruction", "::", "IntToPtr", ":", "case", "Instruction", "::", "PtrToInt", ":", "{", "EVT", "SrcVT", "=", "TLI", ".", "getValueType", "(", "DL", ",", "I", "->", "getOperand", "(", "0", ")", "->", "getType", "(", ")", ")", ";", "EVT", "DstVT", "=", "TLI", ".", "getValueType", "(", "DL", ",", "I", "->", "getType", "(", ")", ")", ";", "if", "(", "DstVT", ".", "bitsGT", "(", "SrcVT", ")", ")", "return", "X86SelectZExt", "(", "I", ")", ";", "if", "(", "DstVT", ".", "bitsLT", "(", "SrcVT", ")", ")", "return", "X86SelectTrunc", "(", "I", ")", ";", "unsigned", "Reg", "=", "getRegForValue", "(", "I", "->", "getOperand", "(", "0", ")", ")", ";", "if", "(", "Reg", "==", "0", ")", "return", "false", ";", "updateValueMap", "(", "I", ",", "Reg", ")", ";", "return", "true", ";", "}", "}", "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": ["X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "0", "X86", "X86", "0", "0"], "File": "X86FastISel109", "Func": "fastSelectInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5374, "Length": 313, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CAHPFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "SavedRegs", ".", "set", "(", "CAHP", "::", "X0", ")", ";", "SavedRegs", ".", "set", "(", "CAHP", "::", "X2", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["CAHP", "CAHP", "CAHP::X0", "CAHP::X2"], "File": "CAHPFrameLowering", "Func": "determineCalleeSaves", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5375, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "char", "*", "mips16e_add_register_range", "(", "char", "*", "s", ",", "unsigned", "int", "min_reg", ",", "unsigned", "int", "max_reg", ")", "{", "if", "(", "min_reg", "!=", "max_reg", ")", "s", "+=", "sprintf", "(", "s", ",", "\",%s-%s\"", ",", "reg_names", "[", "min_reg", "]", ",", "reg_names", "[", "max_reg", "]", ")", ";", "else", "s", "+=", "sprintf", "(", "s", ",", "\",%s\"", ",", "reg_names", "[", "min_reg", "]", ")", ";", "return", "s", ";", "}", ""], "natrual_language": ["Add", "a", "MIPS16e", "SAVE", "or", "RESTORE", "register-range", "argument", "to", "string", "S", "for", "the", "register", "range", "[", "MIN_REG", ",", "MAX_REG", "]", ".", "Return", "a", "pointer", "to", "the", "null", "terminator", "."], "TS_V_token": ["mips", "\",%s-%s\"", "\",%s\""], "File": "mips", "Func": "mips16e_add_register_range", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5376, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCELFStreamer", "&", "MipsTargetELFStreamer", "::", "getStreamer", "(", ")", "{", "return", "static_cast", "<", "MCELFStreamer", "&", ">", "(", "Streamer", ")", ";", "}", ""], "natrual_language": ["Return", "the", "output", "streamer", "for", "the", "assembler", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsTargetStreamer (2)1", "Func": "getStreamer", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5377, "Length": 19, "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": "AArch64InstrInfo105", "Func": "optimizeCompareInstr", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5378, "Length": 268, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "X86RegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["X86", "X86"], "File": "X86InstrInfo (2)", "Func": "getRegisterInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5379, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "PPCInstPrinter", "::", "getOpcodeName", "(", "unsigned", "Opcode", ")", "const", "{", "return", "getInstructionName", "(", "Opcode", ")", ";", "}", ""], "natrual_language": ["Return", "a", "string", "representation", "for", "an", "opcode", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCInstPrinter2", "Func": "getOpcodeName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5380, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "ix86_find_base_term", "(", "rtx", "x", ")", "{", "rtx", "term", ";", "if", "(", "TARGET_64BIT", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "!=", "CONST", ")", "return", "x", ";", "term", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "term", ")", "==", "PLUS", "&&", "CONST_INT_P", "(", "XEXP", "(", "term", ",", "1", ")", ")", ")", "term", "=", "XEXP", "(", "term", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "term", ")", "!=", "UNSPEC", "||", "(", "XINT", "(", "term", ",", "1", ")", "!=", "UNSPEC_GOTPCREL", "&&", "XINT", "(", "term", ",", "1", ")", "!=", "UNSPEC_PCREL", ")", ")", "return", "x", ";", "return", "XVECEXP", "(", "term", ",", "0", ",", "0", ")", ";", "}", "return", "ix86_delegitimize_address_1", "(", "x", ",", "true", ")", ";", "}", ""], "natrual_language": ["If", "X", "is", "a", "machine", "specific", "address", "(", "i.e", ".", "a", "symbol", "or", "label", "being", "referenced", "as", "a", "displacement", "from", "the", "GOT", "implemented", "using", "an", "UNSPEC", ")", ",", "then", "return", "the", "base", "term", ".", "Otherwise", "return", "X", "."], "TS_V_token": ["i386", "0", "1", "0", "1", "1", "0", "0"], "File": "i386", "Func": "ix86_find_base_term", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5381, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_slow_unaligned_access", "(", "machine_mode", "mode", ",", "unsigned", "int", "align", ")", "{", "return", "(", "STRICT_ALIGNMENT", "||", "(", "!", "TARGET_EFFICIENT_UNALIGNED_VSX", "&&", "(", "(", "SCALAR_FLOAT_MODE_NOT_VECTOR_P", "(", "mode", ")", "&&", "align", "<", "32", ")", "||", "(", "(", "VECTOR_MODE_P", "(", "mode", ")", "||", "VECTOR_ALIGNMENT_P", "(", "mode", ")", ")", "&&", "(", "int", ")", "align", "<", "VECTOR_ALIGN", "(", "mode", ")", ")", ")", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SLOW_UNALIGNED_ACCESS", ".", "Altivec", "vector", "memory", "instructions", "simply", "ignore", "the", "low", "bits", ";", "VSX", "memory", "instructions", "are", "aligned", "to", "4", "or", "8", "bytes", "."], "TS_V_token": ["rs6000", "32"], "File": "rs6000", "Func": "rs6000_slow_unaligned_access", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5382, "Length": 60, "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", ",", "unsigned", "MIFlags", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "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", ")", ".", "setMIFlags", "(", "MIFlags", ")", ";", "}", ""], "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": "Thumb2RegisterInfo10", "Func": "emitLoadConstPool", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5383, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64FastISel", "::", "fastMaterializeConstant", "(", "const", "Constant", "*", "C", ")", "{", "EVT", "CEVT", "=", "TLI", ".", "getValueType", "(", "DL", ",", "C", "->", "getType", "(", ")", ",", "true", ")", ";", "if", "(", "!", "CEVT", ".", "isSimple", "(", ")", ")", "return", "0", ";", "MVT", "VT", "=", "CEVT", ".", "getSimpleVT", "(", ")", ";", "if", "(", "isa", "<", "ConstantPointerNull", ">", "(", "C", ")", ")", "{", "assert", "(", "VT", "==", "MVT", "::", "i64", "&&", "\"Expected 64-bit pointers\"", ")", ";", "return", "materializeInt", "(", "ConstantInt", "::", "get", "(", "Type", "::", "getInt64Ty", "(", "*", "Context", ")", ",", "0", ")", ",", "VT", ")", ";", "}", "if", "(", "const", "auto", "*", "CI", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "C", ")", ")", "return", "materializeInt", "(", "CI", ",", "VT", ")", ";", "else", "if", "(", "const", "ConstantFP", "*", "CFP", "=", "dyn_cast", "<", "ConstantFP", ">", "(", "C", ")", ")", "return", "materializeFP", "(", "CFP", ",", "VT", ")", ";", "else", "if", "(", "const", "GlobalValue", "*", "GV", "=", "dyn_cast", "<", "GlobalValue", ">", "(", "C", ")", ")", "return", "materializeGV", "(", "GV", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Emit", "a", "constant", "in", "a", "register", "using", "target-specific", "logic", ",", "such", "as", "constant", "pool", "loads", "."], "TS_V_token": ["AArch64", "AArch64", "0", "MVT::i64", "\"Expected 64-bit pointers\"", "0", "0"], "File": "AArch64FastISel18", "Func": "fastMaterializeConstant", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5384, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "CJGInstrInfo", "::", "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", "(", "I", "->", "getOpcode", "(", ")", "!=", "CJG", "::", "JMP", "&&", "I", "->", "getOpcode", "(", ")", "!=", "CJG", "::", "JCC", ")", "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": ["CJG", "CJG", "\"code size not handled\"", "0", "CJG::JMP", "CJG::JCC"], "File": "CJGInstrInfo", "Func": "removeBranch", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5385, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "num_insns_constant_gpr", "(", "HOST_WIDE_INT", "value", ")", "{", "if", "(", "SIGNED_INTEGER_16BIT_P", "(", "value", ")", ")", "return", "1", ";", "else", "if", "(", "(", "value", "&", "0xffff", ")", "==", "0", "&&", "(", "value", ">>", "31", "==", "-", "1", "||", "value", ">>", "31", "==", "0", ")", ")", "return", "1", ";", "else", "if", "(", "TARGET_PREFIXED", "&&", "SIGNED_INTEGER_34BIT_P", "(", "value", ")", ")", "return", "1", ";", "else", "if", "(", "TARGET_POWERPC64", ")", "{", "HOST_WIDE_INT", "low", "=", "(", "(", "value", "&", "0xffffffff", ")", "^", "0x80000000", ")", "-", "0x80000000", ";", "HOST_WIDE_INT", "high", "=", "value", ">>", "31", ";", "if", "(", "high", "==", "0", "||", "high", "==", "-", "1", ")", "return", "2", ";", "high", ">>=", "1", ";", "if", "(", "low", "==", "0", "||", "low", "==", "high", ")", "return", "num_insns_constant_gpr", "(", "high", ")", "+", "1", ";", "else", "if", "(", "high", "==", "0", ")", "return", "num_insns_constant_gpr", "(", "low", ")", "+", "1", ";", "else", "return", "(", "num_insns_constant_gpr", "(", "high", ")", "+", "num_insns_constant_gpr", "(", "low", ")", "+", "1", ")", ";", "}", "else", "return", "2", ";", "}", ""], "natrual_language": ["Helper", "for", "num_insns_constant", ".", "Calculate", "number", "of", "instructions", "to", "load", "VALUE", "to", "a", "single", "gpr", "using", "combinations", "of", "addi", ",", "addis", ",", "ori", ",", "oris", ",", "sldi", "and", "rldimi", "instructions", "."], "TS_V_token": ["rs6000", "1", "0xffff", "0", "31", "1", "31", "0", "1", "1", "0xffffffff", "0x80000000", "0x80000000", "31", "0", "1", "2", "1", "0", "1", "0", "1", "1", "2"], "File": "rs6000", "Func": "num_insns_constant_gpr", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5386, "Length": 161, "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", ")", "&&", "(", "GET_CODE", "(", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ")", "==", "MEM", ")", ")", ";", "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", ")", "&&", "(", "GET_CODE", "(", "SET_SRC", "(", "new_body", ")", ")", "==", "MEM", ")", ")", ";", "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-p8swap2", "Func": "replace_swapped_aligned_load", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5387, "Length": 309, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 Fixup SetCC\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 Fixup SetCC\""], "File": "X86FixupSetCC", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5388, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsRegisterInfo", "::", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "live-ins", "should", "be", "tracked", "after", "register", "allocation", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsRegisterInfo (2)1", "Func": "trackLivenessAfterRegAlloc", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5389, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "AArch64TTIImpl", "::", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "TTI", "::", "OperandValueKind", "Opd1Info", ",", "TTI", "::", "OperandValueKind", "Opd2Info", ",", "TTI", "::", "OperandValueProperties", "Opd1PropInfo", ",", "TTI", "::", "OperandValueProperties", "Opd2PropInfo", ",", "ArrayRef", "<", "const", "Value", "*", ">", "Args", ")", "{", "std", "::", "pair", "<", "int", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "Ty", ")", ";", "int", "Cost", "=", "0", ";", "if", "(", "isWideningInstruction", "(", "Ty", ",", "Opcode", ",", "Args", ")", ")", "Cost", "+=", "ST", "->", "getWideningBaseCost", "(", ")", ";", "int", "ISD", "=", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", ";", "if", "(", "ISD", "==", "ISD", "::", "SDIV", "&&", "Opd2Info", "==", "TargetTransformInfo", "::", "OK_UniformConstantValue", "&&", "Opd2PropInfo", "==", "TargetTransformInfo", "::", "OP_PowerOf2", ")", "{", "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", "Cost", "+", "BaseT", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "Opd1Info", ",", "Opd2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ")", ";", "case", "ISD", "::", "ADD", ":", "case", "ISD", "::", "MUL", ":", "case", "ISD", "::", "XOR", ":", "case", "ISD", "::", "OR", ":", "case", "ISD", "::", "AND", ":", "return", "(", "Cost", "+", "1", ")", "*", "LT", ".", "first", ";", "}", "}", ""], "natrual_language": ["This", "is", "an", "approximation", "of", "reciprocal", "throughput", "of", "a", "math/logic", "op", "."], "TS_V_token": ["AArch64", "AArch64", "0", "ISD::SDIV", "ISD::ADD", "ISD::MUL", "ISD::XOR", "ISD::OR", "ISD::AND", "1"], "File": "AArch64TargetTransformInfo10", "Func": "getArithmeticInstrCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5390, "Length": 276, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "or1k_tls_call", "(", "rtx", "dest", ",", "rtx", "arg", ")", "{", "emit_library_call_value", "(", "gen_tls_get_addr", "(", ")", ",", "dest", ",", "LCT_CONST", ",", "Pmode", ",", "arg", ",", "Pmode", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "call", "to", "'__tls_get_addr", "'", "."], "TS_V_token": ["or1k"], "File": "or1k", "Func": "or1k_tls_call", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5391, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "shouldSinkOperands", "(", "Instruction", "*", "I", ",", "SmallVectorImpl", "<", "Use", "*", ">", "&", "Ops", ")", "const", "{", "if", "(", "!", "I", "->", "getType", "(", ")", "->", "isVectorTy", "(", ")", ")", "return", "false", ";", "if", "(", "Subtarget", "->", "hasNEON", "(", ")", ")", "{", "switch", "(", "I", "->", "getOpcode", "(", ")", ")", "{", "case", "Instruction", "::", "Sub", ":", "case", "Instruction", "::", "Add", ":", "{", "if", "(", "!", "areExtractExts", "(", "I", "->", "getOperand", "(", "0", ")", ",", "I", "->", "getOperand", "(", "1", ")", ")", ")", "return", "false", ";", "Ops", ".", "push_back", "(", "&", "I", "->", "getOperandUse", "(", "0", ")", ")", ";", "Ops", ".", "push_back", "(", "&", "I", "->", "getOperandUse", "(", "1", ")", ")", ";", "return", "true", ";", "}", "default", ":", "return", "false", ";", "}", "}", "if", "(", "!", "Subtarget", "->", "hasMVEIntegerOps", "(", ")", ")", "return", "false", ";", "auto", "IsFMSMul", "=", "[", "&", "]", "(", "Instruction", "*", "I", ")", "{", "if", "(", "!", "I", "->", "hasOneUse", "(", ")", ")", "return", "false", ";", "auto", "*", "Sub", "=", "cast", "<", "Instruction", ">", "(", "*", "I", "->", "users", "(", ")", ".", "begin", "(", ")", ")", ";", "return", "Sub", "->", "getOpcode", "(", ")", "==", "Instruction", "::", "FSub", "&&", "Sub", "->", "getOperand", "(", "1", ")", "==", "I", ";", "}", ";", "auto", "IsSinker", "=", "[", "&", "]", "(", "Instruction", "*", "I", ",", "int", "Operand", ")", "{", "switch", "(", "I", "->", "getOpcode", "(", ")", ")", "{", "case", "Instruction", "::", "Add", ":", "case", "Instruction", "::", "Mul", ":", "case", "Instruction", "::", "FAdd", ":", "case", "Instruction", "::", "ICmp", ":", "case", "Instruction", "::", "FCmp", ":", "return", "true", ";", "case", "Instruction", "::", "FMul", ":", "return", "!", "IsFMSMul", "(", "I", ")", ";", "case", "Instruction", "::", "Sub", ":", "case", "Instruction", "::", "FSub", ":", "case", "Instruction", "::", "Shl", ":", "case", "Instruction", "::", "LShr", ":", "case", "Instruction", "::", "AShr", ":", "return", "Operand", "==", "1", ";", "default", ":", "return", "false", ";", "}", "}", ";", "int", "Op", "=", "0", ";", "if", "(", "!", "isa", "<", "ShuffleVectorInst", ">", "(", "I", "->", "getOperand", "(", "Op", ")", ")", ")", "Op", "=", "1", ";", "if", "(", "!", "IsSinker", "(", "I", ",", "Op", ")", ")", "return", "false", ";", "if", "(", "!", "match", "(", "I", "->", "getOperand", "(", "Op", ")", ",", "m_ShuffleVector", "(", "m_InsertElement", "(", "m_Undef", "(", ")", ",", "m_Value", "(", ")", ",", "m_ZeroInt", "(", ")", ")", ",", "m_Undef", "(", ")", ",", "m_ZeroMask", "(", ")", ")", ")", ")", "{", "return", "false", ";", "}", "Instruction", "*", "Shuffle", "=", "cast", "<", "Instruction", ">", "(", "I", "->", "getOperand", "(", "Op", ")", ")", ";", "for", "(", "Use", "&", "U", ":", "Shuffle", "->", "uses", "(", ")", ")", "{", "Instruction", "*", "Insn", "=", "cast", "<", "Instruction", ">", "(", "U", ".", "getUser", "(", ")", ")", ";", "if", "(", "!", "IsSinker", "(", "Insn", ",", "U", ".", "getOperandNo", "(", ")", ")", ")", "return", "false", ";", "}", "Ops", ".", "push_back", "(", "&", "Shuffle", "->", "getOperandUse", "(", "0", ")", ")", ";", "Ops", ".", "push_back", "(", "&", "I", "->", "getOperandUse", "(", "Op", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "sinking", "I", "'s", "operands", "to", "the", "same", "basic", "block", "as", "I", "is", "profitable", ",", "e.g", "."], "TS_V_token": ["ARM", "ARM", "0", "1", "0", "1", "1", "1", "0", "1", "0"], "File": "ARMISelLowering104", "Func": "shouldSinkOperands", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5392, "Length": 481, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "areJTsAllowed", "(", "const", "Function", "*", "Fn", ")", "const", "{", "if", "(", "Subtarget", ".", "useRetpoline", "(", ")", ")", "return", "false", ";", "return", "TargetLowering", "::", "areJTsAllowed", "(", "Fn", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "lowering", "to", "a", "jump", "table", "is", "allowed", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering", "Func": "areJTsAllowed", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5393, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "expand_vec_perm_vpshufb2_vpermq", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "rtx", "rperm", "[", "2", "]", "[", "32", "]", ",", "vperm", ",", "l", ",", "h", ",", "hp", ",", "op", ",", "m128", ";", "unsigned", "int", "i", ",", "nelt", ",", "eltsz", ";", "if", "(", "!", "TARGET_AVX2", "||", "!", "d", "->", "one_operand_p", "||", "(", "d", "->", "vmode", "!=", "V32QImode", "&&", "d", "->", "vmode", "!=", "V16HImode", ")", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "nelt", "=", "d", "->", "nelt", ";", "eltsz", "=", "GET_MODE_UNIT_SIZE", "(", "d", "->", "vmode", ")", ";", "m128", "=", "GEN_INT", "(", "-", "128", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "{", "unsigned", "j", ",", "e", "=", "d", "->", "perm", "[", "i", "]", "&", "(", "nelt", "/", "2", "-", "1", ")", ";", "unsigned", "which", "=", "(", "(", "d", "->", "perm", "[", "i", "]", "^", "i", ")", "&", "(", "nelt", "/", "2", ")", ")", "*", "eltsz", ";", "for", "(", "j", "=", "0", ";", "j", "<", "eltsz", ";", "++", "j", ")", "{", "rperm", "[", "!", "!", "which", "]", "[", "(", "i", "*", "eltsz", "+", "j", ")", "^", "which", "]", "=", "GEN_INT", "(", "e", "*", "eltsz", "+", "j", ")", ";", "rperm", "[", "!", "which", "]", "[", "(", "i", "*", "eltsz", "+", "j", ")", "^", "(", "which", "^", "16", ")", "]", "=", "m128", ";", "}", "}", "vperm", "=", "gen_rtx_CONST_VECTOR", "(", "V32QImode", ",", "gen_rtvec_v", "(", "32", ",", "rperm", "[", "1", "]", ")", ")", ";", "vperm", "=", "force_reg", "(", "V32QImode", ",", "vperm", ")", ";", "h", "=", "gen_reg_rtx", "(", "V32QImode", ")", ";", "op", "=", "gen_lowpart", "(", "V32QImode", ",", "d", "->", "op0", ")", ";", "emit_insn", "(", "gen_avx2_pshufbv32qi3", "(", "h", ",", "op", ",", "vperm", ")", ")", ";", "hp", "=", "gen_reg_rtx", "(", "V4DImode", ")", ";", "op", "=", "gen_lowpart", "(", "V4DImode", ",", "h", ")", ";", "emit_insn", "(", "gen_avx2_permv4di_1", "(", "hp", ",", "op", ",", "const2_rtx", ",", "GEN_INT", "(", "3", ")", ",", "const0_rtx", ",", "const1_rtx", ")", ")", ";", "vperm", "=", "gen_rtx_CONST_VECTOR", "(", "V32QImode", ",", "gen_rtvec_v", "(", "32", ",", "rperm", "[", "0", "]", ")", ")", ";", "vperm", "=", "force_reg", "(", "V32QImode", ",", "vperm", ")", ";", "l", "=", "gen_reg_rtx", "(", "V32QImode", ")", ";", "op", "=", "gen_lowpart", "(", "V32QImode", ",", "d", "->", "op0", ")", ";", "emit_insn", "(", "gen_avx2_pshufbv32qi3", "(", "l", ",", "op", ",", "vperm", ")", ")", ";", "op", "=", "d", "->", "target", ";", "if", "(", "d", "->", "vmode", "!=", "V32QImode", ")", "op", "=", "gen_reg_rtx", "(", "V32QImode", ")", ";", "emit_insn", "(", "gen_iorv32qi3", "(", "op", ",", "l", ",", "gen_lowpart", "(", "V32QImode", ",", "hp", ")", ")", ")", ";", "if", "(", "op", "!=", "d", "->", "target", ")", "emit_move_insn", "(", "d", "->", "target", ",", "gen_lowpart", "(", "d", "->", "vmode", ",", "op", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "arbitrary", "permutation", "of", "one", "V32QImode", "and", "V16QImode", "operand", "with", "two", "vpshufb", "insns", ",", "vpermq", "and", "vpor", ".", "We", "should", "have", "already", "failed", "all", "two", "or", "three", "instruction", "sequences", "."], "TS_V_token": ["i386", "2", "32", "128", "0", "2", "1", "2", "0", "16", "32", "1", "3", "32", "0"], "File": "i386-expand", "Func": "expand_vec_perm_vpshufb2_vpermq", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5394, "Length": 437, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDLoc", "dl", "(", "N", ")", ";", "RTLIB", "::", "Libcall", "libCall", "=", "RTLIB", "::", "UNKNOWN_LIBCALL", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Do not know how to custom type legalize this operation!\"", ")", ";", "case", "ISD", "::", "FP_TO_SINT", ":", "case", "ISD", "::", "FP_TO_UINT", ":", "if", "(", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", "!=", "MVT", "::", "f128", "||", "N", "->", "getValueType", "(", "0", ")", "!=", "MVT", "::", "i64", ")", "return", ";", "libCall", "=", "(", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_TO_SINT", ")", "?", "RTLIB", "::", "FPTOSINT_F128_I64", ":", "RTLIB", "::", "FPTOUINT_F128_I64", ")", ";", "Results", ".", "push_back", "(", "LowerF128Op", "(", "SDValue", "(", "N", ",", "0", ")", ",", "DAG", ",", "getLibcallName", "(", "libCall", ")", ",", "1", ")", ")", ";", "return", ";", "case", "ISD", "::", "READCYCLECOUNTER", ":", "{", "assert", "(", "Subtarget", "->", "hasLeonCycleCounter", "(", ")", ")", ";", "SDValue", "Lo", "=", "DAG", ".", "getCopyFromReg", "(", "N", "->", "getOperand", "(", "0", ")", ",", "dl", ",", "SP", "::", "ASR23", ",", "MVT", "::", "i32", ")", ";", "SDValue", "Hi", "=", "DAG", ".", "getCopyFromReg", "(", "Lo", ",", "dl", ",", "SP", "::", "G0", ",", "MVT", "::", "i32", ")", ";", "SDValue", "Ops", "[", "]", "=", "{", "Lo", ",", "Hi", "}", ";", "SDValue", "Pair", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BUILD_PAIR", ",", "dl", ",", "MVT", "::", "i64", ",", "Ops", ")", ";", "Results", ".", "push_back", "(", "Pair", ")", ";", "Results", ".", "push_back", "(", "N", "->", "getOperand", "(", "0", ")", ")", ";", "return", ";", "}", "case", "ISD", "::", "SINT_TO_FP", ":", "case", "ISD", "::", "UINT_TO_FP", ":", "if", "(", "N", "->", "getValueType", "(", "0", ")", "!=", "MVT", "::", "f128", "||", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", "!=", "MVT", "::", "i64", ")", "return", ";", "libCall", "=", "(", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SINT_TO_FP", ")", "?", "RTLIB", "::", "SINTTOFP_I64_F128", ":", "RTLIB", "::", "UINTTOFP_I64_F128", ")", ";", "Results", ".", "push_back", "(", "LowerF128Op", "(", "SDValue", "(", "N", ",", "0", ")", ",", "DAG", ",", "getLibcallName", "(", "libCall", ")", ",", "1", ")", ")", ";", "return", ";", "case", "ISD", "::", "LOAD", ":", "{", "LoadSDNode", "*", "Ld", "=", "cast", "<", "LoadSDNode", ">", "(", "N", ")", ";", "if", "(", "Ld", "->", "getValueType", "(", "0", ")", "!=", "MVT", "::", "i64", "||", "Ld", "->", "getMemoryVT", "(", ")", "!=", "MVT", "::", "i64", ")", "return", ";", "SDLoc", "dl", "(", "N", ")", ";", "SDValue", "LoadRes", "=", "DAG", ".", "getExtLoad", "(", "Ld", "->", "getExtensionType", "(", ")", ",", "dl", ",", "MVT", "::", "v2i32", ",", "Ld", "->", "getChain", "(", ")", ",", "Ld", "->", "getBasePtr", "(", ")", ",", "Ld", "->", "getPointerInfo", "(", ")", ",", "MVT", "::", "v2i32", ",", "Ld", "->", "getAlignment", "(", ")", ",", "Ld", "->", "getMemOperand", "(", ")", "->", "getFlags", "(", ")", ",", "Ld", "->", "getAAInfo", "(", ")", ")", ";", "SDValue", "Res", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "dl", ",", "MVT", "::", "i64", ",", "LoadRes", ")", ";", "Results", ".", "push_back", "(", "Res", ")", ";", "Results", ".", "push_back", "(", "LoadRes", ".", "getValue", "(", "1", ")", ")", ";", "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": ["Sparc", "Sparc", "\"Do not know how to custom type legalize this operation!\"", "ISD::FP_TO_SINT", "ISD::FP_TO_UINT", "0", "MVT::f128", "0", "MVT::i64", "ISD::FP_TO_SINT", "0", "1", "ISD::READCYCLECOUNTER", "0", "SP::ASR23", "MVT::i32", "SP::G0", "MVT::i32", "ISD::BUILD_PAIR", "MVT::i64", "0", "ISD::SINT_TO_FP", "ISD::UINT_TO_FP", "0", "MVT::f128", "0", "MVT::i64", "ISD::SINT_TO_FP", "0", "1", "ISD::LOAD", "0", "MVT::i64", "MVT::i64", "MVT::v2i32", "MVT::v2i32", "ISD::BITCAST", "MVT::i64", "1"], "File": "SparcISelLowering (2)2", "Func": "ReplaceNodeResults", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5395, "Length": 503, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getString", "(", ")", ";", "if", "(", "IDVal", "==", "\".cpload\"", ")", "return", "parseDirectiveCPLoad", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "if", "(", "IDVal", "==", "\".dword\"", ")", "{", "parseDataDirective", "(", "8", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".ent\"", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".end\"", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".frame\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".set\"", ")", "{", "return", "parseDirectiveSet", "(", ")", ";", "}", "if", "(", "IDVal", "==", "\".fmask\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".mask\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".nan\"", ")", "return", "parseDirectiveNaN", "(", ")", ";", "if", "(", "IDVal", "==", "\".gpword\"", ")", "{", "parseDirectiveGpWord", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".gpdword\"", ")", "{", "parseDirectiveGpDWord", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".word\"", ")", "{", "parseDataDirective", "(", "4", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".option\"", ")", "return", "parseDirectiveOption", "(", ")", ";", "if", "(", "IDVal", "==", "\".abicalls\"", ")", "{", "getTargetStreamer", "(", ")", ".", "emitDirectiveAbiCalls", "(", ")", ";", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "Error", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ",", "\"unexpected token in directive\"", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "}", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".cpsetup\"", ")", "return", "parseDirectiveCPSetup", "(", ")", ";", "if", "(", "IDVal", "==", "\".module\"", ")", "return", "parseDirectiveModule", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["Mips", "Mips", "\".cpload\"", "\".dword\"", "8", "\".ent\"", "\".end\"", "\".frame\"", "\".set\"", "\".fmask\"", "\".mask\"", "\".nan\"", "\".gpword\"", "\".gpdword\"", "\".word\"", "4", "\".option\"", "\".abicalls\"", "\"unexpected token in directive\"", "\".cpsetup\"", "\".module\""], "File": "MipsAsmParser1", "Func": "ParseDirective", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5396, "Length": 311, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb2InstrInfo", "::", "isLegalToSplitMBBAt", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ")", "const", "{", "while", "(", "MBBI", "->", "isDebugValue", "(", ")", ")", "{", "++", "MBBI", ";", "if", "(", "MBBI", "==", "MBB", ".", "end", "(", ")", ")", "return", "false", ";", "}", "unsigned", "PredReg", "=", "0", ";", "return", "llvm", "::", "getITInstrPredicate", "(", "MBBI", ",", "PredReg", ")", "==", "ARMCC", "::", "AL", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "'s", "legal", "to", "split", "the", "given", "basic", "block", "at", "the", "specified", "instruction", "(", "i.e", "."], "TS_V_token": ["ARM", "0", "ARMCC::AL"], "File": "Thumb2InstrInfo2", "Func": "isLegalToSplitMBBAt", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5397, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Align", "getABIAlignmentForCallingConv", "(", "Type", "*", "ArgTy", ",", "const", "DataLayout", "&", "DL", ")", "const", "override", "{", "const", "Align", "ABIAlign", "=", "DL", ".", "getABITypeAlign", "(", "ArgTy", ")", ";", "if", "(", "ArgTy", "->", "isVectorTy", "(", ")", ")", "return", "std", "::", "min", "(", "ABIAlign", ",", "Align", "(", "8", ")", ")", ";", "return", "ABIAlign", ";", "}", ""], "natrual_language": ["Return", "the", "correct", "alignment", "for", "the", "current", "calling", "convention", "."], "TS_V_token": ["Mips", "8"], "File": "MipsISelLowering50", "Func": "getABIAlignmentForCallingConv", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5398, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ")", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Mips", "::", "RDHWR", ":", "case", "Mips", "::", "RDHWR64", ":", "O", "<<", "\"\\t.set\\tpush\\n\"", ";", "O", "<<", "\"\\t.set\\tmips32r2\\n\"", ";", "}", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "O", ")", "&&", "!", "printAlias", "(", "*", "MI", ",", "O", ")", ")", "printInstruction", "(", "MI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Mips", "::", "RDHWR", ":", "case", "Mips", "::", "RDHWR64", ":", "O", "<<", "\"\\n\\t.set\\tpop\"", ";", "}", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["Mips", "Mips", "Mips::RDHWR", "Mips::RDHWR64", "\"\\t.set\\tpush\\n\"", "\"\\t.set\\tmips32r2\\n\"", "Mips::RDHWR", "Mips::RDHWR64", "\"\\n\\t.set\\tpop\""], "File": "MipsInstPrinter (2)", "Func": "printInst", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5399, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "SHUXITargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "SHUXIPassConfig", "(", "*", "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": ["SHUXI", "SHUXI", "SHUXI"], "File": "SHUXITargetMachine", "Func": "createPassConfig", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5400, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isLegalAddImmediate", "(", "int64_t", "Imm", ")", "const", "{", "return", "Imm", "==", "(", "int32_t", ")", "Imm", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "immediate", "is", "legal", "add", "immediate", ",", "that", "is", "the", "target", "has", "add", "instructions", "which", "can", "add", "a", "register", "and", "the", "immediate", "without", "having", "to", "materialize", "the", "immediate", "into", "a", "register", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering117", "Func": "isLegalAddImmediate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5401, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_interrupt_extra_call_saved_reg_p", "(", "unsigned", "int", "regno", ")", "{", "if", "(", "(", "ISA_HAS_HILO", "||", "TARGET_DSP", ")", "&&", "MD_REG_P", "(", "regno", ")", ")", "return", "true", ";", "if", "(", "TARGET_DSP", "&&", "DSP_ACC_REG_P", "(", "regno", ")", ")", "return", "true", ";", "if", "(", "GP_REG_P", "(", "regno", ")", "&&", "cfun", "->", "machine", "->", "use_shadow_register_set", "==", "SHADOW_SET_NO", ")", "{", "if", "(", "regno", "==", "GP_REG_FIRST", ")", "return", "false", ";", "if", "(", "KERNEL_REG_P", "(", "regno", ")", ")", "return", "false", ";", "if", "(", "regno", "==", "STACK_POINTER_REGNUM", ")", "return", "false", ";", "return", "call_really_used_regs", "[", "regno", "]", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "REGNO", "is", "a", "register", "that", "is", "ordinarily", "call-clobbered", "but", "must", "nevertheless", "be", "preserved", "by", "an", "interrupt", "handler", "."], "TS_V_token": ["mips"], "File": "mips5", "Func": "mips_interrupt_extra_call_saved_reg_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5402, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "assignCustomValue", "(", "ARMCallLowering", "::", "ArgInfo", "&", "Arg", ",", "ArrayRef", "<", "CCValAssign", ">", "VAs", ",", "std", "::", "function", "<", "void", "(", ")", ">", "*", "Thunk", ")", "override", "{", "assert", "(", "Arg", ".", "Regs", ".", "size", "(", ")", "==", "1", "&&", "\"Can't handle multple regs yet\"", ")", ";", "CCValAssign", "VA", "=", "VAs", "[", "0", "]", ";", "assert", "(", "VA", ".", "needsCustom", "(", ")", "&&", "\"Value doesn't need custom handling\"", ")", ";", "if", "(", "VA", ".", "getValVT", "(", ")", "!=", "MVT", "::", "f64", ")", "return", "0", ";", "CCValAssign", "NextVA", "=", "VAs", "[", "1", "]", ";", "assert", "(", "NextVA", ".", "needsCustom", "(", ")", "&&", "\"Value doesn't need custom handling\"", ")", ";", "assert", "(", "NextVA", ".", "getValVT", "(", ")", "==", "MVT", "::", "f64", "&&", "\"Unsupported type\"", ")", ";", "assert", "(", "VA", ".", "getValNo", "(", ")", "==", "NextVA", ".", "getValNo", "(", ")", "&&", "\"Values belong to different arguments\"", ")", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Value should be in reg\"", ")", ";", "assert", "(", "NextVA", ".", "isRegLoc", "(", ")", "&&", "\"Value should be in reg\"", ")", ";", "Register", "NewRegs", "[", "]", "=", "{", "MRI", ".", "createGenericVirtualRegister", "(", "LLT", "::", "scalar", "(", "32", ")", ")", ",", "MRI", ".", "createGenericVirtualRegister", "(", "LLT", "::", "scalar", "(", "32", ")", ")", "}", ";", "assignValueToReg", "(", "NewRegs", "[", "0", "]", ",", "VA", ".", "getLocReg", "(", ")", ",", "VA", ")", ";", "assignValueToReg", "(", "NewRegs", "[", "1", "]", ",", "NextVA", ".", "getLocReg", "(", ")", ",", "NextVA", ")", ";", "bool", "IsLittle", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "isLittle", "(", ")", ";", "if", "(", "!", "IsLittle", ")", "std", "::", "swap", "(", "NewRegs", "[", "0", "]", ",", "NewRegs", "[", "1", "]", ")", ";", "MIRBuilder", ".", "buildMerge", "(", "Arg", ".", "Regs", "[", "0", "]", ",", "NewRegs", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Handle", "custom", "values", ",", "which", "may", "be", "passed", "into", "one", "or", "more", "of", "VAs", "."], "TS_V_token": ["ARM", "ARM", "1", "\"Can't handle multple regs yet\"", "0", "\"Value doesn't need custom handling\"", "MVT::f64", "0", "1", "\"Value doesn't need custom handling\"", "MVT::f64", "\"Unsupported type\"", "\"Values belong to different arguments\"", "\"Value should be in reg\"", "\"Value should be in reg\"", "32", "32", "0", "1", "ARM", "0", "1", "0", "1"], "File": "ARMCallLowering14", "Func": "assignCustomValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5403, "Length": 271, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "std", "::", "unique_ptr", "<", "AArch64Operand", ">", "CreateReg", "(", "unsigned", "RegNum", ",", "bool", "isVector", ",", "SMLoc", "S", ",", "SMLoc", "E", ",", "MCContext", "&", "Ctx", ")", "{", "auto", "Op", "=", "make_unique", "<", "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"], "File": "AArch64AsmParser (2)1", "Func": "CreateReg", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5404, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_pass_by_reference", "(", "cumulative_args_t", "pcum", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "HOST_WIDE_INT", "size", ";", "machine_mode", "dummymode", ";", "int", "nregs", ";", "size", "=", "(", "mode", "==", "BLKmode", "&&", "type", ")", "?", "int_size_in_bytes", "(", "type", ")", ":", "(", "int", ")", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "type", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "}", "if", "(", "size", "<", "0", ")", "return", "true", ";", "if", "(", "aarch64_vfp_is_call_or_return_candidate", "(", "mode", ",", "type", ",", "&", "dummymode", ",", "&", "nregs", ",", "NULL", ")", ")", "return", "false", ";", "return", "size", ">", "2", "*", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PASS_BY_REFERENCE", "."], "TS_V_token": ["aarch64", "0", "2"], "File": "aarch642", "Func": "aarch64_pass_by_reference", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5405, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "shouldKeepZExtForFP16Conv", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Does", "this", "target", "require", "the", "clearing", "of", "high-order", "bits", "in", "a", "register", "passed", "to", "the", "fp16", "to", "fp", "conversion", "library", "function", "."], "TS_V_token": ["PowerPC"], "File": "PPCISelLowering110", "Func": "shouldKeepZExtForFP16Conv", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5406, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsOutgoingValueHandler", "::", "assignValueToReg", "(", "Register", "ValVReg", ",", "Register", "PhysReg", ",", "CCValAssign", "VA", ")", "{", "Register", "ExtReg", "=", "extendRegister", "(", "ValVReg", ",", "VA", ")", ";", "MIRBuilder", ".", "buildCopy", "(", "PhysReg", ",", "ExtReg", ")", ";", "MIB", ".", "addUse", "(", "PhysReg", ",", "RegState", "::", "Implicit", ")", ";", "}", ""], "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": ["Mips", "Mips"], "File": "MipsCallLowering (2)", "Func": "assignValueToReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5407, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_expand_vector_init_duplicate", "(", "bool", "mmx_ok", ",", "enum", "machine_mode", "mode", ",", "rtx", "target", ",", "rtx", "val", ")", "{", "enum", "machine_mode", "smode", ",", "wsmode", ",", "wvmode", ";", "rtx", "x", ";", "switch", "(", "mode", ")", "{", "case", "V2SImode", ":", "case", "V2SFmode", ":", "if", "(", "!", "mmx_ok", "&&", "!", "TARGET_SSE", ")", "return", "false", ";", "case", "V2DFmode", ":", "case", "V2DImode", ":", "case", "V4SFmode", ":", "case", "V4SImode", ":", "val", "=", "force_reg", "(", "GET_MODE_INNER", "(", "mode", ")", ",", "val", ")", ";", "x", "=", "gen_rtx_VEC_DUPLICATE", "(", "mode", ",", "val", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "target", ",", "x", ")", ")", ";", "return", "true", ";", "case", "V4HImode", ":", "if", "(", "!", "mmx_ok", ")", "return", "false", ";", "if", "(", "TARGET_SSE", "||", "TARGET_3DNOW_A", ")", "{", "val", "=", "gen_lowpart", "(", "SImode", ",", "val", ")", ";", "x", "=", "gen_rtx_TRUNCATE", "(", "HImode", ",", "val", ")", ";", "x", "=", "gen_rtx_VEC_DUPLICATE", "(", "mode", ",", "x", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "target", ",", "x", ")", ")", ";", "return", "true", ";", "}", "else", "{", "smode", "=", "HImode", ";", "wsmode", "=", "SImode", ";", "wvmode", "=", "V2SImode", ";", "goto", "widen", ";", "}", "case", "V8QImode", ":", "if", "(", "!", "mmx_ok", ")", "return", "false", ";", "smode", "=", "QImode", ";", "wsmode", "=", "HImode", ";", "wvmode", "=", "V4HImode", ";", "goto", "widen", ";", "case", "V8HImode", ":", "smode", "=", "HImode", ";", "wsmode", "=", "SImode", ";", "wvmode", "=", "V4SImode", ";", "goto", "widen", ";", "case", "V16QImode", ":", "smode", "=", "QImode", ";", "wsmode", "=", "HImode", ";", "wvmode", "=", "V8HImode", ";", "goto", "widen", ";", "widen", ":", "val", "=", "convert_modes", "(", "wsmode", ",", "smode", ",", "val", ",", "true", ")", ";", "x", "=", "expand_simple_binop", "(", "wsmode", ",", "ASHIFT", ",", "val", ",", "GEN_INT", "(", "GET_MODE_BITSIZE", "(", "smode", ")", ")", ",", "NULL_RTX", ",", "1", ",", "OPTAB_LIB_WIDEN", ")", ";", "val", "=", "expand_simple_binop", "(", "wsmode", ",", "IOR", ",", "val", ",", "x", ",", "x", ",", "1", ",", "OPTAB_LIB_WIDEN", ")", ";", "x", "=", "gen_reg_rtx", "(", "wvmode", ")", ";", "if", "(", "!", "ix86_expand_vector_init_duplicate", "(", "mmx_ok", ",", "wvmode", ",", "x", ",", "val", ")", ")", "gcc_unreachable", "(", ")", ";", "emit_move_insn", "(", "target", ",", "gen_lowpart", "(", "mode", ",", "x", ")", ")", ";", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["A", "subroutine", "of", "ix86_expand_vector_init", ".", "Store", "into", "TARGET", "a", "vector", "with", "all", "elements", "equal", "to", "VAR", ".", "Return", "true", "if", "successful", "."], "TS_V_token": ["i386", "1", "1"], "File": "i3863", "Func": "ix86_expand_vector_init_duplicate", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5408, "Length": 346, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_rtx_costs_impl", "(", "rtx", "x", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "int", "outer_code", ",", "int", "opno", ",", "int", "*", "total", ",", "bool", "speed", ")", "{", "int", "code", "=", "GET_CODE", "(", "x", ")", ";", "if", "(", "speed", ")", "return", "rtx_cost_model", ".", "speed_prefer", "(", "x", ",", "code", ",", "outer_code", ",", "opno", ",", "total", ")", ";", "else", "return", "rtx_cost_model", ".", "size_prefer", "(", "x", ",", "code", ",", "outer_code", ",", "opno", ",", "total", ")", ";", "}", ""], "natrual_language": ["This", "target", "hook", "describes", "the", "relative", "costs", "of", "RTL", "expressions", ".", "Return", "'true", "'", "when", "all", "subexpressions", "of", "x", "have", "been", "processed", ".", "Return", "'false", "'", "to", "sum", "the", "costs", "of", "sub-rtx", ",", "plus", "cost", "of", "this", "operation", ".", "Refer", "to", "gcc/rtlanal.cc", "for", "more", "information", "."], "TS_V_token": ["nds32"], "File": "nds32-cost", "Func": "nds32_rtx_costs_impl", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5409, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "KudeyarAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "KudeyarFI", "=", "MF", ".", "getInfo", "<", "KudeyarMachineFunctionInfo", ">", "(", ")", ";", "AsmPrinter", "::", "runOnMachineFunction", "(", "MF", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Kudeyar", "Kudeyar", "Kudeyar", "Kudeyar"], "File": "KudeyarAsmPrinter", "Func": "runOnMachineFunction", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5410, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZTTIImpl", "::", "getPeelingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "PeelingPreferences", "&", "PP", ")", "{", "BaseT", "::", "getPeelingPreferences", "(", "L", ",", "SE", ",", "PP", ")", ";", "}", ""], "natrual_language": ["Get", "target-customized", "preferences", "for", "the", "generic", "loop", "peeling", "transformation", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZTargetTransformInfo1", "Func": "getPeelingPreferences", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5411, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "tree", "def_builtin2", "(", "HOST_WIDE_INT", "mask", ",", "const", "char", "*", "name", ",", "enum", "ix86_builtin_func_type", "tcode", ",", "enum", "ix86_builtins", "code", ")", "{", "tree", "decl", "=", "NULL_TREE", ";", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "isa2", "=", "mask", ";", "if", "(", "mask", "==", "0", "||", "(", "mask", "&", "ix86_isa_flags2", ")", "!=", "0", "||", "(", "lang_hooks", ".", "builtin_function", "==", "lang_hooks", ".", "builtin_function_ext_scope", ")", ")", "{", "tree", "type", "=", "ix86_get_builtin_func_type", "(", "tcode", ")", ";", "decl", "=", "add_builtin_function", "(", "name", ",", "type", ",", "code", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "ix86_builtins", "[", "(", "int", ")", "code", "]", "=", "decl", ";", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "set_and_not_built_p", "=", "false", ";", "}", "else", "{", "deferred_isa_values2", "|=", "mask", ";", "ix86_builtins", "[", "(", "int", ")", "code", "]", "=", "NULL_TREE", ";", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "tcode", "=", "tcode", ";", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "name", "=", "name", ";", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "leaf_p", "=", "false", ";", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "nothrow_p", "=", "false", ";", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "const_p", "=", "false", ";", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "set_and_not_built_p", "=", "true", ";", "}", "return", "decl", ";", "}", ""], "natrual_language": ["Like", "def_builtin", ",", "but", "for", "additional", "isa2", "flags", "."], "TS_V_token": ["i386", "0", "0"], "File": "i3866", "Func": "def_builtin2", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5412, "Length": 205, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiMemAluCombiner", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "DisableMemAluCombiner", ")", "return", "false", ";", "TII", "=", "MF", ".", "getSubtarget", "<", "LanaiSubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MfIterator", "MFI", "=", "MF", ".", "begin", "(", ")", ";", "MFI", "!=", "MF", ".", "end", "(", ")", ";", "++", "MFI", ")", "{", "Modified", "|=", "combineMemAluInBasicBlock", "(", "&", "*", "MFI", ")", ";", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai"], "File": "LanaiMemAluCombiner", "Func": "runOnMachineFunction", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5413, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "rs6000_parm_start", "(", "machine_mode", "mode", ",", "const_tree", "type", ",", "unsigned", "int", "nwords", ")", "{", "unsigned", "int", "align", ";", "align", "=", "rs6000_function_arg_boundary", "(", "mode", ",", "type", ")", "/", "PARM_BOUNDARY", "-", "1", ";", "return", "nwords", "+", "(", "-", "(", "rs6000_parm_offset", "(", ")", "+", "nwords", ")", "&", "align", ")", ";", "}", ""], "natrual_language": ["For", "a", "function", "parm", "of", "MODE", "and", "TYPE", ",", "return", "the", "starting", "word", "in", "the", "parameter", "area", ".", "NWORDS", "of", "the", "parameter", "area", "are", "already", "used", "."], "TS_V_token": ["rs6000", "1"], "File": "rs6000-call", "Func": "rs6000_parm_start", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5414, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "override", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "X86", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"reloc_riprel_4byte\"", ",", "0", ",", "4", "*", "8", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_riprel_4byte_movq_load\"", ",", "0", ",", "4", "*", "8", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_signed_4byte\"", ",", "0", ",", "4", "*", "8", ",", "0", "}", ",", "{", "\"reloc_global_offset_table\"", ",", "0", ",", "4", "*", "8", ",", "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": ["X86", "X86::NumTargetFixupKinds", "\"reloc_riprel_4byte\"", "0", "4", "8", "\"reloc_riprel_4byte_movq_load\"", "0", "4", "8", "\"reloc_signed_4byte\"", "0", "4", "8", "0", "\"reloc_global_offset_table\"", "0", "4", "8", "0", "\"Invalid kind!\""], "File": "X86AsmBackend (2)3", "Func": "getFixupKindInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5415, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ARM64InstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["ARM64", "ARM64"], "File": "ARM64TargetMachine", "Func": "getInstrInfo", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5416, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64TargetLowering", "::", "getVaListSizeInBits", "(", "const", "DataLayout", "&", "DL", ")", "const", "{", "if", "(", "Subtarget", "->", "isTargetDarwin", "(", ")", "||", "Subtarget", "->", "isTargetWindows", "(", ")", ")", "return", "getPointerTy", "(", "DL", ")", ".", "getSizeInBits", "(", ")", ";", "return", "3", "*", "getPointerTy", "(", "DL", ")", ".", "getSizeInBits", "(", ")", "+", "2", "*", "32", ";", "}", ""], "natrual_language": ["Returns", "the", "size", "of", "the", "platform", "'s", "va_list", "object", "."], "TS_V_token": ["AArch64", "AArch64", "3", "2", "32"], "File": "AArch64ISelLowering (2)2", "Func": "getVaListSizeInBits", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5417, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "ARMBaseRegisterInfo", "::", "getPointerRegClass", "(", "unsigned", "Kind", ")", "const", "{", "return", "ARM", "::", "GPRRegisterClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["ARM", "ARM", "ARM::GPRRegisterClass"], "File": "ARMBaseRegisterInfo1", "Func": "getPointerRegClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5418, "Length": 18, "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": 5419, "Length": 508, "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": 5420, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "initial_elimination_offset", "(", "int", "from", ",", "int", "to", ")", "{", "const", "int", "regs_saved_rounding", "=", "0", ";", "int", "save_flags", "=", "target_flags", ";", "HARD_REG_SET", "live_regs_mask", ";", "int", "regs_saved", "=", "calc_live_regs", "(", "&", "live_regs_mask", ")", ";", "int", "total_auto_space", "=", "rounded_frame_size", "(", "regs_saved", ")", "-", "regs_saved_rounding", ";", "target_flags", "=", "save_flags", ";", "int", "total_saved_regs_space", "=", "regs_saved", "+", "regs_saved_rounding", ";", "if", "(", "from", "==", "ARG_POINTER_REGNUM", "&&", "to", "==", "HARD_FRAME_POINTER_REGNUM", ")", "return", "total_saved_regs_space", "+", "total_auto_space", ";", "if", "(", "from", "==", "ARG_POINTER_REGNUM", "&&", "to", "==", "STACK_POINTER_REGNUM", ")", "return", "total_saved_regs_space", "+", "total_auto_space", ";", "if", "(", "from", "==", "HARD_FRAME_POINTER_REGNUM", "&&", "to", "==", "STACK_POINTER_REGNUM", ")", "return", "0", ";", "if", "(", "from", "==", "FRAME_POINTER_REGNUM", "&&", "to", "==", "STACK_POINTER_REGNUM", ")", "return", "rounded_frame_size", "(", "0", ")", ";", "if", "(", "from", "==", "FRAME_POINTER_REGNUM", "&&", "to", "==", "HARD_FRAME_POINTER_REGNUM", ")", "return", "rounded_frame_size", "(", "0", ")", ";", "gcc_assert", "(", "from", "==", "RETURN_ADDRESS_POINTER_REGNUM", "&&", "(", "to", "==", "HARD_FRAME_POINTER_REGNUM", "||", "to", "==", "STACK_POINTER_REGNUM", ")", ")", ";", "return", "total_auto_space", ";", "}", ""], "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": ["sh", "0", "0", "0", "0"], "File": "sh", "Func": "initial_elimination_offset", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5421, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LEGInstPrinter", "::", "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": ["LEG", "LEG"], "File": "LEGInstPrinter1", "Func": "printInst", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5422, "Length": 33, "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": 5423, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{", "return", "createELFObjectWriter", "(", "new", "X86ELFObjectWriter", "(", "true", ",", "OSType", ",", "ELF", "::", "EM_X86_64", ",", "true", ")", ",", "OS", ",", "true", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86AsmBackend5", "Func": "createObjectWriter", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5424, "Length": 33, "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", ":", "return", "7", ";", "case", "CPU_POWER9", ":", "return", "6", ";", "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", "1"], "File": "rs60006", "Func": "rs6000_issue_rate", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5425, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CollectLOH", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "TargetRegisterInfo", "*", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "const", "MachineDominatorTree", "*", "MDT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "MapRegToId", "RegToId", ";", "MapIdToReg", "IdToReg", ";", "AArch64FunctionInfo", "*", "AArch64FI", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "assert", "(", "AArch64FI", "&&", "\"No MachineFunctionInfo for this function!\"", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Looking for LOH in \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "collectInvolvedReg", "(", "MF", ",", "RegToId", ",", "IdToReg", ",", "TRI", ")", ";", "if", "(", "RegToId", ".", "empty", "(", ")", ")", "return", "false", ";", "MachineInstr", "*", "DummyOp", "=", "nullptr", ";", "if", "(", "BasicBlockScopeOnly", ")", "{", "const", "TargetInstrInfo", "*", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DummyOp", "=", "MF", ".", "CreateMachineInstr", "(", "TII", "->", "get", "(", "AArch64", "::", "COPY", ")", ",", "DebugLoc", "(", ")", ")", ";", "}", "unsigned", "NbReg", "=", "RegToId", ".", "size", "(", ")", ";", "bool", "Modified", "=", "false", ";", "InstrToInstrs", "*", "ColorOpToReachedUses", "=", "new", "InstrToInstrs", "[", "NbReg", "]", ";", "reachingDef", "(", "MF", ",", "ColorOpToReachedUses", ",", "RegToId", ",", "true", ",", "DummyOp", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"ADRP reaching defs\\n\"", ")", ";", "DEBUG", "(", "printReachingDef", "(", "ColorOpToReachedUses", ",", "NbReg", ",", "TRI", ",", "IdToReg", ")", ")", ";", "InstrToInstrs", "ADRPToReachingDefs", ";", "reachedUsesToDefs", "(", "ADRPToReachingDefs", ",", "ColorOpToReachedUses", ",", "RegToId", ",", "true", ")", ";", "computeADRP", "(", "ADRPToReachingDefs", ",", "*", "AArch64FI", ",", "MDT", ")", ";", "delete", "[", "]", "ColorOpToReachedUses", ";", "ColorOpToReachedUses", "=", "new", "InstrToInstrs", "[", "NbReg", "]", ";", "reachingDef", "(", "MF", ",", "ColorOpToReachedUses", ",", "RegToId", ",", "false", ",", "DummyOp", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"All reaching defs\\n\"", ")", ";", "DEBUG", "(", "printReachingDef", "(", "ColorOpToReachedUses", ",", "NbReg", ",", "TRI", ",", "IdToReg", ")", ")", ";", "InstrToInstrs", "UsesToReachingDefs", ";", "reachedUsesToDefs", "(", "UsesToReachingDefs", ",", "ColorOpToReachedUses", ",", "RegToId", ",", "false", ")", ";", "computeOthers", "(", "UsesToReachingDefs", ",", "ColorOpToReachedUses", ",", "*", "AArch64FI", ",", "RegToId", ",", "MDT", ")", ";", "delete", "[", "]", "ColorOpToReachedUses", ";", "if", "(", "BasicBlockScopeOnly", ")", "MF", ".", "DeleteMachineInstr", "(", "DummyOp", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "\"No MachineFunctionInfo for this function!\"", "\"Looking for LOH in \"", "AArch64::COPY", "\"ADRP reaching defs\\n\"", "AArch64", "\"All reaching defs\\n\"", "AArch64"], "File": "AArch64CollectLOH10", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5426, "Length": 331, "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": 5427, "Length": 160, "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", "E_V2DFmode", ":", "case", "E_V2DImode", ":", "case", "E_V2SFmode", ":", "case", "E_V2SImode", ":", "return", "false", ";", "case", "E_V4DImode", ":", "if", "(", "!", "TARGET_64BIT", ")", "return", "false", ";", "case", "E_V8HFmode", ":", "case", "E_V16HFmode", ":", "case", "E_V4DFmode", ":", "case", "E_V8SFmode", ":", "case", "E_V8SImode", ":", "case", "E_V16HImode", ":", "case", "E_V32QImode", ":", "case", "E_V4SFmode", ":", "case", "E_V4SImode", ":", "case", "E_V8HImode", ":", "case", "E_V4HImode", ":", "break", ";", "case", "E_V16QImode", ":", "if", "(", "TARGET_SSE4_1", ")", "break", ";", "wmode", "=", "V8HImode", ";", "goto", "widen", ";", "case", "E_V8QImode", ":", "if", "(", "TARGET_MMX_WITH_SSE", "&&", "TARGET_SSE4_1", ")", "break", ";", "wmode", "=", "V4HImode", ";", "goto", "widen", ";", "case", "E_V4QImode", ":", "if", "(", "TARGET_SSE4_1", ")", "break", ";", "wmode", "=", "V2HImode", ";", "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", "(", "UINTVAL", "(", "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": "i386-expand", "Func": "ix86_expand_vector_init_one_var", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5428, "Length": 391, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCFragment", "*", "findAssociatedFragment", "(", ")", "const", "override", "{", "return", "nullptr", ";", "}", ""], "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": ["X86"], "File": "X86MCExpr (2)", "Func": "findAssociatedFragment", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5429, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "general_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-features", "Func": "make_vector_copies", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5430, "Length": 387, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "rs6000_hash_constant", "(", "rtx", "k", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "k", ")", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "k", ")", ";", "unsigned", "result", "=", "(", "code", "<<", "3", ")", "^", "mode", ";", "const", "char", "*", "format", ";", "int", "flen", ",", "fidx", ";", "format", "=", "GET_RTX_FORMAT", "(", "code", ")", ";", "flen", "=", "strlen", "(", "format", ")", ";", "fidx", "=", "0", ";", "switch", "(", "code", ")", "{", "case", "LABEL_REF", ":", "return", "result", "*", "1231", "+", "(", "unsigned", ")", "INSN_UID", "(", "XEXP", "(", "k", ",", "0", ")", ")", ";", "case", "CONST_WIDE_INT", ":", "{", "int", "i", ";", "flen", "=", "CONST_WIDE_INT_NUNITS", "(", "k", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "flen", ";", "i", "++", ")", "result", "=", "result", "*", "613", "+", "CONST_WIDE_INT_ELT", "(", "k", ",", "i", ")", ";", "return", "result", ";", "}", "case", "CONST_DOUBLE", ":", "return", "real_hash", "(", "CONST_DOUBLE_REAL_VALUE", "(", "k", ")", ")", "*", "result", ";", "case", "CODE_LABEL", ":", "fidx", "=", "3", ";", "break", ";", "default", ":", "break", ";", "}", "for", "(", ";", "fidx", "<", "flen", ";", "fidx", "++", ")", "switch", "(", "format", "[", "fidx", "]", ")", "{", "case", "'s'", ":", "{", "unsigned", "i", ",", "len", ";", "const", "char", "*", "str", "=", "XSTR", "(", "k", ",", "fidx", ")", ";", "len", "=", "strlen", "(", "str", ")", ";", "result", "=", "result", "*", "613", "+", "len", ";", "for", "(", "i", "=", "0", ";", "i", "<", "len", ";", "i", "++", ")", "result", "=", "result", "*", "613", "+", "(", "unsigned", ")", "str", "[", "i", "]", ";", "break", ";", "}", "case", "'u'", ":", "case", "'e'", ":", "result", "=", "result", "*", "1231", "+", "rs6000_hash_constant", "(", "XEXP", "(", "k", ",", "fidx", ")", ")", ";", "break", ";", "case", "'i'", ":", "case", "'n'", ":", "result", "=", "result", "*", "613", "+", "(", "unsigned", ")", "XINT", "(", "k", ",", "fidx", ")", ";", "break", ";", "case", "'w'", ":", "if", "(", "sizeof", "(", "unsigned", ")", ">=", "sizeof", "(", "HOST_WIDE_INT", ")", ")", "result", "=", "result", "*", "613", "+", "(", "unsigned", ")", "XWINT", "(", "k", ",", "fidx", ")", ";", "else", "{", "size_t", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "sizeof", "(", "HOST_WIDE_INT", ")", "/", "sizeof", "(", "unsigned", ")", ";", "i", "++", ")", "result", "=", "result", "*", "613", "+", "(", "unsigned", ")", "(", "XWINT", "(", "k", ",", "fidx", ")", ">>", "CHAR_BIT", "*", "i", ")", ";", "}", "break", ";", "case", "'0'", ":", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "result", ";", "}", ""], "natrual_language": ["Hash", "functions", "for", "the", "hash", "table", "."], "TS_V_token": ["rs6000", "3", "0", "1231", "0", "0", "613", "3", "613", "0", "613", "1231", "613", "613", "0", "613"], "File": "rs6000", "Func": "rs6000_hash_constant", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5431, "Length": 392, "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", ",", "bool", "silent_p", ")", "{", "if", "(", "is_ha", "!=", "NULL", ")", "*", "is_ha", "=", "false", ";", "machine_mode", "new_mode", "=", "VOIDmode", ";", "bool", "composite_p", "=", "aarch64_composite_type_p", "(", "type", ",", "mode", ")", ";", "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", ")", "{", "unsigned", "int", "warn_psabi_flags", "=", "0", ";", "int", "ag_count", "=", "aapcs_vfp_sub_candidate", "(", "type", ",", "&", "new_mode", ",", "&", "warn_psabi_flags", ")", ";", "if", "(", "ag_count", ">", "0", "&&", "ag_count", "<=", "HA_MAX_NUM_FLDS", ")", "{", "static", "unsigned", "last_reported_type_uid", ";", "unsigned", "uid", "=", "TYPE_UID", "(", "TYPE_MAIN_VARIANT", "(", "type", ")", ")", ";", "int", "alt", ";", "if", "(", "!", "silent_p", "&&", "warn_psabi", "&&", "warn_psabi_flags", "&&", "uid", "!=", "last_reported_type_uid", "&&", "(", "(", "alt", "=", "aapcs_vfp_sub_candidate", "(", "type", ",", "&", "new_mode", ",", "NULL", ")", ")", "!=", "ag_count", ")", ")", "{", "const", "char", "*", "url", "=", "CHANGES_ROOT_URL", "\"gcc-10/changes.html#empty_base\"", ";", "gcc_assert", "(", "alt", "==", "-", "1", ")", ";", "last_reported_type_uid", "=", "uid", ";", "if", "(", "warn_psabi_flags", "&", "WARN_PSABI_NO_UNIQUE_ADDRESS", ")", "inform", "(", "input_location", ",", "\"parameter passing for argument of \"", "\"type %qT with %<[[no_unique_address]]%> members \"", "\"changed %{in GCC 10.1%}\"", ",", "TYPE_MAIN_VARIANT", "(", "type", ")", ",", "url", ")", ";", "else", "if", "(", "warn_psabi_flags", "&", "WARN_PSABI_EMPTY_CXX17_BASE", ")", "inform", "(", "input_location", ",", "\"parameter passing for argument of \"", "\"type %qT when C++17 is enabled changed to match \"", "\"C++14 %{in GCC 10.1%}\"", ",", "TYPE_MAIN_VARIANT", "(", "type", ")", ",", "url", ")", ";", "}", "if", "(", "is_ha", "!=", "NULL", ")", "*", "is_ha", "=", "true", ";", "*", "count", "=", "ag_count", ";", "}", "else", "return", "false", ";", "}", "else", "return", "false", ";", "gcc_assert", "(", "!", "aarch64_sve_mode_p", "(", "new_mode", ")", ")", ";", "*", "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", "0", "\"gcc-10/changes.html#empty_base\"", "1", "\"parameter passing for argument of \"", "\"type %qT with %<[[no_unique_address]]%> members \"", "\"changed %{in GCC 10.1%}\"", "\"parameter passing for argument of \"", "\"type %qT when C++17 is enabled changed to match \"", "\"C++14 %{in GCC 10.1%}\""], "File": "aarch64", "Func": "aarch64_vfp_is_call_or_return_candidate", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5432, "Length": 318, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "glibc_supports_ieee_128bit", "(", "void", ")", "{", "if", "(", "OPTION_GLIBC", "&&", "!", "BYTES_BIG_ENDIAN", "&&", "(", "(", "TARGET_GLIBC_MAJOR", "*", "1000", ")", "+", "TARGET_GLIBC_MINOR", ")", ">=", "2032", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "are", "using", "GLIBC", ",", "and", "it", "supports", "IEEE", "128-bit", "long", "double", ".", "This", "support", "is", "only", "in", "little", "endian", "GLIBC", "2.32", "or", "newer", "."], "TS_V_token": ["rs6000", "1000", "2032"], "File": "rs6000", "Func": "glibc_supports_ieee_128bit", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5433, "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", "(", "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", ")", ")", "{", "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": "Thumb2InstrInfo11", "Func": "storeRegToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5434, "Length": 329, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCRegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "PPCFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "const", "unsigned", "DefaultSafety", "=", "1", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "PPC", "::", "G8RC_NOX0RegClassID", ":", "case", "PPC", "::", "GPRC_NOR0RegClassID", ":", "case", "PPC", "::", "SPERCRegClassID", ":", "case", "PPC", "::", "G8RCRegClassID", ":", "case", "PPC", "::", "GPRCRegClassID", ":", "{", "unsigned", "FP", "=", "TFI", "->", "hasFP", "(", "MF", ")", "?", "1", ":", "0", ";", "return", "32", "-", "FP", "-", "DefaultSafety", ";", "}", "case", "PPC", "::", "F4RCRegClassID", ":", "case", "PPC", "::", "F8RCRegClassID", ":", "case", "PPC", "::", "VSLRCRegClassID", ":", "return", "32", "-", "DefaultSafety", ";", "case", "PPC", "::", "VFRCRegClassID", ":", "case", "PPC", "::", "VRRCRegClassID", ":", "{", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "if", "(", "!", "TM", ".", "getAIXExtendedAltivecABI", "(", ")", "&&", "Subtarget", ".", "isAIXABI", "(", ")", ")", "return", "20", "-", "DefaultSafety", ";", "}", "return", "32", "-", "DefaultSafety", ";", "case", "PPC", "::", "VSFRCRegClassID", ":", "case", "PPC", "::", "VSSRCRegClassID", ":", "case", "PPC", "::", "VSRCRegClassID", ":", "{", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "if", "(", "!", "TM", ".", "getAIXExtendedAltivecABI", "(", ")", "&&", "Subtarget", ".", "isAIXABI", "(", ")", ")", "return", "52", "-", "DefaultSafety", ";", "}", "return", "64", "-", "DefaultSafety", ";", "case", "PPC", "::", "CRRCRegClassID", ":", "return", "8", "-", "DefaultSafety", ";", "}", "}", ""], "natrual_language": ["Return", "the", "register", "pressure", "``", "high", "water", "mark", "''", "for", "the", "specific", "register", "class", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "1", "0", "PPC::G8RC_NOX0RegClassID", "PPC::GPRC_NOR0RegClassID", "PPC::SPERCRegClassID", "PPC::G8RCRegClassID", "PPC::GPRCRegClassID", "1", "0", "32", "PPC::F4RCRegClassID", "PPC::F8RCRegClassID", "PPC::VSLRCRegClassID", "32", "PPC::VFRCRegClassID", "PPC::VRRCRegClassID", "PPC", "PPC", "20", "32", "PPC::VSFRCRegClassID", "PPC::VSSRCRegClassID", "PPC::VSRCRegClassID", "PPC", "PPC", "52", "64", "PPC::CRRCRegClassID", "8"], "File": "PPCRegisterInfo (2)3", "Func": "getRegPressureLimit", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5435, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint32_t", "AArch64MCCodeEmitter", "::", "getBranchTargetOpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpIdx", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpIdx", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"Unexpected ADR target type!\"", ")", ";", "MCFixupKind", "Kind", "=", "MI", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "BL", "?", "MCFixupKind", "(", "AArch64", "::", "fixup_aarch64_pcrel_call26", ")", ":", "MCFixupKind", "(", "AArch64", "::", "fixup_aarch64_pcrel_branch26", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "0", ",", "MO", ".", "getExpr", "(", ")", ",", "Kind", ",", "MI", ".", "getLoc", "(", ")", ")", ")", ";", "++", "MCNumFixups", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "."], "TS_V_token": ["AArch64", "AArch64", "\"Unexpected ADR target type!\"", "AArch64::BL", "AArch64::fixup_aarch64_pcrel_call26", "AArch64::fixup_aarch64_pcrel_branch26", "0", "0"], "File": "AArch64MCCodeEmitter1", "Func": "getBranchTargetOpValue", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5436, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsExpandPseudo", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "STI", "=", "&", "MF", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "Modified", "|=", "expandMBB", "(", "MBB", ")", ";", "if", "(", "Modified", ")", "MF", ".", "RenumberBlocks", "(", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsExpandPseudo11", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5437, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "X86Subtarget", "::", "classifyGlobalFunctionReference", "(", "const", "GlobalValue", "*", "GV", ",", "const", "Module", "&", "M", ")", "const", "{", "if", "(", "TM", ".", "shouldAssumeDSOLocal", "(", "M", ",", "GV", ")", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "if", "(", "isTargetCOFF", "(", ")", ")", "{", "if", "(", "GV", "->", "hasDLLImportStorageClass", "(", ")", ")", "return", "X86II", "::", "MO_DLLIMPORT", ";", "return", "X86II", "::", "MO_COFFSTUB", ";", "}", "const", "Function", "*", "F", "=", "dyn_cast_or_null", "<", "Function", ">", "(", "GV", ")", ";", "if", "(", "isTargetELF", "(", ")", ")", "{", "if", "(", "is64Bit", "(", ")", "&&", "F", "&&", "(", "CallingConv", "::", "X86_RegCall", "==", "F", "->", "getCallingConv", "(", ")", ")", ")", "return", "X86II", "::", "MO_GOTPCREL", ";", "if", "(", "(", "(", "F", "&&", "F", "->", "hasFnAttribute", "(", "Attribute", "::", "NonLazyBind", ")", ")", "||", "(", "!", "F", "&&", "M", ".", "getRtLibUseGOT", "(", ")", ")", ")", "&&", "is64Bit", "(", ")", ")", "return", "X86II", "::", "MO_GOTPCREL", ";", "return", "X86II", "::", "MO_PLT", ";", "}", "if", "(", "is64Bit", "(", ")", ")", "{", "if", "(", "F", "&&", "F", "->", "hasFnAttribute", "(", "Attribute", "::", "NonLazyBind", ")", ")", "return", "X86II", "::", "MO_GOTPCREL", ";", "return", "X86II", "::", "MO_NO_FLAG", ";", "}", "return", "X86II", "::", "MO_NO_FLAG", ";", "}", ""], "natrual_language": ["Classify", "a", "global", "function", "reference", "for", "the", "current", "subtarget", "."], "TS_V_token": ["X86", "X86", "X86II::MO_NO_FLAG", "X86II::MO_DLLIMPORT", "X86II::MO_COFFSTUB", "X86", "X86II::MO_GOTPCREL", "X86II::MO_GOTPCREL", "X86II::MO_PLT", "X86II::MO_GOTPCREL", "X86II::MO_NO_FLAG", "X86II::MO_NO_FLAG"], "File": "X86Subtarget (2)3", "Func": "classifyGlobalFunctionReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5438, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "X86TargetLowering", "::", "SimplifyMultipleUseDemandedBitsForTargetNode", "(", "SDValue", "Op", ",", "const", "APInt", "&", "DemandedBits", ",", "const", "APInt", "&", "DemandedElts", ",", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "int", "NumElts", "=", "DemandedElts", ".", "getBitWidth", "(", ")", ";", "unsigned", "Opc", "=", "Op", ".", "getOpcode", "(", ")", ";", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "switch", "(", "Opc", ")", "{", "case", "X86ISD", "::", "PINSRB", ":", "case", "X86ISD", "::", "PINSRW", ":", "{", "SDValue", "Vec", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "auto", "*", "CIdx", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "2", ")", ")", ";", "MVT", "VecVT", "=", "Vec", ".", "getSimpleValueType", "(", ")", ";", "if", "(", "CIdx", "&&", "CIdx", "->", "getAPIntValue", "(", ")", ".", "ult", "(", "VecVT", ".", "getVectorNumElements", "(", ")", ")", "&&", "!", "DemandedElts", "[", "CIdx", "->", "getZExtValue", "(", ")", "]", ")", "return", "Vec", ";", "break", ";", "}", "}", "SmallVector", "<", "int", ",", "16", ">", "ShuffleMask", ";", "SmallVector", "<", "SDValue", ",", "2", ">", "ShuffleOps", ";", "if", "(", "getTargetShuffleInputs", "(", "Op", ",", "ShuffleOps", ",", "ShuffleMask", ",", "DAG", ",", "Depth", ")", ")", "{", "int", "NumOps", "=", "ShuffleOps", ".", "size", "(", ")", ";", "if", "(", "ShuffleMask", ".", "size", "(", ")", "==", "(", "unsigned", ")", "NumElts", "&&", "llvm", "::", "all_of", "(", "ShuffleOps", ",", "[", "VT", "]", "(", "SDValue", "V", ")", "{", "return", "VT", ".", "getSizeInBits", "(", ")", "==", "V", ".", "getValueSizeInBits", "(", ")", ";", "}", ")", ")", "{", "APInt", "IdentityOp", "=", "APInt", "::", "getAllOnesValue", "(", "NumOps", ")", ";", "bool", "AllUndef", "=", "true", ";", "for", "(", "int", "i", "=", "0", ";", "i", "!=", "NumElts", ";", "++", "i", ")", "{", "int", "M", "=", "ShuffleMask", "[", "i", "]", ";", "if", "(", "SM_SentinelUndef", "==", "M", "||", "!", "DemandedElts", "[", "i", "]", ")", "continue", ";", "AllUndef", "=", "false", ";", "int", "Op", "=", "M", "/", "NumElts", ";", "int", "Index", "=", "M", "%", "NumElts", ";", "if", "(", "M", "<", "0", "||", "Index", "!=", "i", ")", "{", "IdentityOp", ".", "clearAllBits", "(", ")", ";", "break", ";", "}", "IdentityOp", "&=", "APInt", "::", "getOneBitSet", "(", "NumOps", ",", "Op", ")", ";", "if", "(", "IdentityOp", "==", "0", ")", "break", ";", "}", "if", "(", "AllUndef", ")", "return", "DAG", ".", "getUNDEF", "(", "VT", ")", ";", "assert", "(", "(", "IdentityOp", "==", "0", "||", "IdentityOp", ".", "countPopulation", "(", ")", "==", "1", ")", "&&", "\"Multiple identity shuffles detected\"", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "!=", "NumOps", ";", "++", "i", ")", "if", "(", "IdentityOp", "[", "i", "]", ")", "return", "DAG", ".", "getBitcast", "(", "VT", ",", "ShuffleOps", "[", "i", "]", ")", ";", "}", "}", "return", "TargetLowering", "::", "SimplifyMultipleUseDemandedBitsForTargetNode", "(", "Op", ",", "DemandedBits", ",", "DemandedElts", ",", "DAG", ",", "Depth", ")", ";", "}", ""], "natrual_language": ["More", "limited", "version", "of", "SimplifyDemandedBits", "that", "can", "be", "used", "to", "``", "look", "through", "''", "ops", "that", "do", "n't", "contribute", "to", "the", "DemandedBits/DemandedElts", "-", "bitwise", "ops", "etc", "."], "TS_V_token": ["X86", "X86", "X86ISD::PINSRB", "X86ISD::PINSRW", "0", "2", "16", "2", "0", "0", "0", "0", "1", "\"Multiple identity shuffles detected\"", "0"], "File": "X86ISelLowering (2)7", "Func": "SimplifyMultipleUseDemandedBitsForTargetNode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5439, "Length": 421, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_endian_lane_rtx", "(", "machine_mode", "mode", ",", "unsigned", "int", "n", ")", "{", "return", "gen_int_mode", "(", "ENDIAN_LANE_N", "(", "GET_MODE_NUNITS", "(", "mode", ")", ",", "n", ")", ",", "SImode", ")", ";", "}", ""], "natrual_language": ["Peform", "endian", "correction", "on", "lane", "number", "N", ",", "which", "indexes", "a", "vector", "of", "mode", "MODE", ",", "and", "return", "the", "result", "as", "an", "SImode", "rtx", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_endian_lane_rtx", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5440, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Cpu0 Emit GP Restore\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Cpu0", "\"Cpu0 Emit GP Restore\""], "File": "Cpu0EmitGPRestore", "Func": "getPassName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5441, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FastISel", "::", "isTypeLegal", "(", "Type", "*", "Ty", ",", "MVT", "&", "VT", ",", "bool", "AllowI1", ")", "{", "EVT", "evt", "=", "TLI", ".", "getValueType", "(", "DL", ",", "Ty", ",", "true", ")", ";", "if", "(", "evt", "==", "MVT", "::", "Other", "||", "!", "evt", ".", "isSimple", "(", ")", ")", "return", "false", ";", "VT", "=", "evt", ".", "getSimpleVT", "(", ")", ";", "if", "(", "VT", "==", "MVT", "::", "f64", "&&", "!", "Subtarget", "->", "hasSSE2", "(", ")", ")", "return", "false", ";", "if", "(", "VT", "==", "MVT", "::", "f32", "&&", "!", "Subtarget", "->", "hasSSE1", "(", ")", ")", "return", "false", ";", "if", "(", "VT", "==", "MVT", "::", "f80", ")", "return", "false", ";", "return", "(", "AllowI1", "&&", "VT", "==", "MVT", "::", "i1", ")", "||", "TLI", ".", "isTypeLegal", "(", "VT", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "type", "is", "legal", "."], "TS_V_token": ["X86", "X86", "MVT::Other", "MVT::f64", "MVT::f32", "MVT::f80", "MVT::i1"], "File": "X86FastISel56", "Func": "isTypeLegal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5442, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsPassConfig", "::", "addPreEmitPass", "(", ")", "{", "MipsTargetMachine", "&", "TM", "=", "getMipsTargetMachine", "(", ")", ";", "addPass", "(", "createMipsDelaySlotFillerPass", "(", "TM", ")", ")", ";", "if", "(", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "hasStandardEncoding", "(", ")", ")", "addPass", "(", "createMipsLongBranchPass", "(", "TM", ")", ")", ";", "if", "(", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "inMips16Mode", "(", ")", ")", "addPass", "(", "createMipsConstantIslandPass", "(", "TM", ")", ")", ";", "if", "(", "getMipsSubtarget", "(", ")", ".", "isTargetNaCl", "(", ")", ")", "{", "addPass", "(", "createMipsNaClRewritePass", "(", ")", ")", ";", "}", "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", "Mips", "Mips"], "File": "MipsTargetMachine50", "Func": "addPreEmitPass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5443, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "avoid_func_arg_motion", "(", "rtx_insn", "*", "first_arg", ",", "rtx_insn", "*", "insn", ")", "{", "rtx", "set", ";", "rtx", "tmp", ";", "set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "!", "set", ")", "return", ";", "tmp", "=", "SET_DEST", "(", "set", ")", ";", "if", "(", "REG_P", "(", "tmp", ")", ")", "{", "add_dependence", "(", "first_arg", ",", "insn", ",", "REG_DEP_OUTPUT", ")", ";", "return", ";", "}", "add_dependence", "(", "first_arg", ",", "insn", ",", "REG_DEP_ANTI", ")", ";", "}", ""], "natrual_language": ["Add", "output", "or", "anti", "dependency", "from", "insn", "to", "first_arg", "to", "restrict", "its", "code", "motion", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "avoid_func_arg_motion", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5444, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_xcoff_output_toc_section_asm_op", "(", "const", "void", "*", "data", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_MINIMAL_TOC", ")", "{", "if", "(", "!", "toc_initialized", ")", "{", "fputs", "(", "\"\\t.toc\\nLCTOC..1:\\n\"", ",", "asm_out_file", ")", ";", "fputs", "(", "\"\\t.tc toc_table[TC],toc_table[RW]\\n\"", ",", "asm_out_file", ")", ";", "toc_initialized", "=", "1", ";", "}", "fprintf", "(", "asm_out_file", ",", "\"\\t.csect toc_table[RW]%s\\n\"", ",", "(", "TARGET_32BIT", "?", "\"\"", ":", "\",3\"", ")", ")", ";", "}", "else", "fputs", "(", "\"\\t.toc\\n\"", ",", "asm_out_file", ")", ";", "}", ""], "natrual_language": ["A", "get_unnamed_section", "callback", ",", "used", "for", "switching", "to", "toc_section", "."], "TS_V_token": ["powerpcspe", "\"\\t.toc\\nLCTOC..1:\\n\"", "\"\\t.tc toc_table[TC],toc_table[RW]\\n\"", "1", "\"\\t.csect toc_table[RW]%s\\n\"", "\"\"", "\",3\"", "\"\\t.toc\\n\""], "File": "powerpcspe", "Func": "rs6000_xcoff_output_toc_section_asm_op", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5445, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsCodeEmitter", "::", "emitInstruction", "(", "MachineBasicBlock", "::", "instr_iterator", "MI", ",", "MachineBasicBlock", "&", "MBB", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"JIT: \"", "<<", "(", "void", "*", ")", "MCE", ".", "getCurrentPCValue", "(", ")", "<<", "\":\\t\"", "<<", "*", "MI", ")", ";", "if", "(", "(", "(", "MI", "->", "getDesc", "(", ")", ".", "TSFlags", "&", "MipsII", "::", "FormMask", ")", "==", "MipsII", "::", "Pseudo", ")", "&&", "!", "expandPseudos", "(", "MI", ",", "MBB", ")", ")", "return", ";", "MCE", ".", "processDebugLoc", "(", "MI", "->", "getDebugLoc", "(", ")", ",", "true", ")", ";", "emitWord", "(", "getBinaryCodeForInstr", "(", "*", "MI", ")", ")", ";", "++", "NumEmitted", ";", "MCE", ".", "processDebugLoc", "(", "MI", "->", "getDebugLoc", "(", ")", ",", "false", ")", ";", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["Mips", "Mips", "\"JIT: \"", "\":\\t\"", "MipsII::FormMask", "MipsII::Pseudo"], "File": "MipsCodeEmitter", "Func": "emitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5446, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "EmitRaw", "(", "const", "SmallVectorImpl", "<", "uint8_t", ">", "&", "Opcodes", ")", "{", "Ops", ".", "insert", "(", "Ops", ".", "end", "(", ")", ",", "Opcodes", ".", "begin", "(", ")", ",", "Opcodes", ".", "end", "(", ")", ")", ";", "OpBegins", ".", "push_back", "(", "OpBegins", ".", "back", "(", ")", "+", "Opcodes", ".", "size", "(", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "unwind", "raw", "opcodes", "."], "TS_V_token": ["ARM"], "File": "ARMUnwindOpAsm", "Func": "EmitRaw", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5447, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToReg", "(", "Register", "ValVReg", ",", "Register", "PhysReg", ",", "CCValAssign", "&", "VA", ")", "override", "{", "markPhysRegUsed", "(", "PhysReg", ")", ";", "IncomingValueHandler", "::", "assignValueToReg", "(", "ValVReg", ",", "PhysReg", ",", "VA", ")", ";", "}", ""], "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": "AArch64CallLowering13", "Func": "assignValueToReg", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5448, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "poly_uint16", "aarch64_convert_sve_vector_bits", "(", "aarch64_sve_vector_bits_enum", "value", ")", "{", "if", "(", "value", "==", "SVE_SCALABLE", "||", "(", "value", "==", "SVE_128", "&&", "BYTES_BIG_ENDIAN", ")", ")", "return", "poly_uint16", "(", "2", ",", "2", ")", ";", "else", "return", "(", "int", ")", "value", "/", "64", ";", "}", ""], "natrual_language": ["Return", "the", "VG", "value", "associated", "with", "-msve-vector-bits=", "value", "VALUE", "."], "TS_V_token": ["aarch64", "2", "2", "64"], "File": "aarch64", "Func": "aarch64_convert_sve_vector_bits", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5449, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "mips_hard_regno_nregs", "(", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "ST_REG_P", "(", "regno", ")", ")", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "3", ")", "/", "4", ";", "if", "(", "FP_REG_P", "(", "regno", ")", ")", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_FPREG", "-", "1", ")", "/", "UNITS_PER_FPREG", ";", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Implement", "HARD_REGNO_NREGS", "."], "TS_V_token": ["mips", "3", "4", "1", "1"], "File": "mips4", "Func": "mips_hard_regno_nregs", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5450, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetLowering", "::", "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", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "Context", ")", ";", "return", "CCInfo", ".", "CheckReturn", "(", "Outs", ",", "RetCC_Mips", ")", ";", "}", ""], "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": ["Mips", "Mips", "ISD::OutputArg", "16", "Mips"], "File": "MipsISelLowering101", "Func": "CanLowerReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5451, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TOYDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "char", "ConstraintCode", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "llvm_unreachable", "(", "\"SelectInlineAsmMemoryOperand not implemented yet!\\n\"", ")", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["TOY", "TOY", "\"SelectInlineAsmMemoryOperand not implemented yet!\\n\""], "File": "TOYISelDAGToDAG", "Func": "SelectInlineAsmMemoryOperand", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5452, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "enableMachineSchedDefaultSched", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["True", "if", "the", "machine", "scheduler", "should", "disable", "the", "TLI", "preference", "for", "preRA", "scheduling", "with", "the", "source", "level", "scheduler", "."], "TS_V_token": ["Mips"], "File": "MipsSubtarget43", "Func": "enableMachineSchedDefaultSched", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5453, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "isUnconditionalBranch", "(", "const", "MCInst", "&", "Inst", ")", "const", "{", "if", "(", "Inst", ".", "getOpcode", "(", ")", "==", "ARM", "::", "Bcc", "&&", "Inst", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "==", "ARMCC", "::", "AL", ")", "return", "true", ";", "return", "MCInstrAnalysis", "::", "isUnconditionalBranch", "(", "Inst", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "is", "a", "branch", "which", "always", "transfers", "control", "flow", "to", "some", "other", "block", "."], "TS_V_token": ["ARM", "ARM::Bcc", "1", "ARMCC::AL"], "File": "ARMMCTargetDesc1", "Func": "isUnconditionalBranch", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5454, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 FP Stackifier\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 FP Stackifier\""], "File": "X86FloatingPoint11", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5455, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "&", "SrcReg", ",", "unsigned", "&", "SrcReg2", ",", "int", "&", "CmpMask", ",", "int", "&", "CmpValue", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ARM", "::", "CMPri", ":", "case", "ARM", "::", "t2CMPri", ":", "SrcReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "0", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "return", "true", ";", "case", "ARM", "::", "CMPrr", ":", "case", "ARM", "::", "t2CMPrr", ":", "SrcReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "0", ";", "return", "true", ";", "case", "ARM", "::", "TSTri", ":", "case", "ARM", "::", "t2TSTri", ":", "SrcReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "0", ";", "CmpMask", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "CmpValue", "=", "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": ["ARM", "ARM", "ARM::CMPri", "ARM::t2CMPri", "0", "0", "0", "1", "ARM::CMPrr", "ARM::t2CMPrr", "0", "1", "0", "0", "ARM::TSTri", "ARM::t2TSTri", "0", "0", "1", "0"], "File": "ARMBaseInstrInfo (2)", "Func": "analyzeCompare", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5456, "Length": 189, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "int", "shiftcosts", "(", "rtx", "x", ")", "{", "int", "value", ";", "if", "(", "TARGET_SHMEDIA", ")", "return", "1", ";", "if", "(", "GET_MODE_SIZE", "(", "GET_MODE", "(", "x", ")", ")", ">", "UNITS_PER_WORD", ")", "{", "if", "(", "GET_MODE", "(", "x", ")", "==", "DImode", "&&", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", "&&", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "1", ")", "return", "2", ";", "return", "-", "1", ";", "}", "if", "(", "!", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "return", "SH_DYNAMIC_SHIFT_COST", ";", "value", "=", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", "&", "31", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "ASHIFTRT", ")", "{", "int", "cost", "=", "ashiftrt_insns", "[", "value", "]", ";", "if", "(", "cost", ">", "1", "+", "SH_DYNAMIC_SHIFT_COST", ")", "cost", "=", "1", "+", "SH_DYNAMIC_SHIFT_COST", ";", "return", "cost", ";", "}", "else", "return", "ashl_lshr_seq", "[", "value", "]", ".", "insn_count", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "a", "shift", "."], "TS_V_token": ["sh", "1", "1", "1", "1", "2", "1", "1", "1", "31", "1", "1"], "File": "sh4", "Func": "shiftcosts", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5457, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_hard_regno_nregs", "(", "unsigned", "regno", ",", "machine_mode", "mode", ")", "{", "HOST_WIDE_INT", "lowest_size", "=", "constant_lower_bound", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "switch", "(", "aarch64_regno_regclass", "(", "regno", ")", ")", "{", "case", "FP_REGS", ":", "case", "FP_LO_REGS", ":", "if", "(", "aarch64_sve_data_mode_p", "(", "mode", ")", ")", "return", "exact_div", "(", "GET_MODE_SIZE", "(", "mode", ")", ",", "BYTES_PER_SVE_VECTOR", ")", ".", "to_constant", "(", ")", ";", "return", "CEIL", "(", "lowest_size", ",", "UNITS_PER_VREG", ")", ";", "case", "PR_REGS", ":", "case", "PR_LO_REGS", ":", "case", "PR_HI_REGS", ":", "return", "1", ";", "default", ":", "return", "CEIL", "(", "lowest_size", ",", "UNITS_PER_WORD", ")", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "HARD_REGNO_NREGS", "."], "TS_V_token": ["aarch64", "1"], "File": "aarch645", "Func": "aarch64_hard_regno_nregs", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5458, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "analyzeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "&", "TBB", ",", "MachineBasicBlock", "*", "&", "FBB", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "bool", "AllowModify", ")", "const", "{", "TBB", "=", "nullptr", ";", "FBB", "=", "nullptr", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "end", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", ")", "return", "false", ";", "--", "I", ";", "while", "(", "isPredicated", "(", "*", "I", ")", "||", "I", "->", "isTerminator", "(", ")", "||", "I", "->", "isDebugValue", "(", ")", ")", "{", "bool", "CantAnalyze", "=", "false", ";", "while", "(", "I", "->", "isDebugValue", "(", ")", "||", "!", "I", "->", "isTerminator", "(", ")", ")", "{", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", ")", "return", "false", ";", "--", "I", ";", "}", "if", "(", "isIndirectBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", "||", "isJumpTableBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "{", "CantAnalyze", "=", "true", ";", "}", "else", "if", "(", "isUncondBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "{", "TBB", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "}", "else", "if", "(", "isCondBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "{", "if", "(", "!", "Cond", ".", "empty", "(", ")", ")", "return", "true", ";", "assert", "(", "!", "FBB", "&&", "\"FBB should have been null.\"", ")", ";", "FBB", "=", "TBB", ";", "TBB", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "Cond", ".", "push_back", "(", "I", "->", "getOperand", "(", "1", ")", ")", ";", "Cond", ".", "push_back", "(", "I", "->", "getOperand", "(", "2", ")", ")", ";", "}", "else", "if", "(", "I", "->", "isReturn", "(", ")", ")", "{", "CantAnalyze", "=", "!", "isPredicated", "(", "*", "I", ")", ";", "}", "else", "{", "return", "true", ";", "}", "if", "(", "!", "isPredicated", "(", "*", "I", ")", "&&", "(", "isUncondBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", "||", "isIndirectBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", "||", "isJumpTableBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", "||", "I", "->", "isReturn", "(", ")", ")", ")", "{", "Cond", ".", "clear", "(", ")", ";", "FBB", "=", "nullptr", ";", "if", "(", "AllowModify", ")", "{", "MachineBasicBlock", "::", "iterator", "DI", "=", "std", "::", "next", "(", "I", ")", ";", "while", "(", "DI", "!=", "MBB", ".", "end", "(", ")", ")", "{", "MachineInstr", "&", "InstToDelete", "=", "*", "DI", ";", "++", "DI", ";", "InstToDelete", ".", "eraseFromParent", "(", ")", ";", "}", "}", "}", "if", "(", "CantAnalyze", ")", "return", "true", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", ")", "return", "false", ";", "--", "I", ";", "}", "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": ["ARM", "ARM", "0", "\"FBB should have been null.\"", "0", "1", "2"], "File": "ARMBaseInstrInfo (2)2", "Func": "analyzeBranch", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5459, "Length": 409, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcRegisterInfo", "::", "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": ["Sparc", "Sparc"], "File": "SparcRegisterInfo12", "Func": "processFunctionBeforeFrameFinalized", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5460, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "struct", "xstormy16_stack_layout", "xstormy16_compute_stack_layout", "(", "void", ")", "{", "struct", "xstormy16_stack_layout", "layout", ";", "int", "regno", ";", "const", "int", "ifun", "=", "xstormy16_interrupt_function_p", "(", ")", ";", "layout", ".", "locals_size", "=", "get_frame_size", "(", ")", ";", "layout", ".", "register_save_size", "=", "0", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "REG_NEEDS_SAVE", "(", "regno", ",", "ifun", ")", ")", "layout", ".", "register_save_size", "+=", "UNITS_PER_WORD", ";", "if", "(", "cfun", "->", "stdarg", ")", "layout", ".", "stdarg_save_size", "=", "NUM_ARGUMENT_REGISTERS", "*", "UNITS_PER_WORD", ";", "else", "layout", ".", "stdarg_save_size", "=", "0", ";", "layout", ".", "frame_size", "=", "(", "layout", ".", "locals_size", "+", "layout", ".", "register_save_size", "+", "layout", ".", "stdarg_save_size", ")", ";", "if", "(", "crtl", "->", "args", ".", "size", "<=", "2048", "&&", "crtl", "->", "args", ".", "size", "!=", "-", "1", ")", "{", "if", "(", "layout", ".", "frame_size", "-", "INCOMING_FRAME_SP_OFFSET", "+", "crtl", "->", "args", ".", "size", "<=", "2048", ")", "layout", ".", "fp_minus_ap", "=", "layout", ".", "frame_size", "-", "INCOMING_FRAME_SP_OFFSET", ";", "else", "layout", ".", "fp_minus_ap", "=", "2048", "-", "crtl", "->", "args", ".", "size", ";", "}", "else", "layout", ".", "fp_minus_ap", "=", "(", "layout", ".", "stdarg_save_size", "+", "layout", ".", "register_save_size", "-", "INCOMING_FRAME_SP_OFFSET", ")", ";", "layout", ".", "sp_minus_fp", "=", "(", "layout", ".", "frame_size", "-", "INCOMING_FRAME_SP_OFFSET", "-", "layout", ".", "fp_minus_ap", ")", ";", "layout", ".", "first_local_minus_ap", "=", "layout", ".", "sp_minus_fp", "-", "layout", ".", "locals_size", ";", "return", "layout", ";", "}", ""], "natrual_language": ["Compute", "the", "stack", "layout", "."], "TS_V_token": ["stormy16", "0", "0", "0", "2048", "1", "2048", "2048"], "File": "stormy16", "Func": "xstormy16_compute_stack_layout", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5461, "Length": 212, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getMaxSupportedInterleaveFactor", "(", ")", "const", "override", "{", "return", "6", ";", "}", ""], "natrual_language": ["Get", "the", "maximum", "supported", "factor", "for", "interleaved", "memory", "accesses", "."], "TS_V_token": ["AArch64", "6"], "File": "AArch64ISelLowering71", "Func": "getMaxSupportedInterleaveFactor", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5462, "Length": 11, "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": 5463, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "extract_sfunc_addr", "(", "rtx", "insn", ")", "{", "rtx", "pattern", ",", "part", "=", "NULL_RTX", ";", "int", "len", ",", "i", ";", "pattern", "=", "PATTERN", "(", "insn", ")", ";", "len", "=", "XVECLEN", "(", "pattern", ",", "0", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "len", ";", "i", "++", ")", "{", "part", "=", "XVECEXP", "(", "pattern", ",", "0", ",", "i", ")", ";", "if", "(", "GET_CODE", "(", "part", ")", "==", "USE", "&&", "GET_MODE", "(", "XEXP", "(", "part", ",", "0", ")", ")", "==", "Pmode", "&&", "GENERAL_REGISTER_P", "(", "true_regnum", "(", "XEXP", "(", "part", ",", "0", ")", ")", ")", ")", "return", "XEXP", "(", "part", ",", "0", ")", ";", "}", "gcc_assert", "(", "GET_CODE", "(", "XVECEXP", "(", "pattern", ",", "0", ",", "0", ")", ")", "==", "UNSPEC_VOLATILE", ")", ";", "return", "XVECEXP", "(", "XVECEXP", "(", "pattern", ",", "0", ",", "0", ")", ",", "0", ",", "1", ")", ";", "}", ""], "natrual_language": ["INSN", "is", "an", "sfunc", ";", "return", "the", "rtx", "that", "describes", "the", "address", "used", "."], "TS_V_token": ["sh", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1"], "File": "sh3", "Func": "extract_sfunc_addr", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5464, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZMCAsmInfo", "::", "isAcceptableChar", "(", "char", "C", ")", "const", "{", "if", "(", "AssemblerDialect", "==", "AD_ATT", ")", "return", "MCAsmInfo", "::", "isAcceptableChar", "(", "C", ")", ";", "return", "MCAsmInfo", "::", "isAcceptableChar", "(", "C", ")", "||", "C", "==", "'#'", ";", "}", ""], "natrual_language": ["Return", "true", "if", "C", "is", "an", "acceptable", "character", "inside", "a", "symbol", "name", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZMCAsmInfo17", "Func": "isAcceptableChar", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5465, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"AArch64 Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64", "\"AArch64 Instruction Selection\""], "File": "AArch64ISelDAGToDAG13", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5466, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "ivms_arg_type", "ia64_arg_type", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_SFmode", ":", "return", "FS", ";", "case", "E_DFmode", ":", "return", "FT", ";", "default", ":", "return", "I64", ";", "}", "}", ""], "natrual_language": ["Return", "ivms_arg_type", "based", "on", "machine_mode", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "ia64_arg_type", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5467, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "neon_immediate_valid_for_logic", "(", "rtx", "op", ",", "machine_mode", "mode", ",", "int", "inverse", ",", "rtx", "*", "modconst", ",", "int", "*", "elementwidth", ")", "{", "rtx", "tmpconst", ";", "int", "tmpwidth", ";", "int", "retval", "=", "neon_valid_immediate", "(", "op", ",", "mode", ",", "inverse", ",", "&", "tmpconst", ",", "&", "tmpwidth", ")", ";", "if", "(", "retval", "<", "0", "||", "retval", ">", "5", ")", "return", "0", ";", "if", "(", "modconst", ")", "*", "modconst", "=", "tmpconst", ";", "if", "(", "elementwidth", ")", "*", "elementwidth", "=", "tmpwidth", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "rtx", "X", "is", "legal", "for", "use", "in", "a", "VORR", "or", "VBIC", "instruction", ".", "If", "the", "immediate", "is", "valid", ",", "write", "a", "constant", "suitable", "for", "using", "as", "an", "operand", "to", "VORR/VBIC/VAND/VORN", "to", "*", "MODCONST", "and", "the", "corresponding", "element", "width", "to", "*", "ELEMENTWIDTH", ".", "See", "neon_valid_immediate", "for", "description", "of", "INVERSE", "."], "TS_V_token": ["arm", "0", "5", "0", "1"], "File": "arm4", "Func": "neon_immediate_valid_for_logic", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5468, "Length": 80, "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": ["PowerPC"], "File": "PPCCTRLoops2", "Func": "isImm", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5469, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZHazardRecognizer", "::", "copyState", "(", "SystemZHazardRecognizer", "*", "Incoming", ")", "{", "CurrGroupSize", "=", "Incoming", "->", "CurrGroupSize", ";", "DEBUG", "(", "CurGroupDbg", "=", "Incoming", "->", "CurGroupDbg", ";", ")", ";", "ProcResourceCounters", "=", "Incoming", "->", "ProcResourceCounters", ";", "CriticalResourceIdx", "=", "Incoming", "->", "CriticalResourceIdx", ";", "LastFPdOpCycleIdx", "=", "Incoming", "->", "LastFPdOpCycleIdx", ";", "GrpCount", "=", "Incoming", "->", "GrpCount", ";", "}", ""], "natrual_language": ["Copy", "counters", "from", "end", "of", "single", "predecessor", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ"], "File": "SystemZHazardRecognizer1", "Func": "copyState", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5470, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64ConditionalCompares", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** AArch64 Conditional Compares **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "SchedModel", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getSchedModel", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "DomTree", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "Loops", "=", "getAnalysisIfAvailable", "<", "MachineLoopInfo", ">", "(", ")", ";", "Traces", "=", "&", "getAnalysis", "<", "MachineTraceMetrics", ">", "(", ")", ";", "MinInstr", "=", "nullptr", ";", "MinSize", "=", "MF", ".", "getFunction", "(", ")", "->", "optForMinSize", "(", ")", ";", "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": ["AArch64", "AArch64", "\"********** AArch64 Conditional Compares **********\\n\"", "\"********** Function: \""], "File": "AArch64ConditionalCompares13", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5471, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SystemZTargetLowering", "::", "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": ["SystemZ", "SystemZ", "ISD::InputArg", "\"Unsupported calling convention\""], "File": "SystemZISelLowering42", "Func": "LowerFormalArguments", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5472, "Length": 81, "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": 5473, "Length": 472, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "DCPU16FrameLowering", "::", "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", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "DCPU16", "::", "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": ["Dcpu16", "DCPU16", "0", "DCPU16::POP16r"], "File": "Dcpu16FrameLowering", "Func": "restoreCalleeSavedRegisters", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5474, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMExpandPseudo", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "TII", "=", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "STI", "=", "&", "MF", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "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", "ARM", "ARM"], "File": "ARMExpandPseudoInsts34", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5475, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AsmPrinter", "::", "getAnalysisUsage", "(", "AU", ")", ";", "AU", ".", "setPreservesAll", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["ARM64"], "File": "ARM64AsmPrinter1", "Func": "getAnalysisUsage", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5476, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "scalar_chain", "::", "add_insn", "(", "bitmap", "candidates", ",", "unsigned", "int", "insn_uid", ")", "{", "if", "(", "bitmap_bit_p", "(", "insns", ",", "insn_uid", ")", ")", "return", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\" Adding insn %d to chain #%d\\n\"", ",", "insn_uid", ",", "chain_id", ")", ";", "bitmap_set_bit", "(", "insns", ",", "insn_uid", ")", ";", "rtx_insn", "*", "insn", "=", "DF_INSN_UID_GET", "(", "insn_uid", ")", "->", "insn", ";", "rtx", "def_set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "def_set", "&&", "REG_P", "(", "SET_DEST", "(", "def_set", ")", ")", "&&", "!", "HARD_REGISTER_P", "(", "SET_DEST", "(", "def_set", ")", ")", ")", "bitmap_set_bit", "(", "defs", ",", "REGNO", "(", "SET_DEST", "(", "def_set", ")", ")", ")", ";", "df_ref", "ref", ";", "for", "(", "ref", "=", "DF_INSN_UID_DEFS", "(", "insn_uid", ")", ";", "ref", ";", "ref", "=", "DF_REF_NEXT_LOC", "(", "ref", ")", ")", "if", "(", "!", "HARD_REGISTER_P", "(", "DF_REF_REG", "(", "ref", ")", ")", ")", "analyze_register_chain", "(", "candidates", ",", "ref", ")", ";", "for", "(", "ref", "=", "DF_INSN_UID_USES", "(", "insn_uid", ")", ";", "ref", ";", "ref", "=", "DF_REF_NEXT_LOC", "(", "ref", ")", ")", "if", "(", "!", "DF_REF_REG_MEM_P", "(", "ref", ")", ")", "analyze_register_chain", "(", "candidates", ",", "ref", ")", ";", "}", ""], "natrual_language": ["Add", "instruction", "into", "a", "chain", ".", "Return", "true", "if", "OK", ",", "false", "if", "the", "search", "was", "aborted", "."], "TS_V_token": ["i386", "\" Adding insn %d to chain #%d\\n\""], "File": "i386-features", "Func": "add_insn", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5477, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "X86RegisterInfo", "::", "getPointerRegClass", "(", ")", "const", "{", "const", "X86Subtarget", "*", "Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "Subtarget", "->", "is64Bit", "(", ")", ")", "return", "&", "X86", "::", "GR64RegClass", ";", "else", "return", "&", "X86", "::", "GR32RegClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86::GR64RegClass", "X86::GR32RegClass"], "File": "X86RegisterInfo33", "Func": "getPointerRegClass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5478, "Length": 47, "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": 5479, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseRegisterInfo", "::", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "live-ins", "should", "be", "tracked", "after", "register", "allocation", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMBaseRegisterInfo10", "Func": "trackLivenessAfterRegAlloc", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5480, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "AArch64Subtarget", "::", "ClassifyGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "const", "TargetMachine", "&", "TM", ")", "const", "{", "bool", "isDecl", "=", "GV", "->", "isDeclarationForLinker", "(", ")", ";", "if", "(", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", "&&", "isTargetMachO", "(", ")", ")", "return", "AArch64II", "::", "MO_GOT", ";", "if", "(", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Small", "&&", "GV", "->", "isWeakForLinker", "(", ")", "&&", "isDecl", ")", "{", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", "return", "AArch64II", "::", "MO_CONSTPOOL", ";", "else", "return", "AArch64II", "::", "MO_GOT", ";", "}", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Static", "&&", "GV", "->", "hasDefaultVisibility", "(", ")", ")", "{", "if", "(", "isTargetMachO", "(", ")", ")", "return", "(", "isDecl", "||", "GV", "->", "isWeakForLinker", "(", ")", ")", "?", "AArch64II", "::", "MO_GOT", ":", "AArch64II", "::", "MO_NO_FLAG", ";", "else", "return", "GV", "->", "hasLocalLinkage", "(", ")", "?", "AArch64II", "::", "MO_NO_FLAG", ":", "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_CONSTPOOL", "AArch64II::MO_GOT", "AArch64II::MO_GOT", "AArch64II::MO_NO_FLAG", "AArch64II::MO_NO_FLAG", "AArch64II::MO_GOT", "AArch64II::MO_NO_FLAG"], "File": "AArch64Subtarget26", "Func": "ClassifyGlobalReference", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5481, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isVectorClearMaskLegal", "(", "const", "SmallVectorImpl", "<", "int", ">", "&", "Mask", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "MVT", "SVT", "=", "VT", ".", "getSimpleVT", "(", ")", ";", "unsigned", "NumElts", "=", "SVT", ".", "getVectorNumElements", "(", ")", ";", "if", "(", "NumElts", "==", "2", ")", "return", "true", ";", "if", "(", "NumElts", "==", "4", "&&", "SVT", ".", "is128BitVector", "(", ")", ")", "{", "return", "(", "isMOVLMask", "(", "Mask", ",", "SVT", ")", "||", "isCommutedMOVLMask", "(", "Mask", ",", "SVT", ",", "true", ")", "||", "isSHUFPMask", "(", "Mask", ",", "SVT", ")", "||", "isSHUFPMask", "(", "Mask", ",", "SVT", ",", "true", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Similar", "to", "isShuffleMaskLegal", "."], "TS_V_token": ["X86", "X86", "2", "4"], "File": "X86ISelLowering (2)", "Func": "isVectorClearMaskLegal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5482, "Length": 110, "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": "ARMBaseRegisterInfo10", "Func": "emitLoadConstPool", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5483, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetLowering", "::", "IsEligibleForTailCallOptimization", "(", "const", "MipsCC", "&", "MipsCCInfo", ",", "unsigned", "NextStackOffset", ",", "const", "MipsFunctionInfo", "&", "FI", ")", "const", "{", "if", "(", "!", "EnableMipsTailCalls", ")", "return", "false", ";", "if", "(", "Subtarget", "->", "inMips16Mode", "(", ")", ")", "return", "false", ";", "if", "(", "MipsCCInfo", ".", "hasByValArg", "(", ")", "||", "FI", ".", "hasByvalArg", "(", ")", ")", "return", "false", ";", "return", "NextStackOffset", "<=", "FI", ".", "getIncomingArgSize", "(", ")", ";", "}", ""], "natrual_language": ["IsEligibleForTailCallOptimization", "-", "Check", "whether", "the", "call", "is", "eligible", "for", "tail", "call", "optimization", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsISelLowering101", "Func": "IsEligibleForTailCallOptimization", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5484, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "X86InstrInfo", "::", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "unsigned", ">", "&", "Ops", ",", "MachineInstr", "*", "LoadMI", ")", "const", "{", "if", "(", "NoFusing", ")", "return", "NULL", ";", "unsigned", "Alignment", "=", "0", ";", "if", "(", "LoadMI", "->", "hasOneMemOperand", "(", ")", ")", "Alignment", "=", "LoadMI", "->", "memoperands_begin", "(", ")", "->", "getAlignment", "(", ")", ";", "if", "(", "Alignment", "<", "16", ")", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "X86", "::", "FsANDNPDrr", ":", "case", "X86", "::", "FsANDNPSrr", ":", "case", "X86", "::", "FsANDPDrr", ":", "case", "X86", "::", "FsANDPSrr", ":", "case", "X86", "::", "FsORPDrr", ":", "case", "X86", "::", "FsORPSrr", ":", "case", "X86", "::", "FsXORPDrr", ":", "case", "X86", "::", "FsXORPSrr", ":", "return", "NULL", ";", "}", "}", "if", "(", "Ops", ".", "size", "(", ")", "==", "2", "&&", "Ops", "[", "0", "]", "==", "0", "&&", "Ops", "[", "1", "]", "==", "1", ")", "{", "unsigned", "NewOpc", "=", "0", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "NULL", ";", "case", "X86", "::", "TEST8rr", ":", "NewOpc", "=", "X86", "::", "CMP8ri", ";", "break", ";", "case", "X86", "::", "TEST16rr", ":", "NewOpc", "=", "X86", "::", "CMP16ri", ";", "break", ";", "case", "X86", "::", "TEST32rr", ":", "NewOpc", "=", "X86", "::", "CMP32ri", ";", "break", ";", "case", "X86", "::", "TEST64rr", ":", "NewOpc", "=", "X86", "::", "CMP64ri32", ";", "break", ";", "}", "MI", "->", "setDesc", "(", "get", "(", "NewOpc", ")", ")", ";", "MI", "->", "getOperand", "(", "1", ")", ".", "ChangeToImmediate", "(", "0", ")", ";", "}", "else", "if", "(", "Ops", ".", "size", "(", ")", "!=", "1", ")", "return", "NULL", ";", "SmallVector", "<", "MachineOperand", ",", "4", ">", "MOs", ";", "if", "(", "LoadMI", "->", "getOpcode", "(", ")", "==", "X86", "::", "V_SET0", "||", "LoadMI", "->", "getOpcode", "(", ")", "==", "X86", "::", "V_SETALLONES", ")", "{", "unsigned", "PICBase", "=", "0", ";", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", "&&", "!", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ")", "return", "false", ";", "MachineConstantPool", "&", "MCP", "=", "*", "MF", ".", "getConstantPool", "(", ")", ";", "const", "VectorType", "*", "Ty", "=", "VectorType", "::", "get", "(", "Type", "::", "Int32Ty", ",", "4", ")", ";", "Constant", "*", "C", "=", "LoadMI", "->", "getOpcode", "(", ")", "==", "X86", "::", "V_SET0", "?", "ConstantVector", "::", "getNullValue", "(", "Ty", ")", ":", "ConstantVector", "::", "getAllOnesValue", "(", "Ty", ")", ";", "unsigned", "CPI", "=", "MCP", ".", "getConstantPoolIndex", "(", "C", ",", "16", ")", ";", "MOs", ".", "push_back", "(", "MachineOperand", "::", "CreateReg", "(", "PICBase", ",", "false", ")", ")", ";", "MOs", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "1", ")", ")", ";", "MOs", ".", "push_back", "(", "MachineOperand", "::", "CreateReg", "(", "0", ",", "false", ")", ")", ";", "MOs", ".", "push_back", "(", "MachineOperand", "::", "CreateCPI", "(", "CPI", ",", "0", ")", ")", ";", "}", "else", "{", "unsigned", "NumOps", "=", "LoadMI", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", ";", "for", "(", "unsigned", "i", "=", "NumOps", "-", "4", ";", "i", "!=", "NumOps", ";", "++", "i", ")", "MOs", ".", "push_back", "(", "LoadMI", "->", "getOperand", "(", "i", ")", ")", ";", "}", "return", "foldMemoryOperandImpl", "(", "MF", ",", "MI", ",", "Ops", "[", "0", "]", ",", "MOs", ")", ";", "}", ""], "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": ["X86", "X86", "0", "16", "X86::FsANDNPDrr", "X86::FsANDNPSrr", "X86::FsANDPDrr", "X86::FsANDPSrr", "X86::FsORPDrr", "X86::FsORPSrr", "X86::FsXORPDrr", "X86::FsXORPSrr", "2", "0", "0", "1", "1", "0", "X86::TEST8rr", "X86::CMP8ri", "X86::TEST16rr", "X86::CMP16ri", "X86::TEST32rr", "X86::CMP32ri", "X86::TEST64rr", "X86::CMP64ri32", "1", "0", "1", "4", "X86::V_SET0", "X86::V_SETALLONES", "0", "X86", "4", "X86::V_SET0", "16", "1", "0", "0", "4", "0"], "File": "X86InstrInfo101", "Func": "foldMemoryOperandImpl", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5485, "Length": 506, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "arm_gen_compare_reg", "(", "enum", "rtx_code", "code", ",", "rtx", "x", ",", "rtx", "y", ",", "rtx", "scratch", ")", "{", "machine_mode", "mode", ";", "rtx", "cc_reg", ";", "int", "dimode_comparison", "=", "GET_MODE", "(", "x", ")", "==", "DImode", "||", "GET_MODE", "(", "y", ")", "==", "DImode", ";", "if", "(", "dimode_comparison", "&&", "!", "REG_P", "(", "x", ")", ")", "x", "=", "force_reg", "(", "DImode", ",", "x", ")", ";", "mode", "=", "SELECT_CC_MODE", "(", "code", ",", "x", ",", "y", ")", ";", "cc_reg", "=", "gen_rtx_REG", "(", "mode", ",", "CC_REGNUM", ")", ";", "if", "(", "dimode_comparison", "&&", "mode", "!=", "CC_CZmode", ")", "{", "rtx", "clobber", ",", "set", ";", "if", "(", "mode", "==", "CC_Zmode", "&&", "y", "!=", "const0_rtx", ")", "{", "gcc_assert", "(", "!", "reload_completed", ")", ";", "x", "=", "expand_binop", "(", "DImode", ",", "xor_optab", ",", "x", ",", "y", ",", "NULL_RTX", ",", "0", ",", "OPTAB_WIDEN", ")", ";", "y", "=", "const0_rtx", ";", "}", "if", "(", "reload_completed", ")", "gcc_assert", "(", "scratch", "!=", "NULL", "&&", "GET_MODE", "(", "scratch", ")", "==", "SImode", ")", ";", "else", "scratch", "=", "gen_rtx_SCRATCH", "(", "SImode", ")", ";", "clobber", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "scratch", ")", ";", "set", "=", "gen_rtx_SET", "(", "cc_reg", ",", "gen_rtx_COMPARE", "(", "mode", ",", "x", ",", "y", ")", ")", ";", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "set", ",", "clobber", ")", ")", ")", ";", "}", "else", "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", ".", "FP", "means", "this", "is", "a", "floating", "point", "compare", ":", "I", "do", "n't", "think", "that", "it", "is", "needed", "on", "the", "arm", "."], "TS_V_token": ["arm", "0", "2"], "File": "arm5", "Func": "arm_gen_compare_reg", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5486, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_do_expand_vec_perm", "(", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ",", "machine_mode", "vmode", ",", "const", "vec_perm_builder", "&", "perm", ")", "{", "rtx", "x", "=", "expand_vec_perm_const", "(", "vmode", ",", "op0", ",", "op1", ",", "perm", ",", "BLKmode", ",", "target", ")", ";", "if", "(", "x", "!=", "target", ")", "emit_move_insn", "(", "target", ",", "x", ")", ";", "}", ""], "natrual_language": ["A", "subroutine", "for", "rs6000_expand_extract_even", "&", "rs6000_expand_interleave", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_do_expand_vec_perm", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5487, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "addInstruction", "(", "MachineInstr", "*", "I", ")", "{", "Instrs", ".", "push_back", "(", "I", ")", ";", "}", ""], "natrual_language": ["Record", "pressure", "difference", "induced", "by", "the", "given", "operand", "list", "to", "node", "with", "index", "Idx", "."], "TS_V_token": ["X86"], "File": "X86DomainReassignment", "Func": "addInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5488, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_legitimate_constant_p", "(", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "CONST", ":", "case", "SYMBOL_REF", ":", "if", "(", "sparc_tls_referenced_p", "(", "x", ")", ")", "return", "false", ";", "break", ";", "case", "CONST_DOUBLE", ":", "if", "(", "TARGET_VIS", "&&", "SCALAR_FLOAT_MODE_P", "(", "mode", ")", "&&", "(", "const_zero_operand", "(", "x", ",", "mode", ")", "||", "const_all_ones_operand", "(", "x", ",", "mode", ")", ")", ")", "return", "true", ";", "return", "false", ";", "case", "CONST_VECTOR", ":", "if", "(", "TARGET_VIS", "&&", "(", "const_zero_operand", "(", "x", ",", "mode", ")", "||", "const_all_ones_operand", "(", "x", ",", "mode", ")", ")", ")", "return", "true", ";", "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": ["sparc"], "File": "sparc", "Func": "sparc_legitimate_constant_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5489, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "VERegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["VE", "VE"], "File": "VEInstrInfo", "Func": "getRegisterInfo", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5490, "Length": 12, "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": "ARMBaseRegisterInfo55", "Func": "getFrameIndexInstrOffset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5491, "Length": 324, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "assignCustomValue", "(", "ARMCallLowering", "::", "ArgInfo", "&", "Arg", ",", "ArrayRef", "<", "CCValAssign", ">", "VAs", ")", "override", "{", "assert", "(", "Arg", ".", "Regs", ".", "size", "(", ")", "==", "1", "&&", "\"Can't handle multple regs yet\"", ")", ";", "CCValAssign", "VA", "=", "VAs", "[", "0", "]", ";", "assert", "(", "VA", ".", "needsCustom", "(", ")", "&&", "\"Value doesn't need custom handling\"", ")", ";", "if", "(", "VA", ".", "getValVT", "(", ")", "!=", "MVT", "::", "f64", ")", "return", "0", ";", "CCValAssign", "NextVA", "=", "VAs", "[", "1", "]", ";", "assert", "(", "NextVA", ".", "needsCustom", "(", ")", "&&", "\"Value doesn't need custom handling\"", ")", ";", "assert", "(", "NextVA", ".", "getValVT", "(", ")", "==", "MVT", "::", "f64", "&&", "\"Unsupported type\"", ")", ";", "assert", "(", "VA", ".", "getValNo", "(", ")", "==", "NextVA", ".", "getValNo", "(", ")", "&&", "\"Values belong to different arguments\"", ")", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Value should be in reg\"", ")", ";", "assert", "(", "NextVA", ".", "isRegLoc", "(", ")", "&&", "\"Value should be in reg\"", ")", ";", "Register", "NewRegs", "[", "]", "=", "{", "MRI", ".", "createGenericVirtualRegister", "(", "LLT", "::", "scalar", "(", "32", ")", ")", ",", "MRI", ".", "createGenericVirtualRegister", "(", "LLT", "::", "scalar", "(", "32", ")", ")", "}", ";", "assignValueToReg", "(", "NewRegs", "[", "0", "]", ",", "VA", ".", "getLocReg", "(", ")", ",", "VA", ")", ";", "assignValueToReg", "(", "NewRegs", "[", "1", "]", ",", "NextVA", ".", "getLocReg", "(", ")", ",", "NextVA", ")", ";", "bool", "IsLittle", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "isLittle", "(", ")", ";", "if", "(", "!", "IsLittle", ")", "std", "::", "swap", "(", "NewRegs", "[", "0", "]", ",", "NewRegs", "[", "1", "]", ")", ";", "MIRBuilder", ".", "buildMerge", "(", "Arg", ".", "Regs", "[", "0", "]", ",", "NewRegs", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Handle", "custom", "values", ",", "which", "may", "be", "passed", "into", "one", "or", "more", "of", "VAs", "."], "TS_V_token": ["ARM", "ARM", "1", "\"Can't handle multple regs yet\"", "0", "\"Value doesn't need custom handling\"", "MVT::f64", "0", "1", "\"Value doesn't need custom handling\"", "MVT::f64", "\"Unsupported type\"", "\"Values belong to different arguments\"", "\"Value should be in reg\"", "\"Value should be in reg\"", "32", "32", "0", "1", "ARM", "0", "1", "0", "1"], "File": "ARMCallLowering15", "Func": "assignCustomValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5492, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CAHPAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "if", "(", "emitPseudoExpansionLowering", "(", "*", "OutStreamer", ",", "MI", ")", ")", "return", ";", "MCInst", "TmpInst", ",", "CInst", ";", "LowerCAHPMachineInstrToMCInst", "(", "MI", ",", "TmpInst", ",", "*", "this", ")", ";", "bool", "Res", "=", "compressInst", "(", "CInst", ",", "TmpInst", ",", "*", "TM", ".", "getMCSubtargetInfo", "(", ")", ",", "OutStreamer", "->", "getContext", "(", ")", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "Res", "?", "CInst", ":", "TmpInst", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["CAHP", "CAHP", "CAHP"], "File": "CAHPAsmPrinter", "Func": "EmitInstruction", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5493, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"TOY DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["TOY", "\"TOY DAG->DAG Pattern Instruction Selection\""], "File": "TOYISelDAGToDAG", "Func": "getPassName", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5494, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "processBlock", "(", "MachineBasicBlock", "&", "MBB", ")", "{", "bool", "Changed", "=", "false", ";", "bool", "Is64Bit", "=", "MBB", ".", "getParent", "(", ")", "->", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "isPPC64", "(", ")", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ",", "IE", "=", "MBB", ".", "end", "(", ")", ";", "I", "!=", "IE", ";", ")", "{", "MachineInstr", "&", "MI", "=", "*", "I", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "!=", "PPC", "::", "ADDItlsgdLADDR", "&&", "MI", ".", "getOpcode", "(", ")", "!=", "PPC", "::", "ADDItlsldLADDR", "&&", "MI", ".", "getOpcode", "(", ")", "!=", "PPC", "::", "ADDItlsgdLADDR32", "&&", "MI", ".", "getOpcode", "(", ")", "!=", "PPC", "::", "ADDItlsldLADDR32", ")", "{", "++", "I", ";", "continue", ";", "}", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"TLS Dynamic Call Fixup:\\n \"", "<<", "MI", ")", ";", "unsigned", "OutReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "unsigned", "InReg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "DebugLoc", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "unsigned", "GPR3", "=", "Is64Bit", "?", "PPC", "::", "X3", ":", "PPC", "::", "R3", ";", "unsigned", "Opc1", ",", "Opc2", ";", "const", "unsigned", "OrigRegs", "[", "]", "=", "{", "OutReg", ",", "InReg", ",", "GPR3", "}", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Opcode inconsistency error\"", ")", ";", "case", "PPC", "::", "ADDItlsgdLADDR", ":", "Opc1", "=", "PPC", "::", "ADDItlsgdL", ";", "Opc2", "=", "PPC", "::", "GETtlsADDR", ";", "break", ";", "case", "PPC", "::", "ADDItlsldLADDR", ":", "Opc1", "=", "PPC", "::", "ADDItlsldL", ";", "Opc2", "=", "PPC", "::", "GETtlsldADDR", ";", "break", ";", "case", "PPC", "::", "ADDItlsgdLADDR32", ":", "Opc1", "=", "PPC", "::", "ADDItlsgdL32", ";", "Opc2", "=", "PPC", "::", "GETtlsADDR32", ";", "break", ";", "case", "PPC", "::", "ADDItlsldLADDR32", ":", "Opc1", "=", "PPC", "::", "ADDItlsldL32", ";", "Opc2", "=", "PPC", "::", "GETtlsldADDR32", ";", "break", ";", "}", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", "->", "get", "(", "PPC", "::", "ADJCALLSTACKDOWN", ")", ")", ".", "addImm", "(", "0", ")", ";", "MachineInstr", "*", "Addi", "=", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", "->", "get", "(", "Opc1", ")", ",", "GPR3", ")", ".", "addReg", "(", "InReg", ")", ";", "Addi", "->", "addOperand", "(", "MI", ".", "getOperand", "(", "2", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "First", "=", "I", ";", "--", "First", ";", "MachineInstr", "*", "Call", "=", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", "->", "get", "(", "Opc2", ")", ",", "GPR3", ")", ".", "addReg", "(", "GPR3", ")", ")", ";", "Call", "->", "addOperand", "(", "MI", ".", "getOperand", "(", "3", ")", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", "->", "get", "(", "PPC", "::", "ADJCALLSTACKUP", ")", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "OutReg", ")", ".", "addReg", "(", "GPR3", ")", ";", "MachineBasicBlock", "::", "iterator", "Last", "=", "I", ";", "--", "Last", ";", "++", "I", ";", "MI", ".", "removeFromParent", "(", ")", ";", "LIS", "->", "repairIntervalsInRange", "(", "&", "MBB", ",", "First", ",", "Last", ",", "OrigRegs", ")", ";", "Changed", "=", "true", ";", "}", "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", "PPC", "PPC", "PPC::ADDItlsgdLADDR", "PPC::ADDItlsldLADDR", "PPC::ADDItlsgdLADDR32", "PPC::ADDItlsldLADDR32", "\"TLS Dynamic Call Fixup:\\n \"", "0", "1", "PPC::X3", "PPC::R3", "\"Opcode inconsistency error\"", "PPC::ADDItlsgdLADDR", "PPC::ADDItlsgdL", "PPC::GETtlsADDR", "PPC::ADDItlsldLADDR", "PPC::ADDItlsldL", "PPC::GETtlsldADDR", "PPC::ADDItlsgdLADDR32", "PPC::ADDItlsgdL32", "PPC::GETtlsADDR32", "PPC::ADDItlsldLADDR32", "PPC::ADDItlsldL32", "PPC::GETtlsldADDR32", "PPC::ADJCALLSTACKDOWN", "0", "2", "3", "PPC::ADJCALLSTACKUP", "0", "0"], "File": "PPCTLSDynamicCall6", "Func": "processBlock", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5495, "Length": 497, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64RegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "AArch64", "::", "GPR32RegClassID", ":", "case", "AArch64", "::", "GPR32spRegClassID", ":", "case", "AArch64", "::", "GPR32allRegClassID", ":", "case", "AArch64", "::", "GPR64spRegClassID", ":", "case", "AArch64", "::", "GPR64allRegClassID", ":", "case", "AArch64", "::", "GPR64RegClassID", ":", "case", "AArch64", "::", "GPR32commonRegClassID", ":", "case", "AArch64", "::", "GPR64commonRegClassID", ":", "return", "32", "-", "1", "-", "(", "TFI", "->", "hasFP", "(", "MF", ")", "||", "TT", ".", "isOSDarwin", "(", ")", ")", "-", "(", "TT", ".", "isOSDarwin", "(", ")", "||", "ReserveX18", ")", "-", "hasBasePointer", "(", "MF", ")", ";", "case", "AArch64", "::", "FPR8RegClassID", ":", "case", "AArch64", "::", "FPR16RegClassID", ":", "case", "AArch64", "::", "FPR32RegClassID", ":", "case", "AArch64", "::", "FPR64RegClassID", ":", "case", "AArch64", "::", "FPR128RegClassID", ":", "return", "32", ";", "case", "AArch64", "::", "DDRegClassID", ":", "case", "AArch64", "::", "DDDRegClassID", ":", "case", "AArch64", "::", "DDDDRegClassID", ":", "case", "AArch64", "::", "QQRegClassID", ":", "case", "AArch64", "::", "QQQRegClassID", ":", "case", "AArch64", "::", "QQQQRegClassID", ":", "return", "32", ";", "case", "AArch64", "::", "FPR128_loRegClassID", ":", "return", "16", ";", "}", "}", ""], "natrual_language": ["Return", "the", "register", "pressure", "``", "high", "water", "mark", "''", "for", "the", "specific", "register", "class", "."], "TS_V_token": ["AArch64", "AArch64", "0", "AArch64::GPR32RegClassID", "AArch64::GPR32spRegClassID", "AArch64::GPR32allRegClassID", "AArch64::GPR64spRegClassID", "AArch64::GPR64allRegClassID", "AArch64::GPR64RegClassID", "AArch64::GPR32commonRegClassID", "AArch64::GPR64commonRegClassID", "32", "1", "AArch64::FPR8RegClassID", "AArch64::FPR16RegClassID", "AArch64::FPR32RegClassID", "AArch64::FPR64RegClassID", "AArch64::FPR128RegClassID", "32", "AArch64::DDRegClassID", "AArch64::DDDRegClassID", "AArch64::DDDDRegClassID", "AArch64::QQRegClassID", "AArch64::QQQRegClassID", "AArch64::QQQQRegClassID", "32", "AArch64::FPR128_loRegClassID", "16"], "File": "AArch64RegisterInfo34", "Func": "getRegPressureLimit", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5496, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_strip_extend", "(", "rtx", "x", ")", "{", "rtx", "op", "=", "x", ";", "if", "(", "(", "GET_CODE", "(", "op", ")", "==", "ZERO_EXTRACT", "||", "GET_CODE", "(", "op", ")", "==", "SIGN_EXTRACT", ")", "&&", "XEXP", "(", "op", ",", "2", ")", "==", "const0_rtx", "&&", "GET_CODE", "(", "XEXP", "(", "op", ",", "0", ")", ")", "==", "MULT", "&&", "aarch64_is_extend_from_extract", "(", "GET_MODE", "(", "op", ")", ",", "XEXP", "(", "XEXP", "(", "op", ",", "0", ")", ",", "1", ")", ",", "XEXP", "(", "op", ",", "1", ")", ")", ")", "return", "XEXP", "(", "XEXP", "(", "op", ",", "0", ")", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "AND", "&&", "GET_CODE", "(", "XEXP", "(", "op", ",", "0", ")", ")", "==", "MULT", "&&", "CONST_INT_P", "(", "XEXP", "(", "XEXP", "(", "op", ",", "0", ")", ",", "1", ")", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "op", ",", "1", ")", ")", "&&", "aarch64_uxt_size", "(", "exact_log2", "(", "INTVAL", "(", "XEXP", "(", "XEXP", "(", "op", ",", "0", ")", ",", "1", ")", ")", ")", ",", "INTVAL", "(", "XEXP", "(", "op", ",", "1", ")", ")", ")", "!=", "0", ")", "return", "XEXP", "(", "XEXP", "(", "op", ",", "0", ")", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "ASHIFT", "&&", "CONST_INT_P", "(", "XEXP", "(", "op", ",", "1", ")", ")", "&&", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "INTVAL", "(", "XEXP", "(", "op", ",", "1", ")", ")", ")", "<=", "4", ")", "op", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "ZERO_EXTEND", "||", "GET_CODE", "(", "op", ")", "==", "SIGN_EXTEND", ")", "op", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "op", "!=", "x", ")", "return", "op", ";", "return", "x", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "rtx", "cost", "calculation", ".", "Strip", "an", "extend", "expression", "from", "X", ".", "Returns", "the", "inner", "operand", "if", "successful", ",", "or", "the", "original", "expression", "on", "failure", ".", "We", "deal", "with", "a", "number", "of", "possible", "canonicalization", "variations", "here", "."], "TS_V_token": ["aarch64", "2", "0", "0", "1", "1", "0", "0", "0", "0", "1", "1", "0", "1", "1", "0", "0", "0", "1", "1", "4", "0", "0"], "File": "aarch642", "Func": "aarch64_strip_extend", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5497, "Length": 268, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "VETargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "const", "SDLoc", "&", "DL", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "assert", "(", "!", "IsVarArg", "&&", "\"TODO implement var args\"", ")", ";", "assert", "(", "Outs", ".", "empty", "(", ")", "&&", "\"TODO implement return values\"", ")", ";", "assert", "(", "OutVals", ".", "empty", "(", ")", "&&", "\"TODO implement return values\"", ")", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "RetOps", "(", "1", ",", "Chain", ")", ";", "RetOps", "[", "0", "]", "=", "Chain", ";", "return", "DAG", ".", "getNode", "(", "VEISD", "::", "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": ["VE", "VE", "ISD::OutputArg", "\"TODO implement var args\"", "\"TODO implement return values\"", "\"TODO implement return values\"", "4", "1", "0", "VEISD::RET_FLAG", "MVT::Other"], "File": "VEISelLowering16", "Func": "LowerReturn", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5498, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnFunction", "(", "Function", "&", "F", ")", "override", "{", "if", "(", "DisableParallelDSP", ")", "return", "false", ";", "if", "(", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "SE", "=", "&", "getAnalysis", "<", "ScalarEvolutionWrapperPass", ">", "(", ")", ".", "getSE", "(", ")", ";", "AA", "=", "&", "getAnalysis", "<", "AAResultsWrapperPass", ">", "(", ")", ".", "getAAResults", "(", ")", ";", "TLI", "=", "&", "getAnalysis", "<", "TargetLibraryInfoWrapperPass", ">", "(", ")", ".", "getTLI", "(", "F", ")", ";", "DT", "=", "&", "getAnalysis", "<", "DominatorTreeWrapperPass", ">", "(", ")", ".", "getDomTree", "(", ")", ";", "auto", "&", "TPC", "=", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ";", "M", "=", "F", ".", "getParent", "(", ")", ";", "DL", "=", "&", "M", "->", "getDataLayout", "(", ")", ";", "auto", "&", "TM", "=", "TPC", ".", "getTM", "<", "TargetMachine", ">", "(", ")", ";", "auto", "*", "ST", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", "F", ")", ";", "if", "(", "!", "ST", "->", "allowsUnalignedMem", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Unaligned memory access not supported: not \"", "\"running pass ARMParallelDSP\\n\"", ")", ";", "return", "false", ";", "}", "if", "(", "!", "ST", "->", "hasDSP", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"DSP extension not enabled: not running pass \"", "\"ARMParallelDSP\\n\"", ")", ";", "return", "false", ";", "}", "if", "(", "!", "ST", "->", "isLittle", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Only supporting little endian: not running pass \"", "<<", "\"ARMParallelDSP\\n\"", ")", ";", "return", "false", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\n== Parallel DSP pass ==\\n\"", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\" - \"", "<<", "F", ".", "getName", "(", ")", "<<", "\"\\n\\n\"", ")", ";", "bool", "Changes", "=", "MatchSMLAD", "(", "F", ")", ";", "return", "Changes", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["ARM", "ARM", "\"Unaligned memory access not supported: not \"", "\"running pass ARMParallelDSP\\n\"", "\"DSP extension not enabled: not running pass \"", "\"ARMParallelDSP\\n\"", "\"Only supporting little endian: not running pass \"", "\"ARMParallelDSP\\n\"", "\"\\n== Parallel DSP pass ==\\n\"", "\" - \"", "\"\\n\\n\""], "File": "ARMParallelDSP10", "Func": "runOnFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5499, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "isCopyInstr", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "*", "&", "Src", ",", "const", "MachineOperand", "*", "&", "Dest", ")", "const", "{", "if", "(", "MI", ".", "isMoveReg", "(", ")", ")", "{", "Dest", "=", "&", "MI", ".", "getOperand", "(", "0", ")", ";", "Src", "=", "&", "MI", ".", "getOperand", "(", "1", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "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", "Func": "isCopyInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5500, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCDAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "SelectionDAG", "::", "allnodes_iterator", "Position", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "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", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"PPC DAG preprocessing replacing:\\nOld: \"", ")", ";", "LLVM_DEBUG", "(", "N", "->", "dump", "(", "CurDAG", ")", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\nNew: \"", ")", ";", "LLVM_DEBUG", "(", "Res", ".", "getNode", "(", ")", "->", "dump", "(", "CurDAG", ")", ")", ";", "LLVM_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": "PPCISelDAGToDAG1", "Func": "PreprocessISelDAG", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5501, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsInstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "MI", ".", "getDesc", "(", ")", ".", "getSize", "(", ")", ";", "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", "(", ")", ")", ";", "}", "case", "Mips", "::", "CONSTPOOL_ENTRY", ":", "return", "MI", ".", "getOperand", "(", "2", ")", ".", "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": ["Mips", "Mips", "0", "Mips::CONSTPOOL_ENTRY", "2"], "File": "MipsInstrInfo (2)3", "Func": "getInstSizeInBytes", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5502, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_function_value_regno_p", "(", "const", "unsigned", "int", "regno", ")", "{", "if", "(", "regno", "==", "R0_REGNUM", "||", "regno", "==", "R1_REGNUM", ")", "return", "true", ";", "if", "(", "regno", ">=", "V0_REGNUM", "&&", "regno", "<", "V0_REGNUM", "+", "HA_MAX_NUM_FLDS", ")", "return", "TARGET_FLOAT", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implements", "TARGET_FUNCTION_VALUE_REGNO_P", ".", "Return", "true", "if", "REGNO", "is", "the", "number", "of", "a", "hard", "register", "in", "which", "the", "values", "of", "called", "function", "may", "come", "back", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_function_value_regno_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5503, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "FISCRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineOperand", "&", "FIOp", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ";", "unsigned", "FI", "=", "FIOp", ".", "getIndex", "(", ")", ";", "unsigned", "ImmOpIdx", "=", "0", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", ";", "case", "FISC", "::", "ADDri", ":", "case", "FISC", "::", "LDR", ":", "case", "FISC", "::", "LDRB", ":", "case", "FISC", "::", "LDRH", ":", "case", "FISC", "::", "LDRSW", ":", "case", "FISC", "::", "LDRXR", ":", "case", "FISC", "::", "LDRR", ":", "case", "FISC", "::", "LDRBR", ":", "case", "FISC", "::", "LDRHR", ":", "case", "FISC", "::", "LDRSWR", ":", "case", "FISC", "::", "LDRXRR", ":", "case", "FISC", "::", "STR", ":", "case", "FISC", "::", "STRB", ":", "case", "FISC", "::", "STRH", ":", "case", "FISC", "::", "STRW", ":", "case", "FISC", "::", "STRXR", ":", "case", "FISC", "::", "STRR", ":", "case", "FISC", "::", "STRBR", ":", "case", "FISC", "::", "STRHR", ":", "case", "FISC", "::", "STRWR", ":", "case", "FISC", "::", "STRXRR", ":", "ImmOpIdx", "=", "FIOperandNum", "+", "1", ";", "break", ";", "}", "MachineOperand", "&", "ImmOp", "=", "MI", ".", "getOperand", "(", "ImmOpIdx", ")", ";", "int", "Offset", "=", "MFI", "->", "getObjectOffset", "(", "FI", ")", "+", "MFI", "->", "getStackSize", "(", ")", "+", "ImmOp", ".", "getImm", "(", ")", ";", "FIOp", ".", "ChangeToRegister", "(", "FISC", "::", "SP", ",", "false", ")", ";", "ImmOp", ".", "setImm", "(", "Offset", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["FISC", "FISC", "0", "FISC::ADDri", "FISC::LDR", "FISC::LDRB", "FISC::LDRH", "FISC::LDRSW", "FISC::LDRXR", "FISC::LDRR", "FISC::LDRBR", "FISC::LDRHR", "FISC::LDRSWR", "FISC::LDRXRR", "FISC::STR", "FISC::STRB", "FISC::STRH", "FISC::STRW", "FISC::STRXR", "FISC::STRR", "FISC::STRBR", "FISC::STRHR", "FISC::STRWR", "FISC::STRXRR", "1", "FISC::SP"], "File": "FISCRegisterInfo", "Func": "eliminateFrameIndex", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5504, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "CJGTargetLowering", "::", "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", ":", "llvm_unreachable", "(", "\"Unsupported calling convention\"", ")", ";", "case", "CallingConv", "::", "C", ":", "break", ";", "}", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", ".", "getRegInfo", "(", ")", ";", "if", "(", "IsVarArg", ")", "{", "llvm_unreachable", "(", "\"VarArg not supported\"", ")", ";", "}", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "CC_CJG", ")", ";", "for", "(", "auto", "&", "VA", ":", "ArgLocs", ")", "{", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "EVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "switch", "(", "RegVT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "case", "MVT", "::", "i32", ":", "{", "const", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "CJG", "::", "GPRegsRegClass", ")", ";", "RegInfo", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "VReg", ")", ";", "SDValue", "ArgIn", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "VReg", ",", "RegVT", ")", ";", "InVals", ".", "push_back", "(", "ArgIn", ")", ";", "break", ";", "}", "default", ":", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"LowerFormalArguments Unhandled argument type: \"", "<<", "RegVT", ".", "getEVTString", "(", ")", "<<", "\"\\n\"", ")", ";", "llvm_unreachable", "(", "\"unhandled argument type\"", ")", ";", "}", "}", "else", "{", "llvm_unreachable", "(", "\"Defined with too many args\"", ")", ";", "}", "}", "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": ["CJG", "CJG", "ISD::InputArg", "\"Unsupported calling convention\"", "\"VarArg not supported\"", "16", "CJG", "MVT::i32", "CJG::GPRegsRegClass", "\"LowerFormalArguments Unhandled argument type: \"", "\"\\n\"", "\"unhandled argument type\"", "\"Defined with too many args\""], "File": "CJGISelLowering", "Func": "LowerFormalArguments", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5505, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "pa_d_register_target_info", "(", "void", ")", "{", "const", "struct", "d_target_info_spec", "handlers", "[", "]", "=", "{", "{", "\"floatAbi\"", ",", "pa_d_handle_target_float_abi", "}", ",", "{", "\"objectFormat\"", ",", "pa_d_handle_target_object_format", "}", ",", "{", "NULL", ",", "NULL", "}", ",", "}", ";", "d_add_target_info_handlers", "(", "handlers", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_D_REGISTER_CPU_TARGET_INFO", "."], "TS_V_token": ["pa", "\"floatAbi\"", "\"objectFormat\""], "File": "pa-d", "Func": "pa_d_register_target_info", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5506, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "MCFixupKind", ">", "X86AsmBackend", "::", "getFixupKind", "(", "StringRef", "Name", ")", "const", "{", "if", "(", "STI", ".", "getTargetTriple", "(", ")", ".", "isOSBinFormatELF", "(", ")", ")", "{", "unsigned", "Type", ";", "if", "(", "STI", ".", "getTargetTriple", "(", ")", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", "{", "Type", "=", "llvm", "::", "StringSwitch", "<", "unsigned", ">", "(", "Name", ")", ".", "Default", "(", "-", "1u", ")", ";", "}", "else", "{", "Type", "=", "llvm", "::", "StringSwitch", "<", "unsigned", ">", "(", "Name", ")", ".", "Default", "(", "-", "1u", ")", ";", "}", "if", "(", "Type", "==", "-", "1u", ")", "return", "None", ";", "return", "static_cast", "<", "MCFixupKind", ">", "(", "FirstLiteralRelocationKind", "+", "Type", ")", ";", "}", "return", "MCAsmBackend", "::", "getFixupKind", "(", "Name", ")", ";", "}", ""], "natrual_language": ["getFixupKind", "-", "Get", "the", "fixup", "kind", "of", "this", "expression", "."], "TS_V_token": ["X86", "X86", "1u", "1u", "1u"], "File": "X86AsmBackend14", "Func": "getFixupKind", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5507, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "PPCTTIImpl", "::", "getIntImmCost", "(", "unsigned", "Opcode", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "{", "if", "(", "DisablePPCConstHoist", ")", "return", "BaseT", "::", "getIntImmCost", "(", "Opcode", ",", "Idx", ",", "Imm", ",", "Ty", ")", ";", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", ")", "return", "~", "0U", ";", "unsigned", "ImmIdx", "=", "~", "0U", ";", "bool", "ShiftedFree", "=", "false", ",", "RunFree", "=", "false", ",", "UnsignedFree", "=", "false", ",", "ZeroFree", "=", "false", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "TTI", "::", "TCC_Free", ";", "case", "Instruction", "::", "GetElementPtr", ":", "if", "(", "Idx", "==", "0", ")", "return", "2", "*", "TTI", "::", "TCC_Basic", ";", "return", "TTI", "::", "TCC_Free", ";", "case", "Instruction", "::", "And", ":", "RunFree", "=", "true", ";", "LLVM_FALLTHROUGH", ";", "case", "Instruction", "::", "Add", ":", "case", "Instruction", "::", "Or", ":", "case", "Instruction", "::", "Xor", ":", "ShiftedFree", "=", "true", ";", "LLVM_FALLTHROUGH", ";", "case", "Instruction", "::", "Sub", ":", "case", "Instruction", "::", "Mul", ":", "case", "Instruction", "::", "Shl", ":", "case", "Instruction", "::", "LShr", ":", "case", "Instruction", "::", "AShr", ":", "ImmIdx", "=", "1", ";", "break", ";", "case", "Instruction", "::", "ICmp", ":", "UnsignedFree", "=", "true", ";", "ImmIdx", "=", "1", ";", "LLVM_FALLTHROUGH", ";", "case", "Instruction", "::", "Select", ":", "ZeroFree", "=", "true", ";", "break", ";", "case", "Instruction", "::", "PHI", ":", "case", "Instruction", "::", "Call", ":", "case", "Instruction", "::", "Ret", ":", "case", "Instruction", "::", "Load", ":", "case", "Instruction", "::", "Store", ":", "break", ";", "}", "if", "(", "ZeroFree", "&&", "Imm", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "Idx", "==", "ImmIdx", "&&", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", ")", "{", "if", "(", "isInt", "<", "16", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "RunFree", ")", "{", "if", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "32", "&&", "(", "isShiftedMask_32", "(", "Imm", ".", "getZExtValue", "(", ")", ")", "||", "isShiftedMask_32", "(", "~", "Imm", ".", "getZExtValue", "(", ")", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "ST", "->", "isPPC64", "(", ")", "&&", "(", "isShiftedMask_64", "(", "Imm", ".", "getZExtValue", "(", ")", ")", "||", "isShiftedMask_64", "(", "~", "Imm", ".", "getZExtValue", "(", ")", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "}", "if", "(", "UnsignedFree", "&&", "isUInt", "<", "16", ">", "(", "Imm", ".", "getZExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "ShiftedFree", "&&", "(", "Imm", ".", "getZExtValue", "(", ")", "&", "0xFFFF", ")", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "}", "return", "PPCTTIImpl", "::", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "0", "0U", "0U", "0", "2", "1", "1", "0", "64", "16", "32", "PPC", "16", "0xFFFF", "0", "PPC"], "File": "PPCTargetTransformInfo", "Func": "getIntImmCost", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5508, "Length": 419, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCInstrInfo", "::", "getInstrLatency", "(", "const", "InstrItineraryData", "*", "ItinData", ",", "const", "MachineInstr", "*", "MI", ",", "unsigned", "*", "PredCost", ")", "const", "{", "if", "(", "!", "ItinData", "||", "UseOldLatencyCalc", ")", "return", "PPCGenInstrInfo", "::", "getInstrLatency", "(", "ItinData", ",", "MI", ",", "PredCost", ")", ";", "unsigned", "Latency", "=", "1", ";", "unsigned", "DefClass", "=", "MI", "->", "getDesc", "(", ")", ".", "getSchedClass", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "MI", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "i", ")", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", "||", "!", "MO", ".", "isDef", "(", ")", "||", "MO", ".", "isImplicit", "(", ")", ")", "continue", ";", "int", "Cycle", "=", "ItinData", "->", "getOperandCycle", "(", "DefClass", ",", "i", ")", ";", "if", "(", "Cycle", "<", "0", ")", "continue", ";", "Latency", "=", "std", "::", "max", "(", "Latency", ",", "(", "unsigned", ")", "Cycle", ")", ";", "}", "return", "Latency", ";", "}", ""], "natrual_language": ["Compute", "the", "instruction", "latency", "of", "a", "given", "instruction", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "1", "0", "0"], "File": "PPCInstrInfo (3)", "Func": "getInstrLatency", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5509, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VEAsmParser", "::", "parseExpression", "(", "const", "MCExpr", "*", "&", "EVal", ")", "{", "if", "(", "getParser", "(", ")", ".", "parseExpression", "(", "EVal", ")", ")", "return", "true", ";", "EVal", "=", "fixupVariantKind", "(", "EVal", ")", ";", "VEMCExpr", "::", "VariantKind", "Variant", ";", "const", "MCExpr", "*", "E", "=", "extractModifierFromExpr", "(", "EVal", ",", "Variant", ")", ";", "if", "(", "E", ")", "EVal", "=", "VEMCExpr", "::", "create", "(", "Variant", ",", "E", ",", "getParser", "(", ")", ".", "getContext", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Parse", "an", "arbitrary", "expression", "."], "TS_V_token": ["VE", "VE", "VE", "VE"], "File": "VEAsmParser (2)", "Func": "parseExpression", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5510, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_move_vector_high_sse_to_mmx", "(", "rtx", "op", ")", "{", "rtx", "mask", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "4", ",", "GEN_INT", "(", "0", ")", ",", "GEN_INT", "(", "2", ")", ",", "GEN_INT", "(", "0", ")", ",", "GEN_INT", "(", "0", ")", ")", ")", ";", "rtx", "dest", "=", "lowpart_subreg", "(", "V4SImode", ",", "op", ",", "GET_MODE", "(", "op", ")", ")", ";", "op", "=", "gen_rtx_VEC_SELECT", "(", "V4SImode", ",", "dest", ",", "mask", ")", ";", "rtx", "insn", "=", "gen_rtx_SET", "(", "dest", ",", "op", ")", ";", "emit_insn", "(", "insn", ")", ";", "}", ""], "natrual_language": ["Move", "bits", "64:95", "to", "bits", "32:63", "."], "TS_V_token": ["i386", "4", "0", "2", "0", "0"], "File": "i386-expand", "Func": "ix86_move_vector_high_sse_to_mmx", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5511, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "SparcTargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "LLT", "VT", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "Register", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "\"i0\"", ",", "SP", "::", "I0", ")", ".", "Case", "(", "\"i1\"", ",", "SP", "::", "I1", ")", ".", "Case", "(", "\"i2\"", ",", "SP", "::", "I2", ")", ".", "Case", "(", "\"i3\"", ",", "SP", "::", "I3", ")", ".", "Case", "(", "\"i4\"", ",", "SP", "::", "I4", ")", ".", "Case", "(", "\"i5\"", ",", "SP", "::", "I5", ")", ".", "Case", "(", "\"i6\"", ",", "SP", "::", "I6", ")", ".", "Case", "(", "\"i7\"", ",", "SP", "::", "I7", ")", ".", "Case", "(", "\"o0\"", ",", "SP", "::", "O0", ")", ".", "Case", "(", "\"o1\"", ",", "SP", "::", "O1", ")", ".", "Case", "(", "\"o2\"", ",", "SP", "::", "O2", ")", ".", "Case", "(", "\"o3\"", ",", "SP", "::", "O3", ")", ".", "Case", "(", "\"o4\"", ",", "SP", "::", "O4", ")", ".", "Case", "(", "\"o5\"", ",", "SP", "::", "O5", ")", ".", "Case", "(", "\"o6\"", ",", "SP", "::", "O6", ")", ".", "Case", "(", "\"o7\"", ",", "SP", "::", "O7", ")", ".", "Case", "(", "\"l0\"", ",", "SP", "::", "L0", ")", ".", "Case", "(", "\"l1\"", ",", "SP", "::", "L1", ")", ".", "Case", "(", "\"l2\"", ",", "SP", "::", "L2", ")", ".", "Case", "(", "\"l3\"", ",", "SP", "::", "L3", ")", ".", "Case", "(", "\"l4\"", ",", "SP", "::", "L4", ")", ".", "Case", "(", "\"l5\"", ",", "SP", "::", "L5", ")", ".", "Case", "(", "\"l6\"", ",", "SP", "::", "L6", ")", ".", "Case", "(", "\"l7\"", ",", "SP", "::", "L7", ")", ".", "Case", "(", "\"g0\"", ",", "SP", "::", "G0", ")", ".", "Case", "(", "\"g1\"", ",", "SP", "::", "G1", ")", ".", "Case", "(", "\"g2\"", ",", "SP", "::", "G2", ")", ".", "Case", "(", "\"g3\"", ",", "SP", "::", "G3", ")", ".", "Case", "(", "\"g4\"", ",", "SP", "::", "G4", ")", ".", "Case", "(", "\"g5\"", ",", "SP", "::", "G5", ")", ".", "Case", "(", "\"g6\"", ",", "SP", "::", "G6", ")", ".", "Case", "(", "\"g7\"", ",", "SP", "::", "G7", ")", ".", "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": ["Sparc", "Sparc", "\"i0\"", "SP::I0", "\"i1\"", "SP::I1", "\"i2\"", "SP::I2", "\"i3\"", "SP::I3", "\"i4\"", "SP::I4", "\"i5\"", "SP::I5", "\"i6\"", "SP::I6", "\"i7\"", "SP::I7", "\"o0\"", "SP::O0", "\"o1\"", "SP::O1", "\"o2\"", "SP::O2", "\"o3\"", "SP::O3", "\"o4\"", "SP::O4", "\"o5\"", "SP::O5", "\"o6\"", "SP::O6", "\"o7\"", "SP::O7", "\"l0\"", "SP::L0", "\"l1\"", "SP::L1", "\"l2\"", "SP::L2", "\"l3\"", "SP::L3", "\"l4\"", "SP::L4", "\"l5\"", "SP::L5", "\"l6\"", "SP::L6", "\"l7\"", "SP::L7", "\"g0\"", "SP::G0", "\"g1\"", "SP::G1", "\"g2\"", "SP::G2", "\"g3\"", "SP::G3", "\"g4\"", "SP::G4", "\"g5\"", "SP::G5", "\"g6\"", "SP::G6", "\"g7\"", "SP::G7", "0", "\"Invalid register name global variable\""], "File": "SparcISelLowering17", "Func": "getRegisterByName", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5512, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "shouldFormOverflowOp", "(", "unsigned", "Opcode", ",", "EVT", "VT", ",", "bool", "MathUsed", ")", "const", "override", "{", "return", "VT", "==", "MVT", "::", "i32", "||", "VT", "==", "MVT", "::", "i64", ";", "}", ""], "natrual_language": ["Overflow", "nodes", "should", "get", "combined/lowered", "to", "optimal", "instructions", "(", "they", "should", "allow", "eliminating", "explicit", "compares", "by", "getting", "flags", "from", "math", "ops", ")", "."], "TS_V_token": ["SystemZ", "MVT::i32", "MVT::i64"], "File": "SystemZISelLowering18", "Func": "shouldFormOverflowOp", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5513, "Length": 29, "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": 5514, "Length": 205, "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": ["rs6000", "0", "8", "8", "8", "0", "0"], "File": "rs6000-p8swap", "Func": "adjust_subreg_index", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5515, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_expand_sve_vec_cmp_int", "(", "rtx", "target", ",", "rtx_code", "code", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "machine_mode", "pred_mode", "=", "GET_MODE", "(", "target", ")", ";", "machine_mode", "data_mode", "=", "GET_MODE", "(", "op0", ")", ";", "if", "(", "!", "aarch64_sve_cmp_operand_p", "(", "code", ",", "op1", ")", ")", "op1", "=", "force_reg", "(", "data_mode", ",", "op1", ")", ";", "rtx", "ptrue", "=", "force_reg", "(", "pred_mode", ",", "CONSTM1_RTX", "(", "pred_mode", ")", ")", ";", "rtx", "cond", "=", "gen_rtx_fmt_ee", "(", "code", ",", "pred_mode", ",", "op0", ",", "op1", ")", ";", "aarch64_emit_sve_ptrue_op_cc", "(", "target", ",", "ptrue", ",", "cond", ")", ";", "}", ""], "natrual_language": ["Expand", "an", "SVE", "integer", "comparison", ":", "TARGET", "=", "CODE", "(", "OP0", ",", "OP1", ")", "."], "TS_V_token": ["aarch64"], "File": "aarch646", "Func": "aarch64_expand_sve_vec_cmp_int", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5516, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "PPCTargetLowering", "::", "emitMaskedAtomicRMWIntrinsic", "(", "IRBuilderBase", "&", "Builder", ",", "AtomicRMWInst", "*", "AI", ",", "Value", "*", "AlignedAddr", ",", "Value", "*", "Incr", ",", "Value", "*", "Mask", ",", "Value", "*", "ShiftAmt", ",", "AtomicOrdering", "Ord", ")", "const", "{", "assert", "(", "shouldInlineQuadwordAtomics", "(", ")", "&&", "\"Only support quadword now\"", ")", ";", "Module", "*", "M", "=", "Builder", ".", "GetInsertBlock", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "Type", "*", "ValTy", "=", "Incr", "->", "getType", "(", ")", ";", "assert", "(", "ValTy", "->", "getPrimitiveSizeInBits", "(", ")", "==", "128", ")", ";", "Function", "*", "RMW", "=", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "getIntrinsicForAtomicRMWBinOp128", "(", "AI", "->", "getOperation", "(", ")", ")", ")", ";", "Type", "*", "Int64Ty", "=", "Type", "::", "getInt64Ty", "(", "M", "->", "getContext", "(", ")", ")", ";", "Value", "*", "IncrLo", "=", "Builder", ".", "CreateTrunc", "(", "Incr", ",", "Int64Ty", ",", "\"incr_lo\"", ")", ";", "Value", "*", "IncrHi", "=", "Builder", ".", "CreateTrunc", "(", "Builder", ".", "CreateLShr", "(", "Incr", ",", "64", ")", ",", "Int64Ty", ",", "\"incr_hi\"", ")", ";", "Value", "*", "Addr", "=", "Builder", ".", "CreateBitCast", "(", "AlignedAddr", ",", "Type", "::", "getInt8PtrTy", "(", "M", "->", "getContext", "(", ")", ")", ")", ";", "Value", "*", "LoHi", "=", "Builder", ".", "CreateCall", "(", "RMW", ",", "{", "Addr", ",", "IncrLo", ",", "IncrHi", "}", ")", ";", "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\"", ")", ";", "}", ""], "natrual_language": ["Perform", "a", "masked", "atomicrmw", "using", "a", "target-specific", "intrinsic", "."], "TS_V_token": ["PowerPC", "PPC", "\"Only support quadword now\"", "128", "Intrinsic::getDeclaration", "\"incr_lo\"", "64", "\"incr_hi\"", "0", "\"lo\"", "1", "\"hi\"", "\"lo64\"", "\"hi64\"", "64", "\"val64\""], "File": "PPCISelLowering83", "Func": "emitMaskedAtomicRMWIntrinsic", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5517, "Length": 279, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "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", "CCRetInfo", "(", "CallConv", ",", "isVarArg", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCRetInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_PPC", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "RVLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "EVT", "VT", "=", "VA", ".", "getValVT", "(", ")", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "VT", ",", "InFlag", ")", ".", "getValue", "(", "1", ")", ";", "InVals", ".", "push_back", "(", "Chain", ".", "getValue", "(", "0", ")", ")", ";", "InFlag", "=", "Chain", ".", "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": ["PowerPC", "PPC", "ISD::InputArg", "16", "PPC", "0", "\"Can only return in registers!\"", "1", "0", "2"], "File": "PPCISelLowering107", "Func": "LowerCallResult", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5518, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLittleEndian", "(", ")", "const", "{", "return", "DL", ".", "isLittleEndian", "(", ")", ";", "}", ""], "natrual_language": ["Tests", "whether", "the", "target", "triple", "is", "little", "endian", "."], "TS_V_token": ["AArch64"], "File": "AArch64Subtarget1", "Func": "isLittleEndian", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5519, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "X86InstrInfo", "::", "insertOutlinedCall", "(", "Module", "&", "M", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "It", ",", "MachineFunction", "&", "MF", ",", "outliner", "::", "Candidate", "&", "C", ")", "const", "{", "if", "(", "C", ".", "CallConstructionID", "==", "MachineOutlinerTailCall", ")", "{", "It", "=", "MBB", ".", "insert", "(", "It", ",", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "X86", "::", "TAILJMPd64", ")", ")", ".", "addGlobalAddress", "(", "M", ".", "getNamedValue", "(", "MF", ".", "getName", "(", ")", ")", ")", ")", ";", "}", "else", "{", "It", "=", "MBB", ".", "insert", "(", "It", ",", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "X86", "::", "CALL64pcrel32", ")", ")", ".", "addGlobalAddress", "(", "M", ".", "getNamedValue", "(", "MF", ".", "getName", "(", ")", ")", ")", ")", ";", "}", "return", "It", ";", "}", ""], "natrual_language": ["Insert", "a", "call", "to", "an", "outlined", "function", "into", "the", "program", "."], "TS_V_token": ["X86", "X86", "X86::TAILJMPd64", "X86::CALL64pcrel32"], "File": "X86InstrInfo64", "Func": "insertOutlinedCall", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5520, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "reg_overlap_p", "(", "rtx", "x", ",", "rtx", "in", ")", "{", "if", "(", "x", "==", "NULL_RTX", "||", "in", "==", "NULL_RTX", ")", "return", "false", ";", "return", "static_cast", "<", "bool", ">", "(", "reg_overlap_mentioned_p", "(", "x", ",", "in", ")", ")", ";", "}", ""], "natrual_language": ["A", "safe", "wrapper", "to", "the", "function", "reg_overlap_mentioned_p", "(", ")", "."], "TS_V_token": ["nds32"], "File": "nds32-pipelines-auxiliary", "Func": "reg_overlap_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5521, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "sh_hard_regno_nregs", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "XD_REGISTER_P", "(", "regno", ")", ")", "return", "CEIL", "(", "GET_MODE_SIZE", "(", "mode", ")", ",", "2", "*", "UNITS_PER_WORD", ")", ";", "return", "CEIL", "(", "GET_MODE_SIZE", "(", "mode", ")", ",", "UNITS_PER_WORD", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_NREGS", ".", "On", "the", "SH", "all", "but", "the", "XD", "regs", "are", "UNITS_PER_WORD", "bits", "wide", "."], "TS_V_token": ["sh", "2"], "File": "sh", "Func": "sh_hard_regno_nregs", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5522, "Length": 45, "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": 5523, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_sve_ld1ro_operand_p", "(", "rtx", "op", ",", "scalar_mode", "elem_mode", ")", "{", "return", "aarch64_sve_ld1rq_ld1ro_operand_p", "(", "op", ",", "OImode", ",", "elem_mode", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "is", "a", "valid", "MEM", "operand", "for", "an", "SVE", "LD1RO", "instruction", "for", "accessing", "a", "vector", "where", "the", "element", "size", "is", "specified", "by", "`", "elem_mode", "`", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_sve_ld1ro_operand_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5524, "Length": 21, "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": 5525, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "splitFramePushPop", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "(", "useR7AsFramePointer", "(", ")", "&&", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", ")", "||", "isThumb1Only", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "frame", "setup", "is", "split", "into", "two", "separate", "pushes", "(", "first", "r0-r7", ",", "lr", "then", "r8-r11", ")", ",", "principally", "so", "that", "the", "frame", "pointer", "is", "adjacent", "to", "lr", "."], "TS_V_token": ["ARM"], "File": "ARMSubtarget (2)3", "Func": "splitFramePushPop", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5526, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "dispatch_forest", "(", "fma_forest", "*", "forest", ")", "{", "forest", "->", "dispatch", "(", ")", ";", "}", ""], "natrual_language": ["Wrapper", "around", "fma_forest", ":", ":dispatch", "for", "use", "as", "parameter", "of", "function", "pointer", "type", "in", "func_fma_steering", ":", ":dfs", "."], "TS_V_token": ["aarch64"], "File": "cortex-a57-fma-steering", "Func": "dispatch_forest", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5527, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "estimateStackSize", "(", "MachineFunction", "&", "MF", ",", "MachineFrameInfo", "*", "MFI", ")", "{", "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": ["ARM", "0", "0", "0", "1"], "File": "ARMBaseRegisterInfo20", "Func": "estimateStackSize", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5528, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb2InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "DL", ",", "MCRegister", "DestReg", ",", "MCRegister", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "if", "(", "!", "ARM", "::", "GPRRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "return", "ARMBaseInstrInfo", "::", "copyPhysReg", "(", "MBB", ",", "I", ",", "DL", ",", "DestReg", ",", "SrcReg", ",", "KillSrc", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tMOVr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["ARM", "ARM::GPRRegClass", "ARM", "ARM::tMOVr", "ARMCC::AL"], "File": "Thumb2InstrInfo", "Func": "copyPhysReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5529, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "global_regs_p", "(", "unsigned", "first", ",", "unsigned", "last", ")", "{", "while", "(", "first", "<", "last", ")", "if", "(", "global_regs", "[", "first", "++", "]", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Look", "for", "user-defined", "global", "regs", "in", "the", "range", "FIRST", "to", "LAST-1", ".", "We", "should", "not", "restore", "these", ",", "and", "so", "can", "not", "use", "lmw", "or", "out-of-line", "restore", "functions", "if", "there", "are", "any", ".", "We", "also", "ca", "n't", "save", "them", "(", "well", ",", "emit", "frame", "notes", "for", "them", ")", ",", "because", "frame", "unwinding", "during", "exception", "handling", "will", "restore", "saved", "registers", "."], "TS_V_token": ["rs6000"], "File": "rs60004", "Func": "global_regs_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5530, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_return_in_memory", "(", "const_tree", "type", ",", "const_tree", "fntype", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "cfun", "&&", "!", "cfun", "->", "machine", "->", "mma_return_type_error", "&&", "TREE_TYPE", "(", "cfun", "->", "decl", ")", "==", "fntype", "&&", "(", "TYPE_MODE", "(", "type", ")", "==", "OOmode", "||", "TYPE_MODE", "(", "type", ")", "==", "XOmode", ")", ")", "{", "cfun", "->", "machine", "->", "mma_return_type_error", "=", "true", ";", "if", "(", "TYPE_CANONICAL", "(", "type", ")", "!=", "NULL_TREE", ")", "type", "=", "TYPE_CANONICAL", "(", "type", ")", ";", "error", "(", "\"invalid use of MMA type %qs as a function return value\"", ",", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "TYPE_NAME", "(", "type", ")", ")", ")", ")", ";", "}", "if", "(", "TARGET_MACHO", "&&", "rs6000_darwin64_abi", "&&", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", "&&", "int_size_in_bytes", "(", "type", ")", ">", "0", ")", "{", "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", ",", "type", ",", "true", ",", "true", ")", ";", "if", "(", "valret", ")", "return", "false", ";", "}", "if", "(", "rs6000_discover_homogeneous_aggregate", "(", "TYPE_MODE", "(", "type", ")", ",", "type", ",", "NULL", ",", "NULL", ")", ")", "return", "false", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_ELFv2", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "(", "unsigned", "HOST_WIDE_INT", ")", "int_size_in_bytes", "(", "type", ")", "<=", "16", ")", "return", "false", ";", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "(", "aix_struct_return", "||", "(", "unsigned", "HOST_WIDE_INT", ")", "int_size_in_bytes", "(", "type", ")", ">", "8", ")", ")", "return", "true", ";", "if", "(", "TARGET_32BIT", "&&", "!", "TARGET_ALTIVEC_ABI", "&&", "ALTIVEC_VECTOR_MODE", "(", "TYPE_MODE", "(", "type", ")", ")", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", "&&", "int_size_in_bytes", "(", "type", ")", ">", "(", "TARGET_ALTIVEC_ABI", "?", "16", ":", "8", ")", ")", "{", "static", "bool", "warned_for_return_big_vectors", "=", "false", ";", "if", "(", "!", "warned_for_return_big_vectors", ")", "{", "warning", "(", "OPT_Wpsabi", ",", "\"GCC vector returned by reference: \"", "\"non-standard ABI extension with no compatibility \"", "\"guarantee\"", ")", ";", "warned_for_return_big_vectors", "=", "true", ";", "}", "return", "true", ";", "}", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "TARGET_IEEEQUAD", "&&", "FLOAT128_IEEE_P", "(", "TYPE_MODE", "(", "type", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "a", "nonzero", "value", "to", "say", "to", "return", "the", "function", "value", "in", "memory", ",", "just", "as", "large", "structures", "are", "always", "returned", ".", "TYPE", "will", "be", "the", "data", "type", "of", "the", "value", ",", "and", "FNTYPE", "will", "be", "the", "type", "of", "the", "function", "doing", "the", "returning", ",", "or", "@", "code", "{", "NULL", "}", "for", "libcalls", ".", "The", "AIX", "ABI", "for", "the", "RS/6000", "specifies", "that", "all", "structures", "are", "returned", "in", "memory", ".", "The", "Darwin", "ABI", "does", "the", "same", ".", "The", "SVR4", "ABI", "specifies", "that", "structures", "<", "=", "8", "bytes", "are", "returned", "in", "r3/r4", ",", "but", "a", "draft", "put", "them", "in", "memory", ",", "and", "GCC", "used", "to", "implement", "the", "draft", "instead", "of", "the", "final", "standard", ".", "Therefore", ",", "aix_struct_return", "controls", "this", "instead", "of", "DEFAULT_ABI", ";", "V.4", "targets", "needing", "backward", "compatibility", "can", "change", "DRAFT_V4_STRUCT_RET", "to", "override", "the", "default", ",", "and", "-m", "switches", "get", "the", "final", "word", ".", "See", "rs6000_override_options", "for", "more", "details", ".", "The", "PPC32", "SVR4", "ABI", "uses", "IEEE", "double", "extended", "for", "long", "double", ",", "if", "128-bit", "long", "double", "support", "is", "enabled", ".", "These", "values", "are", "returned", "in", "memory", ".", "int_size_in_bytes", "returns", "-1", "for", "variable", "size", "objects", ",", "which", "go", "in", "memory", "always", ".", "The", "cast", "to", "unsigned", "makes", "-1", ">", "8", "."], "TS_V_token": ["rs6000", "\"invalid use of MMA type %qs as a function return value\"", "0", "0", "16", "8", "16", "8", "\"GCC vector returned by reference: \"", "\"non-standard ABI extension with no compatibility \"", "\"guarantee\""], "File": "rs6000-call", "Func": "rs6000_return_in_memory", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5531, "Length": 319, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb2SizeReduce", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "PredicateFtor", "&&", "!", "PredicateFtor", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "STI", "=", "&", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "if", "(", "STI", "->", "isThumb1Only", "(", ")", "||", "STI", "->", "prefers32BitThumb", "(", ")", ")", "return", "false", ";", "TII", "=", "static_cast", "<", "const", "Thumb2InstrInfo", "*", ">", "(", "STI", "->", "getInstrInfo", "(", ")", ")", ";", "OptimizeSize", "=", "MF", ".", "getFunction", "(", ")", ".", "hasOptSize", "(", ")", ";", "MinimizeSize", "=", "STI", "->", "hasMinSize", "(", ")", ";", "BlockInfo", ".", "clear", "(", ")", ";", "BlockInfo", ".", "resize", "(", "MF", ".", "getNumBlockIDs", "(", ")", ")", ";", "ReversePostOrderTraversal", "<", "MachineFunction", "*", ">", "RPOT", "(", "&", "MF", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "ReversePostOrderTraversal", "<", "MachineFunction", "*", ">", "::", "rpo_iterator", "I", "=", "RPOT", ".", "begin", "(", ")", ",", "E", "=", "RPOT", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Modified", "|=", "ReduceMBB", "(", "*", "*", "I", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM"], "File": "Thumb2SizeReduction10", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5532, "Length": 175, "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": 5533, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCDarwinAsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "bool", "isPPC64", "=", "TM", ".", "getTargetData", "(", ")", "->", "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": "PPCAsmPrinter1", "Func": "doFinalization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5534, "Length": 495, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "PPCTTIImpl", "::", "getIntImmCost", "(", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "if", "(", "DisablePPCConstHoist", ")", "return", "BaseT", "::", "getIntImmCost", "(", "Imm", ",", "Ty", ",", "CostKind", ")", ";", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", ")", "return", "~", "0U", ";", "if", "(", "Imm", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", ")", "{", "if", "(", "isInt", "<", "16", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Basic", ";", "if", "(", "isInt", "<", "32", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "{", "if", "(", "(", "Imm", ".", "getZExtValue", "(", ")", "&", "0xFFFF", ")", "==", "0", ")", "return", "TTI", "::", "TCC_Basic", ";", "return", "2", "*", "TTI", "::", "TCC_Basic", ";", "}", "}", "return", "4", "*", "TTI", "::", "TCC_Basic", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "0", "0U", "0", "64", "16", "32", "0xFFFF", "0", "2", "4"], "File": "PPCTargetTransformInfo1", "Func": "getIntImmCost", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5535, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "DCPU16InstPrinter", "::", "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": ["Dcpu16", "DCPU16"], "File": "DCPU16InstPrinter", "Func": "printInst", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5536, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CSKYAsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "const", "{", "if", "(", "Count", "%", "2", ")", "return", "false", ";", "while", "(", "Count", ">=", "4", ")", "{", "OS", ".", "write", "(", "\"\\xc4\\x00\\x48\\x20\"", ",", "4", ")", ";", "Count", "-=", "4", ";", "}", "if", "(", "Count", ")", "OS", ".", "write", "(", "\"\\x6c\\x03\"", ",", "2", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["CSKY", "CSKY", "2", "4", "\"\\xc4\\x00\\x48\\x20\"", "4", "4", "\"\\x6c\\x03\"", "2"], "File": "CSKYAsmBackend1", "Func": "writeNopData", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5537, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "sh_register_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "srcclass", ",", "reg_class_t", "dstclass", ")", "{", "if", "(", "dstclass", "==", "T_REGS", "||", "dstclass", "==", "PR_REGS", ")", "return", "10", ";", "if", "(", "dstclass", "==", "MAC_REGS", "&&", "srcclass", "==", "MAC_REGS", ")", "return", "4", ";", "if", "(", "mode", "==", "SImode", "&&", "TARGET_FMOVD", "&&", "REGCLASS_HAS_FP_REG", "(", "srcclass", ")", "&&", "REGCLASS_HAS_FP_REG", "(", "dstclass", ")", ")", "return", "4", ";", "if", "(", "REGCLASS_HAS_FP_REG", "(", "dstclass", ")", "&&", "srcclass", "==", "T_REGS", ")", "return", "(", "(", "TARGET_HARD_SH4", "&&", "!", "optimize_size", ")", "?", "10", ":", "7", ")", ";", "if", "(", "(", "REGCLASS_HAS_FP_REG", "(", "dstclass", ")", "&&", "srcclass", "==", "MAC_REGS", ")", "||", "(", "dstclass", "==", "MAC_REGS", "&&", "REGCLASS_HAS_FP_REG", "(", "srcclass", ")", ")", ")", "return", "9", ";", "if", "(", "(", "REGCLASS_HAS_FP_REG", "(", "dstclass", ")", "&&", "REGCLASS_HAS_GENERAL_REG", "(", "srcclass", ")", ")", "||", "(", "REGCLASS_HAS_GENERAL_REG", "(", "dstclass", ")", "&&", "REGCLASS_HAS_FP_REG", "(", "srcclass", ")", ")", ")", "{", "int", "addend", "=", "(", "mode", "==", "Pmode", ")", "?", "40", ":", "0", ";", "return", "(", "(", "TARGET_FMOVD", "?", "8", ":", "12", ")", "+", "addend", ")", "*", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "7", ")", "/", "8U", ")", ";", "}", "if", "(", "(", "dstclass", "==", "FPUL_REGS", "&&", "REGCLASS_HAS_GENERAL_REG", "(", "srcclass", ")", ")", "||", "(", "srcclass", "==", "FPUL_REGS", "&&", "REGCLASS_HAS_GENERAL_REG", "(", "dstclass", ")", ")", ")", "return", "5", ";", "if", "(", "(", "dstclass", "==", "FPUL_REGS", "&&", "(", "srcclass", "==", "PR_REGS", "||", "srcclass", "==", "MAC_REGS", "||", "srcclass", "==", "T_REGS", ")", ")", "||", "(", "srcclass", "==", "FPUL_REGS", "&&", "(", "dstclass", "==", "PR_REGS", "||", "dstclass", "==", "MAC_REGS", ")", ")", ")", "return", "7", ";", "if", "(", "(", "srcclass", "==", "FPSCR_REGS", "&&", "!", "REGCLASS_HAS_GENERAL_REG", "(", "dstclass", ")", ")", "||", "(", "dstclass", "==", "FPSCR_REGS", "&&", "!", "REGCLASS_HAS_GENERAL_REG", "(", "srcclass", ")", ")", ")", "return", "4", ";", "if", "(", "TARGET_FMOVD", "&&", "!", "REGCLASS_HAS_GENERAL_REG", "(", "srcclass", ")", "&&", "!", "REGCLASS_HAS_GENERAL_REG", "(", "dstclass", ")", ")", "return", "2", "*", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "7", ")", "/", "8U", ")", ";", "return", "2", "*", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "3", ")", "/", "4U", ")", ";", "}", ""], "natrual_language": ["If", "SECONDARY", "*", "_RELOAD_CLASS", "says", "something", "about", "the", "src/dst", "pair", ",", "regclass", "uses", "this", "information", ".", "Hence", ",", "the", "general", "register", "<", "-", ">", "floating", "point", "register", "information", "here", "is", "not", "used", "for", "SFmode", "."], "TS_V_token": ["sh", "10", "4", "4", "10", "7", "9", "40", "0", "8", "12", "7", "8U", "5", "7", "4", "2", "7", "8U", "2", "3", "4U"], "File": "sh", "Func": "sh_register_move_cost", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5538, "Length": 326, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "EmitInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "override", "{", "EmitA64MappingSymbol", "(", ")", ";", "MCELFStreamer", "::", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["AArch64"], "File": "AArch64ELFStreamer (2)", "Func": "EmitInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5539, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_output_function_prologue", "(", "FILE", "*", "file", ",", "HOST_WIDE_INT", "size", "ATTRIBUTE_UNUSED", ")", "{", "int", "mask", ",", "grsave", ",", "grsave_prev", ";", "if", "(", "current_frame_info", ".", "need_regstk", ")", "fprintf", "(", "file", ",", "\"\\t.regstk %d, %d, %d, %d\\n\"", ",", "current_frame_info", ".", "n_input_regs", ",", "current_frame_info", ".", "n_local_regs", ",", "current_frame_info", ".", "n_output_regs", ",", "current_frame_info", ".", "n_rotate_regs", ")", ";", "if", "(", "ia64_except_unwind_info", "(", "&", "global_options", ")", "!=", "UI_TARGET", ")", "return", ";", "mask", "=", "0", ";", "grsave", "=", "grsave_prev", "=", "0", ";", "if", "(", "current_frame_info", ".", "r", "[", "reg_save_b0", "]", "!=", "0", ")", "{", "mask", "|=", "8", ";", "grsave", "=", "grsave_prev", "=", "current_frame_info", ".", "r", "[", "reg_save_b0", "]", ";", "}", "if", "(", "current_frame_info", ".", "r", "[", "reg_save_ar_pfs", "]", "!=", "0", "&&", "(", "grsave_prev", "==", "0", "||", "current_frame_info", ".", "r", "[", "reg_save_ar_pfs", "]", "==", "grsave_prev", "+", "1", ")", ")", "{", "mask", "|=", "4", ";", "if", "(", "grsave_prev", "==", "0", ")", "grsave", "=", "current_frame_info", ".", "r", "[", "reg_save_ar_pfs", "]", ";", "grsave_prev", "=", "current_frame_info", ".", "r", "[", "reg_save_ar_pfs", "]", ";", "}", "if", "(", "current_frame_info", ".", "r", "[", "reg_fp", "]", "!=", "0", "&&", "(", "grsave_prev", "==", "0", "||", "current_frame_info", ".", "r", "[", "reg_fp", "]", "==", "grsave_prev", "+", "1", ")", ")", "{", "mask", "|=", "2", ";", "if", "(", "grsave_prev", "==", "0", ")", "grsave", "=", "HARD_FRAME_POINTER_REGNUM", ";", "grsave_prev", "=", "current_frame_info", ".", "r", "[", "reg_fp", "]", ";", "}", "if", "(", "current_frame_info", ".", "r", "[", "reg_save_pr", "]", "!=", "0", "&&", "(", "grsave_prev", "==", "0", "||", "current_frame_info", ".", "r", "[", "reg_save_pr", "]", "==", "grsave_prev", "+", "1", ")", ")", "{", "mask", "|=", "1", ";", "if", "(", "grsave_prev", "==", "0", ")", "grsave", "=", "current_frame_info", ".", "r", "[", "reg_save_pr", "]", ";", "}", "if", "(", "mask", "&&", "TARGET_GNU_AS", ")", "fprintf", "(", "file", ",", "\"\\t.prologue %d, %d\\n\"", ",", "mask", ",", "ia64_dbx_register_number", "(", "grsave", ")", ")", ";", "else", "fputs", "(", "\"\\t.prologue\\n\"", ",", "file", ")", ";", "if", "(", "current_frame_info", ".", "spill_cfa_off", "!=", "-", "16", ")", "fprintf", "(", "file", ",", "\"\\t.spill %ld\\n\"", ",", "(", "long", ")", "(", "current_frame_info", ".", "spill_cfa_off", "+", "current_frame_info", ".", "spill_size", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "function", "prologue", "."], "TS_V_token": ["ia64", "\"\\t.regstk %d, %d, %d, %d\\n\"", "0", "0", "0", "8", "0", "0", "1", "4", "0", "0", "0", "1", "2", "0", "0", "0", "1", "1", "0", "\"\\t.prologue %d, %d\\n\"", "\"\\t.prologue\\n\"", "16", "\"\\t.spill %ld\\n\""], "File": "ia644", "Func": "ia64_output_function_prologue", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5540, "Length": 317, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsInstrInfo", "::", "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", "(", "!", "BytesAdded", "&&", "\"code size not handled\"", ")", ";", "assert", "(", "(", "Cond", ".", "size", "(", ")", "<=", "3", ")", "&&", "\"# of Mips branch conditions must be <= 3!\"", ")", ";", "if", "(", "FBB", ")", "{", "BuildCondBr", "(", "MBB", ",", "TBB", ",", "DL", ",", "Cond", ")", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "UncondBrOpc", ")", ")", ".", "addMBB", "(", "FBB", ")", ";", "return", "2", ";", "}", "if", "(", "Cond", ".", "empty", "(", ")", ")", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "UncondBrOpc", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "else", "BuildCondBr", "(", "MBB", ",", "TBB", ",", "DL", ",", "Cond", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "."], "TS_V_token": ["Mips", "Mips", "\"insertBranch must not be told to insert a fallthrough\"", "\"code size not handled\"", "3", "\"# of Mips branch conditions must be <= 3!\"", "2", "1"], "File": "MipsInstrInfo (2)3", "Func": "insertBranch", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5541, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"OpenRISC DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["OpenRISC", "\"OpenRISC DAG->DAG Pattern Instruction Selection\""], "File": "OpenRISCISelDAGToDAG", "Func": "getPassName", "Target": "OpenRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5542, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_emit_probe_stack_range", "(", "HOST_WIDE_INT", "first", ",", "HOST_WIDE_INT", "size", ")", "{", "rtx", "reg1", "=", "gen_rtx_REG", "(", "Pmode", ",", "PROBE_STACK_FIRST_REG", ")", ";", "gcc_assert", "(", "(", "first", "%", "ARITH_FACTOR", ")", "==", "0", ")", ";", "if", "(", "size", "<=", "PROBE_INTERVAL", ")", "{", "const", "HOST_WIDE_INT", "base", "=", "ROUND_UP", "(", "size", ",", "ARITH_FACTOR", ")", ";", "emit_set_insn", "(", "reg1", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "(", "first", "+", "base", ")", ")", ")", ";", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "reg1", ",", "base", "-", "size", ")", ")", ";", "}", "else", "if", "(", "size", "<=", "4", "*", "PROBE_INTERVAL", ")", "{", "HOST_WIDE_INT", "i", ",", "rem", ";", "emit_set_insn", "(", "reg1", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "(", "first", "+", "PROBE_INTERVAL", ")", ")", ")", ";", "emit_stack_probe", "(", "reg1", ")", ";", "for", "(", "i", "=", "2", "*", "PROBE_INTERVAL", ";", "i", "<", "size", ";", "i", "+=", "PROBE_INTERVAL", ")", "{", "emit_set_insn", "(", "reg1", ",", "plus_constant", "(", "Pmode", ",", "reg1", ",", "-", "PROBE_INTERVAL", ")", ")", ";", "emit_stack_probe", "(", "reg1", ")", ";", "}", "rem", "=", "size", "-", "(", "i", "-", "PROBE_INTERVAL", ")", ";", "if", "(", "rem", ">", "256", ")", "{", "const", "HOST_WIDE_INT", "base", "=", "ROUND_UP", "(", "rem", ",", "ARITH_FACTOR", ")", ";", "emit_set_insn", "(", "reg1", ",", "plus_constant", "(", "Pmode", ",", "reg1", ",", "-", "base", ")", ")", ";", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "reg1", ",", "base", "-", "rem", ")", ")", ";", "}", "else", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "reg1", ",", "-", "rem", ")", ")", ";", "}", "else", "{", "rtx", "reg2", "=", "gen_rtx_REG", "(", "Pmode", ",", "PROBE_STACK_SECOND_REG", ")", ";", "HOST_WIDE_INT", "rounded_size", "=", "size", "&", "-", "PROBE_INTERVAL", ";", "emit_set_insn", "(", "reg1", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "first", ")", ")", ";", "emit_set_insn", "(", "reg2", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "(", "first", "+", "rounded_size", ")", ")", ")", ";", "emit_insn", "(", "gen_probe_stack_range", "(", "reg1", ",", "reg1", ",", "reg2", ")", ")", ";", "if", "(", "size", "!=", "rounded_size", ")", "{", "HOST_WIDE_INT", "rem", "=", "size", "-", "rounded_size", ";", "if", "(", "rem", ">", "256", ")", "{", "const", "HOST_WIDE_INT", "base", "=", "ROUND_UP", "(", "rem", ",", "ARITH_FACTOR", ")", ";", "emit_set_insn", "(", "reg2", ",", "plus_constant", "(", "Pmode", ",", "reg2", ",", "-", "base", ")", ")", ";", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "reg2", ",", "base", "-", "rem", ")", ")", ";", "}", "else", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "reg2", ",", "-", "rem", ")", ")", ";", "}", "}", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "probe", "a", "range", "of", "stack", "addresses", "from", "FIRST", "to", "FIRST+SIZE", ",", "inclusive", ".", "These", "are", "offsets", "from", "the", "current", "stack", "pointer", "."], "TS_V_token": ["aarch64", "0", "4", "2", "256", "256"], "File": "aarch644", "Func": "aarch64_emit_probe_stack_range", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5543, "Length": 386, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "KudeyarTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "case", "KudeyarISD", "::", "BR_CC_T", ":", "return", "\"KudeyarISD::BR_CC_T\"", ";", "case", "KudeyarISD", "::", "BR_CC_F", ":", "return", "\"KudeyarISD::BR_CC_F\"", ";", "case", "KudeyarISD", "::", "SELECT_CC_T", ":", "return", "\"KudeyarISD::SELECT_CC_T\"", ";", "case", "KudeyarISD", "::", "SELECT_CC_F", ":", "return", "\"KudeyarISD::SELECT_CC_f\"", ";", "case", "KudeyarISD", "::", "CMPEQ", ":", "return", "\"KudeyarISD::CMPEQ\"", ";", "case", "KudeyarISD", "::", "CMPGT", ":", "return", "\"KudeyarISD::CMPGT\"", ";", "case", "KudeyarISD", "::", "CMPLT", ":", "return", "\"KudeyarISD::CMPLT\"", ";", "case", "KudeyarISD", "::", "CMPGTU", ":", "return", "\"KudeyarISD::CMPGTU\"", ";", "case", "KudeyarISD", "::", "CMPLTU", ":", "return", "\"KudeyarISD::CMPLTU\"", ";", "case", "KudeyarISD", "::", "CALL", ":", "return", "\"KudeyarISD::CALL\"", ";", "case", "KudeyarISD", "::", "RET_FLAG", ":", "return", "\"KudeyarISD::RET_FLAG\"", ";", "case", "KudeyarISD", "::", "RETI_FLAG", ":", "return", "\"KudeyarISD::RETI_FLAG\"", ";", "case", "KudeyarISD", "::", "Wrapper", ":", "return", "\"KudeyarISD::Wrapper\"", ";", "default", ":", "return", "NULL", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["Kudeyar", "Kudeyar", "KudeyarISD::BR_CC_T", "\"KudeyarISD::BR_CC_T\"", "KudeyarISD::BR_CC_F", "\"KudeyarISD::BR_CC_F\"", "KudeyarISD::SELECT_CC_T", "\"KudeyarISD::SELECT_CC_T\"", "KudeyarISD::SELECT_CC_F", "\"KudeyarISD::SELECT_CC_f\"", "KudeyarISD::CMPEQ", "\"KudeyarISD::CMPEQ\"", "KudeyarISD::CMPGT", "\"KudeyarISD::CMPGT\"", "KudeyarISD::CMPLT", "\"KudeyarISD::CMPLT\"", "KudeyarISD::CMPGTU", "\"KudeyarISD::CMPGTU\"", "KudeyarISD::CMPLTU", "\"KudeyarISD::CMPLTU\"", "KudeyarISD::CALL", "\"KudeyarISD::CALL\"", "KudeyarISD::RET_FLAG", "\"KudeyarISD::RET_FLAG\"", "KudeyarISD::RETI_FLAG", "\"KudeyarISD::RETI_FLAG\"", "KudeyarISD::Wrapper", "\"KudeyarISD::Wrapper\""], "File": "KudeyarISelLowering", "Func": "getTargetNodeName", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5544, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "::", "HazardType", "Thumb2HazardRecognizer", "::", "getHazardType", "(", "SUnit", "*", "SU", ")", "{", "if", "(", "ITBlockSize", ")", "{", "MachineInstr", "*", "MI", "=", "SU", "->", "getInstr", "(", ")", ";", "if", "(", "!", "MI", "->", "isDebugValue", "(", ")", "&&", "MI", "!=", "ITBlockMIs", "[", "ITBlockSize", "-", "1", "]", ")", "return", "Hazard", ";", "}", "return", "PostRAHazardRecognizer", "::", "getHazardType", "(", "SU", ")", ";", "}", ""], "natrual_language": ["getHazardType", "-", "Return", "the", "hazard", "type", "of", "emitting", "this", "node", "."], "TS_V_token": ["ARM", "1"], "File": "Thumb2HazardRecognizer", "Func": "getHazardType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5545, "Length": 58, "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", ",", "x", ";", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "if", "(", "GET_MODE_UNIT_SIZE", "(", "d", "->", "vmode", ")", ">=", "8", ")", "return", "false", ";", "high", "=", "nelt", "/", "2", ";", "if", "(", "d", "->", "perm", "[", "0", "]", "==", "high", ")", ";", "else", "if", "(", "d", "->", "perm", "[", "0", "]", "==", "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", "=", "(", "i", "+", "high", ")", "&", "mask", ";", "if", "(", "d", "->", "perm", "[", "i", "*", "2", "]", "!=", "elt", ")", "return", "false", ";", "elt", "=", "(", "elt", "+", "nelt", ")", "&", "mask", ";", "if", "(", "d", "->", "perm", "[", "i", "*", "2", "+", "1", "]", "!=", "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", "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", "(", "BYTES_BIG_ENDIAN", ")", "{", "x", "=", "in0", ",", "in0", "=", "in1", ",", "in1", "=", "x", ";", "high", "=", "!", "high", ";", "}", "out0", "=", "d", "->", "target", ";", "out1", "=", "gen_reg_rtx", "(", "d", "->", "vmode", ")", ";", "if", "(", "high", ")", "x", "=", "out0", ",", "out0", "=", "out1", ",", "out1", "=", "x", ";", "emit_insn", "(", "gen", "(", "out0", ",", "in0", ",", "in1", ",", "out1", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "for", "the", "VZIP", "insns", "."], "TS_V_token": ["arm", "8", "2", "0", "0", "0", "0", "1", "2", "1", "0", "2", "2", "2", "1"], "File": "arm4", "Func": "arm_evpc_neon_vzip", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5546, "Length": 371, "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": 5547, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "X86RegisterInfo", "::", "getLargestLegalSuperClass", "(", "const", "TargetRegisterClass", "*", "RC", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "RC", "==", "&", "X86", "::", "GR8_NOREXRegClass", ")", "return", "RC", ";", "const", "X86Subtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "const", "TargetRegisterClass", "*", "Super", "=", "RC", ";", "TargetRegisterClass", "::", "sc_iterator", "I", "=", "RC", "->", "getSuperClasses", "(", ")", ";", "do", "{", "switch", "(", "Super", "->", "getID", "(", ")", ")", "{", "case", "X86", "::", "FR32RegClassID", ":", "case", "X86", "::", "FR64RegClassID", ":", "if", "(", "!", "Subtarget", ".", "hasAVX512", "(", ")", "&&", "Super", "->", "getSize", "(", ")", "==", "RC", "->", "getSize", "(", ")", ")", "return", "Super", ";", "break", ";", "case", "X86", "::", "VR128RegClassID", ":", "case", "X86", "::", "VR256RegClassID", ":", "if", "(", "!", "Subtarget", ".", "hasVLX", "(", ")", "&&", "Super", "->", "getSize", "(", ")", "==", "RC", "->", "getSize", "(", ")", ")", "return", "Super", ";", "break", ";", "case", "X86", "::", "FR32XRegClassID", ":", "case", "X86", "::", "FR64XRegClassID", ":", "if", "(", "!", "Subtarget", ".", "hasVLX", "(", ")", ")", "break", ";", "case", "X86", "::", "VR128XRegClassID", ":", "case", "X86", "::", "VR256XRegClassID", ":", "if", "(", "!", "Subtarget", ".", "hasAVX512", "(", ")", ")", "break", ";", "case", "X86", "::", "GR8RegClassID", ":", "case", "X86", "::", "GR16RegClassID", ":", "case", "X86", "::", "GR32RegClassID", ":", "case", "X86", "::", "GR64RegClassID", ":", "case", "X86", "::", "RFP32RegClassID", ":", "case", "X86", "::", "RFP64RegClassID", ":", "case", "X86", "::", "RFP80RegClassID", ":", "case", "X86", "::", "VR512RegClassID", ":", "if", "(", "Super", "->", "getSize", "(", ")", "==", "RC", "->", "getSize", "(", ")", ")", "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": ["X86", "X86", "X86::GR8_NOREXRegClass", "X86", "X86", "X86::FR32RegClassID", "X86::FR64RegClassID", "X86::VR128RegClassID", "X86::VR256RegClassID", "X86::FR32XRegClassID", "X86::FR64XRegClassID", "X86::VR128XRegClassID", "X86::VR256XRegClassID", "X86::GR8RegClassID", "X86::GR16RegClassID", "X86::GR32RegClassID", "X86::GR64RegClassID", "X86::RFP32RegClassID", "X86::RFP64RegClassID", "X86::RFP80RegClassID", "X86::VR512RegClassID"], "File": "X86RegisterInfo5", "Func": "getLargestLegalSuperClass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5548, "Length": 262, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "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", "{", "if", "(", "isTailCall", ")", "isTailCall", "=", "IsEligibleForTailCallOptimization", "(", "Callee", ",", "CallConv", ",", "isVarArg", ",", "Ins", ",", "DAG", ")", ";", "if", "(", "PPCSubTarget", ".", "isSVR4ABI", "(", ")", "&&", "!", "PPCSubTarget", ".", "isPPC64", "(", ")", ")", "{", "return", "LowerCall_SVR4", "(", "Chain", ",", "Callee", ",", "CallConv", ",", "isVarArg", ",", "isTailCall", ",", "Outs", ",", "OutVals", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";", "}", "else", "{", "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", "PPC", "PPC", "PPC"], "File": "PPCISelLowering54", "Func": "LowerCall", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5549, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCDAGToDAGISel", "::", "PostprocessISelDAG", "(", ")", "{", "if", "(", "TM", ".", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ")", "return", ";", "PeepholePPC64", "(", ")", ";", "PeepholeCROps", "(", ")", ";", "}", ""], "natrual_language": ["PostprocessISelDAG", "(", ")", "-", "This", "hook", "allows", "the", "target", "to", "hack", "on", "the", "graph", "right", "after", "selection", "."], "TS_V_token": ["PowerPC", "PPC", "PPC"], "File": "PPCISelDAGToDAG102", "Func": "PostprocessISelDAG", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5550, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_vector_mode_supported_p", "(", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_PAIRED_FLOAT", "&&", "PAIRED_VECTOR_MODE", "(", "mode", ")", ")", "return", "true", ";", "if", "(", "TARGET_SPE", "&&", "SPE_VECTOR_MODE", "(", "mode", ")", ")", "return", "true", ";", "else", "if", "(", "VECTOR_MEM_ALTIVEC_OR_VSX_P", "(", "mode", ")", "&&", "!", "FLOAT128_IEEE_P", "(", "mode", ")", ")", "return", "true", ";", "else", "return", "false", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "vector_mode_supported_p", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_vector_mode_supported_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5551, "Length": 54, "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", ";", "MachineBasicBlock", "::", "iterator", "PI", "=", "doMergeWithPrevious", "?", "prior", "(", "MBBI", ")", ":", "MBBI", ";", "MachineBasicBlock", "::", "iterator", "NI", "=", "doMergeWithPrevious", "?", "0", ":", "llvm", "::", "next", "(", "MBBI", ")", ";", "unsigned", "Opc", "=", "PI", "->", "getOpcode", "(", ")", ";", "int", "Offset", "=", "0", ";", "if", "(", "(", "Opc", "==", "X86", "::", "ADD64ri32", "||", "Opc", "==", "X86", "::", "ADD64ri8", "||", "Opc", "==", "X86", "::", "ADD32ri", "||", "Opc", "==", "X86", "::", "ADD32ri8", "||", "Opc", "==", "X86", "::", "LEA32r", "||", "Opc", "==", "X86", "::", "LEA64_32r", ")", "&&", "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", "X86::LEA32r", "X86::LEA64_32r", "0", "2", "X86::SUB64ri32", "X86::SUB64ri8", "X86::SUB32ri", "X86::SUB32ri8", "0", "2"], "File": "X86FrameLowering (2)1", "Func": "mergeSPUpdates", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5552, "Length": 256, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_force_load_from_GOT_p", "(", "rtx", "x", ",", "bool", "call_p", ")", "{", "return", "(", "(", "TARGET_64BIT", "||", "(", "!", "flag_pic", "&&", "HAVE_AS_IX86_GOT32X", ")", ")", "&&", "!", "TARGET_PECOFF", "&&", "!", "TARGET_MACHO", "&&", "(", "!", "flag_pic", "||", "this_is_asm_operands", ")", "&&", "ix86_cmodel", "!=", "CM_LARGE", "&&", "ix86_cmodel", "!=", "CM_LARGE_PIC", "&&", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "(", "(", "!", "call_p", "&&", "(", "!", "ix86_direct_extern_access", "||", "(", "SYMBOL_REF_DECL", "(", "x", ")", "&&", "lookup_attribute", "(", "\"nodirect_extern_access\"", ",", "DECL_ATTRIBUTES", "(", "SYMBOL_REF_DECL", "(", "x", ")", ")", ")", ")", ")", ")", "||", "(", "SYMBOL_REF_FUNCTION_P", "(", "x", ")", "&&", "(", "!", "flag_plt", "||", "(", "SYMBOL_REF_DECL", "(", "x", ")", "&&", "lookup_attribute", "(", "\"noplt\"", ",", "DECL_ATTRIBUTES", "(", "SYMBOL_REF_DECL", "(", "x", ")", ")", ")", ")", ")", ")", ")", "&&", "!", "SYMBOL_REF_LOCAL_P", "(", "x", ")", ")", ";", "}", ""], "natrual_language": ["True", "if", "the", "function", "symbol", "operand", "X", "should", "be", "loaded", "from", "GOT", ".", "NB", ":", "In", "32-bit", "mode", ",", "only", "non-PIC", "is", "allowed", "in", "inline", "assembly", "statements", ",", "since", "a", "PIC", "register", "could", "not", "be", "available", "at", "the", "call", "site", "."], "TS_V_token": ["i386", "\"nodirect_extern_access\"", "\"noplt\""], "File": "i386", "Func": "ix86_force_load_from_GOT_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5553, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "X86RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "X86Subtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "bool", "HasAVX", "=", "Subtarget", ".", "hasAVX", "(", ")", ";", "bool", "HasAVX512", "=", "Subtarget", ".", "hasAVX512", "(", ")", ";", "bool", "CallsEHReturn", "=", "MF", "->", "getMMI", "(", ")", ".", "callsEHReturn", "(", ")", ";", "assert", "(", "MF", "&&", "\"MachineFunction required\"", ")", ";", "switch", "(", "MF", "->", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", ")", "{", "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", "::", "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", "::", "Cold", ":", "if", "(", "Is64Bit", ")", "return", "CSR_64_MostRegs_SaveList", ";", "break", ";", "case", "CallingConv", "::", "X86_64_Win64", ":", "return", "CSR_Win64_SaveList", ";", "case", "CallingConv", "::", "X86_64_SysV", ":", "if", "(", "CallsEHReturn", ")", "return", "CSR_64EHRet_SaveList", ";", "return", "CSR_64_SaveList", ";", "default", ":", "break", ";", "}", "bool", "IsNaCl", "=", "Subtarget", ".", "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", "\"MachineFunction required\"", "X86", "X86"], "File": "X86RegisterInfo87", "Func": "getCalleeSavedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5554, "Length": 289, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "push_regs", "(", "HARD_REG_SET", "*", "mask", ",", "int", "interrupt_handler", ")", "{", "int", "i", ";", "int", "skip_fpscr", "=", "0", ";", "for", "(", "i", "=", "0", ";", "i", "<", "FIRST_PSEUDO_REGISTER", ";", "i", "++", ")", "{", "if", "(", "i", "==", "FIRST_FP_REG", "&&", "interrupt_handler", "&&", "TARGET_FMOVD", "&&", "hard_regs_intersect_p", "(", "mask", ",", "&", "reg_class_contents", "[", "DF_REGS", "]", ")", ")", "{", "HARD_REG_SET", "unsaved", ";", "push", "(", "FPSCR_REG", ")", ";", "COMPL_HARD_REG_SET", "(", "unsaved", ",", "*", "mask", ")", ";", "fpscr_set_from_mem", "(", "NORMAL_MODE", "(", "FP_MODE", ")", ",", "unsaved", ")", ";", "skip_fpscr", "=", "1", ";", "}", "if", "(", "i", "!=", "PR_REG", "&&", "(", "i", "!=", "FPSCR_REG", "||", "!", "skip_fpscr", ")", "&&", "TEST_HARD_REG_BIT", "(", "*", "mask", ",", "i", ")", ")", "push", "(", "i", ")", ";", "}", "if", "(", "TEST_HARD_REG_BIT", "(", "*", "mask", ",", "PR_REG", ")", ")", "push", "(", "PR_REG", ")", ";", "}", ""], "natrual_language": ["Generate", "code", "to", "push", "the", "regs", "specified", "in", "the", "mask", ".", "remember", "that", "the", "mask", "is", "of", "the", "internal", "shape", "of", "the", "regs", ",", "not", "the", "external", "shape", "-", "so", "go", "through", "the", "renumber", "vector"], "TS_V_token": ["sh", "0", "0", "1"], "File": "sh3", "Func": "push_regs", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5555, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZTDCPass", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "auto", "&", "TPC", "=", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ";", "if", "(", "TPC", ".", "getTM", "<", "TargetMachine", ">", "(", ")", ".", "getSubtarget", "<", "SystemZSubtarget", ">", "(", "F", ")", ".", "hasSoftFloat", "(", ")", ")", "return", "false", ";", "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", ";", "Function", "*", "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", "SystemZ", "0", "1", "0", "Intrinsic::getDeclaration", "Intrinsic::s390_tdc"], "File": "SystemZTDC6", "Func": "runOnFunction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5556, "Length": 456, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMRange", "getLocRange", "(", ")", "const", "{", "return", "SMRange", "(", "StartLoc", ",", "EndLoc", ")", ";", "}", ""], "natrual_language": ["getLocRange", "-", "Get", "the", "range", "between", "the", "first", "and", "last", "token", "of", "this", "operand", "."], "TS_V_token": ["X86"], "File": "X86AsmParser (2)2", "Func": "getLocRange", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5557, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsTargetMachine", "&", "getTargetMachine", "(", ")", "{", "return", "static_cast", "<", "const", "MipsTargetMachine", "&", ">", "(", "TM", ")", ";", "}", ""], "natrual_language": ["Return", "the", "target", "machine", "(", "if", "available", ")", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsISelDAGToDAG11", "Func": "getTargetMachine", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5558, "Length": 19, "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", "::", "SwiftTail", ":", "return", "IsWin64", "?", "CSR_Win64_SwiftTail_RegMask", ":", "CSR_64_SwiftTail_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": "X86RegisterInfo98", "Func": "getCallPreservedMask", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5559, "Length": 442, "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": 5560, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "X86TargetLowering", "::", "getSafeStackPointerLocation", "(", "IRBuilder", "<", ">", "&", "IRB", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "isTargetAndroid", "(", ")", ")", "return", "TargetLowering", "::", "getSafeStackPointerLocation", "(", "IRB", ")", ";", "unsigned", "AddressSpace", ",", "Offset", ";", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "{", "Offset", "=", "0x48", ";", "if", "(", "getTargetMachine", "(", ")", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Kernel", ")", "AddressSpace", "=", "256", ";", "else", "AddressSpace", "=", "257", ";", "}", "else", "{", "Offset", "=", "0x24", ";", "AddressSpace", "=", "256", ";", "}", "return", "ConstantExpr", "::", "getIntToPtr", "(", "ConstantInt", "::", "get", "(", "Type", "::", "getInt32Ty", "(", "IRB", ".", "getContext", "(", ")", ")", ",", "Offset", ")", ",", "Type", "::", "getInt8PtrTy", "(", "IRB", ".", "getContext", "(", ")", ")", "->", "getPointerTo", "(", "AddressSpace", ")", ")", ";", "}", ""], "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", "256", "257", "0x24", "256"], "File": "X86ISelLowering149", "Func": "getSafeStackPointerLocation", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5561, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCFastISel", "::", "fastEmitInst_r", "(", "unsigned", "MachineInstOpcode", ",", "const", "TargetRegisterClass", "*", "RC", ",", "unsigned", "Op0", ",", "bool", "Op0IsKill", ")", "{", "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", ",", "Op0IsKill", ")", ";", "}", ""], "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": "PPCFastISel (2)", "Func": "fastEmitInst_r", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5562, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LC3TargetLowering", "::", "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", ")", ";", "if", "(", "!", "CCInfo", ".", "CheckReturn", "(", "Outs", ",", "RetCC_LC3", ")", ")", "{", "return", "false", ";", "}", "if", "(", "CCInfo", ".", "getNextStackOffset", "(", ")", "!=", "0", "&&", "isVarArg", ")", "{", "return", "false", ";", "}", "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": ["LC3", "LC3", "ISD::OutputArg", "16", "LC3", "0"], "File": "LC3ISelLowering", "Func": "CanLowerReturn", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5563, "Length": 93, "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", ")", "{", "StackMapOpers", "Opers", "(", "&", "MI", ")", ";", "return", "Opers", ".", "getNumPatchBytes", "(", ")", ";", "}", "else", "if", "(", "Opcode", "==", "TargetOpcode", "::", "PATCHPOINT", ")", "{", "PatchPointOpers", "Opers", "(", "&", "MI", ")", ";", "return", "Opers", ".", "getNumPatchBytes", "(", ")", ";", "}", "else", "{", "return", "get", "(", "Opcode", ")", ".", "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"], "File": "PPCInstrInfo (2)2", "Func": "getInstSizeInBytes", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5564, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_emit_stack_v3push", "(", "unsigned", "Rb", ",", "unsigned", "Re", ",", "unsigned", "imm8u", ")", "{", "unsigned", "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", "=", "Re", "-", "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", "=", "Rb", ";", "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", "(", "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", "(", "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", "(", "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", "(", "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", "(", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", "-", "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": "nds32", "Func": "nds32_emit_stack_v3push", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5565, "Length": 397, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64Subtarget", "::", "supportsAddressTopByteIgnored", "(", ")", "const", "{", "if", "(", "!", "UseAddressTopByteIgnored", ")", "return", "false", ";", "if", "(", "TargetTriple", ".", "isDriverKit", "(", ")", ")", "return", "true", ";", "if", "(", "TargetTriple", ".", "isiOS", "(", ")", ")", "{", "return", "TargetTriple", ".", "getiOSVersion", "(", ")", ">=", "VersionTuple", "(", "8", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["CPU", "has", "TBI", "(", "top", "byte", "of", "addresses", "is", "ignored", "during", "HW", "address", "translation", ")", "and", "OS", "enables", "it", "."], "TS_V_token": ["AArch64", "AArch64", "8"], "File": "AArch64Subtarget36", "Func": "supportsAddressTopByteIgnored", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5566, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Bucket", "(", "const", "SCEV", "*", "B", ",", "Instruction", "*", "I", ")", ":", "BaseSCEV", "(", "B", ")", ",", "Elements", "(", "1", ",", "BucketElement", "(", "I", ")", ")", "{", "}", ""], "natrual_language": ["The", "bucket", "assigned", "by", "balanced", "partitioning", "."], "TS_V_token": ["PowerPC", "1"], "File": "PPCLoopInstrFormPrep1", "Func": "Bucket", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5567, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_for_each_saved_reg", "(", "HOST_WIDE_INT", "sp_offset", ",", "mips_save_restore_fn", "fn", ")", "{", "enum", "machine_mode", "fpr_mode", ";", "HOST_WIDE_INT", "offset", ";", "int", "regno", ";", "offset", "=", "cfun", "->", "machine", "->", "frame", ".", "gp_sp_offset", "-", "sp_offset", ";", "for", "(", "regno", "=", "GP_REG_LAST", ";", "regno", ">=", "GP_REG_FIRST", ";", "regno", "--", ")", "if", "(", "BITSET_P", "(", "cfun", "->", "machine", "->", "frame", ".", "mask", ",", "regno", "-", "GP_REG_FIRST", ")", ")", "{", "mips_save_restore_reg", "(", "gpr_mode", ",", "regno", ",", "offset", ",", "fn", ")", ";", "offset", "-=", "GET_MODE_SIZE", "(", "gpr_mode", ")", ";", "}", "offset", "=", "cfun", "->", "machine", "->", "frame", ".", "fp_sp_offset", "-", "sp_offset", ";", "fpr_mode", "=", "(", "TARGET_SINGLE_FLOAT", "?", "SFmode", ":", "DFmode", ")", ";", "for", "(", "regno", "=", "(", "FP_REG_LAST", "-", "FP_INC", "+", "1", ")", ";", "regno", ">=", "FP_REG_FIRST", ";", "regno", "-=", "FP_INC", ")", "if", "(", "BITSET_P", "(", "cfun", "->", "machine", "->", "frame", ".", "fmask", ",", "regno", "-", "FP_REG_FIRST", ")", ")", "{", "mips_save_restore_reg", "(", "fpr_mode", ",", "regno", ",", "offset", ",", "fn", ")", ";", "offset", "-=", "GET_MODE_SIZE", "(", "fpr_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": ["mips", "1"], "File": "mips3", "Func": "mips_for_each_saved_reg", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5568, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "iq2000_setup_incoming_varargs", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", ",", "int", "*", "pretend_size", ",", "int", "no_rtl", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "unsigned", "int", "iq2000_off", "=", "!", "cum", "->", "last_arg_fp", ";", "unsigned", "int", "iq2000_fp_off", "=", "cum", "->", "last_arg_fp", ";", "if", "(", "(", "cum", "->", "arg_words", "<", "MAX_ARGS_IN_REGISTERS", "-", "iq2000_off", ")", ")", "{", "int", "iq2000_save_gp_regs", "=", "MAX_ARGS_IN_REGISTERS", "-", "cum", "->", "arg_words", "-", "iq2000_off", ";", "int", "iq2000_save_fp_regs", "=", "(", "MAX_ARGS_IN_REGISTERS", "-", "cum", "->", "fp_arg_words", "-", "iq2000_fp_off", ")", ";", "if", "(", "iq2000_save_gp_regs", "<", "0", ")", "iq2000_save_gp_regs", "=", "0", ";", "if", "(", "iq2000_save_fp_regs", "<", "0", ")", "iq2000_save_fp_regs", "=", "0", ";", "*", "pretend_size", "=", "(", "(", "iq2000_save_gp_regs", "*", "UNITS_PER_WORD", ")", "+", "(", "iq2000_save_fp_regs", "*", "UNITS_PER_FPREG", ")", ")", ";", "if", "(", "!", "(", "no_rtl", ")", ")", "{", "if", "(", "cum", "->", "arg_words", "<", "MAX_ARGS_IN_REGISTERS", "-", "iq2000_off", ")", "{", "rtx", "ptr", ",", "mem", ";", "ptr", "=", "plus_constant", "(", "Pmode", ",", "virtual_incoming_args_rtx", ",", "-", "(", "iq2000_save_gp_regs", "*", "UNITS_PER_WORD", ")", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "BLKmode", ",", "ptr", ")", ";", "move_block_from_reg", "(", "cum", "->", "arg_words", "+", "GP_ARG_FIRST", "+", "iq2000_off", ",", "mem", ",", "iq2000_save_gp_regs", ")", ";", "}", "}", "}", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["iq2000", "0", "0", "0", "0"], "File": "iq2000", "Func": "iq2000_setup_incoming_varargs", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5569, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "SICTargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", ",", "LLVMContext", "&", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "MVT", "::", "i24", ";", "return", "VT", ".", "changeVectorElementTypeToInteger", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["SIC", "SIC", "MVT::i24"], "File": "SICISelLowering", "Func": "getSetCCResultType", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5570, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "getTargetNode", "(", "BlockAddressSDNode", "*", "N", ",", "EVT", "Ty", ",", "SelectionDAG", "&", "DAG", ",", "unsigned", "Flag", ")", "const", "{", "return", "DAG", ".", "getTargetBlockAddress", "(", "N", "->", "getBlockAddress", "(", ")", ",", "Ty", ",", "0", ",", "Flag", ")", ";", "}", ""], "natrual_language": ["Retrieve", "the", "target", "node", "this", "edge", "connects", "to", "."], "TS_V_token": ["AArch64", "AArch64", "0"], "File": "AArch64ISelLowering (2)2", "Func": "getTargetNode", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5571, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "min_insn_size", "(", "rtx", "insn", ")", "{", "int", "l", "=", "0", ";", "if", "(", "!", "INSN_P", "(", "insn", ")", "||", "!", "active_insn_p", "(", "insn", ")", ")", "return", "0", ";", "if", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "UNSPEC_VOLATILE", "&&", "XINT", "(", "PATTERN", "(", "insn", ")", ",", "1", ")", "==", "UNSPECV_ALIGN", ")", "return", "0", ";", "if", "(", "GET_CODE", "(", "insn", ")", "==", "JUMP_INSN", "&&", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "ADDR_VEC", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "ADDR_DIFF_VEC", ")", ")", "return", "0", ";", "if", "(", "GET_CODE", "(", "insn", ")", "==", "CALL_INSN", "&&", "symbolic_reference_mentioned_p", "(", "PATTERN", "(", "insn", ")", ")", "&&", "!", "SIBLING_CALL_P", "(", "insn", ")", ")", "return", "5", ";", "if", "(", "get_attr_length", "(", "insn", ")", "<=", "1", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "insn", ")", "!=", "JUMP_INSN", ")", "{", "l", "=", "get_attr_length_address", "(", "insn", ")", ";", "if", "(", "l", "<", "4", "&&", "symbolic_reference_mentioned_p", "(", "PATTERN", "(", "insn", ")", ")", ")", "l", "=", "4", ";", "}", "if", "(", "l", ")", "return", "1", "+", "l", ";", "else", "return", "2", ";", "}", ""], "natrual_language": ["We", "do", "n't", "have", "exact", "information", "about", "the", "insn", "sizes", ",", "but", "we", "may", "assume", "quite", "safely", "that", "we", "are", "informed", "about", "all", "1", "byte", "insns", "and", "memory", "address", "sizes", ".", "This", "is", "enough", "to", "eliminate", "unnecessary", "padding", "in", "99", "%", "of", "cases", "."], "TS_V_token": ["i386", "0", "0", "1", "0", "0", "5", "1", "1", "4", "4", "1", "2"], "File": "i3863", "Func": "min_insn_size", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5572, "Length": 179, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "DCPU16DAGToDAGISel", "::", "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": ["Dcpu16", "DCPU16"], "File": "Dcpu16ISelDAGToDAG", "Func": "SelectInlineAsmMemoryOperand", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5573, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "iq2000_modes_tieable_p", "(", "machine_mode", "mode1", ",", "machine_mode", "mode2", ")", "{", "return", "(", "(", "GET_MODE_CLASS", "(", "mode1", ")", "==", "MODE_FLOAT", "||", "GET_MODE_CLASS", "(", "mode1", ")", "==", "MODE_COMPLEX_FLOAT", ")", "==", "(", "GET_MODE_CLASS", "(", "mode2", ")", "==", "MODE_FLOAT", "||", "GET_MODE_CLASS", "(", "mode2", ")", "==", "MODE_COMPLEX_FLOAT", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MODES_TIEABLE_P", "."], "TS_V_token": ["iq2000"], "File": "iq2000", "Func": "iq2000_modes_tieable_p", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5574, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMExpandPseudo", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "TargetMachine", "&", "TM", "=", "MF", ".", "getTarget", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "TM", ".", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "TM", ".", "getSubtargetImpl", "(", ")", "->", "getRegisterInfo", "(", ")", ";", "STI", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "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", "ARM", "\"After expanding ARM pseudo instructions.\""], "File": "ARMExpandPseudoInsts67", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5575, "Length": 134, "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", ".", "hasOptNone", "(", ")", ")", "OptimizationGoal", "=", "6", ";", "else", "if", "(", "F", ".", "hasMinSize", "(", ")", ")", "OptimizationGoal", "=", "4", ";", "else", "if", "(", "F", ".", "hasOptSize", "(", ")", ")", "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", "(", "std", "::", "pair", "<", "unsigned", ",", "MCSymbol", "*", ">", "&", "TIP", ":", "ThumbIndirectPads", ")", "{", "OutStreamer", "->", "EmitLabel", "(", "TIP", ".", "second", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "MCInstBuilder", "(", "ARM", "::", "tBX", ")", ".", "addReg", "(", "TIP", ".", "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", "ARM::tBX", "ARMCC::AL", "0"], "File": "ARMAsmPrinter105", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5576, "Length": 364, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ",", "MCContext", "&", "Ctx", ")", "const", "{", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "+", "7", ")", "/", "8", ";", "unsigned", "FullSize", ";", "switch", "(", "(", "unsigned", ")", "Kind", ")", "{", "case", "FK_Data_2", ":", "case", "Mips", "::", "fixup_Mips_16", ":", "case", "Mips", "::", "fixup_MICROMIPS_PC10_S1", ":", "FullSize", "=", "2", ";", "break", ";", "case", "FK_Data_8", ":", "case", "Mips", "::", "fixup_Mips_64", ":", "FullSize", "=", "8", ";", "break", ";", "case", "FK_Data_4", ":", "default", ":", "FullSize", "=", "4", ";", "break", ";", "}", "uint64_t", "CurVal", "=", "0", ";", "bool", "microMipsLEByteOrder", "=", "needsMMLEByteOrder", "(", "(", "unsigned", ")", "Kind", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittle", "?", "(", "microMipsLEByteOrder", "?", "calculateMMLEIndex", "(", "i", ")", ":", "i", ")", ":", "(", "FullSize", "-", "1", "-", "i", ")", ";", "CurVal", "|=", "(", "uint64_t", ")", "(", "(", "uint8_t", ")", "Data", "[", "Offset", "+", "Idx", "]", ")", "<<", "(", "i", "*", "8", ")", ";", "}", "uint64_t", "Mask", "=", "(", "(", "uint64_t", ")", "(", "-", "1", ")", ">>", "(", "64", "-", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", ")", ";", "CurVal", "|=", "Value", "&", "Mask", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittle", "?", "(", "microMipsLEByteOrder", "?", "calculateMMLEIndex", "(", "i", ")", ":", "i", ")", ":", "(", "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": ["Mips", "Mips", "7", "8", "Mips::fixup_Mips_16", "Mips::fixup_MICROMIPS_PC10_S1", "2", "Mips::fixup_Mips_64", "8", "4", "0", "Mips", "0", "Mips", "1", "8", "1", "64", "0", "Mips", "1", "8", "0xff"], "File": "MipsAsmBackend10", "Func": "applyFixup", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5577, "Length": 311, "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": 5578, "Length": 11, "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": 5579, "Length": 472, "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": 5580, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "getRepRegClassFor", "(", "MVT", "VT", ")", "const", "override", "{", "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", "MVT::Untyped", "Mips::ACC64DSPRegClass", "Mips::ACC64RegClass"], "File": "MipsSEISelLowering19", "Func": "getRepRegClassFor", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5581, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "Check", "(", "DecodeStatus", "&", "Out", ",", "DecodeStatus", "In", ")", "{", "switch", "(", "In", ")", "{", "case", "MCDisassembler", "::", "Success", ":", "return", "true", ";", "case", "MCDisassembler", "::", "SoftFail", ":", "Out", "=", "In", ";", "return", "true", ";", "case", "MCDisassembler", "::", "Fail", ":", "Out", "=", "In", ";", "return", "false", ";", "}", "llvm_unreachable", "(", "\"Invalid DecodeStatus!\"", ")", ";", "}", ""], "natrual_language": ["Matches", "check", "string", "and", "its", "``", "not", "strings", "''", "and/or", "``", "dag", "strings", "''", "."], "TS_V_token": ["AArch64", "\"Invalid DecodeStatus!\""], "File": "AArch64Disassembler (2)2", "Func": "Check", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5582, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "X86_MACHINEINSTR_PRINTER_PASS_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "X86"], "File": "printInfo", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5583, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "check_builtin_call", "(", "location_t", "location", ",", "vec", "<", "location_t", ">", ",", "unsigned", "int", "code", ",", "tree", "fndecl", ",", "unsigned", "int", "nargs", ",", "tree", "*", "args", ")", "{", "const", "registered_function", "&", "rfn", "=", "*", "(", "*", "registered_functions", ")", "[", "code", "]", ";", "if", "(", "!", "check_required_extensions", "(", "location", ",", "rfn", ".", "decl", ",", "rfn", ".", "required_extensions", ")", ")", "return", "false", ";", "return", "function_checker", "(", "location", ",", "rfn", ".", "instance", ",", "fndecl", ",", "TREE_TYPE", "(", "rfn", ".", "decl", ")", ",", "nargs", ",", "args", ")", ".", "check", "(", ")", ";", "}", ""], "natrual_language": ["Perform", "any", "semantic", "checks", "needed", "for", "a", "call", "to", "the", "SVE", "function", "with", "subcode", "CODE", ",", "such", "as", "testing", "for", "integer", "constant", "expressions", ".", "The", "call", "occurs", "at", "location", "LOCATION", "and", "has", "NARGS", "arguments", ",", "given", "by", "ARGS", ".", "FNDECL", "is", "the", "original", "function", "decl", ",", "before", "overload", "resolution", ".", "Return", "true", "if", "the", "call", "is", "valid", ",", "otherwise", "report", "a", "suitable", "error", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "check_builtin_call", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5584, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_memory_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "regclass", ",", "bool", "in", ")", "{", "return", "inline_memory_move_cost", "(", "mode", ",", "(", "enum", "reg_class", ")", "regclass", ",", "in", "?", "1", ":", "0", ")", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "moving", "data", "of", "mode", "M", "between", "a", "register", "and", "memory", ".", "A", "value", "of", "2", "is", "the", "default", ";", "this", "cost", "is", "relative", "to", "those", "in", "`", "REGISTER_MOVE_COST", "'", ".", "If", "moving", "between", "registers", "and", "memory", "is", "more", "expensive", "than", "between", "two", "registers", ",", "you", "should", "define", "this", "macro", "to", "express", "the", "relative", "cost", ".", "Model", "also", "increased", "moving", "costs", "of", "QImode", "registers", "in", "non", "Q_REGS", "classes", "."], "TS_V_token": ["i386", "1", "0"], "File": "i386", "Func": "ix86_memory_move_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5585, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64InstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ")", "{", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "AArch64", "::", "TLSDESCCALL", ")", "{", "O", "<<", "\"\\t.tlsdesccall \"", "<<", "*", "MI", "->", "getOperand", "(", "0", ")", ".", "getExpr", "(", ")", ";", "}", "else", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "O", ")", ")", "printInstruction", "(", "MI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::TLSDESCCALL", "\"\\t.tlsdesccall \"", "0"], "File": "AArch64InstPrinter17", "Func": "printInst", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5586, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "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_X86", ")", ";", "}", ""], "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": ["X86", "X86", "ISD::OutputArg", "16", "X86"], "File": "X86ISelLowering (2)4", "Func": "CanLowerReturn", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5587, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "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", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "Context", ")", ";", "return", "CCInfo", ".", "CheckReturn", "(", "Outs", ",", "CCAssignFnForNode", "(", "CallConv", ",", "true", ",", "isVarArg", ")", ")", ";", "}", ""], "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": ["ARM", "ARM", "ISD::OutputArg", "16"], "File": "ARMISelLowering (2)", "Func": "CanLowerReturn", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5588, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "iq2000_asm_trampoline_template", "(", "FILE", "*", "f", ")", "{", "fprintf", "(", "f", ",", "\"\\t.word\\t0x03e00821\\t\\t# move $1,$31\\n\"", ")", ";", "fprintf", "(", "f", ",", "\"\\t.word\\t0x04110001\\t\\t# bgezal $0,.+8\\n\"", ")", ";", "fprintf", "(", "f", ",", "\"\\t.word\\t0x00000000\\t\\t# nop\\n\"", ")", ";", "if", "(", "Pmode", "==", "DImode", ")", "{", "fprintf", "(", "f", ",", "\"\\t.word\\t0xdfe30014\\t\\t# ld $3,20($31)\\n\"", ")", ";", "fprintf", "(", "f", ",", "\"\\t.word\\t0xdfe2001c\\t\\t# ld $2,28($31)\\n\"", ")", ";", "}", "else", "{", "fprintf", "(", "f", ",", "\"\\t.word\\t0x8fe30014\\t\\t# lw $3,20($31)\\n\"", ")", ";", "fprintf", "(", "f", ",", "\"\\t.word\\t0x8fe20018\\t\\t# lw $2,24($31)\\n\"", ")", ";", "}", "fprintf", "(", "f", ",", "\"\\t.word\\t0x0060c821\\t\\t# move $25,$3 (abicalls)\\n\"", ")", ";", "fprintf", "(", "f", ",", "\"\\t.word\\t0x00600008\\t\\t# jr $3\\n\"", ")", ";", "fprintf", "(", "f", ",", "\"\\t.word\\t0x0020f821\\t\\t# move $31,$1\\n\"", ")", ";", "fprintf", "(", "f", ",", "\"\\t.word\\t0x00000000\\t\\t# \\n\"", ")", ";", "fprintf", "(", "f", ",", "\"\\t.word\\t0x00000000\\t\\t# \\n\"", ")", ";", "}", ""], "natrual_language": ["Worker", "for", "TARGET_ASM_TRAMPOLINE_TEMPLATE", "."], "TS_V_token": ["iq2000", "\"\\t.word\\t0x03e00821\\t\\t# move $1,$31\\n\"", "\"\\t.word\\t0x04110001\\t\\t# bgezal $0,.+8\\n\"", "\"\\t.word\\t0x00000000\\t\\t# nop\\n\"", "\"\\t.word\\t0xdfe30014\\t\\t# ld $3,20($31)\\n\"", "\"\\t.word\\t0xdfe2001c\\t\\t# ld $2,28($31)\\n\"", "\"\\t.word\\t0x8fe30014\\t\\t# lw $3,20($31)\\n\"", "\"\\t.word\\t0x8fe20018\\t\\t# lw $2,24($31)\\n\"", "\"\\t.word\\t0x0060c821\\t\\t# move $25,$3 (abicalls)\\n\"", "\"\\t.word\\t0x00600008\\t\\t# jr $3\\n\"", "\"\\t.word\\t0x0020f821\\t\\t# move $31,$1\\n\"", "\"\\t.word\\t0x00000000\\t\\t# \\n\"", "\"\\t.word\\t0x00000000\\t\\t# \\n\""], "File": "iq2000", "Func": "iq2000_asm_trampoline_template", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5589, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isImm", "(", ")", "const", "override", "{", "return", "Kind", "==", "Immediate", ";", "}", ""], "natrual_language": ["isImm", "-", "Is", "this", "an", "immediate", "operand", "?"], "TS_V_token": ["MMIX"], "File": "MMIXAsmParser", "Func": "isImm", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5590, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "vax_trampoline_init", "(", "rtx", "m_tramp", ",", "tree", "fndecl", ",", "rtx", "cxt", ")", "{", "rtx", "fnaddr", "=", "XEXP", "(", "DECL_RTL", "(", "fndecl", ")", ",", "0", ")", ";", "rtx", "mem", ";", "emit_block_move", "(", "m_tramp", ",", "assemble_trampoline_template", "(", ")", ",", "GEN_INT", "(", "TRAMPOLINE_SIZE", ")", ",", "BLOCK_OP_NORMAL", ")", ";", "mem", "=", "adjust_address", "(", "m_tramp", ",", "HImode", ",", "0", ")", ";", "emit_move_insn", "(", "mem", ",", "gen_const_mem", "(", "HImode", ",", "fnaddr", ")", ")", ";", "mem", "=", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "4", ")", ";", "emit_move_insn", "(", "mem", ",", "cxt", ")", ";", "mem", "=", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "11", ")", ";", "emit_move_insn", "(", "mem", ",", "plus_constant", "(", "Pmode", ",", "fnaddr", ",", "2", ")", ")", ";", "emit_insn", "(", "gen_sync_istream", "(", ")", ")", ";", "}", ""], "natrual_language": ["We", "copy", "the", "register-mask", "from", "the", "function", "'s", "pure", "code", "to", "the", "start", "of", "the", "trampoline", "."], "TS_V_token": ["vax", "0", "0", "4", "11", "2"], "File": "vax", "Func": "vax_trampoline_init", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5591, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "KudeyarInstrInfo", "::", "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", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Kudeyar", "::", "MOV_MR32", ")", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "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": ["Kudeyar", "Kudeyar", "Kudeyar::MOV_MR32", "0"], "File": "KudeyarInstrInfo", "Func": "storeRegToStackSlot", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5592, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_libgcc_floating_mode_supported_p", "(", "scalar_float_mode", "mode", ")", "{", "return", "(", "(", "mode", "==", "HFmode", "&&", "TARGET_SSE2", ")", "?", "true", ":", "default_libgcc_floating_mode_supported_p", "(", "mode", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "target", "hook", "libgcc_floating_mode_supported_p", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_libgcc_floating_mode_supported_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5593, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "AArch64TargetLowering", "::", "getScalingFactorCost", "(", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ")", "const", "{", "if", "(", "isLegalAddressingMode", "(", "AM", ",", "Ty", ",", "AS", ")", ")", "return", "AM", ".", "Scale", "!=", "0", "&&", "AM", ".", "Scale", "!=", "1", ";", "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": ["AArch64", "AArch64", "0", "1", "1"], "File": "AArch64ISelLowering116", "Func": "getScalingFactorCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5594, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintWeight", "SystemZTargetLowering", "::", "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", "'a'", ":", "case", "'d'", ":", "case", "'h'", ":", "case", "'r'", ":", "if", "(", "CallOperandVal", "->", "getType", "(", ")", "->", "isIntegerTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'f'", ":", "if", "(", "type", "->", "isFloatingPointTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'v'", ":", "if", "(", "(", "type", "->", "isVectorTy", "(", ")", "||", "type", "->", "isFloatingPointTy", "(", ")", ")", "&&", "Subtarget", ".", "hasVector", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'I'", ":", "if", "(", "auto", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "if", "(", "isUInt", "<", "8", ">", "(", "C", "->", "getZExtValue", "(", ")", ")", ")", "weight", "=", "CW_Constant", ";", "break", ";", "case", "'J'", ":", "if", "(", "auto", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "if", "(", "isUInt", "<", "12", ">", "(", "C", "->", "getZExtValue", "(", ")", ")", ")", "weight", "=", "CW_Constant", ";", "break", ";", "case", "'K'", ":", "if", "(", "auto", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "if", "(", "isInt", "<", "16", ">", "(", "C", "->", "getSExtValue", "(", ")", ")", ")", "weight", "=", "CW_Constant", ";", "break", ";", "case", "'L'", ":", "if", "(", "auto", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "if", "(", "isInt", "<", "20", ">", "(", "C", "->", "getSExtValue", "(", ")", ")", ")", "weight", "=", "CW_Constant", ";", "break", ";", "case", "'M'", ":", "if", "(", "auto", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "if", "(", "C", "->", "getZExtValue", "(", ")", "==", "0x7fffffff", ")", "weight", "=", "CW_Constant", ";", "break", ";", "}", "return", "weight", ";", "}", ""], "natrual_language": ["Examine", "constraint", "string", "and", "operand", "type", "and", "determine", "a", "weight", "value", "."], "TS_V_token": ["SystemZ", "SystemZ", "8", "12", "16", "20", "0x7fffffff"], "File": "SystemZISelLowering (2)2", "Func": "getSingleConstraintMatchWeight", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5595, "Length": 334, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isNoopAddrSpaceCast", "(", "unsigned", "SrcAS", ",", "unsigned", "DestAS", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "a", "cast", "between", "SrcAS", "and", "DestAS", "is", "a", "noop", "."], "TS_V_token": ["ARM"], "File": "ARMISelLowering (2)1", "Func": "isNoopAddrSpaceCast", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5596, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "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": ["X86", "X86"], "File": "X86TargetMachine101", "Func": "addLegalizeMachineIR", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5597, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips16_rewrite_pool_refs", "(", "rtx", "*", "x", ",", "void", "*", "data", ")", "{", "struct", "mips16_constant_pool", "*", "pool", "=", "data", ";", "if", "(", "GET_CODE", "(", "*", "x", ")", "==", "SYMBOL_REF", "&&", "CONSTANT_POOL_ADDRESS_P", "(", "*", "x", ")", ")", "*", "x", "=", "gen_rtx_LABEL_REF", "(", "Pmode", ",", "add_constant", "(", "pool", ",", "get_pool_constant", "(", "*", "x", ")", ",", "get_pool_mode", "(", "*", "x", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Rewrite", "*", "X", "so", "that", "constant", "pool", "references", "refer", "to", "the", "constant", "'s", "label", "instead", ".", "DATA", "points", "to", "the", "constant", "pool", "structure", "."], "TS_V_token": ["mips", "0"], "File": "mips3", "Func": "mips16_rewrite_pool_refs", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5598, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb2SizeReduce", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "TargetMachine", "&", "TM", "=", "MF", ".", "getTarget", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "Thumb2InstrInfo", "*", ">", "(", "TM", ".", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ")", ";", "STI", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "AttributeSet", "FnAttrs", "=", "MF", ".", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ";", "OptimizeSize", "=", "FnAttrs", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "OptimizeForSize", ")", ";", "MinimizeSize", "=", "FnAttrs", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "MinSize", ")", ";", "BlockInfo", ".", "clear", "(", ")", ";", "BlockInfo", ".", "resize", "(", "MF", ".", "getNumBlockIDs", "(", ")", ")", ";", "ReversePostOrderTraversal", "<", "MachineFunction", "*", ">", "RPOT", "(", "&", "MF", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "ReversePostOrderTraversal", "<", "MachineFunction", "*", ">", "::", "rpo_iterator", "I", "=", "RPOT", ".", "begin", "(", ")", ",", "E", "=", "RPOT", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Modified", "|=", "ReduceMBB", "(", "*", "*", "I", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM"], "File": "Thumb2SizeReduction53", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5599, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_update_cpp_builtins", "(", "cpp_reader", "*", "pfile", ")", "{", "aarch64_def_or_undef", "(", "flag_unsafe_math_optimizations", ",", "\"__ARM_FP_FAST\"", ",", "pfile", ")", ";", "builtin_define_with_int_value", "(", "\"__ARM_ARCH\"", ",", "aarch64_architecture_version", ")", ";", "builtin_define_with_int_value", "(", "\"__ARM_SIZEOF_MINIMAL_ENUM\"", ",", "flag_short_enums", "?", "1", ":", "4", ")", ";", "aarch64_def_or_undef", "(", "TARGET_BIG_END", ",", "\"__AARCH64EB__\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_BIG_END", ",", "\"__ARM_BIG_ENDIAN\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "!", "TARGET_BIG_END", ",", "\"__AARCH64EL__\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_FLOAT", ",", "\"__ARM_FEATURE_FMA\"", ",", "pfile", ")", ";", "if", "(", "TARGET_FLOAT", "||", "TARGET_SIMD", ")", "{", "builtin_define_with_int_value", "(", "\"__ARM_FP\"", ",", "0x0E", ")", ";", "builtin_define", "(", "\"__ARM_FP16_FORMAT_IEEE\"", ")", ";", "builtin_define", "(", "\"__ARM_FP16_ARGS\"", ")", ";", "}", "else", "cpp_undef", "(", "pfile", ",", "\"__ARM_FP\"", ")", ";", "aarch64_def_or_undef", "(", "TARGET_FP_F16INST", ",", "\"__ARM_FEATURE_FP16_SCALAR_ARITHMETIC\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_SIMD_F16INST", ",", "\"__ARM_FEATURE_FP16_VECTOR_ARITHMETIC\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_SIMD", ",", "\"__ARM_FEATURE_NUMERIC_MAXMIN\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_SIMD", ",", "\"__ARM_NEON\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_CRC32", ",", "\"__ARM_FEATURE_CRC32\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_DOTPROD", ",", "\"__ARM_FEATURE_DOTPROD\"", ",", "pfile", ")", ";", "cpp_undef", "(", "pfile", ",", "\"__AARCH64_CMODEL_TINY__\"", ")", ";", "cpp_undef", "(", "pfile", ",", "\"__AARCH64_CMODEL_SMALL__\"", ")", ";", "cpp_undef", "(", "pfile", ",", "\"__AARCH64_CMODEL_LARGE__\"", ")", ";", "switch", "(", "aarch64_cmodel", ")", "{", "case", "AARCH64_CMODEL_TINY", ":", "case", "AARCH64_CMODEL_TINY_PIC", ":", "builtin_define", "(", "\"__AARCH64_CMODEL_TINY__\"", ")", ";", "break", ";", "case", "AARCH64_CMODEL_SMALL", ":", "case", "AARCH64_CMODEL_SMALL_PIC", ":", "builtin_define", "(", "\"__AARCH64_CMODEL_SMALL__\"", ")", ";", "break", ";", "case", "AARCH64_CMODEL_LARGE", ":", "builtin_define", "(", "\"__AARCH64_CMODEL_LARGE__\"", ")", ";", "break", ";", "default", ":", "break", ";", "}", "aarch64_def_or_undef", "(", "TARGET_ILP32", ",", "\"_ILP32\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_ILP32", ",", "\"__ILP32__\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_CRYPTO", ",", "\"__ARM_FEATURE_CRYPTO\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_SIMD_RDMA", ",", "\"__ARM_FEATURE_QRDMX\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_SVE", ",", "\"__ARM_FEATURE_SVE\"", ",", "pfile", ")", ";", "cpp_undef", "(", "pfile", ",", "\"__ARM_FEATURE_SVE_BITS\"", ")", ";", "if", "(", "TARGET_SVE", ")", "{", "int", "bits", ";", "if", "(", "!", "BITS_PER_SVE_VECTOR", ".", "is_constant", "(", "&", "bits", ")", ")", "bits", "=", "0", ";", "builtin_define_with_int_value", "(", "\"__ARM_FEATURE_SVE_BITS\"", ",", "bits", ")", ";", "}", "aarch64_def_or_undef", "(", "TARGET_AES", ",", "\"__ARM_FEATURE_AES\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_SHA2", ",", "\"__ARM_FEATURE_SHA2\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_SHA3", ",", "\"__ARM_FEATURE_SHA3\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_SHA3", ",", "\"__ARM_FEATURE_SHA512\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_SM4", ",", "\"__ARM_FEATURE_SM3\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_SM4", ",", "\"__ARM_FEATURE_SM4\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_F16FML", ",", "\"__ARM_FEATURE_FP16_FML\"", ",", "pfile", ")", ";", "cpp_undef", "(", "pfile", ",", "\"__FLT_EVAL_METHOD__\"", ")", ";", "builtin_define_with_int_value", "(", "\"__FLT_EVAL_METHOD__\"", ",", "c_flt_eval_method", "(", "true", ")", ")", ";", "cpp_undef", "(", "pfile", ",", "\"__FLT_EVAL_METHOD_C99__\"", ")", ";", "builtin_define_with_int_value", "(", "\"__FLT_EVAL_METHOD_C99__\"", ",", "c_flt_eval_method", "(", "false", ")", ")", ";", "}", ""], "natrual_language": ["Undefine/redefine", "macros", "that", "depend", "on", "the", "current", "backend", "state", "and", "may", "need", "to", "change", "when", "a", "target", "pragma", "modifies", "the", "backend", "state", "."], "TS_V_token": ["aarch64", "\"__ARM_FP_FAST\"", "\"__ARM_ARCH\"", "\"__ARM_SIZEOF_MINIMAL_ENUM\"", "1", "4", "\"__AARCH64EB__\"", "\"__ARM_BIG_ENDIAN\"", "\"__AARCH64EL__\"", "\"__ARM_FEATURE_FMA\"", "\"__ARM_FP\"", "0x0E", "\"__ARM_FP16_FORMAT_IEEE\"", "\"__ARM_FP16_ARGS\"", "\"__ARM_FP\"", "\"__ARM_FEATURE_FP16_SCALAR_ARITHMETIC\"", "\"__ARM_FEATURE_FP16_VECTOR_ARITHMETIC\"", "\"__ARM_FEATURE_NUMERIC_MAXMIN\"", "\"__ARM_NEON\"", "\"__ARM_FEATURE_CRC32\"", "\"__ARM_FEATURE_DOTPROD\"", "\"__AARCH64_CMODEL_TINY__\"", "\"__AARCH64_CMODEL_SMALL__\"", "\"__AARCH64_CMODEL_LARGE__\"", "\"__AARCH64_CMODEL_TINY__\"", "\"__AARCH64_CMODEL_SMALL__\"", "\"__AARCH64_CMODEL_LARGE__\"", "\"_ILP32\"", "\"__ILP32__\"", "\"__ARM_FEATURE_CRYPTO\"", "\"__ARM_FEATURE_QRDMX\"", "\"__ARM_FEATURE_SVE\"", "\"__ARM_FEATURE_SVE_BITS\"", "0", "\"__ARM_FEATURE_SVE_BITS\"", "\"__ARM_FEATURE_AES\"", "\"__ARM_FEATURE_SHA2\"", "\"__ARM_FEATURE_SHA3\"", "\"__ARM_FEATURE_SHA512\"", "\"__ARM_FEATURE_SM3\"", "\"__ARM_FEATURE_SM4\"", "\"__ARM_FEATURE_FP16_FML\"", "\"__FLT_EVAL_METHOD__\"", "\"__FLT_EVAL_METHOD__\"", "\"__FLT_EVAL_METHOD_C99__\"", "\"__FLT_EVAL_METHOD_C99__\""], "File": "aarch64-c4", "Func": "aarch64_update_cpp_builtins", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5600, "Length": 408, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "hashval_t", "mips_hash_base", "(", "rtx", "base", ")", "{", "int", "do_not_record_p", ";", "return", "hash_rtx", "(", "base", ",", "GET_MODE", "(", "base", ")", ",", "&", "do_not_record_p", ",", "NULL", ",", "false", ")", ";", "}", ""], "natrual_language": ["Return", "a", "hash", "value", "for", "SYMBOL_REF", "or", "LABEL_REF", "BASE", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_hash_base", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5601, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "i386_pe_valid_dllimport_attribute_p", "(", "tree", "decl", ")", "{", "if", "(", "TARGET_NOP_FUN_DLLIMPORT", "&&", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Handle", "the", "-mno-fun-dllimport", "target", "switch", "."], "TS_V_token": ["i386"], "File": "winnt3", "Func": "i386_pe_valid_dllimport_attribute_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5602, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "function_expander", "::", "add_output_operand", "(", "insn_code", "icode", ")", "{", "unsigned", "int", "opno", "=", "m_ops", ".", "length", "(", ")", ";", "machine_mode", "mode", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "opno", "]", ".", "mode", ";", "m_ops", ".", "safe_grow", "(", "opno", "+", "1", ",", "true", ")", ";", "create_output_operand", "(", "&", "m_ops", ".", "last", "(", ")", ",", "possible_target", ",", "mode", ")", ";", "}", ""], "natrual_language": ["Create", "output", "and", "add", "it", "into", "M_OPS", "and", "increase", "OPNO", "."], "TS_V_token": ["aarch64", "1"], "File": "aarch64-sve-builtins1", "Func": "add_output_operand", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5603, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "getOpcode_EXTEND_VECTOR_INREG", "(", "unsigned", "Opcode", ")", "{", "switch", "(", "Opcode", ")", "{", "case", "ISD", "::", "ANY_EXTEND", ":", "case", "ISD", "::", "ANY_EXTEND_VECTOR_INREG", ":", "return", "ISD", "::", "ANY_EXTEND_VECTOR_INREG", ";", "case", "ISD", "::", "ZERO_EXTEND", ":", "case", "ISD", "::", "ZERO_EXTEND_VECTOR_INREG", ":", "return", "ISD", "::", "ZERO_EXTEND_VECTOR_INREG", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "case", "ISD", "::", "SIGN_EXTEND_VECTOR_INREG", ":", "return", "ISD", "::", "SIGN_EXTEND_VECTOR_INREG", ";", "}", "llvm_unreachable", "(", "\"Unknown opcode\"", ")", ";", "}", ""], "natrual_language": ["Convert", "*", "_EXTEND", "to", "*", "_EXTEND_VECTOR_INREG", "opcode", "."], "TS_V_token": ["X86", "ISD::ANY_EXTEND", "ISD::ANY_EXTEND_VECTOR_INREG", "ISD::ANY_EXTEND_VECTOR_INREG", "ISD::ZERO_EXTEND", "ISD::ZERO_EXTEND_VECTOR_INREG", "ISD::ZERO_EXTEND_VECTOR_INREG", "ISD::SIGN_EXTEND", "ISD::SIGN_EXTEND_VECTOR_INREG", "ISD::SIGN_EXTEND_VECTOR_INREG", "\"Unknown opcode\""], "File": "X86ISelLowering (2)5", "Func": "getOpcode_EXTEND_VECTOR_INREG", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5604, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "X86Subtarget", "::", "ClassifyGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "const", "TargetMachine", "&", "TM", ")", "const", "{", "if", "(", "GV", "->", "hasDLLImportLinkage", "(", ")", ")", "return", "X86II", "::", "MO_DLLIMPORT", ";", "bool", "isDecl", "=", "GV", "->", "isDeclaration", "(", ")", "&&", "!", "GV", "->", "hasNotBeenReadFromBitcode", "(", ")", ";", "if", "(", "isPICStyleRIPRel", "(", ")", ")", "{", "if", "(", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "if", "(", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "GV", "->", "hasDefaultVisibility", "(", ")", "&&", "(", "isDecl", "||", "GV", "->", "isWeakForLinker", "(", ")", ")", ")", "return", "X86II", "::", "MO_GOTPCREL", ";", "}", "else", "{", "assert", "(", "isTargetELF", "(", ")", "&&", "\"Unknown rip-relative target\"", ")", ";", "if", "(", "!", "GV", "->", "hasLocalLinkage", "(", ")", "&&", "GV", "->", "hasDefaultVisibility", "(", ")", ")", "return", "X86II", "::", "MO_GOTPCREL", ";", "}", "return", "X86II", "::", "MO_NO_FLAG", ";", "}", "if", "(", "isPICStyleGOT", "(", ")", ")", "{", "if", "(", "GV", "->", "hasLocalLinkage", "(", ")", "||", "GV", "->", "hasHiddenVisibility", "(", ")", ")", "return", "X86II", "::", "MO_GOTOFF", ";", "return", "X86II", "::", "MO_GOT", ";", "}", "if", "(", "isPICStyleStubPIC", "(", ")", ")", "{", "if", "(", "!", "isDecl", "&&", "!", "GV", "->", "isWeakForLinker", "(", ")", ")", "return", "X86II", "::", "MO_PIC_BASE_OFFSET", ";", "if", "(", "!", "GV", "->", "hasHiddenVisibility", "(", ")", ")", "return", "X86II", "::", "MO_DARWIN_NONLAZY_PIC_BASE", ";", "if", "(", "isDecl", "||", "GV", "->", "hasCommonLinkage", "(", ")", ")", "{", "return", "X86II", "::", "MO_DARWIN_HIDDEN_NONLAZY_PIC_BASE", ";", "}", "return", "X86II", "::", "MO_PIC_BASE_OFFSET", ";", "}", "if", "(", "isPICStyleStubNoDynamic", "(", ")", ")", "{", "if", "(", "!", "isDecl", "&&", "!", "GV", "->", "isWeakForLinker", "(", ")", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "if", "(", "!", "GV", "->", "hasHiddenVisibility", "(", ")", ")", "return", "X86II", "::", "MO_DARWIN_NONLAZY", ";", "if", "(", "isDecl", "||", "GV", "->", "hasCommonLinkage", "(", ")", ")", "{", "return", "X86II", "::", "MO_DARWIN_HIDDEN_NONLAZY", ";", "}", "return", "X86II", "::", "MO_NO_FLAG", ";", "}", "return", "X86II", "::", "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": ["X86", "X86", "X86II::MO_DLLIMPORT", "X86II::MO_NO_FLAG", "X86II::MO_GOTPCREL", "\"Unknown rip-relative target\"", "X86II::MO_GOTPCREL", "X86II::MO_NO_FLAG", "X86II::MO_GOTOFF", "X86II::MO_GOT", "X86II::MO_PIC_BASE_OFFSET", "X86II::MO_DARWIN_NONLAZY_PIC_BASE", "X86II::MO_DARWIN_HIDDEN_NONLAZY_PIC_BASE", "X86II::MO_PIC_BASE_OFFSET", "X86II::MO_NO_FLAG", "X86II::MO_DARWIN_NONLAZY", "X86II::MO_DARWIN_HIDDEN_NONLAZY", "X86II::MO_NO_FLAG", "X86II::MO_NO_FLAG"], "File": "X86Subtarget36", "Func": "ClassifyGlobalReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5605, "Length": 300, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "loongarch_rtx_constant_in_small_data_p", "(", "machine_mode", "mode", ")", "{", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "g_switch_value", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "rtx", "constants", "of", "mode", "MODE", "should", "be", "put", "into", "a", "small", "data", "section", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_rtx_constant_in_small_data_p", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5606, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0MCInstLower", "::", "Initialize", "(", "MCContext", "*", "C", ")", "{", "Ctx", "=", "C", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["Cpu0", "Cpu0"], "File": "Cpu0MCInstLower3", "Func": "Initialize", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5607, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "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", "expand_vselect", "(", "target", ",", "x", ",", "perm", ",", "nelt", ")", ";", "}", ""], "natrual_language": ["Similar", ",", "but", "generate", "a", "vec_concat", "from", "op0", "and", "op1", "as", "well", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "expand_vselect_vconcat", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5608, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCFastISel", "::", "fastSelectInstruction", "(", "const", "Instruction", "*", "I", ")", "{", "switch", "(", "I", "->", "getOpcode", "(", ")", ")", "{", "case", "Instruction", "::", "Load", ":", "return", "SelectLoad", "(", "I", ")", ";", "case", "Instruction", "::", "Store", ":", "return", "SelectStore", "(", "I", ")", ";", "case", "Instruction", "::", "Br", ":", "return", "SelectBranch", "(", "I", ")", ";", "case", "Instruction", "::", "IndirectBr", ":", "return", "SelectIndirectBr", "(", "I", ")", ";", "case", "Instruction", "::", "FPExt", ":", "return", "SelectFPExt", "(", "I", ")", ";", "case", "Instruction", "::", "FPTrunc", ":", "return", "SelectFPTrunc", "(", "I", ")", ";", "case", "Instruction", "::", "SIToFP", ":", "return", "SelectIToFP", "(", "I", ",", "true", ")", ";", "case", "Instruction", "::", "UIToFP", ":", "return", "SelectIToFP", "(", "I", ",", "false", ")", ";", "case", "Instruction", "::", "FPToSI", ":", "return", "SelectFPToI", "(", "I", ",", "true", ")", ";", "case", "Instruction", "::", "FPToUI", ":", "return", "SelectFPToI", "(", "I", ",", "false", ")", ";", "case", "Instruction", "::", "Add", ":", "return", "SelectBinaryIntOp", "(", "I", ",", "ISD", "::", "ADD", ")", ";", "case", "Instruction", "::", "Or", ":", "return", "SelectBinaryIntOp", "(", "I", ",", "ISD", "::", "OR", ")", ";", "case", "Instruction", "::", "Sub", ":", "return", "SelectBinaryIntOp", "(", "I", ",", "ISD", "::", "SUB", ")", ";", "case", "Instruction", "::", "Call", ":", "return", "selectCall", "(", "I", ")", ";", "case", "Instruction", "::", "Ret", ":", "return", "SelectRet", "(", "I", ")", ";", "case", "Instruction", "::", "Trunc", ":", "return", "SelectTrunc", "(", "I", ")", ";", "case", "Instruction", "::", "ZExt", ":", "case", "Instruction", "::", "SExt", ":", "return", "SelectIntExt", "(", "I", ")", ";", "default", ":", "break", ";", "}", "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": ["PowerPC", "PPC", "ISD::ADD", "ISD::OR", "ISD::SUB"], "File": "PPCFastISel (2)", "Func": "fastSelectInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5609, "Length": 241, "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", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "isLittle", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "CPU", ",", "Options", ",", "isLittle", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "TT", ",", "RM", ")", ",", "CM", ",", "OL", ")", ",", "TargetABI", "(", "computeTargetABI", "(", "TT", ",", "CPU", ",", "Options", ")", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ",", "isLittle", ")", ",", "isLittle", "(", "isLittle", ")", "{", "if", "(", "Options", ".", "FloatABIType", "==", "FloatABI", "::", "Default", ")", "this", "->", "Options", ".", "FloatABIType", "=", "Subtarget", ".", "isTargetHardFloat", "(", ")", "?", "FloatABI", "::", "Hard", ":", "FloatABI", "::", "Soft", ";", "if", "(", "Options", ".", "EABIVersion", "==", "EABI", "::", "Default", "||", "Options", ".", "EABIVersion", "==", "EABI", "::", "Unknown", ")", "{", "if", "(", "Subtarget", ".", "isTargetGNUAEABI", "(", ")", "||", "Subtarget", ".", "isTargetMuslAEABI", "(", ")", ")", "this", "->", "Options", ".", "EABIVersion", "=", "EABI", "::", "GNU", ";", "else", "this", "->", "Options", ".", "EABIVersion", "=", "EABI", "::", "EABI5", ";", "}", "}", ""], "natrual_language": ["Create", "an", "ARM", "architecture", "model", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMTargetMachine107", "Func": "ARMBaseTargetMachine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5610, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_cannot_force_const_mem", "(", "rtx", "x", ")", "{", "return", "!", "legitimate_constant_p", "(", "x", ")", ";", "}", ""], "natrual_language": ["Determine", "if", "it", "'s", "legal", "to", "put", "X", "into", "the", "constant", "pool", ".", "This", "is", "not", "possible", "for", "the", "address", "of", "thread-local", "symbols", ",", "which", "is", "checked", "above", "."], "TS_V_token": ["i386"], "File": "i3863", "Func": "ix86_cannot_force_const_mem", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5611, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "sparc_builtin_decl", "(", "unsigned", "code", ",", "bool", "initialize_p", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "code", ">=", "SPARC_BUILTIN_MAX", ")", "return", "error_mark_node", ";", "return", "sparc_builtins", "[", "code", "]", ";", "}", ""], "natrual_language": ["Implement", "TARGET_BUILTIN_DECL", "hook", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "sparc_builtin_decl", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5612, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_can_change_mode_class", "(", "machine_mode", "from", ",", "machine_mode", "to", ",", "reg_class_t", ")", "{", "unsigned", "int", "from_flags", "=", "aarch64_classify_vector_mode", "(", "from", ")", ";", "unsigned", "int", "to_flags", "=", "aarch64_classify_vector_mode", "(", "to", ")", ";", "bool", "from_sve_p", "=", "(", "from_flags", "&", "VEC_ANY_SVE", ")", ";", "bool", "to_sve_p", "=", "(", "to_flags", "&", "VEC_ANY_SVE", ")", ";", "bool", "from_partial_sve_p", "=", "from_sve_p", "&&", "(", "from_flags", "&", "VEC_PARTIAL", ")", ";", "bool", "to_partial_sve_p", "=", "to_sve_p", "&&", "(", "to_flags", "&", "VEC_PARTIAL", ")", ";", "bool", "from_pred_p", "=", "(", "from_flags", "&", "VEC_SVE_PRED", ")", ";", "bool", "to_pred_p", "=", "(", "to_flags", "&", "VEC_SVE_PRED", ")", ";", "if", "(", "from_pred_p", "!=", "to_pred_p", ")", "return", "false", ";", "if", "(", "from_partial_sve_p", "!=", "to_partial_sve_p", ")", "return", "false", ";", "if", "(", "from_partial_sve_p", "&&", "(", "aarch64_sve_container_bits", "(", "from", ")", "!=", "aarch64_sve_container_bits", "(", "to", ")", "||", "GET_MODE_UNIT_SIZE", "(", "from", ")", "!=", "GET_MODE_UNIT_SIZE", "(", "to", ")", ")", ")", "return", "false", ";", "if", "(", "maybe_ne", "(", "BITS_PER_SVE_VECTOR", ",", "128u", ")", ")", "{", "if", "(", "from_sve_p", "&&", "!", "to_sve_p", "&&", "maybe_gt", "(", "GET_MODE_BITSIZE", "(", "to", ")", ",", "128", ")", ")", "return", "false", ";", "if", "(", "to_sve_p", "&&", "!", "from_sve_p", "&&", "maybe_gt", "(", "GET_MODE_BITSIZE", "(", "from", ")", ",", "128", ")", ")", "return", "false", ";", "}", "if", "(", "BYTES_BIG_ENDIAN", ")", "{", "if", "(", "from_sve_p", "!=", "to_sve_p", ")", "return", "false", ";", "if", "(", "from_sve_p", "&&", "GET_MODE_UNIT_SIZE", "(", "from", ")", "!=", "GET_MODE_UNIT_SIZE", "(", "to", ")", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CAN_CHANGE_MODE_CLASS", "."], "TS_V_token": ["aarch64", "128u", "128", "128"], "File": "aarch64", "Func": "aarch64_can_change_mode_class", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5613, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_block_move_loop", "(", "rtx", "dest", ",", "rtx", "src", ",", "HOST_WIDE_INT", "length", ")", "{", "rtx", "label", ",", "src_reg", ",", "dest_reg", ",", "final_src", ";", "HOST_WIDE_INT", "leftover", ";", "leftover", "=", "length", "%", "MAX_MOVE_BYTES", ";", "length", "-=", "leftover", ";", "mips_adjust_block_mem", "(", "src", ",", "MAX_MOVE_BYTES", ",", "&", "src_reg", ",", "&", "src", ")", ";", "mips_adjust_block_mem", "(", "dest", ",", "MAX_MOVE_BYTES", ",", "&", "dest_reg", ",", "&", "dest", ")", ";", "final_src", "=", "expand_simple_binop", "(", "Pmode", ",", "PLUS", ",", "src_reg", ",", "GEN_INT", "(", "length", ")", ",", "0", ",", "0", ",", "OPTAB_WIDEN", ")", ";", "label", "=", "gen_label_rtx", "(", ")", ";", "emit_label", "(", "label", ")", ";", "mips_block_move_straight", "(", "dest", ",", "src", ",", "MAX_MOVE_BYTES", ")", ";", "emit_move_insn", "(", "src_reg", ",", "plus_constant", "(", "src_reg", ",", "MAX_MOVE_BYTES", ")", ")", ";", "emit_move_insn", "(", "dest_reg", ",", "plus_constant", "(", "dest_reg", ",", "MAX_MOVE_BYTES", ")", ")", ";", "if", "(", "Pmode", "==", "DImode", ")", "emit_insn", "(", "gen_cmpdi", "(", "src_reg", ",", "final_src", ")", ")", ";", "else", "emit_insn", "(", "gen_cmpsi", "(", "src_reg", ",", "final_src", ")", ")", ";", "emit_jump_insn", "(", "gen_bne", "(", "label", ")", ")", ";", "if", "(", "leftover", ")", "mips_block_move_straight", "(", "dest", ",", "src", ",", "leftover", ")", ";", "}", ""], "natrual_language": ["Move", "LENGTH", "bytes", "from", "SRC", "to", "DEST", "using", "a", "loop", "that", "moves", "MAX_MOVE_BYTES", "per", "iteration", ".", "LENGTH", "must", "be", "at", "least", "MAX_MOVE_BYTES", ".", "Assume", "that", "the", "memory", "regions", "do", "not", "overlap", "."], "TS_V_token": ["mips", "0", "0"], "File": "mips3", "Func": "mips_block_move_loop", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5614, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "getIntImmCost", "(", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "if", "(", "Imm", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "isInt", "<", "16", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Basic", ";", "if", "(", "isInt", "<", "21", ">", "(", "Imm", ".", "getZExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Basic", ";", "if", "(", "isInt", "<", "32", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "{", "if", "(", "(", "Imm", ".", "getSExtValue", "(", ")", "&", "0xFFFF", ")", "==", "0", ")", "return", "TTI", "::", "TCC_Basic", ";", "return", "2", "*", "TTI", "::", "TCC_Basic", ";", "}", "return", "4", "*", "TTI", "::", "TCC_Basic", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["Lanai", "0", "16", "21", "32", "0xFFFF", "0", "2", "4"], "File": "LanaiTargetTransformInfo10", "Func": "getIntImmCost", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5615, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "process_epilogue", "(", ")", "{", "if", "(", "block_num", "!=", "n_basic_blocks", "-", "1", ")", "{", "fprintf", "(", "asm_out_file", ",", "\"\\t.label_state 1\\n\"", ")", ";", "need_copy_state", "=", "1", ";", "}", "fprintf", "(", "asm_out_file", ",", "\"\\t.restore sp\\n\"", ")", ";", "}", ""], "natrual_language": ["The", "function", "emits", "unwind", "directives", "for", "the", "start", "of", "an", "epilogue", "."], "TS_V_token": ["ia64", "1", "\"\\t.label_state 1\\n\"", "1", "\"\\t.restore sp\\n\""], "File": "ia642", "Func": "process_epilogue", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5616, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "isCoalescableExtInstr", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "&", "SrcReg", ",", "unsigned", "&", "DstReg", ",", "unsigned", "&", "SubIdx", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "X86", "::", "MOVSX16rr8", ":", "case", "X86", "::", "MOVZX16rr8", ":", "case", "X86", "::", "MOVSX32rr8", ":", "case", "X86", "::", "MOVZX32rr8", ":", "case", "X86", "::", "MOVSX64rr8", ":", "case", "X86", "::", "MOVZX64rr8", ":", "if", "(", "!", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ")", "return", "false", ";", "case", "X86", "::", "MOVSX32rr16", ":", "case", "X86", "::", "MOVZX32rr16", ":", "case", "X86", "::", "MOVSX64rr16", ":", "case", "X86", "::", "MOVZX64rr16", ":", "case", "X86", "::", "MOVSX64rr32", ":", "case", "X86", "::", "MOVZX64rr32", ":", "{", "if", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getSubReg", "(", ")", "||", "MI", ".", "getOperand", "(", "1", ")", ".", "getSubReg", "(", ")", ")", "return", "false", ";", "SrcReg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "DstReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "0", ")", ";", "case", "X86", "::", "MOVSX16rr8", ":", "case", "X86", "::", "MOVZX16rr8", ":", "case", "X86", "::", "MOVSX32rr8", ":", "case", "X86", "::", "MOVZX32rr8", ":", "case", "X86", "::", "MOVSX64rr8", ":", "case", "X86", "::", "MOVZX64rr8", ":", "SubIdx", "=", "X86", "::", "sub_8bit", ";", "break", ";", "case", "X86", "::", "MOVSX32rr16", ":", "case", "X86", "::", "MOVZX32rr16", ":", "case", "X86", "::", "MOVSX64rr16", ":", "case", "X86", "::", "MOVZX64rr16", ":", "SubIdx", "=", "X86", "::", "sub_16bit", ";", "break", ";", "case", "X86", "::", "MOVSX64rr32", ":", "case", "X86", "::", "MOVZX64rr32", ":", "SubIdx", "=", "X86", "::", "sub_32bit", ";", "break", ";", "}", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["isCoalescableExtInstr", "-", "Return", "true", "if", "the", "instruction", "is", "a", "``", "coalescable", "''", "extension", "instruction", "."], "TS_V_token": ["X86", "X86", "X86::MOVSX16rr8", "X86::MOVZX16rr8", "X86::MOVSX32rr8", "X86::MOVZX32rr8", "X86::MOVSX64rr8", "X86::MOVZX64rr8", "X86", "X86::MOVSX32rr16", "X86::MOVZX32rr16", "X86::MOVSX64rr16", "X86::MOVZX64rr16", "X86::MOVSX64rr32", "X86::MOVZX64rr32", "0", "1", "1", "0", "0", "X86::MOVSX16rr8", "X86::MOVZX16rr8", "X86::MOVSX32rr8", "X86::MOVZX32rr8", "X86::MOVSX64rr8", "X86::MOVZX64rr8", "X86::sub_8bit", "X86::MOVSX32rr16", "X86::MOVZX32rr16", "X86::MOVSX64rr16", "X86::MOVZX64rr16", "X86::sub_16bit", "X86::MOVSX64rr32", "X86::MOVZX64rr32", "X86::sub_32bit"], "File": "X86InstrInfo21", "Func": "isCoalescableExtInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5617, "Length": 280, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "vax_init_libfuncs", "(", "void", ")", "{", "if", "(", "TARGET_BSD_DIVMOD", ")", "{", "set_optab_libfunc", "(", "udiv_optab", ",", "SImode", ",", "TARGET_ELF", "?", "\"*__udiv\"", ":", "\"*udiv\"", ")", ";", "set_optab_libfunc", "(", "umod_optab", ",", "SImode", ",", "TARGET_ELF", "?", "\"*__urem\"", ":", "\"*urem\"", ")", ";", "}", "}", ""], "natrual_language": ["We", "can", "use", "the", "BSD", "C", "library", "routines", "for", "the", "libgcc", "calls", "that", "are", "still", "generated", ",", "since", "that", "'s", "what", "they", "boil", "down", "to", "anyways", ".", "When", "ELF", ",", "avoid", "the", "user", "'s", "namespace", "."], "TS_V_token": ["vax", "\"*__udiv\"", "\"*udiv\"", "\"*__urem\"", "\"*urem\""], "File": "vax", "Func": "vax_init_libfuncs", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5618, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "SystemZTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "OPCODE", "(", "RET_FLAG", ")", ";", "OPCODE", "(", "CALL", ")", ";", "OPCODE", "(", "SIBCALL", ")", ";", "OPCODE", "(", "PCREL_WRAPPER", ")", ";", "OPCODE", "(", "PCREL_OFFSET", ")", ";", "OPCODE", "(", "IABS", ")", ";", "OPCODE", "(", "ICMP", ")", ";", "OPCODE", "(", "FCMP", ")", ";", "OPCODE", "(", "TM", ")", ";", "OPCODE", "(", "BR_CCMASK", ")", ";", "OPCODE", "(", "SELECT_CCMASK", ")", ";", "OPCODE", "(", "ADJDYNALLOC", ")", ";", "OPCODE", "(", "EXTRACT_ACCESS", ")", ";", "OPCODE", "(", "UMUL_LOHI64", ")", ";", "OPCODE", "(", "SDIVREM64", ")", ";", "OPCODE", "(", "UDIVREM32", ")", ";", "OPCODE", "(", "UDIVREM64", ")", ";", "OPCODE", "(", "MVC", ")", ";", "OPCODE", "(", "MVC_LOOP", ")", ";", "OPCODE", "(", "NC", ")", ";", "OPCODE", "(", "NC_LOOP", ")", ";", "OPCODE", "(", "OC", ")", ";", "OPCODE", "(", "OC_LOOP", ")", ";", "OPCODE", "(", "XC", ")", ";", "OPCODE", "(", "XC_LOOP", ")", ";", "OPCODE", "(", "CLC", ")", ";", "OPCODE", "(", "CLC_LOOP", ")", ";", "OPCODE", "(", "STRCMP", ")", ";", "OPCODE", "(", "STPCPY", ")", ";", "OPCODE", "(", "SEARCH_STRING", ")", ";", "OPCODE", "(", "IPM", ")", ";", "OPCODE", "(", "SERIALIZE", ")", ";", "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", ")", ";", "OPCODE", "(", "PREFETCH", ")", ";", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZISelLowering106", "Func": "getTargetNodeName", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5619, "Length": 247, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_tieable_integer_mode_p", "(", "enum", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "HImode", ":", "case", "SImode", ":", "return", "true", ";", "case", "QImode", ":", "return", "TARGET_64BIT", "||", "!", "TARGET_PARTIAL_REG_STALL", ";", "case", "DImode", ":", "return", "TARGET_64BIT", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["A", "subroutine", "of", "ix86_modes_tieable_p", ".", "Return", "true", "if", "MODE", "is", "a", "tieable", "integer", "mode", "."], "TS_V_token": ["i386"], "File": "i3863", "Func": "ix86_tieable_integer_mode_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5620, "Length": 45, "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", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Perform", "target-specific", "instruction", "verification", "."], "TS_V_token": ["ARM", "ARM", "\"Pseudo flag setting opcodes only exist in Selection DAG\""], "File": "ARMBaseInstrInfo (2)", "Func": "verifyInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5621, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "SDValue", "Op0", ",", "Op1", ";", "switch", "(", "ConstraintID", ")", "{", "default", ":", "return", "true", ";", "case", "InlineAsm", "::", "Constraint_o", ":", "case", "InlineAsm", "::", "Constraint_m", ":", "if", "(", "!", "SelectADDRrr", "(", "Op", ",", "Op0", ",", "Op1", ")", ")", "SelectADDRri", "(", "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": ["Sparc", "Sparc"], "File": "SparcISelDAGToDAG19", "Func": "SelectInlineAsmMemoryOperand", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5622, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "getMemOperandsWithOffsetWidth", "(", "const", "MachineInstr", "&", "LdSt", ",", "SmallVectorImpl", "<", "const", "MachineOperand", "*", ">", "&", "BaseOps", ",", "int64_t", "&", "Offset", ",", "bool", "&", "OffsetIsScalable", ",", "unsigned", "&", "Width", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "!", "LdSt", ".", "mayLoadOrStore", "(", ")", ")", "return", "false", ";", "const", "MachineOperand", "*", "BaseOp", ";", "if", "(", "!", "getMemOperandWithOffsetWidth", "(", "LdSt", ",", "BaseOp", ",", "Offset", ",", "OffsetIsScalable", ",", "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": ["AArch64", "AArch64"], "File": "AArch64InstrInfo105", "Func": "getMemOperandsWithOffsetWidth", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5623, "Length": 87, "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": ["F2003f"], "File": "F2003fTargetMachine", "Func": "getObjFileLowering", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5624, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "initializePPCVSXFMAMutatePass", "(", "*", "PassRegistry", "::", "getPassRegistry", "(", ")", ")", ";", "insertPass", "(", "VSXFMAMutateEarly", "?", "&", "RegisterCoalescerID", ":", "&", "MachineSchedulerID", ",", "&", "PPCVSXFMAMutateID", ")", ";", "if", "(", "getPPCTargetMachine", "(", ")", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "addPass", "(", "createPPCTLSDynamicCallPass", "(", ")", ")", ";", "if", "(", "EnableExtraTOCRegDeps", ")", "addPass", "(", "createPPCTOCRegDepsPass", "(", ")", ")", ";", "}", ""], "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": "PPCTargetMachine13", "Func": "addPreRegAlloc", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5625, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64AsmBackend", "::", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "return", "int64_t", "(", "Value", ")", "!=", "int64_t", "(", "int8_t", "(", "Value", ")", ")", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["ARM64", "ARM64"], "File": "ARM64AsmBackend", "Func": "fixupNeedsRelaxation", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5626, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"TOY DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["TOY", "\"TOY DAG->DAG Pattern Instruction Selection\""], "File": "TOYISelDAGToDAG1", "Func": "getPassName", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5627, "Length": 11, "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", "(", "(", "type", "&&", "POINTER_BOUNDS_TYPE_P", "(", "type", ")", ")", "||", "POINTER_BOUNDS_MODE_P", "(", "mode", ")", ")", "{", "if", "(", "cum", "->", "bnds_in_bt", ")", "{", "cum", "->", "bnds_in_bt", "--", ";", "return", ";", "}", "if", "(", "cum", "->", "force_bnd_pass", ")", "cum", "->", "force_bnd_pass", "--", ";", "cum", "->", "bnd_regno", "++", ";", "return", ";", "}", "cum", "->", "bnds_in_bt", "=", "0", ";", "if", "(", "cum", "->", "force_bnd_pass", ")", "{", "cum", "->", "bnd_regno", "+=", "cum", "->", "force_bnd_pass", ";", "cum", "->", "force_bnd_pass", "=", "0", ";", "}", "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", "(", "cum", "->", "stdarg", ")", "cum", "->", "force_bnd_pass", "=", "nregs", ";", "if", "(", "!", "nregs", ")", "{", "if", "(", "cum", "->", "caller", ")", "cfun", "->", "machine", "->", "outgoing_args_on_stack", "=", "true", ";", "if", "(", "flag_check_pointer_bounds", ")", "cum", "->", "bnds_in_bt", "=", "chkp_type_bounds_count", "(", "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": ["i386", "0", "0"], "File": "i3867", "Func": "ix86_function_arg_advance", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5628, "Length": 289, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLoweringBase", "::", "LegalizeTypeAction", "getPreferredVectorAction", "(", "EVT", "VT", ")", "const", "override", "{", "if", "(", "VT", ".", "getVectorElementType", "(", ")", ".", "getSizeInBits", "(", ")", "%", "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": "PPCISelLowering107", "Func": "getPreferredVectorAction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5629, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_can_change_mode_class", "(", "machine_mode", "from", ",", "machine_mode", "to", ",", "reg_class_t", ")", "{", "if", "(", "BYTES_BIG_ENDIAN", ")", "{", "bool", "from_sve_p", "=", "aarch64_sve_data_mode_p", "(", "from", ")", ";", "bool", "to_sve_p", "=", "aarch64_sve_data_mode_p", "(", "to", ")", ";", "if", "(", "from_sve_p", "!=", "to_sve_p", ")", "return", "false", ";", "if", "(", "from_sve_p", "&&", "GET_MODE_UNIT_SIZE", "(", "from", ")", "!=", "GET_MODE_UNIT_SIZE", "(", "to", ")", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CAN_CHANGE_MODE_CLASS", "."], "TS_V_token": ["aarch64"], "File": "aarch645", "Func": "aarch64_can_change_mode_class", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5630, "Length": 65, "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", ")", ";", "Optional", "<", "MachineFunction", "::", "DebugInstrOperandPair", ">", "InstrNum", "=", "None", ";", "if", "(", "unsigned", "Num", "=", "MI", "->", "peekDebugInstrNum", "(", ")", ")", "{", "InstrNum", "=", "{", "Num", ",", "2", "}", ";", "}", "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", ",", "InstrNum", ")", ";", "}", "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", "2", "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": "X86DynAllocaExpander1", "Func": "lower", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5631, "Length": 499, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isBranchOffsetInRange", "(", "unsigned", "BranchOp", ",", "int64_t", "BrOffset", ")", "const", "{", "unsigned", "Bits", "=", "getBranchDisplacementBits", "(", "BranchOp", ")", ";", "assert", "(", "Bits", ">=", "3", "&&", "\"max branch displacement must be enough to jump\"", "\"over conditional branch expansion\"", ")", ";", "return", "isIntN", "(", "Bits", ",", "BrOffset", "/", "4", ")", ";", "}", ""], "natrual_language": ["Determine", "if", "the", "branch", "target", "is", "in", "range", "."], "TS_V_token": ["AArch64", "AArch64", "3", "\"max branch displacement must be enough to jump\"", "\"over conditional branch expansion\"", "4"], "File": "AArch64InstrInfo (2)", "Func": "isBranchOffsetInRange", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5632, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_expand_atomic_exchange", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "retval", ",", "mem", ",", "val", ",", "cond", ";", "machine_mode", "mode", ";", "enum", "memmodel", "model", ";", "rtx", "label", ",", "x", ",", "mask", ",", "shift", ";", "retval", "=", "operands", "[", "0", "]", ";", "mem", "=", "operands", "[", "1", "]", ";", "val", "=", "operands", "[", "2", "]", ";", "model", "=", "memmodel_base", "(", "INTVAL", "(", "operands", "[", "3", "]", ")", ")", ";", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "mask", "=", "shift", "=", "NULL_RTX", ";", "if", "(", "!", "TARGET_SYNC_HI_QI", "&&", "(", "mode", "==", "QImode", "||", "mode", "==", "HImode", ")", ")", "{", "mem", "=", "rs6000_adjust_atomic_subword", "(", "mem", ",", "&", "shift", ",", "&", "mask", ")", ";", "val", "=", "convert_modes", "(", "SImode", ",", "mode", ",", "val", ",", "1", ")", ";", "val", "=", "expand_simple_binop", "(", "SImode", ",", "ASHIFT", ",", "val", ",", "shift", ",", "NULL_RTX", ",", "1", ",", "OPTAB_LIB_WIDEN", ")", ";", "retval", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "mode", "=", "SImode", ";", "}", "mem", "=", "rs6000_pre_atomic_barrier", "(", "mem", ",", "model", ")", ";", "label", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "gen_label_rtx", "(", ")", ")", ";", "emit_label", "(", "XEXP", "(", "label", ",", "0", ")", ")", ";", "emit_load_locked", "(", "mode", ",", "retval", ",", "mem", ")", ";", "x", "=", "val", ";", "if", "(", "mask", ")", "x", "=", "rs6000_mask_atomic_subword", "(", "retval", ",", "val", ",", "mask", ")", ";", "cond", "=", "gen_reg_rtx", "(", "CCmode", ")", ";", "emit_store_conditional", "(", "mode", ",", "cond", ",", "mem", ",", "x", ")", ";", "x", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "cond", ",", "const0_rtx", ")", ";", "emit_unlikely_jump", "(", "x", ",", "label", ")", ";", "rs6000_post_atomic_barrier", "(", "model", ")", ";", "if", "(", "shift", ")", "rs6000_finish_atomic_subword", "(", "operands", "[", "0", "]", ",", "retval", ",", "shift", ")", ";", "}", ""], "natrual_language": ["Expand", "an", "atomic", "exchange", "operation", "."], "TS_V_token": ["rs6000", "0", "1", "2", "3", "1", "1", "0", "0"], "File": "rs6000", "Func": "rs6000_expand_atomic_exchange", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5633, "Length": 270, "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", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "EnableLoopDataPrefetch", ")", "addPass", "(", "createLoopDataPrefetchPass", "(", ")", ")", ";", "if", "(", "EnableFalkorHWPFFix", ")", "addPass", "(", "createFalkorMarkStridedAccessesPass", "(", ")", ")", ";", "}", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createInterleavedAccessPass", "(", ")", ")", ";", "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", "1"], "File": "AArch64TargetMachine49", "Func": "addIRPasses", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5634, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "ARM64Disassembler", "::", "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", "]", ";", "Size", "=", "0", ";", "if", "(", "Region", ".", "readBytes", "(", "Address", ",", "4", ",", "(", "uint8_t", "*", ")", "bytes", ")", "==", "-", "1", ")", "return", "Fail", ";", "Size", "=", "4", ";", "uint32_t", "insn", "=", "(", "bytes", "[", "3", "]", "<<", "24", ")", "|", "(", "bytes", "[", "2", "]", "<<", "16", ")", "|", "(", "bytes", "[", "1", "]", "<<", "8", ")", "|", "(", "bytes", "[", "0", "]", "<<", "0", ")", ";", "DecodeStatus", "result", "=", "decodeInstruction", "(", "DecoderTable32", ",", "MI", ",", "insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "!", "result", ")", "return", "Fail", ";", "return", "Success", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["ARM64", "ARM64", "4", "0", "4", "1", "4", "3", "24", "2", "16", "1", "8", "0", "0"], "File": "ARM64Disassembler", "Func": "getInstruction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5635, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FastISel", "::", "tryToFoldLoadIntoMI", "(", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "LoadInst", "*", "LI", ")", "{", "const", "Value", "*", "Ptr", "=", "LI", "->", "getPointerOperand", "(", ")", ";", "X86AddressMode", "AM", ";", "if", "(", "!", "X86SelectAddress", "(", "Ptr", ",", "AM", ")", ")", "return", "false", ";", "const", "X86InstrInfo", "&", "XII", "=", "(", "const", "X86InstrInfo", "&", ")", "TII", ";", "unsigned", "Size", "=", "DL", ".", "getTypeAllocSize", "(", "LI", "->", "getType", "(", ")", ")", ";", "SmallVector", "<", "MachineOperand", ",", "8", ">", "AddrOps", ";", "AM", ".", "getFullAddress", "(", "AddrOps", ")", ";", "MachineInstr", "*", "Result", "=", "XII", ".", "foldMemoryOperandImpl", "(", "*", "FuncInfo", ".", "MF", ",", "*", "MI", ",", "OpNo", ",", "AddrOps", ",", "FuncInfo", ".", "InsertPt", ",", "Size", ",", "LI", "->", "getAlign", "(", ")", ",", "true", ")", ";", "if", "(", "!", "Result", ")", "return", "false", ";", "unsigned", "OperandNo", "=", "0", ";", "for", "(", "MachineInstr", "::", "mop_iterator", "I", "=", "Result", "->", "operands_begin", "(", ")", ",", "E", "=", "Result", "->", "operands_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ",", "++", "OperandNo", ")", "{", "MachineOperand", "&", "MO", "=", "*", "I", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", "||", "MO", ".", "isDef", "(", ")", "||", "MO", ".", "getReg", "(", ")", "!=", "AM", ".", "IndexReg", ")", "continue", ";", "Register", "IndexReg", "=", "constrainOperandRegClass", "(", "Result", "->", "getDesc", "(", ")", ",", "MO", ".", "getReg", "(", ")", ",", "OperandNo", ")", ";", "if", "(", "IndexReg", "==", "MO", ".", "getReg", "(", ")", ")", "continue", ";", "MO", ".", "setReg", "(", "IndexReg", ")", ";", "}", "Result", "->", "addMemOperand", "(", "*", "FuncInfo", ".", "MF", ",", "createMachineMemOperandFor", "(", "LI", ")", ")", ";", "Result", "->", "cloneInstrSymbols", "(", "*", "FuncInfo", ".", "MF", ",", "*", "MI", ")", ";", "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": ["X86", "X86", "X86", "X86", "X86", "X86", "8", "0"], "File": "X86FastISel104", "Func": "tryToFoldLoadIntoMI", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5636, "Length": 292, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pa_select_section", "(", "tree", "exp", ",", "int", "reloc", ",", "unsigned", "HOST_WIDE_INT", "align", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TREE_CODE", "(", "exp", ")", "==", "VAR_DECL", "&&", "TREE_READONLY", "(", "exp", ")", "&&", "!", "TREE_THIS_VOLATILE", "(", "exp", ")", "&&", "DECL_INITIAL", "(", "exp", ")", "&&", "(", "DECL_INITIAL", "(", "exp", ")", "==", "error_mark_node", "||", "TREE_CONSTANT", "(", "DECL_INITIAL", "(", "exp", ")", ")", ")", "&&", "!", "reloc", ")", "{", "if", "(", "TARGET_SOM", "&&", "DECL_ONE_ONLY", "(", "exp", ")", "&&", "!", "DECL_WEAK", "(", "exp", ")", ")", "som_one_only_readonly_data_section", "(", ")", ";", "else", "readonly_data_section", "(", ")", ";", "}", "else", "if", "(", "CONSTANT_CLASS_P", "(", "exp", ")", "&&", "!", "reloc", ")", "readonly_data_section", "(", ")", ";", "else", "if", "(", "TARGET_SOM", "&&", "TREE_CODE", "(", "exp", ")", "==", "VAR_DECL", "&&", "DECL_ONE_ONLY", "(", "exp", ")", "&&", "!", "DECL_WEAK", "(", "exp", ")", ")", "som_one_only_data_section", "(", ")", ";", "else", "data_section", "(", ")", ";", "}", ""], "natrual_language": ["On", "hpux10", ",", "the", "linker", "will", "give", "an", "error", "if", "we", "have", "a", "reference", "in", "the", "read-only", "data", "section", "to", "a", "symbol", "defined", "in", "a", "shared", "library", ".", "Therefore", ",", "expressions", "that", "might", "require", "a", "reloc", "can", "not", "be", "placed", "in", "the", "read-only", "data", "section", "."], "TS_V_token": ["pa"], "File": "pa3", "Func": "pa_select_section", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5637, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isToken", "(", ")", "const", "{", "return", "Kind", "==", "Token", ";", "}", ""], "natrual_language": ["isToken", "-", "Is", "this", "a", "token", "operand", "?"], "TS_V_token": ["OR1K"], "File": "OR1KAsmParser", "Func": "isToken", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5638, "Length": 12, "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)4", "Func": "hasLowDefLatency", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5639, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "darwin_rs6000_override_options", "(", "void", ")", "{", "rs6000_altivec_abi", "=", "1", ";", "TARGET_ALTIVEC_VRSAVE", "=", "1", ";", "rs6000_current_abi", "=", "ABI_DARWIN", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_DARWIN", "&&", "TARGET_64BIT", ")", "darwin_one_byte_bool", "=", "1", ";", "if", "(", "TARGET_64BIT", "&&", "!", "TARGET_POWERPC64", ")", "{", "rs6000_isa_flags", "|=", "OPTION_MASK_POWERPC64", ";", "warning", "(", "0", ",", "\"%qs requires PowerPC64 architecture, enabling\"", ",", "\"-m64\"", ")", ";", "}", "if", "(", "flag_mkernel", ")", "{", "rs6000_default_long_calls", "=", "1", ";", "rs6000_isa_flags", "|=", "OPTION_MASK_SOFT_FLOAT", ";", "}", "if", "(", "!", "flag_mkernel", "&&", "!", "flag_apple_kext", "&&", "TARGET_64BIT", "&&", "!", "(", "rs6000_isa_flags_explicit", "&", "OPTION_MASK_ALTIVEC", ")", ")", "rs6000_isa_flags", "|=", "OPTION_MASK_ALTIVEC", ";", "if", "(", "!", "flag_mkernel", "&&", "!", "flag_apple_kext", "&&", "strverscmp", "(", "darwin_macosx_version_min", ",", "\"10.5\"", ")", ">=", "0", "&&", "!", "(", "rs6000_isa_flags_explicit", "&", "OPTION_MASK_ALTIVEC", ")", "&&", "!", "global_options_set", ".", "x_rs6000_cpu_index", ")", "{", "rs6000_isa_flags", "|=", "OPTION_MASK_ALTIVEC", ";", "}", "}", ""], "natrual_language": ["The", "Darwin", "version", "of", "SUBTARGET_OVERRIDE_OPTIONS", "."], "TS_V_token": ["rs6000", "1", "1", "1", "0", "\"%qs requires PowerPC64 architecture, enabling\"", "\"-m64\"", "1", "\"10.5\"", "0"], "File": "rs60007", "Func": "darwin_rs6000_override_options", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5640, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "LLVM_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", ")", ";", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\"FrameIndex : \"", "<<", "FrameIndex", "<<", "\"\\n\"", "<<", "\"spOffset : \"", "<<", "spOffset", "<<", "\"\\n\"", "<<", "\"stackSize : \"", "<<", "stackSize", "<<", "\"\\n\"", "<<", "\"alignment : \"", "<<", "DebugStr", "(", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectAlign", "(", "FrameIndex", ")", ")", "<<", "\"\\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": ["Mips", "Mips", "\"\\nFunction : \"", "\"\\n\"", "\"<--------->\\n\"", "\"FrameIndex : \"", "\"\\n\"", "\"spOffset : \"", "\"\\n\"", "\"stackSize : \"", "\"\\n\"", "\"alignment : \"", "\"\\n\""], "File": "MipsRegisterInfo (2)2", "Func": "eliminateFrameIndex", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5641, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "tree", "function_instance", "::", "memory_scalar_type", "(", ")", "const", "{", "return", "base", "->", "memory_scalar_type", "(", "*", "this", ")", ";", "}", ""], "natrual_language": ["If", "the", "function", "addresses", "memory", ",", "return", "the", "type", "of", "a", "single", "scalar", "memory", "element", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "memory_scalar_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5642, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "X86TargetLowering", "::", "BuildSDIVPow2", "(", "SDNode", "*", "N", ",", "const", "APInt", "&", "Divisor", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDNode", "*", ">", "&", "Created", ")", "const", "{", "AttributeList", "Attr", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFunction", "(", ")", ".", "getAttributes", "(", ")", ";", "if", "(", "isIntDivCheap", "(", "N", "->", "getValueType", "(", "0", ")", ",", "Attr", ")", ")", "return", "SDValue", "(", "N", ",", "0", ")", ";", "assert", "(", "(", "Divisor", ".", "isPowerOf2", "(", ")", "||", "(", "-", "Divisor", ")", ".", "isPowerOf2", "(", ")", ")", "&&", "\"Unexpected divisor!\"", ")", ";", "if", "(", "!", "Subtarget", ".", "hasCMov", "(", ")", ")", "return", "SDValue", "(", ")", ";", "EVT", "VT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "if", "(", "VT", "!=", "MVT", "::", "i16", "&&", "VT", "!=", "MVT", "::", "i32", "&&", "!", "(", "Subtarget", ".", "is64Bit", "(", ")", "&&", "VT", "==", "MVT", "::", "i64", ")", ")", "return", "SDValue", "(", ")", ";", "unsigned", "Lg2", "=", "Divisor", ".", "countTrailingZeros", "(", ")", ";", "if", "(", "Lg2", "==", "1", ")", "return", "SDValue", "(", ")", ";", "SDLoc", "DL", "(", "N", ")", ";", "SDValue", "N0", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Zero", "=", "DAG", ".", "getConstant", "(", "0", ",", "DL", ",", "VT", ")", ";", "APInt", "Lg2Mask", "=", "APInt", "::", "getLowBitsSet", "(", "VT", ".", "getSizeInBits", "(", ")", ",", "Lg2", ")", ";", "SDValue", "Pow2MinusOne", "=", "DAG", ".", "getConstant", "(", "Lg2Mask", ",", "DL", ",", "VT", ")", ";", "SDValue", "Cmp", "=", "DAG", ".", "getSetCC", "(", "DL", ",", "MVT", "::", "i8", ",", "N0", ",", "Zero", ",", "ISD", "::", "SETLT", ")", ";", "SDValue", "Add", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ADD", ",", "DL", ",", "VT", ",", "N0", ",", "Pow2MinusOne", ")", ";", "SDValue", "CMov", "=", "DAG", ".", "getNode", "(", "ISD", "::", "SELECT", ",", "DL", ",", "VT", ",", "Cmp", ",", "Add", ",", "N0", ")", ";", "Created", ".", "push_back", "(", "Cmp", ".", "getNode", "(", ")", ")", ";", "Created", ".", "push_back", "(", "Add", ".", "getNode", "(", ")", ")", ";", "Created", ".", "push_back", "(", "CMov", ".", "getNode", "(", ")", ")", ";", "SDValue", "SRA", "=", "DAG", ".", "getNode", "(", "ISD", "::", "SRA", ",", "DL", ",", "VT", ",", "CMov", ",", "DAG", ".", "getConstant", "(", "Lg2", ",", "DL", ",", "MVT", "::", "i8", ")", ")", ";", "if", "(", "Divisor", ".", "isNonNegative", "(", ")", ")", "return", "SRA", ";", "Created", ".", "push_back", "(", "SRA", ".", "getNode", "(", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "ISD", "::", "SUB", ",", "DL", ",", "VT", ",", "Zero", ",", "SRA", ")", ";", "}", ""], "natrual_language": ["Targets", "may", "override", "this", "function", "to", "provide", "custom", "SDIV", "lowering", "for", "power-of-2", "denominators", "."], "TS_V_token": ["X86", "X86", "0", "0", "\"Unexpected divisor!\"", "0", "MVT::i16", "MVT::i32", "MVT::i64", "1", "0", "0", "MVT::i8", "ISD::SETLT", "ISD::ADD", "ISD::SELECT", "ISD::SRA", "MVT::i8", "ISD::SUB"], "File": "X86ISelLowering (2)5", "Func": "BuildSDIVPow2", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5643, "Length": 396, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "get_mode_wider_vector", "(", "machine_mode", "o", ")", "{", "machine_mode", "n", "=", "GET_MODE_NEXT_MODE", "(", "o", ")", ".", "require", "(", ")", ";", "gcc_assert", "(", "GET_MODE_NUNITS", "(", "o", ")", "==", "GET_MODE_NUNITS", "(", "n", ")", "*", "2", ")", ";", "gcc_assert", "(", "GET_MODE_SIZE", "(", "o", ")", "==", "GET_MODE_SIZE", "(", "n", ")", ")", ";", "return", "n", ";", "}", ""], "natrual_language": ["Get", "a", "vector", "mode", "of", "the", "same", "size", "as", "the", "original", "but", "with", "elements", "twice", "as", "wide", ".", "This", "is", "only", "guaranteed", "to", "apply", "to", "integral", "vectors", "."], "TS_V_token": ["i386", "2"], "File": "i386-expand1", "Func": "get_mode_wider_vector", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5644, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64RegisterInfo", "::", "isFrameOffsetLegal", "(", "const", "MachineInstr", "*", "MI", ",", "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", "isARM64FrameOffsetLegal", "(", "*", "MI", ",", "SaveOffset", ")", "&", "ARM64FrameOffsetIsLegal", ";", "}", ""], "natrual_language": ["Determine", "whether", "a", "given", "base", "register", "plus", "offset", "immediate", "is", "encodable", "to", "resolve", "a", "frame", "index", "."], "TS_V_token": ["ARM64", "ARM64", "\"Offset too big to fit in int.\"", "\"Unable to get the legal offset for nil instruction.\"", "ARM64", "ARM64"], "File": "ARM64RegisterInfo", "Func": "isFrameOffsetLegal", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5645, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64Subtarget", "::", "supportsAddressTopByteIgnored", "(", ")", "const", "{", "if", "(", "!", "UseAddressTopByteIgnored", ")", "return", "false", ";", "if", "(", "TargetTriple", ".", "isiOS", "(", ")", ")", "{", "return", "TargetTriple", ".", "getiOSVersion", "(", ")", ">=", "VersionTuple", "(", "8", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["CPU", "has", "TBI", "(", "top", "byte", "of", "addresses", "is", "ignored", "during", "HW", "address", "translation", ")", "and", "OS", "enables", "it", "."], "TS_V_token": ["AArch64", "AArch64", "8"], "File": "AArch64Subtarget22", "Func": "supportsAddressTopByteIgnored", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5646, "Length": 42, "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", "::", "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", "::", "Wrapper", ":", "return", "\"MipsISD::Wrapper\"", ";", "case", "MipsISD", "::", "DynAlloc", ":", "return", "\"MipsISD::DynAlloc\"", ";", "case", "MipsISD", "::", "Sync", ":", "return", "\"MipsISD::Sync\"", ";", "case", "MipsISD", "::", "Ext", ":", "return", "\"MipsISD::Ext\"", ";", "case", "MipsISD", "::", "Ins", ":", "return", "\"MipsISD::Ins\"", ";", "case", "MipsISD", "::", "LWL", ":", "return", "\"MipsISD::LWL\"", ";", "case", "MipsISD", "::", "LWR", ":", "return", "\"MipsISD::LWR\"", ";", "case", "MipsISD", "::", "SWL", ":", "return", "\"MipsISD::SWL\"", ";", "case", "MipsISD", "::", "SWR", ":", "return", "\"MipsISD::SWR\"", ";", "case", "MipsISD", "::", "LDL", ":", "return", "\"MipsISD::LDL\"", ";", "case", "MipsISD", "::", "LDR", ":", "return", "\"MipsISD::LDR\"", ";", "case", "MipsISD", "::", "SDL", ":", "return", "\"MipsISD::SDL\"", ";", "case", "MipsISD", "::", "SDR", ":", "return", "\"MipsISD::SDR\"", ";", "case", "MipsISD", "::", "EXTP", ":", "return", "\"MipsISD::EXTP\"", ";", "case", "MipsISD", "::", "EXTPDP", ":", "return", "\"MipsISD::EXTPDP\"", ";", "case", "MipsISD", "::", "EXTR_S_H", ":", "return", "\"MipsISD::EXTR_S_H\"", ";", "case", "MipsISD", "::", "EXTR_W", ":", "return", "\"MipsISD::EXTR_W\"", ";", "case", "MipsISD", "::", "EXTR_R_W", ":", "return", "\"MipsISD::EXTR_R_W\"", ";", "case", "MipsISD", "::", "EXTR_RS_W", ":", "return", "\"MipsISD::EXTR_RS_W\"", ";", "case", "MipsISD", "::", "SHILO", ":", "return", "\"MipsISD::SHILO\"", ";", "case", "MipsISD", "::", "MTHLIP", ":", "return", "\"MipsISD::MTHLIP\"", ";", "case", "MipsISD", "::", "MULT", ":", "return", "\"MipsISD::MULT\"", ";", "case", "MipsISD", "::", "MULTU", ":", "return", "\"MipsISD::MULTU\"", ";", "case", "MipsISD", "::", "MADD_DSP", ":", "return", "\"MipsISD::MADD_DSPDSP\"", ";", "case", "MipsISD", "::", "MADDU_DSP", ":", "return", "\"MipsISD::MADDU_DSP\"", ";", "case", "MipsISD", "::", "MSUB_DSP", ":", "return", "\"MipsISD::MSUB_DSP\"", ";", "case", "MipsISD", "::", "MSUBU_DSP", ":", "return", "\"MipsISD::MSUBU_DSP\"", ";", "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::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::Wrapper", "\"MipsISD::Wrapper\"", "MipsISD::DynAlloc", "\"MipsISD::DynAlloc\"", "MipsISD::Sync", "\"MipsISD::Sync\"", "MipsISD::Ext", "\"MipsISD::Ext\"", "MipsISD::Ins", "\"MipsISD::Ins\"", "MipsISD::LWL", "\"MipsISD::LWL\"", "MipsISD::LWR", "\"MipsISD::LWR\"", "MipsISD::SWL", "\"MipsISD::SWL\"", "MipsISD::SWR", "\"MipsISD::SWR\"", "MipsISD::LDL", "\"MipsISD::LDL\"", "MipsISD::LDR", "\"MipsISD::LDR\"", "MipsISD::SDL", "\"MipsISD::SDL\"", "MipsISD::SDR", "\"MipsISD::SDR\"", "MipsISD::EXTP", "\"MipsISD::EXTP\"", "MipsISD::EXTPDP", "\"MipsISD::EXTPDP\"", "MipsISD::EXTR_S_H", "\"MipsISD::EXTR_S_H\"", "MipsISD::EXTR_W", "\"MipsISD::EXTR_W\"", "MipsISD::EXTR_R_W", "\"MipsISD::EXTR_R_W\"", "MipsISD::EXTR_RS_W", "\"MipsISD::EXTR_RS_W\"", "MipsISD::SHILO", "\"MipsISD::SHILO\"", "MipsISD::MTHLIP", "\"MipsISD::MTHLIP\"", "MipsISD::MULT", "\"MipsISD::MULT\"", "MipsISD::MULTU", "\"MipsISD::MULTU\"", "MipsISD::MADD_DSP", "\"MipsISD::MADD_DSPDSP\"", "MipsISD::MADDU_DSP", "\"MipsISD::MADDU_DSP\"", "MipsISD::MSUB_DSP", "\"MipsISD::MSUB_DSP\"", "MipsISD::MSUBU_DSP", "\"MipsISD::MSUBU_DSP\""], "File": "MipsISelLowering98", "Func": "getTargetNodeName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5647, "Length": 392, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "LEGInstrInfo", "::", "insertBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "TBB", ",", "MachineBasicBlock", "*", "FBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "const", "DebugLoc", "&", "DL", ",", "int", "*", "BytesAdded", ")", "const", "{", "unsigned", "NumInserted", "=", "0", ";", "if", "(", "Cond", ".", "size", "(", ")", ">", "0", ")", "{", "BuildMI", "(", "MBB", ",", "MBB", ".", "end", "(", ")", ",", "DL", ",", "get", "(", "LEG", "::", "Bcc", ")", ")", ".", "addOperand", "(", "Cond", "[", "0", "]", ")", ".", "addMBB", "(", "TBB", ")", ";", "NumInserted", "++", ";", "}", "if", "(", "Cond", ".", "empty", "(", ")", "||", "FBB", ")", "{", "BuildMI", "(", "MBB", ",", "MBB", ".", "end", "(", ")", ",", "DL", ",", "get", "(", "LEG", "::", "B", ")", ")", ".", "addMBB", "(", "Cond", ".", "empty", "(", ")", "?", "TBB", ":", "FBB", ")", ";", "NumInserted", "++", ";", "}", "return", "NumInserted", ";", "}", ""], "natrual_language": ["Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "."], "TS_V_token": ["LEG", "LEG", "0", "0", "LEG::Bcc", "0", "LEG::B"], "File": "LEGInstrInfo", "Func": "insertBranch", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5648, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "OpenRISCTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "DebugLoc", "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": ["OpenRISC", "OpenRISC", "ISD::InputArg", "\"Unsupported calling convention\""], "File": "OpenRISCISelLowering", "Func": "LowerFormalArguments", "Target": "OpenRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5649, "Length": 84, "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", "(", ")", ";", "return", "(", "MFI", "->", "hasCalls", "(", ")", "&&", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", ")", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", "||", "MFI", "->", "isFrameAddressTaken", "(", ")", "||", "MFI", "->", "hasStackMap", "(", ")", "||", "MFI", "->", "hasPatchPoint", "(", ")", "||", "RegInfo", "->", "needsStackRealignment", "(", "MF", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64FrameLowering55", "Func": "hasFP", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5650, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnFunction", "(", "Function", "&", "F", ")", "override", "{", "bool", "C", "=", "false", ";", "TargetMachine", "*", "TM", "=", "&", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ".", "getTM", "<", "TargetMachine", ">", "(", ")", ";", "TargetLibraryInfo", "*", "TLI", "=", "&", "getAnalysis", "<", "TargetLibraryInfoWrapperPass", ">", "(", ")", ".", "getTLI", "(", "F", ")", ";", "X86LowerAMXCast", "LAC", "(", "F", ")", ";", "C", "|=", "LAC", ".", "combineAMXcast", "(", "TLI", ")", ";", "C", "|=", "LAC", ".", "transformAllAMXCast", "(", ")", ";", "X86LowerAMXType", "LAT", "(", "F", ")", ";", "C", "|=", "LAT", ".", "visit", "(", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "!", "F", ".", "hasFnAttribute", "(", "Attribute", "::", "OptimizeNone", ")", ")", "{", "X86VolatileTileData", "VTD", "(", "F", ")", ";", "C", "=", "VTD", ".", "volatileTileData", "(", ")", "||", "C", ";", "}", "}", "return", "C", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86LowerAMXType", "Func": "runOnFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5651, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "xstormy16_expand_andqi3", "(", "rtx", "*", "operands", ")", "{", "rtx", "in", ",", "out", ",", "outsub", ",", "val", ";", "out", "=", "operands", "[", "0", "]", ";", "in", "=", "operands", "[", "1", "]", ";", "val", "=", "operands", "[", "2", "]", ";", "if", "(", "xstormy16_onebit_clr_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_andqi3_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_andhi3", "(", "outsub", ",", "in", ",", "val", ")", ")", ";", "if", "(", "out", "!=", "operands", "[", "0", "]", ")", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "out", ")", ";", "}", ""], "natrual_language": ["Likewise", ",", "for", "AND", "."], "TS_V_token": ["stormy16", "0", "1", "2", "0", "0", "0", "0", "0", "0", "0"], "File": "stormy163", "Func": "xstormy16_expand_andqi3", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5652, "Length": 257, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineOperand", "&", "AArch64InstrInfo", "::", "getMemOpBaseRegImmOfsOffsetOperand", "(", "MachineInstr", "&", "LdSt", ")", "const", "{", "assert", "(", "LdSt", ".", "mayLoadOrStore", "(", ")", "&&", "\"Expected a memory operation.\"", ")", ";", "MachineOperand", "&", "OfsOp", "=", "LdSt", ".", "getOperand", "(", "LdSt", ".", "getNumExplicitOperands", "(", ")", "-", "1", ")", ";", "assert", "(", "OfsOp", ".", "isImm", "(", ")", "&&", "\"Offset operand wasn't immediate.\"", ")", ";", "return", "OfsOp", ";", "}", ""], "natrual_language": ["Return", "the", "immediate", "offset", "of", "the", "base", "register", "in", "a", "load/store", "LdSt", "."], "TS_V_token": ["AArch64", "AArch64", "\"Expected a memory operation.\"", "1", "\"Offset operand wasn't immediate.\""], "File": "AArch64InstrInfo (2)", "Func": "getMemOpBaseRegImmOfsOffsetOperand", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5653, "Length": 55, "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_Immediate", ";", "default", ":", "break", ";", "}", "}", "else", "if", "(", "Constraint", ".", "size", "(", ")", "==", "2", "&&", "Constraint", "[", "0", "]", "==", "'Z'", ")", "{", "switch", "(", "Constraint", "[", "1", "]", ")", "{", "case", "'Q'", ":", "case", "'R'", ":", "case", "'S'", ":", "case", "'T'", ":", "return", "C_Address", ";", "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", "2", "0", "1"], "File": "SystemZISelLowering57", "Func": "getConstraintType", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5654, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "long", "ppc_linux_aux_vector", "(", "long", "which", ")", "{", "extern", "long", "*", "__libc_stack_end", ";", "long", "argc", ";", "char", "*", "*", "argv", ";", "char", "*", "*", "envp", ";", "struct", "auxv", "{", "long", "a_type", ";", "long", "a_val", ";", "}", "*", "auxp", ";", "argc", "=", "__libc_stack_end", "[", "0", "]", ";", "argv", "=", "(", "char", "*", "*", ")", "__libc_stack_end", "+", "1", ";", "envp", "=", "argv", "+", "argc", "+", "1", ";", "while", "(", "*", "envp", "++", ")", "continue", ";", "for", "(", "auxp", "=", "(", "struct", "auxv", "*", ")", "envp", ";", "auxp", "->", "a_type", "!=", "0", ";", "++", "auxp", ")", "if", "(", "auxp", "->", "a_type", "==", "which", ")", "return", "auxp", "->", "a_val", ";", "return", "0", ";", "}", ""], "natrual_language": ["Find", "an", "entry", "in", "the", "process", "auxiliary", "vector", ".", "The", "canonical", "way", "to", "test", "for", "VMX", "is", "to", "look", "at", "AT_HWCAP", "."], "TS_V_token": ["rs6000", "0", "1", "1", "0", "0"], "File": "linux-unwind", "Func": "ppc_linux_aux_vector", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5655, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMLoc", "getLoc", "(", ")", "const", "{", "return", "getParser", "(", ")", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "}", ""], "natrual_language": ["Get", "the", "source", "location", "of", "the", "point", "where", "the", "field", "was", "defined", "."], "TS_V_token": ["CAHP"], "File": "CAHPAsmParser", "Func": "getLoc", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5656, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "Mips16InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "Mips16InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "0", "&&", "!", "MFI", "->", "adjustsStack", "(", ")", ")", "return", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "MCRegisterInfo", "*", "MRI", "=", "MMI", ".", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MachineLocation", "DstML", ",", "SrcML", ";", "TII", ".", "makeFrame", "(", "Mips", "::", "SP", ",", "StackSize", ",", "MBB", ",", "MBBI", ")", ";", "MCSymbol", "*", "AdjustSPLabel", "=", "MMI", ".", "getContext", "(", ")", ".", "CreateTempSymbol", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "PROLOG_LABEL", ")", ")", ".", "addSym", "(", "AdjustSPLabel", ")", ";", "MMI", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createDefCfaOffset", "(", "AdjustSPLabel", ",", "-", "StackSize", ")", ")", ";", "MCSymbol", "*", "CSLabel", "=", "MMI", ".", "getContext", "(", ")", ".", "CreateTempSymbol", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "PROLOG_LABEL", ")", ")", ".", "addSym", "(", "CSLabel", ")", ";", "unsigned", "S1", "=", "MRI", "->", "getDwarfRegNum", "(", "Mips", "::", "S1", ",", "true", ")", ";", "MMI", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createOffset", "(", "CSLabel", ",", "S1", ",", "-", "8", ")", ")", ";", "unsigned", "S0", "=", "MRI", "->", "getDwarfRegNum", "(", "Mips", "::", "S0", ",", "true", ")", ";", "MMI", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createOffset", "(", "CSLabel", ",", "S0", ",", "-", "12", ")", ")", ";", "unsigned", "RA", "=", "MRI", "->", "getDwarfRegNum", "(", "Mips", "::", "RA", ",", "true", ")", ";", "MMI", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createOffset", "(", "CSLabel", ",", "RA", ",", "-", "4", ")", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "MoveR3216", ")", ",", "Mips", "::", "S0", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "0", "Mips::SP", "Mips::S1", "8", "Mips::S0", "12", "Mips::RA", "4", "Mips::MoveR3216", "Mips::S0", "Mips::SP"], "File": "Mips16FrameLowering37", "Func": "emitPrologue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5657, "Length": 375, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "loongarch_build_builtin_va_list", "(", "void", ")", "{", "return", "ptr_type_node", ";", "}", ""], "natrual_language": ["Implement", "TARGET_BUILTIN_VA_LIST", "."], "TS_V_token": ["loongarch"], "File": "loongarch-builtins", "Func": "loongarch_build_builtin_va_list", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5658, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_macc_chains_record", "(", "rtx", "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": "mips3", "Func": "mips_macc_chains_record", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5659, "Length": 20, "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": 5660, "Length": 406, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb2InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "Register", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "ARM", "::", "GPRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "t2LDRi12", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "return", ";", "}", "if", "(", "ARM", "::", "GPRPairRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "if", "(", "Register", "::", "isVirtualRegister", "(", "DestReg", ")", ")", "{", "MachineRegisterInfo", "*", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "MRI", "->", "constrainRegClass", "(", "DestReg", ",", "&", "ARM", "::", "GPRPairnospRegClass", ")", ";", "}", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "t2LDRDi8", ")", ")", ";", "AddDReg", "(", "MIB", ",", "DestReg", ",", "ARM", "::", "gsub_0", ",", "RegState", "::", "DefineNoRead", ",", "TRI", ")", ";", "AddDReg", "(", "MIB", ",", "DestReg", ",", "ARM", "::", "gsub_1", ",", "RegState", "::", "DefineNoRead", ",", "TRI", ")", ";", "MIB", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "if", "(", "Register", "::", "isPhysicalRegister", "(", "DestReg", ")", ")", "MIB", ".", "addReg", "(", "DestReg", ",", "RegState", "::", "ImplicitDefine", ")", ";", "return", ";", "}", "ARMBaseInstrInfo", "::", "loadRegFromStackSlot", "(", "MBB", ",", "I", ",", "DestReg", ",", "FI", ",", "RC", ",", "TRI", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM::GPRRegClass", "ARM::t2LDRi12", "0", "ARMCC::AL", "ARM::GPRPairRegClass", "ARM::GPRPairnospRegClass", "ARM::t2LDRDi8", "ARM::gsub_0", "ARM::gsub_1", "0", "ARMCC::AL", "ARM"], "File": "Thumb2InstrInfo35", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5661, "Length": 335, "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", "=", "(", "(", "FlagSfiLoad", "&&", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "LOAD", ")", "||", "(", "FlagSfiStore", "&&", "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": "ARMISelLowering91", "Func": "getPreIndexedAddressParts", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5662, "Length": 262, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "neon_disambiguate_copy", "(", "rtx", "*", "operands", ",", "rtx", "*", "dest", ",", "rtx", "*", "src", ",", "unsigned", "int", "count", ")", "{", "unsigned", "int", "i", ";", "if", "(", "!", "reg_overlap_mentioned_p", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ")", "||", "REGNO", "(", "operands", "[", "0", "]", ")", "<", "REGNO", "(", "operands", "[", "1", "]", ")", ")", "{", "for", "(", "i", "=", "0", ";", "i", "<", "count", ";", "i", "++", ")", "{", "operands", "[", "2", "*", "i", "]", "=", "dest", "[", "i", "]", ";", "operands", "[", "2", "*", "i", "+", "1", "]", "=", "src", "[", "i", "]", ";", "}", "}", "else", "{", "for", "(", "i", "=", "0", ";", "i", "<", "count", ";", "i", "++", ")", "{", "operands", "[", "2", "*", "i", "]", "=", "dest", "[", "count", "-", "i", "-", "1", "]", ";", "operands", "[", "2", "*", "i", "+", "1", "]", "=", "src", "[", "count", "-", "i", "-", "1", "]", ";", "}", "}", "}", ""], "natrual_language": ["Set", "up", "OPERANDS", "for", "a", "register", "copy", "from", "SRC", "to", "DEST", ",", "taking", "care", "not", "to", "early-clobber", "SRC", "registers", "in", "the", "process", ".", "We", "assume", "that", "the", "operands", "described", "by", "SRC", "and", "DEST", "represent", "a", "decomposed", "copy", "of", "OPERANDS", "[", "1", "]", "into", "OPERANDS", "[", "0", "]", ".", "COUNT", "is", "the", "number", "of", "components", "into", "which", "the", "copy", "has", "been", "decomposed", "."], "TS_V_token": ["arm", "0", "1", "0", "1", "0", "2", "2", "1", "0", "2", "1", "2", "1", "1"], "File": "arm", "Func": "neon_disambiguate_copy", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5663, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "findDeadCallerSavedReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "const", "TargetRegisterInfo", "&", "TRI", ",", "bool", "Is64Bit", ")", "{", "const", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "Function", "*", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "if", "(", "!", "F", "||", "MF", "->", "getMMI", "(", ")", ".", "callsEHReturn", "(", ")", ")", "return", "0", ";", "static", "const", "uint16_t", "CallerSavedRegs32Bit", "[", "]", "=", "{", "X86", "::", "EAX", ",", "X86", "::", "EDX", ",", "X86", "::", "ECX", ",", "0", "}", ";", "static", "const", "uint16_t", "CallerSavedRegs64Bit", "[", "]", "=", "{", "X86", "::", "RAX", ",", "X86", "::", "RDX", ",", "X86", "::", "RCX", ",", "X86", "::", "RSI", ",", "X86", "::", "RDI", ",", "X86", "::", "R8", ",", "X86", "::", "R9", ",", "X86", "::", "R10", ",", "X86", "::", "R11", ",", "0", "}", ";", "unsigned", "Opc", "=", "MBBI", "->", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "default", ":", "return", "0", ";", "case", "X86", "::", "RET", ":", "case", "X86", "::", "RETI", ":", "case", "X86", "::", "TCRETURNdi", ":", "case", "X86", "::", "TCRETURNri", ":", "case", "X86", "::", "TCRETURNmi", ":", "case", "X86", "::", "TCRETURNdi64", ":", "case", "X86", "::", "TCRETURNri64", ":", "case", "X86", "::", "NACL_CG_TCRETURNdi64", ":", "case", "X86", "::", "NACL_CG_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", ")", ";", "}", "const", "uint16_t", "*", "CS", "=", "Is64Bit", "?", "CallerSavedRegs64Bit", ":", "CallerSavedRegs32Bit", ";", "for", "(", ";", "*", "CS", ";", "++", "CS", ")", "if", "(", "!", "Uses", ".", "count", "(", "*", "CS", ")", ")", "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", "0", "X86::EAX", "X86::EDX", "X86::ECX", "0", "X86::RAX", "X86::RDX", "X86::RCX", "X86::RSI", "X86::RDI", "X86::R8", "X86::R9", "X86::R10", "X86::R11", "0", "0", "X86::RET", "X86::RETI", "X86::TCRETURNdi", "X86::TCRETURNri", "X86::TCRETURNmi", "X86::TCRETURNdi64", "X86::TCRETURNri64", "X86::NACL_CG_TCRETURNdi64", "X86::NACL_CG_TCRETURNri64", "X86::TCRETURNmi64", "X86::EH_RETURN", "X86::EH_RETURN64", "8", "0", "0"], "File": "X86FrameLowering107", "Func": "findDeadCallerSavedReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5664, "Length": 360, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "unsigned", "int", "execute", "(", "function", "*", "fun", ")", "{", "return", "rs6000_analyze_swaps", "(", "fun", ")", ";", "}", ""], "natrual_language": ["Main", "entry", "point", "for", "this", "pass", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "execute", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5665, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "DCPU16TargetLowering", "::", "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_DCPU16", ")", ";", "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": ["Dcpu16", "DCPU16", "ISD::InputArg", "16", "DCPU16", "0", "1", "2", "0"], "File": "Dcpu16ISelLowering", "Func": "LowerCallResult", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5666, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "getMemScale", "(", "const", "MachineInstr", "&", "MI", ")", "{", "return", "getMemScale", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "}", ""], "natrual_language": ["Scaling", "factor", "for", "(", "scaled", "or", "unscaled", ")", "load", "or", "store", "."], "TS_V_token": ["AArch64"], "File": "AArch64InstrInfo11", "Func": "getMemScale", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5667, "Length": 21, "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": 5668, "Length": 16, "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": "PPCTargetMachine18", "Func": "getRegisterInfo", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5669, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "func_fma_steering", "::", "dfs", "(", "void", "(", "*", "process_forest", ")", "(", "fma_forest", "*", ")", ",", "void", "(", "*", "process_root", ")", "(", "fma_forest", "*", ",", "fma_root_node", "*", ")", ",", "void", "(", "*", "process_node", ")", "(", "fma_forest", "*", ",", "fma_node", "*", ")", ",", "bool", "free", ")", "{", "vec", "<", "fma_node", "*", ">", "to_process", ";", "std", "::", "list", "<", "fma_forest", "*", ">", "::", "iterator", "forest_iter", ";", "to_process", ".", "create", "(", "0", ")", ";", "for", "(", "forest_iter", "=", "this", "->", "m_fma_forests", ".", "begin", "(", ")", ";", "forest_iter", "!=", "this", "->", "m_fma_forests", ".", "end", "(", ")", ";", "forest_iter", "++", ")", "{", "std", "::", "list", "<", "fma_root_node", "*", ">", "::", "iterator", "root_iter", ";", "if", "(", "process_forest", ")", "process_forest", "(", "*", "forest_iter", ")", ";", "for", "(", "root_iter", "=", "(", "*", "forest_iter", ")", "->", "get_roots", "(", ")", "->", "begin", "(", ")", ";", "root_iter", "!=", "(", "*", "forest_iter", ")", "->", "get_roots", "(", ")", "->", "end", "(", ")", ";", "root_iter", "++", ")", "{", "if", "(", "process_root", ")", "process_root", "(", "*", "forest_iter", ",", "*", "root_iter", ")", ";", "to_process", ".", "safe_push", "(", "*", "root_iter", ")", ";", "}", "while", "(", "!", "to_process", ".", "is_empty", "(", ")", ")", "{", "fma_node", "*", "node", ";", "std", "::", "list", "<", "fma_node", "*", ">", "::", "iterator", "child_iter", ";", "node", "=", "to_process", ".", "pop", "(", ")", ";", "if", "(", "process_node", ")", "process_node", "(", "*", "forest_iter", ",", "node", ")", ";", "if", "(", "node", "->", "get_children", "(", ")", "->", "empty", "(", ")", ")", "continue", ";", "for", "(", "child_iter", "=", "node", "->", "get_children", "(", ")", "->", "begin", "(", ")", ";", "child_iter", "!=", "node", "->", "get_children", "(", ")", "->", "end", "(", ")", ";", "child_iter", "++", ")", "to_process", ".", "safe_push", "(", "*", "child_iter", ")", ";", "if", "(", "free", ")", "{", "if", "(", "node", "->", "root_p", "(", ")", ")", "delete", "static_cast", "<", "fma_root_node", "*", ">", "(", "node", ")", ";", "else", "delete", "node", ";", "}", "}", "if", "(", "free", ")", "delete", "*", "forest_iter", ";", "}", "to_process", ".", "release", "(", ")", ";", "}", ""], "natrual_language": ["Perform", "a", "depth-first", "search", "of", "the", "forests", "of", "fma_node", "in", "THIS-", ">", "m_fma_forests", ",", "calling", "PROCESS_FOREST", "(", ")", "on", "each", "fma_forest", "object", "in", "THIS-", ">", "m_fma_forests", "list", ",", "PROCESS_ROOT", "(", ")", "on", "each", "tree", "root", "and", "PROCESS_NODE", "(", ")", "on", "each", "node", ".", "If", "FREE", "is", "true", ",", "free", "all", "std", ":", ":list", "in", "the", "same", "dfs", "."], "TS_V_token": ["aarch64", "0"], "File": "cortex-a57-fma-steering2", "Func": "dfs", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5670, "Length": 316, "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", "Num128Lanes", "=", "LT", ".", "second", ".", "getSizeInBits", "(", ")", "/", "128", "*", "LT", ".", "first", ";", "unsigned", "NumElts", "=", "LT", ".", "second", ".", "getVectorNumElements", "(", ")", "*", "LT", ".", "first", ";", "APInt", "WidenedDemandedElts", "=", "DemandedElts", ".", "zextOrSelf", "(", "NumElts", ")", ";", "unsigned", "Scale", "=", "NumElts", "/", "Num128Lanes", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "NumElts", ";", "I", "+=", "Scale", ")", "{", "APInt", "Mask", "=", "WidenedDemandedElts", ".", "getBitsSet", "(", "NumElts", ",", "I", ",", "I", "+", "Scale", ")", ";", "APInt", "MaskedDE", "=", "Mask", "&", "WidenedDemandedElts", ";", "unsigned", "Population", "=", "MaskedDE", ".", "countPopulation", "(", ")", ";", "Cost", "+=", "(", "Population", ">", "0", "&&", "Population", "!=", "Scale", "&&", "I", "%", "LT", ".", "second", ".", "getVectorNumElements", "(", ")", "!=", "0", ")", ";", "Cost", "+=", "Population", ">", "0", ";", "}", "Cost", "+=", "DemandedElts", ".", "countPopulation", "(", ")", ";", "if", "(", "MScalarTy", "==", "MVT", "::", "f32", ")", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "cast", "<", "FixedVectorType", ">", "(", "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", "(", "cast", "<", "FixedVectorType", ">", "(", "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", "0", "0", "0", "0", "MVT::f32", "0", "4", "1"], "File": "X86TargetTransformInfo12", "Func": "getScalarizationOverhead", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5671, "Length": 426, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "::", "SimpleValueType", "MipsTargetLowering", "::", "getSetCCResultType", "(", "EVT", "VT", ")", "const", "{", "return", "MVT", "::", "i32", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["Mips", "MVT::SimpleValueType", "Mips", "MVT::i32"], "File": "MipsISelLowering115", "Func": "getSetCCResultType", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5672, "Length": 18, "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": 5673, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LC3InstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "StringRef", "(", "getRegisterName", "(", "RegNo", ")", ")", ".", "lower", "(", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["LC3", "LC3"], "File": "LC3InstPrinter", "Func": "printRegName", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5674, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mark_frame_related", "(", "rtx", "insn", ")", "{", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "insn", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "insn", ")", "==", "PARALLEL", ")", "{", "unsigned", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "(", "unsigned", ")", "XVECLEN", "(", "insn", ",", "0", ")", ";", "i", "++", ")", "RTX_FRAME_RELATED_P", "(", "XVECEXP", "(", "insn", ",", "0", ",", "i", ")", ")", "=", "1", ";", "}", "}", ""], "natrual_language": ["Mark", "INSN", "as", "being", "frame", "related", ".", "If", "it", "is", "a", "PARALLEL", "then", "mark", "each", "element", "as", "being", "frame", "related", "as", "well", "."], "TS_V_token": ["rx", "1", "0", "0", "0", "1"], "File": "rx", "Func": "mark_frame_related", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5675, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstPrinterCommon", "::", "printPCRelImm", "(", "const", "MCInst", "*", "MI", ",", "uint64_t", "Address", ",", "unsigned", "OpNo", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "SymbolizeOperands", ")", "return", ";", "const", "MCOperand", "&", "Op", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "if", "(", "Op", ".", "isImm", "(", ")", ")", "{", "if", "(", "PrintBranchImmAsAddress", ")", "{", "uint64_t", "Target", "=", "Address", "+", "Op", ".", "getImm", "(", ")", ";", "if", "(", "MAI", ".", "getCodePointerSize", "(", ")", "==", "4", ")", "Target", "&=", "0xffffffff", ";", "O", "<<", "formatHex", "(", "Target", ")", ";", "}", "else", "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", "{", "Op", ".", "getExpr", "(", ")", "->", "print", "(", "O", ",", "&", "MAI", ")", ";", "}", "}", "}", ""], "natrual_language": ["value", "(", "e.g", "."], "TS_V_token": ["X86", "X86", "4", "0xffffffff", "\"unknown pcrel immediate operand\""], "File": "X86InstPrinterCommon", "Func": "printPCRelImm", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5676, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{", "return", "createARMMachObjectWriter", "(", "OS", ",", "false", ",", "object", "::", "mach", "::", "CTM_ARM", ",", "Subtype", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMAsmBackend (2)", "Func": "createObjectWriter", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5677, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "SDLoc", "dl", "(", "N", ")", ";", "if", "(", "N", "->", "isMachineOpcode", "(", ")", ")", "{", "N", "->", "setNodeId", "(", "-", "1", ")", ";", "return", ";", "}", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "INLINEASM", ":", "{", "if", "(", "tryInlineAsm", "(", "N", ")", ")", "return", ";", "break", ";", "}", "case", "SPISD", "::", "GLOBAL_BASE_REG", ":", "ReplaceNode", "(", "N", ",", "getGlobalBaseReg", "(", ")", ")", ";", "return", ";", "case", "ISD", "::", "SDIV", ":", "case", "ISD", "::", "UDIV", ":", "{", "if", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i64", ")", "break", ";", "SDValue", "DivLHS", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "DivRHS", "=", "N", "->", "getOperand", "(", "1", ")", ";", "SDValue", "TopPart", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SDIV", ")", "{", "TopPart", "=", "SDValue", "(", "CurDAG", "->", "getMachineNode", "(", "SP", "::", "SRAri", ",", "dl", ",", "MVT", "::", "i32", ",", "DivLHS", ",", "CurDAG", "->", "getTargetConstant", "(", "31", ",", "dl", ",", "MVT", "::", "i32", ")", ")", ",", "0", ")", ";", "}", "else", "{", "TopPart", "=", "CurDAG", "->", "getRegister", "(", "SP", "::", "G0", ",", "MVT", "::", "i32", ")", ";", "}", "TopPart", "=", "CurDAG", "->", "getCopyToReg", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "dl", ",", "SP", "::", "Y", ",", "TopPart", ",", "SDValue", "(", ")", ")", ".", "getValue", "(", "1", ")", ";", "unsigned", "Opcode", "=", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SDIV", "?", "SP", "::", "SDIVrr", ":", "SP", "::", "UDIVrr", ";", "if", "(", "(", "(", "SparcTargetMachine", "&", ")", "TM", ")", ".", "getSubtargetImpl", "(", ")", "->", "performSDIVReplace", "(", ")", "&&", "Opcode", "==", "SP", "::", "SDIVrr", ")", "{", "Opcode", "=", "SP", "::", "SDIVCCrr", ";", "}", "CurDAG", "->", "SelectNodeTo", "(", "N", ",", "Opcode", ",", "MVT", "::", "i32", ",", "DivLHS", ",", "DivRHS", ",", "TopPart", ")", ";", "return", ";", "}", "}", "SelectCode", "(", "N", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["Sparc", "Sparc", "1", "ISD::INLINEASM", "SPISD::GLOBAL_BASE_REG", "ISD::SDIV", "ISD::UDIV", "0", "MVT::i64", "0", "1", "ISD::SDIV", "SP::SRAri", "MVT::i32", "31", "MVT::i32", "0", "SP::G0", "MVT::i32", "SP::Y", "1", "ISD::SDIV", "SP::SDIVrr", "SP::UDIVrr", "Sparc", "SP::SDIVrr", "SP::SDIVCCrr", "MVT::i32"], "File": "SparcISelDAGToDAG12", "Func": "Select", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5678, "Length": 313, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "non_prefixed_form", "reg_to_non_prefixed", "(", "rtx", "reg", ",", "machine_mode", "mode", ")", "{", "if", "(", "!", "REG_P", "(", "reg", ")", "&&", "!", "SUBREG_P", "(", "reg", ")", ")", "return", "NON_PREFIXED_DEFAULT", ";", "unsigned", "int", "r", "=", "reg_or_subregno", "(", "reg", ")", ";", "if", "(", "!", "HARD_REGISTER_NUM_P", "(", "r", ")", ")", "return", "NON_PREFIXED_DEFAULT", ";", "unsigned", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "FP_REGNO_P", "(", "r", ")", ")", "{", "if", "(", "mode", "==", "SFmode", "||", "size", "==", "8", "||", "FLOAT128_2REG_P", "(", "mode", ")", ")", "return", "NON_PREFIXED_D", ";", "else", "if", "(", "size", "<", "8", ")", "return", "NON_PREFIXED_X", ";", "else", "if", "(", "TARGET_VSX", "&&", "size", ">=", "16", "&&", "(", "VECTOR_MODE_P", "(", "mode", ")", "||", "VECTOR_ALIGNMENT_P", "(", "mode", ")", "||", "mode", "==", "TImode", "||", "mode", "==", "CTImode", ")", ")", "return", "(", "TARGET_P9_VECTOR", ")", "?", "NON_PREFIXED_DQ", ":", "NON_PREFIXED_X", ";", "else", "return", "NON_PREFIXED_DEFAULT", ";", "}", "else", "if", "(", "ALTIVEC_REGNO_P", "(", "r", ")", ")", "{", "if", "(", "!", "TARGET_P9_VECTOR", ")", "return", "NON_PREFIXED_X", ";", "if", "(", "mode", "==", "SFmode", "||", "size", "==", "8", "||", "FLOAT128_2REG_P", "(", "mode", ")", ")", "return", "NON_PREFIXED_DS", ";", "else", "if", "(", "size", "<", "8", ")", "return", "NON_PREFIXED_X", ";", "else", "if", "(", "TARGET_VSX", "&&", "size", ">=", "16", "&&", "(", "VECTOR_MODE_P", "(", "mode", ")", "||", "VECTOR_ALIGNMENT_P", "(", "mode", ")", "||", "mode", "==", "TImode", "||", "mode", "==", "CTImode", ")", ")", "return", "NON_PREFIXED_DQ", ";", "else", "return", "NON_PREFIXED_DEFAULT", ";", "}", "else", "if", "(", "TARGET_POWERPC64", "&&", "size", ">=", "8", ")", "return", "NON_PREFIXED_DS", ";", "return", "NON_PREFIXED_D", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "take", "a", "REG", "and", "a", "MODE", "and", "turn", "it", "into", "the", "non-prefixed", "instruction", "format", "(", "D/DS/DQ", ")", "used", "for", "offset", "memory", "."], "TS_V_token": ["rs6000", "8", "8", "16", "8", "8", "16", "8"], "File": "rs6000", "Func": "reg_to_non_prefixed", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5679, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_address_cost", "(", "rtx", "addr", ",", "machine_mode", "mode", ",", "addr_space_t", "as", "ATTRIBUTE_UNUSED", ",", "bool", "speed", "ATTRIBUTE_UNUSED", ")", "{", "return", "mips_address_insns", "(", "addr", ",", "mode", ",", "false", ")", ";", "}", ""], "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": ["mips"], "File": "mips", "Func": "mips_address_cost", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5680, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb2InstrInfo", "::", "isLegalToSplitMBBAt", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ")", "const", "{", "unsigned", "PredReg", "=", "0", ";", "return", "llvm", "::", "getITInstrPredicate", "(", "MBBI", ",", "PredReg", ")", "==", "ARMCC", "::", "AL", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "'s", "legal", "to", "split", "the", "given", "basic", "block", "at", "the", "specified", "instruction", "(", "i.e", "."], "TS_V_token": ["ARM", "0", "ARMCC::AL"], "File": "Thumb2InstrInfo15", "Func": "isLegalToSplitMBBAt", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5681, "Length": 36, "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": 5682, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "getNumFixupKinds", "(", ")", "const", "{", "return", "AArch64", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["AArch64", "AArch64::NumTargetFixupKinds"], "File": "AArch64AsmBackend16", "Func": "getNumFixupKinds", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5683, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pa_function_arg_advance", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "int", "arg_size", "=", "pa_function_arg_size", "(", "arg", ".", "mode", ",", "arg", ".", "type", ")", ";", "cum", "->", "nargs_prototype", "--", ";", "cum", "->", "words", "+=", "(", "arg_size", "+", "(", "(", "cum", "->", "words", "&", "01", ")", "&&", "arg", ".", "type", "!=", "NULL_TREE", "&&", "arg_size", ">", "1", ")", ")", ";", "}", ""], "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": ["pa", "01", "1"], "File": "pa", "Func": "pa_function_arg_advance", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5684, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "thumb_legitimize_address", "(", "rtx", "x", ",", "rtx", "orig_x", ",", "enum", "machine_mode", "mode", ")", "{", "if", "(", "arm_tls_symbol_p", "(", "x", ")", ")", "return", "legitimize_tls_address", "(", "x", ",", "NULL_RTX", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "CONST_INT", "&&", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ">=", "32", "*", "GET_MODE_SIZE", "(", "mode", ")", "||", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", "<", "0", ")", ")", "{", "rtx", "xop0", "=", "XEXP", "(", "x", ",", "0", ")", ";", "rtx", "xop1", "=", "XEXP", "(", "x", ",", "1", ")", ";", "HOST_WIDE_INT", "offset", "=", "INTVAL", "(", "xop1", ")", ";", "if", "(", "optimize_size", "&&", "offset", ">=", "0", "&&", "offset", "<", "256", "+", "31", "*", "GET_MODE_SIZE", "(", "mode", ")", ")", "{", "HOST_WIDE_INT", "delta", ";", "if", "(", "offset", ">=", "256", ")", "delta", "=", "offset", "-", "(", "256", "-", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "else", "if", "(", "offset", "<", "32", "*", "GET_MODE_SIZE", "(", "mode", ")", "+", "8", ")", "delta", "=", "31", "*", "GET_MODE_SIZE", "(", "mode", ")", ";", "else", "delta", "=", "offset", "&", "(", "~", "31", "*", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "xop0", "=", "force_operand", "(", "plus_constant", "(", "xop0", ",", "offset", "-", "delta", ")", ",", "NULL_RTX", ")", ";", "x", "=", "plus_constant", "(", "xop0", ",", "delta", ")", ";", "}", "else", "if", "(", "offset", "<", "0", "&&", "offset", ">", "-", "256", ")", "x", "=", "force_operand", "(", "x", ",", "NULL_RTX", ")", ";", "else", "{", "xop1", "=", "force_reg", "(", "SImode", ",", "xop1", ")", ";", "x", "=", "gen_rtx_PLUS", "(", "SImode", ",", "xop0", ",", "xop1", ")", ";", "}", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "s_register_operand", "(", "XEXP", "(", "x", ",", "1", ")", ",", "SImode", ")", "&&", "!", "s_register_operand", "(", "XEXP", "(", "x", ",", "0", ")", ",", "SImode", ")", ")", "{", "rtx", "xop0", "=", "force_operand", "(", "XEXP", "(", "x", ",", "0", ")", ",", "NULL_RTX", ")", ";", "x", "=", "gen_rtx_PLUS", "(", "SImode", ",", "xop0", ",", "XEXP", "(", "x", ",", "1", ")", ")", ";", "}", "if", "(", "flag_pic", ")", "{", "rtx", "new_x", "=", "legitimize_pic_address", "(", "orig_x", ",", "mode", ",", "NULL_RTX", ")", ";", "if", "(", "new_x", "!=", "orig_x", ")", "x", "=", "new_x", ";", "}", "return", "x", ";", "}", ""], "natrual_language": ["Try", "machine-dependent", "ways", "of", "modifying", "an", "illegitimate", "Thumb", "address", "to", "be", "legitimate", ".", "If", "we", "find", "one", ",", "return", "the", "new", ",", "valid", "address", "."], "TS_V_token": ["arm", "1", "1", "32", "1", "0", "0", "1", "0", "256", "31", "256", "256", "32", "8", "31", "31", "0", "256", "1", "0", "0", "1"], "File": "arm3", "Func": "thumb_legitimize_address", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5685, "Length": 361, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "MipsTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "MipsPassConfig", "(", "*", "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": ["Mips", "Mips", "Mips"], "File": "MipsTargetMachine (2)1", "Func": "createPassConfig", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5686, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_vectorize_builtin_gather", "(", "const_tree", "mem_vectype", ",", "const_tree", "index_type", ",", "int", "scale", ")", "{", "bool", "si", ";", "enum", "ix86_builtins", "code", ";", "if", "(", "!", "TARGET_AVX2", "||", "!", "TARGET_USE_GATHER", ")", "return", "NULL_TREE", ";", "if", "(", "(", "TREE_CODE", "(", "index_type", ")", "!=", "INTEGER_TYPE", "&&", "!", "POINTER_TYPE_P", "(", "index_type", ")", ")", "||", "(", "TYPE_MODE", "(", "index_type", ")", "!=", "SImode", "&&", "TYPE_MODE", "(", "index_type", ")", "!=", "DImode", ")", ")", "return", "NULL_TREE", ";", "if", "(", "TYPE_PRECISION", "(", "index_type", ")", ">", "POINTER_SIZE", ")", "return", "NULL_TREE", ";", "if", "(", "TYPE_PRECISION", "(", "index_type", ")", "<", "POINTER_SIZE", "&&", "TYPE_UNSIGNED", "(", "index_type", ")", ")", "return", "NULL_TREE", ";", "if", "(", "scale", "<=", "0", "||", "scale", ">", "8", "||", "(", "scale", "&", "(", "scale", "-", "1", ")", ")", "!=", "0", ")", "return", "NULL_TREE", ";", "si", "=", "TYPE_MODE", "(", "index_type", ")", "==", "SImode", ";", "switch", "(", "TYPE_MODE", "(", "mem_vectype", ")", ")", "{", "case", "E_V2DFmode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3SIV2DF", ":", "IX86_BUILTIN_GATHER3DIV2DF", ";", "else", "code", "=", "si", "?", "IX86_BUILTIN_GATHERSIV2DF", ":", "IX86_BUILTIN_GATHERDIV2DF", ";", "break", ";", "case", "E_V4DFmode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3ALTSIV4DF", ":", "IX86_BUILTIN_GATHER3DIV4DF", ";", "else", "code", "=", "si", "?", "IX86_BUILTIN_GATHERALTSIV4DF", ":", "IX86_BUILTIN_GATHERDIV4DF", ";", "break", ";", "case", "E_V2DImode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3SIV2DI", ":", "IX86_BUILTIN_GATHER3DIV2DI", ";", "else", "code", "=", "si", "?", "IX86_BUILTIN_GATHERSIV2DI", ":", "IX86_BUILTIN_GATHERDIV2DI", ";", "break", ";", "case", "E_V4DImode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3ALTSIV4DI", ":", "IX86_BUILTIN_GATHER3DIV4DI", ";", "else", "code", "=", "si", "?", "IX86_BUILTIN_GATHERALTSIV4DI", ":", "IX86_BUILTIN_GATHERDIV4DI", ";", "break", ";", "case", "E_V4SFmode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3SIV4SF", ":", "IX86_BUILTIN_GATHER3DIV4SF", ";", "else", "code", "=", "si", "?", "IX86_BUILTIN_GATHERSIV4SF", ":", "IX86_BUILTIN_GATHERDIV4SF", ";", "break", ";", "case", "E_V8SFmode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3SIV8SF", ":", "IX86_BUILTIN_GATHER3ALTDIV8SF", ";", "else", "code", "=", "si", "?", "IX86_BUILTIN_GATHERSIV8SF", ":", "IX86_BUILTIN_GATHERALTDIV8SF", ";", "break", ";", "case", "E_V4SImode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3SIV4SI", ":", "IX86_BUILTIN_GATHER3DIV4SI", ";", "else", "code", "=", "si", "?", "IX86_BUILTIN_GATHERSIV4SI", ":", "IX86_BUILTIN_GATHERDIV4SI", ";", "break", ";", "case", "E_V8SImode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3SIV8SI", ":", "IX86_BUILTIN_GATHER3ALTDIV8SI", ";", "else", "code", "=", "si", "?", "IX86_BUILTIN_GATHERSIV8SI", ":", "IX86_BUILTIN_GATHERALTDIV8SI", ";", "break", ";", "case", "E_V8DFmode", ":", "if", "(", "TARGET_AVX512F", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3ALTSIV8DF", ":", "IX86_BUILTIN_GATHER3DIV8DF", ";", "else", "return", "NULL_TREE", ";", "break", ";", "case", "E_V8DImode", ":", "if", "(", "TARGET_AVX512F", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3ALTSIV8DI", ":", "IX86_BUILTIN_GATHER3DIV8DI", ";", "else", "return", "NULL_TREE", ";", "break", ";", "case", "E_V16SFmode", ":", "if", "(", "TARGET_AVX512F", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3SIV16SF", ":", "IX86_BUILTIN_GATHER3ALTDIV16SF", ";", "else", "return", "NULL_TREE", ";", "break", ";", "case", "E_V16SImode", ":", "if", "(", "TARGET_AVX512F", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3SIV16SI", ":", "IX86_BUILTIN_GATHER3ALTDIV16SI", ";", "else", "return", "NULL_TREE", ";", "break", ";", "default", ":", "return", "NULL_TREE", ";", "}", "return", "ix86_get_builtin", "(", "code", ")", ";", "}", ""], "natrual_language": ["Returns", "a", "decl", "of", "a", "function", "that", "implements", "gather", "load", "with", "memory", "type", "MEM_VECTYPE", "and", "index", "type", "INDEX_VECTYPE", "and", "SCALE", ".", "Return", "NULL_TREE", "if", "it", "is", "not", "available", "."], "TS_V_token": ["i386", "0", "8", "1", "0"], "File": "i3867", "Func": "ix86_vectorize_builtin_gather", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5687, "Length": 444, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "PPCRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R0", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R1", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "RM", ")", ";", "if", "(", "!", "Subtarget", ".", "isDarwin", "(", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "R2", ")", ";", "if", "(", "Subtarget", ".", "isPPC64", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R13", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R31", ")", ";", "if", "(", "!", "EnableRegisterScavenging", ")", "Reserved", ".", "set", "(", "PPC", "::", "R0", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X0", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X1", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X13", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X31", ")", ";", "}", "if", "(", "needsFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "R31", ")", ";", "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": ["PowerPC", "PPC", "PPC::R0", "PPC::R1", "PPC::LR", "PPC::LR8", "PPC::RM", "PPC::R2", "PPC", "PPC::R13", "PPC::R31", "PPC::R0", "PPC::X0", "PPC::X1", "PPC::X13", "PPC::X31", "PPC::R31"], "File": "PPCRegisterInfo23", "Func": "getReservedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5688, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_analyze_loop_vinfo", "(", "loop_vec_info", "loop_vinfo", ",", "aarch64_vector_costs", "*", "costs", ")", "{", "costs", "->", "is_loop", "=", "true", ";", "class", "loop", "*", "loop", "=", "LOOP_VINFO_LOOP", "(", "loop_vinfo", ")", ";", "auto", "scalar_niters", "=", "max_stmt_executions_int", "(", "loop", ")", ";", "if", "(", "scalar_niters", ">=", "0", ")", "{", "unsigned", "int", "vf", "=", "vect_vf_for_cost", "(", "loop_vinfo", ")", ";", "if", "(", "LOOP_VINFO_MASKS", "(", "loop_vinfo", ")", ".", "is_empty", "(", ")", ")", "costs", "->", "num_vector_iterations", "=", "scalar_niters", "/", "vf", ";", "else", "costs", "->", "num_vector_iterations", "=", "CEIL", "(", "scalar_niters", ",", "vf", ")", ";", "}", "if", "(", "costs", "==", "LOOP_VINFO_TARGET_COST_DATA", "(", "loop_vinfo", ")", ")", "costs", "->", "vec_flags", "=", "aarch64_classify_vector_mode", "(", "loop_vinfo", "->", "vector_mode", ")", ";", "else", "costs", "->", "vec_flags", "=", "0", ";", "aarch64_record_potential_advsimd_unrolling", "(", "loop_vinfo", ",", "costs", ")", ";", "auto", "*", "issue_info", "=", "aarch64_tune_params", ".", "vec_costs", "->", "issue_info", ";", "if", "(", "issue_info", "&&", "issue_info", "->", "sve", "&&", "!", "LOOP_VINFO_MASKS", "(", "loop_vinfo", ")", ".", "is_empty", "(", ")", ")", "{", "unsigned", "int", "num_masks", "=", "0", ";", "rgroup_controls", "*", "rgm", ";", "unsigned", "int", "num_vectors_m1", ";", "FOR_EACH_VEC_ELT", "(", "LOOP_VINFO_MASKS", "(", "loop_vinfo", ")", ",", "num_vectors_m1", ",", "rgm", ")", "if", "(", "rgm", "->", "type", ")", "num_masks", "+=", "num_vectors_m1", "+", "1", ";", "costs", "->", "sve_ops", ".", "pred_ops", "+=", "num_masks", "*", "issue_info", "->", "sve", "->", "while_pred_ops", ";", "}", "}", ""], "natrual_language": ["Do", "one-time", "initialization", "of", "COSTS", "given", "that", "we", "'re", "costing", "the", "loop", "vectorization", "described", "by", "LOOP_VINFO", "."], "TS_V_token": ["aarch64", "0", "0", "0", "1"], "File": "aarch641", "Func": "aarch64_analyze_loop_vinfo", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5689, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_setup_incoming_varargs", "(", "cumulative_args_t", "ca", ",", "const", "function_arg_info", "&", "arg", ",", "int", "*", "pretend_args_size", ",", "int", "second_time", "ATTRIBUTE_UNUSED", ")", "{", "unsigned", "int", "total_args_regs", ";", "unsigned", "int", "num_of_used_regs", ";", "unsigned", "int", "remaining_reg_count", ";", "CUMULATIVE_ARGS", "*", "cum", ";", "if", "(", "TARGET_HARD_FLOAT", ")", "return", ";", "cum", "=", "get_cumulative_args", "(", "ca", ")", ";", "total_args_regs", "=", "NDS32_MAX_GPR_REGS_FOR_ARGS", "+", "NDS32_GPR_ARG_FIRST_REGNUM", ";", "if", "(", "!", "TYPE_NO_NAMED_ARGS_STDARG_P", "(", "TREE_TYPE", "(", "current_function_decl", ")", ")", ")", "num_of_used_regs", "=", "NDS32_AVAILABLE_REGNUM_FOR_GPR_ARG", "(", "cum", "->", "gpr_offset", ",", "arg", ".", "mode", ",", "arg", ".", "type", ")", "+", "NDS32_NEED_N_REGS_FOR_ARG", "(", "arg", ".", "mode", ",", "arg", ".", "type", ")", ";", "else", "num_of_used_regs", "=", "cum", "->", "gpr_offset", "+", "NDS32_GPR_ARG_FIRST_REGNUM", ";", "remaining_reg_count", "=", "total_args_regs", "-", "num_of_used_regs", ";", "*", "pretend_args_size", "=", "remaining_reg_count", "*", "UNITS_PER_WORD", ";", "return", ";", "}", ""], "natrual_language": ["Implementing", "the", "Varargs", "Macros", "."], "TS_V_token": ["nds32"], "File": "nds321", "Func": "nds32_setup_incoming_varargs", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5690, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "PPCTTIImpl", "::", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ",", "TTI", "::", "OperandValueKind", "Op1Info", ",", "TTI", "::", "OperandValueKind", "Op2Info", ",", "TTI", "::", "OperandValueProperties", "Opd1PropInfo", ",", "TTI", "::", "OperandValueProperties", "Opd2PropInfo", ",", "ArrayRef", "<", "const", "Value", "*", ">", "Args", ",", "const", "Instruction", "*", "CxtI", ")", "{", "assert", "(", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", "&&", "\"Invalid opcode\"", ")", ";", "if", "(", "CostKind", "!=", "TTI", "::", "TCK_RecipThroughput", ")", "return", "BaseT", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "CostKind", ",", "Op1Info", ",", "Op2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ",", "Args", ",", "CxtI", ")", ";", "InstructionCost", "Cost", "=", "BaseT", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "CostKind", ",", "Op1Info", ",", "Op2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ")", ";", "return", "vectorCostAdjustment", "(", "Cost", ",", "Opcode", ",", "Ty", ",", "nullptr", ")", ";", "}", ""], "natrual_language": ["This", "is", "an", "approximation", "of", "reciprocal", "throughput", "of", "a", "math/logic", "op", "."], "TS_V_token": ["PowerPC", "PPC", "\"Invalid opcode\""], "File": "PPCTargetTransformInfo1", "Func": "getArithmeticInstrCost", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5691, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleDAGInstrs", "*", "createMachineScheduler", "(", "MachineSchedContext", "*", "C", ")", "const", "override", "{", "ScheduleDAGMILive", "*", "DAG", "=", "createGenericSchedLive", "(", "C", ")", ";", "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": ["ARM"], "File": "ARMTargetMachine14", "Func": "createMachineScheduler", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5692, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "loongarch_legitimize_tls_address", "(", "rtx", "loc", ")", "{", "rtx", "dest", ",", "tp", ",", "tmp", ";", "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", ")", ";", "tmp", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "loongarch_got_load_tls_ie", "(", "tmp", ",", "loc", ")", ")", ";", "dest", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "dest", ",", "tmp", ",", "tp", ")", ")", ";", "break", ";", "case", "TLS_MODEL_LOCAL_EXEC", ":", "tp", "=", "gen_rtx_REG", "(", "Pmode", ",", "THREAD_POINTER_REGNUM", ")", ";", "tmp", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "loongarch_got_load_tls_le", "(", "tmp", ",", "loc", ")", ")", ";", "dest", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "dest", ",", "tmp", ",", "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"], "File": "loongarch", "Func": "loongarch_legitimize_tls_address", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5693, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_veclibabi_svml", "(", "enum", "built_in_function", "fn", ",", "tree", "type_out", ",", "tree", "type_in", ")", "{", "char", "name", "[", "20", "]", ";", "tree", "fntype", ",", "new_fndecl", ",", "args", ";", "unsigned", "arity", ";", "const", "char", "*", "bname", ";", "machine_mode", "el_mode", ",", "in_mode", ";", "int", "n", ",", "in_n", ";", "if", "(", "!", "flag_unsafe_math_optimizations", ")", "return", "NULL_TREE", ";", "el_mode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "type_out", ")", ")", ";", "n", "=", "TYPE_VECTOR_SUBPARTS", "(", "type_out", ")", ";", "in_mode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "type_in", ")", ")", ";", "in_n", "=", "TYPE_VECTOR_SUBPARTS", "(", "type_in", ")", ";", "if", "(", "el_mode", "!=", "in_mode", "||", "n", "!=", "in_n", ")", "return", "NULL_TREE", ";", "switch", "(", "fn", ")", "{", "case", "BUILT_IN_EXP", ":", "case", "BUILT_IN_LOG", ":", "case", "BUILT_IN_LOG10", ":", "case", "BUILT_IN_POW", ":", "case", "BUILT_IN_TANH", ":", "case", "BUILT_IN_TAN", ":", "case", "BUILT_IN_ATAN", ":", "case", "BUILT_IN_ATAN2", ":", "case", "BUILT_IN_ATANH", ":", "case", "BUILT_IN_CBRT", ":", "case", "BUILT_IN_SINH", ":", "case", "BUILT_IN_SIN", ":", "case", "BUILT_IN_ASINH", ":", "case", "BUILT_IN_ASIN", ":", "case", "BUILT_IN_COSH", ":", "case", "BUILT_IN_COS", ":", "case", "BUILT_IN_ACOSH", ":", "case", "BUILT_IN_ACOS", ":", "if", "(", "el_mode", "!=", "DFmode", "||", "n", "!=", "2", ")", "return", "NULL_TREE", ";", "break", ";", "case", "BUILT_IN_EXPF", ":", "case", "BUILT_IN_LOGF", ":", "case", "BUILT_IN_LOG10F", ":", "case", "BUILT_IN_POWF", ":", "case", "BUILT_IN_TANHF", ":", "case", "BUILT_IN_TANF", ":", "case", "BUILT_IN_ATANF", ":", "case", "BUILT_IN_ATAN2F", ":", "case", "BUILT_IN_ATANHF", ":", "case", "BUILT_IN_CBRTF", ":", "case", "BUILT_IN_SINHF", ":", "case", "BUILT_IN_SINF", ":", "case", "BUILT_IN_ASINHF", ":", "case", "BUILT_IN_ASINF", ":", "case", "BUILT_IN_COSHF", ":", "case", "BUILT_IN_COSF", ":", "case", "BUILT_IN_ACOSHF", ":", "case", "BUILT_IN_ACOSF", ":", "if", "(", "el_mode", "!=", "SFmode", "||", "n", "!=", "4", ")", "return", "NULL_TREE", ";", "break", ";", "default", ":", "return", "NULL_TREE", ";", "}", "bname", "=", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "builtin_decl_implicit", "(", "fn", ")", ")", ")", ";", "if", "(", "fn", "==", "BUILT_IN_LOGF", ")", "strcpy", "(", "name", ",", "\"vmlsLn4\"", ")", ";", "else", "if", "(", "fn", "==", "BUILT_IN_LOG", ")", "strcpy", "(", "name", ",", "\"vmldLn2\"", ")", ";", "else", "if", "(", "n", "==", "4", ")", "{", "sprintf", "(", "name", ",", "\"vmls%s\"", ",", "bname", "+", "10", ")", ";", "name", "[", "strlen", "(", "name", ")", "-", "1", "]", "=", "'4'", ";", "}", "else", "sprintf", "(", "name", ",", "\"vmld%s2\"", ",", "bname", "+", "10", ")", ";", "name", "[", "4", "]", "&=", "~", "0x20", ";", "arity", "=", "0", ";", "for", "(", "args", "=", "DECL_ARGUMENTS", "(", "builtin_decl_implicit", "(", "fn", ")", ")", ";", "args", ";", "args", "=", "TREE_CHAIN", "(", "args", ")", ")", "arity", "++", ";", "if", "(", "arity", "==", "1", ")", "fntype", "=", "build_function_type_list", "(", "type_out", ",", "type_in", ",", "NULL", ")", ";", "else", "fntype", "=", "build_function_type_list", "(", "type_out", ",", "type_in", ",", "type_in", ",", "NULL", ")", ";", "new_fndecl", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FUNCTION_DECL", ",", "get_identifier", "(", "name", ")", ",", "fntype", ")", ";", "TREE_PUBLIC", "(", "new_fndecl", ")", "=", "1", ";", "DECL_EXTERNAL", "(", "new_fndecl", ")", "=", "1", ";", "DECL_IS_NOVOPS", "(", "new_fndecl", ")", "=", "1", ";", "TREE_READONLY", "(", "new_fndecl", ")", "=", "1", ";", "return", "new_fndecl", ";", "}", ""], "natrual_language": ["Handler", "for", "an", "SVML-style", "interface", "to", "a", "library", "with", "vectorized", "intrinsics", "."], "TS_V_token": ["i386", "20", "2", "4", "\"vmlsLn4\"", "\"vmldLn2\"", "4", "\"vmls%s\"", "10", "1", "\"vmld%s2\"", "10", "4", "0x20", "0", "1", "1", "1", "1", "1"], "File": "i3864", "Func": "ix86_veclibabi_svml", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5694, "Length": 449, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_hard_regno_call_part_clobbered", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "return", "SSE_REGNO_P", "(", "regno", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", ">", "16", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_CALL_PART_CLOBBERED", ".", "The", "only", "ABI", "that", "saves", "SSE", "registers", "across", "calls", "is", "Win64", "(", "thus", "no", "need", "to", "check", "the", "current", "ABI", "here", ")", ",", "and", "with", "AVX", "enabled", "Win64", "only", "guarantees", "that", "the", "low", "16", "bytes", "are", "saved", "."], "TS_V_token": ["i386", "16"], "File": "i3867", "Func": "ix86_hard_regno_call_part_clobbered", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5695, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FixupLEAPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Func", ")", "{", "MF", "=", "&", "Func", ";", "TM", "=", "&", "Func", ".", "getTarget", "(", ")", ";", "const", "X86Subtarget", "&", "ST", "=", "TM", "->", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "ST", ".", "LEAusesAG", "(", ")", "&&", "!", "ST", ".", "slowLEA", "(", ")", ")", "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": "X86FixupLEAs11", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5696, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_setup_incoming_varargs", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "tree", "type", ",", "int", "*", ",", "int", "no_rtl", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "CUMULATIVE_ARGS", "next_cum", ";", "tree", "fntype", ";", "gcc_assert", "(", "!", "no_rtl", ")", ";", "if", "(", "!", "TARGET_64BIT", ")", "return", ";", "fntype", "=", "TREE_TYPE", "(", "current_function_decl", ")", ";", "next_cum", "=", "*", "cum", ";", "if", "(", "stdarg_p", "(", "fntype", ")", ")", "ix86_function_arg_advance", "(", "pack_cumulative_args", "(", "&", "next_cum", ")", ",", "mode", ",", "type", ",", "true", ")", ";", "if", "(", "cum", "->", "call_abi", "==", "MS_ABI", ")", "setup_incoming_varargs_ms_64", "(", "&", "next_cum", ")", ";", "else", "setup_incoming_varargs_64", "(", "&", "next_cum", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_setup_incoming_varargs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5697, "Length": 104, "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", "::", "SHL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SRL", ":", "return", "PerformShiftCombine", "(", "N", ",", "DCI", ",", "getSubtarget", "(", ")", ")", ";", "case", "ISD", "::", "SETCC", ":", "return", "PerformSETCCCombine", "(", "N", ",", "DCI", ".", "DAG", ")", ";", "case", "ISD", "::", "VSELECT", ":", "return", "PerformVSelectCombine", "(", "N", ",", "DCI", ".", "DAG", ")", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "return", "PerformSignExtendCombine", "(", "N", ",", "DCI", ".", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "PerformIntrinsicCombine", "(", "N", ",", "DCI", ".", "DAG", ")", ";", "case", "AArch64ISD", "::", "NEON_VDUPLANE", ":", "return", "CombineVLDDUP", "(", "N", ",", "DCI", ")", ";", "case", "AArch64ISD", "::", "NEON_LD2DUP", ":", "case", "AArch64ISD", "::", "NEON_LD3DUP", ":", "case", "AArch64ISD", "::", "NEON_LD4DUP", ":", "return", "CombineBaseUpdate", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "INTRINSIC_VOID", ":", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "switch", "(", "cast", "<", "ConstantSDNode", ">", "(", "N", "->", "getOperand", "(", "1", ")", ")", "->", "getZExtValue", "(", ")", ")", "{", "case", "Intrinsic", "::", "arm_neon_vld1", ":", "case", "Intrinsic", "::", "arm_neon_vld2", ":", "case", "Intrinsic", "::", "arm_neon_vld3", ":", "case", "Intrinsic", "::", "arm_neon_vld4", ":", "case", "Intrinsic", "::", "arm_neon_vst1", ":", "case", "Intrinsic", "::", "arm_neon_vst2", ":", "case", "Intrinsic", "::", "arm_neon_vst3", ":", "case", "Intrinsic", "::", "arm_neon_vst4", ":", "case", "Intrinsic", "::", "arm_neon_vld2lane", ":", "case", "Intrinsic", "::", "arm_neon_vld3lane", ":", "case", "Intrinsic", "::", "arm_neon_vld4lane", ":", "case", "Intrinsic", "::", "aarch64_neon_vld1x2", ":", "case", "Intrinsic", "::", "aarch64_neon_vld1x3", ":", "case", "Intrinsic", "::", "aarch64_neon_vld1x4", ":", "case", "Intrinsic", "::", "aarch64_neon_vst1x2", ":", "case", "Intrinsic", "::", "aarch64_neon_vst1x3", ":", "case", "Intrinsic", "::", "aarch64_neon_vst1x4", ":", "case", "Intrinsic", "::", "arm_neon_vst2lane", ":", "case", "Intrinsic", "::", "arm_neon_vst3lane", ":", "case", "Intrinsic", "::", "arm_neon_vst4lane", ":", "return", "CombineBaseUpdate", "(", "N", ",", "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": ["AArch64", "AArch64", "ISD::AND", "ISD::OR", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::SETCC", "ISD::VSELECT", "ISD::SIGN_EXTEND", "ISD::INTRINSIC_WO_CHAIN", "AArch64ISD::NEON_VDUPLANE", "AArch64ISD::NEON_LD2DUP", "AArch64ISD::NEON_LD3DUP", "AArch64ISD::NEON_LD4DUP", "ISD::INTRINSIC_VOID", "ISD::INTRINSIC_W_CHAIN", "1", "Intrinsic::arm_neon_vld1", "Intrinsic::arm_neon_vld2", "Intrinsic::arm_neon_vld3", "Intrinsic::arm_neon_vld4", "Intrinsic::arm_neon_vst1", "Intrinsic::arm_neon_vst2", "Intrinsic::arm_neon_vst3", "Intrinsic::arm_neon_vst4", "Intrinsic::arm_neon_vld2lane", "Intrinsic::arm_neon_vld3lane", "Intrinsic::arm_neon_vld4lane", "Intrinsic::aarch64_neon_vld1x2", "Intrinsic::aarch64_neon_vld1x3", "Intrinsic::aarch64_neon_vld1x4", "Intrinsic::aarch64_neon_vst1x2", "Intrinsic::aarch64_neon_vst1x3", "Intrinsic::aarch64_neon_vst1x4", "Intrinsic::arm_neon_vst2lane", "Intrinsic::arm_neon_vst3lane", "Intrinsic::arm_neon_vst4lane"], "File": "AArch64ISelLowering60", "Func": "PerformDAGCombine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5698, "Length": 331, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "X86TargetLowering", "::", "shouldExpandAtomicRMWInIR", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "unsigned", "NativeWidth", "=", "Subtarget", ".", "is64Bit", "(", ")", "?", "64", ":", "32", ";", "Type", "*", "MemType", "=", "AI", "->", "getType", "(", ")", ";", "if", "(", "MemType", "->", "getPrimitiveSizeInBits", "(", ")", ">", "NativeWidth", ")", "{", "return", "needsCmpXchgNb", "(", "MemType", ")", "?", "AtomicExpansionKind", "::", "CmpXChg", ":", "AtomicExpansionKind", "::", "None", ";", "}", "AtomicRMWInst", "::", "BinOp", "Op", "=", "AI", "->", "getOperation", "(", ")", ";", "switch", "(", "Op", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown atomic operation\"", ")", ";", "case", "AtomicRMWInst", "::", "Xchg", ":", "case", "AtomicRMWInst", "::", "Add", ":", "case", "AtomicRMWInst", "::", "Sub", ":", "return", "AtomicExpansionKind", "::", "None", ";", "case", "AtomicRMWInst", "::", "Or", ":", "case", "AtomicRMWInst", "::", "And", ":", "case", "AtomicRMWInst", "::", "Xor", ":", "return", "!", "AI", "->", "use_empty", "(", ")", "?", "AtomicExpansionKind", "::", "CmpXChg", ":", "AtomicExpansionKind", "::", "None", ";", "case", "AtomicRMWInst", "::", "Nand", ":", "case", "AtomicRMWInst", "::", "Max", ":", "case", "AtomicRMWInst", "::", "Min", ":", "case", "AtomicRMWInst", "::", "UMax", ":", "case", "AtomicRMWInst", "::", "UMin", ":", "case", "AtomicRMWInst", "::", "FAdd", ":", "case", "AtomicRMWInst", "::", "FSub", ":", "return", "AtomicExpansionKind", "::", "CmpXChg", ";", "}", "}", ""], "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)5", "Func": "shouldExpandAtomicRMWInIR", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5699, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "X86RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "X86Subtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "bool", "HasAVX", "=", "Subtarget", ".", "hasAVX", "(", ")", ";", "bool", "HasAVX512", "=", "Subtarget", ".", "hasAVX512", "(", ")", ";", "bool", "CallsEHReturn", "=", "MF", "->", "getMMI", "(", ")", ".", "callsEHReturn", "(", ")", ";", "assert", "(", "MF", "&&", "\"MachineFunction required\"", ")", ";", "switch", "(", "MF", "->", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", ")", "{", "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", "::", "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", "::", "Cold", ":", "if", "(", "Is64Bit", ")", "return", "CSR_64_MostRegs_SaveList", ";", "break", ";", "case", "CallingConv", "::", "X86_64_Win64", ":", "return", "CSR_Win64_SaveList", ";", "case", "CallingConv", "::", "X86_64_SysV", ":", "if", "(", "CallsEHReturn", ")", "return", "CSR_64EHRet_SaveList", ";", "return", "CSR_64_SaveList", ";", "default", ":", "break", ";", "}", "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", "\"MachineFunction required\"", "X86", "X86"], "File": "X86RegisterInfo37", "Func": "getCalleeSavedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5700, "Length": 264, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "const", "mode_suffix_info", "&", "function_instance", "::", "mode_suffix", "(", ")", "const", "{", "return", "mode_suffixes", "[", "mode_suffix_id", "]", ";", "}", ""], "natrual_language": ["Return", "information", "about", "the", "function", "'s", "mode", "suffix", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "mode_suffix", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5701, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_do_expand_vec_perm", "(", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ",", "machine_mode", "vmode", ",", "const", "vec_perm_builder", "&", "perm", ")", "{", "rtx", "x", "=", "expand_vec_perm_const", "(", "vmode", ",", "op0", ",", "op1", ",", "perm", ",", "BLKmode", ",", "target", ")", ";", "if", "(", "x", "!=", "target", ")", "emit_move_insn", "(", "target", ",", "x", ")", ";", "}", ""], "natrual_language": ["A", "subroutine", "for", "rs6000_expand_extract_even", "&", "rs6000_expand_interleave", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_do_expand_vec_perm", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5702, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "mayBeEmittedAsTailCall", "(", "const", "CallInst", "*", "CI", ")", "const", "{", "auto", "Attr", "=", "CI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getFnAttribute", "(", "\"disable-tail-calls\"", ")", ";", "if", "(", "!", "CI", "->", "isTailCall", "(", ")", "||", "Attr", ".", "getValueAsString", "(", ")", "==", "\"true\"", ")", "return", "false", ";", "ImmutableCallSite", "CS", "(", "CI", ")", ";", "CallingConv", "::", "ID", "CalleeCC", "=", "CS", ".", "getCallingConv", "(", ")", ";", "if", "(", "!", "mayTailCallThisCC", "(", "CalleeCC", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "may", "be", "able", "emit", "the", "call", "instruction", "as", "a", "tail", "call", "."], "TS_V_token": ["X86", "X86", "\"disable-tail-calls\"", "\"true\""], "File": "X86ISelLowering (2)6", "Func": "mayBeEmittedAsTailCall", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5703, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnFunction", "(", "Function", "&", "F", ")", "override", "{", "if", "(", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "auto", "*", "TPC", "=", "getAnalysisIfAvailable", "<", "TargetPassConfig", ">", "(", ")", ";", "if", "(", "!", "TPC", ")", "return", "false", ";", "auto", "&", "TM", "=", "TPC", "->", "getTM", "<", "PPCTargetMachine", ">", "(", ")", ";", "ST", "=", "TM", ".", "getSubtargetImpl", "(", "F", ")", ";", "PHINodeSet", "PromotablePHINodes", "=", "getPromotablePHINodes", "(", "F", ")", ";", "B2IMap", "Bool2IntMap", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "&", "BB", ":", "F", ")", "{", "for", "(", "auto", "&", "I", ":", "BB", ")", "{", "if", "(", "auto", "*", "R", "=", "dyn_cast", "<", "ReturnInst", ">", "(", "&", "I", ")", ")", "if", "(", "F", ".", "getReturnType", "(", ")", "->", "isIntegerTy", "(", "1", ")", ")", "Changed", "|=", "runOnUse", "(", "R", "->", "getOperandUse", "(", "0", ")", ",", "PromotablePHINodes", ",", "Bool2IntMap", ")", ";", "if", "(", "auto", "*", "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", "PPC", "1", "0", "1"], "File": "PPCBoolRetToInt", "Func": "runOnFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5704, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64ConditionalCompares", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** AArch64 Conditional Compares **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "SchedModel", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getSchedModel", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "DomTree", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "Loops", "=", "getAnalysisIfAvailable", "<", "MachineLoopInfo", ">", "(", ")", ";", "MBPI", "=", "&", "getAnalysis", "<", "MachineBranchProbabilityInfo", ">", "(", ")", ";", "Traces", "=", "&", "getAnalysis", "<", "MachineTraceMetrics", ">", "(", ")", ";", "MinInstr", "=", "nullptr", ";", "MinSize", "=", "MF", ".", "getFunction", "(", ")", ".", "optForMinSize", "(", ")", ";", "bool", "Changed", "=", "false", ";", "CmpConv", ".", "runOnMachineFunction", "(", "MF", ",", "MBPI", ")", ";", "for", "(", "auto", "*", "I", ":", "depth_first", "(", "DomTree", ")", ")", "if", "(", "tryConvert", "(", "I", "->", "getBlock", "(", ")", ")", ")", "Changed", "=", "true", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"********** AArch64 Conditional Compares **********\\n\"", "\"********** Function: \""], "File": "AArch64ConditionalCompares26", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5705, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "X86Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "const", "X86RegisterInfo", "&", "RegInfo", "=", "*", "STI", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "StackPtr", "=", "RegInfo", ".", "getStackRegister", "(", ")", ";", "bool", "reserveCallFrame", "=", "hasReservedCallFrame", "(", "MF", ")", ";", "int", "Opcode", "=", "I", "->", "getOpcode", "(", ")", ";", "bool", "isDestroy", "=", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ";", "bool", "IsLP64", "=", "STI", ".", "isTarget64BitLP64", "(", ")", ";", "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", "=", "STI", ".", "getFrameLowering", "(", ")", "->", "getStackAlignment", "(", ")", ";", "Amount", "=", "(", "Amount", "+", "StackAlign", "-", "1", ")", "/", "StackAlign", "*", "StackAlign", ";", "MachineInstr", "*", "New", "=", "nullptr", ";", "Amount", "-=", "InternalAmt", ";", "if", "(", "Amount", ")", "{", "if", "(", "Opcode", "==", "TII", ".", "getCallFrameSetupOpcode", "(", ")", ")", "{", "New", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "getSUBriOpcode", "(", "IsLP64", ",", "Amount", ")", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ")", ";", "unsigned", "Opc", "=", "getADDriOpcode", "(", "IsLP64", ",", "Amount", ")", ";", "New", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "}", "if", "(", "New", ")", "{", "New", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "return", ";", "}", "if", "(", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", "&&", "InternalAmt", ")", "{", "unsigned", "Opc", "=", "getSUBriOpcode", "(", "IsLP64", ",", "InternalAmt", ")", ";", "MachineInstr", "*", "New", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "InternalAmt", ")", ";", "New", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "B", "=", "MBB", ".", "begin", "(", ")", ";", "while", "(", "I", "!=", "B", "&&", "!", "std", "::", "prev", "(", "I", ")", "->", "isCall", "(", ")", ")", "--", "I", ";", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "}", ""], "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", "X86", "X86", "X86", "0", "0", "1", "0", "0", "1", "3", "3"], "File": "X86FrameLowering65", "Func": "eliminateCallFramePseudoInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5706, "Length": 453, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_elf_unique_section", "(", "tree", "decl", ",", "int", "reloc", ")", "{", "default_unique_section_1", "(", "decl", ",", "reloc", ",", "flag_pic", "||", "DEFAULT_ABI", "==", "ABI_AIX", ")", ";", "}", ""], "natrual_language": ["A", "C", "statement", "to", "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", ".", "If", "you", "do", "not", "define", "this", "macro", ",", "GCC", "will", "use", "the", "symbol", "name", "prefixed", "by", "`", ".", "'", "as", "the", "section", "name", ".", "Note", "-", "this", "macro", "can", "now", "be", "called", "for", "uninitialized", "data", "items", "as", "well", "as", "initialized", "data", "and", "functions", "."], "TS_V_token": ["rs6000"], "File": "rs60003", "Func": "rs6000_elf_unique_section", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5707, "Length": 25, "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", "::", "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", "AArch64ISD", "::", "NVCAST", ":", "return", "performNVCASTCombine", "(", "N", ")", ";", "case", "ISD", "::", "INSERT_VECTOR_ELT", ":", "return", "performPostLD1Combine", "(", "N", ",", "DCI", ",", "true", ")", ";", "case", "ISD", "::", "EXTRACT_VECTOR_ELT", ":", "return", "performAcrossLaneReductionCombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "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", "AArch64ISD::NVCAST", "ISD::INSERT_VECTOR_ELT", "ISD::EXTRACT_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": "AArch64ISelLowering122", "Func": "PerformDAGCombine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5708, "Length": 487, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_darwin64_record_arg_flush", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "HOST_WIDE_INT", "bitpos", ",", "rtx", "rvec", "[", "]", ",", "int", "*", "k", ")", "{", "machine_mode", "mode", ";", "unsigned", "int", "regno", ";", "unsigned", "int", "startbit", ",", "endbit", ";", "int", "this_regno", ",", "intregs", ",", "intoffset", ";", "rtx", "reg", ";", "if", "(", "cum", "->", "intoffset", "==", "-", "1", ")", "return", ";", "intoffset", "=", "cum", "->", "intoffset", ";", "cum", "->", "intoffset", "=", "-", "1", ";", "if", "(", "intoffset", "%", "BITS_PER_WORD", "!=", "0", ")", "{", "unsigned", "int", "bits", "=", "BITS_PER_WORD", "-", "intoffset", "%", "BITS_PER_WORD", ";", "if", "(", "!", "int_mode_for_size", "(", "bits", ",", "0", ")", ".", "exists", "(", "&", "mode", ")", ")", "{", "intoffset", "=", "ROUND_DOWN", "(", "intoffset", ",", "BITS_PER_WORD", ")", ";", "mode", "=", "word_mode", ";", "}", "}", "else", "mode", "=", "word_mode", ";", "startbit", "=", "ROUND_DOWN", "(", "intoffset", ",", "BITS_PER_WORD", ")", ";", "endbit", "=", "ROUND_UP", "(", "bitpos", ",", "BITS_PER_WORD", ")", ";", "intregs", "=", "(", "endbit", "-", "startbit", ")", "/", "BITS_PER_WORD", ";", "this_regno", "=", "cum", "->", "words", "+", "intoffset", "/", "BITS_PER_WORD", ";", "if", "(", "intregs", ">", "0", "&&", "intregs", ">", "GP_ARG_NUM_REG", "-", "this_regno", ")", "cum", "->", "use_stack", "=", "1", ";", "intregs", "=", "MIN", "(", "intregs", ",", "GP_ARG_NUM_REG", "-", "this_regno", ")", ";", "if", "(", "intregs", "<=", "0", ")", "return", ";", "intoffset", "/=", "BITS_PER_UNIT", ";", "do", "{", "regno", "=", "GP_ARG_MIN_REG", "+", "this_regno", ";", "reg", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "rvec", "[", "(", "*", "k", ")", "++", "]", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "reg", ",", "GEN_INT", "(", "intoffset", ")", ")", ";", "this_regno", "+=", "1", ";", "intoffset", "=", "(", "intoffset", "|", "(", "UNITS_PER_WORD", "-", "1", ")", ")", "+", "1", ";", "mode", "=", "word_mode", ";", "intregs", "-=", "1", ";", "}", "while", "(", "intregs", ">", "0", ")", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "rs6000_darwin64_record_arg", ".", "Assign", "the", "bits", "of", "the", "structure", "between", "cum-", ">", "intoffset", "and", "bitpos", "to", "integer", "registers", "."], "TS_V_token": ["rs6000", "1", "1", "0", "0", "0", "1", "0", "1", "1", "1", "1", "0"], "File": "rs6000-call", "Func": "rs6000_darwin64_record_arg_flush", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5709, "Length": 276, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mmix_shiftable_wyde_value", "(", "unsigned", "HOST_WIDEST_INT", "value", ")", "{", "int", "i", ";", "int", "has_candidate", "=", "0", ";", "for", "(", "i", "=", "0", ";", "i", "<", "4", ";", "i", "++", ")", "{", "if", "(", "value", "&", "65535", ")", "{", "if", "(", "has_candidate", ")", "return", "0", ";", "else", "has_candidate", "=", "1", ";", "}", "value", ">>=", "16", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["Return", "1", "if", "value", "is", "0", "..", "65535", "*", "2", "*", "*", "(", "16", "*", "N", ")", "for", "N=0", "..", "3.", "else", "return", "0", "."], "TS_V_token": ["mmix", "0", "0", "4", "65535", "0", "1", "16", "1"], "File": "mmix3", "Func": "mmix_shiftable_wyde_value", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5710, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "pru_get_ctable_base_index", "(", "unsigned", "HOST_WIDE_INT", "caddr", ")", "{", "unsigned", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "pru_ctable", ")", ";", "i", "++", ")", "{", "if", "(", "pru_ctable", "[", "i", "]", ".", "valid", "&&", "IN_RANGE", "(", "caddr", ",", "pru_ctable", "[", "i", "]", ".", "base", ",", "pru_ctable", "[", "i", "]", ".", "base", "+", "0xff", ")", ")", "return", "i", ";", "}", "return", "-", "1", ";", "}", ""], "natrual_language": ["Check", "if", "the", "given", "address", "can", "be", "addressed", "via", "CTABLE_BASE", "+", "UBYTE_OFFS", ",", "and", "return", "the", "base", "CTABLE", "index", "if", "possible", "."], "TS_V_token": ["pru", "0", "0xff", "1"], "File": "pru", "Func": "pru_get_ctable_base_index", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5711, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "loongarch_immediate_operand_p", "(", "int", "code", ",", "HOST_WIDE_INT", "x", ")", "{", "switch", "(", "code", ")", "{", "case", "ASHIFT", ":", "case", "ASHIFTRT", ":", "case", "LSHIFTRT", ":", "return", "true", ";", "case", "ROTATE", ":", "case", "ROTATERT", ":", "return", "true", ";", "case", "AND", ":", "case", "IOR", ":", "case", "XOR", ":", "return", "IMM12_OPERAND_UNSIGNED", "(", "x", ")", ";", "case", "PLUS", ":", "case", "LT", ":", "case", "LTU", ":", "return", "IMM12_OPERAND", "(", "x", ")", ";", "case", "EQ", ":", "case", "NE", ":", "case", "GT", ":", "case", "GTU", ":", "return", "x", "==", "0", ";", "case", "GE", ":", "case", "GEU", ":", "return", "x", "==", "1", ";", "case", "LE", ":", "return", "IMM12_OPERAND", "(", "x", "+", "1", ")", ";", "case", "LEU", ":", "return", "IMM12_OPERAND", "(", "x", "+", "1", ")", "&&", "x", "+", "1", "!=", "0", ";", "case", "SIGN_EXTRACT", ":", "case", "ZERO_EXTRACT", ":", "return", "1", ";", "default", ":", "return", "x", "==", "0", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "there", "is", "a", "instruction", "that", "implements", "CODE", "and", "if", "that", "instruction", "accepts", "X", "as", "an", "immediate", "operand", "."], "TS_V_token": ["loongarch", "0", "1", "1", "1", "1", "0", "1", "0"], "File": "loongarch", "Func": "loongarch_immediate_operand_p", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5712, "Length": 141, "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", "::", "TailCall", ":", "return", "\"Cpu0ISD::TailCall\"", ";", "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", "::", "EH_RETURN", ":", "return", "\"Cpu0ISD::EH_RETURN\"", ";", "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::TailCall", "\"Cpu0ISD::TailCall\"", "Cpu0ISD::Hi", "\"Cpu0ISD::Hi\"", "Cpu0ISD::Lo", "\"Cpu0ISD::Lo\"", "Cpu0ISD::GPRel", "\"Cpu0ISD::GPRel\"", "Cpu0ISD::Ret", "\"Cpu0ISD::Ret\"", "Cpu0ISD::EH_RETURN", "\"Cpu0ISD::EH_RETURN\"", "Cpu0ISD::DivRem", "\"Cpu0ISD::DivRem\"", "Cpu0ISD::DivRemU", "\"Cpu0ISD::DivRemU\"", "Cpu0ISD::Wrapper", "\"Cpu0ISD::Wrapper\""], "File": "Cpu0ISelLowering4", "Func": "getTargetNodeName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5713, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", "->", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsSubtarget (2)", "Func": "getRegisterInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5714, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AnalyzeCallResult", "(", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "CCAssignFn", "Fn", ",", "const", "Type", "*", "RetTy", ",", "const", "char", "*", "Func", ")", "{", "PreAnalyzeCallResult", "(", "Ins", ",", "Fn", ",", "RetTy", ",", "Func", ")", ";", "CCState", "::", "AnalyzeCallResult", "(", "Ins", ",", "Fn", ")", ";", "}", ""], "natrual_language": ["AnalyzeCallResult", "-", "Same", "as", "above", "except", "it", "'s", "specialized", "for", "calls", "which", "produce", "a", "single", "value", "."], "TS_V_token": ["Mips", "ISD::InputArg"], "File": "MipsCCState8", "Func": "AnalyzeCallResult", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5715, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "function_arg_record_value", "(", "const_tree", "type", ",", "machine_mode", "mode", ",", "int", "slotno", ",", "int", "named", ",", "int", "regbase", ")", "{", "HOST_WIDE_INT", "typesize", "=", "int_size_in_bytes", "(", "type", ")", ";", "struct", "function_arg_record_value_parms", "parms", ";", "unsigned", "int", "nregs", ";", "parms", ".", "ret", "=", "NULL_RTX", ";", "parms", ".", "slotno", "=", "slotno", ";", "parms", ".", "named", "=", "named", ";", "parms", ".", "regbase", "=", "regbase", ";", "parms", ".", "stack", "=", "0", ";", "parms", ".", "nregs", "=", "0", ";", "parms", ".", "intoffset", "=", "0", ";", "function_arg_record_value_1", "(", "type", ",", "0", ",", "&", "parms", ",", "false", ")", ";", "if", "(", "parms", ".", "intoffset", "!=", "-", "1", ")", "{", "unsigned", "int", "startbit", ",", "endbit", ";", "int", "intslots", ",", "this_slotno", ";", "startbit", "=", "parms", ".", "intoffset", "&", "-", "BITS_PER_WORD", ";", "endbit", "=", "(", "typesize", "*", "BITS_PER_UNIT", "+", "BITS_PER_WORD", "-", "1", ")", "&", "-", "BITS_PER_WORD", ";", "intslots", "=", "(", "endbit", "-", "startbit", ")", "/", "BITS_PER_WORD", ";", "this_slotno", "=", "slotno", "+", "parms", ".", "intoffset", "/", "BITS_PER_WORD", ";", "if", "(", "intslots", ">", "0", "&&", "intslots", ">", "SPARC_INT_ARG_MAX", "-", "this_slotno", ")", "{", "intslots", "=", "MAX", "(", "0", ",", "SPARC_INT_ARG_MAX", "-", "this_slotno", ")", ";", "parms", ".", "stack", "=", "1", ";", "}", "parms", ".", "nregs", "+=", "intslots", ";", "}", "nregs", "=", "parms", ".", "nregs", ";", "if", "(", "nregs", "==", "0", ")", "{", "if", "(", "typesize", "<=", "0", ")", "{", "return", "gen_rtx_REG", "(", "mode", ",", "regbase", ")", ";", "}", "else", "{", "nregs", "=", "(", "typesize", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "}", "if", "(", "nregs", "+", "slotno", ">", "SPARC_INT_ARG_MAX", ")", "nregs", "=", "SPARC_INT_ARG_MAX", "-", "slotno", ";", "}", "gcc_assert", "(", "nregs", "!=", "0", ")", ";", "parms", ".", "ret", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "rtvec_alloc", "(", "parms", ".", "stack", "+", "nregs", ")", ")", ";", "if", "(", "parms", ".", "stack", ")", "XVECEXP", "(", "parms", ".", "ret", ",", "0", ",", "0", ")", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "NULL_RTX", ",", "const0_rtx", ")", ";", "parms", ".", "nregs", "=", "0", ";", "parms", ".", "intoffset", "=", "0", ";", "function_arg_record_value_2", "(", "type", ",", "0", ",", "&", "parms", ",", "false", ")", ";", "function_arg_record_value_3", "(", "typesize", "*", "BITS_PER_UNIT", ",", "&", "parms", ")", ";", "gcc_assert", "(", "parms", ".", "nregs", "==", "nregs", ")", ";", "return", "parms", ".", "ret", ";", "}", ""], "natrual_language": ["Used", "by", "function_arg", "and", "sparc_function_value_1", "to", "implement", "the", "complex", "conventions", "of", "the", "64-bit", "ABI", "for", "passing", "and", "returning", "structures", ".", "Return", "an", "expression", "valid", "as", "a", "return", "value", "for", "the", "FUNCTION_ARG", "and", "TARGET_FUNCTION_VALUE", ".", "TYPE", "is", "the", "data", "type", "of", "the", "argument", "(", "as", "a", "tree", ")", ".", "This", "is", "null", "for", "libcalls", "where", "that", "information", "may", "not", "be", "available", ".", "MODE", "is", "the", "argument", "'s", "machine", "mode", ".", "SLOTNO", "is", "the", "index", "number", "of", "the", "argument", "'s", "slot", "in", "the", "parameter", "array", ".", "NAMED", "is", "true", "if", "this", "argument", "is", "a", "named", "parameter", "(", "otherwise", "it", "is", "an", "extra", "parameter", "matching", "an", "ellipsis", ")", ".", "REGBASE", "is", "the", "regno", "of", "the", "base", "register", "for", "the", "parameter", "array", "."], "TS_V_token": ["sparc", "0", "0", "0", "0", "1", "1", "0", "0", "1", "0", "0", "1", "0", "0", "0", "0", "0", "0"], "File": "sparc4", "Func": "function_arg_record_value", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5716, "Length": 352, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CSKYSubtarget", "&", "CSKYSubtarget", "::", "initializeSubtargetDependencies", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPUName", ",", "StringRef", "TuneCPUName", ",", "StringRef", "FS", ")", "{", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", "=", "\"generic\"", ";", "if", "(", "TuneCPUName", ".", "empty", "(", ")", ")", "TuneCPUName", "=", "CPUName", ";", "UseHardFloat", "=", "false", ";", "UseHardFloatABI", "=", "false", ";", "HasFPUv2SingleFloat", "=", "false", ";", "HasFPUv2DoubleFloat", "=", "false", ";", "HasFPUv3SingleFloat", "=", "false", ";", "HasFPUv3DoubleFloat", "=", "false", ";", "HasBTST16", "=", "false", ";", "HasJAVA", "=", "false", ";", "HasExtendLrw", "=", "false", ";", "HasDoloop", "=", "false", ";", "HasHighRegisters", "=", "false", ";", "HasE1", "=", "false", ";", "HasE2", "=", "false", ";", "Has2E3", "=", "false", ";", "HasMP", "=", "false", ";", "Has3E3r1", "=", "false", ";", "Has3r1E3r2", "=", "false", ";", "Has3r2E3r3", "=", "false", ";", "Has3E7", "=", "false", ";", "HasMP1E2", "=", "false", ";", "Has7E10", "=", "false", ";", "Has10E60", "=", "false", ";", "ParseSubtargetFeatures", "(", "CPUName", ",", "TuneCPUName", ",", "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": ["CSKY", "CSKY", "CSKY", "\"generic\""], "File": "CSKYSubtarget2", "Func": "initializeSubtargetDependencies", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5717, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64RegisterBankInfo", "::", "copyCost", "(", "const", "RegisterBank", "&", "A", ",", "const", "RegisterBank", "&", "B", ",", "unsigned", "Size", ")", "const", "{", "if", "(", "&", "A", "==", "&", "AArch64", "::", "GPRRegBank", "&&", "&", "B", "==", "&", "AArch64", "::", "FPRRegBank", ")", "return", "5", ";", "if", "(", "&", "A", "==", "&", "AArch64", "::", "FPRRegBank", "&&", "&", "B", "==", "&", "AArch64", "::", "GPRRegBank", ")", "return", "4", ";", "return", "RegisterBankInfo", "::", "copyCost", "(", "A", ",", "B", ",", "Size", ")", ";", "}", ""], "natrual_language": ["Get", "the", "cost", "of", "a", "copy", "from", "B", "to", "A", ",", "or", "put", "differently", ",", "get", "the", "cost", "of", "A", "=", "COPY", "B", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::GPRRegBank", "AArch64::FPRRegBank", "5", "AArch64::FPRRegBank", "AArch64::GPRRegBank", "4"], "File": "AArch64RegisterBankInfo", "Func": "copyCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5718, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "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": "MipsRegisterInfo19", "Func": "getCalleeSavedRegs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5719, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "LanaiTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "StringRef", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'r'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Lanai", "::", "GPRRegClass", ")", ";", "default", ":", "break", ";", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "TRI", ",", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["Lanai", "Lanai", "1", "0", "0U", "Lanai::GPRRegClass"], "File": "LanaiISelLowering", "Func": "getRegForInlineAsmConstraint", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5720, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "getIntImmCostInst", "(", "unsigned", "Opc", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "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": ["Lanai"], "File": "LanaiTargetTransformInfo10", "Func": "getIntImmCostInst", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5721, "Length": 35, "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", "->", "perm", ".", "length", "(", ")", ";", "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", "E_V16QImode", ":", "gen", "=", "gen_neon_vzipv16qi_internal", ";", "break", ";", "case", "E_V8QImode", ":", "gen", "=", "gen_neon_vzipv8qi_internal", ";", "break", ";", "case", "E_V8HImode", ":", "gen", "=", "gen_neon_vzipv8hi_internal", ";", "break", ";", "case", "E_V4HImode", ":", "gen", "=", "gen_neon_vzipv4hi_internal", ";", "break", ";", "case", "E_V8HFmode", ":", "gen", "=", "gen_neon_vzipv8hf_internal", ";", "break", ";", "case", "E_V4HFmode", ":", "gen", "=", "gen_neon_vzipv4hf_internal", ";", "break", ";", "case", "E_V4SImode", ":", "gen", "=", "gen_neon_vzipv4si_internal", ";", "break", ";", "case", "E_V2SImode", ":", "gen", "=", "gen_neon_vzipv2si_internal", ";", "break", ";", "case", "E_V2SFmode", ":", "gen", "=", "gen_neon_vzipv2sf_internal", ";", "break", ";", "case", "E_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": "arm7", "Func": "arm_evpc_neon_vzip", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5722, "Length": 439, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx_insn", "*", "thumb1_md_asm_adjust", "(", "vec", "<", "rtx", ">", "&", "outputs", ",", "vec", "<", "rtx", ">", "&", ",", "vec", "<", "machine_mode", ">", "&", ",", "vec", "<", "const", "char", "*", ">", "&", "constraints", ",", "vec", "<", "rtx", ">", "&", ",", "HARD_REG_SET", "&", ",", "location_t", ")", "{", "for", "(", "unsigned", "i", "=", "0", ",", "n", "=", "outputs", ".", "length", "(", ")", ";", "i", "<", "n", ";", "++", "i", ")", "if", "(", "startswith", "(", "constraints", "[", "i", "]", ",", "\"=@cc\"", ")", ")", "{", "sorry", "(", "\"% flags not supported in thumb1 mode\"", ")", ";", "break", ";", "}", "return", "NULL", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_MD_ASM_ADJUST", ",", "while", "in", "thumb1", "mode", ".", "Unlike", "the", "arm", "version", ",", "we", "do", "NOT", "implement", "asm", "flag", "outputs", "."], "TS_V_token": ["arm", "0", "\"=@cc\"", "\"% flags not supported in thumb1 mode\""], "File": "arm", "Func": "thumb1_md_asm_adjust", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5723, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPreSched2", "(", ")", "{", "addPass", "(", "createAArch64ExpandPseudoPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableLoadStoreOpt", ")", "addPass", "(", "createAArch64LoadStoreOptimizationPass", "(", ")", ")", ";", "}", ""], "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": "AArch64TargetMachine10", "Func": "addPreSched2", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5724, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ELFAArch64AsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", "const", "{", "if", "(", "!", "IsLittleEndian", "&&", "Fixup", ".", "getKind", "(", ")", "==", "FK_Data_4", ")", "{", "const", "MCSection", "*", "Sec", "=", "Fixup", ".", "getValue", "(", ")", "->", "FindAssociatedSection", "(", ")", ";", "const", "MCSectionELF", "*", "SecELF", "=", "dyn_cast_or_null", "<", "const", "MCSectionELF", ">", "(", "Sec", ")", ";", "if", "(", "SecELF", "&&", "SecELF", "->", "getSectionName", "(", ")", "==", "\".eh_frame\"", ")", "Value", "=", "ByteSwap_32", "(", "unsigned", "(", "Value", ")", ")", ";", "}", "AArch64AsmBackend", "::", "applyFixup", "(", "Fixup", ",", "Data", ",", "DataSize", ",", "Value", ",", "IsPCRel", ")", ";", "}", ""], "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", "\".eh_frame\"", "AArch64"], "File": "AArch64AsmBackend14", "Func": "applyFixup", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5725, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "PPCDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "OS", ",", "raw_ostream", "&", "CS", ")", "const", "{", "Size", "=", "4", ";", "if", "(", "Bytes", ".", "size", "(", ")", "<", "4", ")", "{", "Size", "=", "0", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "uint32_t", "Inst", "=", "IsLittleEndian", "?", "support", "::", "endian", "::", "read32le", "(", "Bytes", ".", "data", "(", ")", ")", ":", "support", "::", "endian", "::", "read32be", "(", "Bytes", ".", "data", "(", ")", ")", ";", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "PPC", "::", "FeatureQPX", "]", ")", "{", "DecodeStatus", "result", "=", "decodeInstruction", "(", "DecoderTableQPX32", ",", "MI", ",", "Inst", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "result", "!=", "MCDisassembler", "::", "Fail", ")", "return", "result", ";", "}", "return", "decodeInstruction", "(", "DecoderTable32", ",", "MI", ",", "Inst", ",", "Address", ",", "this", ",", "STI", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["PowerPC", "PPC", "4", "4", "0", "support::endian", "support::endian", "PPC::FeatureQPX"], "File": "PPCDisassembler22", "Func": "getInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5726, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "direct_return", "(", "void", ")", "{", "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": "stormy163", "Func": "direct_return", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5727, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_expand_vector_set", "(", "rtx", "target", ",", "rtx", "val", ",", "int", "elt", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "target", ")", ";", "machine_mode", "inner_mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "rtx", "reg", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rtx", "mask", ",", "mem", ",", "x", ";", "int", "width", "=", "GET_MODE_SIZE", "(", "inner_mode", ")", ";", "int", "i", ";", "if", "(", "VECTOR_MEM_VSX_P", "(", "mode", ")", "&&", "(", "mode", "==", "V2DFmode", "||", "mode", "==", "V2DImode", ")", ")", "{", "rtx", "(", "*", "set_func", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", "=", "(", "(", "mode", "==", "V2DFmode", ")", "?", "gen_vsx_set_v2df", ":", "gen_vsx_set_v2di", ")", ";", "emit_insn", "(", "set_func", "(", "target", ",", "target", ",", "val", ",", "GEN_INT", "(", "elt", ")", ")", ")", ";", "return", ";", "}", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "GET_MODE_SIZE", "(", "inner_mode", ")", "&&", "elt", "==", "0", ")", "{", "emit_move_insn", "(", "target", ",", "gen_lowpart", "(", "mode", ",", "val", ")", ")", ";", "return", ";", "}", "mem", "=", "assign_stack_temp", "(", "mode", ",", "GET_MODE_SIZE", "(", "inner_mode", ")", ")", ";", "emit_move_insn", "(", "adjust_address_nv", "(", "mem", ",", "inner_mode", ",", "0", ")", ",", "val", ")", ";", "x", "=", "gen_rtx_UNSPEC", "(", "VOIDmode", ",", "gen_rtvec", "(", "1", ",", "const0_rtx", ")", ",", "UNSPEC_LVE", ")", ";", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "gen_rtx_SET", "(", "VOIDmode", ",", "reg", ",", "mem", ")", ",", "x", ")", ")", ")", ";", "mask", "=", "gen_rtx_PARALLEL", "(", "V16QImode", ",", "rtvec_alloc", "(", "16", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "16", ";", "++", "i", ")", "XVECEXP", "(", "mask", ",", "0", ",", "i", ")", "=", "GEN_INT", "(", "i", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "width", ";", "++", "i", ")", "XVECEXP", "(", "mask", ",", "0", ",", "elt", "*", "width", "+", "i", ")", "=", "GEN_INT", "(", "i", "+", "0x10", ")", ";", "x", "=", "gen_rtx_CONST_VECTOR", "(", "V16QImode", ",", "XVEC", "(", "mask", ",", "0", ")", ")", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "x", "=", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "3", ",", "target", ",", "reg", ",", "force_reg", "(", "V16QImode", ",", "x", ")", ")", ",", "UNSPEC_VPERM", ")", ";", "else", "{", "rtx", "notx", "=", "gen_rtx_NOT", "(", "V16QImode", ",", "force_reg", "(", "V16QImode", ",", "x", ")", ")", ";", "rtx", "iorx", "=", "(", "TARGET_P8_VECTOR", "?", "gen_rtx_IOR", "(", "V16QImode", ",", "notx", ",", "notx", ")", ":", "gen_rtx_AND", "(", "V16QImode", ",", "notx", ",", "notx", ")", ")", ";", "rtx", "tmp", "=", "gen_reg_rtx", "(", "V16QImode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "tmp", ",", "iorx", ")", ")", ";", "x", "=", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "3", ",", "reg", ",", "target", ",", "tmp", ")", ",", "UNSPEC_VPERM", ")", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "target", ",", "x", ")", ")", ";", "}", ""], "natrual_language": ["Set", "field", "ELT_RTX", "of", "TARGET", "to", "VAL", "."], "TS_V_token": ["rs6000", "0", "0", "1", "2", "16", "0", "16", "0", "0", "0", "0x10", "0", "3", "3"], "File": "rs60004", "Func": "rs6000_expand_vector_set", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5728, "Length": 429, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "ArrayRef", "<", "Register", ">>", "VRegs", ")", "const", "{", "auto", "&", "TLI", "=", "*", "getTLI", "<", "ARMTargetLowering", ">", "(", ")", ";", "auto", "Subtarget", "=", "TLI", ".", "getSubtarget", "(", ")", ";", "if", "(", "Subtarget", "->", "isThumb1Only", "(", ")", ")", "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", ";", "if", "(", "Arg", ".", "hasPassPointeeByValueAttr", "(", ")", ")", "return", "false", ";", "}", "CCAssignFn", "*", "AssignFn", "=", "TLI", ".", "CCAssignFnForCall", "(", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ")", ";", "FormalArgHandler", "ArgHandler", "(", "MIRBuilder", ",", "MIRBuilder", ".", "getMF", "(", ")", ".", "getRegInfo", "(", ")", ",", "AssignFn", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "SplitArgInfos", ";", "unsigned", "Idx", "=", "0", ";", "for", "(", "auto", "&", "Arg", ":", "F", ".", "args", "(", ")", ")", "{", "ArgInfo", "OrigArgInfo", "(", "VRegs", "[", "Idx", "]", ",", "Arg", ".", "getType", "(", ")", ")", ";", "setArgFlags", "(", "OrigArgInfo", ",", "Idx", "+", "AttributeList", "::", "FirstArgIndex", ",", "DL", ",", "F", ")", ";", "splitToValueTypes", "(", "OrigArgInfo", ",", "SplitArgInfos", ",", "MF", ")", ";", "Idx", "++", ";", "}", "if", "(", "!", "MBB", ".", "empty", "(", ")", ")", "MIRBuilder", ".", "setInstr", "(", "*", "MBB", ".", "begin", "(", ")", ")", ";", "if", "(", "!", "handleAssignments", "(", "MIRBuilder", ",", "SplitArgInfos", ",", "ArgHandler", ")", ")", "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": ["ARM", "ARM", "ARM", "8", "0"], "File": "ARMCallLowering", "Func": "lowerFormalArguments", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5729, "Length": 306, "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", ";", "unsigned", "PreferVectorWidthOverride", "=", "0", ";", "if", "(", "F", ".", "hasFnAttribute", "(", "\"prefer-vector-width\"", ")", ")", "{", "StringRef", "Val", "=", "F", ".", "getFnAttribute", "(", "\"prefer-vector-width\"", ")", ".", "getValueAsString", "(", ")", ";", "unsigned", "Width", ";", "if", "(", "!", "Val", ".", "getAsInteger", "(", "0", ",", "Width", ")", ")", "{", "Key", "+=", "\"prefer-vector-width=\"", ";", "Key", "+=", "Val", ";", "PreferVectorWidthOverride", "=", "Width", ";", "}", "}", "unsigned", "RequiredVectorWidth", "=", "UINT32_MAX", ";", "if", "(", "F", ".", "hasFnAttribute", "(", "\"min-legal-vector-width\"", ")", ")", "{", "StringRef", "Val", "=", "F", ".", "getFnAttribute", "(", "\"min-legal-vector-width\"", ")", ".", "getValueAsString", "(", ")", ";", "unsigned", "Width", ";", "if", "(", "!", "Val", ".", "getAsInteger", "(", "0", ",", "Width", ")", ")", "{", "Key", "+=", "\"min-legal-vector-width=\"", ";", "Key", "+=", "Val", ";", "RequiredVectorWidth", "=", "Width", ";", "}", "}", "Key", "+=", "CPU", ";", "unsigned", "FSStart", "=", "Key", ".", "size", "(", ")", ";", "bool", "SoftFloat", "=", "F", ".", "getFnAttribute", "(", "\"use-soft-float\"", ")", ".", "getValueAsString", "(", ")", "==", "\"true\"", ";", "if", "(", "SoftFloat", ")", "Key", "+=", "FS", ".", "empty", "(", ")", "?", "\"+soft-float\"", ":", "\"+soft-float,\"", ";", "Key", "+=", "FS", ";", "FS", "=", "Key", ".", "substr", "(", "FSStart", ")", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "Key", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "std", "::", "make_unique", "<", "X86Subtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "*", "this", ",", "MaybeAlign", "(", "Options", ".", "StackAlignmentOverride", ")", ",", "PreferVectorWidthOverride", ",", "RequiredVectorWidth", ")", ";", "}", "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", "0", "\"prefer-vector-width\"", "\"prefer-vector-width\"", "0", "\"prefer-vector-width=\"", "\"min-legal-vector-width\"", "\"min-legal-vector-width\"", "0", "\"min-legal-vector-width=\"", "\"use-soft-float\"", "\"true\"", "\"+soft-float\"", "\"+soft-float,\"", "X86"], "File": "X86TargetMachine72", "Func": "getSubtargetImpl", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5730, "Length": 323, "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", ":", "llvm_unreachable", "(", "\"TLS not implemented for PPC\"", ")", ";", "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", "::", "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", ")", ";", "}", "}", ""], "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", "\"TLS not implemented for PPC\"", "ISD::JumpTable", "ISD::SETCC", "ISD::INIT_TRAMPOLINE", "ISD::ADJUST_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": "PPCISelLowering113", "Func": "LowerOperation", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5731, "Length": 386, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addIRPasses", "(", ")", "{", "if", "(", "TM", "->", "Options", ".", "ThreadModel", "==", "ThreadModel", "::", "Single", ")", "addPass", "(", "createLowerAtomicPass", "(", ")", ")", ";", "else", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableAtomicTidy", ")", "addPass", "(", "createCFGSimplificationPass", "(", "1", ",", "false", ",", "false", ",", "true", ",", "[", "this", "]", "(", "const", "Function", "&", "F", ")", "{", "const", "auto", "&", "ST", "=", "this", "->", "TM", "->", "getSubtarget", "<", "ARMSubtarget", ">", "(", "F", ")", ";", "return", "ST", ".", "hasAnyDataBarrier", "(", ")", "&&", "!", "ST", ".", "isThumb1Only", "(", ")", ";", "}", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createInterleavedAccessPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["ARM", "ARM", "1", "ARM"], "File": "ARMTargetMachine55", "Func": "addIRPasses", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5732, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createMicroMipsSizeReductionPass", "(", ")", ")", ";", "addPass", "(", "createMipsDelaySlotFillerPass", "(", ")", ")", ";", "addPass", "(", "createMipsBranchExpansion", "(", ")", ")", ";", "addPass", "(", "createMipsConstantIslandPass", "(", ")", ")", ";", "}", ""], "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"], "File": "MipsTargetMachine21", "Func": "addPreEmitPass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5733, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMTargetLowering", "::", "ConstraintType", "ARMTargetLowering", "::", "getConstraintType", "(", "StringRef", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'l'", ":", "return", "C_RegisterClass", ";", "case", "'w'", ":", "return", "C_RegisterClass", ";", "case", "'h'", ":", "return", "C_RegisterClass", ";", "case", "'x'", ":", "return", "C_RegisterClass", ";", "case", "'t'", ":", "return", "C_RegisterClass", ";", "case", "'j'", ":", "return", "C_Other", ";", "case", "'Q'", ":", "return", "C_Memory", ";", "}", "}", "else", "if", "(", "Constraint", ".", "size", "(", ")", "==", "2", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'T'", ":", "return", "C_RegisterClass", ";", "case", "'U'", ":", "return", "C_Memory", ";", "}", "}", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "."], "TS_V_token": ["ARM", "ARM", "ARM", "1", "0", "2", "0"], "File": "ARMISelLowering13", "Func": "getConstraintType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5734, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_fixed_condition_code_regs", "(", "unsigned", "int", "*", "p1", ",", "unsigned", "int", "*", "p2", ")", "{", "*", "p1", "=", "SPARC_ICC_REG", ";", "*", "p2", "=", "SPARC_FCC_REG", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FIXED_CONDITION_CODE_REGS", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "sparc_fixed_condition_code_regs", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5735, "Length": 29, "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", ";", "if", "(", "!", "splitToValueTypes", "(", "OrigArg", ",", "SplitArgs", ",", "DL", ",", "MRI", ",", "[", "&", "]", "(", "ArrayRef", "<", "unsigned", ">", "Regs", ")", "{", "MIRBuilder", ".", "buildUnmerge", "(", "Regs", ",", "VReg", ")", ";", "}", ")", ")", "return", "false", ";", "OutgoingValueHandler", "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": "X86CallLowering10", "Func": "lowerReturn", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5736, "Length": 214, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CSKYTargetLowering", "::", "ConstraintType", "CSKYTargetLowering", "::", "getConstraintType", "(", "StringRef", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'a'", ":", "case", "'b'", ":", "case", "'v'", ":", "case", "'w'", ":", "case", "'y'", ":", "return", "C_RegisterClass", ";", "case", "'c'", ":", "case", "'l'", ":", "case", "'h'", ":", "case", "'z'", ":", "return", "C_Register", ";", "}", "}", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "."], "TS_V_token": ["CSKY", "CSKY", "CSKY", "1", "0"], "File": "CSKYISelLowering", "Func": "getConstraintType", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5737, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "ARMFrameInfo", "*", "getFrameInfo", "(", ")", "const", "{", "return", "&", "FrameInfo", ";", "}", ""], "natrual_language": ["getFrameInfo", "-", "Return", "the", "frame", "info", "object", "for", "the", "current", "function", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMTargetMachine11", "Func": "getFrameInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5738, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintWeight", "AArch64TargetLowering", "::", "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", "'x'", ":", "case", "'w'", ":", "case", "'y'", ":", "if", "(", "type", "->", "isFloatingPointTy", "(", ")", "||", "type", "->", "isVectorTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'z'", ":", "weight", "=", "CW_Constant", ";", "break", ";", "case", "'U'", ":", "if", "(", "parsePredicateConstraint", "(", "constraint", ")", "!=", "PredicateConstraint", "::", "Invalid", ")", "weight", "=", "CW_Register", ";", "break", ";", "}", "return", "weight", ";", "}", ""], "natrual_language": ["Examine", "constraint", "string", "and", "operand", "type", "and", "determine", "a", "weight", "value", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ISelLowering (2)2", "Func": "getSingleConstraintMatchWeight", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5739, "Length": 133, "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": 5740, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_move_from_gpr_cost", "(", "reg_class_t", "to", ")", "{", "switch", "(", "to", ")", "{", "case", "M16_REGS", ":", "case", "GENERAL_REGS", ":", "return", "2", ";", "case", "ACC_REGS", ":", "return", "6", ";", "case", "FP_REGS", ":", "return", "4", ";", "case", "COP0_REGS", ":", "case", "COP2_REGS", ":", "case", "COP3_REGS", ":", "return", "5", ";", "default", ":", "return", "0", ";", "}", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "moving", "a", "value", "from", "a", "GPR", "to", "a", "register", "of", "class", "TO", ".", "Return", "0", "for", "classes", "that", "are", "unions", "of", "other", "classes", "handled", "by", "this", "function", "."], "TS_V_token": ["mips", "2", "6", "4", "5", "0"], "File": "mips", "Func": "mips_move_from_gpr_cost", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5741, "Length": 53, "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!\"", ")", ";", "MMI", "=", "&", "getAnalysis", "<", "MachineModuleInfo", ">", "(", ")", ";", "MCE", ".", "setModuleInfo", "(", "MMI", ")", ";", "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": "PPCCodeEmitter1", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5742, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsAsmParser", "::", "checkEarlyTargetMatchPredicate", "(", "MCInst", "&", "Inst", ",", "const", "OperandVector", "&", "Operands", ")", "{", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "Match_Success", ";", "case", "Mips", "::", "DATI", ":", "case", "Mips", "::", "DAHI", ":", "if", "(", "static_cast", "<", "MipsOperand", "&", ">", "(", "*", "Operands", "[", "1", "]", ")", ".", "isValidForTie", "(", "static_cast", "<", "MipsOperand", "&", ">", "(", "*", "Operands", "[", "2", "]", ")", ")", ")", "return", "Match_Success", ";", "return", "Match_RequiresSameSrcAndDst", ";", "}", "}", ""], "natrual_language": ["Validate", "the", "instruction", "match", "against", "any", "complex", "target", "predicates", "before", "rendering", "any", "operands", "to", "it", "."], "TS_V_token": ["Mips", "Mips", "Mips::DATI", "Mips::DAHI", "Mips", "1", "Mips", "2"], "File": "MipsAsmParser (2)4", "Func": "checkEarlyTargetMatchPredicate", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5743, "Length": 78, "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", "(", "MachineBasicBlock", "&", "B", ":", "llvm", "::", "make_early_inc_range", "(", "MF", ")", ")", "Changed", "|=", "processBlock", "(", "B", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC", "2"], "File": "PPCEarlyReturn11", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5744, "Length": 77, "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": 5745, "Length": 506, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetMachine", "::", "addPreEmitPass", "(", "PassManagerBase", "&", "PM", ")", "{", "bool", "ShouldPrint", "=", "false", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "Subtarget", ".", "hasSSE2", "(", ")", ")", "{", "PM", ".", "add", "(", "createExecutionDependencyFixPass", "(", "&", "X86", "::", "VR128RegClass", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "if", "(", "Subtarget", ".", "hasAVX", "(", ")", "&&", "UseVZeroUpper", ")", "{", "PM", ".", "add", "(", "createX86IssueVZeroUpperPass", "(", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "return", "ShouldPrint", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["X86", "X86", "X86::VR128RegClass", "X86"], "File": "X86TargetMachine85", "Func": "addPreEmitPass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5746, "Length": 79, "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", "(", "isExynosCheapAsMove", "(", "MI", ")", ")", "return", "true", ";", "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": "AArch64InstrInfo (2)1", "Func": "isAsCheapAsAMove", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5747, "Length": 326, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isShuffleMaskLegal", "(", "const", "SmallVectorImpl", "<", "int", ">", "&", "M", ",", "EVT", "VT", ")", "const", "{", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "false", ";", "return", "(", "VT", ".", "getVectorNumElements", "(", ")", "==", "2", "||", "ShuffleVectorSDNode", "::", "isSplatMask", "(", "&", "M", "[", "0", "]", ",", "VT", ")", "||", "isMOVLMask", "(", "M", ",", "VT", ")", "||", "isSHUFPMask", "(", "M", ",", "VT", ",", "Subtarget", "->", "hasAVX", "(", ")", ")", "||", "isPSHUFDMask", "(", "M", ",", "VT", ")", "||", "isPSHUFHWMask", "(", "M", ",", "VT", ")", "||", "isPSHUFLWMask", "(", "M", ",", "VT", ")", "||", "isPALIGNRMask", "(", "M", ",", "VT", ",", "Subtarget", ")", "||", "isUNPCKLMask", "(", "M", ",", "VT", ",", "Subtarget", "->", "hasAVX2", "(", ")", ")", "||", "isUNPCKHMask", "(", "M", ",", "VT", ",", "Subtarget", "->", "hasAVX2", "(", ")", ")", "||", "isUNPCKL_v_undef_Mask", "(", "M", ",", "VT", ",", "Subtarget", "->", "hasAVX2", "(", ")", ")", "||", "isUNPCKH_v_undef_Mask", "(", "M", ",", "VT", ",", "Subtarget", "->", "hasAVX2", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "can", "use", "this", "to", "indicate", "that", "they", "only", "support", "some", "VECTOR_SHUFFLE", "operations", ",", "those", "with", "specific", "masks", "."], "TS_V_token": ["X86", "X86", "64", "2", "0"], "File": "X86ISelLowering114", "Func": "isShuffleMaskLegal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5748, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "xstormy16_function_value", "(", "tree", "valtype", ",", "tree", "func", "ATTRIBUTE_UNUSED", ")", "{", "enum", "machine_mode", "mode", ";", "mode", "=", "TYPE_MODE", "(", "valtype", ")", ";", "PROMOTE_MODE", "(", "mode", ",", "0", ",", "valtype", ")", ";", "return", "gen_rtx_REG", "(", "mode", ",", "RETURN_VALUE_REGNUM", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "FUNCTION_VALUE", "."], "TS_V_token": ["stormy16", "0"], "File": "stormy163", "Func": "xstormy16_function_value", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5749, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "HOST_WIDE_INT", "arm_shift_truncation_mask", "(", "enum", "machine_mode", "mode", ")", "{", "return", "mode", "==", "SImode", "?", "255", ":", "0", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SHIFT_TRUNCATION_MASK", ".", "SImode", "shifts", "use", "normal", "ARM", "insns", "and", "therefore", "guarantee", "that", "the", "shift", "count", "is", "modulo", "256", ".", "DImode", "shifts", "(", "those", "implemented", "by", "lib1funcs.asm", "or", "by", "optabs.c", ")", "guarantee", "no", "particular", "behavior", "for", "out-of-range", "counts", "."], "TS_V_token": ["arm", "255", "0"], "File": "arm3", "Func": "arm_shift_truncation_mask", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5750, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "loongarch_emit_probe_stack_range", "(", "HOST_WIDE_INT", "first", ",", "HOST_WIDE_INT", "size", ")", "{", "HOST_WIDE_INT", "rounded_size", ";", "HOST_WIDE_INT", "interval", ";", "if", "(", "flag_stack_clash_protection", ")", "interval", "=", "STACK_CLASH_PROTECTION_GUARD_SIZE", ";", "else", "interval", "=", "PROBE_INTERVAL", ";", "rtx", "r12", "=", "LARCH_PROLOGUE_TEMP2", "(", "Pmode", ")", ";", "rtx", "r14", "=", "LARCH_PROLOGUE_TEMP3", "(", "Pmode", ")", ";", "size", "=", "size", "+", "first", ";", "gcc_assert", "(", "first", "<=", "16384", ")", ";", "rounded_size", "=", "ROUND_DOWN", "(", "size", ",", "interval", ")", ";", "emit_move_insn", "(", "r14", ",", "GEN_INT", "(", "interval", ")", ")", ";", "if", "(", "rounded_size", "!=", "0", ")", "{", "if", "(", "rounded_size", "<=", "STACK_CLASH_MAX_UNROLL_PAGES", "*", "interval", ")", "{", "for", "(", "HOST_WIDE_INT", "i", "=", "0", ";", "i", "<", "rounded_size", ";", "i", "+=", "interval", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "gen_rtx_MINUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "r14", ")", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "Pmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "const0_rtx", ")", ")", ",", "const0_rtx", ")", ";", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", "dump_stack_clash_frame_info", "(", "PROBE_INLINE", ",", "size", "!=", "rounded_size", ")", ";", "}", "else", "{", "emit_move_insn", "(", "r12", ",", "GEN_INT", "(", "rounded_size", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "r12", ",", "gen_rtx_MINUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "r12", ")", ")", ")", ";", "emit_insn", "(", "gen_probe_stack_range", "(", "Pmode", ",", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "r12", ",", "r14", ")", ")", ";", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "dump_stack_clash_frame_info", "(", "PROBE_LOOP", ",", "size", "!=", "rounded_size", ")", ";", "}", "}", "else", "dump_stack_clash_frame_info", "(", "NO_PROBE_SMALL_FRAME", ",", "true", ")", ";", "if", "(", "size", "!=", "rounded_size", ")", "{", "if", "(", "size", "-", "rounded_size", ">=", "2048", ")", "{", "emit_move_insn", "(", "r14", ",", "GEN_INT", "(", "size", "-", "rounded_size", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "gen_rtx_MINUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "r14", ")", ")", ")", ";", "}", "else", "emit_insn", "(", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "rounded_size", "-", "size", ")", ")", ")", ")", ";", "}", "if", "(", "first", ")", "{", "emit_move_insn", "(", "r12", ",", "GEN_INT", "(", "first", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "r12", ")", ")", ")", ";", "}", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "probe", "a", "range", "of", "stack", "addresses", "from", "FIRST", "to", "FIRST+SIZE", ",", "inclusive", ".", "These", "are", "offsets", "from", "the", "current", "stack", "pointer", "."], "TS_V_token": ["loongarch", "16384", "0", "0", "2048"], "File": "loongarch1", "Func": "loongarch_emit_probe_stack_range", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5751, "Length": 346, "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", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "SrcReg", ")", ")", "{", "MachineRegisterInfo", "*", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "MRI", "->", "constrainRegClass", "(", "SrcReg", ",", "&", "ARM", "::", "GPRPair_with_gsub_1_in_GPRwithAPSRnospRegClass", ")", ";", "}", "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::GPRPair_with_gsub_1_in_GPRwithAPSRnospRegClass", "ARM::t2STRDi8", "ARM::gsub_0", "ARM::gsub_1", "0", "0", "ARMCC::AL", "ARM"], "File": "Thumb2InstrInfo62", "Func": "storeRegToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5752, "Length": 327, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSEDAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "if", "(", "Subtarget", "->", "inMips16Mode", "(", ")", ")", "return", "false", ";", "return", "MipsDAGToDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsSEISelDAGToDAG32", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5753, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "DLXMachineFunctionInfo", "::", "getGlobalBaseReg", "(", ")", "{", "return", "GlobalBaseReg", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXMachineFunctionInfo", "Func": "getGlobalBaseReg", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5754, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pa_output_pic_pcrel_sequence", "(", "rtx", "*", "operands", ")", "{", "gcc_assert", "(", "SYMBOL_REF_P", "(", "operands", "[", "0", "]", ")", "||", "LABEL_P", "(", "operands", "[", "0", "]", ")", ")", ";", "if", "(", "TARGET_PA_20", ")", "{", "if", "(", "TARGET_SOM", "||", "!", "TARGET_GAS", ")", "{", "operands", "[", "3", "]", "=", "gen_label_rtx", "(", ")", ";", "targetm", ".", "asm_out", ".", "internal_label", "(", "asm_out_file", ",", "\"L\"", ",", "CODE_LABEL_NUMBER", "(", "operands", "[", "3", "]", ")", ")", ";", "output_asm_insn", "(", "\"mfia %1\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"addil L'%0-%l3,%1\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"ldo R'%0-%l3(%%r1),%2\"", ",", "operands", ")", ";", "}", "else", "{", "output_asm_insn", "(", "\"mfia %1\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"addil L'%0-$PIC_pcrel$0+12,%1\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"ldo R'%0-$PIC_pcrel$0+16(%%r1),%2\"", ",", "operands", ")", ";", "}", "}", "else", "{", "output_asm_insn", "(", "\"{bl|b,l} .+8,%1\"", ",", "operands", ")", ";", "if", "(", "TARGET_SOM", "||", "!", "TARGET_GAS", ")", "{", "operands", "[", "3", "]", "=", "gen_label_rtx", "(", ")", ";", "output_asm_insn", "(", "\"addil L'%0-%l3,%1\"", ",", "operands", ")", ";", "targetm", ".", "asm_out", ".", "internal_label", "(", "asm_out_file", ",", "\"L\"", ",", "CODE_LABEL_NUMBER", "(", "operands", "[", "3", "]", ")", ")", ";", "output_asm_insn", "(", "\"ldo R'%0-%l3(%%r1),%2\"", ",", "operands", ")", ";", "}", "else", "{", "output_asm_insn", "(", "\"addil L'%0-$PIC_pcrel$0+4,%1\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"ldo R'%0-$PIC_pcrel$0+8(%%r1),%2\"", ",", "operands", ")", ";", "}", "}", "}", ""], "natrual_language": ["Output", "a", "PIC", "pc-relative", "instruction", "sequence", "to", "load", "the", "address", "of", "OPERANDS", "[", "0", "]", "to", "register", "OPERANDS", "[", "2", "]", ".", "OPERANDS", "[", "0", "]", "is", "a", "symbol", "ref", "or", "a", "code", "label", ".", "OPERANDS", "[", "1", "]", "specifies", "the", "register", "to", "use", "to", "load", "the", "program", "counter", ".", "OPERANDS", "[", "3", "]", "may", "be", "used", "for", "label", "generation", "The", "sequence", "is", "always", "three", "instructions", "in", "length", ".", "The", "program", "counter", "recorded", "for", "PA", "1.X", "is", "eight", "bytes", "more", "than", "that", "for", "PA", "2.0", ".", "Register", "%", "r1", "is", "clobbered", "."], "TS_V_token": ["pa", "0", "0", "3", "\"L\"", "3", "\"mfia %1\"", "\"addil L'%0-%l3,%1\"", "\"ldo R'%0-%l3(%%r1),%2\"", "\"mfia %1\"", "\"addil L'%0-$PIC_pcrel$0+12,%1\"", "\"ldo R'%0-$PIC_pcrel$0+16(%%r1),%2\"", "\"{bl|b,l} .+8,%1\"", "3", "\"addil L'%0-%l3,%1\"", "\"L\"", "3", "\"ldo R'%0-%l3(%%r1),%2\"", "\"addil L'%0-$PIC_pcrel$0+4,%1\"", "\"ldo R'%0-$PIC_pcrel$0+8(%%r1),%2\""], "File": "pa", "Func": "pa_output_pic_pcrel_sequence", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5755, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "xstormy16_can_eliminate", "(", "const", "int", "from", ",", "const", "int", "to", ")", "{", "return", "(", "from", "==", "ARG_POINTER_REGNUM", "&&", "to", "==", "STACK_POINTER_REGNUM", "?", "!", "frame_pointer_needed", ":", "true", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_CAN_ELIMINATE", "."], "TS_V_token": ["stormy16"], "File": "stormy16", "Func": "xstormy16_can_eliminate", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5756, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "AArch64TargetLowering", "::", "emitStoreConditional", "(", "IRBuilderBase", "&", "Builder", ",", "Value", "*", "Val", ",", "Value", "*", "Addr", ",", "AtomicOrdering", "Ord", ")", "const", "{", "Module", "*", "M", "=", "Builder", ".", "GetInsertBlock", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "bool", "IsRelease", "=", "isReleaseOrStronger", "(", "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", ")", ";", "const", "DataLayout", "&", "DL", "=", "M", "->", "getDataLayout", "(", ")", ";", "IntegerType", "*", "IntValTy", "=", "Builder", ".", "getIntNTy", "(", "DL", ".", "getTypeSizeInBits", "(", "Val", "->", "getType", "(", ")", ")", ")", ";", "Val", "=", "Builder", ".", "CreateBitCast", "(", "Val", ",", "IntValTy", ")", ";", "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)2", "Func": "emitStoreConditional", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5757, "Length": 298, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTTIImpl", "::", "getIntrinsicInstrCost", "(", "Intrinsic", "::", "ID", "ID", ",", "Type", "*", "RetTy", ",", "ArrayRef", "<", "Type", "*", ">", "Tys", ",", "FastMathFlags", "FMF", ",", "unsigned", "ScalarizationCostPassed", ",", "const", "Instruction", "*", "I", ")", "{", "if", "(", "ID", "==", "Intrinsic", "::", "bswap", "&&", "ST", "->", "hasP9Vector", "(", ")", ")", "return", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "RetTy", ")", ".", "first", ";", "return", "BaseT", "::", "getIntrinsicInstrCost", "(", "ID", ",", "RetTy", ",", "Tys", ",", "FMF", ",", "ScalarizationCostPassed", ",", "I", ")", ";", "}", ""], "natrual_language": ["Get", "intrinsic", "cost", "based", "on", "arguments", "."], "TS_V_token": ["PowerPC", "PPC", "Intrinsic::ID", "Intrinsic::bswap"], "File": "PPCTargetTransformInfo40", "Func": "getIntrinsicInstrCost", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5758, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_get_unaligned_mem", "(", "rtx", "op", ",", "HOST_WIDE_INT", "width", ",", "HOST_WIDE_INT", "bitpos", ",", "rtx", "*", "left", ",", "rtx", "*", "right", ")", "{", "rtx", "first", ",", "last", ";", "if", "(", "width", "!=", "32", "&&", "(", "!", "TARGET_64BIT", "||", "width", "!=", "64", ")", ")", "return", "false", ";", "if", "(", "bitpos", "%", "BITS_PER_UNIT", "!=", "0", ")", "return", "false", ";", "if", "(", "MEM_ALIGN", "(", "op", ")", ">=", "width", ")", "return", "false", ";", "first", "=", "adjust_address", "(", "op", ",", "QImode", ",", "0", ")", ";", "last", "=", "adjust_address", "(", "op", ",", "QImode", ",", "width", "/", "BITS_PER_UNIT", "-", "1", ")", ";", "if", "(", "TARGET_BIG_ENDIAN", ")", "*", "left", "=", "first", ",", "*", "right", "=", "last", ";", "else", "*", "left", "=", "last", ",", "*", "right", "=", "first", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "possible", "to", "use", "left/right", "accesses", "for", "a", "bitfield", "of", "WIDTH", "bits", "starting", "BITPOS", "bits", "into", "*", "OP", ".", "When", "returning", "true", ",", "update", "*", "OP", ",", "*", "LEFT", "and", "*", "RIGHT", "as", "follows", ":", "*", "OP", "is", "a", "BLKmode", "reference", "to", "the", "whole", "field", ".", "*", "LEFT", "is", "a", "QImode", "reference", "to", "the", "first", "byte", "if", "big", "endian", "or", "the", "last", "byte", "if", "little", "endian", ".", "This", "address", "can", "be", "used", "in", "the", "left-side", "instructions", "(", "lwl", ",", "swl", ",", "ldl", ",", "sdl", ")", ".", "*", "RIGHT", "is", "a", "QImode", "reference", "to", "the", "opposite", "end", "of", "the", "field", "and", "can", "be", "used", "in", "the", "patterning", "right-side", "instruction", "."], "TS_V_token": ["mips", "32", "64", "0", "0", "1"], "File": "mips", "Func": "mips_get_unaligned_mem", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5759, "Length": 123, "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": ["FPGA"], "File": "FPGASubtarget", "Func": "getTargetTriple", "Target": "FPGA", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5760, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 DAG->DAG Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 DAG->DAG Instruction Selection\""], "File": "X86ISelDAGToDAG (2)", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5761, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMCallLowering", "::", "splitToValueTypes", "(", "const", "ArgInfo", "&", "OrigArg", ",", "SmallVectorImpl", "<", "ArgInfo", ">", "&", "SplitArgs", ",", "MachineFunction", "&", "MF", ",", "const", "SplitArgTy", "&", "PerformArgSplit", ")", "const", "{", "const", "ARMTargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "ARMTargetLowering", ">", "(", ")", ";", "LLVMContext", "&", "Ctx", "=", "OrigArg", ".", "Ty", "->", "getContext", "(", ")", ";", "const", "DataLayout", "&", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "SmallVector", "<", "EVT", ",", "4", ">", "SplitVTs", ";", "SmallVector", "<", "uint64_t", ",", "4", ">", "Offsets", ";", "ComputeValueVTs", "(", "TLI", ",", "DL", ",", "OrigArg", ".", "Ty", ",", "SplitVTs", ",", "&", "Offsets", ",", "0", ")", ";", "if", "(", "SplitVTs", ".", "size", "(", ")", "==", "1", ")", "{", "auto", "Flags", "=", "OrigArg", ".", "Flags", ";", "unsigned", "OriginalAlignment", "=", "DL", ".", "getABITypeAlignment", "(", "OrigArg", ".", "Ty", ")", ";", "Flags", ".", "setOrigAlign", "(", "OriginalAlignment", ")", ";", "SplitArgs", ".", "emplace_back", "(", "OrigArg", ".", "Reg", ",", "SplitVTs", "[", "0", "]", ".", "getTypeForEVT", "(", "Ctx", ")", ",", "Flags", ",", "OrigArg", ".", "IsFixed", ")", ";", "return", ";", "}", "unsigned", "FirstRegIdx", "=", "SplitArgs", ".", "size", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "SplitVTs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "EVT", "SplitVT", "=", "SplitVTs", "[", "i", "]", ";", "Type", "*", "SplitTy", "=", "SplitVT", ".", "getTypeForEVT", "(", "Ctx", ")", ";", "auto", "Flags", "=", "OrigArg", ".", "Flags", ";", "unsigned", "OriginalAlignment", "=", "DL", ".", "getABITypeAlignment", "(", "SplitTy", ")", ";", "Flags", ".", "setOrigAlign", "(", "OriginalAlignment", ")", ";", "bool", "NeedsConsecutiveRegisters", "=", "TLI", ".", "functionArgumentNeedsConsecutiveRegisters", "(", "SplitTy", ",", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ")", ";", "if", "(", "NeedsConsecutiveRegisters", ")", "{", "Flags", ".", "setInConsecutiveRegs", "(", ")", ";", "if", "(", "i", "==", "e", "-", "1", ")", "Flags", ".", "setInConsecutiveRegsLast", "(", ")", ";", "}", "SplitArgs", ".", "push_back", "(", "ArgInfo", "{", "MRI", ".", "createGenericVirtualRegister", "(", "getLLTForType", "(", "*", "SplitTy", ",", "DL", ")", ")", ",", "SplitTy", ",", "Flags", ",", "OrigArg", ".", "IsFixed", "}", ")", ";", "}", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Offsets", ".", "size", "(", ")", ";", "++", "i", ")", "PerformArgSplit", "(", "SplitArgs", "[", "FirstRegIdx", "+", "i", "]", ".", "Reg", ",", "Offsets", "[", "i", "]", "*", "8", ")", ";", "}", ""], "natrual_language": ["Break", "OrigArgInfo", "into", "one", "or", "more", "pieces", "the", "calling", "convention", "can", "process", ",", "returned", "in", "SplitArgs", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "4", "4", "0", "1", "0", "0", "1", "0", "8"], "File": "ARMCallLowering (2)", "Func": "splitToValueTypes", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5762, "Length": 375, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_expand_binop_builtin", "(", "enum", "insn_code", "icode", ",", "tree", "arglist", ",", "rtx", "target", ")", "{", "rtx", "pat", ",", "xops", "[", "3", "]", ";", "tree", "arg0", "=", "TREE_VALUE", "(", "arglist", ")", ";", "tree", "arg1", "=", "TREE_VALUE", "(", "TREE_CHAIN", "(", "arglist", ")", ")", ";", "rtx", "op0", "=", "expand_expr", "(", "arg0", ",", "NULL_RTX", ",", "VOIDmode", ",", "0", ")", ";", "rtx", "op1", "=", "expand_expr", "(", "arg1", ",", "NULL_RTX", ",", "VOIDmode", ",", "0", ")", ";", "enum", "machine_mode", "tmode", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "mode", ";", "enum", "machine_mode", "mode0", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "mode", ";", "enum", "machine_mode", "mode1", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "2", "]", ".", "mode", ";", "if", "(", "VECTOR_MODE_P", "(", "mode0", ")", ")", "op0", "=", "safe_vector_operand", "(", "op0", ",", "mode0", ")", ";", "if", "(", "VECTOR_MODE_P", "(", "mode1", ")", ")", "op1", "=", "safe_vector_operand", "(", "op1", ",", "mode1", ")", ";", "if", "(", "optimize", "||", "!", "target", "||", "GET_MODE", "(", "target", ")", "!=", "tmode", "||", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "predicate", ")", "(", "target", ",", "tmode", ")", ")", "target", "=", "gen_reg_rtx", "(", "tmode", ")", ";", "if", "(", "GET_MODE", "(", "op1", ")", "==", "SImode", "&&", "mode1", "==", "TImode", ")", "{", "rtx", "x", "=", "gen_reg_rtx", "(", "V4SImode", ")", ";", "emit_insn", "(", "gen_sse2_loadd", "(", "x", ",", "op1", ")", ")", ";", "op1", "=", "gen_lowpart", "(", "TImode", ",", "x", ")", ";", "}", "gcc_assert", "(", "(", "GET_MODE", "(", "op0", ")", "==", "mode0", "||", "GET_MODE", "(", "op0", ")", "==", "VOIDmode", ")", "&&", "(", "GET_MODE", "(", "op1", ")", "==", "mode1", "||", "GET_MODE", "(", "op1", ")", "==", "VOIDmode", ")", ")", ";", "if", "(", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "predicate", ")", "(", "op0", ",", "mode0", ")", ")", "op0", "=", "copy_to_mode_reg", "(", "mode0", ",", "op0", ")", ";", "if", "(", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "2", "]", ".", "predicate", ")", "(", "op1", ",", "mode1", ")", ")", "op1", "=", "copy_to_mode_reg", "(", "mode1", ",", "op1", ")", ";", "xops", "[", "0", "]", "=", "target", ";", "xops", "[", "1", "]", "=", "op0", ";", "xops", "[", "2", "]", "=", "op1", ";", "if", "(", "tmode", "==", "mode0", "&&", "tmode", "==", "mode1", ")", "{", "target", "=", "ix86_fixup_binary_operands", "(", "UNKNOWN", ",", "tmode", ",", "xops", ")", ";", "op0", "=", "xops", "[", "1", "]", ";", "op1", "=", "xops", "[", "2", "]", ";", "}", "else", "if", "(", "optimize", "||", "!", "ix86_binary_operator_ok", "(", "UNKNOWN", ",", "tmode", ",", "xops", ")", ")", "{", "op0", "=", "force_reg", "(", "mode0", ",", "op0", ")", ";", "op1", "=", "force_reg", "(", "mode1", ",", "op1", ")", ";", "target", "=", "gen_reg_rtx", "(", "tmode", ")", ";", "}", "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", "binop", "insns", "."], "TS_V_token": ["i386", "3", "0", "0", "0", "1", "2", "0", "1", "2", "0", "1", "2", "1", "2", "0"], "File": "i3863", "Func": "ix86_expand_binop_builtin", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5763, "Length": 464, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "IndirectTlsSegRefs", "=", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"indirect-tls-seg-refs\"", ")", ";", "OptForSize", "=", "MF", ".", "getFunction", "(", ")", ".", "hasOptSize", "(", ")", ";", "OptForMinSize", "=", "MF", ".", "getFunction", "(", ")", ".", "hasMinSize", "(", ")", ";", "assert", "(", "(", "!", "OptForMinSize", "||", "OptForSize", ")", "&&", "\"OptForMinSize implies OptForSize\"", ")", ";", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "\"indirect-tls-seg-refs\"", "\"OptForMinSize implies OptForSize\""], "File": "X86ISelDAGToDAG101", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5764, "Length": 81, "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", ")", ")", ";", "gcc_assert", "(", "register_operand", "(", "dst", ",", "dst_mode", ")", "&&", "register_operand", "(", "src1", ",", "src_mode", ")", "&&", "register_operand", "(", "src2", ",", "src_mode", ")", ")", ";", "emit_insn", "(", "gen_aarch64_simd_combine", "(", "src_mode", ",", "dst", ",", "src1", ",", "src2", ")", ")", ";", "return", ";", "}", ""], "natrual_language": ["Split", "a", "complex", "SIMD", "combine", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_split_simd_combine", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5765, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSymbol", "*", "TeeRISCMCInstLower", "::", "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": ["TeeRISC", "TeeRISC", "\"Unknown target flag on GV operand\"", "0"], "File": "TeeRISCMCInstLower", "Func": "GetExternalSymbolSymbol", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5766, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "callee_saved_regno_p", "(", "int", "regno", ")", "{", "if", "(", "!", "call_used_regs", "[", "regno", "]", "&&", "df_regs_ever_live_p", "(", "regno", ")", ")", "return", "true", ";", "switch", "(", "regno", ")", "{", "case", "HARD_FRAME_POINTER_REGNUM", ":", "return", "frame_pointer_needed", ";", "case", "LR_REGNUM", ":", "return", "(", "frame_pointer_needed", "||", "!", "crtl", "->", "is_leaf", "||", "crtl", "->", "uses_pic_offset_table", "||", "df_regs_ever_live_p", "(", "regno", ")", ")", ";", "case", "HW_TO_GCC_REGNO", "(", "25", ")", ":", "case", "HW_TO_GCC_REGNO", "(", "27", ")", ":", "case", "HW_TO_GCC_REGNO", "(", "29", ")", ":", "case", "HW_TO_GCC_REGNO", "(", "31", ")", ":", "return", "crtl", "->", "calls_eh_return", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Returns", "true", "if", "REGNO", "must", "be", "saved", "for", "the", "current", "function", "."], "TS_V_token": ["or1k", "25", "27", "29", "31"], "File": "or1k2", "Func": "callee_saved_regno_p", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5767, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCFrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "return", "false", ";", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "PPCInstrInfo", "&", "TII", "=", "*", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "PPCFunctionInfo", "*", "FI", "=", "MF", "->", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", ";", "bool", "MustSaveTOC", "=", "FI", "->", "mustSaveTOC", "(", ")", ";", "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", ")", "continue", ";", "if", "(", "(", "Reg", "==", "PPC", "::", "X2", "||", "Reg", "==", "PPC", "::", "R2", ")", "&&", "MustSaveTOC", ")", "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", ";", "}", "if", "(", "CSI", "[", "i", "]", ".", "isSpilledToReg", "(", ")", ")", "{", "DebugLoc", "DL", ";", "NumPEReloadVSR", "++", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", ".", "get", "(", "PPC", "::", "MFVSRD", ")", ",", "Reg", ")", ".", "addReg", "(", "CSI", "[", "i", "]", ".", "getDstReg", "(", ")", ",", "getKillRegState", "(", "true", ")", ")", ";", "}", "else", "{", "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", "PPC", "0", "0", "PPC::VRSAVE", "PPC::X2", "PPC::R2", "PPC::CR2", "PPC::CR3", "PPC::CR4", "PPC::CR2", "PPC::CR4", "PPC", "PPC::MFVSRD", "\"loadRegFromStackSlot didn't insert any code!\"", "PPC"], "File": "PPCFrameLowering93", "Func": "restoreCalleeSavedRegisters", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5768, "Length": 506, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMCodeEmitter", "::", "getMachineOpValue", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "&", "MO", ")", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "ARMRegisterInfo", "::", "getRegisterNumbering", "(", "MO", ".", "getReg", "(", ")", ")", ";", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "else", "if", "(", "MO", ".", "isGlobal", "(", ")", ")", "emitGlobalAddress", "(", "MO", ".", "getGlobal", "(", ")", ",", "ARM", "::", "reloc_arm_branch", ",", "true", ",", "false", ")", ";", "else", "if", "(", "MO", ".", "isSymbol", "(", ")", ")", "emitExternalSymbolAddress", "(", "MO", ".", "getSymbolName", "(", ")", ",", "ARM", "::", "reloc_arm_branch", ")", ";", "else", "if", "(", "MO", ".", "isCPI", "(", ")", ")", "{", "const", "TargetInstrDesc", "&", "TID", "=", "MI", ".", "getDesc", "(", ")", ";", "unsigned", "Reloc", "=", "(", "(", "TID", ".", "TSFlags", "&", "ARMII", "::", "FormMask", ")", "==", "ARMII", "::", "VFPLdStFrm", ")", "?", "ARM", "::", "reloc_arm_vfp_cp_entry", ":", "ARM", "::", "reloc_arm_cp_entry", ";", "emitConstPoolAddress", "(", "MO", ".", "getIndex", "(", ")", ",", "Reloc", ")", ";", "}", "else", "if", "(", "MO", ".", "isJTI", "(", ")", ")", "emitJumpTableAddress", "(", "MO", ".", "getIndex", "(", ")", ",", "ARM", "::", "reloc_arm_relative", ")", ";", "else", "if", "(", "MO", ".", "isMBB", "(", ")", ")", "emitMachineBasicBlock", "(", "MO", ".", "getMBB", "(", ")", ",", "ARM", "::", "reloc_arm_branch", ")", ";", "else", "{", "errs", "(", ")", "<<", "MO", ";", "llvm_unreachable", "(", "0", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM::reloc_arm_branch", "ARM::reloc_arm_branch", "ARMII::FormMask", "ARMII::VFPLdStFrm", "ARM::reloc_arm_vfp_cp_entry", "ARM::reloc_arm_cp_entry", "ARM::reloc_arm_relative", "ARM::reloc_arm_branch", "0", "0"], "File": "ARMCodeEmitter1", "Func": "getMachineOpValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5769, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "check_constant_argument", "(", "enum", "insn_code", "icode", ",", "int", "opnum", ",", "rtx", "opval", ")", "{", "if", "(", "GET_CODE", "(", "opval", ")", "!=", "CONST_INT", ")", "{", "error", "(", "\"%qs expects a constant argument\"", ",", "insn_data", "[", "icode", "]", ".", "name", ")", ";", "return", "false", ";", "}", "if", "(", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "opnum", "]", ".", "predicate", ")", "(", "opval", ",", "VOIDmode", ")", ")", "{", "error", "(", "\"constant argument out of range for %qs\"", ",", "insn_data", "[", "icode", "]", ".", "name", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OPVAL", "can", "be", "used", "for", "operand", "OPNUM", "of", "instruction", "ICODE", ".", "The", "instruction", "should", "require", "a", "constant", "operand", "of", "some", "sort", ".", "The", "function", "prints", "an", "error", "if", "OPVAL", "is", "not", "valid", "."], "TS_V_token": ["sparc", "\"%qs expects a constant argument\"", "\"constant argument out of range for %qs\""], "File": "sparc", "Func": "check_constant_argument", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5770, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseRegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "ARMSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "const", "ARMFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "ARM", "::", "tGPRRegClassID", ":", "{", "bool", "HasFP", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "isMaxCallFrameSizeComputed", "(", ")", "?", "TFI", "->", "hasFP", "(", "MF", ")", ":", "true", ";", "return", "5", "-", "HasFP", ";", "}", "case", "ARM", "::", "GPRRegClassID", ":", "{", "bool", "HasFP", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "isMaxCallFrameSizeComputed", "(", ")", "?", "TFI", "->", "hasFP", "(", "MF", ")", ":", "true", ";", "bool", "IsPagerando", "=", "MF", ".", "getFunction", "(", ")", ".", "isPagerando", "(", ")", ";", "return", "10", "-", "HasFP", "-", "(", "STI", ".", "isR9Reserved", "(", ")", "||", "IsPagerando", "?", "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", "ARM", "ARM", "ARM", "0", "ARM::tGPRRegClassID", "5", "ARM::GPRRegClassID", "10", "1", "0", "ARM::SPRRegClassID", "ARM::DPRRegClassID", "32", "10"], "File": "ARMBaseRegisterInfo4", "Func": "getRegPressureLimit", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5771, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "macho_branch_islands", "(", "void", ")", "{", "char", "tmp_buf", "[", "512", "]", ";", "while", "(", "!", "vec_safe_is_empty", "(", "branch_islands", ")", ")", "{", "branch_island", "*", "bi", "=", "&", "branch_islands", "->", "last", "(", ")", ";", "const", "char", "*", "label", "=", "IDENTIFIER_POINTER", "(", "bi", "->", "label_name", ")", ";", "const", "char", "*", "name", "=", "IDENTIFIER_POINTER", "(", "bi", "->", "function_name", ")", ";", "char", "name_buf", "[", "512", "]", ";", "if", "(", "name", "[", "0", "]", "==", "'*'", "||", "name", "[", "0", "]", "==", "'&'", ")", "strcpy", "(", "name_buf", ",", "name", "+", "1", ")", ";", "else", "{", "name_buf", "[", "0", "]", "=", "'_'", ";", "strcpy", "(", "name_buf", "+", "1", ",", "name", ")", ";", "}", "strcpy", "(", "tmp_buf", ",", "\"\\n\"", ")", ";", "strcat", "(", "tmp_buf", ",", "label", ")", ";", "if", "(", "write_symbols", "==", "DBX_DEBUG", "||", "write_symbols", "==", "XCOFF_DEBUG", ")", "dbxout_stabd", "(", "N_SLINE", ",", "bi", "->", "line_number", ")", ";", "if", "(", "flag_pic", ")", "{", "if", "(", "TARGET_LINK_STACK", ")", "{", "char", "name", "[", "32", "]", ";", "get_ppc476_thunk_name", "(", "name", ")", ";", "strcat", "(", "tmp_buf", ",", "\":\\n\\tmflr r0\\n\\tbl \"", ")", ";", "strcat", "(", "tmp_buf", ",", "name", ")", ";", "strcat", "(", "tmp_buf", ",", "\"\\n\"", ")", ";", "strcat", "(", "tmp_buf", ",", "label", ")", ";", "strcat", "(", "tmp_buf", ",", "\"_pic:\\n\\tmflr r11\\n\"", ")", ";", "}", "else", "{", "strcat", "(", "tmp_buf", ",", "\":\\n\\tmflr r0\\n\\tbcl 20,31,\"", ")", ";", "strcat", "(", "tmp_buf", ",", "label", ")", ";", "strcat", "(", "tmp_buf", ",", "\"_pic\\n\"", ")", ";", "strcat", "(", "tmp_buf", ",", "label", ")", ";", "strcat", "(", "tmp_buf", ",", "\"_pic:\\n\\tmflr r11\\n\"", ")", ";", "}", "strcat", "(", "tmp_buf", ",", "\"\\taddis r11,r11,ha16(\"", ")", ";", "strcat", "(", "tmp_buf", ",", "name_buf", ")", ";", "strcat", "(", "tmp_buf", ",", "\" - \"", ")", ";", "strcat", "(", "tmp_buf", ",", "label", ")", ";", "strcat", "(", "tmp_buf", ",", "\"_pic)\\n\"", ")", ";", "strcat", "(", "tmp_buf", ",", "\"\\tmtlr r0\\n\"", ")", ";", "strcat", "(", "tmp_buf", ",", "\"\\taddi r12,r11,lo16(\"", ")", ";", "strcat", "(", "tmp_buf", ",", "name_buf", ")", ";", "strcat", "(", "tmp_buf", ",", "\" - \"", ")", ";", "strcat", "(", "tmp_buf", ",", "label", ")", ";", "strcat", "(", "tmp_buf", ",", "\"_pic)\\n\"", ")", ";", "strcat", "(", "tmp_buf", ",", "\"\\tmtctr r12\\n\\tbctr\\n\"", ")", ";", "}", "else", "{", "strcat", "(", "tmp_buf", ",", "\":\\nlis r12,hi16(\"", ")", ";", "strcat", "(", "tmp_buf", ",", "name_buf", ")", ";", "strcat", "(", "tmp_buf", ",", "\")\\n\\tori r12,r12,lo16(\"", ")", ";", "strcat", "(", "tmp_buf", ",", "name_buf", ")", ";", "strcat", "(", "tmp_buf", ",", "\")\\n\\tmtctr r12\\n\\tbctr\"", ")", ";", "}", "output_asm_insn", "(", "tmp_buf", ",", "0", ")", ";", "if", "(", "write_symbols", "==", "DBX_DEBUG", "||", "write_symbols", "==", "XCOFF_DEBUG", ")", "dbxout_stabd", "(", "N_SLINE", ",", "bi", "->", "line_number", ")", ";", "branch_islands", "->", "pop", "(", ")", ";", "}", "}", ""], "natrual_language": ["Generate", "far-jump", "branch", "islands", "for", "everything", "on", "the", "branch_island_list", ".", "Invoked", "immediately", "after", "the", "last", "instruction", "of", "the", "epilogue", "has", "been", "emitted", ";", "the", "branch-islands", "must", "be", "appended", "to", ",", "and", "contiguous", "with", ",", "the", "function", "body", ".", "Mach-O", "stubs", "are", "generated", "in", "machopic_output_stub", "(", ")", "."], "TS_V_token": ["rs6000", "512", "512", "0", "0", "1", "0", "1", "\"\\n\"", "32", "\":\\n\\tmflr r0\\n\\tbl \"", "\"\\n\"", "\"_pic:\\n\\tmflr r11\\n\"", "\":\\n\\tmflr r0\\n\\tbcl 20,31,\"", "\"_pic\\n\"", "\"_pic:\\n\\tmflr r11\\n\"", "\"\\taddis r11,r11,ha16(\"", "\" - \"", "\"_pic)\\n\"", "\"\\tmtlr r0\\n\"", "\"\\taddi r12,r11,lo16(\"", "\" - \"", "\"_pic)\\n\"", "\"\\tmtctr r12\\n\\tbctr\\n\"", "\":\\nlis r12,hi16(\"", "\")\\n\\tori r12,r12,lo16(\"", "\")\\n\\tmtctr r12\\n\\tbctr\"", "0"], "File": "rs60004", "Func": "macho_branch_islands", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5772, "Length": 392, "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", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "dl", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "bool", "LP64", "=", "TM", ".", "isPPC64", "(", ")", ";", "const", "TargetRegisterClass", "*", "G8RC", "=", "&", "PPC", "::", "G8RCRegClass", ";", "const", "TargetRegisterClass", "*", "GPRC", "=", "&", "PPC", "::", "GPRCRegClass", ";", "Register", "Reg", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "LP64", "?", "G8RC", ":", "GPRC", ")", ";", "Register", "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", ")", "{", "Register", "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", "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": "PPCRegisterInfo (2)3", "Func": "lowerCRSpilling", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5773, "Length": 318, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLegalMaskedGather", "(", "Type", "*", "DataType", ")", "{", "return", "ST", "->", "hasSVE", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "gather", "."], "TS_V_token": ["AArch64"], "File": "AArch64TargetTransformInfo31", "Func": "isLegalMaskedGather", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5774, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "loongarch_fp_mult_cost", "(", "machine_mode", "mode", ")", "{", "return", "mode", "==", "DFmode", "?", "loongarch_cost", "->", "fp_mult_df", ":", "loongarch_cost", "->", "fp_mult_sf", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "floating-point", "multiplications", "of", "mode", "MODE", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_fp_mult_cost", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5775, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16RegisterInfo", "::", "saveScavengerRegister", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "MachineBasicBlock", "::", "iterator", "&", "UseMI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "unsigned", "Reg", ")", "const", "{", "DebugLoc", "DL", ";", "TII", ".", "copyPhysReg", "(", "MBB", ",", "I", ",", "DL", ",", "Mips", "::", "T0", ",", "Reg", ",", "true", ")", ";", "TII", ".", "copyPhysReg", "(", "MBB", ",", "UseMI", ",", "DL", ",", "Reg", ",", "Mips", "::", "T0", ",", "true", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Spill", "the", "register", "so", "it", "can", "be", "used", "by", "the", "register", "scavenger", "."], "TS_V_token": ["Mips", "Mips", "Mips::T0", "Mips::T0"], "File": "Mips16RegisterInfo11", "Func": "saveScavengerRegister", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5776, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "size_t", "AArch64LongBranchStub", "::", "size", "(", ")", "const", "{", "return", "m_Size", ";", "}", ""], "natrual_language": ["The", "number", "of", "name/type", "pairs", "is", "returned", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64LongBranchStub", "Func": "size", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5777, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "{", "llvm_unreachable", "(", "\"relaxInstruction is not implemented yet\"", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["TOY", "\"relaxInstruction is not implemented yet\""], "File": "TOYAsmBackend", "Func": "relaxInstruction", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5778, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CallLowering", "::", "lowerCall", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "MachineOperand", "&", "Callee", ",", "const", "ArgInfo", "&", "OrigRet", ",", "ArrayRef", "<", "ArgInfo", ">", "OrigArgs", ")", "const", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "Function", "&", "F", "=", "*", "MF", ".", "getFunction", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "auto", "&", "DL", "=", "F", ".", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "SplitArgs", ";", "for", "(", "auto", "&", "OrigArg", ":", "OrigArgs", ")", "{", "splitToValueTypes", "(", "OrigArg", ",", "SplitArgs", ",", "DL", ",", "MRI", ",", "[", "&", "]", "(", "ArrayRef", "<", "unsigned", ">", "Regs", ",", "ArrayRef", "<", "uint64_t", ">", "Offsets", ")", "{", "MIRBuilder", ".", "buildExtract", "(", "Regs", ",", "Offsets", ",", "OrigArg", ".", "Reg", ")", ";", "}", ")", ";", "}", "const", "AArch64TargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "AArch64TargetLowering", ">", "(", ")", ";", "CCAssignFn", "*", "CallAssignFn", "=", "TLI", ".", "CCAssignFnForCall", "(", "F", ".", "getCallingConv", "(", ")", ",", "false", ")", ";", "auto", "MIB", "=", "MIRBuilder", ".", "buildInstrNoInsert", "(", "Callee", ".", "isReg", "(", ")", "?", "AArch64", "::", "BLR", ":", "AArch64", "::", "BL", ")", ";", "MIB", ".", "addOperand", "(", "Callee", ")", ";", "auto", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MIB", ".", "addRegMask", "(", "TRI", "->", "getCallPreservedMask", "(", "MF", ",", "F", ".", "getCallingConv", "(", ")", ")", ")", ";", "SmallVector", "<", "unsigned", ",", "8", ">", "PhysRegs", ";", "OutgoingArgHandler", "Handler", "(", "MIRBuilder", ",", "MRI", ",", "MIB", ")", ";", "if", "(", "!", "handleAssignments", "(", "MIRBuilder", ",", "CallAssignFn", ",", "SplitArgs", ",", "Handler", ")", ")", "return", "false", ";", "MIRBuilder", ".", "insertInstr", "(", "MIB", ")", ";", "if", "(", "Callee", ".", "isReg", "(", ")", ")", "MIB", "->", "getOperand", "(", "0", ")", ".", "setReg", "(", "constrainOperandRegClass", "(", "MF", ",", "*", "TRI", ",", "MRI", ",", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ",", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getRegBankInfo", "(", ")", ",", "*", "MIB", ",", "MIB", "->", "getDesc", "(", ")", ",", "Callee", ".", "getReg", "(", ")", ",", "0", ")", ")", ";", "CCAssignFn", "*", "RetAssignFn", "=", "TLI", ".", "CCAssignFnForReturn", "(", "F", ".", "getCallingConv", "(", ")", ")", ";", "if", "(", "OrigRet", ".", "Reg", ")", "{", "SplitArgs", ".", "clear", "(", ")", ";", "SmallVector", "<", "uint64_t", ",", "8", ">", "RegOffsets", ";", "SmallVector", "<", "unsigned", ",", "8", ">", "SplitRegs", ";", "splitToValueTypes", "(", "OrigRet", ",", "SplitArgs", ",", "DL", ",", "MRI", ",", "[", "&", "]", "(", "ArrayRef", "<", "unsigned", ">", "Regs", ",", "ArrayRef", "<", "uint64_t", ">", "Offsets", ")", "{", "std", "::", "copy", "(", "Offsets", ".", "begin", "(", ")", ",", "Offsets", ".", "end", "(", ")", ",", "std", "::", "back_inserter", "(", "RegOffsets", ")", ")", ";", "std", "::", "copy", "(", "Regs", ".", "begin", "(", ")", ",", "Regs", ".", "end", "(", ")", ",", "std", "::", "back_inserter", "(", "SplitRegs", ")", ")", ";", "}", ")", ";", "CallReturnHandler", "Handler", "(", "MIRBuilder", ",", "MRI", ",", "MIB", ")", ";", "if", "(", "!", "handleAssignments", "(", "MIRBuilder", ",", "RetAssignFn", ",", "SplitArgs", ",", "Handler", ")", ")", "return", "false", ";", "if", "(", "!", "RegOffsets", ".", "empty", "(", ")", ")", "MIRBuilder", ".", "buildSequence", "(", "OrigRet", ".", "Reg", ",", "SplitRegs", ",", "RegOffsets", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "given", "call", "instruction", ",", "including", "argument", "and", "return", "value", "marshalling", "."], "TS_V_token": ["AArch64", "AArch64", "8", "AArch64", "AArch64", "AArch64::BLR", "AArch64::BL", "8", "0", "0", "8", "8"], "File": "AArch64CallLowering22", "Func": "lowerCall", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5779, "Length": 509, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "desc_prologue", "(", "int", "body", ",", "unw_word", "rlen", ",", "unsigned", "char", "mask", ",", "unsigned", "char", "grsave", ",", "struct", "unw_state_record", "*", "sr", ")", "{", "int", "i", ";", "if", "(", "!", "(", "sr", "->", "in_body", "||", "sr", "->", "first_region", ")", ")", "finish_prologue", "(", "sr", ")", ";", "sr", "->", "first_region", "=", "0", ";", "if", "(", "sr", "->", "when_target", "<", "sr", "->", "region_start", "+", "sr", "->", "region_len", ")", "{", "sr", "->", "done", "=", "1", ";", "return", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "sr", "->", "epilogue_count", ";", "++", "i", ")", "pop", "(", "sr", ")", ";", "sr", "->", "epilogue_count", "=", "0", ";", "sr", "->", "epilogue_start", "=", "UNW_WHEN_NEVER", ";", "if", "(", "!", "body", ")", "push", "(", "sr", ")", ";", "sr", "->", "region_start", "+=", "sr", "->", "region_len", ";", "sr", "->", "region_len", "=", "rlen", ";", "sr", "->", "in_body", "=", "body", ";", "if", "(", "!", "body", ")", "{", "for", "(", "i", "=", "0", ";", "i", "<", "4", ";", "++", "i", ")", "{", "if", "(", "mask", "&", "0x8", ")", "set_reg", "(", "sr", "->", "curr", ".", "reg", "+", "save_order", "[", "i", "]", ",", "UNW_WHERE_GR", ",", "sr", "->", "region_start", "+", "sr", "->", "region_len", "-", "1", ",", "grsave", "++", ")", ";", "mask", "<<=", "1", ";", "}", "sr", "->", "gr_save_loc", "=", "grsave", ";", "sr", "->", "any_spills", "=", "0", ";", "sr", "->", "imask", "=", "0", ";", "sr", "->", "spill_offset", "=", "0x10", ";", "}", "}", ""], "natrual_language": ["Region", "header", "descriptors", "."], "TS_V_token": ["ia64", "0", "1", "0", "0", "0", "4", "0x8", "1", "1", "0", "0", "0x10"], "File": "unwind-ia64", "Func": "desc_prologue", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5780, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcTargetMachine", "::", "SparcTargetMachine", "(", "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", ",", "bool", "is64bit", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "is64bit", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "RM", ")", ",", "getEffectiveCodeModel", "(", "CM", ",", "getEffectiveRelocModel", "(", "RM", ")", ",", "is64bit", ",", "JIT", ")", ",", "OL", ")", ",", "TLOF", "(", "make_unique", "<", "SparcELFTargetObjectFile", ">", "(", ")", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ",", "is64bit", ")", ",", "is64Bit", "(", "is64bit", ")", "{", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "ILP32", "architecture", "model", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc"], "File": "SparcTargetMachine18", "Func": "SparcTargetMachine", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5781, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "PPCTTIImpl", "::", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "TTI", "::", "OperandValueKind", "Op1Info", ",", "TTI", "::", "OperandValueKind", "Op2Info", ",", "TTI", "::", "OperandValueProperties", "Opd1PropInfo", ",", "TTI", "::", "OperandValueProperties", "Opd2PropInfo", ")", "{", "assert", "(", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", "&&", "\"Invalid opcode\"", ")", ";", "return", "BaseT", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "Op1Info", ",", "Op2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ")", ";", "}", ""], "natrual_language": ["This", "is", "an", "approximation", "of", "reciprocal", "throughput", "of", "a", "math/logic", "op", "."], "TS_V_token": ["PowerPC", "PPC", "\"Invalid opcode\""], "File": "PPCTargetTransformInfo22", "Func": "getArithmeticInstrCost", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5782, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "SICAsmBackend", "::", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "SIC", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_SIC_32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_SIC_HI16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_SIC_LO16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_SIC_GPREL16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_SIC_GOT\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_SIC_PC16\"", ",", "0", ",", "16", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_SIC_PC24\"", ",", "0", ",", "24", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_SIC_CALL16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_SIC_GOT_HI16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_SIC_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": ["SIC", "SIC", "SIC::NumTargetFixupKinds", "\"fixup_SIC_32\"", "0", "32", "0", "\"fixup_SIC_HI16\"", "0", "16", "0", "\"fixup_SIC_LO16\"", "0", "16", "0", "\"fixup_SIC_GPREL16\"", "0", "16", "0", "\"fixup_SIC_GOT\"", "0", "16", "0", "\"fixup_SIC_PC16\"", "0", "16", "\"fixup_SIC_PC24\"", "0", "24", "\"fixup_SIC_CALL16\"", "0", "16", "0", "\"fixup_SIC_GOT_HI16\"", "0", "16", "0", "\"fixup_SIC_GOT_LO16\"", "0", "16", "0", "\"Invalid kind!\""], "File": "SICAsmBackend", "Func": "getFixupKindInfo", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5783, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCodeEmitter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "assert", "(", "(", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Default", "||", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Static", ")", "&&", "\"JIT relocation model must be set to static or default!\"", ")", ";", "JTI", "=", "(", "(", "ARMBaseTargetMachine", "&", ")", "MF", ".", "getTarget", "(", ")", ")", ".", "getJITInfo", "(", ")", ";", "II", "=", "(", "const", "ARMBaseInstrInfo", "*", ")", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "TD", "=", "MF", ".", "getTarget", "(", ")", ".", "getDataLayout", "(", ")", ";", "Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "MCPEs", "=", "&", "MF", ".", "getConstantPool", "(", ")", "->", "getConstants", "(", ")", ";", "MJTEs", "=", "0", ";", "if", "(", "MF", ".", "getJumpTableInfo", "(", ")", ")", "MJTEs", "=", "&", "MF", ".", "getJumpTableInfo", "(", ")", "->", "getJumpTables", "(", ")", ";", "IsPIC", "=", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ";", "IsThumb", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", "->", "isThumbFunction", "(", ")", ";", "JTI", "->", "Initialize", "(", "MF", ",", "IsPIC", ")", ";", "MMI", "=", "&", "getAnalysis", "<", "MachineModuleInfo", ">", "(", ")", ";", "MCE", ".", "setModuleInfo", "(", "MMI", ")", ";", "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", "::", "iterator", "I", "=", "MBB", "->", "begin", "(", ")", ",", "E", "=", "MBB", "->", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "emitInstruction", "(", "*", "I", ")", ";", "}", "}", "while", "(", "MCE", ".", "finishFunction", "(", "MF", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "\"JIT relocation model must be set to static or default!\"", "ARM", "ARM", "ARM", "0", "ARM", "\"JITTing function '\"", "\"'\\n\""], "File": "ARMCodeEmitter15", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5784, "Length": 307, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "advance_line", "(", "FILE", "*", "file", ")", "{", "while", "(", "1", ")", "{", "if", "(", "!", "fgets", "(", "linebuf", ",", "sizeof", "linebuf", ",", "file", ")", ")", "return", "0", ";", "line", "++", ";", "size_t", "len", "=", "strlen", "(", "linebuf", ")", ";", "lastline", "=", "0", ";", "if", "(", "len", ">", "1", ")", "{", "strcpy", "(", "lines", "[", "0", "]", ",", "linebuf", ")", ";", "while", "(", "linebuf", "[", "len", "-", "2", "]", "==", "'\\\\'", "&&", "linebuf", "[", "len", "-", "1", "]", "==", "'\\n'", ")", "{", "lastline", "++", ";", "if", "(", "lastline", "==", "MAXLINES", ")", "fatal", "(", "\"number of supported overflow lines exceeded\"", ")", ";", "line", "++", ";", "if", "(", "!", "fgets", "(", "lines", "[", "lastline", "]", ",", "LINELEN", ",", "file", ")", ")", "fatal", "(", "\"unexpected end of file\"", ")", ";", "strcpy", "(", "&", "linebuf", "[", "len", "-", "2", "]", ",", "lines", "[", "lastline", "]", ")", ";", "len", "+=", "strlen", "(", "lines", "[", "lastline", "]", ")", "-", "2", ";", "}", "}", "if", "(", "linebuf", "[", "len", "-", "1", "]", "!=", "'\\n'", ")", "fatal", "(", "\"line doesn't terminate with newline\"", ")", ";", "pos", "=", "0", ";", "consume_whitespace", "(", ")", ";", "if", "(", "linebuf", "[", "pos", "]", "!=", "'\\n'", "&&", "linebuf", "[", "pos", "]", "!=", "';'", ")", "return", "1", ";", "}", "}", ""], "natrual_language": ["Get", "the", "next", "nonblank", ",", "noncomment", "line", ",", "returning", "0", "on", "EOF", ",", "1", "otherwise", "."], "TS_V_token": ["rs6000", "1", "0", "0", "1", "0", "2", "1", "\"number of supported overflow lines exceeded\"", "\"unexpected end of file\"", "2", "2", "1", "\"line doesn't terminate with newline\"", "0", "1"], "File": "rs6000-gen-builtins", "Func": "advance_line", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5785, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "addInst", "(", "MachineInstr", "*", "MI", ")", "{", "Blocks", ".", "back", "(", ")", ".", "insert", "(", "MI", ")", ";", "PredicatedInsts", ".", "emplace", "(", "MI", ",", "std", "::", "make_unique", "<", "PredicatedMI", ">", "(", "MI", ",", "CurrentPredicates", ")", ")", ";", "}", ""], "natrual_language": ["Add", "a", "new", "MCInst", "operand", "."], "TS_V_token": ["ARM"], "File": "ARMLowOverheadLoops", "Func": "addInst", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5786, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "mips_constant_elt_p", "(", "rtx", "x", ")", "{", "return", "CONST_INT_P", "(", "x", ")", "||", "GET_CODE", "(", "x", ")", "==", "CONST_DOUBLE", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "mips_expand_vec_init", ",", "match", "constant", "vector", "elements", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_constant_elt_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5787, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "classify_argument", "(", "machine_mode", "mode", ",", "const_tree", "type", ",", "enum", "x86_64_reg_class", "classes", "[", "MAX_CLASSES", "]", ",", "int", "bit_offset", ")", "{", "int", "zero_width_bitfields", "=", "0", ";", "static", "bool", "warned", "=", "false", ";", "int", "n", "=", "classify_argument", "(", "mode", ",", "type", ",", "classes", ",", "bit_offset", ",", "zero_width_bitfields", ")", ";", "if", "(", "!", "zero_width_bitfields", "||", "warned", "||", "!", "warn_psabi", ")", "return", "n", ";", "enum", "x86_64_reg_class", "alt_classes", "[", "MAX_CLASSES", "]", ";", "zero_width_bitfields", "=", "2", ";", "if", "(", "classify_argument", "(", "mode", ",", "type", ",", "alt_classes", ",", "bit_offset", ",", "zero_width_bitfields", ")", "!=", "n", ")", "zero_width_bitfields", "=", "3", ";", "else", "for", "(", "int", "i", "=", "0", ";", "i", "<", "n", ";", "i", "++", ")", "if", "(", "classes", "[", "i", "]", "!=", "alt_classes", "[", "i", "]", ")", "{", "zero_width_bitfields", "=", "3", ";", "break", ";", "}", "if", "(", "zero_width_bitfields", "==", "3", ")", "{", "warned", "=", "true", ";", "const", "char", "*", "url", "=", "CHANGES_ROOT_URL", "\"gcc-12/changes.html#zero_width_bitfields\"", ";", "inform", "(", "input_location", ",", "\"the ABI of passing C structures with zero-width bit-fields\"", "\" has changed in GCC %{12.1%}\"", ",", "url", ")", ";", "}", "return", "n", ";", "}", ""], "natrual_language": ["Classify", "the", "argument", "of", "type", "TYPE", "and", "mode", "MODE", ".", "CLASSES", "will", "be", "filled", "by", "the", "register", "class", "used", "to", "pass", "each", "word", "of", "the", "operand", ".", "The", "number", "of", "words", "is", "returned", ".", "In", "case", "the", "parameter", "should", "be", "passed", "in", "memory", ",", "0", "is", "returned", ".", "As", "a", "special", "case", "for", "zero", "sized", "containers", ",", "classes", "[", "0", "]", "will", "be", "NO_CLASS", "and", "1", "is", "returned", ".", "BIT_OFFSET", "is", "used", "internally", "for", "handling", "records", "and", "specifies", "offset", "of", "the", "offset", "in", "bits", "modulo", "256", "to", "avoid", "overflow", "cases", ".", "See", "the", "x86-64", "PS", "ABI", "for", "details", "."], "TS_V_token": ["i386", "0", "2", "3", "0", "3", "3", "\"gcc-12/changes.html#zero_width_bitfields\"", "\"the ABI of passing C structures with zero-width bit-fields\"", "\" has changed in GCC %{12.1%}\""], "File": "i386", "Func": "classify_argument", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5788, "Length": 162, "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", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "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", "(", ")", ",", "OutVals", "[", "i", "]", ",", "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": "SparcISelLowering32", "Func": "LowerReturn", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5789, "Length": 275, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "override", "{", "return", "createFISCELFObjectWriter", "(", "OS", ",", "OSABI", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["FISC", "FISC"], "File": "FISCAsmBackend", "Func": "createObjectWriter", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5790, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"ARM PIC Global Base Reg Initialization\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"ARM PIC Global Base Reg Initialization\""], "File": "ARMInstrInfo11", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5791, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "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", "(", ")", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_PPC", ")", ";", "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!\"", ")", ";", "SDValue", "Arg", "=", "OutVals", "[", "i", "]", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown loc info!\"", ")", ";", "case", "CCValAssign", "::", "Full", ":", "break", ";", "case", "CCValAssign", "::", "AExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ANY_EXTEND", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "case", "CCValAssign", "::", "ZExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ZERO_EXTEND", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "case", "CCValAssign", "::", "SExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "SIGN_EXTEND", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "}", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "Arg", ",", "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", "(", "PPCISD", "::", "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": ["PowerPC", "PPC", "ISD::OutputArg", "16", "PPC", "4", "1", "0", "\"Can only return in registers!\"", "\"Unknown loc info!\"", "ISD::ANY_EXTEND", "ISD::ZERO_EXTEND", "ISD::SIGN_EXTEND", "1", "0", "PPCISD::RET_FLAG", "MVT::Other"], "File": "PPCISelLowering120", "Func": "LowerReturn", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5792, "Length": 352, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "const", "{", "OS", ".", "write_zeros", "(", "Count", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsAsmBackend16", "Func": "writeNopData", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5793, "Length": 30, "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", ")", ".", "addImm", "(", "Pred", ")", ".", "addReg", "(", "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": "ARMBaseRegisterInfo25", "Func": "emitLoadConstPool", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5794, "Length": 174, "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": 5795, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCFrameInfo", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "if", "(", "MF", ".", "getFunction", "(", ")", "->", "hasFnAttr", "(", "Attribute", "::", "Naked", ")", ")", "return", "false", ";", "return", "DisableFramePointerElim", "(", "MF", ")", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", "||", "(", "GuaranteedTailCallOpt", "&&", "MF", ".", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", "->", "hasFastCall", "(", ")", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["PowerPC", "PPC", "PPC"], "File": "PPCFrameInfo", "Func": "hasFP", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5796, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "areOnlyUsersOf", "(", "SDNode", "*", "N", ",", "ArrayRef", "<", "SDValue", ">", "ValidUsers", ")", "{", "for", "(", "SDNode", "::", "use_iterator", "I", "=", "N", "->", "use_begin", "(", ")", ",", "E", "=", "N", "->", "use_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "if", "(", "llvm", "::", "all_of", "(", "ValidUsers", ",", "[", "&", "I", "]", "(", "SDValue", "V", ")", "{", "return", "V", ".", "getNode", "(", ")", "!=", "*", "I", ";", "}", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "all", "the", "users", "of", "N", "are", "contained", "in", "Nodes", "."], "TS_V_token": ["X86"], "File": "X86ISelLowering10", "Func": "areOnlyUsersOf", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5797, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mve_struct_mem_operand", "(", "rtx", "op", ")", "{", "rtx", "ind", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "REG_P", "(", "ind", ")", ")", "return", "arm_address_register_rtx_p", "(", "ind", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "ind", ")", "==", "POST_INC", ")", "return", "arm_address_register_rtx_p", "(", "XEXP", "(", "ind", ",", "0", ")", ",", "0", ")", ";", "return", "FALSE", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "OP", "is", "a", "mem", "suitable", "for", "loading/storing", "an", "MVE", "struct", "type", "."], "TS_V_token": ["arm", "0", "0", "0", "0"], "File": "arm1", "Func": "mve_struct_mem_operand", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5798, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "ARMBaseTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "ARMPassConfig", "(", "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": ["ARM", "ARM", "ARM"], "File": "ARMTargetMachine (2)1", "Func": "createPassConfig", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5799, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZXPLINKFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZFrameLowering10", "Func": "emitPrologue", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5800, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "do_dispatch", "(", "rtx_insn", "*", "insn", ",", "int", "mode", ")", "{", "if", "(", "mode", "==", "DISPATCH_INIT", ")", "init_dispatch_sched", "(", ")", ";", "else", "if", "(", "mode", "==", "ADD_TO_DISPATCH_WINDOW", ")", "add_to_dispatch_window", "(", "insn", ")", ";", "}", ""], "natrual_language": ["This", "routine", "is", "the", "driver", "of", "the", "dispatch", "scheduler", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "do_dispatch", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5801, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "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", ",", "CCAssignFnForReturn", "(", "CallConv", ",", "isVarArg", ")", ")", ";", "}", ""], "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": ["ARM", "ARM", "ISD::OutputArg", "16"], "File": "ARMISelLowering (2)5", "Func": "CanLowerReturn", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5802, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getPrefetchDistance", "(", ")", "const", "override", "{", "return", "4500", ";", "}", ""], "natrual_language": ["Return", "the", "preferred", "prefetch", "distance", "in", "terms", "of", "instructions", "."], "TS_V_token": ["SystemZ", "4500"], "File": "SystemZTargetTransformInfo", "Func": "getPrefetchDistance", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5803, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64LowerHomogeneousPrologEpilog", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "if", "(", "skipModule", "(", "M", ")", ")", "return", "false", ";", "MachineModuleInfo", "*", "MMI", "=", "&", "getAnalysis", "<", "MachineModuleInfoWrapperPass", ">", "(", ")", ".", "getMMI", "(", ")", ";", "return", "AArch64LowerHomogeneousPE", "(", "&", "M", ",", "MMI", ")", ".", "run", "(", ")", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64LowerHomogeneousPrologEpilog", "Func": "runOnModule", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5804, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CCAssignFn", "*", "ARMFastISel", "::", "CCAssignFnForCall", "(", "CallingConv", "::", "ID", "CC", ",", "bool", "Return", ",", "bool", "isVarArg", ")", "{", "switch", "(", "CC", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unsupported calling convention\"", ")", ";", "case", "CallingConv", "::", "Fast", ":", "if", "(", "Subtarget", "->", "hasVFP2", "(", ")", "&&", "!", "isVarArg", ")", "{", "if", "(", "!", "Subtarget", "->", "isAAPCS_ABI", "(", ")", ")", "return", "(", "Return", "?", "RetFastCC_ARM_APCS", ":", "FastCC_ARM_APCS", ")", ";", "return", "(", "Return", "?", "RetCC_ARM_AAPCS_VFP", ":", "CC_ARM_AAPCS_VFP", ")", ";", "}", "case", "CallingConv", "::", "C", ":", "if", "(", "Subtarget", "->", "isAAPCS_ABI", "(", ")", ")", "{", "if", "(", "Subtarget", "->", "hasVFP2", "(", ")", "&&", "TM", ".", "Options", ".", "FloatABIType", "==", "FloatABI", "::", "Hard", "&&", "!", "isVarArg", ")", "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", ":", "if", "(", "!", "isVarArg", ")", "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", ")", ";", "case", "CallingConv", "::", "GHC", ":", "if", "(", "Return", ")", "llvm_unreachable", "(", "\"Can't return in GHC call convention\"", ")", ";", "else", "return", "CC_ARM_APCS_GHC", ";", "}", "}", ""], "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", "ARM", "ARM", "\"Can't return in GHC call convention\"", "ARM"], "File": "ARMFastISel (2)", "Func": "CCAssignFnForCall", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5805, "Length": 207, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_add_cfa_restore", "(", "rtx", "reg", ")", "{", "mips_epilogue", ".", "cfa_restores", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "mips_epilogue", ".", "cfa_restores", ")", ";", "}", ""], "natrual_language": ["Record", "that", "the", "epilogue", "has", "restored", "call-saved", "register", "REG", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_add_cfa_restore", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5806, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmParser", "::", "ParseInstruction", "(", "const", "StringRef", "&", "Name", ",", "SMLoc", "NameLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ")", "{", "OwningPtr", "<", "ARMOperand", ">", "Op", ";", "ARMOperand", "::", "CreateToken", "(", "Op", ",", "Name", ",", "NameLoc", ")", ";", "Operands", ".", "push_back", "(", "Op", ".", "take", "(", ")", ")", ";", "SMLoc", "Loc", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "OwningPtr", "<", "ARMOperand", ">", "Op", ";", "if", "(", "ParseOperand", "(", "Op", ")", ")", "return", "true", ";", "Operands", ".", "push_back", "(", "Op", ".", "take", "(", ")", ")", ";", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "ParseOperand", "(", "Op", ")", ")", "return", "true", ";", "Operands", ".", "push_back", "(", "Op", ".", "take", "(", ")", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM"], "File": "ARMAsmParser13", "Func": "ParseInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5807, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "symbolic_reference_mentioned_p", "(", "rtx", "op", ")", "{", "const", "char", "*", "fmt", ";", "int", "i", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "op", ")", "==", "LABEL_REF", ")", "return", "true", ";", "fmt", "=", "GET_RTX_FORMAT", "(", "GET_CODE", "(", "op", ")", ")", ";", "for", "(", "i", "=", "GET_RTX_LENGTH", "(", "GET_CODE", "(", "op", ")", ")", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "if", "(", "fmt", "[", "i", "]", "==", "'E'", ")", "{", "int", "j", ";", "for", "(", "j", "=", "XVECLEN", "(", "op", ",", "i", ")", "-", "1", ";", "j", ">=", "0", ";", "j", "--", ")", "if", "(", "symbolic_reference_mentioned_p", "(", "XVECEXP", "(", "op", ",", "i", ",", "j", ")", ")", ")", "return", "true", ";", "}", "else", "if", "(", "fmt", "[", "i", "]", "==", "'e'", "&&", "symbolic_reference_mentioned_p", "(", "XEXP", "(", "op", ",", "i", ")", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "contains", "a", "symbol", "reference"], "TS_V_token": ["nds32", "1", "0", "1", "0"], "File": "nds32-md-auxiliary", "Func": "symbolic_reference_mentioned_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5808, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "umips_output_load_store_pair", "(", "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", ")", "{", "umips_output_load_store_pair_1", "(", "load_p", ",", "reg1", ",", "mem1", ")", ";", "return", ";", "}", "gcc_assert", "(", "REGNO", "(", "reg1", ")", "==", "REGNO", "(", "reg2", ")", "+", "1", ")", ";", "umips_output_load_store_pair_1", "(", "load_p", ",", "reg2", ",", "mem2", ")", ";", "}", ""], "natrual_language": ["Output", "the", "assembly", "instruction", "for", "a", "microMIPS", "LWP", "or", "SWP", "instruction", ".", "LOAD_P", "and", "OPERANDS", "are", "as", "for", "umips_load_store_pair_p", "."], "TS_V_token": ["mips", "0", "2", "1", "3", "1", "3", "0", "2", "1", "1"], "File": "mips", "Func": "umips_output_load_store_pair", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5809, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "rs6000_adjust_vect_cost_per_stmt", "(", "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": "rs6000_adjust_vect_cost_per_stmt", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5810, "Length": 60, "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": 5811, "Length": 373, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_gen_load_pair", "(", "machine_mode", "mode", ",", "rtx", "reg1", ",", "rtx", "mem1", ",", "rtx", "reg2", ",", "rtx", "mem2", ")", "{", "switch", "(", "mode", ")", "{", "case", "DImode", ":", "return", "gen_load_pairdi", "(", "reg1", ",", "mem1", ",", "reg2", ",", "mem2", ")", ";", "case", "DFmode", ":", "return", "gen_load_pairdf", "(", "reg1", ",", "mem1", ",", "reg2", ",", "mem2", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Generate", "and", "regurn", "a", "load", "pair", "isntruction", "of", "mode", "MODE", "to", "load", "register", "REG1", "from", "MEM1", "and", "register", "REG2", "from", "MEM2", "."], "TS_V_token": ["aarch64"], "File": "aarch642", "Func": "aarch64_gen_load_pair", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5812, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "core2i7_first_cycle_multipass_fini", "(", "void", "*", "_data", ")", "{", "ix86_first_cycle_multipass_data_t", "data", "=", "(", "ix86_first_cycle_multipass_data_t", ")", "_data", ";", "if", "(", "data", "->", "ready_try_change", ")", "{", "sbitmap_free", "(", "data", "->", "ready_try_change", ")", ";", "data", "->", "ready_try_change", "=", "NULL", ";", "data", "->", "ready_try_change_size", "=", "0", ";", "}", "}", ""], "natrual_language": ["Deallocate", "target", "data", "."], "TS_V_token": ["i386", "0"], "File": "i3864", "Func": "core2i7_first_cycle_multipass_fini", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5813, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "invalid_e500_subreg", "(", "rtx", "op", ",", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_E500_DOUBLE", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "==", "SUBREG", "&&", "(", "mode", "==", "SImode", "||", "mode", "==", "DImode", "||", "mode", "==", "TImode", "||", "mode", "==", "DDmode", "||", "mode", "==", "TDmode", "||", "mode", "==", "PTImode", ")", "&&", "REG_P", "(", "SUBREG_REG", "(", "op", ")", ")", "&&", "(", "GET_MODE", "(", "SUBREG_REG", "(", "op", ")", ")", "==", "DFmode", "||", "GET_MODE", "(", "SUBREG_REG", "(", "op", ")", ")", "==", "TFmode", "||", "GET_MODE", "(", "SUBREG_REG", "(", "op", ")", ")", "==", "IFmode", "||", "GET_MODE", "(", "SUBREG_REG", "(", "op", ")", ")", "==", "KFmode", ")", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "SUBREG", "&&", "(", "mode", "==", "DFmode", "||", "mode", "==", "TFmode", "||", "mode", "==", "IFmode", "||", "mode", "==", "KFmode", ")", "&&", "REG_P", "(", "SUBREG_REG", "(", "op", ")", ")", "&&", "(", "GET_MODE", "(", "SUBREG_REG", "(", "op", ")", ")", "==", "DImode", "||", "GET_MODE", "(", "SUBREG_REG", "(", "op", ")", ")", "==", "TImode", "||", "GET_MODE", "(", "SUBREG_REG", "(", "op", ")", ")", "==", "PTImode", "||", "GET_MODE", "(", "SUBREG_REG", "(", "op", ")", ")", "==", "DDmode", "||", "GET_MODE", "(", "SUBREG_REG", "(", "op", ")", ")", "==", "TDmode", ")", ")", "return", "true", ";", "}", "if", "(", "TARGET_SPE", "&&", "GET_CODE", "(", "op", ")", "==", "SUBREG", "&&", "mode", "==", "SImode", "&&", "REG_P", "(", "SUBREG_REG", "(", "op", ")", ")", "&&", "SPE_VECTOR_MODE", "(", "GET_MODE", "(", "SUBREG_REG", "(", "op", ")", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "OP", "is", "an", "invalid", "SUBREG", "operation", "on", "the", "e500", "."], "TS_V_token": ["rs6000"], "File": "rs60005", "Func": "invalid_e500_subreg", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5814, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{", "return", "createMipsELFObjectWriter", "(", "OS", ",", "MCELFObjectTargetWriter", "::", "getOSABI", "(", "OSType", ")", ",", "IsLittle", ",", "Is64Bit", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsAsmBackend11", "Func": "createObjectWriter", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5815, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_eh_return_handler_rtx", "(", "void", ")", "{", "rtx", "tmp", "=", "gen_frame_mem", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "hard_frame_pointer_rtx", ",", "UNITS_PER_WORD", ")", ")", ";", "MEM_VOLATILE_P", "(", "tmp", ")", "=", "true", ";", "return", "tmp", ";", "}", ""], "natrual_language": ["Implement", "EH_RETURN_HANDLER_RTX", ".", "EH", "returns", "need", "to", "either", "return", "normally", "or", "return", "to", "a", "previous", "frame", "after", "unwinding", ".", "An", "EH", "return", "uses", "a", "single", "shared", "return", "sequence", ".", "The", "epilogue", "is", "exactly", "like", "a", "normal", "epilogue", "except", "that", "it", "has", "an", "extra", "input", "register", "(", "EH_RETURN_STACKADJ_RTX", ")", "which", "contains", "the", "stack", "adjustment", "that", "must", "be", "applied", "after", "the", "frame", "has", "been", "destroyed", ".", "An", "extra", "label", "is", "inserted", "before", "the", "epilogue", "which", "initializes", "this", "register", "to", "zero", ",", "and", "this", "is", "the", "entry", "point", "for", "a", "normal", "return", ".", "An", "actual", "EH", "return", "updates", "the", "return", "address", ",", "initializes", "the", "stack", "adjustment", "and", "jumps", "directly", "into", "the", "epilogue", "(", "bypassing", "the", "zeroing", "of", "the", "adjustment", ")", ".", "Since", "the", "return", "address", "is", "typically", "saved", "on", "the", "stack", "when", "a", "function", "makes", "a", "call", ",", "the", "saved", "LR", "must", "be", "updated", "outside", "the", "epilogue", ".", "This", "poses", "problems", "as", "the", "store", "is", "generated", "well", "before", "the", "epilogue", ",", "so", "the", "offset", "of", "LR", "is", "not", "known", "yet", ".", "Also", "optimizations", "will", "remove", "the", "store", "as", "it", "appears", "dead", ",", "even", "after", "the", "epilogue", "is", "generated", "(", "as", "the", "base", "or", "offset", "for", "loading", "LR", "is", "different", "in", "many", "cases", ")", ".", "To", "avoid", "these", "problems", "this", "implementation", "forces", "the", "frame", "pointer", "in", "eh_return", "functions", "so", "that", "the", "location", "of", "LR", "is", "fixed", "and", "known", "early", ".", "It", "also", "marks", "the", "store", "volatile", ",", "so", "no", "optimization", "is", "permitted", "to", "remove", "the", "store", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_eh_return_handler_rtx", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5816, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "AArch64InstrInfo", "::", "insertOutlinedCall", "(", "Module", "&", "M", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "It", ",", "MachineFunction", "&", "MF", ",", "const", "MachineOutlinerInfo", "&", "MInfo", ")", "const", "{", "if", "(", "MInfo", ".", "CallConstructionID", "==", "MachineOutlinerTailCall", ")", "{", "It", "=", "MBB", ".", "insert", "(", "It", ",", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "TCRETURNdi", ")", ")", ".", "addGlobalAddress", "(", "M", ".", "getNamedValue", "(", "MF", ".", "getName", "(", ")", ")", ")", ".", "addImm", "(", "0", ")", ")", ";", "return", "It", ";", "}", "if", "(", "MInfo", ".", "CallConstructionID", "==", "MachineOutlinerNoLRSave", "||", "MInfo", ".", "CallConstructionID", "==", "MachineOutlinerThunk", ")", "{", "It", "=", "MBB", ".", "insert", "(", "It", ",", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "BL", ")", ")", ".", "addGlobalAddress", "(", "M", ".", "getNamedValue", "(", "MF", ".", "getName", "(", ")", ")", ")", ")", ";", "return", "It", ";", "}", "MachineBasicBlock", "::", "iterator", "CallPt", ";", "MachineInstr", "*", "STRXpre", "=", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "STRXpre", ")", ")", ".", "addReg", "(", "AArch64", "::", "SP", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "AArch64", "::", "LR", ")", ".", "addReg", "(", "AArch64", "::", "SP", ")", ".", "addImm", "(", "-", "16", ")", ";", "It", "=", "MBB", ".", "insert", "(", "It", ",", "STRXpre", ")", ";", "It", "++", ";", "It", "=", "MBB", ".", "insert", "(", "It", ",", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "BL", ")", ")", ".", "addGlobalAddress", "(", "M", ".", "getNamedValue", "(", "MF", ".", "getName", "(", ")", ")", ")", ")", ";", "CallPt", "=", "It", ";", "It", "++", ";", "MachineInstr", "*", "LDRXpost", "=", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "LDRXpost", ")", ")", ".", "addReg", "(", "AArch64", "::", "SP", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "AArch64", "::", "LR", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "AArch64", "::", "SP", ")", ".", "addImm", "(", "16", ")", ";", "It", "=", "MBB", ".", "insert", "(", "It", ",", "LDRXpost", ")", ";", "return", "CallPt", ";", "}", ""], "natrual_language": ["Insert", "a", "call", "to", "an", "outlined", "function", "into", "the", "program", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::TCRETURNdi", "0", "AArch64::BL", "AArch64::STRXpre", "AArch64::SP", "AArch64::LR", "AArch64::SP", "16", "AArch64::BL", "AArch64::LDRXpost", "AArch64::SP", "AArch64::LR", "AArch64::SP", "16"], "File": "AArch64InstrInfo37", "Func": "insertOutlinedCall", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5817, "Length": 332, "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": 5818, "Length": 221, "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": ["ARM"], "File": "ARMMachineFunctionInfo", "Func": "getGlobalBaseReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5819, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64VectorByElementOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "const", "TargetSubtargetInfo", "&", "ST", "=", "MF", ".", "getSubtarget", "(", ")", ";", "const", "AArch64InstrInfo", "*", "AAII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "ST", ".", "getInstrInfo", "(", ")", ")", ";", "if", "(", "!", "AAII", ")", "return", "false", ";", "SchedModel", ".", "init", "(", "ST", ".", "getSchedModel", "(", ")", ",", "&", "ST", ",", "AAII", ")", ";", "if", "(", "!", "SchedModel", ".", "hasInstrSchedModel", "(", ")", ")", "return", "false", ";", "if", "(", "earlyExitVectElement", "(", "&", "MF", ")", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "std", "::", "map", "<", "unsigned", ",", "bool", ">", "VecInstElemTable", ";", "SmallVector", "<", "MachineInstr", "*", ",", "8", ">", "RemoveMIs", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "MachineBasicBlock", "::", "iterator", "MII", "=", "MBB", ".", "begin", "(", ")", ",", "MIE", "=", "MBB", ".", "end", "(", ")", ";", "MII", "!=", "MIE", ";", ")", "{", "MachineInstr", "&", "MI", "=", "*", "MII", ";", "if", "(", "optimizeVectElement", "(", "MI", ",", "&", "VecInstElemTable", ")", ")", "{", "RemoveMIs", ".", "push_back", "(", "&", "MI", ")", ";", "Changed", "=", "true", ";", "}", "++", "MII", ";", "}", "}", "for", "(", "MachineInstr", "*", "MI", ":", "RemoveMIs", ")", "MI", "->", "eraseFromParent", "(", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "8"], "File": "AArch64VectorByElementOpt", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5820, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetMachine", "::", "addPreRegAlloc", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "PM", ".", "add", "(", "createX86MaxStackAlignmentHeuristicPass", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86TargetMachine122", "Func": "addPreRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5821, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "sparc_hard_regno_nregs", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "regno", "==", "SPARC_GSR_REG", ")", "return", "1", ";", "if", "(", "TARGET_ARCH64", ")", "{", "if", "(", "SPARC_INT_REG_P", "(", "regno", ")", "||", "regno", "==", "FRAME_POINTER_REGNUM", ")", "return", "CEIL", "(", "GET_MODE_SIZE", "(", "mode", ")", ",", "UNITS_PER_WORD", ")", ";", "return", "CEIL", "(", "GET_MODE_SIZE", "(", "mode", ")", ",", "4", ")", ";", "}", "return", "CEIL", "(", "GET_MODE_SIZE", "(", "mode", ")", ",", "UNITS_PER_WORD", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_NREGS", ".", "On", "SPARC", ",", "ordinary", "registers", "hold", "32", "bits", "worth", ";", "this", "means", "both", "integer", "and", "floating", "point", "registers", ".", "On", "v9", ",", "integer", "regs", "hold", "64", "bits", "worth", ";", "floating", "point", "regs", "hold", "32", "bits", "worth", "(", "this", "includes", "the", "new", "fp", "regs", "as", "even", "the", "odd", "ones", "are", "included", "in", "the", "hard", "register", "count", ")", "."], "TS_V_token": ["sparc", "1", "4"], "File": "sparc", "Func": "sparc_hard_regno_nregs", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5822, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rsqrte_type", "get_rsqrte_type", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "DFmode", ":", "return", "gen_aarch64_rsqrte_df2", ";", "case", "SFmode", ":", "return", "gen_aarch64_rsqrte_sf2", ";", "case", "V2DFmode", ":", "return", "gen_aarch64_rsqrte_v2df2", ";", "case", "V2SFmode", ":", "return", "gen_aarch64_rsqrte_v2sf2", ";", "case", "V4SFmode", ":", "return", "gen_aarch64_rsqrte_v4sf2", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Select", "reciprocal", "square", "root", "initial", "estimate", "insn", "depending", "on", "machine", "mode", "."], "TS_V_token": ["aarch64"], "File": "aarch643", "Func": "get_rsqrte_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5823, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "pa_return_in_memory", "(", "const_tree", "type", ",", "const_tree", "fntype", "ATTRIBUTE_UNUSED", ")", "{", "return", "(", "int_size_in_bytes", "(", "type", ")", ">", "(", "TARGET_64BIT", "?", "16", ":", "8", ")", "||", "int_size_in_bytes", "(", "type", ")", "<=", "0", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_RETURN_IN_MEMORY", "."], "TS_V_token": ["pa", "16", "8", "0"], "File": "pa", "Func": "pa_return_in_memory", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5824, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachinePostDominatorTree", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["PowerPC"], "File": "PPCBranchCoalescing", "Func": "getAnalysisUsage", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5825, "Length": 36, "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": 5826, "Length": 220, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arm_expand_builtin_1", "(", "int", "fcode", ",", "tree", "exp", ",", "rtx", "target", ",", "arm_builtin_datum", "*", "d", ")", "{", "enum", "insn_code", "icode", "=", "d", "->", "code", ";", "builtin_arg", "args", "[", "SIMD_MAX_BUILTIN_ARGS", "+", "1", "]", ";", "int", "num_args", "=", "insn_data", "[", "d", "->", "code", "]", ".", "n_operands", ";", "int", "is_void", "=", "0", ";", "int", "k", ";", "bool", "neon", "=", "false", ";", "if", "(", "IN_RANGE", "(", "fcode", ",", "ARM_BUILTIN_VFP_BASE", ",", "ARM_BUILTIN_ACLE_BASE", "-", "1", ")", ")", "neon", "=", "true", ";", "is_void", "=", "!", "!", "(", "d", "->", "qualifiers", "[", "0", "]", "&", "qualifier_void", ")", ";", "num_args", "+=", "is_void", ";", "for", "(", "k", "=", "1", ";", "k", "<", "num_args", ";", "k", "++", ")", "{", "int", "qualifiers_k", "=", "k", ";", "int", "operands_k", "=", "k", "-", "is_void", ";", "int", "expr_args_k", "=", "k", "-", "1", ";", "if", "(", "d", "->", "qualifiers", "[", "qualifiers_k", "]", "&", "qualifier_lane_index", ")", "args", "[", "k", "]", "=", "ARG_BUILTIN_LANE_INDEX", ";", "else", "if", "(", "d", "->", "qualifiers", "[", "qualifiers_k", "]", "&", "qualifier_struct_load_store_lane_index", ")", "args", "[", "k", "]", "=", "ARG_BUILTIN_STRUCT_LOAD_STORE_LANE_INDEX", ";", "else", "if", "(", "d", "->", "qualifiers", "[", "qualifiers_k", "]", "&", "qualifier_immediate", ")", "args", "[", "k", "]", "=", "ARG_BUILTIN_CONSTANT", ";", "else", "if", "(", "d", "->", "qualifiers", "[", "qualifiers_k", "]", "&", "qualifier_maybe_immediate", ")", "{", "rtx", "arg", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "(", "expr_args_k", ")", ")", ")", ";", "bool", "op_const_int_p", "=", "(", "CONST_INT_P", "(", "arg", ")", "&&", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "operands_k", "]", ".", "predicate", ")", "(", "arg", ",", "insn_data", "[", "icode", "]", ".", "operand", "[", "operands_k", "]", ".", "mode", ")", ")", ";", "args", "[", "k", "]", "=", "op_const_int_p", "?", "ARG_BUILTIN_CONSTANT", ":", "ARG_BUILTIN_COPY_TO_REG", ";", "}", "else", "if", "(", "d", "->", "qualifiers", "[", "qualifiers_k", "]", "&", "qualifier_pointer", ")", "{", "if", "(", "neon", ")", "args", "[", "k", "]", "=", "ARG_BUILTIN_NEON_MEMORY", ";", "else", "args", "[", "k", "]", "=", "ARG_BUILTIN_MEMORY", ";", "}", "else", "args", "[", "k", "]", "=", "ARG_BUILTIN_COPY_TO_REG", ";", "}", "args", "[", "k", "]", "=", "ARG_BUILTIN_STOP", ";", "return", "arm_expand_builtin_args", "(", "target", ",", "d", "->", "mode", ",", "fcode", ",", "icode", ",", "!", "is_void", ",", "exp", ",", "&", "args", "[", "1", "]", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "builtin", ".", "These", "builtins", "are", "``", "special", "''", "because", "they", "do", "n't", "have", "symbolic", "constants", "defined", "per-instruction", "or", "per", "instruction-variant", ".", "Instead", ",", "the", "required", "info", "is", "looked", "up", "in", "the", "ARM_BUILTIN_DATA", "record", "that", "is", "passed", "into", "the", "function", "."], "TS_V_token": ["arm", "1", "0", "1", "0", "1", "1", "1"], "File": "arm-builtins4", "Func": "arm_expand_builtin_1", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5827, "Length": 339, "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": ["AArch64"], "File": "AArch64Subtarget1", "Func": "getDataLayout", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5828, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CompressJumpTables", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MFIn", ")", "{", "bool", "Changed", "=", "false", ";", "MF", "=", "&", "MFIn", ";", "const", "auto", "&", "ST", "=", "MF", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "if", "(", "ST", ".", "force32BitJumpTables", "(", ")", "&&", "!", "MF", "->", "getFunction", "(", ")", ".", "hasMinSize", "(", ")", ")", "return", "false", ";", "if", "(", "!", "scanFunction", "(", ")", ")", "return", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "*", "MF", ")", "{", "int", "Offset", "=", "BlockInfo", "[", "MBB", ".", "getNumber", "(", ")", "]", ";", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "{", "Changed", "|=", "compressJumpTable", "(", "MI", ",", "Offset", ")", ";", "Offset", "+=", "TII", "->", "getInstSizeInBytes", "(", "MI", ")", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64CompressJumpTables1", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5829, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isFPRCopy", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "TargetOpcode", "::", "COPY", ":", "{", "unsigned", "DstReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "return", "(", "AArch64", "::", "FPR64RegClass", ".", "contains", "(", "DstReg", ")", "||", "AArch64", "::", "FPR128RegClass", ".", "contains", "(", "DstReg", ")", ")", ";", "}", "case", "AArch64", "::", "ORRv16i8", ":", "if", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", "{", "assert", "(", "MI", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", "==", "3", "&&", "MI", "->", "getOperand", "(", "0", ")", ".", "isReg", "(", ")", "&&", "\"invalid ORRv16i8 operands\"", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Does", "this", "instruction", "rename", "an", "FPR", "without", "modifying", "bits", "?"], "TS_V_token": ["AArch64", "AArch64", "0", "AArch64::FPR64RegClass", "AArch64::FPR128RegClass", "AArch64::ORRv16i8", "1", "2", "3", "0", "\"invalid ORRv16i8 operands\""], "File": "AArch64InstrInfo4", "Func": "isFPRCopy", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5830, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isToken", "(", ")", "const", "{", "return", "Kind", "==", "k_Token", ";", "}", ""], "natrual_language": ["isToken", "-", "Is", "this", "a", "token", "operand", "?"], "TS_V_token": ["FISC"], "File": "FISCAsmParser", "Func": "isToken", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5831, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "OR1KAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "auto", "I", "=", "MI", "->", "getIterator", "(", ")", ";", "auto", "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": ["OR1K", "OR1K"], "File": "OR1KAsmPrinter1", "Func": "EmitInstruction", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5832, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"ARM64 Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM64", "\"ARM64 Assembly Printer\""], "File": "ARM64AsmPrinter", "Func": "getPassName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5833, "Length": 13, "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": 5834, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XNCMInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["XNCM", "XNCM", "\"Impossible reg-to-reg copy\""], "File": "XNCMInstrInfo", "Func": "copyPhysReg", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5835, "Length": 34, "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": 5836, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "rs6000_c_mode_for_suffix", "(", "char", "suffix", ")", "{", "if", "(", "TARGET_FLOAT128_TYPE", ")", "{", "if", "(", "suffix", "==", "'q'", "||", "suffix", "==", "'Q'", ")", "return", "(", "FLOAT128_IEEE_P", "(", "TFmode", ")", ")", "?", "TFmode", ":", "KFmode", ";", "}", "return", "VOIDmode", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "c_mode_for_suffix", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_c_mode_for_suffix", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5837, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "ix86_fixup_binary_operands", "(", "enum", "rtx_code", "code", ",", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ")", "{", "rtx", "dst", "=", "operands", "[", "0", "]", ";", "rtx", "src1", "=", "operands", "[", "1", "]", ";", "rtx", "src2", "=", "operands", "[", "2", "]", ";", "if", "(", "ix86_swap_binary_operands_p", "(", "code", ",", "mode", ",", "operands", ")", ")", "{", "gcc_assert", "(", "GET_MODE", "(", "src1", ")", "==", "GET_MODE", "(", "src2", ")", ")", ";", "std", "::", "swap", "(", "src1", ",", "src2", ")", ";", "}", "if", "(", "MEM_P", "(", "src1", ")", "&&", "MEM_P", "(", "src2", ")", ")", "{", "if", "(", "rtx_equal_p", "(", "src1", ",", "src2", ")", ")", "{", "src2", "=", "force_reg", "(", "mode", ",", "src2", ")", ";", "src1", "=", "src2", ";", "}", "else", "if", "(", "rtx_equal_p", "(", "dst", ",", "src1", ")", ")", "src2", "=", "force_reg", "(", "mode", ",", "src2", ")", ";", "else", "src1", "=", "force_reg", "(", "mode", ",", "src1", ")", ";", "}", "if", "(", "MEM_P", "(", "dst", ")", "&&", "!", "rtx_equal_p", "(", "dst", ",", "src1", ")", ")", "dst", "=", "gen_reg_rtx", "(", "mode", ")", ";", "if", "(", "CONSTANT_P", "(", "src1", ")", ")", "src1", "=", "force_reg", "(", "mode", ",", "src1", ")", ";", "if", "(", "MEM_P", "(", "src1", ")", "&&", "!", "rtx_equal_p", "(", "dst", ",", "src1", ")", ")", "src1", "=", "force_reg", "(", "mode", ",", "src1", ")", ";", "if", "(", "code", "==", "PLUS", "&&", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_INT", "&&", "MEM_P", "(", "src2", ")", ")", "src2", "=", "force_reg", "(", "mode", ",", "src2", ")", ";", "operands", "[", "1", "]", "=", "src1", ";", "operands", "[", "2", "]", "=", "src2", ";", "return", "dst", ";", "}", ""], "natrual_language": ["Fix", "up", "OPERANDS", "to", "satisfy", "ix86_binary_operator_ok", ".", "Return", "the", "destination", "to", "use", "for", "the", "operation", ".", "If", "different", "from", "the", "true", "destination", "in", "operands", "[", "0", "]", ",", "a", "copy", "operation", "will", "be", "required", "."], "TS_V_token": ["i386", "0", "1", "2", "1", "2"], "File": "i386-expand", "Func": "ix86_fixup_binary_operands", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5838, "Length": 249, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "X86TargetMachine", "*", "TM", "=", "static_cast", "<", "const", "X86TargetMachine", "*", ">", "(", "&", "MF", ".", "getTarget", "(", ")", ")", ";", "const", "X86RegisterInfo", "*", "X86RI", "=", "TM", "->", "getRegisterInfo", "(", ")", ";", "MachineRegisterInfo", "&", "RI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "X86MachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "unsigned", "StackAlignment", "=", "X86RI", "->", "getStackAlignment", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "RI", ".", "getNumVirtRegs", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "TargetRegisterInfo", "::", "index2VirtReg", "(", "i", ")", ";", "if", "(", "RI", ".", "getRegClass", "(", "Reg", ")", "->", "getAlignment", "(", ")", ">", "StackAlignment", ")", "{", "FuncInfo", "->", "setReserveFP", "(", "true", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "0"], "File": "X86RegisterInfo34", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5839, "Length": 137, "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": 5840, "Length": 155, "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", ")", ";", "}", "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", "0", "0", "1", "PPC", "PPC::CR2", "PPC::CR3", "PPC::CR4", "4", "4"], "File": "PPCFrameLowering75", "Func": "determineCalleeSaves", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5841, "Length": 369, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "call_ABI_of_interest", "(", "tree", "fndecl", ")", "{", "if", "(", "rs6000_gnu_attr", "&&", "symtab", "->", "state", "==", "EXPANSION", ")", "{", "struct", "cgraph_node", "*", "c_node", ";", "if", "(", "fndecl", "==", "NULL_TREE", ")", "return", "true", ";", "if", "(", "DECL_EXTERNAL", "(", "fndecl", ")", ")", "return", "true", ";", "c_node", "=", "cgraph_node", "::", "get", "(", "fndecl", ")", ";", "c_node", "=", "c_node", "->", "ultimate_alias_target", "(", ")", ";", "return", "!", "c_node", "->", "only_called_directly_p", "(", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "a", "call", "to", "function", "FNDECL", "may", "be", "one", "that", "potentially", "affects", "the", "function", "calling", "ABI", "of", "the", "object", "file", "."], "TS_V_token": ["rs6000"], "File": "rs6000-call", "Func": "call_ABI_of_interest", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5842, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "sbitmap", "aarch64_components_for_bb", "(", "basic_block", "bb", ")", "{", "bitmap", "in", "=", "DF_LIVE_IN", "(", "bb", ")", ";", "bitmap", "gen", "=", "&", "DF_LIVE_BB_INFO", "(", "bb", ")", "->", "gen", ";", "bitmap", "kill", "=", "&", "DF_LIVE_BB_INFO", "(", "bb", ")", "->", "kill", ";", "bool", "simd_function", "=", "aarch64_simd_decl_p", "(", "cfun", "->", "decl", ")", ";", "sbitmap", "components", "=", "sbitmap_alloc", "(", "LAST_SAVED_REGNUM", "+", "1", ")", ";", "bitmap_clear", "(", "components", ")", ";", "for", "(", "unsigned", "regno", "=", "0", ";", "regno", "<=", "LAST_SAVED_REGNUM", ";", "regno", "++", ")", "if", "(", "(", "!", "call_used_regs", "[", "regno", "]", "||", "(", "simd_function", "&&", "FP_SIMD_SAVED_REGNUM_P", "(", "regno", ")", ")", ")", "&&", "(", "bitmap_bit_p", "(", "in", ",", "regno", ")", "||", "bitmap_bit_p", "(", "gen", ",", "regno", ")", "||", "bitmap_bit_p", "(", "kill", ",", "regno", ")", ")", ")", "{", "unsigned", "regno2", ",", "offset", ",", "offset2", ";", "bitmap_set_bit", "(", "components", ",", "regno", ")", ";", "offset", "=", "cfun", "->", "machine", "->", "frame", ".", "reg_offset", "[", "regno", "]", ";", "regno2", "=", "(", "(", "offset", "&", "8", ")", "==", "0", ")", "?", "regno", "+", "1", ":", "regno", "-", "1", ";", "if", "(", "regno2", "<=", "LAST_SAVED_REGNUM", ")", "{", "offset2", "=", "cfun", "->", "machine", "->", "frame", ".", "reg_offset", "[", "regno2", "]", ";", "if", "(", "(", "offset", "&", "~", "8", ")", "==", "(", "offset2", "&", "~", "8", ")", ")", "bitmap_set_bit", "(", "components", ",", "regno2", ")", ";", "}", "}", "return", "components", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SHRINK_WRAP_COMPONENTS_FOR_BB", "."], "TS_V_token": ["aarch64", "1", "0", "8", "0", "1", "1", "8", "8"], "File": "aarch646", "Func": "aarch64_components_for_bb", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5843, "Length": 216, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "DLXMCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCOperand", "&", "MCOp", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "SubtargetInfo", ")", "const", "{", "if", "(", "MCOp", ".", "isReg", "(", ")", ")", "return", "getDLXRegisterNumbering", "(", "MCOp", ".", "getReg", "(", ")", ")", ";", "if", "(", "MCOp", ".", "isImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "MCOp", ".", "getImm", "(", ")", ")", ";", "assert", "(", "MCOp", ".", "isExpr", "(", ")", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MCOp", ".", "getExpr", "(", ")", ";", "if", "(", "Expr", "->", "getKind", "(", ")", "==", "MCExpr", "::", "Binary", ")", "{", "const", "MCBinaryExpr", "*", "BinaryExpr", "=", "static_cast", "<", "const", "MCBinaryExpr", "*", ">", "(", "Expr", ")", ";", "Expr", "=", "BinaryExpr", "->", "getLHS", "(", ")", ";", "}", "assert", "(", "isa", "<", "DLXMCExpr", ">", "(", "Expr", ")", "||", "Expr", "->", "getKind", "(", ")", "==", "MCExpr", "::", "SymbolRef", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "MCOp", ".", "getExpr", "(", ")", ",", "MCFixupKind", "(", "FixupKind", "(", "Expr", ")", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["DLX", "DLX", "DLX", "DLX", "0", "0"], "File": "DLXMCCodeEmitter", "Func": "getMachineOpValue", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5844, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "mips_int_mask", "mips_interrupt_mask", "(", "tree", "type", ")", "{", "tree", "attr", "=", "lookup_attribute", "(", "\"interrupt\"", ",", "TYPE_ATTRIBUTES", "(", "type", ")", ")", ";", "tree", "args", ",", "cst", ";", "const", "char", "*", "str", ";", "if", "(", "attr", "==", "NULL", ")", "return", "INT_MASK_EIC", ";", "args", "=", "TREE_VALUE", "(", "attr", ")", ";", "if", "(", "args", "==", "NULL", ")", "return", "INT_MASK_EIC", ";", "cst", "=", "TREE_VALUE", "(", "args", ")", ";", "if", "(", "strcmp", "(", "TREE_STRING_POINTER", "(", "cst", ")", ",", "\"eic\"", ")", "==", "0", ")", "return", "INT_MASK_EIC", ";", "str", "=", "TREE_STRING_POINTER", "(", "cst", ")", ";", "gcc_assert", "(", "strlen", "(", "str", ")", "==", "strlen", "(", "\"vector=sw0\"", ")", ")", ";", "if", "(", "str", "[", "7", "]", "==", "'s'", ")", "return", "(", "enum", "mips_int_mask", ")", "(", "INT_MASK_SW0", "+", "(", "str", "[", "9", "]", "-", "'0'", ")", ")", ";", "return", "(", "enum", "mips_int_mask", ")", "(", "INT_MASK_HW0", "+", "(", "str", "[", "9", "]", "-", "'0'", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "mask", "for", "the", "``", "interrupt", "''", "attribute", "."], "TS_V_token": ["mips", "\"interrupt\"", "\"eic\"", "0", "\"vector=sw0\"", "7", "9", "9"], "File": "mips", "Func": "mips_interrupt_mask", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5845, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Cpu0", "Cpu0"], "File": "Cpu0FrameLowering3", "Func": "emitPrologue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5846, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rx_is_legitimate_constant", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "CONST", ":", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "{", "if", "(", "!", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "return", "false", ";", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "gcc_assert", "(", "!", "CONST_INT_P", "(", "x", ")", ")", ";", "}", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":", "return", "true", ";", "case", "UNSPEC", ":", "return", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_CONST", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_PID_ADDR", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "break", ";", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":", "return", "true", ";", "case", "CONST_DOUBLE", ":", "return", "(", "rx_max_constant_size", "==", "0", "||", "rx_max_constant_size", "==", "4", ")", ";", "case", "CONST_VECTOR", ":", "return", "false", ";", "default", ":", "gcc_assert", "(", "CONST_INT_P", "(", "x", ")", ")", ";", "break", ";", "}", "return", "ok_for_max_constant", "(", "INTVAL", "(", "x", ")", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "X", "a", "legitimate", "constant", "for", "an", "immediate", "operand", "on", "the", "RX", ".", "X", "is", "already", "known", "to", "satisfy", "CONSTANT_P", "."], "TS_V_token": ["rx", "0", "1", "0", "1", "1", "0", "4"], "File": "rx", "Func": "rx_is_legitimate_constant", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5847, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "moxie_print_operand", "(", "FILE", "*", "file", ",", "rtx", "x", ",", "int", "code", ")", "{", "rtx", "operand", "=", "x", ";", "switch", "(", "code", ")", "{", "case", "0", ":", "break", ";", "default", ":", "LOSE_AND_RETURN", "(", "\"invalid operand modifier letter\"", ",", "x", ")", ";", "}", "switch", "(", "GET_CODE", "(", "operand", ")", ")", "{", "case", "REG", ":", "if", "(", "REGNO", "(", "operand", ")", ">", "MOXIE_R13", ")", "internal_error", "(", "\"internal error: bad register: %d\"", ",", "REGNO", "(", "operand", ")", ")", ";", "fprintf", "(", "file", ",", "\"%s\"", ",", "reg_names", "[", "REGNO", "(", "operand", ")", "]", ")", ";", "return", ";", "case", "MEM", ":", "output_address", "(", "XEXP", "(", "operand", ",", "0", ")", ")", ";", "return", ";", "default", ":", "if", "(", "CONSTANT_P", "(", "operand", ")", ")", "{", "output_addr_const", "(", "file", ",", "operand", ")", ";", "return", ";", "}", "LOSE_AND_RETURN", "(", "\"unexpected operand\"", ",", "x", ")", ";", "}", "}", ""], "natrual_language": ["The", "PRINT_OPERAND", "worker", "."], "TS_V_token": ["moxie", "0", "\"invalid operand modifier letter\"", "\"internal error: bad register: %d\"", "\"%s\"", "0", "\"unexpected operand\""], "File": "moxie2", "Func": "moxie_print_operand", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5848, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pa_trampoline_init", "(", "rtx", "m_tramp", ",", "tree", "fndecl", ",", "rtx", "chain_value", ")", "{", "rtx", "fnaddr", "=", "XEXP", "(", "DECL_RTL", "(", "fndecl", ")", ",", "0", ")", ";", "rtx", "start_addr", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "end_addr", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "line_length", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "r_tramp", ",", "tmp", ";", "emit_block_move", "(", "m_tramp", ",", "assemble_trampoline_template", "(", ")", ",", "GEN_INT", "(", "TRAMPOLINE_SIZE", ")", ",", "BLOCK_OP_NORMAL", ")", ";", "r_tramp", "=", "force_reg", "(", "Pmode", ",", "XEXP", "(", "m_tramp", ",", "0", ")", ")", ";", "if", "(", "!", "TARGET_64BIT", ")", "{", "tmp", "=", "adjust_address", "(", "m_tramp", ",", "Pmode", ",", "36", ")", ";", "emit_move_insn", "(", "tmp", ",", "fnaddr", ")", ";", "tmp", "=", "adjust_address", "(", "m_tramp", ",", "Pmode", ",", "40", ")", ";", "emit_move_insn", "(", "tmp", ",", "chain_value", ")", ";", "tmp", "=", "adjust_address", "(", "m_tramp", ",", "Pmode", ",", "44", ")", ";", "emit_move_insn", "(", "tmp", ",", "r_tramp", ")", ";", "tmp", "=", "adjust_address", "(", "m_tramp", ",", "Pmode", ",", "48", ")", ";", "emit_move_insn", "(", "tmp", ",", "gen_rtx_REG", "(", "Pmode", ",", "19", ")", ")", ";", "emit_insn", "(", "gen_andsi3", "(", "start_addr", ",", "r_tramp", ",", "GEN_INT", "(", "-", "MIN_CACHELINE_SIZE", ")", ")", ")", ";", "tmp", "=", "force_reg", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "r_tramp", ",", "TRAMPOLINE_CODE_SIZE", "-", "1", ")", ")", ";", "emit_insn", "(", "gen_andsi3", "(", "end_addr", ",", "tmp", ",", "GEN_INT", "(", "-", "MIN_CACHELINE_SIZE", ")", ")", ")", ";", "emit_move_insn", "(", "line_length", ",", "GEN_INT", "(", "MIN_CACHELINE_SIZE", ")", ")", ";", "emit_insn", "(", "gen_dcacheflushsi", "(", "start_addr", ",", "end_addr", ",", "line_length", ")", ")", ";", "emit_insn", "(", "gen_icacheflushsi", "(", "start_addr", ",", "end_addr", ",", "line_length", ",", "gen_reg_rtx", "(", "Pmode", ")", ",", "gen_reg_rtx", "(", "Pmode", ")", ")", ")", ";", "}", "else", "{", "tmp", "=", "adjust_address", "(", "m_tramp", ",", "Pmode", ",", "56", ")", ";", "emit_move_insn", "(", "tmp", ",", "fnaddr", ")", ";", "tmp", "=", "adjust_address", "(", "m_tramp", ",", "Pmode", ",", "64", ")", ";", "emit_move_insn", "(", "tmp", ",", "chain_value", ")", ";", "tmp", "=", "adjust_address", "(", "m_tramp", ",", "Pmode", ",", "16", ")", ";", "emit_move_insn", "(", "tmp", ",", "force_reg", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "r_tramp", ",", "32", ")", ")", ")", ";", "tmp", "=", "adjust_address", "(", "m_tramp", ",", "Pmode", ",", "24", ")", ";", "emit_move_insn", "(", "tmp", ",", "gen_rtx_REG", "(", "Pmode", ",", "27", ")", ")", ";", "tmp", "=", "force_reg", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "r_tramp", ",", "32", ")", ")", ";", "emit_insn", "(", "gen_anddi3", "(", "start_addr", ",", "tmp", ",", "GEN_INT", "(", "-", "MIN_CACHELINE_SIZE", ")", ")", ")", ";", "tmp", "=", "force_reg", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "tmp", ",", "TRAMPOLINE_CODE_SIZE", "-", "1", ")", ")", ";", "emit_insn", "(", "gen_anddi3", "(", "end_addr", ",", "tmp", ",", "GEN_INT", "(", "-", "MIN_CACHELINE_SIZE", ")", ")", ")", ";", "emit_move_insn", "(", "line_length", ",", "GEN_INT", "(", "MIN_CACHELINE_SIZE", ")", ")", ";", "emit_insn", "(", "gen_dcacheflushdi", "(", "start_addr", ",", "end_addr", ",", "line_length", ")", ")", ";", "emit_insn", "(", "gen_icacheflushdi", "(", "start_addr", ",", "end_addr", ",", "line_length", ",", "gen_reg_rtx", "(", "Pmode", ")", ",", "gen_reg_rtx", "(", "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", ".", "Move", "the", "function", "address", "to", "the", "trampoline", "template", "at", "offset", "36", ".", "Move", "the", "static", "chain", "value", "to", "trampoline", "template", "at", "offset", "40", ".", "Move", "the", "trampoline", "address", "to", "trampoline", "template", "at", "offset", "44", ".", "Move", "r19", "to", "trampoline", "template", "at", "offset", "48", ".", "The", "latter", "two", "words", "create", "a", "plabel", "for", "the", "indirect", "call", "to", "the", "trampoline", ".", "A", "similar", "sequence", "is", "used", "for", "the", "64-bit", "port", "but", "the", "plabel", "is", "at", "the", "beginning", "of", "the", "trampoline", ".", "Finally", ",", "the", "cache", "entries", "for", "the", "trampoline", "code", "are", "flushed", ".", "This", "is", "necessary", "to", "ensure", "that", "the", "trampoline", "instruction", "sequence", "is", "written", "to", "memory", "prior", "to", "any", "attempts", "at", "prefetching", "the", "code", "sequence", "."], "TS_V_token": ["pa", "0", "0", "36", "40", "44", "48", "19", "1", "56", "64", "16", "32", "24", "27", "32", "1"], "File": "pa4", "Func": "pa_trampoline_init", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5849, "Length": 466, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ia64_override_options", "(", ")", "{", "if", "(", "TARGET_AUTO_PIC", ")", "target_flags", "|=", "MASK_CONST_GP", ";", "if", "(", "TARGET_INLINE_DIV_LAT", "&&", "TARGET_INLINE_DIV_THR", ")", "{", "warning", "(", "\"cannot optimize division for both latency and throughput\"", ")", ";", "target_flags", "&=", "~", "MASK_INLINE_DIV_THR", ";", "}", "if", "(", "ia64_fixed_range_string", ")", "fix_range", "(", "ia64_fixed_range_string", ")", ";", "ia64_flag_schedule_insns2", "=", "flag_schedule_insns_after_reload", ";", "flag_schedule_insns_after_reload", "=", "0", ";", "ia64_section_threshold", "=", "g_switch_set", "?", "g_switch_value", ":", "IA64_DEFAULT_GVALUE", ";", "init_machine_status", "=", "ia64_init_machine_status", ";", "mark_machine_status", "=", "ia64_mark_machine_status", ";", "free_machine_status", "=", "ia64_free_machine_status", ";", "ia64_add_gc_roots", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "OVERRIDE_OPTIONS", "."], "TS_V_token": ["ia64", "\"cannot optimize division for both latency and throughput\"", "0"], "File": "ia642", "Func": "ia64_override_options", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5850, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "SDValue", "Op0", ",", "Op1", ";", "switch", "(", "ConstraintID", ")", "{", "default", ":", "return", "true", ";", "case", "InlineAsm", "::", "Constraint_i", ":", "case", "InlineAsm", "::", "Constraint_o", ":", "case", "InlineAsm", "::", "Constraint_m", ":", "if", "(", "!", "SelectADDRrr", "(", "Op", ",", "Op0", ",", "Op1", ")", ")", "SelectADDRri", "(", "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": ["Sparc", "Sparc"], "File": "SparcISelDAGToDAG (2)1", "Func": "SelectInlineAsmMemoryOperand", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5851, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "iq2000_legitimize_address", "(", "rtx", "xinsn", ",", "rtx", "old_x", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_DEBUG_B_MODE", ")", "{", "GO_PRINTF", "(", "\"\\n========== LEGITIMIZE_ADDRESS\\n\"", ")", ";", "GO_DEBUG_RTX", "(", "xinsn", ")", ";", "}", "if", "(", "iq2000_check_split", "(", "xinsn", ",", "mode", ")", ")", "{", "return", "gen_rtx_LO_SUM", "(", "Pmode", ",", "copy_to_mode_reg", "(", "Pmode", ",", "gen_rtx_HIGH", "(", "Pmode", ",", "xinsn", ")", ")", ",", "xinsn", ")", ";", "}", "if", "(", "GET_CODE", "(", "xinsn", ")", "==", "PLUS", ")", "{", "rtx", "xplus0", "=", "XEXP", "(", "xinsn", ",", "0", ")", ";", "rtx", "xplus1", "=", "XEXP", "(", "xinsn", ",", "1", ")", ";", "enum", "rtx_code", "code0", "=", "GET_CODE", "(", "xplus0", ")", ";", "enum", "rtx_code", "code1", "=", "GET_CODE", "(", "xplus1", ")", ";", "if", "(", "code0", "!=", "REG", "&&", "code1", "==", "REG", ")", "{", "xplus0", "=", "XEXP", "(", "xinsn", ",", "1", ")", ";", "xplus1", "=", "XEXP", "(", "xinsn", ",", "0", ")", ";", "code0", "=", "GET_CODE", "(", "xplus0", ")", ";", "code1", "=", "GET_CODE", "(", "xplus1", ")", ";", "}", "if", "(", "code0", "==", "REG", "&&", "REG_MODE_OK_FOR_BASE_P", "(", "xplus0", ",", "mode", ")", "&&", "code1", "==", "CONST_INT", "&&", "!", "SMALL_INT", "(", "xplus1", ")", ")", "{", "rtx", "int_reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "ptr_reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_move_insn", "(", "int_reg", ",", "GEN_INT", "(", "INTVAL", "(", "xplus1", ")", "&", "~", "0x7fff", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "ptr_reg", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "xplus0", ",", "int_reg", ")", ")", ")", ";", "return", "plus_constant", "(", "Pmode", ",", "ptr_reg", ",", "INTVAL", "(", "xplus1", ")", "&", "0x7fff", ")", ";", "}", "}", "if", "(", "TARGET_DEBUG_B_MODE", ")", "GO_PRINTF", "(", "\"LEGITIMIZE_ADDRESS could not fix.\\n\"", ")", ";", "return", "xinsn", ";", "}", ""], "natrual_language": ["For", "the", "IQ2000", ",", "transform", ":", "memory", "(", "X", "+", "<", "large", "int", ">", ")", "into", ":", "Y", "=", "<", "large", "int", ">", "&", "~0x7fff", ";", "Z", "=", "X", "+", "Y", "memory", "(", "Z", "+", "(", "<", "large", "int", ">", "&", "0x7fff", ")", ")", ";"], "TS_V_token": ["iq2000", "\"\\n========== LEGITIMIZE_ADDRESS\\n\"", "0", "1", "1", "0", "0x7fff", "0x7fff", "\"LEGITIMIZE_ADDRESS could not fix.\\n\""], "File": "iq2000", "Func": "iq2000_legitimize_address", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5852, "Length": 256, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMExpandPseudo", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "TII", "=", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "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": "ARMExpandPseudoInsts79", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5853, "Length": 67, "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", "(", "mode", ")", ";", "emit_insn", "(", "gen_iwmmxt_clrdi", "(", "mode", "==", "DImode", "?", "x", ":", "gen_rtx_SUBREG", "(", "DImode", ",", "x", ",", "0", ")", ")", ")", ";", "return", "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": ["arm", "0"], "File": "arm-builtins", "Func": "safe_vector_operand", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5854, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "const", "MCObjectFileInfo", "::", "Environment", "Format", "=", "getContext", "(", ")", ".", "getObjectFileInfo", "(", ")", "->", "getObjectFileType", "(", ")", ";", "bool", "IsMachO", "=", "Format", "==", "MCObjectFileInfo", "::", "IsMachO", ";", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "SMLoc", "Loc", "=", "DirectiveID", ".", "getLoc", "(", ")", ";", "if", "(", "IDVal", "==", "\".arch\"", ")", "parseDirectiveArch", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".cpu\"", ")", "parseDirectiveCPU", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".tlsdesccall\"", ")", "parseDirectiveTLSDescCall", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".ltorg\"", "||", "IDVal", "==", "\".pool\"", ")", "parseDirectiveLtorg", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".unreq\"", ")", "parseDirectiveUnreq", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".inst\"", ")", "parseDirectiveInst", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".cfi_negate_ra_state\"", ")", "parseDirectiveCFINegateRAState", "(", ")", ";", "else", "if", "(", "IDVal", "==", "\".cfi_b_key_frame\"", ")", "parseDirectiveCFIBKeyFrame", "(", ")", ";", "else", "if", "(", "IsMachO", ")", "{", "if", "(", "IDVal", "==", "MCLOHDirectiveName", "(", ")", ")", "parseDirectiveLOH", "(", "IDVal", ",", "Loc", ")", ";", "else", "return", "true", ";", "}", "else", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["AArch64", "AArch64", "\".arch\"", "\".cpu\"", "\".tlsdesccall\"", "\".ltorg\"", "\".pool\"", "\".unreq\"", "\".inst\"", "\".cfi_negate_ra_state\"", "\".cfi_b_key_frame\""], "File": "AArch64AsmParser87", "Func": "ParseDirective", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5855, "Length": 185, "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": 5856, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "ClobbersPredicate", "(", "MachineInstr", "&", "MI", ",", "std", "::", "vector", "<", "MachineOperand", ">", "&", "Pred", ",", "bool", "SkipDead", ")", "const", "{", "const", "TargetRegisterClass", "*", "RCs", "[", "]", "=", "{", "&", "PPC", "::", "CRRCRegClass", ",", "&", "PPC", "::", "CRBITRCRegClass", ",", "&", "PPC", "::", "CTRRCRegClass", ",", "&", "PPC", "::", "CTRRC8RegClass", "}", ";", "bool", "Found", "=", "false", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "MI", ".", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "i", ")", ";", "for", "(", "unsigned", "c", "=", "0", ";", "c", "<", "array_lengthof", "(", "RCs", ")", "&&", "!", "Found", ";", "++", "c", ")", "{", "const", "TargetRegisterClass", "*", "RC", "=", "RCs", "[", "c", "]", ";", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "if", "(", "MO", ".", "isDef", "(", ")", "&&", "RC", "->", "contains", "(", "MO", ".", "getReg", "(", ")", ")", ")", "{", "Pred", ".", "push_back", "(", "MO", ")", ";", "Found", "=", "true", ";", "}", "}", "else", "if", "(", "MO", ".", "isRegMask", "(", ")", ")", "{", "for", "(", "TargetRegisterClass", "::", "iterator", "I", "=", "RC", "->", "begin", "(", ")", ",", "IE", "=", "RC", "->", "end", "(", ")", ";", "I", "!=", "IE", ";", "++", "I", ")", "if", "(", "MO", ".", "clobbersPhysReg", "(", "*", "I", ")", ")", "{", "Pred", ".", "push_back", "(", "MO", ")", ";", "Found", "=", "true", ";", "}", "}", "}", "}", "return", "Found", ";", "}", ""], "natrual_language": ["If", "the", "specified", "instruction", "defines", "any", "predicate", "or", "condition", "code", "register", "(", "s", ")", "used", "for", "predication", ",", "returns", "true", "as", "well", "as", "the", "definition", "predicate", "(", "s", ")", "by", "reference", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::CRRCRegClass", "PPC::CRBITRCRegClass", "PPC::CTRRCRegClass", "PPC::CTRRC8RegClass", "0", "0"], "File": "PPCInstrInfo", "Func": "ClobbersPredicate", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5857, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_debug_legitimize_reload_address", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "int", "opnum", ",", "int", "type", ",", "int", "ind_levels", ",", "int", "*", "win", ")", "{", "rtx", "ret", "=", "rs6000_legitimize_reload_address", "(", "x", ",", "mode", ",", "opnum", ",", "type", ",", "ind_levels", ",", "win", ")", ";", "fprintf", "(", "stderr", ",", "\"\\nrs6000_legitimize_reload_address: mode = %s, opnum = %d, \"", "\"type = %d, ind_levels = %d, win = %d, original addr:\\n\"", ",", "GET_MODE_NAME", "(", "mode", ")", ",", "opnum", ",", "type", ",", "ind_levels", ",", "*", "win", ")", ";", "debug_rtx", "(", "x", ")", ";", "if", "(", "x", "==", "ret", ")", "fprintf", "(", "stderr", ",", "\"Same address returned\\n\"", ")", ";", "else", "if", "(", "!", "ret", ")", "fprintf", "(", "stderr", ",", "\"NULL returned\\n\"", ")", ";", "else", "{", "fprintf", "(", "stderr", ",", "\"New address:\\n\"", ")", ";", "debug_rtx", "(", "ret", ")", ";", "}", "return", "ret", ";", "}", ""], "natrual_language": ["Debug", "version", "of", "rs6000_legitimize_reload_address", "."], "TS_V_token": ["powerpcspe", "\"\\nrs6000_legitimize_reload_address: mode = %s, opnum = %d, \"", "\"type = %d, ind_levels = %d, win = %d, original addr:\\n\"", "\"Same address returned\\n\"", "\"NULL returned\\n\"", "\"New address:\\n\""], "File": "powerpcspe", "Func": "rs6000_debug_legitimize_reload_address", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5858, "Length": 114, "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_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_zip1", "Intrinsic::aarch64_sve_zip2"], "File": "AArch64TargetTransformInfo54", "Func": "instCombineIntrinsic", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5859, "Length": 292, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "dimode_scalar_to_vector_candidate_p", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "def_set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "!", "def_set", ")", "return", "false", ";", "if", "(", "has_non_address_hard_reg", "(", "insn", ")", ")", "return", "false", ";", "rtx", "src", "=", "SET_SRC", "(", "def_set", ")", ";", "rtx", "dst", "=", "SET_DEST", "(", "def_set", ")", ";", "if", "(", "GET_CODE", "(", "src", ")", "==", "COMPARE", ")", "return", "convertible_comparison_p", "(", "insn", ")", ";", "if", "(", "(", "GET_MODE", "(", "src", ")", "!=", "DImode", "&&", "!", "CONST_INT_P", "(", "src", ")", ")", "||", "GET_MODE", "(", "dst", ")", "!=", "DImode", ")", "return", "false", ";", "if", "(", "!", "REG_P", "(", "dst", ")", "&&", "!", "MEM_P", "(", "dst", ")", ")", "return", "false", ";", "switch", "(", "GET_CODE", "(", "src", ")", ")", "{", "case", "ASHIFT", ":", "case", "LSHIFTRT", ":", "if", "(", "!", "CONST_INT_P", "(", "XEXP", "(", "src", ",", "1", ")", ")", "||", "!", "IN_RANGE", "(", "INTVAL", "(", "XEXP", "(", "src", ",", "1", ")", ")", ",", "0", ",", "63", ")", ")", "return", "false", ";", "break", ";", "case", "PLUS", ":", "case", "MINUS", ":", "case", "IOR", ":", "case", "XOR", ":", "case", "AND", ":", "if", "(", "!", "REG_P", "(", "XEXP", "(", "src", ",", "1", ")", ")", "&&", "!", "MEM_P", "(", "XEXP", "(", "src", ",", "1", ")", ")", "&&", "!", "CONST_INT_P", "(", "XEXP", "(", "src", ",", "1", ")", ")", ")", "return", "false", ";", "break", ";", "case", "NEG", ":", "case", "NOT", ":", "break", ";", "case", "REG", ":", "return", "true", ";", "case", "MEM", ":", "case", "CONST_INT", ":", "return", "REG_P", "(", "dst", ")", ";", "default", ":", "return", "false", ";", "}", "if", "(", "!", "REG_P", "(", "XEXP", "(", "src", ",", "0", ")", ")", "&&", "!", "MEM_P", "(", "XEXP", "(", "src", ",", "0", ")", ")", "&&", "!", "CONST_INT_P", "(", "XEXP", "(", "src", ",", "0", ")", ")", "&&", "(", "GET_CODE", "(", "src", ")", "!=", "AND", "||", "GET_CODE", "(", "XEXP", "(", "src", ",", "0", ")", ")", "!=", "NOT", "||", "!", "REG_P", "(", "XEXP", "(", "XEXP", "(", "src", ",", "0", ")", ",", "0", ")", ")", ")", ")", "return", "false", ";", "if", "(", "(", "GET_MODE", "(", "XEXP", "(", "src", ",", "0", ")", ")", "!=", "DImode", "&&", "!", "CONST_INT_P", "(", "XEXP", "(", "src", ",", "0", ")", ")", ")", "||", "(", "GET_CODE", "(", "src", ")", "!=", "NEG", "&&", "GET_CODE", "(", "src", ")", "!=", "NOT", "&&", "GET_MODE", "(", "XEXP", "(", "src", ",", "1", ")", ")", "!=", "DImode", "&&", "!", "CONST_INT_P", "(", "XEXP", "(", "src", ",", "1", ")", ")", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["The", "DImode", "version", "of", "scalar_to_vector_candidate_p", "."], "TS_V_token": ["i386", "1", "1", "0", "63", "1", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1"], "File": "i3866", "Func": "dimode_scalar_to_vector_candidate_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5860, "Length": 395, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "canSimplifyCallFramePseudos", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "X86RegisterInfo", "*", "TRI", "=", "static_cast", "<", "const", "X86RegisterInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "return", "hasReservedCallFrame", "(", "MF", ")", "||", "(", "hasFP", "(", "MF", ")", "&&", "!", "TRI", "->", "needsStackRealignment", "(", "MF", ")", ")", "||", "TRI", "->", "hasBasePointer", "(", "MF", ")", ";", "}", ""], "natrual_language": ["canSimplifyCallFramePseudos", "-", "If", "there", "is", "a", "reserved", "call", "frame", ",", "the", "call", "frame", "pseudos", "can", "be", "simplified", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86FrameLowering109", "Func": "canSimplifyCallFramePseudos", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5861, "Length": 64, "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", "->", "getFnAttributes", "(", ")", ".", "hasNoImplicitFloatAttr", "(", ")", "&&", "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": "ARMISelLowering139", "Func": "getOptimalMemOpType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5862, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "getRegSequenceLikeInputs", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "DefIdx", ",", "SmallVectorImpl", "<", "RegSubRegPairAndIdx", ">", "&", "InputRegs", ")", "const", "{", "assert", "(", "DefIdx", "<", "MI", ".", "getDesc", "(", ")", ".", "getNumDefs", "(", ")", "&&", "\"Invalid definition index\"", ")", ";", "assert", "(", "MI", ".", "isRegSequenceLike", "(", ")", "&&", "\"Invalid kind of instruction\"", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "ARM", "::", "VMOVDRR", ":", "const", "MachineOperand", "*", "MOReg", "=", "&", "MI", ".", "getOperand", "(", "1", ")", ";", "if", "(", "!", "MOReg", "->", "isUndef", "(", ")", ")", "InputRegs", ".", "push_back", "(", "RegSubRegPairAndIdx", "(", "MOReg", "->", "getReg", "(", ")", ",", "MOReg", "->", "getSubReg", "(", ")", ",", "ARM", "::", "ssub_0", ")", ")", ";", "MOReg", "=", "&", "MI", ".", "getOperand", "(", "2", ")", ";", "if", "(", "!", "MOReg", "->", "isUndef", "(", ")", ")", "InputRegs", ".", "push_back", "(", "RegSubRegPairAndIdx", "(", "MOReg", "->", "getReg", "(", ")", ",", "MOReg", "->", "getSubReg", "(", ")", ",", "ARM", "::", "ssub_1", ")", ")", ";", "return", "true", ";", "}", "llvm_unreachable", "(", "\"Target dependent opcode missing\"", ")", ";", "}", ""], "natrual_language": ["Target-dependent", "implementation", "of", "getRegSequenceInputs", "."], "TS_V_token": ["ARM", "ARM", "\"Invalid definition index\"", "\"Invalid kind of instruction\"", "ARM::VMOVDRR", "1", "ARM::ssub_0", "2", "ARM::ssub_1", "\"Target dependent opcode missing\""], "File": "ARMBaseInstrInfo1", "Func": "getRegSequenceLikeInputs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5863, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMLoc", "getLoc", "(", ")", "const", "{", "return", "getParser", "(", ")", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "}", ""], "natrual_language": ["Get", "the", "source", "location", "of", "the", "point", "where", "the", "field", "was", "defined", "."], "TS_V_token": ["LoongArch"], "File": "LoongArchAsmParser", "Func": "getLoc", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5864, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_pad_arg_upward", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "if", "(", "!", "BYTES_BIG_ENDIAN", ")", "return", "true", ";", "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", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["For", "use", "by", "FUNCTION_ARG_PADDING", "(", "MODE", ",", "TYPE", ")", ".", "Return", "true", "if", "an", "argument", "passed", "on", "the", "stack", "should", "be", "padded", "upwards", ",", "i.e", ".", "if", "the", "least-significant", "byte", "of", "the", "stack", "slot", "has", "useful", "data", ".", "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": "aarch642", "Func": "aarch64_pad_arg_upward", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5865, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "v2df_reduction_p", "(", "rtx", "op", ")", "{", "if", "(", "GET_MODE", "(", "op", ")", "!=", "V2DFmode", ")", "return", "false", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "op", ")", ";", "if", "(", "code", "!=", "PLUS", "&&", "code", "!=", "SMIN", "&&", "code", "!=", "SMAX", ")", "return", "false", ";", "rtx", "concat", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "concat", ")", "!=", "VEC_CONCAT", ")", "return", "false", ";", "rtx", "select0", "=", "XEXP", "(", "concat", ",", "0", ")", ";", "rtx", "select1", "=", "XEXP", "(", "concat", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "select0", ")", "!=", "VEC_SELECT", "||", "GET_CODE", "(", "select1", ")", "!=", "VEC_SELECT", ")", "return", "false", ";", "rtx", "reg0", "=", "XEXP", "(", "select0", ",", "0", ")", ";", "rtx", "reg1", "=", "XEXP", "(", "select1", ",", "0", ")", ";", "if", "(", "!", "rtx_equal_p", "(", "reg0", ",", "reg1", ")", "||", "!", "REG_P", "(", "reg0", ")", ")", "return", "false", ";", "rtx", "parallel0", "=", "XEXP", "(", "select0", ",", "1", ")", ";", "rtx", "parallel1", "=", "XEXP", "(", "select1", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "parallel0", ")", "!=", "PARALLEL", "||", "GET_CODE", "(", "parallel1", ")", "!=", "PARALLEL", ")", "return", "false", ";", "if", "(", "!", "rtx_equal_p", "(", "XVECEXP", "(", "parallel0", ",", "0", ",", "0", ")", ",", "const1_rtx", ")", "||", "!", "rtx_equal_p", "(", "XVECEXP", "(", "parallel1", ",", "0", ",", "0", ")", ",", "const0_rtx", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "TRUE", "iff", "OP", "matches", "a", "V2DF", "reduction", "pattern", ".", "See", "the", "definition", "of", "vsx_reduc_", "<", "VEC_reduc_name", ">", "_v2df", "in", "vsx.md", "."], "TS_V_token": ["rs6000", "0", "0", "1", "0", "0", "1", "1", "0", "0", "0", "0"], "File": "rs6000-p8swap", "Func": "v2df_reduction_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5866, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", ">=", "CodeGenOpt", "::", "Aggressive", "&&", "EnableLoadStoreOpt", ")", "addPass", "(", "createAArch64LoadStoreOptimizationPass", "(", ")", ")", ";", "if", "(", "EnableA53Fix835769", ")", "addPass", "(", "createAArch64A53Fix835769", "(", ")", ")", ";", "if", "(", "BranchRelaxation", ")", "addPass", "(", "&", "BranchRelaxationPassID", ")", ";", "if", "(", "EnableBranchTargets", ")", "addPass", "(", "createAArch64BranchTargetsPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getTargetTriple", "(", ")", ".", "isOSWindows", "(", ")", ")", "addPass", "(", "createCFGuardLongjmpPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableCompressJumpTables", ")", "addPass", "(", "createAArch64CompressJumpTablesPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableCollectLOH", "&&", "TM", "->", "getTargetTriple", "(", ")", ".", "isOSBinFormatMachO", "(", ")", ")", "addPass", "(", "createAArch64CollectLOHPass", "(", ")", ")", ";", "}", ""], "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", "AArch64", "AArch64"], "File": "AArch64TargetMachine15", "Func": "addPreEmitPass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5867, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "XNCMTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "XNCMPassConfig", "(", "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": ["XNCM", "XNCM", "XNCM"], "File": "XNCMTargetMachine", "Func": "createPassConfig", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5868, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "findDeadCallerSavedReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "const", "TargetRegisterInfo", "&", "TRI", ",", "bool", "Is64Bit", ")", "{", "const", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "Function", "*", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "if", "(", "!", "F", "||", "MF", "->", "getMMI", "(", ")", ".", "callsEHReturn", "(", ")", ")", "return", "0", ";", "static", "const", "unsigned", "CallerSavedRegs32Bit", "[", "]", "=", "{", "X86", "::", "EAX", ",", "X86", "::", "EDX", ",", "X86", "::", "ECX", ",", "0", "}", ";", "static", "const", "unsigned", "CallerSavedRegs64Bit", "[", "]", "=", "{", "X86", "::", "RAX", ",", "X86", "::", "RDX", ",", "X86", "::", "RCX", ",", "X86", "::", "RSI", ",", "X86", "::", "RDI", ",", "X86", "::", "R8", ",", "X86", "::", "R9", ",", "X86", "::", "R10", ",", "X86", "::", "R11", ",", "0", "}", ";", "unsigned", "Opc", "=", "MBBI", "->", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "default", ":", "return", "0", ";", "case", "X86", "::", "RET", ":", "case", "X86", "::", "RETI", ":", "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", "<", "unsigned", ",", "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", "(", "const", "unsigned", "*", "AsI", "=", "TRI", ".", "getOverlaps", "(", "Reg", ")", ";", "*", "AsI", ";", "++", "AsI", ")", "Uses", ".", "insert", "(", "*", "AsI", ")", ";", "}", "const", "unsigned", "*", "CS", "=", "Is64Bit", "?", "CallerSavedRegs64Bit", ":", "CallerSavedRegs32Bit", ";", "for", "(", ";", "*", "CS", ";", "++", "CS", ")", "if", "(", "!", "Uses", ".", "count", "(", "*", "CS", ")", ")", "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", "0", "X86::EAX", "X86::EDX", "X86::ECX", "0", "X86::RAX", "X86::RDX", "X86::RCX", "X86::RSI", "X86::RDI", "X86::R8", "X86::R9", "X86::R10", "X86::R11", "0", "0", "X86::RET", "X86::RETI", "X86::TCRETURNdi", "X86::TCRETURNri", "X86::TCRETURNmi", "X86::TCRETURNdi64", "X86::TCRETURNri64", "X86::TCRETURNmi64", "X86::EH_RETURN", "X86::EH_RETURN64", "8", "0", "0"], "File": "X86FrameLowering113", "Func": "findDeadCallerSavedReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5869, "Length": 348, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "nds32_check_isr_attrs_conflict", "(", "tree", "func_decl", ",", "tree", "func_attrs", ")", "{", "int", "save_all_p", ",", "partial_save_p", ";", "int", "nested_p", ",", "not_nested_p", ",", "nested_ready_p", ",", "critical_p", ";", "int", "intr_p", ",", "excp_p", ",", "reset_p", ";", "save_all_p", "=", "partial_save_p", "=", "0", ";", "nested_p", "=", "not_nested_p", "=", "nested_ready_p", "=", "critical_p", "=", "0", ";", "intr_p", "=", "excp_p", "=", "reset_p", "=", "0", ";", "if", "(", "lookup_attribute", "(", "\"save_all\"", ",", "func_attrs", ")", ")", "save_all_p", "=", "1", ";", "if", "(", "lookup_attribute", "(", "\"partial_save\"", ",", "func_attrs", ")", ")", "partial_save_p", "=", "1", ";", "if", "(", "(", "save_all_p", "+", "partial_save_p", ")", ">", "1", ")", "error", "(", "\"multiple save register attributes to function %qD\"", ",", "func_decl", ")", ";", "if", "(", "lookup_attribute", "(", "\"nested\"", ",", "func_attrs", ")", ")", "nested_p", "=", "1", ";", "if", "(", "lookup_attribute", "(", "\"not_nested\"", ",", "func_attrs", ")", ")", "not_nested_p", "=", "1", ";", "if", "(", "lookup_attribute", "(", "\"nested_ready\"", ",", "func_attrs", ")", ")", "nested_ready_p", "=", "1", ";", "if", "(", "lookup_attribute", "(", "\"critical\"", ",", "func_attrs", ")", ")", "critical_p", "=", "1", ";", "if", "(", "(", "nested_p", "+", "not_nested_p", "+", "nested_ready_p", "+", "critical_p", ")", ">", "1", ")", "error", "(", "\"multiple nested types attributes to function %qD\"", ",", "func_decl", ")", ";", "if", "(", "lookup_attribute", "(", "\"interrupt\"", ",", "func_attrs", ")", ")", "intr_p", "=", "1", ";", "if", "(", "lookup_attribute", "(", "\"exception\"", ",", "func_attrs", ")", ")", "excp_p", "=", "1", ";", "if", "(", "lookup_attribute", "(", "\"reset\"", ",", "func_attrs", ")", ")", "reset_p", "=", "1", ";", "if", "(", "(", "intr_p", "+", "excp_p", "+", "reset_p", ")", ">", "1", ")", "error", "(", "\"multiple interrupt attributes to function %qD\"", ",", "func_decl", ")", ";", "if", "(", "TARGET_LINUX_ABI", "&&", "intr_p", ")", "error", "(", "\"cannot use interrupt attributes to function %qD \"", "\"under linux toolchain\"", ",", "func_decl", ")", ";", "if", "(", "TARGET_LINUX_ABI", "&&", "excp_p", ")", "error", "(", "\"cannot use exception attributes to function %qD \"", "\"under linux toolchain\"", ",", "func_decl", ")", ";", "if", "(", "TARGET_LINUX_ABI", "&&", "reset_p", ")", "error", "(", "\"cannot use reset attributes to function %qD \"", "\"under linux toolchain\"", ",", "func_decl", ")", ";", "}", ""], "natrual_language": ["Function", "for", "nds32_merge_decl_attributes", "(", ")", "and", "nds32_insert_attributes", "(", ")", "to", "check", "if", "there", "are", "any", "conflict", "isr-specific", "attributes", "being", "set", ".", "We", "need", "to", "check", ":", "1", ".", "Only", "'save_all", "'", "or", "'partial_save", "'", "in", "the", "attributes", ".", "2", ".", "Only", "'nested", "'", ",", "'not_nested", "'", ",", "or", "'nested_ready", "'", "in", "the", "attributes", ".", "3", ".", "Only", "'interrupt", "'", ",", "'exception", "'", ",", "or", "'reset", "'", "in", "the", "attributes", "."], "TS_V_token": ["nds32", "0", "0", "0", "\"save_all\"", "1", "\"partial_save\"", "1", "1", "\"multiple save register attributes to function %qD\"", "\"nested\"", "1", "\"not_nested\"", "1", "\"nested_ready\"", "1", "\"critical\"", "1", "1", "\"multiple nested types attributes to function %qD\"", "\"interrupt\"", "1", "\"exception\"", "1", "\"reset\"", "1", "1", "\"multiple interrupt attributes to function %qD\"", "\"cannot use interrupt attributes to function %qD \"", "\"under linux toolchain\"", "\"cannot use exception attributes to function %qD \"", "\"under linux toolchain\"", "\"cannot use reset attributes to function %qD \"", "\"under linux toolchain\""], "File": "nds32-isr", "Func": "nds32_check_isr_attrs_conflict", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5870, "Length": 272, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCPassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createPPCEarlyReturnPass", "(", ")", ")", ";", "addPass", "(", "createPPCBranchSelectionPass", "(", ")", ")", ";", "return", "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"], "File": "PPCTargetMachine (2)", "Func": "addPreEmitPass", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5871, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["Mips"], "File": "MipsOptimizePICCall13", "Func": "getAnalysisUsage", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5872, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_run_selftests", "(", "void", ")", "{", "ix86_test_dumping_hard_regs", "(", ")", ";", "ix86_test_dumping_memory_blockage", "(", ")", ";", "ix86_test_loading_dump_fragment_1", "(", ")", ";", "ix86_test_loading_call_insn", "(", ")", ";", "ix86_test_loading_full_dump", "(", ")", ";", "ix86_test_loading_unspec", "(", ")", ";", "}", ""], "natrual_language": ["Run", "all", "target-specific", "selftests", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_run_selftests", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5873, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86DAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "OptForSize", "=", "MF", "->", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "OptimizeForSize", ")", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "I", "++", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "(", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", "&&", "!", "Subtarget", "->", "callRegIndirect", "(", ")", ")", "||", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "TC_RETURN", "&&", "(", "Subtarget", "->", "is64Bit", "(", ")", "||", "getTargetMachine", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", ")", ")", ")", ")", "{", "bool", "HasCallSeq", "=", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", ";", "SDValue", "Chain", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Load", "=", "N", "->", "getOperand", "(", "1", ")", ";", "if", "(", "!", "isCalleeLoad", "(", "Load", ",", "Chain", ",", "HasCallSeq", ")", ")", "continue", ";", "MoveBelowOrigChain", "(", "CurDAG", ",", "Load", ",", "SDValue", "(", "N", ",", "0", ")", ",", "Chain", ")", ";", "++", "NumLoadMoved", ";", "continue", ";", "}", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_ROUND", "&&", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "MVT", "SrcVT", "=", "N", "->", "getOperand", "(", "0", ")", ".", "getSimpleValueType", "(", ")", ";", "MVT", "DstVT", "=", "N", "->", "getSimpleValueType", "(", "0", ")", ";", "if", "(", "SrcVT", ".", "isVector", "(", ")", "||", "DstVT", ".", "isVector", "(", ")", ")", "continue", ";", "const", "X86TargetLowering", "*", "X86Lowering", "=", "static_cast", "<", "const", "X86TargetLowering", "*", ">", "(", "getTargetLowering", "(", ")", ")", ";", "bool", "SrcIsSSE", "=", "X86Lowering", "->", "isScalarFPTypeInSSEReg", "(", "SrcVT", ")", ";", "bool", "DstIsSSE", "=", "X86Lowering", "->", "isScalarFPTypeInSSEReg", "(", "DstVT", ")", ";", "if", "(", "SrcIsSSE", "&&", "DstIsSSE", ")", "continue", ";", "if", "(", "!", "SrcIsSSE", "&&", "!", "DstIsSSE", ")", "{", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "if", "(", "N", "->", "getConstantOperandVal", "(", "1", ")", ")", "continue", ";", "}", "MVT", "MemVT", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_ROUND", ")", "MemVT", "=", "DstVT", ";", "else", "MemVT", "=", "SrcIsSSE", "?", "SrcVT", ":", "DstVT", ";", "SDValue", "MemTmp", "=", "CurDAG", "->", "CreateStackTemporary", "(", "MemVT", ")", ";", "SDLoc", "dl", "(", "N", ")", ";", "SDValue", "Store", "=", "CurDAG", "->", "getTruncStore", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "dl", ",", "N", "->", "getOperand", "(", "0", ")", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "SDValue", "Result", "=", "CurDAG", "->", "getExtLoad", "(", "ISD", "::", "EXTLOAD", ",", "dl", ",", "DstVT", ",", "Store", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "false", ",", "0", ")", ";", "--", "I", ";", "CurDAG", "->", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "0", ")", ",", "Result", ")", ";", "++", "I", ";", "CurDAG", "->", "DeleteNode", "(", "N", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["X86", "X86", "X86ISD::CALL", "X86ISD::TC_RETURN", "X86ISD::CALL", "0", "1", "0", "ISD::FP_ROUND", "ISD::FP_EXTEND", "0", "0", "X86", "X86", "X86", "X86", "X86", "ISD::FP_EXTEND", "1", "ISD::FP_ROUND", "0", "0", "ISD::EXTLOAD", "0", "0"], "File": "X86ISelDAGToDAG124", "Func": "PreprocessISelDAG", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5874, "Length": 483, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_restore_gp", "(", "void", ")", "{", "rtx", "address", ",", "slot", ";", "gcc_assert", "(", "TARGET_ABICALLS", "&&", "TARGET_OLDABI", ")", ";", "address", "=", "mips_add_offset", "(", "pic_offset_table_rtx", ",", "frame_pointer_needed", "?", "hard_frame_pointer_rtx", ":", "stack_pointer_rtx", ",", "current_function_outgoing_args_size", ")", ";", "slot", "=", "gen_rtx_MEM", "(", "Pmode", ",", "address", ")", ";", "emit_move_insn", "(", "pic_offset_table_rtx", ",", "slot", ")", ";", "if", "(", "!", "TARGET_EXPLICIT_RELOCS", ")", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", ""], "natrual_language": ["Restore", "$", "gp", "from", "its", "save", "slot", ".", "Valid", "only", "when", "using", "o32", "or", "o64", "abicalls", "."], "TS_V_token": ["mips"], "File": "mips3", "Func": "mips_restore_gp", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5875, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "arm_mve_type_for_scalar_type", "(", "tree", "eltype", ")", "{", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "__TYPE_FINAL", ";", "++", "i", ")", "if", "(", "arm_simd_types", "[", "i", "]", ".", "eltype", "==", "eltype", "&&", "GET_MODE_SIZE", "(", "arm_simd_types", "[", "i", "]", ".", "mode", ")", "==", "16", ")", "return", "arm_simd_types", "[", "i", "]", ".", "itype", ";", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "MVE", "abi", "type", "with", "element", "of", "type", "TYPE", "."], "TS_V_token": ["arm", "0", "16"], "File": "arm-mve-builtins", "Func": "arm_mve_type_for_scalar_type", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5876, "Length": 59, "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": 5877, "Length": 288, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SICPassConfig", "::", "addPreEmitPass", "(", ")", "{", "SICTargetMachine", "&", "TM", "=", "getSICTargetMachine", "(", ")", ";", "addPass", "(", "createSICDelJmpPass", "(", "TM", ")", ")", ";", "return", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["SIC", "SIC", "SIC", "SIC", "SIC"], "File": "SICTargetMachine", "Func": "addPreEmitPass", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5878, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "ARM64Subtarget", "::", "ClassifyGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "const", "TargetMachine", "&", "TM", ")", "const", "{", "bool", "isDecl", "=", "GV", "->", "hasAvailableExternallyLinkage", "(", ")", ";", "if", "(", "GV", "->", "isDeclaration", "(", ")", "&&", "!", "GV", "->", "isMaterializable", "(", ")", ")", "isDecl", "=", "true", ";", "if", "(", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", "&&", "isTargetMachO", "(", ")", ")", "return", "ARM64II", "::", "MO_GOT", ";", "if", "(", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Small", "&&", "GV", "->", "isWeakForLinker", "(", ")", "&&", "isDecl", ")", "return", "ARM64II", "::", "MO_GOT", ";", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Static", "&&", "GV", "->", "hasDefaultVisibility", "(", ")", ")", "{", "if", "(", "isTargetMachO", "(", ")", ")", "return", "(", "isDecl", "||", "GV", "->", "isWeakForLinker", "(", ")", ")", "?", "ARM64II", "::", "MO_GOT", ":", "ARM64II", "::", "MO_NO_FLAG", ";", "else", "return", "GV", "->", "hasLocalLinkage", "(", ")", "?", "ARM64II", "::", "MO_NO_FLAG", ":", "ARM64II", "::", "MO_GOT", ";", "}", "return", "ARM64II", "::", "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": ["ARM64", "ARM64", "ARM64II::MO_GOT", "ARM64II::MO_GOT", "ARM64II::MO_GOT", "ARM64II::MO_NO_FLAG", "ARM64II::MO_NO_FLAG", "ARM64II::MO_GOT", "ARM64II::MO_NO_FLAG"], "File": "ARM64Subtarget", "Func": "ClassifyGlobalReference", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5879, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "MINA32FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "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": ["MINA32", "MINA32"], "File": "MINA32FrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5880, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "index_term_p", "(", "rtx", "prod", ",", "enum", "machine_mode", "mode", ",", "int", "strict", ")", "{", "rtx", "xfoo0", ",", "xfoo1", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "1", ")", "return", "BASE_REGISTER_P", "(", "prod", ",", "strict", ")", ";", "if", "(", "GET_CODE", "(", "prod", ")", "!=", "MULT", "||", "GET_MODE_SIZE", "(", "mode", ")", ">", "8", ")", "return", "0", ";", "xfoo0", "=", "XEXP", "(", "prod", ",", "0", ")", ";", "xfoo1", "=", "XEXP", "(", "prod", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "xfoo0", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "xfoo0", ")", "==", "(", "int", ")", "GET_MODE_SIZE", "(", "mode", ")", "&&", "INDEX_REGISTER_P", "(", "xfoo1", ",", "strict", ")", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "xfoo1", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "xfoo1", ")", "==", "(", "int", ")", "GET_MODE_SIZE", "(", "mode", ")", "&&", "INDEX_REGISTER_P", "(", "xfoo0", ",", "strict", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["1", "if", "PROD", "is", "either", "a", "reg", "times", "size", "of", "mode", "MODE", "and", "MODE", "is", "less", "than", "or", "equal", "8", "bytes", ",", "or", "just", "a", "reg", "if", "MODE", "is", "one", "byte", "."], "TS_V_token": ["vax", "1", "8", "0", "0", "1", "1", "1", "0"], "File": "vax3", "Func": "index_term_p", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5881, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mmix_get_hard_reg_initial_val", "(", "enum", "machine_mode", "mode", ",", "int", "regno", ")", "{", "return", "get_hard_reg_initial_val", "(", "mode", ",", "regno", ")", ";", "}", ""], "natrual_language": ["Wrapper", "for", "get_hard_reg_initial_val", "since", "integrate.h", "is", "n't", "included", "from", "insn-emit.cc", "."], "TS_V_token": ["mmix"], "File": "mmix3", "Func": "mmix_get_hard_reg_initial_val", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5882, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "getLinkageSize", "(", "bool", "LP64", ",", "bool", "isMacho", ")", "{", "if", "(", "isMacho", ")", "return", "6", "*", "(", "LP64", "?", "8", ":", "4", ")", ";", "return", "8", ";", "}", ""], "natrual_language": ["getLinkageSize", "-", "Return", "the", "size", "of", "the", "PowerPC", "ABI", "linkage", "area", "."], "TS_V_token": ["PowerPC", "6", "8", "4", "8"], "File": "PPCFrameInfo", "Func": "getLinkageSize", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5883, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_add_gc_roots", "(", ")", "{", "ggc_add_rtx_root", "(", "&", "rs6000_compare_op0", ",", "1", ")", ";", "ggc_add_rtx_root", "(", "&", "rs6000_compare_op1", ",", "1", ")", ";", "toc_hash_table", "=", "htab_create", "(", "1021", ",", "toc_hash_function", ",", "toc_hash_eq", ",", "NULL", ")", ";", "ggc_add_root", "(", "&", "toc_hash_table", ",", "1", ",", "sizeof", "(", "toc_hash_table", ")", ",", "toc_hash_mark_table", ")", ";", "machopic_add_gc_roots", "(", ")", ";", "}", ""], "natrual_language": ["Called", "to", "register", "all", "of", "our", "global", "variables", "with", "the", "garbage", "collector", "."], "TS_V_token": ["rs6000", "1", "1", "1021", "1"], "File": "rs60002", "Func": "rs6000_add_gc_roots", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5884, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "setReg", "(", "unsigned", "Reg", ")", "{", "assert", "(", "isRegBase", "(", ")", "&&", "\"Invalid base register access!\"", ")", ";", "Base", ".", "Reg", "=", "Reg", ";", "}", ""], "natrual_language": ["Assigns", "the", "associated", "register", "for", "this", "edge", "."], "TS_V_token": ["ARM64", "\"Invalid base register access!\""], "File": "ARM64FastISel", "Func": "setReg", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5885, "Length": 23, "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": 5886, "Length": 343, "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", ",", "SDLoc", "DL", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "MipsCC", "MipsCCInfo", "(", "CallConv", ",", "Subtarget", ".", "isABI_O32", "(", ")", ",", "Subtarget", ".", "isFP64bit", "(", ")", ",", "CCInfo", ")", ";", "MipsCCInfo", ".", "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", "=", "OutVals", "[", "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", "(", ")", ")", "{", "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", "(", ")", ")", ";", "unsigned", "V0", "=", "Subtarget", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "V0_64", ":", "Mips", "::", "V0", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "V0", ",", "Val", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "V0", ",", "getPointerTy", "(", ")", ")", ")", ";", "}", "RetOps", "[", "0", "]", "=", "Chain", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "RetOps", ".", "push_back", "(", "Flag", ")", ";", "return", "DAG", ".", "getNode", "(", "MipsISD", "::", "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": ["Mips", "Mips", "ISD::OutputArg", "16", "Mips", "Mips", "Mips", "4", "1", "0", "\"Can only return in registers!\"", "ISD::BITCAST", "1", "Mips", "Mips", "Mips", "Mips", "\"sret virtual register not created in the entry block\"", "Mips::V0_64", "Mips::V0", "1", "0", "MipsISD::Ret", "MVT::Other"], "File": "MipsISelLowering120", "Func": "LowerReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5887, "Length": 451, "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": 5888, "Length": 407, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "*", "ix86_init_cost", "(", "struct", "loop", "*", ")", "{", "unsigned", "*", "cost", "=", "XNEWVEC", "(", "unsigned", ",", "3", ")", ";", "cost", "[", "vect_prologue", "]", "=", "cost", "[", "vect_body", "]", "=", "cost", "[", "vect_epilogue", "]", "=", "0", ";", "return", "cost", ";", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.init_cost", "."], "TS_V_token": ["i386", "3", "0"], "File": "i3864", "Func": "ix86_init_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5889, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsTargetLowering", "*", "MipsTargetLowering", "::", "create", "(", "const", "MipsTargetMachine", "&", "TM", ",", "const", "MipsSubtarget", "&", "STI", ")", "{", "if", "(", "STI", ".", "inMips16Mode", "(", ")", ")", "return", "createMips16TargetLowering", "(", "TM", ",", "STI", ")", ";", "return", "createMipsSETargetLowering", "(", "TM", ",", "STI", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsISelLowering (2)4", "Func": "create", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5890, "Length": 43, "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": 5891, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "initiate_bundle_state_table", "(", "void", ")", "{", "bundle_state_table", "=", "new", "hash_table", "<", "bundle_state_hasher", ">", "(", "50", ")", ";", "}", ""], "natrual_language": ["Start", "work", "with", "the", "hash", "table", "."], "TS_V_token": ["ia64", "50"], "File": "ia64", "Func": "initiate_bundle_state_table", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5892, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "split_double_concat", "(", "machine_mode", "mode", ",", "rtx", "dst", ",", "rtx", "lo", ",", "rtx", "hi", ")", "{", "rtx", "dlo", ",", "dhi", ";", "int", "deleted_move_count", "=", "0", ";", "split_double_mode", "(", "mode", ",", "&", "dst", ",", "1", ",", "&", "dlo", ",", "&", "dhi", ")", ";", "if", "(", "MEM_P", "(", "lo", ")", "&&", "rtx_equal_p", "(", "dlo", ",", "hi", ")", "&&", "reg_overlap_mentioned_p", "(", "dhi", ",", "lo", ")", ")", "{", "emit_move_insn", "(", "dhi", ",", "lo", ")", ";", "lo", "=", "dhi", ";", "}", "else", "if", "(", "MEM_P", "(", "hi", ")", "&&", "!", "MEM_P", "(", "lo", ")", "&&", "!", "rtx_equal_p", "(", "dlo", ",", "lo", ")", "&&", "reg_overlap_mentioned_p", "(", "dlo", ",", "hi", ")", ")", "{", "if", "(", "rtx_equal_p", "(", "dhi", ",", "lo", ")", ")", "{", "emit_move_insn", "(", "dlo", ",", "hi", ")", ";", "hi", "=", "dlo", ";", "}", "else", "{", "emit_move_insn", "(", "dhi", ",", "hi", ")", ";", "hi", "=", "dhi", ";", "}", "}", "if", "(", "!", "rtx_equal_p", "(", "dlo", ",", "hi", ")", ")", "{", "if", "(", "!", "rtx_equal_p", "(", "dlo", ",", "lo", ")", ")", "emit_move_insn", "(", "dlo", ",", "lo", ")", ";", "else", "deleted_move_count", "++", ";", "if", "(", "!", "rtx_equal_p", "(", "dhi", ",", "hi", ")", ")", "emit_move_insn", "(", "dhi", ",", "hi", ")", ";", "else", "deleted_move_count", "++", ";", "}", "else", "if", "(", "!", "rtx_equal_p", "(", "lo", ",", "dhi", ")", ")", "{", "if", "(", "!", "rtx_equal_p", "(", "dhi", ",", "hi", ")", ")", "emit_move_insn", "(", "dhi", ",", "hi", ")", ";", "else", "deleted_move_count", "++", ";", "if", "(", "!", "rtx_equal_p", "(", "dlo", ",", "lo", ")", ")", "emit_move_insn", "(", "dlo", ",", "lo", ")", ";", "else", "deleted_move_count", "++", ";", "}", "else", "if", "(", "mode", "==", "TImode", ")", "emit_insn", "(", "gen_swapdi", "(", "dlo", ",", "dhi", ")", ")", ";", "else", "emit_insn", "(", "gen_swapsi", "(", "dlo", ",", "dhi", ")", ")", ";", "if", "(", "deleted_move_count", "==", "2", ")", "emit_note", "(", "NOTE_INSN_DELETED", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "double", "word", "assignment", "DST", "=", "{", "LO", ",", "HI", "}", "."], "TS_V_token": ["i386", "0", "1", "2"], "File": "i386-expand1", "Func": "split_double_concat", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5893, "Length": 292, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "expand_vec_perm_movs", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "machine_mode", "vmode", "=", "d", "->", "vmode", ";", "unsigned", "i", ",", "nelt", "=", "d", "->", "nelt", ";", "rtx", "x", ";", "if", "(", "d", "->", "one_operand_p", ")", "return", "false", ";", "if", "(", "!", "(", "TARGET_SSE", "&&", "(", "vmode", "==", "V4SFmode", "||", "vmode", "==", "V4SImode", ")", ")", "&&", "!", "(", "TARGET_MMX_WITH_SSE", "&&", "(", "vmode", "==", "V2SFmode", "||", "vmode", "==", "V2SImode", ")", ")", "&&", "!", "(", "TARGET_SSE2", "&&", "(", "vmode", "==", "V2DFmode", "||", "vmode", "==", "V2DImode", ")", ")", ")", "return", "false", ";", "if", "(", "d", "->", "perm", "[", "0", "]", "!=", "nelt", "&&", "d", "->", "perm", "[", "0", "]", "!=", "0", ")", "return", "false", ";", "for", "(", "i", "=", "1", ";", "i", "<", "nelt", ";", "++", "i", ")", "if", "(", "d", "->", "perm", "[", "i", "]", "!=", "i", "+", "nelt", "-", "d", "->", "perm", "[", "0", "]", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "if", "(", "d", "->", "perm", "[", "0", "]", "==", "nelt", ")", "x", "=", "gen_rtx_VEC_MERGE", "(", "vmode", ",", "d", "->", "op1", ",", "d", "->", "op0", ",", "GEN_INT", "(", "1", ")", ")", ";", "else", "x", "=", "gen_rtx_VEC_MERGE", "(", "vmode", ",", "d", "->", "op0", ",", "d", "->", "op1", ",", "GEN_INT", "(", "1", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "d", "->", "target", ",", "x", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "ix86_expand_vec_perm_builtin_1", ".", "Try", "to", "implement", "D", "using", "movss", "or", "movsd", "."], "TS_V_token": ["i386", "0", "0", "0", "1", "0", "0", "1", "1"], "File": "i386-expand1", "Func": "expand_vec_perm_movs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5894, "Length": 224, "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": 5895, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_must_pass_in_stack", "(", "const", "function_arg_info", "&", "arg", ")", "{", "if", "(", "TARGET_AAPCS_BASED", ")", "return", "must_pass_in_stack_var_size", "(", "arg", ")", ";", "else", "return", "must_pass_in_stack_var_size_or_pad", "(", "arg", ")", ";", "}", ""], "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": "arm", "Func": "arm_must_pass_in_stack", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5896, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isCandidateToMergeOrPair", "(", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "MI", ".", "hasOrderedMemoryRef", "(", ")", ")", "return", "false", ";", "assert", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "&&", "\"Expected a reg operand.\"", ")", ";", "if", "(", "!", "MI", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", ")", "return", "false", ";", "unsigned", "BaseReg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "&", "getRegisterInfo", "(", ")", ";", "if", "(", "MI", ".", "modifiesRegister", "(", "BaseReg", ",", "TRI", ")", ")", "return", "false", ";", "if", "(", "isLdStPairSuppressed", "(", "MI", ")", ")", "return", "false", ";", "if", "(", "Subtarget", ".", "avoidQuadLdStPairs", "(", ")", ")", "{", "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", "\"Expected a reg operand.\"", "2", "1", "AArch64::LDURQi", "AArch64::STURQi", "AArch64::LDRQui", "AArch64::STRQui"], "File": "AArch64InstrInfo114", "Func": "isCandidateToMergeOrPair", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5897, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isTargetEHABICompatible", "(", ")", "const", "{", "return", "(", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "EABI", "||", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "GNUEABI", "||", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "EABIHF", "||", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "GNUEABIHF", "||", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "Android", ")", "&&", "!", "isTargetDarwin", "(", ")", "&&", "!", "isTargetWindows", "(", ")", "&&", "!", "isTargetNaCl", "(", ")", "&&", "!", "EnableARMDwarfEH", ";", "}", ""], "natrual_language": ["Tests", "whether", "the", "target", "supports", "the", "EHABI", "exception", "handling", "standard", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMSubtarget104", "Func": "isTargetEHABICompatible", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5898, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "thumb_base_register_rtx_p", "(", "rtx", "x", ",", "enum", "machine_mode", "mode", ",", "int", "strict_p", ")", "{", "int", "regno", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "REG", ")", "return", "0", ";", "regno", "=", "REGNO", "(", "x", ")", ";", "if", "(", "strict_p", ")", "return", "THUMB_REGNO_MODE_OK_FOR_BASE_P", "(", "regno", ",", "mode", ")", ";", "return", "(", "regno", "<=", "LAST_LO_REGNUM", "||", "regno", ">", "LAST_VIRTUAL_REGISTER", "||", "regno", "==", "FRAME_POINTER_REGNUM", "||", "(", "GET_MODE_SIZE", "(", "mode", ")", ">=", "4", "&&", "(", "regno", "==", "STACK_POINTER_REGNUM", "||", "regno", ">=", "FIRST_PSEUDO_REGISTER", "||", "x", "==", "hard_frame_pointer_rtx", "||", "x", "==", "arg_pointer_rtx", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "X", "is", "valid", "as", "a", "Thumb", "state", "base", "register", "."], "TS_V_token": ["arm", "0", "4"], "File": "arm3", "Func": "thumb_base_register_rtx_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5899, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsMCExpr", "*", "MipsMCExpr", "::", "create", "(", "MCSymbolRefExpr", "::", "VariantKind", "VK", ",", "const", "MCExpr", "*", "Expr", ",", "MCContext", "&", "Ctx", ")", "{", "VariantKind", "Kind", ";", "switch", "(", "VK", ")", "{", "case", "MCSymbolRefExpr", "::", "VK_Mips_ABS_LO", ":", "Kind", "=", "VK_Mips_LO", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_ABS_HI", ":", "Kind", "=", "VK_Mips_HI", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_HIGHER", ":", "Kind", "=", "VK_Mips_HIGHER", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_HIGHEST", ":", "Kind", "=", "VK_Mips_HIGHEST", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Invalid kind!\"", ")", ";", "}", "return", "new", "(", "Ctx", ")", "MipsMCExpr", "(", "Kind", ",", "Expr", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "\"Invalid kind!\"", "Mips"], "File": "MipsMCExpr (2)", "Func": "create", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5900, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "DLXFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXFrameLowering", "Func": "emitPrologue", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5901, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "optimization_options", "(", "int", "level", ",", "int", "size", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "level", ">", "1", ")", "flag_schedule_insns", "=", "0", ";", "if", "(", "TARGET_MACHO", ")", "flag_errno_math", "=", "0", ";", "if", "(", "optimize", ">=", "1", ")", "flag_omit_frame_pointer", "=", "2", ";", "flag_pcc_struct_return", "=", "2", ";", "flag_asynchronous_unwind_tables", "=", "2", ";", "SUBTARGET_OPTIMIZATION_OPTIONS", ";", "}", ""], "natrual_language": ["Change", "optimizations", "to", "be", "performed", ",", "depending", "on", "the", "optimization", "level", ".", "LEVEL", "is", "the", "optimization", "level", "specified", ";", "2", "if", "`", "-O2", "'", "is", "specified", ",", "1", "if", "`", "-O", "'", "is", "specified", ",", "and", "0", "if", "neither", "is", "specified", ".", "SIZE", "is", "nonzero", "if", "`", "-Os", "'", "is", "specified", "and", "zero", "otherwise", "."], "TS_V_token": ["i386", "1", "0", "0", "1", "2", "2", "2"], "File": "i3863", "Func": "optimization_options", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5902, "Length": 50, "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": 5903, "Length": 179, "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": 5904, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_setup_incoming_varargs", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "int", "*", "pretend_size", "ATTRIBUTE_UNUSED", ",", "int", "no_rtl", ")", "{", "CUMULATIVE_ARGS", "next_cum", ";", "rtx", "save_area", "=", "NULL_RTX", ",", "mem", ";", "rtx", "label", ";", "rtx", "label_ref", ";", "rtx", "tmp_reg", ";", "rtx", "nsse_reg", ";", "int", "set", ";", "tree", "fntype", ";", "int", "stdarg_p", ";", "int", "i", ";", "if", "(", "!", "TARGET_64BIT", ")", "return", ";", "if", "(", "!", "cfun", "->", "va_list_gpr_size", "&&", "!", "cfun", "->", "va_list_fpr_size", ")", "return", ";", "ix86_save_varrargs_registers", "=", "1", ";", "cfun", "->", "stack_alignment_needed", "=", "128", ";", "fntype", "=", "TREE_TYPE", "(", "current_function_decl", ")", ";", "stdarg_p", "=", "(", "TYPE_ARG_TYPES", "(", "fntype", ")", "!=", "0", "&&", "(", "TREE_VALUE", "(", "tree_last", "(", "TYPE_ARG_TYPES", "(", "fntype", ")", ")", ")", "!=", "void_type_node", ")", ")", ";", "next_cum", "=", "*", "cum", ";", "if", "(", "stdarg_p", ")", "function_arg_advance", "(", "&", "next_cum", ",", "mode", ",", "type", ",", "1", ")", ";", "if", "(", "!", "no_rtl", ")", "save_area", "=", "frame_pointer_rtx", ";", "set", "=", "get_varargs_alias_set", "(", ")", ";", "for", "(", "i", "=", "next_cum", ".", "regno", ";", "i", "<", "ix86_regparm", "&&", "i", "<", "next_cum", ".", "regno", "+", "cfun", "->", "va_list_gpr_size", "/", "UNITS_PER_WORD", ";", "i", "++", ")", "{", "mem", "=", "gen_rtx_MEM", "(", "Pmode", ",", "plus_constant", "(", "save_area", ",", "i", "*", "UNITS_PER_WORD", ")", ")", ";", "MEM_NOTRAP_P", "(", "mem", ")", "=", "1", ";", "set_mem_alias_set", "(", "mem", ",", "set", ")", ";", "emit_move_insn", "(", "mem", ",", "gen_rtx_REG", "(", "Pmode", ",", "x86_64_int_parameter_registers", "[", "i", "]", ")", ")", ";", "}", "if", "(", "next_cum", ".", "sse_nregs", "&&", "cfun", "->", "va_list_fpr_size", ")", "{", "label", "=", "gen_label_rtx", "(", ")", ";", "label_ref", "=", "gen_rtx_LABEL_REF", "(", "Pmode", ",", "label", ")", ";", "tmp_reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "nsse_reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_zero_extendqidi2", "(", "nsse_reg", ",", "gen_rtx_REG", "(", "QImode", ",", "0", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "tmp_reg", ",", "gen_rtx_MULT", "(", "Pmode", ",", "nsse_reg", ",", "GEN_INT", "(", "4", ")", ")", ")", ")", ";", "if", "(", "next_cum", ".", "sse_regno", ")", "emit_move_insn", "(", "nsse_reg", ",", "gen_rtx_CONST", "(", "DImode", ",", "gen_rtx_PLUS", "(", "DImode", ",", "label_ref", ",", "GEN_INT", "(", "next_cum", ".", "sse_regno", "*", "4", ")", ")", ")", ")", ";", "else", "emit_move_insn", "(", "nsse_reg", ",", "label_ref", ")", ";", "emit_insn", "(", "gen_subdi3", "(", "nsse_reg", ",", "nsse_reg", ",", "tmp_reg", ")", ")", ";", "tmp_reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "tmp_reg", ",", "plus_constant", "(", "save_area", ",", "8", "*", "REGPARM_MAX", "+", "127", ")", ")", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "BLKmode", ",", "plus_constant", "(", "tmp_reg", ",", "-", "127", ")", ")", ";", "MEM_NOTRAP_P", "(", "mem", ")", "=", "1", ";", "set_mem_alias_set", "(", "mem", ",", "set", ")", ";", "set_mem_align", "(", "mem", ",", "BITS_PER_WORD", ")", ";", "emit_insn", "(", "gen_sse_prologue_save", "(", "mem", ",", "nsse_reg", ",", "GEN_INT", "(", "next_cum", ".", "sse_regno", ")", ",", "label", ")", ")", ";", "}", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["i386", "1", "128", "0", "1", "1", "0", "4", "4", "8", "127", "127", "1"], "File": "i3863", "Func": "ix86_setup_incoming_varargs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5905, "Length": 446, "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", ")", ";", "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": "X86FrameLowering102", "Func": "findDeadCallerSavedReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5906, "Length": 312, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCCTRLoops", "::", "getCanonicalInductionVariable", "(", "MachineLoop", "*", "L", ",", "SmallVector", "<", "MachineInstr", "*", ",", "4", ">", "&", "IVars", ",", "SmallVector", "<", "MachineInstr", "*", ",", "4", ">", "&", "IOps", ")", "const", "{", "MachineBasicBlock", "*", "TopMBB", "=", "L", "->", "getTopBlock", "(", ")", ";", "MachineBasicBlock", "::", "pred_iterator", "PI", "=", "TopMBB", "->", "pred_begin", "(", ")", ";", "assert", "(", "PI", "!=", "TopMBB", "->", "pred_end", "(", ")", "&&", "\"Loop must have more than one incoming edge!\"", ")", ";", "MachineBasicBlock", "*", "Backedge", "=", "*", "PI", "++", ";", "if", "(", "PI", "==", "TopMBB", "->", "pred_end", "(", ")", ")", "return", ";", "MachineBasicBlock", "*", "Incoming", "=", "*", "PI", "++", ";", "if", "(", "PI", "!=", "TopMBB", "->", "pred_end", "(", ")", ")", "return", ";", "if", "(", "L", "->", "contains", "(", "Incoming", ")", ")", "{", "if", "(", "L", "->", "contains", "(", "Backedge", ")", ")", "return", ";", "std", "::", "swap", "(", "Incoming", ",", "Backedge", ")", ";", "}", "else", "if", "(", "!", "L", "->", "contains", "(", "Backedge", ")", ")", "return", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "TopMBB", "->", "begin", "(", ")", ",", "E", "=", "TopMBB", "->", "end", "(", ")", ";", "I", "!=", "E", "&&", "I", "->", "isPHI", "(", ")", ";", "++", "I", ")", "{", "MachineInstr", "*", "MPhi", "=", "&", "*", "I", ";", "unsigned", "DefReg", "=", "MPhi", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "for", "(", "unsigned", "i", "=", "1", ";", "i", "!=", "MPhi", "->", "getNumOperands", "(", ")", ";", "i", "+=", "2", ")", "{", "MachineBasicBlock", "*", "MBB", "=", "MPhi", "->", "getOperand", "(", "i", "+", "1", ")", ".", "getMBB", "(", ")", ";", "if", "(", "L", "->", "contains", "(", "MBB", ")", ")", "{", "MachineInstr", "*", "DI", "=", "MRI", "->", "getVRegDef", "(", "MPhi", "->", "getOperand", "(", "i", ")", ".", "getReg", "(", ")", ")", ";", "if", "(", "isInductionOperation", "(", "DI", ",", "DefReg", ")", ")", "{", "IOps", ".", "push_back", "(", "DI", ")", ";", "IVars", ".", "push_back", "(", "MPhi", ")", ";", "}", "}", "}", "}", "return", ";", "}", ""], "natrual_language": ["Check", "to", "see", "if", "the", "loop", "has", "a", "canonical", "induction", "variable", ":", "an", "integer", "recurrence", "that", "starts", "at", "0", "and", "increments", "by", "one", "each", "time", "through", "the", "loop", "."], "TS_V_token": ["PowerPC", "PPC", "4", "4", "\"Loop must have more than one incoming edge!\"", "0", "1", "2", "1"], "File": "PPCCTRLoops2", "Func": "getCanonicalInductionVariable", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5907, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseInstrInfo", "::", "isLoadFromStackSlotPostFE", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "const", "MachineMemOperand", "*", "Dummy", ";", "return", "MI", ".", "mayLoad", "(", ")", "&&", "hasLoadFromStackSlot", "(", "MI", ",", "Dummy", ",", "FrameIndex", ")", ";", "}", ""], "natrual_language": ["isLoadFromStackSlotPostFE", "-", "Check", "for", "post-frame", "ptr", "elimination", "stack", "locations", "as", "well", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMBaseInstrInfo (2)2", "Func": "isLoadFromStackSlotPostFE", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5908, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_secondary_reload_gpr", "(", "rtx", "reg", ",", "rtx", "mem", ",", "rtx", "scratch", ",", "bool", "store_p", ")", "{", "int", "regno", "=", "true_regnum", "(", "reg", ")", ";", "enum", "reg_class", "rclass", ";", "rtx", "addr", ";", "rtx", "scratch_or_premodify", "=", "scratch", ";", "if", "(", "TARGET_DEBUG_ADDR", ")", "{", "fprintf", "(", "stderr", ",", "\"\\nrs6000_secondary_reload_gpr, type = %s\\n\"", ",", "store_p", "?", "\"store\"", ":", "\"load\"", ")", ";", "fprintf", "(", "stderr", ",", "\"reg:\\n\"", ")", ";", "debug_rtx", "(", "reg", ")", ";", "fprintf", "(", "stderr", ",", "\"mem:\\n\"", ")", ";", "debug_rtx", "(", "mem", ")", ";", "fprintf", "(", "stderr", ",", "\"scratch:\\n\"", ")", ";", "debug_rtx", "(", "scratch", ")", ";", "}", "gcc_assert", "(", "regno", ">=", "0", "&&", "regno", "<", "FIRST_PSEUDO_REGISTER", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "mem", ")", "==", "MEM", ")", ";", "rclass", "=", "REGNO_REG_CLASS", "(", "regno", ")", ";", "gcc_assert", "(", "rclass", "==", "GENERAL_REGS", "||", "rclass", "==", "BASE_REGS", ")", ";", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PRE_MODIFY", ")", "{", "scratch_or_premodify", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "gcc_assert", "(", "REG_P", "(", "scratch_or_premodify", ")", ")", ";", "addr", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "}", "gcc_assert", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", "||", "GET_CODE", "(", "addr", ")", "==", "LO_SUM", ")", ";", "rs6000_emit_move", "(", "scratch_or_premodify", ",", "addr", ",", "Pmode", ")", ";", "mem", "=", "replace_equiv_address_nv", "(", "mem", ",", "scratch_or_premodify", ")", ";", "if", "(", "store_p", ")", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "mem", ",", "reg", ")", ")", ";", "else", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "reg", ",", "mem", ")", ")", ";", "return", ";", "}", ""], "natrual_language": ["Convert", "reloads", "involving", "64-bit", "gprs", "and", "misaligned", "offset", "addressing", ",", "or", "multiple", "32-bit", "gprs", "and", "offsets", "that", "are", "too", "large", ",", "to", "use", "indirect", "addressing", "."], "TS_V_token": ["rs6000", "\"\\nrs6000_secondary_reload_gpr, type = %s\\n\"", "\"store\"", "\"load\"", "\"reg:\\n\"", "\"mem:\\n\"", "\"scratch:\\n\"", "0", "0", "0", "1"], "File": "rs60004", "Func": "rs6000_secondary_reload_gpr", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5909, "Length": 243, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "canMergeStoresTo", "(", "unsigned", "AddressSpace", ",", "EVT", "MemVT", ")", "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": "ARMISelLowering19", "Func": "canMergeStoresTo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5910, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ")", "const", "override", "{", "if", "(", "(", "Count", "%", "8", ")", "!=", "0", ")", "return", "false", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "<", "Count", ";", "i", "+=", "8", ")", "support", "::", "endian", "::", "write", "<", "uint64_t", ">", "(", "OS", ",", "0x7900000000000000ULL", ",", "support", "::", "little", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["VE", "8", "0", "0", "8", "support::endian", "0x7900000000000000ULL", "support::little"], "File": "VEAsmBackend1", "Func": "writeNopData", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5911, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb2SizeReduce", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "TargetMachine", "&", "TM", "=", "MF", ".", "getTarget", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "Thumb2InstrInfo", "*", ">", "(", "TM", ".", "getInstrInfo", "(", ")", ")", ";", "STI", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "AttributeSet", "FnAttrs", "=", "MF", ".", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ";", "OptimizeSize", "=", "FnAttrs", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "OptimizeForSize", ")", ";", "MinimizeSize", "=", "STI", "->", "isMinSize", "(", ")", ";", "BlockInfo", ".", "clear", "(", ")", ";", "BlockInfo", ".", "resize", "(", "MF", ".", "getNumBlockIDs", "(", ")", ")", ";", "ReversePostOrderTraversal", "<", "MachineFunction", "*", ">", "RPOT", "(", "&", "MF", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "ReversePostOrderTraversal", "<", "MachineFunction", "*", ">", "::", "rpo_iterator", "I", "=", "RPOT", ".", "begin", "(", ")", ",", "E", "=", "RPOT", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Modified", "|=", "ReduceMBB", "(", "*", "*", "I", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM"], "File": "Thumb2SizeReduction16", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5912, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mmix_valid_comparison", "(", "RTX_CODE", "code", ",", "enum", "machine_mode", "mode", ",", "rtx", "op", ")", "{", "if", "(", "mode", "==", "VOIDmode", "&&", "op", "!=", "NULL_RTX", ")", "mode", "=", "GET_MODE", "(", "op", ")", ";", "if", "(", "mode", "==", "CCmode", "||", "mode", "==", "CC_UNSmode", "||", "mode", "==", "DImode", ")", "return", "1", ";", "if", "(", "(", "mode", "==", "CC_FPmode", "||", "mode", "==", "DFmode", ")", "&&", "(", "code", "==", "GT", "||", "code", "==", "LT", ")", ")", "return", "1", ";", "if", "(", "(", "mode", "==", "CC_FPEQmode", "||", "mode", "==", "DFmode", ")", "&&", "(", "code", "==", "EQ", "||", "code", "==", "NE", ")", ")", "return", "1", ";", "if", "(", "(", "mode", "==", "CC_FUNmode", "||", "mode", "==", "DFmode", ")", "&&", "(", "code", "==", "ORDERED", "||", "code", "==", "UNORDERED", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Returns", "zero", "if", "code", "and", "mode", "is", "not", "a", "valid", "condition", "from", "a", "compare-type", "insn", ".", "Nonzero", "if", "it", "is", ".", "The", "parameter", "op", ",", "if", "non-NULL", ",", "is", "the", "comparison", "of", "mode", "is", "CC-somethingmode", "."], "TS_V_token": ["mmix", "1", "1", "1", "1", "0"], "File": "mmix3", "Func": "mmix_valid_comparison", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5913, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZPassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createSystemZShortenInstPass", "(", "getSystemZTargetMachine", "(", ")", ")", ",", "false", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createSystemZElimComparePass", "(", "getSystemZTargetMachine", "(", ")", ")", ",", "false", ")", ";", "addPass", "(", "createSystemZLongBranchPass", "(", "getSystemZTargetMachine", "(", ")", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "&", "PostMachineSchedulerID", ")", ";", "}", ""], "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": "SystemZTargetMachine10", "Func": "addPreEmitPass", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5914, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "memory_ok_for_ldd", "(", "rtx", "op", ")", "{", "if", "(", "!", "mem_min_alignment", "(", "op", ",", "8", ")", ")", "return", "0", ";", "if", "(", "(", "reload_in_progress", "||", "reload_completed", ")", "&&", "!", "strict_memory_address_p", "(", "Pmode", ",", "XEXP", "(", "op", ",", "0", ")", ")", ")", "return", "0", ";", "if", "(", "lra_in_progress", "&&", "!", "memory_address_p", "(", "Pmode", ",", "XEXP", "(", "op", ",", "0", ")", ")", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "1", "if", "OP", ",", "a", "MEM", ",", "has", "an", "address", "which", "is", "known", "to", "be", "aligned", "to", "an", "8-byte", "boundary", "."], "TS_V_token": ["sparc", "8", "0", "0", "0", "0", "0", "1"], "File": "sparc", "Func": "memory_ok_for_ldd", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5915, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MachineBasicBlock", "*", "getMBB", "(", ")", "const", "{", "return", "MBB", ";", "}", ""], "natrual_language": ["Return", "a", "reference", "to", "the", "basic", "block", "containing", "this", "bundle", "."], "TS_V_token": ["CSKY"], "File": "CSKYConstantPoolValue", "Func": "getMBB", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5916, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "fusion_gpr_load_p", "(", "rtx", "addis_reg", ",", "rtx", "addis_value", ",", "rtx", "target", ",", "rtx", "mem", ")", "{", "rtx", "addr", ";", "rtx", "base_reg", ";", "if", "(", "!", "base_reg_operand", "(", "addis_reg", ",", "GET_MODE", "(", "addis_reg", ")", ")", ")", "return", "false", ";", "if", "(", "!", "base_reg_operand", "(", "target", ",", "GET_MODE", "(", "target", ")", ")", ")", "return", "false", ";", "if", "(", "!", "fusion_gpr_addis", "(", "addis_value", ",", "GET_MODE", "(", "addis_value", ")", ")", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "mem", ")", "==", "ZERO_EXTEND", "||", "(", "GET_CODE", "(", "mem", ")", "==", "SIGN_EXTEND", "&&", "TARGET_P8_FUSION_SIGN", ")", ")", "mem", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "if", "(", "!", "MEM_P", "(", "mem", ")", ")", "return", "false", ";", "if", "(", "!", "fusion_gpr_mem_load", "(", "mem", ",", "GET_MODE", "(", "mem", ")", ")", ")", "return", "false", ";", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "!=", "PLUS", "&&", "GET_CODE", "(", "addr", ")", "!=", "LO_SUM", ")", "return", "false", ";", "if", "(", "REGNO", "(", "addis_reg", ")", "!=", "REGNO", "(", "target", ")", ")", "{", "if", "(", "reg_mentioned_p", "(", "target", ",", "mem", ")", ")", "return", "false", ";", "if", "(", "!", "peep2_reg_dead_p", "(", "2", ",", "addis_reg", ")", ")", "return", "false", ";", "if", "(", "REG_P", "(", "target", ")", "&&", "REGNO", "(", "target", ")", "==", "STACK_POINTER_REGNUM", ")", "return", "false", ";", "}", "base_reg", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "return", "REGNO", "(", "addis_reg", ")", "==", "REGNO", "(", "base_reg", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "peephole2", "can", "combine", "a", "load", "involving", "a", "combination", "of", "an", "addis", "instruction", "and", "a", "load", "with", "an", "offset", "that", "can", "be", "fused", "together", "on", "a", "power8", "."], "TS_V_token": ["rs6000", "0", "0", "2", "0"], "File": "rs6000", "Func": "fusion_gpr_load_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5917, "Length": 231, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0AsmBackend", "::", "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", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "+", "7", ")", "/", "8", ";", "unsigned", "FullSize", ";", "switch", "(", "(", "unsigned", ")", "Kind", ")", "{", "default", ":", "FullSize", "=", "4", ";", "break", ";", "}", "uint64_t", "CurVal", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "Endian", "==", "support", "::", "little", "?", "i", ":", "(", "FullSize", "-", "1", "-", "i", ")", ";", "CurVal", "|=", "(", "uint64_t", ")", "(", "(", "uint8_t", ")", "Data", "[", "Offset", "+", "Idx", "]", ")", "<<", "(", "i", "*", "8", ")", ";", "}", "uint64_t", "Mask", "=", "(", "(", "uint64_t", ")", "(", "-", "1", ")", ">>", "(", "64", "-", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", ")", ";", "CurVal", "|=", "Value", "&", "Mask", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "Endian", "==", "support", "::", "little", "?", "i", ":", "(", "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": ["Cpu0", "Cpu0", "7", "8", "4", "0", "0", "support::little", "1", "8", "1", "64", "0", "support::little", "1", "8", "0xff"], "File": "Cpu0AsmBackend3", "Func": "applyFixup", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5918, "Length": 262, "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", ")", "{", "EmitByte", "(", "Val", "&", "255", ",", "OS", ")", ";", "Val", ">>=", "8", ";", "}", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["Mips", "0", "255", "8"], "File": "MipsMCCodeEmitter48", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5919, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rsqrts_type", "get_rsqrts_type", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "DFmode", ":", "return", "gen_aarch64_rsqrtsdf", ";", "case", "SFmode", ":", "return", "gen_aarch64_rsqrtssf", ";", "case", "V2DFmode", ":", "return", "gen_aarch64_rsqrtsv2df", ";", "case", "V2SFmode", ":", "return", "gen_aarch64_rsqrtsv2sf", ";", "case", "V4SFmode", ":", "return", "gen_aarch64_rsqrtsv4sf", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Select", "reciprocal", "square", "root", "series", "step", "insn", "depending", "on", "machine", "mode", "."], "TS_V_token": ["aarch64"], "File": "aarch644", "Func": "get_rsqrts_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5920, "Length": 51, "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": 5921, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "main", "(", "int", "argc", ",", "char", "*", "*", "argv", ")", "{", "progname", "=", "\"mkoffload-intelmic\"", ";", "gcc_init_libintl", "(", ")", ";", "diagnostic_initialize", "(", "global_dc", ",", "0", ")", ";", "if", "(", "atexit", "(", "mkoffload_atexit", ")", "!=", "0", ")", "fatal_error", "(", "input_location", ",", "\"atexit failed\"", ")", ";", "const", "char", "*", "host_compiler", "=", "getenv", "(", "\"COLLECT_GCC\"", ")", ";", "if", "(", "!", "host_compiler", ")", "fatal_error", "(", "input_location", ",", "\"COLLECT_GCC must be set\"", ")", ";", "const", "char", "*", "target_driver_name", "=", "GCC_INSTALL_NAME", ";", "char", "*", "target_compiler", "=", "find_target_compiler", "(", "target_driver_name", ")", ";", "if", "(", "target_compiler", "==", "NULL", ")", "fatal_error", "(", "input_location", ",", "\"offload compiler %s not found\"", ",", "target_driver_name", ")", ";", "expandargv", "(", "&", "argc", ",", "&", "argv", ")", ";", "for", "(", "int", "i", "=", "argc", "-", "1", ";", "i", ">", "0", ";", "i", "--", ")", "if", "(", "strncmp", "(", "argv", "[", "i", "]", ",", "\"-foffload-abi=\"", ",", "sizeof", "(", "\"-foffload-abi=\"", ")", "-", "1", ")", "==", "0", ")", "{", "if", "(", "strstr", "(", "argv", "[", "i", "]", ",", "\"ilp32\"", ")", ")", "target_ilp32", "=", "true", ";", "else", "if", "(", "!", "strstr", "(", "argv", "[", "i", "]", ",", "\"lp64\"", ")", ")", "fatal_error", "(", "input_location", ",", "\"unrecognizable argument of option -foffload-abi\"", ")", ";", "break", ";", "}", "const", "char", "*", "target_so_filename", "=", "prepare_target_image", "(", "target_compiler", ",", "argc", ",", "argv", ")", ";", "const", "char", "*", "host_descr_filename", "=", "generate_host_descr_file", "(", "host_compiler", ")", ";", "unsigned", "new_argc", "=", "0", ";", "const", "char", "*", "new_argv", "[", "9", "]", ";", "new_argv", "[", "new_argc", "++", "]", "=", "\"ld\"", ";", "new_argv", "[", "new_argc", "++", "]", "=", "\"-m\"", ";", "if", "(", "target_ilp32", ")", "new_argv", "[", "new_argc", "++", "]", "=", "\"elf_i386\"", ";", "else", "new_argv", "[", "new_argc", "++", "]", "=", "\"elf_x86_64\"", ";", "new_argv", "[", "new_argc", "++", "]", "=", "\"--relocatable\"", ";", "new_argv", "[", "new_argc", "++", "]", "=", "host_descr_filename", ";", "new_argv", "[", "new_argc", "++", "]", "=", "target_so_filename", ";", "new_argv", "[", "new_argc", "++", "]", "=", "\"-o\"", ";", "new_argv", "[", "new_argc", "++", "]", "=", "out_obj_filename", ";", "new_argv", "[", "new_argc", "++", "]", "=", "NULL", ";", "fork_execute", "(", "new_argv", "[", "0", "]", ",", "CONST_CAST", "(", "char", "*", "*", ",", "new_argv", ")", ",", "false", ")", ";", "new_argv", "[", "0", "]", "=", "\"objcopy\"", ";", "new_argv", "[", "1", "]", "=", "\"-L\"", ";", "new_argv", "[", "2", "]", "=", "symbols", "[", "0", "]", ";", "new_argv", "[", "3", "]", "=", "\"-L\"", ";", "new_argv", "[", "4", "]", "=", "symbols", "[", "1", "]", ";", "new_argv", "[", "5", "]", "=", "\"-L\"", ";", "new_argv", "[", "6", "]", "=", "symbols", "[", "2", "]", ";", "new_argv", "[", "7", "]", "=", "out_obj_filename", ";", "new_argv", "[", "8", "]", "=", "NULL", ";", "fork_execute", "(", "new_argv", "[", "0", "]", ",", "CONST_CAST", "(", "char", "*", "*", ",", "new_argv", ")", ",", "false", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Main", "program", "to", "convert", "flat", "files", "into", "built-in", "initialization", "code", "."], "TS_V_token": ["i386", "\"mkoffload-intelmic\"", "0", "0", "\"atexit failed\"", "\"COLLECT_GCC\"", "\"COLLECT_GCC must be set\"", "\"offload compiler %s not found\"", "1", "0", "\"-foffload-abi=\"", "\"-foffload-abi=\"", "1", "0", "\"ilp32\"", "\"lp64\"", "\"unrecognizable argument of option -foffload-abi\"", "0", "9", "\"ld\"", "\"-m\"", "\"elf_i386\"", "\"elf_x86_64\"", "\"--relocatable\"", "\"-o\"", "0", "0", "\"objcopy\"", "1", "\"-L\"", "2", "0", "3", "\"-L\"", "4", "1", "5", "\"-L\"", "6", "2", "7", "8", "0", "0"], "File": "intelmic-mkoffload2", "Func": "main", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5922, "Length": 419, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_evpc_ext", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "int", "i", ",", "nelt", "=", "d", "->", "nelt", ";", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "rtx", "offset", ";", "unsigned", "int", "location", "=", "d", "->", "perm", "[", "0", "]", ";", "for", "(", "i", "=", "1", ";", "i", "<", "nelt", ";", "i", "++", ")", "{", "unsigned", "int", "required", "=", "location", "+", "i", ";", "if", "(", "d", "->", "one_vector_p", ")", "{", "required", "&=", "(", "nelt", "-", "1", ")", ";", "}", "if", "(", "d", "->", "perm", "[", "i", "]", "!=", "required", ")", "return", "false", ";", "}", "switch", "(", "d", "->", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_aarch64_extv16qi", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_aarch64_extv8qi", ";", "break", ";", "case", "V4HImode", ":", "gen", "=", "gen_aarch64_extv4hi", ";", "break", ";", "case", "V8HImode", ":", "gen", "=", "gen_aarch64_extv8hi", ";", "break", ";", "case", "V2SImode", ":", "gen", "=", "gen_aarch64_extv2si", ";", "break", ";", "case", "V4SImode", ":", "gen", "=", "gen_aarch64_extv4si", ";", "break", ";", "case", "V4HFmode", ":", "gen", "=", "gen_aarch64_extv4hf", ";", "break", ";", "case", "V8HFmode", ":", "gen", "=", "gen_aarch64_extv8hf", ";", "break", ";", "case", "V2SFmode", ":", "gen", "=", "gen_aarch64_extv2sf", ";", "break", ";", "case", "V4SFmode", ":", "gen", "=", "gen_aarch64_extv4sf", ";", "break", ";", "case", "V2DImode", ":", "gen", "=", "gen_aarch64_extv2di", ";", "break", ";", "case", "V2DFmode", ":", "gen", "=", "gen_aarch64_extv2df", ";", "break", ";", "default", ":", "return", "false", ";", "}", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "if", "(", "BYTES_BIG_ENDIAN", "&&", "(", "location", "!=", "0", ")", ")", "{", "std", "::", "swap", "(", "d", "->", "op0", ",", "d", "->", "op1", ")", ";", "location", "=", "nelt", "-", "location", ";", "}", "offset", "=", "GEN_INT", "(", "location", ")", ";", "emit_insn", "(", "gen", "(", "d", "->", "target", ",", "d", "->", "op0", ",", "d", "->", "op1", ",", "offset", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "for", "the", "EXT", "insn", "."], "TS_V_token": ["aarch64", "0", "1", "1", "0"], "File": "aarch644", "Func": "aarch64_evpc_ext", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5923, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "Cpu0TargetLowering", "::", "LowerCall", "(", "TargetLowering", "::", "CallLoweringInfo", "&", "CLI", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "return", "CLI", ".", "Chain", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "calls", "into", "the", "specified", "DAG", "."], "TS_V_token": ["Cpu0", "Cpu0"], "File": "Cpu0ISelLowering2", "Func": "LowerCall", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5924, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "shouldScheduleLoadsNear", "(", "SDNode", "*", "Load1", ",", "SDNode", "*", "Load2", ",", "int64_t", "Offset1", ",", "int64_t", "Offset2", ",", "unsigned", "NumLoads", ")", "const", "{", "if", "(", "Subtarget", ".", "isThumb1Only", "(", ")", ")", "return", "false", ";", "assert", "(", "Offset2", ">", "Offset1", ")", ";", "if", "(", "(", "Offset2", "-", "Offset1", ")", "/", "8", ">", "64", ")", "return", "false", ";", "if", "(", "(", "Load1", "->", "getMachineOpcode", "(", ")", "!=", "Load2", "->", "getMachineOpcode", "(", ")", ")", "&&", "!", "(", "(", "Load1", "->", "getMachineOpcode", "(", ")", "==", "ARM", "::", "t2LDRBi8", "&&", "Load2", "->", "getMachineOpcode", "(", ")", "==", "ARM", "::", "t2LDRBi12", ")", "||", "(", "Load1", "->", "getMachineOpcode", "(", ")", "==", "ARM", "::", "t2LDRBi12", "&&", "Load2", "->", "getMachineOpcode", "(", ")", "==", "ARM", "::", "t2LDRBi8", ")", ")", ")", "return", "false", ";", "if", "(", "NumLoads", ">=", "3", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["shouldScheduleLoadsNear", "-", "This", "is", "a", "used", "by", "the", "pre-regalloc", "scheduler", "to", "determine", "(", "in", "conjunction", "with", "areLoadsFromSameBasePtr", ")", "if", "two", "loads", "should", "be", "scheduled", "togther", "."], "TS_V_token": ["ARM", "ARM", "8", "64", "ARM::t2LDRBi8", "ARM::t2LDRBi12", "ARM::t2LDRBi12", "ARM::t2LDRBi8", "3"], "File": "ARMBaseInstrInfo (2)", "Func": "shouldScheduleLoadsNear", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5925, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_symbian_dllimport_name_p", "(", "const", "char", "*", "symbol", ")", "{", "return", "strncmp", "(", "DLL_IMPORT_PREFIX", ",", "symbol", ",", "strlen", "(", "DLL_IMPORT_PREFIX", ")", ")", "==", "0", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "SYMBOL", "is", "marked", "as", "being", "dllimport", "'d", "."], "TS_V_token": ["sh", "0"], "File": "symbian", "Func": "sh_symbian_dllimport_name_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5926, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCPassConfig", "::", "addIRPasses", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createPPCBoolRetToIntPass", "(", ")", ")", ";", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "bool", "UsePrefetching", "=", "TM", "->", "getTargetTriple", "(", ")", ".", "getVendor", "(", ")", "==", "Triple", "::", "BGQ", "&&", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ";", "if", "(", "EnablePrefetch", ".", "getNumOccurrences", "(", ")", ">", "0", ")", "UsePrefetching", "=", "EnablePrefetch", ";", "if", "(", "UsePrefetching", ")", "addPass", "(", "createLoopDataPrefetchPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", ">=", "CodeGenOpt", "::", "Default", "&&", "EnableGEPOpt", ")", "{", "addPass", "(", "createSeparateConstOffsetFromGEPPass", "(", "TM", ",", "true", ")", ")", ";", "addPass", "(", "createEarlyCSEPass", "(", ")", ")", ";", "addPass", "(", "createLICMPass", "(", ")", ")", ";", "}", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "0"], "File": "PPCTargetMachine15", "Func": "addIRPasses", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5927, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "X86Subtarget", "::", "classifyGlobalFunctionReference", "(", "const", "GlobalValue", "*", "GV", ",", "const", "Module", "&", "M", ")", "const", "{", "if", "(", "TM", ".", "shouldAssumeDSOLocal", "(", "M", ",", "GV", ")", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "if", "(", "isTargetCOFF", "(", ")", ")", "{", "assert", "(", "GV", "->", "hasDLLImportStorageClass", "(", ")", "&&", "\"shouldAssumeDSOLocal gave inconsistent answer\"", ")", ";", "return", "X86II", "::", "MO_DLLIMPORT", ";", "}", "const", "Function", "*", "F", "=", "dyn_cast_or_null", "<", "Function", ">", "(", "GV", ")", ";", "if", "(", "isTargetELF", "(", ")", ")", "{", "if", "(", "is64Bit", "(", ")", "&&", "F", "&&", "(", "CallingConv", "::", "X86_RegCall", "==", "F", "->", "getCallingConv", "(", ")", ")", ")", "return", "X86II", "::", "MO_GOTPCREL", ";", "if", "(", "(", "(", "F", "&&", "F", "->", "hasFnAttribute", "(", "Attribute", "::", "NonLazyBind", ")", ")", "||", "(", "!", "F", "&&", "M", ".", "getRtLibUseGOT", "(", ")", ")", ")", "&&", "is64Bit", "(", ")", ")", "return", "X86II", "::", "MO_GOTPCREL", ";", "return", "X86II", "::", "MO_PLT", ";", "}", "if", "(", "is64Bit", "(", ")", ")", "{", "if", "(", "F", "&&", "F", "->", "hasFnAttribute", "(", "Attribute", "::", "NonLazyBind", ")", ")", "return", "X86II", "::", "MO_GOTPCREL", ";", "return", "X86II", "::", "MO_NO_FLAG", ";", "}", "return", "X86II", "::", "MO_NO_FLAG", ";", "}", ""], "natrual_language": ["Classify", "a", "global", "function", "reference", "for", "the", "current", "subtarget", "."], "TS_V_token": ["X86", "X86", "X86II::MO_NO_FLAG", "\"shouldAssumeDSOLocal gave inconsistent answer\"", "X86II::MO_DLLIMPORT", "X86", "X86II::MO_GOTPCREL", "X86II::MO_GOTPCREL", "X86II::MO_PLT", "X86II::MO_GOTPCREL", "X86II::MO_NO_FLAG", "X86II::MO_NO_FLAG"], "File": "X86Subtarget", "Func": "classifyGlobalFunctionReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5928, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetTransformInfo", "VETargetMachine", "::", "getTargetTransformInfo", "(", "const", "Function", "&", "F", ")", "{", "return", "TargetTransformInfo", "(", "VETTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetTransformInfo", "implementation", "for", "the", "target", "."], "TS_V_token": ["VE", "VE", "VE"], "File": "VETargetMachine", "Func": "getTargetTransformInfo", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5929, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "*", "rs6000_init_cost", "(", "struct", "loop", "*", "loop_info", ")", "{", "rs6000_cost_data", "*", "data", "=", "XNEW", "(", "struct", "_rs6000_cost_data", ")", ";", "data", "->", "loop_info", "=", "loop_info", ";", "data", "->", "cost", "[", "vect_prologue", "]", "=", "0", ";", "data", "->", "cost", "[", "vect_body", "]", "=", "0", ";", "data", "->", "cost", "[", "vect_epilogue", "]", "=", "0", ";", "rs6000_vect_nonmem", "=", "false", ";", "return", "data", ";", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.init_cost", "."], "TS_V_token": ["rs6000", "0", "0", "0"], "File": "rs6000", "Func": "rs6000_init_cost", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5930, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "X86InstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "getTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelDAGToDAG124", "Func": "getInstrInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5931, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "Cpu0TargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", ",", "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": ["Cpu0", "Cpu0", "MVT::i32"], "File": "Cpu0ISelLowering", "Func": "getSetCCResultType", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5932, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "ix86_vectorize_builtin_gather", "(", "const_tree", "mem_vectype", ",", "const_tree", "index_type", ",", "int", "scale", ")", "{", "bool", "si", ";", "enum", "ix86_builtins", "code", ";", "if", "(", "!", "TARGET_AVX2", "||", "(", "known_eq", "(", "TYPE_VECTOR_SUBPARTS", "(", "mem_vectype", ")", ",", "2u", ")", "?", "!", "TARGET_USE_GATHER_2PARTS", ":", "(", "known_eq", "(", "TYPE_VECTOR_SUBPARTS", "(", "mem_vectype", ")", ",", "4u", ")", "?", "!", "TARGET_USE_GATHER_4PARTS", ":", "!", "TARGET_USE_GATHER", ")", ")", ")", "return", "NULL_TREE", ";", "if", "(", "(", "TREE_CODE", "(", "index_type", ")", "!=", "INTEGER_TYPE", "&&", "!", "POINTER_TYPE_P", "(", "index_type", ")", ")", "||", "(", "TYPE_MODE", "(", "index_type", ")", "!=", "SImode", "&&", "TYPE_MODE", "(", "index_type", ")", "!=", "DImode", ")", ")", "return", "NULL_TREE", ";", "if", "(", "TYPE_PRECISION", "(", "index_type", ")", ">", "POINTER_SIZE", ")", "return", "NULL_TREE", ";", "if", "(", "TYPE_PRECISION", "(", "index_type", ")", "<", "POINTER_SIZE", "&&", "TYPE_UNSIGNED", "(", "index_type", ")", ")", "return", "NULL_TREE", ";", "if", "(", "scale", "<=", "0", "||", "scale", ">", "8", "||", "(", "scale", "&", "(", "scale", "-", "1", ")", ")", "!=", "0", ")", "return", "NULL_TREE", ";", "si", "=", "TYPE_MODE", "(", "index_type", ")", "==", "SImode", ";", "switch", "(", "TYPE_MODE", "(", "mem_vectype", ")", ")", "{", "case", "E_V2DFmode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3SIV2DF", ":", "IX86_BUILTIN_GATHER3DIV2DF", ";", "else", "code", "=", "si", "?", "IX86_BUILTIN_GATHERSIV2DF", ":", "IX86_BUILTIN_GATHERDIV2DF", ";", "break", ";", "case", "E_V4DFmode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3ALTSIV4DF", ":", "IX86_BUILTIN_GATHER3DIV4DF", ";", "else", "code", "=", "si", "?", "IX86_BUILTIN_GATHERALTSIV4DF", ":", "IX86_BUILTIN_GATHERDIV4DF", ";", "break", ";", "case", "E_V2DImode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3SIV2DI", ":", "IX86_BUILTIN_GATHER3DIV2DI", ";", "else", "code", "=", "si", "?", "IX86_BUILTIN_GATHERSIV2DI", ":", "IX86_BUILTIN_GATHERDIV2DI", ";", "break", ";", "case", "E_V4DImode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3ALTSIV4DI", ":", "IX86_BUILTIN_GATHER3DIV4DI", ";", "else", "code", "=", "si", "?", "IX86_BUILTIN_GATHERALTSIV4DI", ":", "IX86_BUILTIN_GATHERDIV4DI", ";", "break", ";", "case", "E_V4SFmode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3SIV4SF", ":", "IX86_BUILTIN_GATHER3DIV4SF", ";", "else", "code", "=", "si", "?", "IX86_BUILTIN_GATHERSIV4SF", ":", "IX86_BUILTIN_GATHERDIV4SF", ";", "break", ";", "case", "E_V8SFmode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3SIV8SF", ":", "IX86_BUILTIN_GATHER3ALTDIV8SF", ";", "else", "code", "=", "si", "?", "IX86_BUILTIN_GATHERSIV8SF", ":", "IX86_BUILTIN_GATHERALTDIV8SF", ";", "break", ";", "case", "E_V4SImode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3SIV4SI", ":", "IX86_BUILTIN_GATHER3DIV4SI", ";", "else", "code", "=", "si", "?", "IX86_BUILTIN_GATHERSIV4SI", ":", "IX86_BUILTIN_GATHERDIV4SI", ";", "break", ";", "case", "E_V8SImode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3SIV8SI", ":", "IX86_BUILTIN_GATHER3ALTDIV8SI", ";", "else", "code", "=", "si", "?", "IX86_BUILTIN_GATHERSIV8SI", ":", "IX86_BUILTIN_GATHERALTDIV8SI", ";", "break", ";", "case", "E_V8DFmode", ":", "if", "(", "TARGET_AVX512F", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3ALTSIV8DF", ":", "IX86_BUILTIN_GATHER3DIV8DF", ";", "else", "return", "NULL_TREE", ";", "break", ";", "case", "E_V8DImode", ":", "if", "(", "TARGET_AVX512F", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3ALTSIV8DI", ":", "IX86_BUILTIN_GATHER3DIV8DI", ";", "else", "return", "NULL_TREE", ";", "break", ";", "case", "E_V16SFmode", ":", "if", "(", "TARGET_AVX512F", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3SIV16SF", ":", "IX86_BUILTIN_GATHER3ALTDIV16SF", ";", "else", "return", "NULL_TREE", ";", "break", ";", "case", "E_V16SImode", ":", "if", "(", "TARGET_AVX512F", ")", "code", "=", "si", "?", "IX86_BUILTIN_GATHER3SIV16SI", ":", "IX86_BUILTIN_GATHER3ALTDIV16SI", ";", "else", "return", "NULL_TREE", ";", "break", ";", "default", ":", "return", "NULL_TREE", ";", "}", "return", "ix86_get_builtin", "(", "code", ")", ";", "}", ""], "natrual_language": ["Returns", "a", "decl", "of", "a", "function", "that", "implements", "gather", "load", "with", "memory", "type", "MEM_VECTYPE", "and", "index", "type", "INDEX_VECTYPE", "and", "SCALE", ".", "Return", "NULL_TREE", "if", "it", "is", "not", "available", "."], "TS_V_token": ["i386", "2u", "4u", "0", "8", "1", "0"], "File": "i386-builtins", "Func": "ix86_vectorize_builtin_gather", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5933, "Length": 473, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "MipsAsmPrinter", "::", "getCurrentABIString", "(", ")", "const", "{", "switch", "(", "Subtarget", "->", "getTargetABI", "(", ")", ")", "{", "case", "MipsSubtarget", "::", "O32", ":", "return", "\"abi32\"", ";", "case", "MipsSubtarget", "::", "N32", ":", "return", "\"abiN32\"", ";", "case", "MipsSubtarget", "::", "N64", ":", "return", "\"abi64\"", ";", "case", "MipsSubtarget", "::", "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": "MipsAsmPrinter100", "Func": "getCurrentABIString", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5934, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ")", "const", "{", "if", "(", "Imm", ".", "isPosZero", "(", ")", "&&", "(", "VT", "==", "MVT", "::", "f64", "||", "VT", "==", "MVT", "::", "f32", ")", ")", "return", "true", ";", "if", "(", "VT", "==", "MVT", "::", "f64", ")", "return", "AArch64_AM", "::", "getFP64Imm", "(", "Imm", ")", "!=", "-", "1", ";", "else", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "AArch64_AM", "::", "getFP32Imm", "(", "Imm", ")", "!=", "-", "1", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "can", "instruction", "select", "the", "specified", "FP", "immediate", "natively", "."], "TS_V_token": ["AArch64", "AArch64", "MVT::f64", "MVT::f32", "MVT::f64", "AArch64_AM::getFP64Imm", "1", "MVT::f32", "AArch64_AM::getFP32Imm", "1"], "File": "AArch64ISelLowering (2)", "Func": "isFPImmLegal", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5935, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "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": ["Mandarin"], "File": "MandarinRegisterInfo", "Func": "requiresRegisterScavenging", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5936, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_real_tls_symbol_ref_p", "(", "rtx", "x", ")", "{", "return", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", ">=", "TLS_MODEL_REAL", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "symbol", "that", "refers", "to", "real", "(", "rather", "than", "emulated", ")", "TLS", "."], "TS_V_token": ["rs6000"], "File": "rs60004", "Func": "rs6000_real_tls_symbol_ref_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5937, "Length": 26, "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", "->", "getTarget", "(", ")", ".", "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": "AArch64BranchRelaxation1", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5938, "Length": 126, "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": 5939, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "sparc_split_regreg_legitimate", "(", "rtx", "reg1", ",", "rtx", "reg2", ")", "{", "int", "regno1", ",", "regno2", ";", "if", "(", "GET_CODE", "(", "reg1", ")", "==", "SUBREG", ")", "reg1", "=", "SUBREG_REG", "(", "reg1", ")", ";", "if", "(", "GET_CODE", "(", "reg1", ")", "!=", "REG", ")", "return", "0", ";", "regno1", "=", "REGNO", "(", "reg1", ")", ";", "if", "(", "GET_CODE", "(", "reg2", ")", "==", "SUBREG", ")", "reg2", "=", "SUBREG_REG", "(", "reg2", ")", ";", "if", "(", "GET_CODE", "(", "reg2", ")", "!=", "REG", ")", "return", "0", ";", "regno2", "=", "REGNO", "(", "reg2", ")", ";", "if", "(", "SPARC_INT_REG_P", "(", "regno1", ")", "&&", "SPARC_INT_REG_P", "(", "regno2", ")", ")", "return", "1", ";", "if", "(", "TARGET_VIS3", ")", "{", "if", "(", "(", "SPARC_INT_REG_P", "(", "regno1", ")", "&&", "SPARC_FP_REG_P", "(", "regno2", ")", ")", "||", "(", "SPARC_FP_REG_P", "(", "regno1", ")", "&&", "SPARC_INT_REG_P", "(", "regno2", ")", ")", ")", "return", "1", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Like", "sparc_splitdi_legitimate", "but", "for", "REG", "<", "--", ">", "REG", "moves", "."], "TS_V_token": ["sparc", "0", "0", "1", "1", "0"], "File": "sparc4", "Func": "sparc_split_regreg_legitimate", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5940, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_cannot_substitute_mem_equiv_p", "(", "rtx", "mem", ")", "{", "gcc_assert", "(", "MEM_P", "(", "mem", ")", ")", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "mem", ",", "0", ")", ")", "==", "AND", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CANNOT_SUBSTITUTE_MEM_EQUIV_P", "."], "TS_V_token": ["rs6000", "0"], "File": "rs6000", "Func": "rs6000_cannot_substitute_mem_equiv_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5941, "Length": 37, "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": 5942, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "HOST_WIDE_INT", "ix86_memmodel_check", "(", "unsigned", "HOST_WIDE_INT", "val", ")", "{", "enum", "memmodel", "model", "=", "memmodel_from_int", "(", "val", ")", ";", "bool", "strong", ";", "if", "(", "val", "&", "~", "(", "unsigned", "HOST_WIDE_INT", ")", "(", "IX86_HLE_ACQUIRE", "|", "IX86_HLE_RELEASE", "|", "MEMMODEL_MASK", ")", "||", "(", "(", "val", "&", "IX86_HLE_ACQUIRE", ")", "&&", "(", "val", "&", "IX86_HLE_RELEASE", ")", ")", ")", "{", "warning", "(", "OPT_Winvalid_memory_model", ",", "\"unknown architecture specific memory model\"", ")", ";", "return", "MEMMODEL_SEQ_CST", ";", "}", "strong", "=", "(", "is_mm_acq_rel", "(", "model", ")", "||", "is_mm_seq_cst", "(", "model", ")", ")", ";", "if", "(", "val", "&", "IX86_HLE_ACQUIRE", "&&", "!", "(", "is_mm_acquire", "(", "model", ")", "||", "strong", ")", ")", "{", "warning", "(", "OPT_Winvalid_memory_model", ",", "\"HLE_ACQUIRE not used with ACQUIRE or stronger memory model\"", ")", ";", "return", "MEMMODEL_SEQ_CST", "|", "IX86_HLE_ACQUIRE", ";", "}", "if", "(", "val", "&", "IX86_HLE_RELEASE", "&&", "!", "(", "is_mm_release", "(", "model", ")", "||", "strong", ")", ")", "{", "warning", "(", "OPT_Winvalid_memory_model", ",", "\"HLE_RELEASE not used with RELEASE or stronger memory model\"", ")", ";", "return", "MEMMODEL_SEQ_CST", "|", "IX86_HLE_RELEASE", ";", "}", "return", "val", ";", "}", ""], "natrual_language": ["Validate", "target", "specific", "memory", "model", "bits", "in", "VAL", "."], "TS_V_token": ["i386", "\"unknown architecture specific memory model\"", "\"HLE_ACQUIRE not used with ACQUIRE or stronger memory model\"", "\"HLE_RELEASE not used with RELEASE or stronger memory model\""], "File": "i3867", "Func": "ix86_memmodel_check", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5943, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_cprestore_address_p", "(", "rtx", "x", ",", "bool", "load_p", ")", "{", "rtx", "given_base", ",", "required_base", ";", "HOST_WIDE_INT", "given_offset", ",", "required_offset", ";", "mips_split_plus", "(", "x", ",", "&", "given_base", ",", "&", "given_offset", ")", ";", "mips_get_cprestore_base_and_offset", "(", "&", "required_base", ",", "&", "required_offset", ",", "load_p", ")", ";", "return", "given_base", "==", "required_base", "&&", "given_offset", "==", "required_offset", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "the", "load", "or", "store", "address", "of", "the", "cprestore", "slot", ";", "LOAD_P", "says", "which", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_cprestore_address_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5944, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "ARM_LOW_OVERHEAD_LOOPS_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMLowOverheadLoops", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5945, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_mem_fits_mode_p", "(", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "return", "(", "MEM_P", "(", "x", ")", "&&", "MEM_SIZE_KNOWN_P", "(", "x", ")", "&&", "MEM_SIZE", "(", "x", ")", "==", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "MEM", "with", "the", "same", "size", "as", "MODE", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_mem_fits_mode_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5946, "Length": 34, "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", "::", "SHL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SRL", ":", "return", "PerformShiftCombine", "(", "N", ",", "DCI", ",", "getSubtarget", "(", ")", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "PerformIntrinsicCombine", "(", "N", ",", "DCI", ".", "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": ["AArch64", "AArch64", "ISD::AND", "ISD::OR", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::INTRINSIC_WO_CHAIN"], "File": "AArch64ISelLowering138", "Func": "PerformDAGCombine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5947, "Length": 107, "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": 5948, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "Thumb1RegisterInfo", "::", "getPointerRegClass", "(", "unsigned", "Kind", ")", "const", "{", "return", "ARM", "::", "tGPRRegisterClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["ARM", "ARM::tGPRRegisterClass"], "File": "Thumb1RegisterInfo17", "Func": "getPointerRegClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5949, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getID", "(", ")", "const", "{", "return", "ID", ";", "}", ""], "natrual_language": ["Return", "the", "register", "class", "ID", "number", "."], "TS_V_token": ["X86"], "File": "X86DomainReassignment", "Func": "getID", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5950, "Length": 10, "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", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "bool", "Is64Bit", "=", "Subtarget", "->", "is64Bit", "(", ")", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "getTargetMachine", "(", ")", ",", "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", ".", "getValVT", "(", ")", ";", "if", "(", "(", "CopyVT", "==", "MVT", "::", "f32", "||", "CopyVT", "==", "MVT", "::", "f64", ")", "&&", "(", "(", "Is64Bit", "||", "Ins", "[", "i", "]", ".", "Flags", ".", "isInReg", "(", ")", ")", "&&", "!", "Subtarget", "->", "hasSSE1", "(", ")", ")", ")", "{", "report_fatal_error", "(", "\"SSE register return with SSE disabled\"", ")", ";", "}", "SDValue", "Val", ";", "if", "(", "VA", ".", "getLocReg", "(", ")", "==", "X86", "::", "ST0", "||", "VA", ".", "getLocReg", "(", ")", "==", "X86", "::", "ST1", ")", "{", "if", "(", "isScalarFPTypeInSSEReg", "(", "VA", ".", "getValVT", "(", ")", ")", ")", "CopyVT", "=", "MVT", "::", "f80", ";", "SDValue", "Ops", "[", "]", "=", "{", "Chain", ",", "InFlag", "}", ";", "Chain", "=", "SDValue", "(", "DAG", ".", "getMachineNode", "(", "X86", "::", "FpPOP_RETVAL", ",", "dl", ",", "CopyVT", ",", "MVT", "::", "Other", ",", "MVT", "::", "Glue", ",", "Ops", ")", ",", "1", ")", ";", "Val", "=", "Chain", ".", "getValue", "(", "0", ")", ";", "if", "(", "CopyVT", "!=", "VA", ".", "getValVT", "(", ")", ")", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "FP_ROUND", ",", "dl", ",", "VA", ".", "getValVT", "(", ")", ",", "Val", ",", "DAG", ".", "getIntPtrConstant", "(", "1", ")", ")", ";", "}", "else", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "CopyVT", ",", "InFlag", ")", ".", "getValue", "(", "1", ")", ";", "Val", "=", "Chain", ".", "getValue", "(", "0", ")", ";", "}", "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", "\"SSE register return with SSE disabled\"", "X86::ST0", "X86::ST1", "MVT::f80", "X86::FpPOP_RETVAL", "MVT::Other", "MVT::Glue", "1", "0", "ISD::FP_ROUND", "1", "1", "0", "2"], "File": "X86ISelLowering116", "Func": "LowerCallResult", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5951, "Length": 377, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86Subtarget", "&", "X86Subtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "initializeEnvironment", "(", ")", ";", "initSubtargetFeatures", "(", "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": ["X86", "X86", "X86"], "File": "X86Subtarget (2)", "Func": "initializeSubtargetDependencies", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5952, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pru_compute_frame_layout", "(", "void", ")", "{", "int", "regno", ";", "HARD_REG_SET", "*", "save_mask", ";", "int", "total_size", ";", "int", "var_size", ";", "int", "out_args_size", ";", "int", "save_reg_size", ";", "gcc_assert", "(", "!", "cfun", "->", "machine", "->", "initialized", ")", ";", "save_mask", "=", "&", "cfun", "->", "machine", "->", "save_mask", ";", "CLEAR_HARD_REG_SET", "(", "*", "save_mask", ")", ";", "var_size", "=", "PRU_STACK_ALIGN", "(", "(", "HOST_WIDE_INT", ")", "get_frame_size", "(", ")", ")", ";", "out_args_size", "=", "PRU_STACK_ALIGN", "(", "(", "HOST_WIDE_INT", ")", "crtl", "->", "outgoing_args_size", ")", ";", "total_size", "=", "var_size", "+", "out_args_size", ";", "save_reg_size", "=", "0", ";", "for", "(", "regno", "=", "0", ";", "regno", "<=", "LAST_GP_REGNUM", ";", "regno", "++", ")", "if", "(", "prologue_saved_reg_p", "(", "regno", ")", ")", "{", "SET_HARD_REG_BIT", "(", "*", "save_mask", ",", "regno", ")", ";", "save_reg_size", "+=", "1", ";", "}", "save_reg_size", "=", "PRU_STACK_ALIGN", "(", "save_reg_size", ")", ";", "total_size", "+=", "save_reg_size", ";", "total_size", "+=", "PRU_STACK_ALIGN", "(", "crtl", "->", "args", ".", "pretend_args_size", ")", ";", "cfun", "->", "machine", "->", "total_size", "=", "total_size", ";", "cfun", "->", "machine", "->", "var_size", "=", "var_size", ";", "cfun", "->", "machine", "->", "out_args_size", "=", "out_args_size", ";", "cfun", "->", "machine", "->", "save_reg_size", "=", "save_reg_size", ";", "cfun", "->", "machine", "->", "initialized", "=", "reload_completed", ";", "cfun", "->", "machine", "->", "save_regs_offset", "=", "out_args_size", "+", "var_size", ";", "}", ""], "natrual_language": ["Implement", "TARGET_COMPUTE_FRAME_LAYOUT", "."], "TS_V_token": ["pru", "0", "0", "1"], "File": "pru", "Func": "pru_compute_frame_layout", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5953, "Length": 192, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmBackend", "::", "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": ["Mips", "Mips"], "File": "MipsAsmBackend (2)", "Func": "writeNopData", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5954, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64TargetMachine", "::", "AArch64TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "LittleEndian", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "LittleEndian", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", ",", "isLittle", "(", "LittleEndian", ")", "{", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "AArch64", "architecture", "model", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine10", "Func": "AArch64TargetMachine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5955, "Length": 90, "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": 5956, "Length": 250, "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", "(", "Register", "::", "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": "ARMBaseRegisterInfo17", "Func": "getRegAllocationHints", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5957, "Length": 269, "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": 5958, "Length": 164, "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": 5959, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64InstrInfo", "::", "getLoadStoreImmIdx", "(", "unsigned", "Opc", ")", "{", "switch", "(", "Opc", ")", "{", "default", ":", "return", "2", ";", "case", "AArch64", "::", "LDPXi", ":", "case", "AArch64", "::", "LDPDi", ":", "case", "AArch64", "::", "STPXi", ":", "case", "AArch64", "::", "STPDi", ":", "case", "AArch64", "::", "LDNPXi", ":", "case", "AArch64", "::", "LDNPDi", ":", "case", "AArch64", "::", "STNPXi", ":", "case", "AArch64", "::", "STNPDi", ":", "case", "AArch64", "::", "LDPQi", ":", "case", "AArch64", "::", "STPQi", ":", "case", "AArch64", "::", "LDNPQi", ":", "case", "AArch64", "::", "STNPQi", ":", "case", "AArch64", "::", "LDPWi", ":", "case", "AArch64", "::", "LDPSi", ":", "case", "AArch64", "::", "STPWi", ":", "case", "AArch64", "::", "STPSi", ":", "case", "AArch64", "::", "LDNPWi", ":", "case", "AArch64", "::", "LDNPSi", ":", "case", "AArch64", "::", "STNPWi", ":", "case", "AArch64", "::", "STNPSi", ":", "case", "AArch64", "::", "LDG", ":", "case", "AArch64", "::", "STGPi", ":", "case", "AArch64", "::", "LD1B_IMM", ":", "case", "AArch64", "::", "LD1H_IMM", ":", "case", "AArch64", "::", "LD1W_IMM", ":", "case", "AArch64", "::", "LD1D_IMM", ":", "case", "AArch64", "::", "ST1B_IMM", ":", "case", "AArch64", "::", "ST1H_IMM", ":", "case", "AArch64", "::", "ST1W_IMM", ":", "case", "AArch64", "::", "ST1D_IMM", ":", "case", "AArch64", "::", "LD1B_H_IMM", ":", "case", "AArch64", "::", "LD1SB_H_IMM", ":", "case", "AArch64", "::", "LD1H_S_IMM", ":", "case", "AArch64", "::", "LD1SH_S_IMM", ":", "case", "AArch64", "::", "LD1W_D_IMM", ":", "case", "AArch64", "::", "LD1SW_D_IMM", ":", "case", "AArch64", "::", "ST1B_H_IMM", ":", "case", "AArch64", "::", "ST1H_S_IMM", ":", "case", "AArch64", "::", "ST1W_D_IMM", ":", "case", "AArch64", "::", "LD1B_S_IMM", ":", "case", "AArch64", "::", "LD1SB_S_IMM", ":", "case", "AArch64", "::", "LD1H_D_IMM", ":", "case", "AArch64", "::", "LD1SH_D_IMM", ":", "case", "AArch64", "::", "ST1B_S_IMM", ":", "case", "AArch64", "::", "ST1H_D_IMM", ":", "case", "AArch64", "::", "LD1B_D_IMM", ":", "case", "AArch64", "::", "LD1SB_D_IMM", ":", "case", "AArch64", "::", "ST1B_D_IMM", ":", "return", "3", ";", "case", "AArch64", "::", "ADDG", ":", "case", "AArch64", "::", "STGOffset", ":", "case", "AArch64", "::", "LDR_PXI", ":", "case", "AArch64", "::", "STR_PXI", ":", "return", "2", ";", "}", "}", ""], "natrual_language": ["Returns", "the", "index", "for", "the", "immediate", "for", "a", "given", "instruction", "."], "TS_V_token": ["AArch64", "AArch64", "2", "AArch64::LDPXi", "AArch64::LDPDi", "AArch64::STPXi", "AArch64::STPDi", "AArch64::LDNPXi", "AArch64::LDNPDi", "AArch64::STNPXi", "AArch64::STNPDi", "AArch64::LDPQi", "AArch64::STPQi", "AArch64::LDNPQi", "AArch64::STNPQi", "AArch64::LDPWi", "AArch64::LDPSi", "AArch64::STPWi", "AArch64::STPSi", "AArch64::LDNPWi", "AArch64::LDNPSi", "AArch64::STNPWi", "AArch64::STNPSi", "AArch64::LDG", "AArch64::STGPi", "AArch64::LD1B_IMM", "AArch64::LD1H_IMM", "AArch64::LD1W_IMM", "AArch64::LD1D_IMM", "AArch64::ST1B_IMM", "AArch64::ST1H_IMM", "AArch64::ST1W_IMM", "AArch64::ST1D_IMM", "AArch64::LD1B_H_IMM", "AArch64::LD1SB_H_IMM", "AArch64::LD1H_S_IMM", "AArch64::LD1SH_S_IMM", "AArch64::LD1W_D_IMM", "AArch64::LD1SW_D_IMM", "AArch64::ST1B_H_IMM", "AArch64::ST1H_S_IMM", "AArch64::ST1W_D_IMM", "AArch64::LD1B_S_IMM", "AArch64::LD1SB_S_IMM", "AArch64::LD1H_D_IMM", "AArch64::LD1SH_D_IMM", "AArch64::ST1B_S_IMM", "AArch64::ST1H_D_IMM", "AArch64::LD1B_D_IMM", "AArch64::LD1SB_D_IMM", "AArch64::ST1B_D_IMM", "3", "AArch64::ADDG", "AArch64::STGOffset", "AArch64::LDR_PXI", "AArch64::STR_PXI", "2"], "File": "AArch64InstrInfo107", "Func": "getLoadStoreImmIdx", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5960, "Length": 287, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86FrameLowering", "::", "mergeSPUpdates", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "unsigned", "StackPtr", ",", "bool", "doMergeWithPrevious", ")", "{", "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", "(", "(", "Opc", "==", "X86", "::", "ADD64ri32", "||", "Opc", "==", "X86", "::", "ADD64ri8", "||", "Opc", "==", "X86", "::", "ADD32ri", "||", "Opc", "==", "X86", "::", "ADD32ri8", "||", "Opc", "==", "X86", "::", "LEA32r", "||", "Opc", "==", "X86", "::", "LEA64_32r", ")", "&&", "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", "X86", "0", "0", "X86::ADD64ri32", "X86::ADD64ri8", "X86::ADD32ri", "X86::ADD32ri8", "X86::LEA32r", "X86::LEA64_32r", "0", "2", "X86::SUB64ri32", "X86::SUB64ri8", "X86::SUB32ri", "X86::SUB32ri8", "0", "2"], "File": "X86FrameLowering90", "Func": "mergeSPUpdates", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5961, "Length": 259, "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": 5962, "Length": 391, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_can_const_movi_rtx_p", "(", "rtx", "x", ",", "machine_mode", "mode", ")", "{", "if", "(", "!", "TARGET_SIMD", ")", "return", "false", ";", "machine_mode", "vmode", ";", "scalar_int_mode", "imode", ";", "unsigned", "HOST_WIDE_INT", "ival", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST_DOUBLE", "&&", "SCALAR_FLOAT_MODE_P", "(", "mode", ")", ")", "{", "if", "(", "!", "aarch64_reinterpret_float_as_int", "(", "x", ",", "&", "ival", ")", ")", "return", "false", ";", "if", "(", "aarch64_float_const_zero_rtx_p", "(", "x", ")", ")", "return", "true", ";", "imode", "=", "int_mode_for_mode", "(", "mode", ")", ".", "require", "(", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST_INT", "&&", "is_a", "<", "scalar_int_mode", ">", "(", "mode", ",", "&", "imode", ")", ")", "ival", "=", "INTVAL", "(", "x", ")", ";", "else", "return", "false", ";", "int", "width", "=", "GET_MODE_BITSIZE", "(", "imode", ")", "==", "64", "?", "128", ":", "64", ";", "vmode", "=", "aarch64_simd_container_mode", "(", "imode", ",", "width", ")", ";", "rtx", "v_op", "=", "aarch64_simd_gen_const_vector_dup", "(", "vmode", ",", "ival", ")", ";", "return", "aarch64_simd_valid_immediate", "(", "v_op", ",", "NULL", ")", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "rtx", "X", "is", "immediate", "constant", "that", "fits", "in", "a", "single", "MOVI", "immediate", "operation", "."], "TS_V_token": ["aarch64", "64", "128", "64"], "File": "aarch64", "Func": "aarch64_can_const_movi_rtx_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5963, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "AArch64TargetLowering", "::", "shouldExpandAtomicLoadInIR", "(", "LoadInst", "*", "LI", ")", "const", "{", "unsigned", "Size", "=", "LI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "Size", "!=", "128", "||", "isOpSuitableForLDPSTP", "(", "LI", ")", ")", "return", "AtomicExpansionKind", "::", "None", ";", "return", "AtomicExpansionKind", "::", "LLSC", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "(", "atomic", ")", "load", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "."], "TS_V_token": ["AArch64", "AArch64", "128"], "File": "AArch64ISelLowering115", "Func": "shouldExpandAtomicLoadInIR", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5964, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "getIntImmCost", "(", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "if", "(", "Imm", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "isInt", "<", "16", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Basic", ";", "if", "(", "isInt", "<", "21", ">", "(", "Imm", ".", "getZExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Basic", ";", "if", "(", "isInt", "<", "32", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "{", "if", "(", "(", "Imm", ".", "getSExtValue", "(", ")", "&", "0xFFFF", ")", "==", "0", ")", "return", "TTI", "::", "TCC_Basic", ";", "return", "2", "*", "TTI", "::", "TCC_Basic", ";", "}", "return", "4", "*", "TTI", "::", "TCC_Basic", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["Lanai", "0", "16", "21", "32", "0xFFFF", "0", "2", "4"], "File": "LanaiTargetTransformInfo11", "Func": "getIntImmCost", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5965, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_va_start", "(", "tree", "valist", ",", "rtx", "nextarg", ")", "{", "HOST_WIDE_INT", "words", ",", "n_gpr", ",", "n_fpr", ";", "tree", "f_gpr", ",", "f_fpr", ",", "f_res", ",", "f_ovf", ",", "f_sav", ";", "tree", "gpr", ",", "fpr", ",", "ovf", ",", "sav", ",", "t", ";", "if", "(", "DEFAULT_ABI", "!=", "ABI_V4", ")", "{", "std_expand_builtin_va_start", "(", "valist", ",", "nextarg", ")", ";", "return", ";", "}", "f_gpr", "=", "TYPE_FIELDS", "(", "TREE_TYPE", "(", "va_list_type_node", ")", ")", ";", "f_fpr", "=", "DECL_CHAIN", "(", "f_gpr", ")", ";", "f_res", "=", "DECL_CHAIN", "(", "f_fpr", ")", ";", "f_ovf", "=", "DECL_CHAIN", "(", "f_res", ")", ";", "f_sav", "=", "DECL_CHAIN", "(", "f_ovf", ")", ";", "valist", "=", "build_simple_mem_ref", "(", "valist", ")", ";", "gpr", "=", "build3", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_gpr", ")", ",", "valist", ",", "f_gpr", ",", "NULL_TREE", ")", ";", "fpr", "=", "build3", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_fpr", ")", ",", "unshare_expr", "(", "valist", ")", ",", "f_fpr", ",", "NULL_TREE", ")", ";", "ovf", "=", "build3", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_ovf", ")", ",", "unshare_expr", "(", "valist", ")", ",", "f_ovf", ",", "NULL_TREE", ")", ";", "sav", "=", "build3", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_sav", ")", ",", "unshare_expr", "(", "valist", ")", ",", "f_sav", ",", "NULL_TREE", ")", ";", "words", "=", "crtl", "->", "args", ".", "info", ".", "words", ";", "n_gpr", "=", "MIN", "(", "crtl", "->", "args", ".", "info", ".", "sysv_gregno", "-", "GP_ARG_MIN_REG", ",", "GP_ARG_NUM_REG", ")", ";", "n_fpr", "=", "MIN", "(", "crtl", "->", "args", ".", "info", ".", "fregno", "-", "FP_ARG_MIN_REG", ",", "FP_ARG_NUM_REG", ")", ";", "if", "(", "TARGET_DEBUG_ARG", ")", "fprintf", "(", "stderr", ",", "\"va_start: words = \"", "HOST_WIDE_INT_PRINT_DEC", "\", n_gpr = \"", "HOST_WIDE_INT_PRINT_DEC", "\", n_fpr = \"", "HOST_WIDE_INT_PRINT_DEC", "\"\\n\"", ",", "words", ",", "n_gpr", ",", "n_fpr", ")", ";", "if", "(", "cfun", "->", "va_list_gpr_size", ")", "{", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "gpr", ")", ",", "gpr", ",", "build_int_cst", "(", "NULL_TREE", ",", "n_gpr", ")", ")", ";", "TREE_SIDE_EFFECTS", "(", "t", ")", "=", "1", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "}", "if", "(", "cfun", "->", "va_list_fpr_size", ")", "{", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "fpr", ")", ",", "fpr", ",", "build_int_cst", "(", "NULL_TREE", ",", "n_fpr", ")", ")", ";", "TREE_SIDE_EFFECTS", "(", "t", ")", "=", "1", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "if", "(", "call_ABI_of_interest", "(", "cfun", "->", "decl", ")", ")", "rs6000_passes_float", "=", "true", ";", "}", "t", "=", "make_tree", "(", "TREE_TYPE", "(", "ovf", ")", ",", "virtual_incoming_args_rtx", ")", ";", "if", "(", "words", "!=", "0", ")", "t", "=", "fold_build_pointer_plus_hwi", "(", "t", ",", "words", "*", "MIN_UNITS_PER_WORD", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "ovf", ")", ",", "ovf", ",", "t", ")", ";", "TREE_SIDE_EFFECTS", "(", "t", ")", "=", "1", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "if", "(", "!", "cfun", "->", "va_list_gpr_size", "&&", "!", "cfun", "->", "va_list_fpr_size", "&&", "n_gpr", "<", "GP_ARG_NUM_REG", "&&", "n_fpr", "<", "FP_ARG_V4_MAX_REG", ")", "return", ";", "t", "=", "make_tree", "(", "TREE_TYPE", "(", "sav", ")", ",", "virtual_stack_vars_rtx", ")", ";", "if", "(", "cfun", "->", "machine", "->", "varargs_save_offset", ")", "t", "=", "fold_build_pointer_plus_hwi", "(", "t", ",", "cfun", "->", "machine", "->", "varargs_save_offset", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "sav", ")", ",", "sav", ",", "t", ")", ";", "TREE_SIDE_EFFECTS", "(", "t", ")", "=", "1", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "}", ""], "natrual_language": ["Implement", "va_start", "."], "TS_V_token": ["rs6000", "\"va_start: words = \"", "\", n_gpr = \"", "\", n_fpr = \"", "\"\\n\"", "1", "1", "0", "1", "1"], "File": "rs60004", "Func": "rs6000_va_start", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5966, "Length": 510, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MipsSubtarget", "::", "MipsSubtarget", "(", "const", "TargetMachine", "&", "TM", ",", "const", "Module", "&", "M", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "little", ")", ":", "MipsArchVersion", "(", "Mips1", ")", ",", "MipsABI", "(", "O32", ")", ",", "IsLittle", "(", "little", ")", ",", "IsSingleFloat", "(", "false", ")", ",", "IsFP64bit", "(", "false", ")", ",", "IsGP64bit", "(", "false", ")", ",", "HasVFPU", "(", "false", ")", ",", "HasABICall", "(", "true", ")", ",", "HasAbsoluteCall", "(", "false", ")", ",", "IsLinux", "(", "true", ")", ",", "HasSEInReg", "(", "false", ")", ",", "HasCondMov", "(", "false", ")", ",", "HasMulDivAdd", "(", "false", ")", ",", "HasMinMax", "(", "false", ")", ",", "HasSwap", "(", "false", ")", ",", "HasBitCount", "(", "false", ")", "{", "std", "::", "string", "CPU", "=", "\"mips1\"", ";", "ParseSubtargetFeatures", "(", "FS", ",", "CPU", ")", ";", "const", "std", "::", "string", "&", "TT", "=", "M", ".", "getTargetTriple", "(", ")", ";", "SSectionThreshold", "=", "SSThreshold", ";", "if", "(", "TT", ".", "find", "(", "\"linux\"", ")", "==", "std", "::", "string", "::", "npos", ")", "IsLinux", "=", "false", ";", "if", "(", "TT", ".", "find", "(", "\"mipsallegrex\"", ")", "!=", "std", "::", "string", "::", "npos", "||", "TT", ".", "find", "(", "\"psp\"", ")", "!=", "std", "::", "string", "::", "npos", ")", "{", "MipsABI", "=", "EABI", ";", "IsSingleFloat", "=", "true", ";", "MipsArchVersion", "=", "Mips2", ";", "HasVFPU", "=", "true", ";", "HasSEInReg", "=", "true", ";", "HasBitCount", "=", "true", ";", "HasSwap", "=", "true", ";", "HasCondMov", "=", "true", ";", "}", "if", "(", "NotABICall", "||", "isABI_EABI", "(", ")", "||", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", ")", "HasABICall", "=", "false", ";", "if", "(", "HasABICall", "&&", "AbsoluteCall", ")", "HasAbsoluteCall", "=", "true", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "\"mips1\"", "\"linux\"", "\"mipsallegrex\"", "\"psp\"", "Mips", "Mips", "Mips"], "File": "MipsSubtarget46", "Func": "MipsSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5967, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LEGTargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InGlue", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "SDLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "assert", "(", "!", "isVarArg", "&&", "\"Unsupported\"", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_LEG", ")", ";", "for", "(", "auto", "&", "Loc", ":", "RVLocs", ")", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "Loc", ".", "getLocReg", "(", ")", ",", "Loc", ".", "getValVT", "(", ")", ",", "InGlue", ")", ".", "getValue", "(", "1", ")", ";", "InGlue", "=", "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": ["LEG", "LEG", "ISD::InputArg", "\"Unsupported\"", "16", "LEG", "1", "2", "0"], "File": "LEGISelLowering1", "Func": "LowerCallResult", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5968, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"CheriLoopPointerDecanonicalize\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"CheriLoopPointerDecanonicalize\""], "File": "CheriLoopPointerDecanonicalize", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5969, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_return_pops_args", "(", "tree", "fundecl", ",", "tree", "funtype", ",", "int", "size", ")", "{", "unsigned", "int", "ccvt", ";", "if", "(", "TARGET_64BIT", ")", "return", "0", ";", "ccvt", "=", "ix86_get_callcvt", "(", "funtype", ")", ";", "if", "(", "(", "ccvt", "&", "(", "IX86_CALLCVT_STDCALL", "|", "IX86_CALLCVT_FASTCALL", "|", "IX86_CALLCVT_THISCALL", ")", ")", "!=", "0", "&&", "!", "stdarg_p", "(", "funtype", ")", ")", "return", "size", ";", "if", "(", "aggregate_value_p", "(", "TREE_TYPE", "(", "funtype", ")", ",", "fundecl", ")", "&&", "!", "ix86_keep_aggregate_return_pointer", "(", "funtype", ")", ")", "{", "int", "nregs", "=", "ix86_function_regparm", "(", "funtype", ",", "fundecl", ")", ";", "if", "(", "nregs", "==", "0", ")", "return", "GET_MODE_SIZE", "(", "Pmode", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Value", "is", "the", "number", "of", "bytes", "of", "arguments", "automatically", "popped", "when", "returning", "from", "a", "subroutine", "call", ".", "FUNDECL", "is", "the", "declaration", "node", "of", "the", "function", "(", "as", "a", "tree", ")", ",", "FUNTYPE", "is", "the", "data", "type", "of", "the", "function", "(", "as", "a", "tree", ")", ",", "or", "for", "a", "library", "call", "it", "is", "an", "identifier", "node", "for", "the", "subroutine", "name", ".", "SIZE", "is", "the", "number", "of", "bytes", "of", "arguments", "passed", "on", "the", "stack", ".", "On", "the", "80386", ",", "the", "RTD", "insn", "may", "be", "used", "to", "pop", "them", "if", "the", "number", "of", "args", "is", "fixed", ",", "but", "if", "the", "number", "is", "variable", "then", "the", "caller", "must", "pop", "them", "all", ".", "RTD", "ca", "n't", "be", "used", "for", "library", "calls", "now", "because", "the", "library", "is", "compiled", "with", "the", "Unix", "compiler", ".", "Use", "of", "RTD", "is", "a", "selectable", "option", ",", "since", "it", "is", "incompatible", "with", "standard", "Unix", "calling", "sequences", ".", "If", "the", "option", "is", "not", "selected", ",", "the", "caller", "must", "always", "pop", "the", "args", ".", "The", "attribute", "stdcall", "is", "equivalent", "to", "RTD", "on", "a", "per", "module", "basis", "."], "TS_V_token": ["i386", "0", "0", "0", "0"], "File": "i3864", "Func": "ix86_return_pops_args", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5970, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsCallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "ArrayRef", "<", "unsigned", ">", "VRegs", ")", "const", "{", "MachineInstrBuilder", "Ret", "=", "MIRBuilder", ".", "buildInstrNoInsert", "(", "Mips", "::", "RetRA", ")", ";", "if", "(", "Val", "!=", "nullptr", "&&", "!", "isSupportedType", "(", "Val", "->", "getType", "(", ")", ")", ")", "return", "false", ";", "if", "(", "!", "VRegs", ".", "empty", "(", ")", ")", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "const", "DataLayout", "&", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "const", "MipsTargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "MipsTargetLowering", ">", "(", ")", ";", "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", ">", "RetInfos", ";", "SmallVector", "<", "unsigned", ",", "8", ">", "OrigArgIndices", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "SplitEVTs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "ArgInfo", "CurArgInfo", "=", "ArgInfo", "{", "VRegs", "[", "i", "]", ",", "SplitEVTs", "[", "i", "]", ".", "getTypeForEVT", "(", "Ctx", ")", "}", ";", "setArgFlags", "(", "CurArgInfo", ",", "AttributeList", "::", "ReturnIndex", ",", "DL", ",", "F", ")", ";", "splitToValueTypes", "(", "CurArgInfo", ",", "0", ",", "RetInfos", ",", "OrigArgIndices", ")", ";", "}", "SmallVector", "<", "ISD", "::", "OutputArg", ",", "8", ">", "Outs", ";", "subTargetRegTypeForCallingConv", "(", "MIRBuilder", ",", "RetInfos", ",", "OrigArgIndices", ",", "[", "&", "]", "(", "ISD", "::", "ArgFlagsTy", "flags", ",", "EVT", "vt", ",", "EVT", "argvt", ",", "bool", "used", ",", "unsigned", "origIdx", ",", "unsigned", "partOffs", ")", "{", "Outs", ".", "emplace_back", "(", "flags", ",", "vt", ",", "argvt", ",", "used", ",", "origIdx", ",", "partOffs", ")", ";", "}", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "MipsCCState", "CCInfo", "(", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ",", "MF", ",", "ArgLocs", ",", "F", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "TLI", ".", "CCAssignFnForReturn", "(", ")", ")", ";", "setLocInfo", "(", "ArgLocs", ",", "Outs", ")", ";", "OutgoingValueHandler", "RetHandler", "(", "MIRBuilder", ",", "MF", ".", "getRegInfo", "(", ")", ",", "Ret", ")", ";", "if", "(", "!", "RetHandler", ".", "handle", "(", "ArgLocs", ",", "RetInfos", ")", ")", "{", "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": ["Mips", "Mips", "Mips::RetRA", "Mips", "Mips", "4", "\"For each split Type there should be exactly one VReg.\"", "8", "8", "0", "0", "ISD::OutputArg", "8", "ISD::ArgFlagsTy", "16", "Mips"], "File": "MipsCallLowering5", "Func": "lowerReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5971, "Length": 403, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_globalize_decl_name", "(", "FILE", "*", "stream", ",", "tree", "decl", ")", "{", "const", "char", "*", "name", "=", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "decl", ")", ",", "0", ")", ",", "0", ")", ";", "tree", "version_attr", "=", "lookup_attribute", "(", "\"version_id\"", ",", "DECL_ATTRIBUTES", "(", "decl", ")", ")", ";", "if", "(", "version_attr", ")", "{", "tree", "v", "=", "TREE_VALUE", "(", "TREE_VALUE", "(", "version_attr", ")", ")", ";", "const", "char", "*", "p", "=", "TREE_STRING_POINTER", "(", "v", ")", ";", "fprintf", "(", "stream", ",", "\"\\t.alias %s#, \\\"%s{%s}\\\"\\n\"", ",", "name", ",", "name", ",", "p", ")", ";", "}", "targetm", ".", "asm_out", ".", "globalize_label", "(", "stream", ",", "name", ")", ";", "if", "(", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", ")", "ASM_OUTPUT_TYPE_DIRECTIVE", "(", "stream", ",", "name", ",", "\"function\"", ")", ";", "}", ""], "natrual_language": ["Globalize", "a", "declaration", "."], "TS_V_token": ["ia64", "0", "0", "\"version_id\"", "\"\\t.alias %s#, \\\"%s{%s}\\\"\\n\"", "\"function\""], "File": "ia64", "Func": "ia64_globalize_decl_name", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5972, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ARMSubtarget", "*", "ARMBaseTargetMachine", "::", "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", ";", "Attribute", "SFAttr", "=", "FnAttrs", ".", "getAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "\"use-soft-float\"", ")", ";", "bool", "SoftFloat", "=", "!", "SFAttr", ".", "hasAttribute", "(", "Attribute", "::", "None", ")", "?", "SFAttr", ".", "getValueAsString", "(", ")", "==", "\"true\"", ":", "Options", ".", "UseSoftFloat", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "CPU", "+", "FS", "+", "(", "SoftFloat", "?", "\"use-soft-float=true\"", ":", "\"use-soft-float=false\"", ")", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "llvm", "::", "make_unique", "<", "ARMSubtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "*", "this", ",", "isLittle", ")", ";", "}", "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": ["ARM", "ARM", "ARM", "\"target-cpu\"", "\"target-features\"", "\"use-soft-float\"", "\"true\"", "\"use-soft-float=true\"", "\"use-soft-float=false\"", "ARM"], "File": "ARMTargetMachine25", "Func": "getSubtargetImpl", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5973, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64TargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "EVT", "VT", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "unsigned", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "\"sp\"", ",", "AArch64", "::", "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": ["AArch64", "AArch64", "\"sp\"", "AArch64::SP", "0", "\"Invalid register name \\\"\"", "\"\\\".\""], "File": "AArch64ISelLowering (2)", "Func": "getRegisterByName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5974, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsTargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "unsigned", "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_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": "MipsISelLowering93", "Func": "LowerCallResult", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5975, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "csky_arg_partial_bytes", "(", "cumulative_args_t", "pcum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "pcum", "=", "get_cumulative_args", "(", "pcum_v", ")", ";", "int", "param_size", "=", "csky_num_arg_regs", "(", "arg", ".", "mode", ",", "arg", ".", "type", ",", "pcum", "->", "is_stdarg", ")", ";", "int", "reg", "=", "pcum", "->", "reg", ";", "if", "(", "FUNCTION_VARG_MODE_P", "(", "arg", ".", "mode", ")", "&&", "!", "pcum", "->", "is_stdarg", ")", "return", "0", ";", "if", "(", "reg", "<", "CSKY_NPARM_REGS", "&&", "reg", "+", "param_size", ">", "CSKY_NPARM_REGS", ")", "return", "(", "CSKY_NPARM_REGS", "-", "reg", ")", "*", "UNITS_PER_WORD", ";", "return", "0", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ARG_PARTIAL_BYTES", ".", "Return", "the", "number", "of", "bytes", "at", "the", "beginning", "of", "an", "argument", "that", "must", "be", "put", "in", "registers", ".", "The", "value", "must", "be", "zero", "for", "arguments", "that", "are", "passed", "entirely", "in", "registers", "or", "that", "are", "entirely", "pushed", "on", "the", "stack", "."], "TS_V_token": ["csky", "0", "0"], "File": "csky", "Func": "csky_arg_partial_bytes", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5976, "Length": 89, "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", "::", "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::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": "AArch64InstrInfo1", "Func": "analyzeCompare", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5977, "Length": 277, "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", "{", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "MCFixupKindInfo", "Info", "=", "getFixupKindInfo", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "MCContext", "&", "Ctx", "=", "Asm", ".", "getContext", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "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", ")", ";", "}", "}", "}", ""], "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": "AArch64AsmBackend33", "Func": "applyFixup", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5978, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_emit_binary", "(", "enum", "rtx_code", "code", ",", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "target", ",", "gen_rtx_fmt_ee", "(", "code", ",", "GET_MODE", "(", "target", ")", ",", "op0", ",", "op1", ")", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "instruction", "of", "the", "form", "(", "set", "TARGET", "(", "CODE", "OP0", "OP1", ")", ")", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_emit_binary", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5979, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "tree", "def_builtin_const", "(", "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", ")", "TREE_READONLY", "(", "decl", ")", "=", "1", ";", "else", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "const_p", "=", "true", ";", "return", "decl", ";", "}", ""], "natrual_language": ["Likewise", ",", "but", "also", "marks", "the", "function", "as", "``", "const", "''", "."], "TS_V_token": ["i386", "1"], "File": "i386-builtins", "Func": "def_builtin_const", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5980, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "machopic_output_stub", "(", "FILE", "*", "file", ",", "const", "char", "*", "symb", ",", "const", "char", "*", "stub", ")", "{", "unsigned", "int", "length", ";", "char", "*", "binder_name", ",", "*", "symbol_name", ",", "lazy_ptr_name", "[", "32", "]", ";", "int", "label", "=", "++", "current_machopic_label_num", ";", "symb", "=", "(", "*", "targetm", ".", "strip_name_encoding", ")", "(", "symb", ")", ";", "length", "=", "strlen", "(", "stub", ")", ";", "binder_name", "=", "alloca", "(", "length", "+", "32", ")", ";", "GEN_BINDER_NAME_FOR_STUB", "(", "binder_name", ",", "stub", ",", "length", ")", ";", "length", "=", "strlen", "(", "symb", ")", ";", "symbol_name", "=", "alloca", "(", "length", "+", "32", ")", ";", "GEN_SYMBOL_NAME_FOR_SYMBOL", "(", "symbol_name", ",", "symb", ",", "length", ")", ";", "sprintf", "(", "lazy_ptr_name", ",", "\"L%d$lz\"", ",", "label", ")", ";", "if", "(", "MACHOPIC_PURE", ")", "machopic_picsymbol_stub_section", "(", ")", ";", "else", "machopic_symbol_stub_section", "(", ")", ";", "fprintf", "(", "file", ",", "\"%s:\\n\"", ",", "stub", ")", ";", "fprintf", "(", "file", ",", "\"\\t.indirect_symbol %s\\n\"", ",", "symbol_name", ")", ";", "if", "(", "MACHOPIC_PURE", ")", "{", "fprintf", "(", "file", ",", "\"\\tcall LPC$%d\\nLPC$%d:\\tpopl %%eax\\n\"", ",", "label", ",", "label", ")", ";", "fprintf", "(", "file", ",", "\"\\tmovl %s-LPC$%d(%%eax),%%edx\\n\"", ",", "lazy_ptr_name", ",", "label", ")", ";", "fprintf", "(", "file", ",", "\"\\tjmp %%edx\\n\"", ")", ";", "}", "else", "fprintf", "(", "file", ",", "\"\\tjmp *%s\\n\"", ",", "lazy_ptr_name", ")", ";", "fprintf", "(", "file", ",", "\"%s:\\n\"", ",", "binder_name", ")", ";", "if", "(", "MACHOPIC_PURE", ")", "{", "fprintf", "(", "file", ",", "\"\\tlea %s-LPC$%d(%%eax),%%eax\\n\"", ",", "lazy_ptr_name", ",", "label", ")", ";", "fprintf", "(", "file", ",", "\"\\tpushl %%eax\\n\"", ")", ";", "}", "else", "fprintf", "(", "file", ",", "\"\\t pushl $%s\\n\"", ",", "lazy_ptr_name", ")", ";", "fprintf", "(", "file", ",", "\"\\tjmp dyld_stub_binding_helper\\n\"", ")", ";", "machopic_lazy_symbol_ptr_section", "(", ")", ";", "fprintf", "(", "file", ",", "\"%s:\\n\"", ",", "lazy_ptr_name", ")", ";", "fprintf", "(", "file", ",", "\"\\t.indirect_symbol %s\\n\"", ",", "symbol_name", ")", ";", "fprintf", "(", "file", ",", "\"\\t.long %s\\n\"", ",", "binder_name", ")", ";", "}", ""], "natrual_language": ["Generate", "external", "symbol", "indirection", "stubs", "(", "PIC", "and", "non-PIC", ")", "."], "TS_V_token": ["i386", "32", "32", "32", "\"L%d$lz\"", "\"%s:\\n\"", "\"\\t.indirect_symbol %s\\n\"", "\"\\tcall LPC$%d\\nLPC$%d:\\tpopl %%eax\\n\"", "\"\\tmovl %s-LPC$%d(%%eax),%%edx\\n\"", "\"\\tjmp %%edx\\n\"", "\"\\tjmp *%s\\n\"", "\"%s:\\n\"", "\"\\tlea %s-LPC$%d(%%eax),%%eax\\n\"", "\"\\tpushl %%eax\\n\"", "\"\\t pushl $%s\\n\"", "\"\\tjmp dyld_stub_binding_helper\\n\"", "\"%s:\\n\"", "\"\\t.indirect_symbol %s\\n\"", "\"\\t.long %s\\n\""], "File": "i3863", "Func": "machopic_output_stub", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5981, "Length": 269, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "OperandMatchResultTy", "SystemZAsmParser", "::", "tryParseRegister", "(", "unsigned", "&", "RegNo", ",", "SMLoc", "&", "StartLoc", ",", "SMLoc", "&", "EndLoc", ")", "{", "bool", "Result", "=", "ParseRegister", "(", "RegNo", ",", "StartLoc", ",", "EndLoc", ",", "true", ")", ";", "bool", "PendingErrors", "=", "getParser", "(", ")", ".", "hasPendingError", "(", ")", ";", "getParser", "(", ")", ".", "clearPendingErrors", "(", ")", ";", "if", "(", "PendingErrors", ")", "return", "MatchOperand_ParseFail", ";", "if", "(", "Result", ")", "return", "MatchOperand_NoMatch", ";", "return", "MatchOperand_Success", ";", "}", ""], "natrual_language": ["tryParseRegister", "-", "parse", "one", "register", "if", "possible"], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZAsmParser1", "Func": "tryParseRegister", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5982, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rs6000_fold_builtin", "(", "tree", "fndecl", ",", "int", "n_args", "ATTRIBUTE_UNUSED", ",", "tree", "*", "args", ",", "bool", "ignore", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "DECL_BUILT_IN_CLASS", "(", "fndecl", ")", "==", "BUILT_IN_MD", ")", "{", "enum", "rs6000_builtins", "fn_code", "=", "(", "enum", "rs6000_builtins", ")", "DECL_FUNCTION_CODE", "(", "fndecl", ")", ";", "switch", "(", "fn_code", ")", "{", "case", "RS6000_BUILTIN_NANQ", ":", "case", "RS6000_BUILTIN_NANSQ", ":", "{", "tree", "type", "=", "TREE_TYPE", "(", "TREE_TYPE", "(", "fndecl", ")", ")", ";", "const", "char", "*", "str", "=", "c_getstr", "(", "*", "args", ")", ";", "int", "quiet", "=", "fn_code", "==", "RS6000_BUILTIN_NANQ", ";", "REAL_VALUE_TYPE", "real", ";", "if", "(", "str", "&&", "real_nan", "(", "&", "real", ",", "str", ",", "quiet", ",", "TYPE_MODE", "(", "type", ")", ")", ")", "return", "build_real", "(", "type", ",", "real", ")", ";", "return", "NULL_TREE", ";", "}", "case", "RS6000_BUILTIN_INFQ", ":", "case", "RS6000_BUILTIN_HUGE_VALQ", ":", "{", "tree", "type", "=", "TREE_TYPE", "(", "TREE_TYPE", "(", "fndecl", ")", ")", ";", "REAL_VALUE_TYPE", "inf", ";", "real_inf", "(", "&", "inf", ")", ";", "return", "build_real", "(", "type", ",", "inf", ")", ";", "}", "default", ":", "break", ";", "}", "}", "return", "SUBTARGET_FOLD_BUILTIN", "(", "fndecl", ",", "n_args", ",", "args", ",", "ignore", ")", ";", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "early", "folding", "of", "built-ins", ",", "shamelessly", "stolen", "from", "ia64.cc", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_fold_builtin", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5983, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ProtectJTSupportPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Func", ")", "{", "if", "(", "!", "Func", ".", "protectJT", "(", ")", ")", "return", "false", ";", "bool", "modified", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "MBB", "=", "Func", ".", "begin", "(", ")", ";", "MBB", "!=", "Func", ".", "end", "(", ")", ";", "MBB", "++", ")", "{", "MachineBasicBlock", "::", "iterator", "MI", "=", "MBB", "->", "begin", "(", ")", ";", "while", "(", "MI", "!=", "MBB", "->", "end", "(", ")", ")", "{", "MachineBasicBlock", "::", "iterator", "NMI", "=", "std", "::", "next", "(", "MI", ")", ";", "modified", "|=", "handleInst", "(", "*", "MBB", ",", "MI", ")", ";", "MI", "=", "NMI", ";", "}", "}", "return", "modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86"], "File": "X86ProtectJTSupport", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5984, "Length": 106, "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": 5985, "Length": 372, "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": 5986, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "materializeFrameBaseRegister", "(", "MachineBasicBlock", "*", "MBB", ",", "unsigned", "BaseReg", ",", "int", "FrameIdx", ",", "int64_t", "Offset", ")", "const", "{", "ARMFunctionInfo", "*", "AFI", "=", "MBB", "->", "getParent", "(", ")", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "unsigned", "ADDriOpc", "=", "!", "AFI", "->", "isThumbFunction", "(", ")", "?", "ARM", "::", "ADDri", ":", "(", "AFI", "->", "isThumb1OnlyFunction", "(", ")", "?", "ARM", "::", "tADDframe", ":", "ARM", "::", "t2ADDri", ")", ";", "MachineBasicBlock", "::", "iterator", "Ins", "=", "MBB", "->", "begin", "(", ")", ";", "DebugLoc", "DL", ";", "if", "(", "Ins", "!=", "MBB", "->", "end", "(", ")", ")", "DL", "=", "Ins", "->", "getDebugLoc", "(", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", "->", "getParent", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MBB", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "TII", ".", "get", "(", "ADDriOpc", ")", ";", "MRI", ".", "constrainRegClass", "(", "BaseReg", ",", "TII", ".", "getRegClass", "(", "MCID", ",", "0", ",", "this", ",", "MF", ")", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "MCID", ",", "BaseReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "Offset", ")", ";", "if", "(", "!", "AFI", "->", "isThumb1OnlyFunction", "(", ")", ")", "MIB", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ".", "add", "(", "condCodeOp", "(", ")", ")", ";", "}", ""], "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::tADDframe", "ARM::t2ADDri", "0", "ARMCC::AL"], "File": "ARMBaseRegisterInfo10", "Func": "materializeFrameBaseRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5987, "Length": 229, "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", "(", "\"fixupNeedsRelaxation() unimplemented\"", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["VE", "\"fixupNeedsRelaxation() unimplemented\""], "File": "VEAsmBackend1", "Func": "fixupNeedsRelaxation", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5988, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_vector_mode_supported_p", "(", "machine_mode", "mode", ")", "{", "if", "(", "!", "TARGET_64BIT", "&&", "GET_MODE_INNER", "(", "mode", ")", "==", "TImode", ")", "return", "false", ";", "if", "(", "TARGET_SSE", "&&", "VALID_SSE_REG_MODE", "(", "mode", ")", ")", "return", "true", ";", "if", "(", "TARGET_SSE2", "&&", "VALID_SSE2_REG_MODE", "(", "mode", ")", ")", "return", "true", ";", "if", "(", "TARGET_AVX", "&&", "VALID_AVX256_REG_MODE", "(", "mode", ")", ")", "return", "true", ";", "if", "(", "TARGET_AVX512F", "&&", "VALID_AVX512F_REG_MODE", "(", "mode", ")", ")", "return", "true", ";", "if", "(", "(", "TARGET_MMX", "||", "TARGET_MMX_WITH_SSE", ")", "&&", "VALID_MMX_REG_MODE", "(", "mode", ")", ")", "return", "true", ";", "if", "(", "(", "TARGET_3DNOW", "||", "TARGET_MMX_WITH_SSE", ")", "&&", "VALID_MMX_REG_MODE_3DNOW", "(", "mode", ")", ")", "return", "true", ";", "if", "(", "mode", "==", "V2QImode", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implements", "target", "hook", "vector_mode_supported_p", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_vector_mode_supported_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5989, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ia64_legitimate_address_p", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ",", "bool", "strict", ")", "{", "if", "(", "ia64_legitimate_address_reg", "(", "x", ",", "strict", ")", ")", "return", "true", ";", "else", "if", "(", "(", "GET_CODE", "(", "x", ")", "==", "POST_INC", "||", "GET_CODE", "(", "x", ")", "==", "POST_DEC", ")", "&&", "ia64_legitimate_address_reg", "(", "XEXP", "(", "x", ",", "0", ")", ",", "strict", ")", "&&", "XEXP", "(", "x", ",", "0", ")", "!=", "arg_pointer_rtx", ")", "return", "true", ";", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "POST_MODIFY", "&&", "ia64_legitimate_address_reg", "(", "XEXP", "(", "x", ",", "0", ")", ",", "strict", ")", "&&", "XEXP", "(", "x", ",", "0", ")", "!=", "arg_pointer_rtx", "&&", "ia64_legitimate_address_disp", "(", "XEXP", "(", "x", ",", "0", ")", ",", "XEXP", "(", "x", ",", "1", ")", ",", "strict", ")", ")", "return", "true", ";", "else", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LEGITIMATE_ADDRESS_P", "."], "TS_V_token": ["ia64", "0", "0", "0", "0", "0", "1"], "File": "ia64", "Func": "ia64_legitimate_address_p", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5990, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "TLSCLEANUP_PASS_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64"], "File": "AArch64CleanupLocalDynamicTLSPass1", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5991, "Length": 13, "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", ":", "Opc", "=", "isMicroMips", "?", "Mips", "::", "MFHI16_MM", ":", "Mips", "::", "MFHI", ";", "expandPseudoMFHiLo", "(", "MBB", ",", "MI", ",", "Opc", ")", ";", "break", ";", "case", "Mips", "::", "PseudoMFLO", ":", "Opc", "=", "isMicroMips", "?", "Mips", "::", "MFLO16_MM", ":", "Mips", "::", "MFLO", ";", "expandPseudoMFHiLo", "(", "MBB", ",", "MI", ",", "Opc", ")", ";", "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", ":", "expandCvtFPInt", "(", "MBB", ",", "MI", ",", "Mips", "::", "CVT_D32_W", ",", "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", ":", "expandCvtFPInt", "(", "MBB", ",", "MI", ",", "Mips", "::", "CVT_D64_W", ",", "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", ",", "false", ")", ";", "break", ";", "case", "Mips", "::", "BuildPairF64_64", ":", "expandBuildPairF64", "(", "MBB", ",", "MI", ",", "true", ")", ";", "break", ";", "case", "Mips", "::", "ExtractElementF64", ":", "expandExtractElementF64", "(", "MBB", ",", "MI", ",", "false", ")", ";", "break", ";", "case", "Mips", "::", "ExtractElementF64_64", ":", "expandExtractElementF64", "(", "MBB", ",", "MI", ",", "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", "Mips::MFHI16_MM", "Mips::MFHI", "Mips::PseudoMFLO", "Mips", "Mips::MFLO16_MM", "Mips::MFLO", "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::CVT_D32_W", "Mips::MTC1", "Mips::PseudoCVT_S_L", "Mips::CVT_S_L", "Mips::DMTC1", "Mips::PseudoCVT_D64_W", "Mips::CVT_D64_W", "Mips::MTC1", "Mips::PseudoCVT_D64_L", "Mips::CVT_D64_L", "Mips::DMTC1", "Mips::BuildPairF64", "Mips::BuildPairF64_64", "Mips::ExtractElementF64", "Mips::ExtractElementF64_64", "Mips::MIPSeh_return32", "Mips::MIPSeh_return64"], "File": "MipsSEInstrInfo10", "Func": "expandPostRAPseudo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5992, "Length": 459, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "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": "PPCTargetMachine18", "Func": "addInstSelector", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5993, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMExpandPseudo", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "STI", "=", "&", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "STI", "->", "getRegisterInfo", "(", ")", ";", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** ARM EXPAND PSEUDO INSTRUCTIONS **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "Modified", "|=", "ExpandMBB", "(", "MBB", ")", ";", "if", "(", "VerifyARMPseudo", ")", "MF", ".", "verify", "(", "this", ",", "\"After expanding ARM pseudo instructions.\"", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"***************************************************\\n\"", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "\"********** ARM EXPAND PSEUDO INSTRUCTIONS **********\\n\"", "\"********** Function: \"", "ARM", "\"After expanding ARM pseudo instructions.\"", "\"***************************************************\\n\""], "File": "ARMExpandPseudoInsts47", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5994, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ARMSubtarget", "*", "ARMBaseTargetMachine", "::", "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\"", ")", ".", "getValueAsString", "(", ")", "==", "\"true\"", ";", "if", "(", "SoftFloat", ")", "FS", "+=", "FS", ".", "empty", "(", ")", "?", "\"+soft-float\"", ":", "\",+soft-float\"", ";", "std", "::", "string", "Key", "=", "CPU", "+", "FS", ";", "if", "(", "F", ".", "hasMinSize", "(", ")", ")", "Key", "+=", "\"+minsize\"", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "Key", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "std", "::", "make_unique", "<", "ARMSubtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "*", "this", ",", "isLittle", ",", "F", ".", "hasMinSize", "(", ")", ")", ";", "if", "(", "!", "I", "->", "isThumb", "(", ")", "&&", "!", "I", "->", "hasARMOps", "(", ")", ")", "F", ".", "getContext", "(", ")", ".", "emitError", "(", "\"Function '\"", "+", "F", ".", "getName", "(", ")", "+", "\"' uses ARM \"", "\"instructions, but the target does not support ARM mode execution.\"", ")", ";", "}", "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": ["ARM", "ARM", "ARM", "\"target-cpu\"", "\"target-features\"", "\"use-soft-float\"", "\"true\"", "\"+soft-float\"", "\",+soft-float\"", "\"+minsize\"", "ARM", "ARM", "\"Function '\"", "\"' uses ARM \"", "\"instructions, but the target does not support ARM mode execution.\""], "File": "ARMTargetMachine103", "Func": "getSubtargetImpl", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5995, "Length": 225, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "poly_uint64", "aarch64_regmode_natural_size", "(", "machine_mode", "mode", ")", "{", "if", "(", "!", "aarch64_sve_vg", ".", "is_constant", "(", ")", ")", "{", "unsigned", "int", "vec_flags", "=", "aarch64_classify_vector_mode", "(", "mode", ")", ";", "if", "(", "vec_flags", "&", "VEC_SVE_PRED", ")", "return", "BYTES_PER_SVE_PRED", ";", "if", "(", "vec_flags", "&", "VEC_SVE_DATA", ")", "return", "BYTES_PER_SVE_VECTOR", ";", "}", "return", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Implement", "REGMODE_NATURAL_SIZE", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_regmode_natural_size", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5996, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_store_bounds", "(", "rtx", "ptr", ",", "rtx", "slot", ",", "rtx", "bounds", ",", "rtx", "slot_no", ")", "{", "rtx", "addr", ";", "addr", "=", "ix86_get_arg_address_for_bt", "(", "slot", ",", "slot_no", ",", "stack_pointer_rtx", ")", ";", "if", "(", "!", "ptr", ")", "{", "gcc_assert", "(", "MEM_P", "(", "slot", ")", ")", ";", "ptr", "=", "copy_addr_to_reg", "(", "slot", ")", ";", "}", "gcc_assert", "(", "POINTER_BOUNDS_MODE_P", "(", "GET_MODE", "(", "bounds", ")", ")", ")", ";", "if", "(", "!", "register_operand", "(", "bounds", ",", "BNDmode", ")", ")", "bounds", "=", "copy_to_mode_reg", "(", "BNDmode", ",", "bounds", ")", ";", "emit_insn", "(", "BNDmode", "==", "BND64mode", "?", "gen_bnd64_stx", "(", "addr", ",", "ptr", ",", "bounds", ")", ":", "gen_bnd32_stx", "(", "addr", ",", "ptr", ",", "bounds", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "pass", "uses", "this", "hook", "to", "store", "BOUNDS", "for", "call", "argument", "PTR", "passed", "in", "SLOT", "in", "case", "BOUNDS", "are", "not", "passed", "in", "a", "register", ".", "If", "SLOT", "is", "a", "memory", ",", "then", "BOUNDS", "are", "stored", "as", "for", "regular", "pointer", "stored", "in", "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", "store", "BOUNDS", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_store_bounds", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5997, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_function_arg_advance", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "int", "regno", ",", "padding", ";", "function_arg_slotno", "(", "cum", ",", "mode", ",", "type", ",", "named", ",", "false", ",", "&", "regno", ",", "&", "padding", ")", ";", "cum", "->", "words", "+=", "padding", ";", "if", "(", "TARGET_ARCH32", ")", "cum", "->", "words", "+=", "CEIL_NWORDS", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "else", "{", "if", "(", "type", "&&", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "||", "VECTOR_FLOAT_TYPE_P", "(", "type", ")", ")", ")", "{", "const", "int", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "if", "(", "size", "<=", "0", ")", "cum", "->", "words", "++", ";", "else", "cum", "->", "words", "+=", "CEIL_NWORDS", "(", "size", ")", ";", "}", "else", "cum", "->", "words", "+=", "CEIL_NWORDS", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "}", "}", ""], "natrual_language": ["Handle", "the", "TARGET_FUNCTION_ARG_ADVANCE", "hook", ".", "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": ["sparc", "0"], "File": "sparc8", "Func": "sparc_function_arg_advance", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5998, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_setup_incoming_varargs", "(", "cumulative_args_t", "cum", ",", "const", "function_arg_info", "&", "arg", ",", "int", "*", "pretend_size", ",", "int", "second_time", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "next_cum", "=", "*", "get_cumulative_args", "(", "cum", ")", ";", "if", "(", "!", "TYPE_NO_NAMED_ARGS_STDARG_P", "(", "TREE_TYPE", "(", "current_function_decl", ")", ")", ")", "ia64_function_arg_advance", "(", "pack_cumulative_args", "(", "&", "next_cum", ")", ",", "arg", ")", ";", "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"], "File": "ia641", "Func": "ia64_setup_incoming_varargs", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 5999, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_sets_movw_movt_fusible_p", "(", "rtx", "prev_set", ",", "rtx", "curr_set", ")", "{", "rtx", "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": ["Return", "true", "if", "the", "two", "back-to-back", "sets", "PREV_SET", ",", "CURR_SET", "are", "suitable", "for", "MOVW", "/", "MOVT", "macro", "fusion", "."], "TS_V_token": ["arm", "0", "0"], "File": "arm", "Func": "arm_sets_movw_movt_fusible_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6000, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "legitimize_address", "(", "rtx", "x", ",", "rtx", "oldx", "ATTRIBUTE_UNUSED", ",", "enum", "machine_mode", "mode", ")", "{", "rtx", "orig_x", "=", "x", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "MULT", ")", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "XEXP", "(", "x", ",", "1", ")", ",", "force_operand", "(", "XEXP", "(", "x", ",", "0", ")", ",", "NULL_RTX", ")", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "MULT", ")", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "XEXP", "(", "x", ",", "0", ")", ",", "force_operand", "(", "XEXP", "(", "x", ",", "1", ")", ",", "NULL_RTX", ")", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "PLUS", ")", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "force_operand", "(", "XEXP", "(", "x", ",", "0", ")", ",", "NULL_RTX", ")", ",", "XEXP", "(", "x", ",", "1", ")", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "PLUS", ")", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "XEXP", "(", "x", ",", "0", ")", ",", "force_operand", "(", "XEXP", "(", "x", ",", "1", ")", ",", "NULL_RTX", ")", ")", ";", "if", "(", "x", "!=", "orig_x", "&&", "legitimate_address_p", "(", "mode", ",", "x", ",", "FALSE", ")", ")", "return", "x", ";", "if", "(", "SPARC_SYMBOL_REF_TLS_P", "(", "x", ")", ")", "x", "=", "legitimize_tls_address", "(", "x", ")", ";", "else", "if", "(", "flag_pic", ")", "x", "=", "legitimize_pic_address", "(", "x", ",", "mode", ",", "0", ")", ";", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "CONSTANT_ADDRESS_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "XEXP", "(", "x", ",", "0", ")", ",", "copy_to_mode_reg", "(", "Pmode", ",", "XEXP", "(", "x", ",", "1", ")", ")", ")", ";", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "CONSTANT_ADDRESS_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", ")", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "XEXP", "(", "x", ",", "1", ")", ",", "copy_to_mode_reg", "(", "Pmode", ",", "XEXP", "(", "x", ",", "0", ")", ")", ")", ";", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "x", ")", "==", "CONST", "||", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", ")", "x", "=", "copy_to_suggested_reg", "(", "x", ",", "NULL_RTX", ",", "Pmode", ")", ";", "return", "x", ";", "}", ""], "natrual_language": ["Try", "machine-dependent", "ways", "of", "modifying", "an", "illegitimate", "address", "X", "to", "be", "legitimate", ".", "If", "we", "find", "one", ",", "return", "the", "new", ",", "valid", "address", ".", "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", ".", "MODE", "is", "the", "mode", "of", "the", "operand", "pointed", "to", "by", "X", "."], "TS_V_token": ["sparc", "0", "1", "0", "1", "0", "1", "0", "0", "1", "1", "0", "1", "0", "1", "0", "1", "0", "1", "0"], "File": "sparc3", "Func": "legitimize_address", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6001, "Length": 387, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ",", "Instruction", "*", "I", ")", "const", "{", "EVT", "VT", "=", "getValueType", "(", "DL", ",", "Ty", ",", "true", ")", ";", "if", "(", "!", "isLegalAddressImmediate", "(", "AM", ".", "BaseOffs", ",", "VT", ",", "Subtarget", ")", ")", "return", "false", ";", "if", "(", "AM", ".", "BaseGV", ")", "return", "false", ";", "switch", "(", "AM", ".", "Scale", ")", "{", "case", "0", ":", "break", ";", "default", ":", "if", "(", "AM", ".", "BaseOffs", ")", "return", "false", ";", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "if", "(", "Subtarget", "->", "isThumb1Only", "(", ")", ")", "return", "isLegalT1ScaledAddressingMode", "(", "AM", ",", "VT", ")", ";", "if", "(", "Subtarget", "->", "isThumb2", "(", ")", ")", "return", "isLegalT2ScaledAddressingMode", "(", "AM", ",", "VT", ")", ";", "int", "Scale", "=", "AM", ".", "Scale", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "return", "false", ";", "case", "MVT", "::", "i1", ":", "case", "MVT", "::", "i8", ":", "case", "MVT", "::", "i32", ":", "if", "(", "Scale", "<", "0", ")", "Scale", "=", "-", "Scale", ";", "if", "(", "Scale", "==", "1", ")", "return", "true", ";", "return", "isPowerOf2_32", "(", "Scale", "&", "~", "1", ")", ";", "case", "MVT", "::", "i16", ":", "case", "MVT", "::", "i64", ":", "if", "(", "Scale", "==", "1", "||", "(", "AM", ".", "HasBaseReg", "&&", "Scale", "==", "-", "1", ")", ")", "return", "true", ";", "if", "(", "!", "AM", ".", "HasBaseReg", "&&", "Scale", "==", "2", ")", "return", "true", ";", "return", "false", ";", "case", "MVT", "::", "isVoid", ":", "if", "(", "Scale", "&", "1", ")", "return", "false", ";", "return", "isPowerOf2_32", "(", "Scale", ")", ";", "}", "}", "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": ["ARM", "ARM", "0", "MVT::i1", "MVT::i8", "MVT::i32", "0", "1", "1", "MVT::i16", "MVT::i64", "1", "1", "2", "MVT::isVoid", "1"], "File": "ARMISelLowering (2)5", "Func": "isLegalAddressingMode", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6002, "Length": 273, "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": 6003, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "MipsRegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "MipsABIInfo", "ABI", "=", "MF", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "getABI", "(", ")", ";", "MipsPtrClass", "PtrClassKind", "=", "static_cast", "<", "MipsPtrClass", ">", "(", "Kind", ")", ";", "switch", "(", "PtrClassKind", ")", "{", "case", "MipsPtrClass", "::", "Default", ":", "return", "ABI", ".", "ArePtrs64bit", "(", ")", "?", "&", "Mips", "::", "GPR64RegClass", ":", "&", "Mips", "::", "GPR32RegClass", ";", "case", "MipsPtrClass", "::", "GPR16MM", ":", "return", "&", "Mips", "::", "GPRMM16RegClass", ";", "case", "MipsPtrClass", "::", "StackPointer", ":", "return", "ABI", ".", "ArePtrs64bit", "(", ")", "?", "&", "Mips", "::", "SP64RegClass", ":", "&", "Mips", "::", "SP32RegClass", ";", "case", "MipsPtrClass", "::", "GlobalPointer", ":", "return", "ABI", ".", "ArePtrs64bit", "(", ")", "?", "&", "Mips", "::", "GP64RegClass", ":", "&", "Mips", "::", "GP32RegClass", ";", "}", "llvm_unreachable", "(", "\"Unknown pointer kind\"", ")", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "MipsPtrClass::Default", "Mips::GPR64RegClass", "Mips::GPR32RegClass", "MipsPtrClass::GPR16MM", "Mips::GPRMM16RegClass", "MipsPtrClass::StackPointer", "Mips::SP64RegClass", "Mips::SP32RegClass", "MipsPtrClass::GlobalPointer", "Mips::GP64RegClass", "Mips::GP32RegClass", "\"Unknown pointer kind\""], "File": "MipsRegisterInfo (2)2", "Func": "getPointerRegClass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6004, "Length": 133, "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", ";", "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"], "File": "X86AsmParser (2)4", "Func": "checkTargetMatchPredicate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6005, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "&", "LiveRangeShrinkID", ")", ";", "addPass", "(", "createX86FixupSetCC", "(", ")", ")", ";", "addPass", "(", "createX86OptimizeLEAs", "(", ")", ")", ";", "addPass", "(", "createX86CallFrameOptimization", "(", ")", ")", ";", "addPass", "(", "createX86FixupSFB", "(", ")", ")", ";", "}", "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", "X86"], "File": "X86TargetMachine47", "Func": "addPreRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6006, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "AArch64RegisterInfo", "::", "materializeFrameBaseRegister", "(", "MachineBasicBlock", "*", "MBB", ",", "int", "FrameIdx", ",", "int64_t", "Offset", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "Ins", "=", "MBB", "->", "begin", "(", ")", ";", "DebugLoc", "DL", ";", "if", "(", "Ins", "!=", "MBB", "->", "end", "(", ")", ")", "DL", "=", "Ins", "->", "getDebugLoc", "(", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", "->", "getParent", "(", ")", ";", "const", "AArch64InstrInfo", "*", "TII", "=", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "TII", "->", "get", "(", "AArch64", "::", "ADDXri", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MBB", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "Register", "BaseReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AArch64", "::", "GPR64spRegClass", ")", ";", "MRI", ".", "constrainRegClass", "(", "BaseReg", ",", "TII", "->", "getRegClass", "(", "MCID", ",", "0", ",", "this", ",", "MF", ")", ")", ";", "unsigned", "Shifter", "=", "AArch64_AM", "::", "getShifterImm", "(", "AArch64_AM", "::", "LSL", ",", "0", ")", ";", "BuildMI", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "MCID", ",", "BaseReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "Offset", ")", ".", "addImm", "(", "Shifter", ")", ";", "return", "BaseReg", ";", "}", ""], "natrual_language": ["Insert", "defining", "instruction", "(", "s", ")", "for", "a", "pointer", "to", "FrameIdx", "before", "insertion", "point", "I", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64::ADDXri", "AArch64::GPR64spRegClass", "0", "AArch64_AM::getShifterImm", "AArch64_AM::LSL", "0"], "File": "AArch64RegisterInfo25", "Func": "materializeFrameBaseRegister", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6007, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "AArch64FrameLowering", "::", "getFrameIndexReferencePreferSP", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "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": "AArch64FrameLowering56", "Func": "getFrameIndexReferencePreferSP", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6008, "Length": 86, "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", "'z'", ":", "return", "C_Other", ";", "case", "'x'", ":", "case", "'w'", ":", "return", "C_RegisterClass", ";", "case", "'Q'", ":", "return", "C_Memory", ";", "}", "}", "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)", "Func": "getConstraintType", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6009, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "PPCAIXAsmPrinter", "::", "lowerConstant", "(", "const", "Constant", "*", "CV", ")", "{", "if", "(", "const", "Function", "*", "F", "=", "dyn_cast", "<", "Function", ">", "(", "CV", ")", ")", "{", "MCSymbolXCOFF", "*", "FSym", "=", "cast", "<", "MCSymbolXCOFF", ">", "(", "getSymbol", "(", "F", ")", ")", ";", "if", "(", "!", "FSym", "->", "hasContainingCsect", "(", ")", ")", "{", "const", "XCOFF", "::", "StorageClass", "SC", "=", "F", "->", "isDeclaration", "(", ")", "?", "TargetLoweringObjectFileXCOFF", "::", "getStorageClassForGlobal", "(", "F", ")", ":", "XCOFF", "::", "C_HIDEXT", ";", "MCSectionXCOFF", "*", "Csect", "=", "OutStreamer", "->", "getContext", "(", ")", ".", "getXCOFFSection", "(", "FSym", "->", "getName", "(", ")", ",", "XCOFF", "::", "XMC_DS", ",", "F", "->", "isDeclaration", "(", ")", "?", "XCOFF", "::", "XTY_ER", ":", "XCOFF", "::", "XTY_SD", ",", "SC", ",", "SectionKind", "::", "getData", "(", ")", ")", ";", "FSym", "->", "setContainingCsect", "(", "Csect", ")", ";", "}", "return", "MCSymbolRefExpr", "::", "create", "(", "FSym", "->", "getContainingCsect", "(", ")", "->", "getQualNameSymbol", "(", ")", ",", "OutContext", ")", ";", "}", "return", "PPCAsmPrinter", "::", "lowerConstant", "(", "CV", ")", ";", "}", ""], "natrual_language": ["Lower", "the", "specified", "LLVM", "Constant", "to", "an", "MCExpr", "."], "TS_V_token": ["PowerPC", "PPC", "PPC"], "File": "PPCAsmPrinter120", "Func": "lowerConstant", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6010, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZPostRASchedStrategy", "::", "schedNode", "(", "SUnit", "*", "SU", ",", "bool", "IsTopNode", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"** Scheduling SU(\"", "<<", "SU", "->", "NodeNum", "<<", "\") \"", ";", "if", "(", "Available", ".", "size", "(", ")", "==", "1", ")", "dbgs", "(", ")", "<<", "\"(only one) \"", ";", "Candidate", "c", "(", "SU", ",", "*", "HazardRec", ")", ";", "c", ".", "dumpCosts", "(", ")", ";", "dbgs", "(", ")", "<<", "\"\\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(\"", "\") \"", "1", "\"(only one) \"", "\"\\n\""], "File": "SystemZMachineScheduler12", "Func": "schedNode", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6011, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_estimated_sve_vq", "(", ")", "{", "return", "estimated_poly_value", "(", "BITS_PER_SVE_VECTOR", ")", "/", "128", ";", "}", ""], "natrual_language": ["Return", "an", "estimate", "for", "the", "number", "of", "quadwords", "in", "an", "SVE", "vector", ".", "This", "is", "equivalent", "to", "the", "number", "of", "Advanced", "SIMD", "vectors", "in", "an", "SVE", "vector", "."], "TS_V_token": ["aarch64", "128"], "File": "aarch641", "Func": "aarch64_estimated_sve_vq", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6012, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "opt_machine_mode", "ix86_get_mask_mode", "(", "poly_uint64", "nunits", ",", "poly_uint64", "vector_size", ")", "{", "unsigned", "elem_size", "=", "vector_size", "/", "nunits", ";", "if", "(", "(", "TARGET_AVX512F", "&&", "vector_size", "==", "64", ")", "||", "(", "TARGET_AVX512VL", "&&", "(", "vector_size", "==", "32", "||", "vector_size", "==", "16", ")", ")", ")", "{", "if", "(", "elem_size", "==", "4", "||", "elem_size", "==", "8", "||", "TARGET_AVX512BW", ")", "return", "smallest_int_mode_for_size", "(", "nunits", ")", ";", "}", "scalar_int_mode", "elem_mode", "=", "smallest_int_mode_for_size", "(", "elem_size", "*", "BITS_PER_UNIT", ")", ";", "gcc_assert", "(", "elem_size", "*", "nunits", "==", "vector_size", ")", ";", "return", "mode_for_vector", "(", "elem_mode", ",", "nunits", ")", ";", "}", ""], "natrual_language": ["Implemenation", "of", "targetm.vectorize.get_mask_mode", "."], "TS_V_token": ["i386", "64", "32", "16", "4", "8"], "File": "i3867", "Func": "ix86_get_mask_mode", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6013, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "SimplifyDemandedBitsForTargetNode", "(", "SDValue", "Op", ",", "const", "APInt", "&", "OriginalDemandedBits", ",", "const", "APInt", "&", "OriginalDemandedElts", ",", "KnownBits", "&", "Known", ",", "TargetLoweringOpt", "&", "TLO", ",", "unsigned", "Depth", ")", "const", "{", "unsigned", "Opc", "=", "Op", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "case", "AArch64ISD", "::", "VSHL", ":", "{", "SDValue", "ShiftL", "=", "Op", ";", "SDValue", "ShiftR", "=", "Op", "->", "getOperand", "(", "0", ")", ";", "if", "(", "ShiftR", "->", "getOpcode", "(", ")", "!=", "AArch64ISD", "::", "VLSHR", ")", "return", "false", ";", "if", "(", "!", "ShiftL", ".", "hasOneUse", "(", ")", "||", "!", "ShiftR", ".", "hasOneUse", "(", ")", ")", "return", "false", ";", "unsigned", "ShiftLBits", "=", "ShiftL", "->", "getConstantOperandVal", "(", "1", ")", ";", "unsigned", "ShiftRBits", "=", "ShiftR", "->", "getConstantOperandVal", "(", "1", ")", ";", "if", "(", "ShiftRBits", "!=", "ShiftLBits", ")", "return", "false", ";", "unsigned", "ScalarSize", "=", "Op", ".", "getScalarValueSizeInBits", "(", ")", ";", "assert", "(", "ScalarSize", ">", "ShiftLBits", "&&", "\"Invalid shift imm\"", ")", ";", "APInt", "ZeroBits", "=", "APInt", "::", "getLowBitsSet", "(", "ScalarSize", ",", "ShiftLBits", ")", ";", "APInt", "UnusedBits", "=", "~", "OriginalDemandedBits", ";", "if", "(", "(", "ZeroBits", "&", "UnusedBits", ")", "!=", "ZeroBits", ")", "return", "false", ";", "return", "TLO", ".", "CombineTo", "(", "Op", ",", "ShiftR", "->", "getOperand", "(", "0", ")", ")", ";", "}", "}", "return", "TargetLowering", "::", "SimplifyDemandedBitsForTargetNode", "(", "Op", ",", "OriginalDemandedBits", ",", "OriginalDemandedElts", ",", "Known", ",", "TLO", ",", "Depth", ")", ";", "}", ""], "natrual_language": ["Attempt", "to", "simplify", "any", "target", "nodes", "based", "on", "the", "demanded", "bits/elts", ",", "returning", "true", "on", "success", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64ISD::VSHL", "0", "AArch64ISD::VLSHR", "1", "1", "\"Invalid shift imm\"", "0"], "File": "AArch64ISelLowering (2)2", "Func": "SimplifyDemandedBitsForTargetNode", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6014, "Length": 214, "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": 6015, "Length": 21, "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": 6016, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "xstormy16_initial_elimination_offset", "(", "int", "from", ",", "int", "to", ")", "{", "struct", "xstormy16_stack_layout", "layout", ";", "int", "result", ";", "layout", "=", "xstormy16_compute_stack_layout", "(", ")", ";", "if", "(", "from", "==", "FRAME_POINTER_REGNUM", "&&", "to", "==", "HARD_FRAME_POINTER_REGNUM", ")", "result", "=", "layout", ".", "sp_minus_fp", "-", "layout", ".", "locals_size", ";", "else", "if", "(", "from", "==", "FRAME_POINTER_REGNUM", "&&", "to", "==", "STACK_POINTER_REGNUM", ")", "result", "=", "-", "layout", ".", "locals_size", ";", "else", "if", "(", "from", "==", "ARG_POINTER_REGNUM", "&&", "to", "==", "HARD_FRAME_POINTER_REGNUM", ")", "result", "=", "-", "layout", ".", "fp_minus_ap", ";", "else", "if", "(", "from", "==", "ARG_POINTER_REGNUM", "&&", "to", "==", "STACK_POINTER_REGNUM", ")", "result", "=", "-", "(", "layout", ".", "sp_minus_fp", "+", "layout", ".", "fp_minus_ap", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "return", "result", ";", "}", ""], "natrual_language": ["Determine", "how", "all", "the", "special", "registers", "get", "eliminated", "."], "TS_V_token": ["stormy16"], "File": "stormy16", "Func": "xstormy16_initial_elimination_offset", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6017, "Length": 112, "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": 6018, "Length": 9, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "SparcInstrInfo", "::", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "unsigned", ">", "&", "Ops", ",", "int", "FI", ")", "const", "{", "if", "(", "Ops", ".", "size", "(", ")", "!=", "1", ")", "return", "NULL", ";", "unsigned", "OpNum", "=", "Ops", "[", "0", "]", ";", "bool", "isFloat", "=", "false", ";", "MachineInstr", "*", "NewMI", "=", "NULL", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "SP", "::", "ORrr", ":", "if", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "SP", "::", "G0", "&&", "MI", "->", "getOperand", "(", "0", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "2", ")", ".", "isReg", "(", ")", ")", "{", "if", "(", "OpNum", "==", "0", ")", "NewMI", "=", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "SP", "::", "STri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ";", "else", "NewMI", "=", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "SP", "::", "LDri", ")", ",", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "}", "break", ";", "case", "SP", "::", "FMOVS", ":", "isFloat", "=", "true", ";", "case", "SP", "::", "FMOVD", ":", "if", "(", "OpNum", "==", "0", ")", "{", "unsigned", "SrcReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "bool", "isKill", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "isKill", "(", ")", ";", "NewMI", "=", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "isFloat", "?", "SP", "::", "STFri", ":", "SP", "::", "STDFri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "false", ",", "false", ",", "isKill", ")", ";", "}", "else", "{", "unsigned", "DstReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "bool", "isDead", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "isDead", "(", ")", ";", "NewMI", "=", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "isFloat", "?", "SP", "::", "LDFri", ":", "SP", "::", "LDDFri", ")", ")", ".", "addReg", "(", "DstReg", ",", "true", ",", "false", ",", "false", ",", "isDead", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "}", "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": ["Sparc", "Sparc", "1", "0", "SP::ORrr", "1", "1", "SP::G0", "0", "2", "0", "SP::STri", "0", "2", "SP::LDri", "0", "0", "SP::FMOVS", "SP::FMOVD", "0", "1", "1", "SP::STFri", "SP::STDFri", "0", "0", "0", "SP::LDFri", "SP::LDDFri", "0"], "File": "SparcInstrInfo36", "Func": "foldMemoryOperandImpl", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6019, "Length": 403, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCDispatchGroupSBHazardRecognizer", "::", "PreEmitNoops", "(", "SUnit", "*", "SU", ")", "{", "if", "(", "isLoadAfterStore", "(", "SU", ")", "&&", "CurSlots", "<", "6", ")", "{", "unsigned", "Directive", "=", "DAG", "->", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "getDarwinDirective", "(", ")", ";", "if", "(", "Directive", "==", "PPC", "::", "DIR_PWR6", "||", "Directive", "==", "PPC", "::", "DIR_PWR7", "||", "Directive", "==", "PPC", "::", "DIR_PWR8", "||", "Directive", "==", "PPC", "::", "DIR_PWR9", ")", "return", "1", ";", "return", "5", "-", "CurSlots", ";", "}", "return", "ScoreboardHazardRecognizer", "::", "PreEmitNoops", "(", "SU", ")", ";", "}", ""], "natrual_language": ["PreEmitNoops", "-", "This", "callback", "is", "invoked", "prior", "to", "emitting", "an", "instruction", "."], "TS_V_token": ["PowerPC", "PPC", "6", "PPC", "PPC::DIR_PWR6", "PPC::DIR_PWR7", "PPC::DIR_PWR8", "PPC::DIR_PWR9", "1", "5"], "File": "PPCHazardRecognizers", "Func": "PreEmitNoops", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6020, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiTargetObjectFile", "::", "isGlobalInSmallSection", "(", "const", "GlobalObject", "*", "GO", ",", "const", "TargetMachine", "&", "TM", ",", "SectionKind", "Kind", ")", "const", "{", "return", "isGlobalInSmallSectionImpl", "(", "GO", ",", "TM", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "global", "address", "should", "be", "placed", "into", "small", "data/bss", "section", "."], "TS_V_token": ["Lanai", "Lanai"], "File": "LanaiTargetObjectFile1", "Func": "isGlobalInSmallSection", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6021, "Length": 29, "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": 6022, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_empty_mask_is_expensive", "(", "unsigned", ")", "{", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VECTORIZE_EMPTY_MASK_IS_EXPENSIVE", ".", "Assume", "for", "now", "that", "it", "is", "n't", "worth", "branching", "around", "empty", "masked", "ops", "(", "including", "masked", "stores", ")", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_empty_mask_is_expensive", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6023, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Relocator", "::", "Result", "abs", "(", "Relocation", "&", "pReloc", ",", "AArch64Relocator", "&", "pParent", ")", "{", "ResolveInfo", "*", "rsym", "=", "pReloc", ".", "symInfo", "(", ")", ";", "Relocator", "::", "DWord", "A", "=", "pReloc", ".", "target", "(", ")", "+", "pReloc", ".", "addend", "(", ")", ";", "Relocator", "::", "DWord", "S", "=", "pReloc", ".", "symValue", "(", ")", ";", "Relocation", "*", "dyn_rel", "=", "pParent", ".", "getRelRelMap", "(", ")", ".", "lookUp", "(", "pReloc", ")", ";", "bool", "has_dyn_rel", "=", "(", "dyn_rel", "!=", "NULL", ")", ";", "LDSection", "&", "target_sect", "=", "pReloc", ".", "targetRef", "(", ")", ".", "frag", "(", ")", "->", "getParent", "(", ")", "->", "getSection", "(", ")", ";", "if", "(", "0x0", "==", "(", "llvm", "::", "ELF", "::", "SHF_ALLOC", "&", "target_sect", ".", "flag", "(", ")", ")", ")", "{", "pReloc", ".", "target", "(", ")", "=", "S", "+", "A", ";", "return", "Relocator", "::", "OK", ";", "}", "if", "(", "rsym", "->", "isLocal", "(", ")", "&&", "has_dyn_rel", ")", "{", "dyn_rel", "->", "setAddend", "(", "S", "+", "A", ")", ";", "}", "if", "(", "!", "rsym", "->", "isLocal", "(", ")", ")", "{", "if", "(", "rsym", "->", "reserved", "(", ")", "&", "AArch64Relocator", "::", "ReservePLT", ")", "{", "S", "=", "helper_get_PLT_address", "(", "*", "rsym", ",", "pParent", ")", ";", "}", "if", "(", "has_dyn_rel", ")", "{", "if", "(", "llvm", "::", "ELF", "::", "R_AARCH64_ABS64", "==", "pReloc", ".", "type", "(", ")", "&&", "llvm", "::", "ELF", "::", "R_AARCH64_RELATIVE", "==", "dyn_rel", "->", "type", "(", ")", ")", "{", "dyn_rel", "->", "setAddend", "(", "S", "+", "A", ")", ";", "}", "else", "{", "dyn_rel", "->", "setAddend", "(", "A", ")", ";", "return", "Relocator", "::", "OK", ";", "}", "}", "}", "pReloc", ".", "target", "(", ")", "=", "S", "+", "A", ";", "return", "Relocator", "::", "OK", ";", "}", ""], "natrual_language": ["Compute", "known", "bits", "for", "the", "absolute", "value", "."], "TS_V_token": ["AArch64", "AArch64", "0x0", "AArch64"], "File": "AArch64Relocator", "Func": "abs", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6024, "Length": 263, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "getExtendResourceLenLimit", "(", ")", "const", "override", "{", "return", "1", ";", "}", ""], "natrual_language": ["The", "limit", "on", "resource", "length", "extension", "we", "accept", "in", "MachineCombiner", "Pass", "."], "TS_V_token": ["PowerPC", "1"], "File": "PPCInstrInfo17", "Func": "getExtendResourceLenLimit", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6025, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "X86FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "getIndex", "(", ")", ";", "unsigned", "BasePtr", ";", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "bool", "AfterFPPop", "=", "Opc", "==", "X86", "::", "TAILJMPm64", "||", "Opc", "==", "X86", "::", "TAILJMPm", "||", "Opc", "==", "X86", "::", "TCRETURNmi", "||", "Opc", "==", "X86", "::", "TCRETURNmi64", ";", "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", ")", ";", "unsigned", "IgnoredFrameReg", ";", "if", "(", "Opc", "==", "TargetOpcode", "::", "LOCAL_ESCAPE", ")", "{", "MachineOperand", "&", "FI", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ";", "int", "Offset", ";", "Offset", "=", "TFI", "->", "getFrameIndexReference", "(", "MF", ",", "FrameIndex", ",", "IgnoredFrameReg", ")", ";", "FI", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "return", ";", "}", "if", "(", "Opc", "==", "X86", "::", "LEA64_32r", "&&", "X86", "::", "GR32RegClass", ".", "contains", "(", "BasePtr", ")", ")", "BasePtr", "=", "getX86SubSuperRegister", "(", "BasePtr", ",", "64", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "BasePtr", ",", "false", ")", ";", "int", "FIOffset", ";", "if", "(", "AfterFPPop", ")", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "FIOffset", "=", "MFI", ".", "getObjectOffset", "(", "FrameIndex", ")", "-", "TFI", "->", "getOffsetOfLocalArea", "(", ")", ";", "}", "else", "FIOffset", "=", "TFI", "->", "getFrameIndexReference", "(", "MF", ",", "FrameIndex", ",", "IgnoredFrameReg", ")", ";", "if", "(", "BasePtr", "==", "StackPtr", ")", "FIOffset", "+=", "SPAdj", ";", "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", "X86", "X86::TAILJMPm64", "X86::TAILJMPm", "X86::TCRETURNmi", "X86::TCRETURNmi64", "0", "0", "X86::LEA64_32r", "X86::GR32RegClass", "X86", "64", "\"Expected the FP as base register\"", "1", "1", "3", "3", "32", "\"Requesting 64-bit offset in 32-bit immediate!\"", "3", "3", "3"], "File": "X86RegisterInfo5", "Func": "eliminateFrameIndex", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6026, "Length": 502, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getStackAddress", "(", "uint64_t", "Size", ",", "int64_t", "Offset", ",", "MachinePointerInfo", "&", "MPO", ")", "override", "{", "assert", "(", "(", "Size", "==", "1", "||", "Size", "==", "2", "||", "Size", "==", "4", "||", "Size", "==", "8", ")", "&&", "\"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", "1", "2", "4", "8", "\"Unsupported size\"", "32"], "File": "ARMCallLowering (2)", "Func": "getStackAddress", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6027, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "const", "type_suffix_info", "&", "function_instance", "::", "type_suffix", "(", "unsigned", "int", "i", ")", "const", "{", "return", "type_suffixes", "[", "type_suffix_ids", "[", "i", "]", "]", ";", "}", ""], "natrual_language": ["Return", "information", "about", "type", "suffix", "I", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "type_suffix", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6028, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_clear", "(", "rtx", "dest", ")", "{", "rtx", "tmp", ";", "gcc_assert", "(", "reload_completed", ")", ";", "if", "(", "GET_MODE_SIZE", "(", "GET_MODE", "(", "dest", ")", ")", "<", "4", ")", "dest", "=", "gen_rtx_REG", "(", "SImode", ",", "REGNO", "(", "dest", ")", ")", ";", "tmp", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "const0_rtx", ")", ";", "if", "(", "!", "TARGET_USE_MOV0", "||", "optimize_insn_for_size_p", "(", ")", ")", "{", "rtx", "clob", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "CCmode", ",", "FLAGS_REG", ")", ")", ";", "tmp", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "tmp", ",", "clob", ")", ")", ";", "}", "emit_insn", "(", "tmp", ")", ";", "}", ""], "natrual_language": ["Generate", "either", "``", "mov", "$", "0", ",", "reg", "''", "or", "``", "xor", "reg", ",", "reg", "''", ",", "as", "appropriate", "for", "the", "target", "."], "TS_V_token": ["i386", "4", "2"], "File": "i3864", "Func": "ix86_expand_clear", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6029, "Length": 98, "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": 6030, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_avx_u128_mode_after", "(", "int", "mode", ",", "rtx_insn", "*", "insn", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "vzeroupper_operation", "(", "pat", ",", "VOIDmode", ")", "||", "vzeroall_operation", "(", "pat", ",", "VOIDmode", ")", ")", "return", "AVX_U128_CLEAN", ";", "if", "(", "CALL_P", "(", "insn", ")", ")", "{", "bool", "avx_reg256_found", "=", "false", ";", "note_stores", "(", "pat", ",", "ix86_check_avx256_stores", ",", "&", "avx_reg256_found", ")", ";", "return", "avx_reg256_found", "?", "AVX_U128_DIRTY", ":", "AVX_U128_CLEAN", ";", "}", "return", "mode", ";", "}", ""], "natrual_language": ["Calculate", "mode", "of", "upper", "128bit", "AVX", "registers", "after", "the", "insn", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_avx_u128_mode_after", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6031, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "ARMBaseInstrInfo", "::", "optimizeSelect", "(", "MachineInstr", "*", "MI", ",", "bool", "PreferFalse", ")", "const", "{", "assert", "(", "(", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "MOVCCr", "||", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2MOVCCr", ")", "&&", "\"Unknown select instruction\"", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MachineInstr", "*", "DefMI", "=", "canFoldIntoMOVCC", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ",", "MRI", ",", "this", ")", ";", "bool", "Invert", "=", "!", "DefMI", ";", "if", "(", "!", "DefMI", ")", "DefMI", "=", "canFoldIntoMOVCC", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ",", "MRI", ",", "this", ")", ";", "if", "(", "!", "DefMI", ")", "return", "nullptr", ";", "MachineOperand", "FalseReg", "=", "MI", "->", "getOperand", "(", "Invert", "?", "2", ":", "1", ")", ";", "unsigned", "DestReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "PreviousClass", "=", "MRI", ".", "getRegClass", "(", "FalseReg", ".", "getReg", "(", ")", ")", ";", "if", "(", "!", "MRI", ".", "constrainRegClass", "(", "DestReg", ",", "PreviousClass", ")", ")", "return", "nullptr", ";", "MachineInstrBuilder", "NewMI", "=", "BuildMI", "(", "*", "MI", "->", "getParent", "(", ")", ",", "MI", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "DefMI", "->", "getDesc", "(", ")", ",", "DestReg", ")", ";", "const", "MCInstrDesc", "&", "DefDesc", "=", "DefMI", "->", "getDesc", "(", ")", ";", "for", "(", "unsigned", "i", "=", "1", ",", "e", "=", "DefDesc", ".", "getNumOperands", "(", ")", ";", "i", "!=", "e", "&&", "!", "DefDesc", ".", "OpInfo", "[", "i", "]", ".", "isPredicate", "(", ")", ";", "++", "i", ")", "NewMI", ".", "addOperand", "(", "DefMI", "->", "getOperand", "(", "i", ")", ")", ";", "unsigned", "CondCode", "=", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "if", "(", "Invert", ")", "NewMI", ".", "addImm", "(", "ARMCC", "::", "getOppositeCondition", "(", "ARMCC", "::", "CondCodes", "(", "CondCode", ")", ")", ")", ";", "else", "NewMI", ".", "addImm", "(", "CondCode", ")", ";", "NewMI", ".", "addOperand", "(", "MI", "->", "getOperand", "(", "4", ")", ")", ";", "if", "(", "NewMI", "->", "hasOptionalDef", "(", ")", ")", "AddDefaultCC", "(", "NewMI", ")", ";", "FalseReg", ".", "setImplicit", "(", ")", ";", "NewMI", ".", "addOperand", "(", "FalseReg", ")", ";", "NewMI", "->", "tieOperands", "(", "0", ",", "NewMI", "->", "getNumOperands", "(", ")", "-", "1", ")", ";", "DefMI", "->", "eraseFromParent", "(", ")", ";", "return", "NewMI", ";", "}", ""], "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": ["ARM", "ARM", "ARM::MOVCCr", "ARM::t2MOVCCr", "\"Unknown select instruction\"", "2", "1", "2", "1", "0", "1", "3", "ARMCC::getOppositeCondition", "ARMCC::CondCodes", "4", "0", "1"], "File": "ARMBaseInstrInfo106", "Func": "optimizeSelect", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6032, "Length": 372, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCLoopPreIncPrep", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "LI", "=", "&", "getAnalysis", "<", "LoopInfoWrapperPass", ">", "(", ")", ".", "getLoopInfo", "(", ")", ";", "SE", "=", "&", "getAnalysis", "<", "ScalarEvolution", ">", "(", ")", ";", "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"], "File": "PPCLoopPreIncPrep15", "Func": "runOnFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6033, "Length": 103, "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": 6034, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mt_check_delay_slot", "(", "rtx", "branch", ",", "rtx", "insn", ")", "{", "rtx", "slot", ";", "rtx", "tmp", ";", "rtx", "p", ";", "rtx", "jmp", ";", "gcc_assert", "(", "GET_CODE", "(", "PATTERN", "(", "branch", ")", ")", "==", "SEQUENCE", ")", ";", "if", "(", "INSN_DELETED_P", "(", "branch", ")", ")", "return", "NULL_RTX", ";", "slot", "=", "XVECEXP", "(", "PATTERN", "(", "branch", ")", ",", "0", ",", "1", ")", ";", "tmp", "=", "PATTERN", "(", "insn", ")", ";", "note_stores", "(", "PATTERN", "(", "slot", ")", ",", "insn_dependent_p_1", ",", "&", "tmp", ")", ";", "if", "(", "tmp", ")", "return", "NULL_RTX", ";", "jmp", "=", "XVECEXP", "(", "PATTERN", "(", "branch", ")", ",", "0", ",", "0", ")", ";", "tmp", "=", "PATTERN", "(", "jmp", ")", ";", "note_stores", "(", "PATTERN", "(", "slot", ")", ",", "insn_dependent_p_1", ",", "&", "tmp", ")", ";", "if", "(", "!", "tmp", ")", "return", "branch", ";", "p", "=", "PREV_INSN", "(", "branch", ")", ";", "NEXT_INSN", "(", "p", ")", "=", "slot", ";", "PREV_INSN", "(", "slot", ")", "=", "p", ";", "NEXT_INSN", "(", "slot", ")", "=", "jmp", ";", "PREV_INSN", "(", "jmp", ")", "=", "slot", ";", "NEXT_INSN", "(", "jmp", ")", "=", "branch", ";", "PREV_INSN", "(", "branch", ")", "=", "jmp", ";", "XVECEXP", "(", "PATTERN", "(", "branch", ")", ",", "0", ",", "0", ")", "=", "NULL_RTX", ";", "XVECEXP", "(", "PATTERN", "(", "branch", ")", ",", "0", ",", "1", ")", "=", "NULL_RTX", ";", "delete_insn", "(", "branch", ")", ";", "return", "jmp", ";", "}", ""], "natrual_language": ["If", "BRANCH", "has", "a", "filled", "delay", "slot", ",", "check", "if", "INSN", "is", "dependent", "upon", "it", ".", "If", "so", ",", "undo", "the", "delay", "slot", "fill", ".", "Returns", "the", "next", "insn", ",", "if", "we", "patch", "out", "the", "branch", ".", "Returns", "the", "branch", "insn", ",", "if", "we", "can", "not", "patch", "out", "the", "branch", "(", "due", "to", "anti-dependency", "in", "the", "delay", "slot", ")", ".", "In", "that", "case", ",", "the", "caller", "must", "insert", "nops", "at", "the", "branch", "target", "."], "TS_V_token": ["mt", "0", "1", "0", "0", "0", "0", "0", "1"], "File": "mt", "Func": "mt_check_delay_slot", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6035, "Length": 215, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "force_new_group", "(", "int", "sched_verbose", ",", "FILE", "*", "dump", ",", "rtx", "*", "group_insns", ",", "rtx", "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", ")", "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", "--", ";", "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": ["rs6000", "6", "\"force: group count = %d, can_issue_more = %d\\n\"", "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": "rs60003", "Func": "force_new_group", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6036, "Length": 408, "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", "(", ")", ")", ";", "if", "(", "MF", ".", "getMMI", "(", ")", ".", "hasEHFunclets", "(", ")", ")", "{", "int", "FI", "=", "MFI", ".", "CreateSpillStackObject", "(", "SlotSize", ",", "SlotSize", ")", ";", "X86FI", "->", "setHasSEHFramePtrSave", "(", "true", ")", ";", "X86FI", "->", "setSEHFramePtrSaveIndex", "(", "FI", ")", ";", "}", "}", "}", ""], "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", "X86", "X86"], "File": "X86FrameLowering102", "Func": "determineCalleeSaves", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6037, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "arm_gen_compare_reg", "(", "enum", "rtx_code", "code", ",", "rtx", "x", ",", "rtx", "y", ")", "{", "enum", "machine_mode", "mode", "=", "SELECT_CC_MODE", "(", "code", ",", "x", ",", "y", ")", ";", "rtx", "cc_reg", "=", "gen_rtx_REG", "(", "mode", ",", "CC_REGNUM", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "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", ".", "FP", "means", "this", "is", "a", "floating", "point", "compare", ":", "I", "do", "n't", "think", "that", "it", "is", "needed", "on", "the", "arm", "."], "TS_V_token": ["arm"], "File": "arm3", "Func": "arm_gen_compare_reg", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6038, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsRegisterInfo", "::", "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": ["Mips", "Mips"], "File": "MipsRegisterInfo14", "Func": "eliminateCallFramePseudoInstr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6039, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getABIAlignmentForCallingConv", "(", "Type", "*", "ArgTy", ",", "DataLayout", "DL", ")", "const", "override", "{", "if", "(", "ArgTy", "->", "isVectorTy", "(", ")", ")", "return", "std", "::", "min", "(", "DL", ".", "getABITypeAlignment", "(", "ArgTy", ")", ",", "8U", ")", ";", "return", "DL", ".", "getABITypeAlignment", "(", "ArgTy", ")", ";", "}", ""], "natrual_language": ["Return", "the", "correct", "alignment", "for", "the", "current", "calling", "convention", "."], "TS_V_token": ["Mips", "8U"], "File": "MipsISelLowering12", "Func": "getABIAlignmentForCallingConv", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6040, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MipsSubtarget", "::", "MipsSubtarget", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "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", ")", ",", "HasSym32", "(", "false", ")", ",", "HasEVA", "(", "false", ")", ",", "DisableMadd4", "(", "false", ")", ",", "HasMT", "(", "false", ")", ",", "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": "MipsSubtarget64", "Func": "MipsSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6041, "Length": 485, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "CAHPTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "BB", "->", "getParent", "(", ")", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "assert", "(", "MI", ".", "getOpcode", "(", ")", "==", "CAHP", "::", "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", "(", "CAHP", "::", "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": ["CAHP", "CAHP", "CAHP::Select_GPR_Using_CC_GPR", "\"Unexpected instr type to insert\"", "1", "2", "ISD::CondCode", "3", "CAHP::PHI", "0", "4", "5"], "File": "CAHPISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6042, "Length": 367, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "ARMBaseRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "ARMSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "const", "ARMFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "SP", ")", ";", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "PC", ")", ";", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "FPSCR", ")", ";", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "APSR_NZCV", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "getFramePointerReg", "(", "STI", ")", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "BasePtr", ")", ";", "if", "(", "STI", ".", "isR9Reserved", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "R9", ")", ";", "if", "(", "!", "STI", ".", "hasD32", "(", ")", ")", "{", "static_assert", "(", "ARM", "::", "D31", "==", "ARM", "::", "D16", "+", "15", ",", "\"Register list not consecutive!\"", ")", ";", "for", "(", "unsigned", "R", "=", "0", ";", "R", "<", "16", ";", "++", "R", ")", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "D16", "+", "R", ")", ";", "}", "const", "TargetRegisterClass", "&", "RC", "=", "ARM", "::", "GPRPairRegClass", ";", "for", "(", "unsigned", "Reg", ":", "RC", ")", "for", "(", "MCSubRegIterator", "SI", "(", "Reg", ",", "this", ")", ";", "SI", ".", "isValid", "(", ")", ";", "++", "SI", ")", "if", "(", "Reserved", ".", "test", "(", "*", "SI", ")", ")", "markSuperRegs", "(", "Reserved", ",", "Reg", ")", ";", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "ZR", ")", ";", "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": ["ARM", "ARM", "ARM", "ARM", "ARM", "ARM::SP", "ARM::PC", "ARM::FPSCR", "ARM::APSR_NZCV", "ARM::R9", "ARM::D31", "ARM::D16", "15", "\"Register list not consecutive!\"", "0", "16", "ARM::D16", "ARM::GPRPairRegClass", "ARM::ZR"], "File": "ARMBaseRegisterInfo11", "Func": "getReservedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6043, "Length": 254, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "neon_struct_mem_operand", "(", "rtx", "op", ")", "{", "rtx", "ind", ";", "if", "(", "!", "(", "reload_in_progress", "||", "reload_completed", ")", "&&", "(", "reg_mentioned_p", "(", "frame_pointer_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "arg_pointer_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "virtual_incoming_args_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "virtual_outgoing_args_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "virtual_stack_dynamic_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "virtual_stack_vars_rtx", ",", "op", ")", ")", ")", "return", "FALSE", ";", "if", "(", "!", "MEM_P", "(", "op", ")", ")", "return", "FALSE", ";", "ind", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "reload_completed", "&&", "(", "LABEL_REF_P", "(", "ind", ")", "||", "(", "GET_CODE", "(", "ind", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "ind", ",", "0", ")", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "ind", ",", "0", ")", ",", "0", ")", ")", "==", "LABEL_REF", "&&", "CONST_INT_P", "(", "XEXP", "(", "XEXP", "(", "ind", ",", "0", ")", ",", "1", ")", ")", ")", ")", ")", "return", "TRUE", ";", "if", "(", "REG_P", "(", "ind", ")", ")", "return", "arm_address_register_rtx_p", "(", "ind", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "ind", ")", "==", "POST_INC", "||", "GET_CODE", "(", "ind", ")", "==", "PRE_DEC", ")", "return", "arm_address_register_rtx_p", "(", "XEXP", "(", "ind", ",", "0", ")", ",", "0", ")", ";", "return", "FALSE", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "OP", "is", "a", "mem", "suitable", "for", "loading/storing", "a", "Neon", "struct", "type", "."], "TS_V_token": ["arm", "0", "0", "0", "0", "0", "1", "0", "0", "0"], "File": "arm", "Func": "neon_struct_mem_operand", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6044, "Length": 201, "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": 6045, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSETargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", ",", "Align", ",", "MachineMemOperand", "::", "Flags", ",", "bool", "*", "Fast", ")", "const", "{", "MVT", "::", "SimpleValueType", "SVT", "=", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ";", "if", "(", "Subtarget", ".", "systemSupportsUnalignedAccess", "(", ")", ")", "{", "if", "(", "Fast", ")", "*", "Fast", "=", "true", ";", "return", "true", ";", "}", "switch", "(", "SVT", ")", "{", "case", "MVT", "::", "i64", ":", "case", "MVT", "::", "i32", ":", "if", "(", "Fast", ")", "*", "Fast", "=", "true", ";", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["Mips", "Mips", "MVT::SimpleValueType", "MVT::i64", "MVT::i32"], "File": "MipsSEISelLowering18", "Func": "allowsMisalignedMemoryAccesses", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6046, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MMIXFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "if", "(", "!", "hasFP", "(", "MF", ")", ")", "{", "report_fatal_error", "(", "\"emitEpilogue doesn't support framepointer-less functions\"", ")", ";", "}", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "const", "MMIXRegisterInfo", "*", "RI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "FPReg", "=", "getFPReg", "(", "STI", ")", ";", "unsigned", "SPReg", "=", "getSPReg", "(", "STI", ")", ";", "MachineBasicBlock", "::", "iterator", "LastFrameDestroy", "=", "MBBI", ";", "size_t", "CalleeSavedSize", "=", "getCalleeSavedSize", "(", "MFI", ".", "getCalleeSavedInfo", "(", ")", ",", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "std", "::", "advance", "(", "LastFrameDestroy", ",", "-", "CalleeSavedSize", ")", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "RI", "->", "needsStackRealignment", "(", "MF", ")", "||", "MFI", ".", "hasVarSizedObjects", "(", ")", ")", "{", "adjustReg", "(", "MBB", ",", "LastFrameDestroy", ",", "DL", ",", "SPReg", ",", "FPReg", ",", "-", "StackSize", ",", "MachineInstr", "::", "FrameDestroy", ")", ";", "}", "adjustReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "SPReg", ",", "SPReg", ",", "StackSize", ",", "MachineInstr", "::", "FrameDestroy", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["MMIX", "MMIX", "\"emitEpilogue doesn't support framepointer-less functions\"", "MMIX"], "File": "MMIXFrameLowering", "Func": "emitEpilogue", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6047, "Length": 192, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64DAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "char", "ConstraintCode", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "switch", "(", "ConstraintCode", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unrecognised AArch64 memory constraint\"", ")", ";", "case", "'m'", ":", "case", "'Q'", ":", "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": ["AArch64", "AArch64", "\"Unrecognised AArch64 memory constraint\""], "File": "AArch64ISelDAGToDAG13", "Func": "SelectInlineAsmMemoryOperand", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6048, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "xstormy16_emit_cbranch", "(", "enum", "rtx_code", "code", ",", "rtx", "loc", ")", "{", "rtx", "op0", "=", "xstormy16_compare_op0", ";", "rtx", "op1", "=", "xstormy16_compare_op1", ";", "rtx", "condition_rtx", ",", "loc_ref", ",", "branch", ",", "cy_clobber", ";", "rtvec", "vec", ";", "enum", "machine_mode", "mode", ";", "mode", "=", "GET_MODE", "(", "op0", ")", ";", "gcc_assert", "(", "mode", "==", "HImode", "||", "mode", "==", "SImode", ")", ";", "if", "(", "mode", "==", "SImode", "&&", "(", "code", "==", "GT", "||", "code", "==", "LE", "||", "code", "==", "GTU", "||", "code", "==", "LEU", ")", ")", "{", "int", "unsigned_p", "=", "(", "code", "==", "GTU", "||", "code", "==", "LEU", ")", ";", "int", "gt_p", "=", "(", "code", "==", "GT", "||", "code", "==", "GTU", ")", ";", "rtx", "lab", "=", "NULL_RTX", ";", "if", "(", "gt_p", ")", "lab", "=", "gen_label_rtx", "(", ")", ";", "xstormy16_emit_cbranch", "(", "unsigned_p", "?", "LTU", ":", "LT", ",", "gt_p", "?", "lab", ":", "loc", ")", ";", "xstormy16_emit_cbranch", "(", "gt_p", "?", "NE", ":", "EQ", ",", "loc", ")", ";", "if", "(", "gt_p", ")", "emit_label", "(", "lab", ")", ";", "return", ";", "}", "else", "if", "(", "mode", "==", "SImode", "&&", "(", "code", "==", "NE", "||", "code", "==", "EQ", ")", "&&", "op1", "!=", "const0_rtx", ")", "{", "rtx", "lab", "=", "NULL_RTX", ";", "int", "num_words", "=", "GET_MODE_BITSIZE", "(", "mode", ")", "/", "BITS_PER_WORD", ";", "int", "i", ";", "if", "(", "code", "==", "EQ", ")", "lab", "=", "gen_label_rtx", "(", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "num_words", "-", "1", ";", "i", "++", ")", "{", "xstormy16_compare_op0", "=", "simplify_gen_subreg", "(", "word_mode", ",", "op0", ",", "mode", ",", "i", "*", "UNITS_PER_WORD", ")", ";", "xstormy16_compare_op1", "=", "simplify_gen_subreg", "(", "word_mode", ",", "op1", ",", "mode", ",", "i", "*", "UNITS_PER_WORD", ")", ";", "xstormy16_emit_cbranch", "(", "NE", ",", "code", "==", "EQ", "?", "lab", ":", "loc", ")", ";", "}", "xstormy16_compare_op0", "=", "simplify_gen_subreg", "(", "word_mode", ",", "op0", ",", "mode", ",", "i", "*", "UNITS_PER_WORD", ")", ";", "xstormy16_compare_op1", "=", "simplify_gen_subreg", "(", "word_mode", ",", "op1", ",", "mode", ",", "i", "*", "UNITS_PER_WORD", ")", ";", "xstormy16_emit_cbranch", "(", "code", ",", "loc", ")", ";", "if", "(", "code", "==", "EQ", ")", "emit_label", "(", "lab", ")", ";", "return", ";", "}", "if", "(", "mode", "!=", "HImode", ")", "{", "rtx", "tmp", ";", "tmp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_move_insn", "(", "tmp", ",", "op0", ")", ";", "op0", "=", "tmp", ";", "}", "condition_rtx", "=", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "op0", ",", "op1", ")", ";", "loc_ref", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "loc", ")", ";", "branch", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "pc_rtx", ",", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "condition_rtx", ",", "loc_ref", ",", "pc_rtx", ")", ")", ";", "cy_clobber", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_SCRATCH", "(", "BImode", ")", ")", ";", "if", "(", "mode", "==", "HImode", ")", "vec", "=", "gen_rtvec", "(", "2", ",", "branch", ",", "cy_clobber", ")", ";", "else", "if", "(", "code", "==", "NE", "||", "code", "==", "EQ", ")", "vec", "=", "gen_rtvec", "(", "2", ",", "branch", ",", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "op0", ")", ")", ";", "else", "{", "rtx", "sub", ";", "sub", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "op0", ",", "gen_rtx_MINUS", "(", "SImode", ",", "op0", ",", "op1", ")", ")", ";", "sub", "=", "gen_rtx_CLOBBER", "(", "SImode", ",", "op0", ")", ";", "vec", "=", "gen_rtvec", "(", "3", ",", "branch", ",", "sub", ",", "cy_clobber", ")", ";", "}", "emit_jump_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "vec", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "branch", "of", "kind", "CODE", "to", "location", "LOC", "."], "TS_V_token": ["stormy16", "0", "1", "2", "2", "3"], "File": "stormy163", "Func": "xstormy16_emit_cbranch", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6049, "Length": 506, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsFrameLowering", "::", "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": ["Mips", "Mips"], "File": "MipsFrameLowering11", "Func": "hasFP", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6050, "Length": 68, "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": ["TOY"], "File": "TOYTargetMachine1", "Func": "getObjFileLowering", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6051, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "ix86_static_rtx_alignment", "(", "machine_mode", "mode", ")", "{", "if", "(", "mode", "==", "DFmode", ")", "return", "64", ";", "if", "(", "ALIGN_MODE_128", "(", "mode", ")", ")", "return", "MAX", "(", "128", ",", "GET_MODE_ALIGNMENT", "(", "mode", ")", ")", ";", "return", "GET_MODE_ALIGNMENT", "(", "mode", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_STATIC_RTX_ALIGNMENT", "."], "TS_V_token": ["i386", "64", "128"], "File": "i386", "Func": "ix86_static_rtx_alignment", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6052, "Length": 42, "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": 6053, "Length": 15, "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": 6054, "Length": 127, "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", ")", ",", "GenExecuteOnly", "(", "EnableExecuteOnly", ")", ",", "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", ")", ",", "GISel", "(", ")", "{", "}", ""], "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": "ARMSubtarget24", "Func": "ARMSubtarget", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6055, "Length": 146, "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", "*", "U", ":", "VMov", "->", "uses", "(", ")", ")", "{", "if", "(", "U", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "CopyToReg", ")", "return", "false", ";", "Copies", ".", "insert", "(", "U", ")", ";", "}", "if", "(", "Copies", ".", "size", "(", ")", ">", "2", ")", "return", "false", ";", "for", "(", "SDNode", "*", "U", ":", "VMov", "->", "uses", "(", ")", ")", "{", "SDValue", "UseChain", "=", "U", "->", "getOperand", "(", "0", ")", ";", "if", "(", "Copies", ".", "count", "(", "UseChain", ".", "getNode", "(", ")", ")", ")", "Copy", "=", "U", ";", "else", "{", "if", "(", "U", "->", "getOperand", "(", "U", "->", "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", "(", "const", "SDNode", "*", "U", ":", "Copy", "->", "uses", "(", ")", ")", "{", "if", "(", "U", "->", "getOpcode", "(", ")", "!=", "ARMISD", "::", "RET_FLAG", "&&", "U", "->", "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": "ARMISelLowering12", "Func": "isUsedByReturnOnly", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6056, "Length": 428, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_power9_pairable_vec_type", "(", "enum", "attr_type", "type", ")", "{", "switch", "(", "type", ")", "{", "case", "TYPE_VECSIMPLE", ":", "case", "TYPE_VECCOMPLEX", ":", "case", "TYPE_VECDIV", ":", "case", "TYPE_VECCMP", ":", "case", "TYPE_VECPERM", ":", "case", "TYPE_VECFLOAT", ":", "case", "TYPE_VECFDIV", ":", "case", "TYPE_VECDOUBLE", ":", "return", "true", ";", "default", ":", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "whether", "TYPE", "is", "a", "Power9", "pairable", "vector", "instruction", "type", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "is_power9_pairable_vec_type", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6057, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch_macro_fusion_pair_p", "(", "rtx_insn", "*", "prev", ",", "rtx_insn", "*", "curr", ")", "{", "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_MOVW_MOVT", "&&", "arm_sets_movw_movt_fusible_p", "(", "prev_set", ",", "curr_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"], "File": "arm", "Func": "aarch_macro_fusion_pair_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6058, "Length": 84, "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": 6059, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsMCCodeEmitter", "::", "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", "(", "Mips", "::", "fixup_Mips_PC16", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "."], "TS_V_token": ["Mips", "Mips", "\"getBranchTargetOpValue expects only expressions\"", "0", "Mips::fixup_Mips_PC16", "0"], "File": "MipsMCCodeEmitter10", "Func": "getBranchTargetOpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6060, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isStackIdSafeForLocalArea", "(", "unsigned", "StackId", ")", "const", "override", "{", "return", "StackId", "!=", "TargetStackID", "::", "ScalableVector", ";", "}", ""], "natrual_language": ["This", "method", "returns", "whether", "or", "not", "it", "is", "safe", "for", "an", "object", "with", "the", "given", "stack", "id", "to", "be", "bundled", "into", "the", "local", "area", "."], "TS_V_token": ["AArch64"], "File": "AArch64FrameLowering (2)1", "Func": "isStackIdSafeForLocalArea", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6061, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "if", "(", "STI", ".", "isTargetIOS", "(", ")", "||", "STI", ".", "isTargetWatchOS", "(", ")", ")", "return", "true", ";", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "(", "(", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "&&", "MFI", "->", "hasCalls", "(", ")", ")", "||", "RegInfo", "->", "needsStackRealignment", "(", "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": "ARMFrameLowering (2)1", "Func": "hasFP", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6062, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_sve_cmp_immediate_p", "(", "rtx", "x", ",", "bool", "signed_p", ")", "{", "rtx", "elt", ";", "return", "(", "const_vec_duplicate_p", "(", "x", ",", "&", "elt", ")", "&&", "CONST_INT_P", "(", "elt", ")", "&&", "(", "signed_p", "?", "IN_RANGE", "(", "INTVAL", "(", "elt", ")", ",", "-", "16", ",", "15", ")", ":", "IN_RANGE", "(", "INTVAL", "(", "elt", ")", ",", "0", ",", "127", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "valid", "immediate", "operand", "for", "an", "SVE", "CMP", "instruction", ".", "SIGNED_P", "says", "whether", "the", "operand", "is", "signed", "rather", "than", "unsigned", "."], "TS_V_token": ["aarch64", "16", "15", "0", "127"], "File": "aarch645", "Func": "aarch64_sve_cmp_immediate_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6063, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TOYFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "computeStackSize", "(", "MF", ")", ";", "if", "(", "!", "StackSize", ")", "{", "return", ";", "}", "unsigned", "StackReg", "=", "TOY", "::", "SP", ";", "unsigned", "OffsetReg", "=", "materializeOffset", "(", "MF", ",", "MBB", ",", "MBBI", ",", "(", "unsigned", ")", "StackSize", ")", ";", "if", "(", "OffsetReg", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TOY", "::", "SUBrr", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addReg", "(", "OffsetReg", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TOY", "::", "SUBri", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addImm", "(", "StackSize", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["TOY", "TOY", "TOY::SP", "TOY::SUBrr", "TOY::SUBri"], "File": "TOYFrameLowering1", "Func": "emitPrologue", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6064, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "pcrel_constant_p", "(", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "MINUS", ")", "return", "symbol_mentioned_p", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "label_mentioned_p", "(", "XEXP", "(", "x", ",", "1", ")", ")", ";", "return", "FALSE", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "this", "rtx", "is", "the", "difference", "of", "a", "symbol", "and", "a", "label", ",", "and", "will", "reduce", "to", "a", "PC-relative", "relocation", "in", "the", "object", "file", ".", "Expressions", "like", "this", "can", "be", "left", "alone", "when", "generating", "PIC", ",", "rather", "than", "forced", "through", "the", "GOT", "."], "TS_V_token": ["arm", "0", "1"], "File": "arm", "Func": "pcrel_constant_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6065, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_save_toc_in_prologue_p", "(", "void", ")", "{", "return", "(", "cfun", "&&", "cfun", "->", "machine", "&&", "cfun", "->", "machine", "->", "save_toc_in_prologue", ")", ";", "}", ""], "natrual_language": ["Return", "whether", "we", "need", "to", "always", "update", "the", "saved", "TOC", "pointer", "when", "we", "update", "the", "stack", "pointer", "."], "TS_V_token": ["rs6000"], "File": "rs6000-logue", "Func": "rs6000_save_toc_in_prologue_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6066, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LEGAsmBackend", "::", "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": ["LEG", "LEG", "4", "\"Invalid fixup offset!\"", "0", "8", "0xff"], "File": "LEGAsmBackend", "Func": "applyFixup", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6067, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_expand_vec_reduc", "(", "rtx", "target", ",", "rtx", "in", ",", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ")", "{", "machine_mode", "vmode", "=", "GET_MODE", "(", "in", ")", ";", "unsigned", "char", "perm2", "[", "2", "]", ";", "rtx", "last", ",", "next", ",", "fold", ",", "x", ";", "bool", "ok", ";", "last", "=", "in", ";", "fold", "=", "gen_reg_rtx", "(", "vmode", ")", ";", "switch", "(", "vmode", ")", "{", "case", "V2SFmode", ":", "perm2", "[", "0", "]", "=", "1", ";", "perm2", "[", "1", "]", "=", "2", ";", "ok", "=", "mips_expand_vselect_vconcat", "(", "fold", ",", "last", ",", "last", ",", "perm2", ",", "2", ")", ";", "gcc_assert", "(", "ok", ")", ";", "break", ";", "case", "V2SImode", ":", "emit_insn", "(", "gen_loongson_punpckhwd", "(", "fold", ",", "last", ",", "last", ")", ")", ";", "break", ";", "case", "V4HImode", ":", "emit_insn", "(", "gen_loongson_punpckhwd_hi", "(", "fold", ",", "last", ",", "last", ")", ")", ";", "next", "=", "gen_reg_rtx", "(", "vmode", ")", ";", "emit_insn", "(", "gen", "(", "next", ",", "last", ",", "fold", ")", ")", ";", "last", "=", "next", ";", "fold", "=", "gen_reg_rtx", "(", "vmode", ")", ";", "x", "=", "force_reg", "(", "SImode", ",", "GEN_INT", "(", "16", ")", ")", ";", "emit_insn", "(", "gen_vec_shr_v4hi", "(", "fold", ",", "last", ",", "x", ")", ")", ";", "break", ";", "case", "V8QImode", ":", "emit_insn", "(", "gen_loongson_punpckhwd_qi", "(", "fold", ",", "last", ",", "last", ")", ")", ";", "next", "=", "gen_reg_rtx", "(", "vmode", ")", ";", "emit_insn", "(", "gen", "(", "next", ",", "last", ",", "fold", ")", ")", ";", "last", "=", "next", ";", "fold", "=", "gen_reg_rtx", "(", "vmode", ")", ";", "x", "=", "force_reg", "(", "SImode", ",", "GEN_INT", "(", "16", ")", ")", ";", "emit_insn", "(", "gen_vec_shr_v8qi", "(", "fold", ",", "last", ",", "x", ")", ")", ";", "next", "=", "gen_reg_rtx", "(", "vmode", ")", ";", "emit_insn", "(", "gen", "(", "next", ",", "last", ",", "fold", ")", ")", ";", "last", "=", "next", ";", "fold", "=", "gen_reg_rtx", "(", "vmode", ")", ";", "x", "=", "force_reg", "(", "SImode", ",", "GEN_INT", "(", "8", ")", ")", ";", "emit_insn", "(", "gen_vec_shr_v8qi", "(", "fold", ",", "last", ",", "x", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "emit_insn", "(", "gen", "(", "target", ",", "last", ",", "fold", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "vector", "reduction", "."], "TS_V_token": ["mips", "2", "0", "1", "1", "2", "2", "16", "16", "8"], "File": "mips4", "Func": "mips_expand_vec_reduc", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6068, "Length": 338, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetELFStreamer", "::", "finish", "(", ")", "{", "MCAssembler", "&", "MCA", "=", "getStreamer", "(", ")", ".", "getAssembler", "(", ")", ";", "const", "MCObjectFileInfo", "&", "OFI", "=", "*", "MCA", ".", "getContext", "(", ")", ".", "getObjectFileInfo", "(", ")", ";", "MCSection", "&", "TextSection", "=", "*", "OFI", ".", "getTextSection", "(", ")", ";", "MCA", ".", "registerSection", "(", "TextSection", ")", ";", "MCSection", "&", "DataSection", "=", "*", "OFI", ".", "getDataSection", "(", ")", ";", "MCA", ".", "registerSection", "(", "DataSection", ")", ";", "MCSection", "&", "BSSSection", "=", "*", "OFI", ".", "getBSSSection", "(", ")", ";", "MCA", ".", "registerSection", "(", "BSSSection", ")", ";", "TextSection", ".", "setAlignment", "(", "std", "::", "max", "(", "16u", ",", "TextSection", ".", "getAlignment", "(", ")", ")", ")", ";", "DataSection", ".", "setAlignment", "(", "std", "::", "max", "(", "16u", ",", "DataSection", ".", "getAlignment", "(", ")", ")", ")", ";", "BSSSection", ".", "setAlignment", "(", "std", "::", "max", "(", "16u", ",", "BSSSection", ".", "getAlignment", "(", ")", ")", ")", ";", "if", "(", "RoundSectionSizes", ")", "{", "MCStreamer", "&", "OS", "=", "getStreamer", "(", ")", ";", "for", "(", "MCSection", "&", "S", ":", "MCA", ")", "{", "MCSectionELF", "&", "Section", "=", "static_cast", "<", "MCSectionELF", "&", ">", "(", "S", ")", ";", "unsigned", "Alignment", "=", "Section", ".", "getAlignment", "(", ")", ";", "if", "(", "Alignment", ")", "{", "OS", ".", "SwitchSection", "(", "&", "Section", ")", ";", "if", "(", "Section", ".", "UseCodeAlign", "(", ")", ")", "OS", ".", "EmitCodeAlignment", "(", "Alignment", ",", "Alignment", ")", ";", "else", "OS", ".", "EmitValueToAlignment", "(", "Alignment", ",", "0", ",", "1", ",", "Alignment", ")", ";", "}", "}", "}", "const", "FeatureBitset", "&", "Features", "=", "STI", ".", "getFeatureBits", "(", ")", ";", "unsigned", "EFlags", "=", "MCA", ".", "getELFHeaderEFlags", "(", ")", ";", "if", "(", "getABI", "(", ")", ".", "IsO32", "(", ")", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_ABI_O32", ";", "else", "if", "(", "getABI", "(", ")", ".", "IsN32", "(", ")", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_ABI2", ";", "if", "(", "Features", "[", "Mips", "::", "FeatureGP64Bit", "]", ")", "{", "if", "(", "getABI", "(", ")", ".", "IsO32", "(", ")", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_32BITMODE", ";", "}", "else", "if", "(", "Features", "[", "Mips", "::", "FeatureMips64r2", "]", "||", "Features", "[", "Mips", "::", "FeatureMips64", "]", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_32BITMODE", ";", "if", "(", "!", "Features", "[", "Mips", "::", "FeatureNoABICalls", "]", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_CPIC", ";", "if", "(", "Pic", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_PIC", "|", "ELF", "::", "EF_MIPS_CPIC", ";", "MCA", ".", "setELFHeaderEFlags", "(", "EFlags", ")", ";", "MipsELFStreamer", "&", "MEF", "=", "static_cast", "<", "MipsELFStreamer", "&", ">", "(", "Streamer", ")", ";", "MEF", ".", "EmitMipsOptionRecords", "(", ")", ";", "emitMipsAbiFlags", "(", ")", ";", "}", ""], "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": ["Mips", "Mips", "16u", "16u", "16u", "0", "1", "Mips::FeatureGP64Bit", "Mips::FeatureMips64r2", "Mips::FeatureMips64", "Mips::FeatureNoABICalls", "Mips", "Mips", "Mips", "Mips"], "File": "MipsTargetStreamer1", "Func": "finish", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6069, "Length": 398, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSERegisterInfo", "::", "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": ["Mips", "Mips"], "File": "MipsSERegisterInfo (2)", "Func": "requiresRegisterScavenging", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6070, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsELFStreamer", "::", "EmitInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "bool", ")", "{", "MCELFStreamer", "::", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "MCContext", "&", "Context", "=", "getContext", "(", ")", ";", "const", "MCRegisterInfo", "*", "MCRegInfo", "=", "Context", ".", "getRegisterInfo", "(", ")", ";", "for", "(", "unsigned", "OpIndex", "=", "0", ";", "OpIndex", "<", "Inst", ".", "getNumOperands", "(", ")", ";", "++", "OpIndex", ")", "{", "const", "MCOperand", "&", "Op", "=", "Inst", ".", "getOperand", "(", "OpIndex", ")", ";", "if", "(", "!", "Op", ".", "isReg", "(", ")", ")", "continue", ";", "unsigned", "Reg", "=", "Op", ".", "getReg", "(", ")", ";", "RegInfoRecord", "->", "SetPhysRegUsed", "(", "Reg", ",", "MCRegInfo", ")", ";", "}", "createPendingLabelRelocs", "(", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["Mips", "Mips", "0"], "File": "MipsELFStreamer1", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6071, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "function_expander", "::", "use_contiguous_load_insn", "(", "insn_code", "icode", ")", "{", "machine_mode", "mem_mode", "=", "memory_vector_mode", "(", ")", ";", "add_output_operand", "(", "icode", ")", ";", "add_mem_operand", "(", "mem_mode", ",", "get_contiguous_base", "(", "mem_mode", ")", ")", ";", "add_input_operand", "(", "icode", ",", "args", "[", "0", "]", ")", ";", "if", "(", "GET_MODE_UNIT_BITSIZE", "(", "mem_mode", ")", "<", "type_suffix", "(", "0", ")", ".", "element_bits", ")", "add_input_operand", "(", "icode", ",", "CONSTM1_RTX", "(", "VNx16BImode", ")", ")", ";", "return", "generate_insn", "(", "icode", ")", ";", "}", ""], "natrual_language": ["Use", "contiguous", "load", "INSN", "."], "TS_V_token": ["aarch64", "0", "0"], "File": "aarch64-sve-builtins", "Func": "use_contiguous_load_insn", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6072, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "use_rsqrt_p", "(", "void", ")", "{", "return", "(", "!", "flag_trapping_math", "&&", "flag_unsafe_math_optimizations", "&&", "(", "(", "aarch64_tune_params", ".", "extra_tuning_flags", "&", "AARCH64_EXTRA_TUNE_APPROX_RSQRT", ")", "||", "flag_mrecip_low_precision_sqrt", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "safe", "to", "use", "the", "rsqrt", "optabs", "to", "optimize", "1.0/sqrt", "."], "TS_V_token": ["aarch64"], "File": "aarch643", "Func": "use_rsqrt_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6073, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_final_prescan_insn", "(", "rtx_insn", "*", "insn", ",", "rtx", "[", "]", ",", "int", ")", "{", "prepend_p_to_next_insn", "=", "(", "get_attr_maybe_prefixed", "(", "insn", ")", "==", "MAYBE_PREFIXED_YES", "&&", "get_attr_prefixed", "(", "insn", ")", "==", "PREFIXED_YES", ")", ";", "return", ";", "}", ""], "natrual_language": ["Define", "FINAL_PRESCAN_INSN", "if", "some", "processing", "needs", "to", "be", "done", "before", "outputting", "the", "assembler", "code", ".", "On", "the", "PowerPC", ",", "we", "remember", "if", "the", "current", "insn", "is", "a", "prefixed", "insn", "where", "we", "need", "to", "emit", "a", "'", "p", "'", "before", "the", "insn", ".", "In", "addition", ",", "if", "the", "insn", "is", "part", "of", "a", "PC-relative", "reference", "to", "an", "external", "label", "optimization", ",", "this", "is", "recorded", "also", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_final_prescan_insn", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6074, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "(", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "TRI", "->", "hasStackRealignment", "(", "MF", ")", "||", "MFI", ".", "hasVarSizedObjects", "(", ")", "||", "MFI", ".", "isFrameAddressTaken", "(", ")", "||", "MFI", ".", "hasOpaqueSPAdjustment", "(", ")", "||", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "getForceFramePointer", "(", ")", "||", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "hasPreallocatedCall", "(", ")", "||", "MF", ".", "callsUnwindInit", "(", ")", "||", "MF", ".", "hasEHFunclets", "(", ")", "||", "MF", ".", "callsEHReturn", "(", ")", "||", "MFI", ".", "hasStackMap", "(", ")", "||", "MFI", ".", "hasPatchPoint", "(", ")", "||", "(", "isWin64Prologue", "(", "MF", ")", "&&", "MFI", ".", "hasCopyImplyingStackAdjustment", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86FrameLowering (2)3", "Func": "hasFP", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6075, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZTargetLowering", "::", "LowerAsmOperandForConstraint", "(", "SDValue", "Op", ",", "std", "::", "string", "&", "Constraint", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "Ops", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "Constraint", ".", "length", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'I'", ":", "if", "(", "auto", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "if", "(", "isUInt", "<", "8", ">", "(", "C", "->", "getZExtValue", "(", ")", ")", ")", "Ops", ".", "push_back", "(", "DAG", ".", "getTargetConstant", "(", "C", "->", "getZExtValue", "(", ")", ",", "SDLoc", "(", "Op", ")", ",", "Op", ".", "getValueType", "(", ")", ")", ")", ";", "return", ";", "case", "'J'", ":", "if", "(", "auto", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "if", "(", "isUInt", "<", "12", ">", "(", "C", "->", "getZExtValue", "(", ")", ")", ")", "Ops", ".", "push_back", "(", "DAG", ".", "getTargetConstant", "(", "C", "->", "getZExtValue", "(", ")", ",", "SDLoc", "(", "Op", ")", ",", "Op", ".", "getValueType", "(", ")", ")", ")", ";", "return", ";", "case", "'K'", ":", "if", "(", "auto", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "if", "(", "isInt", "<", "16", ">", "(", "C", "->", "getSExtValue", "(", ")", ")", ")", "Ops", ".", "push_back", "(", "DAG", ".", "getTargetConstant", "(", "C", "->", "getSExtValue", "(", ")", ",", "SDLoc", "(", "Op", ")", ",", "Op", ".", "getValueType", "(", ")", ")", ")", ";", "return", ";", "case", "'L'", ":", "if", "(", "auto", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "if", "(", "isInt", "<", "20", ">", "(", "C", "->", "getSExtValue", "(", ")", ")", ")", "Ops", ".", "push_back", "(", "DAG", ".", "getTargetConstant", "(", "C", "->", "getSExtValue", "(", ")", ",", "SDLoc", "(", "Op", ")", ",", "Op", ".", "getValueType", "(", ")", ")", ")", ";", "return", ";", "case", "'M'", ":", "if", "(", "auto", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "if", "(", "C", "->", "getZExtValue", "(", ")", "==", "0x7fffffff", ")", "Ops", ".", "push_back", "(", "DAG", ".", "getTargetConstant", "(", "C", "->", "getZExtValue", "(", ")", ",", "SDLoc", "(", "Op", ")", ",", "Op", ".", "getValueType", "(", ")", ")", ")", ";", "return", ";", "}", "}", "TargetLowering", "::", "LowerAsmOperandForConstraint", "(", "Op", ",", "Constraint", ",", "Ops", ",", "DAG", ")", ";", "}", ""], "natrual_language": ["Lower", "the", "specified", "operand", "into", "the", "Ops", "vector", "."], "TS_V_token": ["SystemZ", "SystemZ", "1", "0", "8", "12", "16", "20", "0x7fffffff"], "File": "SystemZISelLowering (2)1", "Func": "LowerAsmOperandForConstraint", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6076, "Length": 360, "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": 6077, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "aarch64_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", ")", "{", "unsigned", "*", "cost", "=", "(", "unsigned", "*", ")", "data", ";", "unsigned", "retval", "=", "0", ";", "if", "(", "flag_vect_cost_model", ")", "{", "tree", "vectype", "=", "stmt_info", "?", "stmt_vectype", "(", "stmt_info", ")", ":", "NULL_TREE", ";", "int", "stmt_cost", "=", "aarch64_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", "[", "where", "]", "+=", "retval", ";", "}", "return", "retval", ";", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.add_stmt_cost", "."], "TS_V_token": ["aarch64", "0", "50"], "File": "aarch643", "Func": "aarch64_add_stmt_cost", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6078, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "BuildSDIVPow2", "(", "SDNode", "*", "N", ",", "const", "APInt", "&", "Divisor", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDNode", "*", ">", "&", "Created", ")", "const", "{", "EVT", "VT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "if", "(", "VT", "==", "MVT", "::", "i64", "&&", "!", "Subtarget", ".", "isPPC64", "(", ")", ")", "return", "SDValue", "(", ")", ";", "if", "(", "(", "VT", "!=", "MVT", "::", "i32", "&&", "VT", "!=", "MVT", "::", "i64", ")", "||", "!", "(", "Divisor", ".", "isPowerOf2", "(", ")", "||", "(", "-", "Divisor", ")", ".", "isPowerOf2", "(", ")", ")", ")", "return", "SDValue", "(", ")", ";", "SDLoc", "DL", "(", "N", ")", ";", "SDValue", "N0", "=", "N", "->", "getOperand", "(", "0", ")", ";", "bool", "IsNegPow2", "=", "(", "-", "Divisor", ")", ".", "isPowerOf2", "(", ")", ";", "unsigned", "Lg2", "=", "(", "IsNegPow2", "?", "-", "Divisor", ":", "Divisor", ")", ".", "countTrailingZeros", "(", ")", ";", "SDValue", "ShiftAmt", "=", "DAG", ".", "getConstant", "(", "Lg2", ",", "DL", ",", "VT", ")", ";", "SDValue", "Op", "=", "DAG", ".", "getNode", "(", "PPCISD", "::", "SRA_ADDZE", ",", "DL", ",", "VT", ",", "N0", ",", "ShiftAmt", ")", ";", "Created", ".", "push_back", "(", "Op", ".", "getNode", "(", ")", ")", ";", "if", "(", "IsNegPow2", ")", "{", "Op", "=", "DAG", ".", "getNode", "(", "ISD", "::", "SUB", ",", "DL", ",", "VT", ",", "DAG", ".", "getConstant", "(", "0", ",", "DL", ",", "VT", ")", ",", "Op", ")", ";", "Created", ".", "push_back", "(", "Op", ".", "getNode", "(", ")", ")", ";", "}", "return", "Op", ";", "}", ""], "natrual_language": ["Targets", "may", "override", "this", "function", "to", "provide", "custom", "SDIV", "lowering", "for", "power-of-2", "denominators", "."], "TS_V_token": ["PowerPC", "PPC", "0", "MVT::i64", "PPC", "MVT::i32", "MVT::i64", "0", "PPCISD::SRA_ADDZE", "ISD::SUB", "0"], "File": "PPCISelLowering (2)7", "Func": "BuildSDIVPow2", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6079, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "convertible_comparison_p", "(", "rtx_insn", "*", "insn", ",", "enum", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_64BIT", "||", "mode", "!=", "DImode", ")", "return", "false", ";", "if", "(", "!", "TARGET_SSE4_1", ")", "return", "false", ";", "rtx", "def_set", "=", "single_set", "(", "insn", ")", ";", "gcc_assert", "(", "def_set", ")", ";", "rtx", "src", "=", "SET_SRC", "(", "def_set", ")", ";", "rtx", "dst", "=", "SET_DEST", "(", "def_set", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "src", ")", "==", "COMPARE", ")", ";", "if", "(", "GET_CODE", "(", "dst", ")", "!=", "REG", "||", "REGNO", "(", "dst", ")", "!=", "FLAGS_REG", "||", "GET_MODE", "(", "dst", ")", "!=", "CCZmode", ")", "return", "false", ";", "rtx", "op1", "=", "XEXP", "(", "src", ",", "0", ")", ";", "rtx", "op2", "=", "XEXP", "(", "src", ",", "1", ")", ";", "if", "(", "op2", "!=", "CONST0_RTX", "(", "GET_MODE", "(", "op2", ")", ")", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "op1", ")", "!=", "IOR", ")", "return", "false", ";", "op2", "=", "XEXP", "(", "op1", ",", "1", ")", ";", "op1", "=", "XEXP", "(", "op1", ",", "0", ")", ";", "if", "(", "!", "SUBREG_P", "(", "op1", ")", "||", "!", "SUBREG_P", "(", "op2", ")", "||", "GET_MODE", "(", "op1", ")", "!=", "SImode", "||", "GET_MODE", "(", "op2", ")", "!=", "SImode", "||", "(", "(", "SUBREG_BYTE", "(", "op1", ")", "!=", "0", "||", "SUBREG_BYTE", "(", "op2", ")", "!=", "GET_MODE_SIZE", "(", "SImode", ")", ")", "&&", "(", "SUBREG_BYTE", "(", "op2", ")", "!=", "0", "||", "SUBREG_BYTE", "(", "op1", ")", "!=", "GET_MODE_SIZE", "(", "SImode", ")", ")", ")", ")", "return", "false", ";", "op1", "=", "SUBREG_REG", "(", "op1", ")", ";", "op2", "=", "SUBREG_REG", "(", "op2", ")", ";", "if", "(", "op1", "!=", "op2", "||", "!", "REG_P", "(", "op1", ")", "||", "GET_MODE", "(", "op1", ")", "!=", "DImode", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Check", "if", "comparison", "INSN", "may", "be", "transformed", "into", "vector", "comparison", ".", "Currently", "we", "transform", "equality/inequality", "checks", "which", "look", "like", ":", "(", "set", "(", "reg", ":", "CCZ", "17", "flags", ")", "(", "compare", ":", "CCZ", "(", "reg", ":", "TI", "x", ")", "(", "reg", ":", "TI", "y", ")", ")", ")"], "TS_V_token": ["i386", "0", "1", "1", "0", "0", "0"], "File": "i386-features", "Func": "convertible_comparison_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6080, "Length": 273, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86SpeculativeExecutionSideEffectSuppression", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "auto", "&", "OptLevel", "=", "MF", ".", "getTarget", "(", ")", ".", "getOptLevel", "(", ")", ";", "const", "X86Subtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "EnableSpeculativeExecutionSideEffectSuppression", "&&", "!", "(", "Subtarget", ".", "useLVILoadHardening", "(", ")", "&&", "OptLevel", "==", "CodeGenOpt", "::", "None", ")", "&&", "!", "Subtarget", ".", "useSpeculativeExecutionSideEffectSuppression", "(", ")", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** \"", "<<", "getPassName", "(", ")", "<<", "\" : \"", "<<", "MF", ".", "getName", "(", ")", "<<", "\" **********\\n\"", ")", ";", "bool", "Modified", "=", "false", ";", "const", "X86InstrInfo", "*", "TII", "=", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "MachineInstr", "*", "FirstTerminator", "=", "nullptr", ";", "bool", "PrevInstIsLFENCE", "=", "false", ";", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "X86", "::", "LFENCE", ")", "{", "PrevInstIsLFENCE", "=", "true", ";", "continue", ";", "}", "if", "(", "MI", ".", "mayLoadOrStore", "(", ")", "&&", "!", "MI", ".", "isTerminator", "(", ")", ")", "{", "if", "(", "!", "PrevInstIsLFENCE", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "X86", "::", "LFENCE", ")", ")", ";", "NumLFENCEsInserted", "++", ";", "Modified", "=", "true", ";", "}", "if", "(", "OneLFENCEPerBasicBlock", ")", "break", ";", "}", "if", "(", "MI", ".", "isTerminator", "(", ")", "&&", "FirstTerminator", "==", "nullptr", ")", "FirstTerminator", "=", "&", "MI", ";", "if", "(", "!", "MI", ".", "isBranch", "(", ")", "||", "OmitBranchLFENCEs", ")", "{", "PrevInstIsLFENCE", "=", "false", ";", "continue", ";", "}", "if", "(", "OnlyLFENCENonConst", "&&", "hasConstantAddressingMode", "(", "MI", ")", ")", "{", "PrevInstIsLFENCE", "=", "false", ";", "continue", ";", "}", "if", "(", "!", "PrevInstIsLFENCE", ")", "{", "BuildMI", "(", "MBB", ",", "FirstTerminator", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "X86", "::", "LFENCE", ")", ")", ";", "NumLFENCEsInserted", "++", ";", "Modified", "=", "true", ";", "}", "break", ";", "}", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "\"********** \"", "\" : \"", "\" **********\\n\"", "X86", "X86::LFENCE", "X86::LFENCE", "X86::LFENCE"], "File": "X86SpeculativeExecutionSideEffectSuppression1", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6081, "Length": 309, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TOYPreEmit", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"********* TOY PreRmit *********\\n\"", ")", ";", "TII", "=", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "Changed", "|=", "optimizeLoopBranch", "(", "MF", ")", ";", "Changed", "|=", "removeFallThroughBranch", "(", "MF", ")", ";", "Changed", "|=", "localValueNumbering", "(", "MF", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["TOY", "TOY", "\"********* TOY PreRmit *********\\n\""], "File": "TOYPreEmit", "Func": "runOnMachineFunction", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6082, "Length": 61, "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", "::", "STRSpre", ":", "case", "AArch64", "::", "STURDi", ":", "case", "AArch64", "::", "STRDpre", ":", "case", "AArch64", "::", "STURQi", ":", "case", "AArch64", "::", "STRQpre", ":", "case", "AArch64", "::", "STURWi", ":", "case", "AArch64", "::", "STRWpre", ":", "case", "AArch64", "::", "STURXi", ":", "case", "AArch64", "::", "STRXpre", ":", "case", "AArch64", "::", "LDURSi", ":", "case", "AArch64", "::", "LDRSpre", ":", "case", "AArch64", "::", "LDURDi", ":", "case", "AArch64", "::", "LDRDpre", ":", "case", "AArch64", "::", "LDURQi", ":", "case", "AArch64", "::", "LDRQpre", ":", "case", "AArch64", "::", "LDURWi", ":", "case", "AArch64", "::", "LDRWpre", ":", "case", "AArch64", "::", "LDURXi", ":", "case", "AArch64", "::", "LDRXpre", ":", "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::STRSpre", "AArch64::STURDi", "AArch64::STRDpre", "AArch64::STURQi", "AArch64::STRQpre", "AArch64::STURWi", "AArch64::STRWpre", "AArch64::STURXi", "AArch64::STRXpre", "AArch64::LDURSi", "AArch64::LDRSpre", "AArch64::LDURDi", "AArch64::LDRDpre", "AArch64::LDURQi", "AArch64::LDRQpre", "AArch64::LDURWi", "AArch64::LDRWpre", "AArch64::LDURXi", "AArch64::LDRXpre", "AArch64::LDURSWi"], "File": "AArch64InstrInfo105", "Func": "isPairableLdStInst", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6083, "Length": 190, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiAsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", ",", "uint64_t", "Value", ",", "bool", ")", "const", "{", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "static_cast", "<", "unsigned", ">", "(", "Kind", ")", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "+", "7", ")", "/", "8", ";", "unsigned", "FullSize", "=", "4", ";", "uint64_t", "CurVal", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "(", "FullSize", "-", "1", "-", "i", ")", ";", "CurVal", "|=", "static_cast", "<", "uint64_t", ">", "(", "static_cast", "<", "uint8_t", ">", "(", "Data", "[", "Offset", "+", "Idx", "]", ")", ")", "<<", "(", "i", "*", "8", ")", ";", "}", "uint64_t", "Mask", "=", "(", "static_cast", "<", "uint64_t", ">", "(", "-", "1", ")", ">>", "(", "64", "-", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", ")", ";", "CurVal", "|=", "Value", "&", "Mask", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "(", "FullSize", "-", "1", "-", "i", ")", ";", "Data", "[", "Offset", "+", "Idx", "]", "=", "static_cast", "<", "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": ["Lanai", "Lanai", "7", "8", "4", "0", "0", "1", "8", "1", "64", "0", "1", "8", "0xff"], "File": "LanaiAsmBackend14", "Func": "applyFixup", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6084, "Length": 227, "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", "::", "BUILD_VECTOR", ":", "return", "PerformBuildVectorCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ",", "*", "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", ")", ";", "}", "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::BUILD_VECTOR", "ISD::SELECT", "X86ISD::CMOV", "ISD::MUL", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::STORE", "X86ISD::FXOR", "X86ISD::FOR", "X86ISD::FAND", "X86ISD::BT"], "File": "X86ISelLowering77", "Func": "PerformDAGCombine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6085, "Length": 210, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMFastISel", "::", "fastEmitInst_i", "(", "unsigned", "MachineInstOpcode", ",", "const", "TargetRegisterClass", "*", "RC", ",", "uint64_t", "Imm", ")", "{", "unsigned", "ResultReg", "=", "createResultReg", "(", "RC", ")", ";", "const", "MCInstrDesc", "&", "II", "=", "TII", ".", "get", "(", "MachineInstOpcode", ")", ";", "if", "(", "II", ".", "getNumDefs", "(", ")", ">=", "1", ")", "{", "AddOptionalDefs", "(", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "II", ",", "ResultReg", ")", ".", "addImm", "(", "Imm", ")", ")", ";", "}", "else", "{", "AddOptionalDefs", "(", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "II", ")", ".", "addImm", "(", "Imm", ")", ")", ";", "AddOptionalDefs", "(", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "ResultReg", ")", ".", "addReg", "(", "II", ".", "ImplicitDefs", "[", "0", "]", ")", ")", ";", "}", "return", "ResultReg", ";", "}", ""], "natrual_language": ["Emit", "a", "MachineInstr", "with", "a", "single", "immediate", "operand", ",", "and", "a", "result", "register", "in", "the", "given", "register", "class", "."], "TS_V_token": ["ARM", "ARM", "1", "0"], "File": "ARMFastISel (2)2", "Func": "fastEmitInst_i", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6086, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "if", "(", "!", "Subtarget", ".", "isPPC64", "(", ")", ")", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "PPC", "::", "R31", ":", "PPC", "::", "R1", ";", "else", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "PPC", "::", "X31", ":", "PPC", "::", "X1", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::R31", "PPC::R1", "PPC::X31", "PPC::X1"], "File": "PPCRegisterInfo68", "Func": "getFrameRegister", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6087, "Length": 70, "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", "(", ")", ".", "hasOptSize", "(", ")", ")", "Changed", "|=", "removeRedundantAddrCalc", "(", "LEAs", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86OptimizeLEAs4", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6088, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_hard_regno_mode_ok", "(", "int", "regno", ",", "enum", "machine_mode", "mode", ")", "{", "if", "(", "INT_REGNO_P", "(", "regno", ")", ")", "return", "INT_REGNO_P", "(", "regno", "+", "HARD_REGNO_NREGS", "(", "regno", ",", "mode", ")", "-", "1", ")", ";", "if", "(", "FP_REGNO_P", "(", "regno", ")", ")", "return", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", "&&", "FP_REGNO_P", "(", "regno", "+", "HARD_REGNO_NREGS", "(", "regno", ",", "mode", ")", "-", "1", ")", ")", "||", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_INT", "&&", "GET_MODE_SIZE", "(", "mode", ")", "==", "UNITS_PER_FP_WORD", ")", ";", "if", "(", "CR_REGNO_P", "(", "regno", ")", ")", "return", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_CC", ";", "if", "(", "XER_REGNO_P", "(", "regno", ")", ")", "return", "mode", "==", "PSImode", ";", "if", "(", "ALTIVEC_REGNO_P", "(", "regno", ")", ")", "return", "ALTIVEC_VECTOR_MODE", "(", "mode", ")", ";", "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": ["rs6000", "1", "1", "1"], "File": "rs60003", "Func": "rs6000_hard_regno_mode_ok", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6089, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "opt_machine_mode", "arm_mode_to_pred_mode", "(", "machine_mode", "mode", ")", "{", "switch", "(", "GET_MODE_NUNITS", "(", "mode", ")", ")", "{", "case", "16", ":", "return", "V16BImode", ";", "case", "8", ":", "return", "V8BImode", ";", "case", "4", ":", "return", "V4BImode", ";", "case", "2", ":", "return", "V2QImode", ";", "}", "return", "opt_machine_mode", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "mode", "for", "the", "MVE", "vector", "of", "predicates", "corresponding", "to", "MODE", "."], "TS_V_token": ["arm", "16", "8", "4", "2"], "File": "arm1", "Func": "arm_mode_to_pred_mode", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6090, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MLxExpansion", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "TII", "=", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "Fn", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "Fn", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "Fn", ".", "getRegInfo", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "MFI", "=", "Fn", ".", "begin", "(", ")", ",", "E", "=", "Fn", ".", "end", "(", ")", ";", "MFI", "!=", "E", ";", "++", "MFI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MFI", ";", "Modified", "|=", "ExpandFPMLxInstructions", "(", "MBB", ")", ";", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM"], "File": "MLxExpansionPass10", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6091, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "SparcTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "StringRef", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'f'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "SP", "::", "FPRegsRegClass", ")", ";", "case", "'r'", ":", "if", "(", "VT", "==", "MVT", "::", "v2i32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "SP", "::", "IntPairRegClass", ")", ";", "else", "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::FPRegsRegClass", "MVT::v2i32", "0U", "SP::IntPairRegClass", "0U", "SP::IntRegsRegClass", "5", "0", "1", "1", "2", "0", "0", "1", "\"r\"", "1", "10", "31", "8", "8", "0"], "File": "SparcISelLowering7", "Func": "getRegForInlineAsmConstraint", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6092, "Length": 295, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "union_uses", "(", "swap_web_entry", "*", "insn_entry", ",", "rtx", "insn", ",", "df_ref", "def", ")", "{", "struct", "df_link", "*", "link", "=", "DF_REF_CHAIN", "(", "def", ")", ";", "if", "(", "!", "link", ")", "insn_entry", "[", "INSN_UID", "(", "insn", ")", "]", ".", "is_live_out", "=", "1", ";", "while", "(", "link", ")", "{", "if", "(", "DF_REF_IS_ARTIFICIAL", "(", "link", "->", "ref", ")", ")", "insn_entry", "[", "INSN_UID", "(", "insn", ")", "]", ".", "is_live_out", "=", "1", ";", "if", "(", "DF_REF_INSN_INFO", "(", "link", "->", "ref", ")", ")", "{", "rtx", "use_insn", "=", "DF_REF_INSN", "(", "link", "->", "ref", ")", ";", "(", "void", ")", "unionfind_union", "(", "insn_entry", "+", "INSN_UID", "(", "insn", ")", ",", "insn_entry", "+", "INSN_UID", "(", "use_insn", ")", ")", ";", "}", "link", "=", "link", "->", "next", ";", "}", "}", ""], "natrual_language": ["Union", "INSN", "with", "all", "insns", "containing", "uses", "reached", "from", "DEF", ".", "Detect", "whether", "DEF", "is", "live-out", "from", "the", "current", "function", "."], "TS_V_token": ["powerpcspe", "1", "1"], "File": "powerpcspe", "Func": "union_uses", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6093, "Length": 117, "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", "NumOps", "=", "Inst", ".", "getNumOperands", "(", ")", ";", "if", "(", "NumOps", "==", "0", ")", "return", "false", ";", "switch", "(", "Info", "->", "get", "(", "Inst", ".", "getOpcode", "(", ")", ")", ".", "OpInfo", "[", "NumOps", "-", "1", "]", ".", "OperandType", ")", "{", "case", "MCOI", "::", "OPERAND_UNKNOWN", ":", "case", "MCOI", "::", "OPERAND_IMMEDIATE", ":", "Target", "=", "Inst", ".", "getOperand", "(", "NumOps", "-", "1", ")", ".", "getImm", "(", ")", ";", "return", "true", ";", "case", "MCOI", "::", "OPERAND_PCREL", ":", "Target", "=", "Addr", "+", "Inst", ".", "getOperand", "(", "NumOps", "-", "1", ")", ".", "getImm", "(", ")", ";", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Given", "a", "branch", "instruction", "try", "to", "get", "the", "address", "the", "branch", "targets", "."], "TS_V_token": ["Mips", "0", "1", "1", "1"], "File": "MipsMCTargetDesc10", "Func": "evaluateBranch", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6094, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "getConstValDefinedInReg", "(", "const", "MachineInstr", "&", "MI", ",", "const", "Register", "Reg", ",", "int64_t", "&", "ImmVal", ")", "const", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "!=", "X86", "::", "MOV32ri", "&&", "MI", ".", "getOpcode", "(", ")", "!=", "X86", "::", "MOV64ri", ")", "return", "false", ";", "if", "(", "!", "MI", ".", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", "||", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "!=", "Reg", ")", "return", "false", ";", "ImmVal", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "MI", "is", "an", "instruction", "that", "defines", "Reg", "to", "have", "a", "constant", "value", "and", "the", "value", "is", "recorded", "in", "ImmVal", "."], "TS_V_token": ["X86", "X86", "X86::MOV32ri", "X86::MOV64ri", "1", "0", "1"], "File": "X86InstrInfo (2)3", "Func": "getConstValDefinedInReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6095, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb2SizeReduce", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "TargetMachine", "&", "TM", "=", "MF", ".", "getTarget", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "Thumb2InstrInfo", "*", ">", "(", "TM", ".", "getInstrInfo", "(", ")", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Modified", "|=", "ReduceMBB", "(", "*", "I", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM"], "File": "Thumb2SizeReduction14", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6096, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AsmToken", "LexToken", "(", ")", "{", "if", "(", "!", "Lexer", ")", "{", "SetError", "(", "SMLoc", "(", ")", ",", "\"No MCAsmLexer installed\"", ")", ";", "return", "AsmToken", "(", "AsmToken", "::", "Error", ",", "\"\"", ",", "0", ")", ";", "}", "switch", "(", "AsmInfo", ".", "getAssemblerDialect", "(", ")", ")", "{", "default", ":", "SetError", "(", "SMLoc", "(", ")", ",", "\"Unhandled dialect\"", ")", ";", "return", "AsmToken", "(", "AsmToken", "::", "Error", ",", "\"\"", ",", "0", ")", ";", "case", "0", ":", "return", "LexTokenUAL", "(", ")", ";", "}", "}", ""], "natrual_language": ["LexToken", "-", "Read", "the", "next", "token", "and", "return", "its", "code", "."], "TS_V_token": ["ARM", "\"No MCAsmLexer installed\"", "\"\"", "0", "\"Unhandled dialect\"", "\"\"", "0", "0"], "File": "ARMAsmLexer", "Func": "LexToken", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6097, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_build_builtin_va_list", "(", "void", ")", "{", "if", "(", "TARGET_64BIT", ")", "{", "tree", "sysv_va_list", ",", "ms_va_list", ";", "sysv_va_list", "=", "ix86_build_builtin_va_list_64", "(", ")", ";", "sysv_va_list_type_node", "=", "build_variant_type_copy", "(", "sysv_va_list", ")", ";", "ms_va_list", "=", "build_pointer_type", "(", "char_type_node", ")", ";", "ms_va_list_type_node", "=", "build_variant_type_copy", "(", "ms_va_list", ")", ";", "return", "(", "ix86_abi", "==", "MS_ABI", ")", "?", "ms_va_list", ":", "sysv_va_list", ";", "}", "else", "{", "return", "build_pointer_type", "(", "char_type_node", ")", ";", "}", "}", ""], "natrual_language": ["Create", "the", "va_list", "data", "type", "."], "TS_V_token": ["i386"], "File": "i3865", "Func": "ix86_build_builtin_va_list", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6098, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "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", ",", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", "&&", "CallConv", "==", "CallingConv", "::", "Cold", ")", "?", "RetCC_PPC_Cold", ":", "RetCC_PPC", ")", ";", "}", ""], "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": ["PowerPC", "PPC", "ISD::OutputArg", "16", "PPC", "PPC"], "File": "PPCISelLowering (2)7", "Func": "CanLowerReturn", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6099, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "ARMTargetLowering", "::", "shouldExpandAtomicRMWInIR", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "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 (3)", "Func": "shouldExpandAtomicRMWInIR", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6100, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBankConflictHazardRecognizer", "::", "Reset", "(", ")", "{", "Accesses", ".", "clear", "(", ")", ";", "}", ""], "natrual_language": ["Reset", "the", "unwind", "opcode", "assembler", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMHazardRecognizer19", "Func": "Reset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6101, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "fma_forest", "::", "fma_forest", "(", "func_fma_steering", "*", "fma_steer", ",", "fma_root_node", "*", "fma_root", ",", "int", "id", ")", "{", "memset", "(", "this", ",", "0", ",", "sizeof", "(", "*", "this", ")", ")", ";", "this", "->", "m_globals", "=", "fma_steer", ";", "this", "->", "m_roots", "=", "new", "std", "::", "list", "<", "fma_root_node", "*", ">", ";", "this", "->", "m_roots", "->", "push_back", "(", "fma_root", ")", ";", "this", "->", "m_id", "=", "id", ";", "}", ""], "natrual_language": ["Class", "fma_forest", "method", "definitions", "."], "TS_V_token": ["aarch64", "0"], "File": "cortex-a57-fma-steering", "Func": "fma_forest", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6102, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "shouldBuildLookupTablesForConstant", "(", "Constant", "*", "C", ")", "const", "{", "if", "(", "ST", "->", "isROPI", "(", ")", "||", "ST", "->", "isRWPI", "(", ")", "||", "ST", "->", "isPIP", "(", ")", ")", "return", "!", "C", "->", "needsRelocation", "(", ")", ";", "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", "Func": "shouldBuildLookupTablesForConstant", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6103, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CSKYTargetStreamer", "::", "finish", "(", ")", "{", "if", "(", "ConstantCounter", "!=", "0", ")", "{", "ConstantPool", "->", "emitAll", "(", "Streamer", ")", ";", "}", "finishAttributeSection", "(", ")", ";", "}", ""], "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": ["CSKY", "CSKY", "0"], "File": "CSKYTargetStreamer", "Func": "finish", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6104, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "SparcRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "G1", ")", ";", "if", "(", "ReserveAppRegisters", ")", "{", "Reserved", ".", "set", "(", "SP", "::", "G2", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "G3", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "G4", ")", ";", "}", "if", "(", "!", "Subtarget", ".", "is64Bit", "(", ")", ")", "Reserved", ".", "set", "(", "SP", "::", "G5", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "O6", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "I6", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "I7", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "G0", ")", ";", "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::G1", "SP::G2", "SP::G3", "SP::G4", "SP::G5", "SP::O6", "SP::I6", "SP::I7", "SP::G0", "SP::G6", "SP::G7"], "File": "SparcRegisterInfo4", "Func": "getReservedRegs", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6105, "Length": 138, "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": "arm", "Func": "arm_handle_cmse_nonsecure_call", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6106, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isShuffleMaskLegal", "(", "const", "SmallVectorImpl", "<", "int", ">", "&", "M", ",", "EVT", "VT", ")", "const", "{", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "false", ";", "return", "(", "VT", ".", "getVectorNumElements", "(", ")", "==", "2", "||", "ShuffleVectorSDNode", "::", "isSplatMask", "(", "&", "M", "[", "0", "]", ",", "VT", ")", "||", "isMOVLMask", "(", "M", ",", "VT", ")", "||", "isSHUFPMask", "(", "M", ",", "VT", ",", "Subtarget", "->", "hasFp256", "(", ")", ")", "||", "isPSHUFDMask", "(", "M", ",", "VT", ")", "||", "isPSHUFHWMask", "(", "M", ",", "VT", ",", "Subtarget", "->", "hasInt256", "(", ")", ")", "||", "isPSHUFLWMask", "(", "M", ",", "VT", ",", "Subtarget", "->", "hasInt256", "(", ")", ")", "||", "isPALIGNRMask", "(", "M", ",", "VT", ",", "Subtarget", ")", "||", "isUNPCKLMask", "(", "M", ",", "VT", ",", "Subtarget", "->", "hasInt256", "(", ")", ")", "||", "isUNPCKHMask", "(", "M", ",", "VT", ",", "Subtarget", "->", "hasInt256", "(", ")", ")", "||", "isUNPCKL_v_undef_Mask", "(", "M", ",", "VT", ",", "Subtarget", "->", "hasInt256", "(", ")", ")", "||", "isUNPCKH_v_undef_Mask", "(", "M", ",", "VT", ",", "Subtarget", "->", "hasInt256", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "can", "use", "this", "to", "indicate", "that", "they", "only", "support", "some", "VECTOR_SHUFFLE", "operations", ",", "those", "with", "specific", "masks", "."], "TS_V_token": ["X86", "X86", "64", "2", "0"], "File": "X86ISelLowering (2)2", "Func": "isShuffleMaskLegal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6107, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86InstrInfo", "::", "getSPAdjust", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "const", "MachineFunction", "*", "MF", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", "->", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "if", "(", "isFrameInstr", "(", "MI", ")", ")", "{", "unsigned", "StackAlign", "=", "TFI", "->", "getStackAlignment", "(", ")", ";", "int", "SPAdj", "=", "alignTo", "(", "getFrameSize", "(", "MI", ")", ",", "StackAlign", ")", ";", "SPAdj", "-=", "getFrameAdjustment", "(", "MI", ")", ";", "if", "(", "!", "isFrameSetup", "(", "MI", ")", ")", "SPAdj", "=", "-", "SPAdj", ";", "return", "SPAdj", ";", "}", "if", "(", "MI", ".", "isCall", "(", ")", ")", "{", "const", "MachineBasicBlock", "*", "MBB", "=", "MI", ".", "getParent", "(", ")", ";", "auto", "I", "=", "++", "MachineBasicBlock", "::", "const_iterator", "(", "MI", ")", ";", "for", "(", "auto", "E", "=", "MBB", "->", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "getCallFrameDestroyOpcode", "(", ")", "||", "I", "->", "isCall", "(", ")", ")", "break", ";", "}", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "getCallFrameDestroyOpcode", "(", ")", ")", "return", "0", ";", "return", "-", "(", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ")", ";", "}", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "X86", "::", "PUSH32i8", ":", "case", "X86", "::", "PUSH32r", ":", "case", "X86", "::", "PUSH32rmm", ":", "case", "X86", "::", "PUSH32rmr", ":", "case", "X86", "::", "PUSHi32", ":", "return", "4", ";", "case", "X86", "::", "PUSH64i8", ":", "case", "X86", "::", "PUSH64r", ":", "case", "X86", "::", "PUSH64rmm", ":", "case", "X86", "::", "PUSH64rmr", ":", "case", "X86", "::", "PUSH64i32", ":", "return", "8", ";", "}", "}", ""], "natrual_language": ["getSPAdjust", "-", "This", "returns", "the", "stack", "pointer", "adjustment", "made", "by", "this", "instruction", "."], "TS_V_token": ["X86", "X86", "0", "1", "0", "X86::PUSH32i8", "X86::PUSH32r", "X86::PUSH32rmm", "X86::PUSH32rmr", "X86::PUSHi32", "4", "X86::PUSH64i8", "X86::PUSH64r", "X86::PUSH64rmm", "X86::PUSH64rmr", "X86::PUSH64i32", "8"], "File": "X86InstrInfo", "Func": "getSPAdjust", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6108, "Length": 270, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86DAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "OptForSize", "=", "MF", "->", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "OptimizeForSize", ")", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "I", "++", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "(", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", "&&", "!", "Subtarget", "->", "callRegIndirect", "(", ")", ")", "||", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "TC_RETURN", "&&", "(", "Subtarget", "->", "is64Bit", "(", ")", "||", "getTargetMachine", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", ")", ")", ")", ")", "{", "bool", "HasCallSeq", "=", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", ";", "SDValue", "Chain", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Load", "=", "N", "->", "getOperand", "(", "1", ")", ";", "if", "(", "!", "isCalleeLoad", "(", "Load", ",", "Chain", ",", "HasCallSeq", ")", ")", "continue", ";", "MoveBelowOrigChain", "(", "CurDAG", ",", "Load", ",", "SDValue", "(", "N", ",", "0", ")", ",", "Chain", ")", ";", "++", "NumLoadMoved", ";", "continue", ";", "}", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_ROUND", "&&", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "EVT", "SrcVT", "=", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", ";", "EVT", "DstVT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "if", "(", "SrcVT", ".", "isVector", "(", ")", "||", "DstVT", ".", "isVector", "(", ")", ")", "continue", ";", "bool", "SrcIsSSE", "=", "X86Lowering", ".", "isScalarFPTypeInSSEReg", "(", "SrcVT", ")", ";", "bool", "DstIsSSE", "=", "X86Lowering", ".", "isScalarFPTypeInSSEReg", "(", "DstVT", ")", ";", "if", "(", "SrcIsSSE", "&&", "DstIsSSE", ")", "continue", ";", "if", "(", "!", "SrcIsSSE", "&&", "!", "DstIsSSE", ")", "{", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "if", "(", "N", "->", "getConstantOperandVal", "(", "1", ")", ")", "continue", ";", "}", "EVT", "MemVT", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_ROUND", ")", "MemVT", "=", "DstVT", ";", "else", "MemVT", "=", "SrcIsSSE", "?", "SrcVT", ":", "DstVT", ";", "SDValue", "MemTmp", "=", "CurDAG", "->", "CreateStackTemporary", "(", "MemVT", ")", ";", "DebugLoc", "dl", "=", "N", "->", "getDebugLoc", "(", ")", ";", "SDValue", "Store", "=", "CurDAG", "->", "getTruncStore", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "dl", ",", "N", "->", "getOperand", "(", "0", ")", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "SDValue", "Result", "=", "CurDAG", "->", "getExtLoad", "(", "ISD", "::", "EXTLOAD", ",", "dl", ",", "DstVT", ",", "Store", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "--", "I", ";", "CurDAG", "->", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "0", ")", ",", "Result", ")", ";", "++", "I", ";", "CurDAG", "->", "DeleteNode", "(", "N", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["X86", "X86", "X86ISD::CALL", "X86ISD::TC_RETURN", "X86ISD::CALL", "0", "1", "0", "ISD::FP_ROUND", "ISD::FP_EXTEND", "0", "0", "X86", "X86", "ISD::FP_EXTEND", "1", "ISD::FP_ROUND", "0", "0", "ISD::EXTLOAD", "0", "0"], "File": "X86ISelDAGToDAG115", "Func": "PreprocessISelDAG", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6109, "Length": 467, "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", ">", "&", "OutVals", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_Cpu0", ")", ";", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "RetOps", "(", "1", ",", "Chain", ")", ";", "assert", "(", "RVLocs", ".", "size", "(", ")", "<=", "1", "&&", "\"Too many values to return!\"", ")", ";", "if", "(", "RVLocs", ".", "size", "(", ")", ">", "0", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "0", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVals", "[", "0", "]", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "}", "if", "(", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFunction", "(", ")", "->", "hasStructRetAttr", "(", ")", ")", "{", "assert", "(", "false", "&&", "\"Not yet implemented\"", ")", ";", "}", "RetOps", "[", "0", "]", "=", "Chain", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "RetOps", ".", "push_back", "(", "Flag", ")", ";", "return", "DAG", ".", "getNode", "(", "RVLocs", ".", "size", "(", ")", "==", "0", "?", "Cpu0ISD", "::", "Ret", ":", "Cpu0ISD", "::", "RetValue", ",", "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": ["Cpu0", "Cpu0", "ISD::OutputArg", "16", "Cpu0", "4", "1", "1", "\"Too many values to return!\"", "0", "0", "\"Can only return in registers!\"", "0", "1", "\"Not yet implemented\"", "0", "0", "Cpu0ISD::Ret", "Cpu0ISD::RetValue", "MVT::Other", "0"], "File": "Cpu0ISelLowering1", "Func": "LowerReturn", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6110, "Length": 291, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcTargetMachine", "::", "SparcTargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "is64bit", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "Triple", "(", "TT", ")", ",", "is64bit", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "TLOF", "(", "make_unique", "<", "SparcELFTargetObjectFile", ">", "(", ")", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ",", "is64bit", ")", "{", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "ILP32", "architecture", "model", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc"], "File": "SparcTargetMachine39", "Func": "SparcTargetMachine", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6111, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LC3FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "LC3", "::", "ADJCALLSTACKUP", "||", "I", "->", "getOpcode", "(", ")", "==", "LC3", "::", "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": ["LC3", "LC3", "LC3::ADJCALLSTACKUP", "LC3::ADJCALLSTACKDOWN"], "File": "LC3FrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6112, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "shouldClusterMemOps", "(", "MachineOperand", "&", "BaseOp1", ",", "MachineOperand", "&", "BaseOp2", ",", "unsigned", "NumLoads", ")", "const", "{", "MachineInstr", "&", "FirstLdSt", "=", "*", "BaseOp1", ".", "getParent", "(", ")", ";", "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", ">", "1", ")", "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", "(", "(", "!", "BaseOp1", ".", "isIdenticalTo", "(", "BaseOp2", ")", "||", "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", "\"Only base registers and frame indices are supported.\"", "1", "2", "2", "63", "64", "\"Caller should have ordered offsets.\"", "\"Caller should have ordered offsets.\"", "1"], "File": "AArch64InstrInfo (2)1", "Func": "shouldClusterMemOps", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6113, "Length": 352, "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": 6114, "Length": 288, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "MipsRegisterInfo", "::", "getCallPreservedMask", "(", "CallingConv", "::", "ID", ")", "const", "{", "if", "(", "Subtarget", ".", "isSingleFloat", "(", ")", ")", "return", "CSR_SingleFloatOnly_RegMask", ";", "else", "if", "(", "!", "Subtarget", ".", "hasMips64", "(", ")", ")", "return", "CSR_O32_RegMask", ";", "else", "if", "(", "Subtarget", ".", "isABI_N32", "(", ")", ")", "return", "CSR_N32_RegMask", ";", "assert", "(", "Subtarget", ".", "isABI_N64", "(", ")", ")", ";", "return", "CSR_N64_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsRegisterInfo11", "Func": "getCallPreservedMask", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6115, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCRegisterInfo", "::", "resolveFrameIndex", "(", "MachineInstr", "&", "MI", ",", "Register", "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", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "Subtarget", ".", "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!\"", "PPC", "PPC"], "File": "PPCRegisterInfo (2)3", "Func": "resolveFrameIndex", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6116, "Length": 193, "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": 6117, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "mips_std_gimplify_va_arg_expr", "(", "tree", "valist", ",", "tree", "type", ",", "gimple_seq", "*", "pre_p", ",", "gimple_seq", "*", "post_p", ")", "{", "tree", "addr", ",", "t", ",", "type_size", ",", "rounded_size", ",", "valist_tmp", ";", "unsigned", "HOST_WIDE_INT", "align", ",", "boundary", ";", "bool", "indirect", ";", "indirect", "=", "pass_va_arg_by_reference", "(", "type", ")", ";", "if", "(", "indirect", ")", "type", "=", "build_pointer_type", "(", "type", ")", ";", "align", "=", "PARM_BOUNDARY", "/", "BITS_PER_UNIT", ";", "boundary", "=", "targetm", ".", "calls", ".", "function_arg_boundary", "(", "TYPE_MODE", "(", "type", ")", ",", "type", ")", ";", "if", "(", "boundary", ">", "MAX_SUPPORTED_STACK_ALIGNMENT", ")", "boundary", "=", "MAX_SUPPORTED_STACK_ALIGNMENT", ";", "boundary", "/=", "BITS_PER_UNIT", ";", "valist_tmp", "=", "get_initialized_tmp_var", "(", "valist", ",", "pre_p", ",", "NULL", ")", ";", "if", "(", "boundary", ">", "align", ")", "{", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "valist", ")", ",", "valist_tmp", ",", "fold_build_pointer_plus_hwi", "(", "valist_tmp", ",", "boundary", "-", "1", ")", ")", ";", "gimplify_and_add", "(", "t", ",", "pre_p", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "valist", ")", ",", "valist_tmp", ",", "fold_build2", "(", "BIT_AND_EXPR", ",", "TREE_TYPE", "(", "valist", ")", ",", "valist_tmp", ",", "build_int_cst", "(", "TREE_TYPE", "(", "valist", ")", ",", "-", "boundary", ")", ")", ")", ";", "gimplify_and_add", "(", "t", ",", "pre_p", ")", ";", "}", "else", "boundary", "=", "align", ";", "boundary", "*=", "BITS_PER_UNIT", ";", "if", "(", "boundary", "<", "TYPE_ALIGN", "(", "type", ")", ")", "{", "type", "=", "build_variant_type_copy", "(", "type", ")", ";", "SET_TYPE_ALIGN", "(", "type", ",", "boundary", ")", ";", "}", "type_size", "=", "size_in_bytes", "(", "type", ")", ";", "rounded_size", "=", "round_up", "(", "type_size", ",", "align", ")", ";", "gimplify_expr", "(", "&", "rounded_size", ",", "pre_p", ",", "post_p", ",", "is_gimple_val", ",", "fb_rvalue", ")", ";", "addr", "=", "valist_tmp", ";", "if", "(", "PAD_VARARGS_DOWN", "&&", "!", "integer_zerop", "(", "rounded_size", ")", ")", "{", "t", "=", "fold_build2_loc", "(", "input_location", ",", "GT_EXPR", ",", "sizetype", ",", "rounded_size", ",", "size_int", "(", "align", ")", ")", ";", "t", "=", "fold_build3", "(", "COND_EXPR", ",", "sizetype", ",", "t", ",", "size_zero_node", ",", "size_binop", "(", "MINUS_EXPR", ",", "rounded_size", ",", "type_size", ")", ")", ";", "addr", "=", "fold_build_pointer_plus", "(", "addr", ",", "t", ")", ";", "}", "t", "=", "fold_build_pointer_plus", "(", "valist_tmp", ",", "rounded_size", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "valist", ")", ",", "valist", ",", "t", ")", ";", "gimplify_and_add", "(", "t", ",", "pre_p", ")", ";", "addr", "=", "fold_convert", "(", "build_pointer_type", "(", "type", ")", ",", "addr", ")", ";", "if", "(", "indirect", ")", "addr", "=", "build_va_arg_indirect_ref", "(", "addr", ")", ";", "return", "build_va_arg_indirect_ref", "(", "addr", ")", ";", "}", ""], "natrual_language": ["Like", "std_gimplify_va_arg_expr", ",", "but", "apply", "alignment", "to", "zero-sized", "types", "as", "well", "."], "TS_V_token": ["mips", "1"], "File": "mips", "Func": "mips_std_gimplify_va_arg_expr", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6118, "Length": 377, "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": 6119, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isKMasked", "(", ")", "const", "{", "return", "(", "Attributes", "&", "(", "KMergeMasked", "|", "KZeroMasked", ")", ")", "!=", "0", ";", "}", ""], "natrual_language": ["Returns", "true", "iff", "the", "group", "of", "FMA", "opcodes", "holds", "any", "of", "k-masked", "opcodes", "."], "TS_V_token": ["X86", "0"], "File": "X86InstrFMA3Info11", "Func": "isKMasked", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6120, "Length": 20, "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", ";", "unsigned", "Value", "=", "CST", "->", "getZExtValue", "(", ")", ";", "switch", "(", "Letter", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown constraint letter!\"", ")", ";", "case", "'I'", ":", "if", "(", "(", "short", ")", "Value", "==", "(", "int", ")", "Value", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "case", "'J'", ":", "case", "'L'", ":", "if", "(", "(", "short", ")", "Value", "==", "0", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "case", "'K'", ":", "if", "(", "(", "Value", ">>", "16", ")", "==", "0", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "case", "'M'", ":", "if", "(", "Value", ">", "31", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "case", "'N'", ":", "if", "(", "(", "int", ")", "Value", ">", "0", "&&", "isPowerOf2_32", "(", "Value", ")", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "case", "'O'", ":", "if", "(", "Value", "==", "0", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "case", "'P'", ":", "if", "(", "(", "short", ")", "-", "Value", "==", "(", "int", ")", "-", "Value", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "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", "\"Unknown constraint letter!\"", "0", "16", "0", "31", "0", "0"], "File": "PPCISelLowering120", "Func": "LowerAsmOperandForConstraint", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6121, "Length": 378, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "thumb1_gen_const_int", "(", "rtx", "op0", ",", "HOST_WIDE_INT", "op1", ")", "{", "bool", "mov_done_p", "=", "false", ";", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "3", ";", "i", "++", ")", "{", "int", "byte", "=", "(", "op1", ">>", "(", "8", "*", "(", "3", "-", "i", ")", ")", ")", "&", "0xff", ";", "if", "(", "byte", ")", "{", "emit_set_insn", "(", "op0", ",", "mov_done_p", "?", "gen_rtx_PLUS", "(", "SImode", ",", "op0", ",", "GEN_INT", "(", "byte", ")", ")", ":", "GEN_INT", "(", "byte", ")", ")", ";", "mov_done_p", "=", "true", ";", "}", "if", "(", "mov_done_p", ")", "emit_set_insn", "(", "op0", ",", "gen_rtx_ASHIFT", "(", "SImode", ",", "op0", ",", "GEN_INT", "(", "8", ")", ")", ")", ";", "}", "if", "(", "!", "mov_done_p", ")", "emit_set_insn", "(", "op0", ",", "GEN_INT", "(", "op1", "&", "0xff", ")", ")", ";", "else", "if", "(", "op1", "&", "0xff", ")", "emit_set_insn", "(", "op0", ",", "gen_rtx_PLUS", "(", "SImode", ",", "op0", ",", "GEN_INT", "(", "op1", "&", "0xff", ")", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "sequence", "of", "movs/adds/shift", "to", "produce", "a", "32-bit", "constant", ".", "Avoid", "generating", "useless", "code", "when", "one", "of", "the", "bytes", "is", "zero", "."], "TS_V_token": ["arm", "0", "3", "8", "3", "0xff", "8", "0xff", "0xff", "0xff"], "File": "arm", "Func": "thumb1_gen_const_int", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6122, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_mode_ok_for_mov_fmt_p", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "CCFmode", ":", "case", "SFmode", ":", "return", "TARGET_HARD_FLOAT", ";", "case", "DFmode", ":", "return", "TARGET_HARD_FLOAT", "&&", "TARGET_DOUBLE_FLOAT", ";", "case", "V2SFmode", ":", "return", "TARGET_HARD_FLOAT", "&&", "TARGET_PAIRED_SINGLE_FLOAT", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "moves", "in", "mode", "MODE", "can", "use", "the", "FPU", "'s", "mov.fmt", "instruction", "."], "TS_V_token": ["mips"], "File": "mips4", "Func": "mips_mode_ok_for_mov_fmt_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6123, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "assign_int_registers", "(", "HOST_WIDE_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_mode_for_size", "(", "BITS_PER_WORD", "-", "intoffset", "%", "BITS_PER_WORD", ",", "MODE_INT", ")", ";", "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": "sparc5", "Func": "assign_int_registers", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6124, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "string", "getNodeLabel", "(", "NodeRef", "Node", ",", "GraphType", "*", ")", "{", "if", "(", "Node", "->", "getValue", "(", ")", "==", "MachineGadgetGraph", "::", "ArgNodeSentinel", ")", "return", "\"ARGS\"", ";", "std", "::", "string", "Str", ";", "raw_string_ostream", "OS", "(", "Str", ")", ";", "OS", "<<", "*", "Node", "->", "getValue", "(", ")", ";", "return", "OS", ".", "str", "(", ")", ";", "}", ""], "natrual_language": ["Print", "a", "DDG", "node", "either", "in", "concise", "form", "(", "-ddg-dot-only", ")", "or", "verbose", "mode", "(", "-ddg-dot", ")", "."], "TS_V_token": ["X86", "\"ARGS\""], "File": "X86LoadValueInjectionLoadHardening", "Func": "getNodeLabel", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6125, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "void", "X86EncodeLiteralsPass", "::", "buildXor", "(", "MachineInstr", "&", "MI", ",", "unsigned", "Index", ",", "uint64_t", "Operand", ")", "{", "MachineBasicBlock", "*", "PMBB", "=", "MI", ".", "getParent", "(", ")", ";", "MachineBasicBlock", "::", "instr_iterator", "Iter", "=", "skip", "(", "PMBB", ",", "Index", ")", ";", "int64_t", "Offset", "=", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "unsigned", "XOROpc", "=", "getXorOpc", "(", "MI", ")", ";", "addRegOffset", "(", "BuildMI", "(", "*", "PMBB", ",", "Iter", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "XOROpc", ")", ")", ",", "X86", "::", "RBP", ",", "true", ",", "Offset", ")", ".", "addImm", "(", "Operand", ")", ";", "}", ""], "natrual_language": ["Build", "and", "insert", "Res", "=", "G_XOR", "Op0", ",", "Op1", "."], "TS_V_token": ["X86", "X86", "3", "X86::RBP"], "File": "X86EncodeLiterals", "Func": "buildXor", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6126, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_uimm12_shift", "(", "HOST_WIDE_INT", "val", ")", "{", "return", "(", "(", "val", "&", "(", "(", "(", "HOST_WIDE_INT", ")", "0xfff", ")", "<<", "0", ")", ")", "==", "val", "||", "(", "val", "&", "(", "(", "(", "HOST_WIDE_INT", ")", "0xfff", ")", "<<", "12", ")", ")", "==", "val", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "val", "can", "be", "encoded", "as", "a", "12-bit", "unsigned", "immediate", "with", "a", "left", "shift", "of", "0", "or", "12", "bits", "."], "TS_V_token": ["aarch64", "0xfff", "0", "0xfff", "12"], "File": "aarch64", "Func": "aarch64_uimm12_shift", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6127, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isLoadBitCastBeneficial", "(", "EVT", "LoadVT", ",", "EVT", "BitcastVT", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "hasDQI", "(", ")", "&&", "BitcastVT", "==", "MVT", "::", "v8i1", ")", "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::v8i1"], "File": "X86ISelLowering", "Func": "isLoadBitCastBeneficial", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6128, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "dump_csky_minipool", "(", "rtx_insn", "*", "scan", ")", "{", "Mnode", "*", "mp", ";", "Mnode", "*", "nmp", ";", "HOST_WIDE_INT", "pool_length", "=", "0", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\";; Emitting minipool after insn %u;\\ address %ld; align %d (bytes)\\n\"", ",", "INSN_UID", "(", "scan", ")", ",", "(", "unsigned", "long", ")", "minipool_barrier", "->", "address", ",", "4", ")", ";", "scan", "=", "emit_insn_after", "(", "gen_align_4", "(", ")", ",", "scan", ")", ";", "scan", "=", "emit_insn_after", "(", "minipool_vector_label", ",", "scan", ")", ";", "for", "(", "mp", "=", "minipool_vector_head", ";", "mp", "!=", "NULL", ";", "mp", "=", "nmp", ")", "{", "if", "(", "mp", "->", "refcount", ">", "0", ")", "{", "if", "(", "dump_file", ")", "{", "fprintf", "(", "dump_file", ",", "\";; Offset %u, min %ld, max %ld \"", ",", "(", "unsigned", ")", "mp", "->", "offset", ",", "(", "unsigned", "long", ")", "mp", "->", "min_address", ",", "(", "unsigned", "long", ")", "mp", "->", "max_address", ")", ";", "print_csky_value", "(", "dump_file", ",", "mp", "->", "value", ")", ";", "fputc", "(", "'\\n'", ",", "dump_file", ")", ";", "}", "switch", "(", "mp", "->", "fix_size", ")", "{", "case", "4", ":", "scan", "=", "emit_insn_after", "(", "gen_consttable_4", "(", "mp", "->", "value", ")", ",", "scan", ")", ";", "pool_length", "+=", "4", ";", "break", ";", "case", "8", ":", "scan", "=", "emit_insn_after", "(", "gen_consttable_8", "(", "mp", "->", "value", ")", ",", "scan", ")", ";", "pool_length", "+=", "8", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "nmp", "=", "mp", "->", "next", ";", "free", "(", "mp", ")", ";", "}", "minipool_vector_head", "=", "minipool_vector_tail", "=", "NULL", ";", "scan", "=", "emit_barrier_after", "(", "scan", ")", ";", "return", "pool_length", ";", "}", ""], "natrual_language": ["Output", "the", "literal", "table", "."], "TS_V_token": ["csky", "0", "\";; Emitting minipool after insn %u;\\ address %ld; align %d (bytes)\\n\"", "4", "0", "\";; Offset %u, min %ld, max %ld \"", "4", "4", "8", "8"], "File": "csky", "Func": "dump_csky_minipool", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6129, "Length": 234, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_is_logical_t_store_expr", "(", "rtx", "op", ",", "rtx_insn", "*", "insn", ")", "{", "if", "(", "!", "logical_operator", "(", "op", ",", "SImode", ")", ")", "return", "false", ";", "rtx", "ops", "[", "2", "]", "=", "{", "XEXP", "(", "op", ",", "0", ")", ",", "XEXP", "(", "op", ",", "1", ")", "}", ";", "int", "op_is_t_count", "=", "0", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "2", ";", "++", "i", ")", "{", "if", "(", "t_reg_operand", "(", "ops", "[", "i", "]", ",", "VOIDmode", ")", "||", "negt_reg_operand", "(", "ops", "[", "i", "]", ",", "VOIDmode", ")", ")", "op_is_t_count", "++", ";", "else", "{", "set_of_reg", "op_set", "=", "sh_find_set_of_reg", "(", "ops", "[", "i", "]", ",", "insn", ",", "prev_nonnote_insn_bb", ")", ";", "if", "(", "op_set", ".", "set_src", "==", "NULL_RTX", ")", "continue", ";", "if", "(", "t_reg_operand", "(", "op_set", ".", "set_src", ",", "VOIDmode", ")", "||", "negt_reg_operand", "(", "op_set", ".", "set_src", ",", "VOIDmode", ")", "||", "sh_is_logical_t_store_expr", "(", "op_set", ".", "set_src", ",", "op_set", ".", "insn", ")", ")", "op_is_t_count", "++", ";", "}", "}", "return", "op_is_t_count", "==", "2", ";", "}", ""], "natrual_language": ["Given", "an", "op", "rtx", "and", "an", "insn", ",", "try", "to", "find", "out", "whether", "the", "result", "of", "the", "specified", "op", "consists", "only", "of", "logical", "operations", "on", "T", "bit", "stores", "."], "TS_V_token": ["sh", "2", "0", "1", "0", "0", "2", "2"], "File": "sh4", "Func": "sh_is_logical_t_store_expr", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6130, "Length": 160, "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", ")", "{", "if", "(", "lookup", "(", "MI", ".", "getOpcode", "(", ")", ",", "domain", ",", "ReplaceableInstrs", ")", ")", "{", "validDomains", "=", "0xe", ";", "}", "else", "if", "(", "lookup", "(", "opcode", ",", "domain", ",", "ReplaceableInstrsAVX2", ")", ")", "{", "validDomains", "=", "Subtarget", ".", "hasAVX2", "(", ")", "?", "0xe", ":", "0x6", ";", "}", "else", "if", "(", "lookupAVX512", "(", "opcode", ",", "domain", ",", "ReplaceableInstrsAVX512", ")", ")", "{", "validDomains", "=", "0xe", ";", "}", "else", "if", "(", "lookupAVX512", "(", "opcode", ",", "domain", ",", "ReplaceableInstrsAVX512DQ", ")", ")", "{", "validDomains", "=", "Subtarget", ".", "hasDQI", "(", ")", "?", "0xe", ":", "0x8", ";", "}", "else", "if", "(", "const", "uint16_t", "*", "table", "=", "lookupAVX512", "(", "opcode", ",", "domain", ",", "ReplaceableInstrsAVX512DQMasked", ")", ")", "{", "if", "(", "domain", "==", "1", "||", "(", "domain", "==", "3", "&&", "table", "[", "3", "]", "==", "opcode", ")", ")", "validDomains", "=", "Subtarget", ".", "hasDQI", "(", ")", "?", "0xa", ":", "0x8", ";", "else", "validDomains", "=", "Subtarget", ".", "hasDQI", "(", ")", "?", "0xc", ":", "0x8", ";", "}", "}", "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", "0xe", "0xe", "0x8", "1", "3", "3", "0xa", "0x8", "0xc", "0x8"], "File": "X86InstrInfo112", "Func": "getExecutionDomain", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6131, "Length": 223, "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", "V2DFmode", ":", "case", "V2DImode", ":", "swaparray", "=", "swap2", ";", "break", ";", "case", "V4SFmode", ":", "case", "V4SImode", ":", "swaparray", "=", "swap4", ";", "break", ";", "case", "V8HImode", ":", "swaparray", "=", "swap8", ";", "break", ";", "case", "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": ["rs6000", "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": "rs60004", "Func": "swap_selector_for_mode", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6132, "Length": 284, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "SparcMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "SparcMachineFunctionInfo", ">", "(", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "SparcInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "SparcInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "int", "NumBytes", "=", "(", "int", ")", "MFI", "->", "getStackSize", "(", ")", ";", "unsigned", "SAVEri", "=", "SP", "::", "SAVEri", ";", "unsigned", "SAVErr", "=", "SP", "::", "SAVErr", ";", "if", "(", "FuncInfo", "->", "isLeafProc", "(", ")", ")", "{", "if", "(", "NumBytes", "==", "0", ")", "return", ";", "SAVEri", "=", "SP", "::", "ADDri", ";", "SAVErr", "=", "SP", "::", "ADDrr", ";", "}", "NumBytes", "=", "-", "MF", ".", "getSubtarget", "<", "SparcSubtarget", ">", "(", ")", ".", "getAdjustedFrameSize", "(", "NumBytes", ")", ";", "emitSPAdjustment", "(", "MF", ",", "MBB", ",", "MBBI", ",", "NumBytes", ",", "SAVErr", ",", "SAVEri", ")", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "MCRegisterInfo", "*", "MRI", "=", "MMI", ".", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "regFP", "=", "MRI", "->", "getDwarfRegNum", "(", "SP", "::", "I6", ",", "true", ")", ";", "unsigned", "CFIIndex", "=", "MMI", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createDefCfaRegister", "(", "nullptr", ",", "regFP", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "CFIIndex", "=", "MMI", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createWindowSave", "(", "nullptr", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "unsigned", "regInRA", "=", "MRI", "->", "getDwarfRegNum", "(", "SP", "::", "I7", ",", "true", ")", ";", "unsigned", "regOutRA", "=", "MRI", "->", "getDwarfRegNum", "(", "SP", "::", "O7", ",", "true", ")", ";", "CFIIndex", "=", "MMI", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createRegister", "(", "nullptr", ",", "regOutRA", ",", "regInRA", ")", ")", ";", "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": ["Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "SP::SAVEri", "SP::SAVErr", "0", "SP::ADDri", "SP::ADDrr", "Sparc", "SP", "SP::I6", "SP::I7", "SP::O7"], "File": "SparcFrameLowering17", "Func": "emitPrologue", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6133, "Length": 374, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_init_builtins", "(", ")", "{", "aarch64_general_init_builtins", "(", ")", ";", "aarch64_sve", "::", "init_builtins", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_INIT_BUILTINS", "."], "TS_V_token": ["aarch64", "aarch64_sve::init_builtins"], "File": "aarch64", "Func": "aarch64_init_builtins", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6134, "Length": 17, "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": 6135, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_check_avx_upper_register", "(", "const_rtx", "exp", ")", "{", "if", "(", "SUBREG_P", "(", "exp", ")", ")", "exp", "=", "SUBREG_REG", "(", "exp", ")", ";", "return", "(", "REG_P", "(", "exp", ")", "&&", "(", "VALID_AVX256_REG_OR_OI_MODE", "(", "GET_MODE", "(", "exp", ")", ")", "||", "VALID_AVX512F_REG_OR_XI_MODE", "(", "GET_MODE", "(", "exp", ")", ")", ")", ")", ";", "}", ""], "natrual_language": ["Check", "if", "a", "256bit", "or", "512", "bit", "AVX", "register", "is", "referenced", "inside", "of", "EXP", "."], "TS_V_token": ["i386"], "File": "i3867", "Func": "ix86_check_avx_upper_register", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6136, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86GenInstrInfo", "::", "MachineOutlinerInstrType", "X86InstrInfo", "::", "getOutliningType", "(", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "MI", ".", "isDebugValue", "(", ")", "||", "MI", ".", "isIndirectDebugValue", "(", ")", ")", "return", "MachineOutlinerInstrType", "::", "Invisible", ";", "if", "(", "isTailCall", "(", "MI", ")", ")", "return", "MachineOutlinerInstrType", "::", "Legal", ";", "if", "(", "MI", ".", "isTerminator", "(", ")", "||", "MI", ".", "isReturn", "(", ")", ")", "{", "if", "(", "MI", ".", "getParent", "(", ")", "->", "succ_empty", "(", ")", ")", "return", "MachineOutlinerInstrType", "::", "Legal", ";", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "}", "if", "(", "MI", ".", "modifiesRegister", "(", "X86", "::", "RSP", ",", "&", "RI", ")", "||", "MI", ".", "readsRegister", "(", "X86", "::", "RSP", ",", "&", "RI", ")", "||", "MI", ".", "getDesc", "(", ")", ".", "hasImplicitUseOfPhysReg", "(", "X86", "::", "RSP", ")", "||", "MI", ".", "getDesc", "(", ")", ".", "hasImplicitDefOfPhysReg", "(", "X86", "::", "RSP", ")", ")", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "if", "(", "MI", ".", "readsRegister", "(", "X86", "::", "RIP", ",", "&", "RI", ")", "||", "MI", ".", "getDesc", "(", ")", ".", "hasImplicitUseOfPhysReg", "(", "X86", "::", "RIP", ")", "||", "MI", ".", "getDesc", "(", ")", ".", "hasImplicitDefOfPhysReg", "(", "X86", "::", "RIP", ")", ")", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "if", "(", "MI", ".", "isPosition", "(", ")", ")", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "for", "(", "const", "MachineOperand", "&", "MOP", ":", "MI", ".", "operands", "(", ")", ")", "if", "(", "MOP", ".", "isCPI", "(", ")", "||", "MOP", ".", "isJTI", "(", ")", "||", "MOP", ".", "isCFIIndex", "(", ")", "||", "MOP", ".", "isFI", "(", ")", "||", "MOP", ".", "isTargetIndex", "(", ")", ")", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "return", "MachineOutlinerInstrType", "::", "Legal", ";", "}", ""], "natrual_language": ["Returns", "how", "or", "if", "MIT", "should", "be", "outlined", "."], "TS_V_token": ["X86", "X86", "X86", "X86::RSP", "X86::RSP", "X86::RSP", "X86::RSP", "X86::RIP", "X86::RIP", "X86::RIP"], "File": "X86InstrInfo114", "Func": "getOutliningType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6137, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isTargetEHABICompatible", "(", ")", "const", "{", "return", "(", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "EABI", "||", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "GNUEABI", "||", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "EABIHF", "||", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "GNUEABIHF", "||", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "Android", ")", "&&", "!", "isTargetDarwin", "(", ")", "&&", "!", "isTargetWindows", "(", ")", ";", "}", ""], "natrual_language": ["Tests", "whether", "the", "target", "supports", "the", "EHABI", "exception", "handling", "standard", "."], "TS_V_token": ["ARM"], "File": "ARMSubtarget (2)", "Func": "isTargetEHABICompatible", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6138, "Length": 70, "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": 6139, "Length": 186, "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": 6140, "Length": 418, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "thumb_force_lr_save", "(", "void", ")", "{", "return", "!", "cfun", "->", "machine", "->", "lr_save_eliminated", "&&", "(", "!", "leaf_function_p", "(", ")", "||", "thumb_far_jump_used_p", "(", ")", "||", "df_regs_ever_live_p", "(", "LR_REGNUM", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "current", "function", "needs", "to", "save/restore", "LR", "."], "TS_V_token": ["arm"], "File": "arm4", "Func": "thumb_force_lr_save", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6141, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "fa726te_sched_adjust_cost", "(", "rtx_insn", "*", "insn", ",", "int", "dep_type", ",", "rtx_insn", "*", "dep", ",", "int", "*", "cost", ")", "{", "if", "(", "dep_type", "==", "REG_DEP_TRUE", "&&", "recog_memoized", "(", "insn", ")", ">=", "0", "&&", "recog_memoized", "(", "dep", ")", ">=", "0", "&&", "get_attr_conds", "(", "dep", ")", "==", "CONDS_SET", ")", "{", "if", "(", "get_attr_conds", "(", "insn", ")", "==", "CONDS_USE", "&&", "get_attr_type", "(", "insn", ")", "!=", "TYPE_BRANCH", ")", "{", "*", "cost", "=", "3", ";", "return", "false", ";", "}", "if", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "COND_EXEC", "||", "get_attr_conds", "(", "insn", ")", "==", "CONDS_USE", ")", "{", "*", "cost", "=", "0", ";", "return", "false", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Adjust", "cost", "hook", "for", "FA726TE", "."], "TS_V_token": ["arm", "0", "0", "3", "0"], "File": "arm", "Func": "fa726te_sched_adjust_cost", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6142, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rs6000_builtin_mask_for_load", "(", "void", ")", "{", "if", "(", "(", "TARGET_ALTIVEC", "&&", "!", "TARGET_VSX", ")", "||", "(", "TARGET_VSX", "&&", "!", "TARGET_EFFICIENT_UNALIGNED_VSX", ")", ")", "return", "altivec_builtin_mask_for_load", ";", "else", "return", "0", ";", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.builtin_mask_for_load", "."], "TS_V_token": ["rs6000", "0"], "File": "rs6000", "Func": "rs6000_builtin_mask_for_load", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6143, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "MipsRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "MipsSubtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "if", "(", "F", ".", "hasFnAttribute", "(", "\"interrupt\"", ")", ")", "{", "if", "(", "Subtarget", ".", "hasMips64", "(", ")", ")", "return", "Subtarget", ".", "hasMips64r6", "(", ")", "?", "CSR_Interrupt_64R6_SaveList", ":", "CSR_Interrupt_64_SaveList", ";", "else", "return", "Subtarget", ".", "hasMips32r6", "(", ")", "?", "CSR_Interrupt_32R6_SaveList", ":", "CSR_Interrupt_32_SaveList", ";", "}", "if", "(", "Subtarget", ".", "isSingleFloat", "(", ")", ")", "return", "CSR_SingleFloatOnly_SaveList", ";", "if", "(", "Subtarget", ".", "isABI_CheriPureCap", "(", ")", ")", "return", "CSR_Cheri_Purecap_SaveList", ";", "if", "(", "Subtarget", ".", "isCheri", "(", ")", ")", "return", "CSR_N64_Cheri_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", ";", "if", "(", "Subtarget", ".", "isFPXX", "(", ")", ")", "return", "CSR_O32_FPXX_SaveList", ";", "return", "CSR_O32_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "\"interrupt\"", "Mips", "Mips", "Mips"], "File": "MipsRegisterInfo35", "Func": "getCalleeSavedRegs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6144, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "Mips", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_Mips_NONE\"", ",", "0", ",", "0", ",", "0", "}", ",", "{", "\"fixup_Mips_16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_Mips_REL32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_Mips_26\"", ",", "0", ",", "26", ",", "0", "}", ",", "{", "\"fixup_Mips_HI16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_LO16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_GPREL16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_LITERAL\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_GOT16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_PC16\"", ",", "0", ",", "16", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_Mips_CALL16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_GPREL32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_Mips_SHIFT5\"", ",", "6", ",", "5", ",", "0", "}", ",", "{", "\"fixup_Mips_SHIFT6\"", ",", "6", ",", "5", ",", "0", "}", ",", "{", "\"fixup_Mips_64\"", ",", "0", ",", "64", ",", "0", "}", ",", "{", "\"fixup_Mips_TLSGD\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_GOTTPREL\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_TPREL_HI\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_TPREL_LO\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_Branch_PCRel\"", ",", "0", ",", "16", ",", "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": ["Mips", "Mips::NumTargetFixupKinds", "\"fixup_Mips_NONE\"", "0", "0", "0", "\"fixup_Mips_16\"", "0", "16", "0", "\"fixup_Mips_32\"", "0", "32", "0", "\"fixup_Mips_REL32\"", "0", "32", "0", "\"fixup_Mips_26\"", "0", "26", "0", "\"fixup_Mips_HI16\"", "0", "16", "0", "\"fixup_Mips_LO16\"", "0", "16", "0", "\"fixup_Mips_GPREL16\"", "0", "16", "0", "\"fixup_Mips_LITERAL\"", "0", "16", "0", "\"fixup_Mips_GOT16\"", "0", "16", "0", "\"fixup_Mips_PC16\"", "0", "16", "\"fixup_Mips_CALL16\"", "0", "16", "0", "\"fixup_Mips_GPREL32\"", "0", "32", "0", "\"fixup_Mips_SHIFT5\"", "6", "5", "0", "\"fixup_Mips_SHIFT6\"", "6", "5", "0", "\"fixup_Mips_64\"", "0", "64", "0", "\"fixup_Mips_TLSGD\"", "0", "16", "0", "\"fixup_Mips_GOTTPREL\"", "0", "16", "0", "\"fixup_Mips_TPREL_HI\"", "0", "16", "0", "\"fixup_Mips_TPREL_LO\"", "0", "16", "0", "\"fixup_Mips_Branch_PCRel\"", "0", "16", "\"Invalid kind!\""], "File": "MipsAsmBackend6", "Func": "getFixupKindInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6145, "Length": 275, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mmix_shiftable_wyde_value", "(", "uint64_t", "value", ")", "{", "int", "i", ";", "int", "has_candidate", "=", "0", ";", "for", "(", "i", "=", "0", ";", "i", "<", "4", ";", "i", "++", ")", "{", "if", "(", "value", "&", "65535", ")", "{", "if", "(", "has_candidate", ")", "return", "0", ";", "else", "has_candidate", "=", "1", ";", "}", "value", ">>=", "16", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["Return", "1", "if", "value", "is", "0", "..", "65535", "*", "2", "*", "*", "(", "16", "*", "N", ")", "for", "N=0", "..", "3.", "else", "return", "0", "."], "TS_V_token": ["mmix", "0", "0", "4", "65535", "0", "1", "16", "1"], "File": "mmix", "Func": "mmix_shiftable_wyde_value", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6146, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMTargetLowering", "::", "ConstraintType", "ARMTargetLowering", "::", "getConstraintType", "(", "const", "std", "::", "string", "&", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'l'", ":", "return", "C_RegisterClass", ";", "case", "'w'", ":", "return", "C_RegisterClass", ";", "}", "}", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "."], "TS_V_token": ["ARM", "ARM", "ARM", "1", "0"], "File": "ARMISelLowering109", "Func": "getConstraintType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6147, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_split_constant", "(", "enum", "rtx_code", "code", ",", "enum", "machine_mode", "mode", ",", "rtx", "insn", ",", "HOST_WIDE_INT", "val", ",", "rtx", "target", ",", "rtx", "source", ",", "int", "subtargets", ")", "{", "rtx", "cond", ";", "if", "(", "insn", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "COND_EXEC", ")", "cond", "=", "COND_EXEC_TEST", "(", "PATTERN", "(", "insn", ")", ")", ";", "else", "cond", "=", "NULL_RTX", ";", "if", "(", "subtargets", "||", "code", "==", "SET", "||", "(", "GET_CODE", "(", "target", ")", "==", "REG", "&&", "GET_CODE", "(", "source", ")", "==", "REG", "&&", "REGNO", "(", "target", ")", "!=", "REGNO", "(", "source", ")", ")", ")", "{", "if", "(", "!", "after_arm_reorg", "&&", "!", "cond", "&&", "(", "arm_gen_constant", "(", "code", ",", "mode", ",", "NULL_RTX", ",", "val", ",", "target", ",", "source", ",", "1", ",", "0", ")", ">", "arm_constant_limit", "+", "(", "code", "!=", "SET", ")", ")", ")", "{", "if", "(", "code", "==", "SET", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "target", ",", "GEN_INT", "(", "val", ")", ")", ")", ";", "return", "1", ";", "}", "else", "{", "rtx", "temp", "=", "subtargets", "?", "gen_reg_rtx", "(", "mode", ")", ":", "target", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "temp", ",", "GEN_INT", "(", "val", ")", ")", ")", ";", "if", "(", "code", "==", "MINUS", ")", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "target", ",", "gen_rtx_MINUS", "(", "mode", ",", "temp", ",", "source", ")", ")", ")", ";", "else", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "target", ",", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "source", ",", "temp", ")", ")", ")", ";", "return", "2", ";", "}", "}", "}", "return", "arm_gen_constant", "(", "code", ",", "mode", ",", "cond", ",", "val", ",", "target", ",", "source", ",", "subtargets", ",", "1", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "sequence", "of", "insns", "to", "handle", "a", "large", "constant", ".", "CODE", "is", "the", "code", "of", "the", "operation", "required", ",", "it", "can", "be", "any", "of", "SET", ",", "PLUS", ",", "IOR", ",", "AND", ",", "XOR", ",", "MINUS", ";", "MODE", "is", "the", "mode", "in", "which", "the", "operation", "is", "being", "performed", ";", "VAL", "is", "the", "integer", "to", "operate", "on", ";", "SOURCE", "is", "the", "other", "operand", "(", "a", "register", ",", "or", "a", "null-pointer", "for", "SET", ")", ";", "SUBTARGETS", "means", "it", "is", "safe", "to", "create", "scratch", "registers", "if", "that", "will", "either", "produce", "a", "simpler", "sequence", ",", "or", "we", "will", "want", "to", "cse", "the", "values", ".", "Return", "value", "is", "the", "number", "of", "insns", "emitted", "."], "TS_V_token": ["arm", "1", "0", "1", "2", "1"], "File": "arm3", "Func": "arm_split_constant", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6148, "Length": 261, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_reorg", "(", "void", ")", "{", "if", "(", "TARGET_MIPS16", ")", "mips16_lay_out_constants", "(", ")", ";", "else", "if", "(", "TARGET_EXPLICIT_RELOCS", ")", "{", "if", "(", "mips_flag_delayed_branch", ")", "dbr_schedule", "(", "get_insns", "(", ")", ",", "dump_file", ")", ";", "mips_avoid_hazards", "(", ")", ";", "if", "(", "TUNE_MIPS4130", "&&", "TARGET_VR4130_ALIGN", ")", "vr4130_align_insns", "(", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_MACHINE_DEPENDENT_REORG", "."], "TS_V_token": ["mips"], "File": "mips3", "Func": "mips_reorg", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6149, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "UnwindOpcodeAssembler", "::", "EmitRegSave", "(", "uint32_t", "RegSave", ")", "{", "if", "(", "RegSave", "==", "0u", ")", "{", "EmitInt8", "(", "ARM", "::", "EHABI", "::", "UNWIND_OPCODE_POP_RA_AUTH_CODE", ")", ";", "return", ";", "}", "if", "(", "RegSave", "&", "(", "1u", "<<", "4", ")", ")", "{", "uint32_t", "Mask", "=", "RegSave", "&", "0xff0u", ";", "uint32_t", "Range", "=", "countTrailingOnes", "(", "Mask", ">>", "5", ")", ";", "Mask", "&=", "~", "(", "0xffffffe0u", "<<", "Range", ")", ";", "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", "ARM::EHABI", "1u", "4", "0xff0u", "5", "0xffffffe0u", "0xfff0u", "0u", "ARM::EHABI", "0x000fu", "1u", "14", "ARM::EHABI", "0x000fu", "0xfff0u", "0", "ARM::EHABI", "4", "0x000fu", "0", "ARM::EHABI", "0x000fu"], "File": "ARMUnwindOpAsm5", "Func": "EmitRegSave", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6150, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Error", "(", "SMLoc", "L", ",", "const", "Twine", "&", "Msg", ",", "ArrayRef", "<", "SMRange", ">", "Ranges", "=", "ArrayRef", "<", "SMRange", ">", "(", ")", ",", "bool", "MatchingInlineAsm", "=", "false", ")", "{", "if", "(", "MatchingInlineAsm", ")", "return", "true", ";", "return", "Parser", ".", "Error", "(", "L", ",", "Msg", ",", "Ranges", ")", ";", "}", ""], "natrual_language": ["Return", "an", "error", "at", "the", "location", "L", ",", "with", "the", "message", "Msg", "."], "TS_V_token": ["X86"], "File": "X86AsmParser10", "Func": "Error", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6151, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreRegAlloc", "(", ")", "{", "addPass", "(", "createX86CallFrameOptimization", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86TargetMachine110", "Func": "addPreRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6152, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"ARM pre- register allocation load / store optimization pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"ARM pre- register allocation load / store optimization pass\""], "File": "ARMLoadStoreOptimizer2", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6153, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "AArch64Subtarget", "*", "AArch64TargetMachine", "::", "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", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "CPU", "+", "FS", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "llvm", "::", "make_unique", "<", "AArch64Subtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "*", "this", ",", "Subtarget", ".", "isLittleEndian", "(", ")", ")", ";", "GISelAccessor", "*", "GISel", "=", "new", "GISelAccessor", "(", ")", ";", "AArch64GISelActualAccessor", "*", "GISel", "=", "new", "AArch64GISelActualAccessor", "(", ")", ";", "GISel", "->", "CallLoweringInfo", ".", "reset", "(", "new", "AArch64CallLowering", "(", "*", "I", "->", "getTargetLowering", "(", ")", ")", ")", ";", "GISel", "->", "RegBankInfo", ".", "reset", "(", "new", "AArch64RegisterBankInfo", "(", "*", "I", "->", "getRegisterInfo", "(", ")", ")", ")", ";", "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": ["AArch64", "AArch64", "AArch64", "\"target-cpu\"", "\"target-features\"", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine12", "Func": "getSubtargetImpl", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6154, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "i386_pe_valid_dllimport_attribute_p", "(", "const_tree", "decl", ")", "{", "if", "(", "TARGET_NOP_FUN_DLLIMPORT", "&&", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Handle", "the", "-mno-fun-dllimport", "target", "switch", "."], "TS_V_token": ["i386"], "File": "winnt", "Func": "i386_pe_valid_dllimport_attribute_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6155, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pru_asm_function_prologue", "(", "FILE", "*", "file", ")", "{", "if", "(", "flag_verbose_asm", "||", "flag_debug_asm", ")", "pru_dump_frame_layout", "(", "file", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_FUNCTION_PROLOGUE", "."], "TS_V_token": ["pru"], "File": "pru", "Func": "pru_asm_function_prologue", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6156, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetObjectFile", "::", "IsGlobalInSmallSection", "(", "const", "GlobalValue", "*", "GV", ",", "const", "TargetMachine", "&", "TM", ",", "SectionKind", "Kind", ")", "const", "{", "const", "MipsSubtarget", "&", "Subtarget", "=", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "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", ".", "getTargetData", "(", ")", "->", "getTypeAllocSize", "(", "Ty", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "global", "address", "should", "be", "placed", "into", "small", "data/bss", "section", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips"], "File": "MipsTargetObjectFile14", "Func": "IsGlobalInSmallSection", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6157, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "pa_hpux_asm_output_external", "(", "FILE", "*", "file", ",", "tree", "decl", ",", "const", "char", "*", "name", ")", "{", "gcc_assert", "(", "file", "==", "asm_out_file", ")", ";", "extern_symbol", "p", "=", "{", "decl", ",", "name", "}", ";", "vec_safe_push", "(", "extern_symbols", ",", "p", ")", ";", "}", ""], "natrual_language": ["Mark", "DECL", "(", "name", "NAME", ")", "as", "an", "external", "reference", "(", "assembler", "output", "file", "FILE", ")", ".", "This", "saves", "the", "names", "to", "output", "at", "the", "end", "of", "the", "file", "if", "actually", "referenced", "."], "TS_V_token": ["pa"], "File": "pa", "Func": "pa_hpux_asm_output_external", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6158, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_expand_sse_fabs", "(", "rtx", "op0", ",", "rtx", "*", "smask", ")", "{", "machine_mode", "vmode", ",", "mode", "=", "GET_MODE", "(", "op0", ")", ";", "rtx", "xa", ",", "mask", ";", "xa", "=", "gen_reg_rtx", "(", "mode", ")", ";", "if", "(", "mode", "==", "SFmode", ")", "vmode", "=", "V4SFmode", ";", "else", "if", "(", "mode", "==", "DFmode", ")", "vmode", "=", "V2DFmode", ";", "else", "vmode", "=", "mode", ";", "mask", "=", "ix86_build_signbit_mask", "(", "vmode", ",", "VECTOR_MODE_P", "(", "mode", ")", ",", "true", ")", ";", "if", "(", "!", "VECTOR_MODE_P", "(", "mode", ")", ")", "{", "rtx", "tmp", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "1", ",", "const0_rtx", ")", ")", ";", "tmp", "=", "gen_rtx_VEC_SELECT", "(", "mode", ",", "mask", ",", "tmp", ")", ";", "mask", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "mask", ",", "tmp", ")", ")", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "xa", ",", "gen_rtx_AND", "(", "mode", ",", "op0", ",", "mask", ")", ")", ")", ";", "if", "(", "smask", ")", "*", "smask", "=", "mask", ";", "return", "xa", ";", "}", ""], "natrual_language": ["Expand", "fabs", "(", "OP0", ")", "and", "return", "a", "new", "rtx", "that", "holds", "the", "result", ".", "The", "mask", "for", "masking", "out", "the", "sign-bit", "is", "stored", "in", "*", "SMASK", ",", "if", "that", "is", "non-null", "."], "TS_V_token": ["i386", "1"], "File": "i3864", "Func": "ix86_expand_sse_fabs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6159, "Length": 161, "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", ";", "}", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "ARM", "architecture", "model", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM"], "File": "ARMTargetMachine22", "Func": "ARMBaseTargetMachine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6160, "Length": 297, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_bit_representation", "(", "rtx", "x", ")", "{", "if", "(", "CONST_DOUBLE_P", "(", "x", ")", ")", "x", "=", "gen_lowpart", "(", "int_mode_for_mode", "(", "GET_MODE", "(", "x", ")", ")", ".", "require", "(", ")", ",", "x", ")", ";", "return", "x", ";", "}", ""], "natrual_language": ["If", "X", "is", "a", "CONST_DOUBLE", ",", "return", "its", "bit", "representation", "as", "a", "constant", "integer", ",", "otherwise", "return", "X", "unmodified", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_bit_representation", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6161, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "PPCTTIImpl", "::", "getIntImmCostInst", "(", "unsigned", "Opcode", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "{", "if", "(", "DisablePPCConstHoist", ")", "return", "BaseT", "::", "getIntImmCostInst", "(", "Opcode", ",", "Idx", ",", "Imm", ",", "Ty", ")", ";", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", ")", "return", "~", "0U", ";", "unsigned", "ImmIdx", "=", "~", "0U", ";", "bool", "ShiftedFree", "=", "false", ",", "RunFree", "=", "false", ",", "UnsignedFree", "=", "false", ",", "ZeroFree", "=", "false", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "TTI", "::", "TCC_Free", ";", "case", "Instruction", "::", "GetElementPtr", ":", "if", "(", "Idx", "==", "0", ")", "return", "2", "*", "TTI", "::", "TCC_Basic", ";", "return", "TTI", "::", "TCC_Free", ";", "case", "Instruction", "::", "And", ":", "RunFree", "=", "true", ";", "LLVM_FALLTHROUGH", ";", "case", "Instruction", "::", "Add", ":", "case", "Instruction", "::", "Or", ":", "case", "Instruction", "::", "Xor", ":", "ShiftedFree", "=", "true", ";", "LLVM_FALLTHROUGH", ";", "case", "Instruction", "::", "Sub", ":", "case", "Instruction", "::", "Mul", ":", "case", "Instruction", "::", "Shl", ":", "case", "Instruction", "::", "LShr", ":", "case", "Instruction", "::", "AShr", ":", "ImmIdx", "=", "1", ";", "break", ";", "case", "Instruction", "::", "ICmp", ":", "UnsignedFree", "=", "true", ";", "ImmIdx", "=", "1", ";", "LLVM_FALLTHROUGH", ";", "case", "Instruction", "::", "Select", ":", "ZeroFree", "=", "true", ";", "break", ";", "case", "Instruction", "::", "PHI", ":", "case", "Instruction", "::", "Call", ":", "case", "Instruction", "::", "Ret", ":", "case", "Instruction", "::", "Load", ":", "case", "Instruction", "::", "Store", ":", "break", ";", "}", "if", "(", "ZeroFree", "&&", "Imm", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "Idx", "==", "ImmIdx", "&&", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", ")", "{", "if", "(", "isInt", "<", "16", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "RunFree", ")", "{", "if", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "32", "&&", "(", "isShiftedMask_32", "(", "Imm", ".", "getZExtValue", "(", ")", ")", "||", "isShiftedMask_32", "(", "~", "Imm", ".", "getZExtValue", "(", ")", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "ST", "->", "isPPC64", "(", ")", "&&", "(", "isShiftedMask_64", "(", "Imm", ".", "getZExtValue", "(", ")", ")", "||", "isShiftedMask_64", "(", "~", "Imm", ".", "getZExtValue", "(", ")", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "}", "if", "(", "UnsignedFree", "&&", "isUInt", "<", "16", ">", "(", "Imm", ".", "getZExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "ShiftedFree", "&&", "(", "Imm", ".", "getZExtValue", "(", ")", "&", "0xFFFF", ")", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "}", "return", "PPCTTIImpl", "::", "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": ["PowerPC", "PPC", "PPC", "0", "0U", "0U", "0", "2", "1", "1", "0", "64", "16", "32", "PPC", "16", "0xFFFF", "0", "PPC"], "File": "PPCTargetTransformInfo35", "Func": "getIntImmCostInst", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6162, "Length": 419, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_expand_vec_perm", "(", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ",", "rtx", "sel", ")", "{", "machine_mode", "vmode", "=", "GET_MODE", "(", "target", ")", ";", "unsigned", "int", "nelt", "=", "GET_MODE_NUNITS", "(", "vmode", ")", ";", "bool", "one_vector_p", "=", "rtx_equal_p", "(", "op0", ",", "op1", ")", ";", "rtx", "mask", ";", "mask", "=", "aarch64_simd_gen_const_vector_dup", "(", "vmode", ",", "one_vector_p", "?", "nelt", "-", "1", ":", "2", "*", "nelt", "-", "1", ")", ";", "sel", "=", "expand_simple_binop", "(", "vmode", ",", "AND", ",", "sel", ",", "mask", ",", "NULL", ",", "0", ",", "OPTAB_LIB_WIDEN", ")", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "{", "if", "(", "!", "one_vector_p", ")", "mask", "=", "aarch64_simd_gen_const_vector_dup", "(", "vmode", ",", "nelt", "-", "1", ")", ";", "sel", "=", "expand_simple_binop", "(", "vmode", ",", "XOR", ",", "sel", ",", "mask", ",", "NULL", ",", "0", ",", "OPTAB_LIB_WIDEN", ")", ";", "}", "aarch64_expand_vec_perm_1", "(", "target", ",", "op0", ",", "op1", ",", "sel", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "vec_perm", "with", "the", "operands", "given", "by", "TARGET", ",", "OP0", ",", "OP1", "and", "SEL", ".", "NELT", "is", "the", "number", "of", "elements", "in", "the", "vector", "."], "TS_V_token": ["aarch64", "1", "2", "1", "0", "1", "0"], "File": "aarch642", "Func": "aarch64_expand_vec_perm", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6163, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_density_test", "(", "rs6000_cost_data", "*", "data", ")", "{", "const", "int", "DENSITY_PCT_THRESHOLD", "=", "85", ";", "const", "int", "DENSITY_SIZE_THRESHOLD", "=", "70", ";", "const", "int", "DENSITY_PENALTY", "=", "10", ";", "struct", "loop", "*", "loop", "=", "data", "->", "loop_info", ";", "basic_block", "*", "bbs", "=", "get_loop_body", "(", "loop", ")", ";", "int", "nbbs", "=", "loop", "->", "num_nodes", ";", "loop_vec_info", "loop_vinfo", "=", "loop_vec_info_for_loop", "(", "data", "->", "loop_info", ")", ";", "int", "vec_cost", "=", "data", "->", "cost", "[", "vect_body", "]", ",", "not_vec_cost", "=", "0", ";", "int", "i", ",", "density_pct", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nbbs", ";", "i", "++", ")", "{", "basic_block", "bb", "=", "bbs", "[", "i", "]", ";", "gimple_stmt_iterator", "gsi", ";", "for", "(", "gsi", "=", "gsi_start_bb", "(", "bb", ")", ";", "!", "gsi_end_p", "(", "gsi", ")", ";", "gsi_next", "(", "&", "gsi", ")", ")", "{", "gimple", "*", "stmt", "=", "gsi_stmt", "(", "gsi", ")", ";", "if", "(", "is_gimple_debug", "(", "stmt", ")", ")", "continue", ";", "stmt_vec_info", "stmt_info", "=", "loop_vinfo", "->", "lookup_stmt", "(", "stmt", ")", ";", "if", "(", "!", "STMT_VINFO_RELEVANT_P", "(", "stmt_info", ")", "&&", "!", "STMT_VINFO_IN_PATTERN_P", "(", "stmt_info", ")", ")", "not_vec_cost", "++", ";", "}", "}", "free", "(", "bbs", ")", ";", "density_pct", "=", "(", "vec_cost", "*", "100", ")", "/", "(", "vec_cost", "+", "not_vec_cost", ")", ";", "if", "(", "density_pct", ">", "DENSITY_PCT_THRESHOLD", "&&", "vec_cost", "+", "not_vec_cost", ">", "DENSITY_SIZE_THRESHOLD", ")", "{", "data", "->", "cost", "[", "vect_body", "]", "=", "vec_cost", "*", "(", "100", "+", "DENSITY_PENALTY", ")", "/", "100", ";", "if", "(", "dump_enabled_p", "(", ")", ")", "dump_printf_loc", "(", "MSG_NOTE", ",", "vect_location", ",", "\"density %d%%, cost %d exceeds threshold, penalizing \"", "\"loop body cost by %d%%\"", ",", "density_pct", ",", "vec_cost", "+", "not_vec_cost", ",", "DENSITY_PENALTY", ")", ";", "}", "}", ""], "natrual_language": ["Test", "for", "likely", "overcommitment", "of", "vector", "hardware", "resources", ".", "If", "a", "loop", "iteration", "is", "relatively", "large", ",", "and", "too", "large", "a", "percentage", "of", "instructions", "in", "the", "loop", "are", "vectorized", ",", "the", "cost", "model", "may", "not", "adequately", "reflect", "delays", "from", "unavailable", "vector", "resources", ".", "Penalize", "the", "loop", "body", "cost", "for", "this", "case", "."], "TS_V_token": ["rs6000", "85", "70", "10", "0", "0", "100", "100", "100", "\"density %d%%, cost %d exceeds threshold, penalizing \"", "\"loop body cost by %d%%\""], "File": "rs60001", "Func": "rs6000_density_test", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6164, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmBackend", "::", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "static", "const", "uint8_t", "Nops", "[", "10", "]", "[", "10", "]", "=", "{", "{", "0x90", "}", ",", "{", "0x66", ",", "0x90", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x40", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x44", ",", "0x00", ",", "0x00", "}", ",", "{", "0x66", ",", "0x0f", ",", "0x1f", ",", "0x44", ",", "0x00", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x80", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x84", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "{", "0x66", ",", "0x0f", ",", "0x1f", ",", "0x84", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "{", "0x66", ",", "0x2e", ",", "0x0f", ",", "0x1f", ",", "0x84", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "}", ";", "if", "(", "CPU", "==", "\"generic\"", "||", "CPU", "==", "\"i386\"", "||", "CPU", "==", "\"i486\"", "||", "CPU", "==", "\"i586\"", "||", "CPU", "==", "\"pentium\"", "||", "CPU", "==", "\"pentium-mmx\"", "||", "CPU", "==", "\"geode\"", ")", "{", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "<", "Count", ";", "++", "i", ")", "OW", "->", "Write8", "(", "0x90", ")", ";", "return", "true", ";", "}", "do", "{", "const", "uint8_t", "ThisNopLength", "=", "(", "uint8_t", ")", "std", "::", "min", "(", "Count", ",", "(", "uint64_t", ")", "15", ")", ";", "const", "uint8_t", "Prefixes", "=", "ThisNopLength", "<=", "10", "?", "0", ":", "ThisNopLength", "-", "10", ";", "for", "(", "uint8_t", "i", "=", "0", ";", "i", "<", "Prefixes", ";", "i", "++", ")", "OW", "->", "Write8", "(", "0x66", ")", ";", "const", "uint8_t", "Rest", "=", "ThisNopLength", "-", "Prefixes", ";", "for", "(", "uint8_t", "i", "=", "0", ";", "i", "<", "Rest", ";", "i", "++", ")", "OW", "->", "Write8", "(", "Nops", "[", "Rest", "-", "1", "]", "[", "i", "]", ")", ";", "Count", "-=", "ThisNopLength", ";", "}", "while", "(", "Count", "!=", "0", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["X86", "X86", "10", "10", "0x90", "0x66", "0x90", "0x0f", "0x1f", "0x00", "0x0f", "0x1f", "0x40", "0x00", "0x0f", "0x1f", "0x44", "0x00", "0x00", "0x66", "0x0f", "0x1f", "0x44", "0x00", "0x00", "0x0f", "0x1f", "0x80", "0x00", "0x00", "0x00", "0x00", "0x0f", "0x1f", "0x84", "0x00", "0x00", "0x00", "0x00", "0x00", "0x66", "0x0f", "0x1f", "0x84", "0x00", "0x00", "0x00", "0x00", "0x00", "0x66", "0x2e", "0x0f", "0x1f", "0x84", "0x00", "0x00", "0x00", "0x00", "0x00", "\"generic\"", "\"i386\"", "\"i486\"", "\"i586\"", "\"pentium\"", "\"pentium-mmx\"", "\"geode\"", "0", "0x90", "15", "10", "0", "10", "0", "0x66", "0", "1", "0"], "File": "X86AsmBackend70", "Func": "writeNopData", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6165, "Length": 323, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb2RegisterInfo", "::", "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": ["ARM"], "File": "Thumb2RegisterInfo2", "Func": "requiresRegisterScavenging", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6166, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "set_of_reg", "sh_find_set_of_reg", "(", "rtx", "reg", ",", "rtx_insn", "*", "insn", ",", "F", "stepfunc", ",", "bool", "ignore_reg_reg_copies", "=", "false", ")", "{", "set_of_reg", "result", ";", "result", ".", "insn", "=", "insn", ";", "result", ".", "set_rtx", "=", "NULL_RTX", ";", "result", ".", "set_src", "=", "NULL_RTX", ";", "if", "(", "!", "REG_P", "(", "reg", ")", "||", "insn", "==", "NULL_RTX", ")", "return", "result", ";", "for", "(", "rtx_insn", "*", "i", "=", "stepfunc", "(", "insn", ")", ";", "i", "!=", "NULL_RTX", ";", "i", "=", "stepfunc", "(", "i", ")", ")", "{", "if", "(", "BARRIER_P", "(", "i", ")", ")", "break", ";", "if", "(", "!", "INSN_P", "(", "i", ")", "||", "DEBUG_INSN_P", "(", "i", ")", ")", "continue", ";", "if", "(", "reg_set_p", "(", "reg", ",", "i", ")", ")", "{", "if", "(", "CALL_P", "(", "i", ")", ")", "break", ";", "result", ".", "insn", "=", "i", ";", "result", ".", "set_rtx", "=", "set_of", "(", "reg", ",", "i", ")", ";", "if", "(", "result", ".", "set_rtx", "==", "NULL_RTX", "||", "GET_CODE", "(", "result", ".", "set_rtx", ")", "!=", "SET", ")", "break", ";", "result", ".", "set_src", "=", "XEXP", "(", "result", ".", "set_rtx", ",", "1", ")", ";", "if", "(", "ignore_reg_reg_copies", "&&", "REG_P", "(", "result", ".", "set_src", ")", ")", "{", "reg", "=", "result", ".", "set_src", ";", "continue", ";", "}", "if", "(", "ignore_reg_reg_copies", "&&", "SUBREG_P", "(", "result", ".", "set_src", ")", "&&", "REG_P", "(", "SUBREG_REG", "(", "result", ".", "set_src", ")", ")", ")", "{", "reg", "=", "SUBREG_REG", "(", "result", ".", "set_src", ")", ";", "continue", ";", "}", "break", ";", "}", "}", "if", "(", "result", ".", "set_src", "!=", "NULL", "&&", "result", ".", "set_rtx", "==", "NULL", ")", "result", ".", "set_src", "=", "NULL", ";", "return", "result", ";", "}", ""], "natrual_language": ["Given", "a", "reg", "rtx", "and", "a", "start", "insn", ",", "try", "to", "find", "the", "insn", "that", "sets", "the", "specified", "reg", "by", "using", "the", "specified", "insn", "stepping", "function", ",", "such", "as", "'prev_nonnote_insn_bb", "'", ".", "When", "the", "insn", "is", "found", ",", "try", "to", "extract", "the", "rtx", "of", "the", "reg", "set", "."], "TS_V_token": ["sh", "1"], "File": "sh-protos", "Func": "sh_find_set_of_reg", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6167, "Length": 254, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_extending_load_p", "(", "stmt_vec_info", "stmt_info", ")", "{", "gassign", "*", "assign", "=", "dyn_cast", "<", "gassign", "*", ">", "(", "stmt_info", "->", "stmt", ")", ";", "if", "(", "!", "assign", "||", "!", "CONVERT_EXPR_CODE_P", "(", "gimple_assign_rhs_code", "(", "assign", ")", ")", ")", "return", "false", ";", "tree", "rhs", "=", "gimple_assign_rhs1", "(", "stmt_info", "->", "stmt", ")", ";", "tree", "lhs_type", "=", "TREE_TYPE", "(", "gimple_assign_lhs", "(", "assign", ")", ")", ";", "tree", "rhs_type", "=", "TREE_TYPE", "(", "rhs", ")", ";", "if", "(", "!", "INTEGRAL_TYPE_P", "(", "lhs_type", ")", "||", "!", "INTEGRAL_TYPE_P", "(", "rhs_type", ")", "||", "TYPE_PRECISION", "(", "lhs_type", ")", "<=", "TYPE_PRECISION", "(", "rhs_type", ")", ")", "return", "false", ";", "stmt_vec_info", "def_stmt_info", "=", "stmt_info", "->", "vinfo", "->", "lookup_def", "(", "rhs", ")", ";", "return", "(", "def_stmt_info", "&&", "STMT_VINFO_DATA_REF", "(", "def_stmt_info", ")", "&&", "DR_IS_READ", "(", "STMT_VINFO_DATA_REF", "(", "def_stmt_info", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "STMT_INFO", "extends", "the", "result", "of", "a", "load", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_extending_load_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6168, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "KudeyarFrameLowering", "::", "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", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "KudeyarMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "KudeyarMachineFunctionInfo", ">", "(", ")", ";", "MFI", "->", "setCalleeSavedFrameSize", "(", "CSI", ".", "size", "(", ")", "*", "4", ")", ";", "if", "(", "CSI", ".", "size", "(", ")", ">", "1", ")", "{", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "Kudeyar", "::", "PUSHA", ")", ")", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "bool", "isKill", "=", "true", ";", "if", "(", "isKill", ")", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "MIB", ".", "addReg", "(", "Reg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "}", "MIB", ".", "setMIFlags", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "else", "{", "unsigned", "Reg", "=", "CSI", "[", "0", "]", ".", "getReg", "(", ")", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "Kudeyar", "::", "PUSH_R", ")", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ";", "}", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "Kudeyar", "::", "PUSH_R", ")", ")", ".", "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": ["Kudeyar", "Kudeyar", "Kudeyar", "Kudeyar", "4", "1", "Kudeyar::PUSHA", "0", "1", "0", "Kudeyar::PUSH_R", "0", "1", "Kudeyar::PUSH_R"], "File": "KudeyarFrameLowering", "Func": "spillCalleeSavedRegisters", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6169, "Length": 341, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "const", "MCObjectFileInfo", "::", "Environment", "Format", "=", "getContext", "(", ")", ".", "getObjectFileInfo", "(", ")", "->", "getObjectFileType", "(", ")", ";", "bool", "IsMachO", "=", "Format", "==", "MCObjectFileInfo", "::", "IsMachO", ";", "bool", "IsCOFF", "=", "Format", "==", "MCObjectFileInfo", "::", "IsCOFF", ";", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "SMLoc", "Loc", "=", "DirectiveID", ".", "getLoc", "(", ")", ";", "if", "(", "IDVal", "==", "\".arch\"", ")", "parseDirectiveArch", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".cpu\"", ")", "parseDirectiveCPU", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".tlsdesccall\"", ")", "parseDirectiveTLSDescCall", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".ltorg\"", "||", "IDVal", "==", "\".pool\"", ")", "parseDirectiveLtorg", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".unreq\"", ")", "parseDirectiveUnreq", "(", "Loc", ")", ";", "else", "if", "(", "!", "IsMachO", "&&", "!", "IsCOFF", ")", "{", "if", "(", "IDVal", "==", "\".inst\"", ")", "parseDirectiveInst", "(", "Loc", ")", ";", "else", "return", "true", ";", "}", "else", "if", "(", "IDVal", "==", "MCLOHDirectiveName", "(", ")", ")", "parseDirectiveLOH", "(", "IDVal", ",", "Loc", ")", ";", "else", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["AArch64", "AArch64", "\".arch\"", "\".cpu\"", "\".tlsdesccall\"", "\".ltorg\"", "\".pool\"", "\".unreq\"", "\".inst\""], "File": "AArch64AsmParser27", "Func": "ParseDirective", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6170, "Length": 176, "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", "TargetRegisterInfo", "*", "TRI", "=", "MF", "->", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "if", "(", "!", "ExtraCode", "||", "!", "ExtraCode", "[", "0", "]", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected operand for inline assembly\"", ")", ";", "case", "MachineOperand", "::", "MO_Register", ":", "if", "(", "printModifiedFPRAsmOperand", "(", "MO", ",", "TRI", ",", "'v'", ",", "O", ")", ")", "O", "<<", "AArch64InstPrinter", "::", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "O", "<<", "'#'", "<<", "MO", ".", "getImm", "(", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_FPImmediate", ":", "assert", "(", "MO", ".", "getFPImm", "(", ")", "->", "isExactlyValue", "(", "0.0", ")", "&&", "\"Only FP 0.0 expected\"", ")", ";", "O", "<<", "\"#0.0\"", ";", "break", ";", "case", "MachineOperand", "::", "MO_BlockAddress", ":", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "return", "printSymbolicAddress", "(", "MO", ",", "false", ",", "\"\"", ",", "O", ")", ";", "}", "return", "false", ";", "}", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "default", ":", "return", "AsmPrinter", "::", "PrintAsmOperand", "(", "MI", ",", "OpNum", ",", "AsmVariant", ",", "ExtraCode", ",", "O", ")", ";", "case", "'c'", ":", "if", "(", "!", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "isImm", "(", ")", ")", "return", "true", ";", "O", "<<", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "getImm", "(", ")", ";", "return", "false", ";", "case", "'w'", ":", "return", "printModifiedGPRAsmOperand", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ",", "TRI", ",", "AArch64", "::", "GPR32RegClass", ",", "O", ")", ";", "case", "'x'", ":", "return", "printModifiedGPRAsmOperand", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ",", "TRI", ",", "AArch64", "::", "GPR64RegClass", ",", "O", ")", ";", "case", "'H'", ":", "case", "'Q'", ":", "case", "'R'", ":", "llvm_unreachable", "(", "\"FIXME: Unimplemented register pairs\"", ")", ";", "case", "'b'", ":", "case", "'h'", ":", "case", "'s'", ":", "case", "'d'", ":", "case", "'q'", ":", "return", "printModifiedFPRAsmOperand", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ",", "TRI", ",", "ExtraCode", "[", "0", "]", ",", "O", ")", ";", "case", "'A'", ":", "return", "printSymbolicAddress", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ",", "false", ",", "\"\"", ",", "O", ")", ";", "case", "'L'", ":", "return", "printSymbolicAddress", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ",", "true", ",", "\"lo12\"", ",", "O", ")", ";", "case", "'G'", ":", "return", "printSymbolicAddress", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ",", "true", ",", "\"hi12\"", ",", "O", ")", ";", "}", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["AArch64", "AArch64", "0", "\"Unexpected operand for inline assembly\"", "AArch64", "0.0", "\"Only FP 0.0 expected\"", "\"#0.0\"", "\"\"", "0", "AArch64::GPR32RegClass", "AArch64::GPR64RegClass", "\"FIXME: Unimplemented register pairs\"", "0", "\"\"", "\"lo12\"", "\"hi12\""], "File": "AArch64AsmPrinter11", "Func": "PrintAsmOperand", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6171, "Length": 412, "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": 6172, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "TeeRISCDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "DebugLoc", "dl", "=", "N", "->", "getDebugLoc", "(", ")", ";", "if", "(", "N", "->", "isMachineOpcode", "(", ")", ")", "return", "NULL", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "TeeRISC_ISD", "::", "GLOBAL_BASE_REG", ":", "return", "getGlobalBaseReg", "(", ")", ";", "}", "return", "SelectCode", "(", "N", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["TeeRISC", "TeeRISC", "TeeRISC_ISD::GLOBAL_BASE_REG"], "File": "TeeRISCISelDAGToDAG", "Func": "Select", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6173, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCCTRLoops", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "LI", "=", "&", "getAnalysis", "<", "LoopInfo", ">", "(", ")", ";", "SE", "=", "&", "getAnalysis", "<", "ScalarEvolution", ">", "(", ")", ";", "DT", "=", "&", "getAnalysis", "<", "DominatorTreeWrapperPass", ">", "(", ")", ".", "getDomTree", "(", ")", ";", "DataLayoutPass", "*", "DLP", "=", "getAnalysisIfAvailable", "<", "DataLayoutPass", ">", "(", ")", ";", "DL", "=", "DLP", "?", "&", "DLP", "->", "getDataLayout", "(", ")", ":", "0", ";", "LibInfo", "=", "getAnalysisIfAvailable", "<", "TargetLibraryInfo", ">", "(", ")", ";", "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", "0"], "File": "PPCCTRLoops18", "Func": "runOnFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6174, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "unsigned", "Opc", ";", "if", "(", "PPC", "::", "GPRCRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "PPC", "::", "OR", ";", "else", "if", "(", "PPC", "::", "G8RCRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "PPC", "::", "OR8", ";", "else", "if", "(", "PPC", "::", "F4RCRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "PPC", "::", "FMR", ";", "else", "if", "(", "PPC", "::", "CRRCRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "PPC", "::", "MCRF", ";", "else", "if", "(", "PPC", "::", "VRRCRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "PPC", "::", "VOR", ";", "else", "if", "(", "PPC", "::", "CRBITRCRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "PPC", "::", "CROR", ";", "else", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "get", "(", "Opc", ")", ";", "if", "(", "MCID", ".", "getNumOperands", "(", ")", "==", "3", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "MCID", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "else", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "MCID", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["PowerPC", "PPC", "PPC::GPRCRegClass", "PPC::OR", "PPC::G8RCRegClass", "PPC::OR8", "PPC::F4RCRegClass", "PPC::FMR", "PPC::CRRCRegClass", "PPC::MCRF", "PPC::VRRCRegClass", "PPC::VOR", "PPC::CRBITRCRegClass", "PPC::CROR", "\"Impossible reg-to-reg copy\"", "3"], "File": "PPCInstrInfo (2)", "Func": "copyPhysReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6175, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isShuffleMaskLegal", "(", "const", "SmallVectorImpl", "<", "int", ">", "&", "M", ",", "EVT", "VT", ")", "const", "{", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "false", ";", "return", "(", "VT", ".", "getVectorNumElements", "(", ")", "==", "2", "||", "ShuffleVectorSDNode", "::", "isSplatMask", "(", "&", "M", "[", "0", "]", ",", "VT", ")", "||", "isMOVLMask", "(", "M", ",", "VT", ")", "||", "isSHUFPMask", "(", "M", ",", "VT", ")", "||", "isPSHUFDMask", "(", "M", ",", "VT", ")", "||", "isPSHUFHWMask", "(", "M", ",", "VT", ")", "||", "isPSHUFLWMask", "(", "M", ",", "VT", ")", "||", "isPALIGNRMask", "(", "M", ",", "VT", ",", "Subtarget", "->", "hasSSSE3", "(", ")", ")", "||", "isUNPCKLMask", "(", "M", ",", "VT", ")", "||", "isUNPCKHMask", "(", "M", ",", "VT", ")", "||", "isUNPCKL_v_undef_Mask", "(", "M", ",", "VT", ")", "||", "isUNPCKH_v_undef_Mask", "(", "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": ["X86", "X86", "64", "2", "0"], "File": "X86ISelLowering144", "Func": "isShuffleMaskLegal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6176, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseInstrInfo", "::", "isLoadFromStackSlotPostFE", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "const", "MachineMemOperand", "*", "Dummy", ";", "return", "MI", "->", "getDesc", "(", ")", ".", "mayLoad", "(", ")", "&&", "hasLoadFromStackSlot", "(", "MI", ",", "Dummy", ",", "FrameIndex", ")", ";", "}", ""], "natrual_language": ["isLoadFromStackSlotPostFE", "-", "Check", "for", "post-frame", "ptr", "elimination", "stack", "locations", "as", "well", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMBaseInstrInfo108", "Func": "isLoadFromStackSlotPostFE", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6177, "Length": 42, "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", "(", "(", "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", "Intrinsic", "::", "ID", "StoreInts", "[", "3", "]", "=", "{", "Intrinsic", "::", "arm_neon_vst2", ",", "Intrinsic", "::", "arm_neon_vst3", ",", "Intrinsic", "::", "arm_neon_vst4", "}", ";", "Function", "*", "VstNFunc", "=", "Intrinsic", "::", "getDeclaration", "(", "SI", "->", "getModule", "(", ")", ",", "StoreInts", "[", "Factor", "-", "2", "]", ",", "SubVecTy", ")", ";", "SmallVector", "<", "Value", "*", ",", "6", ">", "Ops", ";", "Type", "*", "Int8Ptr", "=", "Builder", ".", "getInt8PtrTy", "(", "SI", "->", "getPointerAddressSpace", "(", ")", ")", ";", "Ops", ".", "push_back", "(", "Builder", ".", "CreateBitCast", "(", "SI", "->", "getPointerOperand", "(", ")", ",", "Int8Ptr", ")", ")", ";", "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", "Intrinsic::getDeclaration", "2", "6", "0"], "File": "ARMISelLowering136", "Func": "lowerInterleavedStore", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6178, "Length": 408, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_atomic_ldop_supported_p", "(", "enum", "rtx_code", "code", ")", "{", "if", "(", "!", "TARGET_LSE", ")", "return", "false", ";", "switch", "(", "code", ")", "{", "case", "SET", ":", "case", "AND", ":", "case", "IOR", ":", "case", "XOR", ":", "case", "MINUS", ":", "case", "PLUS", ":", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Test", "whether", "the", "target", "supports", "using", "a", "atomic", "load-operate", "instruction", ".", "CODE", "is", "the", "operation", "and", "AFTER", "is", "TRUE", "if", "the", "data", "in", "memory", "after", "the", "operation", "should", "be", "returned", "and", "FALSE", "if", "the", "data", "before", "the", "operation", "should", "be", "returned", ".", "Returns", "FALSE", "if", "the", "operation", "is", "n't", "supported", "by", "the", "architecture", "."], "TS_V_token": ["aarch64"], "File": "aarch643", "Func": "aarch64_atomic_ldop_supported_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6179, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "SystemZInstrInfo", "::", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "*", "MI", ",", "ArrayRef", "<", "unsigned", ">", "Ops", ",", "MachineBasicBlock", "::", "iterator", "InsertPt", ",", "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": ["SystemZ", "SystemZ"], "File": "SystemZInstrInfo", "Func": "foldMemoryOperandImpl", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6180, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_sve_pred_mode_p", "(", "machine_mode", "mode", ")", "{", "return", "(", "TARGET_SVE", "&&", "(", "mode", "==", "VNx16BImode", "||", "mode", "==", "VNx8BImode", "||", "mode", "==", "VNx4BImode", "||", "mode", "==", "VNx2BImode", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "MODE", "is", "an", "SVE", "predicate", "mode", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_sve_pred_mode_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6181, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "SystemZRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "SystemZFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "const", "SystemZSubtarget", "*", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "SystemZSubtarget", ">", "(", ")", ";", "SystemZCallingConventionRegisters", "*", "Regs", "=", "Subtarget", "->", "getSpecialRegisters", "(", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "Regs", "->", "getFramePointerRegister", "(", ")", ":", "Regs", "->", "getStackPointerRegister", "(", ")", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ"], "File": "SystemZRegisterInfo10", "Func": "getFrameRegister", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6182, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "SparcTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "nullptr", ";", "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\"", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["Sparc", "Sparc", "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": "SparcISelLowering18", "Func": "getTargetNodeName", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6183, "Length": 192, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_fpr_return_fields", "(", "tree", "valtype", ",", "tree", "*", "fields", ")", "{", "tree", "field", ";", "int", "i", ";", "if", "(", "!", "TARGET_NEWABI", ")", "return", "0", ";", "if", "(", "TREE_CODE", "(", "valtype", ")", "!=", "RECORD_TYPE", ")", "return", "0", ";", "i", "=", "0", ";", "for", "(", "field", "=", "TYPE_FIELDS", "(", "valtype", ")", ";", "field", "!=", "0", ";", "field", "=", "TREE_CHAIN", "(", "field", ")", ")", "{", "if", "(", "TREE_CODE", "(", "field", ")", "!=", "FIELD_DECL", ")", "continue", ";", "if", "(", "TREE_CODE", "(", "TREE_TYPE", "(", "field", ")", ")", "!=", "REAL_TYPE", ")", "return", "0", ";", "if", "(", "i", "==", "2", ")", "return", "0", ";", "fields", "[", "i", "++", "]", "=", "field", ";", "}", "return", "i", ";", "}", ""], "natrual_language": ["See", "whether", "VALTYPE", "is", "a", "record", "whose", "fields", "should", "be", "returned", "in", "floating-point", "registers", ".", "If", "so", ",", "return", "the", "number", "of", "fields", "and", "list", "them", "in", "FIELDS", "(", "which", "should", "have", "two", "elements", ")", ".", "Return", "0", "otherwise", ".", "For", "n32", "&", "n64", ",", "a", "structure", "with", "one", "or", "two", "fields", "is", "returned", "in", "floating-point", "registers", "as", "long", "as", "every", "field", "has", "a", "floating-point", "type", ".", "The", "C++", "FE", "used", "to", "remove", "zero-width", "bit-fields", "in", "GCC", "11", "and", "earlier", ".", "To", "make", "a", "proper", "diagnostic", ",", "this", "function", "will", "set", "HAS_CXX_ZERO_WIDTH_BF", "to", "true", "once", "a", "C++", "zero-width", "bit-field", "shows", "up", ",", "and", "then", "ignore", "it", ".", "We", "had", "failed", "to", "ignore", "C++17", "empty", "bases", "in", "GCC", "7", ",", "8", ",", "9", ",", "10", ",", "and", "11", ".", "This", "caused", "an", "ABI", "incompatibility", "between", "C++14", "and", "C++17", ".", "This", "is", "fixed", "now", "and", "to", "make", "a", "proper", "diagnostic", ",", "this", "function", "will", "set", "HAS_CXX17_EMPTY_BASE", "to", "true", "once", "a", "C++17", "empty", "base", "shows", "up", ",", "and", "then", "ignore", "it", ".", "The", "caller", "should", "use", "the", "value", "of", "HAS_CXX17_EMPTY_BASE", "and/or", "HAS_CXX_ZERO_WIDTH_BF", "to", "emit", "a", "proper", "-Wpsabi", "inform", "."], "TS_V_token": ["mips", "0", "0", "0", "0", "0", "2", "0"], "File": "mips3", "Func": "mips_fpr_return_fields", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6184, "Length": 111, "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_insensitive", "(", "\"hi\"", ")", ")", "Kind", "=", "LanaiMCExpr", "::", "VK_Lanai_ABS_HI", ";", "else", "if", "(", "Identifier", ".", "equals_insensitive", "(", "\"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": "LanaiAsmParser10", "Func": "parseIdentifier", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6185, "Length": 350, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "PPCSubtarget", "::", "classifyGlobalReference", "(", "const", "GlobalValue", "*", "GV", ")", "const", "{", "if", "(", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", ")", "return", "PPCII", "::", "MO_PIC_FLAG", "|", "PPCII", "::", "MO_NLP_FLAG", ";", "unsigned", "char", "flags", "=", "PPCII", "::", "MO_PIC_FLAG", ";", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "{", "if", "(", "!", "GV", "->", "hasLocalLinkage", "(", ")", "&&", "GV", "->", "hasDefaultVisibility", "(", ")", ")", "{", "flags", "|=", "PPCII", "::", "MO_NLP_FLAG", ";", "}", "return", "flags", ";", "}", "if", "(", "GV", "->", "isStrongDefinitionForLinker", "(", ")", ")", "return", "flags", ";", "return", "flags", "|", "PPCII", "::", "MO_NLP_FLAG", ";", "}", ""], "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": ["PowerPC", "PPC", "PPCII::MO_PIC_FLAG", "PPCII::MO_NLP_FLAG", "PPCII::MO_PIC_FLAG", "PPCII::MO_NLP_FLAG", "PPCII::MO_NLP_FLAG"], "File": "PPCSubtarget (2)", "Func": "classifyGlobalReference", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6186, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isCoalescableExtInstr", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "&", "SrcReg", ",", "unsigned", "&", "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": "AArch64InstrInfo (2)", "Func": "isCoalescableExtInstr", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6187, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "lowerInterleavedLoad", "(", "LoadInst", "*", "LI", ",", "ArrayRef", "<", "ShuffleVectorInst", "*", ">", "Shuffles", ",", "ArrayRef", "<", "unsigned", ">", "Indices", ",", "unsigned", "Factor", ")", "const", "{", "assert", "(", "Factor", ">=", "2", "&&", "Factor", "<=", "getMaxSupportedInterleaveFactor", "(", ")", "&&", "\"Invalid interleave factor\"", ")", ";", "assert", "(", "!", "Shuffles", ".", "empty", "(", ")", "&&", "\"Empty shufflevector input\"", ")", ";", "assert", "(", "Shuffles", ".", "size", "(", ")", "==", "Indices", ".", "size", "(", ")", "&&", "\"Unmatched number of shufflevectors and indices\"", ")", ";", "VectorType", "*", "VecTy", "=", "Shuffles", "[", "0", "]", "->", "getType", "(", ")", ";", "Type", "*", "EltTy", "=", "VecTy", "->", "getVectorElementType", "(", ")", ";", "const", "DataLayout", "&", "DL", "=", "LI", "->", "getModule", "(", ")", "->", "getDataLayout", "(", ")", ";", "unsigned", "VecSize", "=", "DL", ".", "getTypeSizeInBits", "(", "VecTy", ")", ";", "bool", "EltIs64Bits", "=", "DL", ".", "getTypeSizeInBits", "(", "EltTy", ")", "==", "64", ";", "if", "(", "!", "Subtarget", "->", "hasNEON", "(", ")", "||", "(", "VecSize", "!=", "64", "&&", "VecSize", "!=", "128", ")", "||", "EltIs64Bits", ")", "return", "false", ";", "if", "(", "EltTy", "->", "isHalfTy", "(", ")", ")", "return", "false", ";", "if", "(", "EltTy", "->", "isPointerTy", "(", ")", ")", "VecTy", "=", "VectorType", "::", "get", "(", "DL", ".", "getIntPtrType", "(", "EltTy", ")", ",", "VecTy", "->", "getVectorNumElements", "(", ")", ")", ";", "static", "const", "Intrinsic", "::", "ID", "LoadInts", "[", "3", "]", "=", "{", "Intrinsic", "::", "arm_neon_vld2", ",", "Intrinsic", "::", "arm_neon_vld3", ",", "Intrinsic", "::", "arm_neon_vld4", "}", ";", "IRBuilder", "<", ">", "Builder", "(", "LI", ")", ";", "SmallVector", "<", "Value", "*", ",", "2", ">", "Ops", ";", "Type", "*", "Int8Ptr", "=", "Builder", ".", "getInt8PtrTy", "(", "LI", "->", "getPointerAddressSpace", "(", ")", ")", ";", "Ops", ".", "push_back", "(", "Builder", ".", "CreateBitCast", "(", "LI", "->", "getPointerOperand", "(", ")", ",", "Int8Ptr", ")", ")", ";", "Ops", ".", "push_back", "(", "Builder", ".", "getInt32", "(", "LI", "->", "getAlignment", "(", ")", ")", ")", ";", "assert", "(", "isTypeLegal", "(", "EVT", "::", "getEVT", "(", "VecTy", ")", ")", "&&", "\"Illegal vldN vector type!\"", ")", ";", "Type", "*", "Tys", "[", "]", "=", "{", "VecTy", ",", "Int8Ptr", "}", ";", "Function", "*", "VldnFunc", "=", "Intrinsic", "::", "getDeclaration", "(", "LI", "->", "getModule", "(", ")", ",", "LoadInts", "[", "Factor", "-", "2", "]", ",", "Tys", ")", ";", "CallInst", "*", "VldN", "=", "Builder", ".", "CreateCall", "(", "VldnFunc", ",", "Ops", ",", "\"vldN\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Shuffles", ".", "size", "(", ")", ";", "i", "++", ")", "{", "ShuffleVectorInst", "*", "SV", "=", "Shuffles", "[", "i", "]", ";", "unsigned", "Index", "=", "Indices", "[", "i", "]", ";", "Value", "*", "SubVec", "=", "Builder", ".", "CreateExtractValue", "(", "VldN", ",", "Index", ")", ";", "if", "(", "EltTy", "->", "isPointerTy", "(", ")", ")", "SubVec", "=", "Builder", ".", "CreateIntToPtr", "(", "SubVec", ",", "SV", "->", "getType", "(", ")", ")", ";", "SV", "->", "replaceAllUsesWith", "(", "SubVec", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Lower", "interleaved", "load", "(", "s", ")", "into", "target", "specific", "instructions/intrinsics", "."], "TS_V_token": ["ARM", "ARM", "2", "\"Invalid interleave factor\"", "\"Empty shufflevector input\"", "\"Unmatched number of shufflevectors and indices\"", "0", "64", "64", "128", "Intrinsic::ID", "3", "Intrinsic::arm_neon_vld2", "Intrinsic::arm_neon_vld3", "Intrinsic::arm_neon_vld4", "2", "\"Illegal vldN vector type!\"", "Intrinsic::getDeclaration", "2", "\"vldN\"", "0"], "File": "ARMISelLowering184", "Func": "lowerInterleavedLoad", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6188, "Length": 434, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstrBuilder", "buildLoad", "(", "const", "DstOp", "&", "Res", ",", "const", "CCValAssign", "&", "VA", ")", "{", "MachineMemOperand", "*", "MMO", ";", "Register", "Addr", "=", "getStackAddress", "(", "VA", ",", "MMO", ")", ";", "return", "MIRBuilder", ".", "buildLoad", "(", "Res", ",", "Addr", ",", "*", "MMO", ")", ";", "}", ""], "natrual_language": ["Build", "and", "insert", "a", "G_LOAD", "instruction", ",", "while", "constructing", "the", "MachineMemOperand", "."], "TS_V_token": ["Mips"], "File": "MipsCallLowering16", "Func": "buildLoad", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6189, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "optimizeCompareInstr", "(", "MachineInstr", "*", "Compare", ",", "unsigned", "SrcReg", ",", "unsigned", "SrcReg2", ",", "int", "Mask", ",", "int", "Value", ",", "const", "MachineRegisterInfo", "*", "MRI", ")", "const", "{", "assert", "(", "!", "SrcReg2", "&&", "\"Only optimizing constant comparisons so far\"", ")", ";", "bool", "IsLogical", "=", "(", "Compare", "->", "getDesc", "(", ")", ".", "TSFlags", "&", "SystemZII", "::", "IsLogical", ")", "!=", "0", ";", "if", "(", "Value", "==", "0", "&&", "!", "IsLogical", "&&", "removeIPMBasedCompare", "(", "Compare", ",", "SrcReg", ",", "MRI", ",", "TM", ".", "getRegisterInfo", "(", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "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": ["SystemZ", "SystemZ", "\"Only optimizing constant comparisons so far\"", "SystemZII::IsLogical", "0", "0"], "File": "SystemZInstrInfo11", "Func": "optimizeCompareInstr", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6190, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "Cpu0InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "Cpu0InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "SP", "=", "Cpu0", "::", "SP", ";", "unsigned", "ADDiu", "=", "Cpu0", "::", "ADDiu", ";", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "!", "StackSize", ")", "return", ";", "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);\"", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0::SP", "Cpu0::ADDiu", "16", "\"No expandLargeImm(SP, StackSize, false, TII, MBB, MBBI, dl);\""], "File": "Cpu0FrameLowering2", "Func": "emitEpilogue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6191, "Length": 144, "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": ["SystemZ"], "File": "SystemZISelLowering18", "Func": "convertSetCCLogicToBitwiseLogic", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6192, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64LoadStoreOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "const", "TargetMachine", "&", "TM", "=", "Fn", ".", "getTarget", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "TM", ".", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "TM", ".", "getSubtargetImpl", "(", ")", "->", "getRegisterInfo", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "auto", "&", "MBB", ":", "Fn", ")", "Modified", "|=", "optimizeBlock", "(", "MBB", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64LoadStoreOptimizer41", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6193, "Length": 77, "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": 6194, "Length": 120, "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": 6195, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmBackend", "::", "shouldForceRelocation", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ")", "{", "unsigned", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "if", "(", "Kind", ">=", "FirstLiteralRelocationKind", ")", "return", "true", ";", "if", "(", "Kind", "==", "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": "AArch64AsmBackend (2)1", "Func": "shouldForceRelocation", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6196, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "SelectAddressRegReg", "(", "SDValue", "N", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Index", ",", "SelectionDAG", "&", "DAG", ",", "unsigned", "EncodingAlignment", ")", "const", "{", "if", "(", "SelectAddressPCRel", "(", "N", ",", "Base", ")", ")", "return", "false", ";", "int16_t", "imm", "=", "0", ";", "if", "(", "N", ".", "getOpcode", "(", ")", "==", "ISD", "::", "ADD", ")", "{", "if", "(", "hasSPE", "(", ")", "&&", "SelectAddressEVXRegReg", "(", "N", ",", "Base", ",", "Index", ",", "DAG", ")", ")", "return", "true", ";", "if", "(", "isIntS16Immediate", "(", "N", ".", "getOperand", "(", "1", ")", ",", "imm", ")", "&&", "(", "!", "EncodingAlignment", "||", "!", "(", "imm", "%", "EncodingAlignment", ")", ")", ")", "return", "false", ";", "if", "(", "N", ".", "getOperand", "(", "1", ")", ".", "getOpcode", "(", ")", "==", "PPCISD", "::", "Lo", ")", "return", "false", ";", "Base", "=", "N", ".", "getOperand", "(", "0", ")", ";", "Index", "=", "N", ".", "getOperand", "(", "1", ")", ";", "return", "true", ";", "}", "else", "if", "(", "N", ".", "getOpcode", "(", ")", "==", "ISD", "::", "OR", ")", "{", "if", "(", "isIntS16Immediate", "(", "N", ".", "getOperand", "(", "1", ")", ",", "imm", ")", "&&", "(", "!", "EncodingAlignment", "||", "!", "(", "imm", "%", "EncodingAlignment", ")", ")", ")", "return", "false", ";", "KnownBits", "LHSKnown", "=", "DAG", ".", "computeKnownBits", "(", "N", ".", "getOperand", "(", "0", ")", ")", ";", "if", "(", "LHSKnown", ".", "Zero", ".", "getBoolValue", "(", ")", ")", "{", "KnownBits", "RHSKnown", "=", "DAG", ".", "computeKnownBits", "(", "N", ".", "getOperand", "(", "1", ")", ")", ";", "if", "(", "~", "(", "LHSKnown", ".", "Zero", "|", "RHSKnown", ".", "Zero", ")", "==", "0", ")", "{", "Base", "=", "N", ".", "getOperand", "(", "0", ")", ";", "Index", "=", "N", ".", "getOperand", "(", "1", ")", ";", "return", "true", ";", "}", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["SelectAddressRegReg", "-", "Given", "the", "specified", "addressed", ",", "check", "to", "see", "if", "it", "can", "be", "more", "efficiently", "represented", "as", "[", "r+imm", "]", "."], "TS_V_token": ["PowerPC", "PPC", "0", "ISD::ADD", "1", "1", "PPCISD::Lo", "0", "1", "ISD::OR", "1", "0", "1", "0", "0", "1"], "File": "PPCISelLowering101", "Func": "SelectAddressRegReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6197, "Length": 274, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addIRPasses", "(", ")", "{", "if", "(", "TM", "->", "Options", ".", "ThreadModel", "==", "ThreadModel", "::", "Single", ")", "addPass", "(", "createLowerAtomicPass", "(", ")", ")", ";", "else", "addPass", "(", "createAtomicExpandPass", "(", "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": "ARMTargetMachine25", "Func": "addIRPasses", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6198, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "aarch64_speculation_establish_tracker", "(", ")", "{", "rtx", "sp", "=", "gen_rtx_REG", "(", "DImode", ",", "SP_REGNUM", ")", ";", "rtx", "tracker", "=", "gen_rtx_REG", "(", "DImode", ",", "SPECULATION_TRACKER_REGNUM", ")", ";", "start_sequence", "(", ")", ";", "rtx", "cc", "=", "aarch64_gen_compare_reg", "(", "EQ", ",", "sp", ",", "const0_rtx", ")", ";", "emit_insn", "(", "gen_cstoredi_neg", "(", "tracker", ",", "gen_rtx_NE", "(", "CCmode", ",", "cc", ",", "const0_rtx", ")", ",", "cc", ")", ")", ";", "rtx_insn", "*", "seq", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "return", "seq", ";", "}", ""], "natrual_language": ["Generate", "a", "code", "sequence", "to", "establish", "the", "tracker", "variable", "from", "the", "contents", "of", "SP", "."], "TS_V_token": ["aarch64"], "File": "aarch64-speculation", "Func": "aarch64_speculation_establish_tracker", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6199, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "arm_invalid_within_doloop", "(", "const", "rtx_insn", "*", "insn", ")", "{", "if", "(", "!", "TARGET_HAVE_LOB", ")", "return", "default_invalid_within_doloop", "(", "insn", ")", ";", "if", "(", "CALL_P", "(", "insn", ")", ")", "return", "\"Function call in the loop.\"", ";", "if", "(", "reg_mentioned_p", "(", "gen_rtx_REG", "(", "SImode", ",", "LR_REGNUM", ")", ",", "insn", ")", ")", "return", "\"LR is used inside loop.\"", ";", "return", "NULL", ";", "}", ""], "natrual_language": ["NULL", "if", "insn", "INSN", "is", "valid", "within", "a", "low-overhead", "loop", ".", "Otherwise", "return", "why", "doloop", "can", "not", "be", "applied", "."], "TS_V_token": ["arm", "\"Function call in the loop.\"", "\"LR is used inside loop.\""], "File": "arm", "Func": "arm_invalid_within_doloop", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6200, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64ConditionalCompares", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** AArch64 Conditional Compares **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "SchedModel", "=", "MF", ".", "getSubtarget", "(", ")", ".", "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": ["AArch64", "AArch64", "\"********** AArch64 Conditional Compares **********\\n\"", "\"********** Function: \""], "File": "AArch64ConditionalCompares10", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6201, "Length": 172, "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", "{", "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", ")", ")", "{", "VT", "=", "LD", "->", "getMemoryVT", "(", ")", ";", "Ptr", "=", "LD", "->", "getBasePtr", "(", ")", ";", "isSEXTLoad", "=", "LD", "->", "getExtensionType", "(", ")", "==", "ISD", "::", "SEXTLOAD", ";", "}", "else", "if", "(", "StoreSDNode", "*", "ST", "=", "dyn_cast", "<", "StoreSDNode", ">", "(", "N", ")", ")", "{", "VT", "=", "ST", "->", "getMemoryVT", "(", ")", ";", "Ptr", "=", "ST", "->", "getBasePtr", "(", ")", ";", "}", "else", "return", "false", ";", "bool", "isInc", ";", "bool", "isLegal", "=", "false", ";", "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::LOAD", "ISD::STORE", "ISD::SEXTLOAD", "ARM", "ISD::ADD", "ISD::POST_INC", "ISD::POST_DEC"], "File": "ARMISelLowering153", "Func": "getPostIndexedAddressParts", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6202, "Length": 305, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZTTIImpl", "::", "hasDivRemOp", "(", "Type", "*", "DataType", ",", "bool", "IsSigned", ")", "{", "EVT", "VT", "=", "TLI", "->", "getValueType", "(", "DL", ",", "DataType", ")", ";", "return", "(", "VT", ".", "isScalarInteger", "(", ")", "&&", "TLI", "->", "isTypeLegal", "(", "VT", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "has", "a", "unified", "operation", "to", "calculate", "division", "and", "remainder", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZTargetTransformInfo", "Func": "hasDivRemOp", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6203, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isProfitableToIfCvt", "(", "MachineBasicBlock", "&", ",", "unsigned", "TCycles", ",", "unsigned", "TExtra", ",", "MachineBasicBlock", "&", ",", "unsigned", "FCycles", ",", "unsigned", "FExtra", ",", "BranchProbability", "Probability", ")", "const", "{", "if", "(", "!", "TCycles", ")", "return", "false", ";", "const", "unsigned", "ScalingUpFactor", "=", "1024", ";", "unsigned", "TUnpredCost", "=", "Probability", ".", "scale", "(", "TCycles", "*", "ScalingUpFactor", ")", ";", "unsigned", "FUnpredCost", "=", "Probability", ".", "getCompl", "(", ")", ".", "scale", "(", "FCycles", "*", "ScalingUpFactor", ")", ";", "unsigned", "UnpredCost", "=", "TUnpredCost", "+", "FUnpredCost", ";", "UnpredCost", "+=", "1", "*", "ScalingUpFactor", ";", "UnpredCost", "+=", "Subtarget", ".", "getMispredictionPenalty", "(", ")", "*", "ScalingUpFactor", "/", "10", ";", "return", "(", "TCycles", "+", "FCycles", "+", "TExtra", "+", "FExtra", ")", "*", "ScalingUpFactor", "<=", "UnpredCost", ";", "}", ""], "natrual_language": ["Second", "variant", "of", "isProfitableToIfCvt", "."], "TS_V_token": ["ARM", "ARM", "1024", "1", "10"], "File": "ARMBaseInstrInfo103", "Func": "isProfitableToIfCvt", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6204, "Length": 111, "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", ":", "Known", "=", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "1", ")", ",", "Depth", "+", "1", ")", ";", "Known2", "=", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "0", ")", ",", "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": "SparcISelLowering (2)2", "Func": "computeKnownBitsForTargetNode", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6205, "Length": 121, "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": 6206, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMaskAndCmp0FoldingBeneficial", "(", "const", "Instruction", "&", "AndI", ")", "const", "override", "{", "ConstantInt", "*", "Mask", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "AndI", ".", "getOperand", "(", "1", ")", ")", ";", "return", "Mask", "&&", "Mask", "->", "getValue", "(", ")", ".", "isIntN", "(", "16", ")", ";", "}", ""], "natrual_language": ["Return", "if", "the", "target", "supports", "combining", "a", "chain", "like", ":"], "TS_V_token": ["SystemZ", "1", "16"], "File": "SystemZISelLowering18", "Func": "isMaskAndCmp0FoldingBeneficial", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6207, "Length": 43, "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": 6208, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "UPTTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "UPTPassConfig", "(", "*", "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": ["UPT", "UPT", "UPT"], "File": "UPTTargetMachine", "Func": "createPassConfig", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6209, "Length": 22, "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": 6210, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "isPredicable", "(", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "STI", ".", "hasLoadStoreOnCond", "(", ")", "&&", "getConditionalMove", "(", "Opcode", ")", ")", "return", "true", ";", "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": "SystemZInstrInfo74", "Func": "isPredicable", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6211, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "if", "(", "IDVal", "==", "\".word\"", ")", "return", "parseDirectiveWord", "(", "4", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".thumb\"", ")", "return", "parseDirectiveThumb", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".thumb_func\"", ")", "return", "parseDirectiveThumbFunc", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".code\"", ")", "return", "parseDirectiveCode", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".syntax\"", ")", "return", "parseDirectiveSyntax", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["ARM", "ARM", "\".word\"", "4", "\".thumb\"", "\".thumb_func\"", "\".code\"", "\".syntax\""], "File": "ARMAsmParser111", "Func": "ParseDirective", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6212, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "DestReg", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ")", "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", "]", ")", ";", "}", ""], "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": "PPCInstrInfo8", "Func": "loadRegFromStackSlot", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6213, "Length": 118, "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", ")", ".", "Default", "(", "-", "1u", ")", ";", "}", "else", "{", "Type", "=", "llvm", "::", "StringSwitch", "<", "unsigned", ">", "(", "Name", ")", ".", "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", "1u", "1u", "1u"], "File": "PPCAsmBackend10", "Func": "getFixupKind", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6214, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMem", "(", ")", "const", "override", "{", "return", "Kind", "==", "Memory", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["X86"], "File": "X86Operand (2)", "Func": "isMem", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6215, "Length": 13, "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", "(", ")", ";", "bool", "isFixed", "=", "MFI", ".", "isFixedObjectIndex", "(", "FI", ")", ";", "int64_t", "FrameOffset", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectOffset", "(", "FI", ")", ";", "if", "(", "!", "hasFP", "(", "MF", ")", ")", "{", "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::SX11", "VE::SX17", "VE::SX11"], "File": "VEFrameLowering2", "Func": "getFrameIndexReference", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6216, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "gimple", "*", "fold", "(", "gimple_folder", "&", "f", ")", "const", "OVERRIDE", "{", "poly_uint64", "nelts", "=", "TYPE_VECTOR_SUBPARTS", "(", "TREE_TYPE", "(", "f", ".", "lhs", ")", ")", ";", "poly_uint64", "base", "=", "m_base", "*", "exact_div", "(", "nelts", ",", "2", ")", ";", "vec_perm_builder", "builder", "(", "nelts", ",", "2", ",", "3", ")", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "3", ";", "++", "i", ")", "{", "builder", ".", "quick_push", "(", "base", "+", "i", ")", ";", "builder", ".", "quick_push", "(", "base", "+", "i", "+", "nelts", ")", ";", "}", "return", "fold_permute", "(", "f", ",", "builder", ")", ";", "}", ""], "natrual_language": ["Try", "to", "fold", "the", "call", ".", "Return", "the", "new", "statement", "on", "success", "and", "null", "on", "failure", "."], "TS_V_token": ["aarch64", "2", "2", "3", "0", "3"], "File": "aarch64-sve-builtins-base", "Func": "fold", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6217, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86TTIImpl", "::", "getGatherScatterOpCost", "(", "unsigned", "Opcode", ",", "Type", "*", "SrcVTy", ",", "Value", "*", "Ptr", ",", "bool", "VariableMask", ",", "unsigned", "Alignment", ",", "const", "Instruction", "*", "I", "=", "nullptr", ")", "{", "assert", "(", "SrcVTy", "->", "isVectorTy", "(", ")", "&&", "\"Unexpected data type for Gather/Scatter\"", ")", ";", "unsigned", "VF", "=", "cast", "<", "VectorType", ">", "(", "SrcVTy", ")", "->", "getNumElements", "(", ")", ";", "PointerType", "*", "PtrTy", "=", "dyn_cast", "<", "PointerType", ">", "(", "Ptr", "->", "getType", "(", ")", ")", ";", "if", "(", "!", "PtrTy", "&&", "Ptr", "->", "getType", "(", ")", "->", "isVectorTy", "(", ")", ")", "PtrTy", "=", "dyn_cast", "<", "PointerType", ">", "(", "cast", "<", "VectorType", ">", "(", "Ptr", "->", "getType", "(", ")", ")", "->", "getElementType", "(", ")", ")", ";", "assert", "(", "PtrTy", "&&", "\"Unexpected type for Ptr argument\"", ")", ";", "unsigned", "AddressSpace", "=", "PtrTy", "->", "getAddressSpace", "(", ")", ";", "bool", "Scalarize", "=", "false", ";", "if", "(", "(", "Opcode", "==", "Instruction", "::", "Load", "&&", "!", "isLegalMaskedGather", "(", "SrcVTy", ",", "MaybeAlign", "(", "Alignment", ")", ")", ")", "||", "(", "Opcode", "==", "Instruction", "::", "Store", "&&", "!", "isLegalMaskedScatter", "(", "SrcVTy", ",", "MaybeAlign", "(", "Alignment", ")", ")", ")", ")", "Scalarize", "=", "true", ";", "if", "(", "ST", "->", "hasAVX512", "(", ")", "&&", "(", "VF", "==", "2", "||", "(", "VF", "==", "4", "&&", "!", "ST", "->", "hasVLX", "(", ")", ")", ")", ")", "Scalarize", "=", "true", ";", "if", "(", "Scalarize", ")", "return", "getGSScalarCost", "(", "Opcode", ",", "SrcVTy", ",", "VariableMask", ",", "Alignment", ",", "AddressSpace", ")", ";", "return", "getGSVectorCost", "(", "Opcode", ",", "SrcVTy", ",", "Ptr", ",", "Alignment", ",", "AddressSpace", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "Gather", "/", "Scatter", "operation", "."], "TS_V_token": ["X86", "X86", "\"Unexpected data type for Gather/Scatter\"", "\"Unexpected type for Ptr argument\"", "2", "4"], "File": "X86TargetTransformInfo62", "Func": "getGatherScatterOpCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6218, "Length": 240, "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": 6219, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_reinterpret_float_as_int", "(", "rtx", "value", ",", "unsigned", "HOST_WIDE_INT", "*", "intval", ")", "{", "if", "(", "aarch64_float_const_zero_rtx_p", "(", "value", ")", ")", "{", "*", "intval", "=", "0", ";", "return", "true", ";", "}", "scalar_float_mode", "mode", ";", "if", "(", "!", "CONST_DOUBLE_P", "(", "value", ")", "||", "!", "is_a", "<", "scalar_float_mode", ">", "(", "GET_MODE", "(", "value", ")", ",", "&", "mode", ")", "||", "GET_MODE_BITSIZE", "(", "mode", ")", ">", "HOST_BITS_PER_WIDE_INT", "||", "GET_MODE_BITSIZE", "(", "mode", ")", ">", "GET_MODE_BITSIZE", "(", "DFmode", ")", ")", "return", "false", ";", "unsigned", "HOST_WIDE_INT", "ival", "=", "0", ";", "long", "res", "[", "2", "]", ";", "real_to_target", "(", "res", ",", "CONST_DOUBLE_REAL_VALUE", "(", "value", ")", ",", "REAL_MODE_FORMAT", "(", "mode", ")", ")", ";", "if", "(", "mode", "==", "DFmode", ")", "{", "int", "order", "=", "BYTES_BIG_ENDIAN", "?", "1", ":", "0", ";", "ival", "=", "zext_hwi", "(", "res", "[", "order", "]", ",", "32", ")", ";", "ival", "|=", "(", "zext_hwi", "(", "res", "[", "1", "-", "order", "]", ",", "32", ")", "<<", "32", ")", ";", "}", "else", "ival", "=", "zext_hwi", "(", "res", "[", "0", "]", ",", "32", ")", ";", "*", "intval", "=", "ival", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "the", "binary", "representation", "of", "floating", "point", "constant", "VALUE", "in", "INTVAL", ".", "If", "the", "value", "can", "not", "be", "converted", ",", "return", "false", "without", "setting", "INTVAL", ".", "The", "conversion", "is", "done", "in", "the", "given", "MODE", "."], "TS_V_token": ["aarch64", "0", "0", "2", "1", "0", "32", "1", "32", "32", "0", "32"], "File": "aarch641", "Func": "aarch64_reinterpret_float_as_int", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6220, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "CanLowerReturn", "(", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "LLVMContext", "&", "Context", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "Context", ")", ";", "return", "CCInfo", ".", "CheckReturn", "(", "Outs", ",", "RetCC_X86", ")", ";", "}", ""], "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": ["X86", "X86", "ISD::OutputArg", "16", "X86"], "File": "X86ISelLowering170", "Func": "CanLowerReturn", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6221, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SparcSubtarget", "*", "SparcTargetMachine", "::", "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", "<", "SparcSubtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "*", "this", ",", "this", "->", "is64Bit", ")", ";", "}", "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": ["Sparc", "Sparc", "Sparc", "\"target-cpu\"", "\"target-features\"", "\"use-soft-float\"", "\"use-soft-float\"", "\"true\"", "\"+soft-float\"", "\",+soft-float\"", "Sparc"], "File": "SparcTargetMachine16", "Func": "getSubtargetImpl", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6222, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "aarch64_comp_type_attributes", "(", "const_tree", "type1", ",", "const_tree", "type2", ")", "{", "if", "(", "lookup_attribute", "(", "\"aarch64_vector_pcs\"", ",", "TYPE_ATTRIBUTES", "(", "type1", ")", ")", "!=", "lookup_attribute", "(", "\"aarch64_vector_pcs\"", ",", "TYPE_ATTRIBUTES", "(", "type2", ")", ")", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Implement", "TARGET_COMP_TYPE_ATTRIBUTES"], "TS_V_token": ["aarch64", "\"aarch64_vector_pcs\"", "\"aarch64_vector_pcs\"", "0", "1"], "File": "aarch64", "Func": "aarch64_comp_type_attributes", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6223, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "xstormy16_interrupt_function_p", "(", ")", "{", "tree", "attributes", ";", "if", "(", "!", "cfun", ")", "return", "0", ";", "attributes", "=", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "current_function_decl", ")", ")", ";", "return", "lookup_attribute", "(", "\"interrupt\"", ",", "attributes", ")", "!=", "NULL_TREE", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "the", "function", "is", "an", "interrupt", "function", "."], "TS_V_token": ["stormy16", "0", "\"interrupt\""], "File": "stormy162", "Func": "xstormy16_interrupt_function_p", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6224, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "X86Subtarget", "::", "classifyLocalReference", "(", "const", "GlobalValue", "*", "GV", ")", "const", "{", "if", "(", "AllowTaggedGlobals", "&&", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Small", "&&", "!", "isa_and_nonnull", "<", "Function", ">", "(", "GV", ")", ")", "return", "X86II", "::", "MO_GOTPCREL", ";", "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", "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": "X86Subtarget3", "Func": "classifyLocalReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6225, "Length": 202, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "mode_from_flags", "(", "unsigned", "int", "f", ")", "{", "if", "(", "f", "&", "CC_FLAG_FP", ")", "return", "CC_Fmode", ";", "if", "(", "f", "&", "CC_FLAG_O", ")", "{", "if", "(", "f", "&", "CC_FLAG_C", ")", "return", "CCmode", ";", "else", "return", "CC_ZSOmode", ";", "}", "else", "if", "(", "f", "&", "CC_FLAG_C", ")", "return", "CC_ZSCmode", ";", "else", "return", "CC_ZSmode", ";", "}", ""], "natrual_language": ["Convert", "a", "set", "of", "flags", "to", "a", "CC_MODE", "that", "can", "implement", "it", "."], "TS_V_token": ["rx"], "File": "rx", "Func": "mode_from_flags", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6226, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTargetLowering", "::", "getByValTypeAlignment", "(", "Type", "*", "Ty", ",", "const", "DataLayout", "&", "DL", ")", "const", "{", "if", "(", "Subtarget", ".", "isDarwin", "(", ")", ")", "return", "4", ";", "unsigned", "Align", "=", "Subtarget", ".", "isPPC64", "(", ")", "?", "8", ":", "4", ";", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", "||", "Subtarget", ".", "hasQPX", "(", ")", ")", "getMaxByValAlign", "(", "Ty", ",", "Align", ",", "Subtarget", ".", "hasQPX", "(", ")", "?", "32", ":", "16", ")", ";", "return", "Align", ";", "}", ""], "natrual_language": ["Return", "the", "desired", "alignment", "for", "ByVal", "aggregate", "function", "arguments", "in", "the", "caller", "parameter", "area", "."], "TS_V_token": ["PowerPC", "PPC", "4", "PPC", "8", "4", "32", "16"], "File": "PPCISelLowering (2)2", "Func": "getByValTypeAlignment", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6227, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_sve_adjust_stmt_cost", "(", "vect_cost_for_stmt", "kind", ",", "stmt_vec_info", "stmt_info", ",", "tree", "vectype", ",", "unsigned", "int", "stmt_cost", ")", "{", "if", "(", "kind", "==", "vector_stmt", "&&", "aarch64_extending_load_p", "(", "stmt_info", ")", ")", "stmt_cost", "=", "0", ";", "if", "(", "kind", "==", "vector_stmt", "&&", "aarch64_integer_truncation_p", "(", "stmt_info", ")", ")", "stmt_cost", "=", "0", ";", "if", "(", "STMT_VINFO_GROUPED_ACCESS", "(", "stmt_info", ")", ")", "{", "stmt_vec_info", "first", "=", "DR_GROUP_FIRST_ELEMENT", "(", "stmt_info", ")", ";", "unsigned", "int", "count", "=", "DR_GROUP_SIZE", "(", "first", ")", "-", "DR_GROUP_GAP", "(", "first", ")", ";", "unsigned", "int", "elt_bits", "=", "GET_MODE_UNIT_BITSIZE", "(", "TYPE_MODE", "(", "vectype", ")", ")", ";", "if", "(", "multiple_p", "(", "count", "*", "elt_bits", ",", "256", ")", "&&", "aarch64_advsimd_ldp_stp_p", "(", "kind", ",", "stmt_info", ")", ")", "stmt_cost", "*=", "2", ";", "}", "return", "stmt_cost", ";", "}", ""], "natrual_language": ["STMT_COST", "is", "the", "cost", "calculated", "by", "aarch64_builtin_vectorization_cost", "for", "STMT_INFO", ",", "which", "has", "cost", "kind", "KIND", "and", "which", "when", "vectorized", "would", "operate", "on", "vector", "type", "VECTYPE", ".", "Adjust", "the", "cost", "as", "necessary", "for", "SVE", "targets", "."], "TS_V_token": ["aarch64", "0", "0", "256", "2"], "File": "aarch64", "Func": "aarch64_sve_adjust_stmt_cost", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6228, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CAHPInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DstReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "!", "CAHP", "::", "GPRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "llvm_unreachable", "(", "\"Can't load this register from stack slot\"", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "CAHP", "::", "LW", ")", ",", "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": ["CAHP", "CAHP", "CAHP::GPRRegClass", "\"Can't load this register from stack slot\"", "CAHP::LW", "0"], "File": "CAHPInstrInfo", "Func": "loadRegFromStackSlot", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6229, "Length": 99, "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", "(", "cast", "<", "FixedVectorType", ">", "(", "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": "X86InterleavedAccess1", "Func": "lowerInterleavedStore", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6230, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "find_constant", "(", "rtx", "in_rtx", ",", "imm_info", "*", "imm_values", ")", "{", "if", "(", "INSN_P", "(", "in_rtx", ")", ")", "in_rtx", "=", "PATTERN", "(", "in_rtx", ")", ";", "subrtx_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX", "(", "iter", ",", "array", ",", "in_rtx", ",", "ALL", ")", "if", "(", "const_rtx", "x", "=", "*", "iter", ")", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "CONST", ":", "case", "SYMBOL_REF", ":", "case", "CONST_INT", ":", "(", "imm_values", "->", "imm", ")", "++", ";", "if", "(", "x86_64_immediate_operand", "(", "CONST_CAST_RTX", "(", "x", ")", ",", "SImode", ")", ")", "(", "imm_values", "->", "imm32", ")", "++", ";", "else", "(", "imm_values", "->", "imm64", ")", "++", ";", "break", ";", "case", "CONST_DOUBLE", ":", "case", "CONST_WIDE_INT", ":", "(", "imm_values", "->", "imm", ")", "++", ";", "(", "imm_values", "->", "imm64", ")", "++", ";", "break", ";", "case", "CODE_LABEL", ":", "if", "(", "LABEL_KIND", "(", "x", ")", "==", "LABEL_NORMAL", ")", "{", "(", "imm_values", "->", "imm", ")", "++", ";", "(", "imm_values", "->", "imm32", ")", "++", ";", "}", "break", ";", "default", ":", "break", ";", "}", "}", ""], "natrual_language": ["Compute", "number", "of", "immediate", "operands", "of", "an", "instruction", "."], "TS_V_token": ["i386"], "File": "i3865", "Func": "find_constant", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6231, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CJGInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "O", ",", "unsigned", "RegNo", ")", "const", "{", "O", "<<", "StringRef", "(", "getRegisterName", "(", "RegNo", ")", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["CJG", "CJG"], "File": "CJGInstPrinter", "Func": "printRegName", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6232, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LC2200AsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ")", "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": ["LC2200", "LC2200", "0"], "File": "LC2200AsmBackend", "Func": "writeNopData", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6233, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "getReturnSaveOffset", "(", "bool", "LP64", ",", "bool", "isMacho", ")", "{", "if", "(", "isMacho", ")", "return", "LP64", "?", "16", ":", "8", ";", "return", "4", ";", "}", ""], "natrual_language": ["getReturnSaveOffset", "-", "Return", "the", "previous", "frame", "offset", "to", "save", "the", "return", "address", "."], "TS_V_token": ["PowerPC", "16", "8", "4"], "File": "PPCFrameInfo", "Func": "getReturnSaveOffset", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6234, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "loongarch_option_override", "(", "void", ")", "{", "loongarch_option_override_internal", "(", "&", "global_options", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_OVERRIDE", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_option_override", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6235, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "SparcFrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "FrameReg", ")", "const", "{", "const", "SparcSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "SparcSubtarget", ">", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "SparcRegisterInfo", "*", "RegInfo", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "const", "SparcMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "SparcMachineFunctionInfo", ">", "(", ")", ";", "bool", "isFixed", "=", "MFI", ".", "isFixedObjectIndex", "(", "FI", ")", ";", "bool", "UseFP", ";", "if", "(", "FuncInfo", "->", "isLeafProc", "(", ")", ")", "{", "UseFP", "=", "false", ";", "}", "else", "if", "(", "isFixed", ")", "{", "UseFP", "=", "true", ";", "}", "else", "if", "(", "RegInfo", "->", "needsStackRealignment", "(", "MF", ")", ")", "{", "UseFP", "=", "false", ";", "}", "else", "{", "UseFP", "=", "true", ";", "}", "int64_t", "FrameOffset", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectOffset", "(", "FI", ")", "+", "Subtarget", ".", "getStackPointerBias", "(", ")", ";", "if", "(", "UseFP", ")", "{", "FrameReg", "=", "RegInfo", "->", "getFrameRegister", "(", "MF", ")", ";", "return", "FrameOffset", ";", "}", "else", "{", "FrameReg", "=", "SP", "::", "O6", ";", "return", "FrameOffset", "+", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ";", "}", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "SP::O6"], "File": "SparcFrameLowering (2)1", "Func": "getFrameIndexReference", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6236, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "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": "mips4", "Func": "mips_modes_tieable_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6237, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "pad_groups", "(", "FILE", "*", "dump", ",", "int", "sched_verbose", ",", "rtx_insn", "*", "prev_head_insn", ",", "rtx_insn", "*", "tail", ")", "{", "rtx_insn", "*", "insn", ",", "*", "next_insn", ";", "rtx", "nop", ";", "int", "issue_rate", ";", "int", "can_issue_more", ";", "int", "group_end", ";", "int", "group_count", "=", "0", ";", "issue_rate", "=", "rs6000_issue_rate", "(", ")", ";", "can_issue_more", "=", "issue_rate", ";", "insn", "=", "get_next_active_insn", "(", "prev_head_insn", ",", "tail", ")", ";", "next_insn", "=", "get_next_active_insn", "(", "insn", ",", "tail", ")", ";", "while", "(", "insn", "!=", "NULL_RTX", ")", "{", "can_issue_more", "=", "rs6000_variable_issue", "(", "dump", ",", "sched_verbose", ",", "insn", ",", "can_issue_more", ")", ";", "group_end", "=", "(", "next_insn", "==", "NULL_RTX", "||", "GET_MODE", "(", "next_insn", ")", "==", "TImode", ")", ";", "if", "(", "next_insn", "==", "NULL_RTX", ")", "break", ";", "if", "(", "group_end", ")", "{", "if", "(", "can_issue_more", "&&", "(", "rs6000_sched_insert_nops", "==", "sched_finish_pad_groups", ")", "&&", "!", "insn_terminates_group_p", "(", "insn", ",", "current_group", ")", "&&", "!", "insn_terminates_group_p", "(", "next_insn", ",", "previous_group", ")", ")", "{", "if", "(", "!", "is_branch_slot_insn", "(", "next_insn", ")", ")", "can_issue_more", "--", ";", "while", "(", "can_issue_more", ")", "{", "nop", "=", "gen_nop", "(", ")", ";", "emit_insn_before", "(", "nop", ",", "next_insn", ")", ";", "can_issue_more", "--", ";", "}", "}", "can_issue_more", "=", "issue_rate", ";", "group_count", "++", ";", "}", "insn", "=", "next_insn", ";", "next_insn", "=", "get_next_active_insn", "(", "insn", ",", "tail", ")", ";", "}", "return", "group_count", ";", "}", ""], "natrual_language": ["Scan", "the", "insn", "sequence", "between", "PREV_HEAD_INSN", "and", "TAIL", "and", "examine", "the", "dispatch", "group", "boundaries", "that", "the", "scheduler", "had", "marked", ".", "Pad", "with", "nops", "any", "dispatch", "groups", "which", "have", "vacant", "issue", "slots", ",", "in", "order", "to", "force", "the", "scheduler", "'s", "grouping", "on", "the", "processor", "dispatcher", ".", "The", "function", "returns", "the", "number", "of", "dispatch", "groups", "found", "."], "TS_V_token": ["rs6000", "0"], "File": "rs6000", "Func": "pad_groups", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6238, "Length": 207, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "isDataInvariant", "(", "MachineInstr", "&", "MI", ")", "{", "if", "(", "MI", ".", "mayLoad", "(", ")", "||", "MI", ".", "mayStore", "(", ")", ")", "return", "false", ";", "if", "(", "MI", ".", "isCopyLike", "(", ")", "||", "MI", ".", "isInsertSubreg", "(", ")", ")", "return", "true", ";", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "using", "namespace", "X86", ";", "if", "(", "isIMUL", "(", "Opcode", ")", ")", "return", "true", ";", "if", "(", "isBSF", "(", "Opcode", ")", "||", "isBSR", "(", "Opcode", ")", "||", "isLZCNT", "(", "Opcode", ")", "||", "isPOPCNT", "(", "Opcode", ")", "||", "isTZCNT", "(", "Opcode", ")", ")", "return", "true", ";", "if", "(", "isBLCFILL", "(", "Opcode", ")", "||", "isBLCI", "(", "Opcode", ")", "||", "isBLCIC", "(", "Opcode", ")", "||", "isBLCMSK", "(", "Opcode", ")", "||", "isBLCS", "(", "Opcode", ")", "||", "isBLSFILL", "(", "Opcode", ")", "||", "isBLSI", "(", "Opcode", ")", "||", "isBLSIC", "(", "Opcode", ")", "||", "isBLSMSK", "(", "Opcode", ")", "||", "isBLSR", "(", "Opcode", ")", "||", "isTZMSK", "(", "Opcode", ")", ")", "return", "true", ";", "if", "(", "isBEXTR", "(", "Opcode", ")", "||", "isBZHI", "(", "Opcode", ")", ")", "return", "true", ";", "if", "(", "isROL", "(", "Opcode", ")", "||", "isROR", "(", "Opcode", ")", "||", "isSAR", "(", "Opcode", ")", "||", "isSHL", "(", "Opcode", ")", "||", "isSHR", "(", "Opcode", ")", "||", "isSHLD", "(", "Opcode", ")", "||", "isSHRD", "(", "Opcode", ")", ")", "return", "true", ";", "if", "(", "isADC", "(", "Opcode", ")", "||", "isADD", "(", "Opcode", ")", "||", "isAND", "(", "Opcode", ")", "||", "isOR", "(", "Opcode", ")", "||", "isSBB", "(", "Opcode", ")", "||", "isSUB", "(", "Opcode", ")", "||", "isXOR", "(", "Opcode", ")", ")", "return", "true", ";", "if", "(", "isADCX", "(", "Opcode", ")", "||", "isADOX", "(", "Opcode", ")", "||", "isANDN", "(", "Opcode", ")", ")", "return", "true", ";", "if", "(", "isDEC", "(", "Opcode", ")", "||", "isINC", "(", "Opcode", ")", "||", "isNEG", "(", "Opcode", ")", ")", "return", "true", ";", "if", "(", "isNOT", "(", "Opcode", ")", ")", "return", "true", ";", "if", "(", "isMOVSX", "(", "Opcode", ")", "||", "isMOVZX", "(", "Opcode", ")", "||", "isMOVSXD", "(", "Opcode", ")", "||", "isMOV", "(", "Opcode", ")", ")", "return", "true", ";", "if", "(", "isRORX", "(", "Opcode", ")", "||", "isSARX", "(", "Opcode", ")", "||", "isSHLX", "(", "Opcode", ")", "||", "isSHRX", "(", "Opcode", ")", ")", "return", "true", ";", "if", "(", "isLEA", "(", "Opcode", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "instruction", "has", "no", "behavior", "(", "specified", "or", "otherwise", ")", "that", "is", "based", "on", "the", "value", "of", "any", "of", "its", "register", "operands", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86InstrInfo64", "Func": "isDataInvariant", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6239, "Length": 366, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZMCAsmBackend", "::", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "for", "(", "uint64_t", "I", "=", "0", ";", "I", "!=", "Count", ";", "++", "I", ")", "OW", "->", "Write8", "(", "7", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "7"], "File": "SystemZMCAsmBackend13", "Func": "writeNopData", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6240, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "pru_byterange", "pru_calc_byterange", "(", "HOST_WIDE_INT", "cval", ",", "machine_mode", "mode", ")", "{", "const", "pru_byterange", "invalid_range", "=", "{", "-", "1", ",", "-", "1", "}", ";", "pru_byterange", "r", "=", "invalid_range", ";", "enum", "{", "ST_FFS", ",", "ST_INRANGE", ",", "ST_TRAILING_ZEROS", "}", "st", "=", "ST_FFS", ";", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "GET_MODE_SIZE", "(", "mode", ")", ";", "i", "++", ")", "{", "const", "int", "b", "=", "cval", "&", "(", "(", "1U", "<<", "BITS_PER_UNIT", ")", "-", "1", ")", ";", "cval", ">>=", "BITS_PER_UNIT", ";", "if", "(", "b", "==", "0x00", "&&", "(", "st", "==", "ST_FFS", "||", "st", "==", "ST_TRAILING_ZEROS", ")", ")", ";", "else", "if", "(", "b", "==", "0x00", "&&", "st", "==", "ST_INRANGE", ")", "st", "=", "ST_TRAILING_ZEROS", ";", "else", "if", "(", "b", "==", "0xff", "&&", "st", "==", "ST_FFS", ")", "{", "st", "=", "ST_INRANGE", ";", "r", ".", "start", "=", "i", ";", "r", ".", "nbytes", "=", "1", ";", "}", "else", "if", "(", "b", "==", "0xff", "&&", "st", "==", "ST_INRANGE", ")", "r", ".", "nbytes", "++", ";", "else", "return", "invalid_range", ";", "}", "if", "(", "st", "!=", "ST_TRAILING_ZEROS", "&&", "st", "!=", "ST_INRANGE", ")", "return", "invalid_range", ";", "return", "r", ";", "}", ""], "natrual_language": ["Parse", "the", "given", "CVAL", "integer", "value", ",", "and", "extract", "the", "``", "filling", "''", "byte", "range", "of", "consecutive", "0xff", "byte", "values", ".", "Rest", "of", "bytes", "must", "be", "0x00", ".", "There", "must", "be", "only", "one", "range", "in", "the", "given", "value", ".", "This", "range", "would", "typically", "be", "used", "to", "calculate", "the", "parameters", "of", "PRU", "instructions", "ZERO", "and", "FILL", ".", "The", "parameter", "MODE", "determines", "the", "maximum", "byte", "range", "to", "consider", "in", "the", "given", "input", "constant", ".", "Example", "input", ":", "cval", "=", "0xffffffffffffff00", "=", "-256", "mode", "=", "SImode", "Return", "value", ":", "start", "=", "1", "nbytes", "=", "3", "On", "error", ",", "return", "a", "range", "with", "-1", "for", "START", "and", "NBYTES", "."], "TS_V_token": ["pru", "1", "1", "0", "1U", "1", "0x00", "0x00", "0xff", "1", "0xff"], "File": "pru1", "Func": "pru_calc_byterange", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6241, "Length": 178, "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": 6242, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_output_function_prologue", "(", "FILE", "*", "f", ",", "HOST_WIDE_INT", "frame_size", ")", "{", "unsigned", "long", "func_type", ";", "if", "(", "TARGET_THUMB1", ")", "return", ";", "gcc_assert", "(", "!", "arm_ccfsm_state", "&&", "!", "arm_target_insn", ")", ";", "func_type", "=", "arm_current_func_type", "(", ")", ";", "switch", "(", "(", "int", ")", "ARM_FUNC_TYPE", "(", "func_type", ")", ")", "{", "default", ":", "case", "ARM_FT_NORMAL", ":", "break", ";", "case", "ARM_FT_INTERWORKED", ":", "asm_fprintf", "(", "f", ",", "\"\\t%@ Function supports interworking.\\n\"", ")", ";", "break", ";", "case", "ARM_FT_ISR", ":", "asm_fprintf", "(", "f", ",", "\"\\t%@ Interrupt Service Routine.\\n\"", ")", ";", "break", ";", "case", "ARM_FT_FIQ", ":", "asm_fprintf", "(", "f", ",", "\"\\t%@ Fast Interrupt Service Routine.\\n\"", ")", ";", "break", ";", "case", "ARM_FT_EXCEPTION", ":", "asm_fprintf", "(", "f", ",", "\"\\t%@ ARM Exception Handler.\\n\"", ")", ";", "break", ";", "}", "if", "(", "IS_NAKED", "(", "func_type", ")", ")", "asm_fprintf", "(", "f", ",", "\"\\t%@ Naked Function: prologue and epilogue provided by programmer.\\n\"", ")", ";", "if", "(", "IS_VOLATILE", "(", "func_type", ")", ")", "asm_fprintf", "(", "f", ",", "\"\\t%@ Volatile: function does not return.\\n\"", ")", ";", "if", "(", "IS_NESTED", "(", "func_type", ")", ")", "asm_fprintf", "(", "f", ",", "\"\\t%@ Nested: function declared inside another function.\\n\"", ")", ";", "if", "(", "IS_STACKALIGN", "(", "func_type", ")", ")", "asm_fprintf", "(", "f", ",", "\"\\t%@ Stack Align: May be called with mis-aligned SP.\\n\"", ")", ";", "asm_fprintf", "(", "f", ",", "\"\\t%@ args = %d, pretend = %d, frame = %wd\\n\"", ",", "crtl", "->", "args", ".", "size", ",", "crtl", "->", "args", ".", "pretend_args_size", ",", "frame_size", ")", ";", "asm_fprintf", "(", "f", ",", "\"\\t%@ frame_needed = %d, uses_anonymous_args = %d\\n\"", ",", "frame_pointer_needed", ",", "cfun", "->", "machine", "->", "uses_anonymous_args", ")", ";", "if", "(", "cfun", "->", "machine", "->", "lr_save_eliminated", ")", "asm_fprintf", "(", "f", ",", "\"\\t%@ link register save eliminated.\\n\"", ")", ";", "if", "(", "crtl", "->", "calls_eh_return", ")", "asm_fprintf", "(", "f", ",", "\"\\t@ Calls __builtin_eh_return.\\n\"", ")", ";", "}", ""], "natrual_language": ["Place", "some", "comments", "into", "the", "assembler", "stream", "describing", "the", "current", "function", "."], "TS_V_token": ["arm", "\"\\t%@ Function supports interworking.\\n\"", "\"\\t%@ Interrupt Service Routine.\\n\"", "\"\\t%@ Fast Interrupt Service Routine.\\n\"", "\"\\t%@ ARM Exception Handler.\\n\"", "\"\\t%@ Naked Function: prologue and epilogue provided by programmer.\\n\"", "\"\\t%@ Volatile: function does not return.\\n\"", "\"\\t%@ Nested: function declared inside another function.\\n\"", "\"\\t%@ Stack Align: May be called with mis-aligned SP.\\n\"", "\"\\t%@ args = %d, pretend = %d, frame = %wd\\n\"", "\"\\t%@ frame_needed = %d, uses_anonymous_args = %d\\n\"", "\"\\t%@ link register save eliminated.\\n\"", "\"\\t@ Calls __builtin_eh_return.\\n\""], "File": "arm4", "Func": "arm_output_function_prologue", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6243, "Length": 225, "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": 6244, "Length": 421, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 WinAlloca Expander\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 WinAlloca Expander\""], "File": "X86WinAllocaExpander", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6245, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb1RegisterInfo", "::", "resolveFrameIndex", "(", "MachineInstr", "&", "MI", ",", "unsigned", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "const", "ARMBaseInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getTarget", "(", ")", ".", "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", "0", "\"Instr doesn't have FrameIndex operand!\"", "\"Unable to resolve frame index!\""], "File": "Thumb1RegisterInfo1", "Func": "resolveFrameIndex", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6246, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_function_value_regno_p", "(", "const", "unsigned", "int", "regno", ")", "{", "return", "(", "(", "regno", ")", "==", "FIRST_RET_REG", "||", "(", "TARGET_SH2E", "&&", "(", "regno", ")", "==", "FIRST_FP_RET_REG", ")", "||", "(", "TARGET_SHMEDIA_FPU", "&&", "(", "regno", ")", "==", "FIRST_FP_RET_REG", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "N", "is", "a", "possible", "register", "number", "of", "function", "value", "."], "TS_V_token": ["sh"], "File": "sh4", "Func": "sh_function_value_regno_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6247, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createARMISelDag", "(", "getARMTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "if", "(", "Triple", "(", "TM", "->", "getTargetTriple", "(", ")", ")", ".", "isOSBinFormatELF", "(", ")", "&&", "TM", "->", "Options", ".", "EnableFastISel", ")", "addPass", "(", "createARMGlobalBaseRegPass", "(", ")", ")", ";", "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", "ARM", "ARM"], "File": "ARMTargetMachine29", "Func": "addInstSelector", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6248, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CAHPInstrInfo", "::", "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", "(", "!", "CAHP", "::", "GPRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "llvm_unreachable", "(", "\"Can't store this register to stack slot\"", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "CAHP", "::", "SW", ")", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["CAHP", "CAHP", "CAHP::GPRRegClass", "\"Can't store this register to stack slot\"", "CAHP::SW", "0"], "File": "CAHPInstrInfo", "Func": "storeRegToStackSlot", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6249, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiInstrInfo", "::", "getMemOperandWithOffsetWidth", "(", "const", "MachineInstr", "&", "LdSt", ",", "const", "MachineOperand", "*", "&", "BaseOp", ",", "int64_t", "&", "Offset", ",", "unsigned", "&", "Width", ",", "const", "TargetRegisterInfo", "*", ")", "const", "{", "if", "(", "LdSt", ".", "getNumOperands", "(", ")", "!=", "4", ")", "return", "false", ";", "if", "(", "!", "LdSt", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "||", "!", "LdSt", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", "||", "!", "(", "LdSt", ".", "getOperand", "(", "3", ")", ".", "isImm", "(", ")", "&&", "LdSt", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "==", "LPAC", "::", "ADD", ")", ")", "return", "false", ";", "switch", "(", "LdSt", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Lanai", "::", "LDW_RI", ":", "case", "Lanai", "::", "LDW_RR", ":", "case", "Lanai", "::", "SW_RR", ":", "case", "Lanai", "::", "SW_RI", ":", "Width", "=", "4", ";", "break", ";", "case", "Lanai", "::", "LDHs_RI", ":", "case", "Lanai", "::", "LDHz_RI", ":", "case", "Lanai", "::", "STH_RI", ":", "Width", "=", "2", ";", "break", ";", "case", "Lanai", "::", "LDBs_RI", ":", "case", "Lanai", "::", "LDBz_RI", ":", "case", "Lanai", "::", "STB_RI", ":", "Width", "=", "1", ";", "break", ";", "}", "BaseOp", "=", "&", "LdSt", ".", "getOperand", "(", "1", ")", ";", "Offset", "=", "LdSt", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "if", "(", "!", "BaseOp", "->", "isReg", "(", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "get", "the", "base", "operand", ",", "byte", "offset", "of", "an", "instruction", "and", "the", "memory", "width", "."], "TS_V_token": ["Lanai", "Lanai", "4", "1", "2", "3", "3", "Lanai::LDW_RI", "Lanai::LDW_RR", "Lanai::SW_RR", "Lanai::SW_RI", "4", "Lanai::LDHs_RI", "Lanai::LDHz_RI", "Lanai::STH_RI", "2", "Lanai::LDBs_RI", "Lanai::LDBz_RI", "Lanai::STB_RI", "1", "1", "2"], "File": "LanaiInstrInfo1", "Func": "getMemOperandWithOffsetWidth", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6250, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createThumb2SizeReductionPass", "(", ")", ")", ";", "if", "(", "getARMSubtarget", "(", ")", ".", "isThumb2", "(", ")", ")", "addPass", "(", "&", "UnpackMachineBundlesID", ")", ";", "addPass", "(", "createARMOptimizeBarriersPass", "(", ")", ")", ";", "if", "(", "getARMSubtarget", "(", ")", ".", "useConstIslands", "(", ")", ")", "addPass", "(", "createARMConstantIslandPass", "(", ")", ")", ";", "if", "(", "getARMSubtarget", "(", ")", ".", "isTargetNaCl", "(", ")", ")", "{", "addPass", "(", "createARMNaClRewritePass", "(", ")", ")", ";", "}", "}", ""], "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", "ARM", "ARM", "ARM", "ARM", "ARM"], "File": "ARMTargetMachine90", "Func": "addPreEmitPass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6251, "Length": 74, "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": 6252, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCRegisterInfo", "::", "materializeFrameBaseRegister", "(", "MachineBasicBlock", "*", "MBB", ",", "unsigned", "BaseReg", ",", "int", "FrameIdx", ",", "int64_t", "Offset", ")", "const", "{", "unsigned", "ADDriOpc", "=", "Subtarget", ".", "isPPC64", "(", ")", "?", "PPC", "::", "ADDI8", ":", "PPC", "::", "ADDI", ";", "MachineBasicBlock", "::", "iterator", "Ins", "=", "MBB", "->", "begin", "(", ")", ";", "DebugLoc", "DL", ";", "if", "(", "Ins", "!=", "MBB", "->", "end", "(", ")", ")", "DL", "=", "Ins", "->", "getDebugLoc", "(", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", "->", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "TII", ".", "get", "(", "ADDriOpc", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MBB", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MRI", ".", "constrainRegClass", "(", "BaseReg", ",", "TII", ".", "getRegClass", "(", "MCID", ",", "0", ",", "this", ",", "MF", ")", ")", ";", "BuildMI", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "MCID", ",", "BaseReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "Offset", ")", ";", "}", ""], "natrual_language": ["Insert", "defining", "instruction", "(", "s", ")", "for", "a", "pointer", "to", "FrameIdx", "before", "insertion", "point", "I", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::ADDI8", "PPC::ADDI", "0"], "File": "PPCRegisterInfo (2)", "Func": "materializeFrameBaseRegister", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6253, "Length": 168, "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", "NumOps", "=", "Inst", ".", "getNumOperands", "(", ")", ";", "if", "(", "isBranch", "(", "Inst", ")", "||", "Inst", ".", "getOpcode", "(", ")", "==", "LoongArch", "::", "BL", ")", "{", "Target", "=", "Addr", "+", "Inst", ".", "getOperand", "(", "NumOps", "-", "1", ")", ".", "getImm", "(", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Given", "a", "branch", "instruction", "try", "to", "get", "the", "address", "the", "branch", "targets", "."], "TS_V_token": ["LoongArch", "LoongArch::BL", "1"], "File": "LoongArchMCTargetDesc", "Func": "evaluateBranch", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6254, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "quad_load_store_p", "(", "rtx", "op0", ",", "rtx", "op1", ")", "{", "bool", "ret", ";", "if", "(", "!", "TARGET_QUAD_MEMORY", ")", "ret", "=", "false", ";", "else", "if", "(", "REG_P", "(", "op0", ")", "&&", "MEM_P", "(", "op1", ")", ")", "ret", "=", "(", "quad_int_reg_operand", "(", "op0", ",", "GET_MODE", "(", "op0", ")", ")", "&&", "quad_memory_operand", "(", "op1", ",", "GET_MODE", "(", "op1", ")", ")", "&&", "!", "reg_overlap_mentioned_p", "(", "op0", ",", "op1", ")", ")", ";", "else", "if", "(", "MEM_P", "(", "op0", ")", "&&", "REG_P", "(", "op1", ")", ")", "ret", "=", "(", "quad_memory_operand", "(", "op0", ",", "GET_MODE", "(", "op0", ")", ")", "&&", "quad_int_reg_operand", "(", "op1", ",", "GET_MODE", "(", "op1", ")", ")", ")", ";", "else", "ret", "=", "false", ";", "if", "(", "TARGET_DEBUG_ADDR", ")", "{", "fprintf", "(", "stderr", ",", "\"\\n========== quad_load_store, return %s\\n\"", ",", "ret", "?", "\"true\"", ":", "\"false\"", ")", ";", "debug_rtx", "(", "gen_rtx_SET", "(", "op0", ",", "op1", ")", ")", ";", "}", "return", "ret", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "is", "a", "load", "or", "store", "quad", "operation", ".", "This", "function", "does", "not", "handle", "the", "atomic", "quad", "memory", "instructions", "."], "TS_V_token": ["powerpcspe", "\"\\n========== quad_load_store, return %s\\n\"", "\"true\"", "\"false\""], "File": "powerpcspe", "Func": "quad_load_store_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6255, "Length": 142, "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": 6256, "Length": 244, "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": 6257, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SystemZInstrInfo", "::", "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", "(", "!", "I", "->", "isBranch", "(", ")", ")", "break", ";", "if", "(", "!", "getBranchInfo", "(", "*", "I", ")", ".", "Target", "->", "isMBB", "(", ")", ")", "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": ["SystemZ", "SystemZ", "\"code size not handled\"", "0"], "File": "SystemZInstrInfo15", "Func": "removeBranch", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6258, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "unsigned", ">", "VRegs", ")", "const", "{", "auto", "&", "Args", "=", "F", ".", "getArgumentList", "(", ")", ";", "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", ":", "Args", ")", "{", "ArgInfo", "OrigArg", "{", "VRegs", "[", "i", "]", ",", "Arg", ".", "getType", "(", ")", "}", ";", "setArgFlags", "(", "OrigArg", ",", "i", "+", "1", ",", "DL", ",", "F", ")", ";", "splitToValueTypes", "(", "OrigArg", ",", "SplitArgs", ",", "DL", ",", "MRI", ",", "[", "&", "]", "(", "ArrayRef", "<", "unsigned", ">", "Regs", ",", "ArrayRef", "<", "uint64_t", ">", "Offsets", ")", "{", "MIRBuilder", ".", "buildSequence", "(", "VRegs", "[", "i", "]", ",", "Regs", ",", "Offsets", ")", ";", "}", ")", ";", "++", "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", ")", ")", ";", "}", "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", "1", "AArch64", "AArch64", "AArch64", "8", "AArch64", "AArch64", "4"], "File": "AArch64CallLowering33", "Func": "lowerFormalArguments", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6259, "Length": 347, "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": 6260, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isLdStPairSuppressed", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "return", "llvm", "::", "any_of", "(", "MI", ".", "memoperands", "(", ")", ",", "[", "]", "(", "MachineMemOperand", "*", "MMO", ")", "{", "return", "MMO", "->", "getFlags", "(", ")", "&", "MOSuppressPair", ";", "}", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "pairing", "the", "given", "load", "or", "store", "is", "hinted", "to", "be", "unprofitable", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64InstrInfo (2)", "Func": "isLdStPairSuppressed", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6261, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "AArch64TargetLowering", "::", "getOptimalMemOpType", "(", "const", "MemOp", "&", "Op", ",", "const", "AttributeList", "&", "FuncAttributes", ")", "const", "{", "bool", "CanImplicitFloat", "=", "!", "FuncAttributes", ".", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ";", "bool", "CanUseNEON", "=", "Subtarget", "->", "hasNEON", "(", ")", "&&", "CanImplicitFloat", ";", "bool", "CanUseFP", "=", "Subtarget", "->", "hasFPARMv8", "(", ")", "&&", "CanImplicitFloat", ";", "bool", "IsSmallMemset", "=", "Op", ".", "isMemset", "(", ")", "&&", "Op", ".", "size", "(", ")", "<", "32", ";", "auto", "AlignmentIsAcceptable", "=", "[", "&", "]", "(", "EVT", "VT", ",", "Align", "AlignCheck", ")", "{", "if", "(", "Op", ".", "isAligned", "(", "AlignCheck", ")", ")", "return", "true", ";", "bool", "Fast", ";", "return", "allowsMisalignedMemoryAccesses", "(", "VT", ",", "0", ",", "Align", "(", "1", ")", ",", "MachineMemOperand", "::", "MONone", ",", "&", "Fast", ")", "&&", "Fast", ";", "}", ";", "if", "(", "CanUseNEON", "&&", "Op", ".", "isMemset", "(", ")", "&&", "!", "IsSmallMemset", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "v2i64", ",", "Align", "(", "16", ")", ")", ")", "return", "MVT", "::", "v2i64", ";", "if", "(", "CanUseFP", "&&", "!", "IsSmallMemset", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "f128", ",", "Align", "(", "16", ")", ")", ")", "return", "MVT", "::", "f128", ";", "if", "(", "Op", ".", "size", "(", ")", ">=", "8", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "i64", ",", "Align", "(", "8", ")", ")", ")", "return", "MVT", "::", "i64", ";", "if", "(", "Op", ".", "size", "(", ")", ">=", "4", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "i32", ",", "Align", "(", "4", ")", ")", ")", "return", "MVT", "::", "i32", ";", "return", "MVT", "::", "Other", ";", "}", ""], "natrual_language": ["It", "returns", "EVT", ":", ":Other", "if", "the", "type", "should", "be", "determined", "using", "generic", "target-independent", "logic", "."], "TS_V_token": ["AArch64", "AArch64", "32", "0", "1", "MVT::v2i64", "16", "MVT::v2i64", "MVT::f128", "16", "MVT::f128", "8", "MVT::i64", "8", "MVT::i64", "4", "MVT::i32", "4", "MVT::i32", "MVT::Other"], "File": "AArch64ISelLowering101", "Func": "getOptimalMemOpType", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6262, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "MCFixupKind", ">", "ARMAsmBackend", "::", "getFixupKind", "(", "StringRef", "Name", ")", "const", "{", "if", "(", "!", "STI", ".", "getTargetTriple", "(", ")", ".", "isOSBinFormatELF", "(", ")", ")", "return", "None", ";", "unsigned", "Type", "=", "llvm", "::", "StringSwitch", "<", "unsigned", ">", "(", "Name", ")", ".", "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": ["ARM", "ARM", "1u", "1u"], "File": "ARMAsmBackend10", "Func": "getFixupKind", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6263, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "OptimizeLEAPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "Changed", "=", "false", ";", "if", "(", "!", "EnableX86LEAOpt", "||", "!", "MF", ".", "getFunction", "(", ")", "->", "optForSize", "(", ")", ")", "return", "false", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "TII", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "SmallVector", "<", "MachineInstr", "*", ",", "16", ">", "LEAs", ";", "InstrPos", ".", "clear", "(", ")", ";", "findLEAs", "(", "MBB", ",", "LEAs", ")", ";", "if", "(", "LEAs", ".", "empty", "(", ")", ")", "continue", ";", "if", "(", "MF", ".", "getFunction", "(", ")", "->", "optForMinSize", "(", ")", ")", "Changed", "|=", "removeRedundantLEAs", "(", "LEAs", ")", ";", "Changed", "|=", "removeRedundantAddrCalc", "(", "LEAs", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "16"], "File": "X86OptimizeLEAs3", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6264, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "pa_arg_partial_bytes", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "unsigned", "int", "max_arg_words", "=", "8", ";", "unsigned", "int", "offset", "=", "0", ";", "if", "(", "!", "TARGET_64BIT", ")", "return", "0", ";", "if", "(", "pa_function_arg_size", "(", "mode", ",", "type", ")", ">", "1", "&&", "(", "cum", "->", "words", "&", "1", ")", ")", "offset", "=", "1", ";", "if", "(", "cum", "->", "words", "+", "offset", "+", "pa_function_arg_size", "(", "mode", ",", "type", ")", "<=", "max_arg_words", ")", "return", "0", ";", "else", "if", "(", "cum", "->", "words", "+", "offset", ">=", "max_arg_words", ")", "return", "0", ";", "else", "return", "(", "max_arg_words", "-", "cum", "->", "words", "-", "offset", ")", "*", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["If", "this", "arg", "would", "be", "passed", "totally", "in", "registers", "or", "totally", "on", "the", "stack", ",", "then", "this", "routine", "should", "return", "zero", "."], "TS_V_token": ["pa", "8", "0", "0", "1", "1", "1", "0", "0"], "File": "pa7", "Func": "pa_arg_partial_bytes", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6265, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_can_use_bclr_p", "(", "HOST_WIDE_INT", "ival", ")", "{", "int", "one_bit_count", ";", "unsigned", "HOST_WIDE_INT", "mask", "=", "GET_MODE_MASK", "(", "SImode", ")", ";", "one_bit_count", "=", "popcount_hwi", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "(", "~", "ival", ")", "&", "mask", ")", ";", "return", "(", "TARGET_EXT_PERF", "&&", "(", "one_bit_count", "==", "1", ")", ")", ";", "}", ""], "natrual_language": ["Function", "to", "check", "if", "'bclr", "'", "instruction", "can", "be", "used", "with", "IVAL", "."], "TS_V_token": ["nds32", "1"], "File": "nds32-predicates", "Func": "nds32_can_use_bclr_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6266, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "tree", "rs6000_builtin_type", "(", "int", "id", ")", "{", "tree", "t", ";", "t", "=", "rs6000_builtin_types", "[", "id", "<", "0", "?", "~", "id", ":", "id", "]", ";", "return", "id", "<", "0", "?", "build_pointer_type", "(", "t", ")", ":", "t", ";", "}", ""], "natrual_language": ["Convert", "a", "type", "stored", "into", "a", "struct", "altivec_builtin_types", "as", "ID", ",", "into", "a", "tree", ".", "The", "types", "are", "in", "rs6000_builtin_types", ":", "negative", "values", "create", "a", "pointer", "type", "for", "the", "type", "associated", "to", "~ID", ".", "Note", "it", "is", "a", "logical", "NOT", ",", "rather", "than", "a", "negation", ",", "otherwise", "you", "can", "not", "represent", "a", "pointer", "type", "for", "ID", "0", "."], "TS_V_token": ["rs6000", "0", "0"], "File": "rs6000-c", "Func": "rs6000_builtin_type", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6267, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_lshrsi_clobbers_t_reg_p", "(", "rtx", "shift_amount", ")", "{", "gcc_assert", "(", "CONST_INT_P", "(", "shift_amount", ")", ")", ";", "const", "int", "shift_amount_i", "=", "std", "::", "abs", "(", "INTVAL", "(", "shift_amount", ")", ")", "&", "31", ";", "if", "(", "shift_amount_i", "==", "31", ")", "return", "true", ";", "return", "(", "ashl_lshr_seq", "[", "shift_amount_i", "]", ".", "clobbers_t", "&", "LSHR_CLOBBERS_T", ")", "!=", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "logical", "right", "shift", "consisting", "of", "1/2/8/16", "shift", "instructions", "will", "clobber", "the", "T", "bit", "."], "TS_V_token": ["sh", "31", "31", "0"], "File": "sh", "Func": "sh_lshrsi_clobbers_t_reg_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6268, "Length": 55, "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": 6269, "Length": 312, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "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", ")", "&&", "\"X86 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", "(", "X86", "::", "JMP_1", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "return", "1", ";", "}", "bool", "FallThru", "=", "FBB", "==", "nullptr", ";", "unsigned", "Count", "=", "0", ";", "X86", "::", "CondCode", "CC", "=", "(", "X86", "::", "CondCode", ")", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ";", "switch", "(", "CC", ")", "{", "case", "X86", "::", "COND_NE_OR_P", ":", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "X86", "::", "JCC_1", ")", ")", ".", "addMBB", "(", "TBB", ")", ".", "addImm", "(", "X86", "::", "COND_NE", ")", ";", "++", "Count", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "X86", "::", "JCC_1", ")", ")", ".", "addMBB", "(", "TBB", ")", ".", "addImm", "(", "X86", "::", "COND_P", ")", ";", "++", "Count", ";", "break", ";", "case", "X86", "::", "COND_E_AND_NP", ":", "if", "(", "FBB", "==", "nullptr", ")", "{", "FBB", "=", "getFallThroughMBB", "(", "&", "MBB", ",", "TBB", ")", ";", "assert", "(", "FBB", "&&", "\"MBB cannot be the last block in function when the false \"", "\"body is a fall-through.\"", ")", ";", "}", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "X86", "::", "JCC_1", ")", ")", ".", "addMBB", "(", "FBB", ")", ".", "addImm", "(", "X86", "::", "COND_NE", ")", ";", "++", "Count", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "X86", "::", "JCC_1", ")", ")", ".", "addMBB", "(", "TBB", ")", ".", "addImm", "(", "X86", "::", "COND_NP", ")", ";", "++", "Count", ";", "break", ";", "default", ":", "{", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "X86", "::", "JCC_1", ")", ")", ".", "addMBB", "(", "TBB", ")", ".", "addImm", "(", "CC", ")", ";", "++", "Count", ";", "}", "}", "if", "(", "!", "FallThru", ")", "{", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "X86", "::", "JMP_1", ")", ")", ".", "addMBB", "(", "FBB", ")", ";", "++", "Count", ";", "}", "return", "Count", ";", "}", ""], "natrual_language": ["Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "."], "TS_V_token": ["X86", "X86", "\"insertBranch must not be told to insert a fallthrough\"", "1", "0", "\"X86 branch conditions have one component!\"", "\"code size not handled\"", "\"Unconditional branch with multiple successors!\"", "X86::JMP_1", "1", "0", "X86::CondCode", "X86::CondCode", "0", "X86::COND_NE_OR_P", "X86::JCC_1", "X86::COND_NE", "X86::JCC_1", "X86::COND_P", "X86::COND_E_AND_NP", "\"MBB cannot be the last block in function when the false \"", "\"body is a fall-through.\"", "X86::JCC_1", "X86::COND_NE", "X86::JCC_1", "X86::COND_NP", "X86::JCC_1", "X86::JMP_1"], "File": "X86InstrInfo (2)3", "Func": "insertBranch", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6270, "Length": 376, "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", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "unsigned", "SlotSize", "=", "STI", ".", "is64Bit", "(", ")", "?", "8", ":", "4", ";", "unsigned", "FPReg", "=", "TRI", "->", "getFrameRegister", "(", "MF", ")", ";", "unsigned", "CalleeFrameSize", "=", "0", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "X86MachineFunctionInfo", "*", "X86FI", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "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", ")", ";", "if", "(", "Reg", "==", "FPReg", ")", "continue", ";", "CalleeFrameSize", "+=", "SlotSize", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ";", "}", "X86FI", "->", "setCalleeSavedFrameSize", "(", "CalleeFrameSize", ")", ";", "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", ")", ";", "}", "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", "8", "4", "0", "X86", "X86", "X86", "X86::PUSH64r", "X86::PUSH32r", "0", "1", "X86::GR64RegClass", "X86::GR32RegClass", "X86", "0", "1", "X86::GR64RegClass", "X86::GR32RegClass", "1"], "File": "X86FrameLowering45", "Func": "spillCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6271, "Length": 353, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "IA64InstrInfo", "::", "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", "==", "IA64", "::", "FPRegisterClass", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "IA64", "::", "STF_SPILL", ")", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "SrcReg", ",", "false", ",", "false", ",", "isKill", ")", ";", "}", "else", "if", "(", "RC", "==", "IA64", "::", "GRRegisterClass", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "IA64", "::", "ST8", ")", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "SrcReg", ",", "false", ",", "false", ",", "isKill", ")", ";", "}", "else", "if", "(", "RC", "==", "IA64", "::", "PRRegisterClass", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "IA64", "::", "MOV", ")", ",", "IA64", "::", "r2", ")", ".", "addReg", "(", "IA64", "::", "r0", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "IA64", "::", "CADDIMM22", ")", ",", "IA64", "::", "r2", ")", ".", "addReg", "(", "IA64", "::", "r2", ")", ".", "addImm", "(", "1", ")", ".", "addReg", "(", "SrcReg", ",", "false", ",", "false", ",", "isKill", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "IA64", "::", "ST8", ")", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "IA64", "::", "r2", ")", ";", "}", "else", "assert", "(", "0", "&&", "\"sorry, I don't know how to store this sort of reg in the stack\\n\"", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["IA64", "IA64", "IA64::FPRegisterClass", "IA64::STF_SPILL", "IA64::GRRegisterClass", "IA64::ST8", "IA64::PRRegisterClass", "IA64::MOV", "IA64::r2", "IA64::r0", "IA64::CADDIMM22", "IA64::r2", "IA64::r2", "1", "IA64::ST8", "IA64::r2", "0", "\"sorry, I don't know how to store this sort of reg in the stack\\n\""], "File": "IA64InstrInfo1", "Func": "storeRegToStackSlot", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6272, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_emit_vector_compare_inner", "(", "enum", "rtx_code", "code", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "rtx", "mask", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "op0", ")", ";", "switch", "(", "code", ")", "{", "default", ":", "break", ";", "case", "GE", ":", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_INT", ")", "return", "NULL_RTX", ";", "case", "EQ", ":", "case", "GT", ":", "case", "GTU", ":", "case", "ORDERED", ":", "case", "UNORDERED", ":", "case", "UNEQ", ":", "case", "LTGT", ":", "mask", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "mask", ",", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "op0", ",", "op1", ")", ")", ")", ";", "return", "mask", ";", "}", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Return", "insn", "for", "VSX", "or", "Altivec", "comparisons", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_emit_vector_compare_inner", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6273, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCLoopPreIncPrep", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "LI", "=", "&", "getAnalysis", "<", "LoopInfoWrapperPass", ">", "(", ")", ".", "getLoopInfo", "(", ")", ";", "SE", "=", "&", "getAnalysis", "<", "ScalarEvolution", ">", "(", ")", ";", "DataLayoutPass", "*", "DLP", "=", "getAnalysisIfAvailable", "<", "DataLayoutPass", ">", "(", ")", ";", "DL", "=", "DLP", "?", "&", "DLP", "->", "getDataLayout", "(", ")", ":", "0", ";", "bool", "MadeChange", "=", "false", ";", "for", "(", "LoopInfo", "::", "iterator", "I", "=", "LI", "->", "begin", "(", ")", ",", "E", "=", "LI", "->", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "Loop", "*", "L", "=", "*", "I", ";", "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", "0"], "File": "PPCLoopPreIncPrep3", "Func": "runOnFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6274, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_real_tls_symbol_ref_p", "(", "rtx", "x", ")", "{", "return", "(", "SYMBOL_REF_P", "(", "x", ")", "&&", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", ">=", "TLS_MODEL_REAL", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "symbol", "that", "refers", "to", "real", "(", "rather", "than", "emulated", ")", "TLS", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_real_tls_symbol_ref_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6275, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmBackend", "::", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "if", "(", "getRelaxedOpcodeBranch", "(", "Inst", ",", "false", ")", "!=", "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": ["X86", "X86", "1"], "File": "X86AsmBackend (2)1", "Func": "mayNeedRelaxation", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6276, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "if", "(", "(", "Opc", "==", "Mips", "::", "LW", ")", "||", "(", "Opc", "==", "Mips", "::", "LW_P8", ")", "||", "(", "Opc", "==", "Mips", "::", "LD", ")", "||", "(", "Opc", "==", "Mips", "::", "LD_P8", ")", "||", "(", "Opc", "==", "Mips", "::", "LWC1", ")", "||", "(", "Opc", "==", "Mips", "::", "LWC1_P8", ")", "||", "(", "Opc", "==", "Mips", "::", "LDC1", ")", "||", "(", "Opc", "==", "Mips", "::", "LDC164", ")", "||", "(", "Opc", "==", "Mips", "::", "LDC164_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": ["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::LW_P8", "Mips::LD", "Mips::LD_P8", "Mips::LWC1", "Mips::LWC1_P8", "Mips::LDC1", "Mips::LDC164", "Mips::LDC164_P8", "1", "2", "2", "1", "0", "0"], "File": "MipsInstrInfo11", "Func": "isLoadFromStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6277, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "mips_builtin_vector_type", "(", "tree", "type", ",", "machine_mode", "mode", ")", "{", "static", "tree", "types", "[", "2", "*", "(", "int", ")", "MAX_MACHINE_MODE", "]", ";", "int", "mode_index", ";", "mode_index", "=", "(", "int", ")", "mode", ";", "if", "(", "TREE_CODE", "(", "type", ")", "==", "INTEGER_TYPE", "&&", "TYPE_UNSIGNED", "(", "type", ")", ")", "mode_index", "+=", "MAX_MACHINE_MODE", ";", "if", "(", "types", "[", "mode_index", "]", "==", "NULL_TREE", ")", "types", "[", "mode_index", "]", "=", "build_vector_type_for_mode", "(", "type", ",", "mode", ")", ";", "return", "types", "[", "mode_index", "]", ";", "}", ""], "natrual_language": ["MODE", "is", "a", "vector", "mode", "whose", "elements", "have", "type", "TYPE", ".", "Return", "the", "type", "of", "the", "vector", "itself", "."], "TS_V_token": ["mips", "2"], "File": "mips", "Func": "mips_builtin_vector_type", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6278, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "gimple", "*", "gimple_folder", "::", "redirect_call", "(", "const", "function_instance", "&", "instance", ")", "{", "registered_function", "*", "rfn", "=", "function_table", "->", "find_with_hash", "(", "instance", ",", "instance", ".", "hash", "(", ")", ")", ";", "if", "(", "!", "rfn", ")", "return", "NULL", ";", "gimple_call_set_fndecl", "(", "call", ",", "rfn", "->", "decl", ")", ";", "return", "call", ";", "}", ""], "natrual_language": ["Fold", "the", "call", "to", "a", "call", "to", "INSTANCE", ",", "with", "the", "same", "arguments", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "redirect_call", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6279, "Length": 50, "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", "AsmPrinter", "::", "PrintAsmOperand", "(", "MI", ",", "OpNo", ",", "AsmVariant", ",", "ExtraCode", ",", "O", ")", ";", "case", "'a'", ":", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "O", "<<", "MO", ".", "getImm", "(", ")", ";", "return", "false", ";", "}", "if", "(", "MO", ".", "isGlobal", "(", ")", "||", "MO", ".", "isCPI", "(", ")", "||", "MO", ".", "isJTI", "(", ")", "||", "MO", ".", "isSymbol", "(", ")", ")", "{", "printSymbolOperand", "(", "MO", ",", "O", ")", ";", "if", "(", "Subtarget", "->", "isPICStyleRIPRel", "(", ")", ")", "O", "<<", "\"(%rip)\"", ";", "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", "\"(%rip)\"", "0"], "File": "X86AsmPrinter28", "Func": "PrintAsmOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6280, "Length": 398, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LEGTargetLowering", "::", "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", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", ".", "getRegInfo", "(", ")", ";", "assert", "(", "!", "isVarArg", "&&", "\"VarArg not supported\"", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "CC_LEG", ")", ";", "for", "(", "auto", "&", "VA", ":", "ArgLocs", ")", "{", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "EVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "assert", "(", "RegVT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", "==", "MVT", "::", "i32", "&&", "\"Only support MVT::i32 register passing\"", ")", ";", "const", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "LEG", "::", "GRRegsRegClass", ")", ";", "RegInfo", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "VReg", ")", ";", "SDValue", "ArgIn", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VReg", ",", "RegVT", ")", ";", "InVals", ".", "push_back", "(", "ArgIn", ")", ";", "continue", ";", "}", "assert", "(", "VA", ".", "isMemLoc", "(", ")", "&&", "\"Can only pass arguments as either registers or via the stack\"", ")", ";", "const", "unsigned", "Offset", "=", "VA", ".", "getLocMemOffset", "(", ")", ";", "const", "int", "FI", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "CreateFixedObject", "(", "4", ",", "Offset", ",", "true", ")", ";", "EVT", "PtrTy", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";", "SDValue", "FIPtr", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "PtrTy", ")", ";", "assert", "(", "VA", ".", "getValVT", "(", ")", "==", "MVT", "::", "i32", "&&", "\"Only support passing arguments as i32\"", ")", ";", "SDValue", "Load", "=", "DAG", ".", "getLoad", "(", "VA", ".", "getValVT", "(", ")", ",", "dl", ",", "Chain", ",", "FIPtr", ",", "MachinePointerInfo", "(", ")", ",", "false", ",", "false", ",", "false", ",", "0", ")", ";", "InVals", ".", "push_back", "(", "Load", ")", ";", "}", "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": ["LEG", "LEG", "ISD::InputArg", "\"VarArg not supported\"", "16", "LEG", "MVT::i32", "\"Only support MVT::i32 register passing\"", "LEG::GRRegsRegClass", "\"Can only pass arguments as either registers or via the stack\"", "4", "MVT::i32", "\"Only support passing arguments as i32\"", "0"], "File": "LEGISelLowering1", "Func": "LowerFormalArguments", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6281, "Length": 330, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "bool", "Changed", "=", "false", ";", "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": ["OR1K"], "File": "OR1KDelaySlotFiller", "Func": "runOnMachineFunction", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6282, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LoongArchRegisterInfo", "::", "isConstantPhysReg", "(", "MCRegister", "PhysReg", ")", "const", "{", "return", "PhysReg", "==", "LoongArch", "::", "R0", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "PhysReg", "is", "unallocatable", "and", "constant", "throughout", "the", "function", "."], "TS_V_token": ["LoongArch", "LoongArch", "LoongArch::R0"], "File": "LoongArchRegisterInfo", "Func": "isConstantPhysReg", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6283, "Length": 18, "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", ")", ",", "ARMProcFamily", "(", "Others", ")", ",", "HasV8_1aOps", "(", "false", ")", ",", "HasV8_2aOps", "(", "false", ")", ",", "HasFPARMv8", "(", "false", ")", ",", "HasNEON", "(", "false", ")", ",", "HasCrypto", "(", "false", ")", ",", "HasCRC", "(", "false", ")", ",", "HasPerfMon", "(", "false", ")", ",", "HasFullFP16", "(", "false", ")", ",", "HasZeroCycleRegMove", "(", "false", ")", ",", "HasZeroCycleZeroing", "(", "false", ")", ",", "StrictAlign", "(", "false", ")", ",", "ReserveX18", "(", "TT", ".", "isOSDarwin", "(", ")", ")", ",", "IsLittle", "(", "LittleEndian", ")", ",", "CPUString", "(", "CPU", ")", ",", "TargetTriple", "(", "TT", ")", ",", "FrameLowering", "(", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "FS", ")", ")", ",", "TSInfo", "(", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", ",", "CallLoweringInfo", "(", "nullptr", ")", "{", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64Subtarget11", "Func": "AArch64Subtarget", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6284, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_copy_one_block_and_progress_pointers", "(", "rtx", "*", "src", ",", "rtx", "*", "dst", ",", "machine_mode", "mode", ")", "{", "rtx", "reg", "=", "gen_reg_rtx", "(", "mode", ")", ";", "*", "src", "=", "adjust_address", "(", "*", "src", ",", "mode", ",", "0", ")", ";", "*", "dst", "=", "adjust_address", "(", "*", "dst", ",", "mode", ",", "0", ")", ";", "emit_move_insn", "(", "reg", ",", "*", "src", ")", ";", "emit_move_insn", "(", "*", "dst", ",", "reg", ")", ";", "*", "src", "=", "aarch64_progress_pointer", "(", "*", "src", ")", ";", "*", "dst", "=", "aarch64_progress_pointer", "(", "*", "dst", ")", ";", "}", ""], "natrual_language": ["Copy", "one", "MODE", "sized", "block", "from", "SRC", "to", "DST", ",", "then", "progress", "SRC", "and", "DST", "by", "MODE", "bytes", "."], "TS_V_token": ["aarch64", "0", "0"], "File": "aarch64", "Func": "aarch64_copy_one_block_and_progress_pointers", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6285, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "def_builtin", "(", "const", "char", "*", "name", ",", "tree", "type", ",", "enum", "rs6000_builtins", "code", ")", "{", "tree", "t", ";", "unsigned", "classify", "=", "rs6000_builtin_info", "[", "(", "int", ")", "code", "]", ".", "attr", ";", "const", "char", "*", "attr_string", "=", "\"\"", ";", "gcc_assert", "(", "name", "!=", "NULL", ")", ";", "gcc_assert", "(", "IN_RANGE", "(", "(", "int", ")", "code", ",", "0", ",", "(", "int", ")", "RS6000_BUILTIN_COUNT", ")", ")", ";", "if", "(", "rs6000_builtin_decls", "[", "(", "int", ")", "code", "]", ")", "fatal_error", "(", "input_location", ",", "\"internal error: builtin function %s already processed\"", ",", "name", ")", ";", "rs6000_builtin_decls", "[", "(", "int", ")", "code", "]", "=", "t", "=", "add_builtin_function", "(", "name", ",", "type", ",", "(", "int", ")", "code", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "if", "(", "(", "classify", "&", "RS6000_BTC_CONST", ")", "!=", "0", ")", "{", "TREE_READONLY", "(", "t", ")", "=", "1", ";", "TREE_NOTHROW", "(", "t", ")", "=", "1", ";", "attr_string", "=", "\", const\"", ";", "}", "else", "if", "(", "(", "classify", "&", "RS6000_BTC_PURE", ")", "!=", "0", ")", "{", "DECL_PURE_P", "(", "t", ")", "=", "1", ";", "TREE_NOTHROW", "(", "t", ")", "=", "1", ";", "attr_string", "=", "\", pure\"", ";", "}", "else", "if", "(", "(", "classify", "&", "RS6000_BTC_FP", ")", "!=", "0", ")", "{", "TREE_NOTHROW", "(", "t", ")", "=", "1", ";", "if", "(", "flag_rounding_math", ")", "{", "DECL_PURE_P", "(", "t", ")", "=", "1", ";", "DECL_IS_NOVOPS", "(", "t", ")", "=", "1", ";", "attr_string", "=", "\", fp, pure\"", ";", "}", "else", "{", "TREE_READONLY", "(", "t", ")", "=", "1", ";", "attr_string", "=", "\", fp, const\"", ";", "}", "}", "else", "if", "(", "(", "classify", "&", "RS6000_BTC_ATTR_MASK", ")", "!=", "0", ")", "gcc_unreachable", "(", ")", ";", "if", "(", "TARGET_DEBUG_BUILTIN", ")", "fprintf", "(", "stderr", ",", "\"rs6000_builtin, code = %4d, %s%s\\n\"", ",", "(", "int", ")", "code", ",", "name", ",", "attr_string", ")", ";", "}", ""], "natrual_language": ["Add", "a", "SPARC", "builtin", "function", "with", "NAME", ",", "ICODE", ",", "CODE", "and", "TYPE", ".", "Return", "the", "function", "decl", "or", "NULL_TREE", "if", "the", "builtin", "was", "not", "added", "."], "TS_V_token": ["powerpcspe", "\"\"", "0", "\"internal error: builtin function %s already processed\"", "0", "1", "1", "\", const\"", "0", "1", "1", "\", pure\"", "0", "1", "1", "1", "\", fp, pure\"", "1", "\", fp, const\"", "0", "\"rs6000_builtin, code = %4d, %s%s\\n\""], "File": "powerpcspe", "Func": "def_builtin", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6286, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "this", "->", "MF", "=", "&", "MF", ";", "SetupMachineFunction", "(", "MF", ")", ";", "EmitConstantPool", "(", "MF", ".", "getConstantPool", "(", ")", ")", ";", "EmitJumpTableInfo", "(", "MF", ".", "getJumpTableInfo", "(", ")", ",", "MF", ")", ";", "O", "<<", "\"\\n\\n\"", ";", "emitFunctionStart", "(", "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", ")", "{", "printInstruction", "(", "II", ")", ";", "++", "EmittedInsts", ";", "}", "O", "<<", "'\\n'", ";", "}", "emitFunctionEnd", "(", "MF", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "\"\\n\\n\""], "File": "MipsAsmPrinter21", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6287, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "const", "TargetRegisterClass", "*", ",", "uint8_t", ">", "X86TargetLowering", "::", "findRepresentativeClass", "(", "EVT", "VT", ")", "const", "{", "const", "TargetRegisterClass", "*", "RRC", "=", "0", ";", "uint8_t", "Cost", "=", "1", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "return", "TargetLowering", "::", "findRepresentativeClass", "(", "VT", ")", ";", "case", "MVT", "::", "i8", ":", "case", "MVT", "::", "i16", ":", "case", "MVT", "::", "i32", ":", "case", "MVT", "::", "i64", ":", "RRC", "=", "(", "Subtarget", "->", "is64Bit", "(", ")", "?", "X86", "::", "GR64RegisterClass", ":", "X86", "::", "GR32RegisterClass", ")", ";", "break", ";", "case", "MVT", "::", "v8i8", ":", "case", "MVT", "::", "v4i16", ":", "case", "MVT", "::", "v2i32", ":", "case", "MVT", "::", "v1i64", ":", "RRC", "=", "X86", "::", "VR64RegisterClass", ";", "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", "::", "VR128RegisterClass", ";", "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", "0", "1", "MVT::i8", "MVT::i16", "MVT::i32", "MVT::i64", "X86::GR64RegisterClass", "X86::GR32RegisterClass", "MVT::v8i8", "MVT::v4i16", "MVT::v2i32", "MVT::v1i64", "X86::VR64RegisterClass", "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::VR128RegisterClass"], "File": "X86ISelLowering73", "Func": "findRepresentativeClass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6288, "Length": 205, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_emit_dot_insn", "(", "rtx", "dst", ",", "rtx", "src", ",", "int", "dot", ",", "rtx", "ccreg", ")", "{", "if", "(", "dot", "==", "0", ")", "{", "emit_move_insn", "(", "dst", ",", "src", ")", ";", "return", ";", "}", "if", "(", "cc_reg_not_cr0_operand", "(", "ccreg", ",", "CCmode", ")", ")", "{", "emit_move_insn", "(", "dst", ",", "src", ")", ";", "emit_move_insn", "(", "ccreg", ",", "gen_rtx_COMPARE", "(", "CCmode", ",", "dst", ",", "const0_rtx", ")", ")", ";", "return", ";", "}", "rtx", "ccset", "=", "gen_rtx_SET", "(", "ccreg", ",", "gen_rtx_COMPARE", "(", "CCmode", ",", "src", ",", "const0_rtx", ")", ")", ";", "if", "(", "dot", "==", "1", ")", "{", "rtx", "clobber", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "dst", ")", ";", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "ccset", ",", "clobber", ")", ")", ")", ";", "}", "else", "{", "rtx", "set", "=", "gen_rtx_SET", "(", "dst", ",", "src", ")", ";", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "ccset", ",", "set", ")", ")", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "a", "potentially", "record-form", "instruction", ",", "setting", "DST", "from", "SRC", ".", "If", "DOT", "is", "0", ",", "that", "is", "all", ";", "otherwise", ",", "set", "CCREG", "to", "the", "result", "of", "the", "signed", "comparison", "of", "DST", "with", "zero", ".", "If", "DOT", "is", "1", ",", "the", "generated", "RTL", "does", "n't", "care", "about", "the", "DST", "result", ";", "if", "DOT", "is", "2", ",", "it", "does", ".", "If", "CCREG", "is", "CR0", "do", "a", "single", "dot", "insn", "(", "as", "a", "PARALLEL", ")", ";", "otherwise", ",", "do", "a", "SET", "and", "a", "separate", "COMPARE", "."], "TS_V_token": ["rs6000", "0", "1", "2", "2"], "File": "rs60005", "Func": "rs6000_emit_dot_insn", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6289, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "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_or_fixed_reg_p", "(", "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": "i386", "Func": "ix86_save_reg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6290, "Length": 311, "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": 6291, "Length": 315, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_pac_insn_p", "(", "rtx", "x", ")", "{", "if", "(", "!", "INSN_P", "(", "x", ")", ")", "return", "false", ";", "subrtx_var_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX_VAR", "(", "iter", ",", "array", ",", "PATTERN", "(", "x", ")", ",", "ALL", ")", "{", "rtx", "sub", "=", "*", "iter", ";", "if", "(", "sub", "&&", "GET_CODE", "(", "sub", ")", "==", "UNSPEC", ")", "{", "int", "unspec_val", "=", "XINT", "(", "sub", ",", "1", ")", ";", "switch", "(", "unspec_val", ")", "{", "case", "UNSPEC_PACIASP", ":", "case", "UNSPEC_PACIBSP", ":", "return", "true", ";", "default", ":", "return", "false", ";", "}", "iter", ".", "skip_subrtxes", "(", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Check", "if", "X", "(", "or", "any", "sub-rtx", "of", "X", ")", "is", "a", "PACIASP/PACIBSP", "instruction", "."], "TS_V_token": ["aarch64", "1"], "File": "aarch64-bti-insert", "Func": "aarch64_pac_insn_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6292, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "vr4130_align_insns", "(", "void", ")", "{", "struct", "mips_sim", "state", ";", "rtx_insn", "*", "insn", ",", "*", "subinsn", ",", "*", "last", ",", "*", "last2", ",", "*", "next", ";", "bool", "aligned_p", ";", "dfa_start", "(", ")", ";", "last", "=", "0", ";", "last2", "=", "0", ";", "aligned_p", "=", "true", ";", "mips_sim_init", "(", "&", "state", ",", "alloca", "(", "state_size", "(", ")", ")", ")", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", "!=", "0", ";", "insn", "=", "next", ")", "{", "unsigned", "int", "length", ";", "next", "=", "NEXT_INSN", "(", "insn", ")", ";", "vr4130_avoid_branch_rt_conflict", "(", "insn", ")", ";", "length", "=", "get_attr_length", "(", "insn", ")", ";", "if", "(", "length", ">", "0", "&&", "USEFUL_INSN_P", "(", "insn", ")", ")", "FOR_EACH_SUBINSN", "(", "subinsn", ",", "insn", ")", "{", "mips_sim_wait_insn", "(", "&", "state", ",", "subinsn", ")", ";", "if", "(", "state", ".", "insns_left", "!=", "state", ".", "issue_rate", "&&", "!", "CALL_P", "(", "subinsn", ")", ")", "{", "if", "(", "subinsn", "==", "SEQ_BEGIN", "(", "insn", ")", "&&", "aligned_p", ")", "{", "gcc_assert", "(", "last2", ")", ";", "emit_insn_after", "(", "gen_nop", "(", ")", ",", "last2", ")", ";", "aligned_p", "=", "false", ";", "}", "else", "if", "(", "subinsn", "!=", "SEQ_BEGIN", "(", "insn", ")", "&&", "!", "aligned_p", ")", "{", "gcc_assert", "(", "last", ")", ";", "emit_insn_after", "(", "gen_nop", "(", ")", ",", "last", ")", ";", "aligned_p", "=", "true", ";", "}", "}", "mips_sim_issue_insn", "(", "&", "state", ",", "subinsn", ")", ";", "}", "mips_sim_finish_insn", "(", "&", "state", ",", "insn", ")", ";", "length", "=", "get_attr_length", "(", "insn", ")", ";", "if", "(", "length", ">", "0", ")", "{", "if", "(", "NONJUMP_INSN_P", "(", "SEQ_BEGIN", "(", "insn", ")", ")", "&&", "(", "recog_memoized", "(", "insn", ")", "<", "0", "||", "length", ">=", "8", ")", ")", "{", "next", "=", "emit_insn_after", "(", "gen_align", "(", "GEN_INT", "(", "3", ")", ")", ",", "insn", ")", ";", "next", "=", "NEXT_INSN", "(", "next", ")", ";", "mips_sim_next_cycle", "(", "&", "state", ")", ";", "aligned_p", "=", "true", ";", "}", "else", "if", "(", "length", "&", "4", ")", "aligned_p", "=", "!", "aligned_p", ";", "last2", "=", "last", ";", "last", "=", "insn", ";", "}", "if", "(", "LABEL_P", "(", "insn", ")", "&&", "label_to_alignment", "(", "insn", ")", ">=", "3", ")", "aligned_p", "=", "true", ";", "}", "dfa_finish", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "-mvr4130-align", ".", "Go", "through", "each", "basic", "block", "and", "simulate", "the", "processor", "pipeline", ".", "If", "we", "find", "that", "a", "pair", "of", "instructions", "could", "execute", "in", "parallel", ",", "and", "the", "first", "of", "those", "instruction", "is", "not", "8-byte", "aligned", ",", "insert", "a", "nop", "to", "make", "it", "aligned", "."], "TS_V_token": ["mips", "0", "0", "0", "0", "0", "0", "8", "3", "4", "3"], "File": "mips4", "Func": "vr4130_align_insns", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6293, "Length": 340, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_output_dwarf_dtprel", "(", "FILE", "*", "file", ",", "int", "size", ",", "rtx", "x", ")", "{", "switch", "(", "size", ")", "{", "case", "4", ":", "fputs", "(", "\"\\t.long\\t\"", ",", "file", ")", ";", "break", ";", "case", "8", ":", "fputs", "(", "DOUBLE_INT_ASM_OP", ",", "file", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "output_addr_const", "(", "file", ",", "x", ")", ";", "if", "(", "TARGET_ELF", ")", "fputs", "(", "\"@dtprel+0x8000\"", ",", "file", ")", ";", "else", "if", "(", "TARGET_XCOFF", "&&", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", ")", "{", "switch", "(", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", ")", "{", "case", "0", ":", "break", ";", "case", "TLS_MODEL_LOCAL_EXEC", ":", "fputs", "(", "\"@le\"", ",", "file", ")", ";", "break", ";", "case", "TLS_MODEL_INITIAL_EXEC", ":", "fputs", "(", "\"@ie\"", ",", "file", ")", ";", "break", ";", "case", "TLS_MODEL_GLOBAL_DYNAMIC", ":", "case", "TLS_MODEL_LOCAL_DYNAMIC", ":", "fputs", "(", "\"@m\"", ",", "file", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "}", ""], "natrual_language": ["This", "is", "called", "from", "dwarf2out.c", "via", "TARGET_ASM_OUTPUT_DWARF_DTPREL", ".", "We", "need", "to", "emit", "DTP-relative", "relocations", "."], "TS_V_token": ["powerpcspe", "4", "\"\\t.long\\t\"", "8", "\"@dtprel+0x8000\"", "0", "\"@le\"", "\"@ie\"", "\"@m\""], "File": "powerpcspe", "Func": "rs6000_output_dwarf_dtprel", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6294, "Length": 143, "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": ["ARM"], "File": "ARMTargetTransformInfo21", "Func": "getAnalysisUsage", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6295, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_set_architecture", "(", "const", "struct", "mips_cpu_info", "*", "info", ")", "{", "if", "(", "info", "!=", "0", ")", "{", "mips_arch_info", "=", "info", ";", "mips_arch", "=", "info", "->", "cpu", ";", "mips_isa", "=", "info", "->", "isa", ";", "}", "}", ""], "natrual_language": ["Set", "up", "globals", "to", "generate", "code", "for", "the", "ISA", "or", "processor", "described", "by", "INFO", "."], "TS_V_token": ["mips", "0"], "File": "mips3", "Func": "mips_set_architecture", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6296, "Length": 36, "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": 6297, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sh_set_return_address", "(", "rtx", "ra", ",", "rtx", "tmp", ")", "{", "HARD_REG_SET", "live_regs_mask", ";", "int", "d", ";", "int", "pr_reg", "=", "TARGET_SHMEDIA", "?", "PR_MEDIA_REG", ":", "PR_REG", ";", "int", "pr_offset", ";", "d", "=", "calc_live_regs", "(", "&", "live_regs_mask", ")", ";", "if", "(", "!", "TEST_HARD_REG_BIT", "(", "live_regs_mask", ",", "pr_reg", ")", ")", "{", "rtx", "rr", ";", "if", "(", "TARGET_SHMEDIA", ")", "{", "int", "rr_regno", "=", "sh_media_register_for_return", "(", ")", ";", "if", "(", "rr_regno", "<", "0", ")", "rr_regno", "=", "pr_reg", ";", "rr", "=", "gen_rtx_REG", "(", "DImode", ",", "rr_regno", ")", ";", "}", "else", "rr", "=", "gen_rtx_REG", "(", "SImode", ",", "pr_reg", ")", ";", "emit_insn", "(", "GEN_MOV", "(", "rr", ",", "ra", ")", ")", ";", "emit_use", "(", "rr", ")", ";", "return", ";", "}", "if", "(", "TARGET_SH5", ")", "{", "int", "offset", ";", "save_schedule", "schedule", ";", "save_entry", "*", "entry", ";", "entry", "=", "sh5_schedule_saves", "(", "&", "live_regs_mask", ",", "&", "schedule", ",", "0", ")", ";", "offset", "=", "entry", "[", "1", "]", ".", "offset", ";", "for", "(", ";", "entry", "->", "mode", "!=", "VOIDmode", ";", "entry", "--", ")", "if", "(", "entry", "->", "reg", "==", "pr_reg", ")", "goto", "found", ";", "gcc_unreachable", "(", ")", ";", "found", ":", "offset", "=", "entry", "->", "offset", "-", "offset", ";", "pr_offset", "=", "(", "rounded_frame_size", "(", "d", ")", "+", "offset", "+", "SHMEDIA_REGS_STACK_ADJUST", "(", ")", ")", ";", "}", "else", "pr_offset", "=", "rounded_frame_size", "(", "d", ")", ";", "emit_insn", "(", "GEN_MOV", "(", "tmp", ",", "GEN_INT", "(", "pr_offset", ")", ")", ")", ";", "if", "(", "frame_pointer_needed", ")", "emit_insn", "(", "GEN_ADD3", "(", "tmp", ",", "tmp", ",", "hard_frame_pointer_rtx", ")", ")", ";", "else", "emit_insn", "(", "GEN_ADD3", "(", "tmp", ",", "tmp", ",", "stack_pointer_rtx", ")", ")", ";", "tmp", "=", "gen_frame_mem", "(", "Pmode", ",", "tmp", ")", ";", "emit_insn", "(", "GEN_MOV", "(", "tmp", ",", "ra", ")", ")", ";", "emit_use", "(", "tmp", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "change", "the", "current", "function", "'s", "return", "address", "to", "RA", ".", "TEMP", "is", "available", "as", "a", "scratch", "register", ",", "if", "needed", "."], "TS_V_token": ["sh", "0", "0", "1"], "File": "sh4", "Func": "sh_set_return_address", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6298, "Length": 275, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isIntDivCheap", "(", "EVT", "VT", ",", "AttributeList", "Attr", ")", "const", "{", "bool", "OptSize", "=", "Attr", ".", "hasAttribute", "(", "AttributeList", "::", "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)6", "Func": "isIntDivCheap", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6299, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_split_stack_space_check", "(", "rtx", "size", ",", "rtx", "label", ")", "{", "rtx", "sp", "=", "gen_rtx_REG", "(", "Pmode", ",", "STACK_POINTER_REGNUM", ")", ";", "rtx", "limit", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "requested", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "cmp", "=", "gen_reg_rtx", "(", "CCUNSmode", ")", ";", "rtx", "jump", ";", "emit_insn", "(", "gen_load_split_stack_limit", "(", "limit", ")", ")", ";", "if", "(", "CONST_INT_P", "(", "size", ")", ")", "emit_insn", "(", "gen_add3_insn", "(", "requested", ",", "sp", ",", "GEN_INT", "(", "-", "INTVAL", "(", "size", ")", ")", ")", ")", ";", "else", "{", "size", "=", "force_reg", "(", "Pmode", ",", "size", ")", ";", "emit_move_insn", "(", "requested", ",", "gen_rtx_MINUS", "(", "Pmode", ",", "sp", ",", "size", ")", ")", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "cmp", ",", "gen_rtx_COMPARE", "(", "CCUNSmode", ",", "requested", ",", "limit", ")", ")", ")", ";", "jump", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "gen_rtx_GEU", "(", "VOIDmode", ",", "cmp", ",", "const0_rtx", ")", ",", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "label", ")", ",", "pc_rtx", ")", ";", "jump", "=", "emit_jump_insn", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "jump", ")", ")", ";", "JUMP_LABEL", "(", "jump", ")", "=", "label", ";", "}", ""], "natrual_language": ["Emit", "-fsplit-stack", "dynamic", "stack", "allocation", "space", "check", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_split_stack_space_check", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6300, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsHazardSchedule", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "MipsSubtarget", "*", "STI", "=", "&", "static_cast", "<", "const", "MipsSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "if", "(", "!", "STI", "->", "hasMips32r6", "(", ")", "||", "STI", "->", "inMicroMipsMode", "(", ")", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "const", "MipsInstrInfo", "*", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "FI", "=", "MF", ".", "begin", "(", ")", ";", "FI", "!=", "MF", ".", "end", "(", ")", ";", "++", "FI", ")", "{", "for", "(", "Iter", "I", "=", "FI", "->", "begin", "(", ")", ";", "I", "!=", "FI", "->", "end", "(", ")", ";", "++", "I", ")", "{", "if", "(", "!", "TII", "->", "HasForbiddenSlot", "(", "*", "I", ")", ")", "continue", ";", "bool", "InsertNop", "=", "false", ";", "if", "(", "std", "::", "next", "(", "I", ")", "!=", "FI", "->", "end", "(", ")", "&&", "!", "TII", "->", "SafeInForbiddenSlot", "(", "*", "getNextMachineInstr", "(", "std", "::", "next", "(", "I", ")", ")", ")", ")", "{", "InsertNop", "=", "true", ";", "}", "else", "{", "for", "(", "auto", "*", "Succ", ":", "FI", "->", "successors", "(", ")", ")", "{", "if", "(", "FI", "->", "isLayoutSuccessor", "(", "Succ", ")", "&&", "getNextMachineInstr", "(", "Succ", "->", "begin", "(", ")", ")", "!=", "Succ", "->", "end", "(", ")", "&&", "!", "TII", "->", "SafeInForbiddenSlot", "(", "*", "getNextMachineInstr", "(", "Succ", "->", "begin", "(", ")", ")", ")", ")", "{", "InsertNop", "=", "true", ";", "break", ";", "}", "}", "}", "if", "(", "InsertNop", ")", "{", "Changed", "=", "true", ";", "MIBundleBuilder", "(", "&", "*", "I", ")", ".", "append", "(", "BuildMI", "(", "MF", ",", "I", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "Mips", "::", "NOP", ")", ")", ")", ";", "NumInsertedNops", "++", ";", "}", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::NOP"], "File": "MipsHazardSchedule3", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6301, "Length": 282, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "FISCTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "StringRef", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'r'", ":", "if", "(", "VT", "==", "MVT", "::", "i8", "||", "VT", "==", "MVT", "::", "i16", "||", "VT", "==", "MVT", "::", "i32", "||", "VT", "==", "MVT", "::", "i64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "FISC", "::", "GRRegsRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0u", ",", "static_cast", "<", "const", "TargetRegisterClass", "*", ">", "(", "0", ")", ")", ";", "case", "'c'", ":", "if", "(", "VT", "==", "MVT", "::", "i64", ")", "return", "std", "::", "make_pair", "(", "(", "unsigned", ")", "FISC", "::", "X19", ",", "&", "FISC", "::", "GRRegsRegClass", ")", ";", "assert", "(", "\"Unexpected type.\"", ")", ";", "}", "}", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "R", ";", "R", "=", "parseRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "if", "(", "R", ".", "second", ")", "return", "R", ";", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "TRI", ",", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["FISC", "FISC", "1", "0", "MVT::i8", "MVT::i16", "MVT::i32", "MVT::i64", "0U", "FISC::GRRegsRegClass", "0u", "0", "MVT::i64", "FISC::X19", "FISC::GRRegsRegClass", "\"Unexpected type.\""], "File": "FISCISelLowering", "Func": "getRegForInlineAsmConstraint", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6302, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "combineRepeatedFPDivisors", "(", "unsigned", "NumUsers", ")", "const", "{", "return", "NumUsers", ">", "1", ";", "}", ""], "natrual_language": ["Indicate", "whether", "this", "target", "prefers", "to", "combine", "FDIVs", "with", "the", "same", "divisor", "."], "TS_V_token": ["X86", "X86", "1"], "File": "X86ISelLowering155", "Func": "combineRepeatedFPDivisors", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6303, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_le_vsx_load", "(", "rtx", "dest", ",", "rtx", "source", ",", "machine_mode", "mode", ")", "{", "rtx", "tmp", ",", "permute_mem", ",", "permute_reg", ";", "if", "(", "mode", "==", "TImode", "||", "mode", "==", "V1TImode", ")", "{", "mode", "=", "V2DImode", ";", "dest", "=", "gen_lowpart", "(", "V2DImode", ",", "dest", ")", ";", "source", "=", "adjust_address", "(", "source", ",", "V2DImode", ",", "0", ")", ";", "}", "tmp", "=", "can_create_pseudo_p", "(", ")", "?", "gen_reg_rtx_and_attrs", "(", "dest", ")", ":", "dest", ";", "permute_mem", "=", "rs6000_gen_le_vsx_permute", "(", "source", ",", "mode", ")", ";", "permute_reg", "=", "rs6000_gen_le_vsx_permute", "(", "tmp", ",", "mode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "tmp", ",", "permute_mem", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "permute_reg", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "little-endian", "load", "from", "vector", "memory", "location", "SOURCE", "to", "VSX", "register", "DEST", "in", "mode", "MODE", ".", "The", "load", "is", "done", "with", "two", "permuting", "insn", "'s", "that", "represent", "an", "lxvd2x", "and", "xxpermdi", "."], "TS_V_token": ["rs6000", "0"], "File": "rs60005", "Func": "rs6000_emit_le_vsx_load", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6304, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZDAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "if", "(", "Subtarget", "->", "hasLoadStoreOnCond2", "(", ")", ")", "return", ";", "bool", "MadeChange", "=", "false", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "&", "*", "I", "++", ";", "if", "(", "N", "->", "use_empty", "(", ")", ")", "continue", ";", "SDValue", "Res", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "SystemZISD", "::", "SELECT_CCMASK", ":", "Res", "=", "expandSelectBoolean", "(", "N", ")", ";", "break", ";", "}", "if", "(", "Res", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"SystemZ 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": ["SystemZ", "SystemZ", "SystemZISD::SELECT_CCMASK", "\"SystemZ DAG preprocessing replacing:\\nOld: \"", "\"\\nNew: \"", "\"\\n\"", "0"], "File": "SystemZISelDAGToDAG11", "Func": "PreprocessISelDAG", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6305, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "Mips16InstrInfo", "::", "getInlineAsmLength", "(", "const", "char", "*", "Str", ",", "const", "MCAsmInfo", "&", "MAI", ")", "const", "{", "bool", "atInsnStart", "=", "true", ";", "unsigned", "Length", "=", "0", ";", "for", "(", ";", "*", "Str", ";", "++", "Str", ")", "{", "if", "(", "*", "Str", "==", "'\\n'", "||", "strncmp", "(", "Str", ",", "MAI", ".", "getSeparatorString", "(", ")", ",", "strlen", "(", "MAI", ".", "getSeparatorString", "(", ")", ")", ")", "==", "0", ")", "atInsnStart", "=", "true", ";", "if", "(", "atInsnStart", "&&", "!", "std", "::", "isspace", "(", "static_cast", "<", "unsigned", "char", ">", "(", "*", "Str", ")", ")", ")", "{", "if", "(", "strncmp", "(", "Str", ",", "\".space\"", ",", "6", ")", "==", "0", ")", "{", "char", "*", "EStr", ";", "int", "Sz", ";", "Sz", "=", "strtol", "(", "Str", "+", "6", ",", "&", "EStr", ",", "10", ")", ";", "while", "(", "isspace", "(", "*", "EStr", ")", ")", "++", "EStr", ";", "if", "(", "*", "EStr", "==", "'\\0'", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"parsed .space \"", "<<", "Sz", "<<", "'\\n'", ")", ";", "return", "Sz", ";", "}", "}", "Length", "+=", "MAI", ".", "getMaxInstLength", "(", ")", ";", "atInsnStart", "=", "false", ";", "}", "if", "(", "atInsnStart", "&&", "strncmp", "(", "Str", ",", "MAI", ".", "getCommentString", "(", ")", ".", "data", "(", ")", ",", "MAI", ".", "getCommentString", "(", ")", ".", "size", "(", ")", ")", "==", "0", ")", "atInsnStart", "=", "false", ";", "}", "return", "Length", ";", "}", ""], "natrual_language": ["Measure", "the", "specified", "inline", "asm", "to", "determine", "an", "approximation", "of", "its", "length", "."], "TS_V_token": ["Mips", "Mips", "0", "0", "\".space\"", "6", "0", "6", "10", "\"parsed .space \"", "0"], "File": "Mips16InstrInfo24", "Func": "getInlineAsmLength", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6306, "Length": 216, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "sparc_mangle_type", "(", "const_tree", "type", ")", "{", "if", "(", "!", "TARGET_64BIT", "&&", "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": ["sparc", "\"g\""], "File": "sparc4", "Func": "sparc_mangle_type", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6307, "Length": 31, "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", ":", "{", "assert", "(", "ErrorInfo", "&&", "\"Unknown missing feature!\"", ")", ";", "std", "::", "string", "Msg", "=", "\"instruction requires:\"", ";", "unsigned", "Mask", "=", "1", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "(", "sizeof", "(", "ErrorInfo", ")", "*", "8", "-", "1", ")", ";", "++", "i", ")", "{", "if", "(", "ErrorInfo", "&", "Mask", ")", "{", "Msg", "+=", "\" \"", ";", "Msg", "+=", "getSubtargetFeatureName", "(", "ErrorInfo", "&", "Mask", ")", ";", "}", "Mask", "<<=", "1", ";", "}", "return", "Error", "(", "IDLoc", ",", "Msg", ")", ";", "}", "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\"", ")", ";", "case", "Match_ImmRange0_15", ":", "{", "SMLoc", "ErrorLoc", "=", "(", "(", "ARMOperand", "*", ")", "Operands", "[", "ErrorInfo", "]", ")", "->", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "return", "Error", "(", "ErrorLoc", ",", "\"immediate operand must be in the range [0,15]\"", ")", ";", "}", "}", "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", "\"Unknown missing feature!\"", "\"instruction requires:\"", "1", "0", "8", "1", "\" \"", "1", "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\"", "ARM", "\"immediate operand must be in the range [0,15]\"", "\"Implement any new match types added!\""], "File": "ARMAsmParser39", "Func": "MatchAndEmitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6308, "Length": 399, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MLxExpansion", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "if", "(", "skipFunction", "(", "*", "Fn", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "TII", "=", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "Fn", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "Fn", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "Fn", ".", "getRegInfo", "(", ")", ";", "const", "ARMSubtarget", "*", "STI", "=", "&", "Fn", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "if", "(", "!", "STI", "->", "isCortexA9", "(", ")", ")", "return", "false", ";", "isLikeA9", "=", "STI", "->", "isLikeA9", "(", ")", "||", "STI", "->", "isSwift", "(", ")", ";", "isSwift", "=", "STI", "->", "isSwift", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "Fn", ")", "Modified", "|=", "ExpandFPMLxInstructions", "(", "MBB", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "MLxExpansionPass26", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6309, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "rs6000_mangle_fundamental_type", "(", "tree", "type", ")", "{", "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_MAIN_VARIANT", "(", "type", ")", "==", "long_double_type_node", "&&", "TARGET_ELF", "&&", "TARGET_LONG_DOUBLE_128", "&&", "!", "TARGET_IEEEQUAD", ")", "return", "\"g\"", ";", "return", "NULL", ";", "}", ""], "natrual_language": ["AltiVec", "defines", "four", "built-in", "scalar", "types", "that", "serve", "as", "vector", "elements", ";", "we", "must", "teach", "the", "compiler", "how", "to", "mangle", "them", "."], "TS_V_token": ["rs6000", "\"U6__boolc\"", "\"U6__bools\"", "\"u7__pixel\"", "\"U6__booli\"", "\"g\""], "File": "rs60003", "Func": "rs6000_mangle_fundamental_type", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6310, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_restore_sse_regs_using_mov", "(", "HOST_WIDE_INT", "cfa_offset", ",", "bool", "maybe_eh_return", ")", "{", "unsigned", "int", "regno", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "SSE_REGNO_P", "(", "regno", ")", "&&", "ix86_save_reg", "(", "regno", ",", "maybe_eh_return", ")", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "V4SFmode", ",", "regno", ")", ";", "rtx", "mem", ";", "mem", "=", "choose_baseaddr", "(", "cfa_offset", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "V4SFmode", ",", "mem", ")", ";", "set_mem_align", "(", "mem", ",", "128", ")", ";", "emit_move_insn", "(", "reg", ",", "mem", ")", ";", "ix86_add_cfa_restore_note", "(", "NULL_RTX", ",", "reg", ",", "cfa_offset", ")", ";", "cfa_offset", "-=", "16", ";", "}", "}", ""], "natrual_language": ["Emit", "code", "to", "restore", "saved", "registers", "using", "MOV", "insns", ".", "First", "register", "is", "restored", "from", "CFA", "-", "CFA_OFFSET", "."], "TS_V_token": ["i386", "0", "128", "16"], "File": "i3864", "Func": "ix86_emit_restore_sse_regs_using_mov", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6311, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "shouldClusterMemOps", "(", "MachineInstr", "&", "FirstLdSt", ",", "unsigned", "BaseReg1", ",", "MachineInstr", "&", "SecondLdSt", ",", "unsigned", "BaseReg2", ",", "unsigned", "NumLoads", ")", "const", "{", "if", "(", "BaseReg1", "!=", "BaseReg2", ")", "return", "false", ";", "if", "(", "NumLoads", ">", "1", ")", "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", ";", "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", "2", "2", "63", "64", "\"Caller should have ordered offsets.\"", "1"], "File": "AArch64InstrInfo (2)", "Func": "shouldClusterMemOps", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6312, "Length": 202, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARM64RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "ARM64", "::", "FP", ":", "ARM64", "::", "SP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["ARM64", "ARM64", "ARM64::FP", "ARM64::SP"], "File": "ARM64RegisterInfo", "Func": "getFrameRegister", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6313, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "neon_make_constant", "(", "rtx", "vals", ",", "bool", "generate", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "vals", ")", ";", "rtx", "target", ";", "rtx", "const_vec", "=", "NULL_RTX", ";", "int", "n_elts", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "int", "n_const", "=", "0", ";", "int", "i", ";", "if", "(", "GET_CODE", "(", "vals", ")", "==", "CONST_VECTOR", ")", "const_vec", "=", "vals", ";", "else", "if", "(", "GET_CODE", "(", "vals", ")", "==", "PARALLEL", ")", "{", "for", "(", "i", "=", "0", ";", "i", "<", "n_elts", ";", "++", "i", ")", "{", "rtx", "x", "=", "XVECEXP", "(", "vals", ",", "0", ",", "i", ")", ";", "if", "(", "CONST_INT_P", "(", "x", ")", "||", "CONST_DOUBLE_P", "(", "x", ")", ")", "n_const", "++", ";", "}", "if", "(", "n_const", "==", "n_elts", ")", "const_vec", "=", "gen_rtx_CONST_VECTOR", "(", "mode", ",", "XVEC", "(", "vals", ",", "0", ")", ")", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "if", "(", "const_vec", "!=", "NULL", "&&", "simd_immediate_valid_for_move", "(", "const_vec", ",", "mode", ",", "NULL", ",", "NULL", ")", ")", "return", "const_vec", ";", "else", "if", "(", "TARGET_HAVE_MVE", "&&", "VALID_MVE_PRED_MODE", "(", "mode", ")", ")", "return", "mve_bool_vec_to_const", "(", "const_vec", ")", ";", "else", "if", "(", "(", "target", "=", "neon_vdup_constant", "(", "vals", ",", "generate", ")", ")", "!=", "NULL_RTX", ")", "return", "target", ";", "else", "if", "(", "const_vec", "!=", "NULL_RTX", ")", "return", "arm_disable_literal_pool", "?", "NULL_RTX", ":", "const_vec", ";", "else", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Generate", "code", "to", "load", "VALS", ",", "which", "is", "a", "PARALLEL", "containing", "only", "constants", "(", "for", "vec_init", ")", "or", "CONST_VECTOR", ",", "efficiently", "into", "a", "register", ".", "Returns", "an", "RTX", "to", "copy", "into", "the", "register", ",", "or", "NULL_RTX", "for", "a", "PARALLEL", "that", "can", "not", "be", "converted", "into", "a", "CONST_VECTOR", "."], "TS_V_token": ["arm", "0", "0", "0", "0"], "File": "arm1", "Func": "neon_make_constant", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6314, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86FrameLowering", "::", "getWinEHFuncletFrameSize", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "X86MachineFunctionInfo", "*", "X86FI", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "unsigned", "CSSize", "=", "X86FI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "const", "auto", "&", "WinEHXMMSlotInfo", "=", "X86FI", "->", "getWinEHXMMSlotInfo", "(", ")", ";", "unsigned", "XMMSize", "=", "WinEHXMMSlotInfo", ".", "size", "(", ")", "*", "TRI", "->", "getSpillSize", "(", "X86", "::", "VR128RegClass", ")", ";", "unsigned", "UsedSize", ";", "EHPersonality", "Personality", "=", "classifyEHPersonality", "(", "MF", ".", "getFunction", "(", ")", ".", "getPersonalityFn", "(", ")", ")", ";", "if", "(", "Personality", "==", "EHPersonality", "::", "CoreCLR", ")", "{", "UsedSize", "=", "getPSPSlotOffsetFromSP", "(", "MF", ")", "+", "SlotSize", ";", "}", "else", "{", "UsedSize", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getMaxCallFrameSize", "(", ")", ";", "}", "unsigned", "FrameSizeMinusRBP", "=", "alignTo", "(", "CSSize", "+", "UsedSize", ",", "getStackAlignment", "(", ")", ")", ";", "return", "FrameSizeMinusRBP", "+", "XMMSize", "-", "CSSize", ";", "}", ""], "natrual_language": ["Funclets", "only", "need", "to", "account", "for", "space", "for", "the", "callee", "saved", "registers", ",", "as", "the", "locals", "are", "accounted", "for", "in", "the", "parent", "'s", "stack", "frame", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86::VR128RegClass"], "File": "X86FrameLowering117", "Func": "getWinEHFuncletFrameSize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6315, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "min_insn_size", "(", "rtx_insn", "*", "insn", ")", "{", "int", "l", "=", "0", ",", "len", ";", "if", "(", "!", "INSN_P", "(", "insn", ")", "||", "!", "active_insn_p", "(", "insn", ")", ")", "return", "0", ";", "if", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "UNSPEC_VOLATILE", "&&", "XINT", "(", "PATTERN", "(", "insn", ")", ",", "1", ")", "==", "UNSPECV_ALIGN", ")", "return", "0", ";", "if", "(", "CALL_P", "(", "insn", ")", "&&", "symbolic_reference_mentioned_p", "(", "PATTERN", "(", "insn", ")", ")", "&&", "!", "SIBLING_CALL_P", "(", "insn", ")", ")", "return", "5", ";", "len", "=", "get_attr_length", "(", "insn", ")", ";", "if", "(", "len", "<=", "1", ")", "return", "1", ";", "if", "(", "!", "JUMP_P", "(", "insn", ")", ")", "{", "enum", "attr_type", "type", "=", "get_attr_type", "(", "insn", ")", ";", "switch", "(", "type", ")", "{", "case", "TYPE_MULTI", ":", "if", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "ASM_INPUT", "||", "asm_noperands", "(", "PATTERN", "(", "insn", ")", ")", ">=", "0", ")", "return", "0", ";", "break", ";", "case", "TYPE_OTHER", ":", "case", "TYPE_FCMP", ":", "break", ";", "default", ":", "return", "len", ";", "}", "l", "=", "get_attr_length_address", "(", "insn", ")", ";", "if", "(", "l", "<", "4", "&&", "symbolic_reference_mentioned_p", "(", "PATTERN", "(", "insn", ")", ")", ")", "l", "=", "4", ";", "}", "if", "(", "l", ")", "return", "1", "+", "l", ";", "else", "return", "2", ";", "}", ""], "natrual_language": ["We", "do", "n't", "have", "exact", "information", "about", "the", "insn", "sizes", ",", "but", "we", "may", "assume", "quite", "safely", "that", "we", "are", "informed", "about", "all", "1", "byte", "insns", "and", "memory", "address", "sizes", ".", "This", "is", "enough", "to", "eliminate", "unnecessary", "padding", "in", "99", "%", "of", "cases", "."], "TS_V_token": ["i386", "0", "0", "1", "0", "5", "1", "1", "0", "0", "4", "4", "1", "2"], "File": "i3864", "Func": "min_insn_size", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6316, "Length": 207, "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": 6317, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isToken", "(", ")", "const", "{", "return", "Kind", "==", "k_Token", ";", "}", ""], "natrual_language": ["isToken", "-", "Is", "this", "a", "token", "operand", "?"], "TS_V_token": ["Sparc"], "File": "SparcAsmParser11", "Func": "isToken", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6318, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "X86RegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "getInstrInfo", "(", ")", "->", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["X86", "X86"], "File": "X86Subtarget (2)", "Func": "getRegisterInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6319, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "arm_stack_offsets", "*", "arm_get_frame_offsets", "(", "void", ")", "{", "struct", "arm_stack_offsets", "*", "offsets", ";", "unsigned", "long", "func_type", ";", "int", "leaf", ";", "int", "saved", ";", "HOST_WIDE_INT", "frame_size", ";", "offsets", "=", "&", "cfun", "->", "machine", "->", "stack_offsets", ";", "if", "(", "reload_completed", ")", "return", "offsets", ";", "frame_size", "=", "ROUND_UP_WORD", "(", "get_frame_size", "(", ")", ")", ";", "leaf", "=", "leaf_function_p", "(", ")", ";", "offsets", "->", "saved_args", "=", "current_function_pretend_args_size", ";", "offsets", "->", "frame", "=", "offsets", "->", "saved_args", "+", "(", "frame_pointer_needed", "?", "4", ":", "0", ")", ";", "if", "(", "TARGET_ARM", ")", "{", "unsigned", "int", "regno", ";", "saved", "=", "bit_count", "(", "arm_compute_save_reg_mask", "(", ")", ")", "*", "4", ";", "if", "(", "TARGET_REALLY_IWMMXT", ")", "{", "for", "(", "regno", "=", "FIRST_IWMMXT_REGNUM", ";", "regno", "<=", "LAST_IWMMXT_REGNUM", ";", "regno", "++", ")", "if", "(", "regs_ever_live", "[", "regno", "]", "&&", "!", "call_used_regs", "[", "regno", "]", ")", "saved", "+=", "8", ";", "}", "func_type", "=", "arm_current_func_type", "(", ")", ";", "if", "(", "!", "IS_VOLATILE", "(", "func_type", ")", ")", "{", "for", "(", "regno", "=", "FIRST_FPA_REGNUM", ";", "regno", "<=", "LAST_FPA_REGNUM", ";", "regno", "++", ")", "if", "(", "regs_ever_live", "[", "regno", "]", "&&", "!", "call_used_regs", "[", "regno", "]", ")", "saved", "+=", "12", ";", "if", "(", "TARGET_HARD_FLOAT", "&&", "TARGET_VFP", ")", "saved", "+=", "arm_get_vfp_saved_size", "(", ")", ";", "}", "}", "else", "{", "saved", "=", "bit_count", "(", "thumb_compute_save_reg_mask", "(", ")", ")", "*", "4", ";", "if", "(", "TARGET_BACKTRACE", ")", "saved", "+=", "16", ";", "}", "offsets", "->", "saved_regs", "=", "offsets", "->", "saved_args", "+", "saved", ";", "offsets", "->", "soft_frame", "=", "offsets", "->", "saved_regs", "+", "CALLER_INTERWORKING_SLOT_SIZE", ";", "if", "(", "leaf", "&&", "frame_size", "==", "0", ")", "{", "offsets", "->", "outgoing_args", "=", "offsets", "->", "soft_frame", ";", "return", "offsets", ";", "}", "if", "(", "ARM_DOUBLEWORD_ALIGN", "&&", "(", "offsets", "->", "soft_frame", "&", "7", ")", ")", "offsets", "->", "soft_frame", "+=", "4", ";", "offsets", "->", "locals_base", "=", "offsets", "->", "soft_frame", "+", "frame_size", ";", "offsets", "->", "outgoing_args", "=", "(", "offsets", "->", "locals_base", "+", "current_function_outgoing_args_size", ")", ";", "if", "(", "ARM_DOUBLEWORD_ALIGN", ")", "{", "if", "(", "offsets", "->", "outgoing_args", "&", "7", ")", "offsets", "->", "outgoing_args", "+=", "4", ";", "gcc_assert", "(", "!", "(", "offsets", "->", "outgoing_args", "&", "7", ")", ")", ";", "}", "return", "offsets", ";", "}", ""], "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", "12", "4", "16", "0", "7", "4", "7", "4", "7"], "File": "arm3", "Func": "arm_get_frame_offsets", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6320, "Length": 333, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "loongarch_hard_regno_nregs", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "FCC_REG_P", "(", "regno", ")", ")", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "3", ")", "/", "4", ";", "if", "(", "FP_REG_P", "(", "regno", ")", ")", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_FPREG", "-", "1", ")", "/", "UNITS_PER_FPREG", ";", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_NREGS", "."], "TS_V_token": ["loongarch", "3", "4", "1", "1"], "File": "loongarch", "Func": "loongarch_hard_regno_nregs", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6321, "Length": 68, "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", "=", "TD", ".", "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", "==", "0", ")", "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", "0"], "File": "X86FastISel111", "Func": "tryToFoldLoadIntoMI", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6322, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "getReg", "(", "const", "MCDisassembler", "*", "D", ",", "unsigned", "RC", ",", "unsigned", "RegNo", ")", "{", "const", "MCRegisterInfo", "*", "RegInfo", "=", "D", "->", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "return", "*", "(", "RegInfo", "->", "getRegClass", "(", "RC", ")", ".", "begin", "(", ")", "+", "RegNo", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["Mips"], "File": "MipsDisassembler40", "Func": "getReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6323, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_reassociation_width", "(", "unsigned", "int", "opc", "ATTRIBUTE_UNUSED", ",", "enum", "machine_mode", "mode", ")", "{", "switch", "(", "rs6000_cpu", ")", "{", "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", "opc", "==", "MULT_EXPR", "?", "4", ":", "6", ";", "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", "4", "6", "4", "1"], "File": "rs60006", "Func": "rs6000_reassociation_width", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6324, "Length": 82, "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", ";", "if", "(", "auto", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "AI", "->", "getValOperand", "(", ")", ")", ")", "if", "(", "AI", "->", "getOperation", "(", ")", "==", "AtomicRMWInst", "::", "Or", "&&", "C", "->", "isZero", "(", ")", "&&", "AI", "->", "use_empty", "(", ")", ")", "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": "X86ISelLowering (2)6", "Func": "lowerIdempotentRMWIntoFencedLoad", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6325, "Length": 251, "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", ";", "unsigned", "BaseReg", ";", "int64_t", "Offset", ";", "if", "(", "TII", "->", "getMemOpBaseRegImmOfs", "(", "MI", ",", "BaseReg", ",", "Offset", ",", "TRI", ")", ")", "{", "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": "AArch64StorePairSuppress12", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6326, "Length": 260, "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": 6327, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86CmovConverterPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "if", "(", "!", "EnableCmovConverter", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** \"", "<<", "getPassName", "(", ")", "<<", "\" : \"", "<<", "MF", ".", "getName", "(", ")", "<<", "\"**********\\n\"", ")", ";", "bool", "Changed", "=", "false", ";", "MLI", "=", "&", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "const", "TargetSubtargetInfo", "&", "STI", "=", "MF", ".", "getSubtarget", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "TII", "=", "STI", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "TSchedModel", ".", "init", "(", "&", "STI", ")", ";", "if", "(", "ForceMemOperand", "||", "ForceAll", ")", "{", "CmovGroups", "AllCmovGroups", ";", "SmallVector", "<", "MachineBasicBlock", "*", ",", "4", ">", "Blocks", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "Blocks", ".", "push_back", "(", "&", "MBB", ")", ";", "if", "(", "collectCmovCandidates", "(", "Blocks", ",", "AllCmovGroups", ",", "true", ")", ")", "{", "for", "(", "auto", "&", "Group", ":", "AllCmovGroups", ")", "{", "if", "(", "ForceMemOperand", "&&", "!", "ForceAll", "&&", "llvm", "::", "none_of", "(", "Group", ",", "[", "&", "]", "(", "MachineInstr", "*", "I", ")", "{", "return", "I", "->", "mayLoad", "(", ")", ";", "}", ")", ")", "continue", ";", "Changed", "=", "true", ";", "convertCmovInstsToBranches", "(", "Group", ")", ";", "}", "}", "if", "(", "ForceAll", ")", "return", "Changed", ";", "}", "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": "X86CmovConversion (2)1", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6328, "Length": 369, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "recombine_stvx_pattern", "(", "rtx_insn", "*", "insn", ",", "del_info", "*", "to_delete", ")", "{", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "body", ")", "==", "SET", "&&", "GET_CODE", "(", "SET_DEST", "(", "body", ")", ")", "==", "MEM", "&&", "GET_CODE", "(", "SET_SRC", "(", "body", ")", ")", "==", "VEC_SELECT", ")", ";", "rtx", "mem", "=", "SET_DEST", "(", "body", ")", ";", "rtx", "base_reg", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "rtx", "and_operation", "=", "find_alignment_op", "(", "insn", ",", "base_reg", ")", ";", "if", "(", "and_operation", "!=", "0", ")", "{", "rtx", "src_reg", "=", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ";", "df_ref", "src_use", ";", "struct", "df_insn_info", "*", "insn_info", "=", "DF_INSN_INFO_GET", "(", "insn", ")", ";", "FOR_EACH_INSN_INFO_USE", "(", "src_use", ",", "insn_info", ")", "{", "if", "(", "!", "rtx_equal_p", "(", "DF_REF_REG", "(", "src_use", ")", ",", "src_reg", ")", ")", "continue", ";", "struct", "df_link", "*", "link", "=", "DF_REF_CHAIN", "(", "src_use", ")", ";", "if", "(", "!", "link", "||", "link", "->", "next", ")", "break", ";", "rtx_insn", "*", "swap_insn", "=", "DF_REF_INSN", "(", "link", "->", "ref", ")", ";", "if", "(", "!", "insn_is_swap_p", "(", "swap_insn", ")", "||", "insn_is_load_p", "(", "swap_insn", ")", "||", "insn_is_store_p", "(", "swap_insn", ")", ")", "break", ";", "to_delete", "[", "INSN_UID", "(", "swap_insn", ")", "]", ".", "replace", "=", "true", ";", "to_delete", "[", "INSN_UID", "(", "swap_insn", ")", "]", ".", "replace_insn", "=", "swap_insn", ";", "XEXP", "(", "mem", ",", "0", ")", "=", "and_operation", ";", "SET_SRC", "(", "body", ")", "=", "src_reg", ";", "INSN_CODE", "(", "insn", ")", "=", "-", "1", ";", "df_insn_rescan", "(", "insn", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"stvx opportunity found at %d\\n\"", ",", "INSN_UID", "(", "insn", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["If", "INSN", "is", "the", "store", "for", "an", "stvx", "pattern", ",", "put", "it", "in", "canonical", "form", "."], "TS_V_token": ["powerpcspe", "0", "0", "0", "0", "1", "\"stvx opportunity found at %d\\n\""], "File": "powerpcspe", "Func": "recombine_stvx_pattern", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6329, "Length": 258, "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", "(", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "MEMCPY", ")", "{", "expandMEMCPY", "(", "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.\"", "ARM::MEMCPY", "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": "ARMBaseInstrInfo (2)3", "Func": "expandPostRAPseudo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6330, "Length": 457, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "isHighLatencyDef", "(", "int", "opc", ")", "const", "{", "switch", "(", "opc", ")", "{", "default", ":", "return", "false", ";", "case", "X86", "::", "DIVSDrm", ":", "case", "X86", "::", "DIVSDrm_Int", ":", "case", "X86", "::", "DIVSDrr", ":", "case", "X86", "::", "DIVSDrr_Int", ":", "case", "X86", "::", "DIVSSrm", ":", "case", "X86", "::", "DIVSSrm_Int", ":", "case", "X86", "::", "DIVSSrr", ":", "case", "X86", "::", "DIVSSrr_Int", ":", "case", "X86", "::", "SQRTPDm", ":", "case", "X86", "::", "SQRTPDr", ":", "case", "X86", "::", "SQRTPSm", ":", "case", "X86", "::", "SQRTPSr", ":", "case", "X86", "::", "SQRTSDm", ":", "case", "X86", "::", "SQRTSDm_Int", ":", "case", "X86", "::", "SQRTSDr", ":", "case", "X86", "::", "SQRTSDr_Int", ":", "case", "X86", "::", "SQRTSSm", ":", "case", "X86", "::", "SQRTSSm_Int", ":", "case", "X86", "::", "SQRTSSr", ":", "case", "X86", "::", "SQRTSSr_Int", ":", "case", "X86", "::", "VDIVSDrm", ":", "case", "X86", "::", "VDIVSDrm_Int", ":", "case", "X86", "::", "VDIVSDrr", ":", "case", "X86", "::", "VDIVSDrr_Int", ":", "case", "X86", "::", "VDIVSSrm", ":", "case", "X86", "::", "VDIVSSrm_Int", ":", "case", "X86", "::", "VDIVSSrr", ":", "case", "X86", "::", "VDIVSSrr_Int", ":", "case", "X86", "::", "VSQRTPDm", ":", "case", "X86", "::", "VSQRTPDr", ":", "case", "X86", "::", "VSQRTPSm", ":", "case", "X86", "::", "VSQRTPSr", ":", "case", "X86", "::", "VSQRTSDm", ":", "case", "X86", "::", "VSQRTSDm_Int", ":", "case", "X86", "::", "VSQRTSDr", ":", "case", "X86", "::", "VSQRTSSm", ":", "case", "X86", "::", "VSQRTSSm_Int", ":", "case", "X86", "::", "VSQRTSSr", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "this", "opcode", "has", "high", "latency", "to", "its", "result", "."], "TS_V_token": ["X86", "X86", "X86::DIVSDrm", "X86::DIVSDrm_Int", "X86::DIVSDrr", "X86::DIVSDrr_Int", "X86::DIVSSrm", "X86::DIVSSrm_Int", "X86::DIVSSrr", "X86::DIVSSrr_Int", "X86::SQRTPDm", "X86::SQRTPDr", "X86::SQRTPSm", "X86::SQRTPSr", "X86::SQRTSDm", "X86::SQRTSDm_Int", "X86::SQRTSDr", "X86::SQRTSDr_Int", "X86::SQRTSSm", "X86::SQRTSSm_Int", "X86::SQRTSSr", "X86::SQRTSSr_Int", "X86::VDIVSDrm", "X86::VDIVSDrm_Int", "X86::VDIVSDrr", "X86::VDIVSDrr_Int", "X86::VDIVSSrm", "X86::VDIVSSrm_Int", "X86::VDIVSSrr", "X86::VDIVSSrr_Int", "X86::VSQRTPDm", "X86::VSQRTPDr", "X86::VSQRTPSm", "X86::VSQRTPSr", "X86::VSQRTSDm", "X86::VSQRTSDm_Int", "X86::VSQRTSDr", "X86::VSQRTSSm", "X86::VSQRTSSm_Int", "X86::VSQRTSSr"], "File": "X86InstrInfo116", "Func": "isHighLatencyDef", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6331, "Length": 215, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "or1k_option_override", "(", "void", ")", "{", "init_machine_status", "=", "or1k_init_machine_status", ";", "}", ""], "natrual_language": ["Worker", "for", "TARGET_OPTION_OVERRIDE", ".", "We", "currently", "only", "use", "this", "to", "setup", "init_machine_status", "."], "TS_V_token": ["or1k"], "File": "or1k", "Func": "or1k_option_override", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6332, "Length": 12, "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", ":", "\\", "if", "(", "index", ">", "7", ")", "\\", "*", "valid", "=", "0", ";", "\\", "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", "7", "0", "0x7", "5", "0"], "File": "X86DisassemblerDecoder21", "Func": "name", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6333, "Length": 297, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "getMemOperandWithOffset", "(", "MachineInstr", "&", "MemOp", ",", "MachineOperand", "*", "&", "BaseOp", ",", "int64_t", "&", "Offset", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "const", "MCInstrDesc", "&", "Desc", "=", "MemOp", ".", "getDesc", "(", ")", ";", "int", "MemRefBegin", "=", "X86II", "::", "getMemoryOperandNo", "(", "Desc", ".", "TSFlags", ")", ";", "if", "(", "MemRefBegin", "<", "0", ")", "return", "false", ";", "MemRefBegin", "+=", "X86II", "::", "getOperandBias", "(", "Desc", ")", ";", "BaseOp", "=", "&", "MemOp", ".", "getOperand", "(", "MemRefBegin", "+", "X86", "::", "AddrBaseReg", ")", ";", "if", "(", "!", "BaseOp", "->", "isReg", "(", ")", ")", "return", "false", ";", "if", "(", "MemOp", ".", "getOperand", "(", "MemRefBegin", "+", "X86", "::", "AddrScaleAmt", ")", ".", "getImm", "(", ")", "!=", "1", ")", "return", "false", ";", "if", "(", "MemOp", ".", "getOperand", "(", "MemRefBegin", "+", "X86", "::", "AddrIndexReg", ")", ".", "getReg", "(", ")", "!=", "X86", "::", "NoRegister", ")", "return", "false", ";", "const", "MachineOperand", "&", "DispMO", "=", "MemOp", ".", "getOperand", "(", "MemRefBegin", "+", "X86", "::", "AddrDisp", ")", ";", "if", "(", "!", "DispMO", ".", "isImm", "(", ")", ")", "return", "false", ";", "Offset", "=", "DispMO", ".", "getImm", "(", ")", ";", "assert", "(", "BaseOp", "->", "isReg", "(", ")", "&&", "\"getMemOperandWithOffset only supports base \"", "\"operands of type register.\"", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Get", "the", "base", "operand", "and", "byte", "offset", "of", "an", "instruction", "that", "reads/writes", "memory", "."], "TS_V_token": ["X86", "X86", "X86II::getMemoryOperandNo", "0", "X86II::getOperandBias", "X86::AddrBaseReg", "X86::AddrScaleAmt", "1", "X86::AddrIndexReg", "X86::NoRegister", "X86::AddrDisp", "\"getMemOperandWithOffset only supports base \"", "\"operands of type register.\""], "File": "X86InstrInfo1", "Func": "getMemOperandWithOffset", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6334, "Length": 190, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rx_match_ccmode", "(", "rtx", "insn", ",", "machine_mode", "cc_mode", ")", "{", "rtx", "op1", ",", "flags", ";", "machine_mode", "flags_mode", ";", "gcc_checking_assert", "(", "XVECLEN", "(", "PATTERN", "(", "insn", ")", ",", "0", ")", "==", "2", ")", ";", "op1", "=", "XVECEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ",", "0", ")", ";", "gcc_checking_assert", "(", "GET_CODE", "(", "SET_SRC", "(", "op1", ")", ")", "==", "COMPARE", ")", ";", "flags", "=", "SET_DEST", "(", "op1", ")", ";", "flags_mode", "=", "GET_MODE", "(", "flags", ")", ";", "if", "(", "GET_MODE", "(", "SET_SRC", "(", "op1", ")", ")", "!=", "flags_mode", ")", "return", "false", ";", "if", "(", "GET_MODE_CLASS", "(", "flags_mode", ")", "!=", "MODE_CC", ")", "return", "false", ";", "if", "(", "flags_from_mode", "(", "flags_mode", ")", "&", "~", "flags_from_mode", "(", "cc_mode", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["A", "helper", "function", "for", "matching", "parallels", "that", "set", "the", "flags", "."], "TS_V_token": ["rx", "0", "2", "0", "0"], "File": "rx", "Func": "rx_match_ccmode", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6335, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "Mnode", "*", "add_csky_minipool_forward_ref", "(", "Mfix", "*", "fix", ")", "{", "Mnode", "*", "max_mp", "=", "NULL", ";", "HOST_WIDE_INT", "max_address", "=", "fix", "->", "address", "+", "fix", "->", "forwards", ";", "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", "&&", "(", "GET_CODE", "(", "fix", "->", "value", ")", "!=", "CODE_LABEL", "||", "(", "CODE_LABEL_NUMBER", "(", "fix", "->", "value", ")", "==", "CODE_LABEL_NUMBER", "(", "mp", "->", "value", ")", ")", ")", "&&", "rtx_equal_p", "(", "fix", "->", "value", ",", "mp", "->", "value", ")", ")", "{", "mp", "->", "refcount", "++", ";", "return", "mp", ";", "}", "if", "(", "max_mp", "==", "NULL", "&&", "mp", "->", "max_address", ">", "max_address", ")", "max_mp", "=", "mp", ";", "}", "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_csky_constpool_label", "(", "gen_rtx_CONST_INT", "(", "VOIDmode", ",", "constpool_label_no", "++", ")", ")", ";", "}", "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": ["csky", "1", "65536"], "File": "csky", "Func": "add_csky_minipool_forward_ref", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6336, "Length": 406, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "X86TargetLowering", "::", "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", ")", "&&", "!", "F", "->", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ")", "{", "if", "(", "Size", ">=", "16", "&&", "(", "!", "Subtarget", ".", "isUnalignedMem16Slow", "(", ")", "||", "(", "(", "DstAlign", "==", "0", "||", "DstAlign", ">=", "16", ")", "&&", "(", "SrcAlign", "==", "0", "||", "SrcAlign", ">=", "16", ")", ")", ")", ")", "{", "if", "(", "Size", ">=", "32", ")", "{", "if", "(", "Subtarget", ".", "hasInt256", "(", ")", ")", "return", "MVT", "::", "v8i32", ";", "if", "(", "Subtarget", ".", "hasFp256", "(", ")", ")", "return", "MVT", "::", "v8f32", ";", "}", "if", "(", "Subtarget", ".", "hasSSE2", "(", ")", ")", "return", "MVT", "::", "v4i32", ";", "if", "(", "Subtarget", ".", "hasSSE1", "(", ")", ")", "return", "MVT", "::", "v4f32", ";", "}", "else", "if", "(", "!", "MemcpyStrSrc", "&&", "Size", ">=", "8", "&&", "!", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Subtarget", ".", "hasSSE2", "(", ")", ")", "{", "return", "MVT", "::", "f64", ";", "}", "}", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Size", ">=", "8", ")", "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": ["X86", "X86", "16", "0", "16", "0", "16", "32", "MVT::v8i32", "MVT::v8f32", "MVT::v4i32", "MVT::v4f32", "8", "MVT::f64", "8", "MVT::i64", "MVT::i32"], "File": "X86ISelLowering149", "Func": "getOptimalMemOpType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6337, "Length": 213, "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", "(", "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", "(", "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", "(", "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", "(", "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", "(", "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": "nds323", "Func": "nds32_emit_stack_v3push", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6338, "Length": 419, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "return", ";", "case", "SP", "::", "GETPCX", ":", "LowerGETPCXAndEmitMCInsts", "(", "MI", ",", "getSubtargetInfo", "(", ")", ")", ";", "return", ";", "}", "MachineBasicBlock", "::", "const_instr_iterator", "I", "=", "MI", ";", "MachineBasicBlock", "::", "const_instr_iterator", "E", "=", "MI", "->", "getParent", "(", ")", "->", "instr_end", "(", ")", ";", "do", "{", "MCInst", "TmpInst", ";", "LowerSparcMachineInstrToMCInst", "(", "I", ",", "TmpInst", ",", "*", "this", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "TmpInst", ")", ";", "}", "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": ["Sparc", "Sparc", "SP::GETPCX", "Sparc"], "File": "SparcAsmPrinter", "Func": "EmitInstruction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6339, "Length": 111, "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": "rs6000-builtin", "Func": "get_element_number", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6340, "Length": 61, "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", ")", ";", "break", ";", "case", "ISD", "::", "SRL", ":", "case", "ISD", "::", "SRA", ":", "Res", "=", "Expand64BitShift", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "break", ";", "case", "ISD", "::", "READCYCLECOUNTER", ":", "ReplaceREADCYCLECOUNTER", "(", "N", ",", "Results", ",", "DAG", ",", "Subtarget", ")", ";", "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::READCYCLECOUNTER"], "File": "ARMISelLowering132", "Func": "ReplaceNodeResults", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6341, "Length": 131, "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": 6342, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "Cpu0TargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "Cpu0PassConfig", "(", "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": ["Cpu0", "Cpu0", "Cpu0"], "File": "Cpu0TargetMachine1", "Func": "createPassConfig", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6343, "Length": 21, "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", "(", "INSN_CODE", "(", "consumer", ")", "==", "CODE_FOR_divmodsi4", "||", "INSN_CODE", "(", "consumer", ")", "==", "CODE_FOR_udivmodsi4", ")", "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-auxiliary5", "Func": "n9_3r2w_consumed_by_ex_dep_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6344, "Length": 218, "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": 6345, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "timode_scalar_chain", "::", "convert_op", "(", "rtx", "*", "op", ",", "rtx_insn", "*", "insn", ")", "{", "if", "(", "GET_MODE", "(", "*", "op", ")", "==", "V1TImode", ")", "return", ";", "*", "op", "=", "copy_rtx_if_shared", "(", "*", "op", ")", ";", "if", "(", "REG_P", "(", "*", "op", ")", ")", "*", "op", "=", "gen_rtx_SUBREG", "(", "V1TImode", ",", "*", "op", ",", "0", ")", ";", "else", "if", "(", "MEM_P", "(", "*", "op", ")", ")", "{", "rtx", "tmp", "=", "gen_reg_rtx", "(", "V1TImode", ")", ";", "emit_insn_before", "(", "gen_rtx_SET", "(", "tmp", ",", "gen_gpr_to_xmm_move_src", "(", "V1TImode", ",", "*", "op", ")", ")", ",", "insn", ")", ";", "*", "op", "=", "tmp", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\" Preloading operand for insn %d into r%d\\n\"", ",", "INSN_UID", "(", "insn", ")", ",", "REGNO", "(", "tmp", ")", ")", ";", "}", "else", "if", "(", "CONST_SCALAR_INT_P", "(", "*", "op", ")", ")", "{", "rtx", "vec_cst", ";", "rtx", "tmp", "=", "gen_reg_rtx", "(", "V1TImode", ")", ";", "if", "(", "constm1_operand", "(", "*", "op", ",", "TImode", ")", ")", "vec_cst", "=", "CONSTM1_RTX", "(", "V1TImode", ")", ";", "else", "{", "rtx", "*", "v", "=", "XALLOCAVEC", "(", "rtx", ",", "1", ")", ";", "v", "[", "0", "]", "=", "*", "op", ";", "vec_cst", "=", "gen_rtx_CONST_VECTOR", "(", "V1TImode", ",", "gen_rtvec_v", "(", "1", ",", "v", ")", ")", ";", "}", "if", "(", "!", "standard_sse_constant_p", "(", "vec_cst", ",", "V1TImode", ")", ")", "{", "start_sequence", "(", ")", ";", "vec_cst", "=", "validize_mem", "(", "force_const_mem", "(", "V1TImode", ",", "vec_cst", ")", ")", ";", "rtx_insn", "*", "seq", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "emit_insn_before", "(", "seq", ",", "insn", ")", ";", "}", "emit_insn_before", "(", "gen_move_insn", "(", "tmp", ",", "vec_cst", ")", ",", "insn", ")", ";", "*", "op", "=", "tmp", ";", "}", "else", "{", "gcc_assert", "(", "SUBREG_P", "(", "*", "op", ")", ")", ";", "gcc_assert", "(", "GET_MODE", "(", "*", "op", ")", "==", "vmode", ")", ";", "}", "}", ""], "natrual_language": ["Convert", "operand", "OP", "in", "INSN", ".", "We", "should", "handle", "memory", "operands", "and", "uninitialized", "registers", ".", "All", "other", "register", "uses", "are", "converted", "during", "registers", "conversion", "."], "TS_V_token": ["i386", "0", "\" Preloading operand for insn %d into r%d\\n\"", "1", "0", "1"], "File": "i386-features1", "Func": "convert_op", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6346, "Length": 282, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_reinterpret_float_as_int", "(", "rtx", "value", ",", "unsigned", "HOST_WIDE_INT", "*", "intval", ")", "{", "if", "(", "aarch64_float_const_zero_rtx_p", "(", "value", ")", ")", "{", "*", "intval", "=", "0", ";", "return", "true", ";", "}", "scalar_float_mode", "mode", ";", "if", "(", "GET_CODE", "(", "value", ")", "!=", "CONST_DOUBLE", "||", "!", "is_a", "<", "scalar_float_mode", ">", "(", "GET_MODE", "(", "value", ")", ",", "&", "mode", ")", "||", "GET_MODE_BITSIZE", "(", "mode", ")", ">", "HOST_BITS_PER_WIDE_INT", "||", "GET_MODE_BITSIZE", "(", "mode", ")", ">", "GET_MODE_BITSIZE", "(", "DFmode", ")", ")", "return", "false", ";", "unsigned", "HOST_WIDE_INT", "ival", "=", "0", ";", "long", "res", "[", "2", "]", ";", "real_to_target", "(", "res", ",", "CONST_DOUBLE_REAL_VALUE", "(", "value", ")", ",", "REAL_MODE_FORMAT", "(", "mode", ")", ")", ";", "if", "(", "mode", "==", "DFmode", ")", "{", "int", "order", "=", "BYTES_BIG_ENDIAN", "?", "1", ":", "0", ";", "ival", "=", "zext_hwi", "(", "res", "[", "order", "]", ",", "32", ")", ";", "ival", "|=", "(", "zext_hwi", "(", "res", "[", "1", "-", "order", "]", ",", "32", ")", "<<", "32", ")", ";", "}", "else", "ival", "=", "zext_hwi", "(", "res", "[", "0", "]", ",", "32", ")", ";", "*", "intval", "=", "ival", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "the", "binary", "representation", "of", "floating", "point", "constant", "VALUE", "in", "INTVAL", ".", "If", "the", "value", "can", "not", "be", "converted", ",", "return", "false", "without", "setting", "INTVAL", ".", "The", "conversion", "is", "done", "in", "the", "given", "MODE", "."], "TS_V_token": ["aarch64", "0", "0", "2", "1", "0", "32", "1", "32", "32", "0", "32"], "File": "aarch64", "Func": "aarch64_reinterpret_float_as_int", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6347, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64SelectionDAGInfo", "::", "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", "{", "const", "AArch64Subtarget", "&", "STI", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ";", "if", "(", "STI", ".", "hasMOPS", "(", ")", ")", "return", "EmitMOPS", "(", "AArch64ISD", "::", "MOPS_MEMCOPY", ",", "DAG", ",", "DL", ",", "Chain", ",", "Dst", ",", "Src", ",", "Size", ",", "Alignment", ",", "isVolatile", ",", "DstPtrInfo", ",", "SrcPtrInfo", ")", ";", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memcpy", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64ISD::MOPS_MEMCOPY"], "File": "AArch64SelectionDAGInfo25", "Func": "EmitTargetCodeForMemcpy", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6348, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"AArch64PostLegalizerLowering\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64", "\"AArch64PostLegalizerLowering\""], "File": "AArch64PostLegalizerLowering", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6349, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "CSKYTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected instr type to insert\"", ")", ";", "case", "CSKY", "::", "ISEL32", ":", "return", "emitSelectPseudo", "(", "MI", ",", "BB", ",", "CSKY", "::", "BT32", ")", ";", "case", "CSKY", "::", "ISEL16", ":", "return", "emitSelectPseudo", "(", "MI", ",", "BB", ",", "CSKY", "::", "BT16", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["CSKY", "CSKY", "\"Unexpected instr type to insert\"", "CSKY::ISEL32", "CSKY::BT32", "CSKY::ISEL16", "CSKY::BT16"], "File": "CSKYISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6350, "Length": 68, "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", "(", ")", ";", "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": "X86FixupLEAs13", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6351, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64Subtarget", "::", "AArch64Subtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "const", "TargetMachine", "&", "TM", ",", "bool", "LittleEndian", ")", ":", "AArch64GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "ARMProcFamily", "(", "Others", ")", ",", "HasFPARMv8", "(", "false", ")", ",", "HasNEON", "(", "false", ")", ",", "HasCrypto", "(", "false", ")", ",", "HasCRC", "(", "false", ")", ",", "HasZeroCycleRegMove", "(", "false", ")", ",", "HasZeroCycleZeroing", "(", "false", ")", ",", "CPUString", "(", "CPU", ")", ",", "TargetTriple", "(", "TT", ")", ",", "DL", "(", "isTargetMachO", "(", ")", "?", "\"e-m:o-i64:64-i128:128-n32:64-S128\"", ":", "(", "LittleEndian", "?", "\"e-m:e-i64:64-i128:128-n32:64-S128\"", ":", "\"E-m:e-i64:64-i128:128-n32:64-S128\"", ")", ")", ",", "FrameLowering", "(", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "FS", ")", ")", ",", "TSInfo", "(", "&", "DL", ")", ",", "TLInfo", "(", "TM", ")", "{", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "\"e-m:o-i64:64-i128:128-n32:64-S128\"", "\"e-m:e-i64:64-i128:128-n32:64-S128\"", "\"E-m:e-i64:64-i128:128-n32:64-S128\""], "File": "AArch64Subtarget35", "Func": "AArch64Subtarget", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6352, "Length": 129, "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": 6353, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "VESubtarget", "::", "getAdjustedFrameSize", "(", "uint64_t", "FrameSize", ")", "const", "{", "const", "VEFrameLowering", "*", "TFL", "=", "getFrameLowering", "(", ")", ";", "FrameSize", "+=", "getRsaSize", "(", ")", ";", "FrameSize", "=", "alignTo", "(", "FrameSize", ",", "TFL", "->", "getStackAlign", "(", ")", ")", ";", "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": ["VE", "VE", "VE"], "File": "VESubtarget2", "Func": "getAdjustedFrameSize", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6354, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0AsmPrinter", "::", "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", "Cpu0", "::", "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", ";", "}", "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": ["Cpu0", "Cpu0", "128", "4", "Cpu0::CPRESTORE", "0", "\"CPRESTORE's operand must be an immediate.\"", "16", "4"], "File": "Cpu0AsmPrinter1", "Func": "EmitInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6355, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "function_arg_record_value_1", "(", "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_1", "(", "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", ")", "{", "if", "(", "parms", "->", "intoffset", "!=", "-", "1", ")", "{", "unsigned", "int", "startbit", ",", "endbit", ";", "int", "intslots", ",", "this_slotno", ";", "startbit", "=", "parms", "->", "intoffset", "&", "-", "BITS_PER_WORD", ";", "endbit", "=", "(", "bitpos", "+", "BITS_PER_WORD", "-", "1", ")", "&", "-", "BITS_PER_WORD", ";", "intslots", "=", "(", "endbit", "-", "startbit", ")", "/", "BITS_PER_WORD", ";", "this_slotno", "=", "parms", "->", "slotno", "+", "parms", "->", "intoffset", "/", "BITS_PER_WORD", ";", "if", "(", "intslots", ">", "0", "&&", "intslots", ">", "SPARC_INT_ARG_MAX", "-", "this_slotno", ")", "{", "intslots", "=", "MAX", "(", "0", ",", "SPARC_INT_ARG_MAX", "-", "this_slotno", ")", ";", "parms", "->", "stack", "=", "1", ";", "}", "parms", "->", "nregs", "+=", "intslots", ";", "parms", "->", "intoffset", "=", "-", "1", ";", "}", "if", "(", "TREE_CODE", "(", "TREE_TYPE", "(", "field", ")", ")", "==", "VECTOR_TYPE", "&&", "DECL_MODE", "(", "field", ")", "==", "BLKmode", ")", "parms", "->", "nregs", "+=", "TYPE_VECTOR_SUBPARTS", "(", "TREE_TYPE", "(", "field", ")", ")", ";", "else", "if", "(", "TREE_CODE", "(", "TREE_TYPE", "(", "field", ")", ")", "==", "COMPLEX_TYPE", ")", "parms", "->", "nregs", "+=", "2", ";", "else", "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", "determine", "how", "many", "registers", "will", "be", "required", "."], "TS_V_token": ["sparc", "0", "1", "1", "1", "0", "0", "1", "1", "2", "1", "1"], "File": "sparc3", "Func": "function_arg_record_value_1", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6356, "Length": 393, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZPostRASchedStrategy", "::", "enterMBB", "(", "MachineBasicBlock", "*", "NextMBB", ")", "{", "assert", "(", "(", "SchedStates", ".", "find", "(", "NextMBB", ")", "==", "SchedStates", ".", "end", "(", ")", ")", "&&", "\"Entering MBB twice?\"", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"** Entering \"", "<<", "printMBBReference", "(", "*", "NextMBB", ")", ")", ";", "MBB", "=", "NextMBB", ";", "HazardRec", "=", "SchedStates", "[", "MBB", "]", "=", "new", "SystemZHazardRecognizer", "(", "TII", ",", "&", "SchedModel", ")", ";", "LLVM_DEBUG", "(", "const", "MachineLoop", "*", "Loop", "=", "MLI", "->", "getLoopFor", "(", "MBB", ")", ";", "if", "(", "Loop", "&&", "Loop", "->", "getHeader", "(", ")", "==", "MBB", ")", "dbgs", "(", ")", "<<", "\" (Loop header)\"", ";", "dbgs", "(", ")", "<<", "\":\\n\"", ";", ")", ";", "MachineBasicBlock", "*", "SinglePredMBB", "=", "getSingleSchedPred", "(", "MBB", ",", "MLI", "->", "getLoopFor", "(", "MBB", ")", ")", ";", "if", "(", "SinglePredMBB", "==", "nullptr", "||", "SchedStates", ".", "find", "(", "SinglePredMBB", ")", "==", "SchedStates", ".", "end", "(", ")", ")", "return", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"** Continued scheduling from \"", "<<", "printMBBReference", "(", "*", "SinglePredMBB", ")", "<<", "\"\\n\"", ";", ")", ";", "HazardRec", "->", "copyState", "(", "SchedStates", "[", "SinglePredMBB", "]", ")", ";", "LLVM_DEBUG", "(", "HazardRec", "->", "dumpState", "(", ")", ";", ")", ";", "for", "(", "MachineInstr", "&", "MI", ":", "SinglePredMBB", "->", "terminators", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"** Emitting incoming branch: \"", ";", "MI", ".", "dump", "(", ")", ";", ")", ";", "bool", "TakenBranch", "=", "(", "MI", ".", "isBranch", "(", ")", "&&", "(", "TII", "->", "getBranchInfo", "(", "MI", ")", ".", "isIndirect", "(", ")", "||", "TII", "->", "getBranchInfo", "(", "MI", ")", ".", "getMBBTarget", "(", ")", "==", "MBB", ")", ")", ";", "HazardRec", "->", "emitInstruction", "(", "&", "MI", ",", "TakenBranch", ")", ";", "if", "(", "TakenBranch", ")", "break", ";", "}", "}", ""], "natrual_language": ["Tell", "the", "strategy", "that", "MBB", "is", "about", "to", "be", "processed", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"Entering MBB twice?\"", "\"** Entering \"", "SystemZ", "\" (Loop header)\"", "\":\\n\"", "\"** Continued scheduling from \"", "\"\\n\"", "\"** Emitting incoming branch: \""], "File": "SystemZMachineScheduler6", "Func": "enterMBB", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6357, "Length": 264, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "shouldBuildRelLookupTables", "(", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "lookup", "tables", "should", "be", "turned", "into", "relative", "lookup", "tables", "."], "TS_V_token": ["VE"], "File": "VETargetTransformInfo", "Func": "shouldBuildRelLookupTables", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6358, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TOYPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createTOYPreEmit", "(", ")", ")", ";", "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": ["TOY", "TOY", "TOY"], "File": "TOYTargetMachine", "Func": "addPreEmitPass", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6359, "Length": 18, "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": ["Mips"], "File": "MipsDisassembler19", "Func": "getRegInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6360, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "arm_output_shift", "(", "rtx", "*", "operands", ",", "int", "set_flags", ")", "{", "char", "pattern", "[", "100", "]", ";", "static", "const", "char", "flag_chars", "[", "3", "]", "=", "{", "'?'", ",", "'.'", ",", "'!'", "}", ";", "const", "char", "*", "shift", ";", "HOST_WIDE_INT", "val", ";", "char", "c", ";", "c", "=", "flag_chars", "[", "set_flags", "]", ";", "shift", "=", "shift_op", "(", "operands", "[", "3", "]", ",", "&", "val", ")", ";", "if", "(", "shift", ")", "{", "if", "(", "val", "!=", "-", "1", ")", "operands", "[", "2", "]", "=", "GEN_INT", "(", "val", ")", ";", "sprintf", "(", "pattern", ",", "\"%s%%%c\\t%%0, %%1, %%2\"", ",", "shift", ",", "c", ")", ";", "}", "else", "sprintf", "(", "pattern", ",", "\"mov%%%c\\t%%0, %%1\"", ",", "c", ")", ";", "output_asm_insn", "(", "pattern", ",", "operands", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "assembly", "for", "a", "shift", "instruction", ".", "SET_FLAGS", "determines", "how", "the", "instruction", "modifies", "the", "condition", "codes", ".", "0", "-", "Do", "not", "set", "condition", "codes", ".", "1", "-", "Set", "condition", "codes", ".", "2", "-", "Use", "smallest", "instruction", "."], "TS_V_token": ["arm", "100", "3", "3", "1", "2", "\"%s%%%c\\t%%0, %%1, %%2\"", "\"mov%%%c\\t%%0, %%1\"", "\"\""], "File": "arm", "Func": "arm_output_shift", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6361, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "type_suffix_index", "find_type_suffix_for_scalar_type", "(", "const_tree", "type", ")", "{", "for", "(", "unsigned", "int", "suffix_i", "=", "0", ";", "suffix_i", "<", "NUM_TYPE_SUFFIXES", ";", "++", "suffix_i", ")", "if", "(", "!", "type_suffixes", "[", "suffix_i", "]", ".", "bool_p", ")", "{", "vector_type_index", "vector_i", "=", "type_suffixes", "[", "suffix_i", "]", ".", "vector_type", ";", "if", "(", "matches_type_p", "(", "scalar_types", "[", "vector_i", "]", ",", "type", ")", ")", "return", "type_suffix_index", "(", "suffix_i", ")", ";", "}", "return", "NUM_TYPE_SUFFIXES", ";", "}", ""], "natrual_language": ["If", "TYPE", "is", "a", "valid", "SVE", "element", "type", ",", "return", "the", "corresponding", "type", "suffix", ",", "otherwise", "return", "NUM_TYPE_SUFFIXES", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64-sve-builtins", "Func": "find_type_suffix_for_scalar_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6362, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "DLXInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "StringRef", "(", "getRegisterName", "(", "RegNo", ")", ")", ".", "lower", "(", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXInstPrinter", "Func": "printRegName", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6363, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_unspec_call", "(", "rtx", "reg", ",", "rtx", "symbol", ")", "{", "rtvec", "vec", ";", "vec", "=", "gen_rtvec", "(", "3", ",", "reg", ",", "symbol", ",", "gen_rtx_REG", "(", "SImode", ",", "GOT_VERSION_REGNUM", ")", ")", ";", "return", "gen_rtx_UNSPEC", "(", "Pmode", ",", "vec", ",", "UNSPEC_LOAD_CALL", ")", ";", "}", ""], "natrual_language": ["Return", "the", "RHS", "of", "a", "load_call", "<", "mode", ">", "insn", "."], "TS_V_token": ["mips", "3"], "File": "mips", "Func": "mips_unspec_call", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6364, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "return", "LowerOperationWrapper", "(", "N", ",", "Results", ",", "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": ["Mips", "Mips"], "File": "MipsISelLowering (2)", "Func": "ReplaceNodeResults", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6365, "Length": 33, "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": 6366, "Length": 424, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "hasReassociableSibling", "(", "const", "MachineInstr", "&", "Inst", ",", "bool", "&", "Commuted", ")", "{", "const", "MachineBasicBlock", "*", "MBB", "=", "Inst", ".", "getParent", "(", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MBB", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MachineInstr", "*", "MI1", "=", "MRI", ".", "getUniqueVRegDef", "(", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ";", "MachineInstr", "*", "MI2", "=", "MRI", ".", "getUniqueVRegDef", "(", "Inst", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ";", "unsigned", "AssocOpcode", "=", "Inst", ".", "getOpcode", "(", ")", ";", "Commuted", "=", "MI1", "->", "getOpcode", "(", ")", "!=", "AssocOpcode", "&&", "MI2", "->", "getOpcode", "(", ")", "==", "AssocOpcode", ";", "if", "(", "Commuted", ")", "std", "::", "swap", "(", "MI1", ",", "MI2", ")", ";", "if", "(", "MI1", "->", "getOpcode", "(", ")", "==", "AssocOpcode", "&&", "hasReassociableOperands", "(", "*", "MI1", ",", "MBB", ")", "&&", "MRI", ".", "hasOneNonDBGUse", "(", "MI1", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "when", "\\P", "Inst", "has", "reassociable", "sibling", "."], "TS_V_token": ["X86", "1", "2", "0"], "File": "X86InstrInfo123", "Func": "hasReassociableSibling", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6367, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "X86RegisterInfo", "::", "getMatchingSuperRegClass", "(", "const", "TargetRegisterClass", "*", "A", ",", "const", "TargetRegisterClass", "*", "B", ",", "unsigned", "SubIdx", ")", "const", "{", "if", "(", "!", "Is64Bit", "&&", "SubIdx", "==", "X86", "::", "sub_8bit", ")", "{", "A", "=", "X86GenRegisterInfo", "::", "getSubClassWithSubReg", "(", "A", ",", "X86", "::", "sub_8bit_hi", ")", ";", "if", "(", "!", "A", ")", "return", "nullptr", ";", "}", "return", "X86GenRegisterInfo", "::", "getMatchingSuperRegClass", "(", "A", ",", "B", ",", "SubIdx", ")", ";", "}", ""], "natrual_language": ["getMatchingSuperRegClass", "-", "Return", "a", "subclass", "of", "the", "specified", "register", "class", "A", "so", "that", "each", "register", "in", "it", "has", "a", "sub-register", "of", "the", "specified", "sub-register", "index", "which", "is", "in", "the", "specified", "register", "class", "B", "."], "TS_V_token": ["X86", "X86", "X86::sub_8bit", "X86", "X86::sub_8bit_hi", "X86"], "File": "X86RegisterInfo (2)", "Func": "getMatchingSuperRegClass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6368, "Length": 69, "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", "(", "DECIMAL_FLOAT_MODE_P", "(", "innermode", ")", ")", "return", "mode", ";", "if", "(", "TREE_CODE", "(", "TREE_TYPE", "(", "type", ")", ")", "==", "REAL_TYPE", ")", "mode", "=", "MIN_MODE_VECTOR_FLOAT", ";", "else", "mode", "=", "MIN_MODE_VECTOR_INT", ";", "FOR_EACH_MODE_FROM", "(", "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", ")", "&&", "(", "!", "cfun", "||", "cfun", "->", "machine", "->", "func_type", "==", "TYPE_NORMAL", ")", "&&", "!", "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": "i386", "Func": "type_natural_mode", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6369, "Length": 505, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "write_type_node", "(", "char", "*", "tok", ",", "bool", "indent", ")", "{", "if", "(", "indent", ")", "fprintf", "(", "init_file", ",", "\" \"", ")", ";", "typemap", "*", "entry", "=", "(", "typemap", "*", ")", "bsearch", "(", "tok", ",", "type_map", ",", "sizeof", "type_map", "/", "sizeof", "type_map", "[", "0", "]", ",", "sizeof", "(", "typemap", ")", ",", "typemap_cmp", ")", ";", "if", "(", "!", "entry", ")", "fatal", "(", "\"Type map is inconsistent.\"", ")", ";", "fprintf", "(", "init_file", ",", "\"%s_type_node\"", ",", "entry", "->", "value", ")", ";", "}", ""], "natrual_language": ["Write", "the", "type", "node", "corresponding", "to", "TOK", "."], "TS_V_token": ["rs6000", "\" \"", "0", "\"Type map is inconsistent.\"", "\"%s_type_node\""], "File": "rs6000-gen-builtins", "Func": "write_type_node", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6370, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_can_change_mode_class", "(", "machine_mode", "from", ",", "machine_mode", "to", ",", "reg_class_t", "rclass", ")", "{", "if", "(", "TARGET_BIG_END", "&&", "!", "(", "GET_MODE_SIZE", "(", "from", ")", "==", "16", "&&", "GET_MODE_SIZE", "(", "to", ")", "==", "8", ")", "&&", "(", "GET_MODE_SIZE", "(", "from", ")", ">", "UNITS_PER_WORD", "||", "GET_MODE_SIZE", "(", "to", ")", ">", "UNITS_PER_WORD", ")", "&&", "reg_classes_intersect_p", "(", "VFP_REGS", ",", "rclass", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CAN_CHANGE_MODE_CLASS", ".", "In", "VFPv1", ",", "VFP", "registers", "could", "only", "be", "accessed", "in", "the", "mode", "they", "were", "set", ",", "so", "subregs", "would", "be", "invalid", "there", ".", "However", ",", "we", "do", "n't", "support", "VFPv1", "at", "the", "moment", ",", "and", "the", "restriction", "was", "lifted", "in", "VFPv2", ".", "In", "big-endian", "mode", ",", "modes", "greater", "than", "word", "size", "(", "i.e", ".", "DFmode", ")", "are", "stored", "in", "VFP", "registers", "in", "little-endian", "order", ".", "We", "ca", "n't", "describe", "that", "accurately", "to", "GCC", ",", "so", "avoid", "taking", "subregs", "of", "such", "values", ".", "The", "only", "exception", "is", "going", "from", "a", "128-bit", "to", "a", "64-bit", "type", ".", "In", "that", "case", "the", "data", "layout", "happens", "to", "be", "consistent", "for", "big-endian", ",", "so", "we", "explicitly", "allow", "that", "case", "."], "TS_V_token": ["arm", "16", "8"], "File": "arm", "Func": "arm_can_change_mode_class", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6371, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mips_register_move_cost", "(", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "enum", "reg_class", "to", ",", "enum", "reg_class", "from", ")", "{", "if", "(", "from", "==", "M16_REGS", "&&", "GR_REG_CLASS_P", "(", "to", ")", ")", "return", "2", ";", "else", "if", "(", "from", "==", "M16_NA_REGS", "&&", "GR_REG_CLASS_P", "(", "to", ")", ")", "return", "2", ";", "else", "if", "(", "GR_REG_CLASS_P", "(", "from", ")", ")", "{", "if", "(", "to", "==", "M16_REGS", ")", "return", "2", ";", "else", "if", "(", "to", "==", "M16_NA_REGS", ")", "return", "2", ";", "else", "if", "(", "GR_REG_CLASS_P", "(", "to", ")", ")", "{", "if", "(", "TARGET_MIPS16", ")", "return", "4", ";", "else", "return", "2", ";", "}", "else", "if", "(", "to", "==", "FP_REGS", ")", "return", "4", ";", "else", "if", "(", "reg_class_subset_p", "(", "to", ",", "ACC_REGS", ")", ")", "{", "if", "(", "TARGET_MIPS16", ")", "return", "12", ";", "else", "return", "6", ";", "}", "else", "if", "(", "COP_REG_CLASS_P", "(", "to", ")", ")", "{", "return", "5", ";", "}", "}", "else", "if", "(", "from", "==", "FP_REGS", ")", "{", "if", "(", "GR_REG_CLASS_P", "(", "to", ")", ")", "return", "4", ";", "else", "if", "(", "to", "==", "FP_REGS", ")", "return", "2", ";", "else", "if", "(", "to", "==", "ST_REGS", ")", "return", "8", ";", "}", "else", "if", "(", "reg_class_subset_p", "(", "from", ",", "ACC_REGS", ")", ")", "{", "if", "(", "GR_REG_CLASS_P", "(", "to", ")", ")", "{", "if", "(", "TARGET_MIPS16", ")", "return", "12", ";", "else", "return", "6", ";", "}", "}", "else", "if", "(", "from", "==", "ST_REGS", "&&", "GR_REG_CLASS_P", "(", "to", ")", ")", "return", "4", ";", "else", "if", "(", "COP_REG_CLASS_P", "(", "from", ")", ")", "{", "return", "5", ";", "}", "return", "12", ";", "}", ""], "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": ["mips", "2", "2", "2", "2", "4", "2", "4", "12", "6", "5", "4", "2", "8", "12", "6", "4", "5", "12"], "File": "mips3", "Func": "mips_register_move_cost", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6372, "Length": 245, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ia64_expand_call", "(", "rtx", "retval", ",", "rtx", "addr", ",", "rtx", "nextarg", "ATTRIBUTE_UNUSED", ",", "int", "sibcall_p", ")", "{", "rtx", "insn", ",", "b0", ";", "addr", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "addr", "=", "convert_memory_address", "(", "DImode", ",", "addr", ")", ";", "b0", "=", "gen_rtx_REG", "(", "DImode", ",", "R_BR", "(", "0", ")", ")", ";", "if", "(", "TARGET_NO_PIC", "||", "TARGET_AUTO_PIC", ")", "{", "if", "(", "sibcall_p", ")", "insn", "=", "gen_sibcall_nogp", "(", "addr", ")", ";", "else", "if", "(", "!", "retval", ")", "insn", "=", "gen_call_nogp", "(", "addr", ",", "b0", ")", ";", "else", "insn", "=", "gen_call_value_nogp", "(", "retval", ",", "addr", ",", "b0", ")", ";", "insn", "=", "emit_call_insn", "(", "insn", ")", ";", "}", "else", "{", "if", "(", "sibcall_p", ")", "insn", "=", "gen_sibcall_gp", "(", "addr", ")", ";", "else", "if", "(", "!", "retval", ")", "insn", "=", "gen_call_gp", "(", "addr", ",", "b0", ")", ";", "else", "insn", "=", "gen_call_value_gp", "(", "retval", ",", "addr", ",", "b0", ")", ";", "insn", "=", "emit_call_insn", "(", "insn", ")", ";", "use_reg", "(", "&", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ",", "pic_offset_table_rtx", ")", ";", "}", "if", "(", "sibcall_p", ")", "use_reg", "(", "&", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ",", "b0", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "appropriate", "sequence", "for", "a", "call", "."], "TS_V_token": ["ia64", "0", "0"], "File": "ia643", "Func": "ia64_expand_call", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6373, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_compat_aligned_value_p", "(", "const_tree", "type", ")", "{", "machine_mode", "mode", "=", "TYPE_MODE", "(", "type", ")", ";", "if", "(", "(", "(", "TARGET_SSE", "&&", "SSE_REG_MODE_P", "(", "mode", ")", ")", "||", "mode", "==", "TDmode", "||", "mode", "==", "TFmode", "||", "mode", "==", "TCmode", ")", "&&", "(", "!", "TYPE_USER_ALIGN", "(", "type", ")", "||", "TYPE_ALIGN", "(", "type", ")", ">", "128", ")", ")", "return", "true", ";", "if", "(", "TYPE_ALIGN", "(", "type", ")", "<", "128", ")", "return", "false", ";", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "switch", "(", "TREE_CODE", "(", "type", ")", ")", "{", "case", "RECORD_TYPE", ":", "case", "UNION_TYPE", ":", "case", "QUAL_UNION_TYPE", ":", "{", "tree", "field", ";", "for", "(", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";", "field", ";", "field", "=", "DECL_CHAIN", "(", "field", ")", ")", "{", "if", "(", "TREE_CODE", "(", "field", ")", "==", "FIELD_DECL", "&&", "ix86_compat_aligned_value_p", "(", "TREE_TYPE", "(", "field", ")", ")", ")", "return", "true", ";", "}", "break", ";", "}", "case", "ARRAY_TYPE", ":", "if", "(", "ix86_compat_aligned_value_p", "(", "TREE_TYPE", "(", "type", ")", ")", ")", "return", "true", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "when", "TYPE", "should", "be", "128bit", "aligned", "for", "32bit", "argument", "passing", "ABI", ".", "XXX", ":", "This", "function", "is", "obsolete", "and", "is", "only", "used", "for", "checking", "psABI", "compatibility", "with", "previous", "versions", "of", "GCC", "."], "TS_V_token": ["i386", "128", "128"], "File": "i386", "Func": "ix86_compat_aligned_value_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6374, "Length": 173, "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", "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", "(", "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", ")", ";", "}", "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\"", "\"use-soft-float\"", "\"use-soft-float\"", "\"true\"", "Mips", "\"+mips16\"", "\",+mips16\"", "Mips", "\"-mips16\"", "\",-mips16\"", "\"+soft-float\"", "\",+soft-float\"", "Mips"], "File": "MipsTargetMachine2", "Func": "getSubtargetImpl", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6375, "Length": 248, "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_nondebug_insn_bb", ")", ";", "set_of_reg", "t_after_negc", "=", "sh_find_set_of_reg", "(", "get_t_reg_rtx", "(", ")", ",", "curr_insn", ",", "next_nonnote_nondebug_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", ")", "&&", "!", "modified_between_p", "(", "get_t_reg_rtx", "(", ")", ",", "curr_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": "sh", "Func": "sh_split_movrt_negc_to_movt_xor", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6376, "Length": 193, "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", ")", ",", "PICStyle", "(", "PICStyles", "::", "None", ")", ",", "X86SSELevel", "(", "NoMMXSSE", ")", ",", "X863DNowLevel", "(", "NoThreeDNow", ")", ",", "HasCMov", "(", "false", ")", ",", "HasX86_64", "(", "false", ")", ",", "HasPOPCNT", "(", "false", ")", ",", "HasSSE4A", "(", "false", ")", ",", "HasAES", "(", "false", ")", ",", "HasCLMUL", "(", "false", ")", ",", "HasFMA3", "(", "false", ")", ",", "HasFMA4", "(", "false", ")", ",", "HasXOP", "(", "false", ")", ",", "HasMOVBE", "(", "false", ")", ",", "HasRDRAND", "(", "false", ")", ",", "HasF16C", "(", "false", ")", ",", "HasFSGSBase", "(", "false", ")", ",", "HasLZCNT", "(", "false", ")", ",", "HasBMI", "(", "false", ")", ",", "HasBMI2", "(", "false", ")", ",", "IsBTMemSlow", "(", "false", ")", ",", "IsUAMemFast", "(", "false", ")", ",", "HasVectorUAMem", "(", "false", ")", ",", "HasCmpxchg16b", "(", "false", ")", ",", "stackAlignment", "(", "4", ")", ",", "MaxInlineSizeThreshold", "(", "128", ")", ",", "TargetTriple", "(", "TT", ")", ",", "In64BitMode", "(", "is64Bit", ")", "{", "if", "(", "!", "FS", ".", "empty", "(", ")", "||", "!", "CPU", ".", "empty", "(", ")", ")", "{", "std", "::", "string", "CPUName", "=", "CPU", ";", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "{", "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", "{", "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", ")", ";", "}", "}", "}", "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", "(", ")", "||", "isTargetFreeBSD", "(", ")", "||", "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", "4", "128", "\"generic\"", "\"+64bit,+sse2,\"", "\"+64bit,+sse2\"", "X86", "X86::Feature64Bit", "X86::FeatureCMOV", "X86", "X86", "X86::FeatureSSE1", "X86::FeatureSSE2", "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": "X86Subtarget66", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6377, "Length": 404, "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": 6378, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["PowerPC"], "File": "PPCCTRLoops13", "Func": "getAnalysisUsage", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6379, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "toc_section", "(", "void", ")", "{", "}", ""], "natrual_language": ["This", "is", "just", "a", "placeholder", "to", "make", "linking", "work", "without", "having", "to", "add", "this", "to", "the", "generic", "Darwin", "EXTRA_SECTIONS", ".", "If", "-mcall-aix", "is", "ever", "needed", "for", "Darwin", "(", "not", "too", "likely", "!", ")", "this", "would", "have", "to", "get", "a", "real", "definition", "."], "TS_V_token": ["rs6000"], "File": "rs60003", "Func": "toc_section", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6380, "Length": 7, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_use_by_pieces_infrastructure_p", "(", "unsigned", "HOST_WIDE_INT", "size", ",", "unsigned", "int", "align", ",", "enum", "by_pieces_operation", "op", ",", "bool", "speed_p", ")", "{", "switch", "(", "op", ")", "{", "case", "MOVE_BY_PIECES", ":", "return", "by_pieces_ninsns", "(", "size", ",", "align", ",", "MOVE_MAX_PIECES", "+", "1", ",", "op", ")", "<", "(", "!", "speed_p", "?", "2", ":", "(", "align", ">=", "32", ")", "?", "16", ":", "2", ")", ";", "case", "STORE_BY_PIECES", ":", "case", "SET_BY_PIECES", ":", "return", "by_pieces_ninsns", "(", "size", ",", "align", ",", "STORE_MAX_PIECES", "+", "1", ",", "op", ")", "<", "(", "!", "speed_p", "?", "2", ":", "(", "align", ">=", "32", ")", "?", "16", ":", "2", ")", ";", "default", ":", "return", "default_use_by_pieces_infrastructure_p", "(", "size", ",", "align", ",", "op", ",", "speed_p", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_USE_BY_PIECES_INFRASTRUCTURE_P", "."], "TS_V_token": ["sh", "1", "2", "32", "16", "2", "1", "2", "32", "16", "2"], "File": "sh", "Func": "sh_use_by_pieces_infrastructure_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6381, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "DLXMemAluCombiner", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "DisableMemAluCombiner", ")", "return", "false", ";", "TII", "=", "MF", ".", "getSubtarget", "<", "DLXSubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MfIterator", "MFI", "=", "MF", ".", "begin", "(", ")", ";", "MFI", "!=", "MF", ".", "end", "(", ")", ";", "++", "MFI", ")", "{", "Modified", "|=", "combineMemAluInBasicBlock", "(", "&", "*", "MFI", ")", ";", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["DLX", "DLX", "DLX"], "File": "DLXMemAluCombiner", "Func": "runOnMachineFunction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6382, "Length": 74, "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!\"", ")", ";", "}", "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": "ARMBaseRegisterInfo15", "Func": "isFrameOffsetLegal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6383, "Length": 292, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmPrinter", "::", "emitStartOfAsmFile", "(", "Module", "&", "M", ")", "{", "const", "Triple", "&", "TT", "=", "TM", ".", "getTargetTriple", "(", ")", ";", "if", "(", "TT", ".", "isOSBinFormatELF", "(", ")", ")", "{", "unsigned", "FeatureFlagsAnd", "=", "0", ";", "if", "(", "M", ".", "getModuleFlag", "(", "\"cf-protection-branch\"", ")", ")", "{", "FeatureFlagsAnd", "|=", "ELF", "::", "GNU_PROPERTY_X86_FEATURE_1_IBT", ";", "if", "(", "M", ".", "getModuleFlag", "(", "\"cf-protection-fine\"", ")", ")", "{", "FeatureFlagsAnd", "|=", "ELF", "::", "GNU_PROPERTY_X86_FEATURE_1_FINEIBT", ";", "}", "}", "if", "(", "M", ".", "getModuleFlag", "(", "\"cf-protection-return\"", ")", ")", "FeatureFlagsAnd", "|=", "ELF", "::", "GNU_PROPERTY_X86_FEATURE_1_SHSTK", ";", "if", "(", "FeatureFlagsAnd", ")", "{", "if", "(", "!", "TT", ".", "isArch32Bit", "(", ")", "&&", "!", "TT", ".", "isArch64Bit", "(", ")", ")", "llvm_unreachable", "(", "\"CFProtection used on invalid architecture!\"", ")", ";", "MCSection", "*", "Cur", "=", "OutStreamer", "->", "getCurrentSectionOnly", "(", ")", ";", "MCSection", "*", "Nt", "=", "MMI", "->", "getContext", "(", ")", ".", "getELFSection", "(", "\".note.gnu.property\"", ",", "ELF", "::", "SHT_NOTE", ",", "ELF", "::", "SHF_ALLOC", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "Nt", ")", ";", "int", "WordSize", "=", "TT", ".", "isArch64Bit", "(", ")", "?", "8", ":", "4", ";", "emitAlignment", "(", "WordSize", "==", "4", "?", "Align", "(", "4", ")", ":", "Align", "(", "8", ")", ")", ";", "OutStreamer", "->", "emitIntValue", "(", "4", ",", "4", ")", ";", "OutStreamer", "->", "emitIntValue", "(", "8", "+", "WordSize", ",", "4", ")", ";", "OutStreamer", "->", "emitIntValue", "(", "ELF", "::", "NT_GNU_PROPERTY_TYPE_0", ",", "4", ")", ";", "OutStreamer", "->", "emitBytes", "(", "StringRef", "(", "\"GNU\"", ",", "4", ")", ")", ";", "OutStreamer", "->", "emitInt32", "(", "ELF", "::", "GNU_PROPERTY_X86_FEATURE_1_AND", ")", ";", "OutStreamer", "->", "emitInt32", "(", "4", ")", ";", "OutStreamer", "->", "emitInt32", "(", "FeatureFlagsAnd", ")", ";", "emitAlignment", "(", "WordSize", "==", "4", "?", "Align", "(", "4", ")", ":", "Align", "(", "8", ")", ")", ";", "OutStreamer", "->", "endSection", "(", "Nt", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "Cur", ")", ";", "}", "}", "if", "(", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "OutStreamer", "->", "SwitchSection", "(", "getObjFileLowering", "(", ")", ".", "getTextSection", "(", ")", ")", ";", "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", "(", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86", ")", "{", "Feat00Flags", "|=", "1", ";", "}", "if", "(", "M", ".", "getModuleFlag", "(", "\"cfguard\"", ")", ")", "Feat00Flags", "|=", "0x800", ";", "OutStreamer", "->", "emitSymbolAttribute", "(", "S", ",", "MCSA_Global", ")", ";", "OutStreamer", "->", "emitAssignment", "(", "S", ",", "MCConstantExpr", "::", "create", "(", "Feat00Flags", ",", "MMI", "->", "getContext", "(", ")", ")", ")", ";", "}", "OutStreamer", "->", "emitSyntaxDirective", "(", ")", ";", "bool", "is16", "=", "TT", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "CODE16", ";", "if", "(", "M", ".", "getModuleInlineAsm", "(", ")", ".", "empty", "(", ")", "&&", "is16", ")", "OutStreamer", "->", "emitAssemblerFlag", "(", "MCAF_Code16", ")", ";", "}", ""], "natrual_language": ["This", "virtual", "method", "can", "be", "overridden", "by", "targets", "that", "want", "to", "emit", "something", "at", "the", "start", "of", "their", "file", "."], "TS_V_token": ["X86", "X86", "0", "\"cf-protection-branch\"", "X86", "\"cf-protection-fine\"", "X86", "\"cf-protection-return\"", "X86", "\"CFProtection used on invalid architecture!\"", "\".note.gnu.property\"", "8", "4", "4", "4", "8", "4", "4", "8", "4", "4", "\"GNU\"", "4", "X86", "4", "4", "4", "8", "\"@feat.00\"", "0", "1", "\"cfguard\"", "0x800"], "File": "X86AsmPrinter9", "Func": "emitStartOfAsmFile", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6384, "Length": 465, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_add_offset_1_temporaries", "(", "HOST_WIDE_INT", "offset", ")", "{", "return", "abs_hwi", "(", "offset", ")", "<", "0x1000000", "?", "0", ":", "1", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "temporary", "registers", "that", "aarch64_add_offset_1", "would", "need", "to", "add", "OFFSET", "to", "a", "register", "."], "TS_V_token": ["aarch64", "0x1000000", "0", "1"], "File": "aarch64", "Func": "aarch64_add_offset_1_temporaries", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6385, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mmix_reversible_cc_mode", "(", "machine_mode", "mode", ")", "{", "return", "mode", "!=", "CC_FPmode", ";", "}", ""], "natrual_language": ["REVERSIBLE_CC_MODE", "."], "TS_V_token": ["mmix"], "File": "mmix", "Func": "mmix_reversible_cc_mode", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6386, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_vector_data_mode_p", "(", "machine_mode", "mode", ")", "{", "return", "aarch64_classify_vector_mode", "(", "mode", ")", "&", "VEC_ANY_DATA", ";", "}", ""], "natrual_language": ["Return", "true", "if", "MODE", "is", "any", "of", "the", "data", "vector", "modes", ",", "including", "structure", "modes", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_vector_data_mode_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6387, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleDAGInstrs", "*", "createMachineScheduler", "(", "MachineSchedContext", "*", "C", ")", "const", "override", "{", "ScheduleDAGMILive", "*", "DAG", "=", "createGenericSchedLive", "(", "C", ")", ";", "DAG", "->", "addMutation", "(", "createMacroFusionDAGMutation", "(", "DAG", "->", "TII", ")", ")", ";", "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": ["X86"], "File": "X86TargetMachine45", "Func": "createMachineScheduler", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6388, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createThumb2SizeReductionPass", "(", ")", ")", ";", "addPass", "(", "createUnpackMachineBundles", "(", "[", "this", "]", "(", "const", "Function", "&", "F", ")", "{", "return", "this", "->", "TM", "->", "getSubtarget", "<", "ARMSubtarget", ">", "(", "F", ")", ".", "isThumb2", "(", ")", ";", "}", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createARMOptimizeBarriersPass", "(", ")", ")", ";", "addPass", "(", "createARMConstantIslandPass", "(", ")", ")", ";", "}", ""], "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", "ARM", "ARM"], "File": "ARMTargetMachine (2)1", "Func": "addPreEmitPass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6389, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ",", "Instruction", "*", "I", ")", "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 (2)5", "Func": "isLegalAddressingMode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6390, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsPreLegalizerCombiner", "::", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "TargetPassConfig", ">", "(", ")", ";", "AU", ".", "setPreservesCFG", "(", ")", ";", "getSelectionDAGFallbackAnalysisUsage", "(", "AU", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsPreLegalizerCombiner (2)", "Func": "getAnalysisUsage", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6391, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "aarch64_dbx_register_number", "(", "unsigned", "regno", ")", "{", "if", "(", "GP_REGNUM_P", "(", "regno", ")", ")", "return", "AARCH64_DWARF_R0", "+", "regno", "-", "R0_REGNUM", ";", "else", "if", "(", "regno", "==", "SP_REGNUM", ")", "return", "AARCH64_DWARF_SP", ";", "else", "if", "(", "FP_REGNUM_P", "(", "regno", ")", ")", "return", "AARCH64_DWARF_V0", "+", "regno", "-", "V0_REGNUM", ";", "return", "DWARF_FRAME_REGISTERS", ";", "}", ""], "natrual_language": ["Provide", "a", "mapping", "from", "gcc", "register", "numbers", "to", "dwarf", "register", "numbers", "."], "TS_V_token": ["aarch64"], "File": "aarch642", "Func": "aarch64_dbx_register_number", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6392, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "canInsertSelect", "(", "const", "MachineBasicBlock", "&", "MBB", ",", "const", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "unsigned", "TrueReg", ",", "unsigned", "FalseReg", ",", "int", "&", "CondCycles", ",", "int", "&", "TrueCycles", ",", "int", "&", "FalseCycles", ")", "const", "{", "if", "(", "!", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "hasCMov", "(", ")", ")", "return", "false", ";", "if", "(", "Cond", ".", "size", "(", ")", "!=", "1", ")", "return", "false", ";", "if", "(", "(", "X86", "::", "CondCode", ")", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ">", "X86", "::", "COND_S", ")", "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", "X86", "1", "X86::CondCode", "0", "X86::COND_S", "X86::GR16RegClass", "X86::GR32RegClass", "X86::GR64RegClass", "2", "2", "2"], "File": "X86InstrInfo (2)", "Func": "canInsertSelect", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6393, "Length": 190, "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", "::", "BGEZC", ":", "case", "Mips", "::", "BGTZC", ":", "case", "Mips", "::", "BLTZC", ":", "case", "Mips", "::", "BEQZC", ":", "case", "Mips", "::", "BNEZC", ":", "if", "(", "Inst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "Mips", "::", "ZERO", ")", "return", "Match_RequiresNoZeroRegister", ";", "return", "Match_Success", ";", "case", "Mips", "::", "BGEC", ":", "case", "Mips", "::", "BLTC", ":", "case", "Mips", "::", "BGEUC", ":", "case", "Mips", "::", "BLTUC", ":", "case", "Mips", "::", "BEQC", ":", "case", "Mips", "::", "BNEC", ":", "if", "(", "Inst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "Mips", "::", "ZERO", ")", "return", "Match_RequiresNoZeroRegister", ";", "if", "(", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "Mips", "::", "ZERO", ")", "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::BGEZC", "Mips::BGTZC", "Mips::BLTZC", "Mips::BEQZC", "Mips::BNEZC", "0", "Mips::ZERO", "Mips::BGEC", "Mips::BLTC", "Mips::BGEUC", "Mips::BLTUC", "Mips::BEQC", "Mips::BNEC", "0", "Mips::ZERO", "1", "Mips::ZERO", "0", "1"], "File": "MipsAsmParser86", "Func": "checkTargetMatchPredicate", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6394, "Length": 264, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "function_value_32", "(", "machine_mode", "orig_mode", ",", "machine_mode", "mode", ",", "const_tree", "fntype", ",", "const_tree", "fn", ")", "{", "unsigned", "int", "regno", ";", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "==", "8", ")", "regno", "=", "FIRST_MMX_REG", ";", "else", "if", "(", "mode", "==", "TImode", "||", "(", "VECTOR_MODE_P", "(", "mode", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "==", "16", ")", ")", "regno", "=", "FIRST_SSE_REG", ";", "else", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "==", "32", ")", "regno", "=", "FIRST_SSE_REG", ";", "else", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "==", "64", ")", "regno", "=", "FIRST_SSE_REG", ";", "else", "if", "(", "X87_FLOAT_MODE_P", "(", "mode", ")", "&&", "TARGET_FLOAT_RETURNS_IN_80387", ")", "regno", "=", "FIRST_FLOAT_REG", ";", "else", "regno", "=", "AX_REG", ";", "if", "(", "mode", "==", "HFmode", "||", "mode", "==", "BFmode", ")", "regno", "=", "FIRST_SSE_REG", ";", "if", "(", "mode", "==", "HCmode", ")", "{", "rtx", "ret", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "rtvec_alloc", "(", "1", ")", ")", ";", "XVECEXP", "(", "ret", ",", "0", ",", "0", ")", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "SImode", ",", "FIRST_SSE_REG", ")", ",", "GEN_INT", "(", "0", ")", ")", ";", "return", "ret", ";", "}", "if", "(", "(", "fn", "||", "fntype", ")", "&&", "(", "mode", "==", "SFmode", "||", "mode", "==", "DFmode", ")", ")", "{", "int", "sse_level", "=", "ix86_function_sseregparm", "(", "fntype", ",", "fn", ",", "false", ")", ";", "if", "(", "sse_level", "==", "-", "1", ")", "{", "error", "(", "\"calling %qD with SSE calling convention without \"", "\"SSE/SSE2 enabled\"", ",", "fn", ")", ";", "sorry", "(", "\"this is a GCC bug that can be worked around by adding \"", "\"attribute used to function called\"", ")", ";", "}", "else", "if", "(", "(", "sse_level", ">=", "1", "&&", "mode", "==", "SFmode", ")", "||", "(", "sse_level", "==", "2", "&&", "mode", "==", "DFmode", ")", ")", "regno", "=", "FIRST_SSE_REG", ";", "}", "gcc_assert", "(", "mode", "!=", "OImode", ")", ";", "return", "gen_rtx_REG", "(", "orig_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", "."], "TS_V_token": ["i386", "8", "16", "32", "64", "1", "0", "0", "0", "1", "\"calling %qD with SSE calling convention without \"", "\"SSE/SSE2 enabled\"", "\"this is a GCC bug that can be worked around by adding \"", "\"attribute used to function called\"", "1", "2"], "File": "i3861", "Func": "function_value_32", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6395, "Length": 283, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "Cpu0InstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["Cpu0", "Cpu0"], "File": "Cpu0TargetMachine1", "Func": "getInstrInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6396, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TTIImpl", "::", "shouldConsiderAddressTypePromotion", "(", "const", "Instruction", "&", "I", ",", "bool", "&", "AllowPromotionWithoutCommonHeader", ")", "{", "bool", "Considerable", "=", "false", ";", "AllowPromotionWithoutCommonHeader", "=", "false", ";", "if", "(", "!", "isa", "<", "SExtInst", ">", "(", "&", "I", ")", ")", "return", "false", ";", "Type", "*", "ConsideredSExtType", "=", "Type", "::", "getInt64Ty", "(", "I", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getContext", "(", ")", ")", ";", "if", "(", "I", ".", "getType", "(", ")", "!=", "ConsideredSExtType", ")", "return", "false", ";", "for", "(", "const", "User", "*", "U", ":", "I", ".", "users", "(", ")", ")", "{", "if", "(", "const", "GetElementPtrInst", "*", "GEPInst", "=", "dyn_cast", "<", "GetElementPtrInst", ">", "(", "U", ")", ")", "{", "Considerable", "=", "true", ";", "if", "(", "GEPInst", "->", "getNumOperands", "(", ")", ">", "2", ")", "{", "AllowPromotionWithoutCommonHeader", "=", "true", ";", "break", ";", "}", "}", "}", "return", "Considerable", ";", "}", ""], "natrual_language": ["See", "if", "I", "should", "be", "considered", "for", "address", "type", "promotion", "."], "TS_V_token": ["AArch64", "AArch64", "2"], "File": "AArch64TargetTransformInfo", "Func": "shouldConsiderAddressTypePromotion", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6397, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "CSKYAsmParser", "::", "validateTargetOperandClass", "(", "MCParsedAsmOperand", "&", "AsmOp", ",", "unsigned", "Kind", ")", "{", "CSKYOperand", "&", "Op", "=", "static_cast", "<", "CSKYOperand", "&", ">", "(", "AsmOp", ")", ";", "if", "(", "!", "Op", ".", "isReg", "(", ")", ")", "return", "Match_InvalidOperand", ";", "MCRegister", "Reg", "=", "Op", ".", "getReg", "(", ")", ";", "if", "(", "CSKYMCRegisterClasses", "[", "CSKY", "::", "FPR32RegClassID", "]", ".", "contains", "(", "Reg", ")", ")", "{", "if", "(", "Kind", "==", "MCK_FPR64", "||", "Kind", "==", "MCK_sFPR64_V", ")", "{", "Op", ".", "Reg", ".", "RegNum", "=", "convertFPR32ToFPR64", "(", "Reg", ")", ";", "if", "(", "Kind", "==", "MCK_sFPR64_V", "&&", "(", "Op", ".", "Reg", ".", "RegNum", "<", "CSKY", "::", "F0_64", "||", "Op", ".", "Reg", ".", "RegNum", ">", "CSKY", "::", "F15_64", ")", ")", "return", "Match_InvalidRegOutOfRange", ";", "if", "(", "Kind", "==", "MCK_FPR64", "&&", "(", "Op", ".", "Reg", ".", "RegNum", "<", "CSKY", "::", "F0_64", "||", "Op", ".", "Reg", ".", "RegNum", ">", "CSKY", "::", "F31_64", ")", ")", "return", "Match_InvalidRegOutOfRange", ";", "return", "Match_Success", ";", "}", "}", "if", "(", "CSKYMCRegisterClasses", "[", "CSKY", "::", "GPRRegClassID", "]", ".", "contains", "(", "Reg", ")", ")", "{", "if", "(", "Kind", "==", "MCK_GPRPair", ")", "{", "Op", ".", "Reg", ".", "RegNum", "=", "MRI", "->", "getEncodingValue", "(", "Reg", ")", "+", "CSKY", "::", "R0_R1", ";", "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": ["CSKY", "CSKY", "CSKY", "CSKY", "CSKY", "CSKY::FPR32RegClassID", "CSKY::F0_64", "CSKY::F15_64", "CSKY::F0_64", "CSKY::F31_64", "CSKY", "CSKY::GPRRegClassID", "CSKY::R0_R1"], "File": "CSKYAsmParser1", "Func": "validateTargetOperandClass", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6398, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "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", "?", "TII", ".", "getFrameSize", "(", "*", "I", ")", ":", "0", ";", "uint64_t", "InternalAmt", "=", "(", "isDestroy", "||", "Amount", ")", "?", "TII", ".", "getFrameAdjustment", "(", "*", "I", ")", ":", "0", ";", "I", "=", "MBB", ".", "erase", "(", "I", ")", ";", "auto", "InsertPos", "=", "skipDebugInstructionsForward", "(", "I", ",", "MBB", ".", "end", "(", ")", ")", ";", "if", "(", "!", "reserveCallFrame", ")", "{", "unsigned", "StackAlign", "=", "getStackAlignment", "(", ")", ";", "Amount", "=", "alignTo", "(", "Amount", ",", "StackAlign", ")", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "bool", "WindowsCFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", "->", "usesWindowsCFI", "(", ")", ";", "bool", "DwarfCFI", "=", "!", "WindowsCFI", "&&", "(", "MMI", ".", "hasDebugInfo", "(", ")", "||", "F", ".", "needsUnwindTableEntry", "(", ")", ")", ";", "bool", "HasDwarfEHHandlers", "=", "!", "WindowsCFI", "&&", "!", "MF", ".", "getLandingPads", "(", ")", ".", "empty", "(", ")", ";", "if", "(", "HasDwarfEHHandlers", "&&", "!", "isDestroy", "&&", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "getHasPushSequences", "(", ")", ")", "BuildCFI", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "MCCFIInstruction", "::", "createGnuArgsSize", "(", "nullptr", ",", "Amount", ")", ")", ";", "if", "(", "Amount", "==", "0", ")", "return", "I", ";", "Amount", "-=", "InternalAmt", ";", "if", "(", "isDestroy", "&&", "InternalAmt", "&&", "DwarfCFI", "&&", "!", "hasFP", "(", "MF", ")", ")", "BuildCFI", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "MCCFIInstruction", "::", "createAdjustCfaOffset", "(", "nullptr", ",", "-", "InternalAmt", ")", ")", ";", "int64_t", "StackAdjustment", "=", "isDestroy", "?", "Amount", ":", "-", "Amount", ";", "if", "(", "StackAdjustment", ")", "{", "StackAdjustment", "+=", "mergeSPUpdates", "(", "MBB", ",", "InsertPos", ",", "true", ")", ";", "StackAdjustment", "+=", "mergeSPUpdates", "(", "MBB", ",", "InsertPos", ",", "false", ")", ";", "if", "(", "StackAdjustment", ")", "{", "if", "(", "!", "(", "F", ".", "hasMinSize", "(", ")", "&&", "adjustStackWithPops", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "StackAdjustment", ")", ")", ")", "BuildStackAdjustment", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "StackAdjustment", ",", "false", ")", ";", "}", "}", "if", "(", "DwarfCFI", "&&", "!", "hasFP", "(", "MF", ")", ")", "{", "int64_t", "CfaAdjustment", "=", "-", "StackAdjustment", ";", "if", "(", "CfaAdjustment", ")", "{", "BuildCFI", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "MCCFIInstruction", "::", "createAdjustCfaOffset", "(", "nullptr", ",", "CfaAdjustment", ")", ")", ";", "}", "}", "return", "I", ";", "}", "if", "(", "isDestroy", "&&", "InternalAmt", ")", "{", "MachineBasicBlock", "::", "iterator", "CI", "=", "I", ";", "MachineBasicBlock", "::", "iterator", "B", "=", "MBB", ".", "begin", "(", ")", ";", "while", "(", "CI", "!=", "B", "&&", "!", "std", "::", "prev", "(", "CI", ")", "->", "isCall", "(", ")", ")", "--", "CI", ";", "BuildStackAdjustment", "(", "MBB", ",", "CI", ",", "DL", ",", "-", "InternalAmt", ",", "false", ")", ";", "}", "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": ["X86", "X86", "0", "0", "X86", "0"], "File": "X86FrameLowering10", "Func": "eliminateCallFramePseudoInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6399, "Length": 488, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "getMachineCombinerPatterns", "(", "MachineInstr", "&", "Root", ",", "SmallVectorImpl", "<", "MachineCombinerPattern", ">", "&", "Patterns", ")", "const", "{", "if", "(", "Subtarget", ".", "getTargetMachine", "(", ")", ".", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "Aggressive", ")", "return", "false", ";", "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": ["PowerPC", "PPC"], "File": "PPCInstrInfo128", "Func": "getMachineCombinerPatterns", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6400, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AnalyzeReturn", "(", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "CCAssignFn", "Fn", ")", "{", "PreAnalyzeReturnForF128", "(", "Outs", ")", ";", "PreAnalyzeReturnForVectorFloat", "(", "Outs", ")", ";", "CCState", "::", "AnalyzeReturn", "(", "Outs", ",", "Fn", ")", ";", "OriginalArgWasFloat", ".", "clear", "(", ")", ";", "OriginalArgWasF128", ".", "clear", "(", ")", ";", "OriginalArgWasFloatVector", ".", "clear", "(", ")", ";", "}", ""], "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": "MipsCCState12", "Func": "AnalyzeReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6401, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "X86Subtarget", "::", "classifyGlobalFunctionReference", "(", "const", "GlobalValue", "*", "GV", ",", "const", "Module", "&", "M", ")", "const", "{", "if", "(", "TM", ".", "shouldAssumeDSOLocal", "(", "M", ",", "GV", ")", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "if", "(", "isTargetCOFF", "(", ")", ")", "{", "if", "(", "!", "GV", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "if", "(", "GV", "->", "hasDLLImportStorageClass", "(", ")", ")", "return", "X86II", "::", "MO_DLLIMPORT", ";", "return", "X86II", "::", "MO_COFFSTUB", ";", "}", "const", "Function", "*", "F", "=", "dyn_cast_or_null", "<", "Function", ">", "(", "GV", ")", ";", "if", "(", "isTargetELF", "(", ")", ")", "{", "if", "(", "is64Bit", "(", ")", "&&", "F", "&&", "(", "CallingConv", "::", "X86_RegCall", "==", "F", "->", "getCallingConv", "(", ")", ")", ")", "return", "X86II", "::", "MO_GOTPCREL", ";", "if", "(", "(", "(", "F", "&&", "F", "->", "hasFnAttribute", "(", "Attribute", "::", "NonLazyBind", ")", ")", "||", "(", "!", "F", "&&", "M", ".", "getRtLibUseGOT", "(", ")", ")", ")", "&&", "is64Bit", "(", ")", ")", "return", "X86II", "::", "MO_GOTPCREL", ";", "if", "(", "!", "is64Bit", "(", ")", "&&", "!", "GV", "&&", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "return", "X86II", "::", "MO_PLT", ";", "}", "if", "(", "is64Bit", "(", ")", ")", "{", "if", "(", "F", "&&", "F", "->", "hasFnAttribute", "(", "Attribute", "::", "NonLazyBind", ")", ")", "return", "X86II", "::", "MO_GOTPCREL", ";", "return", "X86II", "::", "MO_NO_FLAG", ";", "}", "return", "X86II", "::", "MO_NO_FLAG", ";", "}", ""], "natrual_language": ["Classify", "a", "global", "function", "reference", "for", "the", "current", "subtarget", "."], "TS_V_token": ["X86", "X86", "X86II::MO_NO_FLAG", "X86II::MO_NO_FLAG", "X86II::MO_DLLIMPORT", "X86II::MO_COFFSTUB", "X86", "X86II::MO_GOTPCREL", "X86II::MO_GOTPCREL", "X86II::MO_NO_FLAG", "X86II::MO_PLT", "X86II::MO_GOTPCREL", "X86II::MO_NO_FLAG", "X86II::MO_NO_FLAG"], "File": "X86Subtarget3", "Func": "classifyGlobalFunctionReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6402, "Length": 220, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsConstantIslands", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "mf", ")", "{", "MF", "=", "&", "mf", ";", "MCP", "=", "mf", ".", "getConstantPool", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"constant island machine function \"", "<<", "\"\\n\"", ")", ";", "if", "(", "!", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "inMips16Mode", "(", ")", "||", "!", "MipsSubtarget", "::", "useConstantIslands", "(", ")", ")", "{", "return", "false", ";", "}", "TII", "=", "(", "const", "Mips16InstrInfo", "*", ")", "MF", "->", "getTarget", "(", ")", ".", "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", "\"constant island machine function \"", "\"\\n\"", "Mips", "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", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6403, "Length": 417, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "xstormy16_expand_epilogue", "(", ")", "{", "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": "stormy162", "Func": "xstormy16_expand_epilogue", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6404, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isFMAFasterThanFMulAndFAdd", "(", "const", "MachineFunction", "&", "MF", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "hasMVEFloatOps", "(", ")", ")", "return", "false", ";", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "case", "MVT", "::", "v4f32", ":", "case", "MVT", "::", "v8f16", ":", "return", "true", ";", "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": ["ARM", "ARM", "MVT::v4f32", "MVT::v8f16"], "File": "ARMISelLowering (2)6", "Func": "isFMAFasterThanFMulAndFAdd", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6405, "Length": 72, "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": 6406, "Length": 109, "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", "AArch64InstrInfo", "*", "TII", "=", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "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", "AArch64", "AArch64", "1", "1", "AArch64", "\"Emergency spill slot is out of reach\"", "AArch64::GPR64RegClass"], "File": "AArch64RegisterInfo34", "Func": "eliminateFrameIndex", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6407, "Length": 316, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "rs6000_allocate_stack_temp", "(", "machine_mode", "mode", ",", "bool", "offsettable_p", ",", "bool", "reg_reg_p", ")", "{", "rtx", "stack", "=", "assign_stack_temp", "(", "mode", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "rtx", "addr", "=", "XEXP", "(", "stack", ",", "0", ")", ";", "int", "strict_p", "=", "reload_completed", ";", "if", "(", "!", "legitimate_indirect_address_p", "(", "addr", ",", "strict_p", ")", ")", "{", "if", "(", "offsettable_p", "&&", "!", "rs6000_legitimate_offset_address_p", "(", "mode", ",", "addr", ",", "strict_p", ",", "true", ")", ")", "stack", "=", "replace_equiv_address", "(", "stack", ",", "copy_addr_to_reg", "(", "addr", ")", ")", ";", "else", "if", "(", "reg_reg_p", "&&", "!", "legitimate_indexed_address_p", "(", "addr", ",", "strict_p", ")", ")", "stack", "=", "replace_equiv_address", "(", "stack", ",", "copy_addr_to_reg", "(", "addr", ")", ")", ";", "}", "return", "stack", ";", "}", ""], "natrual_language": ["Allocate", "a", "stack", "temp", "and", "fixup", "the", "address", "so", "it", "meets", "the", "particular", "memory", "requirements", "(", "either", "offetable", "or", "REG+REG", "addressing", ")", "."], "TS_V_token": ["rs6000", "0"], "File": "rs6000", "Func": "rs6000_allocate_stack_temp", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6408, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "VETargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Should not custom lower this!\"", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "LowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VAARG", ":", "return", "LowerVAARG", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["VE", "VE", "\"Should not custom lower this!\"", "ISD::BlockAddress", "ISD::GlobalAddress", "ISD::VASTART", "ISD::VAARG"], "File": "VEISelLowering17", "Func": "LowerOperation", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6409, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARM64RegisterInfo", "::", "resolveFrameIndex", "(", "MachineInstr", "&", "MI", ",", "unsigned", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "int", "Off", "=", "Offset", ";", "unsigned", "i", "=", "0", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "bool", "Done", "=", "rewriteARM64FrameIndex", "(", "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": ["ARM64", "ARM64", "0", "\"Instr doesn't have FrameIndex operand!\"", "ARM64", "\"Unable to resolve frame index!\""], "File": "ARM64RegisterInfo", "Func": "resolveFrameIndex", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6410, "Length": 88, "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": 6411, "Length": 315, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZTTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ")", "{", "bool", "HasCall", "=", "false", ";", "unsigned", "NumStores", "=", "0", ";", "for", "(", "auto", "&", "BB", ":", "L", "->", "blocks", "(", ")", ")", "for", "(", "auto", "&", "I", ":", "*", "BB", ")", "{", "if", "(", "isa", "<", "CallInst", ">", "(", "&", "I", ")", "||", "isa", "<", "InvokeInst", ">", "(", "&", "I", ")", ")", "{", "ImmutableCallSite", "CS", "(", "&", "I", ")", ";", "if", "(", "const", "Function", "*", "F", "=", "CS", ".", "getCalledFunction", "(", ")", ")", "{", "if", "(", "isLoweredToCall", "(", "F", ")", ")", "HasCall", "=", "true", ";", "if", "(", "F", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "memcpy", "||", "F", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "memset", ")", "NumStores", "++", ";", "}", "else", "{", "HasCall", "=", "true", ";", "}", "}", "if", "(", "isa", "<", "StoreInst", ">", "(", "&", "I", ")", ")", "{", "NumStores", "++", ";", "Type", "*", "MemAccessTy", "=", "I", ".", "getOperand", "(", "0", ")", "->", "getType", "(", ")", ";", "if", "(", "(", "MemAccessTy", "->", "isIntegerTy", "(", ")", "||", "MemAccessTy", "->", "isFloatingPointTy", "(", ")", ")", "&&", "(", "getDataLayout", "(", ")", ".", "getTypeSizeInBits", "(", "MemAccessTy", ")", "==", "128", ")", ")", "NumStores", "++", ";", "}", "}", "unsigned", "const", "Max", "=", "(", "NumStores", "?", "(", "12", "/", "NumStores", ")", ":", "UINT_MAX", ")", ";", "if", "(", "HasCall", ")", "{", "UP", ".", "FullUnrollMaxCount", "=", "Max", ";", "UP", ".", "MaxCount", "=", "1", ";", "return", ";", "}", "UP", ".", "MaxCount", "=", "Max", ";", "if", "(", "UP", ".", "MaxCount", "<=", "1", ")", "return", ";", "UP", ".", "Partial", "=", "UP", ".", "Runtime", "=", "true", ";", "UP", ".", "PartialThreshold", "=", "75", ";", "UP", ".", "DefaultUnrollRuntimeCount", "=", "4", ";", "UP", ".", "AllowExpensiveTripCount", "=", "true", ";", "UP", ".", "Force", "=", "true", ";", "}", ""], "natrual_language": ["Get", "target-customized", "preferences", "for", "the", "generic", "loop", "unrolling", "transformation", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "Intrinsic::memcpy", "Intrinsic::memset", "0", "128", "12", "1", "1", "75", "4"], "File": "SystemZTargetTransformInfo22", "Func": "getUnrollingPreferences", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6412, "Length": 286, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "ARMBaseRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "if", "(", "STI", ".", "isTargetNaCl", "(", ")", ")", "return", "CSR_NaCl_SaveList", ";", "const", "uint16_t", "*", "RegList", "=", "(", "STI", ".", "isTargetIOS", "(", ")", "&&", "!", "STI", ".", "isAAPCS_ABI", "(", ")", ")", "?", "CSR_iOS_SaveList", ":", "CSR_AAPCS_SaveList", ";", "if", "(", "!", "MF", ")", "return", "RegList", ";", "const", "Function", "*", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "if", "(", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "GHC", ")", "{", "return", "CSR_NoRegs_SaveList", ";", "}", "else", "if", "(", "F", "->", "hasFnAttribute", "(", "\"interrupt\"", ")", ")", "{", "if", "(", "STI", ".", "isMClass", "(", ")", ")", "{", "return", "CSR_AAPCS_SaveList", ";", "}", "else", "if", "(", "F", "->", "getFnAttribute", "(", "\"interrupt\"", ")", ".", "getValueAsString", "(", ")", "==", "\"FIQ\"", ")", "{", "return", "CSR_FIQ_SaveList", ";", "}", "else", "{", "return", "CSR_GenericInt_SaveList", ";", "}", "}", "return", "RegList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["ARM", "ARM", "\"interrupt\"", "\"interrupt\"", "\"FIQ\""], "File": "ARMBaseRegisterInfo77", "Func": "getCalleeSavedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6413, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_va_start", "(", "tree", "valist", ",", "rtx", "nextarg", ")", "{", "if", "(", "EABI_FLOAT_VARARGS_P", ")", "{", "const", "CUMULATIVE_ARGS", "*", "cum", ";", "tree", "f_ovfl", ",", "f_gtop", ",", "f_ftop", ",", "f_goff", ",", "f_foff", ";", "tree", "ovfl", ",", "gtop", ",", "ftop", ",", "goff", ",", "foff", ";", "tree", "t", ";", "int", "gpr_save_area_size", ";", "int", "fpr_save_area_size", ";", "int", "fpr_offset", ";", "cum", "=", "&", "crtl", "->", "args", ".", "info", ";", "gpr_save_area_size", "=", "(", "MAX_ARGS_IN_REGISTERS", "-", "cum", "->", "num_gprs", ")", "*", "UNITS_PER_WORD", ";", "fpr_save_area_size", "=", "(", "MAX_ARGS_IN_REGISTERS", "-", "cum", "->", "num_fprs", ")", "*", "UNITS_PER_FPREG", ";", "f_ovfl", "=", "TYPE_FIELDS", "(", "va_list_type_node", ")", ";", "f_gtop", "=", "DECL_CHAIN", "(", "f_ovfl", ")", ";", "f_ftop", "=", "DECL_CHAIN", "(", "f_gtop", ")", ";", "f_goff", "=", "DECL_CHAIN", "(", "f_ftop", ")", ";", "f_foff", "=", "DECL_CHAIN", "(", "f_goff", ")", ";", "ovfl", "=", "build3", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_ovfl", ")", ",", "valist", ",", "f_ovfl", ",", "NULL_TREE", ")", ";", "gtop", "=", "build3", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_gtop", ")", ",", "valist", ",", "f_gtop", ",", "NULL_TREE", ")", ";", "ftop", "=", "build3", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_ftop", ")", ",", "valist", ",", "f_ftop", ",", "NULL_TREE", ")", ";", "goff", "=", "build3", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_goff", ")", ",", "valist", ",", "f_goff", ",", "NULL_TREE", ")", ";", "foff", "=", "build3", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_foff", ")", ",", "valist", ",", "f_foff", ",", "NULL_TREE", ")", ";", "t", "=", "make_tree", "(", "TREE_TYPE", "(", "ovfl", ")", ",", "virtual_incoming_args_rtx", ")", ";", "if", "(", "cum", "->", "stack_words", ">", "0", ")", "t", "=", "fold_build_pointer_plus_hwi", "(", "t", ",", "cum", "->", "stack_words", "*", "UNITS_PER_WORD", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "ovfl", ")", ",", "ovfl", ",", "t", ")", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "t", "=", "make_tree", "(", "TREE_TYPE", "(", "gtop", ")", ",", "virtual_incoming_args_rtx", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "gtop", ")", ",", "gtop", ",", "t", ")", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "t", "=", "make_tree", "(", "TREE_TYPE", "(", "ftop", ")", ",", "virtual_incoming_args_rtx", ")", ";", "fpr_offset", "=", "gpr_save_area_size", "+", "UNITS_PER_FPVALUE", "-", "1", ";", "fpr_offset", "&=", "-", "UNITS_PER_FPVALUE", ";", "if", "(", "fpr_offset", ")", "t", "=", "fold_build_pointer_plus_hwi", "(", "t", ",", "-", "fpr_offset", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "ftop", ")", ",", "ftop", ",", "t", ")", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "goff", ")", ",", "goff", ",", "build_int_cst", "(", "TREE_TYPE", "(", "goff", ")", ",", "gpr_save_area_size", ")", ")", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "foff", ")", ",", "foff", ",", "build_int_cst", "(", "TREE_TYPE", "(", "foff", ")", ",", "fpr_save_area_size", ")", ")", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "}", "else", "{", "nextarg", "=", "plus_constant", "(", "Pmode", ",", "nextarg", ",", "-", "cfun", "->", "machine", "->", "varargs_size", ")", ";", "std_expand_builtin_va_start", "(", "valist", ",", "nextarg", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "va_start", "."], "TS_V_token": ["mips", "0", "1"], "File": "mips", "Func": "mips_va_start", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6414, "Length": 476, "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", "::", "BITCAST", ":", "Res", "=", "ExpandBITCAST", "(", "N", ",", "DAG", ")", ";", "break", ";", "case", "ISD", "::", "SRL", ":", "case", "ISD", "::", "SRA", ":", "Res", "=", "Expand64BitShift", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "break", ";", "case", "ISD", "::", "ATOMIC_LOAD_ADD", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMADD64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_LOAD_AND", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMAND64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_LOAD_NAND", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMNAND64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_LOAD_OR", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMOR64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_LOAD_SUB", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMSUB64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_LOAD_XOR", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMXOR64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_SWAP", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMSWAP64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_CMP_SWAP", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMCMPXCHG64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_LOAD_MIN", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMMIN64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_LOAD_UMIN", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMUMIN64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_LOAD_MAX", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMMAX64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_LOAD_UMAX", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMUMAX64_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::BITCAST", "ISD::SRL", "ISD::SRA", "ISD::ATOMIC_LOAD_ADD", "ARMISD::ATOMADD64_DAG", "ISD::ATOMIC_LOAD_AND", "ARMISD::ATOMAND64_DAG", "ISD::ATOMIC_LOAD_NAND", "ARMISD::ATOMNAND64_DAG", "ISD::ATOMIC_LOAD_OR", "ARMISD::ATOMOR64_DAG", "ISD::ATOMIC_LOAD_SUB", "ARMISD::ATOMSUB64_DAG", "ISD::ATOMIC_LOAD_XOR", "ARMISD::ATOMXOR64_DAG", "ISD::ATOMIC_SWAP", "ARMISD::ATOMSWAP64_DAG", "ISD::ATOMIC_CMP_SWAP", "ARMISD::ATOMCMPXCHG64_DAG", "ISD::ATOMIC_LOAD_MIN", "ARMISD::ATOMMIN64_DAG", "ISD::ATOMIC_LOAD_UMIN", "ARMISD::ATOMUMIN64_DAG", "ISD::ATOMIC_LOAD_MAX", "ARMISD::ATOMMAX64_DAG", "ISD::ATOMIC_LOAD_UMAX", "ARMISD::ATOMUMAX64_DAG"], "File": "ARMISelLowering141", "Func": "ReplaceNodeResults", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6415, "Length": 337, "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": 6416, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "reg_class", "mep_preferred_reload_class", "(", "rtx", "x", ",", "enum", "reg_class", "rclass", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "CONST_INT", ":", "if", "(", "INTVAL", "(", "x", ")", ">=", "0x10000", "&&", "INTVAL", "(", "x", ")", "<", "0x01000000", "&&", "(", "INTVAL", "(", "x", ")", "&", "0xffff", ")", "!=", "0", "&&", "reg_class_subset_p", "(", "TPREL_REGS", ",", "rclass", ")", ")", "rclass", "=", "TPREL_REGS", ";", "break", ";", "case", "CONST", ":", "case", "SYMBOL_REF", ":", "case", "LABEL_REF", ":", "if", "(", "mep_section_tag", "(", "x", ")", "!=", "'f'", "&&", "reg_class_subset_p", "(", "TPREL_REGS", ",", "rclass", ")", ")", "rclass", "=", "TPREL_REGS", ";", "break", ";", "default", ":", "break", ";", "}", "return", "rclass", ";", "}", ""], "natrual_language": ["Implement", "PREFERRED_RELOAD_CLASS", ".", "See", "whether", "X", "is", "a", "constant", "that", "can", "be", "moved", "directly", "into", "registers", "0", "to", "7", ",", "but", "not", "into", "the", "rest", ".", "If", "so", ",", "and", "if", "the", "required", "class", "includes", "registers", "0", "to", "7", ",", "restrict", "it", "to", "those", "registers", "."], "TS_V_token": ["mep", "0x10000", "0x01000000", "0xffff", "0"], "File": "mep", "Func": "mep_preferred_reload_class", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6417, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "long", "arm_compute_save_core_reg_mask", "(", "void", ")", "{", "unsigned", "int", "save_reg_mask", "=", "0", ";", "unsigned", "long", "func_type", "=", "arm_current_func_type", "(", ")", ";", "unsigned", "int", "reg", ";", "if", "(", "IS_NAKED", "(", "func_type", ")", ")", "return", "0", ";", "if", "(", "TARGET_APCS_FRAME", "&&", "frame_pointer_needed", "&&", "TARGET_ARM", ")", "save_reg_mask", "|=", "(", "1", "<<", "ARM_HARD_FRAME_POINTER_REGNUM", ")", "|", "(", "1", "<<", "IP_REGNUM", ")", "|", "(", "1", "<<", "LR_REGNUM", ")", "|", "(", "1", "<<", "PC_REGNUM", ")", ";", "save_reg_mask", "|=", "arm_compute_save_reg0_reg12_mask", "(", ")", ";", "if", "(", "arm_current_function_pac_enabled_p", "(", ")", ")", "save_reg_mask", "|=", "1", "<<", "IP_REGNUM", ";", "if", "(", "df_regs_ever_live_p", "(", "LR_REGNUM", ")", "||", "(", "save_reg_mask", "&&", "optimize_size", "&&", "ARM_FUNC_TYPE", "(", "func_type", ")", "==", "ARM_FT_NORMAL", "&&", "!", "crtl", "->", "tail_call_emit", "&&", "!", "crtl", "->", "calls_eh_return", ")", ")", "save_reg_mask", "|=", "1", "<<", "LR_REGNUM", ";", "if", "(", "cfun", "->", "machine", "->", "lr_save_eliminated", ")", "save_reg_mask", "&=", "~", "(", "1", "<<", "LR_REGNUM", ")", ";", "if", "(", "TARGET_REALLY_IWMMXT", "&&", "(", "(", "bit_count", "(", "save_reg_mask", ")", "+", "ARM_NUM_INTS", "(", "crtl", "->", "args", ".", "pretend_args_size", "+", "arm_compute_static_chain_stack_bytes", "(", ")", ")", ")", "%", "2", ")", "!=", "0", ")", "{", "for", "(", "reg", "=", "4", ";", "reg", "<=", "12", ";", "reg", "++", ")", "if", "(", "(", "save_reg_mask", "&", "(", "1", "<<", "reg", ")", ")", "==", "0", ")", "break", ";", "if", "(", "reg", "<=", "12", ")", "save_reg_mask", "|=", "(", "1", "<<", "reg", ")", ";", "else", "{", "cfun", "->", "machine", "->", "sibcall_blocked", "=", "1", ";", "save_reg_mask", "|=", "(", "1", "<<", "3", ")", ";", "}", "}", "if", "(", "TARGET_THUMB2", "&&", "IS_NESTED", "(", "func_type", ")", "&&", "flag_pic", "&&", "(", "save_reg_mask", "&", "THUMB2_WORK_REGS", ")", "==", "0", ")", "{", "reg", "=", "thumb_find_work_register", "(", "1", "<<", "4", ")", ";", "if", "(", "!", "call_used_or_fixed_reg_p", "(", "reg", ")", ")", "save_reg_mask", "|=", "(", "1", "<<", "reg", ")", ";", "}", "return", "save_reg_mask", ";", "}", ""], "natrual_language": ["Compute", "a", "bit", "mask", "of", "which", "core", "registers", "need", "to", "be", "saved", "on", "the", "stack", "for", "the", "current", "function", ".", "This", "is", "used", "by", "arm_compute_frame_layout", ",", "which", "may", "add", "extra", "registers", "."], "TS_V_token": ["arm", "0", "0", "1", "1", "1", "1", "1", "1", "1", "2", "0", "4", "12", "1", "0", "12", "1", "1", "1", "3", "0", "1", "4", "1"], "File": "arm1", "Func": "arm_compute_save_core_reg_mask", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6418, "Length": 285, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSETargetLowering", "::", "isEligibleForTailCallOptimization", "(", "const", "MipsCC", "&", "MipsCCInfo", ",", "unsigned", "NextStackOffset", ",", "const", "MipsFunctionInfo", "&", "FI", ")", "const", "{", "if", "(", "!", "EnableMipsTailCalls", ")", "return", "false", ";", "if", "(", "MipsCCInfo", ".", "hasByValArg", "(", ")", "||", "FI", ".", "hasByvalArg", "(", ")", ")", "return", "false", ";", "return", "NextStackOffset", "<=", "FI", ".", "getIncomingArgSize", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "call", "can", "be", "lowered", "as", "a", "tail", "call", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsSEISelLowering (2)", "Func": "isEligibleForTailCallOptimization", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6419, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_output_multireg_pop", "(", "rtx", "*", "operands", ",", "bool", "return_pc", ",", "rtx", "cond", ",", "bool", "reverse", ",", "bool", "update", ")", "{", "int", "i", ";", "char", "pattern", "[", "100", "]", ";", "int", "offset", ";", "const", "char", "*", "conditional", ";", "int", "num_saves", "=", "XVECLEN", "(", "operands", "[", "0", "]", ",", "0", ")", ";", "unsigned", "int", "regno", ";", "unsigned", "int", "regno_base", "=", "REGNO", "(", "operands", "[", "1", "]", ")", ";", "bool", "interrupt_p", "=", "IS_INTERRUPT", "(", "arm_current_func_type", "(", ")", ")", ";", "offset", "=", "0", ";", "offset", "+=", "update", "?", "1", ":", "0", ";", "offset", "+=", "return_pc", "?", "1", ":", "0", ";", "for", "(", "i", "=", "offset", ";", "i", "<", "num_saves", ";", "i", "++", ")", "{", "regno", "=", "REGNO", "(", "XEXP", "(", "XVECEXP", "(", "operands", "[", "0", "]", ",", "0", ",", "i", ")", ",", "0", ")", ")", ";", "gcc_assert", "(", "(", "regno", "!=", "SP_REGNUM", ")", "||", "(", "regno_base", "==", "SP_REGNUM", ")", ")", ";", "if", "(", "regno", "==", "regno_base", ")", "gcc_assert", "(", "!", "update", ")", ";", "}", "conditional", "=", "reverse", "?", "\"%?%D0\"", ":", "\"%?%d0\"", ";", "if", "(", "(", "regno_base", "==", "SP_REGNUM", ")", "&&", "update", "&&", "!", "(", "interrupt_p", "&&", "return_pc", ")", ")", "sprintf", "(", "pattern", ",", "\"pop%s\\t{\"", ",", "conditional", ")", ";", "else", "{", "if", "(", "regno_base", "==", "SP_REGNUM", ")", "sprintf", "(", "pattern", ",", "\"ldmfd%s\\t\"", ",", "conditional", ")", ";", "else", "if", "(", "update", ")", "sprintf", "(", "pattern", ",", "\"ldmia%s\\t\"", ",", "conditional", ")", ";", "else", "sprintf", "(", "pattern", ",", "\"ldm%s\\t\"", ",", "conditional", ")", ";", "strcat", "(", "pattern", ",", "reg_names", "[", "regno_base", "]", ")", ";", "if", "(", "update", ")", "strcat", "(", "pattern", ",", "\"!, {\"", ")", ";", "else", "strcat", "(", "pattern", ",", "\", {\"", ")", ";", "}", "strcat", "(", "pattern", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "XVECEXP", "(", "operands", "[", "0", "]", ",", "0", ",", "offset", ")", ",", "0", ")", ")", "]", ")", ";", "for", "(", "i", "=", "offset", "+", "1", ";", "i", "<", "num_saves", ";", "i", "++", ")", "{", "strcat", "(", "pattern", ",", "\", \"", ")", ";", "strcat", "(", "pattern", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "XVECEXP", "(", "operands", "[", "0", "]", ",", "0", ",", "i", ")", ",", "0", ")", ")", "]", ")", ";", "}", "strcat", "(", "pattern", ",", "\"}\"", ")", ";", "if", "(", "interrupt_p", "&&", "return_pc", ")", "strcat", "(", "pattern", ",", "\"^\"", ")", ";", "output_asm_insn", "(", "pattern", ",", "&", "cond", ")", ";", "}", ""], "natrual_language": ["OPERANDS", "[", "0", "]", "is", "the", "entire", "list", "of", "insns", "that", "constitute", "pop", ",", "OPERANDS", "[", "1", "]", "is", "the", "base", "register", ",", "RETURN_PC", "is", "true", "iff", "return", "insn", "is", "in", "the", "list", ",", "UPDATE", "is", "true", "iff", "the", "list", "contains", "explicit", "update", "of", "base", "register", "."], "TS_V_token": ["arm", "100", "0", "0", "1", "0", "1", "0", "1", "0", "0", "0", "0", "\"%?%D0\"", "\"%?%d0\"", "\"pop%s\\t{\"", "\"ldmfd%s\\t\"", "\"ldmia%s\\t\"", "\"ldm%s\\t\"", "\"!, {\"", "\", {\"", "0", "0", "0", "1", "\", \"", "0", "0", "0", "\"}\"", "\"^\""], "File": "arm", "Func": "arm_output_multireg_pop", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6420, "Length": 374, "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": 6421, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_define_or_undefine_macro", "(", "bool", "define_p", ",", "const", "char", "*", "name", ")", "{", "if", "(", "TARGET_DEBUG_BUILTIN", "||", "TARGET_DEBUG_TARGET", ")", "fprintf", "(", "stderr", ",", "\"#%s %s\\n\"", ",", "(", "define_p", ")", "?", "\"define\"", ":", "\"undef\"", ",", "name", ")", ";", "if", "(", "define_p", ")", "cpp_define", "(", "parse_in", ",", "name", ")", ";", "else", "cpp_undef", "(", "parse_in", ",", "name", ")", ";", "}", ""], "natrual_language": ["Define", "or", "undefine", "a", "single", "macro", "."], "TS_V_token": ["powerpcspe", "\"#%s %s\\n\"", "\"define\"", "\"undef\""], "File": "powerpcspe-c", "Func": "rs6000_define_or_undefine_macro", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6422, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "legitimize_pe_coff_symbol", "(", "rtx", "addr", ",", "bool", "inreg", ")", "{", "if", "(", "!", "TARGET_PECOFF", ")", "return", "NULL_RTX", ";", "if", "(", "TARGET_DLLIMPORT_DECL_ATTRIBUTES", ")", "{", "if", "(", "GET_CODE", "(", "addr", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_DLLIMPORT_P", "(", "addr", ")", ")", "return", "legitimize_dllimport_symbol", "(", "addr", ",", "inreg", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "0", ")", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_DLLIMPORT_P", "(", "XEXP", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "0", ")", ")", ")", "{", "rtx", "t", "=", "legitimize_dllimport_symbol", "(", "XEXP", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "0", ")", ",", "inreg", ")", ";", "return", "gen_rtx_PLUS", "(", "Pmode", ",", "t", ",", "XEXP", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "1", ")", ")", ";", "}", "}", "if", "(", "ix86_cmodel", "!=", "CM_LARGE_PIC", "&&", "ix86_cmodel", "!=", "CM_MEDIUM_PIC", ")", "return", "NULL_RTX", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "SYMBOL_REF", "&&", "!", "is_imported_p", "(", "addr", ")", "&&", "SYMBOL_REF_EXTERNAL_P", "(", "addr", ")", "&&", "SYMBOL_REF_DECL", "(", "addr", ")", ")", "return", "legitimize_pe_coff_extern_decl", "(", "addr", ",", "inreg", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "0", ")", ")", "==", "SYMBOL_REF", "&&", "!", "is_imported_p", "(", "XEXP", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "0", ")", ")", "&&", "SYMBOL_REF_EXTERNAL_P", "(", "XEXP", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "0", ")", ")", "&&", "SYMBOL_REF_DECL", "(", "XEXP", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "0", ")", ")", ")", "{", "rtx", "t", "=", "legitimize_pe_coff_extern_decl", "(", "XEXP", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "0", ")", ",", "inreg", ")", ";", "return", "gen_rtx_PLUS", "(", "Pmode", ",", "t", ",", "XEXP", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "1", ")", ")", ";", "}", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Expand", "SYMBOL", "into", "its", "corresponding", "dllimport", "or", "refptr", "symbol", ".", "WANT_REG", "is", "true", "if", "we", "require", "the", "result", "be", "a", "register", "."], "TS_V_token": ["i386", "0", "0", "0", "0", "0", "0", "0", "0", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1"], "File": "i3864", "Func": "legitimize_pe_coff_symbol", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6423, "Length": 318, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_current_function_pac_enabled_p", "(", "void", ")", "{", "return", "(", "aarch_ra_sign_scope", "==", "AARCH_FUNCTION_ALL", "||", "(", "aarch_ra_sign_scope", "==", "AARCH_FUNCTION_NON_LEAF", "&&", "!", "crtl", "->", "is_leaf", ")", ")", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "return", "address", "signing", "mechanism", "is", "enabled", "."], "TS_V_token": ["arm"], "File": "arm1", "Func": "arm_current_function_pac_enabled_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6424, "Length": 25, "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", ";", "}", "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": "X86AsmParser108", "Func": "checkTargetMatchPredicate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6425, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_builtin_reciprocal", "(", "tree", "fndecl", ")", "{", "switch", "(", "DECL_FUNCTION_CODE", "(", "fndecl", ")", ")", "{", "case", "IX86_BUILTIN_SQRTPS_NR", ":", "return", "ix86_get_builtin", "(", "IX86_BUILTIN_RSQRTPS_NR", ")", ";", "case", "IX86_BUILTIN_SQRTPS_NR256", ":", "return", "ix86_get_builtin", "(", "IX86_BUILTIN_RSQRTPS_NR256", ")", ";", "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": ["i386"], "File": "i3865", "Func": "ix86_builtin_reciprocal", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6426, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "struct", "mips_cpu_info", "*", "mips_cpu_info_from_isa", "(", "int", "isa", ")", "{", "unsigned", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "mips_cpu_info_table", ")", ";", "i", "++", ")", "if", "(", "mips_cpu_info_table", "[", "i", "]", ".", "isa", "==", "isa", ")", "return", "mips_cpu_info_table", "+", "i", ";", "return", "NULL", ";", "}", ""], "natrual_language": ["Return", "the", "processor", "associated", "with", "the", "given", "ISA", "level", ",", "or", "null", "if", "the", "ISA", "is", "n't", "valid", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips_cpu_info_from_isa", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6427, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "LEGRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "static", "const", "uint16_t", "CalleeSavedRegs", "[", "]", "=", "{", "LEG", "::", "R4", ",", "LEG", "::", "R5", ",", "LEG", "::", "R6", ",", "LEG", "::", "R7", ",", "LEG", "::", "R8", ",", "LEG", "::", "R9", ",", "0", "}", ";", "return", "CalleeSavedRegs", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["LEG", "LEG", "LEG::R4", "LEG::R5", "LEG::R6", "LEG::R7", "LEG::R8", "LEG::R9", "0"], "File": "LEGRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6428, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"ARM fix for Cortex-A57 AES Erratum 1742098\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"ARM fix for Cortex-A57 AES Erratum 1742098\""], "File": "ARMFixCortexA57AES1742098Pass", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6429, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "add_parameter_dependencies", "(", "rtx_insn", "*", "call", ",", "rtx_insn", "*", "head", ")", "{", "rtx_insn", "*", "insn", ";", "rtx_insn", "*", "last", "=", "call", ";", "rtx_insn", "*", "first_arg", "=", "NULL", ";", "bool", "is_spilled", "=", "false", ";", "head", "=", "PREV_INSN", "(", "head", ")", ";", "while", "(", "true", ")", "{", "last", "=", "PREV_INSN", "(", "last", ")", ";", "if", "(", "last", "==", "head", ")", "return", "NULL", ";", "if", "(", "!", "NONDEBUG_INSN_P", "(", "last", ")", ")", "continue", ";", "if", "(", "insn_is_function_arg", "(", "last", ",", "&", "is_spilled", ")", ")", "break", ";", "return", "NULL", ";", "}", "first_arg", "=", "last", ";", "while", "(", "true", ")", "{", "insn", "=", "PREV_INSN", "(", "last", ")", ";", "if", "(", "!", "INSN_P", "(", "insn", ")", ")", "break", ";", "if", "(", "insn", "==", "head", ")", "break", ";", "if", "(", "!", "NONDEBUG_INSN_P", "(", "insn", ")", ")", "{", "last", "=", "insn", ";", "continue", ";", "}", "if", "(", "insn_is_function_arg", "(", "insn", ",", "&", "is_spilled", ")", ")", "{", "if", "(", "is_spilled", ")", "add_dependence", "(", "first_arg", ",", "insn", ",", "REG_DEP_OUTPUT", ")", ";", "first_arg", "=", "last", "=", "insn", ";", "}", "else", "break", ";", "}", "if", "(", "!", "is_spilled", ")", "return", "NULL", ";", "return", "first_arg", ";", "}", ""], "natrual_language": ["Add", "output", "dependencies", "for", "chain", "of", "function", "adjacent", "arguments", "if", "only", "there", "is", "a", "move", "to", "likely", "spilled", "HW", "register", ".", "Return", "first", "argument", "if", "at", "least", "one", "dependence", "was", "added", "or", "NULL", "otherwise", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "add_parameter_dependencies", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6430, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_replace_reg_mode", "(", "rtx", "x", ",", "machine_mode", "mode", ")", "{", "if", "(", "GET_MODE", "(", "x", ")", "==", "mode", ")", "return", "x", ";", "x", "=", "shallow_copy_rtx", "(", "x", ")", ";", "set_mode_and_regno", "(", "x", ",", "mode", ",", "REGNO", "(", "x", ")", ")", ";", "return", "x", ";", "}", ""], "natrual_language": ["Return", "a", "copy", "of", "X", "with", "mode", "MODE", ",", "without", "changing", "its", "other", "attributes", ".", "Unlike", "gen_lowpart", ",", "this", "does", "n't", "care", "whether", "the", "mode", "change", "is", "valid", "."], "TS_V_token": ["aarch64"], "File": "aarch645", "Func": "aarch64_replace_reg_mode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6431, "Length": 46, "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": 6432, "Length": 213, "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", "(", "hasMSA", "(", ")", "&&", "!", "isFP64bit", "(", ")", ")", "report_fatal_error", "(", "\"MSA requires a 64-bit FPU register file (FR=1 mode). \"", "\"See -mattr=+fp64.\"", ",", "false", ")", ";", "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.\"", "\"MSA requires a 64-bit FPU register file (FR=1 mode). \"", "\"See -mattr=+fp64.\"", "\"linux\"", "Mips"], "File": "MipsSubtarget57", "Func": "MipsSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6433, "Length": 324, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64MCInstLower", "::", "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", ";", "MCOp", "=", "MCOperand", "::", "CreateReg", "(", "MO", ".", "getReg", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_RegisterMask", ":", "return", "false", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "MCOp", "=", "MCOperand", "::", "CreateImm", "(", "MO", ".", "getImm", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "MCOp", "=", "MCOperand", "::", "CreateExpr", "(", "MCSymbolRefExpr", "::", "Create", "(", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ",", "Ctx", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "GetGlobalAddressSymbol", "(", "MO", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "GetExternalSymbolSymbol", "(", "MO", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "Printer", ".", "GetJTISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "Printer", ".", "GetCPISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_BlockAddress", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "Printer", ".", "GetBlockAddressSymbol", "(", "MO", ".", "getBlockAddress", "(", ")", ")", ")", ";", "break", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Wrapper", "for", "MCInstLowering.lowerOperand", "(", ")", "for", "the", "tblgen'erated", "pseudo", "lowering", "."], "TS_V_token": ["AArch64", "AArch64", "\"unknown operand type\""], "File": "AArch64MCInstLower", "Func": "lowerOperand", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6434, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_float_exceptions_rounding_supported_p", "(", "void", ")", "{", "return", "TARGET_80387", "||", "(", "TARGET_SSE", "&&", "TARGET_SSE_MATH", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FLOAT_EXCEPTIONS_ROUNDING_SUPPORTED_P", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_float_exceptions_rounding_supported_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6435, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "MipsTargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "EVT", "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": "MipsISelLowering44", "Func": "getRegisterByName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6436, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sparc_expand_conditional_move", "(", "machine_mode", "mode", ",", "rtx", "*", "operands", ")", "{", "enum", "rtx_code", "rc", "=", "GET_CODE", "(", "operands", "[", "1", "]", ")", ";", "machine_mode", "cmp_mode", ";", "rtx", "cc_reg", ",", "dst", ",", "cmp", ";", "cmp", "=", "operands", "[", "1", "]", ";", "if", "(", "GET_MODE", "(", "XEXP", "(", "cmp", ",", "0", ")", ")", "==", "DImode", "&&", "!", "TARGET_ARCH64", ")", "return", "false", ";", "if", "(", "GET_MODE", "(", "XEXP", "(", "cmp", ",", "0", ")", ")", "==", "TFmode", "&&", "!", "TARGET_HARD_QUAD", ")", "cmp", "=", "sparc_emit_float_lib_cmp", "(", "XEXP", "(", "cmp", ",", "0", ")", ",", "XEXP", "(", "cmp", ",", "1", ")", ",", "rc", ")", ";", "cmp_mode", "=", "GET_MODE", "(", "XEXP", "(", "cmp", ",", "0", ")", ")", ";", "rc", "=", "GET_CODE", "(", "cmp", ")", ";", "dst", "=", "operands", "[", "0", "]", ";", "if", "(", "!", "rtx_equal_p", "(", "operands", "[", "2", "]", ",", "dst", ")", "&&", "!", "rtx_equal_p", "(", "operands", "[", "3", "]", ",", "dst", ")", ")", "{", "if", "(", "reg_overlap_mentioned_p", "(", "dst", ",", "cmp", ")", ")", "dst", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_move_insn", "(", "dst", ",", "operands", "[", "3", "]", ")", ";", "}", "else", "if", "(", "operands", "[", "2", "]", "==", "dst", ")", "{", "operands", "[", "2", "]", "=", "operands", "[", "3", "]", ";", "if", "(", "GET_MODE_CLASS", "(", "cmp_mode", ")", "==", "MODE_FLOAT", ")", "rc", "=", "reverse_condition_maybe_unordered", "(", "rc", ")", ";", "else", "rc", "=", "reverse_condition", "(", "rc", ")", ";", "}", "if", "(", "XEXP", "(", "cmp", ",", "1", ")", "==", "const0_rtx", "&&", "GET_CODE", "(", "XEXP", "(", "cmp", ",", "0", ")", ")", "==", "REG", "&&", "cmp_mode", "==", "DImode", "&&", "v9_regcmp_p", "(", "rc", ")", ")", "cc_reg", "=", "XEXP", "(", "cmp", ",", "0", ")", ";", "else", "cc_reg", "=", "gen_compare_reg_1", "(", "rc", ",", "XEXP", "(", "cmp", ",", "0", ")", ",", "XEXP", "(", "cmp", ",", "1", ")", ")", ";", "cmp", "=", "gen_rtx_fmt_ee", "(", "rc", ",", "GET_MODE", "(", "cc_reg", ")", ",", "cc_reg", ",", "const0_rtx", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dst", ",", "gen_rtx_IF_THEN_ELSE", "(", "mode", ",", "cmp", ",", "operands", "[", "2", "]", ",", "dst", ")", ")", ")", ";", "if", "(", "dst", "!=", "operands", "[", "0", "]", ")", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "dst", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "conditionally", "move", "either", "OPERANDS", "[", "2", "]", "or", "OPERANDS", "[", "3", "]", "into", "OPERANDS", "[", "0", "]", "in", "MODE", ".", "OPERANDS", "[", "1", "]", "is", "the", "operator", "of", "the", "condition", "."], "TS_V_token": ["sparc", "1", "1", "0", "0", "0", "1", "0", "0", "2", "3", "3", "2", "2", "3", "1", "0", "0", "0", "1", "2", "0", "0"], "File": "sparc4", "Func": "sparc_expand_conditional_move", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6437, "Length": 348, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "CSKYMCCodeEmitter", "::", "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": ["CSKY", "CSKY", "\"Unhandled expression!\"", "0"], "File": "CSKYMCCodeEmitter", "Func": "getMachineOpValue", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6438, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86ATTInstPrinter", "::", "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", "(", "CommentStream", ")", "HasCustomInstComment", "=", "EmitAnyX86InstComments", "(", "MI", ",", "*", "CommentStream", ",", "MII", ")", ";", "unsigned", "Flags", "=", "MI", "->", "getFlags", "(", ")", ";", "if", "(", "(", "TSFlags", "&", "X86II", "::", "LOCK", ")", "||", "(", "Flags", "&", "X86", "::", "IP_HAS_LOCK", ")", ")", "OS", "<<", "\"\\tlock\\t\"", ";", "if", "(", "(", "TSFlags", "&", "X86II", "::", "NOTRACK", ")", "||", "(", "Flags", "&", "X86", "::", "IP_HAS_NOTRACK", ")", ")", "OS", "<<", "\"\\tnotrack\\t\"", ";", "if", "(", "Flags", "&", "X86", "::", "IP_HAS_REPEAT_NE", ")", "OS", "<<", "\"\\trepne\\t\"", ";", "else", "if", "(", "Flags", "&", "X86", "::", "IP_HAS_REPEAT", ")", "OS", "<<", "\"\\trep\\t\"", ";", "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", "]", ")", ")", "{", "MCInst", "Data32MI", "(", "*", "MI", ")", ";", "Data32MI", ".", "setOpcode", "(", "X86", "::", "DATA32_PREFIX", ")", ";", "printInstruction", "(", "&", "Data32MI", ",", "OS", ")", ";", "}", "else", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "OS", ")", ")", "printInstruction", "(", "MI", ",", "OS", ")", ";", "printAnnotation", "(", "OS", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["X86", "X86", "X86", "X86II::LOCK", "X86::IP_HAS_LOCK", "\"\\tlock\\t\"", "X86II::NOTRACK", "X86::IP_HAS_NOTRACK", "\"\\tnotrack\\t\"", "X86::IP_HAS_REPEAT_NE", "\"\\trepne\\t\"", "X86::IP_HAS_REPEAT", "\"\\trep\\t\"", "X86::CALLpcrel32", "X86::Mode64Bit", "\"\\tcallq\\t\"", "0", "X86::DATA16_PREFIX", "X86::Mode16Bit", "X86::DATA32_PREFIX"], "File": "X86ATTInstPrinter50", "Func": "printInst", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6439, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"AdvSIMD scalar operation optimization\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM64", "\"AdvSIMD scalar operation optimization\""], "File": "ARM64AdvSIMDScalarPass", "Func": "getPassName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6440, "Length": 12, "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": 6441, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TargetLowering", "::", "ComputeNumSignBitsForTargetNode", "(", "SDValue", "Op", ",", "const", "APInt", "&", "DemandedElts", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "unsigned", "VTBits", "=", "Op", ".", "getScalarValueSizeInBits", "(", ")", ";", "unsigned", "Opcode", "=", "Op", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "case", "X86ISD", "::", "SETCC_CARRY", ":", "return", "VTBits", ";", "case", "X86ISD", "::", "VSEXT", ":", "{", "SDValue", "Src", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "unsigned", "Tmp", "=", "DAG", ".", "ComputeNumSignBits", "(", "Src", ",", "Depth", "+", "1", ")", ";", "Tmp", "+=", "VTBits", "-", "Src", ".", "getScalarValueSizeInBits", "(", ")", ";", "return", "Tmp", ";", "}", "case", "X86ISD", "::", "VSHLI", ":", "{", "SDValue", "Src", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "unsigned", "Tmp", "=", "DAG", ".", "ComputeNumSignBits", "(", "Src", ",", "Depth", "+", "1", ")", ";", "APInt", "ShiftVal", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "1", ")", ")", "->", "getAPIntValue", "(", ")", ";", "if", "(", "ShiftVal", ".", "uge", "(", "VTBits", ")", ")", "return", "VTBits", ";", "if", "(", "ShiftVal", ".", "uge", "(", "Tmp", ")", ")", "return", "1", ";", "return", "Tmp", "-", "ShiftVal", ".", "getZExtValue", "(", ")", ";", "}", "case", "X86ISD", "::", "VSRAI", ":", "{", "SDValue", "Src", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "unsigned", "Tmp", "=", "DAG", ".", "ComputeNumSignBits", "(", "Src", ",", "Depth", "+", "1", ")", ";", "APInt", "ShiftVal", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "1", ")", ")", "->", "getAPIntValue", "(", ")", ";", "ShiftVal", "+=", "Tmp", ";", "return", "ShiftVal", ".", "uge", "(", "VTBits", ")", "?", "VTBits", ":", "ShiftVal", ".", "getZExtValue", "(", ")", ";", "}", "case", "X86ISD", "::", "PCMPGT", ":", "case", "X86ISD", "::", "PCMPEQ", ":", "case", "X86ISD", "::", "CMPP", ":", "case", "X86ISD", "::", "VPCOM", ":", "case", "X86ISD", "::", "VPCOMU", ":", "return", "VTBits", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["Determine", "the", "number", "of", "bits", "in", "the", "operation", "that", "are", "sign", "bits", "."], "TS_V_token": ["X86", "X86", "X86ISD::SETCC_CARRY", "X86ISD::VSEXT", "0", "1", "X86ISD::VSHLI", "0", "1", "1", "1", "X86ISD::VSRAI", "0", "1", "1", "X86ISD::PCMPGT", "X86ISD::PCMPEQ", "X86ISD::CMPP", "X86ISD::VPCOM", "X86ISD::VPCOMU", "1"], "File": "X86ISelLowering152", "Func": "ComputeNumSignBitsForTargetNode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6442, "Length": 286, "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": 6443, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCDispatchGroupSBHazardRecognizer", "::", "EmitNoop", "(", ")", "{", "unsigned", "Directive", "=", "DAG", "->", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "getDarwinDirective", "(", ")", ";", "if", "(", "Directive", "==", "PPC", "::", "DIR_PWR6", "||", "Directive", "==", "PPC", "::", "DIR_PWR7", "||", "Directive", "==", "PPC", "::", "DIR_PWR8", "||", "CurSlots", "==", "6", ")", "{", "CurGroup", ".", "clear", "(", ")", ";", "CurSlots", "=", "CurBranches", "=", "0", ";", "}", "else", "{", "CurGroup", ".", "push_back", "(", "nullptr", ")", ";", "++", "CurSlots", ";", "}", "}", ""], "natrual_language": ["EmitNoop", "-", "This", "callback", "is", "invoked", "when", "a", "noop", "was", "added", "to", "the", "instruction", "stream", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::DIR_PWR6", "PPC::DIR_PWR7", "PPC::DIR_PWR8", "6", "0"], "File": "PPCHazardRecognizers18", "Func": "EmitNoop", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6444, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "PPCTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "nullptr", ";", "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", "::", "FRE", ":", "return", "\"PPCISD::FRE\"", ";", "case", "PPCISD", "::", "FRSQRTE", ":", "return", "\"PPCISD::FRSQRTE\"", ";", "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", "::", "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", "::", "CALL", ":", "return", "\"PPCISD::CALL\"", ";", "case", "PPCISD", "::", "CALL_NOP", ":", "return", "\"PPCISD::CALL_NOP\"", ";", "case", "PPCISD", "::", "CALL_TLS", ":", "return", "\"PPCISD::CALL_TLS\"", ";", "case", "PPCISD", "::", "CALL_NOP_TLS", ":", "return", "\"PPCISD::CALL_NOP_TLS\"", ";", "case", "PPCISD", "::", "MTCTR", ":", "return", "\"PPCISD::MTCTR\"", ";", "case", "PPCISD", "::", "BCTRL", ":", "return", "\"PPCISD::BCTRL\"", ";", "case", "PPCISD", "::", "RET_FLAG", ":", "return", "\"PPCISD::RET_FLAG\"", ";", "case", "PPCISD", "::", "EH_SJLJ_SETJMP", ":", "return", "\"PPCISD::EH_SJLJ_SETJMP\"", ";", "case", "PPCISD", "::", "EH_SJLJ_LONGJMP", ":", "return", "\"PPCISD::EH_SJLJ_LONGJMP\"", ";", "case", "PPCISD", "::", "MFOCRF", ":", "return", "\"PPCISD::MFOCRF\"", ";", "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", "::", "BDNZ", ":", "return", "\"PPCISD::BDNZ\"", ";", "case", "PPCISD", "::", "BDZ", ":", "return", "\"PPCISD::BDZ\"", ";", "case", "PPCISD", "::", "MFFS", ":", "return", "\"PPCISD::MFFS\"", ";", "case", "PPCISD", "::", "FADDRTZ", ":", "return", "\"PPCISD::FADDRTZ\"", ";", "case", "PPCISD", "::", "TC_RETURN", ":", "return", "\"PPCISD::TC_RETURN\"", ";", "case", "PPCISD", "::", "CR6SET", ":", "return", "\"PPCISD::CR6SET\"", ";", "case", "PPCISD", "::", "CR6UNSET", ":", "return", "\"PPCISD::CR6UNSET\"", ";", "case", "PPCISD", "::", "ADDIS_TOC_HA", ":", "return", "\"PPCISD::ADDIS_TOC_HA\"", ";", "case", "PPCISD", "::", "LD_TOC_L", ":", "return", "\"PPCISD::LD_TOC_L\"", ";", "case", "PPCISD", "::", "ADDI_TOC_L", ":", "return", "\"PPCISD::ADDI_TOC_L\"", ";", "case", "PPCISD", "::", "PPC32_GOT", ":", "return", "\"PPCISD::PPC32_GOT\"", ";", "case", "PPCISD", "::", "ADDIS_GOT_TPREL_HA", ":", "return", "\"PPCISD::ADDIS_GOT_TPREL_HA\"", ";", "case", "PPCISD", "::", "LD_GOT_TPREL_L", ":", "return", "\"PPCISD::LD_GOT_TPREL_L\"", ";", "case", "PPCISD", "::", "ADD_TLS", ":", "return", "\"PPCISD::ADD_TLS\"", ";", "case", "PPCISD", "::", "ADDIS_TLSGD_HA", ":", "return", "\"PPCISD::ADDIS_TLSGD_HA\"", ";", "case", "PPCISD", "::", "ADDI_TLSGD_L", ":", "return", "\"PPCISD::ADDI_TLSGD_L\"", ";", "case", "PPCISD", "::", "ADDIS_TLSLD_HA", ":", "return", "\"PPCISD::ADDIS_TLSLD_HA\"", ";", "case", "PPCISD", "::", "ADDI_TLSLD_L", ":", "return", "\"PPCISD::ADDI_TLSLD_L\"", ";", "case", "PPCISD", "::", "ADDIS_DTPREL_HA", ":", "return", "\"PPCISD::ADDIS_DTPREL_HA\"", ";", "case", "PPCISD", "::", "ADDI_DTPREL_L", ":", "return", "\"PPCISD::ADDI_DTPREL_L\"", ";", "case", "PPCISD", "::", "VADD_SPLAT", ":", "return", "\"PPCISD::VADD_SPLAT\"", ";", "case", "PPCISD", "::", "SC", ":", "return", "\"PPCISD::SC\"", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["PowerPC", "PPC", "PPCISD::FSEL", "\"PPCISD::FSEL\"", "PPCISD::FCFID", "\"PPCISD::FCFID\"", "PPCISD::FCTIDZ", "\"PPCISD::FCTIDZ\"", "PPCISD::FCTIWZ", "\"PPCISD::FCTIWZ\"", "PPCISD::FRE", "\"PPCISD::FRE\"", "PPCISD::FRSQRTE", "\"PPCISD::FRSQRTE\"", "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::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::CALL", "\"PPCISD::CALL\"", "PPCISD::CALL_NOP", "\"PPCISD::CALL_NOP\"", "PPCISD::CALL_TLS", "\"PPCISD::CALL_TLS\"", "PPCISD::CALL_NOP_TLS", "\"PPCISD::CALL_NOP_TLS\"", "PPCISD::MTCTR", "\"PPCISD::MTCTR\"", "PPCISD::BCTRL", "\"PPCISD::BCTRL\"", "PPCISD::RET_FLAG", "\"PPCISD::RET_FLAG\"", "PPCISD::EH_SJLJ_SETJMP", "\"PPCISD::EH_SJLJ_SETJMP\"", "PPCISD::EH_SJLJ_LONGJMP", "\"PPCISD::EH_SJLJ_LONGJMP\"", "PPCISD::MFOCRF", "\"PPCISD::MFOCRF\"", "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::BDNZ", "\"PPCISD::BDNZ\"", "PPCISD::BDZ", "\"PPCISD::BDZ\"", "PPCISD::MFFS", "\"PPCISD::MFFS\"", "PPCISD::FADDRTZ", "\"PPCISD::FADDRTZ\"", "PPCISD::TC_RETURN", "\"PPCISD::TC_RETURN\"", "PPCISD::CR6SET", "\"PPCISD::CR6SET\"", "PPCISD::CR6UNSET", "\"PPCISD::CR6UNSET\"", "PPCISD::ADDIS_TOC_HA", "\"PPCISD::ADDIS_TOC_HA\"", "PPCISD::LD_TOC_L", "\"PPCISD::LD_TOC_L\"", "PPCISD::ADDI_TOC_L", "\"PPCISD::ADDI_TOC_L\"", "PPCISD::PPC32_GOT", "\"PPCISD::PPC32_GOT\"", "PPCISD::ADDIS_GOT_TPREL_HA", "\"PPCISD::ADDIS_GOT_TPREL_HA\"", "PPCISD::LD_GOT_TPREL_L", "\"PPCISD::LD_GOT_TPREL_L\"", "PPCISD::ADD_TLS", "\"PPCISD::ADD_TLS\"", "PPCISD::ADDIS_TLSGD_HA", "\"PPCISD::ADDIS_TLSGD_HA\"", "PPCISD::ADDI_TLSGD_L", "\"PPCISD::ADDI_TLSGD_L\"", "PPCISD::ADDIS_TLSLD_HA", "\"PPCISD::ADDIS_TLSLD_HA\"", "PPCISD::ADDI_TLSLD_L", "\"PPCISD::ADDI_TLSLD_L\"", "PPCISD::ADDIS_DTPREL_HA", "\"PPCISD::ADDIS_DTPREL_HA\"", "PPCISD::ADDI_DTPREL_L", "\"PPCISD::ADDI_DTPREL_L\"", "PPCISD::VADD_SPLAT", "\"PPCISD::VADD_SPLAT\"", "PPCISD::SC", "\"PPCISD::SC\""], "File": "PPCISelLowering8", "Func": "getTargetNodeName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6445, "Length": 496, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "zero_call_used_regno_mode", "(", "const", "unsigned", "int", "regno", ")", "{", "if", "(", "GENERAL_REGNO_P", "(", "regno", ")", ")", "return", "SImode", ";", "else", "if", "(", "SSE_REGNO_P", "(", "regno", ")", ")", "return", "V4SFmode", ";", "else", "if", "(", "MASK_REGNO_P", "(", "regno", ")", ")", "return", "HImode", ";", "else", "if", "(", "MMX_REGNO_P", "(", "regno", ")", ")", "return", "V4HImode", ";", "else", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "machine_mode", "that", "is", "used", "to", "zero", "register", "REGNO", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "zero_call_used_regno_mode", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6446, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "switch", "(", "Kind", ")", "{", "case", "k_Register", ":", "OS", "<<", "\"Reg<\"", "<<", "Reg", ".", "Num", "<<", "\">\"", ";", "break", ";", "case", "k_Immediate", ":", "OS", "<<", "\"Imm<\"", "<<", "Imm", ".", "Val", "<<", "\">\"", ";", "break", ";", "case", "k_Token", ":", "OS", "<<", "Tok", ".", "Data", ";", "break", ";", "case", "k_Memory", ":", "OS", "<<", "\"Mem, \"", "<<", "Mem", ".", "Off", "<<", "\">\"", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["OR1K", "\"Reg<\"", "\">\"", "\"Imm<\"", "\">\"", "\"Mem, \"", "\">\""], "File": "OR1KAsmParser1", "Func": "print", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6447, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalMaskedGather", "(", "Type", "*", "DataTy", ")", "{", "if", "(", "isa", "<", "VectorType", ">", "(", "DataTy", ")", ")", "{", "unsigned", "NumElts", "=", "DataTy", "->", "getVectorNumElements", "(", ")", ";", "if", "(", "NumElts", "==", "1", "||", "!", "isPowerOf2_32", "(", "NumElts", ")", ")", "return", "false", ";", "}", "Type", "*", "ScalarTy", "=", "DataTy", "->", "getScalarType", "(", ")", ";", "int", "DataWidth", "=", "isa", "<", "PointerType", ">", "(", "ScalarTy", ")", "?", "DL", ".", "getPointerSizeInBits", "(", ")", ":", "ScalarTy", "->", "getPrimitiveSizeInBits", "(", ")", ";", "return", "(", "DataWidth", "==", "32", "||", "DataWidth", "==", "64", ")", "&&", "(", "ST", "->", "hasAVX512", "(", ")", "||", "(", "ST", "->", "hasFastGather", "(", ")", "&&", "ST", "->", "hasAVX2", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "gather", "."], "TS_V_token": ["X86", "X86", "1", "32", "64"], "File": "X86TargetTransformInfo (2)", "Func": "isLegalMaskedGather", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6448, "Length": 113, "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": 6449, "Length": 214, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_call_may_need_jalx_p", "(", "tree", "decl", ")", "{", "if", "(", "mips_get_compress_mode", "(", "decl", ")", "!=", "TARGET_COMPRESSION", ")", "return", "true", ";", "if", "(", "!", "DECL_EXTERNAL", "(", "decl", ")", "&&", "targetm", ".", "binds_local_p", "(", "decl", ")", ")", "return", "false", ";", "if", "(", "TARGET_INTERLINK_COMPRESSED", ")", "{", "if", "(", "!", "TARGET_COMPRESSION", "&&", "mips_get_compress_off_flags", "(", "DECL_ATTRIBUTES", "(", "decl", ")", ")", "==", "0", ")", "return", "true", ";", "if", "(", "TARGET_COMPRESSION", "&&", "mips_get_compress_on_flags", "(", "DECL_ATTRIBUTES", "(", "decl", ")", ")", "==", "0", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "call", "to", "DECL", "may", "need", "to", "use", "JALX", "."], "TS_V_token": ["mips", "0", "0"], "File": "mips", "Func": "mips_call_may_need_jalx_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6450, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "i960_print_operand_addr", "(", "FILE", ",", "ADDR", ")", "{", "\\", "assemble_aligned_integer", "(", "UNITS_PER_WORD", ",", "GEN_INT", "(", "0x8C203000", ")", ")", ";", "\\", "assemble_aligned_integer", "(", "UNITS_PER_WORD", ",", "GEN_INT", "(", "0x00000000", ")", ")", ";", "\\", "assemble_aligned_integer", "(", "UNITS_PER_WORD", ",", "GEN_INT", "(", "0x8CE03000", ")", ")", ";", "\\", "assemble_aligned_integer", "(", "UNITS_PER_WORD", ",", "GEN_INT", "(", "0x00000000", ")", ")", ";", "\\", "assemble_aligned_integer", "(", "UNITS_PER_WORD", ",", "GEN_INT", "(", "0x84212000", ")", ")", ";", "\\", "}", ""], "natrual_language": ["Print", "a", "memory", "address", "as", "an", "operand", "to", "reference", "that", "memory", "location", ".", "This", "is", "exactly", "the", "same", "as", "legitimate_address_p", ",", "except", "that", "it", "the", "prints", "addresses", "instead", "of", "recognizing", "them", "."], "TS_V_token": ["i960", "0x8C203000", "0x00000000", "0x8CE03000", "0x00000000", "0x84212000"], "File": "i960", "Func": "i960_print_operand_addr", "Target": "i960", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6451, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "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", "CCRetInfo", "(", "CallConv", ",", "isVarArg", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCRetInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_PPC", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "RVLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "EVT", "VT", "=", "VA", ".", "getValVT", "(", ")", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "VT", ",", "InFlag", ")", ".", "getValue", "(", "1", ")", ";", "InVals", ".", "push_back", "(", "Chain", ".", "getValue", "(", "0", ")", ")", ";", "InFlag", "=", "Chain", ".", "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": ["PowerPC", "PPC", "ISD::InputArg", "16", "PPC", "0", "\"Can only return in registers!\"", "1", "0", "2"], "File": "PPCISelLowering115", "Func": "LowerCallResult", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6452, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isCopyInstr", "(", "const", "MachineInstr", "&", "MI", ",", "MachineOperand", "&", "Src", ",", "MachineOperand", "&", "Dest", ")", "const", "{", "if", "(", "!", "MI", ".", "isMoveReg", "(", ")", "||", "(", "MI", ".", "getOpcode", "(", ")", "==", "ARM", "::", "VORRq", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "!=", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ")", "return", "false", ";", "Dest", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "Src", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "return", "true", ";", "}", ""], "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": ["ARM", "ARM", "ARM::VORRq", "1", "2", "0", "1"], "File": "ARMBaseInstrInfo44", "Func": "isCopyInstr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6453, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "sh_function_arg", "(", "CUMULATIVE_ARGS", "*", "ca", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "int", "named", ")", "{", "if", "(", "!", "TARGET_SH5", "&&", "mode", "==", "VOIDmode", ")", "return", "GEN_INT", "(", "ca", "->", "renesas_abi", "?", "1", ":", "0", ")", ";", "if", "(", "!", "TARGET_SH5", "&&", "PASS_IN_REG_P", "(", "*", "ca", ",", "mode", ",", "type", ")", "&&", "(", "named", "||", "!", "(", "TARGET_HITACHI", "||", "ca", "->", "renesas_abi", ")", ")", ")", "{", "int", "regno", ";", "if", "(", "mode", "==", "SCmode", "&&", "TARGET_SH4", "&&", "TARGET_LITTLE_ENDIAN", "&&", "(", "!", "FUNCTION_ARG_SCmode_WART", "||", "(", "ROUND_REG", "(", "*", "ca", ",", "mode", ")", "&", "1", ")", ")", ")", "{", "rtx", "r1", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "SFmode", ",", "BASE_ARG_REG", "(", "mode", ")", "+", "(", "ROUND_REG", "(", "*", "ca", ",", "mode", ")", "^", "1", ")", ")", ",", "const0_rtx", ")", ";", "rtx", "r2", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "SFmode", ",", "BASE_ARG_REG", "(", "mode", ")", "+", "(", "(", "ROUND_REG", "(", "*", "ca", ",", "mode", ")", "+", "1", ")", "^", "1", ")", ")", ",", "GEN_INT", "(", "4", ")", ")", ";", "return", "gen_rtx_PARALLEL", "(", "SCmode", ",", "gen_rtvec", "(", "2", ",", "r1", ",", "r2", ")", ")", ";", "}", "if", "(", "(", "TARGET_HITACHI", "||", "ca", "->", "renesas_abi", ")", "&&", "ca", "->", "free_single_fp_reg", "&&", "mode", "==", "SFmode", ")", "return", "gen_rtx_REG", "(", "mode", ",", "ca", "->", "free_single_fp_reg", ")", ";", "regno", "=", "(", "BASE_ARG_REG", "(", "mode", ")", "+", "ROUND_REG", "(", "*", "ca", ",", "mode", ")", ")", "^", "(", "mode", "==", "SFmode", "&&", "TARGET_SH4", "&&", "TARGET_LITTLE_ENDIAN", "!=", "0", "&&", "!", "TARGET_HITACHI", "&&", "!", "ca", "->", "renesas_abi", ")", ";", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "}", "if", "(", "TARGET_SH5", ")", "{", "if", "(", "mode", "==", "VOIDmode", "&&", "TARGET_SHCOMPACT", ")", "return", "GEN_INT", "(", "ca", "->", "call_cookie", ")", ";", "if", "(", "mode", "==", "SFmode", "&&", "ca", "->", "free_single_fp_reg", ")", "return", "SH5_PROTOTYPED_FLOAT_ARG", "(", "*", "ca", ",", "mode", ",", "ca", "->", "free_single_fp_reg", ")", ";", "if", "(", "(", "GET_SH_ARG_CLASS", "(", "mode", ")", "==", "SH_ARG_FLOAT", ")", "&&", "(", "named", "||", "!", "ca", "->", "prototype_p", ")", "&&", "ca", "->", "arg_count", "[", "(", "int", ")", "SH_ARG_FLOAT", "]", "<", "NPARM_REGS", "(", "SFmode", ")", ")", "{", "if", "(", "!", "ca", "->", "prototype_p", "&&", "TARGET_SHMEDIA", ")", "return", "SH5_PROTOTYPELESS_FLOAT_ARG", "(", "*", "ca", ",", "mode", ")", ";", "return", "SH5_PROTOTYPED_FLOAT_ARG", "(", "*", "ca", ",", "mode", ",", "FIRST_FP_PARM_REG", "+", "ca", "->", "arg_count", "[", "(", "int", ")", "SH_ARG_FLOAT", "]", ")", ";", "}", "if", "(", "ca", "->", "arg_count", "[", "(", "int", ")", "SH_ARG_INT", "]", "<", "NPARM_REGS", "(", "SImode", ")", "&&", "(", "!", "TARGET_SHCOMPACT", "||", "(", "!", "SHCOMPACT_FORCE_ON_STACK", "(", "mode", ",", "type", ")", "&&", "!", "SH5_WOULD_BE_PARTIAL_NREGS", "(", "*", "ca", ",", "mode", ",", "type", ",", "named", ")", ")", ")", ")", "{", "return", "gen_rtx_REG", "(", "mode", ",", "(", "FIRST_PARM_REG", "+", "ca", "->", "arg_count", "[", "(", "int", ")", "SH_ARG_INT", "]", ")", ")", ";", "}", "return", "0", ";", "}", "return", "0", ";", "}", ""], "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", "SH", "the", "first", "args", "are", "normally", "in", "registers", "and", "the", "rest", "are", "pushed", ".", "Any", "arg", "that", "starts", "within", "the", "first", "NPARM_REGS", "words", "is", "at", "least", "partially", "passed", "in", "a", "register", "unless", "its", "data", "type", "forbids", "."], "TS_V_token": ["sh", "1", "0", "1", "1", "1", "1", "4", "2", "0", "0", "0"], "File": "sh3", "Func": "sh_function_arg", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6454, "Length": 455, "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": 6455, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_swdiv", "(", "rtx", "dst", ",", "rtx", "n", ",", "rtx", "d", ",", "bool", "note_p", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "dst", ")", ";", "rtx", "one", ",", "x0", ",", "e0", ",", "x1", ",", "xprev", ",", "eprev", ",", "xnext", ",", "enext", ",", "u", ",", "v", ";", "int", "i", ";", "int", "passes", "=", "(", "TARGET_RECIP_PRECISION", ")", "?", "1", ":", "3", ";", "if", "(", "mode", "==", "DFmode", "||", "mode", "==", "V2DFmode", ")", "passes", "++", ";", "enum", "insn_code", "code", "=", "optab_handler", "(", "smul_optab", ",", "mode", ")", ";", "insn_gen_fn", "gen_mul", "=", "GEN_FCN", "(", "code", ")", ";", "gcc_assert", "(", "code", "!=", "CODE_FOR_nothing", ")", ";", "one", "=", "rs6000_load_constant_and_splat", "(", "mode", ",", "dconst1", ")", ";", "x0", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "x0", ",", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "1", ",", "d", ")", ",", "UNSPEC_FRES", ")", ")", ")", ";", "if", "(", "passes", ">", "1", ")", "{", "e0", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rs6000_emit_nmsub", "(", "e0", ",", "d", ",", "x0", ",", "one", ")", ";", "x1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rs6000_emit_madd", "(", "x1", ",", "e0", ",", "x0", ",", "x0", ")", ";", "for", "(", "i", "=", "0", ",", "xprev", "=", "x1", ",", "eprev", "=", "e0", ";", "i", "<", "passes", "-", "2", ";", "++", "i", ",", "xprev", "=", "xnext", ",", "eprev", "=", "enext", ")", "{", "enext", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_mul", "(", "enext", ",", "eprev", ",", "eprev", ")", ")", ";", "xnext", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rs6000_emit_madd", "(", "xnext", ",", "enext", ",", "xprev", ",", "xprev", ")", ";", "}", "}", "else", "xprev", "=", "x0", ";", "u", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_mul", "(", "u", ",", "n", ",", "xprev", ")", ")", ";", "v", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rs6000_emit_nmsub", "(", "v", ",", "d", ",", "u", ",", "n", ")", ";", "rs6000_emit_madd", "(", "dst", ",", "v", ",", "xprev", ",", "u", ")", ";", "if", "(", "note_p", ")", "add_reg_note", "(", "get_last_insn", "(", ")", ",", "REG_EQUAL", ",", "gen_rtx_DIV", "(", "mode", ",", "n", ",", "d", ")", ")", ";", "}", ""], "natrual_language": ["Newton-Raphson", "approximation", "of", "floating", "point", "divide", "DST", "=", "N/D", ".", "If", "NOTE_P", ",", "add", "a", "reg_note", "saying", "that", "this", "was", "a", "division", ".", "Support", "both", "scalar", "and", "vector", "divide", ".", "Assumes", "no", "trapping", "math", "and", "finite", "arguments", "."], "TS_V_token": ["powerpcspe", "1", "3", "1", "1", "0", "2"], "File": "powerpcspe", "Func": "rs6000_emit_swdiv", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6456, "Length": 326, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "nds32_output_casesi", "(", "rtx", "*", "operands", ")", "{", "if", "(", "flag_pic", ")", "{", "output_asm_insn", "(", "\"sethi\\t$ta, hi20(%l1@GOTOFF)\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"ori\\t$ta, $ta, lo12(%l1@GOTOFF)\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"add\\t$ta, $ta, $gp\"", ",", "operands", ")", ";", "}", "else", "output_asm_insn", "(", "\"la\\t$ta, %l1\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"lw\\t%2, [$ta + %0 << 2]\"", ",", "operands", ")", ";", "if", "(", "TARGET_16_BIT", ")", "return", "\"jr5\\t%2\"", ";", "else", "return", "\"jr\\t%2\"", ";", "}", ""], "natrual_language": ["Function", "to", "generate", "normal", "jump", "table", "."], "TS_V_token": ["nds32", "\"sethi\\t$ta, hi20(%l1@GOTOFF)\"", "\"ori\\t$ta, $ta, lo12(%l1@GOTOFF)\"", "\"add\\t$ta, $ta, $gp\"", "\"la\\t$ta, %l1\"", "\"lw\\t%2, [$ta + %0 << 2]\"", "\"jr5\\t%2\"", "\"jr\\t%2\""], "File": "nds32-md-auxiliary", "Func": "nds32_output_casesi", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6457, "Length": 64, "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": ["LEG"], "File": "LEGAsmBackend1", "Func": "relaxInstruction", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6458, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "isAssociativeAndCommutative", "(", "const", "MachineInstr", "&", "Inst", ")", "const", "{", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "case", "PPC", "::", "FADD", ":", "case", "PPC", "::", "FADDS", ":", "case", "PPC", "::", "FMUL", ":", "case", "PPC", "::", "FMULS", ":", "case", "PPC", "::", "VADDFP", ":", "case", "PPC", "::", "XSADDDP", ":", "case", "PPC", "::", "XVADDDP", ":", "case", "PPC", "::", "XVADDSP", ":", "case", "PPC", "::", "XSADDSP", ":", "case", "PPC", "::", "XSMULDP", ":", "case", "PPC", "::", "XVMULDP", ":", "case", "PPC", "::", "XVMULSP", ":", "case", "PPC", "::", "XSMULSP", ":", "case", "PPC", "::", "QVFADD", ":", "case", "PPC", "::", "QVFADDS", ":", "case", "PPC", "::", "QVFADDSs", ":", "case", "PPC", "::", "QVFMUL", ":", "case", "PPC", "::", "QVFMULS", ":", "case", "PPC", "::", "QVFMULSs", ":", "return", "Inst", ".", "getFlag", "(", "MachineInstr", "::", "MIFlag", "::", "FmReassoc", ")", "&&", "Inst", ".", "getFlag", "(", "MachineInstr", "::", "MIFlag", "::", "FmNsz", ")", ";", "case", "PPC", "::", "MULHD", ":", "case", "PPC", "::", "MULLD", ":", "case", "PPC", "::", "MULHW", ":", "case", "PPC", "::", "MULLW", ":", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Return", "true", "when", "\\P", "Inst", "is", "both", "associative", "and", "commutative", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::FADD", "PPC::FADDS", "PPC::FMUL", "PPC::FMULS", "PPC::VADDFP", "PPC::XSADDDP", "PPC::XVADDDP", "PPC::XVADDSP", "PPC::XSADDSP", "PPC::XSMULDP", "PPC::XVMULDP", "PPC::XVMULSP", "PPC::XSMULSP", "PPC::QVFADD", "PPC::QVFADDS", "PPC::QVFADDSs", "PPC::QVFMUL", "PPC::QVFMULS", "PPC::QVFMULSs", "PPC::MULHD", "PPC::MULLD", "PPC::MULHW", "PPC::MULLW"], "File": "PPCInstrInfo128", "Func": "isAssociativeAndCommutative", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6459, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZSubtarget", "::", "enableSubRegLiveness", "(", ")", "const", "{", "return", "UseSubRegLiveness", ";", "}", ""], "natrual_language": ["Enable", "tracking", "of", "subregister", "liveness", "in", "register", "allocator", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZSubtarget (2)2", "Func": "enableSubRegLiveness", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6460, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "scalar_chain", "::", "convert_insn", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "def_set", "=", "single_set", "(", "insn", ")", ";", "rtx", "src", "=", "SET_SRC", "(", "def_set", ")", ";", "rtx", "dst", "=", "SET_DEST", "(", "def_set", ")", ";", "rtx", "subreg", ";", "if", "(", "MEM_P", "(", "dst", ")", "&&", "!", "REG_P", "(", "src", ")", ")", "{", "rtx", "tmp", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "emit_conversion_insns", "(", "gen_move_insn", "(", "dst", ",", "tmp", ")", ",", "insn", ")", ";", "dst", "=", "gen_rtx_SUBREG", "(", "V2DImode", ",", "tmp", ",", "0", ")", ";", "}", "switch", "(", "GET_CODE", "(", "src", ")", ")", "{", "case", "PLUS", ":", "case", "MINUS", ":", "case", "IOR", ":", "case", "XOR", ":", "case", "AND", ":", "convert_op", "(", "&", "XEXP", "(", "src", ",", "0", ")", ",", "insn", ")", ";", "convert_op", "(", "&", "XEXP", "(", "src", ",", "1", ")", ",", "insn", ")", ";", "PUT_MODE", "(", "src", ",", "V2DImode", ")", ";", "break", ";", "case", "MEM", ":", "if", "(", "!", "REG_P", "(", "dst", ")", ")", "convert_op", "(", "&", "src", ",", "insn", ")", ";", "break", ";", "case", "REG", ":", "if", "(", "!", "MEM_P", "(", "dst", ")", ")", "convert_op", "(", "&", "src", ",", "insn", ")", ";", "break", ";", "case", "SUBREG", ":", "gcc_assert", "(", "GET_MODE", "(", "src", ")", "==", "V2DImode", ")", ";", "break", ";", "case", "COMPARE", ":", "src", "=", "SUBREG_REG", "(", "XEXP", "(", "XEXP", "(", "src", ",", "0", ")", ",", "0", ")", ")", ";", "gcc_assert", "(", "(", "REG_P", "(", "src", ")", "&&", "GET_MODE", "(", "src", ")", "==", "DImode", ")", "||", "(", "SUBREG_P", "(", "src", ")", "&&", "GET_MODE", "(", "src", ")", "==", "V2DImode", ")", ")", ";", "if", "(", "REG_P", "(", "src", ")", ")", "subreg", "=", "gen_rtx_SUBREG", "(", "V2DImode", ",", "src", ",", "0", ")", ";", "else", "subreg", "=", "copy_rtx_if_shared", "(", "src", ")", ";", "emit_insn_before", "(", "gen_vec_interleave_lowv2di", "(", "copy_rtx_if_shared", "(", "subreg", ")", ",", "copy_rtx_if_shared", "(", "subreg", ")", ",", "copy_rtx_if_shared", "(", "subreg", ")", ")", ",", "insn", ")", ";", "dst", "=", "gen_rtx_REG", "(", "CCmode", ",", "FLAGS_REG", ")", ";", "src", "=", "gen_rtx_UNSPEC", "(", "CCmode", ",", "gen_rtvec", "(", "2", ",", "copy_rtx_if_shared", "(", "src", ")", ",", "copy_rtx_if_shared", "(", "src", ")", ")", ",", "UNSPEC_PTEST", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "SET_SRC", "(", "def_set", ")", "=", "src", ";", "SET_DEST", "(", "def_set", ")", "=", "dst", ";", "PATTERN", "(", "insn", ")", "=", "def_set", ";", "INSN_CODE", "(", "insn", ")", "=", "-", "1", ";", "recog_memoized", "(", "insn", ")", ";", "df_insn_rescan", "(", "insn", ")", ";", "}", ""], "natrual_language": ["Convert", "INSN", "to", "vector", "mode", "."], "TS_V_token": ["i386", "0", "0", "1", "0", "0", "0", "2", "1"], "File": "i3865", "Func": "convert_insn", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6461, "Length": 380, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FastISel", "*", "MipsTargetLowering", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "funcInfo", ",", "const", "TargetLibraryInfo", "*", "libInfo", ")", "const", "{", "const", "MipsTargetMachine", "&", "TM", "=", "static_cast", "<", "const", "MipsTargetMachine", "&", ">", "(", "funcInfo", ".", "MF", "->", "getTarget", "(", ")", ")", ";", "bool", "UseFastISel", "=", "TM", ".", "Options", ".", "EnableFastISel", "&&", "Subtarget", ".", "hasMips32", "(", ")", "&&", "!", "Subtarget", ".", "hasMips32r6", "(", ")", "&&", "!", "Subtarget", ".", "inMips16Mode", "(", ")", "&&", "!", "Subtarget", ".", "inMicroMipsMode", "(", ")", ";", "if", "(", "!", "TM", ".", "isPositionIndependent", "(", ")", "||", "!", "TM", ".", "getABI", "(", ")", ".", "IsO32", "(", ")", "||", "Subtarget", ".", "useXGOT", "(", ")", ")", "UseFastISel", "=", "false", ";", "return", "UseFastISel", "?", "Mips", "::", "createFastISel", "(", "funcInfo", ",", "libInfo", ")", ":", "nullptr", ";", "}", ""], "natrual_language": ["This", "method", "returns", "a", "target", "specific", "FastISel", "object", ",", "or", "null", "if", "the", "target", "does", "not", "support", "``", "fast", "''", "ISel", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::createFastISel"], "File": "MipsISelLowering (2)4", "Func": "createFastISel", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6462, "Length": 119, "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": 6463, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "void", "aarch64_adjust_sve_callee_save_base", "(", "machine_mode", "mode", ",", "rtx", "&", "base_rtx", ",", "rtx", "&", "anchor_reg", ",", "poly_int64", "&", "offset", ",", "rtx", "&", "ptrue", ")", "{", "if", "(", "maybe_ge", "(", "offset", ",", "8", "*", "GET_MODE_SIZE", "(", "mode", ")", ")", ")", "{", "poly_int64", "anchor_offset", "=", "16", "*", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "!", "anchor_reg", ")", "{", "anchor_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "STACK_CLASH_SVE_CFA_REGNUM", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "anchor_reg", ",", "base_rtx", ",", "gen_int_mode", "(", "anchor_offset", ",", "Pmode", ")", ")", ")", ";", "}", "base_rtx", "=", "anchor_reg", ";", "offset", "-=", "anchor_offset", ";", "}", "if", "(", "!", "ptrue", ")", "{", "int", "pred_reg", "=", "cfun", "->", "machine", "->", "frame", ".", "spare_pred_reg", ";", "emit_move_insn", "(", "gen_rtx_REG", "(", "VNx16BImode", ",", "pred_reg", ")", ",", "CONSTM1_RTX", "(", "VNx16BImode", ")", ")", ";", "ptrue", "=", "gen_rtx_REG", "(", "VNx2BImode", ",", "pred_reg", ")", ";", "}", "}", ""], "natrual_language": ["The", "caller", "is", "going", "to", "use", "ST1D", "or", "LD1D", "to", "save", "or", "restore", "an", "SVE", "register", "in", "mode", "MODE", "at", "BASE_RTX", "+", "OFFSET", ",", "where", "OFFSET", "is", "in", "the", "range", "[", "1", ",", "16", "]", "*", "GET_MODE_SIZE", "(", "MODE", ")", ".", "Prepare", "for", "this", "by", ":", "(", "1", ")", "updating", "BASE_RTX", "+", "OFFSET", "so", "that", "it", "is", "a", "legitimate", "ST1D", "or", "LD1D", "address", "(", "2", ")", "setting", "PRED", "to", "a", "valid", "predicate", "register", "for", "the", "ST1D", "or", "LD1D", ",", "if", "the", "variable", "is", "n't", "already", "nonnull", "(", "1", ")", "is", "needed", "when", "OFFSET", "is", "in", "the", "range", "[", "8", ",", "16", "]", "*", "GET_MODE_SIZE", "(", "MODE", ")", ".", "Handle", "this", "case", "using", "a", "temporary", "base", "register", "that", "is", "suitable", "for", "all", "offsets", "in", "that", "range", ".", "Use", "ANCHOR_REG", "as", "this", "base", "register", "if", "it", "is", "nonnull", ",", "otherwise", "create", "a", "new", "register", "and", "store", "it", "in", "ANCHOR_REG", "."], "TS_V_token": ["aarch64", "8", "16"], "File": "aarch64", "Func": "aarch64_adjust_sve_callee_save_base", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6464, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_asm_emit_except_personality", "(", "rtx", "personality", ")", "{", "fputs", "(", "\"\\t.personality\\t\"", ",", "asm_out_file", ")", ";", "output_addr_const", "(", "asm_out_file", ",", "personality", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_EMIT_EXCEPT_PERSONALITY", "."], "TS_V_token": ["arm", "\"\\t.personality\\t\""], "File": "arm", "Func": "arm_asm_emit_except_personality", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6465, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "SystemZSelectionDAGInfo", "::", "EmitTargetCodeForMemchr", "(", "SelectionDAG", "&", "DAG", ",", "SDLoc", "DL", ",", "SDValue", "Chain", ",", "SDValue", "Src", ",", "SDValue", "Char", ",", "SDValue", "Length", ",", "MachinePointerInfo", "SrcPtrInfo", ")", "const", "{", "EVT", "PtrVT", "=", "Src", ".", "getValueType", "(", ")", ";", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "PtrVT", ",", "MVT", "::", "Other", ",", "MVT", "::", "Glue", ")", ";", "Length", "=", "DAG", ".", "getZExtOrTrunc", "(", "Length", ",", "DL", ",", "PtrVT", ")", ";", "Char", "=", "DAG", ".", "getZExtOrTrunc", "(", "Char", ",", "DL", ",", "MVT", "::", "i32", ")", ";", "Char", "=", "DAG", ".", "getNode", "(", "ISD", "::", "AND", ",", "DL", ",", "MVT", "::", "i32", ",", "Char", ",", "DAG", ".", "getConstant", "(", "255", ",", "DL", ",", "MVT", "::", "i32", ")", ")", ";", "SDValue", "Limit", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ADD", ",", "DL", ",", "PtrVT", ",", "Src", ",", "Length", ")", ";", "SDValue", "End", "=", "DAG", ".", "getNode", "(", "SystemZISD", "::", "SEARCH_STRING", ",", "DL", ",", "VTs", ",", "Chain", ",", "Limit", ",", "Src", ",", "Char", ")", ";", "Chain", "=", "End", ".", "getValue", "(", "1", ")", ";", "SDValue", "Glue", "=", "End", ".", "getValue", "(", "2", ")", ";", "SDValue", "Ops", "[", "]", "=", "{", "End", ",", "DAG", ".", "getConstant", "(", "0", ",", "DL", ",", "PtrVT", ")", ",", "DAG", ".", "getConstant", "(", "SystemZ", "::", "CCMASK_SRST", ",", "DL", ",", "MVT", "::", "i32", ")", ",", "DAG", ".", "getConstant", "(", "SystemZ", "::", "CCMASK_SRST_FOUND", ",", "DL", ",", "MVT", "::", "i32", ")", ",", "Glue", "}", ";", "VTs", "=", "DAG", ".", "getVTList", "(", "PtrVT", ",", "MVT", "::", "Glue", ")", ";", "End", "=", "DAG", ".", "getNode", "(", "SystemZISD", "::", "SELECT_CCMASK", ",", "DL", ",", "VTs", ",", "Ops", ")", ";", "return", "std", "::", "make_pair", "(", "End", ",", "Chain", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memchr", ",", "in", "cases", "where", "that", "is", "faster", "than", "a", "libcall", "."], "TS_V_token": ["SystemZ", "SystemZ", "MVT::Other", "MVT::Glue", "MVT::i32", "ISD::AND", "MVT::i32", "255", "MVT::i32", "ISD::ADD", "SystemZISD::SEARCH_STRING", "1", "2", "0", "SystemZ::CCMASK_SRST", "MVT::i32", "SystemZ::CCMASK_SRST_FOUND", "MVT::i32", "MVT::Glue", "SystemZISD::SELECT_CCMASK"], "File": "SystemZSelectionDAGInfo (2)", "Func": "EmitTargetCodeForMemchr", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6466, "Length": 279, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb2InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "if", "(", "!", "ARM", "::", "GPRRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "return", "ARMBaseInstrInfo", "::", "copyPhysReg", "(", "MBB", ",", "I", ",", "DL", ",", "DestReg", ",", "SrcReg", ",", "KillSrc", ")", ";", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tMOVr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["ARM", "ARM::GPRRegClass", "ARM", "ARM::tMOVr"], "File": "Thumb2InstrInfo18", "Func": "copyPhysReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6467, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "SparcTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown Custom Instruction!\"", ")", ";", "case", "SP", "::", "SELECT_CC_Int_ICC", ":", "case", "SP", "::", "SELECT_CC_FP_ICC", ":", "case", "SP", "::", "SELECT_CC_DFP_ICC", ":", "case", "SP", "::", "SELECT_CC_QFP_ICC", ":", "return", "expandSelectCC", "(", "MI", ",", "BB", ",", "SP", "::", "BCOND", ")", ";", "case", "SP", "::", "SELECT_CC_Int_FCC", ":", "case", "SP", "::", "SELECT_CC_FP_FCC", ":", "case", "SP", "::", "SELECT_CC_DFP_FCC", ":", "case", "SP", "::", "SELECT_CC_QFP_FCC", ":", "return", "expandSelectCC", "(", "MI", ",", "BB", ",", "SP", "::", "FBCOND", ")", ";", "case", "SP", "::", "EH_SJLJ_SETJMP32ri", ":", "case", "SP", "::", "EH_SJLJ_SETJMP32rr", ":", "return", "emitEHSjLjSetJmp", "(", "MI", ",", "BB", ")", ";", "case", "SP", "::", "EH_SJLJ_LONGJMP32rr", ":", "case", "SP", "::", "EH_SJLJ_LONGJMP32ri", ":", "return", "emitEHSjLjLongJmp", "(", "MI", ",", "BB", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["Sparc", "Sparc", "\"Unknown Custom Instruction!\"", "SP::SELECT_CC_Int_ICC", "SP::SELECT_CC_FP_ICC", "SP::SELECT_CC_DFP_ICC", "SP::SELECT_CC_QFP_ICC", "SP::BCOND", "SP::SELECT_CC_Int_FCC", "SP::SELECT_CC_FP_FCC", "SP::SELECT_CC_DFP_FCC", "SP::SELECT_CC_QFP_FCC", "SP::FBCOND", "SP::EH_SJLJ_SETJMP32ri", "SP::EH_SJLJ_SETJMP32rr", "SP::EH_SJLJ_LONGJMP32rr", "SP::EH_SJLJ_LONGJMP32ri"], "File": "SparcISelLowering7", "Func": "EmitInstrWithCustomInserter", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6468, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "std", "::", "unique_ptr", "<", "MipsOperand", ">", "CreateMem", "(", "std", "::", "unique_ptr", "<", "MipsOperand", ">", "Base", ",", "const", "MCExpr", "*", "Off", ",", "SMLoc", "S", ",", "SMLoc", "E", ",", "MipsAsmParser", "&", "Parser", ")", "{", "auto", "Op", "=", "llvm", "::", "make_unique", "<", "MipsOperand", ">", "(", "k_Memory", ",", "Parser", ")", ";", "Op", "->", "Mem", ".", "Base", "=", "Base", ".", "release", "(", ")", ";", "Op", "->", "Mem", ".", "Off", "=", "Off", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "E", ";", "return", "Op", ";", "}", ""], "natrual_language": ["Create", "a", "generalized", "memory", "operand", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsAsmParser103", "Func": "CreateMem", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6469, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "*", "aarch64_output_sve_addvl_addpl", "(", "rtx", "dest", ",", "rtx", "base", ",", "rtx", "offset", ")", "{", "static", "char", "buffer", "[", "sizeof", "(", "\"addpl\\t%x0, %x1, #-\"", ")", "+", "3", "*", "sizeof", "(", "int", ")", "]", ";", "poly_int64", "offset_value", "=", "rtx_to_poly_int64", "(", "offset", ")", ";", "gcc_assert", "(", "aarch64_sve_addvl_addpl_immediate_p", "(", "offset_value", ")", ")", ";", "if", "(", "rtx_equal_p", "(", "dest", ",", "base", ")", "&&", "GP_REGNUM_P", "(", "REGNO", "(", "dest", ")", ")", ")", "{", "if", "(", "aarch64_sve_cnt_immediate_p", "(", "offset_value", ")", ")", "return", "aarch64_output_sve_cnt_immediate", "(", "\"inc\"", ",", "\"%x0\"", ",", "offset_value", ".", "coeffs", "[", "1", "]", ",", "0", ")", ";", "if", "(", "aarch64_sve_cnt_immediate_p", "(", "-", "offset_value", ")", ")", "return", "aarch64_output_sve_cnt_immediate", "(", "\"dec\"", ",", "\"%x0\"", ",", "-", "offset_value", ".", "coeffs", "[", "1", "]", ",", "0", ")", ";", "}", "int", "factor", "=", "offset_value", ".", "coeffs", "[", "1", "]", ";", "if", "(", "(", "factor", "&", "15", ")", "==", "0", ")", "snprintf", "(", "buffer", ",", "sizeof", "(", "buffer", ")", ",", "\"addvl\\t%%x0, %%x1, #%d\"", ",", "factor", "/", "16", ")", ";", "else", "snprintf", "(", "buffer", ",", "sizeof", "(", "buffer", ")", ",", "\"addpl\\t%%x0, %%x1, #%d\"", ",", "factor", "/", "2", ")", ";", "return", "buffer", ";", "}", ""], "natrual_language": ["Return", "the", "asm", "string", "for", "adding", "ADDVL", "or", "ADDPL", "immediate", "X", "to", "operand", "1", "and", "storing", "the", "result", "in", "operand", "0", "."], "TS_V_token": ["aarch64", "\"addpl\\t%x0, %x1, #-\"", "3", "\"inc\"", "\"%x0\"", "1", "0", "\"dec\"", "\"%x0\"", "1", "0", "1", "15", "0", "\"addvl\\t%%x0, %%x1, #%d\"", "16", "\"addpl\\t%%x0, %%x1, #%d\"", "2"], "File": "aarch645", "Func": "aarch64_output_sve_addvl_addpl", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6470, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "char", "ConstraintCode", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "override", "{", "const", "TargetRegisterInfo", "*", "TRI", "=", "TM", ".", "getRegisterInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "TRC", "=", "TRI", "->", "getPointerRegClass", "(", "*", "MF", ",", "1", ")", ";", "SDValue", "RC", "=", "CurDAG", "->", "getTargetConstant", "(", "TRC", "->", "getID", "(", ")", ",", "MVT", "::", "i32", ")", ";", "SDValue", "NewOp", "=", "SDValue", "(", "CurDAG", "->", "getMachineNode", "(", "TargetOpcode", "::", "COPY_TO_REGCLASS", ",", "SDLoc", "(", "Op", ")", ",", "Op", ".", "getValueType", "(", ")", ",", "Op", ",", "RC", ")", ",", "0", ")", ";", "OutOps", ".", "push_back", "(", "NewOp", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["PowerPC", "1", "MVT::i32", "0"], "File": "PPCISelDAGToDAG5", "Func": "SelectInlineAsmMemoryOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6471, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_atomic_assign_expand_fenv", "(", "tree", "*", "hold", ",", "tree", "*", "clear", ",", "tree", "*", "update", ")", "{", "if", "(", "!", "TARGET_HARD_FLOAT_ABI", ")", "return", ";", "tree", "exceptions_var", "=", "create_tmp_var_raw", "(", "MIPS_ATYPE_USI", ")", ";", "tree", "fcsr_orig_var", "=", "create_tmp_var_raw", "(", "MIPS_ATYPE_USI", ")", ";", "tree", "fcsr_mod_var", "=", "create_tmp_var_raw", "(", "MIPS_ATYPE_USI", ")", ";", "tree", "get_fcsr", "=", "mips_builtin_decls", "[", "MIPS_GET_FCSR", "]", ";", "tree", "set_fcsr", "=", "mips_builtin_decls", "[", "MIPS_SET_FCSR", "]", ";", "tree", "get_fcsr_hold_call", "=", "build_call_expr", "(", "get_fcsr", ",", "0", ")", ";", "tree", "hold_assign_orig", "=", "build4", "(", "TARGET_EXPR", ",", "MIPS_ATYPE_USI", ",", "fcsr_orig_var", ",", "get_fcsr_hold_call", ",", "NULL", ",", "NULL", ")", ";", "tree", "hold_mod_val", "=", "build2", "(", "BIT_AND_EXPR", ",", "MIPS_ATYPE_USI", ",", "fcsr_orig_var", ",", "build_int_cst", "(", "MIPS_ATYPE_USI", ",", "0xfffff003", ")", ")", ";", "tree", "hold_assign_mod", "=", "build4", "(", "TARGET_EXPR", ",", "MIPS_ATYPE_USI", ",", "fcsr_mod_var", ",", "hold_mod_val", ",", "NULL", ",", "NULL", ")", ";", "tree", "set_fcsr_hold_call", "=", "build_call_expr", "(", "set_fcsr", ",", "1", ",", "fcsr_mod_var", ")", ";", "tree", "hold_all", "=", "build2", "(", "COMPOUND_EXPR", ",", "MIPS_ATYPE_USI", ",", "hold_assign_orig", ",", "hold_assign_mod", ")", ";", "*", "hold", "=", "build2", "(", "COMPOUND_EXPR", ",", "void_type_node", ",", "hold_all", ",", "set_fcsr_hold_call", ")", ";", "*", "clear", "=", "build_call_expr", "(", "set_fcsr", ",", "1", ",", "fcsr_mod_var", ")", ";", "tree", "get_fcsr_update_call", "=", "build_call_expr", "(", "get_fcsr", ",", "0", ")", ";", "*", "update", "=", "build4", "(", "TARGET_EXPR", ",", "MIPS_ATYPE_USI", ",", "exceptions_var", ",", "get_fcsr_update_call", ",", "NULL", ",", "NULL", ")", ";", "tree", "set_fcsr_update_call", "=", "build_call_expr", "(", "set_fcsr", ",", "1", ",", "fcsr_orig_var", ")", ";", "*", "update", "=", "build2", "(", "COMPOUND_EXPR", ",", "void_type_node", ",", "*", "update", ",", "set_fcsr_update_call", ")", ";", "tree", "atomic_feraiseexcept", "=", "builtin_decl_implicit", "(", "BUILT_IN_ATOMIC_FERAISEEXCEPT", ")", ";", "tree", "int_exceptions_var", "=", "fold_convert", "(", "integer_type_node", ",", "exceptions_var", ")", ";", "tree", "atomic_feraiseexcept_call", "=", "build_call_expr", "(", "atomic_feraiseexcept", ",", "1", ",", "int_exceptions_var", ")", ";", "*", "update", "=", "build2", "(", "COMPOUND_EXPR", ",", "void_type_node", ",", "*", "update", ",", "atomic_feraiseexcept_call", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ATOMIC_ASSIGN_EXPAND_FENV", "."], "TS_V_token": ["mips", "0", "0xfffff003", "1", "1", "0", "1", "1"], "File": "mips", "Func": "mips_atomic_assign_expand_fenv", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6472, "Length": 282, "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": 6473, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnFunction", "(", "Function", "&", "F", ")", "override", "{", "this", "->", "F", "=", "&", "F", ";", "LI", "=", "&", "getAnalysis", "<", "LoopInfoWrapperPass", ">", "(", ")", ".", "getLoopInfo", "(", ")", ";", "TTI", "=", "&", "getAnalysis", "<", "TargetTransformInfoWrapperPass", ">", "(", ")", ".", "getTTI", "(", "F", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "I", "=", "LI", "->", "begin", "(", ")", ",", "IE", "=", "LI", "->", "end", "(", ")", ";", "I", "!=", "IE", ";", "++", "I", ")", "for", "(", "auto", "L", "=", "po_begin", "(", "*", "I", ")", ",", "LE", "=", "po_end", "(", "*", "I", ")", ";", "L", "!=", "LE", ";", "++", "L", ")", "Changed", "|=", "runOnLoop", "(", "*", "L", ")", ";", "VisitedBlocks", ".", "clear", "(", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["AArch64"], "File": "SVEPostVectorize", "Func": "runOnFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6474, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64FastISel", "::", "isTypeLegal", "(", "Type", "*", "Ty", ",", "MVT", "&", "VT", ")", "{", "EVT", "evt", "=", "TLI", ".", "getValueType", "(", "Ty", ",", "true", ")", ";", "if", "(", "evt", "==", "MVT", "::", "Other", "||", "!", "evt", ".", "isSimple", "(", ")", ")", "return", "false", ";", "VT", "=", "evt", ".", "getSimpleVT", "(", ")", ";", "return", "TLI", ".", "isTypeLegal", "(", "VT", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "type", "is", "legal", "."], "TS_V_token": ["ARM64", "ARM64", "MVT::Other"], "File": "ARM64FastISel", "Func": "isTypeLegal", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6475, "Length": 61, "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": 6476, "Length": 413, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "vfp_output_fstmx", "(", "rtx", "*", "operands", ")", "{", "char", "pattern", "[", "100", "]", ";", "int", "p", ";", "int", "base", ";", "int", "i", ";", "strcpy", "(", "pattern", ",", "\"fstmfdx\\t%m0!, {%P1\"", ")", ";", "p", "=", "strlen", "(", "pattern", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "REG", ")", ";", "base", "=", "(", "REGNO", "(", "operands", "[", "1", "]", ")", "-", "FIRST_VFP_REGNUM", ")", "/", "2", ";", "for", "(", "i", "=", "1", ";", "i", "<", "XVECLEN", "(", "operands", "[", "2", "]", ",", "0", ")", ";", "i", "++", ")", "{", "p", "+=", "sprintf", "(", "&", "pattern", "[", "p", "]", ",", "\", d%d\"", ",", "base", "+", "i", ")", ";", "}", "strcpy", "(", "&", "pattern", "[", "p", "]", ",", "\"}\"", ")", ";", "output_asm_insn", "(", "pattern", ",", "operands", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "the", "assembly", "for", "a", "store", "multiple", "."], "TS_V_token": ["arm", "100", "\"fstmfdx\\t%m0!, {%P1\"", "1", "1", "2", "1", "2", "0", "\", d%d\"", "\"}\"", "\"\""], "File": "arm3", "Func": "vfp_output_fstmx", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6477, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "getSubExpr", "(", ")", "const", "{", "return", "Expr", ";", "}", ""], "natrual_language": ["getSubExpr", "-", "Get", "the", "child", "of", "this", "expression", "."], "TS_V_token": ["Lanai"], "File": "LanaiMCExpr", "Func": "getSubExpr", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6478, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_hard_regno_mode_ok_uncached", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "unsigned", "int", "size", ";", "enum", "mode_class", "mclass", ";", "if", "(", "mode", "==", "CCV2mode", ")", "return", "(", "ISA_HAS_8CC", "&&", "ST_REG_P", "(", "regno", ")", "&&", "(", "regno", "-", "ST_REG_FIRST", ")", "%", "2", "==", "0", ")", ";", "if", "(", "mode", "==", "CCV4mode", ")", "return", "(", "ISA_HAS_8CC", "&&", "ST_REG_P", "(", "regno", ")", "&&", "(", "regno", "-", "ST_REG_FIRST", ")", "%", "4", "==", "0", ")", ";", "if", "(", "mode", "==", "CCmode", ")", "return", "ISA_HAS_8CC", "?", "ST_REG_P", "(", "regno", ")", ":", "regno", "==", "FPSW_REGNUM", ";", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "mclass", "=", "GET_MODE_CLASS", "(", "mode", ")", ";", "if", "(", "GP_REG_P", "(", "regno", ")", "&&", "mode", "!=", "CCFmode", "&&", "!", "MSA_SUPPORTED_MODE_P", "(", "mode", ")", ")", "return", "(", "(", "regno", "-", "GP_REG_FIRST", ")", "&", "1", ")", "==", "0", "||", "size", "<=", "UNITS_PER_WORD", ";", "if", "(", "FP_REG_P", "(", "regno", ")", "&&", "MSA_SUPPORTED_MODE_P", "(", "mode", ")", ")", "return", "true", ";", "if", "(", "FP_REG_P", "(", "regno", ")", "&&", "(", "(", "(", "regno", "-", "FP_REG_FIRST", ")", "%", "MAX_FPRS_PER_FMT", ")", "==", "0", "||", "(", "MIN_FPRS_PER_FMT", "==", "1", "&&", "size", "<=", "UNITS_PER_FPREG", ")", ")", ")", "{", "if", "(", "TARGET_O32_FP64A_ABI", "&&", "size", "<=", "4", "&&", "(", "regno", "&", "1", ")", "!=", "0", ")", "return", "false", ";", "if", "(", "mode", "==", "CCFmode", ")", "return", "!", "(", "TARGET_FLOATXX", "&&", "(", "regno", "&", "1", ")", "!=", "0", ")", ";", "if", "(", "TARGET_LOONGSON_VECTORS", "&&", "(", "mode", "==", "V2SImode", "||", "mode", "==", "V4HImode", "||", "mode", "==", "V8QImode", "||", "mode", "==", "DImode", ")", ")", "return", "true", ";", "if", "(", "mclass", "==", "MODE_FLOAT", "||", "mclass", "==", "MODE_COMPLEX_FLOAT", "||", "mclass", "==", "MODE_VECTOR_FLOAT", ")", "return", "size", "<=", "UNITS_PER_FPVALUE", ";", "if", "(", "mclass", "==", "MODE_INT", ")", "return", "size", ">=", "MIN_UNITS_PER_WORD", "&&", "size", "<=", "UNITS_PER_FPREG", ";", "}", "if", "(", "ACC_REG_P", "(", "regno", ")", "&&", "!", "VECTOR_MODE_P", "(", "mode", ")", "&&", "(", "INTEGRAL_MODE_P", "(", "mode", ")", "||", "ALL_FIXED_POINT_MODE_P", "(", "mode", ")", ")", ")", "{", "if", "(", "MD_REG_P", "(", "regno", ")", ")", "{", "if", "(", "size", "<=", "UNITS_PER_WORD", "*", "2", ")", "return", "regno", "==", "(", "size", "<=", "UNITS_PER_WORD", "?", "LO_REGNUM", ":", "MD_REG_FIRST", ")", ";", "}", "else", "{", "if", "(", "size", "<=", "UNITS_PER_WORD", ")", "return", "true", ";", "if", "(", "size", "<=", "UNITS_PER_WORD", "*", "2", "&&", "(", "(", "regno", "-", "DSP_ACC_REG_FIRST", ")", "&", "1", ")", "==", "0", ")", "return", "true", ";", "}", "}", "if", "(", "ALL_COP_REG_P", "(", "regno", ")", ")", "return", "mclass", "==", "MODE_INT", "&&", "size", "<=", "UNITS_PER_WORD", ";", "if", "(", "regno", "==", "GOT_VERSION_REGNUM", ")", "return", "mode", "==", "SImode", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "register", "REGNO", "can", "store", "a", "value", "of", "mode", "MODE", ".", "The", "result", "of", "this", "function", "is", "cached", "in", "mips_hard_regno_mode_ok", "."], "TS_V_token": ["mips", "2", "0", "4", "0", "1", "0", "0", "1", "4", "1", "0", "1", "0", "2", "2", "1", "0"], "File": "mips7", "Func": "mips_hard_regno_mode_ok_uncached", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6479, "Length": 407, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_sched_reorder", "(", "FILE", "*", "file", ",", "int", "verbose", ",", "rtx_insn", "*", "*", "ready", ",", "int", "*", "n_readyp", ",", "int", "clock", ")", "{", "switch", "(", "arm_tune", ")", "{", "case", "cortexa7", ":", "cortexa7_sched_reorder", "(", "file", ",", "verbose", ",", "ready", ",", "n_readyp", ",", "clock", ")", ";", "break", ";", "default", ":", "break", ";", "}", "return", "arm_issue_rate", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SCHED_REORDER", "."], "TS_V_token": ["arm"], "File": "arm4", "Func": "arm_sched_reorder", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6480, "Length": 58, "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": 6481, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmInstrumentation", "::", "EmitInstruction", "(", "MCStreamer", "&", "Out", ",", "const", "MCInst", "&", "Inst", ")", "{", "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": "X86AsmInstrumentation13", "Func": "EmitInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6482, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "convertToFlagSettingOpc", "(", "unsigned", "Opc", ",", "bool", "&", "Is64Bit", ")", "{", "switch", "(", "Opc", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Opcode has no flag setting equivalent!\"", ")", ";", "case", "AArch64", "::", "ADDWri", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "ADDSWri", ";", "case", "AArch64", "::", "ADDWrr", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "ADDSWrr", ";", "case", "AArch64", "::", "ADDWrs", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "ADDSWrs", ";", "case", "AArch64", "::", "ADDWrx", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "ADDSWrx", ";", "case", "AArch64", "::", "ANDWri", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "ANDSWri", ";", "case", "AArch64", "::", "ANDWrr", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "ANDSWrr", ";", "case", "AArch64", "::", "ANDWrs", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "ANDSWrs", ";", "case", "AArch64", "::", "BICWrr", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "BICSWrr", ";", "case", "AArch64", "::", "BICWrs", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "BICSWrs", ";", "case", "AArch64", "::", "SUBWri", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "SUBSWri", ";", "case", "AArch64", "::", "SUBWrr", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "SUBSWrr", ";", "case", "AArch64", "::", "SUBWrs", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "SUBSWrs", ";", "case", "AArch64", "::", "SUBWrx", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "SUBSWrx", ";", "case", "AArch64", "::", "ADDXri", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "ADDSXri", ";", "case", "AArch64", "::", "ADDXrr", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "ADDSXrr", ";", "case", "AArch64", "::", "ADDXrs", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "ADDSXrs", ";", "case", "AArch64", "::", "ADDXrx", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "ADDSXrx", ";", "case", "AArch64", "::", "ANDXri", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "ANDSXri", ";", "case", "AArch64", "::", "ANDXrr", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "ANDSXrr", ";", "case", "AArch64", "::", "ANDXrs", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "ANDSXrs", ";", "case", "AArch64", "::", "BICXrr", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "BICSXrr", ";", "case", "AArch64", "::", "BICXrs", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "BICSXrs", ";", "case", "AArch64", "::", "SUBXri", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "SUBSXri", ";", "case", "AArch64", "::", "SUBXrr", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "SUBSXrr", ";", "case", "AArch64", "::", "SUBXrs", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "SUBSXrs", ";", "case", "AArch64", "::", "SUBXrx", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "SUBSXrx", ";", "}", "}", ""], "natrual_language": ["Return", "the", "opcode", "that", "set", "flags", "when", "possible", "."], "TS_V_token": ["AArch64", "\"Opcode has no flag setting equivalent!\"", "AArch64::ADDWri", "AArch64::ADDSWri", "AArch64::ADDWrr", "AArch64::ADDSWrr", "AArch64::ADDWrs", "AArch64::ADDSWrs", "AArch64::ADDWrx", "AArch64::ADDSWrx", "AArch64::ANDWri", "AArch64::ANDSWri", "AArch64::ANDWrr", "AArch64::ANDSWrr", "AArch64::ANDWrs", "AArch64::ANDSWrs", "AArch64::BICWrr", "AArch64::BICSWrr", "AArch64::BICWrs", "AArch64::BICSWrs", "AArch64::SUBWri", "AArch64::SUBSWri", "AArch64::SUBWrr", "AArch64::SUBSWrr", "AArch64::SUBWrs", "AArch64::SUBSWrs", "AArch64::SUBWrx", "AArch64::SUBSWrx", "AArch64::ADDXri", "AArch64::ADDSXri", "AArch64::ADDXrr", "AArch64::ADDSXrr", "AArch64::ADDXrs", "AArch64::ADDSXrs", "AArch64::ADDXrx", "AArch64::ADDSXrx", "AArch64::ANDXri", "AArch64::ANDSXri", "AArch64::ANDXrr", "AArch64::ANDSXrr", "AArch64::ANDXrs", "AArch64::ANDSXrs", "AArch64::BICXrr", "AArch64::BICSXrr", "AArch64::BICXrs", "AArch64::BICSXrs", "AArch64::SUBXri", "AArch64::SUBSXri", "AArch64::SUBXrr", "AArch64::SUBSXrr", "AArch64::SUBXrs", "AArch64::SUBSXrs", "AArch64::SUBXrx", "AArch64::SUBSXrx"], "File": "AArch64InstrInfo (2)", "Func": "convertToFlagSettingOpc", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6483, "Length": 390, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isReg", "(", ")", "const", "{", "if", "(", "isGPRAsmReg", "(", ")", "&&", "RegIdx", ".", "Index", "==", "0", ")", "return", "true", ";", "return", "Kind", "==", "k_PhysRegister", ";", "}", ""], "natrual_language": ["isReg", "-", "Is", "this", "a", "register", "operand", "?"], "TS_V_token": ["Mips", "0"], "File": "MipsAsmParser45", "Func": "isReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6484, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAtomicExpandPass", "(", "TM", ")", ")", ";", "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": ["AArch64", "AArch64"], "File": "AArch64TargetMachine31", "Func": "addIRPasses", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6485, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "can_be_rotated_to_negative_15bits", "(", "HOST_WIDE_INT", "c", ")", "{", "int", "rot", "=", "0", ";", "bool", "res", "=", "can_be_rotated_to_lowbits", "(", "~", "c", ",", "15", ",", "&", "rot", ")", ";", "return", "res", "&&", "rot", ">", "0", ";", "}", ""], "natrual_language": ["Check", "if", "C", "(", "as", "64bit", "integer", ")", "can", "be", "rotated", "to", "a", "negative", "15bits", "constant", "which", "contains", "49bits", "leading", "ones", "and", "15bits", "of", "any", "value", "."], "TS_V_token": ["rs6000", "0", "15", "0"], "File": "rs60001", "Func": "can_be_rotated_to_negative_15bits", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6486, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Error", "(", "SMLoc", "L", ",", "const", "Twine", "&", "Msg", ")", "{", "return", "getParser", "(", ")", ".", "Error", "(", "L", ",", "Msg", ")", ";", "}", ""], "natrual_language": ["Return", "an", "error", "at", "the", "location", "L", ",", "with", "the", "message", "Msg", "."], "TS_V_token": ["PowerPC"], "File": "PPCAsmParser (2)1", "Func": "Error", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6487, "Length": 25, "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": 6488, "Length": 54, "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": 6489, "Length": 287, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "neon_dereference_pointer", "(", "tree", "exp", ",", "tree", "type", ",", "machine_mode", "mem_mode", ",", "machine_mode", "reg_mode", ",", "machine_mode", "vector_mode", ")", "{", "HOST_WIDE_INT", "reg_size", ",", "vector_size", ",", "nvectors", ",", "nelems", ";", "tree", "elem_type", ",", "upper_bound", ",", "array_type", ";", "reg_size", "=", "GET_MODE_SIZE", "(", "reg_mode", ")", ";", "vector_size", "=", "GET_MODE_SIZE", "(", "vector_mode", ")", ";", "gcc_assert", "(", "reg_size", "%", "vector_size", "==", "0", ")", ";", "nvectors", "=", "reg_size", "/", "vector_size", ";", "gcc_assert", "(", "POINTER_TYPE_P", "(", "type", ")", ")", ";", "elem_type", "=", "TREE_TYPE", "(", "type", ")", ";", "if", "(", "mem_mode", "==", "reg_mode", ")", "nelems", "=", "vector_size", "*", "nvectors", "/", "int_size_in_bytes", "(", "elem_type", ")", ";", "else", "nelems", "=", "nvectors", ";", "upper_bound", "=", "build_int_cst", "(", "size_type_node", ",", "nelems", "-", "1", ")", ";", "array_type", "=", "build_array_type", "(", "elem_type", ",", "build_index_type", "(", "upper_bound", ")", ")", ";", "return", "fold_build2", "(", "MEM_REF", ",", "array_type", ",", "exp", ",", "build_int_cst", "(", "build_pointer_type", "(", "array_type", ")", ",", "0", ")", ")", ";", "}", ""], "natrual_language": ["EXP", "is", "a", "pointer", "argument", "to", "a", "Neon", "load", "or", "store", "intrinsic", ".", "Derive", "and", "return", "an", "expression", "for", "the", "accessed", "memory", ".", "The", "intrinsic", "function", "operates", "on", "a", "block", "of", "registers", "that", "has", "mode", "REG_MODE", ".", "This", "block", "contains", "vectors", "of", "type", "TYPE_MODE", ".", "The", "function", "references", "the", "memory", "at", "EXP", "of", "type", "TYPE", "and", "in", "mode", "MEM_MODE", ";", "this", "mode", "may", "be", "BLKmode", "if", "no", "more", "suitable", "mode", "is", "available", "."], "TS_V_token": ["arm", "0", "1", "0"], "File": "arm-builtins", "Func": "neon_dereference_pointer", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6490, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb2ITBlock", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "const", "ARMSubtarget", "&", "STI", "=", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "Fn", ".", "getSubtarget", "(", ")", ")", ";", "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": "Thumb2ITBlockPass (2)1", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6491, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCInst", "&", "Res", ")", "const", "override", "{", "llvm_unreachable", "(", "\"relaxInstruction() unimplemented\"", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["Sparc", "\"relaxInstruction() unimplemented\""], "File": "SparcAsmBackend1", "Func": "relaxInstruction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6492, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "aarch64_preferred_simd_mode", "(", "machine_mode", "mode", ")", "{", "return", "aarch64_simd_container_mode", "(", "mode", ",", "128", ")", ";", "}", ""], "natrual_language": ["Return", "128-bit", "container", "as", "the", "preferred", "SIMD", "mode", "for", "MODE", "."], "TS_V_token": ["aarch64", "128"], "File": "aarch642", "Func": "aarch64_preferred_simd_mode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6493, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_asm_elf_flags_numeric", "(", "unsigned", "int", "flags", ",", "unsigned", "int", "*", "num", ")", "{", "if", "(", "flags", "&", "SECTION_ARM_PURECODE", ")", "{", "*", "num", "=", "0x20000000", ";", "if", "(", "!", "(", "flags", "&", "SECTION_DEBUG", ")", ")", "*", "num", "|=", "0x2", ";", "if", "(", "flags", "&", "SECTION_EXCLUDE", ")", "*", "num", "|=", "0x80000000", ";", "if", "(", "flags", "&", "SECTION_WRITE", ")", "*", "num", "|=", "0x1", ";", "if", "(", "flags", "&", "SECTION_CODE", ")", "*", "num", "|=", "0x4", ";", "if", "(", "flags", "&", "SECTION_MERGE", ")", "*", "num", "|=", "0x10", ";", "if", "(", "flags", "&", "SECTION_STRINGS", ")", "*", "num", "|=", "0x20", ";", "if", "(", "flags", "&", "SECTION_TLS", ")", "*", "num", "|=", "0x400", ";", "if", "(", "HAVE_COMDAT_GROUP", "&&", "(", "flags", "&", "SECTION_LINKONCE", ")", ")", "*", "num", "|=", "0x200", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_ASM_ELF_FLAGS_NUMERIC", "hook", ".", "For", "pure-code", "sections", "there", "is", "no", "letter", "code", "for", "this", "attribute", ",", "so", "output", "all", "the", "section", "flags", "numerically", "when", "this", "is", "needed", "."], "TS_V_token": ["arm", "0x20000000", "0x2", "0x80000000", "0x1", "0x4", "0x10", "0x20", "0x400", "0x200"], "File": "arm", "Func": "arm_asm_elf_flags_numeric", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6494, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsInstrInfo", "::", "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": ["Mips", "Mips", "\"code size not handled\"", "0", "2"], "File": "MipsInstrInfo (2)3", "Func": "removeBranch", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6495, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "finish", "(", ")", "override", "{", "for", "(", "auto", "*", "Sym", ":", "UpdateOther", ")", "if", "(", "Sym", "->", "isVariable", "(", ")", ")", "copyLocalEntry", "(", "Sym", ",", "Sym", "->", "getVariableValue", "(", ")", ")", ";", "UpdateOther", ".", "clear", "(", ")", ";", "}", ""], "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": "PPCMCTargetDesc25", "Func": "finish", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6496, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "EmitInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "EmitA64MappingSymbol", "(", ")", ";", "MCELFStreamer", "::", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["ARM64"], "File": "ARM64ELFStreamer", "Func": "EmitInstruction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6497, "Length": 29, "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": 6498, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "emitLoadConstPool", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "const", "DebugLoc", "&", "dl", ",", "Register", "DestReg", ",", "unsigned", "SubIdx", ",", "int", "Val", ",", "ARMCC", "::", "CondCodes", "Pred", ",", "Register", "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", ",", "Align", "(", "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": "ARMBaseRegisterInfo", "Func": "emitLoadConstPool", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6499, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "shl_and_scr_length", "(", "rtx", "insn", ")", "{", "rtx", "set_src", "=", "SET_SRC", "(", "XVECEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ",", "0", ")", ")", ";", "int", "len", "=", "shift_insns", "[", "INTVAL", "(", "XEXP", "(", "set_src", ",", "1", ")", ")", "]", ";", "rtx", "op", "=", "XEXP", "(", "set_src", ",", "0", ")", ";", "len", "+=", "shift_insns", "[", "INTVAL", "(", "XEXP", "(", "op", ",", "1", ")", ")", "]", "+", "1", ";", "op", "=", "XEXP", "(", "XEXP", "(", "op", ",", "0", ")", ",", "0", ")", ";", "return", "len", "+", "shift_insns", "[", "INTVAL", "(", "XEXP", "(", "op", ",", "1", ")", ")", "]", ";", "}", ""], "natrual_language": ["This", "is", "used", "in", "length", "attribute", "of", "the", "and_shl_scratch", "instruction", "."], "TS_V_token": ["sh", "0", "0", "1", "0", "1", "1", "0", "0", "1"], "File": "sh3", "Func": "shl_and_scr_length", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6500, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "insn_is_load_p", "(", "rtx", "insn", ")", "{", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "body", ")", "==", "SET", ")", "{", "if", "(", "GET_CODE", "(", "SET_SRC", "(", "body", ")", ")", "==", "MEM", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "SET_SRC", "(", "body", ")", ")", "==", "VEC_SELECT", "&&", "GET_CODE", "(", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ")", "==", "MEM", ")", "return", "1", ";", "return", "0", ";", "}", "if", "(", "GET_CODE", "(", "body", ")", "!=", "PARALLEL", ")", "return", "0", ";", "rtx", "set", "=", "XVECEXP", "(", "body", ",", "0", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "set", ")", "==", "SET", "&&", "GET_CODE", "(", "SET_SRC", "(", "set", ")", ")", "==", "MEM", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "1", "iff", "INSN", "is", "a", "load", "insn", ",", "including", "permuting", "loads", "that", "represent", "an", "lvxd2x", "instruction", ";", "else", "return", "0", "."], "TS_V_token": ["powerpcspe", "1", "0", "1", "0", "0", "0", "0", "1", "0"], "File": "powerpcspe", "Func": "insn_is_load_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6501, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "DLXInstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "&", "SrcReg", ",", "unsigned", "&", "SrcReg2", ",", "int", "&", "CmpMask", ",", "int", "&", "CmpValue", ")", "const", "{", "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": ["DLX", "DLX"], "File": "DLXInstrInfo", "Func": "analyzeCompare", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6502, "Length": 32, "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": 6503, "Length": 249, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getMaxNumElements", "(", "ElementCount", "VF", ")", "const", "{", "if", "(", "!", "VF", ".", "isScalable", "(", ")", ")", "return", "VF", ".", "getFixedValue", "(", ")", ";", "Optional", "<", "unsigned", ">", "MaxNumVScale", "=", "getMaxVScale", "(", ")", ";", "assert", "(", "MaxNumVScale", "&&", "\"Expected valid max vscale value\"", ")", ";", "return", "*", "MaxNumVScale", "*", "VF", ".", "getKnownMinValue", "(", ")", ";", "}", ""], "natrual_language": ["Try", "to", "return", "an", "estimate", "cost", "factor", "that", "can", "be", "used", "as", "a", "multiplier", "when", "scalarizing", "an", "operation", "for", "a", "vector", "with", "ElementCount", "VF", "."], "TS_V_token": ["AArch64", "\"Expected valid max vscale value\""], "File": "AArch64TargetTransformInfo19", "Func": "getMaxNumElements", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6504, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "X86TargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", "DL", ",", "LLVMContext", "&", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "Subtarget", ".", "hasAVX512", "(", ")", "?", "MVT", "::", "i1", ":", "MVT", "::", "i8", ";", "if", "(", "VT", ".", "isSimple", "(", ")", ")", "{", "MVT", "VVT", "=", "VT", ".", "getSimpleVT", "(", ")", ";", "const", "unsigned", "NumElts", "=", "VVT", ".", "getVectorNumElements", "(", ")", ";", "const", "MVT", "EltVT", "=", "VVT", ".", "getVectorElementType", "(", ")", ";", "if", "(", "VVT", ".", "is512BitVector", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "hasAVX512", "(", ")", ")", "if", "(", "EltVT", "==", "MVT", "::", "i32", "||", "EltVT", "==", "MVT", "::", "i64", "||", "EltVT", "==", "MVT", "::", "f32", "||", "EltVT", "==", "MVT", "::", "f64", ")", "switch", "(", "NumElts", ")", "{", "case", "8", ":", "return", "MVT", "::", "v8i1", ";", "case", "16", ":", "return", "MVT", "::", "v16i1", ";", "}", "if", "(", "Subtarget", ".", "hasBWI", "(", ")", ")", "if", "(", "EltVT", "==", "MVT", "::", "i8", "||", "EltVT", "==", "MVT", "::", "i16", ")", "switch", "(", "NumElts", ")", "{", "case", "32", ":", "return", "MVT", "::", "v32i1", ";", "case", "64", ":", "return", "MVT", "::", "v64i1", ";", "}", "}", "if", "(", "VVT", ".", "is256BitVector", "(", ")", "||", "VVT", ".", "is128BitVector", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "hasVLX", "(", ")", ")", "if", "(", "EltVT", "==", "MVT", "::", "i32", "||", "EltVT", "==", "MVT", "::", "i64", "||", "EltVT", "==", "MVT", "::", "f32", "||", "EltVT", "==", "MVT", "::", "f64", ")", "switch", "(", "NumElts", ")", "{", "case", "2", ":", "return", "MVT", "::", "v2i1", ";", "case", "4", ":", "return", "MVT", "::", "v4i1", ";", "case", "8", ":", "return", "MVT", "::", "v8i1", ";", "}", "if", "(", "Subtarget", ".", "hasBWI", "(", ")", "&&", "Subtarget", ".", "hasVLX", "(", ")", ")", "if", "(", "EltVT", "==", "MVT", "::", "i8", "||", "EltVT", "==", "MVT", "::", "i16", ")", "switch", "(", "NumElts", ")", "{", "case", "8", ":", "return", "MVT", "::", "v8i1", ";", "case", "16", ":", "return", "MVT", "::", "v16i1", ";", "case", "32", ":", "return", "MVT", "::", "v32i1", ";", "}", "}", "}", "return", "VT", ".", "changeVectorElementTypeToInteger", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["X86", "X86", "MVT::i1", "MVT::i8", "MVT::i32", "MVT::i64", "MVT::f32", "MVT::f64", "8", "MVT::v8i1", "16", "MVT::v16i1", "MVT::i8", "MVT::i16", "32", "MVT::v32i1", "64", "MVT::v64i1", "MVT::i32", "MVT::i64", "MVT::f32", "MVT::f64", "2", "MVT::v2i1", "4", "MVT::v4i1", "8", "MVT::v8i1", "MVT::i8", "MVT::i16", "8", "MVT::v8i1", "16", "MVT::v16i1", "32", "MVT::v32i1"], "File": "X86ISelLowering149", "Func": "getSetCCResultType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6505, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SICDAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "static_cast", "<", "const", "SICSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "bool", "Ret", "=", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "return", "Ret", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["SIC", "SIC", "SIC"], "File": "SICISelDAGToDAG", "Func": "runOnMachineFunction", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6506, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "AArch64TTIImpl", "::", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "TTI", "::", "OperandValueKind", "Opd1Info", ",", "TTI", "::", "OperandValueKind", "Opd2Info", ",", "TTI", "::", "OperandValueProperties", "Opd1PropInfo", ",", "TTI", "::", "OperandValueProperties", "Opd2PropInfo", ",", "ArrayRef", "<", "const", "Value", "*", ">", "Args", ")", "{", "std", "::", "pair", "<", "int", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "Ty", ")", ";", "int", "Cost", "=", "0", ";", "if", "(", "isWideningInstruction", "(", "Ty", ",", "Opcode", ",", "Args", ")", ")", "Cost", "+=", "ST", "->", "getWideningBaseCost", "(", ")", ";", "int", "ISD", "=", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", ";", "switch", "(", "ISD", ")", "{", "default", ":", "return", "Cost", "+", "BaseT", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "Opd1Info", ",", "Opd2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ")", ";", "case", "ISD", "::", "SDIV", ":", "if", "(", "Opd2Info", "==", "TargetTransformInfo", "::", "OK_UniformConstantValue", "&&", "Opd2PropInfo", "==", "TargetTransformInfo", "::", "OP_PowerOf2", ")", "{", "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", ";", "}", "LLVM_FALLTHROUGH", ";", "case", "ISD", "::", "UDIV", ":", "Cost", "+=", "BaseT", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "Opd1Info", ",", "Opd2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ")", ";", "if", "(", "Ty", "->", "isVectorTy", "(", ")", ")", "{", "Cost", "+=", "getArithmeticInstrCost", "(", "Instruction", "::", "ExtractElement", ",", "Ty", ",", "Opd1Info", ",", "Opd2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ")", ";", "Cost", "+=", "getArithmeticInstrCost", "(", "Instruction", "::", "InsertElement", ",", "Ty", ",", "Opd1Info", ",", "Opd2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ")", ";", "Cost", "+=", "Cost", ";", "}", "return", "Cost", ";", "case", "ISD", "::", "ADD", ":", "case", "ISD", "::", "MUL", ":", "case", "ISD", "::", "XOR", ":", "case", "ISD", "::", "OR", ":", "case", "ISD", "::", "AND", ":", "return", "(", "Cost", "+", "1", ")", "*", "LT", ".", "first", ";", "}", "}", ""], "natrual_language": ["This", "is", "an", "approximation", "of", "reciprocal", "throughput", "of", "a", "math/logic", "op", "."], "TS_V_token": ["AArch64", "AArch64", "0", "ISD::SDIV", "ISD::UDIV", "ISD::ADD", "ISD::MUL", "ISD::XOR", "ISD::OR", "ISD::AND", "1"], "File": "AArch64TargetTransformInfo59", "Func": "getArithmeticInstrCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6507, "Length": 356, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "X86MachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "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": ["X86", "X86", "X86", "2", "0"], "File": "X86InstrInfo (2)1", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6508, "Length": 77, "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", "=", "*", "Subtarget", ".", "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", "0", "0", "PPC::VRSAVE", "PPC::CR2", "PPC::CR3", "PPC::CR4", "PPC::CR2", "PPC::CR4", "PPC", "\"loadRegFromStackSlot didn't insert any code!\"", "PPC"], "File": "PPCFrameLowering10", "Func": "restoreCalleeSavedRegisters", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6509, "Length": 413, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SystemZTargetLowering", "::", "ComputeNumSignBitsForTargetNode", "(", "SDValue", "Op", ",", "const", "APInt", "&", "DemandedElts", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "if", "(", "Op", ".", "getResNo", "(", ")", "!=", "0", ")", "return", "1", ";", "unsigned", "Opcode", "=", "Op", ".", "getOpcode", "(", ")", ";", "if", "(", "Opcode", "==", "ISD", "::", "INTRINSIC_WO_CHAIN", ")", "{", "unsigned", "Id", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "0", ")", ")", "->", "getZExtValue", "(", ")", ";", "switch", "(", "Id", ")", "{", "case", "Intrinsic", "::", "s390_vpksh", ":", "case", "Intrinsic", "::", "s390_vpksf", ":", "case", "Intrinsic", "::", "s390_vpksg", ":", "case", "Intrinsic", "::", "s390_vpkshs", ":", "case", "Intrinsic", "::", "s390_vpksfs", ":", "case", "Intrinsic", "::", "s390_vpksgs", ":", "case", "Intrinsic", "::", "s390_vpklsh", ":", "case", "Intrinsic", "::", "s390_vpklsf", ":", "case", "Intrinsic", "::", "s390_vpklsg", ":", "case", "Intrinsic", "::", "s390_vpklshs", ":", "case", "Intrinsic", "::", "s390_vpklsfs", ":", "case", "Intrinsic", "::", "s390_vpklsgs", ":", "case", "Intrinsic", "::", "s390_vpdi", ":", "case", "Intrinsic", "::", "s390_vsldb", ":", "case", "Intrinsic", "::", "s390_vperm", ":", "return", "computeNumSignBitsBinOp", "(", "Op", ",", "DemandedElts", ",", "DAG", ",", "Depth", ",", "1", ")", ";", "case", "Intrinsic", "::", "s390_vuphb", ":", "case", "Intrinsic", "::", "s390_vuphh", ":", "case", "Intrinsic", "::", "s390_vuphf", ":", "case", "Intrinsic", "::", "s390_vuplb", ":", "case", "Intrinsic", "::", "s390_vuplhw", ":", "case", "Intrinsic", "::", "s390_vuplf", ":", "{", "SDValue", "PackedOp", "=", "Op", ".", "getOperand", "(", "1", ")", ";", "APInt", "SrcDemE", "=", "getDemandedSrcElements", "(", "Op", ",", "DemandedElts", ",", "1", ")", ";", "unsigned", "Tmp", "=", "DAG", ".", "ComputeNumSignBits", "(", "PackedOp", ",", "SrcDemE", ",", "Depth", "+", "1", ")", ";", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "unsigned", "VTBits", "=", "VT", ".", "getScalarSizeInBits", "(", ")", ";", "Tmp", "+=", "VTBits", "-", "PackedOp", ".", "getScalarValueSizeInBits", "(", ")", ";", "return", "Tmp", ";", "}", "default", ":", "break", ";", "}", "}", "else", "{", "switch", "(", "Opcode", ")", "{", "case", "SystemZISD", "::", "SELECT_CCMASK", ":", "return", "computeNumSignBitsBinOp", "(", "Op", ",", "DemandedElts", ",", "DAG", ",", "Depth", ",", "0", ")", ";", "default", ":", "break", ";", "}", "}", "return", "1", ";", "}", ""], "natrual_language": ["Determine", "the", "number", "of", "bits", "in", "the", "operation", "that", "are", "sign", "bits", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "1", "ISD::INTRINSIC_WO_CHAIN", "0", "Intrinsic::s390_vpksh", "Intrinsic::s390_vpksf", "Intrinsic::s390_vpksg", "Intrinsic::s390_vpkshs", "Intrinsic::s390_vpksfs", "Intrinsic::s390_vpksgs", "Intrinsic::s390_vpklsh", "Intrinsic::s390_vpklsf", "Intrinsic::s390_vpklsg", "Intrinsic::s390_vpklshs", "Intrinsic::s390_vpklsfs", "Intrinsic::s390_vpklsgs", "Intrinsic::s390_vpdi", "Intrinsic::s390_vsldb", "Intrinsic::s390_vperm", "1", "Intrinsic::s390_vuphb", "Intrinsic::s390_vuphh", "Intrinsic::s390_vuphf", "Intrinsic::s390_vuplb", "Intrinsic::s390_vuplhw", "Intrinsic::s390_vuplf", "1", "1", "1", "SystemZISD::SELECT_CCMASK", "0", "1"], "File": "SystemZISelLowering (2)2", "Func": "ComputeNumSignBitsForTargetNode", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6510, "Length": 311, "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": 6511, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86IndirectBranchTrackingPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "X86Subtarget", "&", "SubTarget", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "Metadata", "*", "isCFProtectionSupported", "=", "MF", ".", "getMMI", "(", ")", ".", "getModule", "(", ")", "->", "getModuleFlag", "(", "\"cf-protection-branch\"", ")", ";", "const", "X86TargetMachine", "*", "TM", "=", "static_cast", "<", "const", "X86TargetMachine", "*", ">", "(", "&", "MF", ".", "getTarget", "(", ")", ")", ";", "bool", "isJITwithCET", "=", "TM", "->", "isJIT", "(", ")", ";", "bool", "isJITwithCET", "=", "false", ";", "if", "(", "!", "isCFProtectionSupported", "&&", "!", "IndirectBranchTracking", "&&", "!", "isJITwithCET", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "TII", "=", "SubTarget", ".", "getInstrInfo", "(", ")", ";", "EndbrOpcode", "=", "SubTarget", ".", "is64Bit", "(", ")", "?", "X86", "::", "ENDBR64", ":", "X86", "::", "ENDBR32", ";", "if", "(", "(", "TM", "->", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", "||", "MF", ".", "getFunction", "(", ")", ".", "hasAddressTaken", "(", ")", "||", "!", "MF", ".", "getFunction", "(", ")", ".", "hasLocalLinkage", "(", ")", ")", "&&", "!", "MF", ".", "getFunction", "(", ")", ".", "doesNoCfCheck", "(", ")", ")", "{", "auto", "MBB", "=", "MF", ".", "begin", "(", ")", ";", "Changed", "|=", "addENDBR", "(", "*", "MBB", ",", "MBB", "->", "begin", "(", ")", ")", ";", "}", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "if", "(", "MBB", ".", "hasAddressTaken", "(", ")", ")", "Changed", "|=", "addENDBR", "(", "MBB", ",", "MBB", ".", "begin", "(", ")", ")", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ";", "I", "!=", "MBB", ".", "end", "(", ")", ";", "++", "I", ")", "{", "if", "(", "I", "->", "isCall", "(", ")", "&&", "I", "->", "getNumOperands", "(", ")", ">", "0", "&&", "IsCallReturnTwice", "(", "I", "->", "getOperand", "(", "0", ")", ")", ")", "{", "Changed", "|=", "addENDBR", "(", "MBB", ",", "std", "::", "next", "(", "I", ")", ")", ";", "}", "}", "if", "(", "TM", "->", "Options", ".", "ExceptionModel", "==", "ExceptionHandling", "::", "SjLj", ")", "{", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ";", "I", "!=", "MBB", ".", "end", "(", ")", ";", "++", "I", ")", "{", "if", "(", "MBB", ".", "isEHPad", "(", ")", ")", "{", "if", "(", "I", "->", "isDebugInstr", "(", ")", ")", "continue", ";", "Changed", "|=", "addENDBR", "(", "MBB", ",", "I", ")", ";", "break", ";", "}", "else", "if", "(", "I", "->", "isEHLabel", "(", ")", ")", "{", "MCSymbol", "*", "Sym", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getMCSymbol", "(", ")", ";", "if", "(", "!", "MF", ".", "hasCallSiteLandingPad", "(", "Sym", ")", ")", "continue", ";", "Changed", "|=", "addENDBR", "(", "MBB", ",", "std", "::", "next", "(", "I", ")", ")", ";", "break", ";", "}", "}", "}", "else", "if", "(", "MBB", ".", "isEHPad", "(", ")", ")", "{", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ";", "I", "!=", "MBB", ".", "end", "(", ")", ";", "++", "I", ")", "{", "if", "(", "!", "I", "->", "isEHLabel", "(", ")", ")", "continue", ";", "Changed", "|=", "addENDBR", "(", "MBB", ",", "std", "::", "next", "(", "I", ")", ")", ";", "break", ";", "}", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "\"cf-protection-branch\"", "X86", "X86", "X86::ENDBR64", "X86::ENDBR32", "0", "0", "0"], "File": "X86IndirectBranchTracking21", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6512, "Length": 483, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCPassConfig", "::", "addMachineSSAOptimization", "(", ")", "{", "TargetPassConfig", "::", "addMachineSSAOptimization", "(", ")", ";", "if", "(", "TM", "->", "getTargetTriple", "(", ")", ".", "getArch", "(", ")", "==", "Triple", "::", "ppc64le", "&&", "!", "DisableVSXSwapRemoval", ")", "addPass", "(", "createPPCVSXSwapRemovalPass", "(", ")", ")", ";", "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"], "File": "PPCTargetMachine13", "Func": "addMachineSSAOptimization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6513, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "callee_saved_regno_p", "(", "int", "regno", ")", "{", "if", "(", "!", "call_used_or_fixed_reg_p", "(", "regno", ")", "&&", "df_regs_ever_live_p", "(", "regno", ")", ")", "return", "true", ";", "switch", "(", "regno", ")", "{", "case", "HARD_FRAME_POINTER_REGNUM", ":", "return", "frame_pointer_needed", ";", "case", "LR_REGNUM", ":", "return", "(", "frame_pointer_needed", "||", "!", "crtl", "->", "is_leaf", "||", "crtl", "->", "uses_pic_offset_table", "||", "df_regs_ever_live_p", "(", "regno", ")", ")", ";", "case", "HW_TO_GCC_REGNO", "(", "25", ")", ":", "case", "HW_TO_GCC_REGNO", "(", "27", ")", ":", "case", "HW_TO_GCC_REGNO", "(", "29", ")", ":", "case", "HW_TO_GCC_REGNO", "(", "31", ")", ":", "return", "crtl", "->", "calls_eh_return", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Returns", "true", "if", "REGNO", "must", "be", "saved", "for", "the", "current", "function", "."], "TS_V_token": ["or1k", "25", "27", "29", "31"], "File": "or1k", "Func": "callee_saved_regno_p", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6514, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XNCMAsmPrinter", "::", "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": ["XNCM", "XNCM", "0"], "File": "XNCMAsmPrinter", "Func": "PrintAsmOperand", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6515, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "memory_scalar_type", "(", "const", "function_instance", "&", "fi", ")", "const", "OVERRIDE", "{", "return", "fi", ".", "scalar_type", "(", "0", ")", ";", "}", ""], "natrual_language": ["If", "the", "function", "addresses", "memory", ",", "return", "the", "type", "of", "a", "single", "scalar", "memory", "element", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64-sve-builtins-base", "Func": "memory_scalar_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6516, "Length": 20, "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", "||", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "DestReg", ")", "&&", "isARMLowRegister", "(", "DestReg", ")", ")", ")", "{", "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", "::", "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", "0", "ARM::tRestore", "0"], "File": "Thumb1InstrInfo22", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6517, "Length": 200, "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": 6518, "Length": 115, "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": ["X86"], "File": "NOPInsertion", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6519, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "machreg_t", "inet_lnaof", "(", "machreg_t", "in", ")", "{", "return", "_inet_lnaof", "(", "in", "<<", "SHIFT_BITS", ")", ";", "}", ""], "natrual_language": ["<", "arpa/inet.h", ">", "has", "unsigned", "long", "inet_lnaof", "(", "struct", "in_addr", ")", ";", "(", "IRIX", "6.2", ")", "in_addr_t", "inet_lnaof", "(", "struct", "in_addr", ")", ";", "(", "IRIX", "6.5", ")", "in_addr_t", "is", "a", "32-bit", "int", "."], "TS_V_token": ["mips"], "File": "irix6-libc-compat", "Func": "inet_lnaof", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6520, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "MipsAsmBackend", "::", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "{", "return", "createMipsELFObjectWriter", "(", "OS", ",", "MCELFObjectTargetWriter", "::", "getOSABI", "(", "OSType", ")", ",", "IsLittle", ",", "Is64Bit", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsAsmBackend (2)", "Func": "createObjectWriter", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6521, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "moxie_option_override", "(", "void", ")", "{", "init_machine_status", "=", "moxie_init_machine_status", ";", "target_flags", "|=", "MASK_HAS_MULX", ";", "}", ""], "natrual_language": ["The", "TARGET_OPTION_OVERRIDE", "worker", "."], "TS_V_token": ["moxie"], "File": "moxie", "Func": "moxie_option_override", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6522, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTTIImpl", "::", "getCacheLineSize", "(", ")", "const", "{", "if", "(", "CacheLineSize", ".", "getNumOccurrences", "(", ")", ">", "0", ")", "return", "CacheLineSize", ";", "unsigned", "Directive", "=", "ST", "->", "getDarwinDirective", "(", ")", ";", "if", "(", "Directive", "==", "PPC", "::", "DIR_PWR7", "||", "Directive", "==", "PPC", "::", "DIR_PWR8", "||", "Directive", "==", "PPC", "::", "DIR_PWR9", ")", "return", "128", ";", "return", "64", ";", "}", ""], "natrual_language": ["Return", "the", "target", "cache", "line", "size", "in", "bytes", "."], "TS_V_token": ["PowerPC", "PPC", "0", "PPC::DIR_PWR7", "PPC::DIR_PWR8", "PPC::DIR_PWR9", "128", "64"], "File": "PPCTargetTransformInfo41", "Func": "getCacheLineSize", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6523, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "build_sv_index", "(", "function_builder", "&", "b", ",", "const", "char", "*", "signature", ",", "const", "function_group_info", "&", "group", ")", "{", "build_32_64", "(", "b", ",", "signature", ",", "group", ",", "MODE_s32index", ",", "MODE_s64index", ")", ";", "build_32_64", "(", "b", ",", "signature", ",", "group", ",", "MODE_u32index", ",", "MODE_u64index", ")", ";", "}", ""], "natrual_language": ["For", "every", "type", "and", "predicate", "combination", "in", "GROUP", ",", "add", "one", "function", "that", "takes", "a", "scalar", "(", "pointer", ")", "base", "and", "a", "signed", "vector", "array", "index", ",", "and", "another", "that", "instead", "takes", "an", "unsigned", "vector", "array", "index", ".", "The", "vector", "array", "index", "has", "the", "same", "element", "size", "as", "the", "first", "function", "type", "suffix", ".", "SIGNATURE", "is", "as", "for", "build_all", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins-shapes", "Func": "build_sv_index", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6524, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "offset_ok_for_ldrd_strd", "(", "HOST_WIDE_INT", "offset", ")", "{", "HOST_WIDE_INT", "max_offset", ";", "if", "(", "TARGET_THUMB2", "&&", "(", "(", "offset", "&", "3", ")", "!=", "0", ")", ")", "return", "false", ";", "if", "(", "TARGET_THUMB2", ")", "max_offset", "=", "1020", ";", "else", "if", "(", "TARGET_ARM", ")", "max_offset", "=", "255", ";", "else", "return", "false", ";", "return", "(", "(", "offset", "<=", "max_offset", ")", "&&", "(", "offset", ">=", "-", "max_offset", ")", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "iff", "OFFSET", "is", "valid", "for", "use", "in", "an", "LDRD/STRD", "instruction", ",", "assuming", "that", "the", "address", "in", "the", "base", "register", "is", "word", "aligned", "."], "TS_V_token": ["arm", "3", "0", "1020", "255"], "File": "arm", "Func": "offset_ok_for_ldrd_strd", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6525, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "aarch64_print_operand_address", "(", "STREAM", ",", "X", ")", "{", "\\", "rtx", "fun", ",", "lr", ";", "\\", "lr", "=", "get_hard_reg_initial_val", "(", "Pmode", ",", "LR_REGNUM", ")", ";", "\\", "fun", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "MCOUNT_NAME", ")", ";", "\\", "emit_library_call", "(", "fun", ",", "LCT_NORMAL", ",", "VOIDmode", ",", "1", ",", "lr", ",", "Pmode", ")", ";", "\\", "}", ""], "natrual_language": ["Print", "address", "'", "x", "'", "of", "a", "memory", "access", "with", "mode", "'mode", "'", "."], "TS_V_token": ["aarch64", "1"], "File": "aarch642", "Func": "aarch64_print_operand_address", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6526, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "loongarch_pass_aggregate_num_fpr", "(", "const_tree", "type", ",", "loongarch_aggregate_field", "fields", "[", "2", "]", ")", "{", "int", "n", "=", "loongarch_flatten_aggregate_argument", "(", "type", ",", "fields", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "n", ";", "i", "++", ")", "if", "(", "!", "SCALAR_FLOAT_TYPE_P", "(", "fields", "[", "i", "]", ".", "type", ")", ")", "return", "0", ";", "return", "n", ">", "0", "?", "n", ":", "0", ";", "}", ""], "natrual_language": ["See", "whether", "TYPE", "is", "a", "record", "whose", "fields", "should", "be", "returned", "in", "one", "or", "two", "floating-point", "registers", ".", "If", "so", ",", "populate", "FIELDS", "accordingly", "."], "TS_V_token": ["loongarch", "2", "0", "0", "0", "0"], "File": "loongarch", "Func": "loongarch_pass_aggregate_num_fpr", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6527, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "isStoreToStackSlotPostFE", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "unsigned", "Dummy", ";", "if", "(", "isFrameStoreOpcode", "(", "MI", ".", "getOpcode", "(", ")", ",", "Dummy", ")", ")", "{", "unsigned", "Reg", ";", "if", "(", "(", "Reg", "=", "isStoreToStackSlot", "(", "MI", ",", "FrameIndex", ")", ")", ")", "return", "Reg", ";", "const", "MachineMemOperand", "*", "Dummy", ";", "return", "hasStoreToStackSlot", "(", "MI", ",", "Dummy", ",", "FrameIndex", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["isStoreToStackSlotPostFE", "-", "Check", "for", "post-frame", "ptr", "elimination", "stack", "locations", "as", "well", "."], "TS_V_token": ["X86", "X86", "0"], "File": "X86InstrInfo", "Func": "isStoreToStackSlotPostFE", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6528, "Length": 72, "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", ";", "const", "TargetRegisterClass", "*", "RC", "=", "&", "X86", "::", "VR256RegClass", ";", "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::VR256RegClass", "0", "0", "1"], "File": "X86VZeroUpper14", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6529, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_output_load_label", "(", "rtx", "target", ")", "{", "mips_push_asm_switch", "(", "&", "mips_noat", ")", ";", "if", "(", "TARGET_EXPLICIT_RELOCS", ")", "{", "mips_process_load_label", "(", "target", ")", ";", "mips_multi_write", "(", ")", ";", "}", "else", "{", "if", "(", "Pmode", "==", "DImode", ")", "output_asm_insn", "(", "\"dla\\t%@,%0\"", ",", "&", "target", ")", ";", "else", "output_asm_insn", "(", "\"la\\t%@,%0\"", ",", "&", "target", ")", ";", "}", "}", ""], "natrual_language": ["Return", "an", "asm", "sequence", "to", "start", "a", "noat", "block", "and", "load", "the", "address", "of", "a", "label", "into", "$", "1", "."], "TS_V_token": ["mips", "\"dla\\t%@,%0\"", "\"la\\t%@,%0\""], "File": "mips", "Func": "mips_output_load_label", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6530, "Length": 55, "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": 6531, "Length": 212, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "MipsTargetStreamer", "&", "TS", "=", "getTargetStreamer", "(", ")", ";", "TS", ".", "forbidModuleDirective", "(", ")", ";", "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", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "Mips", "::", "PseudoReturn", "||", "I", "->", "getOpcode", "(", ")", "==", "Mips", "::", "PseudoIndirectBranch", ")", "{", "emitPseudoIndirectBranch", "(", "OutStreamer", ",", "&", "*", "I", ")", ";", "continue", ";", "}", "if", "(", "I", "->", "isPseudo", "(", ")", "&&", "!", "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::PseudoReturn", "Mips::PseudoIndirectBranch", "\"Pseudo opcode found in EmitInstruction()\""], "File": "MipsAsmPrinter43", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6532, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "gimple", "*", "fold", "(", "gimple_folder", "&", "f", ")", "const", "override", "{", "poly_uint64", "nelts", "=", "TYPE_VECTOR_SUBPARTS", "(", "TREE_TYPE", "(", "f", ".", "lhs", ")", ")", ";", "poly_uint64", "base", "=", "m_base", "*", "exact_div", "(", "nelts", ",", "2", ")", ";", "vec_perm_builder", "builder", "(", "nelts", ",", "2", ",", "3", ")", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "3", ";", "++", "i", ")", "{", "builder", ".", "quick_push", "(", "base", "+", "i", ")", ";", "builder", ".", "quick_push", "(", "base", "+", "i", "+", "nelts", ")", ";", "}", "return", "fold_permute", "(", "f", ",", "builder", ")", ";", "}", ""], "natrual_language": ["Try", "to", "fold", "the", "call", ".", "Return", "the", "new", "statement", "on", "success", "and", "null", "on", "failure", "."], "TS_V_token": ["aarch64", "2", "2", "3", "0", "3"], "File": "aarch64-sve-builtins-base3", "Func": "fold", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6533, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64AsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ",", "MCContext", "&", "Ctx", ")", "const", "{", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "MCFixupKindInfo", "Info", "=", "getFixupKindInfo", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "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", ")", ";", "}", "}", "}", ""], "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": "AArch64AsmBackend2", "Func": "applyFixup", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6534, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mmix_get_hard_reg_initial_val", "(", "machine_mode", "mode", ",", "int", "regno", ")", "{", "return", "get_hard_reg_initial_val", "(", "mode", ",", "regno", ")", ";", "}", ""], "natrual_language": ["Wrapper", "for", "get_hard_reg_initial_val", "since", "integrate.h", "is", "n't", "included", "from", "insn-emit.cc", "."], "TS_V_token": ["mmix"], "File": "mmix", "Func": "mmix_get_hard_reg_initial_val", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6535, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "AArch64TTIImpl", "::", "getMinMaxReductionCost", "(", "VectorType", "*", "Ty", ",", "VectorType", "*", "CondTy", ",", "bool", "IsPairwise", ",", "bool", "IsUnsigned", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "if", "(", "!", "isa", "<", "ScalableVectorType", ">", "(", "Ty", ")", ")", "return", "BaseT", "::", "getMinMaxReductionCost", "(", "Ty", ",", "CondTy", ",", "IsPairwise", ",", "IsUnsigned", ",", "CostKind", ")", ";", "assert", "(", "(", "isa", "<", "ScalableVectorType", ">", "(", "Ty", ")", "&&", "isa", "<", "ScalableVectorType", ">", "(", "CondTy", ")", ")", "&&", "\"Both vector needs to be scalable\"", ")", ";", "std", "::", "pair", "<", "InstructionCost", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "Ty", ")", ";", "InstructionCost", "LegalizationCost", "=", "0", ";", "if", "(", "LT", ".", "first", ">", "1", ")", "{", "Type", "*", "LegalVTy", "=", "EVT", "(", "LT", ".", "second", ")", ".", "getTypeForEVT", "(", "Ty", "->", "getContext", "(", ")", ")", ";", "unsigned", "CmpOpcode", "=", "Ty", "->", "isFPOrFPVectorTy", "(", ")", "?", "Instruction", "::", "FCmp", ":", "Instruction", "::", "ICmp", ";", "LegalizationCost", "=", "getCmpSelInstrCost", "(", "CmpOpcode", ",", "LegalVTy", ",", "LegalVTy", ",", "CmpInst", "::", "BAD_ICMP_PREDICATE", ",", "CostKind", ")", "+", "getCmpSelInstrCost", "(", "Instruction", "::", "Select", ",", "LegalVTy", ",", "LegalVTy", ",", "CmpInst", "::", "BAD_ICMP_PREDICATE", ",", "CostKind", ")", ";", "LegalizationCost", "*=", "LT", ".", "first", "-", "1", ";", "}", "return", "LegalizationCost", "+", "2", ";", "}", ""], "natrual_language": ["Try", "to", "calculate", "op", "costs", "for", "min/max", "reduction", "operations", "."], "TS_V_token": ["AArch64", "AArch64", "\"Both vector needs to be scalable\"", "0", "1", "1", "2"], "File": "AArch64TargetTransformInfo27", "Func": "getMinMaxReductionCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6536, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pa_can_eliminate", "(", "const", "int", "from", ",", "const", "int", "to", ")", "{", "if", "(", "TARGET_64BIT", "&&", "from", "==", "ARG_POINTER_REGNUM", ")", "return", "false", ";", "return", "(", "from", "==", "HARD_FRAME_POINTER_REGNUM", "&&", "to", "==", "STACK_POINTER_REGNUM", "?", "!", "frame_pointer_needed", ":", "true", ")", ";", "}", ""], "natrual_language": ["Given", "FROM", "and", "TO", "register", "numbers", ",", "say", "whether", "this", "elimination", "is", "allowed", ".", "Frame", "pointer", "elimination", "is", "automatically", "handled", "."], "TS_V_token": ["pa"], "File": "pa", "Func": "pa_can_eliminate", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6537, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "loongarch_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": ["loongarch"], "File": "loongarch", "Func": "loongarch_can_change_mode_class", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6538, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "FISCRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", ")", "const", "{", "return", "CC_Save_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["FISC", "FISC"], "File": "FISCRegisterInfo", "Func": "getCallPreservedMask", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6539, "Length": 22, "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", "=", "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", "(", "flag_pic", "==", "2", ")", "switch_to_section", "(", "darwin_sections", "[", "machopic_picsymbol_stub1_section", "]", ")", ";", "else", "switch_to_section", "(", "darwin_sections", "[", "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", "=", "XALLOCAVEC", "(", "char", ",", "sizeof", "(", "\"\\\"L00000000000$spb\\\"\"", ")", ")", ";", "sprintf", "(", "local_label_0", ",", "\"\\\"L%011d$spb\\\"\"", ",", "label", ")", ";", "fprintf", "(", "file", ",", "\"\\tmflr r0\\n\"", ")", ";", "if", "(", "TARGET_LINK_STACK", ")", "{", "char", "name", "[", "32", "]", ";", "get_ppc476_thunk_name", "(", "name", ")", ";", "fprintf", "(", "file", ",", "\"\\tbl %s\\n\"", ",", "name", ")", ";", "fprintf", "(", "file", ",", "\"%s:\\n\\tmflr r11\\n\"", ",", "local_label_0", ")", ";", "}", "else", "{", "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\"", ")", ";", "}", "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": ["powerpcspe", "0", "32", "32", "2", "2", "\"\\t.align 5\\n\"", "\"%s:\\n\"", "\"\\t.indirect_symbol %s\\n\"", "\"\\\"L00000000000$spb\\\"\"", "\"\\\"L%011d$spb\\\"\"", "\"\\tmflr r0\\n\"", "32", "\"\\tbl %s\\n\"", "\"%s:\\n\\tmflr r11\\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": "powerpcspe", "Func": "machopic_output_stub", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6540, "Length": 402, "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": 6541, "Length": 166, "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": 6542, "Length": 61, "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": 6543, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "moxie_function_value", "(", "const_tree", "valtype", ",", "const_tree", "fntype_or_decl", "ATTRIBUTE_UNUSED", ",", "bool", "outgoing", "ATTRIBUTE_UNUSED", ")", "{", "return", "gen_rtx_REG", "(", "TYPE_MODE", "(", "valtype", ")", ",", "MOXIE_R0", ")", ";", "}", ""], "natrual_language": ["Define", "how", "to", "find", "the", "value", "returned", "by", "a", "function", ".", "VALTYPE", "is", "the", "data", "type", "of", "the", "value", "(", "as", "a", "tree", ")", ".", "If", "the", "precise", "function", "being", "called", "is", "known", ",", "FUNC", "is", "its", "FUNCTION_DECL", ";", "otherwise", ",", "FUNC", "is", "0", ".", "We", "always", "return", "values", "in", "register", "$", "r0", "for", "moxie", "."], "TS_V_token": ["moxie"], "File": "moxie", "Func": "moxie_function_value", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6544, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86ATTInstPrinter", "::", "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", "<<", "\"0x\"", ";", "O", ".", "write_hex", "(", "Address", ")", ";", "}", "else", "{", "O", "<<", "*", "Op", ".", "getExpr", "(", ")", ";", "}", "}", "}", ""], "natrual_language": ["value", "(", "e.g", "."], "TS_V_token": ["X86", "X86", "\"unknown pcrel immediate operand\"", "\"0x\""], "File": "X86ATTInstPrinter52", "Func": "printPCRelImm", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6545, "Length": 120, "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": 6546, "Length": 160, "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": 6547, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_declare_object_name", "(", "FILE", "*", "stream", ",", "const", "char", "*", "name", ",", "tree", "decl", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "USE_GNU_UNIQUE_OBJECT", "&&", "DECL_ONE_ONLY", "(", "decl", ")", "&&", "(", "!", "DECL_ARTIFICIAL", "(", "decl", ")", "||", "!", "TREE_READONLY", "(", "decl", ")", ")", ")", "ASM_OUTPUT_TYPE_DIRECTIVE", "(", "stream", ",", "name", ",", "\"gnu_unique_object\"", ")", ";", "else", "ASM_OUTPUT_TYPE_DIRECTIVE", "(", "stream", ",", "name", ",", "\"object\"", ")", ";", "size_directive_output", "=", "0", ";", "if", "(", "!", "flag_inhibit_size_directive", "&&", "DECL_SIZE", "(", "decl", ")", ")", "{", "HOST_WIDE_INT", "size", ";", "size_directive_output", "=", "1", ";", "size", "=", "int_size_in_bytes", "(", "TREE_TYPE", "(", "decl", ")", ")", ";", "ASM_OUTPUT_SIZE_DIRECTIVE", "(", "stream", ",", "name", ",", "size", ")", ";", "}", "mips_declare_object", "(", "stream", ",", "name", ",", "\"\"", ",", "\":\\n\"", ")", ";", "}", ""], "natrual_language": ["Implement", "ASM_DECLARE_OBJECT_NAME", ".", "This", "is", "like", "most", "of", "the", "standard", "ELF", "definitions", "except", "that", "it", "uses", "mips_declare_object", "(", ")", "to", "emit", "the", "label", "."], "TS_V_token": ["mips", "\"gnu_unique_object\"", "\"object\"", "0", "1", "\"\"", "\":\\n\""], "File": "mips", "Func": "mips_declare_object_name", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6548, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "loongarch_expand_prologue", "(", "void", ")", "{", "struct", "loongarch_frame_info", "*", "frame", "=", "&", "cfun", "->", "machine", "->", "frame", ";", "HOST_WIDE_INT", "size", "=", "frame", "->", "total_size", ";", "rtx", "insn", ";", "if", "(", "flag_stack_usage_info", ")", "current_function_static_stack_size", "=", "size", ";", "if", "(", "(", "frame", "->", "mask", "|", "frame", "->", "fmask", ")", "!=", "0", ")", "{", "HOST_WIDE_INT", "step1", "=", "MIN", "(", "size", ",", "loongarch_first_stack_step", "(", "frame", ")", ")", ";", "insn", "=", "gen_add3_insn", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "step1", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "emit_insn", "(", "insn", ")", ")", "=", "1", ";", "size", "-=", "step1", ";", "loongarch_for_each_saved_reg", "(", "size", ",", "loongarch_save_reg", ")", ";", "}", "if", "(", "frame_pointer_needed", ")", "{", "insn", "=", "gen_add3_insn", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "frame", "->", "hard_frame_pointer_offset", "-", "size", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "emit_insn", "(", "insn", ")", ")", "=", "1", ";", "loongarch_emit_stack_tie", "(", ")", ";", "}", "if", "(", "flag_stack_check", "==", "STATIC_BUILTIN_STACK_CHECK", "||", "flag_stack_clash_protection", ")", "{", "HOST_WIDE_INT", "first", "=", "get_stack_check_protect", "(", ")", ";", "if", "(", "frame", "->", "total_size", "==", "0", ")", "{", "dump_stack_clash_frame_info", "(", "NO_PROBE_NO_FRAME", ",", "false", ")", ";", "return", ";", "}", "if", "(", "crtl", "->", "is_leaf", "&&", "!", "cfun", "->", "calls_alloca", ")", "{", "HOST_WIDE_INT", "interval", ";", "if", "(", "flag_stack_clash_protection", ")", "interval", "=", "STACK_CLASH_PROTECTION_GUARD_SIZE", ";", "else", "interval", "=", "PROBE_INTERVAL", ";", "if", "(", "size", ">", "interval", "&&", "size", ">", "first", ")", "loongarch_emit_probe_stack_range", "(", "first", ",", "size", "-", "first", ")", ";", "else", "loongarch_emit_probe_stack_range", "(", "first", ",", "size", ")", ";", "}", "else", "loongarch_emit_probe_stack_range", "(", "first", ",", "size", ")", ";", "if", "(", "size", ">", "0", ")", "{", "insn", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "size", ")", ";", "insn", "=", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "insn", ")", ";", "loongarch_set_frame_expr", "(", "insn", ")", ";", "}", "return", ";", "}", "if", "(", "size", ">", "0", ")", "{", "if", "(", "IMM12_OPERAND", "(", "-", "size", ")", ")", "{", "insn", "=", "gen_add3_insn", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "size", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "emit_insn", "(", "insn", ")", ")", "=", "1", ";", "}", "else", "{", "loongarch_emit_move", "(", "LARCH_PROLOGUE_TEMP", "(", "Pmode", ")", ",", "GEN_INT", "(", "-", "size", ")", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "LARCH_PROLOGUE_TEMP", "(", "Pmode", ")", ")", ")", ";", "insn", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "size", ")", ";", "insn", "=", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "insn", ")", ";", "loongarch_set_frame_expr", "(", "insn", ")", ";", "}", "}", "}", ""], "natrual_language": ["Expand", "the", "``", "prologue", "''", "pattern", "."], "TS_V_token": ["loongarch", "0", "1", "1", "0", "0", "0", "1"], "File": "loongarch1", "Func": "loongarch_expand_prologue", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6549, "Length": 377, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_function_specific_post_stream_in", "(", "struct", "cl_target_option", "*", "ptr", ")", "{", "if", "(", "flag_pic", ")", "switch", "(", "ptr", "->", "x_ix86_cmodel", ")", "{", "case", "CM_SMALL", ":", "ptr", "->", "x_ix86_cmodel", "=", "CM_SMALL_PIC", ";", "break", ";", "case", "CM_MEDIUM", ":", "ptr", "->", "x_ix86_cmodel", "=", "CM_MEDIUM_PIC", ";", "break", ";", "case", "CM_LARGE", ":", "ptr", "->", "x_ix86_cmodel", "=", "CM_LARGE_PIC", ";", "break", ";", "case", "CM_KERNEL", ":", "error", "(", "\"code model %s does not support PIC mode\"", ",", "\"kernel\"", ")", ";", "break", ";", "default", ":", "break", ";", "}", "else", "switch", "(", "ptr", "->", "x_ix86_cmodel", ")", "{", "case", "CM_SMALL_PIC", ":", "ptr", "->", "x_ix86_cmodel", "=", "CM_SMALL", ";", "break", ";", "case", "CM_MEDIUM_PIC", ":", "ptr", "->", "x_ix86_cmodel", "=", "CM_MEDIUM", ";", "break", ";", "case", "CM_LARGE_PIC", ":", "ptr", "->", "x_ix86_cmodel", "=", "CM_LARGE", ";", "break", ";", "default", ":", "break", ";", "}", "}", ""], "natrual_language": ["Adjust", "target", "options", "after", "streaming", "them", "in", ".", "This", "is", "mainly", "about", "reconciling", "them", "with", "global", "options", "."], "TS_V_token": ["i386", "\"code model %s does not support PIC mode\"", "\"kernel\""], "File": "i386-options", "Func": "ix86_function_specific_post_stream_in", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6550, "Length": 117, "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": 6551, "Length": 225, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mem_ok_for_ldrd_strd", "(", "rtx", "mem", ",", "rtx", "*", "base", ",", "rtx", "*", "offset", ",", "HOST_WIDE_INT", "*", "align", ")", "{", "rtx", "addr", ";", "gcc_assert", "(", "base", "!=", "NULL", "&&", "offset", "!=", "NULL", ")", ";", "if", "(", "side_effects_p", "(", "mem", ")", ")", "return", "false", ";", "if", "(", "SUBREG_P", "(", "mem", ")", ")", "return", "false", ";", "gcc_assert", "(", "MEM_P", "(", "mem", ")", ")", ";", "*", "offset", "=", "const0_rtx", ";", "*", "align", "=", "MEM_ALIGN", "(", "mem", ")", ";", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "if", "(", "!", "arm_legitimate_address_p", "(", "DImode", ",", "addr", ",", "reload_in_progress", "||", "reload_completed", ")", ")", "return", "false", ";", "if", "(", "REG_P", "(", "addr", ")", ")", "{", "*", "base", "=", "addr", ";", "return", "true", ";", "}", "else", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", ")", "{", "*", "base", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "*", "offset", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "return", "(", "REG_P", "(", "*", "base", ")", "&&", "CONST_INT_P", "(", "*", "offset", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Helper", "for", "gen_operands_ldrd_strd", ".", "Returns", "true", "iff", "the", "memory", "operand", "MEM", "'s", "address", "contains", "an", "immediate", "offset", "from", "the", "base", "register", "and", "has", "no", "side", "effects", ",", "in", "which", "case", "it", "sets", "BASE", "and", "OFFSET", "accordingly", "."], "TS_V_token": ["arm", "0", "0", "1"], "File": "arm", "Func": "mem_ok_for_ldrd_strd", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6552, "Length": 169, "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": 6553, "Length": 289, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MMIXMCCodeEmitter", "::", "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": ["MMIX", "MMIX", "\"Unhandled expression!\"", "0"], "File": "MMIXMCCodeEmitter", "Func": "getMachineOpValue", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6554, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LoongArchAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "AsmPrinter", "::", "runOnMachineFunction", "(", "MF", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["LoongArch", "LoongArch"], "File": "LoongArchAsmPrinter", "Func": "runOnMachineFunction", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6555, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mips_load_store_insns", "(", "rtx", "mem", ",", "rtx_insn", "*", "insn", ")", "{", "machine_mode", "mode", ";", "bool", "might_split_p", ";", "rtx", "set", ";", "gcc_assert", "(", "MEM_P", "(", "mem", ")", ")", ";", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "might_split_p", "=", "GET_MODE_SIZE", "(", "mode", ")", ">", "UNITS_PER_WORD", ";", "if", "(", "might_split_p", ")", "{", "set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "set", "&&", "!", "mips_split_move_insn_p", "(", "SET_DEST", "(", "set", ")", ",", "SET_SRC", "(", "set", ")", ",", "insn", ")", ")", "might_split_p", "=", "false", ";", "}", "return", "mips_address_insns", "(", "XEXP", "(", "mem", ",", "0", ")", ",", "mode", ",", "might_split_p", ")", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "needed", "to", "implement", "INSN", ",", "given", "that", "it", "loads", "from", "or", "stores", "to", "MEM", ".", "Assume", "that", "BASE_INSN_LENGTH", "is", "the", "length", "of", "one", "instruction", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips_load_store_insns", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6556, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "LoongArchSubtarget", "&", "LoongArchSubtarget", "::", "initializeSubtargetDependencies", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "TuneCPU", ",", "StringRef", "FS", ",", "StringRef", "ABIName", ")", "{", "bool", "Is64Bit", "=", "TT", ".", "isArch64Bit", "(", ")", ";", "if", "(", "CPU", ".", "empty", "(", ")", ")", "CPU", "=", "Is64Bit", "?", "\"generic-la64\"", ":", "\"generic-la32\"", ";", "if", "(", "TuneCPU", ".", "empty", "(", ")", ")", "TuneCPU", "=", "CPU", ";", "ParseSubtargetFeatures", "(", "CPU", ",", "TuneCPU", ",", "FS", ")", ";", "if", "(", "Is64Bit", ")", "{", "GRLenVT", "=", "MVT", "::", "i64", ";", "GRLen", "=", "64", ";", "}", "TargetABI", "=", "Is64Bit", "?", "LoongArchABI", "::", "ABI_LP64D", ":", "LoongArchABI", "::", "ABI_ILP32D", ";", "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": ["LoongArch", "LoongArch", "LoongArch", "\"generic-la64\"", "\"generic-la32\"", "MVT::i64", "64", "LoongArchABI::ABI_LP64D", "LoongArchABI::ABI_ILP32D"], "File": "LoongArchSubtarget", "Func": "initializeSubtargetDependencies", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6557, "Length": 103, "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": 6558, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isCtlzFast", "(", ")", "const", "{", "return", "Subtarget", ".", "hasFastLZCNT", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "ctlz", "instruction", "is", "fast", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering (2)5", "Func": "isCtlzFast", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6559, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "altivec_expand_dst_builtin", "(", "tree", "exp", ",", "rtx", "target", "ATTRIBUTE_UNUSED", ",", "bool", "*", "expandedp", ")", "{", "tree", "fndecl", "=", "TREE_OPERAND", "(", "CALL_EXPR_FN", "(", "exp", ")", ",", "0", ")", ";", "enum", "rs6000_builtins", "fcode", "=", "(", "enum", "rs6000_builtins", ")", "DECL_MD_FUNCTION_CODE", "(", "fndecl", ")", ";", "tree", "arg0", ",", "arg1", ",", "arg2", ";", "machine_mode", "mode0", ",", "mode1", ";", "rtx", "pat", ",", "op0", ",", "op1", ",", "op2", ";", "const", "struct", "builtin_description", "*", "d", ";", "size_t", "i", ";", "*", "expandedp", "=", "false", ";", "d", "=", "bdesc_dst", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "bdesc_dst", ")", ";", "i", "++", ",", "d", "++", ")", "if", "(", "d", "->", "code", "==", "fcode", ")", "{", "arg0", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "arg1", "=", "CALL_EXPR_ARG", "(", "exp", ",", "1", ")", ";", "arg2", "=", "CALL_EXPR_ARG", "(", "exp", ",", "2", ")", ";", "op0", "=", "expand_normal", "(", "arg0", ")", ";", "op1", "=", "expand_normal", "(", "arg1", ")", ";", "op2", "=", "expand_normal", "(", "arg2", ")", ";", "mode0", "=", "insn_data", "[", "d", "->", "icode", "]", ".", "operand", "[", "0", "]", ".", "mode", ";", "mode1", "=", "insn_data", "[", "d", "->", "icode", "]", ".", "operand", "[", "1", "]", ".", "mode", ";", "if", "(", "arg0", "==", "error_mark_node", "||", "arg1", "==", "error_mark_node", "||", "arg2", "==", "error_mark_node", ")", "return", "const0_rtx", ";", "*", "expandedp", "=", "true", ";", "STRIP_NOPS", "(", "arg2", ")", ";", "if", "(", "TREE_CODE", "(", "arg2", ")", "!=", "INTEGER_CST", "||", "TREE_INT_CST_LOW", "(", "arg2", ")", "&", "~", "0x3", ")", "{", "error", "(", "\"argument to %qs must be a 2-bit unsigned literal\"", ",", "d", "->", "name", ")", ";", "return", "const0_rtx", ";", "}", "if", "(", "!", "(", "*", "insn_data", "[", "d", "->", "icode", "]", ".", "operand", "[", "0", "]", ".", "predicate", ")", "(", "op0", ",", "mode0", ")", ")", "op0", "=", "copy_to_mode_reg", "(", "Pmode", ",", "op0", ")", ";", "if", "(", "!", "(", "*", "insn_data", "[", "d", "->", "icode", "]", ".", "operand", "[", "1", "]", ".", "predicate", ")", "(", "op1", ",", "mode1", ")", ")", "op1", "=", "copy_to_mode_reg", "(", "mode1", ",", "op1", ")", ";", "pat", "=", "GEN_FCN", "(", "d", "->", "icode", ")", "(", "op0", ",", "op1", ",", "op2", ")", ";", "if", "(", "pat", "!=", "0", ")", "emit_insn", "(", "pat", ")", ";", "return", "NULL_RTX", ";", "}", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Expand", "the", "dst", "builtins", "."], "TS_V_token": ["rs6000", "0", "0", "0", "1", "2", "0", "1", "0x3", "\"argument to %qs must be a 2-bit unsigned literal\"", "0", "1", "0"], "File": "rs6000-call", "Func": "altivec_expand_dst_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6560, "Length": 350, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ")", "{", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Plus", ")", ")", "{", "getLexer", "(", ")", ".", "Lex", "(", ")", ";", "char", "*", "NewOpcode", "=", "new", "char", "[", "Name", ".", "size", "(", ")", "+", "1", "]", ";", "memcpy", "(", "NewOpcode", ",", "Name", ".", "data", "(", ")", ",", "Name", ".", "size", "(", ")", ")", ";", "NewOpcode", "[", "Name", ".", "size", "(", ")", "]", "=", "'+'", ";", "Name", "=", "StringRef", "(", "NewOpcode", ",", "Name", ".", "size", "(", ")", "+", "1", ")", ";", "}", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Minus", ")", ")", "{", "getLexer", "(", ")", ".", "Lex", "(", ")", ";", "char", "*", "NewOpcode", "=", "new", "char", "[", "Name", ".", "size", "(", ")", "+", "1", "]", ";", "memcpy", "(", "NewOpcode", ",", "Name", ".", "data", "(", ")", ",", "Name", ".", "size", "(", ")", ")", ";", "NewOpcode", "[", "Name", ".", "size", "(", ")", "]", "=", "'-'", ";", "Name", "=", "StringRef", "(", "NewOpcode", ",", "Name", ".", "size", "(", ")", "+", "1", ")", ";", "}", "size_t", "Dot", "=", "Name", ".", "find", "(", "'.'", ")", ";", "StringRef", "Mnemonic", "=", "Name", ".", "slice", "(", "0", ",", "Dot", ")", ";", "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", ")", ";", "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", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["PowerPC", "PPC", "1", "1", "1", "1", "0", "PPC", "PPC", "PPC", "PPC"], "File": "PPCAsmParser1", "Func": "ParseInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6561, "Length": 360, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isTargetEHABICompatible", "(", ")", "const", "{", "return", "(", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "EABI", "||", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "GNUEABI", "||", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "MuslEABI", "||", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "EABIHF", "||", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "GNUEABIHF", "||", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "MuslEABIHF", "||", "isTargetAndroid", "(", ")", ")", "&&", "!", "isTargetDarwin", "(", ")", "&&", "!", "isTargetWindows", "(", ")", ";", "}", ""], "natrual_language": ["Tests", "whether", "the", "target", "supports", "the", "EHABI", "exception", "handling", "standard", "."], "TS_V_token": ["ARM"], "File": "ARMSubtarget (2)3", "Func": "isTargetEHABICompatible", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6562, "Length": 84, "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", "emitMemMemImm", "(", "DAG", ",", "DL", ",", "SystemZISD", "::", "MVC", ",", "Chain", ",", "Dst", ",", "Src", ",", "CSize", "->", "getZExtValue", "(", ")", ")", ";", "return", "emitMemMemReg", "(", "DAG", ",", "DL", ",", "SystemZISD", "::", "MVC", ",", "Chain", ",", "Dst", ",", "Src", ",", "Size", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memcpy", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZISD::MVC", "SystemZISD::MVC"], "File": "SystemZSelectionDAGInfo12", "Func": "EmitTargetCodeForMemcpy", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6563, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FastISel", "*", "PPC", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "FuncInfo", ",", "const", "TargetLibraryInfo", "*", "LibInfo", ")", "{", "const", "PPCSubtarget", "&", "Subtarget", "=", "FuncInfo", ".", "MF", "->", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "if", "(", "Subtarget", ".", "is64BitELFABI", "(", ")", ")", "return", "new", "PPCFastISel", "(", "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": ["PowerPC", "PPC::createFastISel", "PPC", "PPC", "PPC"], "File": "PPCFastISel (2)2", "Func": "createFastISel", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6564, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getMaxInlineSizeThreshold", "(", ")", "const", "{", "return", "MaxInlineSizeThreshold", ";", "}", ""], "natrual_language": ["Returns", "the", "maximum", "memset", "/", "memcpy", "size", "that", "still", "makes", "it", "profitable", "to", "inline", "the", "call", "."], "TS_V_token": ["X86"], "File": "X86Subtarget (2)", "Func": "getMaxInlineSizeThreshold", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6565, "Length": 10, "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": 6566, "Length": 509, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "computeKnownBits", "(", "SelectionDAG", "&", "DAG", ",", "SDValue", "Op", ",", "APInt", "&", "KnownZero", ",", "APInt", "&", "KnownOne", ")", "{", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "ARMISD", "::", "BFI", ")", "{", "computeKnownBits", "(", "DAG", ",", "Op", ".", "getOperand", "(", "0", ")", ",", "KnownZero", ",", "KnownOne", ")", ";", "ConstantSDNode", "*", "CI", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "2", ")", ")", ";", "const", "APInt", "&", "Mask", "=", "CI", "->", "getAPIntValue", "(", ")", ";", "KnownZero", "&=", "Mask", ";", "KnownOne", "&=", "Mask", ";", "return", ";", "}", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "ARMISD", "::", "CMOV", ")", "{", "APInt", "KZ2", "(", "KnownZero", ".", "getBitWidth", "(", ")", ",", "0", ")", ";", "APInt", "KO2", "(", "KnownOne", ".", "getBitWidth", "(", ")", ",", "0", ")", ";", "computeKnownBits", "(", "DAG", ",", "Op", ".", "getOperand", "(", "0", ")", ",", "KnownZero", ",", "KnownOne", ")", ";", "computeKnownBits", "(", "DAG", ",", "Op", ".", "getOperand", "(", "1", ")", ",", "KZ2", ",", "KO2", ")", ";", "KnownZero", "&=", "KZ2", ";", "KnownOne", "&=", "KO2", ";", "return", ";", "}", "return", "DAG", ".", "computeKnownBits", "(", "Op", ",", "KnownZero", ",", "KnownOne", ")", ";", "}", ""], "natrual_language": ["Determine", "which", "bits", "of", "Op", "are", "known", "to", "be", "either", "zero", "or", "one", "and", "return", "them", "in", "Known", "."], "TS_V_token": ["ARM", "ARMISD::BFI", "0", "2", "ARMISD::CMOV", "0", "0", "0", "1"], "File": "ARMISelLowering146", "Func": "computeKnownBits", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6567, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", ",", "unsigned", ",", "MachineMemOperand", "::", "Flags", ",", "bool", "*", "Fast", ")", "const", "{", "if", "(", "DisablePPCUnaligned", ")", "return", "false", ";", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "if", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "isVector", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "hasVSX", "(", ")", ")", "{", "if", "(", "VT", "!=", "MVT", "::", "v2f64", "&&", "VT", "!=", "MVT", "::", "v2i64", "&&", "VT", "!=", "MVT", "::", "v4f32", "&&", "VT", "!=", "MVT", "::", "v4i32", ")", "return", "false", ";", "}", "else", "{", "return", "false", ";", "}", "}", "if", "(", "VT", "==", "MVT", "::", "ppcf128", ")", "return", "false", ";", "if", "(", "Fast", ")", "*", "Fast", "=", "true", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "MVT::v2f64", "MVT::v2i64", "MVT::v4f32", "MVT::v4i32", "MVT::ppcf128"], "File": "PPCISelLowering103", "Func": "allowsMisalignedMemoryAccesses", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6568, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LC2200InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "LC2200", "::", "ADD", ")", ")", ".", "addReg", "(", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addReg", "(", "LC2200", "::", "zero", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["LC2200", "LC2200", "LC2200::ADD", "LC2200::zero"], "File": "LC2200InstrInfo", "Func": "copyPhysReg", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6569, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_move_vfp", "(", "rtx", "*", "operands", ")", "{", "rtx", "reg", ",", "mem", ",", "addr", ",", "ops", "[", "2", "]", ";", "int", "load", "=", "REG_P", "(", "operands", "[", "0", "]", ")", ";", "int", "dp", "=", "GET_MODE_SIZE", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", ")", "==", "8", ";", "int", "sp", "=", "(", "!", "TARGET_VFP_FP16INST", "||", "GET_MODE_SIZE", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", ")", "==", "4", ")", ";", "int", "integer_p", "=", "GET_MODE_CLASS", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", ")", "==", "MODE_INT", ";", "const", "char", "*", "templ", ";", "char", "buff", "[", "50", "]", ";", "machine_mode", "mode", ";", "reg", "=", "operands", "[", "!", "load", "]", ";", "mem", "=", "operands", "[", "load", "]", ";", "mode", "=", "GET_MODE", "(", "reg", ")", ";", "gcc_assert", "(", "REG_P", "(", "reg", ")", ")", ";", "gcc_assert", "(", "IS_VFP_REGNUM", "(", "REGNO", "(", "reg", ")", ")", ")", ";", "gcc_assert", "(", "(", "mode", "==", "HFmode", "&&", "TARGET_HARD_FLOAT", ")", "||", "mode", "==", "SFmode", "||", "mode", "==", "DFmode", "||", "mode", "==", "HImode", "||", "mode", "==", "SImode", "||", "mode", "==", "DImode", "||", "(", "TARGET_NEON", "&&", "VALID_NEON_DREG_MODE", "(", "mode", ")", ")", ")", ";", "gcc_assert", "(", "MEM_P", "(", "mem", ")", ")", ";", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "PRE_DEC", ":", "templ", "=", "\"v%smdb%%?.%s\\t%%0!, {%%%s1}%s\"", ";", "ops", "[", "0", "]", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "ops", "[", "1", "]", "=", "reg", ";", "break", ";", "case", "POST_INC", ":", "templ", "=", "\"v%smia%%?.%s\\t%%0!, {%%%s1}%s\"", ";", "ops", "[", "0", "]", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "ops", "[", "1", "]", "=", "reg", ";", "break", ";", "default", ":", "templ", "=", "\"v%sr%%?.%s\\t%%%s0, %%1%s\"", ";", "ops", "[", "0", "]", "=", "reg", ";", "ops", "[", "1", "]", "=", "mem", ";", "break", ";", "}", "sprintf", "(", "buff", ",", "templ", ",", "load", "?", "\"ld\"", ":", "\"st\"", ",", "dp", "?", "\"64\"", ":", "sp", "?", "\"32\"", ":", "\"16\"", ",", "dp", "?", "\"P\"", ":", "\"\"", ",", "integer_p", "?", "\"\\t%@ int\"", ":", "\"\"", ")", ";", "output_asm_insn", "(", "buff", ",", "ops", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "a", "VFP", "load", "or", "store", "instruction", "."], "TS_V_token": ["arm", "2", "0", "0", "8", "0", "4", "0", "50", "0", "\"v%smdb%%?.%s\\t%%0!, {%%%s1}%s\"", "0", "0", "1", "\"v%smia%%?.%s\\t%%0!, {%%%s1}%s\"", "0", "0", "1", "\"v%sr%%?.%s\\t%%%s0, %%1%s\"", "0", "1", "\"ld\"", "\"st\"", "\"64\"", "\"32\"", "\"16\"", "\"P\"", "\"\"", "\"\\t%@ int\"", "\"\"", "\"\""], "File": "arm", "Func": "output_move_vfp", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6570, "Length": 331, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pa_scalar_mode_supported_p", "(", "scalar_mode", "mode", ")", "{", "int", "precision", "=", "GET_MODE_PRECISION", "(", "mode", ")", ";", "if", "(", "TARGET_64BIT", "&&", "mode", "==", "TImode", ")", "return", "true", ";", "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", ";", "case", "MODE_DECIMAL_FLOAT", ":", "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": "pa", "Func": "pa_scalar_mode_supported_p", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6571, "Length": 136, "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", "=", "getMipsRegisterNumbering", "(", "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", "(", ")", ")", ";", "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", ")", ";", "Mips", "::", "Fixups", "FixupKind", "=", "Mips", "::", "Fixups", "(", "0", ")", ";", "switch", "(", "cast", "<", "MCSymbolRefExpr", ">", "(", "Expr", ")", "->", "getKind", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown fixup kind!\"", ")", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_GOT_DISP", ":", "llvm_unreachable", "(", "\"fixup kind VK_Mips_GOT_DISP not supported for direct object!\"", ")", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_GPOFF_HI", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_GPOFF_HI", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_GPOFF_LO", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_GPOFF_LO", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_GOT_PAGE", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_GOT_PAGE", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_GOT_OFST", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_GOT_OFST", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_GPREL", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_GPREL16", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_GOT_CALL", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_CALL16", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_GOT16", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_GOT_Global", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_GOT", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_GOT_Local", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_ABS_HI", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_HI16", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_ABS_LO", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_LO16", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_TLSGD", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_TLSGD", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_TLSLDM", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_TLSLDM", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_DTPREL_HI", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_DTPREL_HI", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_DTPREL_LO", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_DTPREL_LO", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_GOTTPREL", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_GOTTPREL", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_TPREL_HI", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_TPREL_HI", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_TPREL_LO", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_TPREL_LO", ";", "break", ";", "}", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "0", ",", "MO", ".", "getExpr", "(", ")", ",", "MCFixupKind", "(", "FixupKind", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["Mips", "Mips", "Mips", "32", "Mips::Fixups", "Mips::Fixups", "0", "\"Unknown fixup kind!\"", "Mips", "\"fixup kind VK_Mips_GOT_DISP not supported for direct object!\"", "Mips", "Mips::fixup_Mips_GPOFF_HI", "Mips", "Mips::fixup_Mips_GPOFF_LO", "Mips", "Mips::fixup_Mips_GOT_PAGE", "Mips", "Mips::fixup_Mips_GOT_OFST", "Mips", "Mips::fixup_Mips_GPREL16", "Mips", "Mips::fixup_Mips_CALL16", "Mips", "Mips::fixup_Mips_GOT_Global", "Mips", "Mips::fixup_Mips_GOT_Local", "Mips", "Mips::fixup_Mips_HI16", "Mips", "Mips::fixup_Mips_LO16", "Mips", "Mips::fixup_Mips_TLSGD", "Mips", "Mips::fixup_Mips_TLSLDM", "Mips", "Mips::fixup_Mips_DTPREL_HI", "Mips", "Mips::fixup_Mips_DTPREL_LO", "Mips", "Mips::fixup_Mips_GOTTPREL", "Mips", "Mips::fixup_Mips_TPREL_HI", "Mips", "Mips::fixup_Mips_TPREL_LO", "0", "0"], "File": "MipsMCCodeEmitter24", "Func": "getMachineOpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6572, "Length": 489, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "RCPair", "ARMTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "StringRef", "Constraint", ",", "MVT", "VT", ")", "const", "{", "switch", "(", "Constraint", ".", "size", "(", ")", ")", "{", "case", "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", "::", "Other", ")", "break", ";", "if", "(", "VT", "==", "MVT", "::", "f32", "||", "VT", "==", "MVT", "::", "i32", ")", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "SPRRegClass", ")", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "DPR_VFP2RegClass", ")", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "128", ")", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "QPR_VFP2RegClass", ")", ";", "break", ";", "}", "break", ";", "case", "2", ":", "if", "(", "Constraint", "[", "0", "]", "==", "'T'", ")", "{", "switch", "(", "Constraint", "[", "1", "]", ")", "{", "default", ":", "break", ";", "case", "'e'", ":", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "tGPREvenRegClass", ")", ";", "case", "'o'", ":", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "tGPROddRegClass", ")", ";", "}", "}", "break", ";", "default", ":", "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::Other", "MVT::f32", "MVT::i32", "0U", "ARM::SPRRegClass", "64", "0U", "ARM::DPR_VFP2RegClass", "128", "0U", "ARM::QPR_VFP2RegClass", "2", "0", "1", "0U", "ARM::tGPREvenRegClass", "0U", "ARM::tGPROddRegClass", "\"{cc}\"", "ARM::CPSR", "ARM::CCRRegClass"], "File": "ARMISelLowering (2)6", "Func": "getRegForInlineAsmConstraint", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6573, "Length": 470, "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": 6574, "Length": 223, "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": 6575, "Length": 339, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "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", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "return", "false", ";", "bool", "HasRet", "=", "false", ";", "for", "(", "SDNode", "*", "Node", ":", "Copy", "->", "uses", "(", ")", ")", "{", "if", "(", "Node", "->", "getOpcode", "(", ")", "!=", "AArch64ISD", "::", "RET_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": ["AArch64", "AArch64", "1", "1", "0", "ISD::CopyToReg", "1", "MVT::Glue", "0", "ISD::FP_EXTEND", "AArch64ISD::RET_FLAG"], "File": "AArch64ISelLowering (2)", "Func": "isUsedByReturnOnly", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6576, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "associated_type", "(", "tree", "decl", ")", "{", "return", "(", "DECL_CONTEXT", "(", "decl", ")", "&&", "TYPE_P", "(", "DECL_CONTEXT", "(", "decl", ")", ")", "?", "DECL_CONTEXT", "(", "decl", ")", ":", "NULL_TREE", ")", ";", "}", ""], "natrual_language": ["Return", "the", "type", "that", "we", "should", "use", "to", "determine", "if", "DECL", "is", "imported", "or", "exported", "."], "TS_V_token": ["i386"], "File": "winnt", "Func": "associated_type", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6577, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mems_ok_for_ldd_peep", "(", "rtx", "mem1", ",", "rtx", "mem2", ",", "rtx", "dependent_reg_rtx", ")", "{", "rtx", "addr1", ",", "addr2", ";", "unsigned", "int", "reg1", ";", "HOST_WIDE_INT", "offset1", ";", "if", "(", "MEM_VOLATILE_P", "(", "mem1", ")", "||", "MEM_VOLATILE_P", "(", "mem2", ")", ")", "return", "0", ";", "if", "(", "MEM_ALIGN", "(", "mem1", ")", "<", "64", ")", "return", "0", ";", "addr1", "=", "XEXP", "(", "mem1", ",", "0", ")", ";", "addr2", "=", "XEXP", "(", "mem2", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "addr1", ")", "==", "PLUS", ")", "{", "if", "(", "GET_CODE", "(", "XEXP", "(", "addr1", ",", "0", ")", ")", "!=", "REG", ")", "return", "0", ";", "else", "{", "reg1", "=", "REGNO", "(", "XEXP", "(", "addr1", ",", "0", ")", ")", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "addr1", ",", "1", ")", ")", "!=", "CONST_INT", ")", "return", "0", ";", "offset1", "=", "INTVAL", "(", "XEXP", "(", "addr1", ",", "1", ")", ")", ";", "}", "}", "else", "if", "(", "GET_CODE", "(", "addr1", ")", "!=", "REG", ")", "return", "0", ";", "else", "{", "reg1", "=", "REGNO", "(", "addr1", ")", ";", "offset1", "=", "0", ";", "}", "if", "(", "GET_CODE", "(", "addr2", ")", "!=", "PLUS", ")", "return", "0", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "addr2", ",", "0", ")", ")", "!=", "REG", "||", "GET_CODE", "(", "XEXP", "(", "addr2", ",", "1", ")", ")", "!=", "CONST_INT", ")", "return", "0", ";", "if", "(", "reg1", "!=", "REGNO", "(", "XEXP", "(", "addr2", ",", "0", ")", ")", ")", "return", "0", ";", "if", "(", "dependent_reg_rtx", "!=", "NULL_RTX", "&&", "reg1", "==", "REGNO", "(", "dependent_reg_rtx", ")", ")", "return", "0", ";", "if", "(", "offset1", "%", "8", "!=", "0", ")", "return", "0", ";", "if", "(", "INTVAL", "(", "XEXP", "(", "addr2", ",", "1", ")", ")", "!=", "offset1", "+", "4", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "1", "if", "the", "addresses", "in", "mem1", "and", "mem2", "are", "suitable", "for", "use", "in", "an", "ldd", "or", "std", "insn", ".", "This", "can", "only", "happen", "when", "addr1", "and", "addr2", ",", "the", "addresses", "in", "mem1", "and", "mem2", ",", "are", "consecutive", "memory", "locations", "(", "addr1", "+", "4", "==", "addr2", ")", ".", "addr1", "must", "also", "be", "aligned", "on", "a", "64-bit", "boundary", ".", "Also", "iff", "dependent_reg_rtx", "is", "not", "null", "it", "should", "not", "be", "used", "to", "compute", "the", "address", "for", "mem1", ",", "i.e", ".", "we", "can", "not", "optimize", "a", "sequence", "like", ":", "ld", "[", "%", "o0", "]", ",", "%", "o0", "ld", "[", "%", "o0", "+", "4", "]", ",", "%", "o1", "to", "ldd", "[", "%", "o0", "]", ",", "%", "o0", "nor", ":", "ld", "[", "%", "g3", "+", "4", "]", ",", "%", "g3", "ld", "[", "%", "g3", "]", ",", "%", "g2", "to", "ldd", "[", "%", "g3", "]", ",", "%", "g2", "But", ",", "note", "that", "the", "transformation", "from", ":", "ld", "[", "%", "g2", "+", "4", "]", ",", "%", "g3", "ld", "[", "%", "g2", "]", ",", "%", "g2", "to", "ldd", "[", "%", "g2", "]", ",", "%", "g2", "is", "perfectly", "fine", ".", "Thus", ",", "the", "peephole2", "patterns", "always", "pass", "us", "the", "destination", "register", "of", "the", "first", "load", ",", "never", "the", "second", "one", ".", "For", "stores", "we", "do", "n't", "have", "a", "similar", "problem", ",", "so", "dependent_reg_rtx", "is", "NULL_RTX", "."], "TS_V_token": ["sparc", "0", "64", "0", "0", "0", "0", "0", "0", "1", "0", "1", "0", "0", "0", "0", "1", "0", "0", "0", "0", "8", "0", "0", "1", "4", "0", "1"], "File": "sparc", "Func": "mems_ok_for_ldd_peep", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6578, "Length": 277, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "moxie_offset_address_p", "(", "rtx", "x", ")", "{", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "{", "x", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST_INT", ")", "{", "unsigned", "int", "v", "=", "INTVAL", "(", "x", ")", "&", "0xFFFF8000", ";", "return", "(", "v", "==", "0xFFFF8000", "||", "v", "==", "0x00000000", ")", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "true", "for", "memory", "offset", "addresses", "between", "-32768", "and", "32767", "."], "TS_V_token": ["moxie", "0", "1", "0xFFFF8000", "0xFFFF8000", "0x00000000", "0"], "File": "moxie", "Func": "moxie_offset_address_p", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6579, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_emit_vector_select", "(", "rtx", "dest", ",", "rtx", "op1", ",", "rtx", "op2", ",", "rtx", "mask", ")", "{", "rtx", "t", ",", "temp", ";", "enum", "machine_mode", "dest_mode", "=", "GET_MODE", "(", "dest", ")", ";", "int", "vsel_insn_index", "=", "get_vsel_insn", "(", "GET_MODE", "(", "dest", ")", ")", ";", "temp", "=", "gen_reg_rtx", "(", "dest_mode", ")", ";", "t", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "temp", ",", "gen_rtx_UNSPEC", "(", "dest_mode", ",", "gen_rtvec", "(", "3", ",", "op2", ",", "op1", ",", "mask", ")", ",", "vsel_insn_index", ")", ")", ";", "emit_insn", "(", "t", ")", ";", "emit_move_insn", "(", "dest", ",", "temp", ")", ";", "return", ";", "}", ""], "natrual_language": ["Emit", "vector", "select", "insn", "where", "DEST", "is", "destination", "using", "operands", "OP1", ",", "OP2", "and", "MASK", "."], "TS_V_token": ["rs6000", "3"], "File": "rs60003", "Func": "rs6000_emit_vector_select", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6580, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Sched", "::", "Preference", "ARMTargetLowering", "::", "getSchedulingPreference", "(", "SDNode", "*", "N", ")", "const", "{", "unsigned", "NumVals", "=", "N", "->", "getNumValues", "(", ")", ";", "if", "(", "!", "NumVals", ")", "return", "Sched", "::", "RegPressure", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumVals", ";", "++", "i", ")", "{", "EVT", "VT", "=", "N", "->", "getValueType", "(", "i", ")", ";", "if", "(", "VT", "==", "MVT", "::", "Glue", "||", "VT", "==", "MVT", "::", "Other", ")", "continue", ";", "if", "(", "VT", ".", "isFloatingPoint", "(", ")", "||", "VT", ".", "isVector", "(", ")", ")", "return", "Sched", "::", "ILP", ";", "}", "if", "(", "!", "N", "->", "isMachineOpcode", "(", ")", ")", "return", "Sched", "::", "RegPressure", ";", "const", "TargetInstrInfo", "*", "TII", "=", "Subtarget", "->", "getInstrInfo", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "TII", "->", "get", "(", "N", "->", "getMachineOpcode", "(", ")", ")", ";", "if", "(", "MCID", ".", "getNumDefs", "(", ")", "==", "0", ")", "return", "Sched", "::", "RegPressure", ";", "if", "(", "!", "Itins", "->", "isEmpty", "(", ")", "&&", "Itins", "->", "getOperandCycle", "(", "MCID", ".", "getSchedClass", "(", ")", ",", "0", ")", ">", "2", ")", "return", "Sched", "::", "ILP", ";", "return", "Sched", "::", "RegPressure", ";", "}", ""], "natrual_language": ["Some", "scheduler", ",", "e.g", "."], "TS_V_token": ["ARM", "ARM", "0", "MVT::Glue", "MVT::Other", "0", "0", "2"], "File": "ARMISelLowering (2)2", "Func": "getSchedulingPreference", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6581, "Length": 184, "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": 6582, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86DAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "SDValue", "Op0", ",", "Op1", ",", "Op2", ",", "Op3", ",", "Op4", ";", "switch", "(", "ConstraintID", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected asm memory constraint\"", ")", ";", "case", "InlineAsm", "::", "Constraint_o", ":", "case", "InlineAsm", "::", "Constraint_v", ":", "case", "InlineAsm", "::", "Constraint_m", ":", "case", "InlineAsm", "::", "Constraint_X", ":", "case", "InlineAsm", "::", "Constraint_p", ":", "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", "\"Unexpected asm memory constraint\""], "File": "X86ISelDAGToDAG67", "Func": "SelectInlineAsmMemoryOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6583, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pa_output_function_prologue", "(", "FILE", "*", "file", ",", "HOST_WIDE_INT", "size", "ATTRIBUTE_UNUSED", ")", "{", "ASM_OUTPUT_LABEL", "(", "file", ",", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "current_function_decl", ")", ",", "0", ")", ",", "0", ")", ")", ";", "fputs", "(", "\"\\t.PROC\\n\"", ",", "file", ")", ";", "fprintf", "(", "file", ",", "\"\\t.CALLINFO FRAME=\"", "HOST_WIDE_INT_PRINT_DEC", ",", "actual_fsize", ")", ";", "if", "(", "regs_ever_live", "[", "2", "]", ")", "fputs", "(", "\",CALLS,SAVE_RP\"", ",", "file", ")", ";", "else", "fputs", "(", "\",NO_CALLS\"", ",", "file", ")", ";", "if", "(", "frame_pointer_needed", ")", "fputs", "(", "\",SAVE_SP\"", ",", "file", ")", ";", "if", "(", "gr_saved", ")", "fprintf", "(", "file", ",", "\",ENTRY_GR=%d\"", ",", "gr_saved", "+", "2", ")", ";", "if", "(", "fr_saved", ")", "fprintf", "(", "file", ",", "\",ENTRY_FR=%d\"", ",", "fr_saved", "+", "11", ")", ";", "fputs", "(", "\"\\n\\t.ENTRY\\n\"", ",", "file", ")", ";", "remove_useless_addtr_insns", "(", "0", ")", ";", "}", ""], "natrual_language": ["On", "HP-PA", ",", "move-double", "insns", "between", "fpu", "and", "cpu", "need", "an", "8-byte", "block", "of", "memory", ".", "If", "any", "fpu", "reg", "is", "used", "in", "the", "function", ",", "we", "allocate", "such", "a", "block", "here", ",", "at", "the", "bottom", "of", "the", "frame", ",", "just", "in", "case", "it", "'s", "needed", ".", "If", "this", "function", "is", "a", "leaf", "procedure", ",", "then", "we", "may", "choose", "not", "to", "do", "a", "``", "save", "''", "insn", ".", "The", "decision", "about", "whether", "or", "not", "to", "do", "this", "is", "made", "in", "regclass.c", "."], "TS_V_token": ["pa", "0", "0", "\"\\t.PROC\\n\"", "\"\\t.CALLINFO FRAME=\"", "2", "\",CALLS,SAVE_RP\"", "\",NO_CALLS\"", "\",SAVE_SP\"", "\",ENTRY_GR=%d\"", "2", "\",ENTRY_FR=%d\"", "11", "\"\\n\\t.ENTRY\\n\"", "0"], "File": "pa3", "Func": "pa_output_function_prologue", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6584, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "unsigned", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "switch", "(", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ")", "{", "default", ":", "break", ";", "case", "Match_Success", ":", "ProcessInstruction", "(", "Inst", ",", "Operands", ")", ";", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "Out", ".", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "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", ":", "{", "SMLoc", "ErrorLoc", "=", "IDLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "0U", ")", "{", "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\"", "\"unrecognized instruction mnemonic\"", "0U", "\"too few operands for instruction\"", "PPC", "\"invalid operand for instruction\"", "\"Implement any new match types added!\""], "File": "PPCAsmParser2", "Func": "MatchAndEmitInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6585, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"AArch64 Stack Tagging PreRA\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64", "\"AArch64 Stack Tagging PreRA\""], "File": "AArch64StackTaggingPreRA", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6586, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ArrayRef", "<", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">>", "ARMBaseInstrInfo", "::", "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": "ARMBaseInstrInfo1", "Func": "getSerializableDirectMachineOperandTargetFlags", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6587, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_vectorize_vec_perm_const", "(", "machine_mode", "vmode", ",", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ",", "const", "vec_perm_indices", "&", "sel", ")", "{", "struct", "expand_vec_perm_d", "d", ";", "int", "i", ",", "nelt", ",", "which", ";", "if", "(", "!", "VALID_NEON_DREG_MODE", "(", "vmode", ")", "&&", "!", "VALID_NEON_QREG_MODE", "(", "vmode", ")", ")", "return", "false", ";", "d", ".", "target", "=", "target", ";", "if", "(", "op0", ")", "{", "rtx", "nop0", "=", "force_reg", "(", "vmode", ",", "op0", ")", ";", "if", "(", "op0", "==", "op1", ")", "op1", "=", "nop0", ";", "op0", "=", "nop0", ";", "}", "if", "(", "op1", ")", "op1", "=", "force_reg", "(", "vmode", ",", "op1", ")", ";", "d", ".", "op0", "=", "op0", ";", "d", ".", "op1", "=", "op1", ";", "d", ".", "vmode", "=", "vmode", ";", "gcc_assert", "(", "VECTOR_MODE_P", "(", "d", ".", "vmode", ")", ")", ";", "d", ".", "testing_p", "=", "!", "target", ";", "nelt", "=", "GET_MODE_NUNITS", "(", "d", ".", "vmode", ")", ";", "for", "(", "i", "=", "which", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "{", "int", "ei", "=", "sel", "[", "i", "]", "&", "(", "2", "*", "nelt", "-", "1", ")", ";", "which", "|=", "(", "ei", "<", "nelt", "?", "1", ":", "2", ")", ";", "}", "switch", "(", "which", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "3", ":", "d", ".", "one_vector_p", "=", "false", ";", "if", "(", "d", ".", "testing_p", "||", "!", "rtx_equal_p", "(", "op0", ",", "op1", ")", ")", "break", ";", "case", "2", ":", "d", ".", "op0", "=", "op1", ";", "d", ".", "one_vector_p", "=", "true", ";", "break", ";", "case", "1", ":", "d", ".", "op1", "=", "op0", ";", "d", ".", "one_vector_p", "=", "true", ";", "break", ";", "}", "d", ".", "perm", ".", "new_vector", "(", "sel", ".", "encoding", "(", ")", ",", "d", ".", "one_vector_p", "?", "1", ":", "2", ",", "nelt", ")", ";", "if", "(", "!", "d", ".", "testing_p", ")", "return", "arm_expand_vec_perm_const_1", "(", "&", "d", ")", ";", "d", ".", "target", "=", "gen_raw_REG", "(", "d", ".", "vmode", ",", "LAST_VIRTUAL_REGISTER", "+", "1", ")", ";", "d", ".", "op1", "=", "d", ".", "op0", "=", "gen_raw_REG", "(", "d", ".", "vmode", ",", "LAST_VIRTUAL_REGISTER", "+", "2", ")", ";", "if", "(", "!", "d", ".", "one_vector_p", ")", "d", ".", "op1", "=", "gen_raw_REG", "(", "d", ".", "vmode", ",", "LAST_VIRTUAL_REGISTER", "+", "3", ")", ";", "start_sequence", "(", ")", ";", "bool", "ret", "=", "arm_expand_vec_perm_const_1", "(", "&", "d", ")", ";", "end_sequence", "(", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VECTORIZE_VEC_PERM_CONST", "."], "TS_V_token": ["arm", "0", "2", "1", "1", "2", "3", "2", "1", "1", "2", "1", "2", "3"], "File": "arm", "Func": "arm_vectorize_vec_perm_const", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6588, "Length": 373, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "regs_used", "(", "rtx", "x", ",", "int", "is_dest", ")", "{", "enum", "rtx_code", "code", ";", "const", "char", "*", "fmt", ";", "int", "i", ",", "used", "=", "0", ";", "if", "(", "!", "x", ")", "return", "used", ";", "code", "=", "GET_CODE", "(", "x", ")", ";", "switch", "(", "code", ")", "{", "case", "REG", ":", "if", "(", "REGNO", "(", "x", ")", "<", "16", ")", "return", "(", "(", "(", "1", "<<", "HARD_REGNO_NREGS", "(", "0", ",", "GET_MODE", "(", "x", ")", ")", ")", "-", "1", ")", "<<", "(", "REGNO", "(", "x", ")", "+", "is_dest", ")", ")", ";", "return", "0", ";", "case", "SUBREG", ":", "{", "rtx", "y", "=", "SUBREG_REG", "(", "x", ")", ";", "if", "(", "!", "REG_P", "(", "y", ")", ")", "break", ";", "if", "(", "REGNO", "(", "y", ")", "<", "16", ")", "return", "(", "(", "(", "1", "<<", "HARD_REGNO_NREGS", "(", "0", ",", "GET_MODE", "(", "x", ")", ")", ")", "-", "1", ")", "<<", "(", "REGNO", "(", "y", ")", "+", "subreg_regno_offset", "(", "REGNO", "(", "y", ")", ",", "GET_MODE", "(", "y", ")", ",", "SUBREG_BYTE", "(", "x", ")", ",", "GET_MODE", "(", "x", ")", ")", "+", "is_dest", ")", ")", ";", "return", "0", ";", "}", "case", "SET", ":", "return", "regs_used", "(", "SET_SRC", "(", "x", ")", ",", "0", ")", "|", "regs_used", "(", "SET_DEST", "(", "x", ")", ",", "16", ")", ";", "case", "RETURN", ":", "return", "0x00ffff00", ";", "case", "CLOBBER", ":", "is_dest", "=", "1", ";", "break", ";", "case", "MEM", ":", "is_dest", "=", "0", ";", "break", ";", "case", "CALL", ":", "used", "|=", "0x00ff00f0", ";", "break", ";", "default", ":", "break", ";", "}", "fmt", "=", "GET_RTX_FORMAT", "(", "code", ")", ";", "for", "(", "i", "=", "GET_RTX_LENGTH", "(", "code", ")", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "if", "(", "fmt", "[", "i", "]", "==", "'E'", ")", "{", "int", "j", ";", "for", "(", "j", "=", "XVECLEN", "(", "x", ",", "i", ")", "-", "1", ";", "j", ">=", "0", ";", "j", "--", ")", "used", "|=", "regs_used", "(", "XVECEXP", "(", "x", ",", "i", ",", "j", ")", ",", "is_dest", ")", ";", "}", "else", "if", "(", "fmt", "[", "i", "]", "==", "'e'", ")", "used", "|=", "regs_used", "(", "XEXP", "(", "x", ",", "i", ")", ",", "is_dest", ")", ";", "}", "return", "used", ";", "}", ""], "natrual_language": ["Given", "a", "X", ",", "a", "pattern", "of", "an", "insn", "or", "a", "part", "of", "it", ",", "return", "a", "mask", "of", "used", "general", "registers", ".", "Bits", "0", "..", "15", "mean", "that", "the", "respective", "registers", "are", "used", "as", "inputs", "in", "the", "instruction", ".", "Bits", "16", "..", "31", "mean", "that", "the", "registers", "0", "..", "15", ",", "respectively", ",", "are", "used", "as", "outputs", ",", "or", "are", "clobbered", ".", "IS_DEST", "should", "be", "set", "to", "16", "if", "X", "is", "the", "destination", "of", "a", "SET", ",", "else", "to", "0", "."], "TS_V_token": ["sh", "0", "16", "1", "0", "1", "0", "16", "1", "0", "1", "0", "0", "16", "0x00ffff00", "1", "0", "0x00ff00f0", "1", "0", "1", "0"], "File": "sh4", "Func": "regs_used", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6589, "Length": 346, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sparc_function_arg_1", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ",", "bool", "incoming", ")", "{", "const", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "int", "regbase", "=", "(", "incoming", "?", "SPARC_INCOMING_INT_ARG_FIRST", ":", "SPARC_OUTGOING_INT_ARG_FIRST", ")", ";", "int", "slotno", ",", "regno", ",", "padding", ";", "enum", "mode_class", "mclass", "=", "GET_MODE_CLASS", "(", "mode", ")", ";", "slotno", "=", "function_arg_slotno", "(", "cum", ",", "mode", ",", "type", ",", "named", ",", "incoming", ",", "&", "regno", ",", "&", "padding", ")", ";", "if", "(", "slotno", "==", "-", "1", ")", "return", "0", ";", "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", "<=", "16", ")", ")", ";", "if", "(", "mode", "==", "BLKmode", ")", "return", "function_arg_vector_value", "(", "size", ",", "SPARC_FP_ARG_FIRST", "+", "2", "*", "slotno", ")", ";", "mclass", "=", "MODE_FLOAT", ";", "}", "if", "(", "TARGET_ARCH32", ")", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "if", "(", "type", "&&", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", ")", "{", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "gcc_assert", "(", "size", "<=", "16", ")", ";", "return", "function_arg_record_value", "(", "type", ",", "mode", ",", "slotno", ",", "named", ",", "regbase", ")", ";", "}", "else", "if", "(", "type", "&&", "TREE_CODE", "(", "type", ")", "==", "UNION_TYPE", ")", "{", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "gcc_assert", "(", "size", "<=", "16", ")", ";", "return", "function_arg_union_value", "(", "size", ",", "mode", ",", "slotno", ",", "regno", ")", ";", "}", "else", "if", "(", "(", "mclass", "==", "MODE_FLOAT", "||", "mclass", "==", "MODE_COMPLEX_FLOAT", ")", "&&", "SPARC_FP_REG_P", "(", "regno", ")", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "if", "(", "cum", "->", "prototype_p", "||", "cum", "->", "libcall_p", ")", "return", "reg", ";", "else", "{", "rtx", "v0", ",", "v1", ";", "if", "(", "(", "regno", "-", "SPARC_FP_ARG_FIRST", ")", "<", "SPARC_INT_ARG_MAX", "*", "2", ")", "{", "int", "intreg", ";", "if", "(", "incoming", ")", "return", "reg", ";", "intreg", "=", "(", "SPARC_OUTGOING_INT_ARG_FIRST", "+", "(", "regno", "-", "SPARC_FP_ARG_FIRST", ")", "/", "2", ")", ";", "v0", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "reg", ",", "const0_rtx", ")", ";", "v1", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "mode", ",", "intreg", ")", ",", "const0_rtx", ")", ";", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec", "(", "2", ",", "v0", ",", "v1", ")", ")", ";", "}", "else", "{", "v0", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "NULL_RTX", ",", "const0_rtx", ")", ";", "v1", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "reg", ",", "const0_rtx", ")", ";", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec", "(", "2", ",", "v0", ",", "v1", ")", ")", ";", "}", "}", "}", "else", "if", "(", "type", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "gcc_assert", "(", "size", "<=", "16", ")", ";", "mode", "=", "mode_for_size", "(", "size", "*", "BITS_PER_UNIT", ",", "MODE_INT", ",", "0", ")", ";", "}", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "}", ""], "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", ".", "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", "true", "if", "this", "argument", "is", "a", "named", "parameter", "(", "otherwise", "it", "is", "an", "extra", "parameter", "matching", "an", "ellipsis", ")", ".", "INCOMING_P", "is", "false", "for", "TARGET_FUNCTION_ARG", ",", "true", "for", "TARGET_FUNCTION_INCOMING_ARG", "."], "TS_V_token": ["sparc", "1", "0", "8", "16", "2", "16", "16", "2", "2", "2", "2", "16", "0"], "File": "sparc5", "Func": "sparc_function_arg_1", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6590, "Length": 465, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "TeeRISCTargetLowering", "::", "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", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_TeeRISC", ")", ";", "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": ["TeeRISC", "TeeRISC", "ISD::InputArg", "16", "TeeRISC", "0", "1", "2", "0"], "File": "TeeRISCISelLowering", "Func": "LowerCallResult", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6591, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ia64_expand_load_address", "(", "rtx", "dest", ",", "rtx", "src", ")", "{", "gcc_assert", "(", "GET_CODE", "(", "dest", ")", "==", "REG", ")", ";", "if", "(", "GET_MODE", "(", "dest", ")", "!=", "Pmode", ")", "dest", "=", "gen_rtx_REG_offset", "(", "dest", ",", "Pmode", ",", "REGNO", "(", "dest", ")", ",", "0", ")", ";", "if", "(", "TARGET_NO_PIC", ")", "return", "false", ";", "if", "(", "small_addr_symbolic_operand", "(", "src", ",", "VOIDmode", ")", ")", "return", "false", ";", "if", "(", "TARGET_AUTO_PIC", ")", "emit_insn", "(", "gen_load_gprel64", "(", "dest", ",", "src", ")", ")", ";", "else", "if", "(", "GET_CODE", "(", "src", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_FUNCTION_P", "(", "src", ")", ")", "emit_insn", "(", "gen_load_fptr", "(", "dest", ",", "src", ")", ")", ";", "else", "if", "(", "sdata_symbolic_operand", "(", "src", ",", "VOIDmode", ")", ")", "emit_insn", "(", "gen_load_gprel", "(", "dest", ",", "src", ")", ")", ";", "else", "{", "HOST_WIDE_INT", "addend", "=", "0", ";", "rtx", "tmp", ";", "if", "(", "GET_CODE", "(", "src", ")", "==", "CONST", ")", "{", "HOST_WIDE_INT", "hi", ",", "lo", ";", "hi", "=", "INTVAL", "(", "XEXP", "(", "XEXP", "(", "src", ",", "0", ")", ",", "1", ")", ")", ";", "lo", "=", "(", "(", "hi", "&", "0x3fff", ")", "^", "0x2000", ")", "-", "0x2000", ";", "hi", "=", "hi", "-", "lo", ";", "if", "(", "lo", "!=", "0", ")", "{", "addend", "=", "lo", ";", "src", "=", "plus_constant", "(", "XEXP", "(", "XEXP", "(", "src", ",", "0", ")", ",", "0", ")", ",", "hi", ")", ";", "}", "}", "tmp", "=", "gen_rtx_HIGH", "(", "Pmode", ",", "src", ")", ";", "tmp", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "tmp", ",", "pic_offset_table_rtx", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "tmp", ")", ")", ";", "tmp", "=", "gen_rtx_LO_SUM", "(", "Pmode", ",", "dest", ",", "src", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "tmp", ")", ")", ";", "if", "(", "addend", ")", "{", "tmp", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "dest", ",", "GEN_INT", "(", "addend", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "tmp", ")", ")", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Expand", "a", "symbolic", "constant", "load", "."], "TS_V_token": ["ia64", "0", "0", "0", "1", "0x3fff", "0x2000", "0x2000", "0", "0", "0"], "File": "ia643", "Func": "ia64_expand_load_address", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6592, "Length": 309, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_vector_move_misalign", "(", "enum", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ")", "{", "rtx", "op0", ",", "op1", ",", "m", ";", "op0", "=", "operands", "[", "0", "]", ";", "op1", "=", "operands", "[", "1", "]", ";", "if", "(", "MEM_P", "(", "op1", ")", ")", "{", "if", "(", "optimize_size", ")", "{", "op0", "=", "gen_lowpart", "(", "V4SFmode", ",", "op0", ")", ";", "op1", "=", "gen_lowpart", "(", "V4SFmode", ",", "op1", ")", ";", "emit_insn", "(", "gen_sse_movups", "(", "op0", ",", "op1", ")", ")", ";", "return", ";", "}", "if", "(", "TARGET_SSE2", "&&", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_INT", ")", "{", "op0", "=", "gen_lowpart", "(", "V16QImode", ",", "op0", ")", ";", "op1", "=", "gen_lowpart", "(", "V16QImode", ",", "op1", ")", ";", "emit_insn", "(", "gen_sse2_movdqu", "(", "op0", ",", "op1", ")", ")", ";", "return", ";", "}", "if", "(", "TARGET_SSE2", "&&", "mode", "==", "V2DFmode", ")", "{", "rtx", "zero", ";", "if", "(", "TARGET_SSE_SPLIT_REGS", ")", "{", "emit_insn", "(", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "op0", ")", ")", ";", "zero", "=", "op0", ";", "}", "else", "{", "zero", "=", "CONST0_RTX", "(", "V2DFmode", ")", ";", "}", "m", "=", "adjust_address", "(", "op1", ",", "DFmode", ",", "0", ")", ";", "emit_insn", "(", "gen_sse2_loadlpd", "(", "op0", ",", "zero", ",", "m", ")", ")", ";", "m", "=", "adjust_address", "(", "op1", ",", "DFmode", ",", "8", ")", ";", "emit_insn", "(", "gen_sse2_loadhpd", "(", "op0", ",", "op0", ",", "m", ")", ")", ";", "}", "else", "{", "if", "(", "TARGET_SSE_PARTIAL_REG_DEPENDENCY", ")", "emit_move_insn", "(", "op0", ",", "CONST0_RTX", "(", "mode", ")", ")", ";", "else", "emit_insn", "(", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "op0", ")", ")", ";", "if", "(", "mode", "!=", "V4SFmode", ")", "op0", "=", "gen_lowpart", "(", "V4SFmode", ",", "op0", ")", ";", "m", "=", "adjust_address", "(", "op1", ",", "V2SFmode", ",", "0", ")", ";", "emit_insn", "(", "gen_sse_loadlps", "(", "op0", ",", "op0", ",", "m", ")", ")", ";", "m", "=", "adjust_address", "(", "op1", ",", "V2SFmode", ",", "8", ")", ";", "emit_insn", "(", "gen_sse_loadhps", "(", "op0", ",", "op0", ",", "m", ")", ")", ";", "}", "}", "else", "if", "(", "MEM_P", "(", "op0", ")", ")", "{", "if", "(", "optimize_size", ")", "{", "op0", "=", "gen_lowpart", "(", "V4SFmode", ",", "op0", ")", ";", "op1", "=", "gen_lowpart", "(", "V4SFmode", ",", "op1", ")", ";", "emit_insn", "(", "gen_sse_movups", "(", "op0", ",", "op1", ")", ")", ";", "return", ";", "}", "if", "(", "TARGET_SSE2", "&&", "!", "TARGET_SSE_TYPELESS_STORES", "&&", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_INT", ")", "{", "op0", "=", "gen_lowpart", "(", "V16QImode", ",", "op0", ")", ";", "op1", "=", "gen_lowpart", "(", "V16QImode", ",", "op1", ")", ";", "emit_insn", "(", "gen_sse2_movdqu", "(", "op0", ",", "op1", ")", ")", ";", "return", ";", "}", "if", "(", "TARGET_SSE2", "&&", "mode", "==", "V2DFmode", ")", "{", "m", "=", "adjust_address", "(", "op0", ",", "DFmode", ",", "0", ")", ";", "emit_insn", "(", "gen_sse2_storelpd", "(", "m", ",", "op1", ")", ")", ";", "m", "=", "adjust_address", "(", "op0", ",", "DFmode", ",", "8", ")", ";", "emit_insn", "(", "gen_sse2_storehpd", "(", "m", ",", "op1", ")", ")", ";", "}", "else", "{", "if", "(", "mode", "!=", "V4SFmode", ")", "op1", "=", "gen_lowpart", "(", "V4SFmode", ",", "op1", ")", ";", "m", "=", "adjust_address", "(", "op0", ",", "V2SFmode", ",", "0", ")", ";", "emit_insn", "(", "gen_sse_storelps", "(", "m", ",", "op1", ")", ")", ";", "m", "=", "adjust_address", "(", "op0", ",", "V2SFmode", ",", "8", ")", ";", "emit_insn", "(", "gen_sse_storehps", "(", "m", ",", "op1", ")", ")", ";", "}", "}", "else", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "movmisalign", "patterns", "for", "SSE", ".", "Non-SSE", "modes", "go", "straight", "to", "ix86_expand_vector_move", "."], "TS_V_token": ["i386", "0", "1", "0", "8", "0", "8", "0", "8", "0", "8"], "File": "i3863", "Func": "ix86_expand_vector_move_misalign", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6593, "Length": 510, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "classof", "(", "const", "SparcMCExpr", "*", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["Methods", "for", "support", "type", "inquiry", "through", "isa", ",", "cast", ",", "and", "dyn_cast", ":"], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcMCExpr", "Func": "classof", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6594, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "aarch64_mangle_type", "(", "const_tree", "type", ")", "{", "if", "(", "lang_hooks", ".", "types_compatible_p", "(", "CONST_CAST_TREE", "(", "type", ")", ",", "va_list_type", ")", ")", "return", "\"St9__va_list\"", ";", "if", "(", "TREE_CODE", "(", "type", ")", "==", "REAL_TYPE", "&&", "TYPE_PRECISION", "(", "type", ")", "==", "16", ")", "return", "\"Dh\"", ";", "if", "(", "TYPE_NAME", "(", "type", ")", "!=", "NULL", ")", "return", "aarch64_mangle_builtin_type", "(", "type", ")", ";", "return", "NULL", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MANGLE_TYPE", "."], "TS_V_token": ["aarch64", "\"St9__va_list\"", "16", "\"Dh\""], "File": "aarch643", "Func": "aarch64_mangle_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6595, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToAddress", "(", "unsigned", "ValVReg", ",", "unsigned", "Addr", ",", "uint64_t", "Size", ",", "MachinePointerInfo", "&", "MPO", ",", "CCValAssign", "&", "VA", ")", "override", "{", "assert", "(", "(", "Size", "==", "1", "||", "Size", "==", "2", "||", "Size", "==", "4", "||", "Size", "==", "8", ")", "&&", "\"Unsupported size\"", ")", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "SExt", "||", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "ZExt", ")", "{", "Size", "=", "4", ";", "assert", "(", "MRI", ".", "getType", "(", "ValVReg", ")", ".", "isScalar", "(", ")", "&&", "\"Only scalars supported atm\"", ")", ";", "auto", "LoadVReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "LLT", "::", "scalar", "(", "32", ")", ")", ";", "buildLoad", "(", "LoadVReg", ",", "Addr", ",", "Size", ",", "1", ",", "MPO", ")", ";", "MIRBuilder", ".", "buildTrunc", "(", "ValVReg", ",", "LoadVReg", ")", ";", "}", "else", "{", "buildLoad", "(", "ValVReg", ",", "Addr", ",", "Size", ",", "1", ",", "MPO", ")", ";", "}", "}", ""], "natrual_language": ["An", "overload", "which", "takes", "an", "ArgInfo", "if", "additional", "information", "about", "the", "arg", "is", "needed", "."], "TS_V_token": ["ARM", "1", "2", "4", "8", "\"Unsupported size\"", "4", "\"Only scalars supported atm\"", "32", "1", "1"], "File": "ARMCallLowering33", "Func": "assignValueToAddress", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6596, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCSubtarget", "::", "enableMachinePipeliner", "(", ")", "const", "{", "return", "(", "CPUDirective", "==", "PPC", "::", "DIR_PWR9", ")", "&&", "EnableMachinePipeliner", ";", "}", ""], "natrual_language": ["True", "if", "the", "subtarget", "should", "run", "MachinePipeliner", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::DIR_PWR9"], "File": "PPCSubtarget10", "Func": "enableMachinePipeliner", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6597, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64AsmBackend", "::", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "{", "llvm_unreachable", "(", "\"AArch64AsmBackend::relaxInstruction() unimplemented\"", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["AArch64", "AArch64", "\"AArch64AsmBackend::relaxInstruction() unimplemented\""], "File": "AArch64AsmBackend (2)", "Func": "relaxInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6598, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "has128ByteRedZone", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "assert", "(", "&", "STI", "==", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", "&&", "\"MF used frame lowering for wrong subtarget\"", ")", ";", "const", "Function", "&", "Fn", "=", "MF", ".", "getFunction", "(", ")", ";", "const", "bool", "IsWin64CC", "=", "STI", ".", "isCallingConvWin64", "(", "Fn", ".", "getCallingConv", "(", ")", ")", ";", "return", "Is64Bit", "&&", "!", "IsWin64CC", "&&", "!", "Fn", ".", "hasFnAttribute", "(", "Attribute", "::", "NoRedZone", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "function", "has", "a", "redzone", "(", "accessible", "bytes", "past", "the", "frame", "of", "the", "top", "of", "stack", "function", ")", "as", "part", "of", "it", "'s", "ABI", "."], "TS_V_token": ["X86", "X86", "X86", "\"MF used frame lowering for wrong subtarget\""], "File": "X86FrameLowering (2)3", "Func": "has128ByteRedZone", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6599, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "expand_fusion_p9_load", "(", "rtx", "*", "operands", ")", "{", "rtx", "tmp_reg", "=", "operands", "[", "0", "]", ";", "rtx", "addis_value", "=", "operands", "[", "1", "]", ";", "rtx", "target", "=", "operands", "[", "2", "]", ";", "rtx", "orig_mem", "=", "operands", "[", "3", "]", ";", "rtx", "new_addr", ",", "new_mem", ",", "orig_addr", ",", "offset", ",", "set", ",", "clobber", ",", "insn", ";", "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", ")", "==", "FLOAT_EXTEND", "||", "GET_CODE", "(", "orig_mem", ")", "==", "ZERO_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", "(", "extend", ",", "extend_mode", ",", "new_mem", ")", ";", "new_mem", "=", "gen_rtx_UNSPEC", "(", "extend_mode", ",", "gen_rtvec", "(", "1", ",", "new_mem", ")", ",", "UNSPEC_FUSION_P9", ")", ";", "set", "=", "gen_rtx_SET", "(", "target", ",", "new_mem", ")", ";", "clobber", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "tmp_reg", ")", ";", "insn", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "set", ",", "clobber", ")", ")", ";", "emit_insn", "(", "insn", ")", ";", "return", ";", "}", ""], "natrual_language": ["During", "the", "peephole2", "pass", ",", "adjust", "and", "expand", "the", "insns", "for", "an", "extended", "fusion", "load", "sequence", ".", "The", "operands", "are", ":", "operands", "[", "0", "]", "register", "set", "with", "addis", "operands", "[", "1", "]", "value", "set", "via", "addis", "operands", "[", "2", "]", "target", "register", "being", "loaded", "operands", "[", "3", "]", "D-form", "memory", "reference", "using", "operands", "[", "0", "]", ".", "This", "is", "similar", "to", "the", "fusion", "introduced", "with", "power8", ",", "except", "it", "scales", "to", "both", "loads/stores", "and", "does", "not", "require", "the", "result", "register", "to", "be", "the", "same", "as", "the", "base", "register", ".", "At", "the", "moment", ",", "we", "only", "do", "this", "if", "register", "set", "with", "addis", "is", "dead", "."], "TS_V_token": ["powerpcspe", "0", "1", "2", "3", "0", "0", "1", "1", "2"], "File": "powerpcspe", "Func": "expand_fusion_p9_load", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6600, "Length": 267, "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": 6601, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_can_inline_p", "(", "tree", "caller", ",", "tree", "callee", ")", "{", "tree", "caller_tree", "=", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "caller", ")", ";", "tree", "callee_tree", "=", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "callee", ")", ";", "const", "unsigned", "HOST_WIDE_INT", "always_inline_safe_mask", "=", "(", "MASK_USE_8BIT_IDIV", "|", "MASK_ACCUMULATE_OUTGOING_ARGS", "|", "MASK_NO_ALIGN_STRINGOPS", "|", "MASK_AVX256_SPLIT_UNALIGNED_LOAD", "|", "MASK_AVX256_SPLIT_UNALIGNED_STORE", "|", "MASK_CLD", "|", "MASK_NO_FANCY_MATH_387", "|", "MASK_IEEE_FP", "|", "MASK_INLINE_ALL_STRINGOPS", "|", "MASK_INLINE_STRINGOPS_DYNAMICALLY", "|", "MASK_RECIP", "|", "MASK_STACK_PROBE", "|", "MASK_STV", "|", "MASK_TLS_DIRECT_SEG_REFS", "|", "MASK_VZEROUPPER", "|", "MASK_NO_PUSH_ARGS", "|", "MASK_OMIT_LEAF_FRAME_POINTER", ")", ";", "if", "(", "!", "callee_tree", ")", "callee_tree", "=", "target_option_default_node", ";", "if", "(", "!", "caller_tree", ")", "caller_tree", "=", "target_option_default_node", ";", "if", "(", "callee_tree", "==", "caller_tree", ")", "return", "true", ";", "struct", "cl_target_option", "*", "caller_opts", "=", "TREE_TARGET_OPTION", "(", "caller_tree", ")", ";", "struct", "cl_target_option", "*", "callee_opts", "=", "TREE_TARGET_OPTION", "(", "callee_tree", ")", ";", "bool", "ret", "=", "false", ";", "bool", "always_inline", "=", "(", "DECL_DISREGARD_INLINE_LIMITS", "(", "callee", ")", "&&", "lookup_attribute", "(", "\"always_inline\"", ",", "DECL_ATTRIBUTES", "(", "callee", ")", ")", ")", ";", "if", "(", "(", "(", "caller_opts", "->", "x_ix86_isa_flags", "&", "callee_opts", "->", "x_ix86_isa_flags", ")", "!=", "callee_opts", "->", "x_ix86_isa_flags", ")", "||", "(", "(", "caller_opts", "->", "x_ix86_isa_flags2", "&", "callee_opts", "->", "x_ix86_isa_flags2", ")", "!=", "callee_opts", "->", "x_ix86_isa_flags2", ")", ")", "ret", "=", "false", ";", "else", "if", "(", "(", "!", "always_inline", "&&", "caller_opts", "->", "x_target_flags", "!=", "callee_opts", "->", "x_target_flags", ")", "||", "(", "caller_opts", "->", "x_target_flags", "&", "~", "always_inline_safe_mask", ")", "!=", "(", "callee_opts", "->", "x_target_flags", "&", "~", "always_inline_safe_mask", ")", ")", "ret", "=", "false", ";", "else", "if", "(", "caller_opts", "->", "arch", "!=", "callee_opts", "->", "arch", ")", "ret", "=", "false", ";", "else", "if", "(", "!", "always_inline", "&&", "caller_opts", "->", "tune", "!=", "callee_opts", "->", "tune", ")", "ret", "=", "false", ";", "else", "if", "(", "caller_opts", "->", "x_ix86_fpmath", "!=", "callee_opts", "->", "x_ix86_fpmath", "&&", "(", "!", "ipa_fn_summaries", "||", "ipa_fn_summaries", "->", "get", "(", "cgraph_node", "::", "get", "(", "callee", ")", ")", "->", "fp_expressions", ")", ")", "ret", "=", "false", ";", "else", "if", "(", "!", "always_inline", "&&", "caller_opts", "->", "branch_cost", "!=", "callee_opts", "->", "branch_cost", ")", "ret", "=", "false", ";", "else", "ret", "=", "true", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Hook", "to", "determine", "if", "one", "function", "can", "safely", "inline", "another", "."], "TS_V_token": ["i386", "\"always_inline\""], "File": "i3867", "Func": "ix86_can_inline_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6602, "Length": 310, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ")", "{", "if", "(", "!", "ST", "->", "isMClass", "(", ")", ")", "return", "BasicTTIImplBase", "::", "getUnrollingPreferences", "(", "L", ",", "SE", ",", "UP", ")", ";", "UP", ".", "OptSizeThreshold", "=", "0", ";", "UP", ".", "PartialOptSizeThreshold", "=", "0", ";", "if", "(", "L", "->", "getHeader", "(", ")", "->", "getParent", "(", ")", "->", "hasOptSize", "(", ")", ")", "return", ";", "if", "(", "!", "ST", "->", "isThumb2", "(", ")", ")", "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", ";", "unsigned", "Cost", "=", "0", ";", "for", "(", "auto", "*", "BB", ":", "L", "->", "getBlocks", "(", ")", ")", "{", "for", "(", "auto", "&", "I", ":", "*", "BB", ")", "{", "if", "(", "I", ".", "getType", "(", ")", "->", "isVectorTy", "(", ")", ")", "return", ";", "if", "(", "isa", "<", "CallInst", ">", "(", "I", ")", "||", "isa", "<", "InvokeInst", ">", "(", "I", ")", ")", "{", "ImmutableCallSite", "CS", "(", "&", "I", ")", ";", "if", "(", "const", "Function", "*", "F", "=", "CS", ".", "getCalledFunction", "(", ")", ")", "{", "if", "(", "!", "isLoweredToCall", "(", "F", ")", ")", "continue", ";", "}", "return", ";", "}", "SmallVector", "<", "const", "Value", "*", ",", "4", ">", "Operands", "(", "I", ".", "value_op_begin", "(", ")", ",", "I", ".", "value_op_end", "(", ")", ")", ";", "Cost", "+=", "getUserCost", "(", "&", "I", ",", "Operands", ")", ";", "}", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Cost of loop: \"", "<<", "Cost", "<<", "\"\\n\"", ")", ";", "UP", ".", "Partial", "=", "true", ";", "UP", ".", "Runtime", "=", "true", ";", "UP", ".", "UpperBound", "=", "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", "0", "4", "\"Cost of loop: \"", "\"\\n\"", "4", "60", "12"], "File": "ARMTargetTransformInfo10", "Func": "getUnrollingPreferences", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6603, "Length": 356, "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": 6604, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_handle_fentry_name", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", ",", "int", ",", "bool", "*", "no_add_attrs", ")", "{", "if", "(", "TREE_CODE", "(", "*", "node", ")", "==", "FUNCTION_DECL", "&&", "TREE_CODE", "(", "TREE_VALUE", "(", "args", ")", ")", "==", "STRING_CST", ")", ";", "else", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute ignored\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "fentry_name", "/", "fentry_section", "attribute", "."], "TS_V_token": ["i386", "\"%qE attribute ignored\""], "File": "i386-options", "Func": "ix86_handle_fentry_name", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6605, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMDAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "if", "(", "!", "Subtarget", "->", "hasV6T2Ops", "(", ")", ")", "return", ";", "bool", "isThumb2", "=", "Subtarget", "->", "isThumb", "(", ")", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "I", "++", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "ADD", ")", "continue", ";", "SDValue", "N0", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "N1", "=", "N", "->", "getOperand", "(", "1", ")", ";", "unsigned", "And_imm", "=", "0", ";", "if", "(", "!", "isOpcWithIntImmediate", "(", "N1", ".", "getNode", "(", ")", ",", "ISD", "::", "AND", ",", "And_imm", ")", ")", "{", "if", "(", "isOpcWithIntImmediate", "(", "N0", ".", "getNode", "(", ")", ",", "ISD", "::", "AND", ",", "And_imm", ")", ")", "std", "::", "swap", "(", "N0", ",", "N1", ")", ";", "}", "if", "(", "!", "And_imm", ")", "continue", ";", "unsigned", "TZ", "=", "countTrailingZeros", "(", "And_imm", ")", ";", "if", "(", "TZ", "!=", "1", "&&", "TZ", "!=", "2", ")", "continue", ";", "And_imm", ">>=", "TZ", ";", "if", "(", "And_imm", "&", "(", "And_imm", "+", "1", ")", ")", "continue", ";", "SDValue", "Srl", "=", "N1", ".", "getOperand", "(", "0", ")", ";", "unsigned", "Srl_imm", "=", "0", ";", "if", "(", "!", "isOpcWithIntImmediate", "(", "Srl", ".", "getNode", "(", ")", ",", "ISD", "::", "SRL", ",", "Srl_imm", ")", "||", "(", "Srl_imm", "<=", "2", ")", ")", "continue", ";", "SDValue", "CPTmp0", ";", "SDValue", "CPTmp1", ";", "SDValue", "CPTmp2", ";", "if", "(", "isThumb2", ")", "{", "if", "(", "SelectT2ShifterOperandReg", "(", "N0", ",", "CPTmp0", ",", "CPTmp1", ")", ")", "continue", ";", "}", "else", "{", "if", "(", "SelectImmShifterOperand", "(", "N0", ",", "CPTmp0", ",", "CPTmp1", ")", "||", "SelectRegShifterOperand", "(", "N0", ",", "CPTmp0", ",", "CPTmp1", ",", "CPTmp2", ")", ")", "continue", ";", "}", "Srl", "=", "CurDAG", "->", "getNode", "(", "ISD", "::", "SRL", ",", "SDLoc", "(", "Srl", ")", ",", "MVT", "::", "i32", ",", "Srl", ".", "getOperand", "(", "0", ")", ",", "CurDAG", "->", "getConstant", "(", "Srl_imm", "+", "TZ", ",", "MVT", "::", "i32", ")", ")", ";", "N1", "=", "CurDAG", "->", "getNode", "(", "ISD", "::", "AND", ",", "SDLoc", "(", "N1", ")", ",", "MVT", "::", "i32", ",", "Srl", ",", "CurDAG", "->", "getConstant", "(", "And_imm", ",", "MVT", "::", "i32", ")", ")", ";", "N1", "=", "CurDAG", "->", "getNode", "(", "ISD", "::", "SHL", ",", "SDLoc", "(", "N1", ")", ",", "MVT", "::", "i32", ",", "N1", ",", "CurDAG", "->", "getConstant", "(", "TZ", ",", "MVT", "::", "i32", ")", ")", ";", "CurDAG", "->", "UpdateNodeOperands", "(", "N", ",", "N0", ",", "N1", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["ARM", "ARM", "ISD::ADD", "0", "1", "0", "ISD::AND", "ISD::AND", "1", "2", "1", "0", "0", "ISD::SRL", "2", "ISD::SRL", "MVT::i32", "0", "MVT::i32", "ISD::AND", "MVT::i32", "MVT::i32", "ISD::SHL", "MVT::i32", "MVT::i32"], "File": "ARMISelDAGToDAG (2)", "Func": "PreprocessISelDAG", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6606, "Length": 404, "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": 6607, "Length": 66, "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": 6608, "Length": 234, "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": 6609, "Length": 494, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "AArch64RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "assert", "(", "MF", "&&", "\"Invalid MachineFunction pointer.\"", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "GHC", ")", "return", "CSR_AArch64_NoRegs_LR_SaveList", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AnyReg", ")", "return", "CSR_AArch64_AllRegs_SaveList", ";", "if", "(", "MF", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isTargetDarwin", "(", ")", ")", "return", "getDarwinCalleeSavedRegs", "(", "MF", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "CFGuard_Check", ")", "return", "CSR_Win_AArch64_CFGuard_Check_SaveList", ";", "if", "(", "MF", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isTargetWindows", "(", ")", ")", "return", "CSR_Win_AArch64_AAPCS_SaveList", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AArch64_VectorCall", ")", "return", "CSR_AArch64_AAVPCS_SaveList", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AArch64_SVE_VectorCall", ")", "return", "CSR_AArch64_SVE_AAPCS_SaveList", ";", "if", "(", "MF", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "getTargetLowering", "(", ")", "->", "supportSwiftError", "(", ")", "&&", "MF", "->", "getFunction", "(", ")", ".", "getAttributes", "(", ")", ".", "hasAttrSomewhere", "(", "Attribute", "::", "SwiftError", ")", ")", "return", "CSR_AArch64_AAPCS_SwiftError_SaveList", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "SwiftTail", ")", "return", "CSR_AArch64_AAPCS_SwiftTail_SaveList", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "PreserveMost", ")", "return", "CSR_AArch64_RT_MostRegs_SaveList", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "Win64", ")", "return", "CSR_AArch64_AAPCS_X18_SaveList", ";", "if", "(", "hasSVEArgsOrReturn", "(", "MF", ")", ")", "return", "CSR_AArch64_SVE_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", "AArch64", "AArch64"], "File": "AArch64RegisterInfo26", "Func": "getCalleeSavedRegs", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6610, "Length": 265, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "OperandMatchResultTy", "MipsAsmParser", "::", "tryParseRegister", "(", "unsigned", "&", "RegNo", ",", "SMLoc", "&", "StartLoc", ",", "SMLoc", "&", "EndLoc", ")", "{", "SmallVector", "<", "std", "::", "unique_ptr", "<", "MCParsedAsmOperand", ">", ",", "1", ">", "Operands", ";", "OperandMatchResultTy", "ResTy", "=", "parseAnyRegister", "(", "Operands", ")", ";", "if", "(", "ResTy", "==", "MatchOperand_Success", ")", "{", "assert", "(", "Operands", ".", "size", "(", ")", "==", "1", ")", ";", "MipsOperand", "&", "Operand", "=", "static_cast", "<", "MipsOperand", "&", ">", "(", "*", "Operands", ".", "front", "(", ")", ")", ";", "StartLoc", "=", "Operand", ".", "getStartLoc", "(", ")", ";", "EndLoc", "=", "Operand", ".", "getEndLoc", "(", ")", ";", "if", "(", "Operand", ".", "isGPRAsmReg", "(", ")", ")", "{", "RegNo", "=", "isGP64bit", "(", ")", "?", "Operand", ".", "getGPR64Reg", "(", ")", ":", "Operand", ".", "getGPR32Reg", "(", ")", ";", "}", "return", "(", "RegNo", "==", "(", "unsigned", ")", "-", "1", ")", "?", "MatchOperand_NoMatch", ":", "MatchOperand_Success", ";", "}", "assert", "(", "Operands", ".", "size", "(", ")", "==", "0", ")", ";", "return", "(", "RegNo", "==", "(", "unsigned", ")", "-", "1", ")", "?", "MatchOperand_NoMatch", ":", "MatchOperand_Success", ";", "}", ""], "natrual_language": ["tryParseRegister", "-", "parse", "one", "register", "if", "possible"], "TS_V_token": ["Mips", "Mips", "1", "1", "Mips", "Mips", "1", "0", "1"], "File": "MipsAsmParser22", "Func": "tryParseRegister", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6611, "Length": 162, "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": 6612, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SparcTargetLowering", "::", "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", ",", "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": "SparcISelLowering13", "Func": "LowerReturn", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6613, "Length": 268, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "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": "rs60007", "Func": "rs6000_components_for_bb", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6614, "Length": 219, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_block_set_unaligned_vect", "(", "rtx", "dstbase", ",", "unsigned", "HOST_WIDE_INT", "length", ",", "unsigned", "HOST_WIDE_INT", "value", ",", "unsigned", "HOST_WIDE_INT", "align", ")", "{", "unsigned", "int", "i", ",", "j", ",", "nelt_v16", ",", "nelt_v8", ",", "nelt_mode", ";", "rtx", "dst", ",", "mem", ";", "rtx", "val_elt", ",", "val_vec", ",", "reg", ";", "rtx", "rval", "[", "MAX_VECT_LEN", "]", ";", "rtx", "(", "*", "gen_func", ")", "(", "rtx", ",", "rtx", ")", ";", "machine_mode", "mode", ";", "unsigned", "HOST_WIDE_INT", "v", "=", "value", ";", "gcc_assert", "(", "(", "align", "&", "0x3", ")", "!=", "0", ")", ";", "nelt_v8", "=", "GET_MODE_NUNITS", "(", "V8QImode", ")", ";", "nelt_v16", "=", "GET_MODE_NUNITS", "(", "V16QImode", ")", ";", "if", "(", "length", ">=", "nelt_v16", ")", "{", "mode", "=", "V16QImode", ";", "gen_func", "=", "gen_movmisalignv16qi", ";", "}", "else", "{", "mode", "=", "V8QImode", ";", "gen_func", "=", "gen_movmisalignv8qi", ";", "}", "nelt_mode", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "gcc_assert", "(", "length", ">=", "nelt_mode", ")", ";", "if", "(", "!", "arm_block_set_vect_profit_p", "(", "length", ",", "align", ",", "mode", ")", ")", "return", "false", ";", "dst", "=", "copy_addr_to_reg", "(", "XEXP", "(", "dstbase", ",", "0", ")", ")", ";", "mem", "=", "adjust_automodify_address", "(", "dstbase", ",", "mode", ",", "dst", ",", "0", ")", ";", "v", "=", "sext_hwi", "(", "v", ",", "BITS_PER_WORD", ")", ";", "val_elt", "=", "GEN_INT", "(", "v", ")", ";", "for", "(", "j", "=", "0", ";", "j", "<", "nelt_mode", ";", "j", "++", ")", "rval", "[", "j", "]", "=", "val_elt", ";", "reg", "=", "gen_reg_rtx", "(", "mode", ")", ";", "val_vec", "=", "gen_rtx_CONST_VECTOR", "(", "mode", ",", "gen_rtvec_v", "(", "nelt_mode", ",", "rval", ")", ")", ";", "emit_move_insn", "(", "reg", ",", "val_vec", ")", ";", "for", "(", "i", "=", "0", ";", "(", "i", "+", "nelt_mode", "<=", "length", ")", ";", "i", "+=", "nelt_mode", ")", "{", "emit_insn", "(", "(", "*", "gen_func", ")", "(", "mem", ",", "reg", ")", ")", ";", "if", "(", "i", "+", "2", "*", "nelt_mode", "<=", "length", ")", "emit_insn", "(", "gen_add2_insn", "(", "dst", ",", "GEN_INT", "(", "nelt_mode", ")", ")", ")", ";", "}", "gcc_assert", "(", "(", "i", "+", "nelt_v8", ")", ">", "length", "||", "mode", "==", "V16QImode", ")", ";", "if", "(", "i", "+", "nelt_v8", "<", "length", ")", "{", "emit_insn", "(", "gen_add2_insn", "(", "dst", ",", "GEN_INT", "(", "length", "-", "i", ")", ")", ")", ";", "if", "(", "(", "length", "&", "1", ")", "!=", "0", "&&", "align", ">=", "2", ")", "set_mem_align", "(", "mem", ",", "BITS_PER_UNIT", ")", ";", "emit_insn", "(", "gen_movmisalignv16qi", "(", "mem", ",", "reg", ")", ")", ";", "}", "else", "if", "(", "i", "<", "length", "&&", "i", "+", "nelt_v8", ">=", "length", ")", "{", "if", "(", "mode", "==", "V16QImode", ")", "{", "reg", "=", "gen_lowpart", "(", "V8QImode", ",", "reg", ")", ";", "mem", "=", "adjust_automodify_address", "(", "dstbase", ",", "V8QImode", ",", "dst", ",", "0", ")", ";", "}", "emit_insn", "(", "gen_add2_insn", "(", "dst", ",", "GEN_INT", "(", "(", "length", "-", "i", ")", "+", "(", "nelt_mode", "-", "nelt_v8", ")", ")", ")", ")", ";", "if", "(", "(", "length", "&", "1", ")", "!=", "0", "&&", "align", ">=", "2", ")", "set_mem_align", "(", "mem", ",", "BITS_PER_UNIT", ")", ";", "emit_insn", "(", "gen_movmisalignv8qi", "(", "mem", ",", "reg", ")", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Set", "a", "block", "of", "memory", "using", "vectorization", "instructions", "for", "the", "unaligned", "case", ".", "We", "fill", "the", "first", "LENGTH", "bytes", "of", "the", "memory", "area", "starting", "from", "DSTBASE", "with", "byte", "constant", "VALUE", ".", "ALIGN", "is", "the", "alignment", "requirement", "of", "memory", ".", "Return", "TRUE", "if", "succeeded", "."], "TS_V_token": ["arm", "0x3", "0", "0", "0", "0", "0", "2", "1", "0", "2", "0", "1", "0", "2"], "File": "arm4", "Func": "arm_block_set_unaligned_vect", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6615, "Length": 470, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "moxie_fixed_condition_code_regs", "(", "unsigned", "int", "*", "p1", ",", "unsigned", "int", "*", "p2", ")", "{", "*", "p1", "=", "CC_REG", ";", "*", "p2", "=", "INVALID_REGNUM", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "the", "fixed", "registers", "used", "for", "condition", "codes", "."], "TS_V_token": ["moxie"], "File": "moxie", "Func": "moxie_fixed_condition_code_regs", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6616, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ",", "const", "SystemZInstrInfo", "*", "TII", ")", "{", "unsigned", "Size", "=", "TII", "->", "getInstSizeInBytes", "(", "MI", ")", ";", "assert", "(", "(", "Size", "||", "MI", ".", "isDebugOrPseudoInstr", "(", ")", "||", "MI", ".", "isPosition", "(", ")", "||", "MI", ".", "isKill", "(", ")", "||", "MI", ".", "isImplicitDef", "(", ")", "||", "MI", ".", "getOpcode", "(", ")", "==", "SystemZ", "::", "MemBarrier", "||", "MI", ".", "isInlineAsm", "(", ")", "||", "MI", ".", "getOpcode", "(", ")", "==", "SystemZ", "::", "STACKMAP", "||", "MI", ".", "getOpcode", "(", ")", "==", "SystemZ", "::", "PATCHPOINT", ")", "&&", "\"Missing size value for instruction.\"", ")", ";", "return", "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": ["SystemZ", "SystemZ", "SystemZ::MemBarrier", "SystemZ::STACKMAP", "SystemZ::PATCHPOINT", "\"Missing size value for instruction.\""], "File": "SystemZLongBranch", "Func": "getInstSizeInBytes", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6617, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMFrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "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", "->", "getArgRegsSaveSize", "(", ")", ">", "0", ";", "unsigned", "NumAlignedDPRCS2Regs", "=", "AFI", "->", "getNumAlignedDPRCS2Regs", "(", ")", ";", "if", "(", "NumAlignedDPRCS2Regs", ")", "emitAlignedDPRCS2Restores", "(", "MBB", ",", "MI", ",", "NumAlignedDPRCS2Regs", ",", "CSI", ",", "TRI", ")", ";", "unsigned", "PopOpc", "=", "AFI", "->", "isThumbFunction", "(", ")", "?", "ARM", "::", "t2LDMIA_UPD", ":", "ARM", "::", "LDMIA_UPD", ";", "unsigned", "LdrOpc", "=", "AFI", "->", "isThumbFunction", "(", ")", "?", "ARM", "::", "t2LDR_POST", ":", "ARM", "::", "LDR_POST_IMM", ";", "unsigned", "FltOpc", "=", "ARM", "::", "VLDMDIA_UPD", ";", "emitPopInst", "(", "MBB", ",", "MI", ",", "CSI", ",", "FltOpc", ",", "0", ",", "isVarArg", ",", "true", ",", "&", "isARMArea3Register", ",", "NumAlignedDPRCS2Regs", ")", ";", "emitPopInst", "(", "MBB", ",", "MI", ",", "CSI", ",", "PopOpc", ",", "LdrOpc", ",", "isVarArg", ",", "false", ",", "&", "isARMArea2Register", ",", "0", ")", ";", "emitPopInst", "(", "MBB", ",", "MI", ",", "CSI", ",", "PopOpc", ",", "LdrOpc", ",", "isVarArg", ",", "false", ",", "&", "isARMArea1Register", ",", "0", ")", ";", "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_IMM", "ARM::VLDMDIA_UPD", "0", "ARM", "ARM", "0", "ARM", "0"], "File": "ARMFrameLowering101", "Func": "restoreCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6618, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmPrinter", "::", "emitEndOfAsmFile", "(", "Module", "&", "M", ")", "{", "const", "Triple", "&", "TT", "=", "TM", ".", "getTargetTriple", "(", ")", ";", "emitAsanMemaccessSymbols", "(", "M", ")", ";", "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": "X86AsmPrinter20", "Func": "emitEndOfAsmFile", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6619, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FastISel", "::", "isTypeLegal", "(", "Type", "*", "Ty", ",", "MVT", "&", "VT", ")", "{", "EVT", "evt", "=", "TLI", ".", "getValueType", "(", "DL", ",", "Ty", ",", "true", ")", ";", "if", "(", "evt", "==", "MVT", "::", "Other", "||", "!", "evt", ".", "isSimple", "(", ")", ")", "return", "false", ";", "VT", "=", "evt", ".", "getSimpleVT", "(", ")", ";", "if", "(", "VT", "==", "MVT", "::", "f128", ")", "return", "false", ";", "return", "TLI", ".", "isTypeLegal", "(", "VT", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "type", "is", "legal", "."], "TS_V_token": ["AArch64", "AArch64", "MVT::Other", "MVT::f128"], "File": "AArch64FastISel (2)", "Func": "isTypeLegal", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6620, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTTIImpl", "::", "getPrefetchDistance", "(", ")", "{", "return", "PrefDist", ";", "}", ""], "natrual_language": ["Return", "the", "preferred", "prefetch", "distance", "in", "terms", "of", "instructions", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCTargetTransformInfo46", "Func": "getPrefetchDistance", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6621, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMInstrInfo", "::", "reMaterialize", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "unsigned", "SubIdx", ",", "const", "MachineInstr", "*", "Orig", ")", "const", "{", "DebugLoc", "dl", "=", "Orig", "->", "getDebugLoc", "(", ")", ";", "if", "(", "Orig", "->", "getOpcode", "(", ")", "==", "ARM", "::", "MOVi2pieces", ")", "{", "RI", ".", "emitLoadConstPool", "(", "MBB", ",", "I", ",", "dl", ",", "DestReg", ",", "SubIdx", ",", "Orig", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ",", "(", "ARMCC", "::", "CondCodes", ")", "Orig", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ",", "Orig", "->", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", ")", ";", "return", ";", "}", "MachineInstr", "*", "MI", "=", "MBB", ".", "getParent", "(", ")", "->", "CloneMachineInstr", "(", "Orig", ")", ";", "MI", "->", "getOperand", "(", "0", ")", ".", "setReg", "(", "DestReg", ")", ";", "MBB", ".", "insert", "(", "I", ",", "MI", ")", ";", "}", ""], "natrual_language": ["Re-issue", "the", "specified", "'original", "'", "instruction", "at", "the", "specific", "location", "targeting", "a", "new", "destination", "register", "."], "TS_V_token": ["ARM", "ARM", "ARM::MOVi2pieces", "1", "ARMCC::CondCodes", "2", "3", "0"], "File": "ARMInstrInfo19", "Func": "reMaterialize", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6622, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_declare_function_name", "(", "FILE", "*", "stream", ",", "const", "char", "*", "name", ",", "tree", "decl", ")", "{", "tree", "target_parts", "=", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "decl", ")", ";", "struct", "cl_target_option", "*", "targ_options", ";", "if", "(", "target_parts", ")", "targ_options", "=", "TREE_TARGET_OPTION", "(", "target_parts", ")", ";", "else", "targ_options", "=", "TREE_TARGET_OPTION", "(", "target_option_current_node", ")", ";", "gcc_assert", "(", "targ_options", ")", ";", "std", "::", "string", "arch_to_print", ";", "if", "(", "targ_options", "->", "x_arm_arch_string", ")", "arch_to_print", "=", "targ_options", "->", "x_arm_arch_string", ";", "if", "(", "arch_to_print", "!=", "arm_last_printed_arch_string", ")", "{", "std", "::", "string", "arch_name", "=", "arch_to_print", ".", "substr", "(", "0", ",", "arch_to_print", ".", "find", "(", "\"+\"", ")", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t.arch %s\\n\"", ",", "arch_name", ".", "c_str", "(", ")", ")", ";", "const", "arch_option", "*", "arch", "=", "arm_parse_arch_option_name", "(", "all_architectures", ",", "\"-march\"", ",", "targ_options", "->", "x_arm_arch_string", ")", ";", "auto_sbitmap", "opt_bits", "(", "isa_num_bits", ")", ";", "gcc_assert", "(", "arch", ")", ";", "if", "(", "arch", "->", "common", ".", "extensions", ")", "{", "for", "(", "const", "struct", "cpu_arch_extension", "*", "opt", "=", "arch", "->", "common", ".", "extensions", ";", "opt", "->", "name", "!=", "NULL", ";", "opt", "++", ")", "{", "if", "(", "!", "opt", "->", "remove", ")", "{", "arm_initialize_isa", "(", "opt_bits", ",", "opt", "->", "isa_bits", ")", ";", "if", "(", "bitmap_subset_p", "(", "opt_bits", ",", "arm_active_target", ".", "isa", ")", "&&", "!", "bitmap_subset_p", "(", "opt_bits", ",", "isa_all_fpubits", ")", ")", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t.arch_extension %s\\n\"", ",", "opt", "->", "name", ")", ";", "}", "}", "}", "arm_last_printed_arch_string", "=", "arch_to_print", ";", "}", "fprintf", "(", "stream", ",", "\"\\t.syntax unified\\n\"", ")", ";", "if", "(", "TARGET_THUMB", ")", "{", "if", "(", "is_called_in_ARM_mode", "(", "decl", ")", "||", "(", "TARGET_THUMB1", "&&", "!", "TARGET_THUMB1_ONLY", "&&", "cfun", "->", "is_thunk", ")", ")", "fprintf", "(", "stream", ",", "\"\\t.code 32\\n\"", ")", ";", "else", "if", "(", "TARGET_THUMB1", ")", "fprintf", "(", "stream", ",", "\"\\t.code\\t16\\n\\t.thumb_func\\n\"", ")", ";", "else", "fprintf", "(", "stream", ",", "\"\\t.thumb\\n\\t.thumb_func\\n\"", ")", ";", "}", "else", "fprintf", "(", "stream", ",", "\"\\t.arm\\n\"", ")", ";", "std", "::", "string", "fpu_to_print", "=", "TARGET_SOFT_FLOAT", "?", "\"softvfp\"", ":", "arm_identify_fpu_from_isa", "(", "arm_active_target", ".", "isa", ")", ";", "if", "(", "fpu_to_print", "!=", "arm_last_printed_arch_string", ")", "{", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t.fpu %s\\n\"", ",", "fpu_to_print", ".", "c_str", "(", ")", ")", ";", "arm_last_printed_fpu_string", "=", "fpu_to_print", ";", "}", "if", "(", "TARGET_POKE_FUNCTION_NAME", ")", "arm_poke_function_name", "(", "stream", ",", "(", "const", "char", "*", ")", "name", ")", ";", "}", ""], "natrual_language": ["Implement", "ASM_DECLARE_FUNCTION_NAME", ".", "Output", "the", "ISA", "features", "used", "by", "the", "function", "fndecl", "."], "TS_V_token": ["arm", "0", "\"+\"", "\"\\t.arch %s\\n\"", "\"-march\"", "\"\\t.arch_extension %s\\n\"", "\"\\t.syntax unified\\n\"", "\"\\t.code 32\\n\"", "\"\\t.code\\t16\\n\\t.thumb_func\\n\"", "\"\\t.thumb\\n\\t.thumb_func\\n\"", "\"\\t.arm\\n\"", "\"softvfp\"", "\"\\t.fpu %s\\n\""], "File": "arm7", "Func": "arm_declare_function_name", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6623, "Length": 348, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_asm_function_epilogue", "(", "FILE", "*", "file", ",", "HOST_WIDE_INT", "size", "ATTRIBUTE_UNUSED", ")", "{", "rtx_insn", "*", "insn", "=", "get_last_insn", "(", ")", ";", "rtx", "last_real_insn", "=", "prev_real_insn", "(", "insn", ")", ";", "if", "(", "last_real_insn", "&&", "NONJUMP_INSN_P", "(", "last_real_insn", ")", "&&", "GET_CODE", "(", "PATTERN", "(", "last_real_insn", ")", ")", "==", "SEQUENCE", ")", "last_real_insn", "=", "XVECEXP", "(", "PATTERN", "(", "last_real_insn", ")", ",", "0", ",", "0", ")", ";", "if", "(", "last_real_insn", "&&", "CALL_P", "(", "last_real_insn", ")", "&&", "!", "SIBLING_CALL_P", "(", "last_real_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": "sparc6", "Func": "sparc_asm_function_epilogue", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6624, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "LoongArchTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "LoongArchPassConfig", "(", "*", "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": ["LoongArch", "LoongArch", "LoongArch"], "File": "LoongArchTargetMachine", "Func": "createPassConfig", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6625, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_option_override_internal", "(", "struct", "gcc_options", "*", "opts", ",", "struct", "gcc_options", "*", "opts_set", ")", "{", "arm_override_options_after_change_1", "(", "opts", ",", "opts_set", ")", ";", "if", "(", "TARGET_INTERWORK", "&&", "!", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_thumb", ")", ")", "{", "opts", "->", "x_target_flags", "&=", "~", "MASK_INTERWORK", ";", "}", "if", "(", "TARGET_THUMB_P", "(", "opts", "->", "x_target_flags", ")", "&&", "!", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_thumb", ")", ")", "{", "warning", "(", "0", ",", "\"target CPU does not support THUMB instructions\"", ")", ";", "opts", "->", "x_target_flags", "&=", "~", "MASK_THUMB", ";", "}", "if", "(", "TARGET_APCS_FRAME", "&&", "TARGET_THUMB_P", "(", "opts", "->", "x_target_flags", ")", ")", "{", "opts", "->", "x_target_flags", "&=", "~", "MASK_APCS_FRAME", ";", "}", "if", "(", "TARGET_THUMB_P", "(", "opts", "->", "x_target_flags", ")", "&&", "TARGET_CALLEE_INTERWORKING", ")", "opts", "->", "x_target_flags", "|=", "MASK_INTERWORK", ";", "cl_optimization", "*", "to", "=", "TREE_OPTIMIZATION", "(", "init_optimize", ")", ";", "if", "(", "!", "opts_set", "->", "x_arm_restrict_it", ")", "opts", "->", "x_arm_restrict_it", "=", "arm_arch8", ";", "if", "(", "!", "TARGET_THUMB2_P", "(", "opts", "->", "x_target_flags", ")", "||", "!", "arm_arch_notm", ")", "opts", "->", "x_arm_restrict_it", "=", "0", ";", "if", "(", "!", "opts_set", "->", "x_arm_restrict_it", "&&", "(", "opts_set", "->", "x_arm_cpu_string", "||", "opts_set", "->", "x_arm_tune_string", ")", ")", "opts", "->", "x_arm_restrict_it", "=", "0", ";", "if", "(", "!", "opts_set", "->", "x_unaligned_access", ")", "{", "opts", "->", "x_unaligned_access", "=", "(", "TARGET_32BIT_P", "(", "opts", "->", "x_target_flags", ")", "&&", "arm_arch6", "&&", "(", "arm_arch_notm", "||", "arm_arch7", ")", ")", ";", "}", "else", "if", "(", "opts", "->", "x_unaligned_access", "==", "1", "&&", "!", "(", "arm_arch6", "&&", "(", "arm_arch_notm", "||", "arm_arch7", ")", ")", ")", "{", "warning", "(", "0", ",", "\"target CPU does not support unaligned accesses\"", ")", ";", "opts", "->", "x_unaligned_access", "=", "0", ";", "}", "if", "(", "TARGET_THUMB1_P", "(", "opts", "->", "x_target_flags", ")", ")", "opts", "->", "x_flag_schedule_insns", "=", "0", ";", "else", "opts", "->", "x_flag_schedule_insns", "=", "to", "->", "x_flag_schedule_insns", ";", "if", "(", "optimize_function_for_size_p", "(", "cfun", ")", "&&", "TARGET_THUMB2_P", "(", "opts", "->", "x_target_flags", ")", ")", "opts", "->", "x_flag_shrink_wrap", "=", "false", ";", "else", "opts", "->", "x_flag_shrink_wrap", "=", "to", "->", "x_flag_shrink_wrap", ";", "if", "(", "TARGET_THUMB1_P", "(", "opts", "->", "x_target_flags", ")", ")", "opts", "->", "x_flag_ipa_ra", "=", "0", ";", "else", "opts", "->", "x_flag_ipa_ra", "=", "to", "->", "x_flag_ipa_ra", ";", "if", "(", "TARGET_THUMB2_P", "(", "opts", "->", "x_target_flags", ")", ")", "opts", "->", "x_inline_asm_unified", "=", "true", ";", "if", "(", "arm_stack_protector_guard", "==", "SSP_GLOBAL", "&&", "opts", "->", "x_arm_stack_protector_guard_offset_str", ")", "{", "error", "(", "\"incompatible options %<-mstack-protector-guard=global%> and \"", "\"%<-mstack-protector-guard-offset=%s%>\"", ",", "arm_stack_protector_guard_offset_str", ")", ";", "}", "if", "(", "opts", "->", "x_arm_stack_protector_guard_offset_str", ")", "{", "char", "*", "end", ";", "const", "char", "*", "str", "=", "arm_stack_protector_guard_offset_str", ";", "errno", "=", "0", ";", "long", "offs", "=", "strtol", "(", "arm_stack_protector_guard_offset_str", ",", "&", "end", ",", "0", ")", ";", "if", "(", "!", "*", "str", "||", "*", "end", "||", "errno", ")", "error", "(", "\"%qs is not a valid offset in %qs\"", ",", "str", ",", "\"-mstack-protector-guard-offset=\"", ")", ";", "arm_stack_protector_guard_offset", "=", "offs", ";", "}", "if", "(", "arm_current_function_pac_enabled_p", "(", ")", ")", "{", "if", "(", "!", "arm_arch8m_main", ")", "error", "(", "\"This architecture does not support branch protection \"", "\"instructions\"", ")", ";", "if", "(", "TARGET_TPCS_FRAME", ")", "sorry", "(", "\"Return address signing is not supported with %<-mtpcs-frame%>.\"", ")", ";", "}", "SUBTARGET_OVERRIDE_INTERNAL_OPTIONS", ";", "}", ""], "natrual_language": ["Reset", "options", "between", "modes", "that", "the", "user", "has", "specified", "."], "TS_V_token": ["arm", "0", "\"target CPU does not support THUMB instructions\"", "0", "0", "1", "0", "\"target CPU does not support unaligned accesses\"", "0", "0", "0", "\"incompatible options %<-mstack-protector-guard=global%> and \"", "\"%<-mstack-protector-guard-offset=%s%>\"", "0", "0", "\"%qs is not a valid offset in %qs\"", "\"-mstack-protector-guard-offset=\"", "\"This architecture does not support branch protection \"", "\"instructions\"", "\"Return address signing is not supported with %<-mtpcs-frame%>.\""], "File": "arm1", "Func": "arm_option_override_internal", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6626, "Length": 449, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "unsigned", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "SmallVector", "<", "MCInst", ",", "8", ">", "Instructions", ";", "unsigned", "MatchResult", "=", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ";", "switch", "(", "MatchResult", ")", "{", "default", ":", "break", ";", "case", "Match_Success", ":", "{", "if", "(", "processInstruction", "(", "Inst", ",", "IDLoc", ",", "Instructions", ")", ")", "return", "true", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Instructions", ".", "size", "(", ")", ";", "i", "++", ")", "Out", ".", "EmitInstruction", "(", "Instructions", "[", "i", "]", ")", ";", "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", "=", "(", "(", "MipsOperand", "*", ")", "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": ["Mips", "Mips", "8", "0", "\"instruction requires a CPU feature not currently enabled\"", "0U", "\"too few operands for instruction\"", "Mips", "\"invalid operand for instruction\"", "\"invalid instruction\""], "File": "MipsAsmParser64", "Func": "MatchAndEmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6627, "Length": 219, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "OpenRISCTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "NULL", ";", "case", "OpenRISCISD", "::", "RET_FLAG", ":", "return", "\"OpenRISCISD::RET_FLAG\"", ";", "case", "OpenRISCISD", "::", "CALL", ":", "return", "\"OpenRISCISD::CALL\"", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["OpenRISC", "OpenRISC", "OpenRISCISD::RET_FLAG", "\"OpenRISCISD::RET_FLAG\"", "OpenRISCISD::CALL", "\"OpenRISCISD::CALL\""], "File": "OpenRISCISelLowering", "Func": "getTargetNodeName", "Target": "OpenRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6628, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetTransformInfo", "::", "PopcntSupportKind", "PPCTTIImpl", "::", "getPopcntSupport", "(", "unsigned", "TyWidth", ")", "{", "assert", "(", "isPowerOf2_32", "(", "TyWidth", ")", "&&", "\"Ty width must be power of 2\"", ")", ";", "if", "(", "ST", "->", "hasPOPCNTD", "(", ")", "&&", "TyWidth", "<=", "64", ")", "return", "TTI", "::", "PSK_FastHardware", ";", "return", "TTI", "::", "PSK_Software", ";", "}", ""], "natrual_language": ["Return", "hardware", "support", "for", "population", "count", "."], "TS_V_token": ["PowerPC", "PPC", "\"Ty width must be power of 2\"", "64"], "File": "PPCTargetTransformInfo19", "Func": "getPopcntSupport", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6629, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_builtin_support_vector_misalignment", "(", "machine_mode", "mode", ",", "const_tree", "type", ",", "int", "misalignment", ",", "bool", "is_packed", ")", "{", "if", "(", "TARGET_VSX", ")", "{", "if", "(", "TARGET_EFFICIENT_UNALIGNED_VSX", ")", "return", "true", ";", "if", "(", "optab_handler", "(", "movmisalign_optab", ",", "mode", ")", "==", "CODE_FOR_nothing", ")", "return", "false", ";", "if", "(", "misalignment", "==", "-", "1", ")", "{", "if", "(", "rs6000_vector_alignment_reachable", "(", "type", ",", "is_packed", ")", ")", "{", "int", "element_size", "=", "TREE_INT_CST_LOW", "(", "TYPE_SIZE", "(", "type", ")", ")", ";", "if", "(", "element_size", "==", "64", "||", "element_size", "==", "32", ")", "return", "true", ";", "}", "return", "false", ";", "}", "if", "(", "misalignment", "%", "4", "==", "0", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "vector", "misalignment", "factor", "is", "supported", "by", "the", "target", "."], "TS_V_token": ["rs6000", "1", "64", "32", "4", "0"], "File": "rs6000", "Func": "rs6000_builtin_support_vector_misalignment", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6630, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "thumb_legitimate_offset_p", "(", "enum", "machine_mode", "mode", ",", "HOST_WIDE_INT", "val", ")", "{", "switch", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", "{", "case", "1", ":", "return", "val", ">=", "0", "&&", "val", "<", "32", ";", "case", "2", ":", "return", "val", ">=", "0", "&&", "val", "<", "64", "&&", "(", "val", "&", "1", ")", "==", "0", ";", "default", ":", "return", "(", "val", ">=", "0", "&&", "(", "val", "+", "GET_MODE_SIZE", "(", "mode", ")", ")", "<=", "128", "&&", "(", "val", "&", "3", ")", "==", "0", ")", ";", "}", "}", ""], "natrual_language": ["Return", "nonzero", "if", "VAL", "can", "be", "used", "as", "an", "offset", "in", "a", "Thumb-state", "address", "instruction", "of", "mode", "MODE", "."], "TS_V_token": ["arm", "1", "0", "32", "2", "0", "64", "1", "0", "0", "128", "3", "0"], "File": "arm3", "Func": "thumb_legitimate_offset_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6631, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "push_minipool_fix", "(", "rtx_insn", "*", "insn", ",", "HOST_WIDE_INT", "address", ",", "rtx", "*", "loc", ",", "machine_mode", "mode", ",", "rtx", "value", ")", "{", "gcc_assert", "(", "!", "arm_disable_literal_pool", ")", ";", "Mfix", "*", "fix", "=", "(", "Mfix", "*", ")", "obstack_alloc", "(", "&", "minipool_obstack", ",", "sizeof", "(", "*", "fix", ")", ")", ";", "fix", "->", "insn", "=", "insn", ";", "fix", "->", "address", "=", "address", ";", "fix", "->", "loc", "=", "loc", ";", "fix", "->", "mode", "=", "mode", ";", "fix", "->", "fix_size", "=", "MINIPOOL_FIX_SIZE", "(", "mode", ")", ";", "fix", "->", "value", "=", "value", ";", "fix", "->", "forwards", "=", "get_attr_pool_range", "(", "insn", ")", ";", "fix", "->", "backwards", "=", "get_attr_neg_pool_range", "(", "insn", ")", ";", "fix", "->", "minipool", "=", "NULL", ";", "gcc_assert", "(", "fix", "->", "forwards", "||", "fix", "->", "backwards", ")", ";", "if", "(", "ARM_DOUBLEWORD_ALIGN", "&&", "fix", "->", "fix_size", ">=", "8", ")", "minipool_pad", "=", "4", ";", "if", "(", "dump_file", ")", "{", "fprintf", "(", "dump_file", ",", "\";; %smode fixup for i%d; addr %lu, range (%ld,%ld): \"", ",", "GET_MODE_NAME", "(", "mode", ")", ",", "INSN_UID", "(", "insn", ")", ",", "(", "unsigned", "long", ")", "address", ",", "-", "1", "*", "(", "long", ")", "fix", "->", "backwards", ",", "(", "long", ")", "fix", "->", "forwards", ")", ";", "arm_print_value", "(", "dump_file", ",", "fix", "->", "value", ")", ";", "fprintf", "(", "dump_file", ",", "\"\\n\"", ")", ";", "}", "fix", "->", "next", "=", "NULL", ";", "if", "(", "minipool_fix_head", "!=", "NULL", ")", "minipool_fix_tail", "->", "next", "=", "fix", ";", "else", "minipool_fix_head", "=", "fix", ";", "minipool_fix_tail", "=", "fix", ";", "}", ""], "natrual_language": ["Record", "INSN", ",", "which", "will", "need", "fixing", "up", "to", "load", "a", "value", "from", "the", "minipool", ".", "ADDRESS", "is", "the", "offset", "of", "the", "insn", "since", "the", "start", "of", "the", "function", ";", "LOC", "is", "a", "pointer", "to", "the", "part", "of", "the", "insn", "which", "requires", "fixing", ";", "VALUE", "is", "the", "constant", "that", "must", "be", "loaded", ",", "which", "is", "of", "type", "MODE", "."], "TS_V_token": ["arm", "8", "4", "\";; %smode fixup for i%d; addr %lu, range (%ld,%ld): \"", "1", "\"\\n\""], "File": "arm", "Func": "push_minipool_fix", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6632, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "type_suffix_index", "function_resolver", "::", "infer_integer_scalar_type", "(", "unsigned", "int", "argno", ")", "{", "tree", "actual", "=", "get_argument_type", "(", "argno", ")", ";", "if", "(", "actual", "==", "error_mark_node", ")", "return", "NUM_TYPE_SUFFIXES", ";", "if", "(", "INTEGRAL_TYPE_P", "(", "actual", ")", ")", "{", "bool", "uns_p", "=", "TYPE_UNSIGNED", "(", "actual", ")", ";", "if", "(", "TYPE_PRECISION", "(", "actual", ")", "<", "32", ")", "return", "TYPE_SUFFIX_s32", ";", "if", "(", "TYPE_PRECISION", "(", "actual", ")", "==", "32", ")", "return", "uns_p", "?", "TYPE_SUFFIX_u32", ":", "TYPE_SUFFIX_s32", ";", "if", "(", "TYPE_PRECISION", "(", "actual", ")", "==", "64", ")", "return", "uns_p", "?", "TYPE_SUFFIX_u64", ":", "TYPE_SUFFIX_s64", ";", "}", "error_at", "(", "location", ",", "\"passing %qT to argument %d of %qE, which expects\"", "\" a 32-bit or 64-bit integer type\"", ",", "actual", ",", "argno", "+", "1", ",", "fndecl", ")", ";", "return", "NUM_TYPE_SUFFIXES", ";", "}", ""], "natrual_language": ["Require", "argument", "ARGNO", "to", "be", "a", "32-bit", "or", "64-bit", "scalar", "integer", "type", ".", "Return", "the", "associated", "type", "suffix", "on", "success", ",", "otherwise", "report", "an", "error", "and", "return", "NUM_TYPE_SUFFIXES", "."], "TS_V_token": ["aarch64", "32", "32", "64", "\"passing %qT to argument %d of %qE, which expects\"", "\" a 32-bit or 64-bit integer type\"", "1"], "File": "aarch64-sve-builtins", "Func": "infer_integer_scalar_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6633, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "getVectorIdxTy", "(", ")", "const", "override", "{", "return", "MVT", "::", "i32", ";", "}", ""], "natrual_language": ["Returns", "the", "type", "to", "be", "used", "for", "the", "index", "operand", "of", ":", "ISD", ":", ":INSERT_VECTOR_ELT", ",", "ISD", ":", ":EXTRACT_VECTOR_ELT", ",", "ISD", ":", ":INSERT_SUBVECTOR", ",", "and", "ISD", ":", ":EXTRACT_SUBVECTOR", "."], "TS_V_token": ["SystemZ", "MVT::i32"], "File": "SystemZISelLowering55", "Func": "getVectorIdxTy", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6634, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "pa_promote_function_mode", "(", "const_tree", "type", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ",", "int", "*", "punsignedp", "ATTRIBUTE_UNUSED", ",", "const_tree", "fntype", "ATTRIBUTE_UNUSED", ",", "int", "for_return", ")", "{", "if", "(", "for_return", "==", "0", ")", "return", "mode", ";", "return", "promote_mode", "(", "type", ",", "mode", ",", "punsignedp", ")", ";", "}", ""], "natrual_language": ["Promote", "the", "return", "value", ",", "but", "not", "the", "arguments", "."], "TS_V_token": ["pa", "0"], "File": "pa", "Func": "pa_promote_function_mode", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6635, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "mode_supports_vmx_dform", "(", "machine_mode", "mode", ")", "{", "return", "(", "(", "reg_addr", "[", "mode", "]", ".", "addr_mask", "[", "RELOAD_REG_VMX", "]", "&", "RELOAD_REG_OFFSET", ")", "!=", "0", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "have", "D-form", "addressing", "in", "altivec", "registers", "."], "TS_V_token": ["powerpcspe", "0"], "File": "powerpcspe", "Func": "mode_supports_vmx_dform", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6636, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "rs6000_cost_data", "::", "determine_suggested_unroll_factor", "(", "loop_vec_info", "loop_vinfo", ")", "{", "class", "loop", "*", "loop", "=", "LOOP_VINFO_LOOP", "(", "loop_vinfo", ")", ";", "if", "(", "loop", "->", "unroll", "==", "1", "||", "(", "OPTION_SET_P", "(", "flag_unroll_loops", ")", "&&", "!", "flag_unroll_loops", ")", "||", "(", "OPTION_SET_P", "(", "flag_unroll_all_loops", ")", "&&", "!", "flag_unroll_all_loops", ")", ")", "return", "1", ";", "unsigned", "int", "nstmts_nonldst", "=", "m_nstmts", "-", "m_nloads", "-", "m_nstores", ";", "if", "(", "nstmts_nonldst", "==", "0", ")", "return", "1", ";", "unsigned", "int", "reduc_factor", "=", "m_reduc_factor", ">", "1", "?", "m_reduc_factor", ":", "1", ";", "unsigned", "int", "issue_width", "=", "rs6000_vect_unroll_issue", ";", "unsigned", "int", "uf", "=", "CEIL", "(", "reduc_factor", "*", "issue_width", ",", "nstmts_nonldst", ")", ";", "uf", "=", "MIN", "(", "(", "unsigned", "int", ")", "rs6000_vect_unroll_limit", ",", "uf", ")", ";", "uf", "=", "1", "<<", "ceil_log2", "(", "uf", ")", ";", "if", "(", "LOOP_VINFO_NITERS_KNOWN_P", "(", "loop_vinfo", ")", ")", "return", "uf", ";", "if", "(", "reduc_factor", ">", "(", "unsigned", "int", ")", "rs6000_vect_unroll_reduc_threshold", "||", "m_gather_load", ")", "return", "uf", ";", "HOST_WIDE_INT", "est_niter", "=", "get_estimated_loop_iterations_int", "(", "loop", ")", ";", "unsigned", "int", "vf", "=", "vect_vf_for_cost", "(", "loop_vinfo", ")", ";", "unsigned", "int", "unrolled_vf", "=", "vf", "*", "uf", ";", "if", "(", "est_niter", "==", "-", "1", "||", "est_niter", "<", "unrolled_vf", ")", "return", "1", ";", "else", "{", "unsigned", "int", "epil_niter_unr", "=", "est_niter", "%", "unrolled_vf", ";", "unsigned", "int", "epil_niter", "=", "est_niter", "%", "vf", ";", "if", "(", "LOOP_VINFO_CAN_USE_PARTIAL_VECTORS_P", "(", "loop_vinfo", ")", "&&", "epil_niter_unr", "<=", "vf", ")", "return", "uf", ";", "else", "if", "(", "!", "LOOP_VINFO_CAN_USE_PARTIAL_VECTORS_P", "(", "loop_vinfo", ")", "&&", "epil_niter_unr", "<=", "epil_niter", ")", "return", "uf", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["Determine", "suggested", "unroll", "factor", "by", "considering", "some", "below", "factors", ":", "-", "unroll", "option/pragma", "which", "can", "disable", "unrolling", "for", "this", "loop", ";", "-", "simple", "hardware", "resource", "model", "for", "non", "memory", "vector", "insns", ";", "-", "aggressive", "heuristics", "when", "iteration", "count", "is", "unknown", ":", "-", "reduction", "case", "to", "break", "cross", "iteration", "dependency", ";", "-", "emulated", "gather", "load", ";", "-", "estimated", "iteration", "count", "when", "iteration", "count", "is", "unknown", ";"], "TS_V_token": ["rs6000", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1"], "File": "rs60001", "Func": "determine_suggested_unroll_factor", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6637, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsMCCodeEmitter", "::", "getBranchTargetOpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ">>", "2", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"getBranchTargetOpValue expects only expressions or immediates\"", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "Expr", ",", "MCFixupKind", "(", "Mips", "::", "fixup_Mips_PC16", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "."], "TS_V_token": ["Mips", "Mips", "2", "\"getBranchTargetOpValue expects only expressions or immediates\"", "0", "Mips::fixup_Mips_PC16", "0"], "File": "MipsMCCodeEmitter55", "Func": "getBranchTargetOpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6638, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZInstrInfo", "::", "insertSelect", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DstReg", ",", "ArrayRef", "<", "MachineOperand", ">", "Pred", ",", "unsigned", "TrueReg", ",", "unsigned", "FalseReg", ")", "const", "{", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "MRI", ".", "getRegClass", "(", "DstReg", ")", ";", "assert", "(", "Pred", ".", "size", "(", ")", "==", "2", "&&", "\"Invalid condition\"", ")", ";", "unsigned", "CCValid", "=", "Pred", "[", "0", "]", ".", "getImm", "(", ")", ";", "unsigned", "CCMask", "=", "Pred", "[", "1", "]", ".", "getImm", "(", ")", ";", "unsigned", "Opc", ";", "if", "(", "SystemZ", "::", "GRX32BitRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "if", "(", "STI", ".", "hasMiscellaneousExtensions3", "(", ")", ")", "Opc", "=", "SystemZ", "::", "SELRMux", ";", "else", "if", "(", "STI", ".", "hasLoadStoreOnCond2", "(", ")", ")", "Opc", "=", "SystemZ", "::", "LOCRMux", ";", "else", "{", "Opc", "=", "SystemZ", "::", "LOCR", ";", "MRI", ".", "constrainRegClass", "(", "DstReg", ",", "&", "SystemZ", "::", "GR32BitRegClass", ")", ";", "Register", "TReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "SystemZ", "::", "GR32BitRegClass", ")", ";", "Register", "FReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "SystemZ", "::", "GR32BitRegClass", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "TReg", ")", ".", "addReg", "(", "TrueReg", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "FReg", ")", ".", "addReg", "(", "FalseReg", ")", ";", "TrueReg", "=", "TReg", ";", "FalseReg", "=", "FReg", ";", "}", "}", "else", "if", "(", "SystemZ", "::", "GR64BitRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "if", "(", "STI", ".", "hasMiscellaneousExtensions3", "(", ")", ")", "Opc", "=", "SystemZ", "::", "SELGR", ";", "else", "Opc", "=", "SystemZ", "::", "LOCGR", ";", "}", "else", "llvm_unreachable", "(", "\"Invalid register class\"", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DstReg", ")", ".", "addReg", "(", "FalseReg", ")", ".", "addReg", "(", "TrueReg", ")", ".", "addImm", "(", "CCValid", ")", ".", "addImm", "(", "CCMask", ")", ";", "}", ""], "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": ["SystemZ", "SystemZ", "2", "\"Invalid condition\"", "0", "1", "SystemZ::GRX32BitRegClass", "SystemZ::SELRMux", "SystemZ::LOCRMux", "SystemZ::LOCR", "SystemZ::GR32BitRegClass", "SystemZ::GR32BitRegClass", "SystemZ::GR32BitRegClass", "SystemZ::GR64BitRegClass", "SystemZ::SELGR", "SystemZ::LOCGR", "\"Invalid register class\""], "File": "SystemZInstrInfo19", "Func": "insertSelect", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6639, "Length": 323, "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": 6640, "Length": 175, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "mips_get_reg_raw_mode", "(", "int", "regno", ")", "{", "if", "(", "TARGET_FLOATXX", "&&", "FP_REG_P", "(", "regno", ")", ")", "return", "DFmode", ";", "return", "default_get_reg_raw_mode", "(", "regno", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_GET_RAW_RESULT_MODE", "and", "TARGET_GET_RAW_ARG_MODE", "."], "TS_V_token": ["mips"], "File": "mips4", "Func": "mips_get_reg_raw_mode", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6641, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "ARMBaseRegisterInfo", "::", "getPointerRegClass", "(", "unsigned", "Kind", ")", "const", "{", "return", "&", "ARM", "::", "GPRRegClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["ARM", "ARM", "ARM::GPRRegClass"], "File": "ARMBaseRegisterInfo20", "Func": "getPointerRegClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6642, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "ia64_invalid_conversion", "(", "const_tree", "fromtype", ",", "const_tree", "totype", ")", "{", "if", "(", "TYPE_MODE", "(", "fromtype", ")", "==", "RFmode", "&&", "TYPE_MODE", "(", "totype", ")", "!=", "RFmode", "&&", "TYPE_MODE", "(", "totype", ")", "!=", "VOIDmode", ")", "return", "N_", "(", "\"invalid conversion from %<__fpreg%>\"", ")", ";", "if", "(", "TYPE_MODE", "(", "totype", ")", "==", "RFmode", "&&", "TYPE_MODE", "(", "fromtype", ")", "!=", "RFmode", ")", "return", "N_", "(", "\"invalid conversion to %<__fpreg%>\"", ")", ";", "return", "NULL", ";", "}", ""], "natrual_language": ["Return", "the", "diagnostic", "message", "string", "if", "conversion", "from", "FROMTYPE", "to", "TOTYPE", "is", "not", "allowed", ",", "NULL", "otherwise", "."], "TS_V_token": ["ia64", "\"invalid conversion from %<__fpreg%>\"", "\"invalid conversion to %<__fpreg%>\""], "File": "ia64", "Func": "ia64_invalid_conversion", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6643, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "altivec_build_resolved_builtin", "(", "tree", "*", "args", ",", "int", "n", ",", "const", "struct", "altivec_builtin_types", "*", "desc", ")", "{", "tree", "impl_fndecl", "=", "rs6000_builtin_decls", "[", "desc", "->", "overloaded_code", "]", ";", "tree", "ret_type", "=", "rs6000_builtin_type", "(", "desc", "->", "ret_type", ")", ";", "tree", "argtypes", "=", "TYPE_ARG_TYPES", "(", "TREE_TYPE", "(", "impl_fndecl", ")", ")", ";", "tree", "arg_type", "[", "4", "]", ";", "tree", "call", ";", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n", ";", "i", "++", ")", "arg_type", "[", "i", "]", "=", "TREE_VALUE", "(", "argtypes", ")", ",", "argtypes", "=", "TREE_CHAIN", "(", "argtypes", ")", ";", "if", "(", "n", "==", "3", "&&", "desc", "->", "code", "==", "ALTIVEC_BUILTIN_VEC_VCMPGE_P", "&&", "desc", "->", "overloaded_code", "!=", "ALTIVEC_BUILTIN_VCMPGEFP_P", "&&", "desc", "->", "overloaded_code", "!=", "VSX_BUILTIN_XVCMPGEDP_P", ")", "{", "std", "::", "swap", "(", "args", "[", "1", "]", ",", "args", "[", "2", "]", ")", ";", "std", "::", "swap", "(", "arg_type", "[", "1", "]", ",", "arg_type", "[", "2", "]", ")", ";", "args", "[", "0", "]", "=", "fold_build2", "(", "BIT_XOR_EXPR", ",", "TREE_TYPE", "(", "args", "[", "0", "]", ")", ",", "args", "[", "0", "]", ",", "build_int_cst", "(", "NULL_TREE", ",", "2", ")", ")", ";", "}", "switch", "(", "n", ")", "{", "case", "0", ":", "call", "=", "build_call_expr", "(", "impl_fndecl", ",", "0", ")", ";", "break", ";", "case", "1", ":", "call", "=", "build_call_expr", "(", "impl_fndecl", ",", "1", ",", "fully_fold_convert", "(", "arg_type", "[", "0", "]", ",", "args", "[", "0", "]", ")", ")", ";", "break", ";", "case", "2", ":", "call", "=", "build_call_expr", "(", "impl_fndecl", ",", "2", ",", "fully_fold_convert", "(", "arg_type", "[", "0", "]", ",", "args", "[", "0", "]", ")", ",", "fully_fold_convert", "(", "arg_type", "[", "1", "]", ",", "args", "[", "1", "]", ")", ")", ";", "break", ";", "case", "3", ":", "call", "=", "build_call_expr", "(", "impl_fndecl", ",", "3", ",", "fully_fold_convert", "(", "arg_type", "[", "0", "]", ",", "args", "[", "0", "]", ")", ",", "fully_fold_convert", "(", "arg_type", "[", "1", "]", ",", "args", "[", "1", "]", ")", ",", "fully_fold_convert", "(", "arg_type", "[", "2", "]", ",", "args", "[", "2", "]", ")", ")", ";", "break", ";", "case", "4", ":", "call", "=", "build_call_expr", "(", "impl_fndecl", ",", "4", ",", "fully_fold_convert", "(", "arg_type", "[", "0", "]", ",", "args", "[", "0", "]", ")", ",", "fully_fold_convert", "(", "arg_type", "[", "1", "]", ",", "args", "[", "1", "]", ")", ",", "fully_fold_convert", "(", "arg_type", "[", "2", "]", ",", "args", "[", "2", "]", ")", ",", "fully_fold_convert", "(", "arg_type", "[", "3", "]", ",", "args", "[", "3", "]", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "fold_convert", "(", "ret_type", ",", "call", ")", ";", "}", ""], "natrual_language": ["Build", "a", "tree", "for", "a", "function", "call", "to", "an", "Altivec", "non-overloaded", "builtin", ".", "The", "overloaded", "builtin", "that", "matched", "the", "types", "and", "args", "is", "described", "by", "DESC", ".", "The", "N", "arguments", "are", "given", "in", "ARGS", ",", "respectively", ".", "Actually", "the", "only", "thing", "it", "does", "is", "calling", "fold_convert", "on", "ARGS", ",", "with", "a", "small", "exception", "for", "vec_", "{", "all", ",", "any", "}", "_", "{", "ge", ",", "le", "}", "predicates", "."], "TS_V_token": ["rs6000", "4", "0", "3", "1", "2", "1", "2", "0", "0", "0", "2", "0", "0", "1", "1", "0", "0", "2", "2", "0", "0", "1", "1", "3", "3", "0", "0", "1", "1", "2", "2", "4", "4", "0", "0", "1", "1", "2", "2", "3", "3"], "File": "rs6000-c1", "Func": "altivec_build_resolved_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6644, "Length": 398, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "Thumb1RegisterInfo", "::", "getLargestLegalSuperClass", "(", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "if", "(", "ARM", "::", "tGPRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "return", "ARM", "::", "tGPRRegisterClass", ";", "return", "ARMBaseRegisterInfo", "::", "getLargestLegalSuperClass", "(", "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::tGPRRegClass", "ARM::tGPRRegisterClass", "ARM"], "File": "Thumb1RegisterInfo17", "Func": "getLargestLegalSuperClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6645, "Length": 39, "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": ["Kudeyar"], "File": "KudeyarTargetMachine", "Func": "getDataLayout", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6646, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCELFStreamer", "&", "getStreamer", "(", ")", "{", "return", "static_cast", "<", "MCELFStreamer", "&", ">", "(", "Streamer", ")", ";", "}", ""], "natrual_language": ["Return", "the", "output", "streamer", "for", "the", "assembler", "."], "TS_V_token": ["PowerPC"], "File": "PPCMCTargetDesc (2)", "Func": "getStreamer", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6647, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "init_cumulative_args", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "tree", "fntype", ",", "rtx", "libname", "ATTRIBUTE_UNUSED", ")", "{", "static", "CUMULATIVE_ARGS", "zero_cum", ";", "tree", "param", ",", "next_param", ";", "*", "cum", "=", "zero_cum", ";", "cum", "->", "prototype", "=", "(", "fntype", "&&", "TYPE_ARG_TYPES", "(", "fntype", ")", ")", ";", "for", "(", "param", "=", "fntype", "?", "TYPE_ARG_TYPES", "(", "fntype", ")", ":", "0", ";", "param", "!=", "0", ";", "param", "=", "next_param", ")", "{", "next_param", "=", "TREE_CHAIN", "(", "param", ")", ";", "if", "(", "next_param", "==", "0", "&&", "TREE_VALUE", "(", "param", ")", "!=", "void_type_node", ")", "cum", "->", "gp_reg_found", "=", "1", ";", "}", "}", ""], "natrual_language": ["Handle", "the", "INIT_CUMULATIVE_ARGS", "macro", ".", "Initialize", "a", "variable", "CUM", "of", "type", "CUMULATIVE_ARGS", "for", "a", "call", "to", "a", "function", "whose", "data", "type", "is", "FNTYPE", ".", "For", "a", "library", "call", ",", "FNTYPE", "is", "0", "."], "TS_V_token": ["mips", "0", "0", "0", "1"], "File": "mips3", "Func": "init_cumulative_args", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6648, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64TargetMachine", "::", "AArch64TargetMachine", "(", "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", ",", "bool", "LittleEndian", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "Options", ".", "MCOptions", ",", "LittleEndian", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "TT", ",", "RM", ")", ",", "getEffectiveAArch64CodeModel", "(", "TT", ",", "CM", ",", "JIT", ")", ",", "OL", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", ",", "isLittle", "(", "LittleEndian", ")", "{", "initAsmInfo", "(", ")", ";", "if", "(", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "{", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "this", "->", "Options", ".", "NoTrapAfterNoreturn", "=", "true", ";", "}", "if", "(", "getMCAsmInfo", "(", ")", "->", "usesWindowsCFI", "(", ")", ")", "{", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "}", "if", "(", "this", "->", "Options", ".", "TLSSize", "==", "0", ")", "this", "->", "Options", ".", "TLSSize", "=", "24", ";", "if", "(", "(", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Small", "||", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Kernel", ")", "&&", "this", "->", "Options", ".", "TLSSize", ">", "32", ")", "this", "->", "Options", ".", "TLSSize", "=", "32", ";", "else", "if", "(", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Tiny", "&&", "this", "->", "Options", ".", "TLSSize", ">", "24", ")", "this", "->", "Options", ".", "TLSSize", "=", "24", ";", "if", "(", "getOptLevel", "(", ")", "<=", "EnableGlobalISelAtO", "&&", "TT", ".", "getArch", "(", ")", "!=", "Triple", "::", "aarch64_32", "&&", "!", "(", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", "&&", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", ")", "{", "setGlobalISel", "(", "true", ")", ";", "setGlobalISelAbort", "(", "GlobalISelAbortMode", "::", "Disable", ")", ";", "}", "setMachineOutliner", "(", "true", ")", ";", "setSupportsDefaultOutlining", "(", "true", ")", ";", "}", ""], "natrual_language": ["Create", "an", "AArch64", "architecture", "model", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "0", "24", "32", "32", "24", "24"], "File": "AArch64TargetMachine46", "Func": "AArch64TargetMachine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6649, "Length": 301, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_use_pseudo_pic_reg", "(", "void", ")", "{", "if", "(", "(", "TARGET_64BIT", "&&", "(", "ix86_cmodel", "==", "CM_SMALL_PIC", "||", "TARGET_PECOFF", ")", ")", "||", "!", "flag_pic", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "1", "if", "pseudo", "register", "should", "be", "created", "and", "used", "to", "hold", "GOT", "address", "for", "PIC", "code", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_use_pseudo_pic_reg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6650, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMAsmPrinter", "::", "emitEndOfAsmFile", "(", "Module", "&", "M", ")", "{", "const", "Triple", "&", "TT", "=", "TM", ".", "getTargetTriple", "(", ")", ";", "if", "(", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "{", "const", "TargetLoweringObjectFileMachO", "&", "TLOFMacho", "=", "static_cast", "<", "const", "TargetLoweringObjectFileMachO", "&", ">", "(", "getObjFileLowering", "(", ")", ")", ";", "MachineModuleInfoMachO", "&", "MMIMacho", "=", "MMI", "->", "getObjFileInfo", "<", "MachineModuleInfoMachO", ">", "(", ")", ";", "MachineModuleInfoMachO", "::", "SymbolListTy", "Stubs", "=", "MMIMacho", ".", "GetGVStubList", "(", ")", ";", "if", "(", "!", "Stubs", ".", "empty", "(", ")", ")", "{", "OutStreamer", "->", "SwitchSection", "(", "TLOFMacho", ".", "getNonLazySymbolPointerSection", "(", ")", ")", ";", "emitAlignment", "(", "Align", "(", "4", ")", ")", ";", "for", "(", "auto", "&", "Stub", ":", "Stubs", ")", "emitNonLazySymbolPointer", "(", "*", "OutStreamer", ",", "Stub", ".", "first", ",", "Stub", ".", "second", ")", ";", "Stubs", ".", "clear", "(", ")", ";", "OutStreamer", "->", "AddBlankLine", "(", ")", ";", "}", "Stubs", "=", "MMIMacho", ".", "GetThreadLocalGVStubList", "(", ")", ";", "if", "(", "!", "Stubs", ".", "empty", "(", ")", ")", "{", "OutStreamer", "->", "SwitchSection", "(", "TLOFMacho", ".", "getThreadLocalPointerSection", "(", ")", ")", ";", "emitAlignment", "(", "Align", "(", "4", ")", ")", ";", "for", "(", "auto", "&", "Stub", ":", "Stubs", ")", "emitNonLazySymbolPointer", "(", "*", "OutStreamer", ",", "Stub", ".", "first", ",", "Stub", ".", "second", ")", ";", "Stubs", ".", "clear", "(", ")", ";", "OutStreamer", "->", "AddBlankLine", "(", ")", ";", "}", "OutStreamer", "->", "emitAssemblerFlag", "(", "MCAF_SubsectionsViaSymbols", ")", ";", "}", "MCTargetStreamer", "&", "TS", "=", "*", "OutStreamer", "->", "getTargetStreamer", "(", ")", ";", "ARMTargetStreamer", "&", "ATS", "=", "static_cast", "<", "ARMTargetStreamer", "&", ">", "(", "TS", ")", ";", "if", "(", "OptimizationGoals", ">", "0", "&&", "(", "Subtarget", "->", "isTargetAEABI", "(", ")", "||", "Subtarget", "->", "isTargetGNUAEABI", "(", ")", "||", "Subtarget", "->", "isTargetMuslAEABI", "(", ")", ")", ")", "ATS", ".", "emitAttribute", "(", "ARMBuildAttrs", "::", "ABI_optimization_goals", ",", "OptimizationGoals", ")", ";", "OptimizationGoals", "=", "-", "1", ";", "ATS", ".", "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": ["ARM", "ARM", "4", "4", "ARM", "ARM", "0", "ARMBuildAttrs::ABI_optimization_goals", "1"], "File": "ARMAsmPrinter", "Func": "emitEndOfAsmFile", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6651, "Length": 288, "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": 6652, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "rs6000_darwin64_struct_check_p", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "return", "rs6000_darwin64_abi", "&&", "(", "(", "mode", "==", "BLKmode", "&&", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", "&&", "int_size_in_bytes", "(", "type", ")", ">", "0", ")", "||", "(", "type", "&&", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", "&&", "int_size_in_bytes", "(", "type", ")", "==", "8", ")", ")", "?", "1", ":", "0", ";", "}", ""], "natrual_language": ["Check", "for", "an", "item", "that", "needs", "to", "be", "considered", "specially", "under", "the", "darwin", "64", "bit", "ABI", ".", "These", "are", "record", "types", "where", "the", "mode", "is", "BLK", "or", "the", "structure", "is", "8", "bytes", "in", "size", "."], "TS_V_token": ["rs6000", "0", "8", "1", "0"], "File": "rs6000-call", "Func": "rs6000_darwin64_struct_check_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6653, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "nds32_can_use_btgl_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", "'btgl", "'", "instruction", "can", "be", "used", "with", "IVAL", "."], "TS_V_token": ["nds32", "1"], "File": "nds32-predicates2", "Func": "nds32_can_use_btgl_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6654, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DEBUG_FUNCTION", "char", "*", "rs6000_debug_addr_mask", "(", "addr_mask_type", "mask", ",", "bool", "keep_spaces", ")", "{", "static", "char", "ret", "[", "8", "]", ";", "char", "*", "p", "=", "ret", ";", "if", "(", "(", "mask", "&", "RELOAD_REG_VALID", ")", "!=", "0", ")", "*", "p", "++", "=", "'v'", ";", "else", "if", "(", "keep_spaces", ")", "*", "p", "++", "=", "' '", ";", "if", "(", "(", "mask", "&", "RELOAD_REG_MULTIPLE", ")", "!=", "0", ")", "*", "p", "++", "=", "'m'", ";", "else", "if", "(", "keep_spaces", ")", "*", "p", "++", "=", "' '", ";", "if", "(", "(", "mask", "&", "RELOAD_REG_INDEXED", ")", "!=", "0", ")", "*", "p", "++", "=", "'i'", ";", "else", "if", "(", "keep_spaces", ")", "*", "p", "++", "=", "' '", ";", "if", "(", "(", "mask", "&", "RELOAD_REG_OFFSET", ")", "!=", "0", ")", "*", "p", "++", "=", "'o'", ";", "else", "if", "(", "keep_spaces", ")", "*", "p", "++", "=", "' '", ";", "if", "(", "(", "mask", "&", "RELOAD_REG_PRE_INCDEC", ")", "!=", "0", ")", "*", "p", "++", "=", "'+'", ";", "else", "if", "(", "keep_spaces", ")", "*", "p", "++", "=", "' '", ";", "if", "(", "(", "mask", "&", "RELOAD_REG_PRE_MODIFY", ")", "!=", "0", ")", "*", "p", "++", "=", "'+'", ";", "else", "if", "(", "keep_spaces", ")", "*", "p", "++", "=", "' '", ";", "if", "(", "(", "mask", "&", "RELOAD_REG_AND_M16", ")", "!=", "0", ")", "*", "p", "++", "=", "'&'", ";", "else", "if", "(", "keep_spaces", ")", "*", "p", "++", "=", "' '", ";", "*", "p", "=", "'\\0'", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Inner", "function", "printing", "just", "the", "address", "mask", "for", "a", "particular", "reload", "register", "class", "."], "TS_V_token": ["rs6000", "8", "0", "0", "0", "0", "0", "0", "0"], "File": "rs60004", "Func": "rs6000_debug_addr_mask", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6655, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mmix_asm_output_addr_vec_elt", "(", "FILE", "*", "stream", ",", "int", "value", ")", "{", "fprintf", "(", "stream", ",", "\"\\tOCTA L:%d\\n\"", ",", "value", ")", ";", "}", ""], "natrual_language": ["ASM_OUTPUT_ADDR_VEC_ELT", "."], "TS_V_token": ["mmix", "\"\\tOCTA L:%d\\n\""], "File": "mmix", "Func": "mmix_asm_output_addr_vec_elt", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6656, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86ATTInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "OS", ",", "StringRef", "Annot", ")", "{", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "OS", ")", ")", "printInstruction", "(", "MI", ",", "OS", ")", ";", "if", "(", "CommentStream", ")", "{", "printAnnotation", "(", "OS", ",", "Annot", ")", ";", "EmitAnyX86InstComments", "(", "MI", ",", "*", "CommentStream", ",", "getRegisterName", ")", ";", "}", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86ATTInstPrinter3", "Func": "printInst", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6657, "Length": 59, "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", "(", ")", ";", "unsigned", "SP", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "SP_64", ":", "Mips", "::", "SP", ";", "unsigned", "FP", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "FP_64", ":", "Mips", "::", "FP", ";", "unsigned", "ZERO", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "ZERO_64", ":", "Mips", "::", "ZERO", ";", "unsigned", "ADDu", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "DADDu", ":", "Mips", "::", "ADDu", ";", "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", "(", "MipsFI", "->", "callsEhReturn", "(", ")", ")", "{", "const", "TargetRegisterClass", "*", "RC", "=", "STI", ".", "isABI_N64", "(", ")", "?", "&", "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", ",", "ehDataReg", "(", "J", ")", ",", "MipsFI", "->", "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": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::SP_64", "Mips::SP", "Mips::FP_64", "Mips::FP", "Mips::ZERO_64", "Mips::ZERO", "Mips::DADDu", "Mips::ADDu", "0", "Mips", "Mips::GPR64RegClass", "Mips::GPR32RegClass", "0", "0", "4", "Mips"], "File": "MipsSEFrameLowering15", "Func": "emitEpilogue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6658, "Length": 370, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsSEFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MipsFunctionInfo", "*", "MipsFI", "=", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "MipsABIInfo", "ABI", "=", "STI", ".", "getABI", "(", ")", ";", "unsigned", "FP", "=", "ABI", ".", "GetFramePtr", "(", ")", ";", "unsigned", "BP", "=", "ABI", ".", "IsN64", "(", ")", "?", "Mips", "::", "S7_64", ":", "Mips", "::", "S7", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "setAliasRegs", "(", "MF", ",", "SavedRegs", ",", "FP", ")", ";", "if", "(", "hasBP", "(", "MF", ")", ")", "setAliasRegs", "(", "MF", ",", "SavedRegs", ",", "BP", ")", ";", "if", "(", "MipsFI", "->", "callsEhReturn", "(", ")", ")", "MipsFI", "->", "createEhDataRegsFI", "(", ")", ";", "if", "(", "MipsFI", "->", "isISR", "(", ")", ")", "MipsFI", "->", "createISRRegFI", "(", ")", ";", "if", "(", "ExpandPseudo", "(", "MF", ")", ".", "expand", "(", ")", ")", "{", "const", "TargetRegisterClass", "&", "RC", "=", "STI", ".", "hasMips64", "(", ")", "?", "Mips", "::", "GPR64RegClass", ":", "Mips", "::", "GPR32RegClass", ";", "int", "FI", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "CreateStackObject", "(", "TRI", "->", "getSpillSize", "(", "RC", ")", ",", "TRI", "->", "getSpillAlignment", "(", "RC", ")", ",", "false", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "FI", ")", ";", "}", "uint64_t", "MaxSPOffset", "=", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", "->", "getIncomingArgSize", "(", ")", "+", "estimateStackSize", "(", "MF", ")", ";", "if", "(", "isInt", "<", "16", ">", "(", "MaxSPOffset", ")", ")", "return", ";", "const", "TargetRegisterClass", "&", "RC", "=", "ABI", ".", "ArePtrs64bit", "(", ")", "?", "Mips", "::", "GPR64RegClass", ":", "Mips", "::", "GPR32RegClass", ";", "int", "FI", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "CreateStackObject", "(", "TRI", "->", "getSpillSize", "(", "RC", ")", ",", "TRI", "->", "getSpillAlignment", "(", "RC", ")", ",", "false", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "FI", ")", ";", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::S7_64", "Mips::S7", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::GPR64RegClass", "Mips::GPR32RegClass", "Mips", "16", "Mips::GPR64RegClass", "Mips::GPR32RegClass"], "File": "MipsSEFrameLowering19", "Func": "determineCalleeSaves", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6659, "Length": 308, "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", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "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", "(", ")", ")", ";", "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": "PPCFrameLowering31", "Func": "determineFrameLayout", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6660, "Length": 286, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToAddress", "(", "const", "CallLowering", "::", "ArgInfo", "&", "Arg", ",", "unsigned", "RegIndex", ",", "Register", "Addr", ",", "LLT", "MemTy", ",", "MachinePointerInfo", "&", "MPO", ",", "CCValAssign", "&", "VA", ")", "override", "{", "unsigned", "MaxSize", "=", "MemTy", ".", "getSizeInBytes", "(", ")", "*", "8", ";", "if", "(", "!", "Arg", ".", "IsFixed", ")", "MaxSize", "=", "0", ";", "Register", "ValVReg", "=", "Arg", ".", "Regs", "[", "RegIndex", "]", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "!=", "CCValAssign", "::", "LocInfo", "::", "FPExt", ")", "{", "MVT", "LocVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "MVT", "ValVT", "=", "VA", ".", "getValVT", "(", ")", ";", "if", "(", "VA", ".", "getValVT", "(", ")", "==", "MVT", "::", "i8", "||", "VA", ".", "getValVT", "(", ")", "==", "MVT", "::", "i16", ")", "{", "std", "::", "swap", "(", "ValVT", ",", "LocVT", ")", ";", "MemTy", "=", "LLT", "(", "VA", ".", "getValVT", "(", ")", ")", ";", "}", "ValVReg", "=", "extendRegister", "(", "ValVReg", ",", "VA", ",", "MaxSize", ")", ";", "}", "else", "{", "MemTy", "=", "LLT", "(", "VA", ".", "getValVT", "(", ")", ")", ";", "}", "assignValueToAddress", "(", "ValVReg", ",", "Addr", ",", "MemTy", ",", "MPO", ",", "VA", ")", ";", "}", ""], "natrual_language": ["An", "overload", "which", "takes", "an", "ArgInfo", "if", "additional", "information", "about", "the", "arg", "is", "needed", "."], "TS_V_token": ["AArch64", "8", "0", "MVT::i8", "MVT::i16"], "File": "AArch64CallLowering13", "Func": "assignValueToAddress", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6661, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "rs6000_register_move_cost", "(", "enum", "machine_mode", "mode", ",", "enum", "reg_class", "from", ",", "enum", "reg_class", "to", ")", "{", "if", "(", "reg_classes_intersect_p", "(", "to", ",", "GENERAL_REGS", ")", "||", "reg_classes_intersect_p", "(", "from", ",", "GENERAL_REGS", ")", ")", "{", "if", "(", "!", "reg_classes_intersect_p", "(", "to", ",", "GENERAL_REGS", ")", ")", "from", "=", "to", ";", "if", "(", "from", "==", "FLOAT_REGS", "||", "from", "==", "ALTIVEC_REGS", ")", "return", "(", "rs6000_memory_move_cost", "(", "mode", ",", "from", ",", "0", ")", "+", "rs6000_memory_move_cost", "(", "mode", ",", "GENERAL_REGS", ",", "0", ")", ")", ";", "else", "if", "(", "from", "==", "CR_REGS", ")", "return", "4", ";", "else", "return", "2", "*", "hard_regno_nregs", "[", "0", "]", "[", "mode", "]", ";", "}", "else", "if", "(", "reg_classes_intersect_p", "(", "to", ",", "from", ")", ")", "return", "mode", "==", "TFmode", "?", "4", ":", "2", ";", "else", "return", "(", "rs6000_register_move_cost", "(", "mode", ",", "GENERAL_REGS", ",", "to", ")", "+", "rs6000_register_move_cost", "(", "mode", ",", "from", ",", "GENERAL_REGS", ")", ")", ";", "}", ""], "natrual_language": ["A", "C", "expression", "returning", "the", "cost", "of", "moving", "data", "from", "a", "register", "of", "class", "CLASS1", "to", "one", "of", "CLASS2", "."], "TS_V_token": ["rs6000", "0", "0", "4", "2", "0", "4", "2"], "File": "rs60003", "Func": "rs6000_register_move_cost", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6662, "Length": 143, "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", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "SavedRegs", ".", "reset", "(", "PPC", "::", "VSRp26", ")", ";", "SavedRegs", ".", "reset", "(", "PPC", "::", "VSRp27", ")", ";", "SavedRegs", ".", "reset", "(", "PPC", "::", "VSRp28", ")", ";", "SavedRegs", ".", "reset", "(", "PPC", "::", "VSRp29", ")", ";", "SavedRegs", ".", "reset", "(", "PPC", "::", "VSRp30", ")", ";", "SavedRegs", ".", "reset", "(", "PPC", "::", "VSRp31", ")", ";", "PPCFunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", ";", "unsigned", "LR", "=", "RegInfo", "->", "getRARegister", "(", ")", ";", "FI", "->", "setMustSaveLR", "(", "MustSaveLR", "(", "MF", ",", "LR", ")", ")", ";", "SavedRegs", ".", "reset", "(", "LR", ")", ";", "int", "FPSI", "=", "FI", "->", "getFramePointerSaveIndex", "(", ")", ";", "const", "bool", "isPPC64", "=", "Subtarget", ".", "isPPC64", "(", ")", ";", "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", "(", "(", "SavedRegs", ".", "test", "(", "PPC", "::", "CR2", ")", "||", "SavedRegs", ".", "test", "(", "PPC", "::", "CR3", ")", "||", "SavedRegs", ".", "test", "(", "PPC", "::", "CR4", ")", ")", ")", "{", "const", "uint64_t", "SpillSize", "=", "4", ";", "const", "int64_t", "SpillOffset", "=", "Subtarget", ".", "isPPC64", "(", ")", "?", "8", ":", "Subtarget", ".", "isAIXABI", "(", ")", "?", "4", ":", "-", "4", ";", "int", "FrameIdx", "=", "MFI", ".", "CreateFixedObject", "(", "SpillSize", ",", "SpillOffset", ",", "true", ",", "false", ")", ";", "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::VSRp26", "PPC::VSRp27", "PPC::VSRp28", "PPC::VSRp29", "PPC::VSRp30", "PPC::VSRp31", "PPC", "PPC", "PPC", "PPC", "PPC", "8", "4", "PPC", "8", "4", "4", "8", "PPC", "PPC::X31", "PPC::R31", "PPC::R30", "0", "0", "1", "PPC::CR2", "PPC::CR3", "PPC::CR4", "4", "PPC", "8", "4", "4"], "File": "PPCFrameLowering34", "Func": "determineCalleeSaves", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6663, "Length": 485, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLoweringBase", "::", "LegalizeTypeAction", "X86TargetLowering", "::", "getPreferredVectorAction", "(", "EVT", "VT", ")", "const", "{", "if", "(", "VT", "==", "MVT", "::", "v32i1", "&&", "Subtarget", ".", "hasAVX512", "(", ")", "&&", "!", "Subtarget", ".", "hasBWI", "(", ")", ")", "return", "TypeSplitVector", ";", "if", "(", "ExperimentalVectorWideningLegalization", "&&", "VT", ".", "getVectorNumElements", "(", ")", "!=", "1", "&&", "VT", ".", "getVectorElementType", "(", ")", ".", "getSimpleVT", "(", ")", "!=", "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", "Func": "getPreferredVectorAction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6664, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCRegisterInfo", "::", "isFrameOffsetLegal", "(", "const", "MachineInstr", "*", "MI", ",", "Register", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "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", "(", ")", ";", "return", "MI", "->", "getOpcode", "(", ")", "==", "PPC", "::", "DBG_VALUE", "||", "MI", "->", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "STACKMAP", "||", "MI", "->", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "PATCHPOINT", "||", "(", "isInt", "<", "16", ">", "(", "Offset", ")", "&&", "(", "Offset", "%", "offsetMinAlign", "(", "*", "MI", ")", ")", "==", "0", ")", ";", "}", ""], "natrual_language": ["Determine", "whether", "a", "given", "base", "register", "plus", "offset", "immediate", "is", "encodable", "to", "resolve", "a", "frame", "index", "."], "TS_V_token": ["PowerPC", "PPC", "0", "\"Instr doesn't have FrameIndex operand!\"", "PPC::DBG_VALUE", "16", "0"], "File": "PPCRegisterInfo (2)3", "Func": "isFrameOffsetLegal", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6665, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "MipsOperand", "*", "CreateMem", "(", "unsigned", "Base", ",", "const", "MCExpr", "*", "Off", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{", "MipsOperand", "*", "Op", "=", "new", "MipsOperand", "(", "k_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": ["Mips", "Mips", "Mips", "Mips"], "File": "MipsAsmParser102", "Func": "CreateMem", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6666, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsMCCodeEmitter", "::", "getBranchTargetOpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ">>", "2", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"getBranchTargetOpValue expects only expressions or immediates\"", ")", ";", "const", "MCExpr", "*", "FixupExpression", "=", "MCBinaryExpr", "::", "createAdd", "(", "MO", ".", "getExpr", "(", ")", ",", "MCConstantExpr", "::", "create", "(", "-", "4", ",", "Ctx", ")", ",", "Ctx", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "FixupExpression", ",", "MCFixupKind", "(", "Mips", "::", "fixup_Mips_PC16", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "."], "TS_V_token": ["Mips", "Mips", "2", "\"getBranchTargetOpValue expects only expressions or immediates\"", "4", "0", "Mips::fixup_Mips_PC16", "0"], "File": "MipsMCCodeEmitter (2)", "Func": "getBranchTargetOpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6667, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmBackend", "::", "shouldForceRelocation", "(", "const", "MCAssembler", "&", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", ")", "{", "return", "Fixup", ".", "getKind", "(", ")", ">=", "FirstLiteralRelocationKind", ";", "}", ""], "natrual_language": ["Hook", "to", "check", "if", "a", "relocation", "is", "needed", "for", "some", "target", "specific", "reason", "."], "TS_V_token": ["X86", "X86"], "File": "X86AsmBackend (2)1", "Func": "shouldForceRelocation", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6668, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FixupBWInstPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "!", "FixupBWInsts", "||", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "this", "->", "MF", "=", "&", "MF", ";", "TII", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MLI", "=", "&", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "PSI", "=", "&", "getAnalysis", "<", "ProfileSummaryInfoWrapperPass", ">", "(", ")", ".", "getPSI", "(", ")", ";", "MBFI", "=", "(", "PSI", "&&", "PSI", "->", "hasProfileSummary", "(", ")", ")", "?", "&", "getAnalysis", "<", "LazyMachineBlockFrequencyInfoPass", ">", "(", ")", ".", "getBFI", "(", ")", ":", "nullptr", ";", "LiveRegs", ".", "init", "(", "TII", "->", "getRegisterInfo", "(", ")", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Start X86FixupBWInsts\\n\"", ";", ")", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "processBasicBlock", "(", "MF", ",", "MBB", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"End X86FixupBWInsts\\n\"", ";", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "\"Start X86FixupBWInsts\\n\"", "\"End X86FixupBWInsts\\n\""], "File": "X86FixupBWInsts10", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6669, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isAllOnes", "(", "SDValue", "V", ")", "{", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "V", ")", ";", "return", "C", "&&", "C", "->", "isAllOnesValue", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "value", "is", "all", "one", "bits", "."], "TS_V_token": ["X86"], "File": "X86ISelLowering (2)", "Func": "isAllOnes", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6670, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SSACCmpConv", "::", "isDeadDef", "(", "unsigned", "DstReg", ")", "{", "if", "(", "DstReg", "==", "AArch64", "::", "WZR", "||", "DstReg", "==", "AArch64", "::", "XZR", ")", "return", "true", ";", "if", "(", "!", "Register", "::", "isVirtualRegister", "(", "DstReg", ")", ")", "return", "false", ";", "return", "MRI", "->", "use_nodbg_empty", "(", "DstReg", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "instruction", "has", "a", "dead", "def", "."], "TS_V_token": ["AArch64", "AArch64::WZR", "AArch64::XZR"], "File": "AArch64ConditionalCompares1", "Func": "isDeadDef", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6671, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcInstrInfo", "::", "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", "==", "SP", "::", "IntRegsRegisterClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "else", "if", "(", "RC", "==", "SP", "::", "FPRegsRegisterClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDFri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "else", "if", "(", "RC", "==", "SP", "::", "DFPRegsRegisterClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDDFri", ")", ",", "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": ["Sparc", "Sparc", "SP::IntRegsRegisterClass", "SP::LDri", "0", "SP::FPRegsRegisterClass", "SP::LDFri", "0", "SP::DFPRegsRegisterClass", "SP::LDDFri", "0", "\"Can't load this register from stack slot\""], "File": "SparcInstrInfo16", "Func": "loadRegFromStackSlot", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6672, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "i386_pe_seh_unwind_emit", "(", "FILE", "*", "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", "(", "NOTE_P", "(", "insn", ")", "&&", "NOTE_KIND", "(", "insn", ")", "==", "NOTE_INSN_SWITCH_TEXT_SECTIONS", ")", "{", "rtx_insn", "*", "prev", "=", "prev_active_insn", "(", "insn", ")", ";", "if", "(", "prev", "&&", "(", "CALL_P", "(", "prev", ")", "||", "!", "insn_nothrow_p", "(", "prev", ")", ")", ")", "fputs", "(", "\"\\tnop\\n\"", ",", "out_file", ")", ";", "fputs", "(", "\"\\t.seh_endproc\\n\"", ",", "out_file", ")", ";", "seh", "->", "in_cold_section", "=", "true", ";", "return", ";", "}", "if", "(", "NOTE_P", "(", "insn", ")", "||", "!", "RTX_FRAME_RELATED_P", "(", "insn", ")", ")", "return", ";", "if", "(", "seh", "->", "after_prologue", ")", "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", "(", "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", "(", "out_file", ",", "seh", ",", "pat", ")", ";", "handled_one", "=", "true", ";", "break", ";", "default", ":", "break", ";", "}", "}", "if", "(", "handled_one", ")", "return", ";", "pat", "=", "PATTERN", "(", "insn", ")", ";", "found", ":", "seh_frame_related_expr", "(", "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", "\"\\tnop\\n\"", "\"\\t.seh_endproc\\n\"", "1", "0", "0", "0", "0", "0"], "File": "winnt", "Func": "i386_pe_seh_unwind_emit", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6673, "Length": 325, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "OperandMatchResultTy", "X86AsmParser", "::", "tryParseRegister", "(", "unsigned", "&", "RegNo", ",", "SMLoc", "&", "StartLoc", ",", "SMLoc", "&", "EndLoc", ")", "{", "bool", "Result", "=", "ParseRegister", "(", "RegNo", ",", "StartLoc", ",", "EndLoc", ",", "true", ")", ";", "bool", "PendingErrors", "=", "getParser", "(", ")", ".", "hasPendingError", "(", ")", ";", "getParser", "(", ")", ".", "clearPendingErrors", "(", ")", ";", "if", "(", "PendingErrors", ")", "return", "MatchOperand_ParseFail", ";", "if", "(", "Result", ")", "return", "MatchOperand_NoMatch", ";", "return", "MatchOperand_Success", ";", "}", ""], "natrual_language": ["tryParseRegister", "-", "parse", "one", "register", "if", "possible"], "TS_V_token": ["X86", "X86"], "File": "X86AsmParser (2)4", "Func": "tryParseRegister", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6674, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MINA32FrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["MINA32", "MINA32"], "File": "MINA32FrameLowering", "Func": "determineCalleeSaves", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6675, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "X86RegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["X86", "X86"], "File": "X86InstrInfo100", "Func": "getRegisterInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6676, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSection", "*", "MipsTargetObjectFile", "::", "getSectionForConstant", "(", "const", "DataLayout", "&", "DL", ",", "SectionKind", "Kind", ",", "const", "Constant", "*", "C", ",", "Align", "&", "Alignment", ")", "const", "{", "if", "(", "IsConstantInSmallSection", "(", "DL", ",", "C", ",", "*", "TM", ")", ")", "return", "SmallDataSection", ";", "return", "TargetLoweringObjectFileELF", "::", "getSectionForConstant", "(", "DL", ",", "Kind", ",", "C", ",", "Alignment", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constant", "with", "the", "SectionKind", ",", "return", "a", "section", "that", "it", "should", "be", "placed", "in", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsTargetObjectFile21", "Func": "getSectionForConstant", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6677, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_frame_pointer_required", "(", "void", ")", "{", "if", "(", "cfun", "->", "calls_alloca", ")", "return", "true", ";", "if", "(", "cfun", "->", "has_nonlocal_label", ")", "return", "true", ";", "if", "(", "TARGET_FLAT", ")", "return", "false", ";", "return", "!", "(", "crtl", "->", "is_leaf", "&&", "only_leaf_regs_used", "(", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FRAME_POINTER_REQUIRED", "."], "TS_V_token": ["sparc"], "File": "sparc4", "Func": "sparc_frame_pointer_required", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6678, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "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": ["ARM", "ARM"], "File": "ARMTargetMachine", "Func": "addGlobalInstructionSelect", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6679, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "getSubExpr", "(", ")", "const", "{", "return", "Expr", ";", "}", ""], "natrual_language": ["getSubExpr", "-", "Get", "the", "child", "of", "this", "expression", "."], "TS_V_token": ["VE"], "File": "VEMCExpr", "Func": "getSubExpr", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6680, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "section", "*", "arm_function_section", "(", "tree", "decl", ",", "enum", "node_frequency", "freq", ",", "bool", "startup", ",", "bool", "exit", ")", "{", "const", "char", "*", "section_name", ";", "section", "*", "sec", ";", "if", "(", "!", "decl", "||", "TREE_CODE", "(", "decl", ")", "!=", "FUNCTION_DECL", ")", "return", "default_function_section", "(", "decl", ",", "freq", ",", "startup", ",", "exit", ")", ";", "if", "(", "!", "target_pure_code", ")", "return", "default_function_section", "(", "decl", ",", "freq", ",", "startup", ",", "exit", ")", ";", "section_name", "=", "DECL_SECTION_NAME", "(", "decl", ")", ";", "if", "(", "!", "section_name", ")", "{", "section", "*", "default_sec", "=", "default_function_section", "(", "decl", ",", "freq", ",", "startup", ",", "exit", ")", ";", "if", "(", "default_sec", ")", "default_sec", "->", "common", ".", "flags", "|=", "SECTION_ARM_PURECODE", ";", "return", "default_sec", ";", "}", "sec", "=", "get_named_section", "(", "decl", ",", "section_name", ",", "0", ")", ";", "if", "(", "!", "sec", ")", "sec", "=", "get_named_section", "(", "decl", ",", "NULL", ",", "0", ")", ";", "sec", "->", "common", ".", "flags", "|=", "SECTION_ARM_PURECODE", ";", "return", "sec", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_ASM_FUNCTION_SECTION", "hook", ".", "If", "pure-code", "is", "passed", "as", "an", "option", ",", "make", "sure", "all", "functions", "are", "in", "sections", "that", "have", "the", "SHF_ARM_PURECODE", "attribute", "."], "TS_V_token": ["arm", "0", "0"], "File": "arm", "Func": "arm_function_section", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6681, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sh_struct_value_rtx", "(", "tree", "fndecl", ",", "int", "incoming", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_HITACHI", "||", "sh_attr_renesas_p", "(", "fndecl", ")", ")", "return", "NULL_RTX", ";", "return", "gen_rtx_REG", "(", "Pmode", ",", "2", ")", ";", "}", ""], "natrual_language": ["The", "Renesas", "calling", "convention", "does", "n't", "quite", "fit", "into", "this", "scheme", "since", "the", "address", "is", "passed", "like", "an", "invisible", "argument", ",", "but", "one", "that", "is", "always", "passed", "in", "memory", "."], "TS_V_token": ["sh", "2"], "File": "sh", "Func": "sh_struct_value_rtx", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6682, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "iq2000_annotate_frame_insn", "(", "rtx_insn", "*", "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": "iq2000", "Func": "iq2000_annotate_frame_insn", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6683, "Length": 37, "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_br24abs\"", ",", "6", ",", "24", ",", "0", "}", ",", "{", "\"fixup_ppc_brcond14abs\"", ",", "16", ",", "14", ",", "0", "}", ",", "{", "\"fixup_ppc_half16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_ppc_half16ds\"", ",", "0", ",", "14", ",", "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_br24abs\"", "6", "24", "0", "\"fixup_ppc_brcond14abs\"", "16", "14", "0", "\"fixup_ppc_half16\"", "0", "16", "0", "\"fixup_ppc_half16ds\"", "0", "14", "0", "\"fixup_ppc_nofixup\"", "0", "0", "0", "\"Invalid kind!\""], "File": "PPCAsmBackend12", "Func": "getFixupKindInfo", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6684, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_fp_comparison_codes", "(", "enum", "rtx_code", "code", ",", "enum", "rtx_code", "*", "bypass_code", ",", "enum", "rtx_code", "*", "first_code", ",", "enum", "rtx_code", "*", "second_code", ")", "{", "*", "first_code", "=", "code", ";", "*", "bypass_code", "=", "UNKNOWN", ";", "*", "second_code", "=", "UNKNOWN", ";", "switch", "(", "code", ")", "{", "case", "GT", ":", "case", "GE", ":", "case", "ORDERED", ":", "case", "UNORDERED", ":", "case", "UNEQ", ":", "case", "UNLT", ":", "case", "UNLE", ":", "case", "LTGT", ":", "break", ";", "case", "LT", ":", "*", "first_code", "=", "UNLT", ";", "*", "bypass_code", "=", "UNORDERED", ";", "break", ";", "case", "LE", ":", "*", "first_code", "=", "UNLE", ";", "*", "bypass_code", "=", "UNORDERED", ";", "break", ";", "case", "EQ", ":", "*", "first_code", "=", "UNEQ", ";", "*", "bypass_code", "=", "UNORDERED", ";", "break", ";", "case", "NE", ":", "*", "first_code", "=", "LTGT", ";", "*", "second_code", "=", "UNORDERED", ";", "break", ";", "case", "UNGE", ":", "*", "first_code", "=", "GE", ";", "*", "second_code", "=", "UNORDERED", ";", "break", ";", "case", "UNGT", ":", "*", "first_code", "=", "GT", ";", "*", "second_code", "=", "UNORDERED", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "!", "TARGET_IEEE_FP", ")", "{", "*", "second_code", "=", "UNKNOWN", ";", "*", "bypass_code", "=", "UNKNOWN", ";", "}", "}", ""], "natrual_language": ["Split", "comparison", "code", "CODE", "into", "comparisons", "we", "can", "do", "using", "branch", "instructions", ".", "BYPASS_CODE", "is", "comparison", "code", "for", "branch", "that", "will", "branch", "around", "FIRST_CODE", "and", "SECOND_CODE", ".", "If", "some", "of", "branches", "is", "not", "required", ",", "set", "value", "to", "UNKNOWN", ".", "We", "never", "require", "more", "than", "two", "branches", "."], "TS_V_token": ["i386"], "File": "i3863", "Func": "ix86_fp_comparison_codes", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6685, "Length": 184, "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", ")", "{", "NumNoNeedForFrame", "++", ";", "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": "PPCFrameLowering33", "Func": "determineFrameLayout", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6686, "Length": 270, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "*", "PPCInstrInfo", "::", "CreateTargetHazardRecognizer", "(", "const", "TargetSubtargetInfo", "*", "STI", ",", "const", "ScheduleDAG", "*", "DAG", ")", "const", "{", "unsigned", "Directive", "=", "static_cast", "<", "const", "PPCSubtarget", "*", ">", "(", "STI", ")", "->", "getDarwinDirective", "(", ")", ";", "if", "(", "Directive", "==", "PPC", "::", "DIR_440", "||", "Directive", "==", "PPC", "::", "DIR_A2", "||", "Directive", "==", "PPC", "::", "DIR_E500mc", "||", "Directive", "==", "PPC", "::", "DIR_E5500", ")", "{", "const", "InstrItineraryData", "*", "II", "=", "&", "static_cast", "<", "const", "PPCSubtarget", "*", ">", "(", "STI", ")", "->", "getInstrItineraryData", "(", ")", ";", "return", "new", "ScoreboardHazardRecognizer", "(", "II", ",", "DAG", ")", ";", "}", "return", "TargetInstrInfo", "::", "CreateTargetHazardRecognizer", "(", "STI", ",", "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": ["PowerPC", "PPC", "PPC", "PPC::DIR_440", "PPC::DIR_A2", "PPC::DIR_E500mc", "PPC::DIR_E5500", "PPC"], "File": "PPCInstrInfo1", "Func": "CreateTargetHazardRecognizer", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6687, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_emit_multi_reg_pop", "(", "unsigned", "long", "saved_regs_mask", ")", "{", "int", "num_regs", "=", "0", ";", "int", "i", ",", "j", ";", "rtx", "par", ";", "rtx", "dwarf", "=", "NULL_RTX", ";", "rtx", "tmp", ",", "reg", ";", "bool", "return_in_pc", "=", "saved_regs_mask", "&", "(", "1", "<<", "PC_REGNUM", ")", ";", "int", "offset_adj", ";", "int", "emit_update", ";", "offset_adj", "=", "return_in_pc", "?", "1", ":", "0", ";", "for", "(", "i", "=", "0", ";", "i", "<=", "LAST_ARM_REGNUM", ";", "i", "++", ")", "if", "(", "saved_regs_mask", "&", "(", "1", "<<", "i", ")", ")", "num_regs", "++", ";", "gcc_assert", "(", "num_regs", "&&", "num_regs", "<=", "16", ")", ";", "emit_update", "=", "(", "saved_regs_mask", "&", "(", "1", "<<", "SP_REGNUM", ")", ")", "?", "0", ":", "1", ";", "par", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "num_regs", "+", "emit_update", "+", "offset_adj", ")", ")", ";", "if", "(", "return_in_pc", ")", "XVECEXP", "(", "par", ",", "0", ",", "0", ")", "=", "ret_rtx", ";", "if", "(", "emit_update", ")", "{", "tmp", "=", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "4", "*", "num_regs", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "tmp", ")", "=", "1", ";", "XVECEXP", "(", "par", ",", "0", ",", "offset_adj", ")", "=", "tmp", ";", "}", "for", "(", "j", "=", "0", ",", "i", "=", "0", ";", "j", "<", "num_regs", ";", "i", "++", ")", "if", "(", "saved_regs_mask", "&", "(", "1", "<<", "i", ")", ")", "{", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "i", ")", ";", "if", "(", "(", "num_regs", "==", "1", ")", "&&", "emit_update", "&&", "!", "return_in_pc", ")", "{", "tmp", "=", "gen_frame_mem", "(", "SImode", ",", "gen_rtx_POST_INC", "(", "Pmode", ",", "stack_pointer_rtx", ")", ")", ";", "tmp", "=", "emit_insn", "(", "gen_rtx_SET", "(", "reg", ",", "tmp", ")", ")", ";", "REG_NOTES", "(", "tmp", ")", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "dwarf", ")", ";", "return", ";", "}", "tmp", "=", "gen_rtx_SET", "(", "reg", ",", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "4", "*", "j", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "tmp", ")", "=", "1", ";", "XVECEXP", "(", "par", ",", "0", ",", "j", "+", "emit_update", "+", "offset_adj", ")", "=", "tmp", ";", "if", "(", "i", "!=", "PC_REGNUM", ")", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "dwarf", ")", ";", "j", "++", ";", "}", "if", "(", "return_in_pc", ")", "par", "=", "emit_jump_insn", "(", "par", ")", ";", "else", "par", "=", "emit_insn", "(", "par", ")", ";", "REG_NOTES", "(", "par", ")", "=", "dwarf", ";", "if", "(", "!", "return_in_pc", ")", "arm_add_cfa_adjust_cfa_note", "(", "par", ",", "UNITS_PER_WORD", "*", "num_regs", ",", "stack_pointer_rtx", ",", "stack_pointer_rtx", ")", ";", "}", ""], "natrual_language": ["Generate", "and", "emit", "an", "insn", "pattern", "that", "we", "will", "recognize", "as", "a", "pop_multi", ".", "SAVED_REGS_MASK", "shows", "which", "registers", "need", "to", "be", "restored", ".", "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", "0", "1", "1", "0", "0", "1", "16", "1", "0", "1", "0", "0", "4", "1", "0", "0", "0", "1", "1", "4", "1", "0"], "File": "arm", "Func": "arm_emit_multi_reg_pop", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6688, "Length": 386, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "GlobalBaseReg", "=", "0", ";", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "if", "(", "!", "PPCSubTarget", ".", "isSVR4ABI", "(", ")", ")", "InsertVRSaveCode", "(", "MF", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC", "0", "PPC"], "File": "PPCISelDAGToDAG75", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6689, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_adjust_counter", "(", "rtx", "countreg", ",", "HOST_WIDE_INT", "value", ")", "{", "if", "(", "GET_MODE", "(", "countreg", ")", "==", "DImode", ")", "emit_insn", "(", "gen_adddi3", "(", "countreg", ",", "countreg", ",", "GEN_INT", "(", "-", "value", ")", ")", ")", ";", "else", "emit_insn", "(", "gen_addsi3", "(", "countreg", ",", "countreg", ",", "GEN_INT", "(", "-", "value", ")", ")", ")", ";", "}", ""], "natrual_language": ["Adjust", "COUNTER", "by", "the", "VALUE", "."], "TS_V_token": ["i386"], "File": "i3863", "Func": "ix86_adjust_counter", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6690, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sh_override_options_after_change", "(", "void", ")", "{", "if", "(", "align_loops", "==", "0", ")", "{", "if", "(", "TARGET_SH5", ")", "align_loops", "=", "8", ";", "else", "align_loops", "=", "optimize_size", "?", "2", ":", "4", ";", "}", "if", "(", "align_jumps", "==", "0", ")", "{", "if", "(", "TARGET_SHMEDIA", ")", "align_jumps", "=", "1", "<<", "CACHE_LOG", ";", "else", "align_jumps", "=", "2", ";", "}", "else", "if", "(", "align_jumps", "<", "(", "TARGET_SHMEDIA", "?", "4", ":", "2", ")", ")", "align_jumps", "=", "TARGET_SHMEDIA", "?", "4", ":", "2", ";", "if", "(", "align_functions", "==", "0", ")", "{", "if", "(", "TARGET_SHMEDIA", ")", "align_functions", "=", "optimize_size", "?", "FUNCTION_BOUNDARY", "/", "8", ":", "(", "1", "<<", "CACHE_LOG", ")", ";", "else", "align_functions", "=", "optimize_size", "?", "2", ":", "4", ";", "}", "if", "(", "TARGET_RELAX", ")", "{", "int", "min_align", "=", "align_loops", ">", "align_jumps", "?", "align_loops", ":", "align_jumps", ";", "if", "(", "min_align", "<", "4", ")", "min_align", "=", "4", ";", "if", "(", "align_functions", "<", "min_align", ")", "align_functions", "=", "min_align", ";", "}", "}", ""], "natrual_language": ["Implement", "targetm.override_options_after_change", "."], "TS_V_token": ["sh", "0", "8", "2", "4", "0", "1", "2", "4", "2", "4", "2", "0", "8", "1", "2", "4", "4", "4"], "File": "sh5", "Func": "sh_override_options_after_change", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6691, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"ARM constant island placement and branch shortening pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"ARM constant island placement and branch shortening pass\""], "File": "ARMConstantIslandPass24", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6692, "Length": 11, "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": ["LEG"], "File": "LEGAsmBackend", "Func": "mayNeedRelaxation", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6693, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Inserter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "MipsFunctionInfo", "*", "MipsFI", "=", "F", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "if", "(", "(", "TM", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", ")", "||", "(", "!", "MipsFI", "->", "globalBaseRegFixed", "(", ")", ")", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "int", "FI", "=", "MipsFI", "->", "getGPFI", "(", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "MFI", "=", "F", ".", "begin", "(", ")", ",", "MFE", "=", "F", ".", "end", "(", ")", ";", "MFI", "!=", "MFE", ";", "++", "MFI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MFI", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MFI", "->", "begin", "(", ")", ";", "if", "(", "MBB", ".", "isLandingPad", "(", ")", ")", "{", "for", "(", ";", "I", "->", "getOpcode", "(", ")", "!=", "TargetOpcode", "::", "EH_LABEL", ";", "++", "I", ")", ";", "++", "I", ";", "DebugLoc", "dl", "=", "I", "!=", "MBB", ".", "end", "(", ")", "?", "I", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "TII", "->", "get", "(", "Mips", "::", "LW", ")", ",", "Mips", "::", "GP", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "Changed", "=", "true", ";", "}", "while", "(", "I", "!=", "MFI", "->", "end", "(", ")", ")", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "Mips", "::", "JALR", ")", "{", "++", "I", ";", "continue", ";", "}", "DebugLoc", "dl", "=", "I", "->", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "++", "I", ",", "dl", ",", "TII", "->", "get", "(", "Mips", "::", "LW", ")", ",", "Mips", "::", "GP", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "Changed", "=", "true", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::LW", "Mips::GP", "0", "Mips::JALR", "Mips::LW", "Mips::GP", "0"], "File": "MipsEmitGPRestore", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6694, "Length": 279, "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": 6695, "Length": 391, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_call", "(", "rtx", "*", "operands", ")", "{", "gcc_assert", "(", "!", "arm_arch5", ")", ";", "if", "(", "REGNO", "(", "operands", "[", "0", "]", ")", "==", "LR_REGNUM", ")", "{", "operands", "[", "0", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "IP_REGNUM", ")", ";", "output_asm_insn", "(", "\"mov%?\\t%0, %|lr\"", ",", "operands", ")", ";", "}", "output_asm_insn", "(", "\"mov%?\\t%|lr, %|pc\"", ",", "operands", ")", ";", "if", "(", "TARGET_INTERWORK", "||", "arm_arch4t", ")", "output_asm_insn", "(", "\"bx%?\\t%0\"", ",", "operands", ")", ";", "else", "output_asm_insn", "(", "\"mov%?\\t%|pc, %0\"", ",", "operands", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["INSN", "is", "either", "a", "function", "call", "or", "a", "millicode", "call", ".", "It", "may", "have", "an", "unconditional", "jump", "in", "its", "delay", "slot", ".", "CALL_DEST", "is", "the", "routine", "we", "are", "calling", "."], "TS_V_token": ["arm", "0", "0", "\"mov%?\\t%0, %|lr\"", "\"mov%?\\t%|lr, %|pc\"", "\"bx%?\\t%0\"", "\"mov%?\\t%|pc, %0\"", "\"\""], "File": "arm3", "Func": "output_call", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6696, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "output_indirect_thunk", "(", "enum", "indirect_thunk_prefix", "need_prefix", ",", "unsigned", "int", "regno", ")", "{", "char", "indirectlabel1", "[", "32", "]", ";", "char", "indirectlabel2", "[", "32", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "indirectlabel1", ",", "INDIRECT_LABEL", ",", "indirectlabelno", "++", ")", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "indirectlabel2", ",", "INDIRECT_LABEL", ",", "indirectlabelno", "++", ")", ";", "if", "(", "need_prefix", "==", "indirect_thunk_prefix_bnd", ")", "fputs", "(", "\"\\tbnd call\\t\"", ",", "asm_out_file", ")", ";", "else", "fputs", "(", "\"\\tcall\\t\"", ",", "asm_out_file", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "indirectlabel2", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "indirectlabel1", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tpause\\n\\tlfence\\n\"", ")", ";", "fputs", "(", "\"\\tjmp\\t\"", ",", "asm_out_file", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "indirectlabel1", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "indirectlabel2", ")", ";", "if", "(", "regno", "!=", "INVALID_REGNUM", ")", "{", "rtx", "xops", "[", "2", "]", ";", "xops", "[", "0", "]", "=", "gen_rtx_MEM", "(", "word_mode", ",", "stack_pointer_rtx", ")", ";", "xops", "[", "1", "]", "=", "gen_rtx_REG", "(", "word_mode", ",", "regno", ")", ";", "output_asm_insn", "(", "\"mov\\t{%1, %0|%0, %1}\"", ",", "xops", ")", ";", "}", "else", "{", "rtx", "xops", "[", "2", "]", ";", "xops", "[", "0", "]", "=", "stack_pointer_rtx", ";", "xops", "[", "1", "]", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "UNITS_PER_WORD", ")", ";", "output_asm_insn", "(", "\"lea\\t{%E1, %0|%0, %E1}\"", ",", "xops", ")", ";", "}", "if", "(", "need_prefix", "==", "indirect_thunk_prefix_bnd", ")", "fputs", "(", "\"\\tbnd ret\\n\"", ",", "asm_out_file", ")", ";", "else", "fputs", "(", "\"\\tret\\n\"", ",", "asm_out_file", ")", ";", "}", ""], "natrual_language": ["Output", "a", "call", "and", "return", "thunk", "for", "indirect", "branch", ".", "If", "BND_P", "is", "true", ",", "the", "BND", "prefix", "is", "needed", ".", "If", "REGNO", "!", "=", "-1", ",", "the", "function", "address", "is", "in", "REGNO", "and", "the", "call", "and", "return", "thunk", "looks", "like", ":", "call", "L2", "L1", ":", "pause", "lfence", "jmp", "L1", "L2", ":", "mov", "%", "REG", ",", "(", "%", "sp", ")", "ret", "Otherwise", ",", "the", "function", "address", "is", "on", "the", "top", "of", "stack", "and", "the", "call", "and", "return", "thunk", "looks", "like", ":", "call", "L2", "L1", ":", "pause", "lfence", "jmp", "L1", "L2", ":", "lea", "WORD_SIZE", "(", "%", "sp", ")", ",", "%", "sp", "ret"], "TS_V_token": ["i386", "32", "32", "\"\\tbnd call\\t\"", "\"\\tcall\\t\"", "\"\\tpause\\n\\tlfence\\n\"", "\"\\tjmp\\t\"", "2", "0", "1", "\"mov\\t{%1, %0|%0, %1}\"", "2", "0", "1", "\"lea\\t{%E1, %0|%0, %E1}\"", "\"\\tbnd ret\\n\"", "\"\\tret\\n\""], "File": "i3867", "Func": "output_indirect_thunk", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6697, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "opt_machine_mode", "aarch64_array_mode", "(", "machine_mode", "mode", ",", "unsigned", "HOST_WIDE_INT", "nelems", ")", "{", "if", "(", "aarch64_classify_vector_mode", "(", "mode", ")", "==", "VEC_SVE_DATA", "&&", "IN_RANGE", "(", "nelems", ",", "2", ",", "4", ")", ")", "return", "mode_for_vector", "(", "GET_MODE_INNER", "(", "mode", ")", ",", "GET_MODE_NUNITS", "(", "mode", ")", "*", "nelems", ")", ";", "return", "opt_machine_mode", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "target", "hook", "TARGET_ARRAY_MODE", "."], "TS_V_token": ["aarch64", "2", "4"], "File": "aarch64", "Func": "aarch64_array_mode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6698, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ")", "const", "{", "OS", ".", "write_zeros", "(", "Count", "%", "4", ")", ";", "Count", "/=", "4", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "!=", "Count", ";", "++", "i", ")", "support", "::", "endian", "::", "write", "<", "uint32_t", ">", "(", "OS", ",", "0xd503201f", ",", "Endian", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["AArch64", "AArch64", "4", "4", "0", "support::endian", "0xd503201f"], "File": "AArch64AsmBackend1", "Func": "writeNopData", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6699, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "preferZeroCompareBranch", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "heuristic", "to", "prefer", "icmp", "eq", "zero", "should", "be", "used", "in", "code", "gen", "prepare", "."], "TS_V_token": ["ARM"], "File": "ARMISelLowering", "Func": "preferZeroCompareBranch", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6700, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86RegisterInfo", "::", "canRealignStack", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "!", "TargetRegisterInfo", "::", "canRealignStack", "(", "MF", ")", ")", "return", "false", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "MachineRegisterInfo", "*", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "if", "(", "!", "MRI", "->", "canReserveReg", "(", "FramePtr", ")", ")", "return", "false", ";", "if", "(", "CantUseSP", "(", "MFI", ")", ")", "return", "MRI", "->", "canReserveReg", "(", "BasePtr", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["True", "if", "the", "stack", "can", "be", "realigned", "for", "the", "target", "."], "TS_V_token": ["X86", "X86"], "File": "X86RegisterInfo (2)1", "Func": "canRealignStack", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6701, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZXPLINKFrameLowering", "::", "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": ["SystemZ", "SystemZ"], "File": "SystemZFrameLowering10", "Func": "hasFP", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6702, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "getPPCSubtarget", "(", ")", ".", "hasVSX", "(", ")", ")", "{", "initializePPCVSXFMAMutatePass", "(", "*", "PassRegistry", "::", "getPassRegistry", "(", ")", ")", ";", "insertPass", "(", "VSXFMAMutateEarly", "?", "&", "RegisterCoalescerID", ":", "&", "MachineSchedulerID", ",", "&", "PPCVSXFMAMutateID", ")", ";", "}", "return", "false", ";", "}", ""], "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"], "File": "PPCTargetMachine52", "Func": "addPreRegAlloc", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6703, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "thumb_load_double_from_address", "(", "rtx", "*", "operands", ")", "{", "rtx", "addr", ";", "rtx", "base", ";", "rtx", "offset", ";", "rtx", "arg1", ";", "rtx", "arg2", ";", "gcc_assert", "(", "REG_P", "(", "operands", "[", "0", "]", ")", ")", ";", "gcc_assert", "(", "MEM_P", "(", "operands", "[", "1", "]", ")", ")", ";", "addr", "=", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ";", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "REG", ":", "operands", "[", "2", "]", "=", "adjust_address", "(", "operands", "[", "1", "]", ",", "SImode", ",", "4", ")", ";", "if", "(", "REGNO", "(", "operands", "[", "0", "]", ")", "==", "REGNO", "(", "addr", ")", ")", "{", "output_asm_insn", "(", "\"ldr\\t%H0, %2\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"ldr\\t%0, %1\"", ",", "operands", ")", ";", "}", "else", "{", "output_asm_insn", "(", "\"ldr\\t%0, %1\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"ldr\\t%H0, %2\"", ",", "operands", ")", ";", "}", "break", ";", "case", "CONST", ":", "operands", "[", "2", "]", "=", "adjust_address", "(", "operands", "[", "1", "]", ",", "SImode", ",", "4", ")", ";", "output_asm_insn", "(", "\"ldr\\t%0, %1\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"ldr\\t%H0, %2\"", ",", "operands", ")", ";", "break", ";", "case", "PLUS", ":", "arg1", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "arg2", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "if", "(", "CONSTANT_P", "(", "arg1", ")", ")", "base", "=", "arg2", ",", "offset", "=", "arg1", ";", "else", "base", "=", "arg1", ",", "offset", "=", "arg2", ";", "gcc_assert", "(", "REG_P", "(", "base", ")", ")", ";", "if", "(", "REG_P", "(", "offset", ")", ")", "{", "int", "reg_offset", "=", "REGNO", "(", "offset", ")", ";", "int", "reg_base", "=", "REGNO", "(", "base", ")", ";", "int", "reg_dest", "=", "REGNO", "(", "operands", "[", "0", "]", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\tadd\\t%r, %r, %r\"", ",", "reg_dest", "+", "1", ",", "reg_base", ",", "reg_offset", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\tldr\\t%r, [%r, #0]\"", ",", "reg_dest", ",", "reg_dest", "+", "1", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\tldr\\t%r, [%r, #4]\"", ",", "reg_dest", "+", "1", ",", "reg_dest", "+", "1", ")", ";", "}", "else", "{", "operands", "[", "2", "]", "=", "adjust_address", "(", "operands", "[", "1", "]", ",", "SImode", ",", "4", ")", ";", "if", "(", "REGNO", "(", "operands", "[", "0", "]", ")", "==", "REGNO", "(", "base", ")", ")", "{", "output_asm_insn", "(", "\"ldr\\t%H0, %2\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"ldr\\t%0, %1\"", ",", "operands", ")", ";", "}", "else", "{", "output_asm_insn", "(", "\"ldr\\t%0, %1\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"ldr\\t%H0, %2\"", ",", "operands", ")", ";", "}", "}", "break", ";", "case", "LABEL_REF", ":", "operands", "[", "2", "]", "=", "adjust_address", "(", "operands", "[", "1", "]", ",", "SImode", ",", "4", ")", ";", "output_asm_insn", "(", "\"ldr\\t%H0, %2\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"ldr\\t%0, %1\"", ",", "operands", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "\"\"", ";", "}", ""], "natrual_language": ["Handle", "the", "case", "of", "a", "double", "word", "load", "into", "a", "low", "register", "from", "a", "computed", "memory", "address", ".", "The", "computed", "address", "may", "involve", "a", "register", "which", "is", "overwritten", "by", "the", "load", "."], "TS_V_token": ["arm", "0", "1", "1", "0", "2", "1", "4", "0", "\"ldr\\t%H0, %2\"", "\"ldr\\t%0, %1\"", "\"ldr\\t%0, %1\"", "\"ldr\\t%H0, %2\"", "2", "1", "4", "\"ldr\\t%0, %1\"", "\"ldr\\t%H0, %2\"", "0", "1", "0", "\"\\tadd\\t%r, %r, %r\"", "1", "\"\\tldr\\t%r, [%r, #0]\"", "1", "\"\\tldr\\t%r, [%r, #4]\"", "1", "1", "2", "1", "4", "0", "\"ldr\\t%H0, %2\"", "\"ldr\\t%0, %1\"", "\"ldr\\t%0, %1\"", "\"ldr\\t%H0, %2\"", "2", "1", "4", "\"ldr\\t%H0, %2\"", "\"ldr\\t%0, %1\"", "\"\""], "File": "arm", "Func": "thumb_load_double_from_address", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6704, "Length": 422, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ia64_expand_vecint_cmov", "(", "rtx", "operands", "[", "]", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "operands", "[", "3", "]", ")", ";", "bool", "negate", ";", "rtx", "cmp", ",", "x", ",", "ot", ",", "of", ";", "cmp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "negate", "=", "ia64_expand_vecint_compare", "(", "code", ",", "mode", ",", "cmp", ",", "operands", "[", "4", "]", ",", "operands", "[", "5", "]", ")", ";", "ot", "=", "operands", "[", "1", "+", "negate", "]", ";", "of", "=", "operands", "[", "2", "-", "negate", "]", ";", "if", "(", "ot", "==", "CONST0_RTX", "(", "mode", ")", ")", "{", "if", "(", "of", "==", "CONST0_RTX", "(", "mode", ")", ")", "{", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "ot", ")", ";", "return", ";", "}", "x", "=", "gen_rtx_NOT", "(", "mode", ",", "cmp", ")", ";", "x", "=", "gen_rtx_AND", "(", "mode", ",", "x", ",", "of", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "operands", "[", "0", "]", ",", "x", ")", ")", ";", "}", "else", "if", "(", "of", "==", "CONST0_RTX", "(", "mode", ")", ")", "{", "x", "=", "gen_rtx_AND", "(", "mode", ",", "cmp", ",", "ot", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "operands", "[", "0", "]", ",", "x", ")", ")", ";", "}", "else", "{", "rtx", "t", ",", "f", ";", "t", "=", "gen_reg_rtx", "(", "mode", ")", ";", "x", "=", "gen_rtx_AND", "(", "mode", ",", "cmp", ",", "operands", "[", "1", "+", "negate", "]", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "t", ",", "x", ")", ")", ";", "f", "=", "gen_reg_rtx", "(", "mode", ")", ";", "x", "=", "gen_rtx_NOT", "(", "mode", ",", "cmp", ")", ";", "x", "=", "gen_rtx_AND", "(", "mode", ",", "x", ",", "operands", "[", "2", "-", "negate", "]", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "f", ",", "x", ")", ")", ";", "x", "=", "gen_rtx_IOR", "(", "mode", ",", "t", ",", "f", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "operands", "[", "0", "]", ",", "x", ")", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "an", "integral", "vector", "conditional", "move", "."], "TS_V_token": ["ia64", "0", "3", "4", "5", "1", "2", "0", "0", "0", "1", "2", "0"], "File": "ia64", "Func": "ia64_expand_vecint_cmov", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6705, "Length": 301, "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", "(", "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": "rs60005", "Func": "rs6000_emit_move_from_cr", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6706, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "insert", "(", "unsigned", "BBNum", ",", "BasicBlockInfo", "BBI", ")", "{", "BBInfo", ".", "insert", "(", "BBInfo", ".", "begin", "(", ")", "+", "BBNum", ",", "BBI", ")", ";", "}", ""], "natrual_language": ["insert", "-", "Append", "entry", "to", "the", "vector", "if", "it", "does", "n't", "already", "exist", "."], "TS_V_token": ["ARM"], "File": "ARMBasicBlockInfo10", "Func": "insert", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6707, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "arm_preferred_reload_class", "(", "rtx", "x", "ATTRIBUTE_UNUSED", ",", "reg_class_t", "rclass", ")", "{", "if", "(", "TARGET_32BIT", ")", "return", "rclass", ";", "else", "{", "if", "(", "rclass", "==", "GENERAL_REGS", ")", "return", "LO_REGS", ";", "else", "return", "rclass", ";", "}", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_PREFERRED_RELOAD_CLASS", ".", "Given", "an", "rtx", "X", "being", "reloaded", "into", "a", "reg", "required", "to", "be", "in", "class", "CLASS", ",", "return", "the", "class", "of", "reg", "to", "actually", "use", ".", "In", "general", "this", "is", "just", "CLASS", ",", "but", "for", "the", "Thumb", "core", "registers", "and", "immediate", "constants", "we", "prefer", "a", "LO_REGS", "class", "or", "a", "subset", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_preferred_reload_class", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6708, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "AArch64TTIImpl", "::", "getIntrinsicInstrCost", "(", "const", "IntrinsicCostAttributes", "&", "ICA", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "auto", "*", "RetTy", "=", "ICA", ".", "getReturnType", "(", ")", ";", "switch", "(", "ICA", ".", "getID", "(", ")", ")", "{", "case", "Intrinsic", "::", "umin", ":", "case", "Intrinsic", "::", "umax", ":", "{", "auto", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "RetTy", ")", ";", "if", "(", "LT", ".", "second", "==", "MVT", "::", "v2i64", ")", "return", "LT", ".", "first", "*", "2", ";", "LLVM_FALLTHROUGH", ";", "}", "case", "Intrinsic", "::", "smin", ":", "case", "Intrinsic", "::", "smax", ":", "{", "static", "const", "auto", "ValidMinMaxTys", "=", "{", "MVT", "::", "v8i8", ",", "MVT", "::", "v16i8", ",", "MVT", "::", "v4i16", ",", "MVT", "::", "v8i16", ",", "MVT", "::", "v2i32", ",", "MVT", "::", "v4i32", "}", ";", "auto", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "RetTy", ")", ";", "if", "(", "any_of", "(", "ValidMinMaxTys", ",", "[", "&", "LT", "]", "(", "MVT", "M", ")", "{", "return", "M", "==", "LT", ".", "second", ";", "}", ")", ")", "return", "LT", ".", "first", ";", "break", ";", "}", "case", "Intrinsic", "::", "sadd_sat", ":", "case", "Intrinsic", "::", "ssub_sat", ":", "case", "Intrinsic", "::", "uadd_sat", ":", "case", "Intrinsic", "::", "usub_sat", ":", "{", "static", "const", "auto", "ValidSatTys", "=", "{", "MVT", "::", "v8i8", ",", "MVT", "::", "v16i8", ",", "MVT", "::", "v4i16", ",", "MVT", "::", "v8i16", ",", "MVT", "::", "v2i32", ",", "MVT", "::", "v4i32", ",", "MVT", "::", "v2i64", "}", ";", "auto", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "RetTy", ")", ";", "unsigned", "Instrs", "=", "LT", ".", "second", ".", "getScalarSizeInBits", "(", ")", "==", "RetTy", "->", "getScalarSizeInBits", "(", ")", "?", "1", ":", "4", ";", "if", "(", "any_of", "(", "ValidSatTys", ",", "[", "&", "LT", "]", "(", "MVT", "M", ")", "{", "return", "M", "==", "LT", ".", "second", ";", "}", ")", ")", "return", "LT", ".", "first", "*", "Instrs", ";", "break", ";", "}", "case", "Intrinsic", "::", "abs", ":", "{", "static", "const", "auto", "ValidAbsTys", "=", "{", "MVT", "::", "v8i8", ",", "MVT", "::", "v16i8", ",", "MVT", "::", "v4i16", ",", "MVT", "::", "v8i16", ",", "MVT", "::", "v2i32", ",", "MVT", "::", "v4i32", ",", "MVT", "::", "v2i64", "}", ";", "auto", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "RetTy", ")", ";", "if", "(", "any_of", "(", "ValidAbsTys", ",", "[", "&", "LT", "]", "(", "MVT", "M", ")", "{", "return", "M", "==", "LT", ".", "second", ";", "}", ")", ")", "return", "LT", ".", "first", ";", "break", ";", "}", "case", "Intrinsic", "::", "experimental_stepvector", ":", "{", "InstructionCost", "Cost", "=", "1", ";", "auto", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "RetTy", ")", ";", "if", "(", "LT", ".", "first", ">", "1", ")", "{", "Type", "*", "LegalVTy", "=", "EVT", "(", "LT", ".", "second", ")", ".", "getTypeForEVT", "(", "RetTy", "->", "getContext", "(", ")", ")", ";", "InstructionCost", "AddCost", "=", "getArithmeticInstrCost", "(", "Instruction", "::", "Add", ",", "LegalVTy", ",", "CostKind", ")", ";", "Cost", "+=", "AddCost", "*", "(", "LT", ".", "first", "-", "1", ")", ";", "}", "return", "Cost", ";", "}", "default", ":", "break", ";", "}", "return", "BaseT", "::", "getIntrinsicInstrCost", "(", "ICA", ",", "CostKind", ")", ";", "}", ""], "natrual_language": ["Get", "intrinsic", "cost", "based", "on", "arguments", "."], "TS_V_token": ["AArch64", "AArch64", "Intrinsic::umin", "Intrinsic::umax", "MVT::v2i64", "2", "Intrinsic::smin", "Intrinsic::smax", "MVT::v8i8", "MVT::v16i8", "MVT::v4i16", "MVT::v8i16", "MVT::v2i32", "MVT::v4i32", "Intrinsic::sadd_sat", "Intrinsic::ssub_sat", "Intrinsic::uadd_sat", "Intrinsic::usub_sat", "MVT::v8i8", "MVT::v16i8", "MVT::v4i16", "MVT::v8i16", "MVT::v2i32", "MVT::v4i32", "MVT::v2i64", "1", "4", "Intrinsic::abs", "MVT::v8i8", "MVT::v16i8", "MVT::v4i16", "MVT::v8i16", "MVT::v2i32", "MVT::v4i32", "MVT::v2i64", "Intrinsic::experimental_stepvector", "1", "1", "1"], "File": "AArch64TargetTransformInfo27", "Func": "getIntrinsicInstrCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6709, "Length": 474, "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", ".", "getArgumentList", "(", ")", ")", "{", "ArgInfo", "OrigArg", "(", "VRegs", "[", "Idx", "]", ",", "Arg", ".", "getType", "(", ")", ")", ";", "setArgFlags", "(", "OrigArg", ",", "Idx", "+", "1", ",", "DL", ",", "F", ")", ";", "splitToValueTypes", "(", "OrigArg", ",", "SplitArgs", ",", "DL", ",", "MRI", ",", "[", "&", "]", "(", "ArrayRef", "<", "unsigned", ">", "Regs", ",", "ArrayRef", "<", "uint64_t", ">", "Offsets", ")", "{", "MIRBuilder", ".", "buildSequence", "(", "VRegs", "[", "Idx", "]", ",", "Regs", ",", "Offsets", ")", ";", "}", ")", ";", "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": "X86CallLowering16", "Func": "lowerFormalArguments", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6710, "Length": 244, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getCSRFirstUseCost", "(", ")", "const", "override", "{", "return", "5", ";", "}", ""], "natrual_language": ["Allow", "the", "target", "to", "override", "the", "cost", "of", "using", "a", "callee-saved", "register", "for", "the", "first", "time", "."], "TS_V_token": ["AArch64", "5"], "File": "AArch64RegisterInfo (2)", "Func": "getCSRFirstUseCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6711, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", "->", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsSubtarget (2)1", "Func": "getRegisterInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6712, "Length": 18, "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": 6713, "Length": 13, "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", ";", "wide_int", "w", ";", "rtx", "mask", ",", "v", ";", "switch", "(", "mode", ")", "{", "case", "E_V8HFmode", ":", "case", "E_V16HFmode", ":", "case", "E_V32HFmode", ":", "vec_mode", "=", "mode", ";", "imode", "=", "HImode", ";", "break", ";", "case", "E_V16SImode", ":", "case", "E_V16SFmode", ":", "case", "E_V8SImode", ":", "case", "E_V4SImode", ":", "case", "E_V8SFmode", ":", "case", "E_V4SFmode", ":", "case", "E_V2SFmode", ":", "case", "E_V2SImode", ":", "vec_mode", "=", "mode", ";", "imode", "=", "SImode", ";", "break", ";", "case", "E_V8DImode", ":", "case", "E_V4DImode", ":", "case", "E_V2DImode", ":", "case", "E_V8DFmode", ":", "case", "E_V4DFmode", ":", "case", "E_V2DFmode", ":", "vec_mode", "=", "mode", ";", "imode", "=", "DImode", ";", "break", ";", "case", "E_TImode", ":", "case", "E_TFmode", ":", "vec_mode", "=", "VOIDmode", ";", "imode", "=", "TImode", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "machine_mode", "inner_mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "w", "=", "wi", "::", "set_bit_in_zero", "(", "GET_MODE_BITSIZE", "(", "inner_mode", ")", "-", "1", ",", "GET_MODE_BITSIZE", "(", "inner_mode", ")", ")", ";", "if", "(", "invert", ")", "w", "=", "wi", "::", "bit_not", "(", "w", ")", ";", "mask", "=", "immed_wide_int_const", "(", "w", ",", "imode", ")", ";", "mask", "=", "gen_lowpart", "(", "inner_mode", ",", "mask", ")", ";", "if", "(", "vec_mode", "==", "VOIDmode", ")", "return", "force_reg", "(", "inner_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", "1"], "File": "i386", "Func": "ix86_build_signbit_mask", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6714, "Length": 227, "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", ")", ";", "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", ";", "}", "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"], "File": "ARMISelLowering11", "Func": "ReplaceNodeResults", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6715, "Length": 277, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMFrameLowering", "::", "getCalleeSaves", "(", "const", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ")", "const", "{", "TargetFrameLowering", "::", "getCalleeSaves", "(", "MF", ",", "SavedRegs", ")", ";", "const", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "if", "(", "AFI", "->", "getPreservesR0", "(", ")", ")", "SavedRegs", ".", "set", "(", "ARM", "::", "R0", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "callee-saved", "registers", "as", "computed", "by", "determineCalleeSaves", "in", "the", "BitVector", "SavedRegs", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM::R0"], "File": "ARMFrameLowering100", "Func": "getCalleeSaves", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6716, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_vector_duplicate_value", "(", "machine_mode", "mode", ",", "rtx", "target", ",", "rtx", "val", ")", "{", "bool", "ok", ";", "rtx_insn", "*", "insn", ";", "rtx", "dup", ";", "dup", "=", "gen_rtx_VEC_DUPLICATE", "(", "mode", ",", "val", ")", ";", "insn", "=", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "target", ",", "dup", ")", ")", ";", "if", "(", "recog_memoized", "(", "insn", ")", "<", "0", ")", "{", "rtx_insn", "*", "seq", ";", "start_sequence", "(", ")", ";", "XEXP", "(", "dup", ",", "0", ")", "=", "force_reg", "(", "GET_MODE_INNER", "(", "mode", ")", ",", "val", ")", ";", "seq", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "if", "(", "seq", ")", "emit_insn_before", "(", "seq", ",", "insn", ")", ";", "ok", "=", "recog_memoized", "(", "insn", ")", ">=", "0", ";", "gcc_assert", "(", "ok", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "ix86_expand_vector_init_duplicate", ".", "Tries", "to", "fill", "target", "with", "val", "via", "vec_duplicate", "."], "TS_V_token": ["i386", "0", "0", "0"], "File": "i3864", "Func": "ix86_vector_duplicate_value", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6717, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "MandarinTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'r'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "MD", "::", "GenericRegsRegClass", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["Mandarin", "1", "0", "0U", "MD::GenericRegsRegClass"], "File": "MandarinISelLowering", "Func": "getRegForInlineAsmConstraint", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6718, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "OutgoingValueHandler", "::", "assignValueToReg", "(", "Register", "ValVReg", ",", "const", "CCValAssign", "&", "VA", ",", "const", "EVT", "&", "VT", ")", "{", "Register", "PhysReg", "=", "VA", ".", "getLocReg", "(", ")", ";", "if", "(", "VT", "==", "MVT", "::", "f64", "&&", "PhysReg", ">=", "Mips", "::", "A0", "&&", "PhysReg", "<=", "Mips", "::", "A3", ")", "{", "const", "MipsSubtarget", "&", "STI", "=", "static_cast", "<", "const", "MipsSubtarget", "&", ">", "(", "MIRBuilder", ".", "getMF", "(", ")", ".", "getSubtarget", "(", ")", ")", ";", "bool", "IsEL", "=", "STI", ".", "isLittle", "(", ")", ";", "auto", "Unmerge", "=", "MIRBuilder", ".", "buildUnmerge", "(", "LLT", "::", "scalar", "(", "32", ")", ",", "ValVReg", ")", ";", "MIRBuilder", ".", "buildCopy", "(", "Register", "(", "PhysReg", "+", "(", "IsEL", "?", "0", ":", "1", ")", ")", ",", "Unmerge", ".", "getReg", "(", "0", ")", ")", ";", "MIRBuilder", ".", "buildCopy", "(", "Register", "(", "PhysReg", "+", "(", "IsEL", "?", "1", ":", "0", ")", ")", ",", "Unmerge", ".", "getReg", "(", "1", ")", ")", ";", "}", "else", "if", "(", "VT", "==", "MVT", "::", "f32", "&&", "PhysReg", ">=", "Mips", "::", "A0", "&&", "PhysReg", "<=", "Mips", "::", "A3", ")", "{", "MIRBuilder", ".", "buildCopy", "(", "PhysReg", ",", "ValVReg", ")", ";", "}", "else", "{", "Register", "ExtReg", "=", "extendRegister", "(", "ValVReg", ",", "VA", ")", ";", "MIRBuilder", ".", "buildCopy", "(", "PhysReg", ",", "ExtReg", ")", ";", "MIB", ".", "addUse", "(", "PhysReg", ",", "RegState", "::", "Implicit", ")", ";", "}", "}", ""], "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": ["Mips", "MVT::f64", "Mips::A0", "Mips::A3", "Mips", "Mips", "32", "0", "1", "0", "1", "0", "1", "MVT::f32", "Mips::A0", "Mips::A3"], "File": "MipsCallLowering23", "Func": "assignValueToReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6719, "Length": 215, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mmix_legitimate_address", "(", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ",", "int", "strict_checking", ")", "{", "(", "(", "strict_checking", "\\", "&&", "(", "REGNO", "(", "X", ")", "<=", "MMIX_LAST_GENERAL_REGISTER", "\\", "||", "(", "reg_renumber", "[", "REGNO", "(", "X", ")", "]", ">", "0", "\\", "&&", "reg_renumber", "[", "REGNO", "(", "X", ")", "]", "<=", "MMIX_LAST_GENERAL_REGISTER", ")", ")", ")", "\\", "||", "(", "!", "strict_checking", "\\", "&&", "(", "REGNO", "(", "X", ")", "<=", "MMIX_LAST_GENERAL_REGISTER", "\\", "||", "REGNO", "(", "X", ")", ">=", "FIRST_PSEUDO_REGISTER", "\\", "||", "REGNO", "(", "X", ")", "==", "ARG_POINTER_REGNUM", ")", ")", ")", "if", "(", "REG_P", "(", "x", ")", "&&", "MMIX_REG_OK", "(", "x", ")", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "{", "rtx", "x1", "=", "XEXP", "(", "x", ",", "0", ")", ";", "rtx", "x2", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "!", "REG_P", "(", "x1", ")", ")", "{", "rtx", "tem", "=", "x1", ";", "x1", "=", "x2", ";", "x2", "=", "tem", ";", "}", "if", "(", "!", "REG_P", "(", "x1", ")", "||", "!", "MMIX_REG_OK", "(", "x1", ")", ")", "return", "TARGET_BASE_ADDRESSES", "&&", "mmix_constant_address_p", "(", "x", ")", ";", "if", "(", "REG_P", "(", "x2", ")", "&&", "MMIX_REG_OK", "(", "x2", ")", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "x2", ")", "==", "CONST_INT", "&&", "CONST_OK_FOR_LETTER_P", "(", "INTVAL", "(", "x2", ")", ",", "'I'", ")", ")", "return", "1", ";", "return", "0", ";", "}", "return", "TARGET_BASE_ADDRESSES", "&&", "mmix_constant_address_p", "(", "x", ")", ";", "}", ""], "natrual_language": ["Return", "1", "if", "the", "address", "is", "OK", ",", "otherwise", "0", ".", "Used", "by", "GO_IF_LEGITIMATE_ADDRESS", "."], "TS_V_token": ["mmix", "0", "1", "0", "1", "1", "1", "0"], "File": "mmix3", "Func": "mmix_legitimate_address", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6720, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_save_regs_using_mov", "(", "HOST_WIDE_INT", "cfa_offset", ")", "{", "unsigned", "int", "regno", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "GENERAL_REGNO_P", "(", "regno", ")", "&&", "ix86_save_reg", "(", "regno", ",", "true", ")", ")", "{", "ix86_emit_save_reg_using_mov", "(", "word_mode", ",", "regno", ",", "cfa_offset", ")", ";", "cfa_offset", "-=", "UNITS_PER_WORD", ";", "}", "}", ""], "natrual_language": ["Emit", "code", "to", "save", "registers", "using", "MOV", "insns", ".", "First", "register", "is", "restored", "from", "POINTER", "+", "OFFSET", "."], "TS_V_token": ["i386", "0"], "File": "i3865", "Func": "ix86_emit_save_regs_using_mov", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6721, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "functionArgumentNeedsConsecutiveRegisters", "(", "Type", "*", "Ty", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ")", "const", "{", "if", "(", "getEffectiveCallingConv", "(", "CallConv", ",", "isVarArg", ")", "!=", "CallingConv", "::", "ARM_AAPCS_VFP", ")", "return", "false", ";", "HABaseType", "Base", "=", "HA_UNKNOWN", ";", "uint64_t", "Members", "=", "0", ";", "bool", "result", "=", "isHomogeneousAggregate", "(", "Ty", ",", "Base", ",", "Members", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"isHA: \"", "<<", "result", "<<", "\" \"", ";", "Ty", "->", "dump", "(", ")", ")", ";", "return", "result", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "an", "argument", "of", "type", "Ty", "needs", "to", "be", "passed", "in", "a", "contiguous", "block", "of", "registers", "in", "calling", "convention", "CallConv", "."], "TS_V_token": ["ARM", "ARM", "ARM", "0", "\"isHA: \"", "\" \""], "File": "ARMISelLowering (2)3", "Func": "functionArgumentNeedsConsecutiveRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6722, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintWeight", "SystemZTargetLowering", "::", "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", "'a'", ":", "case", "'d'", ":", "case", "'h'", ":", "case", "'r'", ":", "if", "(", "CallOperandVal", "->", "getType", "(", ")", "->", "isIntegerTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'f'", ":", "if", "(", "type", "->", "isFloatingPointTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'I'", ":", "if", "(", "auto", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "if", "(", "isUInt", "<", "8", ">", "(", "C", "->", "getZExtValue", "(", ")", ")", ")", "weight", "=", "CW_Constant", ";", "break", ";", "case", "'J'", ":", "if", "(", "auto", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "if", "(", "isUInt", "<", "12", ">", "(", "C", "->", "getZExtValue", "(", ")", ")", ")", "weight", "=", "CW_Constant", ";", "break", ";", "case", "'K'", ":", "if", "(", "auto", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "if", "(", "isInt", "<", "16", ">", "(", "C", "->", "getSExtValue", "(", ")", ")", ")", "weight", "=", "CW_Constant", ";", "break", ";", "case", "'L'", ":", "if", "(", "auto", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "if", "(", "isInt", "<", "20", ">", "(", "C", "->", "getSExtValue", "(", ")", ")", ")", "weight", "=", "CW_Constant", ";", "break", ";", "case", "'M'", ":", "if", "(", "auto", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "if", "(", "C", "->", "getZExtValue", "(", ")", "==", "0x7fffffff", ")", "weight", "=", "CW_Constant", ";", "break", ";", "}", "return", "weight", ";", "}", ""], "natrual_language": ["Examine", "constraint", "string", "and", "operand", "type", "and", "determine", "a", "weight", "value", "."], "TS_V_token": ["SystemZ", "SystemZ", "8", "12", "16", "20", "0x7fffffff"], "File": "SystemZISelLowering (2)1", "Func": "getSingleConstraintMatchWeight", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6723, "Length": 303, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "addExpr", "(", "MCInst", "&", "Inst", ",", "const", "MCExpr", "*", "Expr", ")", "const", "{", "if", "(", "Expr", "==", "0", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "0", ")", ")", ";", "else", "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": ["ARM", "0", "0"], "File": "ARMAsmParser (2)", "Func": "addExpr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6724, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZTargetLowering", "::", "findOptimalMemOpLowering", "(", "std", "::", "vector", "<", "EVT", ">", "&", "MemOps", ",", "unsigned", "Limit", ",", "const", "MemOp", "&", "Op", ",", "unsigned", "DstAS", ",", "unsigned", "SrcAS", ",", "const", "AttributeList", "&", "FuncAttributes", ")", "const", "{", "const", "int", "MVCFastLen", "=", "16", ";", "if", "(", "Op", ".", "isMemcpy", "(", ")", "&&", "Op", ".", "allowOverlap", "(", ")", "&&", "Op", ".", "size", "(", ")", "<=", "MVCFastLen", ")", "return", "false", ";", "if", "(", "Op", ".", "isMemset", "(", ")", "&&", "Op", ".", "size", "(", ")", "-", "1", "<=", "MVCFastLen", ")", "return", "false", ";", "if", "(", "Op", ".", "isZeroMemset", "(", ")", ")", "return", "false", ";", "return", "TargetLowering", "::", "findOptimalMemOpLowering", "(", "MemOps", ",", "Limit", ",", "Op", ",", "DstAS", ",", "SrcAS", ",", "FuncAttributes", ")", ";", "}", ""], "natrual_language": ["Determines", "the", "optimal", "series", "of", "memory", "ops", "to", "replace", "the", "memset", "/", "memcpy", "."], "TS_V_token": ["SystemZ", "SystemZ", "16", "1"], "File": "SystemZISelLowering57", "Func": "findOptimalMemOpLowering", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6725, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "int", "arm_arm_address_cost", "(", "rtx", "x", ")", "{", "enum", "rtx_code", "c", "=", "GET_CODE", "(", "x", ")", ";", "if", "(", "c", "==", "PRE_INC", "||", "c", "==", "PRE_DEC", "||", "c", "==", "POST_INC", "||", "c", "==", "POST_DEC", ")", "return", "0", ";", "if", "(", "c", "==", "MEM", "||", "c", "==", "LABEL_REF", "||", "c", "==", "SYMBOL_REF", ")", "return", "10", ";", "if", "(", "c", "==", "PLUS", "||", "c", "==", "MINUS", ")", "{", "if", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "CONST_INT", ")", "return", "2", ";", "if", "(", "ARITHMETIC_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "||", "ARITHMETIC_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "return", "3", ";", "return", "4", ";", "}", "return", "6", ";", "}", ""], "natrual_language": ["All", "address", "computations", "that", "can", "be", "done", "are", "free", ",", "but", "rtx", "cost", "returns", "the", "same", "for", "practically", "all", "of", "them", ".", "So", "we", "weight", "the", "different", "types", "of", "address", "here", "in", "the", "order", "(", "most", "pref", "first", ")", ":", "PRE/POST_INC/DEC", ",", "SHIFT", "or", "NON-INT", "sum", ",", "INT", "sum", ",", "REG", ",", "MEM", "or", "LABEL", "."], "TS_V_token": ["arm", "0", "10", "0", "2", "0", "1", "3", "4", "6"], "File": "arm3", "Func": "arm_arm_address_cost", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6726, "Length": 117, "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": 6727, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isWhileOpcode", "(", "unsigned", "Opc", ")", "const", "{", "return", "get", "(", "Opc", ")", ".", "TSFlags", "&", "AArch64", "::", "InstrFlagIsWhile", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "opcode", "is", "for", "an", "SVE", "WHILE", "#", "#", "instruction", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::InstrFlagIsWhile"], "File": "AArch64InstrInfo105", "Func": "isWhileOpcode", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6728, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "SubsumesPredicate", "(", "const", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Pred1", ",", "const", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Pred2", ")", "const", "{", "if", "(", "Pred1", ".", "size", "(", ")", ">", "2", "||", "Pred2", ".", "size", "(", ")", ">", "2", ")", "return", "false", ";", "ARMCC", "::", "CondCodes", "CC1", "=", "(", "ARMCC", "::", "CondCodes", ")", "Pred1", "[", "0", "]", ".", "getImm", "(", ")", ";", "ARMCC", "::", "CondCodes", "CC2", "=", "(", "ARMCC", "::", "CondCodes", ")", "Pred2", "[", "0", "]", ".", "getImm", "(", ")", ";", "if", "(", "CC1", "==", "CC2", ")", "return", "true", ";", "switch", "(", "CC1", ")", "{", "default", ":", "return", "false", ";", "case", "ARMCC", "::", "AL", ":", "return", "true", ";", "case", "ARMCC", "::", "HS", ":", "return", "CC2", "==", "ARMCC", "::", "HI", ";", "case", "ARMCC", "::", "LS", ":", "return", "CC2", "==", "ARMCC", "::", "LO", "||", "CC2", "==", "ARMCC", "::", "EQ", ";", "case", "ARMCC", "::", "GE", ":", "return", "CC2", "==", "ARMCC", "::", "GT", ";", "case", "ARMCC", "::", "LE", ":", "return", "CC2", "==", "ARMCC", "::", "LT", ";", "}", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "first", "specified", "predicate", "subsumes", "the", "second", ",", "e.g", "."], "TS_V_token": ["ARM", "ARM", "2", "2", "ARMCC::CondCodes", "ARMCC::CondCodes", "0", "ARMCC::CondCodes", "ARMCC::CondCodes", "0", "ARMCC::AL", "ARMCC::HS", "ARMCC::HI", "ARMCC::LS", "ARMCC::LO", "ARMCC::EQ", "ARMCC::GE", "ARMCC::GT", "ARMCC::LE", "ARMCC::LT"], "File": "ARMBaseInstrInfo (2)", "Func": "SubsumesPredicate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6729, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_emit_fp_unordered_jump", "(", "rtx", "label", ")", "{", "rtx", "reg", "=", "gen_reg_rtx", "(", "HImode", ")", ";", "rtx_insn", "*", "insn", ";", "rtx", "temp", ";", "emit_insn", "(", "gen_x86_fnstsw_1", "(", "reg", ")", ")", ";", "if", "(", "TARGET_SAHF", "&&", "(", "TARGET_USE_SAHF", "||", "optimize_insn_for_size_p", "(", ")", ")", ")", "{", "emit_insn", "(", "gen_x86_sahf_1", "(", "reg", ")", ")", ";", "temp", "=", "gen_rtx_REG", "(", "CCmode", ",", "FLAGS_REG", ")", ";", "temp", "=", "gen_rtx_UNORDERED", "(", "VOIDmode", ",", "temp", ",", "const0_rtx", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_testqi_ext_1_ccno", "(", "reg", ",", "GEN_INT", "(", "0x04", ")", ")", ")", ";", "temp", "=", "gen_rtx_REG", "(", "CCNOmode", ",", "FLAGS_REG", ")", ";", "temp", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "temp", ",", "const0_rtx", ")", ";", "}", "temp", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "temp", ",", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "label", ")", ",", "pc_rtx", ")", ";", "insn", "=", "emit_jump_insn", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "temp", ")", ")", ";", "predict_jump", "(", "REG_BR_PROB_BASE", "*", "10", "/", "100", ")", ";", "JUMP_LABEL", "(", "insn", ")", "=", "label", ";", "}", ""], "natrual_language": ["Output", "code", "to", "perform", "a", "conditional", "jump", "to", "LABEL", ",", "if", "C2", "flag", "in", "FP", "status", "register", "is", "set", "."], "TS_V_token": ["i386", "0x04", "10", "100"], "File": "i386-expand", "Func": "ix86_emit_fp_unordered_jump", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6730, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "Mips16InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "Mips16InstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "0", "&&", "!", "MFI", "->", "adjustsStack", "(", ")", ")", "return", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "MCRegisterInfo", "*", "MRI", "=", "MMI", ".", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MachineLocation", "DstML", ",", "SrcML", ";", "TII", ".", "makeFrame", "(", "Mips", "::", "SP", ",", "StackSize", ",", "MBB", ",", "MBBI", ")", ";", "unsigned", "CFIIndex", "=", "MMI", ".", "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", "(", ")", ")", "{", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", "->", "getCalleeSavedInfo", "(", ")", ";", "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", "DReg", "=", "MRI", "->", "getDwarfRegNum", "(", "Reg", ",", "true", ")", ";", "unsigned", "CFIIndex", "=", "MMI", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createOffset", "(", "nullptr", ",", "DReg", ",", "Offset", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "}", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "MoveR3216", ")", ",", "Mips", "::", "S0", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "0", "Mips::SP", "Mips::MoveR3216", "Mips::S0", "Mips::SP"], "File": "Mips16FrameLowering31", "Func": "emitPrologue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6731, "Length": 395, "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": 6732, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "shcompact_byref", "(", "const", "CUMULATIVE_ARGS", "*", "cum", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "unsigned", "HOST_WIDE_INT", "size", ";", "if", "(", "type", ")", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "else", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "cum", "->", "arg_count", "[", "SH_ARG_INT", "]", "<", "NPARM_REGS", "(", "SImode", ")", "&&", "(", "!", "named", "||", "GET_SH_ARG_CLASS", "(", "mode", ")", "==", "SH_ARG_INT", "||", "(", "GET_SH_ARG_CLASS", "(", "mode", ")", "==", "SH_ARG_FLOAT", "&&", "cum", "->", "arg_count", "[", "SH_ARG_FLOAT", "]", ">=", "NPARM_REGS", "(", "SFmode", ")", ")", ")", "&&", "size", ">", "4", "&&", "!", "SHCOMPACT_FORCE_ON_STACK", "(", "mode", ",", "type", ")", "&&", "!", "SH5_WOULD_BE_PARTIAL_NREGS", "(", "*", "cum", ",", "mode", ",", "type", ",", "named", ")", ")", "return", "size", ";", "else", "return", "0", ";", "}", ""], "natrual_language": ["Whether", "an", "argument", "must", "be", "passed", "by", "reference", ".", "On", "SHcompact", ",", "we", "pretend", "arguments", "wider", "than", "32-bits", "that", "would", "have", "been", "passed", "in", "registers", "are", "passed", "by", "reference", ",", "so", "that", "an", "SHmedia", "trampoline", "loads", "them", "into", "the", "full", "64-bits", "registers", "."], "TS_V_token": ["sh", "4", "0"], "File": "sh4", "Func": "shcompact_byref", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6733, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "csky_arg_partial_bytes", "(", "cumulative_args_t", "pcum_v", ",", "machine_mode", "mode", ",", "tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "pcum", "=", "get_cumulative_args", "(", "pcum_v", ")", ";", "int", "param_size", "=", "csky_num_arg_regs", "(", "mode", ",", "type", ")", ";", "if", "(", "*", "pcum", "<", "CSKY_NPARM_REGS", "&&", "*", "pcum", "+", "param_size", ">", "CSKY_NPARM_REGS", ")", "return", "(", "CSKY_NPARM_REGS", "-", "*", "pcum", ")", "*", "UNITS_PER_WORD", ";", "return", "0", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ARG_PARTIAL_BYTES", ".", "Return", "the", "number", "of", "bytes", "at", "the", "beginning", "of", "an", "argument", "that", "must", "be", "put", "in", "registers", ".", "The", "value", "must", "be", "zero", "for", "arguments", "that", "are", "passed", "entirely", "in", "registers", "or", "that", "are", "entirely", "pushed", "on", "the", "stack", "."], "TS_V_token": ["csky", "0"], "File": "csky2", "Func": "csky_arg_partial_bytes", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6734, "Length": 65, "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": 6735, "Length": 409, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addIRPasses", "(", ")", "{", "if", "(", "TM", "->", "Options", ".", "ThreadModel", "==", "ThreadModel", "::", "Single", ")", "addPass", "(", "createLowerAtomicPass", "(", ")", ")", ";", "else", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableAtomicTidy", ")", "addPass", "(", "createCFGSimplificationPass", "(", "1", ",", "false", ",", "false", ",", "true", ",", "true", ",", "[", "this", "]", "(", "const", "Function", "&", "F", ")", "{", "const", "auto", "&", "ST", "=", "this", "->", "TM", "->", "getSubtarget", "<", "ARMSubtarget", ">", "(", "F", ")", ";", "return", "ST", ".", "hasAnyDataBarrier", "(", ")", "&&", "!", "ST", ".", "isThumb1Only", "(", ")", ";", "}", ")", ")", ";", "addPass", "(", "createMVEGatherScatterLoweringPass", "(", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "if", "(", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "Aggressive", ")", "addPass", "(", "createARMParallelDSPPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createInterleavedAccessPass", "(", ")", ")", ";", "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": ["ARM", "ARM", "1", "ARM", "ARM"], "File": "ARMTargetMachine10", "Func": "addIRPasses", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6736, "Length": 176, "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": 6737, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameInfo", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "FramePtr", ":", "StackPtr", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["X86", "X86"], "File": "X86RegisterInfo40", "Func": "getFrameRegister", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6738, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSymbol", "*", "OR1KMCInstLower", "::", "GetExternalSymbolSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "return", "Printer", ".", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "MCSymbol", "for", "the", "specified", "ExternalSymbol", "."], "TS_V_token": ["OR1K", "OR1K"], "File": "OR1KMCInstLower", "Func": "GetExternalSymbolSymbol", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6739, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "iq2000_starting_frame_offset", "(", "void", ")", "{", "return", "crtl", "->", "outgoing_args_size", ";", "}", ""], "natrual_language": ["Implement", "TARGET_STARTING_FRAME_OFFSET", "."], "TS_V_token": ["iq2000"], "File": "iq2000", "Func": "iq2000_starting_frame_offset", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6740, "Length": 13, "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": 6741, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_asm_function_epilogue", "(", "FILE", "*", "file", ")", "{", "rtx_insn", "*", "insn", "=", "get_last_insn", "(", ")", ";", "rtx", "last_real_insn", "=", "prev_real_insn", "(", "insn", ")", ";", "if", "(", "last_real_insn", "&&", "NONJUMP_INSN_P", "(", "last_real_insn", ")", "&&", "GET_CODE", "(", "PATTERN", "(", "last_real_insn", ")", ")", "==", "SEQUENCE", ")", "last_real_insn", "=", "XVECEXP", "(", "PATTERN", "(", "last_real_insn", ")", ",", "0", ",", "0", ")", ";", "if", "(", "last_real_insn", "&&", "CALL_P", "(", "last_real_insn", ")", "&&", "!", "SIBLING_CALL_P", "(", "last_real_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": "sparc", "Func": "sparc_asm_function_epilogue", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6742, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16FrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "ArrayRef", "<", "CalleeSavedInfo", ">", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "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", ")", "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": ["Mips", "Mips", "0", "Mips::RA"], "File": "Mips16FrameLowering12", "Func": "spillCalleeSavedRegisters", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6743, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_pragma_target_parse", "(", "tree", "args", ",", "tree", "pop_target", ")", "{", "tree", "prev_tree", "=", "build_target_option_node", "(", "&", "global_options", ")", ";", "tree", "cur_tree", ";", "struct", "cl_target_option", "*", "prev_opt", ";", "struct", "cl_target_option", "*", "cur_opt", ";", "HOST_WIDE_INT", "prev_isa", ";", "HOST_WIDE_INT", "cur_isa", ";", "HOST_WIDE_INT", "diff_isa", ";", "enum", "processor_type", "prev_arch", ";", "enum", "processor_type", "prev_tune", ";", "enum", "processor_type", "cur_arch", ";", "enum", "processor_type", "cur_tune", ";", "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", "=", "ix86_valid_target_attribute_tree", "(", "args", ",", "&", "global_options", ",", "&", "global_options_set", ")", ";", "if", "(", "!", "cur_tree", "||", "cur_tree", "==", "error_mark_node", ")", "{", "cl_target_option_restore", "(", "&", "global_options", ",", "TREE_TARGET_OPTION", "(", "prev_tree", ")", ")", ";", "return", "false", ";", "}", "}", "target_option_current_node", "=", "cur_tree", ";", "ix86_reset_previous_fndecl", "(", ")", ";", "prev_opt", "=", "TREE_TARGET_OPTION", "(", "prev_tree", ")", ";", "cur_opt", "=", "TREE_TARGET_OPTION", "(", "cur_tree", ")", ";", "prev_isa", "=", "prev_opt", "->", "x_ix86_isa_flags", ";", "cur_isa", "=", "cur_opt", "->", "x_ix86_isa_flags", ";", "diff_isa", "=", "(", "prev_isa", "^", "cur_isa", ")", ";", "prev_arch", "=", "(", "enum", "processor_type", ")", "prev_opt", "->", "arch", ";", "prev_tune", "=", "(", "enum", "processor_type", ")", "prev_opt", "->", "tune", ";", "cur_arch", "=", "(", "enum", "processor_type", ")", "cur_opt", "->", "arch", ";", "cur_tune", "=", "(", "enum", "processor_type", ")", "cur_opt", "->", "tune", ";", "if", "(", "cur_arch", "==", "prev_arch", ")", "cur_arch", "=", "prev_arch", "=", "PROCESSOR_max", ";", "if", "(", "cur_tune", "==", "prev_tune", ")", "cur_tune", "=", "prev_tune", "=", "PROCESSOR_max", ";", "ix86_target_macros_internal", "(", "prev_isa", "&", "diff_isa", ",", "prev_arch", ",", "prev_tune", ",", "(", "enum", "fpmath_unit", ")", "prev_opt", "->", "x_ix86_fpmath", ",", "cpp_undef", ")", ";", "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", ";", "ix86_target_macros_internal", "(", "cur_isa", "&", "diff_isa", ",", "cur_arch", ",", "cur_tune", ",", "(", "enum", "fpmath_unit", ")", "cur_opt", "->", "x_ix86_fpmath", ",", "cpp_define", ")", ";", "cpp_opts", "->", "warn_unused_macros", "=", "saved_warn_unused_macros", ";", "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": ["i386", "0"], "File": "i386-c2", "Func": "ix86_pragma_target_parse", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6744, "Length": 308, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_order_regs_for_local_alloc", "(", ")", "{", "register", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "FIRST_PSEUDO_REGISTER", ";", "i", "++", ")", "reg_alloc_order", "[", "i", "]", "=", "i", ";", "if", "(", "TARGET_MIPS16", ")", "{", "reg_alloc_order", "[", "0", "]", "=", "24", ";", "reg_alloc_order", "[", "24", "]", "=", "0", ";", "}", "}", ""], "natrual_language": ["On", "the", "mips16", ",", "we", "want", "to", "allocate", "$", "24", "(", "T_REG", ")", "before", "other", "registers", "for", "instructions", "for", "which", "it", "is", "possible", ".", "This", "helps", "avoid", "shuffling", "registers", "around", "in", "order", "to", "set", "up", "for", "an", "xor", ",", "encouraging", "the", "compiler", "to", "use", "a", "cmp", "instead", "."], "TS_V_token": ["mips", "0", "0", "24", "24", "0"], "File": "mips2", "Func": "mips_order_regs_for_local_alloc", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6745, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "ARMDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "OS", ",", "raw_ostream", "&", "CS", ")", "const", "{", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "ARM", "::", "ModeThumb", "]", ")", "return", "getThumbInstruction", "(", "MI", ",", "Size", ",", "Bytes", ",", "Address", ",", "OS", ",", "CS", ")", ";", "return", "getARMInstruction", "(", "MI", ",", "Size", ",", "Bytes", ",", "Address", ",", "OS", ",", "CS", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["ARM", "ARM", "ARM::ModeThumb", "ARM"], "File": "ARMDisassembler34", "Func": "getInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6746, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "AArch64Subtarget", "*", "AArch64TargetMachine", "::", "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", ";", "SmallString", "<", "512", ">", "Key", ";", "unsigned", "MinSVEVectorSize", "=", "0", ";", "unsigned", "MaxSVEVectorSize", "=", "0", ";", "Attribute", "VScaleRangeAttr", "=", "F", ".", "getFnAttribute", "(", "Attribute", "::", "VScaleRange", ")", ";", "if", "(", "VScaleRangeAttr", ".", "isValid", "(", ")", ")", "{", "std", "::", "tie", "(", "MinSVEVectorSize", ",", "MaxSVEVectorSize", ")", "=", "VScaleRangeAttr", ".", "getVScaleRangeArgs", "(", ")", ";", "MinSVEVectorSize", "*=", "128", ";", "MaxSVEVectorSize", "*=", "128", ";", "}", "else", "{", "MinSVEVectorSize", "=", "SVEVectorBitsMinOpt", ";", "MaxSVEVectorSize", "=", "SVEVectorBitsMaxOpt", ";", "}", "assert", "(", "MinSVEVectorSize", "%", "128", "==", "0", "&&", "\"SVE requires vector length in multiples of 128!\"", ")", ";", "assert", "(", "MaxSVEVectorSize", "%", "128", "==", "0", "&&", "\"SVE requires vector length in multiples of 128!\"", ")", ";", "assert", "(", "(", "MaxSVEVectorSize", ">=", "MinSVEVectorSize", "||", "MaxSVEVectorSize", "==", "0", ")", "&&", "\"Minimum SVE vector size should not be larger than its maximum!\"", ")", ";", "if", "(", "MaxSVEVectorSize", "==", "0", ")", "MinSVEVectorSize", "=", "(", "MinSVEVectorSize", "/", "128", ")", "*", "128", ";", "else", "{", "MinSVEVectorSize", "=", "(", "std", "::", "min", "(", "MinSVEVectorSize", ",", "MaxSVEVectorSize", ")", "/", "128", ")", "*", "128", ";", "MaxSVEVectorSize", "=", "(", "std", "::", "max", "(", "MinSVEVectorSize", ",", "MaxSVEVectorSize", ")", "/", "128", ")", "*", "128", ";", "}", "Key", "+=", "\"SVEMin\"", ";", "Key", "+=", "std", "::", "to_string", "(", "MinSVEVectorSize", ")", ";", "Key", "+=", "\"SVEMax\"", ";", "Key", "+=", "std", "::", "to_string", "(", "MaxSVEVectorSize", ")", ";", "Key", "+=", "CPU", ";", "Key", "+=", "FS", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "Key", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "std", "::", "make_unique", "<", "AArch64Subtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "*", "this", ",", "isLittle", ",", "MinSVEVectorSize", ",", "MaxSVEVectorSize", ")", ";", "}", "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": ["AArch64", "AArch64", "AArch64", "\"target-cpu\"", "\"target-features\"", "512", "0", "0", "128", "128", "128", "0", "\"SVE requires vector length in multiples of 128!\"", "128", "0", "\"SVE requires vector length in multiples of 128!\"", "0", "\"Minimum SVE vector size should not be larger than its maximum!\"", "0", "128", "128", "128", "128", "128", "128", "\"SVEMin\"", "\"SVEMax\"", "AArch64"], "File": "AArch64TargetMachine34", "Func": "getSubtargetImpl", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6747, "Length": 330, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "MCAsmInfo", "*", "createMCAsmInfo", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ")", "{", "Triple", "TheTriple", "(", "TT", ")", ";", "switch", "(", "TheTriple", ".", "getOS", "(", ")", ")", "{", "case", "Triple", "::", "Darwin", ":", "return", "new", "ARMMCAsmInfoDarwin", "(", ")", ";", "default", ":", "return", "new", "ARMELFMCAsmInfo", "(", ")", ";", "}", "}", ""], "natrual_language": ["createMCAsmInfo", "-", "Create", "a", "MCAsmInfo", "implementation", "for", "the", "specified", "target", "triple", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMTargetMachine23", "Func": "createMCAsmInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6748, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "if", "(", "PPCSubTarget", ".", "isSVR4ABI", "(", ")", "&&", "!", "PPCSubTarget", ".", "isPPC64", "(", ")", ")", "{", "return", "LowerFormalArguments_SVR4", "(", "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": "PPCISelLowering113", "Func": "LowerFormalArguments", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6749, "Length": 99, "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": 6750, "Length": 57, "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", ":", "case", "G_SDIV", ":", "case", "G_UDIV", ":", "case", "G_SREM", ":", "case", "G_UREM", ":", "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": "MipsRegisterBankInfo1", "Func": "getInstrMapping", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6751, "Length": 232, "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": ["X86"], "File": "X86Subtarget (2)2", "Func": "getStackAlignment", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6752, "Length": 10, "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": 6753, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FastISel", "*", "ARM", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "funcInfo", ")", "{", "const", "TargetMachine", "&", "TM", "=", "funcInfo", ".", "MF", "->", "getTarget", "(", ")", ";", "const", "ARMSubtarget", "*", "Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "if", "(", "Subtarget", "->", "isTargetIOS", "(", ")", "&&", "!", "Subtarget", "->", "isThumb1Only", "(", ")", ")", "return", "new", "ARMFastISel", "(", "funcInfo", ")", ";", "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": "ARMFastISel28", "Func": "createFastISel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6754, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_init_builtins", "(", "void", ")", "{", "tree", "ftype_set_fpr", "=", "build_function_type_list", "(", "void_type_node", ",", "unsigned_type_node", ",", "NULL", ")", ";", "tree", "ftype_get_fpr", "=", "build_function_type_list", "(", "unsigned_type_node", ",", "NULL", ")", ";", "aarch64_builtin_decls", "[", "AARCH64_BUILTIN_GET_FPCR", "]", "=", "add_builtin_function", "(", "\"__builtin_aarch64_get_fpcr\"", ",", "ftype_get_fpr", ",", "AARCH64_BUILTIN_GET_FPCR", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "aarch64_builtin_decls", "[", "AARCH64_BUILTIN_SET_FPCR", "]", "=", "add_builtin_function", "(", "\"__builtin_aarch64_set_fpcr\"", ",", "ftype_set_fpr", ",", "AARCH64_BUILTIN_SET_FPCR", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "aarch64_builtin_decls", "[", "AARCH64_BUILTIN_GET_FPSR", "]", "=", "add_builtin_function", "(", "\"__builtin_aarch64_get_fpsr\"", ",", "ftype_get_fpr", ",", "AARCH64_BUILTIN_GET_FPSR", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "aarch64_builtin_decls", "[", "AARCH64_BUILTIN_SET_FPSR", "]", "=", "add_builtin_function", "(", "\"__builtin_aarch64_set_fpsr\"", ",", "ftype_set_fpr", ",", "AARCH64_BUILTIN_SET_FPSR", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "aarch64_init_fp16_types", "(", ")", ";", "if", "(", "TARGET_SIMD", ")", "aarch64_init_simd_builtins", "(", ")", ";", "aarch64_init_crc32_builtins", "(", ")", ";", "aarch64_init_builtin_rsqrt", "(", ")", ";", "if", "(", "!", "TARGET_ILP32", ")", "aarch64_init_pauth_hint_builtins", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_INIT_BUILTINS", "."], "TS_V_token": ["aarch64", "\"__builtin_aarch64_get_fpcr\"", "\"__builtin_aarch64_set_fpcr\"", "\"__builtin_aarch64_get_fpsr\"", "\"__builtin_aarch64_set_fpsr\""], "File": "aarch64-builtins4", "Func": "aarch64_init_builtins", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6755, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "LEGDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "Constant", ":", "return", "SelectMoveImmediate", "(", "N", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "SelectConditionalBranch", "(", "N", ")", ";", "}", "return", "SelectCode", "(", "N", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["LEG", "LEG", "ISD::Constant", "ISD::BR_CC"], "File": "LEGISelDAGToDAG1", "Func": "Select", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6756, "Length": 50, "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": 6757, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "loongarch_move_to_gpr_cost", "(", "reg_class_t", "from", ")", "{", "switch", "(", "from", ")", "{", "case", "GENERAL_REGS", ":", "return", "2", ";", "case", "FP_REGS", ":", "return", "4", ";", "default", ":", "return", "0", ";", "}", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "moving", "a", "value", "from", "a", "register", "of", "class", "FROM", "to", "a", "GPR", ".", "Return", "0", "for", "classes", "that", "are", "unions", "of", "other", "classes", "handled", "by", "this", "function", "."], "TS_V_token": ["loongarch", "2", "4", "0"], "File": "loongarch", "Func": "loongarch_move_to_gpr_cost", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6758, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "csky_layout_stack_frame", "(", "void", ")", "{", "machine_function", "*", "infp", "=", "cfun", "->", "machine", ";", "int", "reg_count", ";", "if", "(", "infp", "->", "frame_init_p", ")", "return", ";", "infp", "->", "outbound_size", "=", "CSKY_STACK_ALIGN", "(", "crtl", "->", "outgoing_args_size", ")", ";", "infp", "->", "local_offset", "=", "infp", "->", "outbound_size", ";", "infp", "->", "local_size", "=", "CSKY_STACK_ALIGN", "(", "get_frame_size", "(", ")", ")", ";", "infp", "->", "reg_offset", "=", "infp", "->", "local_offset", "+", "infp", "->", "local_size", ";", "infp", "->", "reg_mask", "=", "get_csky_live_regs", "(", "&", "reg_count", ")", ";", "infp", "->", "reg_size", "=", "reg_count", "*", "UNITS_PER_WORD", ";", "infp", "->", "arg_offset", "=", "infp", "->", "reg_offset", "+", "infp", "->", "reg_size", ";", "infp", "->", "arg_size", "=", "crtl", "->", "args", ".", "pretend_args_size", ";", "infp", "->", "frame_size", "=", "infp", "->", "arg_offset", "+", "infp", "->", "arg_size", ";", "infp", "->", "frame_init_p", "=", "reload_completed", ";", "}", ""], "natrual_language": ["Compute", "the", "stack", "frame", "layout", ",", "storing", "sizes", "of", "the", "various", "pieces", "in", "cfun-", ">", "machine", ".", "Stack", "frames", "constructed", "in", "the", "prologue", "look", "like", ":", "...", "caller", "'s", "frame", "...", "incoming", "SP", "-", ">", "caller", "'s", "outbound", "argument", "overflow", "argument", "spill", "optional", "FP", "-", ">", "register", "save", "local", "variables", "alloca", "(", ")", "space", "adjusted", "SP", "-", ">", "outbound", "argument", "overflow", "with", "SP/FP", "pointing", "at", "the", "base", "(", "low", "address", ")", "of", "the", "respective", "area", ",", "and", "each", "area", "aligned", "to", "a", "word", "boundary", "."], "TS_V_token": ["csky"], "File": "csky", "Func": "csky_layout_stack_frame", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6759, "Length": 127, "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", ".", "enableLongBranchPass", "(", ")", ")", "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": "MipsTargetMachine23", "Func": "addPreEmitPass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6760, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "permute_load", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "rtx", "mem_op", "=", "SET_SRC", "(", "body", ")", ";", "rtx", "tgt_reg", "=", "SET_DEST", "(", "body", ")", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "tgt_reg", ")", ";", "int", "n_elts", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "int", "half_elts", "=", "n_elts", "/", "2", ";", "rtx", "par", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "rtvec_alloc", "(", "n_elts", ")", ")", ";", "int", "i", ",", "j", ";", "for", "(", "i", "=", "0", ",", "j", "=", "half_elts", ";", "i", "<", "half_elts", ";", "++", "i", ",", "++", "j", ")", "XVECEXP", "(", "par", ",", "0", ",", "i", ")", "=", "GEN_INT", "(", "j", ")", ";", "for", "(", "i", "=", "half_elts", ",", "j", "=", "0", ";", "j", "<", "half_elts", ";", "++", "i", ",", "++", "j", ")", "XVECEXP", "(", "par", ",", "0", ",", "i", ")", "=", "GEN_INT", "(", "j", ")", ";", "rtx", "sel", "=", "gen_rtx_VEC_SELECT", "(", "mode", ",", "mem_op", ",", "par", ")", ";", "SET_SRC", "(", "body", ")", "=", "sel", ";", "INSN_CODE", "(", "insn", ")", "=", "-", "1", ";", "df_insn_rescan", "(", "insn", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Replacing load %d with permuted load\\n\"", ",", "INSN_UID", "(", "insn", ")", ")", ";", "}", ""], "natrual_language": ["Convert", "the", "non-permuting", "load", "INSN", "to", "a", "permuting", "one", "."], "TS_V_token": ["rs6000", "2", "0", "0", "0", "0", "1", "\"Replacing load %d with permuted load\\n\""], "File": "rs6000-p8swap", "Func": "permute_load", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6761, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "SparcRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "return", "CSR_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcRegisterInfo13", "Func": "getCalleeSavedRegs", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6762, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "expand_vec_perm_even_odd_trunc", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "rtx", "t1", ",", "t2", ",", "t3", ",", "t4", ";", "unsigned", "i", ",", "odd", ",", "nelt", "=", "d", "->", "nelt", ";", "if", "(", "!", "TARGET_AVX512BW", "||", "d", "->", "one_operand_p", "||", "d", "->", "vmode", "!=", "V64QImode", ")", "return", "false", ";", "odd", "=", "d", "->", "perm", "[", "0", "]", ";", "if", "(", "odd", ">", "1", ")", "return", "false", ";", "for", "(", "i", "=", "1", ";", "i", "<", "nelt", ";", "++", "i", ")", "if", "(", "d", "->", "perm", "[", "i", "]", "!=", "2", "*", "i", "+", "odd", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "if", "(", "odd", ")", "{", "t1", "=", "gen_reg_rtx", "(", "V32HImode", ")", ";", "t2", "=", "gen_reg_rtx", "(", "V32HImode", ")", ";", "emit_insn", "(", "gen_lshrv32hi3", "(", "t1", ",", "gen_lowpart", "(", "V32HImode", ",", "d", "->", "op0", ")", ",", "GEN_INT", "(", "8", ")", ")", ")", ";", "emit_insn", "(", "gen_lshrv32hi3", "(", "t2", ",", "gen_lowpart", "(", "V32HImode", ",", "d", "->", "op1", ")", ",", "GEN_INT", "(", "8", ")", ")", ")", ";", "}", "else", "{", "t1", "=", "gen_lowpart", "(", "V32HImode", ",", "d", "->", "op0", ")", ";", "t2", "=", "gen_lowpart", "(", "V32HImode", ",", "d", "->", "op1", ")", ";", "}", "t3", "=", "gen_reg_rtx", "(", "V32QImode", ")", ";", "t4", "=", "gen_reg_rtx", "(", "V32QImode", ")", ";", "emit_insn", "(", "gen_avx512bw_truncatev32hiv32qi2", "(", "t3", ",", "t1", ")", ")", ";", "emit_insn", "(", "gen_avx512bw_truncatev32hiv32qi2", "(", "t4", ",", "t2", ")", ")", ";", "emit_insn", "(", "gen_avx_vec_concatv64qi", "(", "d", "->", "target", ",", "t3", ",", "t4", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "expand_vec_perm_even_odd_1", ".", "Implement", "extract-even", "and", "extract-odd", "permutations", "of", "two", "V64QI", "operands", "with", "two", "``", "shifts", "''", ",", "two", "``", "truncs", "''", "and", "one", "``", "concat", "''", "insns", "for", "``", "odd", "''", "and", "two", "``", "truncs", "''", "and", "one", "concat", "insn", "for", "``", "even", ".", "''", "Have", "already", "failed", "all", "two", "instruction", "sequences", "."], "TS_V_token": ["i386", "0", "1", "1", "2", "8", "8"], "File": "i386-expand", "Func": "expand_vec_perm_even_odd_trunc", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6763, "Length": 247, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "emit_multi_reg_push", "(", "unsigned", "long", "mask", ")", "{", "int", "num_regs", "=", "0", ";", "int", "num_dwarf_regs", ";", "int", "i", ",", "j", ";", "rtx", "par", ";", "rtx", "dwarf", ";", "int", "dwarf_par_index", ";", "rtx", "tmp", ",", "reg", ";", "for", "(", "i", "=", "0", ";", "i", "<=", "LAST_ARM_REGNUM", ";", "i", "++", ")", "if", "(", "mask", "&", "(", "1", "<<", "i", ")", ")", "num_regs", "++", ";", "gcc_assert", "(", "num_regs", "&&", "num_regs", "<=", "16", ")", ";", "num_dwarf_regs", "=", "num_regs", ";", "if", "(", "mask", "&", "(", "1", "<<", "PC_REGNUM", ")", ")", "num_dwarf_regs", "--", ";", "par", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "num_regs", ")", ")", ";", "dwarf", "=", "gen_rtx_SEQUENCE", "(", "VOIDmode", ",", "rtvec_alloc", "(", "num_dwarf_regs", "+", "1", ")", ")", ";", "dwarf_par_index", "=", "1", ";", "for", "(", "i", "=", "0", ";", "i", "<=", "LAST_ARM_REGNUM", ";", "i", "++", ")", "{", "if", "(", "mask", "&", "(", "1", "<<", "i", ")", ")", "{", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "i", ")", ";", "XVECEXP", "(", "par", ",", "0", ",", "0", ")", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_frame_mem", "(", "BLKmode", ",", "gen_rtx_PRE_DEC", "(", "BLKmode", ",", "stack_pointer_rtx", ")", ")", ",", "gen_rtx_UNSPEC", "(", "BLKmode", ",", "gen_rtvec", "(", "1", ",", "reg", ")", ",", "UNSPEC_PUSH_MULT", ")", ")", ";", "if", "(", "i", "!=", "PC_REGNUM", ")", "{", "tmp", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_frame_mem", "(", "SImode", ",", "stack_pointer_rtx", ")", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "tmp", ")", "=", "1", ";", "XVECEXP", "(", "dwarf", ",", "0", ",", "dwarf_par_index", ")", "=", "tmp", ";", "dwarf_par_index", "++", ";", "}", "break", ";", "}", "}", "for", "(", "j", "=", "1", ",", "i", "++", ";", "j", "<", "num_regs", ";", "i", "++", ")", "{", "if", "(", "mask", "&", "(", "1", "<<", "i", ")", ")", "{", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "i", ")", ";", "XVECEXP", "(", "par", ",", "0", ",", "j", ")", "=", "gen_rtx_USE", "(", "VOIDmode", ",", "reg", ")", ";", "if", "(", "i", "!=", "PC_REGNUM", ")", "{", "tmp", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "stack_pointer_rtx", ",", "4", "*", "j", ")", ")", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "tmp", ")", "=", "1", ";", "XVECEXP", "(", "dwarf", ",", "0", ",", "dwarf_par_index", "++", ")", "=", "tmp", ";", "}", "j", "++", ";", "}", "}", "par", "=", "emit_insn", "(", "par", ")", ";", "tmp", "=", "gen_rtx_SET", "(", "SImode", ",", "stack_pointer_rtx", ",", "gen_rtx_PLUS", "(", "SImode", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "4", "*", "num_regs", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "tmp", ")", "=", "1", ";", "XVECEXP", "(", "dwarf", ",", "0", ",", "0", ")", "=", "tmp", ";", "REG_NOTES", "(", "par", ")", "=", "gen_rtx_EXPR_LIST", "(", "REG_FRAME_RELATED_EXPR", ",", "dwarf", ",", "REG_NOTES", "(", "par", ")", ")", ";", "return", "par", ";", "}", ""], "natrual_language": ["Generate", "and", "emit", "an", "insn", "that", "we", "will", "recognize", "as", "a", "push_multi", ".", "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", "0", "0", "1", "16", "1", "1", "1", "0", "1", "0", "0", "1", "1", "0", "1", "1", "0", "4", "1", "0", "4", "1", "0", "0"], "File": "arm3", "Func": "emit_multi_reg_push", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6764, "Length": 419, "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", ":", "if", "(", "Desc", ".", "getSize", "(", ")", ")", "return", "Desc", ".", "getSize", "(", ")", ";", "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", "::", "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::SPACE", "1"], "File": "AArch64InstrInfo31", "Func": "getInstSizeInBytes", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6765, "Length": 291, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "getPartialRegUpdateClearance", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "OpNum", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "OpNum", "!=", "0", "||", "!", "hasPartialRegUpdate", "(", "MI", ".", "getOpcode", "(", ")", ")", ")", "return", "0", ";", "const", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "unsigned", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "Reg", ")", ")", "{", "if", "(", "MO", ".", "readsReg", "(", ")", "||", "MI", ".", "readsVirtualRegister", "(", "Reg", ")", ")", "return", "0", ";", "}", "else", "{", "if", "(", "MI", ".", "readsRegister", "(", "Reg", ",", "TRI", ")", ")", "return", "0", ";", "}", "return", "PartialRegUpdateClearance", ";", "}", ""], "natrual_language": ["Inform", "the", "BreakFalseDeps", "pass", "how", "many", "idle", "instructions", "we", "would", "like", "before", "a", "partial", "register", "update", "."], "TS_V_token": ["X86", "X86", "0", "0", "0", "0", "0"], "File": "X86InstrInfo (2)1", "Func": "getPartialRegUpdateClearance", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6766, "Length": 110, "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": "ARMAsmParser112", "Func": "MatchAndEmitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6767, "Length": 381, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CSKYPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createCSKYConstantIslandPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["CSKY", "CSKY", "CSKY"], "File": "CSKYTargetMachine (2)", "Func": "addPreEmitPass", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6768, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "init_cumulative_args", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "tree", "fntype", ",", "rtx", "libname", "ATTRIBUTE_UNUSED", ",", "int", "incoming", ",", "int", "libcall", ",", "int", "n_named_args", ",", "tree", "fndecl", "ATTRIBUTE_UNUSED", ",", "machine_mode", "return_mode", "ATTRIBUTE_UNUSED", ")", "{", "static", "CUMULATIVE_ARGS", "zero_cumulative", ";", "*", "cum", "=", "zero_cumulative", ";", "cum", "->", "words", "=", "0", ";", "cum", "->", "fregno", "=", "FP_ARG_MIN_REG", ";", "cum", "->", "vregno", "=", "ALTIVEC_ARG_MIN_REG", ";", "cum", "->", "prototype", "=", "(", "fntype", "&&", "prototype_p", "(", "fntype", ")", ")", ";", "cum", "->", "call_cookie", "=", "(", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "libcall", ")", "?", "CALL_LIBCALL", ":", "CALL_NORMAL", ")", ";", "cum", "->", "sysv_gregno", "=", "GP_ARG_MIN_REG", ";", "cum", "->", "stdarg", "=", "stdarg_p", "(", "fntype", ")", ";", "cum", "->", "libcall", "=", "libcall", ";", "cum", "->", "nargs_prototype", "=", "0", ";", "if", "(", "incoming", "||", "cum", "->", "prototype", ")", "cum", "->", "nargs_prototype", "=", "n_named_args", ";", "if", "(", "(", "!", "fntype", "&&", "rs6000_default_long_calls", ")", "||", "(", "fntype", "&&", "lookup_attribute", "(", "\"longcall\"", ",", "TYPE_ATTRIBUTES", "(", "fntype", ")", ")", "&&", "!", "lookup_attribute", "(", "\"shortcall\"", ",", "TYPE_ATTRIBUTES", "(", "fntype", ")", ")", ")", ")", "cum", "->", "call_cookie", "|=", "CALL_LONG", ";", "if", "(", "TARGET_DEBUG_ARG", ")", "{", "fprintf", "(", "stderr", ",", "\"\\ninit_cumulative_args:\"", ")", ";", "if", "(", "fntype", ")", "{", "tree", "ret_type", "=", "TREE_TYPE", "(", "fntype", ")", ";", "fprintf", "(", "stderr", ",", "\" ret code = %s,\"", ",", "get_tree_code_name", "(", "TREE_CODE", "(", "ret_type", ")", ")", ")", ";", "}", "if", "(", "cum", "->", "call_cookie", "&", "CALL_LONG", ")", "fprintf", "(", "stderr", ",", "\" longcall,\"", ")", ";", "fprintf", "(", "stderr", ",", "\" proto = %d, nargs = %d\\n\"", ",", "cum", "->", "prototype", ",", "cum", "->", "nargs_prototype", ")", ";", "}", "if", "(", "TARGET_ELF", "&&", "(", "TARGET_64BIT", "||", "DEFAULT_ABI", "==", "ABI_V4", ")", ")", "{", "cum", "->", "escapes", "=", "call_ABI_of_interest", "(", "fndecl", ")", ";", "if", "(", "cum", "->", "escapes", ")", "{", "tree", "return_type", ";", "if", "(", "fntype", ")", "{", "return_type", "=", "TREE_TYPE", "(", "fntype", ")", ";", "return_mode", "=", "TYPE_MODE", "(", "return_type", ")", ";", "}", "else", "return_type", "=", "lang_hooks", ".", "types", ".", "type_for_mode", "(", "return_mode", ",", "0", ")", ";", "if", "(", "return_type", "!=", "NULL", ")", "{", "if", "(", "TREE_CODE", "(", "return_type", ")", "==", "RECORD_TYPE", "&&", "TYPE_TRANSPARENT_AGGR", "(", "return_type", ")", ")", "{", "return_type", "=", "TREE_TYPE", "(", "first_field", "(", "return_type", ")", ")", ";", "return_mode", "=", "TYPE_MODE", "(", "return_type", ")", ";", "}", "if", "(", "AGGREGATE_TYPE_P", "(", "return_type", ")", "&&", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "int_size_in_bytes", "(", "return_type", ")", "<=", "8", ")", ")", "rs6000_returns_struct", "=", "true", ";", "}", "if", "(", "SCALAR_FLOAT_MODE_P", "(", "return_mode", ")", ")", "{", "rs6000_passes_float", "=", "true", ";", "if", "(", "(", "HAVE_LD_PPC_GNU_ATTR_LONG_DOUBLE", "||", "TARGET_64BIT", ")", "&&", "(", "FLOAT128_IBM_P", "(", "return_mode", ")", "||", "FLOAT128_IEEE_P", "(", "return_mode", ")", "||", "(", "return_type", "!=", "NULL", "&&", "(", "TYPE_MAIN_VARIANT", "(", "return_type", ")", "==", "long_double_type_node", ")", ")", ")", ")", "rs6000_passes_long_double", "=", "true", ";", "}", "if", "(", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "return_mode", ")", "||", "SPE_VECTOR_MODE", "(", "return_mode", ")", ")", "rs6000_passes_vector", "=", "true", ";", "}", "}", "if", "(", "fntype", "&&", "!", "TARGET_ALTIVEC", "&&", "TARGET_ALTIVEC_ABI", "&&", "ALTIVEC_VECTOR_MODE", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "fntype", ")", ")", ")", ")", "{", "error", "(", "\"cannot return value in vector register because\"", "\" altivec instructions are disabled, use -maltivec\"", "\" to enable them\"", ")", ";", "}", "}", ""], "natrual_language": ["Handle", "the", "INIT_CUMULATIVE_ARGS", "macro", ".", "Initialize", "a", "variable", "CUM", "of", "type", "CUMULATIVE_ARGS", "for", "a", "call", "to", "a", "function", "whose", "data", "type", "is", "FNTYPE", ".", "For", "a", "library", "call", ",", "FNTYPE", "is", "0", "."], "TS_V_token": ["rs6000", "0", "0", "\"longcall\"", "\"shortcall\"", "\"\\ninit_cumulative_args:\"", "\" ret code = %s,\"", "\" longcall,\"", "\" proto = %d, nargs = %d\\n\"", "0", "8", "\"cannot return value in vector register because\"", "\" altivec instructions are disabled, use -maltivec\"", "\" to enable them\""], "File": "rs60006", "Func": "init_cumulative_args", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6769, "Length": 474, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_delegitimize_address", "(", "rtx", "orig_x", ")", "{", "rtx", "x", ",", "y", ",", "offset", ";", "orig_x", "=", "delegitimize_mem_from_attrs", "(", "orig_x", ")", ";", "x", "=", "orig_x", ";", "if", "(", "MEM_P", "(", "x", ")", ")", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "y", "=", "x", ";", "if", "(", "TARGET_CMODEL", "!=", "CMODEL_SMALL", "&&", "GET_CODE", "(", "y", ")", "==", "LO_SUM", ")", "y", "=", "XEXP", "(", "y", ",", "1", ")", ";", "offset", "=", "NULL_RTX", ";", "if", "(", "GET_CODE", "(", "y", ")", "==", "PLUS", "&&", "GET_MODE", "(", "y", ")", "==", "Pmode", "&&", "CONST_INT_P", "(", "XEXP", "(", "y", ",", "1", ")", ")", ")", "{", "offset", "=", "XEXP", "(", "y", ",", "1", ")", ";", "y", "=", "XEXP", "(", "y", ",", "0", ")", ";", "}", "if", "(", "GET_CODE", "(", "y", ")", "==", "UNSPEC", "&&", "XINT", "(", "y", ",", "1", ")", "==", "UNSPEC_TOCREL", ")", "{", "y", "=", "XVECEXP", "(", "y", ",", "0", ",", "0", ")", ";", "if", "(", "TARGET_XCOFF", "&&", "GET_CODE", "(", "y", ")", "==", "SYMBOL_REF", "&&", "CONSTANT_POOL_ADDRESS_P", "(", "y", ")", "&&", "rs6000_real_tls_symbol_ref_p", "(", "get_pool_constant", "(", "y", ")", ")", ")", "return", "orig_x", ";", "if", "(", "offset", "!=", "NULL_RTX", ")", "y", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "y", ",", "offset", ")", ";", "if", "(", "!", "MEM_P", "(", "orig_x", ")", ")", "return", "y", ";", "else", "return", "replace_equiv_address_nv", "(", "orig_x", ",", "y", ")", ";", "}", "if", "(", "TARGET_MACHO", "&&", "GET_CODE", "(", "orig_x", ")", "==", "LO_SUM", "&&", "GET_CODE", "(", "XEXP", "(", "orig_x", ",", "1", ")", ")", "==", "CONST", ")", "{", "y", "=", "XEXP", "(", "XEXP", "(", "orig_x", ",", "1", ")", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "y", ")", "==", "UNSPEC", "&&", "XINT", "(", "y", ",", "1", ")", "==", "UNSPEC_MACHOPIC_OFFSET", ")", "return", "XVECEXP", "(", "y", ",", "0", ",", "0", ")", ";", "}", "return", "orig_x", ";", "}", ""], "natrual_language": ["In", "the", "name", "of", "slightly", "smaller", "debug", "output", ",", "and", "to", "cater", "to", "general", "assembler", "lossage", ",", "recognize", "various", "UNSPEC", "sequences", "and", "turn", "them", "back", "into", "a", "direct", "symbol", "reference", "."], "TS_V_token": ["rs6000", "0", "1", "1", "1", "0", "1", "0", "0", "1", "1", "0", "1", "0", "0"], "File": "rs60004", "Func": "rs6000_delegitimize_address", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6770, "Length": 284, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pa_scalar_mode_supported_p", "(", "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", ";", "case", "MODE_DECIMAL_FLOAT", ":", "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": "pa4", "Func": "pa_scalar_mode_supported_p", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6771, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "EnableA53Fix835769", ")", "addPass", "(", "createAArch64A53Fix835769", "(", ")", ")", ";", "addPass", "(", "createAArch64BranchRelaxation", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableCollectLOH", "&&", "TM", "->", "getTargetTriple", "(", ")", ".", "isOSBinFormatMachO", "(", ")", ")", "addPass", "(", "createAArch64CollectLOHPass", "(", ")", ")", ";", "}", ""], "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": "AArch64TargetMachine10", "Func": "addPreEmitPass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6772, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "csky_can_use_ldstm", "(", "int", "mask", ",", "int", "*", "br", ",", "int", "*", "er", ")", "{", "int", "regno", ";", "int", "begin_reg", "=", "0", ",", "end_reg", "=", "0", ";", "int", "count", "=", "0", ";", "if", "(", "!", "TARGET_MULTIPLE_STLD", ")", "return", "false", ";", "if", "(", "mask", "&", "0xf", ")", "return", "false", ";", "for", "(", "regno", "=", "4", ";", "regno", "<=", "11", ";", "regno", "++", ")", "{", "if", "(", "mask", "&", "1", "<<", "regno", ")", "{", "if", "(", "!", "begin_reg", ")", "begin_reg", "=", "regno", ";", "end_reg", "=", "regno", ";", "count", "++", ";", "}", "else", "if", "(", "begin_reg", ")", "break", ";", "}", "if", "(", "count", ">=", "CSKY_MIN_MULTIPLE_STLD", "&&", "count", "<=", "CSKY_MAX_MULTIPLE_STLD", ")", "{", "if", "(", "br", ")", "*", "br", "=", "begin_reg", ";", "if", "(", "er", ")", "*", "er", "=", "end_reg", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "store/load", "multiple", "instructions", "can", "be", "used", "to", "save/restore", "at", "least", "some", "of", "the", "registers", "indicated", "by", "MASK", ".", "Unlike", "the", "push/pop", "case", ",", "this", "does", "handle", "partial", "ranges", ".", "Set", "*", "BR", "and", "*", "ER", "to", "the", "beginning", "and", "end", "(", "respectively", ")", "of", "the", "register", "range", "that", "can", "be", "handled", "."], "TS_V_token": ["csky", "0", "0", "0", "0xf", "4", "11", "1"], "File": "csky", "Func": "csky_can_use_ldstm", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6773, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_split_atomic_op", "(", "enum", "rtx_code", "code", ",", "rtx", "old_out", ",", "rtx", "new_out", ",", "rtx", "mem", ",", "rtx", "value", ",", "rtx", "model_rtx", ",", "rtx", "cond", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "machine_mode", "wmode", "=", "(", "mode", "==", "DImode", "?", "DImode", ":", "SImode", ")", ";", "rtx_code_label", "*", "label", ";", "rtx", "x", ";", "label", "=", "gen_label_rtx", "(", ")", ";", "emit_label", "(", "label", ")", ";", "if", "(", "new_out", ")", "new_out", "=", "gen_lowpart", "(", "wmode", ",", "new_out", ")", ";", "if", "(", "old_out", ")", "old_out", "=", "gen_lowpart", "(", "wmode", ",", "old_out", ")", ";", "else", "old_out", "=", "new_out", ";", "value", "=", "simplify_gen_subreg", "(", "wmode", ",", "value", ",", "mode", ",", "0", ")", ";", "aarch64_emit_load_exclusive", "(", "mode", ",", "old_out", ",", "mem", ",", "model_rtx", ")", ";", "switch", "(", "code", ")", "{", "case", "SET", ":", "new_out", "=", "value", ";", "break", ";", "case", "NOT", ":", "x", "=", "gen_rtx_AND", "(", "wmode", ",", "old_out", ",", "value", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "new_out", ",", "x", ")", ")", ";", "x", "=", "gen_rtx_NOT", "(", "wmode", ",", "new_out", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "new_out", ",", "x", ")", ")", ";", "break", ";", "case", "MINUS", ":", "if", "(", "CONST_INT_P", "(", "value", ")", ")", "{", "value", "=", "GEN_INT", "(", "-", "INTVAL", "(", "value", ")", ")", ";", "code", "=", "PLUS", ";", "}", "default", ":", "x", "=", "gen_rtx_fmt_ee", "(", "code", ",", "wmode", ",", "old_out", ",", "value", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "new_out", ",", "x", ")", ")", ";", "break", ";", "}", "aarch64_emit_store_exclusive", "(", "mode", ",", "cond", ",", "mem", ",", "gen_lowpart", "(", "mode", ",", "new_out", ")", ",", "model_rtx", ")", ";", "x", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "cond", ",", "const0_rtx", ")", ";", "x", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "x", ",", "gen_rtx_LABEL_REF", "(", "Pmode", ",", "label", ")", ",", "pc_rtx", ")", ";", "aarch64_emit_unlikely_jump", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "pc_rtx", ",", "x", ")", ")", ";", "}", ""], "natrual_language": ["Split", "an", "atomic", "operation", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch642", "Func": "aarch64_split_atomic_op", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6774, "Length": 300, "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": ["AArch64"], "File": "AArch64AsmParser (2)1", "Func": "isMem", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6775, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "frame_header_opt", "(", ")", "{", "struct", "cgraph_node", "*", "node", ";", "function", "*", "fn", ";", "FOR_EACH_DEFINED_FUNCTION", "(", "node", ")", "{", "fn", "=", "node", "->", "get_fun", "(", ")", ";", "if", "(", "fn", "!=", "NULL", ")", "fn", "->", "machine", "->", "does_not_use_frame_header", "=", "!", "needs_frame_header_p", "(", "fn", ")", ";", "}", "FOR_EACH_DEFINED_FUNCTION", "(", "node", ")", "{", "fn", "=", "node", "->", "get_fun", "(", ")", ";", "if", "(", "fn", "!=", "NULL", ")", "fn", "->", "machine", "->", "optimize_call_stack", "=", "!", "callees_functions_use_frame_header", "(", "fn", ")", "&&", "!", "is_leaf_function", "(", "fn", ")", ";", "}", "FOR_EACH_DEFINED_FUNCTION", "(", "node", ")", "{", "fn", "=", "node", "->", "get_fun", "(", ")", ";", "if", "(", "fn", "!=", "NULL", "&&", "fn", "->", "machine", "->", "optimize_call_stack", ")", "set_callers_may_not_allocate_frame", "(", "fn", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Scan", "each", "function", "to", "determine", "those", "that", "need", "its", "frame", "headers", ".", "Perform", "a", "second", "scan", "to", "determine", "if", "the", "allocation", "can", "be", "skipped", "because", "none", "of", "their", "callees", "require", "the", "frame", "header", "."], "TS_V_token": ["mips", "0"], "File": "frame-header-opt", "Func": "frame_header_opt", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6776, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "ARM64TargetLowering", "::", "getScratchRegisters", "(", "CallingConv", "::", "ID", ")", "const", "{", "static", "const", "MCPhysReg", "ScratchRegs", "[", "]", "=", "{", "ARM64", "::", "X16", ",", "ARM64", "::", "X17", ",", "ARM64", "::", "LR", ",", "0", "}", ";", "return", "ScratchRegs", ";", "}", ""], "natrual_language": ["Returns", "a", "0", "terminated", "array", "of", "registers", "that", "can", "be", "safely", "used", "as", "scratch", "registers", "."], "TS_V_token": ["ARM64", "ARM64", "ARM64::X16", "ARM64::X17", "ARM64::LR", "0"], "File": "ARM64ISelLowering", "Func": "getScratchRegisters", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6777, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aapcs_vfp_allocate", "(", "CUMULATIVE_ARGS", "*", "pcum", ",", "machine_mode", "mode", ",", "const_tree", "type", "ATTRIBUTE_UNUSED", ")", "{", "int", "shift", "=", "GET_MODE_SIZE", "(", "pcum", "->", "aapcs_vfp_rmode", ")", "/", "GET_MODE_SIZE", "(", "SFmode", ")", ";", "unsigned", "mask", "=", "(", "1", "<<", "(", "shift", "*", "pcum", "->", "aapcs_vfp_rcount", ")", ")", "-", "1", ";", "int", "regno", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "NUM_VFP_ARG_REGS", ";", "regno", "+=", "shift", ")", "if", "(", "(", "(", "pcum", "->", "aapcs_vfp_regs_free", ">>", "regno", ")", "&", "mask", ")", "==", "mask", ")", "{", "pcum", "->", "aapcs_vfp_reg_alloc", "=", "mask", "<<", "regno", ";", "if", "(", "mode", "==", "BLKmode", "||", "(", "mode", "==", "TImode", "&&", "!", "TARGET_NEON", ")", "||", "!", "arm_hard_regno_mode_ok", "(", "FIRST_VFP_REGNUM", "+", "regno", ",", "mode", ")", ")", "{", "int", "i", ";", "int", "rcount", "=", "pcum", "->", "aapcs_vfp_rcount", ";", "int", "rshift", "=", "shift", ";", "machine_mode", "rmode", "=", "pcum", "->", "aapcs_vfp_rmode", ";", "rtx", "par", ";", "if", "(", "!", "TARGET_NEON", ")", "{", "if", "(", "rmode", "==", "V2SImode", ")", "rmode", "=", "DImode", ";", "else", "if", "(", "rmode", "==", "V4SImode", ")", "{", "rmode", "=", "DImode", ";", "rcount", "*=", "2", ";", "rshift", "/=", "2", ";", "}", "}", "par", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "rtvec_alloc", "(", "rcount", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "rcount", ";", "i", "++", ")", "{", "rtx", "tmp", "=", "gen_rtx_REG", "(", "rmode", ",", "FIRST_VFP_REGNUM", "+", "regno", "+", "i", "*", "rshift", ")", ";", "tmp", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "tmp", ",", "GEN_INT", "(", "i", "*", "GET_MODE_SIZE", "(", "rmode", ")", ")", ")", ";", "XVECEXP", "(", "par", ",", "0", ",", "i", ")", "=", "tmp", ";", "}", "pcum", "->", "aapcs_reg", "=", "par", ";", "}", "else", "pcum", "->", "aapcs_reg", "=", "gen_rtx_REG", "(", "mode", ",", "FIRST_VFP_REGNUM", "+", "regno", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "the", "allocate", "field", "in", "aapcs_cp_arg_layout", ".", "See", "the", "comment", "there", "for", "the", "behaviour", "of", "this", "function", "."], "TS_V_token": ["arm", "1", "1", "0", "2", "2", "0", "0"], "File": "arm4", "Func": "aapcs_vfp_allocate", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6778, "Length": 281, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "pru_comparison_str", "(", "enum", "rtx_code", "cond", ")", "{", "switch", "(", "cond", ")", "{", "case", "NE", ":", "return", "\"ne\"", ";", "case", "EQ", ":", "return", "\"eq\"", ";", "case", "GEU", ":", "return", "\"ge\"", ";", "case", "GTU", ":", "return", "\"gt\"", ";", "case", "LEU", ":", "return", "\"le\"", ";", "case", "LTU", ":", "return", "\"lt\"", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Map", "rtx_code", "to", "unsigned", "PRU", "branch", "op", "suffix", ".", "Callers", "must", "handle", "sign", "comparison", "themselves", "for", "signed", "operations", "."], "TS_V_token": ["pru", "\"ne\"", "\"eq\"", "\"ge\"", "\"gt\"", "\"le\"", "\"lt\""], "File": "pru", "Func": "pru_comparison_str", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6779, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsTargetLowering", "::", "getJumpTableEncoding", "(", ")", "const", "{", "if", "(", "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)", "Func": "getJumpTableEncoding", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6780, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"Local Dynamic TLS Access Clean-up\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM64", "\"Local Dynamic TLS Access Clean-up\""], "File": "ARM64CleanupLocalDynamicTLSPass1", "Func": "getPassName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6781, "Length": 13, "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": 6782, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createThumb2SizeReductionPass", "(", ")", ")", ";", "if", "(", "getARMSubtarget", "(", ")", ".", "isThumb2", "(", ")", ")", "addPass", "(", "&", "UnpackMachineBundlesID", ")", ";", "addPass", "(", "createARMOptimizeBarriersPass", "(", ")", ")", ";", "addPass", "(", "createARMConstantIslandPass", "(", ")", ")", ";", "}", ""], "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", "ARM", "ARM"], "File": "ARMTargetMachine29", "Func": "addPreEmitPass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6783, "Length": 45, "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": 6784, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_swdiv", "(", "rtx", "dst", ",", "rtx", "n", ",", "rtx", "d", ",", "bool", "note_p", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "dst", ")", ";", "rtx", "one", ",", "x0", ",", "e0", ",", "x1", ",", "xprev", ",", "eprev", ",", "xnext", ",", "enext", ",", "u", ",", "v", ";", "int", "i", ";", "int", "passes", "=", "(", "TARGET_RECIP_PRECISION", ")", "?", "1", ":", "3", ";", "if", "(", "mode", "==", "DFmode", "||", "mode", "==", "V2DFmode", ")", "passes", "++", ";", "enum", "insn_code", "code", "=", "optab_handler", "(", "smul_optab", ",", "mode", ")", ";", "insn_gen_fn", "gen_mul", "=", "GEN_FCN", "(", "code", ")", ";", "gcc_assert", "(", "code", "!=", "CODE_FOR_nothing", ")", ";", "one", "=", "rs6000_load_constant_and_splat", "(", "mode", ",", "dconst1", ")", ";", "x0", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "x0", ",", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "1", ",", "d", ")", ",", "UNSPEC_FRES", ")", ")", ")", ";", "if", "(", "passes", ">", "1", ")", "{", "e0", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rs6000_emit_nmsub", "(", "e0", ",", "d", ",", "x0", ",", "one", ")", ";", "x1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rs6000_emit_madd", "(", "x1", ",", "e0", ",", "x0", ",", "x0", ")", ";", "for", "(", "i", "=", "0", ",", "xprev", "=", "x1", ",", "eprev", "=", "e0", ";", "i", "<", "passes", "-", "2", ";", "++", "i", ",", "xprev", "=", "xnext", ",", "eprev", "=", "enext", ")", "{", "enext", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_mul", "(", "enext", ",", "eprev", ",", "eprev", ")", ")", ";", "xnext", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rs6000_emit_madd", "(", "xnext", ",", "enext", ",", "xprev", ",", "xprev", ")", ";", "}", "}", "else", "xprev", "=", "x0", ";", "u", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_mul", "(", "u", ",", "n", ",", "xprev", ")", ")", ";", "v", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rs6000_emit_nmsub", "(", "v", ",", "d", ",", "u", ",", "n", ")", ";", "rs6000_emit_madd", "(", "dst", ",", "v", ",", "xprev", ",", "u", ")", ";", "if", "(", "note_p", ")", "add_reg_note", "(", "get_last_insn", "(", ")", ",", "REG_EQUAL", ",", "gen_rtx_DIV", "(", "mode", ",", "n", ",", "d", ")", ")", ";", "}", ""], "natrual_language": ["Newton-Raphson", "approximation", "of", "floating", "point", "divide", "DST", "=", "N/D", ".", "If", "NOTE_P", ",", "add", "a", "reg_note", "saying", "that", "this", "was", "a", "division", ".", "Support", "both", "scalar", "and", "vector", "divide", ".", "Assumes", "no", "trapping", "math", "and", "finite", "arguments", "."], "TS_V_token": ["rs6000", "1", "3", "1", "1", "0", "2"], "File": "rs60004", "Func": "rs6000_emit_swdiv", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6785, "Length": 328, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64LoadStoreOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "const", "TargetMachine", "&", "TM", "=", "Fn", ".", "getTarget", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "TM", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "TM", ".", "getRegisterInfo", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "auto", "&", "MBB", ":", "Fn", ")", "Modified", "|=", "optimizeBlock", "(", "MBB", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64LoadStoreOptimizer24", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6786, "Length": 69, "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": 6787, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmParser", "::", "ParseInstruction", "(", "const", "StringRef", "&", "Name", ",", "SMLoc", "NameLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ")", "{", "Operands", ".", "push_back", "(", "new", "ARMOperand", "(", "ARMOperand", "::", "CreateToken", "(", "Name", ")", ")", ")", ";", "SMLoc", "Loc", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "ARMOperand", "Op", ";", "if", "(", "ParseOperand", "(", "Op", ")", ")", "return", "true", ";", "Operands", ".", "push_back", "(", "new", "ARMOperand", "(", "Op", ")", ")", ";", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "ParseOperand", "(", "Op", ")", ")", "return", "true", ";", "Operands", ".", "push_back", "(", "new", "ARMOperand", "(", "Op", ")", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM"], "File": "ARMAsmParser79", "Func": "ParseInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6788, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "section", "*", "rs6000_elf_select_rtx_section", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "unsigned", "HOST_WIDE_INT", "align", ")", "{", "if", "(", "ASM_OUTPUT_SPECIAL_POOL_ENTRY_P", "(", "x", ",", "mode", ")", ")", "return", "toc_section", ";", "else", "return", "default_elf_select_rtx_section", "(", "mode", ",", "x", ",", "align", ")", ";", "}", ""], "natrual_language": ["A", "C", "statement", "or", "statements", "to", "switch", "to", "the", "appropriate", "section", "for", "output", "of", "RTX", "in", "mode", "MODE", ".", "You", "can", "assume", "that", "RTX", "is", "some", "kind", "of", "constant", "in", "RTL", ".", "The", "argument", "MODE", "is", "redundant", "except", "in", "the", "case", "of", "a", "`", "const_int", "'", "rtx", ".", "Select", "the", "section", "by", "calling", "`", "text_section", "'", "or", "one", "of", "the", "alternatives", "for", "other", "sections", ".", "Do", "not", "define", "this", "macro", "if", "you", "put", "all", "constants", "in", "the", "read-only", "data", "section", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_elf_select_rtx_section", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6789, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_emit_binop", "(", "rtx", "dest", ",", "optab", "binoptab", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "rtx", "tmp", "=", "expand_binop", "(", "GET_MODE", "(", "dest", ")", ",", "binoptab", ",", "op0", ",", "op1", ",", "dest", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "if", "(", "dest", "!=", "tmp", ")", "emit_move_insn", "(", "dest", ",", "tmp", ")", ";", "}", ""], "natrual_language": ["Apply", "BINOPTAB", "to", "OP0", "and", "OP1", "and", "store", "the", "result", "in", "DEST", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64", "Func": "aarch64_emit_binop", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6790, "Length": 54, "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": 6791, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmParser", "::", "emitInstruction", "(", "MCInst", "&", "Inst", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ")", "{", "Out", ".", "emitInstruction", "(", "Inst", ",", "getSTI", "(", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["X86", "X86"], "File": "X86AsmParser64", "Func": "emitInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6792, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "iq2000_address_cost", "(", "rtx", "addr", ")", "{", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "LO_SUM", ":", "return", "1", ";", "case", "LABEL_REF", ":", "return", "2", ";", "case", "CONST", ":", "{", "rtx", "offset", "=", "const0_rtx", ";", "addr", "=", "eliminate_constant_term", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "&", "offset", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "LABEL_REF", ")", "return", "2", ";", "if", "(", "GET_CODE", "(", "addr", ")", "!=", "SYMBOL_REF", ")", "return", "4", ";", "if", "(", "!", "SMALL_INT", "(", "offset", ")", ")", "return", "2", ";", "}", "case", "SYMBOL_REF", ":", "return", "SYMBOL_REF_FLAG", "(", "addr", ")", "?", "1", ":", "2", ";", "case", "PLUS", ":", "{", "rtx", "plus0", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "rtx", "plus1", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "plus0", ")", "!=", "REG", "&&", "GET_CODE", "(", "plus1", ")", "==", "REG", ")", "plus0", "=", "XEXP", "(", "addr", ",", "1", ")", ",", "plus1", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "plus0", ")", "!=", "REG", ")", "break", ";", "switch", "(", "GET_CODE", "(", "plus1", ")", ")", "{", "case", "CONST_INT", ":", "return", "SMALL_INT", "(", "plus1", ")", "?", "1", ":", "2", ";", "case", "CONST", ":", "case", "SYMBOL_REF", ":", "case", "LABEL_REF", ":", "case", "HIGH", ":", "case", "LO_SUM", ":", "return", "iq2000_address_cost", "(", "plus1", ")", "+", "1", ";", "default", ":", "break", ";", "}", "}", "default", ":", "break", ";", "}", "return", "4", ";", "}", ""], "natrual_language": ["Provide", "the", "costs", "of", "an", "addressing", "mode", "that", "contains", "ADDR", "."], "TS_V_token": ["iq2000", "1", "2", "0", "2", "4", "2", "1", "2", "0", "1", "1", "0", "1", "2", "1", "4"], "File": "iq20002", "Func": "iq2000_address_cost", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6793, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "getMemOperandWithOffset", "(", "const", "MachineInstr", "&", "LdSt", ",", "const", "MachineOperand", "*", "&", "BaseOp", ",", "int64_t", "&", "Offset", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "!", "LdSt", ".", "mayLoadOrStore", "(", ")", ")", "return", "false", ";", "unsigned", "Width", ";", "return", "getMemOperandWithOffsetWidth", "(", "LdSt", ",", "BaseOp", ",", "Offset", ",", "Width", ",", "TRI", ")", ";", "}", ""], "natrual_language": ["Get", "the", "base", "operand", "and", "byte", "offset", "of", "an", "instruction", "that", "reads/writes", "memory", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64InstrInfo120", "Func": "getMemOperandWithOffset", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6794, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "if", "(", "Count", "%", "4", "!=", "0", ")", "return", "false", ";", "uint64_t", "NumNops", "=", "Count", "/", "4", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "!=", "NumNops", ";", "++", "i", ")", "OW", "->", "Write32", "(", "0x01000000", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["Sparc", "4", "0", "4", "0", "0x01000000"], "File": "SparcAsmBackend12", "Func": "writeNopData", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6795, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "VERegisterInfo", "::", "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", "VEFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "Register", "FrameReg", ";", "int", "Offset", ";", "Offset", "=", "TFI", "->", "getFrameIndexReference", "(", "MF", ",", "FrameIndex", ",", "FrameReg", ")", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "2", ")", ".", "getImm", "(", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "VE", "::", "STQrii", ")", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "Register", "SrcReg", "=", "MI", ".", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", ";", "Register", "SrcHiReg", "=", "getSubReg", "(", "SrcReg", ",", "VE", "::", "sub_even", ")", ";", "Register", "SrcLoReg", "=", "getSubReg", "(", "SrcReg", ",", "VE", "::", "sub_odd", ")", ";", "MachineInstr", "*", "StMI", "=", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "VE", "::", "STrii", ")", ")", ".", "addReg", "(", "FrameReg", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcLoReg", ")", ";", "replaceFI", "(", "MF", ",", "II", ",", "*", "StMI", ",", "dl", ",", "0", ",", "Offset", ",", "FrameReg", ")", ";", "MI", ".", "setDesc", "(", "TII", ".", "get", "(", "VE", "::", "STrii", ")", ")", ";", "MI", ".", "getOperand", "(", "3", ")", ".", "setReg", "(", "SrcHiReg", ")", ";", "Offset", "+=", "8", ";", "}", "else", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "VE", "::", "LDQrii", ")", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "Register", "DestReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "Register", "DestHiReg", "=", "getSubReg", "(", "DestReg", ",", "VE", "::", "sub_even", ")", ";", "Register", "DestLoReg", "=", "getSubReg", "(", "DestReg", ",", "VE", "::", "sub_odd", ")", ";", "MachineInstr", "*", "StMI", "=", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "VE", "::", "LDrii", ")", ",", "DestLoReg", ")", ".", "addReg", "(", "FrameReg", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ";", "replaceFI", "(", "MF", ",", "II", ",", "*", "StMI", ",", "dl", ",", "1", ",", "Offset", ",", "FrameReg", ")", ";", "MI", ".", "setDesc", "(", "TII", ".", "get", "(", "VE", "::", "LDrii", ")", ")", ";", "MI", ".", "getOperand", "(", "0", ")", ".", "setReg", "(", "DestHiReg", ")", ";", "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": ["VE", "VE", "0", "\"Unexpected\"", "VE", "2", "VE::STQrii", "3", "VE::sub_even", "VE::sub_odd", "VE::STrii", "0", "0", "0", "VE::STrii", "3", "8", "VE::LDQrii", "0", "VE::sub_even", "VE::sub_odd", "VE::LDrii", "0", "0", "1", "VE::LDrii", "0", "8"], "File": "VERegisterInfo6", "Func": "eliminateFrameIndex", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6796, "Length": 462, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "machine_function", "*", "nds32_init_machine_status", "(", "void", ")", "{", "struct", "machine_function", "*", "machine", ";", "machine", "=", "ggc_cleared_alloc", "<", "machine_function", ">", "(", ")", ";", "machine", "->", "use_eh_return_p", "=", "0", ";", "machine", "->", "naked_p", "=", "0", ";", "machine", "->", "fp_as_gp_p", "=", "0", ";", "machine", "->", "strict_aligned_p", "=", "0", ";", "machine", "->", "attr_naked_p", "=", "0", ";", "machine", "->", "attr_no_prologue_p", "=", "0", ";", "return", "machine", ";", "}", ""], "natrual_language": ["Function", "to", "save", "and", "restore", "machine-specific", "function", "data", "."], "TS_V_token": ["nds32", "0", "0", "0", "0", "0", "0"], "File": "nds32", "Func": "nds32_init_machine_status", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6797, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_get_sve_pred_bits", "(", "rtx_vector_builder", "&", "builder", ",", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "!=", "CONST_VECTOR", ")", "return", "false", ";", "unsigned", "int", "factor", "=", "vector_element_size", "(", "GET_MODE_NUNITS", "(", "VNx16BImode", ")", ",", "GET_MODE_NUNITS", "(", "GET_MODE", "(", "x", ")", ")", ")", ";", "unsigned", "int", "npatterns", "=", "CONST_VECTOR_NPATTERNS", "(", "x", ")", "*", "factor", ";", "unsigned", "int", "nelts_per_pattern", "=", "CONST_VECTOR_NELTS_PER_PATTERN", "(", "x", ")", ";", "builder", ".", "new_vector", "(", "VNx16BImode", ",", "npatterns", ",", "nelts_per_pattern", ")", ";", "unsigned", "int", "nelts", "=", "const_vector_encoded_nelts", "(", "x", ")", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "nelts", ";", "++", "i", ")", "{", "rtx", "elt", "=", "CONST_VECTOR_ENCODED_ELT", "(", "x", ",", "i", ")", ";", "if", "(", "!", "CONST_INT_P", "(", "elt", ")", ")", "return", "false", ";", "builder", ".", "quick_push", "(", "elt", ")", ";", "for", "(", "unsigned", "int", "j", "=", "1", ";", "j", "<", "factor", ";", "++", "j", ")", "builder", ".", "quick_push", "(", "const0_rtx", ")", ";", "}", "builder", ".", "finalize", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "predicate", "value", "X", "is", "a", "constant", "in", "which", "every", "element", "is", "a", "CONST_INT", ".", "When", "returning", "true", ",", "describe", "X", "in", "BUILDER", "as", "a", "VNx16BI", "value", ",", "i.e", ".", "as", "a", "predicate", "in", "which", "all", "bits", "are", "significant", "."], "TS_V_token": ["aarch64", "0", "1"], "File": "aarch64", "Func": "aarch64_get_sve_pred_bits", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6798, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"NEON reg-reg move conversion\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"NEON reg-reg move conversion\""], "File": "NEONMoveFix1", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6799, "Length": 13, "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", ",", "CodeModel", "::", "Small", ")", ",", "OL", ")", ",", "TargetABI", "(", "computeTargetABI", "(", "TT", ",", "CPU", ",", "Options", ")", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", ",", "isLittle", "(", "isLittle", ")", "{", "if", "(", "Options", ".", "FloatABIType", "==", "FloatABI", "::", "Default", ")", "{", "if", "(", "isTargetHardFloat", "(", ")", ")", "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"], "File": "ARMTargetMachine", "Func": "ARMBaseTargetMachine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6800, "Length": 289, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "quad_address_offset_p", "(", "HOST_WIDE_INT", "offset", ")", "{", "return", "(", "IN_RANGE", "(", "offset", ",", "-", "32768", ",", "32767", ")", "&&", "(", "(", "offset", ")", "&", "0xf", ")", "==", "0", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "OFFSET", "is", "valid", "for", "the", "quad", "address", "instructions", "that", "use", "d-form", "(", "register", "+", "offset", ")", "addressing", "."], "TS_V_token": ["powerpcspe", "32768", "32767", "0xf", "0"], "File": "powerpcspe", "Func": "quad_address_offset_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6801, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "final_prescan_insn", "(", "rtx_insn", "*", "insn", ",", "rtx", "opvec", "[", "]", "ATTRIBUTE_UNUSED", ",", "int", "noperands", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "dslots_number_nops", ">", "0", ")", "{", "rtx", "pattern", "=", "PATTERN", "(", "insn", ")", ";", "int", "length", "=", "get_attr_length", "(", "insn", ")", ";", "if", "(", "length", "==", "0", "||", "(", "iq2000_load_reg", "!=", "0", "&&", "reg_mentioned_p", "(", "iq2000_load_reg", ",", "pattern", ")", ")", "||", "(", "iq2000_load_reg2", "!=", "0", "&&", "reg_mentioned_p", "(", "iq2000_load_reg2", ",", "pattern", ")", ")", "||", "(", "iq2000_load_reg3", "!=", "0", "&&", "reg_mentioned_p", "(", "iq2000_load_reg3", ",", "pattern", ")", ")", "||", "(", "iq2000_load_reg4", "!=", "0", "&&", "reg_mentioned_p", "(", "iq2000_load_reg4", ",", "pattern", ")", ")", ")", "fputs", "(", "\"\\tnop\\n\"", ",", "asm_out_file", ")", ";", "else", "dslots_load_filled", "++", ";", "while", "(", "--", "dslots_number_nops", ">", "0", ")", "fputs", "(", "\"\\tnop\\n\"", ",", "asm_out_file", ")", ";", "iq2000_load_reg", "=", "0", ";", "iq2000_load_reg2", "=", "0", ";", "iq2000_load_reg3", "=", "0", ";", "iq2000_load_reg4", "=", "0", ";", "}", "if", "(", "(", "JUMP_P", "(", "insn", ")", "||", "CALL_P", "(", "insn", ")", "||", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "RETURN", ")", ")", "&&", "NEXT_INSN", "(", "PREV_INSN", "(", "insn", ")", ")", "==", "insn", ")", "{", "rtx_insn", "*", "nop_insn", "=", "emit_insn_after", "(", "gen_nop", "(", ")", ",", "insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "nop_insn", ",", "-", "1", ")", ";", "}", "if", "(", "TARGET_STATS", "&&", "(", "JUMP_P", "(", "insn", ")", "||", "CALL_P", "(", "insn", ")", ")", ")", "dslots_jump_total", "++", ";", "}", ""], "natrual_language": ["If", "defined", ",", "a", "C", "statement", "to", "be", "executed", "just", "prior", "to", "the", "output", "of", "assembler", "code", "for", "INSN", ",", "to", "modify", "the", "extracted", "operands", "so", "they", "will", "be", "output", "differently", ".", "Here", "the", "argument", "OPVEC", "is", "the", "vector", "containing", "the", "operands", "extracted", "from", "INSN", ",", "and", "NOPERANDS", "is", "the", "number", "of", "elements", "of", "the", "vector", "which", "contain", "meaningful", "data", "for", "this", "insn", ".", "The", "contents", "of", "this", "vector", "are", "what", "will", "be", "used", "to", "convert", "the", "insn", "template", "into", "assembler", "code", ",", "so", "you", "can", "change", "the", "assembler", "output", "by", "changing", "the", "contents", "of", "the", "vector", ".", "We", "use", "it", "to", "check", "if", "the", "current", "insn", "needs", "a", "nop", "in", "front", "of", "it", "because", "of", "load", "delays", ",", "and", "also", "to", "update", "the", "delay", "slot", "statistics", "."], "TS_V_token": ["iq2000", "0", "0", "0", "0", "0", "0", "\"\\tnop\\n\"", "0", "\"\\tnop\\n\"", "0", "0", "0", "0", "1"], "File": "iq2000", "Func": "final_prescan_insn", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6802, "Length": 220, "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": 6803, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_assemble_integer", "(", "rtx", "x", ",", "unsigned", "int", "size", ",", "int", "aligned_p", ")", "{", "if", "(", "aligned_p", "&&", "size", "==", "8", "&&", "(", "GET_CODE", "(", "x", ")", "!=", "CONST_INT", "&&", "GET_CODE", "(", "x", ")", "!=", "CONST_DOUBLE", ")", ")", "{", "if", "(", "TARGET_V9", ")", "{", "assemble_integer_with_op", "(", "\"\\t.xword\\t\"", ",", "x", ")", ";", "return", "true", ";", "}", "else", "{", "assemble_aligned_integer", "(", "4", ",", "const0_rtx", ")", ";", "assemble_aligned_integer", "(", "4", ",", "x", ")", ";", "return", "true", ";", "}", "}", "return", "default_assemble_integer", "(", "x", ",", "size", ",", "aligned_p", ")", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "assembling", "integer", "objects", ".", "The", "sparc", "version", "has", "special", "handling", "for", "aligned", "DI-mode", "objects", "."], "TS_V_token": ["sparc", "8", "\"\\t.xword\\t\"", "4", "4"], "File": "sparc3", "Func": "sparc_assemble_integer", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6804, "Length": 88, "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", "*", "insn", ")", "{", "static", "char", "string", "[", "64", "]", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "op", ")", ";", "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", ",", "(", "(", "profile_probability", "::", "from_reg_br_prob_note", "(", "XINT", "(", "note", ",", "0", ")", ")", ">=", "profile_probability", "::", "even", "(", ")", ")", "^", "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", "\",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": "sparc", "Func": "output_v9branch", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6805, "Length": 460, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_parallel_return", "(", "machine_mode", "mode", ",", "int", "n_elts", ",", "machine_mode", "elt_mode", ",", "unsigned", "int", "regno", ",", "unsigned", "int", "reg_stride", ")", "{", "rtx", "par", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "rtvec_alloc", "(", "n_elts", ")", ")", ";", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n_elts", ";", "i", "++", ")", "{", "rtx", "r", "=", "gen_rtx_REG", "(", "elt_mode", ",", "regno", ")", ";", "rtx", "off", "=", "GEN_INT", "(", "i", "*", "GET_MODE_SIZE", "(", "elt_mode", ")", ")", ";", "XVECEXP", "(", "par", ",", "0", ",", "i", ")", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "r", ",", "off", ")", ";", "regno", "+=", "reg_stride", ";", "}", "return", "par", ";", "}", ""], "natrual_language": ["Return", "an", "rtx", "describing", "a", "return", "value", "of", "MODE", "as", "a", "PARALLEL", "in", "N_ELTS", "registers", ",", "each", "of", "mode", "ELT_MODE", ",", "starting", "at", "REGNO", ",", "stride", "REG_STRIDE", "."], "TS_V_token": ["powerpcspe", "0", "0"], "File": "powerpcspe", "Func": "rs6000_parallel_return", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6806, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_expand_sve_mem_move", "(", "rtx", "dest", ",", "rtx", "src", ",", "machine_mode", "pred_mode", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "rtx", "ptrue", "=", "force_reg", "(", "pred_mode", ",", "CONSTM1_RTX", "(", "pred_mode", ")", ")", ";", "if", "(", "!", "register_operand", "(", "src", ",", "mode", ")", "&&", "!", "register_operand", "(", "dest", ",", "mode", ")", ")", "{", "rtx", "tmp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "if", "(", "MEM_P", "(", "src", ")", ")", "aarch64_emit_sve_pred_move", "(", "tmp", ",", "ptrue", ",", "src", ")", ";", "else", "emit_move_insn", "(", "tmp", ",", "src", ")", ";", "src", "=", "tmp", ";", "}", "aarch64_emit_sve_pred_move", "(", "dest", ",", "ptrue", ",", "src", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "pre-RA", "SVE", "data", "move", "from", "SRC", "to", "DEST", "in", "which", "at", "least", "one", "operand", "is", "in", "memory", ".", "In", "this", "case", "we", "need", "to", "use", "the", "predicated", "LD1", "and", "ST1", "instead", "of", "LDR", "and", "STR", ",", "both", "for", "correctness", "on", "big-endian", "targets", "and", "because", "LD1", "and", "ST1", "support", "a", "wider", "range", "of", "addressing", "modes", ".", "PRED_MODE", "is", "the", "mode", "of", "the", "predicate", ".", "See", "the", "comment", "at", "the", "head", "of", "aarch64-sve.md", "for", "details", "about", "the", "big-endian", "handling", "."], "TS_V_token": ["aarch64"], "File": "aarch645", "Func": "aarch64_expand_sve_mem_move", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6807, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb1RegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "if", "(", "!", "TFI", "->", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "MachineInstr", "*", "Old", "=", "I", ";", "DebugLoc", "dl", "=", "Old", "->", "getDebugLoc", "(", ")", ";", "unsigned", "Amount", "=", "Old", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "Amount", "!=", "0", ")", "{", "unsigned", "Align", "=", "TFI", "->", "getStackAlignment", "(", ")", ";", "Amount", "=", "(", "Amount", "+", "Align", "-", "1", ")", "/", "Align", "*", "Align", ";", "unsigned", "Opc", "=", "Old", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "ARM", "::", "ADJCALLSTACKDOWN", "||", "Opc", "==", "ARM", "::", "tADJCALLSTACKDOWN", ")", "{", "emitSPUpdate", "(", "MBB", ",", "I", ",", "TII", ",", "dl", ",", "*", "this", ",", "-", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Opc", "==", "ARM", "::", "ADJCALLSTACKUP", "||", "Opc", "==", "ARM", "::", "tADJCALLSTACKUP", ")", ";", "emitSPUpdate", "(", "MBB", ",", "I", ",", "TII", ",", "dl", ",", "*", "this", ",", "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": ["ARM", "0", "0", "1", "ARM::ADJCALLSTACKDOWN", "ARM::tADJCALLSTACKDOWN", "ARM::ADJCALLSTACKUP", "ARM::tADJCALLSTACKUP"], "File": "Thumb1RegisterInfo15", "Func": "eliminateCallFramePseudoInstr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6808, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_option_restore", "(", "struct", "gcc_options", "*", "opts", ",", "struct", "cl_target_option", "*", "ptr", ")", "{", "opts", "->", "x_explicit_tune_core", "=", "ptr", "->", "x_explicit_tune_core", ";", "selected_tune", "=", "aarch64_get_tune_cpu", "(", "ptr", "->", "x_explicit_tune_core", ")", ";", "opts", "->", "x_explicit_arch", "=", "ptr", "->", "x_explicit_arch", ";", "selected_arch", "=", "aarch64_get_arch", "(", "ptr", "->", "x_explicit_arch", ")", ";", "opts", "->", "x_aarch64_override_tune_string", "=", "ptr", "->", "x_aarch64_override_tune_string", ";", "opts", "->", "x_aarch64_branch_protection_string", "=", "ptr", "->", "x_aarch64_branch_protection_string", ";", "if", "(", "opts", "->", "x_aarch64_branch_protection_string", ")", "{", "aarch64_parse_branch_protection", "(", "opts", "->", "x_aarch64_branch_protection_string", ",", "NULL", ")", ";", "}", "aarch64_override_options_internal", "(", "opts", ")", ";", "}", ""], "natrual_language": ["Implements", "TARGET_OPTION_RESTORE", ".", "Restore", "the", "backend", "codegen", "decisions", "using", "the", "information", "saved", "in", "PTR", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_option_restore", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6809, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LEGPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createLEGISelDag", "(", "getLEGTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["LEG", "LEG", "LEG", "LEG"], "File": "LEGTargetMachine", "Func": "addInstSelector", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6810, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isLegalICmpImmediate", "(", "int64_t", "Imm", ")", "const", "{", "return", "isInt", "<", "32", ">", "(", "Imm", ")", ";", "}", ""], "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": ["X86", "X86", "32"], "File": "X86ISelLowering (2)", "Func": "isLegalICmpImmediate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6811, "Length": 20, "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", ">", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "bool", "EnableOpt", "=", "MF", ".", "getTarget", "(", ")", ".", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "!", "skipFunction", "(", "F", ")", ";", "GISelKnownBits", "*", "KB", "=", "&", "getAnalysis", "<", "GISelKnownBitsAnalysis", ">", "(", ")", ".", "get", "(", "MF", ")", ";", "AArch64PreLegalizerCombinerInfo", "PCInfo", "(", "EnableOpt", ",", "F", ".", "hasOptSize", "(", ")", ",", "F", ".", "hasMinSize", "(", ")", ",", "KB", ")", ";", "Combiner", "C", "(", "PCInfo", ",", "TPC", ")", ";", "return", "C", ".", "combineMachineInstrs", "(", "MF", ",", "nullptr", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64PreLegalizerCombiner6", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6812, "Length": 132, "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": 6813, "Length": 334, "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", ")", ";", "if", "(", "SplitVTs", ".", "size", "(", ")", "!=", "1", ")", "{", "return", "false", ";", "}", "EVT", "VT", "=", "SplitVTs", "[", "0", "]", ";", "unsigned", "NumParts", "=", "TLI", ".", "getNumRegisters", "(", "Context", ",", "VT", ")", ";", "if", "(", "NumParts", "==", "1", ")", "{", "SplitArgs", ".", "emplace_back", "(", "OrigArg", ".", "Reg", ",", "VT", ".", "getTypeForEVT", "(", "Context", ")", ",", "OrigArg", ".", "Flags", ",", "OrigArg", ".", "IsFixed", ")", ";", "return", "true", ";", "}", "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", ")", ";", "SplitRegs", ".", "push_back", "(", "Info", ".", "Reg", ")", ";", "}", "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", "0", "1", "8", "0"], "File": "X86CallLowering10", "Func": "splitToValueTypes", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6814, "Length": 257, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VZeroUpperInserter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "X86Subtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "ST", ".", "hasAVX", "(", ")", "||", "ST", ".", "hasAVX512", "(", ")", ")", "return", "false", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "EverMadeChange", "=", "false", ";", "bool", "FnHasLiveInYmm", "=", "checkFnHasLiveInYmm", "(", "MRI", ")", ";", "bool", "YMMUsed", "=", "FnHasLiveInYmm", ";", "if", "(", "!", "YMMUsed", ")", "{", "const", "TargetRegisterClass", "*", "RC", "=", "&", "X86", "::", "VR256RegClass", ";", "for", "(", "TargetRegisterClass", "::", "iterator", "i", "=", "RC", "->", "begin", "(", ")", ",", "e", "=", "RC", "->", "end", "(", ")", ";", "i", "!=", "e", ";", "i", "++", ")", "{", "if", "(", "!", "MRI", ".", "reg_nodbg_empty", "(", "*", "i", ")", ")", "{", "YMMUsed", "=", "true", ";", "break", ";", "}", "}", "}", "if", "(", "!", "YMMUsed", ")", "{", "return", "false", ";", "}", "assert", "(", "BlockStates", ".", "empty", "(", ")", "&&", "DirtySuccessors", ".", "empty", "(", ")", "&&", "\"X86VZeroUpper state should be clear\"", ")", ";", "BlockStates", ".", "resize", "(", "MF", ".", "getNumBlockIDs", "(", ")", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "processBasicBlock", "(", "MBB", ")", ";", "if", "(", "FnHasLiveInYmm", ")", "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", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"MBB #\"", "<<", "MBB", ".", "getNumber", "(", ")", "<<", "\" was Pass-through, is now Dirty-out.\\n\"", ")", ";", "for", "(", "MachineBasicBlock", "::", "succ_iterator", "SI", "=", "MBB", ".", "succ_begin", "(", ")", ",", "SE", "=", "MBB", ".", "succ_end", "(", ")", ";", "SI", "!=", "SE", ";", "++", "SI", ")", "addDirtySuccessor", "(", "*", "*", "SI", ")", ";", "}", "}", "BlockStates", ".", "clear", "(", ")", ";", "return", "EverMadeChange", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86::VR256RegClass", "\"X86VZeroUpper state should be clear\"", "\"MBB #\"", "\" was Pass-through, is now Dirty-out.\\n\""], "File": "X86VZeroUpper30", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6815, "Length": 341, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "OR1KPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createOR1KISelDag", "(", "getTM", "<", "OR1KTargetMachine", ">", "(", ")", ")", ")", ";", "addPass", "(", "createOR1KGlobalBaseRegPass", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["OR1K", "OR1K", "OR1K", "OR1K", "OR1K"], "File": "OR1KTargetMachine1", "Func": "addInstSelector", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6816, "Length": 31, "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": 6817, "Length": 442, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "override", "{", "llvm_unreachable", "(", "\"relaxInstruction() unimplemented\"", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["Sparc", "\"relaxInstruction() unimplemented\""], "File": "SparcAsmBackend", "Func": "relaxInstruction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6818, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsSEFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "MipsSEInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "MipsSEInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "int64_t", "Amount", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "Mips", "::", "ADJCALLSTACKDOWN", ")", "Amount", "=", "-", "Amount", ";", "unsigned", "SP", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "SP_64", ":", "Mips", "::", "SP", ";", "TII", ".", "adjustStackPtr", "(", "SP", ",", "Amount", ",", "MBB", ",", "I", ")", ";", "}", "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": ["Mips", "Mips", "Mips", "Mips", "0", "Mips::ADJCALLSTACKDOWN", "Mips::SP_64", "Mips::SP"], "File": "MipsSEFrameLowering12", "Func": "eliminateCallFramePseudoInstr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6819, "Length": 123, "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": 6820, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86DAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "SDValue", "Op0", ",", "Op1", ",", "Op2", ",", "Op3", ",", "Op4", ";", "switch", "(", "ConstraintID", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected asm memory constraint\"", ")", ";", "case", "InlineAsm", "::", "Constraint_i", ":", "LLVM_FALLTHROUGH", ";", "case", "InlineAsm", "::", "Constraint_o", ":", "case", "InlineAsm", "::", "Constraint_v", ":", "case", "InlineAsm", "::", "Constraint_m", ":", "case", "InlineAsm", "::", "Constraint_X", ":", "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", "\"Unexpected asm memory constraint\""], "File": "X86ISelDAGToDAG (2)1", "Func": "SelectInlineAsmMemoryOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6821, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsMCCodeEmitter", "::", "isMicroMips", "(", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "return", "STI", ".", "getFeatureBits", "(", ")", "[", "Mips", "::", "FeatureMicroMips", "]", ";", "}", ""], "natrual_language": ["Check", "whether", "a", "given", "symbol", "has", "been", "flagged", "with", "MICROMIPS", "flag", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips::FeatureMicroMips"], "File": "MipsMCCodeEmitter (2)", "Func": "isMicroMips", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6822, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "Mips16InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "Mips16InstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "0", "&&", "!", "MFI", ".", "adjustsStack", "(", ")", ")", "return", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "MCRegisterInfo", "*", "MRI", "=", "MMI", ".", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "TII", ".", "makeFrame", "(", "Mips", "::", "SP", ",", "StackSize", ",", "MBB", ",", "MBBI", ")", ";", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "cfiDefCfaOffset", "(", "nullptr", ",", "StackSize", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "if", "(", "!", "CSI", ".", "empty", "(", ")", ")", "{", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "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", "DReg", "=", "MRI", "->", "getDwarfRegNum", "(", "Reg", ",", "true", ")", ";", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createOffset", "(", "nullptr", ",", "DReg", ",", "Offset", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "}", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "MoveR3216", ")", ",", "Mips", "::", "S0", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "0", "Mips::SP", "Mips::MoveR3216", "Mips::S0", "Mips::SP"], "File": "Mips16FrameLowering12", "Func": "emitPrologue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6823, "Length": 362, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCCallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "ArrayRef", "<", "Register", ">>", "VRegs", ")", "const", "{", "return", "VRegs", ".", "empty", "(", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "VRegs", ",", "for", "GlobalISel", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCCallLowering2", "Func": "lowerFormalArguments", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6824, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "AArch64TTIImpl", "::", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "TTI", "::", "OperandValueKind", "Opd1Info", ",", "TTI", "::", "OperandValueKind", "Opd2Info", ",", "TTI", "::", "OperandValueProperties", "Opd1PropInfo", ",", "TTI", "::", "OperandValueProperties", "Opd2PropInfo", ")", "{", "std", "::", "pair", "<", "int", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "Ty", ")", ";", "int", "ISD", "=", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", ";", "if", "(", "ISD", "==", "ISD", "::", "SDIV", "&&", "Opd2Info", "==", "TargetTransformInfo", "::", "OK_UniformConstantValue", "&&", "Opd2PropInfo", "==", "TargetTransformInfo", "::", "OP_PowerOf2", ")", "{", "int", "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": "AArch64TargetTransformInfo (2)", "Func": "getArithmeticInstrCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6825, "Length": 239, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_test_loading_full_dump", "(", ")", "{", "rtl_dump_test", "t", "(", "SELFTEST_LOCATION", ",", "locate_file", "(", "\"aarch64/times-two.rtl\"", ")", ")", ";", "ASSERT_STREQ", "(", "\"times_two\"", ",", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "cfun", "->", "decl", ")", ")", ")", ";", "rtx_insn", "*", "insn_1", "=", "get_insn_by_uid", "(", "1", ")", ";", "ASSERT_EQ", "(", "NOTE", ",", "GET_CODE", "(", "insn_1", ")", ")", ";", "rtx_insn", "*", "insn_15", "=", "get_insn_by_uid", "(", "15", ")", ";", "ASSERT_EQ", "(", "INSN", ",", "GET_CODE", "(", "insn_15", ")", ")", ";", "ASSERT_EQ", "(", "USE", ",", "GET_CODE", "(", "PATTERN", "(", "insn_15", ")", ")", ")", ";", "ASSERT_EQ", "(", "REG", ",", "GET_CODE", "(", "crtl", "->", "return_rtx", ")", ")", ";", "ASSERT_EQ", "(", "0", ",", "REGNO", "(", "crtl", "->", "return_rtx", ")", ")", ";", "ASSERT_EQ", "(", "SImode", ",", "GET_MODE", "(", "crtl", "->", "return_rtx", ")", ")", ";", "}", ""], "natrual_language": ["Selftest", "for", "the", "RTL", "loader", ".", "Verify", "that", "the", "RTL", "loader", "copes", "with", "a", "dump", "from", "print_rtx_function", ".", "This", "is", "essentially", "just", "a", "test", "that", "class", "function_reader", "can", "handle", "a", "real", "dump", ",", "but", "it", "also", "verifies", "that", "lookup_reg_by_dump_name", "correctly", "handles", "hard", "regs", ".", "The", "presence", "of", "hard", "reg", "names", "in", "the", "dump", "means", "that", "the", "test", "is", "target-specific", ",", "hence", "it", "is", "in", "this", "file", "."], "TS_V_token": ["aarch64", "\"aarch64/times-two.rtl\"", "\"times_two\"", "1", "15", "0"], "File": "aarch64", "Func": "aarch64_test_loading_full_dump", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6826, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "std", "::", "unique_ptr", "<", "MipsOperand", ">", "CreateMem", "(", "std", "::", "unique_ptr", "<", "MipsOperand", ">", "Base", ",", "const", "MCExpr", "*", "Off", ",", "SMLoc", "S", ",", "SMLoc", "E", ",", "MipsAsmParser", "&", "Parser", ")", "{", "auto", "Op", "=", "make_unique", "<", "MipsOperand", ">", "(", "k_Memory", ",", "Parser", ")", ";", "Op", "->", "Mem", ".", "Base", "=", "Base", ".", "release", "(", ")", ";", "Op", "->", "Mem", ".", "Off", "=", "Off", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "E", ";", "return", "Op", ";", "}", ""], "natrual_language": ["Create", "a", "generalized", "memory", "operand", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsAsmParser", "Func": "CreateMem", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6827, "Length": 82, "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", "&&", "SUBREG_P", "(", "parts", ".", "base", ")", ")", "parts", ".", "base", "=", "SUBREG_REG", "(", "parts", ".", "base", ")", ";", "if", "(", "parts", ".", "index", "&&", "SUBREG_P", "(", "parts", ".", "index", ")", ")", "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_CPU_P", "(", "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": "i386", "Func": "ix86_address_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6828, "Length": 285, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_convert_mult_to_shift", "(", "rtx", "value", ",", "rtx_code", "&", "code", ")", "{", "if", "(", "GET_CODE", "(", "value", ")", "!=", "CONST_VECTOR", ")", "return", "NULL_RTX", ";", "rtx_vector_builder", "builder", ";", "if", "(", "!", "builder", ".", "new_unary_operation", "(", "GET_MODE", "(", "value", ")", ",", "value", ",", "false", ")", ")", "return", "NULL_RTX", ";", "scalar_mode", "int_mode", "=", "GET_MODE_INNER", "(", "GET_MODE", "(", "value", ")", ")", ";", "int", "negate", "=", "-", "1", ";", "unsigned", "int", "encoded_nelts", "=", "const_vector_encoded_nelts", "(", "value", ")", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "encoded_nelts", ";", "++", "i", ")", "{", "rtx", "elt", "=", "CONST_VECTOR_ENCODED_ELT", "(", "value", ",", "i", ")", ";", "if", "(", "!", "CONST_SCALAR_INT_P", "(", "elt", ")", ")", "return", "NULL_RTX", ";", "rtx_mode_t", "val", "(", "elt", ",", "int_mode", ")", ";", "wide_int", "pow2", "=", "wi", "::", "neg", "(", "val", ")", ";", "if", "(", "val", "!=", "pow2", ")", "{", "if", "(", "negate", "==", "!", "wi", "::", "neg_p", "(", "val", ")", ")", "return", "NULL_RTX", ";", "negate", "=", "wi", "::", "neg_p", "(", "val", ")", ";", "if", "(", "!", "negate", ")", "pow2", "=", "val", ";", "}", "int", "shift", "=", "wi", "::", "exact_log2", "(", "pow2", ")", ";", "if", "(", "shift", "<", "0", ")", "return", "NULL_RTX", ";", "builder", ".", "quick_push", "(", "gen_int_mode", "(", "shift", ",", "int_mode", ")", ")", ";", "}", "if", "(", "negate", "==", "-", "1", ")", "code", "=", "PLUS", ";", "else", "if", "(", "negate", "==", "1", ")", "code", "=", "code", "==", "PLUS", "?", "MINUS", ":", "PLUS", ";", "return", "builder", ".", "build", "(", ")", ";", "}", ""], "natrual_language": ["Check", "whether", "VALUE", "is", "a", "vector", "constant", "in", "which", "every", "element", "is", "either", "a", "power", "of", "2", "or", "a", "negated", "power", "of", "2", ".", "If", "so", ",", "return", "a", "constant", "vector", "of", "log2s", ",", "and", "flip", "CODE", "between", "PLUS", "and", "MINUS", "if", "VALUE", "contains", "negated", "powers", "of", "2", ".", "Return", "NULL_RTX", "otherwise", "."], "TS_V_token": ["aarch64", "1", "0", "0", "1", "1"], "File": "aarch64", "Func": "aarch64_convert_mult_to_shift", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6829, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "switch", "(", "Kind", ")", "{", "case", "k_Token", ":", "OS", "<<", "\"Token: \"", "<<", "getToken", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "k_Register", ":", "OS", "<<", "\"Reg: #\"", "<<", "getReg", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "k_Immediate", ":", "OS", "<<", "\"Imm: \"", "<<", "getImm", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "k_MemoryRegRegImm", ":", "assert", "(", "getMemOffset", "(", ")", "!=", "nullptr", ")", ";", "OS", "<<", "\"Mem: #\"", "<<", "getMemBase", "(", ")", "<<", "\"+#\"", "<<", "getMemIndexReg", "(", ")", "<<", "\"+\"", "<<", "*", "getMemOffset", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "k_MemoryRegImmImm", ":", "assert", "(", "getMemIndex", "(", ")", "!=", "nullptr", "&&", "getMemOffset", "(", ")", "!=", "nullptr", ")", ";", "OS", "<<", "\"Mem: #\"", "<<", "getMemBase", "(", ")", "<<", "\"+\"", "<<", "*", "getMemIndex", "(", ")", "<<", "\"+\"", "<<", "*", "getMemOffset", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "k_MemoryZeroRegImm", ":", "assert", "(", "getMemOffset", "(", ")", "!=", "nullptr", ")", ";", "OS", "<<", "\"Mem: 0+#\"", "<<", "getMemIndexReg", "(", ")", "<<", "\"+\"", "<<", "*", "getMemOffset", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "k_MemoryZeroImmImm", ":", "assert", "(", "getMemIndex", "(", ")", "!=", "nullptr", "&&", "getMemOffset", "(", ")", "!=", "nullptr", ")", ";", "OS", "<<", "\"Mem: 0+\"", "<<", "*", "getMemIndex", "(", ")", "<<", "\"+\"", "<<", "*", "getMemOffset", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["VE", "\"Token: \"", "\"\\n\"", "\"Reg: #\"", "\"\\n\"", "\"Imm: \"", "\"\\n\"", "\"Mem: #\"", "\"+#\"", "\"+\"", "\"\\n\"", "\"Mem: #\"", "\"+\"", "\"+\"", "\"\\n\"", "\"Mem: 0+#\"", "\"+\"", "\"\\n\"", "\"Mem: 0+\"", "\"+\"", "\"\\n\""], "File": "VEAsmParser3", "Func": "print", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6830, "Length": 212, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "VEDisassembler", "::", "getInstruction", "(", "MCInst", "&", "Instr", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "CStream", ")", "const", "{", "uint64_t", "Insn", ";", "bool", "isLittleEndian", "=", "getContext", "(", ")", ".", "getAsmInfo", "(", ")", "->", "isLittleEndian", "(", ")", ";", "DecodeStatus", "Result", "=", "readInstruction64", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn", ",", "isLittleEndian", ")", ";", "if", "(", "Result", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "Result", "=", "decodeInstruction", "(", "DecoderTableVE64", ",", "Instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "Size", "=", "8", ";", "return", "Result", ";", "}", "return", "MCDisassembler", "::", "Fail", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["VE", "VE", "VE", "8"], "File": "VEDisassembler", "Func": "getInstruction", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6831, "Length": 115, "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": 6832, "Length": 436, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0TargetObjectFile", "::", "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": ["Cpu0", "Cpu0", "\".sdata\"", "\".sbss\""], "File": "Cpu0TargetObjectFile1", "Func": "Initialize", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6833, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "ARM64FunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARM64FunctionInfo", ">", "(", ")", ";", "if", "(", "AFI", "->", "getNumLocalDynamicTLSAccesses", "(", ")", "<", "2", ")", "{", "return", "false", ";", "}", "MachineDominatorTree", "*", "DT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "return", "VisitNode", "(", "DT", "->", "getRootNode", "(", ")", ",", "0", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM64", "ARM64", "ARM64", "2", "0"], "File": "ARM64CleanupLocalDynamicTLSPass", "Func": "runOnMachineFunction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6834, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "get_label_padding", "(", "rtx", "label", ")", "{", "HOST_WIDE_INT", "align", ",", "min_insn_size", ";", "align", "=", "1", "<<", "label_to_alignment", "(", "label", ")", ".", "levels", "[", "0", "]", ".", "log", ";", "min_insn_size", "=", "TARGET_THUMB", "?", "2", ":", "4", ";", "return", "align", ">", "min_insn_size", "?", "align", "-", "min_insn_size", ":", "0", ";", "}", ""], "natrual_language": ["Return", "the", "maximum", "amount", "of", "padding", "that", "will", "be", "inserted", "before", "label", "LABEL", "."], "TS_V_token": ["arm", "1", "0", "2", "4", "0"], "File": "arm", "Func": "get_label_padding", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6835, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "AArch64TargetLowering", "::", "emitStoreConditional", "(", "IRBuilderBase", "&", "Builder", ",", "Value", "*", "Val", ",", "Value", "*", "Addr", ",", "AtomicOrdering", "Ord", ")", "const", "{", "Module", "*", "M", "=", "Builder", ".", "GetInsertBlock", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "bool", "IsRelease", "=", "isReleaseOrStronger", "(", "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", ")", ";", "const", "DataLayout", "&", "DL", "=", "M", "->", "getDataLayout", "(", ")", ";", "IntegerType", "*", "IntValTy", "=", "Builder", ".", "getIntNTy", "(", "DL", ".", "getTypeSizeInBits", "(", "Val", "->", "getType", "(", ")", ")", ")", ";", "Val", "=", "Builder", ".", "CreateBitCast", "(", "Val", ",", "IntValTy", ")", ";", "CallInst", "*", "CI", "=", "Builder", ".", "CreateCall", "(", "Stxr", ",", "{", "Builder", ".", "CreateZExtOrBitCast", "(", "Val", ",", "Stxr", "->", "getFunctionType", "(", ")", "->", "getParamType", "(", "0", ")", ")", ",", "Addr", "}", ")", ";", "CI", "->", "addParamAttr", "(", "1", ",", "Attribute", "::", "get", "(", "Builder", ".", "getContext", "(", ")", ",", "Attribute", "::", "ElementType", ",", "Val", "->", "getType", "(", ")", ")", ")", ";", "return", "CI", ";", "}", ""], "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", "1"], "File": "AArch64ISelLowering69", "Func": "emitStoreConditional", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6836, "Length": 332, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "PPC", "::", "STD", ":", "case", "PPC", "::", "STW", ":", "case", "PPC", "::", "STFS", ":", "case", "PPC", "::", "STFD", ":", "case", "PPC", "::", "SPILL_CR", ":", "case", "PPC", "::", "SPILL_CRBIT", ":", "case", "PPC", "::", "STVX", ":", "case", "PPC", "::", "STXVD2X", ":", "case", "PPC", "::", "STXVX", ":", "case", "PPC", "::", "QVSTFDX", ":", "case", "PPC", "::", "QVSTFSXs", ":", "case", "PPC", "::", "QVSTFDXb", ":", "case", "PPC", "::", "SPILL_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": ["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": ["PowerPC", "PPC", "PPC::STD", "PPC::STW", "PPC::STFS", "PPC::STFD", "PPC::SPILL_CR", "PPC::SPILL_CRBIT", "PPC::STVX", "PPC::STXVD2X", "PPC::STXVX", "PPC::QVSTFDX", "PPC::QVSTFSXs", "PPC::QVSTFDXb", "PPC::SPILL_VRSAVE", "1", "1", "2", "2", "0", "0"], "File": "PPCInstrInfo101", "Func": "isStoreToStackSlot", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6837, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ARMTTIImpl", "::", "getIntImmCost", "(", "unsigned", "Opcode", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "{", "if", "(", "(", "Opcode", "==", "Instruction", "::", "SDiv", "||", "Opcode", "==", "Instruction", "::", "UDiv", "||", "Opcode", "==", "Instruction", "::", "SRem", "||", "Opcode", "==", "Instruction", "::", "URem", ")", "&&", "Idx", "==", "1", ")", "return", "0", ";", "if", "(", "Opcode", "==", "Instruction", "::", "And", ")", "return", "std", "::", "min", "(", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ",", "getIntImmCost", "(", "~", "Imm", ",", "Ty", ")", ")", ";", "if", "(", "Opcode", "==", "Instruction", "::", "Add", ")", "return", "std", "::", "min", "(", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ",", "getIntImmCost", "(", "-", "Imm", ",", "Ty", ")", ")", ";", "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", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["ARM", "ARM", "1", "0", "32", "1", "12", "0", "1", "8", "0", "0"], "File": "ARMTargetTransformInfo (2)1", "Func": "getIntImmCost", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6838, "Length": 208, "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": 6839, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsCodeEmitter", "::", "getMachineOpValue", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "&", "MO", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "MipsRegisterInfo", "::", "getRegisterNumbering", "(", "MO", ".", "getReg", "(", ")", ")", ";", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "else", "if", "(", "MO", ".", "isGlobal", "(", ")", ")", "emitGlobalAddress", "(", "MO", ".", "getGlobal", "(", ")", ",", "getRelocation", "(", "MI", ",", "MO", ")", ",", "true", ")", ";", "else", "if", "(", "MO", ".", "isSymbol", "(", ")", ")", "emitExternalSymbolAddress", "(", "MO", ".", "getSymbolName", "(", ")", ",", "getRelocation", "(", "MI", ",", "MO", ")", ")", ";", "else", "if", "(", "MO", ".", "isCPI", "(", ")", ")", "emitConstPoolAddress", "(", "MO", ".", "getIndex", "(", ")", ",", "getRelocation", "(", "MI", ",", "MO", ")", ")", ";", "else", "if", "(", "MO", ".", "isJTI", "(", ")", ")", "emitJumpTableAddress", "(", "MO", ".", "getIndex", "(", ")", ",", "getRelocation", "(", "MI", ",", "MO", ")", ")", ";", "else", "if", "(", "MO", ".", "isMBB", "(", ")", ")", "emitMachineBasicBlock", "(", "MO", ".", "getMBB", "(", ")", ",", "getRelocation", "(", "MI", ",", "MO", ")", ")", ";", "else", "llvm_unreachable", "(", "\"Unable to encode MachineOperand!\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["Mips", "Mips", "Mips", "\"Unable to encode MachineOperand!\"", "0"], "File": "MipsCodeEmitter23", "Func": "getMachineOpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6840, "Length": 196, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_array_mode_supported_p", "(", "machine_mode", "mode", ",", "unsigned", "HOST_WIDE_INT", "nelems", ")", "{", "if", "(", "TARGET_NEON", "&&", "!", "BYTES_BIG_ENDIAN", "&&", "(", "VALID_NEON_DREG_MODE", "(", "mode", ")", "||", "VALID_NEON_QREG_MODE", "(", "mode", ")", ")", "&&", "(", "nelems", ">=", "2", "&&", "nelems", "<=", "4", ")", ")", "return", "true", ";", "if", "(", "TARGET_HAVE_MVE", "&&", "!", "BYTES_BIG_ENDIAN", "&&", "VALID_MVE_MODE", "(", "mode", ")", "&&", "(", "nelems", "==", "2", "||", "nelems", "==", "4", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implements", "target", "hook", "array_mode_supported_p", "."], "TS_V_token": ["arm", "2", "4", "2", "4"], "File": "arm", "Func": "arm_array_mode_supported_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6841, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsMCCodeEmitter", "::", "getJumpTargetOpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"getJumpTargetOpValue expects only expressions or an immediate\"", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "0", ",", "Expr", ",", "MCFixupKind", "(", "Mips", "::", "fixup_Mips_26", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getJumpTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "jump", "target", "operand", "."], "TS_V_token": ["Mips", "Mips", "\"getJumpTargetOpValue expects only expressions or an immediate\"", "0", "Mips::fixup_Mips_26", "0"], "File": "MipsMCCodeEmitter13", "Func": "getJumpTargetOpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6842, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "xstormy16_expand_move", "(", "enum", "machine_mode", "mode", ",", "rtx", "dest", ",", "rtx", "src", ")", "{", "if", "(", "(", "GET_CODE", "(", "dest", ")", "==", "MEM", ")", "&&", "(", "GET_CODE", "(", "XEXP", "(", "dest", ",", "0", ")", ")", "==", "PRE_MODIFY", ")", ")", "{", "rtx", "pmv", "=", "XEXP", "(", "dest", ",", "0", ")", ";", "rtx", "dest_reg", "=", "XEXP", "(", "pmv", ",", "0", ")", ";", "rtx", "dest_mod", "=", "XEXP", "(", "pmv", ",", "1", ")", ";", "rtx", "set", "=", "gen_rtx_SET", "(", "Pmode", ",", "dest_reg", ",", "dest_mod", ")", ";", "rtx", "clobber", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "BImode", ",", "16", ")", ")", ";", "dest", "=", "gen_rtx_MEM", "(", "mode", ",", "dest_reg", ")", ";", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "set", ",", "clobber", ")", ")", ")", ";", "}", "else", "if", "(", "(", "GET_CODE", "(", "src", ")", "==", "MEM", ")", "&&", "(", "GET_CODE", "(", "XEXP", "(", "src", ",", "0", ")", ")", "==", "PRE_MODIFY", ")", ")", "{", "rtx", "pmv", "=", "XEXP", "(", "src", ",", "0", ")", ";", "rtx", "src_reg", "=", "XEXP", "(", "pmv", ",", "0", ")", ";", "rtx", "src_mod", "=", "XEXP", "(", "pmv", ",", "1", ")", ";", "rtx", "set", "=", "gen_rtx_SET", "(", "Pmode", ",", "src_reg", ",", "src_mod", ")", ";", "rtx", "clobber", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "BImode", ",", "16", ")", ")", ";", "src", "=", "gen_rtx_MEM", "(", "mode", ",", "src_reg", ")", ";", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "set", ",", "clobber", ")", ")", ")", ";", "}", "if", "(", "!", "reload_in_progress", "&&", "!", "reload_completed", "&&", "GET_CODE", "(", "dest", ")", "==", "MEM", "&&", "(", "GET_CODE", "(", "XEXP", "(", "dest", ",", "0", ")", ")", "!=", "CONST_INT", "||", "!", "xstormy16_legitimate_address_p", "(", "mode", ",", "XEXP", "(", "dest", ",", "0", ")", ",", "0", ")", ")", "&&", "!", "xstormy16_below100_operand", "(", "dest", ",", "mode", ")", "&&", "GET_CODE", "(", "src", ")", "!=", "REG", "&&", "GET_CODE", "(", "src", ")", "!=", "SUBREG", ")", "src", "=", "copy_to_mode_reg", "(", "mode", ",", "src", ")", ";", "if", "(", "reload_completed", "&&", "mode", "!=", "HImode", "&&", "mode", "!=", "QImode", ")", "{", "xstormy16_split_move", "(", "mode", ",", "dest", ",", "src", ")", ";", "return", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "src", ")", ")", ";", "}", ""], "natrual_language": ["Expander", "for", "the", "'move", "'", "patterns", ".", "Emit", "insns", "to", "copy", "a", "value", "of", "mode", "MODE", "from", "SRC", "to", "DEST", "."], "TS_V_token": ["stormy16", "0", "0", "0", "1", "16", "2", "0", "0", "0", "1", "16", "2", "0", "0", "0"], "File": "stormy163", "Func": "xstormy16_expand_move", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6843, "Length": 348, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "getScalarShiftAmountTy", "(", "const", "DataLayout", "&", ",", "EVT", ")", "const", "override", "{", "return", "MVT", "::", "i8", ";", "}", ""], "natrual_language": ["Return", "the", "type", "to", "use", "for", "a", "scalar", "shift", "opcode", ",", "given", "the", "shifted", "amount", "type", "."], "TS_V_token": ["X86", "MVT::i8"], "File": "X86ISelLowering (2)1", "Func": "getScalarShiftAmountTy", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6844, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "tree", "def_builtin_pure", "(", "HOST_WIDE_INT", "mask", ",", "const", "char", "*", "name", ",", "enum", "ix86_builtin_func_type", "tcode", ",", "enum", "ix86_builtins", "code", ")", "{", "tree", "decl", "=", "def_builtin", "(", "mask", ",", "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": "i3867", "Func": "def_builtin_pure", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6845, "Length": 64, "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": 6846, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "getScalarSizeInBits", "(", "Type", "*", "Ty", ")", "{", "unsigned", "Size", "=", "(", "Ty", "->", "isPtrOrPtrVectorTy", "(", ")", "?", "64U", ":", "Ty", "->", "getScalarSizeInBits", "(", ")", ")", ";", "assert", "(", "Size", ">", "0", "&&", "\"Element must have non-zero size.\"", ")", ";", "return", "Size", ";", "}", ""], "natrual_language": ["If", "this", "is", "a", "vector", "type", ",", "return", "the", "getPrimitiveSizeInBits", "value", "for", "the", "element", "type", "."], "TS_V_token": ["SystemZ", "64U", "0", "\"Element must have non-zero size.\""], "File": "SystemZTargetTransformInfo", "Func": "getScalarSizeInBits", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6847, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "splitVector", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ",", "const", "SDLoc", "&", "dl", ")", "{", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "unsigned", "NumElems", "=", "VT", ".", "getVectorNumElements", "(", ")", ";", "unsigned", "SizeInBits", "=", "VT", ".", "getSizeInBits", "(", ")", ";", "assert", "(", "(", "NumElems", "%", "2", ")", "==", "0", "&&", "(", "SizeInBits", "%", "2", ")", "==", "0", "&&", "\"Can't split odd sized vector\"", ")", ";", "SDValue", "Lo", "=", "extractSubVector", "(", "Op", ",", "0", ",", "DAG", ",", "dl", ",", "SizeInBits", "/", "2", ")", ";", "if", "(", "DAG", ".", "isSplatValue", "(", "Op", ",", "false", ")", ")", "return", "std", "::", "make_pair", "(", "Lo", ",", "Lo", ")", ";", "SDValue", "Hi", "=", "extractSubVector", "(", "Op", ",", "NumElems", "/", "2", ",", "DAG", ",", "dl", ",", "SizeInBits", "/", "2", ")", ";", "return", "std", "::", "make_pair", "(", "Lo", ",", "Hi", ")", ";", "}", ""], "natrual_language": ["Split", "a", "vector", "value", "into", "two", "parts", "of", "types", "LoVT", "and", "HiVT", "."], "TS_V_token": ["X86", "2", "0", "2", "0", "\"Can't split odd sized vector\"", "0", "2", "2", "2"], "File": "X86ISelLowering100", "Func": "splitVector", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6848, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "PPCRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "PPCFrameLowering", "*", "PPCFI", "=", "static_cast", "<", "const", "PPCFrameLowering", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R0", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R1", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "RM", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R2", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R13", ")", ";", "}", "if", "(", "Subtarget", ".", "isDarwinABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R2", ")", ";", "}", "if", "(", "Subtarget", ".", "isPPC64", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R13", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R31", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X0", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X1", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X13", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X31", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "X2", ")", ";", "}", "if", "(", "Subtarget", ".", "isDarwinABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "X2", ")", ";", "}", "}", "if", "(", "PPCFI", "->", "needsFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "R31", ")", ";", "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": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC::R0", "PPC::R1", "PPC::LR", "PPC::LR8", "PPC::RM", "PPC::R2", "PPC::R13", "PPC::R2", "PPC", "PPC::R13", "PPC::R31", "PPC::X0", "PPC::X1", "PPC::X13", "PPC::X31", "PPC::X2", "PPC::X2", "PPC", "PPC::R31"], "File": "PPCRegisterInfo14", "Func": "getReservedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6849, "Length": 259, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetLowering", "::", "IsEligibleForTailCallOptimization", "(", "const", "MipsCC", "&", "MipsCCInfo", ",", "unsigned", "NextStackOffset", ",", "const", "MipsFunctionInfo", "&", "FI", ")", "const", "{", "if", "(", "!", "EnableMipsTailCalls", ")", "return", "false", ";", "if", "(", "Subtarget", "->", "inMips16Mode", "(", ")", ")", "return", "false", ";", "if", "(", "MipsCCInfo", ".", "hasByValArg", "(", ")", "||", "FI", ".", "hasByvalArg", "(", ")", ")", "return", "false", ";", "return", "NextStackOffset", "<=", "FI", ".", "nextStackOffset", "(", ")", ";", "}", ""], "natrual_language": ["IsEligibleForTailCallOptimization", "-", "Check", "whether", "the", "call", "is", "eligible", "for", "tail", "call", "optimization", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsISelLowering21", "Func": "IsEligibleForTailCallOptimization", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6850, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSEDAGToDAGISel", "::", "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": "MipsSEISelDAGToDAG1", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6851, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "gen_ashift", "(", "int", "type", ",", "int", "n", ",", "rtx", "reg", ")", "{", "if", "(", "n", "<", "0", ")", "{", "if", "(", "type", "==", "ASHIFT", ")", "type", "=", "LSHIFTRT", ";", "else", "type", "=", "ASHIFT", ";", "n", "=", "-", "n", ";", "}", "switch", "(", "type", ")", "{", "case", "ASHIFTRT", ":", "emit_insn", "(", "gen_ashrsi3_k", "(", "reg", ",", "reg", ",", "GEN_INT", "(", "n", ")", ")", ")", ";", "break", ";", "case", "LSHIFTRT", ":", "if", "(", "n", "==", "1", ")", "emit_insn", "(", "gen_lshrsi3_m", "(", "reg", ",", "reg", ",", "GEN_INT", "(", "n", ")", ")", ")", ";", "else", "emit_insn", "(", "gen_lshrsi3_k", "(", "reg", ",", "reg", ",", "GEN_INT", "(", "n", ")", ")", ")", ";", "break", ";", "case", "ASHIFT", ":", "emit_insn", "(", "gen_ashlsi3_std", "(", "reg", ",", "reg", ",", "GEN_INT", "(", "n", ")", ")", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Code", "to", "expand", "a", "shift", "."], "TS_V_token": ["sh", "0", "1"], "File": "sh3", "Func": "gen_ashift", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6852, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "insn_references_regno_p", "(", "rtx_insn", "*", "insn", ",", "unsigned", "int", "regno", ",", "enum", "attr_type", "type", ")", "{", "struct", "df_insn_info", "*", "insn_info", "=", "DF_INSN_INFO_GET", "(", "insn", ")", ";", "df_ref", "ref", ";", "for", "(", "ref", "=", "DF_INSN_INFO_DEFS", "(", "insn_info", ")", ";", "ref", ";", "ref", "=", "DF_REF_NEXT_LOC", "(", "ref", ")", ")", "if", "(", "DF_REF_REGNO", "(", "ref", ")", "==", "regno", ")", "return", "true", ";", "if", "(", "type", "==", "TYPE_LOAD", "||", "type", "==", "TYPE_FPLOAD", "||", "type", "==", "TYPE_VECLOAD", ")", "for", "(", "ref", "=", "DF_INSN_INFO_USES", "(", "insn_info", ")", ";", "ref", ";", "ref", "=", "DF_REF_NEXT_LOC", "(", "ref", ")", ")", "if", "(", "DF_REF_REGNO", "(", "ref", ")", "==", "regno", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Check", "whether", "INSN", "contains", "a", "reference", "to", "REGNO", "that", "will", "inhibit", "the", "PCREL_OPT", "optimization", ".", "If", "TYPE", "is", "a", "load", "or", "store", "instruction", ",", "return", "true", "if", "there", "is", "a", "definition", "of", "REGNO", ".", "If", "TYPE", "is", "a", "load", "instruction", ",", "then", "return", "true", "of", "there", "is", "a", "use", "of", "REGNO", "."], "TS_V_token": ["rs6000"], "File": "rs6000-pcrel-opt", "Func": "insn_references_regno_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6853, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getExceptionSelectorRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "override", "{", "return", "ABI", ".", "IsN64", "(", ")", "?", "Mips", "::", "A1_64", ":", "Mips", "::", "A1", ";", "}", ""], "natrual_language": ["If", "a", "physical", "register", ",", "this", "returns", "the", "register", "that", "receives", "the", "exception", "typeid", "on", "entry", "to", "a", "landing", "pad", "."], "TS_V_token": ["Mips", "Mips::A1_64", "Mips::A1"], "File": "MipsISelLowering (2)", "Func": "getExceptionSelectorRegister", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6854, "Length": 27, "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": ["Sparc"], "File": "SparcAsmParser11", "Func": "isImm", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6855, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "GlobalBaseReg", "=", "0", ";", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "InsertVRSaveCode", "(", "MF", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC", "0"], "File": "PPCISelDAGToDAG12", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6856, "Length": 29, "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": 6857, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "systemSupportsUnalignedAccess", "(", ")", "const", "{", "return", "hasMips32r6", "(", ")", ";", "}", ""], "natrual_language": ["Does", "the", "system", "support", "unaligned", "memory", "access", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsSubtarget (2)", "Func": "systemSupportsUnalignedAccess", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6858, "Length": 12, "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", "->", "begin", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", "->", "getSubtarget", "(", ")", ".", "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", "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"], "File": "MipsSEFrameLowering34", "Func": "spillCalleeSavedRegisters", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6859, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_handle_struct_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", ",", "int", ",", "bool", "*", "no_add_attrs", ")", "{", "tree", "*", "type", "=", "NULL", ";", "if", "(", "DECL_P", "(", "*", "node", ")", ")", "{", "if", "(", "TREE_CODE", "(", "*", "node", ")", "==", "TYPE_DECL", ")", "type", "=", "&", "TREE_TYPE", "(", "*", "node", ")", ";", "}", "else", "type", "=", "node", ";", "if", "(", "!", "(", "type", "&&", "RECORD_OR_UNION_TYPE_P", "(", "*", "type", ")", ")", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute ignored\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "else", "if", "(", "(", "is_attribute_p", "(", "\"ms_struct\"", ",", "name", ")", "&&", "lookup_attribute", "(", "\"gcc_struct\"", ",", "TYPE_ATTRIBUTES", "(", "*", "type", ")", ")", ")", "||", "(", "(", "is_attribute_p", "(", "\"gcc_struct\"", ",", "name", ")", "&&", "lookup_attribute", "(", "\"ms_struct\"", ",", "TYPE_ATTRIBUTES", "(", "*", "type", ")", ")", ")", ")", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE incompatible attribute ignored\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "a", "``", "ms_struct", "''", "or", "``", "gcc_struct", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["i386", "\"%qE attribute ignored\"", "\"ms_struct\"", "\"gcc_struct\"", "\"gcc_struct\"", "\"ms_struct\"", "\"%qE incompatible attribute ignored\""], "File": "i386-options", "Func": "ix86_handle_struct_attribute", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6860, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64TTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ")", "{", "UP", ".", "PartialOptSizeThreshold", "=", "0", ";", "}", ""], "natrual_language": ["Get", "target-customized", "preferences", "for", "the", "generic", "loop", "unrolling", "transformation", "."], "TS_V_token": ["AArch64", "AArch64", "0"], "File": "AArch64TargetTransformInfo32", "Func": "getUnrollingPreferences", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6861, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "csky_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", "?", "\"jbsr\\t___gnu_csky_case_uqi\"", ":", "\"jbsr\\t___gnu_csky_case_sqi\"", ")", ";", "case", "E_HImode", ":", "return", "(", "ADDR_DIFF_VEC_FLAGS", "(", "diff_vec", ")", ".", "offset_unsigned", "?", "\"jbsr\\t___gnu_csky_case_uhi\"", ":", "\"jbsr\\t___gnu_csky_case_shi\"", ")", ";", "case", "E_SImode", ":", "return", "\"jbsr\\t___gnu_csky_case_si\"", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "assembly", "code", "for", "CASESI", ".", "This", "is", "only", "used", "on", "CK801", "and", "CK802", "when", "optimizing", "for", "size", ",", "and", "uses", "helper", "functions", "in", "libgcc", "instead", "of", "doing", "the", "control", "transfer", "inline", "."], "TS_V_token": ["csky", "0", "\"jbsr\\t___gnu_csky_case_uqi\"", "\"jbsr\\t___gnu_csky_case_sqi\"", "\"jbsr\\t___gnu_csky_case_uhi\"", "\"jbsr\\t___gnu_csky_case_shi\"", "\"jbsr\\t___gnu_csky_case_si\""], "File": "csky", "Func": "csky_output_casesi", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6862, "Length": 97, "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)2", "Func": "getNumLDMAddresses", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6863, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPreAllocLoadStoreOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "if", "(", "AssumeMisalignedLoadStores", "||", "skipFunction", "(", "Fn", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "TD", "=", "&", "Fn", ".", "getDataLayout", "(", ")", ";", "STI", "=", "&", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "Fn", ".", "getSubtarget", "(", ")", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "STI", "->", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "Fn", ".", "getRegInfo", "(", ")", ";", "MF", "=", "&", "Fn", ";", "AA", "=", "&", "getAnalysis", "<", "AAResultsWrapperPass", ">", "(", ")", ".", "getAAResults", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MFI", ":", "Fn", ")", "Modified", "|=", "RescheduleLoadStoreInstrs", "(", "&", "MFI", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMLoadStoreOptimizer10", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6864, "Length": 121, "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": 6865, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "]", "=", "{", "{", "\"reloc_pcrel_4byte\"", ",", "0", ",", "4", "*", "8", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_pcrel_1byte\"", ",", "0", ",", "1", "*", "8", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_riprel_4byte\"", ",", "0", ",", "4", "*", "8", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_riprel_4byte_movq_load\"", ",", "0", ",", "4", "*", "8", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", "}", ";", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "return", "MCCodeEmitter", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "assert", "(", "unsigned", "(", "Kind", "-", "FirstTargetFixupKind", ")", "<", "getNumFixupKinds", "(", ")", "&&", "\"Invalid kind!\"", ")", ";", "return", "Infos", "[", "Kind", "-", "FirstTargetFixupKind", "]", ";", "}", ""], "natrual_language": ["Get", "information", "on", "a", "fixup", "kind", "."], "TS_V_token": ["X86", "\"reloc_pcrel_4byte\"", "0", "4", "8", "\"reloc_pcrel_1byte\"", "0", "1", "8", "\"reloc_riprel_4byte\"", "0", "4", "8", "\"reloc_riprel_4byte_movq_load\"", "0", "4", "8", "\"Invalid kind!\""], "File": "X86MCCodeEmitter5", "Func": "getFixupKindInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6866, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_reassociation_width", "(", "unsigned", "int", ",", "machine_mode", "mode", ")", "{", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", ")", "{", "if", "(", "TARGET_VECTOR_PARALLEL_EXECUTION", ")", "return", "2", ";", "else", "return", "1", ";", "}", "if", "(", "INTEGRAL_MODE_P", "(", "mode", ")", "&&", "TARGET_REASSOC_INT_TO_PARALLEL", ")", "return", "2", ";", "else", "if", "(", "FLOAT_MODE_P", "(", "mode", ")", "&&", "TARGET_REASSOC_FP_TO_PARALLEL", ")", "return", "(", "(", "TARGET_64BIT", "&&", "ix86_tune", "==", "PROCESSOR_HASWELL", ")", "?", "4", ":", "2", ")", ";", "else", "return", "1", ";", "}", ""], "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", "2", "1", "2", "4", "2", "1"], "File": "i3865", "Func": "ix86_reassociation_width", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6867, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SICTargetLowering", "::", "getTargetNode", "(", "JumpTableSDNode", "*", "N", ",", "EVT", "Ty", ",", "SelectionDAG", "&", "DAG", ",", "unsigned", "Flag", ")", "const", "{", "return", "DAG", ".", "getTargetJumpTable", "(", "N", "->", "getIndex", "(", ")", ",", "Ty", ",", "Flag", ")", ";", "}", ""], "natrual_language": ["Retrieve", "the", "target", "node", "this", "edge", "connects", "to", "."], "TS_V_token": ["SIC", "SIC"], "File": "SICISelLowering", "Func": "getTargetNode", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6868, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToAddress", "(", "unsigned", "ValVReg", ",", "unsigned", "Addr", ",", "uint64_t", "Size", ",", "MachinePointerInfo", "&", "MPO", ",", "CCValAssign", "&", "VA", ")", "override", "{", "auto", "MMO", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getMachineMemOperand", "(", "MPO", ",", "MachineMemOperand", "::", "MOLoad", "|", "MachineMemOperand", "::", "MOInvariant", ",", "Size", ",", "1", ")", ";", "MIRBuilder", ".", "buildLoad", "(", "ValVReg", ",", "Addr", ",", "*", "MMO", ")", ";", "}", ""], "natrual_language": ["An", "overload", "which", "takes", "an", "ArgInfo", "if", "additional", "information", "about", "the", "arg", "is", "needed", "."], "TS_V_token": ["X86", "1"], "File": "X86CallLowering25", "Func": "assignValueToAddress", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6869, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64TargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "EVT", "VT", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "unsigned", "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": "AArch64ISelLowering104", "Func": "getRegisterByName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6870, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "SDValue", "WidenVector", "(", "SDValue", "V64Reg", ",", "SelectionDAG", "&", "DAG", ")", "{", "EVT", "VT", "=", "V64Reg", ".", "getValueType", "(", ")", ";", "unsigned", "NarrowSize", "=", "VT", ".", "getVectorNumElements", "(", ")", ";", "MVT", "EltTy", "=", "VT", ".", "getVectorElementType", "(", ")", ".", "getSimpleVT", "(", ")", ";", "MVT", "WideTy", "=", "MVT", "::", "getVectorVT", "(", "EltTy", ",", "2", "*", "NarrowSize", ")", ";", "SDLoc", "DL", "(", "V64Reg", ")", ";", "return", "DAG", ".", "getNode", "(", "ISD", "::", "INSERT_SUBVECTOR", ",", "DL", ",", "WideTy", ",", "DAG", ".", "getUNDEF", "(", "WideTy", ")", ",", "V64Reg", ",", "DAG", ".", "getConstant", "(", "0", ",", "MVT", "::", "i32", ")", ")", ";", "}", ""], "natrual_language": ["Widen", "the", "vector", "up", "to", "the", "next", "power", "of", "two", "using", "INSERT_SUBVECTOR", "."], "TS_V_token": ["ARM64", "MVT::getVectorVT", "2", "ISD::INSERT_SUBVECTOR", "0", "MVT::i32"], "File": "ARM64ISelLowering", "Func": "WidenVector", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6871, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CCAssignFn", "*", "X86FastISel", "::", "CCAssignFnForCall", "(", "CallingConv", "::", "ID", "CC", ",", "bool", "isTaillCall", ")", "{", "if", "(", "Subtarget", "->", "is64Bit", "(", ")", ")", "{", "if", "(", "CC", "==", "CallingConv", "::", "GHC", ")", "return", "CC_X86_64_GHC", ";", "else", "if", "(", "Subtarget", "->", "isTargetWin64", "(", ")", ")", "return", "CC_X86_Win64_C", ";", "else", "return", "CC_X86_64_C", ";", "}", "if", "(", "CC", "==", "CallingConv", "::", "X86_FastCall", ")", "return", "CC_X86_32_FastCall", ";", "else", "if", "(", "CC", "==", "CallingConv", "::", "X86_ThisCall", ")", "return", "CC_X86_32_ThisCall", ";", "else", "if", "(", "CC", "==", "CallingConv", "::", "Fast", ")", "return", "CC_X86_32_FastCC", ";", "else", "if", "(", "CC", "==", "CallingConv", "::", "GHC", ")", "return", "CC_X86_32_GHC", ";", "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", "X86", "X86", "X86"], "File": "X86FastISel39", "Func": "CCAssignFnForCall", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6872, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "LC3DAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "Constant", ":", "return", "SelectMoveImmediate", "(", "N", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "SelectConditionalBranch", "(", "N", ")", ";", "}", "return", "SelectCode", "(", "N", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["LC3", "LC3", "ISD::Constant", "ISD::BR_CC"], "File": "LC3ISelDAGToDAG", "Func": "Select", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6873, "Length": 50, "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": "SystemZElimCompare24", "Func": "runOnMachineFunction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6874, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_builtin_valid_without_lhs", "(", "enum", "rs6000_builtins", "fn_code", ")", "{", "if", "(", "rs6000_builtin_info", "[", "fn_code", "]", ".", "attr", "&", "RS6000_BTC_VOID", ")", "return", "true", ";", "switch", "(", "fn_code", ")", "{", "case", "ALTIVEC_BUILTIN_STVX_V16QI", ":", "case", "ALTIVEC_BUILTIN_STVX_V8HI", ":", "case", "ALTIVEC_BUILTIN_STVX_V4SI", ":", "case", "ALTIVEC_BUILTIN_STVX_V4SF", ":", "case", "ALTIVEC_BUILTIN_STVX_V2DI", ":", "case", "ALTIVEC_BUILTIN_STVX_V2DF", ":", "case", "VSX_BUILTIN_STXVW4X_V16QI", ":", "case", "VSX_BUILTIN_STXVW4X_V8HI", ":", "case", "VSX_BUILTIN_STXVW4X_V4SF", ":", "case", "VSX_BUILTIN_STXVW4X_V4SI", ":", "case", "VSX_BUILTIN_STXVD2X_V2DF", ":", "case", "VSX_BUILTIN_STXVD2X_V2DI", ":", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Helper", "function", "to", "sort", "out", "which", "built-ins", "may", "be", "valid", "without", "having", "a", "LHS", "."], "TS_V_token": ["rs6000"], "File": "rs6000-call1", "Func": "rs6000_builtin_valid_without_lhs", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6875, "Length": 74, "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", "(", ")", ";", "if", "(", "!", "MFI", ".", "isCalleeSavedInfoValid", "(", ")", ")", "return", "true", ";", "unsigned", "FrameSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "FrameSize", "&", "~", "0x7FFF", ")", "return", "true", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Info", ".", "size", "(", ")", ";", "i", "++", ")", "{", "int", "FrIdx", "=", "Info", "[", "i", "]", ".", "getFrameIdx", "(", ")", ";", "unsigned", "Reg", "=", "Info", "[", "i", "]", ".", "getReg", "(", ")", ";", "unsigned", "Opcode", "=", "InstrInfo", "->", "getStoreOpcodeForSpill", "(", "Reg", ")", ";", "if", "(", "!", "MFI", ".", "isFixedObjectIndex", "(", "FrIdx", ")", ")", "{", "if", "(", "offsetMinAlignForOpcode", "(", "Opcode", ")", ">", "1", ")", "return", "true", ";", "}", "if", "(", "InstrInfo", "->", "isXFormMemOp", "(", "Opcode", ")", ")", "return", "true", ";", "}", "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", "0x7FFF", "0", "1"], "File": "PPCRegisterInfo10", "Func": "requiresFrameIndexScavenging", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6876, "Length": 189, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "sparc_mangle_fundamental_type", "(", "tree", "type", ")", "{", "if", "(", "!", "TARGET_64BIT", "&&", "TYPE_MAIN_VARIANT", "(", "type", ")", "==", "long_double_type_node", "&&", "TARGET_LONG_DOUBLE_128", ")", "return", "\"g\"", ";", "return", "NULL", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MANGLE_FUNDAMENTAL_TYPE", "."], "TS_V_token": ["sparc", "\"g\""], "File": "sparc3", "Func": "sparc_mangle_fundamental_type", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6877, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addIRPasses", "(", ")", "{", "if", "(", "TM", "->", "Options", ".", "ThreadModel", "==", "ThreadModel", "::", "Single", ")", "addPass", "(", "createLowerAtomicPass", "(", ")", ")", ";", "else", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableAtomicTidy", ")", "addPass", "(", "createCFGSimplificationPass", "(", "-", "1", ",", "[", "this", "]", "(", "const", "Function", "&", "F", ")", "{", "const", "auto", "&", "ST", "=", "this", "->", "TM", "->", "getSubtarget", "<", "ARMSubtarget", ">", "(", "F", ")", ";", "return", "ST", ".", "hasAnyDataBarrier", "(", ")", "&&", "!", "ST", ".", "isThumb1Only", "(", ")", ";", "}", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createInterleavedAccessPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["ARM", "ARM", "1", "ARM"], "File": "ARMTargetMachine14", "Func": "addIRPasses", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6878, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "X86_64MachoTargetObjectFile", "::", "getIndirectSymViaGOTPCRel", "(", "const", "MCSymbol", "*", "Sym", ",", "const", "MCValue", "&", "MV", ",", "int64_t", "Offset", ",", "MachineModuleInfo", "*", "MMI", ",", "MCStreamer", "&", "Streamer", ")", "const", "{", "unsigned", "FinalOff", "=", "Offset", "+", "MV", ".", "getConstant", "(", ")", "+", "4", ";", "const", "MCExpr", "*", "Res", "=", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "MCSymbolRefExpr", "::", "VK_GOTPCREL", ",", "getContext", "(", ")", ")", ";", "const", "MCExpr", "*", "Off", "=", "MCConstantExpr", "::", "create", "(", "FinalOff", ",", "getContext", "(", ")", ")", ";", "return", "MCBinaryExpr", "::", "createAdd", "(", "Res", ",", "Off", ",", "getContext", "(", ")", ")", ";", "}", ""], "natrual_language": ["Get", "the", "target", "specific", "PC", "relative", "GOT", "entry", "relocation", "."], "TS_V_token": ["X86", "X86", "4"], "File": "X86TargetObjectFile17", "Func": "getIndirectSymViaGOTPCRel", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6879, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "LanaiInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "Lanai", "::", "SW_RI", ")", "if", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "isFI", "(", ")", "&&", "MI", "->", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", "&&", "MI", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "==", "0", ")", "{", "FrameIndex", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getIndex", "(", ")", ";", "return", "MI", "->", "getOperand", "(", "2", ")", ".", "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": ["Lanai", "Lanai", "Lanai::SW_RI", "0", "1", "1", "0", "0", "2", "0"], "File": "LanaiInstrInfo18", "Func": "isStoreToStackSlot", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6880, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LanaiTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "MUL", ":", "return", "LowerMUL", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBR_CC", "(", "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", "::", "JumpTable", ":", "return", "LowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SETCC", ":", "return", "LowerSETCC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SETCCE", ":", "return", "LowerSETCCE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SRL_PARTS", ":", "return", "LowerSRL_PARTS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "LowerDYNAMIC_STACKALLOC", "(", "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": ["Lanai", "Lanai", "ISD::MUL", "ISD::BR_CC", "ISD::ConstantPool", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::JumpTable", "ISD::SELECT_CC", "ISD::SETCC", "ISD::SETCCE", "ISD::SRL_PARTS", "ISD::VASTART", "ISD::DYNAMIC_STACKALLOC", "ISD::RETURNADDR", "ISD::FRAMEADDR", "\"unimplemented operand\""], "File": "LanaiISelLowering1", "Func": "LowerOperation", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6881, "Length": 214, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_output_args_xfer", "(", "int", "fp_code", ",", "char", "direction", ")", "{", "unsigned", "int", "gparg", ",", "fparg", ",", "f", ";", "CUMULATIVE_ARGS", "cum", ";", "gcc_assert", "(", "TARGET_OLDABI", ")", ";", "mips_init_cumulative_args", "(", "&", "cum", ",", "NULL", ")", ";", "for", "(", "f", "=", "(", "unsigned", "int", ")", "fp_code", ";", "f", "!=", "0", ";", "f", ">>=", "2", ")", "{", "machine_mode", "mode", ";", "struct", "mips_arg_info", "info", ";", "if", "(", "(", "f", "&", "3", ")", "==", "1", ")", "mode", "=", "SFmode", ";", "else", "if", "(", "(", "f", "&", "3", ")", "==", "2", ")", "mode", "=", "DFmode", ";", "else", "gcc_unreachable", "(", ")", ";", "mips_get_arg_info", "(", "&", "info", ",", "&", "cum", ",", "mode", ",", "NULL", ",", "true", ")", ";", "gparg", "=", "mips_arg_regno", "(", "&", "info", ",", "false", ")", ";", "fparg", "=", "mips_arg_regno", "(", "&", "info", ",", "true", ")", ";", "if", "(", "mode", "==", "SFmode", ")", "mips_output_32bit_xfer", "(", "direction", ",", "gparg", ",", "fparg", ")", ";", "else", "mips_output_64bit_xfer", "(", "direction", ",", "gparg", ",", "fparg", ")", ";", "function_arg_info", "arg", "(", "mode", ",", "true", ")", ";", "mips_function_arg_advance", "(", "pack_cumulative_args", "(", "&", "cum", ")", ",", "arg", ")", ";", "}", "}", ""], "natrual_language": ["Write", "out", "code", "to", "move", "floating-point", "arguments", "into", "or", "out", "of", "general", "registers", ".", "FP_CODE", "is", "the", "code", "describing", "which", "arguments", "are", "present", "(", "see", "the", "comment", "above", "the", "definition", "of", "CUMULATIVE_ARGS", "in", "mips.h", ")", ".", "DIRECTION", "is", "as", "for", "mips_output_32bit_xfer", "."], "TS_V_token": ["mips", "0", "2", "3", "1", "3", "2"], "File": "mips", "Func": "mips_output_args_xfer", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6882, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TargetLowering", "::", "getByValTypeAlignment", "(", "Type", "*", "Ty", ")", "const", "{", "if", "(", "Subtarget", "->", "is64Bit", "(", ")", ")", "{", "unsigned", "TyAlign", "=", "TD", "->", "getABITypeAlignment", "(", "Ty", ")", ";", "if", "(", "TyAlign", ">", "8", ")", "return", "TyAlign", ";", "return", "8", ";", "}", "unsigned", "Align", "=", "4", ";", "if", "(", "Subtarget", "->", "hasSSE1", "(", ")", ")", "getMaxByValAlign", "(", "Ty", ",", "Align", ")", ";", "return", "Align", ";", "}", ""], "natrual_language": ["Return", "the", "desired", "alignment", "for", "ByVal", "aggregate", "function", "arguments", "in", "the", "caller", "parameter", "area", "."], "TS_V_token": ["X86", "X86", "8", "8", "4"], "File": "X86ISelLowering (2)", "Func": "getByValTypeAlignment", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6883, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "TeeRISCInstrInfo", "::", "getGlobalBaseReg", "(", "MachineFunction", "*", "MF", ")", "const", "{", "TeeRISCMachineFunctionInfo", "*", "TeeRISCFI", "=", "MF", "->", "getInfo", "<", "TeeRISCMachineFunctionInfo", ">", "(", ")", ";", "unsigned", "GlobalBaseReg", "=", "TeeRISCFI", "->", "getGlobalBaseReg", "(", ")", ";", "if", "(", "GlobalBaseReg", "!=", "0", ")", "return", "GlobalBaseReg", ";", "MachineBasicBlock", "&", "FirstMBB", "=", "MF", "->", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "FirstMBB", ".", "begin", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", "->", "getRegInfo", "(", ")", ";", "GlobalBaseReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "TeeRISC", "::", "IntRegsRegClass", ")", ";", "DebugLoc", "dl", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "get", "(", "TeeRISC", "::", "ADD", ")", ",", "GlobalBaseReg", ")", ".", "addReg", "(", "TeeRISC", "::", "R10", ")", ";", "RegInfo", ".", "addLiveIn", "(", "TeeRISC", "::", "R10", ")", ";", "TeeRISCFI", "->", "setGlobalBaseReg", "(", "GlobalBaseReg", ")", ";", "return", "GlobalBaseReg", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["TeeRISC", "TeeRISC", "TeeRISC", "TeeRISC", "TeeRISC", "TeeRISC", "0", "TeeRISC::IntRegsRegClass", "TeeRISC::ADD", "TeeRISC::R10", "TeeRISC::R10", "TeeRISC"], "File": "TeeRISCInstrInfo", "Func": "getGlobalBaseReg", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6884, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsGNULDBackend", "&", "getTarget", "(", ")", "const", "{", "return", "m_Target", ";", "}", ""], "natrual_language": ["getTarget", "-", "Return", "the", "target", "machine", "this", "machine", "code", "is", "compiled", "with"], "TS_V_token": ["Mips", "Mips"], "File": "MipsRelocator", "Func": "getTarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6885, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "VERegisterInfo", "::", "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", "VEFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "Register", "FrameReg", ";", "int", "Offset", ";", "Offset", "=", "TFI", "->", "getFrameIndexReference", "(", "MF", ",", "FrameIndex", ",", "FrameReg", ")", ".", "getFixed", "(", ")", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "offsetToDisp", "(", "MI", ")", ")", ".", "getImm", "(", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "VE", "::", "STQrii", ")", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "Register", "SrcReg", "=", "MI", ".", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", ";", "Register", "SrcHiReg", "=", "getSubReg", "(", "SrcReg", ",", "VE", "::", "sub_even", ")", ";", "Register", "SrcLoReg", "=", "getSubReg", "(", "SrcReg", ",", "VE", "::", "sub_odd", ")", ";", "MachineInstr", "*", "StMI", "=", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "VE", "::", "STrii", ")", ")", ".", "addReg", "(", "FrameReg", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcLoReg", ")", ";", "replaceFI", "(", "MF", ",", "II", ",", "*", "StMI", ",", "dl", ",", "0", ",", "Offset", ",", "FrameReg", ")", ";", "MI", ".", "setDesc", "(", "TII", ".", "get", "(", "VE", "::", "STrii", ")", ")", ";", "MI", ".", "getOperand", "(", "3", ")", ".", "setReg", "(", "SrcHiReg", ")", ";", "Offset", "+=", "8", ";", "}", "else", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "VE", "::", "LDQrii", ")", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "Register", "DestReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "Register", "DestHiReg", "=", "getSubReg", "(", "DestReg", ",", "VE", "::", "sub_even", ")", ";", "Register", "DestLoReg", "=", "getSubReg", "(", "DestReg", ",", "VE", "::", "sub_odd", ")", ";", "MachineInstr", "*", "StMI", "=", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "VE", "::", "LDrii", ")", ",", "DestLoReg", ")", ".", "addReg", "(", "FrameReg", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ";", "replaceFI", "(", "MF", ",", "II", ",", "*", "StMI", ",", "dl", ",", "1", ",", "Offset", ",", "FrameReg", ")", ";", "MI", ".", "setDesc", "(", "TII", ".", "get", "(", "VE", "::", "LDrii", ")", ")", ";", "MI", ".", "getOperand", "(", "0", ")", ".", "setReg", "(", "DestHiReg", ")", ";", "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": ["VE", "VE", "0", "\"Unexpected\"", "VE", "VE::STQrii", "3", "VE::sub_even", "VE::sub_odd", "VE::STrii", "0", "0", "0", "VE::STrii", "3", "8", "VE::LDQrii", "0", "VE::sub_even", "VE::sub_odd", "VE::LDrii", "0", "0", "1", "VE::LDrii", "0", "8"], "File": "VERegisterInfo3", "Func": "eliminateFrameIndex", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6886, "Length": 469, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ShouldShrinkFPConstant", "(", "EVT", "VT", ")", "const", "{", "return", "VT", "!=", "MVT", "::", "f128", ";", "}", ""], "natrual_language": ["If", "true", ",", "then", "instruction", "selection", "should", "seek", "to", "shrink", "the", "FP", "constant", "of", "the", "specified", "type", "to", "a", "smaller", "type", "in", "order", "to", "save", "space", "and", "/", "or", "reduce", "runtime", "."], "TS_V_token": ["Mandarin", "MVT::f128"], "File": "MandarinISelLowering", "Func": "ShouldShrinkFPConstant", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6887, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ELFAArch64AsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", "const", "{", "if", "(", "!", "IsLittleEndian", "&&", "Fixup", ".", "getKind", "(", ")", "==", "FK_Data_4", ")", "{", "const", "MCSection", "*", "Sec", "=", "Fixup", ".", "getValue", "(", ")", "->", "FindAssociatedSection", "(", ")", ";", "const", "MCSectionELF", "*", "SecELF", "=", "static_cast", "<", "const", "MCSectionELF", "*", ">", "(", "Sec", ")", ";", "if", "(", "SecELF", "->", "getSectionName", "(", ")", "==", "\".eh_frame\"", ")", "Value", "=", "ByteSwap_32", "(", "unsigned", "(", "Value", ")", ")", ";", "}", "AArch64AsmBackend", "::", "applyFixup", "(", "Fixup", ",", "Data", ",", "DataSize", ",", "Value", ",", "IsPCRel", ")", ";", "}", ""], "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", "\".eh_frame\"", "AArch64"], "File": "AArch64AsmBackend", "Func": "applyFixup", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6888, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86IntelAsmPrinter", "::", "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", "'b'", ":", "case", "'h'", ":", "case", "'w'", ":", "case", "'k'", ":", "return", "printAsmMRegister", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ",", "ExtraCode", "[", "0", "]", ")", ";", "}", "}", "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": "X86IntelAsmPrinter", "Func": "PrintAsmOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6889, "Length": 98, "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": ["ARM64"], "File": "ARM64TargetTransformInfo", "Func": "getAdjustedAnalysisPointer", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6890, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_emit_unspec_cond_or", "(", "rtx", "target", ",", "rtx_code", "code1", ",", "rtx_code", "code2", ",", "machine_mode", "pred_mode", ",", "rtx", "ptrue", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "rtx", "tmp1", "=", "gen_reg_rtx", "(", "pred_mode", ")", ";", "aarch64_emit_unspec_cond", "(", "tmp1", ",", "code1", ",", "pred_mode", ",", "ptrue", ",", "op0", ",", "op1", ")", ";", "rtx", "tmp2", "=", "gen_reg_rtx", "(", "pred_mode", ")", ";", "aarch64_emit_unspec_cond", "(", "tmp2", ",", "code2", ",", "pred_mode", ",", "ptrue", ",", "op0", ",", "op1", ")", ";", "emit_set_insn", "(", "target", ",", "gen_rtx_AND", "(", "pred_mode", ",", "gen_rtx_IOR", "(", "pred_mode", ",", "tmp1", ",", "tmp2", ")", ",", "ptrue", ")", ")", ";", "}", ""], "natrual_language": ["Emit", ":", "(", "set", "TMP1", "(", "unspec", ":", "PRED_MODE", "[", "PTRUE", "OP0", "OP1", "]", "UNSPEC_COND_", "<", "X1", ">", ")", ")", "(", "set", "TMP2", "(", "unspec", ":", "PRED_MODE", "[", "PTRUE", "OP0", "OP1", "]", "UNSPEC_COND_", "<", "X2", ">", ")", ")", "(", "set", "TARGET", "(", "and", ":", "PRED_MODE", "(", "ior", ":", "PRED_MODE", "TMP1", "TMP2", ")", "PTRUE", ")", ")", "where", "<", "Xi", ">", "is", "the", "operation", "associated", "with", "comparison", "CODEi", "."], "TS_V_token": ["aarch64"], "File": "aarch645", "Func": "aarch64_emit_unspec_cond_or", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6891, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ";", "return", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ISelDAGToDAG (2)2", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6892, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTTI", "::", "getIntImmCost", "(", "unsigned", "Opcode", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "const", "{", "if", "(", "DisablePPCConstHoist", ")", "return", "TargetTransformInfo", "::", "getIntImmCost", "(", "Opcode", ",", "Idx", ",", "Imm", ",", "Ty", ")", ";", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", ")", "return", "~", "0U", ";", "unsigned", "ImmIdx", "=", "~", "0U", ";", "bool", "ShiftedFree", "=", "false", ",", "RunFree", "=", "false", ",", "UnsignedFree", "=", "false", ",", "ZeroFree", "=", "false", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "TCC_Free", ";", "case", "Instruction", "::", "GetElementPtr", ":", "if", "(", "Idx", "==", "0", ")", "return", "2", "*", "TCC_Basic", ";", "return", "TCC_Free", ";", "case", "Instruction", "::", "And", ":", "RunFree", "=", "true", ";", "case", "Instruction", "::", "Add", ":", "case", "Instruction", "::", "Or", ":", "case", "Instruction", "::", "Xor", ":", "ShiftedFree", "=", "true", ";", "case", "Instruction", "::", "Sub", ":", "case", "Instruction", "::", "Mul", ":", "case", "Instruction", "::", "Shl", ":", "case", "Instruction", "::", "LShr", ":", "case", "Instruction", "::", "AShr", ":", "ImmIdx", "=", "1", ";", "break", ";", "case", "Instruction", "::", "ICmp", ":", "UnsignedFree", "=", "true", ";", "ImmIdx", "=", "1", ";", "case", "Instruction", "::", "Select", ":", "ZeroFree", "=", "true", ";", "break", ";", "case", "Instruction", "::", "PHI", ":", "case", "Instruction", "::", "Call", ":", "case", "Instruction", "::", "Ret", ":", "case", "Instruction", "::", "Load", ":", "case", "Instruction", "::", "Store", ":", "break", ";", "}", "if", "(", "ZeroFree", "&&", "Imm", "==", "0", ")", "return", "TCC_Free", ";", "if", "(", "Idx", "==", "ImmIdx", "&&", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", ")", "{", "if", "(", "isInt", "<", "16", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "return", "TCC_Free", ";", "if", "(", "RunFree", ")", "{", "if", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "32", "&&", "(", "isShiftedMask_32", "(", "Imm", ".", "getZExtValue", "(", ")", ")", "||", "isShiftedMask_32", "(", "~", "Imm", ".", "getZExtValue", "(", ")", ")", ")", ")", "return", "TCC_Free", ";", "if", "(", "ST", "->", "isPPC64", "(", ")", "&&", "(", "isShiftedMask_64", "(", "Imm", ".", "getZExtValue", "(", ")", ")", "||", "isShiftedMask_64", "(", "~", "Imm", ".", "getZExtValue", "(", ")", ")", ")", ")", "return", "TCC_Free", ";", "}", "if", "(", "UnsignedFree", "&&", "isUInt", "<", "16", ">", "(", "Imm", ".", "getZExtValue", "(", ")", ")", ")", "return", "TCC_Free", ";", "if", "(", "ShiftedFree", "&&", "(", "Imm", ".", "getZExtValue", "(", ")", "&", "0xFFFF", ")", "==", "0", ")", "return", "TCC_Free", ";", "}", "return", "PPCTTI", "::", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "0", "0U", "0U", "0", "2", "1", "1", "0", "64", "16", "32", "PPC", "16", "0xFFFF", "0", "PPC"], "File": "PPCTargetTransformInfo26", "Func": "getIntImmCost", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6893, "Length": 396, "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": 6894, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_option_restore", "(", "struct", "gcc_options", "*", "opts", ",", "struct", "cl_target_option", "*", "ptr", ")", "{", "opts", "->", "x_explicit_tune_core", "=", "ptr", "->", "x_explicit_tune_core", ";", "selected_tune", "=", "aarch64_get_tune_cpu", "(", "ptr", "->", "x_explicit_tune_core", ")", ";", "opts", "->", "x_explicit_arch", "=", "ptr", "->", "x_explicit_arch", ";", "selected_arch", "=", "aarch64_get_arch", "(", "ptr", "->", "x_explicit_arch", ")", ";", "opts", "->", "x_aarch64_override_tune_string", "=", "ptr", "->", "x_aarch64_override_tune_string", ";", "aarch64_override_options_internal", "(", "opts", ")", ";", "}", ""], "natrual_language": ["Implements", "TARGET_OPTION_RESTORE", ".", "Restore", "the", "backend", "codegen", "decisions", "using", "the", "information", "saved", "in", "PTR", "."], "TS_V_token": ["aarch64"], "File": "aarch643", "Func": "aarch64_option_restore", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6895, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "AArch64TargetLowering", "*", "getTLI", "(", ")", "const", "{", "return", "TLI", ";", "}", ""], "natrual_language": ["Getter", "for", "generic", "TargetLowering", "class", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64TargetTransformInfo (2)", "Func": "getTLI", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6896, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_restore_sse_regs_using_mov", "(", "HOST_WIDE_INT", "cfa_offset", ",", "bool", "maybe_eh_return", ")", "{", "unsigned", "int", "regno", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "SSE_REGNO_P", "(", "regno", ")", "&&", "ix86_save_reg", "(", "regno", ",", "maybe_eh_return", ",", "true", ")", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "V4SFmode", ",", "regno", ")", ";", "rtx", "mem", ";", "unsigned", "int", "align", "=", "GET_MODE_ALIGNMENT", "(", "V4SFmode", ")", ";", "mem", "=", "choose_baseaddr", "(", "cfa_offset", ",", "&", "align", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "V4SFmode", ",", "mem", ")", ";", "align", "=", "MIN", "(", "GET_MODE_ALIGNMENT", "(", "V4SFmode", ")", ",", "align", ")", ";", "gcc_assert", "(", "!", "(", "cfa_offset", "&", "(", "align", "/", "BITS_PER_UNIT", "-", "1", ")", ")", ")", ";", "set_mem_align", "(", "mem", ",", "align", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "reg", ",", "mem", ")", ")", ";", "ix86_add_cfa_restore_note", "(", "NULL", ",", "reg", ",", "cfa_offset", ")", ";", "cfa_offset", "-=", "GET_MODE_SIZE", "(", "V4SFmode", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "code", "to", "restore", "saved", "registers", "using", "MOV", "insns", ".", "First", "register", "is", "restored", "from", "CFA", "-", "CFA_OFFSET", "."], "TS_V_token": ["i386", "0", "1"], "File": "i386", "Func": "ix86_emit_restore_sse_regs_using_mov", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6897, "Length": 149, "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", "(", "ix86_unroll_only_small_loops", "&&", "!", "loop", "->", "unroll", ")", "{", "if", "(", "loop", "->", "ninsns", "<=", "ix86_cost", "->", "small_unroll_ninsns", ")", "return", "MIN", "(", "nunroll", ",", "ix86_cost", "->", "small_unroll_factor", ")", ";", "else", "return", "1", ";", "}", "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", "1", "0", "4", "2", "1", "32", "32"], "File": "i3861", "Func": "ix86_loop_unroll_adjust", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6898, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "return", "true", ";", "printOperand", "(", "MI", ",", "OpNo", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["Mips", "Mips", "0"], "File": "MipsAsmPrinter21", "Func": "PrintAsmOperand", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6899, "Length": 45, "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": 6900, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetLowering", "::", "AdjustInstrPostInstrSelection", "(", "MachineInstr", "*", "MI", ",", "SDNode", "*", "Node", ")", "const", "{", "const", "MCInstrDesc", "*", "MCID", "=", "&", "MI", "->", "getDesc", "(", ")", ";", "unsigned", "NewOpc", "=", "convertAddSubFlagsOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "if", "(", "NewOpc", ")", "{", "const", "ARMBaseInstrInfo", "*", "TII", "=", "Subtarget", "->", "getInstrInfo", "(", ")", ";", "MCID", "=", "&", "TII", "->", "get", "(", "NewOpc", ")", ";", "assert", "(", "MCID", "->", "getNumOperands", "(", ")", "==", "MI", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", "+", "1", "&&", "\"converted opcode should be the same except for cc_out\"", ")", ";", "MI", "->", "setDesc", "(", "*", "MCID", ")", ";", "MI", "->", "addOperand", "(", "MachineOperand", "::", "CreateReg", "(", "0", ",", "true", ")", ")", ";", "}", "unsigned", "ccOutIdx", "=", "MCID", "->", "getNumOperands", "(", ")", "-", "1", ";", "if", "(", "!", "MI", "->", "hasOptionalDef", "(", ")", "||", "!", "MCID", "->", "OpInfo", "[", "ccOutIdx", "]", ".", "isOptionalDef", "(", ")", ")", "{", "assert", "(", "!", "NewOpc", "&&", "\"Optional cc_out operand required\"", ")", ";", "return", ";", "}", "bool", "definesCPSR", "=", "false", ";", "bool", "deadCPSR", "=", "false", ";", "for", "(", "unsigned", "i", "=", "MCID", "->", "getNumOperands", "(", ")", ",", "e", "=", "MI", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "i", ")", ";", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "MO", ".", "isDef", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "==", "ARM", "::", "CPSR", ")", "{", "definesCPSR", "=", "true", ";", "if", "(", "MO", ".", "isDead", "(", ")", ")", "deadCPSR", "=", "true", ";", "MI", "->", "RemoveOperand", "(", "i", ")", ";", "break", ";", "}", "}", "if", "(", "!", "definesCPSR", ")", "{", "assert", "(", "!", "NewOpc", "&&", "\"Optional cc_out operand required\"", ")", ";", "return", ";", "}", "assert", "(", "deadCPSR", "==", "!", "Node", "->", "hasAnyUseOfValue", "(", "1", ")", "&&", "\"inconsistent dead flag\"", ")", ";", "if", "(", "deadCPSR", ")", "{", "assert", "(", "!", "MI", "->", "getOperand", "(", "ccOutIdx", ")", ".", "getReg", "(", ")", "&&", "\"expect uninitialized optional cc_out operand\"", ")", ";", "return", ";", "}", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "ccOutIdx", ")", ";", "MO", ".", "setReg", "(", "ARM", "::", "CPSR", ")", ";", "MO", ".", "setIsDef", "(", "true", ")", ";", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'hasPostISelHook", "'", "flag", "."], "TS_V_token": ["ARM", "ARM", "ARM", "1", "\"converted opcode should be the same except for cc_out\"", "0", "1", "\"Optional cc_out operand required\"", "ARM::CPSR", "\"Optional cc_out operand required\"", "1", "\"inconsistent dead flag\"", "\"expect uninitialized optional cc_out operand\"", "ARM::CPSR"], "File": "ARMISelLowering (2)3", "Func": "AdjustInstrPostInstrSelection", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6901, "Length": 341, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseRegisterInfo", "::", "getRARegister", "(", ")", "const", "{", "return", "ARM", "::", "LR", ";", "}", ""], "natrual_language": ["This", "method", "should", "return", "the", "register", "where", "the", "return", "address", "can", "be", "found", "."], "TS_V_token": ["ARM", "ARM", "ARM::LR"], "File": "ARMBaseRegisterInfo12", "Func": "getRARegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6902, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "ARM64TargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "SDLoc", "DL", ",", "SelectionDAG", "&", "DAG", ")", "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", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC", ")", ";", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "RetOps", "(", "1", ",", "Chain", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "realRVLocIdx", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ",", "++", "realRVLocIdx", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "SDValue", "Arg", "=", "OutVals", "[", "realRVLocIdx", "]", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown loc info!\"", ")", ";", "case", "CCValAssign", "::", "Full", ":", "break", ";", "case", "CCValAssign", "::", "BCvt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "DL", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "}", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "VA", ".", "getLocReg", "(", ")", ",", "Arg", ",", "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", "(", "ARM64ISD", "::", "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": ["ARM64", "ARM64", "ISD::OutputArg", "ARM64", "ARM64", "16", "4", "1", "0", "0", "\"Can only return in registers!\"", "\"Unknown loc info!\"", "ISD::BITCAST", "1", "0", "ARM64ISD::RET_FLAG", "MVT::Other"], "File": "ARM64ISelLowering", "Func": "LowerReturn", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6903, "Length": 317, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "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", ";", "unsigned", "LastOpc", "=", "LastInst", "->", "getOpcode", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", "||", "!", "isUnpredicatedTerminator", "(", "*", "--", "I", ")", ")", "{", "if", "(", "isUncondBranchOpcode", "(", "LastOpc", ")", ")", "{", "TBB", "=", "LastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "return", "false", ";", "}", "if", "(", "isCondBranchOpcode", "(", "LastOpc", ")", ")", "{", "parseCondBranch", "(", "LastInst", ",", "TBB", ",", "Cond", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", "MachineInstr", "*", "SecondLastInst", "=", "&", "*", "I", ";", "unsigned", "SecondLastOpc", "=", "SecondLastInst", "->", "getOpcode", "(", ")", ";", "if", "(", "AllowModify", "&&", "isUncondBranchOpcode", "(", "LastOpc", ")", ")", "{", "while", "(", "isUncondBranchOpcode", "(", "SecondLastOpc", ")", ")", "{", "LastInst", "->", "eraseFromParent", "(", ")", ";", "LastInst", "=", "SecondLastInst", ";", "LastOpc", "=", "LastInst", "->", "getOpcode", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", "||", "!", "isUnpredicatedTerminator", "(", "*", "--", "I", ")", ")", "{", "TBB", "=", "LastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "return", "false", ";", "}", "else", "{", "SecondLastInst", "=", "&", "*", "I", ";", "SecondLastOpc", "=", "SecondLastInst", "->", "getOpcode", "(", ")", ";", "}", "}", "}", "if", "(", "SecondLastInst", "&&", "I", "!=", "MBB", ".", "begin", "(", ")", "&&", "isUnpredicatedTerminator", "(", "*", "--", "I", ")", ")", "return", "true", ";", "if", "(", "isCondBranchOpcode", "(", "SecondLastOpc", ")", "&&", "isUncondBranchOpcode", "(", "LastOpc", ")", ")", "{", "parseCondBranch", "(", "SecondLastInst", ",", "TBB", ",", "Cond", ")", ";", "FBB", "=", "LastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "return", "false", ";", "}", "if", "(", "isUncondBranchOpcode", "(", "SecondLastOpc", ")", "&&", "isUncondBranchOpcode", "(", "LastOpc", ")", ")", "{", "TBB", "=", "SecondLastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "I", "=", "LastInst", ";", "if", "(", "AllowModify", ")", "I", "->", "eraseFromParent", "(", ")", ";", "return", "false", ";", "}", "if", "(", "isIndirectBranchOpcode", "(", "SecondLastOpc", ")", "&&", "isUncondBranchOpcode", "(", "LastOpc", ")", ")", "{", "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": ["AArch64", "AArch64", "0", "0", "0", "0"], "File": "AArch64InstrInfo (2)", "Func": "analyzeBranch", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6904, "Length": 401, "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": 6905, "Length": 484, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_spe_function_arg", "(", "const", "CUMULATIVE_ARGS", "*", "cum", ",", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "int", "gregno", "=", "cum", "->", "sysv_gregno", ";", "if", "(", "TARGET_E500_DOUBLE", "&&", "(", "mode", "==", "DFmode", "||", "mode", "==", "TFmode", "||", "mode", "==", "DCmode", "||", "mode", "==", "TCmode", ")", ")", "{", "int", "n_words", "=", "rs6000_arg_size", "(", "mode", ",", "type", ")", ";", "if", "(", "mode", "==", "DFmode", ")", "gregno", "+=", "(", "1", "-", "gregno", ")", "&", "1", ";", "if", "(", "gregno", "+", "n_words", "-", "1", ">", "GP_ARG_MAX_REG", ")", "return", "NULL_RTX", ";", "return", "spe_build_register_parallel", "(", "mode", ",", "gregno", ")", ";", "}", "if", "(", "cum", "->", "stdarg", ")", "{", "int", "n_words", "=", "rs6000_arg_size", "(", "mode", ",", "type", ")", ";", "if", "(", "n_words", "==", "2", "&&", "(", "gregno", "&", "1", ")", "==", "0", ")", "gregno", "+=", "1", ";", "if", "(", "gregno", "+", "n_words", "-", "1", "<=", "GP_ARG_MAX_REG", ")", "{", "rtx", "r1", ",", "r2", ";", "machine_mode", "m", "=", "SImode", ";", "r1", "=", "gen_rtx_REG", "(", "m", ",", "gregno", ")", ";", "r1", "=", "gen_rtx_EXPR_LIST", "(", "m", ",", "r1", ",", "const0_rtx", ")", ";", "r2", "=", "gen_rtx_REG", "(", "m", ",", "gregno", "+", "1", ")", ";", "r2", "=", "gen_rtx_EXPR_LIST", "(", "m", ",", "r2", ",", "GEN_INT", "(", "4", ")", ")", ";", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec", "(", "2", ",", "r1", ",", "r2", ")", ")", ";", "}", "else", "return", "NULL_RTX", ";", "}", "else", "{", "if", "(", "gregno", "<=", "GP_ARG_MAX_REG", ")", "return", "gen_rtx_REG", "(", "mode", ",", "gregno", ")", ";", "else", "return", "NULL_RTX", ";", "}", "}", ""], "natrual_language": ["Determine", "where", "to", "put", "a", "SIMD", "argument", "on", "the", "SPE", "."], "TS_V_token": ["rs6000", "1", "1", "1", "2", "1", "0", "1", "1", "1", "4", "2"], "File": "rs60004", "Func": "rs6000_spe_function_arg", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6906, "Length": 238, "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_lo16\"", ",", "16", ",", "16", ",", "0", "}", ",", "{", "\"fixup_ppc_ha16\"", ",", "16", ",", "16", ",", "0", "}", ",", "{", "\"fixup_ppc_lo14\"", ",", "16", ",", "14", ",", "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_lo16\"", "16", "16", "0", "\"fixup_ppc_ha16\"", "16", "16", "0", "\"fixup_ppc_lo14\"", "16", "14", "0", "\"Invalid kind!\""], "File": "PPCAsmBackend38", "Func": "getFixupKindInfo", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6907, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "parallel_element", "(", "rtx", "parallel_rtx", ",", "int", "nth", ")", "{", "parallel_rtx", "=", "extract_pattern_from_insn", "(", "parallel_rtx", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "parallel_rtx", ")", "==", "PARALLEL", ")", ";", "int", "len", "=", "parallel_elements", "(", "parallel_rtx", ")", ";", "if", "(", "nth", ">=", "0", ")", "{", "if", "(", "nth", ">=", "len", ")", "return", "NULL_RTX", ";", "return", "XVECEXP", "(", "parallel_rtx", ",", "0", ",", "nth", ")", ";", "}", "else", "{", "if", "(", "len", "+", "nth", "<", "0", ")", "return", "NULL_RTX", ";", "return", "XVECEXP", "(", "parallel_rtx", ",", "0", ",", "len", "+", "nth", ")", ";", "}", "}", ""], "natrual_language": ["Extract", "an", "rtx", "from", "a", "parallel", "rtx", "with", "index", "NTH", ".", "If", "NTH", "is", "a", "negative", "value", ",", "the", "function", "returns", "the", "last", "NTH", "rtx", "."], "TS_V_token": ["nds32", "0", "0", "0", "0"], "File": "nds32-utils", "Func": "parallel_element", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6908, "Length": 89, "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": 6909, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "SystemZSelectionDAGInfo", "::", "EmitTargetCodeForMemcmp", "(", "SelectionDAG", "&", "DAG", ",", "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\"", ")", ";", "Chain", "=", "emitCLC", "(", "DAG", ",", "DL", ",", "Chain", ",", "Src1", ",", "Src2", ",", "Bytes", ")", ";", "SDValue", "Glue", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "return", "std", "::", "make_pair", "(", "addIPMSequence", "(", "DL", ",", "Glue", ",", "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 (2)", "Func": "EmitTargetCodeForMemcmp", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6910, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isProfitableToHoist", "(", "Instruction", "*", "I", ")", "const", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "Instruction", "::", "FMul", ")", "return", "true", ";", "if", "(", "!", "I", "->", "hasOneUse", "(", ")", ")", "return", "true", ";", "Instruction", "*", "User", "=", "I", "->", "user_back", "(", ")", ";", "if", "(", "User", "&&", "!", "(", "User", "->", "getOpcode", "(", ")", "==", "Instruction", "::", "FSub", "||", "User", "->", "getOpcode", "(", ")", "==", "Instruction", "::", "FAdd", ")", ")", "return", "true", ";", "const", "TargetOptions", "&", "Options", "=", "getTargetMachine", "(", ")", ".", "Options", ";", "const", "DataLayout", "&", "DL", "=", "I", "->", "getModule", "(", ")", "->", "getDataLayout", "(", ")", ";", "EVT", "VT", "=", "getValueType", "(", "DL", ",", "User", "->", "getOperand", "(", "0", ")", "->", "getType", "(", ")", ")", ";", "return", "!", "(", "isFMAFasterThanFMulAndFAdd", "(", "VT", ")", "&&", "isOperationLegalOrCustom", "(", "ISD", "::", "FMA", ",", "VT", ")", "&&", "(", "Options", ".", "AllowFPOpFusion", "==", "FPOpFusion", "::", "Fast", "||", "Options", ".", "UnsafeFPMath", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "profitable", "to", "hoist", "instruction", "in", "the", "then/else", "to", "before", "if", "."], "TS_V_token": ["AArch64", "AArch64", "0", "ISD::FMA"], "File": "AArch64ISelLowering", "Func": "isProfitableToHoist", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6911, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "if", "(", "DisableAddressingModeFolder", ")", "return", "false", ";", "InstrInfo", "=", "MF", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "bool", "modified", "=", "false", ";", "MachineLoopInfo", "&", "MLI", "=", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "MachineDominatorTree", "&", "MDT", "=", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "unsigned", "NumIterations", "=", "0", ";", "while", "(", "foldMachineFunction", "(", "MF", ",", "MLI", ",", "MDT", ")", ")", "{", "modified", "=", "true", ";", "NumIterations", "++", ";", "assert", "(", "NumIterations", "<", "1000", "&&", "\"Infinite loop in CheriAddrModeFolder?\"", ")", ";", "}", "if", "(", "modified", ")", "{", "MF", ".", "verify", "(", ")", ";", "}", "return", "modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "0", "1000", "\"Infinite loop in CheriAddrModeFolder?\""], "File": "CheriAddressingModeFolder", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6912, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mmix_setup_incoming_varargs", "(", "CUMULATIVE_ARGS", "*", "args_so_farp", ",", "enum", "machine_mode", "mode", ",", "tree", "vartype", ",", "int", "*", "pretend_sizep", ",", "int", "second_time", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "args_so_farp", "->", "regs", "+", "1", "<", "MMIX_MAX_ARGS_IN_REGS", ")", "*", "pretend_sizep", "=", "(", "MMIX_MAX_ARGS_IN_REGS", "-", "(", "args_so_farp", "->", "regs", "+", "1", ")", ")", "*", "8", ";", "if", "(", "(", "7", "+", "(", "MMIX_FUNCTION_ARG_SIZE", "(", "mode", ",", "vartype", ")", ")", ")", "/", "8", "!=", "1", ")", "internal_error", "(", "\"MMIX Internal: Last named vararg would not fit in a register\"", ")", ";", "}", ""], "natrual_language": ["SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["mmix", "1", "1", "8", "7", "8", "1", "\"MMIX Internal: Last named vararg would not fit in a register\""], "File": "mmix3", "Func": "mmix_setup_incoming_varargs", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6913, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mt_print_operand", "(", "FILE", "*", "file", ",", "rtx", "x", ",", "int", "code", ")", "{", "switch", "(", "code", ")", "{", "case", "'#'", ":", "if", "(", "dbr_sequence_length", "(", ")", "==", "0", ")", "fputs", "(", "\"\\n\\tnop\"", ",", "file", ")", ";", "return", ";", "case", "'H'", ":", "fprintf", "(", "file", ",", "\"#%%hi16(\"", ")", ";", "output_addr_const", "(", "file", ",", "x", ")", ";", "fprintf", "(", "file", ",", "\")\"", ")", ";", "return", ";", "case", "'L'", ":", "fprintf", "(", "file", ",", "\"#%%lo16(\"", ")", ";", "output_addr_const", "(", "file", ",", "x", ")", ";", "fprintf", "(", "file", ",", "\")\"", ")", ";", "return", ";", "case", "'N'", ":", "fprintf", "(", "file", ",", "\"#%ld\"", ",", "~", "INTVAL", "(", "x", ")", ")", ";", "return", ";", "case", "'z'", ":", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "x", ")", "==", "0", ")", "{", "fputs", "(", "reg_names", "[", "GPR_R0", "]", ",", "file", ")", ";", "return", ";", "}", "case", "0", ":", "break", ";", "default", ":", "fprintf", "(", "file", ",", "\"unknown code\"", ")", ";", "return", ";", "}", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "REG", ":", "fputs", "(", "reg_names", "[", "REGNO", "(", "x", ")", "]", ",", "file", ")", ";", "break", ";", "case", "CONST", ":", "case", "CONST_INT", ":", "fprintf", "(", "file", ",", "\"#%ld\"", ",", "INTVAL", "(", "x", ")", ")", ";", "break", ";", "case", "MEM", ":", "mt_print_operand_address", "(", "file", ",", "XEXP", "(", "x", ",", "0", ")", ")", ";", "break", ";", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":", "output_addr_const", "(", "file", ",", "x", ")", ";", "break", ";", "default", ":", "fprintf", "(", "file", ",", "\"Uknown code: %d\"", ",", "GET_CODE", "(", "x", ")", ")", ";", "break", ";", "}", "return", ";", "}", ""], "natrual_language": ["Implement", "PRINT_OPERAND", "."], "TS_V_token": ["mt", "0", "\"\\n\\tnop\"", "\"#%%hi16(\"", "\")\"", "\"#%%lo16(\"", "\")\"", "\"#%ld\"", "0", "0", "\"unknown code\"", "\"#%ld\"", "0", "\"Uknown code: %d\""], "File": "mt", "Func": "mt_print_operand", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6914, "Length": 257, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ",", "bool", "ForCodeSize", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "hasVFP3Base", "(", ")", ")", "return", "false", ";", "if", "(", "VT", "==", "MVT", "::", "f16", "&&", "Subtarget", "->", "hasFullFP16", "(", ")", ")", "return", "ARM_AM", "::", "getFP16Imm", "(", "Imm", ")", "!=", "-", "1", ";", "if", "(", "VT", "==", "MVT", "::", "f32", "&&", "Subtarget", "->", "hasFullFP16", "(", ")", "&&", "ARM_AM", "::", "getFP32FP16Imm", "(", "Imm", ")", "!=", "-", "1", ")", "return", "true", ";", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "ARM_AM", "::", "getFP32Imm", "(", "Imm", ")", "!=", "-", "1", ";", "if", "(", "VT", "==", "MVT", "::", "f64", "&&", "Subtarget", "->", "hasFP64", "(", ")", ")", "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::getFP32FP16Imm", "1", "MVT::f32", "ARM_AM::getFP32Imm", "1", "MVT::f64", "ARM_AM::getFP64Imm", "1"], "File": "ARMISelLowering (2)5", "Func": "isFPImmLegal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6915, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "ix86_using_red_zone", "(", "void", ")", "{", "return", "TARGET_RED_ZONE", "&&", "!", "TARGET_64BIT_MS_ABI", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "red-zone", "is", "in", "use", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_using_red_zone", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6916, "Length": 15, "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", ",", "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", "0"], "File": "MipsRegisterInfo14", "Func": "getCalleeSavedRegs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6917, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SparcSubtarget", "*", "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": ["Sparc", "Sparc"], "File": "SparcTargetMachine (2)", "Func": "getSubtargetImpl", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6918, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64AddressTypePromotion", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "!", "EnableAddressTypePromotion", "||", "F", ".", "isDeclaration", "(", ")", ")", "return", "false", ";", "Func", "=", "&", "F", ";", "ConsideredSExtType", "=", "Type", "::", "getInt64Ty", "(", "Func", "->", "getContext", "(", ")", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"*** \"", "<<", "getPassName", "(", ")", "<<", "\": \"", "<<", "Func", "->", "getName", "(", ")", "<<", "'\\n'", ")", ";", "Instructions", "SExtInsts", ";", "analyzeSExtension", "(", "SExtInsts", ")", ";", "return", "propagateSignExtension", "(", "SExtInsts", ")", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["ARM64", "ARM64", "\"*** \"", "\": \""], "File": "ARM64AddressTypePromotion", "Func": "runOnFunction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6919, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCDarwinAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "this", "->", "MF", "=", "&", "MF", ";", "SetupMachineFunction", "(", "MF", ")", ";", "O", "<<", "\"\\n\\n\"", ";", "EmitConstantPool", "(", "MF", ".", "getConstantPool", "(", ")", ")", ";", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "SwitchToSection", "(", "TAI", "->", "SectionForGlobal", "(", "F", ")", ")", ";", "switch", "(", "F", "->", "getLinkage", "(", ")", ")", "{", "default", ":", "assert", "(", "0", "&&", "\"Unknown linkage type!\"", ")", ";", "case", "Function", "::", "PrivateLinkage", ":", "case", "Function", "::", "InternalLinkage", ":", "break", ";", "case", "Function", "::", "ExternalLinkage", ":", "O", "<<", "\"\\t.globl\\t\"", "<<", "CurrentFnName", "<<", "'\\n'", ";", "break", ";", "case", "Function", "::", "WeakAnyLinkage", ":", "case", "Function", "::", "WeakODRLinkage", ":", "case", "Function", "::", "LinkOnceAnyLinkage", ":", "case", "Function", "::", "LinkOnceODRLinkage", ":", "O", "<<", "\"\\t.globl\\t\"", "<<", "CurrentFnName", "<<", "'\\n'", ";", "O", "<<", "\"\\t.weak_definition\\t\"", "<<", "CurrentFnName", "<<", "'\\n'", ";", "break", ";", "}", "printVisibility", "(", "CurrentFnName", ",", "F", "->", "getVisibility", "(", ")", ")", ";", "EmitAlignment", "(", "F", "->", "hasFnAttr", "(", "Attribute", "::", "OptimizeForSize", ")", "?", "2", ":", "4", ",", "F", ")", ";", "O", "<<", "CurrentFnName", "<<", "\":\\n\"", ";", "DW", "->", "BeginFunction", "(", "&", "MF", ")", ";", "MachineFunction", "::", "iterator", "I", "=", "MF", ".", "begin", "(", ")", ";", "if", "(", "++", "I", "==", "MF", ".", "end", "(", ")", "&&", "MF", ".", "front", "(", ")", ".", "empty", "(", ")", ")", "O", "<<", "\"\\tnop\\n\"", ";", "for", "(", "MachineFunction", "::", "const_iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "I", "!=", "MF", ".", "begin", "(", ")", ")", "{", "printBasicBlockLabel", "(", "I", ",", "true", ",", "true", ",", "VerboseAsm", ")", ";", "O", "<<", "'\\n'", ";", "}", "for", "(", "MachineBasicBlock", "::", "const_iterator", "II", "=", "I", "->", "begin", "(", ")", ",", "IE", "=", "I", "->", "end", "(", ")", ";", "II", "!=", "IE", ";", "++", "II", ")", "{", "printMachineInstruction", "(", "II", ")", ";", "}", "}", "EmitJumpTableInfo", "(", "MF", ".", "getJumpTableInfo", "(", ")", ",", "MF", ")", ";", "DW", "->", "EndFunction", "(", "&", "MF", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC", "PPC", "\"\\n\\n\"", "0", "\"Unknown linkage type!\"", "\"\\t.globl\\t\"", "\"\\t.globl\\t\"", "\"\\t.weak_definition\\t\"", "2", "4", "\":\\n\"", "\"\\tnop\\n\""], "File": "PPCAsmPrinter30", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6920, "Length": 334, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "Mips64Disassembler", "::", "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", ",", "isBigEndian", ")", ";", "if", "(", "Result", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "Result", "=", "decodeInstruction", "(", "DecoderTableMips6432", ",", "instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "Size", "=", "4", ";", "return", "Result", ";", "}", "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", "Mips", "4"], "File": "MipsDisassembler19", "Func": "getInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6921, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "X86RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "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", "(", "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": "X86RegisterInfo11", "Func": "getReservedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6922, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_restore_reg", "(", "rtx", "reg", ",", "rtx", "mem", ")", "{", "if", "(", "TARGET_MIPS16", "&&", "REGNO", "(", "reg", ")", "==", "GP_REG_FIRST", "+", "31", ")", "reg", "=", "gen_rtx_REG", "(", "GET_MODE", "(", "reg", ")", ",", "7", ")", ";", "if", "(", "TARGET_MIPS16", "&&", "!", "M16_REG_P", "(", "REGNO", "(", "reg", ")", ")", ")", "{", "emit_move_insn", "(", "MIPS_EPILOGUE_TEMP", "(", "GET_MODE", "(", "reg", ")", ")", ",", "mem", ")", ";", "emit_move_insn", "(", "reg", ",", "MIPS_EPILOGUE_TEMP", "(", "GET_MODE", "(", "reg", ")", ")", ")", ";", "}", "else", "emit_move_insn", "(", "reg", ",", "mem", ")", ";", "}", ""], "natrual_language": ["Emit", "instructions", "to", "restore", "register", "REG", "from", "slot", "MEM", "."], "TS_V_token": ["mips", "31", "7"], "File": "mips3", "Func": "mips_restore_reg", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6923, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64TargetLowering", "::", "initializeSplitCSR", "(", "MachineBasicBlock", "*", "Entry", ")", "const", "{", "AArch64FunctionInfo", "*", "AFI", "=", "Entry", "->", "getParent", "(", ")", "->", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "AFI", "->", "setIsSplitCSR", "(", "true", ")", ";", "}", ""], "natrual_language": ["Perform", "necessary", "initialization", "to", "handle", "a", "subset", "of", "CSRs", "explicitly", "via", "copies", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64ISelLowering (2)", "Func": "initializeSplitCSR", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6924, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "n8_consumed_by_ex_p", "(", "rtx_insn", "*", "consumer", ",", "rtx", "def_reg", ")", "{", "rtx", "use_rtx", ";", "switch", "(", "get_attr_type", "(", "consumer", ")", ")", "{", "case", "TYPE_ALU", ":", "if", "(", "movd44_even_dep_p", "(", "consumer", ",", "def_reg", ")", ")", "return", "true", ";", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_MUL", ":", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_MAC", ":", "use_rtx", "=", "extract_mac_non_acc_rtx", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_DIV", ":", "if", "(", "INSN_CODE", "(", "consumer", ")", "==", "CODE_FOR_divmodsi4", "||", "INSN_CODE", "(", "consumer", ")", "==", "CODE_FOR_udivmodsi4", ")", "use_rtx", "=", "SET_SRC", "(", "parallel_element", "(", "consumer", ",", "0", ")", ")", ";", "else", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_BRANCH", ":", "use_rtx", "=", "extract_branch_condition_rtx", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_STORE", ":", "if", "(", "!", "post_update_insn_p", "(", "consumer", ")", "&&", "!", "immed_offset_p", "(", "extract_mem_rtx", "(", "consumer", ")", ")", ")", "return", "false", ";", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_STORE_MULTIPLE", ":", "use_rtx", "=", "extract_nth_access_rtx", "(", "consumer", ",", "0", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "reg_overlap_p", "(", "def_reg", ",", "use_rtx", ")", ";", "}", ""], "natrual_language": ["Check", "the", "dependency", "between", "the", "producer", "defining", "DEF_REG", "and", "CONSUMER", "requiring", "input", "operand", "at", "EX", "."], "TS_V_token": ["nds32", "0", "0"], "File": "nds32-pipelines-auxiliary5", "Func": "n8_consumed_by_ex_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6925, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_multiplication_cost", "(", "const", "struct", "processor_costs", "*", "cost", ",", "enum", "machine_mode", "mode", ")", "{", "machine_mode", "inner_mode", "=", "mode", ";", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", ")", "inner_mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "if", "(", "SSE_FLOAT_MODE_P", "(", "mode", ")", "&&", "TARGET_SSE_MATH", ")", "return", "inner_mode", "==", "DFmode", "?", "cost", "->", "mulsd", ":", "cost", "->", "mulss", ";", "else", "if", "(", "X87_FLOAT_MODE_P", "(", "mode", ")", ")", "return", "cost", "->", "fmul", ";", "else", "if", "(", "FLOAT_MODE_P", "(", "mode", ")", ")", "return", "ix86_vec_cost", "(", "mode", ",", "inner_mode", "==", "DFmode", "?", "cost", "->", "mulsd", ":", "cost", "->", "mulss", ",", "true", ")", ";", "else", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_INT", ")", "{", "if", "(", "TARGET_AVX512DQ", ")", "return", "ix86_vec_cost", "(", "mode", ",", "cost", "->", "mulss", ",", "true", ")", ";", "if", "(", "mode", "==", "V16QImode", "||", "mode", "==", "V32QImode", ")", "{", "int", "extra", "=", "11", ";", "if", "(", "TARGET_XOP", "&&", "mode", "==", "V16QImode", ")", "extra", "=", "5", ";", "else", "if", "(", "TARGET_SSSE3", ")", "extra", "=", "6", ";", "return", "ix86_vec_cost", "(", "mode", ",", "cost", "->", "mulss", "*", "2", "+", "cost", "->", "sse_op", "*", "extra", ",", "true", ")", ";", "}", "else", "if", "(", "mode", "==", "V2DImode", "||", "mode", "==", "V4DImode", ")", "{", "if", "(", "TARGET_XOP", "&&", "mode", "==", "V2DImode", ")", "return", "ix86_vec_cost", "(", "mode", ",", "cost", "->", "mulss", "*", "2", "+", "cost", "->", "sse_op", "*", "3", ",", "true", ")", ";", "else", "return", "ix86_vec_cost", "(", "mode", ",", "cost", "->", "mulss", "*", "3", "+", "cost", "->", "sse_op", "*", "5", ",", "true", ")", ";", "}", "else", "if", "(", "mode", "==", "V4SImode", "&&", "!", "(", "TARGET_SSE4_1", "||", "TARGET_AVX", ")", ")", "return", "ix86_vec_cost", "(", "mode", ",", "cost", "->", "mulss", "*", "2", "+", "cost", "->", "sse_op", "*", "5", ",", "true", ")", ";", "else", "return", "ix86_vec_cost", "(", "mode", ",", "cost", "->", "mulss", ",", "true", ")", ";", "}", "else", "return", "(", "cost", "->", "mult_init", "[", "MODE_INDEX", "(", "mode", ")", "]", "+", "cost", "->", "mult_bit", "*", "7", ")", ";", "}", ""], "natrual_language": ["Return", "cost", "of", "multiplication", "in", "MODE", "."], "TS_V_token": ["i386", "11", "5", "6", "2", "2", "3", "3", "5", "2", "5", "7"], "File": "i3867", "Func": "ix86_multiplication_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6926, "Length": 313, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "xstormy16_asm_output_aligned_common", "(", "FILE", "*", "stream", ",", "tree", "decl", ",", "const", "char", "*", "name", ",", "int", "size", ",", "int", "align", ",", "int", "global", ")", "{", "rtx", "mem", "=", "decl", "==", "NULL_TREE", "?", "NULL_RTX", ":", "DECL_RTL", "(", "decl", ")", ";", "rtx", "symbol", ";", "if", "(", "mem", "!=", "NULL_RTX", "&&", "MEM_P", "(", "mem", ")", "&&", "GET_CODE", "(", "symbol", "=", "XEXP", "(", "mem", ",", "0", ")", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_FLAGS", "(", "symbol", ")", "&", "SYMBOL_FLAG_XSTORMY16_BELOW100", ")", "{", "const", "char", "*", "name2", ";", "int", "p2align", "=", "0", ";", "switch_to_section", "(", "bss100_section", ")", ";", "while", "(", "align", ">", "8", ")", "{", "align", "/=", "2", ";", "p2align", "++", ";", "}", "name2", "=", "default_strip_name_encoding", "(", "name", ")", ";", "if", "(", "global", ")", "fprintf", "(", "stream", ",", "\"\\t.globl\\t%s\\n\"", ",", "name2", ")", ";", "if", "(", "p2align", ")", "fprintf", "(", "stream", ",", "\"\\t.p2align %d\\n\"", ",", "p2align", ")", ";", "fprintf", "(", "stream", ",", "\"\\t.type\\t%s, @object\\n\"", ",", "name2", ")", ";", "fprintf", "(", "stream", ",", "\"\\t.size\\t%s, %d\\n\"", ",", "name2", ",", "size", ")", ";", "fprintf", "(", "stream", ",", "\"%s:\\n\\t.space\\t%d\\n\"", ",", "name2", ",", "size", ")", ";", "return", ";", "}", "if", "(", "!", "global", ")", "{", "fprintf", "(", "stream", ",", "\"\\t.local\\t\"", ")", ";", "assemble_name", "(", "stream", ",", "name", ")", ";", "fprintf", "(", "stream", ",", "\"\\n\"", ")", ";", "}", "fprintf", "(", "stream", ",", "\"\\t.comm\\t\"", ")", ";", "assemble_name", "(", "stream", ",", "name", ")", ";", "fprintf", "(", "stream", ",", "\",%u,%u\\n\"", ",", "size", ",", "align", "/", "BITS_PER_UNIT", ")", ";", "}", ""], "natrual_language": ["The", "purpose", "of", "this", "function", "is", "to", "override", "the", "default", "behavior", "of", "BSS", "objects", ".", "Normally", ",", "they", "go", "into", ".bss", "or", ".sbss", "via", "``", ".common", "''", "directives", ",", "but", "we", "need", "to", "override", "that", "and", "put", "them", "in", ".bss_below100", ".", "We", "ca", "n't", "just", "use", "a", "section", "override", "(", "like", "we", "do", "for", ".data_below100", ")", ",", "because", "that", "makes", "them", "initialized", "rather", "than", "uninitialized", "."], "TS_V_token": ["stormy16", "0", "0", "8", "2", "\"\\t.globl\\t%s\\n\"", "\"\\t.p2align %d\\n\"", "\"\\t.type\\t%s, @object\\n\"", "\"\\t.size\\t%s, %d\\n\"", "\"%s:\\n\\t.space\\t%d\\n\"", "\"\\t.local\\t\"", "\"\\n\"", "\"\\t.comm\\t\"", "\",%u,%u\\n\""], "File": "stormy16", "Func": "xstormy16_asm_output_aligned_common", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6927, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "getTgtMemIntrinsic", "(", "IntrinsicInfo", "&", "Info", ",", "const", "CallInst", "&", "I", ",", "MachineFunction", "&", "MF", ",", "unsigned", "Intrinsic", ")", "const", "{", "switch", "(", "Intrinsic", ")", "{", "case", "Intrinsic", "::", "ppc_altivec_lvx", ":", "case", "Intrinsic", "::", "ppc_altivec_lvxl", ":", "case", "Intrinsic", "::", "ppc_altivec_lvebx", ":", "case", "Intrinsic", "::", "ppc_altivec_lvehx", ":", "case", "Intrinsic", "::", "ppc_altivec_lvewx", ":", "case", "Intrinsic", "::", "ppc_vsx_lxvd2x", ":", "case", "Intrinsic", "::", "ppc_vsx_lxvw4x", ":", "{", "EVT", "VT", ";", "switch", "(", "Intrinsic", ")", "{", "case", "Intrinsic", "::", "ppc_altivec_lvebx", ":", "VT", "=", "MVT", "::", "i8", ";", "break", ";", "case", "Intrinsic", "::", "ppc_altivec_lvehx", ":", "VT", "=", "MVT", "::", "i16", ";", "break", ";", "case", "Intrinsic", "::", "ppc_altivec_lvewx", ":", "VT", "=", "MVT", "::", "i32", ";", "break", ";", "case", "Intrinsic", "::", "ppc_vsx_lxvd2x", ":", "VT", "=", "MVT", "::", "v2f64", ";", "break", ";", "default", ":", "VT", "=", "MVT", "::", "v4i32", ";", "break", ";", "}", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_W_CHAIN", ";", "Info", ".", "memVT", "=", "VT", ";", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "0", ")", ";", "Info", ".", "offset", "=", "-", "VT", ".", "getStoreSize", "(", ")", "+", "1", ";", "Info", ".", "size", "=", "2", "*", "VT", ".", "getStoreSize", "(", ")", "-", "1", ";", "Info", ".", "align", "=", "Align", "(", "1", ")", ";", "Info", ".", "flags", "=", "MachineMemOperand", "::", "MOLoad", ";", "return", "true", ";", "}", "case", "Intrinsic", "::", "ppc_altivec_stvx", ":", "case", "Intrinsic", "::", "ppc_altivec_stvxl", ":", "case", "Intrinsic", "::", "ppc_altivec_stvebx", ":", "case", "Intrinsic", "::", "ppc_altivec_stvehx", ":", "case", "Intrinsic", "::", "ppc_altivec_stvewx", ":", "case", "Intrinsic", "::", "ppc_vsx_stxvd2x", ":", "case", "Intrinsic", "::", "ppc_vsx_stxvw4x", ":", "{", "EVT", "VT", ";", "switch", "(", "Intrinsic", ")", "{", "case", "Intrinsic", "::", "ppc_altivec_stvebx", ":", "VT", "=", "MVT", "::", "i8", ";", "break", ";", "case", "Intrinsic", "::", "ppc_altivec_stvehx", ":", "VT", "=", "MVT", "::", "i16", ";", "break", ";", "case", "Intrinsic", "::", "ppc_altivec_stvewx", ":", "VT", "=", "MVT", "::", "i32", ";", "break", ";", "case", "Intrinsic", "::", "ppc_vsx_stxvd2x", ":", "VT", "=", "MVT", "::", "v2f64", ";", "break", ";", "default", ":", "VT", "=", "MVT", "::", "v4i32", ";", "break", ";", "}", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_VOID", ";", "Info", ".", "memVT", "=", "VT", ";", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "1", ")", ";", "Info", ".", "offset", "=", "-", "VT", ".", "getStoreSize", "(", ")", "+", "1", ";", "Info", ".", "size", "=", "2", "*", "VT", ".", "getStoreSize", "(", ")", "-", "1", ";", "Info", ".", "align", "=", "Align", "(", "1", ")", ";", "Info", ".", "flags", "=", "MachineMemOperand", "::", "MOStore", ";", "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": ["PowerPC", "PPC", "Intrinsic::ppc_altivec_lvx", "Intrinsic::ppc_altivec_lvxl", "Intrinsic::ppc_altivec_lvebx", "Intrinsic::ppc_altivec_lvehx", "Intrinsic::ppc_altivec_lvewx", "Intrinsic::ppc_vsx_lxvd2x", "Intrinsic::ppc_vsx_lxvw4x", "Intrinsic::ppc_altivec_lvebx", "MVT::i8", "Intrinsic::ppc_altivec_lvehx", "MVT::i16", "Intrinsic::ppc_altivec_lvewx", "MVT::i32", "Intrinsic::ppc_vsx_lxvd2x", "MVT::v2f64", "MVT::v4i32", "ISD::INTRINSIC_W_CHAIN", "0", "1", "2", "1", "1", "Intrinsic::ppc_altivec_stvx", "Intrinsic::ppc_altivec_stvxl", "Intrinsic::ppc_altivec_stvebx", "Intrinsic::ppc_altivec_stvehx", "Intrinsic::ppc_altivec_stvewx", "Intrinsic::ppc_vsx_stxvd2x", "Intrinsic::ppc_vsx_stxvw4x", "Intrinsic::ppc_altivec_stvebx", "MVT::i8", "Intrinsic::ppc_altivec_stvehx", "MVT::i16", "Intrinsic::ppc_altivec_stvewx", "MVT::i32", "Intrinsic::ppc_vsx_stxvd2x", "MVT::v2f64", "MVT::v4i32", "ISD::INTRINSIC_VOID", "1", "1", "2", "1", "1"], "File": "PPCISelLowering100", "Func": "getTgtMemIntrinsic", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6928, "Length": 397, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "csky_sched_adjust_cost", "(", "rtx_insn", "*", "insn", ",", "int", "dep_type", ",", "rtx_insn", "*", "dep", ",", "int", "cost", ",", "unsigned", "int", "dw", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "dep_type", "==", "REG_DEP_ANTI", "||", "dep_type", "==", "REG_DEP_OUTPUT", ")", "return", "0", ";", "else", "if", "(", "recog_memoized", "(", "insn", ")", ">=", "0", "&&", "recog_memoized", "(", "dep", ")", ">=", "0", ")", "{", "enum", "attr_type", "insn_type", "=", "get_attr_type", "(", "insn", ")", ";", "if", "(", "CSKY_TARGET_ARCH", "(", "CK803", ")", ")", "{", "if", "(", "insn_type", "==", "TYPE_LOAD", "||", "insn_type", "==", "TYPE_STORE", ")", "{", "rtx", "pattern", "=", "PATTERN", "(", "insn", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "pattern", ")", "==", "SET", ")", ";", "rtx", "addr", "=", "(", "insn_type", "==", "TYPE_LOAD", "?", "SET_SRC", "(", "pattern", ")", ":", "SET_DEST", "(", "pattern", ")", ")", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "addr", ")", ";", "if", "(", "code", "==", "ZERO_EXTEND", "||", "code", "==", "SIGN_EXTEND", ")", "addr", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "addr", ")", "==", "MEM", ")", ";", "rtx", "base", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "rtx", "reg", "=", "NULL_RTX", ";", "if", "(", "REG_P", "(", "base", ")", ")", "reg", "=", "base", ";", "if", "(", "GET_CODE", "(", "base", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "base", ",", "0", ")", ")", "==", "REG", ")", "reg", "=", "XEXP", "(", "base", ",", "0", ")", ";", "if", "(", "(", "reg", "!=", "NULL_RTX", ")", "&&", "reg_set_p", "(", "reg", ",", "PATTERN", "(", "dep", ")", ")", ")", "return", "2", ";", "}", "}", "else", "if", "(", "CSKY_TARGET_ARCH", "(", "CK802", ")", ")", "{", "if", "(", "(", "insn_type", "==", "TYPE_CALL_JSR", "||", "insn_type", "==", "TYPE_BRANCH_JMP", ")", "&&", "get_attr_type", "(", "dep", ")", "!=", "TYPE_LOAD", ")", "return", "1", ";", "if", "(", "insn_type", "==", "TYPE_LOAD", "||", "insn_type", "==", "TYPE_STORE", ")", "{", "rtx", "pattern", "=", "PATTERN", "(", "insn", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "pattern", ")", "==", "SET", ")", ";", "rtx", "addr", "=", "(", "insn_type", "==", "TYPE_LOAD", "?", "SET_SRC", "(", "pattern", ")", ":", "SET_DEST", "(", "pattern", ")", ")", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "addr", ")", ";", "if", "(", "code", "==", "ZERO_EXTEND", "||", "code", "==", "SIGN_EXTEND", ")", "addr", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "addr", ")", "==", "MEM", ")", ";", "rtx", "base", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "rtx", "reg", "=", "NULL_RTX", ";", "if", "(", "REG_P", "(", "base", ")", ")", "reg", "=", "base", ";", "if", "(", "GET_CODE", "(", "base", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "base", ",", "0", ")", ")", "==", "REG", ")", "reg", "=", "XEXP", "(", "base", ",", "0", ")", ";", "if", "(", "(", "reg", "!=", "NULL_RTX", ")", "&&", "reg_set_p", "(", "reg", ",", "PATTERN", "(", "dep", ")", ")", "&&", "get_attr_type", "(", "dep", ")", "!=", "TYPE_LOAD", ")", "return", "1", ";", "if", "(", "insn_type", "==", "TYPE_STORE", "&&", "reg_referenced_p", "(", "SET_SRC", "(", "pattern", ")", ",", "PATTERN", "(", "dep", ")", ")", ")", "return", "1", ";", "}", "}", "}", "return", "cost", ";", "}", ""], "natrual_language": ["This", "function", "implements", "the", "target", "macro", "TARGET_SCHED_ADJUST_COST", ".", "It", "corrects", "the", "value", "of", "COST", "based", "on", "the", "relationship", "between", "INSN", "and", "DEP", "through", "the", "dependence", "DEP_TYPE", ".", "It", "returns", "the", "new", "value", "."], "TS_V_token": ["csky", "0", "0", "0", "0", "0", "0", "0", "2", "1", "0", "0", "0", "0", "1", "1"], "File": "csky", "Func": "csky_sched_adjust_cost", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6929, "Length": 467, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "vax_md_asm_adjust", "(", "vec", "<", "rtx", ">", "&", "outputs", "ATTRIBUTE_UNUSED", ",", "vec", "<", "rtx", ">", "&", "inputs", "ATTRIBUTE_UNUSED", ",", "vec", "<", "machine_mode", ">", "&", "input_modes", "ATTRIBUTE_UNUSED", ",", "vec", "<", "const", "char", "*", ">", "&", "constraints", "ATTRIBUTE_UNUSED", ",", "vec", "<", "rtx", ">", "&", "clobbers", ",", "HARD_REG_SET", "&", "clobbered_regs", ")", "{", "clobbers", ".", "safe_push", "(", "gen_rtx_REG", "(", "CCmode", ",", "VAX_PSL_REGNUM", ")", ")", ";", "SET_HARD_REG_BIT", "(", "clobbered_regs", ",", "VAX_PSL_REGNUM", ")", ";", "return", "NULL", ";", "}", ""], "natrual_language": ["Mark", "PSL", "as", "clobbered", "for", "compatibility", "with", "the", "CC0", "representation", "."], "TS_V_token": ["vax"], "File": "vax1", "Func": "vax_md_asm_adjust", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6930, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "nds32_output_casesi_pc_relative", "(", "rtx", "*", "operands", ")", "{", "machine_mode", "mode", ";", "rtx", "diff_vec", ";", "diff_vec", "=", "PATTERN", "(", "NEXT_INSN", "(", "as_a", "<", "rtx_insn", "*", ">", "(", "operands", "[", "1", "]", ")", ")", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "diff_vec", ")", "==", "ADDR_DIFF_VEC", ")", ";", "output_asm_insn", "(", "\"la\\t$ta, %l1\"", ",", "operands", ")", ";", "mode", "=", "GET_MODE", "(", "diff_vec", ")", ";", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "output_asm_insn", "(", "\"lb\\t%2, [$ta + %0 << 0]\"", ",", "operands", ")", ";", "break", ";", "case", "E_HImode", ":", "output_asm_insn", "(", "\"lh\\t%2, [$ta + %0 << 1]\"", ",", "operands", ")", ";", "break", ";", "case", "E_SImode", ":", "output_asm_insn", "(", "\"lw\\t%2, [$ta + %0 << 2]\"", ",", "operands", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "output_asm_insn", "(", "\"add\\t$ta, %2, $ta\"", ",", "operands", ")", ";", "if", "(", "TARGET_16_BIT", ")", "return", "\"jr5\\t$ta\"", ";", "else", "return", "\"jr\\t$ta\"", ";", "}", ""], "natrual_language": ["Function", "to", "generate", "PC", "relative", "jump", "table", ".", "Refer", "to", "nds32.md", "for", "more", "details", ".", "The", "following", "is", "the", "sample", "for", "the", "case", "that", "diff", "value", "can", "be", "presented", "in", "'.short", "'", "size", ".", "addi", "$", "r1", ",", "$", "r1", ",", "-", "(", "case_lower_bound", ")", "slti", "$", "ta", ",", "$", "r1", ",", "(", "case_number", ")", "beqz", "$", "ta", ",", ".L_skip_label", "la", "$", "ta", ",", ".L35", "!", "get", "jump", "table", "address", "lh", "$", "r1", ",", "[", "$", "ta", "+", "$", "r1", "<", "<", "1", "]", "!", "load", "symbol", "diff", "from", "jump", "table", "entry", "addi", "$", "ta", ",", "$", "r1", ",", "$", "ta", "jr5", "$", "ta", "!", "jump", "table", "entry", "L35", ":", ".short", ".L25-.L35", ".short", ".L26-.L35", ".short", ".L27-.L35", ".short", ".L28-.L35", ".short", ".L29-.L35", ".short", ".L30-.L35", ".short", ".L31-.L35", ".short", ".L32-.L35", ".short", ".L33-.L35", ".short", ".L34-.L35"], "TS_V_token": ["nds32", "1", "\"la\\t$ta, %l1\"", "\"lb\\t%2, [$ta + %0 << 0]\"", "\"lh\\t%2, [$ta + %0 << 1]\"", "\"lw\\t%2, [$ta + %0 << 2]\"", "\"add\\t$ta, %2, $ta\"", "\"jr5\\t$ta\"", "\"jr\\t$ta\""], "File": "nds32-md-auxiliary5", "Func": "nds32_output_casesi_pc_relative", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6931, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_split_copysign_var", "(", "rtx", "operands", "[", "]", ")", "{", "machine_mode", "mode", ",", "vmode", ";", "rtx", "dest", ",", "scratch", ",", "op0", ",", "op1", ",", "mask", ",", "nmask", ",", "x", ";", "dest", "=", "operands", "[", "0", "]", ";", "scratch", "=", "operands", "[", "1", "]", ";", "op0", "=", "operands", "[", "2", "]", ";", "op1", "=", "operands", "[", "3", "]", ";", "nmask", "=", "operands", "[", "4", "]", ";", "mask", "=", "operands", "[", "5", "]", ";", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "vmode", "=", "GET_MODE", "(", "mask", ")", ";", "if", "(", "rtx_equal_p", "(", "op0", ",", "op1", ")", ")", "{", "emit_move_insn", "(", "dest", ",", "op0", ")", ";", "return", ";", "}", "if", "(", "REG_P", "(", "mask", ")", "&&", "REGNO", "(", "dest", ")", "==", "REGNO", "(", "mask", ")", ")", "{", "gcc_assert", "(", "REGNO", "(", "op1", ")", "==", "REGNO", "(", "scratch", ")", ")", ";", "x", "=", "gen_rtx_AND", "(", "vmode", ",", "scratch", ",", "mask", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "scratch", ",", "x", ")", ")", ";", "dest", "=", "mask", ";", "op0", "=", "simplify_gen_subreg", "(", "vmode", ",", "op0", ",", "mode", ",", "0", ")", ";", "x", "=", "gen_rtx_NOT", "(", "vmode", ",", "dest", ")", ";", "x", "=", "gen_rtx_AND", "(", "vmode", ",", "x", ",", "op0", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "x", ")", ")", ";", "}", "else", "{", "if", "(", "REGNO", "(", "op1", ")", "==", "REGNO", "(", "scratch", ")", ")", "{", "x", "=", "gen_rtx_AND", "(", "vmode", ",", "scratch", ",", "mask", ")", ";", "}", "else", "{", "gcc_assert", "(", "REGNO", "(", "mask", ")", "==", "REGNO", "(", "scratch", ")", ")", ";", "op1", "=", "simplify_gen_subreg", "(", "vmode", ",", "op1", ",", "mode", ",", "0", ")", ";", "x", "=", "gen_rtx_AND", "(", "vmode", ",", "scratch", ",", "op1", ")", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "scratch", ",", "x", ")", ")", ";", "if", "(", "REGNO", "(", "op0", ")", "==", "REGNO", "(", "dest", ")", ")", "{", "dest", "=", "simplify_gen_subreg", "(", "vmode", ",", "op0", ",", "mode", ",", "0", ")", ";", "x", "=", "gen_rtx_AND", "(", "vmode", ",", "dest", ",", "nmask", ")", ";", "}", "else", "{", "gcc_assert", "(", "REGNO", "(", "nmask", ")", "==", "REGNO", "(", "dest", ")", ")", ";", "dest", "=", "nmask", ";", "op0", "=", "simplify_gen_subreg", "(", "vmode", ",", "op0", ",", "mode", ",", "0", ")", ";", "x", "=", "gen_rtx_AND", "(", "vmode", ",", "dest", ",", "op0", ")", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "x", ")", ")", ";", "}", "x", "=", "gen_rtx_IOR", "(", "vmode", ",", "dest", ",", "scratch", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "x", ")", ")", ";", "}", ""], "natrual_language": ["Deconstruct", "a", "copysign", "operation", "into", "bit", "masks", ".", "Operand", "0", "is", "variable", ",", "so", "we", "have", "to", "do", "two", "masks", "."], "TS_V_token": ["i386", "0", "1", "2", "3", "4", "5", "0", "0", "0", "0"], "File": "i3864", "Func": "ix86_split_copysign_var", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6932, "Length": 407, "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": 6933, "Length": 49, "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": 6934, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_set_compression_mode", "(", "unsigned", "int", "compression_mode", ")", "{", "if", "(", "compression_mode", "==", "old_compression_mode", ")", "return", ";", "target_flags", "=", "mips_base_target_flags", ";", "flag_schedule_insns", "=", "mips_base_schedule_insns", ";", "flag_reorder_blocks_and_partition", "=", "mips_base_reorder_blocks_and_partition", ";", "flag_move_loop_invariants", "=", "mips_base_move_loop_invariants", ";", "str_align_loops", "=", "mips_base_align_loops", ";", "str_align_jumps", "=", "mips_base_align_jumps", ";", "str_align_functions", "=", "mips_base_align_functions", ";", "target_flags", "&=", "~", "(", "MASK_MIPS16", "|", "MASK_MICROMIPS", ")", ";", "target_flags", "|=", "compression_mode", ";", "if", "(", "compression_mode", "&", "MASK_MIPS16", ")", "{", "target_flags", "|=", "MASK_MIPS16", ";", "target_flags", "&=", "~", "MASK_SYNCI", ";", "flag_schedule_insns", "=", "0", ";", "flag_reorder_blocks_and_partition", "=", "0", ";", "flag_move_loop_invariants", "=", "0", ";", "target_flags", "|=", "MASK_EXPLICIT_RELOCS", ";", "targetm", ".", "min_anchor_offset", "=", "0", ";", "targetm", ".", "max_anchor_offset", "=", "127", ";", "targetm", ".", "const_anchor", "=", "0", ";", "target_flags", "&=", "~", "MASK_RELAX_PIC_CALLS", ";", "target_flags", "&=", "~", "MASK_FIX_R4000", ";", "if", "(", "flag_pic", "&&", "!", "TARGET_OLDABI", ")", "sorry", "(", "\"MIPS16 PIC for ABIs other than o32 and o64\"", ")", ";", "if", "(", "TARGET_XGOT", ")", "sorry", "(", "\"MIPS16 %<-mxgot%> code\"", ")", ";", "if", "(", "TARGET_HARD_FLOAT_ABI", "&&", "!", "TARGET_OLDABI", ")", "sorry", "(", "\"% MIPS16 code for ABIs other than o32 and o64\"", ")", ";", "if", "(", "TARGET_MSA", ")", "sorry", "(", "\"MSA MIPS16 code\"", ")", ";", "}", "else", "{", "if", "(", "TARGET_MICROMIPS", ")", "target_flags", "&=", "~", "MASK_BRANCHLIKELY", ";", "if", "(", "TARGET_64BIT", ")", "{", "if", "(", "flag_align_loops", "&&", "!", "str_align_loops", ")", "str_align_loops", "=", "\"8\"", ";", "if", "(", "flag_align_jumps", "&&", "!", "str_align_jumps", ")", "str_align_jumps", "=", "\"8\"", ";", "if", "(", "flag_align_functions", "&&", "!", "str_align_functions", ")", "str_align_functions", "=", "\"8\"", ";", "}", "targetm", ".", "min_anchor_offset", "=", "-", "32768", ";", "targetm", ".", "max_anchor_offset", "=", "32767", ";", "targetm", ".", "const_anchor", "=", "0x8000", ";", "}", "mips_init_relocs", "(", ")", ";", "if", "(", "compression_mode", "&", "MASK_MIPS16", ")", "{", "if", "(", "!", "mips16_globals", ")", "mips16_globals", "=", "save_target_globals_default_opts", "(", ")", ";", "else", "restore_target_globals", "(", "mips16_globals", ")", ";", "}", "else", "if", "(", "compression_mode", "&", "MASK_MICROMIPS", ")", "{", "if", "(", "!", "micromips_globals", ")", "micromips_globals", "=", "save_target_globals_default_opts", "(", ")", ";", "else", "restore_target_globals", "(", "micromips_globals", ")", ";", "}", "else", "restore_target_globals", "(", "&", "default_target_globals", ")", ";", "old_compression_mode", "=", "compression_mode", ";", "}", ""], "natrual_language": ["Set", "up", "the", "target-dependent", "global", "state", "for", "ISA", "mode", "COMPRESSION_MODE", ",", "which", "is", "either", "MASK_MIPS16", "or", "MASK_MICROMIPS", "."], "TS_V_token": ["mips", "0", "0", "0", "0", "127", "0", "\"MIPS16 PIC for ABIs other than o32 and o64\"", "\"MIPS16 %<-mxgot%> code\"", "\"% MIPS16 code for ABIs other than o32 and o64\"", "\"MSA MIPS16 code\"", "\"8\"", "\"8\"", "\"8\"", "32768", "32767", "0x8000"], "File": "mips", "Func": "mips_set_compression_mode", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6935, "Length": 298, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "PPCTTIImpl", "::", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "TTI", "::", "OperandValueKind", "Op1Info", ",", "TTI", "::", "OperandValueKind", "Op2Info", ",", "TTI", "::", "OperandValueProperties", "Opd1PropInfo", ",", "TTI", "::", "OperandValueProperties", "Opd2PropInfo", ",", "ArrayRef", "<", "const", "Value", "*", ">", "Args", ",", "const", "Instruction", "*", "CxtI", ")", "{", "assert", "(", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", "&&", "\"Invalid opcode\"", ")", ";", "int", "Cost", "=", "BaseT", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "Op1Info", ",", "Op2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ")", ";", "return", "vectorCostAdjustment", "(", "Cost", ",", "Opcode", ",", "Ty", ",", "nullptr", ")", ";", "}", ""], "natrual_language": ["This", "is", "an", "approximation", "of", "reciprocal", "throughput", "of", "a", "math/logic", "op", "."], "TS_V_token": ["PowerPC", "PPC", "\"Invalid opcode\""], "File": "PPCTargetTransformInfo35", "Func": "getArithmeticInstrCost", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6936, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_expand_compare_and_swap", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "bval", ",", "rval", ",", "mem", ",", "oldval", ",", "newval", ",", "is_weak", ",", "mod_s", ",", "mod_f", ",", "x", ";", "machine_mode", "mode", ",", "cmp_mode", ";", "typedef", "rtx", "(", "*", "gen_cas_fn", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "int", "idx", ";", "gen_cas_fn", "gen", ";", "const", "gen_cas_fn", "split_cas", "[", "]", "=", "{", "gen_aarch64_compare_and_swapqi", ",", "gen_aarch64_compare_and_swaphi", ",", "gen_aarch64_compare_and_swapsi", ",", "gen_aarch64_compare_and_swapdi", "}", ";", "const", "gen_cas_fn", "atomic_cas", "[", "]", "=", "{", "gen_aarch64_compare_and_swapqi_lse", ",", "gen_aarch64_compare_and_swaphi_lse", ",", "gen_aarch64_compare_and_swapsi_lse", ",", "gen_aarch64_compare_and_swapdi_lse", "}", ";", "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", ")", ";", "cmp_mode", "=", "mode", ";", "if", "(", "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", ":", "cmp_mode", "=", "SImode", ";", "rval", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "oldval", "=", "convert_modes", "(", "SImode", ",", "mode", ",", "oldval", ",", "true", ")", ";", "case", "E_SImode", ":", "case", "E_DImode", ":", "if", "(", "!", "aarch64_plus_operand", "(", "oldval", ",", "mode", ")", ")", "oldval", "=", "force_reg", "(", "cmp_mode", ",", "oldval", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "idx", "=", "0", ";", "break", ";", "case", "E_HImode", ":", "idx", "=", "1", ";", "break", ";", "case", "E_SImode", ":", "idx", "=", "2", ";", "break", ";", "case", "E_DImode", ":", "idx", "=", "3", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "TARGET_LSE", ")", "gen", "=", "atomic_cas", "[", "idx", "]", ";", "else", "gen", "=", "split_cas", "[", "idx", "]", ";", "emit_insn", "(", "gen", "(", "rval", ",", "mem", ",", "oldval", ",", "newval", ",", "is_weak", ",", "mod_s", ",", "mod_f", ")", ")", ";", "if", "(", "mode", "==", "QImode", "||", "mode", "==", "HImode", ")", "emit_move_insn", "(", "operands", "[", "1", "]", ",", "gen_lowpart", "(", "mode", ",", "rval", ")", ")", ";", "x", "=", "gen_rtx_REG", "(", "CCmode", ",", "CC_REGNUM", ")", ";", "x", "=", "gen_rtx_EQ", "(", "SImode", ",", "x", ",", "const0_rtx", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "bval", ",", "x", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "compare", "and", "swap", "pattern", "."], "TS_V_token": ["aarch64", "0", "1", "2", "3", "4", "5", "6", "7", "0", "1", "2", "3", "1"], "File": "aarch645", "Func": "aarch64_expand_compare_and_swap", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6937, "Length": 403, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCRegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "const", "unsigned", "DefaultSafety", "=", "1", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "PPC", "::", "G8RC_NOX0RegClassID", ":", "case", "PPC", "::", "GPRC_NOR0RegClassID", ":", "case", "PPC", "::", "G8RCRegClassID", ":", "case", "PPC", "::", "GPRCRegClassID", ":", "{", "unsigned", "FP", "=", "TFI", "->", "hasFP", "(", "MF", ")", "?", "1", ":", "0", ";", "return", "32", "-", "FP", "-", "DefaultSafety", ";", "}", "case", "PPC", "::", "F8RCRegClassID", ":", "case", "PPC", "::", "F4RCRegClassID", ":", "case", "PPC", "::", "VRRCRegClassID", ":", "case", "PPC", "::", "VFRCRegClassID", ":", "case", "PPC", "::", "VSLRCRegClassID", ":", "case", "PPC", "::", "VSHRCRegClassID", ":", "return", "32", "-", "DefaultSafety", ";", "case", "PPC", "::", "VSRCRegClassID", ":", "case", "PPC", "::", "VSFRCRegClassID", ":", "return", "64", "-", "DefaultSafety", ";", "case", "PPC", "::", "CRRCRegClassID", ":", "return", "8", "-", "DefaultSafety", ";", "}", "}", ""], "natrual_language": ["Return", "the", "register", "pressure", "``", "high", "water", "mark", "''", "for", "the", "specific", "register", "class", "."], "TS_V_token": ["PowerPC", "PPC", "1", "0", "PPC::G8RC_NOX0RegClassID", "PPC::GPRC_NOR0RegClassID", "PPC::G8RCRegClassID", "PPC::GPRCRegClassID", "1", "0", "32", "PPC::F8RCRegClassID", "PPC::F4RCRegClassID", "PPC::VRRCRegClassID", "PPC::VFRCRegClassID", "PPC::VSLRCRegClassID", "PPC::VSHRCRegClassID", "32", "PPC::VSRCRegClassID", "PPC::VSFRCRegClassID", "64", "PPC::CRRCRegClassID", "8"], "File": "PPCRegisterInfo68", "Func": "getRegPressureLimit", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6938, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "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": ["AArch64", "AArch64"], "File": "AArch64ISelLowering (2)", "Func": "isIntDivCheap", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6939, "Length": 40, "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": 6940, "Length": 128, "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", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "!=", "ARM", "::", "CPSR", ")", "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", ",", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ")", ";", "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", ":", "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", "::", "CreateFPImm", "(", "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\"", "ARM::CPSR", "\"Subregs should be eliminated!\""], "File": "ARMMCInstLower37", "Func": "lowerOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6941, "Length": 317, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "strip_carry_operation", "(", "rtx", "op", ")", "{", "gcc_assert", "(", "GET_CODE", "(", "op", ")", "==", "PLUS", ")", ";", "if", "(", "arm_carry_operation", "(", "XEXP", "(", "op", ",", "0", ")", ",", "GET_MODE", "(", "op", ")", ")", ")", "return", "XEXP", "(", "op", ",", "1", ")", ";", "else", "if", "(", "arm_carry_operation", "(", "XEXP", "(", "op", ",", "1", ")", ",", "GET_MODE", "(", "op", ")", ")", ")", "return", "XEXP", "(", "op", ",", "0", ")", ";", "return", "op", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "arm_rtx_costs", ".", "If", "one", "operand", "of", "the", "OP", ",", "a", "PLUS", ",", "adds", "the", "carry", "flag", ",", "then", "return", "the", "other", "operand", ".", "If", "neither", "is", "a", "carry", ",", "return", "OP", "unchanged", "."], "TS_V_token": ["arm", "0", "1", "1", "0"], "File": "arm", "Func": "strip_carry_operation", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6942, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addPreEmitPass2", "(", ")", "{", "addPass", "(", "createARMBranchTargetsPass", "(", ")", ")", ";", "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", "ARM"], "File": "ARMTargetMachine104", "Func": "addPreEmitPass2", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6943, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TargetLowering", "::", "ComputeNumSignBitsForTargetNode", "(", "SDValue", "Op", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "X86ISD", "::", "SETCC_CARRY", ")", "return", "Op", ".", "getScalarValueSizeInBits", "(", ")", ";", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "X86ISD", "::", "VSEXT", ")", "{", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "EVT", "SrcVT", "=", "Op", ".", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", ";", "unsigned", "Tmp", "=", "DAG", ".", "ComputeNumSignBits", "(", "Op", ".", "getOperand", "(", "0", ")", ",", "Depth", "+", "1", ")", ";", "Tmp", "+=", "VT", ".", "getScalarSizeInBits", "(", ")", "-", "SrcVT", ".", "getScalarSizeInBits", "(", ")", ";", "return", "Tmp", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["Determine", "the", "number", "of", "bits", "in", "the", "operation", "that", "are", "sign", "bits", "."], "TS_V_token": ["X86", "X86", "X86ISD::SETCC_CARRY", "X86ISD::VSEXT", "0", "0", "1", "1"], "File": "X86ISelLowering115", "Func": "ComputeNumSignBitsForTargetNode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6944, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "PPCFrameLowering", "::", "getFramePointerSaveOffset", "(", ")", "const", "{", "return", "FramePointerSaveOffset", ";", "}", ""], "natrual_language": ["getFramePointerSaveOffset", "-", "Return", "the", "previous", "frame", "offset", "to", "save", "the", "frame", "pointer", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCFrameLowering16", "Func": "getFramePointerSaveOffset", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6945, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "shouldScheduleLoadsNear", "(", "SDNode", "*", "Load1", ",", "SDNode", "*", "Load2", ",", "int64_t", "Offset1", ",", "int64_t", "Offset2", ",", "unsigned", "NumLoads", ")", "const", "{", "if", "(", "Subtarget", ".", "isThumb1Only", "(", ")", ")", "return", "false", ";", "assert", "(", "Offset2", ">", "Offset1", ")", ";", "if", "(", "(", "Offset2", "-", "Offset1", ")", "/", "8", ">", "64", ")", "return", "false", ";", "if", "(", "Load1", "->", "getMachineOpcode", "(", ")", "!=", "Load2", "->", "getMachineOpcode", "(", ")", ")", "return", "false", ";", "if", "(", "NumLoads", ">=", "3", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["shouldScheduleLoadsNear", "-", "This", "is", "a", "used", "by", "the", "pre-regalloc", "scheduler", "to", "determine", "(", "in", "conjunction", "with", "areLoadsFromSameBasePtr", ")", "if", "two", "loads", "should", "be", "scheduled", "togther", "."], "TS_V_token": ["ARM", "ARM", "8", "64", "3"], "File": "ARMBaseInstrInfo (2)1", "Func": "shouldScheduleLoadsNear", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6946, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ShouldShrinkFPConstant", "(", "EVT", "VT", ")", "const", "override", "{", "return", "VT", "!=", "MVT", "::", "f128", ";", "}", ""], "natrual_language": ["If", "true", ",", "then", "instruction", "selection", "should", "seek", "to", "shrink", "the", "FP", "constant", "of", "the", "specified", "type", "to", "a", "smaller", "type", "in", "order", "to", "save", "space", "and", "/", "or", "reduce", "runtime", "."], "TS_V_token": ["Sparc", "MVT::f128"], "File": "SparcISelLowering (2)2", "Func": "ShouldShrinkFPConstant", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6947, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_return_in_memory", "(", "const_tree", "type", ",", "const_tree", "fntype", "ATTRIBUTE_UNUSED", ")", "{", "return", "SUBTARGET_RETURN_IN_MEMORY", "(", "type", ",", "fntype", ")", ";", "const", "machine_mode", "mode", "=", "type_natural_mode", "(", "type", ",", "NULL", ",", "true", ")", ";", "HOST_WIDE_INT", "size", ";", "if", "(", "POINTER_BOUNDS_TYPE_P", "(", "type", ")", ")", "return", "false", ";", "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", "{", "if", "(", "mode", "==", "BLKmode", ")", "return", "true", ";", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "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", "8", "8", "8", "16", "32", "64", "12"], "File": "i3864", "Func": "ix86_return_in_memory", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6948, "Length": 295, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "vax_output_mi_thunk", "(", "FILE", "*", "file", ",", "tree", "thunk", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", "ATTRIBUTE_UNUSED", ",", "tree", "function", ")", "{", "const", "char", "*", "fnname", "=", "IDENTIFIER_POINTER", "(", "DECL_ASSEMBLER_NAME", "(", "thunk", ")", ")", ";", "assemble_start_function", "(", "thunk", ",", "fnname", ")", ";", "fprintf", "(", "file", ",", "\"\\t.word 0x0ffc\\n\\taddl2 $\"", "HOST_WIDE_INT_PRINT_DEC", ",", "delta", ")", ";", "asm_fprintf", "(", "file", ",", "\",4(%Rap)\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\tjmp \"", ")", ";", "assemble_name", "(", "file", ",", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "function", ")", ",", "0", ")", ",", "0", ")", ")", ";", "fprintf", "(", "file", ",", "\"+2\\n\"", ")", ";", "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", ".", ".mask", "^m", "<", "r2", ",", "r3", ",", "r4", ",", "r5", ",", "r6", ",", "r7", ",", "r8", ",", "r9", ",", "r10", ",", "r11", ">", "#", "conservative", "entry", "mask", "addl2", "$", "DELTA", ",", "4", "(", "ap", ")", "#", "adjust", "first", "argument", "jmp", "FUNCTION+2", "#", "jump", "beyond", "FUNCTION", "'s", "entry", "mask"], "TS_V_token": ["vax", "\"\\t.word 0x0ffc\\n\\taddl2 $\"", "\",4(%Rap)\\n\"", "\"\\tjmp \"", "0", "0", "\"+2\\n\""], "File": "vax", "Func": "vax_output_mi_thunk", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6949, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "x86_output_aligned_bss", "(", "FILE", "*", "file", ",", "tree", "decl", "ATTRIBUTE_UNUSED", ",", "const", "char", "*", "name", ",", "unsigned", "HOST_WIDE_INT", "size", ",", "int", "align", ")", "{", "if", "(", "(", "ix86_cmodel", "==", "CM_MEDIUM", "||", "ix86_cmodel", "==", "CM_MEDIUM_PIC", ")", "&&", "size", ">", "(", "unsigned", "int", ")", "ix86_section_threshold", ")", "named_section", "(", "decl", ",", "\".lbss\"", ",", "0", ")", ";", "else", "bss_section", "(", ")", ";", "ASM_OUTPUT_ALIGN", "(", "file", ",", "floor_log2", "(", "align", "/", "BITS_PER_UNIT", ")", ")", ";", "last_assemble_variable_decl", "=", "decl", ";", "ASM_DECLARE_OBJECT_NAME", "(", "file", ",", "name", ",", "decl", ")", ";", "ASM_OUTPUT_LABEL", "(", "file", ",", "name", ")", ";", "ASM_OUTPUT_SKIP", "(", "file", ",", "size", "?", "size", ":", "1", ")", ";", "}", ""], "natrual_language": ["Utility", "function", "for", "targets", "to", "use", "in", "implementing", "ASM_OUTPUT_ALIGNED_BSS", "."], "TS_V_token": ["i386", "\".lbss\"", "0", "1"], "File": "i3863", "Func": "x86_output_aligned_bss", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6950, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "loongarch_initial_elimination_offset", "(", "int", "from", ",", "int", "to", ")", "{", "HOST_WIDE_INT", "src", ",", "dest", ";", "loongarch_compute_frame_info", "(", ")", ";", "if", "(", "to", "==", "HARD_FRAME_POINTER_REGNUM", ")", "dest", "=", "cfun", "->", "machine", "->", "frame", ".", "hard_frame_pointer_offset", ";", "else", "if", "(", "to", "==", "STACK_POINTER_REGNUM", ")", "dest", "=", "0", ";", "else", "gcc_unreachable", "(", ")", ";", "if", "(", "from", "==", "FRAME_POINTER_REGNUM", ")", "src", "=", "cfun", "->", "machine", "->", "frame", ".", "frame_pointer_offset", ";", "else", "if", "(", "from", "==", "ARG_POINTER_REGNUM", ")", "src", "=", "cfun", "->", "machine", "->", "frame", ".", "arg_pointer_offset", ";", "else", "gcc_unreachable", "(", ")", ";", "return", "src", "-", "dest", ";", "}", ""], "natrual_language": ["Implement", "INITIAL_ELIMINATION_OFFSET", ".", "FROM", "is", "either", "the", "frame", "pointer", "or", "argument", "pointer", ".", "TO", "is", "either", "the", "stack", "pointer", "or", "hard", "frame", "pointer", "."], "TS_V_token": ["loongarch", "0"], "File": "loongarch", "Func": "loongarch_initial_elimination_offset", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6951, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "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", "?", "TII", ".", "getFrameSize", "(", "*", "I", ")", ":", "0", ";", "uint64_t", "InternalAmt", "=", "(", "isDestroy", "||", "Amount", ")", "?", "TII", ".", "getFrameAdjustment", "(", "*", "I", ")", ":", "0", ";", "I", "=", "MBB", ".", "erase", "(", "I", ")", ";", "auto", "InsertPos", "=", "skipDebugInstructionsForward", "(", "I", ",", "MBB", ".", "end", "(", ")", ")", ";", "if", "(", "!", "reserveCallFrame", ")", "{", "unsigned", "StackAlign", "=", "getStackAlignment", "(", ")", ";", "Amount", "=", "alignTo", "(", "Amount", ",", "StackAlign", ")", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "Function", "*", "Fn", "=", "MF", ".", "getFunction", "(", ")", ";", "bool", "WindowsCFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", "->", "usesWindowsCFI", "(", ")", ";", "bool", "DwarfCFI", "=", "!", "WindowsCFI", "&&", "(", "MMI", ".", "hasDebugInfo", "(", ")", "||", "Fn", "->", "needsUnwindTableEntry", "(", ")", ")", ";", "bool", "HasDwarfEHHandlers", "=", "!", "WindowsCFI", "&&", "!", "MF", ".", "getLandingPads", "(", ")", ".", "empty", "(", ")", ";", "if", "(", "HasDwarfEHHandlers", "&&", "!", "isDestroy", "&&", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "getHasPushSequences", "(", ")", ")", "BuildCFI", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "MCCFIInstruction", "::", "createGnuArgsSize", "(", "nullptr", ",", "Amount", ")", ")", ";", "if", "(", "Amount", "==", "0", ")", "return", "I", ";", "Amount", "-=", "InternalAmt", ";", "if", "(", "isDestroy", "&&", "InternalAmt", "&&", "DwarfCFI", "&&", "!", "hasFP", "(", "MF", ")", ")", "BuildCFI", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "MCCFIInstruction", "::", "createAdjustCfaOffset", "(", "nullptr", ",", "-", "InternalAmt", ")", ")", ";", "int64_t", "StackAdjustment", "=", "isDestroy", "?", "Amount", ":", "-", "Amount", ";", "int64_t", "CfaAdjustment", "=", "-", "StackAdjustment", ";", "if", "(", "StackAdjustment", ")", "{", "StackAdjustment", "+=", "mergeSPUpdates", "(", "MBB", ",", "InsertPos", ",", "true", ")", ";", "StackAdjustment", "+=", "mergeSPUpdates", "(", "MBB", ",", "InsertPos", ",", "false", ")", ";", "if", "(", "StackAdjustment", ")", "{", "if", "(", "!", "(", "Fn", "->", "optForMinSize", "(", ")", "&&", "adjustStackWithPops", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "StackAdjustment", ")", ")", ")", "BuildStackAdjustment", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "StackAdjustment", ",", "false", ")", ";", "}", "}", "if", "(", "DwarfCFI", "&&", "!", "hasFP", "(", "MF", ")", ")", "{", "if", "(", "CfaAdjustment", ")", "{", "BuildCFI", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "MCCFIInstruction", "::", "createAdjustCfaOffset", "(", "nullptr", ",", "CfaAdjustment", ")", ")", ";", "}", "}", "return", "I", ";", "}", "if", "(", "isDestroy", "&&", "InternalAmt", ")", "{", "MachineBasicBlock", "::", "iterator", "CI", "=", "I", ";", "MachineBasicBlock", "::", "iterator", "B", "=", "MBB", ".", "begin", "(", ")", ";", "while", "(", "CI", "!=", "B", "&&", "!", "std", "::", "prev", "(", "CI", ")", "->", "isCall", "(", ")", ")", "--", "CI", ";", "BuildStackAdjustment", "(", "MBB", ",", "CI", ",", "DL", ",", "-", "InternalAmt", ",", "false", ")", ";", "}", "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": ["X86", "X86", "0", "0", "X86", "0"], "File": "X86FrameLowering11", "Func": "eliminateCallFramePseudoInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6952, "Length": 488, "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": 6953, "Length": 357, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mep_store_find_set", "(", "const_rtx", "x", ",", "const", "rtx_insn", "*", "prev", ")", "{", "subrtx_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX", "(", "iter", ",", "array", ",", "x", ",", "NONCONST", ")", "if", "(", "REG_P", "(", "x", ")", "&&", "reg_set_p", "(", "x", ",", "prev", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "contains", "a", "register", "that", "is", "set", "by", "insn", "PREV", "."], "TS_V_token": ["mep"], "File": "mep", "Func": "mep_store_find_set", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6954, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZXPLINKFrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "ArrayRef", "<", "CalleeSavedInfo", ">", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "true", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "SystemZMachineFunctionInfo", "*", "ZFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "const", "SystemZSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "SystemZSubtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "*", "TII", "=", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "auto", "&", "Regs", "=", "Subtarget", ".", "getSpecialRegisters", "<", "SystemZXPLINK64Registers", ">", "(", ")", ";", "SystemZ", "::", "GPRRegs", "SpillGPRs", "=", "ZFI", "->", "getSpillGPRRegs", "(", ")", ";", "DebugLoc", "DL", ";", "if", "(", "SpillGPRs", ".", "LowGPR", ")", "{", "assert", "(", "SpillGPRs", ".", "LowGPR", "!=", "SpillGPRs", ".", "HighGPR", "&&", "\"Should be saving multiple registers\"", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "SystemZ", "::", "STMG", ")", ")", ";", "addSavedGPR", "(", "MBB", ",", "MIB", ",", "SpillGPRs", ".", "LowGPR", ",", "false", ")", ";", "addSavedGPR", "(", "MBB", ",", "MIB", ",", "SpillGPRs", ".", "HighGPR", ",", "false", ")", ";", "MIB", ".", "addReg", "(", "Regs", ".", "getStackPointerRegister", "(", ")", ")", ";", "MIB", ".", "addImm", "(", "SpillGPRs", ".", "GPROffset", ")", ";", "auto", "&", "GRRegClass", "=", "SystemZ", "::", "GR64BitRegClass", ";", "for", "(", "const", "CalleeSavedInfo", "&", "I", ":", "CSI", ")", "{", "unsigned", "Reg", "=", "I", ".", "getReg", "(", ")", ";", "if", "(", "GRRegClass", ".", "contains", "(", "Reg", ")", ")", "addSavedGPR", "(", "MBB", ",", "MIB", ",", "Reg", ",", "true", ")", ";", "}", "}", "for", "(", "const", "CalleeSavedInfo", "&", "I", ":", "CSI", ")", "{", "unsigned", "Reg", "=", "I", ".", "getReg", "(", ")", ";", "if", "(", "SystemZ", "::", "FP64BitRegClass", ".", "contains", "(", "Reg", ")", ")", "{", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "TII", "->", "storeRegToStackSlot", "(", "MBB", ",", "MBBI", ",", "Reg", ",", "true", ",", "I", ".", "getFrameIdx", "(", ")", ",", "&", "SystemZ", "::", "FP64BitRegClass", ",", "TRI", ")", ";", "}", "if", "(", "SystemZ", "::", "VR128BitRegClass", ".", "contains", "(", "Reg", ")", ")", "{", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "TII", "->", "storeRegToStackSlot", "(", "MBB", ",", "MBBI", ",", "Reg", ",", "true", ",", "I", ".", "getFrameIdx", "(", ")", ",", "&", "SystemZ", "::", "VR128BitRegClass", ",", "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": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ::GPRRegs", "\"Should be saving multiple registers\"", "SystemZ::STMG", "SystemZ::GR64BitRegClass", "SystemZ::FP64BitRegClass", "SystemZ::FP64BitRegClass", "SystemZ::VR128BitRegClass", "SystemZ::VR128BitRegClass"], "File": "SystemZFrameLowering14", "Func": "spillCalleeSavedRegisters", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6955, "Length": 366, "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": 6956, "Length": 289, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "set_callers_may_not_allocate_frame", "(", "function", "*", "fn", ")", "{", "basic_block", "bb", ";", "gimple_stmt_iterator", "gsi", ";", "gimple", "*", "stmt", ";", "tree", "called_fn_tree", ";", "function", "*", "called_fn", ";", "if", "(", "fn", "->", "cfg", "==", "NULL", ")", "return", ";", "FOR_EACH_BB_FN", "(", "bb", ",", "fn", ")", "{", "for", "(", "gsi", "=", "gsi_start_bb", "(", "bb", ")", ";", "!", "gsi_end_p", "(", "gsi", ")", ";", "gsi_next", "(", "&", "gsi", ")", ")", "{", "stmt", "=", "gsi_stmt", "(", "gsi", ")", ";", "if", "(", "is_gimple_call", "(", "stmt", ")", ")", "{", "called_fn_tree", "=", "gimple_call_fndecl", "(", "stmt", ")", ";", "if", "(", "called_fn_tree", "!=", "NULL", ")", "{", "called_fn", "=", "DECL_STRUCT_FUNCTION", "(", "called_fn_tree", ")", ";", "if", "(", "called_fn", "!=", "NULL", ")", "called_fn", "->", "machine", "->", "callers_may_not_allocate_frame", "=", "true", ";", "}", "}", "}", "}", "return", ";", "}", ""], "natrual_language": ["Set", "the", "callers_may_not_allocate_frame", "flag", "for", "any", "function", "which", "function", "FN", "calls", "because", "FN", "may", "not", "allocate", "a", "frame", "header", "."], "TS_V_token": ["mips"], "File": "frame-header-opt", "Func": "set_callers_may_not_allocate_frame", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6957, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LC2200AsmBackend", "::", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["LC2200", "LC2200"], "File": "LC2200AsmBackend", "Func": "fixupNeedsRelaxation", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6958, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "PPCRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "const", "PPCFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "ZERO", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "FP", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "BP", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "CTR", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "CTR8", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R1", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "LR", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "LR8", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "RM", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "VRSAVE", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "const", "PPCFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", ";", "if", "(", "!", "TM", ".", "isPPC64", "(", ")", "||", "FuncInfo", "->", "usesTOCBasePtr", "(", ")", "||", "MF", ".", "hasInlineAsm", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R2", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R13", ")", ";", "}", "if", "(", "Subtarget", ".", "isAIXABI", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R2", ")", ";", "if", "(", "TM", ".", "isPPC64", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R13", ")", ";", "if", "(", "TFI", "->", "needsFP", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R31", ")", ";", "bool", "IsPositionIndependent", "=", "TM", ".", "isPositionIndependent", "(", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "{", "if", "(", "Subtarget", ".", "is32BitELFABI", "(", ")", "&&", "IsPositionIndependent", ")", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R29", ")", ";", "else", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R30", ")", ";", "}", "if", "(", "Subtarget", ".", "is32BitELFABI", "(", ")", "&&", "IsPositionIndependent", ")", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R30", ")", ";", "if", "(", "!", "Subtarget", ".", "hasAltivec", "(", ")", ")", "for", "(", "TargetRegisterClass", "::", "iterator", "I", "=", "PPC", "::", "VRRCRegClass", ".", "begin", "(", ")", ",", "IE", "=", "PPC", "::", "VRRCRegClass", ".", "end", "(", ")", ";", "I", "!=", "IE", ";", "++", "I", ")", "markSuperRegs", "(", "Reserved", ",", "*", "I", ")", ";", "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": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC::ZERO", "PPC::FP", "PPC::BP", "PPC::CTR", "PPC::CTR8", "PPC::R1", "PPC::LR", "PPC::LR8", "PPC::RM", "PPC::VRSAVE", "PPC", "PPC", "PPC", "PPC::R2", "PPC::R13", "PPC::R2", "PPC", "PPC::R13", "PPC::R31", "PPC::R29", "PPC::R30", "PPC::R30", "PPC::VRRCRegClass", "PPC::VRRCRegClass"], "File": "PPCRegisterInfo10", "Func": "getReservedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6959, "Length": 376, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isLegalInterleavedAccessType", "(", "unsigned", "Factor", ",", "FixedVectorType", "*", "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": "ARMISelLowering103", "Func": "isLegalInterleavedAccessType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6960, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_print_asm_arch_directives", "(", "FILE", "*", "stream", ",", "cl_target_option", "*", "targ_options", ")", "{", "arm_build_target", "build_target", ";", "if", "(", "last_asm_targ_options", "==", "targ_options", ")", "return", ";", "last_asm_targ_options", "=", "targ_options", ";", "build_target", ".", "isa", "=", "sbitmap_alloc", "(", "isa_num_bits", ")", ";", "arm_configure_build_target", "(", "&", "build_target", ",", "targ_options", ",", "false", ")", ";", "if", "(", "build_target", ".", "core_name", "&&", "!", "bitmap_bit_p", "(", "build_target", ".", "isa", ",", "isa_bit_quirk_no_asmcpu", ")", ")", "{", "const", "char", "*", "truncated_name", "=", "arm_rewrite_selected_cpu", "(", "build_target", ".", "core_name", ")", ";", "asm_fprintf", "(", "stream", ",", "\"\\t.cpu %s\\n\"", ",", "truncated_name", ")", ";", "}", "const", "arch_option", "*", "arch", "=", "arm_parse_arch_option_name", "(", "all_architectures", ",", "\"-march\"", ",", "build_target", ".", "arch_name", ")", ";", "auto_sbitmap", "opt_bits", "(", "isa_num_bits", ")", ";", "gcc_assert", "(", "arch", ")", ";", "if", "(", "strcmp", "(", "build_target", ".", "arch_name", ",", "\"armv7ve\"", ")", "==", "0", ")", "{", "asm_fprintf", "(", "stream", ",", "\"\\t.arch armv7-a\\n\"", ")", ";", "asm_fprintf", "(", "stream", ",", "\"\\t.arch_extension virt\\n\"", ")", ";", "asm_fprintf", "(", "stream", ",", "\"\\t.arch_extension idiv\\n\"", ")", ";", "asm_fprintf", "(", "stream", ",", "\"\\t.arch_extension sec\\n\"", ")", ";", "asm_fprintf", "(", "stream", ",", "\"\\t.arch_extension mp\\n\"", ")", ";", "}", "else", "asm_fprintf", "(", "stream", ",", "\"\\t.arch %s\\n\"", ",", "build_target", ".", "arch_name", ")", ";", "const", "char", "*", "fpu_name", "=", "(", "TARGET_SOFT_FLOAT", "?", "\"softvfp\"", ":", "arm_identify_fpu_from_isa", "(", "build_target", ".", "isa", ")", ")", ";", "asm_fprintf", "(", "stream", ",", "\"\\t.fpu %s\\n\"", ",", "fpu_name", ")", ";", "if", "(", "!", "arch", "->", "common", ".", "extensions", ")", "return", ";", "for", "(", "const", "struct", "cpu_arch_extension", "*", "opt", "=", "arch", "->", "common", ".", "extensions", ";", "opt", "->", "name", "!=", "NULL", ";", "opt", "++", ")", "{", "if", "(", "!", "opt", "->", "remove", ")", "{", "arm_initialize_isa", "(", "opt_bits", ",", "opt", "->", "isa_bits", ")", ";", "if", "(", "(", "bitmap_bit_p", "(", "opt_bits", ",", "isa_bit_mve", ")", "&&", "!", "TARGET_HAVE_MVE", ")", "||", "(", "bitmap_bit_p", "(", "opt_bits", ",", "isa_bit_mve_float", ")", "&&", "!", "TARGET_HAVE_MVE_FLOAT", ")", ")", "continue", ";", "if", "(", "bitmap_subset_p", "(", "opt_bits", ",", "build_target", ".", "isa", ")", "&&", "!", "bitmap_subset_p", "(", "opt_bits", ",", "isa_all_fpubits_internal", ")", ")", "asm_fprintf", "(", "stream", ",", "\"\\t.arch_extension %s\\n\"", ",", "opt", "->", "name", ")", ";", "}", "}", "}", ""], "natrual_language": ["Print", ".arch", "and", ".arch_extension", "directives", "corresponding", "to", "the", "current", "architecture", "configuration", "."], "TS_V_token": ["arm", "\"\\t.cpu %s\\n\"", "\"-march\"", "\"armv7ve\"", "0", "\"\\t.arch armv7-a\\n\"", "\"\\t.arch_extension virt\\n\"", "\"\\t.arch_extension idiv\\n\"", "\"\\t.arch_extension sec\\n\"", "\"\\t.arch_extension mp\\n\"", "\"\\t.arch %s\\n\"", "\"softvfp\"", "\"\\t.fpu %s\\n\"", "\"\\t.arch_extension %s\\n\""], "File": "arm", "Func": "arm_print_asm_arch_directives", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6961, "Length": 315, "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", ".", "isAIXABI", "(", ")", ")", "{", "assert", "(", "!", "Subtarget", ".", "hasAltivec", "(", ")", "&&", "\"Altivec is not implemented on AIX yet.\"", ")", ";", "return", "TM", ".", "isPPC64", "(", ")", "?", "CSR_PPC64_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", "\"Altivec is not implemented on AIX yet.\"", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC"], "File": "PPCRegisterInfo10", "Func": "getCallPreservedMask", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6962, "Length": 194, "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", ")", ";", "return", "decodeInstruction", "(", "DecoderTable32", ",", "MI", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "}", ""], "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"], "File": "AArch64Disassembler23", "Func": "getInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6963, "Length": 110, "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_SILVERMONT", "||", "TARGET_INTEL", ")", "{", "if", "(", "has_scale", ")", "return", "true", ";", "if", "(", "split_cost", "<", "1", ")", "return", "false", ";", "if", "(", "regno0", "==", "regno1", "||", "regno0", "==", "regno2", ")", "return", "false", ";", "return", "true", ";", "}", "dist_define", "=", "distance_non_agu_define", "(", "regno1", ",", "regno2", ",", "insn", ")", ";", "dist_use", "=", "distance_agu_use", "(", "regno0", ",", "insn", ")", ";", "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": "i3864", "Func": "ix86_lea_outperforms", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6964, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_scalar_mode_supported_p", "(", "scalar_mode", "mode", ")", "{", "if", "(", "TARGET_32BIT", "&&", "mode", "==", "TImode", ")", "return", "false", ";", "if", "(", "DECIMAL_FLOAT_MODE_P", "(", "mode", ")", ")", "return", "default_decimal_float_supported_p", "(", ")", ";", "else", "if", "(", "TARGET_FLOAT128_TYPE", "&&", "(", "mode", "==", "KFmode", "||", "mode", "==", "IFmode", ")", ")", "return", "true", ";", "else", "return", "default_scalar_mode_supported_p", "(", "mode", ")", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "scalar_mode_supported_p", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_scalar_mode_supported_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6965, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "n9_2r1w_consumed_by_ex_dep_p", "(", "rtx_insn", "*", "consumer", ",", "rtx", "def_reg", ")", "{", "rtx", "use_rtx", ";", "switch", "(", "get_attr_type", "(", "consumer", ")", ")", "{", "case", "TYPE_ALU", ":", "if", "(", "movd44_even_dep_p", "(", "consumer", ",", "def_reg", ")", ")", "return", "true", ";", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "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", "=", "PATTERN", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_DIV", ":", "if", "(", "INSN_CODE", "(", "consumer", ")", "==", "CODE_FOR_divmodsi4", "||", "INSN_CODE", "(", "consumer", ")", "==", "CODE_FOR_udivmodsi4", ")", "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", ":", "if", "(", "post_update_insn_p", "(", "consumer", ")", ")", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "else", "use_rtx", "=", "extract_mem_rtx", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_STORE", ":", "if", "(", "post_update_insn_p", "(", "consumer", ")", ")", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "else", "use_rtx", "=", "extract_mem_rtx", "(", "consumer", ")", ";", "if", "(", "reg_overlap_p", "(", "def_reg", ",", "use_rtx", ")", ")", "return", "true", ";", "if", "(", "!", "post_update_insn_p", "(", "consumer", ")", "&&", "!", "immed_offset_p", "(", "extract_mem_rtx", "(", "consumer", ")", ")", ")", "return", "false", ";", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_LOAD_MULTIPLE", ":", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_STORE_MULTIPLE", ":", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "if", "(", "reg_overlap_p", "(", "def_reg", ",", "use_rtx", ")", ")", "return", "true", ";", "use_rtx", "=", "extract_nth_access_rtx", "(", "consumer", ",", "0", ")", ";", "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", "0"], "File": "nds32-pipelines-auxiliary5", "Func": "n9_2r1w_consumed_by_ex_dep_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6966, "Length": 353, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZHazardRecognizer", "::", "copyState", "(", "SystemZHazardRecognizer", "*", "Incoming", ")", "{", "CurrGroupSize", "=", "Incoming", "->", "CurrGroupSize", ";", "LLVM_DEBUG", "(", "CurGroupDbg", "=", "Incoming", "->", "CurGroupDbg", ";", ")", ";", "ProcResourceCounters", "=", "Incoming", "->", "ProcResourceCounters", ";", "CriticalResourceIdx", "=", "Incoming", "->", "CriticalResourceIdx", ";", "LastFPdOpCycleIdx", "=", "Incoming", "->", "LastFPdOpCycleIdx", ";", "GrpCount", "=", "Incoming", "->", "GrpCount", ";", "}", ""], "natrual_language": ["Copy", "counters", "from", "end", "of", "single", "predecessor", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ"], "File": "SystemZHazardRecognizer", "Func": "copyState", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6967, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "int", "andcosts", "(", "rtx", "x", ")", "{", "int", "i", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "!=", "CONST_INT", ")", "return", "1", ";", "i", "=", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ";", "if", "(", "TARGET_SHMEDIA", ")", "{", "if", "(", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "CONST_INT", "&&", "CONST_OK_FOR_I16", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", ")", "||", "EXTRA_CONSTRAINT_C16", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "return", "1", ";", "else", "return", "2", ";", "}", "if", "(", "i", "==", "0xff", "||", "i", "==", "0xffff", ")", "return", "1", ";", "if", "(", "CONST_OK_FOR_K08", "(", "i", ")", ")", "return", "2", ";", "if", "(", "CONST_OK_FOR_I08", "(", "i", ")", ")", "return", "2", ";", "return", "3", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "an", "AND", "operation", "."], "TS_V_token": ["sh", "1", "1", "1", "1", "1", "1", "1", "2", "0xff", "0xffff", "1", "2", "2", "3"], "File": "sh3", "Func": "andcosts", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6968, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "flt_eval_method", "aarch64_excess_precision", "(", "enum", "excess_precision_type", "type", ")", "{", "switch", "(", "type", ")", "{", "case", "EXCESS_PRECISION_TYPE_FAST", ":", "case", "EXCESS_PRECISION_TYPE_STANDARD", ":", "return", "(", "TARGET_FP_F16INST", "?", "FLT_EVAL_METHOD_PROMOTE_TO_FLOAT16", ":", "FLT_EVAL_METHOD_PROMOTE_TO_FLOAT", ")", ";", "case", "EXCESS_PRECISION_TYPE_IMPLICIT", ":", "return", "FLT_EVAL_METHOD_PROMOTE_TO_FLOAT16", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "FLT_EVAL_METHOD_UNPREDICTABLE", ";", "}", ""], "natrual_language": ["Set", "the", "value", "of", "FLT_EVAL_METHOD", ".", "ISO/IEC", "TS", "18661-3", "defines", "two", "values", "that", "we", "'d", "like", "to", "make", "use", "of", ":", "0", ":", "evaluate", "all", "operations", "and", "constants", ",", "whose", "semantic", "type", "has", "at", "most", "the", "range", "and", "precision", "of", "type", "float", ",", "to", "the", "range", "and", "precision", "of", "float", ";", "evaluate", "all", "other", "operations", "and", "constants", "to", "the", "range", "and", "precision", "of", "the", "semantic", "type", ";", "N", ",", "where", "_FloatN", "is", "a", "supported", "interchange", "floating", "type", "evaluate", "all", "operations", "and", "constants", ",", "whose", "semantic", "type", "has", "at", "most", "the", "range", "and", "precision", "of", "_FloatN", "type", ",", "to", "the", "range", "and", "precision", "of", "the", "_FloatN", "type", ";", "evaluate", "all", "other", "operations", "and", "constants", "to", "the", "range", "and", "precision", "of", "the", "semantic", "type", ";", "If", "we", "have", "the", "ARMv8.2-A", "extensions", "then", "we", "support", "_Float16", "in", "native", "precision", ",", "so", "we", "should", "set", "this", "to", "16", ".", "Otherwise", ",", "we", "support", "the", "type", ",", "but", "want", "to", "evaluate", "expressions", "in", "float", "precision", ",", "so", "set", "this", "to", "0", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_excess_precision", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6969, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "X86Subtarget", "*", "X86TargetMachine", "::", "getSubtargetImpl", "(", "const", "Function", "&", "F", ")", "const", "{", "Attribute", "CPUAttr", "=", "F", ".", "getFnAttribute", "(", "\"target-cpu\"", ")", ";", "Attribute", "TuneAttr", "=", "F", ".", "getFnAttribute", "(", "\"tune-cpu\"", ")", ";", "Attribute", "FSAttr", "=", "F", ".", "getFnAttribute", "(", "\"target-features\"", ")", ";", "StringRef", "CPU", "=", "CPUAttr", ".", "isValid", "(", ")", "?", "CPUAttr", ".", "getValueAsString", "(", ")", ":", "(", "StringRef", ")", "TargetCPU", ";", "StringRef", "TuneCPU", "=", "TuneAttr", ".", "isValid", "(", ")", "?", "TuneAttr", ".", "getValueAsString", "(", ")", ":", "(", "StringRef", ")", "CPU", ";", "StringRef", "FS", "=", "FSAttr", ".", "isValid", "(", ")", "?", "FSAttr", ".", "getValueAsString", "(", ")", ":", "(", "StringRef", ")", "TargetFS", ";", "SmallString", "<", "512", ">", "Key", ";", "unsigned", "PreferVectorWidthOverride", "=", "0", ";", "Attribute", "PreferVecWidthAttr", "=", "F", ".", "getFnAttribute", "(", "\"prefer-vector-width\"", ")", ";", "if", "(", "PreferVecWidthAttr", ".", "isValid", "(", ")", ")", "{", "StringRef", "Val", "=", "PreferVecWidthAttr", ".", "getValueAsString", "(", ")", ";", "unsigned", "Width", ";", "if", "(", "!", "Val", ".", "getAsInteger", "(", "0", ",", "Width", ")", ")", "{", "Key", "+=", "'p'", ";", "Key", "+=", "Val", ";", "PreferVectorWidthOverride", "=", "Width", ";", "}", "}", "unsigned", "RequiredVectorWidth", "=", "UINT32_MAX", ";", "Attribute", "MinLegalVecWidthAttr", "=", "F", ".", "getFnAttribute", "(", "\"min-legal-vector-width\"", ")", ";", "if", "(", "MinLegalVecWidthAttr", ".", "isValid", "(", ")", ")", "{", "StringRef", "Val", "=", "MinLegalVecWidthAttr", ".", "getValueAsString", "(", ")", ";", "unsigned", "Width", ";", "if", "(", "!", "Val", ".", "getAsInteger", "(", "0", ",", "Width", ")", ")", "{", "Key", "+=", "'m'", ";", "Key", "+=", "Val", ";", "RequiredVectorWidth", "=", "Width", ";", "}", "}", "Key", "+=", "CPU", ";", "Key", "+=", "TuneCPU", ";", "unsigned", "FSStart", "=", "Key", ".", "size", "(", ")", ";", "bool", "SoftFloat", "=", "F", ".", "getFnAttribute", "(", "\"use-soft-float\"", ")", ".", "getValueAsBool", "(", ")", ";", "if", "(", "SoftFloat", ")", "Key", "+=", "FS", ".", "empty", "(", ")", "?", "\"+soft-float\"", ":", "\"+soft-float,\"", ";", "Key", "+=", "FS", ";", "FS", "=", "Key", ".", "substr", "(", "FSStart", ")", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "Key", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "std", "::", "make_unique", "<", "X86Subtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "TuneCPU", ",", "FS", ",", "*", "this", ",", "MaybeAlign", "(", "Options", ".", "StackAlignmentOverride", ")", ",", "PreferVectorWidthOverride", ",", "RequiredVectorWidth", ")", ";", "}", "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\"", "\"tune-cpu\"", "\"target-features\"", "512", "0", "\"prefer-vector-width\"", "0", "\"min-legal-vector-width\"", "0", "\"use-soft-float\"", "\"+soft-float\"", "\"+soft-float,\"", "X86"], "File": "X86TargetMachine91", "Func": "getSubtargetImpl", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6970, "Length": 357, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "if", "(", "SystemZ", "::", "GR128BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "copyPhysReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "RI", ".", "getSubReg", "(", "DestReg", ",", "SystemZ", "::", "subreg_h64", ")", ",", "RI", ".", "getSubReg", "(", "SrcReg", ",", "SystemZ", "::", "subreg_h64", ")", ",", "KillSrc", ")", ";", "copyPhysReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "RI", ".", "getSubReg", "(", "DestReg", ",", "SystemZ", "::", "subreg_l64", ")", ",", "RI", ".", "getSubReg", "(", "SrcReg", ",", "SystemZ", "::", "subreg_l64", ")", ",", "KillSrc", ")", ";", "return", ";", "}", "if", "(", "SystemZ", "::", "GRX32BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "emitGRX32Move", "(", "MBB", ",", "MBBI", ",", "DL", ",", "DestReg", ",", "SrcReg", ",", "SystemZ", "::", "LR", ",", "32", ",", "KillSrc", ")", ";", "return", ";", "}", "unsigned", "Opcode", ";", "if", "(", "SystemZ", "::", "GR64BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "LGR", ";", "else", "if", "(", "SystemZ", "::", "FP32BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "STI", ".", "hasVector", "(", ")", "?", "SystemZ", "::", "LDR32", ":", "SystemZ", "::", "LER", ";", "else", "if", "(", "SystemZ", "::", "FP64BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "LDR", ";", "else", "if", "(", "SystemZ", "::", "FP128BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "LXR", ";", "else", "if", "(", "SystemZ", "::", "VR32BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "VLR32", ";", "else", "if", "(", "SystemZ", "::", "VR64BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "VLR64", ";", "else", "if", "(", "SystemZ", "::", "VR128BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "VLR", ";", "else", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "Opcode", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ::GR128BitRegClass", "SystemZ::subreg_h64", "SystemZ::subreg_h64", "SystemZ::subreg_l64", "SystemZ::subreg_l64", "SystemZ::GRX32BitRegClass", "SystemZ::LR", "32", "SystemZ::GR64BitRegClass", "SystemZ::LGR", "SystemZ::FP32BitRegClass", "SystemZ::LDR32", "SystemZ::LER", "SystemZ::FP64BitRegClass", "SystemZ::LDR", "SystemZ::FP128BitRegClass", "SystemZ::LXR", "SystemZ::VR32BitRegClass", "SystemZ::VLR32", "SystemZ::VR64BitRegClass", "SystemZ::VLR64", "SystemZ::VR128BitRegClass", "SystemZ::VLR", "\"Impossible reg-to-reg copy\""], "File": "SystemZInstrInfo18", "Func": "copyPhysReg", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6971, "Length": 336, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetMachine", "::", "addPreEmitPass", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "PM", ".", "add", "(", "createPPCBranchSelectionPass", "(", ")", ")", ";", "return", "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"], "File": "PPCTargetMachine17", "Func": "addPreEmitPass", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6972, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"SystemZ DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["SystemZ", "\"SystemZ DAG->DAG Pattern Instruction Selection\""], "File": "SystemZISelDAGToDAG (2)1", "Func": "getPassName", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6973, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "reduceSelectOfFPConstantLoads", "(", "bool", "IsFPSetCC", ")", "const", "{", "return", "!", "IsFPSetCC", "||", "!", "Subtarget", ".", "isTarget64BitLP64", "(", ")", "||", "!", "Subtarget", ".", "hasAVX", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "profitable", "to", "convert", "a", "select", "of", "FP", "constants", "into", "a", "constant", "pool", "load", "whose", "address", "depends", "on", "the", "select", "condition", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering (2)8", "Func": "reduceSelectOfFPConstantLoads", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6974, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_setup_incoming_varargs", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "tree", "type", ",", "int", "*", "pretend_size", "ATTRIBUTE_UNUSED", ",", "int", "no_rtl", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "CUMULATIVE_ARGS", "local_cum", ";", "int", "gr_saved", "=", "cfun", "->", "va_list_gpr_size", ";", "int", "vr_saved", "=", "cfun", "->", "va_list_fpr_size", ";", "local_cum", "=", "*", "cum", ";", "aarch64_function_arg_advance", "(", "pack_cumulative_args", "(", "&", "local_cum", ")", ",", "mode", ",", "type", ",", "true", ")", ";", "if", "(", "cfun", "->", "va_list_gpr_size", ")", "gr_saved", "=", "MIN", "(", "NUM_ARG_REGS", "-", "local_cum", ".", "aapcs_ncrn", ",", "cfun", "->", "va_list_gpr_size", "/", "UNITS_PER_WORD", ")", ";", "if", "(", "cfun", "->", "va_list_fpr_size", ")", "vr_saved", "=", "MIN", "(", "NUM_FP_ARG_REGS", "-", "local_cum", ".", "aapcs_nvrn", ",", "cfun", "->", "va_list_fpr_size", "/", "UNITS_PER_VREG", ")", ";", "if", "(", "!", "TARGET_FLOAT", ")", "{", "gcc_assert", "(", "local_cum", ".", "aapcs_nvrn", "==", "0", ")", ";", "vr_saved", "=", "0", ";", "}", "if", "(", "!", "no_rtl", ")", "{", "if", "(", "gr_saved", ">", "0", ")", "{", "rtx", "ptr", ",", "mem", ";", "ptr", "=", "plus_constant", "(", "Pmode", ",", "virtual_incoming_args_rtx", ",", "-", "gr_saved", "*", "UNITS_PER_WORD", ")", ";", "mem", "=", "gen_frame_mem", "(", "BLKmode", ",", "ptr", ")", ";", "set_mem_alias_set", "(", "mem", ",", "get_varargs_alias_set", "(", ")", ")", ";", "move_block_from_reg", "(", "local_cum", ".", "aapcs_ncrn", "+", "R0_REGNUM", ",", "mem", ",", "gr_saved", ")", ";", "}", "if", "(", "vr_saved", ">", "0", ")", "{", "machine_mode", "mode", "=", "TImode", ";", "int", "off", ",", "i", ",", "vr_start", ";", "off", "=", "-", "ROUND_UP", "(", "gr_saved", "*", "UNITS_PER_WORD", ",", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ")", ";", "off", "-=", "vr_saved", "*", "UNITS_PER_VREG", ";", "vr_start", "=", "V0_REGNUM", "+", "local_cum", ".", "aapcs_nvrn", ";", "for", "(", "i", "=", "0", ";", "i", "<", "vr_saved", ";", "++", "i", ")", "{", "rtx", "ptr", ",", "mem", ";", "ptr", "=", "plus_constant", "(", "Pmode", ",", "virtual_incoming_args_rtx", ",", "off", ")", ";", "mem", "=", "gen_frame_mem", "(", "mode", ",", "ptr", ")", ";", "set_mem_alias_set", "(", "mem", ",", "get_varargs_alias_set", "(", ")", ")", ";", "aarch64_emit_move", "(", "mem", ",", "gen_rtx_REG", "(", "mode", ",", "vr_start", "+", "i", ")", ")", ";", "off", "+=", "UNITS_PER_VREG", ";", "}", "}", "}", "cfun", "->", "machine", "->", "frame", ".", "saved_varargs_size", "=", "(", "ROUND_UP", "(", "gr_saved", "*", "UNITS_PER_WORD", ",", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ")", "+", "vr_saved", "*", "UNITS_PER_VREG", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["aarch64", "0", "0", "0", "0", "0"], "File": "aarch644", "Func": "aarch64_setup_incoming_varargs", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6975, "Length": 340, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "int", "rs6000_secondary_reload_toc_costs", "(", "addr_mask_type", "addr_mask", ")", "{", "int", "ret", ";", "if", "(", "TARGET_CMODEL", "!=", "CMODEL_SMALL", ")", "ret", "=", "(", "(", "addr_mask", "&", "RELOAD_REG_OFFSET", ")", "==", "0", ")", "?", "1", ":", "2", ";", "else", "ret", "=", "(", "TARGET_MINIMAL_TOC", ")", "?", "6", ":", "3", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "return", "the", "cost", "of", "adding", "a", "TOC", "entry", "address", "."], "TS_V_token": ["powerpcspe", "0", "1", "2", "6", "3"], "File": "powerpcspe", "Func": "rs6000_secondary_reload_toc_costs", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6976, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"### getPassName\\n\"", ")", ";", "return", "\"Comet2 DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Comet2", "\"### getPassName\\n\"", "\"Comet2 DAG->DAG Pattern Instruction Selection\""], "File": "Comet2ISelDAGToDAG", "Func": "getPassName", "Target": "Comet2", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6977, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_function_arg", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "omode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "machine_mode", "mode", "=", "omode", ";", "HOST_WIDE_INT", "bytes", ",", "words", ";", "rtx", "arg", ";", "if", "(", "!", "cum", "->", "caller", "&&", "cfun", "->", "machine", "->", "func_type", "!=", "TYPE_NORMAL", ")", "{", "gcc_assert", "(", "type", "!=", "NULL_TREE", ")", ";", "if", "(", "POINTER_TYPE_P", "(", "type", ")", ")", "{", "gcc_assert", "(", "TYPE_MODE", "(", "type", ")", "==", "Pmode", ")", ";", "if", "(", "cfun", "->", "machine", "->", "func_type", "==", "TYPE_INTERRUPT", ")", "arg", "=", "plus_constant", "(", "Pmode", ",", "arg_pointer_rtx", ",", "-", "UNITS_PER_WORD", ")", ";", "else", "arg", "=", "arg_pointer_rtx", ";", "}", "else", "{", "gcc_assert", "(", "cfun", "->", "machine", "->", "func_type", "==", "TYPE_EXCEPTION", "&&", "TREE_CODE", "(", "type", ")", "==", "INTEGER_TYPE", "&&", "TYPE_MODE", "(", "type", ")", "==", "word_mode", ")", ";", "arg", "=", "gen_rtx_MEM", "(", "word_mode", ",", "plus_constant", "(", "Pmode", ",", "arg_pointer_rtx", ",", "-", "UNITS_PER_WORD", ")", ")", ";", "}", "return", "arg", ";", "}", "if", "(", "(", "type", "&&", "POINTER_BOUNDS_TYPE_P", "(", "type", ")", ")", "||", "POINTER_BOUNDS_MODE_P", "(", "mode", ")", ")", "{", "if", "(", "cum", "->", "bnds_in_bt", ")", "arg", "=", "NULL", ";", "else", "if", "(", "cum", "->", "bnd_regno", "<=", "LAST_BND_REG", ")", "arg", "=", "gen_rtx_REG", "(", "BNDmode", ",", "cum", "->", "bnd_regno", ")", ";", "else", "arg", "=", "GEN_INT", "(", "cum", "->", "bnd_regno", "-", "LAST_BND_REG", "-", "1", ")", ";", "return", "arg", ";", "}", "if", "(", "mode", "==", "BLKmode", ")", "bytes", "=", "int_size_in_bytes", "(", "type", ")", ";", "else", "bytes", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "words", "=", "CEIL", "(", "bytes", ",", "UNITS_PER_WORD", ")", ";", "if", "(", "type", "&&", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", ")", "mode", "=", "type_natural_mode", "(", "type", ",", "cum", ",", "false", ")", ";", "if", "(", "TARGET_64BIT", ")", "{", "enum", "calling_abi", "call_abi", "=", "cum", "?", "cum", "->", "call_abi", ":", "ix86_abi", ";", "if", "(", "call_abi", "==", "MS_ABI", ")", "arg", "=", "function_arg_ms_64", "(", "cum", ",", "mode", ",", "omode", ",", "named", ",", "bytes", ")", ";", "else", "arg", "=", "function_arg_64", "(", "cum", ",", "mode", ",", "omode", ",", "type", ",", "named", ")", ";", "}", "else", "arg", "=", "function_arg_32", "(", "cum", ",", "mode", ",", "omode", ",", "type", ",", "bytes", ",", "words", ")", ";", "return", "arg", ";", "}", ""], "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", "1"], "File": "i3866", "Func": "ix86_function_arg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6978, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_direct_save_slot_move_p", "(", "unsigned", "int", "regno", ",", "rtx", "mem", ",", "bool", "load_p", ")", "{", "if", "(", "TARGET_MIPS16", "&&", "!", "load_p", "&&", "regno", "==", "RETURN_ADDR_REGNUM", ")", "return", "false", ";", "return", "mips_secondary_reload_class", "(", "REGNO_REG_CLASS", "(", "regno", ")", ",", "GET_MODE", "(", "mem", ")", ",", "mem", ",", "load_p", ")", "==", "NO_REGS", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "move", "between", "register", "REGNO", "and", "its", "save", "slot", "(", "MEM", ")", "can", "be", "done", "in", "a", "single", "move", ".", "LOAD_P", "is", "true", "if", "we", "are", "loading", "from", "the", "slot", ",", "false", "if", "we", "are", "storing", "to", "it", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_direct_save_slot_move_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6979, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsMCCodeEmitter", "::", "getBranchTarget21OpValueMM", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ">>", "2", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"getBranchTarget21OpValueMM expects only expressions or immediates\"", ")", ";", "const", "MCExpr", "*", "FixupExpression", "=", "MCBinaryExpr", "::", "createAdd", "(", "MO", ".", "getExpr", "(", ")", ",", "MCConstantExpr", "::", "create", "(", "-", "4", ",", "Ctx", ")", ",", "Ctx", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "FixupExpression", ",", "MCFixupKind", "(", "Mips", "::", "fixup_MICROMIPS_PC21_S1", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTarget21OpValueMM", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "for", "microMIPS", "."], "TS_V_token": ["Mips", "Mips", "2", "\"getBranchTarget21OpValueMM expects only expressions or immediates\"", "4", "0", "Mips::fixup_MICROMIPS_PC21_S1", "0"], "File": "MipsMCCodeEmitter (2)2", "Func": "getBranchTarget21OpValueMM", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6980, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "r10k_insert_cache_barriers", "(", "void", ")", "{", "int", "*", "rev_post_order", ";", "unsigned", "int", "i", ",", "n", ";", "basic_block", "bb", ";", "sbitmap", "protected_bbs", ";", "rtx_insn", "*", "insn", ",", "*", "end", ";", "rtx", "unprotected_region", ";", "if", "(", "TARGET_MIPS16", ")", "{", "sorry", "(", "\"%qs does not support MIPS16 code\"", ",", "\"-mr10k-cache-barrier\"", ")", ";", "return", ";", "}", "calculate_dominance_info", "(", "CDI_DOMINATORS", ")", ";", "protected_bbs", "=", "sbitmap_alloc", "(", "last_basic_block_for_fn", "(", "cfun", ")", ")", ";", "bitmap_clear", "(", "protected_bbs", ")", ";", "rev_post_order", "=", "XNEWVEC", "(", "int", ",", "last_basic_block_for_fn", "(", "cfun", ")", ")", ";", "n", "=", "pre_and_rev_post_order_compute", "(", "NULL", ",", "rev_post_order", ",", "false", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n", ";", "i", "++", ")", "{", "bb", "=", "BASIC_BLOCK_FOR_FN", "(", "cfun", ",", "rev_post_order", "[", "i", "]", ")", ";", "if", "(", "r10k_protected_bb_p", "(", "bb", ",", "protected_bbs", ")", ")", "unprotected_region", "=", "NULL_RTX", ";", "else", "unprotected_region", "=", "pc_rtx", ";", "end", "=", "NEXT_INSN", "(", "BB_END", "(", "bb", ")", ")", ";", "for", "(", "insn", "=", "BB_HEAD", "(", "bb", ")", ";", "insn", "!=", "end", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "if", "(", "unprotected_region", "&&", "USEFUL_INSN_P", "(", "insn", ")", ")", "{", "if", "(", "recog_memoized", "(", "insn", ")", "==", "CODE_FOR_mips_cache", ")", "unprotected_region", "=", "NULL_RTX", ";", "else", "{", "if", "(", "unprotected_region", "==", "pc_rtx", ")", "unprotected_region", "=", "insn", ";", "if", "(", "r10k_needs_protection_p", "(", "insn", ")", ")", "{", "emit_insn_before", "(", "gen_r10k_cache_barrier", "(", ")", ",", "unprotected_region", ")", ";", "unprotected_region", "=", "NULL_RTX", ";", "}", "}", "}", "if", "(", "CALL_P", "(", "insn", ")", ")", "unprotected_region", "=", "pc_rtx", ";", "}", "if", "(", "unprotected_region", "==", "NULL_RTX", ")", "bitmap_set_bit", "(", "protected_bbs", ",", "bb", "->", "index", ")", ";", "}", "XDELETEVEC", "(", "rev_post_order", ")", ";", "sbitmap_free", "(", "protected_bbs", ")", ";", "free_dominance_info", "(", "CDI_DOMINATORS", ")", ";", "}", ""], "natrual_language": ["Implement", "-mr10k-cache-barrier=", "for", "the", "current", "function", "."], "TS_V_token": ["mips", "\"%qs does not support MIPS16 code\"", "\"-mr10k-cache-barrier\"", "0"], "File": "mips4", "Func": "r10k_insert_cache_barriers", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6981, "Length": 269, "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_POWER10", ",", "OTHER_POWER10_MASKS", ",", "\"power10\"", "}", ",", "{", "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", "\"power10\"", "\"power9-vector\"", "\"power8-vector\"", "\"vsx\"", "\"altivec\"", "0", "0", "0", "0", "0", "\"%<-mno-%s%> turns off %<-m%s%>\""], "File": "rs60001", "Func": "rs6000_disable_incompatible_switches", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6982, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "X86TargetLowering", "::", "shouldExpandAtomicRMWInIR", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "unsigned", "NativeWidth", "=", "Subtarget", ".", "is64Bit", "(", ")", "?", "64", ":", "32", ";", "Type", "*", "MemType", "=", "AI", "->", "getType", "(", ")", ";", "if", "(", "MemType", "->", "getPrimitiveSizeInBits", "(", ")", ">", "NativeWidth", ")", "{", "return", "needsCmpXchgNb", "(", "MemType", ")", "?", "AtomicExpansionKind", "::", "CmpXChg", ":", "AtomicExpansionKind", "::", "None", ";", "}", "AtomicRMWInst", "::", "BinOp", "Op", "=", "AI", "->", "getOperation", "(", ")", ";", "switch", "(", "Op", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown atomic operation\"", ")", ";", "case", "AtomicRMWInst", "::", "Xchg", ":", "case", "AtomicRMWInst", "::", "Add", ":", "case", "AtomicRMWInst", "::", "Sub", ":", "return", "AtomicExpansionKind", "::", "None", ";", "case", "AtomicRMWInst", "::", "Or", ":", "case", "AtomicRMWInst", "::", "And", ":", "case", "AtomicRMWInst", "::", "Xor", ":", "return", "shouldExpandLogicAtomicRMWInIR", "(", "AI", ")", ";", "case", "AtomicRMWInst", "::", "Nand", ":", "case", "AtomicRMWInst", "::", "Max", ":", "case", "AtomicRMWInst", "::", "Min", ":", "case", "AtomicRMWInst", "::", "UMax", ":", "case", "AtomicRMWInst", "::", "UMin", ":", "case", "AtomicRMWInst", "::", "FAdd", ":", "case", "AtomicRMWInst", "::", "FSub", ":", "return", "AtomicExpansionKind", "::", "CmpXChg", ";", "}", "}", ""], "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": "X86ISelLowering100", "Func": "shouldExpandAtomicRMWInIR", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6983, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_test_loading_unspec", "(", ")", "{", "rtl_dump_test", "t", "(", "SELFTEST_LOCATION", ",", "locate_file", "(", "\"x86_64/unspec.rtl\"", ")", ")", ";", "ASSERT_STREQ", "(", "\"test_unspec\"", ",", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "cfun", "->", "decl", ")", ")", ")", ";", "ASSERT_TRUE", "(", "cfun", ")", ";", "rtx_insn", "*", "insn", "=", "get_insns", "(", ")", ";", "ASSERT_EQ", "(", "INSN", ",", "GET_CODE", "(", "insn", ")", ")", ";", "rtx", "set", "=", "single_set", "(", "insn", ")", ";", "ASSERT_NE", "(", "NULL", ",", "set", ")", ";", "rtx", "dst", "=", "SET_DEST", "(", "set", ")", ";", "ASSERT_EQ", "(", "MEM", ",", "GET_CODE", "(", "dst", ")", ")", ";", "rtx", "src", "=", "SET_SRC", "(", "set", ")", ";", "ASSERT_EQ", "(", "UNSPEC", ",", "GET_CODE", "(", "src", ")", ")", ";", "ASSERT_EQ", "(", "BLKmode", ",", "GET_MODE", "(", "src", ")", ")", ";", "ASSERT_EQ", "(", "UNSPEC_MEMORY_BLOCKAGE", ",", "XINT", "(", "src", ",", "1", ")", ")", ";", "rtx", "v0", "=", "XVECEXP", "(", "src", ",", "0", ",", "0", ")", ";", "rtx", "scratch_a", "=", "XEXP", "(", "dst", ",", "0", ")", ";", "ASSERT_EQ", "(", "SCRATCH", ",", "GET_CODE", "(", "scratch_a", ")", ")", ";", "rtx", "scratch_b", "=", "XEXP", "(", "v0", ",", "0", ")", ";", "ASSERT_EQ", "(", "SCRATCH", ",", "GET_CODE", "(", "scratch_b", ")", ")", ";", "ASSERT_EQ", "(", "scratch_a", ",", "scratch_b", ")", ";", "ASSERT_TRUE", "(", "rtx_equal_p", "(", "dst", ",", "v0", ")", ")", ";", "ASSERT_NE", "(", "-", "1", ",", "recog_memoized", "(", "insn", ")", ")", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ";", "ASSERT_EQ", "(", "INSN", ",", "GET_CODE", "(", "insn", ")", ")", ";", "set", "=", "single_set", "(", "insn", ")", ";", "ASSERT_NE", "(", "NULL", ",", "set", ")", ";", "src", "=", "SET_SRC", "(", "set", ")", ";", "ASSERT_EQ", "(", "UNSPEC_VOLATILE", ",", "GET_CODE", "(", "src", ")", ")", ";", "ASSERT_EQ", "(", "UNSPECV_RDTSCP", ",", "XINT", "(", "src", ",", "1", ")", ")", ";", "}", ""], "natrual_language": ["Verify", "that", "the", "RTL", "loader", "copes", "with", "UNSPEC", "and", "UNSPEC_VOLATILE", "insns", ".", "In", "particular", ",", "verify", "that", "it", "correctly", "loads", "the", "2nd", "operand", ".", "This", "test", "is", "target-specific", "since", "these", "are", "machine-specific", "operands", "(", "and", "enums", ")", "."], "TS_V_token": ["i386", "\"x86_64/unspec.rtl\"", "\"test_unspec\"", "1", "0", "0", "0", "0", "1", "1"], "File": "i386", "Func": "ix86_test_loading_unspec", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6984, "Length": 269, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_agi_dependent", "(", "rtx_insn", "*", "set_insn", ",", "rtx_insn", "*", "use_insn", ")", "{", "int", "i", ";", "extract_insn_cached", "(", "use_insn", ")", ";", "for", "(", "i", "=", "recog_data", ".", "n_operands", "-", "1", ";", "i", ">=", "0", ";", "--", "i", ")", "if", "(", "MEM_P", "(", "recog_data", ".", "operand", "[", "i", "]", ")", ")", "{", "rtx", "addr", "=", "XEXP", "(", "recog_data", ".", "operand", "[", "i", "]", ",", "0", ")", ";", "return", "modified_in_p", "(", "addr", ",", "set_insn", ")", "!=", "0", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "iff", "USE_INSN", "has", "a", "memory", "address", "with", "operands", "set", "by", "SET_INSN", "."], "TS_V_token": ["i386", "1", "0", "0", "0"], "File": "i3864", "Func": "ix86_agi_dependent", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6985, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "section", "*", "loongarch_select_rtx_section", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "unsigned", "HOST_WIDE_INT", "align", ")", "{", "if", "(", "loongarch_rtx_constant_in_small_data_p", "(", "mode", ")", ")", "return", "get_named_section", "(", "NULL", ",", "\".sdata\"", ",", "0", ")", ";", "return", "default_elf_select_rtx_section", "(", "mode", ",", "x", ",", "align", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_SELECT_RTX_SECTION", "."], "TS_V_token": ["loongarch", "\".sdata\"", "0"], "File": "loongarch", "Func": "loongarch_select_rtx_section", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6986, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMFrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "ArrayRef", "<", "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": "ARMFrameLowering11", "Func": "spillCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6987, "Length": 205, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "hasFP", "(", "MF", ")", "?", "FramePtr", ":", "StackPtr", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["X86", "X86"], "File": "X86RegisterInfo11", "Func": "getFrameRegister", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6988, "Length": 23, "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": 6989, "Length": 81, "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", "(", "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": "AArch64ISelLowering118", "Func": "lowerInterleavedStore", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6990, "Length": 401, "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": 6991, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getCSRFirstUseCost", "(", ")", "const", "override", "{", "return", "5", ";", "}", ""], "natrual_language": ["Allow", "the", "target", "to", "override", "the", "cost", "of", "using", "a", "callee-saved", "register", "for", "the", "first", "time", "."], "TS_V_token": ["ARM64", "5"], "File": "ARM64RegisterInfo1", "Func": "getCSRFirstUseCost", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6992, "Length": 11, "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", "&&", "!", "is_complex_IBM_long_double", "(", "mode", ")", "&&", "FLOAT128_2REG_P", "(", "mode", ")", ")", ")", ")", "return", "64", ";", "else", "if", "(", "FLOAT128_VECTOR_P", "(", "mode", ")", ")", "return", "128", ";", "else", "if", "(", "PAIRED_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": "rs60007", "Func": "rs6000_function_arg_boundary", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6993, "Length": 264, "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": 6994, "Length": 31, "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": 6995, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "PPCTargetLowering", "::", "getSetCCResultType", "(", "MVT", "VT", ")", "const", "{", "return", "MVT", "::", "i32", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["PowerPC", "PPC", "MVT::i32"], "File": "PPCISelLowering123", "Func": "getSetCCResultType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6996, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ThumbRegisterInfo", "::", "emitLoadConstPool", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "DebugLoc", "dl", ",", "unsigned", "DestReg", ",", "unsigned", "SubIdx", ",", "int", "Val", ",", "ARMCC", "::", "CondCodes", "Pred", ",", "unsigned", "PredReg", ",", "unsigned", "MIFlags", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "ARMSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "if", "(", "STI", ".", "isThumb1Only", "(", ")", ")", "{", "assert", "(", "(", "isARMLowRegister", "(", "DestReg", ")", "||", "isVirtualRegister", "(", "DestReg", ")", ")", "&&", "\"Thumb1 does not have ldr to high register\"", ")", ";", "return", "emitThumb1LoadConstPool", "(", "MBB", ",", "MBBI", ",", "dl", ",", "DestReg", ",", "SubIdx", ",", "Val", ",", "Pred", ",", "PredReg", ",", "MIFlags", ")", ";", "}", "return", "emitThumb2LoadConstPool", "(", "MBB", ",", "MBBI", ",", "dl", ",", "DestReg", ",", "SubIdx", ",", "Val", ",", "Pred", ",", "PredReg", ",", "MIFlags", ")", ";", "}", ""], "natrual_language": ["emitLoadConstPool", "-", "Emits", "a", "load", "from", "constpool", "to", "materialize", "the", "specified", "immediate", "."], "TS_V_token": ["ARM", "ARMCC::CondCodes", "ARM", "ARM", "ARM", "\"Thumb1 does not have ldr to high register\""], "File": "ThumbRegisterInfo13", "Func": "emitLoadConstPool", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6997, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "ARMInstPrinter", "::", "getOpcodeName", "(", "unsigned", "Opcode", ")", "const", "{", "return", "getInstructionName", "(", "Opcode", ")", ";", "}", ""], "natrual_language": ["Return", "a", "string", "representation", "for", "an", "opcode", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMInstPrinter16", "Func": "getOpcodeName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 6998, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_sim_init", "(", "struct", "mips_sim", "*", "state", ",", "state_t", "dfa_state", ")", "{", "if", "(", "targetm", ".", "sched", ".", "init_dfa_pre_cycle_insn", ")", "targetm", ".", "sched", ".", "init_dfa_pre_cycle_insn", "(", ")", ";", "if", "(", "targetm", ".", "sched", ".", "init_dfa_post_cycle_insn", ")", "targetm", ".", "sched", ".", "init_dfa_post_cycle_insn", "(", ")", ";", "state", "->", "issue_rate", "=", "mips_issue_rate", "(", ")", ";", "state", "->", "dfa_state", "=", "dfa_state", ";", "mips_sim_reset", "(", "state", ")", ";", "}", ""], "natrual_language": ["Initialize", "STATE", "before", "its", "first", "use", ".", "DFA_STATE", "points", "to", "an", "allocated", "but", "uninitialized", "DFA", "state", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_sim_init", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 6999, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetLowering", "::", "AdjustInstrPostInstrSelection", "(", "MachineInstr", "*", "MI", ",", "SDNode", "*", "Node", ")", "const", "{", "const", "MCInstrDesc", "*", "MCID", "=", "&", "MI", "->", "getDesc", "(", ")", ";", "if", "(", "!", "MCID", "->", "hasPostISelHook", "(", ")", ")", "{", "assert", "(", "!", "convertAddSubFlagsOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", "&&", "\"Pseudo flag-setting opcodes must be marked with 'hasPostISelHook'\"", ")", ";", "return", ";", "}", "unsigned", "NewOpc", "=", "convertAddSubFlagsOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "if", "(", "NewOpc", ")", "{", "const", "ARMBaseInstrInfo", "*", "TII", "=", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "getTargetMachine", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MCID", "=", "&", "TII", "->", "get", "(", "NewOpc", ")", ";", "assert", "(", "MCID", "->", "getNumOperands", "(", ")", "==", "MI", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", "+", "1", "&&", "\"converted opcode should be the same except for cc_out\"", ")", ";", "MI", "->", "setDesc", "(", "*", "MCID", ")", ";", "MI", "->", "addOperand", "(", "MachineOperand", "::", "CreateReg", "(", "0", ",", "true", ")", ")", ";", "}", "unsigned", "ccOutIdx", "=", "MCID", "->", "getNumOperands", "(", ")", "-", "1", ";", "if", "(", "!", "MCID", "->", "hasOptionalDef", "(", ")", "||", "!", "MCID", "->", "OpInfo", "[", "ccOutIdx", "]", ".", "isOptionalDef", "(", ")", ")", "{", "assert", "(", "!", "NewOpc", "&&", "\"Optional cc_out operand required\"", ")", ";", "return", ";", "}", "bool", "definesCPSR", "=", "false", ";", "bool", "deadCPSR", "=", "false", ";", "for", "(", "unsigned", "i", "=", "MCID", "->", "getNumOperands", "(", ")", ",", "e", "=", "MI", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "i", ")", ";", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "MO", ".", "isDef", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "==", "ARM", "::", "CPSR", ")", "{", "definesCPSR", "=", "true", ";", "if", "(", "MO", ".", "isDead", "(", ")", ")", "deadCPSR", "=", "true", ";", "MI", "->", "RemoveOperand", "(", "i", ")", ";", "break", ";", "}", "}", "if", "(", "!", "definesCPSR", ")", "{", "assert", "(", "!", "NewOpc", "&&", "\"Optional cc_out operand required\"", ")", ";", "return", ";", "}", "assert", "(", "deadCPSR", "==", "!", "Node", "->", "hasAnyUseOfValue", "(", "1", ")", "&&", "\"inconsistent dead flag\"", ")", ";", "if", "(", "deadCPSR", ")", "{", "assert", "(", "!", "MI", "->", "getOperand", "(", "ccOutIdx", ")", ".", "getReg", "(", ")", "&&", "\"expect uninitialized optional cc_out operand\"", ")", ";", "return", ";", "}", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "ccOutIdx", ")", ";", "MO", ".", "setReg", "(", "ARM", "::", "CPSR", ")", ";", "MO", ".", "setIsDef", "(", "true", ")", ";", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'hasPostISelHook", "'", "flag", "."], "TS_V_token": ["ARM", "ARM", "\"Pseudo flag-setting opcodes must be marked with 'hasPostISelHook'\"", "ARM", "ARM", "1", "\"converted opcode should be the same except for cc_out\"", "0", "1", "\"Optional cc_out operand required\"", "ARM::CPSR", "\"Optional cc_out operand required\"", "1", "\"inconsistent dead flag\"", "\"expect uninitialized optional cc_out operand\"", "ARM::CPSR"], "File": "ARMISelLowering156", "Func": "AdjustInstrPostInstrSelection", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7000, "Length": 379, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "addILPOpts", "(", ")", "{", "if", "(", "EnableCondBrFoldingPass", ")", "addPass", "(", "createX86CondBrFolding", "(", ")", ")", ";", "addPass", "(", "&", "EarlyIfConverterID", ")", ";", "if", "(", "EnableMachineCombinerPass", ")", "addPass", "(", "&", "MachineCombinerID", ")", ";", "addPass", "(", "createX86CmovConverterPass", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Add", "passes", "that", "optimize", "instruction", "level", "parallelism", "for", "out-of-order", "targets", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86TargetMachine102", "Func": "addILPOpts", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7001, "Length": 45, "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", "=", "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": "Thumb1InstrInfo2", "Func": "restoreCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7002, "Length": 231, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pa_cannot_force_const_mem", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ")", "{", "return", "tls_referenced_p", "(", "x", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CANNOT_FORCE_CONST_MEM", "."], "TS_V_token": ["pa"], "File": "pa", "Func": "pa_cannot_force_const_mem", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7003, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCInst", "&", "Res", ")", "const", "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": "SystemZMCAsmBackend", "Func": "relaxInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7004, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "unsigned", "ptr_regno_for_savres", "(", "int", "sel", ")", "{", "if", "(", "DEFAULT_ABI", "==", "ABI_AIX", "||", "DEFAULT_ABI", "==", "ABI_ELFv2", ")", "return", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_FPR", "||", "(", "sel", "&", "SAVRES_LR", ")", "?", "1", ":", "12", ";", "return", "DEFAULT_ABI", "==", "ABI_DARWIN", "&&", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_FPR", "?", "1", ":", "11", ";", "}", ""], "natrual_language": ["Return", "the", "register", "number", "used", "as", "a", "pointer", "by", "out-of-line", "save/restore", "functions", "."], "TS_V_token": ["powerpcspe", "1", "12", "1", "11"], "File": "powerpcspe", "Func": "ptr_regno_for_savres", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7005, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "DItype", "local_fixunsdfdi", "(", "DFtype", "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", ";", "fixunsdfdi", "in", "libgcc", "calls", "fixdfdi", ",", "which", "in", "turn", "calls", "calls", "fixunsdfdi", "."], "TS_V_token": ["rs6000", "1", "8", "1", "8", "8"], "File": "ppc64-fp", "Func": "local_fixunsdfdi", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7006, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_destroy_cost_data", "(", "void", "*", "data", ")", "{", "free", "(", "data", ")", ";", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.destroy_cost_data", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_destroy_cost_data", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7007, "Length": 15, "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", ";", "if", "(", "!", "splitToValueTypes", "(", "OrigArg", ",", "SplitArgs", ",", "DL", ",", "MRI", ",", "[", "&", "]", "(", "ArrayRef", "<", "unsigned", ">", "Regs", ")", "{", "MIRBuilder", ".", "buildUnmerge", "(", "Regs", ",", "VReg", ")", ";", "}", ")", ")", "return", "false", ";", "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": "X86CallLowering29", "Func": "lowerReturn", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7008, "Length": 215, "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": 7009, "Length": 57, "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", "::", "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", "::", "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": "MipsFastISel13", "Func": "fastSelectInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7010, "Length": 214, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "csky_shifted_imm8_constant", "(", "unsigned", "HOST_WIDE_INT", "val", ",", "unsigned", "int", "*", "base", ",", "unsigned", "int", "*", "shift", ")", "{", "unsigned", "HOST_WIDE_INT", "mask", "=", "0xff", ";", "int", "i", ";", "val", "=", "val", "&", "(", "unsigned", "HOST_WIDE_INT", ")", "0xffffffffu", ";", "if", "(", "val", "==", "0", ")", "return", "0", ";", "for", "(", "i", "=", "0", ";", "i", "<", "25", ";", "i", "++", ")", "if", "(", "(", "val", "&", "(", "mask", "<<", "i", ")", ")", "==", "val", ")", "{", "if", "(", "base", ")", "*", "base", "=", "(", "unsigned", "int", ")", "(", "val", ">>", "i", ")", ";", "if", "(", "shift", ")", "*", "shift", "=", "(", "unsigned", "int", ")", "i", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "constant", "VAL", "can", "be", "expressed", "by", "an", "8-bit", "constant", "with", "a", "shift", "value", ",", "filling", "in", "*", "BASE", "and", "*", "SHIFT", "."], "TS_V_token": ["csky", "0xff", "0xffffffffu", "0", "0", "0", "25"], "File": "csky", "Func": "csky_shifted_imm8_constant", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7011, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "permute_load", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "rtx", "mem_op", "=", "SET_SRC", "(", "body", ")", ";", "rtx", "tgt_reg", "=", "SET_DEST", "(", "body", ")", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "tgt_reg", ")", ";", "int", "n_elts", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "int", "half_elts", "=", "n_elts", "/", "2", ";", "rtx", "par", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "rtvec_alloc", "(", "n_elts", ")", ")", ";", "int", "i", ",", "j", ";", "for", "(", "i", "=", "0", ",", "j", "=", "half_elts", ";", "i", "<", "half_elts", ";", "++", "i", ",", "++", "j", ")", "XVECEXP", "(", "par", ",", "0", ",", "i", ")", "=", "GEN_INT", "(", "j", ")", ";", "for", "(", "i", "=", "half_elts", ",", "j", "=", "0", ";", "j", "<", "half_elts", ";", "++", "i", ",", "++", "j", ")", "XVECEXP", "(", "par", ",", "0", ",", "i", ")", "=", "GEN_INT", "(", "j", ")", ";", "rtx", "sel", "=", "gen_rtx_VEC_SELECT", "(", "mode", ",", "mem_op", ",", "par", ")", ";", "SET_SRC", "(", "body", ")", "=", "sel", ";", "INSN_CODE", "(", "insn", ")", "=", "-", "1", ";", "df_insn_rescan", "(", "insn", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Replacing load %d with permuted load\\n\"", ",", "INSN_UID", "(", "insn", ")", ")", ";", "}", ""], "natrual_language": ["Convert", "the", "non-permuting", "load", "INSN", "to", "a", "permuting", "one", "."], "TS_V_token": ["powerpcspe", "2", "0", "0", "0", "0", "1", "\"Replacing load %d with permuted load\\n\""], "File": "powerpcspe", "Func": "permute_load", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7012, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_print_int_branch_condition", "(", "FILE", "*", "file", ",", "enum", "rtx_code", "code", ",", "int", "letter", ")", "{", "switch", "(", "code", ")", "{", "case", "EQ", ":", "case", "NE", ":", "case", "GT", ":", "case", "GE", ":", "case", "LT", ":", "case", "LE", ":", "case", "GTU", ":", "case", "GEU", ":", "case", "LTU", ":", "case", "LEU", ":", "fputs", "(", "GET_RTX_NAME", "(", "code", ")", ",", "file", ")", ";", "break", ";", "default", ":", "output_operand_lossage", "(", "\"'%%%c' is not a valid operand prefix\"", ",", "letter", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["PRINT_OPERAND", "prefix", "LETTER", "refers", "to", "the", "integer", "branch", "instruction", "associated", "with", "condition", "CODE", ".", "Print", "the", "condition", "part", "of", "the", "opcode", "to", "FILE", "."], "TS_V_token": ["mips", "\"'%%%c' is not a valid operand prefix\""], "File": "mips", "Func": "mips_print_int_branch_condition", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7013, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86_64GOTEntry", "*", "X86_64GOT", "::", "create", "(", ")", "{", "return", "new", "X86_64GOTEntry", "(", "0", ",", "m_SectionData", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["X86", "X86", "X86_64GOT::create", "X86", "0"], "File": "X86GOT", "Func": "create", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7014, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetTransformInfo", "::", "PopcntSupportKind", "AArch64TTIImpl", "::", "getPopcntSupport", "(", "unsigned", "TyWidth", ")", "{", "assert", "(", "isPowerOf2_32", "(", "TyWidth", ")", "&&", "\"Ty width must be power of 2\"", ")", ";", "if", "(", "TyWidth", "==", "32", "||", "TyWidth", "==", "64", ")", "return", "TTI", "::", "PSK_FastHardware", ";", "return", "TTI", "::", "PSK_Software", ";", "}", ""], "natrual_language": ["Return", "hardware", "support", "for", "population", "count", "."], "TS_V_token": ["AArch64", "AArch64", "\"Ty width must be power of 2\"", "32", "64"], "File": "AArch64TargetTransformInfo (2)", "Func": "getPopcntSupport", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7015, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "PPCRegisterInfo", "::", "getNoPreservedMask", "(", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "CSR_NoRegs_Altivec_RegMask", ";", "if", "(", "Subtarget", ".", "isDarwin", "(", ")", ")", "return", "CSR_NoRegs_Darwin_RegMask", ";", "return", "CSR_NoRegs_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "register", "mask", "that", "clobbers", "everything", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCRegisterInfo1", "Func": "getNoPreservedMask", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7016, "Length": 37, "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": 7017, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_stack_protect_guard", "(", "void", ")", "{", "if", "(", "TARGET_SSP_TLS_GUARD", ")", "{", "tree", "type_node", "=", "lang_hooks", ".", "types", ".", "type_for_mode", "(", "ptr_mode", ",", "1", ")", ";", "int", "qual", "=", "ENCODE_QUAL_ADDR_SPACE", "(", "ix86_stack_protector_guard_reg", ")", ";", "tree", "type", "=", "build_qualified_type", "(", "type_node", ",", "qual", ")", ";", "tree", "t", ";", "if", "(", "OPTION_SET_P", "(", "ix86_stack_protector_guard_symbol_str", ")", ")", "{", "t", "=", "ix86_tls_stack_chk_guard_decl", ";", "if", "(", "t", "==", "NULL", ")", "{", "rtx", "x", ";", "t", "=", "build_decl", "(", "UNKNOWN_LOCATION", ",", "VAR_DECL", ",", "get_identifier", "(", "ix86_stack_protector_guard_symbol_str", ")", ",", "type", ")", ";", "TREE_STATIC", "(", "t", ")", "=", "1", ";", "TREE_PUBLIC", "(", "t", ")", "=", "1", ";", "DECL_EXTERNAL", "(", "t", ")", "=", "1", ";", "TREE_USED", "(", "t", ")", "=", "1", ";", "TREE_THIS_VOLATILE", "(", "t", ")", "=", "1", ";", "DECL_ARTIFICIAL", "(", "t", ")", "=", "1", ";", "DECL_IGNORED_P", "(", "t", ")", "=", "1", ";", "x", "=", "DECL_RTL", "(", "t", ")", ";", "RTX_FLAG", "(", "x", ",", "used", ")", "=", "1", ";", "ix86_tls_stack_chk_guard_decl", "=", "t", ";", "}", "}", "else", "{", "tree", "asptrtype", "=", "build_pointer_type", "(", "type", ")", ";", "t", "=", "build_int_cst", "(", "asptrtype", ",", "ix86_stack_protector_guard_offset", ")", ";", "t", "=", "build2", "(", "MEM_REF", ",", "asptrtype", ",", "t", ",", "build_int_cst", "(", "asptrtype", ",", "0", ")", ")", ";", "TREE_THIS_VOLATILE", "(", "t", ")", "=", "1", ";", "}", "return", "t", ";", "}", "return", "default_stack_protect_guard", "(", ")", ";", "}", ""], "natrual_language": ["If", "using", "TLS", "guards", ",", "do", "n't", "waste", "time", "creating", "and", "expanding", "__stack_chk_guard", "decl", "and", "MEM", "as", "we", "are", "going", "to", "ignore", "it", "."], "TS_V_token": ["i386", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1"], "File": "i386", "Func": "ix86_stack_protect_guard", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7018, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "areLoadsFromSameBasePtr", "(", "SDNode", "*", "Load1", ",", "SDNode", "*", "Load2", ",", "int64_t", "&", "Offset1", ",", "int64_t", "&", "Offset2", ")", "const", "{", "if", "(", "!", "Load1", "->", "isMachineOpcode", "(", ")", "||", "!", "Load2", "->", "isMachineOpcode", "(", ")", ")", "return", "false", ";", "unsigned", "Opc1", "=", "Load1", "->", "getMachineOpcode", "(", ")", ";", "unsigned", "Opc2", "=", "Load2", "->", "getMachineOpcode", "(", ")", ";", "switch", "(", "Opc1", ")", "{", "default", ":", "return", "false", ";", "case", "X86", "::", "MOV8rm", ":", "case", "X86", "::", "MOV16rm", ":", "case", "X86", "::", "MOV32rm", ":", "case", "X86", "::", "MOV64rm", ":", "case", "X86", "::", "LD_Fp32m", ":", "case", "X86", "::", "LD_Fp64m", ":", "case", "X86", "::", "LD_Fp80m", ":", "case", "X86", "::", "MOVSSrm", ":", "case", "X86", "::", "MOVSDrm", ":", "case", "X86", "::", "MMX_MOVD64rm", ":", "case", "X86", "::", "MMX_MOVQ64rm", ":", "case", "X86", "::", "FsMOVAPSrm", ":", "case", "X86", "::", "FsMOVAPDrm", ":", "case", "X86", "::", "MOVAPSrm", ":", "case", "X86", "::", "MOVUPSrm", ":", "case", "X86", "::", "MOVUPSrm_Int", ":", "case", "X86", "::", "MOVAPDrm", ":", "case", "X86", "::", "MOVDQArm", ":", "case", "X86", "::", "MOVDQUrm", ":", "case", "X86", "::", "MOVDQUrm_Int", ":", "break", ";", "}", "switch", "(", "Opc2", ")", "{", "default", ":", "return", "false", ";", "case", "X86", "::", "MOV8rm", ":", "case", "X86", "::", "MOV16rm", ":", "case", "X86", "::", "MOV32rm", ":", "case", "X86", "::", "MOV64rm", ":", "case", "X86", "::", "LD_Fp32m", ":", "case", "X86", "::", "LD_Fp64m", ":", "case", "X86", "::", "LD_Fp80m", ":", "case", "X86", "::", "MOVSSrm", ":", "case", "X86", "::", "MOVSDrm", ":", "case", "X86", "::", "MMX_MOVD64rm", ":", "case", "X86", "::", "MMX_MOVQ64rm", ":", "case", "X86", "::", "FsMOVAPSrm", ":", "case", "X86", "::", "FsMOVAPDrm", ":", "case", "X86", "::", "MOVAPSrm", ":", "case", "X86", "::", "MOVUPSrm", ":", "case", "X86", "::", "MOVUPSrm_Int", ":", "case", "X86", "::", "MOVAPDrm", ":", "case", "X86", "::", "MOVDQArm", ":", "case", "X86", "::", "MOVDQUrm", ":", "case", "X86", "::", "MOVDQUrm_Int", ":", "break", ";", "}", "if", "(", "Load1", "->", "getOperand", "(", "0", ")", "!=", "Load2", "->", "getOperand", "(", "0", ")", "||", "Load1", "->", "getOperand", "(", "5", ")", "!=", "Load2", "->", "getOperand", "(", "5", ")", ")", "return", "false", ";", "if", "(", "Load1", "->", "getOperand", "(", "4", ")", "!=", "Load2", "->", "getOperand", "(", "4", ")", ")", "return", "false", ";", "if", "(", "Load1", "->", "getOperand", "(", "1", ")", "==", "Load2", "->", "getOperand", "(", "1", ")", "&&", "Load1", "->", "getOperand", "(", "2", ")", "==", "Load2", "->", "getOperand", "(", "2", ")", ")", "{", "if", "(", "cast", "<", "ConstantSDNode", ">", "(", "Load1", "->", "getOperand", "(", "1", ")", ")", "->", "getZExtValue", "(", ")", "!=", "1", ")", "return", "false", ";", "if", "(", "isa", "<", "ConstantSDNode", ">", "(", "Load1", "->", "getOperand", "(", "3", ")", ")", "&&", "isa", "<", "ConstantSDNode", ">", "(", "Load2", "->", "getOperand", "(", "3", ")", ")", ")", "{", "Offset1", "=", "cast", "<", "ConstantSDNode", ">", "(", "Load1", "->", "getOperand", "(", "3", ")", ")", "->", "getSExtValue", "(", ")", ";", "Offset2", "=", "cast", "<", "ConstantSDNode", ">", "(", "Load2", "->", "getOperand", "(", "3", ")", ")", "->", "getSExtValue", "(", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "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": ["X86", "X86", "X86::MOV8rm", "X86::MOV16rm", "X86::MOV32rm", "X86::MOV64rm", "X86::LD_Fp32m", "X86::LD_Fp64m", "X86::LD_Fp80m", "X86::MOVSSrm", "X86::MOVSDrm", "X86::MMX_MOVD64rm", "X86::MMX_MOVQ64rm", "X86::FsMOVAPSrm", "X86::FsMOVAPDrm", "X86::MOVAPSrm", "X86::MOVUPSrm", "X86::MOVUPSrm_Int", "X86::MOVAPDrm", "X86::MOVDQArm", "X86::MOVDQUrm", "X86::MOVDQUrm_Int", "X86::MOV8rm", "X86::MOV16rm", "X86::MOV32rm", "X86::MOV64rm", "X86::LD_Fp32m", "X86::LD_Fp64m", "X86::LD_Fp80m", "X86::MOVSSrm", "X86::MOVSDrm", "X86::MMX_MOVD64rm", "X86::MMX_MOVQ64rm", "X86::FsMOVAPSrm", "X86::FsMOVAPDrm", "X86::MOVAPSrm", "X86::MOVUPSrm", "X86::MOVUPSrm_Int", "X86::MOVAPDrm", "X86::MOVDQArm", "X86::MOVDQUrm", "X86::MOVDQUrm_Int", "0", "0", "5", "5", "4", "4", "1", "1", "2", "2", "1", "1", "3", "3", "3", "3"], "File": "X86InstrInfo12", "Func": "areLoadsFromSameBasePtr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7019, "Length": 469, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "ix86_memtag_untagged_pointer", "(", "rtx", "tagged_pointer", ",", "rtx", "target", ")", "{", "rtx", "tag_mask", "=", "gen_int_mode", "(", "(", "(", "HOST_WIDE_INT_1U", "<<", "IX86_HWASAN_SHIFT", ")", "+", "(", "HOST_WIDE_INT_1U", "<<", "63", ")", "-", "1", ")", ",", "Pmode", ")", ";", "rtx", "untagged_base", "=", "expand_simple_binop", "(", "Pmode", ",", "AND", ",", "tagged_pointer", ",", "tag_mask", ",", "target", ",", "true", ",", "OPTAB_DIRECT", ")", ";", "gcc_assert", "(", "untagged_base", ")", ";", "return", "untagged_base", ";", "}", ""], "natrual_language": ["The", "default", "implementation", "of", "TARGET_MEMTAG_UNTAGGED_POINTER", "."], "TS_V_token": ["i386", "63", "1"], "File": "i3861", "Func": "ix86_memtag_untagged_pointer", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7020, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_legitimate_address_hook_p", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "bool", "strict_p", ")", "{", "struct", "aarch64_address_info", "addr", ";", "return", "aarch64_classify_address", "(", "&", "addr", ",", "x", ",", "mode", ",", "MEM", ",", "strict_p", ")", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "X", "is", "a", "legitimate", "address", "for", "accessing", "memory", "in", "mode", "MODE", "."], "TS_V_token": ["aarch64"], "File": "aarch642", "Func": "aarch64_legitimate_address_hook_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7021, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "&", "SrcReg", ",", "unsigned", "&", "SrcReg2", ",", "int", "&", "CmpMask", ",", "int", "&", "CmpValue", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "X86", "::", "CMP64ri32", ":", "case", "X86", "::", "CMP64ri8", ":", "case", "X86", "::", "CMP32ri", ":", "case", "X86", "::", "CMP32ri8", ":", "case", "X86", "::", "CMP16ri", ":", "case", "X86", "::", "CMP16ri8", ":", "case", "X86", "::", "CMP8ri", ":", "if", "(", "!", "MI", ".", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", ")", "return", "false", ";", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "0", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "return", "true", ";", "case", "X86", "::", "SUB64rm", ":", "case", "X86", "::", "SUB32rm", ":", "case", "X86", "::", "SUB16rm", ":", "case", "X86", "::", "SUB8rm", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "0", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "0", ";", "return", "true", ";", "case", "X86", "::", "SUB64rr", ":", "case", "X86", "::", "SUB32rr", ":", "case", "X86", "::", "SUB16rr", ":", "case", "X86", "::", "SUB8rr", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "0", ";", "return", "true", ";", "case", "X86", "::", "SUB64ri32", ":", "case", "X86", "::", "SUB64ri8", ":", "case", "X86", "::", "SUB32ri", ":", "case", "X86", "::", "SUB32ri8", ":", "case", "X86", "::", "SUB16ri", ":", "case", "X86", "::", "SUB16ri8", ":", "case", "X86", "::", "SUB8ri", ":", "if", "(", "!", "MI", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", ")", "return", "false", ";", "SrcReg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "0", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "return", "true", ";", "case", "X86", "::", "CMP64rr", ":", "case", "X86", "::", "CMP32rr", ":", "case", "X86", "::", "CMP16rr", ":", "case", "X86", "::", "CMP8rr", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "0", ";", "return", "true", ";", "case", "X86", "::", "TEST8rr", ":", "case", "X86", "::", "TEST16rr", ":", "case", "X86", "::", "TEST32rr", ":", "case", "X86", "::", "TEST64rr", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "!=", "SrcReg", ")", "return", "false", ";", "SrcReg2", "=", "0", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "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": ["X86", "X86", "X86::CMP64ri32", "X86::CMP64ri8", "X86::CMP32ri", "X86::CMP32ri8", "X86::CMP16ri", "X86::CMP16ri8", "X86::CMP8ri", "1", "0", "0", "0", "1", "X86::SUB64rm", "X86::SUB32rm", "X86::SUB16rm", "X86::SUB8rm", "1", "0", "0", "0", "X86::SUB64rr", "X86::SUB32rr", "X86::SUB16rr", "X86::SUB8rr", "1", "2", "0", "0", "X86::SUB64ri32", "X86::SUB64ri8", "X86::SUB32ri", "X86::SUB32ri8", "X86::SUB16ri", "X86::SUB16ri8", "X86::SUB8ri", "2", "1", "0", "0", "2", "X86::CMP64rr", "X86::CMP32rr", "X86::CMP16rr", "X86::CMP8rr", "0", "1", "0", "0", "X86::TEST8rr", "X86::TEST16rr", "X86::TEST32rr", "X86::TEST64rr", "0", "1", "0", "0", "0"], "File": "X86InstrInfo112", "Func": "analyzeCompare", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7022, "Length": 458, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "sparc_gimplify_va_arg", "(", "tree", "valist", ",", "tree", "type", ",", "gimple_seq", "*", "pre_p", ",", "gimple_seq", "*", "post_p", ")", "{", "HOST_WIDE_INT", "size", ",", "rsize", ",", "align", ";", "tree", "addr", ",", "incr", ";", "bool", "indirect", ";", "tree", "ptrtype", "=", "build_pointer_type", "(", "type", ")", ";", "if", "(", "pass_by_reference", "(", "NULL", ",", "TYPE_MODE", "(", "type", ")", ",", "type", ",", "false", ")", ")", "{", "indirect", "=", "true", ";", "size", "=", "rsize", "=", "UNITS_PER_WORD", ";", "align", "=", "0", ";", "}", "else", "{", "indirect", "=", "false", ";", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "rsize", "=", "(", "size", "+", "UNITS_PER_WORD", "-", "1", ")", "&", "-", "UNITS_PER_WORD", ";", "align", "=", "0", ";", "if", "(", "TARGET_ARCH64", ")", "{", "if", "(", "TYPE_ALIGN", "(", "type", ")", ">=", "2", "*", "(", "unsigned", ")", "BITS_PER_WORD", ")", "align", "=", "2", "*", "UNITS_PER_WORD", ";", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "if", "(", "size", "==", "0", ")", "size", "=", "rsize", "=", "UNITS_PER_WORD", ";", "else", "size", "=", "rsize", ";", "}", "}", "}", "incr", "=", "valist", ";", "if", "(", "align", ")", "{", "incr", "=", "fold_build_pointer_plus_hwi", "(", "incr", ",", "align", "-", "1", ")", ";", "incr", "=", "fold_convert", "(", "sizetype", ",", "incr", ")", ";", "incr", "=", "fold_build2", "(", "BIT_AND_EXPR", ",", "sizetype", ",", "incr", ",", "size_int", "(", "-", "align", ")", ")", ";", "incr", "=", "fold_convert", "(", "ptr_type_node", ",", "incr", ")", ";", "}", "gimplify_expr", "(", "&", "incr", ",", "pre_p", ",", "post_p", ",", "is_gimple_val", ",", "fb_rvalue", ")", ";", "addr", "=", "incr", ";", "if", "(", "BYTES_BIG_ENDIAN", "&&", "size", "<", "rsize", ")", "addr", "=", "fold_build_pointer_plus_hwi", "(", "incr", ",", "rsize", "-", "size", ")", ";", "if", "(", "indirect", ")", "{", "addr", "=", "fold_convert", "(", "build_pointer_type", "(", "ptrtype", ")", ",", "addr", ")", ";", "addr", "=", "build_va_arg_indirect_ref", "(", "addr", ")", ";", "}", "else", "if", "(", "align", "==", "0", "&&", "TYPE_ALIGN", "(", "type", ")", ">", "BITS_PER_WORD", ")", "{", "tree", "tmp", "=", "create_tmp_var", "(", "type", ",", "\"va_arg_tmp\"", ")", ";", "tree", "dest_addr", "=", "build_fold_addr_expr", "(", "tmp", ")", ";", "tree", "copy", "=", "build_call_expr", "(", "builtin_decl_implicit", "(", "BUILT_IN_MEMCPY", ")", ",", "3", ",", "dest_addr", ",", "addr", ",", "size_int", "(", "rsize", ")", ")", ";", "TREE_ADDRESSABLE", "(", "tmp", ")", "=", "1", ";", "gimplify_and_add", "(", "copy", ",", "pre_p", ")", ";", "addr", "=", "dest_addr", ";", "}", "else", "addr", "=", "fold_convert", "(", "ptrtype", ",", "addr", ")", ";", "incr", "=", "fold_build_pointer_plus_hwi", "(", "incr", ",", "rsize", ")", ";", "gimplify_assign", "(", "valist", ",", "incr", ",", "post_p", ")", ";", "return", "build_va_arg_indirect_ref", "(", "addr", ")", ";", "}", ""], "natrual_language": ["Implement", "`", "va_arg", "'", "for", "stdarg", "."], "TS_V_token": ["sparc", "0", "1", "0", "2", "2", "0", "1", "0", "\"va_arg_tmp\"", "3", "1"], "File": "sparc4", "Func": "sparc_gimplify_va_arg", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7023, "Length": 384, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "update_total_code_bytes", "(", "unsigned", "int", "nbytes", ")", "{", "if", "(", "(", "TARGET_PORTABLE_RUNTIME", "||", "!", "TARGET_GAS", "||", "!", "TARGET_SOM", ")", "&&", "!", "IN_NAMED_SECTION_P", "(", "cfun", "->", "decl", ")", ")", "{", "unsigned", "int", "old_total", "=", "total_code_bytes", ";", "total_code_bytes", "+=", "nbytes", ";", "if", "(", "old_total", ">", "total_code_bytes", ")", "total_code_bytes", "=", "UINT_MAX", ";", "}", "}", ""], "natrual_language": ["Update", "the", "total", "code", "bytes", "output", "to", "the", "text", "section", "."], "TS_V_token": ["pa"], "File": "pa", "Func": "update_total_code_bytes", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7024, "Length": 52, "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", "->", "begin", "(", ")", ";", "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": "Mips16FrameLowering", "Func": "spillCalleeSavedRegisters", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7025, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToReg", "(", "unsigned", "ValVReg", ",", "unsigned", "PhysReg", ",", "CCValAssign", "&", "VA", ")", "override", "{", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Value shouldn't be assigned to reg\"", ")", ";", "assert", "(", "VA", ".", "getLocReg", "(", ")", "==", "PhysReg", "&&", "\"Assigning to the wrong reg?\"", ")", ";", "auto", "ValSize", "=", "VA", ".", "getValVT", "(", ")", ".", "getSizeInBits", "(", ")", ";", "auto", "LocSize", "=", "VA", ".", "getLocVT", "(", ")", ".", "getSizeInBits", "(", ")", ";", "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", "=", "MRI", ".", "createGenericVirtualRegister", "(", "LLT", "::", "scalar", "(", "LocSize", ")", ")", ";", "MIRBuilder", ".", "buildCopy", "(", "PhysRegToVReg", ",", "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": "ARMCallLowering (2)", "Func": "assignValueToReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7026, "Length": 151, "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": 7027, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_store_insn1", "(", "rtx", "pat", ",", "rtx", "*", "str_mem", ")", "{", "if", "(", "!", "pat", "||", "pat", "==", "NULL_RTX", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "SET", ")", "return", "find_mem_ref", "(", "SET_DEST", "(", "pat", ")", ",", "str_mem", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "XVECLEN", "(", "pat", ",", "0", ")", ";", "i", "++", ")", "if", "(", "is_store_insn1", "(", "XVECEXP", "(", "pat", ",", "0", ",", "i", ")", ",", "str_mem", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Determine", "if", "PAT", "is", "a", "PATTERN", "of", "a", "store", "insn", "."], "TS_V_token": ["powerpcspe", "0", "0", "0"], "File": "powerpcspe", "Func": "is_store_insn1", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7028, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sh_trampoline_init", "(", "rtx", "tramp_mem", ",", "tree", "fndecl", ",", "rtx", "cxt", ")", "{", "rtx", "fnaddr", "=", "XEXP", "(", "DECL_RTL", "(", "fndecl", ")", ",", "0", ")", ";", "rtx", "tramp", "=", "force_reg", "(", "Pmode", ",", "XEXP", "(", "tramp_mem", ",", "0", ")", ")", ";", "if", "(", "TARGET_FDPIC", ")", "{", "rtx", "a", "=", "force_reg", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "XEXP", "(", "tramp_mem", ",", "0", ")", ",", "8", ")", ")", ";", "sh_emit_storesi", "(", "tramp_mem", ",", "0", ",", "a", ")", ";", "sh_emit_storesi", "(", "tramp_mem", ",", "4", ",", "sh_get_fdpic_reg_initial_val", "(", ")", ")", ";", "sh_emit_storehi", "(", "tramp_mem", ",", "8", ",", "0xd302", ",", "0xd203", ")", ";", "sh_emit_storehi", "(", "tramp_mem", ",", "12", ",", "0x6122", ",", "0x5c21", ")", ";", "sh_emit_storehi", "(", "tramp_mem", ",", "16", ",", "0x412b", ",", "0x0009", ")", ";", "sh_emit_storesi", "(", "tramp_mem", ",", "20", ",", "cxt", ")", ";", "sh_emit_storesi", "(", "tramp_mem", ",", "24", ",", "fnaddr", ")", ";", "}", "else", "{", "sh_emit_storehi", "(", "tramp_mem", ",", "0", ",", "0xd202", ",", "0xd301", ")", ";", "sh_emit_storehi", "(", "tramp_mem", ",", "4", ",", "0x422b", ",", "0x0009", ")", ";", "sh_emit_storesi", "(", "tramp_mem", ",", "8", ",", "cxt", ")", ";", "sh_emit_storesi", "(", "tramp_mem", ",", "12", ",", "fnaddr", ")", ";", "}", "if", "(", "TARGET_HARD_SH4", ")", "{", "if", "(", "!", "TARGET_INLINE_IC_INVALIDATE", "||", "(", "!", "(", "TARGET_SH4A", "||", "TARGET_SH4_300", ")", "&&", "TARGET_USERMODE", ")", ")", "emit_library_call", "(", "function_symbol", "(", "NULL", ",", "\"__ic_invalidate\"", ",", "FUNCTION_ORDINARY", ")", ".", "sym", ",", "LCT_NORMAL", ",", "VOIDmode", ",", "tramp", ",", "SImode", ")", ";", "else", "emit_insn", "(", "gen_ic_invalidate_line", "(", "tramp", ")", ")", ";", "}", "}", ""], "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": ["sh", "0", "0", "0", "8", "0", "4", "8", "0xd302", "0xd203", "12", "0x6122", "0x5c21", "16", "0x412b", "0x0009", "20", "24", "0", "0xd202", "0xd301", "4", "0x422b", "0x0009", "8", "12", "\"__ic_invalidate\""], "File": "sh", "Func": "sh_trampoline_init", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7029, "Length": 238, "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)2", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7030, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "arm_gen_load_multiple", "(", "int", "*", "regs", ",", "int", "count", ",", "rtx", "basereg", ",", "int", "write_back", ",", "rtx", "basemem", ",", "HOST_WIDE_INT", "*", "offsetp", ")", "{", "return", "arm_gen_multiple_op", "(", "TRUE", ",", "regs", ",", "count", ",", "basereg", ",", "write_back", ",", "basemem", ",", "offsetp", ")", ";", "}", ""], "natrual_language": ["Routines", "for", "use", "in", "generating", "RTL", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_gen_load_multiple", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7031, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSymbol", "*", "AArch64MCInstLower", "::", "GetExternalSymbolSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "return", "Printer", ".", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "MCSymbol", "for", "the", "specified", "ExternalSymbol", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64MCInstLower", "Func": "GetExternalSymbolSymbol", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7032, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_expand_vpc_loongson_bcast", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "i", ",", "elt", ";", "rtx", "t0", ",", "t1", ";", "if", "(", "!", "(", "TARGET_HARD_FLOAT", "&&", "TARGET_LOONGSON_VECTORS", ")", ")", "return", "false", ";", "if", "(", "d", "->", "vmode", "!=", "V8QImode", ")", "return", "false", ";", "if", "(", "!", "d", "->", "one_vector_p", ")", "return", "false", ";", "elt", "=", "d", "->", "perm", "[", "0", "]", ";", "for", "(", "i", "=", "1", ";", "i", "<", "8", ";", "++", "i", ")", "if", "(", "d", "->", "perm", "[", "i", "]", "!=", "elt", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "t0", "=", "gen_reg_rtx", "(", "V8QImode", ")", ";", "if", "(", "elt", "<", "4", ")", "emit_insn", "(", "gen_loongson_punpcklbh", "(", "t0", ",", "d", "->", "op0", ",", "d", "->", "op0", ")", ")", ";", "else", "emit_insn", "(", "gen_loongson_punpckhbh", "(", "t0", ",", "d", "->", "op0", ",", "d", "->", "op0", ")", ")", ";", "elt", "&=", "3", ";", "elt", "*=", "0x55", ";", "t1", "=", "gen_reg_rtx", "(", "V4HImode", ")", ";", "emit_insn", "(", "gen_loongson_pshufh", "(", "t1", ",", "gen_lowpart", "(", "V4HImode", ",", "t0", ")", ",", "force_reg", "(", "SImode", ",", "GEN_INT", "(", "elt", ")", ")", ")", ")", ";", "emit_move_insn", "(", "d", "->", "target", ",", "gen_lowpart", "(", "V8QImode", ",", "t1", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "broadcast", "patterns", "for", "the", "Loongson", "."], "TS_V_token": ["mips", "0", "1", "8", "4", "3", "0x55"], "File": "mips4", "Func": "mips_expand_vpc_loongson_bcast", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7033, "Length": 202, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "requiresFrameIndexScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "requires", "post", "PEI", "scavenging", "of", "registers", "for", "materializing", "frame", "index", "constants", "."], "TS_V_token": ["MMIX"], "File": "MMIXRegisterInfo", "Func": "requiresFrameIndexScavenging", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7034, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "eligible_for_return_delay", "(", "rtx_insn", "*", "trial", ")", "{", "int", "regno", ";", "rtx", "pat", ";", "if", "(", "crtl", "->", "calls_eh_return", ")", "return", "0", ";", "if", "(", "get_attr_in_branch_delay", "(", "trial", ")", "==", "IN_BRANCH_DELAY_FALSE", ")", "return", "0", ";", "if", "(", "sparc_leaf_function_p", "||", "TARGET_FLAT", ")", "return", "1", ";", "if", "(", "!", "NONJUMP_INSN_P", "(", "trial", ")", ")", "return", "0", ";", "pat", "=", "PATTERN", "(", "trial", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", ")", "{", "int", "i", ";", "if", "(", "!", "TARGET_V9", ")", "return", "0", ";", "for", "(", "i", "=", "XVECLEN", "(", "pat", ",", "0", ")", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "rtx", "expr", "=", "XVECEXP", "(", "pat", ",", "0", ",", "i", ")", ";", "if", "(", "GET_CODE", "(", "expr", ")", "!=", "SET", ")", "return", "0", ";", "if", "(", "GET_CODE", "(", "SET_DEST", "(", "expr", ")", ")", "!=", "REG", ")", "return", "0", ";", "regno", "=", "REGNO", "(", "SET_DEST", "(", "expr", ")", ")", ";", "if", "(", "regno", ">=", "8", "&&", "regno", "<", "24", ")", "return", "0", ";", "}", "return", "!", "epilogue_renumber", "(", "&", "pat", ",", "1", ")", ";", "}", "if", "(", "GET_CODE", "(", "pat", ")", "!=", "SET", ")", "return", "0", ";", "if", "(", "GET_CODE", "(", "SET_DEST", "(", "pat", ")", ")", "!=", "REG", ")", "return", "0", ";", "regno", "=", "REGNO", "(", "SET_DEST", "(", "pat", ")", ")", ";", "if", "(", "regno", ">=", "8", "&&", "regno", "<", "24", ")", "return", "0", ";", "if", "(", "!", "SPARC_INT_REG_P", "(", "regno", ")", ")", "return", "TARGET_V9", "&&", "!", "epilogue_renumber", "(", "&", "pat", ",", "1", ")", ";", "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", "0", "1", "0", "0", "0", "1", "0", "0", "0", "0", "8", "24", "0", "1", "0", "0", "8", "24", "0", "1"], "File": "sparc", "Func": "eligible_for_return_delay", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7035, "Length": 257, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mmix_output_shifted_value", "(", "FILE", "*", "stream", ",", "HOST_WIDEST_INT", "value", ")", "{", "int", "i", ";", "if", "(", "!", "mmix_shiftable_wyde_value", "(", "value", ")", ")", "{", "char", "s", "[", "16", "+", "2", "+", "1", "]", ";", "sprintf", "(", "s", ",", "HOST_WIDEST_INT_PRINT_HEX", ",", "value", ")", ";", "internal_error", "(", "\"MMIX Internal: %s is not a shiftable int\"", ",", "s", ")", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "4", ";", "i", "++", ")", "{", "if", "(", "value", "&", "0xffff", ")", "{", "fprintf", "(", "stream", ",", "\"#%x\"", ",", "(", "int", ")", "(", "value", "&", "0xffff", ")", ")", ";", "return", ";", "}", "value", ">>=", "16", ";", "}", "fprintf", "(", "stream", ",", "\"0\"", ")", ";", "}", ""], "natrual_language": ["Print", "the", "presumed", "shiftable", "wyde", "argument", "shifted", "into", "place", "(", "to", "be", "output", "with", "an", "operand", ")", "."], "TS_V_token": ["mmix", "16", "2", "1", "\"MMIX Internal: %s is not a shiftable int\"", "0", "4", "0xffff", "\"#%x\"", "0xffff", "16", "\"0\""], "File": "mmix3", "Func": "mmix_output_shifted_value", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7036, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_print_operand_reloc", "(", "FILE", "*", "file", ",", "rtx", "op", ",", "enum", "mips_symbol_context", "context", ",", "const", "char", "*", "*", "relocs", ")", "{", "enum", "mips_symbol_type", "symbol_type", ";", "const", "char", "*", "p", ";", "symbol_type", "=", "mips_classify_symbolic_expression", "(", "op", ",", "context", ")", ";", "gcc_assert", "(", "relocs", "[", "symbol_type", "]", ")", ";", "fputs", "(", "relocs", "[", "symbol_type", "]", ",", "file", ")", ";", "output_addr_const", "(", "file", ",", "mips_strip_unspec_address", "(", "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", "in", "context", "CONTEXT", ".", "RELOCS", "is", "the", "array", "of", "relocations", "to", "use", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips_print_operand_reloc", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7037, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "nds32_builtin_decl_impl", "(", "unsigned", "code", ",", "bool", "initialize_p", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "code", ">=", "NDS32_BUILTIN_COUNT", ")", "return", "error_mark_node", ";", "return", "nds32_builtin_decls", "[", "code", "]", ";", "}", ""], "natrual_language": ["Return", "the", "NDS32", "builtin", "for", "CODE", "."], "TS_V_token": ["nds32"], "File": "nds32-intrinsic", "Func": "nds32_builtin_decl_impl", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7038, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_quadword_masked_address_p", "(", "const_rtx", "expr", ")", "{", "if", "(", "GET_CODE", "(", "expr", ")", "==", "AND", ")", "{", "const_rtx", "operand1", "=", "XEXP", "(", "expr", ",", "0", ")", ";", "const_rtx", "operand2", "=", "XEXP", "(", "expr", ",", "1", ")", ";", "if", "(", "(", "REG_P", "(", "operand1", ")", "||", "rs6000_sum_of_two_registers_p", "(", "operand1", ")", ")", "&&", "CONST_SCALAR_INT_P", "(", "operand2", ")", "&&", "INTVAL", "(", "operand2", ")", "==", "-", "16", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "iff", "EXPR", "represents", "an", "address", "expression", "that", "masks", "off", "the", "low-order", "4", "bits", "in", "the", "style", "of", "an", "lvx", "or", "stvx", "rtl", "pattern", "."], "TS_V_token": ["rs6000", "0", "1", "16"], "File": "rs6000-p8swap", "Func": "rs6000_quadword_masked_address_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7039, "Length": 72, "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", ")", ",", "HasMulDivAdd", "(", "false", ")", ",", "HasMinMax", "(", "false", ")", ",", "HasSwap", "(", "false", ")", ",", "HasBitCount", "(", "false", ")", ",", "InMips16Mode", "(", "false", ")", ",", "HasDSP", "(", "false", ")", ",", "HasDSPR2", "(", "false", ")", ",", "IsAndroid", "(", "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", ";", "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", "\"mips32\"", "Mips", "Mips", "Mips", "Mips", "Mips", "\"Invalid Arch & ABI pair.\"", "\"linux\""], "File": "MipsSubtarget9", "Func": "MipsSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7040, "Length": 255, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "Cpu0Disassembler", "::", "getInstruction", "(", "MCInst", "&", "Instr", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "VStream", ",", "raw_ostream", "&", "CStream", ")", "const", "{", "uint32_t", "Insn", ";", "DecodeStatus", "Result", ";", "Result", "=", "readInstruction32", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn", ",", "IsBigEndian", ")", ";", "if", "(", "Result", "==", "MCDisassembler", "::", "Fail", ")", "return", "Result", ";", "Result", "=", "decodeInstruction", "(", "DecoderTableCpu032", ",", "Instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "Size", "=", "4", ";", "}", "return", "Result", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0", "4"], "File": "Cpu0Disassembler", "Func": "getInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7041, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_set_frame_expr", "(", "rtx", "frame_pattern", ")", "{", "rtx_insn", "*", "insn", ";", "insn", "=", "get_last_insn", "(", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "REG_NOTES", "(", "insn", ")", "=", "alloc_EXPR_LIST", "(", "REG_FRAME_RELATED_EXPR", ",", "frame_pattern", ",", "REG_NOTES", "(", "insn", ")", ")", ";", "}", ""], "natrual_language": ["Make", "the", "last", "instruction", "frame", "related", "and", "note", "that", "it", "performs", "the", "operation", "described", "by", "FRAME_PATTERN", "."], "TS_V_token": ["mips", "1"], "File": "mips", "Func": "mips_set_frame_expr", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7042, "Length": 43, "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", ";", "case", "PROCESSOR_SH5", ":", "{", "builtin_define_with_value", "(", "\"__SH5__\"", ",", "TARGET_SHMEDIA64", "?", "\"64\"", ":", "\"32\"", ",", "0", ")", ";", "builtin_define_with_value", "(", "\"__SHMEDIA__\"", ",", "TARGET_SHMEDIA", "?", "\"1\"", ":", "\"0\"", ",", "0", ")", ";", "if", "(", "!", "TARGET_FPU_DOUBLE", ")", "builtin_define", "(", "\"__SH4_NOFPU__\"", ")", ";", "}", "}", "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__\"", "\"__SH5__\"", "\"64\"", "\"32\"", "0", "\"__SHMEDIA__\"", "\"1\"", "\"0\"", "0", "\"__SH4_NOFPU__\"", "\"__SH_FPU_ANY__\"", "\"__SH_FPU_DOUBLE__\"", "\"__HITACHI__\"", "\"__FMOVD_ENABLED__\"", "\"__SH_FDPIC__\"", "\"__FDPIC__\"", "\"__LITTLE_ENDIAN__\"", "\"__BIG_ENDIAN__\"", "\"__SH_ATOMIC_MODEL_%s__\""], "File": "sh-c4", "Func": "sh_cpu_cpp_builtins", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7043, "Length": 303, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86ATTInstPrinter", "::", "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", "(", "CommentStream", ")", "HasCustomInstComment", "=", "EmitAnyX86InstComments", "(", "MI", ",", "*", "CommentStream", ",", "MII", ")", ";", "unsigned", "Flags", "=", "MI", "->", "getFlags", "(", ")", ";", "if", "(", "(", "TSFlags", "&", "X86II", "::", "LOCK", ")", "||", "(", "Flags", "&", "X86", "::", "IP_HAS_LOCK", ")", ")", "OS", "<<", "\"\\tlock\\t\"", ";", "if", "(", "(", "TSFlags", "&", "X86II", "::", "NOTRACK", ")", "||", "(", "Flags", "&", "X86", "::", "IP_HAS_NOTRACK", ")", ")", "OS", "<<", "\"\\tnotrack\\t\"", ";", "if", "(", "Flags", "&", "X86", "::", "IP_HAS_REPEAT_NE", ")", "OS", "<<", "\"\\trepne\\t\"", ";", "else", "if", "(", "Flags", "&", "X86", "::", "IP_HAS_REPEAT", ")", "OS", "<<", "\"\\trep\\t\"", ";", "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", ")", ")", "printInstruction", "(", "MI", ",", "OS", ")", ";", "printAnnotation", "(", "OS", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["X86", "X86", "X86", "X86II::LOCK", "X86::IP_HAS_LOCK", "\"\\tlock\\t\"", "X86II::NOTRACK", "X86::IP_HAS_NOTRACK", "\"\\tnotrack\\t\"", "X86::IP_HAS_REPEAT_NE", "\"\\trepne\\t\"", "X86::IP_HAS_REPEAT", "\"\\trep\\t\"", "X86::CALLpcrel32", "X86::Mode64Bit", "\"\\tcallq\\t\"", "0", "X86::DATA16_PREFIX", "X86::Mode16Bit", "\"\\tdata32\""], "File": "X86ATTInstPrinter15", "Func": "printInst", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7044, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_process_one_target_attr", "(", "char", "*", "arg_str", ")", "{", "bool", "invert", "=", "false", ";", "size_t", "len", "=", "strlen", "(", "arg_str", ")", ";", "if", "(", "len", "==", "0", ")", "{", "error", "(", "\"malformed % pragma or attribute\"", ")", ";", "return", "false", ";", "}", "char", "*", "str_to_check", "=", "(", "char", "*", ")", "alloca", "(", "len", "+", "1", ")", ";", "strcpy", "(", "str_to_check", ",", "arg_str", ")", ";", "if", "(", "*", "str_to_check", "==", "'+'", ")", "return", "aarch64_handle_attr_isa_flags", "(", "str_to_check", ")", ";", "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", "(", "\"pragma or attribute % does not accept an argument\"", ",", "str_to_check", ")", ";", "return", "false", ";", "}", "if", "(", "invert", "&&", "!", "p_attr", "->", "allow_neg", ")", "{", "error", "(", "\"pragma or attribute % does not allow a negated form\"", ",", "str_to_check", ")", ";", "return", "false", ";", "}", "switch", "(", "p_attr", "->", "attr_type", ")", "{", "case", "aarch64_attr_custom", ":", "gcc_assert", "(", "p_attr", "->", "handler", ")", ";", "if", "(", "!", "p_attr", "->", "handler", "(", "arg", ")", ")", "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", "(", "\"pragma or attribute % is not valid\"", ",", "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 % pragma or attribute\"", "1", "3", "\"no-\"", "3", "0", "3", "0", "\"pragma or attribute % does not accept an argument\"", "\"pragma or attribute % does not allow a negated form\"", "\"pragma or attribute % is not valid\""], "File": "aarch64", "Func": "aarch64_process_one_target_attr", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7045, "Length": 427, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "or1k_expand_atomic_op", "(", "rtx_code", "code", ",", "rtx", "mem", ",", "rtx", "val", ",", "rtx", "orig_before", ",", "rtx", "orig_after", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "rtx", "before", "=", "orig_before", ",", "after", "=", "orig_after", ";", "rtx", "label", ";", "label", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "gen_label_rtx", "(", ")", ")", ";", "emit_label", "(", "XEXP", "(", "label", ",", "0", ")", ")", ";", "if", "(", "before", "==", "NULL_RTX", ")", "before", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_load_locked", "(", "mode", ",", "before", ",", "mem", ")", ";", "if", "(", "code", "==", "MULT", ")", "{", "after", "=", "expand_binop", "(", "mode", ",", "and_optab", ",", "before", ",", "val", ",", "after", ",", "1", ",", "OPTAB_LIB_WIDEN", ")", ";", "after", "=", "expand_unop", "(", "mode", ",", "one_cmpl_optab", ",", "after", ",", "after", ",", "1", ")", ";", "}", "else", "after", "=", "expand_simple_binop", "(", "mode", ",", "code", ",", "before", ",", "val", ",", "after", ",", "1", ",", "OPTAB_LIB_WIDEN", ")", ";", "emit_store_conditional", "(", "mode", ",", "mem", ",", "after", ")", ";", "emit_unlikely_jump", "(", "EQ", ",", "label", ")", ";", "if", "(", "orig_before", ")", "emit_move_insn", "(", "orig_before", ",", "before", ")", ";", "if", "(", "orig_after", ")", "emit_move_insn", "(", "orig_after", ",", "after", ")", ";", "}", ""], "natrual_language": ["Expand", "an", "atomic", "fetch-and-operate", "pattern", ".", "CODE", "is", "the", "binary", "operation", "to", "perform", "(", "with", "MULT", "as", "a", "stand-in", "for", "NAND", ")", ".", "MEM", "is", "the", "memory", "on", "which", "to", "operate", ".", "VAL", "is", "the", "second", "operand", "of", "the", "binary", "operator", ".", "BEFORE", "and", "AFTER", "are", "optional", "locations", "to", "return", "the", "value", "of", "MEM", "either", "before", "of", "after", "the", "operation", "."], "TS_V_token": ["or1k", "0", "1", "1", "1"], "File": "or1k", "Func": "or1k_expand_atomic_op", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7046, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "vr4130_true_reg_dependence_p", "(", "rtx", "insn", ")", "{", "note_stores", "(", "PATTERN", "(", "vr4130_last_insn", ")", ",", "vr4130_true_reg_dependence_p_1", ",", "&", "insn", ")", ";", "return", "insn", "==", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "there", "is", "true", "register", "dependence", "between", "vr4130_last_insn", "and", "INSN", "."], "TS_V_token": ["mips", "0"], "File": "mips3", "Func": "vr4130_true_reg_dependence_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7047, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPreAllocLoadStoreOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "if", "(", "AssumeMisalignedLoadStores", "||", "skipFunction", "(", "*", "Fn", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "TD", "=", "&", "Fn", ".", "getDataLayout", "(", ")", ";", "STI", "=", "&", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "Fn", ".", "getSubtarget", "(", ")", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "STI", "->", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "Fn", ".", "getRegInfo", "(", ")", ";", "MF", "=", "&", "Fn", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MFI", ":", "Fn", ")", "Modified", "|=", "RescheduleLoadStoreInstrs", "(", "&", "MFI", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMLoadStoreOptimizer (2)", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7048, "Length": 108, "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": ["rs6000"], "File": "rs6000", "Func": "rs6000_hard_regno_nregs_hook", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7049, "Length": 23, "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", ".", "isAIXABI", "(", ")", ")", "{", "return", "TM", ".", "isPPC64", "(", ")", "?", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_PPC64_Altivec_RegMask", ":", "CSR_PPC64_RegMask", ")", ":", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "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": "PPCRegisterInfo40", "Func": "getCallPreservedMask", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7050, "Length": 202, "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", "=", "RC", "->", "getSize", "(", ")", "==", "32", "?", "32", ":", "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", "32", "32", "16"], "File": "X86InstrInfo116", "Func": "loadRegFromStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7051, "Length": 129, "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", ")", ";", "}", "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"], "File": "MipsISelLowering24", "Func": "LowerOperation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7052, "Length": 359, "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", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", "->", "getRegInfo", "(", ")", ";", "GlobalBaseReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "X86", "::", "GR32RegisterClass", ")", ";", "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"], "File": "X86InstrInfo12", "Func": "getGlobalBaseReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7053, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "shouldConvertConstantLoadToIntImm", "(", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "const", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", "||", "BitSize", ">", "64", ")", "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": ["PowerPC", "PPC", "0", "64"], "File": "PPCISelLowering (2)2", "Func": "shouldConvertConstantLoadToIntImm", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7054, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addPreISel", "(", ")", "{", "if", "(", "!", "getARMSubtarget", "(", ")", ".", "isTargetNaCl", "(", ")", "&&", "(", "(", "TM", "->", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "Aggressive", "&&", "EnableGlobalMerge", "==", "cl", "::", "BOU_UNSET", ")", "||", "EnableGlobalMerge", "==", "cl", "::", "BOU_TRUE", ")", ")", "addPass", "(", "createGlobalMergePass", "(", "TM", ",", "127", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["ARM", "ARM", "ARM", "127"], "File": "ARMTargetMachine90", "Func": "addPreISel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7055, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "AttributeSet", "FnAttrs", "=", "MF", ".", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ";", "ForCodeSize", "=", "FnAttrs", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "OptimizeForSize", ")", "||", "FnAttrs", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "MinSize", ")", ";", "return", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM64"], "File": "ARM64ISelDAGToDAG", "Func": "runOnMachineFunction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7056, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "build", "(", "function_builder", "&", "b", ",", "const", "function_group_info", "&", "group", ")", "const", "override", "{", "b", ".", "add_overloaded_functions", "(", "group", ",", "MODE_none", ")", ";", "build_all", "(", "b", ",", "\"v0,vu0\"", ",", "group", ",", "MODE_none", ")", ";", "}", ""], "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": ["aarch64", "\"v0,vu0\""], "File": "aarch64-sve-builtins-shapes3", "Func": "build", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7057, "Length": 36, "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": 7058, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "MachineOperand", "&", "getLdStOffsetOp", "(", "const", "MachineInstr", "*", "MI", ")", "{", "return", "MI", "->", "getOperand", "(", "2", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "immediate", "offset", "operator", "of", "a", "load/store", "."], "TS_V_token": ["AArch64", "2"], "File": "AArch64LoadStoreOptimizer47", "Func": "getLdStOffsetOp", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7059, "Length": 21, "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": 7060, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_output_indirect_branch_via_reg", "(", "rtx", "call_op", ",", "bool", "sibcall_p", ")", "{", "char", "thunk_name_buf", "[", "32", "]", ";", "char", "*", "thunk_name", ";", "enum", "indirect_thunk_prefix", "need_prefix", "=", "indirect_thunk_need_prefix", "(", "current_output_insn", ")", ";", "int", "regno", "=", "REGNO", "(", "call_op", ")", ";", "if", "(", "cfun", "->", "machine", "->", "indirect_branch_type", "!=", "indirect_branch_thunk_inline", ")", "{", "if", "(", "cfun", "->", "machine", "->", "indirect_branch_type", "==", "indirect_branch_thunk", ")", "SET_HARD_REG_BIT", "(", "indirect_thunks_used", ",", "regno", ")", ";", "indirect_thunk_name", "(", "thunk_name_buf", ",", "regno", ",", "need_prefix", ",", "false", ")", ";", "thunk_name", "=", "thunk_name_buf", ";", "}", "else", "thunk_name", "=", "NULL", ";", "if", "(", "sibcall_p", ")", "ix86_output_jmp_thunk_or_indirect", "(", "thunk_name", ",", "regno", ")", ";", "else", "{", "if", "(", "thunk_name", "!=", "NULL", ")", "{", "if", "(", "REX_INT_REGNO_P", "(", "regno", ")", "&&", "ix86_indirect_branch_cs_prefix", ")", "fprintf", "(", "asm_out_file", ",", "\"\\tcs\\n\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tcall\\t\"", ")", ";", "assemble_name", "(", "asm_out_file", ",", "thunk_name", ")", ";", "putc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "return", ";", "}", "char", "indirectlabel1", "[", "32", "]", ";", "char", "indirectlabel2", "[", "32", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "indirectlabel1", ",", "INDIRECT_LABEL", ",", "indirectlabelno", "++", ")", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "indirectlabel2", ",", "INDIRECT_LABEL", ",", "indirectlabelno", "++", ")", ";", "fputs", "(", "\"\\tjmp\\t\"", ",", "asm_out_file", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "indirectlabel2", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "indirectlabel1", ")", ";", "ix86_output_jmp_thunk_or_indirect", "(", "thunk_name", ",", "regno", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "indirectlabel2", ")", ";", "fputs", "(", "\"\\tcall\\t\"", ",", "asm_out_file", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "indirectlabel1", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "}", "}", ""], "natrual_language": ["Output", "indirect", "branch", "via", "a", "call", "and", "return", "thunk", ".", "CALL_OP", "is", "a", "register", "which", "contains", "the", "branch", "target", ".", "XASM", "is", "the", "assembly", "template", "for", "CALL_OP", ".", "Branch", "is", "a", "tail", "call", "if", "SIBCALL_P", "is", "true", ".", "A", "normal", "call", "is", "converted", "to", ":", "call", "__x86_indirect_thunk_reg", "and", "a", "tail", "call", "is", "converted", "to", ":", "jmp", "__x86_indirect_thunk_reg"], "TS_V_token": ["i386", "32", "\"\\tcs\\n\"", "\"\\tcall\\t\"", "32", "32", "\"\\tjmp\\t\"", "\"\\tcall\\t\""], "File": "i386", "Func": "ix86_output_indirect_branch_via_reg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7061, "Length": 244, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "F2003fRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["F2003f", "F2003f"], "File": "F2003fInstrInfo", "Func": "getRegisterInfo", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7062, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64Subtarget", "&", "AArch64Subtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "FS", ")", "{", "if", "(", "CPUString", ".", "empty", "(", ")", ")", "CPUString", "=", "\"generic\"", ";", "ParseSubtargetFeatures", "(", "CPUString", ",", "FS", ")", ";", "initializeProperties", "(", ")", ";", "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": ["AArch64", "AArch64", "AArch64", "\"generic\""], "File": "AArch64Subtarget4", "Func": "initializeSubtargetDependencies", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7063, "Length": 38, "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", ".", "Zero", "&=", "Known2", ".", "Zero", ";", "Known", ".", "One", "&=", "Known2", ".", "One", ";", "break", ";", "}", "case", "AArch64ISD", "::", "LOADgot", ":", "case", "AArch64ISD", "::", "ADDlow", ":", "{", "if", "(", "!", "Subtarget", "->", "isTargetILP32", "(", ")", ")", "break", ";", "Known", ".", "Zero", "=", "APInt", "::", "getHighBitsSet", "(", "64", ",", "32", ")", ";", "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", "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)3", "Func": "computeKnownBitsForTargetNode", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7064, "Length": 438, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "aarch64_comp_type_attributes", "(", "const_tree", "type1", ",", "const_tree", "type2", ")", "{", "auto", "check_attr", "=", "[", "&", "]", "(", "const", "char", "*", "name", ")", "{", "tree", "attr1", "=", "lookup_attribute", "(", "name", ",", "TYPE_ATTRIBUTES", "(", "type1", ")", ")", ";", "tree", "attr2", "=", "lookup_attribute", "(", "name", ",", "TYPE_ATTRIBUTES", "(", "type2", ")", ")", ";", "if", "(", "!", "attr1", "&&", "!", "attr2", ")", "return", "true", ";", "return", "attr1", "&&", "attr2", "&&", "attribute_value_equal", "(", "attr1", ",", "attr2", ")", ";", "}", ";", "if", "(", "!", "check_attr", "(", "\"aarch64_vector_pcs\"", ")", ")", "return", "0", ";", "if", "(", "!", "check_attr", "(", "\"Advanced SIMD type\"", ")", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Implement", "TARGET_COMP_TYPE_ATTRIBUTES"], "TS_V_token": ["aarch64", "\"aarch64_vector_pcs\"", "0", "\"Advanced SIMD type\"", "0", "1"], "File": "aarch641", "Func": "aarch64_comp_type_attributes", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7065, "Length": 101, "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", ";", "InsertNOPLoad", "=", "false", ";", "FixFSMULD", "=", "false", ";", "ReplaceFMULS", "=", "false", ";", "FixAllFDIVSQRT", "=", "false", ";", "DetectRoundChange", "=", "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": "SparcSubtarget10", "Func": "initializeSubtargetDependencies", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7066, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TargetLowering", "::", "getExceptionSelectorRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "{", "assert", "(", "!", "isFuncletEHPersonality", "(", "classifyEHPersonality", "(", "PersonalityFn", ")", ")", ")", ";", "return", "Subtarget", "->", "isTarget64BitLP64", "(", ")", "?", "X86", "::", "RDX", ":", "X86", "::", "EDX", ";", "}", ""], "natrual_language": ["If", "a", "physical", "register", ",", "this", "returns", "the", "register", "that", "receives", "the", "exception", "typeid", "on", "entry", "to", "a", "landing", "pad", "."], "TS_V_token": ["X86", "X86", "X86::RDX", "X86::EDX"], "File": "X86ISelLowering (2)3", "Func": "getExceptionSelectorRegister", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7067, "Length": 40, "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": 7068, "Length": 113, "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", "E_QImode", ":", "case", "E_HImode", ":", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "source", ")", ")", ";", "return", "true", ";", "case", "E_SImode", ":", "temp", "=", "!", "can_create_pseudo_p", "(", ")", "?", "dest", ":", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "temp", ",", "GEN_INT", "(", "c", "&", "~", "(", "HOST_WIDE_INT", ")", "0xffff", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "gen_rtx_IOR", "(", "SImode", ",", "temp", ",", "GEN_INT", "(", "c", "&", "0xffff", ")", ")", ")", ")", ";", "break", ";", "case", "E_DImode", ":", "if", "(", "!", "TARGET_POWERPC64", ")", "{", "rtx", "hi", ",", "lo", ";", "hi", "=", "operand_subword_force", "(", "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", "=", "sext_hwi", "(", "c", ",", "32", ")", ";", "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", "32"], "File": "rs60001", "Func": "rs6000_emit_set_const", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7069, "Length": 258, "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", "(", ")", ")", "{", "Register", "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": "AArch64FastISel18", "Func": "fastMaterializeAlloca", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7070, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16InstrInfo", "::", "adjustStackPtr", "(", "unsigned", "SP", ",", "int64_t", "Amount", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "if", "(", "Amount", "==", "0", ")", "return", ";", "if", "(", "isInt", "<", "16", ">", "(", "Amount", ")", ")", "BuildAddiuSpImm", "(", "MBB", ",", "I", ",", "Amount", ")", ";", "else", "adjustStackPtrBigUnrestricted", "(", "SP", ",", "Amount", ",", "MBB", ",", "I", ")", ";", "}", ""], "natrual_language": ["Adjust", "SP", "by", "Amount", "bytes", "."], "TS_V_token": ["Mips", "Mips", "0", "16"], "File": "Mips16InstrInfo (2)", "Func": "adjustStackPtr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7071, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "getSubExpr", "(", ")", "const", "{", "return", "Expr", ";", "}", ""], "natrual_language": ["getSubExpr", "-", "Get", "the", "child", "of", "this", "expression", "."], "TS_V_token": ["PowerPC"], "File": "PPCMCExpr", "Func": "getSubExpr", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7072, "Length": 12, "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": 7073, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "Cpu0MachineFunctionInfo", "::", "getGlobalBaseReg", "(", ")", "{", "return", "GlobalBaseReg", "=", "Cpu0", "::", "GP", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0::GP"], "File": "Cpu0MachineFunction", "Func": "getGlobalBaseReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7074, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "loongarch_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", ",", "temp1", ",", "temp2", ",", "fnaddr", ";", "rtx_insn", "*", "insn", ";", "bool", "use_sibcall_p", ";", "reload_completed", "=", "1", ";", "emit_note", "(", "NOTE_INSN_PROLOGUE_END", ")", ";", "fnaddr", "=", "XEXP", "(", "DECL_RTL", "(", "function", ")", ",", "0", ")", ";", "use_sibcall_p", "=", "const_call_insn_operand", "(", "fnaddr", ",", "Pmode", ")", ";", "temp1", "=", "gen_rtx_REG", "(", "Pmode", ",", "12", ")", ";", "temp2", "=", "gen_rtx_REG", "(", "Pmode", ",", "13", ")", ";", "if", "(", "aggregate_value_p", "(", "TREE_TYPE", "(", "TREE_TYPE", "(", "function", ")", ")", ",", "function", ")", ")", "this_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "GP_ARG_FIRST", "+", "1", ")", ";", "else", "this_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "GP_ARG_FIRST", ")", ";", "if", "(", "delta", "!=", "0", ")", "{", "rtx", "offset", "=", "GEN_INT", "(", "delta", ")", ";", "if", "(", "!", "IMM12_OPERAND", "(", "delta", ")", ")", "{", "loongarch_emit_move", "(", "temp1", ",", "offset", ")", ";", "offset", "=", "temp1", ";", "}", "emit_insn", "(", "gen_add3_insn", "(", "this_rtx", ",", "this_rtx", ",", "offset", ")", ")", ";", "}", "if", "(", "vcall_offset", "!=", "0", ")", "{", "rtx", "addr", ";", "loongarch_emit_move", "(", "temp1", ",", "gen_rtx_MEM", "(", "Pmode", ",", "this_rtx", ")", ")", ";", "addr", "=", "loongarch_add_offset", "(", "temp2", ",", "temp1", ",", "vcall_offset", ")", ";", "loongarch_emit_move", "(", "temp1", ",", "gen_rtx_MEM", "(", "Pmode", ",", "addr", ")", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "this_rtx", ",", "this_rtx", ",", "temp1", ")", ")", ";", "}", "if", "(", "use_sibcall_p", ")", "{", "insn", "=", "emit_call_insn", "(", "gen_sibcall_internal", "(", "fnaddr", ",", "const0_rtx", ")", ")", ";", "SIBLING_CALL_P", "(", "insn", ")", "=", "1", ";", "}", "else", "{", "loongarch_emit_move", "(", "temp1", ",", "fnaddr", ")", ";", "emit_jump_insn", "(", "gen_indirect_jump", "(", "temp1", ")", ")", ";", "}", "insn", "=", "get_insns", "(", ")", ";", "split_all_insns_noflow", "(", ")", ";", "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", ".", "Generate", "rtl", "rather", "than", "asm", "text", "in", "order", "to", "avoid", "duplicating", "too", "much", "logic", "from", "elsewhere", "."], "TS_V_token": ["loongarch", "1", "0", "12", "13", "1", "0", "0", "1", "1", "1", "0"], "File": "loongarch", "Func": "loongarch_output_mi_thunk", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7075, "Length": 341, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64InstrInfo", "::", "removeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "int", "*", "BytesRemoved", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "end", "(", ")", ")", "return", "0", ";", "if", "(", "!", "isUncondBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", "&&", "!", "isCondBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "return", "0", ";", "I", "->", "eraseFromParent", "(", ")", ";", "I", "=", "MBB", ".", "end", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", ")", "{", "if", "(", "BytesRemoved", ")", "*", "BytesRemoved", "=", "4", ";", "return", "1", ";", "}", "--", "I", ";", "if", "(", "!", "isCondBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "{", "if", "(", "BytesRemoved", ")", "*", "BytesRemoved", "=", "4", ";", "return", "1", ";", "}", "I", "->", "eraseFromParent", "(", ")", ";", "if", "(", "BytesRemoved", ")", "*", "BytesRemoved", "=", "8", ";", "return", "2", ";", "}", ""], "natrual_language": ["Remove", "the", "branching", "code", "at", "the", "end", "of", "the", "specific", "MBB", "."], "TS_V_token": ["AArch64", "AArch64", "0", "0", "4", "1", "4", "1", "8", "2"], "File": "AArch64InstrInfo (2)", "Func": "removeBranch", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7076, "Length": 150, "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", ":", "{", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "Instructions", ".", "push_back", "(", "Inst", ")", ";", "break", ";", "case", "SP", "::", "SET", ":", "expandSET", "(", "Inst", ",", "IDLoc", ",", "Instructions", ")", ";", "break", ";", "}", "for", "(", "const", "MCInst", "&", "I", ":", "Instructions", ")", "{", "Out", ".", "EmitInstruction", "(", "I", ",", "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", "SP::SET", "\"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": "SparcAsmParser", "Func": "MatchAndEmitInstruction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7077, "Length": 234, "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": 7078, "Length": 13, "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", "Func": "getDebugThreadLocalSymbol", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7079, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsMCCodeEmitter", "::", "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": ["Mips", "Mips", "32"], "File": "MipsMCCodeEmitter (2)", "Func": "getMachineOpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7080, "Length": 153, "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", "(", "OPTION_SET_P", "(", "rs6000_cpu_index", ")", ")", "{", "fprintf", "(", "file", ",", "\"%s -mcpu=%s\"", ",", "start", ",", "processor_target_table", "[", "rs6000_cpu_index", "]", ".", "name", ")", ";", "start", "=", "\"\"", ";", "}", "if", "(", "OPTION_SET_P", "(", "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", ")", ";", "}", "rs6000_machine", "=", "rs6000_machine_from_flags", "(", ")", ";", "emit_asm_machine", "(", ")", ";", "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\"", "\"\"", "\"\\t.abiversion 2\\n\""], "File": "rs6000", "Func": "rs6000_file_start", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7081, "Length": 295, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "*", "ia64_alloc_sched_context", "(", "void", ")", "{", "return", "xmalloc", "(", "sizeof", "(", "struct", "_ia64_sched_context", ")", ")", ";", "}", ""], "natrual_language": ["Allocates", "a", "scheduling", "context", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "ia64_alloc_sched_context", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7082, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "ARMTargetLowering", "::", "getSetCCResultType", "(", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "getPointerTy", "(", ")", ";", "return", "VT", ".", "changeVectorElementTypeToInteger", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMISelLowering107", "Func": "getSetCCResultType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7083, "Length": 32, "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", ";", "}", "}", "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"], "File": "SparcAsmParser14", "Func": "validateTargetOperandClass", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7084, "Length": 92, "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", "(", "PseudoSourceValue", "::", "getFixedStack", "(", "FI", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "0", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tSpill", ")", ")", ".", "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", "0", "ARM::tSpill", "0"], "File": "Thumb1InstrInfo11", "Func": "storeRegToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7085, "Length": 210, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "function_resolver", "::", "lookup_form", "(", "mode_suffix_index", "mode", ",", "type_suffix_index", "type0", ",", "type_suffix_index", "type1", ")", "{", "type_suffix_pair", "types", "=", "{", "type0", ",", "type1", "}", ";", "function_instance", "instance", "(", "base_name", ",", "base", ",", "shape", ",", "mode", ",", "types", ",", "pred", ")", ";", "registered_function", "*", "rfn", "=", "function_table", "->", "find_with_hash", "(", "instance", ",", "instance", ".", "hash", "(", ")", ")", ";", "return", "rfn", "?", "rfn", "->", "decl", ":", "NULL_TREE", ";", "}", ""], "natrual_language": ["Silently", "check", "whether", "there", "is", "an", "instance", "of", "the", "function", "with", "the", "mode", "suffix", "given", "by", "MODE", "and", "the", "type", "suffixes", "given", "by", "TYPE0", "and", "TYPE1", ".", "Return", "its", "function", "decl", "if", "so", ",", "otherwise", "return", "null", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "lookup_form", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7086, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "rs6000_loop_align", "(", "rtx", "label", ")", "{", "basic_block", "bb", ";", "int", "ninsns", ";", "if", "(", "!", "can_override_loop_align", ")", "return", "align_loops_log", ";", "bb", "=", "BLOCK_FOR_INSN", "(", "label", ")", ";", "ninsns", "=", "num_loop_insns", "(", "bb", "->", "loop_father", ")", ";", "if", "(", "ninsns", ">", "4", "&&", "ninsns", "<=", "8", "&&", "(", "rs6000_cpu", "==", "PROCESSOR_POWER4", "||", "rs6000_cpu", "==", "PROCESSOR_POWER5", "||", "rs6000_cpu", "==", "PROCESSOR_POWER6", "||", "rs6000_cpu", "==", "PROCESSOR_POWER7", "||", "rs6000_cpu", "==", "PROCESSOR_POWER8", ")", ")", "return", "5", ";", "else", "return", "align_loops_log", ";", "}", ""], "natrual_language": ["Implement", "LOOP_ALIGN", "."], "TS_V_token": ["rs6000", "4", "8", "5"], "File": "rs60004", "Func": "rs6000_loop_align", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7087, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_emit_loadgp", "(", "void", ")", "{", "if", "(", "TARGET_ABICALLS", "&&", "TARGET_NEWABI", "&&", "cfun", "->", "machine", "->", "global_pointer", ">", "0", ")", "{", "rtx", "addr", ",", "offset", ",", "incoming_address", ";", "addr", "=", "XEXP", "(", "DECL_RTL", "(", "current_function_decl", ")", ",", "0", ")", ";", "offset", "=", "mips_unspec_address", "(", "addr", ",", "SYMBOL_GOTOFF_LOADGP", ")", ";", "incoming_address", "=", "gen_rtx_REG", "(", "Pmode", ",", "PIC_FUNCTION_ADDR_REGNUM", ")", ";", "emit_insn", "(", "gen_loadgp", "(", "offset", ",", "incoming_address", ")", ")", ";", "if", "(", "!", "TARGET_EXPLICIT_RELOCS", ")", "emit_insn", "(", "gen_loadgp_blockage", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["If", "we", "'re", "generating", "n32", "or", "n64", "abicalls", ",", "emit", "instructions", "to", "set", "up", "the", "global", "pointer", "."], "TS_V_token": ["mips", "0", "0"], "File": "mips3", "Func": "mips_emit_loadgp", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7088, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86ATTInstPrinter", "::", "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", "(", "CommentStream", ")", "HasCustomInstComment", "=", "EmitAnyX86InstComments", "(", "MI", ",", "*", "CommentStream", ",", "getRegisterName", ")", ";", "unsigned", "Flags", "=", "MI", "->", "getFlags", "(", ")", ";", "if", "(", "TSFlags", "&", "X86II", "::", "LOCK", ")", "OS", "<<", "\"\\tlock\\t\"", ";", "if", "(", "!", "(", "TSFlags", "&", "X86II", "::", "LOCK", ")", "&&", "Flags", "&", "X86", "::", "IP_HAS_LOCK", ")", "OS", "<<", "\"\\tlock\\t\"", ";", "if", "(", "Flags", "&", "X86", "::", "IP_HAS_REPEAT_NE", ")", "OS", "<<", "\"\\trepne\\t\"", ";", "else", "if", "(", "Flags", "&", "X86", "::", "IP_HAS_REPEAT", ")", "OS", "<<", "\"\\trep\\t\"", ";", "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", "]", ")", ")", "{", "MCInst", "Data32MI", "(", "*", "MI", ")", ";", "Data32MI", ".", "setOpcode", "(", "X86", "::", "DATA32_PREFIX", ")", ";", "printInstruction", "(", "&", "Data32MI", ",", "OS", ")", ";", "}", "else", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "OS", ")", ")", "printInstruction", "(", "MI", ",", "OS", ")", ";", "printAnnotation", "(", "OS", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["X86", "X86", "X86", "X86II::LOCK", "\"\\tlock\\t\"", "X86II::LOCK", "X86::IP_HAS_LOCK", "\"\\tlock\\t\"", "X86::IP_HAS_REPEAT_NE", "\"\\trepne\\t\"", "X86::IP_HAS_REPEAT", "\"\\trep\\t\"", "X86::CALLpcrel32", "X86::Mode64Bit", "\"\\tcallq\\t\"", "0", "X86::DATA16_PREFIX", "X86::Mode16Bit", "X86::DATA32_PREFIX"], "File": "X86ATTInstPrinter11", "Func": "printInst", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7089, "Length": 247, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64RegisterInfo", "::", "getOffsetOpcodes", "(", "const", "StackOffset", "&", "Offset", ",", "SmallVectorImpl", "<", "uint64_t", ">", "&", "Ops", ")", "const", "{", "assert", "(", "Offset", ".", "getScalable", "(", ")", "%", "2", "==", "0", "&&", "\"Invalid frame offset\"", ")", ";", "DIExpression", "::", "appendOffset", "(", "Ops", ",", "Offset", ".", "getFixed", "(", ")", ")", ";", "unsigned", "VG", "=", "getDwarfRegNum", "(", "AArch64", "::", "VG", ",", "true", ")", ";", "int64_t", "VGSized", "=", "Offset", ".", "getScalable", "(", ")", "/", "2", ";", "if", "(", "VGSized", ">", "0", ")", "{", "Ops", ".", "push_back", "(", "dwarf", "::", "DW_OP_constu", ")", ";", "Ops", ".", "push_back", "(", "VGSized", ")", ";", "Ops", ".", "append", "(", "{", "dwarf", "::", "DW_OP_bregx", ",", "VG", ",", "0ULL", "}", ")", ";", "Ops", ".", "push_back", "(", "dwarf", "::", "DW_OP_mul", ")", ";", "Ops", ".", "push_back", "(", "dwarf", "::", "DW_OP_plus", ")", ";", "}", "else", "if", "(", "VGSized", "<", "0", ")", "{", "Ops", ".", "push_back", "(", "dwarf", "::", "DW_OP_constu", ")", ";", "Ops", ".", "push_back", "(", "-", "VGSized", ")", ";", "Ops", ".", "append", "(", "{", "dwarf", "::", "DW_OP_bregx", ",", "VG", ",", "0ULL", "}", ")", ";", "Ops", ".", "push_back", "(", "dwarf", "::", "DW_OP_mul", ")", ";", "Ops", ".", "push_back", "(", "dwarf", "::", "DW_OP_minus", ")", ";", "}", "}", ""], "natrual_language": ["Gets", "the", "DWARF", "expression", "opcodes", "for", "Offset", "."], "TS_V_token": ["AArch64", "AArch64", "2", "0", "\"Invalid frame offset\"", "AArch64::VG", "2", "0", "0ULL", "0", "0ULL"], "File": "AArch64RegisterInfo25", "Func": "getOffsetOpcodes", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7090, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ArrayRef", "<", "MCPhysReg", ">", "MipsABIInfo", "::", "GetByValArgRegs", "(", ")", "const", "{", "if", "(", "IsO32", "(", ")", ")", "return", "makeArrayRef", "(", "O32IntRegs", ")", ";", "if", "(", "IsN32", "(", ")", "||", "IsN64", "(", ")", ")", "return", "makeArrayRef", "(", "Mips64IntRegs", ")", ";", "llvm_unreachable", "(", "\"Unhandled ABI\"", ")", ";", "}", ""], "natrual_language": ["The", "registers", "to", "use", "for", "byval", "arguments", "."], "TS_V_token": ["Mips", "Mips", "Mips", "\"Unhandled ABI\""], "File": "MipsABIInfo", "Func": "GetByValArgRegs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7091, "Length": 45, "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": 7092, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isScalarFPTypeInSSEReg", "(", "EVT", "VT", ")", "const", "{", "return", "(", "VT", "==", "MVT", "::", "f64", "&&", "Subtarget", "->", "hasSSE2", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "f32", "&&", "Subtarget", "->", "hasSSE1", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "f16", "&&", "Subtarget", "->", "hasFP16", "(", ")", ")", ";", "}", ""], "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", "MVT::f32", "MVT::f16"], "File": "X86FastISel56", "Func": "isScalarFPTypeInSSEReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7093, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "MipsTargetStreamer", "&", "TS", "=", "getTargetStreamer", "(", ")", ";", "TS", ".", "forbidModuleDirective", "(", ")", ";", "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", "(", "MF", "->", "getDataLayout", "(", ")", ",", "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", "->", "getOpcode", "(", ")", "==", "Mips", "::", "PseudoReturn", "||", "I", "->", "getOpcode", "(", ")", "==", "Mips", "::", "PseudoReturn64", "||", "I", "->", "getOpcode", "(", ")", "==", "Mips", "::", "PseudoIndirectBranch", "||", "I", "->", "getOpcode", "(", ")", "==", "Mips", "::", "PseudoIndirectBranch64", ")", "{", "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::PseudoReturn", "Mips::PseudoReturn64", "Mips::PseudoIndirectBranch", "Mips::PseudoIndirectBranch64", "Mips", "\"Pseudo opcode found in EmitInstruction()\""], "File": "MipsAsmPrinter73", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7094, "Length": 370, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "PPCRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AnyReg", ")", "{", "if", "(", "Subtarget", ".", "hasVSX", "(", ")", ")", "return", "CSR_64_AllRegs_VSX_SaveList", ";", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "CSR_64_AllRegs_Altivec_SaveList", ";", "return", "CSR_64_AllRegs_SaveList", ";", "}", "if", "(", "Subtarget", ".", "isDarwinABI", "(", ")", ")", "return", "TM", ".", "isPPC64", "(", ")", "?", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_Darwin64_Altivec_SaveList", ":", "CSR_Darwin64_SaveList", ")", ":", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_Darwin32_Altivec_SaveList", ":", "CSR_Darwin32_SaveList", ")", ";", "if", "(", "TM", ".", "isPPC64", "(", ")", "&&", "MF", "->", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", "->", "isSplitCSR", "(", ")", ")", "return", "CSR_SRV464_TLS_PE_SaveList", ";", "bool", "SaveR2", "=", "MF", "->", "getRegInfo", "(", ")", ".", "isAllocatable", "(", "PPC", "::", "X2", ")", ";", "return", "TM", ".", "isPPC64", "(", ")", "?", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "(", "SaveR2", "?", "CSR_SVR464_R2_Altivec_SaveList", ":", "CSR_SVR464_Altivec_SaveList", ")", ":", "(", "SaveR2", "?", "CSR_SVR464_R2_SaveList", ":", "CSR_SVR464_SaveList", ")", ")", ":", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_SVR432_Altivec_SaveList", ":", "CSR_SVR432_SaveList", ")", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC::X2", "PPC"], "File": "PPCRegisterInfo4", "Func": "getCalleeSavedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7095, "Length": 194, "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": 7096, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "std", "::", "unique_ptr", "<", "MipsOperand", ">", "CreateReg", "(", "unsigned", "Index", ",", "RegKind", "RegKind", ",", "const", "MCRegisterInfo", "*", "RegInfo", ",", "SMLoc", "S", ",", "SMLoc", "E", ",", "MipsAsmParser", "&", "Parser", ")", "{", "auto", "Op", "=", "make_unique", "<", "MipsOperand", ">", "(", "k_RegisterIndex", ",", "Parser", ")", ";", "Op", "->", "RegIdx", ".", "Index", "=", "Index", ";", "Op", "->", "RegIdx", ".", "RegInfo", "=", "RegInfo", ";", "Op", "->", "RegIdx", ".", "Kind", "=", "RegKind", ";", "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": "MipsAsmParser", "Func": "CreateReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7097, "Length": 84, "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": 7098, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_n9_3r2w_mm_to_ex_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "rtx", "def_reg", ";", "switch", "(", "get_attr_type", "(", "producer", ")", ")", "{", "case", "TYPE_LOAD", ":", "case", "TYPE_MUL", ":", "case", "TYPE_MAC", ":", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "break", ";", "case", "TYPE_DIV", ":", "if", "(", "INSN_CODE", "(", "producer", ")", "==", "CODE_FOR_divmodsi4", "||", "INSN_CODE", "(", "producer", ")", "==", "CODE_FOR_udivmodsi4", ")", "{", "rtx", "def_reg1", "=", "SET_DEST", "(", "parallel_element", "(", "producer", ",", "0", ")", ")", ";", "rtx", "def_reg2", "=", "SET_DEST", "(", "parallel_element", "(", "producer", ",", "1", ")", ")", ";", "return", "(", "n9_3r2w_consumed_by_ex_dep_p", "(", "consumer", ",", "def_reg1", ")", "||", "n9_3r2w_consumed_by_ex_dep_p", "(", "consumer", ",", "def_reg2", ")", ")", ";", "}", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "n9_3r2w_consumed_by_ex_dep_p", "(", "consumer", ",", "def_reg", ")", ";", "}", ""], "natrual_language": ["Check", "dependencies", "from", "MM", "to", "EX", "."], "TS_V_token": ["nds32", "0", "1"], "File": "nds32-pipelines-auxiliary5", "Func": "nds32_n9_3r2w_mm_to_ex_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7099, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getMaxInlineSizeThreshold", "(", ")", "const", "{", "return", "64", ";", "}", ""], "natrual_language": ["Returns", "the", "maximum", "memset", "/", "memcpy", "size", "that", "still", "makes", "it", "profitable", "to", "inline", "the", "call", "."], "TS_V_token": ["ARM", "64"], "File": "ARMSubtarget (2)", "Func": "getMaxInlineSizeThreshold", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7100, "Length": 10, "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": 7101, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64TargetLowering", "::", "mayBeEmittedAsTailCall", "(", "CallInst", "*", "CI", ")", "const", "{", "if", "(", "!", "EnableARM64TailCalls", ")", "return", "false", ";", "if", "(", "!", "CI", "->", "isTailCall", "(", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "may", "be", "able", "emit", "the", "call", "instruction", "as", "a", "tail", "call", "."], "TS_V_token": ["ARM64", "ARM64", "ARM64"], "File": "ARM64ISelLowering", "Func": "mayBeEmittedAsTailCall", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7102, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isThumb", "(", ")", "const", "{", "return", "(", "STI", ".", "getFeatureBits", "(", ")", "&", "ARM", "::", "ModeThumb", ")", "!=", "0", ";", "}", ""], "natrual_language": ["Tests", "whether", "the", "target", "is", "Thumb", "(", "little", "and", "big", "endian", ")", "."], "TS_V_token": ["ARM", "ARM::ModeThumb", "0"], "File": "ARMAsmParser (2)", "Func": "isThumb", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7103, "Length": 22, "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", "(", "UnsupportedFPMode", ")", "?", "0", ":", "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", "0"], "File": "MipsFastISel11", "Func": "fastMaterializeConstant", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7104, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "struct", "xstormy16_stack_layout", "xstormy16_compute_stack_layout", "(", "void", ")", "{", "struct", "xstormy16_stack_layout", "layout", ";", "int", "regno", ";", "const", "int", "ifun", "=", "xstormy16_interrupt_function_p", "(", ")", ";", "layout", ".", "locals_size", "=", "get_frame_size", "(", ")", ";", "layout", ".", "register_save_size", "=", "0", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "REG_NEEDS_SAVE", "(", "regno", ",", "ifun", ")", ")", "layout", ".", "register_save_size", "+=", "UNITS_PER_WORD", ";", "if", "(", "current_function_stdarg", ")", "layout", ".", "stdarg_save_size", "=", "NUM_ARGUMENT_REGISTERS", "*", "UNITS_PER_WORD", ";", "else", "layout", ".", "stdarg_save_size", "=", "0", ";", "layout", ".", "frame_size", "=", "(", "layout", ".", "locals_size", "+", "layout", ".", "register_save_size", "+", "layout", ".", "stdarg_save_size", ")", ";", "if", "(", "current_function_args_size", "<=", "2048", "&&", "current_function_args_size", "!=", "-", "1", ")", "{", "if", "(", "layout", ".", "frame_size", "+", "INCOMING_FRAME_SP_OFFSET", "+", "current_function_args_size", "<=", "2048", ")", "layout", ".", "fp_minus_ap", "=", "layout", ".", "frame_size", "+", "INCOMING_FRAME_SP_OFFSET", ";", "else", "layout", ".", "fp_minus_ap", "=", "2048", "-", "current_function_args_size", ";", "}", "else", "layout", ".", "fp_minus_ap", "=", "(", "layout", ".", "stdarg_save_size", "+", "layout", ".", "register_save_size", "+", "INCOMING_FRAME_SP_OFFSET", ")", ";", "layout", ".", "sp_minus_fp", "=", "(", "layout", ".", "frame_size", "+", "INCOMING_FRAME_SP_OFFSET", "-", "layout", ".", "fp_minus_ap", ")", ";", "layout", ".", "first_local_minus_ap", "=", "layout", ".", "sp_minus_fp", "-", "layout", ".", "locals_size", ";", "return", "layout", ";", "}", ""], "natrual_language": ["Compute", "the", "stack", "layout", "."], "TS_V_token": ["stormy16", "0", "0", "0", "2048", "1", "2048", "2048"], "File": "stormy163", "Func": "xstormy16_compute_stack_layout", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7105, "Length": 194, "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": 7106, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_pad_reg_upward", "(", "machine_mode", "mode", ",", "tree", "type", ",", "int", "first", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_AAPCS_BASED", "&&", "BYTES_BIG_ENDIAN", ")", "{", "if", "(", "type", ")", "{", "if", "(", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "||", "TREE_CODE", "(", "type", ")", "==", "COMPLEX_TYPE", "||", "FIXED_POINT_TYPE_P", "(", "type", ")", ")", "&&", "int_size_in_bytes", "(", "type", ")", "<=", "4", ")", "return", "true", ";", "}", "else", "{", "if", "(", "(", "COMPLEX_MODE_P", "(", "mode", ")", "||", "ALL_FIXED_POINT_MODE_P", "(", "mode", ")", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "<=", "4", ")", "return", "true", ";", "}", "}", "return", "!", "BYTES_BIG_ENDIAN", ";", "}", ""], "natrual_language": ["Similarly", ",", "for", "use", "by", "BLOCK_REG_PADDING", "(", "MODE", ",", "TYPE", ",", "FIRST", ")", ".", "For", "non-AAPCS", ",", "return", "!", "BYTES_BIG_ENDIAN", "if", "the", "least", "significant", "byte", "of", "the", "register", "has", "useful", "data", ",", "and", "return", "the", "opposite", "if", "the", "most", "significant", "byte", "does", ".", "For", "AAPCS", ",", "small", "aggregates", "and", "small", "complex", "types", "are", "always", "padded", "upwards", "."], "TS_V_token": ["arm", "4", "4"], "File": "arm", "Func": "arm_pad_reg_upward", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7107, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CAHPPassConfig", "::", "addPreEmitPass", "(", ")", "{", "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": ["CAHP", "CAHP"], "File": "CAHPTargetMachine", "Func": "addPreEmitPass", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7108, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsMulMulBugFix", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "MipsInstrInfo", "&", "MipsII", "=", "*", "static_cast", "<", "const", "MipsInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "Modified", "|=", "fixMulMulBB", "(", "MBB", ",", "MipsII", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsMulMulBugPass", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7109, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_internal_arg_pointer", "(", "void", ")", "{", "if", "(", "flag_split_stack", "&&", "(", "lookup_attribute", "(", "\"no_split_stack\"", ",", "DECL_ATTRIBUTES", "(", "cfun", "->", "decl", ")", ")", "==", "NULL", ")", ")", "{", "if", "(", "cfun", "->", "machine", "->", "split_stack_arg_pointer", "==", "NULL_RTX", ")", "{", "rtx", "pat", ";", "cfun", "->", "machine", "->", "split_stack_arg_pointer", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "REG_POINTER", "(", "cfun", "->", "machine", "->", "split_stack_arg_pointer", ")", "=", "1", ";", "pat", "=", "gen_rtx_SET", "(", "cfun", "->", "machine", "->", "split_stack_arg_pointer", ",", "gen_rtx_REG", "(", "Pmode", ",", "12", ")", ")", ";", "push_topmost_sequence", "(", ")", ";", "emit_insn_after", "(", "pat", ",", "get_insns", "(", ")", ")", ";", "pop_topmost_sequence", "(", ")", ";", "}", "return", "plus_constant", "(", "Pmode", ",", "cfun", "->", "machine", "->", "split_stack_arg_pointer", ",", "FIRST_PARM_OFFSET", "(", "current_function_decl", ")", ")", ";", "}", "return", "virtual_incoming_args_rtx", ";", "}", ""], "natrual_language": ["Return", "the", "internal", "arg", "pointer", "used", "for", "function", "incoming", "arguments", ".", "When", "-fsplit-stack", ",", "the", "arg", "pointer", "is", "r12", "so", "we", "need", "to", "copy", "it", "to", "a", "pseudo", "in", "order", "for", "it", "to", "be", "preserved", "over", "calls", "and", "suchlike", ".", "We", "'d", "really", "like", "to", "use", "a", "pseudo", "here", "for", "the", "internal", "arg", "pointer", "but", "data-flow", "analysis", "is", "not", "prepared", "to", "accept", "pseudos", "as", "live", "at", "the", "beginning", "of", "a", "function", "."], "TS_V_token": ["powerpcspe", "\"no_split_stack\"", "1", "12"], "File": "powerpcspe", "Func": "rs6000_internal_arg_pointer", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7110, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "sbitmap", "aarch64_get_separate_components", "(", "void", ")", "{", "sbitmap", "components", "=", "sbitmap_alloc", "(", "LAST_SAVED_REGNUM", "+", "1", ")", ";", "bitmap_clear", "(", "components", ")", ";", "for", "(", "unsigned", "regno", "=", "0", ";", "regno", "<=", "LAST_SAVED_REGNUM", ";", "regno", "++", ")", "if", "(", "aarch64_register_saved_on_entry", "(", "regno", ")", ")", "{", "machine_mode", "mode", "=", "aarch64_reg_save_mode", "(", "regno", ")", ";", "if", "(", "mode", "==", "VNx2DImode", "&&", "BYTES_BIG_ENDIAN", ")", "continue", ";", "poly_int64", "offset", "=", "cfun", "->", "machine", "->", "frame", ".", "reg_offset", "[", "regno", "]", ";", "if", "(", "flag_stack_clash_protection", "&&", "maybe_ne", "(", "cfun", "->", "machine", "->", "frame", ".", "below_hard_fp_saved_regs_size", ",", "0", ")", "&&", "known_eq", "(", "offset", ",", "0", ")", ")", "continue", ";", "if", "(", "frame_pointer_needed", ")", "offset", "-=", "cfun", "->", "machine", "->", "frame", ".", "below_hard_fp_saved_regs_size", ";", "else", "offset", "+=", "crtl", "->", "outgoing_args_size", ";", "if", "(", "aarch64_sve_mode_p", "(", "mode", ")", "?", "offset_9bit_signed_scaled_p", "(", "mode", ",", "offset", ")", ":", "offset_12bit_unsigned_scaled_p", "(", "mode", ",", "offset", ")", ")", "bitmap_set_bit", "(", "components", ",", "regno", ")", ";", "}", "if", "(", "frame_pointer_needed", ")", "bitmap_clear_bit", "(", "components", ",", "HARD_FRAME_POINTER_REGNUM", ")", ";", "if", "(", "cfun", "->", "machine", "->", "frame", ".", "spare_pred_reg", "!=", "INVALID_REGNUM", ")", "bitmap_clear_bit", "(", "components", ",", "cfun", "->", "machine", "->", "frame", ".", "spare_pred_reg", ")", ";", "unsigned", "reg1", "=", "cfun", "->", "machine", "->", "frame", ".", "wb_candidate1", ";", "unsigned", "reg2", "=", "cfun", "->", "machine", "->", "frame", ".", "wb_candidate2", ";", "if", "(", "reg2", "!=", "INVALID_REGNUM", ")", "bitmap_clear_bit", "(", "components", ",", "reg2", ")", ";", "if", "(", "reg1", "!=", "INVALID_REGNUM", ")", "bitmap_clear_bit", "(", "components", ",", "reg1", ")", ";", "bitmap_clear_bit", "(", "components", ",", "LR_REGNUM", ")", ";", "bitmap_clear_bit", "(", "components", ",", "SP_REGNUM", ")", ";", "return", "components", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SHRINK_WRAP_GET_SEPARATE_COMPONENTS", "."], "TS_V_token": ["aarch64", "1", "0", "0", "0"], "File": "aarch64", "Func": "aarch64_get_separate_components", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7111, "Length": 254, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasAndNot", "(", "SDValue", "Y", ")", "const", "override", "{", "EVT", "VT", "=", "Y", ".", "getValueType", "(", ")", ";", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "hasAndNotCompare", "(", "Y", ")", ";", "return", "VT", ".", "getSizeInBits", "(", ")", ">=", "64", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "has", "a", "bitwise", "and-not", "operation", ":", "X", "=", "~A", "&", "B", "This", "can", "be", "used", "to", "simplify", "select", "or", "other", "instructions", "."], "TS_V_token": ["AArch64", "64"], "File": "AArch64ISelLowering (2)2", "Func": "hasAndNot", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7112, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "initializePass", "(", ")", "override", "{", "pushTTIStack", "(", "this", ")", ";", "}", ""], "natrual_language": ["initializePass", "-", "This", "method", "may", "be", "overriden", "by", "immutable", "passes", "to", "allow", "them", "to", "perform", "various", "initialization", "actions", "they", "require", "."], "TS_V_token": ["PowerPC"], "File": "PPCTargetTransformInfo26", "Func": "initializePass", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7113, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "DLXPassConfig", "::", "addPreSched2", "(", ")", "{", "addPass", "(", "createDLXMemAluCombinerPass", "(", ")", ")", ";", "}", ""], "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": ["DLX", "DLX", "DLX"], "File": "DLXTargetMachine", "Func": "addPreSched2", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7114, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mt_setup_incoming_varargs", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "tree", "type", "ATTRIBUTE_UNUSED", ",", "int", "*", "pretend_size", ",", "int", "no_rtl", ")", "{", "int", "regno", ";", "int", "regs", "=", "MT_NUM_ARG_REGS", "-", "*", "cum", ";", "*", "pretend_size", "=", "regs", "<", "0", "?", "0", ":", "GET_MODE_SIZE", "(", "SImode", ")", "*", "regs", ";", "if", "(", "no_rtl", ")", "return", ";", "for", "(", "regno", "=", "*", "cum", ";", "regno", "<", "MT_NUM_ARG_REGS", ";", "regno", "++", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "FIRST_ARG_REGNUM", "+", "regno", ")", ";", "rtx", "slot", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "gen_rtx_REG", "(", "SImode", ",", "ARG_POINTER_REGNUM", ")", ",", "GEN_INT", "(", "UNITS_PER_WORD", "*", "regno", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "SImode", ",", "slot", ")", ",", "reg", ")", ";", "}", "}", ""], "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": ["mt", "0", "0"], "File": "mt", "Func": "mt_setup_incoming_varargs", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7115, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "DebugLoc", "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": "PPCISelLowering105", "Func": "LowerFormalArguments", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7116, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_reg_live_or_pic_offset_p", "(", "int", "reg", ")", "{", "return", "(", "(", "(", "crtl", "->", "calls_eh_return", "||", "df_regs_ever_live_p", "(", "reg", ")", ")", "&&", "(", "!", "call_used_regs", "[", "reg", "]", "||", "(", "reg", "==", "RS6000_PIC_OFFSET_TABLE_REGNUM", "&&", "!", "TARGET_SINGLE_PIC_BASE", "&&", "TARGET_TOC", "&&", "TARGET_MINIMAL_TOC", ")", ")", ")", "||", "(", "reg", "==", "RS6000_PIC_OFFSET_TABLE_REGNUM", "&&", "!", "TARGET_SINGLE_PIC_BASE", "&&", "(", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "flag_pic", "!=", "0", ")", "||", "(", "DEFAULT_ABI", "==", "ABI_DARWIN", "&&", "flag_pic", ")", ")", ")", ")", ";", "}", ""], "natrual_language": ["Determine", "whether", "the", "gp", "REG", "is", "really", "used", "."], "TS_V_token": ["rs6000", "0"], "File": "rs60004", "Func": "rs6000_reg_live_or_pic_offset_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7117, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCInstrInfo", "::", "getInstrLatency", "(", "const", "InstrItineraryData", "*", "ItinData", ",", "const", "MachineInstr", "&", "MI", ",", "unsigned", "*", "PredCost", ")", "const", "{", "if", "(", "!", "ItinData", "||", "UseOldLatencyCalc", ")", "return", "PPCGenInstrInfo", "::", "getInstrLatency", "(", "ItinData", ",", "MI", ",", "PredCost", ")", ";", "unsigned", "Latency", "=", "1", ";", "unsigned", "DefClass", "=", "MI", ".", "getDesc", "(", ")", ".", "getSchedClass", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "MI", ".", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "i", ")", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", "||", "!", "MO", ".", "isDef", "(", ")", "||", "MO", ".", "isImplicit", "(", ")", ")", "continue", ";", "int", "Cycle", "=", "ItinData", "->", "getOperandCycle", "(", "DefClass", ",", "i", ")", ";", "if", "(", "Cycle", "<", "0", ")", "continue", ";", "Latency", "=", "std", "::", "max", "(", "Latency", ",", "(", "unsigned", ")", "Cycle", ")", ";", "}", "return", "Latency", ";", "}", ""], "natrual_language": ["Compute", "the", "instruction", "latency", "of", "a", "given", "instruction", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "1", "0", "0"], "File": "PPCInstrInfo (2)2", "Func": "getInstrLatency", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7118, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "addPreISel", "(", ")", "{", "Triple", "TT", "(", "TM", "->", "getTargetTriple", "(", ")", ")", ";", "if", "(", "TT", ".", "isOSWindows", "(", ")", "&&", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86", ")", "addPass", "(", "createX86WinEHStatePass", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["X86", "X86", "X86"], "File": "X86TargetMachine99", "Func": "addPreISel", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7119, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "CJGInstrInfo", "::", "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", ")", "&&", "\"CJG 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", "(", "CJG", "::", "JMP", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "return", "1", ";", "}", "unsigned", "Count", "=", "0", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "CJG", "::", "JCC", ")", ")", ".", "addMBB", "(", "TBB", ")", ".", "addImm", "(", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ")", ";", "++", "Count", ";", "if", "(", "FBB", ")", "{", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "CJG", "::", "JMP", ")", ")", ".", "addMBB", "(", "FBB", ")", ";", "++", "Count", ";", "}", "return", "Count", ";", "}", ""], "natrual_language": ["Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "."], "TS_V_token": ["CJG", "CJG", "\"insertBranch must not be told to insert a fallthrough\"", "1", "0", "\"CJG branch conditions have one component!\"", "\"code size not handled\"", "\"Unconditional branch with multiple successors!\"", "CJG::JMP", "1", "0", "CJG::JCC", "0", "CJG::JMP"], "File": "CJGInstrInfo", "Func": "insertBranch", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7120, "Length": 186, "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", "(", ")", ")", ";", "(", "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::SREM", "ISD::SREM", "ISD::UREM", "ISD::UREM", "ISD::FP_TO_SINT", "ISD::TRUNCATE", "ISD::SINT_TO_FP", "AArch64"], "File": "AArch64FastISel20", "Func": "fastSelectInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7121, "Length": 475, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_microcoded_insn", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "!", "insn", "||", "!", "NONDEBUG_INSN_P", "(", "insn", ")", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "USE", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "CLOBBER", ")", "return", "false", ";", "if", "(", "rs6000_cpu_attr", "==", "CPU_CELL", ")", "return", "get_attr_cell_micro", "(", "insn", ")", "==", "CELL_MICRO_ALWAYS", ";", "if", "(", "rs6000_sched_groups", "&&", "(", "rs6000_cpu", "==", "PROCESSOR_POWER4", "||", "rs6000_cpu", "==", "PROCESSOR_POWER5", ")", ")", "{", "enum", "attr_type", "type", "=", "get_attr_type", "(", "insn", ")", ";", "if", "(", "(", "type", "==", "TYPE_LOAD", "&&", "get_attr_update", "(", "insn", ")", "==", "UPDATE_YES", "&&", "get_attr_sign_extend", "(", "insn", ")", "==", "SIGN_EXTEND_YES", ")", "||", "(", "(", "type", "==", "TYPE_LOAD", "||", "type", "==", "TYPE_STORE", ")", "&&", "get_attr_update", "(", "insn", ")", "==", "UPDATE_YES", "&&", "get_attr_indexed", "(", "insn", ")", "==", "INDEXED_YES", ")", "||", "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": "rs60004", "Func": "is_microcoded_insn", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7122, "Length": 141, "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": 7123, "Length": 295, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "getFramePointerSaveOffset", "(", "bool", "isPPC64", ",", "bool", "isDarwinABI", ")", "{", "if", "(", "isDarwinABI", ")", "return", "isPPC64", "?", "40", ":", "20", ";", "return", "-", "4U", ";", "}", ""], "natrual_language": ["getFramePointerSaveOffset", "-", "Return", "the", "previous", "frame", "offset", "to", "save", "the", "frame", "pointer", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "40", "20", "4U"], "File": "PPCFrameInfo2", "Func": "getFramePointerSaveOffset", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7124, "Length": 27, "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", "{", "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": "X86AsmBackend35", "Func": "applyFixup", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7125, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb1InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tMOVr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ")", ";", "assert", "(", "ARM", "::", "GPRRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", "&&", "\"Thumb1 can only copy GPR registers\"", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["ARM", "ARM::tMOVr", "ARM::GPRRegClass", "\"Thumb1 can only copy GPR registers\""], "File": "Thumb1InstrInfo", "Func": "copyPhysReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7126, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "pad_direction", "arm_function_arg_padding", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "if", "(", "!", "TARGET_AAPCS_BASED", ")", "return", "default_function_arg_padding", "(", "mode", ",", "type", ")", ";", "if", "(", "type", "&&", "BYTES_BIG_ENDIAN", "&&", "INTEGRAL_TYPE_P", "(", "type", ")", ")", "return", "PAD_DOWNWARD", ";", "return", "PAD_UPWARD", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_ARG_PADDING", ";", "return", "PAD_UPWARD", "if", "the", "lowest", "byte", "of", "a", "stack", "argument", "has", "useful", "data", ".", "For", "legacy", "APCS", "ABIs", "we", "use", "the", "default", ".", "For", "AAPCS", "based", "ABIs", "small", "aggregate", "types", "are", "placed", "in", "the", "lowest", "memory", "address", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_function_arg_padding", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7127, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "SystemZMCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "Ctx", ".", "getRegisterInfo", "(", ")", "->", "getEncodingValue", "(", "MO", ".", "getReg", "(", ")", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "static_cast", "<", "uint64_t", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "llvm_unreachable", "(", "\"Unexpected operand type!\"", ")", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"Unexpected operand type!\""], "File": "SystemZMCCodeEmitter", "Func": "getMachineOpValue", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7128, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MINA32PassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createMINA32ISelDag", "(", "getMINA32TargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["MINA32", "MINA32", "MINA32", "MINA32"], "File": "MINA32TargetMachine", "Func": "addInstSelector", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7129, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_darwin64_record_arg_recurse", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "const_tree", "type", ",", "HOST_WIDE_INT", "startbitpos", ",", "rtx", "rvec", "[", "]", ",", "int", "*", "k", ")", "{", "tree", "f", ";", "for", "(", "f", "=", "TYPE_FIELDS", "(", "type", ")", ";", "f", ";", "f", "=", "DECL_CHAIN", "(", "f", ")", ")", "if", "(", "TREE_CODE", "(", "f", ")", "==", "FIELD_DECL", ")", "{", "HOST_WIDE_INT", "bitpos", "=", "startbitpos", ";", "tree", "ftype", "=", "TREE_TYPE", "(", "f", ")", ";", "machine_mode", "mode", ";", "if", "(", "ftype", "==", "error_mark_node", ")", "continue", ";", "mode", "=", "TYPE_MODE", "(", "ftype", ")", ";", "if", "(", "DECL_SIZE", "(", "f", ")", "!=", "0", "&&", "tree_fits_uhwi_p", "(", "bit_position", "(", "f", ")", ")", ")", "bitpos", "+=", "int_bit_position", "(", "f", ")", ";", "if", "(", "TREE_CODE", "(", "ftype", ")", "==", "RECORD_TYPE", ")", "rs6000_darwin64_record_arg_recurse", "(", "cum", ",", "ftype", ",", "bitpos", ",", "rvec", ",", "k", ")", ";", "else", "if", "(", "cum", "->", "named", "&&", "USE_FP_FOR_ARG_P", "(", "cum", ",", "mode", ")", ")", "{", "unsigned", "n_fpreg", "=", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "7", ")", ">>", "3", ";", "switch", "(", "mode", ")", "{", "case", "SCmode", ":", "mode", "=", "SFmode", ";", "break", ";", "case", "DCmode", ":", "mode", "=", "DFmode", ";", "break", ";", "case", "TCmode", ":", "mode", "=", "TFmode", ";", "break", ";", "default", ":", "break", ";", "}", "rs6000_darwin64_record_arg_flush", "(", "cum", ",", "bitpos", ",", "rvec", ",", "k", ")", ";", "if", "(", "cum", "->", "fregno", "+", "n_fpreg", ">", "FP_ARG_MAX_REG", "+", "1", ")", "{", "gcc_assert", "(", "cum", "->", "fregno", "==", "FP_ARG_MAX_REG", "&&", "(", "mode", "==", "TFmode", "||", "mode", "==", "TDmode", ")", ")", ";", "mode", "=", "DECIMAL_FLOAT_MODE_P", "(", "mode", ")", "?", "DDmode", ":", "DFmode", ";", "cum", "->", "use_stack", "=", "1", ";", "}", "rvec", "[", "(", "*", "k", ")", "++", "]", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "mode", ",", "cum", "->", "fregno", "++", ")", ",", "GEN_INT", "(", "bitpos", "/", "BITS_PER_UNIT", ")", ")", ";", "if", "(", "FLOAT128_2REG_P", "(", "mode", ")", ")", "cum", "->", "fregno", "++", ";", "}", "else", "if", "(", "cum", "->", "named", "&&", "USE_ALTIVEC_FOR_ARG_P", "(", "cum", ",", "mode", ",", "1", ")", ")", "{", "rs6000_darwin64_record_arg_flush", "(", "cum", ",", "bitpos", ",", "rvec", ",", "k", ")", ";", "rvec", "[", "(", "*", "k", ")", "++", "]", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "mode", ",", "cum", "->", "vregno", "++", ")", ",", "GEN_INT", "(", "bitpos", "/", "BITS_PER_UNIT", ")", ")", ";", "}", "else", "if", "(", "cum", "->", "intoffset", "==", "-", "1", ")", "cum", "->", "intoffset", "=", "bitpos", ";", "}", "}", ""], "natrual_language": ["Recursive", "workhorse", "for", "the", "following", "."], "TS_V_token": ["rs6000", "0", "7", "3", "1", "1", "1", "1"], "File": "rs60005", "Func": "rs6000_darwin64_record_arg_recurse", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7130, "Length": 381, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetStreamer", "::", "emitGPRestore", "(", "int", "Offset", ",", "SMLoc", "IDLoc", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "{", "emitLoadWithImmOffset", "(", "Mips", "::", "LW", ",", "GPReg", ",", "Mips", "::", "SP", ",", "Offset", ",", "GPReg", ",", "IDLoc", ",", "STI", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "$", "gp", "restore", "operation", "for", ".cprestore", "."], "TS_V_token": ["Mips", "Mips", "Mips::LW", "Mips::SP"], "File": "MipsTargetStreamer (2)1", "Func": "emitGPRestore", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7131, "Length": 39, "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": ["AZPR"], "File": "AZPRTargetMachine", "Func": "getDataLayout", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7132, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "vr4130_avoid_branch_rt_conflict", "(", "rtx", "insn", ")", "{", "rtx", "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": "mips3", "Func": "vr4130_avoid_branch_rt_conflict", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7133, "Length": 198, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_fixed_condition_code_regs", "(", "unsigned", "int", "*", "p1", ",", "unsigned", "int", "*", "p2", ")", "{", "*", "p1", "=", "FLAGS_REG", ";", "*", "p2", "=", "FPSR_REG", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "the", "fixed", "registers", "used", "for", "condition", "codes", "."], "TS_V_token": ["i386"], "File": "i3863", "Func": "ix86_fixed_condition_code_regs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7134, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_is_valid_and_mask", "(", "rtx", "mask", ",", "machine_mode", "mode", ")", "{", "int", "nb", ",", "ne", ";", "if", "(", "!", "rs6000_is_valid_mask", "(", "mask", ",", "&", "nb", ",", "&", "ne", ",", "mode", ")", ")", "return", "false", ";", "if", "(", "mode", "==", "DImode", ")", "return", "(", "ne", "==", "0", "||", "nb", "==", "63", "||", "(", "nb", "<", "32", "&&", "ne", "<=", "nb", ")", ")", ";", "if", "(", "mode", "==", "SImode", ")", "return", "(", "nb", "<", "32", "&&", "ne", "<", "32", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "whether", "MASK", "(", "a", "CONST_INT", ")", "is", "a", "valid", "mask", "for", "any", "rlwinm", ",", "rldicl", ",", "or", "rldicr", "instruction", ",", "to", "implement", "an", "AND", "with", "it", "in", "mode", "MODE", "."], "TS_V_token": ["powerpcspe", "0", "63", "32", "32", "32"], "File": "powerpcspe", "Func": "rs6000_is_valid_and_mask", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7135, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_strict_argument_naming", "(", "cumulative_args_t", "ca", "ATTRIBUTE_UNUSED", ")", "{", "return", "TARGET_ARCH64", "?", "true", ":", "false", ";", "}", ""], "natrual_language": ["Handle", "the", "TARGET_STRICT_ARGUMENT_NAMING", "target", "hook", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "sparc_strict_argument_naming", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7136, "Length": 17, "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", "=", "isAcquireOrStronger", "(", "Ord", ")", ";", "if", "(", "ValTy", "->", "getPrimitiveSizeInBits", "(", ")", "==", "64", ")", "{", "Intrinsic", "::", "ID", "Int", "=", "IsAcquire", "?", "Intrinsic", "::", "arm_ldaexd", ":", "Intrinsic", "::", "arm_ldrexd", ";", "Function", "*", "Ldrex", "=", "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", "=", "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)6", "Func": "emitLoadLinked", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7137, "Length": 318, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMFrameLowering", "::", "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": "ARMFrameLowering100", "Func": "canSimplifyCallFramePseudos", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7138, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "decomposeMulByConstant", "(", "LLVMContext", "&", "Context", ",", "EVT", "VT", ",", "SDValue", "C", ")", "const", "{", "APInt", "MulC", ";", "if", "(", "!", "ISD", "::", "isConstantSplatVector", "(", "C", ".", "getNode", "(", ")", ",", "MulC", ")", ")", "return", "false", ";", "while", "(", "getTypeAction", "(", "Context", ",", "VT", ")", "!=", "TypeLegal", ")", "VT", "=", "getTypeToTransformTo", "(", "Context", ",", "VT", ")", ";", "if", "(", "isOperationLegal", "(", "ISD", "::", "MUL", ",", "VT", ")", ")", "return", "false", ";", "return", "(", "MulC", "+", "1", ")", ".", "isPowerOf2", "(", ")", "||", "(", "MulC", "-", "1", ")", ".", "isPowerOf2", "(", ")", "||", "(", "1", "-", "MulC", ")", ".", "isPowerOf2", "(", ")", "||", "(", "-", "(", "MulC", "+", "1", ")", ")", ".", "isPowerOf2", "(", ")", ";", "}", ""], "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": ["X86", "X86", "ISD::isConstantSplatVector", "ISD::MUL", "1", "1", "1", "1"], "File": "X86ISelLowering (2)6", "Func": "decomposeMulByConstant", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7139, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", "ATTRIBUTE_UNUSED", ")", "{", "int", "call_type", "=", "TARGET_LONG_CALLS", "?", "CALL_LONG", ":", "CALL_NORMAL", ";", "if", "(", "cfun", "->", "machine", "->", "sibcall_blocked", ")", "return", "false", ";", "if", "(", "decl", "==", "NULL", "||", "TARGET_THUMB", ")", "return", "false", ";", "if", "(", "lookup_attribute", "(", "\"short_call\"", ",", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "decl", ")", ")", ")", ")", "call_type", "=", "CALL_SHORT", ";", "else", "if", "(", "lookup_attribute", "(", "\"long_call\"", ",", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "decl", ")", ")", ")", ")", "call_type", "=", "CALL_LONG", ";", "if", "(", "call_type", "==", "CALL_LONG", "&&", "(", "flag_pic", "||", "!", "TREE_ASM_WRITTEN", "(", "decl", ")", ")", ")", "return", "false", ";", "if", "(", "TARGET_INTERWORK", "&&", "TREE_PUBLIC", "(", "decl", ")", "&&", "!", "TREE_ASM_WRITTEN", "(", "decl", ")", ")", "return", "false", ";", "if", "(", "IS_INTERRUPT", "(", "arm_current_func_type", "(", ")", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "non-zero", "if", "it", "is", "ok", "to", "make", "a", "tail-call", "to", "DECL", "."], "TS_V_token": ["arm", "\"short_call\"", "\"long_call\""], "File": "arm3", "Func": "arm_function_ok_for_sibcall", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7140, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64RegisterInfo", "::", "requiresVirtualBaseRegisters", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "wants", "the", "LocalStackAllocation", "pass", "to", "be", "run", "and", "virtual", "base", "registers", "used", "for", "more", "efficient", "stack", "access", "."], "TS_V_token": ["ARM64", "ARM64"], "File": "ARM64RegisterInfo", "Func": "requiresVirtualBaseRegisters", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7141, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isLegalAddressingMode", "(", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ")", "const", "{", "EVT", "VT", "=", "getValueType", "(", "Ty", ",", "true", ")", ";", "if", "(", "!", "isLegalAddressImmediate", "(", "AM", ".", "BaseOffs", ",", "VT", ",", "Subtarget", ")", ")", "return", "false", ";", "if", "(", "AM", ".", "BaseGV", ")", "return", "false", ";", "switch", "(", "AM", ".", "Scale", ")", "{", "case", "0", ":", "break", ";", "case", "1", ":", "if", "(", "Subtarget", "->", "isThumb1Only", "(", ")", ")", "return", "false", ";", "default", ":", "if", "(", "AM", ".", "BaseOffs", ")", "return", "false", ";", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "if", "(", "Subtarget", "->", "isThumb2", "(", ")", ")", "return", "isLegalT2ScaledAddressingMode", "(", "AM", ",", "VT", ")", ";", "int", "Scale", "=", "AM", ".", "Scale", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "return", "false", ";", "case", "MVT", "::", "i1", ":", "case", "MVT", "::", "i8", ":", "case", "MVT", "::", "i32", ":", "if", "(", "Scale", "<", "0", ")", "Scale", "=", "-", "Scale", ";", "if", "(", "Scale", "==", "1", ")", "return", "true", ";", "return", "isPowerOf2_32", "(", "Scale", "&", "~", "1", ")", ";", "case", "MVT", "::", "i16", ":", "case", "MVT", "::", "i64", ":", "if", "(", "(", "(", "unsigned", ")", "AM", ".", "HasBaseReg", "+", "Scale", ")", "<=", "2", ")", "return", "true", ";", "return", "false", ";", "case", "MVT", "::", "isVoid", ":", "if", "(", "Scale", "&", "1", ")", "return", "false", ";", "return", "isPowerOf2_32", "(", "Scale", ")", ";", "}", "}", "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": ["ARM", "ARM", "0", "1", "MVT::i1", "MVT::i8", "MVT::i32", "0", "1", "1", "MVT::i16", "MVT::i64", "2", "MVT::isVoid", "1"], "File": "ARMISelLowering132", "Func": "isLegalAddressingMode", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7142, "Length": 244, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_seh_fixup_eh_fallthru", "(", "void", ")", "{", "edge", "e", ";", "edge_iterator", "ei", ";", "FOR_EACH_EDGE", "(", "e", ",", "ei", ",", "EXIT_BLOCK_PTR_FOR_FN", "(", "cfun", ")", "->", "preds", ")", "{", "rtx_insn", "*", "insn", ",", "*", "next", ";", "for", "(", "insn", "=", "BB_END", "(", "e", "->", "src", ")", ";", "insn", "!=", "NULL", ";", "insn", "=", "PREV_INSN", "(", "insn", ")", ")", "if", "(", "NOTE_P", "(", "insn", ")", "&&", "NOTE_KIND", "(", "insn", ")", "==", "NOTE_INSN_EPILOGUE_BEG", ")", "break", ";", "if", "(", "insn", "==", "NULL", ")", "continue", ";", "insn", "=", "prev_active_insn", "(", "insn", ")", ";", "if", "(", "insn", "==", "NULL", "||", "!", "can_throw_internal", "(", "insn", ")", ")", "continue", ";", "for", "(", "next", "=", "NEXT_INSN", "(", "insn", ")", ";", "next", "!=", "NULL", ";", "next", "=", "NEXT_INSN", "(", "next", ")", ")", "if", "(", "NOTE_P", "(", "next", ")", "&&", "(", "NOTE_KIND", "(", "next", ")", "==", "NOTE_INSN_VAR_LOCATION", "||", "NOTE_KIND", "(", "next", ")", "==", "NOTE_INSN_CALL_ARG_LOCATION", ")", ")", "insn", "=", "next", ";", "else", "break", ";", "emit_insn_after", "(", "gen_nops", "(", "const1_rtx", ")", ",", "insn", ")", ";", "}", "}", ""], "natrual_language": ["Fix", "up", "a", "Windows", "system", "unwinder", "issue", ".", "If", "an", "EH", "region", "falls", "through", "into", "the", "epilogue", ",", "the", "Windows", "system", "unwinder", "will", "apply", "epilogue", "logic", "and", "produce", "incorrect", "offsets", ".", "This", "can", "be", "avoided", "by", "adding", "a", "nop", "between", "the", "last", "insn", "that", "can", "throw", "and", "the", "first", "insn", "of", "the", "epilogue", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_seh_fixup_eh_fallthru", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7143, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "useLoadStackGuardNode", "(", ")", "const", "{", "return", "Subtarget", "->", "getTargetTriple", "(", ")", ".", "getObjectFormat", "(", ")", "==", "Triple", "::", "MachO", "&&", "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": "X86ISelLowering188", "Func": "useLoadStackGuardNode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7144, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "OR1KTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "(", "OR1KISD", "::", "NodeType", ")", "Opcode", ")", "{", "default", ":", "return", "NULL", ";", "case", "OR1KISD", "::", "ADJDYNALLOC", ":", "return", "\"OR1KISD::ADJDYNALLOC\"", ";", "case", "OR1KISD", "::", "RET_FLAG", ":", "return", "\"OR1KISD::RET_FLAG\"", ";", "case", "OR1KISD", "::", "CALL", ":", "return", "\"OR1KISD::CALL\"", ";", "case", "OR1KISD", "::", "SELECT_CC", ":", "return", "\"OR1KISD::SELECT_CC\"", ";", "case", "OR1KISD", "::", "SET_FLAG", ":", "return", "\"OR1KISD::SET_FLAG\"", ";", "case", "OR1KISD", "::", "BR_CC", ":", "return", "\"OR1KISD::BR_CC\"", ";", "case", "OR1KISD", "::", "Wrapper", ":", "return", "\"OR1KISD::Wrapper\"", ";", "case", "OR1KISD", "::", "FF1", ":", "return", "\"OR1KISD::FF1\"", ";", "case", "OR1KISD", "::", "FL1", ":", "return", "\"OR1KISD::FL1\"", ";", "case", "OR1KISD", "::", "HI", ":", "return", "\"OR1KISD::HI\"", ";", "case", "OR1KISD", "::", "LO", ":", "return", "\"OR1KISD::LO\"", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["OR1K", "OR1K", "OR1KISD::NodeType", "OR1KISD::ADJDYNALLOC", "\"OR1KISD::ADJDYNALLOC\"", "OR1KISD::RET_FLAG", "\"OR1KISD::RET_FLAG\"", "OR1KISD::CALL", "\"OR1KISD::CALL\"", "OR1KISD::SELECT_CC", "\"OR1KISD::SELECT_CC\"", "OR1KISD::SET_FLAG", "\"OR1KISD::SET_FLAG\"", "OR1KISD::BR_CC", "\"OR1KISD::BR_CC\"", "OR1KISD::Wrapper", "\"OR1KISD::Wrapper\"", "OR1KISD::FF1", "\"OR1KISD::FF1\"", "OR1KISD::FL1", "\"OR1KISD::FL1\"", "OR1KISD::HI", "\"OR1KISD::HI\"", "OR1KISD::LO", "\"OR1KISD::LO\""], "File": "OR1KISelLowering1", "Func": "getTargetNodeName", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7145, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm32_output_mi_thunk", "(", "FILE", "*", "file", ",", "tree", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", ",", "tree", "function", ")", "{", "int", "this_regno", "=", "(", "aggregate_value_p", "(", "TREE_TYPE", "(", "TREE_TYPE", "(", "function", ")", ")", ",", "function", ")", "?", "R1_REGNUM", ":", "R0_REGNUM", ")", ";", "rtx", "temp", "=", "gen_rtx_REG", "(", "Pmode", ",", "IP_REGNUM", ")", ";", "rtx", "this_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "this_regno", ")", ";", "reload_completed", "=", "1", ";", "emit_note", "(", "NOTE_INSN_PROLOGUE_END", ")", ";", "if", "(", "delta", "!=", "0", ")", "arm_split_constant", "(", "PLUS", ",", "Pmode", ",", "NULL_RTX", ",", "delta", ",", "this_rtx", ",", "this_rtx", ",", "false", ")", ";", "if", "(", "vcall_offset", "!=", "0", ")", "{", "emit_move_insn", "(", "temp", ",", "gen_rtx_MEM", "(", "Pmode", ",", "this_rtx", ")", ")", ";", "arm_split_constant", "(", "PLUS", ",", "Pmode", ",", "NULL_RTX", ",", "vcall_offset", ",", "temp", ",", "temp", ",", "false", ")", ";", "emit_move_insn", "(", "temp", ",", "gen_rtx_MEM", "(", "Pmode", ",", "temp", ")", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "this_rtx", ",", "this_rtx", ",", "temp", ")", ")", ";", "}", "if", "(", "!", "TREE_USED", "(", "function", ")", ")", "{", "assemble_external", "(", "function", ")", ";", "TREE_USED", "(", "function", ")", "=", "1", ";", "}", "rtx", "funexp", "=", "XEXP", "(", "DECL_RTL", "(", "function", ")", ",", "0", ")", ";", "funexp", "=", "gen_rtx_MEM", "(", "FUNCTION_MODE", ",", "funexp", ")", ";", "rtx_insn", "*", "insn", "=", "emit_call_insn", "(", "gen_sibcall", "(", "funexp", ",", "const0_rtx", ",", "NULL_RTX", ")", ")", ";", "SIBLING_CALL_P", "(", "insn", ")", "=", "1", ";", "insn", "=", "get_insns", "(", ")", ";", "shorten_branches", "(", "insn", ")", ";", "final_start_function", "(", "insn", ",", "file", ",", "1", ")", ";", "final", "(", "insn", ",", "file", ",", "1", ")", ";", "final_end_function", "(", ")", ";", "reload_completed", "=", "0", ";", "}", ""], "natrual_language": ["MI", "thunk", "handling", "for", "TARGET_32BIT", "."], "TS_V_token": ["arm", "1", "0", "0", "1", "0", "1", "1", "1", "0"], "File": "arm6", "Func": "arm32_output_mi_thunk", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7146, "Length": 260, "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_rdffr", ":", "return", "instCombineRDFFR", "(", "IC", ",", "II", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_lasta", ":", "case", "Intrinsic", "::", "aarch64_sve_lastb", ":", "return", "instCombineSVELast", "(", "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_rdffr", "Intrinsic::aarch64_sve_lasta", "Intrinsic::aarch64_sve_lastb"], "File": "AArch64TargetTransformInfo27", "Func": "instCombineIntrinsic", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7147, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "MipsGNUInfo", "::", "flags", "(", ")", "const", "{", "return", "m_ElfFlags", ";", "}", ""], "natrual_language": ["Get", "the", "flags", "for", "this", "GlobalValue", "(", "see", "struct", "GVFlags", ")", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsGNUInfo", "Func": "flags", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7148, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "MipsInstPrinter", "::", "getOpcodeName", "(", "unsigned", "Opcode", ")", "const", "{", "return", "getInstructionName", "(", "Opcode", ")", ";", "}", ""], "natrual_language": ["Return", "a", "string", "representation", "for", "an", "opcode", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsInstPrinter24", "Func": "getOpcodeName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7149, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "PPCTargetLowering", "::", "getExceptionSelectorRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "{", "return", "Subtarget", ".", "isPPC64", "(", ")", "?", "PPC", "::", "X4", ":", "PPC", "::", "R4", ";", "}", ""], "natrual_language": ["If", "a", "physical", "register", ",", "this", "returns", "the", "register", "that", "receives", "the", "exception", "typeid", "on", "entry", "to", "a", "landing", "pad", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::X4", "PPC::R4"], "File": "PPCISelLowering100", "Func": "getExceptionSelectorRegister", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7150, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "set_to_load_agen", "(", "rtx_insn", "*", "out_insn", ",", "rtx_insn", "*", "in_insn", ")", "{", "rtx", "out_set", ",", "in_set", ";", "out_set", "=", "single_set", "(", "out_insn", ")", ";", "if", "(", "out_set", ")", "{", "in_set", "=", "single_set", "(", "in_insn", ")", ";", "if", "(", "in_set", ")", "return", "reg_mentioned_p", "(", "SET_DEST", "(", "out_set", ")", ",", "SET_SRC", "(", "in_set", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["The", "function", "returns", "true", "if", "out_inst", "sets", "a", "value", "that", "is", "used", "in", "the", "address", "generation", "computation", "of", "in_insn"], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "set_to_load_agen", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7151, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_expand_builtin_compare", "(", "enum", "mips_builtin_type", "builtin_type", ",", "enum", "insn_code", "icode", ",", "enum", "mips_fp_condition", "cond", ",", "rtx", "target", ",", "tree", "exp", ")", "{", "rtx", "offset", ",", "condition", ",", "cmp_result", ";", "if", "(", "target", "==", "0", "||", "GET_MODE", "(", "target", ")", "!=", "SImode", ")", "target", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "cmp_result", "=", "mips_expand_builtin_compare_1", "(", "icode", ",", "cond", ",", "exp", ",", "call_expr_nargs", "(", "exp", ")", ")", ";", "switch", "(", "builtin_type", ")", "{", "case", "MIPS_BUILTIN_CMP_ALL", ":", "condition", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "cmp_result", ",", "constm1_rtx", ")", ";", "return", "mips_builtin_branch_and_move", "(", "condition", ",", "target", ",", "const0_rtx", ",", "const1_rtx", ")", ";", "case", "MIPS_BUILTIN_CMP_UPPER", ":", "case", "MIPS_BUILTIN_CMP_LOWER", ":", "offset", "=", "GEN_INT", "(", "builtin_type", "==", "MIPS_BUILTIN_CMP_UPPER", ")", ";", "condition", "=", "gen_single_cc", "(", "cmp_result", ",", "offset", ")", ";", "return", "mips_builtin_branch_and_move", "(", "condition", ",", "target", ",", "const1_rtx", ",", "const0_rtx", ")", ";", "default", ":", "condition", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "cmp_result", ",", "const0_rtx", ")", ";", "return", "mips_builtin_branch_and_move", "(", "condition", ",", "target", ",", "const1_rtx", ",", "const0_rtx", ")", ";", "}", "}", ""], "natrual_language": ["Expand", "a", "comparison", "builtin", "of", "type", "BUILTIN_TYPE", ".", "ICODE", "is", "the", "code", "of", "the", "comparison", "instruction", "and", "COND", "is", "the", "condition", "it", "should", "test", ".", "ARGLIST", "is", "the", "list", "of", "function", "arguments", "and", "TARGET", ",", "if", "nonnull", ",", "suggests", "a", "good", "place", "to", "put", "the", "boolean", "result", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips_expand_builtin_compare", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7152, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "loongarch_legitimize_move", "(", "machine_mode", "mode", ",", "rtx", "dest", ",", "rtx", "src", ")", "{", "if", "(", "!", "register_operand", "(", "dest", ",", "mode", ")", "&&", "!", "reg_or_0_operand", "(", "src", ",", "mode", ")", ")", "{", "loongarch_emit_move", "(", "dest", ",", "force_reg", "(", "mode", ",", "src", ")", ")", ";", "return", "true", ";", "}", "if", "(", "!", "register_operand", "(", "dest", ",", "mode", ")", "&&", "!", "register_operand", "(", "src", ",", "mode", ")", "&&", "!", "const_0_operand", "(", "src", ",", "mode", ")", ")", "{", "loongarch_emit_move", "(", "dest", ",", "force_reg", "(", "mode", ",", "src", ")", ")", ";", "return", "true", ";", "}", "if", "(", "CONSTANT_P", "(", "src", ")", "&&", "!", "move_operand", "(", "src", ",", "mode", ")", ")", "{", "loongarch_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", "move", "instruction", ",", "emit", "an", "equivalent", "sequence", "that", "is", "valid", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_legitimize_move", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7153, "Length": 138, "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": 7154, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LC2200FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "assert", "(", "&", "MF", ".", "front", "(", ")", "==", "&", "MBB", "&&", "\"Shrink-wrapping not yet supported\"", ")", ";", "bool", "hasFramePointer", "=", "hasFP", "(", "MF", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "LC2200RegisterInfo", "*", "RI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "const", "LC2200InstrInfo", "*", "TII", "=", "STI", ".", "getInstrInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "if", "(", "RI", "->", "needsStackRealignment", "(", "MF", ")", "&&", "MFI", ".", "hasVarSizedObjects", "(", ")", ")", "{", "report_fatal_error", "(", "\"RISC-V backend can't currently handle functions that need stack \"", "\"realignment and have variable sized objects\"", ")", ";", "}", "Register", "FPReg", "=", "LC2200", "::", "fp", ";", "Register", "SPReg", "=", "LC2200", "::", "sp", ";", "DebugLoc", "DL", ";", "determineFrameLayout", "(", "MF", ")", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "hasFramePointer", ")", "StackSize", "++", ";", "if", "(", "StackSize", "==", "0", "&&", "!", "MFI", ".", "adjustsStack", "(", ")", ")", "return", ";", "adjustReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "SPReg", ",", "SPReg", ",", "-", "StackSize", ",", "MachineInstr", "::", "FrameSetup", ")", ";", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createDefCfaOffset", "(", "nullptr", ",", "-", "StackSize", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "if", "(", "hasFramePointer", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "LC2200", "::", "SW", ")", ")", ".", "addReg", "(", "LC2200", "::", "fp", ")", ".", "addReg", "(", "LC2200", "::", "sp", ")", ".", "addImm", "(", "StackSize", "-", "1", ")", ";", "}", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "std", "::", "advance", "(", "MBBI", ",", "CSI", ".", "size", "(", ")", ")", ";", "for", "(", "const", "auto", "&", "Entry", ":", "CSI", ")", "{", "int64_t", "Offset", "=", "MFI", ".", "getObjectOffset", "(", "Entry", ".", "getFrameIdx", "(", ")", ")", ";", "Register", "Reg", "=", "Entry", ".", "getReg", "(", ")", ";", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createOffset", "(", "nullptr", ",", "RI", "->", "getDwarfRegNum", "(", "Reg", ",", "true", ")", ",", "Offset", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "}", "if", "(", "hasFramePointer", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "LC2200", "::", "ADD", ")", ")", ".", "addReg", "(", "LC2200", "::", "fp", ")", ".", "addReg", "(", "LC2200", "::", "sp", ")", ".", "addReg", "(", "LC2200", "::", "zero", ")", ";", "const", "LC2200RegisterInfo", "*", "RI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "if", "(", "RI", "->", "needsStackRealignment", "(", "MF", ")", ")", "{", "llvm_unreachable", "(", "\"cannot realign\"", ")", ";", "}", "}", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["LC2200", "LC2200", "\"Shrink-wrapping not yet supported\"", "LC2200", "LC2200", "\"RISC-V backend can't currently handle functions that need stack \"", "\"realignment and have variable sized objects\"", "LC2200::fp", "LC2200::sp", "0", "LC2200::SW", "LC2200::fp", "LC2200::sp", "1", "LC2200::ADD", "LC2200::fp", "LC2200::sp", "LC2200::zero", "LC2200", "\"cannot realign\""], "File": "LC2200FrameLowering", "Func": "emitPrologue", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7155, "Length": 448, "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": 7156, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "unsigned", "Opc", ";", "if", "(", "RC", "==", "Mips", "::", "CPURegsRegisterClass", ")", "Opc", "=", "Mips", "::", "LW", ";", "else", "if", "(", "RC", "==", "Mips", "::", "FGR32RegisterClass", ")", "Opc", "=", "Mips", "::", "LWC1", ";", "else", "if", "(", "RC", "==", "Mips", "::", "AFGR64RegisterClass", ")", "Opc", "=", "Mips", "::", "LDC1", ";", "else", "assert", "(", "0", "&&", "\"Can't load this register from stack slot\"", ")", ";", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DestReg", ")", ".", "addImm", "(", "0", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["Mips", "Mips", "Mips::CPURegsRegisterClass", "Mips::LW", "Mips::FGR32RegisterClass", "Mips::LWC1", "Mips::AFGR64RegisterClass", "Mips::LDC1", "0", "\"Can't load this register from stack slot\"", "0"], "File": "MipsInstrInfo44", "Func": "loadRegFromStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7157, "Length": 136, "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": 7158, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "changedInstr", "(", "MachineInstr", "&", "MI", ")", "override", "{", "}", ""], "natrual_language": ["This", "instruction", "was", "mutated", "in", "some", "way", "."], "TS_V_token": ["Mips"], "File": "MipsRegisterBankInfo10", "Func": "changedInstr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7159, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "scalar_chain", "::", "convert", "(", ")", "{", "bitmap_iterator", "bi", ";", "unsigned", "id", ";", "int", "converted_insns", "=", "0", ";", "if", "(", "!", "dbg_cnt", "(", "stv_conversion", ")", ")", "return", "0", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Converting chain #%d...\\n\"", ",", "chain_id", ")", ";", "convert_registers", "(", ")", ";", "EXECUTE_IF_SET_IN_BITMAP", "(", "insns", ",", "0", ",", "id", ",", "bi", ")", "{", "rtx_insn", "*", "insn", "=", "DF_INSN_UID_GET", "(", "id", ")", "->", "insn", ";", "convert_insn_common", "(", "insn", ")", ";", "convert_insn", "(", "insn", ")", ";", "converted_insns", "++", ";", "}", "return", "converted_insns", ";", "}", ""], "natrual_language": ["Convert", "whole", "chain", "creating", "required", "register", "conversions", "and", "copies", "."], "TS_V_token": ["i386", "0", "0", "\"Converting chain #%d...\\n\"", "0"], "File": "i386-features1", "Func": "convert", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7160, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "mips_dwarf_frame_reg_mode", "(", "int", "regno", ")", "{", "machine_mode", "mode", "=", "default_dwarf_frame_reg_mode", "(", "regno", ")", ";", "if", "(", "FP_REG_P", "(", "regno", ")", "&&", "mips_abi", "==", "ABI_32", "&&", "!", "TARGET_FLOAT32", ")", "mode", "=", "SImode", ";", "return", "mode", ";", "}", ""], "natrual_language": ["Implement", "TARGET_DWARF_FRAME_REG_MODE", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_dwarf_frame_reg_mode", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7161, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86TargetLowering", "::", "initializeSplitCSR", "(", "MachineBasicBlock", "*", "Entry", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "is64Bit", "(", ")", ")", "return", ";", "X86MachineFunctionInfo", "*", "AFI", "=", "Entry", "->", "getParent", "(", ")", "->", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "AFI", "->", "setIsSplitCSR", "(", "true", ")", ";", "}", ""], "natrual_language": ["Perform", "necessary", "initialization", "to", "handle", "a", "subset", "of", "CSRs", "explicitly", "via", "copies", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86ISelLowering (2)5", "Func": "initializeSplitCSR", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7162, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "LanaiTargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "LLT", ",", "const", "MachineFunction", "&", ")", "const", "{", "Register", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "\"pc\"", ",", "Lanai", "::", "PC", ")", ".", "Case", "(", "\"sp\"", ",", "Lanai", "::", "SP", ")", ".", "Case", "(", "\"fp\"", ",", "Lanai", "::", "FP", ")", ".", "Case", "(", "\"rr1\"", ",", "Lanai", "::", "RR1", ")", ".", "Case", "(", "\"r10\"", ",", "Lanai", "::", "R10", ")", ".", "Case", "(", "\"rr2\"", ",", "Lanai", "::", "RR2", ")", ".", "Case", "(", "\"r11\"", ",", "Lanai", "::", "R11", ")", ".", "Case", "(", "\"rca\"", ",", "Lanai", "::", "RCA", ")", ".", "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": ["Lanai", "Lanai", "\"pc\"", "Lanai::PC", "\"sp\"", "Lanai::SP", "\"fp\"", "Lanai::FP", "\"rr1\"", "Lanai::RR1", "\"r10\"", "Lanai::R10", "\"rr2\"", "Lanai::RR2", "\"r11\"", "Lanai::R11", "\"rca\"", "Lanai::RCA", "0", "\"Invalid register name global variable\""], "File": "LanaiISelLowering", "Func": "getRegisterByName", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7163, "Length": 119, "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": 7164, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64BranchRelaxation", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "mf", ")", "{", "MF", "=", "&", "mf", ";", "if", "(", "!", "BranchRelaxation", ")", "return", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** ARM64BranchRelaxation *****\\n\"", ")", ";", "TII", "=", "(", "const", "ARM64InstrInfo", "*", ")", "MF", "->", "getTarget", "(", ")", ".", "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": ["ARM64", "ARM64", "\"***** ARM64BranchRelaxation *****\\n\"", "ARM64", "\" Basic blocks before relaxation\\n\"", "\" Basic blocks after relaxation\\n\""], "File": "ARM64BranchRelaxation", "Func": "runOnMachineFunction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7165, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "paired_expand_vector_init", "(", "rtx", "target", ",", "rtx", "vals", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "target", ")", ";", "int", "n_elts", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "int", "n_var", "=", "0", ";", "rtx", "x", ",", "new_rtx", ",", "tmp", ",", "constant_op", ",", "op1", ",", "op2", ";", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n_elts", ";", "++", "i", ")", "{", "x", "=", "XVECEXP", "(", "vals", ",", "0", ",", "i", ")", ";", "if", "(", "!", "(", "CONST_SCALAR_INT_P", "(", "x", ")", "||", "CONST_DOUBLE_P", "(", "x", ")", "||", "CONST_FIXED_P", "(", "x", ")", ")", ")", "++", "n_var", ";", "}", "if", "(", "n_var", "==", "0", ")", "{", "emit_move_insn", "(", "target", ",", "gen_rtx_CONST_VECTOR", "(", "mode", ",", "XVEC", "(", "vals", ",", "0", ")", ")", ")", ";", "return", ";", "}", "if", "(", "n_var", "==", "2", ")", "{", "new_rtx", "=", "gen_rtx_VEC_CONCAT", "(", "V2SFmode", ",", "XVECEXP", "(", "vals", ",", "0", ",", "0", ")", ",", "XVECEXP", "(", "vals", ",", "0", ",", "1", ")", ")", ";", "emit_move_insn", "(", "target", ",", "new_rtx", ")", ";", "return", ";", "}", "op1", "=", "XVECEXP", "(", "vals", ",", "0", ",", "0", ")", ";", "op2", "=", "XVECEXP", "(", "vals", ",", "0", ",", "1", ")", ";", "constant_op", "=", "(", "CONSTANT_P", "(", "op1", ")", ")", "?", "op1", ":", "op2", ";", "tmp", "=", "gen_reg_rtx", "(", "GET_MODE", "(", "constant_op", ")", ")", ";", "emit_move_insn", "(", "tmp", ",", "constant_op", ")", ";", "if", "(", "CONSTANT_P", "(", "op1", ")", ")", "new_rtx", "=", "gen_rtx_VEC_CONCAT", "(", "V2SFmode", ",", "tmp", ",", "op2", ")", ";", "else", "new_rtx", "=", "gen_rtx_VEC_CONCAT", "(", "V2SFmode", ",", "op1", ",", "tmp", ")", ";", "emit_move_insn", "(", "target", ",", "new_rtx", ")", ";", "}", ""], "natrual_language": ["Initialize", "TARGET", "of", "vector", "PAIRED", "to", "VALS", "."], "TS_V_token": ["powerpcspe", "0", "0", "0", "0", "0", "2", "0", "0", "0", "1", "0", "0", "0", "1"], "File": "powerpcspe", "Func": "paired_expand_vector_init", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7166, "Length": 255, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb1RegisterInfo", "::", "emitLoadConstPool", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "DebugLoc", "dl", ",", "unsigned", "DestReg", ",", "unsigned", "SubIdx", ",", "int", "Val", ",", "ARMCC", "::", "CondCodes", "Pred", ",", "unsigned", "PredReg", ",", "unsigned", "MIFlags", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "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", "::", "tLDRpci", ")", ")", ".", "addReg", "(", "DestReg", ",", "getDefRegState", "(", "true", ")", ",", "SubIdx", ")", ".", "addConstantPoolIndex", "(", "Idx", ")", ".", "addImm", "(", "Pred", ")", ".", "addReg", "(", "PredReg", ")", ".", "setMIFlags", "(", "MIFlags", ")", ";", "}", ""], "natrual_language": ["emitLoadConstPool", "-", "Emits", "a", "load", "from", "constpool", "to", "materialize", "the", "specified", "immediate", "."], "TS_V_token": ["ARM", "ARMCC::CondCodes", "4", "ARM::tLDRpci"], "File": "Thumb1RegisterInfo1", "Func": "emitLoadConstPool", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7167, "Length": 171, "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": 7168, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsCallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "ArrayRef", "<", "Register", ">>", "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": "MipsCallLowering10", "Func": "lowerFormalArguments", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7169, "Length": 344, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetMachine", "::", "resetSubtarget", "(", "MachineFunction", "*", "MF", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"resetSubtarget\\n\"", ")", ";", "AttributeSet", "FnAttrs", "=", "MF", "->", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ";", "bool", "Mips16Attr", "=", "FnAttrs", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "\"mips16\"", ")", ";", "bool", "NoMips16Attr", "=", "FnAttrs", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "\"nomips16\"", ")", ";", "assert", "(", "!", "(", "Mips16Attr", "&&", "NoMips16Attr", ")", "&&", "\"mips16 and nomips16 specified on the same function\"", ")", ";", "if", "(", "Mips16Attr", ")", "Subtarget", "=", "&", "Mips16Subtarget", ";", "else", "if", "(", "NoMips16Attr", ")", "Subtarget", "=", "&", "NoMips16Subtarget", ";", "else", "Subtarget", "=", "&", "DefaultSubtarget", ";", "return", ";", "}", ""], "natrual_language": ["Reset", "the", "subtarget", "for", "the", "Mips", "target", "."], "TS_V_token": ["Mips", "Mips", "\"resetSubtarget\\n\"", "Mips", "\"mips16\"", "Mips", "\"nomips16\"", "Mips", "Mips", "\"mips16 and nomips16 specified on the same function\"", "Mips", "Mips", "Mips", "Mips"], "File": "MipsTargetMachine4", "Func": "resetSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7170, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "shcompact_byref", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "bool", "named", ")", "{", "unsigned", "HOST_WIDE_INT", "size", ";", "if", "(", "type", ")", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "else", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "cum", "->", "arg_count", "[", "SH_ARG_INT", "]", "<", "NPARM_REGS", "(", "SImode", ")", "&&", "(", "!", "named", "||", "GET_SH_ARG_CLASS", "(", "mode", ")", "==", "SH_ARG_INT", "||", "(", "GET_SH_ARG_CLASS", "(", "mode", ")", "==", "SH_ARG_FLOAT", "&&", "cum", "->", "arg_count", "[", "SH_ARG_FLOAT", "]", ">=", "NPARM_REGS", "(", "SFmode", ")", ")", ")", "&&", "size", ">", "4", "&&", "!", "SHCOMPACT_FORCE_ON_STACK", "(", "mode", ",", "type", ")", "&&", "!", "SH5_WOULD_BE_PARTIAL_NREGS", "(", "*", "cum", ",", "mode", ",", "type", ",", "named", ")", ")", "return", "size", ";", "else", "return", "0", ";", "}", ""], "natrual_language": ["Whether", "an", "argument", "must", "be", "passed", "by", "reference", ".", "On", "SHcompact", ",", "we", "pretend", "arguments", "wider", "than", "32-bits", "that", "would", "have", "been", "passed", "in", "registers", "are", "passed", "by", "reference", ",", "so", "that", "an", "SHmedia", "trampoline", "loads", "them", "into", "the", "full", "64-bits", "registers", "."], "TS_V_token": ["sh", "4", "0"], "File": "sh3", "Func": "shcompact_byref", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7171, "Length": 122, "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", ",", "&", "global_options_set", ",", "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", ",", "&", "global_options_set", ",", "TREE_TARGET_OPTION", "(", "prev_tree", ")", ")", ";", "return", "false", ";", "}", "target_option_current_node", "=", "cur_tree", ";", "arm_configure_build_target", "(", "&", "arm_active_target", ",", "TREE_TARGET_OPTION", "(", "cur_tree", ")", ",", "false", ")", ";", "arm_option_reconfigure_globals", "(", ")", ";", "}", "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", ";", "cpp_force_token_locations", "(", "parse_in", ",", "BUILTINS_LOCATION", ")", ";", "arm_cpu_builtins", "(", "parse_in", ")", ";", "cpp_stop_forcing_token_locations", "(", "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-c", "Func": "arm_pragma_target_parse", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7172, "Length": 279, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_override_options_after_change", "(", "void", ")", "{", "ix86_default_align", "(", "&", "global_options", ")", ";", "ix86_recompute_optlev_based_flags", "(", "&", "global_options", ",", "&", "global_options_set", ")", ";", "if", "(", "(", "OPTION_SET_P", "(", "flag_unroll_loops", ")", ")", "||", "(", "OPTION_SET_P", "(", "flag_unroll_all_loops", ")", "&&", "flag_unroll_all_loops", ")", ")", "{", "if", "(", "!", "OPTION_SET_P", "(", "ix86_unroll_only_small_loops", ")", ")", "ix86_unroll_only_small_loops", "=", "0", ";", "if", "(", "!", "OPTION_SET_P", "(", "flag_web", ")", ")", "flag_web", "=", "flag_unroll_loops", ";", "if", "(", "!", "OPTION_SET_P", "(", "flag_rename_registers", ")", ")", "flag_rename_registers", "=", "flag_unroll_loops", ";", "if", "(", "!", "OPTION_SET_P", "(", "flag_cunroll_grow_size", ")", ")", "flag_cunroll_grow_size", "=", "flag_unroll_loops", "||", "flag_peel_loops", "||", "optimize", ">=", "3", ";", "}", "else", "{", "if", "(", "!", "OPTION_SET_P", "(", "flag_cunroll_grow_size", ")", ")", "flag_cunroll_grow_size", "=", "flag_peel_loops", "||", "optimize", ">=", "3", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE", "hook", "."], "TS_V_token": ["i386", "0", "3", "3"], "File": "i386-options1", "Func": "ix86_override_options_after_change", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7173, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "scalar_int_mode", "rs6000_eh_return_filter_mode", "(", "void", ")", "{", "return", "TARGET_32BIT", "?", "SImode", ":", "word_mode", ";", "}", ""], "natrual_language": ["target", "hook", "eh_return_filter_mode"], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_eh_return_filter_mode", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7174, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getMappedIdxOpcForImmOpc", "(", "unsigned", "ImmOpcode", ")", "const", "{", "if", "(", "!", "ImmToIdxMap", ".", "count", "(", "ImmOpcode", ")", ")", "return", "PPC", "::", "INSTRUCTION_LIST_END", ";", "return", "ImmToIdxMap", ".", "find", "(", "ImmOpcode", ")", "->", "second", ";", "}", ""], "natrual_language": ["getMappedIdxOpcForImmOpc", "-", "Return", "the", "mapped", "index", "form", "load/store", "opcode", "for", "a", "given", "imm", "form", "load/store", "opcode", "ImmFormOpcode", "."], "TS_V_token": ["PowerPC", "PPC::INSTRUCTION_LIST_END"], "File": "PPCRegisterInfo10", "Func": "getMappedIdxOpcForImmOpc", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7175, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCCTRLoopsVerify", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "MDT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "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": "PPCCTRLoopsVerify", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7176, "Length": 128, "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": 7177, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "canInsertSelect", "(", "const", "MachineBasicBlock", "&", "MBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "unsigned", "TrueReg", ",", "unsigned", "FalseReg", ",", "int", "&", "CondCycles", ",", "int", "&", "TrueCycles", ",", "int", "&", "FalseCycles", ")", "const", "{", "const", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "RI", ".", "getCommonSubClass", "(", "MRI", ".", "getRegClass", "(", "TrueReg", ")", ",", "MRI", ".", "getRegClass", "(", "FalseReg", ")", ")", ";", "if", "(", "!", "RC", ")", "return", "false", ";", "unsigned", "ExtraCondLat", "=", "Cond", ".", "size", "(", ")", "!=", "1", ";", "if", "(", "AArch64", "::", "GPR64allRegClass", ".", "hasSubClassEq", "(", "RC", ")", "||", "AArch64", "::", "GPR32allRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "CondCycles", "=", "1", "+", "ExtraCondLat", ";", "TrueCycles", "=", "FalseCycles", "=", "1", ";", "if", "(", "canFoldIntoCSel", "(", "MRI", ",", "TrueReg", ")", ")", "TrueCycles", "=", "0", ";", "else", "if", "(", "canFoldIntoCSel", "(", "MRI", ",", "FalseReg", ")", ")", "FalseCycles", "=", "0", ";", "return", "true", ";", "}", "if", "(", "AArch64", "::", "FPR64RegClass", ".", "hasSubClassEq", "(", "RC", ")", "||", "AArch64", "::", "FPR32RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "CondCycles", "=", "5", "+", "ExtraCondLat", ";", "TrueCycles", "=", "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": ["AArch64", "AArch64", "1", "AArch64::GPR64allRegClass", "AArch64::GPR32allRegClass", "1", "1", "0", "0", "AArch64::FPR64RegClass", "AArch64::FPR32RegClass", "5", "2"], "File": "AArch64InstrInfo (2)", "Func": "canInsertSelect", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7178, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "shouldConvertConstantLoadToIntImm", "(", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "const", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", "||", "BitSize", ">", "64", ")", "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": ["X86", "X86", "0", "64"], "File": "X86ISelLowering (2)", "Func": "shouldConvertConstantLoadToIntImm", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7179, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMAsmPrinter", "::", "emitFunctionEntryLabel", "(", ")", "{", "if", "(", "AFI", "->", "isThumbFunction", "(", ")", ")", "{", "OutStreamer", "->", "emitAssemblerFlag", "(", "MCAF_Code16", ")", ";", "OutStreamer", "->", "emitThumbFunc", "(", "CurrentFnSym", ")", ";", "}", "else", "{", "OutStreamer", "->", "emitAssemblerFlag", "(", "MCAF_Code32", ")", ";", "}", "OutStreamer", "->", "emitLabel", "(", "CurrentFnSym", ")", ";", "}", ""], "natrual_language": ["EmitFunctionEntryLabel", "-", "Emit", "the", "label", "that", "is", "the", "entrypoint", "for", "the", "function", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMAsmPrinter60", "Func": "emitFunctionEntryLabel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7180, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isFPRCopy", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "TargetOpcode", "::", "COPY", ":", "{", "unsigned", "DstReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "return", "(", "AArch64", "::", "FPR64RegClass", ".", "contains", "(", "DstReg", ")", "||", "AArch64", "::", "FPR128RegClass", ".", "contains", "(", "DstReg", ")", ")", ";", "}", "case", "AArch64", "::", "ORRv16i8", ":", "if", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", "{", "assert", "(", "MI", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", "==", "3", "&&", "MI", "->", "getOperand", "(", "0", ")", ".", "isReg", "(", ")", "&&", "\"invalid ORRv16i8 operands\"", ")", ";", "return", "true", ";", "}", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Does", "this", "instruction", "rename", "an", "FPR", "without", "modifying", "bits", "?"], "TS_V_token": ["AArch64", "AArch64", "0", "AArch64::FPR64RegClass", "AArch64::FPR128RegClass", "AArch64::ORRv16i8", "1", "2", "3", "0", "\"invalid ORRv16i8 operands\""], "File": "AArch64InstrInfo1", "Func": "isFPRCopy", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7181, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "F2003fRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["F2003f", "F2003f"], "File": "F2003fSubtarget", "Func": "getRegisterInfo", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7182, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ARMTTIImpl", "::", "getIntrinsicInstrCost", "(", "const", "IntrinsicCostAttributes", "&", "ICA", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "if", "(", "ST", "->", "hasMVEIntegerOps", "(", ")", "&&", "ICA", ".", "getID", "(", ")", "==", "Intrinsic", "::", "get_active_lane_mask", ")", "return", "0", ";", "return", "BaseT", "::", "getIntrinsicInstrCost", "(", "ICA", ",", "CostKind", ")", ";", "}", ""], "natrual_language": ["Get", "intrinsic", "cost", "based", "on", "arguments", "."], "TS_V_token": ["ARM", "ARM", "Intrinsic::get_active_lane_mask", "0"], "File": "ARMTargetTransformInfo3", "Func": "getIntrinsicInstrCost", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7183, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_sve_in_loop_reduction_latency", "(", "vec_info", "*", "vinfo", ",", "stmt_vec_info", "stmt_info", ",", "tree", "vectype", ",", "const", "sve_vec_cost", "*", "sve_costs", ")", "{", "switch", "(", "aarch64_reduc_type", "(", "vinfo", ",", "stmt_info", ")", ")", "{", "case", "EXTRACT_LAST_REDUCTION", ":", "return", "sve_costs", "->", "clast_cost", ";", "case", "FOLD_LEFT_REDUCTION", ":", "switch", "(", "GET_MODE_INNER", "(", "TYPE_MODE", "(", "vectype", ")", ")", ")", "{", "case", "E_HFmode", ":", "case", "E_BFmode", ":", "return", "sve_costs", "->", "fadda_f16_cost", ";", "case", "E_SFmode", ":", "return", "sve_costs", "->", "fadda_f32_cost", ";", "case", "E_DFmode", ":", "return", "sve_costs", "->", "fadda_f64_cost", ";", "default", ":", "break", ";", "}", "break", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["We", "are", "considering", "implementing", "STMT_INFO", "using", "SVE", "vector", "type", "VECTYPE", ".", "If", "STMT_INFO", "is", "an", "in-loop", "reduction", "that", "SVE", "supports", "directly", ",", "return", "its", "latency", "in", "cycles", ",", "otherwise", "return", "zero", ".", "SVE_COSTS", "specifies", "the", "latencies", "of", "the", "relevant", "instructions", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch641", "Func": "aarch64_sve_in_loop_reduction_latency", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7184, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "{", "if", "(", "ExtraCode", "[", "1", "]", "!=", "0", ")", "return", "true", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "default", ":", "return", "true", ";", "case", "'a'", ":", "if", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "isReg", "(", ")", ")", "{", "O", "<<", "\"[\"", "<<", "getRegisterName", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "getReg", "(", ")", ")", "<<", "\"]\"", ";", "return", "false", ";", "}", "case", "'c'", ":", "if", "(", "!", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "isImm", "(", ")", ")", "return", "true", ";", "printNoHashImmediate", "(", "MI", ",", "OpNum", ",", "O", ")", ";", "return", "false", ";", "case", "'P'", ":", "case", "'q'", ":", "printOperand", "(", "MI", ",", "OpNum", ",", "O", ")", ";", "return", "false", ";", "case", "'Q'", ":", "if", "(", "TM", ".", "getTargetData", "(", ")", "->", "isLittleEndian", "(", ")", ")", "break", ";", "case", "'R'", ":", "if", "(", "TM", ".", "getTargetData", "(", ")", "->", "isBigEndian", "(", ")", ")", "break", ";", "case", "'H'", ":", "if", "(", "!", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "isReg", "(", ")", "||", "OpNum", "+", "1", "==", "MI", "->", "getNumOperands", "(", ")", "||", "!", "MI", "->", "getOperand", "(", "OpNum", "+", "1", ")", ".", "isReg", "(", ")", ")", "return", "true", ";", "++", "OpNum", ";", "}", "}", "printOperand", "(", "MI", ",", "OpNum", ",", "O", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["ARM", "ARM", "0", "1", "0", "0", "\"[\"", "\"]\"", "1", "1"], "File": "ARMAsmPrinter11", "Func": "PrintAsmOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7185, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "for", "(", "MachineFunction", "::", "iterator", "MBBi", "=", "MF", ".", "begin", "(", ")", ";", "MBBi", "!=", "MF", ".", "end", "(", ")", ";", "MBBi", "++", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MBBi", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "MIi", "=", "MBB", ".", "begin", "(", ")", ";", "MIi", "!=", "MBB", ".", "end", "(", ")", ";", "MIi", "++", ")", "{", "MachineInstr", "&", "MI", "=", "*", "MIi", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "MI", ".", "getNumOperands", "(", ")", ";", "i", "++", ")", "{", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "i", ")", ";", "if", "(", "MO", ".", "isMetadata", "(", ")", ")", "{", "const", "MDNode", "*", "mdn", "=", "MO", ".", "getMetadata", "(", ")", ";", "mdn", "->", "dump", "(", ")", ";", "errs", "(", ")", "<<", "MI", "<<", "\"\\n\"", ";", "}", "}", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "0", "\"\\n\""], "File": "MachineInstPrint", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7186, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "thumb_compute_initial_elimination_offset", "(", "unsigned", "int", "from", ",", "unsigned", "int", "to", ")", "{", "arm_stack_offsets", "*", "offsets", ";", "offsets", "=", "arm_get_frame_offsets", "(", ")", ";", "switch", "(", "from", ")", "{", "case", "ARG_POINTER_REGNUM", ":", "switch", "(", "to", ")", "{", "case", "STACK_POINTER_REGNUM", ":", "return", "offsets", "->", "outgoing_args", "-", "offsets", "->", "saved_args", ";", "case", "FRAME_POINTER_REGNUM", ":", "return", "offsets", "->", "soft_frame", "-", "offsets", "->", "saved_args", ";", "case", "ARM_HARD_FRAME_POINTER_REGNUM", ":", "return", "offsets", "->", "saved_regs", "-", "offsets", "->", "saved_args", ";", "case", "THUMB_HARD_FRAME_POINTER_REGNUM", ":", "return", "offsets", "->", "locals_base", "-", "offsets", "->", "saved_args", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "break", ";", "case", "FRAME_POINTER_REGNUM", ":", "switch", "(", "to", ")", "{", "case", "STACK_POINTER_REGNUM", ":", "return", "offsets", "->", "outgoing_args", "-", "offsets", "->", "soft_frame", ";", "case", "ARM_HARD_FRAME_POINTER_REGNUM", ":", "return", "offsets", "->", "saved_regs", "-", "offsets", "->", "soft_frame", ";", "case", "THUMB_HARD_FRAME_POINTER_REGNUM", ":", "return", "offsets", "->", "locals_base", "-", "offsets", "->", "soft_frame", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Like", "arm_compute_initial_elimination", "offset", ".", "Simpler", "because", "there", "is", "n't", "an", "ABI", "specified", "frame", "pointer", "for", "Thumb", ".", "Instead", ",", "we", "set", "it", "to", "point", "at", "the", "base", "of", "the", "local", "variables", "after", "static", "stack", "space", "for", "a", "function", "has", "been", "allocated", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "thumb_compute_initial_elimination_offset", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7187, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "ARMOperand", "*", "CreateMem", "(", "unsigned", "BaseRegNum", ",", "bool", "OffsetIsReg", ",", "const", "MCExpr", "*", "Offset", ",", "unsigned", "OffsetRegNum", ",", "bool", "OffsetRegShifted", ",", "enum", "ShiftType", "ShiftType", ",", "const", "MCExpr", "*", "ShiftAmount", ",", "bool", "Preindexed", ",", "bool", "Postindexed", ",", "bool", "Negative", ",", "bool", "Writeback", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{", "ARMOperand", "*", "Op", "=", "new", "ARMOperand", "(", "Memory", ")", ";", "Op", "->", "Mem", ".", "BaseRegNum", "=", "BaseRegNum", ";", "Op", "->", "Mem", ".", "OffsetIsReg", "=", "OffsetIsReg", ";", "Op", "->", "Mem", ".", "Offset", "=", "Offset", ";", "Op", "->", "Mem", ".", "OffsetRegNum", "=", "OffsetRegNum", ";", "Op", "->", "Mem", ".", "OffsetRegShifted", "=", "OffsetRegShifted", ";", "Op", "->", "Mem", ".", "ShiftType", "=", "ShiftType", ";", "Op", "->", "Mem", ".", "ShiftAmount", "=", "ShiftAmount", ";", "Op", "->", "Mem", ".", "Preindexed", "=", "Preindexed", ";", "Op", "->", "Mem", ".", "Postindexed", "=", "Postindexed", ";", "Op", "->", "Mem", ".", "Negative", "=", "Negative", ";", "Op", "->", "Mem", ".", "Writeback", "=", "Writeback", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "E", ";", "return", "Op", ";", "}", ""], "natrual_language": ["Create", "a", "generalized", "memory", "operand", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "ARMAsmParser46", "Func": "CreateMem", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7188, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "replace_swapped_aligned_store", "(", "swap_web_entry", "*", "insn_entry", ",", "rtx_insn", "*", "store_insn", ")", "{", "unsigned", "uid", "=", "INSN_UID", "(", "store_insn", ")", ";", "gcc_assert", "(", "insn_entry", "[", "uid", "]", ".", "is_swap", "&&", "insn_entry", "[", "uid", "]", ".", "is_store", ")", ";", "rtx", "body", "=", "PATTERN", "(", "store_insn", ")", ";", "rtx", "dest_address", "=", "XEXP", "(", "SET_DEST", "(", "body", ")", ",", "0", ")", ";", "rtx", "swap_reg", "=", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ";", "gcc_assert", "(", "REG_P", "(", "dest_address", ")", "||", "rs6000_sum_of_two_registers_p", "(", "dest_address", ")", ")", ";", "struct", "df_insn_info", "*", "insn_info", "=", "DF_INSN_INFO_GET", "(", "store_insn", ")", ";", "df_ref", "use", ";", "rtx_insn", "*", "swap_insn", "=", "NULL", ";", "unsigned", "uid2", "=", "0", ";", "FOR_EACH_INSN_INFO_USE", "(", "use", ",", "insn_info", ")", "{", "struct", "df_link", "*", "def_link", "=", "DF_REF_CHAIN", "(", "use", ")", ";", "if", "(", "!", "rtx_equal_p", "(", "DF_REF_REG", "(", "use", ")", ",", "swap_reg", ")", ")", "continue", ";", "gcc_assert", "(", "def_link", "&&", "def_link", "->", "ref", "&&", "!", "def_link", "->", "next", "&&", "!", "DF_REF_IS_ARTIFICIAL", "(", "def_link", "->", "ref", ")", ")", ";", "swap_insn", "=", "DF_REF_INSN", "(", "def_link", "->", "ref", ")", ";", "uid2", "=", "INSN_UID", "(", "swap_insn", ")", ";", "gcc_assert", "(", "insn_entry", "[", "uid2", "]", ".", "is_swap", "&&", "!", "insn_entry", "[", "uid2", "]", ".", "is_load", "&&", "!", "insn_entry", "[", "uid2", "]", ".", "is_store", ")", ";", "break", ";", "}", "gcc_assert", "(", "swap_insn", ")", ";", "rtx", "set", "=", "single_set", "(", "store_insn", ")", ";", "gcc_assert", "(", "set", ")", ";", "rtx", "dest_exp", "=", "SET_DEST", "(", "set", ")", ";", "rtx", "src_exp", "=", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ";", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "dest_exp", ")", ";", "gcc_assert", "(", "MEM_P", "(", "dest_exp", ")", ")", ";", "gcc_assert", "(", "MEM_ALIGN", "(", "dest_exp", ")", ">=", "128", ")", ";", "rtx", "stvx", ";", "stvx", "=", "rs6000_gen_stvx", "(", "mode", ",", "dest_exp", ",", "src_exp", ")", ";", "rtx_insn", "*", "new_insn", "=", "emit_insn_before", "(", "stvx", ",", "store_insn", ")", ";", "rtx", "new_body", "=", "PATTERN", "(", "new_insn", ")", ";", "gcc_assert", "(", "(", "GET_CODE", "(", "new_body", ")", "==", "SET", ")", "&&", "MEM_P", "(", "SET_DEST", "(", "new_body", ")", ")", ")", ";", "basic_block", "bb", "=", "BLOCK_FOR_INSN", "(", "store_insn", ")", ";", "set_block_for_insn", "(", "new_insn", ",", "bb", ")", ";", "if", "(", "cfun", "->", "can_throw_non_call_exceptions", "&&", "BB_END", "(", "bb", ")", "==", "store_insn", ")", "{", "rtx", "note", "=", "find_reg_note", "(", "store_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", "(", "store_insn", ")", ";", "remove_insn", "(", "store_insn", ")", ";", "store_insn", "->", "set_deleted", "(", ")", ";", "uid2", "=", "INSN_UID", "(", "swap_insn", ")", ";", "mark_swaps_for_removal", "(", "insn_entry", ",", "uid2", ")", ";", "replace_swap_with_copy", "(", "insn_entry", ",", "uid2", ")", ";", "}", ""], "natrual_language": ["Given", "that", "STORE_INSN", "represents", "an", "aligned", "store-with-swap", "of", "a", "swapped", "value", ",", "replace", "the", "store", "with", "an", "aligned", "store", "(", "without", "swap", ")", "and", "replace", "the", "swap", "with", "a", "copy", "insn", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "128", "0"], "File": "rs6000-p8swap1", "Func": "replace_swapped_aligned_store", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7189, "Length": 430, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "csky_legitimize_address", "(", "rtx", "x", ",", "rtx", "orig_x", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ")", "{", "if", "(", "csky_tls_symbol_p", "(", "x", ")", ")", "return", "csky_legitimize_tls_address", "(", "x", ",", "NULL_RTX", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "{", "rtx", "xop0", "=", "XEXP", "(", "x", ",", "0", ")", ";", "rtx", "xop1", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "is_csky_address_register_rtx_p", "(", "xop0", ",", "0", ")", "&&", "CONST_INT_P", "(", "xop1", ")", ")", "{", "HOST_WIDE_INT", "offset", "=", "INTVAL", "(", "xop1", ")", ";", "if", "(", "optimize_size", "&&", "offset", ">", "CSKY_LD16_MAX_OFFSET", "(", "mode", ")", "&&", "offset", "<=", "(", "CSKY_ADDI16_MAX_IMM", "+", "CSKY_LD16_MAX_OFFSET", "(", "mode", ")", ")", ")", "{", "HOST_WIDE_INT", "new_ld_offset", "=", "offset", "&", "CSKY_LD16_OFFSET_MASK", "(", "mode", ")", ";", "xop0", "=", "force_operand", "(", "plus_constant", "(", "Pmode", ",", "xop0", ",", "offset", "-", "new_ld_offset", ")", ",", "NULL_RTX", ")", ";", "x", "=", "plus_constant", "(", "Pmode", ",", "xop0", ",", "new_ld_offset", ")", ";", "}", "else", "if", "(", "offset", "<", "0", "&&", "offset", ">=", "(", "-", "CSKY_SUBI16_MAX_IMM", ")", ")", "x", "=", "force_operand", "(", "x", ",", "NULL_RTX", ")", ";", "else", "if", "(", "offset", ">", "CSKY_LD16_MAX_OFFSET", "(", "mode", ")", "||", "offset", "<", "0", ")", "{", "xop1", "=", "force_reg", "(", "SImode", ",", "xop1", ")", ";", "x", "=", "gen_rtx_PLUS", "(", "SImode", ",", "xop0", ",", "xop1", ")", ";", "}", "}", "if", "(", "is_csky_address_register_rtx_p", "(", "xop1", ",", "0", ")", "&&", "!", "is_csky_address_register_rtx_p", "(", "xop0", ",", "0", ")", ")", "{", "xop0", "=", "force_operand", "(", "xop0", ",", "NULL_RTX", ")", ";", "x", "=", "gen_rtx_PLUS", "(", "SImode", ",", "xop0", ",", "xop1", ")", ";", "}", "}", "else", "if", "(", "CONST_INT_P", "(", "x", ")", "&&", "optimize", ">", "0", ")", "{", "HOST_WIDE_INT", "mask", ",", "base", ",", "index", ";", "rtx", "base_reg", ";", "mask", "=", "CSKY_LD16_OFFSET_MASK", "(", "mode", ")", ";", "base", "=", "INTVAL", "(", "x", ")", "&", "~", "mask", ";", "index", "=", "INTVAL", "(", "x", ")", "&", "mask", ";", "base_reg", "=", "force_reg", "(", "SImode", ",", "GEN_INT", "(", "base", ")", ")", ";", "x", "=", "plus_constant", "(", "Pmode", ",", "base_reg", ",", "index", ")", ";", "}", "return", "x", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LEGITIMIZE_ADDRESS", "."], "TS_V_token": ["csky", "0", "1", "0", "0", "0", "0", "0", "0"], "File": "csky", "Func": "csky_legitimize_address", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7190, "Length": 323, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "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", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "SystemZMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "if", "(", "SystemZ", "::", "FP64RegClass", ".", "contains", "(", "Reg", ")", ")", "loadRegFromStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", ",", "&", "SystemZ", "::", "FP64RegClass", ",", "&", "RI", ")", ";", "}", "unsigned", "LowReg", "=", "MFI", "->", "getLowReg", "(", ")", ",", "HighReg", "=", "MFI", "->", "getHighReg", "(", ")", ";", "unsigned", "StartOffset", "=", "RegSpillOffsets", "[", "LowReg", "]", ";", "if", "(", "StartOffset", ")", "{", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "(", "LowReg", "==", "HighReg", "?", "SystemZ", "::", "MOV64rm", ":", "SystemZ", "::", "MOV64rmm", ")", ")", ")", ";", "MIB", ".", "addReg", "(", "LowReg", ",", "RegState", "::", "Define", ")", ";", "if", "(", "LowReg", "!=", "HighReg", ")", "MIB", ".", "addReg", "(", "HighReg", ",", "RegState", "::", "Define", ")", ";", "MIB", ".", "addReg", "(", "(", "RegInfo", "->", "hasFP", "(", "MF", ")", "?", "SystemZ", "::", "R11D", ":", "SystemZ", "::", "R15D", ")", ")", ";", "MIB", ".", "addImm", "(", "StartOffset", ")", ";", "if", "(", "LowReg", "==", "HighReg", ")", "MIB", ".", "addReg", "(", "0", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "if", "(", "Reg", "!=", "LowReg", "&&", "Reg", "!=", "HighReg", ")", "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::FP64RegClass", "SystemZ::FP64RegClass", "SystemZ::MOV64rm", "SystemZ::MOV64rmm", "SystemZ::R11D", "SystemZ::R15D", "0", "0"], "File": "SystemZInstrInfo25", "Func": "restoreCalleeSavedRegisters", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7191, "Length": 366, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_init_acle_builtins", "(", "void", ")", "{", "unsigned", "int", "i", ",", "fcode", "=", "ARM_BUILTIN_ACLE_PATTERN_START", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "acle_builtin_data", ")", ";", "i", "++", ",", "fcode", "++", ")", "{", "arm_builtin_datum", "*", "d", "=", "&", "acle_builtin_data", "[", "i", "]", ";", "arm_init_builtin", "(", "fcode", ",", "d", ",", "\"__builtin_arm\"", ")", ";", "}", "}", ""], "natrual_language": ["Set", "up", "ACLE", "builtins", ",", "even", "builtins", "for", "instructions", "that", "are", "not", "in", "the", "current", "target", "ISA", "to", "allow", "the", "user", "to", "compile", "particular", "modules", "with", "different", "target", "specific", "options", "that", "differ", "from", "the", "command", "line", "options", ".", "Such", "builtins", "will", "be", "rejected", "in", "arm_expand_builtin", "."], "TS_V_token": ["arm", "0", "\"__builtin_arm\""], "File": "arm-builtins4", "Func": "arm_init_acle_builtins", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7192, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LIS", "=", "&", "getAnalysis", "<", "LiveIntervals", ">", "(", ")", ";", "TM", "=", "static_cast", "<", "const", "PPCTargetMachine", "*", ">", "(", "&", "MF", ".", "getTarget", "(", ")", ")", ";", "TII", "=", "TM", "->", "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"], "File": "PPCInstrInfo62", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7193, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleDAGInstrs", "*", "createPostMachineScheduler", "(", "MachineSchedContext", "*", "C", ")", "const", "override", "{", "const", "AArch64Subtarget", "&", "ST", "=", "C", "->", "MF", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ";", "if", "(", "ST", ".", "hasFuseLiterals", "(", ")", ")", "{", "ScheduleDAGMI", "*", "DAG", "=", "createGenericSchedPostRA", "(", "C", ")", ";", "DAG", "->", "addMutation", "(", "createAArch64MacroFusionDAGMutation", "(", ")", ")", ";", "return", "DAG", ";", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["Similar", "to", "createMachineScheduler", "but", "used", "when", "postRA", "machine", "scheduling", "is", "enabled", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine67", "Func": "createPostMachineScheduler", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7194, "Length": 62, "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", "=", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "DebugLoc", "DL", "=", "I", "!=", "MBB", ".", "end", "(", ")", "?", "I", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "unsigned", "ADDu", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "DADDu", ":", "Mips", "::", "ADDu", ";", "unsigned", "ADDiu", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "DADDiu", ":", "Mips", "::", "ADDiu", ";", "if", "(", "isInt", "<", "16", ">", "(", "Amount", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ADDiu", ")", ",", "SP", ")", ".", "addReg", "(", "SP", ")", ".", "addImm", "(", "Amount", ")", ";", "else", "{", "unsigned", "Reg", "=", "loadImmediate", "(", "Amount", ",", "MBB", ",", "I", ",", "DL", ",", "0", ")", ";", "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", "Mips::DADDu", "Mips::ADDu", "Mips::DADDiu", "Mips::ADDiu", "16", "0"], "File": "MipsSEInstrInfo1", "Func": "adjustStackPtr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7195, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isImm", "(", ")", "const", "override", "{", "return", "Kind", "==", "Immediate", ";", "}", ""], "natrual_language": ["isImm", "-", "Is", "this", "an", "immediate", "operand", "?"], "TS_V_token": ["X86"], "File": "X86Operand (2)", "Func": "isImm", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7196, "Length": 13, "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": 7197, "Length": 395, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isLegalAddImmediate", "(", "int64_t", "Immed", ")", "const", "{", "if", "(", "Immed", "==", "std", "::", "numeric_limits", "<", "int64_t", ">", "::", "min", "(", ")", ")", "return", "false", ";", "Immed", "=", "std", "::", "abs", "(", "Immed", ")", ";", "return", "(", "(", "Immed", ">>", "12", ")", "==", "0", "||", "(", "(", "Immed", "&", "0xfff", ")", "==", "0", "&&", "Immed", ">>", "24", "==", "0", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "immediate", "is", "legal", "add", "immediate", ",", "that", "is", "the", "target", "has", "add", "instructions", "which", "can", "add", "a", "register", "and", "the", "immediate", "without", "having", "to", "materialize", "the", "immediate", "into", "a", "register", "."], "TS_V_token": ["AArch64", "AArch64", "12", "0", "0xfff", "0", "24", "0"], "File": "AArch64ISelLowering (2)", "Func": "isLegalAddImmediate", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7198, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ",", "Instruction", "*", "I", ")", "const", "{", "if", "(", "Ty", "->", "isVectorTy", "(", ")", "&&", "AM", ".", "BaseOffs", "!=", "0", "&&", "!", "Subtarget", ".", "hasP9Vector", "(", ")", ")", "return", "false", ";", "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", "0", "1LL", "16", "1LL", "16", "1", "0", "1", "2"], "File": "PPCISelLowering100", "Func": "isLegalAddressingMode", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7199, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "addPass", "(", "createMipsOptimizePICCallPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsTargetMachine (2)1", "Func": "addPreRegAlloc", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7200, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mep_vliw_function_p", "(", "tree", "decl", ")", "{", "return", "lookup_attribute", "(", "\"vliw\"", ",", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "decl", ")", ")", ")", "!=", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "function", "DECL", "was", "declared", "with", "the", "vliw", "attribute", "."], "TS_V_token": ["mep", "\"vliw\"", "0"], "File": "mep", "Func": "mep_vliw_function_p", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7201, "Length": 24, "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": 7202, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "unique_ptr", "<", "MCObjectWriter", ">", "LanaiAsmBackend", "::", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "{", "return", "createLanaiELFObjectWriter", "(", "OS", ",", "MCELFObjectTargetWriter", "::", "getOSABI", "(", "OSType", ")", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai"], "File": "LanaiAsmBackend", "Func": "createObjectWriter", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7203, "Length": 30, "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": 7204, "Length": 488, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "insertEdge", "(", "Register", "Reg", ")", "{", "return", "Edges", ".", "insert", "(", "Reg", ")", ".", "second", ";", "}", ""], "natrual_language": ["Update", "the", "call", "graph", "after", "inserting", "a", "new", "edge", "."], "TS_V_token": ["X86"], "File": "X86DomainReassignment11", "Func": "insertEdge", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7205, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LoongArchTargetLowering", "::", "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", "(", ")", ";", "switch", "(", "CallConv", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unsupported calling convention\"", ")", ";", "case", "CallingConv", "::", "C", ":", "break", ";", "}", "SmallVector", "<", "CCValAssign", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "analyzeInputArgs", "(", "CCInfo", ",", "Ins", ",", "CC_LoongArch", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "ArgLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "InVals", ".", "push_back", "(", "unpackFromRegLoc", "(", "DAG", ",", "Chain", ",", "ArgLocs", "[", "i", "]", ",", "DL", ",", "*", "this", ")", ")", ";", "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": ["LoongArch", "LoongArch", "ISD::InputArg", "\"Unsupported calling convention\"", "LoongArch", "0"], "File": "LoongArchISelLowering1", "Func": "LowerFormalArguments", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7206, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "regs_used", "(", "rtx", "x", ",", "int", "is_dest", ")", "{", "enum", "rtx_code", "code", ";", "const", "char", "*", "fmt", ";", "int", "used", "=", "0", ";", "if", "(", "!", "x", ")", "return", "used", ";", "code", "=", "GET_CODE", "(", "x", ")", ";", "switch", "(", "code", ")", "{", "case", "REG", ":", "if", "(", "REGNO", "(", "x", ")", "<", "16", ")", "return", "(", "(", "(", "1", "<<", "hard_regno_nregs", "(", "0", ",", "GET_MODE", "(", "x", ")", ")", ")", "-", "1", ")", "<<", "(", "REGNO", "(", "x", ")", "+", "is_dest", ")", ")", ";", "return", "0", ";", "case", "SUBREG", ":", "{", "rtx", "y", "=", "SUBREG_REG", "(", "x", ")", ";", "if", "(", "!", "REG_P", "(", "y", ")", ")", "break", ";", "if", "(", "REGNO", "(", "y", ")", "<", "16", ")", "return", "(", "(", "(", "1", "<<", "hard_regno_nregs", "(", "0", ",", "GET_MODE", "(", "x", ")", ")", ")", "-", "1", ")", "<<", "(", "REGNO", "(", "y", ")", "+", "subreg_regno_offset", "(", "REGNO", "(", "y", ")", ",", "GET_MODE", "(", "y", ")", ",", "SUBREG_BYTE", "(", "x", ")", ",", "GET_MODE", "(", "x", ")", ")", "+", "is_dest", ")", ")", ";", "return", "0", ";", "}", "case", "SET", ":", "return", "regs_used", "(", "SET_SRC", "(", "x", ")", ",", "0", ")", "|", "regs_used", "(", "SET_DEST", "(", "x", ")", ",", "16", ")", ";", "case", "RETURN", ":", "return", "0x00ffff00", ";", "case", "CLOBBER", ":", "is_dest", "=", "1", ";", "break", ";", "case", "MEM", ":", "is_dest", "=", "0", ";", "break", ";", "case", "CALL", ":", "used", "|=", "0x00ff00f0", ";", "break", ";", "default", ":", "break", ";", "}", "fmt", "=", "GET_RTX_FORMAT", "(", "code", ")", ";", "for", "(", "int", "i", "=", "GET_RTX_LENGTH", "(", "code", ")", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "if", "(", "fmt", "[", "i", "]", "==", "'E'", ")", "{", "for", "(", "int", "j", "=", "XVECLEN", "(", "x", ",", "i", ")", "-", "1", ";", "j", ">=", "0", ";", "j", "--", ")", "used", "|=", "regs_used", "(", "XVECEXP", "(", "x", ",", "i", ",", "j", ")", ",", "is_dest", ")", ";", "}", "else", "if", "(", "fmt", "[", "i", "]", "==", "'e'", ")", "used", "|=", "regs_used", "(", "XEXP", "(", "x", ",", "i", ")", ",", "is_dest", ")", ";", "}", "return", "used", ";", "}", ""], "natrual_language": ["Given", "a", "X", ",", "a", "pattern", "of", "an", "insn", "or", "a", "part", "of", "it", ",", "return", "a", "mask", "of", "used", "general", "registers", ".", "Bits", "0", "..", "15", "mean", "that", "the", "respective", "registers", "are", "used", "as", "inputs", "in", "the", "instruction", ".", "Bits", "16", "..", "31", "mean", "that", "the", "registers", "0", "..", "15", ",", "respectively", ",", "are", "used", "as", "outputs", ",", "or", "are", "clobbered", ".", "IS_DEST", "should", "be", "set", "to", "16", "if", "X", "is", "the", "destination", "of", "a", "SET", ",", "else", "to", "0", "."], "TS_V_token": ["sh", "0", "16", "1", "0", "1", "0", "16", "1", "0", "1", "0", "0", "16", "0x00ffff00", "1", "0", "0x00ff00f0", "1", "0", "1", "0"], "File": "sh", "Func": "regs_used", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7207, "Length": 343, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 LEA Fixup\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 LEA Fixup\""], "File": "X86FixupLEAs13", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7208, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_cpymemqi_unaligned", "(", "rtx", "*", "operands", ")", "{", "HOST_WIDE_INT", "length", "=", "INTVAL", "(", "operands", "[", "2", "]", ")", ";", "if", "(", "optimize_size", ")", "{", "bool", "src_aligned", "=", "MEM_ALIGN", "(", "operands", "[", "1", "]", ")", ">=", "BITS_PER_WORD", ";", "bool", "dst_aligned", "=", "MEM_ALIGN", "(", "operands", "[", "0", "]", ")", ">=", "BITS_PER_WORD", ";", "unsigned", "int", "interleave_factor", "=", "(", "src_aligned", "||", "dst_aligned", ")", "?", "2", ":", "1", ";", "HOST_WIDE_INT", "bytes_per_iter", "=", "(", "src_aligned", "||", "dst_aligned", ")", "?", "8", ":", "4", ";", "if", "(", "length", ">", "12", ")", "arm_block_move_unaligned_loop", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ",", "length", ",", "interleave_factor", ",", "bytes_per_iter", ")", ";", "else", "arm_block_move_unaligned_straight", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ",", "length", ",", "interleave_factor", ")", ";", "}", "else", "{", "if", "(", "length", ">", "32", ")", "arm_block_move_unaligned_loop", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ",", "length", ",", "4", ",", "16", ")", ";", "else", "arm_block_move_unaligned_straight", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ",", "length", ",", "4", ")", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["Emit", "a", "block", "move", "when", "either", "the", "source", "or", "destination", "is", "unaligned", "(", "not", "aligned", "to", "a", "four-byte", "boundary", ")", ".", "This", "may", "need", "further", "tuning", "depending", "on", "core", "type", ",", "optimize_size", "setting", ",", "etc", "."], "TS_V_token": ["arm", "2", "1", "0", "2", "1", "8", "4", "12", "0", "1", "0", "1", "32", "0", "1", "4", "16", "0", "1", "4", "1"], "File": "arm", "Func": "arm_cpymemqi_unaligned", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7209, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_modes_tieable_p", "(", "machine_mode", "mode1", ",", "machine_mode", "mode2", ")", "{", "return", "(", "mode1", "==", "mode2", "||", "(", "GET_MODE_CLASS", "(", "mode1", ")", "==", "GET_MODE_CLASS", "(", "mode2", ")", "&&", "(", "mode1", "!=", "SFmode", "&&", "mode2", "!=", "SFmode", ")", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MODES_TIEABLE_P", ".", "If", "TARGET_HARD_REGNO_MODE_OK", "could", "produce", "different", "values", "for", "MODE1", "and", "MODE2", ",", "for", "any", "hard", "reg", ",", "then", "this", "must", "be", "false", "for", "correct", "output", ".", "That", "'s", "the", "case", "for", "xd", "registers", ":", "we", "do", "n't", "hold", "SFmode", "values", "in", "them", ",", "so", "we", "ca", "n't", "tie", "an", "SFmode", "pseudos", "with", "one", "in", "another", "floating-point", "mode", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "sh_modes_tieable_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7210, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "replace_constant_pool_with_broadcast", "(", "rtx_insn", "*", "insn", ")", "{", "subrtx_ptr_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX_PTR", "(", "iter", ",", "array", ",", "&", "PATTERN", "(", "insn", ")", ",", "ALL", ")", "{", "rtx", "*", "loc", "=", "*", "iter", ";", "rtx", "x", "=", "*", "loc", ";", "rtx", "broadcast_mem", ",", "vec_dup", ",", "constant", ",", "first", ";", "machine_mode", "mode", ";", "if", "(", "!", "MEM_P", "(", "x", ")", "||", "!", "SYMBOL_REF_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "||", "!", "CONSTANT_POOL_ADDRESS_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", ")", "continue", ";", "mode", "=", "GET_MODE", "(", "x", ")", ";", "if", "(", "!", "VECTOR_MODE_P", "(", "mode", ")", ")", "return", ";", "constant", "=", "get_pool_constant", "(", "XEXP", "(", "x", ",", "0", ")", ")", ";", "if", "(", "GET_CODE", "(", "constant", ")", "!=", "CONST_VECTOR", ")", "return", ";", "if", "(", "GET_MODE", "(", "constant", ")", "!=", "mode", ")", "{", "constant", "=", "simplify_subreg", "(", "mode", ",", "constant", ",", "GET_MODE", "(", "constant", ")", ",", "0", ")", ";", "if", "(", "constant", "==", "NULL_RTX", "||", "GET_CODE", "(", "constant", ")", "!=", "CONST_VECTOR", ")", "return", ";", "}", "first", "=", "XVECEXP", "(", "constant", ",", "0", ",", "0", ")", ";", "for", "(", "int", "i", "=", "1", ";", "i", "<", "GET_MODE_NUNITS", "(", "mode", ")", ";", "++", "i", ")", "{", "rtx", "tmp", "=", "XVECEXP", "(", "constant", ",", "0", ",", "i", ")", ";", "if", "(", "!", "rtx_equal_p", "(", "tmp", ",", "first", ")", ")", "return", ";", "}", "broadcast_mem", "=", "force_const_mem", "(", "GET_MODE_INNER", "(", "mode", ")", ",", "first", ")", ";", "vec_dup", "=", "gen_rtx_VEC_DUPLICATE", "(", "mode", ",", "broadcast_mem", ")", ";", "validate_change", "(", "insn", ",", "loc", ",", "vec_dup", ",", "0", ")", ";", "return", ";", "}", "}", ""], "natrual_language": ["Replace", "all", "one-value", "const", "vector", "that", "are", "referenced", "by", "SYMBOL_REFs", "in", "x", "with", "embedded", "broadcast", ".", "i.e.transform", "vpaddq", ".LC0", "(", "%", "rip", ")", ",", "%", "zmm0", ",", "%", "zmm0", "ret", ".LC0", ":", ".quad", "3", ".quad", "3", ".quad", "3", ".quad", "3", ".quad", "3", ".quad", "3", ".quad", "3", ".quad", "3", "to", "vpaddq", ".LC0", "(", "%", "rip", ")", "{", "1to8", "}", ",", "%", "zmm0", ",", "%", "zmm0", "ret", ".LC0", ":", ".quad", "3"], "TS_V_token": ["i386", "0", "0", "0", "0", "0", "0", "1", "0", "0"], "File": "i386-features1", "Func": "replace_constant_pool_with_broadcast", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7211, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "gen_v9_scc", "(", "rtx", "dest", ",", "enum", "rtx_code", "compare_code", ",", "rtx", "x", ",", "rtx", "y", ")", "{", "if", "(", "!", "TARGET_ARCH64", "&&", "(", "GET_MODE", "(", "x", ")", "==", "DImode", "||", "GET_MODE", "(", "dest", ")", "==", "DImode", ")", ")", "return", "0", ";", "if", "(", "TARGET_ARCH64", "&&", "GET_MODE_CLASS", "(", "GET_MODE", "(", "x", ")", ")", "==", "MODE_INT", "&&", "y", "==", "const0_rtx", "&&", "v9_regcmp_p", "(", "compare_code", ")", ")", "{", "rtx", "op0", "=", "x", ";", "rtx", "temp", ";", "if", "(", "compare_code", "==", "NE", "&&", "GET_MODE", "(", "dest", ")", "==", "DImode", "&&", "rtx_equal_p", "(", "op0", ",", "dest", ")", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "gen_rtx_IF_THEN_ELSE", "(", "DImode", ",", "gen_rtx_fmt_ee", "(", "compare_code", ",", "DImode", ",", "op0", ",", "const0_rtx", ")", ",", "const1_rtx", ",", "dest", ")", ")", ")", ";", "return", "1", ";", "}", "if", "(", "reg_overlap_mentioned_p", "(", "dest", ",", "op0", ")", ")", "{", "op0", "=", "gen_reg_rtx", "(", "GET_MODE", "(", "x", ")", ")", ";", "emit_move_insn", "(", "op0", ",", "x", ")", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "const0_rtx", ")", ")", ";", "if", "(", "GET_MODE", "(", "op0", ")", "!=", "DImode", ")", "{", "temp", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "convert_move", "(", "temp", ",", "op0", ",", "0", ")", ";", "}", "else", "temp", "=", "op0", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "gen_rtx_IF_THEN_ELSE", "(", "GET_MODE", "(", "dest", ")", ",", "gen_rtx_fmt_ee", "(", "compare_code", ",", "DImode", ",", "temp", ",", "const0_rtx", ")", ",", "const1_rtx", ",", "dest", ")", ")", ")", ";", "return", "1", ";", "}", "else", "{", "x", "=", "gen_compare_reg_1", "(", "compare_code", ",", "x", ",", "y", ")", ";", "y", "=", "const0_rtx", ";", "gcc_assert", "(", "GET_MODE", "(", "x", ")", "!=", "CC_NOOVmode", "&&", "GET_MODE", "(", "x", ")", "!=", "CCX_NOOVmode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "const0_rtx", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "gen_rtx_IF_THEN_ELSE", "(", "GET_MODE", "(", "dest", ")", ",", "gen_rtx_fmt_ee", "(", "compare_code", ",", "GET_MODE", "(", "x", ")", ",", "x", ",", "y", ")", ",", "const1_rtx", ",", "dest", ")", ")", ")", ";", "return", "1", ";", "}", "}", ""], "natrual_language": ["This", "function", "is", "used", "for", "v9", "only", ".", "CODE", "is", "the", "code", "for", "an", "Scc", "'s", "comparison", ".", "OPERANDS", "[", "0", "]", "is", "the", "target", "of", "the", "Scc", "insn", ".", "OPERANDS", "[", "1", "]", "is", "the", "value", "we", "compare", "against", "const0_rtx", "(", "which", "has", "n't", "been", "generated", "yet", ")", ".", "This", "function", "is", "needed", "to", "turn", "(", "set", "(", "reg", ":", "SI", "110", ")", "(", "gt", "(", "reg", ":", "CCX", "100", "%", "icc", ")", "(", "const_int", "0", ")", ")", ")", "into", "(", "set", "(", "reg", ":", "SI", "110", ")", "(", "gt", ":", "DI", "(", "reg", ":", "CCX", "100", "%", "icc", ")", "(", "const_int", "0", ")", ")", ")", "IE", ":", "The", "instruction", "recognizer", "needs", "to", "see", "the", "mode", "of", "the", "comparison", "to", "find", "the", "right", "instruction", ".", "We", "could", "use", "``", "gt", ":", "DI", "''", "right", "in", "the", "define_expand", ",", "but", "leaving", "it", "out", "allows", "us", "to", "handle", "DI", ",", "SI", ",", "etc", ".", "We", "refer", "to", "the", "global", "sparc", "compare", "operands", "sparc_compare_op0", "and", "sparc_compare_op1", "."], "TS_V_token": ["sparc", "0", "1", "0", "1", "1"], "File": "sparc5", "Func": "gen_v9_scc", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7212, "Length": 315, "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", ";", "if", "(", "MachineInstr", "*", "FoldMI", "=", "foldMemoryOperand", "(", "MI", ",", "SrcOperandId", ",", "DefMI", ")", ")", "{", "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)5", "Func": "optimizeLoadInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7213, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "if", "(", "Count", "%", "4", ")", "return", "false", ";", "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", "4", "4", "0", "0"], "File": "MipsAsmBackend11", "Func": "writeNopData", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7214, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "sh_load_function_descriptor", "(", "rtx", "funcdesc", ")", "{", "rtx", "r1", "=", "gen_rtx_REG", "(", "Pmode", ",", "R1_REG", ")", ";", "rtx", "pic_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "PIC_REG", ")", ";", "rtx", "fnaddr", "=", "gen_rtx_MEM", "(", "Pmode", ",", "funcdesc", ")", ";", "rtx", "gotaddr", "=", "gen_rtx_MEM", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "funcdesc", ",", "4", ")", ")", ";", "emit_move_insn", "(", "r1", ",", "fnaddr", ")", ";", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "emit_move_insn", "(", "pic_reg", ",", "gotaddr", ")", ";", "return", "r1", ";", "}", ""], "natrual_language": ["Emit", "insns", "to", "load", "the", "function", "address", "from", "FUNCDESC", "(", "an", "FDPIC", "function", "descriptor", ")", "into", "r1", "and", "the", "GOT", "address", "into", "r12", ",", "returning", "an", "rtx", "for", "r1", "."], "TS_V_token": ["sh", "4"], "File": "sh", "Func": "sh_load_function_descriptor", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7215, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCTargetLowering", "::", "initializeSplitCSR", "(", "MachineBasicBlock", "*", "Entry", ")", "const", "{", "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": "PPCISelLowering101", "Func": "initializeSplitCSR", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7216, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "MipsRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "MipsSubtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "if", "(", "F", ".", "hasFnAttribute", "(", "\"interrupt\"", ")", ")", "{", "if", "(", "Subtarget", ".", "hasMips64", "(", ")", ")", "return", "Subtarget", ".", "hasMips64r6", "(", ")", "?", "CSR_Interrupt_64R6_SaveList", ":", "CSR_Interrupt_64_SaveList", ";", "else", "return", "Subtarget", ".", "hasMips32r6", "(", ")", "?", "CSR_Interrupt_32R6_SaveList", ":", "CSR_Interrupt_32_SaveList", ";", "}", "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", ";", "if", "(", "Subtarget", ".", "isFPXX", "(", ")", ")", "return", "CSR_O32_FPXX_SaveList", ";", "return", "CSR_O32_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "\"interrupt\"", "Mips", "Mips", "Mips"], "File": "MipsRegisterInfo (2)2", "Func": "getCalleeSavedRegs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7217, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_simd_clone_usable", "(", "struct", "cgraph_node", "*", "node", ")", "{", "switch", "(", "node", "->", "simdclone", "->", "vecsize_mangle", ")", "{", "case", "'b'", ":", "if", "(", "!", "TARGET_SSE2", ")", "return", "-", "1", ";", "if", "(", "!", "TARGET_AVX", ")", "return", "0", ";", "return", "TARGET_AVX2", "?", "2", ":", "1", ";", "case", "'c'", ":", "if", "(", "!", "TARGET_AVX", ")", "return", "-", "1", ";", "return", "TARGET_AVX2", "?", "1", ":", "0", ";", "break", ";", "case", "'d'", ":", "if", "(", "!", "TARGET_AVX2", ")", "return", "-", "1", ";", "return", "0", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["If", "SIMD", "clone", "NODE", "ca", "n't", "be", "used", "in", "a", "vectorized", "loop", "in", "current", "function", ",", "return", "-1", ",", "otherwise", "return", "a", "badness", "of", "using", "it", "(", "0", "if", "it", "is", "most", "desirable", "from", "vecsize_mangle", "point", "of", "view", ",", "1", "slightly", "less", "desirable", ",", "etc", ".", ")", "."], "TS_V_token": ["i386", "1", "0", "2", "1", "1", "1", "0", "1", "0"], "File": "i3864", "Func": "ix86_simd_clone_usable", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7218, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86ExpandPseudo", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "STI", "=", "&", "static_cast", "<", "const", "X86Subtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "STI", "->", "getRegisterInfo", "(", ")", ";", "X86FI", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "X86FL", "=", "STI", "->", "getFrameLowering", "(", ")", ";", "bool", "Modified", "=", "ExpandPseudosWhichAffectControlFlow", "(", "MF", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "Modified", "|=", "ExpandMBB", "(", "MBB", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86ExpandPseudo12", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7219, "Length": 89, "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", ":", "case", "PPC", "::", "XXLXORz", ":", "case", "PPC", "::", "XXLXORspz", ":", "case", "PPC", "::", "XXLXORdpz", ":", "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::ADDIStocHA", "PPC::ADDItocL", "PPC::LOAD_STACK_GUARD", "PPC::XXLXORz", "PPC::XXLXORspz", "PPC::XXLXORdpz", "PPC::V_SET0B", "PPC::V_SET0H", "PPC::V_SET0", "PPC::V_SETALLONESB", "PPC::V_SETALLONESH", "PPC::V_SETALLONES", "PPC::CRSET", "PPC::CRUNSET"], "File": "PPCInstrInfo115", "Func": "isReallyTriviallyReMaterializable", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7220, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64_MachoTargetObjectFile", "::", "getNameWithPrefix", "(", "SmallVectorImpl", "<", "char", ">", "&", "OutName", ",", "const", "GlobalValue", "*", "GV", ",", "const", "TargetMachine", "&", "TM", ")", "const", "{", "getMangler", "(", ")", ".", "getNameWithPrefix", "(", "OutName", ",", "GV", ",", "true", ")", ";", "}", ""], "natrual_language": ["Print", "the", "appropriate", "prefix", "and", "the", "specified", "name", "as", "the", "global", "variable", "name", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64TargetObjectFile (2)", "Func": "getNameWithPrefix", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7221, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_block_move_loop", "(", "rtx", "dest", ",", "rtx", "src", ",", "HOST_WIDE_INT", "length", ",", "HOST_WIDE_INT", "bytes_per_iter", ")", "{", "rtx_code_label", "*", "label", ";", "rtx", "src_reg", ",", "dest_reg", ",", "final_src", ",", "test", ";", "HOST_WIDE_INT", "leftover", ";", "leftover", "=", "length", "%", "bytes_per_iter", ";", "length", "-=", "leftover", ";", "mips_adjust_block_mem", "(", "src", ",", "bytes_per_iter", ",", "&", "src_reg", ",", "&", "src", ")", ";", "mips_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", ")", ";", "label", "=", "gen_label_rtx", "(", ")", ";", "emit_label", "(", "label", ")", ";", "mips_block_move_straight", "(", "dest", ",", "src", ",", "bytes_per_iter", ")", ";", "mips_emit_move", "(", "src_reg", ",", "plus_constant", "(", "Pmode", ",", "src_reg", ",", "bytes_per_iter", ")", ")", ";", "mips_emit_move", "(", "dest_reg", ",", "plus_constant", "(", "Pmode", ",", "dest_reg", ",", "bytes_per_iter", ")", ")", ";", "test", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "src_reg", ",", "final_src", ")", ";", "if", "(", "Pmode", "==", "DImode", ")", "emit_jump_insn", "(", "gen_cbranchdi4", "(", "test", ",", "src_reg", ",", "final_src", ",", "label", ")", ")", ";", "else", "emit_jump_insn", "(", "gen_cbranchsi4", "(", "test", ",", "src_reg", ",", "final_src", ",", "label", ")", ")", ";", "if", "(", "leftover", ")", "mips_block_move_straight", "(", "dest", ",", "src", ",", "leftover", ")", ";", "else", "emit_insn", "(", "gen_nop", "(", ")", ")", ";", "}", ""], "natrual_language": ["Move", "LENGTH", "bytes", "from", "SRC", "to", "DEST", "using", "a", "loop", "that", "moves", "MAX_MOVE_BYTES", "per", "iteration", ".", "LENGTH", "must", "be", "at", "least", "MAX_MOVE_BYTES", ".", "Assume", "that", "the", "memory", "regions", "do", "not", "overlap", "."], "TS_V_token": ["mips", "0", "0"], "File": "mips", "Func": "mips_block_move_loop", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7222, "Length": 207, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "arm_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": ["arm", "\"%qs attribute only applies to functions\""], "File": "arm3", "Func": "arm_handle_fndecl_attribute", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7223, "Length": 57, "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": ["rs6000", "1", "1"], "File": "rs6000-p8swap", "Func": "mark_swaps_for_removal", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7224, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_eliminate_indexed_memrefs", "(", "rtx", "operands", "[", "2", "]", ")", "{", "if", "(", "MEM_P", "(", "operands", "[", "0", "]", ")", "&&", "!", "REG_P", "(", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ")", "&&", "!", "legitimate_constant_pool_address_p", "(", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ",", "GET_MODE", "(", "operands", "[", "0", "]", ")", ",", "false", ")", ")", "operands", "[", "0", "]", "=", "replace_equiv_address", "(", "operands", "[", "0", "]", ",", "copy_addr_to_reg", "(", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ")", ")", ";", "if", "(", "MEM_P", "(", "operands", "[", "1", "]", ")", "&&", "!", "REG_P", "(", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ")", "&&", "!", "legitimate_constant_pool_address_p", "(", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ",", "GET_MODE", "(", "operands", "[", "1", "]", ")", ",", "false", ")", ")", "operands", "[", "1", "]", "=", "replace_equiv_address", "(", "operands", "[", "1", "]", ",", "copy_addr_to_reg", "(", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ")", ")", ";", "}", ""], "natrual_language": ["Helper", "for", "the", "following", ".", "Get", "rid", "of", "[", "r+r", "]", "memory", "refs", "in", "cases", "where", "it", "wo", "n't", "work", "(", "TImode", ",", "TFmode", ")", "."], "TS_V_token": ["rs6000", "2", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "0", "1", "1", "1", "1", "0"], "File": "rs6000", "Func": "rs6000_eliminate_indexed_memrefs", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7225, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "if", "(", "!", "TFI", "->", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "MachineInstr", "*", "Old", "=", "I", ";", "DebugLoc", "dl", "=", "Old", "->", "getDebugLoc", "(", ")", ";", "unsigned", "Amount", "=", "Old", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "Amount", "!=", "0", ")", "{", "unsigned", "Align", "=", "TFI", "->", "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", ",", "Pred", ",", "PredReg", ")", ";", "}", "else", "{", "unsigned", "PredReg", "=", "Old", "->", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", ";", "assert", "(", "Opc", "==", "ARM", "::", "ADJCALLSTACKUP", "||", "Opc", "==", "ARM", "::", "tADJCALLSTACKUP", ")", ";", "emitSPUpdate", "(", "isARM", ",", "MBB", ",", "I", ",", "dl", ",", "TII", ",", "Amount", ",", "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", "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": "ARMBaseRegisterInfo1", "Func": "eliminateCallFramePseudoInstr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7226, "Length": 301, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "mode_supports_vmx_dform", "(", "machine_mode", "mode", ")", "{", "return", "(", "(", "reg_addr", "[", "mode", "]", ".", "addr_mask", "[", "RELOAD_REG_VMX", "]", "&", "RELOAD_REG_OFFSET", ")", "!=", "0", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "have", "D-form", "addressing", "in", "altivec", "registers", "."], "TS_V_token": ["rs6000", "0"], "File": "rs6000", "Func": "mode_supports_vmx_dform", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7227, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", "const", "override", "{", "Value", "=", "adjustFixupValue", "(", "Fixup", ".", "getKind", "(", ")", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "4", ";", "++", "i", ")", "Data", "[", "Offset", "+", "i", "]", "|=", "uint8_t", "(", "(", "Value", ">>", "(", "(", "4", "-", "i", "-", "1", ")", "*", "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": ["Sparc", "0", "4", "4", "1", "8", "0xff"], "File": "SparcAsmBackend", "Func": "applyFixup", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7228, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsInstrInfo", "::", "reverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "assert", "(", "(", "Cond", ".", "size", "(", ")", "&&", "Cond", ".", "size", "(", ")", "<=", "3", ")", "&&", "\"Invalid Mips branch condition!\"", ")", ";", "Cond", "[", "0", "]", ".", "setImm", "(", "getOppositeBranchOpc", "(", "Cond", "[", "0", "]", ".", "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": ["Mips", "Mips", "3", "\"Invalid Mips branch condition!\"", "0", "0"], "File": "MipsInstrInfo (2)3", "Func": "reverseBranchCondition", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7229, "Length": 59, "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", "(", ")", ";", "}", "if", "(", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", "setMachineOutliner", "(", "true", ")", ";", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "X86", "target", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86TargetMachine123", "Func": "X86TargetMachine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7230, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "PPCFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "GuaranteedTailCallOpt", "&&", "I", "->", "getOpcode", "(", ")", "==", "PPC", "::", "ADJCALLSTACKUP", ")", "{", "if", "(", "int", "CalleeAmt", "=", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ")", "{", "bool", "is64Bit", "=", "Subtarget", ".", "isPPC64", "(", ")", ";", "CalleeAmt", "*=", "-", "1", ";", "unsigned", "StackReg", "=", "is64Bit", "?", "PPC", "::", "X1", ":", "PPC", "::", "R1", ";", "unsigned", "TmpReg", "=", "is64Bit", "?", "PPC", "::", "X0", ":", "PPC", "::", "R0", ";", "unsigned", "ADDIInstr", "=", "is64Bit", "?", "PPC", "::", "ADDI8", ":", "PPC", "::", "ADDI", ";", "unsigned", "ADDInstr", "=", "is64Bit", "?", "PPC", "::", "ADD8", ":", "PPC", "::", "ADD4", ";", "unsigned", "LISInstr", "=", "is64Bit", "?", "PPC", "::", "LIS8", ":", "PPC", "::", "LIS", ";", "unsigned", "ORIInstr", "=", "is64Bit", "?", "PPC", "::", "ORI8", ":", "PPC", "::", "ORI", ";", "MachineInstr", "*", "MI", "=", "I", ";", "const", "DebugLoc", "&", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "isInt", "<", "16", ">", "(", "CalleeAmt", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "TII", ".", "get", "(", "ADDIInstr", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "CalleeAmt", ")", ";", "}", "else", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "I", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "LISInstr", ")", ",", "TmpReg", ")", ".", "addImm", "(", "CalleeAmt", ">>", "16", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ORIInstr", ")", ",", "TmpReg", ")", ".", "addReg", "(", "TmpReg", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "CalleeAmt", "&", "0xFFFF", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ADDInstr", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "TmpReg", ")", ";", "}", "}", "}", "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": ["PowerPC", "PPC", "PPC::ADJCALLSTACKUP", "1", "PPC", "1", "PPC::X1", "PPC::R1", "PPC::X0", "PPC::R0", "PPC::ADDI8", "PPC::ADDI", "PPC::ADD8", "PPC::ADD4", "PPC::LIS8", "PPC::LIS", "PPC::ORI8", "PPC::ORI", "16", "16", "0xFFFF"], "File": "PPCFrameLowering (2)", "Func": "eliminateCallFramePseudoInstr", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7231, "Length": 339, "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'", ":", "case", "'z'", ":", "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", ";", "case", "'z'", ":", "RC", "=", "&", "AArch64", "::", "ZPRRegClass", ";", "break", ";", "default", ":", "return", "true", ";", "}", "return", "printAsmRegInClass", "(", "MO", ",", "RC", ",", "AArch64", "::", "NoRegAltName", ",", "O", ")", ";", "}", "printOperand", "(", "MI", ",", "OpNum", ",", "O", ")", ";", "return", "false", ";", "}", "}", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "Register", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "if", "(", "AArch64", "::", "GPR32allRegClass", ".", "contains", "(", "Reg", ")", "||", "AArch64", "::", "GPR64allRegClass", ".", "contains", "(", "Reg", ")", ")", "return", "printAsmMRegister", "(", "MO", ",", "'x'", ",", "O", ")", ";", "unsigned", "AltName", "=", "AArch64", "::", "NoRegAltName", ";", "const", "TargetRegisterClass", "*", "RegClass", ";", "if", "(", "AArch64", "::", "ZPRRegClass", ".", "contains", "(", "Reg", ")", ")", "{", "RegClass", "=", "&", "AArch64", "::", "ZPRRegClass", ";", "}", "else", "{", "RegClass", "=", "&", "AArch64", "::", "FPR128RegClass", ";", "AltName", "=", "AArch64", "::", "vreg", ";", "}", "return", "printAsmRegInClass", "(", "MO", ",", "RegClass", ",", "AltName", ",", "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::ZPRRegClass", "AArch64::NoRegAltName", "AArch64::GPR32allRegClass", "AArch64::GPR64allRegClass", "AArch64::NoRegAltName", "AArch64::ZPRRegClass", "AArch64::ZPRRegClass", "AArch64::FPR128RegClass", "AArch64::vreg"], "File": "AArch64AsmPrinter48", "Func": "PrintAsmOperand", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7232, "Length": 445, "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": 7233, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "opt_machine_mode", "aarch64_full_sve_mode", "(", "scalar_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_DFmode", ":", "return", "VNx2DFmode", ";", "case", "E_SFmode", ":", "return", "VNx4SFmode", ";", "case", "E_HFmode", ":", "return", "VNx8HFmode", ";", "case", "E_BFmode", ":", "return", "VNx8BFmode", ";", "case", "E_DImode", ":", "return", "VNx2DImode", ";", "case", "E_SImode", ":", "return", "VNx4SImode", ";", "case", "E_HImode", ":", "return", "VNx8HImode", ";", "case", "E_QImode", ":", "return", "VNx16QImode", ";", "default", ":", "return", "opt_machine_mode", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "full-width", "SVE", "vector", "mode", "for", "element", "mode", "MODE", ",", "if", "one", "exists", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_full_sve_mode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7234, "Length": 69, "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": 7235, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsSETargetLowering", "::", "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", "(", "Callee", ")", ";", "MipsTargetLowering", "::", "getOpndList", "(", "Ops", ",", "RegsToPass", ",", "IsPICCall", ",", "GlobalOrExternal", ",", "InternalLinkage", ",", "IsCallReloc", ",", "CLI", ",", "Callee", ",", "Chain", ",", "nargs", ")", ";", "}", ""], "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"], "File": "MipsSEISelLowering34", "Func": "getOpndList", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7236, "Length": 88, "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": 7237, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "CAHPSubtarget", "*", "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": ["CAHP", "CAHP"], "File": "CAHPTargetMachine", "Func": "getSubtargetImpl", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7238, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "reg_class", "arm_regno_class", "(", "int", "regno", ")", "{", "if", "(", "regno", "==", "PC_REGNUM", ")", "return", "NO_REGS", ";", "if", "(", "TARGET_THUMB1", ")", "{", "if", "(", "regno", "==", "STACK_POINTER_REGNUM", ")", "return", "STACK_REG", ";", "if", "(", "regno", "==", "CC_REGNUM", ")", "return", "CC_REG", ";", "if", "(", "regno", "<", "8", ")", "return", "LO_REGS", ";", "return", "HI_REGS", ";", "}", "if", "(", "TARGET_THUMB2", "&&", "regno", "<", "8", ")", "return", "LO_REGS", ";", "if", "(", "regno", "<=", "LAST_ARM_REGNUM", "||", "regno", "==", "FRAME_POINTER_REGNUM", "||", "regno", "==", "ARG_POINTER_REGNUM", ")", "return", "TARGET_THUMB2", "?", "HI_REGS", ":", "GENERAL_REGS", ";", "if", "(", "regno", "==", "CC_REGNUM", "||", "regno", "==", "VFPCC_REGNUM", ")", "return", "TARGET_THUMB2", "?", "CC_REG", ":", "NO_REGS", ";", "if", "(", "IS_VFP_REGNUM", "(", "regno", ")", ")", "{", "if", "(", "regno", "<=", "D7_VFP_REGNUM", ")", "return", "VFP_D0_D7_REGS", ";", "else", "if", "(", "regno", "<=", "LAST_LO_VFP_REGNUM", ")", "return", "VFP_LO_REGS", ";", "else", "return", "VFP_HI_REGS", ";", "}", "if", "(", "IS_IWMMXT_REGNUM", "(", "regno", ")", ")", "return", "IWMMXT_REGS", ";", "if", "(", "IS_IWMMXT_GR_REGNUM", "(", "regno", ")", ")", "return", "IWMMXT_GR_REGS", ";", "return", "NO_REGS", ";", "}", ""], "natrual_language": ["For", "efficiency", "and", "historical", "reasons", "LO_REGS", ",", "HI_REGS", "and", "CC_REGS", "are", "not", "used", "in", "arm", "mode", "."], "TS_V_token": ["arm", "8", "8"], "File": "arm4", "Func": "arm_regno_class", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7239, "Length": 158, "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", ")", ";", "}", "unsigned", "NumBytes", "=", "0", ";", "const", "MCInstrDesc", "&", "Desc", "=", "MI", ".", "getDesc", "(", ")", ";", "switch", "(", "Desc", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "NumBytes", "=", "4", ";", "break", ";", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "case", "TargetOpcode", "::", "EH_LABEL", ":", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "KILL", ":", "NumBytes", "=", "0", ";", "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", "::", "JumpTableDest32", ":", "case", "AArch64", "::", "JumpTableDest16", ":", "case", "AArch64", "::", "JumpTableDest8", ":", "NumBytes", "=", "12", ";", "break", ";", "case", "AArch64", "::", "SPACE", ":", "NumBytes", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "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", "4", "0", "4", "0", "\"Invalid number of NOP bytes requested!\"", "4", "0", "\"Invalid number of NOP bytes requested!\"", "AArch64::TLSDESC_CALLSEQ", "16", "AArch64::JumpTableDest32", "AArch64::JumpTableDest16", "AArch64::JumpTableDest8", "12", "AArch64::SPACE", "1"], "File": "AArch64InstrInfo10", "Func": "getInstSizeInBytes", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7240, "Length": 269, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ia64_expand_vecint_cmov", "(", "rtx", "operands", "[", "]", ")", "{", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "operands", "[", "3", "]", ")", ";", "bool", "negate", ";", "rtx", "cmp", ",", "x", ",", "ot", ",", "of", ";", "cmp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "negate", "=", "ia64_expand_vecint_compare", "(", "code", ",", "mode", ",", "cmp", ",", "operands", "[", "4", "]", ",", "operands", "[", "5", "]", ")", ";", "ot", "=", "operands", "[", "1", "+", "negate", "]", ";", "of", "=", "operands", "[", "2", "-", "negate", "]", ";", "if", "(", "ot", "==", "CONST0_RTX", "(", "mode", ")", ")", "{", "if", "(", "of", "==", "CONST0_RTX", "(", "mode", ")", ")", "{", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "ot", ")", ";", "return", ";", "}", "x", "=", "gen_rtx_NOT", "(", "mode", ",", "cmp", ")", ";", "x", "=", "gen_rtx_AND", "(", "mode", ",", "x", ",", "of", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "operands", "[", "0", "]", ",", "x", ")", ")", ";", "}", "else", "if", "(", "of", "==", "CONST0_RTX", "(", "mode", ")", ")", "{", "x", "=", "gen_rtx_AND", "(", "mode", ",", "cmp", ",", "ot", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "operands", "[", "0", "]", ",", "x", ")", ")", ";", "}", "else", "{", "rtx", "t", ",", "f", ";", "t", "=", "gen_reg_rtx", "(", "mode", ")", ";", "x", "=", "gen_rtx_AND", "(", "mode", ",", "cmp", ",", "operands", "[", "1", "+", "negate", "]", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "t", ",", "x", ")", ")", ";", "f", "=", "gen_reg_rtx", "(", "mode", ")", ";", "x", "=", "gen_rtx_NOT", "(", "mode", ",", "cmp", ")", ";", "x", "=", "gen_rtx_AND", "(", "mode", ",", "x", ",", "operands", "[", "2", "-", "negate", "]", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "f", ",", "x", ")", ")", ";", "x", "=", "gen_rtx_IOR", "(", "mode", ",", "t", ",", "f", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "operands", "[", "0", "]", ",", "x", ")", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "an", "integral", "vector", "conditional", "move", "."], "TS_V_token": ["ia64", "0", "3", "4", "5", "1", "2", "0", "0", "0", "1", "2", "0"], "File": "ia643", "Func": "ia64_expand_vecint_cmov", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7241, "Length": 312, "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", "'z'", ":", "return", "C_Other", ";", "case", "'x'", ":", "case", "'w'", ":", "return", "C_RegisterClass", ";", "case", "'Q'", ":", "return", "C_Memory", ";", "}", "}", "else", "if", "(", "Constraint", ".", "size", "(", ")", "==", "3", "&&", "Constraint", "[", "0", "]", "==", "'U'", "&&", "Constraint", "[", "1", "]", "==", "'p'", "&&", "(", "Constraint", "[", "2", "]", "==", "'l'", "||", "Constraint", "[", "2", "]", "==", "'a'", ")", ")", "{", "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", "3", "0", "1", "2", "2"], "File": "AArch64ISelLowering102", "Func": "getConstraintType", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7242, "Length": 113, "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", ",", "CopySrcSubreg", ";", "if", "(", "MI", "->", "isCopy", "(", ")", ")", "{", "CopySrcReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "CopySrcSubreg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getSubReg", "(", ")", ";", "}", "else", "{", "assert", "(", "MI", "->", "isSubregToReg", "(", ")", "&&", "\"bad opcode for lookThruCopyLike\"", ")", ";", "CopySrcReg", "=", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "CopySrcSubreg", "=", "MI", "->", "getOperand", "(", "2", ")", ".", "getSubReg", "(", ")", ";", "}", "if", "(", "!", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "CopySrcReg", ")", ")", "{", "SwapVector", "[", "VecIdx", "]", ".", "MentionsPhysVR", "=", "1", ";", "return", "CopySrcReg", ";", "}", "if", "(", "CopySrcSubreg", "!=", "0", ")", "{", "SwapVector", "[", "VecIdx", "]", ".", "HasImplicitSubreg", "=", "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", "1", "\"bad opcode for lookThruCopyLike\"", "2", "2", "1", "0", "1"], "File": "PPCVSXSwapRemoval21", "Func": "lookThruCopyLike", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7243, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "rs6000_store_data_bypass_p", "(", "rtx_insn", "*", "out_insn", ",", "rtx_insn", "*", "in_insn", ")", "{", "rtx", "out_set", ",", "in_set", ";", "rtx", "out_pat", ",", "in_pat", ";", "rtx", "out_exp", ",", "in_exp", ";", "int", "i", ",", "j", ";", "in_set", "=", "single_set", "(", "in_insn", ")", ";", "if", "(", "in_set", ")", "{", "if", "(", "MEM_P", "(", "SET_DEST", "(", "in_set", ")", ")", ")", "{", "out_set", "=", "single_set", "(", "out_insn", ")", ";", "if", "(", "!", "out_set", ")", "{", "out_pat", "=", "PATTERN", "(", "out_insn", ")", ";", "if", "(", "GET_CODE", "(", "out_pat", ")", "==", "PARALLEL", ")", "{", "for", "(", "i", "=", "0", ";", "i", "<", "XVECLEN", "(", "out_pat", ",", "0", ")", ";", "i", "++", ")", "{", "out_exp", "=", "XVECEXP", "(", "out_pat", ",", "0", ",", "i", ")", ";", "if", "(", "(", "GET_CODE", "(", "out_exp", ")", "==", "CLOBBER", ")", "||", "(", "GET_CODE", "(", "out_exp", ")", "==", "USE", ")", ")", "continue", ";", "else", "if", "(", "GET_CODE", "(", "out_exp", ")", "!=", "SET", ")", "return", "false", ";", "}", "}", "}", "}", "}", "else", "{", "in_pat", "=", "PATTERN", "(", "in_insn", ")", ";", "if", "(", "GET_CODE", "(", "in_pat", ")", "!=", "PARALLEL", ")", "return", "false", ";", "for", "(", "i", "=", "0", ";", "i", "<", "XVECLEN", "(", "in_pat", ",", "0", ")", ";", "i", "++", ")", "{", "in_exp", "=", "XVECEXP", "(", "in_pat", ",", "0", ",", "i", ")", ";", "if", "(", "(", "GET_CODE", "(", "in_exp", ")", "==", "CLOBBER", ")", "||", "(", "GET_CODE", "(", "in_exp", ")", "==", "USE", ")", ")", "continue", ";", "else", "if", "(", "GET_CODE", "(", "in_exp", ")", "!=", "SET", ")", "return", "false", ";", "if", "(", "MEM_P", "(", "SET_DEST", "(", "in_exp", ")", ")", ")", "{", "out_set", "=", "single_set", "(", "out_insn", ")", ";", "if", "(", "!", "out_set", ")", "{", "out_pat", "=", "PATTERN", "(", "out_insn", ")", ";", "if", "(", "GET_CODE", "(", "out_pat", ")", "!=", "PARALLEL", ")", "return", "false", ";", "for", "(", "j", "=", "0", ";", "j", "<", "XVECLEN", "(", "out_pat", ",", "0", ")", ";", "j", "++", ")", "{", "out_exp", "=", "XVECEXP", "(", "out_pat", ",", "0", ",", "j", ")", ";", "if", "(", "(", "GET_CODE", "(", "out_exp", ")", "==", "CLOBBER", ")", "||", "(", "GET_CODE", "(", "out_exp", ")", "==", "USE", ")", ")", "continue", ";", "else", "if", "(", "GET_CODE", "(", "out_exp", ")", "!=", "SET", ")", "return", "false", ";", "}", "}", "}", "}", "}", "return", "store_data_bypass_p", "(", "out_insn", ",", "in_insn", ")", ";", "}", ""], "natrual_language": ["Given", "that", "there", "exists", "at", "least", "one", "variable", "that", "is", "set", "(", "produced", ")", "by", "OUT_INSN", "and", "read", "(", "consumed", ")", "by", "IN_INSN", ",", "return", "true", "iff", "IN_INSN", "represents", "one", "or", "more", "memory", "store", "operations", "and", "none", "of", "the", "variables", "set", "by", "OUT_INSN", "is", "used", "by", "IN_INSN", "as", "the", "address", "of", "a", "store", "operation", ".", "If", "either", "IN_INSN", "or", "OUT_INSN", "does", "not", "represent", "a", "``", "single", "''", "RTL", "SET", "expression", "(", "as", "loosely", "defined", "by", "the", "implementation", "of", "the", "single_set", "function", ")", "or", "a", "PARALLEL", "with", "only", "SETs", ",", "CLOBBERs", ",", "and", "USEs", "inside", ",", "this", "function", "returns", "false", ".", "This", "rs6000-specific", "version", "of", "store_data_bypass_p", "checks", "for", "certain", "conditions", "that", "result", "in", "assertion", "failures", "(", "and", "internal", "compiler", "errors", ")", "in", "the", "generic", "store_data_bypass_p", "function", "and", "returns", "false", "rather", "than", "calling", "store_data_bypass_p", "if", "one", "of", "the", "problematic", "conditions", "is", "detected", "."], "TS_V_token": ["powerpcspe", "0", "0", "0", "0", "0", "0", "0", "0", "0"], "File": "powerpcspe", "Func": "rs6000_store_data_bypass_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7244, "Length": 363, "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": 7245, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTTIImpl", "::", "canSaveCmp", "(", "Loop", "*", "L", ",", "BranchInst", "*", "*", "BI", ",", "ScalarEvolution", "*", "SE", ",", "LoopInfo", "*", "LI", ",", "DominatorTree", "*", "DT", ",", "AssumptionCache", "*", "AC", ",", "TargetLibraryInfo", "*", "LibInfo", ")", "{", "for", "(", "Loop", "::", "iterator", "I", "=", "L", "->", "begin", "(", ")", ",", "E", "=", "L", "->", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "if", "(", "canSaveCmp", "(", "*", "I", ",", "BI", ",", "SE", ",", "LI", ",", "DT", ",", "AC", ",", "LibInfo", ")", ")", "return", "false", ";", "HardwareLoopInfo", "HWLoopInfo", "(", "L", ")", ";", "if", "(", "!", "HWLoopInfo", ".", "canAnalyze", "(", "*", "LI", ")", ")", "return", "false", ";", "if", "(", "!", "isHardwareLoopProfitable", "(", "L", ",", "*", "SE", ",", "*", "AC", ",", "LibInfo", ",", "HWLoopInfo", ")", ")", "return", "false", ";", "if", "(", "!", "HWLoopInfo", ".", "isHardwareLoopCandidate", "(", "*", "SE", ",", "*", "LI", ",", "*", "DT", ")", ")", "return", "false", ";", "*", "BI", "=", "HWLoopInfo", ".", "ExitBranch", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "can", "save", "a", "compare", "for", "loop", "count", ",", "for", "example", "hardware", "loop", "saves", "a", "compare", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCTargetTransformInfo1", "Func": "canSaveCmp", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7246, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"AArch64PreLegalizerCombiner\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64", "\"AArch64PreLegalizerCombiner\""], "File": "AArch64PreLegalizerCombiner", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7247, "Length": 11, "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": 7248, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_sve_only_stmt_p", "(", "stmt_vec_info", "stmt_info", ",", "tree", "vectype", ")", "{", "if", "(", "!", "aarch64_sve_mode_p", "(", "TYPE_MODE", "(", "vectype", ")", ")", ")", "return", "false", ";", "if", "(", "STMT_VINFO_DATA_REF", "(", "stmt_info", ")", ")", "{", "if", "(", "STMT_VINFO_GATHER_SCATTER_P", "(", "stmt_info", ")", ")", "return", "true", ";", "if", "(", "auto", "*", "call", "=", "dyn_cast", "<", "gcall", "*", ">", "(", "stmt_info", "->", "stmt", ")", ")", "if", "(", "gimple_call_internal_p", "(", "call", ")", "&&", "internal_fn_mask_index", "(", "gimple_call_internal_fn", "(", "call", ")", ")", ">=", "0", ")", "return", "true", ";", "}", "auto", "*", "assign", "=", "dyn_cast", "<", "gassign", "*", ">", "(", "stmt_info", "->", "stmt", ")", ";", "if", "(", "assign", "&&", "gimple_assign_rhs_code", "(", "assign", ")", "==", "MULT_EXPR", "&&", "GET_MODE_INNER", "(", "TYPE_MODE", "(", "vectype", ")", ")", "==", "DImode", "&&", "!", "integer_pow2p", "(", "gimple_assign_rhs2", "(", "assign", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "vectorized", "form", "of", "STMT_INFO", "is", "something", "that", "is", "only", "possible", "when", "using", "SVE", "instead", "of", "Advanced", "SIMD", ".", "VECTYPE", "is", "the", "type", "of", "the", "vector", "that", "STMT_INFO", "is", "operating", "on", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch641", "Func": "aarch64_sve_only_stmt_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7249, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_costly_group", "(", "rtx", "*", "group_insns", ",", "rtx", "next_insn", ")", "{", "int", "i", ";", "int", "issue_rate", "=", "rs6000_issue_rate", "(", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "issue_rate", ";", "i", "++", ")", "{", "sd_iterator_def", "sd_it", ";", "dep_t", "dep", ";", "rtx", "insn", "=", "group_insns", "[", "i", "]", ";", "if", "(", "!", "insn", ")", "continue", ";", "FOR_EACH_DEP", "(", "insn", ",", "SD_LIST_RES_FORW", ",", "sd_it", ",", "dep", ")", "{", "rtx", "next", "=", "DEP_CON", "(", "dep", ")", ";", "if", "(", "next", "==", "next_insn", "&&", "rs6000_is_costly_dependence", "(", "dep", ",", "dep_cost", "(", "dep", ")", ",", "0", ")", ")", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "recommended", "to", "keep", "NEXT_INSN", "``", "far", "''", "(", "in", "a", "separate", "dispatch", "group", ")", "from", "the", "insns", "in", "GROUP_INSNS", ".", "Return", "false", "otherwise", "."], "TS_V_token": ["rs6000", "0", "0"], "File": "rs6000", "Func": "is_costly_group", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7250, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_split_logical_inner", "(", "rtx", "dest", ",", "rtx", "op1", ",", "rtx", "op2", ",", "enum", "rtx_code", "code", ",", "machine_mode", "mode", ",", "bool", "complement_final_p", ",", "bool", "complement_op1_p", ",", "bool", "complement_op2_p", ")", "{", "rtx", "bool_rtx", ";", "if", "(", "op2", "&&", "GET_CODE", "(", "op2", ")", "==", "CONST_INT", "&&", "(", "mode", "==", "SImode", "||", "(", "mode", "==", "DImode", "&&", "TARGET_POWERPC64", ")", ")", "&&", "!", "complement_final_p", "&&", "!", "complement_op1_p", "&&", "!", "complement_op2_p", ")", "{", "HOST_WIDE_INT", "mask", "=", "GET_MODE_MASK", "(", "mode", ")", ";", "HOST_WIDE_INT", "value", "=", "INTVAL", "(", "op2", ")", "&", "mask", ";", "if", "(", "code", "==", "AND", ")", "{", "if", "(", "value", "==", "0", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "const0_rtx", ")", ")", ";", "return", ";", "}", "else", "if", "(", "value", "==", "mask", ")", "{", "if", "(", "!", "rtx_equal_p", "(", "dest", ",", "op1", ")", ")", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "op1", ")", ")", ";", "return", ";", "}", "}", "else", "if", "(", "code", "==", "IOR", "||", "code", "==", "XOR", ")", "{", "if", "(", "value", "==", "0", ")", "{", "if", "(", "!", "rtx_equal_p", "(", "dest", ",", "op1", ")", ")", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "op1", ")", ")", ";", "return", ";", "}", "}", "}", "if", "(", "code", "==", "AND", "&&", "mode", "==", "SImode", "&&", "!", "complement_final_p", "&&", "!", "complement_op1_p", "&&", "!", "complement_op2_p", ")", "{", "emit_insn", "(", "gen_andsi3", "(", "dest", ",", "op1", ",", "op2", ")", ")", ";", "return", ";", "}", "if", "(", "complement_op1_p", ")", "op1", "=", "gen_rtx_NOT", "(", "mode", ",", "op1", ")", ";", "if", "(", "complement_op2_p", ")", "op2", "=", "gen_rtx_NOT", "(", "mode", ",", "op2", ")", ";", "if", "(", "!", "complement_op1_p", "&&", "complement_op2_p", ")", "std", "::", "swap", "(", "op1", ",", "op2", ")", ";", "bool_rtx", "=", "(", "(", "code", "==", "NOT", ")", "?", "gen_rtx_NOT", "(", "mode", ",", "op1", ")", ":", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "op1", ",", "op2", ")", ")", ";", "if", "(", "complement_final_p", ")", "bool_rtx", "=", "gen_rtx_NOT", "(", "mode", ",", "bool_rtx", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "bool_rtx", ")", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "rs6000_split_logical", "to", "emit", "a", "logical", "instruction", "after", "spliting", "the", "operation", "to", "single", "GPR", "registers", ".", "DEST", "is", "the", "destination", "register", ".", "OP1", "and", "OP2", "are", "the", "input", "source", "registers", ".", "CODE", "is", "the", "base", "operation", "(", "AND", ",", "IOR", ",", "XOR", ",", "NOT", ")", ".", "MODE", "is", "the", "machine", "mode", ".", "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": ["powerpcspe", "0", "0"], "File": "powerpcspe", "Func": "rs6000_split_logical_inner", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7251, "Length": 318, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LEGInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "StringRef", "(", "getRegisterName", "(", "RegNo", ")", ")", ".", "lower", "(", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["LEG", "LEG"], "File": "LEGInstPrinter", "Func": "printRegName", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7252, "Length": 29, "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": 7253, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "X86InstrInfo", "::", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "&", "MI", ",", "ArrayRef", "<", "unsigned", ">", "Ops", ",", "MachineBasicBlock", "::", "iterator", "InsertPt", ",", "int", "FrameIndex", ",", "LiveIntervals", "*", "LIS", ")", "const", "{", "if", "(", "NoFusing", ")", "return", "nullptr", ";", "if", "(", "!", "MF", ".", "getFunction", "(", ")", ".", "hasOptSize", "(", ")", "&&", "(", "hasPartialRegUpdate", "(", "MI", ".", "getOpcode", "(", ")", ",", "Subtarget", ",", "true", ")", "||", "shouldPreventUndefRegUpdateMemFold", "(", "MF", ",", "MI", ")", ")", ")", "return", "nullptr", ";", "for", "(", "auto", "Op", ":", "Ops", ")", "{", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "Op", ")", ";", "auto", "SubReg", "=", "MO", ".", "getSubReg", "(", ")", ";", "if", "(", "SubReg", "&&", "(", "MO", ".", "isDef", "(", ")", "||", "SubReg", "==", "X86", "::", "sub_8bit_hi", ")", ")", "return", "nullptr", ";", "}", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "Size", "=", "MFI", ".", "getObjectSize", "(", "FrameIndex", ")", ";", "unsigned", "Alignment", "=", "MFI", ".", "getObjectAlignment", "(", "FrameIndex", ")", ";", "if", "(", "!", "RI", ".", "needsStackRealignment", "(", "MF", ")", ")", "Alignment", "=", "std", "::", "min", "(", "Alignment", ",", "Subtarget", ".", "getFrameLowering", "(", ")", "->", "getStackAlignment", "(", ")", ")", ";", "if", "(", "Ops", ".", "size", "(", ")", "==", "2", "&&", "Ops", "[", "0", "]", "==", "0", "&&", "Ops", "[", "1", "]", "==", "1", ")", "{", "unsigned", "NewOpc", "=", "0", ";", "unsigned", "RCSize", "=", "0", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "nullptr", ";", "case", "X86", "::", "TEST8rr", ":", "NewOpc", "=", "X86", "::", "CMP8ri", ";", "RCSize", "=", "1", ";", "break", ";", "case", "X86", "::", "TEST16rr", ":", "NewOpc", "=", "X86", "::", "CMP16ri8", ";", "RCSize", "=", "2", ";", "break", ";", "case", "X86", "::", "TEST32rr", ":", "NewOpc", "=", "X86", "::", "CMP32ri8", ";", "RCSize", "=", "4", ";", "break", ";", "case", "X86", "::", "TEST64rr", ":", "NewOpc", "=", "X86", "::", "CMP64ri8", ";", "RCSize", "=", "8", ";", "break", ";", "}", "if", "(", "Size", "<", "RCSize", ")", "return", "nullptr", ";", "MI", ".", "setDesc", "(", "get", "(", "NewOpc", ")", ")", ";", "MI", ".", "getOperand", "(", "1", ")", ".", "ChangeToImmediate", "(", "0", ")", ";", "}", "else", "if", "(", "Ops", ".", "size", "(", ")", "!=", "1", ")", "return", "nullptr", ";", "return", "foldMemoryOperandImpl", "(", "MF", ",", "MI", ",", "Ops", "[", "0", "]", ",", "MachineOperand", "::", "CreateFI", "(", "FrameIndex", ")", ",", "InsertPt", ",", "Size", ",", "Alignment", ",", "true", ")", ";", "}", ""], "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": ["X86", "X86", "X86::sub_8bit_hi", "2", "0", "0", "1", "1", "0", "0", "X86::TEST8rr", "X86::CMP8ri", "1", "X86::TEST16rr", "X86::CMP16ri8", "2", "X86::TEST32rr", "X86::CMP32ri8", "4", "X86::TEST64rr", "X86::CMP64ri8", "8", "1", "0", "1", "0"], "File": "X86InstrInfo99", "Func": "foldMemoryOperandImpl", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7254, "Length": 382, "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": 7255, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1FrameLowering", "::", "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", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "bool", "isVarArg", "=", "AFI", "->", "getArgRegsSaveSize", "(", ")", ">", "0", ";", "DebugLoc", "DL", "=", "MI", "!=", "MBB", ".", "end", "(", ")", "?", "MI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "ARM", "::", "tPOP", ")", ")", ";", "AddDefaultPred", "(", "MIB", ")", ";", "bool", "NeedsPop", "=", "false", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "if", "(", "Reg", "==", "ARM", "::", "LR", ")", "{", "if", "(", "MBB", ".", "succ_empty", "(", ")", ")", "{", "if", "(", "isVarArg", ")", "continue", ";", "if", "(", "!", "STI", ".", "hasV5TOps", "(", ")", ")", "continue", ";", "Reg", "=", "ARM", "::", "PC", ";", "(", "*", "MIB", ")", ".", "setDesc", "(", "TII", ".", "get", "(", "ARM", "::", "tPOP_RET", ")", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "MIB", ".", "copyImplicitOps", "(", "&", "*", "MI", ")", ";", "MI", "=", "MBB", ".", "erase", "(", "MI", ")", ";", "}", "else", "continue", ";", "}", "MIB", ".", "addReg", "(", "Reg", ",", "getDefRegState", "(", "true", ")", ")", ";", "NeedsPop", "=", "true", ";", "}", "if", "(", "NeedsPop", ")", "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": "Thumb1FrameLowering18", "Func": "restoreCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7256, "Length": 307, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "ix86_GOT_alias_set", "(", "void", ")", "{", "static", "HOST_WIDE_INT", "set", "=", "-", "1", ";", "if", "(", "set", "==", "-", "1", ")", "set", "=", "new_alias_set", "(", ")", ";", "return", "set", ";", "}", ""], "natrual_language": ["Return", "an", "unique", "alias", "set", "for", "the", "GOT", "."], "TS_V_token": ["i386", "1", "1"], "File": "i3863", "Func": "ix86_GOT_alias_set", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7257, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86SolarisTargetObjectFile", "::", "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": ["X86", "X86"], "File": "X86TargetObjectFile18", "Func": "Initialize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7258, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "bool", "Changed", "=", "false", ";", "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": ["Mips"], "File": "MipsDelaySlotFiller17", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7259, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getCacheLineSize", "(", ")", "const", "override", "{", "return", "CacheLineSize", ";", "}", ""], "natrual_language": ["Return", "the", "target", "cache", "line", "size", "in", "bytes", "."], "TS_V_token": ["AArch64"], "File": "AArch64Subtarget (2)1", "Func": "getCacheLineSize", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7260, "Length": 11, "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", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "Options", ".", "StackAlignmentOverride", ")", ",", "FrameLowering", "(", "*", "this", ",", "Subtarget", ")", ",", "InstrItins", "(", "Subtarget", ".", "getInstrItineraryData", "(", ")", ")", ",", "DL", "(", "computeDataLayout", "(", "*", "getSubtargetImpl", "(", ")", ")", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "JITInfo", "(", "*", "this", ")", "{", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "RIPRel", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "isTargetCOFF", "(", ")", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "StubPIC", ")", ";", "else", "{", "assert", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "DynamicNoPIC", ")", ";", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "StubDynamicNoPIC", ")", ";", "}", "}", "else", "if", "(", "Subtarget", ".", "isTargetELF", "(", ")", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "GOT", ")", ";", "}", "if", "(", "Options", ".", "FloatABIType", "==", "FloatABI", "::", "Default", ")", "this", "->", "Options", ".", "FloatABIType", "=", "FloatABI", "::", "Hard", ";", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "X86", "target", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86TargetMachine42", "Func": "X86TargetMachine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7261, "Length": 282, "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": 7262, "Length": 387, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZPassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createSystemZShortenInstPass", "(", "getSystemZTargetMachine", "(", ")", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createSystemZElimComparePass", "(", "getSystemZTargetMachine", "(", ")", ")", ")", ";", "addPass", "(", "createSystemZLongBranchPass", "(", "getSystemZTargetMachine", "(", ")", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "&", "PostMachineSchedulerID", ")", ";", "}", ""], "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": "SystemZTargetMachine18", "Func": "addPreEmitPass", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7263, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "neon_vdup_constant", "(", "rtx", "vals", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "vals", ")", ";", "machine_mode", "inner_mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "int", "n_elts", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "bool", "all_same", "=", "true", ";", "rtx", "x", ";", "int", "i", ";", "if", "(", "GET_CODE", "(", "vals", ")", "!=", "CONST_VECTOR", "||", "GET_MODE_SIZE", "(", "inner_mode", ")", ">", "4", ")", "return", "NULL_RTX", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n_elts", ";", "++", "i", ")", "{", "x", "=", "XVECEXP", "(", "vals", ",", "0", ",", "i", ")", ";", "if", "(", "i", ">", "0", "&&", "!", "rtx_equal_p", "(", "x", ",", "XVECEXP", "(", "vals", ",", "0", ",", "0", ")", ")", ")", "all_same", "=", "false", ";", "}", "if", "(", "!", "all_same", ")", "return", "NULL_RTX", ";", "x", "=", "copy_to_mode_reg", "(", "inner_mode", ",", "XVECEXP", "(", "vals", ",", "0", ",", "0", ")", ")", ";", "return", "gen_rtx_VEC_DUPLICATE", "(", "mode", ",", "x", ")", ";", "}", ""], "natrual_language": ["Return", "a", "non-NULL", "RTX", "iff", "VALS", "is", "a", "vector", "constant", "that", "can", "be", "loaded", "into", "a", "register", "using", "VDUP", ".", "If", "this", "is", "the", "case", ",", "and", "GENERATE", "is", "set", ",", "we", "also", "generate", "instructions", "to", "do", "this", "and", "return", "an", "RTX", "to", "assign", "to", "the", "register", "."], "TS_V_token": ["arm", "4", "0", "0", "0", "0", "0", "0", "0"], "File": "arm4", "Func": "neon_vdup_constant", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7264, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mmix_initial_elimination_offset", "(", "int", "fromreg", ",", "int", "toreg", ")", "{", "int", "regno", ";", "int", "fp_sp_offset", "=", "(", "get_frame_size", "(", ")", "+", "crtl", "->", "outgoing_args_size", "+", "7", ")", "&", "~", "7", ";", "if", "(", "fromreg", "==", "MMIX_ARG_POINTER_REGNUM", "&&", "toreg", "==", "MMIX_FRAME_POINTER_REGNUM", ")", "return", "0", ";", "for", "(", "regno", "=", "MMIX_FIRST_GLOBAL_REGNUM", ";", "regno", "<=", "255", ";", "regno", "++", ")", "if", "(", "(", "df_regs_ever_live_p", "(", "regno", ")", "&&", "!", "call_used_regs", "[", "regno", "]", ")", "||", "IS_MMIX_EH_RETURN_DATA_REG", "(", "regno", ")", ")", "fp_sp_offset", "+=", "8", ";", "return", "fp_sp_offset", "+", "(", "MMIX_CFUN_HAS_LANDING_PAD", "?", "16", ":", "(", "MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS", "?", "8", ":", "0", ")", ")", "+", "(", "fromreg", "==", "MMIX_ARG_POINTER_REGNUM", "?", "0", ":", "8", ")", ";", "}", ""], "natrual_language": ["The", "difference", "between", "the", "(", "imaginary", ")", "frame", "pointer", "and", "the", "stack", "pointer", ".", "Used", "to", "eliminate", "the", "frame", "pointer", "."], "TS_V_token": ["mmix", "7", "7", "0", "255", "8", "16", "8", "0", "0", "8"], "File": "mmix4", "Func": "mmix_initial_elimination_offset", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7265, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86ATTAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "if", "(", "IDVal", "==", "\".word\"", ")", "return", "ParseDirectiveWord", "(", "2", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", ".", "startswith", "(", "\".code\"", ")", ")", "return", "ParseDirectiveCode", "(", "IDVal", ",", "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", "\".word\"", "2", "\".code\""], "File": "X86AsmParser14", "Func": "ParseDirective", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7266, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MipsSubtarget", "::", "MipsSubtarget", "(", "const", "TargetMachine", "&", "TM", ",", "const", "Module", "&", "M", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "little", ")", ":", "MipsArchVersion", "(", "Mips1", ")", ",", "MipsABI", "(", "O32", ")", ",", "IsLittle", "(", "little", ")", ",", "IsSingleFloat", "(", "false", ")", ",", "IsFP64bit", "(", "false", ")", ",", "IsGP64bit", "(", "false", ")", ",", "HasVFPU", "(", "false", ")", ",", "HasABICall", "(", "true", ")", ",", "HasAbsoluteCall", "(", "false", ")", ",", "IsLinux", "(", "true", ")", ",", "HasSEInReg", "(", "false", ")", ",", "HasCondMov", "(", "false", ")", ",", "HasMulDivAdd", "(", "false", ")", ",", "HasMinMax", "(", "false", ")", ",", "HasSwap", "(", "false", ")", ",", "HasBitCount", "(", "false", ")", "{", "std", "::", "string", "CPU", "=", "\"mips1\"", ";", "MipsArchVersion", "=", "Mips1", ";", "ParseSubtargetFeatures", "(", "FS", ",", "CPU", ")", ";", "const", "std", "::", "string", "&", "TT", "=", "M", ".", "getTargetTriple", "(", ")", ";", "SSectionThreshold", "=", "SSThreshold", ";", "if", "(", "TT", ".", "find", "(", "\"linux\"", ")", "==", "std", "::", "string", "::", "npos", ")", "IsLinux", "=", "false", ";", "if", "(", "TT", ".", "find", "(", "\"mipsallegrex\"", ")", "!=", "std", "::", "string", "::", "npos", "||", "TT", ".", "find", "(", "\"psp\"", ")", "!=", "std", "::", "string", "::", "npos", ")", "{", "MipsABI", "=", "EABI", ";", "IsSingleFloat", "=", "true", ";", "MipsArchVersion", "=", "Mips2", ";", "HasVFPU", "=", "true", ";", "HasSEInReg", "=", "true", ";", "HasBitCount", "=", "true", ";", "HasSwap", "=", "true", ";", "HasCondMov", "=", "true", ";", "}", "if", "(", "NotABICall", "||", "isABI_EABI", "(", ")", "||", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", ")", "HasABICall", "=", "false", ";", "if", "(", "HasABICall", "&&", "AbsoluteCall", ")", "HasAbsoluteCall", "=", "true", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "\"mips1\"", "Mips", "Mips", "\"linux\"", "\"mipsallegrex\"", "\"psp\"", "Mips", "Mips", "Mips"], "File": "MipsSubtarget15", "Func": "MipsSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7267, "Length": 256, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64TargetLowering", "::", "isZExtFree", "(", "SDValue", "Val", ",", "EVT", "VT2", ")", "const", "{", "EVT", "VT1", "=", "Val", ".", "getValueType", "(", ")", ";", "if", "(", "isZExtFree", "(", "VT1", ",", "VT2", ")", ")", "{", "return", "true", ";", "}", "if", "(", "Val", ".", "getOpcode", "(", ")", "!=", "ISD", "::", "LOAD", ")", "return", "false", ";", "return", "(", "VT1", ".", "isSimple", "(", ")", "&&", "VT1", ".", "isInteger", "(", ")", "&&", "VT2", ".", "isSimple", "(", ")", "&&", "VT2", ".", "isInteger", "(", ")", "&&", "VT1", ".", "getSizeInBits", "(", ")", "<=", "32", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "zero-extending", "the", "specific", "node", "Val", "to", "type", "VT2", "is", "free", "(", "either", "because", "it", "'s", "implicitly", "zero-extended", "such", "as", "ARM", "ldrb", "/", "ldrh", "or", "because", "it", "'s", "folded", "such", "as", "X86", "zero-extending", "loads", ")", "."], "TS_V_token": ["ARM64", "ARM64", "ISD::LOAD", "32"], "File": "ARM64ISelLowering", "Func": "isZExtFree", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7268, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64RegisterBankInfo", "::", "applyMappingImpl", "(", "const", "OperandsMapper", "&", "OpdMapper", ")", "const", "{", "switch", "(", "OpdMapper", ".", "getMI", "(", ")", ".", "getOpcode", "(", ")", ")", "{", "case", "TargetOpcode", "::", "G_OR", ":", "case", "TargetOpcode", "::", "G_BITCAST", ":", "case", "TargetOpcode", "::", "G_LOAD", ":", "assert", "(", "(", "OpdMapper", ".", "getInstrMapping", "(", ")", ".", "getID", "(", ")", ">=", "1", "&&", "OpdMapper", ".", "getInstrMapping", "(", ")", ".", "getID", "(", ")", "<=", "4", ")", "&&", "\"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", "4", "\"Don't know how to handle that ID\"", "\"Don't know how to handle that operation\""], "File": "AArch64RegisterBankInfo", "Func": "applyMappingImpl", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7269, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "report_out_of_range", "(", "location_t", "location", ",", "tree", "fndecl", ",", "unsigned", "int", "argno", ",", "HOST_WIDE_INT", "actual", ",", "HOST_WIDE_INT", "min", ",", "HOST_WIDE_INT", "max", ")", "{", "error_at", "(", "location", ",", "\"passing %wd to argument %d of %qE, which expects\"", "\" a value in the range [%wd, %wd]\"", ",", "actual", ",", "argno", "+", "1", ",", "fndecl", ",", "min", ",", "max", ")", ";", "}", ""], "natrual_language": ["Report", "that", "LOCATION", "has", "a", "call", "to", "FNDECL", "in", "which", "argument", "ARGNO", "has", "the", "value", "ACTUAL", ",", "whereas", "the", "function", "requires", "a", "value", "in", "the", "range", "[", "MIN", ",", "MAX", "]", ".", "ARGNO", "counts", "from", "zero", "."], "TS_V_token": ["aarch64", "\"passing %wd to argument %d of %qE, which expects\"", "\" a value in the range [%wd, %wd]\"", "1"], "File": "aarch64-sve-builtins", "Func": "report_out_of_range", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7270, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_64bit_and", "(", "rtx", "*", "operands", ")", "{", "if", "(", "GET_CODE", "(", "operands", "[", "2", "]", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "operands", "[", "2", "]", ")", "!=", "0", ")", "{", "unsigned", "HOST_WIDE_INT", "mask", "=", "INTVAL", "(", "operands", "[", "2", "]", ")", ";", "int", "ls0", ",", "ls1", ",", "ms0", ",", "p", ",", "len", ";", "for", "(", "ls0", "=", "0", ";", "ls0", "<", "HOST_BITS_PER_WIDE_INT", ";", "ls0", "++", ")", "if", "(", "(", "mask", "&", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "1", "<<", "ls0", ")", ")", "==", "0", ")", "break", ";", "for", "(", "ls1", "=", "ls0", ";", "ls1", "<", "HOST_BITS_PER_WIDE_INT", ";", "ls1", "++", ")", "if", "(", "(", "mask", "&", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "1", "<<", "ls1", ")", ")", "!=", "0", ")", "break", ";", "for", "(", "ms0", "=", "ls1", ";", "ms0", "<", "HOST_BITS_PER_WIDE_INT", ";", "ms0", "++", ")", "if", "(", "(", "mask", "&", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "1", "<<", "ms0", ")", ")", "==", "0", ")", "break", ";", "gcc_assert", "(", "ms0", "==", "HOST_BITS_PER_WIDE_INT", ")", ";", "if", "(", "ls1", "==", "HOST_BITS_PER_WIDE_INT", ")", "{", "len", "=", "ls0", ";", "gcc_assert", "(", "len", ")", ";", "operands", "[", "2", "]", "=", "GEN_INT", "(", "len", ")", ";", "return", "\"extrd,u %1,63,%2,%0\"", ";", "}", "else", "{", "p", "=", "63", "-", "ls0", ";", "len", "=", "ls1", "-", "ls0", ";", "operands", "[", "2", "]", "=", "GEN_INT", "(", "p", ")", ";", "operands", "[", "3", "]", "=", "GEN_INT", "(", "len", ")", ";", "return", "\"depdi 0,%2,%3,%0\"", ";", "}", "}", "else", "return", "\"and %1,%2,%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", "2", "0", "1", "0", "1", "0", "1", "0", "2", "\"extrd,u %1,63,%2,%0\"", "63", "2", "3", "\"depdi 0,%2,%3,%0\"", "\"and %1,%2,%0\""], "File": "pa3", "Func": "output_64bit_and", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7271, "Length": 236, "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", "::", "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", ")", ";", "}", "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::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"], "File": "MipsISelLowering126", "Func": "LowerOperation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7272, "Length": 372, "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": ["rs6000", "1", "20", "20"], "File": "rs6000-logue", "Func": "first_altivec_reg_to_save", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7273, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "SystemZRegisterInfo", "::", "getCallPreservedMask", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "return", "CSR_SystemZ_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ"], "File": "SystemZRegisterInfo", "Func": "getCallPreservedMask", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7274, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "PPC", "::", "STD", ":", "case", "PPC", "::", "STW", ":", "case", "PPC", "::", "STFS", ":", "case", "PPC", "::", "STFD", ":", "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": ["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": ["PowerPC", "PPC", "PPC::STD", "PPC::STW", "PPC::STFS", "PPC::STFD", "1", "1", "2", "2", "0", "0"], "File": "PPCInstrInfo107", "Func": "isStoreToStackSlot", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7275, "Length": 119, "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": ["PowerPC"], "File": "PPCTargetTransformInfo26", "Func": "getAdjustedAnalysisPointer", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7276, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCExpandAtomicPseudo", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "Changed", "=", "false", ";", "TII", "=", "static_cast", "<", "const", "PPCInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "&", "TII", "->", "getRegisterInfo", "(", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ",", "MBBE", "=", "MBB", ".", "end", "(", ")", ";", "MBBI", "!=", "MBBE", ";", ")", "{", "MachineInstr", "&", "MI", "=", "*", "MBBI", ";", "MachineBasicBlock", "::", "iterator", "NMBBI", "=", "std", "::", "next", "(", "MBBI", ")", ";", "Changed", "|=", "expandMI", "(", "MBB", ",", "MI", ",", "NMBBI", ")", ";", "MBBI", "=", "NMBBI", ";", "}", "}", "if", "(", "Changed", ")", "MF", ".", "RenumberBlocks", "(", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC", "PPC", "PPC"], "File": "PPCExpandAtomicPseudoInsts (2)", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7277, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "altivec_expand_lvx_be", "(", "rtx", "op0", ",", "rtx", "op1", ",", "machine_mode", "mode", ",", "unsigned", "unspec", ")", "{", "rtx", "tmp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rtx", "load", "=", "gen_rtx_SET", "(", "tmp", ",", "op1", ")", ";", "rtx", "lvx", "=", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "1", ",", "const0_rtx", ")", ",", "unspec", ")", ";", "rtx", "par", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec", "(", "2", ",", "load", ",", "lvx", ")", ")", ";", "rtx", "sel", "=", "swap_selector_for_mode", "(", "mode", ")", ";", "rtx", "vperm", "=", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "3", ",", "tmp", ",", "tmp", ",", "sel", ")", ",", "UNSPEC_VPERM", ")", ";", "gcc_assert", "(", "REG_P", "(", "op0", ")", ")", ";", "emit_insn", "(", "par", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "op0", ",", "vperm", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "code", "for", "an", "``", "lvx", "''", ",", "``", "lvxl", "''", ",", "or", "``", "lve", "*", "x", "''", "built-in", "for", "a", "little", "endian", "target", "with", "-maltivec=be", "specified", ".", "Issue", "the", "load", "followed", "by", "an", "element-reversing", "permute", "."], "TS_V_token": ["rs6000", "1", "2", "3"], "File": "rs60005", "Func": "altivec_expand_lvx_be", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7278, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "bool", "libcall_hasher", "::", "equal", "(", "const", "rtx_def", "*", "p1", ",", "const", "rtx_def", "*", "p2", ")", "{", "return", "rtx_equal_p", "(", "p1", ",", "p2", ")", ";", "}", ""], "natrual_language": ["Compare", "H1", "and", "H2", "for", "equivalence", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "equal", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7279, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_small_data_pattern_p", "(", "rtx", "op", ")", "{", "return", "for_each_rtx", "(", "&", "op", ",", "mips_small_data_pattern_1", ",", "0", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "refers", "to", "small", "data", "symbols", "directly", ",", "not", "through", "a", "LO_SUM", "."], "TS_V_token": ["mips", "0"], "File": "mips3", "Func": "mips_small_data_pattern_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7280, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "KudeyarTargetObjectFile", "::", "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": ["Kudeyar", "Kudeyar", "\".sdata\"", "\".sbss\""], "File": "KudeyarTargetObjectFile", "Func": "Initialize", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7281, "Length": 83, "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": 7282, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addMachineSSAOptimization", "(", ")", "{", "addPass", "(", "createX86DomainReassignmentPass", "(", ")", ")", ";", "TargetPassConfig", "::", "addMachineSSAOptimization", "(", ")", ";", "}", ""], "natrual_language": ["Methods", "with", "trivial", "inline", "returns", "are", "convenient", "points", "in", "the", "common", "codegen", "pass", "pipeline", "where", "targets", "may", "insert", "passes", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86TargetMachine101", "Func": "addMachineSSAOptimization", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7283, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_save_restore_reg", "(", "machine_mode", "mode", ",", "int", "regno", ",", "HOST_WIDE_INT", "offset", ",", "mips_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": ["mips"], "File": "mips", "Func": "mips_save_restore_reg", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7284, "Length": 49, "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": 7285, "Length": 410, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_sim_next_cycle", "(", "struct", "mips_sim", "*", "state", ")", "{", "curr_state", "=", "state", "->", "dfa_state", ";", "state", "->", "time", "++", ";", "state", "->", "insns_left", "=", "state", "->", "issue_rate", ";", "advance_state", "(", "curr_state", ")", ";", "}", ""], "natrual_language": ["Advance", "STATE", "by", "one", "clock", "cycle", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_sim_next_cycle", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7286, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_issue_rate", "(", "void", ")", "{", "switch", "(", "ix86_tune", ")", "{", "case", "PROCESSOR_PENTIUM", ":", "case", "PROCESSOR_LAKEMONT", ":", "case", "PROCESSOR_BONNELL", ":", "case", "PROCESSOR_SILVERMONT", ":", "case", "PROCESSOR_KNL", ":", "case", "PROCESSOR_INTEL", ":", "case", "PROCESSOR_K6", ":", "case", "PROCESSOR_BTVER2", ":", "case", "PROCESSOR_PENTIUM4", ":", "case", "PROCESSOR_NOCONA", ":", "return", "2", ";", "case", "PROCESSOR_PENTIUMPRO", ":", "case", "PROCESSOR_ATHLON", ":", "case", "PROCESSOR_K8", ":", "case", "PROCESSOR_AMDFAM10", ":", "case", "PROCESSOR_GENERIC", ":", "case", "PROCESSOR_BTVER1", ":", "return", "3", ";", "case", "PROCESSOR_BDVER1", ":", "case", "PROCESSOR_BDVER2", ":", "case", "PROCESSOR_BDVER3", ":", "case", "PROCESSOR_BDVER4", ":", "case", "PROCESSOR_ZNVER1", ":", "case", "PROCESSOR_CORE2", ":", "case", "PROCESSOR_NEHALEM", ":", "case", "PROCESSOR_SANDYBRIDGE", ":", "case", "PROCESSOR_HASWELL", ":", "return", "4", ";", "default", ":", "return", "1", ";", "}", "}", ""], "natrual_language": ["Return", "the", "maximum", "number", "of", "instructions", "a", "cpu", "can", "issue", "."], "TS_V_token": ["i386", "2", "3", "4", "1"], "File": "i3865", "Func": "ix86_issue_rate", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7287, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "MipsRegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "MipsABIInfo", "ABI", "=", "MF", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "getABI", "(", ")", ";", "return", "ABI", ".", "ArePtrs64bit", "(", ")", "?", "&", "Mips", "::", "GPR64RegClass", ":", "&", "Mips", "::", "GPR32RegClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips::GPR64RegClass", "Mips::GPR32RegClass"], "File": "MipsRegisterInfo (2)1", "Func": "getPointerRegClass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7288, "Length": 51, "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", "(", "Info", "->", "get", "(", "Inst", ".", "getOpcode", "(", ")", ")", ".", "OpInfo", "[", "0", "]", ".", "OperandType", "!=", "MCOI", "::", "OPERAND_PCREL", ")", "return", "false", ";", "int64_t", "Imm", "=", "Inst", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "Target", "=", "Addr", "+", "Imm", "+", "8", ";", "return", "true", ";", "}", ""], "natrual_language": ["Given", "a", "branch", "instruction", "try", "to", "get", "the", "address", "the", "branch", "targets", "."], "TS_V_token": ["ARM", "0", "0", "8"], "File": "ARMMCTargetDesc (2)", "Func": "evaluateBranch", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7289, "Length": 74, "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", ",", "false", ")", ";", "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": "AArch64AsmParser10", "Func": "tryParseRegister", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7290, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "SDValue", "getTargetNode", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ",", "unsigned", "Flag", ")", "{", "EVT", "Ty", "=", "Op", ".", "getValueType", "(", ")", ";", "if", "(", "GlobalAddressSDNode", "*", "N", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetGlobalAddress", "(", "N", "->", "getGlobal", "(", ")", ",", "SDLoc", "(", "Op", ")", ",", "Ty", ",", "0", ",", "Flag", ")", ";", "if", "(", "ExternalSymbolSDNode", "*", "N", "=", "dyn_cast", "<", "ExternalSymbolSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetExternalSymbol", "(", "N", "->", "getSymbol", "(", ")", ",", "Ty", ",", "Flag", ")", ";", "if", "(", "BlockAddressSDNode", "*", "N", "=", "dyn_cast", "<", "BlockAddressSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetBlockAddress", "(", "N", "->", "getBlockAddress", "(", ")", ",", "Ty", ",", "0", ",", "Flag", ")", ";", "if", "(", "JumpTableSDNode", "*", "N", "=", "dyn_cast", "<", "JumpTableSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetJumpTable", "(", "N", "->", "getIndex", "(", ")", ",", "Ty", ",", "Flag", ")", ";", "if", "(", "ConstantPoolSDNode", "*", "N", "=", "dyn_cast", "<", "ConstantPoolSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetConstantPool", "(", "N", "->", "getConstVal", "(", ")", ",", "Ty", ",", "N", "->", "getAlignment", "(", ")", ",", "N", "->", "getOffset", "(", ")", ",", "Flag", ")", ";", "llvm_unreachable", "(", "\"Unexpected node type.\"", ")", ";", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Retrieve", "the", "target", "node", "this", "edge", "connects", "to", "."], "TS_V_token": ["Mips", "0", "0", "\"Unexpected node type.\""], "File": "MipsISelLowering (2)", "Func": "getTargetNode", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7291, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "aarch64_tlsdesc_abi_id", "(", ")", "{", "predefined_function_abi", "&", "tlsdesc_abi", "=", "function_abis", "[", "ARM_PCS_TLSDESC", "]", ";", "if", "(", "!", "tlsdesc_abi", ".", "initialized_p", "(", ")", ")", "{", "HARD_REG_SET", "full_reg_clobbers", ";", "CLEAR_HARD_REG_SET", "(", "full_reg_clobbers", ")", ";", "SET_HARD_REG_BIT", "(", "full_reg_clobbers", ",", "R0_REGNUM", ")", ";", "SET_HARD_REG_BIT", "(", "full_reg_clobbers", ",", "CC_REGNUM", ")", ";", "for", "(", "int", "regno", "=", "P0_REGNUM", ";", "regno", "<=", "P15_REGNUM", ";", "++", "regno", ")", "SET_HARD_REG_BIT", "(", "full_reg_clobbers", ",", "regno", ")", ";", "tlsdesc_abi", ".", "initialize", "(", "ARM_PCS_TLSDESC", ",", "full_reg_clobbers", ")", ";", "}", "return", "tlsdesc_abi", ".", "id", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "ID", "of", "the", "TLDESC", "ABI", ",", "initializing", "the", "descriptor", "if", "has", "n't", "been", "already", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_tlsdesc_abi_id", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7292, "Length": 86, "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": 7293, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "loongarch_idiv_insns", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "int", "count", ";", "count", "=", "1", ";", "if", "(", "loongarch_check_zero_div_p", "(", ")", ")", "count", "+=", "2", ";", "return", "count", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "needed", "for", "an", "integer", "division", "."], "TS_V_token": ["loongarch", "1", "2"], "File": "loongarch1", "Func": "loongarch_idiv_insns", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7294, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "flt_eval_method", "arm_excess_precision", "(", "enum", "excess_precision_type", "type", ")", "{", "switch", "(", "type", ")", "{", "case", "EXCESS_PRECISION_TYPE_FAST", ":", "case", "EXCESS_PRECISION_TYPE_STANDARD", ":", "return", "(", "TARGET_VFP_FP16INST", "?", "FLT_EVAL_METHOD_PROMOTE_TO_FLOAT16", ":", "FLT_EVAL_METHOD_PROMOTE_TO_FLOAT", ")", ";", "case", "EXCESS_PRECISION_TYPE_IMPLICIT", ":", "case", "EXCESS_PRECISION_TYPE_FLOAT16", ":", "return", "FLT_EVAL_METHOD_PROMOTE_TO_FLOAT16", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "FLT_EVAL_METHOD_UNPREDICTABLE", ";", "}", ""], "natrual_language": ["Set", "the", "value", "of", "FLT_EVAL_METHOD", ".", "ISO/IEC", "TS", "18661-3", "defines", "two", "values", "that", "we", "'d", "like", "to", "make", "use", "of", ":", "0", ":", "evaluate", "all", "operations", "and", "constants", ",", "whose", "semantic", "type", "has", "at", "most", "the", "range", "and", "precision", "of", "type", "float", ",", "to", "the", "range", "and", "precision", "of", "float", ";", "evaluate", "all", "other", "operations", "and", "constants", "to", "the", "range", "and", "precision", "of", "the", "semantic", "type", ";", "N", ",", "where", "_FloatN", "is", "a", "supported", "interchange", "floating", "type", "evaluate", "all", "operations", "and", "constants", ",", "whose", "semantic", "type", "has", "at", "most", "the", "range", "and", "precision", "of", "_FloatN", "type", ",", "to", "the", "range", "and", "precision", "of", "the", "_FloatN", "type", ";", "evaluate", "all", "other", "operations", "and", "constants", "to", "the", "range", "and", "precision", "of", "the", "semantic", "type", ";", "If", "we", "have", "the", "ARMv8.2-A", "extensions", "then", "we", "support", "_Float16", "in", "native", "precision", ",", "so", "we", "should", "set", "this", "to", "16", ".", "Otherwise", ",", "we", "support", "the", "type", ",", "but", "want", "to", "evaluate", "expressions", "in", "float", "precision", ",", "so", "set", "this", "to", "0", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_excess_precision", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7295, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FixupBWInstPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "!", "FixupBWInsts", "||", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "this", "->", "MF", "=", "&", "MF", ";", "TII", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "OptForSize", "=", "MF", ".", "getFunction", "(", ")", "->", "optForSize", "(", ")", ";", "MLI", "=", "&", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "LiveRegs", ".", "init", "(", "TII", "->", "getRegisterInfo", "(", ")", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Start X86FixupBWInsts\\n\"", ";", ")", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "processBasicBlock", "(", "MF", ",", "MBB", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"End X86FixupBWInsts\\n\"", ";", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "\"Start X86FixupBWInsts\\n\"", "\"End X86FixupBWInsts\\n\""], "File": "X86FixupBWInsts17", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7296, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "const", "MCObjectFileInfo", "::", "Environment", "Format", "=", "getContext", "(", ")", ".", "getObjectFileInfo", "(", ")", "->", "getObjectFileType", "(", ")", ";", "bool", "IsMachO", "=", "Format", "==", "MCObjectFileInfo", "::", "IsMachO", ";", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "SMLoc", "Loc", "=", "DirectiveID", ".", "getLoc", "(", ")", ";", "if", "(", "IDVal", "==", "\".arch\"", ")", "parseDirectiveArch", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".cpu\"", ")", "parseDirectiveCPU", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".tlsdesccall\"", ")", "parseDirectiveTLSDescCall", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".ltorg\"", "||", "IDVal", "==", "\".pool\"", ")", "parseDirectiveLtorg", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".unreq\"", ")", "parseDirectiveUnreq", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".inst\"", ")", "parseDirectiveInst", "(", "Loc", ")", ";", "else", "if", "(", "IsMachO", ")", "{", "if", "(", "IDVal", "==", "MCLOHDirectiveName", "(", ")", ")", "parseDirectiveLOH", "(", "IDVal", ",", "Loc", ")", ";", "else", "return", "true", ";", "}", "else", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["AArch64", "AArch64", "\".arch\"", "\".cpu\"", "\".tlsdesccall\"", "\".ltorg\"", "\".pool\"", "\".unreq\"", "\".inst\""], "File": "AArch64AsmParser101", "Func": "ParseDirective", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7297, "Length": 163, "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": 7298, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPreRegBankSelect", "(", ")", "{", "bool", "IsOptNone", "=", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ";", "if", "(", "!", "IsOptNone", ")", "addPass", "(", "createAArch64PostLegalizeCombiner", "(", "IsOptNone", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "the", "register", "bank", "selection", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine27", "Func": "addPreRegBankSelect", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7299, "Length": 32, "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": 7300, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "void", "printRegName", "(", "raw_ostream", "&", "O", ",", "unsigned", "RegNo", ")", "const", "override", "{", "printFormattedRegName", "(", "&", "MAI", ",", "RegNo", ",", "O", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["SystemZ"], "File": "SystemZInstPrinter11", "Func": "printRegName", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7301, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64TargetLowering", "::", "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", "||", "ARM64_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", ")", "?", "true", ":", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "it", "is", "beneficial", "to", "convert", "a", "load", "of", "a", "constant", "to", "just", "the", "constant", "itself", "."], "TS_V_token": ["ARM64", "ARM64", "0", "0", "ARM64_AM::isLogicalImmediate", "0", "32", "1LL", "32", "1", "63", "16", "3"], "File": "ARM64ISelLowering", "Func": "shouldConvertConstantLoadToIntImm", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7302, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_mem_costs", "(", "rtx", "x", ",", "const", "struct", "cpu_cost_table", "*", "extra_cost", ",", "int", "*", "cost", ",", "bool", "speed_p", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "x", ")", ";", "*", "cost", "=", "COSTS_N_INSNS", "(", "1", ")", ";", "if", "(", "flag_pic", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "PLUS", "&&", "will_be_in_index_register", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "1", ")", ")", ")", "*", "cost", "+=", "COSTS_N_INSNS", "(", "1", ")", ";", "if", "(", "speed_p", ")", "{", "arm_addr_mode_op", "op_type", ";", "switch", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", ")", "{", "default", ":", "case", "REG", ":", "op_type", "=", "AMO_DEFAULT", ";", "break", ";", "case", "MINUS", ":", "case", "PLUS", ":", "op_type", "=", "AMO_NO_WB", ";", "break", ";", "case", "PRE_INC", ":", "case", "PRE_DEC", ":", "case", "POST_INC", ":", "case", "POST_DEC", ":", "case", "PRE_MODIFY", ":", "case", "POST_MODIFY", ":", "op_type", "=", "AMO_WB", ";", "break", ";", "}", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", ")", "*", "cost", "+=", "current_tune", "->", "addr_mode_costs", "->", "vector", "[", "op_type", "]", ";", "else", "if", "(", "FLOAT_MODE_P", "(", "mode", ")", ")", "*", "cost", "+=", "current_tune", "->", "addr_mode_costs", "->", "fp", "[", "op_type", "]", ";", "else", "*", "cost", "+=", "current_tune", "->", "addr_mode_costs", "->", "integer", "[", "op_type", "]", ";", "}", "if", "(", "speed_p", ")", "{", "if", "(", "FLOAT_MODE_P", "(", "mode", ")", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "8", ")", "*", "cost", "+=", "extra_cost", "->", "ldst", ".", "loadd", ";", "else", "*", "cost", "+=", "extra_cost", "->", "ldst", ".", "loadf", ";", "}", "else", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", ")", "*", "cost", "+=", "extra_cost", "->", "ldst", ".", "loadv", ";", "else", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "8", ")", "*", "cost", "+=", "extra_cost", "->", "ldst", ".", "ldrd", ";", "else", "*", "cost", "+=", "extra_cost", "->", "ldst", ".", "load", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "arm_rtx_costs_internal", ".", "Calculates", "the", "cost", "of", "a", "MEM", ",", "considering", "the", "costs", "of", "the", "addressing", "mode", "and", "memory", "access", "separately", "."], "TS_V_token": ["arm", "1", "0", "0", "1", "1", "0", "8", "8"], "File": "arm", "Func": "arm_mem_costs", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7303, "Length": 293, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "useAA", "(", ")", "const", "override", "{", "return", "IsCheri", ";", "}", ""], "natrual_language": ["Enable", "use", "of", "alias", "analysis", "during", "code", "generation", "(", "during", "MI", "scheduling", ",", "DAGCombine", ",", "etc", ".", ")", "."], "TS_V_token": ["Mips"], "File": "MipsSubtarget43", "Func": "useAA", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7304, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isShuffleMaskLegal", "(", "ArrayRef", "<", "int", ">", "M", ",", "EVT", "VT", ")", "const", "{", "if", "(", "useSVEForFixedLengthVectorVT", "(", "VT", ")", ")", "return", "false", ";", "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", "DummyBool", ";", "int", "DummyInt", ";", "unsigned", "DummyUnsigned", ";", "return", "(", "ShuffleVectorSDNode", "::", "isSplatMask", "(", "&", "M", "[", "0", "]", ",", "VT", ")", "||", "isREVMask", "(", "M", ",", "VT", ",", "64", ")", "||", "isREVMask", "(", "M", ",", "VT", ",", "32", ")", "||", "isREVMask", "(", "M", ",", "VT", ",", "16", ")", "||", "isEXTMask", "(", "M", ",", "VT", ",", "DummyBool", ",", "DummyUnsigned", ")", "||", "isTRNMask", "(", "M", ",", "VT", ",", "DummyUnsigned", ")", "||", "isUZPMask", "(", "M", ",", "VT", ",", "DummyUnsigned", ")", "||", "isZIPMask", "(", "M", ",", "VT", ",", "DummyUnsigned", ")", "||", "isTRN_v_undef_Mask", "(", "M", ",", "VT", ",", "DummyUnsigned", ")", "||", "isUZP_v_undef_Mask", "(", "M", ",", "VT", ",", "DummyUnsigned", ")", "||", "isZIP_v_undef_Mask", "(", "M", ",", "VT", ",", "DummyUnsigned", ")", "||", "isINSMask", "(", "M", ",", "VT", ".", "getVectorNumElements", "(", ")", ",", "DummyBool", ",", "DummyInt", ")", "||", "isConcatMask", "(", "M", ",", "VT", ",", "VT", ".", "getSizeInBits", "(", ")", "==", "128", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "can", "use", "this", "to", "indicate", "that", "they", "only", "support", "some", "VECTOR_SHUFFLE", "operations", ",", "those", "with", "specific", "masks", "."], "TS_V_token": ["AArch64", "AArch64", "4", "4", "0", "4", "0", "8", "0", "9", "9", "9", "1", "9", "9", "2", "9", "3", "30", "4", "0", "64", "32", "16", "128"], "File": "AArch64ISelLowering (2)2", "Func": "isShuffleMaskLegal", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7305, "Length": 310, "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": 7306, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86Subtarget", "&", "X86Subtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "initializeEnvironment", "(", ")", ";", "resetSubtargetFeatures", "(", "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": ["X86", "X86", "X86"], "File": "X86Subtarget100", "Func": "initializeSubtargetDependencies", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7307, "Length": 29, "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", "(", ")", ")", ")", ";", "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": "AArch64Subtarget3", "Func": "AArch64Subtarget", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7308, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64InstrInfo", "::", "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\"", ")", ";", "if", "(", "!", "FBB", ")", "{", "if", "(", "Cond", ".", "empty", "(", ")", ")", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "AArch64", "::", "B", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "else", "instantiateCondBranch", "(", "MBB", ",", "DL", ",", "TBB", ",", "Cond", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "=", "4", ";", "return", "1", ";", "}", "instantiateCondBranch", "(", "MBB", ",", "DL", ",", "TBB", ",", "Cond", ")", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "AArch64", "::", "B", ")", ")", ".", "addMBB", "(", "FBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "=", "8", ";", "return", "2", ";", "}", ""], "natrual_language": ["Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "."], "TS_V_token": ["AArch64", "AArch64", "\"insertBranch must not be told to insert a fallthrough\"", "AArch64::B", "4", "1", "AArch64::B", "8", "2"], "File": "AArch64InstrInfo (2)", "Func": "insertBranch", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7309, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "pru_add_to_sp", "(", "int", "addendum", ",", "const", "enum", "reg_note", "kind", ")", "{", "return", "pru_add3_frame_adjust", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "addendum", ",", "kind", ")", ";", "}", ""], "natrual_language": ["Add", "a", "const_int", "to", "the", "stack", "pointer", "register", "."], "TS_V_token": ["pru"], "File": "pru", "Func": "pru_add_to_sp", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7310, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ARMRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMInstrInfo15", "Func": "getRegisterInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7311, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "rs6000_xcoff_section_type_flags", "(", "tree", "decl", ",", "const", "char", "*", "name", ",", "int", "reloc", ")", "{", "unsigned", "int", "align", ";", "unsigned", "int", "flags", "=", "default_section_type_flags", "(", "decl", ",", "name", ",", "reloc", ")", ";", "if", "(", "(", "flags", "&", "SECTION_CODE", ")", "!=", "0", "||", "!", "decl", "||", "!", "DECL_P", "(", "decl", ")", ")", "align", "=", "MIN_UNITS_PER_WORD", ";", "else", "align", "=", "MAX", "(", "(", "DECL_ALIGN", "(", "decl", ")", "/", "BITS_PER_UNIT", ")", ",", "int_size_in_bytes", "(", "TREE_TYPE", "(", "decl", ")", ")", ">", "MIN_UNITS_PER_WORD", "?", "UNITS_PER_FP_WORD", ":", "MIN_UNITS_PER_WORD", ")", ";", "return", "flags", "|", "(", "exact_log2", "(", "align", ")", "&", "SECTION_ENTSIZE", ")", ";", "}", ""], "natrual_language": ["Section", "attributes", ".", "AIX", "is", "always", "PIC", "."], "TS_V_token": ["powerpcspe", "0"], "File": "powerpcspe", "Func": "rs6000_xcoff_section_type_flags", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7312, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_sched_init_global", "(", "FILE", "*", ",", "int", ",", "int", ")", "{", "switch", "(", "ix86_tune", ")", "{", "case", "PROCESSOR_CORE2", ":", "case", "PROCESSOR_NEHALEM", ":", "case", "PROCESSOR_SANDYBRIDGE", ":", "case", "PROCESSOR_HASWELL", ":", "case", "PROCESSOR_TREMONT", ":", "case", "PROCESSOR_ALDERLAKE", ":", "case", "PROCESSOR_GENERIC", ":", "if", "(", "reload_completed", ")", "{", "ix86_core2i7_init_hooks", "(", ")", ";", "break", ";", "}", "default", ":", "targetm", ".", "sched", ".", "dfa_post_advance_cycle", "=", "NULL", ";", "targetm", ".", "sched", ".", "first_cycle_multipass_init", "=", "NULL", ";", "targetm", ".", "sched", ".", "first_cycle_multipass_begin", "=", "NULL", ";", "targetm", ".", "sched", ".", "first_cycle_multipass_issue", "=", "NULL", ";", "targetm", ".", "sched", ".", "first_cycle_multipass_backtrack", "=", "NULL", ";", "targetm", ".", "sched", ".", "first_cycle_multipass_end", "=", "NULL", ";", "targetm", ".", "sched", ".", "first_cycle_multipass_fini", "=", "NULL", ";", "break", ";", "}", "}", ""], "natrual_language": ["Prepare", "for", "scheduling", "pass", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_sched_init_global", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7313, "Length": 112, "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": ["rs6000", "30", "\"LP\"", "1", "0"], "File": "rs6000", "Func": "output_profile_hook", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7314, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rs6000_builtin_mask_for_load", "(", "void", ")", "{", "if", "(", "TARGET_ALTIVEC", ")", "return", "altivec_builtin_mask_for_load", ";", "else", "return", "0", ";", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.builtin_mask_for_load", "."], "TS_V_token": ["rs6000", "0"], "File": "rs60003", "Func": "rs6000_builtin_mask_for_load", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7315, "Length": 19, "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", "(", "crtl", "->", "is_leaf", "&&", "!", "sh_pr_n_sets", "(", ")", "&&", "!", "(", "TARGET_SHCOMPACT", "&&", "(", "(", "crtl", "->", "args", ".", "info", ".", "call_cookie", "&", "~", "CALL_COOKIE_RET_TRAMP", "(", "1", ")", ")", "||", "crtl", "->", "saves_all_registers", ")", ")", ")", "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": "sh4", "Func": "sh_allocate_initial_value", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7316, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "cmse_func_args_or_return_in_stack", "(", "tree", "fndecl", ",", "tree", "name", ",", "tree", "fntype", ")", "{", "function_args_iterator", "args_iter", ";", "CUMULATIVE_ARGS", "args_so_far_v", ";", "cumulative_args_t", "args_so_far", ";", "bool", "first_param", "=", "true", ";", "tree", "arg_type", ",", "prev_arg_type", "=", "NULL_TREE", ",", "ret_type", ";", "arm_init_cumulative_args", "(", "&", "args_so_far_v", ",", "fntype", ",", "NULL_RTX", ",", "fndecl", ")", ";", "args_so_far", "=", "pack_cumulative_args", "(", "&", "args_so_far_v", ")", ";", "FOREACH_FUNCTION_ARGS", "(", "fntype", ",", "arg_type", ",", "args_iter", ")", "{", "rtx", "arg_rtx", ";", "prev_arg_type", "=", "arg_type", ";", "if", "(", "VOID_TYPE_P", "(", "arg_type", ")", ")", "continue", ";", "function_arg_info", "arg", "(", "arg_type", ",", "true", ")", ";", "if", "(", "!", "first_param", ")", "arm_function_arg_advance", "(", "args_so_far", ",", "arg", ")", ";", "arg_rtx", "=", "arm_function_arg", "(", "args_so_far", ",", "arg", ")", ";", "if", "(", "!", "arg_rtx", "||", "arm_arg_partial_bytes", "(", "args_so_far", ",", "arg", ")", ")", "{", "error", "(", "\"%qE attribute not available to functions with arguments \"", "\"passed on the stack\"", ",", "name", ")", ";", "return", "true", ";", "}", "first_param", "=", "false", ";", "}", "if", "(", "prev_arg_type", "!=", "NULL_TREE", "&&", "!", "VOID_TYPE_P", "(", "prev_arg_type", ")", ")", "{", "error", "(", "\"%qE attribute not available to functions with variable number \"", "\"of arguments\"", ",", "name", ")", ";", "return", "true", ";", "}", "ret_type", "=", "TREE_TYPE", "(", "fntype", ")", ";", "if", "(", "arm_return_in_memory", "(", "ret_type", ",", "fntype", ")", ")", "{", "error", "(", "\"%qE attribute not available to functions that return value on \"", "\"the stack\"", ",", "name", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "returns", "true", "if", "a", "function", "with", "declaration", "FNDECL", "and", "type", "FNTYPE", "uses", "the", "stack", "to", "pass", "arguments", "or", "return", "variables", "and", "false", "otherwise", ".", "This", "is", "used", "for", "functions", "with", "the", "attributes", "'cmse_nonsecure_call", "'", "or", "'cmse_nonsecure_entry", "'", "and", "this", "function", "will", "issue", "diagnostic", "messages", "if", "the", "stack", "is", "used", ".", "NAME", "is", "the", "name", "of", "the", "attribute", "used", "."], "TS_V_token": ["arm", "\"%qE attribute not available to functions with arguments \"", "\"passed on the stack\"", "\"%qE attribute not available to functions with variable number \"", "\"of arguments\"", "\"%qE attribute not available to functions that return value on \"", "\"the stack\""], "File": "arm", "Func": "cmse_func_args_or_return_in_stack", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7317, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ",", "MCContext", "&", "Ctx", ")", "const", "{", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "+", "7", ")", "/", "8", ";", "unsigned", "FullSize", ";", "switch", "(", "(", "unsigned", ")", "Kind", ")", "{", "case", "FK_Data_2", ":", "case", "Mips", "::", "fixup_Mips_16", ":", "case", "Mips", "::", "fixup_MICROMIPS_PC10_S1", ":", "FullSize", "=", "2", ";", "break", ";", "case", "FK_Data_8", ":", "case", "Mips", "::", "fixup_Mips_64", ":", "FullSize", "=", "8", ";", "break", ";", "case", "FK_Data_4", ":", "default", ":", "FullSize", "=", "4", ";", "break", ";", "}", "uint64_t", "CurVal", "=", "0", ";", "bool", "microMipsLEByteOrder", "=", "needsMMLEByteOrder", "(", "(", "unsigned", ")", "Kind", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittle", "?", "(", "microMipsLEByteOrder", "?", "calculateMMLEIndex", "(", "i", ")", ":", "i", ")", ":", "(", "FullSize", "-", "1", "-", "i", ")", ";", "CurVal", "|=", "(", "uint64_t", ")", "(", "(", "uint8_t", ")", "Data", "[", "Offset", "+", "Idx", "]", ")", "<<", "(", "i", "*", "8", ")", ";", "}", "uint64_t", "Mask", "=", "(", "(", "uint64_t", ")", "(", "-", "1", ")", ">>", "(", "64", "-", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", ")", ";", "CurVal", "|=", "Value", "&", "Mask", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittle", "?", "(", "microMipsLEByteOrder", "?", "calculateMMLEIndex", "(", "i", ")", ":", "i", ")", ":", "(", "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": ["Mips", "Mips", "7", "8", "Mips::fixup_Mips_16", "Mips::fixup_MICROMIPS_PC10_S1", "2", "Mips::fixup_Mips_64", "8", "4", "0", "Mips", "0", "Mips", "1", "8", "1", "64", "0", "Mips", "1", "8", "0xff"], "File": "MipsAsmBackend4", "Func": "applyFixup", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7318, "Length": 310, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{", "return", "createX86ELFObjectWriter", "(", "OS", ",", "true", ",", "OSABI", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["X86", "X86"], "File": "X86AsmBackend45", "Func": "createObjectWriter", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7319, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "canonicalize_perm", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "int", "i", ",", "which", ",", "nelt", "=", "d", "->", "nelt", ";", "for", "(", "i", "=", "which", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "which", "|=", "(", "d", "->", "perm", "[", "i", "]", "<", "nelt", "?", "1", ":", "2", ")", ";", "d", "->", "one_operand_p", "=", "true", ";", "switch", "(", "which", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "3", ":", "if", "(", "!", "rtx_equal_p", "(", "d", "->", "op0", ",", "d", "->", "op1", ")", ")", "{", "d", "->", "one_operand_p", "=", "false", ";", "break", ";", "}", "case", "2", ":", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "d", "->", "perm", "[", "i", "]", "&=", "nelt", "-", "1", ";", "d", "->", "op0", "=", "d", "->", "op1", ";", "break", ";", "case", "1", ":", "d", "->", "op1", "=", "d", "->", "op0", ";", "break", ";", "}", "return", "(", "which", "==", "3", ")", ";", "}", ""], "natrual_language": ["If", "a", "permutation", "only", "uses", "one", "operand", ",", "make", "it", "clear", ".", "Returns", "true", "if", "the", "permutation", "references", "both", "operands", "."], "TS_V_token": ["i386", "0", "1", "2", "3", "2", "0", "1", "1", "3"], "File": "i386-expand", "Func": "canonicalize_perm", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7320, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "can_be_rotated_to_lowbits", "(", "unsigned", "HOST_WIDE_INT", "c", ",", "int", "lowbits", ",", "int", "*", "rot", ")", "{", "int", "clz", "=", "HOST_BITS_PER_WIDE_INT", "-", "lowbits", ";", "int", "lz", "=", "clz_hwi", "(", "c", ")", ";", "if", "(", "lz", ">=", "clz", ")", "{", "*", "rot", "=", "0", ";", "return", "true", ";", "}", "int", "tz", "=", "ctz_hwi", "(", "c", ")", ";", "if", "(", "lz", "+", "tz", ">=", "clz", ")", "{", "*", "rot", "=", "HOST_BITS_PER_WIDE_INT", "-", "tz", ";", "return", "true", ";", "}", "const", "int", "rot_bits", "=", "lowbits", "+", "1", ";", "unsigned", "HOST_WIDE_INT", "rc", "=", "(", "c", ">>", "rot_bits", ")", "|", "(", "c", "<<", "(", "clz", "-", "1", ")", ")", ";", "tz", "=", "ctz_hwi", "(", "rc", ")", ";", "if", "(", "clz_hwi", "(", "rc", ")", "+", "tz", ">=", "clz", ")", "{", "*", "rot", "=", "HOST_BITS_PER_WIDE_INT", "-", "(", "tz", "+", "rot_bits", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Check", "if", "C", "(", "as", "64bit", "integer", ")", "can", "be", "rotated", "to", "a", "constant", "which", "constains", "nonzero", "bits", "at", "the", "LOWBITS", "low", "bits", "only", ".", "Return", "true", "if", "C", "can", "be", "rotated", "to", "such", "constant", ".", "If", "so", ",", "*", "ROT", "is", "written", "to", "the", "number", "by", "which", "C", "is", "rotated", ".", "Return", "false", "otherwise", "."], "TS_V_token": ["rs6000", "0", "1", "1"], "File": "rs60001", "Func": "can_be_rotated_to_lowbits", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7321, "Length": 140, "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": 7322, "Length": 311, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "aarch64_first_cycle_multipass_dfa_lookahead_guard", "(", "rtx_insn", "*", "insn", ",", "int", "ready_index", ")", "{", "return", "autopref_multipass_dfa_lookahead_guard", "(", "insn", ",", "ready_index", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD", "as", "autopref_multipass_dfa_lookahead_guard", "from", "haifa-sched.c", ".", "It", "only", "has", "an", "effect", "if", "PARAM_SCHED_AUTOPREF_QUEUE_DEPTH", ">", "0", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_first_cycle_multipass_dfa_lookahead_guard", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7323, "Length": 21, "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": 7324, "Length": 305, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "MMIXFrameLowering", "::", "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", ")", "{", "FrameReg", "=", "MMIX", "::", "r254", ";", "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": ["MMIX", "MMIX", "0", "1", "0", "1", "MMIX::r254"], "File": "MMIXFrameLowering", "Func": "getFrameIndexReference", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7325, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "mayBeEmittedAsTailCall", "(", "CallInst", "*", "CI", ")", "const", "{", "if", "(", "!", "CI", "->", "isTailCall", "(", ")", ")", "return", "false", ";", "CallSite", "CS", "(", "CI", ")", ";", "CallingConv", "::", "ID", "CalleeCC", "=", "CS", ".", "getCallingConv", "(", ")", ";", "if", "(", "!", "IsTailCallConvention", "(", "CalleeCC", ")", "&&", "CalleeCC", "!=", "CallingConv", "::", "C", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "may", "be", "able", "emit", "the", "call", "instruction", "as", "a", "tail", "call", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering170", "Func": "mayBeEmittedAsTailCall", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7326, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "offset_below_red_zone_p", "(", "HOST_WIDE_INT", "offset", ")", "{", "return", "offset", "<", "(", "DEFAULT_ABI", "==", "ABI_V4", "?", "0", ":", "TARGET_32BIT", "?", "-", "220", ":", "-", "288", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OFFSET", "from", "stack", "pointer", "can", "be", "clobbered", "by", "signals", ".", "V.4", "does", "n't", "have", "any", "stack", "cushion", ",", "AIX", "ABIs", "have", "220", "or", "288", "bytes", "below", "stack", "pointer", "not", "cloberred", "by", "signals", "."], "TS_V_token": ["rs6000", "0", "220", "288"], "File": "rs6000-logue", "Func": "offset_below_red_zone_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7327, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", ")", "{", "tree", "fntype", ";", "if", "(", "decl", ")", "fntype", "=", "TREE_TYPE", "(", "decl", ")", ";", "else", "fntype", "=", "TREE_TYPE", "(", "TREE_TYPE", "(", "CALL_EXPR_FN", "(", "exp", ")", ")", ")", ";", "if", "(", "TARGET_ALTIVEC_ABI", "&&", "TARGET_ALTIVEC_VRSAVE", "&&", "!", "(", "decl", "&&", "decl", "==", "current_function_decl", ")", ")", "{", "function_args_iterator", "args_iter", ";", "tree", "type", ";", "int", "nvreg", "=", "0", ";", "FOREACH_FUNCTION_ARGS", "(", "fntype", ",", "type", ",", "args_iter", ")", "if", "(", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", "&&", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "TYPE_MODE", "(", "type", ")", ")", ")", "nvreg", "++", ";", "FOREACH_FUNCTION_ARGS", "(", "TREE_TYPE", "(", "current_function_decl", ")", ",", "type", ",", "args_iter", ")", "if", "(", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", "&&", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "TYPE_MODE", "(", "type", ")", ")", ")", "nvreg", "--", ";", "if", "(", "nvreg", ">", "0", ")", "return", "false", ";", "}", "if", "(", "DEFAULT_ABI", "==", "ABI_DARWIN", "||", "(", "(", "DEFAULT_ABI", "==", "ABI_AIX", "||", "DEFAULT_ABI", "==", "ABI_ELFv2", ")", "&&", "decl", "&&", "!", "DECL_EXTERNAL", "(", "decl", ")", "&&", "!", "DECL_WEAK", "(", "decl", ")", "&&", "(", "*", "targetm", ".", "binds_local_p", ")", "(", "decl", ")", ")", "||", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "(", "!", "TARGET_SECURE_PLT", "||", "!", "flag_pic", "||", "(", "decl", "&&", "(", "*", "targetm", ".", "binds_local_p", ")", "(", "decl", ")", ")", ")", ")", ")", "{", "tree", "attr_list", "=", "TYPE_ATTRIBUTES", "(", "fntype", ")", ";", "if", "(", "!", "lookup_attribute", "(", "\"longcall\"", ",", "attr_list", ")", "||", "lookup_attribute", "(", "\"shortcall\"", ",", "attr_list", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Say", "whether", "a", "function", "is", "a", "candidate", "for", "sibcall", "handling", "or", "not", ".", "We", "do", "not", "allow", "indirect", "calls", "to", "be", "optimized", "into", "sibling", "calls", ".", "Also", ",", "we", "ca", "n't", "do", "it", "if", "there", "are", "any", "vector", "parameters", ";", "there", "'s", "nowhere", "to", "put", "the", "VRsave", "code", "so", "it", "works", ";", "note", "that", "functions", "with", "vector", "parameters", "are", "required", "to", "have", "a", "prototype", ",", "so", "the", "argument", "type", "info", "must", "be", "available", "here", ".", "(", "The", "tail", "recursion", "case", "can", "work", "with", "vector", "parameters", ",", "but", "there", "'s", "no", "way", "to", "distinguish", "here", ".", ")"], "TS_V_token": ["powerpcspe", "0", "0", "\"longcall\"", "\"shortcall\""], "File": "powerpcspe", "Func": "rs6000_function_ok_for_sibcall", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7328, "Length": 239, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "X86TargetLowering", "::", "getRegisterTypeForCallingConv", "(", "LLVMContext", "&", "Context", ",", "EVT", "VT", ")", "const", "{", "if", "(", "VT", "==", "MVT", "::", "v32i1", "&&", "Subtarget", ".", "hasAVX512", "(", ")", "&&", "!", "Subtarget", ".", "hasBWI", "(", ")", ")", "return", "MVT", "::", "v32i8", ";", "return", "TargetLowering", "::", "getRegisterTypeForCallingConv", "(", "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": ["X86", "X86", "MVT::v32i1", "MVT::v32i8"], "File": "X86ISelLowering102", "Func": "getRegisterTypeForCallingConv", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7329, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_const_double_inline_cost", "(", "rtx", "val", ")", "{", "rtx", "lowpart", ",", "highpart", ";", "machine_mode", "mode", ";", "mode", "=", "GET_MODE", "(", "val", ")", ";", "if", "(", "mode", "==", "VOIDmode", ")", "mode", "=", "DImode", ";", "gcc_assert", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "8", ")", ";", "lowpart", "=", "gen_lowpart", "(", "SImode", ",", "val", ")", ";", "highpart", "=", "gen_highpart_mode", "(", "SImode", ",", "mode", ",", "val", ")", ";", "gcc_assert", "(", "CONST_INT_P", "(", "lowpart", ")", ")", ";", "gcc_assert", "(", "CONST_INT_P", "(", "highpart", ")", ")", ";", "return", "(", "arm_gen_constant", "(", "SET", ",", "SImode", ",", "NULL_RTX", ",", "INTVAL", "(", "lowpart", ")", ",", "NULL_RTX", ",", "NULL_RTX", ",", "0", ",", "0", ")", "+", "arm_gen_constant", "(", "SET", ",", "SImode", ",", "NULL_RTX", ",", "INTVAL", "(", "highpart", ")", ",", "NULL_RTX", ",", "NULL_RTX", ",", "0", ",", "0", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "synthesizing", "a", "64-bit", "constant", "VAL", "inline", ".", "Returns", "the", "number", "of", "insns", "needed", ",", "or", "99", "if", "we", "do", "n't", "know", "how", "to", "do", "it", "."], "TS_V_token": ["arm", "8", "0", "0", "0", "0"], "File": "arm", "Func": "arm_const_double_inline_cost", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7330, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "getRecipEstimate", "(", "SDValue", "Operand", ",", "SelectionDAG", "&", "DAG", ",", "int", "Enabled", ",", "int", "&", "ExtraSteps", ")", "const", "{", "if", "(", "Enabled", "==", "ReciprocalEstimate", "::", "Enabled", ")", "if", "(", "SDValue", "Estimate", "=", "getEstimate", "(", "Subtarget", ",", "AArch64ISD", "::", "FRECPE", ",", "Operand", ",", "DAG", ",", "ExtraSteps", ")", ")", "{", "SDLoc", "DL", "(", "Operand", ")", ";", "EVT", "VT", "=", "Operand", ".", "getValueType", "(", ")", ";", "SDNodeFlags", "Flags", ";", "Flags", ".", "setAllowReassociation", "(", "true", ")", ";", "for", "(", "int", "i", "=", "ExtraSteps", ";", "i", ">", "0", ";", "--", "i", ")", "{", "SDValue", "Step", "=", "DAG", ".", "getNode", "(", "AArch64ISD", "::", "FRECPS", ",", "DL", ",", "VT", ",", "Operand", ",", "Estimate", ",", "Flags", ")", ";", "Estimate", "=", "DAG", ".", "getNode", "(", "ISD", "::", "FMUL", ",", "DL", ",", "VT", ",", "Estimate", ",", "Step", ",", "Flags", ")", ";", "}", "ExtraSteps", "=", "0", ";", "return", "Estimate", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Return", "a", "reciprocal", "estimate", "value", "for", "the", "input", "operand", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64ISD::FRECPE", "0", "AArch64ISD::FRECPS", "ISD::FMUL", "0"], "File": "AArch64ISelLowering (2)2", "Func": "getRecipEstimate", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7331, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "loongarch_block_move_loop", "(", "rtx", "dest", ",", "rtx", "src", ",", "HOST_WIDE_INT", "length", ",", "HOST_WIDE_INT", "bytes_per_iter", ")", "{", "rtx_code_label", "*", "label", ";", "rtx", "src_reg", ",", "dest_reg", ",", "final_src", ",", "test", ";", "HOST_WIDE_INT", "leftover", ";", "leftover", "=", "length", "%", "bytes_per_iter", ";", "length", "-=", "leftover", ";", "loongarch_adjust_block_mem", "(", "src", ",", "bytes_per_iter", ",", "&", "src_reg", ",", "&", "src", ")", ";", "loongarch_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", ")", ";", "label", "=", "gen_label_rtx", "(", ")", ";", "emit_label", "(", "label", ")", ";", "loongarch_block_move_straight", "(", "dest", ",", "src", ",", "bytes_per_iter", ")", ";", "loongarch_emit_move", "(", "src_reg", ",", "plus_constant", "(", "Pmode", ",", "src_reg", ",", "bytes_per_iter", ")", ")", ";", "loongarch_emit_move", "(", "dest_reg", ",", "plus_constant", "(", "Pmode", ",", "dest_reg", ",", "bytes_per_iter", ")", ")", ";", "test", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "src_reg", ",", "final_src", ")", ";", "if", "(", "Pmode", "==", "DImode", ")", "emit_jump_insn", "(", "gen_cbranchdi4", "(", "test", ",", "src_reg", ",", "final_src", ",", "label", ")", ")", ";", "else", "emit_jump_insn", "(", "gen_cbranchsi4", "(", "test", ",", "src_reg", ",", "final_src", ",", "label", ")", ")", ";", "if", "(", "leftover", ")", "loongarch_block_move_straight", "(", "dest", ",", "src", ",", "leftover", ")", ";", "else", "emit_insn", "(", "gen_nop", "(", ")", ")", ";", "}", ""], "natrual_language": ["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": ["loongarch", "0", "0"], "File": "loongarch", "Func": "loongarch_block_move_loop", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7332, "Length": 207, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetMachine", "::", "addInstSelector", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "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": "MipsTargetMachine", "Func": "addInstSelector", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7333, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "VETargetLowering", "::", "withTargetFlags", "(", "SDValue", "Op", ",", "unsigned", "TF", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "const", "GlobalAddressSDNode", "*", "GA", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetGlobalAddress", "(", "GA", "->", "getGlobal", "(", ")", ",", "SDLoc", "(", "GA", ")", ",", "GA", "->", "getValueType", "(", "0", ")", ",", "GA", "->", "getOffset", "(", ")", ",", "TF", ")", ";", "if", "(", "const", "BlockAddressSDNode", "*", "BA", "=", "dyn_cast", "<", "BlockAddressSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetBlockAddress", "(", "BA", "->", "getBlockAddress", "(", ")", ",", "Op", ".", "getValueType", "(", ")", ",", "0", ",", "TF", ")", ";", "if", "(", "const", "ConstantPoolSDNode", "*", "CP", "=", "dyn_cast", "<", "ConstantPoolSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetConstantPool", "(", "CP", "->", "getConstVal", "(", ")", ",", "CP", "->", "getValueType", "(", "0", ")", ",", "CP", "->", "getAlign", "(", ")", ",", "CP", "->", "getOffset", "(", ")", ",", "TF", ")", ";", "if", "(", "const", "ExternalSymbolSDNode", "*", "ES", "=", "dyn_cast", "<", "ExternalSymbolSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetExternalSymbol", "(", "ES", "->", "getSymbol", "(", ")", ",", "ES", "->", "getValueType", "(", "0", ")", ",", "TF", ")", ";", "llvm_unreachable", "(", "\"Unhandled address SDNode\"", ")", ";", "}", ""], "natrual_language": ["}", "Custom", "DAGCombine"], "TS_V_token": ["VE", "VE", "0", "0", "0", "0", "\"Unhandled address SDNode\""], "File": "VEISelLowering1", "Func": "withTargetFlags", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7334, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "enableMachineScheduler", "(", ")", "const", "LLVM_OVERRIDE", "{", "return", "true", ";", "}", ""], "natrual_language": ["Enable", "the", "MachineScheduler", "pass", "for", "all", "X86", "subtargets", "."], "TS_V_token": ["X86"], "File": "X86Subtarget106", "Func": "enableMachineScheduler", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7335, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "scalar_chain", "::", "~", "scalar_chain", "(", ")", "{", "BITMAP_FREE", "(", "insns", ")", ";", "BITMAP_FREE", "(", "defs", ")", ";", "BITMAP_FREE", "(", "defs_conv", ")", ";", "bitmap_obstack_release", "(", "NULL", ")", ";", "}", ""], "natrual_language": ["Free", "chain", "'s", "data", "."], "TS_V_token": ["i386"], "File": "i386-features", "Func": "~scalar_chain", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7336, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_vector_init", "(", "bool", "mmx_ok", ",", "rtx", "target", ",", "rtx", "vals", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "target", ")", ";", "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", ";", "if", "(", "n_elts", "!=", "XVECLEN", "(", "vals", ",", "0", ")", ")", "{", "rtx", "subtarget", "=", "target", ";", "x", "=", "XVECEXP", "(", "vals", ",", "0", ",", "0", ")", ";", "gcc_assert", "(", "GET_MODE_INNER", "(", "GET_MODE", "(", "x", ")", ")", "==", "inner_mode", ")", ";", "if", "(", "GET_MODE_NUNITS", "(", "GET_MODE", "(", "x", ")", ")", "*", "2", "==", "n_elts", ")", "{", "rtx", "ops", "[", "2", "]", "=", "{", "XVECEXP", "(", "vals", ",", "0", ",", "0", ")", ",", "XVECEXP", "(", "vals", ",", "0", ",", "1", ")", "}", ";", "if", "(", "inner_mode", "==", "QImode", "||", "inner_mode", "==", "HImode", "||", "inner_mode", "==", "TImode", "||", "inner_mode", "==", "HFmode", "||", "inner_mode", "==", "BFmode", ")", "{", "unsigned", "int", "n_bits", "=", "n_elts", "*", "GET_MODE_SIZE", "(", "inner_mode", ")", ";", "scalar_mode", "elt_mode", "=", "inner_mode", "==", "TImode", "?", "DImode", ":", "SImode", ";", "n_bits", "/=", "GET_MODE_SIZE", "(", "elt_mode", ")", ";", "mode", "=", "mode_for_vector", "(", "elt_mode", ",", "n_bits", ")", ".", "require", "(", ")", ";", "inner_mode", "=", "mode_for_vector", "(", "elt_mode", ",", "n_bits", "/", "2", ")", ".", "require", "(", ")", ";", "ops", "[", "0", "]", "=", "gen_lowpart", "(", "inner_mode", ",", "ops", "[", "0", "]", ")", ";", "ops", "[", "1", "]", "=", "gen_lowpart", "(", "inner_mode", ",", "ops", "[", "1", "]", ")", ";", "subtarget", "=", "gen_reg_rtx", "(", "mode", ")", ";", "}", "ix86_expand_vector_init_concat", "(", "mode", ",", "subtarget", ",", "ops", ",", "2", ")", ";", "if", "(", "subtarget", "!=", "target", ")", "emit_move_insn", "(", "target", ",", "gen_lowpart", "(", "GET_MODE", "(", "target", ")", ",", "subtarget", ")", ")", ";", "return", ";", "}", "gcc_unreachable", "(", ")", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "n_elts", ";", "++", "i", ")", "{", "x", "=", "XVECEXP", "(", "vals", ",", "0", ",", "i", ")", ";", "if", "(", "!", "(", "CONST_SCALAR_INT_P", "(", "x", ")", "||", "CONST_DOUBLE_P", "(", "x", ")", "||", "CONST_FIXED_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", "&&", "ix86_expand_vector_init_one_nonzero", "(", "mmx_ok", ",", "mode", ",", "target", ",", "XVECEXP", "(", "vals", ",", "0", ",", "one_var", ")", ",", "one_var", ")", ")", "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", "2", "2", "0", "0", "0", "1", "2", "0", "0", "1", "1", "2", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "0"], "File": "i386-expand1", "Func": "ix86_expand_vector_init", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7337, "Length": 508, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "TargetRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Kudeyar"], "File": "KudeyarTargetMachine", "Func": "getRegisterInfo", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7338, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64FastISel", "::", "fastMaterializeFloatZero", "(", "const", "ConstantFP", "*", "CFP", ")", "{", "assert", "(", "CFP", "->", "isNullValue", "(", ")", "&&", "\"Floating-point constant is not a positive zero.\"", ")", ";", "MVT", "VT", ";", "if", "(", "!", "isTypeLegal", "(", "CFP", "->", "getType", "(", ")", ",", "VT", ")", ")", "return", "0", ";", "if", "(", "VT", "!=", "MVT", "::", "f32", "&&", "VT", "!=", "MVT", "::", "f64", ")", "return", "0", ";", "bool", "Is64Bit", "=", "(", "VT", "==", "MVT", "::", "f64", ")", ";", "unsigned", "ZReg", "=", "Is64Bit", "?", "AArch64", "::", "XZR", ":", "AArch64", "::", "WZR", ";", "unsigned", "Opc", "=", "Is64Bit", "?", "AArch64", "::", "FMOVXDr", ":", "AArch64", "::", "FMOVWSr", ";", "return", "fastEmitInst_r", "(", "Opc", ",", "TLI", ".", "getRegClassFor", "(", "VT", ")", ",", "ZReg", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "floating-point", "constant", "+0.0", "in", "a", "register", "using", "target-", "specific", "logic", "."], "TS_V_token": ["AArch64", "AArch64", "\"Floating-point constant is not a positive zero.\"", "0", "MVT::f32", "MVT::f64", "0", "MVT::f64", "AArch64::XZR", "AArch64::WZR", "AArch64::FMOVXDr", "AArch64::FMOVWSr"], "File": "AArch64FastISel18", "Func": "fastMaterializeFloatZero", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7339, "Length": 112, "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": 7340, "Length": 119, "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": 7341, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetELFStreamer", "::", "finish", "(", ")", "{", "MCAssembler", "&", "MCA", "=", "getStreamer", "(", ")", ".", "getAssembler", "(", ")", ";", "const", "MCObjectFileInfo", "&", "OFI", "=", "*", "MCA", ".", "getContext", "(", ")", ".", "getObjectFileInfo", "(", ")", ";", "MCSection", "&", "TextSection", "=", "*", "OFI", ".", "getTextSection", "(", ")", ";", "MCA", ".", "registerSection", "(", "TextSection", ")", ";", "MCSection", "&", "DataSection", "=", "*", "OFI", ".", "getDataSection", "(", ")", ";", "MCA", ".", "registerSection", "(", "DataSection", ")", ";", "MCSection", "&", "BSSSection", "=", "*", "OFI", ".", "getBSSSection", "(", ")", ";", "MCA", ".", "registerSection", "(", "BSSSection", ")", ";", "TextSection", ".", "setAlignment", "(", "Align", "(", "std", "::", "max", "(", "16u", ",", "TextSection", ".", "getAlignment", "(", ")", ")", ")", ")", ";", "DataSection", ".", "setAlignment", "(", "Align", "(", "std", "::", "max", "(", "16u", ",", "DataSection", ".", "getAlignment", "(", ")", ")", ")", ")", ";", "BSSSection", ".", "setAlignment", "(", "Align", "(", "std", "::", "max", "(", "16u", ",", "BSSSection", ".", "getAlignment", "(", ")", ")", ")", ")", ";", "if", "(", "RoundSectionSizes", ")", "{", "MCStreamer", "&", "OS", "=", "getStreamer", "(", ")", ";", "for", "(", "MCSection", "&", "S", ":", "MCA", ")", "{", "MCSectionELF", "&", "Section", "=", "static_cast", "<", "MCSectionELF", "&", ">", "(", "S", ")", ";", "unsigned", "Alignment", "=", "Section", ".", "getAlignment", "(", ")", ";", "if", "(", "Alignment", ")", "{", "OS", ".", "SwitchSection", "(", "&", "Section", ")", ";", "if", "(", "Section", ".", "useCodeAlign", "(", ")", ")", "OS", ".", "emitCodeAlignment", "(", "Alignment", ",", "&", "STI", ",", "Alignment", ")", ";", "else", "OS", ".", "emitValueToAlignment", "(", "Alignment", ",", "0", ",", "1", ",", "Alignment", ")", ";", "}", "}", "}", "const", "FeatureBitset", "&", "Features", "=", "STI", ".", "getFeatureBits", "(", ")", ";", "unsigned", "EFlags", "=", "MCA", ".", "getELFHeaderEFlags", "(", ")", ";", "if", "(", "getABI", "(", ")", ".", "IsO32", "(", ")", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_ABI_O32", ";", "else", "if", "(", "getABI", "(", ")", ".", "IsN32", "(", ")", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_ABI2", ";", "if", "(", "Features", "[", "Mips", "::", "FeatureGP64Bit", "]", ")", "{", "if", "(", "getABI", "(", ")", ".", "IsO32", "(", ")", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_32BITMODE", ";", "}", "else", "if", "(", "Features", "[", "Mips", "::", "FeatureMips64r2", "]", "||", "Features", "[", "Mips", "::", "FeatureMips64", "]", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_32BITMODE", ";", "if", "(", "!", "Features", "[", "Mips", "::", "FeatureNoABICalls", "]", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_CPIC", ";", "if", "(", "Pic", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_PIC", "|", "ELF", "::", "EF_MIPS_CPIC", ";", "MCA", ".", "setELFHeaderEFlags", "(", "EFlags", ")", ";", "MipsELFStreamer", "&", "MEF", "=", "static_cast", "<", "MipsELFStreamer", "&", ">", "(", "Streamer", ")", ";", "MEF", ".", "EmitMipsOptionRecords", "(", ")", ";", "emitMipsAbiFlags", "(", ")", ";", "}", ""], "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": ["Mips", "Mips", "16u", "16u", "16u", "0", "1", "Mips::FeatureGP64Bit", "Mips::FeatureMips64r2", "Mips::FeatureMips64", "Mips::FeatureNoABICalls", "Mips", "Mips", "Mips", "Mips"], "File": "MipsTargetStreamer (2)1", "Func": "finish", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7342, "Length": 410, "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": "X86AvoidStoreForwardingBlocks1", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7343, "Length": 408, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "mips_build_builtin_va_list", "(", "void", ")", "{", "if", "(", "EABI_FLOAT_VARARGS_P", ")", "{", "tree", "f_ovfl", ",", "f_gtop", ",", "f_ftop", ",", "f_goff", ",", "f_foff", ",", "f_res", ",", "record", ";", "tree", "array", ",", "index", ";", "record", "=", "lang_hooks", ".", "types", ".", "make_type", "(", "RECORD_TYPE", ")", ";", "f_ovfl", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"__overflow_argptr\"", ")", ",", "ptr_type_node", ")", ";", "f_gtop", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"__gpr_top\"", ")", ",", "ptr_type_node", ")", ";", "f_ftop", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"__fpr_top\"", ")", ",", "ptr_type_node", ")", ";", "f_goff", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"__gpr_offset\"", ")", ",", "unsigned_char_type_node", ")", ";", "f_foff", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"__fpr_offset\"", ")", ",", "unsigned_char_type_node", ")", ";", "index", "=", "build_int_cst", "(", "NULL_TREE", ",", "GET_MODE_SIZE", "(", "ptr_mode", ")", "-", "2", "-", "1", ")", ";", "array", "=", "build_array_type", "(", "unsigned_char_type_node", ",", "build_index_type", "(", "index", ")", ")", ";", "f_res", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"__reserved\"", ")", ",", "array", ")", ";", "DECL_FIELD_CONTEXT", "(", "f_ovfl", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_gtop", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_ftop", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_goff", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_foff", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_res", ")", "=", "record", ";", "TYPE_FIELDS", "(", "record", ")", "=", "f_ovfl", ";", "DECL_CHAIN", "(", "f_ovfl", ")", "=", "f_gtop", ";", "DECL_CHAIN", "(", "f_gtop", ")", "=", "f_ftop", ";", "DECL_CHAIN", "(", "f_ftop", ")", "=", "f_goff", ";", "DECL_CHAIN", "(", "f_goff", ")", "=", "f_foff", ";", "DECL_CHAIN", "(", "f_foff", ")", "=", "f_res", ";", "layout_type", "(", "record", ")", ";", "return", "record", ";", "}", "else", "return", "ptr_type_node", ";", "}", ""], "natrual_language": ["Create", "the", "va_list", "data", "type", ".", "We", "keep", "3", "pointers", ",", "and", "two", "offsets", ".", "Two", "pointers", "are", "to", "the", "overflow", "area", ",", "which", "starts", "at", "the", "CFA", ".", "One", "of", "these", "is", "constant", ",", "for", "addressing", "into", "the", "GPR", "save", "area", "below", "it", ".", "The", "other", "is", "advanced", "up", "the", "stack", "through", "the", "overflow", "region", ".", "The", "third", "pointer", "is", "to", "the", "GPR", "save", "area", ".", "Since", "the", "FPR", "save", "area", "is", "just", "below", "it", ",", "we", "can", "address", "FPR", "slots", "off", "this", "pointer", ".", "We", "also", "keep", "two", "one-byte", "offsets", ",", "which", "are", "to", "be", "subtracted", "from", "the", "constant", "pointers", "to", "yield", "addresses", "in", "the", "GPR", "and", "FPR", "save", "areas", ".", "These", "are", "downcounted", "as", "float", "or", "non-float", "arguments", "are", "used", ",", "and", "when", "they", "get", "to", "zero", ",", "the", "argument", "must", "be", "obtained", "from", "the", "overflow", "region", ".", "If", "!", "EABI_FLOAT_VARARGS_P", ",", "then", "no", "FPR", "save", "area", "exists", ",", "and", "a", "single", "pointer", "is", "enough", ".", "It", "'s", "started", "at", "the", "GPR", "save", "area", ",", "and", "is", "advanced", ",", "period", ".", "Note", "that", "the", "GPR", "save", "area", "is", "not", "constant", "size", ",", "due", "to", "optimization", "in", "the", "prologue", ".", "Hence", ",", "we", "ca", "n't", "use", "a", "design", "with", "two", "pointers", "and", "two", "offsets", ",", "although", "we", "could", "have", "designed", "this", "with", "two", "pointers", "and", "three", "offsets", "."], "TS_V_token": ["mips", "\"__overflow_argptr\"", "\"__gpr_top\"", "\"__fpr_top\"", "\"__gpr_offset\"", "\"__fpr_offset\"", "2", "1", "\"__reserved\""], "File": "mips", "Func": "mips_build_builtin_va_list", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7344, "Length": 265, "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": 7345, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "zero_all_st_registers", "(", "HARD_REG_SET", "need_zeroed_hardregs", ")", "{", "if", "(", "!", "(", "TARGET_80387", "||", "TARGET_FLOAT_RETURNS_IN_80387", ")", ")", "return", "false", ";", "unsigned", "int", "num_of_st", "=", "0", ";", "for", "(", "unsigned", "int", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "(", "STACK_REGNO_P", "(", "regno", ")", "||", "MMX_REGNO_P", "(", "regno", ")", ")", "&&", "TEST_HARD_REG_BIT", "(", "need_zeroed_hardregs", ",", "regno", ")", ")", "{", "num_of_st", "++", ";", "break", ";", "}", "if", "(", "num_of_st", "==", "0", ")", "return", "false", ";", "bool", "return_with_x87", "=", "false", ";", "return_with_x87", "=", "(", "crtl", "->", "return_rtx", "&&", "(", "STACK_REG_P", "(", "crtl", "->", "return_rtx", ")", ")", ")", ";", "bool", "complex_return", "=", "false", ";", "complex_return", "=", "(", "crtl", "->", "return_rtx", "&&", "COMPLEX_MODE_P", "(", "GET_MODE", "(", "crtl", "->", "return_rtx", ")", ")", ")", ";", "if", "(", "return_with_x87", ")", "if", "(", "complex_return", ")", "num_of_st", "=", "6", ";", "else", "num_of_st", "=", "7", ";", "else", "num_of_st", "=", "8", ";", "rtx", "st_reg", "=", "gen_rtx_REG", "(", "XFmode", ",", "FIRST_STACK_REG", ")", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "num_of_st", ";", "i", "++", ")", "emit_insn", "(", "gen_rtx_SET", "(", "st_reg", ",", "CONST0_RTX", "(", "XFmode", ")", ")", ")", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "num_of_st", ";", "i", "++", ")", "{", "rtx", "insn", ";", "insn", "=", "emit_insn", "(", "gen_rtx_SET", "(", "st_reg", ",", "st_reg", ")", ")", ";", "add_reg_note", "(", "insn", ",", "REG_DEAD", ",", "st_reg", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Generate", "insns", "to", "zero", "all", "st", "registers", "together", ".", "Return", "true", "when", "zeroing", "instructions", "are", "generated", ".", "Assume", "the", "number", "of", "st", "registers", "that", "are", "zeroed", "is", "num_of_st", ",", "we", "will", "emit", "the", "following", "sequence", "to", "zero", "them", "together", ":", "fldz", ";", "\\", "fldz", ";", "\\", "...", "fldz", ";", "\\", "fstp", "%", "%", "st", "(", "0", ")", ";", "\\", "fstp", "%", "%", "st", "(", "0", ")", ";", "\\", "...", "fstp", "%", "%", "st", "(", "0", ")", ";", "i.e.", ",", "num_of_st", "fldz", "followed", "by", "num_of_st", "fstp", "to", "clear", "the", "stack", "mark", "stack", "slots", "empty", ".", "How", "to", "compute", "the", "num_of_st", ":", "There", "is", "no", "direct", "mapping", "from", "stack", "registers", "to", "hard", "register", "numbers", ".", "If", "one", "stack", "register", "needs", "to", "be", "cleared", ",", "we", "do", "n't", "know", "where", "in", "the", "stack", "the", "value", "remains", ".", "So", ",", "if", "any", "stack", "register", "needs", "to", "be", "cleared", ",", "the", "whole", "stack", "should", "be", "cleared", ".", "However", ",", "x87", "stack", "registers", "that", "hold", "the", "return", "value", "should", "be", "excluded", ".", "x87", "returns", "in", "the", "top", "(", "two", "for", "complex", "values", ")", "register", ",", "so", "num_of_st", "should", "be", "7/6", "when", "x87", "returns", ",", "otherwise", "it", "will", "be", "8", "."], "TS_V_token": ["i386", "0", "0", "0", "6", "7", "8", "0", "0"], "File": "i3861", "Func": "zero_all_st_registers", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7346, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "altivec_build_resolved_builtin", "(", "tree", "*", "args", ",", "int", "n", ",", "const", "struct", "altivec_builtin_types", "*", "desc", ")", "{", "tree", "impl_fndecl", "=", "rs6000_builtin_decls", "[", "desc", "->", "overloaded_code", "]", ";", "tree", "ret_type", "=", "rs6000_builtin_type", "(", "desc", "->", "ret_type", ")", ";", "tree", "argtypes", "=", "TYPE_ARG_TYPES", "(", "TREE_TYPE", "(", "impl_fndecl", ")", ")", ";", "tree", "arg_type", "[", "3", "]", ";", "tree", "call", ";", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n", ";", "i", "++", ")", "arg_type", "[", "i", "]", "=", "TREE_VALUE", "(", "argtypes", ")", ",", "argtypes", "=", "TREE_CHAIN", "(", "argtypes", ")", ";", "if", "(", "desc", "->", "code", "==", "ALTIVEC_BUILTIN_VEC_VCMPGE_P", "&&", "desc", "->", "overloaded_code", "!=", "ALTIVEC_BUILTIN_VCMPGEFP_P", "&&", "desc", "->", "overloaded_code", "!=", "VSX_BUILTIN_XVCMPGEDP_P", ")", "{", "tree", "t", ";", "t", "=", "args", "[", "2", "]", ",", "args", "[", "2", "]", "=", "args", "[", "1", "]", ",", "args", "[", "1", "]", "=", "t", ";", "t", "=", "arg_type", "[", "2", "]", ",", "arg_type", "[", "2", "]", "=", "arg_type", "[", "1", "]", ",", "arg_type", "[", "1", "]", "=", "t", ";", "args", "[", "0", "]", "=", "fold_build2", "(", "BIT_XOR_EXPR", ",", "TREE_TYPE", "(", "args", "[", "0", "]", ")", ",", "args", "[", "0", "]", ",", "build_int_cst", "(", "NULL_TREE", ",", "2", ")", ")", ";", "}", "switch", "(", "n", ")", "{", "case", "0", ":", "call", "=", "build_call_expr", "(", "impl_fndecl", ",", "0", ")", ";", "break", ";", "case", "1", ":", "call", "=", "build_call_expr", "(", "impl_fndecl", ",", "1", ",", "fully_fold_convert", "(", "arg_type", "[", "0", "]", ",", "args", "[", "0", "]", ")", ")", ";", "break", ";", "case", "2", ":", "call", "=", "build_call_expr", "(", "impl_fndecl", ",", "2", ",", "fully_fold_convert", "(", "arg_type", "[", "0", "]", ",", "args", "[", "0", "]", ")", ",", "fully_fold_convert", "(", "arg_type", "[", "1", "]", ",", "args", "[", "1", "]", ")", ")", ";", "break", ";", "case", "3", ":", "call", "=", "build_call_expr", "(", "impl_fndecl", ",", "3", ",", "fully_fold_convert", "(", "arg_type", "[", "0", "]", ",", "args", "[", "0", "]", ")", ",", "fully_fold_convert", "(", "arg_type", "[", "1", "]", ",", "args", "[", "1", "]", ")", ",", "fully_fold_convert", "(", "arg_type", "[", "2", "]", ",", "args", "[", "2", "]", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "fold_convert", "(", "ret_type", ",", "call", ")", ";", "}", ""], "natrual_language": ["Build", "a", "tree", "for", "a", "function", "call", "to", "an", "Altivec", "non-overloaded", "builtin", ".", "The", "overloaded", "builtin", "that", "matched", "the", "types", "and", "args", "is", "described", "by", "DESC", ".", "The", "N", "arguments", "are", "given", "in", "ARGS", ",", "respectively", ".", "Actually", "the", "only", "thing", "it", "does", "is", "calling", "fold_convert", "on", "ARGS", ",", "with", "a", "small", "exception", "for", "vec_", "{", "all", ",", "any", "}", "_", "{", "ge", ",", "le", "}", "predicates", "."], "TS_V_token": ["rs6000", "3", "0", "2", "2", "1", "1", "2", "2", "1", "1", "0", "0", "0", "2", "0", "0", "1", "1", "0", "0", "2", "2", "0", "0", "1", "1", "3", "3", "0", "0", "1", "1", "2", "2"], "File": "rs6000-c3", "Func": "altivec_build_resolved_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7347, "Length": 349, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "mips_build_cvpointer_type", "(", "void", ")", "{", "static", "tree", "cache", ";", "if", "(", "cache", "==", "NULL_TREE", ")", "cache", "=", "build_pointer_type", "(", "build_qualified_type", "(", "void_type_node", ",", "TYPE_QUAL_CONST", "|", "TYPE_QUAL_VOLATILE", ")", ")", ";", "return", "cache", ";", "}", ""], "natrual_language": ["Return", "a", "type", "for", "'const", "volatile", "void", "*", "'", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_build_cvpointer_type", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7348, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "uint16_t", "*", "lookup", "(", "unsigned", "opcode", ",", "unsigned", "domain", ",", "ArrayRef", "<", "uint16_t", "[", "3", "]", ">", "Table", ")", "{", "for", "(", "const", "uint16_t", "(", "&", "Row", ")", "[", "3", "]", ":", "Table", ")", "if", "(", "Row", "[", "domain", "-", "1", "]", "==", "opcode", ")", "return", "Row", ";", "return", "nullptr", ";", "}", ""], "natrual_language": ["This", "method", "finds", "the", "value", "with", "the", "given", "Name", "in", "the", "the", "symbol", "table", "."], "TS_V_token": ["X86", "3", "3", "1"], "File": "X86InstrInfo (2)3", "Func": "lookup", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7349, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_base_register_rtx_p", "(", "rtx", "x", ",", "bool", "strict_p", ")", "{", "if", "(", "!", "strict_p", "&&", "SUBREG_P", "(", "x", ")", "&&", "contains_reg_of_mode", "[", "GENERAL_REGS", "]", "[", "GET_MODE", "(", "SUBREG_REG", "(", "x", ")", ")", "]", ")", "x", "=", "SUBREG_REG", "(", "x", ")", ";", "return", "(", "REG_P", "(", "x", ")", "&&", "aarch64_regno_ok_for_base_p", "(", "REGNO", "(", "x", ")", ",", "strict_p", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "valid", "base", "register", "for", "mode", "MODE", ".", "STRICT_P", "is", "true", "if", "REG_OK_STRICT", "is", "in", "effect", "."], "TS_V_token": ["aarch64"], "File": "aarch641", "Func": "aarch64_base_register_rtx_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7350, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips16_fp_args", "(", "FILE", "*", "file", ",", "int", "fp_code", ",", "int", "from_fp_p", ")", "{", "const", "char", "*", "s", ";", "int", "gparg", ",", "fparg", ";", "unsigned", "int", "f", ";", "gcc_assert", "(", "TARGET_OLDABI", ")", ";", "if", "(", "from_fp_p", ")", "s", "=", "\"mfc1\"", ";", "else", "s", "=", "\"mtc1\"", ";", "gparg", "=", "GP_ARG_FIRST", ";", "fparg", "=", "FP_ARG_FIRST", ";", "for", "(", "f", "=", "(", "unsigned", "int", ")", "fp_code", ";", "f", "!=", "0", ";", "f", ">>=", "2", ")", "{", "if", "(", "(", "f", "&", "3", ")", "==", "1", ")", "{", "if", "(", "(", "fparg", "&", "1", ")", "!=", "0", ")", "++", "fparg", ";", "fprintf", "(", "file", ",", "\"\\t%s\\t%s,%s\\n\"", ",", "s", ",", "reg_names", "[", "gparg", "]", ",", "reg_names", "[", "fparg", "]", ")", ";", "}", "else", "if", "(", "(", "f", "&", "3", ")", "==", "2", ")", "{", "if", "(", "TARGET_64BIT", ")", "fprintf", "(", "file", ",", "\"\\td%s\\t%s,%s\\n\"", ",", "s", ",", "reg_names", "[", "gparg", "]", ",", "reg_names", "[", "fparg", "]", ")", ";", "else", "{", "if", "(", "(", "fparg", "&", "1", ")", "!=", "0", ")", "++", "fparg", ";", "if", "(", "TARGET_BIG_ENDIAN", ")", "fprintf", "(", "file", ",", "\"\\t%s\\t%s,%s\\n\\t%s\\t%s,%s\\n\"", ",", "s", ",", "reg_names", "[", "gparg", "]", ",", "reg_names", "[", "fparg", "+", "1", "]", ",", "s", ",", "reg_names", "[", "gparg", "+", "1", "]", ",", "reg_names", "[", "fparg", "]", ")", ";", "else", "fprintf", "(", "file", ",", "\"\\t%s\\t%s,%s\\n\\t%s\\t%s,%s\\n\"", ",", "s", ",", "reg_names", "[", "gparg", "]", ",", "reg_names", "[", "fparg", "]", ",", "s", ",", "reg_names", "[", "gparg", "+", "1", "]", ",", "reg_names", "[", "fparg", "+", "1", "]", ")", ";", "++", "gparg", ";", "++", "fparg", ";", "}", "}", "else", "gcc_unreachable", "(", ")", ";", "++", "gparg", ";", "++", "fparg", ";", "}", "}", ""], "natrual_language": ["Write", "out", "code", "to", "move", "floating", "point", "arguments", "in", "or", "out", "of", "general", "registers", ".", "Output", "the", "instructions", "to", "FILE", ".", "FP_CODE", "is", "the", "code", "describing", "which", "arguments", "are", "present", "(", "see", "the", "comment", "at", "the", "definition", "of", "CUMULATIVE_ARGS", "in", "mips.h", ")", ".", "FROM_FP_P", "is", "nonzero", "if", "we", "are", "copying", "from", "the", "floating", "point", "registers", "."], "TS_V_token": ["mips", "\"mfc1\"", "\"mtc1\"", "0", "2", "3", "1", "1", "0", "\"\\t%s\\t%s,%s\\n\"", "3", "2", "\"\\td%s\\t%s,%s\\n\"", "1", "0", "\"\\t%s\\t%s,%s\\n\\t%s\\t%s,%s\\n\"", "1", "1", "\"\\t%s\\t%s,%s\\n\\t%s\\t%s,%s\\n\"", "1", "1"], "File": "mips3", "Func": "mips16_fp_args", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7351, "Length": 264, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_operands_ok_for_ldpstp", "(", "rtx", "*", "operands", ",", "bool", "load", ",", "enum", "machine_mode", "mode", ")", "{", "HOST_WIDE_INT", "offval_1", ",", "offval_2", ",", "msize", ";", "enum", "reg_class", "rclass_1", ",", "rclass_2", ";", "rtx", "mem_1", ",", "mem_2", ",", "reg_1", ",", "reg_2", ",", "base_1", ",", "base_2", ",", "offset_1", ",", "offset_2", ";", "if", "(", "load", ")", "{", "mem_1", "=", "operands", "[", "1", "]", ";", "mem_2", "=", "operands", "[", "3", "]", ";", "reg_1", "=", "operands", "[", "0", "]", ";", "reg_2", "=", "operands", "[", "2", "]", ";", "gcc_assert", "(", "REG_P", "(", "reg_1", ")", "&&", "REG_P", "(", "reg_2", ")", ")", ";", "if", "(", "REGNO", "(", "reg_1", ")", "==", "REGNO", "(", "reg_2", ")", ")", "return", "false", ";", "}", "else", "{", "mem_1", "=", "operands", "[", "0", "]", ";", "mem_2", "=", "operands", "[", "2", "]", ";", "reg_1", "=", "operands", "[", "1", "]", ";", "reg_2", "=", "operands", "[", "3", "]", ";", "}", "if", "(", "MEM_VOLATILE_P", "(", "mem_1", ")", "||", "MEM_VOLATILE_P", "(", "mem_2", ")", ")", "return", "false", ";", "if", "(", "mode", "==", "SImode", "&&", "(", "aarch64_tune_params", ".", "extra_tuning_flags", "&", "AARCH64_EXTRA_TUNE_SLOW_UNALIGNED_LDPW", ")", "&&", "!", "optimize_size", "&&", "MEM_ALIGN", "(", "mem_1", ")", "<", "8", "*", "BITS_PER_UNIT", ")", "return", "false", ";", "extract_base_offset_in_addr", "(", "mem_1", ",", "&", "base_1", ",", "&", "offset_1", ")", ";", "if", "(", "base_1", "==", "NULL_RTX", "||", "offset_1", "==", "NULL_RTX", ")", "return", "false", ";", "extract_base_offset_in_addr", "(", "mem_2", ",", "&", "base_2", ",", "&", "offset_2", ")", ";", "if", "(", "base_2", "==", "NULL_RTX", "||", "offset_2", "==", "NULL_RTX", ")", "return", "false", ";", "if", "(", "!", "rtx_equal_p", "(", "base_1", ",", "base_2", ")", ")", "return", "false", ";", "offval_1", "=", "INTVAL", "(", "offset_1", ")", ";", "offval_2", "=", "INTVAL", "(", "offset_2", ")", ";", "msize", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "offval_1", "!=", "(", "offval_2", "+", "msize", ")", "&&", "offval_2", "!=", "(", "offval_1", "+", "msize", ")", ")", "return", "false", ";", "if", "(", "load", ")", "{", "if", "(", "reg_mentioned_p", "(", "reg_1", ",", "mem_1", ")", ")", "return", "false", ";", "if", "(", "offval_1", ">", "offval_2", "&&", "reg_mentioned_p", "(", "reg_2", ",", "mem_2", ")", ")", "return", "false", ";", "}", "if", "(", "REG_P", "(", "reg_1", ")", "&&", "FP_REGNUM_P", "(", "REGNO", "(", "reg_1", ")", ")", ")", "rclass_1", "=", "FP_REGS", ";", "else", "rclass_1", "=", "GENERAL_REGS", ";", "if", "(", "REG_P", "(", "reg_2", ")", "&&", "FP_REGNUM_P", "(", "REGNO", "(", "reg_2", ")", ")", ")", "rclass_2", "=", "FP_REGS", ";", "else", "rclass_2", "=", "GENERAL_REGS", ";", "if", "(", "rclass_1", "!=", "rclass_2", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Given", "OPERANDS", "of", "consecutive", "load/store", ",", "check", "if", "we", "can", "merge", "them", "into", "ldp/stp", ".", "LOAD", "is", "true", "if", "they", "are", "load", "instructions", ".", "MODE", "is", "the", "mode", "of", "memory", "operands", "."], "TS_V_token": ["aarch64", "1", "3", "0", "2", "0", "2", "1", "3", "8"], "File": "aarch644", "Func": "aarch64_operands_ok_for_ldpstp", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7352, "Length": 380, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CSKYAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "OS", ")", "{", "if", "(", "!", "AsmPrinter", "::", "PrintAsmOperand", "(", "MI", ",", "OpNo", ",", "ExtraCode", ",", "OS", ")", ")", "return", "false", ";", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "{", "if", "(", "ExtraCode", "[", "1", "]", "!=", "0", ")", "return", "true", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "default", ":", "return", "true", ";", "case", "'R'", ":", "if", "(", "MO", ".", "getType", "(", ")", "==", "MachineOperand", "::", "MO_Register", ")", "{", "OS", "<<", "CSKYInstPrinter", "::", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", "+", "1", ")", ";", "return", "false", ";", "}", "}", "}", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "case", "MachineOperand", "::", "MO_Immediate", ":", "OS", "<<", "MO", ".", "getImm", "(", ")", ";", "return", "false", ";", "case", "MachineOperand", "::", "MO_Register", ":", "if", "(", "MO", ".", "getReg", "(", ")", "==", "CSKY", "::", "C", ")", "return", "false", ";", "OS", "<<", "CSKYInstPrinter", "::", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", ";", "return", "false", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "PrintSymbolOperand", "(", "MO", ",", "OS", ")", ";", "return", "false", ";", "case", "MachineOperand", "::", "MO_BlockAddress", ":", "{", "MCSymbol", "*", "Sym", "=", "GetBlockAddressSymbol", "(", "MO", ".", "getBlockAddress", "(", ")", ")", ";", "Sym", "->", "print", "(", "OS", ",", "MAI", ")", ";", "return", "false", ";", "}", "default", ":", "break", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["CSKY", "CSKY", "0", "1", "0", "0", "CSKY", "1", "CSKY::C", "CSKY"], "File": "CSKYAsmPrinter1", "Func": "PrintAsmOperand", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7353, "Length": 243, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"Mips Machine Code Emitter\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"Mips Machine Code Emitter\""], "File": "MipsCodeEmitter11", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7354, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_function_has_gp_insn", "(", "void", ")", "{", "if", "(", "!", "cfun", "->", "machine", "->", "has_gp_insn_p", ")", "{", "rtx", "insn", ";", "push_topmost_sequence", "(", ")", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "if", "(", "INSN_P", "(", "insn", ")", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "USE", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "CLOBBER", "&&", "(", "get_attr_got", "(", "insn", ")", "!=", "GOT_UNSET", "||", "small_data_pattern", "(", "PATTERN", "(", "insn", ")", ",", "VOIDmode", ")", ")", ")", "break", ";", "pop_topmost_sequence", "(", ")", ";", "cfun", "->", "machine", "->", "has_gp_insn_p", "=", "(", "insn", "!=", "0", ")", ";", "}", "return", "cfun", "->", "machine", "->", "has_gp_insn_p", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "current", "function", "has", "an", "insn", "that", "implicitly", "refers", "to", "$", "gp", "."], "TS_V_token": ["mips", "0"], "File": "mips3", "Func": "mips_function_has_gp_insn", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7355, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "ix86_promote_function_mode", "(", "const_tree", "type", ",", "machine_mode", "mode", ",", "int", "*", "punsignedp", ",", "const_tree", "fntype", ",", "int", "for_return", ")", "{", "if", "(", "cfun", "->", "machine", "->", "func_type", "==", "TYPE_NORMAL", "&&", "type", "!=", "NULL_TREE", "&&", "POINTER_TYPE_P", "(", "type", ")", ")", "{", "*", "punsignedp", "=", "POINTERS_EXTEND_UNSIGNED", ";", "return", "word_mode", ";", "}", "return", "default_promote_function_mode", "(", "type", ",", "mode", ",", "punsignedp", ",", "fntype", ",", "for_return", ")", ";", "}", ""], "natrual_language": ["Pointer", "function", "arguments", "and", "return", "values", "are", "promoted", "to", "word_mode", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_promote_function_mode", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7356, "Length": 65, "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", "Arg", "=", "II", ".", "getArgOperand", "(", "0", ")", ";", "auto", "ArgType", "=", "cast", "<", "FixedVectorType", ">", "(", "Arg", "->", "getType", "(", ")", ")", ";", "ArgWidth", "=", "ArgType", "->", "getNumElements", "(", ")", ";", "}", "APInt", "DemandedElts", "=", "DemandedMask", ".", "zextOrTrunc", "(", "ArgWidth", ")", ";", "Type", "*", "VTy", "=", "II", ".", "getType", "(", ")", ";", "if", "(", "DemandedElts", ".", "isNullValue", "(", ")", ")", "{", "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": "X86InstCombineIntrinsic1", "Func": "simplifyDemandedUseBitsIntrinsic", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7357, "Length": 195, "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": 7358, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_secondary_memory_needed", "(", "enum", "reg_class", "class1", ",", "enum", "reg_class", "class2", ",", "machine_mode", "mode", ",", "int", "strict", ")", "{", "return", "inline_secondary_memory_needed", "(", "class1", ",", "class2", ",", "mode", ",", "strict", ")", ";", "}", ""], "natrual_language": ["If", "we", "are", "copying", "between", "general", "and", "FP", "registers", ",", "we", "need", "a", "memory", "location", ".", "The", "same", "is", "true", "for", "SSE", "and", "MMX", "registers", ".", "The", "macro", "ca", "n't", "work", "reliably", "when", "one", "of", "the", "CLASSES", "is", "class", "containing", "registers", "from", "multiple", "units", "(", "SSE", ",", "MMX", ",", "integer", ")", ".", "We", "avoid", "this", "by", "never", "combining", "those", "units", "in", "single", "alternative", "in", "the", "machine", "description", ".", "Ensure", "that", "this", "constraint", "holds", "to", "avoid", "unexpected", "surprises", ".", "When", "STRICT", "is", "false", ",", "we", "are", "being", "called", "from", "REGISTER_MOVE_COST", ",", "so", "do", "not", "enforce", "these", "sanity", "checks", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_secondary_memory_needed", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7359, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_init_pic_reg", "(", "void", ")", "{", "edge", "entry_edge", ";", "rtx_insn", "*", "seq", ";", "if", "(", "!", "crtl", "->", "uses_pic_offset_table", ")", "return", ";", "start_sequence", "(", ")", ";", "load_got_register", "(", ")", ";", "if", "(", "!", "TARGET_VXWORKS_RTP", ")", "emit_move_insn", "(", "pic_offset_table_rtx", ",", "got_register_rtx", ")", ";", "seq", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "entry_edge", "=", "single_succ_edge", "(", "ENTRY_BLOCK_PTR_FOR_FN", "(", "cfun", ")", ")", ";", "insert_insn_on_edge", "(", "seq", ",", "entry_edge", ")", ";", "commit_one_edge_insertion", "(", "entry_edge", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_INIT_PIC_REG", "."], "TS_V_token": ["sparc"], "File": "sparc8", "Func": "sparc_init_pic_reg", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7360, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "size_t", "MipsLA25Stub", "::", "size", "(", ")", "const", "{", "return", "m_Size", ";", "}", ""], "natrual_language": ["The", "number", "of", "name/type", "pairs", "is", "returned", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsLA25Stub", "Func": "size", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7361, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "def_builtin", "(", "const", "char", "*", "name", ",", "tree", "type", ",", "enum", "rs6000_builtins", "code", ")", "{", "tree", "t", ";", "unsigned", "classify", "=", "rs6000_builtin_info", "[", "(", "int", ")", "code", "]", ".", "attr", ";", "const", "char", "*", "attr_string", "=", "\"\"", ";", "if", "(", "type", "==", "NULL_TREE", ")", "return", ";", "gcc_assert", "(", "name", "!=", "NULL", ")", ";", "gcc_assert", "(", "IN_RANGE", "(", "(", "int", ")", "code", ",", "0", ",", "(", "int", ")", "RS6000_BUILTIN_COUNT", ")", ")", ";", "if", "(", "rs6000_builtin_decls", "[", "(", "int", ")", "code", "]", ")", "fatal_error", "(", "input_location", ",", "\"internal error: builtin function %qs already processed\"", ",", "name", ")", ";", "rs6000_builtin_decls", "[", "(", "int", ")", "code", "]", "=", "t", "=", "add_builtin_function", "(", "name", ",", "type", ",", "(", "int", ")", "code", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "if", "(", "(", "classify", "&", "RS6000_BTC_CONST", ")", "!=", "0", ")", "{", "TREE_READONLY", "(", "t", ")", "=", "1", ";", "TREE_NOTHROW", "(", "t", ")", "=", "1", ";", "attr_string", "=", "\", const\"", ";", "}", "else", "if", "(", "(", "classify", "&", "RS6000_BTC_PURE", ")", "!=", "0", ")", "{", "DECL_PURE_P", "(", "t", ")", "=", "1", ";", "TREE_NOTHROW", "(", "t", ")", "=", "1", ";", "attr_string", "=", "\", pure\"", ";", "}", "else", "if", "(", "(", "classify", "&", "RS6000_BTC_FP", ")", "!=", "0", ")", "{", "TREE_NOTHROW", "(", "t", ")", "=", "1", ";", "if", "(", "flag_rounding_math", ")", "{", "DECL_PURE_P", "(", "t", ")", "=", "1", ";", "DECL_IS_NOVOPS", "(", "t", ")", "=", "1", ";", "attr_string", "=", "\", fp, pure\"", ";", "}", "else", "{", "TREE_READONLY", "(", "t", ")", "=", "1", ";", "attr_string", "=", "\", fp, const\"", ";", "}", "}", "else", "if", "(", "(", "classify", "&", "(", "RS6000_BTC_QUAD", "|", "RS6000_BTC_PAIR", ")", ")", "!=", "0", ")", ";", "else", "if", "(", "(", "classify", "&", "RS6000_BTC_ATTR_MASK", ")", "!=", "0", ")", "gcc_unreachable", "(", ")", ";", "if", "(", "TARGET_DEBUG_BUILTIN", ")", "fprintf", "(", "stderr", ",", "\"rs6000_builtin, code = %4d, %s%s\\n\"", ",", "(", "int", ")", "code", ",", "name", ",", "attr_string", ")", ";", "}", ""], "natrual_language": ["Add", "a", "SPARC", "builtin", "function", "with", "NAME", ",", "ICODE", ",", "CODE", "and", "TYPE", ".", "Return", "the", "function", "decl", "or", "NULL_TREE", "if", "the", "builtin", "was", "not", "added", "."], "TS_V_token": ["rs6000", "\"\"", "0", "\"internal error: builtin function %qs already processed\"", "0", "1", "1", "\", const\"", "0", "1", "1", "\", pure\"", "0", "1", "1", "1", "\", fp, pure\"", "1", "\", fp, const\"", "0", "0", "\"rs6000_builtin, code = %4d, %s%s\\n\""], "File": "rs6000-call1", "Func": "def_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7362, "Length": 291, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "aarch64_add_stmt_cost", "(", "class", "vec_info", "*", "vinfo", ",", "void", "*", "data", ",", "int", "count", ",", "enum", "vect_cost_for_stmt", "kind", ",", "struct", "_stmt_vec_info", "*", "stmt_info", ",", "tree", "vectype", ",", "int", "misalign", ",", "enum", "vect_cost_model_location", "where", ")", "{", "auto", "*", "costs", "=", "static_cast", "<", "aarch64_vector_costs", "*", ">", "(", "data", ")", ";", "unsigned", "retval", "=", "0", ";", "if", "(", "flag_vect_cost_model", ")", "{", "int", "stmt_cost", "=", "aarch64_builtin_vectorization_cost", "(", "kind", ",", "vectype", ",", "misalign", ")", ";", "loop_vec_info", "loop_vinfo", "=", "dyn_cast", "<", "loop_vec_info", ">", "(", "vinfo", ")", ";", "bb_vec_info", "bb_vinfo", "=", "dyn_cast", "<", "bb_vec_info", ">", "(", "vinfo", ")", ";", "if", "(", "!", "costs", "->", "analyzed_vinfo", "&&", "aarch64_use_new_vector_costs_p", "(", ")", ")", "{", "if", "(", "loop_vinfo", ")", "aarch64_analyze_loop_vinfo", "(", "loop_vinfo", ",", "costs", ")", ";", "else", "aarch64_analyze_bb_vinfo", "(", "bb_vinfo", ",", "costs", ")", ";", "costs", "->", "analyzed_vinfo", "=", "true", ";", "}", "if", "(", "stmt_info", "&&", "aarch64_use_new_vector_costs_p", "(", ")", ")", "{", "if", "(", "vectype", "&&", "aarch64_sve_only_stmt_p", "(", "stmt_info", ",", "vectype", ")", ")", "costs", "->", "saw_sve_only_op", "=", "true", ";", "stmt_cost", "=", "aarch64_detect_scalar_stmt_subtype", "(", "vinfo", ",", "kind", ",", "stmt_info", ",", "stmt_cost", ")", ";", "if", "(", "vectype", "&&", "costs", "->", "vec_flags", ")", "stmt_cost", "=", "aarch64_detect_vector_stmt_subtype", "(", "vinfo", ",", "kind", ",", "stmt_info", ",", "vectype", ",", "where", ",", "stmt_cost", ")", ";", "}", "if", "(", "stmt_info", "&&", "vectype", "&&", "aarch64_sve_mode_p", "(", "TYPE_MODE", "(", "vectype", ")", ")", ")", "stmt_cost", "=", "aarch64_sve_adjust_stmt_cost", "(", "vinfo", ",", "kind", ",", "stmt_info", ",", "vectype", ",", "stmt_cost", ")", ";", "if", "(", "stmt_info", "&&", "aarch64_use_new_vector_costs_p", "(", ")", ")", "{", "stmt_cost", "=", "aarch64_adjust_stmt_cost", "(", "kind", ",", "stmt_info", ",", "vectype", ",", "stmt_cost", ")", ";", "auto", "*", "issue_info", "=", "aarch64_tune_params", ".", "vec_costs", "->", "issue_info", ";", "if", "(", "loop_vinfo", "&&", "issue_info", "&&", "costs", "->", "vec_flags", "&&", "where", "==", "vect_body", "&&", "vectype", "&&", "stmt_cost", "!=", "0", ")", "{", "aarch64_count_ops", "(", "vinfo", ",", "costs", ",", "count", ",", "kind", ",", "stmt_info", ",", "vectype", ",", "0", ",", "&", "costs", "->", "scalar_ops", ",", "issue_info", "->", "scalar", ",", "vect_nunits_for_cost", "(", "vectype", ")", ")", ";", "if", "(", "aarch64_sve_mode_p", "(", "vinfo", "->", "vector_mode", ")", "&&", "issue_info", "->", "sve", ")", "{", "aarch64_count_ops", "(", "vinfo", ",", "costs", ",", "count", ",", "kind", ",", "stmt_info", ",", "vectype", ",", "VEC_ADVSIMD", ",", "&", "costs", "->", "advsimd_ops", ",", "issue_info", "->", "advsimd", ",", "aarch64_estimated_sve_vq", "(", ")", ")", ";", "aarch64_count_ops", "(", "vinfo", ",", "costs", ",", "count", ",", "kind", ",", "stmt_info", ",", "vectype", ",", "VEC_ANY_SVE", ",", "&", "costs", "->", "sve_ops", ",", "issue_info", "->", "sve", ",", "1", ")", ";", "}", "else", "aarch64_count_ops", "(", "vinfo", ",", "costs", ",", "count", ",", "kind", ",", "stmt_info", ",", "vectype", ",", "VEC_ADVSIMD", ",", "&", "costs", "->", "advsimd_ops", ",", "issue_info", "->", "advsimd", ",", "1", ")", ";", "}", "if", "(", "where", "==", "vect_body", "&&", "costs", "->", "unrolled_advsimd_niters", ")", "costs", "->", "unrolled_advsimd_stmts", "+=", "count", "*", "costs", "->", "unrolled_advsimd_niters", ";", "}", "if", "(", "where", "==", "vect_body", "&&", "stmt_info", "&&", "stmt_in_inner_loop_p", "(", "vinfo", ",", "stmt_info", ")", ")", "count", "*=", "50", ";", "retval", "=", "(", "unsigned", ")", "(", "count", "*", "stmt_cost", ")", ";", "costs", "->", "region", "[", "where", "]", "+=", "retval", ";", "}", "return", "retval", ";", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.add_stmt_cost", "."], "TS_V_token": ["aarch64", "0", "0", "0", "1", "1", "50"], "File": "aarch641", "Func": "aarch64_add_stmt_cost", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7363, "Length": 477, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "isSafeToMoveRegClassDefs", "(", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "return", "!", "(", "RC", "==", "&", "X86", "::", "CCRRegClass", "||", "RC", "==", "&", "X86", "::", "DFCCRRegClass", "||", "RC", "==", "&", "X86", "::", "RFP32RegClass", "||", "RC", "==", "&", "X86", "::", "RFP64RegClass", "||", "RC", "==", "&", "X86", "::", "RFP80RegClass", ")", ";", "}", ""], "natrual_language": ["isSafeToMoveRegClassDefs", "-", "Return", "true", "if", "it", "'s", "safe", "to", "move", "a", "machine", "instruction", "that", "defines", "the", "specified", "register", "class", "."], "TS_V_token": ["X86", "X86", "X86::CCRRegClass", "X86::DFCCRRegClass", "X86::RFP32RegClass", "X86::RFP64RegClass", "X86::RFP80RegClass"], "File": "X86InstrInfo (2)3", "Func": "isSafeToMoveRegClassDefs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7364, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMConstantIslands", "::", "verify", "(", ")", "{", "assert", "(", "std", "::", "is_sorted", "(", "MF", "->", "begin", "(", ")", ",", "MF", "->", "end", "(", ")", ",", "[", "this", "]", "(", "const", "MachineBasicBlock", "&", "LHS", ",", "const", "MachineBasicBlock", "&", "RHS", ")", "{", "return", "BBInfo", "[", "LHS", ".", "getNumber", "(", ")", "]", ".", "postOffset", "(", ")", "<", "BBInfo", "[", "RHS", ".", "getNumber", "(", ")", "]", ".", "postOffset", "(", ")", ";", "}", ")", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Verifying \"", "<<", "CPUsers", ".", "size", "(", ")", "<<", "\" CP users.\\n\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CPUsers", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CPUser", "&", "U", "=", "CPUsers", "[", "i", "]", ";", "unsigned", "UserOffset", "=", "getUserOffset", "(", "U", ")", ";", "if", "(", "isCPEntryInRange", "(", "U", ".", "MI", ",", "UserOffset", ",", "U", ".", "CPEMI", ",", "U", ".", "getMaxDisp", "(", ")", "+", "2", ",", "U", ".", "NegOk", ",", "true", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"OK\\n\"", ")", ";", "continue", ";", "}", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Out of range.\\n\"", ")", ";", "dumpBBs", "(", ")", ";", "DEBUG", "(", "MF", "->", "dump", "(", ")", ")", ";", "llvm_unreachable", "(", "\"Constant pool entry out of range!\"", ")", ";", "}", "}", ""], "natrual_language": ["Check", "if", "this", "register", "bank", "is", "valid", "."], "TS_V_token": ["ARM", "ARM", "\"Verifying \"", "\" CP users.\\n\"", "0", "2", "\"OK\\n\"", "\"Out of range.\\n\"", "\"Constant pool entry out of range!\""], "File": "ARMConstantIslandPass16", "Func": "verify", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7365, "Length": 199, "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", "::", "LDTILECFG", ")", "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::LDTILECFG"], "File": "X86InstrInfo (2)3", "Func": "isSchedulingBoundary", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7366, "Length": 67, "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": 7367, "Length": 68, "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": 7368, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "shl_and_scr_length", "(", "rtx", "insn", ")", "{", "rtx", "set_src", "=", "SET_SRC", "(", "XVECEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ",", "0", ")", ")", ";", "int", "len", "=", "ashl_lshr_seq", "[", "INTVAL", "(", "XEXP", "(", "set_src", ",", "1", ")", ")", "&", "31", "]", ".", "insn_count", ";", "rtx", "op", "=", "XEXP", "(", "set_src", ",", "0", ")", ";", "len", "+=", "ashl_lshr_seq", "[", "INTVAL", "(", "XEXP", "(", "op", ",", "1", ")", ")", "&", "31", "]", ".", "insn_count", "+", "1", ";", "op", "=", "XEXP", "(", "XEXP", "(", "op", ",", "0", ")", ",", "0", ")", ";", "return", "len", "+", "ashl_lshr_seq", "[", "INTVAL", "(", "XEXP", "(", "op", ",", "1", ")", ")", "&", "31", "]", ".", "insn_count", ";", "}", ""], "natrual_language": ["This", "is", "used", "in", "length", "attribute", "of", "the", "and_shl_scratch", "instruction", "."], "TS_V_token": ["sh", "0", "0", "1", "31", "0", "1", "31", "1", "0", "0", "1", "31"], "File": "sh", "Func": "shl_and_scr_length", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7369, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "pa_reloc_needed", "(", "tree", "exp", ")", "{", "int", "reloc", "=", "0", ";", "switch", "(", "TREE_CODE", "(", "exp", ")", ")", "{", "case", "ADDR_EXPR", ":", "return", "1", ";", "case", "POINTER_PLUS_EXPR", ":", "case", "PLUS_EXPR", ":", "case", "MINUS_EXPR", ":", "reloc", "=", "pa_reloc_needed", "(", "TREE_OPERAND", "(", "exp", ",", "0", ")", ")", ";", "reloc", "|=", "pa_reloc_needed", "(", "TREE_OPERAND", "(", "exp", ",", "1", ")", ")", ";", "break", ";", "CASE_CONVERT", ":", "case", "NON_LVALUE_EXPR", ":", "reloc", "=", "pa_reloc_needed", "(", "TREE_OPERAND", "(", "exp", ",", "0", ")", ")", ";", "break", ";", "case", "CONSTRUCTOR", ":", "{", "tree", "value", ";", "unsigned", "HOST_WIDE_INT", "ix", ";", "FOR_EACH_CONSTRUCTOR_VALUE", "(", "CONSTRUCTOR_ELTS", "(", "exp", ")", ",", "ix", ",", "value", ")", "if", "(", "value", ")", "reloc", "|=", "pa_reloc_needed", "(", "value", ")", ";", "}", "break", ";", "case", "ERROR_MARK", ":", "break", ";", "default", ":", "break", ";", "}", "return", "reloc", ";", "}", ""], "natrual_language": ["Examine", "EXP", "and", "return", "nonzero", "if", "it", "contains", "an", "ADDR_EXPR", "(", "meaning", "it", "will", "need", "a", "link/runtime", "reloc", ")", "."], "TS_V_token": ["pa", "0", "1", "0", "1", "0"], "File": "pa", "Func": "pa_reloc_needed", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7370, "Length": 130, "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", ")", ";", "}", "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", "Mips"], "File": "MipsSEISelLowering15", "Func": "LowerOperation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7371, "Length": 299, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LEGFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "MF", ".", "getFrameInfo", "(", ")", "->", "hasVarSizedObjects", "(", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["LEG", "LEG"], "File": "LEGFrameLowering1", "Func": "hasFP", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7372, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86RegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "bool", "reseveCallFrame", "=", "TFI", "->", "hasReservedCallFrame", "(", "MF", ")", ";", "int", "Opcode", "=", "I", "->", "getOpcode", "(", ")", ";", "bool", "isDestroy", "=", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ";", "DebugLoc", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "uint64_t", "Amount", "=", "!", "reseveCallFrame", "?", "I", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ":", "0", ";", "uint64_t", "CalleeAmt", "=", "isDestroy", "?", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ":", "0", ";", "I", "=", "MBB", ".", "erase", "(", "I", ")", ";", "if", "(", "!", "reseveCallFrame", ")", "{", "if", "(", "Amount", "==", "0", ")", "return", ";", "unsigned", "StackAlign", "=", "TM", ".", "getFrameLowering", "(", ")", "->", "getStackAlignment", "(", ")", ";", "Amount", "=", "(", "Amount", "+", "StackAlign", "-", "1", ")", "/", "StackAlign", "*", "StackAlign", ";", "MachineInstr", "*", "New", "=", "0", ";", "if", "(", "Opcode", "==", "TII", ".", "getCallFrameSetupOpcode", "(", ")", ")", "{", "New", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "getSUBriOpcode", "(", "Is64Bit", ",", "Amount", ")", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ")", ";", "Amount", "-=", "CalleeAmt", ";", "if", "(", "Amount", ")", "{", "unsigned", "Opc", "=", "getADDriOpcode", "(", "Is64Bit", ",", "Amount", ")", ";", "New", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "}", "if", "(", "New", ")", "{", "New", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "return", ";", "}", "if", "(", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", "&&", "CalleeAmt", ")", "{", "unsigned", "Opc", "=", "getSUBriOpcode", "(", "Is64Bit", ",", "CalleeAmt", ")", ";", "MachineInstr", "*", "New", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "CalleeAmt", ")", ";", "New", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "B", "=", "MBB", ".", "begin", "(", ")", ";", "while", "(", "I", "!=", "B", "&&", "!", "llvm", "::", "prior", "(", "I", ")", "->", "isCall", "(", ")", ")", "--", "I", ";", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "}", ""], "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", "1", "0", "3", "3"], "File": "X86RegisterInfo36", "Func": "eliminateCallFramePseudoInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7373, "Length": 410, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "mayBeEmittedAsTailCall", "(", "CallInst", "*", "CI", ")", "const", "{", "auto", "Attr", "=", "CI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getFnAttribute", "(", "\"disable-tail-calls\"", ")", ";", "if", "(", "!", "CI", "->", "isTailCall", "(", ")", "||", "Attr", ".", "getValueAsString", "(", ")", "==", "\"true\"", ")", "return", "false", ";", "CallSite", "CS", "(", "CI", ")", ";", "CallingConv", "::", "ID", "CalleeCC", "=", "CS", ".", "getCallingConv", "(", ")", ";", "if", "(", "!", "mayTailCallThisCC", "(", "CalleeCC", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "may", "be", "able", "emit", "the", "call", "instruction", "as", "a", "tail", "call", "."], "TS_V_token": ["X86", "X86", "\"disable-tail-calls\"", "\"true\""], "File": "X86ISelLowering (2)3", "Func": "mayBeEmittedAsTailCall", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7374, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCDispatchGroupSBHazardRecognizer", "::", "EmitNoop", "(", ")", "{", "unsigned", "Directive", "=", "DAG", "->", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "getDarwinDirective", "(", ")", ";", "if", "(", "Directive", "==", "PPC", "::", "DIR_PWR6", "||", "Directive", "==", "PPC", "::", "DIR_PWR7", "||", "Directive", "==", "PPC", "::", "DIR_PWR8", "||", "Directive", "==", "PPC", "::", "DIR_PWR8", "||", "CurSlots", "==", "6", ")", "{", "CurGroup", ".", "clear", "(", ")", ";", "CurSlots", "=", "CurBranches", "=", "0", ";", "}", "else", "{", "CurGroup", ".", "push_back", "(", "nullptr", ")", ";", "++", "CurSlots", ";", "}", "}", ""], "natrual_language": ["EmitNoop", "-", "This", "callback", "is", "invoked", "when", "a", "noop", "was", "added", "to", "the", "instruction", "stream", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::DIR_PWR6", "PPC::DIR_PWR7", "PPC::DIR_PWR8", "PPC::DIR_PWR8", "6", "0"], "File": "PPCHazardRecognizers22", "Func": "EmitNoop", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7375, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_vector_logical_operator", "(", "enum", "rtx_code", "code", ",", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ")", "{", "rtx", "op1", "=", "NULL_RTX", ",", "op2", "=", "NULL_RTX", ";", "if", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "SUBREG", ")", "{", "op1", "=", "operands", "[", "1", "]", ";", "op2", "=", "operands", "[", "2", "]", ";", "}", "else", "if", "(", "GET_CODE", "(", "operands", "[", "2", "]", ")", "==", "SUBREG", ")", "{", "op1", "=", "operands", "[", "2", "]", ";", "op2", "=", "operands", "[", "1", "]", ";", "}", "if", "(", "op1", "&&", "!", "TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL", "&&", "(", "(", "GET_CODE", "(", "op2", ")", "==", "SUBREG", "||", "GET_CODE", "(", "op2", ")", "==", "CONST_VECTOR", ")", ")", "&&", "GET_MODE_CLASS", "(", "GET_MODE", "(", "SUBREG_REG", "(", "op1", ")", ")", ")", "==", "MODE_VECTOR_FLOAT", "&&", "GET_MODE_SIZE", "(", "GET_MODE", "(", "SUBREG_REG", "(", "op1", ")", ")", ")", "==", "GET_MODE_SIZE", "(", "mode", ")", "&&", "SUBREG_BYTE", "(", "op1", ")", "==", "0", "&&", "(", "GET_CODE", "(", "op2", ")", "==", "CONST_VECTOR", "||", "(", "GET_MODE", "(", "SUBREG_REG", "(", "op1", ")", ")", "==", "GET_MODE", "(", "SUBREG_REG", "(", "op2", ")", ")", "&&", "SUBREG_BYTE", "(", "op2", ")", "==", "0", ")", ")", "&&", "can_create_pseudo_p", "(", ")", ")", "{", "rtx", "dst", ";", "switch", "(", "GET_MODE", "(", "SUBREG_REG", "(", "op1", ")", ")", ")", "{", "case", "V4SFmode", ":", "case", "V8SFmode", ":", "case", "V16SFmode", ":", "case", "V2DFmode", ":", "case", "V4DFmode", ":", "case", "V8DFmode", ":", "dst", "=", "gen_reg_rtx", "(", "GET_MODE", "(", "SUBREG_REG", "(", "op1", ")", ")", ")", ";", "if", "(", "GET_CODE", "(", "op2", ")", "==", "CONST_VECTOR", ")", "{", "op2", "=", "gen_lowpart", "(", "GET_MODE", "(", "dst", ")", ",", "op2", ")", ";", "op2", "=", "force_reg", "(", "GET_MODE", "(", "dst", ")", ",", "op2", ")", ";", "}", "else", "{", "op1", "=", "operands", "[", "1", "]", ";", "op2", "=", "SUBREG_REG", "(", "operands", "[", "2", "]", ")", ";", "if", "(", "!", "nonimmediate_operand", "(", "op2", ",", "GET_MODE", "(", "dst", ")", ")", ")", "op2", "=", "force_reg", "(", "GET_MODE", "(", "dst", ")", ",", "op2", ")", ";", "}", "op1", "=", "SUBREG_REG", "(", "op1", ")", ";", "if", "(", "!", "nonimmediate_operand", "(", "op1", ",", "GET_MODE", "(", "dst", ")", ")", ")", "op1", "=", "force_reg", "(", "GET_MODE", "(", "dst", ")", ",", "op1", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dst", ",", "gen_rtx_fmt_ee", "(", "code", ",", "GET_MODE", "(", "dst", ")", ",", "op1", ",", "op2", ")", ")", ")", ";", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "gen_lowpart", "(", "mode", ",", "dst", ")", ")", ";", "return", ";", "default", ":", "break", ";", "}", "}", "if", "(", "!", "nonimmediate_operand", "(", "operands", "[", "1", "]", ",", "mode", ")", ")", "operands", "[", "1", "]", "=", "force_reg", "(", "mode", ",", "operands", "[", "1", "]", ")", ";", "if", "(", "!", "nonimmediate_operand", "(", "operands", "[", "2", "]", ",", "mode", ")", ")", "operands", "[", "2", "]", "=", "force_reg", "(", "mode", ",", "operands", "[", "2", "]", ")", ";", "ix86_fixup_binary_operands_no_copy", "(", "code", ",", "mode", ",", "operands", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "operands", "[", "0", "]", ",", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "vector", "logical", "operation", "CODE", "(", "AND", ",", "IOR", ",", "XOR", ")", "in", "MODE", "with", "the", "given", "OPERANDS", "."], "TS_V_token": ["i386", "1", "1", "2", "2", "2", "1", "0", "0", "1", "2", "0", "1", "1", "1", "2", "2", "2", "0", "1", "2"], "File": "i3864", "Func": "ix86_expand_vector_logical_operator", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7376, "Length": 482, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "moxie_reg_ok_for_base_p", "(", "const_rtx", "reg", ",", "bool", "strict_p", ")", "{", "int", "regno", "=", "REGNO", "(", "reg", ")", ";", "if", "(", "strict_p", ")", "return", "HARD_REGNO_OK_FOR_BASE_P", "(", "regno", ")", "||", "HARD_REGNO_OK_FOR_BASE_P", "(", "reg_renumber", "[", "regno", "]", ")", ";", "else", "return", "!", "HARD_REGISTER_NUM_P", "(", "regno", ")", "||", "HARD_REGNO_OK_FOR_BASE_P", "(", "regno", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "`", "moxie_legitimate_address_p", "'", "."], "TS_V_token": ["moxie"], "File": "moxie", "Func": "moxie_reg_ok_for_base_p", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7377, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arm_expand_unop_builtin", "(", "enum", "insn_code", "icode", ",", "tree", "exp", ",", "rtx", "target", ",", "int", "do_load", ")", "{", "rtx", "pat", ";", "tree", "arg0", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "rtx", "op0", "=", "expand_normal", "(", "arg0", ")", ";", "rtx", "op1", "=", "NULL_RTX", ";", "machine_mode", "tmode", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "mode", ";", "machine_mode", "mode0", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "mode", ";", "bool", "builtin_sha1h_p", "=", "false", ";", "if", "(", "insn_data", "[", "icode", "]", ".", "n_operands", "==", "3", ")", "{", "gcc_assert", "(", "icode", "==", "CODE_FOR_crypto_sha1h", ")", ";", "builtin_sha1h_p", "=", "true", ";", "}", "if", "(", "!", "target", "||", "GET_MODE", "(", "target", ")", "!=", "tmode", "||", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "predicate", ")", "(", "target", ",", "tmode", ")", ")", "target", "=", "gen_reg_rtx", "(", "tmode", ")", ";", "if", "(", "do_load", ")", "op0", "=", "gen_rtx_MEM", "(", "mode0", ",", "copy_to_mode_reg", "(", "Pmode", ",", "op0", ")", ")", ";", "else", "{", "if", "(", "VECTOR_MODE_P", "(", "mode0", ")", ")", "op0", "=", "safe_vector_operand", "(", "op0", ",", "mode0", ")", ";", "if", "(", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "predicate", ")", "(", "op0", ",", "mode0", ")", ")", "op0", "=", "copy_to_mode_reg", "(", "mode0", ",", "op0", ")", ";", "}", "if", "(", "builtin_sha1h_p", ")", "op1", "=", "GEN_INT", "(", "TARGET_BIG_END", "?", "1", ":", "0", ")", ";", "if", "(", "builtin_sha1h_p", ")", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op0", ",", "op1", ")", ";", "else", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op0", ")", ";", "if", "(", "!", "pat", ")", "return", "0", ";", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Subroutine", "of", "arm_expand_builtin", "to", "take", "care", "of", "unop", "insns", "."], "TS_V_token": ["arm", "0", "0", "1", "3", "0", "1", "1", "0", "0"], "File": "arm-builtins2", "Func": "arm_expand_unop_builtin", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7378, "Length": 275, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "function_expander", "::", "generate_insn", "(", "insn_code", "icode", ")", "{", "expand_insn", "(", "icode", ",", "m_ops", ".", "length", "(", ")", ",", "m_ops", ".", "address", "(", ")", ")", ";", "return", "function_returns_void_p", "(", ")", "?", "const0_rtx", ":", "m_ops", "[", "0", "]", ".", "value", ";", "}", ""], "natrual_language": ["Generate", "instruction", "ICODE", ",", "given", "that", "its", "operands", "have", "already", "been", "added", "to", "M_OPS", ".", "Return", "the", "value", "of", "the", "first", "operand", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64-sve-builtins", "Func": "generate_insn", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7379, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SystemZTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "ZERO_EXTEND", ":", "return", "combineZERO_EXTEND", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "return", "combineSIGN_EXTEND", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SIGN_EXTEND_INREG", ":", "return", "combineSIGN_EXTEND_INREG", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "MERGE_HIGH", ":", "case", "SystemZISD", "::", "MERGE_LOW", ":", "return", "combineMERGE", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "combineLOAD", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "combineSTORE", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "VECTOR_SHUFFLE", ":", "return", "combineVECTOR_SHUFFLE", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "EXTRACT_VECTOR_ELT", ":", "return", "combineEXTRACT_VECTOR_ELT", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "JOIN_DWORDS", ":", "return", "combineJOIN_DWORDS", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "STRICT_FP_ROUND", ":", "case", "ISD", "::", "FP_ROUND", ":", "return", "combineFP_ROUND", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "STRICT_FP_EXTEND", ":", "case", "ISD", "::", "FP_EXTEND", ":", "return", "combineFP_EXTEND", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SINT_TO_FP", ":", "case", "ISD", "::", "UINT_TO_FP", ":", "return", "combineINT_TO_FP", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "BSWAP", ":", "return", "combineBSWAP", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "BR_CCMASK", ":", "return", "combineBR_CCMASK", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "SELECT_CCMASK", ":", "return", "combineSELECT_CCMASK", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "GET_CCMASK", ":", "return", "combineGET_CCMASK", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SDIV", ":", "case", "ISD", "::", "UDIV", ":", "case", "ISD", "::", "SREM", ":", "case", "ISD", "::", "UREM", ":", "return", "combineIntDIVREM", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "case", "ISD", "::", "INTRINSIC_VOID", ":", "return", "combineINTRINSIC", "(", "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": ["SystemZ", "SystemZ", "ISD::ZERO_EXTEND", "ISD::SIGN_EXTEND", "ISD::SIGN_EXTEND_INREG", "SystemZISD::MERGE_HIGH", "SystemZISD::MERGE_LOW", "ISD::LOAD", "ISD::STORE", "ISD::VECTOR_SHUFFLE", "ISD::EXTRACT_VECTOR_ELT", "SystemZISD::JOIN_DWORDS", "ISD::STRICT_FP_ROUND", "ISD::FP_ROUND", "ISD::STRICT_FP_EXTEND", "ISD::FP_EXTEND", "ISD::SINT_TO_FP", "ISD::UINT_TO_FP", "ISD::BSWAP", "SystemZISD::BR_CCMASK", "SystemZISD::SELECT_CCMASK", "SystemZISD::GET_CCMASK", "ISD::SDIV", "ISD::UDIV", "ISD::SREM", "ISD::UREM", "ISD::INTRINSIC_W_CHAIN", "ISD::INTRINSIC_VOID"], "File": "SystemZISelLowering (2)2", "Func": "PerformDAGCombine", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7380, "Length": 309, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "num_insns_constant_gpr", "(", "HOST_WIDE_INT", "value", ")", "{", "if", "(", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "value", "+", "0x8000", ")", "<", "0x10000", ")", "return", "1", ";", "else", "if", "(", "(", "value", "&", "0xffff", ")", "==", "0", "&&", "(", "value", ">>", "31", "==", "-", "1", "||", "value", ">>", "31", "==", "0", ")", ")", "return", "1", ";", "else", "if", "(", "TARGET_POWERPC64", ")", "{", "HOST_WIDE_INT", "low", "=", "(", "(", "value", "&", "0xffffffff", ")", "^", "0x80000000", ")", "-", "0x80000000", ";", "HOST_WIDE_INT", "high", "=", "value", ">>", "31", ";", "if", "(", "high", "==", "0", "||", "high", "==", "-", "1", ")", "return", "2", ";", "high", ">>=", "1", ";", "if", "(", "low", "==", "0", ")", "return", "num_insns_constant_gpr", "(", "high", ")", "+", "1", ";", "else", "if", "(", "high", "==", "0", ")", "return", "num_insns_constant_gpr", "(", "low", ")", "+", "1", ";", "else", "return", "(", "num_insns_constant_gpr", "(", "high", ")", "+", "num_insns_constant_gpr", "(", "low", ")", "+", "1", ")", ";", "}", "else", "return", "2", ";", "}", ""], "natrual_language": ["Helper", "for", "num_insns_constant", ".", "Calculate", "number", "of", "instructions", "to", "load", "VALUE", "to", "a", "single", "gpr", "using", "combinations", "of", "addi", ",", "addis", ",", "ori", ",", "oris", ",", "sldi", "and", "rldimi", "instructions", "."], "TS_V_token": ["rs6000", "0x8000", "0x10000", "1", "0xffff", "0", "31", "1", "31", "0", "1", "0xffffffff", "0x80000000", "0x80000000", "31", "0", "1", "2", "1", "0", "1", "0", "1", "1", "2"], "File": "rs60008", "Func": "num_insns_constant_gpr", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7381, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ArrayRef", "<", "MCPhysReg", ">", "Cpu0ABIInfo", "::", "GetByValArgRegs", "(", ")", "const", "{", "if", "(", "IsO32", "(", ")", ")", "return", "makeArrayRef", "(", "O32IntRegs", ")", ";", "if", "(", "IsS32", "(", ")", ")", "return", "makeArrayRef", "(", "S32IntRegs", ")", ";", "llvm_unreachable", "(", "\"Unhandled ABI\"", ")", ";", "}", ""], "natrual_language": ["The", "registers", "to", "use", "for", "byval", "arguments", "."], "TS_V_token": ["Cpu0", "Cpu0", "\"Unhandled ABI\""], "File": "Cpu0ABIInfo", "Func": "GetByValArgRegs", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7382, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "ARMBaseInstrInfo", "::", "duplicate", "(", "MachineInstr", "*", "Orig", ",", "MachineFunction", "&", "MF", ")", "const", "{", "MachineInstr", "*", "MI", "=", "TargetInstrInfoImpl", "::", "duplicate", "(", "Orig", ",", "MF", ")", ";", "switch", "(", "Orig", "->", "getOpcode", "(", ")", ")", "{", "case", "ARM", "::", "tLDRpci_pic", ":", "case", "ARM", "::", "t2LDRpci_pic", ":", "{", "unsigned", "CPI", "=", "Orig", "->", "getOperand", "(", "1", ")", ".", "getIndex", "(", ")", ";", "unsigned", "PCLabelId", "=", "duplicateCPV", "(", "MF", ",", "CPI", ")", ";", "Orig", "->", "getOperand", "(", "1", ")", ".", "setIndex", "(", "CPI", ")", ";", "Orig", "->", "getOperand", "(", "2", ")", ".", "setImm", "(", "PCLabelId", ")", ";", "break", ";", "}", "}", "return", "MI", ";", "}", ""], "natrual_language": ["Clones", "instruction", "or", "the", "whole", "instruction", "bundle", "Orig", "and", "insert", "into", "MBB", "before", "InsertBefore", "."], "TS_V_token": ["ARM", "ARM", "ARM::tLDRpci_pic", "ARM::t2LDRpci_pic", "1", "1", "2"], "File": "ARMBaseInstrInfo (2)4", "Func": "duplicate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7383, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "MipsFrameLowering", "::", "estimateStackSize", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterInfo", "&", "TRI", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "int64_t", "Offset", "=", "0", ";", "for", "(", "int", "I", "=", "MFI", "->", "getObjectIndexBegin", "(", ")", ";", "I", "!=", "0", ";", "++", "I", ")", "Offset", "=", "std", "::", "max", "(", "Offset", ",", "-", "MFI", "->", "getObjectOffset", "(", "I", ")", ")", ";", "for", "(", "const", "MCPhysReg", "*", "R", "=", "TRI", ".", "getCalleeSavedRegs", "(", "&", "MF", ")", ";", "*", "R", ";", "++", "R", ")", "{", "unsigned", "Size", "=", "TRI", ".", "getMinimalPhysRegClass", "(", "*", "R", ")", "->", "getSize", "(", ")", ";", "Offset", "=", "RoundUpToAlignment", "(", "Offset", "+", "Size", ",", "Size", ")", ";", "}", "unsigned", "MaxAlign", "=", "MFI", "->", "getMaxAlignment", "(", ")", ";", "assert", "(", "!", "MFI", "->", "getObjectIndexEnd", "(", ")", "||", "MaxAlign", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "MFI", "->", "getObjectIndexEnd", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Offset", "=", "RoundUpToAlignment", "(", "Offset", "+", "MFI", "->", "getObjectSize", "(", "I", ")", ",", "MaxAlign", ")", ";", "if", "(", "MFI", "->", "adjustsStack", "(", ")", "&&", "hasReservedCallFrame", "(", "MF", ")", ")", "Offset", "=", "RoundUpToAlignment", "(", "Offset", "+", "MFI", "->", "getMaxCallFrameSize", "(", ")", ",", "std", "::", "max", "(", "MaxAlign", ",", "getStackAlignment", "(", ")", ")", ")", ";", "return", "RoundUpToAlignment", "(", "Offset", ",", "getStackAlignment", "(", ")", ")", ";", "}", ""], "natrual_language": ["Estimate", "and", "return", "the", "size", "of", "the", "stack", "frame", "."], "TS_V_token": ["Mips", "Mips", "0", "0", "0"], "File": "MipsFrameLowering", "Func": "estimateStackSize", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7384, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FastISel", "*", "PPC", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "FuncInfo", ",", "const", "TargetLibraryInfo", "*", "LibInfo", ")", "{", "const", "TargetMachine", "&", "TM", "=", "FuncInfo", ".", "MF", "->", "getTarget", "(", ")", ";", "const", "PPCSubtarget", "*", "Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "if", "(", "Subtarget", "->", "isPPC64", "(", ")", "&&", "Subtarget", "->", "isSVR4ABI", "(", ")", ")", "return", "new", "PPCFastISel", "(", "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": ["PowerPC", "PPC::createFastISel", "PPC", "PPC", "PPC", "PPC", "0"], "File": "PPCFastISel14", "Func": "createFastISel", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7385, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "override", "{", "if", "(", "Count", "==", "0", ")", "{", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["LC3", "0"], "File": "LC3AsmBackend", "Func": "writeNopData", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7386, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "PPCRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "if", "(", "MF", "->", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AnyReg", ")", "{", "if", "(", "Subtarget", ".", "hasVSX", "(", ")", ")", "return", "CSR_64_AllRegs_VSX_SaveList", ";", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "CSR_64_AllRegs_Altivec_SaveList", ";", "return", "CSR_64_AllRegs_SaveList", ";", "}", "if", "(", "Subtarget", ".", "isDarwinABI", "(", ")", ")", "return", "Subtarget", ".", "isPPC64", "(", ")", "?", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_Darwin64_Altivec_SaveList", ":", "CSR_Darwin64_SaveList", ")", ":", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_Darwin32_Altivec_SaveList", ":", "CSR_Darwin32_SaveList", ")", ";", "bool", "SaveR2", "=", "MF", "->", "getRegInfo", "(", ")", ".", "isAllocatable", "(", "PPC", "::", "X2", ")", ";", "return", "Subtarget", ".", "isPPC64", "(", ")", "?", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "(", "SaveR2", "?", "CSR_SVR464_R2_Altivec_SaveList", ":", "CSR_SVR464_Altivec_SaveList", ")", ":", "(", "SaveR2", "?", "CSR_SVR464_R2_SaveList", ":", "CSR_SVR464_SaveList", ")", ")", ":", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_SVR432_Altivec_SaveList", ":", "CSR_SVR432_SaveList", ")", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::X2", "PPC"], "File": "PPCRegisterInfo22", "Func": "getCalleeSavedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7387, "Length": 156, "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", "(", "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": "i386", "Func": "x86_emit_floatuns", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7388, "Length": 231, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_simd_expand_builtin", "(", "int", "fcode", ",", "tree", "exp", ",", "rtx", "target", ")", "{", "if", "(", "fcode", "==", "AARCH64_SIMD_BUILTIN_LANE_CHECK", ")", "{", "rtx", "totalsize", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ")", ";", "rtx", "elementsize", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "1", ")", ")", ";", "if", "(", "CONST_INT_P", "(", "totalsize", ")", "&&", "CONST_INT_P", "(", "elementsize", ")", "&&", "UINTVAL", "(", "elementsize", ")", "!=", "0", "&&", "UINTVAL", "(", "totalsize", ")", "!=", "0", ")", "{", "rtx", "lane_idx", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "2", ")", ")", ";", "if", "(", "CONST_INT_P", "(", "lane_idx", ")", ")", "aarch64_simd_lane_bounds", "(", "lane_idx", ",", "0", ",", "UINTVAL", "(", "totalsize", ")", "/", "UINTVAL", "(", "elementsize", ")", ",", "exp", ")", ";", "else", "error", "(", "\"%Klane index must be a constant immediate\"", ",", "exp", ")", ";", "}", "else", "error", "(", "\"%Ktotal size and element size must be a non-zero constant immediate\"", ",", "exp", ")", ";", "return", "const0_rtx", ";", "}", "aarch64_simd_builtin_datum", "*", "d", "=", "&", "aarch64_simd_builtin_data", "[", "fcode", "-", "AARCH64_SIMD_PATTERN_START", "]", ";", "enum", "insn_code", "icode", "=", "d", "->", "code", ";", "builtin_simd_arg", "args", "[", "SIMD_MAX_BUILTIN_ARGS", "+", "1", "]", ";", "int", "num_args", "=", "insn_data", "[", "d", "->", "code", "]", ".", "n_operands", ";", "int", "is_void", "=", "0", ";", "int", "k", ";", "is_void", "=", "!", "!", "(", "d", "->", "qualifiers", "[", "0", "]", "&", "qualifier_void", ")", ";", "num_args", "+=", "is_void", ";", "for", "(", "k", "=", "1", ";", "k", "<", "num_args", ";", "k", "++", ")", "{", "int", "qualifiers_k", "=", "k", ";", "int", "operands_k", "=", "k", "-", "is_void", ";", "int", "expr_args_k", "=", "k", "-", "1", ";", "if", "(", "d", "->", "qualifiers", "[", "qualifiers_k", "]", "&", "qualifier_lane_index", ")", "args", "[", "k", "]", "=", "SIMD_ARG_LANE_INDEX", ";", "else", "if", "(", "d", "->", "qualifiers", "[", "qualifiers_k", "]", "&", "qualifier_lane_pair_index", ")", "args", "[", "k", "]", "=", "SIMD_ARG_LANE_PAIR_INDEX", ";", "else", "if", "(", "d", "->", "qualifiers", "[", "qualifiers_k", "]", "&", "qualifier_struct_load_store_lane_index", ")", "args", "[", "k", "]", "=", "SIMD_ARG_STRUCT_LOAD_STORE_LANE_INDEX", ";", "else", "if", "(", "d", "->", "qualifiers", "[", "qualifiers_k", "]", "&", "qualifier_immediate", ")", "args", "[", "k", "]", "=", "SIMD_ARG_CONSTANT", ";", "else", "if", "(", "d", "->", "qualifiers", "[", "qualifiers_k", "]", "&", "qualifier_maybe_immediate", ")", "{", "rtx", "arg", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "(", "expr_args_k", ")", ")", ")", ";", "bool", "op_const_int_p", "=", "(", "CONST_INT_P", "(", "arg", ")", "&&", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "operands_k", "]", ".", "predicate", ")", "(", "arg", ",", "insn_data", "[", "icode", "]", ".", "operand", "[", "operands_k", "]", ".", "mode", ")", ")", ";", "args", "[", "k", "]", "=", "op_const_int_p", "?", "SIMD_ARG_CONSTANT", ":", "SIMD_ARG_COPY_TO_REG", ";", "}", "else", "args", "[", "k", "]", "=", "SIMD_ARG_COPY_TO_REG", ";", "}", "args", "[", "k", "]", "=", "SIMD_ARG_STOP", ";", "return", "aarch64_simd_expand_args", "(", "target", ",", "icode", ",", "!", "is_void", ",", "exp", ",", "&", "args", "[", "1", "]", ",", "d", "->", "mode", ")", ";", "}", ""], "natrual_language": ["Expand", "an", "AArch64", "AdvSIMD", "builtin", "(", "intrinsic", ")", "."], "TS_V_token": ["aarch64", "0", "1", "0", "0", "2", "0", "\"%Klane index must be a constant immediate\"", "\"%Ktotal size and element size must be a non-zero constant immediate\"", "1", "0", "0", "1", "1", "1"], "File": "aarch64-builtins6", "Func": "aarch64_simd_expand_builtin", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7389, "Length": 428, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "emit_fusion_gpr_load", "(", "rtx", "target", ",", "rtx", "mem", ")", "{", "rtx", "addis_value", ";", "rtx", "addr", ";", "rtx", "load_offset", ";", "const", "char", "*", "load_str", "=", "NULL", ";", "const", "char", "*", "mode_name", "=", "NULL", ";", "machine_mode", "mode", ";", "if", "(", "GET_CODE", "(", "mem", ")", "==", "ZERO_EXTEND", ")", "mem", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "gcc_assert", "(", "REG_P", "(", "target", ")", "&&", "MEM_P", "(", "mem", ")", ")", ";", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "fusion_split_address", "(", "addr", ",", "&", "addis_value", ",", "&", "load_offset", ")", ";", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "switch", "(", "mode", ")", "{", "case", "QImode", ":", "mode_name", "=", "\"char\"", ";", "load_str", "=", "\"lbz\"", ";", "break", ";", "case", "HImode", ":", "mode_name", "=", "\"short\"", ";", "load_str", "=", "\"lhz\"", ";", "break", ";", "case", "SImode", ":", "case", "SFmode", ":", "mode_name", "=", "(", "mode", "==", "SFmode", ")", "?", "\"float\"", ":", "\"int\"", ";", "load_str", "=", "\"lwz\"", ";", "break", ";", "case", "DImode", ":", "case", "DFmode", ":", "gcc_assert", "(", "TARGET_POWERPC64", ")", ";", "mode_name", "=", "(", "mode", "==", "DFmode", ")", "?", "\"double\"", ":", "\"long\"", ";", "load_str", "=", "\"ld\"", ";", "break", ";", "default", ":", "fatal_insn", "(", "\"Bad GPR fusion\"", ",", "gen_rtx_SET", "(", "target", ",", "mem", ")", ")", ";", "}", "emit_fusion_addis", "(", "target", ",", "addis_value", ",", "\"gpr load fusion\"", ",", "mode_name", ")", ";", "emit_fusion_load_store", "(", "target", ",", "target", ",", "load_offset", ",", "load_str", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Return", "a", "string", "to", "fuse", "an", "addis", "instruction", "with", "a", "gpr", "load", "to", "the", "same", "register", "that", "we", "loaded", "up", "the", "addis", "instruction", ".", "The", "address", "that", "is", "used", "is", "the", "logical", "address", "that", "was", "formed", "during", "peephole2", ":", "(", "lo_sum", "(", "high", ")", "(", "low-part", ")", ")", "The", "code", "is", "complicated", ",", "so", "we", "call", "output_asm_insn", "directly", ",", "and", "just", "return", "``", "''", "."], "TS_V_token": ["rs6000", "0", "0", "\"char\"", "\"lbz\"", "\"short\"", "\"lhz\"", "\"float\"", "\"int\"", "\"lwz\"", "\"double\"", "\"long\"", "\"ld\"", "\"Bad GPR fusion\"", "\"gpr load fusion\"", "\"\""], "File": "rs60005", "Func": "emit_fusion_gpr_load", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7390, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "X86TTIImpl", "::", "getGatherScatterOpCost", "(", "unsigned", "Opcode", ",", "Type", "*", "SrcVTy", ",", "const", "Value", "*", "Ptr", ",", "bool", "VariableMask", ",", "Align", "Alignment", ",", "TTI", "::", "TargetCostKind", "CostKind", ",", "const", "Instruction", "*", "I", "=", "nullptr", ")", "{", "if", "(", "CostKind", "!=", "TTI", "::", "TCK_RecipThroughput", ")", "{", "if", "(", "(", "Opcode", "==", "Instruction", "::", "Load", "&&", "isLegalMaskedGather", "(", "SrcVTy", ",", "Align", "(", "Alignment", ")", ")", ")", "||", "(", "Opcode", "==", "Instruction", "::", "Store", "&&", "isLegalMaskedScatter", "(", "SrcVTy", ",", "Align", "(", "Alignment", ")", ")", ")", ")", "return", "1", ";", "return", "BaseT", "::", "getGatherScatterOpCost", "(", "Opcode", ",", "SrcVTy", ",", "Ptr", ",", "VariableMask", ",", "Alignment", ",", "CostKind", ",", "I", ")", ";", "}", "assert", "(", "SrcVTy", "->", "isVectorTy", "(", ")", "&&", "\"Unexpected data type for Gather/Scatter\"", ")", ";", "PointerType", "*", "PtrTy", "=", "dyn_cast", "<", "PointerType", ">", "(", "Ptr", "->", "getType", "(", ")", ")", ";", "if", "(", "!", "PtrTy", "&&", "Ptr", "->", "getType", "(", ")", "->", "isVectorTy", "(", ")", ")", "PtrTy", "=", "dyn_cast", "<", "PointerType", ">", "(", "cast", "<", "VectorType", ">", "(", "Ptr", "->", "getType", "(", ")", ")", "->", "getElementType", "(", ")", ")", ";", "assert", "(", "PtrTy", "&&", "\"Unexpected type for Ptr argument\"", ")", ";", "unsigned", "AddressSpace", "=", "PtrTy", "->", "getAddressSpace", "(", ")", ";", "if", "(", "(", "Opcode", "==", "Instruction", "::", "Load", "&&", "!", "isLegalMaskedGather", "(", "SrcVTy", ",", "Align", "(", "Alignment", ")", ")", ")", "||", "(", "Opcode", "==", "Instruction", "::", "Store", "&&", "!", "isLegalMaskedScatter", "(", "SrcVTy", ",", "Align", "(", "Alignment", ")", ")", ")", ")", "return", "getGSScalarCost", "(", "Opcode", ",", "SrcVTy", ",", "VariableMask", ",", "Alignment", ",", "AddressSpace", ")", ";", "return", "getGSVectorCost", "(", "Opcode", ",", "SrcVTy", ",", "Ptr", ",", "Alignment", ",", "AddressSpace", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "Gather", "/", "Scatter", "operation", "."], "TS_V_token": ["X86", "X86", "1", "\"Unexpected data type for Gather/Scatter\"", "\"Unexpected type for Ptr argument\""], "File": "X86TargetTransformInfo (2)1", "Func": "getGatherScatterOpCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7391, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Emitter", "<", "CodeEmitter", ">", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "MMI", "=", "&", "getAnalysis", "<", "MachineModuleInfo", ">", "(", ")", ";", "MCE", ".", "setModuleInfo", "(", "MMI", ")", ";", "II", "=", "TM", ".", "getInstrInfo", "(", ")", ";", "TD", "=", "TM", ".", "getTargetData", "(", ")", ";", "Is64BitMode", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ";", "IsPIC", "=", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ";", "do", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"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", "::", "iterator", "I", "=", "MBB", "->", "begin", "(", ")", ",", "E", "=", "MBB", "->", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "const", "MCInstrDesc", "&", "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": "X86CodeEmitter23", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7392, "Length": 232, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_set_default_type_attributes", "(", "tree", "type", ")", "{", "if", "(", "rs6000_default_long_calls", "&&", "(", "TREE_CODE", "(", "type", ")", "==", "FUNCTION_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "METHOD_TYPE", ")", ")", "TYPE_ATTRIBUTES", "(", "type", ")", "=", "tree_cons", "(", "get_identifier", "(", "\"longcall\"", ")", ",", "NULL_TREE", ",", "TYPE_ATTRIBUTES", "(", "type", ")", ")", ";", "}", ""], "natrual_language": ["Set", "longcall", "attributes", "on", "all", "functions", "declared", "when", "rs6000_default_long_calls", "is", "true", "."], "TS_V_token": ["rs6000", "\"longcall\""], "File": "rs60003", "Func": "rs6000_set_default_type_attributes", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7393, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "rs6000_function_value", "(", "tree", "valtype", ",", "tree", "func", "ATTRIBUTE_UNUSED", ")", "{", "enum", "machine_mode", "mode", ";", "unsigned", "int", "regno", ";", "if", "(", "rs6000_darwin64_abi", "&&", "TYPE_MODE", "(", "valtype", ")", "==", "BLKmode", "&&", "TREE_CODE", "(", "valtype", ")", "==", "RECORD_TYPE", "&&", "int_size_in_bytes", "(", "valtype", ")", ">", "0", ")", "{", "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", ",", "1", ",", "true", ")", ";", "if", "(", "valret", ")", "return", "valret", ";", "}", "if", "(", "TARGET_32BIT", "&&", "TARGET_POWERPC64", "&&", "TYPE_MODE", "(", "valtype", ")", "==", "DImode", ")", "{", "return", "gen_rtx_PARALLEL", "(", "DImode", ",", "gen_rtvec", "(", "2", ",", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "SImode", ",", "GP_ARG_RETURN", ")", ",", "const0_rtx", ")", ",", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "SImode", ",", "GP_ARG_RETURN", "+", "1", ")", ",", "GEN_INT", "(", "4", ")", ")", ")", ")", ";", "}", "if", "(", "TARGET_32BIT", "&&", "TARGET_POWERPC64", "&&", "TYPE_MODE", "(", "valtype", ")", "==", "DCmode", ")", "{", "return", "gen_rtx_PARALLEL", "(", "DCmode", ",", "gen_rtvec", "(", "4", ",", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "SImode", ",", "GP_ARG_RETURN", ")", ",", "const0_rtx", ")", ",", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "SImode", ",", "GP_ARG_RETURN", "+", "1", ")", ",", "GEN_INT", "(", "4", ")", ")", ",", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "SImode", ",", "GP_ARG_RETURN", "+", "2", ")", ",", "GEN_INT", "(", "8", ")", ")", ",", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "SImode", ",", "GP_ARG_RETURN", "+", "3", ")", ",", "GEN_INT", "(", "12", ")", ")", ")", ")", ";", "}", "if", "(", "(", "INTEGRAL_TYPE_P", "(", "valtype", ")", "&&", "TYPE_PRECISION", "(", "valtype", ")", "<", "BITS_PER_WORD", ")", "||", "POINTER_TYPE_P", "(", "valtype", ")", ")", "mode", "=", "TARGET_32BIT", "?", "SImode", ":", "DImode", ";", "else", "mode", "=", "TYPE_MODE", "(", "valtype", ")", ";", "if", "(", "SCALAR_FLOAT_TYPE_P", "(", "valtype", ")", "&&", "TARGET_HARD_FLOAT", "&&", "TARGET_FPRS", ")", "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", "&&", "TARGET_ALTIVEC", "&&", "TARGET_ALTIVEC_ABI", "&&", "ALTIVEC_VECTOR_MODE", "(", "mode", ")", ")", "regno", "=", "ALTIVEC_ARG_RETURN", ";", "else", "if", "(", "TARGET_E500_DOUBLE", "&&", "TARGET_HARD_FLOAT", "&&", "(", "mode", "==", "DFmode", "||", "mode", "==", "DCmode", ")", ")", "return", "spe_build_register_parallel", "(", "mode", ",", "GP_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", "0", "1", "2", "1", "4", "4", "1", "4", "2", "8", "3", "12"], "File": "rs60003", "Func": "rs6000_function_value", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7394, "Length": 383, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMAsmPrinter", "::", "emitMachineConstantPoolValue", "(", "MachineConstantPoolValue", "*", "MCPV", ")", "{", "const", "DataLayout", "&", "DL", "=", "getDataLayout", "(", ")", ";", "int", "Size", "=", "DL", ".", "getTypeAllocSize", "(", "MCPV", "->", "getType", "(", ")", ")", ";", "ARMConstantPoolValue", "*", "ACPV", "=", "static_cast", "<", "ARMConstantPoolValue", "*", ">", "(", "MCPV", ")", ";", "if", "(", "ACPV", "->", "isPromotedGlobal", "(", ")", ")", "{", "auto", "*", "ACPC", "=", "cast", "<", "ARMConstantPoolConstant", ">", "(", "ACPV", ")", ";", "for", "(", "const", "auto", "*", "GV", ":", "ACPC", "->", "promotedGlobals", "(", ")", ")", "{", "if", "(", "!", "EmittedPromotedGlobalLabels", ".", "count", "(", "GV", ")", ")", "{", "MCSymbol", "*", "GVSym", "=", "getSymbol", "(", "GV", ")", ";", "OutStreamer", "->", "emitLabel", "(", "GVSym", ")", ";", "EmittedPromotedGlobalLabels", ".", "insert", "(", "GV", ")", ";", "}", "}", "return", "emitGlobalConstant", "(", "DL", ",", "ACPC", "->", "getPromotedGlobalInit", "(", ")", ")", ";", "}", "MCSymbol", "*", "MCSym", ";", "if", "(", "ACPV", "->", "isLSDA", "(", ")", ")", "{", "MCSym", "=", "getMBBExceptionSym", "(", "MF", "->", "front", "(", ")", ")", ";", "}", "else", "if", "(", "ACPV", "->", "isBlockAddress", "(", ")", ")", "{", "const", "BlockAddress", "*", "BA", "=", "cast", "<", "ARMConstantPoolConstant", ">", "(", "ACPV", ")", "->", "getBlockAddress", "(", ")", ";", "MCSym", "=", "GetBlockAddressSymbol", "(", "BA", ")", ";", "}", "else", "if", "(", "ACPV", "->", "isGlobalValue", "(", ")", ")", "{", "const", "GlobalValue", "*", "GV", "=", "cast", "<", "ARMConstantPoolConstant", ">", "(", "ACPV", ")", "->", "getGV", "(", ")", ";", "unsigned", "char", "TF", "=", "Subtarget", "->", "isTargetMachO", "(", ")", "?", "ARMII", "::", "MO_NONLAZY", ":", "0", ";", "MCSym", "=", "GetARMGVSymbol", "(", "GV", ",", "TF", ")", ";", "}", "else", "if", "(", "ACPV", "->", "isMachineBasicBlock", "(", ")", ")", "{", "const", "MachineBasicBlock", "*", "MBB", "=", "cast", "<", "ARMConstantPoolMBB", ">", "(", "ACPV", ")", "->", "getMBB", "(", ")", ";", "MCSym", "=", "MBB", "->", "getSymbol", "(", ")", ";", "}", "else", "{", "assert", "(", "ACPV", "->", "isExtSymbol", "(", ")", "&&", "\"unrecognized constant pool value\"", ")", ";", "auto", "Sym", "=", "cast", "<", "ARMConstantPoolSymbol", ">", "(", "ACPV", ")", "->", "getSymbol", "(", ")", ";", "MCSym", "=", "GetExternalSymbolSymbol", "(", "Sym", ")", ";", "}", "const", "MCExpr", "*", "Expr", "=", "MCSymbolRefExpr", "::", "create", "(", "MCSym", ",", "getModifierVariantKind", "(", "ACPV", "->", "getModifier", "(", ")", ")", ",", "OutContext", ")", ";", "if", "(", "ACPV", "->", "getPCAdjustment", "(", ")", ")", "{", "MCSymbol", "*", "PCLabel", "=", "getPICLabel", "(", "DL", ".", "getPrivateGlobalPrefix", "(", ")", ",", "getFunctionNumber", "(", ")", ",", "ACPV", "->", "getLabelId", "(", ")", ",", "OutContext", ")", ";", "const", "MCExpr", "*", "PCRelExpr", "=", "MCSymbolRefExpr", "::", "create", "(", "PCLabel", ",", "OutContext", ")", ";", "PCRelExpr", "=", "MCBinaryExpr", "::", "createAdd", "(", "PCRelExpr", ",", "MCConstantExpr", "::", "create", "(", "ACPV", "->", "getPCAdjustment", "(", ")", ",", "OutContext", ")", ",", "OutContext", ")", ";", "if", "(", "ACPV", "->", "mustAddCurrentAddress", "(", ")", ")", "{", "MCSymbol", "*", "DotSym", "=", "OutContext", ".", "createTempSymbol", "(", ")", ";", "OutStreamer", "->", "emitLabel", "(", "DotSym", ")", ";", "const", "MCExpr", "*", "DotExpr", "=", "MCSymbolRefExpr", "::", "create", "(", "DotSym", ",", "OutContext", ")", ";", "PCRelExpr", "=", "MCBinaryExpr", "::", "createSub", "(", "PCRelExpr", ",", "DotExpr", ",", "OutContext", ")", ";", "}", "Expr", "=", "MCBinaryExpr", "::", "createSub", "(", "Expr", ",", "PCRelExpr", ",", "OutContext", ")", ";", "}", "OutStreamer", "->", "emitValue", "(", "Expr", ",", "Size", ")", ";", "}", ""], "natrual_language": ["EmitMachineConstantPoolValue", "-", "Print", "a", "machine", "constantpool", "value", "to", "the", ".s", "file", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARMII::MO_NONLAZY", "0", "ARM", "ARM", "\"unrecognized constant pool value\"", "ARM"], "File": "ARMAsmPrinter", "Func": "emitMachineConstantPoolValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7395, "Length": 488, "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", ")", "{", "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", ";", "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": "X86AsmParser124", "Func": "CreateMem", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7396, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0InstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "O", ")", ")", "printInstruction", "(", "MI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["Cpu0", "Cpu0"], "File": "Cpu0InstPrinter", "Func": "printInst", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7397, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"MipsPostLegalizerCombiner\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"MipsPostLegalizerCombiner\""], "File": "MipsPostLegalizerCombiner", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7398, "Length": 11, "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", ";", "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": ["ARM", "ARM", "4", "8", "\"Branch of destination BB#\"", "\" from BB#\"", "\" max delta=\"", "\" from \"", "\" to \"", "\" offset \"", "\"\\t\""], "File": "ARMConstantIslandPass (2)1", "Func": "isBBInRange", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7399, "Length": 143, "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": 7400, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "aarch64_svpattern", "aarch64_svpattern_for_vl", "(", "machine_mode", "pred_mode", ",", "int", "vl", ")", "{", "if", "(", "vl", "<", "0", ")", "return", "AARCH64_SV_ALL", ";", "if", "(", "maybe_gt", "(", "vl", ",", "GET_MODE_NUNITS", "(", "pred_mode", ")", ")", ")", "return", "AARCH64_NUM_SVPATTERNS", ";", "if", "(", "vl", ">=", "1", "&&", "vl", "<=", "8", ")", "return", "aarch64_svpattern", "(", "AARCH64_SV_VL1", "+", "(", "vl", "-", "1", ")", ")", ";", "if", "(", "vl", ">=", "16", "&&", "vl", "<=", "256", "&&", "pow2p_hwi", "(", "vl", ")", ")", "return", "aarch64_svpattern", "(", "AARCH64_SV_VL16", "+", "(", "exact_log2", "(", "vl", ")", "-", "4", ")", ")", ";", "int", "max_vl", ";", "if", "(", "GET_MODE_NUNITS", "(", "pred_mode", ")", ".", "is_constant", "(", "&", "max_vl", ")", ")", "{", "if", "(", "vl", "==", "(", "max_vl", "/", "3", ")", "*", "3", ")", "return", "AARCH64_SV_MUL3", ";", "if", "(", "vl", "==", "(", "max_vl", "&", "-", "4", ")", ")", "return", "AARCH64_SV_MUL4", ";", "if", "(", "vl", "==", "(", "1", "<<", "floor_log2", "(", "max_vl", ")", ")", ")", "return", "AARCH64_SV_POW2", ";", "if", "(", "vl", "==", "max_vl", ")", "return", "AARCH64_SV_ALL", ";", "}", "return", "AARCH64_NUM_SVPATTERNS", ";", "}", ""], "natrual_language": ["See", "if", "there", "is", "an", "svpattern", "that", "encodes", "an", "SVE", "predicate", "of", "mode", "PRED_MODE", "in", "which", "the", "first", "VL", "bits", "are", "set", "and", "the", "rest", "are", "clear", ".", "Return", "the", "pattern", "if", "so", ",", "otherwise", "return", "AARCH64_NUM_SVPATTERNS", ".", "A", "VL", "of", "-1", "indicates", "an", "all-true", "vector", "."], "TS_V_token": ["aarch64", "0", "1", "8", "1", "16", "256", "4", "3", "3", "4", "1"], "File": "aarch64", "Func": "aarch64_svpattern_for_vl", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7401, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "xstormy16_handle_interrupt_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", "ATTRIBUTE_UNUSED", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add_attrs", ")", "{", "if", "(", "TREE_CODE", "(", "*", "node", ")", "!=", "FUNCTION_TYPE", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qs attribute only applies to functions\"", ",", "IDENTIFIER_POINTER", "(", "name", ")", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "an", "``", "interrupt", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["stormy16", "\"%qs attribute only applies to functions\""], "File": "stormy163", "Func": "xstormy16_handle_interrupt_attribute", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7402, "Length": 57, "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": 7403, "Length": 165, "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": 7404, "Length": 276, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "compute_vrsave_mask", "(", ")", "{", "unsigned", "int", "i", ",", "mask", "=", "0", ";", "for", "(", "i", "=", "FIRST_ALTIVEC_REGNO", ";", "i", "<=", "LAST_ALTIVEC_REGNO", ";", "++", "i", ")", "if", "(", "regs_ever_live", "[", "i", "]", ")", "mask", "|=", "ALTIVEC_REG_BIT", "(", "i", ")", ";", "if", "(", "mask", "==", "0", ")", "return", "mask", ";", "for", "(", "i", "=", "FIRST_ALTIVEC_REGNO", ";", "i", "<=", "LAST_ALTIVEC_REGNO", ";", "++", "i", ")", "if", "(", "call_used_regs", "[", "i", "]", ")", "mask", "|=", "ALTIVEC_REG_BIT", "(", "i", ")", ";", "for", "(", "i", "=", "cfun", "->", "args_info", ".", "vregno", ";", "i", ">=", "ALTIVEC_ARG_MIN_REG", ";", "--", "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", "0"], "File": "rs60002", "Func": "compute_vrsave_mask", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7405, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "direction", "pa_function_arg_padding", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "if", "(", "mode", "==", "BLKmode", "||", "(", "TARGET_64BIT", "&&", "type", "&&", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "||", "TREE_CODE", "(", "type", ")", "==", "COMPLEX_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", ")", ")", ")", "{", "if", "(", "type", "&&", "TREE_CODE", "(", "TYPE_SIZE", "(", "type", ")", ")", "==", "INTEGER_CST", "&&", "(", "int_size_in_bytes", "(", "type", ")", "*", "BITS_PER_UNIT", ")", "%", "PARM_BOUNDARY", "==", "0", ")", "return", "none", ";", "if", "(", "TARGET_64BIT", ")", "return", "upward", ";", "else", "return", "downward", ";", "}", "if", "(", "GET_MODE_BITSIZE", "(", "mode", ")", "<", "PARM_BOUNDARY", ")", "return", "downward", ";", "else", "return", "none", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_ARG_PADDING", "."], "TS_V_token": ["pa", "0"], "File": "pa4", "Func": "pa_function_arg_padding", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7406, "Length": 104, "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": "ARMAsmBackend (2)", "Func": "writeNopData", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7407, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "function_expander", "::", "expand", "(", ")", "{", "unsigned", "int", "nargs", "=", "call_expr_nargs", "(", "call_expr", ")", ";", "args", ".", "reserve", "(", "nargs", ")", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "nargs", ";", "++", "i", ")", "args", ".", "quick_push", "(", "expand_normal", "(", "CALL_EXPR_ARG", "(", "call_expr", ",", "i", ")", ")", ")", ";", "return", "base", "->", "expand", "(", "*", "this", ")", ";", "}", ""], "natrual_language": ["Expand", "the", "call", "and", "return", "its", "lhs", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64-sve-builtins", "Func": "expand", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7408, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "getHashValue", "(", "const", "MemOpKey", "&", "Val", ")", "{", "assert", "(", "Val", ".", "Disp", "!=", "PtrInfo", "::", "getEmptyKey", "(", ")", "&&", "\"Cannot hash the empty key\"", ")", ";", "assert", "(", "Val", ".", "Disp", "!=", "PtrInfo", "::", "getTombstoneKey", "(", ")", "&&", "\"Cannot hash the tombstone key\"", ")", ";", "hash_code", "Hash", "=", "hash_combine", "(", "*", "Val", ".", "Operands", "[", "0", "]", ",", "*", "Val", ".", "Operands", "[", "1", "]", ",", "*", "Val", ".", "Operands", "[", "2", "]", ",", "*", "Val", ".", "Operands", "[", "3", "]", ")", ";", "switch", "(", "Val", ".", "Disp", "->", "getType", "(", ")", ")", "{", "case", "MachineOperand", "::", "MO_Immediate", ":", "break", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "Hash", "=", "hash_combine", "(", "Hash", ",", "Val", ".", "Disp", "->", "getIndex", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "Hash", "=", "hash_combine", "(", "Hash", ",", "Val", ".", "Disp", "->", "getSymbolName", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "Hash", "=", "hash_combine", "(", "Hash", ",", "Val", ".", "Disp", "->", "getGlobal", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_BlockAddress", ":", "Hash", "=", "hash_combine", "(", "Hash", ",", "Val", ".", "Disp", "->", "getBlockAddress", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_MCSymbol", ":", "Hash", "=", "hash_combine", "(", "Hash", ",", "Val", ".", "Disp", "->", "getMCSymbol", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "Hash", "=", "hash_combine", "(", "Hash", ",", "Val", ".", "Disp", "->", "getMBB", "(", ")", ")", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Invalid address displacement operand\"", ")", ";", "}", "return", "(", "unsigned", ")", "Hash", ";", "}", ""], "natrual_language": ["Using", "name", "and", "line", "to", "get", "hash", "value", ".", "It", "should", "already", "be", "mostly", "unique", "."], "TS_V_token": ["X86", "\"Cannot hash the empty key\"", "\"Cannot hash the tombstone key\"", "0", "1", "2", "3", "\"Invalid address displacement operand\""], "File": "X86OptimizeLEAs", "Func": "getHashValue", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7409, "Length": 248, "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": 7410, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getMaxCallFrameSize", "(", ")", "const", "{", "return", "MaxCallFrameSize", ";", "}", ""], "natrual_language": ["Return", "the", "maximum", "size", "of", "a", "call", "frame", "that", "must", "be", "allocated", "for", "an", "outgoing", "function", "call", "."], "TS_V_token": ["LC3b"], "File": "LC3bMachineFunction", "Func": "getMaxCallFrameSize", "Target": "LC3b", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7411, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "AArch64FunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "if", "(", "AFI", "->", "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": "AArch64CleanupLocalDynamicTLSPass", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7412, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "LEGInstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["LEG", "LEG"], "File": "LEGSubtarget", "Func": "getInstrInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7413, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createExecutionDependencyFixPass", "(", "&", "X86", "::", "VR128XRegClass", ")", ")", ";", "if", "(", "UseVZeroUpper", ")", "addPass", "(", "createX86IssueVZeroUpperPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createX86FixupBWInsts", "(", ")", ")", ";", "addPass", "(", "createX86PadShortFunctions", "(", ")", ")", ";", "addPass", "(", "createX86FixupLEAs", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["X86", "X86", "X86::VR128XRegClass", "X86", "X86", "X86", "X86"], "File": "X86TargetMachine4", "Func": "addPreEmitPass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7414, "Length": 73, "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": "X86CmovConversion10", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7415, "Length": 366, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createARMISelDag", "(", "getARMTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "if", "(", "TM", "->", "getTargetTriple", "(", ")", ".", "isOSBinFormatELF", "(", ")", "&&", "TM", "->", "Options", ".", "EnableFastISel", ")", "addPass", "(", "createARMGlobalBaseRegPass", "(", ")", ")", ";", "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", "ARM", "ARM"], "File": "ARMTargetMachine15", "Func": "addInstSelector", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7416, "Length": 50, "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", "(", ")", ".", "hasMuxedUnits", "(", ")", "&&", "LastMI", "->", "mayLoadOrStore", "(", ")", ")", "&&", "(", "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": "ARMHazardRecognizer17", "Func": "getHazardType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7417, "Length": 279, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86DAGToDAGISel", "::", "IsProfitableToFold", "(", "SDValue", "N", ",", "SDNode", "*", "U", ",", "SDNode", "*", "Root", ")", "const", "{", "if", "(", "OptLevel", "==", "CodeGenOpt", "::", "None", ")", "return", "false", ";", "if", "(", "!", "N", ".", "hasOneUse", "(", ")", ")", "return", "false", ";", "if", "(", "N", ".", "getOpcode", "(", ")", "!=", "ISD", "::", "LOAD", ")", "return", "true", ";", "if", "(", "U", "==", "Root", ")", "{", "switch", "(", "U", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "X86ISD", "::", "ADD", ":", "case", "X86ISD", "::", "SUB", ":", "case", "X86ISD", "::", "AND", ":", "case", "X86ISD", "::", "XOR", ":", "case", "X86ISD", "::", "OR", ":", "case", "ISD", "::", "ADD", ":", "case", "ISD", "::", "ADDC", ":", "case", "ISD", "::", "ADDE", ":", "case", "ISD", "::", "AND", ":", "case", "ISD", "::", "OR", ":", "case", "ISD", "::", "XOR", ":", "{", "SDValue", "Op1", "=", "U", "->", "getOperand", "(", "1", ")", ";", "if", "(", "ConstantSDNode", "*", "Imm", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op1", ")", ")", "if", "(", "Imm", "->", "getAPIntValue", "(", ")", ".", "isSignedIntN", "(", "8", ")", ")", "return", "false", ";", "if", "(", "Op1", ".", "getOpcode", "(", ")", "==", "X86ISD", "::", "Wrapper", ")", "{", "SDValue", "Val", "=", "Op1", ".", "getOperand", "(", "0", ")", ";", "if", "(", "Val", ".", "getOpcode", "(", ")", "==", "ISD", "::", "TargetGlobalTLSAddress", ")", "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": ["X86", "X86", "ISD::LOAD", "X86ISD::ADD", "X86ISD::SUB", "X86ISD::AND", "X86ISD::XOR", "X86ISD::OR", "ISD::ADD", "ISD::ADDC", "ISD::ADDE", "ISD::AND", "ISD::OR", "ISD::XOR", "1", "8", "X86ISD::Wrapper", "0", "ISD::TargetGlobalTLSAddress"], "File": "X86ISelDAGToDAG (2)", "Func": "IsProfitableToFold", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7418, "Length": 218, "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", ";", "enum", "machine_mode", "mode", "=", "VOIDmode", ";", "switch", "(", "d", "->", "vmode", ")", "{", "case", "V16QImode", ":", "mode", "=", "V8HImode", ";", "break", ";", "case", "V32QImode", ":", "mode", "=", "V16HImode", ";", "break", ";", "case", "V64QImode", ":", "mode", "=", "V32HImode", ";", "break", ";", "case", "V8HImode", ":", "mode", "=", "V4SImode", ";", "break", ";", "case", "V16HImode", ":", "mode", "=", "V8SImode", ";", "break", ";", "case", "V32HImode", ":", "mode", "=", "V16SImode", ";", "break", ";", "case", "V4SImode", ":", "mode", "=", "V2DImode", ";", "break", ";", "case", "V8SImode", ":", "mode", "=", "V4DImode", ";", "break", ";", "case", "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": "i3865", "Func": "canonicalize_vector_int_perm", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7419, "Length": 357, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_expand_vector_init_one_var", "(", "bool", "mmx_ok", ",", "enum", "machine_mode", "mode", ",", "rtx", "target", ",", "rtx", "vals", ",", "int", "one_var", ")", "{", "rtx", "var", "=", "XVECEXP", "(", "vals", ",", "0", ",", "one_var", ")", ";", "enum", "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", "V4SFmode", ":", "case", "V4SImode", ":", "case", "V8HImode", ":", "case", "V4HImode", ":", "break", ";", "case", "V16QImode", ":", "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": "i3863", "Func": "ix86_expand_vector_init_one_var", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7420, "Length": 334, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "gen_frame_mem_offset", "(", "machine_mode", "mode", ",", "rtx", "reg", ",", "int", "offset", ")", "{", "return", "gen_frame_mem", "(", "mode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "reg", ",", "GEN_INT", "(", "offset", ")", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "offset", "memory", "reference", "suitable", "for", "a", "frame", "store", ",", "while", "converting", "to", "a", "valid", "addressing", "mode", "."], "TS_V_token": ["rs6000"], "File": "rs6000-logue", "Func": "gen_frame_mem_offset", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7421, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "&", "MI", ",", "Register", "&", "SrcReg", ",", "Register", "&", "SrcReg2", ",", "int", "&", "Mask", ",", "int", "&", "Value", ")", "const", "{", "assert", "(", "MI", ".", "isCompare", "(", ")", "&&", "\"Caller should have checked for a comparison\"", ")", ";", "if", "(", "MI", ".", "getNumExplicitOperands", "(", ")", "==", "2", "&&", "MI", ".", "getOperand", "(", "0", ")", ".", "isReg", "(", ")", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", ")", "{", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "0", ";", "Value", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "Mask", "=", "~", "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": ["SystemZ", "SystemZ", "\"Caller should have checked for a comparison\"", "2", "0", "1", "0", "0", "1", "0"], "File": "SystemZInstrInfo28", "Func": "analyzeCompare", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7422, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64LoadStoreOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "if", "(", "skipFunction", "(", "Fn", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "Subtarget", "=", "&", "Fn", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "Subtarget", "->", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "Subtarget", "->", "getRegisterInfo", "(", ")", ";", "AA", "=", "&", "getAnalysis", "<", "AAResultsWrapperPass", ">", "(", ")", ".", "getAAResults", "(", ")", ";", "ModifiedRegUnits", ".", "init", "(", "*", "TRI", ")", ";", "UsedRegUnits", ".", "init", "(", "*", "TRI", ")", ";", "DefinedInBB", ".", "init", "(", "*", "TRI", ")", ";", "bool", "Modified", "=", "false", ";", "bool", "enableNarrowZeroStOpt", "=", "!", "Subtarget", "->", "requiresStrictAlign", "(", ")", ";", "for", "(", "auto", "&", "MBB", ":", "Fn", ")", "{", "auto", "M", "=", "optimizeBlock", "(", "MBB", ",", "enableNarrowZeroStOpt", ")", ";", "Modified", "|=", "M", ";", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64LoadStoreOptimizer (2)1", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7423, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTargetLowering", "::", "getJumpTableEncoding", "(", ")", "const", "{", "if", "(", "isJumpTableRelative", "(", ")", ")", "return", "MachineJumpTableInfo", "::", "EK_LabelDifference32", ";", "return", "TargetLowering", "::", "getJumpTableEncoding", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "entry", "encoding", "for", "a", "jump", "table", "in", "the", "current", "function", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCISelLowering (2)7", "Func": "getJumpTableEncoding", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7424, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsCallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "ArrayRef", "<", "unsigned", ">", "VRegs", ")", "const", "{", "MachineInstrBuilder", "Ret", "=", "MIRBuilder", ".", "buildInstrNoInsert", "(", "Mips", "::", "RetRA", ")", ";", "if", "(", "Val", "!=", "nullptr", "&&", "!", "isSupportedType", "(", "Val", "->", "getType", "(", ")", ")", ")", "return", "false", ";", "if", "(", "!", "VRegs", ".", "empty", "(", ")", ")", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "const", "DataLayout", "&", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "const", "MipsTargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "MipsTargetLowering", ">", "(", ")", ";", "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", ">", "RetInfos", ";", "SmallVector", "<", "unsigned", ",", "8", ">", "OrigArgIndices", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "SplitEVTs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "ArgInfo", "CurArgInfo", "=", "ArgInfo", "{", "VRegs", "[", "i", "]", ",", "SplitEVTs", "[", "i", "]", ".", "getTypeForEVT", "(", "Ctx", ")", "}", ";", "setArgFlags", "(", "CurArgInfo", ",", "AttributeList", "::", "ReturnIndex", ",", "DL", ",", "F", ")", ";", "splitToValueTypes", "(", "CurArgInfo", ",", "0", ",", "RetInfos", ",", "OrigArgIndices", ")", ";", "}", "SmallVector", "<", "ISD", "::", "OutputArg", ",", "8", ">", "Outs", ";", "subTargetRegTypeForCallingConv", "(", "F", ",", "RetInfos", ",", "OrigArgIndices", ",", "Outs", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "MipsCCState", "CCInfo", "(", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ",", "MF", ",", "ArgLocs", ",", "F", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "TLI", ".", "CCAssignFnForReturn", "(", ")", ")", ";", "setLocInfo", "(", "ArgLocs", ",", "Outs", ")", ";", "OutgoingValueHandler", "RetHandler", "(", "MIRBuilder", ",", "MF", ".", "getRegInfo", "(", ")", ",", "Ret", ")", ";", "if", "(", "!", "RetHandler", ".", "handle", "(", "ArgLocs", ",", "RetInfos", ")", ")", "{", "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": ["Mips", "Mips", "Mips::RetRA", "Mips", "Mips", "4", "\"For each split Type there should be exactly one VReg.\"", "8", "8", "0", "0", "ISD::OutputArg", "8", "16", "Mips"], "File": "MipsCallLowering1", "Func": "lowerReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7425, "Length": 361, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FixupSetCCPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "Changed", "=", "false", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "TII", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "SmallVector", "<", "MachineInstr", "*", ",", "4", ">", "ToErase", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "!=", "X86", "::", "SETCCr", ")", "continue", ";", "MachineInstr", "*", "ZExt", "=", "nullptr", ";", "for", "(", "auto", "&", "Use", ":", "MRI", "->", "use_instructions", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", "if", "(", "Use", ".", "getOpcode", "(", ")", "==", "X86", "::", "MOVZX32rr8", ")", "ZExt", "=", "&", "Use", ";", "if", "(", "!", "ZExt", ")", "continue", ";", "MachineInstr", "*", "FlagsDefMI", "=", "findFlagsImpDef", "(", "MI", ".", "getParent", "(", ")", ",", "MachineBasicBlock", "::", "reverse_iterator", "(", "&", "MI", ")", ")", ";", "if", "(", "!", "FlagsDefMI", ")", "continue", ";", "if", "(", "impUsesFlags", "(", "FlagsDefMI", ")", ")", "continue", ";", "++", "NumSubstZexts", ";", "Changed", "=", "true", ";", "const", "TargetRegisterClass", "*", "RC", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", "?", "&", "X86", "::", "GR32RegClass", ":", "&", "X86", "::", "GR32_ABCDRegClass", ";", "unsigned", "ZeroReg", "=", "MRI", "->", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "InsertReg", "=", "MRI", "->", "createVirtualRegister", "(", "RC", ")", ";", "BuildMI", "(", "MBB", ",", "FlagsDefMI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "X86", "::", "MOV32r0", ")", ",", "ZeroReg", ")", ";", "BuildMI", "(", "*", "ZExt", "->", "getParent", "(", ")", ",", "ZExt", ",", "ZExt", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "X86", "::", "INSERT_SUBREG", ")", ",", "InsertReg", ")", ".", "addReg", "(", "ZeroReg", ")", ".", "addReg", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addImm", "(", "X86", "::", "sub_8bit", ")", ";", "MRI", "->", "replaceRegWith", "(", "ZExt", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "InsertReg", ")", ";", "ToErase", ".", "push_back", "(", "ZExt", ")", ";", "}", "}", "for", "(", "auto", "&", "I", ":", "ToErase", ")", "I", "->", "eraseFromParent", "(", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "4", "X86::SETCCr", "0", "X86::MOVZX32rr8", "X86", "X86::GR32RegClass", "X86::GR32_ABCDRegClass", "X86::MOV32r0", "X86::INSERT_SUBREG", "0", "X86::sub_8bit", "0"], "File": "X86FixupSetCC1", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7426, "Length": 348, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mep_reload_pointer", "(", "int", "regno", ",", "const", "char", "*", "symbol", ")", "{", "rtx", "reg", ",", "sym", ";", "if", "(", "!", "df_regs_ever_live_p", "(", "regno", ")", "&&", "crtl", "->", "is_leaf", ")", "return", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ";", "sym", "=", "gen_rtx_SYMBOL_REF", "(", "SImode", ",", "symbol", ")", ";", "emit_insn", "(", "gen_movsi_topsym_s", "(", "reg", ",", "sym", ")", ")", ";", "emit_insn", "(", "gen_movsi_botsym_s", "(", "reg", ",", "reg", ",", "sym", ")", ")", ";", "}", ""], "natrual_language": ["Used", "for", "interrupt", "functions", ",", "which", "ca", "n't", "assume", "that", "$", "tp", "and", "$", "gp", "contain", "the", "correct", "pointers", "."], "TS_V_token": ["mep"], "File": "mep", "Func": "mep_reload_pointer", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7427, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "iq2000_adjust_insn_length", "(", "rtx", "insn", ",", "int", "length", ")", "{", "if", "(", "simplejump_p", "(", "insn", ")", "||", "(", "(", "GET_CODE", "(", "insn", ")", "==", "JUMP_INSN", "||", "GET_CODE", "(", "insn", ")", "==", "CALL_INSN", ")", ")", ")", "length", "+=", "4", ";", "return", "length", ";", "}", ""], "natrual_language": ["Return", "the", "length", "of", "INSN", ".", "LENGTH", "is", "the", "initial", "length", "computed", "by", "attributes", "in", "the", "machine-description", "file", "."], "TS_V_token": ["iq2000", "4"], "File": "iq20002", "Func": "iq2000_adjust_insn_length", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7428, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "long", "rs6000_const_f32_to_i32", "(", "rtx", "operand", ")", "{", "long", "value", ";", "const", "struct", "real_value", "*", "rv", "=", "CONST_DOUBLE_REAL_VALUE", "(", "operand", ")", ";", "gcc_assert", "(", "GET_MODE", "(", "operand", ")", "==", "SFmode", ")", ";", "REAL_VALUE_TO_TARGET_SINGLE", "(", "*", "rv", ",", "value", ")", ";", "return", "value", ";", "}", ""], "natrual_language": ["Convert", "a", "SFmode", "constant", "to", "the", "integer", "bit", "pattern", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_const_f32_to_i32", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7429, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_operands_ok_for_ldpstp", "(", "rtx", "*", "operands", ",", "bool", "load", ",", "enum", "machine_mode", "mode", ")", "{", "HOST_WIDE_INT", "offval_1", ",", "offval_2", ",", "msize", ";", "enum", "reg_class", "rclass_1", ",", "rclass_2", ";", "rtx", "mem_1", ",", "mem_2", ",", "reg_1", ",", "reg_2", ",", "base_1", ",", "base_2", ",", "offset_1", ",", "offset_2", ";", "if", "(", "load", ")", "{", "mem_1", "=", "operands", "[", "1", "]", ";", "mem_2", "=", "operands", "[", "3", "]", ";", "reg_1", "=", "operands", "[", "0", "]", ";", "reg_2", "=", "operands", "[", "2", "]", ";", "gcc_assert", "(", "REG_P", "(", "reg_1", ")", "&&", "REG_P", "(", "reg_2", ")", ")", ";", "if", "(", "REGNO", "(", "reg_1", ")", "==", "REGNO", "(", "reg_2", ")", ")", "return", "false", ";", "}", "else", "{", "mem_1", "=", "operands", "[", "0", "]", ";", "mem_2", "=", "operands", "[", "2", "]", ";", "reg_1", "=", "operands", "[", "1", "]", ";", "reg_2", "=", "operands", "[", "3", "]", ";", "}", "if", "(", "MEM_VOLATILE_P", "(", "mem_1", ")", "||", "MEM_VOLATILE_P", "(", "mem_2", ")", ")", "return", "false", ";", "extract_base_offset_in_addr", "(", "mem_1", ",", "&", "base_1", ",", "&", "offset_1", ")", ";", "if", "(", "base_1", "==", "NULL_RTX", "||", "offset_1", "==", "NULL_RTX", ")", "return", "false", ";", "extract_base_offset_in_addr", "(", "mem_2", ",", "&", "base_2", ",", "&", "offset_2", ")", ";", "if", "(", "base_2", "==", "NULL_RTX", "||", "offset_2", "==", "NULL_RTX", ")", "return", "false", ";", "if", "(", "!", "rtx_equal_p", "(", "base_1", ",", "base_2", ")", ")", "return", "false", ";", "offval_1", "=", "INTVAL", "(", "offset_1", ")", ";", "offval_2", "=", "INTVAL", "(", "offset_2", ")", ";", "msize", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "offval_1", "!=", "(", "offval_2", "+", "msize", ")", "&&", "offval_2", "!=", "(", "offval_1", "+", "msize", ")", ")", "return", "false", ";", "if", "(", "load", ")", "{", "if", "(", "reg_mentioned_p", "(", "reg_1", ",", "mem_1", ")", ")", "return", "false", ";", "if", "(", "offval_1", ">", "offval_2", "&&", "reg_mentioned_p", "(", "reg_2", ",", "mem_2", ")", ")", "return", "false", ";", "}", "if", "(", "REG_P", "(", "reg_1", ")", "&&", "FP_REGNUM_P", "(", "REGNO", "(", "reg_1", ")", ")", ")", "rclass_1", "=", "FP_REGS", ";", "else", "rclass_1", "=", "GENERAL_REGS", ";", "if", "(", "REG_P", "(", "reg_2", ")", "&&", "FP_REGNUM_P", "(", "REGNO", "(", "reg_2", ")", ")", ")", "rclass_2", "=", "FP_REGS", ";", "else", "rclass_2", "=", "GENERAL_REGS", ";", "if", "(", "rclass_1", "!=", "rclass_2", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Given", "OPERANDS", "of", "consecutive", "load/store", ",", "check", "if", "we", "can", "merge", "them", "into", "ldp/stp", ".", "LOAD", "is", "true", "if", "they", "are", "load", "instructions", ".", "MODE", "is", "the", "mode", "of", "memory", "operands", "."], "TS_V_token": ["aarch64", "1", "3", "0", "2", "0", "2", "1", "3"], "File": "aarch642", "Func": "aarch64_operands_ok_for_ldpstp", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7430, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "ARMBaseRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "ARMSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "const", "ARMFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "SP", ")", ";", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "PC", ")", ";", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "FPSCR", ")", ";", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "APSR_NZCV", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", "||", "STI", ".", "isTargetDarwin", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "getFramePointerReg", "(", "STI", ")", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "BasePtr", ")", ";", "for", "(", "size_t", "R", "=", "0", ";", "R", "<", "ARM", "::", "GPRRegClass", ".", "getNumRegs", "(", ")", ";", "++", "R", ")", "{", "if", "(", "STI", ".", "isGPRegisterReserved", "(", "R", ")", ")", "{", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "R0", "+", "R", ")", ";", "}", "}", "if", "(", "!", "STI", ".", "hasD32", "(", ")", ")", "{", "static_assert", "(", "ARM", "::", "D31", "==", "ARM", "::", "D16", "+", "15", ",", "\"Register list not consecutive!\"", ")", ";", "for", "(", "unsigned", "R", "=", "0", ";", "R", "<", "16", ";", "++", "R", ")", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "D16", "+", "R", ")", ";", "}", "const", "TargetRegisterClass", "&", "RC", "=", "ARM", "::", "GPRPairRegClass", ";", "for", "(", "unsigned", "Reg", ":", "RC", ")", "for", "(", "MCSubRegIterator", "SI", "(", "Reg", ",", "this", ")", ";", "SI", ".", "isValid", "(", ")", ";", "++", "SI", ")", "if", "(", "Reserved", ".", "test", "(", "*", "SI", ")", ")", "markSuperRegs", "(", "Reserved", ",", "Reg", ")", ";", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "ZR", ")", ";", "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": ["ARM", "ARM", "ARM", "ARM", "ARM", "ARM::SP", "ARM::PC", "ARM::FPSCR", "ARM::APSR_NZCV", "0", "ARM::GPRRegClass", "ARM::R0", "ARM::D31", "ARM::D16", "15", "\"Register list not consecutive!\"", "0", "16", "ARM::D16", "ARM::GPRPairRegClass", "ARM::ZR"], "File": "ARMBaseRegisterInfo91", "Func": "getReservedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7431, "Length": 287, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "OR1KDisassembler", "::", "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", "(", "DecoderTableOR1K32", ",", "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": ["OR1K", "OR1K", "OR1K", "4"], "File": "OR1KDisassembler", "Func": "getInstruction", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7432, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "rtx_code", "ix86_reverse_condition", "(", "enum", "rtx_code", "code", ",", "machine_mode", "mode", ")", "{", "return", "(", "mode", "==", "CCFPmode", "?", "reverse_condition_maybe_unordered", "(", "code", ")", ":", "reverse_condition", "(", "code", ")", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "REVERSE_CONDITION", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_reverse_condition", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7433, "Length": 30, "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": 7434, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getString", "(", ")", ";", "if", "(", "IDVal", "==", "\".ent\"", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".end\"", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".frame\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".set\"", ")", "{", "return", "parseDirectiveSet", "(", ")", ";", "}", "if", "(", "IDVal", "==", "\".fmask\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".mask\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".gpword\"", ")", "{", "parseDirectiveGpWord", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".word\"", ")", "{", "parseDirectiveWord", "(", "4", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["Mips", "Mips", "\".ent\"", "\".end\"", "\".frame\"", "\".set\"", "\".fmask\"", "\".mask\"", "\".gpword\"", "\".word\"", "4"], "File": "MipsAsmParser81", "Func": "ParseDirective", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7435, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isReassocProfitable", "(", "SelectionDAG", "&", "DAG", ",", "SDValue", "N0", ",", "SDValue", "N1", ")", "const", "{", "if", "(", "!", "N0", ".", "hasOneUse", "(", ")", ")", "return", "false", ";", "unsigned", "IID", "=", "getIntrinsicID", "(", "N1", ".", "getNode", "(", ")", ")", ";", "if", "(", "IID", "==", "Intrinsic", "::", "aarch64_neon_umull", "||", "N1", ".", "getOpcode", "(", ")", "==", "AArch64ISD", "::", "UMULL", "||", "IID", "==", "Intrinsic", "::", "aarch64_neon_smull", "||", "N1", ".", "getOpcode", "(", ")", "==", "AArch64ISD", "::", "SMULL", ")", "return", "N0", ".", "getOpcode", "(", ")", "!=", "ISD", "::", "ADD", ";", "return", "true", ";", "}", ""], "natrual_language": ["Control", "the", "following", "reassociation", "of", "operands", ":", "(", "op", "(", "op", "x", ",", "c1", ")", ",", "y", ")", "-", ">", "(", "op", "(", "op", "x", ",", "y", ")", ",", "c1", ")", "where", "N0", "is", "(", "op", "x", ",", "c1", ")", "and", "N1", "is", "y", "."], "TS_V_token": ["AArch64", "AArch64", "Intrinsic::aarch64_neon_umull", "AArch64ISD::UMULL", "Intrinsic::aarch64_neon_smull", "AArch64ISD::SMULL", "ISD::ADD"], "File": "AArch64ISelLowering87", "Func": "isReassocProfitable", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7436, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86RegisterInfo", "::", "isArgumentRegister", "(", "const", "MachineFunction", "&", "MF", ",", "MCRegister", "Reg", ")", "const", "{", "const", "X86Subtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "const", "TargetRegisterInfo", "&", "TRI", "=", "*", "ST", ".", "getRegisterInfo", "(", ")", ";", "auto", "IsSubReg", "=", "[", "&", "]", "(", "MCRegister", "RegA", ",", "MCRegister", "RegB", ")", "{", "return", "TRI", ".", "isSuperOrSubRegisterEq", "(", "RegA", ",", "RegB", ")", ";", "}", ";", "if", "(", "!", "ST", ".", "is64Bit", "(", ")", ")", "return", "llvm", "::", "any_of", "(", "SmallVector", "<", "MCRegister", ">", "{", "X86", "::", "EAX", ",", "X86", "::", "ECX", ",", "X86", "::", "EDX", "}", ",", "[", "&", "]", "(", "MCRegister", "&", "RegA", ")", "{", "return", "IsSubReg", "(", "RegA", ",", "Reg", ")", ";", "}", ")", "||", "(", "ST", ".", "hasMMX", "(", ")", "&&", "X86", "::", "VR64RegClass", ".", "contains", "(", "Reg", ")", ")", ";", "CallingConv", "::", "ID", "CC", "=", "MF", ".", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", ";", "if", "(", "CC", "==", "CallingConv", "::", "X86_64_SysV", "&&", "IsSubReg", "(", "X86", "::", "RAX", ",", "Reg", ")", ")", "return", "true", ";", "if", "(", "llvm", "::", "any_of", "(", "SmallVector", "<", "MCRegister", ">", "{", "X86", "::", "RDX", ",", "X86", "::", "RCX", ",", "X86", "::", "R8", ",", "X86", "::", "R9", "}", ",", "[", "&", "]", "(", "MCRegister", "&", "RegA", ")", "{", "return", "IsSubReg", "(", "RegA", ",", "Reg", ")", ";", "}", ")", ")", "return", "true", ";", "if", "(", "CC", "!=", "CallingConv", "::", "Win64", "&&", "llvm", "::", "any_of", "(", "SmallVector", "<", "MCRegister", ">", "{", "X86", "::", "RDI", ",", "X86", "::", "RSI", "}", ",", "[", "&", "]", "(", "MCRegister", "&", "RegA", ")", "{", "return", "IsSubReg", "(", "RegA", ",", "Reg", ")", ";", "}", ")", ")", "return", "true", ";", "if", "(", "ST", ".", "hasSSE1", "(", ")", "&&", "llvm", "::", "any_of", "(", "SmallVector", "<", "MCRegister", ">", "{", "X86", "::", "XMM0", ",", "X86", "::", "XMM1", ",", "X86", "::", "XMM2", ",", "X86", "::", "XMM3", ",", "X86", "::", "XMM4", ",", "X86", "::", "XMM5", ",", "X86", "::", "XMM6", ",", "X86", "::", "XMM7", "}", ",", "[", "&", "]", "(", "MCRegister", "&", "RegA", ")", "{", "return", "IsSubReg", "(", "RegA", ",", "Reg", ")", ";", "}", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["isArgumentReg", "-", "Returns", "true", "if", "Reg", "can", "be", "used", "as", "an", "argument", "to", "a", "function", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86::EAX", "X86::ECX", "X86::EDX", "X86::VR64RegClass", "X86", "X86::RAX", "X86::RDX", "X86::RCX", "X86::R8", "X86::R9", "X86::RDI", "X86::RSI", "X86::XMM0", "X86::XMM1", "X86::XMM2", "X86::XMM3", "X86::XMM4", "X86::XMM5", "X86::XMM6", "X86::XMM7"], "File": "X86RegisterInfo47", "Func": "isArgumentRegister", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7437, "Length": 348, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "umips_save_restore_pattern_p", "(", "bool", "save_p", ",", "rtx", "pattern", ")", "{", "int", "n", ";", "unsigned", "int", "i", ";", "HOST_WIDE_INT", "first_offset", "=", "0", ";", "rtx", "first_base", "=", "0", ";", "unsigned", "int", "regmask", "=", "0", ";", "for", "(", "n", "=", "0", ";", "n", "<", "XVECLEN", "(", "pattern", ",", "0", ")", ";", "n", "++", ")", "{", "rtx", "set", ",", "reg", ",", "mem", ",", "this_base", ";", "HOST_WIDE_INT", "this_offset", ";", "set", "=", "XVECEXP", "(", "pattern", ",", "0", ",", "n", ")", ";", "if", "(", "GET_CODE", "(", "set", ")", "!=", "SET", ")", "return", "false", ";", "mem", "=", "save_p", "?", "SET_DEST", "(", "set", ")", ":", "SET_SRC", "(", "set", ")", ";", "if", "(", "!", "MEM_P", "(", "mem", ")", "||", "MEM_VOLATILE_P", "(", "mem", ")", ")", "return", "false", ";", "mips_split_plus", "(", "XEXP", "(", "mem", ",", "0", ")", ",", "&", "this_base", ",", "&", "this_offset", ")", ";", "if", "(", "!", "REG_P", "(", "this_base", ")", ")", "return", "false", ";", "if", "(", "n", "==", "0", ")", "{", "if", "(", "!", "UMIPS_12BIT_OFFSET_P", "(", "this_offset", ")", ")", "return", "false", ";", "first_base", "=", "this_base", ";", "first_offset", "=", "this_offset", ";", "}", "else", "{", "if", "(", "REGNO", "(", "this_base", ")", "!=", "REGNO", "(", "first_base", ")", "||", "this_offset", "!=", "first_offset", "+", "UNITS_PER_WORD", "*", "n", ")", "return", "false", ";", "}", "reg", "=", "save_p", "?", "SET_SRC", "(", "set", ")", ":", "SET_DEST", "(", "set", ")", ";", "if", "(", "!", "REG_P", "(", "reg", ")", ")", "return", "false", ";", "regmask", "|=", "1", "<<", "REGNO", "(", "reg", ")", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "umips_swm_mask", ")", ";", "i", "++", ")", "if", "(", "regmask", "==", "umips_swm_mask", "[", "i", "]", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "PATTERN", "matches", "the", "kind", "of", "instruction", "generated", "by", "umips_build_save_restore", ".", "SAVE_P", "is", "true", "for", "store", "."], "TS_V_token": ["mips", "0", "0", "0", "0", "0", "0", "0", "0", "1", "0"], "File": "mips", "Func": "umips_save_restore_pattern_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7438, "Length": 264, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "gen_movdi_x", "(", "rtx", "dest", ",", "rtx", "src", ",", "rtx", "offset", "ATTRIBUTE_UNUSED", ")", "{", "return", "gen_movdi", "(", "dest", ",", "src", ")", ";", "}", ""], "natrual_language": ["Wrapper", "functions", "that", "discards", "the", "CONST_INT", "spill", "offset", ".", "These", "exist", "so", "that", "we", "can", "give", "gr_spill/gr_fill", "the", "offset", "they", "need", "and", "use", "a", "consistant", "function", "interface", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "gen_movdi_x", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7439, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseInstrInfo", "::", "isStoreToStackSlotPostFE", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "SmallVector", "<", "const", "MachineMemOperand", "*", ",", "1", ">", "Accesses", ";", "if", "(", "MI", ".", "mayStore", "(", ")", "&&", "hasStoreToStackSlot", "(", "MI", ",", "Accesses", ")", ")", "{", "FrameIndex", "=", "cast", "<", "FixedStackPseudoSourceValue", ">", "(", "Accesses", ".", "front", "(", ")", "->", "getPseudoValue", "(", ")", ")", "->", "getFrameIndex", "(", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["isStoreToStackSlotPostFE", "-", "Check", "for", "post-frame", "ptr", "elimination", "stack", "locations", "as", "well", "."], "TS_V_token": ["ARM", "ARM", "1"], "File": "ARMBaseInstrInfo1", "Func": "isStoreToStackSlotPostFE", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7440, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "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", "=", "TII", ".", "getFrameSize", "(", "*", "I", ")", ";", "uint64_t", "InternalAmt", "=", "(", "isDestroy", "||", "Amount", ")", "?", "TII", ".", "getFrameAdjustment", "(", "*", "I", ")", ":", "0", ";", "I", "=", "MBB", ".", "erase", "(", "I", ")", ";", "auto", "InsertPos", "=", "skipDebugInstructionsForward", "(", "I", ",", "MBB", ".", "end", "(", ")", ")", ";", "if", "(", "!", "reserveCallFrame", ")", "{", "unsigned", "StackAlign", "=", "getStackAlignment", "(", ")", ";", "Amount", "=", "alignTo", "(", "Amount", ",", "StackAlign", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "bool", "WindowsCFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", "->", "usesWindowsCFI", "(", ")", ";", "bool", "DwarfCFI", "=", "!", "WindowsCFI", "&&", "MF", ".", "needsFrameMoves", "(", ")", ";", "bool", "HasDwarfEHHandlers", "=", "!", "WindowsCFI", "&&", "!", "MF", ".", "getLandingPads", "(", ")", ".", "empty", "(", ")", ";", "if", "(", "HasDwarfEHHandlers", "&&", "!", "isDestroy", "&&", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "getHasPushSequences", "(", ")", ")", "BuildCFI", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "MCCFIInstruction", "::", "createGnuArgsSize", "(", "nullptr", ",", "Amount", ")", ")", ";", "if", "(", "Amount", "==", "0", ")", "return", "I", ";", "Amount", "-=", "InternalAmt", ";", "if", "(", "isDestroy", "&&", "InternalAmt", "&&", "DwarfCFI", "&&", "!", "hasFP", "(", "MF", ")", ")", "BuildCFI", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "MCCFIInstruction", "::", "createAdjustCfaOffset", "(", "nullptr", ",", "-", "InternalAmt", ")", ")", ";", "int64_t", "StackAdjustment", "=", "isDestroy", "?", "Amount", ":", "-", "Amount", ";", "if", "(", "StackAdjustment", ")", "{", "StackAdjustment", "+=", "mergeSPUpdates", "(", "MBB", ",", "InsertPos", ",", "true", ")", ";", "StackAdjustment", "+=", "mergeSPUpdates", "(", "MBB", ",", "InsertPos", ",", "false", ")", ";", "if", "(", "StackAdjustment", ")", "{", "if", "(", "!", "(", "F", ".", "hasMinSize", "(", ")", "&&", "adjustStackWithPops", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "StackAdjustment", ")", ")", ")", "BuildStackAdjustment", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "StackAdjustment", ",", "false", ")", ";", "}", "}", "if", "(", "DwarfCFI", "&&", "!", "hasFP", "(", "MF", ")", ")", "{", "int64_t", "CfaAdjustment", "=", "-", "StackAdjustment", ";", "if", "(", "CfaAdjustment", ")", "{", "BuildCFI", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "MCCFIInstruction", "::", "createAdjustCfaOffset", "(", "nullptr", ",", "CfaAdjustment", ")", ")", ";", "}", "}", "return", "I", ";", "}", "if", "(", "isDestroy", "&&", "InternalAmt", "&&", "!", "blockEndIsUnreachable", "(", "MBB", ",", "I", ")", ")", "{", "MachineBasicBlock", "::", "iterator", "CI", "=", "I", ";", "MachineBasicBlock", "::", "iterator", "B", "=", "MBB", ".", "begin", "(", ")", ";", "while", "(", "CI", "!=", "B", "&&", "!", "std", "::", "prev", "(", "CI", ")", "->", "isCall", "(", ")", ")", "--", "CI", ";", "BuildStackAdjustment", "(", "MBB", ",", "CI", ",", "DL", ",", "-", "InternalAmt", ",", "false", ")", ";", "}", "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": ["X86", "X86", "0", "X86", "0"], "File": "X86FrameLowering127", "Func": "eliminateCallFramePseudoInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7441, "Length": 473, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "getTgtMemIntrinsic", "(", "IntrinsicInfo", "&", "Info", ",", "const", "CallInst", "&", "I", ",", "MachineFunction", "&", "MF", ",", "unsigned", "Intrinsic", ")", "const", "{", "const", "IntrinsicData", "*", "IntrData", "=", "getIntrinsicWithChain", "(", "Intrinsic", ")", ";", "if", "(", "!", "IntrData", ")", "return", "false", ";", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_W_CHAIN", ";", "Info", ".", "flags", "=", "MachineMemOperand", "::", "MONone", ";", "Info", ".", "offset", "=", "0", ";", "switch", "(", "IntrData", "->", "Type", ")", "{", "case", "EXPAND_FROM_MEM", ":", "{", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "0", ")", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVT", "(", "I", ".", "getType", "(", ")", ")", ";", "Info", ".", "align", "=", "1", ";", "Info", ".", "flags", "|=", "MachineMemOperand", "::", "MOLoad", ";", "break", ";", "}", "case", "COMPRESS_TO_MEM", ":", "{", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "0", ")", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVT", "(", "I", ".", "getArgOperand", "(", "1", ")", "->", "getType", "(", ")", ")", ";", "Info", ".", "align", "=", "1", ";", "Info", ".", "flags", "|=", "MachineMemOperand", "::", "MOStore", ";", "break", ";", "}", "case", "TRUNCATE_TO_MEM_VI8", ":", "case", "TRUNCATE_TO_MEM_VI16", ":", "case", "TRUNCATE_TO_MEM_VI32", ":", "{", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "0", ")", ";", "MVT", "VT", "=", "MVT", "::", "getVT", "(", "I", ".", "getArgOperand", "(", "1", ")", "->", "getType", "(", ")", ")", ";", "MVT", "ScalarVT", "=", "MVT", "::", "INVALID_SIMPLE_VALUE_TYPE", ";", "if", "(", "IntrData", "->", "Type", "==", "TRUNCATE_TO_MEM_VI8", ")", "ScalarVT", "=", "MVT", "::", "i8", ";", "else", "if", "(", "IntrData", "->", "Type", "==", "TRUNCATE_TO_MEM_VI16", ")", "ScalarVT", "=", "MVT", "::", "i16", ";", "else", "if", "(", "IntrData", "->", "Type", "==", "TRUNCATE_TO_MEM_VI32", ")", "ScalarVT", "=", "MVT", "::", "i32", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVectorVT", "(", "ScalarVT", ",", "VT", ".", "getVectorNumElements", "(", ")", ")", ";", "Info", ".", "align", "=", "1", ";", "Info", ".", "flags", "|=", "MachineMemOperand", "::", "MOStore", ";", "break", ";", "}", "default", ":", "return", "false", ";", "}", "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": ["X86", "X86", "ISD::INTRINSIC_W_CHAIN", "0", "0", "MVT::getVT", "1", "0", "MVT::getVT", "1", "1", "0", "MVT::getVT", "1", "MVT::INVALID_SIMPLE_VALUE_TYPE", "MVT::i8", "MVT::i16", "MVT::i32", "MVT::getVectorVT", "1"], "File": "X86ISelLowering102", "Func": "getTgtMemIntrinsic", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7442, "Length": 304, "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", ";", "if", "(", "(", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "fndecl", ")", "==", "target_attribute_cache", "[", "1", "]", "||", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "fndecl", ")", "==", "NULL_TREE", ")", "&&", "(", "DECL_FUNCTION_SPECIFIC_OPTIMIZATION", "(", "fndecl", ")", "==", "target_attribute_cache", "[", "2", "]", "||", "DECL_FUNCTION_SPECIFIC_OPTIMIZATION", "(", "fndecl", ")", "==", "NULL_TREE", ")", "&&", "simple_cst_list_equal", "(", "args", ",", "target_attribute_cache", "[", "0", "]", ")", ")", "{", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "fndecl", ")", "=", "target_attribute_cache", "[", "1", "]", ";", "DECL_FUNCTION_SPECIFIC_OPTIMIZATION", "(", "fndecl", ")", "=", "target_attribute_cache", "[", "2", "]", ";", "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", ")", ")", ";", "tree", "old_target", "=", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "fndecl", ")", ";", "if", "(", "old_target", "==", "NULL_TREE", ")", "old_target", "=", "target_option_default_node", ";", "cl_target_option_restore", "(", "&", "func_options", ",", "&", "func_options_set", ",", "TREE_TARGET_OPTION", "(", "old_target", ")", ")", ";", "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", "(", "new_target", ")", "{", "if", "(", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "fndecl", ")", "==", "NULL_TREE", "&&", "DECL_FUNCTION_SPECIFIC_OPTIMIZATION", "(", "fndecl", ")", "==", "NULL_TREE", ")", "{", "target_attribute_cache", "[", "0", "]", "=", "copy_list", "(", "args", ")", ";", "target_attribute_cache", "[", "1", "]", "=", "new_target", ";", "target_attribute_cache", "[", "2", "]", "=", "old_optimize", "!=", "new_optimize", "?", "new_optimize", ":", "NULL_TREE", ";", "}", "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", "1", "2", "0", "1", "2", "0", "0", "1", "0", "1", "2"], "File": "i386-options", "Func": "ix86_valid_target_attribute_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7443, "Length": 388, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "ARMFrameInfo", "*", "getFrameInfo", "(", ")", "const", "{", "return", "FrameInfo", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["getFrameInfo", "-", "Return", "the", "frame", "info", "object", "for", "the", "current", "function", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMTargetMachine19", "Func": "getFrameInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7444, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ")", "{", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "PPC", "::", "RLWINM", ")", "{", "unsigned", "char", "SH", "=", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "unsigned", "char", "MB", "=", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "unsigned", "char", "ME", "=", "MI", "->", "getOperand", "(", "4", ")", ".", "getImm", "(", ")", ";", "bool", "useSubstituteMnemonic", "=", "false", ";", "if", "(", "SH", "<=", "31", "&&", "MB", "==", "0", "&&", "ME", "==", "(", "31", "-", "SH", ")", ")", "{", "O", "<<", "\"\\tslwi \"", ";", "useSubstituteMnemonic", "=", "true", ";", "}", "if", "(", "SH", "<=", "31", "&&", "MB", "==", "(", "32", "-", "SH", ")", "&&", "ME", "==", "31", ")", "{", "O", "<<", "\"\\tsrwi \"", ";", "useSubstituteMnemonic", "=", "true", ";", "SH", "=", "32", "-", "SH", ";", "}", "if", "(", "useSubstituteMnemonic", ")", "{", "printOperand", "(", "MI", ",", "0", ",", "O", ")", ";", "O", "<<", "\", \"", ";", "printOperand", "(", "MI", ",", "1", ",", "O", ")", ";", "O", "<<", "\", \"", "<<", "(", "unsigned", "int", ")", "SH", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "return", ";", "}", "}", "if", "(", "(", "MI", "->", "getOpcode", "(", ")", "==", "PPC", "::", "OR", "||", "MI", "->", "getOpcode", "(", ")", "==", "PPC", "::", "OR8", ")", "&&", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", "{", "O", "<<", "\"\\tmr \"", ";", "printOperand", "(", "MI", ",", "0", ",", "O", ")", ";", "O", "<<", "\", \"", ";", "printOperand", "(", "MI", ",", "1", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "return", ";", "}", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "PPC", "::", "RLDICR", ")", "{", "unsigned", "char", "SH", "=", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "unsigned", "char", "ME", "=", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "if", "(", "63", "-", "SH", "==", "ME", ")", "{", "O", "<<", "\"\\tsldi \"", ";", "printOperand", "(", "MI", ",", "0", ",", "O", ")", ";", "O", "<<", "\", \"", ";", "printOperand", "(", "MI", ",", "1", ",", "O", ")", ";", "O", "<<", "\", \"", "<<", "(", "unsigned", "int", ")", "SH", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "return", ";", "}", "}", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "COPY_TO_REGCLASS", ")", "return", ";", "printInstruction", "(", "MI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::RLWINM", "2", "3", "4", "31", "0", "31", "\"\\tslwi \"", "31", "32", "31", "\"\\tsrwi \"", "32", "0", "\", \"", "1", "\", \"", "PPC::OR", "PPC::OR8", "1", "2", "\"\\tmr \"", "0", "\", \"", "1", "PPC::RLDICR", "2", "3", "63", "\"\\tsldi \"", "0", "\", \"", "1", "\", \""], "File": "PPCInstPrinter13", "Func": "printInst", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7445, "Length": 402, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PPCTargetLowering", "::", "ConstraintType", "PPCTargetLowering", "::", "getConstraintType", "(", "const", "std", "::", "string", "&", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'b'", ":", "case", "'r'", ":", "case", "'f'", ":", "case", "'v'", ":", "case", "'y'", ":", "return", "C_RegisterClass", ";", "}", "}", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "1", "0"], "File": "PPCISelLowering107", "Func": "getConstraintType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7446, "Length": 68, "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", "::", "WrapperLarge", ":", "return", "\"AArch64ISD::WrapperLarge\"", ";", "case", "AArch64ISD", "::", "WrapperSmall", ":", "return", "\"AArch64ISD::WrapperSmall\"", ";", "case", "AArch64ISD", "::", "NEON_BSL", ":", "return", "\"AArch64ISD::NEON_BSL\"", ";", "case", "AArch64ISD", "::", "NEON_MOVIMM", ":", "return", "\"AArch64ISD::NEON_MOVIMM\"", ";", "case", "AArch64ISD", "::", "NEON_MVNIMM", ":", "return", "\"AArch64ISD::NEON_MVNIMM\"", ";", "case", "AArch64ISD", "::", "NEON_FMOVIMM", ":", "return", "\"AArch64ISD::NEON_FMOVIMM\"", ";", "case", "AArch64ISD", "::", "NEON_CMP", ":", "return", "\"AArch64ISD::NEON_CMP\"", ";", "case", "AArch64ISD", "::", "NEON_CMPZ", ":", "return", "\"AArch64ISD::NEON_CMPZ\"", ";", "case", "AArch64ISD", "::", "NEON_TST", ":", "return", "\"AArch64ISD::NEON_TST\"", ";", "case", "AArch64ISD", "::", "NEON_QSHLs", ":", "return", "\"AArch64ISD::NEON_QSHLs\"", ";", "case", "AArch64ISD", "::", "NEON_QSHLu", ":", "return", "\"AArch64ISD::NEON_QSHLu\"", ";", "case", "AArch64ISD", "::", "NEON_VDUP", ":", "return", "\"AArch64ISD::NEON_VDUP\"", ";", "case", "AArch64ISD", "::", "NEON_VDUPLANE", ":", "return", "\"AArch64ISD::NEON_VDUPLANE\"", ";", "case", "AArch64ISD", "::", "NEON_REV16", ":", "return", "\"AArch64ISD::NEON_REV16\"", ";", "case", "AArch64ISD", "::", "NEON_REV32", ":", "return", "\"AArch64ISD::NEON_REV32\"", ";", "case", "AArch64ISD", "::", "NEON_REV64", ":", "return", "\"AArch64ISD::NEON_REV64\"", ";", "case", "AArch64ISD", "::", "NEON_LD1_UPD", ":", "return", "\"AArch64ISD::NEON_LD1_UPD\"", ";", "case", "AArch64ISD", "::", "NEON_LD2_UPD", ":", "return", "\"AArch64ISD::NEON_LD2_UPD\"", ";", "case", "AArch64ISD", "::", "NEON_LD3_UPD", ":", "return", "\"AArch64ISD::NEON_LD3_UPD\"", ";", "case", "AArch64ISD", "::", "NEON_LD4_UPD", ":", "return", "\"AArch64ISD::NEON_LD4_UPD\"", ";", "case", "AArch64ISD", "::", "NEON_ST1_UPD", ":", "return", "\"AArch64ISD::NEON_ST1_UPD\"", ";", "case", "AArch64ISD", "::", "NEON_ST2_UPD", ":", "return", "\"AArch64ISD::NEON_ST2_UPD\"", ";", "case", "AArch64ISD", "::", "NEON_ST3_UPD", ":", "return", "\"AArch64ISD::NEON_ST3_UPD\"", ";", "case", "AArch64ISD", "::", "NEON_ST4_UPD", ":", "return", "\"AArch64ISD::NEON_ST4_UPD\"", ";", "case", "AArch64ISD", "::", "NEON_LD1x2_UPD", ":", "return", "\"AArch64ISD::NEON_LD1x2_UPD\"", ";", "case", "AArch64ISD", "::", "NEON_LD1x3_UPD", ":", "return", "\"AArch64ISD::NEON_LD1x3_UPD\"", ";", "case", "AArch64ISD", "::", "NEON_LD1x4_UPD", ":", "return", "\"AArch64ISD::NEON_LD1x4_UPD\"", ";", "case", "AArch64ISD", "::", "NEON_ST1x2_UPD", ":", "return", "\"AArch64ISD::NEON_ST1x2_UPD\"", ";", "case", "AArch64ISD", "::", "NEON_ST1x3_UPD", ":", "return", "\"AArch64ISD::NEON_ST1x3_UPD\"", ";", "case", "AArch64ISD", "::", "NEON_ST1x4_UPD", ":", "return", "\"AArch64ISD::NEON_ST1x4_UPD\"", ";", "case", "AArch64ISD", "::", "NEON_LD2DUP", ":", "return", "\"AArch64ISD::NEON_LD2DUP\"", ";", "case", "AArch64ISD", "::", "NEON_LD3DUP", ":", "return", "\"AArch64ISD::NEON_LD3DUP\"", ";", "case", "AArch64ISD", "::", "NEON_LD4DUP", ":", "return", "\"AArch64ISD::NEON_LD4DUP\"", ";", "case", "AArch64ISD", "::", "NEON_LD2DUP_UPD", ":", "return", "\"AArch64ISD::NEON_LD2DUP_UPD\"", ";", "case", "AArch64ISD", "::", "NEON_LD3DUP_UPD", ":", "return", "\"AArch64ISD::NEON_LD3DUP_UPD\"", ";", "case", "AArch64ISD", "::", "NEON_LD4DUP_UPD", ":", "return", "\"AArch64ISD::NEON_LD4DUP_UPD\"", ";", "case", "AArch64ISD", "::", "NEON_LD2LN_UPD", ":", "return", "\"AArch64ISD::NEON_LD2LN_UPD\"", ";", "case", "AArch64ISD", "::", "NEON_LD3LN_UPD", ":", "return", "\"AArch64ISD::NEON_LD3LN_UPD\"", ";", "case", "AArch64ISD", "::", "NEON_LD4LN_UPD", ":", "return", "\"AArch64ISD::NEON_LD4LN_UPD\"", ";", "case", "AArch64ISD", "::", "NEON_ST2LN_UPD", ":", "return", "\"AArch64ISD::NEON_ST2LN_UPD\"", ";", "case", "AArch64ISD", "::", "NEON_ST3LN_UPD", ":", "return", "\"AArch64ISD::NEON_ST3LN_UPD\"", ";", "case", "AArch64ISD", "::", "NEON_ST4LN_UPD", ":", "return", "\"AArch64ISD::NEON_ST4LN_UPD\"", ";", "case", "AArch64ISD", "::", "NEON_VEXTRACT", ":", "return", "\"AArch64ISD::NEON_VEXTRACT\"", ";", "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::WrapperLarge", "\"AArch64ISD::WrapperLarge\"", "AArch64ISD::WrapperSmall", "\"AArch64ISD::WrapperSmall\"", "AArch64ISD::NEON_BSL", "\"AArch64ISD::NEON_BSL\"", "AArch64ISD::NEON_MOVIMM", "\"AArch64ISD::NEON_MOVIMM\"", "AArch64ISD::NEON_MVNIMM", "\"AArch64ISD::NEON_MVNIMM\"", "AArch64ISD::NEON_FMOVIMM", "\"AArch64ISD::NEON_FMOVIMM\"", "AArch64ISD::NEON_CMP", "\"AArch64ISD::NEON_CMP\"", "AArch64ISD::NEON_CMPZ", "\"AArch64ISD::NEON_CMPZ\"", "AArch64ISD::NEON_TST", "\"AArch64ISD::NEON_TST\"", "AArch64ISD::NEON_QSHLs", "\"AArch64ISD::NEON_QSHLs\"", "AArch64ISD::NEON_QSHLu", "\"AArch64ISD::NEON_QSHLu\"", "AArch64ISD::NEON_VDUP", "\"AArch64ISD::NEON_VDUP\"", "AArch64ISD::NEON_VDUPLANE", "\"AArch64ISD::NEON_VDUPLANE\"", "AArch64ISD::NEON_REV16", "\"AArch64ISD::NEON_REV16\"", "AArch64ISD::NEON_REV32", "\"AArch64ISD::NEON_REV32\"", "AArch64ISD::NEON_REV64", "\"AArch64ISD::NEON_REV64\"", "AArch64ISD::NEON_LD1_UPD", "\"AArch64ISD::NEON_LD1_UPD\"", "AArch64ISD::NEON_LD2_UPD", "\"AArch64ISD::NEON_LD2_UPD\"", "AArch64ISD::NEON_LD3_UPD", "\"AArch64ISD::NEON_LD3_UPD\"", "AArch64ISD::NEON_LD4_UPD", "\"AArch64ISD::NEON_LD4_UPD\"", "AArch64ISD::NEON_ST1_UPD", "\"AArch64ISD::NEON_ST1_UPD\"", "AArch64ISD::NEON_ST2_UPD", "\"AArch64ISD::NEON_ST2_UPD\"", "AArch64ISD::NEON_ST3_UPD", "\"AArch64ISD::NEON_ST3_UPD\"", "AArch64ISD::NEON_ST4_UPD", "\"AArch64ISD::NEON_ST4_UPD\"", "AArch64ISD::NEON_LD1x2_UPD", "\"AArch64ISD::NEON_LD1x2_UPD\"", "AArch64ISD::NEON_LD1x3_UPD", "\"AArch64ISD::NEON_LD1x3_UPD\"", "AArch64ISD::NEON_LD1x4_UPD", "\"AArch64ISD::NEON_LD1x4_UPD\"", "AArch64ISD::NEON_ST1x2_UPD", "\"AArch64ISD::NEON_ST1x2_UPD\"", "AArch64ISD::NEON_ST1x3_UPD", "\"AArch64ISD::NEON_ST1x3_UPD\"", "AArch64ISD::NEON_ST1x4_UPD", "\"AArch64ISD::NEON_ST1x4_UPD\"", "AArch64ISD::NEON_LD2DUP", "\"AArch64ISD::NEON_LD2DUP\"", "AArch64ISD::NEON_LD3DUP", "\"AArch64ISD::NEON_LD3DUP\"", "AArch64ISD::NEON_LD4DUP", "\"AArch64ISD::NEON_LD4DUP\"", "AArch64ISD::NEON_LD2DUP_UPD", "\"AArch64ISD::NEON_LD2DUP_UPD\"", "AArch64ISD::NEON_LD3DUP_UPD", "\"AArch64ISD::NEON_LD3DUP_UPD\"", "AArch64ISD::NEON_LD4DUP_UPD", "\"AArch64ISD::NEON_LD4DUP_UPD\"", "AArch64ISD::NEON_LD2LN_UPD", "\"AArch64ISD::NEON_LD2LN_UPD\"", "AArch64ISD::NEON_LD3LN_UPD", "\"AArch64ISD::NEON_LD3LN_UPD\"", "AArch64ISD::NEON_LD4LN_UPD", "\"AArch64ISD::NEON_LD4LN_UPD\"", "AArch64ISD::NEON_ST2LN_UPD", "\"AArch64ISD::NEON_ST2LN_UPD\"", "AArch64ISD::NEON_ST3LN_UPD", "\"AArch64ISD::NEON_ST3LN_UPD\"", "AArch64ISD::NEON_ST4LN_UPD", "\"AArch64ISD::NEON_ST4LN_UPD\"", "AArch64ISD::NEON_VEXTRACT", "\"AArch64ISD::NEON_VEXTRACT\""], "File": "AArch64ISelLowering140", "Func": "getTargetNodeName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7447, "Length": 472, "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": 7448, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "function_builder", "::", "add_unique_function", "(", "const", "function_instance", "&", "instance", ",", "tree", "return_type", ",", "vec", "<", "tree", ">", "&", "argument_types", ",", "uint64_t", "required_extensions", ",", "bool", "force_direct_overloads", ")", "{", "char", "*", "name", "=", "get_name", "(", "instance", ",", "false", ")", ";", "tree", "fntype", "=", "build_function_type_array", "(", "return_type", ",", "argument_types", ".", "length", "(", ")", ",", "argument_types", ".", "address", "(", ")", ")", ";", "tree", "attrs", "=", "get_attributes", "(", "instance", ")", ";", "registered_function", "&", "rfn", "=", "add_function", "(", "instance", ",", "name", ",", "fntype", ",", "attrs", ",", "required_extensions", ",", "false", ")", ";", "hashval_t", "hash", "=", "instance", ".", "hash", "(", ")", ";", "registered_function", "*", "*", "rfn_slot", "=", "function_table", "->", "find_slot_with_hash", "(", "instance", ",", "hash", ",", "INSERT", ")", ";", "gcc_assert", "(", "!", "*", "rfn_slot", ")", ";", "*", "rfn_slot", "=", "&", "rfn", ";", "if", "(", "m_direct_overloads", "||", "force_direct_overloads", ")", "{", "char", "*", "overload_name", "=", "get_name", "(", "instance", ",", "true", ")", ";", "if", "(", "strcmp", "(", "name", ",", "overload_name", ")", "!=", "0", ")", "{", "tree", "attrs", "=", "get_attributes", "(", "instance", ")", ";", "add_function", "(", "instance", ",", "overload_name", ",", "fntype", ",", "attrs", ",", "required_extensions", ",", "false", ")", ";", "}", "}", "obstack_free", "(", "&", "m_string_obstack", ",", "name", ")", ";", "}", ""], "natrual_language": ["Add", "a", "built-in", "function", "for", "INSTANCE", ",", "with", "the", "argument", "types", "given", "by", "ARGUMENT_TYPES", "and", "the", "return", "type", "given", "by", "RETURN_TYPE", ".", "NAME", "is", "the", "``", "full", "''", "name", "for", "C", "function", ".", "OVERLOAD_NAME", "is", "the", "``", "short", "''", "name", "for", "C++", "overloaded", "function", ".", "OVERLOAD_NAME", "can", "be", "nullptr", "because", "some", "instance", "does", "n't", "have", "C++", "overloaded", "function", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64-sve-builtins", "Func": "add_unique_function", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7449, "Length": 187, "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", "->", "hasSuperClassEq", "(", "&", "ARM", "::", "tGPRRegClass", ")", "||", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "DestReg", ")", "&&", "isARMLowRegister", "(", "DestReg", ")", ")", ")", "&&", "\"Unknown regclass!\"", ")", ";", "if", "(", "RC", "->", "hasSuperClassEq", "(", "&", "ARM", "::", "tGPRRegClass", ")", "||", "(", "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", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tLDRspi", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "}", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM::tGPRRegClass", "ARM", "\"Unknown regclass!\"", "ARM::tGPRRegClass", "ARM", "ARM::tLDRspi", "0", "ARMCC::AL"], "File": "Thumb1InstrInfo10", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7450, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86LoadValueInjectionLoadHardeningPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** \"", "<<", "getPassName", "(", ")", "<<", "\" : \"", "<<", "MF", ".", "getName", "(", ")", "<<", "\" *****\\n\"", ")", ";", "STI", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "STI", "->", "useLVILoadHardening", "(", ")", ")", "return", "false", ";", "if", "(", "!", "STI", "->", "is64Bit", "(", ")", ")", "report_fatal_error", "(", "\"LVI load hardening is only supported on 64-bit\"", ",", "false", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "!", "F", ".", "hasOptNone", "(", ")", "&&", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "++", "NumFunctionsConsidered", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "STI", "->", "getRegisterInfo", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Building gadget graph...\\n\"", ")", ";", "const", "auto", "&", "MLI", "=", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "const", "auto", "&", "MDT", "=", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "const", "auto", "&", "MDF", "=", "getAnalysis", "<", "MachineDominanceFrontier", ">", "(", ")", ";", "std", "::", "unique_ptr", "<", "MachineGadgetGraph", ">", "Graph", "=", "getGadgetGraph", "(", "MF", ",", "MLI", ",", "MDT", ",", "MDF", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Building gadget graph... Done\\n\"", ")", ";", "if", "(", "Graph", "==", "nullptr", ")", "return", "false", ";", "if", "(", "EmitDotVerify", ")", "{", "writeGadgetGraph", "(", "outs", "(", ")", ",", "MF", ",", "Graph", ".", "get", "(", ")", ")", ";", "return", "false", ";", "}", "if", "(", "EmitDot", "||", "EmitDotOnly", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Emitting gadget graph...\\n\"", ")", ";", "std", "::", "error_code", "FileError", ";", "std", "::", "string", "FileName", "=", "\"lvi.\"", ";", "FileName", "+=", "MF", ".", "getName", "(", ")", ";", "FileName", "+=", "\".dot\"", ";", "raw_fd_ostream", "FileOut", "(", "FileName", ",", "FileError", ")", ";", "if", "(", "FileError", ")", "errs", "(", ")", "<<", "FileError", ".", "message", "(", ")", ";", "writeGadgetGraph", "(", "FileOut", ",", "MF", ",", "Graph", ".", "get", "(", ")", ")", ";", "FileOut", ".", "close", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Emitting gadget graph... Done\\n\"", ")", ";", "if", "(", "EmitDotOnly", ")", "return", "false", ";", "}", "int", "FencesInserted", ";", "if", "(", "!", "OptimizePluginPath", ".", "empty", "(", ")", ")", "{", "if", "(", "!", "OptimizeDL", ".", "isValid", "(", ")", ")", "{", "std", "::", "string", "ErrorMsg", ";", "OptimizeDL", "=", "llvm", "::", "sys", "::", "DynamicLibrary", "::", "getPermanentLibrary", "(", "OptimizePluginPath", ".", "c_str", "(", ")", ",", "&", "ErrorMsg", ")", ";", "if", "(", "!", "ErrorMsg", ".", "empty", "(", ")", ")", "report_fatal_error", "(", "\"Failed to load opt plugin: \\\"\"", "+", "ErrorMsg", "+", "'\\\"'", ")", ";", "OptimizeCut", "=", "(", "OptimizeCutT", ")", "OptimizeDL", ".", "getAddressOfSymbol", "(", "\"optimize_cut\"", ")", ";", "if", "(", "!", "OptimizeCut", ")", "report_fatal_error", "(", "\"Invalid optimization plugin\"", ")", ";", "}", "FencesInserted", "=", "hardenLoadsWithPlugin", "(", "MF", ",", "std", "::", "move", "(", "Graph", ")", ")", ";", "}", "else", "{", "FencesInserted", "=", "hardenLoadsWithHeuristic", "(", "MF", ",", "std", "::", "move", "(", "Graph", ")", ")", ";", "}", "if", "(", "FencesInserted", ">", "0", ")", "++", "NumFunctionsMitigated", ";", "NumFences", "+=", "FencesInserted", ";", "return", "(", "FencesInserted", ">", "0", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "\"***** \"", "\" : \"", "\" *****\\n\"", "X86", "\"LVI load hardening is only supported on 64-bit\"", "\"Building gadget graph...\\n\"", "\"Building gadget graph... Done\\n\"", "\"Emitting gadget graph...\\n\"", "\"lvi.\"", "\".dot\"", "\"Emitting gadget graph... Done\\n\"", "\"Failed to load opt plugin: \\\"\"", "\"optimize_cut\"", "\"Invalid optimization plugin\"", "0", "0"], "File": "X86LoadValueInjectionLoadHardening3", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7451, "Length": 466, "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": 7452, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "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": "ARMTargetTransformInfo23", "Func": "getIntImmCost", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7453, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmPrinter", "::", "emitBasicBlockEnd", "(", "const", "MachineBasicBlock", "&", "MBB", ")", "{", "if", "(", "Subtarget", "->", "hardenSlsRet", "(", ")", "||", "Subtarget", "->", "hardenSlsIJmp", "(", ")", ")", "{", "auto", "I", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "{", "if", "(", "(", "Subtarget", "->", "hardenSlsRet", "(", ")", "&&", "isSimpleReturn", "(", "*", "I", ")", ")", "||", "(", "Subtarget", "->", "hardenSlsIJmp", "(", ")", "&&", "isIndirectBranchOrTailCall", "(", "*", "I", ")", ")", ")", "{", "MCInst", "TmpInst", ";", "TmpInst", ".", "setOpcode", "(", "X86", "::", "INT3", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "TmpInst", ")", ";", "}", "}", "}", "AsmPrinter", "::", "emitBasicBlockEnd", "(", "MBB", ")", ";", "SMShadowTracker", ".", "emitShadowPadding", "(", "*", "OutStreamer", ",", "getSubtargetInfo", "(", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "can", "override", "this", "to", "emit", "stuff", "at", "the", "end", "of", "a", "basic", "block", "."], "TS_V_token": ["X86", "X86", "X86::INT3"], "File": "X86AsmPrinter50", "Func": "emitBasicBlockEnd", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7454, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "PPCRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "if", "(", "Subtarget", ".", "isAIXABI", "(", ")", "&&", "(", "Subtarget", ".", "hasAltivec", "(", ")", "&&", "!", "TM", ".", "getAIXExtendedAltivecABI", "(", ")", ")", ")", "report_fatal_error", "(", "\"the default AIX Altivec ABI is not yet \"", "\"supported.\"", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AnyReg", ")", "{", "if", "(", "!", "TM", ".", "isPPC64", "(", ")", "&&", "Subtarget", ".", "isAIXABI", "(", ")", ")", "report_fatal_error", "(", "\"AnyReg unimplemented on 32-bit AIX.\"", ")", ";", "if", "(", "Subtarget", ".", "hasVSX", "(", ")", ")", "return", "CSR_64_AllRegs_VSX_SaveList", ";", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "CSR_64_AllRegs_Altivec_SaveList", ";", "return", "CSR_64_AllRegs_SaveList", ";", "}", "bool", "SaveR2", "=", "MF", "->", "getRegInfo", "(", ")", ".", "isAllocatable", "(", "PPC", "::", "X2", ")", "&&", "!", "Subtarget", ".", "isUsingPCRelativeCalls", "(", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "Cold", ")", "{", "if", "(", "Subtarget", ".", "isAIXABI", "(", ")", ")", "report_fatal_error", "(", "\"Cold calling unimplemented on AIX.\"", ")", ";", "if", "(", "TM", ".", "isPPC64", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "SaveR2", "?", "CSR_SVR64_ColdCC_R2_Altivec_SaveList", ":", "CSR_SVR64_ColdCC_Altivec_SaveList", ";", "return", "SaveR2", "?", "CSR_SVR64_ColdCC_R2_SaveList", ":", "CSR_SVR64_ColdCC_SaveList", ";", "}", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "CSR_SVR32_ColdCC_Altivec_SaveList", ";", "else", "if", "(", "Subtarget", ".", "hasSPE", "(", ")", ")", "return", "CSR_SVR32_ColdCC_SPE_SaveList", ";", "return", "CSR_SVR32_ColdCC_SaveList", ";", "}", "if", "(", "TM", ".", "isPPC64", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "SaveR2", "?", "CSR_PPC64_R2_Altivec_SaveList", ":", "CSR_PPC64_Altivec_SaveList", ";", "return", "SaveR2", "?", "CSR_PPC64_R2_SaveList", ":", "CSR_PPC64_SaveList", ";", "}", "if", "(", "Subtarget", ".", "isAIXABI", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "CSR_AIX32_Altivec_SaveList", ";", "return", "CSR_AIX32_SaveList", ";", "}", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "CSR_SVR432_Altivec_SaveList", ";", "else", "if", "(", "Subtarget", ".", "hasSPE", "(", ")", ")", "return", "CSR_SVR432_SPE_SaveList", ";", "return", "CSR_SVR432_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "\"the default AIX Altivec ABI is not yet \"", "\"supported.\"", "PPC", "\"AnyReg unimplemented on 32-bit AIX.\"", "PPC::X2", "\"Cold calling unimplemented on AIX.\"", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC"], "File": "PPCRegisterInfo40", "Func": "getCalleeSavedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7455, "Length": 315, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "Thumb1RegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "return", "&", "ARM", "::", "tGPRRegClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["ARM", "ARM::tGPRRegClass"], "File": "Thumb1RegisterInfo", "Func": "getPointerRegClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7456, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "X86TargetLowering", "::", "getPICJumpTableRelocBase", "(", "SDValue", "Table", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "is64Bit", "(", ")", ")", "return", "DAG", ".", "getNode", "(", "X86ISD", "::", "GlobalBaseReg", ",", "SDLoc", "(", ")", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ";", "return", "Table", ";", "}", ""], "natrual_language": ["Returns", "relocation", "base", "for", "the", "given", "PIC", "jumptable", "."], "TS_V_token": ["X86", "X86", "X86ISD::GlobalBaseReg"], "File": "X86ISelLowering (2)5", "Func": "getPICJumpTableRelocBase", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7457, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "OR1KInstPrinter", "::", "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": ["OR1K", "OR1K"], "File": "OR1KInstPrinter1", "Func": "printInst", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7458, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCHazardRecognizer970", "::", "EmitInstruction", "(", "SUnit", "*", "SU", ")", "{", "MachineInstr", "*", "MI", "=", "SU", "->", "getInstr", "(", ")", ";", "if", "(", "MI", "->", "isDebugInstr", "(", ")", ")", "return", ";", "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", ";", "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", "PPCII::PPC970_Unit", "PPCII::PPC970_Pseudo", "PPC::MTCTR", "PPC::MTCTR8", "4", "PPCII::PPC970_BRU", "4", "5"], "File": "PPCHazardRecognizers", "Func": "EmitInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7459, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "ix86_convert_const_vector_to_integer", "(", "rtx", "op", ",", "machine_mode", "mode", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "UNITS_PER_WORD", ")", "gcc_unreachable", "(", ")", ";", "int", "nunits", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "wide_int", "val", "=", "wi", "::", "zero", "(", "GET_MODE_BITSIZE", "(", "mode", ")", ")", ";", "machine_mode", "innermode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "unsigned", "int", "innermode_bits", "=", "GET_MODE_BITSIZE", "(", "innermode", ")", ";", "switch", "(", "mode", ")", "{", "case", "E_V2QImode", ":", "case", "E_V4QImode", ":", "case", "E_V2HImode", ":", "case", "E_V8QImode", ":", "case", "E_V4HImode", ":", "case", "E_V2SImode", ":", "for", "(", "int", "i", "=", "0", ";", "i", "<", "nunits", ";", "++", "i", ")", "{", "int", "v", "=", "INTVAL", "(", "XVECEXP", "(", "op", ",", "0", ",", "i", ")", ")", ";", "wide_int", "wv", "=", "wi", "::", "shwi", "(", "v", ",", "innermode_bits", ")", ";", "val", "=", "wi", "::", "insert", "(", "val", ",", "wv", ",", "innermode_bits", "*", "i", ",", "innermode_bits", ")", ";", "}", "break", ";", "case", "E_V2HFmode", ":", "case", "E_V2BFmode", ":", "case", "E_V4HFmode", ":", "case", "E_V4BFmode", ":", "case", "E_V2SFmode", ":", "for", "(", "int", "i", "=", "0", ";", "i", "<", "nunits", ";", "++", "i", ")", "{", "rtx", "x", "=", "XVECEXP", "(", "op", ",", "0", ",", "i", ")", ";", "int", "v", "=", "real_to_target", "(", "NULL", ",", "CONST_DOUBLE_REAL_VALUE", "(", "x", ")", ",", "REAL_MODE_FORMAT", "(", "innermode", ")", ")", ";", "wide_int", "wv", "=", "wi", "::", "shwi", "(", "v", ",", "innermode_bits", ")", ";", "val", "=", "wi", "::", "insert", "(", "val", ",", "wv", ",", "innermode_bits", "*", "i", ",", "innermode_bits", ")", ";", "}", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "val", ".", "to_shwi", "(", ")", ";", "}", ""], "natrual_language": ["Return", "HOST_WIDE_INT", "for", "const", "vector", "OP", "in", "MODE", "."], "TS_V_token": ["i386", "0", "0", "0", "0"], "File": "i3861", "Func": "ix86_convert_const_vector_to_integer", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7460, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "MMIXRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "return", "CSR_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["MMIX", "MMIX"], "File": "MMIXRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7461, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86WinAllocaExpander", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "!", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "hasWinAlloca", "(", ")", ")", "return", "false", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "STI", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "STI", "->", "getRegisterInfo", "(", ")", ";", "StackPtr", "=", "TRI", "->", "getStackRegister", "(", ")", ";", "SlotSize", "=", "TRI", "->", "getSlotSize", "(", ")", ";", "StackProbeSize", "=", "4096", ";", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"stack-probe-size\"", ")", ")", "{", "MF", ".", "getFunction", "(", ")", ".", "getFnAttribute", "(", "\"stack-probe-size\"", ")", ".", "getValueAsString", "(", ")", ".", "getAsInteger", "(", "0", ",", "StackProbeSize", ")", ";", "}", "LoweringMap", "Lowerings", ";", "computeLowerings", "(", "MF", ",", "Lowerings", ")", ";", "for", "(", "auto", "&", "P", ":", "Lowerings", ")", "lower", "(", "P", ".", "first", ",", "P", ".", "second", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "4096", "\"stack-probe-size\"", "\"stack-probe-size\"", "0"], "File": "X86WinAllocaExpander6", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7462, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StackOffset", "X86FrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "Register", "&", "FrameReg", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "bool", "IsFixed", "=", "MFI", ".", "isFixedObjectIndex", "(", "FI", ")", ";", "if", "(", "TRI", "->", "hasBasePointer", "(", "MF", ")", ")", "FrameReg", "=", "IsFixed", "?", "TRI", "->", "getFramePtr", "(", ")", ":", "TRI", "->", "getBaseRegister", "(", ")", ";", "else", "if", "(", "TRI", "->", "hasStackRealignment", "(", "MF", ")", ")", "FrameReg", "=", "IsFixed", "?", "TRI", "->", "getFramePtr", "(", ")", ":", "TRI", "->", "getStackRegister", "(", ")", ";", "else", "FrameReg", "=", "TRI", "->", "getFrameRegister", "(", "MF", ")", ";", "int", "Offset", "=", "MFI", ".", "getObjectOffset", "(", "FI", ")", "-", "getOffsetOfLocalArea", "(", ")", ";", "const", "X86MachineFunctionInfo", "*", "X86FI", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "unsigned", "CSSize", "=", "X86FI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "bool", "HasFP", "=", "hasFP", "(", "MF", ")", ";", "bool", "IsWin64Prologue", "=", "MF", ".", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", "->", "usesWindowsCFI", "(", ")", ";", "int64_t", "FPDelta", "=", "0", ";", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "X86_INTR", "&&", "Offset", ">=", "0", ")", "{", "Offset", "+=", "getOffsetOfLocalArea", "(", ")", ";", "}", "if", "(", "IsWin64Prologue", ")", "{", "assert", "(", "!", "MFI", ".", "hasCalls", "(", ")", "||", "(", "StackSize", "%", "16", ")", "==", "8", ")", ";", "uint64_t", "FrameSize", "=", "StackSize", "-", "SlotSize", ";", "if", "(", "X86FI", "->", "getRestoreBasePointer", "(", ")", ")", "FrameSize", "+=", "SlotSize", ";", "uint64_t", "NumBytes", "=", "FrameSize", "-", "CSSize", ";", "uint64_t", "SEHFrameOffset", "=", "calculateSetFPREG", "(", "NumBytes", ")", ";", "if", "(", "FI", "&&", "FI", "==", "X86FI", "->", "getFAIndex", "(", ")", ")", "return", "StackOffset", "::", "getFixed", "(", "-", "SEHFrameOffset", ")", ";", "FPDelta", "=", "FrameSize", "-", "SEHFrameOffset", ";", "assert", "(", "(", "!", "MFI", ".", "hasCalls", "(", ")", "||", "(", "FPDelta", "%", "16", ")", "==", "0", ")", "&&", "\"FPDelta isn't aligned per the Win64 ABI!\"", ")", ";", "}", "if", "(", "TRI", "->", "hasBasePointer", "(", "MF", ")", ")", "{", "assert", "(", "HasFP", "&&", "\"VLAs and dynamic stack realign, but no FP?!\"", ")", ";", "if", "(", "FI", "<", "0", ")", "{", "return", "StackOffset", "::", "getFixed", "(", "Offset", "+", "SlotSize", "+", "FPDelta", ")", ";", "}", "else", "{", "assert", "(", "isAligned", "(", "MFI", ".", "getObjectAlign", "(", "FI", ")", ",", "-", "(", "Offset", "+", "StackSize", ")", ")", ")", ";", "return", "StackOffset", "::", "getFixed", "(", "Offset", "+", "StackSize", ")", ";", "}", "}", "else", "if", "(", "TRI", "->", "hasStackRealignment", "(", "MF", ")", ")", "{", "if", "(", "FI", "<", "0", ")", "{", "return", "StackOffset", "::", "getFixed", "(", "Offset", "+", "SlotSize", "+", "FPDelta", ")", ";", "}", "else", "{", "assert", "(", "isAligned", "(", "MFI", ".", "getObjectAlign", "(", "FI", ")", ",", "-", "(", "Offset", "+", "StackSize", ")", ")", ")", ";", "return", "StackOffset", "::", "getFixed", "(", "Offset", "+", "StackSize", ")", ";", "}", "}", "else", "{", "if", "(", "!", "HasFP", ")", "return", "StackOffset", "::", "getFixed", "(", "Offset", "+", "StackSize", ")", ";", "Offset", "+=", "SlotSize", ";", "int", "TailCallReturnAddrDelta", "=", "X86FI", "->", "getTCReturnAddrDelta", "(", ")", ";", "if", "(", "TailCallReturnAddrDelta", "<", "0", ")", "Offset", "-=", "TailCallReturnAddrDelta", ";", "}", "return", "StackOffset", "::", "getFixed", "(", "Offset", "+", "FPDelta", ")", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86", "0", "X86", "0", "16", "8", "X86", "X86", "16", "0", "\"FPDelta isn't aligned per the Win64 ABI!\"", "\"VLAs and dynamic stack realign, but no FP?!\"", "0", "0", "X86", "0"], "File": "X86FrameLowering26", "Func": "getFrameIndexReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7463, "Length": 500, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mem_operand_gpr", "(", "rtx", "op", ",", "machine_mode", "mode", ")", "{", "unsigned", "HOST_WIDE_INT", "offset", ";", "int", "extra", ";", "rtx", "addr", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "TARGET_UPDATE", "&&", "(", "GET_CODE", "(", "addr", ")", "==", "PRE_INC", "||", "GET_CODE", "(", "addr", ")", "==", "PRE_DEC", ")", "&&", "mode_supports_pre_incdec_p", "(", "mode", ")", "&&", "legitimate_indirect_address_p", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "false", ")", ")", "return", "true", ";", "if", "(", "!", "rs6000_offsettable_memref_p", "(", "op", ",", "mode", ",", "false", ")", ")", "return", "false", ";", "op", "=", "address_offset", "(", "addr", ")", ";", "if", "(", "op", "==", "NULL_RTX", ")", "return", "true", ";", "offset", "=", "INTVAL", "(", "op", ")", ";", "if", "(", "TARGET_POWERPC64", "&&", "(", "offset", "&", "3", ")", "!=", "0", ")", "return", "false", ";", "extra", "=", "GET_MODE_SIZE", "(", "mode", ")", "-", "UNITS_PER_WORD", ";", "if", "(", "extra", "<", "0", ")", "extra", "=", "0", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "LO_SUM", ")", "offset", "=", "(", "(", "offset", "&", "0xffff", ")", "^", "0x8000", ")", "-", "0x8000", ";", "return", "offset", "+", "0x8000", "<", "0x10000u", "-", "extra", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "MEM", "operand", "is", "a", "memory", "operand", "suitable", "for", "use", "with", "a", "(", "full", "width", ",", "possibly", "multiple", ")", "gpr", "load/store", ".", "On", "powerpc64", "this", "means", "the", "offset", "must", "be", "divisible", "by", "4", ".", "Implements", "'", "Y", "'", "constraint", ".", "Accept", "direct", ",", "indexed", ",", "offset", ",", "lo_sum", "and", "tocref", ".", "Since", "this", "is", "a", "constraint", "function", "we", "know", "the", "operand", "has", "satisfied", "a", "suitable", "memory", "predicate", ".", "Offsetting", "a", "lo_sum", "should", "not", "be", "allowed", ",", "except", "where", "we", "know", "by", "alignment", "that", "a", "32k", "boundary", "is", "not", "crossed", ".", "Note", "that", "by", "``", "offsetting", "''", "here", "we", "mean", "a", "further", "offset", "to", "access", "parts", "of", "the", "MEM", ".", "It", "'s", "fine", "to", "have", "a", "lo_sum", "where", "the", "inner", "address", "is", "offset", "from", "a", "sym", ",", "since", "the", "same", "sym+offset", "will", "appear", "in", "the", "high", "part", "of", "the", "address", "calculation", "."], "TS_V_token": ["rs6000", "0", "0", "3", "0", "0", "0", "0xffff", "0x8000", "0x8000", "0x8000", "0x10000u"], "File": "rs60008", "Func": "mem_operand_gpr", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7464, "Length": 172, "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", ")", ",", "HasFRE", "(", "false", ")", ",", "HasFRES", "(", "false", ")", ",", "HasFRSQRTE", "(", "false", ")", ",", "HasFRSQRTES", "(", "false", ")", ",", "HasRecipPrec", "(", "false", ")", ",", "HasSTFIWX", "(", "false", ")", ",", "HasLFIWAX", "(", "false", ")", ",", "HasFPRND", "(", "false", ")", ",", "HasFPCVT", "(", "false", ")", ",", "HasISEL", "(", "false", ")", ",", "HasPOPCNTD", "(", "false", ")", ",", "HasLDBRX", "(", "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": "PPCSubtarget85", "Func": "PPCSubtarget", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7465, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ComplexPatternFuncMutatesDAG", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "complex", "patterns", "for", "this", "target", "can", "mutate", "the", "DAG", "."], "TS_V_token": ["ARM"], "File": "ARMISelDAGToDAG10", "Func": "ComplexPatternFuncMutatesDAG", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7466, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MLxExpansion", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "TII", "=", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "Fn", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "Fn", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "Fn", ".", "getRegInfo", "(", ")", ";", "const", "ARMSubtarget", "*", "STI", "=", "&", "Fn", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "isLikeA9", "=", "STI", "->", "isLikeA9", "(", ")", "||", "STI", "->", "isSwift", "(", ")", ";", "isSwift", "=", "STI", "->", "isSwift", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "Fn", ")", "Modified", "|=", "ExpandFPMLxInstructions", "(", "MBB", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "MLxExpansionPass21", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7467, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_return_in_msb", "(", "const_tree", "valtype", ")", "{", "return", "(", "TARGET_AAPCS_BASED", "&&", "BYTES_BIG_ENDIAN", "&&", "(", "AGGREGATE_TYPE_P", "(", "valtype", ")", "||", "TREE_CODE", "(", "valtype", ")", "==", "COMPLEX_TYPE", "||", "FIXED_POINT_TYPE_P", "(", "valtype", ")", ")", ")", ";", "}", ""], "natrual_language": ["Values", "which", "must", "be", "returned", "in", "the", "most-significant", "end", "of", "the", "return", "register", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_return_in_msb", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7468, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64InstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "getRegisterName", "(", "RegNo", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64InstPrinter (2)", "Func": "printRegName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7469, "Length": 22, "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": 7470, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "rtx_code", "ix86_prepare_fp_compare_args", "(", "enum", "rtx_code", "code", ",", "rtx", "*", "pop0", ",", "rtx", "*", "pop1", ")", "{", "bool", "unordered_compare", "=", "ix86_unordered_fp_compare", "(", "code", ")", ";", "rtx", "op0", "=", "*", "pop0", ",", "op1", "=", "*", "pop1", ";", "machine_mode", "op_mode", "=", "GET_MODE", "(", "op0", ")", ";", "bool", "is_sse", "=", "SSE_FLOAT_MODE_SSEMATH_OR_HF_P", "(", "op_mode", ")", ";", "if", "(", "!", "is_sse", "&&", "(", "unordered_compare", "||", "(", "op_mode", "==", "XFmode", "&&", "!", "(", "standard_80387_constant_p", "(", "op0", ")", "==", "1", "||", "standard_80387_constant_p", "(", "op1", ")", "==", "1", ")", "&&", "GET_CODE", "(", "op1", ")", "!=", "FLOAT", ")", "||", "ix86_fp_comparison_strategy", "(", "code", ")", "==", "IX86_FPCMP_COMI", ")", ")", "{", "op0", "=", "force_reg", "(", "op_mode", ",", "op0", ")", ";", "op1", "=", "force_reg", "(", "op_mode", ",", "op1", ")", ";", "}", "else", "{", "if", "(", "standard_80387_constant_p", "(", "op0", ")", "==", "0", "||", "(", "MEM_P", "(", "op0", ")", "&&", "!", "(", "standard_80387_constant_p", "(", "op1", ")", "==", "0", "||", "MEM_P", "(", "op1", ")", ")", ")", ")", "{", "enum", "rtx_code", "new_code", "=", "ix86_fp_swap_condition", "(", "code", ")", ";", "if", "(", "new_code", "!=", "UNKNOWN", ")", "{", "std", "::", "swap", "(", "op0", ",", "op1", ")", ";", "code", "=", "new_code", ";", "}", "}", "if", "(", "!", "REG_P", "(", "op0", ")", ")", "op0", "=", "force_reg", "(", "op_mode", ",", "op0", ")", ";", "if", "(", "CONSTANT_P", "(", "op1", ")", ")", "{", "int", "tmp", "=", "standard_80387_constant_p", "(", "op1", ")", ";", "if", "(", "tmp", "==", "0", ")", "op1", "=", "validize_mem", "(", "force_const_mem", "(", "op_mode", ",", "op1", ")", ")", ";", "else", "if", "(", "tmp", "==", "1", ")", "{", "if", "(", "TARGET_CMOVE", ")", "op1", "=", "force_reg", "(", "op_mode", ",", "op1", ")", ";", "}", "else", "op1", "=", "force_reg", "(", "op_mode", ",", "op1", ")", ";", "}", "}", "if", "(", "ix86_fp_comparison_cost", "(", "code", ")", ">", "ix86_fp_comparison_cost", "(", "swap_condition", "(", "code", ")", ")", "&&", "(", "REG_P", "(", "op1", ")", "||", "can_create_pseudo_p", "(", ")", ")", ")", "{", "std", "::", "swap", "(", "op0", ",", "op1", ")", ";", "code", "=", "swap_condition", "(", "code", ")", ";", "if", "(", "!", "REG_P", "(", "op0", ")", ")", "op0", "=", "force_reg", "(", "op_mode", ",", "op0", ")", ";", "}", "*", "pop0", "=", "op0", ";", "*", "pop1", "=", "op1", ";", "return", "code", ";", "}", ""], "natrual_language": ["Swap", ",", "force", "into", "registers", ",", "or", "otherwise", "massage", "the", "two", "operands", "to", "a", "fp", "comparison", ".", "The", "operands", "are", "updated", "in", "place", ";", "the", "new", "comparsion", "code", "is", "returned", "."], "TS_V_token": ["i386", "1", "1", "0", "0", "0", "1"], "File": "i386-expand", "Func": "ix86_prepare_fp_compare_args", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7471, "Length": 344, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SystemZTTIImpl", "::", "getNumberOfRegisters", "(", "unsigned", "ClassID", ")", "const", "{", "bool", "Vector", "=", "(", "ClassID", "==", "1", ")", ";", "if", "(", "!", "Vector", ")", "return", "14", ";", "if", "(", "ST", "->", "hasVector", "(", ")", ")", "return", "32", ";", "return", "0", ";", "}", ""], "natrual_language": ["\ufffd", "?", "Vector", "TTI", "begin", "\ufffd", "?"], "TS_V_token": ["SystemZ", "SystemZ", "1", "14", "32", "0"], "File": "SystemZTargetTransformInfo", "Func": "getNumberOfRegisters", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7472, "Length": 42, "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": "MipsSEFrameLowering1", "Func": "spillCalleeSavedRegisters", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7473, "Length": 352, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_prepare_sve_int_fma", "(", "rtx", "*", "operands", ",", "rtx_code", "code", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", ";", "if", "(", "rtx", "shifts", "=", "aarch64_convert_mult_to_shift", "(", "operands", "[", "2", "]", ",", "code", ")", ")", "{", "rtx", "product", "=", "expand_binop", "(", "mode", ",", "vashl_optab", ",", "operands", "[", "1", "]", ",", "shifts", ",", "NULL_RTX", ",", "true", ",", "OPTAB_DIRECT", ")", ";", "force_expand_binop", "(", "mode", ",", "code", "==", "PLUS", "?", "add_optab", ":", "sub_optab", ",", "operands", "[", "3", "]", ",", "product", ",", "operands", "[", "0", "]", ",", "true", ",", "OPTAB_DIRECT", ")", ";", "return", "true", ";", "}", "operands", "[", "2", "]", "=", "force_reg", "(", "mode", ",", "operands", "[", "2", "]", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Prepare", "for", "an", "integer", "SVE", "multiply-add", "or", "multiply-subtract", "pattern", ";", "CODE", "is", "PLUS", "for", "the", "former", "and", "MINUS", "for", "the", "latter", ".", "OPERANDS", "is", "the", "operands", "array", ",", "in", "the", "same", "order", "as", "for", "fma_optab", ".", "Return", "true", "if", "the", "function", "emitted", "all", "the", "necessary", "instructions", ",", "false", "if", "the", "caller", "should", "generate", "the", "pattern", "normally", "with", "the", "new", "OPERANDS", "array", "."], "TS_V_token": ["aarch64", "0", "2", "1", "3", "0", "2", "2"], "File": "aarch64", "Func": "aarch64_prepare_sve_int_fma", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7474, "Length": 113, "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", "(", ")", ";", "bool", "isFixed", "=", "MFI", ".", "isFixedObjectIndex", "(", "FI", ")", ";", "int64_t", "FrameOffset", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectOffset", "(", "FI", ")", ";", "if", "(", "!", "hasFP", "(", "MF", ")", ")", "{", "FrameReg", "=", "VE", "::", "SX11", ";", "return", "StackOffset", "::", "getFixed", "(", "FrameOffset", "+", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ")", ";", "}", "if", "(", "RegInfo", "->", "hasStackRealignment", "(", "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::SX11", "VE::SX17", "VE::SX11"], "File": "VEFrameLowering5", "Func": "getFrameIndexReference", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7475, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1FrameLowering", "::", "hasReservedCallFrame", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "FFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "CFSize", "=", "FFI", "->", "getMaxCallFrameSize", "(", ")", ";", "if", "(", "CFSize", ">=", "(", "(", "1", "<<", "8", ")", "-", "1", ")", "*", "4", "/", "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", "1", "8", "1", "4", "2"], "File": "Thumb1FrameLowering38", "Func": "hasReservedCallFrame", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7476, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pa_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_PORTABLE_RUNTIME", ")", "return", "false", ";", "if", "(", "TARGET_ELF32", ")", "return", "(", "decl", "!=", "NULL_TREE", ")", ";", "if", "(", "TARGET_64BIT", ")", "return", "false", ";", "return", "(", "decl", "&&", "!", "TREE_PUBLIC", "(", "decl", ")", ")", ";", "}", ""], "natrual_language": ["Only", "direct", "calls", "to", "static", "functions", "are", "allowed", "to", "be", "sibling", "(", "tail", ")", "call", "optimized", ".", "This", "restriction", "is", "necessary", "because", "some", "linker", "generated", "stubs", "will", "store", "return", "pointers", "into", "rp", "'", "in", "some", "cases", "which", "might", "clobber", "a", "live", "value", "already", "in", "rp", "'", ".", "In", "a", "sibcall", "the", "current", "function", "and", "the", "target", "function", "share", "stack", "space", ".", "Thus", "if", "the", "path", "to", "the", "current", "function", "and", "the", "path", "to", "the", "target", "function", "save", "a", "value", "in", "rp", "'", ",", "they", "save", "the", "value", "into", "the", "same", "stack", "slot", ",", "which", "has", "undesirable", "consequences", ".", "Because", "of", "the", "deferred", "binding", "nature", "of", "shared", "libraries", "any", "function", "with", "external", "scope", "could", "be", "in", "a", "different", "load", "module", "and", "thus", "require", "rp", "'", "to", "be", "saved", "when", "calling", "that", "function", ".", "So", "sibcall", "optimizations", "can", "only", "be", "safe", "for", "static", "function", ".", "Note", "that", "GCC", "never", "needs", "return", "value", "relocations", ",", "so", "we", "do", "n't", "have", "to", "worry", "about", "static", "calls", "with", "return", "value", "relocations", "(", "which", "require", "saving", "rp", "'", ")", ".", "It", "is", "safe", "to", "perform", "a", "sibcall", "optimization", "when", "the", "target", "function", "will", "never", "return", "."], "TS_V_token": ["pa"], "File": "pa3", "Func": "pa_function_ok_for_sibcall", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7477, "Length": 49, "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", "(", "SYMBOL_REF_P", "(", "symbol", ")", ")", "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": ["rs6000", "\"\\ncreate_TOC_reference, (symbol_ref %s)\\n\"", "0", "\"\\ncreate_TOC_reference, code %s:\\n\"", "2"], "File": "rs60008", "Func": "create_TOC_reference", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7478, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "return", "FramePtr", ";", "return", "ARM", "::", "SP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["ARM", "ARM", "ARM::SP"], "File": "ARMBaseRegisterInfo1", "Func": "getFrameRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7479, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_effective_regno", "(", "rtx", "op", ",", "bool", "strict", ")", "{", "gcc_assert", "(", "REG_P", "(", "op", ")", ")", ";", "if", "(", "!", "strict", "||", "REGNO", "(", "op", ")", "<", "FIRST_PSEUDO_REGISTER", "||", "!", "reg_renumber", "||", "reg_renumber", "[", "REGNO", "(", "op", ")", "]", "<", "0", ")", "return", "REGNO", "(", "op", ")", ";", "return", "reg_renumber", "[", "REGNO", "(", "op", ")", "]", ";", "}", ""], "natrual_language": ["In", "non-STRICT", "mode", ",", "return", "the", "register", "number", ";", "in", "STRICT", "mode", "return", "the", "hard", "regno", "or", "the", "replacement", "if", "it", "wo", "n't", "be", "a", "mem", ".", "Otherwise", ",", "return", "the", "original", "pseudo", "number", "."], "TS_V_token": ["arm", "0"], "File": "arm1", "Func": "arm_effective_regno", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7480, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86InstrInfo", "::", "getSPAdjust", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "const", "MachineFunction", "*", "MF", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", "->", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "getCallFrameSetupOpcode", "(", ")", "||", "MI", ".", "getOpcode", "(", ")", "==", "getCallFrameDestroyOpcode", "(", ")", ")", "{", "unsigned", "StackAlign", "=", "TFI", "->", "getStackAlignment", "(", ")", ";", "int", "SPAdj", "=", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", "+", "StackAlign", "-", "1", ")", "/", "StackAlign", "*", "StackAlign", ";", "SPAdj", "-=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "getCallFrameSetupOpcode", "(", ")", ")", "return", "SPAdj", ";", "else", "return", "-", "SPAdj", ";", "}", "if", "(", "MI", ".", "isCall", "(", ")", ")", "{", "const", "MachineBasicBlock", "*", "MBB", "=", "MI", ".", "getParent", "(", ")", ";", "auto", "I", "=", "++", "MachineBasicBlock", "::", "const_iterator", "(", "MI", ")", ";", "for", "(", "auto", "E", "=", "MBB", "->", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "getCallFrameDestroyOpcode", "(", ")", "||", "I", "->", "isCall", "(", ")", ")", "break", ";", "}", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "getCallFrameDestroyOpcode", "(", ")", ")", "return", "0", ";", "return", "-", "(", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ")", ";", "}", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "X86", "::", "PUSH32i8", ":", "case", "X86", "::", "PUSH32r", ":", "case", "X86", "::", "PUSH32rmm", ":", "case", "X86", "::", "PUSH32rmr", ":", "case", "X86", "::", "PUSHi32", ":", "return", "4", ";", "case", "X86", "::", "PUSH64i8", ":", "case", "X86", "::", "PUSH64r", ":", "case", "X86", "::", "PUSH64rmm", ":", "case", "X86", "::", "PUSH64rmr", ":", "case", "X86", "::", "PUSH64i32", ":", "return", "8", ";", "}", "}", ""], "natrual_language": ["getSPAdjust", "-", "This", "returns", "the", "stack", "pointer", "adjustment", "made", "by", "this", "instruction", "."], "TS_V_token": ["X86", "X86", "0", "1", "1", "0", "1", "0", "X86::PUSH32i8", "X86::PUSH32r", "X86::PUSH32rmm", "X86::PUSH32rmr", "X86::PUSHi32", "4", "X86::PUSH64i8", "X86::PUSH64r", "X86::PUSH64rmm", "X86::PUSH64rmr", "X86::PUSH64i32", "8"], "File": "X86InstrInfo (2)1", "Func": "getSPAdjust", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7481, "Length": 306, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "x86_print_call_or_nop", "(", "FILE", "*", "file", ",", "const", "char", "*", "target", ")", "{", "if", "(", "flag_nop_mcount", "||", "!", "strcmp", "(", "target", ",", "\"nop\"", ")", ")", "fprintf", "(", "file", ",", "\"1:\"", "ASM_BYTE", "\"0x0f, 0x1f, 0x44, 0x00, 0x00\\n\"", ")", ";", "else", "fprintf", "(", "file", ",", "\"1:\\tcall\\t%s\\n\"", ",", "target", ")", ";", "}", ""], "natrual_language": ["Print", "call", "to", "TARGET", "to", "FILE", "."], "TS_V_token": ["i386", "\"nop\"", "\"1:\"", "\"0x0f, 0x1f, 0x44, 0x00, 0x00\\n\"", "\"1:\\tcall\\t%s\\n\""], "File": "i386", "Func": "x86_print_call_or_nop", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7482, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "std", "::", "unique_ptr", "<", "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!\"", ")", ";", "auto", "Res", "=", "llvm", "::", "make_unique", "<", "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"], "File": "X86Operand", "Func": "CreateMem", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7483, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ia64_emit_cond_move", "(", "rtx", "op0", ",", "rtx", "op1", ",", "rtx", "cond", ")", "{", "rtx_insn", "*", "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": "ia64", "Func": "ia64_emit_cond_move", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7484, "Length": 78, "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": 7485, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "aarch64_vec_fpconst_pow_of_2", "(", "rtx", "x", ")", "{", "int", "nelts", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "CONST_VECTOR", "||", "!", "CONST_VECTOR_NUNITS", "(", "x", ")", ".", "is_constant", "(", "&", "nelts", ")", ")", "return", "-", "1", ";", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "x", ")", ")", "!=", "MODE_VECTOR_FLOAT", ")", "return", "-", "1", ";", "int", "firstval", "=", "aarch64_fpconst_pow_of_2", "(", "CONST_VECTOR_ELT", "(", "x", ",", "0", ")", ")", ";", "if", "(", "firstval", "<=", "0", ")", "return", "-", "1", ";", "for", "(", "int", "i", "=", "1", ";", "i", "<", "nelts", ";", "i", "++", ")", "if", "(", "aarch64_fpconst_pow_of_2", "(", "CONST_VECTOR_ELT", "(", "x", ",", "i", ")", ")", "!=", "firstval", ")", "return", "-", "1", ";", "return", "firstval", ";", "}", ""], "natrual_language": ["If", "X", "is", "a", "vector", "of", "equal", "CONST_DOUBLE", "values", "and", "that", "value", "is", "Y", ",", "return", "the", "aarch64_fpconst_pow_of_2", "of", "Y", ".", "Otherwise", "return", "-1", "."], "TS_V_token": ["aarch64", "1", "1", "0", "0", "1", "1", "1"], "File": "aarch64", "Func": "aarch64_vec_fpconst_pow_of_2", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7486, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "nds32_output_casesi_pc_relative", "(", "rtx", "*", "operands", ")", "{", "machine_mode", "mode", ";", "rtx", "diff_vec", ";", "diff_vec", "=", "PATTERN", "(", "NEXT_INSN", "(", "as_a", "<", "rtx_insn", "*", ">", "(", "operands", "[", "1", "]", ")", ")", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "diff_vec", ")", "==", "ADDR_DIFF_VEC", ")", ";", "output_asm_insn", "(", "\"la\\t$ta, %l1\"", ",", "operands", ")", ";", "mode", "=", "GET_MODE", "(", "diff_vec", ")", ";", "switch", "(", "mode", ")", "{", "case", "QImode", ":", "output_asm_insn", "(", "\"lb\\t%2, [$ta + %0 << 0]\"", ",", "operands", ")", ";", "break", ";", "case", "HImode", ":", "output_asm_insn", "(", "\"lh\\t%2, [$ta + %0 << 1]\"", ",", "operands", ")", ";", "break", ";", "case", "SImode", ":", "output_asm_insn", "(", "\"lw\\t%2, [$ta + %0 << 2]\"", ",", "operands", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "output_asm_insn", "(", "\"add\\t$ta, %2, $ta\"", ",", "operands", ")", ";", "if", "(", "TARGET_16_BIT", ")", "return", "\"jr5\\t$ta\"", ";", "else", "return", "\"jr\\t$ta\"", ";", "}", ""], "natrual_language": ["Function", "to", "generate", "PC", "relative", "jump", "table", ".", "Refer", "to", "nds32.md", "for", "more", "details", ".", "The", "following", "is", "the", "sample", "for", "the", "case", "that", "diff", "value", "can", "be", "presented", "in", "'.short", "'", "size", ".", "addi", "$", "r1", ",", "$", "r1", ",", "-", "(", "case_lower_bound", ")", "slti", "$", "ta", ",", "$", "r1", ",", "(", "case_number", ")", "beqz", "$", "ta", ",", ".L_skip_label", "la", "$", "ta", ",", ".L35", "!", "get", "jump", "table", "address", "lh", "$", "r1", ",", "[", "$", "ta", "+", "$", "r1", "<", "<", "1", "]", "!", "load", "symbol", "diff", "from", "jump", "table", "entry", "addi", "$", "ta", ",", "$", "r1", ",", "$", "ta", "jr5", "$", "ta", "!", "jump", "table", "entry", "L35", ":", ".short", ".L25-.L35", ".short", ".L26-.L35", ".short", ".L27-.L35", ".short", ".L28-.L35", ".short", ".L29-.L35", ".short", ".L30-.L35", ".short", ".L31-.L35", ".short", ".L32-.L35", ".short", ".L33-.L35", ".short", ".L34-.L35"], "TS_V_token": ["nds32", "1", "\"la\\t$ta, %l1\"", "\"lb\\t%2, [$ta + %0 << 0]\"", "\"lh\\t%2, [$ta + %0 << 1]\"", "\"lw\\t%2, [$ta + %0 << 2]\"", "\"add\\t$ta, %2, $ta\"", "\"jr5\\t$ta\"", "\"jr\\t$ta\""], "File": "nds32-md-auxiliary2", "Func": "nds32_output_casesi_pc_relative", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7487, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_emit_load_exclusive", "(", "machine_mode", "mode", ",", "rtx", "rval", ",", "rtx", "mem", ",", "rtx", "model_rtx", ")", "{", "emit_insn", "(", "gen_aarch64_load_exclusive", "(", "mode", ",", "rval", ",", "mem", ",", "model_rtx", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "load", "exclusive", "."], "TS_V_token": ["aarch64"], "File": "aarch646", "Func": "aarch64_emit_load_exclusive", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7488, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_secondary_reload_simple_move", "(", "enum", "rs6000_reg_type", "to_type", ",", "enum", "rs6000_reg_type", "from_type", ",", "machine_mode", "mode", ")", "{", "int", "size", ";", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "TARGET_DIRECT_MOVE", "&&", "(", "(", "mode", "==", "SDmode", ")", "||", "(", "TARGET_POWERPC64", "&&", "size", "==", "8", ")", ")", "&&", "(", "(", "to_type", "==", "GPR_REG_TYPE", "&&", "from_type", "==", "VSX_REG_TYPE", ")", "||", "(", "to_type", "==", "VSX_REG_TYPE", "&&", "from_type", "==", "GPR_REG_TYPE", ")", ")", ")", "return", "true", ";", "else", "if", "(", "TARGET_MFPGPR", "&&", "TARGET_POWERPC64", "&&", "size", "==", "8", "&&", "(", "(", "to_type", "==", "GPR_REG_TYPE", "&&", "from_type", "==", "FPR_REG_TYPE", ")", "||", "(", "to_type", "==", "FPR_REG_TYPE", "&&", "from_type", "==", "GPR_REG_TYPE", ")", ")", ")", "return", "true", ";", "else", "if", "(", "(", "size", "==", "4", "||", "(", "TARGET_POWERPC64", "&&", "size", "==", "8", ")", ")", "&&", "(", "(", "to_type", "==", "GPR_REG_TYPE", "&&", "from_type", "==", "SPR_REG_TYPE", ")", "||", "(", "to_type", "==", "SPR_REG_TYPE", "&&", "from_type", "==", "GPR_REG_TYPE", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "rs6000_secondary_reload", "to", "return", "true", "if", "a", "move", "to", "a", "different", "register", "classe", "is", "really", "a", "simple", "move", "."], "TS_V_token": ["rs6000", "8", "8", "4", "8"], "File": "rs60004", "Func": "rs6000_secondary_reload_simple_move", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7489, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LC2200FrameLowering", "::", "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": ["LC2200", "LC2200"], "File": "LC2200FrameLowering", "Func": "hasFP", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7490, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MINA32FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["MINA32", "MINA32"], "File": "MINA32FrameLowering", "Func": "emitPrologue", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7491, "Length": 16, "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": 7492, "Length": 159, "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", ")", ";", "}", "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::SREM", "ISD::SREM", "ISD::UREM", "ISD::UREM", "ISD::FP_TO_SINT", "ISD::TRUNCATE", "ISD::SINT_TO_FP", "AArch64"], "File": "AArch64FastISel29", "Func": "fastSelectInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7493, "Length": 447, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "shouldReduceLoadWidth", "(", "SDNode", "*", "Load", ",", "ISD", "::", "LoadExtType", "ExtTy", ",", "EVT", "NewVT", ")", "const", "{", "SDValue", "BasePtr", "=", "cast", "<", "LoadSDNode", ">", "(", "Load", ")", "->", "getBasePtr", "(", ")", ";", "if", "(", "BasePtr", ".", "getOpcode", "(", ")", "==", "X86ISD", "::", "WrapperRIP", ")", "if", "(", "const", "auto", "*", "GA", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "BasePtr", ".", "getOperand", "(", "0", ")", ")", ")", "return", "GA", "->", "getTargetFlags", "(", ")", "!=", "X86II", "::", "MO_GOTTPOFF", ";", "EVT", "VT", "=", "Load", "->", "getValueType", "(", "0", ")", ";", "if", "(", "(", "VT", ".", "is256BitVector", "(", ")", "||", "VT", ".", "is512BitVector", "(", ")", ")", "&&", "!", "Load", "->", "hasOneUse", "(", ")", ")", "{", "for", "(", "auto", "UI", "=", "Load", "->", "use_begin", "(", ")", ",", "UE", "=", "Load", "->", "use_end", "(", ")", ";", "UI", "!=", "UE", ";", "++", "UI", ")", "{", "if", "(", "UI", ".", "getUse", "(", ")", ".", "getResNo", "(", ")", "!=", "0", ")", "continue", ";", "if", "(", "UI", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "EXTRACT_SUBVECTOR", "||", "!", "UI", "->", "hasOneUse", "(", ")", "||", "UI", "->", "use_begin", "(", ")", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "STORE", ")", "return", "true", ";", "}", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "believe", "it", "is", "correct", "and", "profitable", "to", "reduce", "the", "load", "node", "to", "a", "smaller", "type", "."], "TS_V_token": ["X86", "X86", "ISD::LoadExtType", "X86ISD::WrapperRIP", "0", "X86II::MO_GOTTPOFF", "0", "0", "ISD::EXTRACT_SUBVECTOR", "ISD::STORE"], "File": "X86ISelLowering108", "Func": "shouldReduceLoadWidth", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7494, "Length": 199, "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": 7495, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_branch_slot_insn", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "!", "insn", "||", "!", "NONDEBUG_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_BRANCH", "||", "type", "==", "TYPE_JMPREG", ")", "return", "true", ";", "return", "false", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["The", "function", "returns", "true", "if", "INSN", "can", "be", "issued", "only", "from", "the", "branch", "slot", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "is_branch_slot_insn", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7496, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCodeEmitter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "assert", "(", "(", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Default", "||", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Static", ")", "&&", "\"JIT relocation model must be set to static or default!\"", ")", ";", "JTI", "=", "(", "(", "ARMTargetMachine", "&", ")", "MF", ".", "getTarget", "(", ")", ")", ".", "getJITInfo", "(", ")", ";", "II", "=", "(", "(", "const", "ARMTargetMachine", "&", ")", "MF", ".", "getTarget", "(", ")", ")", ".", "getInstrInfo", "(", ")", ";", "TD", "=", "(", "(", "const", "ARMTargetMachine", "&", ")", "MF", ".", "getTarget", "(", ")", ")", ".", "getTargetData", "(", ")", ";", "Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "MCPEs", "=", "&", "MF", ".", "getConstantPool", "(", ")", "->", "getConstants", "(", ")", ";", "MJTEs", "=", "0", ";", "if", "(", "MF", ".", "getJumpTableInfo", "(", ")", ")", "MJTEs", "=", "&", "MF", ".", "getJumpTableInfo", "(", ")", "->", "getJumpTables", "(", ")", ";", "IsPIC", "=", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ";", "IsThumb", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", "->", "isThumbFunction", "(", ")", ";", "JTI", "->", "Initialize", "(", "MF", ",", "IsPIC", ")", ";", "MMI", "=", "&", "getAnalysis", "<", "MachineModuleInfo", ">", "(", ")", ";", "MCE", ".", "setModuleInfo", "(", "MMI", ")", ";", "do", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"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", ")", "emitInstruction", "(", "*", "I", ")", ";", "}", "}", "while", "(", "MCE", ".", "finishFunction", "(", "MF", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "\"JIT relocation model must be set to static or default!\"", "ARM", "ARM", "ARM", "ARM", "0", "ARM", "\"JITTing function '\"", "\"'\\n\""], "File": "ARMCodeEmitter10", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7497, "Length": 320, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_override_options", "(", "void", ")", "{", "unsigned", "long", "cpu_isa", "=", "0", ";", "unsigned", "long", "arch_isa", "=", "0", ";", "aarch64_isa_flags", "=", "0", ";", "bool", "valid_cpu", "=", "true", ";", "bool", "valid_tune", "=", "true", ";", "bool", "valid_arch", "=", "true", ";", "selected_cpu", "=", "NULL", ";", "selected_arch", "=", "NULL", ";", "selected_tune", "=", "NULL", ";", "if", "(", "aarch64_branch_protection_string", ")", "aarch64_validate_mbranch_protection", "(", "aarch64_branch_protection_string", ")", ";", "if", "(", "aarch64_cpu_string", ")", "valid_cpu", "=", "aarch64_validate_mcpu", "(", "aarch64_cpu_string", ",", "&", "selected_cpu", ",", "&", "cpu_isa", ")", ";", "if", "(", "aarch64_arch_string", ")", "valid_arch", "=", "aarch64_validate_march", "(", "aarch64_arch_string", ",", "&", "selected_arch", ",", "&", "arch_isa", ")", ";", "if", "(", "aarch64_tune_string", ")", "valid_tune", "=", "aarch64_validate_mtune", "(", "aarch64_tune_string", ",", "&", "selected_tune", ")", ";", "SUBTARGET_OVERRIDE_OPTIONS", ";", "if", "(", "!", "selected_cpu", ")", "{", "if", "(", "selected_arch", ")", "{", "selected_cpu", "=", "&", "all_cores", "[", "selected_arch", "->", "ident", "]", ";", "aarch64_isa_flags", "=", "arch_isa", ";", "explicit_arch", "=", "selected_arch", "->", "arch", ";", "}", "else", "{", "selected_cpu", "=", "aarch64_get_tune_cpu", "(", "aarch64_none", ")", ";", "aarch64_isa_flags", "=", "TARGET_CPU_DEFAULT", ">>", "6", ";", "}", "if", "(", "selected_tune", ")", "explicit_tune_core", "=", "selected_tune", "->", "ident", ";", "}", "else", "if", "(", "selected_arch", ")", "{", "if", "(", "selected_arch", "->", "arch", "!=", "selected_cpu", "->", "arch", ")", "{", "warning", "(", "0", ",", "\"switch %<-mcpu=%s%> conflicts with %<-march=%s%> switch\"", ",", "all_architectures", "[", "selected_cpu", "->", "arch", "]", ".", "name", ",", "selected_arch", "->", "name", ")", ";", "}", "aarch64_isa_flags", "=", "arch_isa", ";", "explicit_arch", "=", "selected_arch", "->", "arch", ";", "explicit_tune_core", "=", "selected_tune", "?", "selected_tune", "->", "ident", ":", "selected_cpu", "->", "ident", ";", "}", "else", "{", "aarch64_isa_flags", "=", "cpu_isa", ";", "explicit_tune_core", "=", "selected_tune", "?", "selected_tune", "->", "ident", ":", "selected_cpu", "->", "ident", ";", "gcc_assert", "(", "selected_cpu", ")", ";", "selected_arch", "=", "&", "all_architectures", "[", "selected_cpu", "->", "arch", "]", ";", "explicit_arch", "=", "selected_arch", "->", "arch", ";", "}", "if", "(", "!", "selected_arch", ")", "{", "gcc_assert", "(", "selected_cpu", ")", ";", "selected_arch", "=", "&", "all_architectures", "[", "selected_cpu", "->", "arch", "]", ";", "}", "if", "(", "!", "selected_tune", ")", "selected_tune", "=", "selected_cpu", ";", "if", "(", "aarch64_enable_bti", "==", "2", ")", "{", "aarch64_enable_bti", "=", "1", ";", "aarch64_enable_bti", "=", "0", ";", "}", "if", "(", "!", "TARGET_ILP32", "&&", "accepted_branch_protection_string", "==", "NULL", ")", "{", "aarch64_ra_sign_scope", "=", "AARCH64_FUNCTION_NON_LEAF", ";", "aarch64_ra_sign_scope", "=", "AARCH64_FUNCTION_NONE", ";", "}", "if", "(", "TARGET_ILP32", ")", "error", "(", "\"assembler does not support %<-mabi=ilp32%>\"", ")", ";", "aarch64_sve_vg", "=", "aarch64_convert_sve_vector_bits", "(", "aarch64_sve_vector_bits", ")", ";", "if", "(", "aarch64_ra_sign_scope", "!=", "AARCH64_FUNCTION_NONE", "&&", "TARGET_ILP32", ")", "sorry", "(", "\"return address signing is only supported for %<-mabi=lp64%>\"", ")", ";", "if", "(", "(", "aarch64_cpu_string", "&&", "valid_cpu", ")", "||", "(", "aarch64_tune_string", "&&", "valid_tune", ")", ")", "gcc_assert", "(", "explicit_tune_core", "!=", "aarch64_none", ")", ";", "if", "(", "(", "aarch64_cpu_string", "&&", "valid_cpu", ")", "||", "(", "aarch64_arch_string", "&&", "valid_arch", ")", ")", "gcc_assert", "(", "explicit_arch", "!=", "aarch64_no_arch", ")", ";", "if", "(", "aarch64_track_speculation", ")", "flag_shrink_wrap", "=", "0", ";", "aarch64_override_options_internal", "(", "&", "global_options", ")", ";", "target_option_default_node", "=", "target_option_current_node", "=", "build_target_option_node", "(", "&", "global_options", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_OVERRIDE", "."], "TS_V_token": ["aarch64", "0", "0", "0", "6", "0", "\"switch %<-mcpu=%s%> conflicts with %<-march=%s%> switch\"", "2", "1", "0", "\"assembler does not support %<-mabi=ilp32%>\"", "\"return address signing is only supported for %<-mabi=lp64%>\"", "0"], "File": "aarch646", "Func": "aarch64_override_options", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7498, "Length": 431, "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": 7499, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "decomposeMulByConstant", "(", "EVT", "VT", ",", "SDValue", "C", ")", "const", "{", "APInt", "MulC", ";", "if", "(", "!", "ISD", "::", "isConstantSplatVector", "(", "C", ".", "getNode", "(", ")", ",", "MulC", ")", ")", "return", "false", ";", "if", "(", "isOperationLegal", "(", "ISD", "::", "MUL", ",", "VT", ")", ")", "return", "false", ";", "return", "(", "MulC", "+", "1", ")", ".", "isPowerOf2", "(", ")", "||", "(", "MulC", "-", "1", ")", ".", "isPowerOf2", "(", ")", "||", "(", "1", "-", "MulC", ")", ".", "isPowerOf2", "(", ")", "||", "(", "-", "(", "MulC", "+", "1", ")", ")", ".", "isPowerOf2", "(", ")", ";", "}", ""], "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": ["X86", "X86", "ISD::isConstantSplatVector", "ISD::MUL", "1", "1", "1", "1"], "File": "X86ISelLowering (2)8", "Func": "decomposeMulByConstant", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7500, "Length": 94, "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": 7501, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_output_indirect_branch_via_push", "(", "rtx", "call_op", ",", "const", "char", "*", "xasm", ",", "bool", "sibcall_p", ")", "{", "char", "thunk_name_buf", "[", "32", "]", ";", "char", "*", "thunk_name", ";", "char", "push_buf", "[", "64", "]", ";", "enum", "indirect_thunk_prefix", "need_prefix", "=", "indirect_thunk_need_prefix", "(", "current_output_insn", ")", ";", "int", "regno", "=", "-", "1", ";", "if", "(", "cfun", "->", "machine", "->", "indirect_branch_type", "!=", "indirect_branch_thunk_inline", ")", "{", "if", "(", "cfun", "->", "machine", "->", "indirect_branch_type", "==", "indirect_branch_thunk", ")", "indirect_thunk_needed", "=", "true", ";", "indirect_thunk_name", "(", "thunk_name_buf", ",", "regno", ",", "need_prefix", ",", "false", ")", ";", "thunk_name", "=", "thunk_name_buf", ";", "}", "else", "thunk_name", "=", "NULL", ";", "snprintf", "(", "push_buf", ",", "sizeof", "(", "push_buf", ")", ",", "\"push{%c}\\t%s\"", ",", "TARGET_64BIT", "?", "'q'", ":", "'l'", ",", "xasm", ")", ";", "if", "(", "sibcall_p", ")", "{", "output_asm_insn", "(", "push_buf", ",", "&", "call_op", ")", ";", "if", "(", "thunk_name", "!=", "NULL", ")", "fprintf", "(", "asm_out_file", ",", "\"\\tjmp\\t%s\\n\"", ",", "thunk_name", ")", ";", "else", "output_indirect_thunk", "(", "regno", ")", ";", "}", "else", "{", "char", "indirectlabel1", "[", "32", "]", ";", "char", "indirectlabel2", "[", "32", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "indirectlabel1", ",", "INDIRECT_LABEL", ",", "indirectlabelno", "++", ")", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "indirectlabel2", ",", "INDIRECT_LABEL", ",", "indirectlabelno", "++", ")", ";", "fputs", "(", "\"\\tjmp\\t\"", ",", "asm_out_file", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "indirectlabel2", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "indirectlabel1", ")", ";", "if", "(", "MEM_P", "(", "call_op", ")", ")", "{", "struct", "ix86_address", "parts", ";", "rtx", "addr", "=", "XEXP", "(", "call_op", ",", "0", ")", ";", "if", "(", "ix86_decompose_address", "(", "addr", ",", "&", "parts", ")", "&&", "parts", ".", "base", "==", "stack_pointer_rtx", ")", "{", "if", "(", "parts", ".", "index", ")", "{", "addr", "=", "gen_rtx_MULT", "(", "Pmode", ",", "parts", ".", "index", ",", "GEN_INT", "(", "parts", ".", "scale", ")", ")", ";", "addr", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "addr", ")", ";", "}", "else", "addr", "=", "stack_pointer_rtx", ";", "rtx", "disp", ";", "if", "(", "parts", ".", "disp", "!=", "NULL_RTX", ")", "disp", "=", "plus_constant", "(", "Pmode", ",", "parts", ".", "disp", ",", "UNITS_PER_WORD", ")", ";", "else", "disp", "=", "GEN_INT", "(", "UNITS_PER_WORD", ")", ";", "addr", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "addr", ",", "disp", ")", ";", "call_op", "=", "gen_rtx_MEM", "(", "GET_MODE", "(", "call_op", ")", ",", "addr", ")", ";", "}", "}", "output_asm_insn", "(", "push_buf", ",", "&", "call_op", ")", ";", "if", "(", "thunk_name", "!=", "NULL", ")", "fprintf", "(", "asm_out_file", ",", "\"\\tjmp\\t%s\\n\"", ",", "thunk_name", ")", ";", "else", "output_indirect_thunk", "(", "regno", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "indirectlabel2", ")", ";", "fputs", "(", "\"\\tcall\\t\"", ",", "asm_out_file", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "indirectlabel1", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "}", "}", ""], "natrual_language": ["Output", "indirect", "branch", "via", "a", "call", "and", "return", "thunk", ".", "CALL_OP", "is", "the", "branch", "target", ".", "XASM", "is", "the", "assembly", "template", "for", "CALL_OP", ".", "Branch", "is", "a", "tail", "call", "if", "SIBCALL_P", "is", "true", ".", "A", "normal", "call", "is", "converted", "to", ":", "jmp", "L2", "L1", ":", "push", "CALL_OP", "jmp", "__x86_indirect_thunk", "L2", ":", "call", "L1", "and", "a", "tail", "call", "is", "converted", "to", ":", "push", "CALL_OP", "jmp", "__x86_indirect_thunk"], "TS_V_token": ["i386", "32", "64", "1", "\"push{%c}\\t%s\"", "\"\\tjmp\\t%s\\n\"", "32", "32", "\"\\tjmp\\t\"", "0", "\"\\tjmp\\t%s\\n\"", "\"\\tcall\\t\""], "File": "i3868", "Func": "ix86_output_indirect_branch_via_push", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7502, "Length": 407, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MandarinTargetLowering", "::", "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": ["Mandarin"], "File": "MandarinISelLowering", "Func": "isOffsetFoldingLegal", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7503, "Length": 16, "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", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "Subtarget", ".", "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!\"", "PPC", "PPC"], "File": "PPCRegisterInfo (2)1", "Func": "resolveFrameIndex", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7504, "Length": 193, "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": 7505, "Length": 52, "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", ":", "Res", "=", "LowerSADDSUBSAT", "(", "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", ";", "}", "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", "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"], "File": "ARMISelLowering (2)6", "Func": "ReplaceNodeResults", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7506, "Length": 343, "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", "->", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ")", "{", "bool", "Fast", ";", "if", "(", "Size", ">=", "16", "&&", "(", "memOpAlign", "(", "SrcAlign", ",", "DstAlign", ",", "16", ")", "||", "(", "allowsMisalignedMemoryAccesses", "(", "MVT", "::", "v2f64", ",", "0", ",", "1", ",", "&", "Fast", ")", "&&", "Fast", ")", ")", ")", "{", "return", "MVT", "::", "v2f64", ";", "}", "else", "if", "(", "Size", ">=", "8", "&&", "(", "memOpAlign", "(", "SrcAlign", ",", "DstAlign", ",", "8", ")", "||", "(", "allowsMisalignedMemoryAccesses", "(", "MVT", "::", "f64", ",", "0", ",", "1", ",", "&", "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", "0", "1", "MVT::v2f64", "8", "8", "MVT::f64", "0", "1", "MVT::f64", "4", "MVT::i32", "2", "MVT::i16", "MVT::Other"], "File": "ARMISelLowering (2)2", "Func": "getOptimalMemOpType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7507, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_lwxs_address_p", "(", "rtx", "addr", ")", "{", "if", "(", "ISA_HAS_LWXS", "&&", "GET_CODE", "(", "addr", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "addr", ",", "1", ")", ")", ")", "{", "rtx", "offset", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "offset", ")", "==", "MULT", "&&", "REG_P", "(", "XEXP", "(", "offset", ",", "0", ")", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "offset", ",", "1", ")", ")", "&&", "INTVAL", "(", "XEXP", "(", "offset", ",", "1", ")", ")", "==", "4", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "ADDR", "matches", "the", "pattern", "for", "the", "LWXS", "load", "scaled", "indexed", "address", "instruction", ".", "Note", "that", "such", "addresses", "are", "not", "considered", "legitimate", "in", "the", "TARGET_LEGITIMATE_ADDRESS_P", "sense", ",", "because", "their", "use", "is", "so", "restricted", "."], "TS_V_token": ["mips", "1", "0", "0", "1", "1", "4"], "File": "mips", "Func": "mips_lwxs_address_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7508, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "xstormy16_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", ")", ";", "if", "(", "*", "cum", "<", "NUM_ARGUMENT_REGISTERS", "&&", "*", "cum", "+", "XSTORMY16_WORD_SIZE", "(", "type", ",", "mode", ")", ">", "NUM_ARGUMENT_REGISTERS", ")", "*", "cum", "=", "NUM_ARGUMENT_REGISTERS", ";", "*", "cum", "+=", "XSTORMY16_WORD_SIZE", "(", "type", ",", "mode", ")", ";", "}", ""], "natrual_language": ["Update", "CUM", "to", "advance", "past", "an", "argument", "in", "the", "argument", "list", ".", "The", "values", "MODE", ",", "TYPE", "and", "NAMED", "describe", "that", "argument", ".", "Once", "this", "is", "done", ",", "the", "variable", "CUM", "is", "suitable", "for", "analyzing", "the", "*", "following", "*", "argument", "with", "`", "TARGET_FUNCTION_ARG", "'", ",", "etc", ".", "This", "function", "need", "not", "do", "anything", "if", "the", "argument", "in", "question", "was", "passed", "on", "the", "stack", ".", "The", "compiler", "knows", "how", "to", "track", "the", "amount", "of", "stack", "space", "used", "for", "arguments", "without", "any", "special", "help", ".", "However", ",", "it", "makes", "life", "easier", "for", "xstormy16_build_va_list", "if", "it", "does", "update", "the", "word", "count", "."], "TS_V_token": ["stormy16"], "File": "stormy164", "Func": "xstormy16_function_arg_advance", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7509, "Length": 62, "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", "*", "bzeroName", "=", "(", "V", "&&", "V", "->", "isNullValue", "(", ")", ")", "?", "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", "=", "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", ")", ".", "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", "256", "AArch64"], "File": "AArch64SelectionDAGInfo", "Func": "EmitTargetCodeForMemset", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7510, "Length": 303, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCFastISel", "::", "tryToFoldLoadIntoMI", "(", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "LoadInst", "*", "LI", ")", "{", "return", "MI", "&&", "OpNo", "&&", "LI", "&&", "false", ";", "}", ""], "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"], "File": "PPCFastISel8", "Func": "tryToFoldLoadIntoMI", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7511, "Length": 28, "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", "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", "(", "*", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "if", "(", "RC", "==", "&", "SP", "::", "I64RegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STXri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "IntRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "IntPairRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STDri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "FPRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STFri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "SP", "::", "DFPRegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STDFri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "SP", "::", "QFPRegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STQFri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "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": ["Sparc", "Sparc", "SP::I64RegsRegClass", "SP::STXri", "0", "SP::IntRegsRegClass", "SP::STri", "0", "SP::IntPairRegClass", "SP::STDri", "0", "SP::FPRegsRegClass", "SP::STFri", "0", "SP::DFPRegsRegClass", "SP::STDFri", "0", "SP::QFPRegsRegClass", "SP::STQFri", "0", "\"Can't store this register to stack slot\""], "File": "SparcInstrInfo1", "Func": "storeRegToStackSlot", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7512, "Length": 430, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "fixed_reg_p", "(", "int", "reg", ")", "{", "if", "(", "reg", "==", "RS6000_PIC_OFFSET_TABLE_REGNUM", "&&", "(", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "flag_pic", ")", "||", "(", "DEFAULT_ABI", "==", "ABI_DARWIN", "&&", "flag_pic", ")", "||", "(", "TARGET_TOC", "&&", "TARGET_MINIMAL_TOC", ")", ")", ")", "return", "false", ";", "return", "fixed_regs", "[", "reg", "]", ";", "}", ""], "natrual_language": ["Return", "whether", "REG", "is", "a", "global", "user", "reg", "or", "has", "been", "specifed", "by", "-ffixed-REG", ".", "We", "should", "not", "restore", "these", ",", "and", "so", "can", "not", "use", "lmw", "or", "out-of-line", "restore", "functions", "if", "there", "are", "any", ".", "We", "also", "ca", "n't", "save", "them", "(", "well", ",", "emit", "frame", "notes", "for", "them", ")", ",", "because", "frame", "unwinding", "during", "exception", "handling", "will", "restore", "saved", "registers", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "fixed_reg_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7513, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_call_sysv", "(", "rtx", "value", ",", "rtx", "func_desc", ",", "rtx", "tlsarg", ",", "rtx", "cookie", ")", "{", "rtx", "func", "=", "func_desc", ";", "rtx", "func_addr", ";", "rtx", "call", "[", "4", "]", ";", "rtx", "insn", ";", "rtx", "abi_reg", "=", "NULL_RTX", ";", "int", "n", ";", "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", ")", ";", "n", "=", "2", ";", "if", "(", "TARGET_SECURE_PLT", "&&", "flag_pic", "&&", "GET_CODE", "(", "func_addr", ")", "==", "SYMBOL_REF", "&&", "!", "SYMBOL_REF_LOCAL_P", "(", "func_addr", ")", ")", "call", "[", "n", "++", "]", "=", "gen_rtx_USE", "(", "VOIDmode", ",", "pic_offset_table_rtx", ")", ";", "call", "[", "n", "++", "]", "=", "gen_hard_reg_clobber", "(", "Pmode", ",", "LR_REGNO", ")", ";", "insn", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec_v", "(", "n", ",", "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", "SYSV4", "ABI", "."], "TS_V_token": ["rs6000", "4", "0", "3", "2", "0", "0", "0", "1", "2"], "File": "rs6000", "Func": "rs6000_call_sysv", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7514, "Length": 332, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CSKYFrameLowering", "::", "determineFrameLayout", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "CSKYRegisterInfo", "*", "RI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "uint64_t", "FrameSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "Align", "StackAlign", "=", "getStackAlign", "(", ")", ";", "if", "(", "RI", "->", "hasStackRealignment", "(", "MF", ")", ")", "{", "Align", "MaxStackAlign", "=", "std", "::", "max", "(", "StackAlign", ",", "MFI", ".", "getMaxAlign", "(", ")", ")", ";", "FrameSize", "+=", "(", "MaxStackAlign", ".", "value", "(", ")", "-", "StackAlign", ".", "value", "(", ")", ")", ";", "StackAlign", "=", "MaxStackAlign", ";", "}", "uint64_t", "MaxCallSize", "=", "alignTo", "(", "MFI", ".", "getMaxCallFrameSize", "(", ")", ",", "StackAlign", ")", ";", "MFI", ".", "setMaxCallFrameSize", "(", "MaxCallSize", ")", ";", "FrameSize", "=", "alignTo", "(", "FrameSize", ",", "StackAlign", ")", ";", "MFI", ".", "setStackSize", "(", "FrameSize", ")", ";", "}", ""], "natrual_language": ["Determine", "the", "frame", "layout", "but", "do", "not", "update", "the", "machine", "function", "."], "TS_V_token": ["CSKY", "CSKY", "CSKY"], "File": "CSKYFrameLowering1", "Func": "determineFrameLayout", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7515, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_parse_boolean_options", "(", "const", "char", "*", "option", ",", "const", "struct", "aarch64_flag_desc", "*", "flags", ",", "unsigned", "int", "initial_state", ",", "const", "char", "*", "option_name", ")", "{", "const", "char", "separator", "=", "'.'", ";", "const", "char", "*", "specs", "=", "option", ";", "const", "char", "*", "ntoken", "=", "option", ";", "unsigned", "int", "found_flags", "=", "initial_state", ";", "while", "(", "(", "ntoken", "=", "strchr", "(", "specs", ",", "separator", ")", ")", ")", "{", "size_t", "token_length", "=", "ntoken", "-", "specs", ";", "unsigned", "token_ops", "=", "aarch64_parse_one_option_token", "(", "specs", ",", "token_length", ",", "flags", ",", "option_name", ")", ";", "if", "(", "!", "token_ops", ")", "found_flags", "=", "0", ";", "found_flags", "|=", "token_ops", ";", "specs", "=", "++", "ntoken", ";", "}", "if", "(", "!", "(", "*", "specs", ")", ")", "{", "error", "(", "\"%s string ill-formed\\n\"", ",", "option_name", ")", ";", "return", "0", ";", "}", "size_t", "token_length", "=", "strlen", "(", "specs", ")", ";", "unsigned", "token_ops", "=", "aarch64_parse_one_option_token", "(", "specs", ",", "token_length", ",", "flags", ",", "option_name", ")", ";", "if", "(", "!", "token_ops", ")", "found_flags", "=", "0", ";", "found_flags", "|=", "token_ops", ";", "return", "found_flags", ";", "}", ""], "natrual_language": ["Parse", "OPTION", "which", "is", "a", "comma-separated", "list", "of", "flags", "to", "enable", ".", "FLAGS", "gives", "the", "list", "of", "flags", "we", "understand", ",", "INITIAL_STATE", "gives", "any", "default", "state", "we", "inherit", "from", "the", "CPU", "tuning", "structures", ".", "OPTION_NAME", "gives", "the", "top-level", "option", "we", "are", "parsing", "in", "the", "-moverride", "string", ",", "for", "use", "in", "error", "messages", "."], "TS_V_token": ["aarch64", "0", "\"%s string ill-formed\\n\"", "0", "0"], "File": "aarch64", "Func": "aarch64_parse_boolean_options", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7516, "Length": 165, "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", "::", "ADD", ":", "if", "(", "Node", "->", "getSimpleValueType", "(", "0", ")", ".", "isVector", "(", ")", "&&", "selectVecAddAsVecSubIfProfitable", "(", "Node", ")", ")", "return", ";", "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::ADD", "0", "ISD::GLOBAL_OFFSET_TABLE", "ISD::LOAD", "ISD::STORE", "8", "\"Unexpected unaligned loads/stores.\""], "File": "MipsISelDAGToDAG27", "Func": "Select", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7517, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_function_specific_print", "(", "FILE", "*", "file", ",", "int", "indent", ",", "struct", "cl_target_option", "*", "ptr", ")", "{", "rs6000_print_isa_options", "(", "file", ",", "indent", ",", "\"Isa options set\"", ",", "ptr", "->", "x_rs6000_isa_flags", ")", ";", "rs6000_print_isa_options", "(", "file", ",", "indent", ",", "\"Isa options explicit\"", ",", "ptr", "->", "x_rs6000_isa_flags_explicit", ")", ";", "}", ""], "natrual_language": ["Print", "the", "current", "options"], "TS_V_token": ["powerpcspe", "\"Isa options set\"", "\"Isa options explicit\""], "File": "powerpcspe", "Func": "rs6000_function_specific_print", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7518, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FastISel", "::", "fastSelectInstruction", "(", "const", "Instruction", "*", "I", ")", "{", "switch", "(", "I", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Instruction", "::", "Load", ":", "return", "X86SelectLoad", "(", "I", ")", ";", "case", "Instruction", "::", "Store", ":", "return", "X86SelectStore", "(", "I", ")", ";", "case", "Instruction", "::", "Ret", ":", "return", "X86SelectRet", "(", "I", ")", ";", "case", "Instruction", "::", "ICmp", ":", "case", "Instruction", "::", "FCmp", ":", "return", "X86SelectCmp", "(", "I", ")", ";", "case", "Instruction", "::", "ZExt", ":", "return", "X86SelectZExt", "(", "I", ")", ";", "case", "Instruction", "::", "Br", ":", "return", "X86SelectBranch", "(", "I", ")", ";", "case", "Instruction", "::", "LShr", ":", "case", "Instruction", "::", "AShr", ":", "case", "Instruction", "::", "Shl", ":", "return", "X86SelectShift", "(", "I", ")", ";", "case", "Instruction", "::", "SDiv", ":", "case", "Instruction", "::", "UDiv", ":", "case", "Instruction", "::", "SRem", ":", "case", "Instruction", "::", "URem", ":", "return", "X86SelectDivRem", "(", "I", ")", ";", "case", "Instruction", "::", "Select", ":", "return", "X86SelectSelect", "(", "I", ")", ";", "case", "Instruction", "::", "Trunc", ":", "return", "X86SelectTrunc", "(", "I", ")", ";", "case", "Instruction", "::", "FPExt", ":", "return", "X86SelectFPExt", "(", "I", ")", ";", "case", "Instruction", "::", "FPTrunc", ":", "return", "X86SelectFPTrunc", "(", "I", ")", ";", "case", "Instruction", "::", "SIToFP", ":", "return", "X86SelectSIToFP", "(", "I", ")", ";", "case", "Instruction", "::", "IntToPtr", ":", "case", "Instruction", "::", "PtrToInt", ":", "{", "EVT", "SrcVT", "=", "TLI", ".", "getValueType", "(", "DL", ",", "I", "->", "getOperand", "(", "0", ")", "->", "getType", "(", ")", ")", ";", "EVT", "DstVT", "=", "TLI", ".", "getValueType", "(", "DL", ",", "I", "->", "getType", "(", ")", ")", ";", "if", "(", "DstVT", ".", "bitsGT", "(", "SrcVT", ")", ")", "return", "X86SelectZExt", "(", "I", ")", ";", "if", "(", "DstVT", ".", "bitsLT", "(", "SrcVT", ")", ")", "return", "X86SelectTrunc", "(", "I", ")", ";", "unsigned", "Reg", "=", "getRegForValue", "(", "I", "->", "getOperand", "(", "0", ")", ")", ";", "if", "(", "Reg", "==", "0", ")", "return", "false", ";", "updateValueMap", "(", "I", ",", "Reg", ")", ";", "return", "true", ";", "}", "case", "Instruction", "::", "BitCast", ":", "{", "if", "(", "!", "Subtarget", "->", "hasSSE2", "(", ")", ")", "return", "false", ";", "EVT", "SrcVT", "=", "TLI", ".", "getValueType", "(", "DL", ",", "I", "->", "getOperand", "(", "0", ")", "->", "getType", "(", ")", ")", ";", "EVT", "DstVT", "=", "TLI", ".", "getValueType", "(", "DL", ",", "I", "->", "getType", "(", ")", ")", ";", "if", "(", "!", "SrcVT", ".", "isSimple", "(", ")", "||", "!", "DstVT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "MVT", "SVT", "=", "SrcVT", ".", "getSimpleVT", "(", ")", ";", "MVT", "DVT", "=", "DstVT", ".", "getSimpleVT", "(", ")", ";", "if", "(", "!", "SVT", ".", "is128BitVector", "(", ")", "&&", "!", "(", "Subtarget", "->", "hasAVX", "(", ")", "&&", "SVT", ".", "is256BitVector", "(", ")", ")", "&&", "!", "(", "Subtarget", "->", "hasAVX512", "(", ")", "&&", "SVT", ".", "is512BitVector", "(", ")", "&&", "(", "Subtarget", "->", "hasBWI", "(", ")", "||", "(", "SVT", ".", "getScalarSizeInBits", "(", ")", ">=", "32", "&&", "DVT", ".", "getScalarSizeInBits", "(", ")", ">=", "32", ")", ")", ")", ")", "return", "false", ";", "unsigned", "Reg", "=", "getRegForValue", "(", "I", "->", "getOperand", "(", "0", ")", ")", ";", "if", "(", "Reg", "==", "0", ")", "return", "false", ";", "updateValueMap", "(", "I", ",", "Reg", ")", ";", "return", "true", ";", "}", "}", "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": ["X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "0", "X86", "X86", "0", "0", "0", "32", "32", "0", "0"], "File": "X86FastISel108", "Func": "fastSelectInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7519, "Length": 506, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseRegisterInfo", "::", "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": ["ARM", "ARM"], "File": "ARMBaseRegisterInfo", "Func": "requiresRegisterScavenging", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7520, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiTargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "KnownBits", "&", "Known", ",", "const", "APInt", "&", "DemandedElts", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "unsigned", "BitWidth", "=", "Known", ".", "getBitWidth", "(", ")", ";", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "LanaiISD", "::", "SETCC", ":", "Known", "=", "KnownBits", "(", "BitWidth", ")", ";", "Known", ".", "Zero", ".", "setBits", "(", "1", ",", "BitWidth", ")", ";", "break", ";", "case", "LanaiISD", "::", "SELECT_CC", ":", "KnownBits", "Known2", ";", "DAG", ".", "computeKnownBits", "(", "Op", "->", "getOperand", "(", "0", ")", ",", "Known", ",", "Depth", "+", "1", ")", ";", "DAG", ".", "computeKnownBits", "(", "Op", "->", "getOperand", "(", "1", ")", ",", "Known2", ",", "Depth", "+", "1", ")", ";", "Known", ".", "Zero", "&=", "Known2", ".", "Zero", ";", "Known", ".", "One", "&=", "Known2", ".", "One", ";", "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": ["Lanai", "Lanai", "LanaiISD::SETCC", "1", "LanaiISD::SELECT_CC", "0", "1", "1", "1"], "File": "LanaiISelLowering10", "Func": "computeKnownBitsForTargetNode", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7521, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "auto", "RegName", "=", "[", "]", "(", "unsigned", "Reg", ")", "{", "if", "(", "Reg", ")", "return", "LoongArchInstPrinter", "::", "getRegisterName", "(", "Reg", ")", ";", "else", "return", "\"noreg\"", ";", "}", ";", "switch", "(", "Kind", ")", "{", "case", "KindTy", "::", "Immediate", ":", "OS", "<<", "*", "getImm", "(", ")", ";", "break", ";", "case", "KindTy", "::", "Register", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "KindTy", "::", "Token", ":", "OS", "<<", "\"'\"", "<<", "getToken", "(", ")", "<<", "\"'\"", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["LoongArch", "LoongArch", "\"noreg\"", "\"\"", "\"'\"", "\"'\""], "File": "LoongArchAsmParser", "Func": "print", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7522, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCRegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "Subtarget", ".", "getFrameLowering", "(", ")", ";", "const", "unsigned", "DefaultSafety", "=", "1", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "PPC", "::", "G8RC_NOX0RegClassID", ":", "case", "PPC", "::", "GPRC_NOR0RegClassID", ":", "case", "PPC", "::", "G8RCRegClassID", ":", "case", "PPC", "::", "GPRCRegClassID", ":", "{", "unsigned", "FP", "=", "TFI", "->", "hasFP", "(", "MF", ")", "?", "1", ":", "0", ";", "return", "32", "-", "FP", "-", "DefaultSafety", ";", "}", "case", "PPC", "::", "F8RCRegClassID", ":", "case", "PPC", "::", "F4RCRegClassID", ":", "case", "PPC", "::", "VRRCRegClassID", ":", "case", "PPC", "::", "VFRCRegClassID", ":", "case", "PPC", "::", "VSLRCRegClassID", ":", "case", "PPC", "::", "VSHRCRegClassID", ":", "return", "32", "-", "DefaultSafety", ";", "case", "PPC", "::", "VSRCRegClassID", ":", "case", "PPC", "::", "VSFRCRegClassID", ":", "return", "64", "-", "DefaultSafety", ";", "case", "PPC", "::", "CRRCRegClassID", ":", "return", "8", "-", "DefaultSafety", ";", "}", "}", ""], "natrual_language": ["Return", "the", "register", "pressure", "``", "high", "water", "mark", "''", "for", "the", "specific", "register", "class", "."], "TS_V_token": ["PowerPC", "PPC", "1", "0", "PPC::G8RC_NOX0RegClassID", "PPC::GPRC_NOR0RegClassID", "PPC::G8RCRegClassID", "PPC::GPRCRegClassID", "1", "0", "32", "PPC::F8RCRegClassID", "PPC::F4RCRegClassID", "PPC::VRRCRegClassID", "PPC::VFRCRegClassID", "PPC::VSLRCRegClassID", "PPC::VSHRCRegClassID", "32", "PPC::VSRCRegClassID", "PPC::VSFRCRegClassID", "64", "PPC::CRRCRegClassID", "8"], "File": "PPCRegisterInfo22", "Func": "getRegPressureLimit", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7523, "Length": 152, "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": ["CAHP"], "File": "CAHPTargetMachine", "Func": "getObjFileLowering", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7524, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "OR1KTargetLowering", "::", "getExceptionSelectorRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "{", "return", "OR1K", "::", "R4", ";", "}", ""], "natrual_language": ["If", "a", "physical", "register", ",", "this", "returns", "the", "register", "that", "receives", "the", "exception", "typeid", "on", "entry", "to", "a", "landing", "pad", "."], "TS_V_token": ["OR1K", "OR1K", "OR1K::R4"], "File": "OR1KISelLowering1", "Func": "getExceptionSelectorRegister", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7525, "Length": 18, "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", "AArch64InstrInfo", "*", "TII", "=", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "AArch64FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "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", ",", "false", ")", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "getImm", "(", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "FrameReg", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "return", ";", "}", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "LOCAL_ESCAPE", ")", "{", "MachineOperand", "&", "FI", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ";", "Offset", "=", "TFI", "->", "getNonLocalFrameIndexReference", "(", "MF", ",", "FrameIndex", ")", ";", "FI", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "return", ";", "}", "Offset", "=", "TFI", "->", "resolveFrameIndexReference", "(", "MF", ",", "FrameIndex", ",", "FrameReg", ",", "false", ",", "true", ")", ";", "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", "AArch64", "1", "1", "AArch64", "\"Emergency spill slot is out of reach\"", "AArch64::GPR64RegClass"], "File": "AArch64RegisterInfo14", "Func": "eliminateFrameIndex", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7526, "Length": 354, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmParser", "::", "EmitInstruction", "(", "MCInst", "&", "Inst", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ")", "{", "Instrumentation", "->", "InstrumentAndEmitInstruction", "(", "Inst", ",", "Operands", ",", "getContext", "(", ")", ",", "MII", ",", "Out", ")", ";", "}", ""], "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)3", "Func": "EmitInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7527, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCDispatchGroupSBHazardRecognizer", "::", "EmitNoop", "(", ")", "{", "unsigned", "Directive", "=", "DAG", "->", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "getDarwinDirective", "(", ")", ";", "if", "(", "Directive", "==", "PPC", "::", "DIR_PWR6", "||", "Directive", "==", "PPC", "::", "DIR_PWR7", "||", "Directive", "==", "PPC", "::", "DIR_PWR8", "||", "Directive", "==", "PPC", "::", "DIR_PWR9", "||", "CurSlots", "==", "6", ")", "{", "CurGroup", ".", "clear", "(", ")", ";", "CurSlots", "=", "CurBranches", "=", "0", ";", "}", "else", "{", "CurGroup", ".", "push_back", "(", "nullptr", ")", ";", "++", "CurSlots", ";", "}", "}", ""], "natrual_language": ["EmitNoop", "-", "This", "callback", "is", "invoked", "when", "a", "noop", "was", "added", "to", "the", "instruction", "stream", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::DIR_PWR6", "PPC::DIR_PWR7", "PPC::DIR_PWR8", "PPC::DIR_PWR9", "6", "0"], "File": "PPCHazardRecognizers", "Func": "EmitNoop", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7528, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "unw_reg_state", "*", "dup_state_stack", "(", "struct", "unw_reg_state", "*", "rs", ")", "{", "struct", "unw_reg_state", "*", "copy", ",", "*", "prev", "=", "NULL", ",", "*", "first", "=", "NULL", ";", "while", "(", "rs", ")", "{", "copy", "=", "alloc_reg_state", "(", ")", ";", "memcpy", "(", "copy", ",", "rs", ",", "sizeof", "(", "*", "copy", ")", ")", ";", "if", "(", "first", ")", "prev", "->", "next", "=", "copy", ";", "else", "first", "=", "copy", ";", "rs", "=", "rs", "->", "next", ";", "prev", "=", "copy", ";", "}", "return", "first", ";", "}", ""], "natrual_language": ["Make", "a", "copy", "of", "the", "state", "stack", ".", "Non-recursive", "to", "avoid", "stack", "overflows", "."], "TS_V_token": ["ia64"], "File": "unwind-ia64", "Func": "dup_state_stack", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7529, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isUnspillableTerminatorImpl", "(", "const", "MachineInstr", "*", "MI", ")", "const", "override", "{", "return", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2LoopEndDec", "||", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2DoLoopStartTP", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "given", "terminator", "MI", "is", "not", "expected", "to", "spill", "."], "TS_V_token": ["ARM", "ARM::t2LoopEndDec", "ARM::t2DoLoopStartTP"], "File": "ARMBaseInstrInfo38", "Func": "isUnspillableTerminatorImpl", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7530, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_output_function_prologue", "(", "FILE", "*", "file", ",", "HOST_WIDE_INT", "size", "ATTRIBUTE_UNUSED", ")", "{", "const", "char", "*", "fnname", ";", "HOST_WIDE_INT", "tsize", "=", "cfun", "->", "machine", "->", "frame", ".", "total_size", ";", "if", "(", "debug_info_level", "!=", "DINFO_LEVEL_TERSE", "&&", "write_symbols", "==", "SDB_DEBUG", ")", "SDB_OUTPUT_SOURCE_LINE", "(", "file", ",", "DECL_SOURCE_LINE", "(", "current_function_decl", ")", ")", ";", "if", "(", "TARGET_MIPS16", "&&", "!", "TARGET_SOFT_FLOAT", "&&", "current_function_args_info", ".", "fp_code", "!=", "0", ")", "build_mips16_function_stub", "(", "file", ")", ";", "if", "(", "!", "FUNCTION_NAME_ALREADY_DECLARED", ")", "{", "fnname", "=", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "current_function_decl", ")", ",", "0", ")", ",", "0", ")", ";", "if", "(", "!", "flag_inhibit_size_directive", ")", "{", "fputs", "(", "\"\\t.ent\\t\"", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "fnname", ")", ";", "fputs", "(", "\"\\n\"", ",", "file", ")", ";", "}", "assemble_name", "(", "file", ",", "fnname", ")", ";", "fputs", "(", "\":\\n\"", ",", "file", ")", ";", "}", "if", "(", "TARGET_IRIX", "&&", "mips_abi", "==", "ABI_32", ")", "TREE_ASM_WRITTEN", "(", "DECL_NAME", "(", "cfun", "->", "decl", ")", ")", "=", "1", ";", "if", "(", "!", "flag_inhibit_size_directive", ")", "{", "fprintf", "(", "file", ",", "\"\\t.frame\\t%s,\"", "HOST_WIDE_INT_PRINT_DEC", "\",%s\\t\\t\"", "\"# vars= \"", "HOST_WIDE_INT_PRINT_DEC", "\", regs= %d/%d\"", "\", args= \"", "HOST_WIDE_INT_PRINT_DEC", "\", gp= \"", "HOST_WIDE_INT_PRINT_DEC", "\"\\n\"", ",", "(", "reg_names", "[", "(", "frame_pointer_needed", ")", "?", "HARD_FRAME_POINTER_REGNUM", ":", "STACK_POINTER_REGNUM", "]", ")", ",", "(", "(", "frame_pointer_needed", "&&", "TARGET_MIPS16", ")", "?", "tsize", "-", "cfun", "->", "machine", "->", "frame", ".", "args_size", ":", "tsize", ")", ",", "reg_names", "[", "GP_REG_FIRST", "+", "31", "]", ",", "cfun", "->", "machine", "->", "frame", ".", "var_size", ",", "cfun", "->", "machine", "->", "frame", ".", "num_gp", ",", "cfun", "->", "machine", "->", "frame", ".", "num_fp", ",", "cfun", "->", "machine", "->", "frame", ".", "args_size", ",", "cfun", "->", "machine", "->", "frame", ".", "cprestore_size", ")", ";", "fprintf", "(", "file", ",", "\"\\t.mask\\t0x%08x,\"", "HOST_WIDE_INT_PRINT_DEC", "\"\\n\"", ",", "cfun", "->", "machine", "->", "frame", ".", "mask", ",", "cfun", "->", "machine", "->", "frame", ".", "gp_save_offset", ")", ";", "fprintf", "(", "file", ",", "\"\\t.fmask\\t0x%08x,\"", "HOST_WIDE_INT_PRINT_DEC", "\"\\n\"", ",", "cfun", "->", "machine", "->", "frame", ".", "fmask", ",", "cfun", "->", "machine", "->", "frame", ".", "fp_save_offset", ")", ";", "}", "if", "(", "TARGET_ABICALLS", "&&", "!", "TARGET_NEWABI", "&&", "cfun", "->", "machine", "->", "global_pointer", ">", "0", ")", "{", "if", "(", "!", "cfun", "->", "machine", "->", "all_noreorder_p", ")", "output_asm_insn", "(", "\"%(.cpload\\t%^%)\"", ",", "0", ")", ";", "else", "output_asm_insn", "(", "\"%(.cpload\\t%^\\n\\t%<\"", ",", "0", ")", ";", "}", "else", "if", "(", "cfun", "->", "machine", "->", "all_noreorder_p", ")", "output_asm_insn", "(", "\"%(%<\"", ",", "0", ")", ";", "mips_output_cplocal", "(", ")", ";", "}", ""], "natrual_language": ["Set", "up", "the", "stack", "and", "frame", "(", "if", "desired", ")", "for", "the", "function", "."], "TS_V_token": ["mips", "0", "0", "0", "\"\\t.ent\\t\"", "\"\\n\"", "\":\\n\"", "1", "\"\\t.frame\\t%s,\"", "\",%s\\t\\t\"", "\"# vars= \"", "\", regs= %d/%d\"", "\", args= \"", "\", gp= \"", "\"\\n\"", "31", "\"\\t.mask\\t0x%08x,\"", "\"\\n\"", "\"\\t.fmask\\t0x%08x,\"", "\"\\n\"", "0", "\"%(.cpload\\t%^%)\"", "0", "\"%(.cpload\\t%^\\n\\t%<\"", "0", "\"%(%<\"", "0"], "File": "mips3", "Func": "mips_output_function_prologue", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7531, "Length": 369, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMSubtarget", "::", "enableSubRegLiveness", "(", ")", "const", "{", "if", "(", "EnableSubRegLiveness", ".", "getNumOccurrences", "(", ")", ")", "return", "EnableSubRegLiveness", ";", "return", "hasMVEIntegerOps", "(", ")", ";", "}", ""], "natrual_language": ["Enable", "tracking", "of", "subregister", "liveness", "in", "register", "allocator", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMSubtarget45", "Func": "enableSubRegLiveness", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7532, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "pru_output_signed_cbranch_ubyteop2", "(", "rtx", "*", "operands", ",", "bool", "is_near", ")", "{", "static", "char", "buf", "[", "1024", "]", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "operands", "[", "0", "]", ")", ";", "int", "regop_sign_bit_pos", "=", "sign_bit_position", "(", "operands", "[", "1", "]", ")", ";", "const", "char", "*", "cmp_opstr", ";", "const", "char", "*", "rcmp_opstr", ";", "code", "=", "swap_condition", "(", "code", ")", ";", "switch", "(", "code", ")", "{", "case", "LT", ":", "cmp_opstr", "=", "\"qblt\"", ";", "rcmp_opstr", "=", "\"qbge\"", ";", "break", ";", "case", "LE", ":", "cmp_opstr", "=", "\"qble\"", ";", "rcmp_opstr", "=", "\"qbgt\"", ";", "break", ";", "case", "GT", ":", "cmp_opstr", "=", "\"qbgt\"", ";", "rcmp_opstr", "=", "\"qble\"", ";", "break", ";", "case", "GE", ":", "cmp_opstr", "=", "\"qbge\"", ";", "rcmp_opstr", "=", "\"qblt\"", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "code", "==", "LT", "||", "code", "==", "LE", ")", "{", "if", "(", "is_near", ")", "snprintf", "(", "buf", ",", "sizeof", "(", "buf", ")", ",", "\"qbbs\\t.+8, %%1, %d\\n\\t\"", "\"%s\\t%%l3, %%1, %%u2\"", ",", "regop_sign_bit_pos", ",", "cmp_opstr", ")", ";", "else", "snprintf", "(", "buf", ",", "sizeof", "(", "buf", ")", ",", "\"qbbs\\t.+12, %%1, %d\\n\\t\"", "\"%s\\t.+8, %%1, %%u2\\n\\t\"", "\"jmp\\t%%%%label(%%l3)\"", ",", "regop_sign_bit_pos", ",", "rcmp_opstr", ")", ";", "}", "else", "if", "(", "code", "==", "GT", "||", "code", "==", "GE", ")", "{", "if", "(", "is_near", ")", "snprintf", "(", "buf", ",", "sizeof", "(", "buf", ")", ",", "\"qbbs\\t%%l3, %%1, %d\\n\\t\"", "\"%s\\t%%l3, %%1, %%u2\"", ",", "regop_sign_bit_pos", ",", "cmp_opstr", ")", ";", "else", "snprintf", "(", "buf", ",", "sizeof", "(", "buf", ")", ",", "\"qbbs\\t.+8, %%1, %d\\n\\t\"", "\"%s\\t.+8, %%1, %%u2\\n\\t\"", "\"jmp\\t%%%%label(%%l3)\"", ",", "regop_sign_bit_pos", ",", "rcmp_opstr", ")", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "return", "buf", ";", "}", ""], "natrual_language": ["Optimized", "version", "of", "pru_output_signed_cbranch", "for", "constant", "second", "operand", "."], "TS_V_token": ["pru", "1024", "0", "1", "\"qblt\"", "\"qbge\"", "\"qble\"", "\"qbgt\"", "\"qbgt\"", "\"qble\"", "\"qbge\"", "\"qblt\"", "\"qbbs\\t.+8, %%1, %d\\n\\t\"", "\"%s\\t%%l3, %%1, %%u2\"", "\"qbbs\\t.+12, %%1, %d\\n\\t\"", "\"%s\\t.+8, %%1, %%u2\\n\\t\"", "\"jmp\\t%%%%label(%%l3)\"", "\"qbbs\\t%%l3, %%1, %d\\n\\t\"", "\"%s\\t%%l3, %%1, %%u2\"", "\"qbbs\\t.+8, %%1, %d\\n\\t\"", "\"%s\\t.+8, %%1, %%u2\\n\\t\"", "\"jmp\\t%%%%label(%%l3)\""], "File": "pru", "Func": "pru_output_signed_cbranch_ubyteop2", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7533, "Length": 238, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MandarinFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MandarinMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "MandarinMachineFunctionInfo", ">", "(", ")", ";", "const", "MandarinInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "MandarinInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "unsigned", "RetOpcode", "=", "MBBI", "->", "getOpcode", "(", ")", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "assert", "(", "RetOpcode", "==", "MD", "::", "RET", "&&", "\"Can only put epilog before 'ret' instruction!\"", ")", ";", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "MD", "::", "LOADLri", ")", ",", "MD", "::", "R31", ")", ".", "addImm", "(", "0", ")", ";", "}", "if", "(", "MFI", "->", "hasVarSizedObjects", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "MD", "::", "MOVrr", ")", ",", "MD", "::", "R30", ")", ".", "addReg", "(", "MD", "::", "R31", ")", ";", "}", "else", "{", "if", "(", "StackSize", ")", "{", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "MD", "::", "SUBri", ")", ",", "MD", "::", "R30", ")", ".", "addReg", "(", "MD", "::", "R30", ")", ".", "addImm", "(", "StackSize", ")", ";", "}", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mandarin", "MD::RET", "\"Can only put epilog before 'ret' instruction!\"", "MD::LOADLri", "MD::R31", "0", "MD::MOVrr", "MD::R30", "MD::R31", "MD::SUBri", "MD::R30", "MD::R30"], "File": "MandarinFrameLowering", "Func": "emitEpilogue", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7534, "Length": 235, "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", ")", ";", "}", "}", "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"], "File": "MipsSEFrameLowering", "Func": "emitEpilogue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7535, "Length": 349, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCAIXAsmPrinter", "::", "emitGlobalVariable", "(", "const", "GlobalVariable", "*", "GV", ")", "{", "ValidateGV", "(", "GV", ")", ";", "if", "(", "isSpecialLLVMGlobalArrayForStaticInit", "(", "GV", ")", ")", "return", ";", "MCSymbolXCOFF", "*", "GVSym", "=", "cast", "<", "MCSymbolXCOFF", ">", "(", "getSymbol", "(", "GV", ")", ")", ";", "GVSym", "->", "setStorageClass", "(", "TargetLoweringObjectFileXCOFF", "::", "getStorageClassForGlobal", "(", "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", "(", ")", ")", "{", "unsigned", "Align", "=", "GV", "->", "getAlignment", "(", ")", "?", "GV", "->", "getAlignment", "(", ")", ":", "DL", ".", "getPreferredAlignment", "(", "GV", ")", ";", "uint64_t", "Size", "=", "DL", ".", "getTypeAllocSize", "(", "GV", "->", "getType", "(", ")", "->", "getElementType", "(", ")", ")", ";", "if", "(", "GVKind", ".", "isBSSLocal", "(", ")", ")", "OutStreamer", "->", "emitXCOFFLocalCommonSymbol", "(", "OutContext", ".", "getOrCreateSymbol", "(", "GVSym", "->", "getUnqualifiedName", "(", ")", ")", ",", "Size", ",", "GVSym", ",", "Align", ")", ";", "else", "OutStreamer", "->", "emitCommonSymbol", "(", "GVSym", ",", "Size", ",", "Align", ")", ";", "return", ";", "}", "MCSymbol", "*", "EmittedInitSym", "=", "GVSym", ";", "emitLinkage", "(", "GV", ",", "EmittedInitSym", ")", ";", "emitAlignment", "(", "getGVAlignment", "(", "GV", ",", "DL", ")", ",", "GV", ")", ";", "OutStreamer", "->", "emitLabel", "(", "EmittedInitSym", ")", ";", "emitGlobalConstant", "(", "GV", "->", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ",", "GV", "->", "getInitializer", "(", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "specified", "global", "variable", "to", "the", ".s", "file", "."], "TS_V_token": ["PowerPC", "PPC", "\"Encountered a global variable kind that is \"", "\"not supported yet.\""], "File": "PPCAsmPrinter112", "Func": "emitGlobalVariable", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7536, "Length": 304, "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": 7537, "Length": 34, "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": 7538, "Length": 276, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "gen_and2_insn", "(", "rtx", "x", ",", "rtx", "y", ")", "{", "enum", "insn_code", "icode", "=", "optab_handler", "(", "and_optab", ",", "GET_MODE", "(", "x", ")", ")", ";", "gcc_assert", "(", "insn_operand_matches", "(", "icode", ",", "0", ",", "x", ")", ")", ";", "gcc_assert", "(", "insn_operand_matches", "(", "icode", ",", "1", ",", "x", ")", ")", ";", "gcc_assert", "(", "insn_operand_matches", "(", "icode", ",", "2", ",", "y", ")", ")", ";", "return", "GEN_FCN", "(", "icode", ")", "(", "x", ",", "x", ",", "y", ")", ";", "}", ""], "natrual_language": ["Generate", "and", "return", "an", "insn", "body", "to", "AND", "X", "with", "Y", "."], "TS_V_token": ["i386", "0", "1", "2"], "File": "i386", "Func": "gen_and2_insn", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7539, "Length": 76, "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": 7540, "Length": 423, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mep_mentioned_p", "(", "rtx", "in", ",", "rtx", "reg", ",", "int", "modes_too", ")", "{", "const", "char", "*", "fmt", ";", "int", "i", ";", "enum", "rtx_code", "code", ";", "if", "(", "in", "==", "0", ")", "return", "false", ";", "if", "(", "reg", "&&", "GET_CODE", "(", "reg", ")", "!=", "REG", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "in", ")", "==", "LABEL_REF", ")", "return", "(", "reg", "==", "0", ")", ";", "code", "=", "GET_CODE", "(", "in", ")", ";", "switch", "(", "code", ")", "{", "case", "MEM", ":", "if", "(", "reg", ")", "return", "mep_mentioned_p", "(", "XEXP", "(", "in", ",", "0", ")", ",", "reg", ",", "modes_too", ")", ";", "return", "true", ";", "case", "REG", ":", "if", "(", "!", "reg", ")", "return", "false", ";", "if", "(", "modes_too", "&&", "(", "GET_MODE", "(", "in", ")", "!=", "GET_MODE", "(", "reg", ")", ")", ")", "return", "false", ";", "return", "(", "REGNO", "(", "in", ")", "==", "REGNO", "(", "reg", ")", ")", ";", "case", "SCRATCH", ":", "case", "CC0", ":", "case", "PC", ":", "case", "CONST_INT", ":", "case", "CONST_DOUBLE", ":", "return", "false", ";", "default", ":", "break", ";", "}", "if", "(", "code", "==", "SET", "&&", "!", "reg", ")", "return", "mep_mentioned_p", "(", "SET_DEST", "(", "in", ")", ",", "reg", ",", "modes_too", ")", ";", "fmt", "=", "GET_RTX_FORMAT", "(", "code", ")", ";", "for", "(", "i", "=", "GET_RTX_LENGTH", "(", "code", ")", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "if", "(", "fmt", "[", "i", "]", "==", "'E'", ")", "{", "register", "int", "j", ";", "for", "(", "j", "=", "XVECLEN", "(", "in", ",", "i", ")", "-", "1", ";", "j", ">=", "0", ";", "j", "--", ")", "if", "(", "mep_mentioned_p", "(", "XVECEXP", "(", "in", ",", "i", ",", "j", ")", ",", "reg", ",", "modes_too", ")", ")", "return", "true", ";", "}", "else", "if", "(", "fmt", "[", "i", "]", "==", "'e'", "&&", "mep_mentioned_p", "(", "XEXP", "(", "in", ",", "i", ")", ",", "reg", ",", "modes_too", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Experimental", "Reorg", "."], "TS_V_token": ["mep", "0", "0", "0", "1", "0", "1", "0"], "File": "mep", "Func": "mep_mentioned_p", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7541, "Length": 304, "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", "||", "DataWidth", "==", "64", ")", "&&", "ST", "->", "hasAVX", "(", ")", ")", "||", "(", "(", "DataWidth", "==", "8", "||", "DataWidth", "==", "16", ")", "&&", "ST", "->", "hasBWI", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "load", "."], "TS_V_token": ["X86", "X86", "32", "64", "8", "16"], "File": "X86TargetTransformInfo11", "Func": "isLegalMaskedLoad", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7542, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "getMachineCombinerPatterns", "(", "MachineInstr", "&", "Root", ",", "SmallVectorImpl", "<", "MachineCombinerPattern", ">", "&", "Patterns", ")", "const", "{", "if", "(", "Subtarget", ".", "getTargetMachine", "(", ")", ".", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "Aggressive", ")", "return", "false", ";", "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": ["PowerPC", "PPC"], "File": "PPCInstrInfo64", "Func": "getMachineCombinerPatterns", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7543, "Length": 48, "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", "->", "needsStackRealignment", "(", "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": "ARMFrameLowering101", "Func": "hasFP", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7544, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isThumb", "(", ")", "const", "{", "return", "getSTI", "(", ")", ".", "getFeatureBits", "(", ")", "[", "ARM", "::", "ModeThumb", "]", ";", "}", ""], "natrual_language": ["Tests", "whether", "the", "target", "is", "Thumb", "(", "little", "and", "big", "endian", ")", "."], "TS_V_token": ["ARM", "ARM::ModeThumb"], "File": "ARMAsmParser (2)2", "Func": "isThumb", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7545, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "arm_strip_name_encoding", "(", "const", "char", "*", "name", ")", "{", "int", "skip", ";", "while", "(", "(", "skip", "=", "arm_get_strip_length", "(", "*", "name", ")", ")", ")", "name", "+=", "skip", ";", "return", "name", ";", "}", ""], "natrual_language": ["Return", "a", "pointer", "to", "a", "function", "'s", "name", "with", "any", "and", "all", "prefix", "encodings", "stripped", "from", "it", "."], "TS_V_token": ["arm"], "File": "arm2", "Func": "arm_strip_name_encoding", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7546, "Length": 34, "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": "LEGInstrInfo", "Func": "isStoreToStackSlot", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7547, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "Mips16InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "Mips16InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "0", "&&", "!", "MFI", "->", "adjustsStack", "(", ")", ")", "return", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "std", "::", "vector", "<", "MachineMove", ">", "&", "Moves", "=", "MMI", ".", "getFrameMoves", "(", ")", ";", "MachineLocation", "DstML", ",", "SrcML", ";", "TII", ".", "makeFrame", "(", "Mips", "::", "SP", ",", "StackSize", ",", "MBB", ",", "MBBI", ")", ";", "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", ")", ")", ";", "MCSymbol", "*", "CSLabel", "=", "MMI", ".", "getContext", "(", ")", ".", "CreateTempSymbol", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "PROLOG_LABEL", ")", ")", ".", "addSym", "(", "CSLabel", ")", ";", "DstML", "=", "MachineLocation", "(", "MachineLocation", "::", "VirtualFP", ",", "-", "8", ")", ";", "SrcML", "=", "MachineLocation", "(", "Mips", "::", "S1", ")", ";", "Moves", ".", "push_back", "(", "MachineMove", "(", "CSLabel", ",", "DstML", ",", "SrcML", ")", ")", ";", "DstML", "=", "MachineLocation", "(", "MachineLocation", "::", "VirtualFP", ",", "-", "12", ")", ";", "SrcML", "=", "MachineLocation", "(", "Mips", "::", "S0", ")", ";", "Moves", ".", "push_back", "(", "MachineMove", "(", "CSLabel", ",", "DstML", ",", "SrcML", ")", ")", ";", "DstML", "=", "MachineLocation", "(", "MachineLocation", "::", "VirtualFP", ",", "-", "4", ")", ";", "SrcML", "=", "MachineLocation", "(", "Mips", "::", "RA", ")", ";", "Moves", ".", "push_back", "(", "MachineMove", "(", "CSLabel", ",", "DstML", ",", "SrcML", ")", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "MoveR3216", ")", ",", "Mips", "::", "S0", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "0", "Mips::SP", "8", "Mips::S1", "12", "Mips::S0", "4", "Mips::RA", "Mips::MoveR3216", "Mips::S0", "Mips::SP"], "File": "Mips16FrameLowering11", "Func": "emitPrologue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7548, "Length": 407, "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", "(", "MIRBuilder", ",", "ArgInfos", ",", "OrigArgIndices", ",", "[", "&", "]", "(", "ISD", "::", "ArgFlagsTy", "flags", ",", "EVT", "vt", ",", "EVT", "argvt", ",", "bool", "used", ",", "unsigned", "origIdx", ",", "unsigned", "partOffs", ")", "{", "Ins", ".", "emplace_back", "(", "flags", ",", "vt", ",", "argvt", ",", "used", ",", "origIdx", ",", "partOffs", ")", ";", "}", ")", ";", "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", "ISD::ArgFlagsTy", "16", "Mips", "Mips", "Mips", "Mips", "1"], "File": "MipsCallLowering5", "Func": "lowerFormalArguments", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7549, "Length": 384, "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": 7550, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "LanaiMachineFunctionInfo", "::", "getGlobalBaseReg", "(", ")", "{", "if", "(", "GlobalBaseReg", ")", "return", "GlobalBaseReg", ";", "return", "GlobalBaseReg", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "&", "Lanai", "::", "GPRRegClass", ")", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai::GPRRegClass"], "File": "LanaiMachineFunctionInfo1", "Func": "getGlobalBaseReg", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7551, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isLdStPairSuppressed", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "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": "AArch64InstrInfo1", "Func": "isLdStPairSuppressed", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7552, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isPairedLdSt", "(", "const", "MachineInstr", "*", "MI", ")", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "AArch64", "::", "LDPSi", ":", "case", "AArch64", "::", "LDPSWi", ":", "case", "AArch64", "::", "LDPDi", ":", "case", "AArch64", "::", "LDPQi", ":", "case", "AArch64", "::", "LDPWi", ":", "case", "AArch64", "::", "LDPXi", ":", "case", "AArch64", "::", "STPSi", ":", "case", "AArch64", "::", "STPDi", ":", "case", "AArch64", "::", "STPQi", ":", "case", "AArch64", "::", "STPWi", ":", "case", "AArch64", "::", "STPXi", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Returns", "whether", "the", "instruction", "is", "a", "paired", "load/store", "."], "TS_V_token": ["AArch64", "AArch64::LDPSi", "AArch64::LDPSWi", "AArch64::LDPDi", "AArch64::LDPQi", "AArch64::LDPWi", "AArch64::LDPXi", "AArch64::STPSi", "AArch64::STPDi", "AArch64::STPQi", "AArch64::STPWi", "AArch64::STPXi"], "File": "AArch64LoadStoreOptimizer (2)", "Func": "isPairedLdSt", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7553, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_function_value_regno_p", "(", "const", "unsigned", "int", "regno", ")", "{", "if", "(", "regno", "==", "ARG_REGISTER", "(", "1", ")", "||", "(", "TARGET_32BIT", "&&", "TARGET_AAPCS_BASED", "&&", "TARGET_VFP", "&&", "TARGET_HARD_FLOAT", "&&", "regno", "==", "FIRST_VFP_REGNUM", ")", "||", "(", "TARGET_IWMMXT_ABI", "&&", "regno", "==", "FIRST_IWMMXT_REGNUM", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_VALUE_REGNO_P", "."], "TS_V_token": ["arm", "1"], "File": "arm4", "Func": "arm_function_value_regno_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7554, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "SICTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "case", "SICISD", "::", "JmpLink", ":", "return", "\"SICISD::JmpLink\"", ";", "case", "SICISD", "::", "TailCall", ":", "return", "\"SICISD::TailCall\"", ";", "case", "SICISD", "::", "Hi", ":", "return", "\"SICISD::Hi\"", ";", "case", "SICISD", "::", "Lo", ":", "return", "\"SICISD::Lo\"", ";", "case", "SICISD", "::", "GPRel", ":", "return", "\"SICISD::GPRel\"", ";", "case", "SICISD", "::", "Glob", ":", "return", "\"SICISD::Glob\"", ";", "case", "SICISD", "::", "Ret", ":", "return", "\"SICISD::Ret\"", ";", "case", "SICISD", "::", "EH_RETURN", ":", "return", "\"SICISD::EH_RETURN\"", ";", "case", "SICISD", "::", "DivRem", ":", "return", "\"SICISD::DivRem\"", ";", "case", "SICISD", "::", "DivRemU", ":", "return", "\"SICISD::DivRemU\"", ";", "case", "SICISD", "::", "Wrapper", ":", "return", "\"SICISD::Wrapper\"", ";", "default", ":", "return", "NULL", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["SIC", "SIC", "SICISD::JmpLink", "\"SICISD::JmpLink\"", "SICISD::TailCall", "\"SICISD::TailCall\"", "SICISD::Hi", "\"SICISD::Hi\"", "SICISD::Lo", "\"SICISD::Lo\"", "SICISD::GPRel", "\"SICISD::GPRel\"", "SICISD::Glob", "\"SICISD::Glob\"", "SICISD::Ret", "\"SICISD::Ret\"", "SICISD::EH_RETURN", "\"SICISD::EH_RETURN\"", "SICISD::DivRem", "\"SICISD::DivRem\"", "SICISD::DivRemU", "\"SICISD::DivRemU\"", "SICISD::Wrapper", "\"SICISD::Wrapper\""], "File": "SICISelLowering", "Func": "getTargetNodeName", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7555, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "override", "{", "AArch64FI", "=", "F", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "return", "AsmPrinter", "::", "runOnMachineFunction", "(", "F", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64AsmPrinter (2)", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7556, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "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", "CCRetInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCRetInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_PPC", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "RVLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "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", "::", "AExt", ":", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "TRUNCATE", ",", "dl", ",", "VA", ".", "getValVT", "(", ")", ",", "Val", ")", ";", "break", ";", "case", "CCValAssign", "::", "ZExt", ":", "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", ":", "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": ["PowerPC", "PPC", "ISD::InputArg", "16", "PPC", "0", "\"Can only return in registers!\"", "1", "2", "\"Unknown loc info!\"", "ISD::TRUNCATE", "ISD::AssertZext", "ISD::TRUNCATE", "ISD::AssertSext", "ISD::TRUNCATE"], "File": "PPCISelLowering (2)", "Func": "LowerCallResult", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7557, "Length": 360, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_bfi_p", "(", "rtx", "x", ",", "rtx", "*", "sub0", ",", "rtx", "*", "sub1", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "!=", "IOR", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "!=", "AND", "||", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "!=", "AND", ")", "return", "false", ";", "return", "(", "arm_bfi_1_p", "(", "XEXP", "(", "x", ",", "0", ")", ",", "XEXP", "(", "x", ",", "1", ")", ",", "sub0", ",", "sub1", ")", "||", "arm_bfi_1_p", "(", "XEXP", "(", "x", ",", "1", ")", ",", "XEXP", "(", "x", ",", "0", ")", ",", "sub1", ",", "sub0", ")", ")", ";", "}", ""], "natrual_language": ["Recognize", "a", "BFI", "idiom", ".", "Helper", "for", "arm_rtx_costs_internal", ".", "The", "format", "looks", "something", "like", ":", "(", "IOR", "(", "AND", "(", "reg1", ")", "(", "~const1", ")", ")", "(", "AND", "(", "ASHIFT", "(", "reg2", ")", "(", "const2", ")", ")", "(", "const1", ")", ")", ")", "where", "const1", "is", "a", "consecutive", "sequence", "of", "1-bits", "with", "the", "least-significant", "non-zero", "bit", "starting", "at", "bit", "position", "const2", ".", "If", "const2", "is", "zero", ",", "then", "the", "shift", "will", "not", "appear", "at", "all", ",", "due", "to", "canonicalization", ".", "The", "two", "arms", "of", "the", "IOR", "expression", "may", "be", "flipped", "."], "TS_V_token": ["arm", "0", "1", "0", "1", "1", "0"], "File": "arm1", "Func": "arm_bfi_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7558, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StackOffset", "SparcFrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "Register", "&", "FrameReg", ")", "const", "{", "const", "SparcSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "SparcSubtarget", ">", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "SparcRegisterInfo", "*", "RegInfo", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "const", "SparcMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "SparcMachineFunctionInfo", ">", "(", ")", ";", "bool", "isFixed", "=", "MFI", ".", "isFixedObjectIndex", "(", "FI", ")", ";", "bool", "UseFP", ";", "if", "(", "FuncInfo", "->", "isLeafProc", "(", ")", ")", "{", "UseFP", "=", "false", ";", "}", "else", "if", "(", "isFixed", ")", "{", "UseFP", "=", "true", ";", "}", "else", "if", "(", "RegInfo", "->", "hasStackRealignment", "(", "MF", ")", ")", "{", "UseFP", "=", "false", ";", "}", "else", "{", "UseFP", "=", "true", ";", "}", "int64_t", "FrameOffset", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectOffset", "(", "FI", ")", "+", "Subtarget", ".", "getStackPointerBias", "(", ")", ";", "if", "(", "UseFP", ")", "{", "FrameReg", "=", "RegInfo", "->", "getFrameRegister", "(", "MF", ")", ";", "return", "StackOffset", "::", "getFixed", "(", "FrameOffset", ")", ";", "}", "else", "{", "FrameReg", "=", "SP", "::", "O6", ";", "return", "StackOffset", "::", "getFixed", "(", "FrameOffset", "+", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "SP::O6"], "File": "SparcFrameLowering22", "Func": "getFrameIndexReference", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7559, "Length": 201, "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", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "!=", "ARM", "::", "CPSR", ")", "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", ":", "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", "::", "CreateFPImm", "(", "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\"", "ARM::CPSR", "\"Subregs should be eliminated!\"", "ARM"], "File": "ARMMCInstLower", "Func": "lowerOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7560, "Length": 325, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_advsimd_struct_mode_p", "(", "machine_mode", "mode", ")", "{", "return", "(", "TARGET_SIMD", "&&", "(", "mode", "==", "OImode", "||", "mode", "==", "CImode", "||", "mode", "==", "XImode", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "MODE", "is", "any", "of", "the", "Advanced", "SIMD", "structure", "modes", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_advsimd_struct_mode_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7561, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLittleEndian", "(", ")", "const", "{", "return", "IsLittle", ";", "}", ""], "natrual_language": ["Tests", "whether", "the", "target", "triple", "is", "little", "endian", "."], "TS_V_token": ["AArch64"], "File": "AArch64Subtarget (2)", "Func": "isLittleEndian", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7562, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "OR1KRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "*", "MF", ")", ";", "return", "TFI", "->", "hasFP", "(", "*", "MF", ")", "?", "CSR_FP_SaveList", ":", "CSR_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["OR1K", "OR1K"], "File": "OR1KRegisterInfo1", "Func": "getCalleeSavedRegs", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7563, "Length": 39, "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": ["VE"], "File": "VEAsmParser (2)", "Func": "getEndLoc", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7564, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CCAssignFn", "*", "ARMFastISel", "::", "CCAssignFnForCall", "(", "CallingConv", "::", "ID", "CC", ",", "bool", "Return", ",", "bool", "isVarArg", ")", "{", "switch", "(", "CC", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unsupported calling convention\"", ")", ";", "case", "CallingConv", "::", "Fast", ":", "if", "(", "Subtarget", "->", "hasVFP2", "(", ")", "&&", "!", "isVarArg", ")", "{", "if", "(", "!", "Subtarget", "->", "isAAPCS_ABI", "(", ")", ")", "return", "(", "Return", "?", "RetFastCC_ARM_APCS", ":", "FastCC_ARM_APCS", ")", ";", "return", "(", "Return", "?", "RetCC_ARM_AAPCS_VFP", ":", "CC_ARM_AAPCS_VFP", ")", ";", "}", "case", "CallingConv", "::", "C", ":", "case", "CallingConv", "::", "CXX_FAST_TLS", ":", "if", "(", "Subtarget", "->", "isAAPCS_ABI", "(", ")", ")", "{", "if", "(", "Subtarget", "->", "hasVFP2", "(", ")", "&&", "TM", ".", "Options", ".", "FloatABIType", "==", "FloatABI", "::", "Hard", "&&", "!", "isVarArg", ")", "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", ":", "case", "CallingConv", "::", "Swift", ":", "if", "(", "!", "isVarArg", ")", "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", ")", ";", "case", "CallingConv", "::", "GHC", ":", "if", "(", "Return", ")", "llvm_unreachable", "(", "\"Can't return in GHC call convention\"", ")", ";", "else", "return", "CC_ARM_APCS_GHC", ";", "}", "}", ""], "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", "ARM", "ARM", "\"Can't return in GHC call convention\"", "ARM"], "File": "ARMFastISel3", "Func": "CCAssignFnForCall", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7565, "Length": 219, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "enough_regs_for_param", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "tree", "type", ",", "enum", "machine_mode", "mode", ")", "{", "int", "type_size", ";", "int", "remaining_size", ";", "if", "(", "mode", "!=", "BLKmode", ")", "type_size", "=", "GET_MODE_BITSIZE", "(", "mode", ")", ";", "else", "type_size", "=", "int_size_in_bytes", "(", "type", ")", "*", "BITS_PER_UNIT", ";", "remaining_size", "=", "BITS_PER_WORD", "*", "(", "MAX_REG_FOR_PASSING_ARGS", "-", "(", "MIN_REG_FOR_PASSING_ARGS", "+", "cum", "->", "ints", ")", "+", "1", ")", ";", "if", "(", "(", "remaining_size", ">=", "type_size", ")", "&&", "(", "type_size", "<=", "2", "*", "BITS_PER_WORD", ")", ")", "return", "(", "type_size", "+", "BITS_PER_WORD", "-", "1", ")", "/", "BITS_PER_WORD", ";", "return", "0", ";", "}", ""], "natrual_language": ["If", "enough", "param", "regs", "are", "available", "for", "passing", "the", "param", "of", "type", "TYPE", "return", "*", "the", "number", "of", "registers", "needed", "else", "0", "."], "TS_V_token": ["crx", "1", "2", "1", "0"], "File": "crx", "Func": "enough_regs_for_param", "Target": "crx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7566, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 EFLAGS copy lowering\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 EFLAGS copy lowering\""], "File": "X86FlagsCopyLowering", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7567, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ARMBaseInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "InstrInfo", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMSubtarget (2)", "Func": "getInstrInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7568, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "OpenRISCTargetLowering", "::", "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_OpenRISC", ")", ";", "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", "=", "OpenRISCISD", "::", "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": ["OpenRISC", "OpenRISC", "ISD::OutputArg", "16", "OpenRISC", "0", "0", "\"Can only return in registers!\"", "1", "OpenRISCISD::RET_FLAG", "MVT::Other", "MVT::Other"], "File": "OpenRISCISelLowering", "Func": "LowerReturn", "Target": "OpenRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7569, "Length": 282, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMMCCodeEmitter", "::", "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", ")", ";", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "ARM", "::", "HasMVEIntegerOps", "]", ")", "return", "RegNo", ";", "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", ".", "isDFPImm", "(", ")", ")", "{", "return", "static_cast", "<", "unsigned", ">", "(", "APFloat", "(", "bit_cast", "<", "double", ">", "(", "MO", ".", "getDFPImm", "(", ")", ")", ")", ".", "bitcastToAPInt", "(", ")", ".", "getHiBits", "(", "32", ")", ".", "getLimitedValue", "(", ")", ")", ";", "}", "llvm_unreachable", "(", "\"Unable to encode MCOperand!\"", ")", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["ARM", "ARM", "ARM::HasMVEIntegerOps", "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!\""], "File": "ARMMCCodeEmitter15", "Func": "getMachineOpValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7570, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "canSimplifyCallFramePseudos", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "hasReservedCallFrame", "(", "MF", ")", "||", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "hasPreallocatedCall", "(", ")", "||", "(", "hasFP", "(", "MF", ")", "&&", "!", "TRI", "->", "needsStackRealignment", "(", "MF", ")", ")", "||", "TRI", "->", "hasBasePointer", "(", "MF", ")", ";", "}", ""], "natrual_language": ["canSimplifyCallFramePseudos", "-", "If", "there", "is", "a", "reserved", "call", "frame", ",", "the", "call", "frame", "pseudos", "can", "be", "simplified", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86FrameLowering101", "Func": "canSimplifyCallFramePseudos", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7571, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "getMachineCombinerPatterns", "(", "MachineInstr", "&", "Root", ",", "SmallVectorImpl", "<", "MachineCombinerPattern", "::", "MC_PATTERN", ">", "&", "Patterns", ")", "const", "{", "if", "(", "Subtarget", ".", "getTargetMachine", "(", ")", ".", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "Aggressive", ")", "return", "false", ";", "if", "(", "!", "Root", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getTarget", "(", ")", ".", "Options", ".", "UnsafeFPMath", ")", "return", "false", ";", "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": ["PowerPC", "PPC"], "File": "PPCInstrInfo75", "Func": "getMachineCombinerPatterns", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7572, "Length": 74, "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": 7573, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "attr_length_call", "(", "rtx", "insn", ",", "int", "sibcall", ")", "{", "int", "local_call", ";", "rtx", "call_dest", ";", "tree", "call_decl", ";", "int", "length", "=", "0", ";", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "unsigned", "long", "distance", "=", "-", "1", ";", "if", "(", "INSN_ADDRESSES_SET_P", "(", ")", ")", "{", "unsigned", "long", "total", ";", "total", "=", "IN_NAMED_SECTION_P", "(", "cfun", "->", "decl", ")", "?", "0", ":", "total_code_bytes", ";", "distance", "=", "(", "total", "+", "insn_current_reference_address", "(", "insn", ")", ")", ";", "if", "(", "distance", "<", "total", ")", "distance", "=", "-", "1", ";", "}", "if", "(", "GET_CODE", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ")", "==", "CALL", ")", "call_dest", "=", "XEXP", "(", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ",", "0", ")", ",", "0", ")", ";", "else", "call_dest", "=", "XEXP", "(", "XEXP", "(", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ",", "1", ")", ",", "0", ")", ",", "0", ")", ";", "call_decl", "=", "SYMBOL_REF_DECL", "(", "call_dest", ")", ";", "local_call", "=", "call_decl", "&&", "(", "*", "targetm", ".", "binds_local_p", ")", "(", "call_decl", ")", ";", "if", "(", "!", "TARGET_LONG_CALLS", "&&", "(", "(", "TARGET_PA_20", "&&", "!", "sibcall", "&&", "distance", "<", "7600000", ")", "||", "distance", "<", "240000", ")", ")", "length", "+=", "8", ";", "else", "if", "(", "TARGET_64BIT", "&&", "!", "local_call", ")", "length", "+=", "sibcall", "?", "28", ":", "24", ";", "else", "if", "(", "(", "TARGET_LONG_ABS_CALL", "||", "local_call", ")", "&&", "!", "flag_pic", ")", "length", "+=", "12", ";", "else", "if", "(", "(", "TARGET_SOM", "&&", "TARGET_LONG_PIC_SDIFF_CALL", ")", "||", "(", "TARGET_64BIT", "&&", "!", "TARGET_GAS", ")", "||", "(", "TARGET_GAS", "&&", "(", "TARGET_LONG_PIC_PCREL_CALL", "||", "local_call", ")", ")", ")", "{", "length", "+=", "20", ";", "if", "(", "!", "TARGET_PA_20", "&&", "!", "TARGET_NO_SPACE_REGS", ")", "length", "+=", "8", ";", "}", "else", "{", "length", "+=", "32", ";", "if", "(", "TARGET_SOM", ")", "length", "+=", "length_fp_args", "(", "insn", ")", ";", "if", "(", "flag_pic", ")", "length", "+=", "4", ";", "if", "(", "!", "TARGET_PA_20", ")", "{", "if", "(", "!", "sibcall", ")", "length", "+=", "8", ";", "if", "(", "!", "TARGET_NO_SPACE_REGS", ")", "length", "+=", "8", ";", "}", "}", "return", "length", ";", "}", ""], "natrual_language": ["Return", "the", "attribute", "length", "of", "the", "call", "instruction", "INSN", ".", "The", "SIBCALL", "flag", "indicates", "whether", "INSN", "is", "a", "regular", "call", "or", "a", "sibling", "call", ".", "The", "length", "returned", "must", "be", "longer", "than", "the", "code", "actually", "generated", "by", "output_call", ".", "Since", "branch", "shortening", "is", "done", "before", "delay", "branch", "sequencing", ",", "there", "is", "no", "way", "to", "determine", "whether", "or", "not", "the", "delay", "slot", "will", "be", "filled", "during", "branch", "shortening", ".", "Even", "when", "the", "delay", "slot", "is", "filled", ",", "we", "may", "have", "to", "add", "a", "nop", "if", "the", "delay", "slot", "contains", "a", "branch", "that", "ca", "n't", "reach", "its", "target", ".", "Thus", ",", "we", "always", "have", "to", "include", "the", "delay", "slot", "in", "the", "length", "estimate", ".", "This", "used", "to", "be", "done", "in", "pa_adjust_insn_length", "but", "we", "do", "it", "here", "now", "as", "some", "sequences", "always", "fill", "the", "delay", "slot", "and", "we", "can", "save", "four", "bytes", "in", "the", "estimate", "for", "these", "sequences", "."], "TS_V_token": ["pa", "0", "1", "0", "1", "0", "0", "0", "0", "0", "0", "0", "0", "1", "0", "0", "7600000", "240000", "8", "28", "24", "12", "20", "8", "32", "4", "8", "8"], "File": "pa3", "Func": "attr_length_call", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7574, "Length": 328, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_operands_ok_for_ldpstp", "(", "rtx", "*", "operands", ",", "bool", "load", ",", "machine_mode", "mode", ")", "{", "HOST_WIDE_INT", "offval_1", ",", "offval_2", ",", "msize", ";", "enum", "reg_class", "rclass_1", ",", "rclass_2", ";", "rtx", "mem_1", ",", "mem_2", ",", "reg_1", ",", "reg_2", ",", "base_1", ",", "base_2", ",", "offset_1", ",", "offset_2", ";", "if", "(", "load", ")", "{", "mem_1", "=", "operands", "[", "1", "]", ";", "mem_2", "=", "operands", "[", "3", "]", ";", "reg_1", "=", "operands", "[", "0", "]", ";", "reg_2", "=", "operands", "[", "2", "]", ";", "gcc_assert", "(", "REG_P", "(", "reg_1", ")", "&&", "REG_P", "(", "reg_2", ")", ")", ";", "if", "(", "REGNO", "(", "reg_1", ")", "==", "REGNO", "(", "reg_2", ")", ")", "return", "false", ";", "}", "else", "{", "mem_1", "=", "operands", "[", "0", "]", ";", "mem_2", "=", "operands", "[", "2", "]", ";", "reg_1", "=", "operands", "[", "1", "]", ";", "reg_2", "=", "operands", "[", "3", "]", ";", "}", "if", "(", "MEM_VOLATILE_P", "(", "mem_1", ")", "||", "MEM_VOLATILE_P", "(", "mem_2", ")", ")", "return", "false", ";", "if", "(", "mode", "==", "SImode", "&&", "(", "aarch64_tune_params", ".", "extra_tuning_flags", "&", "AARCH64_EXTRA_TUNE_SLOW_UNALIGNED_LDPW", ")", "&&", "!", "optimize_size", "&&", "MEM_ALIGN", "(", "mem_1", ")", "<", "8", "*", "BITS_PER_UNIT", ")", "return", "false", ";", "extract_base_offset_in_addr", "(", "mem_1", ",", "&", "base_1", ",", "&", "offset_1", ")", ";", "if", "(", "base_1", "==", "NULL_RTX", "||", "offset_1", "==", "NULL_RTX", ")", "return", "false", ";", "extract_base_offset_in_addr", "(", "mem_2", ",", "&", "base_2", ",", "&", "offset_2", ")", ";", "if", "(", "base_2", "==", "NULL_RTX", "||", "offset_2", "==", "NULL_RTX", ")", "return", "false", ";", "if", "(", "!", "rtx_equal_p", "(", "base_1", ",", "base_2", ")", ")", "return", "false", ";", "gcc_assert", "(", "known_eq", "(", "GET_MODE_SIZE", "(", "GET_MODE", "(", "mem_1", ")", ")", ",", "GET_MODE_SIZE", "(", "GET_MODE", "(", "mem_2", ")", ")", ")", ")", ";", "offval_1", "=", "INTVAL", "(", "offset_1", ")", ";", "offval_2", "=", "INTVAL", "(", "offset_2", ")", ";", "msize", "=", "GET_MODE_SIZE", "(", "mode", ")", ".", "to_constant", "(", ")", ";", "if", "(", "offval_1", "!=", "(", "offval_2", "+", "msize", ")", "&&", "offval_2", "!=", "(", "offval_1", "+", "msize", ")", ")", "return", "false", ";", "if", "(", "load", ")", "{", "if", "(", "reg_mentioned_p", "(", "reg_1", ",", "mem_1", ")", ")", "return", "false", ";", "if", "(", "offval_1", ">", "offval_2", "&&", "reg_mentioned_p", "(", "reg_2", ",", "mem_2", ")", ")", "return", "false", ";", "}", "if", "(", "!", "aarch64_mem_pair_operand", "(", "mem_1", ",", "GET_MODE", "(", "mem_1", ")", ")", "&&", "!", "aarch64_mem_pair_operand", "(", "mem_2", ",", "GET_MODE", "(", "mem_2", ")", ")", ")", "return", "false", ";", "if", "(", "REG_P", "(", "reg_1", ")", "&&", "FP_REGNUM_P", "(", "REGNO", "(", "reg_1", ")", ")", ")", "rclass_1", "=", "FP_REGS", ";", "else", "rclass_1", "=", "GENERAL_REGS", ";", "if", "(", "REG_P", "(", "reg_2", ")", "&&", "FP_REGNUM_P", "(", "REGNO", "(", "reg_2", ")", ")", ")", "rclass_2", "=", "FP_REGS", ";", "else", "rclass_2", "=", "GENERAL_REGS", ";", "if", "(", "rclass_1", "!=", "rclass_2", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Given", "OPERANDS", "of", "consecutive", "load/store", ",", "check", "if", "we", "can", "merge", "them", "into", "ldp/stp", ".", "LOAD", "is", "true", "if", "they", "are", "load", "instructions", ".", "MODE", "is", "the", "mode", "of", "memory", "operands", "."], "TS_V_token": ["aarch64", "1", "3", "0", "2", "0", "2", "1", "3", "8"], "File": "aarch64", "Func": "aarch64_operands_ok_for_ldpstp", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7575, "Length": 432, "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": 7576, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ThumbRegisterInfo", "::", "saveScavengerRegister", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "MachineBasicBlock", "::", "iterator", "&", "UseMI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "unsigned", "Reg", ")", "const", "{", "const", "ARMSubtarget", "&", "STI", "=", "MBB", ".", "getParent", "(", ")", "->", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "if", "(", "!", "STI", ".", "isThumb1Only", "(", ")", ")", "return", "ARMBaseRegisterInfo", "::", "saveScavengerRegister", "(", "MBB", ",", "I", ",", "UseMI", ",", "RC", ",", "Reg", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "DL", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", ".", "get", "(", "ARM", "::", "tMOVr", ")", ")", ".", "addReg", "(", "ARM", "::", "R12", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "bool", "done", "=", "false", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "II", "=", "I", ";", "!", "done", "&&", "II", "!=", "UseMI", ";", "++", "II", ")", "{", "if", "(", "II", "->", "isDebugValue", "(", ")", ")", "continue", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "II", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "const", "MachineOperand", "&", "MO", "=", "II", "->", "getOperand", "(", "i", ")", ";", "if", "(", "MO", ".", "isRegMask", "(", ")", "&&", "MO", ".", "clobbersPhysReg", "(", "ARM", "::", "R12", ")", ")", "{", "UseMI", "=", "II", ";", "done", "=", "true", ";", "break", ";", "}", "if", "(", "!", "MO", ".", "isReg", "(", ")", "||", "MO", ".", "isUndef", "(", ")", "||", "!", "MO", ".", "getReg", "(", ")", "||", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "MO", ".", "getReg", "(", ")", ")", ")", "continue", ";", "if", "(", "MO", ".", "getReg", "(", ")", "==", "ARM", "::", "R12", ")", "{", "UseMI", "=", "II", ";", "done", "=", "true", ";", "break", ";", "}", "}", "}", "BuildMI", "(", "MBB", ",", "UseMI", ",", "DL", ",", "TII", ".", "get", "(", "ARM", "::", "tMOVr", ")", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "ARM", "::", "R12", ",", "RegState", "::", "Kill", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Spill", "the", "register", "so", "it", "can", "be", "used", "by", "the", "register", "scavenger", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM::tMOVr", "ARM::R12", "ARMCC::AL", "0", "ARM::R12", "ARM::R12", "ARM::tMOVr", "ARM::R12", "ARMCC::AL"], "File": "ThumbRegisterInfo12", "Func": "saveScavengerRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7577, "Length": 348, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "OR1KTargetMachine", "*", "TM", "=", "static_cast", "<", "const", "OR1KTargetMachine", "*", ">", "(", "&", "MF", ".", "getTarget", "(", ")", ")", ";", "if", "(", "TM", "->", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", ")", "return", "false", ";", "OR1KMachineFunctionInfo", "*", "OR1KFI", "=", "MF", ".", "getInfo", "<", "OR1KMachineFunctionInfo", ">", "(", ")", ";", "unsigned", "GlobalBaseReg", "=", "OR1KFI", "->", "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", "OR1KInstrInfo", "*", "TII", "=", "TM", "->", "getInstrInfo", "(", ")", ";", "unsigned", "Scratch1", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "OR1K", "::", "GPRRegClass", ")", ";", "unsigned", "Scratch2", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "OR1K", "::", "GPRRegClass", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "OR1K", "::", "GETPC", ")", ")", ".", "addImm", "(", "0", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "OR1K", "::", "MOVHI", ")", ",", "Scratch1", ")", ".", "addExternalSymbol", "(", "\"_GLOBAL_OFFSET_TABLE_\"", ",", "OR1KII", "::", "MO_GOTPCHI", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "OR1K", "::", "ORI", ")", ",", "Scratch2", ")", ".", "addReg", "(", "Scratch1", ")", ".", "addExternalSymbol", "(", "\"_GLOBAL_OFFSET_TABLE_\"", ",", "OR1KII", "::", "MO_GOTPCLO", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "OR1K", "::", "ADD", ")", ",", "GlobalBaseReg", ")", ".", "addReg", "(", "OR1K", "::", "R9", ")", ".", "addReg", "(", "Scratch2", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["OR1K", "OR1K", "OR1K", "OR1K", "OR1K", "OR1K", "OR1K", "0", "OR1K", "OR1K::GPRRegClass", "OR1K::GPRRegClass", "OR1K::GETPC", "0", "OR1K::MOVHI", "\"_GLOBAL_OFFSET_TABLE_\"", "OR1KII::MO_GOTPCHI", "OR1K::ORI", "\"_GLOBAL_OFFSET_TABLE_\"", "OR1KII::MO_GOTPCLO", "OR1K::ADD", "OR1K::R9"], "File": "OR1KInstrInfo", "Func": "runOnMachineFunction", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7578, "Length": 275, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "SystemZTTIImpl", "::", "getIntrinsicInstrCost", "(", "const", "IntrinsicCostAttributes", "&", "ICA", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "InstructionCost", "Cost", "=", "getVectorIntrinsicInstrCost", "(", "ICA", ".", "getID", "(", ")", ",", "ICA", ".", "getReturnType", "(", ")", ")", ";", "if", "(", "Cost", "!=", "-", "1", ")", "return", "Cost", ";", "return", "BaseT", "::", "getIntrinsicInstrCost", "(", "ICA", ",", "CostKind", ")", ";", "}", ""], "natrual_language": ["Get", "intrinsic", "cost", "based", "on", "arguments", "."], "TS_V_token": ["SystemZ", "SystemZ", "1"], "File": "SystemZTargetTransformInfo1", "Func": "getIntrinsicInstrCost", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7579, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_output_args_xfer", "(", "int", "fp_code", ",", "char", "direction", ")", "{", "unsigned", "int", "gparg", ",", "fparg", ",", "f", ";", "CUMULATIVE_ARGS", "cum", ";", "gcc_assert", "(", "TARGET_OLDABI", ")", ";", "mips_init_cumulative_args", "(", "&", "cum", ",", "NULL", ")", ";", "for", "(", "f", "=", "(", "unsigned", "int", ")", "fp_code", ";", "f", "!=", "0", ";", "f", ">>=", "2", ")", "{", "machine_mode", "mode", ";", "struct", "mips_arg_info", "info", ";", "if", "(", "(", "f", "&", "3", ")", "==", "1", ")", "mode", "=", "SFmode", ";", "else", "if", "(", "(", "f", "&", "3", ")", "==", "2", ")", "mode", "=", "DFmode", ";", "else", "gcc_unreachable", "(", ")", ";", "mips_get_arg_info", "(", "&", "info", ",", "&", "cum", ",", "mode", ",", "NULL", ",", "true", ")", ";", "gparg", "=", "mips_arg_regno", "(", "&", "info", ",", "false", ")", ";", "fparg", "=", "mips_arg_regno", "(", "&", "info", ",", "true", ")", ";", "if", "(", "mode", "==", "SFmode", ")", "mips_output_32bit_xfer", "(", "direction", ",", "gparg", ",", "fparg", ")", ";", "else", "mips_output_64bit_xfer", "(", "direction", ",", "gparg", ",", "fparg", ")", ";", "mips_function_arg_advance", "(", "pack_cumulative_args", "(", "&", "cum", ")", ",", "mode", ",", "NULL", ",", "true", ")", ";", "}", "}", ""], "natrual_language": ["Write", "out", "code", "to", "move", "floating-point", "arguments", "into", "or", "out", "of", "general", "registers", ".", "FP_CODE", "is", "the", "code", "describing", "which", "arguments", "are", "present", "(", "see", "the", "comment", "above", "the", "definition", "of", "CUMULATIVE_ARGS", "in", "mips.h", ")", ".", "DIRECTION", "is", "as", "for", "mips_output_32bit_xfer", "."], "TS_V_token": ["mips", "0", "2", "3", "1", "3", "2"], "File": "mips4", "Func": "mips_output_args_xfer", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7580, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "KnownBits", "&", "Known", ",", "const", "APInt", "&", "DemandedElts", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "unsigned", "BitWidth", "=", "Known", ".", "getBitWidth", "(", ")", ";", "Known", ".", "resetAll", "(", ")", ";", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ARMISD", "::", "ADDC", ":", "case", "ARMISD", "::", "ADDE", ":", "case", "ARMISD", "::", "SUBC", ":", "case", "ARMISD", "::", "SUBE", ":", "if", "(", "Op", ".", "getResNo", "(", ")", "==", "0", ")", "{", "SDValue", "LHS", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "SDValue", "RHS", "=", "Op", ".", "getOperand", "(", "1", ")", ";", "if", "(", "Op", "->", "getOpcode", "(", ")", "==", "ARMISD", "::", "ADDE", "&&", "isNullConstant", "(", "LHS", ")", "&&", "isNullConstant", "(", "RHS", ")", ")", "{", "Known", ".", "Zero", "|=", "APInt", "::", "getHighBitsSet", "(", "BitWidth", ",", "BitWidth", "-", "1", ")", ";", "return", ";", "}", "}", "break", ";", "case", "ARMISD", "::", "CMOV", ":", "{", "Known", "=", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "0", ")", ",", "Depth", "+", "1", ")", ";", "if", "(", "Known", ".", "isUnknown", "(", ")", ")", "return", ";", "KnownBits", "KnownRHS", "=", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "1", ")", ",", "Depth", "+", "1", ")", ";", "Known", ".", "Zero", "&=", "KnownRHS", ".", "Zero", ";", "Known", ".", "One", "&=", "KnownRHS", ".", "One", ";", "return", ";", "}", "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", "::", "arm_ldaex", ":", "case", "Intrinsic", "::", "arm_ldrex", ":", "{", "EVT", "VT", "=", "cast", "<", "MemIntrinsicSDNode", ">", "(", "Op", ")", "->", "getMemoryVT", "(", ")", ";", "unsigned", "MemBits", "=", "VT", ".", "getScalarSizeInBits", "(", ")", ";", "Known", ".", "Zero", "|=", "APInt", "::", "getHighBitsSet", "(", "BitWidth", ",", "BitWidth", "-", "MemBits", ")", ";", "return", ";", "}", "}", "}", "case", "ARMISD", "::", "BFI", ":", "{", "Known", "=", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "0", ")", ",", "Depth", "+", "1", ")", ";", "ConstantSDNode", "*", "CI", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "2", ")", ")", ";", "const", "APInt", "&", "Mask", "=", "CI", "->", "getAPIntValue", "(", ")", ";", "Known", ".", "Zero", "&=", "Mask", ";", "Known", ".", "One", "&=", "Mask", ";", "return", ";", "}", "}", "}", ""], "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": ["ARM", "ARM", "ARMISD::ADDC", "ARMISD::ADDE", "ARMISD::SUBC", "ARMISD::SUBE", "0", "0", "1", "ARMISD::ADDE", "1", "ARMISD::CMOV", "0", "1", "1", "1", "ISD::INTRINSIC_W_CHAIN", "1", "Intrinsic::ID", "Intrinsic::ID", "Intrinsic::arm_ldaex", "Intrinsic::arm_ldrex", "ARMISD::BFI", "0", "1", "2"], "File": "ARMISelLowering148", "Func": "computeKnownBitsForTargetNode", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7581, "Length": 398, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMAsmBackend", "::", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "{", "unsigned", "RelaxedOp", "=", "getRelaxedOpcode", "(", "Inst", ".", "getOpcode", "(", ")", ")", ";", "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": ["ARM", "ARM", "256", "\"\\n\"", "\"unexpected instruction to relax: \""], "File": "ARMAsmBackend (2)", "Func": "relaxInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7582, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "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", ":", "{", "if", "(", "!", "ML", ")", "break", ";", "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", "5", ";", "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", "0", "32", "16", "32", "5"], "File": "PPCISelLowering (2)2", "Func": "getPrefLoopAlignment", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7583, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "match_const_restriction", "(", "typeinfo", "*", "typedata", ")", "{", "int", "oldpos", "=", "pos", ";", "if", "(", "linebuf", "[", "pos", "]", "==", "'<'", ")", "{", "safe_inc_pos", "(", ")", ";", "oldpos", "=", "pos", ";", "char", "*", "x", "=", "match_integer", "(", ")", ";", "if", "(", "x", "==", "NULL", ")", "{", "diag", "(", "oldpos", ",", "\"malformed integer.\\n\"", ")", ";", "return", "0", ";", "}", "consume_whitespace", "(", ")", ";", "if", "(", "linebuf", "[", "pos", "]", "==", "'>'", ")", "{", "typedata", "->", "restr", "=", "RES_BITS", ";", "typedata", "->", "val1", "=", "x", ";", "safe_inc_pos", "(", ")", ";", "return", "1", ";", "}", "else", "if", "(", "linebuf", "[", "pos", "]", "!=", "','", ")", "{", "diag", "(", "pos", ",", "\"malformed restriction.\\n\"", ")", ";", "return", "0", ";", "}", "safe_inc_pos", "(", ")", ";", "oldpos", "=", "pos", ";", "char", "*", "y", "=", "match_integer", "(", ")", ";", "if", "(", "y", "==", "NULL", ")", "{", "diag", "(", "oldpos", ",", "\"malformed integer.\\n\"", ")", ";", "return", "0", ";", "}", "typedata", "->", "restr", "=", "RES_RANGE", ";", "typedata", "->", "val1", "=", "x", ";", "typedata", "->", "val2", "=", "y", ";", "consume_whitespace", "(", ")", ";", "if", "(", "linebuf", "[", "pos", "]", "!=", "'>'", ")", "{", "diag", "(", "pos", ",", "\"malformed restriction.\\n\"", ")", ";", "return", "0", ";", "}", "safe_inc_pos", "(", ")", ";", "return", "1", ";", "}", "else", "if", "(", "match_bracketed_pair", "(", "typedata", ",", "'{'", ",", "'}'", ",", "RES_VALUES", ")", "||", "match_bracketed_pair", "(", "typedata", ",", "'['", ",", "']'", ",", "RES_VAR_RANGE", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["A", "const", "int", "argument", "may", "be", "restricted", "to", "certain", "values", ".", "This", "is", "indicated", "by", "one", "of", "the", "following", "occurring", "after", "the", "``", "int", "'", "token", ":", "<", "x", ">", "restricts", "the", "constant", "to", "x", "bits", ",", "interpreted", "as", "unsigned", "<", "x", ",", "y", ">", "restricts", "the", "constant", "to", "the", "inclusive", "range", "[", "x", ",", "y", "]", "[", "x", ",", "y", "]", "restricts", "the", "constant", "to", "the", "inclusive", "range", "[", "x", ",", "y", "]", ",", "but", "only", "applies", "if", "the", "argument", "is", "constant", ".", "{", "x", ",", "y", "}", "restricts", "the", "constant", "to", "one", "of", "two", "values", ",", "x", "or", "y", ".", "Here", "x", "and", "y", "are", "integer", "tokens", ".", "Note", "that", "the", "``", "const", "''", "token", "is", "a", "lie", "when", "the", "restriction", "is", "[", "x", ",", "y", "]", ",", "but", "this", "simplifies", "the", "parsing", "significantly", "and", "is", "hopefully", "forgivable", ".", "Return", "1", "for", "success", ",", "else", "0", "."], "TS_V_token": ["rs6000", "\"malformed integer.\\n\"", "0", "1", "\"malformed restriction.\\n\"", "0", "\"malformed integer.\\n\"", "0", "\"malformed restriction.\\n\"", "0", "1", "1", "0"], "File": "rs6000-gen-builtins", "Func": "match_const_restriction", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7584, "Length": 231, "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": 7585, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64TargetMachine", "::", "AArch64TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "LittleEndian", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "TLOF", "(", "createTLOF", "(", "Triple", "(", "getTargetTriple", "(", ")", ")", ")", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ",", "LittleEndian", ")", ",", "isLittle", "(", "LittleEndian", ")", "{", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "AArch64", "architecture", "model", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine65", "Func": "AArch64TargetMachine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7586, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "pure_scalable_type_info", "::", "num_zr", "(", ")", "const", "{", "unsigned", "int", "res", "=", "0", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "pieces", ".", "length", "(", ")", ";", "++", "i", ")", "res", "+=", "pieces", "[", "i", "]", ".", "num_zr", ";", "return", "res", ";", "}", ""], "natrual_language": ["Return", "the", "total", "number", "of", "vector", "registers", "required", "by", "the", "PST", "."], "TS_V_token": ["aarch64", "0", "0"], "File": "aarch64", "Func": "num_zr", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7587, "Length": 47, "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": ["Sparc"], "File": "SparcTargetMachine21", "Func": "getDataLayout", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7588, "Length": 14, "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", ")", ";", "return", ";", "}", ""], "natrual_language": ["Reset", "the", "subtarget", "for", "the", "Mips", "target", "."], "TS_V_token": ["Mips", "Mips", "\"resetSubtarget\\n\"", "Mips"], "File": "MipsTargetMachine2", "Func": "resetSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7589, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "PPCRegisterInfo", "::", "getLargestLegalSuperClass", "(", "const", "TargetRegisterClass", "*", "RC", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "const", "auto", "*", "DefaultSuperclass", "=", "TargetRegisterInfo", "::", "getLargestLegalSuperClass", "(", "RC", ",", "MF", ")", ";", "if", "(", "Subtarget", ".", "hasVSX", "(", ")", ")", "{", "if", "(", "TM", ".", "isELFv2ABI", "(", ")", "||", "Subtarget", ".", "isAIXABI", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "hasP9Vector", "(", ")", "&&", "EnableGPRToVecSpills", "&&", "RC", "==", "&", "PPC", "::", "G8RCRegClass", ")", "{", "InflateGP8RC", "++", ";", "return", "&", "PPC", "::", "SPILLTOVSRRCRegClass", ";", "}", "if", "(", "RC", "==", "&", "PPC", "::", "GPRCRegClass", "&&", "EnableGPRToVecSpills", ")", "InflateGPRC", "++", ";", "}", "for", "(", "const", "auto", "*", "I", "=", "RC", "->", "getSuperClasses", "(", ")", ";", "*", "I", ";", "++", "I", ")", "{", "if", "(", "getRegSizeInBits", "(", "*", "*", "I", ")", "!=", "getRegSizeInBits", "(", "*", "RC", ")", ")", "continue", ";", "switch", "(", "(", "*", "I", ")", "->", "getID", "(", ")", ")", "{", "case", "PPC", "::", "VSSRCRegClassID", ":", "return", "Subtarget", ".", "hasP8Vector", "(", ")", "?", "*", "I", ":", "DefaultSuperclass", ";", "case", "PPC", "::", "VSFRCRegClassID", ":", "case", "PPC", "::", "VSRCRegClassID", ":", "return", "*", "I", ";", "case", "PPC", "::", "VSRpRCRegClassID", ":", "return", "Subtarget", ".", "pairedVectorMemops", "(", ")", "?", "*", "I", ":", "DefaultSuperclass", ";", "case", "PPC", "::", "ACCRCRegClassID", ":", "case", "PPC", "::", "UACCRCRegClassID", ":", "return", "Subtarget", ".", "hasMMA", "(", ")", "?", "*", "I", ":", "DefaultSuperclass", ";", "}", "}", "}", "return", "DefaultSuperclass", ";", "}", ""], "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": ["PowerPC", "PPC", "PPC", "PPC", "PPC::G8RCRegClass", "PPC::SPILLTOVSRRCRegClass", "PPC::GPRCRegClass", "PPC::VSSRCRegClassID", "PPC::VSFRCRegClassID", "PPC::VSRCRegClassID", "PPC::VSRpRCRegClassID", "PPC::ACCRCRegClassID", "PPC::UACCRCRegClassID"], "File": "PPCRegisterInfo (2)3", "Func": "getLargestLegalSuperClass", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7590, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_frame_pointer_required", "(", "void", ")", "{", "if", "(", "cfun", "->", "machine", "->", "accesses_prev_frame", ")", "return", "true", ";", "if", "(", "SUBTARGET_FRAME_POINTER_REQUIRED", ")", "return", "true", ";", "if", "(", "TARGET_32BIT_MS_ABI", "&&", "cfun", "->", "calls_setjmp", ")", "return", "true", ";", "if", "(", "TARGET_64BIT_MS_ABI", "&&", "get_frame_size", "(", ")", ">", "SEH_MAX_FRAME_SIZE", ")", "return", "true", ";", "if", "(", "TARGET_64BIT_MS_ABI", "&&", "ix86_incoming_stack_boundary", "<", "128", ")", "return", "true", ";", "if", "(", "TARGET_OMIT_LEAF_FRAME_POINTER", "&&", "(", "!", "crtl", "->", "is_leaf", "||", "ix86_current_function_calls_tls_descriptor", ")", ")", "return", "true", ";", "if", "(", "crtl", "->", "profile", "&&", "!", "flag_fentry", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Value", "should", "be", "nonzero", "if", "functions", "must", "have", "frame", "pointers", ".", "Zero", "means", "the", "frame", "pointer", "need", "not", "be", "set", "up", "(", "and", "parms", "may", "be", "accessed", "via", "the", "stack", "pointer", ")", "in", "functions", "that", "seem", "suitable", "."], "TS_V_token": ["i386", "128"], "File": "i3865", "Func": "ix86_frame_pointer_required", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7591, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_select_rtx_section", "(", "enum", "machine_mode", "mode", ",", "rtx", "x", ",", "unsigned", "HOST_WIDE_INT", "align", ")", "{", "if", "(", "TARGET_MIPS16", ")", "{", "function_section", "(", "current_function_decl", ")", ";", "}", "else", "if", "(", "TARGET_EMBEDDED_DATA", ")", "{", "mergeable_constant_section", "(", "mode", ",", "align", ",", "0", ")", ";", "}", "else", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "(", "unsigned", ")", "mips_section_threshold", "&&", "mips_section_threshold", ">", "0", ")", "named_section", "(", "0", ",", "\".sdata\"", ",", "0", ")", ";", "else", "if", "(", "flag_pic", "&&", "symbolic_expression_p", "(", "x", ")", ")", "named_section", "(", "0", ",", "\".data.rel.ro\"", ",", "3", ")", ";", "else", "mergeable_constant_section", "(", "mode", ",", "align", ",", "0", ")", ";", "}", "}", ""], "natrual_language": ["Choose", "the", "section", "to", "use", "for", "the", "constant", "rtx", "expression", "X", "that", "has", "mode", "MODE", "."], "TS_V_token": ["mips", "0", "0", "0", "\".sdata\"", "0", "0", "\".data.rel.ro\"", "3", "0"], "File": "mips3", "Func": "mips_select_rtx_section", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7592, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "X86Subtarget", "*", "X86TargetMachine", "::", "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", ";", "Attribute", "SFAttr", "=", "FnAttrs", ".", "getAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "\"use-soft-float\"", ")", ";", "bool", "SoftFloat", "=", "!", "SFAttr", ".", "hasAttribute", "(", "Attribute", "::", "None", ")", "?", "SFAttr", ".", "getValueAsString", "(", ")", "==", "\"true\"", ":", "Options", ".", "UseSoftFloat", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "CPU", "+", "FS", "+", "(", "SoftFloat", "?", "\"use-soft-float=true\"", ":", "\"use-soft-float=false\"", ")", "]", ";", "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\"", "\"true\"", "\"use-soft-float=true\"", "\"use-soft-float=false\"", "X86"], "File": "X86TargetMachine112", "Func": "getSubtargetImpl", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7593, "Length": 206, "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", "::", "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::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": "AArch64ISelLowering138", "Func": "LowerOperation", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7594, "Length": 364, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_pragma_target_parse", "(", "tree", "args", ",", "tree", "pop_target", ")", "{", "tree", "prev_tree", "=", "build_target_option_node", "(", "&", "global_options", ",", "&", "global_options_set", ")", ";", "tree", "cur_tree", ";", "struct", "cl_target_option", "*", "prev_opt", ",", "*", "cur_opt", ";", "HOST_WIDE_INT", "prev_flags", ",", "cur_flags", ",", "diff_flags", ";", "if", "(", "TARGET_DEBUG_TARGET", ")", "{", "fprintf", "(", "stderr", ",", "\"\\n==================== rs6000_pragma_target_parse\\n\"", ")", ";", "fprintf", "(", "stderr", ",", "\"args:\"", ")", ";", "rs6000_debug_target_options", "(", "args", ",", "\" \"", ")", ";", "fprintf", "(", "stderr", ",", "\"\\n\"", ")", ";", "if", "(", "pop_target", ")", "{", "fprintf", "(", "stderr", ",", "\"pop_target:\\n\"", ")", ";", "debug_tree", "(", "pop_target", ")", ";", "}", "else", "fprintf", "(", "stderr", ",", "\"pop_target: \\n\"", ")", ";", "fprintf", "(", "stderr", ",", "\"--------------------\\n\"", ")", ";", "}", "if", "(", "!", "args", ")", "{", "cur_tree", "=", "(", "(", "pop_target", ")", "?", "pop_target", ":", "target_option_default_node", ")", ";", "cl_target_option_restore", "(", "&", "global_options", ",", "&", "global_options_set", ",", "TREE_TARGET_OPTION", "(", "cur_tree", ")", ")", ";", "}", "else", "{", "rs6000_cpu_index", "=", "rs6000_tune_index", "=", "-", "1", ";", "if", "(", "!", "rs6000_inner_target_options", "(", "args", ",", "false", ")", "||", "!", "rs6000_option_override_internal", "(", "false", ")", "||", "(", "cur_tree", "=", "build_target_option_node", "(", "&", "global_options", ",", "&", "global_options_set", ")", ")", "==", "NULL_TREE", ")", "{", "if", "(", "TARGET_DEBUG_BUILTIN", "||", "TARGET_DEBUG_TARGET", ")", "fprintf", "(", "stderr", ",", "\"invalid pragma\\n\"", ")", ";", "return", "false", ";", "}", "}", "target_option_current_node", "=", "cur_tree", ";", "rs6000_activate_target_options", "(", "target_option_current_node", ")", ";", "if", "(", "rs6000_target_modify_macros_ptr", ")", "{", "prev_opt", "=", "TREE_TARGET_OPTION", "(", "prev_tree", ")", ";", "prev_flags", "=", "prev_opt", "->", "x_rs6000_isa_flags", ";", "cur_opt", "=", "TREE_TARGET_OPTION", "(", "cur_tree", ")", ";", "cur_flags", "=", "cur_opt", "->", "x_rs6000_isa_flags", ";", "diff_flags", "=", "(", "prev_flags", "^", "cur_flags", ")", ";", "if", "(", "diff_flags", "!=", "0", ")", "{", "rs6000_target_modify_macros_ptr", "(", "false", ",", "prev_flags", "&", "diff_flags", ")", ";", "rs6000_target_modify_macros_ptr", "(", "true", ",", "cur_flags", "&", "diff_flags", ")", ";", "}", "}", "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": ["rs6000", "\"\\n==================== rs6000_pragma_target_parse\\n\"", "\"args:\"", "\" \"", "\"\\n\"", "\"pop_target:\\n\"", "\"pop_target: \\n\"", "\"--------------------\\n\"", "1", "\"invalid pragma\\n\"", "0"], "File": "rs60001", "Func": "rs6000_pragma_target_parse", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7595, "Length": 278, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isReassociationCandidate", "(", "const", "MachineInstr", "&", "Inst", ",", "bool", "&", "Commuted", ")", "{", "if", "(", "isAssociativeAndCommutative", "(", "Inst", ")", "&&", "hasReassociableOperands", "(", "Inst", ",", "Inst", ".", "getParent", "(", ")", ")", "&&", "hasReassociableSibling", "(", "Inst", ",", "Commuted", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "input", "\\P", "Inst", "is", "part", "of", "a", "chain", "of", "dependent", "ops", "that", "are", "suitable", "for", "reassociation", ",", "otherwise", "return", "false", "."], "TS_V_token": ["X86"], "File": "X86InstrInfo123", "Func": "isReassociationCandidate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7596, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "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", ",", "ptr", "->", "x_prefer_vector_width_type", ",", "ptr", "->", "x_ix86_move_max", ",", "ptr", "->", "x_ix86_store_max", ",", "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": "i386-options", "Func": "ix86_function_specific_print", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7597, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_final_prescan_insn", "(", "rtx_insn", "*", "insn", ",", "rtx", "*", "opvec", ",", "int", "noperands", ")", "{", "if", "(", "INSN_P", "(", "insn", ")", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "UNSPEC_VOLATILE", "&&", "XINT", "(", "PATTERN", "(", "insn", ")", ",", "1", ")", "==", "UNSPEC_CONSTTABLE", ")", "mips_set_text_contents_type", "(", "asm_out_file", ",", "\"__pool_\"", ",", "INTVAL", "(", "XVECEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ",", "0", ")", ")", ",", "FALSE", ")", ";", "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", "1", "\"__pool_\"", "0", "0"], "File": "mips", "Func": "mips_final_prescan_insn", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7598, "Length": 86, "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", "(", "*", "this", ",", "*", "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": "X86TargetMachine18", "Func": "getSubtargetImpl", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7599, "Length": 314, "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", "(", ")", ";", "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", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "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", "0", "0", "1", "X86::GR64RegClass", "X86::GR32RegClass", "1", "X86", "0", "1", "X86::GR64RegClass", "X86::GR32RegClass", "1"], "File": "X86FrameLowering (2)2", "Func": "assignCalleeSavedSpillSlots", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7600, "Length": 390, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "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", ")", "&&", "\"X86 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", "(", "X86", "::", "JMP_1", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "return", "1", ";", "}", "bool", "FallThru", "=", "FBB", "==", "nullptr", ";", "unsigned", "Count", "=", "0", ";", "X86", "::", "CondCode", "CC", "=", "(", "X86", "::", "CondCode", ")", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ";", "switch", "(", "CC", ")", "{", "case", "X86", "::", "COND_NE_OR_P", ":", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "X86", "::", "JNE_1", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "++", "Count", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "X86", "::", "JP_1", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "++", "Count", ";", "break", ";", "case", "X86", "::", "COND_E_AND_NP", ":", "if", "(", "FBB", "==", "nullptr", ")", "{", "FBB", "=", "getFallThroughMBB", "(", "&", "MBB", ",", "TBB", ")", ";", "assert", "(", "FBB", "&&", "\"MBB cannot be the last block in function when the false \"", "\"body is a fall-through.\"", ")", ";", "}", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "X86", "::", "JNE_1", ")", ")", ".", "addMBB", "(", "FBB", ")", ";", "++", "Count", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "X86", "::", "JNP_1", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "++", "Count", ";", "break", ";", "default", ":", "{", "unsigned", "Opc", "=", "GetCondBranchFromCond", "(", "CC", ")", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "Opc", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "++", "Count", ";", "}", "}", "if", "(", "!", "FallThru", ")", "{", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "X86", "::", "JMP_1", ")", ")", ".", "addMBB", "(", "FBB", ")", ";", "++", "Count", ";", "}", "return", "Count", ";", "}", ""], "natrual_language": ["Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "."], "TS_V_token": ["X86", "X86", "\"insertBranch must not be told to insert a fallthrough\"", "1", "0", "\"X86 branch conditions have one component!\"", "\"code size not handled\"", "\"Unconditional branch with multiple successors!\"", "X86::JMP_1", "1", "0", "X86::CondCode", "X86::CondCode", "0", "X86::COND_NE_OR_P", "X86::JNE_1", "X86::JP_1", "X86::COND_E_AND_NP", "\"MBB cannot be the last block in function when the false \"", "\"body is a fall-through.\"", "X86::JNE_1", "X86::JNP_1", "X86::JMP_1"], "File": "X86InstrInfo", "Func": "insertBranch", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7601, "Length": 349, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_base_register_rtx_p", "(", "rtx", "x", ",", "bool", "strict_p", ")", "{", "if", "(", "!", "strict_p", "&&", "GET_CODE", "(", "x", ")", "==", "SUBREG", ")", "x", "=", "SUBREG_REG", "(", "x", ")", ";", "return", "(", "REG_P", "(", "x", ")", "&&", "aarch64_regno_ok_for_base_p", "(", "REGNO", "(", "x", ")", ",", "strict_p", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "valid", "base", "register", "for", "mode", "MODE", ".", "STRICT_P", "is", "true", "if", "REG_OK_STRICT", "is", "in", "effect", "."], "TS_V_token": ["aarch64"], "File": "aarch642", "Func": "aarch64_base_register_rtx_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7602, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "addPredicate", "(", "MachineInstr", "*", "MI", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"ARM Loops: Adding VPT Predicate: \"", "<<", "*", "MI", ")", ";", "CurrentPredicates", ".", "insert", "(", "MI", ")", ";", "}", ""], "natrual_language": ["Adds", "a", "new", "predicate", "."], "TS_V_token": ["ARM", "\"ARM Loops: Adding VPT Predicate: \""], "File": "ARMLowOverheadLoops", "Func": "addPredicate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7603, "Length": 29, "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": ["TOY"], "File": "TOYFrameLowering", "Func": "hasFP", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7604, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCTargetLowering", "::", "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", "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": "PPCISelLowering135", "Func": "computeKnownBitsForTargetNode", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7605, "Length": 217, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "struct", "xstormy16_stack_layout", "xstormy16_compute_stack_layout", "(", ")", "{", "struct", "xstormy16_stack_layout", "layout", ";", "int", "regno", ";", "const", "int", "ifun", "=", "xstormy16_interrupt_function_p", "(", ")", ";", "layout", ".", "locals_size", "=", "get_frame_size", "(", ")", ";", "layout", ".", "register_save_size", "=", "0", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "REG_NEEDS_SAVE", "(", "regno", ",", "ifun", ")", ")", "layout", ".", "register_save_size", "+=", "UNITS_PER_WORD", ";", "if", "(", "current_function_varargs", "||", "current_function_stdarg", ")", "layout", ".", "stdarg_save_size", "=", "NUM_ARGUMENT_REGISTERS", "*", "UNITS_PER_WORD", ";", "else", "layout", ".", "stdarg_save_size", "=", "0", ";", "layout", ".", "frame_size", "=", "(", "layout", ".", "locals_size", "+", "layout", ".", "register_save_size", "+", "layout", ".", "stdarg_save_size", ")", ";", "if", "(", "current_function_args_size", "<=", "2048", "&&", "current_function_args_size", "!=", "-", "1", ")", "{", "if", "(", "layout", ".", "frame_size", "+", "INCOMING_FRAME_SP_OFFSET", "+", "current_function_args_size", "<=", "2048", ")", "layout", ".", "fp_minus_ap", "=", "layout", ".", "frame_size", "+", "INCOMING_FRAME_SP_OFFSET", ";", "else", "layout", ".", "fp_minus_ap", "=", "2048", "-", "current_function_args_size", ";", "}", "else", "layout", ".", "fp_minus_ap", "=", "(", "layout", ".", "stdarg_save_size", "+", "layout", ".", "register_save_size", "+", "INCOMING_FRAME_SP_OFFSET", ")", ";", "layout", ".", "sp_minus_fp", "=", "(", "layout", ".", "frame_size", "+", "INCOMING_FRAME_SP_OFFSET", "-", "layout", ".", "fp_minus_ap", ")", ";", "layout", ".", "first_local_minus_ap", "=", "layout", ".", "sp_minus_fp", "-", "layout", ".", "locals_size", ";", "return", "layout", ";", "}", ""], "natrual_language": ["Compute", "the", "stack", "layout", "."], "TS_V_token": ["stormy16", "0", "0", "0", "2048", "1", "2048", "2048"], "File": "stormy162", "Func": "xstormy16_compute_stack_layout", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7606, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "AArch64InstrInfo", "*", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "int", "Opc", "=", "I", "->", "getOpcode", "(", ")", ";", "bool", "IsDestroy", "=", "Opc", "==", "TII", "->", "getCallFrameDestroyOpcode", "(", ")", ";", "uint64_t", "CalleePopAmount", "=", "IsDestroy", "?", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ":", "0", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "if", "(", "!", "TFI", "->", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "unsigned", "Align", "=", "getStackAlignment", "(", ")", ";", "int64_t", "Amount", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "Amount", "=", "RoundUpToAlignment", "(", "Amount", ",", "Align", ")", ";", "if", "(", "!", "IsDestroy", ")", "Amount", "=", "-", "Amount", ";", "if", "(", "CalleePopAmount", "==", "0", ")", "{", "assert", "(", "Amount", ">", "-", "0xffffff", "&&", "Amount", "<", "0xffffff", "&&", "\"call frame too large\"", ")", ";", "emitFrameOffset", "(", "MBB", ",", "I", ",", "DL", ",", "AArch64", "::", "SP", ",", "AArch64", "::", "SP", ",", "Amount", ",", "TII", ")", ";", "}", "}", "else", "if", "(", "CalleePopAmount", "!=", "0", ")", "{", "assert", "(", "CalleePopAmount", "<", "0xffffff", "&&", "\"call frame too large\"", ")", ";", "emitFrameOffset", "(", "MBB", ",", "I", ",", "DL", ",", "AArch64", "::", "SP", ",", "AArch64", "::", "SP", ",", "-", "CalleePopAmount", ",", "TII", ")", ";", "}", "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": ["AArch64", "AArch64", "AArch64", "AArch64", "1", "0", "0", "0", "0xffffff", "0xffffff", "\"call frame too large\"", "AArch64::SP", "AArch64::SP", "0", "0xffffff", "\"call frame too large\"", "AArch64::SP", "AArch64::SP"], "File": "AArch64FrameLowering44", "Func": "eliminateCallFramePseudoInstr", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7607, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_mode_valid_for_sched_fusion_p", "(", "machine_mode", "mode", ")", "{", "return", "mode", "==", "SImode", "||", "mode", "==", "DImode", "||", "mode", "==", "SFmode", "||", "mode", "==", "DFmode", "||", "(", "aarch64_vector_mode_supported_p", "(", "mode", ")", "&&", "known_eq", "(", "GET_MODE_SIZE", "(", "mode", ")", ",", "8", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "MODE", "is", "one", "of", "the", "modes", "for", "which", "we", "support", "LDP/STP", "operations", "."], "TS_V_token": ["aarch64", "8"], "File": "aarch645", "Func": "aarch64_mode_valid_for_sched_fusion_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7608, "Length": 43, "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": 7609, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "xstormy16_expand_move", "(", "machine_mode", "mode", ",", "rtx", "dest", ",", "rtx", "src", ")", "{", "if", "(", "MEM_P", "(", "dest", ")", "&&", "(", "GET_CODE", "(", "XEXP", "(", "dest", ",", "0", ")", ")", "==", "PRE_MODIFY", ")", ")", "{", "rtx", "pmv", "=", "XEXP", "(", "dest", ",", "0", ")", ";", "rtx", "dest_reg", "=", "XEXP", "(", "pmv", ",", "0", ")", ";", "rtx", "dest_mod", "=", "XEXP", "(", "pmv", ",", "1", ")", ";", "rtx", "set", "=", "gen_rtx_SET", "(", "dest_reg", ",", "dest_mod", ")", ";", "rtx", "clobber", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "BImode", ",", "CARRY_REGNUM", ")", ")", ";", "dest", "=", "gen_rtx_MEM", "(", "mode", ",", "dest_reg", ")", ";", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "set", ",", "clobber", ")", ")", ")", ";", "}", "else", "if", "(", "MEM_P", "(", "src", ")", "&&", "(", "GET_CODE", "(", "XEXP", "(", "src", ",", "0", ")", ")", "==", "PRE_MODIFY", ")", ")", "{", "rtx", "pmv", "=", "XEXP", "(", "src", ",", "0", ")", ";", "rtx", "src_reg", "=", "XEXP", "(", "pmv", ",", "0", ")", ";", "rtx", "src_mod", "=", "XEXP", "(", "pmv", ",", "1", ")", ";", "rtx", "set", "=", "gen_rtx_SET", "(", "src_reg", ",", "src_mod", ")", ";", "rtx", "clobber", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "BImode", ",", "CARRY_REGNUM", ")", ")", ";", "src", "=", "gen_rtx_MEM", "(", "mode", ",", "src_reg", ")", ";", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "set", ",", "clobber", ")", ")", ")", ";", "}", "if", "(", "!", "reload_in_progress", "&&", "!", "reload_completed", "&&", "MEM_P", "(", "dest", ")", "&&", "(", "!", "CONST_INT_P", "(", "XEXP", "(", "dest", ",", "0", ")", ")", "||", "!", "xstormy16_legitimate_address_p", "(", "mode", ",", "XEXP", "(", "dest", ",", "0", ")", ",", "0", ")", ")", "&&", "!", "xstormy16_below100_operand", "(", "dest", ",", "mode", ")", "&&", "!", "REG_P", "(", "src", ")", "&&", "GET_CODE", "(", "src", ")", "!=", "SUBREG", ")", "src", "=", "copy_to_mode_reg", "(", "mode", ",", "src", ")", ";", "if", "(", "reload_completed", "&&", "mode", "!=", "HImode", "&&", "mode", "!=", "QImode", ")", "{", "xstormy16_split_move", "(", "mode", ",", "dest", ",", "src", ")", ";", "return", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "src", ")", ")", ";", "}", ""], "natrual_language": ["Expander", "for", "the", "'move", "'", "patterns", ".", "Emit", "insns", "to", "copy", "a", "value", "of", "mode", "MODE", "from", "SRC", "to", "DEST", "."], "TS_V_token": ["stormy16", "0", "0", "0", "1", "2", "0", "0", "0", "1", "2", "0", "0", "0"], "File": "stormy16", "Func": "xstormy16_expand_move", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7610, "Length": 329, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetStreamer", "::", "emitStoreWithImmOffset", "(", "unsigned", "Opcode", ",", "unsigned", "SrcReg", ",", "unsigned", "BaseReg", ",", "int64_t", "Offset", ",", "std", "::", "function", "<", "unsigned", "(", ")", ">", "GetATReg", ",", "SMLoc", "IDLoc", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "{", "if", "(", "isInt", "<", "16", ">", "(", "Offset", ")", ")", "{", "emitRRI", "(", "Opcode", ",", "SrcReg", ",", "BaseReg", ",", "Offset", ",", "IDLoc", ",", "STI", ")", ";", "return", ";", "}", "unsigned", "ATReg", "=", "GetATReg", "(", ")", ";", "if", "(", "!", "ATReg", ")", "return", ";", "unsigned", "LoOffset", "=", "Offset", "&", "0x0000ffff", ";", "unsigned", "HiOffset", "=", "(", "Offset", "&", "0xffff0000", ")", ">>", "16", ";", "if", "(", "LoOffset", "&", "0x8000", ")", "HiOffset", "++", ";", "emitRI", "(", "Mips", "::", "LUi", ",", "ATReg", ",", "HiOffset", ",", "IDLoc", ",", "STI", ")", ";", "if", "(", "BaseReg", "!=", "Mips", "::", "ZERO", ")", "emitRRR", "(", "Mips", "::", "ADDu", ",", "ATReg", ",", "ATReg", ",", "BaseReg", ",", "IDLoc", ",", "STI", ")", ";", "emitRRI", "(", "Opcode", ",", "SrcReg", ",", "ATReg", ",", "LoOffset", ",", "IDLoc", ",", "STI", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "store", "instruction", "with", "an", "offset", "."], "TS_V_token": ["Mips", "Mips", "16", "0x0000ffff", "0xffff0000", "16", "0x8000", "Mips::LUi", "Mips::ZERO", "Mips::ADDu"], "File": "MipsTargetStreamer23", "Func": "emitStoreWithImmOffset", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7611, "Length": 162, "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": 7612, "Length": 196, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pru_valid_const_ubyte_offset", "(", "machine_mode", "mode", ",", "HOST_WIDE_INT", "offset", ")", "{", "bool", "valid", "=", "UBYTE_INT", "(", "offset", ")", ";", "if", "(", "valid", "&&", "GET_MODE_SIZE", "(", "mode", ")", ">", "GET_MODE_SIZE", "(", "SImode", ")", ")", "valid", "=", "UBYTE_INT", "(", "offset", "+", "GET_MODE_SIZE", "(", "mode", ")", "-", "1", ")", ";", "return", "valid", ";", "}", ""], "natrual_language": ["Return", "true", "if", "given", "xbbo", "constant", "OFFSET", "is", "valid", "."], "TS_V_token": ["pru", "1"], "File": "pru", "Func": "pru_valid_const_ubyte_offset", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7613, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "const", "MCObjectFileInfo", "::", "Environment", "Format", "=", "getContext", "(", ")", ".", "getObjectFileInfo", "(", ")", "->", "getObjectFileType", "(", ")", ";", "bool", "IsMachO", "=", "Format", "==", "MCObjectFileInfo", "::", "IsMachO", ";", "bool", "IsCOFF", "=", "Format", "==", "MCObjectFileInfo", "::", "IsCOFF", ";", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "SMLoc", "Loc", "=", "DirectiveID", ".", "getLoc", "(", ")", ";", "if", "(", "IDVal", "==", "\".arch\"", ")", "parseDirectiveArch", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".cpu\"", ")", "parseDirectiveCPU", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".hword\"", ")", "parseDirectiveWord", "(", "2", ",", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".word\"", ")", "parseDirectiveWord", "(", "4", ",", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".xword\"", ")", "parseDirectiveWord", "(", "8", ",", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".tlsdesccall\"", ")", "parseDirectiveTLSDescCall", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".ltorg\"", "||", "IDVal", "==", "\".pool\"", ")", "parseDirectiveLtorg", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".unreq\"", ")", "parseDirectiveUnreq", "(", "Loc", ")", ";", "else", "if", "(", "!", "IsMachO", "&&", "!", "IsCOFF", ")", "{", "if", "(", "IDVal", "==", "\".inst\"", ")", "parseDirectiveInst", "(", "Loc", ")", ";", "else", "return", "true", ";", "}", "else", "if", "(", "IDVal", "==", "MCLOHDirectiveName", "(", ")", ")", "parseDirectiveLOH", "(", "IDVal", ",", "Loc", ")", ";", "else", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["AArch64", "AArch64", "\".arch\"", "\".cpu\"", "\".hword\"", "2", "\".word\"", "4", "\".xword\"", "8", "\".tlsdesccall\"", "\".ltorg\"", "\".pool\"", "\".unreq\"", "\".inst\""], "File": "AArch64AsmParser10", "Func": "ParseDirective", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7614, "Length": 218, "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", ",", "257", ")", ";", "}", "else", "{", "unsigned", "Offset", "=", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "?", "0x28", ":", "0x14", ";", "return", "SegmentOffset", "(", "IRB", ",", "Offset", ",", "getAddressSpace", "(", ")", ")", ";", "}", "}", "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", "257", "0x28", "0x14"], "File": "X86ISelLowering115", "Func": "getIRStackGuard", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7615, "Length": 86, "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": 7616, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ia64_function_incoming_arg", "(", "cumulative_args_t", "cum", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "return", "ia64_function_arg_1", "(", "cum", ",", "mode", ",", "type", ",", "named", ",", "true", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCION_INCOMING_ARG", "target", "hook", "."], "TS_V_token": ["ia64"], "File": "ia644", "Func": "ia64_function_incoming_arg", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7617, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "mips_dwarf_frame_reg_mode", "(", "int", "regno", ")", "{", "machine_mode", "mode", "=", "default_dwarf_frame_reg_mode", "(", "regno", ")", ";", "if", "(", "FP_REG_P", "(", "regno", ")", "&&", "mips_abi", "==", "ABI_32", "&&", "TARGET_FLOAT64", ")", "mode", "=", "SImode", ";", "return", "mode", ";", "}", ""], "natrual_language": ["Implement", "TARGET_DWARF_FRAME_REG_MODE", "."], "TS_V_token": ["mips"], "File": "mips4", "Func": "mips_dwarf_frame_reg_mode", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7618, "Length": 37, "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": 7619, "Length": 121, "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", "::", "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", ";", "}", "}", ""], "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::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"], "File": "MipsSEInstrInfo", "Func": "getOppositeBranchOpc", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7620, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips16e_save_restore_pattern_p", "(", "rtx", "pattern", ",", "HOST_WIDE_INT", "adjust", ",", "struct", "mips16e_save_restore_info", "*", "info", ")", "{", "unsigned", "int", "i", ",", "nargs", ",", "mask", ",", "extra", ";", "HOST_WIDE_INT", "top_offset", ",", "save_offset", ",", "offset", ";", "rtx", "set", ",", "reg", ",", "mem", ",", "base", ";", "int", "n", ";", "if", "(", "!", "GENERATE_MIPS16E_SAVE_RESTORE", ")", "return", "false", ";", "top_offset", "=", "adjust", ">", "0", "?", "adjust", ":", "0", ";", "save_offset", "=", "top_offset", "-", "UNITS_PER_WORD", ";", "mask", "=", "0", ";", "nargs", "=", "0", ";", "i", "=", "0", ";", "for", "(", "n", "=", "1", ";", "n", "<", "XVECLEN", "(", "pattern", ",", "0", ")", ";", "n", "++", ")", "{", "set", "=", "XVECEXP", "(", "pattern", ",", "0", ",", "n", ")", ";", "if", "(", "GET_CODE", "(", "set", ")", "!=", "SET", ")", "return", "false", ";", "mem", "=", "adjust", ">", "0", "?", "SET_SRC", "(", "set", ")", ":", "SET_DEST", "(", "set", ")", ";", "if", "(", "!", "MEM_P", "(", "mem", ")", ")", "return", "false", ";", "mips_split_plus", "(", "XEXP", "(", "mem", ",", "0", ")", ",", "&", "base", ",", "&", "offset", ")", ";", "if", "(", "base", "!=", "stack_pointer_rtx", ")", "return", "false", ";", "reg", "=", "adjust", ">", "0", "?", "SET_DEST", "(", "set", ")", ":", "SET_SRC", "(", "set", ")", ";", "if", "(", "!", "REG_P", "(", "reg", ")", ")", "return", "false", ";", "if", "(", "offset", "==", "top_offset", "+", "nargs", "*", "UNITS_PER_WORD", "&&", "REGNO", "(", "reg", ")", "==", "GP_ARG_FIRST", "+", "nargs", ")", "nargs", "++", ";", "else", "if", "(", "offset", "==", "save_offset", ")", "{", "while", "(", "mips16e_save_restore_regs", "[", "i", "++", "]", "!=", "REGNO", "(", "reg", ")", ")", "if", "(", "i", "==", "ARRAY_SIZE", "(", "mips16e_save_restore_regs", ")", ")", "return", "false", ";", "mask", "|=", "1", "<<", "REGNO", "(", "reg", ")", ";", "save_offset", "-=", "UNITS_PER_WORD", ";", "}", "else", "return", "false", ";", "}", "extra", "=", "0", ";", "mips16e_mask_registers", "(", "&", "mask", ",", "mips16e_s2_s8_regs", ",", "ARRAY_SIZE", "(", "mips16e_s2_s8_regs", ")", ",", "&", "extra", ")", ";", "mips16e_mask_registers", "(", "&", "mask", ",", "mips16e_a0_a3_regs", ",", "ARRAY_SIZE", "(", "mips16e_a0_a3_regs", ")", ",", "&", "extra", ")", ";", "if", "(", "extra", "!=", "0", ")", "return", "false", ";", "if", "(", "nargs", ">", "0", "&&", "BITSET_P", "(", "mask", ",", "GP_ARG_FIRST", "+", "nargs", "-", "1", ")", ")", "return", "false", ";", "if", "(", "info", ")", "{", "info", "->", "nargs", "=", "nargs", ";", "info", "->", "mask", "=", "mask", ";", "info", "->", "size", "=", "(", "adjust", ">", "0", "?", "adjust", ":", "-", "adjust", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["PATTERN", "is", "a", "PARALLEL", "whose", "first", "element", "adds", "ADJUST", "to", "the", "stack", "pointer", ".", "Return", "true", "if", "PATTERN", "matches", "the", "kind", "of", "instruction", "generated", "by", "mips16e_build_save_restore", ".", "If", "INFO", "is", "nonnull", ",", "initialize", "it", "when", "returning", "true", "."], "TS_V_token": ["mips", "0", "0", "0", "0", "0", "1", "0", "0", "0", "0", "0", "1", "0", "0", "0", "1", "0"], "File": "mips", "Func": "mips16e_save_restore_pattern_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7621, "Length": 377, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "X86_64MachoTargetObjectFile", "::", "getTTypeGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "unsigned", "Encoding", ",", "Mangler", "&", "Mang", ",", "const", "TargetMachine", "&", "TM", ",", "MachineModuleInfo", "*", "MMI", ",", "MCStreamer", "&", "Streamer", ")", "const", "{", "if", "(", "(", "Encoding", "&", "DW_EH_PE_indirect", ")", "&&", "(", "Encoding", "&", "DW_EH_PE_pcrel", ")", ")", "{", "const", "MCSymbol", "*", "Sym", "=", "TM", ".", "getSymbol", "(", "GV", ",", "Mang", ")", ";", "const", "MCExpr", "*", "Res", "=", "MCSymbolRefExpr", "::", "Create", "(", "Sym", ",", "MCSymbolRefExpr", "::", "VK_GOTPCREL", ",", "getContext", "(", ")", ")", ";", "const", "MCExpr", "*", "Four", "=", "MCConstantExpr", "::", "Create", "(", "4", ",", "getContext", "(", ")", ")", ";", "return", "MCBinaryExpr", "::", "CreateAdd", "(", "Res", ",", "Four", ",", "getContext", "(", ")", ")", ";", "}", "return", "TargetLoweringObjectFileMachO", "::", "getTTypeGlobalReference", "(", "GV", ",", "Encoding", ",", "Mang", ",", "TM", ",", "MMI", ",", "Streamer", ")", ";", "}", ""], "natrual_language": ["The", "mach-o", "version", "of", "this", "method", "defaults", "to", "returning", "a", "stub", "reference", "."], "TS_V_token": ["X86", "X86", "4"], "File": "X86TargetObjectFile", "Func": "getTTypeGlobalReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7622, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "Position", ",", "unsigned", "SourceRegister", ",", "bool", "IsKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RegisterClass", ",", "const", "TargetRegisterInfo", "*", "RegisterInfo", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "Position", "!=", "MBB", ".", "end", "(", ")", ")", "{", "DL", "=", "Position", "->", "getDebugLoc", "(", ")", ";", "}", "if", "(", "!", "Lanai", "::", "GPRRegClass", ".", "hasSubClassEq", "(", "RegisterClass", ")", ")", "{", "llvm_unreachable", "(", "\"Can't store this register to stack slot\"", ")", ";", "}", "BuildMI", "(", "MBB", ",", "Position", ",", "DL", ",", "get", "(", "Lanai", "::", "SW_RI", ")", ")", ".", "addReg", "(", "SourceRegister", ",", "getKillRegState", "(", "IsKill", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "LPAC", "::", "ADD", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai::GPRRegClass", "\"Can't store this register to stack slot\"", "Lanai::SW_RI", "0"], "File": "LanaiInstrInfo", "Func": "storeRegToStackSlot", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7623, "Length": 121, "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", "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", ";", "Chain", "=", "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", ")", "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", "ISD::BITCAST", "ISD::CopyToReg", "1", "0", "0", "ARMISD::RET_FLAG"], "File": "ARMISelLowering107", "Func": "isUsedByReturnOnly", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7624, "Length": 413, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "loongarch_pass_aggregate_in_fpr_and_gpr_p", "(", "const_tree", "type", ",", "loongarch_aggregate_field", "fields", "[", "2", "]", ")", "{", "unsigned", "num_int", "=", "0", ",", "num_float", "=", "0", ";", "int", "n", "=", "loongarch_flatten_aggregate_argument", "(", "type", ",", "fields", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "n", ";", "i", "++", ")", "{", "num_float", "+=", "SCALAR_FLOAT_TYPE_P", "(", "fields", "[", "i", "]", ".", "type", ")", ";", "num_int", "+=", "INTEGRAL_TYPE_P", "(", "fields", "[", "i", "]", ".", "type", ")", ";", "}", "return", "num_int", "==", "1", "&&", "num_float", "==", "1", ";", "}", ""], "natrual_language": ["See", "whether", "TYPE", "is", "a", "record", "whose", "fields", "should", "be", "returned", "in", "one", "floating-point", "register", "and", "one", "integer", "register", ".", "If", "so", ",", "populate", "FIELDS", "accordingly", "."], "TS_V_token": ["loongarch", "2", "0", "0", "0", "1", "1"], "File": "loongarch", "Func": "loongarch_pass_aggregate_in_fpr_and_gpr_p", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7625, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "VEInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "Register", "DestReg", ",", "int", "FI", ",", "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", "(", "*", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlign", "(", "FI", ")", ")", ";", "if", "(", "RC", "==", "&", "VE", "::", "I64RegClass", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "VE", "::", "LDrii", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", "else", "if", "(", "RC", "==", "&", "VE", "::", "I32RegClass", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "VE", "::", "LDLSXrii", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", "else", "if", "(", "RC", "==", "&", "VE", "::", "F32RegClass", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "VE", "::", "LDUrii", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", "else", "report_fatal_error", "(", "\"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": ["VE", "VE", "VE::I64RegClass", "VE::LDrii", "0", "0", "VE::I32RegClass", "VE::LDLSXrii", "0", "0", "VE::F32RegClass", "VE::LDUrii", "0", "0", "\"Can't load this register from stack slot\""], "File": "VEInstrInfo1", "Func": "loadRegFromStackSlot", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7626, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "type_suffix_index", "function_resolver", "::", "infer_vector_or_tuple_type", "(", "unsigned", "int", "argno", ",", "unsigned", "int", "num_vectors", ")", "{", "tree", "actual", "=", "get_argument_type", "(", "argno", ")", ";", "if", "(", "actual", "==", "error_mark_node", ")", "return", "NUM_TYPE_SUFFIXES", ";", "for", "(", "unsigned", "int", "size_i", "=", "0", ";", "size_i", "<", "MAX_TUPLE_SIZE", ";", "++", "size_i", ")", "for", "(", "unsigned", "int", "suffix_i", "=", "0", ";", "suffix_i", "<", "NUM_TYPE_SUFFIXES", ";", "++", "suffix_i", ")", "{", "vector_type_index", "type_i", "=", "type_suffixes", "[", "suffix_i", "]", ".", "vector_type", ";", "tree", "type", "=", "acle_vector_types", "[", "size_i", "]", "[", "type_i", "]", ";", "if", "(", "type", "&&", "matches_type_p", "(", "type", ",", "actual", ")", ")", "{", "if", "(", "size_i", "+", "1", "==", "num_vectors", ")", "return", "type_suffix_index", "(", "suffix_i", ")", ";", "if", "(", "num_vectors", "==", "1", ")", "error_at", "(", "location", ",", "\"passing %qT to argument %d of %qE, which\"", "\" expects a single SVE vector rather than a tuple\"", ",", "actual", ",", "argno", "+", "1", ",", "fndecl", ")", ";", "else", "if", "(", "size_i", "==", "0", "&&", "type_i", "!=", "VECTOR_TYPE_svbool_t", ")", "error_n", "(", "location", ",", "num_vectors", ",", "\"%qT%d%qE%d\"", ",", "\"passing single vector %qT to argument %d\"", "\" of %qE, which expects a tuple of %d vectors\"", ",", "actual", ",", "argno", "+", "1", ",", "fndecl", ",", "num_vectors", ")", ";", "else", "error_n", "(", "location", ",", "num_vectors", ",", "\"%qT%d%qE%d\"", ",", "\"passing %qT to argument %d of %qE, which\"", "\" expects a tuple of %d vectors\"", ",", "actual", ",", "argno", "+", "1", ",", "fndecl", ",", "num_vectors", ")", ";", "return", "NUM_TYPE_SUFFIXES", ";", "}", "}", "if", "(", "num_vectors", "==", "1", ")", "error_at", "(", "location", ",", "\"passing %qT to argument %d of %qE, which\"", "\" expects an SVE vector type\"", ",", "actual", ",", "argno", "+", "1", ",", "fndecl", ")", ";", "else", "error_at", "(", "location", ",", "\"passing %qT to argument %d of %qE, which\"", "\" expects an SVE tuple type\"", ",", "actual", ",", "argno", "+", "1", ",", "fndecl", ")", ";", "return", "NUM_TYPE_SUFFIXES", ";", "}", ""], "natrual_language": ["Require", "argument", "ARGNO", "to", "be", "a", "single", "vector", "or", "a", "tuple", "of", "NUM_VECTORS", "vectors", ";", "NUM_VECTORS", "is", "1", "for", "the", "former", ".", "Return", "the", "associated", "type", "suffix", "on", "success", ",", "using", "TYPE_SUFFIX_b", "for", "predicates", ".", "Report", "an", "error", "and", "return", "NUM_TYPE_SUFFIXES", "on", "failure", "."], "TS_V_token": ["aarch64", "0", "0", "1", "1", "\"passing %qT to argument %d of %qE, which\"", "\" expects a single SVE vector rather than a tuple\"", "1", "0", "\"%qT%d%qE%d\"", "\"passing single vector %qT to argument %d\"", "\" of %qE, which expects a tuple of %d vectors\"", "1", "\"%qT%d%qE%d\"", "\"passing %qT to argument %d of %qE, which\"", "\" expects a tuple of %d vectors\"", "1", "1", "\"passing %qT to argument %d of %qE, which\"", "\" expects an SVE vector type\"", "1", "\"passing %qT to argument %d of %qE, which\"", "\" expects an SVE tuple type\"", "1"], "File": "aarch64-sve-builtins2", "Func": "infer_vector_or_tuple_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7627, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64RegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "AArch64", "::", "GPR32RegClassID", ":", "case", "AArch64", "::", "GPR32spRegClassID", ":", "case", "AArch64", "::", "GPR32allRegClassID", ":", "case", "AArch64", "::", "GPR64spRegClassID", ":", "case", "AArch64", "::", "GPR64allRegClassID", ":", "case", "AArch64", "::", "GPR64RegClassID", ":", "case", "AArch64", "::", "GPR32commonRegClassID", ":", "case", "AArch64", "::", "GPR64commonRegClassID", ":", "return", "32", "-", "1", "-", "(", "TFI", "->", "hasFP", "(", "MF", ")", "||", "STI", "->", "isTargetDarwin", "(", ")", ")", "-", "(", "STI", "->", "isTargetDarwin", "(", ")", "||", "ReserveX18", ")", "-", "hasBasePointer", "(", "MF", ")", ";", "case", "AArch64", "::", "FPR8RegClassID", ":", "case", "AArch64", "::", "FPR16RegClassID", ":", "case", "AArch64", "::", "FPR32RegClassID", ":", "case", "AArch64", "::", "FPR64RegClassID", ":", "case", "AArch64", "::", "FPR128RegClassID", ":", "return", "32", ";", "case", "AArch64", "::", "DDRegClassID", ":", "case", "AArch64", "::", "DDDRegClassID", ":", "case", "AArch64", "::", "DDDDRegClassID", ":", "case", "AArch64", "::", "QQRegClassID", ":", "case", "AArch64", "::", "QQQRegClassID", ":", "case", "AArch64", "::", "QQQQRegClassID", ":", "return", "32", ";", "case", "AArch64", "::", "FPR128_loRegClassID", ":", "return", "16", ";", "}", "}", ""], "natrual_language": ["Return", "the", "register", "pressure", "``", "high", "water", "mark", "''", "for", "the", "specific", "register", "class", "."], "TS_V_token": ["AArch64", "AArch64", "0", "AArch64::GPR32RegClassID", "AArch64::GPR32spRegClassID", "AArch64::GPR32allRegClassID", "AArch64::GPR64spRegClassID", "AArch64::GPR64allRegClassID", "AArch64::GPR64RegClassID", "AArch64::GPR32commonRegClassID", "AArch64::GPR64commonRegClassID", "32", "1", "AArch64::FPR8RegClassID", "AArch64::FPR16RegClassID", "AArch64::FPR32RegClassID", "AArch64::FPR64RegClassID", "AArch64::FPR128RegClassID", "32", "AArch64::DDRegClassID", "AArch64::DDDRegClassID", "AArch64::DDDDRegClassID", "AArch64::QQRegClassID", "AArch64::QQQRegClassID", "AArch64::QQQQRegClassID", "32", "AArch64::FPR128_loRegClassID", "16"], "File": "AArch64RegisterInfo63", "Func": "getRegPressureLimit", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7628, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetStreamer", "::", "emitCurrentConstantPool", "(", ")", "{", "ConstantPools", "->", "emitForCurrentSection", "(", "Streamer", ")", ";", "}", ""], "natrual_language": ["Callback", "used", "to", "implement", "the", ".ltorg", "directive", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMTargetStreamer (2)", "Func": "emitCurrentConstantPool", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7629, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"Lanai DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Lanai", "\"Lanai DAG->DAG Pattern Instruction Selection\""], "File": "LanaiISelDAGToDAG", "Func": "getPassName", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7630, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "DigitalTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "DigitalPassConfig", "(", "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": ["Digital"], "File": "DigitalTargetMachine", "Func": "createPassConfig", "Target": "Digital", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7631, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "MachineBranchProbabilityInfo", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["Mips"], "File": "MipsDelaySlotFiller19", "Func": "getAnalysisUsage", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7632, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetFrameLowering", "::", "SpillSlot", "*", "SystemZFrameLowering", "::", "getCalleeSavedSpillSlots", "(", "unsigned", "&", "NumEntries", ")", "const", "{", "NumEntries", "=", "array_lengthof", "(", "SpillOffsetTable", ")", ";", "return", "SpillOffsetTable", ";", "}", ""], "natrual_language": ["getCalleeSavedSpillSlots", "-", "This", "method", "returns", "a", "pointer", "to", "an", "array", "of", "pairs", ",", "that", "contains", "an", "entry", "for", "each", "callee", "saved", "register", "that", "must", "be", "spilled", "to", "a", "particular", "stack", "location", "if", "it", "is", "spilled", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZFrameLowering (2)", "Func": "getCalleeSavedSpillSlots", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7633, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isThumb", "(", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "return", "(", "STI", ".", "getFeatureBits", "(", ")", "&", "ARM", "::", "ModeThumb", ")", "!=", "0", ";", "}", ""], "natrual_language": ["Tests", "whether", "the", "target", "is", "Thumb", "(", "little", "and", "big", "endian", ")", "."], "TS_V_token": ["ARM", "ARM::ModeThumb", "0"], "File": "ARMMCCodeEmitter1", "Func": "isThumb", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7634, "Length": 26, "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": 7635, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "PPCDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "OS", ",", "raw_ostream", "&", "CS", ")", "const", "{", "Size", "=", "4", ";", "if", "(", "Bytes", ".", "size", "(", ")", "<", "4", ")", "{", "Size", "=", "0", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "uint32_t", "Inst", "=", "IsLittleEndian", "?", "support", "::", "endian", "::", "read32le", "(", "Bytes", ".", "data", "(", ")", ")", ":", "support", "::", "endian", "::", "read32be", "(", "Bytes", ".", "data", "(", ")", ")", ";", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "PPC", "::", "FeatureQPX", "]", ")", "{", "DecodeStatus", "result", "=", "decodeInstruction", "(", "DecoderTableQPX32", ",", "MI", ",", "Inst", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "result", "!=", "MCDisassembler", "::", "Fail", ")", "return", "result", ";", "MI", ".", "clear", "(", ")", ";", "}", "return", "decodeInstruction", "(", "DecoderTable32", ",", "MI", ",", "Inst", ",", "Address", ",", "this", ",", "STI", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["PowerPC", "PPC", "4", "4", "0", "support::endian", "support::endian", "PPC::FeatureQPX"], "File": "PPCDisassembler2", "Func": "getInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7636, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCInst", "&", "Res", ")", "const", "override", "{", "llvm_unreachable", "(", "\"relaxInstruction() unimplemented\"", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["PowerPC", "\"relaxInstruction() unimplemented\""], "File": "PPCAsmBackend (2)1", "Func": "relaxInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7637, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_tls_address_pattern_p", "(", "rtx", "op", ")", "{", "subrtx_var_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX_VAR", "(", "iter", ",", "array", ",", "op", ",", "ALL", ")", "{", "rtx", "op", "=", "*", "iter", ";", "if", "(", "MEM_P", "(", "op", ")", ")", "{", "rtx", "*", "x", "=", "&", "XEXP", "(", "op", ",", "0", ")", ";", "while", "(", "GET_CODE", "(", "*", "x", ")", "==", "PLUS", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "2", ";", "i", "++", ")", "{", "rtx", "u", "=", "XEXP", "(", "*", "x", ",", "i", ")", ";", "if", "(", "GET_CODE", "(", "u", ")", "==", "ZERO_EXTEND", ")", "u", "=", "XEXP", "(", "u", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "u", ")", "==", "UNSPEC", "&&", "XINT", "(", "u", ",", "1", ")", "==", "UNSPEC_TP", ")", "return", "true", ";", "}", "x", "=", "&", "XEXP", "(", "*", "x", ",", "0", ")", ";", "}", "iter", ".", "skip_subrtxes", "(", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "refers", "to", "a", "TLS", "address", "."], "TS_V_token": ["i386", "0", "0", "2", "0", "1", "0"], "File": "i386", "Func": "ix86_tls_address_pattern_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7638, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Reloc", "::", "Model", "MipsSubtarget", "::", "getRelocationModel", "(", ")", "const", "{", "return", "TM", ".", "getRelocationModel", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "code", "generation", "relocation", "model", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsSubtarget (2)1", "Func": "getRelocationModel", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7639, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "quad_address_p", "(", "rtx", "addr", ",", "machine_mode", "mode", ",", "bool", "strict", ")", "{", "rtx", "op0", ",", "op1", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "!=", "16", ")", "return", "false", ";", "if", "(", "legitimate_indirect_address_p", "(", "addr", ",", "strict", ")", ")", "return", "true", ";", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", "&&", "!", "mode_supports_vsx_dform_quad", "(", "mode", ")", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "addr", ")", "!=", "PLUS", ")", "return", "false", ";", "op0", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "if", "(", "!", "REG_P", "(", "op0", ")", "||", "!", "INT_REG_OK_FOR_BASE_P", "(", "op0", ",", "strict", ")", ")", "return", "false", ";", "op1", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "if", "(", "!", "CONST_INT_P", "(", "op1", ")", ")", "return", "false", ";", "return", "quad_address_offset_p", "(", "INTVAL", "(", "op1", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "ADDR", "is", "an", "acceptable", "address", "for", "a", "quad", "memory", "operation", "of", "mode", "MODE", "(", "either", "LQ/STQ", "for", "general", "purpose", "registers", ",", "or", "LXV/STXV", "for", "vector", "registers", "under", "ISA", "3.0", ".", "GPR_P", "is", "true", "if", "this", "address", "is", "intended", "for", "LQ/STQ", ".", "If", "it", "is", "false", ",", "the", "address", "is", "intended", "for", "the", "ISA", "3.0", "LXV/STXV", "instruction", "."], "TS_V_token": ["powerpcspe", "16", "0", "1"], "File": "powerpcspe", "Func": "quad_address_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7640, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Finish", "(", ")", "{", "const", "size_t", "VendorHeaderSize", "=", "4", "+", "CurrentVendor", ".", "size", "(", ")", "+", "1", ";", "const", "size_t", "TagHeaderSize", "=", "1", "+", "4", ";", "Streamer", ".", "EmitIntValue", "(", "VendorHeaderSize", "+", "TagHeaderSize", "+", "ContentsSize", ",", "4", ")", ";", "Streamer", ".", "EmitBytes", "(", "CurrentVendor", ",", "0", ")", ";", "Streamer", ".", "EmitIntValue", "(", "0", ",", "1", ")", ";", "Streamer", ".", "EmitIntValue", "(", "ARMBuildAttrs", "::", "File", ",", "1", ")", ";", "Streamer", ".", "EmitIntValue", "(", "TagHeaderSize", "+", "ContentsSize", ",", "4", ")", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "Contents", ".", "size", "(", ")", ";", "++", "i", ")", "{", "AttributeItemType", "item", "=", "Contents", "[", "i", "]", ";", "Streamer", ".", "EmitULEB128IntValue", "(", "item", ".", "Tag", ",", "0", ")", ";", "switch", "(", "item", ".", "Type", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Invalid attribute type\"", ")", ";", "case", "AttributeItemType", "::", "NumericAttribute", ":", "Streamer", ".", "EmitULEB128IntValue", "(", "item", ".", "IntValue", ",", "0", ")", ";", "break", ";", "case", "AttributeItemType", "::", "TextAttribute", ":", "Streamer", ".", "EmitBytes", "(", "item", ".", "StringValue", ".", "upper", "(", ")", ",", "0", ")", ";", "Streamer", ".", "EmitIntValue", "(", "0", ",", "1", ")", ";", "break", ";", "}", "}", "Contents", ".", "clear", "(", ")", ";", "}", ""], "natrual_language": ["Finish", "-", "Do", "final", "processing", "and", "write", "the", "object", "to", "the", "output", "stream", "."], "TS_V_token": ["ARM", "4", "1", "1", "4", "4", "0", "0", "1", "ARMBuildAttrs::File", "1", "4", "0", "0", "\"Invalid attribute type\"", "0", "0", "0", "1"], "File": "ARMAsmPrinter10", "Func": "Finish", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7641, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mep_secondary_memory_needed", "(", "enum", "reg_class", "rclass1", ",", "enum", "reg_class", "rclass2", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "!", "mep_have_core_copro_moves_p", ")", "{", "if", "(", "reg_classes_intersect_p", "(", "rclass1", ",", "CR_REGS", ")", "&&", "reg_classes_intersect_p", "(", "rclass2", ",", "GENERAL_REGS", ")", ")", "return", "true", ";", "if", "(", "reg_classes_intersect_p", "(", "rclass2", ",", "CR_REGS", ")", "&&", "reg_classes_intersect_p", "(", "rclass1", ",", "GENERAL_REGS", ")", ")", "return", "true", ";", "if", "(", "!", "mep_have_copro_copro_moves_p", "&&", "reg_classes_intersect_p", "(", "rclass1", ",", "CR_REGS", ")", "&&", "reg_classes_intersect_p", "(", "rclass2", ",", "CR_REGS", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "SECONDARY_MEMORY_NEEDED", "."], "TS_V_token": ["mep"], "File": "mep", "Func": "mep_secondary_memory_needed", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7642, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "UnwindOpcodeAssembler", "::", "EmitRegSave", "(", "uint32_t", "RegSave", ")", "{", "if", "(", "RegSave", "==", "0u", ")", "return", ";", "if", "(", "RegSave", "&", "(", "1u", "<<", "4", ")", ")", "{", "uint32_t", "Mask", "=", "RegSave", "&", "0xff0u", ";", "uint32_t", "Range", "=", "countTrailingOnes", "(", "Mask", ">>", "5", ")", ";", "Mask", "&=", "~", "(", "0xffffffe0u", "<<", "Range", ")", ";", "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", "0xff0u", "5", "0xffffffe0u", "0xfff0u", "0u", "ARM::EHABI", "0x000fu", "1u", "14", "ARM::EHABI", "0x000fu", "0xfff0u", "0", "ARM::EHABI", "4", "0x000fu", "0", "ARM::EHABI", "0x000fu"], "File": "ARMUnwindOpAsm (2)", "Func": "EmitRegSave", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7643, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "mips_case_values_threshold", "(", "void", ")", "{", "if", "(", "TARGET_MIPS16", "&&", "optimize_size", ")", "return", "10", ";", "else", "return", "default_case_values_threshold", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CASE_VALUES_THRESHOLD", "."], "TS_V_token": ["mips", "10"], "File": "mips", "Func": "mips_case_values_threshold", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7644, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TOYInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["TOY", "TOY"], "File": "TOYInstPrinter1", "Func": "printRegName", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7645, "Length": 15, "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", "::", "tGPRRegClass", "||", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "SrcReg", ")", "&&", "isARMLowRegister", "(", "SrcReg", ")", ")", ")", "&&", "\"Unknown regclass!\"", ")", ";", "if", "(", "RC", "==", "&", "ARM", "::", "tGPRRegClass", "||", "(", "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::tGPRRegClass", "ARM", "\"Unknown regclass!\"", "ARM::tGPRRegClass", "ARM", "ARM::tSTRspi", "0"], "File": "Thumb1InstrInfo", "Func": "storeRegToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7646, "Length": 210, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"AArch64 branch fixup pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64", "\"AArch64 branch fixup pass\""], "File": "AArch64BranchFixupPass4", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7647, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MipsInstrInfo", "::", "BranchType", "MipsInstrInfo", "::", "analyzeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "&", "TBB", ",", "MachineBasicBlock", "*", "&", "FBB", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "bool", "AllowModify", ",", "SmallVectorImpl", "<", "MachineInstr", "*", ">", "&", "BranchInstrs", ")", "const", "{", "MachineBasicBlock", "::", "reverse_iterator", "I", "=", "MBB", ".", "rbegin", "(", ")", ",", "REnd", "=", "MBB", ".", "rend", "(", ")", ";", "while", "(", "I", "!=", "REnd", "&&", "I", "->", "isDebugInstr", "(", ")", ")", "++", "I", ";", "if", "(", "I", "==", "REnd", "||", "!", "isUnpredicatedTerminator", "(", "*", "I", ")", ")", "{", "TBB", "=", "FBB", "=", "nullptr", ";", "return", "BT_NoBranch", ";", "}", "MachineInstr", "*", "LastInst", "=", "&", "*", "I", ";", "unsigned", "LastOpc", "=", "LastInst", "->", "getOpcode", "(", ")", ";", "BranchInstrs", ".", "push_back", "(", "LastInst", ")", ";", "if", "(", "!", "getAnalyzableBrOpc", "(", "LastOpc", ")", ")", "return", "LastInst", "->", "isIndirectBranch", "(", ")", "?", "BT_Indirect", ":", "BT_None", ";", "unsigned", "SecondLastOpc", "=", "0", ";", "MachineInstr", "*", "SecondLastInst", "=", "nullptr", ";", "++", "I", ";", "while", "(", "I", "!=", "REnd", "&&", "I", "->", "isDebugInstr", "(", ")", ")", "++", "I", ";", "if", "(", "I", "!=", "REnd", ")", "{", "SecondLastInst", "=", "&", "*", "I", ";", "SecondLastOpc", "=", "getAnalyzableBrOpc", "(", "SecondLastInst", "->", "getOpcode", "(", ")", ")", ";", "if", "(", "isUnpredicatedTerminator", "(", "*", "SecondLastInst", ")", "&&", "!", "SecondLastOpc", ")", "return", "BT_None", ";", "}", "if", "(", "!", "SecondLastOpc", ")", "{", "if", "(", "LastInst", "->", "isUnconditionalBranch", "(", ")", ")", "{", "TBB", "=", "LastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "return", "BT_Uncond", ";", "}", "AnalyzeCondBr", "(", "LastInst", ",", "LastOpc", ",", "TBB", ",", "Cond", ")", ";", "return", "BT_Cond", ";", "}", "if", "(", "++", "I", "!=", "REnd", "&&", "isUnpredicatedTerminator", "(", "*", "I", ")", ")", "return", "BT_None", ";", "BranchInstrs", ".", "insert", "(", "BranchInstrs", ".", "begin", "(", ")", ",", "SecondLastInst", ")", ";", "if", "(", "SecondLastInst", "->", "isUnconditionalBranch", "(", ")", ")", "{", "if", "(", "!", "AllowModify", ")", "return", "BT_None", ";", "TBB", "=", "SecondLastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "LastInst", "->", "eraseFromParent", "(", ")", ";", "BranchInstrs", ".", "pop_back", "(", ")", ";", "return", "BT_Uncond", ";", "}", "if", "(", "!", "LastInst", "->", "isUnconditionalBranch", "(", ")", ")", "return", "BT_None", ";", "AnalyzeCondBr", "(", "SecondLastInst", ",", "SecondLastOpc", ",", "TBB", ",", "Cond", ")", ";", "FBB", "=", "LastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "return", "BT_CondUncond", ";", "}", ""], "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": ["Mips", "Mips", "Mips", "0", "0", "0", "0"], "File": "MipsInstrInfo (2)3", "Func": "analyzeBranch", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7648, "Length": 372, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "X86SelectionDAGInfo", "::", "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", "{", "if", "(", "DstPtrInfo", ".", "getAddrSpace", "(", ")", ">=", "256", "||", "SrcPtrInfo", ".", "getAddrSpace", "(", ")", ">=", "256", ")", "return", "SDValue", "(", ")", ";", "const", "MCPhysReg", "ClobberSet", "[", "]", "=", "{", "X86", "::", "RCX", ",", "X86", "::", "RSI", ",", "X86", "::", "RDI", ",", "X86", "::", "ECX", ",", "X86", "::", "ESI", ",", "X86", "::", "EDI", "}", ";", "if", "(", "isBaseRegConflictPossible", "(", "DAG", ",", "ClobberSet", ")", ")", "return", "SDValue", "(", ")", ";", "const", "X86Subtarget", "&", "Subtarget", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "ConstantSDNode", "*", "ConstantSize", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Size", ")", ")", "return", "emitConstantSizeRepmov", "(", "DAG", ",", "Subtarget", ",", "dl", ",", "Chain", ",", "Dst", ",", "Src", ",", "ConstantSize", "->", "getZExtValue", "(", ")", ",", "Size", ".", "getValueType", "(", ")", ",", "Align", ",", "isVolatile", ",", "AlwaysInline", ",", "DstPtrInfo", ",", "SrcPtrInfo", ")", ";", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memcpy", "."], "TS_V_token": ["X86", "X86", "256", "256", "X86::RCX", "X86::RSI", "X86::RDI", "X86::ECX", "X86::ESI", "X86::EDI", "X86", "X86"], "File": "X86SelectionDAGInfo32", "Func": "EmitTargetCodeForMemcpy", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7649, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SparcInstrInfo", "::", "getGlobalBaseReg", "(", "MachineFunction", "*", "MF", ")", "const", "{", "SparcMachineFunctionInfo", "*", "SparcFI", "=", "MF", "->", "getInfo", "<", "SparcMachineFunctionInfo", ">", "(", ")", ";", "unsigned", "GlobalBaseReg", "=", "SparcFI", "->", "getGlobalBaseReg", "(", ")", ";", "if", "(", "GlobalBaseReg", "!=", "0", ")", "return", "GlobalBaseReg", ";", "MachineBasicBlock", "&", "FirstMBB", "=", "MF", "->", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "FirstMBB", ".", "begin", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", "->", "getRegInfo", "(", ")", ";", "GlobalBaseReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "SP", "::", "IntRegsRegClass", ")", ";", "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", "0", "SP::IntRegsRegClass", "SP::GETPCX", "Sparc"], "File": "SparcInstrInfo13", "Func": "getGlobalBaseReg", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7650, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "ix86_minimum_incoming_stack_boundary", "(", "bool", "sibcall", ")", "{", "unsigned", "int", "incoming_stack_boundary", ";", "if", "(", "cfun", "->", "machine", "->", "func_type", "!=", "TYPE_NORMAL", ")", "incoming_stack_boundary", "=", "TARGET_64BIT", "?", "128", ":", "MIN_STACK_BOUNDARY", ";", "else", "if", "(", "ix86_user_incoming_stack_boundary", ")", "incoming_stack_boundary", "=", "ix86_user_incoming_stack_boundary", ";", "else", "if", "(", "!", "sibcall", "&&", "ix86_force_align_arg_pointer", "&&", "crtl", "->", "stack_alignment_estimated", "==", "128", ")", "incoming_stack_boundary", "=", "MIN_STACK_BOUNDARY", ";", "else", "incoming_stack_boundary", "=", "ix86_default_incoming_stack_boundary", ";", "if", "(", "incoming_stack_boundary", ">", "MIN_STACK_BOUNDARY", "&&", "lookup_attribute", "(", "\"force_align_arg_pointer\"", ",", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "current_function_decl", ")", ")", ")", ")", "incoming_stack_boundary", "=", "MIN_STACK_BOUNDARY", ";", "if", "(", "incoming_stack_boundary", "<", "crtl", "->", "parm_stack_boundary", ")", "incoming_stack_boundary", "=", "crtl", "->", "parm_stack_boundary", ";", "if", "(", "incoming_stack_boundary", ">", "MAIN_STACK_BOUNDARY", "&&", "DECL_NAME", "(", "current_function_decl", ")", "&&", "MAIN_NAME_P", "(", "DECL_NAME", "(", "current_function_decl", ")", ")", "&&", "DECL_FILE_SCOPE_P", "(", "current_function_decl", ")", ")", "incoming_stack_boundary", "=", "MAIN_STACK_BOUNDARY", ";", "return", "incoming_stack_boundary", ";", "}", ""], "natrual_language": ["Return", "minimum", "incoming", "stack", "alignment", "."], "TS_V_token": ["i386", "128", "128", "\"force_align_arg_pointer\""], "File": "i386", "Func": "ix86_minimum_incoming_stack_boundary", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7651, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "gen_shifty_op", "(", "int", "code", ",", "rtx", "*", "operands", ")", "{", "int", "value", "=", "INTVAL", "(", "operands", "[", "2", "]", ")", ";", "int", "max", ",", "i", ";", "value", "=", "value", "&", "31", ";", "if", "(", "value", "==", "31", ")", "{", "if", "(", "code", "==", "LSHIFTRT", ")", "{", "emit_insn", "(", "gen_rotlsi3_1", "(", "operands", "[", "0", "]", ",", "operands", "[", "0", "]", ")", ")", ";", "emit_insn", "(", "gen_movt", "(", "operands", "[", "0", "]", ",", "get_t_reg_rtx", "(", ")", ")", ")", ";", "return", ";", "}", "else", "if", "(", "code", "==", "ASHIFT", ")", "{", "if", "(", "REG_P", "(", "operands", "[", "0", "]", ")", "&&", "REGNO", "(", "operands", "[", "0", "]", ")", "==", "0", ")", "{", "emit_insn", "(", "gen_andsi3", "(", "operands", "[", "0", "]", ",", "operands", "[", "0", "]", ",", "const1_rtx", ")", ")", ";", "emit_insn", "(", "gen_rotlsi3_31", "(", "operands", "[", "0", "]", ",", "operands", "[", "0", "]", ")", ")", ";", "return", ";", "}", "}", "}", "else", "if", "(", "value", "==", "0", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "operands", "[", "0", "]", ",", "operands", "[", "0", "]", ")", ")", ";", "return", ";", "}", "max", "=", "ashl_lshr_seq", "[", "value", "]", ".", "insn_count", ";", "for", "(", "i", "=", "0", ";", "i", "<", "max", ";", "i", "++", ")", "gen_ashift", "(", "code", ",", "ashl_lshr_seq", "[", "value", "]", ".", "amount", "[", "i", "]", ",", "operands", "[", "0", "]", ")", ";", "}", ""], "natrual_language": ["Output", "RTL", "to", "split", "a", "constant", "shift", "into", "its", "component", "SH", "constant", "shift", "instructions", "."], "TS_V_token": ["sh", "2", "31", "31", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"], "File": "sh4", "Func": "gen_shifty_op", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7652, "Length": 221, "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", ")", ",", "InMicroMipsMode", "(", "false", ")", ",", "HasDSP", "(", "false", ")", ",", "HasDSPR2", "(", "false", ")", ",", "AllowMixed16_32", "(", "Mixed16_32", "|", "Mips_Os16", ")", ",", "Os16", "(", "Mips_Os16", ")", ",", "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", ")", ";", "}", ""], "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", "\"mips32\"", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "\"Invalid Arch & ABI pair.\"", "\"linux\""], "File": "MipsSubtarget31", "Func": "MipsSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7653, "Length": 285, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "MachineBranchProbabilityInfo", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["PowerPC"], "File": "PPCReduceCRLogicals", "Func": "getAnalysisUsage", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7654, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "adjust_concat", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "set", "=", "PATTERN", "(", "insn", ")", ";", "rtx", "concat", "=", "XEXP", "(", "set", ",", "1", ")", ";", "rtx", "src0", "=", "XEXP", "(", "concat", ",", "0", ")", ";", "XEXP", "(", "concat", ",", "0", ")", "=", "XEXP", "(", "concat", ",", "1", ")", ";", "XEXP", "(", "concat", ",", "1", ")", "=", "src0", ";", "INSN_CODE", "(", "insn", ")", "=", "-", "1", ";", "df_insn_rescan", "(", "insn", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Reversing inputs for concat %d\\n\"", ",", "INSN_UID", "(", "insn", ")", ")", ";", "}", ""], "natrual_language": ["Given", "OP", "that", "contains", "a", "VEC_CONCAT", "operation", "of", "two", "doublewords", ",", "reverse", "the", "order", "of", "those", "inputs", "."], "TS_V_token": ["powerpcspe", "1", "0", "0", "1", "1", "1", "\"Reversing inputs for concat %d\\n\""], "File": "powerpcspe", "Func": "adjust_concat", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7655, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", "const", "{", "Value", "=", "adjustFixupValue", "(", "Fixup", ".", "getKind", "(", ")", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittleEndian", "?", "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", "1", "8", "0xff"], "File": "PPCAsmBackend33", "Func": "applyFixup", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7656, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64TargetMachine", "::", "AArch64TargetMachine", "(", "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", ",", "bool", "LittleEndian", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "Options", ".", "MCOptions", ",", "LittleEndian", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "TT", ",", "RM", ")", ",", "getEffectiveCodeModel", "(", "TT", ",", "CM", ",", "JIT", ")", ",", "OL", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", ",", "isLittle", "(", "LittleEndian", ")", "{", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "AArch64", "architecture", "model", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine22", "Func": "AArch64TargetMachine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7657, "Length": 115, "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": 7658, "Length": 308, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "tree", "function_instance", "::", "scalar_type", "(", "unsigned", "int", "i", ")", "const", "{", "return", "scalar_types", "[", "type_suffix", "(", "i", ")", ".", "vector_type", "]", ";", "}", ""], "natrual_language": ["Return", "the", "scalar", "type", "associated", "with", "type", "suffix", "I", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "scalar_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7659, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "rs6000_xcoff_strip_dollar", "(", "const", "char", "*", "name", ")", "{", "char", "*", "strip", ",", "*", "p", ";", "const", "char", "*", "q", ";", "size_t", "len", ";", "q", "=", "(", "const", "char", "*", ")", "strchr", "(", "name", ",", "'$'", ")", ";", "if", "(", "q", "==", "0", "||", "q", "==", "name", ")", "return", "name", ";", "len", "=", "strlen", "(", "name", ")", ";", "strip", "=", "XALLOCAVEC", "(", "char", ",", "len", "+", "1", ")", ";", "strcpy", "(", "strip", ",", "name", ")", ";", "p", "=", "strip", "+", "(", "q", "-", "name", ")", ";", "while", "(", "p", ")", "{", "*", "p", "=", "'_'", ";", "p", "=", "strchr", "(", "p", "+", "1", ",", "'$'", ")", ";", "}", "return", "ggc_alloc_string", "(", "strip", ",", "len", ")", ";", "}", ""], "natrual_language": ["Return", "a", "GGC-allocated", "character", "string", "translating", "dollar", "signs", "in", "input", "NAME", "to", "underscores", ".", "Used", "by", "XCOFF", "ASM_OUTPUT_LABELREF", "."], "TS_V_token": ["powerpcspe", "0", "1", "1"], "File": "powerpcspe", "Func": "rs6000_xcoff_strip_dollar", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7660, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "aarch64_preferred_simd_mode", "(", "scalar_mode", "mode", ")", "{", "poly_int64", "bits", "=", "TARGET_SVE", "?", "BITS_PER_SVE_VECTOR", ":", "128", ";", "return", "aarch64_simd_container_mode", "(", "mode", ",", "bits", ")", ";", "}", ""], "natrual_language": ["Return", "128-bit", "container", "as", "the", "preferred", "SIMD", "mode", "for", "MODE", "."], "TS_V_token": ["aarch64", "128"], "File": "aarch64", "Func": "aarch64_preferred_simd_mode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7661, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "thumb_force_lr_save", "(", "void", ")", "{", "return", "!", "cfun", "->", "machine", "->", "lr_save_eliminated", "&&", "(", "!", "leaf_function_p", "(", ")", "||", "thumb_far_jump_used_p", "(", ")", "||", "regs_ever_live", "[", "LR_REGNUM", "]", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "current", "function", "needs", "to", "save/restore", "LR", "."], "TS_V_token": ["arm"], "File": "arm3", "Func": "thumb_force_lr_save", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7662, "Length": 32, "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", ")", ",", "PICStyle", "(", "PICStyles", "::", "None", ")", ",", "X86SSELevel", "(", "NoMMXSSE", ")", ",", "X863DNowLevel", "(", "NoThreeDNow", ")", ",", "HasCMov", "(", "false", ")", ",", "HasX86_64", "(", "false", ")", ",", "HasPOPCNT", "(", "false", ")", ",", "HasSSE4A", "(", "false", ")", ",", "HasAVX", "(", "false", ")", ",", "HasAES", "(", "false", ")", ",", "HasCLMUL", "(", "false", ")", ",", "HasFMA3", "(", "false", ")", ",", "HasFMA4", "(", "false", ")", ",", "HasMOVBE", "(", "false", ")", ",", "HasRDRAND", "(", "false", ")", ",", "HasF16C", "(", "false", ")", ",", "HasLZCNT", "(", "false", ")", ",", "HasBMI", "(", "false", ")", ",", "HasBMI2", "(", "false", ")", ",", "IsBTMemSlow", "(", "false", ")", ",", "IsUAMemFast", "(", "false", ")", ",", "HasVectorUAMem", "(", "false", ")", ",", "HasCmpxchg16b", "(", "false", ")", ",", "stackAlignment", "(", "8", ")", ",", "MaxInlineSizeThreshold", "(", "128", ")", ",", "TargetTriple", "(", "TT", ")", ",", "In64BitMode", "(", "is64Bit", ")", "{", "if", "(", "!", "FS", ".", "empty", "(", ")", "||", "!", "CPU", ".", "empty", "(", ")", ")", "{", "std", "::", "string", "CPUName", "=", "CPU", ";", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "{", "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", "{", "AutoDetectSubtargetFeatures", "(", ")", ";", "if", "(", "In64BitMode", ")", "{", "HasX86_64", "=", "true", ";", "ToggleFeature", "(", "X86", "::", "Feature64Bit", ")", ";", "HasCMov", "=", "true", ";", "ToggleFeature", "(", "X86", "::", "FeatureCMOV", ")", ";", "if", "(", "!", "HasAVX", "&&", "X86SSELevel", "<", "SSE2", ")", "{", "X86SSELevel", "=", "SSE2", ";", "ToggleFeature", "(", "X86", "::", "FeatureSSE1", ")", ";", "ToggleFeature", "(", "X86", "::", "FeatureSSE2", ")", ";", "}", "}", "}", "if", "(", "In64BitMode", ")", "ToggleFeature", "(", "X86", "::", "Mode64Bit", ")", ";", "if", "(", "HasAVX", ")", "X86SSELevel", "=", "NoMMXSSE", ";", "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", "(", "EnableSegmentedStacks", "&&", "!", "isTargetELF", "(", ")", ")", "report_fatal_error", "(", "\"Segmented stacks are only implemented on ELF.\"", ")", ";", "if", "(", "StackAlignOverride", ")", "stackAlignment", "=", "StackAlignOverride", ";", "else", "if", "(", "isTargetDarwin", "(", ")", "||", "isTargetFreeBSD", "(", ")", "||", "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", "8", "128", "\"generic\"", "\"+64bit,+sse2,\"", "\"+64bit,+sse2\"", "X86", "X86::Feature64Bit", "X86::FeatureCMOV", "X86", "X86", "X86::FeatureSSE1", "X86::FeatureSSE2", "X86::Mode64Bit", "X86", "\"Subtarget features: SSELevel \"", "X86", "\", 3DNowLevel \"", "X86", "\", 64bit \"", "X86", "\"\\n\"", "X86", "\"64-bit code requested on a subtarget that doesn't support it!\"", "\"Segmented stacks are only implemented on ELF.\"", "16"], "File": "X86Subtarget4", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7663, "Length": 424, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SICTargetLowering", "::", "isEligibleForTailCallOptimization", "(", "const", "SICCC", "&", "SICCCInfo", ",", "unsigned", "NextStackOffset", ",", "const", "SICFunctionInfo", "&", "FI", ")", "const", "{", "return", "false", ";", "if", "(", "SICCCInfo", ".", "hasByValArg", "(", ")", "||", "FI", ".", "hasByvalArg", "(", ")", ")", "return", "false", ";", "return", "NextStackOffset", "<=", "FI", ".", "getIncomingArgSize", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "call", "can", "be", "lowered", "as", "a", "tail", "call", "."], "TS_V_token": ["SIC", "SIC", "SIC", "SIC", "SIC", "SIC"], "File": "SICISelLowering", "Func": "isEligibleForTailCallOptimization", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7664, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_fix_trunc", "(", "rtx_insn", "*", "insn", ",", "rtx", "*", "operands", ",", "bool", "fisttp", ")", "{", "bool", "stack_top_dies", "=", "find_regno_note", "(", "insn", ",", "REG_DEAD", ",", "FIRST_STACK_REG", ")", ";", "bool", "dimode_p", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", "==", "DImode", ";", "int", "round_mode", "=", "get_attr_i387_cw", "(", "insn", ")", ";", "static", "char", "buf", "[", "40", "]", ";", "const", "char", "*", "p", ";", "if", "(", "(", "dimode_p", "||", "fisttp", ")", "&&", "!", "stack_top_dies", ")", "output_asm_insn", "(", "\"fld\\t%y1\"", ",", "operands", ")", ";", "gcc_assert", "(", "STACK_TOP_P", "(", "operands", "[", "1", "]", ")", ")", ";", "gcc_assert", "(", "MEM_P", "(", "operands", "[", "0", "]", ")", ")", ";", "gcc_assert", "(", "GET_MODE", "(", "operands", "[", "1", "]", ")", "!=", "TFmode", ")", ";", "if", "(", "fisttp", ")", "return", "\"fisttp%Z0\\t%0\"", ";", "strcpy", "(", "buf", ",", "\"fist\"", ")", ";", "if", "(", "round_mode", "!=", "I387_CW_ANY", ")", "output_asm_insn", "(", "\"fldcw\\t%3\"", ",", "operands", ")", ";", "p", "=", "\"p%Z0\\t%0\"", ";", "strcat", "(", "buf", ",", "p", "+", "!", "(", "stack_top_dies", "||", "dimode_p", ")", ")", ";", "output_asm_insn", "(", "buf", ",", "operands", ")", ";", "if", "(", "round_mode", "!=", "I387_CW_ANY", ")", "output_asm_insn", "(", "\"fldcw\\t%2\"", ",", "operands", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "code", "for", "INSN", "to", "convert", "a", "float", "to", "a", "signed", "int", ".", "OPERANDS", "are", "the", "insn", "operands", ".", "The", "output", "may", "be", "[", "HSD", "]", "Imode", "and", "the", "input", "operand", "may", "be", "[", "SDX", "]", "Fmode", "."], "TS_V_token": ["i386", "0", "40", "\"fld\\t%y1\"", "1", "0", "1", "\"fisttp%Z0\\t%0\"", "\"fist\"", "\"fldcw\\t%3\"", "\"p%Z0\\t%0\"", "\"fldcw\\t%2\"", "\"\""], "File": "i386", "Func": "output_fix_trunc", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7665, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "MachineInstr", "*", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "unsigned", ">", "&", "Ops", ",", "MachineInstr", "*", "LoadMI", ")", "const", "{", "return", "0", ";", "}", ""], "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": ["Mips", "0"], "File": "MipsInstrInfo30", "Func": "foldMemoryOperandImpl", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7666, "Length": 31, "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": 7667, "Length": 392, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "rs6000_floatn_mode", "(", "int", "n", ",", "bool", "extended", ")", "{", "if", "(", "extended", ")", "{", "switch", "(", "n", ")", "{", "case", "32", ":", "return", "DFmode", ";", "case", "64", ":", "if", "(", "TARGET_FLOAT128_KEYWORD", ")", "return", "(", "FLOAT128_IEEE_P", "(", "TFmode", ")", ")", "?", "TFmode", ":", "KFmode", ";", "else", "return", "VOIDmode", ";", "case", "128", ":", "return", "VOIDmode", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "{", "switch", "(", "n", ")", "{", "case", "32", ":", "return", "SFmode", ";", "case", "64", ":", "return", "DFmode", ";", "case", "128", ":", "if", "(", "TARGET_FLOAT128_KEYWORD", ")", "return", "(", "FLOAT128_IEEE_P", "(", "TFmode", ")", ")", "?", "TFmode", ":", "KFmode", ";", "else", "return", "VOIDmode", ";", "default", ":", "return", "VOIDmode", ";", "}", "}", "}", ""], "natrual_language": ["Target", "hook", "for", "floatn_mode", "."], "TS_V_token": ["rs6000", "32", "64", "128", "32", "64", "128"], "File": "rs60006", "Func": "rs6000_floatn_mode", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7668, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "epilogue_renumber", "(", "register", "rtx", "*", "where", ",", "int", "test", ")", "{", "register", "const", "char", "*", "fmt", ";", "register", "int", "i", ";", "register", "enum", "rtx_code", "code", ";", "if", "(", "*", "where", "==", "0", ")", "return", "0", ";", "code", "=", "GET_CODE", "(", "*", "where", ")", ";", "switch", "(", "code", ")", "{", "case", "REG", ":", "if", "(", "REGNO", "(", "*", "where", ")", ">=", "8", "&&", "REGNO", "(", "*", "where", ")", "<", "24", ")", "return", "1", ";", "if", "(", "!", "test", "&&", "REGNO", "(", "*", "where", ")", ">=", "24", "&&", "REGNO", "(", "*", "where", ")", "<", "32", ")", "*", "where", "=", "gen_rtx_REG", "(", "GET_MODE", "(", "*", "where", ")", ",", "OUTGOING_REGNO", "(", "REGNO", "(", "*", "where", ")", ")", ")", ";", "case", "SCRATCH", ":", "case", "CC0", ":", "case", "PC", ":", "case", "CONST_INT", ":", "case", "CONST_DOUBLE", ":", "return", "0", ";", "case", "PLUS", ":", "if", "(", "GET_CODE", "(", "XEXP", "(", "*", "where", ",", "0", ")", ")", "==", "REG", "&&", "REGNO", "(", "XEXP", "(", "*", "where", ",", "0", ")", ")", "==", "HARD_FRAME_POINTER_REGNUM", "&&", "(", "GET_CODE", "(", "XEXP", "(", "*", "where", ",", "1", ")", ")", "!=", "CONST_INT", "||", "INTVAL", "(", "XEXP", "(", "*", "where", ",", "1", ")", ")", "<", "SPARC_STACK_BIAS", ")", ")", "return", "1", ";", "break", ";", "case", "MEM", ":", "if", "(", "SPARC_STACK_BIAS", "&&", "GET_CODE", "(", "XEXP", "(", "*", "where", ",", "0", ")", ")", "==", "REG", "&&", "REGNO", "(", "XEXP", "(", "*", "where", ",", "0", ")", ")", "==", "HARD_FRAME_POINTER_REGNUM", ")", "return", "1", ";", "break", ";", "default", ":", "break", ";", "}", "fmt", "=", "GET_RTX_FORMAT", "(", "code", ")", ";", "for", "(", "i", "=", "GET_RTX_LENGTH", "(", "code", ")", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "if", "(", "fmt", "[", "i", "]", "==", "'E'", ")", "{", "register", "int", "j", ";", "for", "(", "j", "=", "XVECLEN", "(", "*", "where", ",", "i", ")", "-", "1", ";", "j", ">=", "0", ";", "j", "--", ")", "if", "(", "epilogue_renumber", "(", "&", "(", "XVECEXP", "(", "*", "where", ",", "i", ",", "j", ")", ")", ",", "test", ")", ")", "return", "1", ";", "}", "else", "if", "(", "fmt", "[", "i", "]", "==", "'e'", "&&", "epilogue_renumber", "(", "&", "(", "XEXP", "(", "*", "where", ",", "i", ")", ")", ",", "test", ")", ")", "return", "1", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "1", ",", "if", "any", "of", "the", "registers", "of", "the", "instruction", "are", "%", "l", "[", "0-7", "]", "or", "%", "o", "[", "0-7", "]", ".", "Such", "instructions", "can", "not", "be", "used", "in", "the", "delay", "slot", "of", "return", "insn", "on", "v9", ".", "If", "TEST", "is", "0", ",", "also", "rename", "all", "%", "i", "[", "0-7", "]", "registers", "to", "their", "%", "o", "[", "0-7", "]", "counterparts", "."], "TS_V_token": ["sparc", "0", "0", "8", "24", "1", "24", "32", "0", "0", "0", "1", "1", "1", "0", "0", "1", "1", "0", "1", "0", "1", "1", "0"], "File": "sparc3", "Func": "epilogue_renumber", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7669, "Length": 361, "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", "(", "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": "ARMFastISel17", "Func": "fastLowerArguments", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7670, "Length": 420, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "bool", "bundle_state_hasher", "::", "equal", "(", "const", "bundle_state", "*", "state1", ",", "const", "bundle_state", "*", "state2", ")", "{", "return", "(", "state1", "->", "insn_num", "==", "state2", "->", "insn_num", "&&", "memcmp", "(", "state1", "->", "dfa_state", ",", "state2", "->", "dfa_state", ",", "dfa_state_size", ")", "==", "0", ")", ";", "}", ""], "natrual_language": ["Compare", "H1", "and", "H2", "for", "equivalence", "."], "TS_V_token": ["ia64", "0"], "File": "ia64", "Func": "equal", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7671, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiPassConfig", "::", "addPreSched2", "(", ")", "{", "addPass", "(", "createLanaiMemAluCombinerPass", "(", ")", ")", ";", "addPass", "(", "createLanaiSetflagAluCombinerPass", "(", ")", ")", ";", "}", ""], "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", "Lanai"], "File": "LanaiTargetMachine19", "Func": "addPreSched2", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7672, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_fmul_op", "(", "enum", "attr_type", "t", ")", "{", "return", "(", "t", "==", "TYPE_FMULS", ")", "||", "(", "t", "==", "TYPE_FMULD", ")", "||", "(", "t", "==", "TYPE_NEON_FP_MUL_S", ")", ";", "}", ""], "natrual_language": ["Return", "whether", "T", "is", "the", "attribute", "of", "a", "FMUL", "instruction", "."], "TS_V_token": ["aarch64"], "File": "cortex-a57-fma-steering", "Func": "is_fmul_op", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7673, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getReg", "(", ")", "const", "override", "{", "assert", "(", "isReg", "(", ")", "&&", "\"Invalid type access!\"", ")", ";", "return", "Reg", ".", "RegNum", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["Lanai", "\"Invalid type access!\""], "File": "LanaiAsmParser (2)", "Func": "getReg", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7674, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "SparcDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "DebugLoc", "dl", "=", "N", "->", "getDebugLoc", "(", ")", ";", "if", "(", "N", "->", "isMachineOpcode", "(", ")", ")", "return", "NULL", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "SPISD", "::", "GLOBAL_BASE_REG", ":", "return", "getGlobalBaseReg", "(", ")", ";", "case", "ISD", "::", "SDIV", ":", "case", "ISD", "::", "UDIV", ":", "{", "SDValue", "DivLHS", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "DivRHS", "=", "N", "->", "getOperand", "(", "1", ")", ";", "SDValue", "TopPart", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SDIV", ")", "{", "TopPart", "=", "SDValue", "(", "CurDAG", "->", "getMachineNode", "(", "SP", "::", "SRAri", ",", "dl", ",", "MVT", "::", "i32", ",", "DivLHS", ",", "CurDAG", "->", "getTargetConstant", "(", "31", ",", "MVT", "::", "i32", ")", ")", ",", "0", ")", ";", "}", "else", "{", "TopPart", "=", "CurDAG", "->", "getRegister", "(", "SP", "::", "G0", ",", "MVT", "::", "i32", ")", ";", "}", "TopPart", "=", "SDValue", "(", "CurDAG", "->", "getMachineNode", "(", "SP", "::", "WRYrr", ",", "dl", ",", "MVT", "::", "Flag", ",", "TopPart", ",", "CurDAG", "->", "getRegister", "(", "SP", "::", "G0", ",", "MVT", "::", "i32", ")", ")", ",", "0", ")", ";", "unsigned", "Opcode", "=", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SDIV", "?", "SP", "::", "SDIVrr", ":", "SP", "::", "UDIVrr", ";", "return", "CurDAG", "->", "SelectNodeTo", "(", "N", ",", "Opcode", ",", "MVT", "::", "i32", ",", "DivLHS", ",", "DivRHS", ",", "TopPart", ")", ";", "}", "case", "ISD", "::", "MULHU", ":", "case", "ISD", "::", "MULHS", ":", "{", "SDValue", "MulLHS", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "MulRHS", "=", "N", "->", "getOperand", "(", "1", ")", ";", "unsigned", "Opcode", "=", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "MULHU", "?", "SP", "::", "UMULrr", ":", "SP", "::", "SMULrr", ";", "SDNode", "*", "Mul", "=", "CurDAG", "->", "getMachineNode", "(", "Opcode", ",", "dl", ",", "MVT", "::", "i32", ",", "MVT", "::", "Flag", ",", "MulLHS", ",", "MulRHS", ")", ";", "return", "CurDAG", "->", "SelectNodeTo", "(", "N", ",", "SP", "::", "RDY", ",", "MVT", "::", "i32", ",", "SDValue", "(", "Mul", ",", "1", ")", ")", ";", "return", "NULL", ";", "}", "}", "return", "SelectCode", "(", "N", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["Sparc", "Sparc", "SPISD::GLOBAL_BASE_REG", "ISD::SDIV", "ISD::UDIV", "0", "1", "ISD::SDIV", "SP::SRAri", "MVT::i32", "31", "MVT::i32", "0", "SP::G0", "MVT::i32", "SP::WRYrr", "MVT::Flag", "SP::G0", "MVT::i32", "0", "ISD::SDIV", "SP::SDIVrr", "SP::UDIVrr", "MVT::i32", "ISD::MULHU", "ISD::MULHS", "0", "1", "ISD::MULHU", "SP::UMULrr", "SP::SMULrr", "MVT::i32", "MVT::Flag", "SP::RDY", "MVT::i32", "1"], "File": "SparcISelDAGToDAG15", "Func": "Select", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7675, "Length": 346, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcInstrInfo", "::", "reverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "assert", "(", "Cond", ".", "size", "(", ")", "==", "1", ")", ";", "SPCC", "::", "CondCodes", "CC", "=", "static_cast", "<", "SPCC", "::", "CondCodes", ">", "(", "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": ["Sparc", "Sparc", "1", "SPCC::CondCodes", "SPCC::CondCodes", "0", "0"], "File": "SparcInstrInfo1", "Func": "reverseBranchCondition", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7676, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FastTileConfig", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MFunc", ")", "{", "MF", "=", "&", "MFunc", ";", "MRI", "=", "&", "MFunc", ".", "getRegInfo", "(", ")", ";", "ST", "=", "&", "MFunc", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "TRI", "=", "ST", "->", "getRegisterInfo", "(", ")", ";", "TII", "=", "MFunc", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "return", "fastTileConfig", "(", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86FastTileConfig2", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7677, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "sh_handle_resbank_handler_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", "ATTRIBUTE_UNUSED", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add_attrs", ")", "{", "if", "(", "!", "TARGET_SH2A", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute is supported only for SH2A\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "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", "a", "'resbank", "'", "attribute", "."], "TS_V_token": ["sh", "\"%qE attribute is supported only for SH2A\"", "\"%qE attribute only applies to functions\""], "File": "sh", "Func": "sh_handle_resbank_handler_attribute", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7678, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCRegisterInfo", "::", "isFrameOffsetLegal", "(", "const", "MachineInstr", "*", "MI", ",", "int64_t", "Offset", ")", "const", "{", "return", "MI", "->", "getOpcode", "(", ")", "==", "PPC", "::", "DBG_VALUE", "||", "(", "isInt", "<", "16", ">", "(", "Offset", ")", "&&", "(", "!", "usesIXAddr", "(", "*", "MI", ")", "||", "(", "Offset", "&", "3", ")", "==", "0", ")", ")", ";", "}", ""], "natrual_language": ["Determine", "whether", "a", "given", "base", "register", "plus", "offset", "immediate", "is", "encodable", "to", "resolve", "a", "frame", "index", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::DBG_VALUE", "16", "3", "0"], "File": "PPCRegisterInfo (2)", "Func": "isFrameOffsetLegal", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7679, "Length": 54, "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": 7680, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "long", "rs6000_arg_size", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "unsigned", "long", "size", ";", "if", "(", "mode", "!=", "BLKmode", ")", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "else", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "if", "(", "TARGET_32BIT", ")", "return", "(", "size", "+", "3", ")", ">>", "2", ";", "else", "return", "(", "size", "+", "7", ")", ">>", "3", ";", "}", ""], "natrual_language": ["Compute", "the", "size", "(", "in", "words", ")", "of", "a", "function", "argument", "."], "TS_V_token": ["rs6000", "3", "2", "7", "3"], "File": "rs6000-call", "Func": "rs6000_arg_size", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7681, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_option_print", "(", "FILE", "*", "file", ",", "int", "indent", ",", "struct", "cl_target_option", "*", "ptr", ")", "{", "const", "struct", "processor", "*", "cpu", "=", "aarch64_get_tune_cpu", "(", "ptr", "->", "x_explicit_tune_core", ")", ";", "unsigned", "long", "isa_flags", "=", "ptr", "->", "x_aarch64_isa_flags", ";", "const", "struct", "processor", "*", "arch", "=", "aarch64_get_arch", "(", "ptr", "->", "x_explicit_arch", ")", ";", "std", "::", "string", "extension", "=", "aarch64_get_extension_string_for_isa_flags", "(", "isa_flags", ",", "arch", "->", "flags", ")", ";", "fprintf", "(", "file", ",", "\"%*sselected tune = %s\\n\"", ",", "indent", ",", "\"\"", ",", "cpu", "->", "name", ")", ";", "fprintf", "(", "file", ",", "\"%*sselected arch = %s%s\\n\"", ",", "indent", ",", "\"\"", ",", "arch", "->", "name", ",", "extension", ".", "c_str", "(", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_PRINT", "."], "TS_V_token": ["aarch64", "\"%*sselected tune = %s\\n\"", "\"\"", "\"%*sselected arch = %s%s\\n\"", "\"\""], "File": "aarch643", "Func": "aarch64_option_print", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7682, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64TargetMachine", "::", "AArch64TargetMachine", "(", "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", ",", "bool", "LittleEndian", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "Options", ".", "MCOptions", ",", "LittleEndian", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "TT", ",", "RM", ")", ",", "getEffectiveCodeModel", "(", "TT", ",", "CM", ",", "JIT", ")", ",", "OL", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", ",", "isLittle", "(", "LittleEndian", ")", "{", "initAsmInfo", "(", ")", ";", "if", "(", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "{", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "this", "->", "Options", ".", "NoTrapAfterNoreturn", "=", "true", ";", "}", "if", "(", "getOptLevel", "(", ")", "<=", "EnableGlobalISelAtO", ")", "setGlobalISel", "(", "true", ")", ";", "setMachineOutliner", "(", "true", ")", ";", "}", ""], "natrual_language": ["Create", "an", "AArch64", "architecture", "model", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine62", "Func": "AArch64TargetMachine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7683, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_avoid_jump_mispredicts", "(", "void", ")", "{", "rtx_insn", "*", "insn", ",", "*", "start", "=", "get_insns", "(", ")", ";", "int", "nbytes", "=", "0", ",", "njumps", "=", "0", ";", "bool", "isjump", "=", "false", ";", "for", "(", "insn", "=", "start", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "int", "min_size", ";", "if", "(", "LABEL_P", "(", "insn", ")", ")", "{", "int", "align", "=", "label_to_alignment", "(", "insn", ")", ";", "int", "max_skip", "=", "label_to_max_skip", "(", "insn", ")", ";", "if", "(", "max_skip", ">", "15", ")", "max_skip", "=", "15", ";", "if", "(", "align", "<=", "0", "||", "(", "align", "<=", "3", "&&", "max_skip", "!=", "(", "1", "<<", "align", ")", "-", "1", ")", ")", "max_skip", "=", "0", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Label %i with max_skip %i\\n\"", ",", "INSN_UID", "(", "insn", ")", ",", "max_skip", ")", ";", "if", "(", "max_skip", ")", "{", "while", "(", "nbytes", "+", "max_skip", ">=", "16", ")", "{", "start", "=", "NEXT_INSN", "(", "start", ")", ";", "if", "(", "(", "JUMP_P", "(", "start", ")", "&&", "asm_noperands", "(", "PATTERN", "(", "start", ")", ")", "<", "0", ")", "||", "CALL_P", "(", "start", ")", ")", "njumps", "--", ",", "isjump", "=", "true", ";", "else", "isjump", "=", "false", ";", "nbytes", "-=", "ix86_min_insn_size", "(", "start", ")", ";", "}", "}", "continue", ";", "}", "min_size", "=", "ix86_min_insn_size", "(", "insn", ")", ";", "nbytes", "+=", "min_size", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Insn %i estimated to %i bytes\\n\"", ",", "INSN_UID", "(", "insn", ")", ",", "min_size", ")", ";", "if", "(", "(", "JUMP_P", "(", "insn", ")", "&&", "asm_noperands", "(", "PATTERN", "(", "insn", ")", ")", "<", "0", ")", "||", "CALL_P", "(", "insn", ")", ")", "njumps", "++", ";", "else", "continue", ";", "while", "(", "njumps", ">", "3", ")", "{", "start", "=", "NEXT_INSN", "(", "start", ")", ";", "if", "(", "(", "JUMP_P", "(", "start", ")", "&&", "asm_noperands", "(", "PATTERN", "(", "start", ")", ")", "<", "0", ")", "||", "CALL_P", "(", "start", ")", ")", "njumps", "--", ",", "isjump", "=", "true", ";", "else", "isjump", "=", "false", ";", "nbytes", "-=", "ix86_min_insn_size", "(", "start", ")", ";", "}", "gcc_assert", "(", "njumps", ">=", "0", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Interval %i to %i has %i bytes\\n\"", ",", "INSN_UID", "(", "start", ")", ",", "INSN_UID", "(", "insn", ")", ",", "nbytes", ")", ";", "if", "(", "njumps", "==", "3", "&&", "isjump", "&&", "nbytes", "<", "16", ")", "{", "int", "padsize", "=", "15", "-", "nbytes", "+", "ix86_min_insn_size", "(", "insn", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Padding insn %i by %i bytes!\\n\"", ",", "INSN_UID", "(", "insn", ")", ",", "padsize", ")", ";", "emit_insn_before", "(", "gen_pad", "(", "GEN_INT", "(", "padsize", ")", ")", ",", "insn", ")", ";", "}", "}", "}", ""], "natrual_language": ["AMD", "K8", "core", "mispredicts", "jumps", "when", "there", "are", "more", "than", "3", "jumps", "in", "16", "byte", "window", "."], "TS_V_token": ["i386", "0", "0", "15", "15", "0", "3", "1", "1", "0", "\"Label %i with max_skip %i\\n\"", "16", "0", "\"Insn %i estimated to %i bytes\\n\"", "0", "3", "0", "0", "\"Interval %i to %i has %i bytes\\n\"", "3", "16", "15", "\"Padding insn %i by %i bytes!\\n\""], "File": "i3867", "Func": "ix86_avoid_jump_mispredicts", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7684, "Length": 404, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_longcall_ref", "(", "rtx", "call_ref", ",", "rtx", "arg", ")", "{", "const", "char", "*", "call_name", "=", "XSTR", "(", "call_ref", ",", "0", ")", ";", "if", "(", "*", "call_name", "==", "'.'", ")", "{", "while", "(", "*", "call_name", "==", "'.'", ")", "call_name", "++", ";", "tree", "node", "=", "get_identifier", "(", "call_name", ")", ";", "call_ref", "=", "gen_rtx_SYMBOL_REF", "(", "VOIDmode", ",", "IDENTIFIER_POINTER", "(", "node", ")", ")", ";", "}", "if", "(", "TARGET_PLTSEQ", ")", "{", "rtx", "base", "=", "const0_rtx", ";", "int", "regno", "=", "12", ";", "if", "(", "rs6000_pcrel_p", "(", ")", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "regno", ")", ";", "rtx", "u", "=", "gen_rtx_UNSPEC_VOLATILE", "(", "Pmode", ",", "gen_rtvec", "(", "3", ",", "base", ",", "call_ref", ",", "arg", ")", ",", "UNSPECV_PLT_PCREL", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "reg", ",", "u", ")", ")", ";", "return", "reg", ";", "}", "if", "(", "DEFAULT_ABI", "==", "ABI_ELFv2", ")", "base", "=", "gen_rtx_REG", "(", "Pmode", ",", "TOC_REGISTER", ")", ";", "else", "{", "if", "(", "flag_pic", ")", "base", "=", "gen_rtx_REG", "(", "Pmode", ",", "RS6000_PIC_OFFSET_TABLE_REGNUM", ")", ";", "regno", "=", "11", ";", "}", "rtx", "reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "regno", ")", ";", "rtx", "hi", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "3", ",", "base", ",", "call_ref", ",", "arg", ")", ",", "UNSPEC_PLT16_HA", ")", ";", "rtx", "lo", "=", "gen_rtx_UNSPEC_VOLATILE", "(", "Pmode", ",", "gen_rtvec", "(", "3", ",", "reg", ",", "call_ref", ",", "arg", ")", ",", "UNSPECV_PLT16_LO", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "reg", ",", "hi", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "reg", ",", "lo", ")", ")", ";", "return", "reg", ";", "}", "return", "force_reg", "(", "Pmode", ",", "call_ref", ")", ";", "}", ""], "natrual_language": ["Return", "a", "reference", "suitable", "for", "calling", "a", "function", "with", "the", "longcall", "attribute", "."], "TS_V_token": ["rs6000", "0", "12", "3", "11", "3", "3"], "File": "rs6000", "Func": "rs6000_longcall_ref", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7685, "Length": 249, "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", ",", "getAddressSpace", "(", ")", ")", ";", "}", "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"], "File": "X86ISelLowering (2)6", "Func": "getSafeStackPointerLocation", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7686, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsDAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "static_cast", "<", "const", "MipsSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "bool", "Ret", "=", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "processFunctionAfterISel", "(", "MF", ")", ";", "return", "Ret", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsISelDAGToDAG (2)", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7687, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "memory_address_length", "(", "rtx", "addr", ",", "bool", "lea", ")", "{", "struct", "ix86_address", "parts", ";", "rtx", "base", ",", "index", ",", "disp", ";", "int", "len", ";", "int", "ok", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PRE_DEC", "||", "GET_CODE", "(", "addr", ")", "==", "POST_INC", "||", "GET_CODE", "(", "addr", ")", "==", "PRE_MODIFY", "||", "GET_CODE", "(", "addr", ")", "==", "POST_MODIFY", ")", "return", "0", ";", "ok", "=", "ix86_decompose_address", "(", "addr", ",", "&", "parts", ")", ";", "gcc_assert", "(", "ok", ")", ";", "len", "=", "(", "parts", ".", "seg", "==", "ADDR_SPACE_GENERIC", ")", "?", "0", ":", "1", ";", "if", "(", "TARGET_64BIT", "&&", "!", "lea", "&&", "(", "SImode_address_operand", "(", "addr", ",", "VOIDmode", ")", "||", "(", "parts", ".", "base", "&&", "GET_MODE", "(", "parts", ".", "base", ")", "==", "SImode", ")", "||", "(", "parts", ".", "index", "&&", "GET_MODE", "(", "parts", ".", "index", ")", "==", "SImode", ")", ")", ")", "len", "++", ";", "base", "=", "parts", ".", "base", ";", "index", "=", "parts", ".", "index", ";", "disp", "=", "parts", ".", "disp", ";", "if", "(", "base", "&&", "SUBREG_P", "(", "base", ")", ")", "base", "=", "SUBREG_REG", "(", "base", ")", ";", "if", "(", "index", "&&", "SUBREG_P", "(", "index", ")", ")", "index", "=", "SUBREG_REG", "(", "index", ")", ";", "gcc_assert", "(", "base", "==", "NULL_RTX", "||", "REG_P", "(", "base", ")", ")", ";", "gcc_assert", "(", "index", "==", "NULL_RTX", "||", "REG_P", "(", "index", ")", ")", ";", "if", "(", "base", "&&", "!", "index", "&&", "!", "disp", ")", "{", "if", "(", "base", "==", "arg_pointer_rtx", "||", "base", "==", "frame_pointer_rtx", "||", "REGNO", "(", "base", ")", "==", "SP_REG", "||", "REGNO", "(", "base", ")", "==", "BP_REG", "||", "REGNO", "(", "base", ")", "==", "R12_REG", "||", "REGNO", "(", "base", ")", "==", "R13_REG", ")", "len", "++", ";", "}", "else", "if", "(", "disp", "&&", "!", "base", "&&", "!", "index", ")", "{", "len", "+=", "4", ";", "if", "(", "!", "ix86_rip_relative_addr_p", "(", "&", "parts", ")", ")", "len", "++", ";", "}", "else", "{", "if", "(", "disp", ")", "{", "if", "(", "base", "&&", "satisfies_constraint_K", "(", "disp", ")", ")", "len", "+=", "1", ";", "else", "len", "+=", "4", ";", "}", "else", "if", "(", "base", "&&", "(", "REGNO", "(", "base", ")", "==", "BP_REG", "||", "REGNO", "(", "base", ")", "==", "R13_REG", ")", ")", "len", "++", ";", "if", "(", "index", "||", "base", "==", "arg_pointer_rtx", "||", "base", "==", "frame_pointer_rtx", "||", "(", "base", "&&", "(", "REGNO", "(", "base", ")", "==", "SP_REG", "||", "REGNO", "(", "base", ")", "==", "R12_REG", ")", ")", ")", "len", "++", ";", "}", "return", "len", ";", "}", ""], "natrual_language": ["Calculate", "the", "length", "of", "the", "memory", "address", "in", "the", "instruction", "encoding", ".", "Does", "not", "include", "the", "one-byte", "modrm", ",", "opcode", ",", "or", "prefix", "."], "TS_V_token": ["i386", "0", "0", "1", "4", "1", "4"], "File": "i386", "Func": "memory_address_length", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7688, "Length": 384, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips16_insn_length", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "JUMP_TABLE_DATA_P", "(", "insn", ")", ")", "{", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "body", ")", "==", "ADDR_VEC", ")", "return", "GET_MODE_SIZE", "(", "GET_MODE", "(", "body", ")", ")", "*", "XVECLEN", "(", "body", ",", "0", ")", ";", "else", "if", "(", "GET_CODE", "(", "body", ")", "==", "ADDR_DIFF_VEC", ")", "return", "GET_MODE_SIZE", "(", "GET_MODE", "(", "body", ")", ")", "*", "XVECLEN", "(", "body", ",", "1", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "return", "get_attr_length", "(", "insn", ")", ";", "}", ""], "natrual_language": ["Return", "the", "length", "of", "instruction", "INSN", "."], "TS_V_token": ["mips", "0", "1"], "File": "mips", "Func": "mips16_insn_length", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7689, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LEGTargetLowering", "::", "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_LEG", ")", ";", "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", "(", "LEGISD", "::", "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": ["LEG", "LEG", "ISD::OutputArg", "\"VarArg not supported\"", "16", "LEG", "4", "1", "0", "\"Can only return in registers!\"", "1", "0", "LEGISD::RET_FLAG", "MVT::Other"], "File": "LEGISelLowering1", "Func": "LowerReturn", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7690, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "KudeyarInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "markup", "(", "\"\"", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["Kudeyar", "Kudeyar", "\"\""], "File": "KudeyarInstPrinter", "Func": "printRegName", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7691, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "ARMTTIImpl", "::", "getIntImmCostInst", "(", "unsigned", "Opcode", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ",", "Instruction", "*", "Inst", ")", "{", "if", "(", "(", "Opcode", "==", "Instruction", "::", "SDiv", "||", "Opcode", "==", "Instruction", "::", "UDiv", "||", "Opcode", "==", "Instruction", "::", "SRem", "||", "Opcode", "==", "Instruction", "::", "URem", ")", "&&", "Idx", "==", "1", ")", "return", "0", ";", "if", "(", "Opcode", "==", "Instruction", "::", "GetElementPtr", "&&", "Idx", "!=", "0", ")", "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", ";", "if", "(", "Inst", "&&", "(", "(", "ST", "->", "hasV6Ops", "(", ")", "&&", "!", "ST", "->", "isThumb", "(", ")", ")", "||", "ST", "->", "isThumb2", "(", ")", ")", "&&", "Ty", "->", "getIntegerBitWidth", "(", ")", "<=", "32", ")", "{", "if", "(", "isSSATMinMaxPattern", "(", "Inst", ",", "Imm", ")", "||", "(", "isa", "<", "ICmpInst", ">", "(", "Inst", ")", "&&", "Inst", "->", "hasOneUse", "(", ")", "&&", "isSSATMinMaxPattern", "(", "cast", "<", "Instruction", ">", "(", "*", "Inst", "->", "user_begin", "(", ")", ")", ",", "Imm", ")", ")", ")", "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", "0", "0", "255", "65535", "0", "32", "1", "12", "0", "1", "8", "0", "0", "32", "0"], "File": "ARMTargetTransformInfo41", "Func": "getIntImmCostInst", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7692, "Length": 340, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "VECustomDAG", "::", "getLegalReductionOpVVP", "(", "unsigned", "VVPOpcode", ",", "EVT", "ResVT", ",", "SDValue", "StartV", ",", "SDValue", "VectorV", ",", "SDValue", "Mask", ",", "SDValue", "AVL", ",", "SDNodeFlags", "Flags", ")", "const", "{", "bool", "scalarizeStartParam", "=", "StartV", "&&", "!", "hasReductionStartParam", "(", "VVPOpcode", ")", ";", "bool", "IsMaskReduction", "=", "isMaskType", "(", "VectorV", ".", "getValueType", "(", ")", ")", ";", "assert", "(", "!", "IsMaskReduction", "&&", "\"TODO Implement\"", ")", ";", "auto", "AttachStartValue", "=", "[", "&", "]", "(", "SDValue", "ReductionResV", ")", "{", "if", "(", "!", "scalarizeStartParam", ")", "return", "ReductionResV", ";", "auto", "ScalarOC", "=", "getScalarReductionOpcode", "(", "VVPOpcode", ",", "IsMaskReduction", ")", ";", "return", "getNode", "(", "ScalarOC", ",", "ResVT", ",", "{", "StartV", ",", "ReductionResV", "}", ")", ";", "}", ";", "if", "(", "!", "scalarizeStartParam", "&&", "StartV", ")", "{", "assert", "(", "hasReductionStartParam", "(", "VVPOpcode", ")", ")", ";", "return", "AttachStartValue", "(", "getNode", "(", "VVPOpcode", ",", "ResVT", ",", "{", "StartV", ",", "VectorV", ",", "Mask", ",", "AVL", "}", ",", "Flags", ")", ")", ";", "}", "else", "return", "AttachStartValue", "(", "getNode", "(", "VVPOpcode", ",", "ResVT", ",", "{", "VectorV", ",", "Mask", ",", "AVL", "}", ",", "Flags", ")", ")", ";", "}", ""], "natrual_language": ["}", "getNode"], "TS_V_token": ["VE", "VECustomDAG::getLegalReductionOpVVP", "\"TODO Implement\""], "File": "VECustomDAG1", "Func": "getLegalReductionOpVVP", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7693, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "auto", "*", "ZII", "=", "static_cast", "<", "const", "SystemZInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "SystemZMachineFunctionInfo", "*", "ZFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "MachineFrameInfo", "&", "MFFrame", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "GHC", ")", "return", ";", "assert", "(", "MBBI", "->", "isReturn", "(", ")", "&&", "\"Can only insert epilogue into returning blocks\"", ")", ";", "uint64_t", "StackSize", "=", "MFFrame", ".", "getStackSize", "(", ")", ";", "if", "(", "ZFI", "->", "getLowSavedGPR", "(", ")", ")", "{", "--", "MBBI", ";", "unsigned", "Opcode", "=", "MBBI", "->", "getOpcode", "(", ")", ";", "if", "(", "Opcode", "!=", "SystemZ", "::", "LMG", ")", "llvm_unreachable", "(", "\"Expected to see callee-save register restore code\"", ")", ";", "unsigned", "AddrOpNo", "=", "2", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "uint64_t", "Offset", "=", "StackSize", "+", "MBBI", "->", "getOperand", "(", "AddrOpNo", "+", "1", ")", ".", "getImm", "(", ")", ";", "unsigned", "NewOpcode", "=", "ZII", "->", "getOpcodeForOffset", "(", "Opcode", ",", "Offset", ")", ";", "if", "(", "!", "NewOpcode", ")", "{", "uint64_t", "NumBytes", "=", "Offset", "-", "0x7fff8", ";", "emitIncrement", "(", "MBB", ",", "MBBI", ",", "DL", ",", "MBBI", "->", "getOperand", "(", "AddrOpNo", ")", ".", "getReg", "(", ")", ",", "NumBytes", ",", "ZII", ")", ";", "Offset", "-=", "NumBytes", ";", "NewOpcode", "=", "ZII", "->", "getOpcodeForOffset", "(", "Opcode", ",", "Offset", ")", ";", "assert", "(", "NewOpcode", "&&", "\"No restore instruction available\"", ")", ";", "}", "MBBI", "->", "setDesc", "(", "ZII", "->", "get", "(", "NewOpcode", ")", ")", ";", "MBBI", "->", "getOperand", "(", "AddrOpNo", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", "else", "if", "(", "StackSize", ")", "{", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "emitIncrement", "(", "MBB", ",", "MBBI", ",", "DL", ",", "SystemZ", "::", "R15D", ",", "StackSize", ",", "ZII", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "\"Can only insert epilogue into returning blocks\"", "SystemZ::LMG", "\"Expected to see callee-save register restore code\"", "2", "1", "0x7fff8", "\"No restore instruction available\"", "1", "SystemZ::R15D"], "File": "SystemZFrameLowering47", "Func": "emitEpilogue", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7694, "Length": 308, "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": "AArch64InstrInfo110", "Func": "isLdStPairSuppressed", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7695, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "AnalyzeArguments", "(", "CCState", "&", "State", ",", "SmallVectorImpl", "<", "CCValAssign", ">", "&", "ArgLocs", ",", "const", "SmallVectorImpl", "<", "ArgT", ">", "&", "Args", ")", "{", "static", "const", "MCPhysReg", "RegList", "[", "]", "=", "{", "CJG", "::", "R24", ",", "CJG", "::", "R25", ",", "CJG", "::", "R26", ",", "CJG", "::", "R27", ",", "CJG", "::", "R28", ",", "CJG", "::", "R29", ",", "CJG", "::", "R30", ",", "CJG", "::", "R31", "}", ";", "static", "const", "unsigned", "NbRegs", "=", "array_lengthof", "(", "RegList", ")", ";", "if", "(", "State", ".", "isVarArg", "(", ")", ")", "{", "llvm_unreachable", "(", "\"Cannot support var args\"", ")", ";", "}", "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", "(", "ArgFlags", ".", "isByVal", "(", ")", ")", "{", "State", ".", "HandleByVal", "(", "ValNo", "++", ",", "ArgVT", ",", "LocVT", ",", "LocInfo", ",", "4", ",", "4", ",", "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_CJG", "(", "ValNo", "++", ",", "ArgVT", ",", "LocVT", ",", "LocInfo", ",", "ArgFlags", ",", "State", ")", ";", "}", "}", "}", ""], "natrual_language": ["The", "function", "will", "invoke", "AnalyzeCallOperands", "."], "TS_V_token": ["CJG", "CJG::R24", "CJG::R25", "CJG::R26", "CJG::R27", "CJG::R28", "CJG::R29", "CJG::R30", "CJG::R31", "\"Cannot support var args\"", "4", "0", "0", "ISD::ArgFlagsTy", "4", "4", "0", "0", "CJG"], "File": "CJGISelLowering", "Func": "AnalyzeArguments", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7696, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_d_register_target_info", "(", "void", ")", "{", "const", "struct", "d_target_info_spec", "handlers", "[", "]", "=", "{", "{", "\"floatAbi\"", ",", "arm_d_handle_target_float_abi", "}", ",", "{", "NULL", ",", "NULL", "}", ",", "}", ";", "d_add_target_info_handlers", "(", "handlers", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_D_REGISTER_CPU_TARGET_INFO", "."], "TS_V_token": ["arm", "\"floatAbi\""], "File": "arm-d", "Func": "arm_d_register_target_info", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7697, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "getExceptionPointerRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "override", "{", "return", "SystemZ", "::", "R6D", ";", "}", ""], "natrual_language": ["If", "a", "physical", "register", ",", "this", "returns", "the", "register", "that", "receives", "the", "exception", "address", "on", "entry", "to", "an", "EH", "pad", "."], "TS_V_token": ["SystemZ", "SystemZ::R6D"], "File": "SystemZISelLowering18", "Func": "getExceptionPointerRegister", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7698, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMConstantIslands", "::", "verify", "(", ")", "{", "assert", "(", "std", "::", "is_sorted", "(", "MF", "->", "begin", "(", ")", ",", "MF", "->", "end", "(", ")", ",", "[", "this", "]", "(", "const", "MachineBasicBlock", "&", "LHS", ",", "const", "MachineBasicBlock", "&", "RHS", ")", "{", "return", "BBInfo", "[", "LHS", ".", "getNumber", "(", ")", "]", ".", "postOffset", "(", ")", "<", "BBInfo", "[", "RHS", ".", "getNumber", "(", ")", "]", ".", "postOffset", "(", ")", ";", "}", ")", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Verifying \"", "<<", "CPUsers", ".", "size", "(", ")", "<<", "\" CP users.\\n\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CPUsers", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CPUser", "&", "U", "=", "CPUsers", "[", "i", "]", ";", "unsigned", "UserOffset", "=", "getUserOffset", "(", "U", ")", ";", "if", "(", "isCPEntryInRange", "(", "U", ".", "MI", ",", "UserOffset", ",", "U", ".", "CPEMI", ",", "U", ".", "getMaxDisp", "(", ")", "+", "2", ",", "U", ".", "NegOk", ",", "true", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"OK\\n\"", ")", ";", "continue", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Out of range.\\n\"", ")", ";", "dumpBBs", "(", ")", ";", "LLVM_DEBUG", "(", "MF", "->", "dump", "(", ")", ")", ";", "llvm_unreachable", "(", "\"Constant pool entry out of range!\"", ")", ";", "}", "}", ""], "natrual_language": ["Check", "if", "this", "register", "bank", "is", "valid", "."], "TS_V_token": ["ARM", "ARM", "\"Verifying \"", "\" CP users.\\n\"", "0", "2", "\"OK\\n\"", "\"Out of range.\\n\"", "\"Constant pool entry out of range!\""], "File": "ARMConstantIslandPass", "Func": "verify", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7699, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMLoc", "getLoc", "(", ")", "const", "{", "return", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "}", ""], "natrual_language": ["Get", "the", "source", "location", "of", "the", "point", "where", "the", "field", "was", "defined", "."], "TS_V_token": ["AArch64"], "File": "AArch64AsmParser102", "Func": "getLoc", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7700, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMSubtarget", "::", "ARMSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ")", ":", "ARMGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "ARMProcFamily", "(", "Others", ")", ",", "HasV4TOps", "(", "false", ")", ",", "HasV5TOps", "(", "false", ")", ",", "HasV5TEOps", "(", "false", ")", ",", "HasV6Ops", "(", "false", ")", ",", "HasV6T2Ops", "(", "false", ")", ",", "HasV7Ops", "(", "false", ")", ",", "HasVFPv2", "(", "false", ")", ",", "HasVFPv3", "(", "false", ")", ",", "HasVFPv4", "(", "false", ")", ",", "HasNEON", "(", "false", ")", ",", "UseNEONForSinglePrecisionFP", "(", "false", ")", ",", "SlowFPVMLx", "(", "false", ")", ",", "HasVMLxForwarding", "(", "false", ")", ",", "SlowFPBrcc", "(", "false", ")", ",", "InThumbMode", "(", "false", ")", ",", "HasThumb2", "(", "false", ")", ",", "IsMClass", "(", "false", ")", ",", "NoARM", "(", "false", ")", ",", "PostRAScheduler", "(", "false", ")", ",", "IsR9Reserved", "(", "ReserveR9", ")", ",", "UseMovt", "(", "false", ")", ",", "SupportsTailCall", "(", "false", ")", ",", "HasFP16", "(", "false", ")", ",", "HasD16", "(", "false", ")", ",", "HasHardwareDivide", "(", "false", ")", ",", "HasT2ExtractPack", "(", "false", ")", ",", "HasDataBarrier", "(", "false", ")", ",", "Pref32BitThumb", "(", "false", ")", ",", "AvoidCPSRPartialUpdate", "(", "false", ")", ",", "HasRAS", "(", "false", ")", ",", "HasMPExtension", "(", "false", ")", ",", "FPOnlySP", "(", "false", ")", ",", "AllowsUnalignedMem", "(", "false", ")", ",", "Thumb2DSP", "(", "false", ")", ",", "stackAlignment", "(", "4", ")", ",", "CPUString", "(", "CPU", ")", ",", "TargetTriple", "(", "TT", ")", ",", "TargetABI", "(", "ARM_ABI_APCS", ")", "{", "if", "(", "CPUString", ".", "empty", "(", ")", ")", "CPUString", "=", "\"generic\"", ";", "std", "::", "string", "ArchFS", "=", "ARM_MC", "::", "ParseARMTriple", "(", "TT", ",", "CPUString", ")", ";", "if", "(", "!", "FS", ".", "empty", "(", ")", ")", "{", "if", "(", "!", "ArchFS", ".", "empty", "(", ")", ")", "ArchFS", "=", "ArchFS", "+", "\",\"", "+", "FS", ";", "else", "ArchFS", "=", "FS", ";", "}", "ParseSubtargetFeatures", "(", "CPUString", ",", "ArchFS", ")", ";", "if", "(", "!", "HasV6T2Ops", "&&", "hasThumb2", "(", ")", ")", "HasV4TOps", "=", "HasV5TOps", "=", "HasV5TEOps", "=", "HasV6Ops", "=", "HasV6T2Ops", "=", "true", ";", "InstrItins", "=", "getInstrItineraryForCPU", "(", "CPUString", ")", ";", "if", "(", "(", "TT", ".", "find", "(", "\"eabi\"", ")", "!=", "std", "::", "string", "::", "npos", ")", "||", "(", "isTargetIOS", "(", ")", "&&", "isMClass", "(", ")", ")", ")", "TargetABI", "=", "ARM_ABI_AAPCS", ";", "if", "(", "isAAPCS_ABI", "(", ")", ")", "stackAlignment", "=", "8", ";", "if", "(", "!", "isTargetIOS", "(", ")", ")", "UseMovt", "=", "hasV6T2Ops", "(", ")", ";", "else", "{", "IsR9Reserved", "=", "ReserveR9", "|", "!", "HasV6Ops", ";", "UseMovt", "=", "DarwinUseMOVT", "&&", "hasV6T2Ops", "(", ")", ";", "SupportsTailCall", "=", "!", "getTargetTriple", "(", ")", ".", "isOSVersionLT", "(", "5", ",", "0", ")", ";", "}", "if", "(", "!", "isThumb", "(", ")", "||", "hasThumb2", "(", ")", ")", "PostRAScheduler", "=", "true", ";", "if", "(", "!", "StrictAlign", "&&", "hasV6Ops", "(", ")", "&&", "isTargetDarwin", "(", ")", ")", "AllowsUnalignedMem", "=", "true", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "4", "ARM", "\"generic\"", "ARM", "ARM", "\",\"", "\"eabi\"", "ARM", "8", "5", "0"], "File": "ARMSubtarget29", "Func": "ARMSubtarget", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7701, "Length": 443, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_eliminate_indexed_memrefs", "(", "rtx", "operands", "[", "2", "]", ")", "{", "if", "(", "GET_CODE", "(", "operands", "[", "0", "]", ")", "==", "MEM", "&&", "GET_CODE", "(", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ")", "!=", "REG", "&&", "!", "legitimate_constant_pool_address_p", "(", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ")", "&&", "!", "reload_in_progress", ")", "operands", "[", "0", "]", "=", "replace_equiv_address", "(", "operands", "[", "0", "]", ",", "copy_addr_to_reg", "(", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ")", ")", ";", "if", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "MEM", "&&", "GET_CODE", "(", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ")", "!=", "REG", "&&", "!", "legitimate_constant_pool_address_p", "(", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ")", "&&", "!", "reload_in_progress", ")", "operands", "[", "1", "]", "=", "replace_equiv_address", "(", "operands", "[", "1", "]", ",", "copy_addr_to_reg", "(", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ")", ")", ";", "}", ""], "natrual_language": ["Helper", "for", "the", "following", ".", "Get", "rid", "of", "[", "r+r", "]", "memory", "refs", "in", "cases", "where", "it", "wo", "n't", "work", "(", "TImode", ",", "TFmode", ")", "."], "TS_V_token": ["rs6000", "2", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "0", "1", "1", "1", "0"], "File": "rs60003", "Func": "rs6000_eliminate_indexed_memrefs", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7702, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "X86TargetLowering", "::", "BuildSDIVPow2", "(", "SDNode", "*", "N", ",", "const", "APInt", "&", "Divisor", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDNode", "*", ">", "&", "Created", ")", "const", "{", "AttributeList", "Attr", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFunction", "(", ")", ".", "getAttributes", "(", ")", ";", "if", "(", "isIntDivCheap", "(", "N", "->", "getValueType", "(", "0", ")", ",", "Attr", ")", ")", "return", "SDValue", "(", "N", ",", "0", ")", ";", "assert", "(", "(", "Divisor", ".", "isPowerOf2", "(", ")", "||", "(", "-", "Divisor", ")", ".", "isPowerOf2", "(", ")", ")", "&&", "\"Unexpected divisor!\"", ")", ";", "if", "(", "!", "Subtarget", ".", "hasCMov", "(", ")", ")", "return", "SDValue", "(", ")", ";", "EVT", "VT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "if", "(", "VT", "!=", "MVT", "::", "i16", "&&", "VT", "!=", "MVT", "::", "i32", "&&", "!", "(", "Subtarget", ".", "is64Bit", "(", ")", "&&", "VT", "==", "MVT", "::", "i64", ")", ")", "return", "SDValue", "(", ")", ";", "unsigned", "Lg2", "=", "Divisor", ".", "countTrailingZeros", "(", ")", ";", "if", "(", "Lg2", "==", "1", ")", "return", "SDValue", "(", ")", ";", "SDLoc", "DL", "(", "N", ")", ";", "SDValue", "N0", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Zero", "=", "DAG", ".", "getConstant", "(", "0", ",", "DL", ",", "VT", ")", ";", "SDValue", "Pow2MinusOne", "=", "DAG", ".", "getConstant", "(", "(", "1ULL", "<<", "Lg2", ")", "-", "1", ",", "DL", ",", "VT", ")", ";", "SDValue", "Cmp", "=", "DAG", ".", "getSetCC", "(", "DL", ",", "MVT", "::", "i8", ",", "N0", ",", "Zero", ",", "ISD", "::", "SETLT", ")", ";", "SDValue", "Add", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ADD", ",", "DL", ",", "VT", ",", "N0", ",", "Pow2MinusOne", ")", ";", "SDValue", "CMov", "=", "DAG", ".", "getNode", "(", "ISD", "::", "SELECT", ",", "DL", ",", "VT", ",", "Cmp", ",", "Add", ",", "N0", ")", ";", "Created", ".", "push_back", "(", "Cmp", ".", "getNode", "(", ")", ")", ";", "Created", ".", "push_back", "(", "Add", ".", "getNode", "(", ")", ")", ";", "Created", ".", "push_back", "(", "CMov", ".", "getNode", "(", ")", ")", ";", "SDValue", "SRA", "=", "DAG", ".", "getNode", "(", "ISD", "::", "SRA", ",", "DL", ",", "VT", ",", "CMov", ",", "DAG", ".", "getConstant", "(", "Lg2", ",", "DL", ",", "MVT", "::", "i64", ")", ")", ";", "if", "(", "Divisor", ".", "isNonNegative", "(", ")", ")", "return", "SRA", ";", "Created", ".", "push_back", "(", "SRA", ".", "getNode", "(", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "ISD", "::", "SUB", ",", "DL", ",", "VT", ",", "Zero", ",", "SRA", ")", ";", "}", ""], "natrual_language": ["Targets", "may", "override", "this", "function", "to", "provide", "custom", "SDIV", "lowering", "for", "power-of-2", "denominators", "."], "TS_V_token": ["X86", "X86", "0", "0", "\"Unexpected divisor!\"", "0", "MVT::i16", "MVT::i32", "MVT::i64", "1", "0", "0", "1ULL", "1", "MVT::i8", "ISD::SETLT", "ISD::ADD", "ISD::SELECT", "ISD::SRA", "MVT::i64", "ISD::SUB"], "File": "X86ISelLowering151", "Func": "BuildSDIVPow2", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7703, "Length": 386, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "CSKYSubtarget", "*", "CSKYTargetMachine", "::", "getSubtargetImpl", "(", "const", "Function", "&", "F", ")", "const", "{", "Attribute", "CPUAttr", "=", "F", ".", "getFnAttribute", "(", "\"target-cpu\"", ")", ";", "Attribute", "TuneAttr", "=", "F", ".", "getFnAttribute", "(", "\"tune-cpu\"", ")", ";", "Attribute", "FSAttr", "=", "F", ".", "getFnAttribute", "(", "\"target-features\"", ")", ";", "std", "::", "string", "CPU", "=", "CPUAttr", ".", "isValid", "(", ")", "?", "CPUAttr", ".", "getValueAsString", "(", ")", ".", "str", "(", ")", ":", "TargetCPU", ";", "std", "::", "string", "TuneCPU", "=", "TuneAttr", ".", "isValid", "(", ")", "?", "TuneAttr", ".", "getValueAsString", "(", ")", ".", "str", "(", ")", ":", "CPU", ";", "std", "::", "string", "FS", "=", "FSAttr", ".", "isValid", "(", ")", "?", "FSAttr", ".", "getValueAsString", "(", ")", ".", "str", "(", ")", ":", "TargetFS", ";", "std", "::", "string", "Key", "=", "CPU", "+", "TuneCPU", "+", "FS", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "Key", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "std", "::", "make_unique", "<", "CSKYSubtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "TuneCPU", ",", "FS", ",", "*", "this", ")", ";", "if", "(", "I", "->", "useHardFloat", "(", ")", "&&", "!", "I", "->", "hasAnyFloatExt", "(", ")", ")", "errs", "(", ")", "<<", "\"Hard-float can't be used with current CPU,\"", "\" set to Soft-float\\n\"", ";", "}", "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": ["CSKY", "CSKY", "CSKY", "\"target-cpu\"", "\"tune-cpu\"", "\"target-features\"", "CSKY", "\"Hard-float can't be used with current CPU,\"", "\" set to Soft-float\\n\""], "File": "CSKYTargetMachine (2)", "Func": "getSubtargetImpl", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7704, "Length": 196, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "getStackAddress", "(", "uint64_t", "Size", ",", "int64_t", "Offset", ",", "MachinePointerInfo", "&", "MPO", ")", "override", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "LLT", "p0", "=", "LLT", "::", "pointer", "(", "0", ",", "64", ")", ";", "LLT", "s64", "=", "LLT", "::", "scalar", "(", "64", ")", ";", "if", "(", "IsTailCall", ")", "{", "Offset", "+=", "FPDiff", ";", "int", "FI", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "CreateFixedObject", "(", "Size", ",", "Offset", ",", "true", ")", ";", "auto", "FIReg", "=", "MIRBuilder", ".", "buildFrameIndex", "(", "p0", ",", "FI", ")", ";", "MPO", "=", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ";", "return", "FIReg", ".", "getReg", "(", "0", ")", ";", "}", "auto", "SPReg", "=", "MIRBuilder", ".", "buildCopy", "(", "p0", ",", "Register", "(", "AArch64", "::", "SP", ")", ")", ";", "auto", "OffsetReg", "=", "MIRBuilder", ".", "buildConstant", "(", "s64", ",", "Offset", ")", ";", "auto", "AddrReg", "=", "MIRBuilder", ".", "buildPtrAdd", "(", "p0", ",", "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": ["AArch64", "0", "64", "64", "0", "AArch64::SP", "0"], "File": "AArch64CallLowering12", "Func": "getStackAddress", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7705, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "unsigned", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "SmallVector", "<", "MCInst", ",", "8", ">", "Instructions", ";", "unsigned", "MatchResult", "=", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ";", "switch", "(", "MatchResult", ")", "{", "default", ":", "break", ";", "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", "!=", "~", "0U", ")", "{", "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\"", ")", ";", "}", "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": ["Sparc", "Sparc", "8", "\"instruction requires a CPU feature not currently enabled\"", "0U", "\"too few operands for instruction\"", "Sparc", "\"invalid operand for instruction\"", "\"invalid instruction mnemonic\""], "File": "SparcAsmParser11", "Func": "MatchAndEmitInstruction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7706, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "legitimate_pic_operand_p", "(", "rtx", "x", ")", "{", "rtx", "inner", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "CONST", ":", "inner", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "inner", ")", "==", "PLUS", "&&", "CONST_INT_P", "(", "XEXP", "(", "inner", ",", "1", ")", ")", ")", "inner", "=", "XEXP", "(", "inner", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "inner", ")", "==", "UNSPEC", ")", "switch", "(", "XINT", "(", "inner", ",", "1", ")", ")", "{", "case", "UNSPEC_GOT", ":", "case", "UNSPEC_GOTOFF", ":", "case", "UNSPEC_PLTOFF", ":", "return", "TARGET_64BIT", ";", "case", "UNSPEC_TPOFF", ":", "x", "=", "XVECEXP", "(", "inner", ",", "0", ",", "0", ")", ";", "return", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", "==", "TLS_MODEL_LOCAL_EXEC", ")", ";", "case", "UNSPEC_MACHOPIC_OFFSET", ":", "return", "legitimate_pic_address_disp_p", "(", "x", ")", ";", "default", ":", "return", "false", ";", "}", "case", "SYMBOL_REF", ":", "case", "LABEL_REF", ":", "return", "legitimate_pic_address_disp_p", "(", "x", ")", ";", "default", ":", "return", "true", ";", "}", "}", ""], "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": ["i386", "0", "1", "0", "1", "0", "0"], "File": "i386", "Func": "legitimate_pic_operand_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7707, "Length": 154, "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": 7708, "Length": 38, "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": 7709, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "xlogue_layout", "::", "xlogue_layout", "(", "HOST_WIDE_INT", "stack_align_off_in", ",", "bool", "hfp", ")", ":", "m_hfp", "(", "hfp", ")", ",", "m_nregs", "(", "hfp", "?", "17", ":", "18", ")", ",", "m_stack_align_off_in", "(", "stack_align_off_in", ")", "{", "HOST_WIDE_INT", "offset", "=", "stack_align_off_in", ";", "unsigned", "i", ",", "j", ";", "for", "(", "i", "=", "j", "=", "0", ";", "i", "<", "MAX_REGS", ";", "++", "i", ")", "{", "unsigned", "regno", "=", "REG_ORDER", "[", "i", "]", ";", "if", "(", "regno", "==", "BP_REG", "&&", "hfp", ")", "continue", ";", "if", "(", "SSE_REGNO_P", "(", "regno", ")", ")", "{", "offset", "+=", "16", ";", "gcc_assert", "(", "!", "(", "(", "stack_align_off_in", "+", "offset", ")", "&", "15", ")", ")", ";", "}", "else", "offset", "+=", "8", ";", "m_regs", "[", "j", "]", ".", "regno", "=", "regno", ";", "m_regs", "[", "j", "++", "]", ".", "offset", "=", "offset", "-", "STUB_INDEX_OFFSET", ";", "}", "gcc_assert", "(", "j", "==", "m_nregs", ")", ";", "}", ""], "natrual_language": ["Constructor", "for", "xlogue_layout", "."], "TS_V_token": ["i386", "17", "18", "0", "16", "15", "8"], "File": "i386-features", "Func": "xlogue_layout", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7710, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "MipsRegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "const", "MipsSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "return", "Subtarget", ".", "isABI_N64", "(", ")", "?", "&", "Mips", "::", "GPR64RegClass", ":", "&", "Mips", "::", "GPR32RegClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips::GPR64RegClass", "Mips::GPR32RegClass"], "File": "MipsRegisterInfo57", "Func": "getPointerRegClass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7711, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "rs6000_reg_parm_stack_space", "(", "tree", "fun", ",", "bool", "incoming", ")", "{", "int", "reg_parm_stack_space", ";", "switch", "(", "DEFAULT_ABI", ")", "{", "default", ":", "reg_parm_stack_space", "=", "0", ";", "break", ";", "case", "ABI_AIX", ":", "case", "ABI_DARWIN", ":", "reg_parm_stack_space", "=", "TARGET_64BIT", "?", "64", ":", "32", ";", "break", ";", "case", "ABI_ELFv2", ":", "if", "(", "rs6000_function_parms_need_stack", "(", "fun", ",", "incoming", ")", ")", "reg_parm_stack_space", "=", "TARGET_64BIT", "?", "64", ":", "32", ";", "else", "reg_parm_stack_space", "=", "0", ";", "break", ";", "}", "return", "reg_parm_stack_space", ";", "}", ""], "natrual_language": ["Return", "the", "size", "of", "the", "REG_PARM_STACK_SPACE", "are", "for", "FUN", ".", "This", "is", "usually", "a", "constant", "depending", "on", "the", "ABI", ".", "However", ",", "in", "the", "ELFv2", "ABI", "the", "register", "parameter", "area", "is", "optional", "when", "calling", "a", "function", "that", "has", "a", "prototype", "is", "scope", ",", "has", "no", "variable", "argument", "list", ",", "and", "passes", "all", "parameters", "in", "registers", "."], "TS_V_token": ["powerpcspe", "0", "64", "32", "64", "32", "0"], "File": "powerpcspe", "Func": "rs6000_reg_parm_stack_space", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7712, "Length": 74, "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": ["X86"], "File": "X86ISelLowering100", "Func": "supportSplitCSR", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7713, "Length": 39, "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": 7714, "Length": 15, "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": ["rs6000", "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": "rs60004", "Func": "force_new_group", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7715, "Length": 448, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "recombine_stvx_pattern", "(", "rtx_insn", "*", "insn", ",", "del_info", "*", "to_delete", ")", "{", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "body", ")", "==", "SET", "&&", "GET_CODE", "(", "SET_DEST", "(", "body", ")", ")", "==", "MEM", "&&", "GET_CODE", "(", "SET_SRC", "(", "body", ")", ")", "==", "VEC_SELECT", ")", ";", "rtx", "mem", "=", "SET_DEST", "(", "body", ")", ";", "rtx", "base_reg", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "rtx_insn", "*", "and_insn", ";", "rtx", "and_operation", "=", "find_alignment_op", "(", "insn", ",", "base_reg", ",", "&", "and_insn", ")", ";", "if", "(", "and_operation", "!=", "0", ")", "{", "rtx", "src_reg", "=", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ";", "df_ref", "src_use", ";", "struct", "df_insn_info", "*", "insn_info", "=", "DF_INSN_INFO_GET", "(", "insn", ")", ";", "FOR_EACH_INSN_INFO_USE", "(", "src_use", ",", "insn_info", ")", "{", "if", "(", "!", "rtx_equal_p", "(", "DF_REF_REG", "(", "src_use", ")", ",", "src_reg", ")", ")", "continue", ";", "struct", "df_link", "*", "link", "=", "DF_REF_CHAIN", "(", "src_use", ")", ";", "if", "(", "!", "link", "||", "link", "->", "next", ")", "break", ";", "rtx_insn", "*", "swap_insn", "=", "DF_REF_INSN", "(", "link", "->", "ref", ")", ";", "if", "(", "!", "insn_is_swap_p", "(", "swap_insn", ")", "||", "insn_is_load_p", "(", "swap_insn", ")", "||", "insn_is_store_p", "(", "swap_insn", ")", ")", "break", ";", "to_delete", "[", "INSN_UID", "(", "swap_insn", ")", "]", ".", "replace", "=", "true", ";", "to_delete", "[", "INSN_UID", "(", "swap_insn", ")", "]", ".", "replace_insn", "=", "swap_insn", ";", "rtx", "and_base", "=", "XEXP", "(", "and_operation", ",", "0", ")", ";", "rtx", "new_reg", "=", "gen_reg_rtx", "(", "GET_MODE", "(", "and_base", ")", ")", ";", "rtx", "copy", "=", "gen_rtx_SET", "(", "new_reg", ",", "and_base", ")", ";", "rtx_insn", "*", "new_insn", "=", "emit_insn_after", "(", "copy", ",", "and_insn", ")", ";", "set_block_for_insn", "(", "new_insn", ",", "BLOCK_FOR_INSN", "(", "and_insn", ")", ")", ";", "df_insn_rescan", "(", "new_insn", ")", ";", "XEXP", "(", "mem", ",", "0", ")", "=", "gen_rtx_AND", "(", "GET_MODE", "(", "and_base", ")", ",", "new_reg", ",", "XEXP", "(", "and_operation", ",", "1", ")", ")", ";", "SET_SRC", "(", "body", ")", "=", "src_reg", ";", "INSN_CODE", "(", "insn", ")", "=", "-", "1", ";", "df_insn_rescan", "(", "insn", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"stvx opportunity found at %d\\n\"", ",", "INSN_UID", "(", "insn", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["If", "INSN", "is", "the", "store", "for", "an", "stvx", "pattern", ",", "put", "it", "in", "canonical", "form", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "0", "1", "1", "\"stvx opportunity found at %d\\n\""], "File": "rs6000-p8swap2", "Func": "recombine_stvx_pattern", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7716, "Length": 337, "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", "hipeCall", "=", "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", ")", ";", "hipeCall", "=", "(", "F", "?", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "HiPE", ":", "false", ")", ";", "}", "if", "(", "ghcCall", "||", "hipeCall", ")", "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": "X86RegisterInfo24", "Func": "getCalleeSavedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7717, "Length": 213, "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": 7718, "Length": 317, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "or1k_restore_reg", "(", "int", "regno", ",", "HOST_WIDE_INT", "offset", ",", "rtx", "cfa_restores", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "regno", ")", ";", "rtx", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "emit_move_insn", "(", "reg", ",", "mem", ")", ";", "return", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "cfa_restores", ")", ";", "}", ""], "natrual_language": ["Emit", "rtl", "to", "restore", "register", "REGNO", "contents", "from", "stack", "memory", "at", "the", "given", "OFFSET", "from", "the", "current", "stack", "pointer", "."], "TS_V_token": ["or1k"], "File": "or1k", "Func": "or1k_restore_reg", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7719, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "maybe_dead_move", "(", "rtx", "dest", ",", "rtx", "src", ",", "bool", "ATTRIBUTE_UNUSED", "maybe_dead_p", ")", "{", "rtx_insn", "*", "insn", "=", "emit_move_insn", "(", "dest", ",", "src", ")", ";", "if", "(", "maybe_dead_p", ")", "REG_NOTES", "(", "insn", ")", "=", "gen_rtx_EXPR_LIST", "(", "REG_MAYBE_DEAD", ",", "const0_rtx", ",", "NULL", ")", ";", "return", "insn", ";", "}", ""], "natrual_language": ["Move", "SRC", "to", "DEST", ".", "Mark", "the", "move", "as", "being", "potentially", "dead", "if", "MAYBE_DEAD_P", "."], "TS_V_token": ["mep"], "File": "mep", "Func": "maybe_dead_move", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7720, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "arm_load_function_descriptor", "(", "rtx", "funcdesc", ")", "{", "rtx", "fnaddr_reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "pic_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "FDPIC_REGNUM", ")", ";", "rtx", "fnaddr", "=", "gen_rtx_MEM", "(", "Pmode", ",", "funcdesc", ")", ";", "rtx", "gotaddr", "=", "gen_rtx_MEM", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "funcdesc", ",", "4", ")", ")", ";", "emit_move_insn", "(", "fnaddr_reg", ",", "fnaddr", ")", ";", "emit_insn", "(", "gen_restore_pic_register_after_call", "(", "pic_reg", ",", "gotaddr", ")", ")", ";", "return", "fnaddr_reg", ";", "}", ""], "natrual_language": ["Emit", "insns", "to", "load", "the", "function", "address", "from", "FUNCDESC", "(", "an", "FDPIC", "function", "descriptor", ")", "into", "a", "register", "and", "the", "GOT", "address", "into", "the", "FDPIC", "register", ",", "returning", "an", "rtx", "for", "the", "register", "holding", "the", "function", "address", "."], "TS_V_token": ["arm", "4"], "File": "arm", "Func": "arm_load_function_descriptor", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7721, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCRegisterInfo", "::", "isFrameOffsetLegal", "(", "const", "MachineInstr", "*", "MI", ",", "int64_t", "Offset", ")", "const", "{", "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", "(", ")", ";", "return", "MI", "->", "getOpcode", "(", ")", "==", "PPC", "::", "DBG_VALUE", "||", "(", "isInt", "<", "16", ">", "(", "Offset", ")", "&&", "(", "!", "usesIXAddr", "(", "*", "MI", ")", "||", "(", "Offset", "&", "3", ")", "==", "0", ")", ")", ";", "}", ""], "natrual_language": ["Determine", "whether", "a", "given", "base", "register", "plus", "offset", "immediate", "is", "encodable", "to", "resolve", "a", "frame", "index", "."], "TS_V_token": ["PowerPC", "PPC", "0", "\"Instr doesn't have FrameIndex operand!\"", "PPC::DBG_VALUE", "16", "3", "0"], "File": "PPCRegisterInfo32", "Func": "isFrameOffsetLegal", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7722, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmBackend", "::", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "if", "(", "(", "Count", "&", "3", ")", "!=", "0", ")", "{", "for", "(", "uint64_t", "i", "=", "0", ",", "e", "=", "(", "Count", "&", "3", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "OW", "->", "Write8", "(", "0", ")", ";", "}", "Count", "/=", "4", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "!=", "Count", ";", "++", "i", ")", "OW", "->", "Write32", "(", "0xd503201f", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["AArch64", "AArch64", "3", "0", "0", "3", "0", "4", "0", "0xd503201f"], "File": "AArch64AsmBackend", "Func": "writeNopData", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7723, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "hasCopyImplyingStackAdjustment", "(", "MachineFunction", "*", "MF", ")", "const", "{", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "return", "any_of", "(", "MRI", ".", "reg_instructions", "(", "X86", "::", "EFLAGS", ")", ",", "[", "]", "(", "const", "MachineInstr", "&", "RI", ")", "{", "return", "RI", ".", "isCopy", "(", ")", ";", "}", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "function", "contains", "operations", "which", "will", "lower", "down", "to", "instructions", "which", "manipulate", "the", "stack", "pointer", "."], "TS_V_token": ["X86", "X86", "X86::EFLAGS"], "File": "X86ISelLowering (3)", "Func": "hasCopyImplyingStackAdjustment", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7724, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_run_selftests", "(", "void", ")", "{", "aarch64_test_loading_full_dump", "(", ")", ";", "}", ""], "natrual_language": ["Run", "all", "target-specific", "selftests", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_run_selftests", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7725, "Length": 12, "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", "&&", "NONJUMP_INSN_P", "(", "last_real_insn", ")", "&&", "GET_CODE", "(", "PATTERN", "(", "last_real_insn", ")", ")", "==", "SEQUENCE", ")", "last_real_insn", "=", "XVECEXP", "(", "PATTERN", "(", "last_real_insn", ")", ",", "0", ",", "0", ")", ";", "if", "(", "last_real_insn", "&&", "CALL_P", "(", "last_real_insn", ")", "&&", "!", "SIBLING_CALL_P", "(", "last_real_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": "sparc4", "Func": "sparc_asm_function_epilogue", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7726, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_emit_binary", "(", "enum", "rtx_code", "code", ",", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "target", ",", "gen_rtx_fmt_ee", "(", "code", ",", "GET_MODE", "(", "target", ")", ",", "op0", ",", "op1", ")", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "instruction", "of", "the", "form", "(", "set", "TARGET", "(", "CODE", "OP0", "OP1", ")", ")", "."], "TS_V_token": ["mips"], "File": "mips3", "Func": "mips_emit_binary", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7727, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_aix_emit_builtin_unwind_init", "(", ")", "{", "rtx", "mem", ";", "rtx", "stack_top", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "opcode_addr", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "insn_after_throw", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "Pmode", ",", "hard_frame_pointer_rtx", ")", ";", "emit_move_insn", "(", "stack_top", ",", "mem", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "Pmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_top", ",", "GEN_INT", "(", "2", "*", "GET_MODE_SIZE", "(", "Pmode", ")", ")", ")", ")", ";", "emit_move_insn", "(", "opcode_addr", ",", "mem", ")", ";", "emit_move_insn", "(", "insn_after_throw", ",", "gen_rtx_MEM", "(", "SImode", ",", "opcode_addr", ")", ")", ";", "}", ""], "natrual_language": ["If", "_Unwind_", "*", "has", "been", "called", "from", "within", "the", "same", "module", ",", "toc", "register", "is", "not", "guaranteed", "to", "be", "saved", "to", "40", "(", "1", ")", "on", "function", "entry", ".", "Save", "it", "there", "in", "that", "case", "."], "TS_V_token": ["rs6000", "2"], "File": "rs60002", "Func": "rs6000_aix_emit_builtin_unwind_init", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7728, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMAsmBackend", "::", "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", "(", ")", ")", ";", "MCContext", "&", "Ctx", "=", "Asm", ".", "getContext", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "Asm", ",", "Fixup", ",", "Target", ",", "Value", ",", "IsResolved", ",", "Ctx", ",", "STI", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "assert", "(", "Offset", "+", "NumBytes", "<=", "Data", ".", "size", "(", ")", "&&", "\"Invalid fixup offset!\"", ")", ";", "unsigned", "FullSizeBytes", ";", "if", "(", "Endian", "==", "support", "::", "big", ")", "{", "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", "=", "Endian", "==", "support", "::", "little", "?", "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!\"", "support::big", "\"Invalid fixup size!\"", "\"Invalid fixup size!\"", "0", "support::little", "1", "8", "0xff"], "File": "ARMAsmBackend (2)2", "Func": "applyFixup", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7729, "Length": 219, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "emitLoadConstPool", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "const", "DebugLoc", "&", "dl", ",", "Register", "DestReg", ",", "unsigned", "SubIdx", ",", "int", "Val", ",", "ARMCC", "::", "CondCodes", "Pred", ",", "Register", "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": "ARMBaseRegisterInfo16", "Func": "emitLoadConstPool", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7730, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMSubtarget", "::", "ignoreCSRForAllocationOrder", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "PhysReg", ")", "const", "{", "return", "isThumb2", "(", ")", "&&", "MF", ".", "getFunction", "(", ")", ".", "hasMinSize", "(", ")", "&&", "ARM", "::", "GPRRegClass", ".", "contains", "(", "PhysReg", ")", ";", "}", ""], "natrual_language": ["True", "if", "the", "register", "allocator", "should", "use", "the", "allocation", "orders", "exactly", "as", "written", "in", "the", "tablegen", "descriptions", ",", "false", "if", "it", "should", "allocate", "the", "specified", "physical", "register", "later", "if", "is", "it", "callee-saved", "."], "TS_V_token": ["ARM", "ARM", "ARM::GPRRegClass"], "File": "ARMSubtarget14", "Func": "ignoreCSRForAllocationOrder", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7731, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "override", "{", "TM", "=", "&", "F", ".", "getTarget", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "F", ")", "Changed", "|=", "runOnMachineBasicBlock", "(", "MBB", ")", ";", "if", "(", "Changed", ")", "F", ".", "getRegInfo", "(", ")", ".", "invalidateLiveness", "(", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips"], "File": "MipsDelaySlotFiller15", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7732, "Length": 56, "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", ",", "const", "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", "(", ")", ")", ")", "{", "if", "(", "!", "Subtarget", ".", "hasX87", "(", ")", ")", "report_fatal_error", "(", "\"X87 register return with X87 disabled\"", ")", ";", "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", "\"X87 register return with X87 disabled\"", "MVT::f80", "1", "0", "ISD::FP_ROUND", "1", "MVT::i1", "ISD::TRUNCATE", "2"], "File": "X86ISelLowering (3)", "Func": "LowerCallResult", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7733, "Length": 396, "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": 7734, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mmix_starting_frame_offset", "(", ")", "{", "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": "mmix2", "Func": "mmix_starting_frame_offset", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7735, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sh_canonicalize_comparison", "(", "int", "*", "code", ",", "rtx", "*", "op0", ",", "rtx", "*", "op1", ",", "bool", "op0_preserve_value", ")", "{", "enum", "rtx_code", "tmp_code", "=", "(", "enum", "rtx_code", ")", "*", "code", ";", "sh_canonicalize_comparison", "(", "tmp_code", ",", "*", "op0", ",", "*", "op1", ",", "VOIDmode", ",", "op0_preserve_value", ")", ";", "*", "code", "=", "(", "int", ")", "tmp_code", ";", "}", ""], "natrual_language": ["This", "function", "implements", "the", "canonicalize_comparison", "target", "hook", ".", "This", "wrapper", "around", "the", "internally", "used", "sh_canonicalize_comparison", "function", "is", "needed", "to", "do", "the", "enum", "rtx_code", "<", "-", ">", "int", "conversion", ".", "Target", "hooks", "can", "not", "use", "enum", "rtx_code", "in", "its", "definition", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "sh_canonicalize_comparison", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7736, "Length": 55, "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", "(", "this", ",", "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": "X86InstrInfo118", "Func": "optimizeLoadInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7737, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "bool", "function_call_info", "::", "function_returns_void_p", "(", ")", "{", "return", "TREE_TYPE", "(", "TREE_TYPE", "(", "fndecl", ")", ")", "==", "void_type_node", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "function", "has", "no", "return", "value", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "function_returns_void_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7738, "Length": 20, "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": 7739, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64Subtarget", "::", "AArch64Subtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "const", "TargetMachine", "&", "TM", ",", "bool", "LittleEndian", ")", ":", "AArch64GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "ARMProcFamily", "(", "Others", ")", ",", "HasFPARMv8", "(", "false", ")", ",", "HasNEON", "(", "false", ")", ",", "HasCrypto", "(", "false", ")", ",", "HasCRC", "(", "false", ")", ",", "HasZeroCycleRegMove", "(", "false", ")", ",", "HasZeroCycleZeroing", "(", "false", ")", ",", "IsLittle", "(", "LittleEndian", ")", ",", "CPUString", "(", "CPU", ")", ",", "TargetTriple", "(", "TT", ")", ",", "FrameLowering", "(", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "FS", ")", ")", ",", "TSInfo", "(", "TM", ".", "getDataLayout", "(", ")", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", "{", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64Subtarget26", "Func": "AArch64Subtarget", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7740, "Length": 123, "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", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "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", "FPReg", "=", "TRI", "->", "getFrameRegister", "(", "MF", ")", ";", "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", ";", "if", "(", "Reg", "==", "FPReg", ")", "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": "X86FrameLowering (2)", "Func": "restoreCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7741, "Length": 290, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "functionArgumentNeedsConsecutiveRegisters", "(", "Type", "*", "Ty", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "DataLayout", "&", "DL", ")", "const", "{", "if", "(", "getEffectiveCallingConv", "(", "CallConv", ",", "isVarArg", ")", "!=", "CallingConv", "::", "ARM_AAPCS_VFP", ")", "return", "false", ";", "HABaseType", "Base", "=", "HA_UNKNOWN", ";", "uint64_t", "Members", "=", "0", ";", "bool", "IsHA", "=", "isHomogeneousAggregate", "(", "Ty", ",", "Base", ",", "Members", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"isHA: \"", "<<", "IsHA", "<<", "\" \"", ";", "Ty", "->", "dump", "(", ")", ")", ";", "bool", "IsIntArray", "=", "Ty", "->", "isArrayTy", "(", ")", "&&", "Ty", "->", "getArrayElementType", "(", ")", "->", "isIntegerTy", "(", ")", ";", "return", "IsHA", "||", "IsIntArray", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "an", "argument", "of", "type", "Ty", "needs", "to", "be", "passed", "in", "a", "contiguous", "block", "of", "registers", "in", "calling", "convention", "CallConv", "."], "TS_V_token": ["ARM", "ARM", "ARM", "0", "\"isHA: \"", "\" \""], "File": "ARMISelLowering (2)5", "Func": "functionArgumentNeedsConsecutiveRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7742, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "PPCRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "PPCFrameLowering", "*", "PPCFI", "=", "static_cast", "<", "const", "PPCFrameLowering", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "ZERO", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "ZERO8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "FP", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "FP8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "CTR", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "CTR8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R1", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "RM", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R2", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R13", ")", ";", "}", "if", "(", "Subtarget", ".", "isPPC64", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R13", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X1", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X13", ")", ";", "if", "(", "PPCFI", "->", "needsFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "X31", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "X2", ")", ";", "}", "}", "if", "(", "PPCFI", "->", "needsFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "R31", ")", ";", "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": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC::ZERO", "PPC::ZERO8", "PPC::FP", "PPC::FP8", "PPC::CTR", "PPC::CTR8", "PPC::R1", "PPC::LR", "PPC::LR8", "PPC::RM", "PPC::R2", "PPC::R13", "PPC", "PPC::R13", "PPC::X1", "PPC::X13", "PPC", "PPC::X31", "PPC::X2", "PPC", "PPC::R31"], "File": "PPCRegisterInfo1", "Func": "getReservedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7743, "Length": 257, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "storeRegToStack", "(", "MBB", ",", "MBBI", ",", "SrcReg", ",", "isKill", ",", "FrameIndex", ",", "RC", ",", "TRI", ",", "0", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["Mips", "0"], "File": "MipsInstrInfo45", "Func": "storeRegToStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7744, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "F2003fRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "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": ["F2003f", "F2003f"], "File": "F2003fRegisterInfo", "Func": "getCallPreservedMask", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7745, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "printPCRelImm", "(", "X86AsmPrinter", "&", "P", ",", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "raw_ostream", "&", "O", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown pcrel immediate operand\"", ")", ";", "case", "MachineOperand", "::", "MO_Register", ":", "printOperand", "(", "P", ",", "MI", ",", "OpNo", ",", "O", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "O", "<<", "MO", ".", "getImm", "(", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "printSymbolOperand", "(", "P", ",", "MO", ",", "O", ")", ";", "return", ";", "}", "}", ""], "natrual_language": ["value", "(", "e.g", "."], "TS_V_token": ["X86", "X86", "\"Unknown pcrel immediate operand\""], "File": "X86AsmPrinter", "Func": "printPCRelImm", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7746, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "Cpu0RegisterInfo", "::", "getCallPreservedMask", "(", "CallingConv", "::", "ID", ")", "const", "{", "return", "CSR_O32_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["Cpu0", "Cpu0"], "File": "Cpu0RegisterInfo2", "Func": "getCallPreservedMask", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7747, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "isAssociativeAndCommutative", "(", "const", "MachineInstr", "&", "Inst", ")", "const", "{", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "case", "PPC", "::", "FADD", ":", "case", "PPC", "::", "FADDS", ":", "case", "PPC", "::", "FMUL", ":", "case", "PPC", "::", "FMULS", ":", "case", "PPC", "::", "VADDFP", ":", "case", "PPC", "::", "XSADDDP", ":", "case", "PPC", "::", "XVADDDP", ":", "case", "PPC", "::", "XVADDSP", ":", "case", "PPC", "::", "XSADDSP", ":", "case", "PPC", "::", "XSMULDP", ":", "case", "PPC", "::", "XVMULDP", ":", "case", "PPC", "::", "XVMULSP", ":", "case", "PPC", "::", "XSMULSP", ":", "case", "PPC", "::", "QVFADD", ":", "case", "PPC", "::", "QVFADDS", ":", "case", "PPC", "::", "QVFADDSs", ":", "case", "PPC", "::", "QVFMUL", ":", "case", "PPC", "::", "QVFMULS", ":", "case", "PPC", "::", "QVFMULSs", ":", "return", "Inst", ".", "getFlag", "(", "MachineInstr", "::", "MIFlag", "::", "FmReassoc", ")", "&&", "Inst", ".", "getFlag", "(", "MachineInstr", "::", "MIFlag", "::", "FmNsz", ")", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Return", "true", "when", "\\P", "Inst", "is", "both", "associative", "and", "commutative", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::FADD", "PPC::FADDS", "PPC::FMUL", "PPC::FMULS", "PPC::VADDFP", "PPC::XSADDDP", "PPC::XVADDDP", "PPC::XVADDSP", "PPC::XSADDSP", "PPC::XSMULDP", "PPC::XVMULDP", "PPC::XVMULSP", "PPC::XSMULSP", "PPC::QVFADD", "PPC::QVFADDS", "PPC::QVFADDSs", "PPC::QVFMUL", "PPC::QVFMULS", "PPC::QVFMULSs"], "File": "PPCInstrInfo72", "Func": "isAssociativeAndCommutative", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7748, "Length": 146, "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_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\"", ";", "}", "}", ""], "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_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\""], "File": "PPCISelLowering107", "Func": "getTargetNodeName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7749, "Length": 360, "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": 7750, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CJGRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "MachineFrameInfo", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineOperand", "&", "FIOp", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ";", "unsigned", "FI", "=", "FIOp", ".", "getIndex", "(", ")", ";", "unsigned", "ImmOpIdx", "=", "0", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Instruction not supported\"", ")", ";", "case", "CJG", "::", "LD", ":", "case", "CJG", "::", "ST", ":", "case", "CJG", "::", "ADDri", ":", "ImmOpIdx", "=", "FIOperandNum", "+", "1", ";", "break", ";", "}", "MachineOperand", "&", "ImmOp", "=", "MI", ".", "getOperand", "(", "ImmOpIdx", ")", ";", "int", "Offset", "=", "MFI", ".", "getObjectOffset", "(", "FI", ")", "+", "MFI", ".", "getStackSize", "(", ")", "+", "ImmOp", ".", "getImm", "(", ")", ";", "if", "(", "Offset", "%", "4", ")", "{", "llvm_unreachable", "(", "\"Offset must be aligned to 4 bytes because memory is \"", "\"32-bit word addressable only\"", ")", ";", "}", "FIOp", ".", "ChangeToRegister", "(", "CJG", "::", "SP", ",", "false", ")", ";", "ImmOp", ".", "setImm", "(", "Offset", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["CJG", "CJG", "0", "\"Instruction not supported\"", "CJG::LD", "CJG::ST", "CJG::ADDri", "1", "4", "\"Offset must be aligned to 4 bytes because memory is \"", "\"32-bit word addressable only\"", "CJG::SP"], "File": "CJGRegisterInfo", "Func": "eliminateFrameIndex", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7751, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "general_scalar_chain", "::", "vector_const_cost", "(", "rtx", "exp", ")", "{", "gcc_assert", "(", "CONST_INT_P", "(", "exp", ")", ")", ";", "if", "(", "standard_sse_constant_p", "(", "exp", ",", "vmode", ")", ")", "return", "ix86_cost", "->", "sse_op", ";", "return", "ix86_cost", "->", "sse_load", "[", "smode", "==", "DImode", "?", "1", ":", "0", "]", ";", "}", ""], "natrual_language": ["Return", "a", "cost", "of", "building", "a", "vector", "costant", "instead", "of", "using", "a", "scalar", "one", "."], "TS_V_token": ["i386", "1", "0"], "File": "i386-features", "Func": "vector_const_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7752, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SICInstrInfo", "*", "SICInstrInfo", "::", "create", "(", "SICSubtarget", "&", "STI", ")", "{", "return", "new", "SICInstrInfo", "(", "STI", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["SIC", "SIC", "SIC", "SIC", "SIC"], "File": "SICInstrInfo", "Func": "create", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7753, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PartialReduction", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "auto", "*", "TPC", "=", "getAnalysisIfAvailable", "<", "TargetPassConfig", ">", "(", ")", ";", "if", "(", "!", "TPC", ")", "return", "false", ";", "auto", "&", "TM", "=", "TPC", "->", "getTM", "<", "X86TargetMachine", ">", "(", ")", ";", "ST", "=", "TM", ".", "getSubtargetImpl", "(", "F", ")", ";", "DL", "=", "&", "F", ".", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "bool", "MadeChange", "=", "false", ";", "for", "(", "auto", "&", "BB", ":", "F", ")", "{", "for", "(", "auto", "&", "I", ":", "BB", ")", "{", "auto", "*", "BO", "=", "dyn_cast", "<", "BinaryOperator", ">", "(", "&", "I", ")", ";", "if", "(", "!", "BO", ")", "continue", ";", "if", "(", "!", "isVectorReductionOp", "(", "*", "BO", ")", ")", "continue", ";", "if", "(", "BO", "->", "getOpcode", "(", ")", "==", "Instruction", "::", "Add", ")", "{", "if", "(", "tryMAddPattern", "(", "BO", ")", ")", "{", "MadeChange", "=", "true", ";", "continue", ";", "}", "if", "(", "trySADPattern", "(", "BO", ")", ")", "{", "MadeChange", "=", "true", ";", "continue", ";", "}", "}", "}", "}", "return", "MadeChange", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86PartialReduction1", "Func": "runOnFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7754, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isToken", "(", ")", "const", "override", "{", "return", "Kind", "==", "k_Token", ";", "}", ""], "natrual_language": ["isToken", "-", "Is", "this", "a", "token", "operand", "?"], "TS_V_token": ["VE"], "File": "VEAsmParser (2)", "Func": "isToken", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7755, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsFrameLowering", "::", "targetHandlesStackFrameRounding", "(", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["targetHandlesStackFrameRounding", "-", "Returns", "true", "if", "the", "target", "is", "responsible", "for", "rounding", "up", "the", "stack", "frame", "(", "probably", "at", "emitPrologue", "time", ")", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsFrameLowering10", "Func": "targetHandlesStackFrameRounding", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7756, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["Mips"], "File": "MipsOptimizePICCall", "Func": "getAnalysisUsage", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7757, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "MachineBasicBlock", "::", "const_instr_iterator", "I", "=", "MI", ";", "MachineBasicBlock", "::", "const_instr_iterator", "E", "=", "MI", "->", "getParent", "(", ")", "->", "instr_end", "(", ")", ";", "TOYMCInstLower", "MCInstLowering", "(", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getContext", "(", ")", ",", "*", "this", ")", ";", "do", "{", "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": ["TOY", "TOY"], "File": "TOYAsmPrinter", "Func": "EmitInstruction", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7758, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isCopyInstr", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "*", "&", "Src", ",", "const", "MachineOperand", "*", "&", "Dest", ")", "const", "{", "if", "(", "!", "MI", ".", "isMoveReg", "(", ")", "||", "(", "MI", ".", "getOpcode", "(", ")", "==", "ARM", "::", "VORRq", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "!=", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ")", "return", "false", ";", "Dest", "=", "&", "MI", ".", "getOperand", "(", "0", ")", ";", "Src", "=", "&", "MI", ".", "getOperand", "(", "1", ")", ";", "return", "true", ";", "}", ""], "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": ["ARM", "ARM", "ARM::VORRq", "1", "2", "0", "1"], "File": "ARMBaseInstrInfo18", "Func": "isCopyInstr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7759, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "SelectAddressRegReg", "(", "SDValue", "N", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Index", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "short", "imm", "=", "0", ";", "if", "(", "N", ".", "getOpcode", "(", ")", "==", "ISD", "::", "ADD", ")", "{", "if", "(", "isIntS16Immediate", "(", "N", ".", "getOperand", "(", "1", ")", ",", "imm", ")", ")", "return", "false", ";", "if", "(", "N", ".", "getOperand", "(", "1", ")", ".", "getOpcode", "(", ")", "==", "PPCISD", "::", "Lo", ")", "return", "false", ";", "Base", "=", "N", ".", "getOperand", "(", "0", ")", ";", "Index", "=", "N", ".", "getOperand", "(", "1", ")", ";", "return", "true", ";", "}", "else", "if", "(", "N", ".", "getOpcode", "(", ")", "==", "ISD", "::", "OR", ")", "{", "if", "(", "isIntS16Immediate", "(", "N", ".", "getOperand", "(", "1", ")", ",", "imm", ")", ")", "return", "false", ";", "APInt", "LHSKnownZero", ",", "LHSKnownOne", ";", "APInt", "RHSKnownZero", ",", "RHSKnownOne", ";", "DAG", ".", "computeKnownBits", "(", "N", ".", "getOperand", "(", "0", ")", ",", "LHSKnownZero", ",", "LHSKnownOne", ")", ";", "if", "(", "LHSKnownZero", ".", "getBoolValue", "(", ")", ")", "{", "DAG", ".", "computeKnownBits", "(", "N", ".", "getOperand", "(", "1", ")", ",", "RHSKnownZero", ",", "RHSKnownOne", ")", ";", "if", "(", "~", "(", "LHSKnownZero", "|", "RHSKnownZero", ")", "==", "0", ")", "{", "Base", "=", "N", ".", "getOperand", "(", "0", ")", ";", "Index", "=", "N", ".", "getOperand", "(", "1", ")", ";", "return", "true", ";", "}", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["SelectAddressRegReg", "-", "Given", "the", "specified", "addressed", ",", "check", "to", "see", "if", "it", "can", "be", "more", "efficiently", "represented", "as", "[", "r+imm", "]", "."], "TS_V_token": ["PowerPC", "PPC", "0", "ISD::ADD", "1", "1", "PPCISD::Lo", "0", "1", "ISD::OR", "1", "0", "1", "0", "0", "1"], "File": "PPCISelLowering (2)2", "Func": "SelectAddressRegReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7760, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_sign_extend_cost", "(", "machine_mode", "mode", ",", "rtx", "op", ")", "{", "if", "(", "MEM_P", "(", "op", ")", ")", "return", "0", ";", "if", "(", "TARGET_64BIT", "&&", "mode", "==", "DImode", "&&", "GET_MODE", "(", "op", ")", "==", "SImode", ")", "return", "0", ";", "if", "(", "ISA_HAS_SEB_SEH", "||", "GENERATE_MIPS16E", ")", "return", "COSTS_N_INSNS", "(", "1", ")", ";", "return", "COSTS_N_INSNS", "(", "TARGET_MIPS16", "?", "4", ":", "2", ")", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "sign-extending", "OP", "to", "mode", "MODE", ",", "not", "including", "the", "cost", "of", "OP", "itself", "."], "TS_V_token": ["mips", "0", "0", "1", "4", "2"], "File": "mips", "Func": "mips_sign_extend_cost", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7761, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_free_sched_context", "(", "void", "*", "_sc", ")", "{", "gcc_assert", "(", "_sc", "!=", "NULL", ")", ";", "free", "(", "_sc", ")", ";", "}", ""], "natrual_language": ["Frees", "the", "_SC", "scheduling", "context", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "ia64_free_sched_context", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7762, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "optimizeCompareInstr", "(", "MachineInstr", "&", "CmpInstr", ",", "unsigned", "SrcReg", ",", "unsigned", "SrcReg2", ",", "int", "CmpMask", ",", "int", "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", "=", "convertFlagSettingOpcode", "(", "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", ";", "}", "assert", "(", "(", "CmpValue", "==", "0", "||", "CmpValue", "==", "1", ")", "&&", "\"CmpValue must be 0 or 1!\"", ")", ";", "if", "(", "CmpValue", "!=", "0", "||", "SrcReg2", "!=", "0", ")", "return", "false", ";", "if", "(", "!", "MRI", "->", "use_nodbg_empty", "(", "CmpInstr", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", "return", "false", ";", "return", "substituteCmpToZero", "(", "CmpInstr", ",", "SrcReg", ",", "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!\"", "0", "1", "\"CmpValue must be 0 or 1!\"", "0", "0", "0"], "File": "AArch64InstrInfo109", "Func": "optimizeCompareInstr", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7763, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZPostRASchedStrategy", "::", "initialize", "(", "ScheduleDAGMI", "*", "dag", ")", "{", "Available", ".", "clear", "(", ")", ";", "LLVM_DEBUG", "(", "HazardRec", "->", "dumpState", "(", ")", ";", ")", ";", "}", ""], "natrual_language": ["Initialize", "the", "strategy", "after", "building", "the", "DAG", "for", "a", "new", "region", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZMachineScheduler16", "Func": "initialize", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7764, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsRegisterInfo", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "NoFramePointerElim", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsRegisterInfo18", "Func": "hasFP", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7765, "Length": 33, "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": 7766, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1FrameLowering", "::", "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", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "bool", "isVarArg", "=", "AFI", "->", "getArgRegsSaveSize", "(", ")", ">", "0", ";", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "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", "(", "TII", ".", "get", "(", "ARM", "::", "tPOP_RET", ")", ")", ";", "MIB", ".", "copyImplicitOps", "(", "&", "*", "MI", ")", ";", "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": "Thumb1FrameLowering11", "Func": "restoreCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7767, "Length": 265, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CAHPRegisterInfo", "::", "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", "CAHPInstrInfo", "*", "TII", "=", "MF", ".", "getSubtarget", "<", "CAHPSubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "getIndex", "(", ")", ";", "unsigned", "FrameReg", ";", "int", "Offset", "=", "getFrameLowering", "(", "MF", ")", "->", "getFrameIndexReference", "(", "MF", ",", "FrameIndex", ",", "FrameReg", ")", "+", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "!", "isInt", "<", "16", ">", "(", "Offset", ")", ")", "report_fatal_error", "(", "\"Frame offsets outside of the signed 16-bit range not supported\"", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "if", "(", "!", "isInt", "<", "10", ">", "(", "Offset", ")", ")", "{", "unsigned", "ScratchReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "CAHP", "::", "GPRRegClass", ")", ";", "TII", "->", "movImm16", "(", "MBB", ",", "II", ",", "DL", ",", "ScratchReg", ",", "Offset", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "TII", "->", "get", "(", "CAHP", "::", "ADD", ")", ",", "ScratchReg", ")", ".", "addReg", "(", "ScratchReg", ")", ".", "addReg", "(", "FrameReg", ")", ";", "Offset", "=", "0", ";", "FrameReg", "=", "ScratchReg", ";", "}", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "FrameReg", ",", "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": ["CAHP", "CAHP", "0", "\"Unexpected non-zero SPAdj value\"", "CAHP", "CAHP", "1", "16", "\"Frame offsets outside of the signed 16-bit range not supported\"", "10", "CAHP::GPRRegClass", "CAHP::ADD", "0", "1"], "File": "CAHPRegisterInfo", "Func": "eliminateFrameIndex", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7768, "Length": 272, "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", ",", "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": "X86TargetMachine112", "Func": "X86TargetMachine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7769, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcCodeEmitter", "::", "emitInstruction", "(", "MachineBasicBlock", "::", "instr_iterator", "MI", ",", "MachineBasicBlock", "&", "MBB", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"JIT: \"", "<<", "(", "void", "*", ")", "MCE", ".", "getCurrentPCValue", "(", ")", "<<", "\":\\t\"", "<<", "*", "MI", ")", ";", "MCE", ".", "processDebugLoc", "(", "MI", "->", "getDebugLoc", "(", ")", ",", "true", ")", ";", "++", "NumEmitted", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "{", "emitWord", "(", "getBinaryCodeForInstr", "(", "*", "MI", ")", ")", ";", "break", ";", "}", "case", "TargetOpcode", "::", "INLINEASM", ":", "{", "if", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getSymbolName", "(", ")", "[", "0", "]", ")", "{", "report_fatal_error", "(", "\"JIT does not support inline asm!\"", ")", ";", "}", "break", ";", "}", "case", "TargetOpcode", "::", "PROLOG_LABEL", ":", "case", "TargetOpcode", "::", "EH_LABEL", ":", "{", "MCE", ".", "emitLabel", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getMCSymbol", "(", ")", ")", ";", "break", ";", "}", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "KILL", ":", "{", "break", ";", "}", "case", "SP", "::", "GETPCX", ":", "{", "report_fatal_error", "(", "\"JIT does not support pseudo instruction GETPCX yet!\"", ")", ";", "break", ";", "}", "}", "MCE", ".", "processDebugLoc", "(", "MI", "->", "getDebugLoc", "(", ")", ",", "false", ")", ";", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["Sparc", "Sparc", "\"JIT: \"", "\":\\t\"", "0", "0", "\"JIT does not support inline asm!\"", "0", "SP::GETPCX", "\"JIT does not support pseudo instruction GETPCX yet!\""], "File": "SparcCodeEmitter2", "Func": "emitInstruction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7770, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "(", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "MF", ".", "getFrameInfo", "(", ")", "->", "hasVarSizedObjects", "(", ")", "||", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", "->", "getManipulatesSP", "(", ")", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ"], "File": "SystemZFrameLowering (2)", "Func": "hasFP", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7771, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64RegisterInfo", "::", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "live-ins", "should", "be", "tracked", "after", "register", "allocation", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64RegisterInfo41", "Func": "trackLivenessAfterRegAlloc", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7772, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDLoc", "dl", "(", "N", ")", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Do not know how to custom type legalize this operation!\"", ")", ";", "case", "ISD", "::", "READCYCLECOUNTER", ":", "{", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "MVT", "::", "i32", ",", "MVT", "::", "i32", ",", "MVT", "::", "Other", ")", ";", "SDValue", "RTB", "=", "DAG", ".", "getNode", "(", "PPCISD", "::", "READ_TIME_BASE", ",", "dl", ",", "VTs", ",", "N", "->", "getOperand", "(", "0", ")", ")", ";", "Results", ".", "push_back", "(", "RTB", ")", ";", "Results", ".", "push_back", "(", "RTB", ".", "getValue", "(", "1", ")", ")", ";", "Results", ".", "push_back", "(", "RTB", ".", "getValue", "(", "2", ")", ")", ";", "break", ";", "}", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "{", "if", "(", "cast", "<", "ConstantSDNode", ">", "(", "N", "->", "getOperand", "(", "1", ")", ")", "->", "getZExtValue", "(", ")", "!=", "Intrinsic", "::", "ppc_is_decremented_ctr_nonzero", ")", "break", ";", "assert", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i1", "&&", "\"Unexpected result type for CTR decrement intrinsic\"", ")", ";", "EVT", "SVT", "=", "getSetCCResultType", "(", "DAG", ".", "getDataLayout", "(", ")", ",", "*", "DAG", ".", "getContext", "(", ")", ",", "N", "->", "getValueType", "(", "0", ")", ")", ";", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "SVT", ",", "MVT", "::", "Other", ")", ";", "SDValue", "NewInt", "=", "DAG", ".", "getNode", "(", "N", "->", "getOpcode", "(", ")", ",", "dl", ",", "VTs", ",", "N", "->", "getOperand", "(", "0", ")", ",", "N", "->", "getOperand", "(", "1", ")", ")", ";", "Results", ".", "push_back", "(", "DAG", ".", "getNode", "(", "ISD", "::", "TRUNCATE", ",", "dl", ",", "MVT", "::", "i1", ",", "NewInt", ")", ")", ";", "Results", ".", "push_back", "(", "NewInt", ".", "getValue", "(", "1", ")", ")", ";", "break", ";", "}", "case", "ISD", "::", "VAARG", ":", "{", "if", "(", "!", "Subtarget", ".", "isSVR4ABI", "(", ")", "||", "Subtarget", ".", "isPPC64", "(", ")", ")", "return", ";", "EVT", "VT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "if", "(", "VT", "==", "MVT", "::", "i64", ")", "{", "SDValue", "NewNode", "=", "LowerVAARG", "(", "SDValue", "(", "N", ",", "1", ")", ",", "DAG", ")", ";", "Results", ".", "push_back", "(", "NewNode", ")", ";", "Results", ".", "push_back", "(", "NewNode", ".", "getValue", "(", "1", ")", ")", ";", "}", "return", ";", "}", "case", "ISD", "::", "FP_TO_SINT", ":", "case", "ISD", "::", "FP_TO_UINT", ":", "if", "(", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", "==", "MVT", "::", "ppcf128", ")", "return", ";", "Results", ".", "push_back", "(", "LowerFP_TO_INT", "(", "SDValue", "(", "N", ",", "0", ")", ",", "DAG", ",", "dl", ")", ")", ";", "return", ";", "case", "ISD", "::", "BITCAST", ":", "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": ["PowerPC", "PPC", "\"Do not know how to custom type legalize this operation!\"", "ISD::READCYCLECOUNTER", "MVT::i32", "MVT::i32", "MVT::Other", "PPCISD::READ_TIME_BASE", "0", "1", "2", "ISD::INTRINSIC_W_CHAIN", "1", "Intrinsic::ppc_is_decremented_ctr_nonzero", "0", "MVT::i1", "\"Unexpected result type for CTR decrement intrinsic\"", "0", "MVT::Other", "0", "1", "ISD::TRUNCATE", "MVT::i1", "1", "ISD::VAARG", "PPC", "0", "MVT::i64", "1", "1", "ISD::FP_TO_SINT", "ISD::FP_TO_UINT", "0", "MVT::ppcf128", "0", "ISD::BITCAST"], "File": "PPCISelLowering (2)7", "Func": "ReplaceNodeResults", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7773, "Length": 422, "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": 7774, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isSchedulingBoundary", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineBasicBlock", "*", "MBB", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "TargetInstrInfo", "::", "isSchedulingBoundary", "(", "MI", ",", "MBB", ",", "MF", ")", ")", "return", "true", ";", "return", "isSEHInstruction", "(", "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": ["AArch64", "AArch64"], "File": "AArch64InstrInfo118", "Func": "isSchedulingBoundary", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7775, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_veclibabi_svml", "(", "combined_fn", "fn", ",", "tree", "type_out", ",", "tree", "type_in", ")", "{", "char", "name", "[", "20", "]", ";", "tree", "fntype", ",", "new_fndecl", ",", "args", ";", "unsigned", "arity", ";", "const", "char", "*", "bname", ";", "machine_mode", "el_mode", ",", "in_mode", ";", "int", "n", ",", "in_n", ";", "if", "(", "!", "flag_unsafe_math_optimizations", ")", "return", "NULL_TREE", ";", "el_mode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "type_out", ")", ")", ";", "n", "=", "TYPE_VECTOR_SUBPARTS", "(", "type_out", ")", ";", "in_mode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "type_in", ")", ")", ";", "in_n", "=", "TYPE_VECTOR_SUBPARTS", "(", "type_in", ")", ";", "if", "(", "el_mode", "!=", "in_mode", "||", "n", "!=", "in_n", ")", "return", "NULL_TREE", ";", "switch", "(", "fn", ")", "{", "CASE_CFN_EXP", ":", "CASE_CFN_LOG", ":", "CASE_CFN_LOG10", ":", "CASE_CFN_POW", ":", "CASE_CFN_TANH", ":", "CASE_CFN_TAN", ":", "CASE_CFN_ATAN", ":", "CASE_CFN_ATAN2", ":", "CASE_CFN_ATANH", ":", "CASE_CFN_CBRT", ":", "CASE_CFN_SINH", ":", "CASE_CFN_SIN", ":", "CASE_CFN_ASINH", ":", "CASE_CFN_ASIN", ":", "CASE_CFN_COSH", ":", "CASE_CFN_COS", ":", "CASE_CFN_ACOSH", ":", "CASE_CFN_ACOS", ":", "if", "(", "(", "el_mode", "!=", "DFmode", "||", "n", "!=", "2", ")", "&&", "(", "el_mode", "!=", "SFmode", "||", "n", "!=", "4", ")", ")", "return", "NULL_TREE", ";", "break", ";", "default", ":", "return", "NULL_TREE", ";", "}", "tree", "fndecl", "=", "mathfn_built_in", "(", "TREE_TYPE", "(", "type_in", ")", ",", "fn", ")", ";", "bname", "=", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "fndecl", ")", ")", ";", "if", "(", "DECL_FUNCTION_CODE", "(", "fndecl", ")", "==", "BUILT_IN_LOGF", ")", "strcpy", "(", "name", ",", "\"vmlsLn4\"", ")", ";", "else", "if", "(", "DECL_FUNCTION_CODE", "(", "fndecl", ")", "==", "BUILT_IN_LOG", ")", "strcpy", "(", "name", ",", "\"vmldLn2\"", ")", ";", "else", "if", "(", "n", "==", "4", ")", "{", "sprintf", "(", "name", ",", "\"vmls%s\"", ",", "bname", "+", "10", ")", ";", "name", "[", "strlen", "(", "name", ")", "-", "1", "]", "=", "'4'", ";", "}", "else", "sprintf", "(", "name", ",", "\"vmld%s2\"", ",", "bname", "+", "10", ")", ";", "name", "[", "4", "]", "&=", "~", "0x20", ";", "arity", "=", "0", ";", "for", "(", "args", "=", "DECL_ARGUMENTS", "(", "fndecl", ")", ";", "args", ";", "args", "=", "TREE_CHAIN", "(", "args", ")", ")", "arity", "++", ";", "if", "(", "arity", "==", "1", ")", "fntype", "=", "build_function_type_list", "(", "type_out", ",", "type_in", ",", "NULL", ")", ";", "else", "fntype", "=", "build_function_type_list", "(", "type_out", ",", "type_in", ",", "type_in", ",", "NULL", ")", ";", "new_fndecl", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FUNCTION_DECL", ",", "get_identifier", "(", "name", ")", ",", "fntype", ")", ";", "TREE_PUBLIC", "(", "new_fndecl", ")", "=", "1", ";", "DECL_EXTERNAL", "(", "new_fndecl", ")", "=", "1", ";", "DECL_IS_NOVOPS", "(", "new_fndecl", ")", "=", "1", ";", "TREE_READONLY", "(", "new_fndecl", ")", "=", "1", ";", "return", "new_fndecl", ";", "}", ""], "natrual_language": ["Handler", "for", "an", "SVML-style", "interface", "to", "a", "library", "with", "vectorized", "intrinsics", "."], "TS_V_token": ["i386", "20", "2", "4", "\"vmlsLn4\"", "\"vmldLn2\"", "4", "\"vmls%s\"", "10", "1", "\"vmld%s2\"", "10", "4", "0x20", "0", "1", "1", "1", "1", "1"], "File": "i3865", "Func": "ix86_veclibabi_svml", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7776, "Length": 386, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_expand_cmpstrn_or_cmpmem", "(", "rtx", "result", ",", "rtx", "src1", ",", "rtx", "src2", ",", "rtx", "length", ",", "rtx", "align", ",", "bool", "is_cmpstrn", ")", "{", "if", "(", "!", "TARGET_INLINE_ALL_STRINGOPS", ")", "return", "false", ";", "if", "(", "fixed_regs", "[", "CX_REG", "]", "||", "fixed_regs", "[", "SI_REG", "]", "||", "fixed_regs", "[", "DI_REG", "]", ")", "return", "false", ";", "if", "(", "is_cmpstrn", ")", "{", "tree", "t1", "=", "MEM_EXPR", "(", "src1", ")", ";", "tree", "t2", "=", "MEM_EXPR", "(", "src2", ")", ";", "if", "(", "!", "(", "(", "t1", "&&", "TREE_CODE", "(", "t1", ")", "==", "MEM_REF", "&&", "TREE_CODE", "(", "TREE_OPERAND", "(", "t1", ",", "0", ")", ")", "==", "ADDR_EXPR", "&&", "(", "TREE_CODE", "(", "TREE_OPERAND", "(", "TREE_OPERAND", "(", "t1", ",", "0", ")", ",", "0", ")", ")", "==", "STRING_CST", ")", ")", "||", "(", "t2", "&&", "TREE_CODE", "(", "t2", ")", "==", "MEM_REF", "&&", "TREE_CODE", "(", "TREE_OPERAND", "(", "t2", ",", "0", ")", ")", "==", "ADDR_EXPR", "&&", "(", "TREE_CODE", "(", "TREE_OPERAND", "(", "TREE_OPERAND", "(", "t2", ",", "0", ")", ",", "0", ")", ")", "==", "STRING_CST", ")", ")", ")", ")", "return", "false", ";", "}", "rtx", "addr1", "=", "copy_addr_to_reg", "(", "XEXP", "(", "src1", ",", "0", ")", ")", ";", "rtx", "addr2", "=", "copy_addr_to_reg", "(", "XEXP", "(", "src2", ",", "0", ")", ")", ";", "if", "(", "addr1", "!=", "XEXP", "(", "src1", ",", "0", ")", ")", "src1", "=", "replace_equiv_address_nv", "(", "src1", ",", "addr1", ")", ";", "if", "(", "addr2", "!=", "XEXP", "(", "src2", ",", "0", ")", ")", "src2", "=", "replace_equiv_address_nv", "(", "src2", ",", "addr2", ")", ";", "length", "=", "ix86_zero_extend_to_Pmode", "(", "length", ")", ";", "rtx", "lengthreg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_move_insn", "(", "lengthreg", ",", "length", ")", ";", "if", "(", "CONST_INT_P", "(", "length", ")", ")", "{", "if", "(", "length", "==", "const0_rtx", ")", "{", "emit_move_insn", "(", "result", ",", "const0_rtx", ")", ";", "return", "true", ";", "}", "emit_insn", "(", "gen_cmpstrnqi_nz_1", "(", "addr1", ",", "addr2", ",", "lengthreg", ",", "align", ",", "src1", ",", "src2", ")", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_cmp_1", "(", "Pmode", ",", "lengthreg", ",", "lengthreg", ")", ")", ";", "emit_insn", "(", "gen_cmpstrnqi_1", "(", "addr1", ",", "addr2", ",", "lengthreg", ",", "align", ",", "src1", ",", "src2", ")", ")", ";", "}", "rtx", "out", "=", "gen_lowpart", "(", "QImode", ",", "result", ")", ";", "emit_insn", "(", "gen_cmpintqi", "(", "out", ")", ")", ";", "emit_move_insn", "(", "result", ",", "gen_rtx_SIGN_EXTEND", "(", "SImode", ",", "out", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Expand", "cmpstrn", "or", "memcmp", "."], "TS_V_token": ["i386", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"], "File": "i386-expand", "Func": "ix86_expand_cmpstrn_or_cmpmem", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7777, "Length": 364, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcTargetMachine", "::", "SparcTargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "is64bit", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "is64bit", ")", ",", "DataLayout", "(", "Subtarget", ".", "getDataLayout", "(", ")", ")", ",", "InstrInfo", "(", "Subtarget", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "FrameLowering", "(", "Subtarget", ")", "{", "}", ""], "natrual_language": ["Create", "an", "ILP32", "architecture", "model", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc"], "File": "SparcTargetMachine42", "Func": "SparcTargetMachine", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7778, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc_split_mem_reg", "(", "rtx", "dest", ",", "rtx", "src", ",", "machine_mode", "mode", ")", "{", "rtx", "word0", "=", "adjust_address", "(", "dest", ",", "mode", ",", "0", ")", ";", "rtx", "word1", "=", "adjust_address", "(", "dest", ",", "mode", ",", "4", ")", ";", "rtx", "high_part", "=", "gen_highpart", "(", "mode", ",", "src", ")", ";", "rtx", "low_part", "=", "gen_lowpart", "(", "mode", ",", "src", ")", ";", "emit_move_insn_1", "(", "word0", ",", "high_part", ")", ";", "emit_move_insn_1", "(", "word1", ",", "low_part", ")", ";", "}", ""], "natrual_language": ["Split", "a", "MEM", "<", "--", "REG", "move", "into", "a", "pair", "of", "moves", "in", "MODE", "."], "TS_V_token": ["sparc", "0", "4"], "File": "sparc", "Func": "sparc_split_mem_reg", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7779, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "AArch64RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "AArch64FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "WSP", ")", ";", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "WZR", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", "||", "TT", ".", "isOSDarwin", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "W29", ")", ";", "for", "(", "size_t", "i", "=", "0", ";", "i", "<", "AArch64", "::", "GPR32commonRegClass", ".", "getNumRegs", "(", ")", ";", "++", "i", ")", "{", "if", "(", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isXRegisterReserved", "(", "i", ")", ")", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "GPR32commonRegClass", ".", "getRegister", "(", "i", ")", ")", ";", "}", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "W19", ")", ";", "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": ["AArch64", "AArch64", "AArch64", "AArch64::WSP", "AArch64::WZR", "AArch64::W29", "0", "AArch64::GPR32commonRegClass", "AArch64", "AArch64::GPR32commonRegClass", "AArch64::W19"], "File": "AArch64RegisterInfo19", "Func": "getReservedRegs", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7780, "Length": 152, "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": 7781, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "gen_compare_reg", "(", "enum", "rtx_code", "code", ",", "rtx", "x", ",", "rtx", "y", ")", "{", "enum", "machine_mode", "mode", "=", "SELECT_CC_MODE", "(", "code", ",", "x", ",", "y", ")", ";", "rtx", "cc_reg", ";", "if", "(", "sparc_compare_emitted", "!=", "NULL_RTX", ")", "{", "cc_reg", "=", "sparc_compare_emitted", ";", "sparc_compare_emitted", "=", "NULL_RTX", ";", "return", "cc_reg", ";", "}", "if", "(", "TARGET_V9", "&&", "GET_MODE_CLASS", "(", "GET_MODE", "(", "x", ")", ")", "==", "MODE_FLOAT", ")", "{", "int", "reg", ";", "static", "int", "next_fcc_reg", "=", "0", ";", "static", "rtx", "prev_args", "[", "4", "]", "[", "2", "]", ";", "for", "(", "reg", "=", "0", ";", "reg", "<", "4", ";", "reg", "++", ")", "if", "(", "prev_args", "[", "reg", "]", "[", "0", "]", "==", "x", "&&", "prev_args", "[", "reg", "]", "[", "1", "]", "==", "y", ")", "break", ";", "if", "(", "reg", "==", "4", ")", "{", "reg", "=", "next_fcc_reg", ";", "prev_args", "[", "reg", "]", "[", "0", "]", "=", "x", ";", "prev_args", "[", "reg", "]", "[", "1", "]", "=", "y", ";", "next_fcc_reg", "=", "(", "next_fcc_reg", "+", "1", ")", "&", "3", ";", "}", "cc_reg", "=", "gen_rtx_REG", "(", "mode", ",", "reg", "+", "SPARC_FIRST_V9_FCC_REG", ")", ";", "}", "cc_reg", "=", "gen_reg_rtx", "(", "mode", ")", ";", "else", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "x", ")", ")", "==", "MODE_FLOAT", ")", "cc_reg", "=", "gen_rtx_REG", "(", "mode", ",", "SPARC_FCC_REG", ")", ";", "else", "cc_reg", "=", "gen_rtx_REG", "(", "mode", ",", "SPARC_ICC_REG", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "cc_reg", ",", "gen_rtx_COMPARE", "(", "mode", ",", "x", ",", "y", ")", ")", ")", ";", "return", "cc_reg", ";", "}", ""], "natrual_language": ["Emit", "the", "compare", "insn", "and", "return", "the", "CC", "reg", "for", "the", "comparison", "in", "CMP", "."], "TS_V_token": ["sparc", "0", "4", "2", "0", "4", "0", "1", "4", "0", "1", "1", "3"], "File": "sparc3", "Func": "gen_compare_reg", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7782, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rs6000_handle_struct_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", "ATTRIBUTE_UNUSED", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add_attrs", ")", "{", "tree", "*", "type", "=", "NULL", ";", "if", "(", "DECL_P", "(", "*", "node", ")", ")", "{", "if", "(", "TREE_CODE", "(", "*", "node", ")", "==", "TYPE_DECL", ")", "type", "=", "&", "TREE_TYPE", "(", "*", "node", ")", ";", "}", "else", "type", "=", "node", ";", "if", "(", "!", "(", "type", "&&", "(", "TREE_CODE", "(", "*", "type", ")", "==", "RECORD_TYPE", "||", "TREE_CODE", "(", "*", "type", ")", "==", "UNION_TYPE", ")", ")", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute ignored\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "else", "if", "(", "(", "is_attribute_p", "(", "\"ms_struct\"", ",", "name", ")", "&&", "lookup_attribute", "(", "\"gcc_struct\"", ",", "TYPE_ATTRIBUTES", "(", "*", "type", ")", ")", ")", "||", "(", "(", "is_attribute_p", "(", "\"gcc_struct\"", ",", "name", ")", "&&", "lookup_attribute", "(", "\"ms_struct\"", ",", "TYPE_ATTRIBUTES", "(", "*", "type", ")", ")", ")", ")", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE incompatible attribute ignored\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "a", "``", "ms_struct", "''", "or", "``", "gcc_struct", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["powerpcspe", "\"%qE attribute ignored\"", "\"ms_struct\"", "\"gcc_struct\"", "\"gcc_struct\"", "\"ms_struct\"", "\"%qE incompatible attribute ignored\""], "File": "powerpcspe", "Func": "rs6000_handle_struct_attribute", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7783, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "ix86_handle_shared_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", "ATTRIBUTE_UNUSED", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add_attrs", ")", "{", "if", "(", "TREE_CODE", "(", "*", "node", ")", "!=", "VAR_DECL", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qs attribute only applies to variables\"", ",", "IDENTIFIER_POINTER", "(", "name", ")", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "a", "``", "shared", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["i386", "\"%qs attribute only applies to variables\""], "File": "winnt3", "Func": "ix86_handle_shared_attribute", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7784, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MBBI", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "*", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "Align", "=", "MFI", ".", "getObjectAlignment", "(", "FrameIdx", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "FrameIdx", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FrameIdx", ")", ",", "Align", ")", ";", "unsigned", "StoreOp", "=", "0", ";", "if", "(", "RC", "->", "hasType", "(", "MVT", "::", "i64", ")", "||", "RC", "->", "hasType", "(", "MVT", "::", "i32", ")", ")", "{", "switch", "(", "RC", "->", "getSize", "(", ")", ")", "{", "case", "4", ":", "StoreOp", "=", "AArch64", "::", "LS32_STR", ";", "break", ";", "case", "8", ":", "StoreOp", "=", "AArch64", "::", "LS64_STR", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Unknown size for regclass\"", ")", ";", "}", "}", "else", "{", "assert", "(", "(", "RC", "->", "hasType", "(", "MVT", "::", "f32", ")", "||", "RC", "->", "hasType", "(", "MVT", "::", "f64", ")", "||", "RC", "->", "hasType", "(", "MVT", "::", "f128", ")", ")", "&&", "\"Expected integer or floating type for store\"", ")", ";", "switch", "(", "RC", "->", "getSize", "(", ")", ")", "{", "case", "4", ":", "StoreOp", "=", "AArch64", "::", "LSFP32_STR", ";", "break", ";", "case", "8", ":", "StoreOp", "=", "AArch64", "::", "LSFP64_STR", ";", "break", ";", "case", "16", ":", "StoreOp", "=", "AArch64", "::", "LSFP128_STR", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Unknown size for regclass\"", ")", ";", "}", "}", "MachineInstrBuilder", "NewMI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "StoreOp", ")", ")", ";", "NewMI", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["AArch64", "AArch64", "0", "MVT::i64", "MVT::i32", "4", "AArch64::LS32_STR", "8", "AArch64::LS64_STR", "\"Unknown size for regclass\"", "MVT::f32", "MVT::f64", "MVT::f128", "\"Expected integer or floating type for store\"", "4", "AArch64::LSFP32_STR", "8", "AArch64::LSFP64_STR", "16", "AArch64::LSFP128_STR", "\"Unknown size for regclass\"", "0"], "File": "AArch64InstrInfo101", "Func": "storeRegToStackSlot", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7785, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "loongarch_allocate_fcc", "(", "machine_mode", "mode", ")", "{", "unsigned", "int", "regno", ",", "count", ";", "gcc_assert", "(", "TARGET_HARD_FLOAT", ")", ";", "if", "(", "mode", "==", "FCCmode", ")", "count", "=", "1", ";", "else", "gcc_unreachable", "(", ")", ";", "cfun", "->", "machine", "->", "next_fcc", "+=", "-", "cfun", "->", "machine", "->", "next_fcc", "&", "(", "count", "-", "1", ")", ";", "if", "(", "cfun", "->", "machine", "->", "next_fcc", ">", "FCC_REG_LAST", "-", "FCC_REG_FIRST", ")", "cfun", "->", "machine", "->", "next_fcc", "=", "0", ";", "regno", "=", "FCC_REG_FIRST", "+", "cfun", "->", "machine", "->", "next_fcc", ";", "cfun", "->", "machine", "->", "next_fcc", "+=", "count", ";", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "}", ""], "natrual_language": ["Allocate", "a", "floating-point", "condition-code", "register", "of", "mode", "MODE", "."], "TS_V_token": ["loongarch", "1", "1", "0"], "File": "loongarch", "Func": "loongarch_allocate_fcc", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7786, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CSKYAsmPrinter", "::", "emitMachineConstantPoolValue", "(", "MachineConstantPoolValue", "*", "MCPV", ")", "{", "int", "Size", "=", "getDataLayout", "(", ")", ".", "getTypeAllocSize", "(", "MCPV", "->", "getType", "(", ")", ")", ";", "CSKYConstantPoolValue", "*", "CCPV", "=", "static_cast", "<", "CSKYConstantPoolValue", "*", ">", "(", "MCPV", ")", ";", "MCSymbol", "*", "MCSym", ";", "if", "(", "CCPV", "->", "isBlockAddress", "(", ")", ")", "{", "const", "BlockAddress", "*", "BA", "=", "cast", "<", "CSKYConstantPoolConstant", ">", "(", "CCPV", ")", "->", "getBlockAddress", "(", ")", ";", "MCSym", "=", "GetBlockAddressSymbol", "(", "BA", ")", ";", "}", "else", "if", "(", "CCPV", "->", "isGlobalValue", "(", ")", ")", "{", "const", "GlobalValue", "*", "GV", "=", "cast", "<", "CSKYConstantPoolConstant", ">", "(", "CCPV", ")", "->", "getGV", "(", ")", ";", "MCSym", "=", "getSymbol", "(", "GV", ")", ";", "}", "else", "if", "(", "CCPV", "->", "isMachineBasicBlock", "(", ")", ")", "{", "const", "MachineBasicBlock", "*", "MBB", "=", "cast", "<", "CSKYConstantPoolMBB", ">", "(", "CCPV", ")", "->", "getMBB", "(", ")", ";", "MCSym", "=", "MBB", "->", "getSymbol", "(", ")", ";", "}", "else", "if", "(", "CCPV", "->", "isJT", "(", ")", ")", "{", "signed", "JTI", "=", "cast", "<", "CSKYConstantPoolJT", ">", "(", "CCPV", ")", "->", "getJTI", "(", ")", ";", "MCSym", "=", "GetJTISymbol", "(", "JTI", ")", ";", "}", "else", "{", "assert", "(", "CCPV", "->", "isExtSymbol", "(", ")", "&&", "\"unrecognized constant pool value\"", ")", ";", "StringRef", "Sym", "=", "cast", "<", "CSKYConstantPoolSymbol", ">", "(", "CCPV", ")", "->", "getSymbol", "(", ")", ";", "MCSym", "=", "GetExternalSymbolSymbol", "(", "Sym", ")", ";", "}", "const", "MCExpr", "*", "Expr", "=", "MCSymbolRefExpr", "::", "create", "(", "MCSym", ",", "MCSymbolRefExpr", "::", "VK_None", ",", "OutContext", ")", ";", "if", "(", "CCPV", "->", "getPCAdjustment", "(", ")", ")", "{", "MCSymbol", "*", "PCLabel", "=", "OutContext", ".", "getOrCreateSymbol", "(", "Twine", "(", "MAI", "->", "getPrivateGlobalPrefix", "(", ")", ")", "+", "\"PC\"", "+", "Twine", "(", "getFunctionNumber", "(", ")", ")", "+", "\"_\"", "+", "Twine", "(", "CCPV", "->", "getLabelID", "(", ")", ")", ")", ";", "const", "MCExpr", "*", "PCRelExpr", "=", "MCSymbolRefExpr", "::", "create", "(", "PCLabel", ",", "OutContext", ")", ";", "if", "(", "CCPV", "->", "mustAddCurrentAddress", "(", ")", ")", "{", "MCSymbol", "*", "DotSym", "=", "OutContext", ".", "createTempSymbol", "(", ")", ";", "OutStreamer", "->", "emitLabel", "(", "DotSym", ")", ";", "const", "MCExpr", "*", "DotExpr", "=", "MCSymbolRefExpr", "::", "create", "(", "DotSym", ",", "OutContext", ")", ";", "PCRelExpr", "=", "MCBinaryExpr", "::", "createSub", "(", "PCRelExpr", ",", "DotExpr", ",", "OutContext", ")", ";", "}", "Expr", "=", "MCBinaryExpr", "::", "createSub", "(", "Expr", ",", "PCRelExpr", ",", "OutContext", ")", ";", "}", "Expr", "=", "CSKYMCExpr", "::", "create", "(", "Expr", ",", "getModifierVariantKind", "(", "CCPV", "->", "getModifier", "(", ")", ")", ",", "OutContext", ")", ";", "OutStreamer", "->", "emitValue", "(", "Expr", ",", "Size", ")", ";", "}", ""], "natrual_language": ["EmitMachineConstantPoolValue", "-", "Print", "a", "machine", "constantpool", "value", "to", "the", ".s", "file", "."], "TS_V_token": ["CSKY", "CSKY", "CSKY", "CSKY", "CSKY", "CSKY", "CSKY", "CSKY", "\"unrecognized constant pool value\"", "CSKY", "\"PC\"", "\"_\"", "CSKY"], "File": "CSKYAsmPrinter1", "Func": "emitMachineConstantPoolValue", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7787, "Length": 394, "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", ";", "}", "}", "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": "AArch64ISelLowering104", "Func": "getConstraintType", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7788, "Length": 100, "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_VK2", ":", "\\", "case", "TYPE_VK4", ":", "\\", "case", "TYPE_VK8", ":", "\\", "case", "TYPE_VK16", ":", "\\", "case", "TYPE_VK32", ":", "\\", "case", "TYPE_VK64", ":", "\\", "if", "(", "index", ">", "7", ")", "\\", "*", "valid", "=", "0", ";", "\\", "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", "7", "0", "0x7", "5", "0"], "File": "X86DisassemblerDecoder8", "Func": "name", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7789, "Length": 313, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_sched_reassociation_width", "(", "unsigned", "int", "opc", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ")", "{", "if", "(", "MSA_SUPPORTED_MODE_P", "(", "mode", ")", ")", "return", "2", ";", "return", "1", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SCHED_REASSOCIATION_WIDTH", "."], "TS_V_token": ["mips", "2", "1"], "File": "mips", "Func": "mips_sched_reassociation_width", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7790, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "cygwin_d_register_target_info", "(", "void", ")", "{", "const", "struct", "d_target_info_spec", "handlers", "[", "]", "=", "{", "{", "\"objectFormat\"", ",", "cygwin_d_handle_target_object_format", "}", ",", "{", "NULL", ",", "NULL", "}", ",", "}", ";", "d_add_target_info_handlers", "(", "handlers", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_D_REGISTER_OS_TARGET_INFO", "for", "Cygwin", "targets", "."], "TS_V_token": ["i386", "\"objectFormat\""], "File": "cygwin-d", "Func": "cygwin_d_register_target_info", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7791, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCLinuxAsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "const", "DataLayout", "*", "TD", "=", "TM", ".", "getDataLayout", "(", ")", ";", "bool", "isPPC64", "=", "TD", "->", "getPointerSizeInBits", "(", ")", "==", "64", ";", "PPCTargetStreamer", "&", "TS", "=", "static_cast", "<", "PPCTargetStreamer", "&", ">", "(", "*", "OutStreamer", ".", "getTargetStreamer", "(", ")", ")", ";", "if", "(", "!", "TOC", ".", "empty", "(", ")", ")", "{", "const", "MCSectionELF", "*", "Section", ";", "if", "(", "isPPC64", ")", "Section", "=", "OutStreamer", ".", "getContext", "(", ")", ".", "getELFSection", "(", "\".toc\"", ",", "ELF", "::", "SHT_PROGBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ")", ";", "else", "Section", "=", "OutStreamer", ".", "getContext", "(", ")", ".", "getELFSection", "(", "\".got2\"", ",", "ELF", "::", "SHT_PROGBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ")", ";", "OutStreamer", ".", "SwitchSection", "(", "Section", ")", ";", "for", "(", "MapVector", "<", "MCSymbol", "*", ",", "MCSymbol", "*", ">", "::", "iterator", "I", "=", "TOC", ".", "begin", "(", ")", ",", "E", "=", "TOC", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "OutStreamer", ".", "EmitLabel", "(", "I", "->", "second", ")", ";", "MCSymbol", "*", "S", "=", "I", "->", "first", ";", "if", "(", "isPPC64", ")", "TS", ".", "emitTCEntry", "(", "*", "S", ")", ";", "else", "OutStreamer", ".", "EmitSymbolValue", "(", "S", ",", "4", ")", ";", "}", "}", "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", "PPC", "PPC", "\".toc\"", "\".got2\"", "PPC", "4"], "File": "PPCAsmPrinter34", "Func": "doFinalization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7792, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_tls_symbol_p", "(", "rtx", "x", ")", "{", "if", "(", "!", "TARGET_HAVE_TLS", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "SYMBOL_REF", ")", "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": "aarch64", "Func": "aarch64_tls_symbol_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7793, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "init_vselect_insn", "(", "void", ")", "{", "unsigned", "i", ";", "rtx", "x", ";", "x", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "MAX_VECT_LEN", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "MAX_VECT_LEN", ";", "++", "i", ")", "XVECEXP", "(", "x", ",", "0", ",", "i", ")", "=", "const0_rtx", ";", "x", "=", "gen_rtx_VEC_SELECT", "(", "V2DFmode", ",", "gen_rtx_VEC_CONCAT", "(", "V4DFmode", ",", "const0_rtx", ",", "const0_rtx", ")", ",", "x", ")", ";", "x", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "const0_rtx", ",", "x", ")", ";", "start_sequence", "(", ")", ";", "vselect_insn", "=", "emit_insn", "(", "x", ")", ";", "end_sequence", "(", ")", ";", "}", ""], "natrual_language": ["Initialize", "vselect_insn", "."], "TS_V_token": ["i386", "0", "0"], "File": "i3864", "Func": "init_vselect_insn", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7794, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "legitimate_pic_operand_p", "(", "rtx", "x", ")", "{", "if", "(", "SYMBOL_REF_P", "(", "x", ")", "||", "(", "GET_CODE", "(", "x", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ")", "==", "SYMBOL_REF", ")", ")", "return", "0", ";", "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": ["arm", "0", "0", "0", "0", "1"], "File": "arm", "Func": "legitimate_pic_operand_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7795, "Length": 59, "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", "::", "getFixedStack", "(", "FI", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tLDRspi", ")", ",", "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::tLDRspi", "0"], "File": "Thumb1InstrInfo4", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7796, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "VEInstrInfo", "::", "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", "(", ")", "==", "3", "||", "Cond", ".", "size", "(", ")", "==", "0", ")", "&&", "\"VE branch conditions should have three component!\"", ")", ";", "assert", "(", "!", "BytesAdded", "&&", "\"code size not handled\"", ")", ";", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "assert", "(", "!", "FBB", "&&", "\"Unconditional branch with multiple successors!\"", ")", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "VE", "::", "BRCFLa_t", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "return", "1", ";", "}", "assert", "(", "Cond", "[", "0", "]", ".", "isImm", "(", ")", "&&", "Cond", "[", "2", "]", ".", "isReg", "(", ")", "&&", "\"not implemented\"", ")", ";", "unsigned", "opc", "[", "2", "]", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "&", "getRegisterInfo", "(", ")", ";", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "Register", "Reg", "=", "Cond", "[", "2", "]", ".", "getReg", "(", ")", ";", "if", "(", "IsIntegerCC", "(", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ")", ")", "{", "if", "(", "TRI", "->", "getRegSizeInBits", "(", "Reg", ",", "MRI", ")", "==", "32", ")", "{", "opc", "[", "0", "]", "=", "VE", "::", "BRCFWir", ";", "opc", "[", "1", "]", "=", "VE", "::", "BRCFWrr", ";", "}", "else", "{", "opc", "[", "0", "]", "=", "VE", "::", "BRCFLir", ";", "opc", "[", "1", "]", "=", "VE", "::", "BRCFLrr", ";", "}", "}", "else", "{", "if", "(", "TRI", "->", "getRegSizeInBits", "(", "Reg", ",", "MRI", ")", "==", "32", ")", "{", "opc", "[", "0", "]", "=", "VE", "::", "BRCFSir", ";", "opc", "[", "1", "]", "=", "VE", "::", "BRCFSrr", ";", "}", "else", "{", "opc", "[", "0", "]", "=", "VE", "::", "BRCFDir", ";", "opc", "[", "1", "]", "=", "VE", "::", "BRCFDrr", ";", "}", "}", "if", "(", "Cond", "[", "1", "]", ".", "isImm", "(", ")", ")", "{", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "opc", "[", "0", "]", ")", ")", ".", "add", "(", "Cond", "[", "0", "]", ")", ".", "add", "(", "Cond", "[", "1", "]", ")", ".", "add", "(", "Cond", "[", "2", "]", ")", ".", "addMBB", "(", "TBB", ")", ";", "}", "else", "{", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "opc", "[", "1", "]", ")", ")", ".", "add", "(", "Cond", "[", "0", "]", ")", ".", "add", "(", "Cond", "[", "1", "]", ")", ".", "add", "(", "Cond", "[", "2", "]", ")", ".", "addMBB", "(", "TBB", ")", ";", "}", "if", "(", "!", "FBB", ")", "return", "1", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "VE", "::", "BRCFLa_t", ")", ")", ".", "addMBB", "(", "FBB", ")", ";", "return", "2", ";", "}", ""], "natrual_language": ["Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "."], "TS_V_token": ["VE", "VE", "\"insertBranch must not be told to insert a fallthrough\"", "3", "0", "\"VE branch conditions should have three component!\"", "\"code size not handled\"", "\"Unconditional branch with multiple successors!\"", "VE::BRCFLa_t", "1", "0", "2", "\"not implemented\"", "2", "2", "0", "32", "0", "VE::BRCFWir", "1", "VE::BRCFWrr", "0", "VE::BRCFLir", "1", "VE::BRCFLrr", "32", "0", "VE::BRCFSir", "1", "VE::BRCFSrr", "0", "VE::BRCFDir", "1", "VE::BRCFDrr", "1", "0", "0", "1", "2", "1", "0", "1", "2", "1", "VE::BRCFLa_t", "2"], "File": "VEInstrInfo11", "Func": "insertBranch", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7797, "Length": 450, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "supportsEfficientVectorElementLoadStore", "(", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["If", "target", "has", "efficient", "vector", "element", "load/store", "instructions", ",", "it", "can", "return", "true", "here", "so", "that", "insertion/extraction", "costs", "are", "not", "added", "to", "the", "scalarization", "cost", "of", "a", "load/store", "."], "TS_V_token": ["SystemZ"], "File": "SystemZTargetTransformInfo", "Func": "supportsEfficientVectorElementLoadStore", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7798, "Length": 9, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_split_atomic_op", "(", "enum", "rtx_code", "code", ",", "rtx", "old_out", ",", "rtx", "new_out", ",", "rtx", "mem", ",", "rtx", "value", ",", "rtx", "model_rtx", ",", "rtx", "cond", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "machine_mode", "wmode", "=", "(", "mode", "==", "DImode", "?", "DImode", ":", "SImode", ")", ";", "const", "enum", "memmodel", "model", "=", "memmodel_from_int", "(", "INTVAL", "(", "model_rtx", ")", ")", ";", "const", "bool", "is_sync", "=", "is_mm_sync", "(", "model", ")", ";", "rtx_code_label", "*", "label", ";", "rtx", "x", ";", "label", "=", "gen_label_rtx", "(", ")", ";", "emit_label", "(", "label", ")", ";", "if", "(", "new_out", ")", "new_out", "=", "gen_lowpart", "(", "wmode", ",", "new_out", ")", ";", "if", "(", "old_out", ")", "old_out", "=", "gen_lowpart", "(", "wmode", ",", "old_out", ")", ";", "else", "old_out", "=", "new_out", ";", "value", "=", "simplify_gen_subreg", "(", "wmode", ",", "value", ",", "mode", ",", "0", ")", ";", "if", "(", "is_sync", ")", "aarch64_emit_load_exclusive", "(", "mode", ",", "old_out", ",", "mem", ",", "GEN_INT", "(", "MEMMODEL_RELAXED", ")", ")", ";", "else", "aarch64_emit_load_exclusive", "(", "mode", ",", "old_out", ",", "mem", ",", "model_rtx", ")", ";", "switch", "(", "code", ")", "{", "case", "SET", ":", "new_out", "=", "value", ";", "break", ";", "case", "NOT", ":", "x", "=", "gen_rtx_AND", "(", "wmode", ",", "old_out", ",", "value", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "new_out", ",", "x", ")", ")", ";", "x", "=", "gen_rtx_NOT", "(", "wmode", ",", "new_out", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "new_out", ",", "x", ")", ")", ";", "break", ";", "case", "MINUS", ":", "if", "(", "CONST_INT_P", "(", "value", ")", ")", "{", "value", "=", "GEN_INT", "(", "-", "INTVAL", "(", "value", ")", ")", ";", "code", "=", "PLUS", ";", "}", "default", ":", "x", "=", "gen_rtx_fmt_ee", "(", "code", ",", "wmode", ",", "old_out", ",", "value", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "new_out", ",", "x", ")", ")", ";", "break", ";", "}", "aarch64_emit_store_exclusive", "(", "mode", ",", "cond", ",", "mem", ",", "gen_lowpart", "(", "mode", ",", "new_out", ")", ",", "model_rtx", ")", ";", "if", "(", "aarch64_track_speculation", ")", "{", "rtx", "cc_reg", "=", "aarch64_gen_compare_reg", "(", "NE", ",", "cond", ",", "const0_rtx", ")", ";", "x", "=", "gen_rtx_NE", "(", "GET_MODE", "(", "cc_reg", ")", ",", "cc_reg", ",", "const0_rtx", ")", ";", "}", "else", "x", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "cond", ",", "const0_rtx", ")", ";", "x", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "x", ",", "gen_rtx_LABEL_REF", "(", "Pmode", ",", "label", ")", ",", "pc_rtx", ")", ";", "aarch64_emit_unlikely_jump", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "x", ")", ")", ";", "if", "(", "is_sync", ")", "aarch64_emit_post_barrier", "(", "model", ")", ";", "}", ""], "natrual_language": ["Split", "an", "atomic", "operation", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch646", "Func": "aarch64_split_atomic_op", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7799, "Length": 375, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64LoadStoreOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "Subtarget", "=", "&", "static_cast", "<", "const", "AArch64Subtarget", "&", ">", "(", "Fn", ".", "getSubtarget", "(", ")", ")", ";", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "Subtarget", "->", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "Subtarget", "->", "getRegisterInfo", "(", ")", ";", "bool", "Modified", "=", "false", ";", "bool", "enableNarrowLdOpt", "=", "enableNarrowLdMerge", "(", "Fn", ")", ";", "for", "(", "auto", "&", "MBB", ":", "Fn", ")", "Modified", "|=", "optimizeBlock", "(", "MBB", ",", "enableNarrowLdOpt", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64LoadStoreOptimizer (2)", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7800, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAIXAsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "for", "(", "MCSymbol", "*", "Sym", ":", "ExtSymSDNodeSymbols", ")", "OutStreamer", "->", "emitSymbolAttribute", "(", "Sym", ",", "MCSA_Extern", ")", ";", "return", "PPCAsmPrinter", "::", "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"], "File": "PPCAsmPrinter10", "Func": "doFinalization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7801, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "or1k_strict_argument_naming", "(", "cumulative_args_t", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["Worker", "for", "TARGET_STRICT_ARGUMENT_NAMING", ".", "Return", "true", "always", "as", "on", "OpenRISC", "the", "last", "argument", "in", "a", "variatic", "function", "is", "named", "."], "TS_V_token": ["or1k"], "File": "or1k", "Func": "or1k_strict_argument_naming", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7802, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "sparc_function_arg_boundary", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "return", "(", "(", "TARGET_ARCH64", "&&", "(", "GET_MODE_ALIGNMENT", "(", "mode", ")", "==", "128", "||", "(", "type", "&&", "TYPE_ALIGN", "(", "type", ")", "==", "128", ")", ")", ")", "?", "128", ":", "PARM_BOUNDARY", ")", ";", "}", ""], "natrual_language": ["For", "sparc64", ",", "objects", "requiring", "16", "byte", "alignment", "are", "passed", "that", "way", "."], "TS_V_token": ["sparc", "128", "128", "128"], "File": "sparc", "Func": "sparc_function_arg_boundary", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7803, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "Comet2RegisterInfo", "::", "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": ["Comet2", "Comet2"], "File": "Comet2RegisterInfo", "Func": "getCallPreservedMask", "Target": "Comet2", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7804, "Length": 22, "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": 7805, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMCallLowering", "::", "splitToValueTypes", "(", "const", "ArgInfo", "&", "OrigArg", ",", "SmallVectorImpl", "<", "ArgInfo", ">", "&", "SplitArgs", ",", "MachineFunction", "&", "MF", ",", "const", "SplitArgTy", "&", "PerformArgSplit", ")", "const", "{", "const", "ARMTargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "ARMTargetLowering", ">", "(", ")", ";", "LLVMContext", "&", "Ctx", "=", "OrigArg", ".", "Ty", "->", "getContext", "(", ")", ";", "const", "DataLayout", "&", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "SmallVector", "<", "EVT", ",", "4", ">", "SplitVTs", ";", "ComputeValueVTs", "(", "TLI", ",", "DL", ",", "OrigArg", ".", "Ty", ",", "SplitVTs", ",", "nullptr", ",", "nullptr", ",", "0", ")", ";", "if", "(", "SplitVTs", ".", "size", "(", ")", "==", "1", ")", "{", "auto", "Flags", "=", "OrigArg", ".", "Flags", ";", "unsigned", "OriginalAlignment", "=", "DL", ".", "getABITypeAlignment", "(", "OrigArg", ".", "Ty", ")", ";", "Flags", ".", "setOrigAlign", "(", "OriginalAlignment", ")", ";", "SplitArgs", ".", "emplace_back", "(", "OrigArg", ".", "Reg", ",", "SplitVTs", "[", "0", "]", ".", "getTypeForEVT", "(", "Ctx", ")", ",", "Flags", ",", "OrigArg", ".", "IsFixed", ")", ";", "return", ";", "}", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "SplitVTs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "EVT", "SplitVT", "=", "SplitVTs", "[", "i", "]", ";", "Type", "*", "SplitTy", "=", "SplitVT", ".", "getTypeForEVT", "(", "Ctx", ")", ";", "auto", "Flags", "=", "OrigArg", ".", "Flags", ";", "unsigned", "OriginalAlignment", "=", "DL", ".", "getABITypeAlignment", "(", "SplitTy", ")", ";", "Flags", ".", "setOrigAlign", "(", "OriginalAlignment", ")", ";", "bool", "NeedsConsecutiveRegisters", "=", "TLI", ".", "functionArgumentNeedsConsecutiveRegisters", "(", "SplitTy", ",", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ")", ";", "if", "(", "NeedsConsecutiveRegisters", ")", "{", "Flags", ".", "setInConsecutiveRegs", "(", ")", ";", "if", "(", "i", "==", "e", "-", "1", ")", "Flags", ".", "setInConsecutiveRegsLast", "(", ")", ";", "}", "unsigned", "PartReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "getLLTForType", "(", "*", "SplitTy", ",", "DL", ")", ")", ";", "SplitArgs", ".", "push_back", "(", "ArgInfo", "{", "PartReg", ",", "SplitTy", ",", "Flags", ",", "OrigArg", ".", "IsFixed", "}", ")", ";", "PerformArgSplit", "(", "PartReg", ")", ";", "}", "}", ""], "natrual_language": ["Break", "OrigArgInfo", "into", "one", "or", "more", "pieces", "the", "calling", "convention", "can", "process", ",", "returned", "in", "SplitArgs", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "4", "0", "1", "0", "0", "1"], "File": "ARMCallLowering33", "Func": "splitToValueTypes", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7806, "Length": 332, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "AArch64RegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "if", "(", "CC", "==", "CallingConv", "::", "GHC", ")", "return", "CSR_AArch64_NoRegs_RegMask", ";", "if", "(", "CC", "==", "CallingConv", "::", "AnyReg", ")", "return", "CSR_AArch64_AllRegs_RegMask", ";", "if", "(", "CC", "==", "CallingConv", "::", "CXX_FAST_TLS", ")", "return", "CSR_AArch64_CXX_TLS_Darwin_RegMask", ";", "if", "(", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "getTargetLowering", "(", ")", "->", "supportSwiftError", "(", ")", "&&", "MF", ".", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ".", "hasAttrSomewhere", "(", "Attribute", "::", "SwiftError", ")", ")", "return", "CSR_AArch64_AAPCS_SwiftError_RegMask", ";", "if", "(", "CC", "==", "CallingConv", "::", "PreserveMost", ")", "return", "CSR_AArch64_RT_MostRegs_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", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64RegisterInfo17", "Func": "getCallPreservedMask", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7807, "Length": 107, "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": 7808, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "X86RegisterInfo", "::", "getCallPreservedMask", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "bool", "HasAVX", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "hasAVX", "(", ")", ";", "bool", "HasAVX512", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "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", "::", "Intel_OCL_BI", ":", "{", "if", "(", "IsWin64", "&&", "HasAVX512", ")", "return", "CSR_Win64_Intel_OCL_BI_AVX512_RegMask", ";", "if", "(", "Is64Bit", "&&", "HasAVX512", ")", "return", "CSR_64_Intel_OCL_BI_AVX512_RegMask", ";", "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", ";", "}", "case", "CallingConv", "::", "Cold", ":", "if", "(", "Is64Bit", ")", "return", "CSR_64_MostRegs_RegMask", ";", "break", ";", "default", ":", "break", ";", "}", "if", "(", "Is64Bit", ")", "{", "if", "(", "IsWin64", ")", "return", "CSR_Win64_RegMask", ";", "return", "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"], "File": "X86RegisterInfo9", "Func": "getCallPreservedMask", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7809, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "Cpu0FunctionInfo", "*", "Cpu0FI", "=", "MF", ".", "getInfo", "<", "Cpu0FunctionInfo", ">", "(", ")", ";", "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", ";", "if", "(", "Cpu0FI", "->", "isOutArgFI", "(", "FrameIndex", ")", "||", "Cpu0FI", "->", "isDynAllocFI", "(", "FrameIndex", ")", "||", "(", "FrameIndex", ">=", "MinCSFI", "&&", "FrameIndex", "<=", "MaxCSFI", ")", ")", "FrameReg", "=", "Cpu0", "::", "SP", ";", "else", "FrameReg", "=", "getFrameRegister", "(", "MF", ")", ";", "int64_t", "Offset", ";", "if", "(", "Cpu0FI", "->", "isOutArgFI", "(", "FrameIndex", ")", "||", "Cpu0FI", "->", "isGPFI", "(", "FrameIndex", ")", "||", "Cpu0FI", "->", "isDynAllocFI", "(", "FrameIndex", ")", ")", "Offset", "=", "spOffset", ";", "else", "Offset", "=", "spOffset", "+", "(", "int64_t", ")", "stackSize", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "getImm", "(", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"Offset : \"", "<<", "Offset", "<<", "\"\\n\"", "<<", "\"<--------->\\n\"", ")", ";", "if", "(", "!", "MI", ".", "isDebugValue", "(", ")", "&&", "!", "isInt", "<", "16", ">", "(", "Offset", ")", ")", "{", "assert", "(", "\"(!MI.isDebugValue() && !isInt<16>(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": ["Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "0", "\"Instr doesn't have FrameIndex operand!\"", "\"\\nFunction : \"", "\"\\n\"", "\"<--------->\\n\"", "\"FrameIndex : \"", "\"\\n\"", "\"spOffset : \"", "\"\\n\"", "\"stackSize : \"", "\"\\n\"", "0", "1", "0", "1", "Cpu0", "Cpu0", "Cpu0::SP", "Cpu0", "Cpu0", "Cpu0", "1", "\"Offset : \"", "\"\\n\"", "\"<--------->\\n\"", "16", "\"(!MI.isDebugValue() && !isInt<16>(Offset))\"", "1"], "File": "Cpu0RegisterInfo1", "Func": "eliminateFrameIndex", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7810, "Length": 431, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mmix_function_arg_regno_p", "(", "int", "regno", ",", "int", "incoming", ")", "{", "int", "first_arg_regnum", "=", "incoming", "?", "MMIX_FIRST_INCOMING_ARG_REGNUM", ":", "MMIX_FIRST_ARG_REGNUM", ";", "return", "regno", ">=", "first_arg_regnum", "&&", "regno", "<", "first_arg_regnum", "+", "MMIX_MAX_ARGS_IN_REGS", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "regno", "is", "a", "register", "number", "where", "a", "parameter", "is", "passed", ",", "and", "0", "otherwise", "."], "TS_V_token": ["mmix"], "File": "mmix", "Func": "mmix_function_arg_regno_p", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7811, "Length": 31, "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": 7812, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "darwin_rs6000_override_options", "(", "void", ")", "{", "rs6000_altivec_abi", "=", "1", ";", "TARGET_ALTIVEC_VRSAVE", "=", "1", ";", "rs6000_current_abi", "=", "ABI_DARWIN", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_DARWIN", "&&", "TARGET_64BIT", ")", "darwin_one_byte_bool", "=", "1", ";", "if", "(", "TARGET_64BIT", "&&", "!", "TARGET_POWERPC64", ")", "{", "rs6000_isa_flags", "|=", "OPTION_MASK_POWERPC64", ";", "warning", "(", "0", ",", "\"%qs requires PowerPC64 architecture, enabling\"", ",", "\"-m64\"", ")", ";", "}", "if", "(", "TARGET_64BIT", ")", "rs6000_default_long_calls", "=", "0", ";", "if", "(", "flag_mkernel", ")", "{", "rs6000_default_long_calls", "=", "1", ";", "if", "(", "!", "(", "rs6000_isa_flags_explicit", "&", "OPTION_MASK_SOFT_FLOAT", ")", ")", "rs6000_isa_flags", "|=", "OPTION_MASK_SOFT_FLOAT", ";", "}", "if", "(", "!", "flag_mkernel", "&&", "!", "flag_apple_kext", "&&", "TARGET_64BIT", "&&", "!", "(", "rs6000_isa_flags_explicit", "&", "OPTION_MASK_ALTIVEC", ")", ")", "rs6000_isa_flags", "|=", "OPTION_MASK_ALTIVEC", ";", "if", "(", "!", "flag_mkernel", "&&", "!", "flag_apple_kext", "&&", "strverscmp", "(", "darwin_macosx_version_min", ",", "\"10.5\"", ")", ">=", "0", "&&", "!", "(", "rs6000_isa_flags_explicit", "&", "OPTION_MASK_ALTIVEC", ")", "&&", "!", "OPTION_SET_P", "(", "rs6000_cpu_index", ")", ")", "{", "rs6000_isa_flags", "|=", "OPTION_MASK_ALTIVEC", ";", "}", "}", ""], "natrual_language": ["The", "Darwin", "version", "of", "SUBTARGET_OVERRIDE_OPTIONS", "."], "TS_V_token": ["rs6000", "1", "1", "1", "0", "\"%qs requires PowerPC64 architecture, enabling\"", "\"-m64\"", "0", "1", "\"10.5\"", "0"], "File": "rs6000", "Func": "darwin_rs6000_override_options", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7813, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_emit_move_or_split", "(", "rtx", "dest", ",", "rtx", "src", ",", "enum", "mips_split_type", "split_type", ")", "{", "if", "(", "mips_split_move_p", "(", "dest", ",", "src", ",", "split_type", ")", ")", "mips_split_move", "(", "dest", ",", "src", ",", "split_type", ",", "NULL", ")", ";", "else", "mips_emit_move", "(", "dest", ",", "src", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "move", "from", "SRC", "to", "DEST", ",", "splitting", "compound", "moves", "into", "individual", "instructions", ".", "SPLIT_TYPE", "is", "the", "type", "of", "split", "to", "perform", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_emit_move_or_split", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7814, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "override_options", "(", "void", ")", "{", "if", "(", "TARGET_G_FLOAT", ")", "REAL_MODE_FORMAT", "(", "DFmode", ")", "=", "&", "vax_g_format", ";", "}", ""], "natrual_language": ["Set", "global", "variables", "as", "needed", "for", "the", "options", "enabled", "."], "TS_V_token": ["vax"], "File": "vax3", "Func": "override_options", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7815, "Length": 19, "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", ")", "{", "default", ":", "break", ";", "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\"", ")", ";", "}", "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": ["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\""], "File": "SparcAsmParser43", "Func": "MatchAndEmitInstruction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7816, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "SystemZSelectionDAGInfo", "::", "EmitTargetCodeForMemcmp", "(", "SelectionDAG", "&", "DAG", ",", "SDLoc", "DL", ",", "SDValue", "Chain", ",", "SDValue", "Src1", ",", "SDValue", "Src2", ",", "SDValue", "Size", ",", "MachinePointerInfo", "Op1PtrInfo", ",", "MachinePointerInfo", "Op2PtrInfo", ")", "const", "{", "if", "(", "ConstantSDNode", "*", "CSize", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Size", ")", ")", "{", "uint64_t", "Bytes", "=", "CSize", "->", "getZExtValue", "(", ")", ";", "assert", "(", "Bytes", ">", "0", "&&", "\"Caller should have handled 0-size case\"", ")", ";", "Chain", "=", "emitCLC", "(", "DAG", ",", "DL", ",", "Chain", ",", "Src1", ",", "Src2", ",", "Bytes", ")", ";", "SDValue", "Glue", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "return", "std", "::", "make_pair", "(", "addIPMSequence", "(", "DL", ",", "Glue", ",", "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": "SystemZSelectionDAGInfo29", "Func": "EmitTargetCodeForMemcmp", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7817, "Length": 132, "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": 7818, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "getMemOperandWithOffset", "(", "const", "MachineInstr", "&", "LdSt", ",", "const", "MachineOperand", "*", "&", "BaseOp", ",", "int64_t", "&", "Offset", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "unsigned", "Width", ";", "return", "getMemOperandWithOffsetWidth", "(", "LdSt", ",", "BaseOp", ",", "Offset", ",", "Width", ",", "TRI", ")", ";", "}", ""], "natrual_language": ["Get", "the", "base", "operand", "and", "byte", "offset", "of", "an", "instruction", "that", "reads/writes", "memory", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64InstrInfo10", "Func": "getMemOperandWithOffset", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7819, "Length": 45, "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", ")", ")", ";", "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": "aarch645", "Func": "aarch64_gen_loadwb_pair", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7820, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCRegisterInfo", "::", "getRegAllocationHints", "(", "Register", "VirtReg", ",", "ArrayRef", "<", "MCPhysReg", ">", "Order", ",", "SmallVectorImpl", "<", "MCPhysReg", ">", "&", "Hints", ",", "const", "MachineFunction", "&", "MF", ",", "const", "VirtRegMap", "*", "VRM", ",", "const", "LiveRegMatrix", "*", "Matrix", ")", "const", "{", "const", "MachineRegisterInfo", "*", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "bool", "BaseImplRetVal", "=", "TargetRegisterInfo", "::", "getRegAllocationHints", "(", "VirtReg", ",", "Order", ",", "Hints", ",", "MF", ",", "VRM", ",", "Matrix", ")", ";", "for", "(", "MachineInstr", "&", "Use", ":", "MRI", "->", "reg_nodbg_instructions", "(", "VirtReg", ")", ")", "{", "const", "MachineOperand", "*", "ResultOp", "=", "nullptr", ";", "Register", "ResultReg", ";", "switch", "(", "Use", ".", "getOpcode", "(", ")", ")", "{", "case", "TargetOpcode", "::", "COPY", ":", "{", "ResultOp", "=", "&", "Use", ".", "getOperand", "(", "0", ")", ";", "ResultReg", "=", "ResultOp", "->", "getReg", "(", ")", ";", "if", "(", "Register", "::", "isVirtualRegister", "(", "ResultReg", ")", "&&", "MRI", "->", "getRegClass", "(", "ResultReg", ")", "->", "contains", "(", "PPC", "::", "UACC0", ")", "&&", "VRM", "->", "hasPhys", "(", "ResultReg", ")", ")", "{", "Register", "UACCPhys", "=", "VRM", "->", "getPhys", "(", "ResultReg", ")", ";", "Register", "HintReg", "=", "getSubReg", "(", "UACCPhys", ",", "ResultOp", "->", "getSubReg", "(", ")", ")", ";", "Hints", ".", "push_back", "(", "HintReg", ")", ";", "}", "break", ";", "}", "case", "PPC", "::", "BUILD_UACC", ":", "{", "ResultOp", "=", "&", "Use", ".", "getOperand", "(", "0", ")", ";", "ResultReg", "=", "ResultOp", "->", "getReg", "(", ")", ";", "if", "(", "MRI", "->", "getRegClass", "(", "ResultReg", ")", "->", "contains", "(", "PPC", "::", "ACC0", ")", "&&", "VRM", "->", "hasPhys", "(", "ResultReg", ")", ")", "{", "Register", "ACCPhys", "=", "VRM", "->", "getPhys", "(", "ResultReg", ")", ";", "assert", "(", "(", "ACCPhys", ">=", "PPC", "::", "ACC0", "&&", "ACCPhys", "<=", "PPC", "::", "ACC7", ")", "&&", "\"Expecting an ACC register for BUILD_UACC.\"", ")", ";", "Register", "HintReg", "=", "PPC", "::", "UACC0", "+", "(", "ACCPhys", "-", "PPC", "::", "ACC0", ")", ";", "Hints", ".", "push_back", "(", "HintReg", ")", ";", "}", "break", ";", "}", "}", "}", "return", "BaseImplRetVal", ";", "}", ""], "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": ["PowerPC", "PPC", "0", "PPC::UACC0", "PPC::BUILD_UACC", "0", "PPC::ACC0", "PPC::ACC0", "PPC::ACC7", "\"Expecting an ACC register for BUILD_UACC.\"", "PPC::UACC0", "PPC::ACC0"], "File": "PPCRegisterInfo52", "Func": "getRegAllocationHints", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7821, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86RegisterInfo", "::", "findDeadCallerSavedReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ")", "const", "{", "const", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "if", "(", "MF", "->", "callsEHReturn", "(", ")", ")", "return", "0", ";", "const", "TargetRegisterClass", "&", "AvailableRegs", "=", "*", "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", ";", "Register", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "if", "(", "!", "Reg", ")", "continue", ";", "for", "(", "MCRegAliasIterator", "AI", "(", "Reg", ",", "this", ",", "true", ")", ";", "AI", ".", "isValid", "(", ")", ";", "++", "AI", ")", "Uses", ".", "insert", "(", "*", "AI", ")", ";", "}", "for", "(", "auto", "CS", ":", "AvailableRegs", ")", "if", "(", "!", "Uses", ".", "count", "(", "CS", ")", "&&", "CS", "!=", "X86", "::", "RIP", "&&", "CS", "!=", "X86", "::", "RSP", "&&", "CS", "!=", "X86", "::", "ESP", ")", "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", "X86::RSP", "X86::ESP", "0"], "File": "X86RegisterInfo (2)1", "Func": "findDeadCallerSavedReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7822, "Length": 298, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "init_cumulative_args", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "tree", "fntype", ",", "rtx", "libname", "ATTRIBUTE_UNUSED", ",", "int", "incoming", ",", "int", "libcall", ",", "int", "n_named_args", ",", "tree", "fndecl", "ATTRIBUTE_UNUSED", ",", "machine_mode", "return_mode", "ATTRIBUTE_UNUSED", ")", "{", "static", "CUMULATIVE_ARGS", "zero_cumulative", ";", "*", "cum", "=", "zero_cumulative", ";", "cum", "->", "words", "=", "0", ";", "cum", "->", "fregno", "=", "FP_ARG_MIN_REG", ";", "cum", "->", "vregno", "=", "ALTIVEC_ARG_MIN_REG", ";", "cum", "->", "prototype", "=", "(", "fntype", "&&", "prototype_p", "(", "fntype", ")", ")", ";", "cum", "->", "call_cookie", "=", "(", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "libcall", ")", "?", "CALL_LIBCALL", ":", "CALL_NORMAL", ")", ";", "cum", "->", "sysv_gregno", "=", "GP_ARG_MIN_REG", ";", "cum", "->", "stdarg", "=", "stdarg_p", "(", "fntype", ")", ";", "cum", "->", "libcall", "=", "libcall", ";", "cum", "->", "nargs_prototype", "=", "0", ";", "if", "(", "incoming", "||", "cum", "->", "prototype", ")", "cum", "->", "nargs_prototype", "=", "n_named_args", ";", "if", "(", "(", "!", "fntype", "&&", "rs6000_default_long_calls", ")", "||", "(", "fntype", "&&", "lookup_attribute", "(", "\"longcall\"", ",", "TYPE_ATTRIBUTES", "(", "fntype", ")", ")", "&&", "!", "lookup_attribute", "(", "\"shortcall\"", ",", "TYPE_ATTRIBUTES", "(", "fntype", ")", ")", ")", ")", "cum", "->", "call_cookie", "|=", "CALL_LONG", ";", "if", "(", "TARGET_DEBUG_ARG", ")", "{", "fprintf", "(", "stderr", ",", "\"\\ninit_cumulative_args:\"", ")", ";", "if", "(", "fntype", ")", "{", "tree", "ret_type", "=", "TREE_TYPE", "(", "fntype", ")", ";", "fprintf", "(", "stderr", ",", "\" ret code = %s,\"", ",", "get_tree_code_name", "(", "TREE_CODE", "(", "ret_type", ")", ")", ")", ";", "}", "if", "(", "cum", "->", "call_cookie", "&", "CALL_LONG", ")", "fprintf", "(", "stderr", ",", "\" longcall,\"", ")", ";", "fprintf", "(", "stderr", ",", "\" proto = %d, nargs = %d\\n\"", ",", "cum", "->", "prototype", ",", "cum", "->", "nargs_prototype", ")", ";", "}", "if", "(", "TARGET_ELF", "&&", "(", "TARGET_64BIT", "||", "DEFAULT_ABI", "==", "ABI_V4", ")", ")", "{", "cum", "->", "escapes", "=", "call_ABI_of_interest", "(", "fndecl", ")", ";", "if", "(", "cum", "->", "escapes", ")", "{", "tree", "return_type", ";", "if", "(", "fntype", ")", "{", "return_type", "=", "TREE_TYPE", "(", "fntype", ")", ";", "return_mode", "=", "TYPE_MODE", "(", "return_type", ")", ";", "}", "else", "return_type", "=", "lang_hooks", ".", "types", ".", "type_for_mode", "(", "return_mode", ",", "0", ")", ";", "if", "(", "return_type", "!=", "NULL", ")", "{", "if", "(", "TREE_CODE", "(", "return_type", ")", "==", "RECORD_TYPE", "&&", "TYPE_TRANSPARENT_AGGR", "(", "return_type", ")", ")", "{", "return_type", "=", "TREE_TYPE", "(", "first_field", "(", "return_type", ")", ")", ";", "return_mode", "=", "TYPE_MODE", "(", "return_type", ")", ";", "}", "if", "(", "AGGREGATE_TYPE_P", "(", "return_type", ")", "&&", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "int_size_in_bytes", "(", "return_type", ")", "<=", "8", ")", ")", "rs6000_returns_struct", "=", "true", ";", "}", "if", "(", "SCALAR_FLOAT_MODE_P", "(", "return_mode", ")", ")", "{", "rs6000_passes_float", "=", "true", ";", "if", "(", "(", "HAVE_LD_PPC_GNU_ATTR_LONG_DOUBLE", "||", "TARGET_64BIT", ")", "&&", "(", "FLOAT128_IBM_P", "(", "return_mode", ")", "||", "FLOAT128_IEEE_P", "(", "return_mode", ")", "||", "(", "return_type", "!=", "NULL", "&&", "(", "TYPE_MAIN_VARIANT", "(", "return_type", ")", "==", "long_double_type_node", ")", ")", ")", ")", "rs6000_passes_long_double", "=", "true", ";", "}", "if", "(", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "return_mode", ")", "||", "SPE_VECTOR_MODE", "(", "return_mode", ")", ")", "rs6000_passes_vector", "=", "true", ";", "}", "}", "if", "(", "fntype", "&&", "!", "TARGET_ALTIVEC", "&&", "TARGET_ALTIVEC_ABI", "&&", "ALTIVEC_VECTOR_MODE", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "fntype", ")", ")", ")", ")", "{", "error", "(", "\"cannot return value in vector register because\"", "\" altivec instructions are disabled, use -maltivec\"", "\" to enable them\"", ")", ";", "}", "}", ""], "natrual_language": ["Handle", "the", "INIT_CUMULATIVE_ARGS", "macro", ".", "Initialize", "a", "variable", "CUM", "of", "type", "CUMULATIVE_ARGS", "for", "a", "call", "to", "a", "function", "whose", "data", "type", "is", "FNTYPE", ".", "For", "a", "library", "call", ",", "FNTYPE", "is", "0", "."], "TS_V_token": ["powerpcspe", "0", "0", "\"longcall\"", "\"shortcall\"", "\"\\ninit_cumulative_args:\"", "\" ret code = %s,\"", "\" longcall,\"", "\" proto = %d, nargs = %d\\n\"", "0", "8", "\"cannot return value in vector register because\"", "\" altivec instructions are disabled, use -maltivec\"", "\" to enable them\""], "File": "powerpcspe", "Func": "init_cumulative_args", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7823, "Length": 474, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SUnit", "*", "PPCPostRASchedStrategy", "::", "pickNode", "(", "bool", "&", "IsTopNode", ")", "{", "return", "PostGenericScheduler", "::", "pickNode", "(", "IsTopNode", ")", ";", "}", ""], "natrual_language": ["Pick", "the", "next", "node", "to", "schedule", ",", "or", "return", "NULL", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCMachineScheduler", "Func": "pickNode", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7824, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_use_mask_cmp_p", "(", "machine_mode", "mode", ",", "machine_mode", "cmp_mode", ",", "rtx", "op_true", ",", "rtx", "op_false", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "64", ")", "return", "true", ";", "gcc_assert", "(", "!", "op_true", "==", "!", "op_false", ")", ";", "if", "(", "!", "op_true", "||", "!", "ix86_valid_mask_cmp_mode", "(", "cmp_mode", ")", ")", "return", "false", ";", "if", "(", "op_false", "==", "CONST0_RTX", "(", "mode", ")", "||", "op_true", "==", "CONST0_RTX", "(", "mode", ")", "||", "(", "INTEGRAL_MODE_P", "(", "mode", ")", "&&", "(", "op_true", "==", "CONSTM1_RTX", "(", "mode", ")", "||", "op_false", "==", "CONSTM1_RTX", "(", "mode", ")", ")", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "integer", "mask", "comparison", "should", "be", "used", "."], "TS_V_token": ["i386", "64"], "File": "i386-expand1", "Func": "ix86_use_mask_cmp_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7825, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "AARCH64_SPECULATION_HARDENING_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64"], "File": "AArch64SpeculationHardening", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7826, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "OR1KRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["OR1K", "OR1K"], "File": "OR1KInstrInfo", "Func": "getRegisterInfo", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7827, "Length": 13, "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": ["CAHP"], "File": "CAHPRegisterInfo", "Func": "requiresRegisterScavenging", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7828, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86Subtarget", "&", "X86Subtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "TuneCPU", ",", "StringRef", "FS", ")", "{", "initSubtargetFeatures", "(", "CPU", ",", "TuneCPU", ",", "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": ["X86", "X86", "X86"], "File": "X86Subtarget3", "Func": "initializeSubtargetDependencies", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7829, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "unsigned", "*", "ARMBaseRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "static", "const", "unsigned", "CalleeSavedRegs", "[", "]", "=", "{", "ARM", "::", "LR", ",", "ARM", "::", "R11", ",", "ARM", "::", "R10", ",", "ARM", "::", "R9", ",", "ARM", "::", "R8", ",", "ARM", "::", "R7", ",", "ARM", "::", "R6", ",", "ARM", "::", "R5", ",", "ARM", "::", "R4", ",", "ARM", "::", "D15", ",", "ARM", "::", "D14", ",", "ARM", "::", "D13", ",", "ARM", "::", "D12", ",", "ARM", "::", "D11", ",", "ARM", "::", "D10", ",", "ARM", "::", "D9", ",", "ARM", "::", "D8", ",", "0", "}", ";", "static", "const", "unsigned", "DarwinCalleeSavedRegs", "[", "]", "=", "{", "ARM", "::", "LR", ",", "ARM", "::", "R7", ",", "ARM", "::", "R6", ",", "ARM", "::", "R5", ",", "ARM", "::", "R4", ",", "ARM", "::", "R11", ",", "ARM", "::", "R10", ",", "ARM", "::", "R8", ",", "ARM", "::", "D15", ",", "ARM", "::", "D14", ",", "ARM", "::", "D13", ",", "ARM", "::", "D12", ",", "ARM", "::", "D11", ",", "ARM", "::", "D10", ",", "ARM", "::", "D9", ",", "ARM", "::", "D8", ",", "0", "}", ";", "return", "STI", ".", "isTargetDarwin", "(", ")", "?", "DarwinCalleeSavedRegs", ":", "CalleeSavedRegs", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["ARM", "ARM", "ARM::LR", "ARM::R11", "ARM::R10", "ARM::R9", "ARM::R8", "ARM::R7", "ARM::R6", "ARM::R5", "ARM::R4", "ARM::D15", "ARM::D14", "ARM::D13", "ARM::D12", "ARM::D11", "ARM::D10", "ARM::D9", "ARM::D8", "0", "ARM::LR", "ARM::R7", "ARM::R6", "ARM::R5", "ARM::R4", "ARM::R11", "ARM::R10", "ARM::R8", "ARM::D15", "ARM::D14", "ARM::D13", "ARM::D12", "ARM::D11", "ARM::D10", "ARM::D9", "ARM::D8", "0"], "File": "ARMBaseRegisterInfo1", "Func": "getCalleeSavedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7830, "Length": 180, "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", "=", "isN64", "(", ")", "?", "Mips", "::", "GP_64", ":", "Mips", "::", "GP", ";", "EVT", "Ty", "=", "isN64", "(", ")", "?", "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", "(", ")", ".", "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": "MipsISelLowering62", "Func": "getOpndList", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7831, "Length": 375, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "pa_d_handle_target_object_format", "(", "void", ")", "{", "const", "char", "*", "objfmt", "=", "NULL", ";", "if", "(", "TARGET_SOM", ")", "objfmt", "=", "\"som\"", ";", "if", "(", "objfmt", "==", "NULL", ")", "return", "NULL_TREE", ";", "return", "build_string_literal", "(", "strlen", "(", "objfmt", ")", "+", "1", ",", "objfmt", ")", ";", "}", ""], "natrual_language": ["Handle", "a", "call", "to", "`", "__traits", "(", "getTargetInfo", ",", "``", "objectFormat", "''", ")", "'", "."], "TS_V_token": ["pa", "\"som\"", "1"], "File": "pa-d", "Func": "pa_d_handle_target_object_format", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7832, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86DAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "OptForSize", "=", "MF", "->", "getFunction", "(", ")", "->", "hasFnAttr", "(", "Attribute", "::", "OptimizeForSize", ")", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "I", "++", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", "||", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "TC_RETURN", ")", ")", "{", "bool", "HasCallSeq", "=", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", ";", "SDValue", "Chain", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Load", "=", "N", "->", "getOperand", "(", "1", ")", ";", "if", "(", "!", "isCalleeLoad", "(", "Load", ",", "Chain", ",", "HasCallSeq", ")", ")", "continue", ";", "MoveBelowOrigChain", "(", "CurDAG", ",", "Load", ",", "SDValue", "(", "N", ",", "0", ")", ",", "Chain", ")", ";", "++", "NumLoadMoved", ";", "continue", ";", "}", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_ROUND", "&&", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "EVT", "SrcVT", "=", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", ";", "EVT", "DstVT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "if", "(", "SrcVT", ".", "isVector", "(", ")", "||", "DstVT", ".", "isVector", "(", ")", ")", "continue", ";", "bool", "SrcIsSSE", "=", "X86Lowering", ".", "isScalarFPTypeInSSEReg", "(", "SrcVT", ")", ";", "bool", "DstIsSSE", "=", "X86Lowering", ".", "isScalarFPTypeInSSEReg", "(", "DstVT", ")", ";", "if", "(", "SrcIsSSE", "&&", "DstIsSSE", ")", "continue", ";", "if", "(", "!", "SrcIsSSE", "&&", "!", "DstIsSSE", ")", "{", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "if", "(", "N", "->", "getConstantOperandVal", "(", "1", ")", ")", "continue", ";", "}", "EVT", "MemVT", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_ROUND", ")", "MemVT", "=", "DstVT", ";", "else", "MemVT", "=", "SrcIsSSE", "?", "SrcVT", ":", "DstVT", ";", "SDValue", "MemTmp", "=", "CurDAG", "->", "CreateStackTemporary", "(", "MemVT", ")", ";", "DebugLoc", "dl", "=", "N", "->", "getDebugLoc", "(", ")", ";", "SDValue", "Store", "=", "CurDAG", "->", "getTruncStore", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "dl", ",", "N", "->", "getOperand", "(", "0", ")", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "SDValue", "Result", "=", "CurDAG", "->", "getExtLoad", "(", "ISD", "::", "EXTLOAD", ",", "dl", ",", "DstVT", ",", "Store", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "--", "I", ";", "CurDAG", "->", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "0", ")", ",", "Result", ")", ";", "++", "I", ";", "CurDAG", "->", "DeleteNode", "(", "N", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["X86", "X86", "X86ISD::CALL", "X86ISD::TC_RETURN", "X86ISD::CALL", "0", "1", "0", "ISD::FP_ROUND", "ISD::FP_EXTEND", "0", "0", "X86", "X86", "ISD::FP_EXTEND", "1", "ISD::FP_ROUND", "0", "0", "ISD::EXTLOAD", "0", "0"], "File": "X86ISelDAGToDAG130", "Func": "PreprocessISelDAG", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7833, "Length": 428, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsPassConfig", "::", "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": ["Mips", "Mips"], "File": "MipsTargetMachine (2)1", "Func": "addRegBankSelect", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7834, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTTIImpl", "::", "getNumberOfRegisters", "(", "bool", "Vector", ")", "{", "if", "(", "Vector", "&&", "!", "ST", "->", "hasAltivec", "(", ")", "&&", "!", "ST", "->", "hasQPX", "(", ")", ")", "return", "0", ";", "return", "ST", "->", "hasVSX", "(", ")", "?", "64", ":", "32", ";", "}", ""], "natrual_language": ["\ufffd", "?", "Vector", "TTI", "begin", "\ufffd", "?"], "TS_V_token": ["PowerPC", "PPC", "0", "64", "32"], "File": "PPCTargetTransformInfo", "Func": "getNumberOfRegisters", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7835, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetLowering", "::", "isLegalAddressingMode", "(", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ")", "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": "MipsISelLowering94", "Func": "isLegalAddressingMode", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7836, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "aarch64_asm_preferred_eh_data_format", "(", "int", "code", "ATTRIBUTE_UNUSED", ",", "int", "global", ")", "{", "int", "type", ";", "switch", "(", "aarch64_cmodel", ")", "{", "case", "AARCH64_CMODEL_TINY", ":", "case", "AARCH64_CMODEL_TINY_PIC", ":", "case", "AARCH64_CMODEL_SMALL", ":", "case", "AARCH64_CMODEL_SMALL_PIC", ":", "case", "AARCH64_CMODEL_SMALL_SPIC", ":", "type", "=", "DW_EH_PE_sdata4", ";", "break", ";", "default", ":", "type", "=", "DW_EH_PE_sdata8", ";", "break", ";", "}", "return", "(", "global", "?", "DW_EH_PE_indirect", ":", "0", ")", "|", "DW_EH_PE_pcrel", "|", "type", ";", "}", ""], "natrual_language": ["Select", "a", "format", "to", "encode", "pointers", "in", "exception", "handling", "data", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64", "Func": "aarch64_asm_preferred_eh_data_format", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7837, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_avoid_hazard", "(", "rtx_insn", "*", "after", ",", "rtx_insn", "*", "insn", ",", "int", "*", "hilo_delay", ",", "rtx", "*", "delayed_reg", ",", "rtx", "lo_reg", ",", "bool", "*", "fs_delay", ")", "{", "rtx", "pattern", ",", "set", ";", "int", "nops", ",", "ninsns", ";", "pattern", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pattern", ")", "==", "ASM_INPUT", "||", "asm_noperands", "(", "pattern", ")", ">=", "0", ")", "cfun", "->", "machine", "->", "all_noreorder_p", "=", "false", ";", "ninsns", "=", "get_attr_length", "(", "insn", ")", "/", "4", ";", "if", "(", "ninsns", "==", "0", ")", "return", ";", "if", "(", "*", "hilo_delay", "<", "2", "&&", "reg_set_p", "(", "lo_reg", ",", "pattern", ")", ")", "nops", "=", "2", "-", "*", "hilo_delay", ";", "else", "if", "(", "*", "delayed_reg", "!=", "0", "&&", "reg_referenced_p", "(", "*", "delayed_reg", ",", "pattern", ")", ")", "nops", "=", "1", ";", "else", "if", "(", "*", "fs_delay", "&&", "get_attr_can_delay", "(", "insn", ")", "==", "CAN_DELAY_NO", "&&", "GET_CODE", "(", "PATTERN", "(", "after", ")", ")", "!=", "SEQUENCE", "&&", "GET_CODE", "(", "pattern", ")", "!=", "ASM_INPUT", "&&", "asm_noperands", "(", "pattern", ")", "<", "0", ")", "nops", "=", "1", ";", "else", "nops", "=", "0", ";", "*", "hilo_delay", "+=", "nops", ";", "while", "(", "nops", "--", ">", "0", ")", "emit_insn_after", "(", "gen_hazard_nop", "(", ")", ",", "after", ")", ";", "*", "hilo_delay", "+=", "ninsns", ";", "*", "delayed_reg", "=", "0", ";", "*", "fs_delay", "=", "false", ";", "if", "(", "INSN_CODE", "(", "insn", ")", ">=", "0", ")", "switch", "(", "get_attr_hazard", "(", "insn", ")", ")", "{", "case", "HAZARD_NONE", ":", "break", ";", "case", "HAZARD_FORBIDDEN_SLOT", ":", "if", "(", "TARGET_CB_MAYBE", ")", "*", "fs_delay", "=", "true", ";", "break", ";", "case", "HAZARD_HILO", ":", "*", "hilo_delay", "=", "0", ";", "break", ";", "case", "HAZARD_DELAY", ":", "set", "=", "single_set", "(", "insn", ")", ";", "gcc_assert", "(", "set", ")", ";", "*", "delayed_reg", "=", "SET_DEST", "(", "set", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Subroutine", "of", "mips_reorg", ".", "If", "there", "is", "a", "hazard", "between", "INSN", "and", "a", "previous", "instruction", ",", "avoid", "it", "by", "inserting", "nops", "after", "instruction", "AFTER", ".", "*", "DELAYED_REG", "and", "*", "HILO_DELAY", "describe", "the", "hazards", "that", "apply", "at", "this", "point", ".", "If", "*", "DELAYED_REG", "is", "non-null", ",", "INSN", "must", "wait", "a", "cycle", "before", "using", "the", "value", "of", "that", "register", ".", "*", "HILO_DELAY", "counts", "the", "number", "of", "instructions", "since", "the", "last", "hilo", "hazard", "(", "that", "is", ",", "the", "number", "of", "instructions", "since", "the", "last", "mflo", "or", "mfhi", ")", ".", "After", "inserting", "nops", "for", "INSN", ",", "update", "*", "DELAYED_REG", "and", "*", "HILO_DELAY", "for", "the", "next", "instruction", ".", "LO_REG", "is", "an", "rtx", "for", "the", "LO", "register", ",", "used", "in", "dependence", "checking", "."], "TS_V_token": ["mips", "0", "4", "0", "2", "2", "0", "1", "0", "1", "0", "0", "0", "0", "0"], "File": "mips5", "Func": "mips_avoid_hazard", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7838, "Length": 282, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_get_set_operands", "(", "rtx", "producer", ",", "rtx", "consumer", ",", "rtx", "*", "set_source", ",", "rtx", "*", "set_destination", ")", "{", "rtx", "set_producer", "=", "arm_find_sub_rtx_with_code", "(", "PATTERN", "(", "producer", ")", ",", "SET", ",", "false", ")", ";", "rtx", "set_consumer", "=", "arm_find_sub_rtx_with_code", "(", "PATTERN", "(", "consumer", ")", ",", "SET", ",", "false", ")", ";", "if", "(", "set_producer", "&&", "set_consumer", ")", "{", "*", "set_source", "=", "SET_DEST", "(", "set_producer", ")", ";", "*", "set_destination", "=", "SET_SRC", "(", "set_consumer", ")", ";", "return", "1", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["PRODUCER", "and", "CONSUMER", "are", "two", "potentially", "dependant", "RTX", ".", "PRODUCER", "(", "possibly", ")", "contains", "a", "SET", "which", "will", "provide", "a", "result", "we", "can", "access", "using", "the", "SET_DEST", "macro", ".", "We", "will", "place", "the", "RTX", "which", "would", "be", "written", "by", "PRODUCER", "in", "SET_SOURCE", ".", "Similarly", ",", "CONSUMER", "(", "possibly", ")", "contains", "a", "SET", "which", "has", "an", "operand", "we", "can", "access", "using", "SET_SRC", ".", "We", "place", "this", "operand", "in", "SET_DESTINATION", ".", "Return", "nonzero", "if", "we", "found", "the", "SET", "RTX", "we", "expected", "."], "TS_V_token": ["arm", "1", "0"], "File": "aarch-common", "Func": "arm_get_set_operands", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7839, "Length": 80, "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", "(", "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": ["ARM64", "0"], "File": "ARM64AsmParser", "Func": "addExpr", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7840, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcFrameLowering18", "Func": "emitEpilogue", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7841, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "CSKYTargetLowering", "::", "getTargetNode", "(", "BlockAddressSDNode", "*", "N", ",", "SDLoc", "DL", ",", "EVT", "Ty", ",", "SelectionDAG", "&", "DAG", ",", "unsigned", "Flags", ")", "const", "{", "return", "DAG", ".", "getTargetBlockAddress", "(", "N", "->", "getBlockAddress", "(", ")", ",", "Ty", ",", "N", "->", "getOffset", "(", ")", ",", "Flags", ")", ";", "}", ""], "natrual_language": ["Retrieve", "the", "target", "node", "this", "edge", "connects", "to", "."], "TS_V_token": ["CSKY", "CSKY"], "File": "CSKYISelLowering", "Func": "getTargetNode", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7842, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ")", "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", "(", "Offset", ">=", "-", "(", "1LL", "<<", "9", ")", "&&", "Offset", "<=", "(", "1LL", "<<", "9", ")", "-", "1", ")", "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", "||", "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", "1LL", "9", "1LL", "9", "1", "0", "1LL", "12", "1", "1", "0"], "File": "AArch64ISelLowering (2)", "Func": "isLegalAddressingMode", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7843, "Length": 209, "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_MD_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": "rs6000", "Func": "rs6000_builtin_md_vectorized_function", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7844, "Length": 275, "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", "(", ")", ")", "{", "if", "(", "getARMSubtarget", "(", ")", ".", "restrictIT", "(", ")", "&&", "!", "getARMSubtarget", "(", ")", ".", "prefers32BitThumb", "(", ")", ")", "addPass", "(", "createThumb2SizeReductionPass", "(", ")", ")", ";", "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", "ARM", "ARM"], "File": "ARMTargetMachine27", "Func": "addPreSched2", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7845, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "core2i7_first_cycle_multipass_backtrack", "(", "const", "void", "*", "_data", ",", "signed", "char", "*", "ready_try", ",", "int", "n_ready", "ATTRIBUTE_UNUSED", ")", "{", "const_ix86_first_cycle_multipass_data_t", "data", "=", "(", "const_ix86_first_cycle_multipass_data_t", ")", "_data", ";", "unsigned", "int", "i", "=", "0", ";", "sbitmap_iterator", "sbi", ";", "gcc_assert", "(", "bitmap_last_set_bit", "(", "data", "->", "ready_try_change", ")", "<", "n_ready", ")", ";", "EXECUTE_IF_SET_IN_BITMAP", "(", "data", "->", "ready_try_change", ",", "0", ",", "i", ",", "sbi", ")", "{", "ready_try", "[", "i", "]", "=", "0", ";", "}", "}", ""], "natrual_language": ["Revert", "the", "effect", "on", "ready_try", "."], "TS_V_token": ["i386", "0", "0", "0"], "File": "i3864", "Func": "core2i7_first_cycle_multipass_backtrack", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7846, "Length": 70, "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": 7847, "Length": 62, "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", "std", "::", "min", "(", "Size", "/", "4", ",", "16U", ")", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "addresses", "by", "LDM", "or", "VLDM", "or", "zero", "for", "unknown", "."], "TS_V_token": ["ARM", "ARM", "0", "4", "16U"], "File": "ARMBaseInstrInfo10", "Func": "getNumLDMAddresses", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7848, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isMulAddWithConstProfitable", "(", "const", "SDValue", "&", "AddNode", ",", "const", "SDValue", "&", "ConstNode", ")", "const", "{", "const", "EVT", "VT", "=", "AddNode", ".", "getValueType", "(", ")", ";", "if", "(", "VT", ".", "isVector", "(", ")", "||", "VT", ".", "getScalarSizeInBits", "(", ")", ">", "32", ")", "return", "true", ";", "const", "ConstantSDNode", "*", "C0Node", "=", "cast", "<", "ConstantSDNode", ">", "(", "AddNode", ".", "getOperand", "(", "1", ")", ")", ";", "const", "ConstantSDNode", "*", "C1Node", "=", "cast", "<", "ConstantSDNode", ">", "(", "ConstNode", ")", ";", "const", "int64_t", "C0", "=", "C0Node", "->", "getSExtValue", "(", ")", ";", "APInt", "CA", "=", "C0Node", "->", "getAPIntValue", "(", ")", "*", "C1Node", "->", "getAPIntValue", "(", ")", ";", "if", "(", "!", "isLegalAddImmediate", "(", "C0", ")", "||", "isLegalAddImmediate", "(", "CA", ".", "getSExtValue", "(", ")", ")", ")", "return", "true", ";", "if", "(", "ConstantMaterializationCost", "(", "(", "unsigned", ")", "CA", ".", "getZExtValue", "(", ")", ",", "Subtarget", ")", ">", "1", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "may", "be", "profitable", "to", "transform", "(", "mul", "(", "add", "x", ",", "c1", ")", ",", "c2", ")", "-", ">", "(", "add", "(", "mul", "x", ",", "c2", ")", ",", "c1", "*", "c2", ")", "."], "TS_V_token": ["ARM", "ARM", "32", "1", "1"], "File": "ARMISelLowering (2)5", "Func": "isMulAddWithConstProfitable", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7849, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "replaceBranchWithTailCall", "(", "MachineBasicBlock", "&", "MBB", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "BranchCond", ",", "const", "MachineInstr", "&", "TailCall", ")", "const", "{", "assert", "(", "canMakeTailCallConditional", "(", "BranchCond", ",", "TailCall", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "end", "(", ")", ";", "while", "(", "I", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "--", "I", ";", "if", "(", "I", "->", "isDebugInstr", "(", ")", ")", "continue", ";", "if", "(", "!", "I", "->", "isBranch", "(", ")", ")", "assert", "(", "0", "&&", "\"Can't find the branch to replace!\"", ")", ";", "X86", "::", "CondCode", "CC", "=", "X86", "::", "getCondFromBranchOpc", "(", "I", "->", "getOpcode", "(", ")", ")", ";", "assert", "(", "BranchCond", ".", "size", "(", ")", "==", "1", ")", ";", "if", "(", "CC", "!=", "BranchCond", "[", "0", "]", ".", "getImm", "(", ")", ")", "continue", ";", "break", ";", "}", "unsigned", "Opc", "=", "TailCall", ".", "getOpcode", "(", ")", "==", "X86", "::", "TCRETURNdi", "?", "X86", "::", "TCRETURNdicc", ":", "X86", "::", "TCRETURNdi64cc", ";", "auto", "MIB", "=", "BuildMI", "(", "MBB", ",", "I", ",", "MBB", ".", "findDebugLoc", "(", "I", ")", ",", "get", "(", "Opc", ")", ")", ";", "MIB", "->", "addOperand", "(", "TailCall", ".", "getOperand", "(", "0", ")", ")", ";", "MIB", ".", "addImm", "(", "0", ")", ";", "MIB", "->", "addOperand", "(", "BranchCond", "[", "0", "]", ")", ";", "MIB", ".", "copyImplicitOps", "(", "TailCall", ")", ";", "LivePhysRegs", "LiveRegs", "(", "getRegisterInfo", "(", ")", ")", ";", "LiveRegs", ".", "addLiveOuts", "(", "MBB", ")", ";", "SmallVector", "<", "std", "::", "pair", "<", "unsigned", ",", "const", "MachineOperand", "*", ">", ",", "8", ">", "Clobbers", ";", "LiveRegs", ".", "stepForward", "(", "*", "MIB", ",", "Clobbers", ")", ";", "for", "(", "const", "auto", "&", "C", ":", "Clobbers", ")", "{", "MIB", ".", "addReg", "(", "C", ".", "first", ",", "RegState", "::", "Implicit", ")", ";", "MIB", ".", "addReg", "(", "C", ".", "first", ",", "RegState", "::", "Implicit", "|", "RegState", "::", "Define", ")", ";", "}", "I", "->", "eraseFromParent", "(", ")", ";", "}", ""], "natrual_language": ["Replace", "the", "conditional", "branch", "in", "MBB", "with", "a", "conditional", "tail", "call", "."], "TS_V_token": ["X86", "X86", "0", "\"Can't find the branch to replace!\"", "X86::CondCode", "X86::getCondFromBranchOpc", "1", "0", "X86::TCRETURNdi", "X86::TCRETURNdicc", "X86::TCRETURNdi64cc", "0", "0", "0", "8"], "File": "X86InstrInfo", "Func": "replaceBranchWithTailCall", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7850, "Length": 298, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86WinAllocaExpander", "::", "lower", "(", "MachineInstr", "*", "MI", ",", "Lowering", "L", ")", "{", "const", "DebugLoc", "&", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineBasicBlock", "*", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "*", "MI", ";", "int64_t", "Amount", "=", "getWinAllocaAmount", "(", "MI", ",", "MRI", ")", ";", "if", "(", "Amount", "==", "0", ")", "{", "MI", "->", "eraseFromParent", "(", ")", ";", "return", ";", "}", "bool", "Is64Bit", "=", "STI", "->", "is64Bit", "(", ")", ";", "bool", "Is64BitAlloca", "=", "MI", "->", "getOpcode", "(", ")", "==", "X86", "::", "WIN_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::WIN_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": "X86WinAllocaExpander7", "Func": "lower", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7851, "Length": 466, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_is_opaque_type", "(", "tree", "type", ")", "{", "return", "(", "type", "==", "opaque_V2SI_type_node", "||", "type", "==", "opaque_V2SF_type_node", "||", "type", "==", "opaque_p_V2SI_type_node", "||", "type", "==", "opaque_V4SI_type_node", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "TYPE", "is", "a", "SPE", "or", "AltiVec", "opaque", "type", "."], "TS_V_token": ["rs6000"], "File": "rs60003", "Func": "rs6000_is_opaque_type", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7852, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isLegalAddressingMode", "(", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ")", "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", "=", "getDataLayout", "(", ")", "->", "getTypeSizeInBits", "(", "Ty", ")", ";", "NumBytes", "=", "NumBits", "/", "8", ";", "if", "(", "!", "isPowerOf2_64", "(", "NumBits", ")", ")", "NumBytes", "=", "0", ";", "}", "if", "(", "!", "AM", ".", "Scale", ")", "{", "int64_t", "Offset", "=", "AM", ".", "BaseOffs", ";", "if", "(", "Offset", ">=", "-", "(", "1LL", "<<", "9", ")", "&&", "Offset", "<=", "(", "1LL", "<<", "9", ")", "-", "1", ")", "return", "true", ";", "unsigned", "shift", "=", "Log2_64", "(", "NumBytes", ")", ";", "if", "(", "NumBytes", "&&", "Offset", ">", "0", "&&", "(", "Offset", "/", "NumBytes", ")", "<=", "(", "1LL", "<<", "12", ")", "-", "1", "&&", "(", "Offset", ">>", "shift", ")", "<<", "shift", "==", "Offset", ")", "return", "true", ";", "return", "false", ";", "}", "if", "(", "!", "AM", ".", "Scale", "||", "AM", ".", "Scale", "==", "1", "||", "(", "AM", ".", "Scale", ">", "0", "&&", "(", "uint64_t", ")", "AM", ".", "Scale", "==", "NumBytes", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "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", "1LL", "9", "1LL", "9", "1", "0", "1LL", "12", "1", "1", "0"], "File": "AArch64ISelLowering116", "Func": "isLegalAddressingMode", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7853, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "VEFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "MachineInstr", "&", "MI", "=", "*", "I", ";", "int", "Size", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "VE", "::", "ADJCALLSTACKDOWN", ")", "Size", "=", "-", "Size", ";", "if", "(", "Size", ")", "emitSPAdjustment", "(", "MF", ",", "MBB", ",", "I", ",", "Size", ")", ";", "}", "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": ["VE", "VE", "0", "VE::ADJCALLSTACKDOWN"], "File": "VEFrameLowering1", "Func": "eliminateCallFramePseudoInstr", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7854, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_issue_rate", "(", "void", ")", "{", "switch", "(", "ix86_tune", ")", "{", "case", "PROCESSOR_PENTIUM", ":", "case", "PROCESSOR_BONNELL", ":", "case", "PROCESSOR_SILVERMONT", ":", "case", "PROCESSOR_KNL", ":", "case", "PROCESSOR_INTEL", ":", "case", "PROCESSOR_K6", ":", "case", "PROCESSOR_BTVER2", ":", "case", "PROCESSOR_PENTIUM4", ":", "case", "PROCESSOR_NOCONA", ":", "return", "2", ";", "case", "PROCESSOR_PENTIUMPRO", ":", "case", "PROCESSOR_ATHLON", ":", "case", "PROCESSOR_K8", ":", "case", "PROCESSOR_AMDFAM10", ":", "case", "PROCESSOR_GENERIC", ":", "case", "PROCESSOR_BTVER1", ":", "return", "3", ";", "case", "PROCESSOR_BDVER1", ":", "case", "PROCESSOR_BDVER2", ":", "case", "PROCESSOR_BDVER3", ":", "case", "PROCESSOR_BDVER4", ":", "case", "PROCESSOR_CORE2", ":", "case", "PROCESSOR_NEHALEM", ":", "case", "PROCESSOR_SANDYBRIDGE", ":", "case", "PROCESSOR_HASWELL", ":", "return", "4", ";", "default", ":", "return", "1", ";", "}", "}", ""], "natrual_language": ["Return", "the", "maximum", "number", "of", "instructions", "a", "cpu", "can", "issue", "."], "TS_V_token": ["i386", "2", "3", "4", "1"], "File": "i3864", "Func": "ix86_issue_rate", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7855, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DEBUG_FUNCTION", "void", "rs6000_debug_print_mode", "(", "ssize_t", "m", ")", "{", "ssize_t", "rc", ";", "fprintf", "(", "stderr", ",", "\"Mode: %-5s\"", ",", "GET_MODE_NAME", "(", "m", ")", ")", ";", "for", "(", "rc", "=", "0", ";", "rc", "<", "N_RELOAD_REG", ";", "rc", "++", ")", "fprintf", "(", "stderr", ",", "\" %s: %s\"", ",", "reload_reg_map", "[", "rc", "]", ".", "name", ",", "rs6000_debug_addr_mask", "(", "reg_addr", "[", "m", "]", ".", "addr_mask", "[", "rc", "]", ",", "true", ")", ")", ";", "if", "(", "rs6000_vector_unit", "[", "m", "]", "!=", "VECTOR_NONE", "||", "rs6000_vector_mem", "[", "m", "]", "!=", "VECTOR_NONE", "||", "(", "reg_addr", "[", "m", "]", ".", "reload_store", "!=", "CODE_FOR_nothing", ")", "||", "(", "reg_addr", "[", "m", "]", ".", "reload_load", "!=", "CODE_FOR_nothing", ")", "||", "reg_addr", "[", "m", "]", ".", "scalar_in_vmx_p", ")", "{", "fprintf", "(", "stderr", ",", "\" Vector-arith=%-10s Vector-mem=%-10s Reload=%c%c Upper=%c\"", ",", "rs6000_debug_vector_unit", "(", "rs6000_vector_unit", "[", "m", "]", ")", ",", "rs6000_debug_vector_unit", "(", "rs6000_vector_mem", "[", "m", "]", ")", ",", "(", "reg_addr", "[", "m", "]", ".", "reload_store", "!=", "CODE_FOR_nothing", ")", "?", "'s'", ":", "'*'", ",", "(", "reg_addr", "[", "m", "]", ".", "reload_load", "!=", "CODE_FOR_nothing", ")", "?", "'l'", ":", "'*'", ",", "(", "reg_addr", "[", "m", "]", ".", "scalar_in_vmx_p", ")", "?", "'y'", ":", "'n'", ")", ";", "}", "fputs", "(", "\"\\n\"", ",", "stderr", ")", ";", "}", ""], "natrual_language": ["Print", "the", "address", "masks", "in", "a", "human", "readble", "fashion", "."], "TS_V_token": ["rs6000", "\"Mode: %-5s\"", "0", "\" %s: %s\"", "\" Vector-arith=%-10s Vector-mem=%-10s Reload=%c%c Upper=%c\"", "\"\\n\""], "File": "rs60004", "Func": "rs6000_debug_print_mode", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7856, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_vector_shift_count", "(", "tree", "arg1", ")", "{", "if", "(", "tree_fits_uhwi_p", "(", "arg1", ")", ")", "return", "arg1", ";", "else", "if", "(", "TREE_CODE", "(", "arg1", ")", "==", "VECTOR_CST", "&&", "CHAR_BIT", "==", "8", ")", "{", "unsigned", "char", "buf", "[", "16", "]", ";", "int", "len", "=", "native_encode_expr", "(", "arg1", ",", "buf", ",", "16", ")", ";", "if", "(", "len", "==", "0", ")", "return", "NULL_TREE", ";", "tree", "t", "=", "native_interpret_expr", "(", "uint64_type_node", ",", "buf", ",", "len", ")", ";", "if", "(", "t", "&&", "tree_fits_uhwi_p", "(", "t", ")", ")", "return", "t", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Return", "the", "shift", "count", "of", "a", "vector", "by", "scalar", "shift", "builtin", "second", "argument", "ARG1", "."], "TS_V_token": ["i386", "8", "16", "16", "0"], "File": "i386", "Func": "ix86_vector_shift_count", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7857, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "emitFrameDirective", "(", ")", "{", "const", "TargetRegisterInfo", "&", "RI", "=", "*", "TM", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "stackReg", "=", "RI", ".", "getFrameRegister", "(", "*", "MF", ")", ";", "unsigned", "returnReg", "=", "RI", ".", "getRARegister", "(", ")", ";", "unsigned", "stackSize", "=", "MF", "->", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "\"\\t.frame\\t$\"", "+", "Twine", "(", "LowercaseString", "(", "MipsInstPrinter", "::", "getRegisterName", "(", "stackReg", ")", ")", ")", "+", "\",\"", "+", "Twine", "(", "stackSize", ")", "+", "\",$\"", "+", "Twine", "(", "LowercaseString", "(", "MipsInstPrinter", "::", "getRegisterName", "(", "returnReg", ")", ")", ")", ")", ";", "}", ""], "natrual_language": ["Frame", "Directive", "."], "TS_V_token": ["Mips", "Mips", "\"\\t.frame\\t$\"", "Mips", "\",\"", "\",$\"", "Mips"], "File": "MipsAsmPrinter89", "Func": "emitFrameDirective", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7858, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "MachineModuleInfo", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["PowerPC"], "File": "PPCCodeEmitter", "Func": "getAnalysisUsage", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7859, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "dump", "(", ")", "{", "errs", "(", ")", "<<", "\"SystemZRRIAddressMode \"", "<<", "this", "<<", "'\\n'", ";", "if", "(", "BaseType", "==", "RegBase", ")", "{", "errs", "(", ")", "<<", "\"Base.Reg \"", ";", "if", "(", "Base", ".", "Reg", ".", "getNode", "(", ")", "!=", "0", ")", "Base", ".", "Reg", ".", "getNode", "(", ")", "->", "dump", "(", ")", ";", "else", "errs", "(", ")", "<<", "\"nul\"", ";", "errs", "(", ")", "<<", "'\\n'", ";", "}", "else", "{", "errs", "(", ")", "<<", "\" Base.FrameIndex \"", "<<", "Base", ".", "FrameIndex", "<<", "'\\n'", ";", "}", "if", "(", "!", "isRI", ")", "{", "errs", "(", ")", "<<", "\"IndexReg \"", ";", "if", "(", "IndexReg", ".", "getNode", "(", ")", "!=", "0", ")", "IndexReg", ".", "getNode", "(", ")", "->", "dump", "(", ")", ";", "else", "errs", "(", ")", "<<", "\"nul\"", ";", "}", "errs", "(", ")", "<<", "\" 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": "SystemZISelDAGToDAG16", "Func": "dump", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7860, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_expand_vector_init", "(", "rtx", "target", ",", "rtx", "vals", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "target", ")", ";", "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", ";", "rtx", "x", ",", "mem", ";", "int", "i", ";", "x", "=", "XVECEXP", "(", "vals", ",", "0", ",", "0", ")", ";", "if", "(", "!", "CONST_INT_P", "(", "x", ")", "&&", "!", "CONST_DOUBLE_P", "(", "x", ")", ")", "n_var", "=", "1", ",", "one_var", "=", "0", ";", "for", "(", "i", "=", "1", ";", "i", "<", "n_elts", ";", "++", "i", ")", "{", "x", "=", "XVECEXP", "(", "vals", ",", "0", ",", "i", ")", ";", "if", "(", "!", "CONST_INT_P", "(", "x", ")", "&&", "!", "CONST_DOUBLE_P", "(", "x", ")", ")", "++", "n_var", ",", "one_var", "=", "i", ";", "if", "(", "!", "rtx_equal_p", "(", "x", ",", "XVECEXP", "(", "vals", ",", "0", ",", "0", ")", ")", ")", "all_same", "=", "false", ";", "}", "if", "(", "n_var", "==", "0", ")", "{", "rtx", "constant", "=", "aarch64_simd_make_constant", "(", "vals", ")", ";", "if", "(", "constant", "!=", "NULL_RTX", ")", "{", "emit_move_insn", "(", "target", ",", "constant", ")", ";", "return", ";", "}", "}", "if", "(", "all_same", ")", "{", "x", "=", "copy_to_mode_reg", "(", "inner_mode", ",", "XVECEXP", "(", "vals", ",", "0", ",", "0", ")", ")", ";", "aarch64_emit_move", "(", "target", ",", "gen_rtx_VEC_DUPLICATE", "(", "mode", ",", "x", ")", ")", ";", "return", ";", "}", "if", "(", "n_var", "==", "1", ")", "{", "rtx", "copy", "=", "copy_rtx", "(", "vals", ")", ";", "rtx", "index", "=", "GEN_INT", "(", "one_var", ")", ";", "enum", "insn_code", "icode", ";", "XVECEXP", "(", "copy", ",", "0", ",", "one_var", ")", "=", "XVECEXP", "(", "vals", ",", "0", ",", "one_var", "^", "1", ")", ";", "aarch64_expand_vector_init", "(", "target", ",", "copy", ")", ";", "x", "=", "copy_to_mode_reg", "(", "inner_mode", ",", "XVECEXP", "(", "vals", ",", "0", ",", "one_var", ")", ")", ";", "icode", "=", "optab_handler", "(", "vec_set_optab", ",", "mode", ")", ";", "gcc_assert", "(", "icode", "!=", "CODE_FOR_nothing", ")", ";", "emit_insn", "(", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "x", ",", "index", ")", ")", ";", "return", ";", "}", "mem", "=", "assign_stack_temp", "(", "mode", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n_elts", ";", "i", "++", ")", "emit_move_insn", "(", "adjust_address_nv", "(", "mem", ",", "inner_mode", ",", "i", "*", "GET_MODE_SIZE", "(", "inner_mode", ")", ")", ",", "XVECEXP", "(", "vals", ",", "0", ",", "i", ")", ")", ";", "emit_move_insn", "(", "target", ",", "mem", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "vector", "initialisation", "sequence", ",", "such", "that", "TARGET", "is", "initialised", "to", "contain", "VALS", "."], "TS_V_token": ["aarch64", "0", "1", "0", "0", "1", "0", "1", "0", "0", "0", "0", "0", "0", "1", "0", "0", "1", "0", "0", "0"], "File": "aarch642", "Func": "aarch64_expand_vector_init", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7861, "Length": 390, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86Subtarget", "::", "X86Subtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "X86TargetMachine", "&", "TM", ",", "unsigned", "StackAlignOverride", ")", ":", "X86GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "X86ProcFamily", "(", "Others", ")", ",", "PICStyle", "(", "PICStyles", "::", "None", ")", ",", "TargetTriple", "(", "TT", ")", ",", "DL", "(", "computeDataLayout", "(", "TargetTriple", ")", ")", ",", "StackAlignOverride", "(", "StackAlignOverride", ")", ",", "In64BitMode", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", ",", "In32BitMode", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "x86", "&&", "TargetTriple", ".", "getEnvironment", "(", ")", "!=", "Triple", "::", "CODE16", ")", ",", "In16BitMode", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "x86", "&&", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "CODE16", ")", ",", "TSInfo", "(", "DL", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ")", ")", ",", "TLInfo", "(", "TM", ")", ",", "FrameLowering", "(", "TargetFrameLowering", "::", "StackGrowsDown", ",", "getStackAlignment", "(", ")", ",", "is64Bit", "(", ")", "?", "-", "8", ":", "-", "4", ")", "{", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", "{", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "is64Bit", "(", ")", ")", "{", "setPICStyle", "(", "PICStyles", "::", "RIPRel", ")", ";", "}", "else", "if", "(", "isTargetCOFF", "(", ")", ")", "{", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "setPICStyle", "(", "PICStyles", "::", "StubPIC", ")", ";", "else", "{", "assert", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "DynamicNoPIC", ")", ";", "setPICStyle", "(", "PICStyles", "::", "StubDynamicNoPIC", ")", ";", "}", "}", "else", "if", "(", "isTargetELF", "(", ")", ")", "{", "setPICStyle", "(", "PICStyles", "::", "GOT", ")", ";", "}", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86", "8", "4"], "File": "X86Subtarget103", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7862, "Length": 293, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "ix86_local_alignment", "(", "tree", "exp", ",", "machine_mode", "mode", ",", "unsigned", "int", "align", ",", "bool", "may_lower", ")", "{", "tree", "type", ",", "decl", ";", "if", "(", "exp", "&&", "DECL_P", "(", "exp", ")", ")", "{", "type", "=", "TREE_TYPE", "(", "exp", ")", ";", "decl", "=", "exp", ";", "}", "else", "{", "type", "=", "exp", ";", "decl", "=", "NULL", ";", "}", "if", "(", "may_lower", "&&", "!", "TARGET_64BIT", "&&", "align", "==", "64", "&&", "ix86_preferred_stack_boundary", "<", "64", "&&", "(", "mode", "==", "DImode", "||", "(", "type", "&&", "TYPE_MODE", "(", "type", ")", "==", "DImode", ")", ")", "&&", "(", "!", "type", "||", "(", "!", "TYPE_USER_ALIGN", "(", "type", ")", "&&", "!", "TYPE_ATOMIC", "(", "strip_array_types", "(", "type", ")", ")", ")", ")", "&&", "(", "!", "decl", "||", "!", "DECL_USER_ALIGN", "(", "decl", ")", ")", ")", "align", "=", "32", ";", "if", "(", "!", "type", ")", "{", "if", "(", "mode", "==", "XFmode", "&&", "align", "<", "GET_MODE_ALIGNMENT", "(", "DFmode", ")", ")", "align", "=", "GET_MODE_ALIGNMENT", "(", "DFmode", ")", ";", "return", "align", ";", "}", "if", "(", "TARGET_IAMCU", ")", "return", "align", ";", "if", "(", "TARGET_64BIT", "&&", "optimize_function_for_speed_p", "(", "cfun", ")", "&&", "TARGET_SSE", ")", "{", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "(", "va_list_type_node", "==", "NULL_TREE", "||", "(", "TYPE_MAIN_VARIANT", "(", "type", ")", "!=", "TYPE_MAIN_VARIANT", "(", "va_list_type_node", ")", ")", ")", "&&", "TYPE_SIZE", "(", "type", ")", "&&", "TREE_CODE", "(", "TYPE_SIZE", "(", "type", ")", ")", "==", "INTEGER_CST", "&&", "wi", "::", "geu_p", "(", "wi", "::", "to_wide", "(", "TYPE_SIZE", "(", "type", ")", ")", ",", "128", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "if", "(", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", ")", "{", "if", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "type", ")", ")", "==", "DFmode", "&&", "align", "<", "64", ")", "return", "64", ";", "if", "(", "ALIGN_MODE_128", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "type", ")", ")", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "else", "if", "(", "TREE_CODE", "(", "type", ")", "==", "COMPLEX_TYPE", ")", "{", "if", "(", "TYPE_MODE", "(", "type", ")", "==", "DCmode", "&&", "align", "<", "64", ")", "return", "64", ";", "if", "(", "(", "TYPE_MODE", "(", "type", ")", "==", "XCmode", "||", "TYPE_MODE", "(", "type", ")", "==", "TCmode", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "else", "if", "(", "(", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "UNION_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "QUAL_UNION_TYPE", ")", "&&", "TYPE_FIELDS", "(", "type", ")", ")", "{", "if", "(", "DECL_MODE", "(", "TYPE_FIELDS", "(", "type", ")", ")", "==", "DFmode", "&&", "align", "<", "64", ")", "return", "64", ";", "if", "(", "ALIGN_MODE_128", "(", "DECL_MODE", "(", "TYPE_FIELDS", "(", "type", ")", ")", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "else", "if", "(", "TREE_CODE", "(", "type", ")", "==", "REAL_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "INTEGER_TYPE", ")", "{", "if", "(", "TYPE_MODE", "(", "type", ")", "==", "DFmode", "&&", "align", "<", "64", ")", "return", "64", ";", "if", "(", "ALIGN_MODE_128", "(", "TYPE_MODE", "(", "type", ")", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "return", "align", ";", "}", ""], "natrual_language": ["Compute", "the", "alignment", "for", "a", "local", "variable", ".", "TYPE", "is", "the", "data", "type", ",", "and", "ALIGN", "is", "the", "alignment", "that", "the", "object", "would", "ordinarily", "have", ".", "The", "value", "of", "this", "macro", "is", "used", "instead", "of", "that", "alignment", "to", "align", "the", "object", "."], "TS_V_token": ["i386", "64", "64", "32", "128", "128", "128", "64", "64", "128", "128", "64", "64", "128", "128", "64", "64", "128", "128", "64", "64", "128", "128"], "File": "i386", "Func": "ix86_local_alignment", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7863, "Length": 477, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rx_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", ")", "{", "return", "REGNO_REG_CLASS", "(", "regno", ")", "==", "GR_REGS", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_MODE_OK", "."], "TS_V_token": ["rx"], "File": "rx", "Func": "rx_hard_regno_mode_ok", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7864, "Length": 20, "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", "=", "(", "RC", "->", "getSize", "(", ")", "/", "8", ")", "==", "32", "?", "32", ":", "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", "8", "32", "32", "16"], "File": "X86InstrInfo47", "Func": "loadRegFromStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7865, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "isFrameLoadOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", "if", "(", "isFrameOperand", "(", "MI", ",", "1", ",", "FrameIndex", ")", ")", "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": ["X86", "X86", "1", "0", "0"], "File": "X86InstrInfo134", "Func": "isLoadFromStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7866, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "SystemZTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "OPCODE", "(", "RET_FLAG", ")", ";", "OPCODE", "(", "CALL", ")", ";", "OPCODE", "(", "SIBCALL", ")", ";", "OPCODE", "(", "PCREL_WRAPPER", ")", ";", "OPCODE", "(", "PCREL_OFFSET", ")", ";", "OPCODE", "(", "IABS", ")", ";", "OPCODE", "(", "ICMP", ")", ";", "OPCODE", "(", "FCMP", ")", ";", "OPCODE", "(", "TM", ")", ";", "OPCODE", "(", "BR_CCMASK", ")", ";", "OPCODE", "(", "SELECT_CCMASK", ")", ";", "OPCODE", "(", "ADJDYNALLOC", ")", ";", "OPCODE", "(", "EXTRACT_ACCESS", ")", ";", "OPCODE", "(", "UMUL_LOHI64", ")", ";", "OPCODE", "(", "SDIVREM64", ")", ";", "OPCODE", "(", "UDIVREM32", ")", ";", "OPCODE", "(", "UDIVREM64", ")", ";", "OPCODE", "(", "MVC", ")", ";", "OPCODE", "(", "MVC_LOOP", ")", ";", "OPCODE", "(", "NC", ")", ";", "OPCODE", "(", "NC_LOOP", ")", ";", "OPCODE", "(", "OC", ")", ";", "OPCODE", "(", "OC_LOOP", ")", ";", "OPCODE", "(", "XC", ")", ";", "OPCODE", "(", "XC_LOOP", ")", ";", "OPCODE", "(", "CLC", ")", ";", "OPCODE", "(", "CLC_LOOP", ")", ";", "OPCODE", "(", "STRCMP", ")", ";", "OPCODE", "(", "STPCPY", ")", ";", "OPCODE", "(", "SEARCH_STRING", ")", ";", "OPCODE", "(", "IPM", ")", ";", "OPCODE", "(", "SERIALIZE", ")", ";", "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", ")", ";", "OPCODE", "(", "PREFETCH", ")", ";", "}", "return", "NULL", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZISelLowering36", "Func": "getTargetNodeName", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7867, "Length": 247, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "fusion_load_store", "(", "rtx_insn", "*", "insn", ",", "rtx", "*", "base", ",", "rtx", "*", "offset", ",", "bool", "*", "is_load", ")", "{", "rtx", "x", ",", "dest", ",", "src", ";", "gcc_assert", "(", "INSN_P", "(", "insn", ")", ")", ";", "x", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "SET", ")", "return", "false", ";", "src", "=", "SET_SRC", "(", "x", ")", ";", "dest", "=", "SET_DEST", "(", "x", ")", ";", "if", "(", "REG_P", "(", "src", ")", "&&", "MEM_P", "(", "dest", ")", ")", "{", "*", "is_load", "=", "false", ";", "extract_base_offset_in_addr", "(", "dest", ",", "base", ",", "offset", ")", ";", "}", "else", "if", "(", "MEM_P", "(", "src", ")", "&&", "REG_P", "(", "dest", ")", ")", "{", "*", "is_load", "=", "true", ";", "extract_base_offset_in_addr", "(", "src", ",", "base", ",", "offset", ")", ";", "}", "else", "return", "false", ";", "return", "(", "*", "base", "!=", "NULL_RTX", "&&", "*", "offset", "!=", "NULL_RTX", ")", ";", "}", ""], "natrual_language": ["If", "INSN", "is", "a", "load", "or", "store", "of", "address", "in", "the", "form", "of", "[", "base+offset", "]", ",", "extract", "the", "two", "parts", "and", "set", "to", "BASE", "and", "OFFSET", ".", "IS_LOAD", "is", "set", "to", "TRUE", "if", "it", "'s", "a", "load", ".", "Return", "TRUE", "if", "INSN", "is", "such", "an", "instruction", ",", "otherwise", "return", "FALSE", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "fusion_load_store", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7868, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "{", "if", "(", "ExtraCode", "[", "1", "]", "!=", "0", ")", "return", "true", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "default", ":", "return", "true", ";", "case", "'a'", ":", "if", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "isReg", "(", ")", ")", "{", "O", "<<", "\"[\"", "<<", "getRegisterName", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "getReg", "(", ")", ")", "<<", "\"]\"", ";", "return", "false", ";", "}", "case", "'c'", ":", "if", "(", "!", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "isImm", "(", ")", ")", "return", "true", ";", "printNoHashImmediate", "(", "MI", ",", "OpNum", ",", "O", ")", ";", "return", "false", ";", "case", "'P'", ":", "case", "'q'", ":", "printOperand", "(", "MI", ",", "OpNum", ",", "O", ")", ";", "return", "false", ";", "case", "'Q'", ":", "case", "'R'", ":", "case", "'H'", ":", "report_fatal_error", "(", "\"llvm does not support 'Q', 'R', and 'H' modifiers!\"", ")", ";", "return", "true", ";", "}", "}", "printOperand", "(", "MI", ",", "OpNum", ",", "O", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["ARM", "ARM", "0", "1", "0", "0", "\"[\"", "\"]\"", "\"llvm does not support 'Q', 'R', and 'H' modifiers!\""], "File": "ARMAsmPrinter29", "Func": "PrintAsmOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7869, "Length": 184, "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", "(", "ix86_gen_add3", "(", "pic_offset_table_rtx", ",", "pic_offset_table_rtx", ",", "tmp_reg", ")", ")", ";", "}", ""], "natrual_language": ["Initialize", "large", "model", "PIC", "register", "."], "TS_V_token": ["i386", "1"], "File": "i3864", "Func": "ix86_init_large_pic_reg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7870, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "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", "(", "parseOperand", "(", "Operands", ",", "Name", ")", ")", "{", "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": ["SystemZ", "SystemZ", "SystemZ", "\"unexpected token in argument list\""], "File": "SystemZAsmParser (2)1", "Func": "ParseInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7871, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "LanaiTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PassManager", ")", "{", "return", "new", "LanaiPassConfig", "(", "*", "this", ",", "&", "PassManager", ")", ";", "}", ""], "natrual_language": ["Create", "a", "pass", "configuration", "object", "to", "be", "used", "by", "addPassToEmitX", "methods", "for", "generating", "a", "pipeline", "of", "CodeGen", "passes", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai"], "File": "LanaiTargetMachine", "Func": "createPassConfig", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7872, "Length": 23, "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_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_vcmpgtub_p", ":", "case", "Intrinsic", "::", "ppc_altivec_vcmpgtuh_p", ":", "case", "Intrinsic", "::", "ppc_altivec_vcmpgtuw_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_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_vcmpgtub_p", "Intrinsic::ppc_altivec_vcmpgtuh_p", "Intrinsic::ppc_altivec_vcmpgtuw_p", "1U"], "File": "PPCISelLowering148", "Func": "computeKnownBitsForTargetNode", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7873, "Length": 197, "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": 7874, "Length": 338, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBank", "&", "ARMRegisterBankInfo", "::", "getRegBankFromRegClass", "(", "const", "TargetRegisterClass", "&", "RC", ",", "LLT", ")", "const", "{", "using", "namespace", "ARM", ";", "switch", "(", "RC", ".", "getID", "(", ")", ")", "{", "case", "GPRRegClassID", ":", "case", "GPRwithAPSRRegClassID", ":", "case", "GPRnopcRegClassID", ":", "case", "rGPRRegClassID", ":", "case", "GPRspRegClassID", ":", "case", "tGPR_and_tcGPRRegClassID", ":", "case", "tcGPRRegClassID", ":", "case", "tGPRRegClassID", ":", "case", "tGPREvenRegClassID", ":", "case", "tGPROddRegClassID", ":", "case", "tGPR_and_tGPREvenRegClassID", ":", "case", "tGPR_and_tGPROddRegClassID", ":", "case", "tGPREven_and_tcGPRRegClassID", ":", "case", "tGPREven_and_tGPR_and_tcGPRRegClassID", ":", "case", "tGPROdd_and_tcGPRRegClassID", ":", "return", "getRegBank", "(", "ARM", "::", "GPRRegBankID", ")", ";", "case", "HPRRegClassID", ":", "case", "SPR_8RegClassID", ":", "case", "SPRRegClassID", ":", "case", "DPR_8RegClassID", ":", "case", "DPRRegClassID", ":", "case", "QPRRegClassID", ":", "return", "getRegBank", "(", "ARM", "::", "FPRRegBankID", ")", ";", "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", "ARM::FPRRegBankID", "\"Unsupported register kind\"", "\"Switch should handle all register classes\""], "File": "ARMRegisterBankInfo17", "Func": "getRegBankFromRegClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7875, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_set_current_function", "(", "tree", "fndecl", ")", "{", "if", "(", "TARGET_DEBUG_TARGET", ")", "{", "fprintf", "(", "stderr", ",", "\"\\n==================== rs6000_set_current_function\"", ")", ";", "if", "(", "fndecl", ")", "fprintf", "(", "stderr", ",", "\", fndecl %s (%p)\"", ",", "(", "DECL_NAME", "(", "fndecl", ")", "?", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "fndecl", ")", ")", ":", "\"\"", ")", ",", "(", "void", "*", ")", "fndecl", ")", ";", "if", "(", "rs6000_previous_fndecl", ")", "fprintf", "(", "stderr", ",", "\", prev_fndecl (%p)\"", ",", "(", "void", "*", ")", "rs6000_previous_fndecl", ")", ";", "fprintf", "(", "stderr", ",", "\"\\n\"", ")", ";", "}", "if", "(", "fndecl", "==", "rs6000_previous_fndecl", ")", "return", ";", "tree", "old_tree", ";", "if", "(", "rs6000_previous_fndecl", "==", "NULL_TREE", ")", "old_tree", "=", "target_option_current_node", ";", "else", "if", "(", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "rs6000_previous_fndecl", ")", ")", "old_tree", "=", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "rs6000_previous_fndecl", ")", ";", "else", "old_tree", "=", "target_option_default_node", ";", "tree", "new_tree", ";", "if", "(", "fndecl", "==", "NULL_TREE", ")", "{", "if", "(", "old_tree", "!=", "target_option_current_node", ")", "new_tree", "=", "target_option_current_node", ";", "else", "new_tree", "=", "NULL_TREE", ";", "}", "else", "{", "new_tree", "=", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "fndecl", ")", ";", "if", "(", "new_tree", "==", "NULL_TREE", ")", "new_tree", "=", "target_option_default_node", ";", "}", "if", "(", "TARGET_DEBUG_TARGET", ")", "{", "if", "(", "new_tree", ")", "{", "fprintf", "(", "stderr", ",", "\"\\nnew fndecl target specific options:\\n\"", ")", ";", "debug_tree", "(", "new_tree", ")", ";", "}", "if", "(", "old_tree", ")", "{", "fprintf", "(", "stderr", ",", "\"\\nold fndecl target specific options:\\n\"", ")", ";", "debug_tree", "(", "old_tree", ")", ";", "}", "if", "(", "old_tree", "!=", "NULL_TREE", "||", "new_tree", "!=", "NULL_TREE", ")", "fprintf", "(", "stderr", ",", "\"--------------------\\n\"", ")", ";", "}", "if", "(", "new_tree", "&&", "old_tree", "!=", "new_tree", ")", "rs6000_activate_target_options", "(", "new_tree", ")", ";", "if", "(", "fndecl", ")", "rs6000_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": ["rs6000", "\"\\n==================== rs6000_set_current_function\"", "\", fndecl %s (%p)\"", "\"\"", "\", prev_fndecl (%p)\"", "\"\\n\"", "\"\\nnew fndecl target specific options:\\n\"", "\"\\nold fndecl target specific options:\\n\"", "\"--------------------\\n\""], "File": "rs6000", "Func": "rs6000_set_current_function", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7876, "Length": 247, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64TargetLowering", "::", "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": ["ARM64", "ARM64"], "File": "ARM64ISelLowering", "Func": "isOffsetFoldingLegal", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7877, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_opaque_type_invalid_use_p", "(", "gimple", "*", "stmt", ")", "{", "if", "(", "TARGET_MMA", ")", "return", "false", ";", "auto", "check_and_error_invalid_use", "=", "[", "]", "(", "tree", "type", ")", "{", "tree", "mv", "=", "TYPE_MAIN_VARIANT", "(", "type", ")", ";", "if", "(", "mv", "==", "vector_quad_type_node", ")", "{", "error", "(", "\"type %<__vector_quad%> requires the %qs option\"", ",", "\"-mmma\"", ")", ";", "return", "true", ";", "}", "else", "if", "(", "mv", "==", "vector_pair_type_node", ")", "{", "error", "(", "\"type %<__vector_pair%> requires the %qs option\"", ",", "\"-mmma\"", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ";", "if", "(", "stmt", ")", "{", "if", "(", "gassign", "*", "ga", "=", "dyn_cast", "<", "gassign", "*", ">", "(", "stmt", ")", ")", "{", "tree", "lhs", "=", "gimple_assign_lhs", "(", "ga", ")", ";", "tree", "type", "=", "TREE_TYPE", "(", "lhs", ")", ";", "if", "(", "check_and_error_invalid_use", "(", "type", ")", ")", "return", "true", ";", "}", "else", "if", "(", "gasm", "*", "gs", "=", "dyn_cast", "<", "gasm", "*", ">", "(", "stmt", ")", ")", "{", "unsigned", "ninputs", "=", "gimple_asm_ninputs", "(", "gs", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "ninputs", ";", "i", "++", ")", "{", "tree", "op", "=", "gimple_asm_input_op", "(", "gs", ",", "i", ")", ";", "tree", "val", "=", "TREE_VALUE", "(", "op", ")", ";", "tree", "type", "=", "TREE_TYPE", "(", "val", ")", ";", "if", "(", "check_and_error_invalid_use", "(", "type", ")", ")", "return", "true", ";", "}", "unsigned", "noutputs", "=", "gimple_asm_noutputs", "(", "gs", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "noutputs", ";", "i", "++", ")", "{", "tree", "op", "=", "gimple_asm_output_op", "(", "gs", ",", "i", ")", ";", "tree", "val", "=", "TREE_VALUE", "(", "op", ")", ";", "tree", "type", "=", "TREE_TYPE", "(", "val", ")", ";", "if", "(", "check_and_error_invalid_use", "(", "type", ")", ")", "return", "true", ";", "}", "}", "else", "if", "(", "gcall", "*", "gc", "=", "dyn_cast", "<", "gcall", "*", ">", "(", "stmt", ")", ")", "{", "unsigned", "nargs", "=", "gimple_call_num_args", "(", "gc", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "nargs", ";", "i", "++", ")", "{", "tree", "arg", "=", "gimple_call_arg", "(", "gc", ",", "i", ")", ";", "tree", "type", "=", "TREE_TYPE", "(", "arg", ")", ";", "if", "(", "check_and_error_invalid_use", "(", "type", ")", ")", "return", "true", ";", "}", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Now", "we", "have", "only", "two", "opaque", "types", ",", "they", "are", "__vector_quad", "and", "__vector_pair", "built-in", "types", ".", "They", "are", "target", "specific", "and", "only", "available", "when", "MMA", "is", "supported", ".", "With", "MMA", "supported", ",", "it", "simply", "returns", "true", ",", "otherwise", "it", "checks", "if", "the", "given", "gimple", "STMT", "is", "an", "assignment", ",", "asm", "or", "call", "stmt", "and", "uses", "either", "of", "these", "two", "opaque", "types", "unexpectedly", ",", "if", "yes", ",", "it", "would", "raise", "an", "error", "message", "and", "returns", "true", ",", "otherwise", "it", "returns", "false", "."], "TS_V_token": ["rs6000", "\"type %<__vector_quad%> requires the %qs option\"", "\"-mmma\"", "\"type %<__vector_pair%> requires the %qs option\"", "\"-mmma\"", "0", "0", "0"], "File": "rs60001", "Func": "rs6000_opaque_type_invalid_use_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7878, "Length": 336, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "cortexa7_older_only", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "recog_memoized", "(", "insn", ")", "<", "0", ")", "return", "false", ";", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_ALU_DSP_REG", ":", "case", "TYPE_ALU_SREG", ":", "case", "TYPE_ALUS_SREG", ":", "case", "TYPE_LOGIC_REG", ":", "case", "TYPE_LOGICS_REG", ":", "case", "TYPE_ADC_REG", ":", "case", "TYPE_ADCS_REG", ":", "case", "TYPE_ADR", ":", "case", "TYPE_BFM", ":", "case", "TYPE_REV", ":", "case", "TYPE_MVN_REG", ":", "case", "TYPE_SHIFT_IMM", ":", "case", "TYPE_SHIFT_REG", ":", "case", "TYPE_LOAD_BYTE", ":", "case", "TYPE_LOAD1", ":", "case", "TYPE_STORE1", ":", "case", "TYPE_FFARITHS", ":", "case", "TYPE_FADDS", ":", "case", "TYPE_FFARITHD", ":", "case", "TYPE_FADDD", ":", "case", "TYPE_FMOV", ":", "case", "TYPE_F_CVT", ":", "case", "TYPE_FCMPS", ":", "case", "TYPE_FCMPD", ":", "case", "TYPE_FCONSTS", ":", "case", "TYPE_FCONSTD", ":", "case", "TYPE_FMULS", ":", "case", "TYPE_FMACS", ":", "case", "TYPE_FMULD", ":", "case", "TYPE_FMACD", ":", "case", "TYPE_FDIVS", ":", "case", "TYPE_FDIVD", ":", "case", "TYPE_F_MRC", ":", "case", "TYPE_F_MRRC", ":", "case", "TYPE_F_FLAG", ":", "case", "TYPE_F_LOADS", ":", "case", "TYPE_F_STORES", ":", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "and", "only", "if", "this", "insn", "can", "dual-issue", "only", "as", "older", "."], "TS_V_token": ["arm", "0"], "File": "arm4", "Func": "cortexa7_older_only", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7879, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "PPCRegisterInfo", "::", "getLargestLegalSuperClass", "(", "const", "TargetRegisterClass", "*", "RC", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "if", "(", "Subtarget", ".", "hasVSX", "(", ")", ")", "{", "if", "(", "TM", ".", "isELFv2ABI", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "hasP9Vector", "(", ")", "&&", "EnableGPRToVecSpills", "&&", "RC", "==", "&", "PPC", "::", "G8RCRegClass", ")", "{", "InflateGP8RC", "++", ";", "return", "&", "PPC", "::", "SPILLTOVSRRCRegClass", ";", "}", "if", "(", "RC", "==", "&", "PPC", "::", "GPRCRegClass", "&&", "EnableGPRToVecSpills", ")", "InflateGPRC", "++", ";", "}", "if", "(", "RC", "==", "&", "PPC", "::", "F8RCRegClass", ")", "return", "&", "PPC", "::", "VSFRCRegClass", ";", "else", "if", "(", "RC", "==", "&", "PPC", "::", "VRRCRegClass", ")", "return", "&", "PPC", "::", "VSRCRegClass", ";", "else", "if", "(", "RC", "==", "&", "PPC", "::", "F4RCRegClass", "&&", "Subtarget", ".", "hasP8Vector", "(", ")", ")", "return", "&", "PPC", "::", "VSSRCRegClass", ";", "}", "return", "TargetRegisterInfo", "::", "getLargestLegalSuperClass", "(", "RC", ",", "MF", ")", ";", "}", ""], "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": ["PowerPC", "PPC", "PPC", "PPC", "PPC::G8RCRegClass", "PPC::SPILLTOVSRRCRegClass", "PPC::GPRCRegClass", "PPC::F8RCRegClass", "PPC::VSFRCRegClass", "PPC::VRRCRegClass", "PPC::VSRCRegClass", "PPC::F4RCRegClass", "PPC::VSSRCRegClass"], "File": "PPCRegisterInfo10", "Func": "getLargestLegalSuperClass", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7880, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0FrameLowering", "::", "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": ["Cpu0", "Cpu0"], "File": "Cpu0FrameLowering1", "Func": "eliminateCallFramePseudoInstr", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7881, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86TTIImpl", "::", "getGatherScatterOpCost", "(", "unsigned", "Opcode", ",", "Type", "*", "SrcVTy", ",", "const", "Value", "*", "Ptr", ",", "bool", "VariableMask", ",", "Align", "Alignment", ",", "TTI", "::", "TargetCostKind", "CostKind", ",", "const", "Instruction", "*", "I", "=", "nullptr", ")", "{", "if", "(", "CostKind", "!=", "TTI", "::", "TCK_RecipThroughput", ")", "return", "1", ";", "assert", "(", "SrcVTy", "->", "isVectorTy", "(", ")", "&&", "\"Unexpected data type for Gather/Scatter\"", ")", ";", "unsigned", "VF", "=", "cast", "<", "FixedVectorType", ">", "(", "SrcVTy", ")", "->", "getNumElements", "(", ")", ";", "PointerType", "*", "PtrTy", "=", "dyn_cast", "<", "PointerType", ">", "(", "Ptr", "->", "getType", "(", ")", ")", ";", "if", "(", "!", "PtrTy", "&&", "Ptr", "->", "getType", "(", ")", "->", "isVectorTy", "(", ")", ")", "PtrTy", "=", "dyn_cast", "<", "PointerType", ">", "(", "cast", "<", "VectorType", ">", "(", "Ptr", "->", "getType", "(", ")", ")", "->", "getElementType", "(", ")", ")", ";", "assert", "(", "PtrTy", "&&", "\"Unexpected type for Ptr argument\"", ")", ";", "unsigned", "AddressSpace", "=", "PtrTy", "->", "getAddressSpace", "(", ")", ";", "bool", "Scalarize", "=", "false", ";", "if", "(", "(", "Opcode", "==", "Instruction", "::", "Load", "&&", "!", "isLegalMaskedGather", "(", "SrcVTy", ",", "Align", "(", "Alignment", ")", ")", ")", "||", "(", "Opcode", "==", "Instruction", "::", "Store", "&&", "!", "isLegalMaskedScatter", "(", "SrcVTy", ",", "Align", "(", "Alignment", ")", ")", ")", ")", "Scalarize", "=", "true", ";", "if", "(", "ST", "->", "hasAVX512", "(", ")", "&&", "(", "VF", "==", "2", "||", "(", "VF", "==", "4", "&&", "!", "ST", "->", "hasVLX", "(", ")", ")", ")", ")", "Scalarize", "=", "true", ";", "if", "(", "Scalarize", ")", "return", "getGSScalarCost", "(", "Opcode", ",", "SrcVTy", ",", "VariableMask", ",", "Alignment", ",", "AddressSpace", ")", ";", "return", "getGSVectorCost", "(", "Opcode", ",", "SrcVTy", ",", "Ptr", ",", "Alignment", ",", "AddressSpace", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "Gather", "/", "Scatter", "operation", "."], "TS_V_token": ["X86", "X86", "1", "\"Unexpected data type for Gather/Scatter\"", "\"Unexpected type for Ptr argument\"", "2", "4"], "File": "X86TargetTransformInfo103", "Func": "getGatherScatterOpCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7882, "Length": 257, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_const_vector_same_int_p", "(", "rtx", "op", ",", "machine_mode", "mode", ",", "HOST_WIDE_INT", "low", ",", "HOST_WIDE_INT", "high", ")", "{", "HOST_WIDE_INT", "value", ";", "rtx", "elem0", ";", "if", "(", "!", "mips_const_vector_same_val_p", "(", "op", ",", "mode", ")", ")", "return", "false", ";", "elem0", "=", "CONST_VECTOR_ELT", "(", "op", ",", "0", ")", ";", "if", "(", "!", "CONST_INT_P", "(", "elem0", ")", ")", "return", "false", ";", "value", "=", "INTVAL", "(", "elem0", ")", ";", "return", "(", "value", ">=", "low", "&&", "value", "<=", "high", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "is", "a", "constant", "vector", "with", "the", "number", "of", "units", "in", "MODE", ",", "and", "each", "unit", "has", "the", "same", "integer", "value", "in", "the", "range", "[", "LOW", ",", "HIGH", "]", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips_const_vector_same_int_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7883, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "Cpu0SEInstrInfo", "::", "getOppositeBranchOpc", "(", "unsigned", "Opc", ")", "const", "{", "switch", "(", "Opc", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Illegal opcode!\"", ")", ";", "case", "Cpu0", "::", "BEQ", ":", "return", "Cpu0", "::", "BNE", ";", "case", "Cpu0", "::", "BNE", ":", "return", "Cpu0", "::", "BEQ", ";", "}", "}", ""], "natrual_language": ["getOppositeBranchOpc", "-", "Return", "the", "inverse", "of", "the", "specified", "opcode", ",", "e.g", "."], "TS_V_token": ["Cpu0", "Cpu0", "\"Illegal opcode!\"", "Cpu0::BEQ", "Cpu0::BNE", "Cpu0::BNE", "Cpu0::BEQ"], "File": "Cpu0SEInstrInfo", "Func": "getOppositeBranchOpc", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7884, "Length": 44, "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": 7885, "Length": 391, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToReg", "(", "unsigned", "ValVReg", ",", "unsigned", "PhysReg", ",", "CCValAssign", "&", "VA", ")", "override", "{", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Value shouldn't be assigned to reg\"", ")", ";", "assert", "(", "VA", ".", "getLocReg", "(", ")", "==", "PhysReg", "&&", "\"Assigning to the wrong reg?\"", ")", ";", "assert", "(", "VA", ".", "getValVT", "(", ")", ".", "getSizeInBits", "(", ")", "<=", "32", "&&", "\"Unsupported value size\"", ")", ";", "assert", "(", "VA", ".", "getLocVT", "(", ")", ".", "getSizeInBits", "(", ")", "==", "32", "&&", "\"Unsupported location size\"", ")", ";", "assert", "(", "VA", ".", "getLocInfo", "(", ")", "!=", "CCValAssign", "::", "SExt", "&&", "VA", ".", "getLocInfo", "(", ")", "!=", "CCValAssign", "::", "ZExt", "&&", "\"ABI extensions not supported yet\"", ")", ";", "MIRBuilder", ".", "buildCopy", "(", "PhysReg", ",", "ValVReg", ")", ";", "MIB", ".", "addUse", "(", "PhysReg", ",", "RegState", "::", "Implicit", ")", ";", "}", ""], "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?\"", "32", "\"Unsupported value size\"", "32", "\"Unsupported location size\"", "\"ABI extensions not supported yet\""], "File": "ARMCallLowering12", "Func": "assignValueToReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7886, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "machine_mode", "mmix_promote_function_mode", "(", "const_tree", "type", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ",", "int", "*", "punsignedp", "ATTRIBUTE_UNUSED", ",", "const_tree", "fntype", "ATTRIBUTE_UNUSED", ",", "int", "for_return", ")", "{", "if", "(", "for_return", "==", "1", ")", "return", "mode", ";", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_INT", "&&", "GET_MODE_SIZE", "(", "mode", ")", "<", "8", ")", "return", "DImode", ";", "else", "return", "mode", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_PROMOTE_FUNCTION_MODE", "."], "TS_V_token": ["mmix", "1", "8"], "File": "mmix", "Func": "mmix_promote_function_mode", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7887, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "unw_access_gr", "(", "struct", "_Unwind_Context", "*", "info", ",", "int", "regnum", ",", "unsigned", "long", "*", "val", ",", "char", "*", "nat", ",", "int", "write", ")", "{", "unsigned", "long", "*", "addr", ",", "*", "nat_addr", "=", "0", ",", "nat_mask", "=", "0", ",", "dummy_nat", ";", "struct", "unw_ireg", "*", "ireg", ";", "if", "(", "(", "unsigned", ")", "regnum", "-", "1", ">=", "127", ")", "abort", "(", ")", ";", "if", "(", "regnum", "<", "1", ")", "{", "nat_addr", "=", "addr", "=", "&", "dummy_nat", ";", "dummy_nat", "=", "0", ";", "}", "else", "if", "(", "regnum", "<", "32", ")", "{", "ireg", "=", "&", "info", "->", "ireg", "[", "regnum", "-", "2", "]", ";", "addr", "=", "ireg", "->", "loc", ";", "if", "(", "addr", ")", "{", "nat_addr", "=", "addr", "+", "ireg", "->", "nat", ".", "off", ";", "switch", "(", "ireg", "->", "nat", ".", "type", ")", "{", "case", "UNW_NAT_VAL", ":", "if", "(", "write", ")", "{", "if", "(", "*", "nat", ")", "{", "addr", "[", "0", "]", "=", "0", ";", "addr", "[", "1", "]", "=", "0x1fffe", ";", "return", ";", "}", "addr", "[", "1", "]", "=", "0x1003e", ";", "}", "else", "if", "(", "addr", "[", "0", "]", "==", "0", "&&", "addr", "[", "1", "]", "==", "0x1ffe", ")", "{", "*", "val", "=", "0", ";", "*", "nat", "=", "1", ";", "return", ";", "}", "case", "UNW_NAT_NONE", ":", "dummy_nat", "=", "0", ";", "nat_addr", "=", "&", "dummy_nat", ";", "break", ";", "case", "UNW_NAT_MEMSTK", ":", "nat_mask", "=", "1UL", "<<", "(", "(", "long", ")", "addr", "&", "0x1f8", ")", "/", "8", ";", "break", ";", "case", "UNW_NAT_REGSTK", ":", "if", "(", "(", "unsigned", "long", ")", "addr", ">=", "info", "->", "regstk_top", ")", "nat_addr", "=", "&", "info", "->", "rnat", ";", "else", "nat_addr", "=", "ia64_rse_rnat_addr", "(", "addr", ")", ";", "nat_mask", "=", "1UL", "<<", "ia64_rse_slot_num", "(", "addr", ")", ";", "break", ";", "}", "}", "}", "else", "{", "addr", "=", "ia64_rse_skip_regs", "(", "(", "unsigned", "long", "*", ")", "info", "->", "bsp", ",", "regnum", "-", "32", ")", ";", "if", "(", "(", "unsigned", "long", ")", "addr", ">=", "info", "->", "regstk_top", ")", "nat_addr", "=", "&", "info", "->", "rnat", ";", "else", "nat_addr", "=", "ia64_rse_rnat_addr", "(", "addr", ")", ";", "nat_mask", "=", "1UL", "<<", "ia64_rse_slot_num", "(", "addr", ")", ";", "}", "if", "(", "write", ")", "{", "*", "addr", "=", "*", "val", ";", "if", "(", "*", "nat", ")", "*", "nat_addr", "|=", "nat_mask", ";", "else", "*", "nat_addr", "&=", "~", "nat_mask", ";", "}", "else", "{", "*", "val", "=", "*", "addr", ";", "*", "nat", "=", "(", "*", "nat_addr", "&", "nat_mask", ")", "!=", "0", ";", "}", "}", ""], "natrual_language": ["Unwind", "accessors", "."], "TS_V_token": ["ia64", "0", "0", "1", "127", "1", "0", "32", "2", "0", "0", "1", "0x1fffe", "1", "0x1003e", "0", "0", "1", "0x1ffe", "0", "1", "0", "1UL", "0x1f8", "8", "1UL", "32", "1UL", "0"], "File": "unwind-ia641", "Func": "unw_access_gr", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7888, "Length": 386, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "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", "reg", "=", "SET_DEST", "(", "def_set", ")", ";", "if", "(", "!", "REG_P", "(", "reg", ")", "||", "bitmap_bit_p", "(", "regs", ",", "REGNO", "(", "reg", ")", ")", "||", "HARD_REGISTER_P", "(", "reg", ")", ")", "continue", ";", "for", "(", "df_ref", "def", "=", "DF_REG_DEF_CHAIN", "(", "REGNO", "(", "reg", ")", ")", ";", "def", ";", "def", "=", "DF_REF_NEXT_REG", "(", "def", ")", ")", "{", "if", "(", "!", "bitmap_bit_p", "(", "candidates", ",", "DF_REF_INSN_UID", "(", "def", ")", ")", ")", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"r%d has non convertible definition in insn %d\\n\"", ",", "REGNO", "(", "reg", ")", ",", "DF_REF_INSN_UID", "(", "def", ")", ")", ";", "bitmap_set_bit", "(", "regs", ",", "REGNO", "(", "reg", ")", ")", ";", "break", ";", "}", "}", "}", "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", ")", ")", ";", "}", "}", "BITMAP_FREE", "(", "regs", ")", ";", "}", ""], "natrual_language": ["For", "a", "given", "bitmap", "of", "insn", "UIDs", "scans", "all", "instruction", "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", "\"r%d has non convertible definition in insn %d\\n\"", "0", "\"Removing insn %d from candidates list\\n\""], "File": "i3865", "Func": "remove_non_convertible_regs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7889, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsSEInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "MI", ".", "mayStore", "(", ")", ")", "{", "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", "1", "2", "2", "1", "0", "0"], "File": "MipsSEInstrInfo30", "Func": "isStoreToStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7890, "Length": 97, "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", ";", "DAG", ".", "computeKnownBits", "(", "Op", "->", "getOperand", "(", "0", ")", ",", "Known", ",", "Depth", "+", "1", ")", ";", "DAG", ".", "computeKnownBits", "(", "Op", "->", "getOperand", "(", "1", ")", ",", "Known2", ",", "Depth", "+", "1", ")", ";", "Known", ".", "Zero", "&=", "Known2", ".", "Zero", ";", "Known", ".", "One", "&=", "Known2", ".", "One", ";", "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", "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", "Func": "computeKnownBitsForTargetNode", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7891, "Length": 400, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "LanaiTargetLowering", "*", "getTLI", "(", ")", "const", "{", "return", "TLI", ";", "}", ""], "natrual_language": ["Getter", "for", "generic", "TargetLowering", "class", "."], "TS_V_token": ["Lanai", "Lanai"], "File": "LanaiTargetTransformInfo", "Func": "getTLI", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7892, "Length": 12, "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", ")", "||", "dyn_cast", "<", "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": "PPCISelLowering100", "Func": "isIndirectCall", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7893, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstructionSelector", "::", "select", "(", "MachineInstr", "&", "I", ")", "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", "(", "I", ".", "isCopy", "(", ")", ")", "return", "selectCopy", "(", "I", ",", "MRI", ")", ";", "return", "true", ";", "}", "assert", "(", "I", ".", "getNumOperands", "(", ")", "==", "I", ".", "getNumExplicitOperands", "(", ")", "&&", "\"Generic instruction has unexpected implicit operands\\n\"", ")", ";", "if", "(", "selectImpl", "(", "I", ")", ")", "return", "true", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\" C++ instruction selection: \"", ";", "I", ".", "print", "(", "dbgs", "(", ")", ")", ")", ";", "if", "(", "selectLoadStoreOp", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "if", "(", "selectFrameIndexOrGep", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "if", "(", "selectGlobalValue", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "if", "(", "selectConstant", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "if", "(", "selectTrunc", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "if", "(", "selectZext", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "if", "(", "selectCmp", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "if", "(", "selectUadde", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "if", "(", "selectUnmergeValues", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "if", "(", "selectMergeValues", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "if", "(", "selectExtract", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "if", "(", "selectInsert", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "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": "X86InstructionSelector (2)", "Func": "select", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7894, "Length": 324, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CookieSetter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "if", "(", "!", "MF", ".", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "Attribute", "::", "CookieCheck", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Setting cookies for \"", "<<", "MF", ".", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "LowerSetCookieInstrs", "(", "MF", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "\"Setting cookies for \"", "\"\\n\""], "File": "CookieSetter", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7895, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "useLoadStackGuardNode", "(", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["If", "this", "function", "returns", "true", ",", "SelectionDAGBuilder", "emits", "a", "LOAD_STACK_GUARD", "node", "when", "it", "is", "lowering", "Intrinsic", ":", ":stackprotector", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMISelLowering12", "Func": "useLoadStackGuardNode", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7896, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb2InstrInfo", "::", "isLegalToSplitMBBAt", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ")", "const", "{", "while", "(", "MBBI", "->", "isDebugInstr", "(", ")", ")", "{", "++", "MBBI", ";", "if", "(", "MBBI", "==", "MBB", ".", "end", "(", ")", ")", "return", "false", ";", "}", "unsigned", "PredReg", "=", "0", ";", "return", "getITInstrPredicate", "(", "*", "MBBI", ",", "PredReg", ")", "==", "ARMCC", "::", "AL", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "'s", "legal", "to", "split", "the", "given", "basic", "block", "at", "the", "specified", "instruction", "(", "i.e", "."], "TS_V_token": ["ARM", "0", "ARMCC::AL"], "File": "Thumb2InstrInfo (2)1", "Func": "isLegalToSplitMBBAt", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7897, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "sh_loop_align", "(", "rtx_insn", "*", "label", ")", "{", "rtx_insn", "*", "next", "=", "label", ";", "if", "(", "!", "optimize", "||", "optimize_size", ")", "return", "0", ";", "do", "next", "=", "next_nonnote_insn", "(", "next", ")", ";", "while", "(", "next", "&&", "LABEL_P", "(", "next", ")", ")", ";", "if", "(", "!", "next", "||", "!", "INSN_P", "(", "next", ")", "||", "recog_memoized", "(", "next", ")", "==", "CODE_FOR_consttable_2", ")", "return", "0", ";", "return", "align_loops_log", ";", "}", ""], "natrual_language": ["If", "we", "are", "inside", "a", "phony", "loop", ",", "almost", "any", "kind", "of", "label", "can", "turn", "up", "as", "the", "first", "one", "in", "the", "loop", ".", "Aligning", "a", "braf", "label", "causes", "incorrect", "switch", "destination", "addresses", ";", "we", "can", "detect", "braf", "labels", "because", "they", "are", "followed", "by", "a", "BARRIER", ".", "Applying", "loop", "alignment", "to", "small", "constant", "or", "switch", "tables", "is", "a", "waste", "of", "space", ",", "so", "we", "suppress", "this", "too", "."], "TS_V_token": ["sh", "0", "0"], "File": "sh4", "Func": "sh_loop_align", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7898, "Length": 67, "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", ".", "getSchedModel", "(", ")", ",", "&", "ST", ",", "TII", ")", ";", "Traces", "=", "&", "getAnalysis", "<", "MachineTraceMetrics", ">", "(", ")", ";", "MinInstr", "=", "nullptr", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"*** \"", "<<", "getPassName", "(", ")", "<<", "\": \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "if", "(", "!", "SchedModel", ".", "hasInstrSchedModel", "(", ")", ")", "{", "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", ";", "unsigned", "BaseReg", ";", "int64_t", "Offset", ";", "if", "(", "TII", "->", "getMemOpBaseRegImmOfs", "(", "MI", ",", "BaseReg", ",", "Offset", ",", "TRI", ")", ")", "{", "if", "(", "PrevBaseReg", "==", "BaseReg", ")", "{", "if", "(", "!", "SuppressSTP", "&&", "shouldAddSTPToBlock", "(", "MI", ".", "getParent", "(", ")", ")", ")", "break", ";", "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": "AArch64StorePairSuppress6", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7899, "Length": 268, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "machine_mode", "aarch64_hard_regno_caller_save_mode", "(", "unsigned", "regno", ",", "unsigned", ",", "machine_mode", "mode", ")", "{", "if", "(", "PR_REGNUM_P", "(", "regno", ")", ")", "return", "mode", ";", "if", "(", "known_ge", "(", "GET_MODE_SIZE", "(", "mode", ")", ",", "4", ")", ")", "return", "mode", ";", "else", "return", "SImode", ";", "}", ""], "natrual_language": ["Implement", "HARD_REGNO_CALLER_SAVE_MODE", "."], "TS_V_token": ["aarch64", "4"], "File": "aarch64", "Func": "aarch64_hard_regno_caller_save_mode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7900, "Length": 42, "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": ["powerpcspe", "0", "0", "\"Disqualifying LR because GPR0 is live \"", "\"on entry to bb %d\\n\"", "0"], "File": "powerpcspe", "Func": "rs6000_disqualify_components", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7901, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "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", ")", "{", "default", ":", "break", ";", "case", "Match_Success", ":", "{", "if", "(", "processInstruction", "(", "Inst", ",", "IDLoc", ",", "Instructions", ")", ")", "return", "true", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Instructions", ".", "size", "(", ")", ";", "i", "++", ")", "Out", ".", "EmitInstruction", "(", "Instructions", "[", "i", "]", ",", "STI", ")", ";", "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", "!=", "~", "0ULL", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "IDLoc", ",", "\"too few operands for instruction\"", ")", ";", "ErrorLoc", "=", "(", "(", "MipsOperand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "\"invalid operand for instruction\"", ")", ";", "}", "case", "Match_MnemonicFail", ":", "return", "Error", "(", "IDLoc", ",", "\"invalid instruction\"", ")", ";", "case", "Match_RequiresDifferentSrcAndDst", ":", "return", "Error", "(", "IDLoc", ",", "\"source and destination must be different\"", ")", ";", "}", "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", "8", "0", "\"instruction requires a CPU feature not currently enabled\"", "0ULL", "\"too few operands for instruction\"", "Mips", "\"invalid operand for instruction\"", "\"invalid instruction\"", "\"source and destination must be different\""], "File": "MipsAsmParser32", "Func": "MatchAndEmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7902, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "parse_mtune_ctrl_str", "(", "struct", "gcc_options", "*", "opts", ",", "bool", "dump", ")", "{", "if", "(", "!", "opts", "->", "x_ix86_tune_ctrl_string", ")", "return", ";", "char", "*", "next_feature_string", "=", "NULL", ";", "char", "*", "curr_feature_string", "=", "xstrdup", "(", "opts", "->", "x_ix86_tune_ctrl_string", ")", ";", "char", "*", "orig", "=", "curr_feature_string", ";", "int", "i", ";", "do", "{", "bool", "clear", "=", "false", ";", "next_feature_string", "=", "strchr", "(", "curr_feature_string", ",", "','", ")", ";", "if", "(", "next_feature_string", ")", "*", "next_feature_string", "++", "=", "'\\0'", ";", "if", "(", "*", "curr_feature_string", "==", "'^'", ")", "{", "curr_feature_string", "++", ";", "clear", "=", "true", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "X86_TUNE_LAST", ";", "i", "++", ")", "{", "if", "(", "!", "strcmp", "(", "curr_feature_string", ",", "ix86_tune_feature_names", "[", "i", "]", ")", ")", "{", "ix86_tune_features", "[", "i", "]", "=", "!", "clear", ";", "if", "(", "dump", ")", "fprintf", "(", "stderr", ",", "\"Explicitly %s feature %s\\n\"", ",", "clear", "?", "\"clear\"", ":", "\"set\"", ",", "ix86_tune_feature_names", "[", "i", "]", ")", ";", "break", ";", "}", "}", "if", "(", "i", "==", "X86_TUNE_LAST", ")", "error", "(", "\"unknown parameter to option %<-mtune-ctrl%>: %s\"", ",", "clear", "?", "curr_feature_string", "-", "1", ":", "curr_feature_string", ")", ";", "curr_feature_string", "=", "next_feature_string", ";", "}", "while", "(", "curr_feature_string", ")", ";", "free", "(", "orig", ")", ";", "}", ""], "natrual_language": ["parse", "-mtune-ctrl=", "option", ".", "When", "DUMP", "is", "true", ",", "print", "the", "features", "that", "are", "explicitly", "set", "."], "TS_V_token": ["i386", "0", "\"Explicitly %s feature %s\\n\"", "\"clear\"", "\"set\"", "\"unknown parameter to option %<-mtune-ctrl%>: %s\"", "1"], "File": "i386-options", "Func": "parse_mtune_ctrl_str", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7903, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "PPCDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "if", "(", "!", "GlobalBaseReg", ")", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "PPCSubTarget", "->", "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", "(", "PPCSubTarget", "->", "isTargetELF", "(", ")", ")", "{", "GlobalBaseReg", "=", "PPC", "::", "R30", ";", "if", "(", "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", ")", ";", "unsigned", "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", "{", "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", "PPC", "MVT::i32", "PPC", "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::G8RC_and_G8RC_NOX0RegClass", "PPC::MovePCtoLR8", "PPC::MFLR8", "PPC"], "File": "PPCISelDAGToDAG74", "Func": "getGlobalBaseReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7904, "Length": 399, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_eliminable_register", "(", "rtx", "x", ")", "{", "return", "REG_P", "(", "x", ")", "&&", "(", "REGNO", "(", "x", ")", "==", "FRAME_POINTER_REGNUM", "||", "REGNO", "(", "x", ")", "==", "ARG_POINTER_REGNUM", "||", "(", "REGNO", "(", "x", ")", ">=", "FIRST_VIRTUAL_REGISTER", "&&", "REGNO", "(", "x", ")", "<=", "LAST_VIRTUAL_REGISTER", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "register", "that", "will", "be", "eliminated", "later", "on", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_eliminable_register", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7905, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "lxvrse_expand_builtin", "(", "rtx", "target", ",", "insn_code", "icode", ",", "rtx", "*", "op", ",", "machine_mode", "tmode", ",", "machine_mode", "smode", ")", "{", "rtx", "pat", ",", "addr", ";", "op", "[", "1", "]", "=", "copy_to_mode_reg", "(", "Pmode", ",", "op", "[", "1", "]", ")", ";", "if", "(", "op", "[", "0", "]", "==", "const0_rtx", ")", "addr", "=", "gen_rtx_MEM", "(", "tmode", ",", "op", "[", "1", "]", ")", ";", "else", "{", "op", "[", "0", "]", "=", "copy_to_mode_reg", "(", "Pmode", ",", "op", "[", "0", "]", ")", ";", "addr", "=", "gen_rtx_MEM", "(", "smode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "op", "[", "1", "]", ",", "op", "[", "0", "]", ")", ")", ";", "}", "rtx", "discratch", "=", "gen_reg_rtx", "(", "V2DImode", ")", ";", "rtx", "tiscratch", "=", "gen_reg_rtx", "(", "TImode", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "tiscratch", ",", "addr", ")", ";", "if", "(", "!", "pat", ")", "return", "0", ";", "emit_insn", "(", "pat", ")", ";", "rtx", "temp1", ";", "if", "(", "icode", "==", "CODE_FOR_vsx_lxvrbx", ")", "{", "temp1", "=", "simplify_gen_subreg", "(", "V16QImode", ",", "tiscratch", ",", "TImode", ",", "0", ")", ";", "emit_insn", "(", "gen_vsx_sign_extend_qi_v2di", "(", "discratch", ",", "temp1", ")", ")", ";", "}", "else", "if", "(", "icode", "==", "CODE_FOR_vsx_lxvrhx", ")", "{", "temp1", "=", "simplify_gen_subreg", "(", "V8HImode", ",", "tiscratch", ",", "TImode", ",", "0", ")", ";", "emit_insn", "(", "gen_vsx_sign_extend_hi_v2di", "(", "discratch", ",", "temp1", ")", ")", ";", "}", "else", "if", "(", "icode", "==", "CODE_FOR_vsx_lxvrwx", ")", "{", "temp1", "=", "simplify_gen_subreg", "(", "V4SImode", ",", "tiscratch", ",", "TImode", ",", "0", ")", ";", "emit_insn", "(", "gen_vsx_sign_extend_si_v2di", "(", "discratch", ",", "temp1", ")", ")", ";", "}", "else", "if", "(", "icode", "==", "CODE_FOR_vsx_lxvrdx", ")", "discratch", "=", "simplify_gen_subreg", "(", "V2DImode", ",", "tiscratch", ",", "TImode", ",", "0", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "rtx", "temp2", "=", "simplify_gen_subreg", "(", "TImode", ",", "discratch", ",", "V2DImode", ",", "0", ")", ";", "emit_insn", "(", "gen_extendditi2_vector", "(", "target", ",", "temp2", ")", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Expand", "a", "builtin", "function", "that", "loads", "a", "scalar", "into", "a", "vector", "register", "with", "sign", "extension", ",", "and", "return", "the", "expanded", "rtx", "."], "TS_V_token": ["rs6000", "1", "1", "0", "1", "0", "0", "1", "0", "0", "0", "0", "0", "0", "0"], "File": "rs6000-builtin", "Func": "lxvrse_expand_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7906, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "emit_memmov", "(", "rtx", "destmem", ",", "rtx", "*", "srcmem", ",", "rtx", "destptr", ",", "rtx", "srcptr", ",", "HOST_WIDE_INT", "size_to_move", ")", "{", "rtx", "dst", "=", "destmem", ",", "src", "=", "*", "srcmem", ",", "adjust", ",", "tempreg", ";", "enum", "insn_code", "code", ";", "machine_mode", "move_mode", ";", "int", "piece_size", ",", "i", ";", "piece_size", "=", "1", "<<", "floor_log2", "(", "size_to_move", ")", ";", "move_mode", "=", "mode_for_size", "(", "piece_size", "*", "BITS_PER_UNIT", ",", "MODE_INT", ",", "0", ")", ";", "code", "=", "optab_handler", "(", "mov_optab", ",", "move_mode", ")", ";", "while", "(", "code", "==", "CODE_FOR_nothing", "&&", "piece_size", ">", "1", ")", "{", "piece_size", ">>=", "1", ";", "move_mode", "=", "mode_for_size", "(", "piece_size", "*", "BITS_PER_UNIT", ",", "MODE_INT", ",", "0", ")", ";", "code", "=", "optab_handler", "(", "mov_optab", ",", "move_mode", ")", ";", "}", "if", "(", "GET_MODE_SIZE", "(", "move_mode", ")", ">", "GET_MODE_SIZE", "(", "word_mode", ")", ")", "{", "int", "nunits", "=", "GET_MODE_SIZE", "(", "move_mode", ")", "/", "GET_MODE_SIZE", "(", "word_mode", ")", ";", "move_mode", "=", "mode_for_vector", "(", "word_mode", ",", "nunits", ")", ";", "code", "=", "optab_handler", "(", "mov_optab", ",", "move_mode", ")", ";", "if", "(", "code", "==", "CODE_FOR_nothing", ")", "{", "move_mode", "=", "word_mode", ";", "piece_size", "=", "GET_MODE_SIZE", "(", "move_mode", ")", ";", "code", "=", "optab_handler", "(", "mov_optab", ",", "move_mode", ")", ";", "}", "}", "gcc_assert", "(", "code", "!=", "CODE_FOR_nothing", ")", ";", "dst", "=", "adjust_automodify_address_nv", "(", "dst", ",", "move_mode", ",", "destptr", ",", "0", ")", ";", "src", "=", "adjust_automodify_address_nv", "(", "src", ",", "move_mode", ",", "srcptr", ",", "0", ")", ";", "gcc_assert", "(", "size_to_move", "%", "piece_size", "==", "0", ")", ";", "adjust", "=", "GEN_INT", "(", "piece_size", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "size_to_move", ";", "i", "+=", "piece_size", ")", "{", "tempreg", "=", "gen_reg_rtx", "(", "move_mode", ")", ";", "emit_insn", "(", "GEN_FCN", "(", "code", ")", "(", "tempreg", ",", "src", ")", ")", ";", "emit_insn", "(", "GEN_FCN", "(", "code", ")", "(", "dst", ",", "tempreg", ")", ")", ";", "emit_move_insn", "(", "destptr", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "copy_rtx", "(", "destptr", ")", ",", "adjust", ")", ")", ";", "emit_move_insn", "(", "srcptr", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "copy_rtx", "(", "srcptr", ")", ",", "adjust", ")", ")", ";", "dst", "=", "adjust_automodify_address_nv", "(", "dst", ",", "move_mode", ",", "destptr", ",", "piece_size", ")", ";", "src", "=", "adjust_automodify_address_nv", "(", "src", ",", "move_mode", ",", "srcptr", ",", "piece_size", ")", ";", "}", "*", "srcmem", "=", "src", ";", "return", "dst", ";", "}", ""], "natrual_language": ["This", "function", "emits", "moves", "to", "copy", "SIZE_TO_MOVE", "bytes", "from", "SRCMEM", "to", "DESTMEM", ".", "SRC", "is", "passed", "by", "pointer", "to", "be", "updated", "on", "return", ".", "Return", "value", "is", "updated", "DST", "."], "TS_V_token": ["i386", "1", "0", "1", "1", "0", "0", "0", "0", "0"], "File": "i3864", "Func": "emit_memmov", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7907, "Length": 356, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "LanaiInstrInfo", "::", "optimizeSelect", "(", "MachineInstr", "&", "MI", ",", "SmallPtrSetImpl", "<", "MachineInstr", "*", ">", "&", "SeenMIs", ",", "bool", ")", "const", "{", "assert", "(", "MI", ".", "getOpcode", "(", ")", "==", "Lanai", "::", "SELECT", "&&", "\"unknown select instruction\"", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MachineInstr", "*", "DefMI", "=", "canFoldIntoSelect", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ",", "MRI", ")", ";", "bool", "Invert", "=", "!", "DefMI", ";", "if", "(", "!", "DefMI", ")", "DefMI", "=", "canFoldIntoSelect", "(", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ",", "MRI", ")", ";", "if", "(", "!", "DefMI", ")", "return", "nullptr", ";", "MachineOperand", "FalseReg", "=", "MI", ".", "getOperand", "(", "Invert", "?", "1", ":", "2", ")", ";", "unsigned", "DestReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "PreviousClass", "=", "MRI", ".", "getRegClass", "(", "FalseReg", ".", "getReg", "(", ")", ")", ";", "if", "(", "!", "MRI", ".", "constrainRegClass", "(", "DestReg", ",", "PreviousClass", ")", ")", "return", "nullptr", ";", "MachineInstrBuilder", "NewMI", "=", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "DefMI", "->", "getDesc", "(", ")", ",", "DestReg", ")", ";", "const", "MCInstrDesc", "&", "DefDesc", "=", "DefMI", "->", "getDesc", "(", ")", ";", "for", "(", "unsigned", "i", "=", "1", ",", "e", "=", "DefDesc", ".", "getNumOperands", "(", ")", ";", "i", "!=", "e", "&&", "!", "DefDesc", ".", "OpInfo", "[", "i", "]", ".", "isPredicate", "(", ")", ";", "++", "i", ")", "NewMI", ".", "addOperand", "(", "DefMI", "->", "getOperand", "(", "i", ")", ")", ";", "unsigned", "CondCode", "=", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "if", "(", "Invert", ")", "NewMI", ".", "addImm", "(", "getOppositeCondition", "(", "LPCC", "::", "CondCode", "(", "CondCode", ")", ")", ")", ";", "else", "NewMI", ".", "addImm", "(", "CondCode", ")", ";", "NewMI", ".", "copyImplicitOps", "(", "MI", ")", ";", "FalseReg", ".", "setImplicit", "(", ")", ";", "NewMI", ".", "addOperand", "(", "FalseReg", ")", ";", "NewMI", "->", "tieOperands", "(", "0", ",", "NewMI", "->", "getNumOperands", "(", ")", "-", "1", ")", ";", "SeenMIs", ".", "insert", "(", "NewMI", ")", ";", "SeenMIs", ".", "erase", "(", "DefMI", ")", ";", "if", "(", "DefMI", "->", "getParent", "(", ")", "!=", "MI", ".", "getParent", "(", ")", ")", "NewMI", "->", "clearKillInfo", "(", ")", ";", "DefMI", "->", "eraseFromParent", "(", ")", ";", "return", "NewMI", ";", "}", ""], "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": ["Lanai", "Lanai", "Lanai::SELECT", "\"unknown select instruction\"", "1", "2", "1", "2", "0", "1", "3", "0", "1"], "File": "LanaiInstrInfo5", "Func": "optimizeSelect", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7908, "Length": 377, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "isPredicable", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "OpC", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "OpC", ")", "{", "default", ":", "return", "false", ";", "case", "PPC", "::", "B", ":", "case", "PPC", "::", "BLR", ":", "case", "PPC", "::", "BLR8", ":", "case", "PPC", "::", "BCTR", ":", "case", "PPC", "::", "BCTR8", ":", "case", "PPC", "::", "BCTRL", ":", "case", "PPC", "::", "BCTRL8", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "instruction", "can", "be", "predicated", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::B", "PPC::BLR", "PPC::BLR8", "PPC::BCTR", "PPC::BCTR8", "PPC::BCTRL", "PPC::BCTRL8"], "File": "PPCInstrInfo (2)2", "Func": "isPredicable", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7909, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_unlikely_jump", "(", "rtx", "insn", ")", "{", "int", "very_unlikely", "=", "REG_BR_PROB_BASE", "/", "100", "-", "1", ";", "rtx_insn", "*", "jump", "=", "emit_jump_insn", "(", "insn", ")", ";", "add_int_reg_note", "(", "jump", ",", "REG_BR_PROB", ",", "very_unlikely", ")", ";", "}", ""], "natrual_language": ["Mark", "the", "previous", "jump", "instruction", "as", "unlikely", "."], "TS_V_token": ["arm", "100", "1"], "File": "arm6", "Func": "emit_unlikely_jump", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7910, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_register_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "from", ",", "reg_class_t", "to", ")", "{", "int", "ret", ";", "reg_class_t", "rclass", ";", "if", "(", "TARGET_DEBUG_COST", ")", "dbg_cost_ctrl", "++", ";", "HARD_REG_SET", "to_vsx", ",", "from_vsx", ";", "to_vsx", "=", "reg_class_contents", "[", "to", "]", "&", "reg_class_contents", "[", "VSX_REGS", "]", ";", "from_vsx", "=", "reg_class_contents", "[", "from", "]", "&", "reg_class_contents", "[", "VSX_REGS", "]", ";", "if", "(", "!", "hard_reg_set_empty_p", "(", "to_vsx", ")", "&&", "!", "hard_reg_set_empty_p", "(", "from_vsx", ")", "&&", "(", "TARGET_VSX", "||", "hard_reg_set_intersect_p", "(", "to_vsx", ",", "from_vsx", ")", ")", ")", "{", "int", "reg", "=", "FIRST_FPR_REGNO", ";", "if", "(", "TARGET_VSX", "||", "(", "TEST_HARD_REG_BIT", "(", "to_vsx", ",", "FIRST_ALTIVEC_REGNO", ")", "&&", "TEST_HARD_REG_BIT", "(", "from_vsx", ",", "FIRST_ALTIVEC_REGNO", ")", ")", ")", "reg", "=", "FIRST_ALTIVEC_REGNO", ";", "ret", "=", "2", "*", "hard_regno_nregs", "(", "reg", ",", "mode", ")", ";", "}", "else", "if", "(", "(", "rclass", "=", "from", ",", "reg_classes_intersect_p", "(", "to", ",", "GENERAL_REGS", ")", ")", "||", "(", "rclass", "=", "to", ",", "reg_classes_intersect_p", "(", "from", ",", "GENERAL_REGS", ")", ")", ")", "{", "if", "(", "rclass", "==", "FLOAT_REGS", "||", "rclass", "==", "ALTIVEC_REGS", "||", "rclass", "==", "VSX_REGS", ")", "{", "if", "(", "TARGET_DIRECT_MOVE", ")", "{", "if", "(", "rs6000_tune", "==", "PROCESSOR_POWER9", "||", "rs6000_tune", "==", "PROCESSOR_POWER10", ")", "ret", "=", "3", "*", "hard_regno_nregs", "(", "FIRST_GPR_REGNO", ",", "mode", ")", ";", "else", "ret", "=", "4", "*", "hard_regno_nregs", "(", "FIRST_GPR_REGNO", ",", "mode", ")", ";", "if", "(", "mode", "==", "SFmode", ")", "ret", "+=", "2", ";", "}", "else", "ret", "=", "(", "rs6000_memory_move_cost", "(", "mode", ",", "rclass", ",", "false", ")", "+", "rs6000_memory_move_cost", "(", "mode", ",", "GENERAL_REGS", ",", "false", ")", ")", ";", "}", "else", "if", "(", "rclass", "==", "CR_REGS", ")", "ret", "=", "4", ";", "else", "if", "(", "(", "rs6000_tune", "==", "PROCESSOR_POWER6", "||", "rs6000_tune", "==", "PROCESSOR_POWER7", "||", "rs6000_tune", "==", "PROCESSOR_POWER8", "||", "rs6000_tune", "==", "PROCESSOR_POWER9", ")", "&&", "reg_class_subset_p", "(", "rclass", ",", "SPECIAL_REGS", ")", ")", "ret", "=", "6", "*", "hard_regno_nregs", "(", "FIRST_GPR_REGNO", ",", "mode", ")", ";", "else", "ret", "=", "2", "*", "hard_regno_nregs", "(", "FIRST_GPR_REGNO", ",", "mode", ")", ";", "}", "else", "ret", "=", "(", "rs6000_register_move_cost", "(", "mode", ",", "GENERAL_REGS", ",", "to", ")", "+", "rs6000_register_move_cost", "(", "mode", ",", "from", ",", "GENERAL_REGS", ")", ")", ";", "if", "(", "TARGET_DEBUG_COST", ")", "{", "if", "(", "dbg_cost_ctrl", "==", "1", ")", "fprintf", "(", "stderr", ",", "\"rs6000_register_move_cost: ret=%d, mode=%s, from=%s, to=%s\\n\"", ",", "ret", ",", "GET_MODE_NAME", "(", "mode", ")", ",", "reg_class_names", "[", "from", "]", ",", "reg_class_names", "[", "to", "]", ")", ";", "dbg_cost_ctrl", "--", ";", "}", "return", "ret", ";", "}", ""], "natrual_language": ["A", "C", "expression", "returning", "the", "cost", "of", "moving", "data", "from", "a", "register", "of", "class", "CLASS1", "to", "one", "of", "CLASS2", "."], "TS_V_token": ["rs6000", "2", "3", "4", "2", "4", "6", "2", "1", "\"rs6000_register_move_cost: ret=%d, mode=%s, from=%s, to=%s\\n\""], "File": "rs6000", "Func": "rs6000_register_move_cost", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7911, "Length": 370, "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", ",", "RM", ")", ",", "getEffectiveCodeModel", "(", "CM", ",", "JIT", ",", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", ",", "OL", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", "{", "if", "(", "(", "TT", ".", "isOSWindows", "(", ")", "&&", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", "||", "TT", ".", "isPS4", "(", ")", "||", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "{", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "this", "->", "Options", ".", "NoTrapAfterNoreturn", "=", "TT", ".", "isOSBinFormatMachO", "(", ")", ";", "}", "if", "(", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", "setMachineOutliner", "(", "true", ")", ";", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "X86", "target", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86TargetMachine93", "Func": "X86TargetMachine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7912, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "enableInterleavedAccessVectorization", "(", ")", "{", "return", "!", "(", "ST", "->", "isAtom", "(", ")", "||", "ST", "->", "isSLM", "(", ")", ")", ";", "}", ""], "natrual_language": ["Enable", "matching", "of", "interleaved", "access", "groups", "."], "TS_V_token": ["X86", "X86"], "File": "X86TargetTransformInfo32", "Func": "enableInterleavedAccessVectorization", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7913, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SICInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "getRegisterName", "(", "RegNo", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["SIC", "SIC"], "File": "SICInstPrinter", "Func": "printRegName", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7914, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "X86Subtarget", "::", "classifyGlobalFunctionReference", "(", "const", "GlobalValue", "*", "GV", ",", "const", "Module", "&", "M", ")", "const", "{", "if", "(", "TM", ".", "shouldAssumeDSOLocal", "(", "M", ",", "GV", ")", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "if", "(", "isTargetCOFF", "(", ")", ")", "{", "assert", "(", "GV", "->", "hasDLLImportStorageClass", "(", ")", "&&", "\"shouldAssumeDSOLocal gave inconsistent answer\"", ")", ";", "return", "X86II", "::", "MO_DLLIMPORT", ";", "}", "const", "Function", "*", "F", "=", "dyn_cast_or_null", "<", "Function", ">", "(", "GV", ")", ";", "if", "(", "isTargetELF", "(", ")", ")", "{", "if", "(", "is64Bit", "(", ")", "&&", "F", "&&", "(", "CallingConv", "::", "X86_RegCall", "==", "F", "->", "getCallingConv", "(", ")", ")", ")", "return", "X86II", "::", "MO_GOTPCREL", ";", "if", "(", "F", "&&", "F", "->", "hasFnAttribute", "(", "Attribute", "::", "NonLazyBind", ")", "&&", "is64Bit", "(", ")", ")", "return", "X86II", "::", "MO_GOTPCREL", ";", "return", "X86II", "::", "MO_PLT", ";", "}", "if", "(", "is64Bit", "(", ")", ")", "{", "if", "(", "F", "&&", "F", "->", "hasFnAttribute", "(", "Attribute", "::", "NonLazyBind", ")", ")", "return", "X86II", "::", "MO_GOTPCREL", ";", "return", "X86II", "::", "MO_NO_FLAG", ";", "}", "return", "X86II", "::", "MO_NO_FLAG", ";", "}", ""], "natrual_language": ["Classify", "a", "global", "function", "reference", "for", "the", "current", "subtarget", "."], "TS_V_token": ["X86", "X86", "X86II::MO_NO_FLAG", "\"shouldAssumeDSOLocal gave inconsistent answer\"", "X86II::MO_DLLIMPORT", "X86", "X86II::MO_GOTPCREL", "X86II::MO_GOTPCREL", "X86II::MO_PLT", "X86II::MO_GOTPCREL", "X86II::MO_NO_FLAG", "X86II::MO_NO_FLAG"], "File": "X86Subtarget111", "Func": "classifyGlobalFunctionReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7915, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "LEGRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "LEG", "::", "SP", ")", ";", "Reserved", ".", "set", "(", "LEG", "::", "LR", ")", ";", "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": ["LEG", "LEG", "LEG::SP", "LEG::LR"], "File": "LEGRegisterInfo", "Func": "getReservedRegs", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7916, "Length": 42, "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", "(", "MF", ".", "hasEHFunclets", "(", ")", ")", "return", "true", ";", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", ")", "return", "true", ";", "if", "(", "MFI", ".", "hasVarSizedObjects", "(", ")", "||", "MFI", ".", "isFrameAddressTaken", "(", ")", "||", "MFI", ".", "hasStackMap", "(", ")", "||", "MFI", ".", "hasPatchPoint", "(", ")", "||", "RegInfo", "->", "hasStackRealignment", "(", "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": "AArch64FrameLowering (2)1", "Func": "hasFP", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7917, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "SubsumesPredicate", "(", "const", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Pred1", ",", "const", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Pred2", ")", "const", "{", "assert", "(", "Pred1", ".", "size", "(", ")", "==", "2", "&&", "\"Invalid PPC first predicate\"", ")", ";", "assert", "(", "Pred2", ".", "size", "(", ")", "==", "2", "&&", "\"Invalid PPC second predicate\"", ")", ";", "if", "(", "Pred1", "[", "1", "]", ".", "getReg", "(", ")", "==", "PPC", "::", "CTR8", "||", "Pred1", "[", "1", "]", ".", "getReg", "(", ")", "==", "PPC", "::", "CTR", ")", "return", "false", ";", "if", "(", "Pred2", "[", "1", "]", ".", "getReg", "(", ")", "==", "PPC", "::", "CTR8", "||", "Pred2", "[", "1", "]", ".", "getReg", "(", ")", "==", "PPC", "::", "CTR", ")", "return", "false", ";", "PPC", "::", "Predicate", "P1", "=", "(", "PPC", "::", "Predicate", ")", "Pred1", "[", "0", "]", ".", "getImm", "(", ")", ";", "PPC", "::", "Predicate", "P2", "=", "(", "PPC", "::", "Predicate", ")", "Pred2", "[", "0", "]", ".", "getImm", "(", ")", ";", "if", "(", "P1", "==", "P2", ")", "return", "true", ";", "if", "(", "P1", "==", "PPC", "::", "PRED_LE", "&&", "(", "P2", "==", "PPC", "::", "PRED_LT", "||", "P2", "==", "PPC", "::", "PRED_EQ", ")", ")", "return", "true", ";", "if", "(", "P1", "==", "PPC", "::", "PRED_GE", "&&", "(", "P2", "==", "PPC", "::", "PRED_GT", "||", "P2", "==", "PPC", "::", "PRED_EQ", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "first", "specified", "predicate", "subsumes", "the", "second", ",", "e.g", "."], "TS_V_token": ["PowerPC", "PPC", "2", "\"Invalid PPC first predicate\"", "2", "\"Invalid PPC second predicate\"", "1", "PPC::CTR8", "1", "PPC::CTR", "1", "PPC::CTR8", "1", "PPC::CTR", "PPC::Predicate", "PPC::Predicate", "0", "PPC::Predicate", "PPC::Predicate", "0", "PPC::PRED_LE", "PPC::PRED_LT", "PPC::PRED_EQ", "PPC::PRED_GE", "PPC::PRED_GT", "PPC::PRED_EQ"], "File": "PPCInstrInfo108", "Func": "SubsumesPredicate", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7918, "Length": 212, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "loongarch_emit_binary", "(", "enum", "rtx_code", "code", ",", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "target", ",", "gen_rtx_fmt_ee", "(", "code", ",", "GET_MODE", "(", "target", ")", ",", "op0", ",", "op1", ")", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "instruction", "of", "the", "form", "(", "set", "TARGET", "(", "CODE", "OP0", "OP1", ")", ")", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_emit_binary", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7919, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmBackend", "::", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Check", "whether", "the", "given", "instruction", "may", "need", "relaxation", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64AsmBackend (2)", "Func": "mayNeedRelaxation", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7920, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMSubtarget", "::", "enablePostRAScheduler", "(", "CodeGenOpt", "::", "Level", "OptLevel", ",", "TargetSubtarget", "::", "AntiDepBreakMode", "&", "Mode", ",", "RegClassVector", "&", "CriticalPathRCs", ")", "const", "{", "Mode", "=", "TargetSubtarget", "::", "ANTIDEP_CRITICAL", ";", "CriticalPathRCs", ".", "clear", "(", ")", ";", "CriticalPathRCs", ".", "push_back", "(", "&", "ARM", "::", "GPRRegClass", ")", ";", "return", "PostRAScheduler", "&&", "OptLevel", ">=", "CodeGenOpt", "::", "Default", ";", "}", ""], "natrual_language": ["True", "if", "the", "subtarget", "should", "run", "a", "scheduler", "after", "register", "allocation", "."], "TS_V_token": ["ARM", "ARM", "ARM::GPRRegClass"], "File": "ARMSubtarget10", "Func": "enablePostRAScheduler", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7921, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "initialize_aarch64_code_model", "(", "struct", "gcc_options", "*", "opts", ")", "{", "if", "(", "opts", "->", "x_flag_pic", ")", "{", "switch", "(", "opts", "->", "x_aarch64_cmodel_var", ")", "{", "case", "AARCH64_CMODEL_TINY", ":", "aarch64_cmodel", "=", "AARCH64_CMODEL_TINY_PIC", ";", "break", ";", "case", "AARCH64_CMODEL_SMALL", ":", "aarch64_cmodel", "=", "(", "flag_pic", "==", "2", "?", "AARCH64_CMODEL_SMALL_PIC", ":", "AARCH64_CMODEL_SMALL_SPIC", ")", ";", "aarch64_cmodel", "=", "AARCH64_CMODEL_SMALL_PIC", ";", "break", ";", "case", "AARCH64_CMODEL_LARGE", ":", "sorry", "(", "\"code model %qs with -f%s\"", ",", "\"large\"", ",", "opts", "->", "x_flag_pic", ">", "1", "?", "\"PIC\"", ":", "\"pic\"", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "aarch64_cmodel", "=", "opts", "->", "x_aarch64_cmodel_var", ";", "}", ""], "natrual_language": ["A", "checking", "mechanism", "for", "the", "implementation", "of", "the", "various", "code", "models", "."], "TS_V_token": ["aarch64", "2", "\"code model %qs with -f%s\"", "\"large\"", "1", "\"PIC\"", "\"pic\""], "File": "aarch643", "Func": "initialize_aarch64_code_model", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7922, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "ARMElfTargetObjectFile", "::", "getTTypeGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "unsigned", "Encoding", ",", "Mangler", "&", "Mang", ",", "const", "TargetMachine", "&", "TM", ",", "MachineModuleInfo", "*", "MMI", ",", "MCStreamer", "&", "Streamer", ")", "const", "{", "assert", "(", "Encoding", "==", "DW_EH_PE_absptr", "&&", "\"Can handle absptr encoding only\"", ")", ";", "return", "MCSymbolRefExpr", "::", "Create", "(", "TM", ".", "getSymbol", "(", "GV", ",", "Mang", ")", ",", "MCSymbolRefExpr", "::", "VK_ARM_TARGET2", ",", "getContext", "(", ")", ")", ";", "}", ""], "natrual_language": ["The", "mach-o", "version", "of", "this", "method", "defaults", "to", "returning", "a", "stub", "reference", "."], "TS_V_token": ["ARM", "ARM", "\"Can handle absptr encoding only\"", "ARM"], "File": "ARMTargetObjectFile16", "Func": "getTTypeGlobalReference", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7923, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_init_builtins", "(", ")", "{", "aarch64_general_init_builtins", "(", ")", ";", "aarch64_sve", "::", "init_builtins", "(", ")", ";", "SUBTARGET_INIT_BUILTINS", ";", "}", ""], "natrual_language": ["Implement", "TARGET_INIT_BUILTINS", "."], "TS_V_token": ["aarch64", "aarch64_sve::init_builtins"], "File": "aarch641", "Func": "aarch64_init_builtins", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7924, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCAIXAsmPrinter", "::", "emitEndOfAsmFile", "(", "Module", "&", "M", ")", "{", "if", "(", "M", ".", "empty", "(", ")", ")", "return", ";", "OutStreamer", "->", "SwitchSection", "(", "getObjFileLowering", "(", ")", ".", "getTOCBaseSection", "(", ")", ")", ";", "PPCTargetStreamer", "&", "TS", "=", "static_cast", "<", "PPCTargetStreamer", "&", ">", "(", "*", "OutStreamer", "->", "getTargetStreamer", "(", ")", ")", ";", "const", "unsigned", "EntryByteSize", "=", "Subtarget", "->", "isPPC64", "(", ")", "?", "8", ":", "4", ";", "const", "unsigned", "TOCEntriesByteSize", "=", "TOC", ".", "size", "(", ")", "*", "EntryByteSize", ";", "if", "(", "TOCEntriesByteSize", ">", "32767", ")", "{", "report_fatal_error", "(", "\"Handling of TOC entry displacement larger than 32767 \"", "\"is not yet implemented.\"", ")", ";", "}", "for", "(", "auto", "&", "I", ":", "TOC", ")", "{", "MCSectionXCOFF", "*", "TCEntry", "=", "cast", "<", "MCSectionXCOFF", ">", "(", "getObjFileLowering", "(", ")", ".", "getSectionForTOCEntry", "(", "I", ".", "first", ")", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "TCEntry", ")", ";", "OutStreamer", "->", "emitLabel", "(", "I", ".", "second", ")", ";", "TS", ".", "emitTCEntry", "(", "*", "I", ".", "first", ")", ";", "}", "}", ""], "natrual_language": ["This", "virtual", "method", "can", "be", "overridden", "by", "targets", "that", "want", "to", "emit", "something", "at", "the", "end", "of", "their", "file", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "8", "4", "32767", "\"Handling of TOC entry displacement larger than 32767 \"", "\"is not yet implemented.\""], "File": "PPCAsmPrinter14", "Func": "emitEndOfAsmFile", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7925, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_cannot_change_mode_class", "(", "enum", "machine_mode", "from", ",", "enum", "machine_mode", "to", ",", "enum", "reg_class", "class", ")", "{", "if", "(", "from", "==", "to", ")", "return", "false", ";", "if", "(", "MAYBE_FLOAT_CLASS_P", "(", "class", ")", ")", "return", "true", ";", "if", "(", "MAYBE_SSE_CLASS_P", "(", "class", ")", "||", "MAYBE_MMX_CLASS_P", "(", "class", ")", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "from", ")", "<", "4", ")", "return", "true", ";", "if", "(", "GET_MODE_SIZE", "(", "to", ")", "<", "GET_MODE_SIZE", "(", "from", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "registers", "in", "CLASS", "can", "not", "represent", "the", "change", "from", "modes", "FROM", "to", "TO", "."], "TS_V_token": ["i386", "4"], "File": "i3863", "Func": "ix86_cannot_change_mode_class", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7926, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "AARCH64_TYPE_PROMO_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64"], "File": "AArch64AddressTypePromotion2", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7927, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsInstrInfo", "::", "insertNoop", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "DebugLoc", "DL", ";", "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": "MipsInstrInfo (2)", "Func": "insertNoop", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7928, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "getTgtMemIntrinsic", "(", "IntrinsicInfo", "&", "Info", ",", "const", "CallInst", "&", "I", ",", "MachineFunction", "&", "MF", ",", "unsigned", "Intrinsic", ")", "const", "{", "const", "IntrinsicData", "*", "IntrData", "=", "getIntrinsicWithChain", "(", "Intrinsic", ")", ";", "if", "(", "!", "IntrData", ")", "return", "false", ";", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_W_CHAIN", ";", "Info", ".", "flags", "=", "MachineMemOperand", "::", "MONone", ";", "Info", ".", "offset", "=", "0", ";", "switch", "(", "IntrData", "->", "Type", ")", "{", "case", "TRUNCATE_TO_MEM_VI8", ":", "case", "TRUNCATE_TO_MEM_VI16", ":", "case", "TRUNCATE_TO_MEM_VI32", ":", "{", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "0", ")", ";", "MVT", "VT", "=", "MVT", "::", "getVT", "(", "I", ".", "getArgOperand", "(", "1", ")", "->", "getType", "(", ")", ")", ";", "MVT", "ScalarVT", "=", "MVT", "::", "INVALID_SIMPLE_VALUE_TYPE", ";", "if", "(", "IntrData", "->", "Type", "==", "TRUNCATE_TO_MEM_VI8", ")", "ScalarVT", "=", "MVT", "::", "i8", ";", "else", "if", "(", "IntrData", "->", "Type", "==", "TRUNCATE_TO_MEM_VI16", ")", "ScalarVT", "=", "MVT", "::", "i16", ";", "else", "if", "(", "IntrData", "->", "Type", "==", "TRUNCATE_TO_MEM_VI32", ")", "ScalarVT", "=", "MVT", "::", "i32", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVectorVT", "(", "ScalarVT", ",", "VT", ".", "getVectorNumElements", "(", ")", ")", ";", "Info", ".", "align", "=", "1", ";", "Info", ".", "flags", "|=", "MachineMemOperand", "::", "MOStore", ";", "break", ";", "}", "case", "GATHER", ":", "case", "GATHER_AVX2", ":", "{", "Info", ".", "ptrVal", "=", "nullptr", ";", "MVT", "DataVT", "=", "MVT", "::", "getVT", "(", "I", ".", "getType", "(", ")", ")", ";", "MVT", "IndexVT", "=", "MVT", "::", "getVT", "(", "I", ".", "getArgOperand", "(", "2", ")", "->", "getType", "(", ")", ")", ";", "unsigned", "NumElts", "=", "std", "::", "min", "(", "DataVT", ".", "getVectorNumElements", "(", ")", ",", "IndexVT", ".", "getVectorNumElements", "(", ")", ")", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVectorVT", "(", "DataVT", ".", "getVectorElementType", "(", ")", ",", "NumElts", ")", ";", "Info", ".", "align", "=", "1", ";", "Info", ".", "flags", "|=", "MachineMemOperand", "::", "MOLoad", ";", "break", ";", "}", "case", "SCATTER", ":", "{", "Info", ".", "ptrVal", "=", "nullptr", ";", "MVT", "DataVT", "=", "MVT", "::", "getVT", "(", "I", ".", "getArgOperand", "(", "3", ")", "->", "getType", "(", ")", ")", ";", "MVT", "IndexVT", "=", "MVT", "::", "getVT", "(", "I", ".", "getArgOperand", "(", "2", ")", "->", "getType", "(", ")", ")", ";", "unsigned", "NumElts", "=", "std", "::", "min", "(", "DataVT", ".", "getVectorNumElements", "(", ")", ",", "IndexVT", ".", "getVectorNumElements", "(", ")", ")", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVectorVT", "(", "DataVT", ".", "getVectorElementType", "(", ")", ",", "NumElts", ")", ";", "Info", ".", "align", "=", "1", ";", "Info", ".", "flags", "|=", "MachineMemOperand", "::", "MOStore", ";", "break", ";", "}", "default", ":", "return", "false", ";", "}", "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": ["X86", "X86", "ISD::INTRINSIC_W_CHAIN", "0", "0", "MVT::getVT", "1", "MVT::INVALID_SIMPLE_VALUE_TYPE", "MVT::i8", "MVT::i16", "MVT::i32", "MVT::getVectorVT", "1", "MVT::getVT", "MVT::getVT", "2", "MVT::getVectorVT", "1", "MVT::getVT", "3", "MVT::getVT", "2", "MVT::getVectorVT", "1"], "File": "X86ISelLowering129", "Func": "getTgtMemIntrinsic", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7929, "Length": 407, "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": 7930, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "Thumb2InstrInfo", "::", "commuteInstructionImpl", "(", "MachineInstr", "&", "MI", ",", "bool", "NewMI", ",", "unsigned", "OpIdx1", ",", "unsigned", "OpIdx2", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "ARM", "::", "MVE_VMAXNMAf16", ":", "case", "ARM", "::", "MVE_VMAXNMAf32", ":", "case", "ARM", "::", "MVE_VMINNMAf16", ":", "case", "ARM", "::", "MVE_VMINNMAf32", ":", "if", "(", "getVPTInstrPredicate", "(", "MI", ")", "!=", "ARMVCC", "::", "None", ")", "return", "nullptr", ";", "}", "return", "ARMBaseInstrInfo", "::", "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": ["ARM", "ARM::MVE_VMAXNMAf16", "ARM::MVE_VMAXNMAf32", "ARM::MVE_VMINNMAf16", "ARM::MVE_VMINNMAf32", "ARMVCC::None", "ARM"], "File": "Thumb2InstrInfo", "Func": "commuteInstructionImpl", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7931, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "reMaterialize", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "unsigned", "SubIdx", ",", "const", "MachineInstr", "*", "Orig", ",", "const", "TargetRegisterInfo", "&", "TRI", ")", "const", "{", "bool", "ClobbersEFLAGS", "=", "false", ";", "for", "(", "const", "MachineOperand", "&", "MO", ":", "Orig", "->", "operands", "(", ")", ")", "{", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "MO", ".", "isDef", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "==", "X86", "::", "EFLAGS", ")", "{", "ClobbersEFLAGS", "=", "true", ";", "break", ";", "}", "}", "if", "(", "ClobbersEFLAGS", "&&", "!", "isSafeToClobberEFLAGS", "(", "MBB", ",", "I", ")", ")", "{", "int", "Value", ";", "switch", "(", "Orig", "->", "getOpcode", "(", ")", ")", "{", "case", "X86", "::", "MOV32r0", ":", "Value", "=", "0", ";", "break", ";", "case", "X86", "::", "MOV32r1", ":", "Value", "=", "1", ";", "break", ";", "case", "X86", "::", "MOV32r_1", ":", "Value", "=", "-", "1", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Unexpected instruction!\"", ")", ";", "}", "DebugLoc", "DL", "=", "Orig", "->", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "X86", "::", "MOV32ri", ")", ")", ".", "addOperand", "(", "Orig", "->", "getOperand", "(", "0", ")", ")", ".", "addImm", "(", "Value", ")", ";", "}", "else", "{", "MachineInstr", "*", "MI", "=", "MBB", ".", "getParent", "(", ")", "->", "CloneMachineInstr", "(", "Orig", ")", ";", "MBB", ".", "insert", "(", "I", ",", "MI", ")", ";", "}", "MachineInstr", "*", "NewMI", "=", "std", "::", "prev", "(", "I", ")", ";", "NewMI", "->", "substituteRegister", "(", "Orig", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "DestReg", ",", "SubIdx", ",", "TRI", ")", ";", "}", ""], "natrual_language": ["Re-issue", "the", "specified", "'original", "'", "instruction", "at", "the", "specific", "location", "targeting", "a", "new", "destination", "register", "."], "TS_V_token": ["X86", "X86", "X86::EFLAGS", "X86::MOV32r0", "0", "X86::MOV32r1", "1", "X86::MOV32r_1", "1", "\"Unexpected instruction!\"", "X86::MOV32ri", "0", "0"], "File": "X86InstrInfo (2)2", "Func": "reMaterialize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7932, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_canonicalize_int_order_test", "(", "enum", "rtx_code", "*", "code", ",", "rtx", "*", "cmp1", ",", "machine_mode", "mode", ")", "{", "HOST_WIDE_INT", "plus_one", ";", "if", "(", "mips_int_order_operand_ok_p", "(", "*", "code", ",", "*", "cmp1", ")", ")", "return", "true", ";", "if", "(", "CONST_INT_P", "(", "*", "cmp1", ")", ")", "switch", "(", "*", "code", ")", "{", "case", "LE", ":", "plus_one", "=", "trunc_int_for_mode", "(", "UINTVAL", "(", "*", "cmp1", ")", "+", "1", ",", "mode", ")", ";", "if", "(", "INTVAL", "(", "*", "cmp1", ")", "<", "plus_one", ")", "{", "*", "code", "=", "LT", ";", "*", "cmp1", "=", "force_reg", "(", "mode", ",", "GEN_INT", "(", "plus_one", ")", ")", ";", "return", "true", ";", "}", "break", ";", "case", "LEU", ":", "plus_one", "=", "trunc_int_for_mode", "(", "UINTVAL", "(", "*", "cmp1", ")", "+", "1", ",", "mode", ")", ";", "if", "(", "plus_one", "!=", "0", ")", "{", "*", "code", "=", "LTU", ";", "*", "cmp1", "=", "force_reg", "(", "mode", ",", "GEN_INT", "(", "plus_one", ")", ")", ";", "return", "true", ";", "}", "break", ";", "default", ":", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "*", "CMP1", "(", "of", "mode", "MODE", ")", "is", "a", "valid", "second", "operand", "for", "integer", "ordering", "test", "*", "CODE", ",", "or", "if", "an", "equivalent", "combination", "can", "be", "formed", "by", "adjusting", "*", "CODE", "and", "*", "CMP1", ".", "When", "returning", "true", ",", "update", "*", "CODE", "and", "*", "CMP1", "with", "the", "chosen", "code", "and", "operand", ",", "otherwise", "leave", "them", "alone", "."], "TS_V_token": ["mips", "1", "1", "0"], "File": "mips", "Func": "mips_canonicalize_int_order_test", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7933, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "expand_vec_perm_v4hi_5", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "char", "perm2", "[", "4", "]", ";", "rtx", "rmask", "[", "4", "]", ";", "unsigned", "i", ";", "rtx", "t0", ",", "t1", ",", "mask", ",", "x", ";", "bool", "ok", ";", "if", "(", "d", "->", "vmode", "!=", "V4HImode", "||", "d", "->", "one_operand_p", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "for", "(", "i", "=", "0", ";", "i", "<", "4", ";", "++", "i", ")", "{", "perm2", "[", "i", "]", "=", "d", "->", "perm", "[", "i", "]", "&", "3", ";", "rmask", "[", "i", "]", "=", "(", "d", "->", "perm", "[", "i", "]", "&", "4", "?", "const0_rtx", ":", "constm1_rtx", ")", ";", "}", "mask", "=", "gen_rtx_CONST_VECTOR", "(", "V4HImode", ",", "gen_rtvec_v", "(", "4", ",", "rmask", ")", ")", ";", "mask", "=", "force_reg", "(", "V4HImode", ",", "mask", ")", ";", "t0", "=", "gen_reg_rtx", "(", "V4HImode", ")", ";", "t1", "=", "gen_reg_rtx", "(", "V4HImode", ")", ";", "ok", "=", "expand_vselect", "(", "t0", ",", "d", "->", "op0", ",", "perm2", ",", "4", ")", ";", "gcc_assert", "(", "ok", ")", ";", "ok", "=", "expand_vselect", "(", "t1", ",", "d", "->", "op1", ",", "perm2", ",", "4", ")", ";", "gcc_assert", "(", "ok", ")", ";", "x", "=", "gen_rtx_AND", "(", "V4HImode", ",", "mask", ",", "t0", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "t0", ",", "x", ")", ")", ";", "x", "=", "gen_rtx_NOT", "(", "V4HImode", ",", "mask", ")", ";", "x", "=", "gen_rtx_AND", "(", "V4HImode", ",", "x", ",", "t1", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "t1", ",", "x", ")", ")", ";", "x", "=", "gen_rtx_IOR", "(", "V4HImode", ",", "t0", ",", "t1", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "d", "->", "target", ",", "x", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "ia64_expand_vec_perm_const_1", ".", "Emit", "a", "full", "V4HImode", "constant", "permutation", "via", "two", "mux2", "and", "a", "merge", "."], "TS_V_token": ["ia64", "4", "4", "0", "4", "3", "4", "4", "4", "4"], "File": "ia644", "Func": "expand_vec_perm_v4hi_5", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7934, "Length": 272, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "_uw8", "next_unwind_byte", "(", "__gnu_unwind_state", "*", "uws", ")", "{", "_uw8", "b", ";", "if", "(", "uws", "->", "bytes_left", "==", "0", ")", "{", "if", "(", "uws", "->", "words_left", "==", "0", ")", "return", "CODE_FINISH", ";", "uws", "->", "words_left", "--", ";", "uws", "->", "data", "=", "*", "(", "uws", "->", "next", "++", ")", ";", "uws", "->", "bytes_left", "=", "3", ";", "}", "else", "uws", "->", "bytes_left", "--", ";", "b", "=", "(", "uws", "->", "data", ">>", "24", ")", "&", "0xff", ";", "uws", "->", "data", "<<=", "8", ";", "return", "b", ";", "}", ""], "natrual_language": ["Return", "the", "next", "byte", "of", "unwinding", "information", ",", "or", "CODE_FINISH", "if", "there", "is", "no", "data", "remaining", "."], "TS_V_token": ["arm", "0", "0", "3", "24", "0xff", "8"], "File": "pr-support", "Func": "next_unwind_byte", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7935, "Length": 85, "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": 7936, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb2SizeReduce", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "STI", "=", "&", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "TII", "=", "static_cast", "<", "const", "Thumb2InstrInfo", "*", ">", "(", "STI", "->", "getInstrInfo", "(", ")", ")", ";", "AttributeSet", "FnAttrs", "=", "MF", ".", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ";", "OptimizeSize", "=", "FnAttrs", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "OptimizeForSize", ")", ";", "MinimizeSize", "=", "FnAttrs", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "MinSize", ")", ";", "BlockInfo", ".", "clear", "(", ")", ";", "BlockInfo", ".", "resize", "(", "MF", ".", "getNumBlockIDs", "(", ")", ")", ";", "ReversePostOrderTraversal", "<", "MachineFunction", "*", ">", "RPOT", "(", "&", "MF", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "ReversePostOrderTraversal", "<", "MachineFunction", "*", ">", "::", "rpo_iterator", "I", "=", "RPOT", ".", "begin", "(", ")", ",", "E", "=", "RPOT", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Modified", "|=", "ReduceMBB", "(", "*", "*", "I", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM"], "File": "Thumb2SizeReduction15", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7937, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "bool", "is64Bit", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ";", "bool", "isWin64", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "isTargetWin64", "(", ")", ";", "unsigned", "SlotSize", "=", "is64Bit", "?", "8", ":", "4", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "unsigned", "FPReg", "=", "RI", ".", "getFrameRegister", "(", "MF", ")", ";", "X86MachineFunctionInfo", "*", "X86FI", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "unsigned", "CalleeFrameSize", "=", "0", ";", "unsigned", "Opc", "=", "is64Bit", "?", "X86", "::", "PUSH64r", ":", "X86", "::", "PUSH32r", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "RegClass", "=", "CSI", "[", "i", "-", "1", "]", ".", "getRegClass", "(", ")", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "if", "(", "Reg", "==", "FPReg", ")", "continue", ";", "if", "(", "RegClass", "!=", "&", "X86", "::", "VR128RegClass", "&&", "!", "isWin64", ")", "{", "CalleeFrameSize", "+=", "SlotSize", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opc", ")", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ";", "}", "else", "{", "storeRegToStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "true", ",", "CSI", "[", "i", "-", "1", "]", ".", "getFrameIdx", "(", ")", ",", "RegClass", ")", ";", "}", "}", "X86FI", "->", "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": ["X86", "X86", "X86", "X86", "8", "4", "X86", "X86", "X86", "0", "X86::PUSH64r", "X86::PUSH32r", "0", "1", "1", "X86::VR128RegClass", "1", "X86"], "File": "X86InstrInfo134", "Func": "spillCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7938, "Length": 284, "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", "(", "auto", "L", "=", "df_begin", "(", "I", ")", ",", "LE", "=", "df_end", "(", "I", ")", ";", "L", "!=", "LE", ";", "++", "L", ")", "if", "(", "L", "->", "empty", "(", ")", ")", "runOnLoop", "(", "*", "*", "L", ",", "Fn", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64FalkorHWPFFix12", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7939, "Length": 149, "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": 7940, "Length": 365, "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": ["ARM"], "File": "ARMTargetMachine5", "Func": "getDataLayout", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7941, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_function_regparm", "(", "const_tree", "type", ",", "const_tree", "decl", ")", "{", "tree", "attr", ";", "int", "regparm", ";", "unsigned", "int", "ccvt", ";", "if", "(", "TARGET_64BIT", ")", "return", "(", "ix86_function_type_abi", "(", "type", ")", "==", "SYSV_ABI", "?", "X86_64_REGPARM_MAX", ":", "X86_64_MS_REGPARM_MAX", ")", ";", "ccvt", "=", "ix86_get_callcvt", "(", "type", ")", ";", "regparm", "=", "ix86_regparm", ";", "if", "(", "(", "ccvt", "&", "IX86_CALLCVT_REGPARM", ")", "!=", "0", ")", "{", "attr", "=", "lookup_attribute", "(", "\"regparm\"", ",", "TYPE_ATTRIBUTES", "(", "type", ")", ")", ";", "if", "(", "attr", ")", "{", "regparm", "=", "TREE_INT_CST_LOW", "(", "TREE_VALUE", "(", "TREE_VALUE", "(", "attr", ")", ")", ")", ";", "return", "regparm", ";", "}", "}", "else", "if", "(", "(", "ccvt", "&", "IX86_CALLCVT_FASTCALL", ")", "!=", "0", ")", "return", "2", ";", "else", "if", "(", "(", "ccvt", "&", "IX86_CALLCVT_THISCALL", ")", "!=", "0", ")", "return", "1", ";", "if", "(", "decl", "&&", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", ")", "{", "cgraph_node", "*", "target", "=", "cgraph_node", "::", "get", "(", "decl", ")", ";", "if", "(", "target", ")", "target", "=", "target", "->", "function_symbol", "(", ")", ";", "if", "(", "target", "&&", "opt_for_fn", "(", "target", "->", "decl", ",", "optimize", ")", "&&", "!", "(", "profile_flag", "&&", "!", "flag_fentry", ")", ")", "{", "cgraph_local_info", "*", "i", "=", "&", "target", "->", "local", ";", "if", "(", "i", "&&", "i", "->", "local", "&&", "i", "->", "can_change_signature", ")", "{", "int", "local_regparm", ",", "globals", "=", "0", ",", "regno", ";", "for", "(", "local_regparm", "=", "0", ";", "local_regparm", "<", "REGPARM_MAX", ";", "local_regparm", "++", ")", "if", "(", "fixed_regs", "[", "local_regparm", "]", ")", "break", ";", "if", "(", "local_regparm", "==", "3", "&&", "DECL_STATIC_CHAIN", "(", "target", "->", "decl", ")", ")", "local_regparm", "=", "2", ";", "if", "(", "flag_split_stack", ")", "{", "if", "(", "local_regparm", "==", "3", ")", "local_regparm", "=", "2", ";", "else", "if", "(", "local_regparm", "==", "2", "&&", "DECL_STATIC_CHAIN", "(", "target", "->", "decl", ")", ")", "local_regparm", "=", "1", ";", "}", "for", "(", "regno", "=", "AX_REG", ";", "regno", "<=", "DI_REG", ";", "regno", "++", ")", "if", "(", "fixed_regs", "[", "regno", "]", ")", "globals", "++", ";", "local_regparm", "=", "globals", "<", "local_regparm", "?", "local_regparm", "-", "globals", ":", "0", ";", "if", "(", "local_regparm", ">", "regparm", ")", "regparm", "=", "local_regparm", ";", "}", "}", "}", "return", "regparm", ";", "}", ""], "natrual_language": ["Return", "the", "regparm", "value", "for", "a", "function", "with", "the", "indicated", "TYPE", "and", "DECL", ".", "DECL", "may", "be", "NULL", "when", "calling", "function", "indirectly", "or", "considering", "a", "libcall", "."], "TS_V_token": ["i386", "0", "\"regparm\"", "0", "2", "0", "1", "0", "0", "3", "2", "3", "2", "2", "1", "0"], "File": "i3866", "Func": "ix86_function_regparm", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7942, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "loongarch_save_reg", "(", "rtx", "reg", ",", "rtx", "mem", ")", "{", "loongarch_emit_move", "(", "mem", ",", "reg", ")", ";", "loongarch_set_frame_expr", "(", "loongarch_frame_set", "(", "mem", ",", "reg", ")", ")", ";", "}", ""], "natrual_language": ["Save", "register", "REG", "to", "MEM", ".", "Make", "the", "instruction", "frame-related", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_save_reg", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7943, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseRegisterInfo", "::", "isFrameOffsetLegal", "(", "const", "MachineInstr", "*", "MI", ",", "Register", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "const", "MCInstrDesc", "&", "Desc", "=", "MI", "->", "getDesc", "(", ")", ";", "unsigned", "AddrMode", "=", "(", "Desc", ".", "TSFlags", "&", "ARMII", "::", "AddrModeMask", ")", ";", "unsigned", "i", "=", "0", ";", "for", "(", ";", "!", "MI", "->", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ";", "++", "i", ")", "assert", "(", "i", "+", "1", "<", "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_i8pos", ":", "case", "ARMII", "::", "AddrModeT2_i8neg", ":", "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", "=", "(", "BaseReg", "==", "ARM", "::", "SP", "?", "8", ":", "5", ")", ";", "Scale", "=", "4", ";", "isSigned", "=", "false", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Unsupported addressing mode!\"", ")", ";", "}", "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", "1", "\"Instr doesn't have FrameIndex operand!\"", "ARMII::AddrMode4", "ARMII::AddrMode6", "0", "0", "1", "ARMII::AddrModeT2_i8", "ARMII::AddrModeT2_i8pos", "ARMII::AddrModeT2_i8neg", "ARMII::AddrModeT2_i12", "1", "0", "8", "12", "ARMII::AddrMode5", "8", "4", "ARMII::AddrMode_i12", "ARMII::AddrMode2", "12", "ARMII::AddrMode3", "8", "ARMII::AddrModeT1_s", "ARM::SP", "8", "5", "4", "\"Unsupported addressing mode!\"", "1", "0", "0", "1", "1"], "File": "ARMBaseRegisterInfo66", "Func": "isFrameOffsetLegal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7944, "Length": 316, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "BuildSDIVPow2", "(", "SDNode", "*", "N", ",", "const", "APInt", "&", "Divisor", ",", "SelectionDAG", "&", "DAG", ",", "std", "::", "vector", "<", "SDNode", "*", ">", "*", "Created", ")", "const", "{", "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", ",", "VT", ")", ";", "SDValue", "Pow2MinusOne", "=", "DAG", ".", "getConstant", "(", "(", "1", "<<", "Lg2", ")", "-", "1", ",", "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", ",", "MVT", "::", "i64", ")", ")", ";", "if", "(", "Divisor", ".", "isNonNegative", "(", ")", ")", "return", "SRA", ";", "if", "(", "Created", ")", "Created", "->", "push_back", "(", "SRA", ".", "getNode", "(", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "ISD", "::", "SUB", ",", "DL", ",", "VT", ",", "DAG", ".", "getConstant", "(", "0", ",", "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", "MVT::i32", "MVT::i64", "0", "0", "1", "1", "AArch64", "ISD::SETLT", "ISD::ADD", "AArch64ISD::CSEL", "ISD::SRA", "MVT::i64", "ISD::SUB", "0"], "File": "AArch64ISelLowering137", "Func": "BuildSDIVPow2", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7945, "Length": 321, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LEGMCInstLower", "::", "Initialize", "(", "Mangler", "*", "M", ",", "MCContext", "*", "C", ")", "{", "Mang", "=", "M", ";", "Ctx", "=", "C", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["LEG", "LEG"], "File": "LEGMCInstLower", "Func": "Initialize", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7946, "Length": 23, "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": "i3868", "Func": "warn_once_call_ms2sysv_xlogues", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7947, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCInstFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "llvm_unreachable", "(", "\"relaxInstruction() unimplemented\"", ")", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["PowerPC", "\"relaxInstruction() unimplemented\""], "File": "PPCAsmBackend28", "Func": "fixupNeedsRelaxation", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7948, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "const_vector_elt_as_int", "(", "rtx", "op", ",", "unsigned", "int", "elt", ")", "{", "rtx", "tmp", ";", "gcc_assert", "(", "GET_MODE", "(", "op", ")", "!=", "V2DImode", "&&", "GET_MODE", "(", "op", ")", "!=", "V2DFmode", ")", ";", "tmp", "=", "CONST_VECTOR_ELT", "(", "op", ",", "elt", ")", ";", "if", "(", "GET_MODE", "(", "op", ")", "==", "V4SFmode", "||", "GET_MODE", "(", "op", ")", "==", "V2SFmode", ")", "tmp", "=", "gen_lowpart", "(", "SImode", ",", "tmp", ")", ";", "return", "INTVAL", "(", "tmp", ")", ";", "}", ""], "natrual_language": ["Interpret", "element", "ELT", "of", "the", "CONST_VECTOR", "OP", "as", "an", "integer", "value", ".", "If", "the", "mode", "of", "OP", "is", "MODE_VECTOR_INT", ",", "this", "simply", "returns", "the", "corresponding", "element", "of", "the", "vector", ",", "but", "for", "V4SFmode", ",", "the", "corresponding", "``", "float", "''", "is", "interpreted", "as", "an", "SImode", "integer", "."], "TS_V_token": ["rs6000"], "File": "rs60004", "Func": "const_vector_elt_as_int", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7949, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sh_file_start", "(", "void", ")", "{", "default_file_start", "(", ")", ";", "if", "(", "TARGET_ELF", ")", "fprintf", "(", "asm_out_file", ",", "\"%s\\n\"", ",", "TEXT_SECTION_ASM_OP", ")", ";", "else", "switch_to_section", "(", "data_section", ")", ";", "if", "(", "TARGET_LITTLE_ENDIAN", ")", "fputs", "(", "\"\\t.little\\n\"", ",", "asm_out_file", ")", ";", "if", "(", "!", "TARGET_ELF", ")", "{", "if", "(", "TARGET_SHCOMPACT", ")", "fputs", "(", "\"\\t.mode\\tSHcompact\\n\"", ",", "asm_out_file", ")", ";", "else", "if", "(", "TARGET_SHMEDIA", ")", "fprintf", "(", "asm_out_file", ",", "\"\\t.mode\\tSHmedia\\n\\t.abi\\t%i\\n\"", ",", "TARGET_SHMEDIA64", "?", "64", ":", "32", ")", ";", "}", "}", ""], "natrual_language": ["Output", "the", "start", "of", "the", "assembler", "file", "."], "TS_V_token": ["sh", "\"%s\\n\"", "\"\\t.little\\n\"", "\"\\t.mode\\tSHcompact\\n\"", "\"\\t.mode\\tSHmedia\\n\\t.abi\\t%i\\n\"", "64", "32"], "File": "sh4", "Func": "sh_file_start", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7950, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ARMTTIImpl", "::", "getNumMemOps", "(", "const", "IntrinsicInst", "*", "I", ")", "const", "{", "MemOp", "MOp", ";", "unsigned", "DstAddrSpace", "=", "~", "0u", ";", "unsigned", "SrcAddrSpace", "=", "~", "0u", ";", "const", "Function", "*", "F", "=", "I", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "if", "(", "const", "auto", "*", "MC", "=", "dyn_cast", "<", "MemTransferInst", ">", "(", "I", ")", ")", "{", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "MC", "->", "getLength", "(", ")", ")", ";", "if", "(", "!", "C", ")", "return", "-", "1", ";", "const", "unsigned", "Size", "=", "C", "->", "getValue", "(", ")", ".", "getZExtValue", "(", ")", ";", "const", "Align", "DstAlign", "=", "*", "MC", "->", "getDestAlign", "(", ")", ";", "const", "Align", "SrcAlign", "=", "*", "MC", "->", "getSourceAlign", "(", ")", ";", "MOp", "=", "MemOp", "::", "Copy", "(", "Size", ",", "false", ",", "DstAlign", ",", "SrcAlign", ",", "false", ")", ";", "DstAddrSpace", "=", "MC", "->", "getDestAddressSpace", "(", ")", ";", "SrcAddrSpace", "=", "MC", "->", "getSourceAddressSpace", "(", ")", ";", "}", "else", "if", "(", "const", "auto", "*", "MS", "=", "dyn_cast", "<", "MemSetInst", ">", "(", "I", ")", ")", "{", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "MS", "->", "getLength", "(", ")", ")", ";", "if", "(", "!", "C", ")", "return", "-", "1", ";", "const", "unsigned", "Size", "=", "C", "->", "getValue", "(", ")", ".", "getZExtValue", "(", ")", ";", "const", "Align", "DstAlign", "=", "*", "MS", "->", "getDestAlign", "(", ")", ";", "MOp", "=", "MemOp", "::", "Set", "(", "Size", ",", "false", ",", "DstAlign", ",", "false", ",", "false", ")", ";", "DstAddrSpace", "=", "MS", "->", "getDestAddressSpace", "(", ")", ";", "}", "else", "llvm_unreachable", "(", "\"Expected a memcpy/move or memset!\"", ")", ";", "unsigned", "Limit", ",", "Factor", "=", "2", ";", "switch", "(", "I", "->", "getIntrinsicID", "(", ")", ")", "{", "case", "Intrinsic", "::", "memcpy", ":", "Limit", "=", "TLI", "->", "getMaxStoresPerMemcpy", "(", "F", "->", "hasMinSize", "(", ")", ")", ";", "break", ";", "case", "Intrinsic", "::", "memmove", ":", "Limit", "=", "TLI", "->", "getMaxStoresPerMemmove", "(", "F", "->", "hasMinSize", "(", ")", ")", ";", "break", ";", "case", "Intrinsic", "::", "memset", ":", "Limit", "=", "TLI", "->", "getMaxStoresPerMemset", "(", "F", "->", "hasMinSize", "(", ")", ")", ";", "Factor", "=", "1", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Expected a memcpy/move or memset!\"", ")", ";", "}", "std", "::", "vector", "<", "EVT", ">", "MemOps", ";", "if", "(", "getTLI", "(", ")", "->", "findOptimalMemOpLowering", "(", "MemOps", ",", "Limit", ",", "MOp", ",", "DstAddrSpace", ",", "SrcAddrSpace", ",", "F", "->", "getAttributes", "(", ")", ")", ")", "return", "MemOps", ".", "size", "(", ")", "*", "Factor", ";", "return", "-", "1", ";", "}", ""], "natrual_language": ["Given", "a", "memcpy/memset/memmove", "instruction", ",", "return", "the", "number", "of", "memory", "operations", "performed", ",", "via", "querying", "findOptimalMemOpLowering", "."], "TS_V_token": ["ARM", "ARM", "0u", "0u", "1", "1", "\"Expected a memcpy/move or memset!\"", "2", "Intrinsic::memcpy", "Intrinsic::memmove", "Intrinsic::memset", "1", "\"Expected a memcpy/move or memset!\"", "1"], "File": "ARMTargetTransformInfo14", "Func": "getNumMemOps", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7951, "Length": 387, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMHazardRecognizer", "::", "EmitInstruction", "(", "SUnit", "*", "SU", ")", "{", "MachineInstr", "*", "MI", "=", "SU", "->", "getInstr", "(", ")", ";", "unsigned", "Opcode", "=", "MI", "->", "getOpcode", "(", ")", ";", "if", "(", "ITBlockSize", ")", "{", "--", "ITBlockSize", ";", "}", "else", "if", "(", "Opcode", "==", "ARM", "::", "t2IT", ")", "{", "unsigned", "Mask", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "unsigned", "NumTZ", "=", "CountTrailingZeros_32", "(", "Mask", ")", ";", "assert", "(", "NumTZ", "<=", "3", "&&", "\"Invalid IT mask!\"", ")", ";", "ITBlockSize", "=", "4", "-", "NumTZ", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MI", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "ITBlockSize", ";", "++", "i", ")", "{", "do", "{", "++", "I", ";", "}", "while", "(", "I", "->", "isDebugValue", "(", ")", ")", ";", "ITBlockMIs", "[", "ITBlockSize", "-", "1", "-", "i", "]", "=", "&", "*", "I", ";", "}", "}", "if", "(", "!", "MI", "->", "isDebugValue", "(", ")", ")", "{", "LastMI", "=", "MI", ";", "FpMLxStalls", "=", "0", ";", "}", "ScoreboardHazardRecognizer", "::", "EmitInstruction", "(", "SU", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["ARM", "ARM", "ARM::t2IT", "1", "3", "\"Invalid IT mask!\"", "4", "0", "1", "0"], "File": "ARMHazardRecognizer20", "Func": "EmitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7952, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_expand_ashl_const", "(", "rtx", "operand", ",", "int", "count", ",", "enum", "machine_mode", "mode", ")", "{", "if", "(", "count", "==", "1", ")", "{", "emit_insn", "(", "(", "mode", "==", "DImode", "?", "gen_addsi3", ":", "gen_adddi3", ")", "(", "operand", ",", "operand", ",", "operand", ")", ")", ";", "}", "else", "if", "(", "!", "optimize_size", "&&", "count", "*", "ix86_cost", "->", "add", "<=", "ix86_cost", "->", "shift_const", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "count", ";", "i", "++", ")", "{", "emit_insn", "(", "(", "mode", "==", "DImode", "?", "gen_addsi3", ":", "gen_adddi3", ")", "(", "operand", ",", "operand", ",", "operand", ")", ")", ";", "}", "}", "else", "emit_insn", "(", "(", "mode", "==", "DImode", "?", "gen_ashlsi3", ":", "gen_ashldi3", ")", "(", "operand", ",", "operand", ",", "GEN_INT", "(", "count", ")", ")", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "of", "ix86_split_ashl", "used", "to", "generate", "an", "SImode/DImode", "left", "shift", "by", "a", "constant", ",", "either", "using", "a", "single", "shift", "or", "a", "sequence", "of", "add", "instructions", "."], "TS_V_token": ["i386", "1", "0"], "File": "i3863", "Func": "ix86_expand_ashl_const", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7953, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "addInstSelector", "(", ")", "{", "PM", "->", "add", "(", "createX86ISelDag", "(", "getX86TargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "if", "(", "!", "getX86Subtarget", "(", ")", ".", "is64Bit", "(", ")", ")", "PM", "->", "add", "(", "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"], "File": "X86TargetMachine87", "Func": "addInstSelector", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7954, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "aarch64_ld234_st234_vectors", "(", "vect_cost_for_stmt", "kind", ",", "stmt_vec_info", "stmt_info", ")", "{", "if", "(", "(", "kind", "==", "vector_load", "||", "kind", "==", "unaligned_load", "||", "kind", "==", "vector_store", "||", "kind", "==", "unaligned_store", ")", "&&", "STMT_VINFO_DATA_REF", "(", "stmt_info", ")", ")", "{", "stmt_info", "=", "DR_GROUP_FIRST_ELEMENT", "(", "stmt_info", ")", ";", "if", "(", "stmt_info", "&&", "STMT_VINFO_MEMORY_ACCESS_TYPE", "(", "stmt_info", ")", "==", "VMAT_LOAD_STORE_LANES", ")", "return", "DR_GROUP_SIZE", "(", "stmt_info", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "an", "access", "of", "kind", "KIND", "for", "STMT_INFO", "represents", "one", "vector", "of", "an", "LD", "[", "234", "]", "or", "ST", "[", "234", "]", "operation", ".", "Return", "the", "total", "number", "of", "vectors", "(", "2", ",", "3", "or", "4", ")", "if", "so", ",", "otherwise", "return", "a", "value", "outside", "that", "range", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch641", "Func": "aarch64_ld234_st234_vectors", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7955, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_emit_stack_v3pop", "(", "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", "pop_rtx", ";", "rtx", "adjust_sp_rtx", ";", "rtx", "parallel_insn", ";", "rtx", "dwarf", "=", "NULL_RTX", ";", "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", "=", "0", ";", "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", ")", ")", ";", "pop_rtx", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "reg", ",", "mem", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "0", ",", "par_index", ")", "=", "pop_rtx", ";", "RTX_FRAME_RELATED_P", "(", "pop_rtx", ")", "=", "1", ";", "offset", "=", "offset", "+", "4", ";", "par_index", "++", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "dwarf", ")", ";", "}", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "FP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "pop_rtx", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "reg", ",", "mem", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "0", ",", "par_index", ")", "=", "pop_rtx", ";", "RTX_FRAME_RELATED_P", "(", "pop_rtx", ")", "=", "1", ";", "offset", "=", "offset", "+", "4", ";", "par_index", "++", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "dwarf", ")", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "GP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "pop_rtx", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "reg", ",", "mem", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "0", ",", "par_index", ")", "=", "pop_rtx", ";", "RTX_FRAME_RELATED_P", "(", "pop_rtx", ")", "=", "1", ";", "offset", "=", "offset", "+", "4", ";", "par_index", "++", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "dwarf", ")", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "LP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "pop_rtx", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "reg", ",", "mem", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "0", ",", "par_index", ")", "=", "pop_rtx", ";", "RTX_FRAME_RELATED_P", "(", "pop_rtx", ")", "=", "1", ";", "offset", "=", "offset", "+", "4", ";", "par_index", "++", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "dwarf", ")", ";", "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", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_ADJUST_CFA", ",", "copy_rtx", "(", "adjust_sp_rtx", ")", ",", "dwarf", ")", ";", "parallel_insn", "=", "emit_insn", "(", "parallel_insn", ")", ";", "RTX_FRAME_RELATED_P", "(", "parallel_insn", ")", "=", "1", ";", "REG_NOTES", "(", "parallel_insn", ")", "=", "dwarf", ";", "}", ""], "natrual_language": ["Function", "to", "create", "a", "parallel", "rtx", "pattern", "which", "presents", "stack", "v3pop", "behavior", ".", "The", "overall", "concept", "are", ":", "``", "pop", "registers", "from", "memory", "''", ",", "``", "adjust", "stack", "pointer", "''", "."], "TS_V_token": ["nds32", "1", "3", "1", "0", "0", "0", "1", "4", "0", "1", "4", "0", "1", "4", "0", "1", "4", "0", "1"], "File": "nds322", "Func": "nds32_emit_stack_v3pop", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7956, "Length": 478, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "constant_generates_lxvkq", "(", "vec_const_128bit_type", "*", "vsx_const", ")", "{", "if", "(", "!", "TARGET_IEEE128_CONSTANT", "||", "!", "TARGET_FLOAT128_HW", "||", "!", "TARGET_POWER10", "||", "!", "TARGET_VSX", ")", "return", "0", ";", "if", "(", "vsx_const", "->", "words", "[", "1", "]", "!=", "0", "||", "vsx_const", "->", "words", "[", "2", "]", "!=", "0", "||", "vsx_const", "->", "words", "[", "3", "]", "!=", "0", ")", "return", "0", ";", "switch", "(", "vsx_const", "->", "words", "[", "0", "]", ")", "{", "case", "0x3FFF0000U", ":", "return", "1", ";", "case", "0x40000000U", ":", "return", "2", ";", "case", "0x40008000U", ":", "return", "3", ";", "case", "0x40010000U", ":", "return", "4", ";", "case", "0x40014000U", ":", "return", "5", ";", "case", "0x40018000U", ":", "return", "6", ";", "case", "0x4001C000U", ":", "return", "7", ";", "case", "0x7FFF0000U", ":", "return", "8", ";", "case", "0x7FFF8000U", ":", "return", "9", ";", "case", "0x80000000U", ":", "return", "16", ";", "case", "0xBFFF0000U", ":", "return", "17", ";", "case", "0xC0000000U", ":", "return", "18", ";", "case", "0xC0008000U", ":", "return", "19", ";", "case", "0xC0010000U", ":", "return", "20", ";", "case", "0xC0014000U", ":", "return", "21", ";", "case", "0xC0018000U", ":", "return", "22", ";", "case", "0xC001C000U", ":", "return", "23", ";", "case", "0xFFFF0000U", ":", "return", "24", ";", "default", ":", "break", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Determine", "if", "an", "IEEE", "128-bit", "constant", "can", "be", "loaded", "with", "LXVKQ", ".", "Return", "zero", "if", "the", "LXVKQ", "instruction", "can", "not", "be", "used", ".", "Otherwise", "return", "the", "immediate", "value", "to", "be", "used", "with", "the", "LXVKQ", "instruction", "."], "TS_V_token": ["rs6000", "0", "1", "0", "2", "0", "3", "0", "0", "0", "0x3FFF0000U", "1", "0x40000000U", "2", "0x40008000U", "3", "0x40010000U", "4", "0x40014000U", "5", "0x40018000U", "6", "0x4001C000U", "7", "0x7FFF0000U", "8", "0x7FFF8000U", "9", "0x80000000U", "16", "0xBFFF0000U", "17", "0xC0000000U", "18", "0xC0008000U", "19", "0xC0010000U", "20", "0xC0014000U", "21", "0xC0018000U", "22", "0xC001C000U", "23", "0xFFFF0000U", "24", "0"], "File": "rs6000", "Func": "constant_generates_lxvkq", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7957, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "MipsRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "static", "const", "uint16_t", "ReservedCPURegs", "[", "]", "=", "{", "Mips", "::", "ZERO", ",", "Mips", "::", "AT", ",", "Mips", "::", "K0", ",", "Mips", "::", "K1", ",", "Mips", "::", "SP", "}", ";", "static", "const", "uint16_t", "ReservedCPU64Regs", "[", "]", "=", "{", "Mips", "::", "ZERO_64", ",", "Mips", "::", "AT_64", ",", "Mips", "::", "K0_64", ",", "Mips", "::", "K1_64", ",", "Mips", "::", "SP_64", "}", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "typedef", "TargetRegisterClass", "::", "const_iterator", "RegIter", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "ReservedCPURegs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedCPURegs", "[", "I", "]", ")", ";", "if", "(", "Subtarget", ".", "hasMips64", "(", ")", ")", "{", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "ReservedCPU64Regs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedCPU64Regs", "[", "I", "]", ")", ";", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "AFGR64RegClass", ".", "begin", "(", ")", ",", "EReg", "=", "Mips", "::", "AFGR64RegClass", ".", "end", "(", ")", ";", "Reg", "!=", "EReg", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "}", "else", "{", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "CPU64RegsRegClass", ".", "begin", "(", ")", ",", "EReg", "=", "Mips", "::", "CPU64RegsRegClass", ".", "end", "(", ")", ";", "Reg", "!=", "EReg", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "FGR64RegClass", ".", "begin", "(", ")", ",", "EReg", "=", "Mips", "::", "FGR64RegClass", ".", "end", "(", ")", ";", "Reg", "!=", "EReg", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "}", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", "->", "hasFP", "(", "MF", ")", ")", "{", "Reserved", ".", "set", "(", "Mips", "::", "FP", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "FP_64", ")", ";", "}", "Reserved", ".", "set", "(", "Mips", "::", "HWR29", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "HWR29_64", ")", ";", "if", "(", "Subtarget", ".", "inMips16Mode", "(", ")", ")", "{", "Reserved", ".", "set", "(", "Mips", "::", "RA", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "RA_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::AT", "Mips::K0", "Mips::K1", "Mips::SP", "Mips::ZERO_64", "Mips::AT_64", "Mips::K0_64", "Mips::K1_64", "Mips::SP_64", "0", "Mips", "0", "Mips::AFGR64RegClass", "Mips::AFGR64RegClass", "Mips::CPU64RegsRegClass", "Mips::CPU64RegsRegClass", "Mips::FGR64RegClass", "Mips::FGR64RegClass", "Mips::FP", "Mips::FP_64", "Mips::HWR29", "Mips::HWR29_64", "Mips", "Mips::RA", "Mips::RA_64"], "File": "MipsRegisterInfo23", "Func": "getReservedRegs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7958, "Length": 352, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "or1k_frame_pointer_required", "(", ")", "{", "return", "(", "crtl", "->", "accesses_prior_frames", ")", ";", "}", ""], "natrual_language": ["Worker", "for", "TARGET_FRAME_POINTER_REQUIRED", ".", "Returns", "true", "if", "the", "current", "function", "must", "use", "a", "frame", "pointer", "."], "TS_V_token": ["or1k"], "File": "or1k", "Func": "or1k_frame_pointer_required", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7959, "Length": 14, "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", "->", "hasAVX2", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "load", "."], "TS_V_token": ["X86", "X86", "32"], "File": "X86TargetTransformInfo (3)", "Func": "isLegalMaskedLoad", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7960, "Length": 57, "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", ")", ";", "}", "}", ""], "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"], "File": "MipsSEISelLowering1", "Func": "EmitInstrWithCustomInserter", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7961, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_member_type_forces_blk", "(", "const_tree", "field", ",", "machine_mode", "mode", ")", "{", "return", "(", "(", "TARGET_SPE", "&&", "TREE_CODE", "(", "TREE_TYPE", "(", "field", ")", ")", "==", "VECTOR_TYPE", ")", "||", "(", "TARGET_E500_DOUBLE", "&&", "mode", "==", "DFmode", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "structure", ",", "union", "or", "array", "containing", "FIELD", "should", "be", "accessed", "using", "`", "BLKMODE", "'", ".", "For", "the", "SPE", ",", "simd", "types", "are", "V2SI", ",", "and", "gcc", "can", "be", "tempted", "to", "put", "the", "entire", "thing", "in", "a", "DI", "and", "use", "subregs", "to", "access", "the", "internals", ".", "store_bit_field", "(", ")", "will", "force", "(", "subreg", ":", "DI", "(", "reg", ":", "V2SI", "x", ")", ")", "'s", "to", "the", "back-end", ".", "Because", "a", "single", "GPR", "can", "hold", "a", "V2SI", ",", "but", "not", "a", "DI", ",", "the", "best", "thing", "to", "do", "is", "set", "structs", "to", "BLKmode", "and", "avoid", "Severe", "Tire", "Damage", ".", "On", "e500", "v2", ",", "DF", "and", "DI", "modes", "suffer", "from", "the", "same", "anomaly", ".", "DF", "can", "fit", "into", "1", ",", "whereas", "DI", "still", "needs", "two", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_member_type_forces_blk", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7962, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "lowerInterleavedLoad", "(", "LoadInst", "*", "LI", ",", "ArrayRef", "<", "ShuffleVectorInst", "*", ">", "Shuffles", ",", "ArrayRef", "<", "unsigned", ">", "Indices", ",", "unsigned", "Factor", ")", "const", "{", "assert", "(", "Factor", ">=", "2", "&&", "Factor", "<=", "getMaxSupportedInterleaveFactor", "(", ")", "&&", "\"Invalid interleave factor\"", ")", ";", "assert", "(", "!", "Shuffles", ".", "empty", "(", ")", "&&", "\"Empty shufflevector input\"", ")", ";", "assert", "(", "Shuffles", ".", "size", "(", ")", "==", "Indices", ".", "size", "(", ")", "&&", "\"Unmatched number of shufflevectors and indices\"", ")", ";", "VectorType", "*", "VecTy", "=", "Shuffles", "[", "0", "]", "->", "getType", "(", ")", ";", "Type", "*", "EltTy", "=", "VecTy", "->", "getVectorElementType", "(", ")", ";", "const", "DataLayout", "&", "DL", "=", "LI", "->", "getModule", "(", ")", "->", "getDataLayout", "(", ")", ";", "unsigned", "VecSize", "=", "DL", ".", "getTypeAllocSizeInBits", "(", "VecTy", ")", ";", "bool", "EltIs64Bits", "=", "DL", ".", "getTypeAllocSizeInBits", "(", "EltTy", ")", "==", "64", ";", "if", "(", "!", "Subtarget", "->", "hasNEON", "(", ")", "||", "(", "VecSize", "!=", "64", "&&", "VecSize", "!=", "128", ")", "||", "EltIs64Bits", ")", "return", "false", ";", "if", "(", "EltTy", "->", "isPointerTy", "(", ")", ")", "VecTy", "=", "VectorType", "::", "get", "(", "DL", ".", "getIntPtrType", "(", "EltTy", ")", ",", "VecTy", "->", "getVectorNumElements", "(", ")", ")", ";", "static", "const", "Intrinsic", "::", "ID", "LoadInts", "[", "3", "]", "=", "{", "Intrinsic", "::", "arm_neon_vld2", ",", "Intrinsic", "::", "arm_neon_vld3", ",", "Intrinsic", "::", "arm_neon_vld4", "}", ";", "IRBuilder", "<", ">", "Builder", "(", "LI", ")", ";", "SmallVector", "<", "Value", "*", ",", "2", ">", "Ops", ";", "Type", "*", "Int8Ptr", "=", "Builder", ".", "getInt8PtrTy", "(", "LI", "->", "getPointerAddressSpace", "(", ")", ")", ";", "Ops", ".", "push_back", "(", "Builder", ".", "CreateBitCast", "(", "LI", "->", "getPointerOperand", "(", ")", ",", "Int8Ptr", ")", ")", ";", "Ops", ".", "push_back", "(", "Builder", ".", "getInt32", "(", "LI", "->", "getAlignment", "(", ")", ")", ")", ";", "Type", "*", "Tys", "[", "]", "=", "{", "VecTy", ",", "Int8Ptr", "}", ";", "Function", "*", "VldnFunc", "=", "Intrinsic", "::", "getDeclaration", "(", "LI", "->", "getModule", "(", ")", ",", "LoadInts", "[", "Factor", "-", "2", "]", ",", "Tys", ")", ";", "CallInst", "*", "VldN", "=", "Builder", ".", "CreateCall", "(", "VldnFunc", ",", "Ops", ",", "\"vldN\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Shuffles", ".", "size", "(", ")", ";", "i", "++", ")", "{", "ShuffleVectorInst", "*", "SV", "=", "Shuffles", "[", "i", "]", ";", "unsigned", "Index", "=", "Indices", "[", "i", "]", ";", "Value", "*", "SubVec", "=", "Builder", ".", "CreateExtractValue", "(", "VldN", ",", "Index", ")", ";", "if", "(", "EltTy", "->", "isPointerTy", "(", ")", ")", "SubVec", "=", "Builder", ".", "CreateIntToPtr", "(", "SubVec", ",", "SV", "->", "getType", "(", ")", ")", ";", "SV", "->", "replaceAllUsesWith", "(", "SubVec", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Lower", "interleaved", "load", "(", "s", ")", "into", "target", "specific", "instructions/intrinsics", "."], "TS_V_token": ["ARM", "ARM", "2", "\"Invalid interleave factor\"", "\"Empty shufflevector input\"", "\"Unmatched number of shufflevectors and indices\"", "0", "64", "64", "128", "Intrinsic::ID", "3", "Intrinsic::arm_neon_vld2", "Intrinsic::arm_neon_vld3", "Intrinsic::arm_neon_vld4", "2", "Intrinsic::getDeclaration", "2", "\"vldN\"", "0"], "File": "ARMISelLowering", "Func": "lowerInterleavedLoad", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7963, "Length": 408, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToAddress", "(", "unsigned", "ValVReg", ",", "unsigned", "Addr", ",", "uint64_t", "Size", ",", "MachinePointerInfo", "&", "MPO", ",", "CCValAssign", "&", "VA", ")", "override", "{", "assert", "(", "(", "Size", "==", "1", "||", "Size", "==", "2", "||", "Size", "==", "4", ")", "&&", "\"Unsupported size\"", ")", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "SExt", "||", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "ZExt", ")", "{", "Size", "=", "4", ";", "assert", "(", "MRI", ".", "getType", "(", "ValVReg", ")", ".", "isScalar", "(", ")", "&&", "\"Only scalars supported atm\"", ")", ";", "MRI", ".", "setType", "(", "ValVReg", ",", "LLT", "::", "scalar", "(", "32", ")", ")", ";", "}", "auto", "MMO", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getMachineMemOperand", "(", "MPO", ",", "MachineMemOperand", "::", "MOLoad", ",", "Size", ",", "0", ")", ";", "MIRBuilder", ".", "buildLoad", "(", "ValVReg", ",", "Addr", ",", "*", "MMO", ")", ";", "}", ""], "natrual_language": ["An", "overload", "which", "takes", "an", "ArgInfo", "if", "additional", "information", "about", "the", "arg", "is", "needed", "."], "TS_V_token": ["ARM", "1", "2", "4", "\"Unsupported size\"", "4", "\"Only scalars supported atm\"", "32", "0"], "File": "ARMCallLowering11", "Func": "assignValueToAddress", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7964, "Length": 134, "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", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tMOVr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "else", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tPUSH", ")", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tPOP", ")", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ".", "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", "ARMCC::AL", "ARM::tPUSH", "ARMCC::AL", "ARM::tPOP", "ARMCC::AL"], "File": "Thumb1InstrInfo19", "Func": "copyPhysReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7965, "Length": 212, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MMIXRegisterInfo", "::", "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", "TargetInstrInfo", "*", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "getIndex", "(", ")", ";", "unsigned", "FrameReg", ";", "int", "Offset", "=", "getFrameLowering", "(", "MF", ")", "->", "getFrameIndexReference", "(", "MF", ",", "FrameIndex", ",", "FrameReg", ")", "+", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "getImm", "(", ")", ";", "assert", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", "->", "hasFP", "(", "MF", ")", "&&", "\"eliminateFrameIndex currently requires hasFP\"", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "MMIX", "::", "ADD_I", "&&", "Offset", "<", "0", "&&", "isInt", "<", "8", ">", "(", "Offset", ")", ")", "{", "MI", ".", "setDesc", "(", "TII", "->", "get", "(", "MMIX", "::", "SUB_I", ")", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "ChangeToImmediate", "(", "-", "Offset", ")", ";", "}", "else", "if", "(", "Offset", "<", "0", ")", "{", "MI", ".", "setDesc", "(", "TII", "->", "get", "(", "getRegOpForImmOpVariant", "(", "MI", ".", "getOpcode", "(", ")", ")", ")", ")", ";", "unsigned", "Reg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "MMIX", "::", "GPRRegClass", ")", ";", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "II", ",", "DL", ",", "TII", "->", "get", "(", "MMIX", "::", "LDI", ")", ",", "Reg", ")", ".", "addImm", "(", "Offset", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "ChangeToRegister", "(", "Reg", ",", "false", ",", "false", ",", "true", ")", ";", "}", "else", "{", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "FrameReg", ",", "false", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["MMIX", "MMIX", "0", "\"Unexpected non-zero SPAdj value\"", "1", "\"eliminateFrameIndex currently requires hasFP\"", "MMIX::ADD_I", "0", "8", "MMIX::SUB_I", "1", "0", "MMIX::GPRRegClass", "MMIX::LDI", "1", "1"], "File": "MMIXRegisterInfo", "Func": "eliminateFrameIndex", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7966, "Length": 332, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMSubtarget", "::", "ARMSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ")", ":", "ARMGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "ARMProcFamily", "(", "Others", ")", ",", "HasV4TOps", "(", "false", ")", ",", "HasV5TOps", "(", "false", ")", ",", "HasV5TEOps", "(", "false", ")", ",", "HasV6Ops", "(", "false", ")", ",", "HasV6T2Ops", "(", "false", ")", ",", "HasV7Ops", "(", "false", ")", ",", "HasVFPv2", "(", "false", ")", ",", "HasVFPv3", "(", "false", ")", ",", "HasVFPv4", "(", "false", ")", ",", "HasNEON", "(", "false", ")", ",", "UseNEONForSinglePrecisionFP", "(", "false", ")", ",", "UseMulOps", "(", "UseFusedMulOps", ")", ",", "SlowFPVMLx", "(", "false", ")", ",", "HasVMLxForwarding", "(", "false", ")", ",", "SlowFPBrcc", "(", "false", ")", ",", "InThumbMode", "(", "false", ")", ",", "HasThumb2", "(", "false", ")", ",", "IsMClass", "(", "false", ")", ",", "NoARM", "(", "false", ")", ",", "PostRAScheduler", "(", "false", ")", ",", "IsR9Reserved", "(", "ReserveR9", ")", ",", "UseMovt", "(", "false", ")", ",", "SupportsTailCall", "(", "false", ")", ",", "HasFP16", "(", "false", ")", ",", "HasD16", "(", "false", ")", ",", "HasHardwareDivide", "(", "false", ")", ",", "HasHardwareDivideInARM", "(", "false", ")", ",", "HasT2ExtractPack", "(", "false", ")", ",", "HasDataBarrier", "(", "false", ")", ",", "Pref32BitThumb", "(", "false", ")", ",", "AvoidCPSRPartialUpdate", "(", "false", ")", ",", "HasRAS", "(", "false", ")", ",", "HasMPExtension", "(", "false", ")", ",", "FPOnlySP", "(", "false", ")", ",", "AllowsUnalignedMem", "(", "false", ")", ",", "Thumb2DSP", "(", "false", ")", ",", "stackAlignment", "(", "4", ")", ",", "CPUString", "(", "CPU", ")", ",", "TargetTriple", "(", "TT", ")", ",", "TargetABI", "(", "ARM_ABI_APCS", ")", "{", "if", "(", "CPUString", ".", "empty", "(", ")", ")", "CPUString", "=", "\"generic\"", ";", "std", "::", "string", "ArchFS", "=", "ARM_MC", "::", "ParseARMTriple", "(", "TT", ",", "CPUString", ")", ";", "if", "(", "!", "FS", ".", "empty", "(", ")", ")", "{", "if", "(", "!", "ArchFS", ".", "empty", "(", ")", ")", "ArchFS", "=", "ArchFS", "+", "\",\"", "+", "FS", ";", "else", "ArchFS", "=", "FS", ";", "}", "ParseSubtargetFeatures", "(", "CPUString", ",", "ArchFS", ")", ";", "if", "(", "!", "HasV6T2Ops", "&&", "hasThumb2", "(", ")", ")", "HasV4TOps", "=", "HasV5TOps", "=", "HasV5TEOps", "=", "HasV6Ops", "=", "HasV6T2Ops", "=", "true", ";", "SchedModel", "=", "getSchedModelForCPU", "(", "CPUString", ")", ";", "InstrItins", "=", "getInstrItineraryForCPU", "(", "CPUString", ")", ";", "if", "(", "(", "TT", ".", "find", "(", "\"eabi\"", ")", "!=", "std", "::", "string", "::", "npos", ")", "||", "(", "isTargetIOS", "(", ")", "&&", "isMClass", "(", ")", ")", ")", "TargetABI", "=", "ARM_ABI_AAPCS", ";", "if", "(", "isAAPCS_ABI", "(", ")", ")", "stackAlignment", "=", "8", ";", "if", "(", "!", "isTargetIOS", "(", ")", ")", "UseMovt", "=", "hasV6T2Ops", "(", ")", ";", "else", "{", "IsR9Reserved", "=", "ReserveR9", "|", "!", "HasV6Ops", ";", "UseMovt", "=", "DarwinUseMOVT", "&&", "hasV6T2Ops", "(", ")", ";", "SupportsTailCall", "=", "!", "getTargetTriple", "(", ")", ".", "isOSVersionLT", "(", "5", ",", "0", ")", ";", "}", "if", "(", "!", "isThumb", "(", ")", "||", "hasThumb2", "(", ")", ")", "PostRAScheduler", "=", "true", ";", "if", "(", "!", "StrictAlign", "&&", "hasV6Ops", "(", ")", "&&", "isTargetDarwin", "(", ")", ")", "AllowsUnalignedMem", "=", "true", ";", "}", ""], "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", "4", "ARM", "\"generic\"", "ARM", "ARM", "\",\"", "\"eabi\"", "ARM", "8", "5", "0"], "File": "ARMSubtarget42", "Func": "ARMSubtarget", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7967, "Length": 460, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_invalid_builtin", "(", "enum", "rs6000_builtins", "fncode", ")", "{", "size_t", "uns_fncode", "=", "(", "size_t", ")", "fncode", ";", "const", "char", "*", "name", "=", "rs6000_builtin_info", "[", "uns_fncode", "]", ".", "name", ";", "HOST_WIDE_INT", "fnmask", "=", "rs6000_builtin_info", "[", "uns_fncode", "]", ".", "mask", ";", "gcc_assert", "(", "name", "!=", "NULL", ")", ";", "if", "(", "(", "fnmask", "&", "RS6000_BTM_CELL", ")", "!=", "0", ")", "error", "(", "\"Builtin function %s is only valid for the cell processor\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_VSX", ")", "!=", "0", ")", "error", "(", "\"Builtin function %s requires the -mvsx option\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_HTM", ")", "!=", "0", ")", "error", "(", "\"Builtin function %s requires the -mhtm option\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_ALTIVEC", ")", "!=", "0", ")", "error", "(", "\"Builtin function %s requires the -maltivec option\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_PAIRED", ")", "!=", "0", ")", "error", "(", "\"Builtin function %s requires the -mpaired option\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_SPE", ")", "!=", "0", ")", "error", "(", "\"Builtin function %s requires the -mspe option\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "(", "RS6000_BTM_DFP", "|", "RS6000_BTM_P8_VECTOR", ")", ")", "==", "(", "RS6000_BTM_DFP", "|", "RS6000_BTM_P8_VECTOR", ")", ")", "error", "(", "\"Builtin function %s requires the -mhard-dfp and\"", "\" -mpower8-vector options\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_DFP", ")", "!=", "0", ")", "error", "(", "\"Builtin function %s requires the -mhard-dfp option\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_P8_VECTOR", ")", "!=", "0", ")", "error", "(", "\"Builtin function %s requires the -mpower8-vector option\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "(", "RS6000_BTM_HARD_FLOAT", "|", "RS6000_BTM_LDBL128", ")", ")", "==", "(", "RS6000_BTM_HARD_FLOAT", "|", "RS6000_BTM_LDBL128", ")", ")", "error", "(", "\"Builtin function %s requires the -mhard-float and\"", "\" -mlong-double-128 options\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_HARD_FLOAT", ")", "!=", "0", ")", "error", "(", "\"Builtin function %s requires the -mhard-float option\"", ",", "name", ")", ";", "else", "error", "(", "\"Builtin function %s is not supported with the current options\"", ",", "name", ")", ";", "}", ""], "natrual_language": ["Raise", "an", "error", "message", "for", "a", "builtin", "function", "that", "is", "called", "without", "the", "appropriate", "target", "options", "being", "set", "."], "TS_V_token": ["rs6000", "0", "\"Builtin function %s is only valid for the cell processor\"", "0", "\"Builtin function %s requires the -mvsx option\"", "0", "\"Builtin function %s requires the -mhtm option\"", "0", "\"Builtin function %s requires the -maltivec option\"", "0", "\"Builtin function %s requires the -mpaired option\"", "0", "\"Builtin function %s requires the -mspe option\"", "\"Builtin function %s requires the -mhard-dfp and\"", "\" -mpower8-vector options\"", "0", "\"Builtin function %s requires the -mhard-dfp option\"", "0", "\"Builtin function %s requires the -mpower8-vector option\"", "\"Builtin function %s requires the -mhard-float and\"", "\" -mlong-double-128 options\"", "0", "\"Builtin function %s requires the -mhard-float option\"", "\"Builtin function %s is not supported with the current options\""], "File": "rs60004", "Func": "rs6000_invalid_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7968, "Length": 270, "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", "(", "MachineBasicBlock", "&", "MBB", ":", "mf", ")", "if", "(", "processMachineBasicBlock", "(", "&", "MBB", ")", ")", "Changed", "=", "true", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"***** AArch64AdvSIMDScalar *****\\n\""], "File": "AArch64AdvSIMDScalarPass15", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7969, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleDAGInstrs", "*", "createPostMachineScheduler", "(", "MachineSchedContext", "*", "C", ")", "const", "override", "{", "const", "AArch64Subtarget", "&", "ST", "=", "C", "->", "MF", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ";", "ScheduleDAGMI", "*", "DAG", "=", "new", "ScheduleDAGMI", "(", "C", ",", "std", "::", "make_unique", "<", "AArch64PostRASchedStrategy", ">", "(", "C", ")", ",", "true", ")", ";", "if", "(", "ST", ".", "hasFusion", "(", ")", ")", "{", "DAG", "->", "addMutation", "(", "createAArch64MacroFusionDAGMutation", "(", ")", ")", ";", "return", "DAG", ";", "}", "return", "DAG", ";", "}", ""], "natrual_language": ["Similar", "to", "createMachineScheduler", "but", "used", "when", "postRA", "machine", "scheduling", "is", "enabled", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine41", "Func": "createPostMachineScheduler", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7970, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ia64_gimplify_va_arg", "(", "tree", "valist", ",", "tree", "type", ",", "gimple_seq", "*", "pre_p", ",", "gimple_seq", "*", "post_p", ")", "{", "if", "(", "pass_va_arg_by_reference", "(", "type", ")", ")", "{", "tree", "ptrtype", "=", "build_pointer_type", "(", "type", ")", ";", "tree", "addr", "=", "std_gimplify_va_arg_expr", "(", "valist", ",", "ptrtype", ",", "pre_p", ",", "post_p", ")", ";", "return", "build_va_arg_indirect_ref", "(", "addr", ")", ";", "}", "if", "(", "(", "TREE_CODE", "(", "type", ")", "==", "REAL_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "INTEGER_TYPE", ")", "?", "int_size_in_bytes", "(", "type", ")", ">", "8", ":", "TYPE_ALIGN", "(", "type", ")", ">", "8", "*", "BITS_PER_UNIT", ")", "{", "tree", "t", "=", "fold_build_pointer_plus_hwi", "(", "valist", ",", "2", "*", "UNITS_PER_WORD", "-", "1", ")", ";", "t", "=", "build2", "(", "BIT_AND_EXPR", ",", "TREE_TYPE", "(", "t", ")", ",", "t", ",", "build_int_cst", "(", "TREE_TYPE", "(", "t", ")", ",", "-", "2", "*", "UNITS_PER_WORD", ")", ")", ";", "gimplify_assign", "(", "unshare_expr", "(", "valist", ")", ",", "t", ",", "pre_p", ")", ";", "}", "return", "std_gimplify_va_arg_expr", "(", "valist", ",", "type", ",", "pre_p", ",", "post_p", ")", ";", "}", ""], "natrual_language": ["Implement", "va_arg", "."], "TS_V_token": ["ia64", "8", "8", "2", "1", "2"], "File": "ia64", "Func": "ia64_gimplify_va_arg", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7971, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "convertible_comparison_p", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "!", "TARGET_SSE4_1", ")", "return", "false", ";", "rtx", "def_set", "=", "single_set", "(", "insn", ")", ";", "gcc_assert", "(", "def_set", ")", ";", "rtx", "src", "=", "SET_SRC", "(", "def_set", ")", ";", "rtx", "dst", "=", "SET_DEST", "(", "def_set", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "src", ")", "==", "COMPARE", ")", ";", "if", "(", "GET_CODE", "(", "dst", ")", "!=", "REG", "||", "REGNO", "(", "dst", ")", "!=", "FLAGS_REG", "||", "GET_MODE", "(", "dst", ")", "!=", "CCZmode", ")", "return", "false", ";", "rtx", "op1", "=", "XEXP", "(", "src", ",", "0", ")", ";", "rtx", "op2", "=", "XEXP", "(", "src", ",", "1", ")", ";", "if", "(", "op2", "!=", "CONST0_RTX", "(", "GET_MODE", "(", "op2", ")", ")", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "op1", ")", "!=", "IOR", ")", "return", "false", ";", "op2", "=", "XEXP", "(", "op1", ",", "1", ")", ";", "op1", "=", "XEXP", "(", "op1", ",", "0", ")", ";", "if", "(", "!", "SUBREG_P", "(", "op1", ")", "||", "!", "SUBREG_P", "(", "op2", ")", "||", "GET_MODE", "(", "op1", ")", "!=", "SImode", "||", "GET_MODE", "(", "op2", ")", "!=", "SImode", "||", "(", "(", "SUBREG_BYTE", "(", "op1", ")", "!=", "0", "||", "SUBREG_BYTE", "(", "op2", ")", "!=", "GET_MODE_SIZE", "(", "SImode", ")", ")", "&&", "(", "SUBREG_BYTE", "(", "op2", ")", "!=", "0", "||", "SUBREG_BYTE", "(", "op1", ")", "!=", "GET_MODE_SIZE", "(", "SImode", ")", ")", ")", ")", "return", "false", ";", "op1", "=", "SUBREG_REG", "(", "op1", ")", ";", "op2", "=", "SUBREG_REG", "(", "op2", ")", ";", "if", "(", "op1", "!=", "op2", "||", "!", "REG_P", "(", "op1", ")", "||", "GET_MODE", "(", "op1", ")", "!=", "DImode", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Check", "if", "comparison", "INSN", "may", "be", "transformed", "into", "vector", "comparison", ".", "Currently", "we", "transform", "equality/inequality", "checks", "which", "look", "like", ":", "(", "set", "(", "reg", ":", "CCZ", "17", "flags", ")", "(", "compare", ":", "CCZ", "(", "reg", ":", "TI", "x", ")", "(", "reg", ":", "TI", "y", ")", ")", ")"], "TS_V_token": ["i386", "0", "1", "1", "0", "0", "0"], "File": "i3865", "Func": "convertible_comparison_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7972, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_option_override", "(", "void", ")", "{", "(", "void", ")", "rs6000_option_override_internal", "(", "true", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_OVERRIDE", ".", "On", "the", "RS/6000", "this", "is", "used", "to", "define", "the", "target", "cpu", "type", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_option_override", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7973, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "ARM64FI", "=", "F", ".", "getInfo", "<", "ARM64FunctionInfo", ">", "(", ")", ";", "return", "AsmPrinter", "::", "runOnMachineFunction", "(", "F", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM64", "ARM64", "ARM64"], "File": "ARM64AsmPrinter", "Func": "runOnMachineFunction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7974, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_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": ["sh"], "File": "sh", "Func": "sh_cannot_substitute_mem_equiv_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7975, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "ix86_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", "==", "float128_type_node", "||", "type", "==", "float64x_type_node", ")", "return", "NULL", ";", "switch", "(", "TYPE_MODE", "(", "type", ")", ")", "{", "case", "E_BFmode", ":", "return", "\"DF16b\"", ";", "case", "E_HFmode", ":", "return", "\"DF16_\"", ";", "case", "E_TFmode", ":", "return", "\"g\"", ";", "case", "E_XFmode", ":", "return", "\"e\"", ";", "default", ":", "return", "NULL", ";", "}", "}", ""], "natrual_language": ["Return", "the", "mangling", "of", "TYPE", "if", "it", "is", "an", "extended", "fundamental", "type", "."], "TS_V_token": ["i386", "\"DF16b\"", "\"DF16_\"", "\"g\"", "\"e\""], "File": "i3861", "Func": "ix86_mangle_type", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7976, "Length": 102, "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", "::", "TailCall", ":", "return", "\"MipsISD::TailCall\"", ";", "case", "MipsISD", "::", "Hi", ":", "return", "\"MipsISD::Hi\"", ";", "case", "MipsISD", "::", "Lo", ":", "return", "\"MipsISD::Lo\"", ";", "case", "MipsISD", "::", "GPRel", ":", "return", "\"MipsISD::GPRel\"", ";", "case", "MipsISD", "::", "ThreadPointer", ":", "return", "\"MipsISD::ThreadPointer\"", ";", "case", "MipsISD", "::", "Ret", ":", "return", "\"MipsISD::Ret\"", ";", "case", "MipsISD", "::", "EH_RETURN", ":", "return", "\"MipsISD::EH_RETURN\"", ";", "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", "::", "Wrapper", ":", "return", "\"MipsISD::Wrapper\"", ";", "case", "MipsISD", "::", "Sync", ":", "return", "\"MipsISD::Sync\"", ";", "case", "MipsISD", "::", "Ext", ":", "return", "\"MipsISD::Ext\"", ";", "case", "MipsISD", "::", "Ins", ":", "return", "\"MipsISD::Ins\"", ";", "case", "MipsISD", "::", "LWL", ":", "return", "\"MipsISD::LWL\"", ";", "case", "MipsISD", "::", "LWR", ":", "return", "\"MipsISD::LWR\"", ";", "case", "MipsISD", "::", "SWL", ":", "return", "\"MipsISD::SWL\"", ";", "case", "MipsISD", "::", "SWR", ":", "return", "\"MipsISD::SWR\"", ";", "case", "MipsISD", "::", "LDL", ":", "return", "\"MipsISD::LDL\"", ";", "case", "MipsISD", "::", "LDR", ":", "return", "\"MipsISD::LDR\"", ";", "case", "MipsISD", "::", "SDL", ":", "return", "\"MipsISD::SDL\"", ";", "case", "MipsISD", "::", "SDR", ":", "return", "\"MipsISD::SDR\"", ";", "case", "MipsISD", "::", "EXTP", ":", "return", "\"MipsISD::EXTP\"", ";", "case", "MipsISD", "::", "EXTPDP", ":", "return", "\"MipsISD::EXTPDP\"", ";", "case", "MipsISD", "::", "EXTR_S_H", ":", "return", "\"MipsISD::EXTR_S_H\"", ";", "case", "MipsISD", "::", "EXTR_W", ":", "return", "\"MipsISD::EXTR_W\"", ";", "case", "MipsISD", "::", "EXTR_R_W", ":", "return", "\"MipsISD::EXTR_R_W\"", ";", "case", "MipsISD", "::", "EXTR_RS_W", ":", "return", "\"MipsISD::EXTR_RS_W\"", ";", "case", "MipsISD", "::", "SHILO", ":", "return", "\"MipsISD::SHILO\"", ";", "case", "MipsISD", "::", "MTHLIP", ":", "return", "\"MipsISD::MTHLIP\"", ";", "case", "MipsISD", "::", "MULT", ":", "return", "\"MipsISD::MULT\"", ";", "case", "MipsISD", "::", "MULTU", ":", "return", "\"MipsISD::MULTU\"", ";", "case", "MipsISD", "::", "MADD_DSP", ":", "return", "\"MipsISD::MADD_DSP\"", ";", "case", "MipsISD", "::", "MADDU_DSP", ":", "return", "\"MipsISD::MADDU_DSP\"", ";", "case", "MipsISD", "::", "MSUB_DSP", ":", "return", "\"MipsISD::MSUB_DSP\"", ";", "case", "MipsISD", "::", "MSUBU_DSP", ":", "return", "\"MipsISD::MSUBU_DSP\"", ";", "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::TailCall", "\"MipsISD::TailCall\"", "MipsISD::Hi", "\"MipsISD::Hi\"", "MipsISD::Lo", "\"MipsISD::Lo\"", "MipsISD::GPRel", "\"MipsISD::GPRel\"", "MipsISD::ThreadPointer", "\"MipsISD::ThreadPointer\"", "MipsISD::Ret", "\"MipsISD::Ret\"", "MipsISD::EH_RETURN", "\"MipsISD::EH_RETURN\"", "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::Wrapper", "\"MipsISD::Wrapper\"", "MipsISD::Sync", "\"MipsISD::Sync\"", "MipsISD::Ext", "\"MipsISD::Ext\"", "MipsISD::Ins", "\"MipsISD::Ins\"", "MipsISD::LWL", "\"MipsISD::LWL\"", "MipsISD::LWR", "\"MipsISD::LWR\"", "MipsISD::SWL", "\"MipsISD::SWL\"", "MipsISD::SWR", "\"MipsISD::SWR\"", "MipsISD::LDL", "\"MipsISD::LDL\"", "MipsISD::LDR", "\"MipsISD::LDR\"", "MipsISD::SDL", "\"MipsISD::SDL\"", "MipsISD::SDR", "\"MipsISD::SDR\"", "MipsISD::EXTP", "\"MipsISD::EXTP\"", "MipsISD::EXTPDP", "\"MipsISD::EXTPDP\"", "MipsISD::EXTR_S_H", "\"MipsISD::EXTR_S_H\"", "MipsISD::EXTR_W", "\"MipsISD::EXTR_W\"", "MipsISD::EXTR_R_W", "\"MipsISD::EXTR_R_W\"", "MipsISD::EXTR_RS_W", "\"MipsISD::EXTR_RS_W\"", "MipsISD::SHILO", "\"MipsISD::SHILO\"", "MipsISD::MTHLIP", "\"MipsISD::MTHLIP\"", "MipsISD::MULT", "\"MipsISD::MULT\"", "MipsISD::MULTU", "\"MipsISD::MULTU\"", "MipsISD::MADD_DSP", "\"MipsISD::MADD_DSP\"", "MipsISD::MADDU_DSP", "\"MipsISD::MADDU_DSP\"", "MipsISD::MSUB_DSP", "\"MipsISD::MSUB_DSP\"", "MipsISD::MSUBU_DSP", "\"MipsISD::MSUBU_DSP\""], "File": "MipsISelLowering126", "Func": "getTargetNodeName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7977, "Length": 400, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getString", "(", ")", ";", "if", "(", "IDVal", "==", "\".register\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".proc\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["Sparc", "Sparc", "\".register\"", "\".proc\""], "File": "SparcAsmParser1", "Func": "ParseDirective", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7978, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "enableShrinkWrapping", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "(", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "NoUnwind", ")", "||", "hasFP", "(", "MF", ")", ")", "&&", "MF", ".", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "!=", "CallingConv", "::", "HiPE", "&&", "!", "MF", ".", "shouldSplitStack", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "will", "correctly", "handle", "shrink", "wrapping", "."], "TS_V_token": ["X86", "X86"], "File": "X86FrameLowering (2)2", "Func": "enableShrinkWrapping", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7979, "Length": 55, "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": ["PowerPC"], "File": "PPCTargetMachine10", "Func": "getObjFileLowering", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7980, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "DLXFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "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": ["DLX", "DLX"], "File": "DLXFrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7981, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "TeeRISCDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "unsigned", "GlobalBaseReg", "=", "TM", ".", "getInstrInfo", "(", ")", "->", "getGlobalBaseReg", "(", "MF", ")", ";", "return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "TLI", "->", "getPointerTy", "(", ")", ")", ".", "getNode", "(", ")", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["TeeRISC", "TeeRISC"], "File": "TeeRISCISelDAGToDAG", "Func": "getGlobalBaseReg", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7982, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "F2003fMCAsmStreamer", "::", "addExplicitComment", "(", "const", "Twine", "&", "T", ")", "{", "StringRef", "c", "=", "T", ".", "getSingleStringRef", "(", ")", ";", "if", "(", "c", ".", "startswith", "(", "StringRef", "(", "MAI", "->", "getCommentString", "(", ")", ")", ")", ")", "{", "ExplicitCommentToEmit", ".", "append", "(", "c", ".", "str", "(", ")", ")", ";", "}", "else", "{", "assert", "(", "false", "&&", "\"Unexpected Assembly Comment\"", ")", ";", "}", "if", "(", "c", ".", "back", "(", ")", "==", "'\\n'", ")", "emitExplicitComments", "(", ")", ";", "}", ""], "natrual_language": ["Add", "explicit", "comment", "T", "."], "TS_V_token": ["F2003f", "F2003f", "\"Unexpected Assembly Comment\""], "File": "F2003fMCAsmStreamer", "Func": "addExplicitComment", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7983, "Length": 74, "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": ["Mips", "MVT::i32"], "File": "MipsISelLowering", "Func": "getScalarShiftAmountTy", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7984, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "XNCMRegisterInfo", "::", "getPointerRegClass", "(", "unsigned", "Kind", ")", "const", "{", "return", "&", "XNCM", "::", "GR16RegClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["XNCM", "XNCM", "XNCM::GR16RegClass"], "File": "XNCMRegisterInfo", "Func": "getPointerRegClass", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7985, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToAddress", "(", "unsigned", "ValVReg", ",", "unsigned", "Addr", ",", "uint64_t", "Size", ",", "MachinePointerInfo", "&", "MPO", ",", "CCValAssign", "&", "VA", ")", "override", "{", "assert", "(", "(", "Size", "==", "1", "||", "Size", "==", "2", "||", "Size", "==", "4", "||", "Size", "==", "8", ")", "&&", "\"Unsupported size\"", ")", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "SExt", "||", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "ZExt", ")", "{", "Size", "=", "4", ";", "assert", "(", "MRI", ".", "getType", "(", "ValVReg", ")", ".", "isScalar", "(", ")", "&&", "\"Only scalars supported atm\"", ")", ";", "MRI", ".", "setType", "(", "ValVReg", ",", "LLT", "::", "scalar", "(", "32", ")", ")", ";", "}", "auto", "MMO", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getMachineMemOperand", "(", "MPO", ",", "MachineMemOperand", "::", "MOLoad", ",", "Size", ",", "0", ")", ";", "MIRBuilder", ".", "buildLoad", "(", "ValVReg", ",", "Addr", ",", "*", "MMO", ")", ";", "}", ""], "natrual_language": ["An", "overload", "which", "takes", "an", "ArgInfo", "if", "additional", "information", "about", "the", "arg", "is", "needed", "."], "TS_V_token": ["ARM", "1", "2", "4", "8", "\"Unsupported size\"", "4", "\"Only scalars supported atm\"", "32", "0"], "File": "ARMCallLowering18", "Func": "assignValueToAddress", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7986, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "mips_output_load_label", "(", "void", ")", "{", "if", "(", "TARGET_EXPLICIT_RELOCS", ")", "switch", "(", "mips_abi", ")", "{", "case", "ABI_N32", ":", "return", "\"%[lw\\t%@,%%got_page(%0)(%+)\\n\\taddiu\\t%@,%@,%%got_ofst(%0)\"", ";", "case", "ABI_64", ":", "return", "\"%[ld\\t%@,%%got_page(%0)(%+)\\n\\tdaddiu\\t%@,%@,%%got_ofst(%0)\"", ";", "default", ":", "if", "(", "ISA_HAS_LOAD_DELAY", ")", "return", "\"%[lw\\t%@,%%got(%0)(%+)%#\\n\\taddiu\\t%@,%@,%%lo(%0)\"", ";", "return", "\"%[lw\\t%@,%%got(%0)(%+)\\n\\taddiu\\t%@,%@,%%lo(%0)\"", ";", "}", "else", "{", "if", "(", "Pmode", "==", "DImode", ")", "return", "\"%[dla\\t%@,%0\"", ";", "else", "return", "\"%[la\\t%@,%0\"", ";", "}", "}", ""], "natrual_language": ["Return", "an", "asm", "sequence", "to", "start", "a", "noat", "block", "and", "load", "the", "address", "of", "a", "label", "into", "$", "1", "."], "TS_V_token": ["mips", "\"%[lw\\t%@,%%got_page(%0)(%+)\\n\\taddiu\\t%@,%@,%%got_ofst(%0)\"", "\"%[ld\\t%@,%%got_page(%0)(%+)\\n\\tdaddiu\\t%@,%@,%%got_ofst(%0)\"", "\"%[lw\\t%@,%%got(%0)(%+)%#\\n\\taddiu\\t%@,%@,%%lo(%0)\"", "\"%[lw\\t%@,%%got(%0)(%+)\\n\\taddiu\\t%@,%@,%%lo(%0)\"", "\"%[dla\\t%@,%0\"", "\"%[la\\t%@,%0\""], "File": "mips3", "Func": "mips_output_load_label", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7987, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isVectorClearMaskLegal", "(", "const", "SmallVectorImpl", "<", "int", ">", "&", "Mask", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "MVT", "SVT", "=", "VT", ".", "getSimpleVT", "(", ")", ";", "if", "(", "ExperimentalVectorShuffleLegality", ")", "return", "isShuffleMaskLegal", "(", "Mask", ",", "VT", ")", ";", "unsigned", "NumElts", "=", "SVT", ".", "getVectorNumElements", "(", ")", ";", "if", "(", "NumElts", "==", "2", ")", "return", "true", ";", "if", "(", "NumElts", "==", "4", "&&", "SVT", ".", "is128BitVector", "(", ")", ")", "{", "return", "(", "isMOVLMask", "(", "Mask", ",", "SVT", ")", "||", "isCommutedMOVLMask", "(", "Mask", ",", "SVT", ",", "true", ")", "||", "isSHUFPMask", "(", "Mask", ",", "SVT", ")", "||", "isSHUFPMask", "(", "Mask", ",", "SVT", ",", "true", ")", "||", "isBlendMask", "(", "Mask", ",", "SVT", ",", "Subtarget", "->", "hasSSE41", "(", ")", ",", "Subtarget", "->", "hasInt256", "(", ")", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Similar", "to", "isShuffleMaskLegal", "."], "TS_V_token": ["X86", "X86", "2", "4"], "File": "X86ISelLowering (2)4", "Func": "isVectorClearMaskLegal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7988, "Length": 141, "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", ";", "if", "(", "isCyclone", "(", ")", ")", "Policy", ".", "DisableLatencyHeuristic", "=", "true", ";", "}", ""], "natrual_language": ["Override", "generic", "scheduling", "policy", "within", "a", "region", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64Subtarget11", "Func": "overrideSchedPolicy", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7989, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "A15SDOptimizer", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "TII", "=", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "Fn", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "Fn", ".", "getSubtarget", "(", ")", ".", "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": "A15SDOptimizer28", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7990, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "MipsFrameLowering", "::", "estimateStackSize", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterInfo", "&", "TRI", "=", "*", "STI", ".", "getRegisterInfo", "(", ")", ";", "int64_t", "Offset", "=", "0", ";", "for", "(", "int", "I", "=", "MFI", "->", "getObjectIndexBegin", "(", ")", ";", "I", "!=", "0", ";", "++", "I", ")", "Offset", "=", "std", "::", "max", "(", "Offset", ",", "-", "MFI", "->", "getObjectOffset", "(", "I", ")", ")", ";", "for", "(", "const", "MCPhysReg", "*", "R", "=", "TRI", ".", "getCalleeSavedRegs", "(", "&", "MF", ")", ";", "*", "R", ";", "++", "R", ")", "{", "unsigned", "Size", "=", "TRI", ".", "getMinimalPhysRegClass", "(", "*", "R", ")", "->", "getSize", "(", ")", ";", "Offset", "=", "alignTo", "(", "Offset", "+", "Size", ",", "Size", ")", ";", "}", "unsigned", "MaxAlign", "=", "MFI", "->", "getMaxAlignment", "(", ")", ";", "assert", "(", "!", "MFI", "->", "getObjectIndexEnd", "(", ")", "||", "MaxAlign", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "MFI", "->", "getObjectIndexEnd", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Offset", "=", "alignTo", "(", "Offset", "+", "MFI", "->", "getObjectSize", "(", "I", ")", ",", "MaxAlign", ")", ";", "if", "(", "MFI", "->", "adjustsStack", "(", ")", "&&", "hasReservedCallFrame", "(", "MF", ")", ")", "Offset", "=", "alignTo", "(", "Offset", "+", "MFI", "->", "getMaxCallFrameSize", "(", ")", ",", "std", "::", "max", "(", "MaxAlign", ",", "getStackAlignment", "(", ")", ")", ")", ";", "return", "alignTo", "(", "Offset", ",", "getStackAlignment", "(", ")", ")", ";", "}", ""], "natrual_language": ["Estimate", "and", "return", "the", "size", "of", "the", "stack", "frame", "."], "TS_V_token": ["Mips", "Mips", "0", "0", "0"], "File": "MipsFrameLowering24", "Func": "estimateStackSize", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7991, "Length": 231, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86TargetMachine", "::", "X86TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "bool", "is64Bit", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "RM", ",", "CM", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "StackAlignmentOverride", ",", "is64Bit", ")", ",", "FrameLowering", "(", "*", "this", ",", "Subtarget", ")", ",", "ELFWriterInfo", "(", "is64Bit", ",", "true", ")", "{", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "RIPRel", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "isTargetCygMing", "(", ")", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "StubPIC", ")", ";", "else", "{", "assert", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "DynamicNoPIC", ")", ";", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "StubDynamicNoPIC", ")", ";", "}", "}", "else", "if", "(", "Subtarget", ".", "isTargetELF", "(", ")", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "GOT", ")", ";", "}", "if", "(", "FloatABIType", "==", "FloatABI", "::", "Default", ")", "FloatABIType", "=", "FloatABI", "::", "Hard", ";", "}", ""], "natrual_language": ["Create", "an", "X86", "target", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86TargetMachine122", "Func": "X86TargetMachine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7992, "Length": 224, "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": 7993, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCInst", "&", "Res", ")", "const", "override", "{", "report_fatal_error", "(", "\"MMIXAsmBackend::relaxInstruction() unimplemented\"", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["MMIX", "\"MMIXAsmBackend::relaxInstruction() unimplemented\""], "File": "MMIXAsmBackend", "Func": "relaxInstruction", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7994, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMAsmParser", "::", "checkTargetMatchPredicate", "(", "MCInst", "&", "Inst", ")", "{", "unsigned", "Opc", "=", "Inst", ".", "getOpcode", "(", ")", ";", "MCInstrDesc", "&", "MCID", "=", "getInstDesc", "(", "Opc", ")", ";", "if", "(", "MCID", ".", "TSFlags", "&", "ARMII", "::", "ThumbArithFlagSetting", ")", "{", "assert", "(", "MCID", ".", "hasOptionalDef", "(", ")", "&&", "\"optionally flag setting instruction missing optional def operand\"", ")", ";", "assert", "(", "MCID", ".", "NumOperands", "==", "Inst", ".", "getNumOperands", "(", ")", "&&", "\"operand count mismatch!\"", ")", ";", "unsigned", "OpNo", ";", "for", "(", "OpNo", "=", "0", ";", "!", "MCID", ".", "OpInfo", "[", "OpNo", "]", ".", "isOptionalDef", "(", ")", "&&", "OpNo", "<", "MCID", ".", "NumOperands", ";", "++", "OpNo", ")", ";", "if", "(", "isThumbOne", "(", ")", "&&", "Inst", ".", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", "!=", "ARM", "::", "CPSR", ")", "return", "Match_MnemonicFail", ";", "if", "(", "isThumbTwo", "(", ")", "&&", "Inst", ".", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", "!=", "ARM", "::", "CPSR", "&&", "!", "inITBlock", "(", ")", ")", "return", "Match_RequiresITBlock", ";", "if", "(", "isThumbTwo", "(", ")", "&&", "Inst", ".", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", "==", "ARM", "::", "CPSR", "&&", "inITBlock", "(", ")", ")", "return", "Match_RequiresNotITBlock", ";", "}", "else", "if", "(", "Opc", "==", "ARM", "::", "tADDhirr", "&&", "isThumbOne", "(", ")", "&&", "isARMLowRegister", "(", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", "&&", "isARMLowRegister", "(", "Inst", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ")", "return", "Match_RequiresThumb2", ";", "else", "if", "(", "Opc", "==", "ARM", "::", "tMOVr", "&&", "isThumbOne", "(", ")", "&&", "!", "hasV6Ops", "(", ")", "&&", "isARMLowRegister", "(", "Inst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", "&&", "isARMLowRegister", "(", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ")", "return", "Match_RequiresV6", ";", "return", "Match_Success", ";", "}", ""], "natrual_language": ["checkTargetMatchPredicate", "-", "Validate", "the", "instruction", "match", "against", "any", "complex", "target", "predicates", "not", "expressible", "via", "match", "classes", "."], "TS_V_token": ["ARM", "ARM", "ARMII::ThumbArithFlagSetting", "\"optionally flag setting instruction missing optional def operand\"", "\"operand count mismatch!\"", "0", "ARM::CPSR", "ARM::CPSR", "ARM::CPSR", "ARM::tADDhirr", "ARM", "1", "ARM", "2", "ARM::tMOVr", "ARM", "0", "ARM", "1"], "File": "ARMAsmParser111", "Func": "checkTargetMatchPredicate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7995, "Length": 275, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ultrasparc_sched_init", "(", ")", "{", "memset", "(", "(", "char", "*", ")", "ultra_pipe_hist", ",", "0", ",", "sizeof", "ultra_pipe_hist", ")", ";", "ultra_cur_hist", "=", "0", ";", "ultra_cycles_elapsed", "=", "0", ";", "ultra_pipe", ".", "free_slot_mask", "=", "0xf", ";", "}", ""], "natrual_language": ["Init", "our", "data", "structures", "for", "this", "current", "block", "."], "TS_V_token": ["sparc", "0", "0", "0", "0xf"], "File": "sparc2", "Func": "ultrasparc_sched_init", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7996, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LoongArchRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", "&&", "\"Unexpected non-zero SPAdj value\"", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["LoongArch", "LoongArch", "0", "\"Unexpected non-zero SPAdj value\""], "File": "LoongArchRegisterInfo", "Func": "eliminateFrameIndex", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7997, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_expand_sse_cmp", "(", "rtx", "dest", ",", "enum", "rtx_code", "code", ",", "rtx", "cmp_op0", ",", "rtx", "cmp_op1", ",", "rtx", "op_true", ",", "rtx", "op_false", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "machine_mode", "cmp_ops_mode", "=", "GET_MODE", "(", "cmp_op0", ")", ";", "machine_mode", "cmp_mode", ";", "bool", "maskcmp", "=", "false", ";", "rtx", "x", ";", "if", "(", "GET_MODE_SIZE", "(", "cmp_ops_mode", ")", "==", "64", ")", "{", "unsigned", "int", "nbits", "=", "GET_MODE_NUNITS", "(", "cmp_ops_mode", ")", ";", "cmp_mode", "=", "int_mode_for_size", "(", "nbits", ",", "0", ")", ".", "require", "(", ")", ";", "maskcmp", "=", "true", ";", "}", "else", "cmp_mode", "=", "cmp_ops_mode", ";", "cmp_op0", "=", "force_reg", "(", "cmp_ops_mode", ",", "cmp_op0", ")", ";", "if", "(", "!", "nonimmediate_operand", "(", "cmp_op1", ",", "cmp_ops_mode", ")", ")", "cmp_op1", "=", "force_reg", "(", "cmp_ops_mode", ",", "cmp_op1", ")", ";", "if", "(", "optimize", "||", "(", "maskcmp", "&&", "cmp_mode", "!=", "mode", ")", "||", "(", "op_true", "&&", "reg_overlap_mentioned_p", "(", "dest", ",", "op_true", ")", ")", "||", "(", "op_false", "&&", "reg_overlap_mentioned_p", "(", "dest", ",", "op_false", ")", ")", ")", "dest", "=", "gen_reg_rtx", "(", "maskcmp", "?", "cmp_mode", ":", "mode", ")", ";", "if", "(", "maskcmp", "&&", "(", "code", "==", "GT", "||", "code", "==", "EQ", ")", ")", "{", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "switch", "(", "cmp_ops_mode", ")", "{", "case", "E_V64QImode", ":", "gcc_assert", "(", "TARGET_AVX512BW", ")", ";", "gen", "=", "code", "==", "GT", "?", "gen_avx512bw_gtv64qi3", ":", "gen_avx512bw_eqv64qi3_1", ";", "break", ";", "case", "E_V32HImode", ":", "gcc_assert", "(", "TARGET_AVX512BW", ")", ";", "gen", "=", "code", "==", "GT", "?", "gen_avx512bw_gtv32hi3", ":", "gen_avx512bw_eqv32hi3_1", ";", "break", ";", "case", "E_V16SImode", ":", "gen", "=", "code", "==", "GT", "?", "gen_avx512f_gtv16si3", ":", "gen_avx512f_eqv16si3_1", ";", "break", ";", "case", "E_V8DImode", ":", "gen", "=", "code", "==", "GT", "?", "gen_avx512f_gtv8di3", ":", "gen_avx512f_eqv8di3_1", ";", "break", ";", "default", ":", "gen", "=", "NULL", ";", "}", "if", "(", "gen", ")", "{", "emit_insn", "(", "gen", "(", "dest", ",", "cmp_op0", ",", "cmp_op1", ")", ")", ";", "return", "dest", ";", "}", "}", "x", "=", "gen_rtx_fmt_ee", "(", "code", ",", "cmp_mode", ",", "cmp_op0", ",", "cmp_op1", ")", ";", "if", "(", "cmp_mode", "!=", "mode", "&&", "!", "maskcmp", ")", "{", "x", "=", "force_reg", "(", "cmp_ops_mode", ",", "x", ")", ";", "convert_move", "(", "dest", ",", "x", ",", "false", ")", ";", "}", "else", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "x", ")", ")", ";", "return", "dest", ";", "}", ""], "natrual_language": ["Expand", "an", "sse", "vector", "comparison", ".", "Return", "the", "register", "with", "the", "result", "."], "TS_V_token": ["i386", "64", "0"], "File": "i3867", "Func": "ix86_expand_sse_cmp", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 7998, "Length": 355, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "{", "if", "(", "ExtraCode", "[", "1", "]", "!=", "0", ")", "return", "true", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "case", "'A'", ":", "default", ":", "return", "true", ";", "case", "'m'", ":", "if", "(", "!", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "isReg", "(", ")", ")", "return", "true", ";", "O", "<<", "ARMInstPrinter", "::", "getRegisterName", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "getReg", "(", ")", ")", ";", "return", "false", ";", "}", "}", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "assert", "(", "MO", ".", "isReg", "(", ")", "&&", "\"unexpected inline asm memory operand\"", ")", ";", "O", "<<", "\"[\"", "<<", "ARMInstPrinter", "::", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", "<<", "\"]\"", ";", "return", "false", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "."], "TS_V_token": ["ARM", "ARM", "0", "1", "0", "0", "ARM", "\"unexpected inline asm memory operand\"", "\"[\"", "ARM", "\"]\""], "File": "ARMAsmPrinter", "Func": "PrintAsmMemoryOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 7999, "Length": 148, "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": 8000, "Length": 417, "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", "(", "toc_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": ["powerpcspe", "\".bss_\"", "\".rw_\"", "\".ro_\"", "\".tls_\"", "\".tbss_[UL]\"", "\"\\t.file\\t\"", "\"\\t.extern %s\\n\""], "File": "powerpcspe", "Func": "rs6000_xcoff_file_start", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8001, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sh_insert_attributes", "(", "tree", "node", ",", "tree", "*", "attributes", ")", "{", "tree", "attrs", ";", "if", "(", "TREE_CODE", "(", "node", ")", "!=", "FUNCTION_DECL", ")", "return", ";", "if", "(", "!", "DECL_P", "(", "node", ")", ")", "return", ";", "*", "sh_deferred_function_attributes_tail", "=", "*", "attributes", ";", "attrs", "=", "sh_deferred_function_attributes", ";", "if", "(", "!", "attrs", ")", "return", ";", "if", "(", "!", "lookup_attribute", "(", "\"interrupt_handler\"", ",", "attrs", ")", "&&", "!", "lookup_attribute", "(", "\"interrupt_handler\"", ",", "DECL_ATTRIBUTES", "(", "node", ")", ")", ")", "{", "if", "(", "lookup_attribute", "(", "\"trapa_handler\"", ",", "attrs", ")", "!=", "NULL_TREE", ")", "attrs", "=", "tree_cons", "(", "get_identifier", "(", "\"interrupt_handler\"", ")", ",", "NULL_TREE", ",", "attrs", ")", ";", "else", "if", "(", "lookup_attribute", "(", "\"sp_switch\"", ",", "attrs", ")", "||", "lookup_attribute", "(", "\"trap_exit\"", ",", "attrs", ")", "||", "lookup_attribute", "(", "\"nosave_low_regs\"", ",", "attrs", ")", ")", "{", "tree", "*", "tail", ";", "for", "(", "tail", "=", "attributes", ";", "attrs", ";", "attrs", "=", "TREE_CHAIN", "(", "attrs", ")", ")", "{", "if", "(", "is_attribute_p", "(", "\"sp_switch\"", ",", "TREE_PURPOSE", "(", "attrs", ")", ")", "||", "is_attribute_p", "(", "\"trap_exit\"", ",", "TREE_PURPOSE", "(", "attrs", ")", ")", "||", "is_attribute_p", "(", "\"nosave_low_regs\"", ",", "TREE_PURPOSE", "(", "attrs", ")", ")", ")", "warning", "(", "OPT_Wattributes", ",", "\"%qs attribute only applies to interrupt functions\"", ",", "IDENTIFIER_POINTER", "(", "TREE_PURPOSE", "(", "attrs", ")", ")", ")", ";", "else", "{", "*", "tail", "=", "tree_cons", "(", "TREE_PURPOSE", "(", "attrs", ")", ",", "NULL_TREE", ",", "NULL_TREE", ")", ";", "tail", "=", "&", "TREE_CHAIN", "(", "*", "tail", ")", ";", "}", "}", "attrs", "=", "*", "attributes", ";", "}", "}", "*", "attributes", "=", "attrs", ";", "sh_deferred_function_attributes", "=", "NULL_TREE", ";", "sh_deferred_function_attributes_tail", "=", "&", "sh_deferred_function_attributes", ";", "return", ";", "}", ""], "natrual_language": ["Generate", "'handle_interrupt", "'", "attribute", "for", "decls"], "TS_V_token": ["sh", "\"interrupt_handler\"", "\"interrupt_handler\"", "\"trapa_handler\"", "\"interrupt_handler\"", "\"sp_switch\"", "\"trap_exit\"", "\"nosave_low_regs\"", "\"sp_switch\"", "\"trap_exit\"", "\"nosave_low_regs\"", "\"%qs attribute only applies to interrupt functions\""], "File": "sh3", "Func": "sh_insert_attributes", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8002, "Length": 244, "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_tune", "==", "PROCESSOR_POWER6", "||", "rs6000_tune", "==", "PROCESSOR_POWER7", "||", "rs6000_tune", "==", "PROCESSOR_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": ["rs6000", "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": "rs6000", "Func": "force_new_group", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8003, "Length": 448, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "if", "(", "SystemZ", "::", "GR128BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "copyPhysReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "RI", ".", "getSubReg", "(", "DestReg", ",", "SystemZ", "::", "subreg_h64", ")", ",", "RI", ".", "getSubReg", "(", "SrcReg", ",", "SystemZ", "::", "subreg_h64", ")", ",", "KillSrc", ")", ";", "copyPhysReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "RI", ".", "getSubReg", "(", "DestReg", ",", "SystemZ", "::", "subreg_l64", ")", ",", "RI", ".", "getSubReg", "(", "SrcReg", ",", "SystemZ", "::", "subreg_l64", ")", ",", "KillSrc", ")", ";", "return", ";", "}", "if", "(", "SystemZ", "::", "GRX32BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "emitGRX32Move", "(", "MBB", ",", "MBBI", ",", "DL", ",", "DestReg", ",", "SrcReg", ",", "SystemZ", "::", "LR", ",", "32", ",", "KillSrc", ")", ";", "return", ";", "}", "unsigned", "Opcode", ";", "if", "(", "SystemZ", "::", "GR64BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "LGR", ";", "else", "if", "(", "SystemZ", "::", "FP32BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "STI", ".", "hasVector", "(", ")", "?", "SystemZ", "::", "LDR32", ":", "SystemZ", "::", "LER", ";", "else", "if", "(", "SystemZ", "::", "FP64BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "LDR", ";", "else", "if", "(", "SystemZ", "::", "FP128BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "LXR", ";", "else", "if", "(", "SystemZ", "::", "VR32BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "VLR32", ";", "else", "if", "(", "SystemZ", "::", "VR64BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "VLR64", ";", "else", "if", "(", "SystemZ", "::", "VR128BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "VLR", ";", "else", "if", "(", "SystemZ", "::", "AR32BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "CPYA", ";", "else", "if", "(", "SystemZ", "::", "AR32BitRegClass", ".", "contains", "(", "DestReg", ")", "&&", "SystemZ", "::", "GR32BitRegClass", ".", "contains", "(", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "SAR", ";", "else", "if", "(", "SystemZ", "::", "GR32BitRegClass", ".", "contains", "(", "DestReg", ")", "&&", "SystemZ", "::", "AR32BitRegClass", ".", "contains", "(", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "EAR", ";", "else", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "Opcode", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ::GR128BitRegClass", "SystemZ::subreg_h64", "SystemZ::subreg_h64", "SystemZ::subreg_l64", "SystemZ::subreg_l64", "SystemZ::GRX32BitRegClass", "SystemZ::LR", "32", "SystemZ::GR64BitRegClass", "SystemZ::LGR", "SystemZ::FP32BitRegClass", "SystemZ::LDR32", "SystemZ::LER", "SystemZ::FP64BitRegClass", "SystemZ::LDR", "SystemZ::FP128BitRegClass", "SystemZ::LXR", "SystemZ::VR32BitRegClass", "SystemZ::VLR32", "SystemZ::VR64BitRegClass", "SystemZ::VLR64", "SystemZ::VR128BitRegClass", "SystemZ::VLR", "SystemZ::AR32BitRegClass", "SystemZ::CPYA", "SystemZ::AR32BitRegClass", "SystemZ::GR32BitRegClass", "SystemZ::SAR", "SystemZ::GR32BitRegClass", "SystemZ::AR32BitRegClass", "SystemZ::EAR", "\"Impossible reg-to-reg copy\""], "File": "SystemZInstrInfo26", "Func": "copyPhysReg", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8004, "Length": 410, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "MipsFunctionInfo", "::", "getGlobalBaseReg", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "!", "GlobalBaseReg", ")", "GlobalBaseReg", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "&", "getGlobalBaseRegClass", "(", "MF", ")", ")", ";", "return", "GlobalBaseReg", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsMachineFunction16", "Func": "getGlobalBaseReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8005, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "return", "true", ";", "printOperand", "(", "MI", ",", "OpNo", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["Mips", "Mips", "0"], "File": "MipsAsmPrinter31", "Func": "PrintAsmOperand", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8006, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZXPLINKFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "(", "MF", ".", "getFrameInfo", "(", ")", ".", "hasVarSizedObjects", "(", ")", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZFrameLowering20", "Func": "hasFP", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8007, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintWeight", "SystemZTargetLowering", "::", "getSingleConstraintMatchWeight", "(", "AsmOperandInfo", "&", "info", ",", "const", "char", "*", "constraint", ")", "const", "{", "ConstraintWeight", "weight", "=", "CW_Invalid", ";", "Value", "*", "CallOperandVal", "=", "info", ".", "CallOperandVal", ";", "if", "(", "CallOperandVal", "==", "NULL", ")", "return", "CW_Default", ";", "Type", "*", "type", "=", "CallOperandVal", "->", "getType", "(", ")", ";", "switch", "(", "*", "constraint", ")", "{", "default", ":", "weight", "=", "TargetLowering", "::", "getSingleConstraintMatchWeight", "(", "info", ",", "constraint", ")", ";", "break", ";", "case", "'a'", ":", "case", "'d'", ":", "case", "'h'", ":", "case", "'r'", ":", "if", "(", "CallOperandVal", "->", "getType", "(", ")", "->", "isIntegerTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'f'", ":", "if", "(", "type", "->", "isFloatingPointTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'I'", ":", "if", "(", "auto", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "if", "(", "isUInt", "<", "8", ">", "(", "C", "->", "getZExtValue", "(", ")", ")", ")", "weight", "=", "CW_Constant", ";", "break", ";", "case", "'J'", ":", "if", "(", "auto", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "if", "(", "isUInt", "<", "12", ">", "(", "C", "->", "getZExtValue", "(", ")", ")", ")", "weight", "=", "CW_Constant", ";", "break", ";", "case", "'K'", ":", "if", "(", "auto", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "if", "(", "isInt", "<", "16", ">", "(", "C", "->", "getSExtValue", "(", ")", ")", ")", "weight", "=", "CW_Constant", ";", "break", ";", "case", "'L'", ":", "if", "(", "auto", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "if", "(", "isInt", "<", "20", ">", "(", "C", "->", "getSExtValue", "(", ")", ")", ")", "weight", "=", "CW_Constant", ";", "break", ";", "case", "'M'", ":", "if", "(", "auto", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "if", "(", "C", "->", "getZExtValue", "(", ")", "==", "0x7fffffff", ")", "weight", "=", "CW_Constant", ";", "break", ";", "}", "return", "weight", ";", "}", ""], "natrual_language": ["Examine", "constraint", "string", "and", "operand", "type", "and", "determine", "a", "weight", "value", "."], "TS_V_token": ["SystemZ", "SystemZ", "8", "12", "16", "20", "0x7fffffff"], "File": "SystemZISelLowering36", "Func": "getSingleConstraintMatchWeight", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8008, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "init_dispatch_sched", "(", "void", ")", "{", "dispatch_window_list", "=", "allocate_window", "(", ")", ";", "dispatch_window_list1", "=", "allocate_window", "(", ")", ";", "init_window", "(", "0", ")", ";", "init_window", "(", "1", ")", ";", "}", ""], "natrual_language": ["This", "routine", "initializes", "the", "dispatch", "scheduling", "information", ".", "It", "initiates", "building", "dispatch", "scheduler", "tables", "and", "constructs", "the", "first", "dispatch", "window", "."], "TS_V_token": ["i386", "0", "1"], "File": "i3864", "Func": "init_dispatch_sched", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8009, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PostLegalizerCombiner", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "MF", ".", "getProperties", "(", ")", ".", "hasProperty", "(", "MachineFunctionProperties", "::", "Property", "::", "FailedISel", ")", ")", "return", "false", ";", "assert", "(", "MF", ".", "getProperties", "(", ")", ".", "hasProperty", "(", "MachineFunctionProperties", "::", "Property", "::", "Legalized", ")", "&&", "\"Expected a legalized function?\"", ")", ";", "auto", "*", "TPC", "=", "&", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "bool", "EnableOpt", "=", "MF", ".", "getTarget", "(", ")", ".", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "!", "skipFunction", "(", "F", ")", ";", "GISelKnownBits", "*", "KB", "=", "&", "getAnalysis", "<", "GISelKnownBitsAnalysis", ">", "(", ")", ".", "get", "(", "MF", ")", ";", "MachineDominatorTree", "*", "MDT", "=", "IsOptNone", "?", "nullptr", ":", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "AArch64PostLegalizerCombinerInfo", "PCInfo", "(", "EnableOpt", ",", "F", ".", "hasOptSize", "(", ")", ",", "F", ".", "hasMinSize", "(", ")", ",", "KB", ",", "MDT", ")", ";", "GISelCSEAnalysisWrapper", "&", "Wrapper", "=", "getAnalysis", "<", "GISelCSEAnalysisWrapperPass", ">", "(", ")", ".", "getCSEWrapper", "(", ")", ";", "auto", "*", "CSEInfo", "=", "&", "Wrapper", ".", "get", "(", "TPC", "->", "getCSEConfig", "(", ")", ")", ";", "Combiner", "C", "(", "PCInfo", ",", "TPC", ")", ";", "return", "C", ".", "combineMachineInstrs", "(", "MF", ",", "CSEInfo", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"Expected a legalized function?\"", "AArch64"], "File": "AArch64PostLegalizerCombiner (2)", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8010, "Length": 201, "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": 8011, "Length": 225, "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": 8012, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "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", ")", "{", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "case", "'D'", ":", "Offset", "+=", "4", ";", "break", ";", "case", "'M'", ":", "if", "(", "Subtarget", "->", "isLittle", "(", ")", ")", "Offset", "+=", "4", ";", "break", ";", "case", "'L'", ":", "if", "(", "!", "Subtarget", "->", "isLittle", "(", ")", ")", "Offset", "+=", "4", ";", "break", ";", "default", ":", "return", "true", ";", "}", "}", "O", "<<", "Offset", "<<", "\"($\"", "<<", "MipsInstPrinter", "::", "getRegisterName", "(", "BaseMO", ".", "getReg", "(", ")", ")", "<<", "\")\"", ";", "return", "false", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "."], "TS_V_token": ["Mips", "Mips", "1", "\"Insufficient operands\"", "1", "\"Unexpected base pointer for inline asm memory operand.\"", "\"Unexpected offset for inline asm memory operand.\"", "0", "4", "4", "4", "\"($\"", "Mips", "\")\""], "File": "MipsAsmPrinter (2)1", "Func": "PrintAsmMemoryOperand", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8013, "Length": 182, "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": 8014, "Length": 53, "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": ["rs6000"], "File": "rs60005", "Func": "rs6000_builtin_reciprocal", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8015, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetLowering", "::", "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_Mips", ")", ";", "}", ""], "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": ["Mips", "Mips", "ISD::OutputArg", "16", "Mips"], "File": "MipsISelLowering106", "Func": "CanLowerReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8016, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_expand_vec_ext_builtin", "(", "tree", "arglist", ",", "rtx", "target", ")", "{", "enum", "machine_mode", "tmode", ",", "mode0", ";", "tree", "arg0", ",", "arg1", ";", "int", "elt", ";", "rtx", "op0", ";", "arg0", "=", "TREE_VALUE", "(", "arglist", ")", ";", "arg1", "=", "TREE_VALUE", "(", "TREE_CHAIN", "(", "arglist", ")", ")", ";", "op0", "=", "expand_expr", "(", "arg0", ",", "NULL_RTX", ",", "VOIDmode", ",", "0", ")", ";", "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"], "File": "i3863", "Func": "ix86_expand_vec_ext_builtin", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8017, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "analyzeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "&", "TBB", ",", "MachineBasicBlock", "*", "&", "FBB", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "bool", "AllowModify", ")", "const", "{", "TBB", "=", "nullptr", ";", "FBB", "=", "nullptr", ";", "MachineBasicBlock", "::", "instr_iterator", "I", "=", "MBB", ".", "instr_end", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "instr_begin", "(", ")", ")", "return", "false", ";", "--", "I", ";", "while", "(", "isPredicated", "(", "*", "I", ")", "||", "I", "->", "isTerminator", "(", ")", "||", "I", "->", "isDebugValue", "(", ")", ")", "{", "bool", "CantAnalyze", "=", "false", ";", "while", "(", "I", "->", "isDebugInstr", "(", ")", "||", "!", "I", "->", "isTerminator", "(", ")", "||", "isSpeculationBarrierEndBBOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", "||", "I", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2DoLoopStartTP", ")", "{", "if", "(", "I", "==", "MBB", ".", "instr_begin", "(", ")", ")", "return", "false", ";", "--", "I", ";", "}", "if", "(", "isIndirectBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", "||", "isJumpTableBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "{", "CantAnalyze", "=", "true", ";", "}", "else", "if", "(", "isUncondBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "{", "TBB", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "}", "else", "if", "(", "isCondBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "{", "if", "(", "!", "Cond", ".", "empty", "(", ")", ")", "return", "true", ";", "assert", "(", "!", "FBB", "&&", "\"FBB should have been null.\"", ")", ";", "FBB", "=", "TBB", ";", "TBB", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "Cond", ".", "push_back", "(", "I", "->", "getOperand", "(", "1", ")", ")", ";", "Cond", ".", "push_back", "(", "I", "->", "getOperand", "(", "2", ")", ")", ";", "}", "else", "if", "(", "I", "->", "isReturn", "(", ")", ")", "{", "CantAnalyze", "=", "true", ";", "}", "else", "{", "return", "true", ";", "}", "if", "(", "!", "isPredicated", "(", "*", "I", ")", "&&", "(", "isUncondBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", "||", "isIndirectBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", "||", "isJumpTableBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", "||", "I", "->", "isReturn", "(", ")", ")", ")", "{", "Cond", ".", "clear", "(", ")", ";", "FBB", "=", "nullptr", ";", "if", "(", "AllowModify", ")", "{", "MachineBasicBlock", "::", "iterator", "DI", "=", "std", "::", "next", "(", "I", ")", ";", "while", "(", "DI", "!=", "MBB", ".", "instr_end", "(", ")", ")", "{", "MachineInstr", "&", "InstToDelete", "=", "*", "DI", ";", "++", "DI", ";", "if", "(", "isSpeculationBarrierEndBBOpcode", "(", "InstToDelete", ".", "getOpcode", "(", ")", ")", ")", "continue", ";", "InstToDelete", ".", "eraseFromParent", "(", ")", ";", "}", "}", "}", "if", "(", "CantAnalyze", ")", "{", "if", "(", "AllowModify", "&&", "!", "isPredicated", "(", "MBB", ".", "back", "(", ")", ")", "&&", "isUncondBranchOpcode", "(", "MBB", ".", "back", "(", ")", ".", "getOpcode", "(", ")", ")", "&&", "TBB", "&&", "MBB", ".", "isLayoutSuccessor", "(", "TBB", ")", ")", "removeBranch", "(", "MBB", ")", ";", "return", "true", ";", "}", "if", "(", "I", "==", "MBB", ".", "instr_begin", "(", ")", ")", "return", "false", ";", "--", "I", ";", "}", "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": ["ARM", "ARM", "ARM::t2DoLoopStartTP", "0", "\"FBB should have been null.\"", "0", "1", "2"], "File": "ARMBaseInstrInfo110", "Func": "analyzeBranch", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8018, "Length": 479, "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": ["powerpcspe", "0"], "File": "powerpcspe", "Func": "rs6000_init_machine_status", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8019, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "DCPU16AsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "{", "return", "true", ";", "}", "printSrcMemOperand", "(", "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": ["Dcpu16", "DCPU16", "0"], "File": "Dcpu16AsmPrinter", "Func": "PrintAsmMemoryOperand", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8020, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86TargetLowering", "::", "ConstraintType", "X86TargetLowering", "::", "getConstraintType", "(", "StringRef", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'R'", ":", "case", "'q'", ":", "case", "'Q'", ":", "case", "'f'", ":", "case", "'t'", ":", "case", "'u'", ":", "case", "'y'", ":", "case", "'x'", ":", "case", "'v'", ":", "case", "'l'", ":", "case", "'k'", ":", "return", "C_RegisterClass", ";", "case", "'a'", ":", "case", "'b'", ":", "case", "'c'", ":", "case", "'d'", ":", "case", "'S'", ":", "case", "'D'", ":", "case", "'A'", ":", "return", "C_Register", ";", "case", "'I'", ":", "case", "'J'", ":", "case", "'K'", ":", "case", "'N'", ":", "case", "'G'", ":", "case", "'L'", ":", "case", "'M'", ":", "return", "C_Immediate", ";", "case", "'C'", ":", "case", "'e'", ":", "case", "'Z'", ":", "return", "C_Other", ";", "default", ":", "break", ";", "}", "}", "else", "if", "(", "Constraint", ".", "size", "(", ")", "==", "2", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'Y'", ":", "switch", "(", "Constraint", "[", "1", "]", ")", "{", "default", ":", "break", ";", "case", "'z'", ":", "return", "C_Register", ";", "case", "'i'", ":", "case", "'m'", ":", "case", "'k'", ":", "case", "'t'", ":", "case", "'2'", ":", "return", "C_RegisterClass", ";", "}", "}", "}", "else", "if", "(", "parseConstraintCode", "(", "Constraint", ")", "!=", "X86", "::", "COND_INVALID", ")", "return", "C_Other", ";", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "."], "TS_V_token": ["X86", "X86", "X86", "1", "0", "2", "0", "1", "X86::COND_INVALID"], "File": "X86ISelLowering (2)5", "Func": "getConstraintType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8021, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MINA32DAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "MINA32Subtarget", ">", "(", ")", ";", "return", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["MINA32", "MINA32", "MINA32"], "File": "MINA32ISelDAGToDAG", "Func": "runOnMachineFunction", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8022, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsSEFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MipsFunctionInfo", "*", "MipsFI", "=", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "MipsABIInfo", "ABI", "=", "STI", ".", "getABI", "(", ")", ";", "unsigned", "FP", "=", "ABI", ".", "GetFramePtr", "(", ")", ";", "unsigned", "BP", "=", "ABI", ".", "IsN64", "(", ")", "?", "Mips", "::", "S7_64", ":", "Mips", "::", "S7", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "setAliasRegs", "(", "MF", ",", "SavedRegs", ",", "FP", ")", ";", "if", "(", "hasBP", "(", "MF", ")", ")", "setAliasRegs", "(", "MF", ",", "SavedRegs", ",", "BP", ")", ";", "if", "(", "MipsFI", "->", "callsEhReturn", "(", ")", ")", "MipsFI", "->", "createEhDataRegsFI", "(", ")", ";", "if", "(", "MipsFI", "->", "isISR", "(", ")", ")", "MipsFI", "->", "createISRRegFI", "(", ")", ";", "if", "(", "ExpandPseudo", "(", "MF", ")", ".", "expand", "(", ")", ")", "{", "const", "TargetRegisterClass", "&", "RC", "=", "STI", ".", "hasMips64", "(", ")", "?", "Mips", "::", "GPR64RegClass", ":", "Mips", "::", "GPR32RegClass", ";", "int", "FI", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "CreateStackObject", "(", "TRI", "->", "getSpillSize", "(", "RC", ")", ",", "TRI", "->", "getSpillAlignment", "(", "RC", ")", ",", "false", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "FI", ")", ";", "}", "uint64_t", "MaxSPOffset", "=", "estimateStackSize", "(", "MF", ")", ";", "if", "(", "isIntN", "(", "STI", ".", "hasMSA", "(", ")", "?", "10", ":", "16", ",", "MaxSPOffset", ")", "&&", "!", "MF", ".", "getFrameInfo", "(", ")", ".", "hasVarSizedObjects", "(", ")", ")", "return", ";", "const", "TargetRegisterClass", "&", "RC", "=", "ABI", ".", "ArePtrs64bit", "(", ")", "?", "Mips", "::", "GPR64RegClass", ":", "Mips", "::", "GPR32RegClass", ";", "int", "FI", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "CreateStackObject", "(", "TRI", "->", "getSpillSize", "(", "RC", ")", ",", "TRI", "->", "getSpillAlignment", "(", "RC", ")", ",", "false", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "FI", ")", ";", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::S7_64", "Mips::S7", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::GPR64RegClass", "Mips::GPR32RegClass", "10", "16", "Mips::GPR64RegClass", "Mips::GPR32RegClass"], "File": "MipsSEFrameLowering43", "Func": "determineCalleeSaves", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8023, "Length": 313, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pa_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", "arg_size", "=", "FUNCTION_ARG_SIZE", "(", "mode", ",", "type", ")", ";", "cum", "->", "nargs_prototype", "--", ";", "cum", "->", "words", "+=", "(", "arg_size", "+", "(", "(", "cum", "->", "words", "&", "01", ")", "&&", "type", "!=", "NULL_TREE", "&&", "arg_size", ">", "1", ")", ")", ";", "}", ""], "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": ["pa", "01", "1"], "File": "pa4", "Func": "pa_function_arg_advance", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8024, "Length": 69, "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_PWR7", ")", "return", "new", "PPCDispatchGroupSBHazardRecognizer", "(", "II", ",", "DAG", ")", ";", "if", "(", "Directive", "!=", "PPC", "::", "DIR_440", "&&", "Directive", "!=", "PPC", "::", "DIR_A2", "&&", "Directive", "!=", "PPC", "::", "DIR_E500mc", "&&", "Directive", "!=", "PPC", "::", "DIR_E5500", ")", "{", "assert", "(", "TM", ".", "getInstrInfo", "(", ")", "&&", "\"No InstrInfo?\"", ")", ";", "return", "new", "PPCHazardRecognizer970", "(", "TM", ")", ";", "}", "return", "new", "ScoreboardHazardRecognizer", "(", "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_PWR7", "PPC", "PPC::DIR_440", "PPC::DIR_A2", "PPC::DIR_E500mc", "PPC::DIR_E5500", "\"No InstrInfo?\"", "PPC"], "File": "PPCInstrInfo (2)", "Func": "CreateTargetPostRAHazardRecognizer", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8025, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1RegisterInfo", "::", "saveScavengerRegister", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "MachineBasicBlock", "::", "iterator", "&", "UseMI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "unsigned", "Reg", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MBB", ".", "getParent", "(", ")", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "DL", ";", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", ".", "get", "(", "ARM", "::", "tMOVr", ")", ")", ".", "addReg", "(", "ARM", "::", "R12", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ")", ";", "bool", "done", "=", "false", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "II", "=", "I", ";", "!", "done", "&&", "II", "!=", "UseMI", ";", "++", "II", ")", "{", "if", "(", "II", "->", "isDebugValue", "(", ")", ")", "continue", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "II", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "const", "MachineOperand", "&", "MO", "=", "II", "->", "getOperand", "(", "i", ")", ";", "if", "(", "MO", ".", "isRegMask", "(", ")", "&&", "MO", ".", "clobbersPhysReg", "(", "ARM", "::", "R12", ")", ")", "{", "UseMI", "=", "II", ";", "done", "=", "true", ";", "break", ";", "}", "if", "(", "!", "MO", ".", "isReg", "(", ")", "||", "MO", ".", "isUndef", "(", ")", "||", "!", "MO", ".", "getReg", "(", ")", "||", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "MO", ".", "getReg", "(", ")", ")", ")", "continue", ";", "if", "(", "MO", ".", "getReg", "(", ")", "==", "ARM", "::", "R12", ")", "{", "UseMI", "=", "II", ";", "done", "=", "true", ";", "break", ";", "}", "}", "}", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "UseMI", ",", "DL", ",", "TII", ".", "get", "(", "ARM", "::", "tMOVr", ")", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "ARM", "::", "R12", ",", "RegState", "::", "Kill", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Spill", "the", "register", "so", "it", "can", "be", "used", "by", "the", "register", "scavenger", "."], "TS_V_token": ["ARM", "ARM::tMOVr", "ARM::R12", "0", "ARM::R12", "ARM::R12", "ARM::tMOVr", "ARM::R12"], "File": "Thumb1RegisterInfo14", "Func": "saveScavengerRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8026, "Length": 299, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCInst", "&", "Res", ")", "const", "override", "{", "llvm_unreachable", "(", "\"CJGAsmBackend::relaxInstruction() unimplemented\"", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["CJG", "\"CJGAsmBackend::relaxInstruction() unimplemented\""], "File": "CJGAsmBackend", "Func": "relaxInstruction", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8027, "Length": 26, "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", ")", "&&", "(", "(", "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", "\"SSE register return with SSE disabled\"", "X86::FP0", "X86::FP1", "MVT::f80", "1", "0", "ISD::FP_ROUND", "1", "MVT::i1", "ISD::TRUNCATE", "2"], "File": "X86ISelLowering1", "Func": "LowerCallResult", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8028, "Length": 374, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "SystemZ", "::", "L128", ":", "splitMove", "(", "MI", ",", "SystemZ", "::", "LG", ")", ";", "return", "true", ";", "case", "SystemZ", "::", "ST128", ":", "splitMove", "(", "MI", ",", "SystemZ", "::", "STG", ")", ";", "return", "true", ";", "case", "SystemZ", "::", "LX", ":", "splitMove", "(", "MI", ",", "SystemZ", "::", "LD", ")", ";", "return", "true", ";", "case", "SystemZ", "::", "STX", ":", "splitMove", "(", "MI", ",", "SystemZ", "::", "STD", ")", ";", "return", "true", ";", "case", "SystemZ", "::", "ADJDYNALLOC", ":", "splitAdjDynAlloc", "(", "MI", ")", ";", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ::L128", "SystemZ::LG", "SystemZ::ST128", "SystemZ::STG", "SystemZ::LX", "SystemZ::LD", "SystemZ::STX", "SystemZ::STD", "SystemZ::ADJDYNALLOC"], "File": "SystemZInstrInfo (2)", "Func": "expandPostRAPseudo", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8029, "Length": 109, "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": 8030, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_clear_sched_context", "(", "void", "*", "_sc", ")", "{", "ia64_sched_context_t", "sc", "=", "(", "ia64_sched_context_t", ")", "_sc", ";", "free", "(", "sc", "->", "prev_cycle_state", ")", ";", "sc", "->", "prev_cycle_state", "=", "NULL", ";", "}", ""], "natrual_language": ["Clears", "the", "data", "in", "the", "_SC", "scheduling", "context", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "ia64_clear_sched_context", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8031, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MVELaneInterleaving", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "!", "EnableInterleave", ")", "return", "false", ";", "auto", "&", "TPC", "=", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ";", "auto", "&", "TM", "=", "TPC", ".", "getTM", "<", "TargetMachine", ">", "(", ")", ";", "auto", "*", "ST", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", "F", ")", ";", "if", "(", "!", "ST", "->", "hasMVEIntegerOps", "(", ")", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "SmallPtrSet", "<", "Instruction", "*", ",", "16", ">", "Visited", ";", "for", "(", "Instruction", "&", "I", ":", "reverse", "(", "instructions", "(", "F", ")", ")", ")", "{", "if", "(", "I", ".", "getType", "(", ")", "->", "isVectorTy", "(", ")", "&&", "(", "isa", "<", "TruncInst", ">", "(", "I", ")", "||", "isa", "<", "FPTruncInst", ">", "(", "I", ")", ")", "&&", "!", "Visited", ".", "count", "(", "&", "I", ")", ")", "Changed", "|=", "tryInterleave", "(", "&", "I", ",", "Visited", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["ARM", "ARM", "16"], "File": "MVELaneInterleavingPass", "Func": "runOnFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8032, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMSubtarget", "&", "ARMSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "initializeEnvironment", "(", ")", ";", "initSubtargetFeatures", "(", "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": ["ARM", "ARM", "ARM"], "File": "ARMSubtarget", "Func": "initializeSubtargetDependencies", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8033, "Length": 29, "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\"", ")", ";", "if", "(", "setExecutionDomainCustom", "(", "MI", ",", "Domain", ")", ")", "return", ";", "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", ".", "hasAVX2", "(", ")", "&&", "\"256-bit insert/extract only available in AVX2\"", ")", ";", "table", "=", "lookup", "(", "MI", ".", "getOpcode", "(", ")", ",", "dom", ",", "ReplaceableInstrsAVX2InsertExtract", ")", ";", "}", "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\"", "\"256-bit insert/extract 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": "X86InstrInfo", "Func": "setExecutionDomain", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8034, "Length": 369, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_restore_sse_regs_using_mov", "(", "HOST_WIDE_INT", "cfa_offset", ",", "bool", "maybe_eh_return", ")", "{", "unsigned", "int", "regno", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "SSE_REGNO_P", "(", "regno", ")", "&&", "ix86_save_reg", "(", "regno", ",", "maybe_eh_return", ")", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "V4SFmode", ",", "regno", ")", ";", "rtx", "mem", ";", "unsigned", "int", "align", ";", "mem", "=", "choose_baseaddr", "(", "cfa_offset", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "V4SFmode", ",", "mem", ")", ";", "align", "=", "MIN", "(", "GET_MODE_ALIGNMENT", "(", "V4SFmode", ")", ",", "INCOMING_STACK_BOUNDARY", ")", ";", "set_mem_align", "(", "mem", ",", "align", ")", ";", "if", "(", "align", "<", "128", ")", "{", "rtx", "unspec", "=", "gen_rtx_UNSPEC", "(", "V4SFmode", ",", "gen_rtvec", "(", "1", ",", "mem", ")", ",", "UNSPEC_LOADU", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "reg", ",", "unspec", ")", ")", ";", "}", "else", "emit_insn", "(", "gen_rtx_SET", "(", "reg", ",", "mem", ")", ")", ";", "ix86_add_cfa_restore_note", "(", "NULL", ",", "reg", ",", "cfa_offset", ")", ";", "cfa_offset", "-=", "GET_MODE_SIZE", "(", "V4SFmode", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "code", "to", "restore", "saved", "registers", "using", "MOV", "insns", ".", "First", "register", "is", "restored", "from", "CFA", "-", "CFA_OFFSET", "."], "TS_V_token": ["i386", "0", "128", "1"], "File": "i3865", "Func": "ix86_emit_restore_sse_regs_using_mov", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8035, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isTypeDesirableForOp", "(", "unsigned", "Opc", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "isTypeLegal", "(", "VT", ")", ")", "return", "false", ";", "if", "(", "Opc", "==", "ISD", "::", "SHL", "&&", "VT", ".", "isVector", "(", ")", "&&", "VT", ".", "getVectorElementType", "(", ")", "==", "MVT", "::", "i8", ")", "return", "false", ";", "if", "(", "(", "Opc", "==", "ISD", "::", "MUL", "||", "Opc", "==", "ISD", "::", "SHL", ")", "&&", "VT", "==", "MVT", "::", "i8", ")", "return", "false", ";", "if", "(", "VT", "==", "MVT", "::", "i16", ")", "{", "switch", "(", "Opc", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "LOAD", ":", "case", "ISD", "::", "SIGN_EXTEND", ":", "case", "ISD", "::", "ZERO_EXTEND", ":", "case", "ISD", "::", "ANY_EXTEND", ":", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SRL", ":", "case", "ISD", "::", "SUB", ":", "case", "ISD", "::", "ADD", ":", "case", "ISD", "::", "MUL", ":", "case", "ISD", "::", "AND", ":", "case", "ISD", "::", "OR", ":", "case", "ISD", "::", "XOR", ":", "return", "false", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "has", "native", "support", "for", "the", "specified", "value", "type", "and", "it", "is", "'desirable", "'", "to", "use", "the", "type", "for", "the", "given", "node", "type", "."], "TS_V_token": ["X86", "X86", "ISD::SHL", "MVT::i8", "ISD::MUL", "ISD::SHL", "MVT::i8", "MVT::i16", "ISD::LOAD", "ISD::SIGN_EXTEND", "ISD::ZERO_EXTEND", "ISD::ANY_EXTEND", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::SUB", "ISD::ADD", "ISD::MUL", "ISD::AND", "ISD::OR", "ISD::XOR"], "File": "X86ISelLowering (2)5", "Func": "isTypeDesirableForOp", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8036, "Length": 168, "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": ["PowerPC"], "File": "PPCSubtarget2", "Func": "getDataLayout", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8037, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "AU", ".", "addRequired", "<", "AAResultsWrapperPass", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["X86"], "File": "X86AvoidStoreForwardingBlocks", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8038, "Length": 27, "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", ";", "if", "(", "addr", ".", "type", "!=", "ADDRESS_REG_IMM", "&&", "addr", ".", "type", "!=", "ADDRESS_REG_WB", "&&", "addr", ".", "type", "!=", "ADDRESS_REG_REG", "&&", "addr", ".", "type", "!=", "ADDRESS_REG_UXTW", "&&", "addr", ".", "type", "!=", "ADDRESS_REG_SXTW", ")", "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-avoidance", "Func": "valid_src_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8039, "Length": 323, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_split_v4si_init_di_reg", "(", "rtx", "dest", ",", "rtx", "si1", ",", "rtx", "si2", ",", "rtx", "tmp", ")", "{", "const", "unsigned", "HOST_WIDE_INT", "mask_32bit", "=", "HOST_WIDE_INT_C", "(", "0xffffffff", ")", ";", "if", "(", "CONST_INT_P", "(", "si1", ")", "&&", "CONST_INT_P", "(", "si2", ")", ")", "{", "unsigned", "HOST_WIDE_INT", "const1", "=", "(", "UINTVAL", "(", "si1", ")", "&", "mask_32bit", ")", "<<", "32", ";", "unsigned", "HOST_WIDE_INT", "const2", "=", "UINTVAL", "(", "si2", ")", "&", "mask_32bit", ";", "emit_move_insn", "(", "dest", ",", "GEN_INT", "(", "const1", "|", "const2", ")", ")", ";", "return", ";", "}", "if", "(", "CONST_INT_P", "(", "si1", ")", ")", "emit_move_insn", "(", "dest", ",", "GEN_INT", "(", "(", "UINTVAL", "(", "si1", ")", "&", "mask_32bit", ")", "<<", "32", ")", ")", ";", "else", "{", "rtx", "si1_di", "=", "gen_rtx_REG", "(", "DImode", ",", "regno_or_subregno", "(", "si1", ")", ")", ";", "rtx", "shift_rtx", "=", "gen_rtx_ASHIFT", "(", "DImode", ",", "si1_di", ",", "GEN_INT", "(", "32", ")", ")", ";", "rtx", "mask_rtx", "=", "GEN_INT", "(", "mask_32bit", "<<", "32", ")", ";", "rtx", "and_rtx", "=", "gen_rtx_AND", "(", "DImode", ",", "shift_rtx", ",", "mask_rtx", ")", ";", "gcc_assert", "(", "!", "reg_overlap_mentioned_p", "(", "dest", ",", "si1", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "and_rtx", ")", ")", ";", "}", "gcc_assert", "(", "!", "reg_overlap_mentioned_p", "(", "dest", ",", "tmp", ")", ")", ";", "if", "(", "CONST_INT_P", "(", "si2", ")", ")", "emit_move_insn", "(", "tmp", ",", "GEN_INT", "(", "UINTVAL", "(", "si2", ")", "&", "mask_32bit", ")", ")", ";", "else", "emit_insn", "(", "gen_zero_extendsidi2", "(", "tmp", ",", "si2", ")", ")", ";", "emit_insn", "(", "gen_iordi3", "(", "dest", ",", "dest", ",", "tmp", ")", ")", ";", "return", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "rs6000_split_v4si_init", "to", "build", "up", "a", "DImode", "value", "from", "two", "SImode", "values", "."], "TS_V_token": ["powerpcspe", "0xffffffff", "32", "32", "32", "32"], "File": "powerpcspe", "Func": "rs6000_split_v4si_init_di_reg", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8040, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBranchTargets", "::", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMBranchTargets", "Func": "getAnalysisUsage", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8041, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "ARMTargetLowering", "::", "shouldExpandAtomicLoadInIR", "(", "LoadInst", "*", "LI", ")", "const", "{", "unsigned", "Size", "=", "LI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "return", "(", "(", "Size", "==", "64", ")", "&&", "!", "Subtarget", "->", "isMClass", "(", ")", ")", "?", "AtomicExpansionKind", "::", "LLOnly", ":", "AtomicExpansionKind", "::", "None", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "(", "atomic", ")", "load", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "."], "TS_V_token": ["ARM", "ARM", "64"], "File": "ARMISelLowering (2)2", "Func": "shouldExpandAtomicLoadInIR", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8042, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "LanaiRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "return", "CSR_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["Lanai", "Lanai"], "File": "LanaiRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8043, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ix86_unary_operator_ok", "(", "enum", "rtx_code", "code", "ATTRIBUTE_UNUSED", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "operands", "[", "2", "]", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "(", "GET_CODE", "(", "operands", "[", "0", "]", ")", "==", "MEM", "||", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "MEM", ")", "&&", "!", "rtx_equal_p", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ")", ")", "return", "FALSE", ";", "return", "TRUE", ";", "}", ""], "natrual_language": ["Return", "TRUE", "or", "FALSE", "depending", "on", "whether", "the", "unary", "operator", "meets", "the", "appropriate", "constraints", "."], "TS_V_token": ["i386", "2", "0", "1", "0", "1"], "File": "i3863", "Func": "ix86_unary_operator_ok", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8044, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AnalyzeFormalArguments", "(", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "CCAssignFn", "Fn", ")", "{", "PreAnalyzeFormalArguments", "(", "Ins", ",", "Fn", ")", ";", "CCState", "::", "AnalyzeFormalArguments", "(", "Ins", ",", "Fn", ")", ";", "}", ""], "natrual_language": ["AnalyzeFormalArguments", "-", "Analyze", "an", "array", "of", "argument", "values", ",", "incorporating", "info", "about", "the", "formals", "into", "this", "state", "."], "TS_V_token": ["Mips", "ISD::InputArg"], "File": "MipsCCState8", "Func": "AnalyzeFormalArguments", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8045, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_nsaved_sseregs", "(", "void", ")", "{", "int", "nregs", "=", "0", ";", "int", "regno", ";", "if", "(", "!", "TARGET_64BIT_MS_ABI", ")", "return", "0", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "SSE_REGNO_P", "(", "regno", ")", "&&", "ix86_save_reg", "(", "regno", ",", "true", ")", ")", "nregs", "++", ";", "return", "nregs", ";", "}", ""], "natrual_language": ["Return", "number", "of", "saved", "SSE", "registrers", "."], "TS_V_token": ["i386", "0", "0", "0"], "File": "i3864", "Func": "ix86_nsaved_sseregs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8046, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "unsigned", "FPReg", "=", "RI", ".", "getFrameRegister", "(", "MF", ")", ";", "bool", "is64Bit", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ";", "bool", "isWin64", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "isTargetWin64", "(", ")", ";", "unsigned", "Opc", "=", "is64Bit", "?", "X86", "::", "POP64r", ":", "X86", "::", "POP32r", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "if", "(", "Reg", "==", "FPReg", ")", "continue", ";", "const", "TargetRegisterClass", "*", "RegClass", "=", "CSI", "[", "i", "]", ".", "getRegClass", "(", ")", ";", "if", "(", "RegClass", "!=", "&", "X86", "::", "VR128RegClass", "&&", "!", "isWin64", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opc", ")", ",", "Reg", ")", ";", "}", "else", "{", "loadRegFromStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", ",", "RegClass", ")", ";", "}", "}", "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", "X86::POP64r", "X86::POP32r", "0", "X86::VR128RegClass"], "File": "X86InstrInfo108", "Func": "restoreCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8047, "Length": 245, "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": 8048, "Length": 18, "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", "::", "Add", ":", "case", "Instruction", "::", "Sub", ":", "case", "Instruction", "::", "Mul", ":", "case", "Instruction", "::", "UDiv", ":", "case", "Instruction", "::", "SDiv", ":", "case", "Instruction", "::", "URem", ":", "case", "Instruction", "::", "SRem", ":", "case", "Instruction", "::", "And", ":", "case", "Instruction", "::", "Or", ":", "case", "Instruction", "::", "Xor", ":", "case", "Instruction", "::", "ICmp", ":", "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", "1", "63", "64", "X86", "X86"], "File": "X86TargetTransformInfo96", "Func": "getIntImmCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8049, "Length": 314, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "LoopPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "AU", ".", "addRequired", "<", "AssumptionCacheTracker", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "ScalarEvolutionWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "AAResultsWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "TargetLibraryInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "LoopInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "TargetPassConfig", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "LoopInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "setPreservesCFG", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["ARM"], "File": "ARMParallelDSP", "Func": "getAnalysisUsage", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8050, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "vfp3_const_double_index", "(", "rtx", "x", ")", "{", "REAL_VALUE_TYPE", "r", ",", "m", ";", "int", "sign", ",", "exponent", ";", "unsigned", "HOST_WIDE_INT", "mantissa", ",", "mant_hi", ";", "unsigned", "HOST_WIDE_INT", "mask", ";", "int", "point_pos", "=", "2", "*", "HOST_BITS_PER_WIDE_INT", "-", "1", ";", "bool", "fail", ";", "if", "(", "!", "TARGET_VFP3", "||", "!", "CONST_DOUBLE_P", "(", "x", ")", ")", "return", "-", "1", ";", "r", "=", "*", "CONST_DOUBLE_REAL_VALUE", "(", "x", ")", ";", "if", "(", "REAL_VALUE_ISINF", "(", "r", ")", "||", "REAL_VALUE_ISNAN", "(", "r", ")", "||", "REAL_VALUE_MINUS_ZERO", "(", "r", ")", ")", "return", "-", "1", ";", "sign", "=", "REAL_VALUE_NEGATIVE", "(", "r", ")", "?", "1", ":", "0", ";", "r", "=", "real_value_abs", "(", "&", "r", ")", ";", "exponent", "=", "REAL_EXP", "(", "&", "r", ")", ";", "real_ldexp", "(", "&", "m", ",", "&", "r", ",", "point_pos", "-", "exponent", ")", ";", "wide_int", "w", "=", "real_to_integer", "(", "&", "m", ",", "&", "fail", ",", "HOST_BITS_PER_WIDE_INT", "*", "2", ")", ";", "mantissa", "=", "w", ".", "elt", "(", "0", ")", ";", "mant_hi", "=", "w", ".", "elt", "(", "1", ")", ";", "if", "(", "mantissa", "!=", "0", ")", "return", "-", "1", ";", "point_pos", "-=", "HOST_BITS_PER_WIDE_INT", ";", "mantissa", "=", "mant_hi", ";", "mask", "=", "(", "HOST_WIDE_INT_1U", "<<", "(", "point_pos", "-", "5", ")", ")", "-", "1", ";", "if", "(", "(", "mantissa", "&", "mask", ")", "!=", "0", ")", "return", "-", "1", ";", "mantissa", ">>=", "point_pos", "-", "5", ";", "if", "(", "mantissa", "==", "0", ")", "return", "-", "1", ";", "gcc_assert", "(", "mantissa", ">=", "16", "&&", "mantissa", "<=", "31", ")", ";", "exponent", "=", "5", "-", "exponent", ";", "if", "(", "exponent", "<", "0", "||", "exponent", ">", "7", ")", "return", "-", "1", ";", "return", "(", "sign", "<<", "7", ")", "|", "(", "(", "exponent", "^", "3", ")", "<<", "4", ")", "|", "(", "mantissa", "-", "16", ")", ";", "}", ""], "natrual_language": ["Return", "an", "integer", "index", "for", "a", "VFPv3", "immediate", "operand", "X", "suitable", "for", "the", "fconst", "[", "sd", "]", "instruction", ",", "or", "-1", "if", "X", "is", "n't", "suitable", "."], "TS_V_token": ["arm", "2", "1", "1", "1", "1", "0", "2", "0", "1", "0", "1", "5", "1", "0", "1", "5", "0", "1", "16", "31", "5", "0", "7", "1", "7", "3", "4", "16"], "File": "arm", "Func": "vfp3_const_double_index", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8051, "Length": 275, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FastISel", "::", "tryToFoldLoadIntoMI", "(", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "LoadInst", "*", "LI", ")", "{", "const", "Value", "*", "Ptr", "=", "LI", "->", "getPointerOperand", "(", ")", ";", "X86AddressMode", "AM", ";", "if", "(", "!", "X86SelectAddress", "(", "Ptr", ",", "AM", ")", ")", "return", "false", ";", "const", "X86InstrInfo", "&", "XII", "=", "(", "const", "X86InstrInfo", "&", ")", "TII", ";", "unsigned", "Size", "=", "DL", ".", "getTypeAllocSize", "(", "LI", "->", "getType", "(", ")", ")", ";", "unsigned", "Alignment", "=", "LI", "->", "getAlignment", "(", ")", ";", "if", "(", "Alignment", "==", "0", ")", "Alignment", "=", "DL", ".", "getABITypeAlignment", "(", "LI", "->", "getType", "(", ")", ")", ";", "SmallVector", "<", "MachineOperand", ",", "8", ">", "AddrOps", ";", "AM", ".", "getFullAddress", "(", "AddrOps", ")", ";", "MachineInstr", "*", "Result", "=", "XII", ".", "foldMemoryOperandImpl", "(", "*", "FuncInfo", ".", "MF", ",", "MI", ",", "OpNo", ",", "AddrOps", ",", "Size", ",", "Alignment", ",", "true", ")", ";", "if", "(", "!", "Result", ")", "return", "false", ";", "Result", "->", "addMemOperand", "(", "*", "FuncInfo", ".", "MF", ",", "createMachineMemOperandFor", "(", "LI", ")", ")", ";", "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", "X86", "X86", "0", "8"], "File": "X86FastISel128", "Func": "tryToFoldLoadIntoMI", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8052, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "n7_consumed_by_ii_dep_p", "(", "rtx_insn", "*", "consumer", ",", "rtx", "def_reg", ")", "{", "rtx", "use_rtx", ";", "switch", "(", "get_attr_type", "(", "consumer", ")", ")", "{", "case", "TYPE_ALU", ":", "if", "(", "movd44_even_dep_p", "(", "consumer", ",", "def_reg", ")", ")", "return", "true", ";", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_MUL", ":", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_MAC", ":", "use_rtx", "=", "extract_mac_non_acc_rtx", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_DIV", ":", "if", "(", "INSN_CODE", "(", "consumer", ")", "==", "CODE_FOR_divmodsi4", "||", "INSN_CODE", "(", "consumer", ")", "==", "CODE_FOR_udivmodsi4", ")", "use_rtx", "=", "SET_SRC", "(", "parallel_element", "(", "consumer", ",", "0", ")", ")", ";", "else", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_LOAD", ":", "if", "(", "post_update_insn_p", "(", "consumer", ")", ")", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "else", "use_rtx", "=", "extract_mem_rtx", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_STORE", ":", "if", "(", "post_update_insn_p", "(", "consumer", ")", ")", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "else", "use_rtx", "=", "extract_mem_rtx", "(", "consumer", ")", ";", "if", "(", "reg_overlap_p", "(", "def_reg", ",", "use_rtx", ")", ")", "return", "true", ";", "if", "(", "!", "post_update_insn_p", "(", "consumer", ")", "&&", "!", "immed_offset_p", "(", "extract_mem_rtx", "(", "consumer", ")", ")", ")", "return", "false", ";", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_LOAD_MULTIPLE", ":", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_STORE_MULTIPLE", ":", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "if", "(", "reg_overlap_p", "(", "def_reg", ",", "use_rtx", ")", ")", "return", "true", ";", "use_rtx", "=", "extract_nth_access_rtx", "(", "consumer", ",", "0", ")", ";", "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", "II", "."], "TS_V_token": ["nds32", "0", "0"], "File": "nds32-pipelines-auxiliary5", "Func": "n7_consumed_by_ii_dep_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8053, "Length": 296, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rs6000_build_builtin_va_list", "(", "void", ")", "{", "tree", "f_gpr", ",", "f_fpr", ",", "f_res", ",", "f_ovf", ",", "f_sav", ",", "record", ",", "type_decl", ";", "if", "(", "DEFAULT_ABI", "!=", "ABI_V4", ")", "return", "build_pointer_type", "(", "char_type_node", ")", ";", "record", "=", "(", "*", "lang_hooks", ".", "types", ".", "make_type", ")", "(", "RECORD_TYPE", ")", ";", "type_decl", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "TYPE_DECL", ",", "get_identifier", "(", "\"__va_list_tag\"", ")", ",", "record", ")", ";", "f_gpr", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"gpr\"", ")", ",", "unsigned_char_type_node", ")", ";", "f_fpr", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"fpr\"", ")", ",", "unsigned_char_type_node", ")", ";", "f_res", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"reserved\"", ")", ",", "short_unsigned_type_node", ")", ";", "f_ovf", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"overflow_arg_area\"", ")", ",", "ptr_type_node", ")", ";", "f_sav", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "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_res", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_ovf", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_sav", ")", "=", "record", ";", "TYPE_STUB_DECL", "(", "record", ")", "=", "type_decl", ";", "TYPE_NAME", "(", "record", ")", "=", "type_decl", ";", "TYPE_FIELDS", "(", "record", ")", "=", "f_gpr", ";", "DECL_CHAIN", "(", "f_gpr", ")", "=", "f_fpr", ";", "DECL_CHAIN", "(", "f_fpr", ")", "=", "f_res", ";", "DECL_CHAIN", "(", "f_res", ")", "=", "f_ovf", ";", "DECL_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": ["rs6000", "\"__va_list_tag\"", "\"gpr\"", "\"fpr\"", "\"reserved\"", "\"overflow_arg_area\"", "\"reg_save_area\""], "File": "rs60004", "Func": "rs6000_build_builtin_va_list", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8054, "Length": 253, "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": 8055, "Length": 216, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_attr_length_pop_multi", "(", "rtx", "*", "operands", ",", "bool", "return_pc", ",", "bool", "write_back_p", ")", "{", "if", "(", "TARGET_ARM", ")", "return", "4", ";", "if", "(", "TARGET_THUMB1", ")", "return", "2", ";", "rtx", "parallel_op", "=", "operands", "[", "0", "]", ";", "unsigned", "indx", "=", "XVECLEN", "(", "parallel_op", ",", "0", ")", "-", "1", ";", "unsigned", "regno", "=", "REGNO", "(", "operands", "[", "1", "]", ")", ";", "unsigned", "first_indx", "=", "0", ";", "first_indx", "+=", "return_pc", "?", "1", ":", "0", ";", "first_indx", "+=", "write_back_p", "?", "1", ":", "0", ";", "bool", "pop_p", "=", "(", "regno", "==", "SP_REGNUM", "&&", "write_back_p", ")", ";", "bool", "ldm_p", "=", "!", "pop_p", ";", "if", "(", "ldm_p", "&&", "REGNO_REG_CLASS", "(", "regno", ")", "==", "HI_REGS", ")", "return", "4", ";", "for", "(", ";", "indx", ">=", "first_indx", ";", "indx", "--", ")", "{", "regno", "=", "REGNO", "(", "XEXP", "(", "XVECEXP", "(", "parallel_op", ",", "0", ",", "indx", ")", ",", "0", ")", ")", ";", "if", "(", "REGNO_REG_CLASS", "(", "regno", ")", "==", "HI_REGS", "&&", "(", "regno", "!=", "PC_REGNUM", "||", "ldm_p", ")", ")", "return", "4", ";", "}", "return", "2", ";", "}", ""], "natrual_language": ["Compute", "the", "attribute", "``", "length", "''", "of", "insn", ".", "Currently", ",", "this", "function", "is", "used", "for", "``", "*", "load_multiple_with_writeback", "''", ",", "``", "*", "pop_multiple_with_return", "''", "and", "``", "*", "pop_multiple_with_writeback_and_return", "''", ".", "OPERANDS", "is", "the", "toplevel", "PARALLEL", "rtx", ",", "RETURN_PC", "is", "true", "if", "OPERANDS", "contains", "return", "insn", ".", "WRITE_BACK_P", "is", "true", "if", "OPERANDS", "contains", "insn", "which", "explicit", "updates", "base", "register", "."], "TS_V_token": ["arm", "4", "2", "0", "0", "1", "1", "0", "1", "0", "1", "0", "4", "0", "0", "4", "2"], "File": "arm", "Func": "arm_attr_length_pop_multi", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8056, "Length": 166, "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", "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", "::", "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", "::", "Cold", ":", "if", "(", "Is64Bit", ")", "return", "CSR_64_MostRegs_RegMask", ";", "break", ";", "default", ":", "break", ";", "case", "CallingConv", "::", "X86_64_Win64", ":", "return", "CSR_Win64_RegMask", ";", "case", "CallingConv", "::", "X86_64_SysV", ":", "return", "CSR_64_RegMask", ";", "}", "if", "(", "Is64Bit", ")", "{", "if", "(", "IsWin64", ")", "return", "CSR_Win64_RegMask", ";", "return", "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", "X86"], "File": "X86RegisterInfo37", "Func": "getCallPreservedMask", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8057, "Length": 220, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "classifyLEAReg", "(", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "&", "Src", ",", "unsigned", "Opc", ",", "bool", "AllowSP", ",", "Register", "&", "NewSrc", ",", "bool", "&", "isKill", ",", "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", ";", "}", "Register", "SrcReg", "=", "Src", ".", "getReg", "(", ")", ";", "isKill", "=", "MI", ".", "killsRegister", "(", "SrcReg", ")", ";", "if", "(", "Opc", "!=", "X86", "::", "LEA64_32r", ")", "{", "NewSrc", "=", "SrcReg", ";", "assert", "(", "!", "Src", ".", "isUndef", "(", ")", "&&", "\"Undef op doesn't need optimization\"", ")", ";", "if", "(", "NewSrc", ".", "isVirtual", "(", ")", "&&", "!", "MF", ".", "getRegInfo", "(", ")", ".", "constrainRegClass", "(", "NewSrc", ",", "RC", ")", ")", "return", "false", ";", "return", "true", ";", "}", "if", "(", "SrcReg", ".", "isPhysical", "(", ")", ")", "{", "ImplicitOp", "=", "Src", ";", "ImplicitOp", ".", "setImplicit", "(", ")", ";", "NewSrc", "=", "getX86SubSuperRegister", "(", "SrcReg", ",", "64", ")", ";", "assert", "(", "!", "Src", ".", "isUndef", "(", ")", "&&", "\"Undef op doesn't need optimization\"", ")", ";", "}", "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", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "isKill", "=", "true", ";", "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", "\"Undef op doesn't need optimization\"", "X86", "64", "\"Undef op doesn't need optimization\"", "X86::sub_32bit"], "File": "X86InstrInfo (2)3", "Func": "classifyLEAReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8058, "Length": 312, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "size_t", "THMToTHMStub", "::", "size", "(", ")", "const", "{", "return", "m_Size", ";", "}", ""], "natrual_language": ["The", "number", "of", "name/type", "pairs", "is", "returned", "."], "TS_V_token": ["ARM"], "File": "THMToTHMStub", "Func": "size", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8059, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "dep_between_memop_and_curr", "(", "rtx", "memop", ")", "{", "rtx", "load_reg", ";", "int", "opno", ";", "gcc_assert", "(", "GET_CODE", "(", "memop", ")", "==", "SET", ")", ";", "if", "(", "!", "REG_P", "(", "SET_DEST", "(", "memop", ")", ")", ")", "return", "false", ";", "load_reg", "=", "SET_DEST", "(", "memop", ")", ";", "for", "(", "opno", "=", "1", ";", "opno", "<", "recog_data", ".", "n_operands", ";", "opno", "++", ")", "{", "rtx", "operand", "=", "recog_data", ".", "operand", "[", "opno", "]", ";", "if", "(", "REG_P", "(", "operand", ")", "&&", "reg_overlap_mentioned_p", "(", "load_reg", ",", "operand", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Check", "if", "there", "is", "a", "register", "dependency", "between", "a", "load", "and", "the", "insn", "for", "which", "we", "hold", "recog_data", "."], "TS_V_token": ["aarch64", "1"], "File": "aarch64", "Func": "dep_between_memop_and_curr", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8060, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "hashval_t", "hash", "(", "const", "char", "*", "s", ")", "{", "return", "htab_hash_string", "(", "s", ")", ";", "}", ""], "natrual_language": ["Hash", "function", "for", "builtin", "functions", "with", "up", "to", "3", "arguments", "and", "a", "return", "type", "."], "TS_V_token": ["mep"], "File": "mep", "Func": "hash", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8061, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_got_symbol_type_p", "(", "enum", "mips_symbol_type", "type", ")", "{", "switch", "(", "type", ")", "{", "case", "SYMBOL_GOT_PAGE_OFST", ":", "case", "SYMBOL_GOT_DISP", ":", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "symbols", "of", "type", "TYPE", "require", "a", "GOT", "access", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_got_symbol_type_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8062, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "X86InstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "Subtarget", "->", "getInstrInfo", "(", ")", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["X86", "X86"], "File": "X86FastISel (2)4", "Func": "getInstrInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8063, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_split_compare_and_swap", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "rval", ",", "mem", ",", "oldval", ",", "newval", ",", "scratch", ";", "machine_mode", "mode", ";", "enum", "memmodel", "mod_s", ",", "mod_f", ";", "bool", "is_weak", ";", "rtx_code_label", "*", "label1", ",", "*", "label2", ";", "rtx", "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", "]", ")", ";", "scratch", "=", "operands", "[", "7", "]", ";", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "bool", "use_acquire", "=", "TARGET_HAVE_LDACQ", "&&", "!", "(", "mod_s", "==", "MEMMODEL_RELAXED", "||", "mod_s", "==", "MEMMODEL_CONSUME", "||", "mod_s", "==", "MEMMODEL_RELEASE", ")", ";", "bool", "use_release", "=", "TARGET_HAVE_LDACQ", "&&", "!", "(", "mod_s", "==", "MEMMODEL_RELAXED", "||", "mod_s", "==", "MEMMODEL_CONSUME", "||", "mod_s", "==", "MEMMODEL_ACQUIRE", ")", ";", "if", "(", "!", "(", "use_acquire", "||", "use_release", ")", ")", "arm_pre_atomic_barrier", "(", "mod_s", ")", ";", "label1", "=", "NULL", ";", "if", "(", "!", "is_weak", ")", "{", "label1", "=", "gen_label_rtx", "(", ")", ";", "emit_label", "(", "label1", ")", ";", "}", "label2", "=", "gen_label_rtx", "(", ")", ";", "arm_emit_load_exclusive", "(", "mode", ",", "rval", ",", "mem", ",", "use_acquire", ")", ";", "cond", "=", "arm_gen_compare_reg", "(", "NE", ",", "rval", ",", "oldval", ",", "scratch", ")", ";", "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", "(", "VOIDmode", ",", "pc_rtx", ",", "x", ")", ")", ";", "arm_emit_store_exclusive", "(", "mode", ",", "scratch", ",", "mem", ",", "newval", ",", "use_release", ")", ";", "cond", "=", "gen_rtx_REG", "(", "CCmode", ",", "CC_REGNUM", ")", ";", "x", "=", "gen_rtx_COMPARE", "(", "CCmode", ",", "scratch", ",", "const0_rtx", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "cond", ",", "x", ")", ")", ";", "if", "(", "!", "is_weak", ")", "{", "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", "(", "VOIDmode", ",", "pc_rtx", ",", "x", ")", ")", ";", "}", "if", "(", "mod_f", "!=", "MEMMODEL_RELAXED", ")", "emit_label", "(", "label2", ")", ";", "if", "(", "!", "(", "use_acquire", "||", "use_release", ")", ")", "arm_post_atomic_barrier", "(", "mod_s", ")", ";", "if", "(", "mod_f", "==", "MEMMODEL_RELAXED", ")", "emit_label", "(", "label2", ")", ";", "}", ""], "natrual_language": ["Split", "a", "compare", "and", "swap", "pattern", ".", "It", "is", "IMPLEMENTATION", "DEFINED", "whether", "another", "memory", "store", "between", "the", "load-exclusive", "and", "store-exclusive", "can", "reset", "the", "monitor", "from", "Exclusive", "to", "Open", "state", ".", "This", "means", "we", "must", "wait", "until", "after", "reload", "to", "split", "the", "pattern", ",", "lest", "we", "get", "a", "register", "spill", "in", "the", "middle", "of", "the", "atomic", "sequence", "."], "TS_V_token": ["arm", "0", "1", "2", "3", "4", "5", "6", "7"], "File": "arm4", "Func": "arm_split_compare_and_swap", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8064, "Length": 402, "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", ",", "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", "(", ")", ")", ")", ";", "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": "AArch64Subtarget40", "Func": "AArch64Subtarget", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8065, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isLegalAddImmediate", "(", "int64_t", "Immed", ")", "const", "{", "if", "(", "(", "Immed", ">>", "12", ")", "==", "0", "||", "(", "(", "Immed", "&", "0xfff", ")", "==", "0", "&&", "Immed", ">>", "24", "==", "0", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "immediate", "is", "legal", "add", "immediate", ",", "that", "is", "the", "target", "has", "add", "instructions", "which", "can", "add", "a", "register", "and", "the", "immediate", "without", "having", "to", "materialize", "the", "immediate", "into", "a", "register", "."], "TS_V_token": ["AArch64", "AArch64", "12", "0", "0xfff", "0", "24", "0"], "File": "AArch64ISelLowering (2)1", "Func": "isLegalAddImmediate", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8066, "Length": 43, "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": ["Mips", "\"Invalid base register access!\""], "File": "MipsFastISel", "Func": "getReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8067, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "const", "{", "OS", ".", "write_zeros", "(", "Count", "%", "4", ")", ";", "Count", "/=", "4", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "!=", "Count", ";", "++", "i", ")", "support", "::", "endian", "::", "write", "<", "uint32_t", ">", "(", "OS", ",", "0xd503201f", ",", "Endian", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["AArch64", "AArch64", "4", "4", "0", "support::endian", "0xd503201f"], "File": "AArch64AsmBackend23", "Func": "writeNopData", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8068, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createCookieSetterPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createExecutionDependencyFixPass", "(", "&", "X86", "::", "VR128RegClass", ")", ")", ";", "if", "(", "UseVZeroUpper", ")", "addPass", "(", "createX86IssueVZeroUpperPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createX86PadShortFunctions", "(", ")", ")", ";", "addPass", "(", "createX86FixupLEAs", "(", ")", ")", ";", "}", "addPass", "(", "createX86FixupVCalls", "(", ")", ")", ";", "addPass", "(", "createMOVToLEAPass", "(", ")", ")", ";", "addPass", "(", "createEquivSubstPass", "(", ")", ")", ";", "if", "(", "TM", "->", "Options", ".", "NOPInsertion", ")", "{", "addPass", "(", "createNOPInsertionPass", "(", "Is64Bit", ")", ")", ";", "}", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["X86", "X86", "X86::VR128RegClass", "X86", "X86", "X86", "X86"], "File": "X86TargetMachine115", "Func": "addPreEmitPass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8069, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "includes_rldicr_lshift_p", "(", "rtx", "shiftop", ",", "rtx", "andop", ")", "{", "if", "(", "GET_CODE", "(", "andop", ")", "==", "CONST_INT", ")", "{", "HOST_WIDE_INT", "c", ",", "lsb", ",", "shift_mask", ";", "shift_mask", "=", "~", "0", ";", "shift_mask", "<<=", "INTVAL", "(", "shiftop", ")", ";", "c", "=", "INTVAL", "(", "andop", ")", ";", "lsb", "=", "c", "&", "-", "c", ";", "if", "(", "(", "lsb", "&", "shift_mask", ")", "==", "0", ")", "return", "0", ";", "return", "c", "==", "-", "lsb", "&&", "lsb", "!=", "1", ";", "}", "else", "if", "(", "GET_CODE", "(", "andop", ")", "==", "CONST_DOUBLE", "&&", "(", "GET_MODE", "(", "andop", ")", "==", "VOIDmode", "||", "GET_MODE", "(", "andop", ")", "==", "DImode", ")", ")", "{", "HOST_WIDE_INT", "low", ",", "lsb", ",", "shift_mask_low", ";", "low", "=", "CONST_DOUBLE_LOW", "(", "andop", ")", ";", "if", "(", "HOST_BITS_PER_WIDE_INT", "<", "64", ")", "{", "HOST_WIDE_INT", "high", ",", "shift_mask_high", ";", "high", "=", "CONST_DOUBLE_HIGH", "(", "andop", ")", ";", "if", "(", "low", "==", "0", ")", "{", "shift_mask_high", "=", "~", "0", ";", "if", "(", "INTVAL", "(", "shiftop", ")", ">", "32", ")", "shift_mask_high", "<<=", "INTVAL", "(", "shiftop", ")", "-", "32", ";", "lsb", "=", "high", "&", "-", "high", ";", "if", "(", "(", "lsb", "&", "shift_mask_high", ")", "==", "0", ")", "return", "0", ";", "return", "high", "==", "-", "lsb", ";", "}", "if", "(", "high", "!=", "~", "0", ")", "return", "0", ";", "}", "shift_mask_low", "=", "~", "0", ";", "shift_mask_low", "<<=", "INTVAL", "(", "shiftop", ")", ";", "lsb", "=", "low", "&", "-", "low", ";", "if", "(", "(", "lsb", "&", "shift_mask_low", ")", "==", "0", ")", "return", "0", ";", "return", "low", "==", "-", "lsb", "&&", "lsb", "!=", "1", ";", "}", "else", "return", "0", ";", "}", ""], "natrual_language": ["Return", "1", "if", "ANDOP", "is", "a", "mask", "suitable", "for", "use", "with", "an", "rldicr", "insn", "to", "perform", "a", "left", "shift", ".", "It", "must", "have", "SHIFTOP", "or", "more", "least", "significant", "0", "'s", ",", "with", "the", "remainder", "of", "the", "word", "1", "'s", "."], "TS_V_token": ["rs6000", "0", "0", "0", "1", "64", "0", "0", "32", "32", "0", "0", "0", "0", "0", "0", "0", "1", "0"], "File": "rs60003", "Func": "includes_rldicr_lshift_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8070, "Length": 253, "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", ")", "return", "8", ";", "if", "(", "TARGET_PORTABLE_RUNTIME", ")", "return", "16", ";", "if", "(", "!", "TARGET_LONG_CALLS", "&&", "(", "(", "TARGET_PA_20", "&&", "!", "TARGET_SOM", "&&", "distance", "<", "7600000", ")", "||", "distance", "<", "MAX_PCREL17F_OFFSET", ")", ")", "return", "8", ";", "if", "(", "!", "flag_pic", ")", "return", "12", ";", "if", "(", "!", "optimize_size", ")", "{", "if", "(", "TARGET_NO_SPACE_REGS", ")", "return", "28", ";", "if", "(", "TARGET_PA_20", ")", "return", "32", ";", "}", "return", "20", ";", "}", ""], "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", "8", "16", "7600000", "8", "12", "28", "32", "20"], "File": "pa", "Func": "pa_attr_length_indirect_call", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8071, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"SSE execution domain fixup\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"SSE execution domain fixup\""], "File": "SSEDomainFix", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8072, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_comp_type_attributes", "(", "tree", "type1", ",", "tree", "type2", ")", "{", "const", "char", "*", "const", "rtdstr", "=", "TARGET_RTD", "?", "\"cdecl\"", ":", "\"stdcall\"", ";", "if", "(", "TREE_CODE", "(", "type1", ")", "!=", "FUNCTION_TYPE", ")", "return", "1", ";", "if", "(", "(", "!", "lookup_attribute", "(", "\"fastcall\"", ",", "TYPE_ATTRIBUTES", "(", "type1", ")", ")", "!=", "!", "lookup_attribute", "(", "\"fastcall\"", ",", "TYPE_ATTRIBUTES", "(", "type2", ")", ")", ")", "||", "(", "ix86_function_regparm", "(", "type1", ",", "NULL", ")", "!=", "ix86_function_regparm", "(", "type2", ",", "NULL", ")", ")", ")", "return", "0", ";", "if", "(", "!", "lookup_attribute", "(", "\"sseregparm\"", ",", "TYPE_ATTRIBUTES", "(", "type1", ")", ")", "!=", "!", "lookup_attribute", "(", "\"sseregparm\"", ",", "TYPE_ATTRIBUTES", "(", "type2", ")", ")", ")", "return", "0", ";", "if", "(", "!", "lookup_attribute", "(", "rtdstr", ",", "TYPE_ATTRIBUTES", "(", "type1", ")", ")", "!=", "!", "lookup_attribute", "(", "rtdstr", ",", "TYPE_ATTRIBUTES", "(", "type2", ")", ")", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "0", "if", "the", "attributes", "for", "two", "types", "are", "incompatible", ",", "1", "if", "they", "are", "compatible", ",", "and", "2", "if", "they", "are", "nearly", "compatible", "(", "which", "causes", "a", "warning", "to", "be", "generated", ")", "."], "TS_V_token": ["i386", "\"cdecl\"", "\"stdcall\"", "1", "\"fastcall\"", "\"fastcall\"", "0", "\"sseregparm\"", "\"sseregparm\"", "0", "0", "1"], "File": "i3863", "Func": "ix86_comp_type_attributes", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8073, "Length": 138, "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", ")", "{", "const", "int", "regbase", "=", "incoming", "?", "SPARC_INCOMING_INT_ARG_FIRST", ":", "SPARC_OUTGOING_INT_ARG_FIRST", ";", "int", "slotno", "=", "cum", "->", "words", ",", "regno", ";", "enum", "mode_class", "mclass", "=", "GET_MODE_CLASS", "(", "mode", ")", ";", "*", "pregno", "=", "-", "1", ";", "*", "ppadding", "=", "-", "1", ";", "if", "(", "type", "&&", "TREE_ADDRESSABLE", "(", "type", ")", ")", "return", "-", "1", ";", "if", "(", "TARGET_ARCH64", "&&", "(", "type", "?", "TYPE_ALIGN", "(", "type", ")", ":", "GET_MODE_ALIGNMENT", "(", "mode", ")", ")", ">=", "128", "&&", "(", "slotno", "&", "1", ")", "!=", "0", ")", "{", "slotno", "++", ";", "*", "ppadding", "=", "1", ";", "}", "else", "*", "ppadding", "=", "0", ";", "if", "(", "type", "&&", "VECTOR_TYPE_P", "(", "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", ";", "if", "(", "TARGET_64BIT", "&&", "TARGET_FPU", "&&", "named", "&&", "type", "&&", "(", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", "||", "VECTOR_TYPE_P", "(", "type", ")", ")", ")", "{", "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", ";", "}", "regno", "=", "SPARC_FP_ARG_FIRST", "+", "slotno", "*", "2", ";", "}", "else", "{", "if", "(", "slotno", ">=", "SPARC_INT_ARG_MAX", ")", "return", "-", "1", ";", "regno", "=", "regbase", "+", "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", "1", "1", "1", "128", "1", "0", "1", "0", "1", "2", "4", "1", "1", "1", "1", "1", "1", "2", "1"], "File": "sparc", "Func": "function_arg_slotno", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8074, "Length": 424, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86Subtarget", "::", "X86Subtarget", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "X86TargetMachine", "&", "TM", ",", "unsigned", "StackAlignOverride", ")", ":", "X86GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "X86ProcFamily", "(", "Others", ")", ",", "PICStyle", "(", "PICStyles", "::", "None", ")", ",", "TM", "(", "TM", ")", ",", "TargetTriple", "(", "TT", ")", ",", "StackAlignOverride", "(", "StackAlignOverride", ")", ",", "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", ")", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86Subtarget109", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8075, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_set_func_type", "(", "tree", "fndecl", ")", "{", "if", "(", "cfun", "->", "machine", "->", "func_type", "==", "TYPE_UNKNOWN", ")", "{", "if", "(", "lookup_attribute", "(", "\"interrupt\"", ",", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "fndecl", ")", ")", ")", ")", "{", "int", "nargs", "=", "0", ";", "for", "(", "tree", "arg", "=", "DECL_ARGUMENTS", "(", "fndecl", ")", ";", "arg", ";", "arg", "=", "TREE_CHAIN", "(", "arg", ")", ")", "nargs", "++", ";", "cfun", "->", "machine", "->", "no_caller_saved_registers", "=", "true", ";", "cfun", "->", "machine", "->", "func_type", "=", "nargs", "==", "2", "?", "TYPE_EXCEPTION", ":", "TYPE_INTERRUPT", ";", "ix86_optimize_mode_switching", "[", "X86_DIRFLAG", "]", "=", "1", ";", "if", "(", "write_symbols", "!=", "NO_DEBUG", "&&", "write_symbols", "!=", "DWARF2_DEBUG", ")", "sorry", "(", "\"Only DWARF debug format is supported for interrupt \"", "\"service routine.\"", ")", ";", "}", "else", "{", "cfun", "->", "machine", "->", "func_type", "=", "TYPE_NORMAL", ";", "if", "(", "lookup_attribute", "(", "\"no_caller_saved_registers\"", ",", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "fndecl", ")", ")", ")", ")", "cfun", "->", "machine", "->", "no_caller_saved_registers", "=", "true", ";", "}", "}", "}", ""], "natrual_language": ["Set", "the", "func_type", "field", "from", "the", "function", "FNDECL", "."], "TS_V_token": ["i386", "\"interrupt\"", "0", "2", "1", "\"Only DWARF debug format is supported for interrupt \"", "\"service routine.\"", "\"no_caller_saved_registers\""], "File": "i3866", "Func": "ix86_set_func_type", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8076, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDLoc", "dl", "(", "N", ")", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Do not know how to custom type legalize this operation!\"", ")", ";", "case", "ISD", "::", "READCYCLECOUNTER", ":", "{", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "MVT", "::", "i32", ",", "MVT", "::", "i32", ",", "MVT", "::", "Other", ")", ";", "SDValue", "RTB", "=", "DAG", ".", "getNode", "(", "PPCISD", "::", "READ_TIME_BASE", ",", "dl", ",", "VTs", ",", "N", "->", "getOperand", "(", "0", ")", ")", ";", "Results", ".", "push_back", "(", "RTB", ")", ";", "Results", ".", "push_back", "(", "RTB", ".", "getValue", "(", "1", ")", ")", ";", "Results", ".", "push_back", "(", "RTB", ".", "getValue", "(", "2", ")", ")", ";", "break", ";", "}", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "{", "if", "(", "cast", "<", "ConstantSDNode", ">", "(", "N", "->", "getOperand", "(", "1", ")", ")", "->", "getZExtValue", "(", ")", "!=", "Intrinsic", "::", "ppc_is_decremented_ctr_nonzero", ")", "break", ";", "assert", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i1", "&&", "\"Unexpected result type for CTR decrement intrinsic\"", ")", ";", "EVT", "SVT", "=", "getSetCCResultType", "(", "DAG", ".", "getDataLayout", "(", ")", ",", "*", "DAG", ".", "getContext", "(", ")", ",", "N", "->", "getValueType", "(", "0", ")", ")", ";", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "SVT", ",", "MVT", "::", "Other", ")", ";", "SDValue", "NewInt", "=", "DAG", ".", "getNode", "(", "N", "->", "getOpcode", "(", ")", ",", "dl", ",", "VTs", ",", "N", "->", "getOperand", "(", "0", ")", ",", "N", "->", "getOperand", "(", "1", ")", ")", ";", "Results", ".", "push_back", "(", "DAG", ".", "getNode", "(", "ISD", "::", "TRUNCATE", ",", "dl", ",", "MVT", "::", "i1", ",", "NewInt", ")", ")", ";", "Results", ".", "push_back", "(", "NewInt", ".", "getValue", "(", "1", ")", ")", ";", "break", ";", "}", "case", "ISD", "::", "VAARG", ":", "{", "if", "(", "!", "Subtarget", ".", "isSVR4ABI", "(", ")", "||", "Subtarget", ".", "isPPC64", "(", ")", ")", "return", ";", "EVT", "VT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "if", "(", "VT", "==", "MVT", "::", "i64", ")", "{", "SDValue", "NewNode", "=", "LowerVAARG", "(", "SDValue", "(", "N", ",", "1", ")", ",", "DAG", ")", ";", "Results", ".", "push_back", "(", "NewNode", ")", ";", "Results", ".", "push_back", "(", "NewNode", ".", "getValue", "(", "1", ")", ")", ";", "}", "return", ";", "}", "case", "ISD", "::", "FP_TO_SINT", ":", "case", "ISD", "::", "FP_TO_UINT", ":", "if", "(", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", "==", "MVT", "::", "ppcf128", ")", "return", ";", "Results", ".", "push_back", "(", "LowerFP_TO_INT", "(", "SDValue", "(", "N", ",", "0", ")", ",", "DAG", ",", "dl", ")", ")", ";", "return", ";", "case", "ISD", "::", "TRUNCATE", ":", "{", "EVT", "TrgVT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "if", "(", "TrgVT", ".", "isVector", "(", ")", "&&", "isOperationCustom", "(", "N", "->", "getOpcode", "(", ")", ",", "TrgVT", ")", "&&", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", ".", "getSizeInBits", "(", ")", "<=", "128", ")", "Results", ".", "push_back", "(", "LowerTRUNCATEVector", "(", "SDValue", "(", "N", ",", "0", ")", ",", "DAG", ")", ")", ";", "return", ";", "}", "case", "ISD", "::", "BITCAST", ":", "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": ["PowerPC", "PPC", "\"Do not know how to custom type legalize this operation!\"", "ISD::READCYCLECOUNTER", "MVT::i32", "MVT::i32", "MVT::Other", "PPCISD::READ_TIME_BASE", "0", "1", "2", "ISD::INTRINSIC_W_CHAIN", "1", "Intrinsic::ppc_is_decremented_ctr_nonzero", "0", "MVT::i1", "\"Unexpected result type for CTR decrement intrinsic\"", "0", "MVT::Other", "0", "1", "ISD::TRUNCATE", "MVT::i1", "1", "ISD::VAARG", "PPC", "0", "MVT::i64", "1", "1", "ISD::FP_TO_SINT", "ISD::FP_TO_UINT", "0", "MVT::ppcf128", "0", "ISD::TRUNCATE", "0", "0", "128", "0", "ISD::BITCAST"], "File": "PPCISelLowering121", "Func": "ReplaceNodeResults", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8077, "Length": 494, "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", ")", ";", "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": "i3868", "Func": "ix86_preferred_output_reload_class", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8078, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isToken", "(", ")", "const", "override", "{", "return", "Kind", "==", "k_Token", ";", "}", ""], "natrual_language": ["isToken", "-", "Is", "this", "a", "token", "operand", "?"], "TS_V_token": ["ARM"], "File": "ARMAsmParser (2)", "Func": "isToken", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8079, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_d_register_target_info", "(", "void", ")", "{", "const", "struct", "d_target_info_spec", "handlers", "[", "]", "=", "{", "{", "\"floatAbi\"", ",", "mips_d_handle_target_float_abi", "}", ",", "{", "NULL", ",", "NULL", "}", ",", "}", ";", "d_add_target_info_handlers", "(", "handlers", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_D_REGISTER_CPU_TARGET_INFO", "."], "TS_V_token": ["mips", "\"floatAbi\""], "File": "mips-d", "Func": "mips_d_register_target_info", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8080, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "analyzeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "&", "TBB", ",", "MachineBasicBlock", "*", "&", "FBB", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "bool", "AllowModify", ")", "const", "{", "TBB", "=", "nullptr", ";", "FBB", "=", "nullptr", ";", "MachineBasicBlock", "::", "instr_iterator", "I", "=", "MBB", ".", "instr_end", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "instr_begin", "(", ")", ")", "return", "false", ";", "--", "I", ";", "while", "(", "isPredicated", "(", "*", "I", ")", "||", "I", "->", "isTerminator", "(", ")", "||", "I", "->", "isDebugValue", "(", ")", ")", "{", "bool", "CantAnalyze", "=", "false", ";", "while", "(", "I", "->", "isDebugInstr", "(", ")", "||", "!", "I", "->", "isTerminator", "(", ")", ")", "{", "if", "(", "I", "==", "MBB", ".", "instr_begin", "(", ")", ")", "return", "false", ";", "--", "I", ";", "}", "if", "(", "isIndirectBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", "||", "isJumpTableBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "{", "CantAnalyze", "=", "true", ";", "}", "else", "if", "(", "isUncondBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "{", "TBB", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "}", "else", "if", "(", "isCondBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "{", "if", "(", "!", "Cond", ".", "empty", "(", ")", ")", "return", "true", ";", "assert", "(", "!", "FBB", "&&", "\"FBB should have been null.\"", ")", ";", "FBB", "=", "TBB", ";", "TBB", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "Cond", ".", "push_back", "(", "I", "->", "getOperand", "(", "1", ")", ")", ";", "Cond", ".", "push_back", "(", "I", "->", "getOperand", "(", "2", ")", ")", ";", "}", "else", "if", "(", "I", "->", "isReturn", "(", ")", ")", "{", "CantAnalyze", "=", "true", ";", "}", "else", "{", "return", "true", ";", "}", "if", "(", "!", "isPredicated", "(", "*", "I", ")", "&&", "(", "isUncondBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", "||", "isIndirectBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", "||", "isJumpTableBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", "||", "I", "->", "isReturn", "(", ")", ")", ")", "{", "Cond", ".", "clear", "(", ")", ";", "FBB", "=", "nullptr", ";", "if", "(", "AllowModify", ")", "{", "MachineBasicBlock", "::", "iterator", "DI", "=", "std", "::", "next", "(", "I", ")", ";", "while", "(", "DI", "!=", "MBB", ".", "instr_end", "(", ")", ")", "{", "MachineInstr", "&", "InstToDelete", "=", "*", "DI", ";", "++", "DI", ";", "InstToDelete", ".", "eraseFromParent", "(", ")", ";", "}", "}", "}", "if", "(", "CantAnalyze", ")", "{", "if", "(", "AllowModify", "&&", "!", "isPredicated", "(", "MBB", ".", "back", "(", ")", ")", "&&", "isUncondBranchOpcode", "(", "MBB", ".", "back", "(", ")", ".", "getOpcode", "(", ")", ")", "&&", "TBB", "&&", "MBB", ".", "isLayoutSuccessor", "(", "TBB", ")", ")", "removeBranch", "(", "MBB", ")", ";", "return", "true", ";", "}", "if", "(", "I", "==", "MBB", ".", "instr_begin", "(", ")", ")", "return", "false", ";", "--", "I", ";", "}", "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": ["ARM", "ARM", "0", "\"FBB should have been null.\"", "0", "1", "2"], "File": "ARMBaseInstrInfo116", "Func": "analyzeBranch", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8081, "Length": 447, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsExpandPseudo", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "STI", "=", "&", "static_cast", "<", "const", "MipsSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "Modified", "|=", "expandMBB", "(", "MBB", ")", ";", "if", "(", "Modified", ")", "MF", ".", "RenumberBlocks", "(", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsExpandPseudo4", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8082, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "supportsEfficientVectorElementLoadStore", "(", ")", "{", "return", "ST", "->", "getProcFamily", "(", ")", "==", "AArch64Subtarget", "::", "ThunderX2T99", ";", "}", ""], "natrual_language": ["If", "target", "has", "efficient", "vector", "element", "load/store", "instructions", ",", "it", "can", "return", "true", "here", "so", "that", "insertion/extraction", "costs", "are", "not", "added", "to", "the", "scalarization", "cost", "of", "a", "load/store", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64TargetTransformInfo5", "Func": "supportsEfficientVectorElementLoadStore", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8083, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isTruncateFree", "(", "EVT", "VT1", ",", "EVT", "VT2", ")", "const", "{", "if", "(", "VT1", ".", "isVector", "(", ")", "||", "VT2", ".", "isVector", "(", ")", "||", "!", "VT1", ".", "isInteger", "(", ")", "||", "!", "VT2", ".", "isInteger", "(", ")", ")", "return", "false", ";", "uint64_t", "NumBits1", "=", "VT1", ".", "getFixedSizeInBits", "(", ")", ";", "uint64_t", "NumBits2", "=", "VT2", ".", "getFixedSizeInBits", "(", ")", ";", "return", "NumBits1", ">", "NumBits2", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "'s", "free", "to", "truncate", "a", "value", "of", "type", "Ty1", "to", "type", "Ty2", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ISelLowering (2)2", "Func": "isTruncateFree", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8084, "Length": 68, "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", "::", "LDURBBi", ":", "case", "AArch64", "::", "LDRSBWui", ":", "case", "AArch64", "::", "LDURSBWi", ":", "case", "AArch64", "::", "STRBBui", ":", "case", "AArch64", "::", "STURBBi", ":", "return", "1", ";", "case", "AArch64", "::", "LDRHHui", ":", "case", "AArch64", "::", "LDURHHi", ":", "case", "AArch64", "::", "LDRSHWui", ":", "case", "AArch64", "::", "LDURSHWi", ":", "case", "AArch64", "::", "STRHHui", ":", "case", "AArch64", "::", "STURHHi", ":", "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::LDURBBi", "AArch64::LDRSBWui", "AArch64::LDURSBWi", "AArch64::STRBBui", "AArch64::STURBBi", "1", "AArch64::LDRHHui", "AArch64::LDURHHi", "AArch64::LDRSHWui", "AArch64::LDURSHWi", "AArch64::STRHHui", "AArch64::STURHHi", "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": "AArch64LoadStoreOptimizer (2)", "Func": "getMemScale", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8085, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "if", "(", "IDVal", "==", "\".word\"", ")", "return", "ParseDirectiveWord", "(", "2", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", ".", "startswith", "(", "\".code\"", ")", ")", "return", "ParseDirectiveCode", "(", "IDVal", ",", "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", "\".word\"", "2", "\".code\""], "File": "X86AsmParser72", "Func": "ParseDirective", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8086, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "expand_small_movmem_or_setmem", "(", "rtx", "destmem", ",", "rtx", "srcmem", ",", "rtx", "destptr", ",", "rtx", "srcptr", ",", "rtx", "value", ",", "rtx", "vec_value", ",", "rtx", "count", ",", "int", "size", ",", "rtx", "done_label", ",", "bool", "issetmem", ")", "{", "rtx_code_label", "*", "label", "=", "ix86_expand_aligntest", "(", "count", ",", "size", ",", "false", ")", ";", "machine_mode", "mode", "=", "mode_for_size", "(", "size", "*", "BITS_PER_UNIT", ",", "MODE_INT", ",", "1", ")", ";", "rtx", "modesize", ";", "int", "n", ";", "if", "(", "issetmem", ")", "{", "if", "(", "!", "vec_value", ")", "{", "if", "(", "GET_MODE", "(", "value", ")", "==", "VOIDmode", "&&", "size", ">", "8", ")", "mode", "=", "Pmode", ";", "else", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "GET_MODE_SIZE", "(", "GET_MODE", "(", "value", ")", ")", ")", "mode", "=", "GET_MODE", "(", "value", ")", ";", "}", "else", "mode", "=", "GET_MODE", "(", "vec_value", ")", ",", "value", "=", "vec_value", ";", "}", "else", "{", "if", "(", "size", ">=", "32", ")", "mode", "=", "TARGET_AVX", "?", "V32QImode", ":", "TARGET_SSE", "?", "V16QImode", ":", "DImode", ";", "else", "if", "(", "size", ">=", "16", ")", "mode", "=", "TARGET_SSE", "?", "V16QImode", ":", "DImode", ";", "srcmem", "=", "change_address", "(", "srcmem", ",", "mode", ",", "srcptr", ")", ";", "}", "destmem", "=", "change_address", "(", "destmem", ",", "mode", ",", "destptr", ")", ";", "modesize", "=", "GEN_INT", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "gcc_assert", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "size", ")", ";", "for", "(", "n", "=", "0", ";", "n", "*", "GET_MODE_SIZE", "(", "mode", ")", "<", "size", ";", "n", "++", ")", "{", "if", "(", "issetmem", ")", "emit_move_insn", "(", "destmem", ",", "gen_lowpart", "(", "mode", ",", "value", ")", ")", ";", "else", "{", "emit_move_insn", "(", "destmem", ",", "srcmem", ")", ";", "srcmem", "=", "offset_address", "(", "srcmem", ",", "modesize", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "}", "destmem", "=", "offset_address", "(", "destmem", ",", "modesize", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "}", "destmem", "=", "offset_address", "(", "destmem", ",", "count", ",", "1", ")", ";", "destmem", "=", "offset_address", "(", "destmem", ",", "GEN_INT", "(", "-", "2", "*", "size", ")", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "if", "(", "!", "issetmem", ")", "{", "srcmem", "=", "offset_address", "(", "srcmem", ",", "count", ",", "1", ")", ";", "srcmem", "=", "offset_address", "(", "srcmem", ",", "GEN_INT", "(", "-", "2", "*", "size", ")", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "}", "for", "(", "n", "=", "0", ";", "n", "*", "GET_MODE_SIZE", "(", "mode", ")", "<", "size", ";", "n", "++", ")", "{", "if", "(", "issetmem", ")", "emit_move_insn", "(", "destmem", ",", "gen_lowpart", "(", "mode", ",", "value", ")", ")", ";", "else", "{", "emit_move_insn", "(", "destmem", ",", "srcmem", ")", ";", "srcmem", "=", "offset_address", "(", "srcmem", ",", "modesize", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "}", "destmem", "=", "offset_address", "(", "destmem", ",", "modesize", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "}", "emit_jump_insn", "(", "gen_jump", "(", "done_label", ")", ")", ";", "emit_barrier", "(", ")", ";", "emit_label", "(", "label", ")", ";", "LABEL_NUSES", "(", "label", ")", "=", "1", ";", "}", ""], "natrual_language": ["Test", "if", "COUNT", "&", "SIZE", "is", "nonzero", "and", "if", "so", ",", "expand", "movme", "or", "setmem", "sequence", "that", "is", "valid", "for", "SIZE", "..", "2", "*", "SIZE-1", "bytes", "and", "jump", "to", "DONE_LABEL", "."], "TS_V_token": ["i386", "1", "8", "32", "16", "0", "1", "2", "1", "2", "0", "1"], "File": "i3864", "Func": "expand_small_movmem_or_setmem", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8087, "Length": 453, "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", "(", "auto", "MFI", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "MFI", "!=", "E", ";", "++", "MFI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MFI", ";", "for", "(", "auto", "MBBI", "=", "MBB", ".", "begin", "(", ")", ",", "E", "=", "MBB", ".", "end", "(", ")", ";", "MBBI", "!=", "E", ";", "++", "MBBI", ")", "{", "MachineInstr", "&", "MI", "=", "*", "MBBI", ";", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "MI", ".", "isInlineAsm", "(", ")", ")", "{", "std", "::", "string", "AsmString", "(", "MI", ".", "getOperand", "(", "InlineAsm", "::", "MIOp_AsmString", ")", ".", "getSymbolName", "(", ")", ")", ";", "std", "::", "string", "FSQRTDOpCode", "(", "\"fsqrtd\"", ")", ";", "std", "::", "string", "FDIVDOpCode", "(", "\"fdivd\"", ")", ";", "std", "::", "transform", "(", "AsmString", ".", "begin", "(", ")", ",", "AsmString", ".", "end", "(", ")", ",", "AsmString", ".", "begin", "(", ")", ",", "::", "tolower", ")", ";", "if", "(", "AsmString", ".", "find", "(", "FSQRTDOpCode", ")", "==", "0", ")", "{", "Opcode", "=", "SP", "::", "FSQRTD", ";", "}", "else", "if", "(", "AsmString", ".", "find", "(", "FDIVDOpCode", ")", "==", "0", ")", "{", "Opcode", "=", "SP", "::", "FDIVD", ";", "}", "}", "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", "\"fsqrtd\"", "\"fdivd\"", "0", "SP::FSQRTD", "0", "SP::FDIVD", "SP::FSQRTD", "SP::FDIVD", "0", "5", "SP::NOP", "0", "28", "SP::NOP"], "File": "LeonPasses10", "Func": "runOnMachineFunction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8088, "Length": 335, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "copy_fp_args", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "link", ";", "rtx", "xoperands", "[", "2", "]", ";", "for", "(", "link", "=", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ";", "link", ";", "link", "=", "XEXP", "(", "link", ",", "1", ")", ")", "{", "int", "arg_mode", ",", "regno", ";", "rtx", "use", "=", "XEXP", "(", "link", ",", "0", ")", ";", "if", "(", "!", "(", "GET_CODE", "(", "use", ")", "==", "USE", "&&", "GET_CODE", "(", "XEXP", "(", "use", ",", "0", ")", ")", "==", "REG", "&&", "FUNCTION_ARG_REGNO_P", "(", "REGNO", "(", "XEXP", "(", "use", ",", "0", ")", ")", ")", ")", ")", "continue", ";", "arg_mode", "=", "GET_MODE", "(", "XEXP", "(", "use", ",", "0", ")", ")", ";", "regno", "=", "REGNO", "(", "XEXP", "(", "use", ",", "0", ")", ")", ";", "if", "(", "regno", ">=", "32", "&&", "regno", "<=", "39", ")", "{", "if", "(", "arg_mode", "==", "SFmode", ")", "{", "xoperands", "[", "0", "]", "=", "XEXP", "(", "use", ",", "0", ")", ";", "xoperands", "[", "1", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "26", "-", "(", "regno", "-", "32", ")", "/", "2", ")", ";", "output_asm_insn", "(", "\"{fstws|fstw} %0,-16(%%sr0,%%r30)\"", ",", "xoperands", ")", ";", "output_asm_insn", "(", "\"ldw -16(%%sr0,%%r30),%1\"", ",", "xoperands", ")", ";", "}", "else", "{", "xoperands", "[", "0", "]", "=", "XEXP", "(", "use", ",", "0", ")", ";", "xoperands", "[", "1", "]", "=", "gen_rtx_REG", "(", "DImode", ",", "25", "-", "(", "regno", "-", "34", ")", "/", "2", ")", ";", "output_asm_insn", "(", "\"{fstds|fstd} %0,-16(%%sr0,%%r30)\"", ",", "xoperands", ")", ";", "output_asm_insn", "(", "\"ldw -12(%%sr0,%%r30),%R1\"", ",", "xoperands", ")", ";", "output_asm_insn", "(", "\"ldw -16(%%sr0,%%r30),%1\"", ",", "xoperands", ")", ";", "}", "}", "}", "}", ""], "natrual_language": ["Copy", "any", "FP", "arguments", "in", "INSN", "into", "integer", "registers", "."], "TS_V_token": ["pa", "2", "1", "0", "0", "0", "0", "0", "32", "39", "0", "0", "1", "26", "32", "2", "\"{fstws|fstw} %0,-16(%%sr0,%%r30)\"", "\"ldw -16(%%sr0,%%r30),%1\"", "0", "0", "1", "25", "34", "2", "\"{fstds|fstd} %0,-16(%%sr0,%%r30)\"", "\"ldw -12(%%sr0,%%r30),%R1\"", "\"ldw -16(%%sr0,%%r30),%1\""], "File": "pa", "Func": "copy_fp_args", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8089, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "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", ",", "CCAssignFnForNode", "(", "CallConv", ",", "true", ",", "isVarArg", ")", ")", ";", "}", ""], "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": ["ARM", "ARM", "ISD::OutputArg", "16"], "File": "ARMISelLowering (2)2", "Func": "CanLowerReturn", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8090, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_unordered_fp_compare", "(", "enum", "rtx_code", "code", ")", "{", "if", "(", "!", "TARGET_IEEE_FP", ")", "return", "false", ";", "switch", "(", "code", ")", "{", "case", "GT", ":", "case", "GE", ":", "case", "LT", ":", "case", "LE", ":", "return", "false", ";", "case", "EQ", ":", "case", "NE", ":", "case", "LTGT", ":", "case", "UNORDERED", ":", "case", "ORDERED", ":", "case", "UNLT", ":", "case", "UNLE", ":", "case", "UNGT", ":", "case", "UNGE", ":", "case", "UNEQ", ":", "return", "true", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Figure", "out", "whether", "to", "use", "unordered", "fp", "comparisons", "."], "TS_V_token": ["i386"], "File": "i3867", "Func": "ix86_unordered_fp_compare", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8091, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMConstantPoolSymbol", "::", "hasSameValue", "(", "ARMConstantPoolValue", "*", "ACPV", ")", "{", "const", "ARMConstantPoolSymbol", "*", "ACPS", "=", "dyn_cast", "<", "ARMConstantPoolSymbol", ">", "(", "ACPV", ")", ";", "return", "ACPS", "&&", "CPV_streq", "(", "ACPS", "->", "S", ",", "S", ")", "&&", "ARMConstantPoolValue", "::", "hasSameValue", "(", "ACPV", ")", ";", "}", ""], "natrual_language": ["hasSameValue", "-", "Return", "true", "if", "this", "ARM", "constpool", "value", "can", "share", "the", "same", "constantpool", "entry", "as", "another", "ARM", "constpool", "value", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM", "ARM"], "File": "ARMConstantPoolValue24", "Func": "hasSameValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8092, "Length": 43, "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": 8093, "Length": 354, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "PPCRegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "if", "(", "Kind", "==", "1", ")", "{", "if", "(", "Subtarget", ".", "isPPC64", "(", ")", ")", "return", "&", "PPC", "::", "G8RC_NOX0RegClass", ";", "return", "&", "PPC", "::", "GPRC_NOR0RegClass", ";", "}", "if", "(", "Subtarget", ".", "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)", "Func": "getPointerRegClass", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8094, "Length": 66, "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": 8095, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "shouldScheduleLoadsNear", "(", "SDNode", "*", "Load1", ",", "SDNode", "*", "Load2", ",", "int64_t", "Offset1", ",", "int64_t", "Offset2", ",", "unsigned", "NumLoads", ")", "const", "{", "assert", "(", "Offset2", ">", "Offset1", ")", ";", "if", "(", "(", "Offset2", "-", "Offset1", ")", "/", "8", ">", "64", ")", "return", "false", ";", "unsigned", "Opc1", "=", "Load1", "->", "getMachineOpcode", "(", ")", ";", "unsigned", "Opc2", "=", "Load2", "->", "getMachineOpcode", "(", ")", ";", "if", "(", "Opc1", "!=", "Opc2", ")", "return", "false", ";", "switch", "(", "Opc1", ")", "{", "default", ":", "break", ";", "case", "X86", "::", "LD_Fp32m", ":", "case", "X86", "::", "LD_Fp64m", ":", "case", "X86", "::", "LD_Fp80m", ":", "case", "X86", "::", "MMX_MOVD64rm", ":", "case", "X86", "::", "MMX_MOVQ64rm", ":", "return", "false", ";", "}", "EVT", "VT", "=", "Load1", "->", "getValueType", "(", "0", ")", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "{", "if", "(", "NumLoads", ">=", "3", ")", "return", "false", ";", "}", "else", "if", "(", "NumLoads", ")", "{", "return", "false", ";", "}", "break", ";", "case", "MVT", "::", "i8", ":", "case", "MVT", "::", "i16", ":", "case", "MVT", "::", "i32", ":", "case", "MVT", "::", "i64", ":", "case", "MVT", "::", "f32", ":", "case", "MVT", "::", "f64", ":", "if", "(", "NumLoads", ")", "return", "false", ";", "break", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["shouldScheduleLoadsNear", "-", "This", "is", "a", "used", "by", "the", "pre-regalloc", "scheduler", "to", "determine", "(", "in", "conjunction", "with", "areLoadsFromSameBasePtr", ")", "if", "two", "loads", "should", "be", "scheduled", "togther", "."], "TS_V_token": ["X86", "X86", "8", "64", "X86::LD_Fp32m", "X86::LD_Fp64m", "X86::LD_Fp80m", "X86::MMX_MOVD64rm", "X86::MMX_MOVQ64rm", "0", "3", "MVT::i8", "MVT::i16", "MVT::i32", "MVT::i64", "MVT::f32", "MVT::f64"], "File": "X86InstrInfo (2)1", "Func": "shouldScheduleLoadsNear", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8096, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mt_add_branches", "(", "rtx", "*", "x", ",", "void", "*", "insn", ")", "{", "if", "(", "GET_CODE", "(", "*", "x", ")", "==", "LABEL_REF", ")", "{", "branch_info", "*", "branch", "=", "xmalloc", "(", "sizeof", "(", "*", "branch", ")", ")", ";", "rtx", "label", "=", "XEXP", "(", "*", "x", ",", "0", ")", ";", "label_info", "*", "info", ";", "for", "(", "info", "=", "mt_labels", ";", "info", ";", "info", "=", "info", "->", "next", ")", "if", "(", "info", "->", "label", "==", "label", ")", "break", ";", "if", "(", "!", "info", ")", "{", "info", "=", "xmalloc", "(", "sizeof", "(", "*", "info", ")", ")", ";", "info", "->", "next", "=", "mt_labels", ";", "mt_labels", "=", "info", ";", "info", "->", "label", "=", "label", ";", "info", "->", "branches", "=", "NULL", ";", "}", "branch", "->", "next", "=", "info", "->", "branches", ";", "info", "->", "branches", "=", "branch", ";", "branch", "->", "insn", "=", "insn", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["If", "*", "X", "is", "a", "label", ",", "add", "INSN", "to", "the", "list", "of", "branches", "for", "that", "label", "."], "TS_V_token": ["mt", "0", "0"], "File": "mt", "Func": "mt_add_branches", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8097, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "SHUXITargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "BB", "->", "getParent", "(", ")", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "dl", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "assert", "(", "Opc", "==", "SHUXI", "::", "Select", "&&", "\"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", "(", "SHUXI", "::", "JCC", ")", ")", ".", "addMBB", "(", "copy1MBB", ")", ".", "addImm", "(", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ")", ";", "BB", "=", "copy0MBB", ";", "BB", "->", "addSuccessor", "(", "copy1MBB", ")", ";", "BB", "=", "copy1MBB", ";", "BuildMI", "(", "*", "BB", ",", "BB", "->", "begin", "(", ")", ",", "dl", ",", "TII", ".", "get", "(", "SHUXI", "::", "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": ["SHUXI", "SHUXI", "SHUXI::Select", "\"Unexpected instr type to insert\"", "SHUXI::JCC", "3", "SHUXI::PHI", "0", "2", "1"], "File": "SHUXIISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8098, "Length": 328, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SystemZTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "unsigned", "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_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", "=", "Outs", "[", "i", "]", ".", "Val", ";", "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": "SystemZISelLowering42", "Func": "LowerReturn", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8099, "Length": 370, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "altivec_expand_vec_perm_le", "(", "rtx", "operands", "[", "4", "]", ")", "{", "rtx", "notx", ",", "iorx", ",", "unspec", ";", "rtx", "target", "=", "operands", "[", "0", "]", ";", "rtx", "op0", "=", "operands", "[", "1", "]", ";", "rtx", "op1", "=", "operands", "[", "2", "]", ";", "rtx", "sel", "=", "operands", "[", "3", "]", ";", "rtx", "tmp", "=", "target", ";", "rtx", "norreg", "=", "gen_reg_rtx", "(", "V16QImode", ")", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "target", ")", ";", "if", "(", "!", "REG_P", "(", "op0", ")", ")", "op0", "=", "force_reg", "(", "mode", ",", "op0", ")", ";", "if", "(", "!", "REG_P", "(", "op1", ")", ")", "op1", "=", "force_reg", "(", "mode", ",", "op1", ")", ";", "if", "(", "!", "REG_P", "(", "sel", ")", ")", "sel", "=", "force_reg", "(", "V16QImode", ",", "sel", ")", ";", "if", "(", "!", "REG_P", "(", "target", ")", ")", "tmp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "if", "(", "TARGET_P9_VECTOR", ")", "{", "unspec", "=", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "3", ",", "op1", ",", "op0", ",", "sel", ")", ",", "UNSPEC_VPERMR", ")", ";", "}", "else", "{", "notx", "=", "gen_rtx_NOT", "(", "V16QImode", ",", "sel", ")", ";", "iorx", "=", "(", "TARGET_P8_VECTOR", "?", "gen_rtx_IOR", "(", "V16QImode", ",", "notx", ",", "notx", ")", ":", "gen_rtx_AND", "(", "V16QImode", ",", "notx", ",", "notx", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "norreg", ",", "iorx", ")", ")", ";", "unspec", "=", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "3", ",", "op1", ",", "op0", ",", "norreg", ")", ",", "UNSPEC_VPERM", ")", ";", "}", "if", "(", "!", "REG_P", "(", "target", ")", ")", "{", "emit_move_insn", "(", "tmp", ",", "unspec", ")", ";", "unspec", "=", "tmp", ";", "}", "emit_move_insn", "(", "target", ",", "unspec", ")", ";", "}", ""], "natrual_language": ["Similarly", "to", "altivec_expand_vec_perm_const_le", ",", "we", "must", "adjust", "the", "permute", "control", "vector", ".", "But", "here", "it", "'s", "not", "a", "constant", ",", "so", "we", "must", "generate", "a", "vector", "NAND", "or", "NOR", "to", "do", "the", "adjustment", "."], "TS_V_token": ["rs6000", "4", "0", "1", "2", "3", "3", "3"], "File": "rs6000", "Func": "altivec_expand_vec_perm_le", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8100, "Length": 257, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "aarch64_parse_opt_result", "aarch64_parse_tune", "(", "const", "char", "*", "to_parse", ",", "const", "struct", "processor", "*", "*", "res", ")", "{", "const", "struct", "processor", "*", "cpu", ";", "char", "*", "str", "=", "(", "char", "*", ")", "alloca", "(", "strlen", "(", "to_parse", ")", "+", "1", ")", ";", "strcpy", "(", "str", ",", "to_parse", ")", ";", "for", "(", "cpu", "=", "all_cores", ";", "cpu", "->", "name", "!=", "NULL", ";", "cpu", "++", ")", "{", "if", "(", "strcmp", "(", "cpu", "->", "name", ",", "str", ")", "==", "0", ")", "{", "*", "res", "=", "cpu", ";", "return", "AARCH64_PARSE_OK", ";", "}", "}", "return", "AARCH64_PARSE_INVALID_ARG", ";", "}", ""], "natrual_language": ["Parse", "the", "TUNE", "string", "."], "TS_V_token": ["aarch64", "1", "0"], "File": "aarch643", "Func": "aarch64_parse_tune", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8101, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PadShortFunc", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "optForSize", "(", ")", ")", "return", "false", ";", "if", "(", "!", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "padShortFunctions", "(", ")", ")", "return", "false", ";", "TSM", ".", "init", "(", "&", "MF", ".", "getSubtarget", "(", ")", ")", ";", "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": "X86PadShortFunction2", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8102, "Length": 236, "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": ["OR1K"], "File": "OR1KAsmParser1", "Func": "getEndLoc", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8103, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_n9_last_load_to_ex_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "rtx", "last_def_reg", "=", "extract_nth_access_reg", "(", "producer", ",", "-", "1", ")", ";", "if", "(", "nds32_register_ports_config", "==", "REG_PORT_2R1W", ")", "{", "if", "(", "post_update_insn_p", "(", "producer", ")", ")", "return", "false", ";", "size_t", "i", ";", "size_t", "n_elems", "=", "parallel_elements", "(", "producer", ")", ";", "rtx", "base_reg", "=", "extract_base_reg", "(", "producer", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n_elems", ";", "++", "i", ")", "{", "rtx", "load_rtx", "=", "extract_nth_access_rtx", "(", "producer", ",", "i", ")", ";", "rtx", "list_element", "=", "SET_DEST", "(", "load_rtx", ")", ";", "if", "(", "rtx_equal_p", "(", "base_reg", ",", "list_element", ")", "&&", "i", "!=", "n_elems", "-", "1", ")", "{", "last_def_reg", "=", "base_reg", ";", "break", ";", "}", "}", "return", "n9_2r1w_consumed_by_ex_dep_p", "(", "consumer", ",", "last_def_reg", ")", ";", "}", "else", "return", "n9_3r2w_consumed_by_ex_dep_p", "(", "consumer", ",", "last_def_reg", ")", ";", "}", ""], "natrual_language": ["Check", "dependencies", "from", "LMW", "(", "N", ",", "N", ")", "to", "EX", "."], "TS_V_token": ["nds32", "1", "0", "1"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n9_last_load_to_ex_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8104, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_output_function_prologue", "(", "FILE", "*", "file", ",", "HOST_WIDE_INT", "size", "ATTRIBUTE_UNUSED", ")", "{", "const", "char", "*", "fnname", ";", "if", "(", "TARGET_MIPS16", "&&", "TARGET_HARD_FLOAT_ABI", "&&", "crtl", "->", "args", ".", "info", ".", "fp_code", "!=", "0", ")", "mips16_build_function_stub", "(", ")", ";", "fnname", "=", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "current_function_decl", ")", ",", "0", ")", ",", "0", ")", ";", "mips_start_function_definition", "(", "fnname", ",", "TARGET_MIPS16", ")", ";", "if", "(", "!", "flag_inhibit_size_directive", ")", "{", "const", "struct", "mips_frame_info", "*", "frame", ";", "frame", "=", "&", "cfun", "->", "machine", "->", "frame", ";", "fprintf", "(", "file", ",", "\"\\t.frame\\t%s,\"", "HOST_WIDE_INT_PRINT_DEC", "\",%s\\t\\t\"", "\"# vars= \"", "HOST_WIDE_INT_PRINT_DEC", "\", regs= %d/%d\"", "\", args= \"", "HOST_WIDE_INT_PRINT_DEC", "\", gp= \"", "HOST_WIDE_INT_PRINT_DEC", "\"\\n\"", ",", "reg_names", "[", "frame_pointer_needed", "?", "HARD_FRAME_POINTER_REGNUM", ":", "STACK_POINTER_REGNUM", "]", ",", "(", "frame_pointer_needed", "?", "frame", "->", "total_size", "-", "frame", "->", "hard_frame_pointer_offset", ":", "frame", "->", "total_size", ")", ",", "reg_names", "[", "RETURN_ADDR_REGNUM", "]", ",", "frame", "->", "var_size", ",", "frame", "->", "num_gp", ",", "frame", "->", "num_fp", ",", "frame", "->", "args_size", ",", "frame", "->", "cprestore_size", ")", ";", "fprintf", "(", "file", ",", "\"\\t.mask\\t0x%08x,\"", "HOST_WIDE_INT_PRINT_DEC", "\"\\n\"", ",", "frame", "->", "mask", ",", "frame", "->", "gp_save_offset", ")", ";", "fprintf", "(", "file", ",", "\"\\t.fmask\\t0x%08x,\"", "HOST_WIDE_INT_PRINT_DEC", "\"\\n\"", ",", "frame", "->", "fmask", ",", "frame", "->", "fp_save_offset", ")", ";", "}", "if", "(", "mips_must_initialize_gp_p", "(", ")", "&&", "mips_current_loadgp_style", "(", ")", "==", "LOADGP_OLDABI", ")", "{", "if", "(", "TARGET_MIPS16", ")", "{", "output_asm_insn", "(", "\"li\\t$2,%%hi(_gp_disp)\"", ",", "0", ")", ";", "output_asm_insn", "(", "\"addiu\\t$3,$pc,%%lo(_gp_disp)\"", ",", "0", ")", ";", "output_asm_insn", "(", "\"sll\\t$2,16\"", ",", "0", ")", ";", "output_asm_insn", "(", "\"addu\\t$2,$3\"", ",", "0", ")", ";", "}", "else", "{", "mips_push_asm_switch", "(", "&", "mips_noreorder", ")", ";", "output_asm_insn", "(", "\".cpload\\t%^\"", ",", "0", ")", ";", "if", "(", "!", "cfun", "->", "machine", "->", "all_noreorder_p", ")", "mips_pop_asm_switch", "(", "&", "mips_noreorder", ")", ";", "else", "mips_push_asm_switch", "(", "&", "mips_nomacro", ")", ";", "}", "}", "else", "if", "(", "cfun", "->", "machine", "->", "all_noreorder_p", ")", "{", "mips_push_asm_switch", "(", "&", "mips_noreorder", ")", ";", "mips_push_asm_switch", "(", "&", "mips_nomacro", ")", ";", "}", "mips_output_cplocal", "(", ")", ";", "}", ""], "natrual_language": ["Set", "up", "the", "stack", "and", "frame", "(", "if", "desired", ")", "for", "the", "function", "."], "TS_V_token": ["mips", "0", "0", "0", "\"\\t.frame\\t%s,\"", "\",%s\\t\\t\"", "\"# vars= \"", "\", regs= %d/%d\"", "\", args= \"", "\", gp= \"", "\"\\n\"", "\"\\t.mask\\t0x%08x,\"", "\"\\n\"", "\"\\t.fmask\\t0x%08x,\"", "\"\\n\"", "\"li\\t$2,%%hi(_gp_disp)\"", "0", "\"addiu\\t$3,$pc,%%lo(_gp_disp)\"", "0", "\"sll\\t$2,16\"", "0", "\"addu\\t$2,$3\"", "0", "\".cpload\\t%^\"", "0"], "File": "mips4", "Func": "mips_output_function_prologue", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8105, "Length": 299, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "AArch64TargetLowering", "::", "getOptimalMemOpType", "(", "const", "MemOp", "&", "Op", ",", "const", "AttributeList", "&", "FuncAttributes", ")", "const", "{", "bool", "CanImplicitFloat", "=", "!", "FuncAttributes", ".", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ";", "bool", "CanUseNEON", "=", "Subtarget", "->", "hasNEON", "(", ")", "&&", "CanImplicitFloat", ";", "bool", "CanUseFP", "=", "Subtarget", "->", "hasFPARMv8", "(", ")", "&&", "CanImplicitFloat", ";", "bool", "IsSmallMemset", "=", "Op", ".", "isMemset", "(", ")", "&&", "Op", ".", "size", "(", ")", "<", "32", ";", "auto", "AlignmentIsAcceptable", "=", "[", "&", "]", "(", "EVT", "VT", ",", "Align", "AlignCheck", ")", "{", "if", "(", "Op", ".", "isAligned", "(", "AlignCheck", ")", ")", "return", "true", ";", "bool", "Fast", ";", "return", "allowsMisalignedMemoryAccesses", "(", "VT", ",", "0", ",", "1", ",", "MachineMemOperand", "::", "MONone", ",", "&", "Fast", ")", "&&", "Fast", ";", "}", ";", "if", "(", "CanUseNEON", "&&", "Op", ".", "isMemset", "(", ")", "&&", "!", "IsSmallMemset", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "v2i64", ",", "Align", "(", "16", ")", ")", ")", "return", "MVT", "::", "v2i64", ";", "if", "(", "CanUseFP", "&&", "!", "IsSmallMemset", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "f128", ",", "Align", "(", "16", ")", ")", ")", "return", "MVT", "::", "f128", ";", "if", "(", "Op", ".", "size", "(", ")", ">=", "8", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "i64", ",", "Align", "(", "8", ")", ")", ")", "return", "MVT", "::", "i64", ";", "if", "(", "Op", ".", "size", "(", ")", ">=", "4", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "i32", ",", "Align", "(", "4", ")", ")", ")", "return", "MVT", "::", "i32", ";", "return", "MVT", "::", "Other", ";", "}", ""], "natrual_language": ["It", "returns", "EVT", ":", ":Other", "if", "the", "type", "should", "be", "determined", "using", "generic", "target-independent", "logic", "."], "TS_V_token": ["AArch64", "AArch64", "32", "0", "1", "MVT::v2i64", "16", "MVT::v2i64", "MVT::f128", "16", "MVT::f128", "8", "MVT::i64", "8", "MVT::i64", "4", "MVT::i32", "4", "MVT::i32", "MVT::Other"], "File": "AArch64ISelLowering10", "Func": "getOptimalMemOpType", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8106, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips16_unextended_reference_p", "(", "machine_mode", "mode", ",", "rtx", "base", ",", "unsigned", "HOST_WIDE_INT", "offset", ")", "{", "if", "(", "mode", "!=", "BLKmode", "&&", "offset", "%", "GET_MODE_SIZE", "(", "mode", ")", "==", "0", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "4", "&&", "base", "==", "stack_pointer_rtx", ")", "return", "offset", "<", "256U", "*", "GET_MODE_SIZE", "(", "mode", ")", ";", "return", "offset", "<", "32U", "*", "GET_MODE_SIZE", "(", "mode", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "value", "at", "OFFSET", "bytes", "from", "BASE", "can", "be", "accessed", "using", "an", "unextended", "mips16", "instruction", ".", "MODE", "is", "the", "mode", "of", "the", "value", ".", "Usually", "the", "offset", "in", "an", "unextended", "instruction", "is", "a", "5-bit", "field", ".", "The", "offset", "is", "unsigned", "and", "shifted", "left", "once", "for", "HIs", ",", "twice", "for", "SIs", ",", "and", "so", "on", ".", "An", "exception", "is", "SImode", "accesses", "off", "the", "stack", "pointer", ",", "which", "have", "an", "8-bit", "immediate", "field", "."], "TS_V_token": ["mips", "0", "4", "256U", "32U"], "File": "mips", "Func": "mips16_unextended_reference_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8107, "Length": 69, "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", ")", "{", "if", "(", "lookup", "(", "MI", ".", "getOpcode", "(", ")", ",", "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": "X86InstrInfo114", "Func": "getExecutionDomain", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8108, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "rs6000_emit_allocate_stack_1", "(", "HOST_WIDE_INT", "size_int", ",", "rtx", "orig_sp", ")", "{", "rtx_insn", "*", "insn", ";", "rtx", "size_rtx", "=", "GEN_INT", "(", "-", "size_int", ")", ";", "if", "(", "size_int", ">", "32767", ")", "{", "rtx", "tmp_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ";", "if", "(", "get_last_insn", "(", ")", "==", "NULL_RTX", ")", "emit_note", "(", "NOTE_INSN_DELETED", ")", ";", "insn", "=", "emit_move_insn", "(", "tmp_reg", ",", "size_rtx", ")", ";", "try_split", "(", "PATTERN", "(", "insn", ")", ",", "insn", ",", "0", ")", ";", "size_rtx", "=", "tmp_reg", ";", "}", "if", "(", "Pmode", "==", "SImode", ")", "insn", "=", "emit_insn", "(", "gen_movsi_update_stack", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "size_rtx", ",", "orig_sp", ")", ")", ";", "else", "insn", "=", "emit_insn", "(", "gen_movdi_di_update_stack", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "size_rtx", ",", "orig_sp", ")", ")", ";", "rtx", "par", "=", "PATTERN", "(", "insn", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "par", ")", "==", "PARALLEL", ")", ";", "rtx", "set", "=", "XVECEXP", "(", "par", ",", "0", ",", "0", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "set", ")", "==", "SET", ")", ";", "rtx", "mem", "=", "SET_DEST", "(", "set", ")", ";", "gcc_assert", "(", "MEM_P", "(", "mem", ")", ")", ";", "MEM_NOTRAP_P", "(", "mem", ")", "=", "1", ";", "set_mem_alias_set", "(", "mem", ",", "get_frame_alias_set", "(", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "size_int", ")", ")", ")", ")", ";", "if", "(", "flag_stack_clash_protection", ")", "{", "add_reg_note", "(", "insn", ",", "REG_STACK_CHECK", ",", "const0_rtx", ")", ";", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", "return", "insn", ";", "}", ""], "natrual_language": ["Allocate", "SIZE_INT", "bytes", "on", "the", "stack", "using", "a", "store", "with", "update", "style", "insn", "and", "set", "the", "appropriate", "attributes", "for", "the", "generated", "insn", ".", "Return", "the", "first", "insn", "which", "adjusts", "the", "stack", "pointer", "or", "the", "last", "insn", "before", "the", "stack", "adjustment", "loop", ".", "SIZE_INT", "is", "used", "to", "create", "the", "CFI", "note", "for", "the", "allocation", ".", "SIZE_RTX", "is", "an", "rtx", "containing", "the", "size", "of", "the", "adjustment", ".", "Note", "that", "since", "stacks", "grow", "to", "lower", "addresses", "its", "runtime", "value", "is", "-SIZE_INT", ".", "ORIG_SP", "contains", "the", "backchain", "value", "that", "must", "be", "stored", "at", "*", "sp", "."], "TS_V_token": ["rs6000", "32767", "0", "0", "0", "0", "1", "1"], "File": "rs60007", "Func": "rs6000_emit_allocate_stack_1", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8109, "Length": 250, "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", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "JumpTable", ":", "return", "LowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "LowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "default", ":", "llvm_unreachable", "(", "\"Should not custom lower this!\"", ")", ";", "return", "SDValue", "(", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["SystemZ", "SystemZ", "ISD::BR_CC", "ISD::SELECT_CC", "ISD::GlobalAddress", "ISD::JumpTable", "ISD::ConstantPool", "\"Should not custom lower this!\""], "File": "SystemZISelLowering107", "Func": "LowerOperation", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8110, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "sh_build_builtin_va_list", "(", "void", ")", "{", "tree", "f_next_o", ",", "f_next_o_limit", ",", "f_next_fp", ",", "f_next_fp_limit", ",", "f_next_stack", ";", "tree", "record", ",", "type_decl", ";", "if", "(", "(", "!", "TARGET_SH2E", "&&", "!", "TARGET_SH4", ")", "||", "TARGET_HITACHI", "||", "sh_cfun_attr_renesas_p", "(", ")", ")", "return", "ptr_type_node", ";", "record", "=", "(", "*", "lang_hooks", ".", "types", ".", "make_type", ")", "(", "RECORD_TYPE", ")", ";", "type_decl", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "TYPE_DECL", ",", "get_identifier", "(", "\"__va_list_tag\"", ")", ",", "record", ")", ";", "f_next_o", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"__va_next_o\"", ")", ",", "ptr_type_node", ")", ";", "f_next_o_limit", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"__va_next_o_limit\"", ")", ",", "ptr_type_node", ")", ";", "f_next_fp", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"__va_next_fp\"", ")", ",", "ptr_type_node", ")", ";", "f_next_fp_limit", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"__va_next_fp_limit\"", ")", ",", "ptr_type_node", ")", ";", "f_next_stack", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"__va_next_stack\"", ")", ",", "ptr_type_node", ")", ";", "DECL_FIELD_CONTEXT", "(", "f_next_o", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_next_o_limit", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_next_fp", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_next_fp_limit", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_next_stack", ")", "=", "record", ";", "TYPE_STUB_DECL", "(", "record", ")", "=", "type_decl", ";", "TYPE_NAME", "(", "record", ")", "=", "type_decl", ";", "TYPE_FIELDS", "(", "record", ")", "=", "f_next_o", ";", "DECL_CHAIN", "(", "f_next_o", ")", "=", "f_next_o_limit", ";", "DECL_CHAIN", "(", "f_next_o_limit", ")", "=", "f_next_fp", ";", "DECL_CHAIN", "(", "f_next_fp", ")", "=", "f_next_fp_limit", ";", "DECL_CHAIN", "(", "f_next_fp_limit", ")", "=", "f_next_stack", ";", "layout_type", "(", "record", ")", ";", "return", "record", ";", "}", ""], "natrual_language": ["Define", "the", "`", "__builtin_va_list", "'", "type", "for", "the", "ABI", "."], "TS_V_token": ["sh", "\"__va_list_tag\"", "\"__va_next_o\"", "\"__va_next_o_limit\"", "\"__va_next_fp\"", "\"__va_next_fp_limit\"", "\"__va_next_stack\""], "File": "sh", "Func": "sh_build_builtin_va_list", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8111, "Length": 245, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "shouldNormalizeToSelectSequence", "(", "LLVMContext", "&", ",", "EVT", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "we", "should", "normalize", "select", "(", "N0", "&", "N1", ",", "X", ",", "Y", ")", "=", ">", "select", "(", "N0", ",", "select", "(", "N1", ",", "X", ",", "Y", ")", ",", "Y", ")", "and", "select", "(", "N0|N1", ",", "X", ",", "Y", ")", "=", ">", "select", "(", "N0", ",", "select", "(", "N1", ",", "X", ",", "Y", ",", "Y", ")", ")", "if", "it", "is", "likely", "that", "it", "saves", "us", "from", "materializing", "N0", "and", "N1", "in", "an", "integer", "register", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ISelLowering (2)", "Func": "shouldNormalizeToSelectSequence", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8112, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "string", "str", "(", ")", "const", "{", "std", "::", "string", "S", ";", "raw_string_ostream", "OS", "(", "S", ")", ";", "OS", "<<", "\"{\"", ";", "StartInst", "->", "print", "(", "OS", ",", "NULL", ",", "true", ")", ";", "OS", "<<", "\" -> \"", ";", "LastInst", "->", "print", "(", "OS", ",", "NULL", ",", "true", ")", ";", "if", "(", "KillInst", ")", "{", "OS", "<<", "\" (kill @ \"", ";", "KillInst", "->", "print", "(", "OS", ",", "NULL", ",", "true", ")", ";", "OS", "<<", "\")\"", ";", "}", "OS", "<<", "\"}\"", ";", "return", "OS", ".", "str", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "twine", "contents", "as", "a", "std", ":", ":string", "."], "TS_V_token": ["AArch64", "\"{\"", "\" -> \"", "\" (kill @ \"", "\")\"", "\"}\""], "File": "AArch64A57FPLoadBalancing10", "Func": "str", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8113, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBank", "&", "AArch64RegisterBankInfo", "::", "getRegBankFromRegClass", "(", "const", "TargetRegisterClass", "&", "RC", ")", "const", "{", "switch", "(", "RC", ".", "getID", "(", ")", ")", "{", "case", "AArch64", "::", "FPR8RegClassID", ":", "case", "AArch64", "::", "FPR16RegClassID", ":", "case", "AArch64", "::", "FPR32RegClassID", ":", "case", "AArch64", "::", "FPR64RegClassID", ":", "case", "AArch64", "::", "FPR128RegClassID", ":", "case", "AArch64", "::", "FPR128_loRegClassID", ":", "case", "AArch64", "::", "DDRegClassID", ":", "case", "AArch64", "::", "DDDRegClassID", ":", "case", "AArch64", "::", "DDDDRegClassID", ":", "case", "AArch64", "::", "QQRegClassID", ":", "case", "AArch64", "::", "QQQRegClassID", ":", "case", "AArch64", "::", "QQQQRegClassID", ":", "return", "getRegBank", "(", "AArch64", "::", "FPRRegBankID", ")", ";", "case", "AArch64", "::", "GPR32commonRegClassID", ":", "case", "AArch64", "::", "GPR32RegClassID", ":", "case", "AArch64", "::", "GPR32spRegClassID", ":", "case", "AArch64", "::", "GPR32sponlyRegClassID", ":", "case", "AArch64", "::", "GPR32argRegClassID", ":", "case", "AArch64", "::", "GPR32allRegClassID", ":", "case", "AArch64", "::", "GPR64commonRegClassID", ":", "case", "AArch64", "::", "GPR64RegClassID", ":", "case", "AArch64", "::", "GPR64spRegClassID", ":", "case", "AArch64", "::", "GPR64sponlyRegClassID", ":", "case", "AArch64", "::", "GPR64argRegClassID", ":", "case", "AArch64", "::", "GPR64allRegClassID", ":", "case", "AArch64", "::", "GPR64noipRegClassID", ":", "case", "AArch64", "::", "GPR64common_and_GPR64noipRegClassID", ":", "case", "AArch64", "::", "GPR64noip_and_tcGPR64RegClassID", ":", "case", "AArch64", "::", "tcGPR64RegClassID", ":", "case", "AArch64", "::", "WSeqPairsClassRegClassID", ":", "case", "AArch64", "::", "XSeqPairsClassRegClassID", ":", "return", "getRegBank", "(", "AArch64", "::", "GPRRegBankID", ")", ";", "case", "AArch64", "::", "CCRRegClassID", ":", "return", "getRegBank", "(", "AArch64", "::", "CCRegBankID", ")", ";", "default", ":", "llvm_unreachable", "(", "\"Register class not supported\"", ")", ";", "}", "}", ""], "natrual_language": ["Get", "a", "register", "bank", "that", "covers", "RC", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::FPR8RegClassID", "AArch64::FPR16RegClassID", "AArch64::FPR32RegClassID", "AArch64::FPR64RegClassID", "AArch64::FPR128RegClassID", "AArch64::FPR128_loRegClassID", "AArch64::DDRegClassID", "AArch64::DDDRegClassID", "AArch64::DDDDRegClassID", "AArch64::QQRegClassID", "AArch64::QQQRegClassID", "AArch64::QQQQRegClassID", "AArch64::FPRRegBankID", "AArch64::GPR32commonRegClassID", "AArch64::GPR32RegClassID", "AArch64::GPR32spRegClassID", "AArch64::GPR32sponlyRegClassID", "AArch64::GPR32argRegClassID", "AArch64::GPR32allRegClassID", "AArch64::GPR64commonRegClassID", "AArch64::GPR64RegClassID", "AArch64::GPR64spRegClassID", "AArch64::GPR64sponlyRegClassID", "AArch64::GPR64argRegClassID", "AArch64::GPR64allRegClassID", "AArch64::GPR64noipRegClassID", "AArch64::GPR64common_and_GPR64noipRegClassID", "AArch64::GPR64noip_and_tcGPR64RegClassID", "AArch64::tcGPR64RegClassID", "AArch64::WSeqPairsClassRegClassID", "AArch64::XSeqPairsClassRegClassID", "AArch64::GPRRegBankID", "AArch64::CCRRegClassID", "AArch64::CCRegBankID", "\"Register class not supported\""], "File": "AArch64RegisterBankInfo21", "Func": "getRegBankFromRegClass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8114, "Length": 211, "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": ["OR1K"], "File": "OR1KAsmParser", "Func": "isImm", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8115, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "EmitInstruction", "(", "uint32_t", "Val", ",", "raw_ostream", "&", "OS", ")", "const", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "4", ";", "++", "i", ")", "{", "EmitByte", "(", "Val", "&", "0xff", ",", "OS", ")", ";", "Val", ">>=", "8", ";", "}", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["AArch64", "0", "4", "0xff", "8"], "File": "AArch64MCCodeEmitter11", "Func": "EmitInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8116, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc_emit_fixunsdi", "(", "rtx", "*", "operands", ",", "machine_mode", "mode", ")", "{", "rtx", "i0", ",", "i1", ",", "f0", ",", "in", ",", "out", ",", "limit", ";", "out", "=", "operands", "[", "0", "]", ";", "in", "=", "force_reg", "(", "mode", ",", "operands", "[", "1", "]", ")", ";", "rtx_code_label", "*", "neglab", "=", "gen_label_rtx", "(", ")", ";", "rtx_code_label", "*", "donelab", "=", "gen_label_rtx", "(", ")", ";", "i0", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "i1", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "limit", "=", "gen_reg_rtx", "(", "mode", ")", ";", "f0", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_move_insn", "(", "limit", ",", "CONST_DOUBLE_FROM_REAL_VALUE", "(", "REAL_VALUE_ATOF", "(", "\"9223372036854775808.0\"", ",", "mode", ")", ",", "mode", ")", ")", ";", "emit_cmp_and_jump_insns", "(", "in", ",", "limit", ",", "GE", ",", "NULL_RTX", ",", "mode", ",", "0", ",", "neglab", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "out", ",", "gen_rtx_FIX", "(", "DImode", ",", "gen_rtx_FIX", "(", "mode", ",", "in", ")", ")", ")", ")", ";", "emit_jump_insn", "(", "gen_jump", "(", "donelab", ")", ")", ";", "emit_barrier", "(", ")", ";", "emit_label", "(", "neglab", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "f0", ",", "gen_rtx_MINUS", "(", "mode", ",", "in", ",", "limit", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "i0", ",", "gen_rtx_FIX", "(", "DImode", ",", "gen_rtx_FIX", "(", "mode", ",", "f0", ")", ")", ")", ")", ";", "emit_insn", "(", "gen_movdi", "(", "i1", ",", "const1_rtx", ")", ")", ";", "emit_insn", "(", "gen_ashldi3", "(", "i1", ",", "i1", ",", "GEN_INT", "(", "63", ")", ")", ")", ";", "emit_insn", "(", "gen_xordi3", "(", "out", ",", "i0", ",", "i1", ")", ")", ";", "emit_label", "(", "donelab", ")", ";", "}", ""], "natrual_language": ["Generate", "an", "FP", "to", "unsigned", "DImode", "conversion", ".", "This", "is", "the", "same", "code", "optabs", "would", "emit", "if", "we", "did", "n't", "have", "TFmode", "patterns", "."], "TS_V_token": ["sparc", "0", "1", "\"9223372036854775808.0\"", "0", "63"], "File": "sparc4", "Func": "sparc_emit_fixunsdi", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8117, "Length": 244, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "remove_non_convertible_regs", "(", "bitmap", "candidates", ")", "{", "if", "(", "TARGET_64BIT", ")", "timode_remove_non_convertible_regs", "(", "candidates", ")", ";", "else", "dimode_remove_non_convertible_regs", "(", "candidates", ")", ";", "}", ""], "natrual_language": ["For", "a", "given", "bitmap", "of", "insn", "UIDs", "scans", "all", "instruction", "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"], "File": "i3866", "Func": "remove_non_convertible_regs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8118, "Length": 24, "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": 8119, "Length": 31, "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": 8120, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "MipsOutgoingValueHandler", "::", "extendRegister", "(", "Register", "ValReg", ",", "const", "CCValAssign", "&", "VA", ")", "{", "LLT", "LocTy", "{", "VA", ".", "getLocVT", "(", ")", "}", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "case", "CCValAssign", "::", "SExt", ":", "{", "return", "MIRBuilder", ".", "buildSExt", "(", "LocTy", ",", "ValReg", ")", ".", "getReg", "(", "0", ")", ";", "}", "case", "CCValAssign", "::", "ZExt", ":", "{", "return", "MIRBuilder", ".", "buildZExt", "(", "LocTy", ",", "ValReg", ")", ".", "getReg", "(", "0", ")", ";", "}", "case", "CCValAssign", "::", "AExt", ":", "{", "return", "MIRBuilder", ".", "buildAnyExt", "(", "LocTy", ",", "ValReg", ")", ".", "getReg", "(", "0", ")", ";", "}", "case", "CCValAssign", "::", "Full", ":", "return", "ValReg", ";", "default", ":", "break", ";", "}", "llvm_unreachable", "(", "\"unable to extend register\"", ")", ";", "}", ""], "natrual_language": ["Extend", "a", "register", "to", "the", "location", "type", "given", "in", "VA", ",", "capped", "at", "extending", "to", "at", "most", "MaxSize", "bits", "."], "TS_V_token": ["Mips", "Mips", "0", "0", "0", "\"unable to extend register\""], "File": "MipsCallLowering16", "Func": "extendRegister", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8121, "Length": 118, "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": ["AArch64"], "File": "AArch64Subtarget (2)", "Func": "getTargetTriple", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8122, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "enableInterleavedAccessVectorization", "(", ")", "{", "return", "!", "(", "ST", "->", "isAtom", "(", ")", ")", ";", "}", ""], "natrual_language": ["Enable", "matching", "of", "interleaved", "access", "groups", "."], "TS_V_token": ["X86", "X86"], "File": "X86TargetTransformInfo (2)", "Func": "enableInterleavedAccessVectorization", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8123, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "SystemZRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "SystemZFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "SystemZ", "::", "R11D", ":", "SystemZ", "::", "R15D", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ::R11D", "SystemZ::R15D"], "File": "SystemZRegisterInfo15", "Func": "getFrameRegister", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8124, "Length": 39, "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": 8125, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "unsigned", "long", "ia64_rse_is_rnat_slot", "(", "unsigned", "long", "*", "addr", ")", "{", "return", "ia64_rse_slot_num", "(", "addr", ")", "==", "0x3f", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "ADDR", "is", "the", "address", "of", "an", "RNAT", "slot", "."], "TS_V_token": ["ia64", "0x3f"], "File": "unwind-ia64", "Func": "ia64_rse_is_rnat_slot", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8126, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_cbranch", "(", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ")", "{", "rtx", "condition_rtx", "=", "rs6000_generate_compare", "(", "operands", "[", "0", "]", ",", "mode", ")", ";", "rtx", "loc_ref", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "operands", "[", "3", "]", ")", ";", "rtx", "ite", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "condition_rtx", ",", "loc_ref", ",", "pc_rtx", ")", ";", "emit_jump_insn", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "ite", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "branch", "of", "kind", "CODE", "to", "location", "LOC", "."], "TS_V_token": ["rs6000", "0", "3"], "File": "rs6000", "Func": "rs6000_emit_cbranch", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8127, "Length": 63, "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": 8128, "Length": 18, "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", ")", "&", "(", "(", "HOST_WIDE_INT_1U", "<<", "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", "0"], "File": "aarch64", "Func": "aarch64_mask_and_shift_for_ubfiz_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8129, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "const", "X86TargetMachine", "*", "TM", "=", "static_cast", "<", "const", "X86TargetMachine", "*", ">", "(", "&", "MF", ".", "getTarget", "(", ")", ")", ";", "const", "X86Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "STI", ".", "is64Bit", "(", ")", "&&", "(", "TM", "->", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Small", "||", "TM", "->", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Kernel", ")", ")", "return", "false", ";", "if", "(", "!", "TM", "->", "isPositionIndependent", "(", ")", ")", "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", "=", "STI", ".", "getInstrInfo", "(", ")", ";", "unsigned", "PC", ";", "if", "(", "STI", ".", "isPICStyleGOT", "(", ")", ")", "PC", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "X86", "::", "GR32RegClass", ")", ";", "else", "PC", "=", "GlobalBaseReg", ";", "if", "(", "STI", ".", "is64Bit", "(", ")", ")", "{", "if", "(", "TM", "->", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Medium", ")", "{", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "X86", "::", "LEA64r", ")", ",", "PC", ")", ".", "addReg", "(", "X86", "::", "RIP", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "0", ")", ".", "addExternalSymbol", "(", "\"_GLOBAL_OFFSET_TABLE_\"", ")", ".", "addReg", "(", "0", ")", ";", "}", "else", "if", "(", "TM", "->", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", ")", "{", "unsigned", "Scratch", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "X86", "::", "GR64RegClass", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "X86", "::", "MOVGOT64r", ")", ",", "PC", ")", ".", "addReg", "(", "Scratch", ",", "RegState", "::", "Undef", "|", "RegState", "::", "Define", ")", ".", "addExternalSymbol", "(", "\"_GLOBAL_OFFSET_TABLE_\"", ")", ";", "}", "else", "{", "llvm_unreachable", "(", "\"unexpected code model\"", ")", ";", "}", "}", "else", "{", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "X86", "::", "MOVPC32r", ")", ",", "PC", ")", ".", "addImm", "(", "0", ")", ";", "if", "(", "STI", ".", "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", "X86", "0", "X86", "X86::GR32RegClass", "X86::LEA64r", "X86::RIP", "0", "0", "\"_GLOBAL_OFFSET_TABLE_\"", "0", "X86::GR64RegClass", "X86::MOVGOT64r", "\"_GLOBAL_OFFSET_TABLE_\"", "\"unexpected code model\"", "X86::MOVPC32r", "0", "X86::ADD32ri", "\"_GLOBAL_OFFSET_TABLE_\"", "X86II::MO_GOT_ABSOLUTE_ADDRESS"], "File": "X86InstrInfo", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8130, "Length": 420, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDLoc", "dl", "(", "N", ")", ";", "RTLIB", "::", "Libcall", "libCall", "=", "RTLIB", "::", "UNKNOWN_LIBCALL", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Do not know how to custom type legalize this operation!\"", ")", ";", "case", "ISD", "::", "FP_TO_SINT", ":", "case", "ISD", "::", "FP_TO_UINT", ":", "if", "(", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", "!=", "MVT", "::", "f128", "||", "N", "->", "getValueType", "(", "0", ")", "!=", "MVT", "::", "i64", ")", "return", ";", "libCall", "=", "(", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_TO_SINT", ")", "?", "RTLIB", "::", "FPTOSINT_F128_I64", ":", "RTLIB", "::", "FPTOUINT_F128_I64", ")", ";", "Results", ".", "push_back", "(", "LowerF128Op", "(", "SDValue", "(", "N", ",", "0", ")", ",", "DAG", ",", "getLibcallName", "(", "libCall", ")", ",", "1", ")", ")", ";", "return", ";", "case", "ISD", "::", "SINT_TO_FP", ":", "case", "ISD", "::", "UINT_TO_FP", ":", "if", "(", "N", "->", "getValueType", "(", "0", ")", "!=", "MVT", "::", "f128", "||", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", "!=", "MVT", "::", "i64", ")", "return", ";", "libCall", "=", "(", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SINT_TO_FP", ")", "?", "RTLIB", "::", "SINTTOFP_I64_F128", ":", "RTLIB", "::", "UINTTOFP_I64_F128", ")", ";", "Results", ".", "push_back", "(", "LowerF128Op", "(", "SDValue", "(", "N", ",", "0", ")", ",", "DAG", ",", "getLibcallName", "(", "libCall", ")", ",", "1", ")", ")", ";", "return", ";", "case", "ISD", "::", "LOAD", ":", "{", "LoadSDNode", "*", "Ld", "=", "cast", "<", "LoadSDNode", ">", "(", "N", ")", ";", "if", "(", "Ld", "->", "getValueType", "(", "0", ")", "!=", "MVT", "::", "i64", "||", "Ld", "->", "getMemoryVT", "(", ")", "!=", "MVT", "::", "i64", ")", "return", ";", "SDLoc", "dl", "(", "N", ")", ";", "SDValue", "LoadRes", "=", "DAG", ".", "getExtLoad", "(", "Ld", "->", "getExtensionType", "(", ")", ",", "dl", ",", "MVT", "::", "v2i32", ",", "Ld", "->", "getChain", "(", ")", ",", "Ld", "->", "getBasePtr", "(", ")", ",", "Ld", "->", "getPointerInfo", "(", ")", ",", "MVT", "::", "v2i32", ",", "Ld", "->", "isVolatile", "(", ")", ",", "Ld", "->", "isNonTemporal", "(", ")", ",", "Ld", "->", "isInvariant", "(", ")", ",", "Ld", "->", "getAlignment", "(", ")", ",", "Ld", "->", "getAAInfo", "(", ")", ")", ";", "SDValue", "Res", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "dl", ",", "MVT", "::", "i64", ",", "LoadRes", ")", ";", "Results", ".", "push_back", "(", "Res", ")", ";", "Results", ".", "push_back", "(", "LoadRes", ".", "getValue", "(", "1", ")", ")", ";", "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": ["Sparc", "Sparc", "\"Do not know how to custom type legalize this operation!\"", "ISD::FP_TO_SINT", "ISD::FP_TO_UINT", "0", "MVT::f128", "0", "MVT::i64", "ISD::FP_TO_SINT", "0", "1", "ISD::SINT_TO_FP", "ISD::UINT_TO_FP", "0", "MVT::f128", "0", "MVT::i64", "ISD::SINT_TO_FP", "0", "1", "ISD::LOAD", "0", "MVT::i64", "MVT::i64", "MVT::v2i32", "MVT::v2i32", "ISD::BITCAST", "MVT::i64", "1"], "File": "SparcISelLowering", "Func": "ReplaceNodeResults", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8131, "Length": 398, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_function_specific_restore", "(", "struct", "gcc_options", "*", "opts", ",", "struct", "gcc_options", "*", ",", "struct", "cl_target_option", "*", "ptr", ")", "{", "enum", "processor_type", "old_tune", "=", "ix86_tune", ";", "enum", "processor_type", "old_arch", "=", "ix86_arch", ";", "unsigned", "HOST_WIDE_INT", "ix86_arch_mask", ";", "int", "i", ";", "opts", "->", "x_flag_pic", "=", "flag_pic", ";", "ix86_arch", "=", "(", "enum", "processor_type", ")", "ptr", "->", "arch", ";", "ix86_schedule", "=", "(", "enum", "attr_cpu", ")", "ptr", "->", "schedule", ";", "ix86_tune", "=", "(", "enum", "processor_type", ")", "ptr", "->", "tune", ";", "ix86_prefetch_sse", "=", "ptr", "->", "prefetch_sse", ";", "ix86_tune_defaulted", "=", "ptr", "->", "tune_defaulted", ";", "ix86_arch_specified", "=", "ptr", "->", "arch_specified", ";", "opts", "->", "x_ix86_isa_flags_explicit", "=", "ptr", "->", "x_ix86_isa_flags_explicit", ";", "opts", "->", "x_ix86_isa_flags2_explicit", "=", "ptr", "->", "x_ix86_isa_flags2_explicit", ";", "opts", "->", "x_recip_mask_explicit", "=", "ptr", "->", "x_recip_mask_explicit", ";", "opts", "->", "x_ix86_arch_string", "=", "ptr", "->", "x_ix86_arch_string", ";", "opts", "->", "x_ix86_tune_string", "=", "ptr", "->", "x_ix86_tune_string", ";", "opts", "->", "x_ix86_asm_dialect", "=", "ptr", "->", "x_ix86_asm_dialect", ";", "opts", "->", "x_ix86_branch_cost", "=", "ptr", "->", "x_ix86_branch_cost", ";", "opts", "->", "x_ix86_dump_tunes", "=", "ptr", "->", "x_ix86_dump_tunes", ";", "opts", "->", "x_ix86_force_align_arg_pointer", "=", "ptr", "->", "x_ix86_force_align_arg_pointer", ";", "opts", "->", "x_ix86_force_drap", "=", "ptr", "->", "x_ix86_force_drap", ";", "opts", "->", "x_ix86_recip_name", "=", "ptr", "->", "x_ix86_recip_name", ";", "opts", "->", "x_ix86_section_threshold", "=", "ptr", "->", "x_ix86_section_threshold", ";", "opts", "->", "x_ix86_sse2avx", "=", "ptr", "->", "x_ix86_sse2avx", ";", "opts", "->", "x_ix86_stack_protector_guard", "=", "ptr", "->", "x_ix86_stack_protector_guard", ";", "opts", "->", "x_ix86_stringop_alg", "=", "ptr", "->", "x_ix86_stringop_alg", ";", "opts", "->", "x_ix86_tls_dialect", "=", "ptr", "->", "x_ix86_tls_dialect", ";", "opts", "->", "x_ix86_tune_ctrl_string", "=", "ptr", "->", "x_ix86_tune_ctrl_string", ";", "opts", "->", "x_ix86_tune_memcpy_strategy", "=", "ptr", "->", "x_ix86_tune_memcpy_strategy", ";", "opts", "->", "x_ix86_tune_memset_strategy", "=", "ptr", "->", "x_ix86_tune_memset_strategy", ";", "opts", "->", "x_ix86_tune_no_default", "=", "ptr", "->", "x_ix86_tune_no_default", ";", "ix86_tune_cost", "=", "processor_cost_table", "[", "ix86_tune", "]", ";", "if", "(", "opts", "->", "x_optimize_size", ")", "ix86_cost", "=", "&", "ix86_size_cost", ";", "else", "ix86_cost", "=", "ix86_tune_cost", ";", "if", "(", "old_arch", "!=", "ix86_arch", ")", "{", "ix86_arch_mask", "=", "HOST_WIDE_INT_1U", "<<", "ix86_arch", ";", "for", "(", "i", "=", "0", ";", "i", "<", "X86_ARCH_LAST", ";", "++", "i", ")", "ix86_arch_features", "[", "i", "]", "=", "!", "!", "(", "initial_ix86_arch_features", "[", "i", "]", "&", "ix86_arch_mask", ")", ";", "}", "if", "(", "old_tune", "!=", "ix86_tune", ")", "set_ix86_tune_features", "(", "opts", ",", "ix86_tune", ",", "false", ")", ";", "}", ""], "natrual_language": ["Restore", "the", "current", "options"], "TS_V_token": ["i386", "0"], "File": "i386-options1", "Func": "ix86_function_specific_restore", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8132, "Length": 333, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_output_indirect_branch_via_reg", "(", "rtx", "call_op", ",", "bool", "sibcall_p", ")", "{", "char", "thunk_name_buf", "[", "32", "]", ";", "char", "*", "thunk_name", ";", "enum", "indirect_thunk_prefix", "need_prefix", "=", "indirect_thunk_need_prefix", "(", "current_output_insn", ")", ";", "int", "regno", "=", "REGNO", "(", "call_op", ")", ";", "if", "(", "cfun", "->", "machine", "->", "indirect_branch_type", "!=", "indirect_branch_thunk_inline", ")", "{", "if", "(", "cfun", "->", "machine", "->", "indirect_branch_type", "==", "indirect_branch_thunk", ")", "{", "int", "i", "=", "regno", ";", "if", "(", "i", ">=", "FIRST_REX_INT_REG", ")", "i", "-=", "(", "FIRST_REX_INT_REG", "-", "LAST_INT_REG", "-", "1", ")", ";", "indirect_thunks_used", "|=", "1", "<<", "i", ";", "}", "indirect_thunk_name", "(", "thunk_name_buf", ",", "regno", ",", "need_prefix", ",", "false", ")", ";", "thunk_name", "=", "thunk_name_buf", ";", "}", "else", "thunk_name", "=", "NULL", ";", "if", "(", "sibcall_p", ")", "{", "if", "(", "thunk_name", "!=", "NULL", ")", "fprintf", "(", "asm_out_file", ",", "\"\\tjmp\\t%s\\n\"", ",", "thunk_name", ")", ";", "else", "output_indirect_thunk", "(", "regno", ")", ";", "}", "else", "{", "if", "(", "thunk_name", "!=", "NULL", ")", "{", "fprintf", "(", "asm_out_file", ",", "\"\\tcall\\t%s\\n\"", ",", "thunk_name", ")", ";", "return", ";", "}", "char", "indirectlabel1", "[", "32", "]", ";", "char", "indirectlabel2", "[", "32", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "indirectlabel1", ",", "INDIRECT_LABEL", ",", "indirectlabelno", "++", ")", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "indirectlabel2", ",", "INDIRECT_LABEL", ",", "indirectlabelno", "++", ")", ";", "fputs", "(", "\"\\tjmp\\t\"", ",", "asm_out_file", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "indirectlabel2", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "indirectlabel1", ")", ";", "if", "(", "thunk_name", "!=", "NULL", ")", "fprintf", "(", "asm_out_file", ",", "\"\\tjmp\\t%s\\n\"", ",", "thunk_name", ")", ";", "else", "output_indirect_thunk", "(", "regno", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "indirectlabel2", ")", ";", "fputs", "(", "\"\\tcall\\t\"", ",", "asm_out_file", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "indirectlabel1", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "}", "}", ""], "natrual_language": ["Output", "indirect", "branch", "via", "a", "call", "and", "return", "thunk", ".", "CALL_OP", "is", "a", "register", "which", "contains", "the", "branch", "target", ".", "XASM", "is", "the", "assembly", "template", "for", "CALL_OP", ".", "Branch", "is", "a", "tail", "call", "if", "SIBCALL_P", "is", "true", ".", "A", "normal", "call", "is", "converted", "to", ":", "call", "__x86_indirect_thunk_reg", "and", "a", "tail", "call", "is", "converted", "to", ":", "jmp", "__x86_indirect_thunk_reg"], "TS_V_token": ["i386", "32", "1", "1", "\"\\tjmp\\t%s\\n\"", "\"\\tcall\\t%s\\n\"", "32", "32", "\"\\tjmp\\t\"", "\"\\tjmp\\t%s\\n\"", "\"\\tcall\\t\""], "File": "i3868", "Func": "ix86_output_indirect_branch_via_reg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8133, "Length": 268, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "unsigned", "int", "rx_round_up", "(", "unsigned", "int", "value", ",", "unsigned", "int", "alignment", ")", "{", "alignment", "-=", "1", ";", "return", "(", "value", "+", "alignment", ")", "&", "(", "~", "alignment", ")", ";", "}", ""], "natrual_language": ["Return", "VALUE", "rounded", "up", "to", "the", "next", "ALIGNMENT", "boundary", "."], "TS_V_token": ["rx", "1"], "File": "rx", "Func": "rx_round_up", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8134, "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": ["FISC"], "File": "FISCTargetMachine", "Func": "getObjFileLowering", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8135, "Length": 16, "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": 8136, "Length": 108, "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", "->", "perm", ".", "length", "(", ")", ";", "rtx", "out0", ",", "out1", ",", "in0", ",", "in1", ";", "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", ";", "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_neon_vzip_internal", "(", "d", "->", "vmode", ",", "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": "arm", "Func": "arm_evpc_neon_vzip", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8137, "Length": 324, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64TargetMachine", "::", "AArch64TargetMachine", "(", "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", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "InstrInfo", "(", "Subtarget", ")", ",", "DL", "(", "\"e-p:64:64-i64:64:64-i128:128:128-s0:32:32-f128:128:128-n32:64-S128\"", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "FrameLowering", "(", "Subtarget", ")", "{", "}", ""], "natrual_language": ["Create", "an", "AArch64", "architecture", "model", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "\"e-p:64:64-i64:64:64-i128:128:128-s0:32:32-f128:128:128-n32:64-S128\""], "File": "AArch64TargetMachine68", "Func": "AArch64TargetMachine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8138, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "isLoadFromStackSlotPostFE", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "unsigned", "Dummy", ";", "if", "(", "isFrameLoadOpcode", "(", "MI", ".", "getOpcode", "(", ")", ",", "Dummy", ")", ")", "{", "unsigned", "Reg", ";", "if", "(", "(", "Reg", "=", "isLoadFromStackSlot", "(", "MI", ",", "FrameIndex", ")", ")", ")", "return", "Reg", ";", "SmallVector", "<", "const", "MachineMemOperand", "*", ",", "1", ">", "Accesses", ";", "if", "(", "hasLoadFromStackSlot", "(", "MI", ",", "Accesses", ")", ")", "{", "FrameIndex", "=", "cast", "<", "FixedStackPseudoSourceValue", ">", "(", "Accesses", ".", "front", "(", ")", "->", "getPseudoValue", "(", ")", ")", "->", "getFrameIndex", "(", ")", ";", "return", "1", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["isLoadFromStackSlotPostFE", "-", "Check", "for", "post-frame", "ptr", "elimination", "stack", "locations", "as", "well", "."], "TS_V_token": ["X86", "X86", "1", "1", "0"], "File": "X86InstrInfo1", "Func": "isLoadFromStackSlotPostFE", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8139, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Dcpu16PassConfig", "::", "addInstSelector", "(", ")", "{", "PM", ".", "add", "(", "createDcpu16ISelDag", "(", "getDcpu16TargetMachine", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["Dcpu16"], "File": "Dcpu16TargetMachine (2)", "Func": "addInstSelector", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8140, "Length": 23, "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", "(", "FramePtr", ")", ")", "return", "false", ";", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "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\""], "File": "ARMBaseRegisterInfo15", "Func": "canRealignStack", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8141, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_elf_asm_init_sections", "(", "void", ")", "{", "toc_section", "=", "get_unnamed_section", "(", "0", ",", "rs6000_elf_output_toc_section_asm_op", ",", "NULL", ")", ";", "sdata2_section", "=", "get_unnamed_section", "(", "SECTION_WRITE", ",", "output_section_asm_op", ",", "SDATA2_SECTION_ASM_OP", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_INIT_SECTIONS", "."], "TS_V_token": ["rs6000", "0"], "File": "rs6000", "Func": "rs6000_elf_asm_init_sections", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8142, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "pa_issue_rate", "(", ")", "{", "switch", "(", "pa_cpu", ")", "{", "case", "PROCESSOR_700", ":", "return", "1", ";", "case", "PROCESSOR_7100", ":", "return", "2", ";", "case", "PROCESSOR_7100LC", ":", "return", "2", ";", "case", "PROCESSOR_7200", ":", "return", "2", ";", "case", "PROCESSOR_8000", ":", "return", "4", ";", "default", ":", "abort", "(", ")", ";", "}", "}", ""], "natrual_language": ["The", "700", "can", "only", "issue", "a", "single", "insn", "at", "a", "time", ".", "The", "7XXX", "processors", "can", "issue", "two", "insns", "at", "a", "time", ".", "The", "8000", "can", "issue", "4", "insns", "at", "a", "time", "."], "TS_V_token": ["pa", "1", "2", "2", "2", "4"], "File": "pa2", "Func": "pa_issue_rate", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8143, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "EVT", "VT", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "bool", "isPPC64", "=", "Subtarget", ".", "isPPC64", "(", ")", ";", "bool", "isDarwinABI", "=", "Subtarget", ".", "isDarwinABI", "(", ")", ";", "if", "(", "(", "isPPC64", "&&", "VT", "!=", "MVT", "::", "i64", "&&", "VT", "!=", "MVT", "::", "i32", ")", "||", "(", "!", "isPPC64", "&&", "VT", "!=", "MVT", "::", "i32", ")", ")", "report_fatal_error", "(", "\"Invalid register global variable type\"", ")", ";", "bool", "is64Bit", "=", "isPPC64", "&&", "VT", "==", "MVT", "::", "i64", ";", "unsigned", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "\"r1\"", ",", "is64Bit", "?", "PPC", "::", "X1", ":", "PPC", "::", "R1", ")", ".", "Case", "(", "\"r2\"", ",", "(", "isDarwinABI", "||", "isPPC64", ")", "?", "0", ":", "PPC", "::", "R2", ")", ".", "Case", "(", "\"r13\"", ",", "(", "!", "isPPC64", "&&", "isDarwinABI", ")", "?", "0", ":", "(", "is64Bit", "?", "PPC", "::", "X13", ":", "PPC", "::", "R13", ")", ")", ".", "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": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "MVT::i64", "MVT::i32", "PPC", "MVT::i32", "\"Invalid register global variable type\"", "PPC", "MVT::i64", "\"r1\"", "PPC::X1", "PPC::R1", "\"r2\"", "PPC", "0", "PPC::R2", "\"r13\"", "PPC", "0", "PPC::X13", "PPC::R13", "0", "\"Invalid register name global variable\""], "File": "PPCISelLowering (2)2", "Func": "getRegisterByName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8144, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "MipsDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "Register", "GlobalBaseReg", "=", "MF", "->", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", "->", "getGlobalBaseReg", "(", ")", ";", "return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "getTargetLowering", "(", ")", "->", "getPointerTy", "(", "CurDAG", "->", "getDataLayout", "(", ")", ")", ")", ".", "getNode", "(", ")", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsISelDAGToDAG23", "Func": "getGlobalBaseReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8145, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "useLoadStackGuardNode", "(", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "isTargetAndroid", "(", ")", ")", "return", "true", ";", "return", "TargetLowering", "::", "useLoadStackGuardNode", "(", ")", ";", "}", ""], "natrual_language": ["If", "this", "function", "returns", "true", ",", "SelectionDAGBuilder", "emits", "a", "LOAD_STACK_GUARD", "node", "when", "it", "is", "lowering", "Intrinsic", ":", ":stackprotector", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ISelLowering (2)", "Func": "useLoadStackGuardNode", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8146, "Length": 28, "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", ";", "bool", "OffsetIsScalable", ";", "if", "(", "TII", "->", "getMemOperandWithOffset", "(", "MI", ",", "BaseOp", ",", "Offset", ",", "OffsetIsScalable", ",", "TRI", ")", "&&", "BaseOp", "->", "isReg", "(", ")", ")", "{", "Register", "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": "AArch64StorePairSuppress14", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8147, "Length": 282, "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": 8148, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CCAssignFn", "*", "ARMFastISel", "::", "CCAssignFnForCall", "(", "CallingConv", "::", "ID", "CC", ",", "bool", "Return", ",", "bool", "isVarArg", ")", "{", "switch", "(", "CC", ")", "{", "default", ":", "report_fatal_error", "(", "\"Unsupported calling convention\"", ")", ";", "case", "CallingConv", "::", "Fast", ":", "if", "(", "Subtarget", "->", "hasVFP2", "(", ")", "&&", "!", "isVarArg", ")", "{", "if", "(", "!", "Subtarget", "->", "isAAPCS_ABI", "(", ")", ")", "return", "(", "Return", "?", "RetFastCC_ARM_APCS", ":", "FastCC_ARM_APCS", ")", ";", "return", "(", "Return", "?", "RetCC_ARM_AAPCS_VFP", ":", "CC_ARM_AAPCS_VFP", ")", ";", "}", "LLVM_FALLTHROUGH", ";", "case", "CallingConv", "::", "C", ":", "case", "CallingConv", "::", "CXX_FAST_TLS", ":", "if", "(", "Subtarget", "->", "isAAPCS_ABI", "(", ")", ")", "{", "if", "(", "Subtarget", "->", "hasVFP2", "(", ")", "&&", "TM", ".", "Options", ".", "FloatABIType", "==", "FloatABI", "::", "Hard", "&&", "!", "isVarArg", ")", "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", ":", "case", "CallingConv", "::", "Swift", ":", "if", "(", "!", "isVarArg", ")", "return", "(", "Return", "?", "RetCC_ARM_AAPCS_VFP", ":", "CC_ARM_AAPCS_VFP", ")", ";", "LLVM_FALLTHROUGH", ";", "case", "CallingConv", "::", "ARM_AAPCS", ":", "return", "(", "Return", "?", "RetCC_ARM_AAPCS", ":", "CC_ARM_AAPCS", ")", ";", "case", "CallingConv", "::", "ARM_APCS", ":", "return", "(", "Return", "?", "RetCC_ARM_APCS", ":", "CC_ARM_APCS", ")", ";", "case", "CallingConv", "::", "GHC", ":", "if", "(", "Return", ")", "report_fatal_error", "(", "\"Can't return in GHC call convention\"", ")", ";", "else", "return", "CC_ARM_APCS_GHC", ";", "}", "}", ""], "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", "ARM", "ARM", "\"Can't return in GHC call convention\"", "ARM"], "File": "ARMFastISel (2)2", "Func": "CCAssignFnForCall", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8149, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "rs6000_add_stmt_cost", "(", "class", "vec_info", "*", "vinfo", ",", "void", "*", "data", ",", "int", "count", ",", "enum", "vect_cost_for_stmt", "kind", ",", "struct", "_stmt_vec_info", "*", "stmt_info", ",", "tree", "vectype", ",", "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", ")", "{", "int", "stmt_cost", "=", "rs6000_builtin_vectorization_cost", "(", "kind", ",", "vectype", ",", "misalign", ")", ";", "stmt_cost", "+=", "rs6000_adjust_vect_cost_per_stmt", "(", "kind", ",", "stmt_info", ")", ";", "if", "(", "where", "==", "vect_body", "&&", "stmt_info", "&&", "stmt_in_inner_loop_p", "(", "vinfo", ",", "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": ["rs6000", "0", "50"], "File": "rs60001", "Func": "rs6000_add_stmt_cost", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8150, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnFunction", "(", "Function", "&", "F", ")", "override", "{", "X86LowerAMXType", "LAT", "(", "F", ")", ";", "bool", "C", "=", "LAT", ".", "visit", "(", ")", ";", "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": "X86LowerAMXType10", "Func": "runOnFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8151, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FISCPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createFISCISelDag", "(", "getFISCTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["FISC", "FISC", "FISC", "FISC"], "File": "FISCTargetMachine", "Func": "addInstSelector", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8152, "Length": 25, "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": 8153, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "loongarch_function_arg_advance", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "struct", "loongarch_arg_info", "info", ";", "loongarch_get_arg_info", "(", "&", "info", ",", "cum", ",", "arg", ".", "mode", ",", "arg", ".", "type", ",", "arg", ".", "named", ",", "false", ")", ";", "cum", "->", "num_fprs", "=", "info", ".", "fpr_offset", "+", "info", ".", "num_fprs", ";", "cum", "->", "num_gprs", "=", "info", ".", "gpr_offset", "+", "info", ".", "num_gprs", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_ARG_ADVANCE", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_function_arg_advance", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8154, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "ARMBaseTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "ARMPassConfig", "(", "*", "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": ["ARM", "ARM", "ARM"], "File": "ARMTargetMachine", "Func": "createPassConfig", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8155, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "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)", "Func": "getStackAlignment", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8156, "Length": 10, "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", "::", "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", "::", "Wrapper", ":", "return", "\"MipsISD::Wrapper\"", ";", "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::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::Wrapper", "\"MipsISD::Wrapper\"", "MipsISD::DynAlloc", "\"MipsISD::DynAlloc\"", "MipsISD::Sync", "\"MipsISD::Sync\"", "MipsISD::Ext", "\"MipsISD::Ext\"", "MipsISD::Ins", "\"MipsISD::Ins\""], "File": "MipsISelLowering (2)3", "Func": "getTargetNodeName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8157, "Length": 216, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86TargetLowering", "::", "insertSSPDeclarations", "(", "Module", "&", "M", ")", "const", "{", "if", "(", "Subtarget", ".", "getTargetTriple", "(", ")", ".", "isOSMSVCRT", "(", ")", ")", "{", "M", ".", "getOrInsertGlobal", "(", "\"__security_cookie\"", ",", "Type", "::", "getInt8PtrTy", "(", "M", ".", "getContext", "(", ")", ")", ")", ";", "auto", "*", "SecurityCheckCookie", "=", "cast", "<", "Function", ">", "(", "M", ".", "getOrInsertFunction", "(", "\"__security_check_cookie\"", ",", "Type", "::", "getVoidTy", "(", "M", ".", "getContext", "(", ")", ")", ",", "Type", "::", "getInt8PtrTy", "(", "M", ".", "getContext", "(", ")", ")", ")", ")", ";", "SecurityCheckCookie", "->", "setCallingConv", "(", "CallingConv", "::", "X86_FastCall", ")", ";", "SecurityCheckCookie", "->", "addAttribute", "(", "1", ",", "Attribute", "::", "AttrKind", "::", "InReg", ")", ";", "return", ";", "}", "if", "(", "hasStackGuardSlotTLS", "(", "Subtarget", ".", "getTargetTriple", "(", ")", ")", ")", "return", ";", "TargetLowering", "::", "insertSSPDeclarations", "(", "M", ")", ";", "}", ""], "natrual_language": ["Inserts", "necessary", "declarations", "for", "SSP", "(", "stack", "protection", ")", "purpose", "."], "TS_V_token": ["X86", "X86", "\"__security_cookie\"", "\"__security_check_cookie\"", "X86", "1"], "File": "X86ISelLowering143", "Func": "insertSSPDeclarations", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8158, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SystemZTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "ZERO_EXTEND", ":", "return", "combineZERO_EXTEND", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "return", "combineSIGN_EXTEND", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SIGN_EXTEND_INREG", ":", "return", "combineSIGN_EXTEND_INREG", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "MERGE_HIGH", ":", "case", "SystemZISD", "::", "MERGE_LOW", ":", "return", "combineMERGE", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "combineSTORE", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "EXTRACT_VECTOR_ELT", ":", "return", "combineEXTRACT_VECTOR_ELT", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "JOIN_DWORDS", ":", "return", "combineJOIN_DWORDS", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "FP_ROUND", ":", "return", "combineFP_ROUND", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "BSWAP", ":", "return", "combineBSWAP", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "BR_CCMASK", ":", "return", "combineBR_CCMASK", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "SELECT_CCMASK", ":", "return", "combineSELECT_CCMASK", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "GET_CCMASK", ":", "return", "combineGET_CCMASK", "(", "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": ["SystemZ", "SystemZ", "ISD::ZERO_EXTEND", "ISD::SIGN_EXTEND", "ISD::SIGN_EXTEND_INREG", "SystemZISD::MERGE_HIGH", "SystemZISD::MERGE_LOW", "ISD::STORE", "ISD::EXTRACT_VECTOR_ELT", "SystemZISD::JOIN_DWORDS", "ISD::FP_ROUND", "ISD::BSWAP", "SystemZISD::BR_CCMASK", "SystemZISD::SELECT_CCMASK", "SystemZISD::GET_CCMASK"], "File": "SystemZISelLowering34", "Func": "PerformDAGCombine", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8159, "Length": 196, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ia64_can_eliminate", "(", "const", "int", "from", "ATTRIBUTE_UNUSED", ",", "const", "int", "to", ")", "{", "return", "(", "to", "==", "BR_REG", "(", "0", ")", "?", "crtl", "->", "is_leaf", ":", "true", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_CAN_ELIMINATE", "."], "TS_V_token": ["ia64", "0"], "File": "ia64", "Func": "ia64_can_eliminate", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8160, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mips_split_const_insns", "(", "rtx", "x", ")", "{", "unsigned", "int", "low", ",", "high", ";", "low", "=", "mips_const_insns", "(", "mips_subword", "(", "x", ",", "false", ")", ")", ";", "high", "=", "mips_const_insns", "(", "mips_subword", "(", "x", ",", "true", ")", ")", ";", "gcc_assert", "(", "low", ">", "0", "&&", "high", ">", "0", ")", ";", "return", "low", "+", "high", ";", "}", ""], "natrual_language": ["X", "is", "a", "doubleword", "constant", "that", "can", "be", "handled", "by", "splitting", "it", "into", "two", "words", "and", "loading", "each", "word", "separately", ".", "Return", "the", "number", "of", "instructions", "required", "to", "do", "this", ",", "assuming", "that", "BASE_INSN_LENGTH", "is", "the", "length", "of", "one", "instruction", "."], "TS_V_token": ["mips", "0", "0"], "File": "mips", "Func": "mips_split_const_insns", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8161, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "switch", "(", "ConstraintID", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected asm memory constraint\"", ")", ";", "case", "InlineAsm", "::", "Constraint_i", ":", "case", "InlineAsm", "::", "Constraint_m", ":", "case", "InlineAsm", "::", "Constraint_o", ":", "case", "InlineAsm", "::", "Constraint_Q", ":", "case", "InlineAsm", "::", "Constraint_Um", ":", "case", "InlineAsm", "::", "Constraint_Un", ":", "case", "InlineAsm", "::", "Constraint_Uq", ":", "case", "InlineAsm", "::", "Constraint_Us", ":", "case", "InlineAsm", "::", "Constraint_Ut", ":", "case", "InlineAsm", "::", "Constraint_Uv", ":", "case", "InlineAsm", "::", "Constraint_Uy", ":", "OutOps", ".", "push_back", "(", "Op", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["ARM", "ARM", "\"Unexpected asm memory constraint\""], "File": "ARMISelDAGToDAG (2)4", "Func": "SelectInlineAsmMemoryOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8162, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AvoidTrailingCallPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "X86Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "const", "X86InstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "assert", "(", "STI", ".", "isTargetWin64", "(", ")", "&&", "\"pass only runs on Win64\"", ")", ";", "if", "(", "!", "MF", ".", "hasWinCFI", "(", ")", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "MachineBasicBlock", "*", "NextMBB", "=", "MBB", ".", "getNextNode", "(", ")", ";", "if", "(", "NextMBB", "&&", "!", "NextMBB", "->", "isEHFuncletEntry", "(", ")", ")", "continue", ";", "auto", "LastRealInstr", "=", "llvm", "::", "find_if", "(", "reverse", "(", "MBB", ")", ",", "isCallOrRealInstruction", ")", ";", "bool", "IsEmpty", "=", "LastRealInstr", "==", "MBB", ".", "rend", "(", ")", ";", "bool", "IsCall", "=", "!", "IsEmpty", "&&", "isCallInstruction", "(", "*", "LastRealInstr", ")", ";", "if", "(", "IsEmpty", "||", "IsCall", ")", "{", "LLVM_DEBUG", "(", "{", "if", "(", "IsCall", ")", "{", "dbgs", "(", ")", "<<", "\"inserting int3 after trailing call instruction:\\n\"", ";", "LastRealInstr", "->", "dump", "(", ")", ";", "dbgs", "(", ")", "<<", "'\\n'", ";", "}", "else", "{", "dbgs", "(", ")", "<<", "\"inserting int3 in trailing empty MBB:\\n\"", ";", "MBB", ".", "dump", "(", ")", ";", "}", "}", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "end", "(", ")", ";", "DebugLoc", "DL", ";", "if", "(", "IsCall", ")", "{", "MBBI", "=", "std", "::", "next", "(", "LastRealInstr", ".", "getReverse", "(", ")", ")", ";", "DL", "=", "LastRealInstr", "->", "getDebugLoc", "(", ")", ";", "}", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "X86", "::", "INT3", ")", ")", ";", "Changed", "=", "true", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "\"pass only runs on Win64\"", "\"inserting int3 after trailing call instruction:\\n\"", "\"inserting int3 in trailing empty MBB:\\n\"", "X86::INT3"], "File": "X86AvoidTrailingCall", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8163, "Length": 255, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86ATTInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "OS", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "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", ",", "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": "X86ATTInstPrinter27", "Func": "printInst", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8164, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCFastISel", "::", "fastEmit_i", "(", "MVT", "Ty", ",", "MVT", "VT", ",", "unsigned", "Opc", ",", "uint64_t", "Imm", ")", "{", "if", "(", "Opc", "!=", "ISD", "::", "Constant", ")", "return", "0", ";", "if", "(", "VT", "==", "MVT", "::", "i1", "&&", "PPCSubTarget", "->", "useCRBits", "(", ")", ")", "{", "unsigned", "ImmReg", "=", "createResultReg", "(", "&", "PPC", "::", "CRBITRCRegClass", ")", ";", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "TII", ".", "get", "(", "Imm", "==", "0", "?", "PPC", "::", "CRUNSET", ":", "PPC", "::", "CRSET", ")", ",", "ImmReg", ")", ";", "return", "ImmReg", ";", "}", "if", "(", "VT", "!=", "MVT", "::", "i64", "&&", "VT", "!=", "MVT", "::", "i32", "&&", "VT", "!=", "MVT", "::", "i16", "&&", "VT", "!=", "MVT", "::", "i8", "&&", "VT", "!=", "MVT", "::", "i1", ")", "return", "0", ";", "const", "TargetRegisterClass", "*", "RC", "=", "(", "(", "VT", "==", "MVT", "::", "i64", ")", "?", "&", "PPC", "::", "G8RCRegClass", ":", "&", "PPC", "::", "GPRCRegClass", ")", ";", "if", "(", "VT", "==", "MVT", "::", "i64", ")", "return", "PPCMaterialize64BitInt", "(", "Imm", ",", "RC", ")", ";", "else", "return", "PPCMaterialize32BitInt", "(", "Imm", ",", "RC", ")", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "by", "target-independent", "code", "to", "request", "that", "an", "instruction", "with", "the", "given", "type", ",", "opcode", ",", "and", "immediate", "operand", "be", "emitted", "."], "TS_V_token": ["PowerPC", "PPC", "ISD::Constant", "0", "MVT::i1", "PPC", "PPC::CRBITRCRegClass", "0", "PPC::CRUNSET", "PPC::CRSET", "MVT::i64", "MVT::i32", "MVT::i16", "MVT::i8", "MVT::i1", "0", "MVT::i64", "PPC::G8RCRegClass", "PPC::GPRCRegClass", "MVT::i64", "PPC", "PPC"], "File": "PPCFastISel (2)", "Func": "fastEmit_i", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8165, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "canUseLEAForSPInEpilogue", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "!", "MF", ".", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", "->", "usesWindowsCFI", "(", ")", "||", "hasFP", "(", "MF", ")", ";", "}", ""], "natrual_language": ["Check", "that", "LEA", "can", "be", "used", "on", "SP", "in", "an", "epilogue", "sequence", "for", "MF", "."], "TS_V_token": ["X86", "X86"], "File": "X86FrameLowering (2)2", "Func": "canUseLEAForSPInEpilogue", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8166, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "i386_nlm_strip_name_encoding", "(", "const", "char", "*", "str", ")", "{", "const", "char", "*", "name", "=", "default_strip_name_encoding", "(", "str", ")", ";", "if", "(", "*", "str", "!=", "'*'", "&&", "(", "*", "name", "==", "'_'", "||", "*", "name", "==", "'@'", ")", ")", "{", "const", "char", "*", "p", "=", "strchr", "(", "name", "+", "1", ",", "'@'", ")", ";", "if", "(", "p", ")", "{", "++", "name", ";", "if", "(", "ISDIGIT", "(", "p", "[", "1", "]", ")", ")", "name", "=", "ggc_alloc_string", "(", "name", ",", "p", "-", "name", ")", ";", "else", "{", "gcc_assert", "(", "ISDIGIT", "(", "*", "name", ")", ")", ";", "name", "++", ";", "gcc_assert", "(", "name", "==", "p", ")", ";", "}", "}", "}", "return", "name", ";", "}", ""], "natrual_language": ["Strip", "the", "stdcall/fastcall/regparm", "pre-/suffix", "."], "TS_V_token": ["i386", "1", "1"], "File": "netware", "Func": "i386_nlm_strip_name_encoding", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8167, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "Mips", "::", "FP", ":", "Mips", "::", "SP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["Mips", "Mips", "Mips::FP", "Mips::SP"], "File": "MipsRegisterInfo14", "Func": "getFrameRegister", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8168, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "emitStackProbe", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "DebugLoc", "&", "DL", ",", "bool", "InProlog", ")", "const", "{", "const", "X86Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "STI", ".", "isTargetWindowsCoreCLR", "(", ")", ")", "{", "if", "(", "InProlog", ")", "{", "emitStackProbeInlineStub", "(", "MF", ",", "MBB", ",", "MBBI", ",", "DL", ",", "true", ")", ";", "}", "else", "{", "emitStackProbeInline", "(", "MF", ",", "MBB", ",", "MBBI", ",", "DL", ",", "false", ")", ";", "}", "}", "else", "{", "emitStackProbeCall", "(", "MF", ",", "MBB", ",", "MBBI", ",", "DL", ",", "InProlog", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "target", "stack", "probe", "code", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86FrameLowering (2)2", "Func": "emitStackProbe", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8169, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "override", "{", "bool", "Changed", "=", "false", ";", "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": ["Cpu0"], "File": "Cpu0DelaySlotFiller", "Func": "runOnMachineFunction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8170, "Length": 54, "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\"", ";", "case", "SPISD", "::", "TAIL_CALL", ":", "return", "\"SPISD::TAIL_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\"", "SPISD::TAIL_CALL", "\"SPISD::TAIL_CALL\""], "File": "SparcISelLowering45", "Func": "getTargetNodeName", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8171, "Length": 210, "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", "(", ")", ")", "?", "Subtarget", "->", "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", ")", ",", "&", "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", "256", "AArch64", "AArch64", "0"], "File": "AArch64SelectionDAGInfo13", "Func": "EmitTargetCodeForMemset", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8172, "Length": 279, "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": 8173, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsLongBranch", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "const", "MipsInstrInfo", "*", "TII", "=", "static_cast", "<", "const", "MipsInstrInfo", "*", ">", "(", "TM", ".", "getInstrInfo", "(", ")", ")", ";", "if", "(", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "inMips16Mode", "(", ")", ")", "return", "false", ";", "if", "(", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "&&", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "isABI_O32", "(", ")", "&&", "F", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", "->", "globalBaseRegSet", "(", ")", ")", "emitGPDisp", "(", "F", ",", "TII", ")", ";", "if", "(", "SkipLongBranch", ")", "return", "true", ";", "MF", "=", "&", "F", ";", "initMBBInfo", "(", ")", ";", "SmallVectorImpl", "<", "MBBInfo", ">", "::", "iterator", "I", ",", "E", "=", "MBBInfos", ".", "end", "(", ")", ";", "bool", "EverMadeChange", "=", "false", ",", "MadeChange", "=", "true", ";", "while", "(", "MadeChange", ")", "{", "MadeChange", "=", "false", ";", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "!", "I", "->", "Br", "||", "I", "->", "HasLongBranch", ")", "continue", ";", "int", "ShVal", "=", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "inMicroMipsMode", "(", ")", "?", "2", ":", "4", ";", "int64_t", "Offset", "=", "computeOffset", "(", "I", "->", "Br", ")", "/", "ShVal", ";", "if", "(", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "isTargetNaCl", "(", ")", ")", "{", "Offset", "*=", "2", ";", "}", "if", "(", "!", "ForceLongBranch", "&&", "isInt", "<", "16", ">", "(", "Offset", ")", ")", "continue", ";", "I", "->", "HasLongBranch", "=", "true", ";", "I", "->", "Size", "+=", "LongBranchSeqSize", "*", "4", ";", "++", "LongBranches", ";", "EverMadeChange", "=", "MadeChange", "=", "true", ";", "}", "}", "if", "(", "!", "EverMadeChange", ")", "return", "true", ";", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "{", "uint64_t", "Address", "=", "0", ";", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "Address", "+=", "I", "->", "Size", ",", "++", "I", ")", "I", "->", "Address", "=", "Address", ";", "}", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "if", "(", "I", "->", "HasLongBranch", ")", "expandToLongBranch", "(", "*", "I", ")", ";", "MF", "->", "RenumberBlocks", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "2", "4", "Mips", "2", "16", "4", "0"], "File": "MipsLongBranch", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8174, "Length": 363, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pru_assemble_integer", "(", "rtx", "x", ",", "unsigned", "int", "size", ",", "int", "aligned_p", ")", "{", "if", "(", "size", "==", "POINTER_SIZE", "/", "BITS_PER_UNIT", "&&", "aligned_p", "&&", "text_segment_operand", "(", "x", ",", "VOIDmode", ")", ")", "{", "fputs", "(", "\"\\t.4byte\\t%pmem(\"", ",", "asm_out_file", ")", ";", "output_addr_const", "(", "asm_out_file", ",", "x", ")", ";", "fputs", "(", "\")\\n\"", ",", "asm_out_file", ")", ";", "return", "true", ";", "}", "else", "if", "(", "size", "==", "INIT_ARRAY_ENTRY_BYTES", "&&", "aligned_p", "&&", "text_segment_operand", "(", "x", ",", "VOIDmode", ")", ")", "{", "fputs", "(", "\"\\t.2byte\\t%pmem(\"", ",", "asm_out_file", ")", ";", "output_addr_const", "(", "asm_out_file", ",", "x", ")", ";", "fputs", "(", "\")\\n\"", ",", "asm_out_file", ")", ";", "return", "true", ";", "}", "else", "{", "return", "default_assemble_integer", "(", "x", ",", "size", ",", "aligned_p", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "`", "TARGET_ASM_INTEGER", "'", ".", "Target", "hook", "for", "assembling", "integer", "objects", ".", "PRU", "version", "needs", "special", "handling", "for", "references", "to", "pmem", ".", "Code", "copied", "from", "AVR", "."], "TS_V_token": ["pru", "\"\\t.4byte\\t%pmem(\"", "\")\\n\"", "\"\\t.2byte\\t%pmem(\"", "\")\\n\""], "File": "pru", "Func": "pru_assemble_integer", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8175, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "detect_caches_amd", "(", "unsigned", "max_ext_level", ")", "{", "unsigned", "eax", ",", "ebx", ",", "ecx", ",", "edx", ";", "struct", "cache_desc", "level1", ",", "level2", "=", "{", "0", ",", "0", ",", "0", "}", ";", "if", "(", "max_ext_level", "<", "0x80000005", ")", "return", "\"\"", ";", "__cpuid", "(", "0x80000005", ",", "eax", ",", "ebx", ",", "ecx", ",", "edx", ")", ";", "level1", ".", "sizekb", "=", "(", "ecx", ">>", "24", ")", "&", "0xff", ";", "level1", ".", "assoc", "=", "(", "ecx", ">>", "16", ")", "&", "0xff", ";", "level1", ".", "line", "=", "ecx", "&", "0xff", ";", "if", "(", "max_ext_level", ">=", "0x80000006", ")", "detect_l2_cache", "(", "&", "level2", ")", ";", "return", "describe_cache", "(", "level1", ",", "level2", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "description", "of", "caches", "for", "an", "AMD", "processor", "."], "TS_V_token": ["i386", "0", "0", "0", "0x80000005", "\"\"", "0x80000005", "24", "0xff", "16", "0xff", "0xff", "0x80000006"], "File": "driver-i386", "Func": "detect_caches_amd", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8176, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "SparcTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "StringRef", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'r'", ":", "if", "(", "VT", "==", "MVT", "::", "v2i32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "SP", "::", "IntPairRegClass", ")", ";", "else", "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", "MVT::v2i32", "0U", "SP::IntPairRegClass", "0U", "SP::IntRegsRegClass", "5", "0", "1", "1", "2", "0", "0", "1", "\"r\"", "1", "10", "31", "8", "8", "0"], "File": "SparcISelLowering", "Func": "getRegForInlineAsmConstraint", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8177, "Length": 279, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"SystemZ Long Branch\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["SystemZ", "\"SystemZ Long Branch\""], "File": "SystemZLongBranch", "Func": "getPassName", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8178, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86TTIImpl", "::", "getIntrinsicInstrCost", "(", "Intrinsic", "::", "ID", "IID", ",", "Type", "*", "RetTy", ",", "ArrayRef", "<", "Value", "*", ">", "Args", ",", "FastMathFlags", "FMF", ",", "unsigned", "VF", ")", "{", "return", "BaseT", "::", "getIntrinsicInstrCost", "(", "IID", ",", "RetTy", ",", "Args", ",", "FMF", ",", "VF", ")", ";", "}", ""], "natrual_language": ["Get", "intrinsic", "cost", "based", "on", "arguments", "."], "TS_V_token": ["X86", "X86", "Intrinsic::ID"], "File": "X86TargetTransformInfo (2)", "Func": "getIntrinsicInstrCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8179, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMConstantPoolMBB", "::", "hasSameValue", "(", "ARMConstantPoolValue", "*", "ACPV", ")", "{", "const", "ARMConstantPoolMBB", "*", "ACPMBB", "=", "dyn_cast", "<", "ARMConstantPoolMBB", ">", "(", "ACPV", ")", ";", "return", "ACPMBB", "&&", "ACPMBB", "->", "MBB", "==", "MBB", "&&", "ARMConstantPoolValue", "::", "hasSameValue", "(", "ACPV", ")", ";", "}", ""], "natrual_language": ["hasSameValue", "-", "Return", "true", "if", "this", "ARM", "constpool", "value", "can", "share", "the", "same", "constantpool", "entry", "as", "another", "ARM", "constpool", "value", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM", "ARM"], "File": "ARMConstantPoolValue (2)", "Func": "hasSameValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8180, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", "AddrSpace", ",", "unsigned", "Align", ",", "bool", "*", "Fast", ")", "const", "{", "if", "(", "Subtarget", "->", "requiresStrictAlign", "(", ")", ")", "return", "false", ";", "if", "(", "Fast", ")", "*", "Fast", "=", "true", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ISelLowering122", "Func": "allowsMisalignedMemoryAccesses", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8181, "Length": 44, "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", "=", "HARD_REGNO_NREGS", "(", "src1", ",", "halfmode", ")", ";", "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", "0", "0", "0", "1", "2", "2", "2", "1", "2", "2", "1"], "File": "arm5", "Func": "neon_split_vcombine", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8182, "Length": 277, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "OR1KInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "O", ",", "unsigned", "RegNo", ")", "const", "{", "O", "<<", "getRegisterName", "(", "RegNo", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["OR1K", "OR1K"], "File": "OR1KInstPrinter1", "Func": "printRegName", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8183, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "LanaiInstrInfo", "::", "optimizeSelect", "(", "MachineInstr", "&", "MI", ",", "SmallPtrSetImpl", "<", "MachineInstr", "*", ">", "&", "SeenMIs", ",", "bool", "PreferFalse", ")", "const", "{", "assert", "(", "MI", ".", "getOpcode", "(", ")", "==", "Lanai", "::", "SELECT", "&&", "\"unknown select instruction\"", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MachineInstr", "*", "DefMI", "=", "canFoldIntoSelect", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ",", "MRI", ",", "this", ")", ";", "bool", "Invert", "=", "!", "DefMI", ";", "if", "(", "!", "DefMI", ")", "DefMI", "=", "canFoldIntoSelect", "(", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ",", "MRI", ",", "this", ")", ";", "if", "(", "!", "DefMI", ")", "return", "nullptr", ";", "MachineOperand", "FalseReg", "=", "MI", ".", "getOperand", "(", "Invert", "?", "1", ":", "2", ")", ";", "unsigned", "DestReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "PreviousClass", "=", "MRI", ".", "getRegClass", "(", "FalseReg", ".", "getReg", "(", ")", ")", ";", "if", "(", "!", "MRI", ".", "constrainRegClass", "(", "DestReg", ",", "PreviousClass", ")", ")", "return", "nullptr", ";", "MachineInstrBuilder", "NewMI", "=", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "DefMI", "->", "getDesc", "(", ")", ",", "DestReg", ")", ";", "const", "MCInstrDesc", "&", "DefDesc", "=", "DefMI", "->", "getDesc", "(", ")", ";", "for", "(", "unsigned", "i", "=", "1", ",", "e", "=", "DefDesc", ".", "getNumOperands", "(", ")", ";", "i", "!=", "e", "&&", "!", "DefDesc", ".", "OpInfo", "[", "i", "]", ".", "isPredicate", "(", ")", ";", "++", "i", ")", "NewMI", ".", "addOperand", "(", "DefMI", "->", "getOperand", "(", "i", ")", ")", ";", "unsigned", "CondCode", "=", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "if", "(", "Invert", ")", "NewMI", ".", "addImm", "(", "getOppositeCondition", "(", "LPCC", "::", "CondCode", "(", "CondCode", ")", ")", ")", ";", "else", "NewMI", ".", "addImm", "(", "CondCode", ")", ";", "NewMI", ".", "copyImplicitOps", "(", "MI", ")", ";", "FalseReg", ".", "setImplicit", "(", ")", ";", "NewMI", ".", "addOperand", "(", "FalseReg", ")", ";", "NewMI", "->", "tieOperands", "(", "0", ",", "NewMI", "->", "getNumOperands", "(", ")", "-", "1", ")", ";", "SeenMIs", ".", "insert", "(", "NewMI", ")", ";", "SeenMIs", ".", "erase", "(", "DefMI", ")", ";", "if", "(", "DefMI", "->", "getParent", "(", ")", "!=", "MI", ".", "getParent", "(", ")", ")", "NewMI", "->", "clearKillInfo", "(", ")", ";", "DefMI", "->", "eraseFromParent", "(", ")", ";", "return", "NewMI", ";", "}", ""], "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": ["Lanai", "Lanai", "Lanai::SELECT", "\"unknown select instruction\"", "1", "2", "1", "2", "0", "1", "3", "0", "1"], "File": "LanaiInstrInfo", "Func": "optimizeSelect", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8184, "Length": 382, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "SparcInstrInfo", "::", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "unsigned", ">", "&", "Ops", ",", "int", "FI", ")", "const", "{", "if", "(", "Ops", ".", "size", "(", ")", "!=", "1", ")", "return", "NULL", ";", "unsigned", "OpNum", "=", "Ops", "[", "0", "]", ";", "bool", "isFloat", "=", "false", ";", "MachineInstr", "*", "NewMI", "=", "NULL", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "SP", "::", "ORrr", ":", "if", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "SP", "::", "G0", "&&", "MI", "->", "getOperand", "(", "0", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "2", ")", ".", "isReg", "(", ")", ")", "{", "if", "(", "OpNum", "==", "0", ")", "NewMI", "=", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "SP", "::", "STri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ";", "else", "NewMI", "=", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "SP", "::", "LDri", ")", ",", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "}", "break", ";", "case", "SP", "::", "FMOVS", ":", "isFloat", "=", "true", ";", "case", "SP", "::", "FMOVD", ":", "if", "(", "OpNum", "==", "0", ")", "{", "unsigned", "SrcReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "bool", "isKill", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "isKill", "(", ")", ";", "NewMI", "=", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "isFloat", "?", "SP", "::", "STFri", ":", "SP", "::", "STDFri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "}", "else", "{", "unsigned", "DstReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "bool", "isDead", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "isDead", "(", ")", ";", "NewMI", "=", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "isFloat", "?", "SP", "::", "LDFri", ":", "SP", "::", "LDDFri", ")", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "isDead", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "}", "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": ["Sparc", "Sparc", "1", "0", "SP::ORrr", "1", "1", "SP::G0", "0", "2", "0", "SP::STri", "0", "2", "SP::LDri", "0", "0", "SP::FMOVS", "SP::FMOVD", "0", "1", "1", "SP::STFri", "SP::STDFri", "0", "0", "0", "SP::LDFri", "SP::LDDFri", "0"], "File": "SparcInstrInfo17", "Func": "foldMemoryOperandImpl", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8185, "Length": 403, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "Optional", "<", "unsigned", ">", "getTag", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "const", "MachineInstr", "&", "MI", ",", "const", "LoadInfo", "&", "LI", ")", "{", "unsigned", "Dest", "=", "LI", ".", "DestReg", "?", "TRI", "->", "getEncodingValue", "(", "LI", ".", "DestReg", ")", ":", "0", ";", "unsigned", "Base", "=", "TRI", "->", "getEncodingValue", "(", "LI", ".", "BaseReg", ")", ";", "unsigned", "Off", ";", "if", "(", "LI", ".", "OffsetOpnd", "==", "nullptr", ")", "Off", "=", "0", ";", "else", "if", "(", "LI", ".", "OffsetOpnd", "->", "isGlobal", "(", ")", "||", "LI", ".", "OffsetOpnd", "->", "isSymbol", "(", ")", "||", "LI", ".", "OffsetOpnd", "->", "isCPI", "(", ")", ")", "return", "None", ";", "else", "if", "(", "LI", ".", "OffsetOpnd", "->", "isReg", "(", ")", ")", "Off", "=", "(", "1", "<<", "5", ")", "|", "TRI", "->", "getEncodingValue", "(", "LI", ".", "OffsetOpnd", "->", "getReg", "(", ")", ")", ";", "else", "Off", "=", "LI", ".", "OffsetOpnd", "->", "getImm", "(", ")", ">>", "2", ";", "return", "makeTag", "(", "Dest", ",", "Base", ",", "Off", ")", ";", "}", ""], "natrual_language": ["getTag", "-", "Return", "an", "opaque", "tag", "representing", "the", "current", "state", "of", "the", "union", "."], "TS_V_token": ["AArch64", "0", "0", "1", "5", "2"], "File": "AArch64FalkorHWPFFix", "Func": "getTag", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8186, "Length": 154, "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", "]", ".", "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", "\"\"", "\"\""], "File": "nds32-isr2", "Func": "nds32_asm_file_start_for_isr", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8187, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_print_tune_info", "(", "void", ")", "{", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\"", "ASM_COMMENT_START", "\".tune parameters\\n\"", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"constant_limit:\\t%d\\n\"", ",", "current_tune", "->", "constant_limit", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"max_insns_skipped:\\t%d\\n\"", ",", "current_tune", "->", "max_insns_skipped", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"prefetch.num_slots:\\t%d\\n\"", ",", "current_tune", "->", "prefetch", ".", "num_slots", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"prefetch.l1_cache_size:\\t%d\\n\"", ",", "current_tune", "->", "prefetch", ".", "l1_cache_size", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"prefetch.l1_cache_line_size:\\t%d\\n\"", ",", "current_tune", "->", "prefetch", ".", "l1_cache_line_size", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"prefer_constant_pool:\\t%d\\n\"", ",", "(", "int", ")", "current_tune", "->", "prefer_constant_pool", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"branch_cost:\\t(s:speed, p:predictable)\\n\"", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"\\t\\ts&p\\tcost\\n\"", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"\\t\\t00\\t%d\\n\"", ",", "current_tune", "->", "branch_cost", "(", "false", ",", "false", ")", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"\\t\\t01\\t%d\\n\"", ",", "current_tune", "->", "branch_cost", "(", "false", ",", "true", ")", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"\\t\\t10\\t%d\\n\"", ",", "current_tune", "->", "branch_cost", "(", "true", ",", "false", ")", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"\\t\\t11\\t%d\\n\"", ",", "current_tune", "->", "branch_cost", "(", "true", ",", "true", ")", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"prefer_ldrd_strd:\\t%d\\n\"", ",", "(", "int", ")", "current_tune", "->", "prefer_ldrd_strd", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"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\"", "ASM_COMMENT_START", "\"prefer_neon_for_64bits:\\t%d\\n\"", ",", "(", "int", ")", "current_tune", "->", "prefer_neon_for_64bits", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"disparage_flag_setting_t16_encodings:\\t%d\\n\"", ",", "(", "int", ")", "current_tune", "->", "disparage_flag_setting_t16_encodings", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"string_ops_prefer_neon:\\t%d\\n\"", ",", "(", "int", ")", "current_tune", "->", "string_ops_prefer_neon", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"max_insns_inline_memset:\\t%d\\n\"", ",", "current_tune", "->", "max_insns_inline_memset", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"fusible_ops:\\t%u\\n\"", ",", "current_tune", "->", "fusible_ops", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"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": "arm6", "Func": "arm_print_tune_info", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8188, "Length": 322, "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", "(", ")", "||", "MFI", ".", "hasCopyImplyingStackAdjustment", "(", ")", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86FrameLowering102", "Func": "hasFP", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8189, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb1InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "ARMSubtarget", "&", "st", "=", "MF", ".", "getTarget", "(", ")", ".", "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": "Thumb1InstrInfo14", "Func": "copyPhysReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8190, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetELFStreamer", "::", "emitAssignment", "(", "MCSymbol", "*", "Symbol", ",", "const", "MCExpr", "*", "Value", ")", "{", "if", "(", "Value", "->", "getKind", "(", ")", "!=", "MCExpr", "::", "SymbolRef", ")", "return", ";", "const", "MCSymbol", "&", "RhsSym", "=", "static_cast", "<", "const", "MCSymbolRefExpr", "*", ">", "(", "Value", ")", "->", "getSymbol", "(", ")", ";", "MCSymbolData", "&", "Data", "=", "getStreamer", "(", ")", ".", "getOrCreateSymbolData", "(", "&", "RhsSym", ")", ";", "uint8_t", "Type", "=", "MCELF", "::", "GetType", "(", "Data", ")", ";", "if", "(", "(", "Type", "!=", "ELF", "::", "STT_FUNC", ")", "||", "!", "(", "MCELF", "::", "getOther", "(", "Data", ")", "&", "(", "ELF", "::", "STO_MIPS_MICROMIPS", ">>", "2", ")", ")", ")", "return", ";", "MCSymbolData", "&", "SymbolData", "=", "getStreamer", "(", ")", ".", "getOrCreateSymbolData", "(", "Symbol", ")", ";", "MCELF", "::", "setOther", "(", "SymbolData", ",", "ELF", "::", "STO_MIPS_MICROMIPS", ">>", "2", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "assignment", "of", "Value", "to", "Symbol", "."], "TS_V_token": ["Mips", "Mips", "2", "2"], "File": "MipsTargetStreamer11", "Func": "emitAssignment", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8191, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64FastISel", "::", "fastMaterializeAlloca", "(", "const", "AllocaInst", "*", "AI", ")", "{", "assert", "(", "TLI", ".", "getValueType", "(", "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": "AArch64FastISel22", "Func": "fastMaterializeAlloca", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8192, "Length": 143, "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", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "DAG", ".", "getTarget", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_Sparc32", ")", ";", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "RetOps", "(", "1", ",", "Chain", ")", ";", "RetOps", ".", "push_back", "(", "SDValue", "(", ")", ")", ";", "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", "RetAddrOffset", "=", "8", ";", "if", "(", "MF", ".", "getFunction", "(", ")", "->", "hasStructRetAttr", "(", ")", ")", "{", "SparcMachineFunctionInfo", "*", "SFI", "=", "MF", ".", "getInfo", "<", "SparcMachineFunctionInfo", ">", "(", ")", ";", "unsigned", "Reg", "=", "SFI", "->", "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", ",", "SP", "::", "I0", ",", "Val", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "SP", "::", "I0", ",", "getPointerTy", "(", ")", ")", ")", ";", "RetAddrOffset", "=", "12", ";", "}", "RetOps", "[", "0", "]", "=", "Chain", ";", "RetOps", "[", "1", "]", "=", "DAG", ".", "getConstant", "(", "RetAddrOffset", ",", "MVT", "::", "i32", ")", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "RetOps", ".", "push_back", "(", "Flag", ")", ";", "return", "DAG", ".", "getNode", "(", "SPISD", "::", "RET_FLAG", ",", "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": ["Sparc", "Sparc", "ISD::OutputArg", "16", "Sparc", "4", "1", "0", "\"Can only return in registers!\"", "1", "8", "Sparc", "Sparc", "\"sret virtual register not created in the entry block\"", "SP::I0", "1", "SP::I0", "12", "0", "1", "MVT::i32", "SPISD::RET_FLAG", "MVT::Other", "0"], "File": "SparcISelLowering1", "Func": "LowerReturn", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8193, "Length": 405, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_fp_div_cost", "(", "machine_mode", "mode", ")", "{", "return", "mode", "==", "DFmode", "?", "mips_cost", "->", "fp_div_df", ":", "mips_cost", "->", "fp_div_sf", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "floating-point", "divisions", "of", "mode", "MODE", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_fp_div_cost", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8194, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "save_global_or_fp_reg_p", "(", "unsigned", "int", "regno", ",", "int", "leaf_function", "ATTRIBUTE_UNUSED", ")", "{", "return", "!", "call_used_regs", "[", "regno", "]", "&&", "df_regs_ever_live_p", "(", "regno", ")", ";", "}", ""], "natrual_language": ["Return", "whether", "REGNO", ",", "a", "global", "or", "FP", "register", ",", "must", "be", "saved/restored", "."], "TS_V_token": ["sparc"], "File": "sparc4", "Func": "save_global_or_fp_reg_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8195, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "isCoalescableExtInstr", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "&", "SrcReg", ",", "unsigned", "&", "DstReg", ",", "unsigned", "&", "SubIdx", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "X86", "::", "MOVSX16rr8", ":", "case", "X86", "::", "MOVZX16rr8", ":", "case", "X86", "::", "MOVSX32rr8", ":", "case", "X86", "::", "MOVZX32rr8", ":", "case", "X86", "::", "MOVSX64rr8", ":", "if", "(", "!", "Subtarget", ".", "is64Bit", "(", ")", ")", "return", "false", ";", "LLVM_FALLTHROUGH", ";", "case", "X86", "::", "MOVSX32rr16", ":", "case", "X86", "::", "MOVZX32rr16", ":", "case", "X86", "::", "MOVSX64rr16", ":", "case", "X86", "::", "MOVSX64rr32", ":", "{", "if", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getSubReg", "(", ")", "||", "MI", ".", "getOperand", "(", "1", ")", ".", "getSubReg", "(", ")", ")", "return", "false", ";", "SrcReg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "DstReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unreachable!\"", ")", ";", "case", "X86", "::", "MOVSX16rr8", ":", "case", "X86", "::", "MOVZX16rr8", ":", "case", "X86", "::", "MOVSX32rr8", ":", "case", "X86", "::", "MOVZX32rr8", ":", "case", "X86", "::", "MOVSX64rr8", ":", "SubIdx", "=", "X86", "::", "sub_8bit", ";", "break", ";", "case", "X86", "::", "MOVSX32rr16", ":", "case", "X86", "::", "MOVZX32rr16", ":", "case", "X86", "::", "MOVSX64rr16", ":", "SubIdx", "=", "X86", "::", "sub_16bit", ";", "break", ";", "case", "X86", "::", "MOVSX64rr32", ":", "SubIdx", "=", "X86", "::", "sub_32bit", ";", "break", ";", "}", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["isCoalescableExtInstr", "-", "Return", "true", "if", "the", "instruction", "is", "a", "``", "coalescable", "''", "extension", "instruction", "."], "TS_V_token": ["X86", "X86", "X86::MOVSX16rr8", "X86::MOVZX16rr8", "X86::MOVSX32rr8", "X86::MOVZX32rr8", "X86::MOVSX64rr8", "X86::MOVSX32rr16", "X86::MOVZX32rr16", "X86::MOVSX64rr16", "X86::MOVSX64rr32", "0", "1", "1", "0", "\"Unreachable!\"", "X86::MOVSX16rr8", "X86::MOVZX16rr8", "X86::MOVSX32rr8", "X86::MOVZX32rr8", "X86::MOVSX64rr8", "X86::sub_8bit", "X86::MOVSX32rr16", "X86::MOVZX32rr16", "X86::MOVSX64rr16", "X86::sub_16bit", "X86::MOVSX64rr32", "X86::sub_32bit"], "File": "X86InstrInfo", "Func": "isCoalescableExtInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8196, "Length": 245, "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": ["Lanai"], "File": "LanaiSubtarget", "Func": "enableMachineScheduler", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8197, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "const", "TargetRegisterClass", "*", ",", "uint8_t", ">", "X86TargetLowering", "::", "findRepresentativeClass", "(", "EVT", "VT", ")", "const", "{", "const", "TargetRegisterClass", "*", "RRC", "=", "0", ";", "uint8_t", "Cost", "=", "1", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "return", "TargetLowering", "::", "findRepresentativeClass", "(", "VT", ")", ";", "case", "MVT", "::", "i8", ":", "case", "MVT", "::", "i16", ":", "case", "MVT", "::", "i32", ":", "case", "MVT", "::", "i64", ":", "RRC", "=", "(", "Subtarget", "->", "is64Bit", "(", ")", "?", "X86", "::", "GR64RegisterClass", ":", "X86", "::", "GR32RegisterClass", ")", ";", "break", ";", "case", "MVT", "::", "x86mmx", ":", "RRC", "=", "X86", "::", "VR64RegisterClass", ";", "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", "::", "VR128RegisterClass", ";", "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", "0", "1", "MVT::i8", "MVT::i16", "MVT::i32", "MVT::i64", "X86::GR64RegisterClass", "X86::GR32RegisterClass", "MVT::x86mmx", "X86::VR64RegisterClass", "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::VR128RegisterClass"], "File": "X86ISelLowering114", "Func": "findRepresentativeClass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8198, "Length": 190, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SparcInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "SP", "::", "STri", "||", "MI", ".", "getOpcode", "(", ")", "==", "SP", "::", "STXri", "||", "MI", ".", "getOpcode", "(", ")", "==", "SP", "::", "STFri", "||", "MI", ".", "getOpcode", "(", ")", "==", "SP", "::", "STDFri", "||", "MI", ".", "getOpcode", "(", ")", "==", "SP", "::", "STQFri", ")", "{", "if", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "isFI", "(", ")", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "==", "0", ")", "{", "FrameIndex", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "2", ")", ".", "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": ["Sparc", "Sparc", "SP::STri", "SP::STXri", "SP::STFri", "SP::STDFri", "SP::STQFri", "0", "1", "1", "0", "0", "2", "0"], "File": "SparcInstrInfo1", "Func": "isStoreToStackSlot", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8199, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "F2003fMCAsmStreamer", "::", "emitFill", "(", "const", "MCExpr", "&", "NumValues", ",", "int64_t", "Size", ",", "int64_t", "Expr", ",", "SMLoc", "Loc", ")", "{", "llvm_unreachable", "(", "\"2003lk doesn't support this directive\"", ")", ";", "}", ""], "natrual_language": ["Emit", "Size", "bytes", "worth", "of", "the", "value", "specified", "by", "FillValue", "."], "TS_V_token": ["F2003f", "F2003f", "\"2003lk doesn't support this directive\""], "File": "F2003fMCAsmStreamer", "Func": "emitFill", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8200, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "or1k_print_operand", "(", "FILE", "*", "file", ",", "rtx", "x", ",", "int", "code", ")", "{", "rtx", "operand", "=", "x", ";", "switch", "(", "code", ")", "{", "case", "'#'", ":", "if", "(", "final_sequence", "==", "NULL", ")", "fputs", "(", "\"\\n\\t l.nop\\n\"", ",", "file", ")", ";", "break", ";", "case", "'r'", ":", "if", "(", "REG_P", "(", "x", ")", ")", "fprintf", "(", "file", ",", "\"%s\"", ",", "reg_names", "[", "REGNO", "(", "operand", ")", "]", ")", ";", "else", "if", "(", "x", "==", "CONST0_RTX", "(", "GET_MODE", "(", "x", ")", ")", ")", "fprintf", "(", "file", ",", "\"r0\"", ")", ";", "else", "output_operand_lossage", "(", "\"invalid %%r value\"", ")", ";", "break", ";", "case", "'H'", ":", "if", "(", "REG_P", "(", "x", ")", ")", "fprintf", "(", "file", ",", "\"%s\"", ",", "reg_names", "[", "REGNO", "(", "operand", ")", "+", "1", "]", ")", ";", "else", "output_operand_lossage", "(", "\"invalid %%H value\"", ")", ";", "break", ";", "case", "'h'", ":", "print_reloc", "(", "file", ",", "x", ",", "0", ",", "RKIND_HI", ")", ";", "break", ";", "case", "'L'", ":", "print_reloc", "(", "file", ",", "x", ",", "0", ",", "RKIND_LO", ")", ";", "break", ";", "case", "'P'", ":", "if", "(", "!", "flag_pic", "||", "SYMBOL_REF_LOCAL_P", "(", "x", ")", ")", "output_addr_const", "(", "file", ",", "x", ")", ";", "else", "output_addr_reloc", "(", "file", ",", "x", ",", "0", ",", "\"plt\"", ")", ";", "break", ";", "case", "0", ":", "switch", "(", "GET_CODE", "(", "operand", ")", ")", "{", "case", "REG", ":", "if", "(", "REGNO", "(", "operand", ")", ">", "31", ")", "internal_error", "(", "\"internal error: bad register: %d\"", ",", "REGNO", "(", "operand", ")", ")", ";", "fprintf", "(", "file", ",", "\"%s\"", ",", "reg_names", "[", "REGNO", "(", "operand", ")", "]", ")", ";", "break", ";", "case", "MEM", ":", "output_address", "(", "GET_MODE", "(", "XEXP", "(", "operand", ",", "0", ")", ")", ",", "XEXP", "(", "operand", ",", "0", ")", ")", ";", "break", ";", "case", "CODE_LABEL", ":", "case", "LABEL_REF", ":", "output_asm_label", "(", "operand", ")", ";", "break", ";", "default", ":", "if", "(", "CONSTANT_P", "(", "operand", ")", ")", "output_addr_const", "(", "file", ",", "operand", ")", ";", "else", "internal_error", "(", "\"unexpected operand: %d\"", ",", "GET_CODE", "(", "operand", ")", ")", ";", "break", ";", "}", "break", ";", "default", ":", "output_operand_lossage", "(", "\"unknown operand letter: '%c'\"", ",", "code", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Worker", "for", "TARGET_PRINT_OPERAND", ".", "Print", "operand", "X", ",", "an", "RTX", ",", "to", "the", "file", "FILE", ".", "The", "output", "is", "formed", "as", "expected", "by", "the", "OpenRISC", "assember", ".", "CODE", "is", "the", "letter", "following", "a", "'", "%", "'", "in", "an", "instrunction", "template", "used", "to", "control", "the", "RTX", "output", ".", "Example", "(", "s", ")", ":", "CODE", "RTX", "OUTPUT", "COMMENT", "0", "(", "reg", ":", "SI", "3", ")", "r3", "output", "an", "operand", "r", "(", "reg", ":", "SI", "3", ")", "r3", "output", "a", "register", "or", "const", "zero", "H", "(", "reg", ":", "SI", "3", ")", "r4", "output", "the", "high", "pair", "register", "h", "(", "symbol_ref", ":", "SI", "(", "``", "x", "''", ")", ")", "ha", "(", "x", ")", "output", "a", "signed", "high", "relocation", "L", "(", "symbol_ref", ":", "SI", "(", "``", "x", "''", ")", ")", "lo", "(", "x", ")", "output", "a", "low", "relocation", "Note", ",", "'", "#", "'", "is", "a", "special", "code", "used", "to", "fill", "the", "branch", "delay", "slot", "with", "an", "l.nop", "instruction", ".", "The", "l.nop", "(", "no-op", ")", "instruction", "is", "only", "outputted", "when", "the", "delay", "slot", "has", "not", "been", "filled", "."], "TS_V_token": ["or1k", "\"\\n\\t l.nop\\n\"", "\"%s\"", "\"r0\"", "\"invalid %%r value\"", "\"%s\"", "1", "\"invalid %%H value\"", "0", "0", "0", "\"plt\"", "0", "31", "\"internal error: bad register: %d\"", "\"%s\"", "0", "0", "\"unexpected operand: %d\"", "\"unknown operand letter: '%c'\""], "File": "or1k2", "Func": "or1k_print_operand", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8201, "Length": 330, "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": 8202, "Length": 34, "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": 8203, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "getSubExpr", "(", ")", "const", "{", "return", "Expr", ";", "}", ""], "natrual_language": ["getSubExpr", "-", "Get", "the", "child", "of", "this", "expression", "."], "TS_V_token": ["CAHP"], "File": "CAHPMCExpr", "Func": "getSubExpr", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8204, "Length": 12, "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", "(", ")", ")", "{", "SectionKind", "Kind", "=", "CPE", ".", "getSectionKind", "(", "TM", ".", "getSubtargetImpl", "(", ")", "->", "getDataLayout", "(", ")", ")", ";", "const", "Constant", "*", "C", "=", "CPE", ".", "Val", ".", "ConstVal", ";", "if", "(", "const", "MCSectionCOFF", "*", "S", "=", "dyn_cast", "<", "MCSectionCOFF", ">", "(", "getObjFileLowering", "(", ")", ".", "getSectionForConstant", "(", "Kind", ",", "C", ")", ")", ")", "{", "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": "X86AsmPrinter102", "Func": "GetCPISymbol", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8205, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "KudeyarInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["Kudeyar", "Kudeyar"], "File": "KudeyarTargetMachine", "Func": "getInstrInfo", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8206, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PPCTargetLowering", "::", "ConstraintType", "PPCTargetLowering", "::", "getConstraintType", "(", "StringRef", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'b'", ":", "case", "'r'", ":", "case", "'f'", ":", "case", "'d'", ":", "case", "'v'", ":", "case", "'y'", ":", "return", "C_RegisterClass", ";", "case", "'Z'", ":", "return", "C_Memory", ";", "}", "}", "else", "if", "(", "Constraint", "==", "\"wc\"", ")", "{", "return", "C_RegisterClass", ";", "}", "else", "if", "(", "Constraint", "==", "\"wa\"", "||", "Constraint", "==", "\"wd\"", "||", "Constraint", "==", "\"wf\"", "||", "Constraint", "==", "\"ws\"", "||", "Constraint", "==", "\"wi\"", "||", "Constraint", "==", "\"ww\"", ")", "{", "return", "C_RegisterClass", ";", "}", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "1", "0", "\"wc\"", "\"wa\"", "\"wd\"", "\"wf\"", "\"ws\"", "\"wi\"", "\"ww\""], "File": "PPCISelLowering100", "Func": "getConstraintType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8207, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "uint64_t", "Address", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "raw_ostream", "&", "O", ")", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Mips", "::", "RDHWR", ":", "case", "Mips", "::", "RDHWR64", ":", "O", "<<", "\"\\t.set\\tpush\\n\"", ";", "O", "<<", "\"\\t.set\\tmips32r2\\n\"", ";", "break", ";", "case", "Mips", "::", "Save16", ":", "O", "<<", "\"\\tsave\\t\"", ";", "printSaveRestore", "(", "MI", ",", "O", ")", ";", "O", "<<", "\" # 16 bit inst\\n\"", ";", "return", ";", "case", "Mips", "::", "SaveX16", ":", "O", "<<", "\"\\tsave\\t\"", ";", "printSaveRestore", "(", "MI", ",", "O", ")", ";", "O", "<<", "\"\\n\"", ";", "return", ";", "case", "Mips", "::", "Restore16", ":", "O", "<<", "\"\\trestore\\t\"", ";", "printSaveRestore", "(", "MI", ",", "O", ")", ";", "O", "<<", "\" # 16 bit inst\\n\"", ";", "return", ";", "case", "Mips", "::", "RestoreX16", ":", "O", "<<", "\"\\trestore\\t\"", ";", "printSaveRestore", "(", "MI", ",", "O", ")", ";", "O", "<<", "\"\\n\"", ";", "return", ";", "}", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "Address", ",", "O", ")", "&&", "!", "printAlias", "(", "*", "MI", ",", "O", ")", ")", "printInstruction", "(", "MI", ",", "Address", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Mips", "::", "RDHWR", ":", "case", "Mips", "::", "RDHWR64", ":", "O", "<<", "\"\\n\\t.set\\tpop\"", ";", "}", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["Mips", "Mips", "Mips::RDHWR", "Mips::RDHWR64", "\"\\t.set\\tpush\\n\"", "\"\\t.set\\tmips32r2\\n\"", "Mips::Save16", "\"\\tsave\\t\"", "\" # 16 bit inst\\n\"", "Mips::SaveX16", "\"\\tsave\\t\"", "\"\\n\"", "Mips::Restore16", "\"\\trestore\\t\"", "\" # 16 bit inst\\n\"", "Mips::RestoreX16", "\"\\trestore\\t\"", "\"\\n\"", "Mips::RDHWR", "Mips::RDHWR64", "\"\\n\\t.set\\tpop\""], "File": "MipsInstPrinter16", "Func": "printInst", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8208, "Length": 214, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SHUXIInstrInfo", "::", "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", "->", "isDebugValue", "(", ")", ")", "continue", ";", "if", "(", "!", "isUnpredicatedTerminator", "(", "*", "I", ")", ")", "break", ";", "if", "(", "!", "I", "->", "isBranch", "(", ")", ")", "return", "true", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "SHUXI", "::", "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", "(", ")", "==", "SHUXI", "::", "JCC", "&&", "\"Invalid conditional branch\"", ")", ";", "SHUXICC", "::", "CondCodes", "BranchCode", "=", "static_cast", "<", "SHUXICC", "::", "CondCodes", ">", "(", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ")", ";", "if", "(", "BranchCode", "==", "SHUXICC", "::", "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", ";", "SHUXICC", "::", "CondCodes", "OldBranchCode", "=", "(", "SHUXICC", "::", "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": ["SHUXI", "SHUXI", "SHUXI::JMP", "0", "0", "0", "SHUXI::JCC", "\"Invalid conditional branch\"", "SHUXICC::CondCodes", "SHUXICC::CondCodes", "1", "SHUXICC::COND_INVALID", "0", "1", "0", "SHUXICC::CondCodes", "SHUXICC::CondCodes", "0"], "File": "SHUXIInstrInfo", "Func": "analyzeBranch", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8209, "Length": 376, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ia64_st_address_bypass_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "rtx", "dest", ",", "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", ")", ";", "dest", "=", "ia64_single_set", "(", "consumer", ")", ";", "gcc_assert", "(", "dest", ")", ";", "mem", "=", "SET_DEST", "(", "dest", ")", ";", "gcc_assert", "(", "mem", "&&", "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", "st", "or", "stf", ")", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "ia64_st_address_bypass_p", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8210, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_cbcond_insn", "(", "enum", "rtx_code", "code", ",", "rtx", "op0", ",", "rtx", "op1", ",", "rtx", "label", ")", "{", "rtx", "if_then_else", ";", "if_then_else", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "gen_rtx_fmt_ee", "(", "code", ",", "GET_MODE", "(", "op0", ")", ",", "op0", ",", "op1", ")", ",", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "label", ")", ",", "pc_rtx", ")", ";", "emit_jump_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "pc_rtx", ",", "if_then_else", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "conditional", "jump", "insn", "for", "the", "UA2011", "architecture", "using", "comparison", "code", "CODE", "and", "jump", "target", "LABEL", ".", "This", "function", "exists", "to", "take", "advantage", "of", "the", "UA2011", "Compare", "and", "Branch", "insns", "."], "TS_V_token": ["sparc"], "File": "sparc4", "Func": "emit_cbcond_insn", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8211, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_can_use_simple_return_p", "(", "void", ")", "{", "if", "(", "!", "reload_completed", "||", "frame_pointer_needed", ")", "return", "false", ";", "if", "(", "optimize_function_for_size_p", "(", "cfun", ")", ")", "return", "false", ";", "HARD_REG_SET", "live_regs_mask", ";", "int", "d", "=", "calc_live_regs", "(", "&", "live_regs_mask", ")", ";", "if", "(", "rounded_frame_size", "(", "d", ")", ">", "4", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "appropriate", "to", "emit", "`", "ret", "'", "instructions", "in", "the", "body", "of", "a", "function", "."], "TS_V_token": ["sh", "4"], "File": "sh", "Func": "sh_can_use_simple_return_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8212, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "ARMTargetLowering", "::", "getRegClassFor", "(", "EVT", "VT", ")", "const", "{", "if", "(", "Subtarget", "->", "hasNEON", "(", ")", ")", "{", "if", "(", "VT", "==", "MVT", "::", "v4i64", ")", "return", "&", "ARM", "::", "QQPRRegClass", ";", "if", "(", "VT", "==", "MVT", "::", "v8i64", ")", "return", "&", "ARM", "::", "QQQQPRRegClass", ";", "}", "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"], "File": "ARMISelLowering107", "Func": "getRegClassFor", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8213, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CSKYInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "O", ",", "unsigned", "RegNo", ")", "const", "{", "O", "<<", "getRegisterName", "(", "RegNo", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["CSKY", "CSKY"], "File": "CSKYInstPrinter", "Func": "printRegName", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8214, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64Subtarget", "::", "enableEarlyIfConversion", "(", ")", "const", "{", "return", "EnableEarlyIfConvert", ";", "}", ""], "natrual_language": ["Enable", "the", "use", "of", "the", "early", "if", "conversion", "pass", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64Subtarget (2)1", "Func": "enableEarlyIfConversion", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8215, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "begin", "(", ")", "const", "{", "return", "getStart", "(", ")", ";", "}", ""], "natrual_language": ["Recipe", "iterator", "methods", "."], "TS_V_token": ["AArch64"], "File": "AArch64A57FPLoadBalancing11", "Func": "begin", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8216, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0DAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "switch", "(", "ConstraintID", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected asm memory constraint\"", ")", ";", "case", "InlineAsm", "::", "Constraint_m", ":", "OutOps", ".", "push_back", "(", "Op", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["Cpu0", "Cpu0", "\"Unexpected asm memory constraint\""], "File": "Cpu0ISelDAGToDAG4", "Func": "SelectInlineAsmMemoryOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8217, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_case_values_threshold", "(", "void", ")", "{", "if", "(", "optimize", ">", "2", "&&", "selected_cpu", "->", "tune", "->", "max_case_values", "!=", "0", ")", "return", "selected_cpu", "->", "tune", "->", "max_case_values", ";", "else", "return", "default_case_values_threshold", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CASE_VALUES_THRESHOLD", "."], "TS_V_token": ["aarch64", "2", "0"], "File": "aarch643", "Func": "aarch64_case_values_threshold", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8218, "Length": 36, "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": 8219, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetObjectFile", "::", "IsGlobalInSmallSection", "(", "const", "GlobalValue", "*", "GV", ",", "const", "TargetMachine", "&", "TM", ",", "SectionKind", "Kind", ")", "const", "{", "const", "MipsSubtarget", "&", "Subtarget", "=", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "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", ";", "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": ["Mips", "Mips", "Mips", "Mips"], "File": "MipsTargetObjectFile13", "Func": "IsGlobalInSmallSection", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8220, "Length": 127, "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": 8221, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMFastISel", "::", "fastEmitInst_i", "(", "unsigned", "MachineInstOpcode", ",", "const", "TargetRegisterClass", "*", "RC", ",", "uint64_t", "Imm", ")", "{", "Register", "ResultReg", "=", "createResultReg", "(", "RC", ")", ";", "const", "MCInstrDesc", "&", "II", "=", "TII", ".", "get", "(", "MachineInstOpcode", ")", ";", "if", "(", "II", ".", "getNumDefs", "(", ")", ">=", "1", ")", "{", "AddOptionalDefs", "(", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "II", ",", "ResultReg", ")", ".", "addImm", "(", "Imm", ")", ")", ";", "}", "else", "{", "AddOptionalDefs", "(", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "II", ")", ".", "addImm", "(", "Imm", ")", ")", ";", "AddOptionalDefs", "(", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "ResultReg", ")", ".", "addReg", "(", "II", ".", "ImplicitDefs", "[", "0", "]", ")", ")", ";", "}", "return", "ResultReg", ";", "}", ""], "natrual_language": ["Emit", "a", "MachineInstr", "with", "a", "single", "immediate", "operand", ",", "and", "a", "result", "register", "in", "the", "given", "register", "class", "."], "TS_V_token": ["ARM", "ARM", "1", "0"], "File": "ARMFastISel36", "Func": "fastEmitInst_i", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8222, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "altivec_expand_vec_set_builtin", "(", "tree", "exp", ")", "{", "machine_mode", "tmode", ",", "mode1", ";", "tree", "arg0", ",", "arg1", ",", "arg2", ";", "int", "elt", ";", "rtx", "op0", ",", "op1", ";", "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", "&&", "GET_MODE", "(", "op1", ")", "!=", "VOIDmode", ")", "op1", "=", "convert_modes", "(", "mode1", ",", "GET_MODE", "(", "op1", ")", ",", "op1", ",", "true", ")", ";", "op0", "=", "force_reg", "(", "tmode", ",", "op0", ")", ";", "op1", "=", "force_reg", "(", "mode1", ",", "op1", ")", ";", "rs6000_expand_vector_set", "(", "op0", ",", "op1", ",", "elt", ")", ";", "return", "op0", ";", "}", ""], "natrual_language": ["Expand", "vec_set", "builtin", "."], "TS_V_token": ["rs6000", "0", "1", "2"], "File": "rs6000-call", "Func": "altivec_expand_vec_set_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8223, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_legitimize_const_move", "(", "enum", "machine_mode", "mode", ",", "rtx", "dest", ",", "rtx", "src", ")", "{", "rtx", "base", ";", "HOST_WIDE_INT", "offset", ";", "enum", "mips_symbol_type", "symbol_type", ";", "if", "(", "GET_CODE", "(", "src", ")", "==", "CONST_INT", "&&", "!", "TARGET_MIPS16", ")", "{", "mips_move_integer", "(", "dest", ",", "INTVAL", "(", "src", ")", ")", ";", "return", ";", "}", "if", "(", "mips_tls_operand_p", "(", "src", ")", ")", "{", "emit_move_insn", "(", "dest", ",", "mips_legitimize_tls_address", "(", "src", ")", ")", ";", "return", ";", "}", "if", "(", "!", "TARGET_MIPS16", "&&", "mips_symbolic_constant_p", "(", "src", ",", "&", "symbol_type", ")", "&&", "mips_split_p", "[", "symbol_type", "]", ")", "{", "emit_move_insn", "(", "dest", ",", "mips_split_symbol", "(", "dest", ",", "src", ")", ")", ";", "return", ";", "}", "mips_split_const", "(", "src", ",", "&", "base", ",", "&", "offset", ")", ";", "if", "(", "!", "TARGET_MIPS16", "&&", "offset", "!=", "0", "&&", "(", "!", "no_new_pseudos", "||", "SMALL_OPERAND", "(", "offset", ")", ")", ")", "{", "base", "=", "mips_force_temporary", "(", "dest", ",", "base", ")", ";", "emit_move_insn", "(", "dest", ",", "mips_add_offset", "(", "0", ",", "base", ",", "offset", ")", ")", ";", "return", ";", "}", "src", "=", "force_const_mem", "(", "mode", ",", "src", ")", ";", "if", "(", "!", "memory_operand", "(", "src", ",", "VOIDmode", ")", ")", "src", "=", "replace_equiv_address", "(", "src", ",", "mips_split_symbol", "(", "dest", ",", "XEXP", "(", "src", ",", "0", ")", ")", ")", ";", "emit_move_insn", "(", "dest", ",", "src", ")", ";", "}", ""], "natrual_language": ["Subroutine", "of", "mips_legitimize_move", ".", "Move", "constant", "SRC", "into", "register", "DEST", "given", "that", "SRC", "satisfies", "immediate_operand", "but", "does", "n't", "satisfy", "move_operand", "."], "TS_V_token": ["mips", "0", "0", "0"], "File": "mips3", "Func": "mips_legitimize_const_move", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8224, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "ScheduleHazardRecognizer", "*", "CreateTargetHazardRecognizer", "(", ")", "{", "const", "TargetInstrInfo", "*", "II", "=", "TM", ".", "getInstrInfo", "(", ")", ";", "assert", "(", "II", "&&", "\"No InstrInfo?\"", ")", ";", "return", "new", "PPCHazardRecognizer970", "(", "*", "II", ")", ";", "}", ""], "natrual_language": ["Allocate", "and", "return", "a", "hazard", "recognizer", "to", "use", "for", "this", "target", "when", "scheduling", "the", "machine", "instructions", "before", "register", "allocation", "."], "TS_V_token": ["PowerPC", "\"No InstrInfo?\"", "PPC"], "File": "PPCISelDAGToDAG12", "Func": "CreateTargetHazardRecognizer", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8225, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "insert", "(", "MachineInstr", "*", "MI", ")", "{", "Insts", ".", "push_back", "(", "MI", ")", ";", "assert", "(", "Insts", ".", "size", "(", ")", "<=", "5", "&&", "\"Too many instructions in VPT block!\"", ")", ";", "}", ""], "natrual_language": ["insert", "-", "Append", "entry", "to", "the", "vector", "if", "it", "does", "n't", "already", "exist", "."], "TS_V_token": ["ARM", "5", "\"Too many instructions in VPT block!\""], "File": "ARMLowOverheadLoops", "Func": "insert", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8226, "Length": 29, "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", "(", "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", "(", "(", "type", "&&", "POINTER_BOUNDS_TYPE_P", "(", "type", ")", ")", "||", "POINTER_BOUNDS_MODE_P", "(", "mode", ")", ")", "{", "if", "(", "cum", "->", "bnds_in_bt", ")", "{", "cum", "->", "bnds_in_bt", "--", ";", "return", ";", "}", "if", "(", "cum", "->", "force_bnd_pass", ")", "cum", "->", "force_bnd_pass", "--", ";", "cum", "->", "bnd_regno", "++", ";", "return", ";", "}", "cum", "->", "bnds_in_bt", "=", "0", ";", "if", "(", "cum", "->", "force_bnd_pass", ")", "{", "cum", "->", "bnd_regno", "+=", "cum", "->", "force_bnd_pass", ";", "cum", "->", "force_bnd_pass", "=", "0", ";", "}", "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", "(", "cum", "->", "stdarg", ")", "cum", "->", "force_bnd_pass", "=", "nregs", ";", "if", "(", "!", "nregs", ")", "cum", "->", "bnds_in_bt", "=", "chkp_type_bounds_count", "(", "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": ["i386", "0", "0"], "File": "i3865", "Func": "ix86_function_arg_advance", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8227, "Length": 252, "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": 8228, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasFusion", "(", ")", "const", "{", "return", "hasFuseAES", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "CPU", "supports", "any", "kind", "of", "instruction", "fusion", "."], "TS_V_token": ["ARM"], "File": "ARMSubtarget108", "Func": "hasFusion", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8229, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "int64_t", "Amount", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "Mips", "::", "ADJCALLSTACKDOWN", ")", "Amount", "=", "-", "Amount", ";", "const", "Mips16InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "Mips16InstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TII", ".", "adjustStackPtr", "(", "Mips", "::", "SP", ",", "Amount", ",", "MBB", ",", "I", ")", ";", "}", "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": ["Mips", "Mips", "0", "Mips::ADJCALLSTACKDOWN", "Mips", "Mips", "Mips::SP"], "File": "Mips16FrameLowering31", "Func": "eliminateCallFramePseudoInstr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8230, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mt_reg_ok_for_base_p", "(", "rtx", "x", ",", "int", "strict", ")", "{", "if", "(", "strict", ")", "return", "(", "(", "(", "unsigned", ")", "REGNO", "(", "x", ")", ")", "<", "FIRST_PSEUDO_REGISTER", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Implement", "REG_OK_FOR_BASE_P", "."], "TS_V_token": ["mt", "1"], "File": "mt", "Func": "mt_reg_ok_for_base_p", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8231, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "csky_can_eliminate", "(", "const", "int", "from", "ATTRIBUTE_UNUSED", ",", "const", "int", "to", ")", "{", "if", "(", "to", "==", "FRAME_POINTER_REGNUM", ")", "return", "from", "!=", "ARG_POINTER_REGNUM", ";", "if", "(", "to", "==", "STACK_POINTER_REGNUM", ")", "return", "!", "frame_pointer_needed", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CAN_ELIMINATE", "."], "TS_V_token": ["csky"], "File": "csky", "Func": "csky_can_eliminate", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8232, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_reloc_rw_mask", "(", "void", ")", "{", "return", "(", "flag_pic", "||", "!", "ix86_direct_extern_access", ")", "?", "3", ":", "0", ";", "}", ""], "natrual_language": ["If", "flag_pic", "or", "ix86_direct_extern_access", "is", "false", ",", "then", "neither", "local", "nor", "global", "relocs", "should", "be", "placed", "in", "readonly", "memory", "."], "TS_V_token": ["i386", "3", "0"], "File": "i386", "Func": "ix86_reloc_rw_mask", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8233, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_record_lo_sums", "(", "const_rtx", "x", ",", "mips_offset_table", "*", "htab", ")", "{", "subrtx_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX", "(", "iter", ",", "array", ",", "x", ",", "NONCONST", ")", "if", "(", "GET_CODE", "(", "*", "iter", ")", "==", "LO_SUM", ")", "mips_lo_sum_offset_lookup", "(", "htab", ",", "XEXP", "(", "*", "iter", ",", "1", ")", ",", "INSERT", ")", ";", "}", ""], "natrual_language": ["Search", "X", "for", "LO_SUMs", "and", "record", "them", "in", "HTAB", "."], "TS_V_token": ["mips", "1"], "File": "mips", "Func": "mips_record_lo_sums", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8234, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_valid_multiple_load_store_p", "(", "rtx", "op", ",", "bool", "load_p", ",", "bool", "bim_p", ")", "{", "int", "count", ";", "int", "first_elt_regno", ";", "int", "update_base_elt_idx", ";", "int", "offset", ";", "rtx", "elt", ";", "rtx", "update_base", ";", "if", "(", "bim_p", ")", "{", "count", "=", "XVECLEN", "(", "op", ",", "0", ")", "-", "1", ";", "elt", "=", "XVECEXP", "(", "op", ",", "0", ",", "1", ")", ";", "}", "else", "{", "count", "=", "XVECLEN", "(", "op", ",", "0", ")", ";", "elt", "=", "XVECEXP", "(", "op", ",", "0", ",", "0", ")", ";", "}", "if", "(", "GET_CODE", "(", "elt", ")", "!=", "SET", "||", "count", "<=", "1", "||", "count", ">", "25", ")", "return", "false", ";", "if", "(", "load_p", ")", "{", "if", "(", "GET_CODE", "(", "SET_DEST", "(", "elt", ")", ")", "!=", "REG", "||", "GET_CODE", "(", "SET_SRC", "(", "elt", ")", ")", "!=", "MEM", ")", "return", "false", ";", "first_elt_regno", "=", "REGNO", "(", "SET_DEST", "(", "elt", ")", ")", ";", "}", "else", "{", "if", "(", "GET_CODE", "(", "SET_SRC", "(", "elt", ")", ")", "!=", "REG", "||", "GET_CODE", "(", "SET_DEST", "(", "elt", ")", ")", "!=", "MEM", ")", "return", "false", ";", "first_elt_regno", "=", "REGNO", "(", "SET_SRC", "(", "elt", ")", ")", ";", "}", "if", "(", "!", "nds32_consecutive_registers_load_store_p", "(", "op", ",", "load_p", ",", "bim_p", "?", "1", ":", "0", ",", "first_elt_regno", ",", "count", ")", ")", "return", "false", ";", "if", "(", "bim_p", ")", "{", "update_base_elt_idx", "=", "0", ";", "update_base", "=", "XVECEXP", "(", "op", ",", "0", ",", "update_base_elt_idx", ")", ";", "if", "(", "!", "REG_P", "(", "SET_DEST", "(", "update_base", ")", ")", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "SET_SRC", "(", "update_base", ")", ")", "!=", "PLUS", ")", "return", "false", ";", "else", "{", "offset", "=", "count", "*", "UNITS_PER_WORD", ";", "elt", "=", "XEXP", "(", "SET_SRC", "(", "update_base", ")", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "elt", ")", "!=", "CONST_INT", "||", "(", "INTVAL", "(", "elt", ")", "!=", "offset", ")", ")", "return", "false", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Function", "to", "check", "whether", "the", "OP", "is", "a", "valid", "load/store", "operation", ".", "This", "is", "a", "helper", "function", "for", "the", "predicates", ":", "'nds32_load_multiple_operation", "'", "and", "'nds32_store_multiple_operation", "'", "in", "predicates.md", "file", ".", "The", "OP", "is", "supposed", "to", "be", "a", "parallel", "rtx", ".", "For", "each", "element", "within", "this", "parallel", "rtx", ":", "(", "set", "(", "reg", ")", "(", "mem", "addr", ")", ")", "is", "the", "form", "for", "load", "operation", ".", "(", "set", "(", "mem", "addr", ")", "(", "reg", ")", ")", "is", "the", "form", "for", "store", "operation", ".", "We", "have", "to", "extract", "reg", "and", "mem", "of", "every", "element", "and", "check", "if", "the", "information", "is", "valid", "for", "multiple", "load/store", "operation", "."], "TS_V_token": ["nds32", "0", "1", "0", "1", "0", "0", "0", "1", "25", "1", "0", "0", "0", "1"], "File": "nds32-predicates", "Func": "nds32_valid_multiple_load_store_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8235, "Length": 300, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SparcMCExpr", "*", "SparcMCExpr", "::", "create", "(", "VariantKind", "Kind", ",", "const", "MCExpr", "*", "Expr", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "SparcMCExpr", "(", "Kind", ",", "Expr", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc"], "File": "SparcMCExpr (2)1", "Func": "create", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8236, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCFastISel", "::", "fastSelectInstruction", "(", "const", "Instruction", "*", "I", ")", "{", "switch", "(", "I", "->", "getOpcode", "(", ")", ")", "{", "case", "Instruction", "::", "Load", ":", "return", "SelectLoad", "(", "I", ")", ";", "case", "Instruction", "::", "Store", ":", "return", "SelectStore", "(", "I", ")", ";", "case", "Instruction", "::", "Br", ":", "return", "SelectBranch", "(", "I", ")", ";", "case", "Instruction", "::", "IndirectBr", ":", "return", "SelectIndirectBr", "(", "I", ")", ";", "case", "Instruction", "::", "FPExt", ":", "return", "SelectFPExt", "(", "I", ")", ";", "case", "Instruction", "::", "FPTrunc", ":", "return", "SelectFPTrunc", "(", "I", ")", ";", "case", "Instruction", "::", "SIToFP", ":", "return", "SelectIToFP", "(", "I", ",", "true", ")", ";", "case", "Instruction", "::", "UIToFP", ":", "return", "SelectIToFP", "(", "I", ",", "false", ")", ";", "case", "Instruction", "::", "FPToSI", ":", "return", "SelectFPToI", "(", "I", ",", "true", ")", ";", "case", "Instruction", "::", "FPToUI", ":", "return", "SelectFPToI", "(", "I", ",", "false", ")", ";", "case", "Instruction", "::", "Add", ":", "return", "SelectBinaryIntOp", "(", "I", ",", "ISD", "::", "ADD", ")", ";", "case", "Instruction", "::", "Or", ":", "return", "SelectBinaryIntOp", "(", "I", ",", "ISD", "::", "OR", ")", ";", "case", "Instruction", "::", "Sub", ":", "return", "SelectBinaryIntOp", "(", "I", ",", "ISD", "::", "SUB", ")", ";", "case", "Instruction", "::", "Ret", ":", "return", "SelectRet", "(", "I", ")", ";", "case", "Instruction", "::", "Trunc", ":", "return", "SelectTrunc", "(", "I", ")", ";", "case", "Instruction", "::", "ZExt", ":", "case", "Instruction", "::", "SExt", ":", "return", "SelectIntExt", "(", "I", ")", ";", "default", ":", "break", ";", "}", "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": ["PowerPC", "PPC", "ISD::ADD", "ISD::OR", "ISD::SUB"], "File": "PPCFastISel12", "Func": "fastSelectInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8237, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "xstormy16_print_operand", "(", "FILE", "*", "file", ",", "rtx", "x", ",", "int", "code", ")", "{", "switch", "(", "code", ")", "{", "case", "'B'", ":", "{", "static", "int", "bits_set", "[", "8", "]", "=", "{", "0", ",", "1", ",", "1", ",", "2", ",", "1", ",", "2", ",", "2", ",", "3", "}", ";", "HOST_WIDE_INT", "xx", "=", "1", ";", "HOST_WIDE_INT", "l", ";", "if", "(", "CONST_INT_P", "(", "x", ")", ")", "xx", "=", "INTVAL", "(", "x", ")", ";", "else", "output_operand_lossage", "(", "\"'B' operand is not constant\"", ")", ";", "if", "(", "bits_set", "[", "xx", "&", "7", "]", "<=", "1", ")", "{", "if", "(", "(", "~", "xx", "&", "~", "(", "HOST_WIDE_INT", ")", "0xff", ")", "==", "0", ")", "xx", "&=", "0xff", ";", "else", "if", "(", "(", "~", "xx", "&", "~", "(", "HOST_WIDE_INT", ")", "0xffff", ")", "==", "0", ")", "xx", "&=", "0xffff", ";", "l", "=", "exact_log2", "(", "xx", ")", ";", "}", "else", "{", "if", "(", "(", "xx", "&", "~", "(", "HOST_WIDE_INT", ")", "0xff", ")", "==", "0", ")", "xx", "|=", "~", "(", "HOST_WIDE_INT", ")", "0xff", ";", "else", "if", "(", "(", "xx", "&", "~", "(", "HOST_WIDE_INT", ")", "0xffff", ")", "==", "0", ")", "xx", "|=", "~", "(", "HOST_WIDE_INT", ")", "0xffff", ";", "l", "=", "exact_log2", "(", "~", "xx", ")", ";", "}", "if", "(", "l", "==", "-", "1", ")", "output_operand_lossage", "(", "\"'B' operand has multiple bits set\"", ")", ";", "fprintf", "(", "file", ",", "IMMEDIATE_PREFIX", "HOST_WIDE_INT_PRINT_DEC", ",", "l", ")", ";", "return", ";", "}", "case", "'C'", ":", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", ")", "assemble_name", "(", "file", ",", "XSTR", "(", "x", ",", "0", ")", ")", ";", "else", "if", "(", "LABEL_P", "(", "x", ")", ")", "output_asm_label", "(", "x", ")", ";", "else", "xstormy16_print_operand_address", "(", "file", ",", "x", ")", ";", "return", ";", "case", "'o'", ":", "case", "'O'", ":", "{", "HOST_WIDE_INT", "xx", "=", "0", ";", "if", "(", "CONST_INT_P", "(", "x", ")", ")", "xx", "=", "INTVAL", "(", "x", ")", ";", "else", "output_operand_lossage", "(", "\"'o' operand is not constant\"", ")", ";", "if", "(", "code", "==", "'O'", ")", "xx", "=", "-", "xx", ";", "fprintf", "(", "file", ",", "IMMEDIATE_PREFIX", "HOST_WIDE_INT_PRINT_DEC", ",", "xx", "-", "1", ")", ";", "return", ";", "}", "case", "'b'", ":", "{", "HOST_WIDE_INT", "xx", "=", "1", ";", "HOST_WIDE_INT", "l", ";", "if", "(", "CONST_INT_P", "(", "x", ")", ")", "xx", "=", "INTVAL", "(", "x", ")", ";", "else", "output_operand_lossage", "(", "\"'B' operand is not constant\"", ")", ";", "l", "=", "7", "-", "xx", ";", "fputs", "(", "IMMEDIATE_PREFIX", ",", "file", ")", ";", "fprintf", "(", "file", ",", "HOST_WIDE_INT_PRINT_DEC", ",", "l", ")", ";", "return", ";", "}", "case", "0", ":", "break", ";", "default", ":", "output_operand_lossage", "(", "\"xstormy16_print_operand: unknown code\"", ")", ";", "return", ";", "}", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "REG", ":", "fputs", "(", "reg_names", "[", "REGNO", "(", "x", ")", "]", ",", "file", ")", ";", "break", ";", "case", "MEM", ":", "xstormy16_print_operand_address", "(", "file", ",", "XEXP", "(", "x", ",", "0", ")", ")", ";", "break", ";", "default", ":", "fputs", "(", "IMMEDIATE_PREFIX", ",", "file", ")", ";", "output_addr_const", "(", "file", ",", "x", ")", ";", "break", ";", "}", "return", ";", "}", ""], "natrual_language": ["Print", "an", "operand", "to", "an", "assembler", "instruction", "."], "TS_V_token": ["stormy16", "8", "0", "1", "1", "2", "1", "2", "2", "3", "1", "\"'B' operand is not constant\"", "7", "1", "0xff", "0", "0xff", "0xffff", "0", "0xffff", "0xff", "0", "0xff", "0xffff", "0", "0xffff", "1", "\"'B' operand has multiple bits set\"", "0", "0", "\"'o' operand is not constant\"", "1", "1", "\"'B' operand is not constant\"", "7", "0", "\"xstormy16_print_operand: unknown code\"", "0"], "File": "stormy164", "Func": "xstormy16_print_operand", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8238, "Length": 459, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "lowerOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCOperand", "&", "MCOp", ")", "const", "{", "return", "MCInstLowering", ".", "lowerOperand", "(", "MO", ",", "MCOp", ")", ";", "}", ""], "natrual_language": ["Wrapper", "for", "MCInstLowering.lowerOperand", "(", ")", "for", "the", "tblgen'erated", "pseudo", "lowering", "."], "TS_V_token": ["AArch64"], "File": "AArch64AsmPrinter (2)", "Func": "lowerOperand", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8239, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "machine_mode", "arm_select_dominance_cc_mode", "(", "rtx", "x", ",", "rtx", "y", ",", "HOST_WIDE_INT", "cond_or", ")", "{", "enum", "rtx_code", "cond1", ",", "cond2", ";", "int", "swapped", "=", "0", ";", "if", "(", "(", "arm_select_cc_mode", "(", "cond1", "=", "GET_CODE", "(", "x", ")", ",", "XEXP", "(", "x", ",", "0", ")", ",", "XEXP", "(", "x", ",", "1", ")", ")", "!=", "CCmode", ")", "||", "(", "arm_select_cc_mode", "(", "cond2", "=", "GET_CODE", "(", "y", ")", ",", "XEXP", "(", "y", ",", "0", ")", ",", "XEXP", "(", "y", ",", "1", ")", ")", "!=", "CCmode", ")", ")", "return", "CCmode", ";", "if", "(", "cond_or", "==", "DOM_CC_NX_OR_Y", ")", "cond1", "=", "reverse_condition", "(", "cond1", ")", ";", "if", "(", "cond1", "!=", "cond2", "&&", "!", "comparison_dominates_p", "(", "cond1", ",", "cond2", ")", "&&", "(", "swapped", "=", "1", ",", "!", "comparison_dominates_p", "(", "cond2", ",", "cond1", ")", ")", ")", "return", "CCmode", ";", "if", "(", "swapped", ")", "std", "::", "swap", "(", "cond1", ",", "cond2", ")", ";", "switch", "(", "cond1", ")", "{", "case", "EQ", ":", "if", "(", "cond_or", "==", "DOM_CC_X_AND_Y", ")", "return", "CC_DEQmode", ";", "switch", "(", "cond2", ")", "{", "case", "EQ", ":", "return", "CC_DEQmode", ";", "case", "LE", ":", "return", "CC_DLEmode", ";", "case", "LEU", ":", "return", "CC_DLEUmode", ";", "case", "GE", ":", "return", "CC_DGEmode", ";", "case", "GEU", ":", "return", "CC_DGEUmode", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "case", "LT", ":", "if", "(", "cond_or", "==", "DOM_CC_X_AND_Y", ")", "return", "CC_DLTmode", ";", "switch", "(", "cond2", ")", "{", "case", "LT", ":", "return", "CC_DLTmode", ";", "case", "LE", ":", "return", "CC_DLEmode", ";", "case", "NE", ":", "return", "CC_DNEmode", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "case", "GT", ":", "if", "(", "cond_or", "==", "DOM_CC_X_AND_Y", ")", "return", "CC_DGTmode", ";", "switch", "(", "cond2", ")", "{", "case", "GT", ":", "return", "CC_DGTmode", ";", "case", "GE", ":", "return", "CC_DGEmode", ";", "case", "NE", ":", "return", "CC_DNEmode", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "case", "LTU", ":", "if", "(", "cond_or", "==", "DOM_CC_X_AND_Y", ")", "return", "CC_DLTUmode", ";", "switch", "(", "cond2", ")", "{", "case", "LTU", ":", "return", "CC_DLTUmode", ";", "case", "LEU", ":", "return", "CC_DLEUmode", ";", "case", "NE", ":", "return", "CC_DNEmode", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "case", "GTU", ":", "if", "(", "cond_or", "==", "DOM_CC_X_AND_Y", ")", "return", "CC_DGTUmode", ";", "switch", "(", "cond2", ")", "{", "case", "GTU", ":", "return", "CC_DGTUmode", ";", "case", "GEU", ":", "return", "CC_DGEUmode", ";", "case", "NE", ":", "return", "CC_DNEmode", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "case", "NE", ":", "gcc_assert", "(", "cond1", "==", "cond2", ")", ";", "return", "CC_DNEmode", ";", "case", "LE", ":", "gcc_assert", "(", "cond1", "==", "cond2", ")", ";", "return", "CC_DLEmode", ";", "case", "GE", ":", "gcc_assert", "(", "cond1", "==", "cond2", ")", ";", "return", "CC_DGEmode", ";", "case", "LEU", ":", "gcc_assert", "(", "cond1", "==", "cond2", ")", ";", "return", "CC_DLEUmode", ";", "case", "GEU", ":", "gcc_assert", "(", "cond1", "==", "cond2", ")", ";", "return", "CC_DGEUmode", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Select", "a", "dominance", "comparison", "mode", "if", "possible", "for", "a", "test", "of", "the", "general", "form", "(", "OP", "(", "COND_OR", "(", "X", ")", "(", "Y", ")", ")", "(", "const_int", "0", ")", ")", ".", "We", "support", "three", "forms", ".", "COND_OR", "==", "DOM_CC_X_AND_Y", "=", ">", "(", "X", "&", "&", "Y", ")", "COND_OR", "==", "DOM_CC_NX_OR_Y", "=", ">", "(", "(", "!", "X", ")", "||", "Y", ")", "COND_OR", "==", "DOM_CC_X_OR_Y", "=", ">", "(", "X", "||", "Y", ")", "In", "all", "cases", "OP", "will", "be", "either", "EQ", "or", "NE", ",", "but", "we", "do", "n't", "need", "to", "know", "which", "here", ".", "If", "we", "are", "unable", "to", "support", "a", "dominance", "comparison", "we", "return", "CC", "mode", ".", "This", "will", "then", "fail", "to", "match", "for", "the", "RTL", "expressions", "that", "generate", "this", "call", "."], "TS_V_token": ["arm", "0", "0", "1", "0", "1", "1"], "File": "arm", "Func": "arm_select_dominance_cc_mode", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8240, "Length": 442, "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": ["powerpcspe", "\"Swapping constant halves in insn %d\\n\"", "\"Adjusting subreg in insn %d\\n\""], "File": "powerpcspe", "Func": "handle_special_swappables", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8241, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_can_change_mode_class", "(", "machine_mode", "from", ",", "machine_mode", "to", ",", "reg_class_t", "regclass", ")", "{", "if", "(", "from", "==", "to", ")", "return", "true", ";", "if", "(", "MAYBE_FLOAT_CLASS_P", "(", "regclass", ")", ")", "return", "false", ";", "if", "(", "MAYBE_SSE_CLASS_P", "(", "regclass", ")", "||", "MAYBE_MMX_CLASS_P", "(", "regclass", ")", ")", "{", "int", "mov_size", "=", "MAYBE_SSE_CLASS_P", "(", "regclass", ")", "&&", "TARGET_SSE2", "?", "2", ":", "4", ";", "if", "(", "GET_MODE_SIZE", "(", "from", ")", "<", "mov_size", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CAN_CHANGE_MODE_CLASS", "."], "TS_V_token": ["i386", "2", "4"], "File": "i386", "Func": "ix86_can_change_mode_class", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8242, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86TargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "APInt", "&", "KnownZero", ",", "APInt", "&", "KnownOne", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "unsigned", "BitWidth", "=", "KnownZero", ".", "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!\"", ")", ";", "KnownZero", "=", "KnownOne", "=", "APInt", "(", "BitWidth", ",", "0", ")", ";", "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", ":", "KnownZero", "|=", "APInt", "::", "getHighBitsSet", "(", "BitWidth", ",", "BitWidth", "-", "1", ")", ";", "break", ";", "case", "X86ISD", "::", "MOVMSK", ":", "{", "unsigned", "NumLoBits", "=", "Op", ".", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", ".", "getVectorNumElements", "(", ")", ";", "KnownZero", "=", "APInt", "::", "getHighBitsSet", "(", "BitWidth", ",", "BitWidth", "-", "NumLoBits", ")", ";", "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!\"", "0", "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"], "File": "X86ISelLowering181", "Func": "computeKnownBitsForTargetNode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8243, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "sparc_gimplify_va_arg", "(", "tree", "valist", ",", "tree", "type", ",", "tree", "*", "pre_p", ",", "tree", "*", "post_p", ")", "{", "HOST_WIDE_INT", "size", ",", "rsize", ",", "align", ";", "tree", "addr", ",", "incr", ";", "bool", "indirect", ";", "tree", "ptrtype", "=", "build_pointer_type", "(", "type", ")", ";", "if", "(", "pass_by_reference", "(", "NULL", ",", "TYPE_MODE", "(", "type", ")", ",", "type", ",", "false", ")", ")", "{", "indirect", "=", "true", ";", "size", "=", "rsize", "=", "UNITS_PER_WORD", ";", "align", "=", "0", ";", "}", "else", "{", "indirect", "=", "false", ";", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "rsize", "=", "(", "size", "+", "UNITS_PER_WORD", "-", "1", ")", "&", "-", "UNITS_PER_WORD", ";", "align", "=", "0", ";", "if", "(", "TARGET_ARCH64", ")", "{", "if", "(", "TYPE_ALIGN", "(", "type", ")", ">=", "2", "*", "(", "unsigned", ")", "BITS_PER_WORD", ")", "align", "=", "2", "*", "UNITS_PER_WORD", ";", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "if", "(", "size", "==", "0", ")", "size", "=", "rsize", "=", "UNITS_PER_WORD", ";", "else", "size", "=", "rsize", ";", "}", "}", "}", "incr", "=", "valist", ";", "if", "(", "align", ")", "{", "incr", "=", "fold", "(", "build2", "(", "PLUS_EXPR", ",", "ptr_type_node", ",", "incr", ",", "ssize_int", "(", "align", "-", "1", ")", ")", ")", ";", "incr", "=", "fold", "(", "build2", "(", "BIT_AND_EXPR", ",", "ptr_type_node", ",", "incr", ",", "ssize_int", "(", "-", "align", ")", ")", ")", ";", "}", "gimplify_expr", "(", "&", "incr", ",", "pre_p", ",", "post_p", ",", "is_gimple_val", ",", "fb_rvalue", ")", ";", "addr", "=", "incr", ";", "if", "(", "BYTES_BIG_ENDIAN", "&&", "size", "<", "rsize", ")", "addr", "=", "fold", "(", "build2", "(", "PLUS_EXPR", ",", "ptr_type_node", ",", "incr", ",", "ssize_int", "(", "rsize", "-", "size", ")", ")", ")", ";", "if", "(", "indirect", ")", "{", "addr", "=", "fold_convert", "(", "build_pointer_type", "(", "ptrtype", ")", ",", "addr", ")", ";", "addr", "=", "build_va_arg_indirect_ref", "(", "addr", ")", ";", "}", "else", "if", "(", "align", "==", "0", "&&", "TYPE_ALIGN", "(", "type", ")", ">", "BITS_PER_WORD", ")", "{", "tree", "tmp", "=", "create_tmp_var", "(", "type", ",", "\"va_arg_tmp\"", ")", ";", "tree", "dest_addr", "=", "build_fold_addr_expr", "(", "tmp", ")", ";", "tree", "copy", "=", "build_function_call_expr", "(", "implicit_built_in_decls", "[", "BUILT_IN_MEMCPY", "]", ",", "tree_cons", "(", "NULL_TREE", ",", "dest_addr", ",", "tree_cons", "(", "NULL_TREE", ",", "addr", ",", "tree_cons", "(", "NULL_TREE", ",", "size_int", "(", "rsize", ")", ",", "NULL_TREE", ")", ")", ")", ")", ";", "gimplify_and_add", "(", "copy", ",", "pre_p", ")", ";", "addr", "=", "dest_addr", ";", "}", "else", "addr", "=", "fold_convert", "(", "ptrtype", ",", "addr", ")", ";", "incr", "=", "fold", "(", "build2", "(", "PLUS_EXPR", ",", "ptr_type_node", ",", "incr", ",", "ssize_int", "(", "rsize", ")", ")", ")", ";", "incr", "=", "build2", "(", "MODIFY_EXPR", ",", "ptr_type_node", ",", "valist", ",", "incr", ")", ";", "gimplify_and_add", "(", "incr", ",", "post_p", ")", ";", "return", "build_va_arg_indirect_ref", "(", "addr", ")", ";", "}", ""], "natrual_language": ["Implement", "`", "va_arg", "'", "for", "stdarg", "."], "TS_V_token": ["sparc", "0", "1", "0", "2", "2", "0", "1", "0", "\"va_arg_tmp\""], "File": "sparc3", "Func": "sparc_gimplify_va_arg", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8244, "Length": 418, "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": 8245, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "VECustomDAG", "::", "getConstant", "(", "uint64_t", "Val", ",", "EVT", "VT", ",", "bool", "IsTarget", ",", "bool", "IsOpaque", ")", "const", "{", "return", "DAG", ".", "getConstant", "(", "Val", ",", "DL", ",", "VT", ",", "IsTarget", ",", "IsOpaque", ")", ";", "}", ""], "natrual_language": ["Return", "the", "large", "constant", "at", "the", "given", "index", "."], "TS_V_token": ["VE", "VECustomDAG::getConstant"], "File": "VECustomDAG", "Func": "getConstant", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8246, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_register_target_pragmas", "(", "void", ")", "{", "targetm", ".", "target_option", ".", "pragma_parse", "=", "arm_pragma_target_parse", ";", "targetm", ".", "resolve_overloaded_builtin", "=", "arm_resolve_overloaded_builtin", ";", "c_register_pragma", "(", "\"GCC\"", ",", "\"arm\"", ",", "arm_pragma_arm", ")", ";", "REGISTER_SUBTARGET_PRAGMAS", "(", ")", ";", "}", ""], "natrual_language": ["Register", "target", "pragmas", ".", "We", "need", "to", "add", "the", "hook", "for", "parsing", "#", "pragma", "GCC", "option", "here", "rather", "than", "in", "arm.cc", "since", "it", "will", "pull", "in", "various", "preprocessor", "functions", ",", "and", "those", "are", "not", "present", "in", "languages", "like", "fortran", "without", "a", "preprocessor", "."], "TS_V_token": ["arm", "\"GCC\"", "\"arm\""], "File": "arm-c", "Func": "arm_register_target_pragmas", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8247, "Length": 34, "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)", "Func": "getOptimalMemOpType", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8248, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isLegalAddressingMode", "(", "const", "AddrMode", "&", "AM", ",", "const", "Type", "*", "Ty", ")", "const", "{", "CodeModel", "::", "Model", "M", "=", "getTargetMachine", "(", ")", ".", "getCodeModel", "(", ")", ";", "if", "(", "!", "X86", "::", "isOffsetSuitableForCodeModel", "(", "AM", ".", "BaseOffs", ",", "M", ",", "AM", ".", "BaseGV", "!=", "NULL", ")", ")", "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", "(", "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": "X86ISelLowering144", "Func": "isLegalAddressingMode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8249, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86SpeculativeExecutionSideEffectSuppression", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "!", "EnableSpeculativeExecutionSideEffectSuppression", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** \"", "<<", "getPassName", "(", ")", "<<", "\" : \"", "<<", "MF", ".", "getName", "(", ")", "<<", "\" **********\\n\"", ")", ";", "bool", "Modified", "=", "false", ";", "const", "X86Subtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "const", "X86InstrInfo", "*", "TII", "=", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "MachineInstr", "*", "FirstTerminator", "=", "nullptr", ";", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "if", "(", "MI", ".", "mayLoadOrStore", "(", ")", "&&", "!", "MI", ".", "isTerminator", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "X86", "::", "LFENCE", ")", ")", ";", "NumLFENCEsInserted", "++", ";", "Modified", "=", "true", ";", "if", "(", "OneLFENCEPerBasicBlock", ")", "break", ";", "}", "if", "(", "MI", ".", "isTerminator", "(", ")", "&&", "FirstTerminator", "==", "nullptr", ")", "FirstTerminator", "=", "&", "MI", ";", "if", "(", "!", "MI", ".", "isBranch", "(", ")", "||", "OmitBranchLFENCEs", ")", "continue", ";", "if", "(", "OnlyLFENCENonConst", "&&", "hasConstantAddressingMode", "(", "MI", ")", ")", "continue", ";", "BuildMI", "(", "MBB", ",", "FirstTerminator", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "X86", "::", "LFENCE", ")", ")", ";", "NumLFENCEsInserted", "++", ";", "Modified", "=", "true", ";", "break", ";", "}", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "\"********** \"", "\" : \"", "\" **********\\n\"", "X86", "X86", "X86", "X86::LFENCE", "X86::LFENCE"], "File": "X86SpeculativeExecutionSideEffectSuppression", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8250, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_aix_asm_output_dwarf_table_ref", "(", "char", "*", "frame_table_label", ")", "{", "fprintf", "(", "asm_out_file", ",", "\"\\t.ref %s\\n\"", ",", "(", "*", "targetm", ".", "strip_name_encoding", ")", "(", "frame_table_label", ")", ")", ";", "}", ""], "natrual_language": ["Issue", "assembly", "directives", "that", "create", "a", "reference", "to", "the", "given", "DWARF", "FRAME_TABLE_LABEL", "from", "the", "current", "function", "section", "."], "TS_V_token": ["powerpcspe", "\"\\t.ref %s\\n\""], "File": "powerpcspe", "Func": "rs6000_aix_asm_output_dwarf_table_ref", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8251, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_expand_vector_init_low_nonzero", "(", "bool", "mmx_ok", ",", "enum", "machine_mode", "mode", ",", "rtx", "target", ",", "rtx", "var", ")", "{", "enum", "machine_mode", "vsimode", ";", "rtx", "x", ";", "switch", "(", "mode", ")", "{", "case", "V2SFmode", ":", "case", "V2SImode", ":", "if", "(", "!", "mmx_ok", "&&", "!", "TARGET_SSE", ")", "return", "false", ";", "case", "V2DFmode", ":", "case", "V2DImode", ":", "var", "=", "force_reg", "(", "GET_MODE_INNER", "(", "mode", ")", ",", "var", ")", ";", "x", "=", "gen_rtx_VEC_CONCAT", "(", "mode", ",", "var", ",", "CONST0_RTX", "(", "GET_MODE_INNER", "(", "mode", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "target", ",", "x", ")", ")", ";", "return", "true", ";", "case", "V4SFmode", ":", "case", "V4SImode", ":", "var", "=", "force_reg", "(", "GET_MODE_INNER", "(", "mode", ")", ",", "var", ")", ";", "x", "=", "gen_rtx_VEC_DUPLICATE", "(", "mode", ",", "var", ")", ";", "x", "=", "gen_rtx_VEC_MERGE", "(", "mode", ",", "x", ",", "CONST0_RTX", "(", "mode", ")", ",", "const1_rtx", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "target", ",", "x", ")", ")", ";", "return", "true", ";", "case", "V8HImode", ":", "case", "V16QImode", ":", "vsimode", "=", "V4SImode", ";", "goto", "widen", ";", "case", "V4HImode", ":", "case", "V8QImode", ":", "if", "(", "!", "mmx_ok", ")", "return", "false", ";", "vsimode", "=", "V2SImode", ";", "goto", "widen", ";", "widen", ":", "var", "=", "convert_modes", "(", "SImode", ",", "GET_MODE_INNER", "(", "mode", ")", ",", "var", ",", "true", ")", ";", "x", "=", "gen_reg_rtx", "(", "vsimode", ")", ";", "if", "(", "!", "ix86_expand_vector_init_low_nonzero", "(", "mmx_ok", ",", "vsimode", ",", "x", ",", "var", ")", ")", "gcc_unreachable", "(", ")", ";", "emit_move_insn", "(", "target", ",", "gen_lowpart", "(", "mode", ",", "x", ")", ")", ";", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["A", "subroutine", "of", "ix86_expand_vector_init", ".", "Store", "into", "TARGET", "a", "vector", "whose", "low", "element", "is", "VAR", ",", "and", "other", "elements", "are", "zero", ".", "Return", "true", "if", "successful", "."], "TS_V_token": ["i386"], "File": "i3863", "Func": "ix86_expand_vector_init_low_nonzero", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8252, "Length": 254, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_slowmul_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_THUMB", ")", "{", "*", "total", "=", "thumb1_rtx_costs", "(", "x", ",", "code", ",", "outer_code", ")", ";", "return", "true", ";", "}", "switch", "(", "code", ")", "{", "case", "MULT", ":", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", "||", "mode", "==", "DImode", ")", "{", "*", "total", "=", "COSTS_N_INSNS", "(", "20", ")", ";", "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", "=", "2", ";", "for", "(", "j", "=", "0", ";", "i", "&&", "j", "<", "32", ";", "j", "+=", "booth_unit_size", ")", "{", "i", ">>=", "booth_unit_size", ";", "cost", "++", ";", "}", "*", "total", "=", "COSTS_N_INSNS", "(", "cost", ")", ";", "*", "total", "+=", "rtx_cost", "(", "XEXP", "(", "x", ",", "0", ")", ",", "mode", ",", "code", ",", "0", ",", "speed", ")", ";", "return", "true", ";", "}", "*", "total", "=", "COSTS_N_INSNS", "(", "20", ")", ";", "return", "false", ";", "default", ":", "return", "arm_rtx_costs_1", "(", "x", ",", "outer_code", ",", "total", ",", "speed", ")", ";", ";", "}", "}", ""], "natrual_language": ["RTX", "costs", "for", "cores", "with", "a", "slow", "MUL", "implementation", ".", "Thumb-2", "is", "not", "supported", "on", "any", "``", "slowmul", "''", "cores", ",", "so", "it", "can", "be", "ignored", "."], "TS_V_token": ["arm", "20", "1", "1", "0xffffffff", "4", "8", "2", "0", "32", "0", "0", "20"], "File": "arm5", "Func": "arm_slowmul_rtx_costs", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8253, "Length": 234, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_simd_lane_bounds", "(", "rtx", "operand", ",", "HOST_WIDE_INT", "low", ",", "HOST_WIDE_INT", "high", ",", "const_tree", "exp", ")", "{", "HOST_WIDE_INT", "lane", ";", "gcc_assert", "(", "CONST_INT_P", "(", "operand", ")", ")", ";", "lane", "=", "INTVAL", "(", "operand", ")", ";", "if", "(", "lane", "<", "low", "||", "lane", ">=", "high", ")", "{", "if", "(", "exp", ")", "error", "(", "\"%Klane %ld out of range %ld - %ld\"", ",", "exp", ",", "lane", ",", "low", ",", "high", "-", "1", ")", ";", "else", "error", "(", "\"lane %ld out of range %ld - %ld\"", ",", "lane", ",", "low", ",", "high", "-", "1", ")", ";", "}", "}", ""], "natrual_language": ["Bounds-check", "lanes", ".", "Ensure", "OPERAND", "lies", "between", "LOW", "(", "inclusive", ")", "and", "HIGH", "(", "exclusive", ")", "."], "TS_V_token": ["aarch64", "\"%Klane %ld out of range %ld - %ld\"", "1", "\"lane %ld out of range %ld - %ld\"", "1"], "File": "aarch642", "Func": "aarch64_simd_lane_bounds", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8254, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "x86_64_elf_unique_section", "(", "tree", "decl", ",", "int", "reloc", ")", "{", "if", "(", "(", "ix86_cmodel", "==", "CM_MEDIUM", "||", "ix86_cmodel", "==", "CM_MEDIUM_PIC", ")", "&&", "ix86_in_large_data_p", "(", "decl", ")", ")", "{", "const", "char", "*", "prefix", "=", "NULL", ";", "bool", "one_only", "=", "DECL_ONE_ONLY", "(", "decl", ")", "&&", "!", "HAVE_COMDAT_GROUP", ";", "switch", "(", "categorize_decl_for_section", "(", "decl", ",", "reloc", ",", "flag_pic", ")", ")", "{", "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", "?", "\".gnu.linkonce.ld.\"", ":", "\".ldata.\"", ";", "break", ";", "case", "SECCAT_BSS", ":", "prefix", "=", "one_only", "?", "\".gnu.linkonce.lb.\"", ":", "\".lbss.\"", ";", "break", ";", "case", "SECCAT_RODATA", ":", "case", "SECCAT_RODATA_MERGE_STR", ":", "case", "SECCAT_RODATA_MERGE_STR_INIT", ":", "case", "SECCAT_RODATA_MERGE_CONST", ":", "prefix", "=", "one_only", "?", "\".gnu.linkonce.lr.\"", ":", "\".lrodata.\"", ";", "break", ";", "case", "SECCAT_SRODATA", ":", "case", "SECCAT_SDATA", ":", "case", "SECCAT_SBSS", ":", "gcc_unreachable", "(", ")", ";", "case", "SECCAT_TEXT", ":", "case", "SECCAT_TDATA", ":", "case", "SECCAT_TBSS", ":", "break", ";", "}", "if", "(", "prefix", ")", "{", "const", "char", "*", "name", ";", "size_t", "nlen", ",", "plen", ";", "char", "*", "string", ";", "plen", "=", "strlen", "(", "prefix", ")", ";", "name", "=", "IDENTIFIER_POINTER", "(", "DECL_ASSEMBLER_NAME", "(", "decl", ")", ")", ";", "name", "=", "targetm", ".", "strip_name_encoding", "(", "name", ")", ";", "nlen", "=", "strlen", "(", "name", ")", ";", "string", "=", "alloca", "(", "nlen", "+", "plen", "+", "1", ")", ";", "memcpy", "(", "string", ",", "prefix", ",", "plen", ")", ";", "memcpy", "(", "string", "+", "plen", ",", "name", ",", "nlen", "+", "1", ")", ";", "DECL_SECTION_NAME", "(", "decl", ")", "=", "build_string", "(", "nlen", "+", "plen", ",", "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": ["i386", "\".gnu.linkonce.ld.\"", "\".ldata.\"", "\".gnu.linkonce.lb.\"", "\".lbss.\"", "\".gnu.linkonce.lr.\"", "\".lrodata.\"", "1", "1"], "File": "i3863", "Func": "x86_64_elf_unique_section", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8255, "Length": 255, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "KudeyarTargetLowering", "::", "getPostIndexedAddressParts", "(", "SDNode", "*", "N", ",", "SDNode", "*", "Op", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Offset", ",", "ISD", "::", "MemIndexedMode", "&", "AM", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "EVT", "VT", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "LOAD", ")", "{", "LoadSDNode", "*", "LD", "=", "cast", "<", "LoadSDNode", ">", "(", "N", ")", ";", "VT", "=", "LD", "->", "getMemoryVT", "(", ")", ";", "}", "else", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "STORE", ")", "{", "StoreSDNode", "*", "ST", "=", "cast", "<", "StoreSDNode", ">", "(", "N", ")", ";", "VT", "=", "ST", "->", "getMemoryVT", "(", ")", ";", "}", "else", "return", "false", ";", "if", "(", "VT", "!=", "MVT", "::", "i8", "&&", "VT", "!=", "MVT", "::", "i16", "&&", "VT", "!=", "MVT", "::", "i32", ")", "return", "false", ";", "if", "(", "Op", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "ADD", ")", "return", "false", ";", "if", "(", "ConstantSDNode", "*", "RHS", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", "->", "getOperand", "(", "1", ")", ")", ")", "{", "uint64_t", "RHSC", "=", "RHS", "->", "getZExtValue", "(", ")", ";", "if", "(", "(", "VT", "==", "MVT", "::", "i32", "&&", "RHSC", "!=", "4", ")", "||", "(", "VT", "==", "MVT", "::", "i16", "&&", "RHSC", "!=", "2", ")", "||", "(", "VT", "==", "MVT", "::", "i8", "&&", "RHSC", "!=", "1", ")", ")", "return", "false", ";", "Base", "=", "Op", "->", "getOperand", "(", "0", ")", ";", "Offset", "=", "DAG", ".", "getConstant", "(", "RHSC", ",", "VT", ")", ";", "AM", "=", "ISD", "::", "POST_INC", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "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": ["Kudeyar", "Kudeyar", "ISD::MemIndexedMode", "ISD::LOAD", "ISD::STORE", "MVT::i8", "MVT::i16", "MVT::i32", "ISD::ADD", "1", "MVT::i32", "4", "MVT::i16", "2", "MVT::i8", "1", "0", "ISD::POST_INC"], "File": "KudeyarISelLowering", "Func": "getPostIndexedAddressParts", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8256, "Length": 251, "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", "E_QImode", ":", "fn", "=", "gen_store_conditionalqi", ";", "break", ";", "case", "E_HImode", ":", "fn", "=", "gen_store_conditionalhi", ";", "break", ";", "case", "E_SImode", ":", "fn", "=", "gen_store_conditionalsi", ";", "break", ";", "case", "E_DImode", ":", "fn", "=", "gen_store_conditionaldi", ";", "break", ";", "case", "E_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": "rs6000", "Func": "emit_store_conditional", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8257, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_expand_builtin_movtf", "(", "enum", "mips_builtin_type", "type", ",", "enum", "insn_code", "icode", ",", "enum", "mips_fp_condition", "cond", ",", "rtx", "target", ",", "tree", "exp", ")", "{", "struct", "expand_operand", "ops", "[", "4", "]", ";", "rtx", "cmp_result", ";", "cmp_result", "=", "mips_expand_builtin_compare_1", "(", "icode", ",", "cond", ",", "exp", ",", "2", ")", ";", "create_output_operand", "(", "&", "ops", "[", "0", "]", ",", "target", ",", "TYPE_MODE", "(", "TREE_TYPE", "(", "exp", ")", ")", ")", ";", "if", "(", "type", "==", "MIPS_BUILTIN_MOVT", ")", "{", "mips_prepare_builtin_arg", "(", "&", "ops", "[", "2", "]", ",", "exp", ",", "2", ")", ";", "mips_prepare_builtin_arg", "(", "&", "ops", "[", "1", "]", ",", "exp", ",", "3", ")", ";", "}", "else", "{", "mips_prepare_builtin_arg", "(", "&", "ops", "[", "1", "]", ",", "exp", ",", "2", ")", ";", "mips_prepare_builtin_arg", "(", "&", "ops", "[", "2", "]", ",", "exp", ",", "3", ")", ";", "}", "create_fixed_operand", "(", "&", "ops", "[", "3", "]", ",", "cmp_result", ")", ";", "return", "mips_expand_builtin_insn", "(", "CODE_FOR_mips_cond_move_tf_ps", ",", "4", ",", "ops", ",", "true", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "__builtin_mips_movt_", "*", "_ps", "(", ")", "or", "__builtin_mips_movf_", "*", "_ps", "(", ")", "function", "(", "TYPE", "says", "which", ")", ".", "ARGLIST", "is", "the", "list", "of", "arguments", "to", "the", "function", ",", "ICODE", "is", "the", "instruction", "that", "should", "be", "used", "to", "compare", "the", "first", "two", "arguments", ",", "and", "COND", "is", "the", "condition", "it", "should", "test", ".", "TARGET", ",", "if", "nonnull", ",", "suggests", "a", "good", "place", "to", "put", "the", "result", "."], "TS_V_token": ["mips", "4", "2", "0", "2", "2", "1", "3", "1", "2", "2", "3", "3", "4"], "File": "mips", "Func": "mips_expand_builtin_movtf", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8258, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_leave", "(", "rtx_insn", "*", "insn", ")", "{", "struct", "machine_function", "*", "m", "=", "cfun", "->", "machine", ";", "if", "(", "!", "insn", ")", "insn", "=", "emit_insn", "(", "gen_leave", "(", "word_mode", ")", ")", ";", "ix86_add_queued_cfa_restore_notes", "(", "insn", ")", ";", "gcc_assert", "(", "m", "->", "fs", ".", "fp_valid", ")", ";", "m", "->", "fs", ".", "sp_valid", "=", "true", ";", "m", "->", "fs", ".", "sp_realigned", "=", "false", ";", "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": "i386", "Func": "ix86_emit_leave", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8259, "Length": 158, "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_flushdi", "(", "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", ")", "emit_insn", "(", "gen_flushdi", "(", "validize_mem", "(", "adjust_address", "(", "m_tramp", ",", "DImode", ",", "8", ")", ")", ")", ")", ";", "emit_library_call", "(", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"__enable_execute_stack\"", ")", ",", "LCT_NORMAL", ",", "VOIDmode", ",", "1", ",", "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\"", "1", "0"], "File": "sparc6", "Func": "sparc64_initialize_trampoline", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8260, "Length": 222, "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", "::", "ADD", ":", "if", "(", "Node", "->", "getSimpleValueType", "(", "0", ")", ".", "isVector", "(", ")", "&&", "selectVecAddAsVecSubIfProfitable", "(", "Node", ")", ")", "return", ";", "break", ";", "case", "ISD", "::", "GLOBAL_OFFSET_TABLE", ":", "ReplaceNode", "(", "Node", ",", "getGlobalBaseReg", "(", "false", ")", ")", ";", "return", ";", "case", "ISD", "::", "LOAD", ":", "case", "ISD", "::", "STORE", ":", "assert", "(", "(", "Subtarget", "->", "systemSupportsUnalignedAccess", "(", "cast", "<", "MemSDNode", ">", "(", "Node", ")", "->", "getAddressSpace", "(", ")", ")", "||", "(", "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::ADD", "0", "ISD::GLOBAL_OFFSET_TABLE", "ISD::LOAD", "ISD::STORE", "8", "\"Unexpected unaligned loads/stores.\""], "File": "MipsISelDAGToDAG36", "Func": "Select", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8261, "Length": 198, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "output_return_instrumentation", "(", "void", ")", "{", "if", "(", "ix86_instrument_return", "!=", "instrument_return_none", "&&", "flag_fentry", "&&", "!", "DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT", "(", "cfun", "->", "decl", ")", ")", "{", "if", "(", "ix86_flag_record_return", ")", "fprintf", "(", "asm_out_file", ",", "\"1:\\n\"", ")", ";", "switch", "(", "ix86_instrument_return", ")", "{", "case", "instrument_return_call", ":", "fprintf", "(", "asm_out_file", ",", "\"\\tcall\\t__return__\\n\"", ")", ";", "break", ";", "case", "instrument_return_nop5", ":", "fprintf", "(", "asm_out_file", ",", "ASM_BYTE", "\"0x0f, 0x1f, 0x44, 0x00, 0x00\\n\"", ")", ";", "break", ";", "case", "instrument_return_none", ":", "break", ";", "}", "if", "(", "ix86_flag_record_return", ")", "{", "fprintf", "(", "asm_out_file", ",", "\"\\t.section __return_loc, \\\"a\\\",@progbits\\n\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.%s 1b\\n\"", ",", "TARGET_64BIT", "?", "\"quad\"", ":", "\"long\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.previous\\n\"", ")", ";", "}", "}", "}", ""], "natrual_language": ["Output", "return", "instrumentation", "for", "current", "function", "if", "needed", "."], "TS_V_token": ["i386", "\"1:\\n\"", "\"\\tcall\\t__return__\\n\"", "\"0x0f, 0x1f, 0x44, 0x00, 0x00\\n\"", "\"\\t.section __return_loc, \\\"a\\\",@progbits\\n\"", "\"\\t.%s 1b\\n\"", "\"quad\"", "\"long\"", "\"\\t.previous\\n\""], "File": "i386", "Func": "output_return_instrumentation", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8262, "Length": 106, "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": 8263, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "ix86_expand_adjust_ufix_to_sfix_si", "(", "rtx", "val", ",", "rtx", "*", "xorp", ")", "{", "REAL_VALUE_TYPE", "TWO31r", ";", "rtx", "two31r", ",", "tmp", "[", "4", "]", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "val", ")", ";", "machine_mode", "scalarmode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "machine_mode", "intmode", "=", "GET_MODE_SIZE", "(", "mode", ")", "==", "32", "?", "V8SImode", ":", "V4SImode", ";", "rtx", "(", "*", "cmp", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "3", ";", "i", "++", ")", "tmp", "[", "i", "]", "=", "gen_reg_rtx", "(", "mode", ")", ";", "real_ldexp", "(", "&", "TWO31r", ",", "&", "dconst1", ",", "31", ")", ";", "two31r", "=", "const_double_from_real_value", "(", "TWO31r", ",", "scalarmode", ")", ";", "two31r", "=", "ix86_build_const_vector", "(", "mode", ",", "1", ",", "two31r", ")", ";", "two31r", "=", "force_reg", "(", "mode", ",", "two31r", ")", ";", "switch", "(", "mode", ")", "{", "case", "E_V8SFmode", ":", "cmp", "=", "gen_avx_maskcmpv8sf3", ";", "break", ";", "case", "E_V4SFmode", ":", "cmp", "=", "gen_sse_maskcmpv4sf3", ";", "break", ";", "case", "E_V4DFmode", ":", "cmp", "=", "gen_avx_maskcmpv4df3", ";", "break", ";", "case", "E_V2DFmode", ":", "cmp", "=", "gen_sse2_maskcmpv2df3", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "tmp", "[", "3", "]", "=", "gen_rtx_LE", "(", "mode", ",", "two31r", ",", "val", ")", ";", "emit_insn", "(", "cmp", "(", "tmp", "[", "0", "]", ",", "two31r", ",", "val", ",", "tmp", "[", "3", "]", ")", ")", ";", "tmp", "[", "1", "]", "=", "expand_simple_binop", "(", "mode", ",", "AND", ",", "tmp", "[", "0", "]", ",", "two31r", ",", "tmp", "[", "1", "]", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "if", "(", "intmode", "==", "V4SImode", "||", "TARGET_AVX2", ")", "*", "xorp", "=", "expand_simple_binop", "(", "intmode", ",", "ASHIFT", ",", "gen_lowpart", "(", "intmode", ",", "tmp", "[", "0", "]", ")", ",", "GEN_INT", "(", "31", ")", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "else", "{", "rtx", "two31", "=", "gen_int_mode", "(", "HOST_WIDE_INT_1U", "<<", "31", ",", "SImode", ")", ";", "two31", "=", "ix86_build_const_vector", "(", "intmode", ",", "1", ",", "two31", ")", ";", "*", "xorp", "=", "expand_simple_binop", "(", "intmode", ",", "AND", ",", "gen_lowpart", "(", "intmode", ",", "tmp", "[", "0", "]", ")", ",", "two31", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "}", "return", "expand_simple_binop", "(", "mode", ",", "MINUS", ",", "val", ",", "tmp", "[", "1", "]", ",", "tmp", "[", "2", "]", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "}", ""], "natrual_language": ["Adjust", "a", "V", "*", "SFmode/V", "*", "DFmode", "value", "VAL", "so", "that", "*", "sfix_trunc", "*", "resp", ".", "fix_trunc", "*", "pattern", "can", "be", "used", "on", "it", "instead", "of", "fixuns_trunc", "*", ".", "This", "is", "done", "by", "doing", "just", "signed", "conversion", "if", "<", "0x1p31", ",", "and", "otherwise", "by", "subtracting", "0x1p31", "first", "and", "xoring", "in", "0x80000000", "from", "*", "XORP", "afterwards", "."], "TS_V_token": ["i386", "4", "32", "0", "3", "31", "1", "3", "0", "3", "1", "0", "1", "0", "0", "31", "0", "31", "1", "0", "0", "1", "2", "0"], "File": "i386-expand", "Func": "ix86_expand_adjust_ufix_to_sfix_si", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8264, "Length": 361, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_sve_emit_int_cmp", "(", "rtx", "target", ",", "machine_mode", "pred_mode", ",", "rtx_code", "cmp", ",", "machine_mode", "data_mode", ",", "rtx", "op1", ",", "rtx", "op2", ")", "{", "insn_code", "icode", "=", "code_for_aarch64_pred_cmp", "(", "cmp", ",", "data_mode", ")", ";", "expand_operand", "ops", "[", "5", "]", ";", "create_output_operand", "(", "&", "ops", "[", "0", "]", ",", "target", ",", "pred_mode", ")", ";", "create_input_operand", "(", "&", "ops", "[", "1", "]", ",", "CONSTM1_RTX", "(", "pred_mode", ")", ",", "pred_mode", ")", ";", "create_integer_operand", "(", "&", "ops", "[", "2", "]", ",", "SVE_KNOWN_PTRUE", ")", ";", "create_input_operand", "(", "&", "ops", "[", "3", "]", ",", "op1", ",", "data_mode", ")", ";", "create_input_operand", "(", "&", "ops", "[", "4", "]", ",", "op2", ",", "data_mode", ")", ";", "expand_insn", "(", "icode", ",", "5", ",", "ops", ")", ";", "return", "ops", "[", "0", "]", ".", "value", ";", "}", ""], "natrual_language": ["Emit", "a", "comparison", "CMP", "between", "OP0", "and", "OP1", ",", "both", "of", "which", "have", "mode", "DATA_MODE", ",", "and", "return", "the", "result", "in", "a", "predicate", "of", "mode", "PRED_MODE", ".", "Use", "TARGET", "as", "the", "target", "register", "if", "nonnull", "and", "convenient", "."], "TS_V_token": ["aarch64", "5", "0", "1", "2", "3", "4", "5", "0"], "File": "aarch64", "Func": "aarch64_sve_emit_int_cmp", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8265, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_const_double_by_immediates", "(", "rtx", "val", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "val", ")", ";", "rtx", "part", ";", "if", "(", "mode", "==", "VOIDmode", ")", "mode", "=", "DImode", ";", "part", "=", "gen_highpart_mode", "(", "SImode", ",", "mode", ",", "val", ")", ";", "gcc_assert", "(", "CONST_INT_P", "(", "part", ")", ")", ";", "if", "(", "!", "const_ok_for_arm", "(", "INTVAL", "(", "part", ")", ")", ")", "return", "false", ";", "part", "=", "gen_lowpart", "(", "SImode", ",", "val", ")", ";", "gcc_assert", "(", "CONST_INT_P", "(", "part", ")", ")", ";", "if", "(", "!", "const_ok_for_arm", "(", "INTVAL", "(", "part", ")", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "possible", "to", "inline", "both", "the", "high", "and", "low", "parts", "of", "a", "64-bit", "constant", "into", "32-bit", "data", "processing", "instructions", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_const_double_by_immediates", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8266, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MINA32MCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "verifyInstructionPredicates", "(", "MI", ",", "computeAvailableFeatures", "(", "STI", ".", "getFeatureBits", "(", ")", ")", ")", ";", "uint64_t", "Binary", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "support", "::", "endian", "::", "write", "<", "uint32_t", ">", "(", "OS", ",", "Binary", ",", "support", "::", "little", ")", ";", "++", "MCNumEmitted", ";", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["MINA32", "MINA32", "support::endian", "support::little"], "File": "MINA32MCCodeEmitter", "Func": "encodeInstruction", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8267, "Length": 76, "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", ";", "MVT", "VT", "=", "MVT", "::", "Other", ";", "if", "(", "X86", "::", "VK16RegClass", ".", "contains", "(", "Reg", ")", ")", "VT", "=", "STI", ".", "hasBWI", "(", ")", "?", "MVT", "::", "v64i1", ":", "MVT", "::", "v16i1", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ",", "VT", ")", ";", "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", "MVT::Other", "X86::VK16RegClass", "MVT::v64i1", "MVT::v16i1", "1"], "File": "X86FrameLowering10", "Func": "spillCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8268, "Length": 428, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "X86RegisterInfo", "&", "RegInfo", "=", "*", "static_cast", "<", "const", "X86RegisterInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "unsigned", "StackPtr", "=", "RegInfo", ".", "getStackRegister", "(", ")", ";", "bool", "reserveCallFrame", "=", "hasReservedCallFrame", "(", "MF", ")", ";", "int", "Opcode", "=", "I", "->", "getOpcode", "(", ")", ";", "bool", "isDestroy", "=", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ";", "const", "X86Subtarget", "&", "STI", "=", "MF", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "bool", "IsLP64", "=", "STI", ".", "isTarget64BitLP64", "(", ")", ";", "DebugLoc", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "uint64_t", "Amount", "=", "!", "reserveCallFrame", "?", "I", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ":", "0", ";", "uint64_t", "CalleeAmt", "=", "isDestroy", "?", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ":", "0", ";", "I", "=", "MBB", ".", "erase", "(", "I", ")", ";", "if", "(", "!", "reserveCallFrame", ")", "{", "if", "(", "Amount", "==", "0", ")", "return", ";", "unsigned", "StackAlign", "=", "MF", ".", "getTarget", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "getFrameLowering", "(", ")", "->", "getStackAlignment", "(", ")", ";", "Amount", "=", "(", "Amount", "+", "StackAlign", "-", "1", ")", "/", "StackAlign", "*", "StackAlign", ";", "MachineInstr", "*", "New", "=", "nullptr", ";", "if", "(", "Opcode", "==", "TII", ".", "getCallFrameSetupOpcode", "(", ")", ")", "{", "if", "(", "!", "IsLP64", "&&", "convertArgMovsToPushes", "(", "MF", ",", "MBB", ",", "I", ",", "Amount", ")", ")", "return", ";", "New", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "getSUBriOpcode", "(", "IsLP64", ",", "Amount", ")", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ")", ";", "Amount", "-=", "CalleeAmt", ";", "if", "(", "Amount", ")", "{", "unsigned", "Opc", "=", "getADDriOpcode", "(", "IsLP64", ",", "Amount", ")", ";", "New", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "}", "if", "(", "New", ")", "{", "New", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "return", ";", "}", "if", "(", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", "&&", "CalleeAmt", ")", "{", "unsigned", "Opc", "=", "getSUBriOpcode", "(", "IsLP64", ",", "CalleeAmt", ")", ";", "MachineInstr", "*", "New", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "CalleeAmt", ")", ";", "New", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "B", "=", "MBB", ".", "begin", "(", ")", ";", "while", "(", "I", "!=", "B", "&&", "!", "std", "::", "prev", "(", "I", ")", "->", "isCall", "(", ")", ")", "--", "I", ";", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "}", ""], "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", "X86", "X86", "X86", "X86", "0", "0", "1", "0", "0", "1", "3", "3"], "File": "X86FrameLowering106", "Func": "eliminateCallFramePseudoInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8269, "Length": 495, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "mips_output_jump", "(", "rtx", "*", "operands", ",", "int", "target_opno", ",", "int", "size_opno", ",", "bool", "link_p", ")", "{", "static", "char", "buffer", "[", "300", "]", ";", "char", "*", "s", "=", "buffer", ";", "bool", "reg_p", "=", "REG_P", "(", "operands", "[", "target_opno", "]", ")", ";", "const", "char", "*", "and_link", "=", "link_p", "?", "\"al\"", ":", "\"\"", ";", "const", "char", "*", "reg", "=", "reg_p", "?", "\"r\"", ":", "\"\"", ";", "const", "char", "*", "compact", "=", "\"\"", ";", "const", "char", "*", "nop", "=", "\"%/\"", ";", "const", "char", "*", "short_delay", "=", "link_p", "?", "\"%!\"", ":", "\"\"", ";", "const", "char", "*", "insn_name", "=", "TARGET_CB_NEVER", "||", "reg_p", "?", "\"j\"", ":", "\"b\"", ";", "if", "(", "!", "final_sequence", "&&", "(", "TARGET_CB_MAYBE", "||", "(", "ISA_HAS_JRC", "&&", "!", "link_p", "&&", "reg_p", ")", ")", ")", "{", "compact", "=", "\"c\"", ";", "nop", "=", "\"\"", ";", "}", "if", "(", "TARGET_USE_GOT", "&&", "!", "TARGET_EXPLICIT_RELOCS", ")", "sprintf", "(", "s", ",", "\"%%*%s%s\\t%%%d%%/\"", ",", "insn_name", ",", "and_link", ",", "target_opno", ")", ";", "else", "{", "if", "(", "!", "reg_p", "&&", "TARGET_ABICALLS_PIC2", ")", "s", "+=", "sprintf", "(", "s", ",", "\".option\\tpic0\\n\\t\"", ")", ";", "if", "(", "reg_p", "&&", "mips_get_pic_call_symbol", "(", "operands", ",", "size_opno", ")", ")", "s", "+=", "sprintf", "(", "s", ",", "\"%%*.reloc\\t1f,%s,%%%d\\n1:\\t\"", ",", "TARGET_MICROMIPS", "?", "\"R_MICROMIPS_JALR\"", ":", "\"R_MIPS_JALR\"", ",", "size_opno", ")", ";", "else", "s", "+=", "sprintf", "(", "s", ",", "\"%%*\"", ")", ";", "s", "+=", "sprintf", "(", "s", ",", "\"%s%s%s%s%s\\t%%%d%s\"", ",", "insn_name", ",", "and_link", ",", "reg", ",", "compact", ",", "short_delay", ",", "target_opno", ",", "nop", ")", ";", "if", "(", "!", "reg_p", "&&", "TARGET_ABICALLS_PIC2", ")", "s", "+=", "sprintf", "(", "s", ",", "\"\\n\\t.option\\tpic2\"", ")", ";", "}", "return", "buffer", ";", "}", ""], "natrual_language": ["Return", "the", "asm", "template", "for", "a", "call", ".", "OPERANDS", "are", "the", "operands", ",", "TARGET_OPNO", "is", "the", "operand", "number", "of", "the", "target", ".", "SIZE_OPNO", "is", "the", "operand", "number", "of", "the", "argument", "size", "operand", "that", "can", "optionally", "hold", "the", "call", "attributes", ".", "If", "SIZE_OPNO", "is", "not", "-1", "and", "the", "call", "is", "indirect", ",", "use", "the", "function", "symbol", "from", "the", "call", "attributes", "to", "attach", "a", "R_MIPS_JALR", "relocation", "to", "the", "call", ".", "LINK_P", "indicates", "whether", "the", "jump", "is", "a", "call", "and", "needs", "to", "set", "the", "link", "register", ".", "When", "generating", "GOT", "code", "without", "explicit", "relocation", "operators", ",", "all", "calls", "should", "use", "assembly", "macros", ".", "Otherwise", ",", "all", "indirect", "calls", "should", "use", "``", "jr", "''", "or", "``", "jalr", "''", ";", "we", "will", "arrange", "to", "restore", "$", "gp", "afterwards", "if", "necessary", ".", "Finally", ",", "we", "can", "only", "generate", "direct", "calls", "for", "-mabicalls", "by", "temporarily", "switching", "to", "non-PIC", "mode", ".", "For", "microMIPS", "jal", "(", "r", ")", ",", "we", "try", "to", "generate", "jal", "(", "r", ")", "s", "when", "a", "16-bit", "instruction", "is", "in", "the", "delay", "slot", "of", "jal", "(", "r", ")", ".", "Where", "compact", "branches", "are", "available", ",", "we", "try", "to", "use", "them", "if", "the", "delay", "slot", "has", "a", "NOP", "(", "or", "equivalently", "delay", "slots", "were", "not", "enabled", "for", "the", "instruction", "anyway", ")", "."], "TS_V_token": ["mips", "300", "\"al\"", "\"\"", "\"r\"", "\"\"", "\"\"", "\"%/\"", "\"%!\"", "\"\"", "\"j\"", "\"b\"", "\"c\"", "\"\"", "\"%%*%s%s\\t%%%d%%/\"", "\".option\\tpic0\\n\\t\"", "\"%%*.reloc\\t1f,%s,%%%d\\n1:\\t\"", "\"R_MICROMIPS_JALR\"", "\"R_MIPS_JALR\"", "\"%%*\"", "\"%s%s%s%s%s\\t%%%d%s\"", "\"\\n\\t.option\\tpic2\""], "File": "mips", "Func": "mips_output_jump", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8270, "Length": 251, "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", "->", "isTargetWindows", "(", ")", "&&", "IsVarArg", ")", "return", "CC_AArch64_Win64_VarArg", ";", "if", "(", "!", "Subtarget", "->", "isTargetDarwin", "(", ")", ")", "return", "CC_AArch64_AAPCS", ";", "return", "IsVarArg", "?", "CC_AArch64_DarwinPCS_VarArg", ":", "CC_AArch64_DarwinPCS", ";", "case", "CallingConv", "::", "Win64", ":", "return", "IsVarArg", "?", "CC_AArch64_Win64_VarArg", ":", "CC_AArch64_AAPCS", ";", "}", "}", ""], "natrual_language": ["Selects", "the", "correct", "CCAssignFn", "for", "a", "given", "CallingConvention", "value", "."], "TS_V_token": ["AArch64", "AArch64", "\"Unsupported calling convention.\"", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64ISelLowering144", "Func": "CCAssignFnForCall", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8271, "Length": 115, "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", "(", "ix86_gen_add3", "(", "pic_offset_table_rtx", ",", "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": "i3867", "Func": "ix86_init_large_pic_reg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8272, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_sve_ldnf1_operand_p", "(", "rtx", "op", ")", "{", "struct", "aarch64_address_info", "addr", ";", "return", "(", "MEM_P", "(", "op", ")", "&&", "aarch64_classify_address", "(", "&", "addr", ",", "XEXP", "(", "op", ",", "0", ")", ",", "GET_MODE", "(", "op", ")", ",", "false", ")", "&&", "addr", ".", "type", "==", "ADDRESS_REG_IMM", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "is", "a", "valid", "MEM", "operand", "for", "an", "SVE", "LDNF1", "instruction", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64", "Func": "aarch64_sve_ldnf1_operand_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8273, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_register_target_pragmas", "(", "void", ")", "{", "targetm", ".", "target_option", ".", "pragma_parse", "=", "arm_pragma_target_parse", ";", "REGISTER_SUBTARGET_PRAGMAS", "(", ")", ";", "}", ""], "natrual_language": ["Register", "target", "pragmas", ".", "We", "need", "to", "add", "the", "hook", "for", "parsing", "#", "pragma", "GCC", "option", "here", "rather", "than", "in", "arm.cc", "since", "it", "will", "pull", "in", "various", "preprocessor", "functions", ",", "and", "those", "are", "not", "present", "in", "languages", "like", "fortran", "without", "a", "preprocessor", "."], "TS_V_token": ["arm"], "File": "arm-c3", "Func": "arm_register_target_pragmas", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8274, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sh_print_operand_address", "(", "FILE", "*", "stream", ",", "machine_mode", ",", "rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "REG", ":", "case", "SUBREG", ":", "fprintf", "(", "stream", ",", "\"@%s\"", ",", "reg_names", "[", "true_regnum", "(", "x", ")", "]", ")", ";", "break", ";", "case", "PLUS", ":", "{", "rtx", "base", "=", "XEXP", "(", "x", ",", "0", ")", ";", "rtx", "index", "=", "XEXP", "(", "x", ",", "1", ")", ";", "switch", "(", "GET_CODE", "(", "index", ")", ")", "{", "case", "CONST_INT", ":", "fprintf", "(", "stream", ",", "\"@(%d,%s)\"", ",", "(", "int", ")", "INTVAL", "(", "index", ")", ",", "reg_names", "[", "true_regnum", "(", "base", ")", "]", ")", ";", "break", ";", "case", "REG", ":", "case", "SUBREG", ":", "{", "int", "base_num", "=", "true_regnum", "(", "base", ")", ";", "int", "index_num", "=", "true_regnum", "(", "index", ")", ";", "if", "(", "base_num", "==", "0", "&&", "index_num", "!=", "0", ")", "std", "::", "swap", "(", "base_num", ",", "index_num", ")", ";", "fprintf", "(", "stream", ",", "\"@(%s,%s)\"", ",", "reg_names", "[", "index_num", "]", ",", "reg_names", "[", "base_num", "]", ")", ";", "break", ";", "}", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "break", ";", "case", "PRE_DEC", ":", "fprintf", "(", "stream", ",", "\"@-%s\"", ",", "reg_names", "[", "true_regnum", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "break", ";", "case", "POST_INC", ":", "fprintf", "(", "stream", ",", "\"@%s+\"", ",", "reg_names", "[", "true_regnum", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "break", ";", "default", ":", "x", "=", "mark_constant_pool_use", "(", "x", ")", ";", "output_addr_const", "(", "stream", ",", "x", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Print", "the", "operand", "address", "in", "x", "to", "the", "stream", "."], "TS_V_token": ["sh", "\"@%s\"", "0", "1", "\"@(%d,%s)\"", "0", "0", "\"@(%s,%s)\"", "\"@-%s\"", "0", "\"@%s+\"", "0"], "File": "sh", "Func": "sh_print_operand_address", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8275, "Length": 247, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "MipsAsmParser", "::", "tryParseRegister", "(", "bool", "is64BitReg", ")", "{", "const", "AsmToken", "&", "Tok", "=", "Parser", ".", "getTok", "(", ")", ";", "int", "RegNum", "=", "-", "1", ";", "if", "(", "Tok", ".", "is", "(", "AsmToken", "::", "Identifier", ")", ")", "{", "std", "::", "string", "lowerCase", "=", "Tok", ".", "getString", "(", ")", ".", "lower", "(", ")", ";", "RegNum", "=", "matchRegisterName", "(", "lowerCase", ",", "is64BitReg", ")", ";", "}", "else", "if", "(", "Tok", ".", "is", "(", "AsmToken", "::", "Integer", ")", ")", "RegNum", "=", "matchRegisterByNumber", "(", "static_cast", "<", "unsigned", ">", "(", "Tok", ".", "getIntVal", "(", ")", ")", ",", "is64BitReg", "?", "Mips", "::", "CPU64RegsRegClassID", ":", "Mips", "::", "CPURegsRegClassID", ")", ";", "return", "RegNum", ";", "}", ""], "natrual_language": ["tryParseRegister", "-", "parse", "one", "register", "if", "possible"], "TS_V_token": ["Mips", "Mips", "1", "Mips::CPU64RegsRegClassID", "Mips::CPURegsRegClassID"], "File": "MipsAsmParser102", "Func": "tryParseRegister", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8276, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetObjectFile", "::", "IsConstantInSmallSection", "(", "const", "Constant", "*", "CN", ",", "const", "TargetMachine", "&", "TM", ")", "const", "{", "return", "(", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "useSmallSection", "(", ")", "&&", "LocalSData", "&&", "IsInSmallSection", "(", "TM", ".", "getSubtargetImpl", "(", ")", "->", "getDataLayout", "(", ")", "->", "getTypeAllocSize", "(", "CN", "->", "getType", "(", ")", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "constant", "should", "be", "placed", "into", "small", "data", "section", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsTargetObjectFile35", "Func": "IsConstantInSmallSection", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8277, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "vector_init_faligndata", "(", "rtx", "target", ",", "rtx", "elt", ")", "{", "rtx", "t1", "=", "gen_reg_rtx", "(", "V4HImode", ")", ";", "int", "i", ";", "elt", "=", "convert_modes", "(", "SImode", ",", "HImode", ",", "elt", ",", "true", ")", ";", "emit_move_insn", "(", "gen_lowpart", "(", "SImode", ",", "t1", ")", ",", "elt", ")", ";", "emit_insn", "(", "gen_alignaddrsi_vis", "(", "gen_reg_rtx", "(", "SImode", ")", ",", "force_reg", "(", "SImode", ",", "GEN_INT", "(", "6", ")", ")", ",", "const0_rtx", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "4", ";", "i", "++", ")", "emit_insn", "(", "gen_faligndatav4hi_vis", "(", "target", ",", "t1", ",", "target", ")", ")", ";", "}", ""], "natrual_language": ["Subroutine", "of", "sparc_expand_vector_init", ".", "Emit", "code", "to", "initialize", "all", "fields", "of", "TARGET", "to", "ELT", "in", "V4HI", "by", "means", "of", "VIS", "FALIGNDATA", "insn", "."], "TS_V_token": ["sparc", "6", "0", "4"], "File": "sparc", "Func": "vector_init_faligndata", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8278, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "StackPU2AsmPrinter", "::", "emitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "StackPU2MCInstLower", "MCInstLowering", "(", "OutContext", ",", "*", "this", ")", ";", "MCInst", "I", ";", "MCInstLowering", ".", "lowerInstruction", "(", "*", "MI", ",", "I", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "I", ")", ";", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["StackPU2", "StackPU2", "StackPU2"], "File": "StackPU2AsmPrinter", "Func": "emitInstruction", "Target": "StackPU2", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8279, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emitSPUpdate", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "unsigned", "StackPtr", ",", "int64_t", "NumBytes", ",", "bool", "Is64Bit", ",", "bool", "IsLP64", ",", "bool", "UseLEA", ",", "const", "TargetInstrInfo", "&", "TII", ",", "const", "TargetRegisterInfo", "&", "TRI", ")", "{", "bool", "isSub", "=", "NumBytes", "<", "0", ";", "uint64_t", "Offset", "=", "isSub", "?", "-", "NumBytes", ":", "NumBytes", ";", "unsigned", "Opc", ";", "if", "(", "UseLEA", ")", "Opc", "=", "getLEArOpcode", "(", "IsLP64", ")", ";", "else", "Opc", "=", "isSub", "?", "getSUBriOpcode", "(", "IsLP64", ",", "Offset", ")", ":", "getADDriOpcode", "(", "IsLP64", ",", "Offset", ")", ";", "uint64_t", "Chunk", "=", "(", "1LL", "<<", "31", ")", "-", "1", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MBBI", ")", ";", "while", "(", "Offset", ")", "{", "uint64_t", "ThisVal", "=", "(", "Offset", ">", "Chunk", ")", "?", "Chunk", ":", "Offset", ";", "if", "(", "ThisVal", "==", "(", "Is64Bit", "?", "8", ":", "4", ")", ")", "{", "unsigned", "Reg", "=", "isSub", "?", "(", "unsigned", ")", "(", "Is64Bit", "?", "X86", "::", "RAX", ":", "X86", "::", "EAX", ")", ":", "findDeadCallerSavedReg", "(", "MBB", ",", "MBBI", ",", "TRI", ",", "Is64Bit", ")", ";", "if", "(", "Reg", ")", "{", "Opc", "=", "isSub", "?", "(", "Is64Bit", "?", "X86", "::", "PUSH64r", ":", "X86", "::", "PUSH32r", ")", ":", "(", "Is64Bit", "?", "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": "X86FrameLowering115", "Func": "emitSPUpdate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8280, "Length": 372, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "aarch64_estimated_poly_value", "(", "poly_int64", "val", ")", "{", "enum", "aarch64_sve_vector_bits_enum", "width_source", "=", "aarch64_tune_params", ".", "sve_width", ";", "if", "(", "width_source", "==", "SVE_SCALABLE", ")", "return", "default_estimated_poly_value", "(", "val", ")", ";", "HOST_WIDE_INT", "over_128", "=", "width_source", "-", "128", ";", "return", "val", ".", "coeffs", "[", "0", "]", "+", "val", ".", "coeffs", "[", "1", "]", "*", "over_128", "/", "128", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ESTIMATED_POLY_VALUE", ".", "Look", "into", "the", "tuning", "structure", "for", "an", "estimate", ".", "KIND", "specifies", "the", "type", "of", "requested", "estimate", ":", "min", ",", "max", "or", "likely", ".", "For", "cores", "with", "a", "known", "SVE", "width", "all", "three", "estimates", "are", "the", "same", ".", "For", "generic", "SVE", "tuning", "we", "want", "to", "distinguish", "the", "maximum", "estimate", "from", "the", "minimum", "and", "likely", "ones", ".", "The", "likely", "estimate", "is", "the", "same", "as", "the", "minimum", "in", "that", "case", "to", "give", "a", "conservative", "behavior", "of", "auto-vectorizing", "with", "SVE", "when", "it", "is", "a", "win", "even", "for", "128-bit", "SVE", ".", "When", "SVE", "width", "information", "is", "available", "VAL.coeffs", "[", "1", "]", "is", "multiplied", "by", "the", "number", "of", "VQ", "chunks", "over", "the", "initial", "Advanced", "SIMD", "128", "bits", "."], "TS_V_token": ["aarch64", "128", "0", "1", "128"], "File": "aarch64", "Func": "aarch64_estimated_poly_value", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8281, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mep_reg_set_p", "(", "rtx", "reg", ",", "rtx", "insn", ")", "{", "if", "(", "INSN_P", "(", "insn", ")", ")", "{", "if", "(", "FIND_REG_INC_NOTE", "(", "insn", ",", "reg", ")", ")", "return", "true", ";", "insn", "=", "PATTERN", "(", "insn", ")", ";", "}", "if", "(", "GET_CODE", "(", "insn", ")", "==", "SET", "&&", "GET_CODE", "(", "XEXP", "(", "insn", ",", "0", ")", ")", "==", "REG", "&&", "GET_CODE", "(", "XEXP", "(", "insn", ",", "1", ")", ")", "==", "REG", "&&", "REGNO", "(", "XEXP", "(", "insn", ",", "0", ")", ")", "==", "REGNO", "(", "XEXP", "(", "insn", ",", "1", ")", ")", ")", "return", "false", ";", "return", "set_of", "(", "reg", ",", "insn", ")", "!=", "NULL_RTX", ";", "}", ""], "natrual_language": ["Frame/Epilog/Prolog", "Related", "."], "TS_V_token": ["mep", "0", "1", "0", "1"], "File": "mep", "Func": "mep_reg_set_p", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8282, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_elf_encode_section_info", "(", "tree", "decl", ",", "rtx", "rtl", ",", "int", "first", ")", "{", "default_encode_section_info", "(", "decl", ",", "rtl", ",", "first", ")", ";", "if", "(", "first", "&&", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", "&&", "!", "TARGET_AIX", "&&", "DEFAULT_ABI", "==", "ABI_AIX", ")", "{", "rtx", "sym_ref", "=", "XEXP", "(", "rtl", ",", "0", ")", ";", "size_t", "len", "=", "strlen", "(", "XSTR", "(", "sym_ref", ",", "0", ")", ")", ";", "char", "*", "str", "=", "XALLOCAVEC", "(", "char", ",", "len", "+", "2", ")", ";", "str", "[", "0", "]", "=", "'.'", ";", "memcpy", "(", "str", "+", "1", ",", "XSTR", "(", "sym_ref", ",", "0", ")", ",", "len", "+", "1", ")", ";", "XSTR", "(", "sym_ref", ",", "0", ")", "=", "ggc_alloc_string", "(", "str", ",", "len", "+", "1", ")", ";", "}", "}", ""], "natrual_language": ["For", "a", "SYMBOL_REF", ",", "set", "generic", "flags", "and", "then", "perform", "some", "target-specific", "processing", ".", "When", "the", "AIX", "ABI", "is", "requested", "on", "a", "non-AIX", "system", ",", "replace", "the", "function", "name", "with", "the", "real", "name", "(", "with", "a", "leading", ".", ")", "rather", "than", "the", "function", "descriptor", "name", ".", "This", "saves", "a", "lot", "of", "overriding", "code", "to", "read", "the", "prefixes", "."], "TS_V_token": ["powerpcspe", "0", "0", "2", "0", "1", "0", "1", "0", "1"], "File": "powerpcspe", "Func": "rs6000_elf_encode_section_info", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8283, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "ix86_output_ssemov", "(", "rtx_insn", "*", "insn", ",", "rtx", "*", "operands", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", ";", "if", "(", "get_attr_type", "(", "insn", ")", "!=", "TYPE_SSEMOV", "||", "mode", "!=", "GET_MODE", "(", "operands", "[", "1", "]", ")", ")", "gcc_unreachable", "(", ")", ";", "enum", "attr_mode", "insn_mode", "=", "get_attr_mode", "(", "insn", ")", ";", "switch", "(", "insn_mode", ")", "{", "case", "MODE_XI", ":", "case", "MODE_V8DF", ":", "case", "MODE_V16SF", ":", "return", "ix86_get_ssemov", "(", "operands", ",", "64", ",", "insn_mode", ",", "mode", ")", ";", "case", "MODE_OI", ":", "case", "MODE_V4DF", ":", "case", "MODE_V8SF", ":", "return", "ix86_get_ssemov", "(", "operands", ",", "32", ",", "insn_mode", ",", "mode", ")", ";", "case", "MODE_TI", ":", "case", "MODE_V2DF", ":", "case", "MODE_V4SF", ":", "return", "ix86_get_ssemov", "(", "operands", ",", "16", ",", "insn_mode", ",", "mode", ")", ";", "case", "MODE_DI", ":", "if", "(", "GENERAL_REG_P", "(", "operands", "[", "0", "]", ")", ")", "{", "if", "(", "HAVE_AS_IX86_INTERUNIT_MOVQ", ")", "return", "\"%vmovq\\t{%1, %q0|%q0, %1}\"", ";", "else", "return", "\"%vmovd\\t{%1, %q0|%q0, %1}\"", ";", "}", "else", "if", "(", "GENERAL_REG_P", "(", "operands", "[", "1", "]", ")", ")", "{", "if", "(", "HAVE_AS_IX86_INTERUNIT_MOVQ", ")", "return", "\"%vmovq\\t{%q1, %0|%0, %q1}\"", ";", "else", "return", "\"%vmovd\\t{%q1, %0|%0, %q1}\"", ";", "}", "else", "return", "\"%vmovq\\t{%1, %0|%0, %1}\"", ";", "case", "MODE_SI", ":", "if", "(", "GENERAL_REG_P", "(", "operands", "[", "0", "]", ")", ")", "return", "\"%vmovd\\t{%1, %k0|%k0, %1}\"", ";", "else", "if", "(", "GENERAL_REG_P", "(", "operands", "[", "1", "]", ")", ")", "return", "\"%vmovd\\t{%k1, %0|%0, %k1}\"", ";", "else", "return", "\"%vmovd\\t{%1, %0|%0, %1}\"", ";", "case", "MODE_HI", ":", "if", "(", "GENERAL_REG_P", "(", "operands", "[", "0", "]", ")", ")", "return", "\"vmovw\\t{%1, %k0|%k0, %1}\"", ";", "else", "if", "(", "GENERAL_REG_P", "(", "operands", "[", "1", "]", ")", ")", "return", "\"vmovw\\t{%k1, %0|%0, %k1}\"", ";", "else", "return", "\"vmovw\\t{%1, %0|%0, %1}\"", ";", "case", "MODE_DF", ":", "if", "(", "TARGET_AVX", "&&", "REG_P", "(", "operands", "[", "0", "]", ")", "&&", "REG_P", "(", "operands", "[", "1", "]", ")", ")", "return", "\"vmovsd\\t{%d1, %0|%0, %d1}\"", ";", "else", "return", "\"%vmovsd\\t{%1, %0|%0, %1}\"", ";", "case", "MODE_SF", ":", "if", "(", "TARGET_AVX", "&&", "REG_P", "(", "operands", "[", "0", "]", ")", "&&", "REG_P", "(", "operands", "[", "1", "]", ")", ")", "return", "\"vmovss\\t{%d1, %0|%0, %d1}\"", ";", "else", "return", "\"%vmovss\\t{%1, %0|%0, %1}\"", ";", "case", "MODE_HF", ":", "if", "(", "REG_P", "(", "operands", "[", "0", "]", ")", "&&", "REG_P", "(", "operands", "[", "1", "]", ")", ")", "return", "\"vmovsh\\t{%d1, %0|%0, %d1}\"", ";", "else", "return", "\"vmovsh\\t{%1, %0|%0, %1}\"", ";", "case", "MODE_V1DF", ":", "gcc_assert", "(", "!", "TARGET_AVX", ")", ";", "return", "\"movlpd\\t{%1, %0|%0, %1}\"", ";", "case", "MODE_V2SF", ":", "if", "(", "TARGET_AVX", "&&", "REG_P", "(", "operands", "[", "0", "]", ")", ")", "return", "\"vmovlps\\t{%1, %d0|%d0, %1}\"", ";", "else", "return", "\"%vmovlps\\t{%1, %0|%0, %1}\"", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "template", "of", "the", "TYPE_SSEMOV", "instruction", "to", "move", "operands", "[", "1", "]", "into", "operands", "[", "0", "]", "."], "TS_V_token": ["i386", "0", "1", "64", "32", "16", "0", "\"%vmovq\\t{%1, %q0|%q0, %1}\"", "\"%vmovd\\t{%1, %q0|%q0, %1}\"", "1", "\"%vmovq\\t{%q1, %0|%0, %q1}\"", "\"%vmovd\\t{%q1, %0|%0, %q1}\"", "\"%vmovq\\t{%1, %0|%0, %1}\"", "0", "\"%vmovd\\t{%1, %k0|%k0, %1}\"", "1", "\"%vmovd\\t{%k1, %0|%0, %k1}\"", "\"%vmovd\\t{%1, %0|%0, %1}\"", "0", "\"vmovw\\t{%1, %k0|%k0, %1}\"", "1", "\"vmovw\\t{%k1, %0|%0, %k1}\"", "\"vmovw\\t{%1, %0|%0, %1}\"", "0", "1", "\"vmovsd\\t{%d1, %0|%0, %d1}\"", "\"%vmovsd\\t{%1, %0|%0, %1}\"", "0", "1", "\"vmovss\\t{%d1, %0|%0, %d1}\"", "\"%vmovss\\t{%1, %0|%0, %1}\"", "0", "1", "\"vmovsh\\t{%d1, %0|%0, %d1}\"", "\"vmovsh\\t{%1, %0|%0, %1}\"", "\"movlpd\\t{%1, %0|%0, %1}\"", "0", "\"vmovlps\\t{%1, %d0|%d0, %1}\"", "\"%vmovlps\\t{%1, %0|%0, %1}\""], "File": "i386", "Func": "ix86_output_ssemov", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8284, "Length": 377, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isUnconditionalBranch", "(", "const", "MCInst", "&", "Inst", ")", "const", "override", "{", "if", "(", "Inst", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "Bcc", "&&", "Inst", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", "==", "A64CC", "::", "AL", ")", "return", "true", ";", "return", "MCInstrAnalysis", "::", "isUnconditionalBranch", "(", "Inst", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "is", "a", "branch", "which", "always", "transfers", "control", "flow", "to", "some", "other", "block", "."], "TS_V_token": ["AArch64", "AArch64::Bcc", "0", "A64CC::AL"], "File": "AArch64MCTargetDesc26", "Func": "isUnconditionalBranch", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8285, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86DAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "OptForSize", "=", "MF", "->", "getFunction", "(", ")", "->", "optForSize", "(", ")", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "&", "*", "I", "++", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "(", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", "&&", "!", "Subtarget", "->", "callRegIndirect", "(", ")", ")", "||", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "TC_RETURN", "&&", "(", "Subtarget", "->", "is64Bit", "(", ")", "||", "getTargetMachine", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", ")", ")", ")", ")", "{", "bool", "HasCallSeq", "=", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", ";", "SDValue", "Chain", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Load", "=", "N", "->", "getOperand", "(", "1", ")", ";", "if", "(", "!", "isCalleeLoad", "(", "Load", ",", "Chain", ",", "HasCallSeq", ")", ")", "continue", ";", "moveBelowOrigChain", "(", "CurDAG", ",", "Load", ",", "SDValue", "(", "N", ",", "0", ")", ",", "Chain", ")", ";", "++", "NumLoadMoved", ";", "continue", ";", "}", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_ROUND", "&&", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "MVT", "SrcVT", "=", "N", "->", "getOperand", "(", "0", ")", ".", "getSimpleValueType", "(", ")", ";", "MVT", "DstVT", "=", "N", "->", "getSimpleValueType", "(", "0", ")", ";", "if", "(", "SrcVT", ".", "isVector", "(", ")", "||", "DstVT", ".", "isVector", "(", ")", ")", "continue", ";", "const", "X86TargetLowering", "*", "X86Lowering", "=", "static_cast", "<", "const", "X86TargetLowering", "*", ">", "(", "TLI", ")", ";", "bool", "SrcIsSSE", "=", "X86Lowering", "->", "isScalarFPTypeInSSEReg", "(", "SrcVT", ")", ";", "bool", "DstIsSSE", "=", "X86Lowering", "->", "isScalarFPTypeInSSEReg", "(", "DstVT", ")", ";", "if", "(", "SrcIsSSE", "&&", "DstIsSSE", ")", "continue", ";", "if", "(", "!", "SrcIsSSE", "&&", "!", "DstIsSSE", ")", "{", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "if", "(", "N", "->", "getConstantOperandVal", "(", "1", ")", ")", "continue", ";", "}", "MVT", "MemVT", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_ROUND", ")", "MemVT", "=", "DstVT", ";", "else", "MemVT", "=", "SrcIsSSE", "?", "SrcVT", ":", "DstVT", ";", "SDValue", "MemTmp", "=", "CurDAG", "->", "CreateStackTemporary", "(", "MemVT", ")", ";", "SDLoc", "dl", "(", "N", ")", ";", "SDValue", "Store", "=", "CurDAG", "->", "getTruncStore", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "dl", ",", "N", "->", "getOperand", "(", "0", ")", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "SDValue", "Result", "=", "CurDAG", "->", "getExtLoad", "(", "ISD", "::", "EXTLOAD", ",", "dl", ",", "DstVT", ",", "Store", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "false", ",", "0", ")", ";", "--", "I", ";", "CurDAG", "->", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "0", ")", ",", "Result", ")", ";", "++", "I", ";", "CurDAG", "->", "DeleteNode", "(", "N", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["X86", "X86", "X86ISD::CALL", "X86ISD::TC_RETURN", "X86ISD::CALL", "0", "1", "0", "ISD::FP_ROUND", "ISD::FP_EXTEND", "0", "0", "X86", "X86", "X86", "X86", "X86", "ISD::FP_EXTEND", "1", "ISD::FP_ROUND", "0", "0", "ISD::EXTLOAD", "0", "0"], "File": "X86ISelDAGToDAG129", "Func": "PreprocessISelDAG", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8286, "Length": 472, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_atomic_ool_func", "(", "machine_mode", "mode", ",", "rtx", "model_rtx", ",", "const", "atomic_ool_names", "*", "names", ")", "{", "memmodel", "model", "=", "memmodel_base", "(", "INTVAL", "(", "model_rtx", ")", ")", ";", "int", "mode_idx", ",", "model_idx", ";", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "mode_idx", "=", "0", ";", "break", ";", "case", "E_HImode", ":", "mode_idx", "=", "1", ";", "break", ";", "case", "E_SImode", ":", "mode_idx", "=", "2", ";", "break", ";", "case", "E_DImode", ":", "mode_idx", "=", "3", ";", "break", ";", "case", "E_TImode", ":", "mode_idx", "=", "4", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "switch", "(", "model", ")", "{", "case", "MEMMODEL_RELAXED", ":", "model_idx", "=", "0", ";", "break", ";", "case", "MEMMODEL_CONSUME", ":", "case", "MEMMODEL_ACQUIRE", ":", "model_idx", "=", "1", ";", "break", ";", "case", "MEMMODEL_RELEASE", ":", "model_idx", "=", "2", ";", "break", ";", "case", "MEMMODEL_ACQ_REL", ":", "case", "MEMMODEL_SEQ_CST", ":", "model_idx", "=", "3", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "init_one_libfunc_visibility", "(", "names", "->", "str", "[", "mode_idx", "]", "[", "model_idx", "]", ",", "VISIBILITY_HIDDEN", ")", ";", "}", ""], "natrual_language": ["We", "store", "the", "names", "of", "the", "various", "atomic", "helpers", "in", "a", "5x4", "array", ".", "Return", "the", "libcall", "function", "given", "MODE", ",", "MODEL", "and", "NAMES", "."], "TS_V_token": ["aarch64", "0", "1", "2", "3", "4", "0", "1", "2", "3"], "File": "aarch64", "Func": "aarch64_atomic_ool_func", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8287, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "machine_mode", "get_mode_wider_vector", "(", "machine_mode", "o", ")", "{", "machine_mode", "n", "=", "GET_MODE_WIDER_MODE", "(", "o", ")", ";", "gcc_assert", "(", "GET_MODE_NUNITS", "(", "o", ")", "==", "GET_MODE_NUNITS", "(", "n", ")", "*", "2", ")", ";", "gcc_assert", "(", "GET_MODE_SIZE", "(", "o", ")", "==", "GET_MODE_SIZE", "(", "n", ")", ")", ";", "return", "n", ";", "}", ""], "natrual_language": ["Get", "a", "vector", "mode", "of", "the", "same", "size", "as", "the", "original", "but", "with", "elements", "twice", "as", "wide", ".", "This", "is", "only", "guaranteed", "to", "apply", "to", "integral", "vectors", "."], "TS_V_token": ["i386", "2"], "File": "i3864", "Func": "get_mode_wider_vector", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8288, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isToken", "(", ")", "const", "{", "return", "Kind", "==", "k_Token", ";", "}", ""], "natrual_language": ["isToken", "-", "Is", "this", "a", "token", "operand", "?"], "TS_V_token": ["AArch64"], "File": "AArch64AsmParser13", "Func": "isToken", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8289, "Length": 12, "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": 8290, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_vector_init", "(", "bool", "mmx_ok", ",", "rtx", "target", ",", "rtx", "vals", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "target", ")", ";", "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", "(", "!", "(", "CONST_INT_P", "(", "x", ")", "||", "GET_CODE", "(", "x", ")", "==", "CONST_DOUBLE", "||", "GET_CODE", "(", "x", ")", "==", "CONST_FIXED", ")", ")", "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", "&&", "ix86_expand_vector_init_one_nonzero", "(", "mmx_ok", ",", "mode", ",", "target", ",", "XVECEXP", "(", "vals", ",", "0", ",", "one_var", ")", ",", "one_var", ")", ")", "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"], "File": "i3864", "Func": "ix86_expand_vector_init", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8291, "Length": 272, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "stackSlotSize", "(", ")", "{", "return", "4", ";", "}", ""], "natrual_language": ["Stack", "slot", "size", "(", "4", "bytes", ")"], "TS_V_token": ["TOY", "4"], "File": "TOYFrameLowering1", "Func": "stackSlotSize", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8292, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPreSched2", "(", ")", "{", "addPass", "(", "createAArch64ExpandPseudoPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "EnableLoadStoreOpt", ")", "addPass", "(", "createAArch64LoadStoreOptimizationPass", "(", ")", ")", ";", "}", "addPass", "(", "createAArch64SpeculationHardeningPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "EnableFalkorHWPFFix", ")", "addPass", "(", "createFalkorHWPFFixPass", "(", ")", ")", ";", "}", "}", ""], "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", "AArch64"], "File": "AArch64TargetMachine (2)3", "Func": "addPreSched2", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8293, "Length": 72, "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": 8294, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ")", "const", "override", "{", "if", "(", "Count", "==", "0", ")", "{", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["UPT", "0"], "File": "UPTAsmBackend", "Func": "writeNopData", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8295, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "macho_branch_islands", "(", "void", ")", "{", "char", "tmp_buf", "[", "512", "]", ";", "while", "(", "!", "vec_safe_is_empty", "(", "branch_islands", ")", ")", "{", "branch_island", "*", "bi", "=", "&", "branch_islands", "->", "last", "(", ")", ";", "const", "char", "*", "label", "=", "IDENTIFIER_POINTER", "(", "bi", "->", "label_name", ")", ";", "const", "char", "*", "name", "=", "IDENTIFIER_POINTER", "(", "bi", "->", "function_name", ")", ";", "char", "name_buf", "[", "512", "]", ";", "if", "(", "name", "[", "0", "]", "==", "'*'", "||", "name", "[", "0", "]", "==", "'&'", ")", "strcpy", "(", "name_buf", ",", "name", "+", "1", ")", ";", "else", "{", "name_buf", "[", "0", "]", "=", "'_'", ";", "strcpy", "(", "name_buf", "+", "1", ",", "name", ")", ";", "}", "strcpy", "(", "tmp_buf", ",", "\"\\n\"", ")", ";", "strcat", "(", "tmp_buf", ",", "label", ")", ";", "if", "(", "write_symbols", "==", "DBX_DEBUG", "||", "write_symbols", "==", "XCOFF_DEBUG", ")", "dbxout_stabd", "(", "N_SLINE", ",", "bi", "->", "line_number", ")", ";", "if", "(", "flag_pic", ")", "{", "if", "(", "TARGET_LINK_STACK", ")", "{", "char", "name", "[", "32", "]", ";", "get_ppc476_thunk_name", "(", "name", ")", ";", "strcat", "(", "tmp_buf", ",", "\":\\n\\tmflr r0\\n\\tbl \"", ")", ";", "strcat", "(", "tmp_buf", ",", "name", ")", ";", "strcat", "(", "tmp_buf", ",", "\"\\n\"", ")", ";", "strcat", "(", "tmp_buf", ",", "label", ")", ";", "strcat", "(", "tmp_buf", ",", "\"_pic:\\n\\tmflr r11\\n\"", ")", ";", "}", "else", "{", "strcat", "(", "tmp_buf", ",", "\":\\n\\tmflr r0\\n\\tbcl 20,31,\"", ")", ";", "strcat", "(", "tmp_buf", ",", "label", ")", ";", "strcat", "(", "tmp_buf", ",", "\"_pic\\n\"", ")", ";", "strcat", "(", "tmp_buf", ",", "label", ")", ";", "strcat", "(", "tmp_buf", ",", "\"_pic:\\n\\tmflr r11\\n\"", ")", ";", "}", "strcat", "(", "tmp_buf", ",", "\"\\taddis r11,r11,ha16(\"", ")", ";", "strcat", "(", "tmp_buf", ",", "name_buf", ")", ";", "strcat", "(", "tmp_buf", ",", "\" - \"", ")", ";", "strcat", "(", "tmp_buf", ",", "label", ")", ";", "strcat", "(", "tmp_buf", ",", "\"_pic)\\n\"", ")", ";", "strcat", "(", "tmp_buf", ",", "\"\\tmtlr r0\\n\"", ")", ";", "strcat", "(", "tmp_buf", ",", "\"\\taddi r12,r11,lo16(\"", ")", ";", "strcat", "(", "tmp_buf", ",", "name_buf", ")", ";", "strcat", "(", "tmp_buf", ",", "\" - \"", ")", ";", "strcat", "(", "tmp_buf", ",", "label", ")", ";", "strcat", "(", "tmp_buf", ",", "\"_pic)\\n\"", ")", ";", "strcat", "(", "tmp_buf", ",", "\"\\tmtctr r12\\n\\tbctr\\n\"", ")", ";", "}", "else", "{", "strcat", "(", "tmp_buf", ",", "\":\\nlis r12,hi16(\"", ")", ";", "strcat", "(", "tmp_buf", ",", "name_buf", ")", ";", "strcat", "(", "tmp_buf", ",", "\")\\n\\tori r12,r12,lo16(\"", ")", ";", "strcat", "(", "tmp_buf", ",", "name_buf", ")", ";", "strcat", "(", "tmp_buf", ",", "\")\\n\\tmtctr r12\\n\\tbctr\"", ")", ";", "}", "output_asm_insn", "(", "tmp_buf", ",", "0", ")", ";", "if", "(", "write_symbols", "==", "DBX_DEBUG", "||", "write_symbols", "==", "XCOFF_DEBUG", ")", "dbxout_stabd", "(", "N_SLINE", ",", "bi", "->", "line_number", ")", ";", "branch_islands", "->", "pop", "(", ")", ";", "}", "}", ""], "natrual_language": ["Generate", "far-jump", "branch", "islands", "for", "everything", "on", "the", "branch_island_list", ".", "Invoked", "immediately", "after", "the", "last", "instruction", "of", "the", "epilogue", "has", "been", "emitted", ";", "the", "branch-islands", "must", "be", "appended", "to", ",", "and", "contiguous", "with", ",", "the", "function", "body", ".", "Mach-O", "stubs", "are", "generated", "in", "machopic_output_stub", "(", ")", "."], "TS_V_token": ["powerpcspe", "512", "512", "0", "0", "1", "0", "1", "\"\\n\"", "32", "\":\\n\\tmflr r0\\n\\tbl \"", "\"\\n\"", "\"_pic:\\n\\tmflr r11\\n\"", "\":\\n\\tmflr r0\\n\\tbcl 20,31,\"", "\"_pic\\n\"", "\"_pic:\\n\\tmflr r11\\n\"", "\"\\taddis r11,r11,ha16(\"", "\" - \"", "\"_pic)\\n\"", "\"\\tmtlr r0\\n\"", "\"\\taddi r12,r11,lo16(\"", "\" - \"", "\"_pic)\\n\"", "\"\\tmtctr r12\\n\\tbctr\\n\"", "\":\\nlis r12,hi16(\"", "\")\\n\\tori r12,r12,lo16(\"", "\")\\n\\tmtctr r12\\n\\tbctr\"", "0"], "File": "powerpcspe", "Func": "macho_branch_islands", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8296, "Length": 392, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "const", "TargetRegisterClass", "*", ",", "uint8_t", ">", "ARMTargetLowering", "::", "findRepresentativeClass", "(", "MVT", "VT", ")", "const", "{", "const", "TargetRegisterClass", "*", "RRC", "=", "0", ";", "uint8_t", "Cost", "=", "1", ";", "switch", "(", "VT", ".", "SimpleTy", ")", "{", "default", ":", "return", "TargetLowering", "::", "findRepresentativeClass", "(", "VT", ")", ";", "case", "MVT", "::", "f32", ":", "case", "MVT", "::", "f64", ":", "case", "MVT", "::", "v8i8", ":", "case", "MVT", "::", "v4i16", ":", "case", "MVT", "::", "v2i32", ":", "case", "MVT", "::", "v1i64", ":", "case", "MVT", "::", "v2f32", ":", "RRC", "=", "&", "ARM", "::", "DPRRegClass", ";", "if", "(", "Subtarget", "->", "useNEONForSinglePrecisionFP", "(", ")", ")", "Cost", "=", "2", ";", "break", ";", "case", "MVT", "::", "v16i8", ":", "case", "MVT", "::", "v8i16", ":", "case", "MVT", "::", "v4i32", ":", "case", "MVT", "::", "v2i64", ":", "case", "MVT", "::", "v4f32", ":", "case", "MVT", "::", "v2f64", ":", "RRC", "=", "&", "ARM", "::", "DPRRegClass", ";", "Cost", "=", "2", ";", "break", ";", "case", "MVT", "::", "v4i64", ":", "RRC", "=", "&", "ARM", "::", "DPRRegClass", ";", "Cost", "=", "4", ";", "break", ";", "case", "MVT", "::", "v8i64", ":", "RRC", "=", "&", "ARM", "::", "DPRRegClass", ";", "Cost", "=", "8", ";", "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": ["ARM", "ARM", "0", "1", "MVT::f32", "MVT::f64", "MVT::v8i8", "MVT::v4i16", "MVT::v2i32", "MVT::v1i64", "MVT::v2f32", "ARM::DPRRegClass", "2", "MVT::v16i8", "MVT::v8i16", "MVT::v4i32", "MVT::v2i64", "MVT::v4f32", "MVT::v2f64", "ARM::DPRRegClass", "2", "MVT::v4i64", "ARM::DPRRegClass", "4", "MVT::v8i64", "ARM::DPRRegClass", "8"], "File": "ARMISelLowering (2)1", "Func": "findRepresentativeClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8297, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_handle_option", "(", "size_t", "code", ",", "const", "char", "*", "arg", "ATTRIBUTE_UNUSED", ",", "int", "value", "ATTRIBUTE_UNUSED", ")", "{", "switch", "(", "code", ")", "{", "case", "OPT_m1", ":", "target_flags", "=", "(", "target_flags", "&", "~", "MASK_ARCH", ")", "|", "SELECT_SH1", ";", "return", "true", ";", "case", "OPT_m2", ":", "target_flags", "=", "(", "target_flags", "&", "~", "MASK_ARCH", ")", "|", "SELECT_SH2", ";", "return", "true", ";", "case", "OPT_m2a", ":", "target_flags", "=", "(", "target_flags", "&", "~", "MASK_ARCH", ")", "|", "SELECT_SH2A", ";", "return", "true", ";", "case", "OPT_m2a_nofpu", ":", "target_flags", "=", "(", "target_flags", "&", "~", "MASK_ARCH", ")", "|", "SELECT_SH2A_NOFPU", ";", "return", "true", ";", "case", "OPT_m2a_single", ":", "target_flags", "=", "(", "target_flags", "&", "~", "MASK_ARCH", ")", "|", "SELECT_SH2A_SINGLE", ";", "return", "true", ";", "case", "OPT_m2a_single_only", ":", "target_flags", "=", "(", "target_flags", "&", "~", "MASK_ARCH", ")", "|", "SELECT_SH2A_SINGLE_ONLY", ";", "return", "true", ";", "case", "OPT_m2e", ":", "target_flags", "=", "(", "target_flags", "&", "~", "MASK_ARCH", ")", "|", "SELECT_SH2E", ";", "return", "true", ";", "case", "OPT_m3", ":", "target_flags", "=", "(", "target_flags", "&", "~", "MASK_ARCH", ")", "|", "SELECT_SH3", ";", "return", "true", ";", "case", "OPT_m3e", ":", "target_flags", "=", "(", "target_flags", "&", "~", "MASK_ARCH", ")", "|", "SELECT_SH3E", ";", "return", "true", ";", "case", "OPT_m4", ":", "target_flags", "=", "(", "target_flags", "&", "~", "MASK_ARCH", ")", "|", "SELECT_SH4", ";", "return", "true", ";", "case", "OPT_m4_nofpu", ":", "target_flags", "=", "(", "target_flags", "&", "~", "MASK_ARCH", ")", "|", "SELECT_SH4_NOFPU", ";", "return", "true", ";", "case", "OPT_m4_single", ":", "target_flags", "=", "(", "target_flags", "&", "~", "MASK_ARCH", ")", "|", "SELECT_SH4_SINGLE", ";", "return", "true", ";", "case", "OPT_m4_single_only", ":", "target_flags", "=", "(", "target_flags", "&", "~", "MASK_ARCH", ")", "|", "SELECT_SH4_SINGLE_ONLY", ";", "return", "true", ";", "case", "OPT_m4a", ":", "target_flags", "=", "(", "target_flags", "&", "~", "MASK_ARCH", ")", "|", "SELECT_SH4A", ";", "return", "true", ";", "case", "OPT_m4a_nofpu", ":", "case", "OPT_m4al", ":", "target_flags", "=", "(", "target_flags", "&", "~", "MASK_ARCH", ")", "|", "SELECT_SH4A_NOFPU", ";", "return", "true", ";", "case", "OPT_m4a_single", ":", "target_flags", "=", "(", "target_flags", "&", "~", "MASK_ARCH", ")", "|", "SELECT_SH4A_SINGLE", ";", "return", "true", ";", "case", "OPT_m4a_single_only", ":", "target_flags", "=", "(", "target_flags", "&", "~", "MASK_ARCH", ")", "|", "SELECT_SH4A_SINGLE_ONLY", ";", "return", "true", ";", "case", "OPT_m5_32media", ":", "target_flags", "=", "(", "target_flags", "&", "~", "MASK_ARCH", ")", "|", "SELECT_SH5_32MEDIA", ";", "return", "true", ";", "case", "OPT_m5_32media_nofpu", ":", "target_flags", "=", "(", "target_flags", "&", "~", "MASK_ARCH", ")", "|", "SELECT_SH5_32MEDIA_NOFPU", ";", "return", "true", ";", "case", "OPT_m5_64media", ":", "target_flags", "=", "(", "target_flags", "&", "~", "MASK_ARCH", ")", "|", "SELECT_SH5_64MEDIA", ";", "return", "true", ";", "case", "OPT_m5_64media_nofpu", ":", "target_flags", "=", "(", "target_flags", "&", "~", "MASK_ARCH", ")", "|", "SELECT_SH5_64MEDIA_NOFPU", ";", "return", "true", ";", "case", "OPT_m5_compact", ":", "target_flags", "=", "(", "target_flags", "&", "~", "MASK_ARCH", ")", "|", "SELECT_SH5_COMPACT", ";", "return", "true", ";", "case", "OPT_m5_compact_nofpu", ":", "target_flags", "=", "(", "target_flags", "&", "~", "MASK_ARCH", ")", "|", "SELECT_SH5_COMPACT_NOFPU", ";", "return", "true", ";", "default", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_HANDLE_OPTION", "."], "TS_V_token": ["sh"], "File": "sh3", "Func": "sh_handle_option", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8298, "Length": 424, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CSKYAsmBackend", "::", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["CSKY", "CSKY"], "File": "CSKYAsmBackend", "Func": "fixupNeedsRelaxation", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8299, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_costly_group", "(", "rtx", "*", "group_insns", ",", "rtx", "next_insn", ")", "{", "int", "i", ";", "int", "issue_rate", "=", "rs6000_issue_rate", "(", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "issue_rate", ";", "i", "++", ")", "{", "sd_iterator_def", "sd_it", ";", "dep_t", "dep", ";", "rtx", "insn", "=", "group_insns", "[", "i", "]", ";", "if", "(", "!", "insn", ")", "continue", ";", "FOR_EACH_DEP", "(", "insn", ",", "SD_LIST_RES_FORW", ",", "sd_it", ",", "dep", ")", "{", "rtx", "next", "=", "DEP_CON", "(", "dep", ")", ";", "if", "(", "next", "==", "next_insn", "&&", "rs6000_is_costly_dependence", "(", "dep", ",", "dep_cost", "(", "dep", ")", ",", "0", ")", ")", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "recommended", "to", "keep", "NEXT_INSN", "``", "far", "''", "(", "in", "a", "separate", "dispatch", "group", ")", "from", "the", "insns", "in", "GROUP_INSNS", ".", "Return", "false", "otherwise", "."], "TS_V_token": ["powerpcspe", "0", "0"], "File": "powerpcspe", "Func": "is_costly_group", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8300, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "LoongArchRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "RegInfo", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["LoongArch", "LoongArch"], "File": "LoongArchSubtarget", "Func": "getRegisterInfo", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8301, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mmix_local_regno", "(", "int", "regno", ")", "{", "return", "(", "regno", "<=", "MMIX_LAST_STACK_REGISTER_REGNUM", "&&", "!", "call_used_or_fixed_reg_p", "(", "regno", ")", ")", ";", "}", ""], "natrual_language": ["LOCAL_REGNO", ".", "All", "registers", "that", "are", "part", "of", "the", "register", "stack", "and", "that", "will", "be", "saved", "are", "local", "."], "TS_V_token": ["mmix"], "File": "mmix", "Func": "mmix_local_regno", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8302, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64FastISel", "::", "isTypeLegal", "(", "Type", "*", "Ty", ",", "MVT", "&", "VT", ")", "{", "EVT", "evt", "=", "TLI", ".", "getValueType", "(", "Ty", ",", "true", ")", ";", "if", "(", "evt", "==", "MVT", "::", "Other", "||", "!", "evt", ".", "isSimple", "(", ")", ")", "return", "false", ";", "VT", "=", "evt", ".", "getSimpleVT", "(", ")", ";", "if", "(", "VT", "==", "MVT", "::", "f128", ")", "return", "false", ";", "return", "TLI", ".", "isTypeLegal", "(", "VT", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "type", "is", "legal", "."], "TS_V_token": ["ARM64", "ARM64", "MVT::Other", "MVT::f128"], "File": "ARM64FastISel1", "Func": "isTypeLegal", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8303, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isReg", "(", ")", "const", "override", "{", "return", "Kind", "==", "k_Register", "&&", "Reg", ".", "Kind", "==", "RegKind", "::", "Scalar", ";", "}", ""], "natrual_language": ["isReg", "-", "Is", "this", "a", "register", "operand", "?"], "TS_V_token": ["AArch64"], "File": "AArch64AsmParser55", "Func": "isReg", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8304, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "insn_is_store_p", "(", "rtx", "insn", ")", "{", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "body", ")", "==", "SET", "&&", "GET_CODE", "(", "SET_DEST", "(", "body", ")", ")", "==", "MEM", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "body", ")", "!=", "PARALLEL", ")", "return", "0", ";", "rtx", "set", "=", "XVECEXP", "(", "body", ",", "0", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "set", ")", "==", "SET", "&&", "GET_CODE", "(", "SET_DEST", "(", "set", ")", ")", "==", "MEM", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "1", "iff", "INSN", "is", "a", "store", "insn", ",", "including", "permuting", "stores", "that", "represent", "an", "stvxd2x", "instruction", ";", "else", "return", "0", "."], "TS_V_token": ["powerpcspe", "1", "0", "0", "0", "1", "0"], "File": "powerpcspe", "Func": "insn_is_store_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8305, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLoweringObjectFile", "*", "getObjFileLowering", "(", ")", "const", "override", "{", "return", "this", "->", "TLOF", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Return", "information", "about", "object", "file", "lowering", "."], "TS_V_token": ["StackPU2"], "File": "StackPU2TargetMachine", "Func": "getObjFileLowering", "Target": "StackPU2", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8306, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ",", "bool", "ForCodeSize", ")", "const", "{", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "LegalFPImmediates", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "if", "(", "Imm", ".", "bitwiseIsEqual", "(", "LegalFPImmediates", "[", "i", "]", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "can", "instruction", "select", "the", "specified", "FP", "immediate", "natively", "."], "TS_V_token": ["X86", "X86", "0"], "File": "X86ISelLowering (2)5", "Func": "isFPImmLegal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8307, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "getFMAPatterns", "(", "MachineInstr", "&", "Root", ",", "SmallVectorImpl", "<", "MachineCombinerPattern", ">", "&", "Patterns", ")", "const", "{", "MachineBasicBlock", "*", "MBB", "=", "Root", ".", "getParent", "(", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MBB", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "auto", "IsAllOpsVirtualReg", "=", "[", "]", "(", "const", "MachineInstr", "&", "Instr", ")", "{", "for", "(", "const", "auto", "&", "MO", ":", "Instr", ".", "explicit_operands", "(", ")", ")", "if", "(", "!", "(", "MO", ".", "isReg", "(", ")", "&&", "Register", "::", "isVirtualRegister", "(", "MO", ".", "getReg", "(", ")", ")", ")", ")", "return", "false", ";", "return", "true", ";", "}", ";", "auto", "IsReassociable", "=", "[", "&", "]", "(", "const", "MachineInstr", "&", "Instr", ",", "int16_t", "&", "AddOpIdx", ",", "bool", "IsLeaf", ",", "bool", "IsAdd", ")", "{", "int16_t", "Idx", "=", "-", "1", ";", "if", "(", "!", "IsAdd", ")", "{", "Idx", "=", "getFMAOpIdxInfo", "(", "Instr", ".", "getOpcode", "(", ")", ")", ";", "if", "(", "Idx", "<", "0", ")", "return", "false", ";", "}", "else", "if", "(", "Instr", ".", "getOpcode", "(", ")", "!=", "FMAOpIdxInfo", "[", "getFMAOpIdxInfo", "(", "Root", ".", "getOpcode", "(", ")", ")", "]", "[", "InfoArrayIdxFAddInst", "]", ")", "return", "false", ";", "if", "(", "!", "(", "Instr", ".", "getFlag", "(", "MachineInstr", "::", "MIFlag", "::", "FmReassoc", ")", "&&", "Instr", ".", "getFlag", "(", "MachineInstr", "::", "MIFlag", "::", "FmNsz", ")", ")", ")", "return", "false", ";", "if", "(", "!", "IsAllOpsVirtualReg", "(", "Instr", ")", ")", "return", "false", ";", "if", "(", "IsAdd", "&&", "IsLeaf", ")", "return", "true", ";", "AddOpIdx", "=", "FMAOpIdxInfo", "[", "Idx", "]", "[", "InfoArrayIdxAddOpIdx", "]", ";", "const", "MachineOperand", "&", "OpAdd", "=", "Instr", ".", "getOperand", "(", "AddOpIdx", ")", ";", "MachineInstr", "*", "MIAdd", "=", "MRI", ".", "getUniqueVRegDef", "(", "OpAdd", ".", "getReg", "(", ")", ")", ";", "if", "(", "!", "MIAdd", "||", "MIAdd", "->", "getParent", "(", ")", "!=", "MBB", ")", "return", "false", ";", "return", "IsLeaf", "?", "true", ":", "MRI", ".", "hasOneNonDBGUse", "(", "OpAdd", ".", "getReg", "(", ")", ")", ";", "}", ";", "int16_t", "AddOpIdx", "=", "-", "1", ";", "if", "(", "!", "IsReassociable", "(", "Root", ",", "AddOpIdx", ",", "false", ",", "false", ")", ")", "return", "false", ";", "assert", "(", "(", "AddOpIdx", ">=", "0", ")", "&&", "\"add operand index not right!\"", ")", ";", "Register", "RegB", "=", "Root", ".", "getOperand", "(", "AddOpIdx", ")", ".", "getReg", "(", ")", ";", "MachineInstr", "*", "Prev", "=", "MRI", ".", "getUniqueVRegDef", "(", "RegB", ")", ";", "AddOpIdx", "=", "-", "1", ";", "if", "(", "!", "IsReassociable", "(", "*", "Prev", ",", "AddOpIdx", ",", "false", ",", "false", ")", ")", "return", "false", ";", "assert", "(", "(", "AddOpIdx", ">=", "0", ")", "&&", "\"add operand index not right!\"", ")", ";", "Register", "RegA", "=", "Prev", "->", "getOperand", "(", "AddOpIdx", ")", ".", "getReg", "(", ")", ";", "MachineInstr", "*", "Leaf", "=", "MRI", ".", "getUniqueVRegDef", "(", "RegA", ")", ";", "AddOpIdx", "=", "-", "1", ";", "if", "(", "IsReassociable", "(", "*", "Leaf", ",", "AddOpIdx", ",", "true", ",", "false", ")", ")", "{", "Patterns", ".", "push_back", "(", "MachineCombinerPattern", "::", "REASSOC_XMM_AMM_BMM", ")", ";", "return", "true", ";", "}", "if", "(", "IsReassociable", "(", "*", "Leaf", ",", "AddOpIdx", ",", "true", ",", "true", ")", ")", "{", "Patterns", ".", "push_back", "(", "MachineCombinerPattern", "::", "REASSOC_XY_AMM_BMM", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "when", "there", "is", "potentially", "a", "faster", "code", "sequence", "for", "a", "fma", "chain", "ending", "in", "Root", "."], "TS_V_token": ["PowerPC", "PPC", "1", "0", "1", "0", "\"add operand index not right!\"", "1", "0", "\"add operand index not right!\"", "1"], "File": "PPCInstrInfo128", "Func": "getFMAPatterns", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8308, "Length": 485, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "rs6000_insn_for_shift_mask", "(", "machine_mode", "mode", ",", "rtx", "*", "operands", ",", "bool", "dot", ")", "{", "int", "nb", ",", "ne", ";", "if", "(", "!", "rs6000_is_valid_mask", "(", "operands", "[", "3", "]", ",", "&", "nb", ",", "&", "ne", ",", "mode", ")", ")", "gcc_unreachable", "(", ")", ";", "if", "(", "mode", "==", "DImode", "&&", "ne", "==", "0", ")", "{", "if", "(", "GET_CODE", "(", "operands", "[", "4", "]", ")", "==", "LSHIFTRT", "&&", "INTVAL", "(", "operands", "[", "2", "]", ")", ")", "operands", "[", "2", "]", "=", "GEN_INT", "(", "64", "-", "INTVAL", "(", "operands", "[", "2", "]", ")", ")", ";", "operands", "[", "3", "]", "=", "GEN_INT", "(", "63", "-", "nb", ")", ";", "if", "(", "dot", ")", "return", "\"rld%I2cl. %0,%1,%2,%3\"", ";", "return", "\"rld%I2cl %0,%1,%2,%3\"", ";", "}", "if", "(", "mode", "==", "DImode", "&&", "nb", "==", "63", ")", "{", "operands", "[", "3", "]", "=", "GEN_INT", "(", "63", "-", "ne", ")", ";", "if", "(", "dot", ")", "return", "\"rld%I2cr. %0,%1,%2,%3\"", ";", "return", "\"rld%I2cr %0,%1,%2,%3\"", ";", "}", "if", "(", "mode", "==", "DImode", "&&", "GET_CODE", "(", "operands", "[", "4", "]", ")", "!=", "LSHIFTRT", "&&", "CONST_INT_P", "(", "operands", "[", "2", "]", ")", "&&", "ne", "==", "INTVAL", "(", "operands", "[", "2", "]", ")", ")", "{", "operands", "[", "3", "]", "=", "GEN_INT", "(", "63", "-", "nb", ")", ";", "if", "(", "dot", ")", "return", "\"rld%I2c. %0,%1,%2,%3\"", ";", "return", "\"rld%I2c %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", "\"rlw%I2nm. %0,%1,%h2,%3,%4\"", ";", "return", "\"rlw%I2nm %0,%1,%h2,%3,%4\"", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "instruction", "template", "for", "a", "shift", "with", "mask", "in", "mode", "MODE", ",", "with", "operands", "OPERANDS", ".", "If", "DOT", "is", "true", ",", "make", "it", "a", "record-form", "instruction", "."], "TS_V_token": ["powerpcspe", "3", "0", "4", "2", "2", "64", "2", "3", "63", "\"rld%I2cl. %0,%1,%2,%3\"", "\"rld%I2cl %0,%1,%2,%3\"", "63", "3", "63", "\"rld%I2cr. %0,%1,%2,%3\"", "\"rld%I2cr %0,%1,%2,%3\"", "4", "2", "2", "3", "63", "\"rld%I2c. %0,%1,%2,%3\"", "\"rld%I2c %0,%1,%2,%3\"", "32", "32", "4", "2", "2", "32", "2", "3", "31", "4", "31", "\"rlw%I2nm. %0,%1,%h2,%3,%4\"", "\"rlw%I2nm %0,%1,%h2,%3,%4\""], "File": "powerpcspe", "Func": "rs6000_insn_for_shift_mask", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8309, "Length": 297, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "pa_fpstore_bypass_p", "(", "rtx_insn", "*", "out_insn", ",", "rtx_insn", "*", "in_insn", ")", "{", "machine_mode", "store_mode", ";", "machine_mode", "other_mode", ";", "rtx", "set", ";", "if", "(", "recog_memoized", "(", "in_insn", ")", "<", "0", "||", "(", "get_attr_type", "(", "in_insn", ")", "!=", "TYPE_FPSTORE", "&&", "get_attr_type", "(", "in_insn", ")", "!=", "TYPE_FPSTORE_LOAD", ")", "||", "recog_memoized", "(", "out_insn", ")", "<", "0", ")", "return", "0", ";", "store_mode", "=", "GET_MODE", "(", "SET_SRC", "(", "PATTERN", "(", "in_insn", ")", ")", ")", ";", "set", "=", "single_set", "(", "out_insn", ")", ";", "if", "(", "!", "set", ")", "return", "0", ";", "other_mode", "=", "GET_MODE", "(", "SET_SRC", "(", "set", ")", ")", ";", "return", "(", "GET_MODE_SIZE", "(", "store_mode", ")", "==", "GET_MODE_SIZE", "(", "other_mode", ")", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "there", "is", "a", "bypass", "for", "the", "output", "of", "OUT_INSN", "and", "the", "fp", "store", "IN_INSN", "."], "TS_V_token": ["pa", "0", "0", "0", "0"], "File": "pa", "Func": "pa_fpstore_bypass_p", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8310, "Length": 108, "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": 8311, "Length": 296, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "fold_compare_helper", "(", "gimple_stmt_iterator", "*", "gsi", ",", "tree_code", "code", ",", "gimple", "*", "stmt", ")", "{", "tree", "arg0", "=", "gimple_call_arg", "(", "stmt", ",", "0", ")", ";", "tree", "arg1", "=", "gimple_call_arg", "(", "stmt", ",", "1", ")", ";", "tree", "lhs", "=", "gimple_call_lhs", "(", "stmt", ")", ";", "tree", "cmp", "=", "fold_build_vec_cmp", "(", "code", ",", "TREE_TYPE", "(", "lhs", ")", ",", "arg0", ",", "arg1", ")", ";", "gimple", "*", "g", "=", "gimple_build_assign", "(", "lhs", ",", "cmp", ")", ";", "gimple_set_location", "(", "g", ",", "gimple_location", "(", "stmt", ")", ")", ";", "gsi_replace", "(", "gsi", ",", "g", ",", "true", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "handle", "the", "in-between", "steps", "for", "the", "vector", "compare", "built-ins", "."], "TS_V_token": ["rs6000", "0", "1"], "File": "rs6000-call", "Func": "fold_compare_helper", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8312, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "AArch64FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "AArch64InstrInfo", "*", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "unsigned", "Opc", "=", "I", "->", "getOpcode", "(", ")", ";", "bool", "IsDestroy", "=", "Opc", "==", "TII", "->", "getCallFrameDestroyOpcode", "(", ")", ";", "uint64_t", "CalleePopAmount", "=", "IsDestroy", "?", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ":", "0", ";", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "int64_t", "Amount", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "Amount", "=", "alignTo", "(", "Amount", ",", "getStackAlign", "(", ")", ")", ";", "if", "(", "!", "IsDestroy", ")", "Amount", "=", "-", "Amount", ";", "if", "(", "CalleePopAmount", "==", "0", ")", "{", "assert", "(", "Amount", ">", "-", "0xffffff", "&&", "Amount", "<", "0xffffff", "&&", "\"call frame too large\"", ")", ";", "emitFrameOffset", "(", "MBB", ",", "I", ",", "DL", ",", "AArch64", "::", "SP", ",", "AArch64", "::", "SP", ",", "StackOffset", "::", "getFixed", "(", "Amount", ")", ",", "TII", ")", ";", "}", "}", "else", "if", "(", "CalleePopAmount", "!=", "0", ")", "{", "assert", "(", "CalleePopAmount", "<", "0xffffff", "&&", "\"call frame too large\"", ")", ";", "emitFrameOffset", "(", "MBB", ",", "I", ",", "DL", ",", "AArch64", "::", "SP", ",", "AArch64", "::", "SP", ",", "StackOffset", "::", "getFixed", "(", "-", "(", "int64_t", ")", "CalleePopAmount", ")", ",", "TII", ")", ";", "}", "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": ["AArch64", "AArch64", "AArch64", "AArch64", "1", "0", "0", "0", "0xffffff", "0xffffff", "\"call frame too large\"", "AArch64::SP", "AArch64::SP", "0", "0xffffff", "\"call frame too large\"", "AArch64::SP", "AArch64::SP"], "File": "AArch64FrameLowering (2)1", "Func": "eliminateCallFramePseudoInstr", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8313, "Length": 242, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "PPCDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "if", "(", "!", "GlobalBaseReg", ")", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "TM", ".", "getInstrInfo", "(", ")", ";", "MachineBasicBlock", "&", "FirstMBB", "=", "MF", "->", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "FirstMBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", ";", "if", "(", "PPCLowering", ".", "getPointerTy", "(", ")", "==", "MVT", "::", "i32", ")", "{", "GlobalBaseReg", "=", "RegInfo", "->", "createVirtualRegister", "(", "&", "PPC", "::", "GPRC_NOR0RegClass", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MovePCtoLR", ")", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MFLR", ")", ",", "GlobalBaseReg", ")", ";", "}", "else", "{", "GlobalBaseReg", "=", "RegInfo", "->", "createVirtualRegister", "(", "&", "PPC", "::", "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", "(", ")", ")", ".", "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::GPRC_NOR0RegClass", "PPC::MovePCtoLR", "PPC::MFLR", "PPC::G8RC_NOX0RegClass", "PPC::MovePCtoLR8", "PPC::MFLR8", "PPC"], "File": "PPCISelDAGToDAG (2)", "Func": "getGlobalBaseReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8314, "Length": 187, "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": 8315, "Length": 348, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "shouldSinkOperands", "(", "Instruction", "*", "I", ",", "SmallVectorImpl", "<", "Use", "*", ">", "&", "Ops", ")", "const", "{", "if", "(", "!", "I", "->", "getType", "(", ")", "->", "isVectorTy", "(", ")", ")", "return", "false", ";", "if", "(", "Subtarget", "->", "hasNEON", "(", ")", ")", "{", "switch", "(", "I", "->", "getOpcode", "(", ")", ")", "{", "case", "Instruction", "::", "Sub", ":", "case", "Instruction", "::", "Add", ":", "{", "if", "(", "!", "areExtractExts", "(", "I", "->", "getOperand", "(", "0", ")", ",", "I", "->", "getOperand", "(", "1", ")", ")", ")", "return", "false", ";", "Ops", ".", "push_back", "(", "&", "I", "->", "getOperandUse", "(", "0", ")", ")", ";", "Ops", ".", "push_back", "(", "&", "I", "->", "getOperandUse", "(", "1", ")", ")", ";", "return", "true", ";", "}", "default", ":", "return", "false", ";", "}", "}", "if", "(", "!", "Subtarget", "->", "hasMVEIntegerOps", "(", ")", ")", "return", "false", ";", "auto", "IsSinker", "=", "[", "]", "(", "Instruction", "*", "I", ",", "int", "Operand", ")", "{", "switch", "(", "I", "->", "getOpcode", "(", ")", ")", "{", "case", "Instruction", "::", "Add", ":", "case", "Instruction", "::", "Mul", ":", "return", "true", ";", "case", "Instruction", "::", "Sub", ":", "case", "Instruction", "::", "Shl", ":", "case", "Instruction", "::", "LShr", ":", "case", "Instruction", "::", "AShr", ":", "return", "Operand", "==", "1", ";", "default", ":", "return", "false", ";", "}", "}", ";", "int", "Op", "=", "0", ";", "if", "(", "!", "isa", "<", "ShuffleVectorInst", ">", "(", "I", "->", "getOperand", "(", "Op", ")", ")", ")", "Op", "=", "1", ";", "if", "(", "!", "IsSinker", "(", "I", ",", "Op", ")", ")", "return", "false", ";", "if", "(", "!", "match", "(", "I", "->", "getOperand", "(", "Op", ")", ",", "m_ShuffleVector", "(", "m_InsertElement", "(", "m_Undef", "(", ")", ",", "m_Value", "(", ")", ",", "m_ZeroInt", "(", ")", ")", ",", "m_Undef", "(", ")", ",", "m_Zero", "(", ")", ")", ")", ")", "{", "return", "false", ";", "}", "Instruction", "*", "Shuffle", "=", "cast", "<", "Instruction", ">", "(", "I", "->", "getOperand", "(", "Op", ")", ")", ";", "for", "(", "Use", "&", "U", ":", "Shuffle", "->", "uses", "(", ")", ")", "{", "Instruction", "*", "Insn", "=", "cast", "<", "Instruction", ">", "(", "U", ".", "getUser", "(", ")", ")", ";", "if", "(", "!", "IsSinker", "(", "Insn", ",", "U", ".", "getOperandNo", "(", ")", ")", ")", "return", "false", ";", "}", "Ops", ".", "push_back", "(", "&", "Shuffle", "->", "getOperandUse", "(", "0", ")", ")", ";", "Ops", ".", "push_back", "(", "&", "I", "->", "getOperandUse", "(", "Op", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "sinking", "I", "'s", "operands", "to", "the", "same", "basic", "block", "as", "I", "is", "profitable", ",", "e.g", "."], "TS_V_token": ["ARM", "ARM", "0", "1", "0", "1", "1", "0", "1", "0"], "File": "ARMISelLowering (2)6", "Func": "shouldSinkOperands", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8316, "Length": 381, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ")", "const", "{", "unsigned", "Size", "=", "1", "<<", "getFixupKindLog2Size", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "assert", "(", "Fixup", ".", "getOffset", "(", ")", "+", "Size", "<=", "DataSize", "&&", "\"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": "X86AsmBackend20", "Func": "applyFixup", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8317, "Length": 102, "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": 8318, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "override", "{", "if", "(", "IsThumb", ")", "EmitThumbMappingSymbol", "(", ")", ";", "else", "EmitARMMappingSymbol", "(", ")", ";", "MCELFStreamer", "::", "emitInstruction", "(", "Inst", ",", "STI", ")", ";", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMELFStreamer22", "Func": "emitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8319, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "sparc_vis_mul8x16", "(", "int", "e8", ",", "int", "e16", ")", "{", "return", "(", "e8", "*", "e16", "+", "128", ")", "/", "256", ";", "}", ""], "natrual_language": ["Return", "the", "upper", "16", "bits", "of", "the", "8x16", "multiplication", "."], "TS_V_token": ["sparc", "128", "256"], "File": "sparc", "Func": "sparc_vis_mul8x16", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8320, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "X86RegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["X86", "X86"], "File": "X86TargetMachine13", "Func": "getRegisterInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8321, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "nds32_expand_scw_builtin", "(", "enum", "insn_code", "icode", ",", "tree", "exp", ",", "rtx", "target", ")", "{", "rtx", "pat", ";", "rtx", "op0", "=", "nds32_read_argument", "(", "exp", ",", "0", ")", ";", "rtx", "op1", "=", "nds32_read_argument", "(", "exp", ",", "1", ")", ";", "rtx", "addr_helper", "=", "gen_reg_rtx", "(", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "mode", ")", ";", "target", "=", "nds32_legitimize_target", "(", "icode", ",", "target", ")", ";", "op0", "=", "nds32_legitimize_argument", "(", "icode", ",", "1", ",", "op0", ")", ";", "op1", "=", "nds32_legitimize_argument", "(", "icode", ",", "2", ",", "op1", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op0", ",", "addr_helper", ",", "target", ")", ";", "if", "(", "!", "pat", ")", "return", "NULL_RTX", ";", "emit_move_insn", "(", "addr_helper", ",", "GEN_INT", "(", "0", ")", ")", ";", "emit_move_insn", "(", "target", ",", "op1", ")", ";", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Expand", "scw", "builtins", "."], "TS_V_token": ["nds32", "0", "1", "1", "1", "2", "0"], "File": "nds32-intrinsic", "Func": "nds32_expand_scw_builtin", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8322, "Length": 137, "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": ["powerpcspe", "\"\\nrs6000_secondary_reload_class, return %s, rclass = %s, \"", "\"mode = %s, input rtx:\\n\""], "File": "powerpcspe", "Func": "rs6000_debug_secondary_reload_class", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8323, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "LegalizerInfo", "*", "MipsSubtarget", "::", "getLegalizerInfo", "(", ")", "const", "{", "return", "Legalizer", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Expose", "LegalizerInfo", "so", "the", "clients", "can", "re-use", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsSubtarget (2)2", "Func": "getLegalizerInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8324, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pa_output_function_epilogue", "(", "FILE", "*", "file", ")", "{", "rtx_insn", "*", "insn", "=", "get_last_insn", "(", ")", ";", "bool", "extra_nop", ";", "if", "(", "NOTE_P", "(", "insn", ")", ")", "insn", "=", "prev_real_insn", "(", "insn", ")", ";", "if", "(", "insn", "&&", "NONJUMP_INSN_P", "(", "insn", ")", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "SEQUENCE", ")", "insn", "=", "as_a", "<", "rtx_sequence", "*", ">", "(", "PATTERN", "(", "insn", ")", ")", "->", "insn", "(", "0", ")", ";", "if", "(", "insn", "&&", "CALL_P", "(", "insn", ")", ")", "{", "fputs", "(", "\"\\tnop\\n\"", ",", "file", ")", ";", "extra_nop", "=", "true", ";", "}", "else", "extra_nop", "=", "false", ";", "fputs", "(", "\"\\t.EXIT\\n\\t.PROCEND\\n\"", ",", "file", ")", ";", "if", "(", "TARGET_SOM", "&&", "TARGET_GAS", ")", "{", "in_section", "=", "NULL", ";", "cfun", "->", "machine", "->", "in_nsubspa", "=", "2", ";", "}", "if", "(", "cfun", "->", "is_thunk", ")", "return", ";", "if", "(", "INSN_ADDRESSES_SET_P", "(", ")", ")", "{", "last_address", "=", "extra_nop", "?", "4", ":", "0", ";", "insn", "=", "get_last_nonnote_insn", "(", ")", ";", "if", "(", "insn", ")", "{", "last_address", "+=", "INSN_ADDRESSES", "(", "INSN_UID", "(", "insn", ")", ")", ";", "if", "(", "INSN_P", "(", "insn", ")", ")", "last_address", "+=", "insn_default_length", "(", "insn", ")", ";", "}", "last_address", "=", "(", "(", "last_address", "+", "FUNCTION_BOUNDARY", "/", "BITS_PER_UNIT", "-", "1", ")", "&", "~", "(", "FUNCTION_BOUNDARY", "/", "BITS_PER_UNIT", "-", "1", ")", ")", ";", "}", "else", "last_address", "=", "UINT_MAX", ";", "update_total_code_bytes", "(", "last_address", ")", ";", "}", ""], "natrual_language": ["This", "function", "generates", "the", "assembly", "code", "for", "function", "exit", ".", "Args", "are", "as", "for", "output_function_prologue", "(", ")", ".", "The", "function", "epilogue", "should", "not", "depend", "on", "the", "current", "stack", "pointer", "!", "It", "should", "use", "the", "frame", "pointer", "only", ".", "This", "is", "mandatory", "because", "of", "alloca", ";", "we", "also", "take", "advantage", "of", "it", "to", "omit", "stack", "adjustments", "before", "returning", "."], "TS_V_token": ["pa", "0", "\"\\tnop\\n\"", "\"\\t.EXIT\\n\\t.PROCEND\\n\"", "2", "4", "0", "1", "1"], "File": "pa", "Func": "pa_output_function_epilogue", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8325, "Length": 220, "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", "==", "0", "||", "rs6000_default_cpu", "[", "0", "]", "==", "'\\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", "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": "rs60005", "Func": "rs6000_file_start", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8326, "Length": 443, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getSize", "(", ")", "const", "{", "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": "X86AsmParser (2)4", "Func": "getSize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8327, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZPassConfig", "::", "addPreSched2", "(", ")", "{", "addPass", "(", "createSystemZExpandPseudoPass", "(", "getSystemZTargetMachine", "(", ")", ")", ")", ";", "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": ["SystemZ", "SystemZ", "SystemZ", "SystemZ"], "File": "SystemZTargetMachine10", "Func": "addPreSched2", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8328, "Length": 34, "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", ";", "if", "(", "MBB", "->", "isEHPad", "(", ")", "||", "MBB", "->", "pred_empty", "(", ")", ")", "return", "false", ";", "MachineBasicBlock", "::", "const_pred_iterator", "PI", "=", "MBB", "->", "pred_begin", "(", ")", ",", "PI2", "=", "PI", ";", "++", "PI2", ";", "if", "(", "PI2", "!=", "MBB", "->", "pred_end", "(", ")", ")", "return", "false", ";", "if", "(", "!", "Pred", "->", "isLayoutSuccessor", "(", "MBB", ")", ")", "return", "false", ";", "if", "(", "Pred", "->", "empty", "(", ")", ")", "return", "true", ";", "MachineBasicBlock", "::", "const_iterator", "I", "=", "Pred", "->", "end", "(", ")", ";", "while", "(", "I", "!=", "Pred", "->", "begin", "(", ")", "&&", "!", "(", "--", "I", ")", "->", "isTerminator", "(", ")", ")", ";", "return", "!", "I", "->", "isBarrier", "(", ")", ";", "}", ""], "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": "MipsAsmPrinter (2)1", "Func": "isBlockOnlyReachableByFallthrough", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8329, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCELFStreamer", "&", "MipsTargetELFStreamer", "::", "getStreamer", "(", ")", "{", "return", "static_cast", "<", "MCELFStreamer", "&", ">", "(", "*", "Streamer", ")", ";", "}", ""], "natrual_language": ["Return", "the", "output", "streamer", "for", "the", "assembler", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsMCTargetDesc29", "Func": "getStreamer", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8330, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pru_valid_addr_expr_p", "(", "machine_mode", "mode", ",", "rtx", "base", ",", "rtx", "offset", ",", "bool", "strict_p", ")", "{", "if", "(", "!", "strict_p", "&&", "GET_CODE", "(", "base", ")", "==", "SUBREG", ")", "base", "=", "SUBREG_REG", "(", "base", ")", ";", "if", "(", "!", "strict_p", "&&", "GET_CODE", "(", "offset", ")", "==", "SUBREG", ")", "offset", "=", "SUBREG_REG", "(", "offset", ")", ";", "if", "(", "REG_P", "(", "base", ")", "&&", "pru_regno_ok_for_base_p", "(", "REGNO", "(", "base", ")", ",", "strict_p", ")", "&&", "(", "(", "CONST_INT_P", "(", "offset", ")", "&&", "pru_valid_const_ubyte_offset", "(", "mode", ",", "INTVAL", "(", "offset", ")", ")", ")", "||", "(", "REG_P", "(", "offset", ")", "&&", "pru_regno_ok_for_index_p", "(", "REGNO", "(", "offset", ")", ",", "strict_p", ")", ")", ")", ")", "return", "true", ";", "else", "if", "(", "REG_P", "(", "base", ")", "&&", "pru_regno_ok_for_index_p", "(", "REGNO", "(", "base", ")", ",", "strict_p", ")", "&&", "ctable_base_operand", "(", "offset", ",", "VOIDmode", ")", ")", "return", "true", ";", "else", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "address", "expression", "formed", "by", "BASE", "+", "OFFSET", "is", "valid", ".", "Note", "that", "the", "following", "address", "is", "not", "handled", "here", ":", "base", "CTABLE", "constant", "base", "+", "UBYTE", "constant", "offset", "The", "constants", "will", "be", "folded", ".", "The", "ctable_addr_operand", "predicate", "will", "take", "care", "of", "the", "validation", ".", "The", "CTABLE", "base+offset", "split", "will", "happen", "during", "operand", "printing", "."], "TS_V_token": ["pru"], "File": "pru", "Func": "pru_valid_addr_expr_p", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8331, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsConstantIslands", "::", "getOffsetOf", "(", "MachineInstr", "*", "MI", ")", "const", "{", "MachineBasicBlock", "*", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "unsigned", "Offset", "=", "BBInfo", "[", "MBB", "->", "getNumber", "(", ")", "]", ".", "Offset", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", "->", "begin", "(", ")", ";", "&", "*", "I", "!=", "MI", ";", "++", "I", ")", "{", "assert", "(", "I", "!=", "MBB", "->", "end", "(", ")", "&&", "\"Didn't find MI in its own basic block?\"", ")", ";", "Offset", "+=", "TII", "->", "getInstSizeInBytes", "(", "*", "I", ")", ";", "}", "return", "Offset", ";", "}", ""], "natrual_language": ["getOffsetOf", "-", "Return", "the", "current", "offset", "of", "the", "specified", "machine", "instruction", "from", "the", "start", "of", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "\"Didn't find MI in its own basic block?\""], "File": "MipsConstantIslandPass (2)1", "Func": "getOffsetOf", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8332, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "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", ")", ";", "if", "(", "Opc", "==", "X86", "::", "LEA64_32r", "&&", "X86", "::", "GR32RegClass", ".", "contains", "(", "BasePtr", ")", ")", "BasePtr", "=", "getX86SubSuperRegister", "(", "BasePtr", ",", "MVT", "::", "i64", ",", "false", ")", ";", "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", "(", "BasePtr", "==", "StackPtr", ")", "FIOffset", "+=", "SPAdj", ";", "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", "X86::TAILJMPm64", "X86::TAILJMPm", "0", "0", "X86::LEA64_32r", "X86::GR32RegClass", "X86", "MVT::i64", "\"Expected the FP as base register\"", "1", "1", "3", "3", "32", "\"Requesting 64-bit offset in 32-bit immediate!\"", "3", "3", "3"], "File": "X86RegisterInfo52", "Func": "eliminateFrameIndex", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8333, "Length": 448, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetObjectFile", "::", "IsConstantInSmallSection", "(", "const", "Constant", "*", "CN", ",", "const", "TargetMachine", "&", "TM", ")", "const", "{", "return", "(", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "useSmallSection", "(", ")", "&&", "LocalSData", "&&", "IsInSmallSection", "(", "TM", ".", "getDataLayout", "(", ")", "->", "getTypeAllocSize", "(", "CN", "->", "getType", "(", ")", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "constant", "should", "be", "placed", "into", "small", "data", "section", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsTargetObjectFile16", "Func": "IsConstantInSmallSection", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8334, "Length": 54, "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", ")", ";", "}", "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": "AArch64LegalizerInfo29", "Func": "legalizeCustom", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8335, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "dimode_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", "reg", "=", "SET_DEST", "(", "def_set", ")", ";", "if", "(", "!", "REG_P", "(", "reg", ")", "||", "bitmap_bit_p", "(", "regs", ",", "REGNO", "(", "reg", ")", ")", "||", "HARD_REGISTER_P", "(", "reg", ")", ")", "continue", ";", "for", "(", "df_ref", "def", "=", "DF_REG_DEF_CHAIN", "(", "REGNO", "(", "reg", ")", ")", ";", "def", ";", "def", "=", "DF_REF_NEXT_REG", "(", "def", ")", ")", "{", "if", "(", "!", "bitmap_bit_p", "(", "candidates", ",", "DF_REF_INSN_UID", "(", "def", ")", ")", ")", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"r%d has non convertible definition in insn %d\\n\"", ",", "REGNO", "(", "reg", ")", ",", "DF_REF_INSN_UID", "(", "def", ")", ")", ";", "bitmap_set_bit", "(", "regs", ",", "REGNO", "(", "reg", ")", ")", ";", "break", ";", "}", "}", "}", "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", ")", ")", ";", "}", "}", "BITMAP_FREE", "(", "regs", ")", ";", "}", ""], "natrual_language": ["The", "DImode", "version", "of", "remove_non_convertible_regs", "."], "TS_V_token": ["i386", "0", "\"r%d has non convertible definition in insn %d\\n\"", "0", "\"Removing insn %d from candidates list\\n\""], "File": "i3866", "Func": "dimode_remove_non_convertible_regs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8336, "Length": 229, "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": 8337, "Length": 299, "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": ["MMIX"], "File": "MMIXAsmParser", "Func": "getStartLoc", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8338, "Length": 11, "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", "::", "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::V_SET0B", "PPC::V_SET0H", "PPC::V_SET0", "PPC::V_SETALLONESB", "PPC::V_SETALLONESH", "PPC::V_SETALLONES", "PPC::CRSET", "PPC::CRUNSET"], "File": "PPCInstrInfo4", "Func": "isReallyTriviallyReMaterializable", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8339, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetObjectFile", "::", "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", ",", "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": ["Mips", "Mips", "\".sdata\"", "\".sbss\""], "File": "MipsTargetObjectFile19", "Func": "Initialize", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8340, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ATTRIBUTE_UNUSED", "ix86_debug_options", "(", "void", ")", "{", "char", "*", "opts", "=", "ix86_target_string", "(", "ix86_isa_flags", ",", "ix86_isa_flags2", ",", "target_flags", ",", "ix86_target_flags", ",", "ix86_arch_string", ",", "ix86_tune_string", ",", "ix86_fpmath", ",", "true", ")", ";", "if", "(", "opts", ")", "{", "fprintf", "(", "stderr", ",", "\"%s\\n\\n\"", ",", "opts", ")", ";", "free", "(", "opts", ")", ";", "}", "else", "fputs", "(", "\"\\n\\n\"", ",", "stderr", ")", ";", "return", ";", "}", ""], "natrual_language": ["Function", "that", "is", "callable", "from", "the", "debugger", "to", "print", "the", "current", "options", "."], "TS_V_token": ["i386", "\"%s\\n\\n\"", "\"\\n\\n\""], "File": "i3866", "Func": "ix86_debug_options", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8341, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "X86Subtarget", "::", "classifyGlobalFunctionReference", "(", "const", "GlobalValue", "*", "GV", ",", "const", "Module", "&", "M", ")", "const", "{", "if", "(", "TM", ".", "shouldAssumeDSOLocal", "(", "M", ",", "GV", ")", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "assert", "(", "!", "isTargetCOFF", "(", ")", ")", ";", "if", "(", "isTargetELF", "(", ")", ")", "return", "X86II", "::", "MO_PLT", ";", "if", "(", "is64Bit", "(", ")", ")", "{", "auto", "*", "F", "=", "dyn_cast_or_null", "<", "Function", ">", "(", "GV", ")", ";", "if", "(", "F", "&&", "F", "->", "hasFnAttribute", "(", "Attribute", "::", "NonLazyBind", ")", ")", "return", "X86II", "::", "MO_GOTPCREL", ";", "return", "X86II", "::", "MO_NO_FLAG", ";", "}", "return", "X86II", "::", "MO_NO_FLAG", ";", "}", ""], "natrual_language": ["Classify", "a", "global", "function", "reference", "for", "the", "current", "subtarget", "."], "TS_V_token": ["X86", "X86", "X86II::MO_NO_FLAG", "X86II::MO_PLT", "X86II::MO_GOTPCREL", "X86II::MO_NO_FLAG", "X86II::MO_NO_FLAG"], "File": "X86Subtarget109", "Func": "classifyGlobalFunctionReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8342, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "AArch64RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "AArch64FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "AArch64", "::", "SP", ")", ";", "Reserved", ".", "set", "(", "AArch64", "::", "XZR", ")", ";", "Reserved", ".", "set", "(", "AArch64", "::", "WSP", ")", ";", "Reserved", ".", "set", "(", "AArch64", "::", "WZR", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", "||", "TT", ".", "isOSDarwin", "(", ")", ")", "{", "Reserved", ".", "set", "(", "AArch64", "::", "FP", ")", ";", "Reserved", ".", "set", "(", "AArch64", "::", "W29", ")", ";", "}", "if", "(", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isX18Reserved", "(", ")", ")", "{", "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", "AArch64::SP", "AArch64::XZR", "AArch64::WSP", "AArch64::WZR", "AArch64::FP", "AArch64::W29", "AArch64", "AArch64::X18", "AArch64::W18", "AArch64::X19", "AArch64::W19"], "File": "AArch64RegisterInfo (2)", "Func": "getReservedRegs", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8343, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "rs6000_secondary_memory_needed_mode", "(", "machine_mode", "mode", ")", "{", "if", "(", "lra_in_progress", "&&", "mode", "==", "SDmode", ")", "return", "DDmode", ";", "return", "mode", ";", "}", ""], "natrual_language": ["Return", "the", "mode", "to", "be", "used", "for", "memory", "when", "a", "secondary", "memory", "location", "is", "needed", ".", "For", "SDmode", "values", "we", "need", "to", "use", "DDmode", ",", "in", "all", "other", "cases", "we", "can", "use", "the", "same", "mode", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_secondary_memory_needed_mode", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8344, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetLowering", "::", "LowerOperationWrapper", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDValue", "Res", "=", "LowerOperation", "(", "SDValue", "(", "N", ",", "0", ")", ",", "DAG", ")", ";", "if", "(", "Res", ")", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "Res", "->", "getNumValues", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Results", ".", "push_back", "(", "Res", ".", "getValue", "(", "I", ")", ")", ";", "}", ""], "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": ["Mips", "Mips", "0", "0"], "File": "MipsISelLowering (2)4", "Func": "LowerOperationWrapper", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8345, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rs6000_builtin_vectorized_libmass", "(", "combined_fn", "fn", ",", "tree", "type_out", ",", "tree", "type_in", ")", "{", "char", "name", "[", "32", "]", ";", "const", "char", "*", "suffix", "=", "NULL", ";", "tree", "fntype", ",", "new_fndecl", ",", "bdecl", "=", "NULL_TREE", ";", "int", "n_args", "=", "1", ";", "const", "char", "*", "bname", ";", "machine_mode", "el_mode", ",", "in_mode", ";", "int", "n", ",", "in_n", ";", "if", "(", "!", "flag_unsafe_math_optimizations", "||", "!", "TARGET_VSX", ")", "return", "NULL_TREE", ";", "el_mode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "type_out", ")", ")", ";", "n", "=", "TYPE_VECTOR_SUBPARTS", "(", "type_out", ")", ";", "in_mode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "type_in", ")", ")", ";", "in_n", "=", "TYPE_VECTOR_SUBPARTS", "(", "type_in", ")", ";", "if", "(", "el_mode", "!=", "in_mode", "||", "n", "!=", "in_n", ")", "return", "NULL_TREE", ";", "switch", "(", "fn", ")", "{", "CASE_CFN_ATAN2", ":", "CASE_CFN_HYPOT", ":", "CASE_CFN_POW", ":", "n_args", "=", "2", ";", "gcc_fallthrough", "(", ")", ";", "CASE_CFN_ACOS", ":", "CASE_CFN_ACOSH", ":", "CASE_CFN_ASIN", ":", "CASE_CFN_ASINH", ":", "CASE_CFN_ATAN", ":", "CASE_CFN_ATANH", ":", "CASE_CFN_CBRT", ":", "CASE_CFN_COS", ":", "CASE_CFN_COSH", ":", "CASE_CFN_ERF", ":", "CASE_CFN_ERFC", ":", "CASE_CFN_EXP2", ":", "CASE_CFN_EXP", ":", "CASE_CFN_EXPM1", ":", "CASE_CFN_LGAMMA", ":", "CASE_CFN_LOG10", ":", "CASE_CFN_LOG1P", ":", "CASE_CFN_LOG2", ":", "CASE_CFN_LOG", ":", "CASE_CFN_SIN", ":", "CASE_CFN_SINH", ":", "CASE_CFN_SQRT", ":", "CASE_CFN_TAN", ":", "CASE_CFN_TANH", ":", "if", "(", "el_mode", "==", "DFmode", "&&", "n", "==", "2", ")", "{", "bdecl", "=", "mathfn_built_in", "(", "double_type_node", ",", "fn", ")", ";", "suffix", "=", "\"d2\"", ";", "}", "else", "if", "(", "el_mode", "==", "SFmode", "&&", "n", "==", "4", ")", "{", "bdecl", "=", "mathfn_built_in", "(", "float_type_node", ",", "fn", ")", ";", "suffix", "=", "\"4\"", ";", "}", "else", "return", "NULL_TREE", ";", "if", "(", "!", "bdecl", ")", "return", "NULL_TREE", ";", "break", ";", "default", ":", "return", "NULL_TREE", ";", "}", "gcc_assert", "(", "suffix", "!=", "NULL", ")", ";", "bname", "=", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "bdecl", ")", ")", ";", "if", "(", "!", "bname", ")", "return", "NULL_TREE", ";", "strcpy", "(", "name", ",", "bname", "+", "sizeof", "(", "\"__builtin_\"", ")", "-", "1", ")", ";", "strcat", "(", "name", ",", "suffix", ")", ";", "if", "(", "n_args", "==", "1", ")", "fntype", "=", "build_function_type_list", "(", "type_out", ",", "type_in", ",", "NULL", ")", ";", "else", "if", "(", "n_args", "==", "2", ")", "fntype", "=", "build_function_type_list", "(", "type_out", ",", "type_in", ",", "type_in", ",", "NULL", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "new_fndecl", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FUNCTION_DECL", ",", "get_identifier", "(", "name", ")", ",", "fntype", ")", ";", "TREE_PUBLIC", "(", "new_fndecl", ")", "=", "1", ";", "DECL_EXTERNAL", "(", "new_fndecl", ")", "=", "1", ";", "DECL_IS_NOVOPS", "(", "new_fndecl", ")", "=", "1", ";", "TREE_READONLY", "(", "new_fndecl", ")", "=", "1", ";", "return", "new_fndecl", ";", "}", ""], "natrual_language": ["Handler", "for", "the", "Mathematical", "Acceleration", "Subsystem", "(", "mass", ")", "interface", "to", "a", "library", "with", "vectorized", "intrinsics", "."], "TS_V_token": ["rs6000", "32", "1", "2", "2", "\"d2\"", "4", "\"4\"", "\"__builtin_\"", "1", "1", "2", "1", "1", "1", "1"], "File": "rs60006", "Func": "rs6000_builtin_vectorized_libmass", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8346, "Length": 388, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"AArch64 Condition Optimizer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64", "\"AArch64 Condition Optimizer\""], "File": "AArch64ConditionOptimizer1", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8347, "Length": 11, "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": "PPCMIPeephole1", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8348, "Length": 34, "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", ")", ")", ";", "}", "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"], "File": "AArch64CallLowering (2)", "Func": "lowerFormalArguments", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8349, "Length": 447, "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", "(", "PseudoSourceValue", "::", "getFixedStack", "(", "FI", ")", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tSpill", ")", ")", ".", "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::tSpill", "0"], "File": "Thumb1InstrInfo27", "Func": "storeRegToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8350, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createX86AtomicExpandPass", "(", "&", "getX86TargetMachine", "(", ")", ")", ")", ";", "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", "X86"], "File": "X86TargetMachine", "Func": "addIRPasses", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8351, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMSubtarget", "::", "enableMachineScheduler", "(", ")", "const", "{", "return", "useMachineScheduler", "(", ")", ";", "}", ""], "natrual_language": ["Enable", "the", "MachineScheduler", "pass", "for", "all", "X86", "subtargets", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMSubtarget", "Func": "enableMachineScheduler", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8352, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCAIXAsmPrinter", "::", "emitGlobalVariable", "(", "const", "GlobalVariable", "*", "GV", ")", "{", "if", "(", "isSpecialLLVMGlobalArrayToSkip", "(", "GV", ")", ")", "return", ";", "assert", "(", "!", "GV", "->", "getName", "(", ")", ".", "startswith", "(", "\"llvm.\"", ")", "&&", "\"Unhandled intrinsic global variable.\"", ")", ";", "ValidateGV", "(", "GV", ")", ";", "MCSymbolXCOFF", "*", "GVSym", "=", "cast", "<", "MCSymbolXCOFF", ">", "(", "getSymbol", "(", "GV", ")", ")", ";", "GVSym", "->", "setStorageClass", "(", "TargetLoweringObjectFileXCOFF", "::", "getStorageClassForGlobal", "(", "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", "(", ")", ")", ";", "if", "(", "GVKind", ".", "isBSSLocal", "(", ")", ")", "OutStreamer", "->", "emitXCOFFLocalCommonSymbol", "(", "OutContext", ".", "getOrCreateSymbol", "(", "GVSym", "->", "getUnqualifiedName", "(", ")", ")", ",", "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": "PPCAsmPrinter59", "Func": "emitGlobalVariable", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8353, "Length": 358, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "function_arg_32", "(", "const", "CUMULATIVE_ARGS", "*", "cum", ",", "machine_mode", "mode", ",", "machine_mode", "orig_mode", ",", "const_tree", "type", ",", "HOST_WIDE_INT", "bytes", ",", "HOST_WIDE_INT", "words", ")", "{", "if", "(", "mode", "==", "VOIDmode", ")", "return", "constm1_rtx", ";", "switch", "(", "mode", ")", "{", "default", ":", "break", ";", "case", "BLKmode", ":", "if", "(", "bytes", "<", "0", ")", "break", ";", "case", "DImode", ":", "case", "SImode", ":", "case", "HImode", ":", "case", "QImode", ":", "if", "(", "words", "<=", "cum", "->", "nregs", ")", "{", "int", "regno", "=", "cum", "->", "regno", ";", "if", "(", "cum", "->", "fastcall", ")", "{", "if", "(", "mode", "==", "BLKmode", "||", "mode", "==", "DImode", "||", "(", "type", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", ")", ")", "break", ";", "if", "(", "regno", "==", "AX_REG", ")", "regno", "=", "CX_REG", ";", "}", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "}", "break", ";", "case", "DFmode", ":", "if", "(", "cum", "->", "float_in_sse", "<", "2", ")", "break", ";", "case", "SFmode", ":", "if", "(", "cum", "->", "float_in_sse", "<", "1", ")", "break", ";", "case", "TImode", ":", "case", "V16QImode", ":", "case", "V8HImode", ":", "case", "V4SImode", ":", "case", "V2DImode", ":", "case", "V4SFmode", ":", "case", "V2DFmode", ":", "if", "(", "!", "type", "||", "!", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "if", "(", "cum", "->", "sse_nregs", ")", "return", "gen_reg_or_parallel", "(", "mode", ",", "orig_mode", ",", "cum", "->", "sse_regno", "+", "FIRST_SSE_REG", ")", ";", "}", "break", ";", "case", "OImode", ":", "case", "XImode", ":", "gcc_unreachable", "(", ")", ";", "case", "V64QImode", ":", "case", "V32HImode", ":", "case", "V16SImode", ":", "case", "V8DImode", ":", "case", "V16SFmode", ":", "case", "V8DFmode", ":", "case", "V8SFmode", ":", "case", "V8SImode", ":", "case", "V32QImode", ":", "case", "V16HImode", ":", "case", "V4DFmode", ":", "case", "V4DImode", ":", "if", "(", "!", "type", "||", "!", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "if", "(", "cum", "->", "sse_nregs", ")", "return", "gen_reg_or_parallel", "(", "mode", ",", "orig_mode", ",", "cum", "->", "sse_regno", "+", "FIRST_SSE_REG", ")", ";", "}", "break", ";", "case", "V8QImode", ":", "case", "V4HImode", ":", "case", "V2SImode", ":", "case", "V2SFmode", ":", "case", "V1TImode", ":", "case", "V1DImode", ":", "if", "(", "!", "type", "||", "!", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "if", "(", "cum", "->", "mmx_nregs", ")", "return", "gen_reg_or_parallel", "(", "mode", ",", "orig_mode", ",", "cum", "->", "mmx_regno", "+", "FIRST_MMX_REG", ")", ";", "}", "break", ";", "}", "return", "NULL_RTX", ";", "}", ""], "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", ")", "."], "TS_V_token": ["i386", "0", "2", "1"], "File": "i3864", "Func": "function_arg_32", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8354, "Length": 353, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "pa_adjust_insn_length", "(", "rtx", "insn", ",", "int", "length", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "insn", ")", "==", "JUMP_INSN", "&&", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", "&&", "get_attr_type", "(", "insn", ")", "==", "TYPE_BTABLE_BRANCH", ")", "return", "4", ";", "else", "if", "(", "GET_CODE", "(", "insn", ")", "==", "INSN", "&&", "GET_CODE", "(", "pat", ")", "!=", "SEQUENCE", "&&", "GET_CODE", "(", "pat", ")", "!=", "USE", "&&", "GET_CODE", "(", "pat", ")", "!=", "CLOBBER", "&&", "get_attr_type", "(", "insn", ")", "==", "TYPE_MILLI", ")", "return", "4", ";", "else", "if", "(", "GET_CODE", "(", "insn", ")", "==", "INSN", "&&", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", "&&", "GET_CODE", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ")", "==", "SET", "&&", "GET_CODE", "(", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ",", "0", ")", ")", "==", "MEM", "&&", "GET_CODE", "(", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ",", "1", ")", ")", "==", "MEM", "&&", "GET_MODE", "(", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ",", "0", ")", ")", "==", "BLKmode", "&&", "GET_MODE", "(", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ",", "1", ")", ")", "==", "BLKmode", ")", "return", "compute_movmem_length", "(", "insn", ")", "-", "4", ";", "else", "if", "(", "GET_CODE", "(", "insn", ")", "==", "INSN", "&&", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", "&&", "GET_CODE", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ")", "==", "SET", "&&", "GET_CODE", "(", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ",", "0", ")", ")", "==", "MEM", "&&", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ",", "1", ")", "==", "const0_rtx", "&&", "GET_MODE", "(", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ",", "0", ")", ")", "==", "BLKmode", ")", "return", "compute_clrmem_length", "(", "insn", ")", "-", "4", ";", "else", "if", "(", "GET_CODE", "(", "insn", ")", "==", "JUMP_INSN", "&&", "!", "simplejump_p", "(", "insn", ")", ")", "{", "if", "(", "GET_CODE", "(", "pat", ")", "==", "SET", "&&", "length", "==", "4", "&&", "!", "forward_branch_p", "(", "insn", ")", ")", "return", "4", ";", "else", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", "&&", "get_attr_type", "(", "insn", ")", "==", "TYPE_PARALLEL_BRANCH", "&&", "length", "==", "4", ")", "return", "4", ";", "else", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", "&&", "GET_CODE", "(", "XVECEXP", "(", "pat", ",", "0", ",", "1", ")", ")", "==", "SET", "&&", "GET_CODE", "(", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "1", ")", ",", "0", ")", ")", "==", "REG", "&&", "!", "FP_REG_P", "(", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "1", ")", ",", "0", ")", ")", "&&", "length", "==", "4", "&&", "!", "forward_branch_p", "(", "insn", ")", ")", "return", "4", ";", "else", "return", "0", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "any", "length", "adjustment", "needed", "by", "INSN", "which", "already", "has", "its", "length", "computed", "as", "LENGTH", ".", "Return", "zero", "if", "no", "adjustment", "is", "necessary", ".", "For", "the", "PA", ":", "function", "calls", ",", "millicode", "calls", ",", "and", "backwards", "short", "conditional", "branches", "with", "unfilled", "delay", "slots", "need", "an", "adjustment", "by", "+1", "(", "to", "account", "for", "the", "NOP", "which", "will", "be", "inserted", "into", "the", "instruction", "stream", ")", ".", "Also", "compute", "the", "length", "of", "an", "inline", "block", "move", "here", "as", "it", "is", "too", "complicated", "to", "express", "as", "a", "length", "attribute", "in", "pa.md", "."], "TS_V_token": ["pa", "4", "4", "0", "0", "0", "0", "0", "0", "0", "1", "0", "0", "0", "0", "0", "1", "4", "0", "0", "0", "0", "0", "0", "0", "1", "0", "0", "0", "4", "4", "4", "4", "4", "0", "1", "0", "1", "0", "0", "1", "0", "4", "4", "0", "0"], "File": "pa3", "Func": "pa_adjust_insn_length", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8355, "Length": 439, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "loongarch_preferred_reload_class", "(", "rtx", "x", ",", "reg_class_t", "rclass", ")", "{", "if", "(", "reg_class_subset_p", "(", "FP_REGS", ",", "rclass", ")", "&&", "loongarch_mode_ok_for_mov_fmt_p", "(", "GET_MODE", "(", "x", ")", ")", ")", "return", "FP_REGS", ";", "if", "(", "reg_class_subset_p", "(", "GR_REGS", ",", "rclass", ")", ")", "rclass", "=", "GR_REGS", ";", "return", "rclass", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PREFERRED_RELOAD_CLASS", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_preferred_reload_class", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8356, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "gen_reg_or_parallel", "(", "machine_mode", "mode", ",", "machine_mode", "orig_mode", ",", "unsigned", "int", "regno", ")", "{", "rtx", "tmp", ";", "if", "(", "orig_mode", "!=", "BLKmode", ")", "tmp", "=", "gen_rtx_REG", "(", "orig_mode", ",", "regno", ")", ";", "else", "{", "tmp", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "tmp", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "tmp", ",", "const0_rtx", ")", ";", "tmp", "=", "gen_rtx_PARALLEL", "(", "orig_mode", ",", "gen_rtvec", "(", "1", ",", "tmp", ")", ")", ";", "}", "return", "tmp", ";", "}", ""], "natrual_language": ["We", "want", "to", "pass", "a", "value", "in", "REGNO", "whose", "``", "natural", "''", "mode", "is", "MODE", ".", "However", ",", "this", "may", "not", "agree", "with", "the", "mode", "that", "the", "type", "system", "has", "chosen", "for", "the", "register", ",", "which", "is", "ORIG_MODE", ".", "If", "ORIG_MODE", "is", "not", "BLKmode", ",", "then", "we", "can", "go", "ahead", "and", "use", "it", ".", "Otherwise", "we", "have", "to", "build", "a", "PARALLEL", "instead", "."], "TS_V_token": ["i386", "1"], "File": "i386", "Func": "gen_reg_or_parallel", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8357, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "function_resolver", "::", "report_no_such_form", "(", "type_suffix_index", "type", ")", "{", "error_at", "(", "location", ",", "\"%qE has no form that takes %qT arguments\"", ",", "fndecl", ",", "get_vector_type", "(", "type", ")", ")", ";", "return", "error_mark_node", ";", "}", ""], "natrual_language": ["Report", "that", "the", "function", "has", "no", "form", "that", "takes", "type", "suffix", "TYPE", ".", "Return", "error_mark_node", "."], "TS_V_token": ["aarch64", "\"%qE has no form that takes %qT arguments\""], "File": "aarch64-sve-builtins", "Func": "report_no_such_form", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8358, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sparc_function_arg_1", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ",", "bool", "incoming", ")", "{", "const", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "const", "int", "regbase", "=", "incoming", "?", "SPARC_INCOMING_INT_ARG_FIRST", ":", "SPARC_OUTGOING_INT_ARG_FIRST", ";", "int", "slotno", ",", "regno", ",", "padding", ";", "enum", "mode_class", "mclass", "=", "GET_MODE_CLASS", "(", "mode", ")", ";", "slotno", "=", "function_arg_slotno", "(", "cum", ",", "mode", ",", "type", ",", "named", ",", "incoming", ",", "&", "regno", ",", "&", "padding", ")", ";", "if", "(", "slotno", "==", "-", "1", ")", "return", "0", ";", "if", "(", "type", "&&", "VECTOR_INTEGER_TYPE_P", "(", "type", ")", ")", "mclass", "=", "MODE_FLOAT", ";", "if", "(", "TARGET_ARCH32", ")", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "if", "(", "type", "&&", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", ")", "{", "const", "int", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "gcc_assert", "(", "size", "<=", "16", ")", ";", "return", "function_arg_record_value", "(", "type", ",", "mode", ",", "slotno", ",", "named", ",", "regbase", ")", ";", "}", "else", "if", "(", "type", "&&", "TREE_CODE", "(", "type", ")", "==", "UNION_TYPE", ")", "{", "const", "int", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "gcc_assert", "(", "size", "<=", "16", ")", ";", "return", "function_arg_union_value", "(", "size", ",", "mode", ",", "slotno", ",", "regno", ")", ";", "}", "else", "if", "(", "type", "&&", "VECTOR_TYPE_P", "(", "type", ")", "&&", "mode", "==", "BLKmode", ")", "{", "const", "int", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "gcc_assert", "(", "size", "<=", "16", ")", ";", "return", "function_arg_vector_value", "(", "size", ",", "slotno", ",", "named", ",", "regno", ")", ";", "}", "else", "if", "(", "(", "mclass", "==", "MODE_FLOAT", "||", "mclass", "==", "MODE_COMPLEX_FLOAT", ")", "&&", "SPARC_FP_REG_P", "(", "regno", ")", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "if", "(", "cum", "->", "prototype_p", "||", "cum", "->", "libcall_p", ")", "return", "reg", ";", "else", "{", "rtx", "v0", ",", "v1", ";", "if", "(", "(", "regno", "-", "SPARC_FP_ARG_FIRST", ")", "<", "SPARC_INT_ARG_MAX", "*", "2", ")", "{", "int", "intreg", ";", "if", "(", "incoming", ")", "return", "reg", ";", "intreg", "=", "(", "SPARC_OUTGOING_INT_ARG_FIRST", "+", "(", "regno", "-", "SPARC_FP_ARG_FIRST", ")", "/", "2", ")", ";", "v0", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "reg", ",", "const0_rtx", ")", ";", "v1", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "mode", ",", "intreg", ")", ",", "const0_rtx", ")", ";", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec", "(", "2", ",", "v0", ",", "v1", ")", ")", ";", "}", "else", "{", "v0", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "NULL_RTX", ",", "const0_rtx", ")", ";", "v1", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "reg", ",", "const0_rtx", ")", ";", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec", "(", "2", ",", "v0", ",", "v1", ")", ")", ";", "}", "}", "}", "else", "if", "(", "type", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "const", "int", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "gcc_assert", "(", "size", "<=", "16", ")", ";", "mode", "=", "int_mode_for_size", "(", "size", "*", "BITS_PER_UNIT", ",", "0", ")", ".", "else_blk", "(", ")", ";", "}", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "}", ""], "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", ".", "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", "true", "if", "this", "argument", "is", "a", "named", "parameter", "(", "otherwise", "it", "is", "an", "extra", "parameter", "matching", "an", "ellipsis", ")", ".", "INCOMING_P", "is", "false", "for", "TARGET_FUNCTION_ARG", ",", "true", "for", "TARGET_FUNCTION_INCOMING_ARG", "."], "TS_V_token": ["sparc", "1", "0", "16", "16", "16", "2", "2", "2", "2", "16", "0"], "File": "sparc8", "Func": "sparc_function_arg_1", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8359, "Length": 464, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmPrinter", "::", "emitStartOfAsmFile", "(", "Module", "&", "M", ")", "{", "const", "Triple", "&", "TT", "=", "TM", ".", "getTargetTriple", "(", ")", ";", "if", "(", "TT", ".", "isOSBinFormatELF", "(", ")", ")", "{", "unsigned", "FeatureFlagsAnd", "=", "0", ";", "if", "(", "M", ".", "getModuleFlag", "(", "\"cf-protection-branch\"", ")", ")", "FeatureFlagsAnd", "|=", "ELF", "::", "GNU_PROPERTY_X86_FEATURE_1_IBT", ";", "if", "(", "M", ".", "getModuleFlag", "(", "\"cf-protection-return\"", ")", ")", "FeatureFlagsAnd", "|=", "ELF", "::", "GNU_PROPERTY_X86_FEATURE_1_SHSTK", ";", "if", "(", "FeatureFlagsAnd", ")", "{", "if", "(", "!", "TT", ".", "isArch32Bit", "(", ")", "&&", "!", "TT", ".", "isArch64Bit", "(", ")", ")", "llvm_unreachable", "(", "\"CFProtection used on invalid architecture!\"", ")", ";", "MCSection", "*", "Cur", "=", "OutStreamer", "->", "getCurrentSectionOnly", "(", ")", ";", "MCSection", "*", "Nt", "=", "MMI", "->", "getContext", "(", ")", ".", "getELFSection", "(", "\".note.gnu.property\"", ",", "ELF", "::", "SHT_NOTE", ",", "ELF", "::", "SHF_ALLOC", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "Nt", ")", ";", "const", "int", "WordSize", "=", "TT", ".", "isArch64Bit", "(", ")", "&&", "!", "TT", ".", "isX32", "(", ")", "?", "8", ":", "4", ";", "emitAlignment", "(", "WordSize", "==", "4", "?", "Align", "(", "4", ")", ":", "Align", "(", "8", ")", ")", ";", "OutStreamer", "->", "emitIntValue", "(", "4", ",", "4", ")", ";", "OutStreamer", "->", "emitIntValue", "(", "8", "+", "WordSize", ",", "4", ")", ";", "OutStreamer", "->", "emitIntValue", "(", "ELF", "::", "NT_GNU_PROPERTY_TYPE_0", ",", "4", ")", ";", "OutStreamer", "->", "emitBytes", "(", "StringRef", "(", "\"GNU\"", ",", "4", ")", ")", ";", "OutStreamer", "->", "emitInt32", "(", "ELF", "::", "GNU_PROPERTY_X86_FEATURE_1_AND", ")", ";", "OutStreamer", "->", "emitInt32", "(", "4", ")", ";", "OutStreamer", "->", "emitInt32", "(", "FeatureFlagsAnd", ")", ";", "emitAlignment", "(", "WordSize", "==", "4", "?", "Align", "(", "4", ")", ":", "Align", "(", "8", ")", ")", ";", "OutStreamer", "->", "endSection", "(", "Nt", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "Cur", ")", ";", "}", "}", "if", "(", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "OutStreamer", "->", "SwitchSection", "(", "getObjFileLowering", "(", ")", ".", "getTextSection", "(", ")", ")", ";", "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", "(", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86", ")", "{", "Feat00Flags", "|=", "1", ";", "}", "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", "(", ")", ")", ")", ";", "}", "OutStreamer", "->", "emitSyntaxDirective", "(", ")", ";", "bool", "is16", "=", "TT", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "CODE16", ";", "if", "(", "M", ".", "getModuleInlineAsm", "(", ")", ".", "empty", "(", ")", "&&", "is16", ")", "OutStreamer", "->", "emitAssemblerFlag", "(", "MCAF_Code16", ")", ";", "}", ""], "natrual_language": ["This", "virtual", "method", "can", "be", "overridden", "by", "targets", "that", "want", "to", "emit", "something", "at", "the", "start", "of", "their", "file", "."], "TS_V_token": ["X86", "X86", "0", "\"cf-protection-branch\"", "X86", "\"cf-protection-return\"", "X86", "\"CFProtection used on invalid architecture!\"", "\".note.gnu.property\"", "8", "4", "4", "4", "8", "4", "4", "8", "4", "4", "\"GNU\"", "4", "X86", "4", "4", "4", "8", "\"@feat.00\"", "0", "1", "\"cfguard\"", "0x800", "\"ehcontguard\"", "0x4000"], "File": "X86AsmPrinter17", "Func": "emitStartOfAsmFile", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8360, "Length": 471, "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": 8361, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitConstantPool", "(", ")", "override", "{", "bool", "UsingConstantPools", "=", "(", "Subtarget", "->", "inMips16Mode", "(", ")", "&&", "Subtarget", "->", "useConstantIslands", "(", ")", ")", ";", "if", "(", "!", "UsingConstantPools", ")", "AsmPrinter", "::", "emitConstantPool", "(", ")", ";", "}", ""], "natrual_language": ["Print", "to", "the", "current", "output", "stream", "assembly", "representations", "of", "the", "constants", "in", "the", "constant", "pool", "MCP", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsAsmPrinter24", "Func": "emitConstantPool", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8362, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "is_function_label_plus_const", "(", "rtx", "op", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "==", "CONST", ")", "op", "=", "XEXP", "(", "op", ",", "0", ")", ";", "return", "(", "GET_CODE", "(", "op", ")", "==", "PLUS", "&&", "function_label_operand", "(", "XEXP", "(", "op", ",", "0", ")", ",", "Pmode", ")", "&&", "GET_CODE", "(", "XEXP", "(", "op", ",", "1", ")", ")", "==", "CONST_INT", ")", ";", "}", ""], "natrual_language": ["Returns", "1", "if", "OP", "is", "a", "function", "label", "involved", "in", "a", "simple", "addition", "with", "a", "constant", ".", "Used", "to", "keep", "certain", "patterns", "from", "matching", "during", "instruction", "combination", "."], "TS_V_token": ["pa", "0", "0", "1"], "File": "pa3", "Func": "is_function_label_plus_const", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8363, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "extract_sfunc_addr", "(", "rtx", "insn", ")", "{", "rtx", "pattern", "=", "PATTERN", "(", "insn", ")", ";", "const", "int", "len", "=", "XVECLEN", "(", "pattern", ",", "0", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "len", ";", "i", "++", ")", "{", "rtx", "part", "=", "XVECEXP", "(", "pattern", ",", "0", ",", "i", ")", ";", "if", "(", "GET_CODE", "(", "part", ")", "==", "USE", "&&", "GET_MODE", "(", "XEXP", "(", "part", ",", "0", ")", ")", "==", "Pmode", "&&", "GENERAL_REGISTER_P", "(", "true_regnum", "(", "XEXP", "(", "part", ",", "0", ")", ")", ")", ")", "return", "XEXP", "(", "part", ",", "0", ")", ";", "}", "gcc_assert", "(", "GET_CODE", "(", "XVECEXP", "(", "pattern", ",", "0", ",", "0", ")", ")", "==", "UNSPEC_VOLATILE", ")", ";", "return", "XVECEXP", "(", "XVECEXP", "(", "pattern", ",", "0", ",", "0", ")", ",", "0", ",", "1", ")", ";", "}", ""], "natrual_language": ["INSN", "is", "an", "sfunc", ";", "return", "the", "rtx", "that", "describes", "the", "address", "used", "."], "TS_V_token": ["sh", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1"], "File": "sh", "Func": "extract_sfunc_addr", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8364, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "output_probe_stack_range_1", "(", "rtx", "reg1", ",", "rtx", "reg2", ")", "{", "static", "int", "labelno", "=", "0", ";", "char", "loop_lab", "[", "32", "]", ";", "rtx", "xops", "[", "2", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "loop_lab", ",", "\"LPSRL\"", ",", "labelno", "++", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "loop_lab", ")", ";", "xops", "[", "0", "]", "=", "reg1", ";", "xops", "[", "1", "]", "=", "GEN_INT", "(", "-", "PROBE_INTERVAL", ")", ";", "output_asm_insn", "(", "\"addi %0,%0,%1\"", ",", "xops", ")", ";", "xops", "[", "1", "]", "=", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ";", "output_asm_insn", "(", "\"stw %1,0(%0)\"", ",", "xops", ")", ";", "xops", "[", "1", "]", "=", "reg2", ";", "if", "(", "TARGET_64BIT", ")", "output_asm_insn", "(", "\"cmpd 0,%0,%1\"", ",", "xops", ")", ";", "else", "output_asm_insn", "(", "\"cmpw 0,%0,%1\"", ",", "xops", ")", ";", "fputs", "(", "\"\\tbne 0,\"", ",", "asm_out_file", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "loop_lab", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Probe", "a", "range", "of", "stack", "addresses", "from", "REG1", "to", "REG2", "inclusive", ".", "These", "are", "addresses", ",", "not", "offsets", "."], "TS_V_token": ["rs6000", "0", "32", "2", "\"LPSRL\"", "0", "1", "\"addi %0,%0,%1\"", "1", "0", "\"stw %1,0(%0)\"", "1", "\"cmpd 0,%0,%1\"", "\"cmpw 0,%0,%1\"", "\"\\tbne 0,\"", "\"\""], "File": "rs6000-logue", "Func": "output_probe_stack_range_1", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8365, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_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", "(", ")", ";", "}", ""], "natrual_language": ["Restore", "or", "save", "the", "TREE_TARGET_GLOBALS", "from", "or", "to", "NEW_TREE", ".", "Used", "by", "aarch64_set_current_function", "and", "aarch64_pragma_target_parse", "to", "make", "sure", "optab", "availability", "predicates", "are", "recomputed", "when", "necessary", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_save_restore_target_globals", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8366, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "X86InstrInfo", "&", "TII", "=", "*", "TM", ".", "getInstrInfo", "(", ")", ";", "const", "X86RegisterInfo", "&", "RegInfo", "=", "*", "TM", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "StackPtr", "=", "RegInfo", ".", "getStackRegister", "(", ")", ";", "bool", "reseveCallFrame", "=", "hasReservedCallFrame", "(", "MF", ")", ";", "int", "Opcode", "=", "I", "->", "getOpcode", "(", ")", ";", "bool", "isDestroy", "=", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ";", "bool", "IsLP64", "=", "STI", ".", "isTarget64BitLP64", "(", ")", ";", "DebugLoc", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "uint64_t", "Amount", "=", "!", "reseveCallFrame", "?", "I", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ":", "0", ";", "uint64_t", "CalleeAmt", "=", "isDestroy", "?", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ":", "0", ";", "I", "=", "MBB", ".", "erase", "(", "I", ")", ";", "if", "(", "!", "reseveCallFrame", ")", "{", "if", "(", "Amount", "==", "0", ")", "return", ";", "unsigned", "StackAlign", "=", "TM", ".", "getFrameLowering", "(", ")", "->", "getStackAlignment", "(", ")", ";", "Amount", "=", "(", "Amount", "+", "StackAlign", "-", "1", ")", "/", "StackAlign", "*", "StackAlign", ";", "MachineInstr", "*", "New", "=", "0", ";", "if", "(", "Opcode", "==", "TII", ".", "getCallFrameSetupOpcode", "(", ")", ")", "{", "New", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "getSUBriOpcode", "(", "IsLP64", ",", "Amount", ")", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ")", ";", "Amount", "-=", "CalleeAmt", ";", "if", "(", "Amount", ")", "{", "unsigned", "Opc", "=", "getADDriOpcode", "(", "IsLP64", ",", "Amount", ")", ";", "New", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "}", "if", "(", "New", ")", "{", "New", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "return", ";", "}", "if", "(", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", "&&", "CalleeAmt", ")", "{", "unsigned", "Opc", "=", "getSUBriOpcode", "(", "IsLP64", ",", "CalleeAmt", ")", ";", "MachineInstr", "*", "New", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "CalleeAmt", ")", ";", "New", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "B", "=", "MBB", ".", "begin", "(", ")", ";", "while", "(", "I", "!=", "B", "&&", "!", "llvm", "::", "prior", "(", "I", ")", "->", "isCall", "(", ")", ")", "--", "I", ";", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "}", ""], "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", "X86", "X86", "0", "0", "1", "0", "0", "1", "0", "3", "3"], "File": "X86FrameLowering (2)1", "Func": "eliminateCallFramePseudoInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8367, "Length": 435, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SystemZInstrInfo", "::", "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", "(", ")", "==", "2", "||", "Cond", ".", "size", "(", ")", "==", "0", ")", "&&", "\"SystemZ 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", "(", "SystemZ", "::", "J", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "return", "1", ";", "}", "unsigned", "Count", "=", "0", ";", "unsigned", "CCValid", "=", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ";", "unsigned", "CCMask", "=", "Cond", "[", "1", "]", ".", "getImm", "(", ")", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "SystemZ", "::", "BRC", ")", ")", ".", "addImm", "(", "CCValid", ")", ".", "addImm", "(", "CCMask", ")", ".", "addMBB", "(", "TBB", ")", ";", "++", "Count", ";", "if", "(", "FBB", ")", "{", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "SystemZ", "::", "J", ")", ")", ".", "addMBB", "(", "FBB", ")", ";", "++", "Count", ";", "}", "return", "Count", ";", "}", ""], "natrual_language": ["Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"insertBranch must not be told to insert a fallthrough\"", "2", "0", "\"SystemZ branch conditions have one component!\"", "\"code size not handled\"", "\"Unconditional branch with multiple successors!\"", "SystemZ::J", "1", "0", "0", "1", "SystemZ::BRC", "SystemZ::J"], "File": "SystemZInstrInfo (2)2", "Func": "insertBranch", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8368, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "aarch64_mangle_type", "(", "const_tree", "type", ")", "{", "if", "(", "lang_hooks", ".", "types_compatible_p", "(", "CONST_CAST_TREE", "(", "type", ")", ",", "va_list_type", ")", ")", "return", "\"St9__va_list\"", ";", "if", "(", "TYPE_NAME", "(", "type", ")", "!=", "NULL", ")", "return", "aarch64_mangle_builtin_type", "(", "type", ")", ";", "return", "NULL", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MANGLE_TYPE", "."], "TS_V_token": ["aarch64", "\"St9__va_list\""], "File": "aarch642", "Func": "aarch64_mangle_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8369, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"ARM64 Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM64", "\"ARM64 Instruction Selection\""], "File": "ARM64ISelDAGToDAG1", "Func": "getPassName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8370, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VEAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "applyMnemonicAliases", "(", "Name", ",", "getAvailableFeatures", "(", ")", ",", "0", ")", ";", "StringRef", "Mnemonic", "=", "splitMnemonic", "(", "Name", ",", "NameLoc", ",", "&", "Operands", ")", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "parseOperand", "(", "Operands", ",", "Mnemonic", ")", "!=", "MatchOperand_Success", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token\"", ")", ";", "}", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "parseOperand", "(", "Operands", ",", "Mnemonic", ")", "!=", "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", "0", "\"unexpected token\"", "\"unexpected token\"", "\"unexpected token\""], "File": "VEAsmParser (2)", "Func": "ParseInstruction", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8371, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MandarinFrameLowering", "::", "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": ["Mandarin"], "File": "MandarinFrameLowering", "Func": "hasFP", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8372, "Length": 50, "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", ".", "getFunction", "(", ")", "->", "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": "MipsCodeEmitter8", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8373, "Length": 254, "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": 8374, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "shouldForceRelocation", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ")", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Hook", "to", "check", "if", "a", "relocation", "is", "needed", "for", "some", "target", "specific", "reason", "."], "TS_V_token": ["VE"], "File": "VEAsmBackend1", "Func": "shouldForceRelocation", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8375, "Length": 24, "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": 8376, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "ARMElfTargetObjectFile", "::", "getTTypeGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "unsigned", "Encoding", ",", "const", "TargetMachine", "&", "TM", ",", "MachineModuleInfo", "*", "MMI", ",", "MCStreamer", "&", "Streamer", ")", "const", "{", "if", "(", "TM", ".", "getMCAsmInfo", "(", ")", "->", "getExceptionHandlingType", "(", ")", "!=", "ExceptionHandling", "::", "ARM", ")", "return", "TargetLoweringObjectFileELF", "::", "getTTypeGlobalReference", "(", "GV", ",", "Encoding", ",", "TM", ",", "MMI", ",", "Streamer", ")", ";", "assert", "(", "Encoding", "==", "DW_EH_PE_absptr", "&&", "\"Can handle absptr encoding only\"", ")", ";", "return", "MCSymbolRefExpr", "::", "create", "(", "TM", ".", "getSymbol", "(", "GV", ")", ",", "MCSymbolRefExpr", "::", "VK_ARM_TARGET2", ",", "getContext", "(", ")", ")", ";", "}", ""], "natrual_language": ["The", "mach-o", "version", "of", "this", "method", "defaults", "to", "returning", "a", "stub", "reference", "."], "TS_V_token": ["ARM", "ARM", "ARM", "\"Can handle absptr encoding only\"", "ARM"], "File": "ARMTargetObjectFile (2)1", "Func": "getTTypeGlobalReference", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8377, "Length": 93, "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", "(", ")", ";", "hasV8Ops", "=", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "hasV8Ops", "(", ")", ";", "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": "Thumb2ITBlockPass11", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8378, "Length": 148, "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", "MCPhysReg", "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": "ARMFastISel (3)", "Func": "fastLowerArguments", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8379, "Length": 424, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64Operand", "::", "dump", "(", ")", "const", "{", "print", "(", "errs", "(", ")", ")", ";", "}", ""], "natrual_language": ["Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64AsmParser13", "Func": "dump", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8380, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "host_detect_local_cpu", "(", "int", "argc", ",", "const", "char", "*", "*", "argv", ")", "{", "const", "char", "*", "cpu", "=", "NULL", ";", "char", "*", "buf", "=", "NULL", ";", "kstat_ctl_t", "*", "kc", ";", "kstat_t", "*", "ksp", ";", "kstat_named_t", "*", "brand", "=", "NULL", ";", "char", "buf", "[", "128", "]", ";", "FILE", "*", "f", ";", "int", "i", ";", "if", "(", "argc", "<", "1", ")", "return", "NULL", ";", "if", "(", "strcmp", "(", "argv", "[", "0", "]", ",", "\"cpu\"", ")", "&&", "strcmp", "(", "argv", "[", "0", "]", ",", "\"tune\"", ")", ")", "return", "NULL", ";", "kc", "=", "kstat_open", "(", ")", ";", "if", "(", "kc", "!=", "NULL", ")", "{", "ksp", "=", "kstat_lookup", "(", "kc", ",", "CONST_CAST2", "(", "char", "*", ",", "const", "char", "*", ",", "\"cpu_info\"", ")", ",", "-", "1", ",", "NULL", ")", ";", "if", "(", "ksp", "!=", "NULL", "&&", "kstat_read", "(", "kc", ",", "ksp", ",", "NULL", ")", "!=", "-", "1", "&&", "ksp", "->", "ks_type", "==", "KSTAT_TYPE_NAMED", ")", "brand", "=", "(", "kstat_named_t", "*", ")", "kstat_data_lookup", "(", "ksp", ",", "CONST_CAST2", "(", "char", "*", ",", "const", "char", "*", ",", "\"brand\"", ")", ")", ";", "if", "(", "brand", "==", "NULL", ")", "brand", "=", "(", "kstat_named_t", "*", ")", "kstat_data_lookup", "(", "ksp", ",", "CONST_CAST2", "(", "char", "*", ",", "const", "char", "*", ",", "\"implementation\"", ")", ")", ";", "if", "(", "brand", "!=", "NULL", "&&", "brand", "->", "data_type", "==", "KSTAT_DATA_STRING", ")", "buf", "=", "KSTAT_NAMED_STR_PTR", "(", "brand", ")", ";", "if", "(", "brand", "!=", "NULL", "&&", "brand", "->", "data_type", "==", "KSTAT_DATA_CHAR", ")", "buf", "=", "brand", "->", "value", ".", "c", ";", "}", "kstat_close", "(", "kc", ")", ";", "for", "(", "i", "=", "0", ";", "cpu_names", "[", "i", "]", ".", "name", "!=", "NULL", ";", "i", "++", ")", "if", "(", "strcmp", "(", "buf", ",", "cpu_names", "[", "i", "]", ".", "name", ")", "==", "0", ")", "cpu", "=", "cpu_names", "[", "i", "]", ".", "cpu", ";", "f", "=", "fopen", "(", "\"/proc/cpuinfo\"", ",", "\"r\"", ")", ";", "if", "(", "f", "==", "NULL", ")", "return", "NULL", ";", "while", "(", "fgets", "(", "buf", ",", "sizeof", "(", "buf", ")", ",", "f", ")", "!=", "NULL", ")", "if", "(", "strncmp", "(", "buf", ",", "\"cpu\\t\\t:\"", ",", "sizeof", "(", "\"cpu\\t\\t:\"", ")", "-", "1", ")", "==", "0", ")", "{", "for", "(", "i", "=", "0", ";", "cpu_names", "[", "i", "]", ".", "name", ";", "i", "++", ")", "if", "(", "strstr", "(", "buf", ",", "cpu_names", "[", "i", "]", ".", "name", ")", "!=", "NULL", ")", "{", "cpu", "=", "cpu_names", "[", "i", "]", ".", "cpu", ";", "break", ";", "}", "break", ";", "}", "fclose", "(", "f", ")", ";", "if", "(", "cpu", "==", "NULL", ")", "return", "NULL", ";", "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": ["sparc", "128", "1", "0", "\"cpu\"", "0", "\"tune\"", "\"cpu_info\"", "1", "1", "\"brand\"", "\"implementation\"", "0", "0", "\"/proc/cpuinfo\"", "\"r\"", "\"cpu\\t\\t:\"", "\"cpu\\t\\t:\"", "1", "0", "0", "\"-m\"", "0", "\"=\""], "File": "driver-sparc2", "Func": "host_detect_local_cpu", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8381, "Length": 423, "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", "(", "!", "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"], "File": "X86ATTInstPrinter (2)", "Func": "printInst", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8382, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "PPCRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AnyReg", ")", "{", "if", "(", "Subtarget", ".", "hasVSX", "(", ")", ")", "return", "CSR_64_AllRegs_VSX_SaveList", ";", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "CSR_64_AllRegs_Altivec_SaveList", ";", "return", "CSR_64_AllRegs_SaveList", ";", "}", "if", "(", "TM", ".", "isPPC64", "(", ")", "&&", "MF", "->", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", "->", "isSplitCSR", "(", ")", ")", "return", "CSR_SRV464_TLS_PE_SaveList", ";", "bool", "SaveR2", "=", "MF", "->", "getRegInfo", "(", ")", ".", "isAllocatable", "(", "PPC", "::", "X2", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "Cold", ")", "{", "if", "(", "TM", ".", "isPPC64", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "SaveR2", "?", "CSR_SVR64_ColdCC_R2_Altivec_SaveList", ":", "CSR_SVR64_ColdCC_Altivec_SaveList", ";", "return", "SaveR2", "?", "CSR_SVR64_ColdCC_R2_SaveList", ":", "CSR_SVR64_ColdCC_SaveList", ";", "}", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "CSR_SVR32_ColdCC_Altivec_SaveList", ";", "else", "if", "(", "Subtarget", ".", "hasSPE", "(", ")", ")", "return", "CSR_SVR32_ColdCC_SPE_SaveList", ";", "return", "CSR_SVR32_ColdCC_SaveList", ";", "}", "if", "(", "TM", ".", "isPPC64", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "SaveR2", "?", "CSR_SVR464_R2_Altivec_SaveList", ":", "CSR_SVR464_Altivec_SaveList", ";", "return", "SaveR2", "?", "CSR_SVR464_R2_SaveList", ":", "CSR_SVR464_SaveList", ";", "}", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "CSR_SVR432_Altivec_SaveList", ";", "else", "if", "(", "Subtarget", ".", "hasSPE", "(", ")", ")", "return", "CSR_SVR432_SPE_SaveList", ";", "return", "CSR_SVR432_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC::X2", "PPC", "PPC"], "File": "PPCRegisterInfo11", "Func": "getCalleeSavedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8383, "Length": 246, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pa_add_gc_roots", "(", ")", "{", "ggc_add_rtx_root", "(", "&", "hppa_compare_op0", ",", "1", ")", ";", "ggc_add_rtx_root", "(", "&", "hppa_compare_op1", ",", "1", ")", ";", "ggc_add_root", "(", "&", "deferred_plabels", ",", "1", ",", "sizeof", "(", "&", "deferred_plabels", ")", ",", "&", "mark_deferred_plabels", ")", ";", "}", ""], "natrual_language": ["Called", "to", "register", "all", "of", "our", "global", "variables", "with", "the", "garbage", "collector", "."], "TS_V_token": ["pa", "1", "1", "1"], "File": "pa2", "Func": "pa_add_gc_roots", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8384, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "SparcTargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "LLT", "VT", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "Register", "Reg", "=", "StringSwitch", "<", "Register", ">", "(", "RegName", ")", ".", "Case", "(", "\"i0\"", ",", "SP", "::", "I0", ")", ".", "Case", "(", "\"i1\"", ",", "SP", "::", "I1", ")", ".", "Case", "(", "\"i2\"", ",", "SP", "::", "I2", ")", ".", "Case", "(", "\"i3\"", ",", "SP", "::", "I3", ")", ".", "Case", "(", "\"i4\"", ",", "SP", "::", "I4", ")", ".", "Case", "(", "\"i5\"", ",", "SP", "::", "I5", ")", ".", "Case", "(", "\"i6\"", ",", "SP", "::", "I6", ")", ".", "Case", "(", "\"i7\"", ",", "SP", "::", "I7", ")", ".", "Case", "(", "\"o0\"", ",", "SP", "::", "O0", ")", ".", "Case", "(", "\"o1\"", ",", "SP", "::", "O1", ")", ".", "Case", "(", "\"o2\"", ",", "SP", "::", "O2", ")", ".", "Case", "(", "\"o3\"", ",", "SP", "::", "O3", ")", ".", "Case", "(", "\"o4\"", ",", "SP", "::", "O4", ")", ".", "Case", "(", "\"o5\"", ",", "SP", "::", "O5", ")", ".", "Case", "(", "\"o6\"", ",", "SP", "::", "O6", ")", ".", "Case", "(", "\"o7\"", ",", "SP", "::", "O7", ")", ".", "Case", "(", "\"l0\"", ",", "SP", "::", "L0", ")", ".", "Case", "(", "\"l1\"", ",", "SP", "::", "L1", ")", ".", "Case", "(", "\"l2\"", ",", "SP", "::", "L2", ")", ".", "Case", "(", "\"l3\"", ",", "SP", "::", "L3", ")", ".", "Case", "(", "\"l4\"", ",", "SP", "::", "L4", ")", ".", "Case", "(", "\"l5\"", ",", "SP", "::", "L5", ")", ".", "Case", "(", "\"l6\"", ",", "SP", "::", "L6", ")", ".", "Case", "(", "\"l7\"", ",", "SP", "::", "L7", ")", ".", "Case", "(", "\"g0\"", ",", "SP", "::", "G0", ")", ".", "Case", "(", "\"g1\"", ",", "SP", "::", "G1", ")", ".", "Case", "(", "\"g2\"", ",", "SP", "::", "G2", ")", ".", "Case", "(", "\"g3\"", ",", "SP", "::", "G3", ")", ".", "Case", "(", "\"g4\"", ",", "SP", "::", "G4", ")", ".", "Case", "(", "\"g5\"", ",", "SP", "::", "G5", ")", ".", "Case", "(", "\"g6\"", ",", "SP", "::", "G6", ")", ".", "Case", "(", "\"g7\"", ",", "SP", "::", "G7", ")", ".", "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": ["Sparc", "Sparc", "\"i0\"", "SP::I0", "\"i1\"", "SP::I1", "\"i2\"", "SP::I2", "\"i3\"", "SP::I3", "\"i4\"", "SP::I4", "\"i5\"", "SP::I5", "\"i6\"", "SP::I6", "\"i7\"", "SP::I7", "\"o0\"", "SP::O0", "\"o1\"", "SP::O1", "\"o2\"", "SP::O2", "\"o3\"", "SP::O3", "\"o4\"", "SP::O4", "\"o5\"", "SP::O5", "\"o6\"", "SP::O6", "\"o7\"", "SP::O7", "\"l0\"", "SP::L0", "\"l1\"", "SP::L1", "\"l2\"", "SP::L2", "\"l3\"", "SP::L3", "\"l4\"", "SP::L4", "\"l5\"", "SP::L5", "\"l6\"", "SP::L6", "\"l7\"", "SP::L7", "\"g0\"", "SP::G0", "\"g1\"", "SP::G1", "\"g2\"", "SP::G2", "\"g3\"", "SP::G3", "\"g4\"", "SP::G4", "\"g5\"", "SP::G5", "\"g6\"", "SP::G6", "\"g7\"", "SP::G7", "0", "\"Invalid register name global variable\""], "File": "SparcISelLowering12", "Func": "getRegisterByName", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8385, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "XNCMRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "XNCM", "::", "IP", ")", ";", "Reserved", ".", "set", "(", "XNCM", "::", "SP", ")", ";", "Reserved", ".", "set", "(", "XNCM", "::", "LR", ")", ";", "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": ["XNCM", "XNCM", "XNCM::IP", "XNCM::SP", "XNCM::LR"], "File": "XNCMRegisterInfo", "Func": "getReservedRegs", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8386, "Length": 51, "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", "::", "LD", ")", "||", "(", "Opc", "==", "Mips", "::", "LWC1", ")", "||", "(", "Opc", "==", "Mips", "::", "LDC1", ")", "||", "(", "Opc", "==", "Mips", "::", "LDC164", ")", ")", "{", "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::LD", "Mips::LWC1", "Mips::LDC1", "Mips::LDC164", "1", "2", "2", "1", "0", "0"], "File": "MipsSEInstrInfo15", "Func": "isLoadFromStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8387, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addIRPasses", "(", ")", "{", "if", "(", "getARMSubtarget", "(", ")", ".", "isTargetNaCl", "(", ")", ")", "addPass", "(", "createInsertDivideCheckPass", "(", ")", ")", ";", "if", "(", "TM", "->", "Options", ".", "ThreadModel", "==", "ThreadModel", "::", "Single", ")", "addPass", "(", "createLowerAtomicPass", "(", ")", ")", ";", "else", "addPass", "(", "createAtomicExpandPass", "(", "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", "ARM"], "File": "ARMTargetMachine90", "Func": "addIRPasses", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8388, "Length": 105, "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": 8389, "Length": 266, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"SHUXI DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["SHUXI", "\"SHUXI DAG->DAG Pattern Instruction Selection\""], "File": "SHUXIISelDAGToDAG", "Func": "getPassName", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8390, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "reg_plus_index_p", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "bool", "strict", ")", "{", "rtx", "xfoo0", ",", "xfoo1", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "PLUS", ")", "return", "false", ";", "xfoo0", "=", "XEXP", "(", "x", ",", "0", ")", ";", "xfoo1", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "BASE_REGISTER_P", "(", "xfoo0", ",", "strict", ")", "&&", "index_term_p", "(", "xfoo1", ",", "mode", ",", "strict", ")", ")", "return", "true", ";", "if", "(", "BASE_REGISTER_P", "(", "xfoo1", ",", "strict", ")", "&&", "index_term_p", "(", "xfoo0", ",", "mode", ",", "strict", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "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", "1"], "File": "vax", "Func": "reg_plus_index_p", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8391, "Length": 95, "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", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "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", ",", "getBaseRegister", "(", "MF", ")", ",", "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", "PPC", "PPC"], "File": "PPCRegisterInfo15", "Func": "needsFrameBaseReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8392, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "char", "*", "detect_caches_darwin", "(", "void", ")", "{", "unsigned", "l1_sizekb", ",", "l1_line", ",", "l1_assoc", ",", "l2_sizekb", ";", "size_t", "len", "=", "4", ";", "static", "int", "l1_size_name", "[", "2", "]", "=", "{", "CTL_HW", ",", "HW_L1DCACHESIZE", "}", ";", "static", "int", "l1_line_name", "[", "2", "]", "=", "{", "CTL_HW", ",", "HW_CACHELINE", "}", ";", "static", "int", "l2_size_name", "[", "2", "]", "=", "{", "CTL_HW", ",", "HW_L2CACHESIZE", "}", ";", "sysctl", "(", "l1_size_name", ",", "2", ",", "&", "l1_sizekb", ",", "&", "len", ",", "NULL", ",", "0", ")", ";", "sysctl", "(", "l1_line_name", ",", "2", ",", "&", "l1_line", ",", "&", "len", ",", "NULL", ",", "0", ")", ";", "sysctl", "(", "l2_size_name", ",", "2", ",", "&", "l2_sizekb", ",", "&", "len", ",", "NULL", ",", "0", ")", ";", "l1_assoc", "=", "0", ";", "return", "describe_cache", "(", "l1_sizekb", "/", "1024", ",", "l1_line", ",", "l1_assoc", ",", "l2_sizekb", "/", "1024", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "description", "of", "caches", "on", "Darwin", "."], "TS_V_token": ["rs6000", "4", "2", "2", "2", "2", "0", "2", "0", "2", "0", "0", "1024", "1024"], "File": "driver-rs6000", "Func": "detect_caches_darwin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8393, "Length": 133, "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": 8394, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mayAlias", "(", "MachineInstr", "&", "MIa", ",", "SmallVectorImpl", "<", "MachineInstr", "*", ">", "&", "MemInsns", ",", "const", "AArch64InstrInfo", "*", "TII", ")", "{", "for", "(", "MachineInstr", "*", "MIb", ":", "MemInsns", ")", "if", "(", "mayAlias", "(", "MIa", ",", "*", "MIb", ",", "TII", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "this", "instruction", "'s", "memory", "access", "aliases", "the", "memory", "access", "of", "Other", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64LoadStoreOptimizer", "Func": "mayAlias", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8395, "Length": 49, "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": 8396, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SystemZInstrInfo", "::", "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", "->", "isBranch", "(", ")", ")", "break", ";", "if", "(", "!", "getBranchInfo", "(", "*", "I", ")", ".", "hasMBBTarget", "(", ")", ")", "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": ["SystemZ", "SystemZ", "\"code size not handled\"", "0"], "File": "SystemZInstrInfo16", "Func": "removeBranch", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8397, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SHUXIInstrInfo", "::", "reverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "assert", "(", "Cond", ".", "size", "(", ")", "==", "1", "&&", "\"Invalid Xbranch condition!\"", ")", ";", "SHUXICC", "::", "CondCodes", "CC", "=", "static_cast", "<", "SHUXICC", "::", "CondCodes", ">", "(", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ")", ";", "switch", "(", "CC", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Invalid branch condition!\"", ")", ";", "case", "SHUXICC", "::", "COND_C", ":", "CC", "=", "SHUXICC", "::", "COND_NC", ";", "break", ";", "case", "SHUXICC", "::", "COND_N", ":", "CC", "=", "SHUXICC", "::", "COND_NN", ";", "break", ";", "case", "SHUXICC", "::", "COND_V", ":", "CC", "=", "SHUXICC", "::", "COND_NV", ";", "break", ";", "case", "SHUXICC", "::", "COND_Z", ":", "CC", "=", "SHUXICC", "::", "COND_NZ", ";", "break", ";", "case", "SHUXICC", "::", "COND_GE", ":", "CC", "=", "SHUXICC", "::", "COND_L", ";", "break", ";", "case", "SHUXICC", "::", "COND_NC", ":", "CC", "=", "SHUXICC", "::", "COND_C", ";", "break", ";", "case", "SHUXICC", "::", "COND_NN", ":", "CC", "=", "SHUXICC", "::", "COND_N", ";", "break", ";", "case", "SHUXICC", "::", "COND_NV", ":", "CC", "=", "SHUXICC", "::", "COND_V", ";", "break", ";", "case", "SHUXICC", "::", "COND_NZ", ":", "CC", "=", "SHUXICC", "::", "COND_Z", ";", "break", ";", "case", "SHUXICC", "::", "COND_L", ":", "CC", "=", "SHUXICC", "::", "COND_GE", ";", "break", ";", "}", "Cond", "[", "0", "]", ".", "setImm", "(", "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": ["SHUXI", "SHUXI", "1", "\"Invalid Xbranch condition!\"", "SHUXICC::CondCodes", "SHUXICC::CondCodes", "0", "\"Invalid branch condition!\"", "SHUXICC::COND_C", "SHUXICC::COND_NC", "SHUXICC::COND_N", "SHUXICC::COND_NN", "SHUXICC::COND_V", "SHUXICC::COND_NV", "SHUXICC::COND_Z", "SHUXICC::COND_NZ", "SHUXICC::COND_GE", "SHUXICC::COND_L", "SHUXICC::COND_NC", "SHUXICC::COND_C", "SHUXICC::COND_NN", "SHUXICC::COND_N", "SHUXICC::COND_NV", "SHUXICC::COND_V", "SHUXICC::COND_NZ", "SHUXICC::COND_Z", "SHUXICC::COND_L", "SHUXICC::COND_GE", "0"], "File": "SHUXIInstrInfo", "Func": "reverseBranchCondition", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8398, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "ARMBaseInstrInfo", "::", "optimizeSelect", "(", "MachineInstr", "*", "MI", ",", "bool", "PreferFalse", ")", "const", "{", "assert", "(", "(", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "MOVCCr", "||", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2MOVCCr", ")", "&&", "\"Unknown select instruction\"", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MachineInstr", "*", "DefMI", "=", "canFoldIntoMOVCC", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ",", "MRI", ",", "this", ")", ";", "bool", "Invert", "=", "!", "DefMI", ";", "if", "(", "!", "DefMI", ")", "DefMI", "=", "canFoldIntoMOVCC", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ",", "MRI", ",", "this", ")", ";", "if", "(", "!", "DefMI", ")", "return", "0", ";", "MachineInstrBuilder", "NewMI", "=", "BuildMI", "(", "*", "MI", "->", "getParent", "(", ")", ",", "MI", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "DefMI", "->", "getDesc", "(", ")", ",", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ";", "const", "MCInstrDesc", "&", "DefDesc", "=", "DefMI", "->", "getDesc", "(", ")", ";", "for", "(", "unsigned", "i", "=", "1", ",", "e", "=", "DefDesc", ".", "getNumOperands", "(", ")", ";", "i", "!=", "e", "&&", "!", "DefDesc", ".", "OpInfo", "[", "i", "]", ".", "isPredicate", "(", ")", ";", "++", "i", ")", "NewMI", ".", "addOperand", "(", "DefMI", "->", "getOperand", "(", "i", ")", ")", ";", "unsigned", "CondCode", "=", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "if", "(", "Invert", ")", "NewMI", ".", "addImm", "(", "ARMCC", "::", "getOppositeCondition", "(", "ARMCC", "::", "CondCodes", "(", "CondCode", ")", ")", ")", ";", "else", "NewMI", ".", "addImm", "(", "CondCode", ")", ";", "NewMI", ".", "addOperand", "(", "MI", "->", "getOperand", "(", "4", ")", ")", ";", "if", "(", "NewMI", "->", "hasOptionalDef", "(", ")", ")", "AddDefaultCC", "(", "NewMI", ")", ";", "MachineOperand", "FalseReg", "=", "MI", "->", "getOperand", "(", "Invert", "?", "2", ":", "1", ")", ";", "FalseReg", ".", "setImplicit", "(", ")", ";", "NewMI", "->", "addOperand", "(", "FalseReg", ")", ";", "NewMI", "->", "tieOperands", "(", "0", ",", "NewMI", "->", "getNumOperands", "(", ")", "-", "1", ")", ";", "DefMI", "->", "eraseFromParent", "(", ")", ";", "return", "NewMI", ";", "}", ""], "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": ["ARM", "ARM", "ARM::MOVCCr", "ARM::t2MOVCCr", "\"Unknown select instruction\"", "2", "1", "0", "0", "1", "3", "ARMCC::getOppositeCondition", "ARMCC::CondCodes", "4", "2", "1", "0", "1"], "File": "ARMBaseInstrInfo101", "Func": "optimizeSelect", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8399, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "TOYTargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InGlue", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "SDLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "assert", "(", "!", "isVarArg", "&&", "\"Unsupported\"", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_TOY", ")", ";", "for", "(", "auto", "&", "Loc", ":", "RVLocs", ")", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "Loc", ".", "getLocReg", "(", ")", ",", "Loc", ".", "getValVT", "(", ")", ",", "InGlue", ")", ".", "getValue", "(", "1", ")", ";", "InGlue", "=", "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": ["TOY", "TOY", "ISD::InputArg", "\"Unsupported\"", "16", "TOY", "1", "2", "0"], "File": "TOYISelLowering1", "Func": "LowerCallResult", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8400, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMAsmParser", "::", "checkTargetMatchPredicate", "(", "MCInst", "&", "Inst", ")", "{", "unsigned", "Opc", "=", "Inst", ".", "getOpcode", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "MII", ".", "get", "(", "Opc", ")", ";", "if", "(", "MCID", ".", "TSFlags", "&", "ARMII", "::", "ThumbArithFlagSetting", ")", "{", "assert", "(", "MCID", ".", "hasOptionalDef", "(", ")", "&&", "\"optionally flag setting instruction missing optional def operand\"", ")", ";", "assert", "(", "MCID", ".", "NumOperands", "==", "Inst", ".", "getNumOperands", "(", ")", "&&", "\"operand count mismatch!\"", ")", ";", "unsigned", "OpNo", ";", "for", "(", "OpNo", "=", "0", ";", "!", "MCID", ".", "OpInfo", "[", "OpNo", "]", ".", "isOptionalDef", "(", ")", "&&", "OpNo", "<", "MCID", ".", "NumOperands", ";", "++", "OpNo", ")", ";", "if", "(", "isThumbOne", "(", ")", "&&", "Inst", ".", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", "!=", "ARM", "::", "CPSR", ")", "return", "Match_MnemonicFail", ";", "if", "(", "isThumbTwo", "(", ")", "&&", "Inst", ".", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", "!=", "ARM", "::", "CPSR", "&&", "!", "inITBlock", "(", ")", ")", "return", "Match_RequiresITBlock", ";", "if", "(", "isThumbTwo", "(", ")", "&&", "Inst", ".", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", "==", "ARM", "::", "CPSR", "&&", "inITBlock", "(", ")", ")", "return", "Match_RequiresNotITBlock", ";", "}", "else", "if", "(", "Opc", "==", "ARM", "::", "tADDhirr", "&&", "isThumbOne", "(", ")", "&&", "isARMLowRegister", "(", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", "&&", "isARMLowRegister", "(", "Inst", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ")", "return", "Match_RequiresThumb2", ";", "else", "if", "(", "Opc", "==", "ARM", "::", "tMOVr", "&&", "isThumbOne", "(", ")", "&&", "!", "hasV6Ops", "(", ")", "&&", "isARMLowRegister", "(", "Inst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", "&&", "isARMLowRegister", "(", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ")", "return", "Match_RequiresV6", ";", "return", "Match_Success", ";", "}", ""], "natrual_language": ["checkTargetMatchPredicate", "-", "Validate", "the", "instruction", "match", "against", "any", "complex", "target", "predicates", "not", "expressible", "via", "match", "classes", "."], "TS_V_token": ["ARM", "ARM", "ARMII::ThumbArithFlagSetting", "\"optionally flag setting instruction missing optional def operand\"", "\"operand count mismatch!\"", "0", "ARM::CPSR", "ARM::CPSR", "ARM::CPSR", "ARM::tADDhirr", "ARM", "1", "ARM", "2", "ARM::tMOVr", "ARM", "0", "ARM", "1"], "File": "ARMAsmParser (2)", "Func": "checkTargetMatchPredicate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8401, "Length": 278, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{", "return", "createELFObjectWriter", "(", "createELFObjectTargetWriter", "(", ")", ",", "OS", ",", "true", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["Mips"], "File": "MipsAsmBackend6", "Func": "createObjectWriter", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8402, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isProfitableToIfCvt", "(", "MachineBasicBlock", "&", "TMBB", ",", "unsigned", "NumT", ",", "MachineBasicBlock", "&", "FMBB", ",", "unsigned", "NumF", ")", "const", "{", "return", "NumT", "&&", "NumF", "&&", "NumT", "<=", "2", "&&", "NumF", "<=", "2", ";", "}", ""], "natrual_language": ["Second", "variant", "of", "isProfitableToIfCvt", "."], "TS_V_token": ["ARM", "ARM", "2", "2"], "File": "ARMBaseInstrInfo43", "Func": "isProfitableToIfCvt", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8403, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PadShortFunc", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "OptForSize", "=", "MF", ".", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "OptimizeForSize", ")", ";", "if", "(", "OptForSize", ")", "return", "false", ";", "TM", "=", "&", "MF", ".", "getTarget", "(", ")", ";", "TII", "=", "TM", "->", "getInstrInfo", "(", ")", ";", "ReturnBBs", ".", "clear", "(", ")", ";", "findReturns", "(", "MF", ".", "begin", "(", ")", ")", ";", "bool", "MadeChange", "=", "false", ";", "MachineBasicBlock", "::", "iterator", "ReturnLoc", ";", "MachineBasicBlock", "*", "MBB", ";", "unsigned", "int", "Cycles", "=", "0", ";", "unsigned", "int", "BBCycles", ";", "for", "(", "DenseMap", "<", "MachineBasicBlock", "*", ",", "unsigned", "int", ">", "::", "iterator", "I", "=", "ReturnBBs", ".", "begin", "(", ")", ";", "I", "!=", "ReturnBBs", ".", "end", "(", ")", ";", "++", "I", ")", "{", "MBB", "=", "I", "->", "first", ";", "Cycles", "=", "I", "->", "second", ";", "if", "(", "Cycles", "<", "Threshold", ")", "{", "if", "(", "!", "cyclesUntilReturn", "(", "MBB", ",", "BBCycles", ",", "&", "ReturnLoc", ")", ")", "continue", ";", "addPadding", "(", "MBB", ",", "ReturnLoc", ",", "Threshold", "-", "Cycles", ")", ";", "NumBBsPadded", "++", ";", "MadeChange", "=", "true", ";", "}", "}", "return", "MadeChange", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "0"], "File": "X86PadShortFunction21", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8404, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "or1k_adjust_atomic_subword", "(", "rtx", "orig_mem", ",", "rtx", "*", "pshift", ",", "rtx", "*", "pmask", ")", "{", "rtx", "addr", ",", "align", ",", "shift", ",", "mask", ",", "mem", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "orig_mem", ")", ";", "addr", "=", "XEXP", "(", "orig_mem", ",", "0", ")", ";", "addr", "=", "force_reg", "(", "Pmode", ",", "addr", ")", ";", "align", "=", "expand_binop", "(", "Pmode", ",", "and_optab", ",", "addr", ",", "GEN_INT", "(", "-", "4", ")", ",", "NULL_RTX", ",", "1", ",", "OPTAB_LIB_WIDEN", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "SImode", ",", "align", ")", ";", "MEM_VOLATILE_P", "(", "mem", ")", "=", "MEM_VOLATILE_P", "(", "orig_mem", ")", ";", "if", "(", "MEM_ALIAS_SET", "(", "orig_mem", ")", "==", "ALIAS_SET_MEMORY_BARRIER", ")", "set_mem_alias_set", "(", "mem", ",", "ALIAS_SET_MEMORY_BARRIER", ")", ";", "rtx", "mode_mask", "=", "GEN_INT", "(", "mode", "==", "QImode", "?", "3", ":", "2", ")", ";", "shift", "=", "expand_binop", "(", "SImode", ",", "and_optab", ",", "gen_lowpart", "(", "SImode", ",", "addr", ")", ",", "mode_mask", ",", "NULL_RTX", ",", "1", ",", "OPTAB_LIB_WIDEN", ")", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "shift", "=", "expand_binop", "(", "SImode", ",", "xor_optab", ",", "shift", ",", "mode_mask", ",", "shift", ",", "1", ",", "OPTAB_LIB_WIDEN", ")", ";", "shift", "=", "expand_binop", "(", "SImode", ",", "ashl_optab", ",", "shift", ",", "GEN_INT", "(", "3", ")", ",", "shift", ",", "1", ",", "OPTAB_LIB_WIDEN", ")", ";", "*", "pshift", "=", "shift", ";", "mask", "=", "expand_binop", "(", "SImode", ",", "ashl_optab", ",", "GEN_INT", "(", "GET_MODE_MASK", "(", "mode", ")", ")", ",", "shift", ",", "NULL_RTX", ",", "1", ",", "OPTAB_LIB_WIDEN", ")", ";", "*", "pmask", "=", "mask", ";", "return", "mem", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "the", "various", "atomic", "expanders", ".", "For", "sub-word", "operations", ",", "we", "must", "adjust", "things", "to", "operate", "on", "SImode", ".", "Given", "the", "original", "MEM", ",", "return", "a", "new", "aligned", "memory", ".", "Also", "build", "and", "return", "the", "quantities", "by", "which", "to", "shift", "and", "mask", "."], "TS_V_token": ["or1k", "0", "4", "1", "3", "2", "1", "1", "3", "1", "1"], "File": "or1k", "Func": "or1k_adjust_atomic_subword", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8405, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_emit_swsqrtsf", "(", "rtx", "res", ",", "rtx", "a", ",", "machine_mode", "mode", ",", "bool", "recip", ")", "{", "rtx", "x0", ",", "e0", ",", "e1", ",", "e2", ",", "e3", ",", "mthree", ",", "mhalf", ";", "REAL_VALUE_TYPE", "r", ";", "int", "unspec", ";", "x0", "=", "gen_reg_rtx", "(", "mode", ")", ";", "e0", "=", "gen_reg_rtx", "(", "mode", ")", ";", "e1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "e2", "=", "gen_reg_rtx", "(", "mode", ")", ";", "e3", "=", "gen_reg_rtx", "(", "mode", ")", ";", "real_from_integer", "(", "&", "r", ",", "VOIDmode", ",", "-", "3", ",", "SIGNED", ")", ";", "mthree", "=", "const_double_from_real_value", "(", "r", ",", "SFmode", ")", ";", "real_arithmetic", "(", "&", "r", ",", "NEGATE_EXPR", ",", "&", "dconsthalf", ",", "NULL", ")", ";", "mhalf", "=", "const_double_from_real_value", "(", "r", ",", "SFmode", ")", ";", "unspec", "=", "UNSPEC_RSQRT", ";", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", ")", "{", "mthree", "=", "ix86_build_const_vector", "(", "mode", ",", "true", ",", "mthree", ")", ";", "mhalf", "=", "ix86_build_const_vector", "(", "mode", ",", "true", ",", "mhalf", ")", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "64", ")", "unspec", "=", "UNSPEC_RSQRT14", ";", "}", "a", "=", "force_reg", "(", "mode", ",", "a", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "x0", ",", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "1", ",", "a", ")", ",", "unspec", ")", ")", ")", ";", "if", "(", "!", "recip", ")", "{", "rtx", "zero", "=", "force_reg", "(", "mode", ",", "CONST0_RTX", "(", "mode", ")", ")", ";", "rtx", "mask", ";", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "==", "64", ")", "{", "mask", "=", "gen_reg_rtx", "(", "HImode", ")", ";", "emit_insn", "(", "gen_avx512f_cmpv16sf3", "(", "mask", ",", "zero", ",", "a", ",", "GEN_INT", "(", "0x4", ")", ")", ")", ";", "emit_insn", "(", "gen_avx512f_blendmv16sf", "(", "x0", ",", "zero", ",", "x0", ",", "mask", ")", ")", ";", "}", "else", "{", "mask", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "mask", ",", "gen_rtx_NE", "(", "mode", ",", "zero", ",", "a", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "x0", ",", "gen_rtx_AND", "(", "mode", ",", "x0", ",", "mask", ")", ")", ")", ";", "}", "}", "emit_insn", "(", "gen_rtx_SET", "(", "e0", ",", "gen_rtx_MULT", "(", "mode", ",", "x0", ",", "a", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "e1", ",", "gen_rtx_MULT", "(", "mode", ",", "e0", ",", "x0", ")", ")", ")", ";", "mthree", "=", "force_reg", "(", "mode", ",", "mthree", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "e2", ",", "gen_rtx_PLUS", "(", "mode", ",", "e1", ",", "mthree", ")", ")", ")", ";", "mhalf", "=", "force_reg", "(", "mode", ",", "mhalf", ")", ";", "if", "(", "recip", ")", "emit_insn", "(", "gen_rtx_SET", "(", "e3", ",", "gen_rtx_MULT", "(", "mode", ",", "x0", ",", "mhalf", ")", ")", ")", ";", "else", "emit_insn", "(", "gen_rtx_SET", "(", "e3", ",", "gen_rtx_MULT", "(", "mode", ",", "e0", ",", "mhalf", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "res", ",", "gen_rtx_MULT", "(", "mode", ",", "e2", ",", "e3", ")", ")", ")", ";", "}", ""], "natrual_language": ["Output", "code", "to", "perform", "a", "Newton-Rhapson", "approximation", "of", "a", "single", "precision", "floating", "point", "[", "reciprocal", "]", "square", "root", "."], "TS_V_token": ["i386", "3", "64", "1", "64", "0x4"], "File": "i3865", "Func": "ix86_emit_swsqrtsf", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8406, "Length": 442, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"MIPS16 Hard Float Pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"MIPS16 Hard Float Pass\""], "File": "Mips16HardFloat", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8407, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_secondary_reload_gpr", "(", "rtx", "reg", ",", "rtx", "mem", ",", "rtx", "scratch", ",", "bool", "store_p", ")", "{", "int", "regno", "=", "true_regnum", "(", "reg", ")", ";", "enum", "reg_class", "rclass", ";", "rtx", "addr", ";", "rtx", "scratch_or_premodify", "=", "scratch", ";", "if", "(", "TARGET_DEBUG_ADDR", ")", "{", "fprintf", "(", "stderr", ",", "\"\\nrs6000_secondary_reload_gpr, type = %s\\n\"", ",", "store_p", "?", "\"store\"", ":", "\"load\"", ")", ";", "fprintf", "(", "stderr", ",", "\"reg:\\n\"", ")", ";", "debug_rtx", "(", "reg", ")", ";", "fprintf", "(", "stderr", ",", "\"mem:\\n\"", ")", ";", "debug_rtx", "(", "mem", ")", ";", "fprintf", "(", "stderr", ",", "\"scratch:\\n\"", ")", ";", "debug_rtx", "(", "scratch", ")", ";", "}", "gcc_assert", "(", "regno", ">=", "0", "&&", "HARD_REGISTER_NUM_P", "(", "regno", ")", ")", ";", "gcc_assert", "(", "MEM_P", "(", "mem", ")", ")", ";", "rclass", "=", "REGNO_REG_CLASS", "(", "regno", ")", ";", "gcc_assert", "(", "rclass", "==", "GENERAL_REGS", "||", "rclass", "==", "BASE_REGS", ")", ";", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PRE_MODIFY", ")", "{", "gcc_assert", "(", "REG_P", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "&&", "GET_CODE", "(", "XEXP", "(", "addr", ",", "1", ")", ")", "==", "PLUS", "&&", "XEXP", "(", "XEXP", "(", "addr", ",", "1", ")", ",", "0", ")", "==", "XEXP", "(", "addr", ",", "0", ")", ")", ";", "scratch_or_premodify", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "addr", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "}", "gcc_assert", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", "||", "GET_CODE", "(", "addr", ")", "==", "LO_SUM", ")", ";", "rs6000_emit_move", "(", "scratch_or_premodify", ",", "addr", ",", "Pmode", ")", ";", "mem", "=", "replace_equiv_address_nv", "(", "mem", ",", "scratch_or_premodify", ")", ";", "if", "(", "store_p", ")", "emit_insn", "(", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ")", ";", "else", "emit_insn", "(", "gen_rtx_SET", "(", "reg", ",", "mem", ")", ")", ";", "return", ";", "}", ""], "natrual_language": ["Convert", "reloads", "involving", "64-bit", "gprs", "and", "misaligned", "offset", "addressing", ",", "or", "multiple", "32-bit", "gprs", "and", "offsets", "that", "are", "too", "large", ",", "to", "use", "indirect", "addressing", "."], "TS_V_token": ["rs6000", "\"\\nrs6000_secondary_reload_gpr, type = %s\\n\"", "\"store\"", "\"load\"", "\"reg:\\n\"", "\"mem:\\n\"", "\"scratch:\\n\"", "0", "0", "0", "1", "1", "0", "0", "0", "1"], "File": "rs6000", "Func": "rs6000_secondary_reload_gpr", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8408, "Length": 274, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "Cpu0TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "StringRef", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'r'", ":", "if", "(", "VT", "==", "MVT", "::", "i32", "||", "VT", "==", "MVT", "::", "i16", "||", "VT", "==", "MVT", "::", "i8", ")", "{", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Cpu0", "::", "CPURegsRegClass", ")", ";", "}", "if", "(", "VT", "==", "MVT", "::", "i64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Cpu0", "::", "CPURegsRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0u", ",", "static_cast", "<", "const", "TargetRegisterClass", "*", ">", "(", "0", ")", ")", ";", "case", "'c'", ":", "if", "(", "VT", "==", "MVT", "::", "i32", ")", "return", "std", "::", "make_pair", "(", "(", "unsigned", ")", "Cpu0", "::", "T9", ",", "&", "Cpu0", "::", "CPURegsRegClass", ")", ";", "assert", "(", "\"Unexpected type.\"", ")", ";", "}", "}", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "R", ";", "R", "=", "parseRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "if", "(", "R", ".", "second", ")", "return", "R", ";", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "TRI", ",", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["Cpu0", "Cpu0", "1", "0", "MVT::i32", "MVT::i16", "MVT::i8", "0U", "Cpu0::CPURegsRegClass", "MVT::i64", "0U", "Cpu0::CPURegsRegClass", "0u", "0", "MVT::i32", "Cpu0::T9", "Cpu0::CPURegsRegClass", "\"Unexpected type.\""], "File": "Cpu0ISelLowering", "Func": "getRegForInlineAsmConstraint", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8409, "Length": 202, "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": 8410, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "shouldFormOverflowOp", "(", "unsigned", "Opcode", ",", "EVT", "VT", ",", "bool", "MathUsed", ")", "const", "override", "{", "return", "TargetLowering", "::", "shouldFormOverflowOp", "(", "Opcode", ",", "VT", ",", "true", ")", ";", "}", ""], "natrual_language": ["Overflow", "nodes", "should", "get", "combined/lowered", "to", "optimal", "instructions", "(", "they", "should", "allow", "eliminating", "explicit", "compares", "by", "getting", "flags", "from", "math", "ops", ")", "."], "TS_V_token": ["SystemZ"], "File": "SystemZISelLowering41", "Func": "shouldFormOverflowOp", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8411, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "gen_stack_pointer_dec", "(", "rtx", "decrement", ")", "{", "return", "gen_rtx_SET", "(", "VOIDmode", ",", "stack_pointer_rtx", ",", "gen_rtx_MINUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "decrement", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "a", "decrement", "for", "the", "stack", "pointer", "."], "TS_V_token": ["sparc"], "File": "sparc3", "Func": "gen_stack_pointer_dec", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8412, "Length": 26, "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": ["VE"], "File": "VEAsmParser (2)", "Func": "getStartLoc", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8413, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "xstormy16_expand_arith", "(", "machine_mode", "mode", ",", "enum", "rtx_code", "code", ",", "rtx", "dest", ",", "rtx", "src0", ",", "rtx", "src1", ")", "{", "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", "&&", "CONST_INT_P", "(", "w_src1", ")", "&&", "INTVAL", "(", "w_src1", ")", "==", "0", ")", "continue", ";", "if", "(", "firstloop", ")", "insn", "=", "gen_addchi4", "(", "w_dest", ",", "w_src0", ",", "w_src1", ")", ";", "else", "insn", "=", "gen_addchi5", "(", "w_dest", ",", "w_src0", ",", "w_src1", ")", ";", "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", ",", "gen_rtx_REG", "(", "BImode", ",", "CARRY_REGNUM", ")", ")", ")", ";", "sub", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "w_dest", ",", "gen_rtx_MINUS", "(", "HImode", ",", "sub_1", ",", "w_src1", ")", ")", ";", "clobber", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "BImode", ",", "CARRY_REGNUM", ")", ")", ";", "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", "&&", "CONST_INT_P", "(", "w_src1", ")", "&&", "INTVAL", "(", "w_src1", ")", "==", "0", ")", "continue", ";", "else", "if", "(", "firstloop", ")", "insn", "=", "gen_subchi4", "(", "w_dest", ",", "w_src0", ",", "w_src1", ")", ";", "else", "insn", "=", "gen_subchi5", "(", "w_dest", ",", "w_src0", ",", "w_src1", ")", ";", "break", ";", "case", "IOR", ":", "case", "XOR", ":", "case", "AND", ":", "if", "(", "CONST_INT_P", "(", "w_src1", ")", "&&", "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": "stormy164", "Func": "xstormy16_expand_arith", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8414, "Length": 460, "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_BSWAP", ":", "return", "legalizeBSwap", "(", "MI", ",", "MRI", ",", "MIRBuilder", ")", ";", "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": "AArch64LegalizerInfo33", "Func": "legalizeCustom", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8415, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CJGMCCodeEmitter", "::", "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": ["CJG", "CJG", "4", "\"Unexpected instruction size!\""], "File": "CJGMCCodeEmitter", "Func": "encodeInstruction", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8416, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "TeeRISCRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "static", "const", "uint16_t", "CalleeSavedRegs", "[", "]", "=", "{", "TeeRISC", "::", "R6", ",", "TeeRISC", "::", "R7", ",", "TeeRISC", "::", "R8", ",", "TeeRISC", "::", "R9", ",", "TeeRISC", "::", "R10", "}", ";", "return", "CalleeSavedRegs", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["TeeRISC", "TeeRISC", "TeeRISC::R6", "TeeRISC::R7", "TeeRISC::R8", "TeeRISC::R9", "TeeRISC::R10"], "File": "TeeRISCRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8417, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pa_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_64BIT", ")", "return", "false", ";", "if", "(", "TARGET_PORTABLE_RUNTIME", ")", "return", "false", ";", "return", "decl", "&&", "targetm", ".", "binds_local_p", "(", "decl", ")", ";", "}", ""], "natrual_language": ["Only", "direct", "calls", "to", "static", "functions", "are", "allowed", "to", "be", "sibling", "(", "tail", ")", "call", "optimized", ".", "This", "restriction", "is", "necessary", "because", "some", "linker", "generated", "stubs", "will", "store", "return", "pointers", "into", "rp", "'", "in", "some", "cases", "which", "might", "clobber", "a", "live", "value", "already", "in", "rp", "'", ".", "In", "a", "sibcall", "the", "current", "function", "and", "the", "target", "function", "share", "stack", "space", ".", "Thus", "if", "the", "path", "to", "the", "current", "function", "and", "the", "path", "to", "the", "target", "function", "save", "a", "value", "in", "rp", "'", ",", "they", "save", "the", "value", "into", "the", "same", "stack", "slot", ",", "which", "has", "undesirable", "consequences", ".", "Because", "of", "the", "deferred", "binding", "nature", "of", "shared", "libraries", "any", "function", "with", "external", "scope", "could", "be", "in", "a", "different", "load", "module", "and", "thus", "require", "rp", "'", "to", "be", "saved", "when", "calling", "that", "function", ".", "So", "sibcall", "optimizations", "can", "only", "be", "safe", "for", "static", "function", ".", "Note", "that", "GCC", "never", "needs", "return", "value", "relocations", ",", "so", "we", "do", "n't", "have", "to", "worry", "about", "static", "calls", "with", "return", "value", "relocations", "(", "which", "require", "saving", "rp", "'", ")", ".", "It", "is", "safe", "to", "perform", "a", "sibcall", "optimization", "when", "the", "target", "function", "will", "never", "return", "."], "TS_V_token": ["pa"], "File": "pa", "Func": "pa_function_ok_for_sibcall", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8418, "Length": 37, "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": 8419, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "HOST_WIDE_INT", "sparc_asan_shadow_offset", "(", "void", ")", "{", "return", "TARGET_ARCH64", "?", "(", "HOST_WIDE_INT_1", "<<", "43", ")", ":", "(", "HOST_WIDE_INT_1", "<<", "29", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_ASAN_SHADOW_OFFSET", "hook", "."], "TS_V_token": ["sparc", "43", "29"], "File": "sparc", "Func": "sparc_asan_shadow_offset", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8420, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "X86DAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "unsigned", "GlobalBaseReg", "=", "getInstrInfo", "(", ")", "->", "getGlobalBaseReg", "(", "MF", ")", ";", "return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "TLI", "->", "getPointerTy", "(", ")", ")", ".", "getNode", "(", ")", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelDAGToDAG110", "Func": "getGlobalBaseReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8421, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CJGInstrInfo", "::", "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", "->", "isDebugValue", "(", ")", ")", "continue", ";", "if", "(", "!", "isUnpredicatedTerminator", "(", "*", "I", ")", ")", "break", ";", "if", "(", "!", "I", "->", "isBranch", "(", ")", ")", "return", "true", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "CJG", "::", "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", "(", ")", "==", "CJG", "::", "JCC", "&&", "\"Invalid conditional branch\"", ")", ";", "CJGCC", "::", "CondCodes", "BranchCode", "=", "static_cast", "<", "CJGCC", "::", "CondCodes", ">", "(", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ")", ";", "if", "(", "BranchCode", "==", "CJGCC", "::", "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", ";", "CJGCC", "::", "CondCodes", "OldBranchCode", "=", "(", "CJGCC", "::", "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": ["CJG", "CJG", "CJG::JMP", "0", "0", "0", "CJG::JCC", "\"Invalid conditional branch\"", "CJGCC::CondCodes", "CJGCC::CondCodes", "1", "CJGCC::COND_INVALID", "0", "1", "0", "CJGCC::CondCodes", "CJGCC::CondCodes", "0"], "File": "CJGInstrInfo", "Func": "analyzeBranch", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8422, "Length": 376, "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": 8423, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AZPRPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createAZPRDelaySlotFillerPass", "(", "getAZPRTargetMachine", "(", ")", ")", ")", ";", "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": ["AZPR", "AZPR", "AZPR", "AZPR"], "File": "AZPRTargetMachine", "Func": "addPreEmitPass", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8424, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ExpandPseudo", "::", "expand", "(", ")", "{", "bool", "Expanded", "=", "false", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "for", "(", "Iter", "I", "=", "MBB", ".", "begin", "(", ")", ",", "End", "=", "MBB", ".", "end", "(", ")", ";", "I", "!=", "End", ";", ")", "Expanded", "|=", "expandInstr", "(", "MBB", ",", "I", "++", ")", ";", "}", "return", "Expanded", ";", "}", ""], "natrual_language": ["expand", "-", "Expand", "a", "record", "into", "a", "set", "of", "elements", "if", "possible", "."], "TS_V_token": ["Mips"], "File": "MipsSEFrameLowering (2)1", "Func": "expand", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8425, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCMachOTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFileMachO", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "LSDASection", "=", "getMachOSection", "(", "\"__TEXT\"", ",", "\"__gcc_except_tab\"", ",", "0", ",", "SectionKind", "::", "getReadOnlyWithRel", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["PowerPC", "PPC", "\"__TEXT\"", "\"__gcc_except_tab\"", "0"], "File": "PPCTargetObjectFile15", "Func": "Initialize", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8426, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "SparcTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "getTargetMachine", "(", ")", ".", "getInstrInfo", "(", ")", ";", "unsigned", "BROpcode", ";", "unsigned", "CC", ";", "DebugLoc", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown SELECT_CC!\"", ")", ";", "case", "SP", "::", "SELECT_CC_Int_ICC", ":", "case", "SP", "::", "SELECT_CC_FP_ICC", ":", "case", "SP", "::", "SELECT_CC_DFP_ICC", ":", "BROpcode", "=", "SP", "::", "BCOND", ";", "break", ";", "case", "SP", "::", "SELECT_CC_Int_FCC", ":", "case", "SP", "::", "SELECT_CC_FP_FCC", ":", "case", "SP", "::", "SELECT_CC_DFP_FCC", ":", "BROpcode", "=", "SP", "::", "FBCOND", ";", "break", ";", "}", "CC", "=", "(", "SPCC", "::", "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", "(", "BROpcode", ")", ")", ".", "addMBB", "(", "sinkMBB", ")", ".", "addImm", "(", "CC", ")", ";", "BB", "=", "copy0MBB", ";", "BB", "->", "addSuccessor", "(", "sinkMBB", ")", ";", "BB", "=", "sinkMBB", ";", "BuildMI", "(", "*", "BB", ",", "BB", "->", "begin", "(", ")", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "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": ["Sparc", "Sparc", "\"Unknown SELECT_CC!\"", "SP::SELECT_CC_Int_ICC", "SP::SELECT_CC_FP_ICC", "SP::SELECT_CC_DFP_ICC", "SP::BCOND", "SP::SELECT_CC_Int_FCC", "SP::SELECT_CC_FP_FCC", "SP::SELECT_CC_DFP_FCC", "SP::FBCOND", "SPCC::CondCodes", "3", "SP::PHI", "0", "2", "1"], "File": "SparcISelLowering1", "Func": "EmitInstrWithCustomInserter", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8427, "Length": 376, "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", ":", "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", ":", "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", ":", "elements", "=", "TYPE_VECTOR_SUBPARTS", "(", "vectype", ")", ";", "elem_type", "=", "TREE_TYPE", "(", "vectype", ")", ";", "if", "(", "SCALAR_FLOAT_TYPE_P", "(", "elem_type", ")", "&&", "TYPE_PRECISION", "(", "elem_type", ")", "==", "32", ")", "return", "elements", "+", "1", ";", "else", "return", "elements", "/", "2", "+", "1", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.builtin_vectorization_cost", "."], "TS_V_token": ["rs6000", "1", "3", "1", "4", "1", "3", "1", "2", "2", "4", "8", "2", "1", "4", "12", "22", "2", "1", "2", "2", "4", "8", "2", "1", "4", "12", "23", "2", "32", "1", "2", "1"], "File": "rs60005", "Func": "rs6000_builtin_vectorization_cost", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8428, "Length": 310, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCFastISel", "::", "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", "PPCMaterializeFP", "(", "CFP", ",", "VT", ")", ";", "else", "if", "(", "const", "GlobalValue", "*", "GV", "=", "dyn_cast", "<", "GlobalValue", ">", "(", "C", ")", ")", "return", "PPCMaterializeGV", "(", "GV", ",", "VT", ")", ";", "else", "if", "(", "isa", "<", "ConstantInt", ">", "(", "C", ")", ")", "return", "PPCMaterializeInt", "(", "C", ",", "VT", ",", "VT", "!=", "MVT", "::", "i1", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Emit", "a", "constant", "in", "a", "register", "using", "target-specific", "logic", ",", "such", "as", "constant", "pool", "loads", "."], "TS_V_token": ["PowerPC", "PPC", "0", "PPC", "PPC", "PPC", "MVT::i1", "0"], "File": "PPCFastISel42", "Func": "fastMaterializeConstant", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8429, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "X86TargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "NonScalarIntSafe", ",", "bool", "MemcpyStrSrc", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "NonScalarIntSafe", "&&", "!", "F", "->", "hasFnAttr", "(", "Attribute", "::", "NoImplicitFloat", ")", ")", "{", "if", "(", "Size", ">=", "16", "&&", "(", "Subtarget", "->", "isUnalignedMemAccessFast", "(", ")", "||", "(", "(", "DstAlign", "==", "0", "||", "DstAlign", ">=", "16", ")", "&&", "(", "SrcAlign", "==", "0", "||", "SrcAlign", ">=", "16", ")", ")", ")", "&&", "Subtarget", "->", "getStackAlignment", "(", ")", ">=", "16", ")", "{", "if", "(", "Subtarget", "->", "hasSSE2", "(", ")", ")", "return", "MVT", "::", "v4i32", ";", "if", "(", "Subtarget", "->", "hasSSE1", "(", ")", ")", "return", "MVT", "::", "v4f32", ";", "}", "else", "if", "(", "!", "MemcpyStrSrc", "&&", "Size", ">=", "8", "&&", "!", "Subtarget", "->", "is64Bit", "(", ")", "&&", "Subtarget", "->", "getStackAlignment", "(", ")", ">=", "8", "&&", "Subtarget", "->", "hasXMMInt", "(", ")", ")", "{", "return", "MVT", "::", "f64", ";", "}", "}", "if", "(", "Subtarget", "->", "is64Bit", "(", ")", "&&", "Size", ">=", "8", ")", "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": ["X86", "X86", "16", "0", "16", "0", "16", "16", "MVT::v4i32", "MVT::v4f32", "8", "8", "MVT::f64", "8", "MVT::i64", "MVT::i32"], "File": "X86ISelLowering170", "Func": "getOptimalMemOpType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8430, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "uint64_t", "NumNops", "=", "Count", "/", "4", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "!=", "NumNops", ";", "++", "i", ")", "OW", "->", "Write32", "(", "0x60000000", ")", ";", "switch", "(", "Count", "%", "4", ")", "{", "default", ":", "break", ";", "case", "1", ":", "OW", "->", "Write8", "(", "0", ")", ";", "break", ";", "case", "2", ":", "OW", "->", "Write16", "(", "0", ")", ";", "break", ";", "case", "3", ":", "OW", "->", "Write16", "(", "0", ")", ";", "OW", "->", "Write8", "(", "0", ")", ";", "break", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["PowerPC", "4", "0", "0x60000000", "4", "1", "0", "2", "0", "3", "0", "0"], "File": "PPCAsmBackend22", "Func": "writeNopData", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8431, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_expand_sse_compare", "(", "const", "struct", "builtin_description", "*", "d", ",", "tree", "exp", ",", "rtx", "target", ",", "bool", "swap", ")", "{", "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", ")", ";", "rtx", "op2", ";", "machine_mode", "tmode", "=", "insn_data", "[", "d", "->", "icode", "]", ".", "operand", "[", "0", "]", ".", "mode", ";", "machine_mode", "mode0", "=", "insn_data", "[", "d", "->", "icode", "]", ".", "operand", "[", "1", "]", ".", "mode", ";", "machine_mode", "mode1", "=", "insn_data", "[", "d", "->", "icode", "]", ".", "operand", "[", "2", "]", ".", "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", ")", ";", "if", "(", "swap", ")", "std", "::", "swap", "(", "op0", ",", "op1", ")", ";", "if", "(", "optimize", "||", "!", "target", "||", "GET_MODE", "(", "target", ")", "!=", "tmode", "||", "!", "insn_data", "[", "d", "->", "icode", "]", ".", "operand", "[", "0", "]", ".", "predicate", "(", "target", ",", "tmode", ")", ")", "target", "=", "gen_reg_rtx", "(", "tmode", ")", ";", "if", "(", "(", "optimize", "&&", "!", "register_operand", "(", "op0", ",", "mode0", ")", ")", "||", "!", "insn_data", "[", "d", "->", "icode", "]", ".", "operand", "[", "1", "]", ".", "predicate", "(", "op0", ",", "mode0", ")", ")", "op0", "=", "copy_to_mode_reg", "(", "mode0", ",", "op0", ")", ";", "if", "(", "(", "optimize", "&&", "!", "register_operand", "(", "op1", ",", "mode1", ")", ")", "||", "!", "insn_data", "[", "d", "->", "icode", "]", ".", "operand", "[", "2", "]", ".", "predicate", "(", "op1", ",", "mode1", ")", ")", "op1", "=", "copy_to_mode_reg", "(", "mode1", ",", "op1", ")", ";", "op2", "=", "gen_rtx_fmt_ee", "(", "comparison", ",", "mode0", ",", "op0", ",", "op1", ")", ";", "pat", "=", "GEN_FCN", "(", "d", "->", "icode", ")", "(", "target", ",", "op0", ",", "op1", ",", "op2", ")", ";", "if", "(", "!", "pat", ")", "return", "0", ";", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Subroutine", "of", "ix86_expand_builtin", "to", "take", "care", "of", "comparison", "insns", "."], "TS_V_token": ["i386", "0", "1", "0", "1", "2", "0", "1", "2", "0"], "File": "i386-expand", "Func": "ix86_expand_sse_compare", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8432, "Length": 341, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_check_builtin_call", "(", "location_t", ",", "vec", "<", "location_t", ">", ",", "tree", "fndecl", ",", "tree", ",", "unsigned", "int", ",", "tree", "*", ")", "{", "int", "fcode", "=", "DECL_MD_FUNCTION_CODE", "(", "fndecl", ")", ";", "if", "(", "fcode", "==", "ARM_BUILTIN_saturation_occurred", "||", "fcode", "==", "ARM_BUILTIN_set_saturation", ")", "{", "if", "(", "cfun", "&&", "cfun", "->", "decl", ")", "DECL_ATTRIBUTES", "(", "cfun", "->", "decl", ")", "=", "tree_cons", "(", "get_identifier", "(", "\"acle qbit\"", ")", ",", "NULL_TREE", ",", "DECL_ATTRIBUTES", "(", "cfun", "->", "decl", ")", ")", ";", "}", "if", "(", "fcode", "==", "ARM_BUILTIN_sel", ")", "{", "if", "(", "cfun", "&&", "cfun", "->", "decl", ")", "DECL_ATTRIBUTES", "(", "cfun", "->", "decl", ")", "=", "tree_cons", "(", "get_identifier", "(", "\"acle gebits\"", ")", ",", "NULL_TREE", ",", "DECL_ATTRIBUTES", "(", "cfun", "->", "decl", ")", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CHECK_BUILTIN_CALL", ".", "Record", "a", "read", "of", "the", "Q", "bit", "through", "intrinsics", "in", "the", "machine", "function", "."], "TS_V_token": ["arm", "\"acle qbit\"", "\"acle gebits\""], "File": "arm-builtins", "Func": "arm_check_builtin_call", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8433, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "csky_symbol_mentioned_p", "(", "rtx", "x", ")", "{", "const", "char", "*", "fmt", ";", "int", "i", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", ")", "return", "true", ";", "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", "(", "csky_symbol_mentioned_p", "(", "XVECEXP", "(", "x", ",", "i", ",", "j", ")", ")", ")", "return", "true", ";", "}", "else", "if", "(", "fmt", "[", "i", "]", "==", "'e'", "&&", "csky_symbol_mentioned_p", "(", "XEXP", "(", "x", ",", "i", ")", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "X", "references", "a", "SYMBOL_REF", "."], "TS_V_token": ["csky", "1", "0", "1", "0"], "File": "csky", "Func": "csky_symbol_mentioned_p", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8434, "Length": 138, "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\"", ",", "1", ",", "24", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_t2_ldst_pcrel_12\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "|", "MCFixupKindInfo", "::", "FKF_IsAlignedDownTo32Bits", "}", ",", "{", "\"fixup_arm_pcrel_10\"", ",", "1", ",", "24", ",", "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\"", ",", "1", ",", "24", ",", "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_thumb_bl\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_arm_thumb_blx\"", ",", "7", ",", "21", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_arm_thumb_cb\"", ",", "0", ",", "16", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_arm_thumb_cp\"", ",", "1", ",", "8", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_arm_thumb_bcc\"", ",", "1", ",", "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", "TargetAsmBackend", "::", "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\"", "1", "24", "\"fixup_t2_ldst_pcrel_12\"", "0", "32", "\"fixup_arm_pcrel_10\"", "1", "24", "\"fixup_t2_pcrel_10\"", "0", "32", "\"fixup_thumb_adr_pcrel_10\"", "0", "8", "\"fixup_arm_adr_pcrel_12\"", "1", "24", "\"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_thumb_bl\"", "0", "32", "\"fixup_arm_thumb_blx\"", "7", "21", "\"fixup_arm_thumb_cb\"", "0", "16", "\"fixup_arm_thumb_cp\"", "1", "8", "\"fixup_arm_thumb_bcc\"", "1", "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": "ARMAsmBackend18", "Func": "getFixupKindInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8435, "Length": 370, "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", "(", "NOTE_P", "(", "insn", ")", "&&", "NOTE_KIND", "(", "insn", ")", "==", "NOTE_INSN_SWITCH_TEXT_SECTIONS", ")", "{", "rtx_insn", "*", "prev", "=", "prev_active_insn", "(", "insn", ")", ";", "if", "(", "prev", "&&", "!", "insn_nothrow_p", "(", "prev", ")", ")", "fputs", "(", "\"\\tnop\\n\"", ",", "asm_out_file", ")", ";", "fputs", "(", "\"\\t.seh_endproc\\n\"", ",", "asm_out_file", ")", ";", "seh", "->", "in_cold_section", "=", "true", ";", "return", ";", "}", "if", "(", "NOTE_P", "(", "insn", ")", "||", "!", "RTX_FRAME_RELATED_P", "(", "insn", ")", ")", "return", ";", "if", "(", "seh", "->", "after_prologue", ")", "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", "\"\\tnop\\n\"", "\"\\t.seh_endproc\\n\"", "1", "0", "0", "0", "0", "0"], "File": "winnt1", "Func": "i386_pe_seh_unwind_emit", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8436, "Length": 318, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "F", ".", "getFnAttribute", "(", "\"mnop-mcount\"", ")", ".", "getValueAsString", "(", ")", "==", "\"true\"", "&&", "F", ".", "getFnAttribute", "(", "\"fentry-call\"", ")", ".", "getValueAsString", "(", ")", "!=", "\"true\"", ")", "report_fatal_error", "(", "\"mnop-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", "\"mnop-mcount\"", "\"true\"", "\"fentry-call\"", "\"true\"", "\"mnop-mcount only supported with fentry-call\"", "SystemZ"], "File": "SystemZISelDAGToDAG53", "Func": "runOnMachineFunction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8437, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "SDValue", "getSplatValue", "(", "SDNode", "*", "N", ")", "{", "if", "(", "auto", "*", "BuildVec", "=", "dyn_cast", "<", "BuildVectorSDNode", ">", "(", "N", ")", ")", "{", "return", "BuildVec", "->", "getSplatValue", "(", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["If", "V", "is", "a", "splat", "vector", ",", "return", "its", "scalar", "source", "operand", "by", "extracting", "that", "element", "from", "the", "source", "vector", "."], "TS_V_token": ["VE"], "File": "VEISelLowering11", "Func": "getSplatValue", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8438, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "AArch64TargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", ",", "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": ["AArch64", "AArch64", "MVT::i32"], "File": "AArch64ISelLowering (2)", "Func": "getSetCCResultType", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8439, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_output_dwarf_dtprel", "(", "FILE", "*", "file", ",", "int", "size", ",", "rtx", "x", ")", "{", "switch", "(", "size", ")", "{", "case", "4", ":", "fputs", "(", "\"\\t.word\\t%r_tls_dtpoff32(\"", ",", "file", ")", ";", "break", ";", "case", "8", ":", "fputs", "(", "\"\\t.xword\\t%r_tls_dtpoff64(\"", ",", "file", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "output_addr_const", "(", "file", ",", "x", ")", ";", "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": ["sparc", "4", "\"\\t.word\\t%r_tls_dtpoff32(\"", "8", "\"\\t.xword\\t%r_tls_dtpoff64(\"", "\")\""], "File": "sparc", "Func": "sparc_output_dwarf_dtprel", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8440, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_store_returned_bounds", "(", "rtx", "slot", ",", "rtx", "bounds", ")", "{", "gcc_assert", "(", "REG_P", "(", "slot", ")", ")", ";", "emit_move_insn", "(", "slot", ",", "bounds", ")", ";", "}", ""], "natrual_language": ["Store", "BOUNDS", "returned", "by", "function", "into", "SLOT", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_store_returned_bounds", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8441, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "EnableA53Fix835769", ")", "addPass", "(", "createAArch64A53Fix835769", "(", ")", ")", ";", "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", "AArch64"], "File": "AArch64TargetMachine31", "Func": "addPreEmitPass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8442, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_code_label", "*", "ix86_expand_sse_compare_and_jump", "(", "enum", "rtx_code", "code", ",", "rtx", "op0", ",", "rtx", "op1", ",", "bool", "swap_operands", ")", "{", "bool", "unordered_compare", "=", "ix86_unordered_fp_compare", "(", "code", ")", ";", "rtx_code_label", "*", "label", ";", "rtx", "tmp", ",", "reg", ";", "if", "(", "swap_operands", ")", "std", "::", "swap", "(", "op0", ",", "op1", ")", ";", "label", "=", "gen_label_rtx", "(", ")", ";", "tmp", "=", "gen_rtx_COMPARE", "(", "CCFPmode", ",", "op0", ",", "op1", ")", ";", "if", "(", "unordered_compare", ")", "tmp", "=", "gen_rtx_UNSPEC", "(", "CCFPmode", ",", "gen_rtvec", "(", "1", ",", "tmp", ")", ",", "UNSPEC_NOTRAP", ")", ";", "reg", "=", "gen_rtx_REG", "(", "CCFPmode", ",", "FLAGS_REG", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "reg", ",", "tmp", ")", ")", ";", "tmp", "=", "gen_rtx_fmt_ee", "(", "code", ",", "VOIDmode", ",", "reg", ",", "const0_rtx", ")", ";", "tmp", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "tmp", ",", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "label", ")", ",", "pc_rtx", ")", ";", "tmp", "=", "emit_jump_insn", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "tmp", ")", ")", ";", "JUMP_LABEL", "(", "tmp", ")", "=", "label", ";", "return", "label", ";", "}", ""], "natrual_language": ["Expands", "a", "comparison", "of", "OP0", "with", "OP1", "using", "comparison", "code", "CODE", ",", "swapping", "the", "operands", "if", "SWAP_OPERANDS", "is", "true", ".", "The", "expanded", "code", "is", "a", "forward", "jump", "to", "a", "newly", "created", "label", "in", "case", "the", "comparison", "is", "true", ".", "The", "generated", "label", "rtx", "is", "returned", "."], "TS_V_token": ["i386", "1"], "File": "i386-expand", "Func": "ix86_expand_sse_compare_and_jump", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8443, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_can_use_return_insn_p", "(", "void", ")", "{", "struct", "ix86_frame", "frame", ";", "if", "(", "!", "reload_completed", "||", "frame_pointer_needed", ")", "return", "0", ";", "if", "(", "crtl", "->", "args", ".", "pops_args", "&&", "crtl", "->", "args", ".", "size", ">=", "32768", ")", "return", "0", ";", "ix86_compute_frame_layout", "(", "&", "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": "i3864", "Func": "ix86_can_use_return_insn_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8444, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"ARM PIC Global Base Reg Initialization\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"ARM PIC Global Base Reg Initialization\""], "File": "ARMInstrInfo", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8445, "Length": 13, "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": 8446, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "emit_cbcond_nop", "(", "rtx", "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": "sparc4", "Func": "emit_cbcond_nop", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8447, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetELFStreamer", "::", "emitAssignment", "(", "MCSymbol", "*", "Symbol", ",", "const", "MCExpr", "*", "Value", ")", "{", "if", "(", "Value", "->", "getKind", "(", ")", "!=", "MCExpr", "::", "SymbolRef", ")", "return", ";", "const", "MCSymbol", "&", "RhsSym", "=", "static_cast", "<", "const", "MCSymbolRefExpr", "*", ">", "(", "Value", ")", "->", "getSymbol", "(", ")", ";", "MCSymbolData", "&", "Data", "=", "getStreamer", "(", ")", ".", "getOrCreateSymbolData", "(", "&", "RhsSym", ")", ";", "if", "(", "!", "(", "MCELF", "::", "getOther", "(", "Data", ")", "&", "(", "ELF", "::", "STO_MIPS_MICROMIPS", ">>", "2", ")", ")", ")", "return", ";", "MCSymbolData", "&", "SymbolData", "=", "getStreamer", "(", ")", ".", "getOrCreateSymbolData", "(", "Symbol", ")", ";", "MCELF", "::", "setOther", "(", "SymbolData", ",", "ELF", "::", "STO_MIPS_MICROMIPS", ">>", "2", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "assignment", "of", "Value", "to", "Symbol", "."], "TS_V_token": ["Mips", "Mips", "2", "2"], "File": "MipsTargetStreamer36", "Func": "emitAssignment", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8448, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "AArch64RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "return", "CSR_PCS_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64RegisterInfo42", "Func": "getCalleeSavedRegs", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8449, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_evpc_rev", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "int", "i", ",", "j", ",", "diff", ",", "nelt", "=", "d", "->", "nelt", ";", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ")", ";", "if", "(", "!", "d", "->", "one_vector_p", ")", "return", "false", ";", "diff", "=", "d", "->", "perm", "[", "0", "]", ";", "switch", "(", "diff", ")", "{", "case", "7", ":", "switch", "(", "d", "->", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_aarch64_rev64v16qi", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_aarch64_rev64v8qi", ";", "break", ";", "default", ":", "return", "false", ";", "}", "break", ";", "case", "3", ":", "switch", "(", "d", "->", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_aarch64_rev32v16qi", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_aarch64_rev32v8qi", ";", "break", ";", "case", "V8HImode", ":", "gen", "=", "gen_aarch64_rev64v8hi", ";", "break", ";", "case", "V4HImode", ":", "gen", "=", "gen_aarch64_rev64v4hi", ";", "break", ";", "default", ":", "return", "false", ";", "}", "break", ";", "case", "1", ":", "switch", "(", "d", "->", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_aarch64_rev16v16qi", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_aarch64_rev16v8qi", ";", "break", ";", "case", "V8HImode", ":", "gen", "=", "gen_aarch64_rev32v8hi", ";", "break", ";", "case", "V4HImode", ":", "gen", "=", "gen_aarch64_rev32v4hi", ";", "break", ";", "case", "V4SImode", ":", "gen", "=", "gen_aarch64_rev64v4si", ";", "break", ";", "case", "V2SImode", ":", "gen", "=", "gen_aarch64_rev64v2si", ";", "break", ";", "case", "V4SFmode", ":", "gen", "=", "gen_aarch64_rev64v4sf", ";", "break", ";", "case", "V2SFmode", ":", "gen", "=", "gen_aarch64_rev64v2sf", ";", "break", ";", "case", "V8HFmode", ":", "gen", "=", "gen_aarch64_rev64v8hf", ";", "break", ";", "case", "V4HFmode", ":", "gen", "=", "gen_aarch64_rev64v4hf", ";", "break", ";", "default", ":", "return", "false", ";", "}", "break", ";", "default", ":", "return", "false", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "i", "+=", "diff", "+", "1", ")", "for", "(", "j", "=", "0", ";", "j", "<=", "diff", ";", "j", "+=", "1", ")", "{", "gcc_assert", "(", "i", "+", "j", "<", "nelt", ")", ";", "if", "(", "d", "->", "perm", "[", "i", "+", "j", "]", "!=", "i", "+", "diff", "-", "j", ")", "return", "false", ";", "}", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "emit_insn", "(", "gen", "(", "d", "->", "target", ",", "d", "->", "op0", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "for", "the", "REV", "insns", "."], "TS_V_token": ["aarch64", "0", "7", "3", "1", "0", "1", "0", "1"], "File": "aarch644", "Func": "aarch64_evpc_rev", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8450, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "OR1KAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ",", "MCStreamer", "&", "Out", ")", "{", "MCInst", "Inst", ";", "SMLoc", "ErrorLoc", ";", "unsigned", "Kind", ";", "unsigned", "ErrorInfo", ";", "SmallVector", "<", "std", "::", "pair", "<", "unsigned", ",", "std", "::", "string", ">", ",", "4", ">", "MapAndConstraints", ";", "switch", "(", "MatchInstructionImpl", "(", "Operands", ",", "Kind", ",", "Inst", ",", "MapAndConstraints", ",", "ErrorInfo", ",", "false", ")", ")", "{", "default", ":", "break", ";", "case", "Match_Success", ":", "Out", ".", "EmitInstruction", "(", "Inst", ")", ";", "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", "=", "(", "(", "OR1KOperand", "*", ")", "Operands", "[", "ErrorInfo", "]", ")", "->", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "}", "return", "Error", "(", "IDLoc", ",", "\"Invalid operand for instruction\"", ")", ";", "}", "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": ["OR1K", "OR1K", "4", "\"Instruction use requires option to be enabled\"", "\"Unrecognized instruction mnemonic\"", "0U", "\"Too few operands for instruction\"", "OR1K", "\"Invalid operand for instruction\"", "\"Unknown match type detected!\""], "File": "OR1KAsmParser", "Func": "MatchAndEmitInstruction", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8451, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsFrameLowering", "::", "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": "MipsFrameLowering29", "Func": "hasFP", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8452, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsSEFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "MipsFunctionInfo", "*", "MipsFI", "=", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "MipsABIInfo", "ABI", "=", "STI", ".", "getABI", "(", ")", ";", "unsigned", "FP", "=", "ABI", ".", "GetFramePtr", "(", ")", ";", "unsigned", "BP", "=", "ABI", ".", "IsN64", "(", ")", "?", "Mips", "::", "S7_64", ":", "Mips", "::", "S7", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "setAliasRegs", "(", "MF", ",", "SavedRegs", ",", "FP", ")", ";", "if", "(", "hasBP", "(", "MF", ")", ")", "setAliasRegs", "(", "MF", ",", "SavedRegs", ",", "BP", ")", ";", "if", "(", "MipsFI", "->", "callsEhReturn", "(", ")", ")", "MipsFI", "->", "createEhDataRegsFI", "(", ")", ";", "if", "(", "MipsFI", "->", "isISR", "(", ")", ")", "MipsFI", "->", "createISRRegFI", "(", ")", ";", "if", "(", "ExpandPseudo", "(", "MF", ")", ".", "expand", "(", ")", ")", "{", "const", "TargetRegisterClass", "*", "RC", "=", "STI", ".", "hasMips64", "(", ")", "?", "&", "Mips", "::", "GPR64RegClass", ":", "&", "Mips", "::", "GPR32RegClass", ";", "int", "FI", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "CreateStackObject", "(", "RC", "->", "getSize", "(", ")", ",", "RC", "->", "getAlignment", "(", ")", ",", "false", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "FI", ")", ";", "}", "uint64_t", "MaxSPOffset", "=", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", "->", "getIncomingArgSize", "(", ")", "+", "estimateStackSize", "(", "MF", ")", ";", "if", "(", "isInt", "<", "16", ">", "(", "MaxSPOffset", ")", ")", "return", ";", "const", "TargetRegisterClass", "*", "RC", "=", "ABI", ".", "ArePtrs64bit", "(", ")", "?", "&", "Mips", "::", "GPR64RegClass", ":", "&", "Mips", "::", "GPR32RegClass", ";", "int", "FI", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "CreateStackObject", "(", "RC", "->", "getSize", "(", ")", ",", "RC", "->", "getAlignment", "(", ")", ",", "false", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "FI", ")", ";", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::S7_64", "Mips::S7", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::GPR64RegClass", "Mips::GPR32RegClass", "Mips", "16", "Mips::GPR64RegClass", "Mips::GPR32RegClass"], "File": "MipsSEFrameLowering53", "Func": "determineCalleeSaves", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8453, "Length": 293, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMELFStreamer", "::", "Reset", "(", ")", "{", "ExTab", "=", "NULL", ";", "FnStart", "=", "NULL", ";", "Personality", "=", "NULL", ";", "PersonalityIndex", "=", "ARM", "::", "EHABI", "::", "NUM_PERSONALITY_INDEX", ";", "FPReg", "=", "ARM", "::", "SP", ";", "FPOffset", "=", "0", ";", "SPOffset", "=", "0", ";", "PendingOffset", "=", "0", ";", "UsedFP", "=", "false", ";", "CantUnwind", "=", "false", ";", "Opcodes", ".", "clear", "(", ")", ";", "UnwindOpAsm", ".", "Reset", "(", ")", ";", "}", ""], "natrual_language": ["Reset", "the", "unwind", "opcode", "assembler", "."], "TS_V_token": ["ARM", "ARM", "ARM::EHABI", "ARM::SP", "0", "0", "0"], "File": "ARMELFStreamer15", "Func": "Reset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8454, "Length": 66, "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", "(", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "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", "(", ")", ";", "case", "ARM", "::", "INLINEASM", ":", "case", "ARM", "::", "INLINEASM_BR", ":", "{", "unsigned", "Size", "=", "getInlineAsmLength", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getSymbolName", "(", ")", ",", "*", "MAI", ")", ";", "if", "(", "!", "MF", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", "->", "isThumbFunction", "(", ")", ")", "Size", "=", "alignTo", "(", "Size", ",", "4", ")", ";", "return", "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": ["ARM", "ARM", "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", "ARM::INLINEASM", "ARM::INLINEASM_BR", "0", "ARM", "4"], "File": "ARMBaseInstrInfo10", "Func": "getInstSizeInBytes", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8455, "Length": 308, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "function_arg_record_value", "(", "tree", "type", ",", "enum", "machine_mode", "mode", ",", "int", "slotno", ",", "int", "named", ",", "int", "regbase", ")", "{", "HOST_WIDE_INT", "typesize", "=", "int_size_in_bytes", "(", "type", ")", ";", "struct", "function_arg_record_value_parms", "parms", ";", "unsigned", "int", "nregs", ";", "parms", ".", "ret", "=", "NULL_RTX", ";", "parms", ".", "slotno", "=", "slotno", ";", "parms", ".", "named", "=", "named", ";", "parms", ".", "regbase", "=", "regbase", ";", "parms", ".", "stack", "=", "0", ";", "parms", ".", "nregs", "=", "0", ";", "parms", ".", "intoffset", "=", "0", ";", "function_arg_record_value_1", "(", "type", ",", "0", ",", "&", "parms", ",", "false", ")", ";", "if", "(", "parms", ".", "intoffset", "!=", "-", "1", ")", "{", "unsigned", "int", "startbit", ",", "endbit", ";", "int", "intslots", ",", "this_slotno", ";", "startbit", "=", "parms", ".", "intoffset", "&", "-", "BITS_PER_WORD", ";", "endbit", "=", "(", "typesize", "*", "BITS_PER_UNIT", "+", "BITS_PER_WORD", "-", "1", ")", "&", "-", "BITS_PER_WORD", ";", "intslots", "=", "(", "endbit", "-", "startbit", ")", "/", "BITS_PER_WORD", ";", "this_slotno", "=", "slotno", "+", "parms", ".", "intoffset", "/", "BITS_PER_WORD", ";", "if", "(", "intslots", ">", "0", "&&", "intslots", ">", "SPARC_INT_ARG_MAX", "-", "this_slotno", ")", "{", "intslots", "=", "MAX", "(", "0", ",", "SPARC_INT_ARG_MAX", "-", "this_slotno", ")", ";", "parms", ".", "stack", "=", "1", ";", "}", "parms", ".", "nregs", "+=", "intslots", ";", "}", "nregs", "=", "parms", ".", "nregs", ";", "if", "(", "nregs", "==", "0", ")", "{", "if", "(", "typesize", "<=", "0", ")", "{", "return", "gen_rtx_REG", "(", "mode", ",", "regbase", ")", ";", "}", "else", "{", "nregs", "=", "(", "typesize", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "}", "if", "(", "nregs", "+", "slotno", ">", "SPARC_INT_ARG_MAX", ")", "nregs", "=", "SPARC_INT_ARG_MAX", "-", "slotno", ";", "}", "gcc_assert", "(", "nregs", "!=", "0", ")", ";", "parms", ".", "ret", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "rtvec_alloc", "(", "parms", ".", "stack", "+", "nregs", ")", ")", ";", "if", "(", "parms", ".", "stack", ")", "XVECEXP", "(", "parms", ".", "ret", ",", "0", ",", "0", ")", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "NULL_RTX", ",", "const0_rtx", ")", ";", "parms", ".", "nregs", "=", "0", ";", "parms", ".", "intoffset", "=", "0", ";", "function_arg_record_value_2", "(", "type", ",", "0", ",", "&", "parms", ",", "false", ")", ";", "function_arg_record_value_3", "(", "typesize", "*", "BITS_PER_UNIT", ",", "&", "parms", ")", ";", "gcc_assert", "(", "parms", ".", "nregs", "==", "nregs", ")", ";", "return", "parms", ".", "ret", ";", "}", ""], "natrual_language": ["Used", "by", "function_arg", "and", "sparc_function_value_1", "to", "implement", "the", "complex", "conventions", "of", "the", "64-bit", "ABI", "for", "passing", "and", "returning", "structures", ".", "Return", "an", "expression", "valid", "as", "a", "return", "value", "for", "the", "FUNCTION_ARG", "and", "TARGET_FUNCTION_VALUE", ".", "TYPE", "is", "the", "data", "type", "of", "the", "argument", "(", "as", "a", "tree", ")", ".", "This", "is", "null", "for", "libcalls", "where", "that", "information", "may", "not", "be", "available", ".", "MODE", "is", "the", "argument", "'s", "machine", "mode", ".", "SLOTNO", "is", "the", "index", "number", "of", "the", "argument", "'s", "slot", "in", "the", "parameter", "array", ".", "NAMED", "is", "true", "if", "this", "argument", "is", "a", "named", "parameter", "(", "otherwise", "it", "is", "an", "extra", "parameter", "matching", "an", "ellipsis", ")", ".", "REGBASE", "is", "the", "regno", "of", "the", "base", "register", "for", "the", "parameter", "array", "."], "TS_V_token": ["sparc", "0", "0", "0", "0", "1", "1", "0", "0", "1", "0", "0", "1", "0", "0", "0", "0", "0", "0"], "File": "sparc3", "Func": "function_arg_record_value", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8456, "Length": 353, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CSKYAsmPrinter", "::", "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": ["CSKY", "CSKY"], "File": "CSKYAsmPrinter1", "Func": "emitStartOfAsmFile", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8457, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64InstructionSelector", "::", "beginFunction", "(", "const", "MachineFunction", "&", "MF", ")", "{", "ForCodeSize", "=", "MF", ".", "getFunction", "(", ")", "->", "optForSize", "(", ")", ";", "AvailableFeatures", "=", "computeAvailableFeatures", "(", "&", "MF", ",", "&", "STI", ")", ";", "}", ""], "natrual_language": ["Gather", "pre-function", "exception", "information", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64InstructionSelector59", "Func": "beginFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8458, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstructionSelector", "::", "select", "(", "MachineInstr", "&", "I", ")", "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", "(", "I", ".", "isCopy", "(", ")", ")", "return", "selectCopy", "(", "I", ",", "TII", ",", "MRI", ",", "TRI", ",", "RBI", ")", ";", "return", "true", ";", "}", "assert", "(", "I", ".", "getNumOperands", "(", ")", "==", "I", ".", "getNumExplicitOperands", "(", ")", "&&", "\"Generic instruction has unexpected implicit operands\\n\"", ")", ";", "if", "(", "selectBinaryOp", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "if", "(", "selectLoadStoreOp", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "if", "(", "selectFrameIndex", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "if", "(", "selectConstant", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "if", "(", "selectTrunc", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "return", "selectImpl", "(", "I", ")", ";", "}", ""], "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\""], "File": "X86InstructionSelector28", "Func": "select", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8459, "Length": 207, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "InstrItineraryData", "*", "getInstrItineraryData", "(", ")", "const", "override", "{", "return", "&", "getSubtargetImpl", "(", ")", "->", "getInstrItineraryData", "(", ")", ";", "}", ""], "natrual_language": ["getInstrItineraryData", "-", "Returns", "instruction", "itinerary", "data", "for", "the", "target", "or", "specific", "subtarget", "."], "TS_V_token": ["ARM"], "File": "ARMTargetMachine5", "Func": "getInstrItineraryData", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8460, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "PPCTargetLowering", "::", "getPICJumpTableRelocBaseExpr", "(", "const", "MachineFunction", "*", "MF", ",", "unsigned", "JTI", ",", "MCContext", "&", "Ctx", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "isPPC64", "(", ")", "||", "Subtarget", ".", "isAIXABI", "(", ")", ")", "return", "TargetLowering", "::", "getPICJumpTableRelocBaseExpr", "(", "MF", ",", "JTI", ",", "Ctx", ")", ";", "switch", "(", "getTargetMachine", "(", ")", ".", "getCodeModel", "(", ")", ")", "{", "case", "CodeModel", "::", "Small", ":", "case", "CodeModel", "::", "Medium", ":", "return", "TargetLowering", "::", "getPICJumpTableRelocBaseExpr", "(", "MF", ",", "JTI", ",", "Ctx", ")", ";", "default", ":", "return", "MCSymbolRefExpr", "::", "create", "(", "MF", "->", "getPICBaseSymbol", "(", ")", ",", "Ctx", ")", ";", "}", "}", ""], "natrual_language": ["This", "returns", "the", "relocation", "base", "for", "the", "given", "PIC", "jumptable", ",", "the", "same", "as", "getPICJumpTableRelocBase", ",", "but", "as", "an", "MCExpr", "."], "TS_V_token": ["PowerPC", "PPC", "PPC"], "File": "PPCISelLowering100", "Func": "getPICJumpTableRelocBaseExpr", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8461, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "expand_vec_perm_2vperm2f128_vshuf", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "struct", "expand_vec_perm_d", "dfirst", ",", "dsecond", ",", "dthird", ";", "bool", "ok", ";", "if", "(", "!", "TARGET_AVX", "||", "(", "d", "->", "vmode", "!=", "V4DFmode", ")", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "dfirst", "=", "*", "d", ";", "dsecond", "=", "*", "d", ";", "dthird", "=", "*", "d", ";", "dfirst", ".", "perm", "[", "0", "]", "=", "(", "d", "->", "perm", "[", "0", "]", "&", "~", "1", ")", ";", "dfirst", ".", "perm", "[", "1", "]", "=", "(", "d", "->", "perm", "[", "0", "]", "&", "~", "1", ")", "+", "1", ";", "dfirst", ".", "perm", "[", "2", "]", "=", "(", "d", "->", "perm", "[", "2", "]", "&", "~", "1", ")", ";", "dfirst", ".", "perm", "[", "3", "]", "=", "(", "d", "->", "perm", "[", "2", "]", "&", "~", "1", ")", "+", "1", ";", "dsecond", ".", "perm", "[", "0", "]", "=", "(", "d", "->", "perm", "[", "1", "]", "&", "~", "1", ")", ";", "dsecond", ".", "perm", "[", "1", "]", "=", "(", "d", "->", "perm", "[", "1", "]", "&", "~", "1", ")", "+", "1", ";", "dsecond", ".", "perm", "[", "2", "]", "=", "(", "d", "->", "perm", "[", "3", "]", "&", "~", "1", ")", ";", "dsecond", ".", "perm", "[", "3", "]", "=", "(", "d", "->", "perm", "[", "3", "]", "&", "~", "1", ")", "+", "1", ";", "dthird", ".", "perm", "[", "0", "]", "=", "(", "d", "->", "perm", "[", "0", "]", "%", "2", ")", ";", "dthird", ".", "perm", "[", "1", "]", "=", "(", "d", "->", "perm", "[", "1", "]", "%", "2", ")", "+", "4", ";", "dthird", ".", "perm", "[", "2", "]", "=", "(", "d", "->", "perm", "[", "2", "]", "%", "2", ")", "+", "2", ";", "dthird", ".", "perm", "[", "3", "]", "=", "(", "d", "->", "perm", "[", "3", "]", "%", "2", ")", "+", "6", ";", "dfirst", ".", "target", "=", "gen_reg_rtx", "(", "dfirst", ".", "vmode", ")", ";", "dsecond", ".", "target", "=", "gen_reg_rtx", "(", "dsecond", ".", "vmode", ")", ";", "dthird", ".", "op0", "=", "dfirst", ".", "target", ";", "dthird", ".", "op1", "=", "dsecond", ".", "target", ";", "dthird", ".", "one_operand_p", "=", "false", ";", "canonicalize_perm", "(", "&", "dfirst", ")", ";", "canonicalize_perm", "(", "&", "dsecond", ")", ";", "ok", "=", "expand_vec_perm_1", "(", "&", "dfirst", ")", "&&", "expand_vec_perm_1", "(", "&", "dsecond", ")", "&&", "expand_vec_perm_1", "(", "&", "dthird", ")", ";", "gcc_assert", "(", "ok", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "ix86_expand_vec_perm_builtin_1", ".", "Implement", "a", "V4DF", "permutation", "using", "two", "vperm2f128", ",", "followed", "by", "a", "vshufpd", "insn", "blending", "the", "two", "vectors", "together", "."], "TS_V_token": ["i386", "0", "0", "1", "1", "0", "1", "1", "2", "2", "1", "3", "2", "1", "1", "0", "1", "1", "1", "1", "1", "1", "2", "3", "1", "3", "3", "1", "1", "0", "0", "2", "1", "1", "2", "4", "2", "2", "2", "2", "3", "3", "2", "6"], "File": "i386-expand", "Func": "expand_vec_perm_2vperm2f128_vshuf", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8462, "Length": 384, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86TargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "APInt", "&", "KnownZero", ",", "APInt", "&", "KnownOne", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "unsigned", "BitWidth", "=", "KnownZero", ".", "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!\"", ")", ";", "KnownZero", "=", "KnownOne", "=", "APInt", "(", "BitWidth", ",", "0", ")", ";", "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", ";", "case", "X86ISD", "::", "SETCC", ":", "KnownZero", "|=", "APInt", "::", "getHighBitsSet", "(", "BitWidth", ",", "BitWidth", "-", "1", ")", ";", "break", ";", "case", "X86ISD", "::", "MOVMSK", ":", "{", "unsigned", "NumLoBits", "=", "Op", ".", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", ".", "getVectorNumElements", "(", ")", ";", "KnownZero", "=", "APInt", "::", "getHighBitsSet", "(", "BitWidth", ",", "BitWidth", "-", "NumLoBits", ")", ";", "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!\"", "0", "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"], "File": "X86ISelLowering (3)", "Func": "computeKnownBitsForTargetNode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8463, "Length": 226, "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": "ARMInstPrinter (2)", "Func": "printRegName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8464, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCFrameLowering", "::", "determineFrameLayout", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "FrameSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "unsigned", "MaxAlign", "=", "MFI", "->", "getMaxAlignment", "(", ")", ";", "unsigned", "TargetAlign", "=", "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": "PPCFrameLowering25", "Func": "determineFrameLayout", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8465, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_sve_data_mode_p", "(", "machine_mode", "mode", ")", "{", "return", "aarch64_classify_vector_mode", "(", "mode", ")", "&", "VEC_SVE_DATA", ";", "}", ""], "natrual_language": ["Return", "true", "if", "MODE", "is", "an", "SVE", "data", "vector", "mode", ";", "either", "a", "single", "vector", "or", "a", "structure", "of", "vectors", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_sve_data_mode_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8466, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "store_reg", "(", "int", "reg", ",", "HOST_WIDE_INT", "disp", ",", "int", "base", ")", "{", "rtx", "insn", ",", "dest", ",", "src", ",", "basereg", ";", "src", "=", "gen_rtx_REG", "(", "word_mode", ",", "reg", ")", ";", "basereg", "=", "gen_rtx_REG", "(", "Pmode", ",", "base", ")", ";", "if", "(", "VAL_14_BITS_P", "(", "disp", ")", ")", "{", "dest", "=", "gen_rtx_MEM", "(", "word_mode", ",", "plus_constant", "(", "basereg", ",", "disp", ")", ")", ";", "insn", "=", "emit_move_insn", "(", "dest", ",", "src", ")", ";", "}", "else", "if", "(", "TARGET_64BIT", "&&", "!", "VAL_32_BITS_P", "(", "disp", ")", ")", "{", "rtx", "delta", "=", "GEN_INT", "(", "disp", ")", ";", "rtx", "tmpreg", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "emit_move_insn", "(", "tmpreg", ",", "delta", ")", ";", "insn", "=", "emit_move_insn", "(", "tmpreg", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "tmpreg", ",", "basereg", ")", ")", ";", "if", "(", "DO_FRAME_NOTES", ")", "{", "REG_NOTES", "(", "insn", ")", "=", "gen_rtx_EXPR_LIST", "(", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "VOIDmode", ",", "tmpreg", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "basereg", ",", "delta", ")", ")", ",", "REG_NOTES", "(", "insn", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "dest", "=", "gen_rtx_MEM", "(", "word_mode", ",", "tmpreg", ")", ";", "insn", "=", "emit_move_insn", "(", "dest", ",", "src", ")", ";", "}", "else", "{", "rtx", "delta", "=", "GEN_INT", "(", "disp", ")", ";", "rtx", "high", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "basereg", ",", "gen_rtx_HIGH", "(", "Pmode", ",", "delta", ")", ")", ";", "rtx", "tmpreg", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "emit_move_insn", "(", "tmpreg", ",", "high", ")", ";", "dest", "=", "gen_rtx_MEM", "(", "word_mode", ",", "gen_rtx_LO_SUM", "(", "Pmode", ",", "tmpreg", ",", "delta", ")", ")", ";", "insn", "=", "emit_move_insn", "(", "dest", ",", "src", ")", ";", "if", "(", "DO_FRAME_NOTES", ")", "{", "REG_NOTES", "(", "insn", ")", "=", "gen_rtx_EXPR_LIST", "(", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_rtx_MEM", "(", "word_mode", ",", "gen_rtx_PLUS", "(", "word_mode", ",", "basereg", ",", "delta", ")", ")", ",", "src", ")", ",", "REG_NOTES", "(", "insn", ")", ")", ";", "}", "}", "if", "(", "DO_FRAME_NOTES", ")", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", ""], "natrual_language": ["Emit", "RTL", "to", "store", "REG", "at", "the", "memory", "location", "specified", "by", "BASE+DISP", ".", "Handle", "case", "where", "DISP", ">", "8k", "by", "using", "the", "add_high_const", "patterns", ".", "Note", "in", "DISP", ">", "8k", "case", ",", "we", "will", "leave", "the", "high", "part", "of", "the", "address", "in", "%", "r1", ".", "There", "is", "code", "in", "expand_hppa_", "{", "prologue", ",", "epilogue", "}", "that", "knows", "this", "."], "TS_V_token": ["pa", "1", "1", "1", "1"], "File": "pa3", "Func": "store_reg", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8467, "Length": 313, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "xbbo_next_reg_cluster", "(", "int", "regno_start", ",", "int", "*", "sp_offset", ",", "bool", "do_store", ")", "{", "int", "regno", ",", "nregs", ",", "i", ";", "rtx", "addr", ";", "rtx_insn", "*", "insn", ";", "nregs", "=", "0", ";", "for", "(", ";", "regno_start", "<=", "LAST_GP_REGNUM", ";", ")", "if", "(", "TEST_HARD_REG_BIT", "(", "cfun", "->", "machine", "->", "save_mask", ",", "regno_start", ")", ")", "break", ";", "else", "regno_start", "++", ";", "for", "(", "regno", "=", "regno_start", ";", "regno", "<=", "LAST_GP_REGNUM", ";", ")", "if", "(", "TEST_HARD_REG_BIT", "(", "cfun", "->", "machine", "->", "save_mask", ",", "regno", ")", ")", "{", "regno", "++", ";", "nregs", "++", ";", "}", "else", "break", ";", "if", "(", "!", "nregs", ")", "return", "-", "1", ";", "gcc_assert", "(", "UBYTE_INT", "(", "*", "sp_offset", ")", ")", ";", "addr", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "*", "sp_offset", ")", ";", "if", "(", "do_store", ")", "insn", "=", "targetm", ".", "gen_store_multiple", "(", "gen_frame_mem", "(", "BLKmode", ",", "addr", ")", ",", "gen_rtx_REG", "(", "QImode", ",", "regno_start", ")", ",", "GEN_INT", "(", "nregs", ")", ")", ";", "else", "insn", "=", "targetm", ".", "gen_load_multiple", "(", "gen_rtx_REG", "(", "QImode", ",", "regno_start", ")", ",", "gen_frame_mem", "(", "BLKmode", ",", "addr", ")", ",", "GEN_INT", "(", "nregs", ")", ")", ";", "gcc_assert", "(", "reload_completed", ")", ";", "gcc_assert", "(", "insn", ")", ";", "emit_insn", "(", "insn", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "if", "(", "!", "do_store", ")", "{", "for", "(", "i", "=", "regno_start", ";", "i", "<", "(", "regno_start", "+", "nregs", ")", ";", "i", "++", ")", "add_reg_note", "(", "insn", ",", "REG_CFA_RESTORE", ",", "gen_rtx_REG", "(", "QImode", ",", "i", ")", ")", ";", "}", "*", "sp_offset", "+=", "nregs", "*", "UNITS_PER_WORD", ";", "return", "regno_start", "+", "nregs", ";", "}", ""], "natrual_language": ["Helper", "function", "used", "during", "prologue/epilogue", ".", "Emits", "a", "single", "LBBO/SBBO", "instruction", "for", "load/store", "of", "the", "next", "group", "of", "consecutive", "registers", "."], "TS_V_token": ["pru", "0", "1", "1"], "File": "pru", "Func": "xbbo_next_reg_cluster", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8468, "Length": 255, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_setup_incoming_varargs", "(", "cumulative_args_t", "cum", ",", "const", "function_arg_info", "&", "arg", ",", "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", ")", ",", "arg", ")", ";", "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"], "File": "ia64", "Func": "ia64_setup_incoming_varargs", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8469, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mips_got_load", "(", "rtx", "temp", ",", "rtx", "addr", ",", "enum", "mips_symbol_type", "type", ")", "{", "rtx", "base", ",", "high", ",", "lo_sum_symbol", ";", "base", "=", "mips_pic_base_register", "(", "temp", ")", ";", "if", "(", "temp", "!=", "NULL", "&&", "reg_overlap_mentioned_p", "(", "base", ",", "temp", ")", ")", "temp", "=", "NULL", ";", "high", "=", "mips_unspec_offset_high", "(", "temp", ",", "base", ",", "addr", ",", "type", ")", ";", "lo_sum_symbol", "=", "mips_unspec_address", "(", "addr", ",", "type", ")", ";", "if", "(", "type", "==", "SYMBOL_GOTOFF_CALL", ")", "return", "mips_unspec_call", "(", "high", ",", "lo_sum_symbol", ")", ";", "else", "return", "PMODE_INSN", "(", "gen_unspec_got", ",", "(", "high", ",", "lo_sum_symbol", ")", ")", ";", "}", ""], "natrual_language": ["Create", "and", "return", "a", "GOT", "reference", "of", "type", "TYPE", "for", "address", "ADDR", ".", "TEMP", ",", "if", "nonnull", ",", "is", "a", "scratch", "Pmode", "base", "register", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_got_load", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8470, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "FixupLEAPass", "::", "processInstruction", "(", "MachineBasicBlock", "::", "iterator", "&", "I", ",", "MachineFunction", "::", "iterator", "MFI", ")", "{", "MachineInstr", "*", "MI", "=", "I", ";", "const", "MCInstrDesc", "&", "Desc", "=", "MI", "->", "getDesc", "(", ")", ";", "int", "AddrOffset", "=", "X86II", "::", "getMemoryOperandNo", "(", "Desc", ".", "TSFlags", ")", ";", "if", "(", "AddrOffset", ">=", "0", ")", "{", "AddrOffset", "+=", "X86II", "::", "getOperandBias", "(", "Desc", ")", ";", "MachineOperand", "&", "p", "=", "MI", "->", "getOperand", "(", "AddrOffset", "+", "X86", "::", "AddrBaseReg", ")", ";", "if", "(", "p", ".", "isReg", "(", ")", "&&", "p", ".", "getReg", "(", ")", "!=", "X86", "::", "ESP", ")", "{", "seekLEAFixup", "(", "p", ",", "I", ",", "MFI", ")", ";", "}", "MachineOperand", "&", "q", "=", "MI", "->", "getOperand", "(", "AddrOffset", "+", "X86", "::", "AddrIndexReg", ")", ";", "if", "(", "q", ".", "isReg", "(", ")", "&&", "q", ".", "getReg", "(", ")", "!=", "X86", "::", "ESP", ")", "{", "seekLEAFixup", "(", "q", ",", "I", ",", "MFI", ")", ";", "}", "}", "}", ""], "natrual_language": ["Process", "a", "single", "instruction", "and", "collect", "debug", "info", "anchors", "."], "TS_V_token": ["X86", "X86II::getMemoryOperandNo", "0", "X86II::getOperandBias", "X86::AddrBaseReg", "X86::ESP", "X86::AddrIndexReg", "X86::ESP"], "File": "X86FixupLEAs48", "Func": "processInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8471, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsCodeEmitter", "::", "getBranchTargetOpValue", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "OpNo", ")", "const", "{", "MachineOperand", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "emitMachineBasicBlock", "(", "MO", ".", "getMBB", "(", ")", ",", "getRelocation", "(", "MI", ",", "MO", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "."], "TS_V_token": ["Mips", "Mips", "0"], "File": "MipsCodeEmitter", "Func": "getBranchTargetOpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8472, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_call_properties", "(", "aarch64_simd_builtin_datum", "*", "d", ")", "{", "unsigned", "int", "flags", "=", "d", "->", "flags", ";", "if", "(", "!", "(", "flags", "&", "FLAG_AUTO_FP", ")", "&&", "FLOAT_MODE_P", "(", "d", "->", "mode", ")", ")", "flags", "|=", "FLAG_FP", ";", "if", "(", "!", "flag_trapping_math", ")", "flags", "&=", "~", "FLAG_RAISE_FP_EXCEPTIONS", ";", "return", "flags", ";", "}", ""], "natrual_language": ["Return", "a", "set", "of", "FLAG_", "*", "flags", "that", "describe", "what", "the", "function", "could", "do", ",", "taking", "the", "command-line", "flags", "into", "account", "."], "TS_V_token": ["aarch64"], "File": "aarch64-builtins1", "Func": "aarch64_call_properties", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8473, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_expand_vi_general", "(", "machine_mode", "vmode", ",", "machine_mode", "imode", ",", "unsigned", "nelt", ",", "unsigned", "nvar", ",", "rtx", "target", ",", "rtx", "vals", ")", "{", "rtx", "mem", "=", "assign_stack_temp", "(", "vmode", ",", "GET_MODE_SIZE", "(", "vmode", ")", ")", ";", "unsigned", "int", "i", ",", "isize", "=", "GET_MODE_SIZE", "(", "imode", ")", ";", "if", "(", "nvar", "<", "nelt", ")", "mips_expand_vi_constant", "(", "vmode", ",", "nelt", ",", "mem", ",", "vals", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "{", "rtx", "x", "=", "XVECEXP", "(", "vals", ",", "0", ",", "i", ")", ";", "if", "(", "!", "mips_constant_elt_p", "(", "x", ")", ")", "emit_move_insn", "(", "adjust_address", "(", "mem", ",", "imode", ",", "i", "*", "isize", ")", ",", "x", ")", ";", "}", "emit_move_insn", "(", "target", ",", "mem", ")", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "mips_expand_vec_init", ",", "expand", "anything", "via", "memory", "."], "TS_V_token": ["mips", "0", "0"], "File": "mips", "Func": "mips_expand_vi_general", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8474, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64RegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "AArch64FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "AArch64", "::", "GPR32RegClassID", ":", "case", "AArch64", "::", "GPR32spRegClassID", ":", "case", "AArch64", "::", "GPR32allRegClassID", ":", "case", "AArch64", "::", "GPR64spRegClassID", ":", "case", "AArch64", "::", "GPR64allRegClassID", ":", "case", "AArch64", "::", "GPR64RegClassID", ":", "case", "AArch64", "::", "GPR32commonRegClassID", ":", "case", "AArch64", "::", "GPR64commonRegClassID", ":", "return", "32", "-", "1", "-", "(", "TFI", "->", "hasFP", "(", "MF", ")", "||", "TT", ".", "isOSDarwin", "(", ")", ")", "-", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isX18Reserved", "(", ")", "-", "hasBasePointer", "(", "MF", ")", ";", "case", "AArch64", "::", "FPR8RegClassID", ":", "case", "AArch64", "::", "FPR16RegClassID", ":", "case", "AArch64", "::", "FPR32RegClassID", ":", "case", "AArch64", "::", "FPR64RegClassID", ":", "case", "AArch64", "::", "FPR128RegClassID", ":", "return", "32", ";", "case", "AArch64", "::", "DDRegClassID", ":", "case", "AArch64", "::", "DDDRegClassID", ":", "case", "AArch64", "::", "DDDDRegClassID", ":", "case", "AArch64", "::", "QQRegClassID", ":", "case", "AArch64", "::", "QQQRegClassID", ":", "case", "AArch64", "::", "QQQQRegClassID", ":", "return", "32", ";", "case", "AArch64", "::", "FPR128_loRegClassID", ":", "return", "16", ";", "}", "}", ""], "natrual_language": ["Return", "the", "register", "pressure", "``", "high", "water", "mark", "''", "for", "the", "specific", "register", "class", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "0", "AArch64::GPR32RegClassID", "AArch64::GPR32spRegClassID", "AArch64::GPR32allRegClassID", "AArch64::GPR64spRegClassID", "AArch64::GPR64allRegClassID", "AArch64::GPR64RegClassID", "AArch64::GPR32commonRegClassID", "AArch64::GPR64commonRegClassID", "32", "1", "AArch64", "AArch64::FPR8RegClassID", "AArch64::FPR16RegClassID", "AArch64::FPR32RegClassID", "AArch64::FPR64RegClassID", "AArch64::FPR128RegClassID", "32", "AArch64::DDRegClassID", "AArch64::DDDRegClassID", "AArch64::DDDDRegClassID", "AArch64::QQRegClassID", "AArch64::QQQRegClassID", "AArch64::QQQQRegClassID", "32", "AArch64::FPR128_loRegClassID", "16"], "File": "AArch64RegisterInfo (2)", "Func": "getRegPressureLimit", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8475, "Length": 189, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "const", "TargetRegisterClass", "*", ",", "uint8_t", ">", "ARMTargetLowering", "::", "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", "::", "f32", ":", "case", "MVT", "::", "f64", ":", "case", "MVT", "::", "v8i8", ":", "case", "MVT", "::", "v4i16", ":", "case", "MVT", "::", "v2i32", ":", "case", "MVT", "::", "v1i64", ":", "case", "MVT", "::", "v2f32", ":", "RRC", "=", "&", "ARM", "::", "DPRRegClass", ";", "if", "(", "Subtarget", "->", "useNEONForSinglePrecisionFP", "(", ")", ")", "Cost", "=", "2", ";", "break", ";", "case", "MVT", "::", "v16i8", ":", "case", "MVT", "::", "v8i16", ":", "case", "MVT", "::", "v4i32", ":", "case", "MVT", "::", "v2i64", ":", "case", "MVT", "::", "v4f32", ":", "case", "MVT", "::", "v2f64", ":", "RRC", "=", "&", "ARM", "::", "DPRRegClass", ";", "Cost", "=", "2", ";", "break", ";", "case", "MVT", "::", "v4i64", ":", "RRC", "=", "&", "ARM", "::", "DPRRegClass", ";", "Cost", "=", "4", ";", "break", ";", "case", "MVT", "::", "v8i64", ":", "RRC", "=", "&", "ARM", "::", "DPRRegClass", ";", "Cost", "=", "8", ";", "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": ["ARM", "ARM", "1", "MVT::f32", "MVT::f64", "MVT::v8i8", "MVT::v4i16", "MVT::v2i32", "MVT::v1i64", "MVT::v2f32", "ARM::DPRRegClass", "2", "MVT::v16i8", "MVT::v8i16", "MVT::v4i32", "MVT::v2i64", "MVT::v4f32", "MVT::v2f64", "ARM::DPRRegClass", "2", "MVT::v4i64", "ARM::DPRRegClass", "4", "MVT::v8i64", "ARM::DPRRegClass", "8"], "File": "ARMISelLowering (2)2", "Func": "findRepresentativeClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8476, "Length": 202, "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": 8477, "Length": 101, "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", ")", ";", "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": "PPCTargetMachine40", "Func": "addPreRegAlloc", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8478, "Length": 96, "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": ["ARM"], "File": "ARMTargetMachine22", "Func": "getDataLayout", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8479, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "KnownBits", "&", "Known", ",", "const", "APInt", "&", "DemandedElts", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "unsigned", "BitWidth", "=", "Known", ".", "getBitWidth", "(", ")", ";", "Known", ".", "resetAll", "(", ")", ";", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ARMISD", "::", "ADDC", ":", "case", "ARMISD", "::", "ADDE", ":", "case", "ARMISD", "::", "SUBC", ":", "case", "ARMISD", "::", "SUBE", ":", "if", "(", "Op", ".", "getResNo", "(", ")", "==", "0", ")", "{", "SDValue", "LHS", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "SDValue", "RHS", "=", "Op", ".", "getOperand", "(", "1", ")", ";", "if", "(", "Op", "->", "getOpcode", "(", ")", "==", "ARMISD", "::", "ADDE", "&&", "isNullConstant", "(", "LHS", ")", "&&", "isNullConstant", "(", "RHS", ")", ")", "{", "Known", ".", "Zero", "|=", "APInt", "::", "getHighBitsSet", "(", "BitWidth", ",", "BitWidth", "-", "1", ")", ";", "return", ";", "}", "}", "break", ";", "case", "ARMISD", "::", "CMOV", ":", "{", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "0", ")", ",", "Known", ",", "Depth", "+", "1", ")", ";", "if", "(", "Known", ".", "isUnknown", "(", ")", ")", "return", ";", "KnownBits", "KnownRHS", ";", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "1", ")", ",", "KnownRHS", ",", "Depth", "+", "1", ")", ";", "Known", ".", "Zero", "&=", "KnownRHS", ".", "Zero", ";", "Known", ".", "One", "&=", "KnownRHS", ".", "One", ";", "return", ";", "}", "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", "::", "arm_ldaex", ":", "case", "Intrinsic", "::", "arm_ldrex", ":", "{", "EVT", "VT", "=", "cast", "<", "MemIntrinsicSDNode", ">", "(", "Op", ")", "->", "getMemoryVT", "(", ")", ";", "unsigned", "MemBits", "=", "VT", ".", "getScalarSizeInBits", "(", ")", ";", "Known", ".", "Zero", "|=", "APInt", "::", "getHighBitsSet", "(", "BitWidth", ",", "BitWidth", "-", "MemBits", ")", ";", "return", ";", "}", "}", "}", "case", "ARMISD", "::", "BFI", ":", "{", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "0", ")", ",", "Known", ",", "Depth", "+", "1", ")", ";", "ConstantSDNode", "*", "CI", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "2", ")", ")", ";", "const", "APInt", "&", "Mask", "=", "CI", "->", "getAPIntValue", "(", ")", ";", "Known", ".", "Zero", "&=", "Mask", ";", "Known", ".", "One", "&=", "Mask", ";", "return", ";", "}", "}", "}", ""], "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": ["ARM", "ARM", "ARMISD::ADDC", "ARMISD::ADDE", "ARMISD::SUBC", "ARMISD::SUBE", "0", "0", "1", "ARMISD::ADDE", "1", "ARMISD::CMOV", "0", "1", "1", "1", "ISD::INTRINSIC_W_CHAIN", "1", "Intrinsic::ID", "Intrinsic::ID", "Intrinsic::arm_ldaex", "Intrinsic::arm_ldrex", "ARMISD::BFI", "0", "1", "2"], "File": "ARMISelLowering106", "Func": "computeKnownBitsForTargetNode", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8480, "Length": 400, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mips_adjust_insn_length", "(", "rtx_insn", "*", "insn", ",", "int", "length", ")", "{", "if", "(", "length", "==", "MAX_PIC_BRANCH_LENGTH", "&&", "JUMP_P", "(", "insn", ")", "&&", "INSN_CODE", "(", "insn", ")", ">=", "0", "&&", "get_attr_type", "(", "insn", ")", "==", "TYPE_BRANCH", ")", "{", "length", "=", "simplejump_p", "(", "insn", ")", "?", "0", ":", "8", ";", "length", "+=", "BASE_INSN_LENGTH", "*", "mips_load_label_num_insns", "(", ")", ";", "length", "+=", "TARGET_COMPRESSION", "?", "2", ":", "4", ";", "}", "if", "(", "CALL_P", "(", "insn", ")", "||", "(", "TARGET_MIPS16", "?", "simplejump_p", "(", "insn", ")", ":", "JUMP_P", "(", "insn", ")", ")", ")", "length", "+=", "TARGET_MIPS16", "?", "2", ":", "4", ";", "if", "(", "!", "cfun", "->", "machine", "->", "ignore_hazard_length_p", "&&", "INSN_P", "(", "insn", ")", "&&", "INSN_CODE", "(", "insn", ")", ">=", "0", ")", "switch", "(", "get_attr_hazard", "(", "insn", ")", ")", "{", "case", "HAZARD_NONE", ":", "break", ";", "case", "HAZARD_DELAY", ":", "length", "+=", "NOP_INSN_LENGTH", ";", "break", ";", "case", "HAZARD_HILO", ":", "length", "+=", "NOP_INSN_LENGTH", "*", "2", ";", "break", ";", "}", "return", "length", ";", "}", ""], "natrual_language": ["Return", "the", "length", "of", "INSN", ".", "LENGTH", "is", "the", "initial", "length", "computed", "by", "attributes", "in", "the", "machine-description", "file", "."], "TS_V_token": ["mips", "0", "0", "8", "2", "4", "2", "4", "0", "2"], "File": "mips4", "Func": "mips_adjust_insn_length", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8481, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_expand_builtin_direct", "(", "enum", "insn_code", "icode", ",", "rtx", "target", ",", "tree", "exp", ",", "bool", "has_target_p", ")", "{", "struct", "expand_operand", "ops", "[", "MAX_RECOG_OPERANDS", "]", ";", "int", "opno", ",", "argno", ";", "opno", "=", "0", ";", "if", "(", "has_target_p", ")", "create_output_operand", "(", "&", "ops", "[", "opno", "++", "]", ",", "target", ",", "TYPE_MODE", "(", "TREE_TYPE", "(", "exp", ")", ")", ")", ";", "gcc_assert", "(", "opno", "+", "call_expr_nargs", "(", "exp", ")", "==", "insn_data", "[", "icode", "]", ".", "n_generator_args", ")", ";", "for", "(", "argno", "=", "0", ";", "argno", "<", "call_expr_nargs", "(", "exp", ")", ";", "argno", "++", ")", "mips_prepare_builtin_arg", "(", "&", "ops", "[", "opno", "++", "]", ",", "exp", ",", "argno", ")", ";", "return", "mips_expand_builtin_insn", "(", "icode", ",", "opno", ",", "ops", ",", "has_target_p", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "MIPS_BUILTIN_DIRECT", "function", ".", "ICODE", "is", "the", "code", "of", "the", ".md", "pattern", "and", "ARGLIST", "is", "the", "list", "of", "function", "arguments", ".", "TARGET", ",", "if", "nonnull", ",", "suggests", "a", "good", "place", "to", "put", "the", "result", ".", "HAS_TARGET", "indicates", "the", "function", "must", "return", "something", "."], "TS_V_token": ["mips", "0", "0"], "File": "mips", "Func": "mips_expand_builtin_direct", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8482, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LC2200MCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "Inst", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "uint32_t", "CurByte", "=", "0", ";", "unsigned", "Value", "=", "getBinaryCodeForInstr", "(", "Inst", ",", "Fixups", ",", "STI", ")", ";", "EmitBEConstant", "(", "Value", ",", "4", ",", "CurByte", ",", "OS", ")", ";", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["LC2200", "LC2200", "0", "4"], "File": "LC2200MCCodeEmitter", "Func": "encodeInstruction", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8483, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "mayBeEmittedAsTailCall", "(", "CallInst", "*", "CI", ")", "const", "{", "if", "(", "!", "CI", "->", "isTailCall", "(", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "may", "be", "able", "emit", "the", "call", "instruction", "as", "a", "tail", "call", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ISelLowering (2)1", "Func": "mayBeEmittedAsTailCall", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8484, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_legitimate_constant_p", "(", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "if", "(", "POINTER_BOUNDS_MODE_P", "(", "GET_MODE", "(", "x", ")", ")", ")", "return", "false", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "CONST", ":", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "{", "if", "(", "!", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "return", "false", ";", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "}", "if", "(", "TARGET_MACHO", "&&", "darwin_local_data_pic", "(", "x", ")", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", ")", "switch", "(", "XINT", "(", "x", ",", "1", ")", ")", "{", "case", "UNSPEC_GOT", ":", "case", "UNSPEC_GOTOFF", ":", "case", "UNSPEC_PLTOFF", ":", "return", "TARGET_64BIT", ";", "case", "UNSPEC_TPOFF", ":", "case", "UNSPEC_NTPOFF", ":", "x", "=", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ";", "return", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", "==", "TLS_MODEL_LOCAL_EXEC", ")", ";", "case", "UNSPEC_DTPOFF", ":", "x", "=", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ";", "return", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", "==", "TLS_MODEL_LOCAL_DYNAMIC", ")", ";", "default", ":", "return", "false", ";", "}", "if", "(", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "SYMBOL_REF", ")", "return", "false", ";", "case", "SYMBOL_REF", ":", "if", "(", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", ")", "return", "false", ";", "if", "(", "TARGET_DLLIMPORT_DECL_ATTRIBUTES", "&&", "SYMBOL_REF_DLLIMPORT_P", "(", "x", ")", ")", "return", "false", ";", "if", "(", "MACHO_DYNAMIC_NO_PIC_P", ")", "return", "machopic_symbol_defined_p", "(", "x", ")", ";", "if", "(", "ix86_force_load_from_GOT_p", "(", "x", ")", ")", "return", "false", ";", "break", ";", "CASE_CONST_SCALAR_INT", ":", "switch", "(", "mode", ")", "{", "case", "E_TImode", ":", "if", "(", "TARGET_64BIT", ")", "return", "true", ";", "case", "E_OImode", ":", "case", "E_XImode", ":", "if", "(", "!", "standard_sse_constant_p", "(", "x", ",", "mode", ")", ")", "return", "false", ";", "default", ":", "break", ";", "}", "break", ";", "case", "CONST_VECTOR", ":", "if", "(", "!", "standard_sse_constant_p", "(", "x", ",", "mode", ")", ")", "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": ["i386", "0", "1", "0", "1", "0", "0", "0", "0"], "File": "i3867", "Func": "ix86_legitimate_constant_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8485, "Length": 333, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "long", "rs6000_arg_size", "(", "enum", "machine_mode", "mode", ",", "tree", "type", ")", "{", "unsigned", "long", "size", ";", "if", "(", "mode", "!=", "BLKmode", ")", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "else", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "if", "(", "TARGET_32BIT", ")", "return", "(", "size", "+", "3", ")", ">>", "2", ";", "else", "return", "(", "size", "+", "7", ")", ">>", "3", ";", "}", ""], "natrual_language": ["Compute", "the", "size", "(", "in", "words", ")", "of", "a", "function", "argument", "."], "TS_V_token": ["rs6000", "3", "2", "7", "3"], "File": "rs60003", "Func": "rs6000_arg_size", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8486, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64RegisterInfo", "::", "useFPForScavengingIndex", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "AArch64FrameLowering", "&", "TFI", "=", "*", "getFrameLowering", "(", "MF", ")", ";", "return", "TFI", ".", "hasFP", "(", "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"], "File": "AArch64RegisterInfo", "Func": "useFPForScavengingIndex", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8487, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_n10_mm_to_ex_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "rtx", "def_reg", ";", "switch", "(", "get_attr_type", "(", "producer", ")", ")", "{", "case", "TYPE_LOAD", ":", "case", "TYPE_MUL", ":", "case", "TYPE_MAC", ":", "case", "TYPE_DALU64", ":", "case", "TYPE_DMUL", ":", "case", "TYPE_DMAC", ":", "case", "TYPE_DALUROUND", ":", "case", "TYPE_DBPICK", ":", "case", "TYPE_DWEXT", ":", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "break", ";", "case", "TYPE_DIV", ":", "if", "(", "divmod_p", "(", "producer", ")", ")", "{", "rtx", "def_reg1", "=", "SET_DEST", "(", "parallel_element", "(", "producer", ",", "0", ")", ")", ";", "rtx", "def_reg2", "=", "SET_DEST", "(", "parallel_element", "(", "producer", ",", "1", ")", ")", ";", "return", "(", "n10_consumed_by_ex_dep_p", "(", "consumer", ",", "def_reg1", ")", "||", "n10_consumed_by_ex_dep_p", "(", "consumer", ",", "def_reg2", ")", ")", ";", "}", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "n10_consumed_by_ex_dep_p", "(", "consumer", ",", "def_reg", ")", ";", "}", ""], "natrual_language": ["Check", "dependencies", "from", "MM", "to", "EX", "."], "TS_V_token": ["nds32", "0", "1"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n10_mm_to_ex_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8488, "Length": 145, "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": ["ARM"], "File": "ARMAsmParser (2)", "Func": "isImm", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8489, "Length": 13, "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": 8490, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isGPRCopy", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "TargetOpcode", "::", "COPY", ":", "{", "unsigned", "DstReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "return", "(", "AArch64", "::", "GPR32RegClass", ".", "contains", "(", "DstReg", ")", "||", "AArch64", "::", "GPR64RegClass", ".", "contains", "(", "DstReg", ")", ")", ";", "}", "case", "AArch64", "::", "ORRXrs", ":", "if", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "AArch64", "::", "XZR", ")", "{", "assert", "(", "MI", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", "==", "4", "&&", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "==", "0", "&&", "\"invalid ORRrs operands\"", ")", ";", "return", "true", ";", "}", "case", "AArch64", "::", "ADDXri", ":", "if", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "0", ")", "{", "assert", "(", "MI", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", "==", "4", "&&", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "==", "0", "&&", "\"invalid ADDXri operands\"", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Does", "this", "instruction", "rename", "a", "GPR", "without", "modifying", "bits", "?"], "TS_V_token": ["AArch64", "AArch64", "0", "AArch64::GPR32RegClass", "AArch64::GPR64RegClass", "AArch64::ORRXrs", "1", "AArch64::XZR", "4", "3", "0", "\"invalid ORRrs operands\"", "AArch64::ADDXri", "2", "0", "4", "3", "0", "\"invalid ADDXri operands\""], "File": "AArch64InstrInfo4", "Func": "isGPRCopy", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8491, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "setSpecialOperandAttr", "(", "MachineInstr", "&", "OldMI1", ",", "MachineInstr", "&", "OldMI2", ",", "MachineInstr", "&", "NewMI1", ",", "MachineInstr", "&", "NewMI2", ")", "const", "{", "MachineOperand", "*", "OldFlagDef1", "=", "OldMI1", ".", "findRegisterDefOperand", "(", "X86", "::", "EFLAGS", ")", ";", "MachineOperand", "*", "OldFlagDef2", "=", "OldMI2", ".", "findRegisterDefOperand", "(", "X86", "::", "EFLAGS", ")", ";", "assert", "(", "!", "OldFlagDef1", "==", "!", "OldFlagDef2", "&&", "\"Unexpected instruction type for reassociation\"", ")", ";", "if", "(", "!", "OldFlagDef1", "||", "!", "OldFlagDef2", ")", "return", ";", "assert", "(", "OldFlagDef1", "->", "isDead", "(", ")", "&&", "OldFlagDef2", "->", "isDead", "(", ")", "&&", "\"Must have dead EFLAGS operand in reassociable instruction\"", ")", ";", "MachineOperand", "*", "NewFlagDef1", "=", "NewMI1", ".", "findRegisterDefOperand", "(", "X86", "::", "EFLAGS", ")", ";", "MachineOperand", "*", "NewFlagDef2", "=", "NewMI2", ".", "findRegisterDefOperand", "(", "X86", "::", "EFLAGS", ")", ";", "assert", "(", "NewFlagDef1", "&&", "NewFlagDef2", "&&", "\"Unexpected operand in reassociable instruction\"", ")", ";", "NewFlagDef1", "->", "setIsDead", "(", ")", ";", "NewFlagDef2", "->", "setIsDead", "(", ")", ";", "}", ""], "natrual_language": ["This", "is", "an", "architecture-specific", "helper", "function", "of", "reassociateOps", "."], "TS_V_token": ["X86", "X86", "X86::EFLAGS", "X86::EFLAGS", "\"Unexpected instruction type for reassociation\"", "\"Must have dead EFLAGS operand in reassociable instruction\"", "X86::EFLAGS", "X86::EFLAGS", "\"Unexpected operand in reassociable instruction\""], "File": "X86InstrInfo106", "Func": "setSpecialOperandAttr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8492, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FixupBWInstPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "!", "FixupBWInsts", "||", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "this", "->", "MF", "=", "&", "MF", ";", "TII", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "OptForSize", "=", "MF", ".", "getFunction", "(", ")", ".", "optForSize", "(", ")", ";", "MLI", "=", "&", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "LiveRegs", ".", "init", "(", "TII", "->", "getRegisterInfo", "(", ")", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Start X86FixupBWInsts\\n\"", ";", ")", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "processBasicBlock", "(", "MF", ",", "MBB", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"End X86FixupBWInsts\\n\"", ";", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "\"Start X86FixupBWInsts\\n\"", "\"End X86FixupBWInsts\\n\""], "File": "X86FixupBWInsts20", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8493, "Length": 121, "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": 8494, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getExceptionPointerRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "override", "{", "return", "ABI", ".", "IsN64", "(", ")", "?", "Mips", "::", "A0_64", ":", "Mips", "::", "A0", ";", "}", ""], "natrual_language": ["If", "a", "physical", "register", ",", "this", "returns", "the", "register", "that", "receives", "the", "exception", "address", "on", "entry", "to", "an", "EH", "pad", "."], "TS_V_token": ["Mips", "Mips::A0_64", "Mips::A0"], "File": "MipsISelLowering (2)", "Func": "getExceptionPointerRegister", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8495, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "KudeyarRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", "->", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "const", "Function", "*", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "*", "MF", ")", ")", "return", "(", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "Kudeyar_INTR", "?", "CSR_FP_INTR_SaveList", ":", "CSR_FP_SaveList", ")", ";", "else", "return", "(", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "Kudeyar_INTR", "?", "CSR_NoFP_INTR_SaveList", ":", "CSR_NoFP_SaveList", ")", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["Kudeyar", "Kudeyar", "Kudeyar", "Kudeyar"], "File": "KudeyarRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8496, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86MachineInstrPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "outs", "(", ")", "<<", "\"Contents of MachineBasicBlock:\\n\"", ";", "outs", "(", ")", "<<", "MBB", "<<", "\"\\n\"", ";", "}", "outs", "(", ")", "<<", "\"\\n\\n\"", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "\"Contents of MachineBasicBlock:\\n\"", "\"\\n\"", "\"\\n\\n\""], "File": "printInfo", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8497, "Length": 44, "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": 8498, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "const", "TargetRegisterClass", "*", ",", "uint8_t", ">", "AArch64TargetLowering", "::", "findRepresentativeClass", "(", "MVT", "VT", ")", "const", "{", "const", "TargetRegisterClass", "*", "RRC", "=", "0", ";", "uint8_t", "Cost", "=", "1", ";", "switch", "(", "VT", ".", "SimpleTy", ")", "{", "default", ":", "return", "TargetLowering", "::", "findRepresentativeClass", "(", "VT", ")", ";", "case", "MVT", "::", "v4i64", ":", "RRC", "=", "&", "AArch64", "::", "QPairRegClass", ";", "Cost", "=", "2", ";", "break", ";", "case", "MVT", "::", "v8i64", ":", "RRC", "=", "&", "AArch64", "::", "QQuadRegClass", ";", "Cost", "=", "4", ";", "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": ["AArch64", "AArch64", "0", "1", "MVT::v4i64", "AArch64::QPairRegClass", "2", "MVT::v8i64", "AArch64::QQuadRegClass", "4"], "File": "AArch64ISelLowering126", "Func": "findRepresentativeClass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8499, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetObjectFile", "::", "IsGlobalInSmallSection", "(", "const", "GlobalValue", "*", "GV", ",", "const", "TargetMachine", "&", "TM", ",", "SectionKind", "Kind", ")", "const", "{", "const", "MipsSubtarget", "&", "Subtarget", "=", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "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", ".", "getSubtargetImpl", "(", ")", "->", "getDataLayout", "(", ")", "->", "getTypeAllocSize", "(", "Ty", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "global", "address", "should", "be", "placed", "into", "small", "data/bss", "section", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips"], "File": "MipsTargetObjectFile44", "Func": "IsGlobalInSmallSection", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8500, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "DCPU16FrameLowering", "::", "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": ["Dcpu16", "DCPU16"], "File": "Dcpu16FrameLowering", "Func": "hasFP", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8501, "Length": 56, "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", "->", "isThumb1Only", "(", ")", ")", "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", ";", "if", "(", "Arg", ".", "hasByValOrInAllocaAttr", "(", ")", ")", "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", "(", ")", ")", ";", "if", "(", "!", "handleAssignments", "(", "MIRBuilder", ",", "ArgInfos", ",", "ArgHandler", ")", ")", "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": ["ARM", "ARM", "ARM", "8", "4", "0"], "File": "ARMCallLowering (2)", "Func": "lowerFormalArguments", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8502, "Length": 359, "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", "(", "MIRBuilder", ",", "ArgInfos", ",", "OrigArgIndices", ",", "[", "&", "]", "(", "ISD", "::", "ArgFlagsTy", "flags", ",", "EVT", "vt", ",", "EVT", "argvt", ",", "bool", "used", ",", "unsigned", "origIdx", ",", "unsigned", "partOffs", ")", "{", "Ins", ".", "emplace_back", "(", "flags", ",", "vt", ",", "argvt", ",", "used", ",", "origIdx", ",", "partOffs", ")", ";", "}", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "MipsCCState", "CCInfo", "(", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ",", "MF", ",", "ArgLocs", ",", "F", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "TLI", ".", "CCAssignFnForCall", "(", ")", ")", ";", "IncomingValueHandler", "Handler", "(", "MIRBuilder", ",", "MIRBuilder", ".", "getMF", "(", ")", ".", "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", "ISD::ArgFlagsTy", "16", "Mips"], "File": "MipsCallLowering6", "Func": "lowerFormalArguments", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8503, "Length": 333, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64A57FPLoadBalancing", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "if", "(", "!", "(", "F", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isCortexA53", "(", ")", "||", "F", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isCortexA57", "(", ")", ")", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** AArch64A57FPLoadBalancing *****\\n\"", ")", ";", "MRI", "=", "&", "F", ".", "getRegInfo", "(", ")", ";", "TRI", "=", "F", ".", "getRegInfo", "(", ")", ".", "getTargetRegisterInfo", "(", ")", ";", "RCI", ".", "runOnMachineFunction", "(", "F", ")", ";", "for", "(", "auto", "&", "MBB", ":", "F", ")", "{", "Changed", "|=", "runOnBasicBlock", "(", "MBB", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "\"***** AArch64A57FPLoadBalancing *****\\n\""], "File": "AArch64A57FPLoadBalancing", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8504, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "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", "\".word\"", "2", "\".llong\"", "8", "\".tc\"", "PPC", "8", "4", "\".machine\"", "\".abiversion\"", "\".localentry\""], "File": "PPCAsmParser15", "Func": "ParseDirective", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8505, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mips_return_addr", "(", "int", "count", ",", "rtx", "frame", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "count", "!=", "0", ")", "return", "const0_rtx", ";", "return", "get_hard_reg_initial_val", "(", "Pmode", ",", "RETURN_ADDR_REGNUM", ")", ";", "}", ""], "natrual_language": ["Implement", "RETURN_ADDR_RTX", ".", "Note", ",", "we", "do", "not", "support", "moving", "back", "to", "a", "previous", "frame", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips_return_addr", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8506, "Length": 29, "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", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsSEISelLowering34", "Func": "EmitInstrWithCustomInserter", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8507, "Length": 39, "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", ";", "tree", "new_target", ",", "new_optimize", ";", "tree", "func_optimize", ";", "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\"", ")", ";", "}", "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", ";", "old_optimize", "=", "build_optimization_node", "(", "&", "global_options", ",", "&", "global_options_set", ")", ";", "func_optimize", "=", "DECL_FUNCTION_SPECIFIC_OPTIMIZATION", "(", "fndecl", ")", ";", "if", "(", "func_optimize", "&&", "func_optimize", "!=", "old_optimize", ")", "cl_optimization_restore", "(", "&", "global_options", ",", "&", "global_options_set", ",", "TREE_OPTIMIZATION", "(", "func_optimize", ")", ")", ";", "cl_target_option_save", "(", "&", "cur_target", ",", "&", "global_options", ",", "&", "global_options_set", ")", ";", "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", ",", "&", "global_options_set", ")", ";", "}", "else", "new_target", "=", "NULL", ";", "new_optimize", "=", "build_optimization_node", "(", "&", "global_options", ",", "&", "global_options_set", ")", ";", "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", ",", "&", "global_options_set", ",", "&", "cur_target", ")", ";", "if", "(", "old_optimize", "!=", "new_optimize", ")", "cl_optimization_restore", "(", "&", "global_options", ",", "&", "global_options_set", ",", "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\"", "\"default\"", "0", "1"], "File": "rs6000", "Func": "rs6000_valid_attribute_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8508, "Length": 369, "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": 8509, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "canInsertSelect", "(", "const", "MachineBasicBlock", "&", "MBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "unsigned", "TrueReg", ",", "unsigned", "FalseReg", ",", "int", "&", "CondCycles", ",", "int", "&", "TrueCycles", ",", "int", "&", "FalseCycles", ")", "const", "{", "const", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "RI", ".", "getCommonSubClass", "(", "MRI", ".", "getRegClass", "(", "TrueReg", ")", ",", "MRI", ".", "getRegClass", "(", "FalseReg", ")", ")", ";", "if", "(", "!", "RC", ")", "return", "false", ";", "unsigned", "ExtraCondLat", "=", "Cond", ".", "size", "(", ")", "!=", "1", ";", "if", "(", "AArch64", "::", "GPR64allRegClass", ".", "hasSubClassEq", "(", "RC", ")", "||", "AArch64", "::", "GPR32allRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "CondCycles", "=", "1", "+", "ExtraCondLat", ";", "TrueCycles", "=", "FalseCycles", "=", "1", ";", "if", "(", "canFoldIntoCSel", "(", "MRI", ",", "TrueReg", ")", ")", "TrueCycles", "=", "0", ";", "else", "if", "(", "canFoldIntoCSel", "(", "MRI", ",", "FalseReg", ")", ")", "FalseCycles", "=", "0", ";", "return", "true", ";", "}", "if", "(", "AArch64", "::", "FPR64RegClass", ".", "hasSubClassEq", "(", "RC", ")", "||", "AArch64", "::", "FPR32RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "CondCycles", "=", "5", "+", "ExtraCondLat", ";", "TrueCycles", "=", "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": ["AArch64", "AArch64", "1", "AArch64::GPR64allRegClass", "AArch64::GPR32allRegClass", "1", "1", "0", "0", "AArch64::FPR64RegClass", "AArch64::FPR32RegClass", "5", "2"], "File": "AArch64InstrInfo1", "Func": "canInsertSelect", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8510, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "LEGFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "LEG", "::", "ADJCALLSTACKUP", "||", "I", "->", "getOpcode", "(", ")", "==", "LEG", "::", "ADJCALLSTACKDOWN", ")", "{", "return", "MBB", ".", "erase", "(", "I", ")", ";", "}", "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": ["LEG", "LEG", "LEG::ADJCALLSTACKUP", "LEG::ADJCALLSTACKDOWN"], "File": "LEGFrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8511, "Length": 58, "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": ["CSKY"], "File": "CSKYAsmParser", "Func": "getEndLoc", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8512, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "SystemZRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "SystemZ", "::", "R11D", ")", ";", "Reserved", ".", "set", "(", "SystemZ", "::", "R14D", ")", ";", "Reserved", ".", "set", "(", "SystemZ", "::", "R15D", ")", ";", "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::R11D", "SystemZ::R14D", "SystemZ::R15D"], "File": "SystemZRegisterInfo13", "Func": "getReservedRegs", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8513, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16InstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", "->", "getParent", "(", ")", ";", "switch", "(", "MI", "->", "getDesc", "(", ")", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Mips", "::", "BteqzT8CmpX16", ":", "ExpandFEXT_T8I816_ins", "(", "MBB", ",", "MI", ",", "Mips", "::", "BteqzX16", ",", "Mips", "::", "CmpRxRy16", ")", ";", "break", ";", "case", "Mips", "::", "BteqzT8CmpiX16", ":", "ExpandFEXT_T8I8I16_ins", "(", "MBB", ",", "MI", ",", "Mips", "::", "BteqzX16", ",", "Mips", "::", "CmpiRxImm16", ",", "Mips", "::", "CmpiRxImmX16", ")", ";", "break", ";", "case", "Mips", "::", "BteqzT8SltX16", ":", "ExpandFEXT_T8I816_ins", "(", "MBB", ",", "MI", ",", "Mips", "::", "BteqzX16", ",", "Mips", "::", "SltRxRy16", ")", ";", "break", ";", "case", "Mips", "::", "BteqzT8SltiX16", ":", "ExpandFEXT_T8I8I16_ins", "(", "MBB", ",", "MI", ",", "Mips", "::", "BteqzX16", ",", "Mips", "::", "SltiRxImm16", ",", "Mips", "::", "SltiRxImmX16", ")", ";", "break", ";", "case", "Mips", "::", "BteqzT8SltuX16", ":", "ExpandFEXT_T8I816_ins", "(", "MBB", ",", "MI", ",", "Mips", "::", "BteqzX16", ",", "Mips", "::", "SltuRxRy16", ")", ";", "break", ";", "case", "Mips", "::", "BteqzT8SltiuX16", ":", "ExpandFEXT_T8I8I16_ins", "(", "MBB", ",", "MI", ",", "Mips", "::", "BteqzX16", ",", "Mips", "::", "SltiuRxImm16", ",", "Mips", "::", "SltiuRxImmX16", ")", ";", "break", ";", "case", "Mips", "::", "BtnezT8CmpX16", ":", "ExpandFEXT_T8I816_ins", "(", "MBB", ",", "MI", ",", "Mips", "::", "BtnezX16", ",", "Mips", "::", "CmpRxRy16", ")", ";", "break", ";", "case", "Mips", "::", "BtnezT8CmpiX16", ":", "ExpandFEXT_T8I8I16_ins", "(", "MBB", ",", "MI", ",", "Mips", "::", "BtnezX16", ",", "Mips", "::", "CmpiRxImm16", ",", "Mips", "::", "CmpiRxImmX16", ")", ";", "break", ";", "case", "Mips", "::", "BtnezT8SltX16", ":", "ExpandFEXT_T8I816_ins", "(", "MBB", ",", "MI", ",", "Mips", "::", "BtnezX16", ",", "Mips", "::", "SltRxRy16", ")", ";", "break", ";", "case", "Mips", "::", "BtnezT8SltiX16", ":", "ExpandFEXT_T8I8I16_ins", "(", "MBB", ",", "MI", ",", "Mips", "::", "BtnezX16", ",", "Mips", "::", "SltiRxImm16", ",", "Mips", "::", "SltiRxImmX16", ")", ";", "break", ";", "case", "Mips", "::", "BtnezT8SltuX16", ":", "ExpandFEXT_T8I816_ins", "(", "MBB", ",", "MI", ",", "Mips", "::", "BtnezX16", ",", "Mips", "::", "SltuRxRy16", ")", ";", "break", ";", "case", "Mips", "::", "BtnezT8SltiuX16", ":", "ExpandFEXT_T8I8I16_ins", "(", "MBB", ",", "MI", ",", "Mips", "::", "BtnezX16", ",", "Mips", "::", "SltiuRxImm16", ",", "Mips", "::", "SltiuRxImmX16", ")", ";", "break", ";", "case", "Mips", "::", "RetRA16", ":", "ExpandRetRA16", "(", "MBB", ",", "MI", ",", "Mips", "::", "JrcRa16", ")", ";", "break", ";", "case", "Mips", "::", "SltCCRxRy16", ":", "ExpandFEXT_CCRX16_ins", "(", "MBB", ",", "MI", ",", "Mips", "::", "SltRxRy16", ")", ";", "break", ";", "case", "Mips", "::", "SltiCCRxImmX16", ":", "ExpandFEXT_CCRXI16_ins", "(", "MBB", ",", "MI", ",", "Mips", "::", "SltiRxImm16", ",", "Mips", "::", "SltiRxImmX16", ")", ";", "break", ";", "case", "Mips", "::", "SltiuCCRxImmX16", ":", "ExpandFEXT_CCRXI16_ins", "(", "MBB", ",", "MI", ",", "Mips", "::", "SltiuRxImm16", ",", "Mips", "::", "SltiuRxImmX16", ")", ";", "break", ";", "case", "Mips", "::", "SltuCCRxRy16", ":", "ExpandFEXT_CCRX16_ins", "(", "MBB", ",", "MI", ",", "Mips", "::", "SltuRxRy16", ")", ";", "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::BteqzT8CmpX16", "Mips::BteqzX16", "Mips::CmpRxRy16", "Mips::BteqzT8CmpiX16", "Mips::BteqzX16", "Mips::CmpiRxImm16", "Mips::CmpiRxImmX16", "Mips::BteqzT8SltX16", "Mips::BteqzX16", "Mips::SltRxRy16", "Mips::BteqzT8SltiX16", "Mips::BteqzX16", "Mips::SltiRxImm16", "Mips::SltiRxImmX16", "Mips::BteqzT8SltuX16", "Mips::BteqzX16", "Mips::SltuRxRy16", "Mips::BteqzT8SltiuX16", "Mips::BteqzX16", "Mips::SltiuRxImm16", "Mips::SltiuRxImmX16", "Mips::BtnezT8CmpX16", "Mips::BtnezX16", "Mips::CmpRxRy16", "Mips::BtnezT8CmpiX16", "Mips::BtnezX16", "Mips::CmpiRxImm16", "Mips::CmpiRxImmX16", "Mips::BtnezT8SltX16", "Mips::BtnezX16", "Mips::SltRxRy16", "Mips::BtnezT8SltiX16", "Mips::BtnezX16", "Mips::SltiRxImm16", "Mips::SltiRxImmX16", "Mips::BtnezT8SltuX16", "Mips::BtnezX16", "Mips::SltuRxRy16", "Mips::BtnezT8SltiuX16", "Mips::BtnezX16", "Mips::SltiuRxImm16", "Mips::SltiuRxImmX16", "Mips::RetRA16", "Mips::JrcRa16", "Mips::SltCCRxRy16", "Mips::SltRxRy16", "Mips::SltiCCRxImmX16", "Mips::SltiRxImm16", "Mips::SltiRxImmX16", "Mips::SltiuCCRxImmX16", "Mips::SltiuRxImm16", "Mips::SltiuRxImmX16", "Mips::SltuCCRxRy16", "Mips::SltuRxRy16"], "File": "Mips16InstrInfo12", "Func": "expandPostRAPseudo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8514, "Length": 439, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "VariantKind", "getKind", "(", ")", "const", "{", "return", "Kind", ";", "}", ""], "natrual_language": ["Returns", "the", "Kind", "of", "lane", "offset", "."], "TS_V_token": ["CAHP"], "File": "CAHPMCExpr", "Func": "getKind", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8515, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseRegisterInfo", "::", "hasReservedCallFrame", "(", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "FFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "CFSize", "=", "FFI", "->", "getMaxCallFrameSize", "(", ")", ";", "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", "1", "12", "1", "2"], "File": "ARMBaseRegisterInfo12", "Func": "hasReservedCallFrame", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8516, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARM64AsmParser", "::", "validateTargetOperandClass", "(", "MCParsedAsmOperand", "*", "AsmOp", ",", "unsigned", "Kind", ")", "{", "ARM64Operand", "*", "Op", "=", "static_cast", "<", "ARM64Operand", "*", ">", "(", "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": ["ARM64", "ARM64", "ARM64", "ARM64", "0", "1", "12", "16", "2", "24", "3", "32", "4", "48", "6", "64", "8"], "File": "ARM64AsmParser", "Func": "validateTargetOperandClass", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8517, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "opt_machine_mode", "aarch64_sve_data_mode", "(", "scalar_mode", "inner_mode", ",", "poly_uint64", "nunits", ")", "{", "enum", "mode_class", "mclass", "=", "(", "is_a", "<", "scalar_float_mode", ">", "(", "inner_mode", ")", "?", "MODE_VECTOR_FLOAT", ":", "MODE_VECTOR_INT", ")", ";", "machine_mode", "mode", ";", "FOR_EACH_MODE_IN_CLASS", "(", "mode", ",", "mclass", ")", "if", "(", "inner_mode", "==", "GET_MODE_INNER", "(", "mode", ")", "&&", "known_eq", "(", "nunits", ",", "GET_MODE_NUNITS", "(", "mode", ")", ")", "&&", "aarch64_sve_data_mode_p", "(", "mode", ")", ")", "return", "mode", ";", "return", "opt_machine_mode", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "SVE", "vector", "mode", "that", "has", "NUNITS", "elements", "of", "mode", "INNER_MODE", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_sve_data_mode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8518, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "int", "getOperandLatency", "(", "const", "InstrItineraryData", "*", "ItinData", ",", "SDNode", "*", "DefNode", ",", "unsigned", "DefIdx", ",", "SDNode", "*", "UseNode", ",", "unsigned", "UseIdx", ")", "const", "{", "return", "PPCGenInstrInfo", "::", "getOperandLatency", "(", "ItinData", ",", "DefNode", ",", "DefIdx", ",", "UseNode", ",", "UseIdx", ")", ";", "}", ""], "natrual_language": ["Compute", "and", "return", "the", "use", "operand", "latency", "of", "a", "given", "pair", "of", "def", "and", "use", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCInstrInfo40", "Func": "getOperandLatency", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8519, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16HardFloat", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"Run on Module Mips16HardFloat\\n\"", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "Module", "::", "iterator", "F", "=", "M", ".", "begin", "(", ")", ",", "E", "=", "M", ".", "end", "(", ")", ";", "F", "!=", "E", ";", "++", "F", ")", "{", "if", "(", "F", "->", "hasFnAttribute", "(", "\"nomips16\"", ")", "&&", "F", "->", "hasFnAttribute", "(", "\"use-soft-float\"", ")", ")", "{", "removeUseSoftFloat", "(", "*", "F", ")", ";", "continue", ";", "}", "if", "(", "F", "->", "isDeclaration", "(", ")", "||", "F", "->", "hasFnAttribute", "(", "\"mips16_fp_stub\"", ")", "||", "F", "->", "hasFnAttribute", "(", "\"nomips16\"", ")", ")", "continue", ";", "Modified", "|=", "fixupFPReturnAndCall", "(", "*", "F", ",", "&", "M", ",", "TM", ")", ";", "FPParamVariant", "V", "=", "whichFPParamVariantNeeded", "(", "*", "F", ")", ";", "if", "(", "V", "!=", "NoSig", ")", "{", "Modified", "=", "true", ";", "createFPFnStub", "(", "F", ",", "&", "M", ",", "V", ",", "TM", ")", ";", "}", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["Mips", "Mips", "\"Run on Module Mips16HardFloat\\n\"", "\"nomips16\"", "\"use-soft-float\"", "\"mips16_fp_stub\"", "\"nomips16\""], "File": "Mips16HardFloat13", "Func": "runOnModule", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8520, "Length": 154, "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", ";", "int", "ret2", "=", "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", ";", "}", "else", "if", "(", "TREE_CODE", "(", "field", ")", "==", "FIELD_DECL", "&&", "DECL_BIT_FIELD_TYPE", "(", "field", ")", "&&", "TYPE_ALIGN", "(", "DECL_BIT_FIELD_TYPE", "(", "field", ")", ")", ">", "PARM_BOUNDARY", ")", "ret2", "=", "1", ";", "if", "(", "ret2", ")", "return", "2", ";", "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", "0", "1", "1", "1", "2"], "File": "arm", "Func": "arm_needs_doubleword_align", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8521, "Length": 161, "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": 8522, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "LiveIntervals", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "LiveIntervals", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "SlotIndexes", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "SlotIndexes", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["PowerPC"], "File": "PPCInstrInfo62", "Func": "getAnalysisUsage", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8523, "Length": 54, "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": 8524, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "KudeyarTargetLowering", "::", "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", ";", "if", "(", "CallConv", "==", "CallingConv", "::", "Kudeyar_INTR", "&&", "!", "Outs", ".", "empty", "(", ")", ")", "report_fatal_error", "(", "\"ISRs cannot return any value\"", ")", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_Kudeyar", ")", ";", "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", "=", "(", "CallConv", "==", "CallingConv", "::", "Kudeyar_INTR", "?", "KudeyarISD", "::", "RETI_FLAG", ":", "KudeyarISD", "::", "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": ["Kudeyar", "Kudeyar", "ISD::OutputArg", "16", "Kudeyar", "\"ISRs cannot return any value\"", "Kudeyar", "0", "0", "\"Can only return in registers!\"", "1", "Kudeyar", "KudeyarISD::RETI_FLAG", "KudeyarISD::RET_FLAG", "MVT::Other", "MVT::Other"], "File": "KudeyarISelLowering", "Func": "LowerReturn", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8525, "Length": 314, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TileConfig", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "mf", ")", "{", "MF", "=", "&", "mf", ";", "MRI", "=", "&", "mf", ".", "getRegInfo", "(", ")", ";", "ST", "=", "&", "mf", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "TRI", "=", "ST", "->", "getRegisterInfo", "(", ")", ";", "TII", "=", "mf", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DomTree", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "VRM", "=", "&", "getAnalysis", "<", "VirtRegMap", ">", "(", ")", ";", "LIS", "=", "&", "getAnalysis", "<", "LiveIntervals", ">", "(", ")", ";", "if", "(", "VRM", "->", "isShapeMapEmpty", "(", ")", ")", "return", "false", ";", "tileConfig", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86TileConfig1", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8526, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86TargetLowering", "::", "insertCopiesSplitCSR", "(", "MachineBasicBlock", "*", "Entry", ",", "const", "SmallVectorImpl", "<", "MachineBasicBlock", "*", ">", "&", "Exits", ")", "const", "{", "const", "X86RegisterInfo", "*", "TRI", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "const", "MCPhysReg", "*", "IStart", "=", "TRI", "->", "getCalleeSavedRegsViaCopy", "(", "Entry", "->", "getParent", "(", ")", ")", ";", "if", "(", "!", "IStart", ")", "return", ";", "const", "TargetInstrInfo", "*", "TII", "=", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "MachineRegisterInfo", "*", "MRI", "=", "&", "Entry", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "Entry", "->", "begin", "(", ")", ";", "for", "(", "const", "MCPhysReg", "*", "I", "=", "IStart", ";", "*", "I", ";", "++", "I", ")", "{", "const", "TargetRegisterClass", "*", "RC", "=", "nullptr", ";", "if", "(", "X86", "::", "GR64RegClass", ".", "contains", "(", "*", "I", ")", ")", "RC", "=", "&", "X86", "::", "GR64RegClass", ";", "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", ",", "MBBI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "NewVR", ")", ".", "addReg", "(", "*", "I", ")", ";", "for", "(", "auto", "*", "Exit", ":", "Exits", ")", "BuildMI", "(", "*", "Exit", ",", "Exit", "->", "getFirstTerminator", "(", ")", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "*", "I", ")", ".", "addReg", "(", "NewVR", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "explicit", "copies", "in", "entry", "and", "exit", "blocks", "."], "TS_V_token": ["X86", "X86", "X86", "X86::GR64RegClass", "X86::GR64RegClass", "\"Unexpected register class in CSRsViaCopy!\"", "\"Function should be nounwind in insertCopiesSplitCSR!\""], "File": "X86ISelLowering (3)", "Func": "insertCopiesSplitCSR", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8527, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86ATTAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "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", "'b'", ":", "case", "'h'", ":", "case", "'w'", ":", "case", "'k'", ":", "case", "'q'", ":", "break", ";", "case", "'P'", ":", "printMemReference", "(", "MI", ",", "OpNo", ",", "\"no-rip\"", ")", ";", "return", "false", ";", "}", "}", "printMemReference", "(", "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": ["X86", "X86", "0", "1", "0", "0", "\"no-rip\""], "File": "X86ATTAsmPrinter2", "Func": "PrintAsmMemoryOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8528, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "DLXInstrInfo", "::", "analyzeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "&", "TrueBlock", ",", "MachineBasicBlock", "*", "&", "FalseBlock", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Condition", ",", "bool", "AllowModify", ")", "const", "{", "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": ["DLX", "DLX"], "File": "DLXInstrInfo", "Func": "analyzeBranch", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8529, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "LLVM_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", ")", ";", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\"FrameIndex : \"", "<<", "FrameIndex", "<<", "\"\\n\"", "<<", "\"spOffset : \"", "<<", "spOffset", "<<", "\"\\n\"", "<<", "\"stackSize : \"", "<<", "stackSize", "<<", "\"\\n\"", "<<", "\"alignment : \"", "<<", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectAlignment", "(", "FrameIndex", ")", "<<", "\"\\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": ["Mips", "Mips", "\"\\nFunction : \"", "\"\\n\"", "\"<--------->\\n\"", "\"FrameIndex : \"", "\"\\n\"", "\"spOffset : \"", "\"\\n\"", "\"stackSize : \"", "\"\\n\"", "\"alignment : \"", "\"\\n\""], "File": "MipsRegisterInfo29", "Func": "eliminateFrameIndex", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8530, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "X86InstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "getTargetMachine", "(", ")", "->", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["X86", "X86"], "File": "X86FastISel110", "Func": "getInstrInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8531, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isUsedByReturnOnly", "(", "SDNode", "*", "N", ")", "const", "{", "if", "(", "N", "->", "getNumValues", "(", ")", "!=", "1", ")", "return", "false", ";", "if", "(", "!", "N", "->", "hasNUsesOfValue", "(", "1", ",", "0", ")", ")", "return", "false", ";", "SDNode", "*", "Copy", "=", "*", "N", "->", "use_begin", "(", ")", ";", "if", "(", "Copy", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "CopyToReg", "&&", "Copy", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "return", "false", ";", "bool", "HasRet", "=", "false", ";", "for", "(", "SDNode", "::", "use_iterator", "UI", "=", "Copy", "->", "use_begin", "(", ")", ",", "UE", "=", "Copy", "->", "use_end", "(", ")", ";", "UI", "!=", "UE", ";", "++", "UI", ")", "{", "if", "(", "UI", "->", "getOpcode", "(", ")", "!=", "X86ISD", "::", "RET_FLAG", ")", "return", "false", ";", "HasRet", "=", "true", ";", "}", "return", "HasRet", ";", "}", ""], "natrual_language": ["Return", "true", "if", "result", "of", "the", "specified", "node", "is", "used", "by", "a", "return", "node", "only", "."], "TS_V_token": ["X86", "X86", "1", "1", "0", "ISD::CopyToReg", "ISD::FP_EXTEND", "X86ISD::RET_FLAG"], "File": "X86ISelLowering150", "Func": "isUsedByReturnOnly", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8532, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZPassConfig", "::", "addIRPasses", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createSystemZTDCPass", "(", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ"], "File": "SystemZTargetMachine41", "Func": "addIRPasses", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8533, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_function_value", "(", "const_tree", "type", ",", "const_tree", "func", ",", "bool", "outgoing", "ATTRIBUTE_UNUSED", ")", "{", "machine_mode", "mode", ";", "int", "unsignedp", ";", "mode", "=", "TYPE_MODE", "(", "type", ")", ";", "if", "(", "INTEGRAL_TYPE_P", "(", "type", ")", ")", "mode", "=", "promote_function_mode", "(", "type", ",", "mode", ",", "&", "unsignedp", ",", "func", ",", "1", ")", ";", "pure_scalable_type_info", "pst_info", ";", "if", "(", "type", "&&", "pst_info", ".", "analyze_registers", "(", "type", ")", ")", "return", "pst_info", ".", "get_rtx", "(", "mode", ",", "V0_REGNUM", ",", "P0_REGNUM", ")", ";", "unsigned", "int", "vec_flags", "=", "aarch64_classify_vector_mode", "(", "mode", ")", ";", "bool", "sve_p", "=", "(", "vec_flags", "&", "VEC_ANY_SVE", ")", ";", "if", "(", "aarch64_return_in_msb", "(", "type", ")", ")", "{", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "if", "(", "size", "%", "UNITS_PER_WORD", "!=", "0", ")", "{", "size", "+=", "UNITS_PER_WORD", "-", "size", "%", "UNITS_PER_WORD", ";", "mode", "=", "int_mode_for_size", "(", "size", "*", "BITS_PER_UNIT", ",", "0", ")", ".", "require", "(", ")", ";", "}", "}", "int", "count", ";", "machine_mode", "ag_mode", ";", "if", "(", "aarch64_vfp_is_call_or_return_candidate", "(", "mode", ",", "type", ",", "&", "ag_mode", ",", "&", "count", ",", "NULL", ",", "false", ")", ")", "{", "gcc_assert", "(", "!", "sve_p", ")", ";", "if", "(", "!", "aarch64_composite_type_p", "(", "type", ",", "mode", ")", ")", "{", "gcc_assert", "(", "count", "==", "1", "&&", "mode", "==", "ag_mode", ")", ";", "return", "gen_rtx_REG", "(", "mode", ",", "V0_REGNUM", ")", ";", "}", "else", "{", "int", "i", ";", "rtx", "par", ";", "par", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "rtvec_alloc", "(", "count", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "count", ";", "i", "++", ")", "{", "rtx", "tmp", "=", "gen_rtx_REG", "(", "ag_mode", ",", "V0_REGNUM", "+", "i", ")", ";", "rtx", "offset", "=", "gen_int_mode", "(", "i", "*", "GET_MODE_SIZE", "(", "ag_mode", ")", ",", "Pmode", ")", ";", "tmp", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "tmp", ",", "offset", ")", ";", "XVECEXP", "(", "par", ",", "0", ",", "i", ")", "=", "tmp", ";", "}", "return", "par", ";", "}", "}", "else", "{", "if", "(", "sve_p", ")", "{", "gcc_assert", "(", "type", "&&", "(", "aarch64_some_values_include_pst_objects_p", "(", "type", ")", "||", "(", "vec_flags", "&", "VEC_PARTIAL", ")", ")", ")", ";", "scalar_int_mode", "int_mode", "=", "int_mode_for_mode", "(", "mode", ")", ".", "require", "(", ")", ";", "rtx", "reg", "=", "gen_rtx_REG", "(", "int_mode", ",", "R0_REGNUM", ")", ";", "rtx", "pair", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "reg", ",", "const0_rtx", ")", ";", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec", "(", "1", ",", "pair", ")", ")", ";", "}", "return", "gen_rtx_REG", "(", "mode", ",", "R0_REGNUM", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_VALUE", ".", "Define", "how", "to", "find", "the", "value", "returned", "by", "a", "function", "."], "TS_V_token": ["aarch64", "1", "0", "0", "1", "0", "0", "1"], "File": "aarch64", "Func": "aarch64_function_value", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8534, "Length": 380, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FalkorMarkStridedAccessesLegacy", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "TargetPassConfig", "&", "TPC", "=", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ";", "const", "AArch64Subtarget", "*", "ST", "=", "TPC", ".", "getTM", "<", "AArch64TargetMachine", ">", "(", ")", ".", "getSubtargetImpl", "(", "F", ")", ";", "if", "(", "ST", "->", "getProcFamily", "(", ")", "!=", "AArch64Subtarget", "::", "Falkor", ")", "return", "false", ";", "if", "(", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "LoopInfo", "&", "LI", "=", "getAnalysis", "<", "LoopInfoWrapperPass", ">", "(", ")", ".", "getLoopInfo", "(", ")", ";", "ScalarEvolution", "&", "SE", "=", "getAnalysis", "<", "ScalarEvolutionWrapperPass", ">", "(", ")", ".", "getSE", "(", ")", ";", "FalkorMarkStridedAccesses", "LDP", "(", "LI", ",", "SE", ")", ";", "return", "LDP", ".", "run", "(", ")", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64FalkorHWPFFix", "Func": "runOnFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8535, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "nds32_output_casesi_pc_relative", "(", "rtx", "*", "operands", ")", "{", "machine_mode", "mode", ";", "rtx", "diff_vec", ";", "diff_vec", "=", "PATTERN", "(", "NEXT_INSN", "(", "as_a", "<", "rtx_insn", "*", ">", "(", "operands", "[", "1", "]", ")", ")", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "diff_vec", ")", "==", "ADDR_DIFF_VEC", ")", ";", "if", "(", "flag_pic", ")", "{", "output_asm_insn", "(", "\"sethi\\t$ta, hi20(%l1@GOTOFF)\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"ori\\t$ta, $ta, lo12(%l1@GOTOFF)\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"add\\t$ta, $ta, $gp\"", ",", "operands", ")", ";", "}", "else", "output_asm_insn", "(", "\"la\\t$ta, %l1\"", ",", "operands", ")", ";", "mode", "=", "GET_MODE", "(", "diff_vec", ")", ";", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "output_asm_insn", "(", "\"lb\\t%2, [$ta + %0 << 0]\"", ",", "operands", ")", ";", "break", ";", "case", "E_HImode", ":", "output_asm_insn", "(", "\"lh\\t%2, [$ta + %0 << 1]\"", ",", "operands", ")", ";", "break", ";", "case", "E_SImode", ":", "output_asm_insn", "(", "\"lw\\t%2, [$ta + %0 << 2]\"", ",", "operands", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "output_asm_insn", "(", "\"add\\t$ta, %2, $ta\"", ",", "operands", ")", ";", "if", "(", "TARGET_16_BIT", ")", "return", "\"jr5\\t$ta\"", ";", "else", "return", "\"jr\\t$ta\"", ";", "}", ""], "natrual_language": ["Function", "to", "generate", "PC", "relative", "jump", "table", ".", "Refer", "to", "nds32.md", "for", "more", "details", ".", "The", "following", "is", "the", "sample", "for", "the", "case", "that", "diff", "value", "can", "be", "presented", "in", "'.short", "'", "size", ".", "addi", "$", "r1", ",", "$", "r1", ",", "-", "(", "case_lower_bound", ")", "slti", "$", "ta", ",", "$", "r1", ",", "(", "case_number", ")", "beqz", "$", "ta", ",", ".L_skip_label", "la", "$", "ta", ",", ".L35", "!", "get", "jump", "table", "address", "lh", "$", "r1", ",", "[", "$", "ta", "+", "$", "r1", "<", "<", "1", "]", "!", "load", "symbol", "diff", "from", "jump", "table", "entry", "addi", "$", "ta", ",", "$", "r1", ",", "$", "ta", "jr5", "$", "ta", "!", "jump", "table", "entry", "L35", ":", ".short", ".L25-.L35", ".short", ".L26-.L35", ".short", ".L27-.L35", ".short", ".L28-.L35", ".short", ".L29-.L35", ".short", ".L30-.L35", ".short", ".L31-.L35", ".short", ".L32-.L35", ".short", ".L33-.L35", ".short", ".L34-.L35"], "TS_V_token": ["nds32", "1", "\"sethi\\t$ta, hi20(%l1@GOTOFF)\"", "\"ori\\t$ta, $ta, lo12(%l1@GOTOFF)\"", "\"add\\t$ta, $ta, $gp\"", "\"la\\t$ta, %l1\"", "\"lb\\t%2, [$ta + %0 << 0]\"", "\"lh\\t%2, [$ta + %0 << 1]\"", "\"lw\\t%2, [$ta + %0 << 2]\"", "\"add\\t$ta, %2, $ta\"", "\"jr5\\t$ta\"", "\"jr\\t$ta\""], "File": "nds32-md-auxiliary", "Func": "nds32_output_casesi_pc_relative", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8536, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "moxie_function_arg", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "if", "(", "*", "cum", "<", "8", ")", "return", "gen_rtx_REG", "(", "arg", ".", "mode", ",", "*", "cum", ")", ";", "else", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Return", "the", "next", "register", "to", "be", "used", "to", "hold", "a", "function", "argument", "or", "NULL_RTX", "if", "there", "'s", "no", "more", "space", "."], "TS_V_token": ["moxie", "8"], "File": "moxie", "Func": "moxie_function_arg", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8537, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mips_rewrite_small_data", "(", "rtx", "pattern", ")", "{", "pattern", "=", "copy_insn", "(", "pattern", ")", ";", "mips_rewrite_small_data_1", "(", "&", "pattern", ",", "SYMBOL_CONTEXT_LEA", ")", ";", "return", "pattern", ";", "}", ""], "natrual_language": ["If", "possible", ",", "rewrite", "OP", "so", "that", "it", "refers", "to", "small", "data", "using", "explicit", "relocations", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_rewrite_small_data", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8538, "Length": 26, "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", ",", "CCInfo", ")", ";", "MipsCCInfo", ".", "analyzeCallResult", "(", "Ins", ",", "getTargetMachine", "(", ")", ".", "Options", ".", "UseSoftFloat", ",", "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": "MipsISelLowering (2)", "Func": "LowerCallResult", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8539, "Length": 244, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint16_t", "getDiscriminator", "(", ")", "const", "{", "return", "Discriminator", ";", "}", ""], "natrual_language": ["Get", "the", "Discriminator", "of", "this", "MCDwarfLoc", "."], "TS_V_token": ["AArch64"], "File": "AArch64MCExpr16", "Func": "getDiscriminator", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8540, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_init_builtin_rsqrt", "(", "void", ")", "{", "tree", "fndecl", "=", "NULL", ";", "tree", "ftype", "=", "NULL", ";", "tree", "V2SF_type_node", "=", "build_vector_type", "(", "float_type_node", ",", "2", ")", ";", "tree", "V2DF_type_node", "=", "build_vector_type", "(", "double_type_node", ",", "2", ")", ";", "tree", "V4SF_type_node", "=", "build_vector_type", "(", "float_type_node", ",", "4", ")", ";", "struct", "builtin_decls_data", "{", "tree", "type_node", ";", "const", "char", "*", "builtin_name", ";", "int", "function_code", ";", "}", ";", "builtin_decls_data", "bdda", "[", "]", "=", "{", "{", "double_type_node", ",", "\"__builtin_aarch64_rsqrt_df\"", ",", "AARCH64_BUILTIN_RSQRT_DF", "}", ",", "{", "float_type_node", ",", "\"__builtin_aarch64_rsqrt_sf\"", ",", "AARCH64_BUILTIN_RSQRT_SF", "}", ",", "{", "V2DF_type_node", ",", "\"__builtin_aarch64_rsqrt_v2df\"", ",", "AARCH64_BUILTIN_RSQRT_V2DF", "}", ",", "{", "V2SF_type_node", ",", "\"__builtin_aarch64_rsqrt_v2sf\"", ",", "AARCH64_BUILTIN_RSQRT_V2SF", "}", ",", "{", "V4SF_type_node", ",", "\"__builtin_aarch64_rsqrt_v4sf\"", ",", "AARCH64_BUILTIN_RSQRT_V4SF", "}", "}", ";", "builtin_decls_data", "*", "bdd", "=", "bdda", ";", "builtin_decls_data", "*", "bdd_end", "=", "bdd", "+", "(", "ARRAY_SIZE", "(", "bdda", ")", ")", ";", "for", "(", ";", "bdd", "<", "bdd_end", ";", "bdd", "++", ")", "{", "ftype", "=", "build_function_type_list", "(", "bdd", "->", "type_node", ",", "bdd", "->", "type_node", ",", "NULL_TREE", ")", ";", "tree", "attrs", "=", "aarch64_get_attributes", "(", "FLAG_FP", ",", "TYPE_MODE", "(", "bdd", "->", "type_node", ")", ")", ";", "fndecl", "=", "aarch64_general_add_builtin", "(", "bdd", "->", "builtin_name", ",", "ftype", ",", "bdd", "->", "function_code", ",", "attrs", ")", ";", "aarch64_builtin_decls", "[", "bdd", "->", "function_code", "]", "=", "fndecl", ";", "}", "}", ""], "natrual_language": ["Add", "builtins", "for", "reciprocal", "square", "root", "."], "TS_V_token": ["aarch64", "2", "2", "4", "\"__builtin_aarch64_rsqrt_df\"", "\"__builtin_aarch64_rsqrt_sf\"", "\"__builtin_aarch64_rsqrt_v2df\"", "\"__builtin_aarch64_rsqrt_v2sf\"", "\"__builtin_aarch64_rsqrt_v4sf\""], "File": "aarch64-builtins1", "Func": "aarch64_init_builtin_rsqrt", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8541, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "findCommutedOpIndices", "(", "MachineInstr", "&", "MI", ",", "unsigned", "&", "SrcOpIdx1", ",", "unsigned", "&", "SrcOpIdx2", ")", "const", "{", "int", "AltOpc", "=", "PPC", "::", "getAltVSXFMAOpcode", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "if", "(", "AltOpc", "==", "-", "1", ")", "return", "TargetInstrInfo", "::", "findCommutedOpIndices", "(", "MI", ",", "SrcOpIdx1", ",", "SrcOpIdx2", ")", ";", "return", "fixCommutedOpIndices", "(", "SrcOpIdx1", ",", "SrcOpIdx2", ",", "2", ",", "3", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "iff", "the", "routine", "could", "find", "two", "commutable", "operands", "in", "the", "given", "machine", "instruction", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::getAltVSXFMAOpcode", "1", "2", "3"], "File": "PPCInstrInfo (2)2", "Func": "findCommutedOpIndices", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8542, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "FoldImmediate", "(", "MachineInstr", "&", "UseMI", ",", "MachineInstr", "&", "DefMI", ",", "unsigned", "Reg", ",", "MachineRegisterInfo", "*", "MRI", ")", "const", "{", "unsigned", "DefOpc", "=", "DefMI", ".", "getOpcode", "(", ")", ";", "if", "(", "DefOpc", "!=", "SystemZ", "::", "LHIMux", "&&", "DefOpc", "!=", "SystemZ", "::", "LHI", "&&", "DefOpc", "!=", "SystemZ", "::", "LGHI", ")", "return", "false", ";", "if", "(", "DefMI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "!=", "Reg", ")", "return", "false", ";", "int32_t", "ImmVal", "=", "(", "int32_t", ")", "DefMI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "unsigned", "UseOpc", "=", "UseMI", ".", "getOpcode", "(", ")", ";", "unsigned", "NewUseOpc", ";", "unsigned", "UseIdx", ";", "int", "CommuteIdx", "=", "-", "1", ";", "switch", "(", "UseOpc", ")", "{", "case", "SystemZ", "::", "LOCRMux", ":", "if", "(", "!", "STI", ".", "hasLoadStoreOnCond2", "(", ")", ")", "return", "false", ";", "NewUseOpc", "=", "SystemZ", "::", "LOCHIMux", ";", "if", "(", "UseMI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", "==", "Reg", ")", "UseIdx", "=", "2", ";", "else", "if", "(", "UseMI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "Reg", ")", "UseIdx", "=", "2", ",", "CommuteIdx", "=", "1", ";", "else", "return", "false", ";", "break", ";", "case", "SystemZ", "::", "LOCGR", ":", "if", "(", "!", "STI", ".", "hasLoadStoreOnCond2", "(", ")", ")", "return", "false", ";", "NewUseOpc", "=", "SystemZ", "::", "LOCGHI", ";", "if", "(", "UseMI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", "==", "Reg", ")", "UseIdx", "=", "2", ";", "else", "if", "(", "UseMI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "Reg", ")", "UseIdx", "=", "2", ",", "CommuteIdx", "=", "1", ";", "else", "return", "false", ";", "break", ";", "default", ":", "return", "false", ";", "}", "if", "(", "CommuteIdx", "!=", "-", "1", ")", "if", "(", "!", "commuteInstruction", "(", "UseMI", ",", "false", ",", "CommuteIdx", ",", "UseIdx", ")", ")", "return", "false", ";", "bool", "DeleteDef", "=", "MRI", "->", "hasOneNonDBGUse", "(", "Reg", ")", ";", "UseMI", ".", "setDesc", "(", "get", "(", "NewUseOpc", ")", ")", ";", "UseMI", ".", "getOperand", "(", "UseIdx", ")", ".", "ChangeToImmediate", "(", "ImmVal", ")", ";", "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": ["SystemZ", "SystemZ", "SystemZ::LHIMux", "SystemZ::LHI", "SystemZ::LGHI", "0", "1", "1", "SystemZ::LOCRMux", "SystemZ::LOCHIMux", "2", "2", "1", "2", "1", "SystemZ::LOCGR", "SystemZ::LOCGHI", "2", "2", "1", "2", "1", "1"], "File": "SystemZInstrInfo (2)2", "Func": "FoldImmediate", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8543, "Length": 335, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_emit_probe_stack_range", "(", "HOST_WIDE_INT", "first", ",", "HOST_WIDE_INT", "size", ")", "{", "if", "(", "TARGET_MIPS16", ")", "sorry", "(", "\"%<-fstack-check=specific%> not implemented for MIPS16\"", ")", ";", "if", "(", "first", "+", "size", "<=", "32768", ")", "{", "HOST_WIDE_INT", "i", ";", "for", "(", "i", "=", "PROBE_INTERVAL", ";", "i", "<", "size", ";", "i", "+=", "PROBE_INTERVAL", ")", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "(", "first", "+", "i", ")", ")", ")", ";", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "(", "first", "+", "size", ")", ")", ")", ";", "}", "else", "{", "HOST_WIDE_INT", "rounded_size", ";", "rtx", "r3", "=", "MIPS_PROLOGUE_TEMP", "(", "Pmode", ")", ";", "rtx", "r12", "=", "MIPS_PROLOGUE_TEMP2", "(", "Pmode", ")", ";", "gcc_assert", "(", "first", "<=", "32768", ")", ";", "rounded_size", "=", "ROUND_DOWN", "(", "size", ",", "PROBE_INTERVAL", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "r3", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "first", ")", ")", ")", ";", "if", "(", "rounded_size", ">", "32768", ")", "{", "emit_move_insn", "(", "r12", ",", "GEN_INT", "(", "rounded_size", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "r12", ",", "gen_rtx_MINUS", "(", "Pmode", ",", "r3", ",", "r12", ")", ")", ")", ";", "}", "else", "emit_insn", "(", "gen_rtx_SET", "(", "r12", ",", "plus_constant", "(", "Pmode", ",", "r3", ",", "-", "rounded_size", ")", ")", ")", ";", "emit_insn", "(", "PMODE_INSN", "(", "gen_probe_stack_range", ",", "(", "r3", ",", "r3", ",", "r12", ")", ")", ")", ";", "if", "(", "size", "!=", "rounded_size", ")", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "r12", ",", "rounded_size", "-", "size", ")", ")", ";", "}", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "probe", "a", "range", "of", "stack", "addresses", "from", "FIRST", "to", "FIRST+SIZE", ",", "inclusive", ".", "These", "are", "offsets", "from", "the", "current", "stack", "pointer", "."], "TS_V_token": ["mips", "\"%<-fstack-check=specific%> not implemented for MIPS16\"", "32768", "32768", "32768"], "File": "mips", "Func": "mips_emit_probe_stack_range", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8544, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "paired_emit_vector_compare", "(", "enum", "rtx_code", "rcode", ",", "rtx", "dest", ",", "rtx", "op0", ",", "rtx", "op1", ",", "rtx", "cc_op0", ",", "rtx", "cc_op1", ")", "{", "rtx", "tmp", "=", "gen_reg_rtx", "(", "V2SFmode", ")", ";", "rtx", "tmp1", ",", "max", ",", "min", ";", "gcc_assert", "(", "TARGET_PAIRED_FLOAT", ")", ";", "gcc_assert", "(", "GET_MODE", "(", "op0", ")", "==", "GET_MODE", "(", "op1", ")", ")", ";", "switch", "(", "rcode", ")", "{", "case", "LT", ":", "case", "LTU", ":", "paired_emit_vector_compare", "(", "GE", ",", "dest", ",", "op1", ",", "op0", ",", "cc_op0", ",", "cc_op1", ")", ";", "return", ";", "case", "GE", ":", "case", "GEU", ":", "emit_insn", "(", "gen_subv2sf3", "(", "tmp", ",", "cc_op0", ",", "cc_op1", ")", ")", ";", "emit_insn", "(", "gen_selv2sf4", "(", "dest", ",", "tmp", ",", "op0", ",", "op1", ",", "CONST0_RTX", "(", "SFmode", ")", ")", ")", ";", "return", ";", "case", "LE", ":", "case", "LEU", ":", "paired_emit_vector_compare", "(", "GE", ",", "dest", ",", "op0", ",", "op1", ",", "cc_op1", ",", "cc_op0", ")", ";", "return", ";", "case", "GT", ":", "paired_emit_vector_compare", "(", "LE", ",", "dest", ",", "op1", ",", "op0", ",", "cc_op0", ",", "cc_op1", ")", ";", "return", ";", "case", "EQ", ":", "tmp1", "=", "gen_reg_rtx", "(", "V2SFmode", ")", ";", "max", "=", "gen_reg_rtx", "(", "V2SFmode", ")", ";", "min", "=", "gen_reg_rtx", "(", "V2SFmode", ")", ";", "gen_reg_rtx", "(", "V2SFmode", ")", ";", "emit_insn", "(", "gen_subv2sf3", "(", "tmp", ",", "cc_op0", ",", "cc_op1", ")", ")", ";", "emit_insn", "(", "gen_selv2sf4", "(", "max", ",", "tmp", ",", "cc_op0", ",", "cc_op1", ",", "CONST0_RTX", "(", "SFmode", ")", ")", ")", ";", "emit_insn", "(", "gen_subv2sf3", "(", "tmp", ",", "cc_op1", ",", "cc_op0", ")", ")", ";", "emit_insn", "(", "gen_selv2sf4", "(", "min", ",", "tmp", ",", "cc_op0", ",", "cc_op1", ",", "CONST0_RTX", "(", "SFmode", ")", ")", ")", ";", "emit_insn", "(", "gen_subv2sf3", "(", "tmp1", ",", "min", ",", "max", ")", ")", ";", "emit_insn", "(", "gen_selv2sf4", "(", "dest", ",", "tmp1", ",", "op0", ",", "op1", ",", "CONST0_RTX", "(", "SFmode", ")", ")", ")", ";", "return", ";", "case", "NE", ":", "paired_emit_vector_compare", "(", "EQ", ",", "dest", ",", "op1", ",", "op0", ",", "cc_op0", ",", "cc_op1", ")", ";", "return", ";", "case", "UNLE", ":", "paired_emit_vector_compare", "(", "LE", ",", "dest", ",", "op1", ",", "op0", ",", "cc_op0", ",", "cc_op1", ")", ";", "return", ";", "case", "UNLT", ":", "paired_emit_vector_compare", "(", "LT", ",", "dest", ",", "op1", ",", "op0", ",", "cc_op0", ",", "cc_op1", ")", ";", "return", ";", "case", "UNGE", ":", "paired_emit_vector_compare", "(", "GE", ",", "dest", ",", "op1", ",", "op0", ",", "cc_op0", ",", "cc_op1", ")", ";", "return", ";", "case", "UNGT", ":", "paired_emit_vector_compare", "(", "GT", ",", "dest", ",", "op1", ",", "op0", ",", "cc_op0", ",", "cc_op1", ")", ";", "return", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", ";", "}", ""], "natrual_language": ["Emit", "vector", "compare", "for", "code", "RCODE", ".", "DEST", "is", "destination", ",", "OP1", "and", "OP2", "are", "two", "VEC_COND_EXPR", "operands", ",", "CC_OP0", "and", "CC_OP1", "are", "the", "two", "operands", "for", "the", "relation", "operation", "COND", ".", "This", "is", "a", "recursive", "function", "."], "TS_V_token": ["rs6000"], "File": "rs60004", "Func": "paired_emit_vector_compare", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8545, "Length": 401, "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": 8546, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "UPTInstrInfo", "::", "verifyInstruction", "(", "const", "MachineInstr", "&", "MI", ",", "StringRef", "&", "ErrInfo", ")", "const", "{", "return", "TargetInstrInfo", "::", "verifyInstruction", "(", "MI", ",", "ErrInfo", ")", ";", "}", ""], "natrual_language": ["Perform", "target-specific", "instruction", "verification", "."], "TS_V_token": ["UPT", "UPT"], "File": "UPTInstrInfo", "Func": "verifyInstruction", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8547, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LEGRegisterInfo", "::", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "live-ins", "should", "be", "tracked", "after", "register", "allocation", "."], "TS_V_token": ["LEG", "LEG"], "File": "LEGRegisterInfo", "Func": "trackLivenessAfterRegAlloc", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8548, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PromoteConstant", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "bool", "LocalChange", "=", "false", ";", "SmallSet", "<", "Constant", "*", ",", "8", ">", "AlreadyChecked", ";", "for", "(", "auto", "&", "MBB", ":", "F", ")", "{", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "for", "(", "unsigned", "OpIdx", "=", "0", ",", "EndOpIdx", "=", "MI", ".", "getNumOperands", "(", ")", ";", "OpIdx", "!=", "EndOpIdx", ";", "++", "OpIdx", ")", "{", "Constant", "*", "Cst", "=", "dyn_cast", "<", "Constant", ">", "(", "MI", ".", "getOperand", "(", "OpIdx", ")", ")", ";", "if", "(", "Cst", "&&", "!", "isa", "<", "GlobalValue", ">", "(", "Cst", ")", "&&", "!", "isa", "<", "ConstantExpr", ">", "(", "Cst", ")", "&&", "AlreadyChecked", ".", "insert", "(", "Cst", ")", ")", "LocalChange", "|=", "promoteConstant", "(", "Cst", ")", ";", "}", "}", "}", "return", "LocalChange", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["AArch64", "AArch64", "8", "0"], "File": "AArch64PromoteConstant22", "Func": "runOnFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8549, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "Cpu0MCCodeEmitter", "::", "getJumpTargetOpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"getJumpTargetOpValue expects only expressions\"", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "if", "(", "Opcode", "==", "Cpu0", "::", "JSUB", "||", "Opcode", "==", "Cpu0", "::", "JMP", "||", "Opcode", "==", "Cpu0", "::", "BAL", ")", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "Expr", ",", "MCFixupKind", "(", "Cpu0", "::", "fixup_Cpu0_PC24", ")", ")", ")", ";", "else", "llvm_unreachable", "(", "\"unexpect opcode in getJumpAbsoluteTargetOpValue()\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getJumpTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "jump", "target", "operand", "."], "TS_V_token": ["Cpu0", "Cpu0", "\"getJumpTargetOpValue expects only expressions\"", "Cpu0::JSUB", "Cpu0::JMP", "Cpu0::BAL", "0", "Cpu0::fixup_Cpu0_PC24", "\"unexpect opcode in getJumpAbsoluteTargetOpValue()\"", "0"], "File": "Cpu0MCCodeEmitter", "Func": "getJumpTargetOpValue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8550, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "SparcDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "SDLoc", "dl", "(", "N", ")", ";", "if", "(", "N", "->", "isMachineOpcode", "(", ")", ")", "{", "N", "->", "setNodeId", "(", "-", "1", ")", ";", "return", "nullptr", ";", "}", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "INLINEASM", ":", "{", "SDNode", "*", "ResNode", "=", "SelectInlineAsm", "(", "N", ")", ";", "if", "(", "ResNode", ")", "return", "ResNode", ";", "break", ";", "}", "case", "SPISD", "::", "GLOBAL_BASE_REG", ":", "return", "getGlobalBaseReg", "(", ")", ";", "case", "ISD", "::", "SDIV", ":", "case", "ISD", "::", "UDIV", ":", "{", "if", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i64", ")", "break", ";", "SDValue", "DivLHS", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "DivRHS", "=", "N", "->", "getOperand", "(", "1", ")", ";", "SDValue", "TopPart", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SDIV", ")", "{", "TopPart", "=", "SDValue", "(", "CurDAG", "->", "getMachineNode", "(", "SP", "::", "SRAri", ",", "dl", ",", "MVT", "::", "i32", ",", "DivLHS", ",", "CurDAG", "->", "getTargetConstant", "(", "31", ",", "dl", ",", "MVT", "::", "i32", ")", ")", ",", "0", ")", ";", "}", "else", "{", "TopPart", "=", "CurDAG", "->", "getRegister", "(", "SP", "::", "G0", ",", "MVT", "::", "i32", ")", ";", "}", "TopPart", "=", "CurDAG", "->", "getCopyToReg", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "dl", ",", "SP", "::", "Y", ",", "TopPart", ",", "SDValue", "(", ")", ")", ".", "getValue", "(", "1", ")", ";", "unsigned", "Opcode", "=", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SDIV", "?", "SP", "::", "SDIVrr", ":", "SP", "::", "UDIVrr", ";", "return", "CurDAG", "->", "SelectNodeTo", "(", "N", ",", "Opcode", ",", "MVT", "::", "i32", ",", "DivLHS", ",", "DivRHS", ",", "TopPart", ")", ";", "}", "case", "ISD", "::", "MULHU", ":", "case", "ISD", "::", "MULHS", ":", "{", "SDValue", "MulLHS", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "MulRHS", "=", "N", "->", "getOperand", "(", "1", ")", ";", "unsigned", "Opcode", "=", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "MULHU", "?", "SP", "::", "UMULrr", ":", "SP", "::", "SMULrr", ";", "SDNode", "*", "Mul", "=", "CurDAG", "->", "getMachineNode", "(", "Opcode", ",", "dl", ",", "MVT", "::", "i32", ",", "MVT", "::", "i32", ",", "MulLHS", ",", "MulRHS", ")", ";", "SDValue", "ResultHigh", "=", "SDValue", "(", "Mul", ",", "1", ")", ";", "ReplaceUses", "(", "SDValue", "(", "N", ",", "0", ")", ",", "ResultHigh", ")", ";", "return", "nullptr", ";", "}", "}", "return", "SelectCode", "(", "N", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["Sparc", "Sparc", "1", "ISD::INLINEASM", "SPISD::GLOBAL_BASE_REG", "ISD::SDIV", "ISD::UDIV", "0", "MVT::i64", "0", "1", "ISD::SDIV", "SP::SRAri", "MVT::i32", "31", "MVT::i32", "0", "SP::G0", "MVT::i32", "SP::Y", "1", "ISD::SDIV", "SP::SDIVrr", "SP::UDIVrr", "MVT::i32", "ISD::MULHU", "ISD::MULHS", "0", "1", "ISD::MULHU", "SP::UMULrr", "SP::SMULrr", "MVT::i32", "MVT::i32", "1", "0"], "File": "SparcISelDAGToDAG (2)", "Func": "Select", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8551, "Length": 387, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "F2003fInstrInfo", "::", "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", ".", "empty", "(", ")", "||", "(", "getMalkrzFromFiMalkrz", "(", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ")", "==", "F2003f", "::", "MALKRZx", "&&", "get", "(", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ")", ".", "getNumOperands", "(", ")", "==", "Cond", ".", "size", "(", ")", ")", ")", "&&", "\"Invalid 2003f branch condition!\"", ")", ";", "assert", "(", "!", "BytesAdded", "&&", "\"code size not handled\"", ")", ";", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "assert", "(", "!", "FBB", "&&", "\"Unconditional branch with multiple successors!\"", ")", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "F2003f", "::", "KRZx", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "return", "1", ";", "}", "unsigned", "Count", "=", "0", ";", "MachineInstrBuilder", "Malkrz", "=", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "for", "(", "unsigned", "i", "=", "1", ";", "i", "<", "Cond", ".", "size", "(", ")", ";", "i", "++", ")", "{", "Malkrz", ".", "add", "(", "Cond", "[", "i", "]", ")", ";", "}", "++", "Count", ";", "if", "(", "FBB", ")", "{", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "F2003f", "::", "KRZx", ")", ")", ".", "addMBB", "(", "FBB", ")", ";", "++", "Count", ";", "}", "return", "Count", ";", "}", ""], "natrual_language": ["Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "."], "TS_V_token": ["F2003f", "F2003f", "\"insertBranch must not be told to insert a fallthrough\"", "0", "F2003f::MALKRZx", "0", "\"Invalid 2003f branch condition!\"", "\"code size not handled\"", "\"Unconditional branch with multiple successors!\"", "F2003f::KRZx", "1", "0", "0", "1", "F2003f::KRZx"], "File": "F2003fInstrInfo", "Func": "insertBranch", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8552, "Length": 242, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ARMBaseInstrInfo", "::", "getOperandLatency", "(", "const", "InstrItineraryData", "*", "ItinData", ",", "const", "MachineInstr", "*", "DefMI", ",", "unsigned", "DefIdx", ",", "const", "MachineInstr", "*", "UseMI", ",", "unsigned", "UseIdx", ")", "const", "{", "if", "(", "!", "ItinData", "||", "ItinData", "->", "isEmpty", "(", ")", ")", "return", "-", "1", ";", "const", "MachineOperand", "&", "DefMO", "=", "DefMI", "->", "getOperand", "(", "DefIdx", ")", ";", "unsigned", "Reg", "=", "DefMO", ".", "getReg", "(", ")", ";", "const", "MCInstrDesc", "*", "DefMCID", "=", "&", "DefMI", "->", "getDesc", "(", ")", ";", "const", "MCInstrDesc", "*", "UseMCID", "=", "&", "UseMI", "->", "getDesc", "(", ")", ";", "unsigned", "DefAdj", "=", "0", ";", "if", "(", "DefMI", "->", "isBundle", "(", ")", ")", "{", "DefMI", "=", "getBundledDefMI", "(", "&", "getRegisterInfo", "(", ")", ",", "DefMI", ",", "Reg", ",", "DefIdx", ",", "DefAdj", ")", ";", "DefMCID", "=", "&", "DefMI", "->", "getDesc", "(", ")", ";", "}", "if", "(", "DefMI", "->", "isCopyLike", "(", ")", "||", "DefMI", "->", "isInsertSubreg", "(", ")", "||", "DefMI", "->", "isRegSequence", "(", ")", "||", "DefMI", "->", "isImplicitDef", "(", ")", ")", "{", "return", "1", ";", "}", "unsigned", "UseAdj", "=", "0", ";", "if", "(", "UseMI", "->", "isBundle", "(", ")", ")", "{", "unsigned", "NewUseIdx", ";", "const", "MachineInstr", "*", "NewUseMI", "=", "getBundledUseMI", "(", "&", "getRegisterInfo", "(", ")", ",", "UseMI", ",", "Reg", ",", "NewUseIdx", ",", "UseAdj", ")", ";", "if", "(", "!", "NewUseMI", ")", "return", "-", "1", ";", "UseMI", "=", "NewUseMI", ";", "UseIdx", "=", "NewUseIdx", ";", "UseMCID", "=", "&", "UseMI", "->", "getDesc", "(", ")", ";", "}", "if", "(", "Reg", "==", "ARM", "::", "CPSR", ")", "{", "if", "(", "DefMI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "FMSTAT", ")", "{", "return", "Subtarget", ".", "isCortexA9", "(", ")", "?", "1", ":", "20", ";", "}", "if", "(", "UseMI", "->", "isBranch", "(", ")", ")", "return", "0", ";", "unsigned", "Latency", "=", "getInstrLatency", "(", "ItinData", ",", "DefMI", ")", ";", "if", "(", "Latency", ">", "0", "&&", "Subtarget", ".", "isThumb2", "(", ")", ")", "{", "const", "MachineFunction", "*", "MF", "=", "DefMI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", "->", "hasFnAttr", "(", "Attribute", "::", "OptimizeForSize", ")", ")", "--", "Latency", ";", "}", "return", "Latency", ";", "}", "if", "(", "DefMO", ".", "isImplicit", "(", ")", "||", "UseMI", "->", "getOperand", "(", "UseIdx", ")", ".", "isImplicit", "(", ")", ")", "return", "-", "1", ";", "unsigned", "DefAlign", "=", "DefMI", "->", "hasOneMemOperand", "(", ")", "?", "(", "*", "DefMI", "->", "memoperands_begin", "(", ")", ")", "->", "getAlignment", "(", ")", ":", "0", ";", "unsigned", "UseAlign", "=", "UseMI", "->", "hasOneMemOperand", "(", ")", "?", "(", "*", "UseMI", "->", "memoperands_begin", "(", ")", ")", "->", "getAlignment", "(", ")", ":", "0", ";", "int", "Latency", "=", "getOperandLatency", "(", "ItinData", ",", "*", "DefMCID", ",", "DefIdx", ",", "DefAlign", ",", "*", "UseMCID", ",", "UseIdx", ",", "UseAlign", ")", ";", "if", "(", "Latency", "<", "0", ")", "return", "Latency", ";", "int", "Adj", "=", "DefAdj", "+", "UseAdj", ";", "Adj", "+=", "adjustDefLatency", "(", "Subtarget", ",", "DefMI", ",", "DefMCID", ",", "DefAlign", ")", ";", "if", "(", "Adj", ">=", "0", "||", "(", "int", ")", "Latency", ">", "-", "Adj", ")", "{", "return", "Latency", "+", "Adj", ";", "}", "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", "1", "0", "1", "ARM::CPSR", "ARM::FMSTAT", "1", "20", "0", "0", "1", "0", "0", "0", "0"], "File": "ARMBaseInstrInfo47", "Func": "getOperandLatency", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8553, "Length": 479, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", "=", "TTI", "::", "TCK_RecipThroughput", ",", "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", ",", "CostKind", ",", "Opd1Info", ",", "Opd2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ")", ";", "case", "ISD", "::", "MUL", ":", "case", "ISD", "::", "SDIV", ":", "case", "ISD", "::", "UDIV", ":", "case", "ISD", "::", "UREM", ":", "return", "64", "*", "BaseT", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "CostKind", ",", "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": "LanaiTargetTransformInfo10", "Func": "getArithmeticInstrCost", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8554, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "OptimizePICCall", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "if", "(", "F", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "inMips16Mode", "(", ")", ")", "return", "false", ";", "MachineDominatorTree", "*", "MDT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "bool", "Changed", "=", "false", ";", "SmallVector", "<", "MBBInfo", ",", "8", ">", "WorkList", "(", "1", ",", "MBBInfo", "(", "MDT", "->", "getRootNode", "(", ")", ")", ")", ";", "while", "(", "!", "WorkList", ".", "empty", "(", ")", ")", "{", "MBBInfo", "&", "MBBI", "=", "WorkList", ".", "back", "(", ")", ";", "if", "(", "MBBI", ".", "isVisited", "(", ")", ")", "{", "MBBI", ".", "postVisit", "(", ")", ";", "WorkList", ".", "pop_back", "(", ")", ";", "continue", ";", "}", "MBBI", ".", "preVisit", "(", "ScopedHT", ")", ";", "Changed", "|=", "visitNode", "(", "MBBI", ")", ";", "const", "MachineDomTreeNode", "*", "Node", "=", "MBBI", ".", "getNode", "(", ")", ";", "const", "std", "::", "vector", "<", "MachineDomTreeNode", "*", ">", "&", "Children", "=", "Node", "->", "getChildren", "(", ")", ";", "WorkList", ".", "append", "(", "Children", ".", "begin", "(", ")", ",", "Children", ".", "end", "(", ")", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "8", "1"], "File": "MipsOptimizePICCall12", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8555, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "AARCH64_TYPE_PROMO_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64"], "File": "AArch64AddressTypePromotion", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8556, "Length": 13, "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", "(", ")", ";", "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": "ARMLowOverheadLoops16", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8557, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "Dcpu16RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "static", "const", "uint16_t", "CalleeSavedRegs", "[", "]", "=", "{", "0", "}", ";", "return", "CalleeSavedRegs", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["Dcpu16", "0"], "File": "Dcpu16RegisterInfo (2)", "Func": "getCalleeSavedRegs", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8558, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "fp_sethi_p", "(", "rtx", "op", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "==", "CONST_DOUBLE", ")", "{", "long", "i", ";", "REAL_VALUE_TO_TARGET_SINGLE", "(", "*", "CONST_DOUBLE_REAL_VALUE", "(", "op", ")", ",", "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", "single", "sethi", "instruction", "."], "TS_V_token": ["sparc", "0"], "File": "sparc", "Func": "fp_sethi_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8559, "Length": 48, "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", "(", "FramePtr", ")", ")", "return", "false", ";", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "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\""], "File": "ARMBaseRegisterInfo37", "Func": "canRealignStack", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8560, "Length": 111, "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": ["powerpcspe", "1", "1", "1", "16", "0", "0", "0", "1", "1", "1", "0"], "File": "powerpcspe", "Func": "rs6000_secondary_reload_class", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8561, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "flushPendingInstructions", "(", "MCStreamer", "&", "Out", ")", "override", "{", "if", "(", "!", "inImplicitITBlock", "(", ")", ")", "{", "assert", "(", "PendingConditionalInsts", ".", "size", "(", ")", "==", "0", ")", ";", "return", ";", "}", "unsigned", "Mask", "=", "getITMaskEncoding", "(", ")", ";", "MCInst", "ITInst", ";", "ITInst", ".", "setOpcode", "(", "ARM", "::", "t2IT", ")", ";", "ITInst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "ITState", ".", "Cond", ")", ")", ";", "ITInst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "Mask", ")", ")", ";", "Out", ".", "EmitInstruction", "(", "ITInst", ",", "getSTI", "(", ")", ")", ";", "assert", "(", "PendingConditionalInsts", ".", "size", "(", ")", "<=", "4", ")", ";", "for", "(", "const", "MCInst", "&", "Inst", ":", "PendingConditionalInsts", ")", "{", "Out", ".", "EmitInstruction", "(", "Inst", ",", "getSTI", "(", ")", ")", ";", "}", "PendingConditionalInsts", ".", "clear", "(", ")", ";", "ITState", ".", "Mask", "=", "0", ";", "ITState", ".", "CurPosition", "=", "~", "0U", ";", "}", ""], "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": ["ARM", "0", "ARM::t2IT", "4", "0", "0U"], "File": "ARMAsmParser (2)2", "Func": "flushPendingInstructions", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8562, "Length": 140, "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": 8563, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "PPCRegisterInfo", "::", "getCallPreservedMask", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "if", "(", "Subtarget", ".", "isDarwinABI", "(", ")", ")", "return", "Subtarget", ".", "isPPC64", "(", ")", "?", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_Darwin64_Altivec_RegMask", ":", "CSR_Darwin64_RegMask", ")", ":", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_Darwin32_Altivec_RegMask", ":", "CSR_Darwin32_RegMask", ")", ";", "return", "Subtarget", ".", "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"], "File": "PPCRegisterInfo (2)", "Func": "getCallPreservedMask", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8564, "Length": 85, "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", "(", ")", ";", "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", "(", ")", ";", "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", ":", "{", "uint64_t", "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": "ARMAsmParser40", "Func": "MatchAndEmitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8565, "Length": 373, "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", ";", "}", "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": "AArch64AsmParser103", "Func": "validateTargetOperandClass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8566, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mingw32_gt_pch_use_address", "(", "void", "*", "&", "addr", ",", "size_t", "size", ",", "int", "fd", ",", "size_t", "offset", ")", "{", "void", "*", "mmap_addr", ";", "HANDLE", "mmap_handle", ";", "char", "*", "object_name", "=", "NULL", ";", "OSVERSIONINFO", "version_info", ";", "int", "r", ";", "version_info", ".", "dwOSVersionInfoSize", "=", "sizeof", "(", "version_info", ")", ";", "if", "(", "size", "==", "0", ")", "return", "0", ";", "if", "(", "(", "offset", "&", "(", "va_granularity", "-", "1", ")", ")", "!=", "0", ")", "return", "-", "1", ";", "GetVersionEx", "(", "&", "version_info", ")", ";", "char", "local_object_name", "[", "sizeof", "(", "OBJECT_NAME_FMT", ")", "+", "sizeof", "(", "DWORD", ")", "*", "2", "]", ";", "if", "(", "version_info", ".", "dwMajorVersion", ">", "4", ")", "{", "snprintf", "(", "local_object_name", ",", "sizeof", "(", "local_object_name", ")", ",", "OBJECT_NAME_FMT", "\"%lx\"", ",", "GetCurrentProcessId", "(", ")", ")", ";", "object_name", "=", "local_object_name", ";", "}", "mmap_handle", "=", "CreateFileMappingA", "(", "(", "HANDLE", ")", "_get_osfhandle", "(", "fd", ")", ",", "NULL", ",", "PAGE_WRITECOPY", "|", "SEC_COMMIT", ",", "0", ",", "0", ",", "object_name", ")", ";", "if", "(", "mmap_handle", "==", "NULL", ")", "{", "w32_error", "(", "__FUNCTION__", ",", "__FILE__", ",", "__LINE__", ",", "\"CreateFileMapping\"", ")", ";", "return", "-", "1", ";", "}", "for", "(", "r", "=", "0", ";", "r", "<", "5", ";", "r", "++", ")", "{", "mmap_addr", "=", "MapViewOfFileEx", "(", "mmap_handle", ",", "FILE_MAP_COPY", ",", "0", ",", "offset", ",", "size", ",", "addr", ")", ";", "if", "(", "mmap_addr", "==", "addr", ")", "break", ";", "if", "(", "r", "!=", "4", ")", "Sleep", "(", "500", ")", ";", "}", "if", "(", "mmap_addr", "!=", "addr", ")", "{", "w32_error", "(", "__FUNCTION__", ",", "__FILE__", ",", "__LINE__", ",", "\"MapViewOfFileEx\"", ")", ";", "CloseHandle", "(", "mmap_handle", ")", ";", "return", "-", "1", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["ADDR", "is", "an", "address", "returned", "by", "gt_pch_get_address", ".", "Attempt", "to", "allocate", "SIZE", "bytes", "at", "the", "same", "address", "and", "load", "it", "with", "the", "data", "from", "FD", "at", "OFFSET", ".", "Return", "-1", "if", "we", "could", "n't", "allocate", "memory", "at", "ADDR", ",", "return", "0", "if", "the", "memory", "is", "allocated", "but", "the", "data", "not", "loaded", ",", "return", "1", "if", "done", "."], "TS_V_token": ["i386", "0", "0", "1", "0", "1", "2", "4", "\"%lx\"", "0", "0", "\"CreateFileMapping\"", "1", "0", "5", "0", "4", "500", "\"MapViewOfFileEx\"", "1", "1"], "File": "host-mingw321", "Func": "mingw32_gt_pch_use_address", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8567, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_movmemqi_unaligned", "(", "rtx", "*", "operands", ")", "{", "HOST_WIDE_INT", "length", "=", "INTVAL", "(", "operands", "[", "2", "]", ")", ";", "if", "(", "optimize_size", ")", "{", "bool", "src_aligned", "=", "MEM_ALIGN", "(", "operands", "[", "1", "]", ")", ">=", "BITS_PER_WORD", ";", "bool", "dst_aligned", "=", "MEM_ALIGN", "(", "operands", "[", "0", "]", ")", ">=", "BITS_PER_WORD", ";", "unsigned", "int", "interleave_factor", "=", "(", "src_aligned", "||", "dst_aligned", ")", "?", "2", ":", "1", ";", "HOST_WIDE_INT", "bytes_per_iter", "=", "(", "src_aligned", "||", "dst_aligned", ")", "?", "8", ":", "4", ";", "if", "(", "length", ">", "12", ")", "arm_block_move_unaligned_loop", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ",", "length", ",", "interleave_factor", ",", "bytes_per_iter", ")", ";", "else", "arm_block_move_unaligned_straight", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ",", "length", ",", "interleave_factor", ")", ";", "}", "else", "{", "if", "(", "length", ">", "32", ")", "arm_block_move_unaligned_loop", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ",", "length", ",", "4", ",", "16", ")", ";", "else", "arm_block_move_unaligned_straight", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ",", "length", ",", "4", ")", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["Emit", "a", "block", "move", "when", "either", "the", "source", "or", "destination", "is", "unaligned", "(", "not", "aligned", "to", "a", "four-byte", "boundary", ")", ".", "This", "may", "need", "further", "tuning", "depending", "on", "core", "type", ",", "optimize_size", "setting", ",", "etc", "."], "TS_V_token": ["arm", "2", "1", "0", "2", "1", "8", "4", "12", "0", "1", "0", "1", "32", "0", "1", "4", "16", "0", "1", "4", "1"], "File": "arm4", "Func": "arm_movmemqi_unaligned", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8568, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "llvm", "::", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"microMIPS instruction size reduction pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"microMIPS instruction size reduction pass\""], "File": "MicroMipsSizeReduction", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8569, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_output_cplocal", "(", "void", ")", "{", "if", "(", "!", "TARGET_EXPLICIT_RELOCS", "&&", "cfun", "->", "machine", "->", "global_pointer", ">", "0", "&&", "cfun", "->", "machine", "->", "global_pointer", "!=", "GLOBAL_POINTER_REGNUM", ")", "output_asm_insn", "(", "\".cplocal %+\"", ",", "0", ")", ";", "}", ""], "natrual_language": ["If", "we", "'re", "generating", "n32", "or", "n64", "abicalls", ",", "and", "the", "current", "function", "does", "not", "use", "$", "28", "as", "its", "global", "pointer", ",", "emit", "a", "cplocal", "directive", ".", "Use", "pic_offset_table_rtx", "as", "the", "argument", "to", "the", "directive", "."], "TS_V_token": ["mips", "0", "\".cplocal %+\"", "0"], "File": "mips3", "Func": "mips_output_cplocal", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8570, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARM64TTI", "::", "getIntImmCost", "(", "Intrinsic", "::", "ID", "IID", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "const", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", ")", "return", "TCC_Free", ";", "switch", "(", "IID", ")", "{", "default", ":", "return", "TCC_Free", ";", "case", "Intrinsic", "::", "sadd_with_overflow", ":", "case", "Intrinsic", "::", "uadd_with_overflow", ":", "case", "Intrinsic", "::", "ssub_with_overflow", ":", "case", "Intrinsic", "::", "usub_with_overflow", ":", "case", "Intrinsic", "::", "smul_with_overflow", ":", "case", "Intrinsic", "::", "umul_with_overflow", ":", "if", "(", "Idx", "==", "1", ")", "{", "unsigned", "NumConstants", "=", "(", "BitSize", "+", "63", ")", "/", "64", ";", "unsigned", "Cost", "=", "ARM64TTI", "::", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "return", "(", "Cost", "<=", "NumConstants", "*", "TCC_Basic", ")", "?", "static_cast", "<", "unsigned", ">", "(", "TCC_Free", ")", ":", "Cost", ";", "}", "break", ";", "case", "Intrinsic", "::", "experimental_stackmap", ":", "if", "(", "(", "Idx", "<", "2", ")", "||", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", "&&", "isInt", "<", "64", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", ")", "return", "TCC_Free", ";", "break", ";", "case", "Intrinsic", "::", "experimental_patchpoint_void", ":", "case", "Intrinsic", "::", "experimental_patchpoint_i64", ":", "if", "(", "(", "Idx", "<", "4", ")", "||", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", "&&", "isInt", "<", "64", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", ")", "return", "TCC_Free", ";", "break", ";", "}", "return", "ARM64TTI", "::", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["ARM64", "ARM64TTI::getIntImmCost", "Intrinsic::ID", "0", "Intrinsic::sadd_with_overflow", "Intrinsic::uadd_with_overflow", "Intrinsic::ssub_with_overflow", "Intrinsic::usub_with_overflow", "Intrinsic::smul_with_overflow", "Intrinsic::umul_with_overflow", "1", "63", "64", "ARM64TTI::getIntImmCost", "Intrinsic::experimental_stackmap", "2", "64", "64", "Intrinsic::experimental_patchpoint_void", "Intrinsic::experimental_patchpoint_i64", "4", "64", "64", "ARM64TTI::getIntImmCost"], "File": "ARM64TargetTransformInfo", "Func": "getIntImmCost", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8571, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "X86RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "bool", "HasAVX", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "hasAVX", "(", ")", ";", "bool", "HasAVX512", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "hasAVX512", "(", ")", ";", "switch", "(", "MF", "->", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", ")", "{", "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", "::", "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", "::", "Cold", ":", "if", "(", "Is64Bit", ")", "return", "CSR_64_MostRegs_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": "X86RegisterInfo9", "Func": "getCalleeSavedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8572, "Length": 234, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_expand_unaligned_store", "(", "rtx", "dest", ",", "rtx", "src", ",", "unsigned", "int", "width", ",", "int", "bitpos", ")", "{", "rtx", "left", ",", "right", ";", "if", "(", "!", "mips_get_unaligned_mem", "(", "&", "dest", ",", "width", ",", "bitpos", ",", "&", "left", ",", "&", "right", ")", ")", "return", "false", ";", "src", "=", "gen_lowpart", "(", "mode_for_size", "(", "width", ",", "MODE_INT", ",", "0", ")", ",", "src", ")", ";", "if", "(", "GET_MODE", "(", "src", ")", "==", "DImode", ")", "{", "emit_insn", "(", "gen_mov_sdl", "(", "dest", ",", "src", ",", "left", ")", ")", ";", "emit_insn", "(", "gen_mov_sdr", "(", "copy_rtx", "(", "dest", ")", ",", "copy_rtx", "(", "src", ")", ",", "right", ")", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_mov_swl", "(", "dest", ",", "src", ",", "left", ")", ")", ";", "emit_insn", "(", "gen_mov_swr", "(", "copy_rtx", "(", "dest", ")", ",", "copy_rtx", "(", "src", ")", ",", "right", ")", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Try", "to", "expand", "(", "set", "(", "zero_extract", "DEST", "WIDTH", "BITPOS", ")", "SRC", ")", ".", "Return", "true", "on", "success", "."], "TS_V_token": ["mips", "0"], "File": "mips3", "Func": "mips_expand_unaligned_store", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8573, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createX86OptimizeLEAs", "(", ")", ")", ";", "addPass", "(", "createX86CallFrameOptimization", "(", ")", ")", ";", "}", ""], "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"], "File": "X86TargetMachine10", "Func": "addPreRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8574, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "X86RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "bool", "HasAVX", "=", "Subtarget", ".", "hasAVX", "(", ")", ";", "bool", "HasAVX512", "=", "Subtarget", ".", "hasAVX512", "(", ")", ";", "assert", "(", "MF", "&&", "\"MachineFunction required\"", ")", ";", "switch", "(", "MF", "->", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", ")", "{", "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", "::", "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", "::", "Cold", ":", "if", "(", "Is64Bit", ")", "return", "CSR_64_MostRegs_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", "\"MachineFunction required\""], "File": "X86RegisterInfo2", "Func": "getCalleeSavedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8575, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_sum_of_two_registers_p", "(", "const_rtx", "expr", ")", "{", "if", "(", "GET_CODE", "(", "expr", ")", "==", "PLUS", ")", "{", "const_rtx", "operand1", "=", "XEXP", "(", "expr", ",", "0", ")", ";", "const_rtx", "operand2", "=", "XEXP", "(", "expr", ",", "1", ")", ";", "return", "(", "REG_P", "(", "operand1", ")", "&&", "REG_P", "(", "operand2", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "iff", "EXPR", "represents", "the", "sum", "of", "two", "registers", "."], "TS_V_token": ["rs6000", "0", "1"], "File": "rs6000-p8swap", "Func": "rs6000_sum_of_two_registers_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8576, "Length": 55, "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_long_type_node", ")", "return", "\"U6__boolx\"", ";", "if", "(", "TARGET_FLOAT128_TYPE", ")", "{", "if", "(", "type", "==", "ieee128_float_type_node", ")", "return", "\"U10__float128\"", ";", "if", "(", "TARGET_LONG_DOUBLE_128", ")", "{", "if", "(", "type", "==", "long_double_type_node", ")", "return", "(", "TARGET_IEEEQUAD", ")", "?", "\"U10__float128\"", ":", "\"g\"", ";", "if", "(", "type", "==", "ibm128_float_type_node", ")", "return", "\"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": ["rs6000", "\"U6__boolc\"", "\"U6__bools\"", "\"u7__pixel\"", "\"U6__booli\"", "\"U6__boolx\"", "\"U10__float128\"", "\"U10__float128\"", "\"g\"", "\"g\"", "\"g\""], "File": "rs60007", "Func": "rs6000_mangle_type", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8577, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_match_ccmode", "(", "rtx", "insn", ",", "machine_mode", "req_mode", ")", "{", "rtx", "set", ";", "machine_mode", "set_mode", ";", "set", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "set", ")", "==", "PARALLEL", ")", "set", "=", "XVECEXP", "(", "set", ",", "0", ",", "0", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "set", ")", "==", "SET", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "SET_SRC", "(", "set", ")", ")", "==", "COMPARE", ")", ";", "set_mode", "=", "GET_MODE", "(", "SET_DEST", "(", "set", ")", ")", ";", "switch", "(", "set_mode", ")", "{", "case", "CCNOmode", ":", "if", "(", "req_mode", "!=", "CCNOmode", "&&", "(", "req_mode", "!=", "CCmode", "||", "XEXP", "(", "SET_SRC", "(", "set", ")", ",", "1", ")", "!=", "const0_rtx", ")", ")", "return", "false", ";", "break", ";", "case", "CCmode", ":", "if", "(", "req_mode", "==", "CCGCmode", ")", "return", "false", ";", "case", "CCGCmode", ":", "if", "(", "req_mode", "==", "CCGOCmode", "||", "req_mode", "==", "CCNOmode", ")", "return", "false", ";", "case", "CCGOCmode", ":", "if", "(", "req_mode", "==", "CCZmode", ")", "return", "false", ";", "case", "CCZmode", ":", "break", ";", "case", "CCAmode", ":", "case", "CCCmode", ":", "case", "CCOmode", ":", "case", "CCPmode", ":", "case", "CCSmode", ":", "if", "(", "set_mode", "!=", "req_mode", ")", "return", "false", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "GET_MODE", "(", "SET_SRC", "(", "set", ")", ")", "==", "set_mode", ";", "}", ""], "natrual_language": ["Return", "TRUE", "or", "FALSE", "depending", "on", "whether", "the", "first", "SET", "in", "INSN", "has", "source", "and", "destination", "with", "matching", "CC", "modes", ",", "and", "that", "the", "CC", "mode", "is", "at", "least", "as", "constrained", "as", "REQ_MODE", "."], "TS_V_token": ["i386", "0", "0", "1"], "File": "i3865", "Func": "ix86_match_ccmode", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8578, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSEInstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", "->", "getParent", "(", ")", ";", "bool", "isMicroMips", "=", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "inMicroMipsMode", "(", ")", ";", "unsigned", "Opc", ";", "switch", "(", "MI", "->", "getDesc", "(", ")", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Mips", "::", "RetRA", ":", "expandRetRA", "(", "MBB", ",", "MI", ")", ";", "break", ";", "case", "Mips", "::", "PseudoMFHI", ":", "Opc", "=", "isMicroMips", "?", "Mips", "::", "MFHI16_MM", ":", "Mips", "::", "MFHI", ";", "expandPseudoMFHiLo", "(", "MBB", ",", "MI", ",", "Opc", ")", ";", "break", ";", "case", "Mips", "::", "PseudoMFLO", ":", "Opc", "=", "isMicroMips", "?", "Mips", "::", "MFLO16_MM", ":", "Mips", "::", "MFLO", ";", "expandPseudoMFHiLo", "(", "MBB", ",", "MI", ",", "Opc", ")", ";", "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", ":", "expandCvtFPInt", "(", "MBB", ",", "MI", ",", "Mips", "::", "CVT_D32_W", ",", "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", ":", "expandCvtFPInt", "(", "MBB", ",", "MI", ",", "Mips", "::", "CVT_D64_W", ",", "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", ",", "false", ")", ";", "break", ";", "case", "Mips", "::", "BuildPairF64_64", ":", "expandBuildPairF64", "(", "MBB", ",", "MI", ",", "true", ")", ";", "break", ";", "case", "Mips", "::", "ExtractElementF64", ":", "expandExtractElementF64", "(", "MBB", ",", "MI", ",", "false", ")", ";", "break", ";", "case", "Mips", "::", "ExtractElementF64_64", ":", "expandExtractElementF64", "(", "MBB", ",", "MI", ",", "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", "Mips::RetRA", "Mips::PseudoMFHI", "Mips", "Mips::MFHI16_MM", "Mips::MFHI", "Mips::PseudoMFLO", "Mips", "Mips::MFLO16_MM", "Mips::MFLO", "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::CVT_D32_W", "Mips::MTC1", "Mips::PseudoCVT_S_L", "Mips::CVT_S_L", "Mips::DMTC1", "Mips::PseudoCVT_D64_W", "Mips::CVT_D64_W", "Mips::MTC1", "Mips::PseudoCVT_D64_L", "Mips::CVT_D64_L", "Mips::DMTC1", "Mips::BuildPairF64", "Mips::BuildPairF64_64", "Mips::ExtractElementF64", "Mips::ExtractElementF64_64", "Mips::MIPSeh_return32", "Mips::MIPSeh_return64"], "File": "MipsSEInstrInfo18", "Func": "expandPostRAPseudo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8579, "Length": 453, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "ARMTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "ADD", ":", "return", "PerformADDCombine", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SUB", ":", "return", "PerformSUBCombine", "(", "N", ",", "DCI", ")", ";", "case", "ARMISD", "::", "FMRRD", ":", "return", "PerformFMRRDCombine", "(", "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": ["ARM", "ARM", "ISD::ADD", "ISD::SUB", "ARMISD::FMRRD"], "File": "ARMISelLowering124", "Func": "PerformDAGCombine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8580, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiFrameLowering", "::", "determineFrameLayout", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "LanaiRegisterInfo", "*", "LRI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "FrameSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "Align", "StackAlign", "=", "LRI", "->", "hasStackRealignment", "(", "MF", ")", "?", "MFI", ".", "getMaxAlign", "(", ")", ":", "getStackAlign", "(", ")", ";", "unsigned", "MaxCallFrameSize", "=", "MFI", ".", "getMaxCallFrameSize", "(", ")", ";", "if", "(", "MFI", ".", "hasVarSizedObjects", "(", ")", ")", "MaxCallFrameSize", "=", "alignTo", "(", "MaxCallFrameSize", ",", "StackAlign", ")", ";", "MFI", ".", "setMaxCallFrameSize", "(", "MaxCallFrameSize", ")", ";", "if", "(", "!", "(", "hasReservedCallFrame", "(", "MF", ")", "&&", "MFI", ".", "adjustsStack", "(", ")", ")", ")", "FrameSize", "+=", "MaxCallFrameSize", ";", "FrameSize", "=", "alignTo", "(", "FrameSize", ",", "StackAlign", ")", ";", "MFI", ".", "setStackSize", "(", "FrameSize", ")", ";", "}", ""], "natrual_language": ["Determine", "the", "frame", "layout", "but", "do", "not", "update", "the", "machine", "function", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai"], "File": "LanaiFrameLowering6", "Func": "determineFrameLayout", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8581, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int64_t", "mmix_intval", "(", "const_rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST_INT", ")", "return", "INTVAL", "(", "x", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST_DOUBLE", "&&", "GET_MODE", "(", "x", ")", "==", "VOIDmode", ")", "return", "CONST_DOUBLE_HIGH", "(", "x", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST_DOUBLE", ")", "{", "if", "(", "GET_MODE", "(", "x", ")", "==", "DFmode", ")", "{", "long", "bits", "[", "2", "]", ";", "REAL_VALUE_TO_TARGET_DOUBLE", "(", "*", "CONST_DOUBLE_REAL_VALUE", "(", "x", ")", ",", "bits", ")", ";", "return", "(", "(", "uint64_t", ")", "(", "unsigned", "long", ")", "bits", "[", "0", "]", "<<", "(", "uint64_t", ")", "32U", ")", "|", "(", "uint64_t", ")", "(", "unsigned", "long", ")", "bits", "[", "1", "]", ";", "}", "else", "if", "(", "GET_MODE", "(", "x", ")", "==", "SFmode", ")", "{", "long", "bits", ";", "REAL_VALUE_TO_TARGET_SINGLE", "(", "*", "CONST_DOUBLE_REAL_VALUE", "(", "x", ")", ",", "bits", ")", ";", "return", "(", "unsigned", "long", ")", "bits", ";", "}", "}", "fatal_insn", "(", "\"MMIX Internal: This is not a constant:\"", ",", "x", ")", ";", "}", ""], "natrual_language": ["Return", "the", "bit-value", "for", "a", "const_int", "or", "const_double", "."], "TS_V_token": ["mmix", "2", "0", "32U", "1", "\"MMIX Internal: This is not a constant:\""], "File": "mmix", "Func": "mmix_intval", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8582, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "use_vfp_abi", "(", "enum", "arm_pcs", "pcs_variant", ",", "bool", "is_double", ")", "{", "if", "(", "pcs_variant", "==", "ARM_PCS_AAPCS_VFP", ")", "{", "static", "bool", "seen_thumb1_vfp", "=", "false", ";", "if", "(", "TARGET_THUMB1", "&&", "!", "seen_thumb1_vfp", ")", "{", "sorry", "(", "\"Thumb-1 hard-float VFP ABI\"", ")", ";", "seen_thumb1_vfp", "=", "true", ";", "}", "return", "true", ";", "}", "if", "(", "pcs_variant", "!=", "ARM_PCS_AAPCS_LOCAL", ")", "return", "false", ";", "return", "(", "TARGET_32BIT", "&&", "TARGET_VFP", "&&", "TARGET_HARD_FLOAT", "&&", "(", "TARGET_VFP_DOUBLE", "||", "!", "is_double", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "PCS_VARIANT", "should", "use", "VFP", "registers", "."], "TS_V_token": ["arm", "\"Thumb-1 hard-float VFP ABI\""], "File": "arm4", "Func": "use_vfp_abi", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8583, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "ClobbersPredicate", "(", "MachineInstr", "&", "MI", ",", "std", "::", "vector", "<", "MachineOperand", ">", "&", "Pred", ",", "bool", "SkipDead", ")", "const", "{", "bool", "Found", "=", "false", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "MI", ".", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "i", ")", ";", "bool", "ClobbersCPSR", "=", "MO", ".", "isRegMask", "(", ")", "&&", "MO", ".", "clobbersPhysReg", "(", "ARM", "::", "CPSR", ")", ";", "bool", "IsCPSR", "=", "MO", ".", "isReg", "(", ")", "&&", "MO", ".", "isDef", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "==", "ARM", "::", "CPSR", ";", "if", "(", "ClobbersCPSR", "||", "IsCPSR", ")", "{", "const", "MCInstrDesc", "&", "MCID", "=", "MI", ".", "getDesc", "(", ")", ";", "if", "(", "MCID", ".", "TSFlags", "&", "ARMII", "::", "ThumbArithFlagSetting", "&&", "MO", ".", "isDead", "(", ")", "&&", "SkipDead", ")", "continue", ";", "Pred", ".", "push_back", "(", "MO", ")", ";", "Found", "=", "true", ";", "}", "}", "return", "Found", ";", "}", ""], "natrual_language": ["If", "the", "specified", "instruction", "defines", "any", "predicate", "or", "condition", "code", "register", "(", "s", ")", "used", "for", "predication", ",", "returns", "true", "as", "well", "as", "the", "definition", "predicate", "(", "s", ")", "by", "reference", "."], "TS_V_token": ["ARM", "ARM", "0", "ARM::CPSR", "ARM::CPSR", "ARMII::ThumbArithFlagSetting"], "File": "ARMBaseInstrInfo110", "Func": "ClobbersPredicate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8584, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "SystemZDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"Selecting: \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"== \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "return", "0", ";", "}", "unsigned", "Opcode", "=", "Node", "->", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "case", "ISD", "::", "OR", ":", "case", "ISD", "::", "XOR", ":", "if", "(", "Node", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i64", ")", "if", "(", "ConstantSDNode", "*", "Op1", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Node", "->", "getOperand", "(", "1", ")", ")", ")", "{", "uint64_t", "Val", "=", "Op1", "->", "getZExtValue", "(", ")", ";", "if", "(", "!", "SystemZ", "::", "isImmLF", "(", "Val", ")", "&&", "!", "SystemZ", "::", "isImmHF", "(", "Val", ")", ")", "Node", "=", "splitLargeImmediate", "(", "Opcode", ",", "Node", ",", "Node", "->", "getOperand", "(", "0", ")", ",", "Val", "-", "uint32_t", "(", "Val", ")", ",", "uint32_t", "(", "Val", ")", ")", ";", "}", "break", ";", "case", "ISD", "::", "Constant", ":", "if", "(", "Node", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i64", ")", "{", "uint64_t", "Val", "=", "cast", "<", "ConstantSDNode", ">", "(", "Node", ")", "->", "getZExtValue", "(", ")", ";", "if", "(", "!", "SystemZ", "::", "isImmLF", "(", "Val", ")", "&&", "!", "SystemZ", "::", "isImmHF", "(", "Val", ")", "&&", "!", "isInt", "<", "32", ">", "(", "Val", ")", ")", "Node", "=", "splitLargeImmediate", "(", "ISD", "::", "OR", ",", "Node", ",", "SDValue", "(", ")", ",", "Val", "-", "uint32_t", "(", "Val", ")", ",", "uint32_t", "(", "Val", ")", ")", ";", "}", "break", ";", "case", "ISD", "::", "ATOMIC_LOAD_SUB", ":", "if", "(", "ConstantSDNode", "*", "Op2", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Node", "->", "getOperand", "(", "2", ")", ")", ")", "{", "uint64_t", "Value", "=", "-", "Op2", "->", "getZExtValue", "(", ")", ";", "EVT", "VT", "=", "Node", "->", "getValueType", "(", "0", ")", ";", "if", "(", "VT", "==", "MVT", "::", "i32", "||", "isInt", "<", "32", ">", "(", "Value", ")", ")", "{", "SDValue", "Ops", "[", "]", "=", "{", "Node", "->", "getOperand", "(", "0", ")", ",", "Node", "->", "getOperand", "(", "1", ")", ",", "CurDAG", "->", "getConstant", "(", "int32_t", "(", "Value", ")", ",", "VT", ")", "}", ";", "Node", "=", "CurDAG", "->", "MorphNodeTo", "(", "Node", ",", "ISD", "::", "ATOMIC_LOAD_ADD", ",", "Node", "->", "getVTList", "(", ")", ",", "Ops", ",", "array_lengthof", "(", "Ops", ")", ")", ";", "}", "}", "break", ";", "}", "SDNode", "*", "ResNode", "=", "SelectCode", "(", "Node", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"=> \"", ";", "if", "(", "ResNode", "==", "NULL", "||", "ResNode", "==", "Node", ")", "Node", "->", "dump", "(", "CurDAG", ")", ";", "else", "ResNode", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "\"\\n\"", ";", ")", ";", "return", "ResNode", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"Selecting: \"", "\"\\n\"", "\"== \"", "\"\\n\"", "0", "ISD::OR", "ISD::XOR", "0", "MVT::i64", "1", "SystemZ::isImmLF", "SystemZ::isImmHF", "0", "ISD::Constant", "0", "MVT::i64", "SystemZ::isImmLF", "SystemZ::isImmHF", "32", "ISD::OR", "ISD::ATOMIC_LOAD_SUB", "2", "0", "MVT::i32", "32", "0", "1", "ISD::ATOMIC_LOAD_ADD", "\"=> \"", "\"\\n\""], "File": "SystemZISelDAGToDAG1", "Func": "Select", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8585, "Length": 454, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCSubtarget", "::", "enablePostRAScheduler", "(", "CodeGenOpt", "::", "Level", "OptLevel", ",", "TargetSubtargetInfo", "::", "AntiDepBreakMode", "&", "Mode", ",", "RegClassVector", "&", "CriticalPathRCs", ")", "const", "{", "Mode", "=", "TargetSubtargetInfo", "::", "ANTIDEP_ALL", ";", "CriticalPathRCs", ".", "clear", "(", ")", ";", "if", "(", "isPPC64", "(", ")", ")", "CriticalPathRCs", ".", "push_back", "(", "&", "PPC", "::", "G8RCRegClass", ")", ";", "else", "CriticalPathRCs", ".", "push_back", "(", "&", "PPC", "::", "GPRCRegClass", ")", ";", "return", "OptLevel", ">=", "CodeGenOpt", "::", "Default", ";", "}", ""], "natrual_language": ["True", "if", "the", "subtarget", "should", "run", "a", "scheduler", "after", "register", "allocation", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::G8RCRegClass", "PPC::GPRCRegClass"], "File": "PPCSubtarget1", "Func": "enablePostRAScheduler", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8586, "Length": 69, "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": 8587, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDLoc", "dl", "(", "N", ")", ";", "RTLIB", "::", "Libcall", "libCall", "=", "RTLIB", "::", "UNKNOWN_LIBCALL", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Do not know how to custom type legalize this operation!\"", ")", ";", "case", "ISD", "::", "FP_TO_SINT", ":", "case", "ISD", "::", "FP_TO_UINT", ":", "if", "(", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", "!=", "MVT", "::", "f128", "||", "N", "->", "getValueType", "(", "0", ")", "!=", "MVT", "::", "i64", ")", "return", ";", "libCall", "=", "(", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_TO_SINT", ")", "?", "RTLIB", "::", "FPTOSINT_F128_I64", ":", "RTLIB", "::", "FPTOUINT_F128_I64", ")", ";", "Results", ".", "push_back", "(", "LowerF128Op", "(", "SDValue", "(", "N", ",", "0", ")", ",", "DAG", ",", "getLibcallName", "(", "libCall", ")", ",", "1", ")", ")", ";", "return", ";", "case", "ISD", "::", "READCYCLECOUNTER", ":", "{", "assert", "(", "Subtarget", "->", "hasLeonCycleCounter", "(", ")", ")", ";", "SDValue", "Lo", "=", "DAG", ".", "getCopyFromReg", "(", "N", "->", "getOperand", "(", "0", ")", ",", "dl", ",", "SP", "::", "ASR23", ",", "MVT", "::", "i32", ")", ";", "SDValue", "Hi", "=", "DAG", ".", "getCopyFromReg", "(", "Lo", ",", "dl", ",", "SP", "::", "G0", ",", "MVT", "::", "i32", ")", ";", "SDValue", "Ops", "[", "]", "=", "{", "Lo", ",", "Hi", "}", ";", "SDValue", "Pair", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BUILD_PAIR", ",", "dl", ",", "MVT", "::", "i64", ",", "Ops", ")", ";", "Results", ".", "push_back", "(", "Pair", ")", ";", "Results", ".", "push_back", "(", "N", "->", "getOperand", "(", "0", ")", ")", ";", "return", ";", "}", "case", "ISD", "::", "SINT_TO_FP", ":", "case", "ISD", "::", "UINT_TO_FP", ":", "if", "(", "N", "->", "getValueType", "(", "0", ")", "!=", "MVT", "::", "f128", "||", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", "!=", "MVT", "::", "i64", ")", "return", ";", "libCall", "=", "(", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SINT_TO_FP", ")", "?", "RTLIB", "::", "SINTTOFP_I64_F128", ":", "RTLIB", "::", "UINTTOFP_I64_F128", ")", ";", "Results", ".", "push_back", "(", "LowerF128Op", "(", "SDValue", "(", "N", ",", "0", ")", ",", "DAG", ",", "getLibcallName", "(", "libCall", ")", ",", "1", ")", ")", ";", "return", ";", "case", "ISD", "::", "LOAD", ":", "{", "LoadSDNode", "*", "Ld", "=", "cast", "<", "LoadSDNode", ">", "(", "N", ")", ";", "if", "(", "Ld", "->", "getValueType", "(", "0", ")", "!=", "MVT", "::", "i64", "||", "Ld", "->", "getMemoryVT", "(", ")", "!=", "MVT", "::", "i64", ")", "return", ";", "SDLoc", "dl", "(", "N", ")", ";", "SDValue", "LoadRes", "=", "DAG", ".", "getExtLoad", "(", "Ld", "->", "getExtensionType", "(", ")", ",", "dl", ",", "MVT", "::", "v2i32", ",", "Ld", "->", "getChain", "(", ")", ",", "Ld", "->", "getBasePtr", "(", ")", ",", "Ld", "->", "getPointerInfo", "(", ")", ",", "MVT", "::", "v2i32", ",", "Ld", "->", "getOriginalAlign", "(", ")", ",", "Ld", "->", "getMemOperand", "(", ")", "->", "getFlags", "(", ")", ",", "Ld", "->", "getAAInfo", "(", ")", ")", ";", "SDValue", "Res", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "dl", ",", "MVT", "::", "i64", ",", "LoadRes", ")", ";", "Results", ".", "push_back", "(", "Res", ")", ";", "Results", ".", "push_back", "(", "LoadRes", ".", "getValue", "(", "1", ")", ")", ";", "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": ["Sparc", "Sparc", "\"Do not know how to custom type legalize this operation!\"", "ISD::FP_TO_SINT", "ISD::FP_TO_UINT", "0", "MVT::f128", "0", "MVT::i64", "ISD::FP_TO_SINT", "0", "1", "ISD::READCYCLECOUNTER", "0", "SP::ASR23", "MVT::i32", "SP::G0", "MVT::i32", "ISD::BUILD_PAIR", "MVT::i64", "0", "ISD::SINT_TO_FP", "ISD::UINT_TO_FP", "0", "MVT::f128", "0", "MVT::i64", "ISD::SINT_TO_FP", "0", "1", "ISD::LOAD", "0", "MVT::i64", "MVT::i64", "MVT::v2i32", "MVT::v2i32", "ISD::BITCAST", "MVT::i64", "1"], "File": "SparcISelLowering26", "Func": "ReplaceNodeResults", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8588, "Length": 503, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "Cpu0RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "static", "const", "uint16_t", "ReservedCPURegs", "[", "]", "=", "{", "Cpu0", "::", "ZERO", ",", "Cpu0", "::", "AT", ",", "Cpu0", "::", "FP", ",", "Cpu0", "::", "SP", ",", "Cpu0", "::", "LR", ",", "Cpu0", "::", "PC", "}", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "typedef", "TargetRegisterClass", "::", "iterator", "RegIter", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "ReservedCPURegs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedCPURegs", "[", "I", "]", ")", ";", "if", "(", "MF", ".", "getInfo", "<", "Cpu0FunctionInfo", ">", "(", ")", "->", "globalBaseRegFixed", "(", ")", ")", "{", "Reserved", ".", "set", "(", "Cpu0", "::", "GP", ")", ";", "}", "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": ["Cpu0", "Cpu0", "Cpu0::ZERO", "Cpu0::AT", "Cpu0::FP", "Cpu0::SP", "Cpu0::LR", "Cpu0::PC", "0", "Cpu0", "Cpu0::GP"], "File": "Cpu0RegisterInfo2", "Func": "getReservedRegs", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8589, "Length": 116, "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": ["ARM64"], "File": "ARM64AdvSIMDScalarPass", "Func": "getAnalysisUsage", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8590, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_cfun_call_saved_reg_p", "(", "unsigned", "int", "regno", ")", "{", "if", "(", "global_regs", "[", "regno", "]", ")", "return", "false", ";", "if", "(", "cfun", "->", "machine", "->", "interrupt_handler_p", "&&", "mips_interrupt_extra_call_saved_reg_p", "(", "regno", ")", ")", "return", "true", ";", "return", "(", "regno", "==", "GLOBAL_POINTER_REGNUM", "?", "TARGET_CALL_SAVED_GP", ":", "!", "call_really_used_regs", "[", "regno", "]", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "current", "function", "should", "treat", "register", "REGNO", "as", "call-saved", "."], "TS_V_token": ["mips"], "File": "mips4", "Func": "mips_cfun_call_saved_reg_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8591, "Length": 51, "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": ["SIC"], "File": "SICSubtarget", "Func": "getInstrItineraryData", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8592, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "rs6000_emit_set_const", "(", "rtx", "dest", ",", "enum", "machine_mode", "mode", ",", "rtx", "source", ",", "int", "n", "ATTRIBUTE_UNUSED", ")", "{", "rtx", "result", ",", "insn", ",", "set", ";", "HOST_WIDE_INT", "c0", ",", "c1", ";", "switch", "(", "mode", ")", "{", "case", "QImode", ":", "case", "HImode", ":", "if", "(", "dest", "==", "NULL", ")", "dest", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "source", ")", ")", ";", "return", "dest", ";", "case", "SImode", ":", "result", "=", "no_new_pseudos", "?", "dest", ":", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "result", ",", "GEN_INT", "(", "INTVAL", "(", "source", ")", "&", "(", "~", "(", "HOST_WIDE_INT", ")", "0xffff", ")", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "gen_rtx_IOR", "(", "SImode", ",", "result", ",", "GEN_INT", "(", "INTVAL", "(", "source", ")", "&", "0xffff", ")", ")", ")", ")", ";", "result", "=", "dest", ";", "break", ";", "case", "DImode", ":", "switch", "(", "GET_CODE", "(", "source", ")", ")", "{", "case", "CONST_INT", ":", "c0", "=", "INTVAL", "(", "source", ")", ";", "c1", "=", "-", "(", "c0", "<", "0", ")", ";", "break", ";", "case", "CONST_DOUBLE", ":", "c0", "=", "CONST_DOUBLE_LOW", "(", "source", ")", ";", "c1", "=", "-", "(", "c0", "<", "0", ")", ";", "c0", "=", "CONST_DOUBLE_LOW", "(", "source", ")", ";", "c1", "=", "CONST_DOUBLE_HIGH", "(", "source", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "result", "=", "rs6000_emit_set_long_const", "(", "dest", ",", "c0", ",", "c1", ")", ";", "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", ",", "source", ")", ";", "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": ["rs6000", "0xffff", "0xffff", "0", "0"], "File": "rs60003", "Func": "rs6000_emit_set_const", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8593, "Length": 273, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "unique_ptr", "<", "PBQPRAConstraint", ">", "AArch64Subtarget", "::", "getCustomPBQPConstraints", "(", ")", "const", "{", "if", "(", "!", "isCortexA57", "(", ")", ")", "return", "nullptr", ";", "return", "llvm", "::", "make_unique", "<", "A57ChainingConstraint", ">", "(", ")", ";", "}", ""], "natrual_language": ["Return", "PBQPConstraint", "(", "s", ")", "for", "the", "target", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64Subtarget11", "Func": "getCustomPBQPConstraints", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8594, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ",", "bool", "ForCodeSize", ")", "const", "{", "for", "(", "const", "APFloat", "&", "FPImm", ":", "LegalFPImmediates", ")", "if", "(", "Imm", ".", "bitwiseIsEqual", "(", "FPImm", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "can", "instruction", "select", "the", "specified", "FP", "immediate", "natively", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering100", "Func": "isFPImmLegal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8595, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "FISCInstPrinter", "::", "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": ["FISC", "FISC"], "File": "FISCInstPrinter", "Func": "printInst", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8596, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "aarch64_output_probe_stack_range", "(", "rtx", "reg1", ",", "rtx", "reg2", ")", "{", "static", "int", "labelno", "=", "0", ";", "char", "loop_lab", "[", "32", "]", ";", "rtx", "xops", "[", "2", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "loop_lab", ",", "\"LPSRL\"", ",", "labelno", "++", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "loop_lab", ")", ";", "xops", "[", "0", "]", "=", "reg1", ";", "xops", "[", "1", "]", "=", "GEN_INT", "(", "PROBE_INTERVAL", ")", ";", "output_asm_insn", "(", "\"sub\\t%0, %0, %1\"", ",", "xops", ")", ";", "output_asm_insn", "(", "\"str\\txzr, [%0]\"", ",", "xops", ")", ";", "xops", "[", "1", "]", "=", "reg2", ";", "output_asm_insn", "(", "\"cmp\\t%0, %1\"", ",", "xops", ")", ";", "fputs", "(", "\"\\tb.ne\\t\"", ",", "asm_out_file", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "loop_lab", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Probe", "a", "range", "of", "stack", "addresses", "from", "REG1", "to", "REG2", "inclusive", ".", "These", "are", "absolute", "addresses", "."], "TS_V_token": ["aarch64", "0", "32", "2", "\"LPSRL\"", "0", "1", "\"sub\\t%0, %0, %1\"", "\"str\\txzr, [%0]\"", "1", "\"cmp\\t%0, %1\"", "\"\\tb.ne\\t\"", "\"\""], "File": "aarch643", "Func": "aarch64_output_probe_stack_range", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8597, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "rs6000_translate_mode_attribute", "(", "machine_mode", "mode", ")", "{", "if", "(", "(", "FLOAT128_IEEE_P", "(", "mode", ")", "&&", "ieee128_float_type_node", "==", "long_double_type_node", ")", "||", "(", "FLOAT128_IBM_P", "(", "mode", ")", "&&", "ibm128_float_type_node", "==", "long_double_type_node", ")", ")", "return", "COMPLEX_MODE_P", "(", "mode", ")", "?", "E_TCmode", ":", "E_TFmode", ";", "return", "mode", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "translate_mode_attribute", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_translate_mode_attribute", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8598, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isPredicated", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "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", "1", "ARMCC::AL"], "File": "ARMBaseInstrInfo22", "Func": "isPredicated", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8599, "Length": 41, "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", "0", ";", "if", "(", "MI", "->", "mayLoad", "(", ")", ")", "{", "FoldAsLoadDefReg", "=", "0", ";", "return", "0", ";", "}", "DefMI", "=", "MRI", "->", "getVRegDef", "(", "FoldAsLoadDefReg", ")", ";", "assert", "(", "DefMI", ")", ";", "bool", "SawStore", "=", "false", ";", "if", "(", "!", "DefMI", "->", "isSafeToMove", "(", "this", ",", "0", ",", "SawStore", ")", ")", "return", "0", ";", "unsigned", "IdxEnd", "=", "(", "MI", "->", "isCommutable", "(", ")", ")", "?", "2", ":", "1", ";", "for", "(", "unsigned", "Idx", "=", "0", ";", "Idx", "<", "IdxEnd", ";", "Idx", "++", ")", "{", "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", "0", ";", "SrcOperandId", "=", "i", ";", "FoundSrcOperand", "=", "true", ";", "}", "if", "(", "!", "FoundSrcOperand", ")", "return", "0", ";", "SmallVector", "<", "unsigned", ",", "8", ">", "Ops", ";", "Ops", ".", "push_back", "(", "SrcOperandId", ")", ";", "MachineInstr", "*", "FoldMI", "=", "foldMemoryOperand", "(", "MI", ",", "Ops", ",", "DefMI", ")", ";", "if", "(", "FoldMI", ")", "{", "FoldAsLoadDefReg", "=", "0", ";", "return", "FoldMI", ";", "}", "if", "(", "Idx", "==", "1", ")", "{", "commuteInstruction", "(", "MI", ",", "false", ")", ";", "return", "0", ";", "}", "if", "(", "MI", "->", "isCommutable", "(", ")", ")", "{", "MachineInstr", "*", "NewMI", "=", "commuteInstruction", "(", "MI", ",", "false", ")", ";", "if", "(", "!", "NewMI", ")", "return", "0", ";", "if", "(", "NewMI", "!=", "MI", ")", "{", "NewMI", "->", "eraseFromParent", "(", ")", ";", "return", "0", ";", "}", "}", "}", "return", "0", ";", "}", ""], "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", "0", "2", "1", "0", "0", "0", "0", "0", "8", "0", "1", "0", "0", "0", "0"], "File": "X86InstrInfo (2)", "Func": "optimizeLoadInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8600, "Length": 340, "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": 8601, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMFastISel", "::", "fastEmitInst_rr", "(", "unsigned", "MachineInstOpcode", ",", "const", "TargetRegisterClass", "*", "RC", ",", "unsigned", "Op0", ",", "unsigned", "Op1", ")", "{", "unsigned", "ResultReg", "=", "createResultReg", "(", "RC", ")", ";", "const", "MCInstrDesc", "&", "II", "=", "TII", ".", "get", "(", "MachineInstOpcode", ")", ";", "Op0", "=", "constrainOperandRegClass", "(", "II", ",", "Op0", ",", "1", ")", ";", "Op1", "=", "constrainOperandRegClass", "(", "II", ",", "Op1", ",", "2", ")", ";", "if", "(", "II", ".", "getNumDefs", "(", ")", ">=", "1", ")", "{", "AddOptionalDefs", "(", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "II", ",", "ResultReg", ")", ".", "addReg", "(", "Op0", ")", ".", "addReg", "(", "Op1", ")", ")", ";", "}", "else", "{", "AddOptionalDefs", "(", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "II", ")", ".", "addReg", "(", "Op0", ")", ".", "addReg", "(", "Op1", ")", ")", ";", "AddOptionalDefs", "(", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "ResultReg", ")", ".", "addReg", "(", "II", ".", "ImplicitDefs", "[", "0", "]", ")", ")", ";", "}", "return", "ResultReg", ";", "}", ""], "natrual_language": ["Emit", "a", "MachineInstr", "with", "two", "register", "operands", "and", "a", "result", "register", "in", "the", "given", "register", "class", "."], "TS_V_token": ["ARM", "ARM", "1", "2", "1", "0"], "File": "ARMFastISel24", "Func": "fastEmitInst_rr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8602, "Length": 179, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "InstrItineraryData", "&", "getInstrItineraryData", "(", ")", "const", "{", "return", "InstrItins", ";", "}", ""], "natrual_language": ["getInstrItineraryData", "-", "Returns", "instruction", "itinerary", "data", "for", "the", "target", "or", "specific", "subtarget", "."], "TS_V_token": ["ARM"], "File": "ARMSubtarget (2)", "Func": "getInstrItineraryData", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8603, "Length": 12, "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", "{", "if", "(", "RC", "==", "&", "ARM", "::", "GPRRegClass", "||", "RC", "==", "&", "ARM", "::", "tGPRRegClass", "||", "RC", "==", "&", "ARM", "::", "tcGPRRegClass", "||", "RC", "==", "&", "ARM", "::", "rGPRRegClass", "||", "RC", "==", "&", "ARM", "::", "GPRnopcRegClass", ")", "{", "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", "::", "t2STRi12", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ")", ";", "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"], "File": "Thumb2InstrInfo17", "Func": "storeRegToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8604, "Length": 217, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "override", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "X86", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"reloc_riprel_4byte\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_riprel_4byte_movq_load\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_riprel_4byte_relax\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_riprel_4byte_relax_rex\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_signed_4byte\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"reloc_signed_4byte_relax\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"reloc_global_offset_table\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"reloc_global_offset_table8\"", ",", "0", ",", "64", ",", "0", "}", ",", "{", "\"reloc_branch_4byte_pcrel\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "}", ";", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "assert", "(", "unsigned", "(", "Kind", "-", "FirstTargetFixupKind", ")", "<", "getNumFixupKinds", "(", ")", "&&", "\"Invalid kind!\"", ")", ";", "assert", "(", "Infos", "[", "Kind", "-", "FirstTargetFixupKind", "]", ".", "Name", "&&", "\"Empty fixup name!\"", ")", ";", "return", "Infos", "[", "Kind", "-", "FirstTargetFixupKind", "]", ";", "}", ""], "natrual_language": ["Get", "information", "on", "a", "fixup", "kind", "."], "TS_V_token": ["X86", "X86::NumTargetFixupKinds", "\"reloc_riprel_4byte\"", "0", "32", "\"reloc_riprel_4byte_movq_load\"", "0", "32", "\"reloc_riprel_4byte_relax\"", "0", "32", "\"reloc_riprel_4byte_relax_rex\"", "0", "32", "\"reloc_signed_4byte\"", "0", "32", "0", "\"reloc_signed_4byte_relax\"", "0", "32", "0", "\"reloc_global_offset_table\"", "0", "32", "0", "\"reloc_global_offset_table8\"", "0", "64", "0", "\"reloc_branch_4byte_pcrel\"", "0", "32", "\"Invalid kind!\"", "\"Empty fixup name!\""], "File": "X86AsmBackend (2)2", "Func": "getFixupKindInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8605, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_set_func_type", "(", "tree", "fndecl", ")", "{", "if", "(", "cfun", "->", "machine", "->", "func_type", "==", "TYPE_UNKNOWN", ")", "{", "if", "(", "lookup_attribute", "(", "\"interrupt\"", ",", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "fndecl", ")", ")", ")", ")", "{", "if", "(", "ix86_function_naked", "(", "fndecl", ")", ")", "error_at", "(", "DECL_SOURCE_LOCATION", "(", "fndecl", ")", ",", "\"interrupt and naked attributes are not compatible\"", ")", ";", "int", "nargs", "=", "0", ";", "for", "(", "tree", "arg", "=", "DECL_ARGUMENTS", "(", "fndecl", ")", ";", "arg", ";", "arg", "=", "TREE_CHAIN", "(", "arg", ")", ")", "nargs", "++", ";", "cfun", "->", "machine", "->", "no_caller_saved_registers", "=", "true", ";", "cfun", "->", "machine", "->", "func_type", "=", "nargs", "==", "2", "?", "TYPE_EXCEPTION", ":", "TYPE_INTERRUPT", ";", "ix86_optimize_mode_switching", "[", "X86_DIRFLAG", "]", "=", "1", ";", "if", "(", "write_symbols", "!=", "NO_DEBUG", "&&", "write_symbols", "!=", "DWARF2_DEBUG", ")", "sorry", "(", "\"only DWARF debug format is supported for interrupt \"", "\"service routine\"", ")", ";", "}", "else", "{", "cfun", "->", "machine", "->", "func_type", "=", "TYPE_NORMAL", ";", "if", "(", "lookup_attribute", "(", "\"no_caller_saved_registers\"", ",", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "fndecl", ")", ")", ")", ")", "cfun", "->", "machine", "->", "no_caller_saved_registers", "=", "true", ";", "}", "}", "}", ""], "natrual_language": ["Set", "the", "func_type", "field", "from", "the", "function", "FNDECL", "."], "TS_V_token": ["i386", "\"interrupt\"", "\"interrupt and naked attributes are not compatible\"", "0", "2", "1", "\"only DWARF debug format is supported for interrupt \"", "\"service routine\"", "\"no_caller_saved_registers\""], "File": "i386-options", "Func": "ix86_set_func_type", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8606, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "stackSlotSize", "(", ")", "{", "return", "4", ";", "}", ""], "natrual_language": ["Stack", "slot", "size", "(", "4", "bytes", ")"], "TS_V_token": ["SHUXI", "4"], "File": "SHUXIFrameLowering", "Func": "stackSlotSize", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8607, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", ">=", "CodeGenOpt", "::", "Aggressive", "&&", "EnableLoadStoreOpt", ")", "addPass", "(", "createAArch64LoadStoreOptimizationPass", "(", ")", ")", ";", "if", "(", "EnableA53Fix835769", ")", "addPass", "(", "createAArch64A53Fix835769", "(", ")", ")", ";", "if", "(", "EnableBranchTargets", ")", "addPass", "(", "createAArch64BranchTargetsPass", "(", ")", ")", ";", "if", "(", "BranchRelaxation", ")", "addPass", "(", "&", "BranchRelaxationPassID", ")", ";", "if", "(", "TM", "->", "getTargetTriple", "(", ")", ".", "isOSWindows", "(", ")", ")", "addPass", "(", "createCFGuardLongjmpPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableCompressJumpTables", ")", "addPass", "(", "createAArch64CompressJumpTablesPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableCollectLOH", "&&", "TM", "->", "getTargetTriple", "(", ")", ".", "isOSBinFormatMachO", "(", ")", ")", "addPass", "(", "createAArch64CollectLOHPass", "(", ")", ")", ";", "}", ""], "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", "AArch64", "AArch64"], "File": "AArch64TargetMachine37", "Func": "addPreEmitPass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8608, "Length": 132, "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": 8609, "Length": 51, "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", ";", "IOR_COMPL_HARD_REG_SET", "(", "*", "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-avoidance2", "Func": "init_unavailable", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8610, "Length": 187, "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": 8611, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "sbitmap", "aarch64_components_for_bb", "(", "basic_block", "bb", ")", "{", "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", "(", "LAST_SAVED_REGNUM", "+", "1", ")", ";", "bitmap_clear", "(", "components", ")", ";", "for", "(", "unsigned", "regno", "=", "0", ";", "regno", "<=", "LAST_SAVED_REGNUM", ";", "regno", "++", ")", "if", "(", "(", "!", "call_used_regs", "[", "regno", "]", ")", "&&", "(", "bitmap_bit_p", "(", "in", ",", "regno", ")", "||", "bitmap_bit_p", "(", "gen", ",", "regno", ")", "||", "bitmap_bit_p", "(", "kill", ",", "regno", ")", ")", ")", "{", "unsigned", "regno2", ",", "offset", ",", "offset2", ";", "bitmap_set_bit", "(", "components", ",", "regno", ")", ";", "offset", "=", "cfun", "->", "machine", "->", "frame", ".", "reg_offset", "[", "regno", "]", ";", "regno2", "=", "(", "(", "offset", "&", "8", ")", "==", "0", ")", "?", "regno", "+", "1", ":", "regno", "-", "1", ";", "if", "(", "regno2", "<=", "LAST_SAVED_REGNUM", ")", "{", "offset2", "=", "cfun", "->", "machine", "->", "frame", ".", "reg_offset", "[", "regno2", "]", ";", "if", "(", "(", "offset", "&", "~", "8", ")", "==", "(", "offset2", "&", "~", "8", ")", ")", "bitmap_set_bit", "(", "components", ",", "regno2", ")", ";", "}", "}", "return", "components", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SHRINK_WRAP_COMPONENTS_FOR_BB", "."], "TS_V_token": ["aarch64", "1", "0", "8", "0", "1", "1", "8", "8"], "File": "aarch645", "Func": "aarch64_components_for_bb", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8612, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "areMemAccessesTriviallyDisjoint", "(", "MachineInstr", "&", "MIa", ",", "MachineInstr", "&", "MIb", ",", "AliasAnalysis", "*", "AA", ")", "const", "{", "const", "TargetRegisterInfo", "*", "TRI", "=", "&", "getRegisterInfo", "(", ")", ";", "unsigned", "BaseRegA", "=", "0", ",", "BaseRegB", "=", "0", ";", "int64_t", "OffsetA", "=", "0", ",", "OffsetB", "=", "0", ";", "unsigned", "WidthA", "=", "0", ",", "WidthB", "=", "0", ";", "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", ";", "if", "(", "getMemOpBaseRegImmOfsWidth", "(", "MIa", ",", "BaseRegA", ",", "OffsetA", ",", "WidthA", ",", "TRI", ")", "&&", "getMemOpBaseRegImmOfsWidth", "(", "MIb", ",", "BaseRegB", ",", "OffsetB", ",", "WidthB", ",", "TRI", ")", ")", "{", "if", "(", "BaseRegA", "==", "BaseRegB", ")", "{", "int", "LowOffset", "=", "OffsetA", "<", "OffsetB", "?", "OffsetA", ":", "OffsetB", ";", "int", "HighOffset", "=", "OffsetA", "<", "OffsetB", "?", "OffsetB", ":", "OffsetA", ";", "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": ["AArch64", "AArch64", "0", "0", "0", "0", "0", "0", "\"MIa must be a load or store.\"", "\"MIb must be a load or store.\""], "File": "AArch64InstrInfo (2)", "Func": "areMemAccessesTriviallyDisjoint", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8613, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "AND", ":", "return", "LowerANDOR", "(", "Op", ",", "DAG", ")", ";", "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", "::", "FP_TO_SINT", ":", "return", "LowerFP_TO_SINT", "(", "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", "::", "OR", ":", "return", "LowerANDOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "LowerSELECT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SETCC", ":", "return", "LowerSETCC", "(", "Op", ",", "DAG", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Mips", "Mips", "ISD::AND", "ISD::BRCOND", "ISD::ConstantPool", "ISD::DYNAMIC_STACKALLOC", "ISD::FP_TO_SINT", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::JumpTable", "ISD::OR", "ISD::SELECT", "ISD::SETCC"], "File": "MipsISelLowering93", "Func": "LowerOperation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8614, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "direction", "function_arg_padding", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "if", "(", "TARGET_ARCH64", "&&", "type", "&&", "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"], "File": "sparc5", "Func": "function_arg_padding", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8615, "Length": 34, "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", "==", "NULL", ")", "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", "(", "type", "->", "isFloatTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "}", "return", "weight", ";", "}", ""], "natrual_language": ["Examine", "constraint", "string", "and", "operand", "type", "and", "determine", "a", "weight", "value", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsISelLowering (2)3", "Func": "getSingleConstraintMatchWeight", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8616, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsRegisterBankInfo", "::", "setRegBank", "(", "MachineInstr", "&", "MI", ",", "MachineRegisterInfo", "&", "MRI", ")", "const", "{", "Register", "Dest", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "TargetOpcode", "::", "G_STORE", ":", "break", ";", "case", "TargetOpcode", "::", "G_CONSTANT", ":", "case", "TargetOpcode", "::", "G_LOAD", ":", "case", "TargetOpcode", "::", "G_SELECT", ":", "case", "TargetOpcode", "::", "G_PHI", ":", "case", "TargetOpcode", "::", "G_IMPLICIT_DEF", ":", "{", "assert", "(", "MRI", ".", "getType", "(", "Dest", ")", "==", "LLT", "::", "scalar", "(", "32", ")", "&&", "\"Unexpected operand type.\"", ")", ";", "MRI", ".", "setRegBank", "(", "Dest", ",", "getRegBank", "(", "Mips", "::", "GPRBRegBankID", ")", ")", ";", "break", ";", "}", "case", "TargetOpcode", "::", "G_GEP", ":", "{", "assert", "(", "MRI", ".", "getType", "(", "Dest", ")", ".", "isPointer", "(", ")", "&&", "\"Unexpected operand type.\"", ")", ";", "MRI", ".", "setRegBank", "(", "Dest", ",", "getRegBank", "(", "Mips", "::", "GPRBRegBankID", ")", ")", ";", "break", ";", "}", "default", ":", "llvm_unreachable", "(", "\"Unexpected opcode.\"", ")", ";", "}", "}", ""], "natrual_language": ["RegBankSelect", "determined", "that", "s64", "operand", "is", "better", "to", "be", "split", "into", "two", "s32", "operands", "in", "gprb", "."], "TS_V_token": ["Mips", "Mips", "0", "32", "\"Unexpected operand type.\"", "Mips::GPRBRegBankID", "\"Unexpected operand type.\"", "Mips::GPRBRegBankID", "\"Unexpected opcode.\""], "File": "MipsRegisterBankInfo16", "Func": "setRegBank", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8617, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBank", "&", "AArch64RegisterBankInfo", "::", "getRegBankFromRegClass", "(", "const", "TargetRegisterClass", "&", "RC", ")", "const", "{", "switch", "(", "RC", ".", "getID", "(", ")", ")", "{", "case", "AArch64", "::", "FPR8RegClassID", ":", "case", "AArch64", "::", "FPR16RegClassID", ":", "case", "AArch64", "::", "FPR32RegClassID", ":", "case", "AArch64", "::", "FPR64RegClassID", ":", "case", "AArch64", "::", "FPR128RegClassID", ":", "case", "AArch64", "::", "FPR128_loRegClassID", ":", "case", "AArch64", "::", "DDRegClassID", ":", "case", "AArch64", "::", "DDDRegClassID", ":", "case", "AArch64", "::", "DDDDRegClassID", ":", "case", "AArch64", "::", "QQRegClassID", ":", "case", "AArch64", "::", "QQQRegClassID", ":", "case", "AArch64", "::", "QQQQRegClassID", ":", "case", "AArch64", "::", "ZPRRegClassID", ":", "case", "AArch64", "::", "ZPR2RegClassID", ":", "case", "AArch64", "::", "ZPR3RegClassID", ":", "case", "AArch64", "::", "ZPR4RegClassID", ":", "return", "getRegBank", "(", "AArch64", "::", "FPRRegBankID", ")", ";", "case", "AArch64", "::", "GPR32commonRegClassID", ":", "case", "AArch64", "::", "GPR32RegClassID", ":", "case", "AArch64", "::", "GPR32spRegClassID", ":", "case", "AArch64", "::", "GPR32sponlyRegClassID", ":", "case", "AArch64", "::", "GPR32allRegClassID", ":", "case", "AArch64", "::", "GPR64commonRegClassID", ":", "case", "AArch64", "::", "GPR64RegClassID", ":", "case", "AArch64", "::", "GPR64spRegClassID", ":", "case", "AArch64", "::", "GPR64sponlyRegClassID", ":", "case", "AArch64", "::", "GPR64allRegClassID", ":", "case", "AArch64", "::", "tcGPR64RegClassID", ":", "case", "AArch64", "::", "WSeqPairsClassRegClassID", ":", "case", "AArch64", "::", "XSeqPairsClassRegClassID", ":", "return", "getRegBank", "(", "AArch64", "::", "GPRRegBankID", ")", ";", "case", "AArch64", "::", "CCRRegClassID", ":", "return", "getRegBank", "(", "AArch64", "::", "CCRRegBankID", ")", ";", "default", ":", "llvm_unreachable", "(", "\"Register class not supported\"", ")", ";", "}", "}", ""], "natrual_language": ["Get", "a", "register", "bank", "that", "covers", "RC", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::FPR8RegClassID", "AArch64::FPR16RegClassID", "AArch64::FPR32RegClassID", "AArch64::FPR64RegClassID", "AArch64::FPR128RegClassID", "AArch64::FPR128_loRegClassID", "AArch64::DDRegClassID", "AArch64::DDDRegClassID", "AArch64::DDDDRegClassID", "AArch64::QQRegClassID", "AArch64::QQQRegClassID", "AArch64::QQQQRegClassID", "AArch64::ZPRRegClassID", "AArch64::ZPR2RegClassID", "AArch64::ZPR3RegClassID", "AArch64::ZPR4RegClassID", "AArch64::FPRRegBankID", "AArch64::GPR32commonRegClassID", "AArch64::GPR32RegClassID", "AArch64::GPR32spRegClassID", "AArch64::GPR32sponlyRegClassID", "AArch64::GPR32allRegClassID", "AArch64::GPR64commonRegClassID", "AArch64::GPR64RegClassID", "AArch64::GPR64spRegClassID", "AArch64::GPR64sponlyRegClassID", "AArch64::GPR64allRegClassID", "AArch64::tcGPR64RegClassID", "AArch64::WSeqPairsClassRegClassID", "AArch64::XSeqPairsClassRegClassID", "AArch64::GPRRegBankID", "AArch64::CCRRegClassID", "AArch64::CCRRegBankID", "\"Register class not supported\""], "File": "AArch64RegisterBankInfo27", "Func": "getRegBankFromRegClass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8618, "Length": 206, "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", ")", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", "||", "!", "MO", ".", "isImplicit", "(", ")", ")", "OutMI", ".", "addOperand", "(", "lowerOperand", "(", "MO", ")", ")", ";", "}", "}", ""], "natrual_language": ["The", "instruction", "is", "lowered", "."], "TS_V_token": ["SystemZ", "SystemZ", "0"], "File": "SystemZMCInstLower3", "Func": "lower", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8619, "Length": 113, "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": ["PowerPC"], "File": "PPCRegisterInfo16", "Func": "requiresFrameIndexScavenging", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8620, "Length": 14, "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": 8621, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", "ATTRIBUTE_UNUSED", ")", "{", "tree", "type", ";", "if", "(", "decl", ")", "{", "if", "(", "TARGET_ALTIVEC_VRSAVE", ")", "{", "for", "(", "type", "=", "TYPE_ARG_TYPES", "(", "TREE_TYPE", "(", "decl", ")", ")", ";", "type", ";", "type", "=", "TREE_CHAIN", "(", "type", ")", ")", "{", "if", "(", "TREE_CODE", "(", "TREE_VALUE", "(", "type", ")", ")", "==", "VECTOR_TYPE", ")", "return", "false", ";", "}", "}", "if", "(", "DEFAULT_ABI", "==", "ABI_DARWIN", "||", "(", "*", "targetm", ".", "binds_local_p", ")", "(", "decl", ")", ")", "{", "tree", "attr_list", "=", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "decl", ")", ")", ";", "if", "(", "!", "lookup_attribute", "(", "\"longcall\"", ",", "attr_list", ")", "||", "lookup_attribute", "(", "\"shortcall\"", ",", "attr_list", ")", ")", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Say", "whether", "a", "function", "is", "a", "candidate", "for", "sibcall", "handling", "or", "not", ".", "We", "do", "not", "allow", "indirect", "calls", "to", "be", "optimized", "into", "sibling", "calls", ".", "Also", ",", "we", "ca", "n't", "do", "it", "if", "there", "are", "any", "vector", "parameters", ";", "there", "'s", "nowhere", "to", "put", "the", "VRsave", "code", "so", "it", "works", ";", "note", "that", "functions", "with", "vector", "parameters", "are", "required", "to", "have", "a", "prototype", ",", "so", "the", "argument", "type", "info", "must", "be", "available", "here", ".", "(", "The", "tail", "recursion", "case", "can", "work", "with", "vector", "parameters", ",", "but", "there", "'s", "no", "way", "to", "distinguish", "here", ".", ")"], "TS_V_token": ["rs6000", "\"longcall\"", "\"shortcall\""], "File": "rs60003", "Func": "rs6000_function_ok_for_sibcall", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8622, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86TTIImpl", "::", "getGatherScatterOpCost", "(", "unsigned", "Opcode", ",", "Type", "*", "SrcVTy", ",", "const", "Value", "*", "Ptr", ",", "bool", "VariableMask", ",", "Align", "Alignment", ",", "TTI", "::", "TargetCostKind", "CostKind", ",", "const", "Instruction", "*", "I", "=", "nullptr", ")", "{", "if", "(", "CostKind", "!=", "TTI", "::", "TCK_RecipThroughput", ")", "{", "if", "(", "(", "Opcode", "==", "Instruction", "::", "Load", "&&", "isLegalMaskedGather", "(", "SrcVTy", ",", "Align", "(", "Alignment", ")", ")", ")", "||", "(", "Opcode", "==", "Instruction", "::", "Store", "&&", "isLegalMaskedScatter", "(", "SrcVTy", ",", "Align", "(", "Alignment", ")", ")", ")", ")", "return", "1", ";", "return", "BaseT", "::", "getGatherScatterOpCost", "(", "Opcode", ",", "SrcVTy", ",", "Ptr", ",", "VariableMask", ",", "Alignment", ",", "CostKind", ",", "I", ")", ";", "}", "assert", "(", "SrcVTy", "->", "isVectorTy", "(", ")", "&&", "\"Unexpected data type for Gather/Scatter\"", ")", ";", "unsigned", "VF", "=", "cast", "<", "FixedVectorType", ">", "(", "SrcVTy", ")", "->", "getNumElements", "(", ")", ";", "PointerType", "*", "PtrTy", "=", "dyn_cast", "<", "PointerType", ">", "(", "Ptr", "->", "getType", "(", ")", ")", ";", "if", "(", "!", "PtrTy", "&&", "Ptr", "->", "getType", "(", ")", "->", "isVectorTy", "(", ")", ")", "PtrTy", "=", "dyn_cast", "<", "PointerType", ">", "(", "cast", "<", "VectorType", ">", "(", "Ptr", "->", "getType", "(", ")", ")", "->", "getElementType", "(", ")", ")", ";", "assert", "(", "PtrTy", "&&", "\"Unexpected type for Ptr argument\"", ")", ";", "unsigned", "AddressSpace", "=", "PtrTy", "->", "getAddressSpace", "(", ")", ";", "bool", "Scalarize", "=", "false", ";", "if", "(", "(", "Opcode", "==", "Instruction", "::", "Load", "&&", "!", "isLegalMaskedGather", "(", "SrcVTy", ",", "Align", "(", "Alignment", ")", ")", ")", "||", "(", "Opcode", "==", "Instruction", "::", "Store", "&&", "!", "isLegalMaskedScatter", "(", "SrcVTy", ",", "Align", "(", "Alignment", ")", ")", ")", ")", "Scalarize", "=", "true", ";", "if", "(", "ST", "->", "hasAVX512", "(", ")", "&&", "(", "VF", "==", "2", "||", "(", "VF", "==", "4", "&&", "!", "ST", "->", "hasVLX", "(", ")", ")", ")", ")", "Scalarize", "=", "true", ";", "if", "(", "Scalarize", ")", "return", "getGSScalarCost", "(", "Opcode", ",", "SrcVTy", ",", "VariableMask", ",", "Alignment", ",", "AddressSpace", ")", ";", "return", "getGSVectorCost", "(", "Opcode", ",", "SrcVTy", ",", "Ptr", ",", "Alignment", ",", "AddressSpace", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "Gather", "/", "Scatter", "operation", "."], "TS_V_token": ["X86", "X86", "1", "\"Unexpected data type for Gather/Scatter\"", "\"Unexpected type for Ptr argument\"", "2", "4"], "File": "X86TargetTransformInfo51", "Func": "getGatherScatterOpCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8623, "Length": 317, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch_bti_enabled", "(", "void", ")", "{", "return", "aarch_enable_bti", "!=", "0", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "Branch", "Target", "Identification", "Mechanism", "is", "enabled", "."], "TS_V_token": ["arm", "0"], "File": "arm1", "Func": "aarch_bti_enabled", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8624, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAIXAsmPrinter", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "const", "bool", "Result", "=", "PPCAsmPrinter", "::", "doInitialization", "(", "M", ")", ";", "auto", "setCsectAlignment", "=", "[", "this", "]", "(", "const", "GlobalObject", "*", "GO", ")", "{", "if", "(", "GO", "->", "isDeclarationForLinker", "(", ")", ")", "return", ";", "SectionKind", "GOKind", "=", "getObjFileLowering", "(", ")", ".", "getKindForGlobal", "(", "GO", ",", "TM", ")", ";", "MCSectionXCOFF", "*", "Csect", "=", "cast", "<", "MCSectionXCOFF", ">", "(", "getObjFileLowering", "(", ")", ".", "SectionForGlobal", "(", "GO", ",", "GOKind", ",", "TM", ")", ")", ";", "Align", "GOAlign", "=", "getGVAlignment", "(", "GO", ",", "GO", "->", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ")", ";", "if", "(", "GOAlign", ">", "Csect", "->", "getAlignment", "(", ")", ")", "Csect", "->", "setAlignment", "(", "GOAlign", ")", ";", "}", ";", "for", "(", "const", "auto", "&", "G", ":", "M", ".", "globals", "(", ")", ")", "{", "if", "(", "isSpecialLLVMGlobalArrayToSkip", "(", "&", "G", ")", ")", "continue", ";", "if", "(", "isSpecialLLVMGlobalArrayForStaticInit", "(", "&", "G", ")", ")", "{", "if", "(", "FormatIndicatorAndUniqueModId", ".", "empty", "(", ")", ")", "{", "std", "::", "string", "UniqueModuleId", "=", "getUniqueModuleId", "(", "&", "M", ")", ";", "if", "(", "UniqueModuleId", "!=", "\"\"", ")", "FormatIndicatorAndUniqueModId", "=", "\"clang_\"", "+", "UniqueModuleId", ".", "substr", "(", "1", ")", ";", "else", "FormatIndicatorAndUniqueModId", "=", "\"clangPidTime_\"", "+", "llvm", "::", "itostr", "(", "sys", "::", "Process", "::", "getProcessId", "(", ")", ")", "+", "\"_\"", "+", "llvm", "::", "itostr", "(", "time", "(", "nullptr", ")", ")", ";", "}", "emitSpecialLLVMGlobal", "(", "&", "G", ")", ";", "continue", ";", "}", "setCsectAlignment", "(", "&", "G", ")", ";", "}", "for", "(", "const", "auto", "&", "F", ":", "M", ")", "setCsectAlignment", "(", "&", "F", ")", ";", "for", "(", "const", "auto", "&", "Alias", ":", "M", ".", "aliases", "(", ")", ")", "{", "const", "GlobalObject", "*", "Base", "=", "Alias", ".", "getAliaseeObject", "(", ")", ";", "if", "(", "!", "Base", ")", "report_fatal_error", "(", "\"alias without a base object is not yet supported on AIX\"", ")", ";", "GOAliasMap", "[", "Base", "]", ".", "push_back", "(", "&", "Alias", ")", ";", "}", "return", "Result", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "\"\"", "\"clang_\"", "1", "\"clangPidTime_\"", "\"_\"", "\"alias without a base object is not yet supported on AIX\""], "File": "PPCAsmPrinter (2)3", "Func": "doInitialization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8625, "Length": 301, "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", ",", "nullptr", ")", ";", "}", ""], "natrual_language": ["Check", "whether", "or", "not", "the", "given", "MBB", "can", "be", "used", "as", "a", "prologue", "for", "the", "target", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCFrameLowering54", "Func": "canUseAsPrologue", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8626, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "PPCRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "const", "PPCFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "ZERO", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "FP", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "BP", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "CTR", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "CTR8", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R1", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "LR", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "LR8", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "RM", ")", ";", "if", "(", "!", "Subtarget", ".", "isDarwinABI", "(", ")", "||", "!", "Subtarget", ".", "hasAltivec", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "VRSAVE", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "const", "PPCFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", ";", "if", "(", "!", "TM", ".", "isPPC64", "(", ")", "||", "FuncInfo", "->", "usesTOCBasePtr", "(", ")", "||", "MF", ".", "hasInlineAsm", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R2", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R13", ")", ";", "}", "if", "(", "Subtarget", ".", "isAIXABI", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R2", ")", ";", "if", "(", "TM", ".", "isPPC64", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R13", ")", ";", "if", "(", "TFI", "->", "needsFP", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R31", ")", ";", "bool", "IsPositionIndependent", "=", "TM", ".", "isPositionIndependent", "(", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "{", "if", "(", "Subtarget", ".", "is32BitELFABI", "(", ")", "&&", "IsPositionIndependent", ")", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R29", ")", ";", "else", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R30", ")", ";", "}", "if", "(", "Subtarget", ".", "is32BitELFABI", "(", ")", "&&", "IsPositionIndependent", ")", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R30", ")", ";", "if", "(", "!", "Subtarget", ".", "hasAltivec", "(", ")", ")", "for", "(", "TargetRegisterClass", "::", "iterator", "I", "=", "PPC", "::", "VRRCRegClass", ".", "begin", "(", ")", ",", "IE", "=", "PPC", "::", "VRRCRegClass", ".", "end", "(", ")", ";", "I", "!=", "IE", ";", "++", "I", ")", "markSuperRegs", "(", "Reserved", ",", "*", "I", ")", ";", "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": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC::ZERO", "PPC::FP", "PPC::BP", "PPC::CTR", "PPC::CTR8", "PPC::R1", "PPC::LR", "PPC::LR8", "PPC::RM", "PPC::VRSAVE", "PPC", "PPC", "PPC", "PPC::R2", "PPC::R13", "PPC::R2", "PPC", "PPC::R13", "PPC::R31", "PPC::R29", "PPC::R30", "PPC::R30", "PPC::VRRCRegClass", "PPC::VRRCRegClass"], "File": "PPCRegisterInfo56", "Func": "getReservedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8627, "Length": 392, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "altivec_expand_st_builtin", "(", "tree", "exp", ",", "rtx", "target", "ATTRIBUTE_UNUSED", ",", "bool", "*", "expandedp", ")", "{", "tree", "fndecl", "=", "TREE_OPERAND", "(", "CALL_EXPR_FN", "(", "exp", ")", ",", "0", ")", ";", "unsigned", "int", "fcode", "=", "DECL_FUNCTION_CODE", "(", "fndecl", ")", ";", "tree", "arg0", ",", "arg1", ";", "machine_mode", "mode0", ",", "mode1", ";", "rtx", "pat", ",", "op0", ",", "op1", ";", "enum", "insn_code", "icode", ";", "switch", "(", "fcode", ")", "{", "case", "ALTIVEC_BUILTIN_ST_INTERNAL_16qi", ":", "icode", "=", "CODE_FOR_vector_altivec_store_v16qi", ";", "break", ";", "case", "ALTIVEC_BUILTIN_ST_INTERNAL_8hi", ":", "icode", "=", "CODE_FOR_vector_altivec_store_v8hi", ";", "break", ";", "case", "ALTIVEC_BUILTIN_ST_INTERNAL_4si", ":", "icode", "=", "CODE_FOR_vector_altivec_store_v4si", ";", "break", ";", "case", "ALTIVEC_BUILTIN_ST_INTERNAL_4sf", ":", "icode", "=", "CODE_FOR_vector_altivec_store_v4sf", ";", "break", ";", "case", "ALTIVEC_BUILTIN_ST_INTERNAL_2df", ":", "icode", "=", "CODE_FOR_vector_altivec_store_v2df", ";", "break", ";", "case", "ALTIVEC_BUILTIN_ST_INTERNAL_2di", ":", "icode", "=", "CODE_FOR_vector_altivec_store_v2di", ";", "case", "ALTIVEC_BUILTIN_ST_INTERNAL_1ti", ":", "icode", "=", "CODE_FOR_vector_altivec_store_v1ti", ";", "break", ";", "default", ":", "*", "expandedp", "=", "false", ";", "return", "NULL_RTX", ";", "}", "arg0", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "arg1", "=", "CALL_EXPR_ARG", "(", "exp", ",", "1", ")", ";", "op0", "=", "expand_normal", "(", "arg0", ")", ";", "op1", "=", "expand_normal", "(", "arg1", ")", ";", "mode0", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "mode", ";", "mode1", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "mode", ";", "if", "(", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "predicate", ")", "(", "op0", ",", "mode0", ")", ")", "op0", "=", "gen_rtx_MEM", "(", "mode0", ",", "copy_to_mode_reg", "(", "Pmode", ",", "op0", ")", ")", ";", "if", "(", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "predicate", ")", "(", "op1", ",", "mode1", ")", ")", "op1", "=", "copy_to_mode_reg", "(", "mode1", ",", "op1", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op0", ",", "op1", ")", ";", "if", "(", "pat", ")", "emit_insn", "(", "pat", ")", ";", "*", "expandedp", "=", "true", ";", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Expand", "the", "stvx", "builtins", "."], "TS_V_token": ["rs6000", "0", "0", "1", "0", "1", "0", "1"], "File": "rs60004", "Func": "altivec_expand_st_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8628, "Length": 295, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "void", "aarch64_sub_sp", "(", "int", "scratchreg", ",", "HOST_WIDE_INT", "delta", ",", "bool", "frame_related_p", ")", "{", "aarch64_add_constant_internal", "(", "Pmode", ",", "SP_REGNUM", ",", "scratchreg", ",", "-", "delta", ",", "frame_related_p", ",", "true", ")", ";", "}", ""], "natrual_language": ["Subtract", "DELTA", "from", "the", "stack", "pointer", ",", "marking", "the", "instructions", "frame-related", "if", "FRAME_RELATED_P", ".", "TEMP1", "is", "available", "as", "a", "temporary", "if", "nonnull", "."], "TS_V_token": ["aarch64"], "File": "aarch644", "Func": "aarch64_sub_sp", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8629, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SICRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", "->", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["SIC", "SIC"], "File": "SICSubtarget", "Func": "getRegisterInfo", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8630, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcAsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "for", "(", "Module", "::", "const_global_iterator", "I", "=", "M", ".", "global_begin", "(", ")", ",", "E", "=", "M", ".", "global_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "printModuleLevelGV", "(", "I", ")", ";", "O", "<<", "'\\n'", ";", "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": ["Sparc", "Sparc"], "File": "SparcAsmPrinter32", "Func": "doFinalization", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8631, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ",", "MCContext", "&", "Ctx", ")", "const", "override", "{", "Value", "=", "adjustFixupValue", "(", "Fixup", ".", "getKind", "(", ")", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "4", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittleEndian", "?", "i", ":", "3", "-", "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": ["Sparc", "0", "4", "3", "8", "0xff"], "File": "SparcAsmBackend2", "Func": "applyFixup", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8632, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "extern", "machine_mode", "vax_select_cc_mode", "(", "enum", "rtx_code", "op", ",", "rtx", "x", "ATTRIBUTE_UNUSED", ",", "rtx", "y", "ATTRIBUTE_UNUSED", ")", "{", "switch", "(", "op", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "NE", ":", "case", "EQ", ":", "return", "CCZmode", ";", "case", "GE", ":", "case", "LT", ":", "return", "CCNmode", ";", "case", "GT", ":", "case", "LE", ":", "return", "CCNZmode", ";", "case", "GEU", ":", "case", "GTU", ":", "case", "LEU", ":", "case", "LTU", ":", "return", "CCmode", ";", "}", "}", ""], "natrual_language": ["Given", "a", "comparison", "code", "(", "NE", ",", "EQ", ",", "etc", ".", ")", "and", "the", "operands", "of", "a", "COMPARE", ",", "return", "the", "mode", "to", "be", "used", "for", "the", "comparison", ".", "As", "we", "have", "the", "same", "interpretation", "of", "condition", "codes", "across", "all", "the", "instructions", "we", "just", "return", "the", "narrowest", "mode", "suitable", "for", "the", "comparison", "code", "requested", "."], "TS_V_token": ["vax"], "File": "vax", "Func": "vax_select_cc_mode", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8633, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_clone_priority", "(", "tree", "fndecl", ")", "{", "tree", "fn_opts", "=", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "fndecl", ")", ";", "HOST_WIDE_INT", "isa_masks", ";", "int", "ret", "=", "CLONE_DEFAULT", ";", "tree", "attrs", "=", "lookup_attribute", "(", "\"target\"", ",", "DECL_ATTRIBUTES", "(", "fndecl", ")", ")", ";", "const", "char", "*", "attrs_str", "=", "NULL", ";", "attrs", "=", "TREE_VALUE", "(", "TREE_VALUE", "(", "attrs", ")", ")", ";", "attrs_str", "=", "TREE_STRING_POINTER", "(", "attrs", ")", ";", "if", "(", "strcmp", "(", "attrs_str", ",", "\"default\"", ")", "!=", "0", ")", "{", "if", "(", "fn_opts", "==", "NULL_TREE", ")", "fn_opts", "=", "target_option_default_node", ";", "if", "(", "!", "fn_opts", "||", "!", "TREE_TARGET_OPTION", "(", "fn_opts", ")", ")", "isa_masks", "=", "rs6000_isa_flags", ";", "else", "isa_masks", "=", "TREE_TARGET_OPTION", "(", "fn_opts", ")", "->", "x_rs6000_isa_flags", ";", "for", "(", "ret", "=", "CLONE_MAX", "-", "1", ";", "ret", "!=", "0", ";", "ret", "--", ")", "if", "(", "(", "rs6000_clone_map", "[", "ret", "]", ".", "isa_mask", "&", "isa_masks", ")", "!=", "0", ")", "break", ";", "}", "if", "(", "TARGET_DEBUG_TARGET", ")", "fprintf", "(", "stderr", ",", "\"rs6000_get_function_version_priority (%s) => %d\\n\"", ",", "get_decl_name", "(", "fndecl", ")", ",", "ret", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Return", "the", "clone", "id", "of", "the", "target", "we", "are", "compiling", "code", "for", "in", "a", "target", "clone", ".", "The", "clone", "id", "is", "ordered", "from", "0", "(", "default", ")", "to", "CLONE_MAX-1", "and", "gives", "the", "priority", "list", "for", "the", "target", "clones", "(", "ordered", "from", "lowest", "to", "highest", ")", "."], "TS_V_token": ["rs6000", "\"target\"", "\"default\"", "0", "1", "0", "0", "\"rs6000_get_function_version_priority (%s) => %d\\n\""], "File": "rs6000", "Func": "rs6000_clone_priority", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8634, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_expand_vector_set_var_p9", "(", "rtx", "target", ",", "rtx", "val", ",", "rtx", "idx", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "target", ")", ";", "gcc_assert", "(", "VECTOR_MEM_VSX_P", "(", "mode", ")", "&&", "!", "CONST_INT_P", "(", "idx", ")", ")", ";", "machine_mode", "inner_mode", "=", "GET_MODE", "(", "val", ")", ";", "int", "width", "=", "GET_MODE_SIZE", "(", "inner_mode", ")", ";", "gcc_assert", "(", "width", ">=", "1", "&&", "width", "<=", "8", ")", ";", "int", "shift", "=", "exact_log2", "(", "width", ")", ";", "machine_mode", "idx_mode", "=", "GET_MODE", "(", "idx", ")", ";", "machine_mode", "shift_mode", ";", "rtx", "(", "*", "gen_ashl", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "rtx", "(", "*", "gen_lvsl", ")", "(", "rtx", ",", "rtx", ")", ";", "rtx", "(", "*", "gen_lvsr", ")", "(", "rtx", ",", "rtx", ")", ";", "if", "(", "TARGET_POWERPC64", ")", "{", "shift_mode", "=", "DImode", ";", "gen_ashl", "=", "gen_ashldi3", ";", "gen_lvsl", "=", "gen_altivec_lvsl_reg_di", ";", "gen_lvsr", "=", "gen_altivec_lvsr_reg_di", ";", "}", "else", "{", "shift_mode", "=", "SImode", ";", "gen_ashl", "=", "gen_ashlsi3", ";", "gen_lvsl", "=", "gen_altivec_lvsl_reg_si", ";", "gen_lvsr", "=", "gen_altivec_lvsr_reg_si", ";", "}", "rtx", "tmp", "=", "gen_reg_rtx", "(", "shift_mode", ")", ";", "idx", "=", "convert_modes", "(", "shift_mode", ",", "idx_mode", ",", "idx", ",", "1", ")", ";", "emit_insn", "(", "gen_ashl", "(", "tmp", ",", "idx", ",", "GEN_INT", "(", "shift", ")", ")", ")", ";", "rtx", "pcvr", "=", "gen_reg_rtx", "(", "V16QImode", ")", ";", "emit_insn", "(", "gen_lvsr", "(", "pcvr", ",", "tmp", ")", ")", ";", "rtx", "pcvl", "=", "gen_reg_rtx", "(", "V16QImode", ")", ";", "emit_insn", "(", "gen_lvsl", "(", "pcvl", ",", "tmp", ")", ")", ";", "rtx", "sub_target", "=", "simplify_gen_subreg", "(", "V16QImode", ",", "target", ",", "mode", ",", "0", ")", ";", "rtx", "permr", "=", "gen_altivec_vperm_v8hiv16qi", "(", "sub_target", ",", "sub_target", ",", "sub_target", ",", "pcvr", ")", ";", "emit_insn", "(", "permr", ")", ";", "rs6000_expand_vector_set", "(", "target", ",", "val", ",", "const0_rtx", ")", ";", "rtx", "perml", "=", "gen_altivec_vperm_v8hiv16qi", "(", "sub_target", ",", "sub_target", ",", "sub_target", ",", "pcvl", ")", ";", "emit_insn", "(", "perml", ")", ";", "}", ""], "natrual_language": ["Insert", "VAL", "into", "IDX", "of", "TARGET", ",", "VAL", "size", "is", "same", "of", "the", "vector", "element", ",", "IDX", "is", "variable", "and", "also", "counts", "by", "vector", "element", "size", "for", "p9", "and", "above", "."], "TS_V_token": ["rs6000", "1", "8", "1", "0"], "File": "rs6000", "Func": "rs6000_expand_vector_set_var_p9", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8635, "Length": 292, "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": 8636, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "setup_incoming_varargs_64", "(", "CUMULATIVE_ARGS", "*", "cum", ")", "{", "rtx", "save_area", ",", "mem", ";", "alias_set_type", "set", ";", "int", "i", ",", "max", ";", "if", "(", "cfun", "->", "va_list_gpr_size", ")", "ix86_varargs_gpr_size", "=", "X86_64_REGPARM_MAX", "*", "UNITS_PER_WORD", ";", "else", "ix86_varargs_gpr_size", "=", "0", ";", "if", "(", "TARGET_SSE", "&&", "cfun", "->", "va_list_fpr_size", ")", "ix86_varargs_fpr_size", "=", "X86_64_SSE_REGPARM_MAX", "*", "16", ";", "else", "ix86_varargs_fpr_size", "=", "0", ";", "if", "(", "!", "ix86_varargs_gpr_size", "&&", "!", "ix86_varargs_fpr_size", ")", "return", ";", "save_area", "=", "frame_pointer_rtx", ";", "set", "=", "get_varargs_alias_set", "(", ")", ";", "max", "=", "cum", "->", "regno", "+", "cfun", "->", "va_list_gpr_size", "/", "UNITS_PER_WORD", ";", "if", "(", "max", ">", "X86_64_REGPARM_MAX", ")", "max", "=", "X86_64_REGPARM_MAX", ";", "for", "(", "i", "=", "cum", "->", "regno", ";", "i", "<", "max", ";", "i", "++", ")", "{", "mem", "=", "gen_rtx_MEM", "(", "word_mode", ",", "plus_constant", "(", "Pmode", ",", "save_area", ",", "i", "*", "UNITS_PER_WORD", ")", ")", ";", "MEM_NOTRAP_P", "(", "mem", ")", "=", "1", ";", "set_mem_alias_set", "(", "mem", ",", "set", ")", ";", "emit_move_insn", "(", "mem", ",", "gen_rtx_REG", "(", "word_mode", ",", "x86_64_int_parameter_registers", "[", "i", "]", ")", ")", ";", "}", "if", "(", "ix86_varargs_fpr_size", ")", "{", "machine_mode", "smode", ";", "rtx_code_label", "*", "label", ";", "rtx", "test", ";", "label", "=", "gen_label_rtx", "(", ")", ";", "test", "=", "gen_rtx_EQ", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "QImode", ",", "AX_REG", ")", ",", "const0_rtx", ")", ";", "emit_jump_insn", "(", "gen_cbranchqi4", "(", "test", ",", "XEXP", "(", "test", ",", "0", ")", ",", "XEXP", "(", "test", ",", "1", ")", ",", "label", ")", ")", ";", "smode", "=", "V4SFmode", ";", "if", "(", "crtl", "->", "stack_alignment_needed", "<", "GET_MODE_ALIGNMENT", "(", "smode", ")", ")", "crtl", "->", "stack_alignment_needed", "=", "GET_MODE_ALIGNMENT", "(", "smode", ")", ";", "max", "=", "cum", "->", "sse_regno", "+", "cfun", "->", "va_list_fpr_size", "/", "16", ";", "if", "(", "max", ">", "X86_64_SSE_REGPARM_MAX", ")", "max", "=", "X86_64_SSE_REGPARM_MAX", ";", "for", "(", "i", "=", "cum", "->", "sse_regno", ";", "i", "<", "max", ";", "++", "i", ")", "{", "mem", "=", "plus_constant", "(", "Pmode", ",", "save_area", ",", "i", "*", "16", "+", "ix86_varargs_gpr_size", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "smode", ",", "mem", ")", ";", "MEM_NOTRAP_P", "(", "mem", ")", "=", "1", ";", "set_mem_alias_set", "(", "mem", ",", "set", ")", ";", "set_mem_align", "(", "mem", ",", "GET_MODE_ALIGNMENT", "(", "smode", ")", ")", ";", "emit_move_insn", "(", "mem", ",", "gen_rtx_REG", "(", "smode", ",", "GET_SSE_REGNO", "(", "i", ")", ")", ")", ";", "}", "emit_label", "(", "label", ")", ";", "}", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["i386", "0", "16", "0", "1", "0", "1", "16", "16", "1"], "File": "i386", "Func": "setup_incoming_varargs_64", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8637, "Length": 358, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "SparcRegisterInfo", "::", "getCallPreservedMask", "(", "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": ["Sparc", "Sparc"], "File": "SparcRegisterInfo", "Func": "getCallPreservedMask", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8638, "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", "::", "Ret", ":", "return", "\"MipsISD::Ret\"", ";", "case", "MipsISD", "::", "SelectCC", ":", "return", "\"MipsISD::SelectCC\"", ";", "case", "MipsISD", "::", "FPSelectCC", ":", "return", "\"MipsISD::FPSelectCC\"", ";", "case", "MipsISD", "::", "FPBrcond", ":", "return", "\"MipsISD::FPBrcond\"", ";", "case", "MipsISD", "::", "FPCmp", ":", "return", "\"MipsISD::FPCmp\"", ";", "case", "MipsISD", "::", "FPRound", ":", "return", "\"MipsISD::FPRound\"", ";", "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::SelectCC", "\"MipsISD::SelectCC\"", "MipsISD::FPSelectCC", "\"MipsISD::FPSelectCC\"", "MipsISD::FPBrcond", "\"MipsISD::FPBrcond\"", "MipsISD::FPCmp", "\"MipsISD::FPCmp\"", "MipsISD::FPRound", "\"MipsISD::FPRound\""], "File": "MipsISelLowering47", "Func": "getTargetNodeName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8639, "Length": 104, "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", "seh_nop_p", "=", "false", ";", "const", "char", "*", "xasm", ";", "if", "(", "SIBLING_CALL_P", "(", "insn", ")", ")", "{", "if", "(", "direct_p", ")", "{", "if", "(", "ix86_nopic_noplt_attribute_p", "(", "call_op", ")", ")", "{", "if", "(", "TARGET_64BIT", ")", "xasm", "=", "\"%!jmp\\t{*%p0@GOTPCREL(%%rip)|[QWORD PTR %p0@GOTPCREL[rip]]}\"", ";", "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", "xasm", "=", "\"%!jmp\\t%A0\"", ";", "output_asm_insn", "(", "xasm", ",", "&", "call_op", ")", ";", "return", "\"\"", ";", "}", "if", "(", "TARGET_SEH", ")", "{", "rtx_insn", "*", "i", ";", "for", "(", "i", "=", "NEXT_INSN", "(", "insn", ")", ";", "i", ";", "i", "=", "NEXT_INSN", "(", "i", ")", ")", "{", "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", ")", ")", "{", "if", "(", "TARGET_64BIT", ")", "xasm", "=", "\"%!call\\t{*%p0@GOTPCREL(%%rip)|[QWORD PTR %p0@GOTPCREL[rip]]}\"", ";", "else", "xasm", "=", "\"%!call\\t{*%p0@GOT|[DWORD PTR %p0@GOT]}\"", ";", "}", "else", "xasm", "=", "\"%!call\\t%P0\"", ";", "}", "else", "xasm", "=", "\"%!call\\t%A0\"", ";", "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", "\"%!jmp\\t{*%p0@GOTPCREL(%%rip)|[QWORD PTR %p0@GOTPCREL[rip]]}\"", "\"%!jmp\\t{*%p0@GOT|[DWORD PTR %p0@GOT]}\"", "\"%!jmp\\t%P0\"", "\"%!rex.W jmp\\t%A0\"", "\"%!jmp\\t%A0\"", "\"\"", "\"%!call\\t{*%p0@GOTPCREL(%%rip)|[QWORD PTR %p0@GOTPCREL[rip]]}\"", "\"%!call\\t{*%p0@GOT|[DWORD PTR %p0@GOT]}\"", "\"%!call\\t%P0\"", "\"%!call\\t%A0\"", "\"nop\"", "\"\""], "File": "i3866", "Func": "ix86_output_call_insn", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8640, "Length": 237, "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": 8641, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "promote_duplicated_reg", "(", "machine_mode", "mode", ",", "rtx", "val", ")", "{", "machine_mode", "valmode", "=", "GET_MODE", "(", "val", ")", ";", "rtx", "tmp", ";", "int", "nops", "=", "mode", "==", "DImode", "?", "3", ":", "2", ";", "gcc_assert", "(", "mode", "==", "SImode", "||", "mode", "==", "DImode", "||", "val", "==", "const0_rtx", ")", ";", "if", "(", "val", "==", "const0_rtx", ")", "return", "copy_to_mode_reg", "(", "mode", ",", "CONST0_RTX", "(", "mode", ")", ")", ";", "if", "(", "CONST_INT_P", "(", "val", ")", ")", "{", "HOST_WIDE_INT", "v", "=", "INTVAL", "(", "val", ")", "&", "255", ";", "v", "|=", "v", "<<", "8", ";", "v", "|=", "v", "<<", "16", ";", "if", "(", "mode", "==", "DImode", ")", "v", "|=", "(", "v", "<<", "16", ")", "<<", "16", ";", "return", "copy_to_mode_reg", "(", "mode", ",", "gen_int_mode", "(", "v", ",", "mode", ")", ")", ";", "}", "if", "(", "valmode", "==", "VOIDmode", ")", "valmode", "=", "QImode", ";", "if", "(", "valmode", "!=", "QImode", ")", "val", "=", "gen_lowpart", "(", "QImode", ",", "val", ")", ";", "if", "(", "mode", "==", "QImode", ")", "return", "val", ";", "if", "(", "!", "TARGET_PARTIAL_REG_STALL", ")", "nops", "--", ";", "if", "(", "ix86_cost", "->", "mult_init", "[", "mode", "==", "DImode", "?", "3", ":", "2", "]", "+", "ix86_cost", "->", "mult_bit", "*", "(", "mode", "==", "DImode", "?", "8", ":", "4", ")", "<=", "(", "ix86_cost", "->", "shift_const", "+", "ix86_cost", "->", "add", ")", "*", "nops", "+", "(", "COSTS_N_INSNS", "(", "TARGET_PARTIAL_REG_STALL", "==", "0", ")", ")", ")", "{", "rtx", "reg", "=", "convert_modes", "(", "mode", ",", "QImode", ",", "val", ",", "true", ")", ";", "tmp", "=", "promote_duplicated_reg", "(", "mode", ",", "const1_rtx", ")", ";", "return", "expand_simple_binop", "(", "mode", ",", "MULT", ",", "reg", ",", "tmp", ",", "NULL", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "}", "else", "{", "rtx", "reg", "=", "convert_modes", "(", "mode", ",", "QImode", ",", "val", ",", "true", ")", ";", "if", "(", "!", "TARGET_PARTIAL_REG_STALL", ")", "emit_insn", "(", "gen_insv_1", "(", "mode", ",", "reg", ",", "reg", ")", ")", ";", "else", "{", "tmp", "=", "expand_simple_binop", "(", "mode", ",", "ASHIFT", ",", "reg", ",", "GEN_INT", "(", "8", ")", ",", "NULL", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "reg", "=", "expand_simple_binop", "(", "mode", ",", "IOR", ",", "reg", ",", "tmp", ",", "reg", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "}", "tmp", "=", "expand_simple_binop", "(", "mode", ",", "ASHIFT", ",", "reg", ",", "GEN_INT", "(", "16", ")", ",", "NULL", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "reg", "=", "expand_simple_binop", "(", "mode", ",", "IOR", ",", "reg", ",", "tmp", ",", "reg", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "if", "(", "mode", "==", "SImode", ")", "return", "reg", ";", "tmp", "=", "expand_simple_binop", "(", "mode", ",", "ASHIFT", ",", "reg", ",", "GEN_INT", "(", "32", ")", ",", "NULL", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "reg", "=", "expand_simple_binop", "(", "mode", ",", "IOR", ",", "reg", ",", "tmp", ",", "reg", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "return", "reg", ";", "}", "}", ""], "natrual_language": ["Helper", "function", "for", "memcpy", ".", "For", "QImode", "value", "0xXY", "produce", "0xXYXYXYXY", "of", "wide", "specified", "by", "MODE", ".", "This", "is", "essentially", "a", "*", "0x10101010", ",", "but", "we", "can", "do", "slightly", "better", "than", "synth_mult", "by", "unwinding", "the", "sequence", "by", "hand", "on", "CPUs", "with", "slow", "multiply", "."], "TS_V_token": ["i386", "3", "2", "255", "8", "16", "16", "16", "3", "2", "8", "4", "0", "1", "8", "1", "1", "16", "1", "1", "32", "1", "1"], "File": "i386-expand", "Func": "promote_duplicated_reg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8642, "Length": 433, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARM64AsmBackend", "::", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "{", "assert", "(", "false", "&&", "\"ARM64AsmBackend::relaxInstruction() unimplemented\"", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["ARM64", "ARM64", "\"ARM64AsmBackend::relaxInstruction() unimplemented\""], "File": "ARM64AsmBackend", "Func": "relaxInstruction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8643, "Length": 24, "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", ".", "isValid", "(", ")", "?", "CPUAttr", ".", "getValueAsString", "(", ")", ".", "str", "(", ")", ":", "TargetCPU", ";", "std", "::", "string", "FS", "=", "FSAttr", ".", "isValid", "(", ")", "?", "FSAttr", ".", "getValueAsString", "(", ")", ".", "str", "(", ")", ":", "TargetFS", ";", "bool", "hasMips16Attr", "=", "F", ".", "getFnAttribute", "(", "\"mips16\"", ")", ".", "isValid", "(", ")", ";", "bool", "hasNoMips16Attr", "=", "F", ".", "getFnAttribute", "(", "\"nomips16\"", ")", ".", "isValid", "(", ")", ";", "bool", "HasMicroMipsAttr", "=", "F", ".", "getFnAttribute", "(", "\"micromips\"", ")", ".", "isValid", "(", ")", ";", "bool", "HasNoMicroMipsAttr", "=", "F", ".", "getFnAttribute", "(", "\"nomicromips\"", ")", ".", "isValid", "(", ")", ";", "bool", "softFloat", "=", "F", ".", "getFnAttribute", "(", "\"use-soft-float\"", ")", ".", "getValueAsBool", "(", ")", ";", "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", "=", "std", "::", "make_unique", "<", "MipsSubtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "isLittle", ",", "*", "this", ",", "MaybeAlign", "(", "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\"", "Mips", "\"+mips16\"", "\",+mips16\"", "Mips", "\"-mips16\"", "\",-mips16\"", "Mips", "\"+micromips\"", "\",+micromips\"", "Mips", "\"-micromips\"", "\",-micromips\"", "\"+soft-float\"", "\",+soft-float\"", "Mips"], "File": "MipsTargetMachine41", "Func": "getSubtargetImpl", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8644, "Length": 291, "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": 8645, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "stackSlotSize", "(", ")", "{", "return", "4", ";", "}", ""], "natrual_language": ["Stack", "slot", "size", "(", "4", "bytes", ")"], "TS_V_token": ["CJG", "4"], "File": "CJGFrameLowering", "Func": "stackSlotSize", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8646, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "use_toc_relative_ref", "(", "rtx", "sym", ",", "machine_mode", "mode", ")", "{", "return", "(", "(", "constant_pool_expr_p", "(", "sym", ")", "&&", "ASM_OUTPUT_SPECIAL_POOL_ENTRY_P", "(", "get_pool_constant", "(", "sym", ")", ",", "get_pool_mode", "(", "sym", ")", ")", ")", "||", "(", "TARGET_CMODEL", "==", "CMODEL_MEDIUM", "&&", "SYMBOL_REF_LOCAL_P", "(", "sym", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "<=", "POWERPC64_TOC_POINTER_ALIGNMENT", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "iff", "the", "given", "SYMBOL_REF", "refers", "to", "a", "constant", "pool", "entry", "that", "we", "have", "put", "in", "the", "TOC", ",", "or", "for", "cmodel=medium", ",", "if", "the", "SYMBOL_REF", "can", "be", "addressed", "relative", "to", "the", "toc", "pointer", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "use_toc_relative_ref", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8647, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "PPCDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "if", "(", "!", "GlobalBaseReg", ")", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "TM", ".", "getInstrInfo", "(", ")", ";", "MachineBasicBlock", "&", "FirstMBB", "=", "MF", "->", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "FirstMBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", ";", "if", "(", "PPCLowering", "->", "getPointerTy", "(", ")", "==", "MVT", "::", "i32", ")", "{", "GlobalBaseReg", "=", "RegInfo", "->", "createVirtualRegister", "(", "&", "PPC", "::", "GPRC_NOR0RegClass", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MovePCtoLR", ")", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MFLR", ")", ",", "GlobalBaseReg", ")", ";", "}", "else", "{", "GlobalBaseReg", "=", "RegInfo", "->", "createVirtualRegister", "(", "&", "PPC", "::", "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", "(", ")", ")", ".", "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::GPRC_NOR0RegClass", "PPC::MovePCtoLR", "PPC::MFLR", "PPC::G8RC_NOX0RegClass", "PPC::MovePCtoLR8", "PPC::MFLR8", "PPC"], "File": "PPCISelDAGToDAG17", "Func": "getGlobalBaseReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8648, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_setup_reg_addr_masks", "(", "void", ")", "{", "ssize_t", "rc", ",", "reg", ",", "m", ",", "nregs", ";", "addr_mask_type", "any_addr_mask", ",", "addr_mask", ";", "for", "(", "m", "=", "0", ";", "m", "<", "NUM_MACHINE_MODES", ";", "++", "m", ")", "{", "machine_mode", "m2", "=", "(", "machine_mode", ")", "m", ";", "bool", "complex_p", "=", "false", ";", "bool", "small_int_p", "=", "(", "m2", "==", "QImode", "||", "m2", "==", "HImode", "||", "m2", "==", "SImode", ")", ";", "size_t", "msize", ";", "if", "(", "COMPLEX_MODE_P", "(", "m2", ")", ")", "{", "complex_p", "=", "true", ";", "m2", "=", "GET_MODE_INNER", "(", "m2", ")", ";", "}", "msize", "=", "GET_MODE_SIZE", "(", "m2", ")", ";", "bool", "indexed_only_p", "=", "(", "m", "==", "SDmode", "&&", "TARGET_NO_SDMODE_STACK", ")", ";", "any_addr_mask", "=", "0", ";", "for", "(", "rc", "=", "FIRST_RELOAD_REG_CLASS", ";", "rc", "<=", "LAST_RELOAD_REG_CLASS", ";", "rc", "++", ")", "{", "addr_mask", "=", "0", ";", "reg", "=", "reload_reg_map", "[", "rc", "]", ".", "reg", ";", "if", "(", "reg", ">=", "0", "&&", "rs6000_hard_regno_mode_ok_p", "[", "m", "]", "[", "reg", "]", ")", "{", "bool", "small_int_vsx_p", "=", "(", "small_int_p", "&&", "(", "rc", "==", "RELOAD_REG_FPR", "||", "rc", "==", "RELOAD_REG_VMX", ")", ")", ";", "nregs", "=", "rs6000_hard_regno_nregs", "[", "m", "]", "[", "reg", "]", ";", "addr_mask", "|=", "RELOAD_REG_VALID", ";", "if", "(", "small_int_vsx_p", ")", "addr_mask", "|=", "RELOAD_REG_INDEXED", ";", "else", "if", "(", "nregs", ">", "1", "||", "m", "==", "BLKmode", "||", "complex_p", ")", "addr_mask", "|=", "RELOAD_REG_MULTIPLE", ";", "else", "addr_mask", "|=", "RELOAD_REG_INDEXED", ";", "if", "(", "TARGET_UPDATE", "&&", "(", "rc", "==", "RELOAD_REG_GPR", "||", "rc", "==", "RELOAD_REG_FPR", ")", "&&", "msize", "<=", "8", "&&", "!", "VECTOR_MODE_P", "(", "m2", ")", "&&", "!", "FLOAT128_VECTOR_P", "(", "m2", ")", "&&", "!", "complex_p", "&&", "!", "small_int_vsx_p", "&&", "(", "m2", "!=", "DFmode", "||", "!", "TARGET_UPPER_REGS_DF", ")", "&&", "(", "m2", "!=", "SFmode", "||", "!", "TARGET_UPPER_REGS_SF", ")", "&&", "!", "(", "TARGET_E500_DOUBLE", "&&", "msize", "==", "8", ")", ")", "{", "addr_mask", "|=", "RELOAD_REG_PRE_INCDEC", ";", "switch", "(", "m", ")", "{", "default", ":", "addr_mask", "|=", "RELOAD_REG_PRE_MODIFY", ";", "break", ";", "case", "E_DImode", ":", "if", "(", "TARGET_POWERPC64", ")", "addr_mask", "|=", "RELOAD_REG_PRE_MODIFY", ";", "break", ";", "case", "E_DFmode", ":", "case", "E_DDmode", ":", "if", "(", "TARGET_DF_INSN", ")", "addr_mask", "|=", "RELOAD_REG_PRE_MODIFY", ";", "break", ";", "}", "}", "}", "if", "(", "(", "addr_mask", "!=", "0", ")", "&&", "!", "indexed_only_p", "&&", "msize", "<=", "8", "&&", "(", "rc", "==", "RELOAD_REG_GPR", "||", "(", "(", "msize", "==", "8", "||", "m2", "==", "SFmode", ")", "&&", "(", "rc", "==", "RELOAD_REG_FPR", "||", "(", "rc", "==", "RELOAD_REG_VMX", "&&", "TARGET_P9_DFORM_SCALAR", ")", ")", ")", ")", ")", "addr_mask", "|=", "RELOAD_REG_OFFSET", ";", "else", "if", "(", "(", "addr_mask", "!=", "0", ")", "&&", "!", "indexed_only_p", "&&", "msize", "==", "16", "&&", "TARGET_P9_DFORM_VECTOR", "&&", "(", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "m2", ")", "||", "(", "m2", "==", "TImode", "&&", "TARGET_VSX_TIMODE", ")", ")", ")", "{", "addr_mask", "|=", "RELOAD_REG_OFFSET", ";", "if", "(", "rc", "==", "RELOAD_REG_FPR", "||", "rc", "==", "RELOAD_REG_VMX", ")", "addr_mask", "|=", "RELOAD_REG_QUAD_OFFSET", ";", "}", "if", "(", "rc", "==", "RELOAD_REG_VMX", "&&", "msize", "==", "16", "&&", "(", "addr_mask", "&", "RELOAD_REG_VALID", ")", "!=", "0", ")", "addr_mask", "|=", "RELOAD_REG_AND_M16", ";", "reg_addr", "[", "m", "]", ".", "addr_mask", "[", "rc", "]", "=", "addr_mask", ";", "any_addr_mask", "|=", "addr_mask", ";", "}", "reg_addr", "[", "m", "]", ".", "addr_mask", "[", "RELOAD_REG_ANY", "]", "=", "any_addr_mask", ";", "}", "}", ""], "natrual_language": ["Update", "the", "addr", "mask", "bits", "in", "reg_addr", "to", "help", "secondary", "reload", "and", "go", "if", "legitimate", "address", "support", "to", "figure", "out", "the", "appropriate", "addressing", "to", "use", "."], "TS_V_token": ["powerpcspe", "0", "0", "0", "0", "1", "8", "8", "0", "8", "8", "0", "16", "16", "0"], "File": "powerpcspe", "Func": "rs6000_setup_reg_addr_masks", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8649, "Length": 483, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "_uw", "selfrel_offset31", "(", "const", "_uw", "*", "p", ")", "{", "_uw", "offset", ";", "offset", "=", "*", "p", ";", "if", "(", "offset", "&", "(", "1", "<<", "30", ")", ")", "offset", "|=", "1u", "<<", "31", ";", "return", "offset", "+", "(", "_uw", ")", "p", ";", "}", ""], "natrual_language": ["Calculate", "the", "address", "encoded", "by", "a", "31-bit", "self-relative", "offset", "at", "address", "P", "."], "TS_V_token": ["arm", "1", "30", "1u", "31"], "File": "pr-support", "Func": "selfrel_offset31", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8650, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "getUndefRegClearance", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "&", "OpNum", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "for", "(", "unsigned", "i", "=", "MI", ".", "getNumExplicitDefs", "(", ")", ",", "e", "=", "MI", ".", "getNumExplicitOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "i", ")", ";", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "MO", ".", "isUndef", "(", ")", "&&", "Register", "::", "isPhysicalRegister", "(", "MO", ".", "getReg", "(", ")", ")", "&&", "hasUndefRegUpdate", "(", "MI", ".", "getOpcode", "(", ")", ",", "i", ")", ")", "{", "OpNum", "=", "i", ";", "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": "X86InstrInfo143", "Func": "getUndefRegClearance", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8651, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "if", "(", "MergeInit", ")", "AU", ".", "addRequired", "<", "AAResultsWrapperPass", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AArch64"], "File": "AArch64StackTagging12", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8652, "Length": 30, "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", "::", "RetValue", ":", "return", "\"Cpu0ISD::RetValue\"", ";", "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::RetValue", "\"Cpu0ISD::RetValue\"", "Cpu0ISD::DivRem", "\"Cpu0ISD::DivRem\"", "Cpu0ISD::DivRemU", "\"Cpu0ISD::DivRemU\"", "Cpu0ISD::Wrapper", "\"Cpu0ISD::Wrapper\""], "File": "Cpu0ISelLowering1", "Func": "getTargetNodeName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8653, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "parse_count", "(", "const", "function_instance", "&", "instance", ",", "const", "char", "*", "&", "format", ")", "{", "if", "(", "format", "[", "0", "]", "==", "'*'", "&&", "format", "[", "1", "]", "==", "'q'", ")", "{", "format", "+=", "2", ";", "return", "instance", ".", "elements_per_vq", "(", "0", ")", ";", "}", "if", "(", "format", "[", "0", "]", "==", "'*'", "&&", "format", "[", "1", "]", "==", "'t'", ")", "{", "format", "+=", "2", ";", "return", "instance", ".", "vectors_per_tuple", "(", ")", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["Read", "and", "move", "past", "any", "argument", "count", "at", "FORMAT", "for", "the", "function", "signature", "of", "INSTANCE", ".", "The", "counts", "are", ":", "*", "q", ":", "one", "argument", "per", "element", "in", "a", "128-bit", "quadword", "(", "as", "for", "svdupq", ")", "*", "t", ":", "one", "argument", "per", "vector", "in", "a", "tuple", "(", "as", "for", "svcreate", ")", "Otherwise", "the", "count", "is", "1", "."], "TS_V_token": ["aarch64", "0", "1", "2", "0", "0", "1", "2", "1"], "File": "aarch64-sve-builtins-shapes", "Func": "parse_count", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8654, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CCAssignFn", "*", "ARMFastISel", "::", "CCAssignFnForCall", "(", "CallingConv", "::", "ID", "CC", ",", "bool", "Return", ",", "bool", "isVarArg", ")", "{", "switch", "(", "CC", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unsupported calling convention\"", ")", ";", "case", "CallingConv", "::", "Fast", ":", "if", "(", "Subtarget", "->", "hasVFP2", "(", ")", "&&", "!", "isVarArg", ")", "{", "if", "(", "!", "Subtarget", "->", "isAAPCS_ABI", "(", ")", ")", "return", "(", "Return", "?", "RetFastCC_ARM_APCS", ":", "FastCC_ARM_APCS", ")", ";", "return", "(", "Return", "?", "RetCC_ARM_AAPCS_VFP", ":", "CC_ARM_AAPCS_VFP", ")", ";", "}", "case", "CallingConv", "::", "C", ":", "if", "(", "Subtarget", "->", "isAAPCS_ABI", "(", ")", ")", "{", "if", "(", "Subtarget", "->", "hasVFP2", "(", ")", "&&", "TM", ".", "Options", ".", "FloatABIType", "==", "FloatABI", "::", "Hard", "&&", "!", "isVarArg", ")", "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", ":", "if", "(", "!", "isVarArg", ")", "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", ")", ";", "case", "CallingConv", "::", "GHC", ":", "if", "(", "Return", ")", "llvm_unreachable", "(", "\"Can't return in GHC call convention\"", ")", ";", "else", "return", "CC_ARM_APCS_GHC", ";", "}", "}", ""], "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", "ARM", "ARM", "\"Can't return in GHC call convention\"", "ARM"], "File": "ARMFastISel (3)", "Func": "CCAssignFnForCall", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8655, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "compute_fp_layout", "(", "const_tree", "field", ",", "HOST_WIDE_INT", "bitpos", ",", "assign_data_t", "*", "data", ",", "int", "*", "pnregs", ",", "machine_mode", "*", "pmode", ")", "{", "const", "int", "this_slotno", "=", "data", "->", "slotno", "+", "bitpos", "/", "BITS_PER_WORD", ";", "machine_mode", "mode", "=", "DECL_MODE", "(", "field", ")", ";", "int", "nregs", ",", "nslots", ";", "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", ";", "nslots", "=", "CEIL_NWORDS", "(", "nregs", "*", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "if", "(", "nslots", ">", "SPARC_FP_ARG_MAX", "-", "this_slotno", ")", "{", "nslots", "=", "SPARC_FP_ARG_MAX", "-", "this_slotno", ";", "nregs", "=", "(", "nslots", "*", "UNITS_PER_WORD", ")", "/", "GET_MODE_SIZE", "(", "mode", ")", ";", "data", "->", "stack", "=", "1", ";", "if", "(", "nregs", "<=", "0", ")", "return", "false", ";", "}", "*", "pnregs", "=", "nregs", ";", "*", "pmode", "=", "mode", ";", "return", "true", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "function_arg_record_value", ".", "Compute", "the", "number", "and", "the", "mode", "of", "the", "FP", "registers", "to", "be", "assigned", "for", "FIELD", ".", "Return", "true", "if", "at", "least", "one", "FP", "register", "is", "assigned", "or", "false", "otherwise", "."], "TS_V_token": ["sparc", "2", "1", "1", "0"], "File": "sparc5", "Func": "compute_fp_layout", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8656, "Length": 196, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "vfp3_const_double_index", "(", "rtx", "x", ")", "{", "REAL_VALUE_TYPE", "r", ",", "m", ";", "int", "sign", ",", "exponent", ";", "unsigned", "HOST_WIDE_INT", "mantissa", ",", "mant_hi", ";", "unsigned", "HOST_WIDE_INT", "mask", ";", "int", "point_pos", "=", "2", "*", "HOST_BITS_PER_WIDE_INT", "-", "1", ";", "bool", "fail", ";", "if", "(", "!", "TARGET_VFP3", "||", "!", "CONST_DOUBLE_P", "(", "x", ")", ")", "return", "-", "1", ";", "r", "=", "*", "CONST_DOUBLE_REAL_VALUE", "(", "x", ")", ";", "if", "(", "REAL_VALUE_ISINF", "(", "r", ")", "||", "REAL_VALUE_ISNAN", "(", "r", ")", "||", "REAL_VALUE_MINUS_ZERO", "(", "r", ")", ")", "return", "-", "1", ";", "sign", "=", "REAL_VALUE_NEGATIVE", "(", "r", ")", "?", "1", ":", "0", ";", "r", "=", "real_value_abs", "(", "&", "r", ")", ";", "exponent", "=", "REAL_EXP", "(", "&", "r", ")", ";", "real_ldexp", "(", "&", "m", ",", "&", "r", ",", "point_pos", "-", "exponent", ")", ";", "wide_int", "w", "=", "real_to_integer", "(", "&", "m", ",", "&", "fail", ",", "HOST_BITS_PER_WIDE_INT", "*", "2", ")", ";", "mantissa", "=", "w", ".", "elt", "(", "0", ")", ";", "mant_hi", "=", "w", ".", "elt", "(", "1", ")", ";", "if", "(", "mantissa", "!=", "0", ")", "return", "-", "1", ";", "point_pos", "-=", "HOST_BITS_PER_WIDE_INT", ";", "mantissa", "=", "mant_hi", ";", "mask", "=", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "1", "<<", "(", "point_pos", "-", "5", ")", ")", "-", "1", ";", "if", "(", "(", "mantissa", "&", "mask", ")", "!=", "0", ")", "return", "-", "1", ";", "mantissa", ">>=", "point_pos", "-", "5", ";", "if", "(", "mantissa", "==", "0", ")", "return", "-", "1", ";", "gcc_assert", "(", "mantissa", ">=", "16", "&&", "mantissa", "<=", "31", ")", ";", "exponent", "=", "5", "-", "exponent", ";", "if", "(", "exponent", "<", "0", "||", "exponent", ">", "7", ")", "return", "-", "1", ";", "return", "(", "sign", "<<", "7", ")", "|", "(", "(", "exponent", "^", "3", ")", "<<", "4", ")", "|", "(", "mantissa", "-", "16", ")", ";", "}", ""], "natrual_language": ["Return", "an", "integer", "index", "for", "a", "VFPv3", "immediate", "operand", "X", "suitable", "for", "the", "fconst", "[", "sd", "]", "instruction", ",", "or", "-1", "if", "X", "is", "n't", "suitable", "."], "TS_V_token": ["arm", "2", "1", "1", "1", "1", "0", "2", "0", "1", "0", "1", "1", "5", "1", "0", "1", "5", "0", "1", "16", "31", "5", "0", "7", "1", "7", "3", "4", "16"], "File": "arm5", "Func": "vfp3_const_double_index", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8657, "Length": 279, "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": 8658, "Length": 183, "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", "(", ")", ")", ";", "if", "(", "MF", ".", "getMMI", "(", ")", ".", "hasEHFunclets", "(", ")", ")", "{", "int", "FI", "=", "MFI", "->", "CreateSpillStackObject", "(", "SlotSize", ",", "SlotSize", ")", ";", "X86FI", "->", "setHasSEHFramePtrSave", "(", "true", ")", ";", "X86FI", "->", "setSEHFramePtrSaveIndex", "(", "FI", ")", ";", "}", "}", "}", ""], "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", "X86", "X86"], "File": "X86FrameLowering (2)4", "Func": "determineCalleeSaves", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8659, "Length": 147, "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", "&&", "!", "is_complex_IBM_long_double", "(", "mode", ")", "&&", "FLOAT128_2REG_P", "(", "mode", ")", ")", ")", ")", "return", "64", ";", "else", "if", "(", "FLOAT128_VECTOR_P", "(", "mode", ")", ")", "return", "128", ";", "else", "if", "(", "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": "rs60008", "Func": "rs6000_function_arg_boundary", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8660, "Length": 257, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_init_libfuncs", "(", "void", ")", "{", "if", "(", "TARGET_ARCH32", ")", "{", "set_optab_libfunc", "(", "smul_optab", ",", "SImode", ",", "\"*.umul\"", ")", ";", "set_optab_libfunc", "(", "sdiv_optab", ",", "SImode", ",", "\"*.div\"", ")", ";", "set_optab_libfunc", "(", "udiv_optab", ",", "SImode", ",", "\"*.udiv\"", ")", ";", "set_optab_libfunc", "(", "smod_optab", ",", "SImode", ",", "\"*.rem\"", ")", ";", "set_optab_libfunc", "(", "umod_optab", ",", "SImode", ",", "\"*.urem\"", ")", ";", "set_optab_libfunc", "(", "add_optab", ",", "TFmode", ",", "\"_Q_add\"", ")", ";", "set_optab_libfunc", "(", "sub_optab", ",", "TFmode", ",", "\"_Q_sub\"", ")", ";", "set_optab_libfunc", "(", "neg_optab", ",", "TFmode", ",", "\"_Q_neg\"", ")", ";", "set_optab_libfunc", "(", "smul_optab", ",", "TFmode", ",", "\"_Q_mul\"", ")", ";", "set_optab_libfunc", "(", "sdiv_optab", ",", "TFmode", ",", "\"_Q_div\"", ")", ";", "if", "(", "TARGET_FPU", ")", "set_optab_libfunc", "(", "sqrt_optab", ",", "TFmode", ",", "\"_Q_sqrt\"", ")", ";", "set_optab_libfunc", "(", "eq_optab", ",", "TFmode", ",", "\"_Q_feq\"", ")", ";", "set_optab_libfunc", "(", "ne_optab", ",", "TFmode", ",", "\"_Q_fne\"", ")", ";", "set_optab_libfunc", "(", "gt_optab", ",", "TFmode", ",", "\"_Q_fgt\"", ")", ";", "set_optab_libfunc", "(", "ge_optab", ",", "TFmode", ",", "\"_Q_fge\"", ")", ";", "set_optab_libfunc", "(", "lt_optab", ",", "TFmode", ",", "\"_Q_flt\"", ")", ";", "set_optab_libfunc", "(", "le_optab", ",", "TFmode", ",", "\"_Q_fle\"", ")", ";", "set_conv_libfunc", "(", "sext_optab", ",", "TFmode", ",", "SFmode", ",", "\"_Q_stoq\"", ")", ";", "set_conv_libfunc", "(", "sext_optab", ",", "TFmode", ",", "DFmode", ",", "\"_Q_dtoq\"", ")", ";", "set_conv_libfunc", "(", "trunc_optab", ",", "SFmode", ",", "TFmode", ",", "\"_Q_qtos\"", ")", ";", "set_conv_libfunc", "(", "trunc_optab", ",", "DFmode", ",", "TFmode", ",", "\"_Q_qtod\"", ")", ";", "set_conv_libfunc", "(", "sfix_optab", ",", "SImode", ",", "TFmode", ",", "\"_Q_qtoi\"", ")", ";", "set_conv_libfunc", "(", "ufix_optab", ",", "SImode", ",", "TFmode", ",", "\"_Q_qtou\"", ")", ";", "set_conv_libfunc", "(", "sfloat_optab", ",", "TFmode", ",", "SImode", ",", "\"_Q_itoq\"", ")", ";", "if", "(", "DITF_CONVERSION_LIBFUNCS", ")", "{", "set_conv_libfunc", "(", "sfix_optab", ",", "DImode", ",", "TFmode", ",", "\"_Q_qtoll\"", ")", ";", "set_conv_libfunc", "(", "ufix_optab", ",", "DImode", ",", "TFmode", ",", "\"_Q_qtoull\"", ")", ";", "set_conv_libfunc", "(", "sfloat_optab", ",", "TFmode", ",", "DImode", ",", "\"_Q_lltoq\"", ")", ";", "}", "if", "(", "SUN_CONVERSION_LIBFUNCS", ")", "{", "set_conv_libfunc", "(", "sfix_optab", ",", "DImode", ",", "SFmode", ",", "\"__ftoll\"", ")", ";", "set_conv_libfunc", "(", "ufix_optab", ",", "DImode", ",", "SFmode", ",", "\"__ftoull\"", ")", ";", "set_conv_libfunc", "(", "sfix_optab", ",", "DImode", ",", "DFmode", ",", "\"__dtoll\"", ")", ";", "set_conv_libfunc", "(", "ufix_optab", ",", "DImode", ",", "DFmode", ",", "\"__dtoull\"", ")", ";", "}", "}", "if", "(", "TARGET_ARCH64", ")", "{", "set_optab_libfunc", "(", "smul_optab", ",", "SImode", ",", "0", ")", ";", "set_optab_libfunc", "(", "sdiv_optab", ",", "SImode", ",", "0", ")", ";", "set_optab_libfunc", "(", "udiv_optab", ",", "SImode", ",", "0", ")", ";", "set_optab_libfunc", "(", "smod_optab", ",", "SImode", ",", "0", ")", ";", "set_optab_libfunc", "(", "umod_optab", ",", "SImode", ",", "0", ")", ";", "if", "(", "SUN_INTEGER_MULTIPLY_64", ")", "{", "set_optab_libfunc", "(", "smul_optab", ",", "DImode", ",", "\"__mul64\"", ")", ";", "set_optab_libfunc", "(", "sdiv_optab", ",", "DImode", ",", "\"__div64\"", ")", ";", "set_optab_libfunc", "(", "udiv_optab", ",", "DImode", ",", "\"__udiv64\"", ")", ";", "set_optab_libfunc", "(", "smod_optab", ",", "DImode", ",", "\"__rem64\"", ")", ";", "set_optab_libfunc", "(", "umod_optab", ",", "DImode", ",", "\"__urem64\"", ")", ";", "}", "if", "(", "SUN_CONVERSION_LIBFUNCS", ")", "{", "set_conv_libfunc", "(", "sfix_optab", ",", "DImode", ",", "SFmode", ",", "\"__ftol\"", ")", ";", "set_conv_libfunc", "(", "ufix_optab", ",", "DImode", ",", "SFmode", ",", "\"__ftoul\"", ")", ";", "set_conv_libfunc", "(", "sfix_optab", ",", "DImode", ",", "DFmode", ",", "\"__dtol\"", ")", ";", "set_conv_libfunc", "(", "ufix_optab", ",", "DImode", ",", "DFmode", ",", "\"__dtoul\"", ")", ";", "}", "}", "gofast_maybe_init_libfuncs", "(", ")", ";", "}", ""], "natrual_language": ["libfunc", "renaming", "."], "TS_V_token": ["sparc", "\"*.umul\"", "\"*.div\"", "\"*.udiv\"", "\"*.rem\"", "\"*.urem\"", "\"_Q_add\"", "\"_Q_sub\"", "\"_Q_neg\"", "\"_Q_mul\"", "\"_Q_div\"", "\"_Q_sqrt\"", "\"_Q_feq\"", "\"_Q_fne\"", "\"_Q_fgt\"", "\"_Q_fge\"", "\"_Q_flt\"", "\"_Q_fle\"", "\"_Q_stoq\"", "\"_Q_dtoq\"", "\"_Q_qtos\"", "\"_Q_qtod\"", "\"_Q_qtoi\"", "\"_Q_qtou\"", "\"_Q_itoq\"", "\"_Q_qtoll\"", "\"_Q_qtoull\"", "\"_Q_lltoq\"", "\"__ftoll\"", "\"__ftoull\"", "\"__dtoll\"", "\"__dtoull\"", "0", "0", "0", "0", "0", "\"__mul64\"", "\"__div64\"", "\"__udiv64\"", "\"__rem64\"", "\"__urem64\"", "\"__ftol\"", "\"__ftoul\"", "\"__dtol\"", "\"__dtoul\""], "File": "sparc3", "Func": "sparc_init_libfuncs", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8661, "Length": 493, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "emit_fusion_p9_store", "(", "rtx", "mem", ",", "rtx", "reg", ",", "rtx", "tmp_reg", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "reg", ")", ";", "rtx", "hi", ";", "rtx", "lo", ";", "rtx", "addr", ";", "const", "char", "*", "store_string", ";", "int", "r", ";", "if", "(", "GET_CODE", "(", "reg", ")", "==", "SUBREG", ")", "{", "gcc_assert", "(", "SUBREG_BYTE", "(", "reg", ")", "==", "0", ")", ";", "reg", "=", "SUBREG_REG", "(", "reg", ")", ";", "}", "if", "(", "!", "REG_P", "(", "reg", ")", ")", "fatal_insn", "(", "\"emit_fusion_p9_store, bad reg #1\"", ",", "reg", ")", ";", "r", "=", "REGNO", "(", "reg", ")", ";", "if", "(", "FP_REGNO_P", "(", "r", ")", ")", "{", "if", "(", "mode", "==", "SFmode", ")", "store_string", "=", "\"stfs\"", ";", "else", "if", "(", "mode", "==", "DFmode", ")", "store_string", "=", "\"stfd\"", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "else", "if", "(", "ALTIVEC_REGNO_P", "(", "r", ")", "&&", "TARGET_P9_DFORM_SCALAR", ")", "{", "if", "(", "mode", "==", "SFmode", ")", "store_string", "=", "\"stxssp\"", ";", "else", "if", "(", "mode", "==", "DFmode", "||", "mode", "==", "DImode", ")", "store_string", "=", "\"stxsd\"", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "else", "if", "(", "INT_REGNO_P", "(", "r", ")", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "store_string", "=", "\"stb\"", ";", "break", ";", "case", "E_HImode", ":", "store_string", "=", "\"sth\"", ";", "break", ";", "case", "E_SImode", ":", "case", "E_SFmode", ":", "store_string", "=", "\"stw\"", ";", "break", ";", "case", "E_DImode", ":", "case", "E_DFmode", ":", "if", "(", "!", "TARGET_POWERPC64", ")", "gcc_unreachable", "(", ")", ";", "store_string", "=", "\"std\"", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "fatal_insn", "(", "\"emit_fusion_p9_store, bad reg #2\"", ",", "reg", ")", ";", "if", "(", "!", "MEM_P", "(", "mem", ")", ")", "fatal_insn", "(", "\"emit_fusion_p9_store not MEM\"", ",", "mem", ")", ";", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "fusion_split_address", "(", "addr", ",", "&", "hi", ",", "&", "lo", ")", ";", "emit_fusion_addis", "(", "tmp_reg", ",", "hi", ",", "\"power9 store fusion\"", ",", "GET_MODE_NAME", "(", "mode", ")", ")", ";", "emit_fusion_load_store", "(", "reg", ",", "tmp_reg", ",", "lo", ",", "store_string", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Return", "a", "string", "to", "fuse", "an", "addis", "instruction", "with", "a", "store", "using", "extended", "fusion", ".", "The", "address", "that", "is", "used", "is", "the", "logical", "address", "that", "was", "formed", "during", "peephole2", ":", "(", "lo_sum", "(", "high", ")", "(", "low-part", ")", ")", "The", "code", "is", "complicated", ",", "so", "we", "call", "output_asm_insn", "directly", ",", "and", "just", "return", "``", "''", "."], "TS_V_token": ["powerpcspe", "0", "\"emit_fusion_p9_store, bad reg #1\"", "\"stfs\"", "\"stfd\"", "\"stxssp\"", "\"stxsd\"", "\"stb\"", "\"sth\"", "\"stw\"", "\"std\"", "\"emit_fusion_p9_store, bad reg #2\"", "\"emit_fusion_p9_store not MEM\"", "0", "\"power9 store fusion\"", "\"\""], "File": "powerpcspe", "Func": "emit_fusion_p9_store", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8662, "Length": 312, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_emit_move_si_sf_subreg", "(", "rtx", "dest", ",", "rtx", "source", ",", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_DIRECT_MOVE_64BIT", "&&", "!", "reload_completed", "&&", "(", "!", "SUBREG_P", "(", "dest", ")", "||", "!", "sf_subreg_operand", "(", "dest", ",", "mode", ")", ")", "&&", "SUBREG_P", "(", "source", ")", "&&", "sf_subreg_operand", "(", "source", ",", "mode", ")", ")", "{", "rtx", "inner_source", "=", "SUBREG_REG", "(", "source", ")", ";", "machine_mode", "inner_mode", "=", "GET_MODE", "(", "inner_source", ")", ";", "if", "(", "mode", "==", "SImode", "&&", "inner_mode", "==", "SFmode", ")", "{", "emit_insn", "(", "gen_movsi_from_sf", "(", "dest", ",", "inner_source", ")", ")", ";", "return", "true", ";", "}", "if", "(", "mode", "==", "SFmode", "&&", "inner_mode", "==", "SImode", ")", "{", "emit_insn", "(", "gen_movsf_from_si", "(", "dest", ",", "inner_source", ")", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "change", "moves", "with", ":", "(", "SUBREG", ":", "SF", "(", "REG", ":", "SI", ")", ")", "and", "(", "SUBREG", ":", "SI", "(", "REG", ":", "SF", ")", ")", "into", "separate", "UNSPEC", "insns", ".", "In", "the", "PowerPC", "architecture", ",", "scalar", "SFmode", "values", "are", "stored", "as", "DFmode", "values", "in", "the", "VSX", "registers", ".", "We", "need", "to", "convert", "the", "bits", "before", "we", "can", "use", "a", "direct", "move", "or", "operate", "on", "the", "bits", "in", "the", "vector", "register", "as", "an", "integer", "type", ".", "Skip", "things", "like", "(", "set", "(", "SUBREG", ":", "SI", "(", "...", ")", "(", "SUBREG", ":", "SI", "(", "...", ")", ")", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_emit_move_si_sf_subreg", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8663, "Length": 121, "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", "(", ")", ",", "getTargetMachine", "(", ")", ",", "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", ".", "getValVT", "(", ")", ";", "if", "(", "(", "CopyVT", "==", "MVT", "::", "f32", "||", "CopyVT", "==", "MVT", "::", "f64", ")", "&&", "(", "(", "Is64Bit", "||", "Ins", "[", "i", "]", ".", "Flags", ".", "isInReg", "(", ")", ")", "&&", "!", "Subtarget", "->", "hasSSE1", "(", ")", ")", ")", "{", "report_fatal_error", "(", "\"SSE register return with SSE disabled\"", ")", ";", "}", "SDValue", "Val", ";", "if", "(", "VA", ".", "getLocReg", "(", ")", "==", "X86", "::", "ST0", "||", "VA", ".", "getLocReg", "(", ")", "==", "X86", "::", "ST1", ")", "{", "if", "(", "isScalarFPTypeInSSEReg", "(", "VA", ".", "getValVT", "(", ")", ")", ")", "CopyVT", "=", "MVT", "::", "f80", ";", "SDValue", "Ops", "[", "]", "=", "{", "Chain", ",", "InFlag", "}", ";", "Chain", "=", "SDValue", "(", "DAG", ".", "getMachineNode", "(", "X86", "::", "FpPOP_RETVAL", ",", "dl", ",", "CopyVT", ",", "MVT", "::", "Other", ",", "MVT", "::", "Glue", ",", "Ops", ")", ",", "1", ")", ";", "Val", "=", "Chain", ".", "getValue", "(", "0", ")", ";", "if", "(", "CopyVT", "!=", "VA", ".", "getValVT", "(", ")", ")", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "FP_ROUND", ",", "dl", ",", "VA", ".", "getValVT", "(", ")", ",", "Val", ",", "DAG", ".", "getIntPtrConstant", "(", "1", ")", ")", ";", "}", "else", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "CopyVT", ",", "InFlag", ")", ".", "getValue", "(", "1", ")", ";", "Val", "=", "Chain", ".", "getValue", "(", "0", ")", ";", "}", "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", "\"SSE register return with SSE disabled\"", "X86::ST0", "X86::ST1", "MVT::f80", "X86::FpPOP_RETVAL", "MVT::Other", "MVT::Glue", "1", "0", "ISD::FP_ROUND", "1", "1", "0", "2"], "File": "X86ISelLowering (2)1", "Func": "LowerCallResult", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8664, "Length": 377, "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", ";", "int16_t", "imm", "=", "0", ";", "if", "(", "N", ".", "getOpcode", "(", ")", "==", "ISD", "::", "ADD", "&&", "(", "!", "isIntS16Immediate", "(", "N", ".", "getOperand", "(", "1", ")", ",", "imm", ")", "||", "!", "N", ".", "getOperand", "(", "1", ")", ".", "hasOneUse", "(", ")", "||", "!", "N", ".", "getOperand", "(", "0", ")", ".", "hasOneUse", "(", ")", ")", ")", "{", "Base", "=", "N", ".", "getOperand", "(", "0", ")", ";", "Index", "=", "N", ".", "getOperand", "(", "1", ")", ";", "return", "true", ";", "}", "Base", "=", "DAG", ".", "getRegister", "(", "Subtarget", ".", "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", "0", "ISD::ADD", "1", "1", "0", "0", "1", "PPC", "PPC::ZERO8", "PPC::ZERO"], "File": "PPCISelLowering (2)7", "Func": "SelectAddressRegRegOnly", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8665, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "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": "sparc3", "Func": "sparc_va_start", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8666, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "MCP", "=", "MF", ".", "getConstantPool", "(", ")", ";", "return", "AsmPrinter", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMAsmPrinter10", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8667, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_swsqrt", "(", "rtx", "dst", ",", "rtx", "src", ",", "bool", "recip", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "src", ")", ";", "rtx", "e", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rtx", "g", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rtx", "h", "=", "gen_reg_rtx", "(", "mode", ")", ";", "int", "passes", "=", "(", "TARGET_RECIP_PRECISION", ")", "?", "1", ":", "3", ";", "if", "(", "mode", "==", "DFmode", "||", "mode", "==", "V2DFmode", ")", "passes", "++", ";", "int", "i", ";", "rtx", "mhalf", ";", "enum", "insn_code", "code", "=", "optab_handler", "(", "smul_optab", ",", "mode", ")", ";", "insn_gen_fn", "gen_mul", "=", "GEN_FCN", "(", "code", ")", ";", "gcc_assert", "(", "code", "!=", "CODE_FOR_nothing", ")", ";", "mhalf", "=", "rs6000_load_constant_and_splat", "(", "mode", ",", "dconsthalf", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "e", ",", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "1", ",", "src", ")", ",", "UNSPEC_RSQRT", ")", ")", ")", ";", "if", "(", "!", "recip", ")", "{", "rtx", "zero", "=", "force_reg", "(", "mode", ",", "CONST0_RTX", "(", "mode", ")", ")", ";", "if", "(", "mode", "==", "SFmode", ")", "{", "rtx", "target", "=", "emit_conditional_move", "(", "e", ",", "{", "GT", ",", "src", ",", "zero", ",", "mode", "}", ",", "e", ",", "zero", ",", "mode", ",", "0", ")", ";", "if", "(", "target", "!=", "e", ")", "emit_move_insn", "(", "e", ",", "target", ")", ";", "}", "else", "{", "rtx", "cond", "=", "gen_rtx_GT", "(", "VOIDmode", ",", "e", ",", "zero", ")", ";", "rs6000_emit_vector_cond_expr", "(", "e", ",", "e", ",", "zero", ",", "cond", ",", "src", ",", "zero", ")", ";", "}", "}", "emit_insn", "(", "gen_mul", "(", "g", ",", "e", ",", "src", ")", ")", ";", "emit_insn", "(", "gen_mul", "(", "h", ",", "e", ",", "mhalf", ")", ")", ";", "if", "(", "recip", ")", "{", "if", "(", "passes", "==", "1", ")", "{", "rtx", "t", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rs6000_emit_nmsub", "(", "t", ",", "g", ",", "h", ",", "mhalf", ")", ";", "rs6000_emit_madd", "(", "dst", ",", "e", ",", "t", ",", "e", ")", ";", "}", "else", "{", "for", "(", "i", "=", "0", ";", "i", "<", "passes", ";", "i", "++", ")", "{", "rtx", "t1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rtx", "g1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rtx", "h1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rs6000_emit_nmsub", "(", "t1", ",", "g", ",", "h", ",", "mhalf", ")", ";", "rs6000_emit_madd", "(", "g1", ",", "g", ",", "t1", ",", "g", ")", ";", "rs6000_emit_madd", "(", "h1", ",", "h", ",", "t1", ",", "h", ")", ";", "g", "=", "g1", ";", "h", "=", "h1", ";", "}", "emit_insn", "(", "gen_add3_insn", "(", "dst", ",", "h", ",", "h", ")", ")", ";", "}", "}", "else", "{", "rtx", "t", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rs6000_emit_nmsub", "(", "t", ",", "g", ",", "h", ",", "mhalf", ")", ";", "rs6000_emit_madd", "(", "dst", ",", "g", ",", "t", ",", "g", ")", ";", "}", "return", ";", "}", ""], "natrual_language": ["Goldschmidt", "'s", "Algorithm", "for", "single/double-precision", "floating", "point", "sqrt", "and", "rsqrt", ".", "Assumes", "no", "trapping", "math", "and", "finite", "arguments", "."], "TS_V_token": ["rs6000", "1", "3", "1", "0", "1", "0"], "File": "rs6000", "Func": "rs6000_emit_swsqrt", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8668, "Length": 428, "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!\"", ")", ";", "break", ";", "}", "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", "::", "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", ";", "}", "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::Pseudo", "ARMII::DPFrm", "ARMII::DPSoRegFrm", "ARMII::LdFrm", "ARMII::StFrm", "ARMII::LdMiscFrm", "ARMII::StMiscFrm", "ARMII::LdStMulFrm", "ARMII::MulFrm", "ARMII::ExtFrm", "ARMII::ArithMiscFrm", "ARMII::BrFrm", "ARMII::BrMiscFrm", "ARMII::VFPUnaryFrm", "ARMII::VFPBinaryFrm", "ARMII::VFPConv1Frm", "ARMII::VFPConv2Frm", "ARMII::VFPConv3Frm", "ARMII::VFPConv4Frm", "ARMII::VFPConv5Frm", "ARMII::VFPLdStFrm", "ARMII::VFPLdStMulFrm", "ARMII::VFPMiscFrm"], "File": "ARMCodeEmitter1", "Func": "emitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8669, "Length": 311, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ix86_secondary_memory_needed", "(", "enum", "reg_class", "class1", ",", "enum", "reg_class", "class2", ",", "enum", "machine_mode", "mode", ",", "int", "strict", ")", "{", "if", "(", "MAYBE_FLOAT_CLASS_P", "(", "class1", ")", "!=", "FLOAT_CLASS_P", "(", "class1", ")", "||", "MAYBE_FLOAT_CLASS_P", "(", "class2", ")", "!=", "FLOAT_CLASS_P", "(", "class2", ")", "||", "MAYBE_SSE_CLASS_P", "(", "class1", ")", "!=", "SSE_CLASS_P", "(", "class1", ")", "||", "MAYBE_SSE_CLASS_P", "(", "class2", ")", "!=", "SSE_CLASS_P", "(", "class2", ")", "||", "MAYBE_MMX_CLASS_P", "(", "class1", ")", "!=", "MMX_CLASS_P", "(", "class1", ")", "||", "MAYBE_MMX_CLASS_P", "(", "class2", ")", "!=", "MMX_CLASS_P", "(", "class2", ")", ")", "{", "gcc_assert", "(", "!", "strict", ")", ";", "return", "true", ";", "}", "if", "(", "FLOAT_CLASS_P", "(", "class1", ")", "!=", "FLOAT_CLASS_P", "(", "class2", ")", ")", "return", "true", ";", "if", "(", "MMX_CLASS_P", "(", "class1", ")", "!=", "MMX_CLASS_P", "(", "class2", ")", ")", "return", "true", ";", "if", "(", "SSE_CLASS_P", "(", "class1", ")", "!=", "SSE_CLASS_P", "(", "class2", ")", ")", "{", "if", "(", "!", "TARGET_SSE2", ")", "return", "true", ";", "if", "(", "!", "TARGET_INTER_UNIT_MOVES", "&&", "!", "optimize_size", ")", "return", "true", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "UNITS_PER_WORD", ")", "return", "true", ";", "if", "(", "mode", "==", "SFmode", "||", "mode", "==", "DFmode", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["If", "we", "are", "copying", "between", "general", "and", "FP", "registers", ",", "we", "need", "a", "memory", "location", ".", "The", "same", "is", "true", "for", "SSE", "and", "MMX", "registers", ".", "The", "macro", "ca", "n't", "work", "reliably", "when", "one", "of", "the", "CLASSES", "is", "class", "containing", "registers", "from", "multiple", "units", "(", "SSE", ",", "MMX", ",", "integer", ")", ".", "We", "avoid", "this", "by", "never", "combining", "those", "units", "in", "single", "alternative", "in", "the", "machine", "description", ".", "Ensure", "that", "this", "constraint", "holds", "to", "avoid", "unexpected", "surprises", ".", "When", "STRICT", "is", "false", ",", "we", "are", "being", "called", "from", "REGISTER_MOVE_COST", ",", "so", "do", "not", "enforce", "these", "sanity", "checks", "."], "TS_V_token": ["i386"], "File": "i3863", "Func": "ix86_secondary_memory_needed", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8670, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "execute_tag_collision_avoidance", "(", ")", "{", "struct", "loop", "*", "loop", ";", "df_set_flags", "(", "DF_RD_PRUNE_DEAD_DEFS", ")", ";", "df_chain_add_problem", "(", "DF_UD_CHAIN", ")", ";", "df_compute_regs_ever_live", "(", "true", ")", ";", "df_note_add_problem", "(", ")", ";", "df_analyze", "(", ")", ";", "df_set_flags", "(", "DF_DEFER_INSN_RESCAN", ")", ";", "regrename_init", "(", "true", ")", ";", "regrename_analyze", "(", "NULL", ")", ";", "compute_bb_for_insn", "(", ")", ";", "calculate_dominance_info", "(", "CDI_DOMINATORS", ")", ";", "loop_optimizer_init", "(", "AVOID_CFG_MODIFICATIONS", ")", ";", "FOR_EACH_LOOP", "(", "loop", ",", "LI_FROM_INNERMOST", ")", "{", "tag_map_t", "tag_map", "(", "512", ")", ";", "record_loads", "(", "tag_map", ",", "loop", ")", ";", "avoid_collisions", "(", "tag_map", ")", ";", "if", "(", "dump_file", ")", "{", "fprintf", "(", "dump_file", ",", "\"Loop %d: Completed rename.\\n\"", ",", "loop", "->", "num", ")", ";", "tag_map", ".", "traverse", "<", "void", "*", ",", "dump_insn_list", ">", "(", "NULL", ")", ";", "}", "tag_map", ".", "traverse", "<", "void", "*", ",", "free_insn_info", ">", "(", "NULL", ")", ";", "}", "loop_optimizer_finalize", "(", ")", ";", "free_dominance_info", "(", "CDI_DOMINATORS", ")", ";", "regrename_finish", "(", ")", ";", "}", ""], "natrual_language": ["Tag", "collision", "avoidance", "pass", "for", "Falkor", ".", "The", "pass", "runs", "in", "two", "phases", "for", "each", "loop", ";", "the", "first", "phase", "collects", "all", "loads", "that", "we", "consider", "as", "interesting", "for", "renaming", "into", "a", "tag-indexed", "map", "of", "lists", ".", "The", "second", "phase", "renames", "the", "destination", "register", "of", "the", "loads", "in", "an", "attempt", "to", "spread", "out", "the", "loads", "into", "different", "tags", "."], "TS_V_token": ["aarch64", "512", "\"Loop %d: Completed rename.\\n\""], "File": "falkor-tag-collision-avoidance", "Func": "execute_tag_collision_avoidance", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8671, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "gen_push", "(", "rtx", "arg", ")", "{", "struct", "machine_function", "*", "m", "=", "cfun", "->", "machine", ";", "if", "(", "m", "->", "fs", ".", "cfa_reg", "==", "stack_pointer_rtx", ")", "m", "->", "fs", ".", "cfa_offset", "+=", "UNITS_PER_WORD", ";", "m", "->", "fs", ".", "sp_offset", "+=", "UNITS_PER_WORD", ";", "if", "(", "REG_P", "(", "arg", ")", "&&", "GET_MODE", "(", "arg", ")", "!=", "word_mode", ")", "arg", "=", "gen_rtx_REG", "(", "word_mode", ",", "REGNO", "(", "arg", ")", ")", ";", "return", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_rtx_MEM", "(", "word_mode", ",", "gen_rtx_PRE_DEC", "(", "Pmode", ",", "stack_pointer_rtx", ")", ")", ",", "arg", ")", ";", "}", ""], "natrual_language": ["Code", "to", "generate", "prologue", "and", "epilogue", "sequences"], "TS_V_token": ["i386"], "File": "i3864", "Func": "gen_push", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8672, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "OR1KFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "return", "(", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "MF", ".", "getFrameInfo", "(", ")", "->", "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": ["OR1K", "OR1K"], "File": "OR1KFrameLowering1", "Func": "hasFP", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8673, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMSubtarget", "::", "ARMSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "TargetMachine", "&", "TM", ",", "bool", "IsLittle", ",", "const", "TargetOptions", "&", "Options", ")", ":", "ARMGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "ARMProcFamily", "(", "Others", ")", ",", "ARMProcClass", "(", "None", ")", ",", "stackAlignment", "(", "4", ")", ",", "CPUString", "(", "CPU", ")", ",", "IsLittle", "(", "IsLittle", ")", ",", "TargetTriple", "(", "TT", ")", ",", "Options", "(", "Options", ")", ",", "TargetABI", "(", "ARM_ABI_UNKNOWN", ")", ",", "DL", "(", "computeDataLayout", "(", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ")", ")", ")", ",", "TSInfo", "(", "DL", ")", ",", "InstrInfo", "(", "isThumb1Only", "(", ")", "?", "(", "ARMBaseInstrInfo", "*", ")", "new", "Thumb1InstrInfo", "(", "*", "this", ")", ":", "!", "isThumb", "(", ")", "?", "(", "ARMBaseInstrInfo", "*", ")", "new", "ARMInstrInfo", "(", "*", "this", ")", ":", "(", "ARMBaseInstrInfo", "*", ")", "new", "Thumb2InstrInfo", "(", "*", "this", ")", ")", ",", "TLInfo", "(", "TM", ")", ",", "FrameLowering", "(", "!", "isThumb1Only", "(", ")", "?", "new", "ARMFrameLowering", "(", "*", "this", ")", ":", "(", "ARMFrameLowering", "*", ")", "new", "Thumb1FrameLowering", "(", "*", "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", "4", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM"], "File": "ARMSubtarget71", "Func": "ARMSubtarget", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8674, "Length": 182, "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": ["PowerPC"], "File": "PPCAsmBackend (2)1", "Func": "mayNeedRelaxation", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8675, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitVERegisterIgnore", "(", "unsigned", "reg", ")", "override", "{", "}", ""], "natrual_language": ["Emit", "``", ".register", "<", "reg", ">", ",", "#", "ignore", "''", "."], "TS_V_token": ["VE", "VE"], "File": "VETargetStreamer", "Func": "emitVERegisterIgnore", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8676, "Length": 9, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "rs6000_gen_le_vsx_permute", "(", "rtx", "source", ",", "machine_mode", "mode", ")", "{", "if", "(", "FLOAT128_VECTOR_P", "(", "mode", ")", "||", "mode", "==", "TImode", "||", "mode", "==", "V1TImode", ")", "return", "gen_rtx_ROTATE", "(", "mode", ",", "source", ",", "GEN_INT", "(", "64", ")", ")", ";", "else", "{", "rtx", "par", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rs6000_const_vec", "(", "mode", ")", ")", ";", "return", "gen_rtx_VEC_SELECT", "(", "mode", ",", "source", ",", "par", ")", ";", "}", "}", ""], "natrual_language": ["Generate", "a", "permute", "rtx", "that", "represents", "an", "lxvd2x", ",", "stxvd2x", ",", "or", "xxpermdi", "for", "a", "VSX", "load", "or", "store", "operation", "."], "TS_V_token": ["rs6000", "64"], "File": "rs60006", "Func": "rs6000_gen_le_vsx_permute", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8677, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_member_type_forces_blk", "(", "const_tree", "field_or_array", ",", "machine_mode", "mode", ")", "{", "const_tree", "type", "=", "TREE_TYPE", "(", "field_or_array", ")", ";", "unsigned", "int", "num_zr", ",", "num_pr", ";", "if", "(", "aarch64_sve", "::", "builtin_type_p", "(", "type", ",", "&", "num_zr", ",", "&", "num_pr", ")", "&&", "num_pr", "!=", "0", ")", "{", "if", "(", "TREE_CODE", "(", "field_or_array", ")", "==", "ARRAY_TYPE", ")", "return", "!", "simple_cst_equal", "(", "TYPE_SIZE", "(", "field_or_array", ")", ",", "TYPE_SIZE", "(", "type", ")", ")", ";", "return", "mode", "==", "VOIDmode", ";", "}", "return", "default_member_type_forces_blk", "(", "field_or_array", ",", "mode", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MEMBER_TYPE_FORCES_BLK", "."], "TS_V_token": ["aarch64", "aarch64_sve::builtin_type_p", "0"], "File": "aarch64", "Func": "aarch64_member_type_forces_blk", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8678, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_move_integer", "(", "rtx", "temp", ",", "rtx", "dest", ",", "unsigned", "HOST_WIDE_INT", "value", ")", "{", "struct", "mips_integer_op", "codes", "[", "MIPS_MAX_INTEGER_OPS", "]", ";", "machine_mode", "mode", ";", "unsigned", "int", "i", ",", "num_ops", ";", "rtx", "x", ";", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "num_ops", "=", "mips_build_integer", "(", "codes", ",", "value", ")", ";", "x", "=", "GEN_INT", "(", "codes", "[", "0", "]", ".", "value", ")", ";", "for", "(", "i", "=", "1", ";", "i", "<", "num_ops", ";", "i", "++", ")", "{", "if", "(", "!", "can_create_pseudo_p", "(", ")", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "temp", ",", "x", ")", ")", ";", "x", "=", "temp", ";", "}", "else", "x", "=", "force_reg", "(", "mode", ",", "x", ")", ";", "x", "=", "gen_rtx_fmt_ee", "(", "codes", "[", "i", "]", ".", "code", ",", "mode", ",", "x", ",", "GEN_INT", "(", "codes", "[", "i", "]", ".", "value", ")", ")", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "x", ")", ")", ";", "}", ""], "natrual_language": ["Move", "VALUE", "into", "register", "DEST", "."], "TS_V_token": ["mips", "0", "1"], "File": "mips", "Func": "mips_move_integer", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8679, "Length": 146, "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", "->", "mayLoadOrStore", "(", ")", ")", "&&", "(", "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": "ARMHazardRecognizer1", "Func": "getHazardType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8680, "Length": 279, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "unsigned", "getISAEncoding", "(", ")", "{", "if", "(", "!", "Subtarget", "->", "isTargetDarwin", "(", ")", ")", "return", "0", ";", "return", "Subtarget", "->", "isThumb", "(", ")", "?", "ARM", "::", "DW_ISA_ARM_thumb", ":", "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": "ARMAsmPrinter13", "Func": "getISAEncoding", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8681, "Length": 34, "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", ",", "4", ")", ";", "}", ""], "natrual_language": ["Try", "to", "add", "a", "symbolic", "operand", "instead", "of", "Value", "to", "the", "MCInst", "."], "TS_V_token": ["Sparc", "4"], "File": "SparcDisassembler (2)1", "Func": "tryAddingSymbolicOperand", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8682, "Length": 50, "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": 8683, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "supersparc_adjust_cost", "(", "rtx_insn", "*", "insn", ",", "rtx", "link", ",", "rtx_insn", "*", "dep_insn", ",", "int", "cost", ")", "{", "enum", "attr_type", "insn_type", ";", "if", "(", "!", "recog_memoized", "(", "insn", ")", ")", "return", "0", ";", "insn_type", "=", "get_attr_type", "(", "insn", ")", ";", "if", "(", "REG_NOTE_KIND", "(", "link", ")", "==", "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": "sparc4", "Func": "supersparc_adjust_cost", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8684, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "host_detect_local_cpu", "(", "int", "argc", ",", "const", "char", "*", "*", "argv", ")", "{", "const", "char", "*", "cpu", "=", "NULL", ";", "const", "char", "*", "cache", "=", "\"\"", ";", "const", "char", "*", "options", "=", "\"\"", ";", "bool", "arch", ";", "bool", "assembler", ";", "size_t", "i", ";", "if", "(", "argc", "<", "1", ")", "return", "NULL", ";", "arch", "=", "strcmp", "(", "argv", "[", "0", "]", ",", "\"cpu\"", ")", "==", "0", ";", "assembler", "=", "(", "!", "arch", "&&", "strcmp", "(", "argv", "[", "0", "]", ",", "\"asm\"", ")", "==", "0", ")", ";", "if", "(", "!", "arch", "&&", "!", "assembler", "&&", "strcmp", "(", "argv", "[", "0", "]", ",", "\"tune\"", ")", ")", "return", "NULL", ";", "if", "(", "!", "assembler", ")", "{", "cache", "=", "detect_caches_aix", "(", ")", ";", "cache", "=", "detect_caches_darwin", "(", ")", ";", "cache", "=", "detect_caches_freebsd", "(", ")", ";", "cache", "=", "\"\"", ";", "cache", "=", "detect_caches_linux", "(", ")", ";", "cache", "=", "\"\"", ";", "cache", "=", "\"\"", ";", "}", "cpu", "=", "detect_processor_aix", "(", ")", ";", "cpu", "=", "detect_processor_darwin", "(", ")", ";", "cpu", "=", "detect_processor_freebsd", "(", ")", ";", "cpu", "=", "detect_processor_linux", "(", ")", ";", "cpu", "=", "\"powerpc\"", ";", "if", "(", "assembler", ")", "{", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "asm_names", ")", ";", "i", "++", ")", "{", "if", "(", "!", "asm_names", "[", "i", "]", ".", "cpu", "||", "!", "strcmp", "(", "asm_names", "[", "i", "]", ".", "cpu", ",", "cpu", ")", ")", "return", "asm_names", "[", "i", "]", ".", "asm_sw", ";", "}", "return", "NULL", ";", "}", "return", "concat", "(", "cache", ",", "\"-m\"", ",", "argv", "[", "0", "]", ",", "\"=\"", ",", "cpu", ",", "\" \"", ",", "options", ",", "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", "\"asm\"", "0", "0", "\"tune\"", "\"\"", "\"\"", "\"\"", "\"powerpc\"", "0", "\"-m\"", "0", "\"=\"", "\" \""], "File": "driver-rs60001", "Func": "host_detect_local_cpu", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8685, "Length": 261, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseInstrInfo", "::", "isStoreToStackSlotPostFE", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "const", "MachineMemOperand", "*", "Dummy", ";", "return", "MI", "->", "mayStore", "(", ")", "&&", "hasStoreToStackSlot", "(", "MI", ",", "Dummy", ",", "FrameIndex", ")", ";", "}", ""], "natrual_language": ["isStoreToStackSlotPostFE", "-", "Check", "for", "post-frame", "ptr", "elimination", "stack", "locations", "as", "well", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMBaseInstrInfo (2)", "Func": "isStoreToStackSlotPostFE", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8686, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "x86_function_profiler", "(", "FILE", "*", "file", ",", "int", "labelno", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_64BIT", ")", "if", "(", "flag_pic", ")", "{", "fprintf", "(", "file", ",", "\"\\tleaq\\t%sP%d@(%%rip),%%r11\\n\"", ",", "LPREFIX", ",", "labelno", ")", ";", "fprintf", "(", "file", ",", "\"\\tcall\\t*%s@GOTPCREL(%%rip)\\n\"", ",", "MCOUNT_NAME", ")", ";", "}", "else", "{", "fprintf", "(", "file", ",", "\"\\tmovq\\t$%sP%d,%%r11\\n\"", ",", "LPREFIX", ",", "labelno", ")", ";", "fprintf", "(", "file", ",", "\"\\tcall\\t%s\\n\"", ",", "MCOUNT_NAME", ")", ";", "}", "else", "if", "(", "flag_pic", ")", "{", "fprintf", "(", "file", ",", "\"\\tleal\\t%sP%d@GOTOFF(%%ebx),%%%s\\n\"", ",", "LPREFIX", ",", "labelno", ",", "PROFILE_COUNT_REGISTER", ")", ";", "fprintf", "(", "file", ",", "\"\\tcall\\t*%s@GOT(%%ebx)\\n\"", ",", "MCOUNT_NAME", ")", ";", "}", "else", "{", "fprintf", "(", "file", ",", "\"\\tmovl\\t$%sP%d,%%%s\\n\"", ",", "LPREFIX", ",", "labelno", ",", "PROFILE_COUNT_REGISTER", ")", ";", "fprintf", "(", "file", ",", "\"\\tcall\\t%s\\n\"", ",", "MCOUNT_NAME", ")", ";", "}", "}", ""], "natrual_language": ["Output", "assembler", "code", "to", "FILE", "to", "increment", "profiler", "label", "#", "LABELNO", "for", "profiling", "a", "function", "entry", "."], "TS_V_token": ["i386", "\"\\tleaq\\t%sP%d@(%%rip),%%r11\\n\"", "\"\\tcall\\t*%s@GOTPCREL(%%rip)\\n\"", "\"\\tmovq\\t$%sP%d,%%r11\\n\"", "\"\\tcall\\t%s\\n\"", "\"\\tleal\\t%sP%d@GOTOFF(%%ebx),%%%s\\n\"", "\"\\tcall\\t*%s@GOT(%%ebx)\\n\"", "\"\\tmovl\\t$%sP%d,%%%s\\n\"", "\"\\tcall\\t%s\\n\""], "File": "i3863", "Func": "x86_function_profiler", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8687, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64DeadRegisterDefinitions", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** AArch64DeadRegisterDefinitions *****\\n\"", ")", ";", "Changed", "=", "false", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "processMachineBasicBlock", "(", "MBB", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"***** AArch64DeadRegisterDefinitions *****\\n\""], "File": "AArch64DeadRegisterDefinitionsPass5", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8688, "Length": 87, "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": "A15SDOptimizer14", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8689, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZFrameInfo", "::", "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", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "SystemZMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "unsigned", "CalleeFrameSize", "=", "0", ";", "unsigned", "LowReg", "=", "0", ",", "HighReg", "=", "0", ",", "StartOffset", "=", "-", "1U", ",", "EndOffset", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "if", "(", "!", "SystemZ", "::", "FP64RegClass", ".", "contains", "(", "Reg", ")", ")", "{", "unsigned", "Offset", "=", "RegSpillOffsets", "[", "Reg", "]", ";", "CalleeFrameSize", "+=", "8", ";", "if", "(", "StartOffset", ">", "Offset", ")", "{", "LowReg", "=", "Reg", ";", "StartOffset", "=", "Offset", ";", "}", "if", "(", "EndOffset", "<", "Offset", ")", "{", "HighReg", "=", "Reg", ";", "EndOffset", "=", "RegSpillOffsets", "[", "Reg", "]", ";", "}", "}", "}", "MFI", "->", "setCalleeSavedFrameSize", "(", "CalleeFrameSize", ")", ";", "MFI", "->", "setLowReg", "(", "LowReg", ")", ";", "MFI", "->", "setHighReg", "(", "HighReg", ")", ";", "if", "(", "StartOffset", ")", "{", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "(", "LowReg", "==", "HighReg", "?", "SystemZ", "::", "MOV64mr", ":", "SystemZ", "::", "MOV64mrm", ")", ")", ")", ";", "MIB", ".", "addReg", "(", "SystemZ", "::", "R15D", ")", ".", "addImm", "(", "StartOffset", ")", ";", "if", "(", "LowReg", "==", "HighReg", ")", "MIB", ".", "addReg", "(", "0", ")", ";", "MIB", ".", "addReg", "(", "LowReg", ",", "RegState", "::", "Kill", ")", ";", "if", "(", "LowReg", "!=", "HighReg", ")", "MIB", ".", "addReg", "(", "HighReg", ",", "RegState", "::", "Kill", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "if", "(", "Reg", "!=", "LowReg", "&&", "Reg", "!=", "HighReg", ")", "MIB", ".", "addReg", "(", "Reg", ",", "RegState", "::", "ImplicitKill", ")", ";", "}", "}", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "if", "(", "SystemZ", "::", "FP64RegClass", ".", "contains", "(", "Reg", ")", ")", "{", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "TII", ".", "storeRegToStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "true", ",", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", ",", "&", "SystemZ", "::", "FP64RegClass", ",", "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": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "0", "0", "0", "1U", "0", "0", "SystemZ::FP64RegClass", "8", "SystemZ::MOV64mr", "SystemZ::MOV64mrm", "SystemZ::R15D", "0", "0", "0", "SystemZ::FP64RegClass", "SystemZ::FP64RegClass"], "File": "SystemZFrameInfo", "Func": "spillCalleeSavedRegisters", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8690, "Length": 489, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "getMachineCombinerPatterns", "(", "MachineInstr", "&", "Root", ",", "SmallVectorImpl", "<", "MachineCombinerPattern", ">", "&", "Patterns", ",", "bool", "DoRegPressureReduce", ")", "const", "{", "if", "(", "getMaddPatterns", "(", "Root", ",", "Patterns", ")", ")", "return", "true", ";", "if", "(", "getFMULPatterns", "(", "Root", ",", "Patterns", ")", ")", "return", "true", ";", "if", "(", "getFMAPatterns", "(", "Root", ",", "Patterns", ")", ")", "return", "true", ";", "return", "TargetInstrInfo", "::", "getMachineCombinerPatterns", "(", "Root", ",", "Patterns", ",", "DoRegPressureReduce", ")", ";", "}", ""], "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": "AArch64InstrInfo123", "Func": "getMachineCombinerPatterns", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8691, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "SparcMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "SparcMachineFunctionInfo", ">", "(", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "SparcInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "SparcInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "int", "NumBytes", "=", "(", "int", ")", "MFI", "->", "getStackSize", "(", ")", ";", "unsigned", "SAVEri", "=", "SP", "::", "SAVEri", ";", "unsigned", "SAVErr", "=", "SP", "::", "SAVErr", ";", "if", "(", "FuncInfo", "->", "isLeafProc", "(", ")", ")", "{", "if", "(", "NumBytes", "==", "0", ")", "return", ";", "SAVEri", "=", "SP", "::", "ADDri", ";", "SAVErr", "=", "SP", "::", "ADDrr", ";", "}", "NumBytes", "=", "-", "SubTarget", ".", "getAdjustedFrameSize", "(", "NumBytes", ")", ";", "if", "(", "NumBytes", ">=", "-", "4096", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "SAVEri", ")", ",", "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", "(", "SAVErr", ")", ",", "SP", "::", "O6", ")", ".", "addReg", "(", "SP", "::", "O6", ")", ".", "addReg", "(", "SP", "::", "G1", ")", ";", "}", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "SP::SAVEri", "SP::SAVErr", "0", "SP::ADDri", "SP::ADDrr", "4096", "SP::O6", "SP::O6", "10U", "SP::SETHIi", "SP::G1", "SP::ORri", "SP::G1", "SP::G1", "1", "10", "1", "SP::O6", "SP::O6", "SP::G1"], "File": "SparcFrameLowering3", "Func": "emitPrologue", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8692, "Length": 326, "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", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "x", ")", ";", "*", "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": "aarch643", "Func": "aarch64_extr_rtx_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8693, "Length": 225, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmBackend", "::", "shouldForceRelocation", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ")", "{", "const", "unsigned", "FixupKind", "=", "Fixup", ".", "getKind", "(", ")", ";", "switch", "(", "FixupKind", ")", "{", "default", ":", "return", "false", ";", "case", "Mips", "::", "fixup_Mips_CALL_HI16", ":", "case", "Mips", "::", "fixup_Mips_CALL_LO16", ":", "case", "Mips", "::", "fixup_Mips_CALL16", ":", "case", "Mips", "::", "fixup_Mips_GOT", ":", "case", "Mips", "::", "fixup_Mips_GOT_PAGE", ":", "case", "Mips", "::", "fixup_Mips_GOT_OFST", ":", "case", "Mips", "::", "fixup_Mips_GOT_DISP", ":", "case", "Mips", "::", "fixup_Mips_GOT_HI16", ":", "case", "Mips", "::", "fixup_Mips_GOT_LO16", ":", "case", "Mips", "::", "fixup_Mips_GOTTPREL", ":", "case", "Mips", "::", "fixup_Mips_DTPREL_HI", ":", "case", "Mips", "::", "fixup_Mips_DTPREL_LO", ":", "case", "Mips", "::", "fixup_Mips_TLSGD", ":", "case", "Mips", "::", "fixup_Mips_TLSLDM", ":", "case", "Mips", "::", "fixup_Mips_TPREL_HI", ":", "case", "Mips", "::", "fixup_Mips_TPREL_LO", ":", "case", "Mips", "::", "fixup_MICROMIPS_CALL16", ":", "case", "Mips", "::", "fixup_MICROMIPS_GOT_DISP", ":", "case", "Mips", "::", "fixup_MICROMIPS_GOT_PAGE", ":", "case", "Mips", "::", "fixup_MICROMIPS_GOT_OFST", ":", "case", "Mips", "::", "fixup_MICROMIPS_GOT16", ":", "case", "Mips", "::", "fixup_MICROMIPS_GOTTPREL", ":", "case", "Mips", "::", "fixup_MICROMIPS_TLS_DTPREL_HI16", ":", "case", "Mips", "::", "fixup_MICROMIPS_TLS_DTPREL_LO16", ":", "case", "Mips", "::", "fixup_MICROMIPS_TLS_GD", ":", "case", "Mips", "::", "fixup_MICROMIPS_TLS_LDM", ":", "case", "Mips", "::", "fixup_MICROMIPS_TLS_TPREL_HI16", ":", "case", "Mips", "::", "fixup_MICROMIPS_TLS_TPREL_LO16", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Hook", "to", "check", "if", "a", "relocation", "is", "needed", "for", "some", "target", "specific", "reason", "."], "TS_V_token": ["Mips", "Mips", "Mips::fixup_Mips_CALL_HI16", "Mips::fixup_Mips_CALL_LO16", "Mips::fixup_Mips_CALL16", "Mips::fixup_Mips_GOT", "Mips::fixup_Mips_GOT_PAGE", "Mips::fixup_Mips_GOT_OFST", "Mips::fixup_Mips_GOT_DISP", "Mips::fixup_Mips_GOT_HI16", "Mips::fixup_Mips_GOT_LO16", "Mips::fixup_Mips_GOTTPREL", "Mips::fixup_Mips_DTPREL_HI", "Mips::fixup_Mips_DTPREL_LO", "Mips::fixup_Mips_TLSGD", "Mips::fixup_Mips_TLSLDM", "Mips::fixup_Mips_TPREL_HI", "Mips::fixup_Mips_TPREL_LO", "Mips::fixup_MICROMIPS_CALL16", "Mips::fixup_MICROMIPS_GOT_DISP", "Mips::fixup_MICROMIPS_GOT_PAGE", "Mips::fixup_MICROMIPS_GOT_OFST", "Mips::fixup_MICROMIPS_GOT16", "Mips::fixup_MICROMIPS_GOTTPREL", "Mips::fixup_MICROMIPS_TLS_DTPREL_HI16", "Mips::fixup_MICROMIPS_TLS_DTPREL_LO16", "Mips::fixup_MICROMIPS_TLS_GD", "Mips::fixup_MICROMIPS_TLS_LDM", "Mips::fixup_MICROMIPS_TLS_TPREL_HI16", "Mips::fixup_MICROMIPS_TLS_TPREL_LO16"], "File": "MipsAsmBackend50", "Func": "shouldForceRelocation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8694, "Length": 186, "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", ")", ";", "}", "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::SREM", "ISD::SREM", "ISD::UREM", "ISD::UREM", "ISD::FP_TO_SINT", "ISD::TRUNCATE", "ISD::SINT_TO_FP", "AArch64"], "File": "AArch64FastISel (2)", "Func": "fastSelectInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8695, "Length": 458, "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": 8696, "Length": 305, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCRegisterInfo", "::", "requiresVirtualBaseRegisters", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "return", "!", "Subtarget", ".", "hasROPProtect", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "wants", "the", "LocalStackAllocation", "pass", "to", "be", "run", "and", "virtual", "base", "registers", "used", "for", "more", "efficient", "stack", "access", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC"], "File": "PPCRegisterInfo (2)3", "Func": "requiresVirtualBaseRegisters", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8697, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "mips_builtin_decl", "(", "unsigned", "int", "code", ",", "bool", "initialize_p", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "code", ">=", "ARRAY_SIZE", "(", "mips_builtins", ")", ")", "return", "error_mark_node", ";", "return", "mips_builtin_decls", "[", "code", "]", ";", "}", ""], "natrual_language": ["Implement", "TARGET_BUILTIN_DECL", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_builtin_decl", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8698, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_output_fn_unwind", "(", "FILE", "*", "f", ",", "bool", "prologue", ")", "{", "if", "(", "arm_except_unwind_info", "(", "&", "global_options", ")", "!=", "UI_TARGET", ")", "return", ";", "if", "(", "prologue", ")", "fputs", "(", "\"\\t.fnstart\\n\"", ",", "f", ")", ";", "else", "{", "if", "(", "!", "(", "flag_unwind_tables", "||", "crtl", "->", "uses_eh_lsda", ")", "&&", "(", "TREE_NOTHROW", "(", "current_function_decl", ")", "||", "crtl", "->", "all_throwers_are_sibcalls", ")", ")", "fputs", "(", "\"\\t.cantunwind\\n\"", ",", "f", ")", ";", "fputs", "(", "\"\\t.fnend\\n\"", ",", "f", ")", ";", "}", "}", ""], "natrual_language": ["Output", "unwind", "directives", "for", "the", "start/end", "of", "a", "function", "."], "TS_V_token": ["arm", "\"\\t.fnstart\\n\"", "\"\\t.cantunwind\\n\"", "\"\\t.fnend\\n\""], "File": "arm", "Func": "arm_output_fn_unwind", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8699, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "loongarch_const_insns", "(", "rtx", "x", ")", "{", "enum", "loongarch_symbol_type", "symbol_type", ";", "rtx", "offset", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "CONST_INT", ":", "return", "loongarch_integer_cost", "(", "INTVAL", "(", "x", ")", ")", ";", "case", "CONST_VECTOR", ":", "case", "CONST_DOUBLE", ":", "return", "x", "==", "CONST0_RTX", "(", "GET_MODE", "(", "x", ")", ")", "?", "1", ":", "0", ";", "case", "CONST", ":", "if", "(", "loongarch_symbolic_constant_p", "(", "x", ",", "&", "symbol_type", ")", ")", "return", "loongarch_symbol_insns", "(", "symbol_type", ",", "MAX_MACHINE_MODE", ")", ";", "split_const", "(", "x", ",", "&", "x", ",", "&", "offset", ")", ";", "if", "(", "offset", "!=", "0", ")", "{", "int", "n", "=", "loongarch_const_insns", "(", "x", ")", ";", "if", "(", "n", "!=", "0", ")", "{", "if", "(", "IMM12_INT", "(", "offset", ")", ")", "return", "n", "+", "1", ";", "else", "if", "(", "!", "targetm", ".", "cannot_force_const_mem", "(", "GET_MODE", "(", "x", ")", ",", "x", ")", ")", "return", "n", "+", "1", "+", "loongarch_integer_cost", "(", "INTVAL", "(", "offset", ")", ")", ";", "}", "}", "return", "0", ";", "case", "SYMBOL_REF", ":", "case", "LABEL_REF", ":", "return", "loongarch_symbol_insns", "(", "loongarch_classify_symbol", "(", "x", ")", ",", "MAX_MACHINE_MODE", ")", ";", "default", ":", "return", "0", ";", "}", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "needed", "to", "load", "constant", "X", ",", "Return", "0", "if", "X", "is", "n't", "a", "valid", "constant", "."], "TS_V_token": ["loongarch", "1", "0", "0", "0", "1", "1", "0", "0"], "File": "loongarch", "Func": "loongarch_const_insns", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8700, "Length": 179, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_n8_load_to_ii_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "if", "(", "post_update_insn_p", "(", "producer", ")", ")", "return", "false", ";", "rtx", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "return", "n8_consumed_by_addr_in_p", "(", "consumer", ",", "def_reg", ")", ";", "}", ""], "natrual_language": ["Guard", "functions", "for", "N8", "core", "."], "TS_V_token": ["nds32"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n8_load_to_ii_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8701, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToAddress", "(", "Register", "ValVReg", ",", "Register", "Addr", ",", "uint64_t", "Size", ",", "MachinePointerInfo", "&", "MPO", ",", "CCValAssign", "&", "VA", ")", "override", "{", "auto", "MMO", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getMachineMemOperand", "(", "MPO", ",", "MachineMemOperand", "::", "MOStore", ",", "Size", ",", "1", ")", ";", "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", "1"], "File": "AArch64CallLowering56", "Func": "assignValueToAddress", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8702, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CollectLOH", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** AArch64 Collect LOH **********\\n\"", "<<", "\"Looking in function \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "LOHInfo", "LOHInfos", "[", "N_GPR_REGS", "]", ";", "AArch64FunctionInfo", "&", "AFI", "=", "*", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "for", "(", "const", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "memset", "(", "LOHInfos", ",", "0", ",", "sizeof", "(", "LOHInfos", ")", ")", ";", "for", "(", "const", "MachineBasicBlock", "*", "Succ", ":", "MBB", ".", "successors", "(", ")", ")", "{", "for", "(", "const", "auto", "&", "LI", ":", "Succ", "->", "liveins", "(", ")", ")", "{", "int", "RegIdx", "=", "mapRegToGPRIndex", "(", "LI", ".", "PhysReg", ")", ";", "if", "(", "RegIdx", ">=", "0", ")", "LOHInfos", "[", "RegIdx", "]", ".", "OneUser", "=", "true", ";", "}", "}", "for", "(", "const", "MachineInstr", "&", "MI", ":", "make_range", "(", "MBB", ".", "rbegin", "(", ")", ",", "MBB", ".", "rend", "(", ")", ")", ")", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "case", "AArch64", "::", "ADDXri", ":", "case", "AArch64", "::", "LDRXui", ":", "if", "(", "canDefBePartOfLOH", "(", "MI", ")", ")", "{", "const", "MachineOperand", "&", "Def", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "const", "MachineOperand", "&", "Op", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "assert", "(", "Def", ".", "isReg", "(", ")", "&&", "Def", ".", "isDef", "(", ")", "&&", "\"Expected reg def\"", ")", ";", "assert", "(", "Op", ".", "isReg", "(", ")", "&&", "Op", ".", "isUse", "(", ")", "&&", "\"Expected reg use\"", ")", ";", "int", "DefIdx", "=", "mapRegToGPRIndex", "(", "Def", ".", "getReg", "(", ")", ")", ";", "int", "OpIdx", "=", "mapRegToGPRIndex", "(", "Op", ".", "getReg", "(", ")", ")", ";", "if", "(", "DefIdx", ">=", "0", "&&", "OpIdx", ">=", "0", "&&", "handleMiddleInst", "(", "MI", ",", "LOHInfos", "[", "DefIdx", "]", ",", "LOHInfos", "[", "OpIdx", "]", ")", ")", "continue", ";", "}", "break", ";", "case", "AArch64", "::", "ADRP", ":", "const", "MachineOperand", "&", "Op0", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "int", "Idx", "=", "mapRegToGPRIndex", "(", "Op0", ".", "getReg", "(", ")", ")", ";", "if", "(", "Idx", ">=", "0", ")", "{", "handleADRP", "(", "MI", ",", "AFI", ",", "LOHInfos", "[", "Idx", "]", ")", ";", "continue", ";", "}", "break", ";", "}", "handleNormalInst", "(", "MI", ",", "LOHInfos", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"********** AArch64 Collect LOH **********\\n\"", "\"Looking in function \"", "AArch64", "AArch64", "0", "0", "AArch64::ADDXri", "AArch64::LDRXui", "0", "1", "\"Expected reg def\"", "\"Expected reg use\"", "0", "0", "AArch64::ADRP", "0", "0"], "File": "AArch64CollectLOH29", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8703, "Length": 374, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SICFrameLowering", "::", "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", "=", "*", "MF", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "bool", "IsRAAndRetAddrIsTaken", "=", "(", "Reg", "==", "SIC", "::", "L", ")", "&&", "MF", "->", "getFrameInfo", "(", ")", "->", "isReturnAddressTaken", "(", ")", ";", "if", "(", "!", "IsRAAndRetAddrIsTaken", ")", "EntryBlock", "->", "addLiveIn", "(", "Reg", ")", ";", "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": ["SIC", "SIC", "0", "SIC::L"], "File": "SICFrameLowering", "Func": "spillCalleeSavedRegisters", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8704, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Instruction", "*", "PPCTargetLowering", "::", "emitLeadingFence", "(", "IRBuilder", "<", ">", "&", "Builder", ",", "Instruction", "*", "Inst", ",", "AtomicOrdering", "Ord", ")", "const", "{", "if", "(", "Ord", "==", "AtomicOrdering", "::", "SequentiallyConsistent", ")", "return", "callIntrinsic", "(", "Builder", ",", "Intrinsic", "::", "ppc_sync", ")", ";", "if", "(", "isReleaseOrStronger", "(", "Ord", ")", ")", "return", "callIntrinsic", "(", "Builder", ",", "Intrinsic", "::", "ppc_lwsync", ")", ";", "return", "nullptr", ";", "}", ""], "natrual_language": ["Custom", "Lower", "{", "."], "TS_V_token": ["PowerPC", "PPC", "Intrinsic::ppc_sync", "Intrinsic::ppc_lwsync"], "File": "PPCISelLowering (2)7", "Func": "emitLeadingFence", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8705, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "LegalizeAction", "VETargetLowering", "::", "getCustomOperationAction", "(", "SDNode", "&", "Op", ")", "const", "{", "if", "(", "isPackingSupportOpcode", "(", "Op", ".", "getOpcode", "(", ")", ")", ")", "return", "Legal", ";", "if", "(", "isVVPOrVEC", "(", "Op", ".", "getOpcode", "(", ")", ")", ")", "return", "Custom", ";", "return", "Legal", ";", "}", ""], "natrual_language": ["Custom", "Lower", "{", "."], "TS_V_token": ["VE", "VE", "VE"], "File": "VEISelLowering8", "Func": "getCustomOperationAction", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8706, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "MCAsmInfo", "*", "createMCAsmInfo", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ")", "{", "Triple", "TheTriple", "(", "TT", ")", ";", "switch", "(", "TheTriple", ".", "getOS", "(", ")", ")", "{", "case", "Triple", "::", "Darwin", ":", "return", "new", "X86MCAsmInfoDarwin", "(", "TheTriple", ")", ";", "case", "Triple", "::", "MinGW32", ":", "case", "Triple", "::", "Cygwin", ":", "case", "Triple", "::", "Win32", ":", "if", "(", "TheTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "MachO", ")", "return", "new", "X86MCAsmInfoDarwin", "(", "TheTriple", ")", ";", "else", "return", "new", "X86MCAsmInfoCOFF", "(", "TheTriple", ")", ";", "default", ":", "return", "new", "X86ELFMCAsmInfo", "(", "TheTriple", ")", ";", "}", "}", ""], "natrual_language": ["createMCAsmInfo", "-", "Create", "a", "MCAsmInfo", "implementation", "for", "the", "specified", "target", "triple", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86"], "File": "X86TargetMachine41", "Func": "createMCAsmInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8707, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"SystemZ DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["SystemZ", "\"SystemZ DAG->DAG Pattern Instruction Selection\""], "File": "SystemZISelDAGToDAG16", "Func": "getPassName", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8708, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_validize_comparison", "(", "rtx", "*", "comparison", ",", "rtx", "*", "op1", ",", "rtx", "*", "op2", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "*", "comparison", ")", ";", "int", "code_int", ";", "machine_mode", "mode", "=", "(", "GET_MODE", "(", "*", "op1", ")", "==", "VOIDmode", ")", "?", "GET_MODE", "(", "*", "op2", ")", ":", "GET_MODE", "(", "*", "op1", ")", ";", "gcc_assert", "(", "GET_MODE", "(", "*", "op1", ")", "!=", "VOIDmode", "||", "GET_MODE", "(", "*", "op2", ")", "!=", "VOIDmode", ")", ";", "if", "(", "code", "==", "UNEQ", "||", "code", "==", "LTGT", ")", "return", "false", ";", "code_int", "=", "(", "int", ")", "code", ";", "arm_canonicalize_comparison", "(", "&", "code_int", ",", "op1", ",", "op2", ",", "0", ")", ";", "PUT_CODE", "(", "*", "comparison", ",", "(", "enum", "rtx_code", ")", "code_int", ")", ";", "switch", "(", "mode", ")", "{", "case", "E_SImode", ":", "if", "(", "!", "arm_add_operand", "(", "*", "op1", ",", "mode", ")", ")", "*", "op1", "=", "force_reg", "(", "mode", ",", "*", "op1", ")", ";", "if", "(", "!", "arm_add_operand", "(", "*", "op2", ",", "mode", ")", ")", "*", "op2", "=", "force_reg", "(", "mode", ",", "*", "op2", ")", ";", "return", "true", ";", "case", "E_DImode", ":", "return", "true", ";", "case", "E_HFmode", ":", "if", "(", "!", "TARGET_VFP_FP16INST", ")", "break", ";", "mode", "=", "SFmode", ";", "*", "op1", "=", "convert_to_mode", "(", "mode", ",", "*", "op1", ",", "1", ")", ";", "*", "op2", "=", "convert_to_mode", "(", "mode", ",", "*", "op2", ",", "1", ")", ";", "case", "E_SFmode", ":", "case", "E_DFmode", ":", "if", "(", "!", "vfp_compare_operand", "(", "*", "op1", ",", "mode", ")", ")", "*", "op1", "=", "force_reg", "(", "mode", ",", "*", "op1", ")", ";", "if", "(", "!", "vfp_compare_operand", "(", "*", "op2", ",", "mode", ")", ")", "*", "op2", "=", "force_reg", "(", "mode", ",", "*", "op2", ")", ";", "return", "true", ";", "default", ":", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "a", "valid", "comparison", "operation", "and", "makes", "the", "operands", "in", "a", "form", "that", "is", "valid", "."], "TS_V_token": ["arm", "0", "1", "1"], "File": "arm", "Func": "arm_validize_comparison", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8709, "Length": 280, "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": 8710, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseRegisterInfo", "::", "requiresVirtualBaseRegisters", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "EnableLocalStackAlloc", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "wants", "the", "LocalStackAllocation", "pass", "to", "be", "run", "and", "virtual", "base", "registers", "used", "for", "more", "efficient", "stack", "access", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMBaseRegisterInfo1", "Func": "requiresVirtualBaseRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8711, "Length": 16, "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": 8712, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64DeadRegisterDefinitions", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** AArch64DeadRegisterDefinitions *****\\n\"", ")", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "if", "(", "processMachineBasicBlock", "(", "MBB", ")", ")", "Changed", "=", "true", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"***** AArch64DeadRegisterDefinitions *****\\n\""], "File": "AArch64DeadRegisterDefinitionsPass (2)", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8713, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "write_header_file", "(", "void", ")", "{", "write_autogenerated_header", "(", "header_file", ")", ";", "fprintf", "(", "header_file", ",", "\"#ifndef _RS6000_BUILTINS_H\\n\"", ")", ";", "fprintf", "(", "header_file", ",", "\"#define _RS6000_BUILTINS_H 1\\n\\n\"", ")", ";", "write_decls", "(", ")", ";", "fprintf", "(", "header_file", ",", "\"\\n\"", ")", ";", "fprintf", "(", "header_file", ",", "\"\\n#endif\\n\"", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Write", "everything", "to", "the", "header", "file", "(", "rs6000-builtins.h", ")", ".", "Return", "1", "if", "successful", ",", "0", "otherwise", "."], "TS_V_token": ["rs6000", "\"#ifndef _RS6000_BUILTINS_H\\n\"", "\"#define _RS6000_BUILTINS_H 1\\n\\n\"", "\"\\n\"", "\"\\n#endif\\n\"", "1"], "File": "rs6000-gen-builtins", "Func": "write_header_file", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8714, "Length": 48, "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", "+", "3", ")", ";", "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", "(", "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", ")", ";", "}", "const", "char", "*", "notoc", "=", "rs6000_pcrel_p", "(", ")", "?", "\"_NOTOC\"", ":", "\"\"", ";", "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%s,%%z%u%s\\n\\t\"", ",", "tls", ",", "rel64", ",", "notoc", ",", "funop", ",", "addend", ")", ";", "s", "+=", "sprintf", "(", "s", ",", "\"crset 2\\n\\t\"", ")", ";", "}", "s", "+=", "sprintf", "(", "s", ",", "\"%s.reloc .,R_PPC%s_PLTCALL%s,%%z%u%s\\n\\t\"", ",", "tls", ",", "rel64", ",", "notoc", ",", "funop", ",", "addend", ")", ";", "}", "else", "if", "(", "!", "speculate", ")", "s", "+=", "sprintf", "(", "s", ",", "\"crset 2\\n\\t\"", ")", ";", "if", "(", "rs6000_pcrel_p", "(", ")", ")", "{", "if", "(", "speculate", ")", "sprintf", "(", "s", ",", "\"b%%T%ul\"", ",", "funop", ")", ";", "else", "sprintf", "(", "s", ",", "\"beq%%T%ul-\"", ",", "funop", ")", ";", "}", "else", "if", "(", "DEFAULT_ABI", "==", "ABI_AIX", ")", "{", "if", "(", "speculate", ")", "sprintf", "(", "s", ",", "\"b%%T%ul\\n\\t\"", "\"l%s 2,%%%u(1)\"", ",", "funop", ",", "ptrload", ",", "funop", "+", "4", ")", ";", "else", "sprintf", "(", "s", ",", "\"beq%%T%ul-\\n\\t\"", "\"l%s 2,%%%u(1)\"", ",", "funop", ",", "ptrload", ",", "funop", "+", "4", ")", ";", "}", "else", "if", "(", "DEFAULT_ABI", "==", "ABI_ELFv2", ")", "{", "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", "(", "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\"", "3", "\"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\"", "\"_NOTOC\"", "\"\"", "2", "\"+32768\"", "\"\"", "\"%s.reloc .,R_PPC%s_PLTSEQ%s,%%z%u%s\\n\\t\"", "\"crset 2\\n\\t\"", "\"%s.reloc .,R_PPC%s_PLTCALL%s,%%z%u%s\\n\\t\"", "\"crset 2\\n\\t\"", "\"b%%T%ul\"", "\"beq%%T%ul-\"", "\"b%%T%ul\\n\\t\"", "\"l%s 2,%%%u(1)\"", "4", "\"beq%%T%ul-\\n\\t\"", "\"l%s 2,%%%u(1)\"", "4", "\"b%%T%ul\\n\\t\"", "\"l%s 2,%%%u(1)\"", "3", "\"beq%%T%ul-\\n\\t\"", "\"l%s 2,%%%u(1)\"", "3", "\"b%%T%u%s\"", "\"\"", "\"l\"", "\"beq%%T%u%s-%s\"", "\"\"", "\"l\"", "\"\\n\\tb $\"", "\"\""], "File": "rs6000", "Func": "rs6000_indirect_call_template_1", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8715, "Length": 484, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "d30v_issue_rate", "(", ")", "{", "return", "2", ";", "}", ""], "natrual_language": ["Function", "which", "returns", "the", "number", "of", "insns", "that", "can", "be", "scheduled", "in", "the", "same", "machine", "cycle", ".", "This", "must", "be", "constant", "over", "an", "entire", "compilation", ".", "The", "default", "is", "1", "."], "TS_V_token": ["d30v", "2"], "File": "d30v", "Func": "d30v_issue_rate", "Target": "d30v", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8716, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiInstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "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": "LanaiInstrInfo18", "Func": "expandPostRAPseudo", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8717, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_output_filename", "(", "FILE", "*", "stream", ",", "const", "char", "*", "name", ")", "{", "if", "(", "dwarf_debuginfo_p", "(", ")", ")", "return", ";", "else", "if", "(", "mips_output_filename_first_time", ")", "{", "mips_output_filename_first_time", "=", "0", ";", "num_source_filenames", "+=", "1", ";", "current_function_file", "=", "name", ";", "fprintf", "(", "stream", ",", "\"\\t.file\\t%d \"", ",", "num_source_filenames", ")", ";", "output_quoted_string", "(", "stream", ",", "name", ")", ";", "putc", "(", "'\\n'", ",", "stream", ")", ";", "}", "else", "if", "(", "name", "!=", "current_function_file", "&&", "strcmp", "(", "name", ",", "current_function_file", ")", "!=", "0", ")", "{", "num_source_filenames", "+=", "1", ";", "current_function_file", "=", "name", ";", "fprintf", "(", "stream", ",", "\"\\t.file\\t%d \"", ",", "num_source_filenames", ")", ";", "output_quoted_string", "(", "stream", ",", "name", ")", ";", "putc", "(", "'\\n'", ",", "stream", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "a", "new", "filename", "to", "a", "stream", ".", "If", "we", "are", "smuggling", "stabs", ",", "try", "to", "put", "out", "a", "MIPS", "ECOFF", "file", "and", "a", "stab", "."], "TS_V_token": ["mips", "0", "1", "\"\\t.file\\t%d \"", "0", "1", "\"\\t.file\\t%d \""], "File": "mips1", "Func": "mips_output_filename", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8718, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "mayBeEmittedAsTailCall", "(", "const", "CallInst", "*", "CI", ")", "const", "{", "if", "(", "!", "CI", "->", "isTailCall", "(", ")", ")", "return", "false", ";", "ImmutableCallSite", "CS", "(", "CI", ")", ";", "CallingConv", "::", "ID", "CalleeCC", "=", "CS", ".", "getCallingConv", "(", ")", ";", "if", "(", "!", "mayTailCallThisCC", "(", "CalleeCC", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "may", "be", "able", "emit", "the", "call", "instruction", "as", "a", "tail", "call", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering130", "Func": "mayBeEmittedAsTailCall", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8719, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MVEVPTOptimisations", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "const", "ARMSubtarget", "&", "STI", "=", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "Fn", ".", "getSubtarget", "(", ")", ")", ";", "if", "(", "!", "STI", ".", "isThumb2", "(", ")", "||", "!", "STI", ".", "hasLOB", "(", ")", ")", "return", "false", ";", "TII", "=", "static_cast", "<", "const", "Thumb2InstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "MRI", "=", "&", "Fn", ".", "getRegInfo", "(", ")", ";", "MachineLoopInfo", "*", "MLI", "=", "&", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "MachineDominatorTree", "*", "DT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** ARM MVE VPT Optimisations **********\\n\"", "<<", "\"********** Function: \"", "<<", "Fn", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineLoop", "*", "ML", ":", "MLI", "->", "getBase", "(", ")", ".", "getLoopsInPreorder", "(", ")", ")", "{", "Modified", "|=", "MergeLoopEnd", "(", "ML", ")", ";", "Modified", "|=", "ConvertTailPredLoop", "(", "ML", ",", "DT", ")", ";", "}", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "Fn", ")", "{", "Modified", "|=", "ReplaceConstByVPNOTs", "(", "MBB", ",", "DT", ")", ";", "Modified", "|=", "ReplaceVCMPsByVPNOTs", "(", "MBB", ")", ";", "Modified", "|=", "ReduceOldVCCRValueUses", "(", "MBB", ")", ";", "Modified", "|=", "ConvertVPSEL", "(", "MBB", ")", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"**************************************\\n\"", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "\"********** ARM MVE VPT Optimisations **********\\n\"", "\"********** Function: \"", "\"**************************************\\n\""], "File": "MVEVPTOptimisationsPass2", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8720, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "BuildSREMPow2", "(", "SDNode", "*", "N", ",", "const", "APInt", "&", "Divisor", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDNode", "*", ">", "&", "Created", ")", "const", "{", "AttributeList", "Attr", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFunction", "(", ")", ".", "getAttributes", "(", ")", ";", "if", "(", "isIntDivCheap", "(", "N", "->", "getValueType", "(", "0", ")", ",", "Attr", ")", ")", "return", "SDValue", "(", "N", ",", "0", ")", ";", "EVT", "VT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "if", "(", "VT", ".", "isScalableVector", "(", ")", "||", "Subtarget", "->", "useSVEForFixedLengthVectors", "(", ")", ")", "return", "SDValue", "(", "N", ",", "0", ")", ";", "if", "(", "(", "VT", "!=", "MVT", "::", "i32", "&&", "VT", "!=", "MVT", "::", "i64", ")", "||", "!", "(", "Divisor", ".", "isPowerOf2", "(", ")", "||", "Divisor", ".", "isNegatedPowerOf2", "(", ")", ")", ")", "return", "SDValue", "(", ")", ";", "unsigned", "Lg2", "=", "Divisor", ".", "countTrailingZeros", "(", ")", ";", "if", "(", "Lg2", "==", "0", ")", "return", "SDValue", "(", ")", ";", "SDLoc", "DL", "(", "N", ")", ";", "SDValue", "N0", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Pow2MinusOne", "=", "DAG", ".", "getConstant", "(", "(", "1ULL", "<<", "Lg2", ")", "-", "1", ",", "DL", ",", "VT", ")", ";", "SDValue", "Zero", "=", "DAG", ".", "getConstant", "(", "0", ",", "DL", ",", "VT", ")", ";", "SDValue", "CCVal", ",", "CSNeg", ";", "if", "(", "Lg2", "==", "1", ")", "{", "SDValue", "Cmp", "=", "getAArch64Cmp", "(", "N0", ",", "Zero", ",", "ISD", "::", "SETGE", ",", "CCVal", ",", "DAG", ",", "DL", ")", ";", "SDValue", "And", "=", "DAG", ".", "getNode", "(", "ISD", "::", "AND", ",", "DL", ",", "VT", ",", "N0", ",", "Pow2MinusOne", ")", ";", "CSNeg", "=", "DAG", ".", "getNode", "(", "AArch64ISD", "::", "CSNEG", ",", "DL", ",", "VT", ",", "And", ",", "And", ",", "CCVal", ",", "Cmp", ")", ";", "Created", ".", "push_back", "(", "Cmp", ".", "getNode", "(", ")", ")", ";", "Created", ".", "push_back", "(", "And", ".", "getNode", "(", ")", ")", ";", "}", "else", "{", "SDValue", "CCVal", "=", "DAG", ".", "getConstant", "(", "AArch64CC", "::", "MI", ",", "DL", ",", "MVT_CC", ")", ";", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "VT", ",", "MVT", "::", "i32", ")", ";", "SDValue", "Negs", "=", "DAG", ".", "getNode", "(", "AArch64ISD", "::", "SUBS", ",", "DL", ",", "VTs", ",", "Zero", ",", "N0", ")", ";", "SDValue", "AndPos", "=", "DAG", ".", "getNode", "(", "ISD", "::", "AND", ",", "DL", ",", "VT", ",", "N0", ",", "Pow2MinusOne", ")", ";", "SDValue", "AndNeg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "AND", ",", "DL", ",", "VT", ",", "Negs", ",", "Pow2MinusOne", ")", ";", "CSNeg", "=", "DAG", ".", "getNode", "(", "AArch64ISD", "::", "CSNEG", ",", "DL", ",", "VT", ",", "AndPos", ",", "AndNeg", ",", "CCVal", ",", "Negs", ".", "getValue", "(", "1", ")", ")", ";", "Created", ".", "push_back", "(", "Negs", ".", "getNode", "(", ")", ")", ";", "Created", ".", "push_back", "(", "AndPos", ".", "getNode", "(", ")", ")", ";", "Created", ".", "push_back", "(", "AndNeg", ".", "getNode", "(", ")", ")", ";", "}", "return", "CSNeg", ";", "}", ""], "natrual_language": ["Targets", "may", "override", "this", "function", "to", "provide", "custom", "SREM", "lowering", "for", "power-of-2", "denominators", "."], "TS_V_token": ["AArch64", "AArch64", "0", "0", "0", "0", "MVT::i32", "MVT::i64", "0", "0", "1ULL", "1", "0", "1", "AArch64", "ISD::SETGE", "ISD::AND", "AArch64ISD::CSNEG", "AArch64CC::MI", "MVT::i32", "AArch64ISD::SUBS", "ISD::AND", "ISD::AND", "AArch64ISD::CSNEG", "1"], "File": "AArch64ISelLowering87", "Func": "BuildSREMPow2", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8721, "Length": 461, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "memory_access_direction", "determine_access_direction", "(", "rtx_insn", "*", "insn", ")", "{", "int", "post_update_rtx_index", ";", "rtx", "plus_rtx", ";", "rtx", "mem_rtx", ";", "rtx", "offset_rtx", ";", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_LOAD_MULTIPLE", ":", "gcc_assert", "(", "parallel_elements", "(", "insn", ")", ">=", "2", ")", ";", "post_update_rtx_index", "=", "find_post_update_rtx", "(", "insn", ")", ";", "if", "(", "post_update_rtx_index", "!=", "-", "1", ")", "plus_rtx", "=", "SET_SRC", "(", "parallel_element", "(", "insn", ",", "post_update_rtx_index", ")", ")", ";", "else", "{", "mem_rtx", "=", "SET_SRC", "(", "parallel_element", "(", "insn", ",", "1", ")", ")", ";", "if", "(", "GET_CODE", "(", "mem_rtx", ")", "==", "UNSPEC", ")", "mem_rtx", "=", "XVECEXP", "(", "mem_rtx", ",", "0", ",", "0", ")", ";", "gcc_assert", "(", "MEM_P", "(", "mem_rtx", ")", ")", ";", "plus_rtx", "=", "XEXP", "(", "mem_rtx", ",", "0", ")", ";", "}", "break", ";", "case", "TYPE_STORE_MULTIPLE", ":", "gcc_assert", "(", "parallel_elements", "(", "insn", ")", ">=", "2", ")", ";", "post_update_rtx_index", "=", "find_post_update_rtx", "(", "insn", ")", ";", "if", "(", "post_update_rtx_index", "!=", "-", "1", ")", "plus_rtx", "=", "SET_SRC", "(", "parallel_element", "(", "insn", ",", "post_update_rtx_index", ")", ")", ";", "else", "{", "mem_rtx", "=", "SET_DEST", "(", "parallel_element", "(", "insn", ",", "1", ")", ")", ";", "if", "(", "GET_CODE", "(", "mem_rtx", ")", "==", "UNSPEC", ")", "mem_rtx", "=", "XVECEXP", "(", "mem_rtx", ",", "0", ",", "0", ")", ";", "gcc_assert", "(", "MEM_P", "(", "mem_rtx", ")", ")", ";", "plus_rtx", "=", "XEXP", "(", "mem_rtx", ",", "0", ")", ";", "}", "break", ";", "case", "TYPE_LOAD", ":", "case", "TYPE_STORE", ":", "mem_rtx", "=", "extract_mem_rtx", "(", "insn", ")", ";", "switch", "(", "GET_CODE", "(", "XEXP", "(", "mem_rtx", ",", "0", ")", ")", ")", "{", "case", "POST_INC", ":", "return", "MEM_ACCESS_DIR_POS", ";", "case", "POST_DEC", ":", "return", "MEM_ACCESS_DIR_NEG", ";", "case", "PLUS", ":", "plus_rtx", "=", "XEXP", "(", "mem_rtx", ",", "0", ")", ";", "break", ";", "case", "POST_MODIFY", ":", "plus_rtx", "=", "XEXP", "(", "XEXP", "(", "mem_rtx", ",", "0", ")", ",", "1", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "gcc_assert", "(", "GET_CODE", "(", "plus_rtx", ")", "==", "PLUS", ")", ";", "offset_rtx", "=", "XEXP", "(", "plus_rtx", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "offset_rtx", ")", "==", "CONST_INT", ")", "{", "if", "(", "INTVAL", "(", "offset_rtx", ")", "<", "0", ")", "return", "MEM_ACCESS_DIR_NEG", ";", "else", "return", "MEM_ACCESS_DIR_POS", ";", "}", "return", "MEM_ACCESS_DIR_UNKNOWN", ";", "}", ""], "natrual_language": ["Determine", "the", "memory", "access", "direction", "of", "a", "load/store", "insn", "."], "TS_V_token": ["nds32", "2", "1", "1", "0", "0", "0", "2", "1", "1", "0", "0", "0", "0", "0", "0", "1", "1", "0"], "File": "nds32-pipelines-auxiliary", "Func": "determine_access_direction", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8722, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_emit_insn_before", "(", "rtx", "insn", ",", "rtx", "before", ")", "{", "emit_insn_before", "(", "insn", ",", "before", ")", ";", "}", ""], "natrual_language": ["Like", "emit_insn_before", ",", "but", "skip", "cycle_display", "insns", ".", "This", "makes", "the", "assembly", "output", "a", "bit", "prettier", "."], "TS_V_token": ["ia64"], "File": "ia644", "Func": "ia64_emit_insn_before", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8723, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "hasPairedLoad", "(", "EVT", "LoadedType", ",", "Align", "&", "RequiredAligment", ")", "const", "{", "if", "(", "!", "LoadedType", ".", "isSimple", "(", ")", "||", "(", "!", "LoadedType", ".", "isInteger", "(", ")", "&&", "!", "LoadedType", ".", "isFloatingPoint", "(", ")", ")", ")", "return", "false", ";", "RequiredAligment", "=", "Align", "(", "1", ")", ";", "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": ["AArch64", "AArch64", "1", "32", "64"], "File": "AArch64ISelLowering (2)2", "Func": "hasPairedLoad", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8724, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_comp_type_attributes", "(", "const_tree", "type1", ",", "const_tree", "type2", ")", "{", "unsigned", "int", "ccvt1", ",", "ccvt2", ";", "if", "(", "TREE_CODE", "(", "type1", ")", "!=", "FUNCTION_TYPE", "&&", "TREE_CODE", "(", "type1", ")", "!=", "METHOD_TYPE", ")", "return", "1", ";", "ccvt1", "=", "ix86_get_callcvt", "(", "type1", ")", ";", "ccvt2", "=", "ix86_get_callcvt", "(", "type2", ")", ";", "if", "(", "ccvt1", "!=", "ccvt2", ")", "return", "0", ";", "if", "(", "ix86_function_regparm", "(", "type1", ",", "NULL", ")", "!=", "ix86_function_regparm", "(", "type2", ",", "NULL", ")", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "0", "if", "the", "attributes", "for", "two", "types", "are", "incompatible", ",", "1", "if", "they", "are", "compatible", ",", "and", "2", "if", "they", "are", "nearly", "compatible", "(", "which", "causes", "a", "warning", "to", "be", "generated", ")", "."], "TS_V_token": ["i386", "1", "0", "0", "1"], "File": "i386", "Func": "ix86_comp_type_attributes", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8725, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "thumb_expand_movmemqi", "(", "rtx", "*", "operands", ")", "{", "rtx", "out", "=", "copy_to_mode_reg", "(", "SImode", ",", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ")", ";", "rtx", "in", "=", "copy_to_mode_reg", "(", "SImode", ",", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ")", ";", "HOST_WIDE_INT", "len", "=", "INTVAL", "(", "operands", "[", "2", "]", ")", ";", "HOST_WIDE_INT", "offset", "=", "0", ";", "while", "(", "len", ">=", "12", ")", "{", "emit_insn", "(", "gen_movmem12b", "(", "out", ",", "in", ",", "out", ",", "in", ")", ")", ";", "len", "-=", "12", ";", "}", "if", "(", "len", ">=", "8", ")", "{", "emit_insn", "(", "gen_movmem8b", "(", "out", ",", "in", ",", "out", ",", "in", ")", ")", ";", "len", "-=", "8", ";", "}", "if", "(", "len", ">=", "4", ")", "{", "rtx", "reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_movsi", "(", "reg", ",", "gen_rtx_MEM", "(", "SImode", ",", "in", ")", ")", ")", ";", "emit_insn", "(", "gen_movsi", "(", "gen_rtx_MEM", "(", "SImode", ",", "out", ")", ",", "reg", ")", ")", ";", "len", "-=", "4", ";", "offset", "+=", "4", ";", "}", "if", "(", "len", ">=", "2", ")", "{", "rtx", "reg", "=", "gen_reg_rtx", "(", "HImode", ")", ";", "emit_insn", "(", "gen_movhi", "(", "reg", ",", "gen_rtx_MEM", "(", "HImode", ",", "plus_constant", "(", "in", ",", "offset", ")", ")", ")", ")", ";", "emit_insn", "(", "gen_movhi", "(", "gen_rtx_MEM", "(", "HImode", ",", "plus_constant", "(", "out", ",", "offset", ")", ")", ",", "reg", ")", ")", ";", "len", "-=", "2", ";", "offset", "+=", "2", ";", "}", "if", "(", "len", ")", "{", "rtx", "reg", "=", "gen_reg_rtx", "(", "QImode", ")", ";", "emit_insn", "(", "gen_movqi", "(", "reg", ",", "gen_rtx_MEM", "(", "QImode", ",", "plus_constant", "(", "in", ",", "offset", ")", ")", ")", ")", ";", "emit_insn", "(", "gen_movqi", "(", "gen_rtx_MEM", "(", "QImode", ",", "plus_constant", "(", "out", ",", "offset", ")", ")", ",", "reg", ")", ")", ";", "}", "}", ""], "natrual_language": ["Routines", "for", "generating", "rtl", "."], "TS_V_token": ["arm", "0", "0", "1", "0", "2", "0", "12", "12", "8", "8", "4", "4", "4", "2", "2", "2"], "File": "arm3", "Func": "thumb_expand_movmemqi", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8726, "Length": 285, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreSched2", "(", ")", "{", "addPass", "(", "createX86ExpandPseudoPass", "(", ")", ")", ";", "}", ""], "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": ["X86", "X86", "X86"], "File": "X86TargetMachine10", "Func": "addPreSched2", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8727, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch_pac_insn_p", "(", "rtx", "x", ")", "{", "if", "(", "!", "x", "||", "!", "INSN_P", "(", "x", ")", ")", "return", "false", ";", "rtx", "pat", "=", "PATTERN", "(", "x", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "SET", ")", "{", "rtx", "tmp", "=", "XEXP", "(", "pat", ",", "1", ")", ";", "if", "(", "tmp", "&&", "(", "(", "GET_CODE", "(", "tmp", ")", "==", "UNSPEC", "&&", "XINT", "(", "tmp", ",", "1", ")", "==", "UNSPEC_PAC_NOP", ")", "||", "(", "GET_CODE", "(", "tmp", ")", "==", "UNSPEC_VOLATILE", "&&", "XINT", "(", "tmp", ",", "1", ")", "==", "VUNSPEC_PACBTI_NOP", ")", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Check", "if", "X", "(", "or", "any", "sub-rtx", "of", "X", ")", "is", "a", "PACIASP/PACIBSP", "instruction", "."], "TS_V_token": ["arm", "1", "1", "1"], "File": "arm1", "Func": "aarch_pac_insn_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8728, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "reg_class", "coproc_secondary_reload_class", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "bool", "wb", ")", "{", "if", "(", "mode", "==", "HFmode", ")", "{", "if", "(", "!", "TARGET_NEON_FP16", "&&", "!", "TARGET_VFP_FP16INST", ")", "return", "GENERAL_REGS", ";", "if", "(", "s_register_operand", "(", "x", ",", "mode", ")", "||", "neon_vector_mem_operand", "(", "x", ",", "2", ",", "true", ")", ")", "return", "NO_REGS", ";", "return", "GENERAL_REGS", ";", "}", "if", "(", "TARGET_NEON", "&&", "(", "MEM_P", "(", "x", ")", "||", "GET_CODE", "(", "x", ")", "==", "CONST_VECTOR", ")", "&&", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_INT", "||", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_FLOAT", "||", "VALID_NEON_STRUCT_MODE", "(", "mode", ")", ")", ")", "return", "NO_REGS", ";", "if", "(", "arm_coproc_mem_operand", "(", "x", ",", "wb", ")", "||", "s_register_operand", "(", "x", ",", "mode", ")", ")", "return", "NO_REGS", ";", "return", "GENERAL_REGS", ";", "}", ""], "natrual_language": ["Return", "GENERAL_REGS", "if", "a", "scratch", "register", "required", "to", "reload", "x", "to/from", "coprocessor", "registers", ".", "Otherwise", "return", "NO_REGS", "."], "TS_V_token": ["arm", "2"], "File": "arm", "Func": "coproc_secondary_reload_class", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8729, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mem_ok_for_ldrd_strd", "(", "rtx", "mem", ",", "rtx", "*", "base", ",", "rtx", "*", "offset", ")", "{", "rtx", "addr", ";", "gcc_assert", "(", "base", "!=", "NULL", "&&", "offset", "!=", "NULL", ")", ";", "if", "(", "side_effects_p", "(", "mem", ")", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "mem", ")", "==", "SUBREG", ")", "return", "false", ";", "gcc_assert", "(", "MEM_P", "(", "mem", ")", ")", ";", "*", "offset", "=", "const0_rtx", ";", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "if", "(", "!", "arm_legitimate_address_p", "(", "DImode", ",", "addr", ",", "reload_in_progress", "||", "reload_completed", ")", ")", "return", "false", ";", "if", "(", "REG_P", "(", "addr", ")", ")", "{", "*", "base", "=", "addr", ";", "return", "true", ";", "}", "else", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", "||", "GET_CODE", "(", "addr", ")", "==", "MINUS", ")", "{", "*", "base", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "*", "offset", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "return", "(", "REG_P", "(", "*", "base", ")", "&&", "CONST_INT_P", "(", "*", "offset", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Helper", "for", "gen_operands_ldrd_strd", ".", "Returns", "true", "iff", "the", "memory", "operand", "MEM", "'s", "address", "contains", "an", "immediate", "offset", "from", "the", "base", "register", "and", "has", "no", "side", "effects", ",", "in", "which", "case", "it", "sets", "BASE", "and", "OFFSET", "accordingly", "."], "TS_V_token": ["arm", "0", "0", "1"], "File": "arm4", "Func": "mem_ok_for_ldrd_strd", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8730, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "unique_ptr", "<", "MCObjectWriter", ">", "MipsAsmBackend", "::", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "{", "return", "createMipsELFObjectWriter", "(", "OS", ",", "TheTriple", ",", "IsN32", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsAsmBackend39", "Func": "createObjectWriter", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8731, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "SystemZRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "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::R11D", "SystemZ::R11L", "SystemZ::R11H", "SystemZ::R10Q", "SystemZ::R15D", "SystemZ::R15L", "SystemZ::R15H", "SystemZ::R14Q"], "File": "SystemZRegisterInfo42", "Func": "getReservedRegs", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8732, "Length": 122, "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": 8733, "Length": 14, "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", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "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"], "File": "PPCISelLowering148", "Func": "LowerCall", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8734, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "unknown_for_bundling_p", "(", "rtx_insn", "*", "insn", ")", "{", "return", "(", "INSN_P", "(", "insn", ")", "&&", "ia64_safe_itanium_class", "(", "insn", ")", "==", "ITANIUM_CLASS_UNKNOWN", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "USE", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "CLOBBER", ")", ";", "}", ""], "natrual_language": ["True", "when", "INSN", "is", "unknown", ",", "but", "important", ",", "for", "bundling", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "unknown_for_bundling_p", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8735, "Length": 45, "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": 8736, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "function_resolver", "::", "require_vector_type", "(", "unsigned", "int", "argno", ",", "vector_type_index", "type", ")", "{", "tree", "expected", "=", "acle_vector_types", "[", "0", "]", "[", "type", "]", ";", "tree", "actual", "=", "get_argument_type", "(", "argno", ")", ";", "if", "(", "actual", "==", "error_mark_node", ")", "return", "false", ";", "if", "(", "!", "matches_type_p", "(", "expected", ",", "actual", ")", ")", "{", "error_at", "(", "location", ",", "\"passing %qT to argument %d of %qE, which\"", "\" expects %qT\"", ",", "actual", ",", "argno", "+", "1", ",", "fndecl", ",", "expected", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Require", "argument", "ARGNO", "to", "have", "vector", "type", "TYPE", ",", "in", "cases", "where", "this", "requirement", "holds", "for", "all", "uses", "of", "the", "function", ".", "Return", "true", "if", "the", "argument", "has", "the", "right", "form", ",", "otherwise", "report", "an", "appropriate", "error", "."], "TS_V_token": ["aarch64", "0", "\"passing %qT to argument %d of %qE, which\"", "\" expects %qT\"", "1"], "File": "aarch64-sve-builtins1", "Func": "require_vector_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8737, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "num_insns_constant", "(", "rtx", "op", ",", "machine_mode", "mode", ")", "{", "HOST_WIDE_INT", "val", ";", "switch", "(", "GET_CODE", "(", "op", ")", ")", "{", "case", "CONST_INT", ":", "val", "=", "INTVAL", "(", "op", ")", ";", "break", ";", "case", "CONST_WIDE_INT", ":", "{", "int", "insns", "=", "0", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "CONST_WIDE_INT_NUNITS", "(", "op", ")", ";", "i", "++", ")", "insns", "+=", "num_insns_constant_multi", "(", "CONST_WIDE_INT_ELT", "(", "op", ",", "i", ")", ",", "DImode", ")", ";", "return", "insns", ";", "}", "case", "CONST_DOUBLE", ":", "{", "const", "struct", "real_value", "*", "rv", "=", "CONST_DOUBLE_REAL_VALUE", "(", "op", ")", ";", "if", "(", "mode", "==", "SFmode", "||", "mode", "==", "SDmode", ")", "{", "long", "l", ";", "if", "(", "mode", "==", "SDmode", ")", "REAL_VALUE_TO_TARGET_DECIMAL32", "(", "*", "rv", ",", "l", ")", ";", "else", "REAL_VALUE_TO_TARGET_SINGLE", "(", "*", "rv", ",", "l", ")", ";", "val", "=", "l", ";", "mode", "=", "SImode", ";", "}", "else", "if", "(", "mode", "==", "DFmode", "||", "mode", "==", "DDmode", ")", "{", "long", "l", "[", "2", "]", ";", "if", "(", "mode", "==", "DDmode", ")", "REAL_VALUE_TO_TARGET_DECIMAL64", "(", "*", "rv", ",", "l", ")", ";", "else", "REAL_VALUE_TO_TARGET_DOUBLE", "(", "*", "rv", ",", "l", ")", ";", "val", "=", "(", "unsigned", "HOST_WIDE_INT", ")", "l", "[", "WORDS_BIG_ENDIAN", "?", "0", ":", "1", "]", "<<", "32", ";", "val", "|=", "l", "[", "WORDS_BIG_ENDIAN", "?", "1", ":", "0", "]", "&", "0xffffffffUL", ";", "mode", "=", "DImode", ";", "}", "else", "if", "(", "mode", "==", "TFmode", "||", "mode", "==", "TDmode", "||", "mode", "==", "KFmode", "||", "mode", "==", "IFmode", ")", "{", "long", "l", "[", "4", "]", ";", "int", "insns", ";", "if", "(", "mode", "==", "TDmode", ")", "REAL_VALUE_TO_TARGET_DECIMAL128", "(", "*", "rv", ",", "l", ")", ";", "else", "REAL_VALUE_TO_TARGET_LONG_DOUBLE", "(", "*", "rv", ",", "l", ")", ";", "val", "=", "(", "unsigned", "HOST_WIDE_INT", ")", "l", "[", "WORDS_BIG_ENDIAN", "?", "0", ":", "3", "]", "<<", "32", ";", "val", "|=", "l", "[", "WORDS_BIG_ENDIAN", "?", "1", ":", "2", "]", "&", "0xffffffffUL", ";", "insns", "=", "num_insns_constant_multi", "(", "val", ",", "DImode", ")", ";", "val", "=", "(", "unsigned", "HOST_WIDE_INT", ")", "l", "[", "WORDS_BIG_ENDIAN", "?", "2", ":", "1", "]", "<<", "32", ";", "val", "|=", "l", "[", "WORDS_BIG_ENDIAN", "?", "3", ":", "0", "]", "&", "0xffffffffUL", ";", "insns", "+=", "num_insns_constant_multi", "(", "val", ",", "DImode", ")", ";", "return", "insns", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "}", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "num_insns_constant_multi", "(", "val", ",", "mode", ")", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "it", "takes", "to", "form", "a", "constant", "in", "as", "many", "gprs", "are", "needed", "for", "MODE", "."], "TS_V_token": ["rs6000", "0", "0", "2", "0", "1", "32", "1", "0", "0xffffffffUL", "4", "0", "3", "32", "1", "2", "0xffffffffUL", "2", "1", "32", "3", "0", "0xffffffffUL"], "File": "rs6000", "Func": "num_insns_constant", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8738, "Length": 372, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "ARMBaseRegisterInfo", "::", "getCrossCopyRegClass", "(", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "if", "(", "RC", "==", "&", "ARM", "::", "CCRRegClass", ")", "return", "&", "ARM", "::", "rGPRRegClass", ";", "return", "RC", ";", "}", ""], "natrual_language": ["getCrossCopyRegClass", "-", "Returns", "a", "legal", "register", "class", "to", "copy", "a", "register", "in", "the", "specified", "class", "to", "or", "from", "."], "TS_V_token": ["ARM", "ARM", "ARM::CCRRegClass", "ARM::rGPRRegClass"], "File": "ARMBaseRegisterInfo", "Func": "getCrossCopyRegClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8739, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", ")", "{", "tree", "type", ",", "decl_or_type", ";", "rtx", "a", ",", "b", ";", "bool", "bind_global", "=", "decl", "&&", "!", "targetm", ".", "binds_local_p", "(", "decl", ")", ";", "if", "(", "ix86_function_naked", "(", "current_function_decl", ")", ")", "return", "false", ";", "if", "(", "cfun", "->", "machine", "->", "no_caller_saved_registers", ")", "return", "false", ";", "if", "(", "!", "TARGET_MACHO", "&&", "!", "TARGET_64BIT", "&&", "flag_pic", "&&", "flag_plt", "&&", "bind_global", ")", "return", "false", ";", "if", "(", "ix86_minimum_incoming_stack_boundary", "(", "true", ")", "<", "PREFERRED_STACK_BOUNDARY", ")", "return", "false", ";", "if", "(", "decl", ")", "{", "decl_or_type", "=", "decl", ";", "type", "=", "TREE_TYPE", "(", "decl", ")", ";", "}", "else", "{", "type", "=", "CALL_EXPR_FN", "(", "exp", ")", ";", "type", "=", "TREE_TYPE", "(", "type", ")", ";", "type", "=", "TREE_TYPE", "(", "type", ")", ";", "decl_or_type", "=", "type", ";", "}", "if", "(", "(", "OUTGOING_REG_PARM_STACK_SPACE", "(", "type", ")", "!=", "OUTGOING_REG_PARM_STACK_SPACE", "(", "TREE_TYPE", "(", "current_function_decl", ")", ")", ")", "||", "(", "REG_PARM_STACK_SPACE", "(", "decl_or_type", ")", "!=", "REG_PARM_STACK_SPACE", "(", "current_function_decl", ")", ")", ")", "{", "maybe_complain_about_tail_call", "(", "exp", ",", "\"inconsistent size of stack space\"", "\" allocated for arguments which are\"", "\" passed in registers\"", ")", ";", "return", "false", ";", "}", "a", "=", "ix86_function_value", "(", "TREE_TYPE", "(", "exp", ")", ",", "decl_or_type", ",", "false", ")", ";", "b", "=", "ix86_function_value", "(", "TREE_TYPE", "(", "DECL_RESULT", "(", "cfun", "->", "decl", ")", ")", ",", "cfun", "->", "decl", ",", "false", ")", ";", "if", "(", "STACK_REG_P", "(", "a", ")", "||", "STACK_REG_P", "(", "b", ")", ")", "{", "if", "(", "!", "rtx_equal_p", "(", "a", ",", "b", ")", ")", "return", "false", ";", "}", "else", "if", "(", "VOID_TYPE_P", "(", "TREE_TYPE", "(", "DECL_RESULT", "(", "cfun", "->", "decl", ")", ")", ")", ")", ";", "else", "if", "(", "!", "rtx_equal_p", "(", "a", ",", "b", ")", ")", "return", "false", ";", "if", "(", "TARGET_64BIT", ")", "{", "if", "(", "cfun", "->", "machine", "->", "call_abi", "==", "MS_ABI", "&&", "ix86_function_type_abi", "(", "type", ")", "==", "SYSV_ABI", ")", "return", "false", ";", "}", "else", "{", "if", "(", "!", "decl", "||", "(", "bind_global", "&&", "flag_pic", "&&", "!", "flag_plt", ")", "||", "(", "TARGET_DLLIMPORT_DECL_ATTRIBUTES", "&&", "DECL_DLLIMPORT_P", "(", "decl", ")", ")", "||", "flag_force_indirect_call", ")", "{", "if", "(", "ix86_function_regparm", "(", "type", ",", "decl", ")", ">=", "3", "&&", "!", "cfun", "->", "machine", "->", "arg_reg_available", ")", "return", "false", ";", "}", "}", "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": ["i386", "\"inconsistent size of stack space\"", "\" allocated for arguments which are\"", "\" passed in registers\"", "3"], "File": "i386", "Func": "ix86_function_ok_for_sibcall", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8740, "Length": 346, "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": 8741, "Length": 228, "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": ["Sparc"], "File": "SparcAsmParser", "Func": "isImm", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8742, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "rs6000_reg_parm_stack_space", "(", "tree", "fun", ",", "bool", "incoming", ")", "{", "int", "reg_parm_stack_space", ";", "switch", "(", "DEFAULT_ABI", ")", "{", "default", ":", "reg_parm_stack_space", "=", "0", ";", "break", ";", "case", "ABI_AIX", ":", "case", "ABI_DARWIN", ":", "reg_parm_stack_space", "=", "TARGET_64BIT", "?", "64", ":", "32", ";", "break", ";", "case", "ABI_ELFv2", ":", "if", "(", "rs6000_function_parms_need_stack", "(", "fun", ",", "incoming", ")", ")", "reg_parm_stack_space", "=", "TARGET_64BIT", "?", "64", ":", "32", ";", "else", "reg_parm_stack_space", "=", "0", ";", "break", ";", "}", "return", "reg_parm_stack_space", ";", "}", ""], "natrual_language": ["Return", "the", "size", "of", "the", "REG_PARM_STACK_SPACE", "are", "for", "FUN", ".", "This", "is", "usually", "a", "constant", "depending", "on", "the", "ABI", ".", "However", ",", "in", "the", "ELFv2", "ABI", "the", "register", "parameter", "area", "is", "optional", "when", "calling", "a", "function", "that", "has", "a", "prototype", "is", "scope", ",", "has", "no", "variable", "argument", "list", ",", "and", "passes", "all", "parameters", "in", "registers", "."], "TS_V_token": ["rs6000", "0", "64", "32", "64", "32", "0"], "File": "rs6000-call", "Func": "rs6000_reg_parm_stack_space", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8743, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "SystemZTTIImpl", "::", "getIntImmCost", "(", "Intrinsic", "::", "ID", "IID", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "BitSize", ">", "64", ")", "return", "TTI", "::", "TCC_Free", ";", "switch", "(", "IID", ")", "{", "default", ":", "return", "TTI", "::", "TCC_Free", ";", "case", "Intrinsic", "::", "sadd_with_overflow", ":", "case", "Intrinsic", "::", "uadd_with_overflow", ":", "case", "Intrinsic", "::", "ssub_with_overflow", ":", "case", "Intrinsic", "::", "usub_with_overflow", ":", "if", "(", "Idx", "==", "1", "&&", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", ")", "{", "if", "(", "isUInt", "<", "32", ">", "(", "Imm", ".", "getZExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "isUInt", "<", "32", ">", "(", "-", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "}", "break", ";", "case", "Intrinsic", "::", "smul_with_overflow", ":", "case", "Intrinsic", "::", "umul_with_overflow", ":", "if", "(", "Idx", "==", "1", "&&", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", ")", "{", "if", "(", "isInt", "<", "32", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "}", "break", ";", "case", "Intrinsic", "::", "experimental_stackmap", ":", "if", "(", "(", "Idx", "<", "2", ")", "||", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", "&&", "isInt", "<", "64", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "break", ";", "case", "Intrinsic", "::", "experimental_patchpoint_void", ":", "case", "Intrinsic", "::", "experimental_patchpoint_i64", ":", "if", "(", "(", "Idx", "<", "4", ")", "||", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", "&&", "isInt", "<", "64", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "break", ";", "}", "return", "SystemZTTIImpl", "::", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["SystemZ", "SystemZ", "Intrinsic::ID", "0", "64", "Intrinsic::sadd_with_overflow", "Intrinsic::uadd_with_overflow", "Intrinsic::ssub_with_overflow", "Intrinsic::usub_with_overflow", "1", "64", "32", "32", "Intrinsic::smul_with_overflow", "Intrinsic::umul_with_overflow", "1", "64", "32", "Intrinsic::experimental_stackmap", "2", "64", "64", "Intrinsic::experimental_patchpoint_void", "Intrinsic::experimental_patchpoint_i64", "4", "64", "64", "SystemZ"], "File": "SystemZTargetTransformInfo (2)", "Func": "getIntImmCost", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8744, "Length": 300, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64PassConfig", "::", "addILPOpts", "(", ")", "{", "if", "(", "EnableCCMP", ")", "addPass", "(", "createARM64ConditionalCompares", "(", ")", ")", ";", "addPass", "(", "&", "EarlyIfConverterID", ")", ";", "if", "(", "EnableStPairSuppress", ")", "addPass", "(", "createARM64StorePairSuppressPass", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Add", "passes", "that", "optimize", "instruction", "level", "parallelism", "for", "out-of-order", "targets", "."], "TS_V_token": ["ARM64", "ARM64", "ARM64", "ARM64"], "File": "ARM64TargetMachine", "Func": "addILPOpts", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8745, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createPPCISelDag", "(", "getPPCTargetMachine", "(", ")", ")", ")", ";", "if", "(", "!", "DisableCTRLoops", "&&", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createPPCCTRLoopsVerify", "(", ")", ")", ";", "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"], "File": "PPCTargetMachine", "Func": "addInstSelector", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8746, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "reg_class", "mmix_preferred_reload_class", "(", "rtx", "x", "ATTRIBUTE_UNUSED", ",", "enum", "reg_class", "class", ")", "{", "return", "GET_CODE", "(", "x", ")", "==", "MOD", "&&", "GET_MODE", "(", "x", ")", "==", "DImode", "?", "REMAINDER_REG", ":", "class", ";", "}", ""], "natrual_language": ["PREFERRED_RELOAD_CLASS", ".", "We", "need", "to", "extend", "the", "reload", "class", "of", "REMAINDER_REG", "and", "HIMULT_REG", "."], "TS_V_token": ["mmix"], "File": "mmix3", "Func": "mmix_preferred_reload_class", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8747, "Length": 33, "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": 8748, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "sh_register_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "srcclass", ",", "reg_class_t", "dstclass", ")", "{", "if", "(", "dstclass", "==", "T_REGS", "||", "dstclass", "==", "PR_REGS", ")", "return", "10", ";", "if", "(", "dstclass", "==", "MAC_REGS", "&&", "srcclass", "==", "MAC_REGS", ")", "return", "4", ";", "if", "(", "mode", "==", "SImode", "&&", "TARGET_FMOVD", "&&", "REGCLASS_HAS_FP_REG", "(", "srcclass", ")", "&&", "REGCLASS_HAS_FP_REG", "(", "dstclass", ")", ")", "return", "4", ";", "if", "(", "REGCLASS_HAS_FP_REG", "(", "dstclass", ")", "&&", "srcclass", "==", "T_REGS", ")", "return", "(", "(", "TARGET_HARD_SH4", "&&", "!", "optimize_size", ")", "?", "10", ":", "7", ")", ";", "if", "(", "(", "REGCLASS_HAS_FP_REG", "(", "dstclass", ")", "&&", "srcclass", "==", "MAC_REGS", ")", "||", "(", "dstclass", "==", "MAC_REGS", "&&", "REGCLASS_HAS_FP_REG", "(", "srcclass", ")", ")", ")", "return", "9", ";", "if", "(", "(", "REGCLASS_HAS_FP_REG", "(", "dstclass", ")", "&&", "REGCLASS_HAS_GENERAL_REG", "(", "srcclass", ")", ")", "||", "(", "REGCLASS_HAS_GENERAL_REG", "(", "dstclass", ")", "&&", "REGCLASS_HAS_FP_REG", "(", "srcclass", ")", ")", ")", "{", "int", "addend", "=", "(", "mode", "==", "Pmode", ")", "?", "40", ":", "0", ";", "return", "(", "(", "TARGET_FMOVD", "?", "8", ":", "12", ")", "+", "addend", ")", "*", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "7", ")", "/", "8U", ")", ";", "}", "if", "(", "(", "dstclass", "==", "FPUL_REGS", "&&", "REGCLASS_HAS_GENERAL_REG", "(", "srcclass", ")", ")", "||", "(", "srcclass", "==", "FPUL_REGS", "&&", "REGCLASS_HAS_GENERAL_REG", "(", "dstclass", ")", ")", ")", "return", "5", ";", "if", "(", "(", "dstclass", "==", "FPUL_REGS", "&&", "(", "srcclass", "==", "PR_REGS", "||", "srcclass", "==", "MAC_REGS", "||", "srcclass", "==", "T_REGS", ")", ")", "||", "(", "srcclass", "==", "FPUL_REGS", "&&", "(", "dstclass", "==", "PR_REGS", "||", "dstclass", "==", "MAC_REGS", ")", ")", ")", "return", "7", ";", "if", "(", "(", "srcclass", "==", "FPSCR_REGS", "&&", "!", "REGCLASS_HAS_GENERAL_REG", "(", "dstclass", ")", ")", "||", "(", "dstclass", "==", "FPSCR_REGS", "&&", "!", "REGCLASS_HAS_GENERAL_REG", "(", "srcclass", ")", ")", ")", "return", "4", ";", "if", "(", "TARGET_FMOVD", "&&", "!", "REGCLASS_HAS_GENERAL_REG", "(", "srcclass", ")", "&&", "!", "REGCLASS_HAS_GENERAL_REG", "(", "dstclass", ")", ")", "return", "2", "*", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "7", ")", "/", "8U", ")", ";", "if", "(", "(", "(", "dstclass", "==", "FP_REGS", "||", "dstclass", "==", "DF_REGS", ")", "&&", "(", "srcclass", "==", "PR_REGS", ")", ")", "||", "(", "(", "srcclass", "==", "FP_REGS", "||", "srcclass", "==", "DF_REGS", ")", "&&", "(", "dstclass", "==", "PR_REGS", ")", ")", ")", "return", "7", ";", "return", "2", "*", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "3", ")", "/", "4U", ")", ";", "}", ""], "natrual_language": ["If", "SECONDARY", "*", "_RELOAD_CLASS", "says", "something", "about", "the", "src/dst", "pair", ",", "regclass", "uses", "this", "information", ".", "Hence", ",", "the", "general", "register", "<", "-", ">", "floating", "point", "register", "information", "here", "is", "not", "used", "for", "SFmode", "."], "TS_V_token": ["sh", "10", "4", "4", "10", "7", "9", "40", "0", "8", "12", "7", "8U", "5", "7", "4", "2", "7", "8U", "7", "2", "3", "4U"], "File": "sh1", "Func": "sh_register_move_cost", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8749, "Length": 367, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "KudeyarRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "Kudeyar", "::", "FP", ":", "Kudeyar", "::", "SP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["Kudeyar", "Kudeyar", "Kudeyar::FP", "Kudeyar::SP"], "File": "KudeyarRegisterInfo", "Func": "getFrameRegister", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8750, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "override", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "LEG", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_leg_mov_hi16_pcrel\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_leg_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": ["LEG", "LEG::NumTargetFixupKinds", "\"fixup_leg_mov_hi16_pcrel\"", "0", "32", "\"fixup_leg_mov_lo16_pcrel\"", "0", "32", "\"Invalid kind!\""], "File": "LEGAsmBackend", "Func": "getFixupKindInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8751, "Length": 89, "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": 8752, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_expand_sse_comi", "(", "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", "(", "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", "comi", "insns", "."], "TS_V_token": ["i386", "0", "1", "0", "1", "0", "0", "1", "0"], "File": "i386-expand", "Func": "ix86_expand_sse_comi", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8753, "Length": 302, "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", ",", "getStackAlign", "(", ")", ")", ";", "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": "Thumb1FrameLowering10", "Func": "eliminateCallFramePseudoInstr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8754, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "unique_ptr", "<", "SystemZFrameLowering", ">", "SystemZFrameLowering", "::", "create", "(", "const", "SystemZSubtarget", "&", "STI", ")", "{", "if", "(", "STI", ".", "isTargetXPLINK64", "(", ")", ")", "return", "std", "::", "make_unique", "<", "SystemZXPLINKFrameLowering", ">", "(", ")", ";", "return", "std", "::", "make_unique", "<", "SystemZELFFrameLowering", ">", "(", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ"], "File": "SystemZFrameLowering10", "Func": "create", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8755, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "nds32_expand_unop_builtin", "(", "enum", "insn_code", "icode", ",", "tree", "exp", ",", "rtx", "target", ",", "bool", "return_p", ")", "{", "rtx", "pat", ";", "rtx", "op0", "=", "nds32_read_argument", "(", "exp", ",", "0", ")", ";", "int", "op0_num", "=", "return_p", "?", "1", ":", "0", ";", "if", "(", "return_p", ")", "target", "=", "nds32_legitimize_target", "(", "icode", ",", "target", ")", ";", "op0", "=", "nds32_legitimize_argument", "(", "icode", ",", "op0_num", ",", "op0", ")", ";", "if", "(", "return_p", ")", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op0", ")", ";", "else", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op0", ")", ";", "if", "(", "!", "pat", ")", "return", "NULL_RTX", ";", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Expand", "builtins", "that", "take", "one", "operand", "."], "TS_V_token": ["nds32", "0", "1", "0"], "File": "nds32-intrinsic", "Func": "nds32_expand_unop_builtin", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8756, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "if", "(", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "isAAPCS_ABI", "(", ")", ")", "{", "StaticCtorSection", "=", "getELFSection", "(", "\".init_array\"", ",", "MCSectionELF", "::", "SHT_INIT_ARRAY", ",", "MCSectionELF", "::", "SHF_WRITE", "|", "MCSectionELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getDataRel", "(", ")", ")", ";", "StaticDtorSection", "=", "getELFSection", "(", "\".fini_array\"", ",", "MCSectionELF", "::", "SHT_FINI_ARRAY", ",", "MCSectionELF", "::", "SHF_WRITE", "|", "MCSectionELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getDataRel", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["ARM", "ARM", "\".init_array\"", "\".fini_array\""], "File": "ARMTargetObjectFile12", "Func": "Initialize", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8757, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "ix86_handle_selectany_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", ",", "int", ",", "bool", "*", "no_add_attrs", ")", "{", "if", "(", "TREE_CODE", "(", "*", "node", ")", "!=", "VAR_DECL", "||", "!", "TREE_PUBLIC", "(", "*", "node", ")", ")", "{", "error", "(", "\"%qE attribute applies only to initialized variables\"", "\" with external linkage\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "a", "``", "selectany", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["i386", "\"%qE attribute applies only to initialized variables\"", "\" with external linkage\""], "File": "winnt4", "Func": "ix86_handle_selectany_attribute", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8758, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isReallyTriviallyReMaterializable", "(", "const", "MachineInstr", "&", "MI", ",", "AAResults", "*", "AA", ")", "const", "{", "return", "isVCTP", "(", "&", "MI", ")", "&&", "!", "isPredicated", "(", "MI", ")", ";", "}", ""], "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": ["ARM", "ARM"], "File": "ARMBaseInstrInfo110", "Func": "isReallyTriviallyReMaterializable", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8759, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isPredicable", "(", "MachineInstr", "*", "MI", ")", "const", "{", "const", "MCInstrDesc", "&", "MCID", "=", "MI", "->", "getDesc", "(", ")", ";", "if", "(", "!", "MCID", ".", "isPredicable", "(", ")", ")", "return", "false", ";", "if", "(", "(", "MCID", ".", "TSFlags", "&", "ARMII", "::", "DomainMask", ")", "==", "ARMII", "::", "DomainNEON", ")", "{", "ARMFunctionInfo", "*", "AFI", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "return", "AFI", "->", "isThumb2Function", "(", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "instruction", "can", "be", "predicated", "."], "TS_V_token": ["ARM", "ARM", "ARMII::DomainMask", "ARMII::DomainNEON", "ARM", "ARM"], "File": "ARMBaseInstrInfo108", "Func": "isPredicable", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8760, "Length": 84, "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": "SparcTargetMachine58", "Func": "addInstSelector", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8761, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PrintSpecial", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "const", "char", "*", "Kind", ")", "{", "}", ""], "natrual_language": ["Print", "information", "related", "to", "the", "specified", "machine", "instr", "that", "is", "independent", "of", "the", "operand", ",", "and", "may", "be", "independent", "of", "the", "instr", "itself", "."], "TS_V_token": ["ARM"], "File": "ARMInstPrinter3", "Func": "PrintSpecial", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8762, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMTTI", "::", "getIntImmCost", "(", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "const", "{", "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", "ARMTTI::getIntImmCost", "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": "ARMTargetTransformInfo21", "Func": "getIntImmCost", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8763, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_return_fpr_pair", "(", "enum", "machine_mode", "mode", ",", "enum", "machine_mode", "mode1", ",", "HOST_WIDE_INT", "offset1", ",", "enum", "machine_mode", "mode2", ",", "HOST_WIDE_INT", "offset2", ")", "{", "int", "inc", ";", "inc", "=", "(", "TARGET_NEWABI", "?", "2", ":", "FP_INC", ")", ";", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec", "(", "2", ",", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "mode1", ",", "FP_RETURN", ")", ",", "GEN_INT", "(", "offset1", ")", ")", ",", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "mode2", ",", "FP_RETURN", "+", "inc", ")", ",", "GEN_INT", "(", "offset2", ")", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "a", "composite", "value", "in", "a", "pair", "of", "floating-point", "registers", ".", "MODE1", "and", "OFFSET1", "are", "the", "mode", "and", "byte", "offset", "for", "the", "first", "value", ",", "likewise", "MODE2", "and", "OFFSET2", "for", "the", "second", ".", "MODE", "is", "the", "mode", "of", "the", "complete", "value", ".", "For", "n32", "&", "n64", ",", "$", "f0", "always", "holds", "the", "first", "value", "and", "$", "f2", "the", "second", ".", "Otherwise", "the", "values", "are", "packed", "together", "as", "closely", "as", "possible", "."], "TS_V_token": ["mips", "2", "2"], "File": "mips3", "Func": "mips_return_fpr_pair", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8764, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "def_builtin", "(", "const", "char", "*", "name", ",", "tree", "type", ",", "enum", "rs6000_builtins", "code", ")", "{", "tree", "t", ";", "unsigned", "classify", "=", "rs6000_builtin_info", "[", "(", "int", ")", "code", "]", ".", "attr", ";", "const", "char", "*", "attr_string", "=", "\"\"", ";", "gcc_assert", "(", "name", "!=", "NULL", ")", ";", "gcc_assert", "(", "IN_RANGE", "(", "(", "int", ")", "code", ",", "0", ",", "(", "int", ")", "RS6000_BUILTIN_COUNT", ")", ")", ";", "if", "(", "rs6000_builtin_decls", "[", "(", "int", ")", "code", "]", ")", "fatal_error", "(", "input_location", ",", "\"internal error: builtin function %qs already processed\"", ",", "name", ")", ";", "rs6000_builtin_decls", "[", "(", "int", ")", "code", "]", "=", "t", "=", "add_builtin_function", "(", "name", ",", "type", ",", "(", "int", ")", "code", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "if", "(", "(", "classify", "&", "RS6000_BTC_CONST", ")", "!=", "0", ")", "{", "TREE_READONLY", "(", "t", ")", "=", "1", ";", "TREE_NOTHROW", "(", "t", ")", "=", "1", ";", "attr_string", "=", "\", const\"", ";", "}", "else", "if", "(", "(", "classify", "&", "RS6000_BTC_PURE", ")", "!=", "0", ")", "{", "DECL_PURE_P", "(", "t", ")", "=", "1", ";", "TREE_NOTHROW", "(", "t", ")", "=", "1", ";", "attr_string", "=", "\", pure\"", ";", "}", "else", "if", "(", "(", "classify", "&", "RS6000_BTC_FP", ")", "!=", "0", ")", "{", "TREE_NOTHROW", "(", "t", ")", "=", "1", ";", "if", "(", "flag_rounding_math", ")", "{", "DECL_PURE_P", "(", "t", ")", "=", "1", ";", "DECL_IS_NOVOPS", "(", "t", ")", "=", "1", ";", "attr_string", "=", "\", fp, pure\"", ";", "}", "else", "{", "TREE_READONLY", "(", "t", ")", "=", "1", ";", "attr_string", "=", "\", fp, const\"", ";", "}", "}", "else", "if", "(", "(", "classify", "&", "RS6000_BTC_ATTR_MASK", ")", "!=", "0", ")", "gcc_unreachable", "(", ")", ";", "if", "(", "TARGET_DEBUG_BUILTIN", ")", "fprintf", "(", "stderr", ",", "\"rs6000_builtin, code = %4d, %s%s\\n\"", ",", "(", "int", ")", "code", ",", "name", ",", "attr_string", ")", ";", "}", ""], "natrual_language": ["Add", "a", "SPARC", "builtin", "function", "with", "NAME", ",", "ICODE", ",", "CODE", "and", "TYPE", ".", "Return", "the", "function", "decl", "or", "NULL_TREE", "if", "the", "builtin", "was", "not", "added", "."], "TS_V_token": ["rs6000", "\"\"", "0", "\"internal error: builtin function %qs already processed\"", "0", "1", "1", "\", const\"", "0", "1", "1", "\", pure\"", "0", "1", "1", "1", "\", fp, pure\"", "1", "\", fp, const\"", "0", "\"rs6000_builtin, code = %4d, %s%s\\n\""], "File": "rs60007", "Func": "def_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8765, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcTargetMachine", "::", "SparcTargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "is64bit", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "is64bit", ")", ",", "DL", "(", "Subtarget", ".", "getDataLayout", "(", ")", ")", ",", "InstrInfo", "(", "Subtarget", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "FrameLowering", "(", "Subtarget", ")", "{", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "ILP32", "architecture", "model", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc"], "File": "SparcTargetMachine7", "Func": "SparcTargetMachine", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8766, "Length": 108, "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", "=", "&", "TM", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ";", "return", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ISelDAGToDAG2", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8767, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CUMULATIVE_ARGS", "xstormy16_function_arg_advance", "(", "CUMULATIVE_ARGS", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "int", "named", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "cum", "<", "NUM_ARGUMENT_REGISTERS", "&&", "cum", "+", "XSTORMY16_WORD_SIZE", "(", "type", ",", "mode", ")", ">", "NUM_ARGUMENT_REGISTERS", ")", "cum", "=", "NUM_ARGUMENT_REGISTERS", ";", "cum", "+=", "XSTORMY16_WORD_SIZE", "(", "type", ",", "mode", ")", ";", "return", "cum", ";", "}", ""], "natrual_language": ["Update", "CUM", "to", "advance", "past", "an", "argument", "in", "the", "argument", "list", ".", "The", "values", "MODE", ",", "TYPE", "and", "NAMED", "describe", "that", "argument", ".", "Once", "this", "is", "done", ",", "the", "variable", "CUM", "is", "suitable", "for", "analyzing", "the", "*", "following", "*", "argument", "with", "`", "TARGET_FUNCTION_ARG", "'", ",", "etc", ".", "This", "function", "need", "not", "do", "anything", "if", "the", "argument", "in", "question", "was", "passed", "on", "the", "stack", ".", "The", "compiler", "knows", "how", "to", "track", "the", "amount", "of", "stack", "space", "used", "for", "arguments", "without", "any", "special", "help", ".", "However", ",", "it", "makes", "life", "easier", "for", "xstormy16_build_va_list", "if", "it", "does", "update", "the", "word", "count", "."], "TS_V_token": ["stormy16"], "File": "stormy163", "Func": "xstormy16_function_arg_advance", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8768, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "vectors_per_tuple", "(", ")", "const", "OVERRIDE", "{", "return", "m_vectors_per_tuple", ";", "}", ""], "natrual_language": ["If", "the", "function", "operates", "on", "tuples", "of", "vectors", ",", "return", "the", "number", "of", "vectors", "in", "the", "tuples", ",", "otherwise", "return", "1", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins-functions", "Func": "vectors_per_tuple", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8769, "Length": 12, "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": 8770, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_function_specific_save", "(", "struct", "cl_target_option", "*", "ptr", ",", "struct", "gcc_options", "*", "opts", ",", "struct", "gcc_options", "*", ")", "{", "ptr", "->", "arch", "=", "ix86_arch", ";", "ptr", "->", "schedule", "=", "ix86_schedule", ";", "ptr", "->", "prefetch_sse", "=", "ix86_prefetch_sse", ";", "ptr", "->", "tune", "=", "ix86_tune", ";", "ptr", "->", "branch_cost", "=", "ix86_branch_cost", ";", "ptr", "->", "tune_defaulted", "=", "ix86_tune_defaulted", ";", "ptr", "->", "arch_specified", "=", "ix86_arch_specified", ";", "ptr", "->", "x_ix86_isa_flags_explicit", "=", "opts", "->", "x_ix86_isa_flags_explicit", ";", "ptr", "->", "x_ix86_isa_flags2_explicit", "=", "opts", "->", "x_ix86_isa_flags2_explicit", ";", "ptr", "->", "x_recip_mask_explicit", "=", "opts", "->", "x_recip_mask_explicit", ";", "ptr", "->", "x_ix86_arch_string", "=", "opts", "->", "x_ix86_arch_string", ";", "ptr", "->", "x_ix86_tune_string", "=", "opts", "->", "x_ix86_tune_string", ";", "ptr", "->", "x_ix86_asm_dialect", "=", "opts", "->", "x_ix86_asm_dialect", ";", "ptr", "->", "x_ix86_branch_cost", "=", "opts", "->", "x_ix86_branch_cost", ";", "ptr", "->", "x_ix86_dump_tunes", "=", "opts", "->", "x_ix86_dump_tunes", ";", "ptr", "->", "x_ix86_force_align_arg_pointer", "=", "opts", "->", "x_ix86_force_align_arg_pointer", ";", "ptr", "->", "x_ix86_force_drap", "=", "opts", "->", "x_ix86_force_drap", ";", "ptr", "->", "x_ix86_recip_name", "=", "opts", "->", "x_ix86_recip_name", ";", "ptr", "->", "x_ix86_section_threshold", "=", "opts", "->", "x_ix86_section_threshold", ";", "ptr", "->", "x_ix86_sse2avx", "=", "opts", "->", "x_ix86_sse2avx", ";", "ptr", "->", "x_ix86_stack_protector_guard", "=", "opts", "->", "x_ix86_stack_protector_guard", ";", "ptr", "->", "x_ix86_stringop_alg", "=", "opts", "->", "x_ix86_stringop_alg", ";", "ptr", "->", "x_ix86_tls_dialect", "=", "opts", "->", "x_ix86_tls_dialect", ";", "ptr", "->", "x_ix86_tune_ctrl_string", "=", "opts", "->", "x_ix86_tune_ctrl_string", ";", "ptr", "->", "x_ix86_tune_memcpy_strategy", "=", "opts", "->", "x_ix86_tune_memcpy_strategy", ";", "ptr", "->", "x_ix86_tune_memset_strategy", "=", "opts", "->", "x_ix86_tune_memset_strategy", ";", "ptr", "->", "x_ix86_tune_no_default", "=", "opts", "->", "x_ix86_tune_no_default", ";", "gcc_assert", "(", "ptr", "->", "arch", "==", "ix86_arch", ")", ";", "gcc_assert", "(", "ptr", "->", "schedule", "==", "ix86_schedule", ")", ";", "gcc_assert", "(", "ptr", "->", "tune", "==", "ix86_tune", ")", ";", "gcc_assert", "(", "ptr", "->", "branch_cost", "==", "ix86_branch_cost", ")", ";", "}", ""], "natrual_language": ["Save", "the", "current", "options"], "TS_V_token": ["i386"], "File": "i386-options1", "Func": "ix86_function_specific_save", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8771, "Length": 257, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "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": ["X86", "X86"], "File": "X86TargetMachine101", "Func": "addGlobalInstructionSelect", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8772, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "OperandMatchResultTy", "LanaiAsmParser", "::", "tryParseRegister", "(", "unsigned", "&", "RegNum", ",", "SMLoc", "&", "StartLoc", ",", "SMLoc", "&", "EndLoc", ")", "{", "const", "AsmToken", "&", "Tok", "=", "getParser", "(", ")", ".", "getTok", "(", ")", ";", "StartLoc", "=", "Tok", ".", "getLoc", "(", ")", ";", "EndLoc", "=", "Tok", ".", "getEndLoc", "(", ")", ";", "std", "::", "unique_ptr", "<", "LanaiOperand", ">", "Op", "=", "parseRegister", "(", "true", ")", ";", "if", "(", "Op", "==", "nullptr", ")", "return", "MatchOperand_NoMatch", ";", "RegNum", "=", "Op", "->", "getReg", "(", ")", ";", "return", "MatchOperand_Success", ";", "}", ""], "natrual_language": ["tryParseRegister", "-", "parse", "one", "register", "if", "possible"], "TS_V_token": ["Lanai", "Lanai", "Lanai"], "File": "LanaiAsmParser10", "Func": "tryParseRegister", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8773, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_process_target_attr", "(", "tree", "args", ",", "const", "char", "*", "pragma_or_attr", ")", "{", "if", "(", "TREE_CODE", "(", "args", ")", "==", "TREE_LIST", ")", "{", "do", "{", "tree", "head", "=", "TREE_VALUE", "(", "args", ")", ";", "if", "(", "head", ")", "{", "if", "(", "!", "aarch64_process_target_attr", "(", "head", ",", "pragma_or_attr", ")", ")", "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 target %s value\"", ",", "pragma_or_attr", ")", ";", "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", ",", "pragma_or_attr", ")", ")", "{", "error", "(", "\"target %s %qs is invalid\"", ",", "pragma_or_attr", ",", "token", ")", ";", "return", "false", ";", "}", "token", "=", "strtok", "(", "NULL", ",", "\",\"", ")", ";", "}", "if", "(", "num_attrs", "!=", "num_commas", "+", "1", ")", "{", "error", "(", "\"malformed target %s list %qs\"", ",", "pragma_or_attr", ",", "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 target %s value\"", "\",\"", "0", "\"target %s %qs is invalid\"", "\",\"", "1", "\"malformed target %s list %qs\""], "File": "aarch644", "Func": "aarch64_process_target_attr", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8774, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86FrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "Register", "&", "FrameReg", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "bool", "IsFixed", "=", "MFI", ".", "isFixedObjectIndex", "(", "FI", ")", ";", "if", "(", "TRI", "->", "hasBasePointer", "(", "MF", ")", ")", "FrameReg", "=", "IsFixed", "?", "TRI", "->", "getFramePtr", "(", ")", ":", "TRI", "->", "getBaseRegister", "(", ")", ";", "else", "if", "(", "TRI", "->", "needsStackRealignment", "(", "MF", ")", ")", "FrameReg", "=", "IsFixed", "?", "TRI", "->", "getFramePtr", "(", ")", ":", "TRI", "->", "getStackRegister", "(", ")", ";", "else", "FrameReg", "=", "TRI", "->", "getFrameRegister", "(", "MF", ")", ";", "int", "Offset", "=", "MFI", ".", "getObjectOffset", "(", "FI", ")", "-", "getOffsetOfLocalArea", "(", ")", ";", "const", "X86MachineFunctionInfo", "*", "X86FI", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "unsigned", "CSSize", "=", "X86FI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "bool", "HasFP", "=", "hasFP", "(", "MF", ")", ";", "bool", "IsWin64Prologue", "=", "MF", ".", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", "->", "usesWindowsCFI", "(", ")", ";", "int64_t", "FPDelta", "=", "0", ";", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "X86_INTR", "&&", "Offset", ">=", "0", ")", "{", "Offset", "+=", "getOffsetOfLocalArea", "(", ")", ";", "}", "if", "(", "IsWin64Prologue", ")", "{", "assert", "(", "!", "MFI", ".", "hasCalls", "(", ")", "||", "(", "StackSize", "%", "16", ")", "==", "8", ")", ";", "uint64_t", "FrameSize", "=", "StackSize", "-", "SlotSize", ";", "if", "(", "X86FI", "->", "getRestoreBasePointer", "(", ")", ")", "FrameSize", "+=", "SlotSize", ";", "uint64_t", "NumBytes", "=", "FrameSize", "-", "CSSize", ";", "uint64_t", "SEHFrameOffset", "=", "calculateSetFPREG", "(", "NumBytes", ")", ";", "if", "(", "FI", "&&", "FI", "==", "X86FI", "->", "getFAIndex", "(", ")", ")", "return", "-", "SEHFrameOffset", ";", "FPDelta", "=", "FrameSize", "-", "SEHFrameOffset", ";", "assert", "(", "(", "!", "MFI", ".", "hasCalls", "(", ")", "||", "(", "FPDelta", "%", "16", ")", "==", "0", ")", "&&", "\"FPDelta isn't aligned per the Win64 ABI!\"", ")", ";", "}", "if", "(", "TRI", "->", "hasBasePointer", "(", "MF", ")", ")", "{", "assert", "(", "HasFP", "&&", "\"VLAs and dynamic stack realign, but no FP?!\"", ")", ";", "if", "(", "FI", "<", "0", ")", "{", "return", "Offset", "+", "SlotSize", "+", "FPDelta", ";", "}", "else", "{", "assert", "(", "isAligned", "(", "MFI", ".", "getObjectAlign", "(", "FI", ")", ",", "-", "(", "Offset", "+", "StackSize", ")", ")", ")", ";", "return", "Offset", "+", "StackSize", ";", "}", "}", "else", "if", "(", "TRI", "->", "needsStackRealignment", "(", "MF", ")", ")", "{", "if", "(", "FI", "<", "0", ")", "{", "return", "Offset", "+", "SlotSize", "+", "FPDelta", ";", "}", "else", "{", "assert", "(", "isAligned", "(", "MFI", ".", "getObjectAlign", "(", "FI", ")", ",", "-", "(", "Offset", "+", "StackSize", ")", ")", ")", ";", "return", "Offset", "+", "StackSize", ";", "}", "}", "else", "{", "if", "(", "!", "HasFP", ")", "return", "Offset", "+", "StackSize", ";", "Offset", "+=", "SlotSize", ";", "int", "TailCallReturnAddrDelta", "=", "X86FI", "->", "getTCReturnAddrDelta", "(", ")", ";", "if", "(", "TailCallReturnAddrDelta", "<", "0", ")", "Offset", "-=", "TailCallReturnAddrDelta", ";", "}", "return", "Offset", "+", "FPDelta", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86", "0", "X86", "0", "16", "8", "X86", "X86", "16", "0", "\"FPDelta isn't aligned per the Win64 ABI!\"", "\"VLAs and dynamic stack realign, but no FP?!\"", "0", "0", "X86", "0"], "File": "X86FrameLowering101", "Func": "getFrameIndexReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8775, "Length": 465, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16InstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", "->", "getParent", "(", ")", ";", "switch", "(", "MI", "->", "getDesc", "(", ")", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Mips", "::", "RetRA16", ":", "ExpandRetRA16", "(", "MBB", ",", "MI", ",", "Mips", "::", "JrRa16", ")", ";", "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::RetRA16", "Mips::JrRa16"], "File": "Mips16InstrInfo4", "Func": "expandPostRAPseudo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8776, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FusionKind", "getKind", "(", ")", "const", "{", "return", "Kd", ";", "}", ""], "natrual_language": ["Returns", "the", "Kind", "of", "lane", "offset", "."], "TS_V_token": ["PowerPC"], "File": "PPCMacroFusion", "Func": "getKind", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8777, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "LEGSubtarget", "*", "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": ["LEG", "LEG"], "File": "LEGTargetMachine2", "Func": "getSubtargetImpl", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8778, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMElfTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "bool", "isAAPCS_ABI", "=", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "isAAPCS_ABI", "(", ")", ";", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "InitializeELF", "(", "isAAPCS_ABI", ")", ";", "if", "(", "isAAPCS_ABI", "&&", "!", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "isTargetNaCl", "(", ")", ")", "{", "LSDASection", "=", "nullptr", ";", "}", "AttributesSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".ARM.attributes\"", ",", "ELF", "::", "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", "ARM", "\".ARM.attributes\"", "ARM", "0"], "File": "ARMTargetObjectFile36", "Func": "Initialize", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8779, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_print_float_branch_condition", "(", "FILE", "*", "file", ",", "enum", "rtx_code", "code", ",", "int", "letter", ")", "{", "switch", "(", "code", ")", "{", "case", "EQ", ":", "if", "(", "ISA_HAS_CCF", ")", "fputs", "(", "\"c1eqz\"", ",", "file", ")", ";", "else", "fputs", "(", "\"c1f\"", ",", "file", ")", ";", "break", ";", "case", "NE", ":", "if", "(", "ISA_HAS_CCF", ")", "fputs", "(", "\"c1nez\"", ",", "file", ")", ";", "else", "fputs", "(", "\"c1t\"", ",", "file", ")", ";", "break", ";", "default", ":", "output_operand_lossage", "(", "\"'%%%c' is not a valid operand prefix\"", ",", "letter", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Likewise", "floating-point", "branches", "."], "TS_V_token": ["mips", "\"c1eqz\"", "\"c1f\"", "\"c1nez\"", "\"c1t\"", "\"'%%%c' is not a valid operand prefix\""], "File": "mips", "Func": "mips_print_float_branch_condition", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8780, "Length": 82, "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": "LEGMCCodeEmitter", "Func": "getMachineOpValue", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8781, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "ARMSelectionDAGInfo", "::", "EmitTargetCodeForMemset", "(", "SelectionDAG", "&", "DAG", ",", "const", "SDLoc", "&", "dl", ",", "SDValue", "Chain", ",", "SDValue", "Dst", ",", "SDValue", "Src", ",", "SDValue", "Size", ",", "Align", "Alignment", ",", "bool", "isVolatile", ",", "MachinePointerInfo", "DstPtrInfo", ")", "const", "{", "const", "ARMSubtarget", "&", "Subtarget", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "ConstantSDNode", "*", "ConstantSize", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Size", ")", ";", "if", "(", "Subtarget", ".", "hasMVEIntegerOps", "(", ")", "&&", "shouldGenerateInlineTPLoop", "(", "Subtarget", ",", "DAG", ",", "ConstantSize", ",", "Alignment", ",", "false", ")", ")", "{", "Src", "=", "DAG", ".", "getSplatBuildVector", "(", "MVT", "::", "v16i8", ",", "dl", ",", "DAG", ".", "getNode", "(", "ISD", "::", "TRUNCATE", ",", "dl", ",", "MVT", "::", "i8", ",", "Src", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "ARMISD", "::", "MEMSETLOOP", ",", "dl", ",", "MVT", "::", "Other", ",", "Chain", ",", "Dst", ",", "Src", ",", "DAG", ".", "getZExtOrTrunc", "(", "Size", ",", "dl", ",", "MVT", "::", "i32", ")", ")", ";", "}", "return", "EmitSpecializedLibcall", "(", "DAG", ",", "dl", ",", "Chain", ",", "Dst", ",", "Src", ",", "Size", ",", "Alignment", ".", "value", "(", ")", ",", "RTLIB", "::", "MEMSET", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memset", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "MVT::v16i8", "ISD::TRUNCATE", "MVT::i8", "ARMISD::MEMSETLOOP", "MVT::Other", "MVT::i32"], "File": "ARMSelectionDAGInfo27", "Func": "EmitTargetCodeForMemset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8782, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isProfitableToHoist", "(", "Instruction", "*", "I", ")", "const", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "Instruction", "::", "FMul", ")", "return", "true", ";", "if", "(", "I", "->", "getNumUses", "(", ")", "!=", "1", ")", "return", "true", ";", "Instruction", "*", "User", "=", "I", "->", "user_back", "(", ")", ";", "if", "(", "User", "&&", "!", "(", "User", "->", "getOpcode", "(", ")", "==", "Instruction", "::", "FSub", "||", "User", "->", "getOpcode", "(", ")", "==", "Instruction", "::", "FAdd", ")", ")", "return", "true", ";", "const", "TargetOptions", "&", "Options", "=", "getTargetMachine", "(", ")", ".", "Options", ";", "const", "DataLayout", "&", "DL", "=", "I", "->", "getModule", "(", ")", "->", "getDataLayout", "(", ")", ";", "EVT", "VT", "=", "getValueType", "(", "DL", ",", "User", "->", "getOperand", "(", "0", ")", "->", "getType", "(", ")", ")", ";", "if", "(", "isFMAFasterThanFMulAndFAdd", "(", "VT", ")", "&&", "isOperationLegalOrCustom", "(", "ISD", "::", "FMA", ",", "VT", ")", "&&", "(", "Options", ".", "AllowFPOpFusion", "==", "FPOpFusion", "::", "Fast", "||", "Options", ".", "UnsafeFPMath", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "profitable", "to", "hoist", "instruction", "in", "the", "then/else", "to", "before", "if", "."], "TS_V_token": ["AArch64", "AArch64", "1", "0", "ISD::FMA"], "File": "AArch64ISelLowering (2)1", "Func": "isProfitableToHoist", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8783, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARM64Subtarget", "::", "overrideSchedPolicy", "(", "MachineSchedPolicy", "&", "Policy", ",", "MachineInstr", "*", "begin", ",", "MachineInstr", "*", "end", ",", "unsigned", "NumRegionInstrs", ")", "const", "{", "Policy", ".", "OnlyTopDown", "=", "false", ";", "Policy", ".", "OnlyBottomUp", "=", "false", ";", "}", ""], "natrual_language": ["Override", "generic", "scheduling", "policy", "within", "a", "region", "."], "TS_V_token": ["ARM64", "ARM64"], "File": "ARM64Subtarget", "Func": "overrideSchedPolicy", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8784, "Length": 35, "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": 8785, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rs6000_vector_type", "(", "const", "char", "*", "name", ",", "tree", "elt_type", ",", "unsigned", "num_elts", ")", "{", "tree", "result", "=", "build_vector_type", "(", "elt_type", ",", "num_elts", ")", ";", "result", "=", "build_variant_type_copy", "(", "result", ")", ";", "add_builtin_type", "(", "name", ",", "result", ")", ";", "return", "result", ";", "}", ""], "natrual_language": ["Create", "a", "builtin", "vector", "type", "with", "a", "name", ".", "Taking", "care", "not", "to", "give", "the", "canonical", "type", "a", "name", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_vector_type", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8786, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb2InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "&", "ARM", "::", "GPRRegClass", "||", "RC", "==", "&", "ARM", "::", "tGPRRegClass", "||", "RC", "==", "&", "ARM", "::", "tcGPRRegClass", "||", "RC", "==", "&", "ARM", "::", "rGPRRegClass", "||", "RC", "==", "&", "ARM", "::", "GPRnopcRegClass", ")", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "t2LDRi12", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ")", ";", "return", ";", "}", "if", "(", "ARM", "::", "GPRPairRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "DestReg", ")", ")", "{", "MachineRegisterInfo", "*", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "MRI", "->", "constrainRegClass", "(", "DestReg", ",", "&", "ARM", "::", "GPRPair_with_gsub_1_in_rGPRRegClass", ")", ";", "}", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "t2LDRDi8", ")", ")", ";", "AddDReg", "(", "MIB", ",", "DestReg", ",", "ARM", "::", "gsub_0", ",", "RegState", "::", "DefineNoRead", ",", "TRI", ")", ";", "AddDReg", "(", "MIB", ",", "DestReg", ",", "ARM", "::", "gsub_1", ",", "RegState", "::", "DefineNoRead", ",", "TRI", ")", ";", "MIB", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "AddDefaultPred", "(", "MIB", ")", ";", "if", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "DestReg", ")", ")", "MIB", ".", "addReg", "(", "DestReg", ",", "RegState", "::", "ImplicitDefine", ")", ";", "return", ";", "}", "ARMBaseInstrInfo", "::", "loadRegFromStackSlot", "(", "MBB", ",", "I", ",", "DestReg", ",", "FI", ",", "RC", ",", "TRI", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM::GPRRegClass", "ARM::tGPRRegClass", "ARM::tcGPRRegClass", "ARM::rGPRRegClass", "ARM::GPRnopcRegClass", "ARM::t2LDRi12", "0", "ARM::GPRPairRegClass", "ARM::GPRPair_with_gsub_1_in_rGPRRegClass", "ARM::t2LDRDi8", "ARM::gsub_0", "ARM::gsub_1", "0", "ARM"], "File": "Thumb2InstrInfo18", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8787, "Length": 349, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"AArch64 Redundant Copy Elimination\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64", "\"AArch64 Redundant Copy Elimination\""], "File": "AArch64RedundantCopyElimination", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8788, "Length": 11, "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": 8789, "Length": 403, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTargetLowering", "::", "getByValTypeAlignment", "(", "Type", "*", "Ty", ")", "const", "{", "const", "TargetMachine", "&", "TM", "=", "getTargetMachine", "(", ")", ";", "if", "(", "TM", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "isDarwin", "(", ")", ")", "return", "4", ";", "if", "(", "VectorType", "*", "VTy", "=", "dyn_cast", "<", "VectorType", ">", "(", "Ty", ")", ")", "if", "(", "VTy", "->", "getBitWidth", "(", ")", ">=", "128", ")", "return", "16", ";", "if", "(", "PPCSubTarget", ".", "isPPC64", "(", ")", ")", "return", "8", ";", "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", "128", "16", "PPC", "PPC", "8", "4"], "File": "PPCISelLowering (2)1", "Func": "getByValTypeAlignment", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8790, "Length": 80, "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": 8791, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86IntelAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "return", "true", ";", "printMemReference", "(", "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": ["X86", "X86", "0"], "File": "X86IntelAsmPrinter", "Func": "PrintAsmMemoryOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8792, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_split_copysign_var", "(", "rtx", "operands", "[", "]", ")", "{", "enum", "machine_mode", "mode", ",", "vmode", ";", "rtx", "dest", ",", "scratch", ",", "op0", ",", "op1", ",", "mask", ",", "nmask", ",", "x", ";", "dest", "=", "operands", "[", "0", "]", ";", "scratch", "=", "operands", "[", "1", "]", ";", "op0", "=", "operands", "[", "2", "]", ";", "op1", "=", "operands", "[", "3", "]", ";", "nmask", "=", "operands", "[", "4", "]", ";", "mask", "=", "operands", "[", "5", "]", ";", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "vmode", "=", "GET_MODE", "(", "mask", ")", ";", "if", "(", "rtx_equal_p", "(", "op0", ",", "op1", ")", ")", "{", "emit_move_insn", "(", "dest", ",", "op0", ")", ";", "return", ";", "}", "if", "(", "REG_P", "(", "mask", ")", "&&", "REGNO", "(", "dest", ")", "==", "REGNO", "(", "mask", ")", ")", "{", "gcc_assert", "(", "REGNO", "(", "op1", ")", "==", "REGNO", "(", "scratch", ")", ")", ";", "x", "=", "gen_rtx_AND", "(", "vmode", ",", "scratch", ",", "mask", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "scratch", ",", "x", ")", ")", ";", "dest", "=", "mask", ";", "op0", "=", "simplify_gen_subreg", "(", "vmode", ",", "op0", ",", "mode", ",", "0", ")", ";", "x", "=", "gen_rtx_NOT", "(", "vmode", ",", "dest", ")", ";", "x", "=", "gen_rtx_AND", "(", "vmode", ",", "x", ",", "op0", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "x", ")", ")", ";", "}", "else", "{", "if", "(", "REGNO", "(", "op1", ")", "==", "REGNO", "(", "scratch", ")", ")", "{", "x", "=", "gen_rtx_AND", "(", "vmode", ",", "scratch", ",", "mask", ")", ";", "}", "else", "{", "gcc_assert", "(", "REGNO", "(", "mask", ")", "==", "REGNO", "(", "scratch", ")", ")", ";", "op1", "=", "simplify_gen_subreg", "(", "vmode", ",", "op1", ",", "mode", ",", "0", ")", ";", "x", "=", "gen_rtx_AND", "(", "vmode", ",", "scratch", ",", "op1", ")", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "scratch", ",", "x", ")", ")", ";", "if", "(", "REGNO", "(", "op0", ")", "==", "REGNO", "(", "dest", ")", ")", "{", "dest", "=", "simplify_gen_subreg", "(", "vmode", ",", "op0", ",", "mode", ",", "0", ")", ";", "x", "=", "gen_rtx_AND", "(", "vmode", ",", "dest", ",", "nmask", ")", ";", "}", "else", "{", "gcc_assert", "(", "REGNO", "(", "nmask", ")", "==", "REGNO", "(", "dest", ")", ")", ";", "dest", "=", "nmask", ";", "op0", "=", "simplify_gen_subreg", "(", "vmode", ",", "op0", ",", "mode", ",", "0", ")", ";", "x", "=", "gen_rtx_AND", "(", "vmode", ",", "dest", ",", "op0", ")", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "x", ")", ")", ";", "}", "x", "=", "gen_rtx_IOR", "(", "vmode", ",", "dest", ",", "scratch", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "x", ")", ")", ";", "}", ""], "natrual_language": ["Deconstruct", "a", "copysign", "operation", "into", "bit", "masks", ".", "Operand", "0", "is", "variable", ",", "so", "we", "have", "to", "do", "two", "masks", "."], "TS_V_token": ["i386", "0", "1", "2", "3", "4", "5", "0", "0", "0", "0"], "File": "i3863", "Func": "ix86_split_copysign_var", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8793, "Length": 408, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "ARMTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "const", "TargetInstrInfo", "*", "TII", "=", "getTargetMachine", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "assert", "(", "false", "&&", "\"Unexpected instr type to insert\"", ")", ";", "case", "ARM", "::", "tMOVCCr", ":", "{", "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", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", "->", "get", "(", "ARM", "::", "tBcc", ")", ")", ".", "addMBB", "(", "sinkMBB", ")", ".", "addImm", "(", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "4", ")", ".", "getReg", "(", ")", ")", ";", "F", "->", "insert", "(", "It", ",", "copy0MBB", ")", ";", "F", "->", "insert", "(", "It", ",", "sinkMBB", ")", ";", "for", "(", "MachineBasicBlock", "::", "succ_iterator", "i", "=", "BB", "->", "succ_begin", "(", ")", ",", "e", "=", "BB", "->", "succ_end", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "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", "(", "ARM", "::", "PHI", ")", ",", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "copy0MBB", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "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": ["ARM", "ARM", "\"Unexpected instr type to insert\"", "ARM::tMOVCCr", "ARM::tBcc", "3", "4", "ARM::PHI", "0", "1", "2"], "File": "ARMISelLowering124", "Func": "EmitInstrWithCustomInserter", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8794, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "nds32_expand_prologue", "(", "void", ")", "{", "int", "fp_adjust", ";", "int", "sp_adjust", ";", "unsigned", "Rb", ",", "Re", ";", "nds32_compute_stack_frame", "(", ")", ";", "if", "(", "cfun", "->", "machine", "->", "va_args_size", "!=", "0", ")", "{", "Rb", "=", "cfun", "->", "machine", "->", "va_args_first_regno", ";", "Re", "=", "cfun", "->", "machine", "->", "va_args_last_regno", ";", "nds32_emit_stack_push_multiple", "(", "Rb", ",", "Re", ",", "false", ",", "false", ",", "false", ",", "true", ")", ";", "if", "(", "cfun", "->", "machine", "->", "va_args_area_padding_bytes", ")", "{", "sp_adjust", "=", "cfun", "->", "machine", "->", "va_args_area_padding_bytes", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "-", "1", "*", "sp_adjust", ")", ";", "}", "}", "if", "(", "cfun", "->", "machine", "->", "naked_p", ")", "return", ";", "Rb", "=", "cfun", "->", "machine", "->", "callee_saved_first_gpr_regno", ";", "Re", "=", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", ";", "if", "(", "!", "(", "Rb", "==", "SP_REGNUM", "&&", "Re", "==", "SP_REGNUM", "&&", "cfun", "->", "machine", "->", "fp_size", "==", "0", "&&", "cfun", "->", "machine", "->", "gp_size", "==", "0", "&&", "cfun", "->", "machine", "->", "lp_size", "==", "0", ")", ")", "{", "nds32_emit_stack_push_multiple", "(", "Rb", ",", "Re", ",", "cfun", "->", "machine", "->", "fp_size", ",", "cfun", "->", "machine", "->", "gp_size", ",", "cfun", "->", "machine", "->", "lp_size", ",", "false", ")", ";", "}", "if", "(", "cfun", "->", "machine", "->", "use_eh_return_p", ")", "{", "Rb", "=", "cfun", "->", "machine", "->", "eh_return_data_first_regno", ";", "Re", "=", "cfun", "->", "machine", "->", "eh_return_data_last_regno", ";", "nds32_emit_stack_push_multiple", "(", "Rb", ",", "Re", ",", "false", ",", "false", ",", "false", ",", "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", "+", "cfun", "->", "machine", "->", "eh_return_data_regs_size", ";", "nds32_emit_adjust_frame", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ",", "fp_adjust", ")", ";", "}", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "int", "fpr_offset", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "if", "(", "!", "satisfies_constraint_Is14", "(", "GEN_INT", "(", "fpr_offset", ")", ")", ")", "{", "int", "fpr_space", "=", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "-", "1", "*", "fpr_space", ")", ";", "nds32_emit_push_fpr_callee_saved", "(", "0", ")", ";", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "-", "1", "*", "sp_adjust", ")", ";", "}", "else", "{", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "-", "1", "*", "sp_adjust", ")", ";", "int", "fpr_position", "=", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "local_size", ";", "nds32_emit_push_fpr_callee_saved", "(", "fpr_position", ")", ";", "}", "}", "else", "{", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "-", "1", "*", "sp_adjust", ")", ";", "}", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", ""], "natrual_language": ["Function", "for", "normal", "multiple", "push", "prologue", "."], "TS_V_token": ["nds32", "0", "1", "0", "0", "0", "1", "0", "1", "1", "1"], "File": "nds325", "Func": "nds32_expand_prologue", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8795, "Length": 482, "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": 8796, "Length": 328, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCHazardRecognizer440", "::", "EmitInstruction", "(", "SUnit", "*", "SU", ")", "{", "const", "MCInstrDesc", "*", "MCID", "=", "DAG", "->", "getInstrDesc", "(", "SU", ")", ";", "if", "(", "!", "MCID", ")", "{", "return", ";", "}", "ScoreboardHazardRecognizer", "::", "EmitInstruction", "(", "SU", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCHazardRecognizers32", "Func": "EmitInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8797, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "PPCTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'b'", ":", "if", "(", "VT", "==", "MVT", "::", "i64", "&&", "PPCSubTarget", ".", "isPPC64", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "G8RC_NOX0RegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "GPRC_NOR0RegClass", ")", ";", "case", "'r'", ":", "if", "(", "VT", "==", "MVT", "::", "i64", "&&", "PPCSubTarget", ".", "isPPC64", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "G8RCRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "GPRCRegClass", ")", ";", "case", "'f'", ":", "if", "(", "VT", "==", "MVT", "::", "f32", "||", "VT", "==", "MVT", "::", "i32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "F4RCRegClass", ")", ";", "if", "(", "VT", "==", "MVT", "::", "f64", "||", "VT", "==", "MVT", "::", "i64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "F8RCRegClass", ")", ";", "break", ";", "case", "'v'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "VRRCRegClass", ")", ";", "case", "'y'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "CRRCRegClass", ")", ";", "}", "}", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "R", "=", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "if", "(", "R", ".", "first", "&&", "VT", "==", "MVT", "::", "i64", "&&", "PPCSubTarget", ".", "isPPC64", "(", ")", "&&", "PPC", "::", "GPRCRegClass", ".", "contains", "(", "R", ".", "first", ")", ")", "{", "const", "TargetRegisterInfo", "*", "TRI", "=", "getTargetMachine", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "return", "std", "::", "make_pair", "(", "TRI", "->", "getMatchingSuperReg", "(", "R", ".", "first", ",", "PPC", "::", "sub_32", ",", "&", "PPC", "::", "GPRCRegClass", ")", ",", "&", "PPC", "::", "G8RCRegClass", ")", ";", "}", "return", "R", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["PowerPC", "PPC", "1", "0", "MVT::i64", "PPC", "PPC", "0U", "PPC::G8RC_NOX0RegClass", "0U", "PPC::GPRC_NOR0RegClass", "MVT::i64", "PPC", "PPC", "0U", "PPC::G8RCRegClass", "0U", "PPC::GPRCRegClass", "MVT::f32", "MVT::i32", "0U", "PPC::F4RCRegClass", "MVT::f64", "MVT::i64", "0U", "PPC::F8RCRegClass", "0U", "PPC::VRRCRegClass", "0U", "PPC::CRRCRegClass", "MVT::i64", "PPC", "PPC", "PPC::GPRCRegClass", "PPC::sub_32", "PPC::GPRCRegClass", "PPC::G8RCRegClass"], "File": "PPCISelLowering (2)1", "Func": "getRegForInlineAsmConstraint", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8798, "Length": 322, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_scalar_mode_supported_p", "(", "machine_mode", "mode", ")", "{", "if", "(", "ALL_FIXED_POINT_MODE_P", "(", "mode", ")", "&&", "GET_MODE_PRECISION", "(", "mode", ")", "<=", "2", "*", "BITS_PER_WORD", ")", "return", "true", ";", "return", "default_scalar_mode_supported_p", "(", "mode", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SCALAR_MODE_SUPPORTED_P", "."], "TS_V_token": ["mips", "2"], "File": "mips4", "Func": "mips_scalar_mode_supported_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8799, "Length": 34, "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", ",", "isLittle", ",", "Options", ")", ",", "JITInfo", "(", ")", ",", "InstrItins", "(", "Subtarget", ".", "getInstrItineraryData", "(", ")", ")", "{", "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": "ARMTargetMachine45", "Func": "ARMBaseTargetMachine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8800, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZTTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ")", "{", "bool", "HasCall", "=", "false", ";", "unsigned", "NumStores", "=", "0", ";", "for", "(", "auto", "&", "BB", ":", "L", "->", "blocks", "(", ")", ")", "for", "(", "auto", "&", "I", ":", "*", "BB", ")", "{", "if", "(", "isa", "<", "CallInst", ">", "(", "&", "I", ")", "||", "isa", "<", "InvokeInst", ">", "(", "&", "I", ")", ")", "{", "ImmutableCallSite", "CS", "(", "&", "I", ")", ";", "if", "(", "const", "Function", "*", "F", "=", "CS", ".", "getCalledFunction", "(", ")", ")", "{", "if", "(", "isLoweredToCall", "(", "F", ")", ")", "HasCall", "=", "true", ";", "if", "(", "F", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "memcpy", "||", "F", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "memset", ")", "NumStores", "++", ";", "}", "else", "{", "HasCall", "=", "true", ";", "}", "}", "if", "(", "isa", "<", "StoreInst", ">", "(", "&", "I", ")", ")", "{", "Type", "*", "MemAccessTy", "=", "I", ".", "getOperand", "(", "0", ")", "->", "getType", "(", ")", ";", "NumStores", "+=", "getMemoryOpCost", "(", "Instruction", "::", "Store", ",", "MemAccessTy", ",", "0", ",", "0", ")", ";", "}", "}", "unsigned", "const", "Max", "=", "(", "NumStores", "?", "(", "12", "/", "NumStores", ")", ":", "UINT_MAX", ")", ";", "if", "(", "HasCall", ")", "{", "UP", ".", "FullUnrollMaxCount", "=", "Max", ";", "UP", ".", "MaxCount", "=", "1", ";", "return", ";", "}", "UP", ".", "MaxCount", "=", "Max", ";", "if", "(", "UP", ".", "MaxCount", "<=", "1", ")", "return", ";", "UP", ".", "Partial", "=", "UP", ".", "Runtime", "=", "true", ";", "UP", ".", "PartialThreshold", "=", "75", ";", "UP", ".", "DefaultUnrollRuntimeCount", "=", "4", ";", "UP", ".", "AllowExpensiveTripCount", "=", "true", ";", "UP", ".", "Force", "=", "true", ";", "}", ""], "natrual_language": ["Get", "target-customized", "preferences", "for", "the", "generic", "loop", "unrolling", "transformation", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "Intrinsic::memcpy", "Intrinsic::memset", "0", "0", "0", "12", "1", "1", "75", "4"], "File": "SystemZTargetTransformInfo12", "Func": "getUnrollingPreferences", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8801, "Length": 266, "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", "::", "SwiftTail", ":", "if", "(", "!", "Is64Bit", ")", "return", "CSR_32_RegMask", ";", "return", "IsWin64", "?", "CSR_Win64_SwiftTail_RegMask", ":", "CSR_64_SwiftTail_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": "X86RegisterInfo10", "Func": "getCallPreservedMask", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8802, "Length": 450, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0AsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["Cpu0", "Cpu0"], "File": "Cpu0AsmBackend", "Func": "writeNopData", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8803, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_cannot_change_mode_class", "(", "machine_mode", "from", ",", "machine_mode", "to", ",", "enum", "reg_class", "rclass", ")", "{", "return", "(", "reg_classes_intersect_p", "(", "FP_REGS", ",", "rclass", ")", "&&", "GET_MODE_SIZE", "(", "to", ")", "==", "UNITS_PER_WORD", "&&", "GET_MODE_SIZE", "(", "from", ")", ">", "UNITS_PER_WORD", ")", ";", "}", ""], "natrual_language": ["Implement", "target", "hook", "CANNOT_CHANGE_MODE_CLASS", "."], "TS_V_token": ["aarch64"], "File": "aarch643", "Func": "aarch64_cannot_change_mode_class", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8804, "Length": 39, "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": 8805, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64TTI", "::", "getIntImmCost", "(", "Intrinsic", "::", "ID", "IID", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "const", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", ")", "return", "TCC_Free", ";", "switch", "(", "IID", ")", "{", "default", ":", "return", "TCC_Free", ";", "case", "Intrinsic", "::", "sadd_with_overflow", ":", "case", "Intrinsic", "::", "uadd_with_overflow", ":", "case", "Intrinsic", "::", "ssub_with_overflow", ":", "case", "Intrinsic", "::", "usub_with_overflow", ":", "case", "Intrinsic", "::", "smul_with_overflow", ":", "case", "Intrinsic", "::", "umul_with_overflow", ":", "if", "(", "Idx", "==", "1", ")", "{", "unsigned", "NumConstants", "=", "(", "BitSize", "+", "63", ")", "/", "64", ";", "unsigned", "Cost", "=", "AArch64TTI", "::", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "return", "(", "Cost", "<=", "NumConstants", "*", "TCC_Basic", ")", "?", "static_cast", "<", "unsigned", ">", "(", "TCC_Free", ")", ":", "Cost", ";", "}", "break", ";", "case", "Intrinsic", "::", "experimental_stackmap", ":", "if", "(", "(", "Idx", "<", "2", ")", "||", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", "&&", "isInt", "<", "64", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", ")", "return", "TCC_Free", ";", "break", ";", "case", "Intrinsic", "::", "experimental_patchpoint_void", ":", "case", "Intrinsic", "::", "experimental_patchpoint_i64", ":", "if", "(", "(", "Idx", "<", "4", ")", "||", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", "&&", "isInt", "<", "64", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", ")", "return", "TCC_Free", ";", "break", ";", "}", "return", "AArch64TTI", "::", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["AArch64", "AArch64", "Intrinsic::ID", "0", "Intrinsic::sadd_with_overflow", "Intrinsic::uadd_with_overflow", "Intrinsic::ssub_with_overflow", "Intrinsic::usub_with_overflow", "Intrinsic::smul_with_overflow", "Intrinsic::umul_with_overflow", "1", "63", "64", "AArch64", "Intrinsic::experimental_stackmap", "2", "64", "64", "Intrinsic::experimental_patchpoint_void", "Intrinsic::experimental_patchpoint_i64", "4", "64", "64", "AArch64"], "File": "AArch64TargetTransformInfo1", "Func": "getIntImmCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8806, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0MCInstLower", "::", "Initialize", "(", "Mangler", "*", "M", ",", "MCContext", "*", "C", ")", "{", "Mang", "=", "M", ";", "Ctx", "=", "C", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["Cpu0", "Cpu0"], "File": "Cpu0MCInstLower1", "Func": "Initialize", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8807, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "ARMTargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", "DL", ",", "LLVMContext", "&", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "getPointerTy", "(", "DL", ")", ";", "return", "VT", ".", "changeVectorElementTypeToInteger", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMISelLowering (2)2", "Func": "getSetCCResultType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8808, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "SystemZSelectionDAGInfo", "::", "EmitTargetCodeForStrcmp", "(", "SelectionDAG", "&", "DAG", ",", "const", "SDLoc", "&", "DL", ",", "SDValue", "Chain", ",", "SDValue", "Src1", ",", "SDValue", "Src2", ",", "MachinePointerInfo", "Op1PtrInfo", ",", "MachinePointerInfo", "Op2PtrInfo", ")", "const", "{", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "Src1", ".", "getValueType", "(", ")", ",", "MVT", "::", "i32", ",", "MVT", "::", "Other", ")", ";", "SDValue", "Unused", "=", "DAG", ".", "getNode", "(", "SystemZISD", "::", "STRCMP", ",", "DL", ",", "VTs", ",", "Chain", ",", "Src1", ",", "Src2", ",", "DAG", ".", "getConstant", "(", "0", ",", "DL", ",", "MVT", "::", "i32", ")", ")", ";", "SDValue", "CCReg", "=", "Unused", ".", "getValue", "(", "1", ")", ";", "Chain", "=", "Unused", ".", "getValue", "(", "2", ")", ";", "return", "std", "::", "make_pair", "(", "addIPMSequence", "(", "DL", ",", "CCReg", ",", "DAG", ")", ",", "Chain", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "strcmp", ",", "in", "cases", "where", "that", "is", "faster", "than", "a", "libcall", "."], "TS_V_token": ["SystemZ", "SystemZ", "MVT::i32", "MVT::Other", "SystemZISD::STRCMP", "0", "MVT::i32", "1", "2"], "File": "SystemZSelectionDAGInfo2", "Func": "EmitTargetCodeForStrcmp", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8809, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "section", "*", "rs6000_xcoff_select_rtx_section", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "unsigned", "HOST_WIDE_INT", "align", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "ASM_OUTPUT_SPECIAL_POOL_ENTRY_P", "(", "x", ",", "mode", ")", ")", "return", "toc_section", ";", "else", "return", "read_only_private_data_section", ";", "}", ""], "natrual_language": ["Select", "section", "for", "constant", "in", "constant", "pool", ".", "On", "RS/6000", ",", "all", "constants", "are", "in", "the", "private", "read-only", "data", "area", ".", "However", ",", "if", "this", "is", "being", "placed", "in", "the", "TOC", "it", "must", "be", "output", "as", "a", "toc", "entry", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_xcoff_select_rtx_section", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8810, "Length": 34, "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", ">=", "INT32_MIN", "&&", "Value", "<=", "UINT32_MAX", ")", "&&", "\"expression value must be representable in 32 bits\"", ")", ";", "}", "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::GPRRegClassID"], "File": "ARMAsmParser108", "Func": "validateTargetOperandClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8811, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isImm", "(", "int64_t", "MinValue", ",", "int64_t", "MaxValue", ")", "const", "{", "return", "Kind", "==", "KindImm", "&&", "inRange", "(", "Imm", ",", "MinValue", ",", "MaxValue", ")", ";", "}", ""], "natrual_language": ["isImm", "-", "Is", "this", "an", "immediate", "operand", "?"], "TS_V_token": ["SystemZ"], "File": "SystemZAsmParser (2)", "Func": "isImm", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8812, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZDAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "if", "(", "Subtarget", "->", "hasLoadStoreOnCond2", "(", ")", ")", "return", ";", "bool", "MadeChange", "=", "false", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "&", "*", "I", "++", ";", "if", "(", "N", "->", "use_empty", "(", ")", ")", "continue", ";", "SDValue", "Res", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "SystemZISD", "::", "SELECT_CCMASK", ":", "Res", "=", "expandSelectBoolean", "(", "N", ")", ";", "break", ";", "}", "if", "(", "Res", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"SystemZ DAG preprocessing replacing:\\nOld: \"", ")", ";", "LLVM_DEBUG", "(", "N", "->", "dump", "(", "CurDAG", ")", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\nNew: \"", ")", ";", "LLVM_DEBUG", "(", "Res", ".", "getNode", "(", ")", "->", "dump", "(", "CurDAG", ")", ")", ";", "LLVM_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": ["SystemZ", "SystemZ", "SystemZISD::SELECT_CCMASK", "\"SystemZ DAG preprocessing replacing:\\nOld: \"", "\"\\nNew: \"", "\"\\n\"", "0"], "File": "SystemZISelDAGToDAG (2)1", "Func": "PreprocessISelDAG", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8813, "Length": 186, "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": 8814, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "loongarch_function_arg_boundary", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "unsigned", "int", "alignment", ";", "if", "(", "type", "&&", "!", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "alignment", "=", "TYPE_ALIGN", "(", "TYPE_MAIN_VARIANT", "(", "type", ")", ")", ";", "else", "alignment", "=", "type", "?", "TYPE_ALIGN", "(", "type", ")", ":", "GET_MODE_ALIGNMENT", "(", "mode", ")", ";", "return", "MIN", "(", "PREFERRED_STACK_BOUNDARY", ",", "MAX", "(", "PARM_BOUNDARY", ",", "alignment", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_ARG_BOUNDARY", ".", "Every", "parameter", "gets", "at", "least", "PARM_BOUNDARY", "bits", "of", "alignment", ",", "but", "will", "be", "given", "anything", "up", "to", "PREFERRED_STACK_BOUNDARY", "bits", "if", "the", "type", "requires", "it", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_function_arg_boundary", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8815, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"Local Dynamic TLS Access Clean-up\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64", "\"Local Dynamic TLS Access Clean-up\""], "File": "AArch64CleanupLocalDynamicTLSPass", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8816, "Length": 13, "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": 8817, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMInstrInfo", "::", "isPredicated", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "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"], "File": "ARMInstrInfo14", "Func": "isPredicated", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8818, "Length": 43, "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": 8819, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_parse_tune", "(", "void", ")", "{", "const", "struct", "processor", "*", "cpu", ";", "char", "*", "str", "=", "(", "char", "*", ")", "alloca", "(", "strlen", "(", "aarch64_tune_string", ")", "+", "1", ")", ";", "strcpy", "(", "str", ",", "aarch64_tune_string", ")", ";", "for", "(", "cpu", "=", "all_cores", ";", "cpu", "->", "name", "!=", "NULL", ";", "cpu", "++", ")", "{", "if", "(", "strcmp", "(", "cpu", "->", "name", ",", "str", ")", "==", "0", ")", "{", "selected_tune", "=", "cpu", ";", "return", ";", "}", "}", "error", "(", "\"unknown value %qs for -mtune\"", ",", "str", ")", ";", "return", ";", "}", ""], "natrual_language": ["Parse", "the", "TUNE", "string", "."], "TS_V_token": ["aarch64", "1", "0", "\"unknown value %qs for -mtune\""], "File": "aarch642", "Func": "aarch64_parse_tune", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8820, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "AArch64InstrInfo", "::", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "&", "MI", ",", "ArrayRef", "<", "unsigned", ">", "Ops", ",", "MachineBasicBlock", "::", "iterator", "InsertPt", ",", "int", "FrameIndex", ",", "LiveIntervals", "*", "LIS", ")", "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": "AArch64InstrInfo114", "Func": "foldMemoryOperandImpl", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8821, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "SmallString", "<", "128", ">", "Str", ";", "raw_svector_ostream", "OS", "(", "Str", ")", ";", "if", "(", "MI", "->", "isDebugValue", "(", ")", ")", "{", "PrintDebugValueComment", "(", "MI", ",", "OS", ")", ";", "return", ";", "}", "MipsMCInstLower", "MCInstLowering", "(", "Mang", ",", "*", "MF", ",", "*", "this", ")", ";", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "MCInst", "TmpInst0", ";", "SmallVector", "<", "MCInst", ",", "4", ">", "MCInsts", ";", "MCInstLowering", ".", "Lower", "(", "MI", ",", "TmpInst0", ")", ";", "if", "(", "!", "OutStreamer", ".", "hasRawTextSupport", "(", ")", "&&", "isDirective", "(", "Opc", ")", ")", "return", ";", "if", "(", "isUnalignedLoadStore", "(", "Opc", ")", ")", "{", "if", "(", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "{", "MCInst", "Directive", ";", "Directive", ".", "setOpcode", "(", "Mips", "::", "MACRO", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "Directive", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "TmpInst0", ")", ";", "Directive", ".", "setOpcode", "(", "Mips", "::", "NOMACRO", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "Directive", ")", ";", "}", "else", "{", "MCInstLowering", ".", "LowerUnalignedLoadStore", "(", "MI", ",", "MCInsts", ")", ";", "for", "(", "SmallVector", "<", "MCInst", ",", "4", ">", "::", "iterator", "I", "=", "MCInsts", ".", "begin", "(", ")", ";", "I", "!=", "MCInsts", ".", "end", "(", ")", ";", "++", "I", ")", "OutStreamer", ".", "EmitInstruction", "(", "*", "I", ")", ";", "}", "return", ";", "}", "if", "(", "!", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "{", "if", "(", "Opc", "==", "Mips", "::", "CPLOAD", ")", "{", "MCInstLowering", ".", "LowerCPLOAD", "(", "MI", ",", "MCInsts", ")", ";", "for", "(", "SmallVector", "<", "MCInst", ",", "4", ">", "::", "iterator", "I", "=", "MCInsts", ".", "begin", "(", ")", ";", "I", "!=", "MCInsts", ".", "end", "(", ")", ";", "++", "I", ")", "OutStreamer", ".", "EmitInstruction", "(", "*", "I", ")", ";", "return", ";", "}", "if", "(", "Opc", "==", "Mips", "::", "CPRESTORE", ")", "{", "MCInstLowering", ".", "LowerCPRESTORE", "(", "MI", ",", "TmpInst0", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "TmpInst0", ")", ";", "return", ";", "}", "}", "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", "Mips", "4", "Mips::MACRO", "Mips::NOMACRO", "4", "Mips::CPLOAD", "4", "Mips::CPRESTORE"], "File": "MipsAsmPrinter8", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8822, "Length": 316, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_swap_binary_operands_p", "(", "enum", "rtx_code", "code", ",", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ")", "{", "rtx", "dst", "=", "operands", "[", "0", "]", ";", "rtx", "src1", "=", "operands", "[", "1", "]", ";", "rtx", "src2", "=", "operands", "[", "2", "]", ";", "if", "(", "GET_RTX_CLASS", "(", "code", ")", "!=", "RTX_COMM_ARITH", ")", "return", "false", ";", "if", "(", "rtx_equal_p", "(", "dst", ",", "src1", ")", ")", "return", "false", ";", "if", "(", "rtx_equal_p", "(", "dst", ",", "src2", ")", ")", "return", "true", ";", "if", "(", "immediate_operand", "(", "src2", ",", "mode", ")", ")", "return", "false", ";", "if", "(", "immediate_operand", "(", "src1", ",", "mode", ")", ")", "return", "true", ";", "if", "(", "MEM_P", "(", "src2", ")", ")", "return", "false", ";", "if", "(", "MEM_P", "(", "src1", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Helper", "function", "of", "ix86_fixup_binary_operands", "to", "canonicalize", "operand", "order", ".", "Returns", "true", "if", "the", "operands", "should", "be", "swapped", "."], "TS_V_token": ["i386", "0", "1", "2"], "File": "i3864", "Func": "ix86_swap_binary_operands_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8823, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FastISel", "*", "ARMTargetLowering", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "funcInfo", ",", "const", "TargetLibraryInfo", "*", "libInfo", ")", "const", "{", "return", "ARM", "::", "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": ["ARM", "ARM", "ARM::createFastISel"], "File": "ARMISelLowering (2)", "Func": "createFastISel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8824, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Error", "(", "SMLoc", "L", ",", "const", "Twine", "&", "Msg", ",", "SMRange", "Range", "=", "None", ")", "{", "return", "getParser", "(", ")", ".", "Error", "(", "L", ",", "Msg", ",", "Range", ")", ";", "}", ""], "natrual_language": ["Return", "an", "error", "at", "the", "location", "L", ",", "with", "the", "message", "Msg", "."], "TS_V_token": ["ARM"], "File": "ARMAsmParser (2)2", "Func": "Error", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8825, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_vectorize_vec_perm_const_ok", "(", "machine_mode", "vmode", ",", "const", "unsigned", "char", "*", "sel", ")", "{", "struct", "expand_vec_perm_d", "d", ";", "unsigned", "int", "i", ",", "nelt", ",", "which", ";", "bool", "ret", ";", "d", ".", "vmode", "=", "vmode", ";", "d", ".", "nelt", "=", "nelt", "=", "GET_MODE_NUNITS", "(", "d", ".", "vmode", ")", ";", "d", ".", "testing_p", "=", "true", ";", "memcpy", "(", "d", ".", "perm", ",", "sel", ",", "nelt", ")", ";", "for", "(", "i", "=", "which", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "{", "unsigned", "char", "e", "=", "d", ".", "perm", "[", "i", "]", ";", "gcc_assert", "(", "e", "<", "2", "*", "nelt", ")", ";", "which", "|=", "(", "e", "<", "nelt", "?", "1", ":", "2", ")", ";", "}", "if", "(", "which", "==", "2", ")", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "d", ".", "perm", "[", "i", "]", "-=", "nelt", ";", "d", ".", "one_vector_p", "=", "(", "which", "!=", "3", ")", ";", "d", ".", "target", "=", "gen_raw_REG", "(", "d", ".", "vmode", ",", "LAST_VIRTUAL_REGISTER", "+", "1", ")", ";", "d", ".", "op1", "=", "d", ".", "op0", "=", "gen_raw_REG", "(", "d", ".", "vmode", ",", "LAST_VIRTUAL_REGISTER", "+", "2", ")", ";", "if", "(", "!", "d", ".", "one_vector_p", ")", "d", ".", "op1", "=", "gen_raw_REG", "(", "d", ".", "vmode", ",", "LAST_VIRTUAL_REGISTER", "+", "3", ")", ";", "start_sequence", "(", ")", ";", "ret", "=", "mips_expand_vec_perm_const_1", "(", "&", "d", ")", ";", "end_sequence", "(", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VECTORIZE_VEC_PERM_CONST_OK", "."], "TS_V_token": ["mips", "0", "2", "1", "2", "2", "0", "3", "1", "2", "3"], "File": "mips4", "Func": "mips_vectorize_vec_perm_const_ok", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8826, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LanaiTargetLowering", "::", "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", ":", "return", "LowerCCCArguments", "(", "Chain", ",", "CallConv", ",", "IsVarArg", ",", "Ins", ",", "DL", ",", "DAG", ",", "InVals", ")", ";", "default", ":", "report_fatal_error", "(", "\"Unsupported calling convention\"", ")", ";", "}", "}", ""], "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": ["Lanai", "Lanai", "ISD::InputArg", "\"Unsupported calling convention\""], "File": "LanaiISelLowering", "Func": "LowerFormalArguments", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8827, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "swiftAsyncContextIsDynamicallySet", "(", ")", "const", "{", "const", "Triple", "&", "TT", "=", "getTargetTriple", "(", ")", ";", "unsigned", "Major", "=", "TT", ".", "getOSVersion", "(", ")", ".", "getMajor", "(", ")", ";", "switch", "(", "TT", ".", "getOS", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Triple", "::", "IOS", ":", "case", "Triple", "::", "TvOS", ":", "return", "Major", "<", "15", ";", "case", "Triple", "::", "WatchOS", ":", "return", "Major", "<", "8", ";", "case", "Triple", "::", "MacOSX", ":", "case", "Triple", "::", "Darwin", ":", "return", "Major", "<", "12", ";", "}", "}", ""], "natrual_language": ["Return", "whether", "FrameLowering", "should", "always", "set", "the", "``", "extended", "frame", "present", "''", "bit", "in", "FP", ",", "or", "set", "it", "based", "on", "a", "symbol", "in", "the", "runtime", "."], "TS_V_token": ["AArch64", "15", "8", "12"], "File": "AArch64Subtarget23", "Func": "swiftAsyncContextIsDynamicallySet", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8828, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isCheapToSpeculateCtlz", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "cheap", "to", "speculate", "a", "call", "to", "intrinsic", "ctlz", "."], "TS_V_token": ["VE"], "File": "VEISelLowering", "Func": "isCheapToSpeculateCtlz", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8829, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "SystemZTargetLowering", "::", "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": ["SystemZ", "SystemZ", "MVT::i32"], "File": "SystemZISelLowering103", "Func": "getSetCCResultType", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8830, "Length": 35, "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": 8831, "Length": 315, "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": ["powerpcspe"], "File": "powerpcspe", "Func": "abi_v4_pass_in_fpr", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8832, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createMipsOptimizePICCallPass", "(", "getMipsTargetMachine", "(", ")", ")", ")", ";", "return", "true", ";", "}", "else", "return", "false", ";", "}", ""], "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": "MipsTargetMachine23", "Func": "addPreRegAlloc", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8833, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "ARMTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "ADD", ":", "return", "PerformADDCombine", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SUB", ":", "return", "PerformSUBCombine", "(", "N", ",", "DCI", ")", ";", "case", "ARMISD", "::", "VMOVRRD", ":", "return", "PerformVMOVRRDCombine", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "PerformIntrinsicCombine", "(", "N", ",", "DCI", ".", "DAG", ")", ";", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SRL", ":", "return", "PerformShiftCombine", "(", "N", ",", "DCI", ".", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "case", "ISD", "::", "ZERO_EXTEND", ":", "case", "ISD", "::", "ANY_EXTEND", ":", "return", "PerformExtendCombine", "(", "N", ",", "DCI", ".", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "PerformSELECT_CCCombine", "(", "N", ",", "DCI", ".", "DAG", ",", "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": ["ARM", "ARM", "ISD::ADD", "ISD::SUB", "ARMISD::VMOVRRD", "ISD::INTRINSIC_WO_CHAIN", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::SIGN_EXTEND", "ISD::ZERO_EXTEND", "ISD::ANY_EXTEND", "ISD::SELECT_CC"], "File": "ARMISelLowering109", "Func": "PerformDAGCombine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8834, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ")", "const", "override", "{", "unsigned", "Size", "=", "1", "<<", "getFixupKindLog2Size", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "assert", "(", "Fixup", ".", "getOffset", "(", ")", "+", "Size", "<=", "DataSize", "&&", "\"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": "X86AsmBackend34", "Func": "applyFixup", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8835, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCPassConfig", "::", "addIRPasses", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createPPCBoolRetToIntPass", "(", ")", ")", ";", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "addPass", "(", "createPPCLowerMASSVEntriesPass", "(", ")", ")", ";", "bool", "UsePrefetching", "=", "TM", "->", "getTargetTriple", "(", ")", ".", "getVendor", "(", ")", "==", "Triple", "::", "BGQ", "&&", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ";", "if", "(", "EnablePrefetch", ".", "getNumOccurrences", "(", ")", ">", "0", ")", "UsePrefetching", "=", "EnablePrefetch", ";", "if", "(", "UsePrefetching", ")", "addPass", "(", "createLoopDataPrefetchPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", ">=", "CodeGenOpt", "::", "Default", "&&", "EnableGEPOpt", ")", "{", "addPass", "(", "createSeparateConstOffsetFromGEPPass", "(", "true", ")", ")", ";", "addPass", "(", "createEarlyCSEPass", "(", ")", ")", ";", "addPass", "(", "createLICMPass", "(", ")", ")", ";", "}", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "0"], "File": "PPCTargetMachine11", "Func": "addIRPasses", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8836, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "machine_mode", "aarch64_sve_pred_mode", "(", "machine_mode", "mode", ")", "{", "unsigned", "int", "bits", "=", "aarch64_sve_container_bits", "(", "mode", ")", ";", "return", "aarch64_sve_pred_mode", "(", "bits", "/", "BITS_PER_UNIT", ")", ".", "require", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "SVE", "predicate", "mode", "that", "should", "be", "used", "to", "control", "SVE", "mode", "MODE", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_sve_pred_mode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8837, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "LEGInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "assert", "(", "0", "&&", "\"Unimplemented\"", ")", ";", "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": ["LEG", "LEG", "0", "\"Unimplemented\"", "0"], "File": "LEGInstrInfo1", "Func": "isLoadFromStackSlot", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8838, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ia64_gen_spec_check", "(", "rtx_insn", "*", "insn", ",", "rtx_insn", "*", "label", ",", "ds_t", "ds", ")", "{", "rtx", "op1", ",", "pat", ",", "check_pat", ";", "gen_func_t", "gen_check", ";", "int", "mode_no", ";", "mode_no", "=", "get_mode_no_for_insn", "(", "insn", ")", ";", "gcc_assert", "(", "mode_no", ">=", "0", ")", ";", "if", "(", "label", ")", "op1", "=", "label", ";", "else", "{", "gcc_assert", "(", "!", "ia64_needs_block_p", "(", "ds", ")", ")", ";", "op1", "=", "copy_rtx", "(", "recog_data", ".", "operand", "[", "1", "]", ")", ";", "}", "gen_check", "=", "get_spec_check_gen_function", "(", "ds", ",", "mode_no", ",", "label", "==", "NULL_RTX", ",", "true", ")", ";", "check_pat", "=", "gen_check", "(", "copy_rtx", "(", "recog_data", ".", "operand", "[", "0", "]", ")", ",", "op1", ")", ";", "pat", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "COND_EXEC", ")", "check_pat", "=", "gen_rtx_COND_EXEC", "(", "VOIDmode", ",", "copy_rtx", "(", "COND_EXEC_TEST", "(", "pat", ")", ")", ",", "check_pat", ")", ";", "return", "check_pat", ";", "}", ""], "natrual_language": ["Generate", "(", "or", "regenerate", ")", "a", "recovery", "check", "for", "INSN", "."], "TS_V_token": ["ia64", "0", "1", "0"], "File": "ia64", "Func": "ia64_gen_spec_check", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8839, "Length": 144, "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": 8840, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "opt_machine_mode", "aarch64_get_mask_mode", "(", "poly_uint64", "nunits", ",", "poly_uint64", "nbytes", ")", "{", "if", "(", "TARGET_SVE", "&&", "known_eq", "(", "nbytes", ",", "BYTES_PER_SVE_VECTOR", ")", ")", "{", "unsigned", "int", "elem_nbytes", "=", "vector_element_size", "(", "nbytes", ",", "nunits", ")", ";", "machine_mode", "pred_mode", ";", "if", "(", "aarch64_sve_pred_mode", "(", "elem_nbytes", ")", ".", "exists", "(", "&", "pred_mode", ")", ")", "return", "pred_mode", ";", "}", "return", "default_get_mask_mode", "(", "nunits", ",", "nbytes", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VECTORIZE_GET_MASK_MODE", "."], "TS_V_token": ["aarch64"], "File": "aarch645", "Func": "aarch64_get_mask_mode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8841, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCAIXAsmPrinter", "::", "emitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "PPC", "::", "GETtlsADDR64AIX", ":", "case", "PPC", "::", "GETtlsADDR32AIX", ":", "{", "MCSymbol", "*", "TlsGetAddr", "=", "createMCSymbolForTlsGetAddr", "(", "OutContext", ")", ";", "ExtSymSDNodeSymbols", ".", "insert", "(", "TlsGetAddr", ")", ";", "break", ";", "}", "case", "PPC", "::", "BL8", ":", "case", "PPC", "::", "BL", ":", "case", "PPC", "::", "BL8_NOP", ":", "case", "PPC", "::", "BL_NOP", ":", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "0", ")", ";", "if", "(", "MO", ".", "isSymbol", "(", ")", ")", "{", "MCSymbolXCOFF", "*", "S", "=", "cast", "<", "MCSymbolXCOFF", ">", "(", "OutContext", ".", "getOrCreateSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ")", ";", "ExtSymSDNodeSymbols", ".", "insert", "(", "S", ")", ";", "}", "}", "break", ";", "case", "PPC", "::", "BL_TLS", ":", "case", "PPC", "::", "BL8_TLS", ":", "case", "PPC", "::", "BL8_TLS_", ":", "case", "PPC", "::", "BL8_NOP_TLS", ":", "report_fatal_error", "(", "\"TLS call not yet implemented\"", ")", ";", "case", "PPC", "::", "TAILB", ":", "case", "PPC", "::", "TAILB8", ":", "case", "PPC", "::", "TAILBA", ":", "case", "PPC", "::", "TAILBA8", ":", "case", "PPC", "::", "TAILBCTR", ":", "case", "PPC", "::", "TAILBCTR8", ":", "if", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "isSymbol", "(", ")", ")", "report_fatal_error", "(", "\"Tail call for extern symbol not yet supported.\"", ")", ";", "break", ";", "}", "return", "PPCAsmPrinter", "::", "emitInstruction", "(", "MI", ")", ";", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::GETtlsADDR64AIX", "PPC::GETtlsADDR32AIX", "PPC::BL8", "PPC::BL", "PPC::BL8_NOP", "PPC::BL_NOP", "0", "PPC::BL_TLS", "PPC::BL8_TLS", "PPC::BL8_TLS_", "PPC::BL8_NOP_TLS", "\"TLS call not yet implemented\"", "PPC::TAILB", "PPC::TAILB8", "PPC::TAILBA", "PPC::TAILBA8", "PPC::TAILBCTR", "PPC::TAILBCTR8", "0", "\"Tail call for extern symbol not yet supported.\"", "PPC"], "File": "PPCAsmPrinter46", "Func": "emitInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8842, "Length": 213, "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": 8843, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SICTargetLowering", "::", "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": ["SIC", "SIC"], "File": "SICISelLowering", "Func": "isOffsetFoldingLegal", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8844, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "LanaiRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", ")", "const", "{", "return", "Lanai", "::", "FP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai::FP"], "File": "LanaiRegisterInfo (2)1", "Func": "getFrameRegister", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8845, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "neon_vector_mem_operand", "(", "rtx", "op", ",", "int", "type", ",", "bool", "strict", ")", "{", "rtx", "ind", ";", "if", "(", "strict", "&&", "!", "(", "reload_in_progress", "||", "reload_completed", ")", "&&", "(", "reg_mentioned_p", "(", "frame_pointer_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "arg_pointer_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "virtual_incoming_args_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "virtual_outgoing_args_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "virtual_stack_dynamic_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "virtual_stack_vars_rtx", ",", "op", ")", ")", ")", "return", "FALSE", ";", "if", "(", "!", "MEM_P", "(", "op", ")", ")", "return", "FALSE", ";", "ind", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "reload_completed", "&&", "(", "LABEL_REF_P", "(", "ind", ")", "||", "(", "GET_CODE", "(", "ind", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "ind", ",", "0", ")", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "ind", ",", "0", ")", ",", "0", ")", ")", "==", "LABEL_REF", "&&", "CONST_INT_P", "(", "XEXP", "(", "XEXP", "(", "ind", ",", "0", ")", ",", "1", ")", ")", ")", ")", ")", "return", "TRUE", ";", "if", "(", "REG_P", "(", "ind", ")", ")", "return", "arm_address_register_rtx_p", "(", "ind", ",", "0", ")", ";", "if", "(", "(", "type", "!=", "1", "&&", "GET_CODE", "(", "ind", ")", "==", "POST_INC", ")", "||", "(", "type", "==", "0", "&&", "GET_CODE", "(", "ind", ")", "==", "PRE_DEC", ")", ")", "return", "arm_address_register_rtx_p", "(", "XEXP", "(", "ind", ",", "0", ")", ",", "0", ")", ";", "if", "(", "type", "==", "2", "&&", "GET_CODE", "(", "ind", ")", "==", "POST_MODIFY", "&&", "GET_CODE", "(", "XEXP", "(", "ind", ",", "1", ")", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "XEXP", "(", "ind", ",", "1", ")", ",", "1", ")", ")", "&&", "REG_P", "(", "XEXP", "(", "ind", ",", "0", ")", ")", "&&", "rtx_equal_p", "(", "XEXP", "(", "ind", ",", "0", ")", ",", "XEXP", "(", "XEXP", "(", "ind", ",", "1", ")", ",", "0", ")", ")", ")", "return", "true", ";", "if", "(", "type", "==", "0", "&&", "GET_CODE", "(", "ind", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "ind", ",", "0", ")", ")", "&&", "REG_MODE_OK_FOR_BASE_P", "(", "XEXP", "(", "ind", ",", "0", ")", ",", "VOIDmode", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "ind", ",", "1", ")", ")", "&&", "INTVAL", "(", "XEXP", "(", "ind", ",", "1", ")", ")", ">", "-", "1024", "&&", "(", "INTVAL", "(", "XEXP", "(", "ind", ",", "1", ")", ")", "<", "(", "VALID_NEON_QREG_MODE", "(", "GET_MODE", "(", "op", ")", ")", "?", "1016", ":", "1024", ")", ")", "&&", "(", "INTVAL", "(", "XEXP", "(", "ind", ",", "1", ")", ")", "&", "3", ")", "==", "0", ")", "return", "TRUE", ";", "return", "FALSE", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "OP", "is", "a", "memory", "operand", "which", "we", "can", "load", "or", "store", "a", "vector", "to/from", ".", "TYPE", "is", "one", "of", "the", "following", "values", ":", "0", "-", "Vector", "load/stor", "(", "vldr", ")", "1", "-", "Core", "registers", "(", "ldm", ")", "2", "-", "Element/structure", "loads", "(", "vld1", ")"], "TS_V_token": ["arm", "0", "0", "0", "0", "0", "1", "0", "1", "0", "0", "0", "2", "1", "1", "1", "0", "0", "1", "0", "0", "0", "0", "1", "1", "1024", "1", "1016", "1024", "1", "3", "0"], "File": "arm", "Func": "neon_vector_mem_operand", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8846, "Length": 399, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCDarwinAsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "bool", "isPPC64", "=", "TM", ".", "getTargetData", "(", ")", "->", "getPointerSizeInBits", "(", ")", "==", "64", ";", "TargetLoweringObjectFileMachO", "&", "TLOFMacho", "=", "static_cast", "<", "TargetLoweringObjectFileMachO", "&", ">", "(", "getObjFileLowering", "(", ")", ")", ";", "MachineModuleInfoMachO", "&", "MMIMacho", "=", "MMI", "->", "getObjFileInfo", "<", "MachineModuleInfoMachO", ">", "(", ")", ";", "MachineModuleInfoMachO", "::", "SymbolListTy", "Stubs", "=", "MMIMacho", ".", "GetFnStubList", "(", ")", ";", "if", "(", "!", "Stubs", ".", "empty", "(", ")", ")", "EmitFunctionStubs", "(", "Stubs", ")", ";", "if", "(", "MAI", "->", "doesSupportExceptionHandling", "(", ")", "&&", "MMI", ")", "{", "const", "std", "::", "vector", "<", "Function", "*", ">", "&", "Personalities", "=", "MMI", "->", "getPersonalities", "(", ")", ";", "for", "(", "std", "::", "vector", "<", "Function", "*", ">", "::", "const_iterator", "I", "=", "Personalities", ".", "begin", "(", ")", ",", "E", "=", "Personalities", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "*", "I", ")", "{", "MCSymbol", "*", "NLPSym", "=", "GetSymbolWithGlobalValueBase", "(", "*", "I", ",", "\"$non_lazy_ptr\"", ")", ";", "MCSymbol", "*", "&", "StubSym", "=", "MMIMacho", ".", "getGVStubEntry", "(", "NLPSym", ")", ";", "StubSym", "=", "GetGlobalValueSymbol", "(", "*", "I", ")", ";", "}", "}", "}", "Stubs", "=", "MMIMacho", ".", "GetGVStubList", "(", ")", ";", "if", "(", "!", "Stubs", ".", "empty", "(", ")", ")", "{", "OutStreamer", ".", "SwitchSection", "(", "TLOFMacho", ".", "getNonLazySymbolPointerSection", "(", ")", ")", ";", "EmitAlignment", "(", "isPPC64", "?", "3", ":", "2", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "Stubs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "O", "<<", "*", "Stubs", "[", "i", "]", ".", "first", "<<", "\":\\n\"", ";", "O", "<<", "\"\\t.indirect_symbol \"", "<<", "*", "Stubs", "[", "i", "]", ".", "second", "<<", "'\\n'", ";", "O", "<<", "(", "isPPC64", "?", "\"\\t.quad\\t0\\n\"", ":", "\"\\t.long\\t0\\n\"", ")", ";", "}", "}", "Stubs", "=", "MMIMacho", ".", "GetHiddenGVStubList", "(", ")", ";", "if", "(", "!", "Stubs", ".", "empty", "(", ")", ")", "{", "OutStreamer", ".", "SwitchSection", "(", "getObjFileLowering", "(", ")", ".", "getDataSection", "(", ")", ")", ";", "EmitAlignment", "(", "isPPC64", "?", "3", ":", "2", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "Stubs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "O", "<<", "*", "Stubs", "[", "i", "]", ".", "first", "<<", "\":\\n\"", ";", "O", "<<", "(", "isPPC64", "?", "\"\\t.quad\\t\"", ":", "\"\\t.long\\t\"", ")", "<<", "*", "Stubs", "[", "i", "]", ".", "second", "<<", "'\\n'", ";", "}", "}", "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", "\":\\n\"", "\"\\t.indirect_symbol \"", "PPC", "\"\\t.quad\\t0\\n\"", "\"\\t.long\\t0\\n\"", "PPC", "3", "2", "0", "\":\\n\"", "PPC", "\"\\t.quad\\t\"", "\"\\t.long\\t\""], "File": "PPCAsmPrinter71", "Func": "doFinalization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8847, "Length": 394, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "SystemZInstrInfo", "::", "convertToThreeAddress", "(", "MachineFunction", "::", "iterator", "&", "MFI", ",", "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": "SystemZInstrInfo10", "Func": "convertToThreeAddress", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8848, "Length": 343, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "TargetPassConfig", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["X86"], "File": "X86FineIBTHashesSection", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8849, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "set_reg_plus_d", "(", "int", "reg", ",", "int", "base", ",", "HOST_WIDE_INT", "disp", ",", "int", "note", ")", "{", "rtx", "insn", ";", "if", "(", "VAL_14_BITS_P", "(", "disp", ")", ")", "{", "insn", "=", "emit_move_insn", "(", "gen_rtx_REG", "(", "Pmode", ",", "reg", ")", ",", "plus_constant", "(", "gen_rtx_REG", "(", "Pmode", ",", "base", ")", ",", "disp", ")", ")", ";", "}", "else", "if", "(", "TARGET_64BIT", "&&", "!", "VAL_32_BITS_P", "(", "disp", ")", ")", "{", "rtx", "basereg", "=", "gen_rtx_REG", "(", "Pmode", ",", "base", ")", ";", "rtx", "delta", "=", "GEN_INT", "(", "disp", ")", ";", "rtx", "tmpreg", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "emit_move_insn", "(", "tmpreg", ",", "delta", ")", ";", "insn", "=", "emit_move_insn", "(", "gen_rtx_REG", "(", "Pmode", ",", "reg", ")", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "tmpreg", ",", "basereg", ")", ")", ";", "if", "(", "DO_FRAME_NOTES", ")", "REG_NOTES", "(", "insn", ")", "=", "gen_rtx_EXPR_LIST", "(", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "VOIDmode", ",", "tmpreg", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "basereg", ",", "delta", ")", ")", ",", "REG_NOTES", "(", "insn", ")", ")", ";", "}", "else", "{", "rtx", "basereg", "=", "gen_rtx_REG", "(", "Pmode", ",", "base", ")", ";", "rtx", "delta", "=", "GEN_INT", "(", "disp", ")", ";", "rtx", "tmpreg", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "emit_move_insn", "(", "tmpreg", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "basereg", ",", "gen_rtx_HIGH", "(", "Pmode", ",", "delta", ")", ")", ")", ";", "insn", "=", "emit_move_insn", "(", "gen_rtx_REG", "(", "Pmode", ",", "reg", ")", ",", "gen_rtx_LO_SUM", "(", "Pmode", ",", "tmpreg", ",", "delta", ")", ")", ";", "}", "if", "(", "DO_FRAME_NOTES", "&&", "note", ")", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", ""], "natrual_language": ["Emit", "RTL", "to", "set", "REG", "to", "the", "value", "specified", "by", "BASE+DISP", ".", "Handle", "case", "where", "DISP", ">", "8k", "by", "using", "the", "add_high_const", "patterns", ".", "Note", "in", "DISP", ">", "8k", "case", ",", "we", "will", "leave", "the", "high", "part", "of", "the", "address", "in", "%", "r1", ".", "There", "is", "code", "in", "expand_hppa_", "{", "prologue", ",", "epilogue", "}", "that", "knows", "this", "."], "TS_V_token": ["pa", "1", "1", "1"], "File": "pa3", "Func": "set_reg_plus_d", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8850, "Length": 242, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_debugger_arg_offset", "(", "int", "value", ",", "rtx", "addr", ")", "{", "rtx", "insn", ";", "if", "(", "value", "!=", "0", ")", "return", "0", ";", "if", "(", "GET_CODE", "(", "addr", ")", "!=", "REG", ")", "return", "0", ";", "if", "(", "REGNO", "(", "addr", ")", "==", "(", "unsigned", ")", "HARD_FRAME_POINTER_REGNUM", ")", "return", "0", ";", "if", "(", "(", "TARGET_THUMB", "||", "!", "frame_pointer_needed", ")", "&&", "REGNO", "(", "addr", ")", "==", "SP_REGNUM", ")", "return", "0", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "if", "(", "GET_CODE", "(", "insn", ")", "==", "INSN", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "SET", "&&", "REGNO", "(", "XEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ")", ")", "==", "REGNO", "(", "addr", ")", "&&", "GET_CODE", "(", "XEXP", "(", "PATTERN", "(", "insn", ")", ",", "1", ")", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "PATTERN", "(", "insn", ")", ",", "1", ")", ",", "0", ")", ")", "==", "REG", "&&", "REGNO", "(", "XEXP", "(", "XEXP", "(", "PATTERN", "(", "insn", ")", ",", "1", ")", ",", "0", ")", ")", "==", "(", "unsigned", ")", "HARD_FRAME_POINTER_REGNUM", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "PATTERN", "(", "insn", ")", ",", "1", ")", ",", "1", ")", ")", "==", "CONST_INT", ")", "{", "value", "=", "INTVAL", "(", "XEXP", "(", "XEXP", "(", "PATTERN", "(", "insn", ")", ",", "1", ")", ",", "1", ")", ")", ";", "break", ";", "}", "}", "if", "(", "value", "==", "0", ")", "{", "debug_rtx", "(", "addr", ")", ";", "warning", "(", "0", ",", "\"unable to compute real location of stacked parameter\"", ")", ";", "value", "=", "8", ";", "}", "return", "value", ";", "}", ""], "natrual_language": ["Handle", "a", "special", "case", "when", "computing", "the", "offset", "of", "an", "argument", "from", "the", "frame", "pointer", "."], "TS_V_token": ["arm", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "0", "1", "1", "1", "1", "0", "0", "\"unable to compute real location of stacked parameter\"", "8"], "File": "arm3", "Func": "arm_debugger_arg_offset", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8851, "Length": 254, "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": 8852, "Length": 161, "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": 8853, "Length": 14, "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": 8854, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_mov_long_double_arm_from_arm", "(", "rtx", "*", "operands", ")", "{", "int", "dest_start", "=", "REGNO", "(", "operands", "[", "0", "]", ")", ";", "int", "src_start", "=", "REGNO", "(", "operands", "[", "1", "]", ")", ";", "rtx", "ops", "[", "2", "]", ";", "int", "i", ";", "if", "(", "dest_start", "<", "src_start", ")", "{", "for", "(", "i", "=", "0", ";", "i", "<", "3", ";", "i", "++", ")", "{", "ops", "[", "0", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "dest_start", "+", "i", ")", ";", "ops", "[", "1", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "src_start", "+", "i", ")", ";", "output_asm_insn", "(", "\"mov%?\\t%0, %1\"", ",", "ops", ")", ";", "}", "}", "else", "{", "for", "(", "i", "=", "2", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "ops", "[", "0", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "dest_start", "+", "i", ")", ";", "ops", "[", "1", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "src_start", "+", "i", ")", ";", "output_asm_insn", "(", "\"mov%?\\t%0, %1\"", ",", "ops", ")", ";", "}", "}", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "a", "move", "from", "arm", "registers", "to", "arm", "registers", "of", "a", "long", "double", "OPERANDS", "[", "0", "]", "is", "the", "destination", ".", "OPERANDS", "[", "1", "]", "is", "the", "source", "."], "TS_V_token": ["arm", "0", "1", "2", "0", "3", "0", "1", "\"mov%?\\t%0, %1\"", "2", "0", "0", "1", "\"mov%?\\t%0, %1\"", "\"\""], "File": "arm", "Func": "output_mov_long_double_arm_from_arm", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8855, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "rs6000_builtin_decl", "(", "unsigned", "code", ",", "bool", "initialize_p", "ATTRIBUTE_UNUSED", ")", "{", "HOST_WIDE_INT", "fnmask", ";", "if", "(", "code", ">=", "RS6000_BUILTIN_COUNT", ")", "return", "error_mark_node", ";", "fnmask", "=", "rs6000_builtin_info", "[", "code", "]", ".", "mask", ";", "if", "(", "(", "fnmask", "&", "rs6000_builtin_mask", ")", "!=", "fnmask", ")", "{", "rs6000_invalid_builtin", "(", "(", "enum", "rs6000_builtins", ")", "code", ")", ";", "return", "error_mark_node", ";", "}", "return", "rs6000_builtin_decls", "[", "code", "]", ";", "}", ""], "natrual_language": ["Returns", "the", "rs6000", "builtin", "decl", "for", "CODE", "."], "TS_V_token": ["rs6000"], "File": "rs6000-call", "Func": "rs6000_builtin_decl", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8856, "Length": 63, "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", ";", "}", "MipsMCInstLower", "MCInstLowering", "(", "Mang", ",", "*", "MF", ",", "*", "this", ")", ";", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "MCInst", "TmpInst0", ";", "SmallVector", "<", "MCInst", ",", "4", ">", "MCInsts", ";", "MCInstLowering", ".", "Lower", "(", "MI", ",", "TmpInst0", ")", ";", "if", "(", "!", "OutStreamer", ".", "hasRawTextSupport", "(", ")", "&&", "isDirective", "(", "Opc", ")", ")", "return", ";", "if", "(", "isUnalignedLoadStore", "(", "Opc", ")", ")", "{", "if", "(", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "{", "MCInst", "Directive", ";", "Directive", ".", "setOpcode", "(", "Mips", "::", "MACRO", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "Directive", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "TmpInst0", ")", ";", "Directive", ".", "setOpcode", "(", "Mips", "::", "NOMACRO", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "Directive", ")", ";", "}", "else", "{", "MCInstLowering", ".", "LowerUnalignedLoadStore", "(", "MI", ",", "MCInsts", ")", ";", "for", "(", "SmallVector", "<", "MCInst", ",", "4", ">", "::", "iterator", "I", "=", "MCInsts", ".", "begin", "(", ")", ";", "I", "!=", "MCInsts", ".", "end", "(", ")", ";", "++", "I", ")", "OutStreamer", ".", "EmitInstruction", "(", "*", "I", ")", ";", "}", "return", ";", "}", "if", "(", "!", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "{", "if", "(", "Opc", "==", "Mips", "::", "CPLOAD", ")", "MCInstLowering", ".", "LowerCPLOAD", "(", "MI", ",", "MCInsts", ")", ";", "else", "if", "(", "Opc", "==", "Mips", "::", "CPRESTORE", ")", "MCInstLowering", ".", "LowerCPRESTORE", "(", "MI", ",", "MCInsts", ")", ";", "if", "(", "!", "MCInsts", ".", "empty", "(", ")", ")", "{", "for", "(", "SmallVector", "<", "MCInst", ",", "4", ">", "::", "iterator", "I", "=", "MCInsts", ".", "begin", "(", ")", ";", "I", "!=", "MCInsts", ".", "end", "(", ")", ";", "++", "I", ")", "OutStreamer", ".", "EmitInstruction", "(", "*", "I", ")", ";", "return", ";", "}", "}", "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", "Mips", "4", "Mips::MACRO", "Mips::NOMACRO", "4", "Mips::CPLOAD", "Mips::CPRESTORE", "4"], "File": "MipsAsmPrinter58", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8857, "Length": 315, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "DCPU16FrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "int", "FrameIdx", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "CreateFixedObject", "(", "1", ",", "-", "1", ",", "true", ")", ";", "(", "void", ")", "FrameIdx", ";", "assert", "(", "FrameIdx", "==", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectIndexBegin", "(", ")", "&&", "\"Slot for J 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": ["Dcpu16", "DCPU16", "1", "1", "\"Slot for J register must be last in order to be found!\""], "File": "Dcpu16FrameLowering", "Func": "processFunctionBeforeFrameFinalized", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8858, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86IndirectBranchTrackingPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "X86Subtarget", "&", "SubTarget", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "Metadata", "*", "isCFProtectionSupported", "=", "MF", ".", "getMMI", "(", ")", ".", "getModule", "(", ")", "->", "getModuleFlag", "(", "\"cf-protection-branch\"", ")", ";", "const", "X86TargetMachine", "*", "TM", "=", "static_cast", "<", "const", "X86TargetMachine", "*", ">", "(", "&", "MF", ".", "getTarget", "(", ")", ")", ";", "bool", "isJITwithCET", "=", "TM", "->", "isJIT", "(", ")", ";", "bool", "isJITwithCET", "=", "false", ";", "if", "(", "!", "isCFProtectionSupported", "&&", "!", "IndirectBranchTracking", "&&", "!", "isJITwithCET", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "TII", "=", "SubTarget", ".", "getInstrInfo", "(", ")", ";", "EndbrOpcode", "=", "SubTarget", ".", "is64Bit", "(", ")", "?", "X86", "::", "ENDBR64", ":", "X86", "::", "ENDBR32", ";", "if", "(", "(", "TM", "->", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", "||", "MF", ".", "getFunction", "(", ")", ".", "hasAddressTaken", "(", ")", "||", "!", "MF", ".", "getFunction", "(", ")", ".", "hasLocalLinkage", "(", ")", ")", "&&", "!", "MF", ".", "getFunction", "(", ")", ".", "doesNoCfCheck", "(", ")", ")", "{", "auto", "MBB", "=", "MF", ".", "begin", "(", ")", ";", "Changed", "|=", "addENDBR", "(", "*", "MBB", ",", "MBB", "->", "begin", "(", ")", ")", ";", "}", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "if", "(", "MBB", ".", "hasAddressTaken", "(", ")", ")", "Changed", "|=", "addENDBR", "(", "MBB", ",", "MBB", ".", "begin", "(", ")", ")", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ";", "I", "!=", "MBB", ".", "end", "(", ")", ";", "++", "I", ")", "{", "if", "(", "I", "->", "isCall", "(", ")", "&&", "IsCallReturnTwice", "(", "I", "->", "getOperand", "(", "0", ")", ")", ")", "Changed", "|=", "addENDBR", "(", "MBB", ",", "std", "::", "next", "(", "I", ")", ")", ";", "}", "if", "(", "TM", "->", "Options", ".", "ExceptionModel", "==", "ExceptionHandling", "::", "SjLj", ")", "{", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ";", "I", "!=", "MBB", ".", "end", "(", ")", ";", "++", "I", ")", "{", "if", "(", "MBB", ".", "isEHPad", "(", ")", ")", "{", "if", "(", "I", "->", "isDebugInstr", "(", ")", ")", "continue", ";", "Changed", "|=", "addENDBR", "(", "MBB", ",", "I", ")", ";", "break", ";", "}", "else", "if", "(", "I", "->", "isEHLabel", "(", ")", ")", "{", "MCSymbol", "*", "Sym", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getMCSymbol", "(", ")", ";", "if", "(", "!", "MF", ".", "hasCallSiteLandingPad", "(", "Sym", ")", ")", "continue", ";", "Changed", "|=", "addENDBR", "(", "MBB", ",", "std", "::", "next", "(", "I", ")", ")", ";", "break", ";", "}", "}", "}", "else", "if", "(", "MBB", ".", "isEHPad", "(", ")", ")", "{", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ";", "I", "!=", "MBB", ".", "end", "(", ")", ";", "++", "I", ")", "{", "if", "(", "!", "I", "->", "isEHLabel", "(", ")", ")", "continue", ";", "Changed", "|=", "addENDBR", "(", "MBB", ",", "std", "::", "next", "(", "I", ")", ")", ";", "break", ";", "}", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "\"cf-protection-branch\"", "X86", "X86", "X86::ENDBR64", "X86::ENDBR32", "0", "0"], "File": "X86IndirectBranchTracking12", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8859, "Length": 473, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCInstFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "assert", "(", "0", "&&", "\"RelaxInstruction() unimplemented\"", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["Cpu0", "0", "\"RelaxInstruction() unimplemented\""], "File": "Cpu0AsmBackend2", "Func": "fixupNeedsRelaxation", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8860, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcFrameLowering", "::", "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": ["Sparc", "Sparc"], "File": "SparcFrameLowering (2)", "Func": "hasReservedCallFrame", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8861, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMSubtarget", "::", "ARMSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ")", ":", "ARMGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "ARMProcFamily", "(", "Others", ")", ",", "HasV4TOps", "(", "false", ")", ",", "HasV5TOps", "(", "false", ")", ",", "HasV5TEOps", "(", "false", ")", ",", "HasV6Ops", "(", "false", ")", ",", "HasV6T2Ops", "(", "false", ")", ",", "HasV7Ops", "(", "false", ")", ",", "HasVFPv2", "(", "false", ")", ",", "HasVFPv3", "(", "false", ")", ",", "HasNEON", "(", "false", ")", ",", "UseNEONForSinglePrecisionFP", "(", "false", ")", ",", "SlowFPVMLx", "(", "false", ")", ",", "HasVMLxForwarding", "(", "false", ")", ",", "SlowFPBrcc", "(", "false", ")", ",", "InThumbMode", "(", "false", ")", ",", "InNaClMode", "(", "false", ")", ",", "HasThumb2", "(", "false", ")", ",", "IsMClass", "(", "false", ")", ",", "NoARM", "(", "false", ")", ",", "PostRAScheduler", "(", "false", ")", ",", "IsR9Reserved", "(", "ReserveR9", ")", ",", "UseMovt", "(", "false", ")", ",", "SupportsTailCall", "(", "false", ")", ",", "HasFP16", "(", "false", ")", ",", "HasD16", "(", "false", ")", ",", "HasHardwareDivide", "(", "false", ")", ",", "HasT2ExtractPack", "(", "false", ")", ",", "HasDataBarrier", "(", "false", ")", ",", "Pref32BitThumb", "(", "false", ")", ",", "AvoidCPSRPartialUpdate", "(", "false", ")", ",", "HasMPExtension", "(", "false", ")", ",", "FPOnlySP", "(", "false", ")", ",", "AllowsUnalignedMem", "(", "false", ")", ",", "Thumb2DSP", "(", "false", ")", ",", "stackAlignment", "(", "4", ")", ",", "CPUString", "(", "CPU", ")", ",", "TargetTriple", "(", "TT", ")", ",", "TargetABI", "(", "ARM_ABI_APCS", ")", "{", "if", "(", "CPUString", ".", "empty", "(", ")", ")", "CPUString", "=", "\"generic\"", ";", "std", "::", "string", "ArchFS", "=", "ARM_MC", "::", "ParseARMTriple", "(", "TT", ")", ";", "if", "(", "!", "FS", ".", "empty", "(", ")", ")", "{", "if", "(", "!", "ArchFS", ".", "empty", "(", ")", ")", "ArchFS", "=", "ArchFS", "+", "\",\"", "+", "FS", ";", "else", "ArchFS", "=", "FS", ";", "}", "ParseSubtargetFeatures", "(", "CPUString", ",", "ArchFS", ")", ";", "if", "(", "!", "HasV6T2Ops", "&&", "hasThumb2", "(", ")", ")", "HasV4TOps", "=", "HasV5TOps", "=", "HasV5TEOps", "=", "HasV6Ops", "=", "HasV6T2Ops", "=", "true", ";", "InstrItins", "=", "getInstrItineraryForCPU", "(", "CPUString", ")", ";", "computeIssueWidth", "(", ")", ";", "if", "(", "TT", ".", "find", "(", "\"eabi\"", ")", "!=", "std", "::", "string", "::", "npos", ")", "TargetABI", "=", "ARM_ABI_AAPCS", ";", "if", "(", "isAAPCS_ABI", "(", ")", ")", "stackAlignment", "=", "8", ";", "if", "(", "!", "isTargetDarwin", "(", ")", ")", "UseMovt", "=", "hasV6T2Ops", "(", ")", ";", "else", "{", "IsR9Reserved", "=", "ReserveR9", "|", "!", "HasV6Ops", ";", "UseMovt", "=", "DarwinUseMOVT", "&&", "hasV6T2Ops", "(", ")", ";", "const", "Triple", "&", "T", "=", "getTargetTriple", "(", ")", ";", "SupportsTailCall", "=", "T", ".", "getOS", "(", ")", "==", "Triple", "::", "IOS", "&&", "!", "T", ".", "isOSVersionLT", "(", "5", ",", "0", ")", ";", "}", "if", "(", "!", "isThumb", "(", ")", "||", "hasThumb2", "(", ")", ")", "PostRAScheduler", "=", "true", ";", "if", "(", "!", "StrictAlign", "&&", "hasV6Ops", "(", ")", "&&", "isTargetDarwin", "(", ")", ")", "AllowsUnalignedMem", "=", "true", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "4", "ARM", "\"generic\"", "ARM", "ARM", "\",\"", "\"eabi\"", "ARM", "8", "5", "0"], "File": "ARMSubtarget74", "Func": "ARMSubtarget", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8862, "Length": 445, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "Mips", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_Mips_16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_Mips_REL32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_Mips_26\"", ",", "0", ",", "26", ",", "0", "}", ",", "{", "\"fixup_Mips_HI16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_LO16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_GPREL16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_LITERAL\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_GOT_Global\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_GOT_Local\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_PC16\"", ",", "0", ",", "16", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_Mips_CALL16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_GPREL32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_Mips_SHIFT5\"", ",", "6", ",", "5", ",", "0", "}", ",", "{", "\"fixup_Mips_SHIFT6\"", ",", "6", ",", "5", ",", "0", "}", ",", "{", "\"fixup_Mips_64\"", ",", "0", ",", "64", ",", "0", "}", ",", "{", "\"fixup_Mips_TLSGD\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_GOTTPREL\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_TPREL_HI\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_TPREL_LO\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_TLSLDM\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_DTPREL_HI\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_DTPREL_LO\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_Branch_PCRel\"", ",", "0", ",", "16", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_Mips_GPOFF_HI\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_GPOFF_LO\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_GOT_PAGE\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_GOT_OFST\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_GOT_DISP\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_HIGHER\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_HIGHEST\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_GOT_HI16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_GOT_LO16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_CALL_HI16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_CALL_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": ["Mips", "Mips::NumTargetFixupKinds", "\"fixup_Mips_16\"", "0", "16", "0", "\"fixup_Mips_32\"", "0", "32", "0", "\"fixup_Mips_REL32\"", "0", "32", "0", "\"fixup_Mips_26\"", "0", "26", "0", "\"fixup_Mips_HI16\"", "0", "16", "0", "\"fixup_Mips_LO16\"", "0", "16", "0", "\"fixup_Mips_GPREL16\"", "0", "16", "0", "\"fixup_Mips_LITERAL\"", "0", "16", "0", "\"fixup_Mips_GOT_Global\"", "0", "16", "0", "\"fixup_Mips_GOT_Local\"", "0", "16", "0", "\"fixup_Mips_PC16\"", "0", "16", "\"fixup_Mips_CALL16\"", "0", "16", "0", "\"fixup_Mips_GPREL32\"", "0", "32", "0", "\"fixup_Mips_SHIFT5\"", "6", "5", "0", "\"fixup_Mips_SHIFT6\"", "6", "5", "0", "\"fixup_Mips_64\"", "0", "64", "0", "\"fixup_Mips_TLSGD\"", "0", "16", "0", "\"fixup_Mips_GOTTPREL\"", "0", "16", "0", "\"fixup_Mips_TPREL_HI\"", "0", "16", "0", "\"fixup_Mips_TPREL_LO\"", "0", "16", "0", "\"fixup_Mips_TLSLDM\"", "0", "16", "0", "\"fixup_Mips_DTPREL_HI\"", "0", "16", "0", "\"fixup_Mips_DTPREL_LO\"", "0", "16", "0", "\"fixup_Mips_Branch_PCRel\"", "0", "16", "\"fixup_Mips_GPOFF_HI\"", "0", "16", "0", "\"fixup_Mips_GPOFF_LO\"", "0", "16", "0", "\"fixup_Mips_GOT_PAGE\"", "0", "16", "0", "\"fixup_Mips_GOT_OFST\"", "0", "16", "0", "\"fixup_Mips_GOT_DISP\"", "0", "16", "0", "\"fixup_Mips_HIGHER\"", "0", "16", "0", "\"fixup_Mips_HIGHEST\"", "0", "16", "0", "\"fixup_Mips_GOT_HI16\"", "0", "16", "0", "\"fixup_Mips_GOT_LO16\"", "0", "16", "0", "\"fixup_Mips_CALL_HI16\"", "0", "16", "0", "\"fixup_Mips_CALL_LO16\"", "0", "16", "0", "\"Invalid kind!\""], "File": "MipsAsmBackend11", "Func": "getFixupKindInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8863, "Length": 415, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "PPC", "::", "STD", ":", "case", "PPC", "::", "STW", ":", "case", "PPC", "::", "STFS", ":", "case", "PPC", "::", "STFD", ":", "case", "PPC", "::", "SPILL_CR", ":", "case", "PPC", "::", "SPILL_CRBIT", ":", "case", "PPC", "::", "STVX", ":", "case", "PPC", "::", "STXVD2X", ":", "case", "PPC", "::", "STXV", ":", "case", "PPC", "::", "QVSTFDX", ":", "case", "PPC", "::", "QVSTFSXs", ":", "case", "PPC", "::", "QVSTFDXb", ":", "case", "PPC", "::", "SPILL_VRSAVE", ":", "case", "PPC", "::", "SPILLTOVSR_ST", ":", "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": ["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": ["PowerPC", "PPC", "PPC::STD", "PPC::STW", "PPC::STFS", "PPC::STFD", "PPC::SPILL_CR", "PPC::SPILL_CRBIT", "PPC::STVX", "PPC::STXVD2X", "PPC::STXV", "PPC::QVSTFDX", "PPC::QVSTFSXs", "PPC::QVSTFDXb", "PPC::SPILL_VRSAVE", "PPC::SPILLTOVSR_ST", "1", "1", "2", "2", "0", "0"], "File": "PPCInstrInfo102", "Func": "isStoreToStackSlot", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8864, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "size_t", "cygwin_gt_pch_alloc_granularity", "(", "void", ")", "{", "return", "va_granularity", ";", "}", ""], "natrual_language": ["Return", "the", "alignment", "required", "for", "allocating", "virtual", "memory", "."], "TS_V_token": ["i386"], "File": "host-cygwin", "Func": "cygwin_gt_pch_alloc_granularity", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8865, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "X86TargetLowering", "::", "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", ")", ")", "{", "if", "(", "Size", ">=", "16", "&&", "(", "Subtarget", "->", "isUnalignedMemAccessFast", "(", ")", "||", "(", "(", "DstAlign", "==", "0", "||", "DstAlign", ">=", "16", ")", "&&", "(", "SrcAlign", "==", "0", "||", "SrcAlign", ">=", "16", ")", ")", ")", "&&", "Subtarget", "->", "getStackAlignment", "(", ")", ">=", "16", ")", "{", "if", "(", "Subtarget", "->", "getStackAlignment", "(", ")", ">=", "32", ")", "{", "if", "(", "Subtarget", "->", "hasAVX2", "(", ")", ")", "return", "MVT", "::", "v8i32", ";", "if", "(", "Subtarget", "->", "hasAVX", "(", ")", ")", "return", "MVT", "::", "v8f32", ";", "}", "if", "(", "Subtarget", "->", "hasSSE2", "(", ")", ")", "return", "MVT", "::", "v4i32", ";", "if", "(", "Subtarget", "->", "hasSSE1", "(", ")", ")", "return", "MVT", "::", "v4f32", ";", "}", "else", "if", "(", "!", "MemcpyStrSrc", "&&", "Size", ">=", "8", "&&", "!", "Subtarget", "->", "is64Bit", "(", ")", "&&", "Subtarget", "->", "getStackAlignment", "(", ")", ">=", "8", "&&", "Subtarget", "->", "hasSSE2", "(", ")", ")", "{", "return", "MVT", "::", "f64", ";", "}", "}", "if", "(", "Subtarget", "->", "is64Bit", "(", ")", "&&", "Size", ">=", "8", ")", "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": ["X86", "X86", "16", "0", "16", "0", "16", "16", "32", "MVT::v8i32", "MVT::v8f32", "MVT::v4i32", "MVT::v4f32", "8", "8", "MVT::f64", "8", "MVT::i64", "MVT::i32"], "File": "X86ISelLowering114", "Func": "getOptimalMemOpType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8866, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmBackend", "::", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCInstFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "switch", "(", "(", "unsigned", ")", "Fixup", ".", "getKind", "(", ")", ")", "{", "case", "ARM", "::", "fixup_arm_thumb_bcc", ":", "{", "int64_t", "Offset", "=", "int64_t", "(", "Value", ")", "-", "4", ";", "return", "Offset", ">", "254", "||", "Offset", "<", "-", "256", ";", "}", "case", "ARM", "::", "fixup_thumb_adr_pcrel_10", ":", "case", "ARM", "::", "fixup_arm_thumb_cp", ":", "{", "int64_t", "Offset", "=", "int64_t", "(", "Value", ")", "-", "4", ";", "return", "Offset", ">", "1020", "||", "Offset", "<", "0", "||", "Offset", "&", "3", ";", "}", "}", "llvm_unreachable", "(", "\"Unexpected fixup kind in fixupNeedsRelaxation()!\"", ")", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["ARM", "ARM", "ARM::fixup_arm_thumb_bcc", "4", "254", "256", "ARM::fixup_thumb_adr_pcrel_10", "ARM::fixup_arm_thumb_cp", "4", "1020", "0", "3", "\"Unexpected fixup kind in fixupNeedsRelaxation()!\""], "File": "ARMAsmBackend49", "Func": "fixupNeedsRelaxation", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8867, "Length": 106, "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": 8868, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "extract_pattern_from_insn", "(", "rtx", "insn", ")", "{", "if", "(", "INSN_P", "(", "insn", ")", ")", "return", "PATTERN", "(", "insn", ")", ";", "return", "insn", ";", "}", ""], "natrual_language": ["Get", "the", "rtx", "in", "the", "PATTERN", "field", "of", "an", "insn", ".", "If", "INSN", "is", "not", "an", "insn", ",", "the", "funciton", "does", "n't", "change", "anything", "and", "returns", "it", "directly", "."], "TS_V_token": ["nds32"], "File": "nds32-utils", "Func": "extract_pattern_from_insn", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8869, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isLegalAddressingMode", "(", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ")", "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", "=", "getDataLayout", "(", ")", "->", "getTypeSizeInBits", "(", "Ty", ")", ";", "NumBytes", "=", "NumBits", "/", "8", ";", "if", "(", "!", "isPowerOf2_64", "(", "NumBits", ")", ")", "NumBytes", "=", "0", ";", "}", "if", "(", "!", "AM", ".", "Scale", ")", "{", "int64_t", "Offset", "=", "AM", ".", "BaseOffs", ";", "if", "(", "Offset", ">=", "-", "(", "1LL", "<<", "9", ")", "&&", "Offset", "<=", "(", "1LL", "<<", "9", ")", "-", "1", ")", "return", "true", ";", "unsigned", "shift", "=", "Log2_64", "(", "NumBytes", ")", ";", "if", "(", "NumBytes", "&&", "Offset", ">", "0", "&&", "(", "Offset", "/", "NumBytes", ")", "<=", "(", "1LL", "<<", "12", ")", "-", "1", "&&", "(", "Offset", ">>", "shift", ")", "<<", "shift", "==", "Offset", ")", "return", "true", ";", "return", "false", ";", "}", "if", "(", "!", "AM", ".", "Scale", "||", "AM", ".", "Scale", "==", "1", "||", "(", "AM", ".", "Scale", ">", "0", "&&", "(", "uint64_t", ")", "AM", ".", "Scale", "==", "NumBytes", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "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", "1LL", "9", "1LL", "9", "1", "0", "1LL", "12", "1", "1", "0"], "File": "AArch64ISelLowering109", "Func": "isLegalAddressingMode", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8870, "Length": 210, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ARMTTIImpl", "::", "getArithmeticReductionCost", "(", "unsigned", "Opcode", ",", "VectorType", "*", "ValTy", ",", "bool", "IsPairwiseForm", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "EVT", "ValVT", "=", "TLI", "->", "getValueType", "(", "DL", ",", "ValTy", ")", ";", "int", "ISD", "=", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", ";", "if", "(", "!", "ST", "->", "hasMVEIntegerOps", "(", ")", "||", "!", "ValVT", ".", "isSimple", "(", ")", "||", "ISD", "!=", "ISD", "::", "ADD", ")", "return", "BaseT", "::", "getArithmeticReductionCost", "(", "Opcode", ",", "ValTy", ",", "IsPairwiseForm", ",", "CostKind", ")", ";", "std", "::", "pair", "<", "int", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "ValTy", ")", ";", "static", "const", "CostTblEntry", "CostTblAdd", "[", "]", "{", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v16i8", ",", "1", "}", ",", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v8i16", ",", "1", "}", ",", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v4i32", ",", "1", "}", ",", "}", ";", "if", "(", "const", "auto", "*", "Entry", "=", "CostTableLookup", "(", "CostTblAdd", ",", "ISD", ",", "LT", ".", "second", ")", ")", "return", "Entry", "->", "Cost", "*", "ST", "->", "getMVEVectorCostFactor", "(", ")", "*", "LT", ".", "first", ";", "return", "BaseT", "::", "getArithmeticReductionCost", "(", "Opcode", ",", "ValTy", ",", "IsPairwiseForm", ",", "CostKind", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "vector", "reduction", "intrinsics", "."], "TS_V_token": ["ARM", "ARM", "ISD::ADD", "ISD::ADD", "MVT::v16i8", "1", "ISD::ADD", "MVT::v8i16", "1", "ISD::ADD", "MVT::v4i32", "1"], "File": "ARMTargetTransformInfo29", "Func": "getArithmeticReductionCost", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8871, "Length": 191, "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", "=", "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::GPR32RegClassID", "Mips::GPR64RegClassID", "Mips::DSPRRegClassID", "28", "Mips::FGR32RegClassID", "32", "Mips::AFGR64RegClassID", "16", "Mips::FGR64RegClassID", "32"], "File": "MipsRegisterInfo", "Func": "getRegPressureLimit", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8872, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "SparcTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown SELECT_CC!\"", ")", ";", "case", "SP", "::", "SELECT_CC_Int_ICC", ":", "case", "SP", "::", "SELECT_CC_FP_ICC", ":", "case", "SP", "::", "SELECT_CC_DFP_ICC", ":", "case", "SP", "::", "SELECT_CC_QFP_ICC", ":", "return", "expandSelectCC", "(", "MI", ",", "BB", ",", "SP", "::", "BCOND", ")", ";", "case", "SP", "::", "SELECT_CC_Int_FCC", ":", "case", "SP", "::", "SELECT_CC_FP_FCC", ":", "case", "SP", "::", "SELECT_CC_DFP_FCC", ":", "case", "SP", "::", "SELECT_CC_QFP_FCC", ":", "return", "expandSelectCC", "(", "MI", ",", "BB", ",", "SP", "::", "FBCOND", ")", ";", "case", "SP", "::", "EH_SJLJ_SETJMP32ri", ":", "case", "SP", "::", "EH_SJLJ_SETJMP32rr", ":", "return", "emitEHSjLjSetJmp", "(", "MI", ",", "BB", ")", ";", "case", "SP", "::", "EH_SJLJ_LONGJMP32rr", ":", "case", "SP", "::", "EH_SJLJ_LONGJMP32ri", ":", "return", "emitEHSjLjLongJmp", "(", "MI", ",", "BB", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["Sparc", "Sparc", "\"Unknown SELECT_CC!\"", "SP::SELECT_CC_Int_ICC", "SP::SELECT_CC_FP_ICC", "SP::SELECT_CC_DFP_ICC", "SP::SELECT_CC_QFP_ICC", "SP::BCOND", "SP::SELECT_CC_Int_FCC", "SP::SELECT_CC_FP_FCC", "SP::SELECT_CC_DFP_FCC", "SP::SELECT_CC_QFP_FCC", "SP::FBCOND", "SP::EH_SJLJ_SETJMP32ri", "SP::EH_SJLJ_SETJMP32rr", "SP::EH_SJLJ_LONGJMP32rr", "SP::EH_SJLJ_LONGJMP32ri"], "File": "SparcISelLowering63", "Func": "EmitInstrWithCustomInserter", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8873, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isMBBSafeToOutlineFrom", "(", "MachineBasicBlock", "&", "MBB", ",", "unsigned", "&", "Flags", ")", "const", "{", "assert", "(", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ".", "tracksLiveness", "(", ")", "&&", "\"Suitable Machine Function for outlining must track liveness\"", ")", ";", "LiveRegUnits", "LRU", "(", "getRegisterInfo", "(", ")", ")", ";", "std", "::", "for_each", "(", "MBB", ".", "rbegin", "(", ")", ",", "MBB", ".", "rend", "(", ")", ",", "[", "&", "LRU", "]", "(", "MachineInstr", "&", "MI", ")", "{", "LRU", ".", "accumulate", "(", "MI", ")", ";", "}", ")", ";", "bool", "W16AvailableInBlock", "=", "LRU", ".", "available", "(", "AArch64", "::", "W16", ")", ";", "bool", "W17AvailableInBlock", "=", "LRU", ".", "available", "(", "AArch64", "::", "W17", ")", ";", "bool", "NZCVAvailableInBlock", "=", "LRU", ".", "available", "(", "AArch64", "::", "NZCV", ")", ";", "if", "(", "W16AvailableInBlock", "&&", "W17AvailableInBlock", "&&", "NZCVAvailableInBlock", ")", "Flags", "|=", "MachineOutlinerMBBFlags", "::", "UnsafeRegsDead", ";", "LRU", ".", "addLiveOuts", "(", "MBB", ")", ";", "if", "(", "W16AvailableInBlock", "&&", "!", "LRU", ".", "available", "(", "AArch64", "::", "W16", ")", ")", "return", "false", ";", "if", "(", "W17AvailableInBlock", "&&", "!", "LRU", ".", "available", "(", "AArch64", "::", "W17", ")", ")", "return", "false", ";", "if", "(", "NZCVAvailableInBlock", "&&", "!", "LRU", ".", "available", "(", "AArch64", "::", "NZCV", ")", ")", "return", "false", ";", "if", "(", "any_of", "(", "MBB", ",", "[", "]", "(", "MachineInstr", "&", "MI", ")", "{", "return", "MI", ".", "isCall", "(", ")", ";", "}", ")", ")", "Flags", "|=", "MachineOutlinerMBBFlags", "::", "HasCalls", ";", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "bool", "CanSaveLR", "=", "false", ";", "const", "AArch64RegisterInfo", "*", "ARI", "=", "static_cast", "<", "const", "AArch64RegisterInfo", "*", ">", "(", "MF", "->", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "for", "(", "unsigned", "Reg", ":", "AArch64", "::", "GPR64RegClass", ")", "{", "if", "(", "!", "ARI", "->", "isReservedReg", "(", "*", "MF", ",", "Reg", ")", "&&", "Reg", "!=", "AArch64", "::", "LR", "&&", "Reg", "!=", "AArch64", "::", "X16", "&&", "Reg", "!=", "AArch64", "::", "X17", "&&", "LRU", ".", "available", "(", "Reg", ")", ")", "{", "CanSaveLR", "=", "true", ";", "break", ";", "}", "}", "if", "(", "!", "CanSaveLR", "&&", "!", "LRU", ".", "available", "(", "AArch64", "::", "LR", ")", ")", "Flags", "|=", "MachineOutlinerMBBFlags", "::", "LRUnavailableSomewhere", ";", "return", "true", ";", "}", ""], "natrual_language": ["Optional", "target", "hook", "that", "returns", "true", "if", "MBB", "is", "safe", "to", "outline", "from", ",", "and", "returns", "any", "target-specific", "information", "in", "Flags", "."], "TS_V_token": ["AArch64", "AArch64", "\"Suitable Machine Function for outlining must track liveness\"", "AArch64::W16", "AArch64::W17", "AArch64::NZCV", "AArch64::W16", "AArch64::W17", "AArch64::NZCV", "AArch64", "AArch64", "AArch64::GPR64RegClass", "AArch64::LR", "AArch64::X16", "AArch64::X17", "AArch64::LR"], "File": "AArch64InstrInfo (2)1", "Func": "isMBBSafeToOutlineFrom", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8874, "Length": 336, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TOYInstrInfo", "::", "analyzeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "&", "TBB", ",", "MachineBasicBlock", "*", "&", "FBB", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "bool", "AllowModify", ")", "const", "{", "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": ["TOY", "TOY"], "File": "TOYInstrInfo1", "Func": "analyzeBranch", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8875, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_function_value_regno_p", "(", "const", "unsigned", "int", "regno", ")", "{", "return", "(", "regno", "==", "8", "||", "regno", "==", "32", ")", ";", "}", ""], "natrual_language": ["Handle", "FUNCTION_VALUE_REGNO_P", ".", "On", "the", "SPARC", ",", "the", "first", "``", "output", "''", "reg", "is", "used", "for", "integer", "values", ",", "and", "the", "first", "floating", "point", "register", "is", "used", "for", "floating", "point", "values", "."], "TS_V_token": ["sparc", "8", "32"], "File": "sparc4", "Func": "sparc_function_value_regno_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8876, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_expand_block_move", "(", "rtx", "dest", ",", "rtx", "src", ",", "rtx", "length", ")", "{", "if", "(", "!", "ISA_HAS_LWL_LWR", "&&", "(", "MEM_ALIGN", "(", "src", ")", "<", "MIPS_MIN_MOVE_MEM_ALIGN", "||", "MEM_ALIGN", "(", "dest", ")", "<", "MIPS_MIN_MOVE_MEM_ALIGN", ")", ")", "return", "false", ";", "if", "(", "CONST_INT_P", "(", "length", ")", ")", "{", "if", "(", "INTVAL", "(", "length", ")", "<=", "MIPS_MAX_MOVE_BYTES_STRAIGHT", ")", "{", "mips_block_move_straight", "(", "dest", ",", "src", ",", "INTVAL", "(", "length", ")", ")", ";", "return", "true", ";", "}", "else", "if", "(", "optimize", ")", "{", "mips_block_move_loop", "(", "dest", ",", "src", ",", "INTVAL", "(", "length", ")", ",", "MIPS_MAX_MOVE_BYTES_PER_LOOP_ITER", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Expand", "a", "movmemsi", "instruction", ",", "which", "copies", "LENGTH", "bytes", "from", "memory", "reference", "SRC", "to", "memory", "reference", "DEST", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_expand_block_move", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8877, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc_profile_hook", "(", "int", "labelno", ")", "{", "char", "buf", "[", "32", "]", ";", "rtx", "lab", ",", "fun", ";", "fun", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "MCOUNT_FUNCTION", ")", ";", "if", "(", "NO_PROFILE_COUNTERS", ")", "{", "emit_library_call", "(", "fun", ",", "LCT_NORMAL", ",", "VOIDmode", ",", "0", ")", ";", "}", "else", "{", "ASM_GENERATE_INTERNAL_LABEL", "(", "buf", ",", "\"LP\"", ",", "labelno", ")", ";", "lab", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "ggc_strdup", "(", "buf", ")", ")", ";", "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", "0", "\"LP\"", "1"], "File": "sparc4", "Func": "sparc_profile_hook", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8878, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "X86TargetLowering", "::", "getExceptionSelectorRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "{", "assert", "(", "!", "isFuncletEHPersonality", "(", "classifyEHPersonality", "(", "PersonalityFn", ")", ")", ")", ";", "return", "Subtarget", ".", "isTarget64BitLP64", "(", ")", "?", "X86", "::", "RDX", ":", "X86", "::", "EDX", ";", "}", ""], "natrual_language": ["If", "a", "physical", "register", ",", "this", "returns", "the", "register", "that", "receives", "the", "exception", "typeid", "on", "entry", "to", "a", "landing", "pad", "."], "TS_V_token": ["X86", "X86", "X86::RDX", "X86::EDX"], "File": "X86ISelLowering101", "Func": "getExceptionSelectorRegister", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8879, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "MCAsmParser", "&", "Parser", "=", "getParser", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"ParseInstruction\\n\"", ")", ";", "getTargetStreamer", "(", ")", ".", "forbidModuleDirective", "(", ")", ";", "if", "(", "!", "mnemonicIsValid", "(", "Name", ",", "0", ")", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "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", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "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", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "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", "(", ")", ";", "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", "\"ParseInstruction\\n\"", "0", "\"unknown instruction\"", "MipsOperand::CreateToken", "\"unexpected token in argument list\"", "\"unexpected token in argument list\"", "\"unexpected token in argument list\""], "File": "MipsAsmParser", "Func": "ParseInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8880, "Length": 320, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsConstantIslands", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "mf", ")", "{", "MF", "=", "&", "mf", ";", "MCP", "=", "mf", ".", "getConstantPool", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"constant island machine function \"", "<<", "\"\\n\"", ")", ";", "if", "(", "!", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "inMips16Mode", "(", ")", "||", "!", "MipsSubtarget", "::", "useConstantIslands", "(", ")", ")", "{", "return", "false", ";", "}", "TII", "=", "(", "const", "MipsInstrInfo", "*", ")", "MF", "->", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"constant island processing \"", "<<", "\"\\n\"", ")", ";", "prescanForConstants", "(", ")", ";", "MF", "->", "getRegInfo", "(", ")", ".", "invalidateLiveness", "(", ")", ";", "MF", "->", "RenumberBlocks", "(", ")", ";", "std", "::", "vector", "<", "MachineInstr", "*", ">", "CPEMIs", ";", "if", "(", "!", "MCP", "->", "isEmpty", "(", ")", ")", "doInitialPlacement", "(", "CPEMIs", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "\"constant island machine function \"", "\"\\n\"", "Mips", "Mips", "Mips", "Mips", "\"constant island processing \"", "\"\\n\""], "File": "MipsConstantIslandPass41", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8881, "Length": 137, "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": 8882, "Length": 276, "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": ["MMIX", "\"\"", "\"'\"", "\"'\""], "File": "MMIXAsmParser", "Func": "print", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8883, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "unsigned", "*", "X86RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "bool", "callsEHReturn", "=", "false", ";", "if", "(", "MF", ")", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "const", "MachineModuleInfo", "*", "MMI", "=", "MFI", "->", "getMachineModuleInfo", "(", ")", ";", "callsEHReturn", "=", "(", "MMI", "?", "MMI", "->", "callsEHReturn", "(", ")", ":", "false", ")", ";", "}", "static", "const", "unsigned", "CalleeSavedRegs32Bit", "[", "]", "=", "{", "X86", "::", "ESI", ",", "X86", "::", "EDI", ",", "X86", "::", "EBX", ",", "X86", "::", "EBP", ",", "0", "}", ";", "static", "const", "unsigned", "CalleeSavedRegs32EHRet", "[", "]", "=", "{", "X86", "::", "EAX", ",", "X86", "::", "EDX", ",", "X86", "::", "ESI", ",", "X86", "::", "EDI", ",", "X86", "::", "EBX", ",", "X86", "::", "EBP", ",", "0", "}", ";", "static", "const", "unsigned", "CalleeSavedRegs64Bit", "[", "]", "=", "{", "X86", "::", "RBX", ",", "X86", "::", "R12", ",", "X86", "::", "R13", ",", "X86", "::", "R14", ",", "X86", "::", "R15", ",", "X86", "::", "RBP", ",", "0", "}", ";", "static", "const", "unsigned", "CalleeSavedRegs64EHRet", "[", "]", "=", "{", "X86", "::", "RAX", ",", "X86", "::", "RDX", ",", "X86", "::", "RBX", ",", "X86", "::", "R12", ",", "X86", "::", "R13", ",", "X86", "::", "R14", ",", "X86", "::", "R15", ",", "X86", "::", "RBP", ",", "0", "}", ";", "static", "const", "unsigned", "CalleeSavedRegsWin64", "[", "]", "=", "{", "X86", "::", "RBX", ",", "X86", "::", "RBP", ",", "X86", "::", "RDI", ",", "X86", "::", "RSI", ",", "X86", "::", "R12", ",", "X86", "::", "R13", ",", "X86", "::", "R14", ",", "X86", "::", "R15", ",", "X86", "::", "XMM6", ",", "X86", "::", "XMM7", ",", "X86", "::", "XMM8", ",", "X86", "::", "XMM9", ",", "X86", "::", "XMM10", ",", "X86", "::", "XMM11", ",", "X86", "::", "XMM12", ",", "X86", "::", "XMM13", ",", "X86", "::", "XMM14", ",", "X86", "::", "XMM15", ",", "0", "}", ";", "if", "(", "Is64Bit", ")", "{", "if", "(", "IsWin64", ")", "return", "CalleeSavedRegsWin64", ";", "else", "return", "(", "callsEHReturn", "?", "CalleeSavedRegs64EHRet", ":", "CalleeSavedRegs64Bit", ")", ";", "}", "else", "{", "return", "(", "callsEHReturn", "?", "CalleeSavedRegs32EHRet", ":", "CalleeSavedRegs32Bit", ")", ";", "}", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["X86", "X86", "X86::ESI", "X86::EDI", "X86::EBX", "X86::EBP", "0", "X86::EAX", "X86::EDX", "X86::ESI", "X86::EDI", "X86::EBX", "X86::EBP", "0", "X86::RBX", "X86::R12", "X86::R13", "X86::R14", "X86::R15", "X86::RBP", "0", "X86::RAX", "X86::RDX", "X86::RBX", "X86::R12", "X86::R13", "X86::R14", "X86::R15", "X86::RBP", "0", "X86::RBX", "X86::RBP", "X86::RDI", "X86::RSI", "X86::R12", "X86::R13", "X86::R14", "X86::R15", "X86::XMM6", "X86::XMM7", "X86::XMM8", "X86::XMM9", "X86::XMM10", "X86::XMM11", "X86::XMM12", "X86::XMM13", "X86::XMM14", "X86::XMM15", "0"], "File": "X86RegisterInfo33", "Func": "getCalleeSavedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8884, "Length": 320, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetMachine", "::", "addPostRegAlloc", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "PM", ".", "add", "(", "createMipsExpandPseudoPass", "(", "*", "this", ")", ")", ";", "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": ["Mips", "Mips", "Mips"], "File": "MipsTargetMachine", "Func": "addPostRegAlloc", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8885, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64LowerHomogeneousPE", "::", "run", "(", ")", "{", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "&", "F", ":", "*", "M", ")", "{", "if", "(", "F", ".", "empty", "(", ")", ")", "continue", ";", "MachineFunction", "*", "MF", "=", "MMI", "->", "getMachineFunction", "(", "F", ")", ";", "if", "(", "!", "MF", ")", "continue", ";", "Changed", "|=", "runOnMachineFunction", "(", "*", "MF", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["Run", "the", "analysis", "pass", "over", "a", "function", "and", "produce", "a", "dominator", "tree", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64LowerHomogeneousPrologEpilog", "Func": "run", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8886, "Length": 63, "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": 8887, "Length": 11, "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", "(", "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"], "File": "AArch64RegisterInfo", "Func": "getCallPreservedMask", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8888, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "shouldForceRelocation", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ")", "override", "{", "switch", "(", "(", "Sparc", "::", "Fixups", ")", "Fixup", ".", "getKind", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Sparc", "::", "fixup_sparc_wplt30", ":", "if", "(", "Target", ".", "getSymA", "(", ")", "->", "getSymbol", "(", ")", ".", "isTemporary", "(", ")", ")", "return", "false", ";", "LLVM_FALLTHROUGH", ";", "case", "Sparc", "::", "fixup_sparc_tls_gd_hi22", ":", "case", "Sparc", "::", "fixup_sparc_tls_gd_lo10", ":", "case", "Sparc", "::", "fixup_sparc_tls_gd_add", ":", "case", "Sparc", "::", "fixup_sparc_tls_gd_call", ":", "case", "Sparc", "::", "fixup_sparc_tls_ldm_hi22", ":", "case", "Sparc", "::", "fixup_sparc_tls_ldm_lo10", ":", "case", "Sparc", "::", "fixup_sparc_tls_ldm_add", ":", "case", "Sparc", "::", "fixup_sparc_tls_ldm_call", ":", "case", "Sparc", "::", "fixup_sparc_tls_ldo_hix22", ":", "case", "Sparc", "::", "fixup_sparc_tls_ldo_lox10", ":", "case", "Sparc", "::", "fixup_sparc_tls_ldo_add", ":", "case", "Sparc", "::", "fixup_sparc_tls_ie_hi22", ":", "case", "Sparc", "::", "fixup_sparc_tls_ie_lo10", ":", "case", "Sparc", "::", "fixup_sparc_tls_ie_ld", ":", "case", "Sparc", "::", "fixup_sparc_tls_ie_ldx", ":", "case", "Sparc", "::", "fixup_sparc_tls_ie_add", ":", "case", "Sparc", "::", "fixup_sparc_tls_le_hix22", ":", "case", "Sparc", "::", "fixup_sparc_tls_le_lox10", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Hook", "to", "check", "if", "a", "relocation", "is", "needed", "for", "some", "target", "specific", "reason", "."], "TS_V_token": ["Sparc", "Sparc::Fixups", "Sparc::fixup_sparc_wplt30", "Sparc::fixup_sparc_tls_gd_hi22", "Sparc::fixup_sparc_tls_gd_lo10", "Sparc::fixup_sparc_tls_gd_add", "Sparc::fixup_sparc_tls_gd_call", "Sparc::fixup_sparc_tls_ldm_hi22", "Sparc::fixup_sparc_tls_ldm_lo10", "Sparc::fixup_sparc_tls_ldm_add", "Sparc::fixup_sparc_tls_ldm_call", "Sparc::fixup_sparc_tls_ldo_hix22", "Sparc::fixup_sparc_tls_ldo_lox10", "Sparc::fixup_sparc_tls_ldo_add", "Sparc::fixup_sparc_tls_ie_hi22", "Sparc::fixup_sparc_tls_ie_lo10", "Sparc::fixup_sparc_tls_ie_ld", "Sparc::fixup_sparc_tls_ie_ldx", "Sparc::fixup_sparc_tls_ie_add", "Sparc::fixup_sparc_tls_le_hix22", "Sparc::fixup_sparc_tls_le_lox10"], "File": "SparcAsmBackend1", "Func": "shouldForceRelocation", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8889, "Length": 160, "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": 8890, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pru_can_use_doloop_p", "(", "const", "widest_int", "&", ",", "const", "widest_int", "&", "iterations_max", ",", "unsigned", "int", "loop_depth", ",", "bool", ")", "{", "if", "(", "loop_depth", ">", "1", ")", "return", "false", ";", "if", "(", "iterations_max", "==", "0", "||", "wi", "::", "geu_p", "(", "iterations_max", ",", "0xffff", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CAN_USE_DOLOOP_P", "."], "TS_V_token": ["pru", "1", "0", "0xffff"], "File": "pru", "Func": "pru_can_use_doloop_p", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8891, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SystemZConstantPoolValue", "*", "SystemZConstantPoolValue", "::", "Create", "(", "const", "GlobalValue", "*", "GV", ",", "SystemZCP", "::", "SystemZCPModifier", "Modifier", ")", "{", "return", "new", "SystemZConstantPoolValue", "(", "GV", ",", "Modifier", ")", ";", "}", ""], "natrual_language": ["Construct", "a", "unary", "instruction", ",", "given", "the", "opcode", "and", "an", "operand", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZCP::SystemZCPModifier", "SystemZ"], "File": "SystemZConstantPoolValue", "Func": "Create", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8892, "Length": 27, "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_12BIT_OFFSET_P", "(", "INTVAL", "(", "addr", ".", "offset", ")", ")", ")", "||", "addr", ".", "type", "==", "ADDRESS_LO_SUM", ")", ")", ";", "}", ""], "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": "loongarch1", "Func": "loongarch_12bit_offset_address_p", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8893, "Length": 63, "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": 8894, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsFrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "MachineBasicBlock", "*", "EntryBlock", "=", "MF", "->", "begin", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", "->", "getTarget", "(", ")", ".", "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", "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"], "File": "MipsFrameLowering14", "Func": "spillCalleeSavedRegisters", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8895, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetTransformInfo", "::", "PopcntSupportKind", "getPopcntSupport", "(", "unsigned", "TyWidth", ")", "{", "if", "(", "TyWidth", "==", "32", ")", "return", "TTI", "::", "PSK_FastHardware", ";", "return", "TTI", "::", "PSK_Software", ";", "}", ""], "natrual_language": ["Return", "hardware", "support", "for", "population", "count", "."], "TS_V_token": ["DLX", "32"], "File": "DLXTargetTransformInfo", "Func": "getPopcntSupport", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8896, "Length": 26, "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": 8897, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiAsmPrinter", "::", "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": ["Lanai", "Lanai"], "File": "LanaiAsmPrinter", "Func": "EmitInstruction", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8898, "Length": 83, "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", "(", "\"r6\"", ",", "ARM", "::", "R6", ")", ".", "Case", "(", "\"r7\"", ",", "ARM", "::", "R7", ")", ".", "Case", "(", "\"r8\"", ",", "ARM", "::", "R8", ")", ".", "Case", "(", "\"r9\"", ",", "ARM", "::", "R9", ")", ".", "Case", "(", "\"r10\"", ",", "ARM", "::", "R10", ")", ".", "Case", "(", "\"r11\"", ",", "ARM", "::", "R11", ")", ".", "Case", "(", "\"sp\"", ",", "ARM", "::", "SP", ")", ".", "Default", "(", "ARM", "::", "NoRegister", ")", ";", "if", "(", "Reg", "!=", "ARM", "::", "NoRegister", ")", "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", "\"r6\"", "ARM::R6", "\"r7\"", "ARM::R7", "\"r8\"", "ARM::R8", "\"r9\"", "ARM::R9", "\"r10\"", "ARM::R10", "\"r11\"", "ARM::R11", "\"sp\"", "ARM::SP", "ARM::NoRegister", "ARM::NoRegister", "\"Invalid register name \\\"\"", "\"\\\".\""], "File": "ARMISelLowering180", "Func": "getRegisterByName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8899, "Length": 128, "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": 8900, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSymbol", "*", "MipsELFStreamer", "::", "emitCFILabel", "(", ")", "{", "MCSymbol", "*", "Label", "=", "getContext", "(", ")", ".", "createTempSymbol", "(", "\"cfi\"", ",", "true", ")", ";", "MCELFStreamer", "::", "emitLabel", "(", "Label", ")", ";", "return", "Label", ";", "}", ""], "natrual_language": ["When", "emitting", "an", "object", "file", ",", "create", "and", "emit", "a", "real", "label", "."], "TS_V_token": ["Mips", "Mips", "\"cfi\""], "File": "MipsELFStreamer19", "Func": "emitCFILabel", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8901, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_bitmask_imm", "(", "HOST_WIDE_INT", "val_in", ",", "machine_mode", "mode", ")", "{", "unsigned", "HOST_WIDE_INT", "val", ",", "tmp", ",", "mask", ",", "first_one", ",", "next_one", ";", "int", "bits", ";", "val", "=", "aarch64_replicate_bitmask_imm", "(", "val_in", ",", "mode", ")", ";", "tmp", "=", "val", "+", "(", "val", "&", "-", "val", ")", ";", "if", "(", "tmp", "==", "(", "tmp", "&", "-", "tmp", ")", ")", "return", "(", "val", "+", "1", ")", ">", "1", ";", "if", "(", "mode", "==", "SImode", ")", "val", "=", "(", "val", "<<", "32", ")", "|", "(", "val", "&", "0xffffffff", ")", ";", "if", "(", "val", "&", "1", ")", "val", "=", "~", "val", ";", "first_one", "=", "val", "&", "-", "val", ";", "tmp", "=", "val", "&", "(", "val", "+", "first_one", ")", ";", "if", "(", "tmp", "==", "0", ")", "return", "true", ";", "next_one", "=", "tmp", "&", "-", "tmp", ";", "bits", "=", "clz_hwi", "(", "first_one", ")", "-", "clz_hwi", "(", "next_one", ")", ";", "mask", "=", "val", "^", "tmp", ";", "if", "(", "(", "mask", ">>", "bits", ")", "!=", "0", "||", "bits", "!=", "(", "bits", "&", "-", "bits", ")", ")", "return", "false", ";", "return", "val", "==", "mask", "*", "bitmask_imm_mul", "[", "__builtin_clz", "(", "bits", ")", "-", "26", "]", ";", "}", ""], "natrual_language": ["Return", "true", "if", "val", "is", "a", "valid", "bitmask", "immediate", "."], "TS_V_token": ["aarch64", "1", "1", "32", "0xffffffff", "1", "0", "0", "26"], "File": "aarch64", "Func": "aarch64_bitmask_imm", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8902, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64Subtarget", "&", "AArch64Subtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "FS", ",", "StringRef", "CPUString", ",", "StringRef", "TuneCPUString", ")", "{", "if", "(", "CPUString", ".", "empty", "(", ")", ")", "CPUString", "=", "\"generic\"", ";", "if", "(", "TuneCPUString", ".", "empty", "(", ")", ")", "TuneCPUString", "=", "CPUString", ";", "ParseSubtargetFeatures", "(", "CPUString", ",", "TuneCPUString", ",", "FS", ")", ";", "initializeProperties", "(", ")", ";", "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": ["AArch64", "AArch64", "AArch64", "\"generic\""], "File": "AArch64Subtarget", "Func": "initializeSubtargetDependencies", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8903, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "csky_compute_pushpop_length", "(", "rtx", "*", "operands", ")", "{", "rtx", "parallel_op", "=", "operands", "[", "2", "]", ";", "unsigned", "indx", "=", "XVECLEN", "(", "parallel_op", ",", "0", ")", "-", "1", ";", "unsigned", "first_indx", "=", "0", ";", "unsigned", "regno", "=", "REGNO", "(", "operands", "[", "1", "]", ")", ";", "if", "(", "regno", ">", "CSKY_LR_REGNUM", ")", "return", "4", ";", "for", "(", ";", "indx", ">", "first_indx", ";", "indx", "--", ")", "{", "regno", "=", "REGNO", "(", "XEXP", "(", "XVECEXP", "(", "parallel_op", ",", "0", ",", "indx", ")", ",", "0", ")", ")", ";", "if", "(", "regno", ">", "CSKY_LR_REGNUM", ")", "return", "4", ";", "}", "return", "2", ";", "}", ""], "natrual_language": ["Compute", "the", "attribute", "``", "length", "''", "of", "push", "or", "pop", "insn", ",", "according", "to", "the", "registers", "it", "uses", "."], "TS_V_token": ["csky", "2", "0", "1", "0", "1", "4", "0", "0", "4", "2"], "File": "csky", "Func": "csky_compute_pushpop_length", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8904, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "buildLoad", "(", "unsigned", "Val", ",", "unsigned", "Addr", ",", "uint64_t", "Size", ",", "unsigned", "Alignment", ",", "MachinePointerInfo", "&", "MPO", ")", "{", "MachineMemOperand", "*", "MMO", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getMachineMemOperand", "(", "MPO", ",", "MachineMemOperand", "::", "MOLoad", ",", "Size", ",", "Alignment", ")", ";", "MIRBuilder", ".", "buildLoad", "(", "Val", ",", "Addr", ",", "*", "MMO", ")", ";", "}", ""], "natrual_language": ["Build", "and", "insert", "a", "G_LOAD", "instruction", ",", "while", "constructing", "the", "MachineMemOperand", "."], "TS_V_token": ["Mips"], "File": "MipsCallLowering", "Func": "buildLoad", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8905, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "VEInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "Register", "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", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", "->", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "*", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "if", "(", "RC", "==", "&", "VE", "::", "I64RegClass", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "VE", "::", "STSri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", "else", "if", "(", "RC", "==", "&", "VE", "::", "I32RegClass", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "VE", "::", "STLri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", "else", "if", "(", "RC", "==", "&", "VE", "::", "F32RegClass", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "VE", "::", "STUri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", "else", "report_fatal_error", "(", "\"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": ["VE", "VE", "VE::I64RegClass", "VE::STSri", "0", "VE::I32RegClass", "VE::STLri", "0", "VE::F32RegClass", "VE::STUri", "0", "\"Can't store this register to stack slot\""], "File": "VEInstrInfo15", "Func": "storeRegToStackSlot", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8906, "Length": 279, "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", ")", "{", "rtx", "op", "=", "recog_data", ".", "operand", "[", "i", "]", ";", "if", "(", "MEM_P", "(", "op", ")", ")", "{", "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", ";", "}", "int", "len", "=", "memory_address_length", "(", "XEXP", "(", "op", ",", "0", ")", ",", "false", ")", ";", "if", "(", "!", "ADDR_SPACE_GENERIC_P", "(", "MEM_ADDR_SPACE", "(", "op", ")", ")", ")", "len", "++", ";", "return", "len", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["Compute", "default", "value", "for", "``", "length_address", "''", "attribute", "."], "TS_V_token": ["i386", "0", "0", "1", "0", "1", "0", "0", "0"], "File": "i386", "Func": "ix86_attr_length_address_default", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8907, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SmallVectorImpl", "<", "MachineBasicBlock", "*", ">", "&", "getOrder", "(", ")", "const", "{", "return", "Order", ";", "}", ""], "natrual_language": ["Returns", "the", "SDNodeOrder", "."], "TS_V_token": ["ARM"], "File": "ARMLowOverheadLoops", "Func": "getOrder", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8908, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "*", "ARMBaseInstrInfo", "::", "CreateTargetHazardRecognizer", "(", "const", "TargetMachine", "*", "TM", ",", "const", "ScheduleDAG", "*", "DAG", ")", "const", "{", "if", "(", "usePreRAHazardRecognizer", "(", ")", ")", "{", "const", "InstrItineraryData", "*", "II", "=", "TM", "->", "getInstrItineraryData", "(", ")", ";", "return", "new", "ScoreboardHazardRecognizer", "(", "II", ",", "DAG", ",", "\"pre-RA-sched\"", ")", ";", "}", "return", "TargetInstrInfo", "::", "CreateTargetHazardRecognizer", "(", "TM", ",", "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": ["ARM", "ARM", "\"pre-RA-sched\""], "File": "ARMBaseInstrInfo (2)", "Func": "CreateTargetHazardRecognizer", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8909, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "get_dest_uid", "(", "rtx", "label", ",", "int", "max_uid", ")", "{", "rtx_insn", "*", "dest", "=", "next_real_insn", "(", "label", ")", ";", "if", "(", "!", "dest", ")", "return", "0", ";", "int", "dest_uid", "=", "INSN_UID", "(", "dest", ")", ";", "while", "(", "dest_uid", ">=", "max_uid", ")", "{", "dest", "=", "NEXT_INSN", "(", "dest", ")", ";", "dest_uid", "=", "INSN_UID", "(", "dest", ")", ";", "}", "if", "(", "JUMP_P", "(", "dest", ")", "&&", "GET_CODE", "(", "PATTERN", "(", "dest", ")", ")", "==", "RETURN", ")", "return", "0", ";", "return", "dest_uid", ";", "}", ""], "natrual_language": ["Return", "the", "UID", "of", "the", "insn", "that", "follows", "the", "specified", "label", "."], "TS_V_token": ["sh", "0", "0"], "File": "sh6", "Func": "get_dest_uid", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8910, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"ARM Indirect Thunks\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"ARM Indirect Thunks\""], "File": "ARMSLSHardening", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8911, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsInstrInfo", "::", "getGlobalBaseReg", "(", "MachineFunction", "*", "MF", ")", "const", "{", "MipsFunctionInfo", "*", "MipsFI", "=", "MF", "->", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "unsigned", "GlobalBaseReg", "=", "MipsFI", "->", "getGlobalBaseReg", "(", ")", ";", "if", "(", "GlobalBaseReg", "!=", "0", ")", "return", "GlobalBaseReg", ";", "MachineBasicBlock", "&", "FirstMBB", "=", "MF", "->", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "FirstMBB", ".", "begin", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", "->", "getRegInfo", "(", ")", ";", "const", "TargetInstrInfo", "*", "TII", "=", "MF", "->", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "GlobalBaseReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "Mips", "::", "CPURegsRegisterClass", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "GlobalBaseReg", ")", ".", "addReg", "(", "Mips", "::", "GP", ")", ";", "RegInfo", ".", "addLiveIn", "(", "Mips", "::", "GP", ")", ";", "MipsFI", "->", "setGlobalBaseReg", "(", "GlobalBaseReg", ")", ";", "return", "GlobalBaseReg", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "0", "Mips::CPURegsRegisterClass", "Mips::GP", "Mips::GP", "Mips"], "File": "MipsInstrInfo11", "Func": "getGlobalBaseReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8912, "Length": 148, "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": 8913, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "rtx_code", "arm_canonicalize_comparison", "(", "enum", "rtx_code", "code", ",", "enum", "machine_mode", "mode", ",", "rtx", "*", "op1", ")", "{", "unsigned", "HOST_WIDE_INT", "i", "=", "INTVAL", "(", "*", "op1", ")", ";", "unsigned", "HOST_WIDE_INT", "maxval", ";", "maxval", "=", "(", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "1", ")", "<<", "(", "GET_MODE_BITSIZE", "(", "mode", ")", "-", "1", ")", ")", "-", "1", ";", "switch", "(", "code", ")", "{", "case", "EQ", ":", "case", "NE", ":", "return", "code", ";", "case", "GT", ":", "case", "LE", ":", "if", "(", "i", "!=", "maxval", "&&", "(", "const_ok_for_arm", "(", "i", "+", "1", ")", "||", "const_ok_for_arm", "(", "-", "(", "i", "+", "1", ")", ")", ")", ")", "{", "*", "op1", "=", "GEN_INT", "(", "i", "+", "1", ")", ";", "return", "code", "==", "GT", "?", "GE", ":", "LT", ";", "}", "break", ";", "case", "GE", ":", "case", "LT", ":", "if", "(", "i", "!=", "~", "maxval", "&&", "(", "const_ok_for_arm", "(", "i", "-", "1", ")", "||", "const_ok_for_arm", "(", "-", "(", "i", "-", "1", ")", ")", ")", ")", "{", "*", "op1", "=", "GEN_INT", "(", "i", "-", "1", ")", ";", "return", "code", "==", "GE", "?", "GT", ":", "LE", ";", "}", "break", ";", "case", "GTU", ":", "case", "LEU", ":", "if", "(", "i", "!=", "~", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "0", ")", "&&", "(", "const_ok_for_arm", "(", "i", "+", "1", ")", "||", "const_ok_for_arm", "(", "-", "(", "i", "+", "1", ")", ")", ")", ")", "{", "*", "op1", "=", "GEN_INT", "(", "i", "+", "1", ")", ";", "return", "code", "==", "GTU", "?", "GEU", ":", "LTU", ";", "}", "break", ";", "case", "GEU", ":", "case", "LTU", ":", "if", "(", "i", "!=", "0", "&&", "(", "const_ok_for_arm", "(", "i", "-", "1", ")", "||", "const_ok_for_arm", "(", "-", "(", "i", "-", "1", ")", ")", ")", ")", "{", "*", "op1", "=", "GEN_INT", "(", "i", "-", "1", ")", ";", "return", "code", "==", "GEU", "?", "GTU", ":", "LEU", ";", "}", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "code", ";", "}", ""], "natrual_language": ["Canonicalize", "a", "comparison", "so", "that", "we", "are", "more", "likely", "to", "recognize", "it", ".", "This", "can", "be", "done", "for", "a", "few", "constant", "compares", ",", "where", "we", "can", "make", "the", "immediate", "value", "easier", "to", "load", "."], "TS_V_token": ["arm", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "1", "0", "1", "1", "1"], "File": "arm3", "Func": "arm_canonicalize_comparison", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8914, "Length": 303, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_restore_callee_saves", "(", "machine_mode", "mode", ",", "HOST_WIDE_INT", "start_offset", ",", "unsigned", "start", ",", "unsigned", "limit", ",", "bool", "skip_wb", ",", "rtx", "*", "cfi_ops", ")", "{", "rtx", "base_rtx", "=", "stack_pointer_rtx", ";", "rtx", "(", "*", "gen_mem_ref", ")", "(", "machine_mode", ",", "rtx", ")", "=", "(", "frame_pointer_needed", "?", "gen_frame_mem", ":", "gen_rtx_MEM", ")", ";", "unsigned", "regno", ";", "unsigned", "regno2", ";", "HOST_WIDE_INT", "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_mem_ref", "(", "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_mem_ref", "(", "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": "aarch644", "Func": "aarch64_restore_callee_saves", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8915, "Length": 327, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "useMachineCombiner", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "when", "a", "target", "supports", "MachineCombiner", "."], "TS_V_token": ["X86"], "File": "X86InstrInfo (2)", "Func": "useMachineCombiner", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8916, "Length": 11, "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": 8917, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "enableShrinkWrapping", "(", "const", "MachineFunction", "&", "MF", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "will", "correctly", "handle", "shrink", "wrapping", "."], "TS_V_token": ["ARM"], "File": "ARMFrameLowering (2)", "Func": "enableShrinkWrapping", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8918, "Length": 15, "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": 8919, "Length": 502, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "decide_alignment", "(", "int", "align", ",", "enum", "stringop_alg", "alg", ",", "int", "expected_size", ",", "machine_mode", "move_mode", ")", "{", "int", "desired_align", "=", "0", ";", "gcc_assert", "(", "alg", "!=", "no_stringop", ")", ";", "if", "(", "alg", "==", "libcall", ")", "return", "0", ";", "if", "(", "move_mode", "==", "VOIDmode", ")", "return", "0", ";", "desired_align", "=", "GET_MODE_SIZE", "(", "move_mode", ")", ";", "if", "(", "TARGET_CPU_P", "(", "PENTIUMPRO", ")", "&&", "(", "alg", "==", "rep_prefix_4_byte", "||", "alg", "==", "rep_prefix_1_byte", ")", ")", "desired_align", "=", "8", ";", "if", "(", "optimize_size", ")", "desired_align", "=", "1", ";", "if", "(", "desired_align", "<", "align", ")", "desired_align", "=", "align", ";", "if", "(", "expected_size", "!=", "-", "1", "&&", "expected_size", "<", "4", ")", "desired_align", "=", "align", ";", "return", "desired_align", ";", "}", ""], "natrual_language": ["Decide", "on", "alignment", ".", "We", "know", "that", "the", "operand", "is", "already", "aligned", "to", "ALIGN", "(", "ALIGN", "can", "be", "based", "on", "profile", "feedback", "and", "thus", "it", "is", "not", "100", "%", "guaranteed", ")", "."], "TS_V_token": ["i386", "0", "0", "0", "8", "1", "1", "4"], "File": "i386-expand", "Func": "decide_alignment", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8920, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "bool", "isKMasked", "(", "uint64_t", "TSFlags", ")", "{", "return", "(", "TSFlags", "&", "X86II", "::", "EVEX_K", ")", "!=", "0", ";", "}", ""], "natrual_language": ["Returns", "true", "iff", "the", "group", "of", "FMA", "opcodes", "holds", "any", "of", "k-masked", "opcodes", "."], "TS_V_token": ["X86", "X86II::EVEX_K", "0"], "File": "X86BaseInfo11", "Func": "isKMasked", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8921, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_output_function_prologue", "(", "FILE", "*", "file", ")", "{", "const", "char", "*", "fnname", ";", "if", "(", "TARGET_MIPS16", "&&", "TARGET_HARD_FLOAT_ABI", "&&", "crtl", "->", "args", ".", "info", ".", "fp_code", "!=", "0", ")", "mips16_build_function_stub", "(", ")", ";", "fnname", "=", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "current_function_decl", ")", ",", "0", ")", ",", "0", ")", ";", "mips_start_function_definition", "(", "fnname", ",", "TARGET_MIPS16", ")", ";", "if", "(", "!", "flag_inhibit_size_directive", ")", "{", "const", "struct", "mips_frame_info", "*", "frame", ";", "frame", "=", "&", "cfun", "->", "machine", "->", "frame", ";", "fprintf", "(", "file", ",", "\"\\t.frame\\t%s,\"", "HOST_WIDE_INT_PRINT_DEC", "\",%s\\t\\t\"", "\"# vars= \"", "HOST_WIDE_INT_PRINT_DEC", "\", regs= %d/%d\"", "\", args= \"", "HOST_WIDE_INT_PRINT_DEC", "\", gp= \"", "HOST_WIDE_INT_PRINT_DEC", "\"\\n\"", ",", "reg_names", "[", "frame_pointer_needed", "?", "HARD_FRAME_POINTER_REGNUM", ":", "STACK_POINTER_REGNUM", "]", ",", "(", "frame_pointer_needed", "?", "frame", "->", "total_size", "-", "frame", "->", "hard_frame_pointer_offset", ":", "frame", "->", "total_size", ")", ",", "reg_names", "[", "RETURN_ADDR_REGNUM", "]", ",", "frame", "->", "var_size", ",", "frame", "->", "num_gp", ",", "frame", "->", "num_fp", ",", "frame", "->", "args_size", ",", "frame", "->", "cprestore_size", ")", ";", "fprintf", "(", "file", ",", "\"\\t.mask\\t0x%08x,\"", "HOST_WIDE_INT_PRINT_DEC", "\"\\n\"", ",", "frame", "->", "mask", ",", "frame", "->", "gp_save_offset", ")", ";", "fprintf", "(", "file", ",", "\"\\t.fmask\\t0x%08x,\"", "HOST_WIDE_INT_PRINT_DEC", "\"\\n\"", ",", "frame", "->", "fmask", ",", "frame", "->", "fp_save_offset", ")", ";", "}", "if", "(", "mips_must_initialize_gp_p", "(", ")", "&&", "mips_current_loadgp_style", "(", ")", "==", "LOADGP_OLDABI", ")", "{", "if", "(", "TARGET_MIPS16", ")", "{", "output_asm_insn", "(", "\"li\\t$2,%%hi(_gp_disp)\"", ",", "0", ")", ";", "output_asm_insn", "(", "\"addiu\\t$3,$pc,%%lo(_gp_disp)\"", ",", "0", ")", ";", "output_asm_insn", "(", "\"sll\\t$2,16\"", ",", "0", ")", ";", "output_asm_insn", "(", "\"addu\\t$2,$3\"", ",", "0", ")", ";", "}", "else", "{", "mips_push_asm_switch", "(", "&", "mips_noreorder", ")", ";", "output_asm_insn", "(", "\".cpload\\t%^\"", ",", "0", ")", ";", "if", "(", "!", "cfun", "->", "machine", "->", "all_noreorder_p", ")", "mips_pop_asm_switch", "(", "&", "mips_noreorder", ")", ";", "else", "mips_push_asm_switch", "(", "&", "mips_nomacro", ")", ";", "}", "}", "else", "if", "(", "cfun", "->", "machine", "->", "all_noreorder_p", ")", "{", "mips_push_asm_switch", "(", "&", "mips_noreorder", ")", ";", "mips_push_asm_switch", "(", "&", "mips_nomacro", ")", ";", "}", "mips_output_cplocal", "(", ")", ";", "}", ""], "natrual_language": ["Set", "up", "the", "stack", "and", "frame", "(", "if", "desired", ")", "for", "the", "function", "."], "TS_V_token": ["mips", "0", "0", "0", "\"\\t.frame\\t%s,\"", "\",%s\\t\\t\"", "\"# vars= \"", "\", regs= %d/%d\"", "\", args= \"", "\", gp= \"", "\"\\n\"", "\"\\t.mask\\t0x%08x,\"", "\"\\n\"", "\"\\t.fmask\\t0x%08x,\"", "\"\\n\"", "\"li\\t$2,%%hi(_gp_disp)\"", "0", "\"addiu\\t$3,$pc,%%lo(_gp_disp)\"", "0", "\"sll\\t$2,16\"", "0", "\"addu\\t$2,$3\"", "0", "\".cpload\\t%^\"", "0"], "File": "mips", "Func": "mips_output_function_prologue", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8922, "Length": 295, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ARMGNULDBackend", "&", "getTarget", "(", ")", "const", "{", "return", "m_Target", ";", "}", ""], "natrual_language": ["getTarget", "-", "Return", "the", "target", "machine", "this", "machine", "code", "is", "compiled", "with"], "TS_V_token": ["ARM", "ARM"], "File": "ARMRelocator", "Func": "getTarget", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8923, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "AZPRSubtarget", "*", "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": ["AZPR", "AZPR"], "File": "AZPRTargetMachine", "Func": "getSubtargetImpl", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8924, "Length": 14, "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": 8925, "Length": 140, "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": 8926, "Length": 59, "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 \"", "<<", "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": ["Mips", "Mips", "4", "\"Branch of destination \"", "\" from \"", "\" max delta=\"", "\" from \"", "\" to \"", "\" offset \"", "\"\\t\""], "File": "MipsConstantIslandPass2", "Func": "isBBInRange", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8927, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "LanaiInstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["Lanai", "Lanai"], "File": "LanaiSubtarget", "Func": "getInstrInfo", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8928, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "PPCRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AnyReg", ")", "{", "if", "(", "Subtarget", ".", "hasVSX", "(", ")", ")", "return", "CSR_64_AllRegs_VSX_SaveList", ";", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "CSR_64_AllRegs_Altivec_SaveList", ";", "return", "CSR_64_AllRegs_SaveList", ";", "}", "if", "(", "Subtarget", ".", "isDarwinABI", "(", ")", ")", "return", "TM", ".", "isPPC64", "(", ")", "?", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_Darwin64_Altivec_SaveList", ":", "CSR_Darwin64_SaveList", ")", ":", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_Darwin32_Altivec_SaveList", ":", "CSR_Darwin32_SaveList", ")", ";", "if", "(", "TM", ".", "isPPC64", "(", ")", "&&", "MF", "->", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", "->", "isSplitCSR", "(", ")", ")", "return", "CSR_SRV464_TLS_PE_SaveList", ";", "bool", "SaveR2", "=", "MF", "->", "getRegInfo", "(", ")", ".", "isAllocatable", "(", "PPC", "::", "X2", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "Cold", ")", "{", "return", "TM", ".", "isPPC64", "(", ")", "?", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "(", "SaveR2", "?", "CSR_SVR64_ColdCC_R2_Altivec_SaveList", ":", "CSR_SVR64_ColdCC_Altivec_SaveList", ")", ":", "(", "SaveR2", "?", "CSR_SVR64_ColdCC_R2_SaveList", ":", "CSR_SVR64_ColdCC_SaveList", ")", ")", ":", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_SVR32_ColdCC_Altivec_SaveList", ":", "CSR_SVR32_ColdCC_SaveList", ")", ";", "}", "return", "TM", ".", "isPPC64", "(", ")", "?", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "(", "SaveR2", "?", "CSR_SVR464_R2_Altivec_SaveList", ":", "CSR_SVR464_Altivec_SaveList", ")", ":", "(", "SaveR2", "?", "CSR_SVR464_R2_SaveList", ":", "CSR_SVR464_SaveList", ")", ")", ":", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_SVR432_Altivec_SaveList", ":", "CSR_SVR432_SaveList", ")", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC::X2", "PPC", "PPC"], "File": "PPCRegisterInfo27", "Func": "getCalleeSavedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8929, "Length": 255, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LC3RegisterInfo", "::", "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": ["LC3", "LC3"], "File": "LC3RegisterInfo", "Func": "requiresRegisterScavenging", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8930, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Mandarin DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mandarin", "\"Mandarin DAG->DAG Pattern Instruction Selection\""], "File": "MandarinISelDAGToDAG", "Func": "getPassName", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8931, "Length": 13, "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": 8932, "Length": 234, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsRegisterInfo", "::", "getPICCallReg", "(", ")", "{", "return", "Mips", "::", "T9", ";", "}", ""], "natrual_language": ["Get", "PIC", "indirect", "call", "register", "."], "TS_V_token": ["Mips", "Mips", "Mips::T9"], "File": "MipsRegisterInfo (2)1", "Func": "getPICCallReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8933, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "union_defs", "(", "swap_web_entry", "*", "insn_entry", ",", "rtx", "insn", ",", "df_ref", "use", ")", "{", "struct", "df_link", "*", "link", "=", "DF_REF_CHAIN", "(", "use", ")", ";", "if", "(", "!", "link", ")", "insn_entry", "[", "INSN_UID", "(", "insn", ")", "]", ".", "is_live_in", "=", "1", ";", "while", "(", "link", ")", "{", "if", "(", "DF_REF_IS_ARTIFICIAL", "(", "link", "->", "ref", ")", ")", "insn_entry", "[", "INSN_UID", "(", "insn", ")", "]", ".", "is_live_in", "=", "1", ";", "if", "(", "DF_REF_INSN_INFO", "(", "link", "->", "ref", ")", ")", "{", "rtx", "def_insn", "=", "DF_REF_INSN", "(", "link", "->", "ref", ")", ";", "(", "void", ")", "unionfind_union", "(", "insn_entry", "+", "INSN_UID", "(", "insn", ")", ",", "insn_entry", "+", "INSN_UID", "(", "def_insn", ")", ")", ";", "}", "link", "=", "link", "->", "next", ";", "}", "}", ""], "natrual_language": ["Union", "INSN", "with", "all", "insns", "containing", "definitions", "that", "reach", "USE", ".", "Detect", "whether", "USE", "is", "live-in", "to", "the", "current", "function", "."], "TS_V_token": ["powerpcspe", "1", "1"], "File": "powerpcspe", "Func": "union_defs", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8934, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emit_safe_across_calls", "(", "void", ")", "{", "unsigned", "int", "rs", ",", "re", ";", "int", "out_state", ";", "rs", "=", "1", ";", "out_state", "=", "0", ";", "while", "(", "1", ")", "{", "while", "(", "rs", "<", "64", "&&", "call_used_regs", "[", "PR_REG", "(", "rs", ")", "]", ")", "rs", "++", ";", "if", "(", "rs", ">=", "64", ")", "break", ";", "for", "(", "re", "=", "rs", "+", "1", ";", "re", "<", "64", "&&", "!", "call_used_regs", "[", "PR_REG", "(", "re", ")", "]", ";", "re", "++", ")", "continue", ";", "if", "(", "out_state", "==", "0", ")", "{", "fputs", "(", "\"\\t.pred.safe_across_calls \"", ",", "asm_out_file", ")", ";", "out_state", "=", "1", ";", "}", "else", "fputc", "(", "','", ",", "asm_out_file", ")", ";", "if", "(", "re", "==", "rs", "+", "1", ")", "fprintf", "(", "asm_out_file", ",", "\"p%u\"", ",", "rs", ")", ";", "else", "fprintf", "(", "asm_out_file", ",", "\"p%u-p%u\"", ",", "rs", ",", "re", "-", "1", ")", ";", "rs", "=", "re", "+", "1", ";", "}", "if", "(", "out_state", ")", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "}", ""], "natrual_language": ["Begin", "the", "assembly", "file", "."], "TS_V_token": ["ia64", "1", "0", "1", "64", "64", "1", "64", "0", "\"\\t.pred.safe_across_calls \"", "1", "1", "\"p%u\"", "\"p%u-p%u\"", "1", "1"], "File": "ia643", "Func": "emit_safe_across_calls", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8935, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSEInstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "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", "::", "PseudoMFHI", ":", "Opc", "=", "isMicroMips", "?", "Mips", "::", "MFHI16_MM", ":", "Mips", "::", "MFHI", ";", "expandPseudoMFHiLo", "(", "MBB", ",", "MI", ",", "Opc", ")", ";", "break", ";", "case", "Mips", "::", "PseudoMFLO", ":", "Opc", "=", "isMicroMips", "?", "Mips", "::", "MFLO16_MM", ":", "Mips", "::", "MFLO", ";", "expandPseudoMFHiLo", "(", "MBB", ",", "MI", ",", "Opc", ")", ";", "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", ":", "expandCvtFPInt", "(", "MBB", ",", "MI", ",", "Mips", "::", "CVT_D32_W", ",", "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", ":", "expandCvtFPInt", "(", "MBB", ",", "MI", ",", "Mips", "::", "CVT_D64_W", ",", "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", ",", "false", ")", ";", "break", ";", "case", "Mips", "::", "BuildPairF64_64", ":", "expandBuildPairF64", "(", "MBB", ",", "MI", ",", "true", ")", ";", "break", ";", "case", "Mips", "::", "ExtractElementF64", ":", "expandExtractElementF64", "(", "MBB", ",", "MI", ",", "false", ")", ";", "break", ";", "case", "Mips", "::", "ExtractElementF64_64", ":", "expandExtractElementF64", "(", "MBB", ",", "MI", ",", "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::PseudoMFHI", "Mips", "Mips::MFHI16_MM", "Mips::MFHI", "Mips::PseudoMFLO", "Mips", "Mips::MFLO16_MM", "Mips::MFLO", "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::CVT_D32_W", "Mips::MTC1", "Mips::PseudoCVT_S_L", "Mips::CVT_S_L", "Mips::DMTC1", "Mips::PseudoCVT_D64_W", "Mips::CVT_D64_W", "Mips::MTC1", "Mips::PseudoCVT_D64_L", "Mips::CVT_D64_L", "Mips::DMTC1", "Mips::BuildPairF64", "Mips::BuildPairF64_64", "Mips::ExtractElementF64", "Mips::ExtractElementF64_64", "Mips::MIPSeh_return32", "Mips::MIPSeh_return64"], "File": "MipsSEInstrInfo", "Func": "expandPostRAPseudo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8936, "Length": 446, "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", "{", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "if", "(", "Kind", ">=", "FirstLiteralRelocationKind", ")", "return", ";", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Kind", ")", ";", "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", "||", "(", "!", "RefKind", "&&", "Fixup", ".", "getTargetKind", "(", ")", "==", "AArch64", "::", "fixup_aarch64_movw", ")", ")", "{", "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", "AArch64::fixup_aarch64_movw", "0", "3", "1", "6", "3", "1", "6"], "File": "AArch64AsmBackend (2)1", "Func": "applyFixup", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8937, "Length": 369, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "addInst", "(", "MachineInstr", "*", "MI", ",", "SetVector", "<", "MachineInstr", "*", ">", "&", "Preds", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"ARM Loops: Adding predicated MI: \"", "<<", "*", "MI", ")", ";", "if", "(", "!", "Divergent", "&&", "!", "set_difference", "(", "Preds", ",", "PredicateThen", "->", "Predicates", ")", ".", "empty", "(", ")", ")", "{", "Divergent", "=", "&", "Insts", ".", "back", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\" - has divergent predicate: \"", "<<", "*", "Divergent", "->", "MI", ")", ";", "}", "Insts", ".", "emplace_back", "(", "MI", ",", "Preds", ")", ";", "assert", "(", "Insts", ".", "size", "(", ")", "<=", "4", "&&", "\"Too many instructions in VPT block!\"", ")", ";", "}", ""], "natrual_language": ["Add", "a", "new", "MCInst", "operand", "."], "TS_V_token": ["ARM", "\"ARM Loops: Adding predicated MI: \"", "\" - has divergent predicate: \"", "4", "\"Too many instructions in VPT block!\""], "File": "ARMLowOverheadLoops10", "Func": "addInst", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8938, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "getRecipEstimate", "(", "SDValue", "Operand", ",", "SelectionDAG", "&", "DAG", ",", "int", "Enabled", ",", "int", "&", "RefinementSteps", ")", "const", "{", "EVT", "VT", "=", "Operand", ".", "getValueType", "(", ")", ";", "if", "(", "(", "VT", "==", "MVT", "::", "f32", "&&", "Subtarget", ".", "hasFRES", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "f64", "&&", "Subtarget", ".", "hasFRE", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "v4f32", "&&", "Subtarget", ".", "hasAltivec", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "v2f64", "&&", "Subtarget", ".", "hasVSX", "(", ")", ")", ")", "{", "if", "(", "RefinementSteps", "==", "ReciprocalEstimate", "::", "Unspecified", ")", "RefinementSteps", "=", "getEstimateRefinementSteps", "(", "VT", ",", "Subtarget", ")", ";", "return", "DAG", ".", "getNode", "(", "PPCISD", "::", "FRE", ",", "SDLoc", "(", "Operand", ")", ",", "VT", ",", "Operand", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Return", "a", "reciprocal", "estimate", "value", "for", "the", "input", "operand", "."], "TS_V_token": ["PowerPC", "PPC", "MVT::f32", "MVT::f64", "MVT::v4f32", "MVT::v2f64", "PPCISD::FRE"], "File": "PPCISelLowering100", "Func": "getRecipEstimate", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8939, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MMIXInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DstReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "MMIX", "::", "GPRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "MMIX", "::", "LDO_I", ")", ",", "DstReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "}", "else", "if", "(", "MMIX", "::", "SRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "MMIX", "::", "LDO_I", ")", ")", ".", "addReg", "(", "MMIX", "::", "r252", ",", "RegState", "::", "Define", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "MMIX", "::", "PUT", ")", ",", "DstReg", ")", ".", "addReg", "(", "MMIX", "::", "r252", ",", "RegState", "::", "Kill", ")", ";", "}", "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": ["MMIX", "MMIX", "MMIX::GPRRegClass", "MMIX::LDO_I", "0", "MMIX::SRRegClass", "MMIX::LDO_I", "MMIX::r252", "0", "MMIX::PUT", "MMIX::r252", "\"Can't load this register from stack slot\""], "File": "MMIXInstrInfo", "Func": "loadRegFromStackSlot", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8940, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VETargetLowering", "::", "CanLowerReturn", "(", "CallingConv", "::", "ID", "CallConv", ",", "MachineFunction", "&", "MF", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "LLVMContext", "&", "Context", ")", "const", "{", "assert", "(", "!", "IsVarArg", "&&", "\"TODO implement var args\"", ")", ";", "assert", "(", "Outs", ".", "empty", "(", ")", "&&", "\"TODO implement return values\"", ")", ";", "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": ["VE", "VE", "ISD::OutputArg", "\"TODO implement var args\"", "\"TODO implement return values\""], "File": "VEISelLowering16", "Func": "CanLowerReturn", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8941, "Length": 56, "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": 8942, "Length": 282, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_conditional_register_usage", "(", "void", ")", "{", "int", "i", ";", "if", "(", "!", "TARGET_POWER", ")", "fixed_regs", "[", "64", "]", "=", "1", ";", "if", "(", "TARGET_64BIT", ")", "fixed_regs", "[", "13", "]", "=", "call_used_regs", "[", "13", "]", "=", "call_really_used_regs", "[", "13", "]", "=", "1", ";", "if", "(", "TARGET_SOFT_FLOAT", "||", "!", "TARGET_FPRS", ")", "for", "(", "i", "=", "32", ";", "i", "<", "64", ";", "i", "++", ")", "fixed_regs", "[", "i", "]", "=", "call_used_regs", "[", "i", "]", "=", "call_really_used_regs", "[", "i", "]", "=", "1", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_AIX", ")", "call_really_used_regs", "[", "2", "]", "=", "0", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "PIC_OFFSET_TABLE_REGNUM", "!=", "INVALID_REGNUM", "&&", "flag_pic", "==", "2", ")", "fixed_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "1", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "PIC_OFFSET_TABLE_REGNUM", "!=", "INVALID_REGNUM", "&&", "flag_pic", "==", "1", ")", "fixed_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "call_used_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "call_really_used_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "1", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_DARWIN", "&&", "PIC_OFFSET_TABLE_REGNUM", "!=", "INVALID_REGNUM", ")", "fixed_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "call_used_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "call_really_used_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "1", ";", "if", "(", "TARGET_TOC", "&&", "TARGET_MINIMAL_TOC", ")", "fixed_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "call_used_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "1", ";", "if", "(", "TARGET_ALTIVEC", ")", "global_regs", "[", "VSCR_REGNO", "]", "=", "1", ";", "if", "(", "TARGET_SPE", ")", "{", "global_regs", "[", "SPEFSCR_REGNO", "]", "=", "1", ";", "fixed_regs", "[", "FIXED_SCRATCH", "]", "=", "call_used_regs", "[", "FIXED_SCRATCH", "]", "=", "call_really_used_regs", "[", "FIXED_SCRATCH", "]", "=", "1", ";", "}", "if", "(", "!", "TARGET_ALTIVEC", ")", "{", "for", "(", "i", "=", "FIRST_ALTIVEC_REGNO", ";", "i", "<=", "LAST_ALTIVEC_REGNO", ";", "++", "i", ")", "fixed_regs", "[", "i", "]", "=", "call_used_regs", "[", "i", "]", "=", "call_really_used_regs", "[", "i", "]", "=", "1", ";", "call_really_used_regs", "[", "VRSAVE_REGNO", "]", "=", "1", ";", "}", "if", "(", "TARGET_ALTIVEC_ABI", ")", "for", "(", "i", "=", "FIRST_ALTIVEC_REGNO", ";", "i", "<", "FIRST_ALTIVEC_REGNO", "+", "20", ";", "++", "i", ")", "call_used_regs", "[", "i", "]", "=", "call_really_used_regs", "[", "i", "]", "=", "1", ";", "}", ""], "natrual_language": ["Change", "register", "usage", "conditional", "on", "target", "flags", "."], "TS_V_token": ["rs6000", "64", "1", "13", "13", "13", "1", "32", "64", "1", "2", "0", "2", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "20", "1"], "File": "rs60003", "Func": "rs6000_conditional_register_usage", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8943, "Length": 306, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "opt_machine_mode", "ix86_get_mask_mode", "(", "machine_mode", "data_mode", ")", "{", "unsigned", "vector_size", "=", "GET_MODE_SIZE", "(", "data_mode", ")", ";", "unsigned", "nunits", "=", "GET_MODE_NUNITS", "(", "data_mode", ")", ";", "unsigned", "elem_size", "=", "vector_size", "/", "nunits", ";", "if", "(", "(", "TARGET_AVX512F", "&&", "vector_size", "==", "64", ")", "||", "(", "TARGET_AVX512VL", "&&", "(", "vector_size", "==", "32", "||", "vector_size", "==", "16", ")", ")", ")", "{", "if", "(", "elem_size", "==", "4", "||", "elem_size", "==", "8", "||", "(", "TARGET_AVX512BW", "&&", "(", "elem_size", "==", "1", "||", "elem_size", "==", "2", ")", ")", ")", "return", "smallest_int_mode_for_size", "(", "nunits", ")", ";", "}", "scalar_int_mode", "elem_mode", "=", "smallest_int_mode_for_size", "(", "elem_size", "*", "BITS_PER_UNIT", ")", ";", "gcc_assert", "(", "elem_size", "*", "nunits", "==", "vector_size", ")", ";", "return", "mode_for_vector", "(", "elem_mode", ",", "nunits", ")", ";", "}", ""], "natrual_language": ["Implemenation", "of", "targetm.vectorize.get_mask_mode", "."], "TS_V_token": ["i386", "64", "32", "16", "4", "8", "1", "2"], "File": "i386", "Func": "ix86_get_mask_mode", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8944, "Length": 115, "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": 8945, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsELFStreamer", "::", "emitIntValue", "(", "uint64_t", "Value", ",", "unsigned", "Size", ")", "{", "MCELFStreamer", "::", "emitIntValue", "(", "Value", ",", "Size", ")", ";", "Labels", ".", "clear", "(", ")", ";", "}", ""], "natrual_language": ["Special", "case", "of", "EmitValue", "that", "avoids", "the", "client", "having", "to", "pass", "in", "a", "MCExpr", "for", "constant", "integers", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsELFStreamer19", "Func": "emitIntValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8946, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCRegisterInfo", "::", "getRARegister", "(", ")", "const", "{", "return", "!", "Subtarget", ".", "isPPC64", "(", ")", "?", "PPC", "::", "LR", ":", "PPC", "::", "LR8", ";", "}", ""], "natrual_language": ["This", "method", "should", "return", "the", "register", "where", "the", "return", "address", "can", "be", "found", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::LR", "PPC::LR8"], "File": "PPCRegisterInfo21", "Func": "getRARegister", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8947, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseInstrInfo", "::", "isStoreToStackSlotPostFE", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "const", "MachineMemOperand", "*", "Dummy", ";", "return", "MI", ".", "mayStore", "(", ")", "&&", "hasStoreToStackSlot", "(", "MI", ",", "Dummy", ",", "FrameIndex", ")", ";", "}", ""], "natrual_language": ["isStoreToStackSlotPostFE", "-", "Check", "for", "post-frame", "ptr", "elimination", "stack", "locations", "as", "well", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMBaseInstrInfo (2)2", "Func": "isStoreToStackSlotPostFE", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8948, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "swap_feeds_both_load_and_store", "(", "swap_web_entry", "*", "insn_entry", ")", "{", "rtx", "insn", "=", "insn_entry", "->", "insn", ";", "struct", "df_insn_info", "*", "insn_info", "=", "DF_INSN_INFO_GET", "(", "insn", ")", ";", "df_ref", "def", ",", "use", ";", "struct", "df_link", "*", "link", "=", "0", ";", "rtx_insn", "*", "load", "=", "0", ",", "*", "store", "=", "0", ";", "bool", "fed_by_load", "=", "0", ";", "bool", "feeds_store", "=", "0", ";", "FOR_EACH_INSN_INFO_USE", "(", "use", ",", "insn_info", ")", "{", "link", "=", "DF_REF_CHAIN", "(", "use", ")", ";", "load", "=", "DF_REF_INSN", "(", "link", "->", "ref", ")", ";", "if", "(", "insn_is_load_p", "(", "load", ")", "&&", "insn_is_swap_p", "(", "load", ")", ")", "fed_by_load", "=", "1", ";", "}", "FOR_EACH_INSN_INFO_DEF", "(", "def", ",", "insn_info", ")", "{", "link", "=", "DF_REF_CHAIN", "(", "def", ")", ";", "store", "=", "DF_REF_INSN", "(", "link", "->", "ref", ")", ";", "if", "(", "insn_is_store_p", "(", "store", ")", "&&", "insn_is_swap_p", "(", "store", ")", ")", "feeds_store", "=", "1", ";", "}", "return", "fed_by_load", "&&", "feeds_store", ";", "}", ""], "natrual_language": ["Return", "1", "iff", "UID", ",", "known", "to", "reference", "a", "swap", ",", "is", "both", "fed", "by", "a", "load", "and", "a", "feeder", "of", "a", "store", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "0", "1", "1"], "File": "rs6000-p8swap", "Func": "swap_feeds_both_load_and_store", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8949, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "if", "(", "UseStackSafety", ")", "AU", ".", "addRequired", "<", "StackSafetyGlobalInfoWrapperPass", ">", "(", ")", ";", "if", "(", "MergeInit", ")", "AU", ".", "addRequired", "<", "AAResultsWrapperPass", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AArch64"], "File": "AArch64StackTagging (2)", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8950, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "safe_vector_operand", "(", "rtx", "x", ",", "machine_mode", "mode", ")", "{", "if", "(", "x", "==", "const0_rtx", ")", "x", "=", "CONST0_RTX", "(", "mode", ")", ";", "return", "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": ["i386"], "File": "i386-expand", "Func": "safe_vector_operand", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8951, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86InstrInfo", "::", "getSPAdjust", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "const", "MachineFunction", "*", "MF", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", "->", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "getCallFrameSetupOpcode", "(", ")", "||", "MI", "->", "getOpcode", "(", ")", "==", "getCallFrameDestroyOpcode", "(", ")", ")", "{", "unsigned", "StackAlign", "=", "TFI", "->", "getStackAlignment", "(", ")", ";", "int", "SPAdj", "=", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", "+", "StackAlign", "-", "1", ")", "/", "StackAlign", "*", "StackAlign", ";", "SPAdj", "-=", "MI", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "getCallFrameSetupOpcode", "(", ")", ")", "return", "SPAdj", ";", "else", "return", "-", "SPAdj", ";", "}", "if", "(", "MI", "->", "isCall", "(", ")", ")", "{", "const", "MachineBasicBlock", "*", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "auto", "I", "=", "++", "MachineBasicBlock", "::", "const_iterator", "(", "MI", ")", ";", "for", "(", "auto", "E", "=", "MBB", "->", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "getCallFrameDestroyOpcode", "(", ")", "||", "I", "->", "isCall", "(", ")", ")", "break", ";", "}", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "getCallFrameDestroyOpcode", "(", ")", ")", "return", "0", ";", "return", "-", "(", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ")", ";", "}", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "X86", "::", "PUSH32i8", ":", "case", "X86", "::", "PUSH32r", ":", "case", "X86", "::", "PUSH32rmm", ":", "case", "X86", "::", "PUSH32rmr", ":", "case", "X86", "::", "PUSHi32", ":", "return", "4", ";", "case", "X86", "::", "PUSH64i8", ":", "case", "X86", "::", "PUSH64r", ":", "case", "X86", "::", "PUSH64rmm", ":", "case", "X86", "::", "PUSH64rmr", ":", "case", "X86", "::", "PUSH64i32", ":", "return", "8", ";", "}", "}", ""], "natrual_language": ["getSPAdjust", "-", "This", "returns", "the", "stack", "pointer", "adjustment", "made", "by", "this", "instruction", "."], "TS_V_token": ["X86", "X86", "0", "1", "1", "0", "1", "0", "X86::PUSH32i8", "X86::PUSH32r", "X86::PUSH32rmm", "X86::PUSH32rmr", "X86::PUSHi32", "4", "X86::PUSH64i8", "X86::PUSH64r", "X86::PUSH64rmm", "X86::PUSH64rmr", "X86::PUSH64i32", "8"], "File": "X86InstrInfo141", "Func": "getSPAdjust", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8952, "Length": 306, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mep_assign_save_slots", "(", "int", "reg_save_size", ")", "{", "bool", "really_need_stack_frame", "=", "false", ";", "int", "di_ofs", "=", "0", ";", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "FIRST_PSEUDO_REGISTER", ";", "i", "++", ")", "if", "(", "mep_call_saves_register", "(", "i", ")", ")", "{", "int", "regsize", "=", "mep_reg_size", "(", "i", ")", ";", "if", "(", "(", "i", "!=", "TP_REGNO", "&&", "i", "!=", "GP_REGNO", "&&", "i", "!=", "LP_REGNO", ")", "||", "mep_reg_set_in_function", "(", "i", ")", ")", "really_need_stack_frame", "=", "true", ";", "if", "(", "cfun", "->", "machine", "->", "reg_save_slot", "[", "i", "]", ")", "continue", ";", "if", "(", "regsize", "<", "8", ")", "{", "cfun", "->", "machine", "->", "reg_save_size", "+=", "regsize", ";", "cfun", "->", "machine", "->", "reg_save_slot", "[", "i", "]", "=", "cfun", "->", "machine", "->", "reg_save_size", ";", "}", "else", "{", "cfun", "->", "machine", "->", "reg_save_slot", "[", "i", "]", "=", "reg_save_size", "-", "di_ofs", ";", "di_ofs", "+=", "8", ";", "}", "}", "cfun", "->", "machine", "->", "frame_locked", "=", "1", ";", "return", "really_need_stack_frame", ";", "}", ""], "natrual_language": ["Assign", "save", "slots", "for", "any", "register", "not", "already", "saved", ".", "DImode", "registers", "go", "at", "the", "end", "of", "the", "reg", "save", "area", ";", "the", "rest", "go", "at", "the", "beginning", ".", "This", "is", "for", "alignment", "purposes", ".", "Returns", "true", "if", "a", "frame", "is", "really", "needed", "."], "TS_V_token": ["mep", "0", "0", "8", "8", "1"], "File": "mep", "Func": "mep_assign_save_slots", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8953, "Length": 152, "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", "->", "getSubtargetImpl", "(", ")", "->", "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", "->", "getSubtargetImpl", "(", ")", "->", "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": "ARMInstrInfo39", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8954, "Length": 385, "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": 8955, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MMIXAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "if", "(", "emitPseudoExpansionLowering", "(", "*", "OutStreamer", ",", "MI", ")", ")", "return", ";", "MCInst", "TmpInst", ";", "LowerMMIXMachineInstrToMCInst", "(", "MI", ",", "TmpInst", ",", "*", "this", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "TmpInst", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["MMIX", "MMIX", "MMIX"], "File": "MMIXAsmPrinter", "Func": "EmitInstruction", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8956, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "AArch64TTIImpl", "::", "getArithmeticReductionCost", "(", "unsigned", "Opcode", ",", "Type", "*", "ValTy", ",", "bool", "IsPairwiseForm", ")", "{", "if", "(", "IsPairwiseForm", ")", "return", "BaseT", "::", "getArithmeticReductionCost", "(", "Opcode", ",", "ValTy", ",", "IsPairwiseForm", ")", ";", "std", "::", "pair", "<", "int", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "ValTy", ")", ";", "MVT", "MTy", "=", "LT", ".", "second", ";", "int", "ISD", "=", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", ";", "assert", "(", "ISD", "&&", "\"Invalid opcode\"", ")", ";", "static", "const", "CostTblEntry", "CostTblNoPairwise", "[", "]", "{", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v8i8", ",", "1", "}", ",", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v16i8", ",", "1", "}", ",", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v4i16", ",", "1", "}", ",", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v8i16", ",", "1", "}", ",", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v4i32", ",", "1", "}", ",", "}", ";", "if", "(", "const", "auto", "*", "Entry", "=", "CostTableLookup", "(", "CostTblNoPairwise", ",", "ISD", ",", "MTy", ")", ")", "return", "LT", ".", "first", "*", "Entry", "->", "Cost", ";", "return", "BaseT", "::", "getArithmeticReductionCost", "(", "Opcode", ",", "ValTy", ",", "IsPairwiseForm", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "vector", "reduction", "intrinsics", "."], "TS_V_token": ["AArch64", "AArch64", "\"Invalid opcode\"", "ISD::ADD", "MVT::v8i8", "1", "ISD::ADD", "MVT::v16i8", "1", "ISD::ADD", "MVT::v4i16", "1", "ISD::ADD", "MVT::v8i16", "1", "ISD::ADD", "MVT::v4i32", "1"], "File": "AArch64TargetTransformInfo18", "Func": "getArithmeticReductionCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8957, "Length": 182, "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": 8958, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MipsSubtarget", "&", "MipsSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetMachine", "&", "TM", ")", "{", "StringRef", "CPUName", "=", "MIPS_MC", "::", "selectMipsCPU", "(", "TM", ".", "getTargetTriple", "(", ")", ",", "CPU", ")", ";", "ParseSubtargetFeatures", "(", "CPUName", ",", "FS", ")", ";", "InstrItins", "=", "getInstrItineraryForCPU", "(", "CPUName", ")", ";", "if", "(", "InMips16Mode", "&&", "!", "IsSoftFloat", ")", "InMips16HardFloat", "=", "true", ";", "if", "(", "StackAlignOverride", ")", "stackAlignment", "=", "*", "StackAlignOverride", ";", "else", "if", "(", "isABI_N32", "(", ")", "||", "isABI_N64", "(", ")", ")", "stackAlignment", "=", "Align", "(", "16", ")", ";", "else", "{", "assert", "(", "isABI_O32", "(", ")", "&&", "\"Unknown ABI for stack alignment!\"", ")", ";", "stackAlignment", "=", "Align", "(", "8", ")", ";", "}", "if", "(", "(", "isABI_N32", "(", ")", "||", "isABI_N64", "(", ")", ")", "&&", "!", "isGP64bit", "(", ")", ")", "report_fatal_error", "(", "\"64-bit code requested on a subtarget that doesn't \"", "\"support it!\"", ")", ";", "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_MC::selectMipsCPU", "Mips", "Mips", "16", "\"Unknown ABI for stack alignment!\"", "8", "\"64-bit code requested on a subtarget that doesn't \"", "\"support it!\""], "File": "MipsSubtarget48", "Func": "initializeSubtargetDependencies", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8959, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64ExpandPseudo", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "auto", "UniqueRS", "=", "make_unique", "<", "RegScavenger", ">", "(", ")", ";", "RS", "=", "UniqueRS", ".", "get", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "Modified", "|=", "expandMBB", "(", "MBB", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64ExpandPseudoInsts30", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8960, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "OptimizePICCall", "::", "getReg", "(", "const", "Value", "*", "Entry", ")", "{", "unsigned", "Reg", "=", "ScopedHT", ".", "lookup", "(", "Entry", ")", ".", "second", ";", "assert", "(", "Reg", ")", ";", "return", "Reg", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["Mips"], "File": "MipsOptimizePICCall4", "Func": "getReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8961, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arm_expand_acle_builtin", "(", "int", "fcode", ",", "tree", "exp", ",", "rtx", "target", ")", "{", "if", "(", "fcode", "==", "ARM_BUILTIN_SAT_IMM_CHECK", ")", "{", "rtx", "min_sat", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "1", ")", ")", ";", "rtx", "max_sat", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "2", ")", ")", ";", "gcc_assert", "(", "CONST_INT_P", "(", "min_sat", ")", ")", ";", "gcc_assert", "(", "CONST_INT_P", "(", "max_sat", ")", ")", ";", "rtx", "sat_imm", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ")", ";", "if", "(", "CONST_INT_P", "(", "sat_imm", ")", ")", "{", "if", "(", "!", "IN_RANGE", "(", "sat_imm", ",", "min_sat", ",", "max_sat", ")", ")", "error_at", "(", "EXPR_LOCATION", "(", "exp", ")", ",", "\"saturation bit range must be in the range [%wd, %wd]\"", ",", "UINTVAL", "(", "min_sat", ")", ",", "UINTVAL", "(", "max_sat", ")", ")", ";", "}", "else", "error_at", "(", "EXPR_LOCATION", "(", "exp", ")", ",", "\"saturation bit range must be a constant immediate\"", ")", ";", "return", "const0_rtx", ";", "}", "gcc_assert", "(", "fcode", "!=", "ARM_BUILTIN_CDE_BASE", ")", ";", "arm_builtin_datum", "*", "d", "=", "(", "fcode", "<", "ARM_BUILTIN_CDE_BASE", ")", "?", "&", "acle_builtin_data", "[", "fcode", "-", "ARM_BUILTIN_ACLE_PATTERN_START", "]", ":", "&", "cde_builtin_data", "[", "fcode", "-", "ARM_BUILTIN_CDE_PATTERN_START", "]", ".", "base", ";", "return", "arm_expand_builtin_1", "(", "fcode", ",", "exp", ",", "target", ",", "d", ")", ";", "}", ""], "natrual_language": ["Expand", "an", "ACLE", "builtin", ",", "i.e", ".", "those", "registered", "only", "if", "their", "respective", "target", "constraints", "are", "met", ".", "This", "check", "happens", "within", "arm_expand_builtin_args", "."], "TS_V_token": ["arm", "1", "2", "0", "\"saturation bit range must be in the range [%wd, %wd]\"", "\"saturation bit range must be a constant immediate\""], "File": "arm-builtins", "Func": "arm_expand_acle_builtin", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8962, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "scalar_to_vector_candidate_p", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "def_set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "!", "def_set", ")", "return", "false", ";", "if", "(", "has_non_address_hard_reg", "(", "insn", ")", ")", "return", "false", ";", "rtx", "src", "=", "SET_SRC", "(", "def_set", ")", ";", "rtx", "dst", "=", "SET_DEST", "(", "def_set", ")", ";", "if", "(", "GET_CODE", "(", "src", ")", "==", "COMPARE", ")", "return", "convertible_comparison_p", "(", "insn", ")", ";", "if", "(", "GET_MODE", "(", "src", ")", "!=", "DImode", "||", "GET_MODE", "(", "dst", ")", "!=", "DImode", ")", "return", "false", ";", "if", "(", "!", "REG_P", "(", "dst", ")", "&&", "!", "MEM_P", "(", "dst", ")", ")", "return", "false", ";", "switch", "(", "GET_CODE", "(", "src", ")", ")", "{", "case", "PLUS", ":", "case", "MINUS", ":", "case", "IOR", ":", "case", "XOR", ":", "case", "AND", ":", "break", ";", "case", "REG", ":", "return", "true", ";", "case", "MEM", ":", "return", "REG_P", "(", "dst", ")", ";", "default", ":", "return", "false", ";", "}", "if", "(", "!", "REG_P", "(", "XEXP", "(", "src", ",", "0", ")", ")", "&&", "!", "MEM_P", "(", "XEXP", "(", "src", ",", "0", ")", ")", "&&", "(", "GET_CODE", "(", "src", ")", "!=", "AND", "||", "GET_CODE", "(", "XEXP", "(", "src", ",", "0", ")", ")", "!=", "NOT", "||", "!", "REG_P", "(", "XEXP", "(", "XEXP", "(", "src", ",", "0", ")", ",", "0", ")", ")", ")", ")", "return", "false", ";", "if", "(", "!", "REG_P", "(", "XEXP", "(", "src", ",", "1", ")", ")", "&&", "!", "MEM_P", "(", "XEXP", "(", "src", ",", "1", ")", ")", ")", "return", "false", ";", "if", "(", "GET_MODE", "(", "XEXP", "(", "src", ",", "0", ")", ")", "!=", "DImode", "||", "GET_MODE", "(", "XEXP", "(", "src", ",", "1", ")", ")", "!=", "DImode", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "1", "if", "INSN", "may", "be", "converted", "into", "vector", "instruction", "."], "TS_V_token": ["i386", "0", "0", "0", "0", "0", "1", "1", "0", "1"], "File": "i3865", "Func": "scalar_to_vector_candidate_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8963, "Length": 272, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMConstantIslands", "::", "verify", "(", ")", "{", "BBInfoVector", "&", "BBInfo", "=", "BBUtils", "->", "getBBInfo", "(", ")", ";", "assert", "(", "is_sorted", "(", "*", "MF", ",", "[", "&", "BBInfo", "]", "(", "const", "MachineBasicBlock", "&", "LHS", ",", "const", "MachineBasicBlock", "&", "RHS", ")", "{", "return", "BBInfo", "[", "LHS", ".", "getNumber", "(", ")", "]", ".", "postOffset", "(", ")", "<", "BBInfo", "[", "RHS", ".", "getNumber", "(", ")", "]", ".", "postOffset", "(", ")", ";", "}", ")", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Verifying \"", "<<", "CPUsers", ".", "size", "(", ")", "<<", "\" CP users.\\n\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CPUsers", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CPUser", "&", "U", "=", "CPUsers", "[", "i", "]", ";", "unsigned", "UserOffset", "=", "getUserOffset", "(", "U", ")", ";", "if", "(", "isCPEntryInRange", "(", "U", ".", "MI", ",", "UserOffset", ",", "U", ".", "CPEMI", ",", "U", ".", "getMaxDisp", "(", ")", "+", "2", ",", "U", ".", "NegOk", ",", "true", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"OK\\n\"", ")", ";", "continue", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Out of range.\\n\"", ")", ";", "dumpBBs", "(", ")", ";", "LLVM_DEBUG", "(", "MF", "->", "dump", "(", ")", ")", ";", "llvm_unreachable", "(", "\"Constant pool entry out of range!\"", ")", ";", "}", "}", ""], "natrual_language": ["Check", "if", "this", "register", "bank", "is", "valid", "."], "TS_V_token": ["ARM", "ARM", "\"Verifying \"", "\" CP users.\\n\"", "0", "2", "\"OK\\n\"", "\"Out of range.\\n\"", "\"Constant pool entry out of range!\""], "File": "ARMConstantIslandPass15", "Func": "verify", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8964, "Length": 199, "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": 8965, "Length": 25, "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": ["ARM"], "File": "ARMAsmParser (2)", "Func": "isReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8966, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "get_csky_live_regs", "(", "int", "*", "count", ")", "{", "int", "reg", ";", "unsigned", "int", "live_regs_mask", "=", "0", ";", "*", "count", "=", "0", ";", "for", "(", "reg", "=", "0", ";", "reg", "<", "CSKY_NGPR_REGS", ";", "reg", "++", ")", "{", "bool", "save", "=", "false", ";", "if", "(", "CSKY_TARGET_ARCH", "(", "CK801", ")", "&&", "reg", ">", "8", "&&", "reg", "<", "13", ")", "continue", ";", "if", "(", "(", "CSKY_TARGET_ARCH", "(", "CK801", ")", "||", "CSKY_TARGET_ARCH", "(", "CK802", ")", "||", "CSKY_TARGET_ARCH", "(", "CK803", ")", ")", "&&", "reg", ">", "15", ")", "break", ";", "if", "(", "df_regs_ever_live_p", "(", "reg", ")", "&&", "!", "call_really_used_regs", "[", "reg", "]", ")", "save", "=", "true", ";", "else", "if", "(", "frame_pointer_needed", "&&", "reg", "==", "FRAME_POINTER_REGNUM", ")", "save", "=", "true", ";", "else", "if", "(", "crtl", "->", "calls_eh_return", "&&", "reg", "==", "FRAME_POINTER_REGNUM", ")", "save", "=", "true", ";", "else", "if", "(", "(", "CSKY_TARGET_ARCH", "(", "CK801", ")", "||", "CSKY_TARGET_ARCH", "(", "CK802", ")", ")", "&&", "reg", "==", "CSKY_LR_REGNUM", "&&", "(", "!", "crtl", "->", "is_leaf", "||", "csky_far_jump_used_p", "(", ")", ")", ")", "save", "=", "true", ";", "else", "if", "(", "crtl", "->", "calls_eh_return", "&&", "reg", ">=", "CSKY_FIRST_EH_RETDATA_REGNUM", "&&", "reg", "<=", "CSKY_LAST_EH_RETDATA_REGNUM", ")", "save", "=", "true", ";", "if", "(", "reg", "==", "CSKY_STACKADJUST_REGNUM", "&&", "cfun", "->", "machine", "->", "reg_offset", ">", "CSKY_MAX_SP_ADJUST", "*", "2", ")", "save", "=", "true", ";", "if", "(", "save", ")", "{", "(", "*", "count", ")", "++", ";", "live_regs_mask", "|=", "(", "1", "<<", "reg", ")", ";", "}", "}", "return", "live_regs_mask", ";", "}", ""], "natrual_language": ["Return", "the", "mask", "of", "registers", "used", "by", "the", "current", "function", ".", "Set", "COUNT", "to", "the", "number", "of", "registers", "used", "."], "TS_V_token": ["csky", "0", "0", "0", "8", "13", "15", "2", "1"], "File": "csky2", "Func": "get_csky_live_regs", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8967, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SICMCExpr", "*", "SICMCExpr", "::", "create", "(", "const", "MCSymbol", "*", "Symbol", ",", "SICMCExpr", "::", "SICExprKind", "Kind", ",", "MCContext", "&", "Ctx", ")", "{", "const", "MCSymbolRefExpr", "*", "MCSym", "=", "MCSymbolRefExpr", "::", "create", "(", "Symbol", ",", "MCSymbolRefExpr", "::", "VK_None", ",", "Ctx", ")", ";", "return", "new", "(", "Ctx", ")", "SICMCExpr", "(", "Kind", ",", "MCSym", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["SIC", "SIC", "SIC", "SIC", "SIC", "SIC"], "File": "SICMCExpr", "Func": "create", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8968, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "do_load_for_compare", "(", "rtx", "reg", ",", "rtx", "mem", ",", "machine_mode", "mode", ")", "{", "switch", "(", "GET_MODE", "(", "reg", ")", ")", "{", "case", "E_DImode", ":", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "emit_insn", "(", "gen_zero_extendqidi2", "(", "reg", ",", "mem", ")", ")", ";", "break", ";", "case", "E_HImode", ":", "{", "rtx", "src", "=", "mem", ";", "if", "(", "!", "BYTES_BIG_ENDIAN", ")", "{", "src", "=", "gen_reg_rtx", "(", "HImode", ")", ";", "emit_insn", "(", "gen_bswaphi2", "(", "src", ",", "mem", ")", ")", ";", "}", "emit_insn", "(", "gen_zero_extendhidi2", "(", "reg", ",", "src", ")", ")", ";", "break", ";", "}", "case", "E_SImode", ":", "{", "rtx", "src", "=", "mem", ";", "if", "(", "!", "BYTES_BIG_ENDIAN", ")", "{", "src", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_bswapsi2", "(", "src", ",", "mem", ")", ")", ";", "}", "emit_insn", "(", "gen_zero_extendsidi2", "(", "reg", ",", "src", ")", ")", ";", "}", "break", ";", "case", "E_DImode", ":", "if", "(", "!", "BYTES_BIG_ENDIAN", ")", "emit_insn", "(", "gen_bswapdi2", "(", "reg", ",", "mem", ")", ")", ";", "else", "emit_insn", "(", "gen_movdi", "(", "reg", ",", "mem", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "break", ";", "case", "E_SImode", ":", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "emit_insn", "(", "gen_zero_extendqisi2", "(", "reg", ",", "mem", ")", ")", ";", "break", ";", "case", "E_HImode", ":", "{", "rtx", "src", "=", "mem", ";", "if", "(", "!", "BYTES_BIG_ENDIAN", ")", "{", "src", "=", "gen_reg_rtx", "(", "HImode", ")", ";", "emit_insn", "(", "gen_bswaphi2", "(", "src", ",", "mem", ")", ")", ";", "}", "emit_insn", "(", "gen_zero_extendhisi2", "(", "reg", ",", "src", ")", ")", ";", "break", ";", "}", "case", "E_SImode", ":", "if", "(", "!", "BYTES_BIG_ENDIAN", ")", "emit_insn", "(", "gen_bswapsi2", "(", "reg", ",", "mem", ")", ")", ";", "else", "emit_insn", "(", "gen_movsi", "(", "reg", ",", "mem", ")", ")", ";", "break", ";", "case", "E_DImode", ":", "gcc_unreachable", "(", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Figure", "out", "the", "correct", "instructions", "to", "generate", "to", "load", "data", "for", "block", "compare", ".", "MODE", "is", "used", "for", "the", "read", "from", "memory", ",", "and", "data", "is", "zero", "extended", "if", "REG", "is", "wider", "than", "MODE", ".", "If", "LE", "code", "is", "being", "generated", ",", "bswap", "loads", "are", "used", ".", "REG", "is", "the", "destination", "register", "to", "move", "the", "data", "into", ".", "MEM", "is", "the", "memory", "block", "being", "read", ".", "MODE", "is", "the", "mode", "of", "memory", "to", "use", "for", "the", "read", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "do_load_for_compare", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8969, "Length": 305, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "fpuv3_const_double_rtx", "(", "rtx", "x", ")", "{", "REAL_VALUE_TYPE", "r", ",", "m", ";", "r", "=", "*", "CONST_DOUBLE_REAL_VALUE", "(", "x", ")", ";", "if", "(", "REAL_VALUE_ISINF", "(", "r", ")", "||", "REAL_VALUE_ISNAN", "(", "r", ")", "||", "REAL_VALUE_MINUS_ZERO", "(", "r", ")", "||", "r", ".", "cl", "==", "rvc_zero", ")", "return", "0", ";", "int", "exponent", ";", "r", "=", "real_value_abs", "(", "&", "r", ")", ";", "exponent", "=", "REAL_EXP", "(", "&", "r", ")", ";", "bool", "fail", ";", "unsigned", "HOST_WIDE_INT", "mantissa", ",", "mant_hi", ";", "unsigned", "HOST_WIDE_INT", "mask", ";", "int", "point_pos", "=", "2", "*", "HOST_BITS_PER_WIDE_INT", "-", "1", ";", "real_ldexp", "(", "&", "m", ",", "&", "r", ",", "point_pos", "-", "exponent", ")", ";", "wide_int", "w", "=", "real_to_integer", "(", "&", "m", ",", "&", "fail", ",", "HOST_BITS_PER_WIDE_INT", "*", "2", ")", ";", "mantissa", "=", "w", ".", "elt", "(", "0", ")", ";", "mant_hi", "=", "w", ".", "elt", "(", "1", ")", ";", "exponent", "-=", "1", ";", "if", "(", "!", "IN_RANGE", "(", "exponent", ",", "-", "4", ",", "11", ")", ")", "return", "0", ";", "if", "(", "mantissa", "!=", "0", ")", "return", "0", ";", "point_pos", "-=", "HOST_BITS_PER_WIDE_INT", ";", "mantissa", "=", "mant_hi", ";", "mask", "=", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "1", "<<", "(", "point_pos", "-", "9", ")", ")", "-", "1", ";", "if", "(", "(", "mantissa", "&", "mask", ")", "!=", "0", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Check", "if", "a", "const_double", "can", "be", "used", "by", "a", "VFP", "fmovi", "instruction", "."], "TS_V_token": ["csky", "0", "2", "1", "2", "0", "1", "1", "4", "11", "0", "0", "0", "1", "9", "1", "0", "0", "1"], "File": "csky", "Func": "fpuv3_const_double_rtx", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8970, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "aarch64_stack_clash_protection_alloca_probe_range", "(", "void", ")", "{", "return", "STACK_CLASH_CALLER_GUARD", ";", "}", ""], "natrual_language": ["On", "AArch64", "we", "have", "an", "ABI", "defined", "safe", "buffer", ".", "This", "constant", "is", "used", "to", "determining", "the", "probe", "offset", "for", "alloca", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_stack_clash_protection_alloca_probe_range", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8971, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "iv_p", "(", "rtx_insn", "*", "insn", ",", "rtx", "reg", ",", "struct", "loop", "*", "loop", ")", "{", "df_ref", "ause", ";", "unsigned", "regno", "=", "REGNO", "(", "reg", ")", ";", "if", "(", "regno", "==", "SP_REGNUM", ")", "return", "false", ";", "for", "(", "ause", "=", "DF_REG_USE_CHAIN", "(", "regno", ")", ";", "ause", ";", "ause", "=", "DF_REF_NEXT_REG", "(", "ause", ")", ")", "{", "if", "(", "!", "DF_REF_INSN_INFO", "(", "ause", ")", "||", "!", "NONDEBUG_INSN_P", "(", "DF_REF_INSN", "(", "ause", ")", ")", ")", "continue", ";", "if", "(", "insn", "!=", "DF_REF_INSN", "(", "ause", ")", ")", "continue", ";", "struct", "df_insn_info", "*", "insn_info", "=", "DF_INSN_INFO_GET", "(", "insn", ")", ";", "df_ref", "def_rec", ";", "FOR_EACH_INSN_INFO_DEF", "(", "def_rec", ",", "insn_info", ")", "{", "rtx_insn", "*", "insn", "=", "DF_REF_INSN", "(", "def_rec", ")", ";", "basic_block", "bb", "=", "BLOCK_FOR_INSN", "(", "insn", ")", ";", "if", "(", "dominated_by_p", "(", "CDI_DOMINATORS", ",", "bb", ",", "loop", "->", "header", ")", "&&", "bb", "->", "loop_father", "==", "loop", ")", "{", "if", "(", "recog_memoized", "(", "insn", ")", "<", "0", ")", "continue", ";", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "!=", "SET", ")", "continue", ";", "rtx", "x", "=", "SET_SRC", "(", "pat", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "ZERO_EXTRACT", "||", "GET_CODE", "(", "x", ")", "==", "ZERO_EXTEND", "||", "GET_CODE", "(", "x", ")", "==", "SIGN_EXTEND", ")", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "MEM_P", "(", "x", ")", ")", "continue", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "POST_INC", "||", "GET_CODE", "(", "x", ")", "==", "POST_DEC", "||", "GET_CODE", "(", "x", ")", "==", "PRE_INC", "||", "GET_CODE", "(", "x", ")", "==", "PRE_DEC", ")", "return", "true", ";", "else", "if", "(", "BINARY_P", "(", "x", ")", "&&", "(", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "||", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", ")", "{", "rtx", "stride", "=", "(", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "?", "XEXP", "(", "x", ",", "0", ")", ":", "XEXP", "(", "x", ",", "1", ")", ")", ";", "if", "(", "INTVAL", "(", "stride", ")", "<", "MAX_PREFETCH_STRIDE", ")", "return", "true", ";", "}", "}", "}", "return", "false", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Find", "the", "use", "def", "chain", "in", "which", "INSN", "exists", "and", "then", "see", "if", "there", "is", "a", "definition", "inside", "the", "loop", "and", "outside", "it", ".", "We", "use", "this", "as", "a", "simple", "approximation", "to", "determine", "whether", "the", "base", "register", "is", "an", "IV", ".", "The", "basic", "idea", "is", "to", "find", "INSN", "in", "the", "use-def", "chains", "for", "its", "base", "register", "and", "find", "all", "definitions", "that", "reach", "it", ".", "Of", "all", "these", "definitions", ",", "there", "should", "be", "at", "least", "one", "definition", "that", "is", "a", "simple", "addition", "of", "a", "constant", "value", ",", "either", "as", "a", "binary", "operation", "or", "a", "pre", "or", "post", "update", ".", "The", "function", "returns", "true", "if", "the", "base", "register", "is", "estimated", "to", "be", "an", "IV", "."], "TS_V_token": ["aarch64", "0", "0", "0", "1", "0", "0", "1"], "File": "falkor-tag-collision-avoidance", "Func": "iv_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8972, "Length": 338, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTTIImpl", "::", "getNumberOfRegisters", "(", "unsigned", "ClassID", ")", "const", "{", "assert", "(", "ClassID", "==", "GPRRC", "||", "ClassID", "==", "FPRRC", "||", "ClassID", "==", "VRRC", "||", "ClassID", "==", "VSXRC", ")", ";", "if", "(", "ST", "->", "hasVSX", "(", ")", ")", "{", "assert", "(", "ClassID", "==", "GPRRC", "||", "ClassID", "==", "VSXRC", ")", ";", "return", "ClassID", "==", "GPRRC", "?", "32", ":", "64", ";", "}", "assert", "(", "ClassID", "==", "GPRRC", "||", "ClassID", "==", "FPRRC", "||", "ClassID", "==", "VRRC", ")", ";", "return", "32", ";", "}", ""], "natrual_language": ["\ufffd", "?", "Vector", "TTI", "begin", "\ufffd", "?"], "TS_V_token": ["PowerPC", "PPC", "32", "64", "32"], "File": "PPCTargetTransformInfo35", "Func": "getNumberOfRegisters", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8973, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getRsaSize", "(", "void", ")", "const", "{", "return", "176", ";", "}", ""], "natrual_language": ["Get", "the", "size", "of", "RSA", ",", "return", "address", ",", "and", "frame", "pointer", "as", "described", "in", "VEFrameLowering.cpp", "."], "TS_V_token": ["VE", "176"], "File": "VESubtarget5", "Func": "getRsaSize", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8974, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "nds32_expand_epilogue_v3pop", "(", "bool", "sibcall_p", ")", "{", "int", "sp_adjust", ";", "unsigned", "Rb", ",", "Re", ";", "nds32_compute_stack_frame", "(", ")", ";", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "if", "(", "cfun", "->", "machine", "->", "naked_p", ")", "{", "if", "(", "!", "sibcall_p", ")", "{", "if", "(", "cfun", "->", "machine", "->", "attr_naked_p", "&&", "!", "flag_ret_in_naked_func", ")", "return", ";", "emit_jump_insn", "(", "gen_return_internal", "(", ")", ")", ";", "}", "return", ";", "}", "Rb", "=", "cfun", "->", "machine", "->", "callee_saved_first_gpr_regno", ";", "Re", "=", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", ";", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "if", "(", "satisfies_constraint_Iu08", "(", "GEN_INT", "(", "sp_adjust", ")", ")", "&&", "NDS32_DOUBLE_WORD_ALIGN_P", "(", "sp_adjust", ")", "&&", "!", "cfun", "->", "calls_alloca", ")", "{", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "int", "fpr_position", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", ";", "nds32_emit_v3pop_fpr_callee_saved", "(", "fpr_position", ")", ";", "}", "nds32_emit_stack_v3pop", "(", "Rb", ",", "Re", ",", "sp_adjust", ")", ";", "}", "else", "{", "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", ";", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "sp_adjust", "=", "sp_adjust", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "hard_frame_pointer_rtx", ",", "-", "1", "*", "sp_adjust", ")", ";", "nds32_emit_v3pop_fpr_callee_saved", "(", "0", ")", ";", "}", "else", "{", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "hard_frame_pointer_rtx", ",", "-", "1", "*", "sp_adjust", ")", ";", "}", "}", "else", "{", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "sp_adjust", "=", "sp_adjust", "-", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "-", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "sp_adjust", ")", ";", "nds32_emit_v3pop_fpr_callee_saved", "(", "0", ")", ";", "}", "else", "{", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "sp_adjust", ")", ";", "}", "}", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "int", "fpr_space", "=", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "nds32_emit_stack_v3pop", "(", "Rb", ",", "Re", ",", "fpr_space", ")", ";", "}", "else", "{", "nds32_emit_stack_v3pop", "(", "Rb", ",", "Re", ",", "0", ")", ";", "}", "}", "emit_jump_insn", "(", "gen_pop25return", "(", ")", ")", ";", "}", ""], "natrual_language": ["Function", "for", "v3pop", "epilogue", "."], "TS_V_token": ["nds32", "1", "0", "1", "0", "0"], "File": "nds32", "Func": "nds32_expand_epilogue_v3pop", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8975, "Length": 404, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "csky_sched_issue_rate", "(", "void", ")", "{", "if", "(", "CSKY_TARGET_ARCH", "(", "CK810", ")", ")", "return", "2", ";", "else", "return", "1", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SCHED_ISSUE_RATE", ".", "Lookup", "the", "issue", "rate", "in", "the", "per-core", "tuning", "structs", "."], "TS_V_token": ["csky", "2", "1"], "File": "csky", "Func": "csky_sched_issue_rate", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8976, "Length": 22, "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", ",", "Src1", ",", "Src2", ",", "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": "SystemZSelectionDAGInfo2", "Func": "EmitTargetCodeForMemcmp", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8977, "Length": 134, "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": ["rs6000", "0", "8", "0", "63"], "File": "rs60006", "Func": "rs6000_split_signbit", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8978, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "rest_of_insert_endbranch", "(", "void", ")", "{", "timevar_push", "(", "TV_MACH_DEP", ")", ";", "rtx", "cet_eb", ";", "rtx_insn", "*", "insn", ";", "basic_block", "bb", ";", "if", "(", "!", "lookup_attribute", "(", "\"nocf_check\"", ",", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "cfun", "->", "decl", ")", ")", ")", "&&", "!", "cgraph_node", "::", "get", "(", "cfun", "->", "decl", ")", "->", "only_called_directly_p", "(", ")", ")", "{", "cet_eb", "=", "gen_nop_endbr", "(", ")", ";", "bb", "=", "ENTRY_BLOCK_PTR_FOR_FN", "(", "cfun", ")", "->", "next_bb", ";", "insn", "=", "BB_HEAD", "(", "bb", ")", ";", "emit_insn_before", "(", "cet_eb", ",", "insn", ")", ";", "}", "bb", "=", "0", ";", "FOR_EACH_BB_FN", "(", "bb", ",", "cfun", ")", "{", "for", "(", "insn", "=", "BB_HEAD", "(", "bb", ")", ";", "insn", "!=", "NEXT_INSN", "(", "BB_END", "(", "bb", ")", ")", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "if", "(", "CALL_P", "(", "insn", ")", ")", "{", "if", "(", "find_reg_note", "(", "insn", ",", "REG_SETJMP", ",", "NULL", ")", "==", "NULL", ")", "continue", ";", "cet_eb", "=", "gen_nop_endbr", "(", ")", ";", "emit_insn_after_setloc", "(", "cet_eb", ",", "insn", ",", "INSN_LOCATION", "(", "insn", ")", ")", ";", "continue", ";", "}", "if", "(", "JUMP_P", "(", "insn", ")", "&&", "flag_cet_switch", ")", "{", "rtx", "target", "=", "JUMP_LABEL", "(", "insn", ")", ";", "if", "(", "target", "==", "NULL_RTX", "||", "ANY_RETURN_P", "(", "target", ")", ")", "continue", ";", "rtx_insn", "*", "label", "=", "as_a", "<", "rtx_insn", "*", ">", "(", "target", ")", ";", "rtx_insn", "*", "table", "=", "next_insn", "(", "label", ")", ";", "if", "(", "table", "==", "NULL_RTX", "||", "!", "JUMP_TABLE_DATA_P", "(", "table", ")", ")", "continue", ";", "edge_iterator", "ei", ";", "edge", "e", ";", "basic_block", "dest_blk", ";", "FOR_EACH_EDGE", "(", "e", ",", "ei", ",", "bb", "->", "succs", ")", "{", "rtx_insn", "*", "insn", ";", "dest_blk", "=", "e", "->", "dest", ";", "insn", "=", "BB_HEAD", "(", "dest_blk", ")", ";", "gcc_assert", "(", "LABEL_P", "(", "insn", ")", ")", ";", "cet_eb", "=", "gen_nop_endbr", "(", ")", ";", "emit_insn_after", "(", "cet_eb", ",", "insn", ")", ";", "}", "continue", ";", "}", "if", "(", "(", "LABEL_P", "(", "insn", ")", "&&", "LABEL_PRESERVE_P", "(", "insn", ")", ")", "||", "(", "NOTE_P", "(", "insn", ")", "&&", "NOTE_KIND", "(", "insn", ")", "==", "NOTE_INSN_DELETED_LABEL", ")", ")", "{", "cet_eb", "=", "gen_nop_endbr", "(", ")", ";", "emit_insn_after", "(", "cet_eb", ",", "insn", ")", ";", "continue", ";", "}", "}", "}", "timevar_pop", "(", "TV_MACH_DEP", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Inserting", "ENDBRANCH", "instructions", "."], "TS_V_token": ["i386", "\"nocf_check\"", "0", "0"], "File": "i3867", "Func": "rest_of_insert_endbranch", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8979, "Length": 353, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "expand", "(", "function_expander", "&", "e", ")", "const", "OVERRIDE", "{", "return", "e", ".", "use_exact_insn", "(", "CODE_FOR_aarch64_wrffr", ")", ";", "}", ""], "natrual_language": ["Expand", "the", "call", "and", "return", "its", "lhs", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins-base", "Func": "expand", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8980, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_emit_unlikely_jump", "(", "rtx", "insn", ")", "{", "int", "very_unlikely", "=", "REG_BR_PROB_BASE", "/", "100", "-", "1", ";", "rtx_insn", "*", "jump", "=", "emit_jump_insn", "(", "insn", ")", ";", "add_int_reg_note", "(", "jump", ",", "REG_BR_PROB", ",", "very_unlikely", ")", ";", "}", ""], "natrual_language": ["Mark", "the", "previous", "jump", "instruction", "as", "unlikely", "."], "TS_V_token": ["aarch64", "100", "1"], "File": "aarch644", "Func": "aarch64_emit_unlikely_jump", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8981, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "AArch64InstrInfo", "::", "insertOutlinedCall", "(", "Module", "&", "M", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "It", ",", "MachineFunction", "&", "MF", ",", "bool", "IsTailCall", ")", "const", "{", "if", "(", "IsTailCall", ")", "{", "It", "=", "MBB", ".", "insert", "(", "It", ",", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "B", ")", ")", ".", "addGlobalAddress", "(", "M", ".", "getNamedValue", "(", "MF", ".", "getName", "(", ")", ")", ")", ")", ";", "return", "It", ";", "}", "MachineInstr", "*", "STRXpre", "=", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "STRXpre", ")", ")", ".", "addReg", "(", "AArch64", "::", "SP", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "AArch64", "::", "LR", ")", ".", "addReg", "(", "AArch64", "::", "SP", ")", ".", "addImm", "(", "-", "16", ")", ";", "It", "=", "MBB", ".", "insert", "(", "It", ",", "STRXpre", ")", ";", "It", "++", ";", "It", "=", "MBB", ".", "insert", "(", "It", ",", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "BL", ")", ")", ".", "addGlobalAddress", "(", "M", ".", "getNamedValue", "(", "MF", ".", "getName", "(", ")", ")", ")", ")", ";", "It", "++", ";", "MachineInstr", "*", "LDRXpost", "=", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "LDRXpost", ")", ")", ".", "addReg", "(", "AArch64", "::", "SP", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "AArch64", "::", "LR", ")", ".", "addReg", "(", "AArch64", "::", "SP", ")", ".", "addImm", "(", "16", ")", ";", "It", "=", "MBB", ".", "insert", "(", "It", ",", "LDRXpost", ")", ";", "return", "It", ";", "}", ""], "natrual_language": ["Insert", "a", "call", "to", "an", "outlined", "function", "into", "the", "program", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::B", "AArch64::STRXpre", "AArch64::SP", "AArch64::LR", "AArch64::SP", "16", "AArch64::BL", "AArch64::LDRXpost", "AArch64::SP", "AArch64::LR", "AArch64::SP", "16"], "File": "AArch64InstrInfo109", "Func": "insertOutlinedCall", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8982, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isGPRCopy", "(", "const", "MachineInstr", "&", "MI", ")", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "TargetOpcode", "::", "COPY", ":", "{", "Register", "DstReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "return", "(", "AArch64", "::", "GPR32RegClass", ".", "contains", "(", "DstReg", ")", "||", "AArch64", "::", "GPR64RegClass", ".", "contains", "(", "DstReg", ")", ")", ";", "}", "case", "AArch64", "::", "ORRXrs", ":", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "AArch64", "::", "XZR", ")", "{", "assert", "(", "MI", ".", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", "==", "4", "&&", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "==", "0", "&&", "\"invalid ORRrs operands\"", ")", ";", "return", "true", ";", "}", "break", ";", "case", "AArch64", "::", "ADDXri", ":", "if", "(", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "0", ")", "{", "assert", "(", "MI", ".", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", "==", "4", "&&", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "==", "0", "&&", "\"invalid ADDXri operands\"", ")", ";", "return", "true", ";", "}", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Does", "this", "instruction", "rename", "a", "GPR", "without", "modifying", "bits", "?"], "TS_V_token": ["AArch64", "AArch64", "0", "AArch64::GPR32RegClass", "AArch64::GPR64RegClass", "AArch64::ORRXrs", "1", "AArch64::XZR", "4", "3", "0", "\"invalid ORRrs operands\"", "AArch64::ADDXri", "2", "0", "4", "3", "0", "\"invalid ADDXri operands\""], "File": "AArch64InstrInfo104", "Func": "isGPRCopy", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8983, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "short", "find_insn_regmode_weight", "(", "rtx", "insn", ",", "machine_mode", "mode", ")", "{", "rtx", "x", "=", "PATTERN", "(", "insn", ")", ";", "short", "reg_weight", "=", "find_set_regmode_weight", "(", "x", ",", "mode", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PARALLEL", ")", "{", "int", "j", ";", "for", "(", "j", "=", "XVECLEN", "(", "x", ",", "0", ")", "-", "1", ";", "j", ">=", "0", ";", "j", "--", ")", "{", "x", "=", "XVECEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ",", "j", ")", ";", "reg_weight", "+=", "find_set_regmode_weight", "(", "x", ",", "mode", ")", ";", "}", "}", "for", "(", "x", "=", "REG_NOTES", "(", "insn", ")", ";", "x", ";", "x", "=", "XEXP", "(", "x", ",", "1", ")", ")", "{", "if", "(", "REG_NOTE_KIND", "(", "x", ")", "==", "REG_DEAD", "||", "REG_NOTE_KIND", "(", "x", ")", "==", "REG_UNUSED", ")", "{", "rtx", "note", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "REG_P", "(", "note", ")", "&&", "GET_MODE", "(", "note", ")", "==", "mode", ")", "reg_weight", "--", ";", "}", "}", "return", "reg_weight", ";", "}", ""], "natrual_language": ["Get", "regmode", "weight", "for", "insn", "."], "TS_V_token": ["sh", "0", "1", "0", "0", "1", "0"], "File": "sh", "Func": "find_insn_regmode_weight", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8984, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ARMSubtarget", "*", "ARMBaseTargetMachine", "::", "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", ".", "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", "<", "ARMSubtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "*", "this", ",", "isLittle", ")", ";", "GISelAccessor", "*", "GISel", "=", "new", "GISelAccessor", "(", ")", ";", "ARMGISelActualAccessor", "*", "GISel", "=", "new", "ARMGISelActualAccessor", "(", ")", ";", "GISel", "->", "CallLoweringInfo", ".", "reset", "(", "new", "ARMCallLowering", "(", "*", "I", "->", "getTargetLowering", "(", ")", ")", ")", ";", "GISel", "->", "Legalizer", ".", "reset", "(", "new", "ARMLegalizerInfo", "(", ")", ")", ";", "auto", "*", "RBI", "=", "new", "ARMRegisterBankInfo", "(", "*", "I", "->", "getRegisterInfo", "(", ")", ")", ";", "GISel", "->", "InstSelector", ".", "reset", "(", "new", "ARMInstructionSelector", "(", "*", "I", ",", "*", "RBI", ")", ")", ";", "GISel", "->", "RegBankInfo", ".", "reset", "(", "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": ["ARM", "ARM", "ARM", "\"target-cpu\"", "\"target-features\"", "\"use-soft-float\"", "\"true\"", "\"+soft-float\"", "\",+soft-float\"", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM"], "File": "ARMTargetMachine66", "Func": "getSubtargetImpl", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8985, "Length": 269, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "SparcTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "EVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'r'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "SP", "::", "IntRegsRegClass", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["Sparc", "Sparc", "1", "0", "0U", "SP::IntRegsRegClass"], "File": "SparcISelLowering1", "Func": "getRegForInlineAsmConstraint", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8986, "Length": 74, "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": ["LEG"], "File": "LEGAsmBackend", "Func": "fixupNeedsRelaxation", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8987, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCFunctionInfo", "::", "isLiveInSExt", "(", "unsigned", "VReg", ")", "const", "{", "for", "(", "const", "std", "::", "pair", "<", "unsigned", ",", "ISD", "::", "ArgFlagsTy", ">", "&", "LiveIn", ":", "LiveInAttrs", ")", "if", "(", "LiveIn", ".", "first", "==", "VReg", ")", "return", "LiveIn", ".", "second", ".", "isSExt", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "returns", "true", "if", "the", "specified", "vreg", "is", "a", "live-in", "register", "and", "sign-extended", "."], "TS_V_token": ["PowerPC", "PPC", "ISD::ArgFlagsTy"], "File": "PPCMachineFunctionInfo1", "Func": "isLiveInSExt", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8988, "Length": 49, "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": 8989, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "EmitInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "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": "ARMELFStreamer27", "Func": "EmitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8990, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "rs6000_special_round_type_align", "(", "tree", "type", ",", "unsigned", "int", "computed", ",", "unsigned", "int", "specified", ")", "{", "unsigned", "int", "align", "=", "MAX", "(", "computed", ",", "specified", ")", ";", "if", "(", "TYPE_PACKED", "(", "type", ")", "||", "align", ">=", "64", ")", "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", "&&", "(", "TYPE_MODE", "(", "type", ")", "==", "DFmode", "||", "TYPE_MODE", "(", "type", ")", "==", "DCmode", ")", ")", "align", "=", "MAX", "(", "align", ",", "64", ")", ";", "return", "align", ";", "}", ""], "natrual_language": ["Darwin", ",", "AIX", "increases", "natural", "record", "alignment", "to", "doubleword", "if", "the", "first", "field", "is", "an", "FP", "double", "while", "the", "FP", "fields", "remain", "word", "aligned", "."], "TS_V_token": ["rs6000", "64", "64"], "File": "rs6000", "Func": "rs6000_special_round_type_align", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8991, "Length": 168, "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": ["SHUXI"], "File": "SHUXIAsmBackend", "Func": "mayNeedRelaxation", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8992, "Length": 15, "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": 8993, "Length": 499, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_split_combinev16qi", "(", "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", ";", "gcc_assert", "(", "halfmode", "==", "V16QImode", ")", ";", "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", "(", "reg_overlap_mentioned_p", "(", "operands", "[", "2", "]", ",", "destlo", ")", "&&", "reg_overlap_mentioned_p", "(", "operands", "[", "1", "]", ",", "desthi", ")", ")", "{", "emit_insn", "(", "gen_xorv16qi3", "(", "operands", "[", "1", "]", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ")", ";", "emit_insn", "(", "gen_xorv16qi3", "(", "operands", "[", "2", "]", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ")", ";", "emit_insn", "(", "gen_xorv16qi3", "(", "operands", "[", "1", "]", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ")", ";", "}", "else", "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": ["aarch64", "3", "0", "1", "2", "1", "1", "0", "0", "0", "2", "1", "1", "1", "2", "2", "1", "2", "1", "1", "2", "2", "1", "2", "2", "1"], "File": "aarch64", "Func": "aarch64_split_combinev16qi", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8994, "Length": 314, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Error", "(", "SMLoc", "L", ",", "const", "Twine", "&", "Msg", ",", "ArrayRef", "<", "SMRange", ">", "Ranges", "=", "None", ")", "{", "return", "Parser", ".", "Error", "(", "L", ",", "Msg", ",", "Ranges", ")", ";", "}", ""], "natrual_language": ["Return", "an", "error", "at", "the", "location", "L", ",", "with", "the", "message", "Msg", "."], "TS_V_token": ["ARM"], "File": "ARMAsmParser (2)", "Func": "Error", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8995, "Length": 33, "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", ":", "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", ";", "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", "1"], "File": "MipsRegisterBankInfo31", "Func": "getInstrMapping", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8996, "Length": 158, "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": 8997, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "moxie_asm_trampoline_template", "(", "FILE", "*", "f", ")", "{", "fprintf", "(", "f", ",", "\"\\tpush $sp, $r0\\n\"", ")", ";", "fprintf", "(", "f", ",", "\"\\tldi.l $r0, 0x0\\n\"", ")", ";", "fprintf", "(", "f", ",", "\"\\tsto.l 0x8($fp), $r0\\n\"", ")", ";", "fprintf", "(", "f", ",", "\"\\tpop $sp, $r0\\n\"", ")", ";", "fprintf", "(", "f", ",", "\"\\tjmpa 0x0\\n\"", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_ASM_TRAMPOLINE_TEMPLATE", "."], "TS_V_token": ["moxie", "\"\\tpush $sp, $r0\\n\"", "\"\\tldi.l $r0, 0x0\\n\"", "\"\\tsto.l 0x8($fp), $r0\\n\"", "\"\\tpop $sp, $r0\\n\"", "\"\\tjmpa 0x0\\n\""], "File": "moxie", "Func": "moxie_asm_trampoline_template", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 8998, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequiredID", "(", "LoopSimplifyID", ")", ";", "AU", ".", "addRequired", "<", "LoopInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "TargetTransformInfoWrapperPass", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AArch64"], "File": "SVEPostVectorize", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8999, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTTI", "::", "getNumberOfRegisters", "(", "bool", "Vector", ")", "const", "{", "if", "(", "Vector", "&&", "!", "ST", "->", "hasAltivec", "(", ")", ")", "return", "0", ";", "return", "32", ";", "}", ""], "natrual_language": ["\ufffd", "?", "Vector", "TTI", "begin", "\ufffd", "?"], "TS_V_token": ["PowerPC", "PPC", "0", "32"], "File": "PPCTargetTransformInfo (2)", "Func": "getNumberOfRegisters", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9000, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "MipsTargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", ",", "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": ["Mips", "Mips", "MVT::i32"], "File": "MipsISelLowering (2)4", "Func": "getSetCCResultType", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9001, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_restore_reg_using_pop", "(", "rtx", "reg", ")", "{", "struct", "machine_function", "*", "m", "=", "cfun", "->", "machine", ";", "rtx_insn", "*", "insn", "=", "emit_insn", "(", "gen_pop", "(", "reg", ")", ")", ";", "ix86_add_cfa_restore_note", "(", "insn", ",", "reg", ",", "m", "->", "fs", ".", "sp_offset", ")", ";", "m", "->", "fs", ".", "sp_offset", "-=", "UNITS_PER_WORD", ";", "if", "(", "m", "->", "fs", ".", "cfa_reg", "==", "crtl", "->", "drap_reg", "&&", "REGNO", "(", "reg", ")", "==", "REGNO", "(", "crtl", "->", "drap_reg", ")", ")", "{", "add_reg_note", "(", "insn", ",", "REG_CFA_DEF_CFA", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "m", "->", "fs", ".", "drap_valid", "=", "true", ";", "return", ";", "}", "if", "(", "m", "->", "fs", ".", "cfa_reg", "==", "stack_pointer_rtx", ")", "{", "rtx", "x", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "UNITS_PER_WORD", ")", ";", "x", "=", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "x", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_ADJUST_CFA", ",", "x", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "m", "->", "fs", ".", "cfa_offset", "-=", "UNITS_PER_WORD", ";", "}", "if", "(", "reg", "==", "hard_frame_pointer_rtx", ")", "{", "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", "-=", "UNITS_PER_WORD", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_DEF_CFA", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "m", "->", "fs", ".", "cfa_offset", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "}", "}", ""], "natrual_language": ["Emit", "code", "to", "restore", "REG", "using", "a", "POP", "insn", "."], "TS_V_token": ["i386", "1", "1", "1"], "File": "i386", "Func": "ix86_emit_restore_reg_using_pop", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9002, "Length": 231, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "csky_memory_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "rclass", ",", "bool", "in", ")", "{", "return", "(", "4", "+", "memory_move_secondary_cost", "(", "mode", ",", "rclass", ",", "in", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MEMORY_MOVE_COST", ":", "compute", "the", "cost", "of", "moving", "data", "between", "registers", "and", "memory", "."], "TS_V_token": ["csky", "4"], "File": "csky", "Func": "csky_memory_move_cost", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9003, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "loongarch_print_operand_reloc", "(", "FILE", "*", "file", ",", "rtx", "op", ",", "bool", "hi64_part", ",", "bool", "hi_reloc", ")", "{", "const", "char", "*", "reloc", ";", "enum", "loongarch_symbol_type", "symbol_type", "=", "loongarch_classify_symbolic_expression", "(", "op", ")", ";", "if", "(", "loongarch_symbol_extreme_p", "(", "symbol_type", ")", ")", "gcc_assert", "(", "TARGET_EXPLICIT_RELOCS", ")", ";", "switch", "(", "symbol_type", ")", "{", "case", "SYMBOL_PCREL64", ":", "if", "(", "hi64_part", ")", "{", "reloc", "=", "hi_reloc", "?", "\"%pc64_hi12\"", ":", "\"%pc64_lo20\"", ";", "break", ";", "}", "case", "SYMBOL_PCREL", ":", "reloc", "=", "hi_reloc", "?", "\"%pc_hi20\"", ":", "\"%pc_lo12\"", ";", "break", ";", "case", "SYMBOL_GOT_DISP", ":", "if", "(", "hi64_part", ")", "{", "if", "(", "TARGET_CMODEL_EXTREME", ")", "reloc", "=", "hi_reloc", "?", "\"%got64_pc_hi12\"", ":", "\"%got64_pc_lo20\"", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "else", "reloc", "=", "hi_reloc", "?", "\"%got_pc_hi20\"", ":", "\"%got_pc_lo12\"", ";", "break", ";", "case", "SYMBOL_TLS_IE", ":", "if", "(", "hi64_part", ")", "{", "if", "(", "TARGET_CMODEL_EXTREME", ")", "reloc", "=", "hi_reloc", "?", "\"%ie64_pc_hi12\"", ":", "\"%ie64_pc_lo20\"", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "else", "reloc", "=", "hi_reloc", "?", "\"%ie_pc_hi20\"", ":", "\"%ie_pc_lo12\"", ";", "break", ";", "case", "SYMBOL_TLS_LE", ":", "if", "(", "hi64_part", ")", "{", "if", "(", "TARGET_CMODEL_EXTREME", ")", "reloc", "=", "hi_reloc", "?", "\"%le64_hi12\"", ":", "\"%le64_lo20\"", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "else", "reloc", "=", "hi_reloc", "?", "\"%le_hi20\"", ":", "\"%le_lo12\"", ";", "break", ";", "case", "SYMBOL_TLSGD", ":", "if", "(", "hi64_part", ")", "{", "if", "(", "TARGET_CMODEL_EXTREME", ")", "reloc", "=", "hi_reloc", "?", "\"%got64_pc_hi12\"", ":", "\"%got64_pc_lo20\"", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "else", "reloc", "=", "hi_reloc", "?", "\"%gd_pc_hi20\"", ":", "\"%got_pc_lo12\"", ";", "break", ";", "case", "SYMBOL_TLSLDM", ":", "if", "(", "hi64_part", ")", "{", "if", "(", "TARGET_CMODEL_EXTREME", ")", "reloc", "=", "hi_reloc", "?", "\"%got64_pc_hi12\"", ":", "\"%got64_pc_lo20\"", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "else", "reloc", "=", "hi_reloc", "?", "\"%ld_pc_hi20\"", ":", "\"%got_pc_lo12\"", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "fprintf", "(", "file", ",", "\"%s(\"", ",", "reloc", ")", ";", "output_addr_const", "(", "file", ",", "loongarch_strip_unspec_address", "(", "op", ")", ")", ";", "fputc", "(", "')'", ",", "file", ")", ";", "}", ""], "natrual_language": ["Print", "symbolic", "operand", "OP", ",", "which", "is", "part", "of", "a", "HIGH", "or", "LO_SUM", "in", "context", "CONTEXT", ".", "HI_RELOC", "indicates", "a", "high-part", "reloc", "."], "TS_V_token": ["loongarch", "\"%pc64_hi12\"", "\"%pc64_lo20\"", "\"%pc_hi20\"", "\"%pc_lo12\"", "\"%got64_pc_hi12\"", "\"%got64_pc_lo20\"", "\"%got_pc_hi20\"", "\"%got_pc_lo12\"", "\"%ie64_pc_hi12\"", "\"%ie64_pc_lo20\"", "\"%ie_pc_hi20\"", "\"%ie_pc_lo12\"", "\"%le64_hi12\"", "\"%le64_lo20\"", "\"%le_hi20\"", "\"%le_lo12\"", "\"%got64_pc_hi12\"", "\"%got64_pc_lo20\"", "\"%gd_pc_hi20\"", "\"%got_pc_lo12\"", "\"%got64_pc_hi12\"", "\"%got64_pc_lo20\"", "\"%ld_pc_hi20\"", "\"%got_pc_lo12\"", "\"%s(\""], "File": "loongarch1", "Func": "loongarch_print_operand_reloc", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9004, "Length": 300, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "CJGTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "CJGPassConfig", "(", "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": ["CJG", "CJG", "CJG"], "File": "CJGTargetMachine", "Func": "createPassConfig", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9005, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_eliminate_indexed_memrefs", "(", "rtx", "operands", "[", "2", "]", ")", "{", "if", "(", "reload_in_progress", ")", "return", ";", "if", "(", "GET_CODE", "(", "operands", "[", "0", "]", ")", "==", "MEM", "&&", "GET_CODE", "(", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ")", "!=", "REG", "&&", "!", "legitimate_constant_pool_address_p", "(", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ",", "GET_MODE", "(", "operands", "[", "0", "]", ")", ",", "false", ")", ")", "operands", "[", "0", "]", "=", "replace_equiv_address", "(", "operands", "[", "0", "]", ",", "copy_addr_to_reg", "(", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ")", ")", ";", "if", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "MEM", "&&", "GET_CODE", "(", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ")", "!=", "REG", "&&", "!", "legitimate_constant_pool_address_p", "(", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ",", "GET_MODE", "(", "operands", "[", "1", "]", ")", ",", "false", ")", ")", "operands", "[", "1", "]", "=", "replace_equiv_address", "(", "operands", "[", "1", "]", ",", "copy_addr_to_reg", "(", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ")", ")", ";", "}", ""], "natrual_language": ["Helper", "for", "the", "following", ".", "Get", "rid", "of", "[", "r+r", "]", "memory", "refs", "in", "cases", "where", "it", "wo", "n't", "work", "(", "TImode", ",", "TFmode", ")", "."], "TS_V_token": ["powerpcspe", "2", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "0", "1", "1", "1", "1", "0"], "File": "powerpcspe", "Func": "rs6000_eliminate_indexed_memrefs", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9006, "Length": 172, "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", "::", "tGPRRegClass", "||", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "DestReg", ")", "&&", "isARMLowRegister", "(", "DestReg", ")", ")", ")", "&&", "\"Unknown regclass!\"", ")", ";", "if", "(", "RC", "==", "&", "ARM", "::", "tGPRRegClass", "||", "(", "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", "::", "getFixedStack", "(", "FI", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tLDRspi", ")", ",", "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::tGPRRegClass", "ARM", "\"Unknown regclass!\"", "ARM::tGPRRegClass", "ARM", "ARM::tLDRspi", "0"], "File": "Thumb1InstrInfo", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9007, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtvec", "rs6000_const_vec", "(", "machine_mode", "mode", ")", "{", "int", "i", ",", "subparts", ";", "rtvec", "v", ";", "switch", "(", "mode", ")", "{", "case", "E_V1TImode", ":", "subparts", "=", "1", ";", "break", ";", "case", "E_V2DFmode", ":", "case", "E_V2DImode", ":", "subparts", "=", "2", ";", "break", ";", "case", "E_V4SFmode", ":", "case", "E_V4SImode", ":", "subparts", "=", "4", ";", "break", ";", "case", "E_V8HImode", ":", "subparts", "=", "8", ";", "break", ";", "case", "E_V16QImode", ":", "subparts", "=", "16", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "v", "=", "rtvec_alloc", "(", "subparts", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "subparts", "/", "2", ";", "++", "i", ")", "RTVEC_ELT", "(", "v", ",", "i", ")", "=", "gen_rtx_CONST_INT", "(", "DImode", ",", "i", "+", "subparts", "/", "2", ")", ";", "for", "(", "i", "=", "subparts", "/", "2", ";", "i", "<", "subparts", ";", "++", "i", ")", "RTVEC_ELT", "(", "v", ",", "i", ")", "=", "gen_rtx_CONST_INT", "(", "DImode", ",", "i", "-", "subparts", "/", "2", ")", ";", "return", "v", ";", "}", ""], "natrual_language": ["Generate", "a", "vector", "of", "constants", "to", "permute", "MODE", "for", "a", "little-endian", "storage", "operation", "by", "swapping", "the", "two", "halves", "of", "a", "vector", "."], "TS_V_token": ["powerpcspe", "1", "2", "4", "8", "16", "0", "2", "2", "2", "2"], "File": "powerpcspe", "Func": "rs6000_const_vec", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9008, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PPCTargetLowering", "::", "ConstraintType", "PPCTargetLowering", "::", "getConstraintType", "(", "const", "std", "::", "string", "&", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'b'", ":", "case", "'r'", ":", "case", "'f'", ":", "case", "'v'", ":", "case", "'y'", ":", "return", "C_RegisterClass", ";", "case", "'Z'", ":", "return", "C_Memory", ";", "}", "}", "else", "if", "(", "Constraint", "==", "\"wc\"", ")", "{", "return", "C_RegisterClass", ";", "}", "else", "if", "(", "Constraint", "==", "\"wa\"", "||", "Constraint", "==", "\"wd\"", "||", "Constraint", "==", "\"wf\"", "||", "Constraint", "==", "\"ws\"", ")", "{", "return", "C_RegisterClass", ";", "}", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "1", "0", "\"wc\"", "\"wa\"", "\"wd\"", "\"wf\"", "\"ws\""], "File": "PPCISelLowering120", "Func": "getConstraintType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9009, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MandarinRegisterInfo", "::", "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", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "DebugLoc", "dl", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "getIndex", "(", ")", ";", "unsigned", "BasePtr", "=", "(", "TFI", "->", "hasFP", "(", "MF", ")", "?", "MD", "::", "R31", ":", "MD", "::", "R30", ")", ";", "int", "Offset", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FrameIndex", ")", ";", "if", "(", "!", "TFI", "->", "hasFP", "(", "MF", ")", ")", "Offset", "+=", "MF", ".", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", ".", "getRegInfo", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "unsigned", "VReg", "=", "BasePtr", ";", "if", "(", "Offset", ")", "{", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "MD", "::", "GenericRegsRegClass", ")", ";", "if", "(", "Offset", ">", "0", ")", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "MD", "::", "ADDri", ")", ",", "VReg", ")", ".", "addReg", "(", "BasePtr", ")", ".", "addImm", "(", "Offset", ")", ";", "else", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "MD", "::", "SUBri", ")", ",", "VReg", ")", ".", "addReg", "(", "BasePtr", ")", ".", "addImm", "(", "Offset", ")", ";", "}", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "VReg", ",", "false", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["Mandarin", "0", "\"Unexpected\"", "MD::R31", "MD::R30", "MD::GenericRegsRegClass", "0", "MD::ADDri", "MD::SUBri"], "File": "MandarinRegisterInfo", "Func": "eliminateFrameIndex", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9010, "Length": 285, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "AArch64TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'r'", ":", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "<=", "32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AArch64", "::", "GPR32RegClass", ")", ";", "else", "if", "(", "VT", "==", "MVT", "::", "i64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AArch64", "::", "GPR64RegClass", ")", ";", "break", ";", "case", "'w'", ":", "if", "(", "VT", "==", "MVT", "::", "f16", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AArch64", "::", "FPR16RegClass", ")", ";", "else", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AArch64", "::", "FPR32RegClass", ")", ";", "else", "if", "(", "VT", "==", "MVT", "::", "f64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AArch64", "::", "FPR64RegClass", ")", ";", "else", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AArch64", "::", "VPR64RegClass", ")", ";", "else", "if", "(", "VT", "==", "MVT", "::", "f128", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AArch64", "::", "FPR128RegClass", ")", ";", "else", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "128", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AArch64", "::", "VPR128RegClass", ")", ";", "break", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["AArch64", "AArch64", "1", "0", "32", "0U", "AArch64::GPR32RegClass", "MVT::i64", "0U", "AArch64::GPR64RegClass", "MVT::f16", "0U", "AArch64::FPR16RegClass", "MVT::f32", "0U", "AArch64::FPR32RegClass", "MVT::f64", "0U", "AArch64::FPR64RegClass", "64", "0U", "AArch64::VPR64RegClass", "MVT::f128", "0U", "AArch64::FPR128RegClass", "128", "0U", "AArch64::VPR128RegClass"], "File": "AArch64ISelLowering21", "Func": "getRegForInlineAsmConstraint", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9011, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "ix86_builtin_reciprocal", "(", "tree", "fndecl", ")", "{", "enum", "ix86_builtins", "fn_code", "=", "(", "enum", "ix86_builtins", ")", "DECL_MD_FUNCTION_CODE", "(", "fndecl", ")", ";", "switch", "(", "fn_code", ")", "{", "case", "IX86_BUILTIN_SQRTPS_NR", ":", "return", "ix86_get_builtin", "(", "IX86_BUILTIN_RSQRTPS_NR", ")", ";", "case", "IX86_BUILTIN_SQRTPS_NR256", ":", "return", "ix86_get_builtin", "(", "IX86_BUILTIN_RSQRTPS_NR256", ")", ";", "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": ["i386"], "File": "i386-builtins", "Func": "ix86_builtin_reciprocal", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9012, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "classof", "(", "const", "MCStreamer", "*", "S", ")", "{", "return", "S", "->", "getKind", "(", ")", "==", "SK_ARMELFStreamer", ";", "}", ""], "natrual_language": ["Methods", "for", "support", "type", "inquiry", "through", "isa", ",", "cast", ",", "and", "dyn_cast", ":"], "TS_V_token": ["ARM", "ARM"], "File": "ARMELFStreamer1", "Func": "classof", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9013, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "Sparc", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_sparc_call30\"", ",", "2", ",", "30", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_sparc_br22\"", ",", "10", ",", "22", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_sparc_br19\"", ",", "13", ",", "19", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_sparc_br16_2\"", ",", "10", ",", "2", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_sparc_br16_14\"", ",", "18", ",", "14", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_sparc_hi22\"", ",", "10", ",", "22", ",", "0", "}", ",", "{", "\"fixup_sparc_lo10\"", ",", "22", ",", "10", ",", "0", "}", ",", "{", "\"fixup_sparc_h44\"", ",", "10", ",", "22", ",", "0", "}", ",", "{", "\"fixup_sparc_m44\"", ",", "22", ",", "10", ",", "0", "}", ",", "{", "\"fixup_sparc_l44\"", ",", "20", ",", "12", ",", "0", "}", ",", "{", "\"fixup_sparc_hh\"", ",", "10", ",", "22", ",", "0", "}", ",", "{", "\"fixup_sparc_hm\"", ",", "22", ",", "10", ",", "0", "}", ",", "{", "\"fixup_sparc_pc22\"", ",", "10", ",", "22", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_sparc_pc10\"", ",", "22", ",", "10", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_sparc_got22\"", ",", "10", ",", "22", ",", "0", "}", ",", "{", "\"fixup_sparc_got10\"", ",", "22", ",", "10", ",", "0", "}", ",", "{", "\"fixup_sparc_wplt30\"", ",", "2", ",", "30", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_sparc_tls_gd_hi22\"", ",", "10", ",", "22", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_gd_lo10\"", ",", "22", ",", "10", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_gd_add\"", ",", "0", ",", "0", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_gd_call\"", ",", "0", ",", "0", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_ldm_hi22\"", ",", "10", ",", "22", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_ldm_lo10\"", ",", "22", ",", "10", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_ldm_add\"", ",", "0", ",", "0", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_ldm_call\"", ",", "0", ",", "0", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_ldo_hix22\"", ",", "10", ",", "22", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_ldo_lox10\"", ",", "22", ",", "10", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_ldo_add\"", ",", "0", ",", "0", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_ie_hi22\"", ",", "10", ",", "22", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_ie_lo10\"", ",", "22", ",", "10", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_ie_ld\"", ",", "0", ",", "0", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_ie_ldx\"", ",", "0", ",", "0", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_ie_add\"", ",", "0", ",", "0", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_le_hix22\"", ",", "0", ",", "0", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_le_lox10\"", ",", "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": ["Sparc", "Sparc::NumTargetFixupKinds", "\"fixup_sparc_call30\"", "2", "30", "\"fixup_sparc_br22\"", "10", "22", "\"fixup_sparc_br19\"", "13", "19", "\"fixup_sparc_br16_2\"", "10", "2", "\"fixup_sparc_br16_14\"", "18", "14", "\"fixup_sparc_hi22\"", "10", "22", "0", "\"fixup_sparc_lo10\"", "22", "10", "0", "\"fixup_sparc_h44\"", "10", "22", "0", "\"fixup_sparc_m44\"", "22", "10", "0", "\"fixup_sparc_l44\"", "20", "12", "0", "\"fixup_sparc_hh\"", "10", "22", "0", "\"fixup_sparc_hm\"", "22", "10", "0", "\"fixup_sparc_pc22\"", "10", "22", "\"fixup_sparc_pc10\"", "22", "10", "\"fixup_sparc_got22\"", "10", "22", "0", "\"fixup_sparc_got10\"", "22", "10", "0", "\"fixup_sparc_wplt30\"", "2", "30", "\"fixup_sparc_tls_gd_hi22\"", "10", "22", "0", "\"fixup_sparc_tls_gd_lo10\"", "22", "10", "0", "\"fixup_sparc_tls_gd_add\"", "0", "0", "0", "\"fixup_sparc_tls_gd_call\"", "0", "0", "0", "\"fixup_sparc_tls_ldm_hi22\"", "10", "22", "0", "\"fixup_sparc_tls_ldm_lo10\"", "22", "10", "0", "\"fixup_sparc_tls_ldm_add\"", "0", "0", "0", "\"fixup_sparc_tls_ldm_call\"", "0", "0", "0", "\"fixup_sparc_tls_ldo_hix22\"", "10", "22", "0", "\"fixup_sparc_tls_ldo_lox10\"", "22", "10", "0", "\"fixup_sparc_tls_ldo_add\"", "0", "0", "0", "\"fixup_sparc_tls_ie_hi22\"", "10", "22", "0", "\"fixup_sparc_tls_ie_lo10\"", "22", "10", "0", "\"fixup_sparc_tls_ie_ld\"", "0", "0", "0", "\"fixup_sparc_tls_ie_ldx\"", "0", "0", "0", "\"fixup_sparc_tls_ie_add\"", "0", "0", "0", "\"fixup_sparc_tls_le_hix22\"", "0", "0", "0", "\"fixup_sparc_tls_le_lox10\"", "0", "0", "0", "\"Invalid kind!\""], "File": "SparcAsmBackend12", "Func": "getFixupKindInfo", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9014, "Length": 427, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "BuildCFI", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "DebugLoc", "&", "DL", ",", "const", "MCCFIInstruction", "&", "CFIInst", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "CFIInst", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "}", ""], "natrual_language": ["Wraps", "up", "getting", "a", "CFI", "index", "and", "building", "a", "MachineInstr", "for", "it", "."], "TS_V_token": ["X86", "X86"], "File": "X86FrameLowering (2)2", "Func": "BuildCFI", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9015, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "core2i7_first_cycle_multipass_issue", "(", "void", "*", "_data", ",", "signed", "char", "*", "ready_try", ",", "int", "n_ready", ",", "rtx_insn", "*", "insn", ",", "const", "void", "*", "_prev_data", ")", "{", "ix86_first_cycle_multipass_data_t", "data", "=", "(", "ix86_first_cycle_multipass_data_t", ")", "_data", ";", "const_ix86_first_cycle_multipass_data_t", "prev_data", "=", "(", "const_ix86_first_cycle_multipass_data_t", ")", "_prev_data", ";", "int", "insn_size", "=", "ix86_min_insn_size", "(", "insn", ")", ";", "data", "->", "ifetch_block_len", "=", "prev_data", "->", "ifetch_block_len", "+", "insn_size", ";", "data", "->", "ifetch_block_n_insns", "=", "prev_data", "->", "ifetch_block_n_insns", "+", "1", ";", "gcc_assert", "(", "data", "->", "ifetch_block_len", "<=", "core2i7_ifetch_block_size", "&&", "data", "->", "ifetch_block_n_insns", "<=", "core2i7_ifetch_block_max_insns", ")", ";", "if", "(", "!", "data", "->", "ready_try_change", ")", "{", "data", "->", "ready_try_change", "=", "sbitmap_alloc", "(", "n_ready", ")", ";", "data", "->", "ready_try_change_size", "=", "n_ready", ";", "}", "else", "if", "(", "data", "->", "ready_try_change_size", "<", "n_ready", ")", "{", "data", "->", "ready_try_change", "=", "sbitmap_resize", "(", "data", "->", "ready_try_change", ",", "n_ready", ",", "0", ")", ";", "data", "->", "ready_try_change_size", "=", "n_ready", ";", "}", "bitmap_clear", "(", "data", "->", "ready_try_change", ")", ";", "core2i7_first_cycle_multipass_filter_ready_try", "(", "data", ",", "ready_try", ",", "n_ready", ",", "false", ")", ";", "}", ""], "natrual_language": ["INSN", "is", "being", "issued", "in", "current", "solution", ".", "Account", "for", "its", "impact", "on", "the", "decoder", "model", "."], "TS_V_token": ["i386", "1", "0"], "File": "x86-tune-sched-core", "Func": "core2i7_first_cycle_multipass_issue", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9016, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getPrefLoopAlignment", "(", ")", "const", "{", "return", "PrefLoopAlignment", ";", "}", ""], "natrual_language": ["Return", "the", "preferred", "loop", "alignment", "."], "TS_V_token": ["ARM"], "File": "ARMSubtarget", "Func": "getPrefLoopAlignment", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9017, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_handle_option", "(", "size_t", "code", ",", "const", "char", "*", "arg", "ATTRIBUTE_UNUSED", ",", "int", "value", ")", "{", "switch", "(", "code", ")", "{", "case", "OPT_m3dnow", ":", "if", "(", "!", "value", ")", "{", "target_flags", "&=", "~", "MASK_3DNOW_A", ";", "target_flags_explicit", "|=", "MASK_3DNOW_A", ";", "}", "return", "true", ";", "case", "OPT_mmmx", ":", "if", "(", "!", "value", ")", "{", "target_flags", "&=", "~", "(", "MASK_3DNOW", "|", "MASK_3DNOW_A", ")", ";", "target_flags_explicit", "|=", "MASK_3DNOW", "|", "MASK_3DNOW_A", ";", "}", "return", "true", ";", "case", "OPT_msse", ":", "if", "(", "!", "value", ")", "{", "target_flags", "&=", "~", "(", "MASK_SSE2", "|", "MASK_SSE3", ")", ";", "target_flags_explicit", "|=", "MASK_SSE2", "|", "MASK_SSE3", ";", "}", "return", "true", ";", "case", "OPT_msse2", ":", "if", "(", "!", "value", ")", "{", "target_flags", "&=", "~", "MASK_SSE3", ";", "target_flags_explicit", "|=", "MASK_SSE3", ";", "}", "return", "true", ";", "default", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_HANDLE_OPTION", "."], "TS_V_token": ["i386"], "File": "i3863", "Func": "ix86_handle_option", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9018, "Length": 129, "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": 9019, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "MachineInstr", "*", "getDef", "(", "unsigned", "Reg", ",", "const", "MachineRegisterInfo", "*", "MRI", ")", "{", "if", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "Reg", ")", ")", "return", "nullptr", ";", "return", "MRI", "->", "getUniqueVRegDef", "(", "Reg", ")", ";", "}", ""], "natrual_language": ["Get", "the", "concrete", "record", "with", "the", "specified", "name", "."], "TS_V_token": ["SystemZ"], "File": "SystemZInstrInfo", "Func": "getDef", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9020, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "PPCInstrInfo", "::", "getOperandLatency", "(", "const", "InstrItineraryData", "*", "ItinData", ",", "const", "MachineInstr", "*", "DefMI", ",", "unsigned", "DefIdx", ",", "const", "MachineInstr", "*", "UseMI", ",", "unsigned", "UseIdx", ")", "const", "{", "int", "Latency", "=", "PPCGenInstrInfo", "::", "getOperandLatency", "(", "ItinData", ",", "DefMI", ",", "DefIdx", ",", "UseMI", ",", "UseIdx", ")", ";", "const", "MachineOperand", "&", "DefMO", "=", "DefMI", "->", "getOperand", "(", "DefIdx", ")", ";", "unsigned", "Reg", "=", "DefMO", ".", "getReg", "(", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "&", "getRegisterInfo", "(", ")", ";", "bool", "IsRegCR", ";", "if", "(", "TRI", "->", "isVirtualRegister", "(", "Reg", ")", ")", "{", "const", "MachineRegisterInfo", "*", "MRI", "=", "&", "DefMI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "IsRegCR", "=", "MRI", "->", "getRegClass", "(", "Reg", ")", "->", "hasSuperClassEq", "(", "&", "PPC", "::", "CRRCRegClass", ")", "||", "MRI", "->", "getRegClass", "(", "Reg", ")", "->", "hasSuperClassEq", "(", "&", "PPC", "::", "CRBITRCRegClass", ")", ";", "}", "else", "{", "IsRegCR", "=", "PPC", "::", "CRRCRegClass", ".", "contains", "(", "Reg", ")", "||", "PPC", "::", "CRBITRCRegClass", ".", "contains", "(", "Reg", ")", ";", "}", "if", "(", "UseMI", "->", "isBranch", "(", ")", "&&", "IsRegCR", ")", "{", "if", "(", "Latency", "<", "0", ")", "Latency", "=", "getInstrLatency", "(", "ItinData", ",", "DefMI", ")", ";", "unsigned", "Directive", "=", "Subtarget", ".", "getDarwinDirective", "(", ")", ";", "switch", "(", "Directive", ")", "{", "default", ":", "break", ";", "case", "PPC", "::", "DIR_7400", ":", "case", "PPC", "::", "DIR_750", ":", "case", "PPC", "::", "DIR_970", ":", "case", "PPC", "::", "DIR_E5500", ":", "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", ":", "Latency", "+=", "2", ";", "break", ";", "}", "}", "return", "Latency", ";", "}", ""], "natrual_language": ["Compute", "and", "return", "the", "use", "operand", "latency", "of", "a", "given", "pair", "of", "def", "and", "use", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::CRRCRegClass", "PPC::CRBITRCRegClass", "PPC::CRRCRegClass", "PPC::CRBITRCRegClass", "0", "PPC::DIR_7400", "PPC::DIR_750", "PPC::DIR_970", "PPC::DIR_E5500", "PPC::DIR_PWR4", "PPC::DIR_PWR5", "PPC::DIR_PWR5X", "PPC::DIR_PWR6", "PPC::DIR_PWR6X", "PPC::DIR_PWR7", "PPC::DIR_PWR8", "2"], "File": "PPCInstrInfo1", "Func": "getOperandLatency", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9021, "Length": 277, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86ExpandPseudo", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "STI", "=", "&", "static_cast", "<", "const", "X86Subtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "STI", "->", "getRegisterInfo", "(", ")", ";", "X86FL", "=", "STI", "->", "getFrameLowering", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "Modified", "|=", "ExpandMBB", "(", "MBB", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86ExpandPseudo", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9022, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64MIPeepholeOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MLI", "=", "&", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "if", "(", "!", "MRI", "->", "isSSA", "(", ")", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "SmallSetVector", "<", "MachineInstr", "*", ",", "8", ">", "ToBeRemoved", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "AArch64", "::", "ANDWrr", ":", "Changed", "=", "visitAND", "<", "uint32_t", ">", "(", "MI", ",", "ToBeRemoved", ")", ";", "break", ";", "case", "AArch64", "::", "ANDXrr", ":", "Changed", "=", "visitAND", "<", "uint64_t", ">", "(", "MI", ",", "ToBeRemoved", ")", ";", "break", ";", "case", "AArch64", "::", "ORRWrs", ":", "Changed", "=", "visitORR", "(", "MI", ",", "ToBeRemoved", ")", ";", "}", "}", "}", "for", "(", "MachineInstr", "*", "MI", ":", "ToBeRemoved", ")", "MI", "->", "eraseFromParent", "(", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "8", "AArch64::ANDWrr", "AArch64::ANDXrr", "AArch64::ORRWrs"], "File": "AArch64MIPeepholeOpt", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9023, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "Constant", "*", "X86TargetLowering", "::", "getTargetConstantFromLoad", "(", "LoadSDNode", "*", "LD", ")", "const", "{", "assert", "(", "LD", "&&", "\"Unexpected null LoadSDNode\"", ")", ";", "return", "getTargetConstantFromNode", "(", "LD", ")", ";", "}", ""], "natrual_language": ["This", "method", "returns", "the", "constant", "pool", "value", "that", "will", "be", "loaded", "by", "LD", "."], "TS_V_token": ["X86", "X86", "\"Unexpected null LoadSDNode\""], "File": "X86ISelLowering (2)5", "Func": "getTargetConstantFromLoad", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9024, "Length": 27, "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": 9025, "Length": 110, "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", ")", ";", "bool", "Auth", "=", "OF", ".", "Candidates", ".", "front", "(", ")", ".", "getMF", "(", ")", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", "->", "shouldSignReturnAddress", "(", "true", ")", ";", "saveLROnStack", "(", "MBB", ",", "It", ",", "true", ",", "Auth", ")", ";", "assert", "(", "OF", ".", "FrameConstructionID", "!=", "MachineOutlinerDefault", "&&", "\"Can only fix up stack references once\"", ")", ";", "fixupPostOutline", "(", "MBB", ")", ";", "restoreLRFromStack", "(", "MBB", ",", "Et", ",", "true", ",", "Auth", ")", ";", "}", "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", "ARM", "\"Can only fix up stack references once\"", "ARMCC::AL", "0"], "File": "ARMBaseInstrInfo128", "Func": "buildOutlinedFrame", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9026, "Length": 430, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcFrameLowering", "::", "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": ["Sparc", "Sparc"], "File": "SparcFrameLowering (2)1", "Func": "hasReservedCallFrame", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9027, "Length": 25, "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": 9028, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "machine_function", "*", "arm_init_machine_status", "(", "void", ")", "{", "struct", "machine_function", "*", "machine", ";", "machine", "=", "ggc_cleared_alloc", "<", "machine_function", ">", "(", ")", ";", "machine", "->", "func_type", "=", "ARM_FT_UNKNOWN", ";", "return", "machine", ";", "}", ""], "natrual_language": ["Functions", "to", "save", "and", "restore", "machine-specific", "function", "data", "."], "TS_V_token": ["arm"], "File": "arm4", "Func": "arm_init_machine_status", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9029, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"ParseInstruction\\n\"", ")", ";", "getTargetStreamer", "(", ")", ".", "forbidModuleDirective", "(", ")", ";", "if", "(", "!", "mnemonicIsValid", "(", "Name", ",", "0", ")", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "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", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "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", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "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", "(", ")", ";", "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", "\"ParseInstruction\\n\"", "0", "\"Unknown instruction\"", "MipsOperand::CreateToken", "\"unexpected token in argument list\"", "\"unexpected token in argument list\"", "\"unexpected token in argument list\""], "File": "MipsAsmParser92", "Func": "ParseInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9030, "Length": 312, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["Cpu0"], "File": "Cpu0AsmBackend1", "Func": "writeNopData", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9031, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_return_mode_in_fpr_p", "(", "machine_mode", "mode", ")", "{", "gcc_assert", "(", "TARGET_PAIRED_SINGLE_FLOAT", "||", "mode", "!=", "V2SFmode", ")", ";", "return", "(", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", "||", "mode", "==", "V2SFmode", "||", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_FLOAT", ")", "&&", "GET_MODE_UNIT_SIZE", "(", "mode", ")", "<=", "UNITS_PER_HWFPVALUE", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "function", "return", "value", "MODE", "will", "get", "returned", "in", "a", "floating-point", "register", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_return_mode_in_fpr_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9032, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "ARMElfTargetObjectFile", "::", "getTTypeGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "Mangler", "*", "Mang", ",", "MachineModuleInfo", "*", "MMI", ",", "unsigned", "Encoding", ",", "MCStreamer", "&", "Streamer", ")", "const", "{", "assert", "(", "Encoding", "==", "DW_EH_PE_absptr", "&&", "\"Can handle absptr encoding only\"", ")", ";", "return", "MCSymbolRefExpr", "::", "Create", "(", "Mang", "->", "getSymbol", "(", "GV", ")", ",", "MCSymbolRefExpr", "::", "VK_ARM_TARGET2", ",", "getContext", "(", ")", ")", ";", "}", ""], "natrual_language": ["The", "mach-o", "version", "of", "this", "method", "defaults", "to", "returning", "a", "stub", "reference", "."], "TS_V_token": ["ARM", "ARM", "\"Can handle absptr encoding only\"", "ARM"], "File": "ARMTargetObjectFile29", "Func": "getTTypeGlobalReference", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9033, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetFrameLowering", "::", "SpillSlot", "*", "ARMFrameLowering", "::", "getCalleeSavedSpillSlots", "(", "unsigned", "&", "NumEntries", ")", "const", "{", "static", "const", "SpillSlot", "FixedSpillOffsets", "[", "]", "=", "{", "{", "ARM", "::", "FPCXTNS", ",", "-", "4", "}", "}", ";", "NumEntries", "=", "array_lengthof", "(", "FixedSpillOffsets", ")", ";", "return", "FixedSpillOffsets", ";", "}", ""], "natrual_language": ["getCalleeSavedSpillSlots", "-", "This", "method", "returns", "a", "pointer", "to", "an", "array", "of", "pairs", ",", "that", "contains", "an", "entry", "for", "each", "callee", "saved", "register", "that", "must", "be", "spilled", "to", "a", "particular", "stack", "location", "if", "it", "is", "spilled", "."], "TS_V_token": ["ARM", "ARM", "ARM::FPCXTNS", "4"], "File": "ARMFrameLowering100", "Func": "getCalleeSavedSpillSlots", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9034, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "access_check", "(", "const", "char", "*", "name", ",", "int", "mode", ")", "{", "if", "(", "mode", "==", "X_OK", ")", "{", "struct", "stat", "st", ";", "if", "(", "stat", "(", "name", ",", "&", "st", ")", "<", "0", "||", "S_ISDIR", "(", "st", ".", "st_mode", ")", ")", "return", "-", "1", ";", "}", "return", "access", "(", "name", ",", "mode", ")", ";", "}", ""], "natrual_language": ["Check", "whether", "NAME", "can", "be", "accessed", "in", "MODE", ".", "This", "is", "like", "access", ",", "except", "that", "it", "never", "considers", "directories", "to", "be", "executable", "."], "TS_V_token": ["i386", "0", "1"], "File": "intelmic-mkoffload", "Func": "access_check", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9035, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "sparc_gimplify_va_arg", "(", "tree", "valist", ",", "tree", "type", ",", "gimple_seq", "*", "pre_p", ",", "gimple_seq", "*", "post_p", ")", "{", "HOST_WIDE_INT", "size", ",", "rsize", ",", "align", ";", "tree", "addr", ",", "incr", ";", "bool", "indirect", ";", "tree", "ptrtype", "=", "build_pointer_type", "(", "type", ")", ";", "if", "(", "pass_by_reference", "(", "NULL", ",", "TYPE_MODE", "(", "type", ")", ",", "type", ",", "false", ")", ")", "{", "indirect", "=", "true", ";", "size", "=", "rsize", "=", "UNITS_PER_WORD", ";", "align", "=", "0", ";", "}", "else", "{", "indirect", "=", "false", ";", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "rsize", "=", "ROUND_UP", "(", "size", ",", "UNITS_PER_WORD", ")", ";", "align", "=", "0", ";", "if", "(", "TARGET_ARCH64", ")", "{", "if", "(", "TYPE_ALIGN", "(", "type", ")", ">=", "2", "*", "(", "unsigned", ")", "BITS_PER_WORD", ")", "align", "=", "2", "*", "UNITS_PER_WORD", ";", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "if", "(", "size", "==", "0", ")", "size", "=", "rsize", "=", "UNITS_PER_WORD", ";", "else", "size", "=", "rsize", ";", "}", "}", "}", "incr", "=", "valist", ";", "if", "(", "align", ")", "{", "incr", "=", "fold_build_pointer_plus_hwi", "(", "incr", ",", "align", "-", "1", ")", ";", "incr", "=", "fold_convert", "(", "sizetype", ",", "incr", ")", ";", "incr", "=", "fold_build2", "(", "BIT_AND_EXPR", ",", "sizetype", ",", "incr", ",", "size_int", "(", "-", "align", ")", ")", ";", "incr", "=", "fold_convert", "(", "ptr_type_node", ",", "incr", ")", ";", "}", "gimplify_expr", "(", "&", "incr", ",", "pre_p", ",", "post_p", ",", "is_gimple_val", ",", "fb_rvalue", ")", ";", "addr", "=", "incr", ";", "if", "(", "BYTES_BIG_ENDIAN", "&&", "size", "<", "rsize", ")", "addr", "=", "fold_build_pointer_plus_hwi", "(", "incr", ",", "rsize", "-", "size", ")", ";", "if", "(", "indirect", ")", "{", "addr", "=", "fold_convert", "(", "build_pointer_type", "(", "ptrtype", ")", ",", "addr", ")", ";", "addr", "=", "build_va_arg_indirect_ref", "(", "addr", ")", ";", "}", "else", "if", "(", "align", "==", "0", "&&", "TYPE_ALIGN", "(", "type", ")", ">", "BITS_PER_WORD", ")", "{", "tree", "tmp", "=", "create_tmp_var", "(", "type", ",", "\"va_arg_tmp\"", ")", ";", "tree", "dest_addr", "=", "build_fold_addr_expr", "(", "tmp", ")", ";", "tree", "copy", "=", "build_call_expr", "(", "builtin_decl_implicit", "(", "BUILT_IN_MEMCPY", ")", ",", "3", ",", "dest_addr", ",", "addr", ",", "size_int", "(", "rsize", ")", ")", ";", "TREE_ADDRESSABLE", "(", "tmp", ")", "=", "1", ";", "gimplify_and_add", "(", "copy", ",", "pre_p", ")", ";", "addr", "=", "dest_addr", ";", "}", "else", "addr", "=", "fold_convert", "(", "ptrtype", ",", "addr", ")", ";", "incr", "=", "fold_build_pointer_plus_hwi", "(", "incr", ",", "rsize", ")", ";", "gimplify_assign", "(", "valist", ",", "incr", ",", "post_p", ")", ";", "return", "build_va_arg_indirect_ref", "(", "addr", ")", ";", "}", ""], "natrual_language": ["Implement", "`", "va_arg", "'", "for", "stdarg", "."], "TS_V_token": ["sparc", "0", "0", "2", "2", "0", "1", "0", "\"va_arg_tmp\"", "3", "1"], "File": "sparc5", "Func": "sparc_gimplify_va_arg", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9036, "Length": 380, "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", ".", "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": "X86FrameLowering111", "Func": "processFunctionBeforeFrameFinalized", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9037, "Length": 317, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "isReg", "(", ")", "const", "LLVM_OVERRIDE", "{", "return", "Kind", "==", "KindReg", ";", "}", ""], "natrual_language": ["isReg", "-", "Is", "this", "a", "register", "operand", "?"], "TS_V_token": ["SystemZ"], "File": "SystemZAsmParser10", "Func": "isReg", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9038, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pa_output_function_prologue", "(", "FILE", "*", "file", ")", "{", "pa_output_function_label", "(", "file", ")", ";", "remove_useless_addtr_insns", "(", "0", ")", ";", "}", ""], "natrual_language": ["On", "HP-PA", ",", "move-double", "insns", "between", "fpu", "and", "cpu", "need", "an", "8-byte", "block", "of", "memory", ".", "If", "any", "fpu", "reg", "is", "used", "in", "the", "function", ",", "we", "allocate", "such", "a", "block", "here", ",", "at", "the", "bottom", "of", "the", "frame", ",", "just", "in", "case", "it", "'s", "needed", ".", "If", "this", "function", "is", "a", "leaf", "procedure", ",", "then", "we", "may", "choose", "not", "to", "do", "a", "``", "save", "''", "insn", ".", "The", "decision", "about", "whether", "or", "not", "to", "do", "this", "is", "made", "in", "regclass.c", "."], "TS_V_token": ["pa", "0"], "File": "pa", "Func": "pa_output_function_prologue", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9039, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "xstormy16_function_value", "(", "const_tree", "valtype", ",", "const_tree", "func", "ATTRIBUTE_UNUSED", ",", "bool", "outgoing", "ATTRIBUTE_UNUSED", ")", "{", "machine_mode", "mode", ";", "mode", "=", "TYPE_MODE", "(", "valtype", ")", ";", "PROMOTE_MODE", "(", "mode", ",", "0", ",", "valtype", ")", ";", "return", "gen_rtx_REG", "(", "mode", ",", "RETURN_VALUE_REGNUM", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "FUNCTION_VALUE", "."], "TS_V_token": ["stormy16", "0"], "File": "stormy16", "Func": "xstormy16_function_value", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9040, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "char", "*", "rs6000_offload_options", "(", "void", ")", "{", "if", "(", "TARGET_64BIT", ")", "return", "xstrdup", "(", "\"-foffload-abi=lp64\"", ")", ";", "else", "return", "xstrdup", "(", "\"-foffload-abi=ilp32\"", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_OFFLOAD_OPTIONS", "hook", "."], "TS_V_token": ["powerpcspe", "\"-foffload-abi=lp64\"", "\"-foffload-abi=ilp32\""], "File": "powerpcspe", "Func": "rs6000_offload_options", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9041, "Length": 26, "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", "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", "(", "*", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "if", "(", "RC", "==", "&", "SP", "::", "I64RegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STXri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "IntRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "IntPairRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STDri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "FPRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STFri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "SP", "::", "DFPRegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STDFri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "SP", "::", "QFPRegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STQFri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "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": ["Sparc", "Sparc", "SP::I64RegsRegClass", "SP::STXri", "0", "SP::IntRegsRegClass", "SP::STri", "0", "SP::IntPairRegClass", "SP::STDri", "0", "SP::FPRegsRegClass", "SP::STFri", "0", "SP::DFPRegsRegClass", "SP::STDFri", "0", "SP::QFPRegsRegClass", "SP::STQFri", "0", "\"Can't store this register to stack slot\""], "File": "SparcInstrInfo31", "Func": "storeRegToStackSlot", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9042, "Length": 431, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_asm_output_function_label", "(", "FILE", "*", "asm_out_file", ",", "const", "char", "*", "fname", ",", "tree", "decl", ")", "{", "bool", "is_ms_hook", "=", "ix86_function_ms_hook_prologue", "(", "decl", ")", ";", "if", "(", "is_ms_hook", ")", "{", "int", "i", ",", "filler_count", "=", "(", "TARGET_64BIT", "?", "32", ":", "16", ")", ";", "unsigned", "int", "filler_cc", "=", "0xcccccccc", ";", "for", "(", "i", "=", "0", ";", "i", "<", "filler_count", ";", "i", "+=", "4", ")", "fprintf", "(", "asm_out_file", ",", "ASM_LONG", "\" %#x\\n\"", ",", "filler_cc", ")", ";", "}", "SUBTARGET_ASM_UNWIND_INIT", "(", "asm_out_file", ")", ";", "ASM_OUTPUT_LABEL", "(", "asm_out_file", ",", "fname", ")", ";", "if", "(", "is_ms_hook", ")", "{", "if", "(", "TARGET_64BIT", ")", "{", "asm_fprintf", "(", "asm_out_file", ",", "ASM_BYTE", "\"0x48, 0x8d, 0xa4, 0x24, 0x00, 0x00, 0x00, 0x00\\n\"", ")", ";", "}", "else", "{", "asm_fprintf", "(", "asm_out_file", ",", "ASM_BYTE", "\"0x8b, 0xff, 0x55, 0x8b, 0xec\\n\"", ")", ";", "}", "}", "}", ""], "natrual_language": ["Write", "the", "extra", "assembler", "code", "needed", "to", "declare", "a", "function", "properly", "."], "TS_V_token": ["i386", "32", "16", "0xcccccccc", "0", "4", "\" %#x\\n\"", "\"0x48, 0x8d, 0xa4, 0x24, 0x00, 0x00, 0x00, 0x00\\n\"", "\"0x8b, 0xff, 0x55, 0x8b, 0xec\\n\""], "File": "i3864", "Func": "ix86_asm_output_function_label", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9043, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WinEHStatePass", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "StringRef", "WinEHParentName", "=", "F", ".", "getFnAttribute", "(", "\"wineh-parent\"", ")", ".", "getValueAsString", "(", ")", ";", "if", "(", "WinEHParentName", "!=", "F", ".", "getName", "(", ")", "&&", "!", "WinEHParentName", ".", "empty", "(", ")", ")", "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", ";", "if", "(", "WinEHParentName", ".", "empty", "(", ")", ")", "{", "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", "\"wineh-parent\"", "\"no-frame-pointer-elim\"", "\"true\"", "\"unexpected personality function\"", "X86"], "File": "X86WinEHState", "Func": "runOnFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9044, "Length": 283, "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", "(", "std", "::", "any_of", "(", "MBB", ".", "instr_begin", "(", ")", ",", "MBB", ".", "instr_end", "(", ")", ",", "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", ")", ";", "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", ")", ")", ";", "}", ""], "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", "ARMCC::AL"], "File": "ARMBaseInstrInfo65", "Func": "buildOutlinedFrame", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9045, "Length": 373, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_elf_asm_constructor", "(", "rtx", "symbol", ",", "int", "priority", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "!", "TARGET_AAPCS_BASED", ")", "{", "default_named_section_asm_out_constructor", "(", "symbol", ",", "priority", ")", ";", "return", ";", "}", "ctors_section", "(", ")", ";", "assemble_align", "(", "POINTER_SIZE", ")", ";", "fputs", "(", "\"\\t.word\\t\"", ",", "asm_out_file", ")", ";", "output_addr_const", "(", "asm_out_file", ",", "symbol", ")", ";", "fputs", "(", "\"(target1)\\n\"", ",", "asm_out_file", ")", ";", "}", ""], "natrual_language": ["Add", "a", "function", "to", "the", "list", "of", "static", "constructors", "."], "TS_V_token": ["arm", "\"\\t.word\\t\"", "\"(target1)\\n\""], "File": "arm3", "Func": "arm_elf_asm_constructor", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9046, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HARD_REG_SET", "ix86_zero_call_used_regs", "(", "HARD_REG_SET", "need_zeroed_hardregs", ")", "{", "HARD_REG_SET", "zeroed_hardregs", ";", "bool", "all_sse_zeroed", "=", "false", ";", "int", "all_st_zeroed_num", "=", "0", ";", "bool", "all_mm_zeroed", "=", "false", ";", "CLEAR_HARD_REG_SET", "(", "zeroed_hardregs", ")", ";", "rtx", "zero_all_vec_insn", "=", "zero_all_vector_registers", "(", "need_zeroed_hardregs", ")", ";", "if", "(", "zero_all_vec_insn", ")", "{", "emit_insn", "(", "zero_all_vec_insn", ")", ";", "all_sse_zeroed", "=", "true", ";", "}", "bool", "exit_with_mmx_mode", "=", "(", "crtl", "->", "return_rtx", "&&", "(", "MMX_REG_P", "(", "crtl", "->", "return_rtx", ")", ")", ")", ";", "if", "(", "!", "exit_with_mmx_mode", ")", "{", "all_st_zeroed_num", "=", "zero_all_st_registers", "(", "need_zeroed_hardregs", ")", ";", "if", "(", "all_st_zeroed_num", ">", "0", ")", "for", "(", "unsigned", "int", "regno", "=", "FIRST_STACK_REG", ";", "regno", "<=", "LAST_STACK_REG", ";", "regno", "++", ")", "if", "(", "all_st_zeroed_num", "==", "8", "||", "!", "(", "(", "all_st_zeroed_num", ">=", "6", "&&", "regno", "==", "REGNO", "(", "crtl", "->", "return_rtx", ")", ")", "||", "(", "all_st_zeroed_num", "==", "6", "&&", "(", "regno", "==", "(", "REGNO", "(", "crtl", "->", "return_rtx", ")", "+", "1", ")", ")", ")", ")", ")", "SET_HARD_REG_BIT", "(", "zeroed_hardregs", ",", "regno", ")", ";", "}", "else", "{", "unsigned", "int", "exit_mmx_regno", "=", "REGNO", "(", "crtl", "->", "return_rtx", ")", ";", "all_mm_zeroed", "=", "zero_all_mm_registers", "(", "need_zeroed_hardregs", ",", "exit_mmx_regno", ")", ";", "if", "(", "all_mm_zeroed", ")", "for", "(", "unsigned", "int", "regno", "=", "FIRST_MMX_REG", ";", "regno", "<=", "LAST_MMX_REG", ";", "regno", "++", ")", "if", "(", "regno", "!=", "exit_mmx_regno", ")", "SET_HARD_REG_BIT", "(", "zeroed_hardregs", ",", "regno", ")", ";", "}", "for", "(", "unsigned", "int", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "{", "if", "(", "!", "TEST_HARD_REG_BIT", "(", "need_zeroed_hardregs", ",", "regno", ")", ")", "continue", ";", "if", "(", "!", "zero_call_used_regno_p", "(", "regno", ",", "all_sse_zeroed", ",", "exit_with_mmx_mode", "&&", "!", "all_mm_zeroed", ")", ")", "continue", ";", "SET_HARD_REG_BIT", "(", "zeroed_hardregs", ",", "regno", ")", ";", "machine_mode", "mode", "=", "zero_call_used_regno_mode", "(", "regno", ")", ";", "rtx", "reg", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "rtx", "tmp", "=", "gen_rtx_SET", "(", "reg", ",", "CONST0_RTX", "(", "mode", ")", ")", ";", "switch", "(", "mode", ")", "{", "case", "E_SImode", ":", "if", "(", "!", "TARGET_USE_MOV0", "||", "optimize_insn_for_size_p", "(", ")", ")", "{", "rtx", "clob", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "CCmode", ",", "FLAGS_REG", ")", ")", ";", "tmp", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "tmp", ",", "clob", ")", ")", ";", "}", "case", "E_V4SFmode", ":", "case", "E_HImode", ":", "case", "E_V2SImode", ":", "emit_insn", "(", "tmp", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "return", "zeroed_hardregs", ";", "}", ""], "natrual_language": ["Generate", "a", "sequence", "of", "instructions", "that", "zero", "registers", "specified", "by", "NEED_ZEROED_HARDREGS", ".", "Return", "the", "ZEROED_HARDREGS", "that", "are", "actually", "zeroed", "."], "TS_V_token": ["i386", "0", "0", "8", "6", "6", "1", "0", "2"], "File": "i3861", "Func": "ix86_zero_call_used_regs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9047, "Length": 375, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CSKYTargetStreamer", "::", "emitTargetAttributes", "(", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "}", ""], "natrual_language": ["Emit", "the", "build", "attributes", "that", "only", "depend", "on", "the", "hardware", "that", "we", "expect", "."], "TS_V_token": ["CSKY", "CSKY"], "File": "CSKYTargetStreamer", "Func": "emitTargetAttributes", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9048, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "aarch64_resolve_overloaded_builtin", "(", "unsigned", "int", "uncast_location", ",", "tree", "fndecl", ",", "void", "*", "uncast_arglist", ")", "{", "vec", "<", "tree", ",", "va_gc", ">", "empty", "=", "{", "}", ";", "location_t", "location", "=", "(", "location_t", ")", "uncast_location", ";", "vec", "<", "tree", ",", "va_gc", ">", "*", "arglist", "=", "(", "uncast_arglist", "?", "(", "vec", "<", "tree", ",", "va_gc", ">", "*", ")", "uncast_arglist", ":", "&", "empty", ")", ";", "unsigned", "int", "code", "=", "DECL_MD_FUNCTION_CODE", "(", "fndecl", ")", ";", "unsigned", "int", "subcode", "=", "code", ">>", "AARCH64_BUILTIN_SHIFT", ";", "tree", "new_fndecl", ";", "switch", "(", "code", "&", "AARCH64_BUILTIN_CLASS", ")", "{", "case", "AARCH64_BUILTIN_GENERAL", ":", "return", "aarch64_resolve_overloaded_builtin_general", "(", "location", ",", "fndecl", ",", "uncast_arglist", ")", ";", "case", "AARCH64_BUILTIN_SVE", ":", "new_fndecl", "=", "aarch64_sve", "::", "resolve_overloaded_builtin", "(", "location", ",", "subcode", ",", "arglist", ")", ";", "break", ";", "}", "if", "(", "new_fndecl", "==", "NULL_TREE", "||", "new_fndecl", "==", "error_mark_node", ")", "return", "new_fndecl", ";", "return", "build_function_call_vec", "(", "location", ",", "vNULL", ",", "new_fndecl", ",", "arglist", ",", "NULL", ",", "fndecl", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_RESOLVE_OVERLOADED_BUILTIN", "."], "TS_V_token": ["aarch64", "aarch64_sve::resolve_overloaded_builtin"], "File": "aarch64-c", "Func": "aarch64_resolve_overloaded_builtin", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9049, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_hard_regno_call_part_clobbered", "(", "rtx_insn", "*", "insn", ",", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "bool", "simd_p", "=", "insn", "&&", "CALL_P", "(", "insn", ")", "&&", "aarch64_simd_call_p", "(", "insn", ")", ";", "return", "FP_REGNUM_P", "(", "regno", ")", "&&", "maybe_gt", "(", "GET_MODE_SIZE", "(", "mode", ")", ",", "simd_p", "?", "16", ":", "8", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_CALL_PART_CLOBBERED", ".", "The", "callee", "only", "saves", "the", "lower", "64", "bits", "of", "a", "128-bit", "register", ".", "Tell", "the", "compiler", "the", "callee", "clobbers", "the", "top", "64", "bits", "when", "restoring", "the", "bottom", "64", "bits", "."], "TS_V_token": ["aarch64", "16", "8"], "File": "aarch646", "Func": "aarch64_hard_regno_call_part_clobbered", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9050, "Length": 52, "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", "{", "if", "(", "Fixup", ".", "getKind", "(", ")", ">=", "FirstLiteralRelocationKind", ")", "return", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ".", "getKind", "(", ")", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "Endian", "==", "support", "::", "little", "?", "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": ["Sparc", "0", "support::little", "1", "8", "0xff"], "File": "SparcAsmBackend14", "Func": "applyFixup", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9051, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "AArch64AsmParser", "::", "tryParseRegister", "(", ")", "{", "const", "AsmToken", "&", "Tok", "=", "Parser", ".", "getTok", "(", ")", ";", "assert", "(", "Tok", ".", "is", "(", "AsmToken", "::", "Identifier", ")", "&&", "\"Token is not an Identifier\"", ")", ";", "std", "::", "string", "lowerCase", "=", "Tok", ".", "getString", "(", ")", ".", "lower", "(", ")", ";", "unsigned", "RegNum", "=", "MatchRegisterName", "(", "lowerCase", ")", ";", "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", "\"Token is not an Identifier\"", "0", "\"fp\"", "AArch64::FP", "\"lr\"", "AArch64::LR", "\"x31\"", "AArch64::XZR", "\"w31\"", "AArch64::WZR", "0", "0", "1"], "File": "AArch64AsmParser45", "Func": "tryParseRegister", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9052, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "dimode_scalar_chain", "::", "convert_op", "(", "rtx", "*", "op", ",", "rtx_insn", "*", "insn", ")", "{", "*", "op", "=", "copy_rtx_if_shared", "(", "*", "op", ")", ";", "if", "(", "GET_CODE", "(", "*", "op", ")", "==", "NOT", ")", "{", "convert_op", "(", "&", "XEXP", "(", "*", "op", ",", "0", ")", ",", "insn", ")", ";", "PUT_MODE", "(", "*", "op", ",", "V2DImode", ")", ";", "}", "else", "if", "(", "MEM_P", "(", "*", "op", ")", ")", "{", "rtx", "tmp", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "emit_insn_before", "(", "gen_move_insn", "(", "tmp", ",", "*", "op", ")", ",", "insn", ")", ";", "*", "op", "=", "gen_rtx_SUBREG", "(", "V2DImode", ",", "tmp", ",", "0", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\" Preloading operand for insn %d into r%d\\n\"", ",", "INSN_UID", "(", "insn", ")", ",", "REGNO", "(", "tmp", ")", ")", ";", "}", "else", "if", "(", "REG_P", "(", "*", "op", ")", ")", "{", "df_ref", "ref", ";", "FOR_EACH_INSN_USE", "(", "ref", ",", "insn", ")", "if", "(", "DF_REF_REGNO", "(", "ref", ")", "==", "REGNO", "(", "*", "op", ")", ")", "{", "gcc_assert", "(", "!", "DF_REF_CHAIN", "(", "ref", ")", ")", ";", "break", ";", "}", "*", "op", "=", "gen_rtx_SUBREG", "(", "V2DImode", ",", "*", "op", ",", "0", ")", ";", "}", "else", "if", "(", "CONST_INT_P", "(", "*", "op", ")", ")", "{", "rtx", "vec_cst", ";", "rtx", "tmp", "=", "gen_rtx_SUBREG", "(", "V2DImode", ",", "gen_reg_rtx", "(", "DImode", ")", ",", "0", ")", ";", "if", "(", "constm1_operand", "(", "*", "op", ",", "GET_MODE", "(", "*", "op", ")", ")", ")", "vec_cst", "=", "CONSTM1_RTX", "(", "V2DImode", ")", ";", "else", "vec_cst", "=", "gen_rtx_CONST_VECTOR", "(", "V2DImode", ",", "gen_rtvec", "(", "2", ",", "*", "op", ",", "const0_rtx", ")", ")", ";", "if", "(", "!", "standard_sse_constant_p", "(", "vec_cst", ",", "V2DImode", ")", ")", "{", "start_sequence", "(", ")", ";", "vec_cst", "=", "validize_mem", "(", "force_const_mem", "(", "V2DImode", ",", "vec_cst", ")", ")", ";", "rtx_insn", "*", "seq", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "emit_insn_before", "(", "seq", ",", "insn", ")", ";", "}", "emit_insn_before", "(", "gen_move_insn", "(", "copy_rtx", "(", "tmp", ")", ",", "vec_cst", ")", ",", "insn", ")", ";", "*", "op", "=", "tmp", ";", "}", "else", "{", "gcc_assert", "(", "SUBREG_P", "(", "*", "op", ")", ")", ";", "gcc_assert", "(", "GET_MODE", "(", "*", "op", ")", "==", "V2DImode", ")", ";", "}", "}", ""], "natrual_language": ["Convert", "operand", "OP", "in", "INSN", ".", "We", "should", "handle", "memory", "operands", "and", "uninitialized", "registers", ".", "All", "other", "register", "uses", "are", "converted", "during", "registers", "conversion", "."], "TS_V_token": ["i386", "0", "0", "\" Preloading operand for insn %d into r%d\\n\"", "0", "0", "2"], "File": "i3866", "Func": "convert_op", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9053, "Length": 340, "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": 9054, "Length": 94, "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": 9055, "Length": 441, "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", "->", "getSubtargetImpl", "(", ")", "->", "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": "X86InstrInfo110", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9056, "Length": 264, "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": 9057, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "prepare_scc_operands", "(", "enum", "rtx_code", "code", ")", "{", "rtx", "t_reg", "=", "gen_rtx_REG", "(", "SImode", ",", "T_REG", ")", ";", "enum", "rtx_code", "oldcode", "=", "code", ";", "enum", "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", ")", "{", "rtx", "tmp", "=", "sh_compare_op0", ";", "sh_compare_op0", "=", "sh_compare_op1", ";", "sh_compare_op1", "=", "tmp", ";", "}", "mode", "=", "GET_MODE", "(", "sh_compare_op0", ")", ";", "if", "(", "mode", "==", "VOIDmode", ")", "mode", "=", "GET_MODE", "(", "sh_compare_op1", ")", ";", "sh_compare_op0", "=", "force_reg", "(", "mode", ",", "sh_compare_op0", ")", ";", "if", "(", "(", "code", "!=", "EQ", "&&", "code", "!=", "NE", "&&", "(", "sh_compare_op1", "!=", "const0_rtx", "||", "code", "==", "GTU", "||", "code", "==", "GEU", "||", "code", "==", "LTU", "||", "code", "==", "LEU", ")", ")", "||", "(", "mode", "==", "DImode", "&&", "sh_compare_op1", "!=", "const0_rtx", ")", "||", "(", "TARGET_SH2E", "&&", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", ")", ")", "sh_compare_op1", "=", "force_reg", "(", "mode", ",", "sh_compare_op1", ")", ";", "if", "(", "(", "TARGET_SH4", "||", "TARGET_SH2A", ")", "&&", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", ")", "(", "mode", "==", "SFmode", "?", "emit_sf_insn", ":", "emit_df_insn", ")", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "gen_rtx_SET", "(", "VOIDmode", ",", "t_reg", ",", "gen_rtx_fmt_ee", "(", "code", ",", "SImode", ",", "sh_compare_op0", ",", "sh_compare_op1", ")", ")", ",", "gen_rtx_USE", "(", "VOIDmode", ",", "get_fpscr_rtx", "(", ")", ")", ")", ")", ")", ";", "else", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "t_reg", ",", "gen_rtx_fmt_ee", "(", "code", ",", "SImode", ",", "sh_compare_op0", ",", "sh_compare_op1", ")", ")", ")", ";", "return", "t_reg", ";", "}", ""], "natrual_language": ["Prepare", "the", "operands", "for", "an", "scc", "instruction", ";", "make", "sure", "that", "the", "compare", "has", "been", "done", "."], "TS_V_token": ["sh", "2"], "File": "sh3", "Func": "prepare_scc_operands", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9058, "Length": 284, "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": 9059, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCodeGenPrepare", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ")", "||", "DisableCGP", ")", "return", "false", ";", "auto", "*", "TPC", "=", "&", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ";", "if", "(", "!", "TPC", ")", "return", "false", ";", "const", "TargetMachine", "&", "TM", "=", "TPC", "->", "getTM", "<", "TargetMachine", ">", "(", ")", ";", "ST", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", "F", ")", ";", "bool", "MadeChange", "=", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"ARM CGP: Running on \"", "<<", "F", ".", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "for", "(", "BasicBlock", "&", "BB", ":", "F", ")", "{", "auto", "&", "Insts", "=", "BB", ".", "getInstList", "(", ")", ";", "for", "(", "auto", "&", "I", ":", "Insts", ")", "{", "if", "(", "AllVisited", ".", "count", "(", "&", "I", ")", ")", "continue", ";", "if", "(", "isa", "<", "ICmpInst", ">", "(", "I", ")", ")", "{", "auto", "&", "CI", "=", "cast", "<", "ICmpInst", ">", "(", "I", ")", ";", "if", "(", "CI", ".", "isSigned", "(", ")", "||", "!", "isa", "<", "IntegerType", ">", "(", "CI", ".", "getOperand", "(", "0", ")", "->", "getType", "(", ")", ")", ")", "continue", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"ARM CGP: Searching from: \"", "<<", "CI", "<<", "\"\\n\"", ")", ";", "for", "(", "auto", "&", "Op", ":", "CI", ".", "operands", "(", ")", ")", "{", "if", "(", "auto", "*", "I", "=", "dyn_cast", "<", "Instruction", ">", "(", "Op", ")", ")", "MadeChange", "|=", "TryToPromote", "(", "I", ")", ";", "}", "}", "}", "LLVM_DEBUG", "(", "if", "(", "verifyFunction", "(", "F", ",", "&", "dbgs", "(", ")", ")", ")", "{", "dbgs", "(", ")", "<<", "F", ";", "report_fatal_error", "(", "\"Broken function after type promotion\"", ")", ";", "}", ")", ";", "}", "if", "(", "MadeChange", ")", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"After ARMCodeGenPrepare: \"", "<<", "F", "<<", "\"\\n\"", ")", ";", "return", "MadeChange", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["ARM", "ARM", "ARM", "\"ARM CGP: Running on \"", "\"\\n\"", "0", "\"ARM CGP: Searching from: \"", "\"\\n\"", "\"Broken function after type promotion\"", "\"After ARMCodeGenPrepare: \"", "\"\\n\""], "File": "ARMCodeGenPrepare10", "Func": "runOnFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9060, "Length": 283, "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_SIZE", "(", "inner", ")", ";", "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": "rs60004", "Func": "rs6000_complex_function_value", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9061, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_fmul_fmac_insn", "(", "rtx_insn", "*", "insn", ",", "bool", "fmul_ok", ")", "{", "enum", "attr_type", "t", ";", "if", "(", "!", "NONDEBUG_INSN_P", "(", "insn", ")", ")", "return", "false", ";", "if", "(", "recog_memoized", "(", "insn", ")", "<", "0", ")", "return", "false", ";", "t", "=", "get_attr_type", "(", "insn", ")", ";", "return", "is_fmac_op", "(", "t", ")", "||", "(", "fmul_ok", "&&", "is_fmul_op", "(", "t", ")", ")", ";", "}", ""], "natrual_language": ["Return", "whether", "INSN", "is", "an", "FMUL", "(", "if", "FMUL_OK", "is", "true", ")", "or", "FMADD/FMSUB", "instruction", "."], "TS_V_token": ["aarch64", "0"], "File": "cortex-a57-fma-steering", "Func": "is_fmul_fmac_insn", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9062, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_attribute_takes_identifier_p", "(", "const_tree", "attr_id", ")", "{", "return", "is_attribute_p", "(", "\"altivec\"", ",", "attr_id", ")", ";", "}", ""], "natrual_language": ["Returns", "TRUE", "iff", "the", "target", "attribute", "indicated", "by", "ATTR_ID", "takes", "a", "plain", "identifier", "as", "an", "argument", ",", "so", "the", "front", "end", "should", "n't", "look", "it", "up", "."], "TS_V_token": ["powerpcspe", "\"altivec\""], "File": "powerpcspe", "Func": "rs6000_attribute_takes_identifier_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9063, "Length": 17, "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": 9064, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "tree", "rs6000_builtin_type", "(", "int", "id", ")", "{", "tree", "t", ";", "t", "=", "rs6000_builtin_types", "[", "id", "<", "0", "?", "~", "id", ":", "id", "]", ";", "return", "id", "<", "0", "?", "build_pointer_type", "(", "t", ")", ":", "t", ";", "}", ""], "natrual_language": ["Convert", "a", "type", "stored", "into", "a", "struct", "altivec_builtin_types", "as", "ID", ",", "into", "a", "tree", ".", "The", "types", "are", "in", "rs6000_builtin_types", ":", "negative", "values", "create", "a", "pointer", "type", "for", "the", "type", "associated", "to", "~ID", ".", "Note", "it", "is", "a", "logical", "NOT", ",", "rather", "than", "a", "negation", ",", "otherwise", "you", "can", "not", "represent", "a", "pointer", "type", "for", "ID", "0", "."], "TS_V_token": ["powerpcspe", "0", "0"], "File": "powerpcspe-c", "Func": "rs6000_builtin_type", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9065, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_emit_move_si_sf_subreg", "(", "rtx", "dest", ",", "rtx", "source", ",", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_DIRECT_MOVE_64BIT", "&&", "!", "lra_in_progress", "&&", "!", "reload_completed", "&&", "(", "!", "SUBREG_P", "(", "dest", ")", "||", "!", "sf_subreg_operand", "(", "dest", ",", "mode", ")", ")", "&&", "SUBREG_P", "(", "source", ")", "&&", "sf_subreg_operand", "(", "source", ",", "mode", ")", ")", "{", "rtx", "inner_source", "=", "SUBREG_REG", "(", "source", ")", ";", "machine_mode", "inner_mode", "=", "GET_MODE", "(", "inner_source", ")", ";", "if", "(", "mode", "==", "SImode", "&&", "inner_mode", "==", "SFmode", ")", "{", "emit_insn", "(", "gen_movsi_from_sf", "(", "dest", ",", "inner_source", ")", ")", ";", "return", "true", ";", "}", "if", "(", "mode", "==", "SFmode", "&&", "inner_mode", "==", "SImode", ")", "{", "emit_insn", "(", "gen_movsf_from_si", "(", "dest", ",", "inner_source", ")", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "change", "moves", "with", ":", "(", "SUBREG", ":", "SF", "(", "REG", ":", "SI", ")", ")", "and", "(", "SUBREG", ":", "SI", "(", "REG", ":", "SF", ")", ")", "into", "separate", "UNSPEC", "insns", ".", "In", "the", "PowerPC", "architecture", ",", "scalar", "SFmode", "values", "are", "stored", "as", "DFmode", "values", "in", "the", "VSX", "registers", ".", "We", "need", "to", "convert", "the", "bits", "before", "we", "can", "use", "a", "direct", "move", "or", "operate", "on", "the", "bits", "in", "the", "vector", "register", "as", "an", "integer", "type", ".", "Skip", "things", "like", "(", "set", "(", "SUBREG", ":", "SI", "(", "...", ")", "(", "SUBREG", ":", "SI", "(", "...", ")", ")", "."], "TS_V_token": ["rs6000"], "File": "rs60007", "Func": "rs6000_emit_move_si_sf_subreg", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9066, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_warn_parameter_passing_abi", "(", "cumulative_args_t", "cum_v", ",", "tree", "type", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "if", "(", "!", "cum", "->", "warn_empty", ")", "return", ";", "if", "(", "!", "TYPE_EMPTY_P", "(", "type", ")", ")", "return", ";", "const_tree", "ctx", "=", "get_ultimate_context", "(", "cum", "->", "decl", ")", ";", "if", "(", "ctx", "!=", "NULL_TREE", "&&", "!", "TRANSLATION_UNIT_WARN_EMPTY_P", "(", "ctx", ")", ")", "return", ";", "if", "(", "int_size_in_bytes", "(", "type", ")", "==", "0", ")", "return", ";", "warning", "(", "OPT_Wabi", ",", "\"empty class %qT parameter passing ABI \"", "\"changes in -fabi-version=12 (GCC 8)\"", ",", "type", ")", ";", "cum", "->", "warn_empty", "=", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_WARN_PARAMETER_PASSING_ABI", "."], "TS_V_token": ["i386", "0", "\"empty class %qT parameter passing ABI \"", "\"changes in -fabi-version=12 (GCC 8)\""], "File": "i3867", "Func": "ix86_warn_parameter_passing_abi", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9067, "Length": 91, "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": ["Mips"], "File": "MipsAsmParser (2)4", "Func": "isImm", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9068, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86TargetLowering", "::", "finalizeLowering", "(", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "hasCopyImplyingStackAdjustment", "(", "MF", ")", ")", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MFI", ".", "setHasCopyImplyingStackAdjustment", "(", "true", ")", ";", "}", "TargetLoweringBase", "::", "finalizeLowering", "(", "MF", ")", ";", "}", ""], "natrual_language": ["Execute", "target", "specific", "actions", "to", "finalize", "target", "lowering", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering102", "Func": "finalizeLowering", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9069, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "const", "MCObjectFileInfo", "::", "Environment", "Format", "=", "getContext", "(", ")", ".", "getObjectFileInfo", "(", ")", "->", "getObjectFileType", "(", ")", ";", "bool", "IsMachO", "=", "Format", "==", "MCObjectFileInfo", "::", "IsMachO", ";", "bool", "IsCOFF", "=", "Format", "==", "MCObjectFileInfo", "::", "IsCOFF", ";", "auto", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ".", "lower", "(", ")", ";", "SMLoc", "Loc", "=", "DirectiveID", ".", "getLoc", "(", ")", ";", "if", "(", "IDVal", "==", "\".arch\"", ")", "parseDirectiveArch", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".cpu\"", ")", "parseDirectiveCPU", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".tlsdesccall\"", ")", "parseDirectiveTLSDescCall", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".ltorg\"", "||", "IDVal", "==", "\".pool\"", ")", "parseDirectiveLtorg", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".unreq\"", ")", "parseDirectiveUnreq", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".inst\"", ")", "parseDirectiveInst", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".cfi_negate_ra_state\"", ")", "parseDirectiveCFINegateRAState", "(", ")", ";", "else", "if", "(", "IDVal", "==", "\".cfi_b_key_frame\"", ")", "parseDirectiveCFIBKeyFrame", "(", ")", ";", "else", "if", "(", "IDVal", "==", "\".arch_extension\"", ")", "parseDirectiveArchExtension", "(", "Loc", ")", ";", "else", "if", "(", "IsMachO", ")", "{", "if", "(", "IDVal", "==", "MCLOHDirectiveName", "(", ")", ")", "parseDirectiveLOH", "(", "IDVal", ",", "Loc", ")", ";", "else", "return", "true", ";", "}", "else", "if", "(", "IsCOFF", ")", "{", "if", "(", "IDVal", "==", "\".seh_stackalloc\"", ")", "parseDirectiveSEHAllocStack", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".seh_endprologue\"", ")", "parseDirectiveSEHPrologEnd", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".seh_save_r19r20_x\"", ")", "parseDirectiveSEHSaveR19R20X", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".seh_save_fplr\"", ")", "parseDirectiveSEHSaveFPLR", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".seh_save_fplr_x\"", ")", "parseDirectiveSEHSaveFPLRX", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".seh_save_reg\"", ")", "parseDirectiveSEHSaveReg", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".seh_save_reg_x\"", ")", "parseDirectiveSEHSaveRegX", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".seh_save_regp\"", ")", "parseDirectiveSEHSaveRegP", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".seh_save_regp_x\"", ")", "parseDirectiveSEHSaveRegPX", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".seh_save_lrpair\"", ")", "parseDirectiveSEHSaveLRPair", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".seh_save_freg\"", ")", "parseDirectiveSEHSaveFReg", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".seh_save_freg_x\"", ")", "parseDirectiveSEHSaveFRegX", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".seh_save_fregp\"", ")", "parseDirectiveSEHSaveFRegP", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".seh_save_fregp_x\"", ")", "parseDirectiveSEHSaveFRegPX", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".seh_set_fp\"", ")", "parseDirectiveSEHSetFP", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".seh_add_fp\"", ")", "parseDirectiveSEHAddFP", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".seh_nop\"", ")", "parseDirectiveSEHNop", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".seh_save_next\"", ")", "parseDirectiveSEHSaveNext", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".seh_startepilogue\"", ")", "parseDirectiveSEHEpilogStart", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".seh_endepilogue\"", ")", "parseDirectiveSEHEpilogEnd", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".seh_trap_frame\"", ")", "parseDirectiveSEHTrapFrame", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".seh_pushframe\"", ")", "parseDirectiveSEHMachineFrame", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".seh_context\"", ")", "parseDirectiveSEHContext", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".seh_clear_unwound_to_call\"", ")", "parseDirectiveSEHClearUnwoundToCall", "(", "Loc", ")", ";", "else", "return", "true", ";", "}", "else", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["AArch64", "AArch64", "\".arch\"", "\".cpu\"", "\".tlsdesccall\"", "\".ltorg\"", "\".pool\"", "\".unreq\"", "\".inst\"", "\".cfi_negate_ra_state\"", "\".cfi_b_key_frame\"", "\".arch_extension\"", "\".seh_stackalloc\"", "\".seh_endprologue\"", "\".seh_save_r19r20_x\"", "\".seh_save_fplr\"", "\".seh_save_fplr_x\"", "\".seh_save_reg\"", "\".seh_save_reg_x\"", "\".seh_save_regp\"", "\".seh_save_regp_x\"", "\".seh_save_lrpair\"", "\".seh_save_freg\"", "\".seh_save_freg_x\"", "\".seh_save_fregp\"", "\".seh_save_fregp_x\"", "\".seh_set_fp\"", "\".seh_add_fp\"", "\".seh_nop\"", "\".seh_save_next\"", "\".seh_startepilogue\"", "\".seh_endepilogue\"", "\".seh_trap_frame\"", "\".seh_pushframe\"", "\".seh_context\"", "\".seh_clear_unwound_to_call\""], "File": "AArch64AsmParser52", "Func": "ParseDirective", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9070, "Length": 508, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "*", "ARMBaseInstrInfo", "::", "CreateTargetPostRAHazardRecognizer", "(", "const", "InstrItineraryData", "*", "II", ")", "const", "{", "if", "(", "Subtarget", ".", "isThumb2", "(", ")", "||", "Subtarget", ".", "hasVFP2", "(", ")", ")", "return", "(", "ScheduleHazardRecognizer", "*", ")", "new", "ARMHazardRecognizer", "(", "II", ",", "*", "this", ",", "getRegisterInfo", "(", ")", ",", "Subtarget", ")", ";", "return", "TargetInstrInfoImpl", "::", "CreateTargetPostRAHazardRecognizer", "(", "II", ")", ";", "}", ""], "natrual_language": ["Allocate", "and", "return", "a", "hazard", "recognizer", "to", "use", "for", "by", "non-scheduling", "passes", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMBaseInstrInfo54", "Func": "CreateTargetPostRAHazardRecognizer", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9071, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64TargetLowering", "::", "getNumInterleavedAccesses", "(", "VectorType", "*", "VecTy", ",", "const", "DataLayout", "&", "DL", ")", "const", "{", "return", "(", "DL", ".", "getTypeSizeInBits", "(", "VecTy", ")", "+", "127", ")", "/", "128", ";", "}", ""], "natrual_language": ["Returns", "the", "number", "of", "interleaved", "accesses", "that", "will", "be", "generated", "when", "lowering", "accesses", "of", "the", "given", "type", "."], "TS_V_token": ["AArch64", "AArch64", "127", "128"], "File": "AArch64ISelLowering (2)2", "Func": "getNumInterleavedAccesses", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9072, "Length": 31, "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": ["ARM"], "File": "ARMMCExpr17", "Func": "findAssociatedFragment", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9073, "Length": 18, "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", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "DAG", ".", "getTarget", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_Sparc32", ")", ";", "if", "(", "MF", ".", "getRegInfo", "(", ")", ".", "liveout_empty", "(", ")", ")", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "if", "(", "RVLocs", "[", "i", "]", ".", "isRegLoc", "(", ")", ")", "MF", ".", "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", "RetAddrOffset", "=", "8", ";", "if", "(", "MF", ".", "getFunction", "(", ")", "->", "hasStructRetAttr", "(", ")", ")", "{", "SparcMachineFunctionInfo", "*", "SFI", "=", "MF", ".", "getInfo", "<", "SparcMachineFunctionInfo", ">", "(", ")", ";", "unsigned", "Reg", "=", "SFI", "->", "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", ",", "SP", "::", "I0", ",", "Val", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "if", "(", "MF", ".", "getRegInfo", "(", ")", ".", "liveout_empty", "(", ")", ")", "MF", ".", "getRegInfo", "(", ")", ".", "addLiveOut", "(", "SP", "::", "I0", ")", ";", "RetAddrOffset", "=", "12", ";", "}", "SDValue", "RetAddrOffsetNode", "=", "DAG", ".", "getConstant", "(", "RetAddrOffset", ",", "MVT", "::", "i32", ")", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "return", "DAG", ".", "getNode", "(", "SPISD", "::", "RET_FLAG", ",", "dl", ",", "MVT", "::", "Other", ",", "Chain", ",", "RetAddrOffsetNode", ",", "Flag", ")", ";", "return", "DAG", ".", "getNode", "(", "SPISD", "::", "RET_FLAG", ",", "dl", ",", "MVT", "::", "Other", ",", "Chain", ",", "RetAddrOffsetNode", ")", ";", "}", ""], "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", "8", "Sparc", "Sparc", "\"sret virtual register not created in the entry block\"", "SP::I0", "1", "SP::I0", "12", "MVT::i32", "SPISD::RET_FLAG", "MVT::Other", "SPISD::RET_FLAG", "MVT::Other"], "File": "SparcISelLowering10", "Func": "LowerReturn", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9074, "Length": 427, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "xstormy16_expand_builtin_va_start", "(", "tree", "valist", ",", "rtx", "nextarg", "ATTRIBUTE_UNUSED", ")", "{", "tree", "f_base", ",", "f_count", ";", "tree", "base", ",", "count", ";", "tree", "t", ";", "if", "(", "xstormy16_interrupt_function_p", "(", ")", ")", "error", "(", "\"cannot use va_start in interrupt function\"", ")", ";", "f_base", "=", "TYPE_FIELDS", "(", "va_list_type_node", ")", ";", "f_count", "=", "TREE_CHAIN", "(", "f_base", ")", ";", "base", "=", "build", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_base", ")", ",", "valist", ",", "f_base", ",", "NULL_TREE", ")", ";", "count", "=", "build", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_count", ")", ",", "valist", ",", "f_count", ",", "NULL_TREE", ")", ";", "t", "=", "make_tree", "(", "TREE_TYPE", "(", "base", ")", ",", "virtual_incoming_args_rtx", ")", ";", "t", "=", "build", "(", "PLUS_EXPR", ",", "TREE_TYPE", "(", "base", ")", ",", "t", ",", "build_int_cst", "(", "NULL_TREE", ",", "INCOMING_FRAME_SP_OFFSET", ")", ")", ";", "t", "=", "build", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "base", ")", ",", "base", ",", "t", ")", ";", "TREE_SIDE_EFFECTS", "(", "t", ")", "=", "1", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "t", "=", "build", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "count", ")", ",", "count", ",", "build_int_cst", "(", "NULL_TREE", ",", "current_function_args_info", "*", "UNITS_PER_WORD", ")", ")", ";", "TREE_SIDE_EFFECTS", "(", "t", ")", "=", "1", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "stdarg/varargs", "va_start", "macro", ".", "STDARG_P", "is", "non-zero", "if", "this", "is", "stdarg.h", "instead", "of", "varargs.h", ".", "VALIST", "is", "the", "tree", "of", "the", "va_list", "variable", "to", "initialize", ".", "NEXTARG", "is", "the", "machine", "independent", "notion", "of", "the", "'next", "'", "argument", "after", "the", "variable", "arguments", "."], "TS_V_token": ["stormy16", "\"cannot use va_start in interrupt function\"", "1", "1"], "File": "stormy163", "Func": "xstormy16_expand_builtin_va_start", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9075, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "rtx_code", "ix86_fp_swap_condition", "(", "enum", "rtx_code", "code", ")", "{", "switch", "(", "code", ")", "{", "case", "GT", ":", "return", "TARGET_IEEE_FP", "?", "UNKNOWN", ":", "UNLT", ";", "case", "GE", ":", "return", "TARGET_IEEE_FP", "?", "UNKNOWN", ":", "UNLE", ";", "case", "UNLT", ":", "return", "TARGET_IEEE_FP", "?", "UNKNOWN", ":", "GT", ";", "case", "UNLE", ":", "return", "TARGET_IEEE_FP", "?", "UNKNOWN", ":", "GE", ";", "default", ":", "return", "swap_condition", "(", "code", ")", ";", "}", "}", ""], "natrual_language": ["Return", "a", "comparison", "we", "can", "do", "and", "that", "it", "is", "equivalent", "to", "swap_condition", "(", "code", ")", "apart", "possibly", "from", "orderedness", ".", "But", ",", "never", "change", "orderedness", "if", "TARGET_IEEE_FP", ",", "returning", "UNKNOWN", "in", "that", "case", "if", "necessary", "."], "TS_V_token": ["i386"], "File": "i386-expand", "Func": "ix86_fp_swap_condition", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9076, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "initializePass", "(", ")", "{", "pushTTIStack", "(", "this", ")", ";", "}", ""], "natrual_language": ["initializePass", "-", "This", "method", "may", "be", "overriden", "by", "immutable", "passes", "to", "allow", "them", "to", "perform", "various", "initialization", "actions", "they", "require", "."], "TS_V_token": ["PowerPC"], "File": "PPCTargetTransformInfo58", "Func": "initializePass", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9077, "Length": 12, "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": 9078, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCSubtarget", "::", "enableSubRegLiveness", "(", ")", "const", "{", "return", "UseSubRegLiveness", ";", "}", ""], "natrual_language": ["Enable", "tracking", "of", "subregister", "liveness", "in", "register", "allocator", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCSubtarget (2)", "Func": "enableSubRegLiveness", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9079, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "AArch64MCExpr", "::", "getVariantKindName", "(", ")", "const", "{", "switch", "(", "static_cast", "<", "uint32_t", ">", "(", "getKind", "(", ")", ")", ")", "{", "case", "VK_CALL", ":", "return", "\"\"", ";", "case", "VK_LO12", ":", "return", "\":lo12:\"", ";", "case", "VK_ABS_G3", ":", "return", "\":abs_g3:\"", ";", "case", "VK_ABS_G2", ":", "return", "\":abs_g2:\"", ";", "case", "VK_ABS_G2_S", ":", "return", "\":abs_g2_s:\"", ";", "case", "VK_ABS_G2_NC", ":", "return", "\":abs_g2_nc:\"", ";", "case", "VK_ABS_G1", ":", "return", "\":abs_g1:\"", ";", "case", "VK_ABS_G1_S", ":", "return", "\":abs_g1_s:\"", ";", "case", "VK_ABS_G1_NC", ":", "return", "\":abs_g1_nc:\"", ";", "case", "VK_ABS_G0", ":", "return", "\":abs_g0:\"", ";", "case", "VK_ABS_G0_S", ":", "return", "\":abs_g0_s:\"", ";", "case", "VK_ABS_G0_NC", ":", "return", "\":abs_g0_nc:\"", ";", "case", "VK_DTPREL_G2", ":", "return", "\":dtprel_g2:\"", ";", "case", "VK_DTPREL_G1", ":", "return", "\":dtprel_g1:\"", ";", "case", "VK_DTPREL_G1_NC", ":", "return", "\":dtprel_g1_nc:\"", ";", "case", "VK_DTPREL_G0", ":", "return", "\":dtprel_g0:\"", ";", "case", "VK_DTPREL_G0_NC", ":", "return", "\":dtprel_g0_nc:\"", ";", "case", "VK_DTPREL_HI12", ":", "return", "\":dtprel_hi12:\"", ";", "case", "VK_DTPREL_LO12", ":", "return", "\":dtprel_lo12:\"", ";", "case", "VK_DTPREL_LO12_NC", ":", "return", "\":dtprel_lo12_nc:\"", ";", "case", "VK_TPREL_G2", ":", "return", "\":tprel_g2:\"", ";", "case", "VK_TPREL_G1", ":", "return", "\":tprel_g1:\"", ";", "case", "VK_TPREL_G1_NC", ":", "return", "\":tprel_g1_nc:\"", ";", "case", "VK_TPREL_G0", ":", "return", "\":tprel_g0:\"", ";", "case", "VK_TPREL_G0_NC", ":", "return", "\":tprel_g0_nc:\"", ";", "case", "VK_TPREL_HI12", ":", "return", "\":tprel_hi12:\"", ";", "case", "VK_TPREL_LO12", ":", "return", "\":tprel_lo12:\"", ";", "case", "VK_TPREL_LO12_NC", ":", "return", "\":tprel_lo12_nc:\"", ";", "case", "VK_TLSDESC_LO12", ":", "return", "\":tlsdesc_lo12:\"", ";", "case", "VK_ABS_PAGE", ":", "return", "\"\"", ";", "case", "VK_ABS_PAGE_NC", ":", "return", "\":pg_hi21_nc:\"", ";", "case", "VK_GOT", ":", "return", "\":got:\"", ";", "case", "VK_GOT_PAGE", ":", "return", "\":got:\"", ";", "case", "VK_GOT_LO12", ":", "return", "\":got_lo12:\"", ";", "case", "VK_GOTTPREL", ":", "return", "\":gottprel:\"", ";", "case", "VK_GOTTPREL_PAGE", ":", "return", "\":gottprel:\"", ";", "case", "VK_GOTTPREL_LO12_NC", ":", "return", "\":gottprel_lo12:\"", ";", "case", "VK_GOTTPREL_G1", ":", "return", "\":gottprel_g1:\"", ";", "case", "VK_GOTTPREL_G0_NC", ":", "return", "\":gottprel_g0_nc:\"", ";", "case", "VK_TLSDESC", ":", "return", "\"\"", ";", "case", "VK_TLSDESC_PAGE", ":", "return", "\":tlsdesc:\"", ";", "case", "VK_SECREL_LO12", ":", "return", "\":secrel_lo12:\"", ";", "case", "VK_SECREL_HI12", ":", "return", "\":secrel_hi12:\"", ";", "case", "VK_GOTOFF", ":", "return", "\":gotoff:\"", ";", "case", "VK_GOTOFF_G3", ":", "return", "\":gotoff_g3:\"", ";", "case", "VK_GOTOFF_G2", ":", "return", "\":gotoff_g2:\"", ";", "case", "VK_GOTOFF_G2_NC", ":", "return", "\":gotoff_g2_nc:\"", ";", "case", "VK_GOTOFF_G1", ":", "return", "\":gotoff_g1:\"", ";", "case", "VK_GOTOFF_G1_NC", ":", "return", "\":gotoff_g1_nc:\"", ";", "case", "VK_GOTOFF_G0", ":", "return", "\":gotoff_g0:\"", ";", "case", "VK_GOTOFF_G0_NC", ":", "return", "\":gotoff_g0_nc:\"", ";", "case", "VK_SEC_HI12", ":", "return", "\":sec_hi12:\"", ";", "case", "VK_SEC_LO12", ":", "return", "\":sec_lo12:\"", ";", "case", "VK_SEC", ":", "return", "\":sec:\"", ";", "case", "VK_SEC_G3", ":", "return", "\":sec_g3:\"", ";", "case", "VK_SEC_G2", ":", "return", "\":sec_g2:\"", ";", "case", "VK_SEC_G2_NC", ":", "return", "\":sec_g2_nc:\"", ";", "case", "VK_SEC_G1", ":", "return", "\":sec_g1:\"", ";", "case", "VK_SEC_G1_NC", ":", "return", "\":sec_g1_nc:\"", ";", "case", "VK_SEC_G0", ":", "return", "\":sec_g0:\"", ";", "case", "VK_SEC_G0_NC", ":", "return", "\":sec_g0_nc:\"", ";", "default", ":", "llvm_unreachable", "(", "\"Invalid ELF symbol kind\"", ")", ";", "}", "}", ""], "natrual_language": ["Convert", "the", "variant", "kind", "into", "an", "ELF-appropriate", "modifier", "(", "e.g", "."], "TS_V_token": ["AArch64", "AArch64", "\"\"", "\":lo12:\"", "\":abs_g3:\"", "\":abs_g2:\"", "\":abs_g2_s:\"", "\":abs_g2_nc:\"", "\":abs_g1:\"", "\":abs_g1_s:\"", "\":abs_g1_nc:\"", "\":abs_g0:\"", "\":abs_g0_s:\"", "\":abs_g0_nc:\"", "\":dtprel_g2:\"", "\":dtprel_g1:\"", "\":dtprel_g1_nc:\"", "\":dtprel_g0:\"", "\":dtprel_g0_nc:\"", "\":dtprel_hi12:\"", "\":dtprel_lo12:\"", "\":dtprel_lo12_nc:\"", "\":tprel_g2:\"", "\":tprel_g1:\"", "\":tprel_g1_nc:\"", "\":tprel_g0:\"", "\":tprel_g0_nc:\"", "\":tprel_hi12:\"", "\":tprel_lo12:\"", "\":tprel_lo12_nc:\"", "\":tlsdesc_lo12:\"", "\"\"", "\":pg_hi21_nc:\"", "\":got:\"", "\":got:\"", "\":got_lo12:\"", "\":gottprel:\"", "\":gottprel:\"", "\":gottprel_lo12:\"", "\":gottprel_g1:\"", "\":gottprel_g0_nc:\"", "\"\"", "\":tlsdesc:\"", "\":secrel_lo12:\"", "\":secrel_hi12:\"", "\":gotoff:\"", "\":gotoff_g3:\"", "\":gotoff_g2:\"", "\":gotoff_g2_nc:\"", "\":gotoff_g1:\"", "\":gotoff_g1_nc:\"", "\":gotoff_g0:\"", "\":gotoff_g0_nc:\"", "\":sec_hi12:\"", "\":sec_lo12:\"", "\":sec:\"", "\":sec_g3:\"", "\":sec_g2:\"", "\":sec_g2_nc:\"", "\":sec_g1:\"", "\":sec_g1_nc:\"", "\":sec_g0:\"", "\":sec_g0_nc:\"", "\"Invalid ELF symbol kind\""], "File": "AArch64MCExpr1", "Func": "getVariantKindName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9080, "Length": 396, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "int", "desc_is_active", "(", "unsigned", "char", "qp", ",", "unw_word", "t", ",", "struct", "unw_state_record", "*", "sr", ")", "{", "if", "(", "sr", "->", "when_target", "<=", "sr", "->", "region_start", "+", "MIN", "(", "(", "int", ")", "t", ",", "sr", "->", "region_len", "-", "1", ")", ")", "return", "0", ";", "if", "(", "qp", ">", "0", ")", "{", "if", "(", "(", "sr", "->", "pr_val", "&", "(", "1UL", "<<", "qp", ")", ")", "==", "0", ")", "return", "0", ";", "sr", "->", "pr_mask", "|=", "(", "1UL", "<<", "qp", ")", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["General", "descriptors", "."], "TS_V_token": ["ia64", "1", "0", "0", "1UL", "0", "0", "1UL", "1"], "File": "unwind-ia64", "Func": "desc_is_active", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9081, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "SystemZMCInstLower", "Lower", "(", "MF", "->", "getContext", "(", ")", ",", "*", "this", ")", ";", "MCInst", "LoweredMI", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "SystemZ", "::", "Return", ":", "LoweredMI", "=", "MCInstBuilder", "(", "SystemZ", "::", "BR", ")", ".", "addReg", "(", "SystemZ", "::", "R14D", ")", ";", "break", ";", "case", "SystemZ", "::", "CallBRASL", ":", "LoweredMI", "=", "MCInstBuilder", "(", "SystemZ", "::", "BRASL", ")", ".", "addReg", "(", "SystemZ", "::", "R14D", ")", ".", "addExpr", "(", "Lower", ".", "getExpr", "(", "MI", "->", "getOperand", "(", "0", ")", ",", "MCSymbolRefExpr", "::", "VK_PLT", ")", ")", ";", "break", ";", "case", "SystemZ", "::", "CallBASR", ":", "LoweredMI", "=", "MCInstBuilder", "(", "SystemZ", "::", "BASR", ")", ".", "addReg", "(", "SystemZ", "::", "R14D", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ";", "break", ";", "case", "SystemZ", "::", "CallJG", ":", "LoweredMI", "=", "MCInstBuilder", "(", "SystemZ", "::", "JG", ")", ".", "addExpr", "(", "Lower", ".", "getExpr", "(", "MI", "->", "getOperand", "(", "0", ")", ",", "MCSymbolRefExpr", "::", "VK_PLT", ")", ")", ";", "break", ";", "case", "SystemZ", "::", "CallBR", ":", "LoweredMI", "=", "MCInstBuilder", "(", "SystemZ", "::", "BR", ")", ".", "addReg", "(", "SystemZ", "::", "R1D", ")", ";", "break", ";", "case", "SystemZ", "::", "IILF64", ":", "LoweredMI", "=", "MCInstBuilder", "(", "SystemZ", "::", "IILF", ")", ".", "addReg", "(", "SystemZMC", "::", "getRegAsGR32", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", ".", "addImm", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ")", ";", "break", ";", "case", "SystemZ", "::", "IIHF64", ":", "LoweredMI", "=", "MCInstBuilder", "(", "SystemZ", "::", "IIHF", ")", ".", "addReg", "(", "SystemZMC", "::", "getRegAsGRH32", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", ".", "addImm", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ")", ";", "break", ";", "case", "SystemZ", "::", "RISBHH", ":", "case", "SystemZ", "::", "RISBHL", ":", "LoweredMI", "=", "lowerRIEfLow", "(", "MI", ",", "SystemZ", "::", "RISBHG", ")", ";", "break", ";", "case", "SystemZ", "::", "RISBLH", ":", "case", "SystemZ", "::", "RISBLL", ":", "LoweredMI", "=", "lowerRIEfLow", "(", "MI", ",", "SystemZ", "::", "RISBLG", ")", ";", "break", ";", "case", "SystemZ", "::", "NAME", "##", "64", ":", "LoweredMI", "=", "lowerRILow", "(", "MI", ",", "SystemZ", "::", "NAME", ")", ";", "break", "LOWER_LOW", "(", "IILL", ")", ";", "LOWER_LOW", "(", "IILH", ")", ";", "LOWER_LOW", "(", "NILL", ")", ";", "LOWER_LOW", "(", "NILH", ")", ";", "LOWER_LOW", "(", "NILF", ")", ";", "LOWER_LOW", "(", "OILL", ")", ";", "LOWER_LOW", "(", "OILH", ")", ";", "LOWER_LOW", "(", "OILF", ")", ";", "LOWER_LOW", "(", "XILF", ")", ";", "case", "SystemZ", "::", "NAME", "##", "64", ":", "LoweredMI", "=", "lowerRIHigh", "(", "MI", ",", "SystemZ", "::", "NAME", ")", ";", "break", "LOWER_HIGH", "(", "IIHL", ")", ";", "LOWER_HIGH", "(", "IIHH", ")", ";", "LOWER_HIGH", "(", "NIHL", ")", ";", "LOWER_HIGH", "(", "NIHH", ")", ";", "LOWER_HIGH", "(", "NIHF", ")", ";", "LOWER_HIGH", "(", "OIHL", ")", ";", "LOWER_HIGH", "(", "OIHH", ")", ";", "LOWER_HIGH", "(", "OIHF", ")", ";", "LOWER_HIGH", "(", "XIHF", ")", ";", "default", ":", "Lower", ".", "lower", "(", "MI", ",", "LoweredMI", ")", ";", "break", ";", "}", "OutStreamer", ".", "EmitInstruction", "(", "LoweredMI", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ::Return", "SystemZ::BR", "SystemZ::R14D", "SystemZ::CallBRASL", "SystemZ::BRASL", "SystemZ::R14D", "0", "SystemZ::CallBASR", "SystemZ::BASR", "SystemZ::R14D", "0", "SystemZ::CallJG", "SystemZ::JG", "0", "SystemZ::CallBR", "SystemZ::BR", "SystemZ::R1D", "SystemZ::IILF64", "SystemZ::IILF", "SystemZMC::getRegAsGR32", "0", "2", "SystemZ::IIHF64", "SystemZ::IIHF", "SystemZMC::getRegAsGRH32", "0", "2", "SystemZ::RISBHH", "SystemZ::RISBHL", "SystemZ::RISBHG", "SystemZ::RISBLH", "SystemZ::RISBLL", "SystemZ::RISBLG", "SystemZ::NAME", "64", "SystemZ::NAME", "SystemZ::NAME", "64", "SystemZ::NAME"], "File": "SystemZAsmPrinter27", "Func": "EmitInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9082, "Length": 490, "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", ")", ";", "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"], "File": "PPCLoopDataPrefetch3", "Func": "runOnFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9083, "Length": 150, "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", "{", "unsigned", "Size", "=", "getFixupKindSize", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "assert", "(", "Fixup", ".", "getOffset", "(", ")", "+", "Size", "<=", "Data", ".", "size", "(", ")", "&&", "\"Invalid fixup offset!\"", ")", ";", "assert", "(", "(", "Size", "==", "0", "||", "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", "\"Invalid fixup offset!\"", "0", "8", "1", "\"Value does not fit in the Fixup field\"", "0", "8"], "File": "X86AsmBackend24", "Func": "applyFixup", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9084, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "do_add3", "(", "rtx", "dest", ",", "rtx", "src1", ",", "rtx", "src2", ")", "{", "if", "(", "GET_MODE", "(", "dest", ")", "==", "DImode", ")", "emit_insn", "(", "gen_adddi3", "(", "dest", ",", "src1", ",", "src2", ")", ")", ";", "else", "emit_insn", "(", "gen_addsi3", "(", "dest", ",", "src1", ",", "src2", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "add", "of", "the", "proper", "mode", "for", "DEST", ".", "DEST", "is", "the", "destination", "register", "for", "the", "add", ".", "SRC1", "is", "the", "first", "add", "input", ".", "SRC2", "is", "the", "second", "add", "input", ".", "Computes", "DEST", "=", "SRC1+SRC2", "."], "TS_V_token": ["rs6000"], "File": "rs6000-string", "Func": "do_add3", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9085, "Length": 49, "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": 9086, "Length": 106, "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'", ":", "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": "MipsISelLowering (2)4", "Func": "getConstraintType", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9087, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "AArch64Subtarget", "::", "classifyGlobalFunctionReference", "(", "const", "GlobalValue", "*", "GV", ",", "const", "TargetMachine", "&", "TM", ")", "const", "{", "if", "(", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", "&&", "isTargetMachO", "(", ")", "&&", "!", "GV", "->", "hasInternalLinkage", "(", ")", ")", "return", "AArch64II", "::", "MO_GOT", ";", "auto", "*", "F", "=", "dyn_cast", "<", "Function", ">", "(", "GV", ")", ";", "if", "(", "UseNonLazyBind", "&&", "F", "&&", "F", "->", "hasFnAttribute", "(", "Attribute", "::", "NonLazyBind", ")", "&&", "!", "TM", ".", "shouldAssumeDSOLocal", "(", "*", "GV", "->", "getParent", "(", ")", ",", "GV", ")", ")", "return", "AArch64II", "::", "MO_GOT", ";", "return", "AArch64II", "::", "MO_NO_FLAG", ";", "}", ""], "natrual_language": ["Classify", "a", "global", "function", "reference", "for", "the", "current", "subtarget", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64II::MO_GOT", "AArch64II::MO_GOT", "AArch64II::MO_NO_FLAG"], "File": "AArch64Subtarget10", "Func": "classifyGlobalFunctionReference", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9088, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCDisassembler", "::", "DecodeStatus", "X86GenericDisassembler", "::", "getInstruction", "(", "MCInst", "&", "instr", ",", "uint64_t", "&", "size", ",", "const", "MemoryObject", "&", "region", ",", "uint64_t", "address", ",", "raw_ostream", "&", "vStream", ",", "raw_ostream", "&", "cStream", ")", "const", "{", "InternalInstruction", "internalInstr", ";", "dlog_t", "loggerFn", "=", "logger", ";", "if", "(", "&", "vStream", "==", "&", "nulls", "(", ")", ")", "loggerFn", "=", "0", ";", "int", "ret", "=", "decodeInstruction", "(", "&", "internalInstr", ",", "regionReader", ",", "(", "void", "*", ")", "&", "region", ",", "loggerFn", ",", "(", "void", "*", ")", "&", "vStream", ",", "address", ",", "fMode", ")", ";", "if", "(", "ret", ")", "{", "size", "=", "internalInstr", ".", "readerCursor", "-", "address", ";", "return", "Fail", ";", "}", "else", "{", "size", "=", "internalInstr", ".", "length", ";", "return", "(", "!", "translateInstruction", "(", "instr", ",", "internalInstr", ")", ")", "?", "Success", ":", "Fail", ";", "}", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["X86", "X86", "0"], "File": "X86Disassembler37", "Func": "getInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9089, "Length": 128, "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": 9090, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLoweringBase", "::", "AtomicExpansionKind", "X86TargetLowering", "::", "shouldExpandAtomicStoreInIR", "(", "StoreInst", "*", "SI", ")", "const", "{", "Type", "*", "MemType", "=", "SI", "->", "getValueOperand", "(", ")", "->", "getType", "(", ")", ";", "bool", "NoImplicitFloatOps", "=", "SI", "->", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ";", "if", "(", "MemType", "->", "getPrimitiveSizeInBits", "(", ")", "==", "64", "&&", "!", "Subtarget", ".", "is64Bit", "(", ")", "&&", "!", "Subtarget", ".", "useSoftFloat", "(", ")", "&&", "!", "NoImplicitFloatOps", "&&", "(", "Subtarget", ".", "hasSSE1", "(", ")", "||", "Subtarget", ".", "hasX87", "(", ")", ")", ")", "return", "AtomicExpansionKind", "::", "None", ";", "return", "needsCmpXchgNb", "(", "MemType", ")", "?", "AtomicExpansionKind", "::", "Expand", ":", "AtomicExpansionKind", "::", "None", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "(", "atomic", ")", "store", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "into", "."], "TS_V_token": ["X86", "X86", "64"], "File": "X86ISelLowering104", "Func": "shouldExpandAtomicStoreInIR", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9091, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isBinOp", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "case", "X86ISD", "::", "ANDNP", ":", "case", "X86ISD", "::", "PCMPGT", ":", "case", "X86ISD", "::", "FMAX", ":", "case", "X86ISD", "::", "FMIN", ":", "case", "X86ISD", "::", "FANDN", ":", "return", "true", ";", "}", "return", "TargetLoweringBase", "::", "isBinOp", "(", "Opcode", ")", ";", "}", ""], "natrual_language": ["Add", "x86-specific", "opcodes", "to", "the", "default", "list", "."], "TS_V_token": ["X86", "X86", "X86ISD::ANDNP", "X86ISD::PCMPGT", "X86ISD::FMAX", "X86ISD::FMIN", "X86ISD::FANDN"], "File": "X86ISelLowering (2)5", "Func": "isBinOp", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9092, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FISCTargetLowering", "::", "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", ")", ";", "if", "(", "!", "CCInfo", ".", "CheckReturn", "(", "Outs", ",", "RetCC_FISC", ")", ")", "return", "false", ";", "if", "(", "CCInfo", ".", "getNextStackOffset", "(", ")", "!=", "0", "&&", "isVarArg", ")", "return", "false", ";", "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": ["FISC", "FISC", "ISD::OutputArg", "16", "FISC", "0"], "File": "FISCISelLowering", "Func": "CanLowerReturn", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9093, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"SPARC Delay Slot Filler\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Sparc", "\"SPARC Delay Slot Filler\""], "File": "DelaySlotFiller1", "Func": "getPassName", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9094, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "loongarch_conditional_register_usage", "(", "void", ")", "{", "if", "(", "!", "TARGET_HARD_FLOAT", ")", "accessible_reg_set", "&=", "~", "(", "reg_class_contents", "[", "FP_REGS", "]", "|", "reg_class_contents", "[", "FCC_REGS", "]", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CONDITIONAL_REGISTER_USAGE", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_conditional_register_usage", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9095, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64TargetStreamer", "::", "emitCurrentConstantPool", "(", ")", "{", "ConstantPools", "->", "emitForCurrentSection", "(", "Streamer", ")", ";", "}", ""], "natrual_language": ["Callback", "used", "to", "implement", "the", ".ltorg", "directive", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64TargetStreamer", "Func": "emitCurrentConstantPool", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9096, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "process_cfa_adjust_cfa", "(", "FILE", "*", "out_file", ",", "rtx", "pat", ",", "rtx", "insn", ",", "bool", "unwind", ",", "bool", "frame", ")", "{", "rtx", "dest", "=", "SET_DEST", "(", "pat", ")", ";", "rtx", "src", "=", "SET_SRC", "(", "pat", ")", ";", "if", "(", "dest", "==", "stack_pointer_rtx", ")", "{", "if", "(", "GET_CODE", "(", "src", ")", "==", "PLUS", ")", "{", "rtx", "op0", "=", "XEXP", "(", "src", ",", "0", ")", ";", "rtx", "op1", "=", "XEXP", "(", "src", ",", "1", ")", ";", "gcc_assert", "(", "op0", "==", "dest", "&&", "GET_CODE", "(", "op1", ")", "==", "CONST_INT", ")", ";", "if", "(", "INTVAL", "(", "op1", ")", "<", "0", ")", "{", "gcc_assert", "(", "!", "frame_pointer_needed", ")", ";", "if", "(", "unwind", ")", "fprintf", "(", "out_file", ",", "\"\\t.fframe \"", "HOST_WIDE_INT_PRINT_DEC", "\"\\n\"", ",", "-", "INTVAL", "(", "op1", ")", ")", ";", "}", "else", "process_epilogue", "(", "out_file", ",", "insn", ",", "unwind", ",", "frame", ")", ";", "}", "else", "{", "gcc_assert", "(", "src", "==", "hard_frame_pointer_rtx", ")", ";", "process_epilogue", "(", "out_file", ",", "insn", ",", "unwind", ",", "frame", ")", ";", "}", "}", "else", "if", "(", "dest", "==", "hard_frame_pointer_rtx", ")", "{", "gcc_assert", "(", "src", "==", "stack_pointer_rtx", ")", ";", "gcc_assert", "(", "frame_pointer_needed", ")", ";", "if", "(", "unwind", ")", "fprintf", "(", "out_file", ",", "\"\\t.vframe r%d\\n\"", ",", "ia64_debugger_regno", "(", "REGNO", "(", "dest", ")", ")", ")", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["This", "function", "processes", "a", "SET", "pattern", "for", "REG_CFA_ADJUST_CFA", "."], "TS_V_token": ["ia64", "0", "1", "0", "\"\\t.fframe \"", "\"\\n\"", "\"\\t.vframe r%d\\n\""], "File": "ia641", "Func": "process_cfa_adjust_cfa", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9097, "Length": 205, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_secondary_reload_trace", "(", "int", "line", ",", "rtx", "reg", ",", "rtx", "mem", ",", "rtx", "scratch", ",", "bool", "store_p", ")", "{", "rtx", "set", ",", "clobber", ";", "gcc_assert", "(", "reg", "!=", "NULL_RTX", "&&", "mem", "!=", "NULL_RTX", "&&", "scratch", "!=", "NULL_RTX", ")", ";", "fprintf", "(", "stderr", ",", "\"rs6000_secondary_reload_inner:%d, type = %s\\n\"", ",", "line", ",", "store_p", "?", "\"store\"", ":", "\"load\"", ")", ";", "if", "(", "store_p", ")", "set", "=", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ";", "else", "set", "=", "gen_rtx_SET", "(", "reg", ",", "mem", ")", ";", "clobber", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "scratch", ")", ";", "debug_rtx", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "set", ",", "clobber", ")", ")", ")", ";", "}", ""], "natrual_language": ["Better", "tracing", "for", "rs6000_secondary_reload_inner", "."], "TS_V_token": ["rs6000", "\"rs6000_secondary_reload_inner:%d, type = %s\\n\"", "\"store\"", "\"load\"", "2"], "File": "rs6000", "Func": "rs6000_secondary_reload_trace", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9098, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "get_decl_name", "(", "tree", "fn", ")", "{", "tree", "name", ";", "if", "(", "!", "fn", ")", "return", "\"\"", ";", "name", "=", "DECL_NAME", "(", "fn", ")", ";", "if", "(", "!", "name", ")", "return", "\"\"", ";", "return", "IDENTIFIER_POINTER", "(", "name", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "printing", "the", "function", "name", "when", "debugging", "."], "TS_V_token": ["rs6000", "\"\"", "\"\""], "File": "rs6000", "Func": "get_decl_name", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9099, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "sparc_min_arithmetic_precision", "(", "void", ")", "{", "return", "32", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MIN_ARITHMETIC_PRECISION", "."], "TS_V_token": ["sparc", "32"], "File": "sparc", "Func": "sparc_min_arithmetic_precision", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9100, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "Emitter", "<", "CodeEmitter", ">", "::", "getMachineOpValue", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "&", "MO", ")", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "ARMRegisterInfo", "::", "getRegisterNumbering", "(", "MO", ".", "getReg", "(", ")", ")", ";", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "else", "if", "(", "MO", ".", "isGlobal", "(", ")", ")", "emitGlobalAddress", "(", "MO", ".", "getGlobal", "(", ")", ",", "ARM", "::", "reloc_arm_branch", ",", "true", ",", "false", ")", ";", "else", "if", "(", "MO", ".", "isSymbol", "(", ")", ")", "emitExternalSymbolAddress", "(", "MO", ".", "getSymbolName", "(", ")", ",", "ARM", "::", "reloc_arm_branch", ")", ";", "else", "if", "(", "MO", ".", "isCPI", "(", ")", ")", "{", "const", "TargetInstrDesc", "&", "TID", "=", "MI", ".", "getDesc", "(", ")", ";", "unsigned", "Reloc", "=", "(", "(", "TID", ".", "TSFlags", "&", "ARMII", "::", "FormMask", ")", "==", "ARMII", "::", "VFPLdStFrm", ")", "?", "ARM", "::", "reloc_arm_vfp_cp_entry", ":", "ARM", "::", "reloc_arm_cp_entry", ";", "emitConstPoolAddress", "(", "MO", ".", "getIndex", "(", ")", ",", "Reloc", ")", ";", "}", "else", "if", "(", "MO", ".", "isJTI", "(", ")", ")", "emitJumpTableAddress", "(", "MO", ".", "getIndex", "(", ")", ",", "ARM", "::", "reloc_arm_relative", ")", ";", "else", "if", "(", "MO", ".", "isMBB", "(", ")", ")", "emitMachineBasicBlock", "(", "MO", ".", "getMBB", "(", ")", ",", "ARM", "::", "reloc_arm_branch", ")", ";", "else", "{", "cerr", "<<", "MO", ";", "llvm_unreachable", "(", "0", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["ARM", "ARM", "ARM::reloc_arm_branch", "ARM::reloc_arm_branch", "ARMII::FormMask", "ARMII::VFPLdStFrm", "ARM::reloc_arm_vfp_cp_entry", "ARM::reloc_arm_cp_entry", "ARM::reloc_arm_relative", "ARM::reloc_arm_branch", "0", "0"], "File": "ARMCodeEmitter11", "Func": "getMachineOpValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9101, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VEInstrInfo", "::", "reverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "VECC", "::", "CondCodes", "CC", "=", "static_cast", "<", "VECC", "::", "CondCodes", ">", "(", "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": ["VE", "VE", "VECC::CondCodes", "VECC::CondCodes", "0", "0"], "File": "VEInstrInfo15", "Func": "reverseBranchCondition", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9102, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "shouldFoldSelectWithIdentityConstant", "(", "unsigned", "Opcode", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "hasAVX512", "(", ")", ")", "return", "false", ";", "if", "(", "!", "Subtarget", ".", "hasVLX", "(", ")", "&&", "!", "VT", ".", "is512BitVector", "(", ")", ")", "return", "false", ";", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "pulling", "a", "binary", "operation", "into", "a", "select", "with", "an", "identity", "constant", "is", "profitable", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering100", "Func": "shouldFoldSelectWithIdentityConstant", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9103, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_mask_from_zextract_ops", "(", "rtx", "width", ",", "rtx", "pos", ")", "{", "gcc_assert", "(", "CONST_INT_P", "(", "width", ")", ")", ";", "gcc_assert", "(", "CONST_INT_P", "(", "pos", ")", ")", ";", "unsigned", "HOST_WIDE_INT", "mask", "=", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "1", "<<", "UINTVAL", "(", "width", ")", ")", "-", "1", ";", "return", "GEN_INT", "(", "mask", "<<", "UINTVAL", "(", "pos", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "bitmask", "CONST_INT", "to", "select", "the", "bits", "required", "by", "a", "zero", "extract", "operation", "of", "width", "WIDTH", "at", "bit", "position", "POS", "."], "TS_V_token": ["aarch64", "1", "1"], "File": "aarch64", "Func": "aarch64_mask_from_zextract_ops", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9104, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "function_expander", "::", "add_address_operand", "(", "rtx", "x", ")", "{", "m_ops", ".", "safe_grow", "(", "m_ops", ".", "length", "(", ")", "+", "1", ",", "true", ")", ";", "create_address_operand", "(", "&", "m_ops", ".", "last", "(", ")", ",", "x", ")", ";", "}", ""], "natrual_language": ["Add", "an", "address", "operand", "with", "value", "X", ".", "The", "static", "operand", "data", "says", "what", "mode", "and", "form", "the", "address", "must", "have", "."], "TS_V_token": ["aarch64", "1"], "File": "aarch64-sve-builtins1", "Func": "add_address_operand", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9105, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "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", ")", ";", "}", "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": ["Sparc", "Sparc", "0", "SP::ADJCALLSTACKDOWN", "SP", "SP::ADDrr", "SP::ADDri"], "File": "SparcFrameLowering (2)1", "Func": "eliminateCallFramePseudoInstr", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9106, "Length": 102, "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": 9107, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "aarch64_simd_attr_length_move", "(", "rtx_insn", "*", "insn", ")", "{", "machine_mode", "mode", ";", "extract_insn_cached", "(", "insn", ")", ";", "if", "(", "REG_P", "(", "recog_data", ".", "operand", "[", "0", "]", ")", "&&", "REG_P", "(", "recog_data", ".", "operand", "[", "1", "]", ")", ")", "{", "mode", "=", "GET_MODE", "(", "recog_data", ".", "operand", "[", "0", "]", ")", ";", "switch", "(", "mode", ")", "{", "case", "OImode", ":", "return", "8", ";", "case", "CImode", ":", "return", "12", ";", "case", "XImode", ":", "return", "16", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "return", "4", ";", "}", ""], "natrual_language": ["Compute", "and", "return", "the", "length", "of", "aarch64_simd_mov", "<", "mode", ">", ",", "where", "<", "mode", ">", "is", "one", "of", "VSTRUCT", "modes", ":", "OI", ",", "CI", "or", "XI", "."], "TS_V_token": ["aarch64", "0", "1", "0", "8", "12", "16", "4"], "File": "aarch642", "Func": "aarch64_simd_attr_length_move", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9108, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_load_insn", "(", "rtx", "insn", ",", "rtx", "*", "load_mem", ")", "{", "if", "(", "!", "insn", "||", "!", "INSN_P", "(", "insn", ")", ")", "return", "false", ";", "if", "(", "CALL_P", "(", "insn", ")", ")", "return", "false", ";", "return", "is_load_insn1", "(", "PATTERN", "(", "insn", ")", ",", "load_mem", ")", ";", "}", ""], "natrual_language": ["Determine", "if", "INSN", "loads", "from", "memory", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "is_load_insn", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9109, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "DLX", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["DLX", "DLX::NumTargetFixupKinds"], "File": "DLXAsmBackend", "Func": "getNumFixupKinds", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9110, "Length": 13, "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": ["SystemZ"], "File": "SystemZRegisterInfo (2)", "Func": "requiresRegisterScavenging", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9111, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getSymbol", "(", ")", "const", "{", "return", "S", ";", "}", ""], "natrual_language": ["Get", "the", "target", "address", "and", "flags", "for", "the", "named", "symbol", "."], "TS_V_token": ["CSKY"], "File": "CSKYConstantPoolValue", "Func": "getSymbol", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9112, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isBarrier", "(", ")", "const", "{", "return", "Kind", "==", "k_Barrier", "&&", "!", "getBarriernXSModifier", "(", ")", ";", "}", ""], "natrual_language": ["Tests", "if", "this", "is", "an", "Order", "dependence", "that", "is", "marked", "as", "a", "barrier", "."], "TS_V_token": ["AArch64"], "File": "AArch64AsmParser1", "Func": "isBarrier", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9113, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_sched_reorder", "(", "FILE", "*", "file", ",", "int", "verbose", ",", "rtx_insn", "*", "*", "ready", ",", "int", "*", "n_readyp", ",", "int", "clock", ")", "{", "switch", "(", "arm_tune", ")", "{", "case", "TARGET_CPU_cortexa7", ":", "cortexa7_sched_reorder", "(", "file", ",", "verbose", ",", "ready", ",", "n_readyp", ",", "clock", ")", ";", "break", ";", "default", ":", "break", ";", "}", "return", "arm_issue_rate", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SCHED_REORDER", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_sched_reorder", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9114, "Length": 58, "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", ";", "unsigned", "Flags", "=", "MI", "->", "getFlags", "(", ")", ";", "if", "(", "(", "TSFlags", "&", "X86II", "::", "LOCK", ")", "||", "(", "Flags", "&", "X86", "::", "IP_HAS_LOCK", ")", ")", "OS", "<<", "\"\\tlock\\t\"", ";", "if", "(", "Flags", "&", "X86", "::", "IP_HAS_REPEAT_NE", ")", "OS", "<<", "\"\\trepne\\t\"", ";", "else", "if", "(", "Flags", "&", "X86", "::", "IP_HAS_REPEAT", ")", "OS", "<<", "\"\\trep\\t\"", ";", "if", "(", "(", "TSFlags", "&", "X86II", "::", "NOTRACK", ")", "||", "(", "Flags", "&", "X86", "::", "IP_HAS_NOTRACK", ")", ")", "OS", "<<", "\"\\tnotrack\\t\"", ";", "printInstruction", "(", "MI", ",", "OS", ")", ";", "printAnnotation", "(", "OS", ",", "Annot", ")", ";", "if", "(", "CommentStream", ")", "EmitAnyX86InstComments", "(", "MI", ",", "*", "CommentStream", ",", "MII", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["X86", "X86", "X86II::LOCK", "X86::IP_HAS_LOCK", "\"\\tlock\\t\"", "X86::IP_HAS_REPEAT_NE", "\"\\trepne\\t\"", "X86::IP_HAS_REPEAT", "\"\\trep\\t\"", "X86II::NOTRACK", "X86::IP_HAS_NOTRACK", "\"\\tnotrack\\t\"", "X86"], "File": "X86IntelInstPrinter34", "Func": "printInst", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9115, "Length": 153, "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", "(", "createNEONMoveFixPass", "(", ")", ")", ";", "}", "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"], "File": "ARMTargetMachine23", "Func": "addPreSched2", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9116, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsCCState", "::", "originalTypeIsVectorFloat", "(", "const", "Type", "*", "Ty", ")", "{", "if", "(", "Ty", "->", "isVectorTy", "(", ")", "&&", "Ty", "->", "isFPOrFPVectorTy", "(", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "original", "type", "was", "vXfXX", "/", "vXfXX", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsCCState9", "Func": "originalTypeIsVectorFloat", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9117, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_discover_homogeneous_aggregate", "(", "machine_mode", "mode", ",", "const_tree", "type", ",", "machine_mode", "*", "elt_mode", ",", "int", "*", "n_elts", ")", "{", "if", "(", "TARGET_HARD_FLOAT", "&&", "DEFAULT_ABI", "==", "ABI_ELFv2", "&&", "type", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "machine_mode", "field_mode", "=", "VOIDmode", ";", "int", "empty_base_seen", "=", "0", ";", "int", "zero_width_bf_seen", "=", "0", ";", "int", "field_count", "=", "rs6000_aggregate_candidate", "(", "type", ",", "&", "field_mode", ",", "&", "empty_base_seen", ",", "&", "zero_width_bf_seen", ")", ";", "if", "(", "field_count", ">", "0", ")", "{", "int", "reg_size", "=", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "field_mode", ")", "?", "16", ":", "8", ";", "int", "field_size", "=", "ROUND_UP", "(", "GET_MODE_SIZE", "(", "field_mode", ")", ",", "reg_size", ")", ";", "if", "(", "field_count", "*", "field_size", "<=", "AGGR_ARG_NUM_REG", "*", "reg_size", ")", "{", "if", "(", "elt_mode", ")", "*", "elt_mode", "=", "field_mode", ";", "if", "(", "n_elts", ")", "*", "n_elts", "=", "field_count", ";", "if", "(", "empty_base_seen", "&&", "warn_psabi", ")", "{", "static", "unsigned", "last_reported_type_uid", ";", "unsigned", "uid", "=", "TYPE_UID", "(", "TYPE_MAIN_VARIANT", "(", "type", ")", ")", ";", "if", "(", "uid", "!=", "last_reported_type_uid", ")", "{", "const", "char", "*", "url", "=", "CHANGES_ROOT_URL", "\"gcc-10/changes.html#empty_base\"", ";", "if", "(", "empty_base_seen", "&", "1", ")", "inform", "(", "input_location", ",", "\"parameter passing for argument of type %qT \"", "\"when C++17 is enabled changed to match C++14 \"", "\"%{in GCC 10.1%}\"", ",", "type", ",", "url", ")", ";", "else", "inform", "(", "input_location", ",", "\"parameter passing for argument of type %qT \"", "\"with %<[[no_unique_address]]%> members \"", "\"changed %{in GCC 10.1%}\"", ",", "type", ",", "url", ")", ";", "last_reported_type_uid", "=", "uid", ";", "}", "}", "if", "(", "zero_width_bf_seen", "&&", "warn_psabi", ")", "{", "static", "unsigned", "last_reported_type_uid", ";", "unsigned", "uid", "=", "TYPE_UID", "(", "TYPE_MAIN_VARIANT", "(", "type", ")", ")", ";", "if", "(", "uid", "!=", "last_reported_type_uid", ")", "{", "inform", "(", "input_location", ",", "\"ELFv2 parameter passing for an argument \"", "\"containing zero-width bit fields but that is \"", "\"otherwise a homogeneous aggregate was \"", "\"corrected in GCC 12\"", ")", ";", "last_reported_type_uid", "=", "uid", ";", "}", "if", "(", "elt_mode", ")", "*", "elt_mode", "=", "mode", ";", "if", "(", "n_elts", ")", "*", "n_elts", "=", "1", ";", "return", "false", ";", "}", "return", "true", ";", "}", "}", "}", "if", "(", "elt_mode", ")", "*", "elt_mode", "=", "mode", ";", "if", "(", "n_elts", ")", "*", "n_elts", "=", "1", ";", "return", "false", ";", "}", ""], "natrual_language": ["If", "an", "argument", ",", "whose", "type", "is", "described", "by", "TYPE", "and", "MODE", ",", "is", "a", "homogeneous", "float", "or", "vector", "aggregate", "that", "shall", "be", "passed", "in", "FP/vector", "registers", "according", "to", "the", "ELFv2", "ABI", ",", "return", "the", "homogeneous", "element", "mode", "in", "*", "ELT_MODE", "and", "the", "number", "of", "elements", "in", "*", "N_ELTS", ",", "and", "return", "TRUE", ".", "Otherwise", ",", "set", "*", "ELT_MODE", "to", "MODE", "and", "*", "N_ELTS", "to", "1", ",", "and", "return", "FALSE", "."], "TS_V_token": ["rs6000", "0", "0", "0", "16", "8", "\"gcc-10/changes.html#empty_base\"", "1", "\"parameter passing for argument of type %qT \"", "\"when C++17 is enabled changed to match C++14 \"", "\"%{in GCC 10.1%}\"", "\"parameter passing for argument of type %qT \"", "\"with %<[[no_unique_address]]%> members \"", "\"changed %{in GCC 10.1%}\"", "\"ELFv2 parameter passing for an argument \"", "\"containing zero-width bit fields but that is \"", "\"otherwise a homogeneous aggregate was \"", "\"corrected in GCC 12\"", "1", "1"], "File": "rs6000-call", "Func": "rs6000_discover_homogeneous_aggregate", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9118, "Length": 297, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "opt_machine_mode", "arm_mode_to_pred_mode", "(", "machine_mode", "mode", ")", "{", "switch", "(", "GET_MODE_NUNITS", "(", "mode", ")", ")", "{", "case", "16", ":", "return", "V16BImode", ";", "case", "8", ":", "return", "V8BImode", ";", "case", "4", ":", "return", "V4BImode", ";", "}", "return", "opt_machine_mode", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "mode", "for", "the", "MVE", "vector", "of", "predicates", "corresponding", "to", "MODE", "."], "TS_V_token": ["arm", "16", "8", "4"], "File": "arm", "Func": "arm_mode_to_pred_mode", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9119, "Length": 40, "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": ["Sparc"], "File": "SparcMCExpr10", "Func": "findAssociatedFragment", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9120, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ")", "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)5", "Func": "isLegalAddressingMode", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9121, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "ARMBaseInstrInfo", "::", "commuteInstructionImpl", "(", "MachineInstr", "&", "MI", ",", "bool", "NewMI", ",", "unsigned", "OpIdx1", ",", "unsigned", "OpIdx2", ")", "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", ";", "MachineInstr", "*", "CommutedMI", "=", "TargetInstrInfo", "::", "commuteInstructionImpl", "(", "MI", ",", "NewMI", ",", "OpIdx1", ",", "OpIdx2", ")", ";", "if", "(", "!", "CommutedMI", ")", "return", "nullptr", ";", "CommutedMI", "->", "getOperand", "(", "CommutedMI", "->", "findFirstPredOperandIdx", "(", ")", ")", ".", "setImm", "(", "ARMCC", "::", "getOppositeCondition", "(", "CC", ")", ")", ";", "return", "CommutedMI", ";", "}", "}", "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": ["ARM", "ARM", "ARM::MOVCCr", "ARM::t2MOVCCr", "0", "ARMCC::CondCodes", "ARMCC::AL", "ARM::CPSR", "ARMCC::getOppositeCondition"], "File": "ARMBaseInstrInfo (2)2", "Func": "commuteInstructionImpl", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9122, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_pad_returns", "(", "void", ")", "{", "edge", "e", ";", "edge_iterator", "ei", ";", "FOR_EACH_EDGE", "(", "e", ",", "ei", ",", "EXIT_BLOCK_PTR_FOR_FN", "(", "cfun", ")", "->", "preds", ")", "{", "basic_block", "bb", "=", "e", "->", "src", ";", "rtx_insn", "*", "ret", "=", "BB_END", "(", "bb", ")", ";", "rtx_insn", "*", "prev", ";", "bool", "replace", "=", "false", ";", "if", "(", "!", "JUMP_P", "(", "ret", ")", "||", "!", "ANY_RETURN_P", "(", "PATTERN", "(", "ret", ")", ")", "||", "optimize_bb_for_size_p", "(", "bb", ")", ")", "continue", ";", "for", "(", "prev", "=", "PREV_INSN", "(", "ret", ")", ";", "prev", ";", "prev", "=", "PREV_INSN", "(", "prev", ")", ")", "if", "(", "active_insn_p", "(", "prev", ")", "||", "LABEL_P", "(", "prev", ")", ")", "break", ";", "if", "(", "prev", "&&", "LABEL_P", "(", "prev", ")", ")", "{", "edge", "e", ";", "edge_iterator", "ei", ";", "FOR_EACH_EDGE", "(", "e", ",", "ei", ",", "bb", "->", "preds", ")", "if", "(", "EDGE_FREQUENCY", "(", "e", ")", "&&", "e", "->", "src", "->", "index", ">=", "0", "&&", "!", "(", "e", "->", "flags", "&", "EDGE_FALLTHRU", ")", ")", "{", "replace", "=", "true", ";", "break", ";", "}", "}", "if", "(", "!", "replace", ")", "{", "prev", "=", "prev_active_insn", "(", "ret", ")", ";", "if", "(", "prev", "&&", "(", "(", "JUMP_P", "(", "prev", ")", "&&", "any_condjump_p", "(", "prev", ")", ")", "||", "CALL_P", "(", "prev", ")", ")", ")", "replace", "=", "true", ";", "if", "(", "!", "prev", "&&", "!", "optimize_function_for_size_p", "(", "cfun", ")", ")", "replace", "=", "true", ";", "}", "if", "(", "replace", ")", "{", "emit_jump_insn_before", "(", "gen_simple_return_internal_long", "(", ")", ",", "ret", ")", ";", "delete_insn", "(", "ret", ")", ";", "}", "}", "}", ""], "natrual_language": ["AMD", "Athlon", "works", "faster", "when", "RET", "is", "not", "destination", "of", "conditional", "jump", "or", "directly", "preceded", "by", "other", "jump", "instruction", ".", "We", "avoid", "the", "penalty", "by", "inserting", "NOP", "just", "before", "the", "RET", "instructions", "in", "such", "cases", "."], "TS_V_token": ["i386", "0"], "File": "i386", "Func": "ix86_pad_returns", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9123, "Length": 245, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb2ITBlockPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "const", "ARMSubtarget", "&", "STI", "=", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "Fn", ".", "getSubtarget", "(", ")", ")", ";", "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", "(", "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", "ARM"], "File": "Thumb2ITBlockPass (2)", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9124, "Length": 161, "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", "(", ")", ")", "{", "if", "(", "ITBlockSize", "&&", "MI", "!=", "ITBlockMIs", "[", "ITBlockSize", "-", "1", "]", ")", "return", "Hazard", ";", "const", "MCInstrDesc", "&", "MCID", "=", "MI", "->", "getDesc", "(", ")", ";", "if", "(", "LastMI", "&&", "(", "MCID", ".", "TSFlags", "&", "ARMII", "::", "DomainMask", ")", "!=", "ARMII", "::", "DomainGeneral", ")", "{", "MachineInstr", "*", "DefMI", "=", "LastMI", ";", "const", "MCInstrDesc", "&", "LastMCID", "=", "LastMI", "->", "getDesc", "(", ")", ";", "if", "(", "!", "LastMCID", ".", "isBarrier", "(", ")", "&&", "!", "(", "STI", ".", "isCortexA9", "(", ")", "&&", "(", "LastMCID", ".", "mayLoad", "(", ")", "||", "LastMCID", ".", "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\"", "1", "ARMII::DomainMask", "ARMII::DomainGeneral", "ARMII::DomainMask", "ARMII::DomainGeneral", "0", "4"], "File": "ARMHazardRecognizer26", "Func": "getHazardType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9125, "Length": 256, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_fmac_op", "(", "enum", "attr_type", "t", ")", "{", "return", "(", "t", "==", "TYPE_FMACS", ")", "||", "(", "t", "==", "TYPE_FMACD", ")", "||", "(", "t", "==", "TYPE_NEON_FP_MLA_S", ")", ";", "}", ""], "natrual_language": ["Return", "whether", "T", "is", "the", "attribute", "of", "a", "FMADD/FMSUB-like", "instruction", "."], "TS_V_token": ["aarch64"], "File": "cortex-a57-fma-steering", "Func": "is_fmac_op", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9126, "Length": 29, "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": "X86AsmBackend (2)", "Func": "relaxInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9127, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "sh_dynamicalize_shift_p", "(", "rtx", "count", ")", "{", "return", "shift_insns", "[", "INTVAL", "(", "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", "1"], "File": "sh3", "Func": "sh_dynamicalize_shift_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9128, "Length": 21, "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": 9129, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "mode_supports_pre_incdec_p", "(", "machine_mode", "mode", ")", "{", "return", "(", "(", "reg_addr", "[", "mode", "]", ".", "addr_mask", "[", "RELOAD_REG_ANY", "]", "&", "RELOAD_REG_PRE_INCDEC", ")", "!=", "0", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "say", "whether", "a", "mode", "supports", "PRE_INC", "or", "PRE_DEC", "."], "TS_V_token": ["rs6000", "0"], "File": "rs6000", "Func": "mode_supports_pre_incdec_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9130, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "get_label_padding", "(", "rtx", "label", ")", "{", "HOST_WIDE_INT", "align", ",", "min_insn_size", ";", "align", "=", "1", "<<", "label_to_alignment", "(", "label", ")", ";", "min_insn_size", "=", "TARGET_THUMB", "?", "2", ":", "4", ";", "return", "align", ">", "min_insn_size", "?", "align", "-", "min_insn_size", ":", "0", ";", "}", ""], "natrual_language": ["Return", "the", "maximum", "amount", "of", "padding", "that", "will", "be", "inserted", "before", "label", "LABEL", "."], "TS_V_token": ["arm", "1", "2", "4", "0"], "File": "arm4", "Func": "get_label_padding", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9131, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmParser", "::", "EmitInstruction", "(", "MCInst", "&", "Inst", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ")", "{", "Instrumentation", "->", "InstrumentAndEmitInstruction", "(", "Inst", ",", "Operands", ",", "getContext", "(", ")", ",", "MII", ",", "Out", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["X86", "X86"], "File": "X86AsmParser122", "Func": "EmitInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9132, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb2InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "if", "(", "!", "ARM", "::", "GPRRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "return", "ARMBaseInstrInfo", "::", "copyPhysReg", "(", "MBB", ",", "I", ",", "DL", ",", "DestReg", ",", "SrcReg", ",", "KillSrc", ")", ";", "bool", "tDest", "=", "ARM", "::", "tGPRRegClass", ".", "contains", "(", "DestReg", ")", ";", "bool", "tSrc", "=", "ARM", "::", "tGPRRegClass", ".", "contains", "(", "SrcReg", ")", ";", "unsigned", "Opc", "=", "ARM", "::", "tMOVgpr2gpr", ";", "if", "(", "tDest", "&&", "tSrc", ")", "Opc", "=", "ARM", "::", "tMOVr", ";", "else", "if", "(", "tSrc", ")", "Opc", "=", "ARM", "::", "tMOVtgpr2gpr", ";", "else", "if", "(", "tDest", ")", "Opc", "=", "ARM", "::", "tMOVgpr2tgpr", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["ARM", "ARM::GPRRegClass", "ARM", "ARM::tGPRRegClass", "ARM::tGPRRegClass", "ARM::tMOVgpr2gpr", "ARM::tMOVr", "ARM::tMOVtgpr2gpr", "ARM::tMOVgpr2tgpr"], "File": "Thumb2InstrInfo15", "Func": "copyPhysReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9133, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "pru_expand_delay_cycles", "(", "rtx", "arg", ")", "{", "HOST_WIDE_INT", "c", ",", "n", ";", "if", "(", "GET_CODE", "(", "arg", ")", "!=", "CONST_INT", ")", "{", "error", "(", "\"%<__delay_cycles%> only takes constant arguments\"", ")", ";", "return", "NULL_RTX", ";", "}", "c", "=", "INTVAL", "(", "arg", ")", ";", "gcc_assert", "(", "HOST_BITS_PER_WIDE_INT", ">", "32", ")", ";", "if", "(", "c", "<", "0", ")", "{", "error", "(", "\"%<__delay_cycles%> only takes non-negative cycle counts\"", ")", ";", "return", "NULL_RTX", ";", "}", "emit_insn", "(", "gen_delay_cycles_start", "(", "arg", ")", ")", ";", "if", "(", "c", ">", "2", "*", "0xffff", "+", "1", ")", "{", "n", "=", "(", "c", "-", "2", ")", "/", "2", ";", "c", "-=", "(", "n", "*", "2", ")", "+", "2", ";", "if", "(", "(", "unsigned", "long", "long", ")", "n", ">", "0xffffffffULL", ")", "{", "error", "(", "\"%<__delay_cycles%> is limited to 32-bit loop counts\"", ")", ";", "return", "NULL_RTX", ";", "}", "emit_insn", "(", "gen_delay_cycles_2x_plus2_si", "(", "GEN_INT", "(", "n", ")", ")", ")", ";", "}", "if", "(", "c", ">", "2", ")", "{", "n", "=", "(", "c", "-", "1", ")", "/", "2", ";", "c", "-=", "(", "n", "*", "2", ")", "+", "1", ";", "emit_insn", "(", "gen_delay_cycles_2x_plus1_hi", "(", "GEN_INT", "(", "n", ")", ")", ")", ";", "}", "while", "(", "c", ">", "0", ")", "{", "emit_insn", "(", "gen_delay_cycles_1", "(", ")", ")", ";", "c", "-=", "1", ";", "}", "emit_insn", "(", "gen_delay_cycles_end", "(", "arg", ")", ")", ";", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Emit", "a", "sequence", "of", "one", "or", "more", "delay_cycles_X", "insns", ",", "in", "order", "to", "generate", "code", "that", "delays", "exactly", "ARG", "cycles", "."], "TS_V_token": ["pru", "\"%<__delay_cycles%> only takes constant arguments\"", "32", "0", "\"%<__delay_cycles%> only takes non-negative cycle counts\"", "2", "0xffff", "1", "2", "2", "2", "2", "0xffffffffULL", "\"%<__delay_cycles%> is limited to 32-bit loop counts\"", "2", "1", "2", "2", "1", "0", "1"], "File": "pru", "Func": "pru_expand_delay_cycles", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9134, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZTargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "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": ["SystemZ", "SystemZ"], "File": "SystemZISelLowering (2)2", "Func": "allowsMisalignedMemoryAccesses", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9135, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_emit_fp16_const", "(", "rtx", "c", ")", "{", "long", "bits", ";", "bits", "=", "real_to_target", "(", "NULL", ",", "CONST_DOUBLE_REAL_VALUE", "(", "c", ")", ",", "HFmode", ")", ";", "if", "(", "WORDS_BIG_ENDIAN", ")", "assemble_zeros", "(", "2", ")", ";", "assemble_integer", "(", "GEN_INT", "(", "bits", ")", ",", "2", ",", "BITS_PER_WORD", ",", "1", ")", ";", "if", "(", "!", "WORDS_BIG_ENDIAN", ")", "assemble_zeros", "(", "2", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "fp16", "constant", "appropriately", "padded", "to", "occupy", "a", "4-byte", "word", ".", "HFmode", "constant", "pool", "entries", "are", "actually", "loaded", "with", "ldr", "."], "TS_V_token": ["arm", "2", "2", "1", "2"], "File": "arm", "Func": "arm_emit_fp16_const", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9136, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "OperandMatchResultTy", "PPCAsmParser", "::", "tryParseRegister", "(", "unsigned", "&", "RegNo", ",", "SMLoc", "&", "StartLoc", ",", "SMLoc", "&", "EndLoc", ")", "{", "const", "AsmToken", "&", "Tok", "=", "getParser", "(", ")", ".", "getTok", "(", ")", ";", "StartLoc", "=", "Tok", ".", "getLoc", "(", ")", ";", "EndLoc", "=", "Tok", ".", "getEndLoc", "(", ")", ";", "RegNo", "=", "0", ";", "int64_t", "IntVal", ";", "if", "(", "MatchRegisterName", "(", "RegNo", ",", "IntVal", ")", ")", "return", "MatchOperand_NoMatch", ";", "return", "MatchOperand_Success", ";", "}", ""], "natrual_language": ["tryParseRegister", "-", "parse", "one", "register", "if", "possible"], "TS_V_token": ["PowerPC", "PPC", "0"], "File": "PPCAsmParser12", "Func": "tryParseRegister", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9137, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sparc_function_arg_1", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ",", "bool", "incoming_p", ")", "{", "const", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "int", "regbase", "=", "(", "incoming_p", "?", "SPARC_INCOMING_INT_ARG_FIRST", ":", "SPARC_OUTGOING_INT_ARG_FIRST", ")", ";", "int", "slotno", ",", "regno", ",", "padding", ";", "enum", "mode_class", "mclass", "=", "GET_MODE_CLASS", "(", "mode", ")", ";", "slotno", "=", "function_arg_slotno", "(", "cum", ",", "mode", ",", "type", ",", "named", ",", "incoming_p", ",", "&", "regno", ",", "&", "padding", ")", ";", "if", "(", "slotno", "==", "-", "1", ")", "return", "0", ";", "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", "<=", "16", ")", ")", ";", "if", "(", "mode", "==", "BLKmode", ")", "return", "function_arg_vector_value", "(", "size", ",", "SPARC_FP_ARG_FIRST", "+", "2", "*", "slotno", ")", ";", "mclass", "=", "MODE_FLOAT", ";", "}", "if", "(", "TARGET_ARCH32", ")", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "if", "(", "type", "&&", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", ")", "{", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "gcc_assert", "(", "size", "<=", "16", ")", ";", "return", "function_arg_record_value", "(", "type", ",", "mode", ",", "slotno", ",", "named", ",", "regbase", ")", ";", "}", "else", "if", "(", "type", "&&", "TREE_CODE", "(", "type", ")", "==", "UNION_TYPE", ")", "{", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "gcc_assert", "(", "size", "<=", "16", ")", ";", "return", "function_arg_union_value", "(", "size", ",", "mode", ",", "slotno", ",", "regno", ")", ";", "}", "else", "if", "(", "(", "mclass", "==", "MODE_FLOAT", "||", "mclass", "==", "MODE_COMPLEX_FLOAT", ")", "&&", "SPARC_FP_REG_P", "(", "regno", ")", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "if", "(", "cum", "->", "prototype_p", "||", "cum", "->", "libcall_p", ")", "{", "if", "(", "(", "regno", "-", "SPARC_FP_ARG_FIRST", ")", ">=", "SPARC_INT_ARG_MAX", "*", "2", ")", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec", "(", "2", ",", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "NULL_RTX", ",", "const0_rtx", ")", ",", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "reg", ",", "const0_rtx", ")", ")", ")", ";", "else", "return", "reg", ";", "}", "else", "{", "rtx", "v0", ",", "v1", ";", "if", "(", "(", "regno", "-", "SPARC_FP_ARG_FIRST", ")", "<", "SPARC_INT_ARG_MAX", "*", "2", ")", "{", "int", "intreg", ";", "if", "(", "incoming_p", ")", "return", "reg", ";", "intreg", "=", "(", "SPARC_OUTGOING_INT_ARG_FIRST", "+", "(", "regno", "-", "SPARC_FP_ARG_FIRST", ")", "/", "2", ")", ";", "v0", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "reg", ",", "const0_rtx", ")", ";", "v1", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "mode", ",", "intreg", ")", ",", "const0_rtx", ")", ";", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec", "(", "2", ",", "v0", ",", "v1", ")", ")", ";", "}", "else", "{", "v0", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "NULL_RTX", ",", "const0_rtx", ")", ";", "v1", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "reg", ",", "const0_rtx", ")", ";", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec", "(", "2", ",", "v0", ",", "v1", ")", ")", ";", "}", "}", "}", "else", "if", "(", "type", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "gcc_assert", "(", "size", "<=", "16", ")", ";", "mode", "=", "mode_for_size", "(", "size", "*", "BITS_PER_UNIT", ",", "MODE_INT", ",", "0", ")", ";", "}", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "}", ""], "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", ".", "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", "true", "if", "this", "argument", "is", "a", "named", "parameter", "(", "otherwise", "it", "is", "an", "extra", "parameter", "matching", "an", "ellipsis", ")", ".", "INCOMING_P", "is", "false", "for", "TARGET_FUNCTION_ARG", ",", "true", "for", "TARGET_FUNCTION_INCOMING_ARG", "."], "TS_V_token": ["sparc", "1", "0", "8", "16", "2", "16", "16", "2", "2", "2", "2", "2", "2", "16", "0"], "File": "sparc4", "Func": "sparc_function_arg_1", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9138, "Length": 509, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetTransformInfo", "SystemZTargetMachine", "::", "getTargetTransformInfo", "(", "const", "Function", "&", "F", ")", "{", "return", "TargetTransformInfo", "(", "SystemZTTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetTransformInfo", "implementation", "for", "the", "target", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ"], "File": "SystemZTargetMachine19", "Func": "getTargetTransformInfo", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9139, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "regs_used", "(", "rtx", "x", ",", "int", "is_dest", ")", "{", "enum", "rtx_code", "code", ";", "const", "char", "*", "fmt", ";", "int", "i", ",", "used", "=", "0", ";", "if", "(", "!", "x", ")", "return", "used", ";", "code", "=", "GET_CODE", "(", "x", ")", ";", "switch", "(", "code", ")", "{", "case", "REG", ":", "if", "(", "REGNO", "(", "x", ")", "<", "16", ")", "return", "(", "(", "(", "1", "<<", "HARD_REGNO_NREGS", "(", "0", ",", "GET_MODE", "(", "x", ")", ")", ")", "-", "1", ")", "<<", "(", "REGNO", "(", "x", ")", "+", "is_dest", ")", ")", ";", "return", "0", ";", "case", "SUBREG", ":", "{", "rtx", "y", "=", "SUBREG_REG", "(", "x", ")", ";", "if", "(", "GET_CODE", "(", "y", ")", "!=", "REG", ")", "break", ";", "if", "(", "REGNO", "(", "y", ")", "<", "16", ")", "return", "(", "(", "(", "1", "<<", "HARD_REGNO_NREGS", "(", "0", ",", "GET_MODE", "(", "x", ")", ")", ")", "-", "1", ")", "<<", "(", "REGNO", "(", "y", ")", "+", "subreg_regno_offset", "(", "REGNO", "(", "y", ")", ",", "GET_MODE", "(", "y", ")", ",", "SUBREG_BYTE", "(", "x", ")", ",", "GET_MODE", "(", "x", ")", ")", "+", "is_dest", ")", ")", ";", "return", "0", ";", "}", "case", "SET", ":", "return", "regs_used", "(", "SET_SRC", "(", "x", ")", ",", "0", ")", "|", "regs_used", "(", "SET_DEST", "(", "x", ")", ",", "16", ")", ";", "case", "RETURN", ":", "return", "0x00ffff00", ";", "case", "CLOBBER", ":", "is_dest", "=", "1", ";", "break", ";", "case", "MEM", ":", "is_dest", "=", "0", ";", "break", ";", "case", "CALL", ":", "used", "|=", "0x00ff00f0", ";", "break", ";", "default", ":", "break", ";", "}", "fmt", "=", "GET_RTX_FORMAT", "(", "code", ")", ";", "for", "(", "i", "=", "GET_RTX_LENGTH", "(", "code", ")", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "if", "(", "fmt", "[", "i", "]", "==", "'E'", ")", "{", "register", "int", "j", ";", "for", "(", "j", "=", "XVECLEN", "(", "x", ",", "i", ")", "-", "1", ";", "j", ">=", "0", ";", "j", "--", ")", "used", "|=", "regs_used", "(", "XVECEXP", "(", "x", ",", "i", ",", "j", ")", ",", "is_dest", ")", ";", "}", "else", "if", "(", "fmt", "[", "i", "]", "==", "'e'", ")", "used", "|=", "regs_used", "(", "XEXP", "(", "x", ",", "i", ")", ",", "is_dest", ")", ";", "}", "return", "used", ";", "}", ""], "natrual_language": ["Given", "a", "X", ",", "a", "pattern", "of", "an", "insn", "or", "a", "part", "of", "it", ",", "return", "a", "mask", "of", "used", "general", "registers", ".", "Bits", "0", "..", "15", "mean", "that", "the", "respective", "registers", "are", "used", "as", "inputs", "in", "the", "instruction", ".", "Bits", "16", "..", "31", "mean", "that", "the", "registers", "0", "..", "15", ",", "respectively", ",", "are", "used", "as", "outputs", ",", "or", "are", "clobbered", ".", "IS_DEST", "should", "be", "set", "to", "16", "if", "X", "is", "the", "destination", "of", "a", "SET", ",", "else", "to", "0", "."], "TS_V_token": ["sh", "0", "16", "1", "0", "1", "0", "16", "1", "0", "1", "0", "0", "16", "0x00ffff00", "1", "0", "0x00ff00f0", "1", "0", "1", "0"], "File": "sh3", "Func": "regs_used", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9140, "Length": 348, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMDAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "if", "(", "!", "Subtarget", "->", "hasV6T2Ops", "(", ")", ")", "return", ";", "bool", "isThumb2", "=", "Subtarget", "->", "isThumb", "(", ")", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "I", "++", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "ADD", ")", "continue", ";", "SDValue", "N0", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "N1", "=", "N", "->", "getOperand", "(", "1", ")", ";", "unsigned", "And_imm", "=", "0", ";", "if", "(", "!", "isOpcWithIntImmediate", "(", "N1", ".", "getNode", "(", ")", ",", "ISD", "::", "AND", ",", "And_imm", ")", ")", "{", "if", "(", "isOpcWithIntImmediate", "(", "N0", ".", "getNode", "(", ")", ",", "ISD", "::", "AND", ",", "And_imm", ")", ")", "std", "::", "swap", "(", "N0", ",", "N1", ")", ";", "}", "if", "(", "!", "And_imm", ")", "continue", ";", "unsigned", "TZ", "=", "countTrailingZeros", "(", "And_imm", ")", ";", "if", "(", "TZ", "!=", "1", "&&", "TZ", "!=", "2", ")", "continue", ";", "And_imm", ">>=", "TZ", ";", "if", "(", "And_imm", "&", "(", "And_imm", "+", "1", ")", ")", "continue", ";", "SDValue", "Srl", "=", "N1", ".", "getOperand", "(", "0", ")", ";", "unsigned", "Srl_imm", "=", "0", ";", "if", "(", "!", "isOpcWithIntImmediate", "(", "Srl", ".", "getNode", "(", ")", ",", "ISD", "::", "SRL", ",", "Srl_imm", ")", "||", "(", "Srl_imm", "<=", "2", ")", ")", "continue", ";", "SDValue", "CPTmp0", ";", "SDValue", "CPTmp1", ";", "SDValue", "CPTmp2", ";", "if", "(", "isThumb2", ")", "{", "if", "(", "SelectT2ShifterOperandReg", "(", "N0", ",", "CPTmp0", ",", "CPTmp1", ")", ")", "continue", ";", "}", "else", "{", "if", "(", "SelectImmShifterOperand", "(", "N0", ",", "CPTmp0", ",", "CPTmp1", ")", "||", "SelectRegShifterOperand", "(", "N0", ",", "CPTmp0", ",", "CPTmp1", ",", "CPTmp2", ")", ")", "continue", ";", "}", "Srl", "=", "CurDAG", "->", "getNode", "(", "ISD", "::", "SRL", ",", "SDLoc", "(", "Srl", ")", ",", "MVT", "::", "i32", ",", "Srl", ".", "getOperand", "(", "0", ")", ",", "CurDAG", "->", "getConstant", "(", "Srl_imm", "+", "TZ", ",", "SDLoc", "(", "Srl", ")", ",", "MVT", "::", "i32", ")", ")", ";", "N1", "=", "CurDAG", "->", "getNode", "(", "ISD", "::", "AND", ",", "SDLoc", "(", "N1", ")", ",", "MVT", "::", "i32", ",", "Srl", ",", "CurDAG", "->", "getConstant", "(", "And_imm", ",", "SDLoc", "(", "Srl", ")", ",", "MVT", "::", "i32", ")", ")", ";", "N1", "=", "CurDAG", "->", "getNode", "(", "ISD", "::", "SHL", ",", "SDLoc", "(", "N1", ")", ",", "MVT", "::", "i32", ",", "N1", ",", "CurDAG", "->", "getConstant", "(", "TZ", ",", "SDLoc", "(", "Srl", ")", ",", "MVT", "::", "i32", ")", ")", ";", "CurDAG", "->", "UpdateNodeOperands", "(", "N", ",", "N0", ",", "N1", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["ARM", "ARM", "ISD::ADD", "0", "1", "0", "ISD::AND", "ISD::AND", "1", "2", "1", "0", "0", "ISD::SRL", "2", "ISD::SRL", "MVT::i32", "0", "MVT::i32", "ISD::AND", "MVT::i32", "MVT::i32", "ISD::SHL", "MVT::i32", "MVT::i32"], "File": "ARMISelDAGToDAG5", "Func": "PreprocessISelDAG", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9141, "Length": 419, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "loongarch_legitimate_constant_p", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ")", "{", "return", "loongarch_const_insns", "(", "x", ")", ">", "0", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LEGITIMATE_CONSTANT_P", "."], "TS_V_token": ["loongarch", "0"], "File": "loongarch", "Func": "loongarch_legitimate_constant_p", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9142, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasAndNotCompare", "(", "SDValue", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "should", "transform", ":", "(", "X", "&", "Y", ")", "==", "Y", "\ufffd", "?", "(", "~X", "&", "Y", ")", "==", "0", "(", "X", "&", "Y", ")", "!", "=", "Y", "\ufffd", "?", "(", "~X", "&", "Y", ")", "!", "=", "0", "."], "TS_V_token": ["PowerPC"], "File": "PPCISelLowering (2)2", "Func": "hasAndNotCompare", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9143, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_assemble_integer", "(", "rtx", "x", ",", "unsigned", "int", "size", ",", "int", "aligned_p", ")", "{", "machine_mode", "mode", ";", "if", "(", "size", "==", "UNITS_PER_WORD", "&&", "aligned_p", ")", "{", "fputs", "(", "\"\\t.word\\t\"", ",", "asm_out_file", ")", ";", "output_addr_const", "(", "asm_out_file", ",", "x", ")", ";", "if", "(", "NEED_GOT_RELOC", "&&", "flag_pic", "&&", "making_const_table", "&&", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", ")", ")", "{", "if", "(", "!", "arm_pic_data_is_text_relative", "||", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "(", "!", "SYMBOL_REF_LOCAL_P", "(", "x", ")", "||", "(", "SYMBOL_REF_DECL", "(", "x", ")", "?", "DECL_WEAK", "(", "SYMBOL_REF_DECL", "(", "x", ")", ")", ":", "0", ")", ")", ")", ")", "fputs", "(", "\"(GOT)\"", ",", "asm_out_file", ")", ";", "else", "fputs", "(", "\"(GOTOFF)\"", ",", "asm_out_file", ")", ";", "}", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "return", "true", ";", "}", "mode", "=", "GET_MODE", "(", "x", ")", ";", "if", "(", "arm_vector_mode_supported_p", "(", "mode", ")", ")", "{", "int", "i", ",", "units", ";", "gcc_assert", "(", "GET_CODE", "(", "x", ")", "==", "CONST_VECTOR", ")", ";", "units", "=", "CONST_VECTOR_NUNITS", "(", "x", ")", ";", "size", "=", "GET_MODE_UNIT_SIZE", "(", "mode", ")", ";", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_INT", ")", "for", "(", "i", "=", "0", ";", "i", "<", "units", ";", "i", "++", ")", "{", "rtx", "elt", "=", "CONST_VECTOR_ELT", "(", "x", ",", "i", ")", ";", "assemble_integer", "(", "elt", ",", "size", ",", "i", "==", "0", "?", "BIGGEST_ALIGNMENT", ":", "size", "*", "BITS_PER_UNIT", ",", "1", ")", ";", "}", "else", "for", "(", "i", "=", "0", ";", "i", "<", "units", ";", "i", "++", ")", "{", "rtx", "elt", "=", "CONST_VECTOR_ELT", "(", "x", ",", "i", ")", ";", "assemble_real", "(", "*", "CONST_DOUBLE_REAL_VALUE", "(", "elt", ")", ",", "GET_MODE_INNER", "(", "mode", ")", ",", "i", "==", "0", "?", "BIGGEST_ALIGNMENT", ":", "size", "*", "BITS_PER_UNIT", ")", ";", "}", "return", "true", ";", "}", "return", "default_assemble_integer", "(", "x", ",", "size", ",", "aligned_p", ")", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "assembling", "integer", "objects", ".", "The", "ARM", "version", "needs", "to", "handle", "word-sized", "values", "specially", "."], "TS_V_token": ["arm", "\"\\t.word\\t\"", "0", "\"(GOT)\"", "\"(GOTOFF)\"", "0", "0", "1", "0", "0"], "File": "arm6", "Func": "arm_assemble_integer", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9144, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isVectorClearMaskLegal", "(", "const", "SmallVectorImpl", "<", "int", ">", "&", "Mask", ",", "MVT", "VT", ")", "const", "{", "unsigned", "NumElts", "=", "VT", ".", "getVectorNumElements", "(", ")", ";", "if", "(", "NumElts", "==", "2", ")", "return", "true", ";", "if", "(", "NumElts", "==", "4", "&&", "VT", ".", "getSizeInBits", "(", ")", "==", "128", ")", "{", "return", "(", "isMOVLMask", "(", "Mask", ",", "VT", ")", "||", "isCommutedMOVLMask", "(", "Mask", ",", "VT", ",", "true", ")", "||", "isSHUFPMask", "(", "Mask", ",", "VT", ")", "||", "isCommutedSHUFPMask", "(", "Mask", ",", "VT", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Similar", "to", "isShuffleMaskLegal", "."], "TS_V_token": ["X86", "X86", "2", "4", "128"], "File": "X86ISelLowering77", "Func": "isVectorClearMaskLegal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9145, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_reduc", "(", "rtx", "(", "*", "fn", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ",", "rtx", "dest", ",", "rtx", "in", ")", "{", "rtx", "half", ",", "dst", ",", "vec", "=", "in", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "in", ")", ";", "int", "i", ";", "if", "(", "TARGET_SSE4_1", "&&", "mode", "==", "V8HImode", "&&", "fn", "==", "gen_uminv8hi3", ")", "{", "emit_insn", "(", "gen_sse4_1_phminposuw", "(", "dest", ",", "in", ")", ")", ";", "return", ";", "}", "for", "(", "i", "=", "GET_MODE_BITSIZE", "(", "mode", ")", ";", "i", ">", "GET_MODE_UNIT_BITSIZE", "(", "mode", ")", ";", "i", ">>=", "1", ")", "{", "half", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_reduc_half", "(", "half", ",", "vec", ",", "i", ")", ";", "if", "(", "i", "==", "GET_MODE_UNIT_BITSIZE", "(", "mode", ")", "*", "2", ")", "dst", "=", "dest", ";", "else", "dst", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "fn", "(", "dst", ",", "half", ",", "vec", ")", ")", ";", "vec", "=", "dst", ";", "}", "}", ""], "natrual_language": ["Expand", "a", "vector", "reduction", ".", "FN", "is", "the", "binary", "pattern", "to", "reduce", ";", "DEST", "is", "the", "destination", ";", "IN", "is", "the", "input", "vector", "."], "TS_V_token": ["i386", "1", "2"], "File": "i386-expand", "Func": "ix86_expand_reduc", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9146, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_vector_mode_supported_p", "(", "enum", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "V2SFmode", ":", "return", "TARGET_PAIRED_SINGLE_FLOAT", ";", "case", "V2HImode", ":", "case", "V4QImode", ":", "return", "TARGET_DSP", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Target", "hook", "for", "vector_mode_supported_p", "."], "TS_V_token": ["mips"], "File": "mips3", "Func": "mips_vector_mode_supported_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9147, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isLegalAddressingMode", "(", "const", "AddrMode", "&", "AM", ",", "const", "Type", "*", "Ty", ")", "const", "{", "if", "(", "!", "isLegalAddressImmediate", "(", "AM", ".", "BaseOffs", ",", "getValueType", "(", "Ty", ",", "true", ")", ",", "Subtarget", ")", ")", "return", "false", ";", "if", "(", "AM", ".", "BaseGV", ")", "return", "false", ";", "switch", "(", "AM", ".", "Scale", ")", "{", "case", "0", ":", "break", ";", "case", "1", ":", "if", "(", "Subtarget", "->", "isThumb", "(", ")", ")", "return", "false", ";", "default", ":", "if", "(", "AM", ".", "BaseOffs", ")", "return", "false", ";", "int", "Scale", "=", "AM", ".", "Scale", ";", "switch", "(", "getValueType", "(", "Ty", ")", ".", "getSimpleVT", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "MVT", "::", "i1", ":", "case", "MVT", "::", "i8", ":", "case", "MVT", "::", "i32", ":", "case", "MVT", "::", "i64", ":", "if", "(", "Scale", "<", "0", ")", "Scale", "=", "-", "Scale", ";", "if", "(", "Scale", "==", "1", ")", "return", "true", ";", "return", "isPowerOf2_32", "(", "Scale", "&", "~", "1", ")", ";", "case", "MVT", "::", "i16", ":", "if", "(", "(", "(", "unsigned", ")", "AM", ".", "HasBaseReg", "+", "Scale", ")", "<=", "2", ")", "return", "true", ";", "return", "false", ";", "case", "MVT", "::", "isVoid", ":", "if", "(", "AM", ".", "Scale", "&", "1", ")", "return", "false", ";", "return", "isPowerOf2_32", "(", "AM", ".", "Scale", ")", ";", "}", "break", ";", "}", "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": ["ARM", "ARM", "0", "1", "MVT::i1", "MVT::i8", "MVT::i32", "MVT::i64", "0", "1", "1", "MVT::i16", "2", "MVT::isVoid", "1"], "File": "ARMISelLowering124", "Func": "isLegalAddressingMode", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9148, "Length": 216, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86DAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "OptForSize", "=", "MF", "->", "getFunction", "(", ")", "->", "getFnAttributes", "(", ")", ".", "hasOptimizeForSizeAttr", "(", ")", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "I", "++", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", "||", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "TC_RETURN", ")", ")", "{", "bool", "HasCallSeq", "=", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", ";", "SDValue", "Chain", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Load", "=", "N", "->", "getOperand", "(", "1", ")", ";", "if", "(", "!", "isCalleeLoad", "(", "Load", ",", "Chain", ",", "HasCallSeq", ")", ")", "continue", ";", "MoveBelowOrigChain", "(", "CurDAG", ",", "Load", ",", "SDValue", "(", "N", ",", "0", ")", ",", "Chain", ")", ";", "++", "NumLoadMoved", ";", "continue", ";", "}", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_ROUND", "&&", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "EVT", "SrcVT", "=", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", ";", "EVT", "DstVT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "if", "(", "SrcVT", ".", "isVector", "(", ")", "||", "DstVT", ".", "isVector", "(", ")", ")", "continue", ";", "bool", "SrcIsSSE", "=", "X86Lowering", ".", "isScalarFPTypeInSSEReg", "(", "SrcVT", ")", ";", "bool", "DstIsSSE", "=", "X86Lowering", ".", "isScalarFPTypeInSSEReg", "(", "DstVT", ")", ";", "if", "(", "SrcIsSSE", "&&", "DstIsSSE", ")", "continue", ";", "if", "(", "!", "SrcIsSSE", "&&", "!", "DstIsSSE", ")", "{", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "if", "(", "N", "->", "getConstantOperandVal", "(", "1", ")", ")", "continue", ";", "}", "EVT", "MemVT", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_ROUND", ")", "MemVT", "=", "DstVT", ";", "else", "MemVT", "=", "SrcIsSSE", "?", "SrcVT", ":", "DstVT", ";", "SDValue", "MemTmp", "=", "CurDAG", "->", "CreateStackTemporary", "(", "MemVT", ")", ";", "DebugLoc", "dl", "=", "N", "->", "getDebugLoc", "(", ")", ";", "SDValue", "Store", "=", "CurDAG", "->", "getTruncStore", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "dl", ",", "N", "->", "getOperand", "(", "0", ")", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "SDValue", "Result", "=", "CurDAG", "->", "getExtLoad", "(", "ISD", "::", "EXTLOAD", ",", "dl", ",", "DstVT", ",", "Store", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "--", "I", ";", "CurDAG", "->", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "0", ")", ",", "Result", ")", ";", "++", "I", ";", "CurDAG", "->", "DeleteNode", "(", "N", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["X86", "X86", "X86ISD::CALL", "X86ISD::TC_RETURN", "X86ISD::CALL", "0", "1", "0", "ISD::FP_ROUND", "ISD::FP_EXTEND", "0", "0", "X86", "X86", "ISD::FP_EXTEND", "1", "ISD::FP_ROUND", "0", "0", "ISD::EXTLOAD", "0", "0"], "File": "X86ISelDAGToDAG71", "Func": "PreprocessISelDAG", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9149, "Length": 429, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "TargetRegisterClass", "*", "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", "MVT::Untyped", "Mips::ACC64DSPRegClass", "Mips::ACC64RegClass"], "File": "MipsSEISelLowering20", "Func": "getRepRegClassFor", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9150, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ")", "{", "size_t", "Dot", "=", "Name", ".", "find", "(", "'.'", ")", ";", "StringRef", "Mnemonic", "=", "Name", ".", "slice", "(", "0", ",", "Dot", ")", ";", "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", ")", ";", "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", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["PowerPC", "PPC", "0", "PPC", "PPC", "PPC", "PPC"], "File": "PPCAsmParser45", "Func": "ParseInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9151, "Length": 196, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCFrameLowering", "::", "enableShrinkWrapping", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "will", "correctly", "handle", "shrink", "wrapping", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCFrameLowering58", "Func": "enableShrinkWrapping", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9152, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcELFTargetObjectFile", "::", "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": ["Sparc", "Sparc"], "File": "SparcTargetObjectFile1", "Func": "Initialize", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9153, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_darwin64_record_arg_advance_recurse", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "const_tree", "type", ",", "HOST_WIDE_INT", "startbitpos", ")", "{", "tree", "f", ";", "for", "(", "f", "=", "TYPE_FIELDS", "(", "type", ")", ";", "f", ";", "f", "=", "DECL_CHAIN", "(", "f", ")", ")", "if", "(", "TREE_CODE", "(", "f", ")", "==", "FIELD_DECL", ")", "{", "HOST_WIDE_INT", "bitpos", "=", "startbitpos", ";", "tree", "ftype", "=", "TREE_TYPE", "(", "f", ")", ";", "machine_mode", "mode", ";", "if", "(", "ftype", "==", "error_mark_node", ")", "continue", ";", "mode", "=", "TYPE_MODE", "(", "ftype", ")", ";", "if", "(", "DECL_SIZE", "(", "f", ")", "!=", "0", "&&", "tree_fits_uhwi_p", "(", "bit_position", "(", "f", ")", ")", ")", "bitpos", "+=", "int_bit_position", "(", "f", ")", ";", "if", "(", "TREE_CODE", "(", "ftype", ")", "==", "RECORD_TYPE", ")", "rs6000_darwin64_record_arg_advance_recurse", "(", "cum", ",", "ftype", ",", "bitpos", ")", ";", "else", "if", "(", "USE_FP_FOR_ARG_P", "(", "cum", ",", "mode", ")", ")", "{", "unsigned", "n_fpregs", "=", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "7", ")", ">>", "3", ";", "rs6000_darwin64_record_arg_advance_flush", "(", "cum", ",", "bitpos", ",", "0", ")", ";", "cum", "->", "fregno", "+=", "n_fpregs", ";", "if", "(", "mode", "==", "SFmode", ")", "{", "if", "(", "cum", "->", "floats_in_gpr", "==", "1", ")", "{", "cum", "->", "words", "++", ";", "cum", "->", "floats_in_gpr", "=", "0", ";", "}", "else", "if", "(", "bitpos", "%", "64", "==", "0", ")", "{", "cum", "->", "floats_in_gpr", "++", ";", "}", "else", "{", "}", "}", "else", "cum", "->", "words", "+=", "n_fpregs", ";", "}", "else", "if", "(", "USE_ALTIVEC_FOR_ARG_P", "(", "cum", ",", "mode", ",", "1", ")", ")", "{", "rs6000_darwin64_record_arg_advance_flush", "(", "cum", ",", "bitpos", ",", "0", ")", ";", "cum", "->", "vregno", "++", ";", "cum", "->", "words", "+=", "2", ";", "}", "else", "if", "(", "cum", "->", "intoffset", "==", "-", "1", ")", "cum", "->", "intoffset", "=", "bitpos", ";", "}", "}", ""], "natrual_language": ["The", "darwin64", "ABI", "calls", "for", "us", "to", "recurse", "down", "through", "structs", ",", "looking", "for", "elements", "passed", "in", "registers", ".", "Unfortunately", ",", "we", "have", "to", "track", "int", "register", "count", "here", "also", "because", "of", "misalignments", "in", "powerpc", "alignment", "mode", "."], "TS_V_token": ["powerpcspe", "0", "7", "3", "0", "1", "0", "64", "0", "1", "0", "2", "1"], "File": "powerpcspe", "Func": "rs6000_darwin64_record_arg_advance_recurse", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9154, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "sparc_compute_frame_size", "(", "HOST_WIDE_INT", "size", ",", "int", "leaf_function", ")", "{", "HOST_WIDE_INT", "frame_size", ",", "apparent_frame_size", ";", "int", "args_size", ",", "n_global_fp_regs", "=", "0", ";", "bool", "save_local_in_regs_p", "=", "false", ";", "unsigned", "int", "i", ";", "if", "(", "leaf_function", "&&", "!", "cfun", "->", "calls_alloca", ")", "args_size", "=", "0", ";", "else", "args_size", "=", "crtl", "->", "outgoing_args_size", "+", "REG_PARM_STACK_SPACE", "(", "cfun", "->", "decl", ")", ";", "if", "(", "TARGET_ARCH64", ")", "{", "for", "(", "i", "=", "0", ";", "i", "<", "8", ";", "i", "++", ")", "if", "(", "save_global_or_fp_reg_p", "(", "i", ",", "0", ")", ")", "n_global_fp_regs", "+=", "2", ";", "}", "else", "{", "for", "(", "i", "=", "0", ";", "i", "<", "8", ";", "i", "+=", "2", ")", "if", "(", "save_global_or_fp_reg_p", "(", "i", ",", "0", ")", "||", "save_global_or_fp_reg_p", "(", "i", "+", "1", ",", "0", ")", ")", "n_global_fp_regs", "+=", "2", ";", "}", "if", "(", "TARGET_FLAT", ")", "for", "(", "i", "=", "16", ";", "i", "<", "32", ";", "i", "++", ")", "if", "(", "save_local_or_in_reg_p", "(", "i", ",", "leaf_function", ")", ")", "{", "save_local_in_regs_p", "=", "true", ";", "break", ";", "}", "for", "(", "i", "=", "32", ";", "i", "<", "(", "TARGET_V9", "?", "96", ":", "64", ")", ";", "i", "+=", "2", ")", "if", "(", "save_global_or_fp_reg_p", "(", "i", ",", "0", ")", "||", "save_global_or_fp_reg_p", "(", "i", "+", "1", ",", "0", ")", ")", "n_global_fp_regs", "+=", "2", ";", "if", "(", "size", "==", "0", "&&", "n_global_fp_regs", "==", "0", "&&", "args_size", "==", "0", "&&", "!", "save_local_in_regs_p", ")", "frame_size", "=", "apparent_frame_size", "=", "0", ";", "else", "{", "apparent_frame_size", "=", "ROUND_UP", "(", "size", "-", "STARTING_FRAME_OFFSET", ",", "8", ")", ";", "apparent_frame_size", "+=", "n_global_fp_regs", "*", "4", ";", "frame_size", "=", "apparent_frame_size", "+", "ROUND_UP", "(", "args_size", ",", "8", ")", ";", "frame_size", "+=", "FIRST_PARM_OFFSET", "(", "cfun", "->", "decl", ")", ";", "frame_size", "=", "SPARC_STACK_ALIGN", "(", "frame_size", ")", ";", "}", "sparc_frame_size", "=", "frame_size", ";", "sparc_apparent_frame_size", "=", "apparent_frame_size", ";", "sparc_n_global_fp_regs", "=", "n_global_fp_regs", ";", "sparc_save_local_in_regs_p", "=", "save_local_in_regs_p", ";", "return", "frame_size", ";", "}", ""], "natrual_language": ["Compute", "the", "frame", "size", "required", "by", "the", "function", ".", "This", "function", "is", "called", "during", "the", "reload", "pass", "and", "also", "by", "sparc_expand_prologue", "."], "TS_V_token": ["sparc", "0", "0", "0", "8", "0", "2", "0", "8", "2", "0", "1", "0", "2", "16", "32", "32", "96", "64", "2", "0", "1", "0", "2", "0", "0", "0", "0", "8", "4", "8"], "File": "sparc5", "Func": "sparc_compute_frame_size", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9155, "Length": 295, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isToken", "(", ")", "const", "override", "{", "return", "Kind", "==", "k_Token", ";", "}", ""], "natrual_language": ["isToken", "-", "Is", "this", "a", "token", "operand", "?"], "TS_V_token": ["MINA32"], "File": "MINA32AsmParser", "Func": "isToken", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9156, "Length": 13, "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", "]", ")", "{", "if", "(", "ExtraCode", "[", "1", "]", "!=", "0", ")", "return", "true", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "default", ":", "return", "true", ";", "case", "'y'", ":", "{", "const", "char", "*", "RegName", "=", "\"r0\"", ";", "if", "(", "!", "Subtarget", "->", "isDarwin", "(", ")", ")", "RegName", "=", "PPCRegisterInfo", "::", "stripRegisterPrefix", "(", "RegName", ")", ";", "O", "<<", "RegName", "<<", "\", \"", ";", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "}", "case", "'U'", ":", "case", "'X'", ":", "{", "assert", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isReg", "(", ")", ")", ";", "return", "false", ";", "}", "}", "}", "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", "1", "0", "0", "\"r0\"", "PPC", "\", \"", "\"0(\"", "\")\""], "File": "PPCAsmPrinter108", "Func": "PrintAsmMemoryOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9157, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_issue_rate", "(", "void", ")", "{", "switch", "(", "ix86_tune", ")", "{", "case", "PROCESSOR_PENTIUM", ":", "case", "PROCESSOR_K6", ":", "return", "2", ";", "case", "PROCESSOR_PENTIUMPRO", ":", "case", "PROCESSOR_PENTIUM4", ":", "case", "PROCESSOR_ATHLON", ":", "case", "PROCESSOR_K8", ":", "case", "PROCESSOR_NOCONA", ":", "return", "3", ";", "default", ":", "return", "1", ";", "}", "}", ""], "natrual_language": ["Return", "the", "maximum", "number", "of", "instructions", "a", "cpu", "can", "issue", "."], "TS_V_token": ["i386", "2", "3", "1"], "File": "i3863", "Func": "ix86_issue_rate", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9158, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 Optimize Call Frame\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 Optimize Call Frame\""], "File": "X86CallFrameOptimization11", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9159, "Length": 13, "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": ["SHUXI"], "File": "SHUXIAsmBackend", "Func": "fixupNeedsRelaxation", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9160, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "AArch64TargetLowering", "::", "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": ["AArch64", "AArch64", "MVT::i32"], "File": "AArch64ISelLowering123", "Func": "getSetCCResultType", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9161, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LC3bAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LC3bFI", "=", "MF", ".", "getInfo", "<", "LC3bFunctionInfo", ">", "(", ")", ";", "AsmPrinter", "::", "runOnMachineFunction", "(", "MF", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["LC3b", "LC3b", "LC3b", "LC3b"], "File": "LC3bAsmPrinter", "Func": "runOnMachineFunction", "Target": "LC3b", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9162, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "VETargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "case", "VEISD", "::", "NAME", ":", "\\", "return", "\"VEISD::\"", "#", "NAME", ";", "switch", "(", "(", "VEISD", "::", "NodeType", ")", "Opcode", ")", "{", "case", "VEISD", "::", "FIRST_NUMBER", ":", "break", ";", "TARGET_NODE_CASE", "(", "CALL", ")", "TARGET_NODE_CASE", "(", "EH_SJLJ_LONGJMP", ")", "TARGET_NODE_CASE", "(", "EH_SJLJ_SETJMP", ")", "TARGET_NODE_CASE", "(", "EH_SJLJ_SETUP_DISPATCH", ")", "TARGET_NODE_CASE", "(", "GETFUNPLT", ")", "TARGET_NODE_CASE", "(", "GETSTACKTOP", ")", "TARGET_NODE_CASE", "(", "GETTLSADDR", ")", "TARGET_NODE_CASE", "(", "GLOBAL_BASE_REG", ")", "TARGET_NODE_CASE", "(", "Hi", ")", "TARGET_NODE_CASE", "(", "Lo", ")", "TARGET_NODE_CASE", "(", "MEMBARRIER", ")", "TARGET_NODE_CASE", "(", "RET_FLAG", ")", "TARGET_NODE_CASE", "(", "TS1AM", ")", "TARGET_NODE_CASE", "(", "VEC_BROADCAST", ")", "TARGET_NODE_CASE", "(", "REPL_I32", ")", "TARGET_NODE_CASE", "(", "REPL_F32", ")", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["VE", "VE", "VEISD::NAME", "\"VEISD::\"", "VEISD::NodeType", "VEISD::FIRST_NUMBER", "VE"], "File": "VEISelLowering18", "Func": "getTargetNodeName", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9163, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb2SizeReduce", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "PredicateFtor", "&&", "!", "PredicateFtor", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "STI", "=", "&", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "if", "(", "STI", "->", "isThumb1Only", "(", ")", "||", "STI", "->", "prefers32BitThumb", "(", ")", ")", "return", "false", ";", "TII", "=", "static_cast", "<", "const", "Thumb2InstrInfo", "*", ">", "(", "STI", "->", "getInstrInfo", "(", ")", ")", ";", "OptimizeSize", "=", "MF", ".", "getFunction", "(", ")", ".", "optForSize", "(", ")", ";", "MinimizeSize", "=", "MF", ".", "getFunction", "(", ")", ".", "optForMinSize", "(", ")", ";", "BlockInfo", ".", "clear", "(", ")", ";", "BlockInfo", ".", "resize", "(", "MF", ".", "getNumBlockIDs", "(", ")", ")", ";", "ReversePostOrderTraversal", "<", "MachineFunction", "*", ">", "RPOT", "(", "&", "MF", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "ReversePostOrderTraversal", "<", "MachineFunction", "*", ">", "::", "rpo_iterator", "I", "=", "RPOT", ".", "begin", "(", ")", ",", "E", "=", "RPOT", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Modified", "|=", "ReduceMBB", "(", "*", "*", "I", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM"], "File": "Thumb2SizeReduction18", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9164, "Length": 179, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMem", "(", ")", "const", "override", "{", "return", "Kind", "==", "k_Memory", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["ARM"], "File": "ARMAsmParser (2)", "Func": "isMem", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9165, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "X86Subtarget", "::", "classifyGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "const", "Module", "&", "M", ")", "const", "{", "if", "(", "GV", "&&", "!", "GV", "->", "hasInternalLinkage", "(", ")", "&&", "!", "GV", "->", "hasPrivateLinkage", "(", ")", ")", "{", "if", "(", "!", "dyn_cast_or_null", "<", "Function", ">", "(", "GV", ")", "&&", "!", "GV", "->", "isThreadDependent", "(", ")", "&&", "!", "GV", "->", "isThreadLocal", "(", ")", ")", "{", "return", "X86II", "::", "MO_DLLIMPORT", ";", "}", "}", "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", ";", "}", "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_DLLIMPORT", "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_GOT"], "File": "X86Subtarget7", "Func": "classifyGlobalReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9166, "Length": 261, "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": 9167, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "PPCInstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCTargetMachine", "Func": "getInstrInfo", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9168, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "materializeFrameBaseRegister", "(", "MachineBasicBlock", "*", "MBB", ",", "unsigned", "BaseReg", ",", "int", "FrameIdx", ",", "int64_t", "Offset", ")", "const", "{", "ARMFunctionInfo", "*", "AFI", "=", "MBB", "->", "getParent", "(", ")", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "unsigned", "ADDriOpc", "=", "!", "AFI", "->", "isThumbFunction", "(", ")", "?", "ARM", "::", "ADDri", ":", "(", "AFI", "->", "isThumb1OnlyFunction", "(", ")", "?", "ARM", "::", "tADDrSPi", ":", "ARM", "::", "t2ADDri", ")", ";", "MachineBasicBlock", "::", "iterator", "Ins", "=", "MBB", "->", "begin", "(", ")", ";", "DebugLoc", "DL", ";", "if", "(", "Ins", "!=", "MBB", "->", "end", "(", ")", ")", "DL", "=", "Ins", "->", "getDebugLoc", "(", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", "->", "getParent", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MBB", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "TII", ".", "get", "(", "ADDriOpc", ")", ";", "MRI", ".", "constrainRegClass", "(", "BaseReg", ",", "TII", ".", "getRegClass", "(", "MCID", ",", "0", ",", "this", ",", "MF", ")", ")", ";", "MachineInstrBuilder", "MIB", "=", "AddDefaultPred", "(", "BuildMI", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "MCID", ",", "BaseReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "Offset", ")", ")", ";", "if", "(", "!", "AFI", "->", "isThumb1OnlyFunction", "(", ")", ")", "AddDefaultCC", "(", "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", "0"], "File": "ARMBaseRegisterInfo15", "Func": "materializeFrameBaseRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9169, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_expand_builtin_msa_test_branch", "(", "enum", "insn_code", "icode", ",", "tree", "exp", ")", "{", "struct", "expand_operand", "ops", "[", "3", "]", ";", "rtx_insn", "*", "cbranch", ";", "rtx_code_label", "*", "true_label", ",", "*", "done_label", ";", "rtx", "cmp_result", ";", "true_label", "=", "gen_label_rtx", "(", ")", ";", "done_label", "=", "gen_label_rtx", "(", ")", ";", "create_input_operand", "(", "&", "ops", "[", "0", "]", ",", "true_label", ",", "TYPE_MODE", "(", "TREE_TYPE", "(", "exp", ")", ")", ")", ";", "mips_prepare_builtin_arg", "(", "&", "ops", "[", "1", "]", ",", "exp", ",", "0", ")", ";", "create_fixed_operand", "(", "&", "ops", "[", "2", "]", ",", "const0_rtx", ")", ";", "if", "(", "GET_CODE", "(", "ops", "[", "1", "]", ".", "value", ")", "!=", "REG", ")", "ops", "[", "1", "]", ".", "value", "=", "force_reg", "(", "ops", "[", "1", "]", ".", "mode", ",", "ops", "[", "1", "]", ".", "value", ")", ";", "if", "(", "(", "cbranch", "=", "maybe_gen_insn", "(", "icode", ",", "3", ",", "ops", ")", ")", "==", "NULL_RTX", ")", "error", "(", "\"failed to expand built-in function\"", ")", ";", "cmp_result", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "mips_emit_move", "(", "cmp_result", ",", "const0_rtx", ")", ";", "emit_jump_insn", "(", "cbranch", ")", ";", "emit_jump_insn", "(", "gen_jump", "(", "done_label", ")", ")", ";", "emit_barrier", "(", ")", ";", "emit_label", "(", "true_label", ")", ";", "mips_emit_move", "(", "cmp_result", ",", "const1_rtx", ")", ";", "emit_label", "(", "done_label", ")", ";", "return", "cmp_result", ";", "}", ""], "natrual_language": ["Expand", "an", "MSA", "built-in", "for", "a", "compare", "and", "branch", "instruction", "specified", "by", "ICODE", ",", "set", "a", "general-purpose", "register", "to", "1", "if", "the", "branch", "was", "taken", ",", "0", "otherwise", "."], "TS_V_token": ["mips", "3", "0", "1", "0", "2", "1", "1", "1", "1", "3", "\"failed to expand built-in function\""], "File": "mips", "Func": "mips_expand_builtin_msa_test_branch", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9170, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "EVT", "getSetCCResultType", "(", "EVT", "VT", ")", "const", "{", "return", "MVT", "::", "i32", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["SystemZ", "MVT::i32"], "File": "SystemZISelLowering36", "Func": "getSetCCResultType", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9171, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_find_max_used_stack_alignment", "(", "unsigned", "int", "&", "stack_alignment", ",", "bool", "check_stack_slot", ")", "{", "HARD_REG_SET", "set_up_by_prologue", ",", "prologue_used", ";", "basic_block", "bb", ";", "CLEAR_HARD_REG_SET", "(", "prologue_used", ")", ";", "CLEAR_HARD_REG_SET", "(", "set_up_by_prologue", ")", ";", "add_to_hard_reg_set", "(", "&", "set_up_by_prologue", ",", "Pmode", ",", "STACK_POINTER_REGNUM", ")", ";", "add_to_hard_reg_set", "(", "&", "set_up_by_prologue", ",", "Pmode", ",", "ARG_POINTER_REGNUM", ")", ";", "add_to_hard_reg_set", "(", "&", "set_up_by_prologue", ",", "Pmode", ",", "HARD_FRAME_POINTER_REGNUM", ")", ";", "if", "(", "stack_alignment", ">", "crtl", "->", "preferred_stack_boundary", ")", "stack_alignment", "=", "crtl", "->", "preferred_stack_boundary", ";", "bool", "require_stack_frame", "=", "false", ";", "FOR_EACH_BB_FN", "(", "bb", ",", "cfun", ")", "{", "rtx_insn", "*", "insn", ";", "FOR_BB_INSNS", "(", "bb", ",", "insn", ")", "if", "(", "NONDEBUG_INSN_P", "(", "insn", ")", "&&", "requires_stack_frame_p", "(", "insn", ",", "prologue_used", ",", "set_up_by_prologue", ")", ")", "{", "require_stack_frame", "=", "true", ";", "if", "(", "check_stack_slot", ")", "{", "subrtx_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX", "(", "iter", ",", "array", ",", "PATTERN", "(", "insn", ")", ",", "ALL", ")", "if", "(", "MEM_P", "(", "*", "iter", ")", "&&", "(", "reg_mentioned_p", "(", "stack_pointer_rtx", ",", "*", "iter", ")", "||", "reg_mentioned_p", "(", "frame_pointer_rtx", ",", "*", "iter", ")", ")", ")", "{", "unsigned", "int", "alignment", "=", "MEM_ALIGN", "(", "*", "iter", ")", ";", "if", "(", "alignment", ">", "stack_alignment", ")", "stack_alignment", "=", "alignment", ";", "}", "}", "}", "}", "cfun", "->", "machine", "->", "stack_frame_required", "=", "require_stack_frame", ";", "}", ""], "natrual_language": ["Return", "true", "if", "stack", "frame", "is", "required", ".", "Update", "STACK_ALIGNMENT", "to", "the", "largest", "alignment", ",", "in", "bits", ",", "of", "stack", "slot", "used", "if", "stack", "frame", "is", "required", "and", "CHECK_STACK_SLOT", "is", "true", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_find_max_used_stack_alignment", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9172, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCAIXAsmPrinter", "::", "emitXXStructorList", "(", "const", "DataLayout", "&", "DL", ",", "const", "Constant", "*", "List", ",", "bool", "IsCtor", ")", "{", "SmallVector", "<", "Structor", ",", "8", ">", "Structors", ";", "preprocessXXStructorList", "(", "DL", ",", "List", ",", "Structors", ")", ";", "if", "(", "Structors", ".", "empty", "(", ")", ")", "return", ";", "unsigned", "Index", "=", "0", ";", "for", "(", "Structor", "&", "S", ":", "Structors", ")", "{", "if", "(", "S", ".", "Priority", "!=", "65535", ")", "report_fatal_error", "(", "\"prioritized sinit and sterm functions are not yet supported on AIX\"", ")", ";", "llvm", "::", "GlobalAlias", "::", "create", "(", "GlobalValue", "::", "ExternalLinkage", ",", "(", "IsCtor", "?", "llvm", "::", "Twine", "(", "\"__sinit\"", ")", ":", "llvm", "::", "Twine", "(", "\"__sterm\"", ")", ")", "+", "llvm", "::", "Twine", "(", "\"80000000_\"", ",", "FormatIndicatorAndUniqueModId", ")", "+", "llvm", "::", "Twine", "(", "\"_\"", ",", "llvm", "::", "utostr", "(", "Index", "++", ")", ")", ",", "cast", "<", "Function", ">", "(", "S", ".", "Func", ")", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "emits", "llvm.global_ctors", "or", "llvm.global_dtors", "list", "."], "TS_V_token": ["PowerPC", "PPC", "8", "0", "65535", "\"prioritized sinit and sterm functions are not yet supported on AIX\"", "\"__sinit\"", "\"__sterm\"", "\"80000000_\"", "\"_\""], "File": "PPCAsmPrinter109", "Func": "emitXXStructorList", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9173, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64AsmPrinter", "::", "emitJumpTableInfo", "(", ")", "{", "const", "MachineJumpTableInfo", "*", "MJTI", "=", "MF", "->", "getJumpTableInfo", "(", ")", ";", "if", "(", "!", "MJTI", ")", "return", ";", "const", "std", "::", "vector", "<", "MachineJumpTableEntry", ">", "&", "JT", "=", "MJTI", "->", "getJumpTables", "(", ")", ";", "if", "(", "JT", ".", "empty", "(", ")", ")", "return", ";", "const", "TargetLoweringObjectFile", "&", "TLOF", "=", "getObjFileLowering", "(", ")", ";", "MCSection", "*", "ReadOnlySec", "=", "TLOF", ".", "getSectionForJumpTable", "(", "MF", "->", "getFunction", "(", ")", ",", "TM", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "ReadOnlySec", ")", ";", "auto", "AFI", "=", "MF", "->", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "for", "(", "unsigned", "JTI", "=", "0", ",", "e", "=", "JT", ".", "size", "(", ")", ";", "JTI", "!=", "e", ";", "++", "JTI", ")", "{", "const", "std", "::", "vector", "<", "MachineBasicBlock", "*", ">", "&", "JTBBs", "=", "JT", "[", "JTI", "]", ".", "MBBs", ";", "if", "(", "JTBBs", ".", "empty", "(", ")", ")", "continue", ";", "unsigned", "Size", "=", "AFI", "->", "getJumpTableEntrySize", "(", "JTI", ")", ";", "emitAlignment", "(", "Align", "(", "Size", ")", ")", ";", "OutStreamer", "->", "emitLabel", "(", "GetJTISymbol", "(", "JTI", ")", ")", ";", "const", "MCSymbol", "*", "BaseSym", "=", "AArch64FI", "->", "getJumpTableEntryPCRelSymbol", "(", "JTI", ")", ";", "const", "MCExpr", "*", "Base", "=", "MCSymbolRefExpr", "::", "create", "(", "BaseSym", ",", "OutContext", ")", ";", "for", "(", "auto", "*", "JTBB", ":", "JTBBs", ")", "{", "const", "MCExpr", "*", "Value", "=", "MCSymbolRefExpr", "::", "create", "(", "JTBB", "->", "getSymbol", "(", ")", ",", "OutContext", ")", ";", "Value", "=", "MCBinaryExpr", "::", "createSub", "(", "Value", ",", "Base", ",", "OutContext", ")", ";", "if", "(", "Size", "!=", "4", ")", "Value", "=", "MCBinaryExpr", "::", "createLShr", "(", "Value", ",", "MCConstantExpr", "::", "create", "(", "2", ",", "OutContext", ")", ",", "OutContext", ")", ";", "OutStreamer", "->", "emitValue", "(", "Value", ",", "Size", ")", ";", "}", "}", "}", ""], "natrual_language": ["Print", "assembly", "representations", "of", "the", "jump", "tables", "used", "by", "the", "current", "function", "to", "the", "current", "output", "stream", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "0", "AArch64", "4", "2"], "File": "AArch64AsmPrinter15", "Func": "emitJumpTableInfo", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9174, "Length": 279, "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": 9175, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Sched", "::", "Preference", "PPCTargetLowering", "::", "getSchedulingPreference", "(", "SDNode", "*", "N", ")", "const", "{", "unsigned", "Directive", "=", "PPCSubTarget", ".", "getDarwinDirective", "(", ")", ";", "if", "(", "Directive", "==", "PPC", "::", "DIR_440", "||", "Directive", "==", "PPC", "::", "DIR_A2", ")", "return", "Sched", "::", "ILP", ";", "return", "TargetLowering", "::", "getSchedulingPreference", "(", "N", ")", ";", "}", ""], "natrual_language": ["Some", "scheduler", ",", "e.g", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::DIR_440", "PPC::DIR_A2"], "File": "PPCISelLowering114", "Func": "getSchedulingPreference", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9176, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TTIImpl", "::", "getTgtMemIntrinsic", "(", "IntrinsicInst", "*", "Inst", ",", "MemIntrinsicInfo", "&", "Info", ")", "{", "switch", "(", "Inst", "->", "getIntrinsicID", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Intrinsic", "::", "aarch64_neon_ld2", ":", "case", "Intrinsic", "::", "aarch64_neon_ld3", ":", "case", "Intrinsic", "::", "aarch64_neon_ld4", ":", "Info", ".", "ReadMem", "=", "true", ";", "Info", ".", "WriteMem", "=", "false", ";", "Info", ".", "PtrVal", "=", "Inst", "->", "getArgOperand", "(", "0", ")", ";", "break", ";", "case", "Intrinsic", "::", "aarch64_neon_st2", ":", "case", "Intrinsic", "::", "aarch64_neon_st3", ":", "case", "Intrinsic", "::", "aarch64_neon_st4", ":", "Info", ".", "ReadMem", "=", "false", ";", "Info", ".", "WriteMem", "=", "true", ";", "Info", ".", "PtrVal", "=", "Inst", "->", "getArgOperand", "(", "Inst", "->", "getNumArgOperands", "(", ")", "-", "1", ")", ";", "break", ";", "}", "switch", "(", "Inst", "->", "getIntrinsicID", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Intrinsic", "::", "aarch64_neon_ld2", ":", "case", "Intrinsic", "::", "aarch64_neon_st2", ":", "Info", ".", "MatchingId", "=", "VECTOR_LDST_TWO_ELEMENTS", ";", "break", ";", "case", "Intrinsic", "::", "aarch64_neon_ld3", ":", "case", "Intrinsic", "::", "aarch64_neon_st3", ":", "Info", ".", "MatchingId", "=", "VECTOR_LDST_THREE_ELEMENTS", ";", "break", ";", "case", "Intrinsic", "::", "aarch64_neon_ld4", ":", "case", "Intrinsic", "::", "aarch64_neon_st4", ":", "Info", ".", "MatchingId", "=", "VECTOR_LDST_FOUR_ELEMENTS", ";", "break", ";", "}", "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": ["AArch64", "AArch64", "Intrinsic::aarch64_neon_ld2", "Intrinsic::aarch64_neon_ld3", "Intrinsic::aarch64_neon_ld4", "0", "Intrinsic::aarch64_neon_st2", "Intrinsic::aarch64_neon_st3", "Intrinsic::aarch64_neon_st4", "1", "Intrinsic::aarch64_neon_ld2", "Intrinsic::aarch64_neon_st2", "Intrinsic::aarch64_neon_ld3", "Intrinsic::aarch64_neon_st3", "Intrinsic::aarch64_neon_ld4", "Intrinsic::aarch64_neon_st4"], "File": "AArch64TargetTransformInfo10", "Func": "getTgtMemIntrinsic", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9177, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mayAlias", "(", "MachineInstr", "&", "MIa", ",", "SmallVectorImpl", "<", "MachineInstr", "*", ">", "&", "MemInsns", ",", "AliasAnalysis", "*", "AA", ")", "{", "for", "(", "MachineInstr", "*", "MIb", ":", "MemInsns", ")", "if", "(", "mayAlias", "(", "MIa", ",", "*", "MIb", ",", "AA", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "this", "instruction", "'s", "memory", "access", "aliases", "the", "memory", "access", "of", "Other", "."], "TS_V_token": ["AArch64"], "File": "AArch64LoadStoreOptimizer11", "Func": "mayAlias", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9178, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "aarch64_build_builtin_va_list", "(", "void", ")", "{", "tree", "va_list_name", ";", "tree", "f_stack", ",", "f_grtop", ",", "f_vrtop", ",", "f_groff", ",", "f_vroff", ";", "va_list_type", "=", "lang_hooks", ".", "types", ".", "make_type", "(", "RECORD_TYPE", ")", ";", "va_list_name", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "TYPE_DECL", ",", "get_identifier", "(", "\"__va_list\"", ")", ",", "va_list_type", ")", ";", "DECL_ARTIFICIAL", "(", "va_list_name", ")", "=", "1", ";", "TYPE_NAME", "(", "va_list_type", ")", "=", "va_list_name", ";", "TYPE_STUB_DECL", "(", "va_list_type", ")", "=", "va_list_name", ";", "f_stack", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"__stack\"", ")", ",", "ptr_type_node", ")", ";", "f_grtop", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"__gr_top\"", ")", ",", "ptr_type_node", ")", ";", "f_vrtop", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"__vr_top\"", ")", ",", "ptr_type_node", ")", ";", "f_groff", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"__gr_offs\"", ")", ",", "integer_type_node", ")", ";", "f_vroff", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"__vr_offs\"", ")", ",", "integer_type_node", ")", ";", "DECL_ARTIFICIAL", "(", "f_stack", ")", "=", "1", ";", "DECL_ARTIFICIAL", "(", "f_grtop", ")", "=", "1", ";", "DECL_ARTIFICIAL", "(", "f_vrtop", ")", "=", "1", ";", "DECL_ARTIFICIAL", "(", "f_groff", ")", "=", "1", ";", "DECL_ARTIFICIAL", "(", "f_vroff", ")", "=", "1", ";", "DECL_FIELD_CONTEXT", "(", "f_stack", ")", "=", "va_list_type", ";", "DECL_FIELD_CONTEXT", "(", "f_grtop", ")", "=", "va_list_type", ";", "DECL_FIELD_CONTEXT", "(", "f_vrtop", ")", "=", "va_list_type", ";", "DECL_FIELD_CONTEXT", "(", "f_groff", ")", "=", "va_list_type", ";", "DECL_FIELD_CONTEXT", "(", "f_vroff", ")", "=", "va_list_type", ";", "TYPE_FIELDS", "(", "va_list_type", ")", "=", "f_stack", ";", "DECL_CHAIN", "(", "f_stack", ")", "=", "f_grtop", ";", "DECL_CHAIN", "(", "f_grtop", ")", "=", "f_vrtop", ";", "DECL_CHAIN", "(", "f_vrtop", ")", "=", "f_groff", ";", "DECL_CHAIN", "(", "f_groff", ")", "=", "f_vroff", ";", "layout_type", "(", "va_list_type", ")", ";", "return", "va_list_type", ";", "}", ""], "natrual_language": ["Implement", "TARGET_BUILD_BUILTIN_VA_LIST", ".", "Return", "the", "type", "to", "use", "as", "__builtin_va_list", ".", "AAPCS64", "\\S", "7.1.4", "requires", "that", "va_list", "be", "a", "typedef", "for", "a", "type", "defined", "as", ":", "struct", "__va_list", "{", "void", "*", "__stack", ";", "void", "*", "__gr_top", ";", "void", "*", "__vr_top", ";", "int", "__gr_offs", ";", "int", "__vr_offs", ";", "}", ";"], "TS_V_token": ["aarch64", "\"__va_list\"", "1", "\"__stack\"", "\"__gr_top\"", "\"__vr_top\"", "\"__gr_offs\"", "\"__vr_offs\"", "1", "1", "1", "1", "1"], "File": "aarch642", "Func": "aarch64_build_builtin_va_list", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9179, "Length": 263, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CSKYAsmParser", "::", "processInstruction", "(", "MCInst", "&", "Inst", ",", "SMLoc", "IDLoc", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ")", "{", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "CSKY", "::", "LDQ32", ":", "case", "CSKY", "::", "STQ32", ":", "if", "(", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "!=", "CSKY", "::", "R4", "||", "Inst", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", "!=", "CSKY", "::", "R7", ")", "{", "return", "Error", "(", "IDLoc", ",", "\"Register sequence is not valid. 'r4-r7' expected\"", ")", ";", "}", "Inst", ".", "setOpcode", "(", "Inst", ".", "getOpcode", "(", ")", "==", "CSKY", "::", "LDQ32", "?", "CSKY", "::", "LDM32", ":", "CSKY", "::", "STM32", ")", ";", "break", ";", "case", "CSKY", "::", "SEXT32", ":", "case", "CSKY", "::", "ZEXT32", ":", "if", "(", "Inst", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "<", "Inst", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ")", "return", "Error", "(", "IDLoc", ",", "\"msb must be greater or equal to lsb\"", ")", ";", "break", ";", "case", "CSKY", "::", "INS32", ":", "if", "(", "Inst", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "<", "Inst", ".", "getOperand", "(", "4", ")", ".", "getImm", "(", ")", ")", "return", "Error", "(", "IDLoc", ",", "\"msb must be greater or equal to lsb\"", ")", ";", "break", ";", "case", "CSKY", "::", "IDLY32", ":", "if", "(", "Inst", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ">", "32", "||", "Inst", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", "<", "0", ")", "return", "Error", "(", "IDLoc", ",", "\"n must be in range [0,32]\"", ")", ";", "break", ";", "case", "CSKY", "::", "ADDC32", ":", "case", "CSKY", "::", "SUBC32", ":", "case", "CSKY", "::", "ADDC16", ":", "case", "CSKY", "::", "SUBC16", ":", "Inst", ".", "erase", "(", "std", "::", "next", "(", "Inst", ".", "begin", "(", ")", ")", ")", ";", "Inst", ".", "erase", "(", "std", "::", "prev", "(", "Inst", ".", "end", "(", ")", ")", ")", ";", "Inst", ".", "insert", "(", "std", "::", "next", "(", "Inst", ".", "begin", "(", ")", ")", ",", "MCOperand", "::", "createReg", "(", "CSKY", "::", "C", ")", ")", ";", "Inst", ".", "insert", "(", "Inst", ".", "end", "(", ")", ",", "MCOperand", "::", "createReg", "(", "CSKY", "::", "C", ")", ")", ";", "break", ";", "case", "CSKY", "::", "CMPNEI32", ":", "case", "CSKY", "::", "CMPNEI16", ":", "case", "CSKY", "::", "CMPNE32", ":", "case", "CSKY", "::", "CMPNE16", ":", "case", "CSKY", "::", "CMPHSI32", ":", "case", "CSKY", "::", "CMPHSI16", ":", "case", "CSKY", "::", "CMPHS32", ":", "case", "CSKY", "::", "CMPHS16", ":", "case", "CSKY", "::", "CMPLTI32", ":", "case", "CSKY", "::", "CMPLTI16", ":", "case", "CSKY", "::", "CMPLT32", ":", "case", "CSKY", "::", "CMPLT16", ":", "case", "CSKY", "::", "BTSTI32", ":", "Inst", ".", "erase", "(", "Inst", ".", "begin", "(", ")", ")", ";", "Inst", ".", "insert", "(", "Inst", ".", "begin", "(", ")", ",", "MCOperand", "::", "createReg", "(", "CSKY", "::", "C", ")", ")", ";", "break", ";", "case", "CSKY", "::", "MVCV32", ":", "Inst", ".", "erase", "(", "std", "::", "next", "(", "Inst", ".", "begin", "(", ")", ")", ")", ";", "Inst", ".", "insert", "(", "Inst", ".", "end", "(", ")", ",", "MCOperand", "::", "createReg", "(", "CSKY", "::", "C", ")", ")", ";", "break", ";", "}", "emitToStreamer", "(", "Out", ",", "Inst", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Process", "a", "single", "instruction", "and", "collect", "debug", "info", "anchors", "."], "TS_V_token": ["CSKY", "CSKY", "CSKY::LDQ32", "CSKY::STQ32", "1", "CSKY::R4", "2", "CSKY::R7", "\"Register sequence is not valid. 'r4-r7' expected\"", "CSKY::LDQ32", "CSKY::LDM32", "CSKY::STM32", "CSKY::SEXT32", "CSKY::ZEXT32", "2", "3", "\"msb must be greater or equal to lsb\"", "CSKY::INS32", "3", "4", "\"msb must be greater or equal to lsb\"", "CSKY::IDLY32", "0", "32", "0", "0", "\"n must be in range [0,32]\"", "CSKY::ADDC32", "CSKY::SUBC32", "CSKY::ADDC16", "CSKY::SUBC16", "CSKY::C", "CSKY::C", "CSKY::CMPNEI32", "CSKY::CMPNEI16", "CSKY::CMPNE32", "CSKY::CMPNE16", "CSKY::CMPHSI32", "CSKY::CMPHSI16", "CSKY::CMPHS32", "CSKY::CMPHS16", "CSKY::CMPLTI32", "CSKY::CMPLTI16", "CSKY::CMPLT32", "CSKY::CMPLT16", "CSKY::BTSTI32", "CSKY::C", "CSKY::MVCV32", "CSKY::C"], "File": "CSKYAsmParser3", "Func": "processInstruction", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9180, "Length": 489, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_builtin_support_vector_misalignment", "(", "machine_mode", "mode", ",", "const_tree", "type", ",", "int", "misalignment", ",", "bool", "is_packed", ")", "{", "if", "(", "TARGET_SIMD", "&&", "STRICT_ALIGNMENT", ")", "{", "if", "(", "optab_handler", "(", "movmisalign_optab", ",", "mode", ")", "==", "CODE_FOR_nothing", ")", "return", "false", ";", "if", "(", "misalignment", "==", "-", "1", ")", "{", "if", "(", "aarch64_simd_vector_alignment_reachable", "(", "type", ",", "is_packed", ")", ")", "{", "int", "element_size", "=", "TREE_INT_CST_LOW", "(", "TYPE_SIZE", "(", "type", ")", ")", ";", "if", "(", "element_size", "!=", "64", ")", "return", "true", ";", "}", "return", "false", ";", "}", "}", "return", "default_builtin_support_vector_misalignment", "(", "mode", ",", "type", ",", "misalignment", ",", "is_packed", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "vector", "misalignment", "factor", "is", "supported", "by", "the", "target", "."], "TS_V_token": ["aarch64", "1", "64"], "File": "aarch644", "Func": "aarch64_builtin_support_vector_misalignment", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9181, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "isProfitableToDupForIfCvt", "(", "MachineBasicBlock", "&", "MBB", ",", "unsigned", "NumCycles", ",", "const", "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": ["PowerPC"], "File": "PPCInstrInfo15", "Func": "isProfitableToDupForIfCvt", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9182, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "ARMBaseRegisterInfo", "::", "getCrossCopyRegClass", "(", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "if", "(", "RC", "==", "&", "ARM", "::", "CCRRegClass", ")", "return", "nullptr", ";", "return", "RC", ";", "}", ""], "natrual_language": ["getCrossCopyRegClass", "-", "Returns", "a", "legal", "register", "class", "to", "copy", "a", "register", "in", "the", "specified", "class", "to", "or", "from", "."], "TS_V_token": ["ARM", "ARM", "ARM::CCRRegClass"], "File": "ARMBaseRegisterInfo15", "Func": "getCrossCopyRegClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9183, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "recombine_stvx_pattern", "(", "rtx_insn", "*", "insn", ",", "del_info", "*", "to_delete", ")", "{", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "body", ")", "==", "SET", "&&", "MEM_P", "(", "SET_DEST", "(", "body", ")", ")", "&&", "(", "GET_CODE", "(", "SET_SRC", "(", "body", ")", ")", "==", "VEC_SELECT", "||", "pattern_is_rotate64", "(", "body", ")", ")", ")", ";", "rtx", "mem", "=", "SET_DEST", "(", "body", ")", ";", "rtx", "base_reg", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "auto_vec", "<", "rtx_insn", "*", ">", "and_insns", ";", "auto_vec", "<", "rtx", ">", "and_ops", ";", "bool", "is_any_def_and", "=", "find_alignment_op", "(", "insn", ",", "base_reg", ",", "&", "and_insns", ",", "&", "and_ops", ")", ";", "if", "(", "is_any_def_and", ")", "{", "gcc_assert", "(", "and_insns", ".", "length", "(", ")", "==", "and_ops", ".", "length", "(", ")", ")", ";", "rtx", "src_reg", "=", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ";", "df_ref", "src_use", ";", "struct", "df_insn_info", "*", "insn_info", "=", "DF_INSN_INFO_GET", "(", "insn", ")", ";", "FOR_EACH_INSN_INFO_USE", "(", "src_use", ",", "insn_info", ")", "{", "if", "(", "!", "rtx_equal_p", "(", "DF_REF_REG", "(", "src_use", ")", ",", "src_reg", ")", ")", "continue", ";", "struct", "df_link", "*", "link", "=", "DF_REF_CHAIN", "(", "src_use", ")", ";", "if", "(", "!", "link", "||", "link", "->", "next", ")", "break", ";", "rtx_insn", "*", "swap_insn", "=", "DF_REF_INSN", "(", "link", "->", "ref", ")", ";", "if", "(", "!", "insn_is_swap_p", "(", "swap_insn", ")", "||", "insn_is_load_p", "(", "swap_insn", ")", "||", "insn_is_store_p", "(", "swap_insn", ")", ")", "break", ";", "to_delete", "[", "INSN_UID", "(", "swap_insn", ")", "]", ".", "replace", "=", "true", ";", "to_delete", "[", "INSN_UID", "(", "swap_insn", ")", "]", ".", "replace_insn", "=", "swap_insn", ";", "rtx", "new_reg", "=", "0", ";", "rtx", "and_mask", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "and_insns", ".", "length", "(", ")", ";", "i", "++", ")", "{", "rtx_insn", "*", "and_insn", "=", "and_insns", "[", "i", "]", ";", "rtx", "and_op", "=", "and_ops", "[", "i", "]", ";", "rtx", "and_base", "=", "XEXP", "(", "and_op", ",", "0", ")", ";", "if", "(", "!", "new_reg", ")", "{", "new_reg", "=", "gen_reg_rtx", "(", "GET_MODE", "(", "and_base", ")", ")", ";", "and_mask", "=", "XEXP", "(", "and_op", ",", "1", ")", ";", "}", "rtx", "copy", "=", "gen_rtx_SET", "(", "new_reg", ",", "and_base", ")", ";", "rtx_insn", "*", "new_insn", "=", "emit_insn_after", "(", "copy", ",", "and_insn", ")", ";", "set_block_for_insn", "(", "new_insn", ",", "BLOCK_FOR_INSN", "(", "and_insn", ")", ")", ";", "df_insn_rescan", "(", "new_insn", ")", ";", "}", "XEXP", "(", "mem", ",", "0", ")", "=", "gen_rtx_AND", "(", "GET_MODE", "(", "new_reg", ")", ",", "new_reg", ",", "and_mask", ")", ";", "SET_SRC", "(", "body", ")", "=", "src_reg", ";", "INSN_CODE", "(", "insn", ")", "=", "-", "1", ";", "df_insn_rescan", "(", "insn", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"stvx opportunity found at %d\\n\"", ",", "INSN_UID", "(", "insn", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["If", "INSN", "is", "the", "store", "for", "an", "stvx", "pattern", ",", "put", "it", "in", "canonical", "form", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "0", "0", "1", "0", "1", "\"stvx opportunity found at %d\\n\""], "File": "rs6000-p8swap", "Func": "recombine_stvx_pattern", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9184, "Length": 424, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isThroughputPattern", "(", "MachineCombinerPattern", "Pattern", ")", "const", "{", "switch", "(", "Pattern", ")", "{", "default", ":", "break", ";", "case", "MachineCombinerPattern", "::", "FMULADDS_OP1", ":", "case", "MachineCombinerPattern", "::", "FMULADDS_OP2", ":", "case", "MachineCombinerPattern", "::", "FMULSUBS_OP1", ":", "case", "MachineCombinerPattern", "::", "FMULSUBS_OP2", ":", "case", "MachineCombinerPattern", "::", "FMULADDD_OP1", ":", "case", "MachineCombinerPattern", "::", "FMULADDD_OP2", ":", "case", "MachineCombinerPattern", "::", "FMULSUBD_OP1", ":", "case", "MachineCombinerPattern", "::", "FMULSUBD_OP2", ":", "case", "MachineCombinerPattern", "::", "FNMULSUBS_OP1", ":", "case", "MachineCombinerPattern", "::", "FNMULSUBD_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv1i32_indexed_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv1i32_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLAv1i64_indexed_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv1i64_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLAv2f32_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLAv2f32_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv2f64_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv2f64_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLAv2i32_indexed_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv2i32_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLAv2i64_indexed_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv2i64_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLAv4f32_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv4f32_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLAv4i32_indexed_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv4i32_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv1i32_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv1i64_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv2i32_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv2i64_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv2f32_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv2f64_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv4i32_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv4f32_OP2", ":", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "when", "a", "code", "sequence", "can", "improve", "throughput", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64InstrInfo (2)", "Func": "isThroughputPattern", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9185, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "isLoadFromStackSlotPostFE", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "unsigned", "Dummy", ";", "if", "(", "isFrameLoadOpcode", "(", "MI", ".", "getOpcode", "(", ")", ",", "Dummy", ")", ")", "{", "unsigned", "Reg", ";", "if", "(", "(", "Reg", "=", "isLoadFromStackSlot", "(", "MI", ",", "FrameIndex", ")", ")", ")", "return", "Reg", ";", "SmallVector", "<", "const", "MachineMemOperand", "*", ",", "1", ">", "Accesses", ";", "if", "(", "hasLoadFromStackSlot", "(", "MI", ",", "Accesses", ")", ")", "{", "FrameIndex", "=", "cast", "<", "FixedStackPseudoSourceValue", ">", "(", "Accesses", ".", "front", "(", ")", "->", "getPseudoValue", "(", ")", ")", "->", "getFrameIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["isLoadFromStackSlotPostFE", "-", "Check", "for", "post-frame", "ptr", "elimination", "stack", "locations", "as", "well", "."], "TS_V_token": ["X86", "X86", "1", "0", "0"], "File": "X86InstrInfo (2)3", "Func": "isLoadFromStackSlotPostFE", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9186, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16DAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "if", "(", "!", "Subtarget", "->", "inMips16Mode", "(", ")", ")", "return", "false", ";", "return", "MipsDAGToDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips"], "File": "Mips16ISelDAGToDAG14", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9187, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetObjectFile", "::", "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", "|", "ELF", "::", "SHF_MIPS_GPREL", ")", ";", "SmallBSSSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".sbss\"", ",", "ELF", "::", "SHT_NOBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", "|", "ELF", "::", "SHF_MIPS_GPREL", ")", ";", "this", "->", "TM", "=", "&", "static_cast", "<", "const", "MipsTargetMachine", "&", ">", "(", "TM", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["Mips", "Mips", "\".sdata\"", "\".sbss\"", "Mips"], "File": "MipsTargetObjectFile10", "Func": "Initialize", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9188, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SparcInstrInfo", "::", "getGlobalBaseReg", "(", "MachineFunction", "*", "MF", ")", "const", "{", "SparcMachineFunctionInfo", "*", "SparcFI", "=", "MF", "->", "getInfo", "<", "SparcMachineFunctionInfo", ">", "(", ")", ";", "unsigned", "GlobalBaseReg", "=", "SparcFI", "->", "getGlobalBaseReg", "(", ")", ";", "if", "(", "GlobalBaseReg", "!=", "0", ")", "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", "0", "SP::I64RegsRegClass", "SP::IntRegsRegClass", "SP::GETPCX", "Sparc"], "File": "SparcInstrInfo", "Func": "getGlobalBaseReg", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9189, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCAIXAsmPrinter", "::", "emitEndOfAsmFile", "(", "Module", "&", "M", ")", "{", "if", "(", "M", ".", "empty", "(", ")", ")", "return", ";", "OutStreamer", "->", "SwitchSection", "(", "getObjFileLowering", "(", ")", ".", "getTOCBaseSection", "(", ")", ")", ";", "PPCTargetStreamer", "*", "TS", "=", "static_cast", "<", "PPCTargetStreamer", "*", ">", "(", "OutStreamer", "->", "getTargetStreamer", "(", ")", ")", ";", "const", "unsigned", "EntryByteSize", "=", "Subtarget", "->", "isPPC64", "(", ")", "?", "8", ":", "4", ";", "const", "unsigned", "TOCEntriesByteSize", "=", "TOC", ".", "size", "(", ")", "*", "EntryByteSize", ";", "if", "(", "TOCEntriesByteSize", ">", "32767", ")", "{", "report_fatal_error", "(", "\"Handling of TOC entry displacement larger than 32767 \"", "\"is not yet implemented.\"", ")", ";", "}", "for", "(", "auto", "&", "I", ":", "TOC", ")", "{", "MCSectionXCOFF", "*", "TCEntry", "=", "cast", "<", "MCSectionXCOFF", ">", "(", "getObjFileLowering", "(", ")", ".", "getSectionForTOCEntry", "(", "I", ".", "first", ")", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "TCEntry", ")", ";", "OutStreamer", "->", "emitLabel", "(", "I", ".", "second", ")", ";", "if", "(", "TS", "!=", "nullptr", ")", "TS", "->", "emitTCEntry", "(", "*", "I", ".", "first", ")", ";", "}", "}", ""], "natrual_language": ["This", "virtual", "method", "can", "be", "overridden", "by", "targets", "that", "want", "to", "emit", "something", "at", "the", "end", "of", "their", "file", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "8", "4", "32767", "\"Handling of TOC entry displacement larger than 32767 \"", "\"is not yet implemented.\""], "File": "PPCAsmPrinter112", "Func": "emitEndOfAsmFile", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9190, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_d_handle_target_object_format", "(", "void", ")", "{", "const", "char", "*", "objfmt", "=", "NULL", ";", "if", "(", "TARGET_MACHO", ")", "objfmt", "=", "\"macho\"", ";", "else", "if", "(", "TARGET_COFF", "||", "TARGET_PECOFF", ")", "objfmt", "=", "\"coff\"", ";", "if", "(", "objfmt", "==", "NULL", ")", "return", "NULL_TREE", ";", "return", "build_string_literal", "(", "strlen", "(", "objfmt", ")", "+", "1", ",", "objfmt", ")", ";", "}", ""], "natrual_language": ["Handle", "a", "call", "to", "`", "__traits", "(", "getTargetInfo", ",", "``", "objectFormat", "''", ")", "'", "."], "TS_V_token": ["i386", "\"macho\"", "\"coff\"", "1"], "File": "i386-d", "Func": "ix86_d_handle_target_object_format", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9191, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCCallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "ArrayRef", "<", "Register", ">", "VRegs", ",", "FunctionLoweringInfo", "&", "FLI", ",", "Register", "SwiftErrorVReg", ")", "const", "{", "assert", "(", "(", "(", "Val", "&&", "!", "VRegs", ".", "empty", "(", ")", ")", "||", "(", "!", "Val", "&&", "VRegs", ".", "empty", "(", ")", ")", ")", "&&", "\"Return value without a vreg\"", ")", ";", "if", "(", "VRegs", ".", "size", "(", ")", ">", "0", ")", "return", "false", ";", "MIRBuilder", ".", "buildInstr", "(", "PPC", "::", "BLR8", ")", ";", "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": ["PowerPC", "PPC", "\"Return value without a vreg\"", "0", "PPC::BLR8"], "File": "PPCCallLowering", "Func": "lowerReturn", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9192, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "mips16e_collect_argument_saves", "(", "void", ")", "{", "rtx", "reg_values", "[", "FIRST_PSEUDO_REGISTER", "]", ";", "rtx_insn", "*", "insn", ",", "*", "next", ";", "rtx", "set", ",", "dest", ",", "src", ";", "unsigned", "int", "nargs", ",", "regno", ";", "push_topmost_sequence", "(", ")", ";", "nargs", "=", "0", ";", "memset", "(", "reg_values", ",", "0", ",", "sizeof", "(", "reg_values", ")", ")", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "next", ")", "{", "next", "=", "NEXT_INSN", "(", "insn", ")", ";", "if", "(", "NOTE_P", "(", "insn", ")", "||", "DEBUG_INSN_P", "(", "insn", ")", ")", "continue", ";", "if", "(", "!", "INSN_P", "(", "insn", ")", ")", "break", ";", "set", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "set", ")", "!=", "SET", ")", "break", ";", "dest", "=", "SET_DEST", "(", "set", ")", ";", "src", "=", "SET_SRC", "(", "set", ")", ";", "if", "(", "mips16e_collect_argument_save_p", "(", "dest", ",", "src", ",", "reg_values", ",", "&", "regno", ")", ")", "{", "if", "(", "!", "BITSET_P", "(", "cfun", "->", "machine", "->", "frame", ".", "mask", ",", "regno", ")", ")", "{", "delete_insn", "(", "insn", ")", ";", "nargs", "=", "MAX", "(", "nargs", ",", "(", "regno", "-", "GP_ARG_FIRST", ")", "+", "1", ")", ";", "}", "}", "else", "if", "(", "REG_P", "(", "dest", ")", "&&", "GET_MODE", "(", "dest", ")", "==", "word_mode", ")", "reg_values", "[", "REGNO", "(", "dest", ")", "]", "=", "mips16e_collect_propagate_value", "(", "src", ",", "reg_values", ")", ";", "else", "break", ";", "}", "pop_topmost_sequence", "(", ")", ";", "return", "nargs", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "mips_expand_prologue", ",", "called", "only", "when", "generating", "MIPS16e", "SAVE", "instructions", ".", "Search", "the", "start", "of", "the", "function", "for", "any", "instructions", "that", "save", "argument", "registers", "into", "their", "caller-allocated", "save", "slots", ".", "Delete", "such", "instructions", "and", "return", "a", "value", "N", "such", "that", "saving", "[", "GP_ARG_FIRST", ",", "GP_ARG_FIRST", "+", "N", ")", "would", "make", "all", "the", "deleted", "instructions", "redundant", "."], "TS_V_token": ["mips", "0", "0", "1"], "File": "mips", "Func": "mips16e_collect_argument_saves", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9193, "Length": 228, "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", "{", "ConstantSDNode", "*", "V", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Src", ")", ";", "ConstantSDNode", "*", "SizeValue", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Size", ")", ";", "const", "AArch64Subtarget", "&", "STI", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ";", "const", "char", "*", "bzeroName", "=", "(", "V", "&&", "V", "->", "isNullValue", "(", ")", ")", "?", "DAG", ".", "getTargetLoweringInfo", "(", ")", ".", "getLibcallName", "(", "RTLIB", "::", "BZERO", ")", ":", "nullptr", ";", "if", "(", "bzeroName", "&&", "(", "!", "SizeValue", "||", "SizeValue", "->", "getZExtValue", "(", ")", ">", "256", ")", ")", "{", "const", "AArch64TargetLowering", "&", "TLI", "=", "*", "STI", ".", "getTargetLowering", "(", ")", ";", "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", ".", "getExternalFunctionSymbol", "(", "bzeroName", ")", ",", "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": "AArch64SelectionDAGInfo16", "Func": "EmitTargetCodeForMemset", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9194, "Length": 283, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTTIImpl", "::", "enableAggressiveInterleaving", "(", "bool", "LoopHasReductions", ")", "{", "if", "(", "ST", "->", "getCPUDirective", "(", ")", "==", "PPC", "::", "DIR_A2", ")", "return", "true", ";", "return", "LoopHasReductions", ";", "}", ""], "natrual_language": ["Do", "n't", "restrict", "interleaved", "unrolling", "to", "small", "loops", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::DIR_A2"], "File": "PPCTargetTransformInfo1", "Func": "enableAggressiveInterleaving", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9195, "Length": 28, "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": 9196, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "EnableA53Fix835769", ")", "addPass", "(", "createAArch64A53Fix835769", "(", ")", ")", ";", "addPass", "(", "createAArch64BranchRelaxation", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableCollectLOH", "&&", "TM", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isTargetMachO", "(", ")", ")", "addPass", "(", "createAArch64CollectLOHPass", "(", ")", ")", ";", "}", ""], "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", "AArch64"], "File": "AArch64TargetMachine65", "Func": "addPreEmitPass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9197, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "emit_fusion_gpr_load", "(", "rtx", "target", ",", "rtx", "mem", ")", "{", "rtx", "addis_value", ";", "rtx", "addr", ";", "rtx", "load_offset", ";", "const", "char", "*", "load_str", "=", "NULL", ";", "machine_mode", "mode", ";", "if", "(", "GET_CODE", "(", "mem", ")", "==", "ZERO_EXTEND", ")", "mem", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "gcc_assert", "(", "REG_P", "(", "target", ")", "&&", "MEM_P", "(", "mem", ")", ")", ";", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "fusion_split_address", "(", "addr", ",", "&", "addis_value", ",", "&", "load_offset", ")", ";", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "load_str", "=", "\"lbz\"", ";", "break", ";", "case", "E_HImode", ":", "load_str", "=", "\"lhz\"", ";", "break", ";", "case", "E_SImode", ":", "case", "E_SFmode", ":", "load_str", "=", "\"lwz\"", ";", "break", ";", "case", "E_DImode", ":", "case", "E_DFmode", ":", "gcc_assert", "(", "TARGET_POWERPC64", ")", ";", "load_str", "=", "\"ld\"", ";", "break", ";", "default", ":", "fatal_insn", "(", "\"Bad GPR fusion\"", ",", "gen_rtx_SET", "(", "target", ",", "mem", ")", ")", ";", "}", "emit_fusion_addis", "(", "target", ",", "addis_value", ")", ";", "emit_fusion_load_store", "(", "target", ",", "target", ",", "load_offset", ",", "load_str", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Return", "a", "string", "to", "fuse", "an", "addis", "instruction", "with", "a", "gpr", "load", "to", "the", "same", "register", "that", "we", "loaded", "up", "the", "addis", "instruction", ".", "The", "address", "that", "is", "used", "is", "the", "logical", "address", "that", "was", "formed", "during", "peephole2", ":", "(", "lo_sum", "(", "high", ")", "(", "low-part", ")", ")", "The", "code", "is", "complicated", ",", "so", "we", "call", "output_asm_insn", "directly", ",", "and", "just", "return", "``", "''", "."], "TS_V_token": ["rs6000", "0", "0", "\"lbz\"", "\"lhz\"", "\"lwz\"", "\"ld\"", "\"Bad GPR fusion\"", "\"\""], "File": "rs60007", "Func": "emit_fusion_gpr_load", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9198, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "KudeyarDAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "Ret", "=", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "return", "Ret", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Kudeyar", "Kudeyar"], "File": "KudeyarISelDAGToDAG", "Func": "runOnMachineFunction", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9199, "Length": 24, "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": 9200, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "ix86_force_to_memory", "(", "enum", "machine_mode", "mode", ",", "rtx", "operand", ")", "{", "rtx", "result", ";", "gcc_assert", "(", "reload_completed", ")", ";", "if", "(", "TARGET_RED_ZONE", ")", "{", "result", "=", "gen_rtx_MEM", "(", "mode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "RED_ZONE_SIZE", ")", ")", ")", ";", "emit_move_insn", "(", "result", ",", "operand", ")", ";", "}", "else", "if", "(", "!", "TARGET_RED_ZONE", "&&", "TARGET_64BIT", ")", "{", "switch", "(", "mode", ")", "{", "case", "HImode", ":", "case", "SImode", ":", "operand", "=", "gen_lowpart", "(", "DImode", ",", "operand", ")", ";", "case", "DImode", ":", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_rtx_MEM", "(", "DImode", ",", "gen_rtx_PRE_DEC", "(", "DImode", ",", "stack_pointer_rtx", ")", ")", ",", "operand", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "result", "=", "gen_rtx_MEM", "(", "mode", ",", "stack_pointer_rtx", ")", ";", "}", "else", "{", "switch", "(", "mode", ")", "{", "case", "DImode", ":", "{", "rtx", "operands", "[", "2", "]", ";", "split_di", "(", "&", "operand", ",", "1", ",", "operands", ",", "operands", "+", "1", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_rtx_MEM", "(", "SImode", ",", "gen_rtx_PRE_DEC", "(", "Pmode", ",", "stack_pointer_rtx", ")", ")", ",", "operands", "[", "1", "]", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_rtx_MEM", "(", "SImode", ",", "gen_rtx_PRE_DEC", "(", "Pmode", ",", "stack_pointer_rtx", ")", ")", ",", "operands", "[", "0", "]", ")", ")", ";", "}", "break", ";", "case", "HImode", ":", "operand", "=", "gen_lowpart", "(", "SImode", ",", "operand", ")", ";", "case", "SImode", ":", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_rtx_MEM", "(", "GET_MODE", "(", "operand", ")", ",", "gen_rtx_PRE_DEC", "(", "SImode", ",", "stack_pointer_rtx", ")", ")", ",", "operand", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "result", "=", "gen_rtx_MEM", "(", "mode", ",", "stack_pointer_rtx", ")", ";", "}", "return", "result", ";", "}", ""], "natrual_language": ["Store", "OPERAND", "to", "the", "memory", "after", "reload", "is", "completed", ".", "This", "means", "that", "we", "ca", "n't", "easily", "use", "assign_stack_local", "."], "TS_V_token": ["i386", "2", "1", "1", "1", "0"], "File": "i3863", "Func": "ix86_force_to_memory", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9201, "Length": 272, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "unsigned", "VReg", ")", "const", "{", "MachineInstr", "*", "Return", "=", "MIRBuilder", ".", "buildInstr", "(", "AArch64", "::", "RET_ReallyLR", ")", ";", "assert", "(", "Return", "&&", "\"Unable to build a return instruction?!\"", ")", ";", "assert", "(", "(", "(", "Val", "&&", "VReg", ")", "||", "(", "!", "Val", "&&", "!", "VReg", ")", ")", "&&", "\"Return value without a vreg\"", ")", ";", "if", "(", "VReg", ")", "{", "assert", "(", "(", "Val", "->", "getType", "(", ")", "->", "isIntegerTy", "(", ")", "||", "Val", "->", "getType", "(", ")", "->", "isPointerTy", "(", ")", ")", "&&", "\"Type not supported yet\"", ")", ";", "const", "Function", "&", "F", "=", "*", "MIRBuilder", ".", "getMF", "(", ")", ".", "getFunction", "(", ")", ";", "const", "DataLayout", "&", "DL", "=", "F", ".", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "unsigned", "Size", "=", "DL", ".", "getTypeSizeInBits", "(", "Val", "->", "getType", "(", ")", ")", ";", "assert", "(", "(", "Size", "==", "64", "||", "Size", "==", "32", ")", "&&", "\"Size not supported yet\"", ")", ";", "unsigned", "ResReg", "=", "(", "Size", "==", "32", ")", "?", "AArch64", "::", "W0", ":", "AArch64", "::", "X0", ";", "MIRBuilder", ".", "setInstr", "(", "*", "Return", ",", "true", ")", ";", "MachineInstr", "*", "Copy", "=", "MIRBuilder", ".", "buildCopy", "(", "ResReg", ",", "VReg", ")", ";", "(", "void", ")", "Copy", ";", "assert", "(", "Copy", "->", "getNextNode", "(", ")", "==", "Return", "&&", "\"The insertion did not happen where we expected\"", ")", ";", "MachineInstrBuilder", "(", "MIRBuilder", ".", "getMF", "(", ")", ",", "Return", ")", ".", "addReg", "(", "ResReg", ",", "RegState", "::", "Implicit", ")", ";", "}", "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": ["AArch64", "AArch64", "AArch64::RET_ReallyLR", "\"Unable to build a return instruction?!\"", "\"Return value without a vreg\"", "\"Type not supported yet\"", "64", "32", "\"Size not supported yet\"", "32", "AArch64::W0", "AArch64::X0", "\"The insertion did not happen where we expected\""], "File": "AArch64CallLowering3", "Func": "lowerReturn", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9202, "Length": 235, "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", ")", ".", "convertSwitchRangeToICmp", "(", "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", "(", ")", ")", ";", "if", "(", "TM", "->", "Options", ".", "JMCInstrument", ")", "addPass", "(", "createJMCInstrumenterPass", "(", ")", ")", ";", "}", ""], "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": "AArch64TargetMachine32", "Func": "addIRPasses", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9203, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_nsaved_regs", "(", "void", ")", "{", "int", "nregs", "=", "0", ";", "int", "regno", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "!", "SSE_REGNO_P", "(", "regno", ")", "&&", "ix86_save_reg", "(", "regno", ",", "true", ")", ")", "nregs", "++", ";", "return", "nregs", ";", "}", ""], "natrual_language": ["Return", "number", "of", "registers", "to", "be", "saved", "on", "the", "stack", "."], "TS_V_token": ["i386", "0", "0"], "File": "i3864", "Func": "ix86_nsaved_regs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9204, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "do_ifelse", "(", "machine_mode", "cmpmode", ",", "rtx_code", "comparison", ",", "rtx", "a", ",", "rtx", "b", ",", "rtx", "cr", ",", "rtx", "true_label", ")", "{", "gcc_assert", "(", "(", "a", "==", "NULL_RTX", "&&", "b", "==", "NULL_RTX", "&&", "cr", "!=", "NULL_RTX", ")", "||", "(", "a", "!=", "NULL_RTX", "&&", "b", "!=", "NULL_RTX", ")", ")", ";", "if", "(", "cr", "!=", "NULL_RTX", ")", "gcc_assert", "(", "GET_MODE", "(", "cr", ")", "==", "cmpmode", ")", ";", "else", "cr", "=", "gen_reg_rtx", "(", "cmpmode", ")", ";", "rtx", "label_ref", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "true_label", ")", ";", "if", "(", "a", "!=", "NULL_RTX", ")", "emit_move_insn", "(", "cr", ",", "gen_rtx_COMPARE", "(", "cmpmode", ",", "a", ",", "b", ")", ")", ";", "rtx", "cmp_rtx", "=", "gen_rtx_fmt_ee", "(", "comparison", ",", "VOIDmode", ",", "cr", ",", "const0_rtx", ")", ";", "rtx", "ifelse", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "cmp_rtx", ",", "label_ref", ",", "pc_rtx", ")", ";", "rtx", "j", "=", "emit_jump_insn", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "ifelse", ")", ")", ";", "JUMP_LABEL", "(", "j", ")", "=", "true_label", ";", "LABEL_NUSES", "(", "true_label", ")", "+=", "1", ";", "}", ""], "natrual_language": ["Do", "a", "branch", "for", "an", "if/else", "decision", ".", "CMPMODE", "is", "the", "mode", "to", "use", "for", "the", "comparison", ".", "COMPARISON", "is", "the", "rtx", "code", "for", "the", "compare", "needed", ".", "A", "is", "the", "first", "thing", "to", "be", "compared", ".", "B", "is", "the", "second", "thing", "to", "be", "compared", ".", "CR", "is", "the", "condition", "code", "reg", "input", ",", "or", "NULL_RTX", ".", "TRUE_LABEL", "is", "the", "label", "to", "branch", "to", "if", "the", "condition", "is", "true", ".", "The", "return", "value", "is", "the", "CR", "used", "for", "the", "comparison", ".", "If", "CR", "is", "null_rtx", ",", "then", "a", "new", "register", "of", "CMPMODE", "is", "generated", ".", "If", "A", "and", "B", "are", "both", "null_rtx", ",", "then", "CR", "must", "not", "be", "null", ",", "and", "the", "compare", "is", "not", "generated", "so", "you", "can", "use", "this", "with", "a", "dot", "form", "insn", "."], "TS_V_token": ["rs6000", "1"], "File": "rs6000-string2", "Func": "do_ifelse", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9205, "Length": 160, "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", "::", "PLI", ":", "case", "PPC", "::", "PLI8", ":", "case", "PPC", "::", "LIS", ":", "case", "PPC", "::", "LIS8", ":", "case", "PPC", "::", "ADDIStocHA", ":", "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", "::", "XXSPLTI32DX", ":", "case", "PPC", "::", "XXSPLTIW", ":", "case", "PPC", "::", "XXSPLTIDP", ":", "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", ":", "case", "PPC", "::", "XXSETACCZ", ":", "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::PLI", "PPC::PLI8", "PPC::LIS", "PPC::LIS8", "PPC::ADDIStocHA", "PPC::ADDIStocHA8", "PPC::ADDItocL", "PPC::LOAD_STACK_GUARD", "PPC::XXLXORz", "PPC::XXLXORspz", "PPC::XXLXORdpz", "PPC::XXLEQVOnes", "PPC::XXSPLTI32DX", "PPC::XXSPLTIW", "PPC::XXSPLTIDP", "PPC::V_SET0B", "PPC::V_SET0H", "PPC::V_SET0", "PPC::V_SETALLONESB", "PPC::V_SETALLONESH", "PPC::V_SETALLONES", "PPC::CRSET", "PPC::CRUNSET", "PPC::XXSETACCZ"], "File": "PPCInstrInfo", "Func": "isReallyTriviallyReMaterializable", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9206, "Length": 172, "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\"", ")", ";", "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\"", "\"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": "ARMAsmParser12", "Func": "MatchAndEmitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9207, "Length": 272, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_split_msa_copy_d", "(", "rtx", "dest", ",", "rtx", "src", ",", "rtx", "index", ",", "rtx", "(", "*", "gen_fn", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ")", "{", "gcc_assert", "(", "(", "GET_MODE", "(", "src", ")", "==", "V2DImode", "&&", "GET_MODE", "(", "dest", ")", "==", "DImode", ")", "||", "(", "GET_MODE", "(", "src", ")", "==", "V2DFmode", "&&", "GET_MODE", "(", "dest", ")", "==", "DFmode", ")", ")", ";", "rtx", "low", "=", "mips_subword", "(", "dest", ",", "false", ")", ";", "rtx", "high", "=", "mips_subword", "(", "dest", ",", "true", ")", ";", "rtx", "new_src", "=", "simplify_gen_subreg", "(", "V4SImode", ",", "src", ",", "GET_MODE", "(", "src", ")", ",", "0", ")", ";", "emit_insn", "(", "gen_fn", "(", "low", ",", "new_src", ",", "GEN_INT", "(", "INTVAL", "(", "index", ")", "*", "2", ")", ")", ")", ";", "emit_insn", "(", "gen_fn", "(", "high", ",", "new_src", ",", "GEN_INT", "(", "INTVAL", "(", "index", ")", "*", "2", "+", "1", ")", ")", ")", ";", "}", ""], "natrual_language": ["Split", "a", "COPY_S.D", "with", "operands", "DEST", ",", "SRC", "and", "INDEX", ".", "GEN", "is", "a", "function", "used", "to", "generate", "subregs", "."], "TS_V_token": ["mips", "0", "2", "2", "1"], "File": "mips", "Func": "mips_split_msa_copy_d", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9208, "Length": 141, "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": 9209, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "ARMBaseRegisterInfo", "::", "getThisReturnPreservedMask", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "if", "(", "CC", "==", "CallingConv", "::", "GHC", ")", "return", "nullptr", ";", "return", "STI", ".", "isTargetDarwin", "(", ")", "?", "CSR_iOS_ThisReturn_RegMask", ":", "CSR_AAPCS_ThisReturn_RegMask", ";", "}", ""], "natrual_language": ["getThisReturnPreservedMask", "-", "Returns", "a", "call", "preserved", "mask", "specific", "to", "the", "case", "that", "'returned", "'", "is", "on", "an", "i32", "first", "argument", "if", "the", "calling", "convention", "is", "one", "that", "can", "(", "partially", ")", "model", "this", "attribute", "with", "a", "preserved", "mask", "(", "i.e", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMBaseRegisterInfo41", "Func": "getThisReturnPreservedMask", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9210, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCCTRLoops", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "auto", "*", "TPC", "=", "getAnalysisIfAvailable", "<", "TargetPassConfig", ">", "(", ")", ";", "if", "(", "!", "TPC", ")", "return", "false", ";", "TM", "=", "&", "TPC", "->", "getTM", "<", "PPCTargetMachine", ">", "(", ")", ";", "STI", "=", "TM", "->", "getSubtargetImpl", "(", "F", ")", ";", "TLI", "=", "STI", "->", "getTargetLowering", "(", ")", ";", "LI", "=", "&", "getAnalysis", "<", "LoopInfoWrapperPass", ">", "(", ")", ".", "getLoopInfo", "(", ")", ";", "SE", "=", "&", "getAnalysis", "<", "ScalarEvolutionWrapperPass", ">", "(", ")", ".", "getSE", "(", ")", ";", "DT", "=", "&", "getAnalysis", "<", "DominatorTreeWrapperPass", ">", "(", ")", ".", "getDomTree", "(", ")", ";", "TTI", "=", "&", "getAnalysis", "<", "TargetTransformInfoWrapperPass", ">", "(", ")", ".", "getTTI", "(", "F", ")", ";", "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", "PPC"], "File": "PPCCTRLoops11", "Func": "runOnFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9211, "Length": 231, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_store_data_bypass_p", "(", "rtx_insn", "*", "out_insn", ",", "rtx_insn", "*", "in_insn", ")", "{", "if", "(", "GET_CODE", "(", "PATTERN", "(", "in_insn", ")", ")", "==", "UNSPEC_VOLATILE", ")", "return", "false", ";", "return", "store_data_bypass_p", "(", "out_insn", ",", "in_insn", ")", ";", "}", ""], "natrual_language": ["True", "if", "the", "dependency", "between", "OUT_INSN", "and", "IN_INSN", "is", "on", "the", "store", "data", "rather", "than", "the", "address", ".", "We", "need", "this", "because", "the", "cprestore", "pattern", "is", "type", "``", "store", "''", ",", "but", "is", "defined", "using", "an", "UNSPEC_VOLATILE", ",", "which", "causes", "the", "default", "routine", "to", "abort", ".", "We", "just", "return", "false", "for", "that", "case", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_store_data_bypass_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9212, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "OptimizeLEAPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "Changed", "=", "false", ";", "if", "(", "!", "EnableX86LEAOpt", "||", "!", "MF", ".", "getFunction", "(", ")", "->", "optForSize", "(", ")", ")", "return", "false", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "TII", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "SmallVector", "<", "MachineInstr", "*", ",", "16", ">", "LEAs", ";", "findLEAs", "(", "MBB", ",", "LEAs", ")", ";", "if", "(", "LEAs", ".", "empty", "(", ")", ")", "continue", ";", "Changed", "|=", "removeRedundantAddrCalc", "(", "LEAs", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "16"], "File": "X86OptimizeLEAs (2)", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9213, "Length": 120, "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": 9214, "Length": 277, "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": 9215, "Length": 321, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsDAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "Ret", "=", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "processFunctionAfterISel", "(", "MF", ")", ";", "return", "Ret", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsISelDAGToDAG", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9216, "Length": 29, "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": ["Sparc"], "File": "SparcAsmBackend16", "Func": "mayNeedRelaxation", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9217, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "processBlock", "(", "MachineBasicBlock", "&", "MBB", ")", "{", "bool", "Changed", "=", "false", ";", "bool", "Is64Bit", "=", "MBB", ".", "getParent", "(", ")", "->", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "isPPC64", "(", ")", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ",", "IE", "=", "MBB", ".", "end", "(", ")", ";", "I", "!=", "IE", ";", ")", "{", "MachineInstr", "*", "MI", "=", "I", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "ADDItlsgdLADDR", "&&", "MI", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "ADDItlsldLADDR", "&&", "MI", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "ADDItlsgdLADDR32", "&&", "MI", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "ADDItlsldLADDR32", ")", "{", "++", "I", ";", "continue", ";", "}", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"TLS Dynamic Call Fixup:\\n \"", "<<", "*", "MI", ";", ")", ";", "unsigned", "OutReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "unsigned", "InReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "GPR3", "=", "Is64Bit", "?", "PPC", "::", "X3", ":", "PPC", "::", "R3", ";", "unsigned", "Opc1", ",", "Opc2", ";", "const", "unsigned", "OrigRegs", "[", "]", "=", "{", "OutReg", ",", "InReg", ",", "GPR3", "}", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Opcode inconsistency error\"", ")", ";", "case", "PPC", "::", "ADDItlsgdLADDR", ":", "Opc1", "=", "PPC", "::", "ADDItlsgdL", ";", "Opc2", "=", "PPC", "::", "GETtlsADDR", ";", "break", ";", "case", "PPC", "::", "ADDItlsldLADDR", ":", "Opc1", "=", "PPC", "::", "ADDItlsldL", ";", "Opc2", "=", "PPC", "::", "GETtlsldADDR", ";", "break", ";", "case", "PPC", "::", "ADDItlsgdLADDR32", ":", "Opc1", "=", "PPC", "::", "ADDItlsgdL32", ";", "Opc2", "=", "PPC", "::", "GETtlsADDR32", ";", "break", ";", "case", "PPC", "::", "ADDItlsldLADDR32", ":", "Opc1", "=", "PPC", "::", "ADDItlsldL32", ";", "Opc2", "=", "PPC", "::", "GETtlsldADDR32", ";", "break", ";", "}", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", "->", "get", "(", "PPC", "::", "ADJCALLSTACKDOWN", ")", ")", ".", "addImm", "(", "0", ")", ";", "MachineInstr", "*", "Addi", "=", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", "->", "get", "(", "Opc1", ")", ",", "GPR3", ")", ".", "addReg", "(", "InReg", ")", ";", "Addi", "->", "addOperand", "(", "MI", "->", "getOperand", "(", "2", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "First", "=", "I", ";", "--", "First", ";", "MachineInstr", "*", "Call", "=", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", "->", "get", "(", "Opc2", ")", ",", "GPR3", ")", ".", "addReg", "(", "GPR3", ")", ")", ";", "Call", "->", "addOperand", "(", "MI", "->", "getOperand", "(", "3", ")", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", "->", "get", "(", "PPC", "::", "ADJCALLSTACKUP", ")", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "OutReg", ")", ".", "addReg", "(", "GPR3", ")", ";", "MachineBasicBlock", "::", "iterator", "Last", "=", "I", ";", "--", "Last", ";", "++", "I", ";", "MI", "->", "removeFromParent", "(", ")", ";", "LIS", "->", "repairIntervalsInRange", "(", "&", "MBB", ",", "First", ",", "Last", ",", "OrigRegs", ")", ";", "Changed", "=", "true", ";", "}", "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", "PPC", "PPC", "PPC::ADDItlsgdLADDR", "PPC::ADDItlsldLADDR", "PPC::ADDItlsgdLADDR32", "PPC::ADDItlsldLADDR32", "\"TLS Dynamic Call Fixup:\\n \"", "0", "1", "PPC::X3", "PPC::R3", "\"Opcode inconsistency error\"", "PPC::ADDItlsgdLADDR", "PPC::ADDItlsgdL", "PPC::GETtlsADDR", "PPC::ADDItlsldLADDR", "PPC::ADDItlsldL", "PPC::GETtlsldADDR", "PPC::ADDItlsgdLADDR32", "PPC::ADDItlsgdL32", "PPC::GETtlsADDR32", "PPC::ADDItlsldLADDR32", "PPC::ADDItlsldL32", "PPC::GETtlsldADDR32", "PPC::ADJCALLSTACKDOWN", "0", "2", "3", "PPC::ADJCALLSTACKUP", "0", "0"], "File": "PPCTLSDynamicCall18", "Func": "processBlock", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9218, "Length": 498, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86RegisterBankInfo", "::", "applyMappingImpl", "(", "const", "OperandsMapper", "&", "OpdMapper", ")", "const", "{", "return", "applyDefaultMapping", "(", "OpdMapper", ")", ";", "}", ""], "natrual_language": ["See", "RegisterBankInfo", ":", ":applyMapping", "."], "TS_V_token": ["X86", "X86"], "File": "X86RegisterBankInfo", "Func": "applyMappingImpl", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9219, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_reorg", "(", "void", ")", "{", "if", "(", "mips_cfg_in_reorg", "(", ")", ")", "compute_bb_for_insn", "(", ")", ";", "mips16_lay_out_constants", "(", "true", ")", ";", "if", "(", "mips_cfg_in_reorg", "(", ")", ")", "{", "mips_df_reorg", "(", ")", ";", "free_bb_for_insn", "(", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_MACHINE_DEPENDENT_REORG", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_reorg", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9220, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LSRWithInstrQueries", "(", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "loop", "strength", "reduce", "pass", "should", "make", "Instruction", "*", "based", "TTI", "queries", "to", "isLegalAddressingMode", "(", ")", "."], "TS_V_token": ["SystemZ"], "File": "SystemZTargetTransformInfo", "Func": "LSRWithInstrQueries", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9221, "Length": 9, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "OR1KAsmBackend", "::", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "{", "uint8_t", "OSABI", "=", "MCELFObjectTargetWriter", "::", "getOSABI", "(", "OSType", ")", ";", "return", "createOR1KELFObjectWriter", "(", "OS", ",", "OSABI", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["OR1K", "OR1K", "OR1K"], "File": "OR1KAsmBackend1", "Func": "createObjectWriter", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9222, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "*", "ARMBaseInstrInfo", "::", "CreateTargetPostRAHazardRecognizer", "(", "const", "InstrItineraryData", "*", "II", ",", "const", "ScheduleDAG", "*", "DAG", ")", "const", "{", "if", "(", "Subtarget", ".", "isThumb2", "(", ")", "||", "Subtarget", ".", "hasVFP2", "(", ")", ")", "return", "(", "ScheduleHazardRecognizer", "*", ")", "new", "ARMHazardRecognizer", "(", "II", ",", "*", "this", ",", "getRegisterInfo", "(", ")", ",", "Subtarget", ",", "DAG", ")", ";", "return", "TargetInstrInfoImpl", "::", "CreateTargetPostRAHazardRecognizer", "(", "II", ",", "DAG", ")", ";", "}", ""], "natrual_language": ["Allocate", "and", "return", "a", "hazard", "recognizer", "to", "use", "for", "by", "non-scheduling", "passes", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMBaseInstrInfo (2)4", "Func": "CreateTargetPostRAHazardRecognizer", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9223, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "unspec_caller_rtx_p", "(", "rtx", "pat", ")", "{", "rtx", "base", ",", "offset", ";", "int", "i", ";", "split_const", "(", "pat", ",", "&", "base", ",", "&", "offset", ")", ";", "if", "(", "GET_CODE", "(", "base", ")", "==", "UNSPEC", ")", "{", "if", "(", "XINT", "(", "base", ",", "1", ")", "==", "UNSPEC_CALLER", ")", "return", "true", ";", "for", "(", "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": "sh4", "Func": "unspec_caller_rtx_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9224, "Length": 91, "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": ["Mips", "ISD::NodeType", "ISD::SIGN_EXTEND"], "File": "MipsISelLowering100", "Func": "getExtendForAtomicOps", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9225, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"OR1K DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["OR1K", "\"OR1K DAG->DAG Pattern Instruction Selection\""], "File": "OR1KISelDAGToDAG", "Func": "getPassName", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9226, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SparcInstrInfo", "::", "getGlobalBaseReg", "(", "MachineFunction", "*", "MF", ")", "const", "{", "SparcMachineFunctionInfo", "*", "SparcFI", "=", "MF", "->", "getInfo", "<", "SparcMachineFunctionInfo", ">", "(", ")", ";", "unsigned", "GlobalBaseReg", "=", "SparcFI", "->", "getGlobalBaseReg", "(", ")", ";", "if", "(", "GlobalBaseReg", "!=", "0", ")", "return", "GlobalBaseReg", ";", "MachineBasicBlock", "&", "FirstMBB", "=", "MF", "->", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "FirstMBB", ".", "begin", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", "->", "getRegInfo", "(", ")", ";", "GlobalBaseReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "SP", "::", "IntRegsRegClass", ")", ";", "DebugLoc", "dl", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "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", "0", "SP::IntRegsRegClass", "SP::GETPCX", "Sparc"], "File": "SparcInstrInfo47", "Func": "getGlobalBaseReg", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9227, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_delegitimize_address", "(", "rtx", "x", ")", "{", "return", "ix86_delegitimize_address_1", "(", "x", ",", "false", ")", ";", "}", ""], "natrual_language": ["In", "the", "name", "of", "slightly", "smaller", "debug", "output", ",", "and", "to", "cater", "to", "general", "assembler", "lossage", ",", "recognize", "PIC+GOTOFF", "and", "turn", "it", "back", "into", "a", "direct", "symbol", "reference", ".", "On", "Darwin", ",", "this", "is", "necessary", "to", "avoid", "a", "crash", ",", "because", "Darwin", "has", "a", "different", "PIC", "label", "for", "each", "routine", "but", "the", "DWARF", "debugging", "information", "is", "not", "associated", "with", "any", "particular", "routine", ",", "so", "it", "'s", "necessary", "to", "remove", "references", "to", "the", "PIC", "label", "from", "RTL", "stored", "by", "the", "DWARF", "output", "code", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_delegitimize_address", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9228, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Cheri Addressing Mode Folder\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"Cheri Addressing Mode Folder\""], "File": "CheriAddressingModeFolder", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9229, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_cannot_copy_insn_p", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "!", "reload_completed", "||", "!", "flag_pic", ")", "return", "false", ";", "if", "(", "!", "NONJUMP_INSN_P", "(", "insn", ")", ")", "return", "false", ";", "if", "(", "asm_noperands", "(", "insn", ")", ">=", "0", ")", "return", "false", ";", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "CLOBBER", "||", "GET_CODE", "(", "pat", ")", "==", "USE", ")", "return", "false", ";", "if", "(", "TARGET_FDPIC", "&&", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", ")", "{", "rtx", "t", "=", "XVECEXP", "(", "pat", ",", "0", ",", "XVECLEN", "(", "pat", ",", "0", ")", "-", "1", ")", ";", "if", "(", "GET_CODE", "(", "t", ")", "==", "USE", "&&", "unspec_caller_rtx_p", "(", "XEXP", "(", "t", ",", "0", ")", ")", ")", "return", "true", ";", "}", "if", "(", "GET_CODE", "(", "pat", ")", "!=", "SET", ")", "return", "false", ";", "pat", "=", "SET_SRC", "(", "pat", ")", ";", "if", "(", "unspec_caller_rtx_p", "(", "pat", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Indicate", "that", "INSN", "can", "not", "be", "duplicated", ".", "This", "is", "true", "for", "insn", "that", "generates", "a", "unique", "label", "."], "TS_V_token": ["sh", "0", "0", "0", "1", "0"], "File": "sh", "Func": "sh_cannot_copy_insn_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9230, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "MachineOperand", "&", "getLdStBaseOp", "(", "const", "MachineInstr", "&", "MI", ")", "{", "unsigned", "Idx", "=", "isPairedLdSt", "(", "MI", ")", "||", "AArch64InstrInfo", "::", "isPreLdSt", "(", "MI", ")", "?", "2", ":", "1", ";", "return", "MI", ".", "getOperand", "(", "Idx", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "base", "register", "operator", "of", "a", "load/store", "."], "TS_V_token": ["AArch64", "AArch64", "2", "1"], "File": "AArch64LoadStoreOptimizer (2)1", "Func": "getLdStBaseOp", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9231, "Length": 40, "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": 9232, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "PPCTTIImpl", "::", "getIntImmCostInst", "(", "unsigned", "Opcode", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ",", "Instruction", "*", "Inst", ")", "{", "if", "(", "DisablePPCConstHoist", ")", "return", "BaseT", "::", "getIntImmCostInst", "(", "Opcode", ",", "Idx", ",", "Imm", ",", "Ty", ",", "CostKind", ",", "Inst", ")", ";", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", ")", "return", "~", "0U", ";", "unsigned", "ImmIdx", "=", "~", "0U", ";", "bool", "ShiftedFree", "=", "false", ",", "RunFree", "=", "false", ",", "UnsignedFree", "=", "false", ",", "ZeroFree", "=", "false", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "TTI", "::", "TCC_Free", ";", "case", "Instruction", "::", "GetElementPtr", ":", "if", "(", "Idx", "==", "0", ")", "return", "2", "*", "TTI", "::", "TCC_Basic", ";", "return", "TTI", "::", "TCC_Free", ";", "case", "Instruction", "::", "And", ":", "RunFree", "=", "true", ";", "LLVM_FALLTHROUGH", ";", "case", "Instruction", "::", "Add", ":", "case", "Instruction", "::", "Or", ":", "case", "Instruction", "::", "Xor", ":", "ShiftedFree", "=", "true", ";", "LLVM_FALLTHROUGH", ";", "case", "Instruction", "::", "Sub", ":", "case", "Instruction", "::", "Mul", ":", "case", "Instruction", "::", "Shl", ":", "case", "Instruction", "::", "LShr", ":", "case", "Instruction", "::", "AShr", ":", "ImmIdx", "=", "1", ";", "break", ";", "case", "Instruction", "::", "ICmp", ":", "UnsignedFree", "=", "true", ";", "ImmIdx", "=", "1", ";", "LLVM_FALLTHROUGH", ";", "case", "Instruction", "::", "Select", ":", "ZeroFree", "=", "true", ";", "break", ";", "case", "Instruction", "::", "PHI", ":", "case", "Instruction", "::", "Call", ":", "case", "Instruction", "::", "Ret", ":", "case", "Instruction", "::", "Load", ":", "case", "Instruction", "::", "Store", ":", "break", ";", "}", "if", "(", "ZeroFree", "&&", "Imm", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "Idx", "==", "ImmIdx", "&&", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", ")", "{", "if", "(", "isInt", "<", "16", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "RunFree", ")", "{", "if", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "32", "&&", "(", "isShiftedMask_32", "(", "Imm", ".", "getZExtValue", "(", ")", ")", "||", "isShiftedMask_32", "(", "~", "Imm", ".", "getZExtValue", "(", ")", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "ST", "->", "isPPC64", "(", ")", "&&", "(", "isShiftedMask_64", "(", "Imm", ".", "getZExtValue", "(", ")", ")", "||", "isShiftedMask_64", "(", "~", "Imm", ".", "getZExtValue", "(", ")", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "}", "if", "(", "UnsignedFree", "&&", "isUInt", "<", "16", ">", "(", "Imm", ".", "getZExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "ShiftedFree", "&&", "(", "Imm", ".", "getZExtValue", "(", ")", "&", "0xFFFF", ")", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "}", "return", "PPCTTIImpl", "::", "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": ["PowerPC", "PPC", "PPC", "0", "0U", "0U", "0", "2", "1", "1", "0", "64", "16", "32", "PPC", "16", "0xFFFF", "0", "PPC"], "File": "PPCTargetTransformInfo12", "Func": "getIntImmCostInst", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9233, "Length": 434, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "nds32_output_16bit_store", "(", "rtx", "*", "operands", ",", "int", "byte", ")", "{", "char", "pattern", "[", "100", "]", ";", "char", "size", ";", "rtx", "code", "=", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ";", "size", "=", "nds32_byte_to_size", "(", "byte", ")", ";", "switch", "(", "nds32_mem_format", "(", "operands", "[", "0", "]", ")", ")", "{", "case", "ADDRESS_REG", ":", "operands", "[", "0", "]", "=", "code", ";", "output_asm_insn", "(", "\"swi450\\t%1, [%0]\"", ",", "operands", ")", ";", "break", ";", "case", "ADDRESS_LO_REG_IMM3U", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"s%ci333\\t%%1, %%0\"", ",", "size", ")", ";", "output_asm_insn", "(", "pattern", ",", "operands", ")", ";", "break", ";", "case", "ADDRESS_POST_INC_LO_REG_IMM3U", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"swi333.bi\\t%%1, %%0, 4\"", ")", ";", "output_asm_insn", "(", "pattern", ",", "operands", ")", ";", "break", ";", "case", "ADDRESS_POST_MODIFY_LO_REG_IMM3U", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"swi333.bi\\t%%1, %%0\"", ")", ";", "output_asm_insn", "(", "pattern", ",", "operands", ")", ";", "break", ";", "case", "ADDRESS_FP_IMM7U", ":", "output_asm_insn", "(", "\"swi37\\t%1, %0\"", ",", "operands", ")", ";", "break", ";", "case", "ADDRESS_SP_IMM7U", ":", "operands", "[", "0", "]", "=", "XEXP", "(", "code", ",", "1", ")", ";", "output_asm_insn", "(", "\"swi37.sp\\t%1, [ + (%0)]\"", ",", "operands", ")", ";", "break", ";", "default", ":", "break", ";", "}", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "16-bit", "store", "."], "TS_V_token": ["nds32", "100", "0", "0", "0", "0", "\"swi450\\t%1, [%0]\"", "\"s%ci333\\t%%1, %%0\"", "\"swi333.bi\\t%%1, %%0, 4\"", "\"swi333.bi\\t%%1, %%0\"", "\"swi37\\t%1, %0\"", "0", "1", "\"swi37.sp\\t%1, [ + (%0)]\"", "\"\""], "File": "nds32-md-auxiliary", "Func": "nds32_output_16bit_store", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9234, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "arm_constant_alignment", "(", "const_tree", "exp", ",", "HOST_WIDE_INT", "align", ")", "{", "unsigned", "int", "factor", "=", "(", "TARGET_THUMB", "||", "!", "arm_tune_xscale", "?", "1", ":", "2", ")", ";", "if", "(", "TREE_CODE", "(", "exp", ")", "==", "STRING_CST", "&&", "!", "optimize_size", ")", "return", "MAX", "(", "align", ",", "BITS_PER_WORD", "*", "factor", ")", ";", "return", "align", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CONSTANT_ALIGNMENT", ".", "Make", "strings", "word-aligned", "so", "strcpy", "from", "constants", "will", "be", "faster", "."], "TS_V_token": ["arm", "1", "2"], "File": "arm", "Func": "arm_constant_alignment", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9235, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Triple", "::", "ObjectFormatType", "getFormat", "(", ")", "const", "override", "{", "return", "Triple", "::", "Hex", ";", "}", ""], "natrual_language": ["Return", "the", "DWARF", "format", "of", "this", "table", "."], "TS_V_token": ["LC2200"], "File": "LC2200HexObjectWriter", "Func": "getFormat", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9236, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "aarch64_sched_issue_rate", "(", "void", ")", "{", "return", "aarch64_tune_params", "->", "issue_rate", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "that", "can", "be", "issued", "per", "cycle", "."], "TS_V_token": ["aarch64"], "File": "aarch642", "Func": "aarch64_sched_issue_rate", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9237, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_validize_comparison", "(", "rtx", "*", "comparison", ",", "rtx", "*", "op1", ",", "rtx", "*", "op2", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "*", "comparison", ")", ";", "int", "code_int", ";", "machine_mode", "mode", "=", "(", "GET_MODE", "(", "*", "op1", ")", "==", "VOIDmode", ")", "?", "GET_MODE", "(", "*", "op2", ")", ":", "GET_MODE", "(", "*", "op1", ")", ";", "gcc_assert", "(", "GET_MODE", "(", "*", "op1", ")", "!=", "VOIDmode", "||", "GET_MODE", "(", "*", "op2", ")", "!=", "VOIDmode", ")", ";", "if", "(", "code", "==", "UNEQ", "||", "code", "==", "LTGT", ")", "return", "false", ";", "code_int", "=", "(", "int", ")", "code", ";", "arm_canonicalize_comparison", "(", "&", "code_int", ",", "op1", ",", "op2", ",", "0", ")", ";", "PUT_CODE", "(", "*", "comparison", ",", "(", "enum", "rtx_code", ")", "code_int", ")", ";", "switch", "(", "mode", ")", "{", "case", "SImode", ":", "if", "(", "!", "arm_add_operand", "(", "*", "op1", ",", "mode", ")", ")", "*", "op1", "=", "force_reg", "(", "mode", ",", "*", "op1", ")", ";", "if", "(", "!", "arm_add_operand", "(", "*", "op2", ",", "mode", ")", ")", "*", "op2", "=", "force_reg", "(", "mode", ",", "*", "op2", ")", ";", "return", "true", ";", "case", "DImode", ":", "if", "(", "!", "cmpdi_operand", "(", "*", "op1", ",", "mode", ")", ")", "*", "op1", "=", "force_reg", "(", "mode", ",", "*", "op1", ")", ";", "if", "(", "!", "cmpdi_operand", "(", "*", "op2", ",", "mode", ")", ")", "*", "op2", "=", "force_reg", "(", "mode", ",", "*", "op2", ")", ";", "return", "true", ";", "case", "SFmode", ":", "case", "DFmode", ":", "if", "(", "!", "arm_float_compare_operand", "(", "*", "op1", ",", "mode", ")", ")", "*", "op1", "=", "force_reg", "(", "mode", ",", "*", "op1", ")", ";", "if", "(", "!", "arm_float_compare_operand", "(", "*", "op2", ",", "mode", ")", ")", "*", "op2", "=", "force_reg", "(", "mode", ",", "*", "op2", ")", ";", "return", "true", ";", "default", ":", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "a", "valid", "comparison", "operation", "and", "makes", "the", "operands", "in", "a", "form", "that", "is", "valid", "."], "TS_V_token": ["arm", "0"], "File": "arm4", "Func": "arm_validize_comparison", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9238, "Length": 284, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "assign_fp_registers", "(", "const_tree", "field", ",", "HOST_WIDE_INT", "bitpos", ",", "assign_data_t", "*", "data", ")", "{", "int", "nregs", ";", "machine_mode", "mode", ";", "if", "(", "!", "compute_fp_layout", "(", "field", ",", "bitpos", ",", "data", ",", "&", "nregs", ",", "&", "mode", ")", ")", "return", ";", "const", "int", "this_slotno", "=", "data", "->", "slotno", "+", "bitpos", "/", "BITS_PER_WORD", ";", "int", "regno", "=", "SPARC_FP_ARG_FIRST", "+", "this_slotno", "*", "2", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "4", "&&", "(", "bitpos", "&", "32", ")", "!=", "0", ")", "regno", "++", ";", "int", "pos", "=", "bitpos", "/", "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", "(", "pos", ")", ")", ";", "data", "->", "nregs", "+=", "1", ";", "regno", "+=", "GET_MODE_SIZE", "(", "mode", ")", "/", "4", ";", "pos", "+=", "GET_MODE_SIZE", "(", "mode", ")", ";", "}", "while", "(", "--", "nregs", ">", "0", ")", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "function_arg_record_value", ".", "Assign", "FIELD", "at", "position", "BITPOS", "to", "FP", "registers", "."], "TS_V_token": ["sparc", "2", "4", "32", "0", "0", "1", "4", "0"], "File": "sparc5", "Func": "assign_fp_registers", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9239, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_initialize_bounds", "(", "tree", "var", ",", "tree", "lb", ",", "tree", "ub", ",", "tree", "*", "stmts", ")", "{", "tree", "bnd_ptr", "=", "build_pointer_type", "(", "pointer_sized_int_node", ")", ";", "tree", "lhs", ",", "modify", ",", "var_p", ";", "ub", "=", "build1", "(", "BIT_NOT_EXPR", ",", "pointer_sized_int_node", ",", "ub", ")", ";", "var_p", "=", "fold_convert", "(", "bnd_ptr", ",", "build_fold_addr_expr", "(", "var", ")", ")", ";", "lhs", "=", "build1", "(", "INDIRECT_REF", ",", "pointer_sized_int_node", ",", "var_p", ")", ";", "modify", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "lhs", ")", ",", "lhs", ",", "lb", ")", ";", "append_to_statement_list", "(", "modify", ",", "stmts", ")", ";", "lhs", "=", "build1", "(", "INDIRECT_REF", ",", "pointer_sized_int_node", ",", "build2", "(", "POINTER_PLUS_EXPR", ",", "bnd_ptr", ",", "var_p", ",", "TYPE_SIZE_UNIT", "(", "pointer_sized_int_node", ")", ")", ")", ";", "modify", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "lhs", ")", ",", "lhs", ",", "ub", ")", ";", "append_to_statement_list", "(", "modify", ",", "stmts", ")", ";", "return", "2", ";", "}", ""], "natrual_language": ["Generate", "a", "list", "of", "statements", "STMTS", "to", "initialize", "pointer", "bounds", "variable", "VAR", "with", "bounds", "LB", "and", "UB", ".", "Return", "the", "number", "of", "generated", "statements", "."], "TS_V_token": ["i386", "2"], "File": "i3864", "Func": "ix86_initialize_bounds", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9240, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"AArch64 Store Pair Suppression\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64", "\"AArch64 Store Pair Suppression\""], "File": "AArch64StorePairSuppress", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9241, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMOperand", "::", "dump", "(", "raw_ostream", "&", "OS", ")", "const", "{", "switch", "(", "Kind", ")", "{", "case", "CondCode", ":", "OS", "<<", "ARMCondCodeToString", "(", "getCondCode", "(", ")", ")", ";", "break", ";", "case", "Immediate", ":", "getImm", "(", ")", "->", "print", "(", "OS", ")", ";", "break", ";", "case", "Memory", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "Register", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "Token", ":", "OS", "<<", "\"'\"", "<<", "getToken", "(", ")", "<<", "\"'\"", ";", "break", ";", "}", "}", ""], "natrual_language": ["Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "."], "TS_V_token": ["ARM", "ARM", "ARM", "\"\"", "\"\"", "\"'\"", "\"'\""], "File": "ARMAsmParser32", "Func": "dump", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9242, "Length": 85, "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": 9243, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LC2200InstrInfo", "::", "analyzeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "&", "TBB", ",", "MachineBasicBlock", "*", "&", "FBB", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "bool", "AllowModify", ")", "const", "{", "MachineBasicBlock", "::", "reverse_iterator", "I", "=", "MBB", ".", "rbegin", "(", ")", ",", "REnd", "=", "MBB", ".", "rend", "(", ")", ";", "while", "(", "I", "!=", "REnd", "&&", "I", "->", "isDebugInstr", "(", ")", ")", "++", "I", ";", "if", "(", "I", "==", "REnd", "||", "!", "isUnpredicatedTerminator", "(", "*", "I", ")", ")", "{", "TBB", "=", "FBB", "=", "nullptr", ";", "return", "false", ";", "}", "SmallVector", "<", "MachineInstr", "*", ",", "4", ">", "BranchInstrs", ";", "MachineInstr", "*", "LastInst", "=", "&", "*", "I", ";", "unsigned", "LastOpc", "=", "LastInst", "->", "getOpcode", "(", ")", ";", "BranchInstrs", ".", "push_back", "(", "LastInst", ")", ";", "if", "(", "!", "getAnalyzableBrOpc", "(", "LastOpc", ")", ")", "return", "true", ";", "unsigned", "SecondLastOpc", "=", "0", ";", "MachineInstr", "*", "SecondLastInst", "=", "nullptr", ";", "++", "I", ";", "while", "(", "I", "!=", "REnd", "&&", "I", "->", "isDebugInstr", "(", ")", ")", "++", "I", ";", "if", "(", "I", "!=", "REnd", ")", "{", "SecondLastInst", "=", "&", "*", "I", ";", "SecondLastOpc", "=", "SecondLastInst", "->", "getOpcode", "(", ")", ";", "if", "(", "isUnpredicatedTerminator", "(", "*", "SecondLastInst", ")", "&&", "!", "getAnalyzableBrOpc", "(", "SecondLastOpc", ")", ")", "return", "true", ";", "}", "if", "(", "!", "SecondLastOpc", "||", "(", "SecondLastOpc", "!=", "LC2200", "::", "JMP", "&&", "SecondLastOpc", "!=", "LC2200", "::", "CMP_JMP", "&&", "SecondLastOpc", "!=", "LC2200", "::", "GOTO", ")", ")", "{", "if", "(", "LastInst", "->", "isUnconditionalBranch", "(", ")", ")", "{", "TBB", "=", "LastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "return", "false", ";", "}", "AnalyzeCondBr", "(", "LastInst", ",", "LastOpc", ",", "TBB", ",", "Cond", ")", ";", "return", "false", ";", "}", "if", "(", "++", "I", "!=", "REnd", "&&", "isUnpredicatedTerminator", "(", "*", "I", ")", ")", "return", "true", ";", "BranchInstrs", ".", "insert", "(", "BranchInstrs", ".", "begin", "(", ")", ",", "SecondLastInst", ")", ";", "if", "(", "SecondLastInst", "->", "isUnconditionalBranch", "(", ")", ")", "{", "if", "(", "!", "AllowModify", ")", "{", "return", "true", ";", "}", "TBB", "=", "SecondLastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "LastInst", "->", "eraseFromParent", "(", ")", ";", "BranchInstrs", ".", "pop_back", "(", ")", ";", "return", "false", ";", "}", "if", "(", "!", "LastInst", "->", "isUnconditionalBranch", "(", ")", ")", "return", "true", ";", "AnalyzeCondBr", "(", "SecondLastInst", ",", "SecondLastOpc", ",", "TBB", ",", "Cond", ")", ";", "FBB", "=", "LastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "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": ["LC2200", "LC2200", "4", "0", "LC2200::JMP", "LC2200::CMP_JMP", "LC2200::GOTO", "0", "0", "0"], "File": "LC2200InstrInfo", "Func": "analyzeBranch", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9244, "Length": 385, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "CJGRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "return", "CC_Save_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["CJG", "CJG"], "File": "CJGRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9245, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "reg_class", "xstormy16_preferred_reload_class", "(", "rtx", "x", ",", "enum", "reg_class", "class", ")", "{", "if", "(", "class", "==", "GENERAL_REGS", "&&", "GET_CODE", "(", "x", ")", "==", "MEM", ")", "return", "EIGHT_REGS", ";", "return", "class", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_PREFERRED_RELOAD_CLASS", "and", "TARGET_PREFERRED_OUTPUT_RELOAD_CLASS", "."], "TS_V_token": ["stormy16"], "File": "stormy163", "Func": "xstormy16_preferred_reload_class", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9246, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sh_setup_incoming_varargs", "(", "cumulative_args_t", "ca", ",", "machine_mode", "mode", ",", "tree", "type", ",", "int", "*", "pretend_arg_size", ",", "int", "second_time", "ATTRIBUTE_UNUSED", ")", "{", "gcc_assert", "(", "cfun", "->", "stdarg", ")", ";", "if", "(", "TARGET_VARARGS_PRETEND_ARGS", "(", "current_function_decl", ")", ")", "{", "int", "named_parm_regs", ",", "anon_parm_regs", ";", "named_parm_regs", "=", "(", "sh_round_reg", "(", "*", "get_cumulative_args", "(", "ca", ")", ",", "mode", ")", "+", "(", "mode", "==", "BLKmode", "?", "CEIL", "(", "int_size_in_bytes", "(", "type", ")", ",", "UNITS_PER_WORD", ")", ":", "CEIL", "(", "GET_MODE_SIZE", "(", "mode", ")", ",", "UNITS_PER_WORD", ")", ")", ")", ";", "anon_parm_regs", "=", "NPARM_REGS", "(", "SImode", ")", "-", "named_parm_regs", ";", "if", "(", "anon_parm_regs", ">", "0", ")", "*", "pretend_arg_size", "=", "anon_parm_regs", "*", "4", ";", "}", "}", ""], "natrual_language": ["We", "actually", "emit", "the", "code", "in", "sh_expand_prologue", ".", "We", "used", "to", "use", "a", "static", "variable", "to", "flag", "that", "we", "need", "to", "emit", "this", "code", ",", "but", "that", "does", "n't", "when", "inlining", ",", "when", "functions", "are", "deferred", "and", "then", "emitted", "later", ".", "Fortunately", ",", "we", "already", "have", "two", "flags", "that", "are", "part", "of", "struct", "function", "that", "tell", "if", "a", "function", "uses", "varargs", "or", "stdarg", "."], "TS_V_token": ["sh", "0", "4"], "File": "sh4", "Func": "sh_setup_incoming_varargs", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9247, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "::", "HazardType", "ARMBankConflictHazardRecognizer", "::", "getHazardType", "(", "SUnit", "*", "SU", ",", "int", "Stalls", ")", "{", "MachineInstr", "&", "L0", "=", "*", "SU", "->", "getInstr", "(", ")", ";", "if", "(", "!", "L0", ".", "mayLoad", "(", ")", "||", "L0", ".", "mayStore", "(", ")", "||", "L0", ".", "getNumMemOperands", "(", ")", "!=", "1", ")", "return", "NoHazard", ";", "auto", "MO0", "=", "*", "L0", ".", "memoperands", "(", ")", ".", "begin", "(", ")", ";", "auto", "BaseVal0", "=", "MO0", "->", "getValue", "(", ")", ";", "auto", "BasePseudoVal0", "=", "MO0", "->", "getPseudoValue", "(", ")", ";", "int64_t", "Offset0", "=", "0", ";", "if", "(", "MO0", "->", "getSize", "(", ")", ">", "4", ")", "return", "NoHazard", ";", "bool", "SPvalid", "=", "false", ";", "const", "MachineOperand", "*", "SP", "=", "nullptr", ";", "int64_t", "SPOffset0", "=", "0", ";", "for", "(", "auto", "L1", ":", "Accesses", ")", "{", "auto", "MO1", "=", "*", "L1", "->", "memoperands", "(", ")", ".", "begin", "(", ")", ";", "auto", "BaseVal1", "=", "MO1", "->", "getValue", "(", ")", ";", "auto", "BasePseudoVal1", "=", "MO1", "->", "getPseudoValue", "(", ")", ";", "int64_t", "Offset1", "=", "0", ";", "if", "(", "BaseVal0", "&&", "BaseVal1", ")", "{", "const", "Value", "*", "Ptr0", ",", "*", "Ptr1", ";", "Ptr0", "=", "GetPointerBaseWithConstantOffset", "(", "BaseVal0", ",", "Offset0", ",", "DL", ",", "true", ")", ";", "Ptr1", "=", "GetPointerBaseWithConstantOffset", "(", "BaseVal1", ",", "Offset1", ",", "DL", ",", "true", ")", ";", "if", "(", "Ptr0", "==", "Ptr1", "&&", "Ptr0", ")", "return", "CheckOffsets", "(", "Offset0", ",", "Offset1", ")", ";", "}", "if", "(", "BasePseudoVal0", "&&", "BasePseudoVal1", "&&", "BasePseudoVal0", "->", "kind", "(", ")", "==", "BasePseudoVal1", "->", "kind", "(", ")", "&&", "BasePseudoVal0", "->", "kind", "(", ")", "==", "PseudoSourceValue", "::", "FixedStack", ")", "{", "auto", "FS0", "=", "cast", "<", "FixedStackPseudoSourceValue", ">", "(", "BasePseudoVal0", ")", ";", "auto", "FS1", "=", "cast", "<", "FixedStackPseudoSourceValue", ">", "(", "BasePseudoVal1", ")", ";", "Offset0", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectOffset", "(", "FS0", "->", "getFrameIndex", "(", ")", ")", ";", "Offset1", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectOffset", "(", "FS1", "->", "getFrameIndex", "(", ")", ")", ";", "return", "CheckOffsets", "(", "Offset0", ",", "Offset1", ")", ";", "}", "if", "(", "BasePseudoVal0", "&&", "BasePseudoVal1", "&&", "BasePseudoVal0", "->", "kind", "(", ")", "==", "BasePseudoVal1", "->", "kind", "(", ")", "&&", "BasePseudoVal0", "->", "isConstantPool", "(", ")", "&&", "AssumeITCMBankConflict", ")", "return", "Hazard", ";", "if", "(", "!", "SPvalid", ")", "{", "if", "(", "!", "getBaseOffset", "(", "L0", ",", "SP", ",", "SPOffset0", ")", "||", "SP", "->", "getReg", "(", ")", ".", "id", "(", ")", "!=", "ARM", "::", "SP", ")", "SP", "=", "nullptr", ";", "SPvalid", "=", "true", ";", "}", "if", "(", "SP", ")", "{", "int64_t", "SPOffset1", ";", "const", "MachineOperand", "*", "SP1", ";", "if", "(", "getBaseOffset", "(", "*", "L1", ",", "SP1", ",", "SPOffset1", ")", "&&", "SP1", "->", "getReg", "(", ")", ".", "id", "(", ")", "==", "ARM", "::", "SP", ")", "return", "CheckOffsets", "(", "SPOffset0", ",", "SPOffset1", ")", ";", "}", "}", "return", "NoHazard", ";", "}", ""], "natrual_language": ["getHazardType", "-", "Return", "the", "hazard", "type", "of", "emitting", "this", "node", "."], "TS_V_token": ["ARM", "ARM", "1", "0", "4", "0", "0", "ARM::SP", "ARM::SP"], "File": "ARMHazardRecognizer19", "Func": "getHazardType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9248, "Length": 439, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "initialize", "(", "MF", ")", ";", "unskipableSimplifyCode", "(", ")", ";", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "return", "simplifyCode", "(", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC"], "File": "PPCMIPeephole5", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9249, "Length": 38, "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": 9250, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ",", "MCContext", "&", "Ctx", ")", "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": "X86AsmBackend7", "Func": "applyFixup", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9251, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mep_function_value", "(", "const_tree", "type", ",", "const_tree", "func", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_IVC2", "&&", "VECTOR_TYPE_P", "(", "type", ")", ")", "return", "gen_rtx_REG", "(", "TYPE_MODE", "(", "type", ")", ",", "48", ")", ";", "return", "gen_rtx_REG", "(", "TYPE_MODE", "(", "type", ")", ",", "RETURN_VALUE_REGNUM", ")", ";", "}", ""], "natrual_language": ["Implement", "FUNCTION_VALUE", ".", "All", "values", "are", "returned", "in", "$", "0", "."], "TS_V_token": ["mep", "48"], "File": "mep", "Func": "mep_function_value", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9252, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "som_text_section_asm_op", "(", "void", ")", "{", "if", "(", "!", "TARGET_SOM", ")", "return", "\"\"", ";", "if", "(", "TARGET_GAS", ")", "{", "if", "(", "cfun", "&&", "!", "cfun", "->", "machine", "->", "in_nsubspa", ")", "{", "cfun", "->", "machine", "->", "in_nsubspa", "=", "1", ";", "if", "(", "cfun", "->", "decl", "&&", "DECL_ONE_ONLY", "(", "cfun", "->", "decl", ")", "&&", "!", "DECL_WEAK", "(", "cfun", "->", "decl", ")", ")", "return", "\"\\t.SPACE $TEXT$\\n\\t.NSUBSPA $CODE$,QUAD=0,ALIGN=8,ACCESS=44,SORT=24,COMDAT\"", ";", "}", "else", "{", "forget_section", "(", ")", ";", "}", "return", "\"\\t.SPACE $TEXT$\\n\\t.NSUBSPA $CODE$\"", ";", "}", "return", "\"\\t.SPACE $TEXT$\\n\\t.SUBSPA $CODE$\"", ";", "}", ""], "natrual_language": ["Return", "a", "string", "to", "output", "before", "text", "in", "the", "current", "function", ".", "This", "function", "is", "only", "used", "with", "SOM", ".", "Because", "we", "do", "n't", "support", "named", "subspaces", ",", "we", "can", "only", "create", "a", "new", "subspace", "or", "switch", "back", "to", "the", "default", "text", "subspace", "."], "TS_V_token": ["pa", "\"\"", "1", "\"\\t.SPACE $TEXT$\\n\\t.NSUBSPA $CODE$,QUAD=0,ALIGN=8,ACCESS=44,SORT=24,COMDAT\"", "\"\\t.SPACE $TEXT$\\n\\t.NSUBSPA $CODE$\"", "\"\\t.SPACE $TEXT$\\n\\t.SUBSPA $CODE$\""], "File": "pa3", "Func": "som_text_section_asm_op", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9253, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"SPARC DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Sparc", "\"SPARC DAG->DAG Pattern Instruction Selection\""], "File": "SparcISelDAGToDAG (2)", "Func": "getPassName", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9254, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_legitimize_tls_address_aix", "(", "rtx", "addr", ",", "enum", "tls_model", "model", ")", "{", "rtx", "sym", ",", "mem", ",", "tocref", ",", "tlsreg", ",", "tmpreg", ",", "dest", ",", "tlsaddr", ";", "const", "char", "*", "name", ";", "char", "*", "tlsname", ";", "name", "=", "XSTR", "(", "addr", ",", "0", ")", ";", "if", "(", "name", "[", "strlen", "(", "name", ")", "-", "1", "]", "!=", "']'", "&&", "(", "TREE_PUBLIC", "(", "SYMBOL_REF_DECL", "(", "addr", ")", ")", "||", "bss_initializer_p", "(", "SYMBOL_REF_DECL", "(", "addr", ")", ")", ")", ")", "{", "tlsname", "=", "XALLOCAVEC", "(", "char", ",", "strlen", "(", "name", ")", "+", "4", ")", ";", "strcpy", "(", "tlsname", ",", "name", ")", ";", "strcat", "(", "tlsname", ",", "bss_initializer_p", "(", "SYMBOL_REF_DECL", "(", "addr", ")", ")", "?", "\"[UL]\"", ":", "\"[TL]\"", ")", ";", "tlsaddr", "=", "copy_rtx", "(", "addr", ")", ";", "XSTR", "(", "tlsaddr", ",", "0", ")", "=", "ggc_strdup", "(", "tlsname", ")", ";", "}", "else", "tlsaddr", "=", "addr", ";", "sym", "=", "force_const_mem", "(", "GET_MODE", "(", "tlsaddr", ")", ",", "tlsaddr", ")", ";", "if", "(", "constant_pool_expr_p", "(", "XEXP", "(", "sym", ",", "0", ")", ")", "&&", "ASM_OUTPUT_SPECIAL_POOL_ENTRY_P", "(", "get_pool_constant", "(", "XEXP", "(", "sym", ",", "0", ")", ")", ",", "Pmode", ")", ")", "{", "tocref", "=", "create_TOC_reference", "(", "XEXP", "(", "sym", ",", "0", ")", ",", "NULL_RTX", ")", ";", "mem", "=", "gen_const_mem", "(", "Pmode", ",", "tocref", ")", ";", "set_mem_alias_set", "(", "mem", ",", "get_TOC_alias_set", "(", ")", ")", ";", "}", "else", "return", "sym", ";", "if", "(", "model", "==", "TLS_MODEL_GLOBAL_DYNAMIC", "||", "model", "==", "TLS_MODEL_LOCAL_DYNAMIC", ")", "{", "name", "=", "XSTR", "(", "XVECEXP", "(", "XEXP", "(", "mem", ",", "0", ")", ",", "0", ",", "0", ")", ",", "0", ")", ";", "tlsname", "=", "XALLOCAVEC", "(", "char", ",", "strlen", "(", "name", ")", "+", "1", ")", ";", "strcpy", "(", "tlsname", ",", "\"*LCM\"", ")", ";", "strcat", "(", "tlsname", ",", "name", "+", "3", ")", ";", "rtx", "modaddr", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "ggc_strdup", "(", "tlsname", ")", ")", ";", "SYMBOL_REF_FLAGS", "(", "modaddr", ")", "|=", "SYMBOL_FLAG_LOCAL", ";", "tocref", "=", "create_TOC_reference", "(", "modaddr", ",", "NULL_RTX", ")", ";", "rtx", "modmem", "=", "gen_const_mem", "(", "Pmode", ",", "tocref", ")", ";", "set_mem_alias_set", "(", "modmem", ",", "get_TOC_alias_set", "(", ")", ")", ";", "rtx", "modreg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "modreg", ",", "modmem", ")", ")", ";", "tmpreg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "tmpreg", ",", "mem", ")", ")", ";", "dest", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "if", "(", "TARGET_32BIT", ")", "emit_insn", "(", "gen_tls_get_addrsi", "(", "dest", ",", "modreg", ",", "tmpreg", ")", ")", ";", "else", "emit_insn", "(", "gen_tls_get_addrdi", "(", "dest", ",", "modreg", ",", "tmpreg", ")", ")", ";", "return", "dest", ";", "}", "else", "if", "(", "TARGET_32BIT", ")", "{", "tlsreg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_tls_get_tpointer", "(", "tlsreg", ")", ")", ";", "}", "else", "tlsreg", "=", "gen_rtx_REG", "(", "DImode", ",", "13", ")", ";", "tmpreg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "tmpreg", ",", "mem", ")", ")", ";", "set_unique_reg_note", "(", "get_last_insn", "(", ")", ",", "REG_EQUAL", ",", "gen_rtx_MINUS", "(", "Pmode", ",", "addr", ",", "tlsreg", ")", ")", ";", "dest", "=", "force_reg", "(", "Pmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "tmpreg", ",", "tlsreg", ")", ")", ";", "return", "dest", ";", "}", ""], "natrual_language": ["AIX", "Thread-Local", "Address", "support", "."], "TS_V_token": ["rs6000", "0", "1", "4", "\"[UL]\"", "\"[TL]\"", "0", "0", "0", "0", "0", "0", "0", "0", "1", "\"*LCM\"", "3", "13"], "File": "rs60004", "Func": "rs6000_legitimize_tls_address_aix", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9255, "Length": 496, "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": 9256, "Length": 77, "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": 9257, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc_emit_floatunsdi", "(", "rtx", "*", "operands", ",", "enum", "machine_mode", "mode", ")", "{", "rtx", "neglab", ",", "donelab", ",", "i0", ",", "i1", ",", "f0", ",", "in", ",", "out", ";", "out", "=", "operands", "[", "0", "]", ";", "in", "=", "force_reg", "(", "DImode", ",", "operands", "[", "1", "]", ")", ";", "neglab", "=", "gen_label_rtx", "(", ")", ";", "donelab", "=", "gen_label_rtx", "(", ")", ";", "i0", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "i1", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "f0", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_cmp_and_jump_insns", "(", "in", ",", "const0_rtx", ",", "LT", ",", "const0_rtx", ",", "DImode", ",", "0", ",", "neglab", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "out", ",", "gen_rtx_FLOAT", "(", "mode", ",", "in", ")", ")", ")", ";", "emit_jump_insn", "(", "gen_jump", "(", "donelab", ")", ")", ";", "emit_barrier", "(", ")", ";", "emit_label", "(", "neglab", ")", ";", "emit_insn", "(", "gen_lshrdi3", "(", "i0", ",", "in", ",", "const1_rtx", ")", ")", ";", "emit_insn", "(", "gen_anddi3", "(", "i1", ",", "in", ",", "const1_rtx", ")", ")", ";", "emit_insn", "(", "gen_iordi3", "(", "i0", ",", "i0", ",", "i1", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "f0", ",", "gen_rtx_FLOAT", "(", "mode", ",", "i0", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "out", ",", "gen_rtx_PLUS", "(", "mode", ",", "f0", ",", "f0", ")", ")", ")", ";", "emit_label", "(", "donelab", ")", ";", "}", ""], "natrual_language": ["Generate", "an", "unsigned", "DImode", "to", "FP", "conversion", ".", "This", "is", "the", "same", "code", "optabs", "would", "emit", "if", "we", "did", "n't", "have", "TFmode", "patterns", "."], "TS_V_token": ["sparc", "0", "1", "0"], "File": "sparc3", "Func": "sparc_emit_floatunsdi", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9258, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "function_arg_32", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "machine_mode", "mode", ",", "machine_mode", "orig_mode", ",", "const_tree", "type", ",", "HOST_WIDE_INT", "bytes", ",", "HOST_WIDE_INT", "words", ")", "{", "bool", "error_p", "=", "false", ";", "if", "(", "mode", "==", "VOIDmode", ")", "return", "constm1_rtx", ";", "if", "(", "TARGET_IAMCU", ")", "{", "if", "(", "!", "VECTOR_MODE_P", "(", "mode", ")", "&&", "bytes", "<=", "8", ")", "goto", "pass_in_reg", ";", "return", "NULL_RTX", ";", "}", "switch", "(", "mode", ")", "{", "default", ":", "break", ";", "case", "BLKmode", ":", "if", "(", "bytes", "<", "0", ")", "break", ";", "case", "DImode", ":", "case", "SImode", ":", "case", "HImode", ":", "case", "QImode", ":", "pass_in_reg", ":", "if", "(", "words", "<=", "cum", "->", "nregs", ")", "{", "int", "regno", "=", "cum", "->", "regno", ";", "if", "(", "cum", "->", "fastcall", ")", "{", "if", "(", "mode", "==", "BLKmode", "||", "mode", "==", "DImode", "||", "(", "type", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", ")", ")", "break", ";", "if", "(", "regno", "==", "AX_REG", ")", "regno", "=", "CX_REG", ";", "}", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "}", "break", ";", "case", "DFmode", ":", "if", "(", "cum", "->", "float_in_sse", "==", "-", "1", ")", "error_p", "=", "1", ";", "if", "(", "cum", "->", "float_in_sse", "<", "2", ")", "break", ";", "case", "SFmode", ":", "if", "(", "cum", "->", "float_in_sse", "==", "-", "1", ")", "error_p", "=", "1", ";", "if", "(", "cum", "->", "float_in_sse", "<", "1", ")", "break", ";", "case", "TImode", ":", "case", "V16QImode", ":", "case", "V8HImode", ":", "case", "V4SImode", ":", "case", "V2DImode", ":", "case", "V4SFmode", ":", "case", "V2DFmode", ":", "if", "(", "!", "type", "||", "!", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "if", "(", "cum", "->", "sse_nregs", ")", "return", "gen_reg_or_parallel", "(", "mode", ",", "orig_mode", ",", "cum", "->", "sse_regno", "+", "FIRST_SSE_REG", ")", ";", "}", "break", ";", "case", "OImode", ":", "case", "XImode", ":", "gcc_unreachable", "(", ")", ";", "case", "V64QImode", ":", "case", "V32HImode", ":", "case", "V16SImode", ":", "case", "V8DImode", ":", "case", "V16SFmode", ":", "case", "V8DFmode", ":", "case", "V8SFmode", ":", "case", "V8SImode", ":", "case", "V32QImode", ":", "case", "V16HImode", ":", "case", "V4DFmode", ":", "case", "V4DImode", ":", "if", "(", "!", "type", "||", "!", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "if", "(", "cum", "->", "sse_nregs", ")", "return", "gen_reg_or_parallel", "(", "mode", ",", "orig_mode", ",", "cum", "->", "sse_regno", "+", "FIRST_SSE_REG", ")", ";", "}", "break", ";", "case", "V8QImode", ":", "case", "V4HImode", ":", "case", "V2SImode", ":", "case", "V2SFmode", ":", "case", "V1TImode", ":", "case", "V1DImode", ":", "if", "(", "!", "type", "||", "!", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "if", "(", "cum", "->", "mmx_nregs", ")", "return", "gen_reg_or_parallel", "(", "mode", ",", "orig_mode", ",", "cum", "->", "mmx_regno", "+", "FIRST_MMX_REG", ")", ";", "}", "break", ";", "}", "if", "(", "error_p", ")", "{", "cum", "->", "float_in_sse", "=", "0", ";", "error", "(", "\"calling %qD with SSE calling convention without \"", "\"SSE/SSE2 enabled\"", ",", "cum", "->", "decl", ")", ";", "sorry", "(", "\"this is a GCC bug that can be worked around by adding \"", "\"attribute used to function called\"", ")", ";", "}", "return", "NULL_RTX", ";", "}", ""], "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", ")", "."], "TS_V_token": ["i386", "8", "0", "1", "1", "2", "1", "1", "1", "0", "\"calling %qD with SSE calling convention without \"", "\"SSE/SSE2 enabled\"", "\"this is a GCC bug that can be worked around by adding \"", "\"attribute used to function called\""], "File": "i3865", "Func": "function_arg_32", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9259, "Length": 437, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ")", "const", "{", "EVT", "VT", "=", "getValueType", "(", "DL", ",", "Ty", ",", "true", ")", ";", "if", "(", "!", "isLegalAddressImmediate", "(", "AM", ".", "BaseOffs", ",", "VT", ",", "Subtarget", ")", ")", "return", "false", ";", "if", "(", "AM", ".", "BaseGV", ")", "return", "false", ";", "switch", "(", "AM", ".", "Scale", ")", "{", "case", "0", ":", "break", ";", "case", "1", ":", "if", "(", "Subtarget", "->", "isThumb1Only", "(", ")", ")", "return", "false", ";", "LLVM_FALLTHROUGH", ";", "default", ":", "if", "(", "AM", ".", "BaseOffs", ")", "return", "false", ";", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "if", "(", "Subtarget", "->", "isThumb2", "(", ")", ")", "return", "isLegalT2ScaledAddressingMode", "(", "AM", ",", "VT", ")", ";", "int", "Scale", "=", "AM", ".", "Scale", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "return", "false", ";", "case", "MVT", "::", "i1", ":", "case", "MVT", "::", "i8", ":", "case", "MVT", "::", "i32", ":", "if", "(", "Scale", "<", "0", ")", "Scale", "=", "-", "Scale", ";", "if", "(", "Scale", "==", "1", ")", "return", "true", ";", "return", "isPowerOf2_32", "(", "Scale", "&", "~", "1", ")", ";", "case", "MVT", "::", "i16", ":", "case", "MVT", "::", "i64", ":", "if", "(", "(", "(", "unsigned", ")", "AM", ".", "HasBaseReg", "+", "Scale", ")", "<=", "2", ")", "return", "true", ";", "return", "false", ";", "case", "MVT", "::", "isVoid", ":", "if", "(", "Scale", "&", "1", ")", "return", "false", ";", "return", "isPowerOf2_32", "(", "Scale", ")", ";", "}", "}", "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": ["ARM", "ARM", "0", "1", "MVT::i1", "MVT::i8", "MVT::i32", "0", "1", "1", "MVT::i16", "MVT::i64", "2", "MVT::isVoid", "1"], "File": "ARMISelLowering117", "Func": "isLegalAddressingMode", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9260, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb2InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "*", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "&", "ARM", "::", "GPRRegClass", "||", "RC", "==", "&", "ARM", "::", "tGPRRegClass", "||", "RC", "==", "&", "ARM", "::", "tcGPRRegClass", "||", "RC", "==", "&", "ARM", "::", "rGPRRegClass", "||", "RC", "==", "&", "ARM", "::", "GPRnopcRegClass", ")", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "t2LDRi12", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ")", ";", "return", ";", "}", "if", "(", "ARM", "::", "GPRPairRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "MachineRegisterInfo", "*", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "MRI", "->", "constrainRegClass", "(", "DestReg", ",", "&", "ARM", "::", "GPRPair_with_gsub_1_in_rGPRRegClass", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "t2LDRDi8", ")", ")", ";", "AddDReg", "(", "MIB", ",", "DestReg", ",", "ARM", "::", "gsub_0", ",", "RegState", "::", "DefineNoRead", ",", "TRI", ")", ";", "AddDReg", "(", "MIB", ",", "DestReg", ",", "ARM", "::", "gsub_1", ",", "RegState", "::", "DefineNoRead", ",", "TRI", ")", ";", "MIB", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "AddDefaultPred", "(", "MIB", ")", ";", "if", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "DestReg", ")", ")", "MIB", ".", "addReg", "(", "DestReg", ",", "RegState", "::", "ImplicitDefine", ")", ";", "return", ";", "}", "ARMBaseInstrInfo", "::", "loadRegFromStackSlot", "(", "MBB", ",", "I", ",", "DestReg", ",", "FI", ",", "RC", ",", "TRI", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM::GPRRegClass", "ARM::tGPRRegClass", "ARM::tcGPRRegClass", "ARM::rGPRRegClass", "ARM::GPRnopcRegClass", "ARM::t2LDRi12", "0", "ARM::GPRPairRegClass", "ARM::GPRPair_with_gsub_1_in_rGPRRegClass", "ARM::t2LDRDi8", "ARM::gsub_0", "ARM::gsub_1", "0", "ARM"], "File": "Thumb2InstrInfo (2)", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9261, "Length": 339, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "csky_cannot_force_const_mem", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ")", "{", "return", "csky_tls_referenced_p", "(", "x", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CANNOT_FORCE_CONST_MEM", ".", "Determine", "if", "it", "'s", "legal", "to", "put", "X", "into", "the", "constant", "pool", ".", "This", "is", "not", "possible", "for", "the", "address", "of", "thread-local", "symbols", ",", "which", "is", "checked", "above", "."], "TS_V_token": ["csky"], "File": "csky", "Func": "csky_cannot_force_const_mem", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9262, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "MipsFrameLowering", "::", "estimateStackSize", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterInfo", "&", "TRI", "=", "*", "STI", ".", "getRegisterInfo", "(", ")", ";", "int64_t", "Offset", "=", "0", ";", "for", "(", "int", "I", "=", "MFI", "->", "getObjectIndexBegin", "(", ")", ";", "I", "!=", "0", ";", "++", "I", ")", "Offset", "=", "std", "::", "max", "(", "Offset", ",", "-", "MFI", "->", "getObjectOffset", "(", "I", ")", ")", ";", "for", "(", "const", "MCPhysReg", "*", "R", "=", "TRI", ".", "getCalleeSavedRegs", "(", "&", "MF", ")", ";", "*", "R", ";", "++", "R", ")", "{", "unsigned", "Size", "=", "TRI", ".", "getMinimalPhysRegClass", "(", "*", "R", ")", "->", "getSize", "(", ")", ";", "Offset", "=", "RoundUpToAlignment", "(", "Offset", "+", "Size", ",", "Size", ")", ";", "}", "unsigned", "MaxAlign", "=", "MFI", "->", "getMaxAlignment", "(", ")", ";", "assert", "(", "!", "MFI", "->", "getObjectIndexEnd", "(", ")", "||", "MaxAlign", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "MFI", "->", "getObjectIndexEnd", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Offset", "=", "RoundUpToAlignment", "(", "Offset", "+", "MFI", "->", "getObjectSize", "(", "I", ")", ",", "MaxAlign", ")", ";", "if", "(", "MFI", "->", "adjustsStack", "(", ")", "&&", "hasReservedCallFrame", "(", "MF", ")", ")", "Offset", "=", "RoundUpToAlignment", "(", "Offset", "+", "MFI", "->", "getMaxCallFrameSize", "(", ")", ",", "std", "::", "max", "(", "MaxAlign", ",", "getStackAlignment", "(", ")", ")", ")", ";", "return", "RoundUpToAlignment", "(", "Offset", ",", "getStackAlignment", "(", ")", ")", ";", "}", ""], "natrual_language": ["Estimate", "and", "return", "the", "size", "of", "the", "stack", "frame", "."], "TS_V_token": ["Mips", "Mips", "0", "0", "0"], "File": "MipsFrameLowering (2)", "Func": "estimateStackSize", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9263, "Length": 231, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "recordRelocation", "(", "MachObjectWriter", "*", "Writer", ",", "MCAssembler", "&", "Asm", ",", "const", "MCAsmLayout", "&", "Layout", ",", "const", "MCFragment", "*", "Fragment", ",", "const", "MCFixup", "&", "Fixup", ",", "MCValue", "Target", ",", "uint64_t", "&", "FixedValue", ")", "override", "{", "const", "MCFixupKind", "FK", "=", "Fixup", ".", "getKind", "(", ")", ";", "bool", "ADefined", "=", "false", ";", "const", "MCSymbol", "*", "A", "=", "nullptr", ";", "int32_t", "AOffs", "=", "0", ";", "if", "(", "Target", ".", "getSymA", "(", ")", ")", "A", "=", "&", "Target", ".", "getSymA", "(", ")", "->", "getSymbol", "(", ")", ";", "if", "(", "A", "!=", "nullptr", "&&", "A", "->", "getFragment", "(", ")", "!=", "nullptr", ")", "{", "ADefined", "=", "true", ";", "AOffs", "=", "Target", ".", "getConstant", "(", ")", "+", "Layout", ".", "getFragmentOffset", "(", "Fragment", ")", ";", "}", "if", "(", "!", "Target", ".", "getSymB", "(", ")", "&&", "(", "!", "ADefined", "||", "Target", ".", "getConstant", "(", ")", "==", "0", "||", "AOffs", ">", "0x00ffffff", ")", ")", "recordRegularRelocation", "(", "Writer", ",", "Asm", ",", "Layout", ",", "Fragment", ",", "Fixup", ",", "Target", ",", "FixedValue", ",", "FK", ")", ";", "else", "if", "(", "!", "ADefined", ")", "report_fatal_error", "(", "\"target symbol '\"", "+", "(", "(", "A", "!=", "nullptr", ")", "?", "A", "->", "getName", "(", ")", ":", "\"\"", ")", "+", "\"' can not be undefined in a subtraction expression\"", ")", ";", "else", "recordScatteredRelocation", "(", "Writer", ",", "Asm", ",", "Layout", ",", "Fragment", ",", "Fixup", ",", "Target", ",", "FixedValue", ",", "FK", ")", ";", "}", ""], "natrual_language": ["Record", "a", "relocation", "entry", "."], "TS_V_token": ["PowerPC", "0", "0", "0x00ffffff", "\"target symbol '\"", "\"\"", "\"' can not be undefined in a subtraction expression\""], "File": "PPCMachObjectWriter5", "Func": "recordRelocation", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9264, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "X86TargetLowering", "::", "getStackProbeSymbolName", "(", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "hasInlineStackProbe", "(", "MF", ")", ")", "return", "\"\"", ";", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"probe-stack\"", ")", ")", "return", "MF", ".", "getFunction", "(", ")", ".", "getFnAttribute", "(", "\"probe-stack\"", ")", ".", "getValueAsString", "(", ")", ";", "if", "(", "!", "Subtarget", ".", "isOSWindows", "(", ")", "||", "Subtarget", ".", "isTargetMachO", "(", ")", "||", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"no-stack-arg-probe\"", ")", ")", "return", "\"\"", ";", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "return", "Subtarget", ".", "isTargetCygMing", "(", ")", "?", "\"___chkstk_ms\"", ":", "\"__chkstk\"", ";", "return", "Subtarget", ".", "isTargetCygMing", "(", ")", "?", "\"_alloca\"", ":", "\"_chkstk\"", ";", "}", ""], "natrual_language": ["Returns", "the", "name", "of", "the", "symbol", "used", "to", "emit", "stack", "probes", "or", "the", "empty", "string", "if", "not", "applicable", "."], "TS_V_token": ["X86", "X86", "\"\"", "\"probe-stack\"", "\"probe-stack\"", "\"no-stack-arg-probe\"", "\"\"", "\"___chkstk_ms\"", "\"__chkstk\"", "\"_alloca\"", "\"_chkstk\""], "File": "X86ISelLowering (2)5", "Func": "getStackProbeSymbolName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9265, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_emit_probe_stack_range", "(", "HOST_WIDE_INT", "first", ",", "HOST_WIDE_INT", "size", ")", "{", "if", "(", "first", "+", "size", "<=", "32768", ")", "{", "HOST_WIDE_INT", "i", ";", "for", "(", "i", "=", "PROBE_INTERVAL", ";", "i", "<", "size", ";", "i", "+=", "PROBE_INTERVAL", ")", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "(", "first", "+", "i", ")", ")", ")", ";", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "(", "first", "+", "size", ")", ")", ")", ";", "}", "else", "{", "HOST_WIDE_INT", "rounded_size", ";", "rtx", "r12", "=", "gen_rtx_REG", "(", "Pmode", ",", "12", ")", ";", "rtx", "r0", "=", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ";", "gcc_assert", "(", "first", "<=", "32768", ")", ";", "rounded_size", "=", "ROUND_DOWN", "(", "size", ",", "PROBE_INTERVAL", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "r12", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "first", ")", ")", ")", ";", "if", "(", "rounded_size", ">", "32768", ")", "{", "emit_move_insn", "(", "r0", ",", "GEN_INT", "(", "-", "rounded_size", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "r0", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "r12", ",", "r0", ")", ")", ")", ";", "}", "else", "emit_insn", "(", "gen_rtx_SET", "(", "r0", ",", "plus_constant", "(", "Pmode", ",", "r12", ",", "-", "rounded_size", ")", ")", ")", ";", "if", "(", "TARGET_64BIT", ")", "emit_insn", "(", "gen_probe_stack_rangedi", "(", "r12", ",", "r12", ",", "r0", ")", ")", ";", "else", "emit_insn", "(", "gen_probe_stack_rangesi", "(", "r12", ",", "r12", ",", "r0", ")", ")", ";", "if", "(", "size", "!=", "rounded_size", ")", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "r12", ",", "rounded_size", "-", "size", ")", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "code", "to", "probe", "a", "range", "of", "stack", "addresses", "from", "FIRST", "to", "FIRST+SIZE", ",", "inclusive", ".", "These", "are", "offsets", "from", "the", "current", "stack", "pointer", "."], "TS_V_token": ["powerpcspe", "32768", "12", "0", "32768", "32768"], "File": "powerpcspe", "Func": "rs6000_emit_probe_stack_range", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9266, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_update_cpp_builtins", "(", "cpp_reader", "*", "pfile", ")", "{", "aarch64_def_or_undef", "(", "flag_unsafe_math_optimizations", ",", "\"__ARM_FP_FAST\"", ",", "pfile", ")", ";", "builtin_define_with_int_value", "(", "\"__ARM_ARCH\"", ",", "aarch64_architecture_version", ")", ";", "builtin_define_with_int_value", "(", "\"__ARM_SIZEOF_MINIMAL_ENUM\"", ",", "flag_short_enums", "?", "1", ":", "4", ")", ";", "aarch64_def_or_undef", "(", "TARGET_BIG_END", ",", "\"__AARCH64EB__\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_BIG_END", ",", "\"__ARM_BIG_ENDIAN\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "!", "TARGET_BIG_END", ",", "\"__AARCH64EL__\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_FLOAT", ",", "\"__ARM_FEATURE_FMA\"", ",", "pfile", ")", ";", "if", "(", "TARGET_FLOAT", "||", "TARGET_SIMD", ")", "{", "builtin_define_with_int_value", "(", "\"__ARM_FP\"", ",", "0x0E", ")", ";", "builtin_define", "(", "\"__ARM_FP16_FORMAT_IEEE\"", ")", ";", "builtin_define", "(", "\"__ARM_FP16_ARGS\"", ")", ";", "}", "else", "cpp_undef", "(", "pfile", ",", "\"__ARM_FP\"", ")", ";", "aarch64_def_or_undef", "(", "TARGET_FP_F16INST", ",", "\"__ARM_FEATURE_FP16_SCALAR_ARITHMETIC\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_SIMD_F16INST", ",", "\"__ARM_FEATURE_FP16_VECTOR_ARITHMETIC\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_SIMD", ",", "\"__ARM_FEATURE_NUMERIC_MAXMIN\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_SIMD", ",", "\"__ARM_NEON\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_CRC32", ",", "\"__ARM_FEATURE_CRC32\"", ",", "pfile", ")", ";", "cpp_undef", "(", "pfile", ",", "\"__AARCH64_CMODEL_TINY__\"", ")", ";", "cpp_undef", "(", "pfile", ",", "\"__AARCH64_CMODEL_SMALL__\"", ")", ";", "cpp_undef", "(", "pfile", ",", "\"__AARCH64_CMODEL_LARGE__\"", ")", ";", "switch", "(", "aarch64_cmodel", ")", "{", "case", "AARCH64_CMODEL_TINY", ":", "case", "AARCH64_CMODEL_TINY_PIC", ":", "builtin_define", "(", "\"__AARCH64_CMODEL_TINY__\"", ")", ";", "break", ";", "case", "AARCH64_CMODEL_SMALL", ":", "case", "AARCH64_CMODEL_SMALL_PIC", ":", "builtin_define", "(", "\"__AARCH64_CMODEL_SMALL__\"", ")", ";", "break", ";", "case", "AARCH64_CMODEL_LARGE", ":", "builtin_define", "(", "\"__AARCH64_CMODEL_LARGE__\"", ")", ";", "break", ";", "default", ":", "break", ";", "}", "aarch64_def_or_undef", "(", "TARGET_ILP32", ",", "\"_ILP32\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_ILP32", ",", "\"__ILP32__\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_CRYPTO", ",", "\"__ARM_FEATURE_CRYPTO\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_SIMD_RDMA", ",", "\"__ARM_FEATURE_QRDMX\"", ",", "pfile", ")", ";", "cpp_undef", "(", "pfile", ",", "\"__FLT_EVAL_METHOD__\"", ")", ";", "builtin_define_with_int_value", "(", "\"__FLT_EVAL_METHOD__\"", ",", "c_flt_eval_method", "(", "true", ")", ")", ";", "cpp_undef", "(", "pfile", ",", "\"__FLT_EVAL_METHOD_C99__\"", ")", ";", "builtin_define_with_int_value", "(", "\"__FLT_EVAL_METHOD_C99__\"", ",", "c_flt_eval_method", "(", "false", ")", ")", ";", "}", ""], "natrual_language": ["Undefine/redefine", "macros", "that", "depend", "on", "the", "current", "backend", "state", "and", "may", "need", "to", "change", "when", "a", "target", "pragma", "modifies", "the", "backend", "state", "."], "TS_V_token": ["aarch64", "\"__ARM_FP_FAST\"", "\"__ARM_ARCH\"", "\"__ARM_SIZEOF_MINIMAL_ENUM\"", "1", "4", "\"__AARCH64EB__\"", "\"__ARM_BIG_ENDIAN\"", "\"__AARCH64EL__\"", "\"__ARM_FEATURE_FMA\"", "\"__ARM_FP\"", "0x0E", "\"__ARM_FP16_FORMAT_IEEE\"", "\"__ARM_FP16_ARGS\"", "\"__ARM_FP\"", "\"__ARM_FEATURE_FP16_SCALAR_ARITHMETIC\"", "\"__ARM_FEATURE_FP16_VECTOR_ARITHMETIC\"", "\"__ARM_FEATURE_NUMERIC_MAXMIN\"", "\"__ARM_NEON\"", "\"__ARM_FEATURE_CRC32\"", "\"__AARCH64_CMODEL_TINY__\"", "\"__AARCH64_CMODEL_SMALL__\"", "\"__AARCH64_CMODEL_LARGE__\"", "\"__AARCH64_CMODEL_TINY__\"", "\"__AARCH64_CMODEL_SMALL__\"", "\"__AARCH64_CMODEL_LARGE__\"", "\"_ILP32\"", "\"__ILP32__\"", "\"__ARM_FEATURE_CRYPTO\"", "\"__ARM_FEATURE_QRDMX\"", "\"__FLT_EVAL_METHOD__\"", "\"__FLT_EVAL_METHOD__\"", "\"__FLT_EVAL_METHOD_C99__\"", "\"__FLT_EVAL_METHOD_C99__\""], "File": "aarch64-c3", "Func": "aarch64_update_cpp_builtins", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9267, "Length": 289, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FastISel", "*", "X86", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "funcInfo", ",", "const", "TargetLibraryInfo", "*", "libInfo", ")", "{", "return", "new", "X86FastISel", "(", "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::createFastISel", "X86"], "File": "X86FastISel (2)", "Func": "createFastISel", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9268, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "decomposeMulByConstant", "(", "LLVMContext", "&", "Context", ",", "EVT", "VT", ",", "SDValue", "C", ")", "const", "{", "APInt", "MulC", ";", "if", "(", "!", "ISD", "::", "isConstantSplatVector", "(", "C", ".", "getNode", "(", ")", ",", "MulC", ")", ")", "return", "false", ";", "while", "(", "getTypeAction", "(", "Context", ",", "VT", ")", "!=", "TypeLegal", ")", "VT", "=", "getTypeToTransformTo", "(", "Context", ",", "VT", ")", ";", "unsigned", "EltSizeInBits", "=", "VT", ".", "getScalarSizeInBits", "(", ")", ";", "if", "(", "isOperationLegal", "(", "ISD", "::", "MUL", ",", "VT", ")", "&&", "EltSizeInBits", "<=", "32", "&&", "(", "EltSizeInBits", "!=", "32", "||", "!", "Subtarget", ".", "isPMULLDSlow", "(", ")", ")", ")", "return", "false", ";", "return", "(", "MulC", "+", "1", ")", ".", "isPowerOf2", "(", ")", "||", "(", "MulC", "-", "1", ")", ".", "isPowerOf2", "(", ")", "||", "(", "1", "-", "MulC", ")", ".", "isPowerOf2", "(", ")", "||", "(", "-", "(", "MulC", "+", "1", ")", ")", ".", "isPowerOf2", "(", ")", ";", "}", ""], "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": ["X86", "X86", "ISD::isConstantSplatVector", "ISD::MUL", "32", "32", "1", "1", "1", "1"], "File": "X86ISelLowering (2)5", "Func": "decomposeMulByConstant", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9269, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb2InstrInfo", "::", "ReplaceTailWithBranchTo", "(", "MachineBasicBlock", "::", "iterator", "Tail", ",", "MachineBasicBlock", "*", "NewDest", ")", "const", "{", "MachineBasicBlock", "*", "MBB", "=", "Tail", "->", "getParent", "(", ")", ";", "ARMFunctionInfo", "*", "AFI", "=", "MBB", "->", "getParent", "(", ")", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "if", "(", "!", "AFI", "->", "hasITBlocks", "(", ")", "||", "Tail", "->", "isBranch", "(", ")", ")", "{", "TargetInstrInfo", "::", "ReplaceTailWithBranchTo", "(", "Tail", ",", "NewDest", ")", ";", "return", ";", "}", "Register", "PredReg", ";", "ARMCC", "::", "CondCodes", "CC", "=", "getInstrPredicate", "(", "*", "Tail", ",", "PredReg", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "Tail", ";", "if", "(", "CC", "!=", "ARMCC", "::", "AL", ")", "--", "MBBI", ";", "TargetInstrInfo", "::", "ReplaceTailWithBranchTo", "(", "Tail", ",", "NewDest", ")", ";", "if", "(", "CC", "!=", "ARMCC", "::", "AL", ")", "{", "MachineBasicBlock", "::", "iterator", "E", "=", "MBB", "->", "begin", "(", ")", ";", "unsigned", "Count", "=", "4", ";", "while", "(", "Count", "&&", "MBBI", "!=", "E", ")", "{", "if", "(", "MBBI", "->", "isDebugInstr", "(", ")", ")", "{", "--", "MBBI", ";", "continue", ";", "}", "if", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2IT", ")", "{", "unsigned", "Mask", "=", "MBBI", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "Count", "==", "4", ")", "MBBI", "->", "eraseFromParent", "(", ")", ";", "else", "{", "unsigned", "MaskOn", "=", "1", "<<", "Count", ";", "unsigned", "MaskOff", "=", "~", "(", "MaskOn", "-", "1", ")", ";", "MBBI", "->", "getOperand", "(", "1", ")", ".", "setImm", "(", "(", "Mask", "&", "MaskOff", ")", "|", "MaskOn", ")", ";", "}", "return", ";", "}", "--", "MBBI", ";", "--", "Count", ";", "}", "}", "}", ""], "natrual_language": ["Delete", "the", "instruction", "OldInst", "and", "everything", "after", "it", ",", "replacing", "it", "with", "an", "unconditional", "branch", "to", "NewDest", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARMCC::CondCodes", "ARMCC::AL", "ARMCC::AL", "4", "ARM::t2IT", "1", "4", "1", "1", "1"], "File": "Thumb2InstrInfo", "Func": "ReplaceTailWithBranchTo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9270, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "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": ["Sparc", "128"], "File": "SparcAsmPrinter16", "Func": "EmitInstruction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9271, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "pad_groups", "(", "FILE", "*", "dump", ",", "int", "sched_verbose", ",", "rtx_insn", "*", "prev_head_insn", ",", "rtx_insn", "*", "tail", ")", "{", "rtx_insn", "*", "insn", ",", "*", "next_insn", ";", "rtx", "nop", ";", "int", "issue_rate", ";", "int", "can_issue_more", ";", "int", "group_end", ";", "int", "group_count", "=", "0", ";", "issue_rate", "=", "rs6000_issue_rate", "(", ")", ";", "can_issue_more", "=", "issue_rate", ";", "insn", "=", "get_next_active_insn", "(", "prev_head_insn", ",", "tail", ")", ";", "next_insn", "=", "get_next_active_insn", "(", "insn", ",", "tail", ")", ";", "while", "(", "insn", "!=", "NULL_RTX", ")", "{", "can_issue_more", "=", "rs6000_variable_issue", "(", "dump", ",", "sched_verbose", ",", "insn", ",", "can_issue_more", ")", ";", "group_end", "=", "(", "next_insn", "==", "NULL_RTX", "||", "GET_MODE", "(", "next_insn", ")", "==", "TImode", ")", ";", "if", "(", "next_insn", "==", "NULL_RTX", ")", "break", ";", "if", "(", "group_end", ")", "{", "if", "(", "can_issue_more", "&&", "(", "rs6000_sched_insert_nops", "==", "sched_finish_pad_groups", ")", "&&", "!", "insn_terminates_group_p", "(", "insn", ",", "current_group", ")", "&&", "!", "insn_terminates_group_p", "(", "next_insn", ",", "previous_group", ")", ")", "{", "if", "(", "!", "is_branch_slot_insn", "(", "next_insn", ")", ")", "can_issue_more", "--", ";", "while", "(", "can_issue_more", ")", "{", "nop", "=", "gen_nop", "(", ")", ";", "emit_insn_before", "(", "nop", ",", "next_insn", ")", ";", "can_issue_more", "--", ";", "}", "}", "can_issue_more", "=", "issue_rate", ";", "group_count", "++", ";", "}", "insn", "=", "next_insn", ";", "next_insn", "=", "get_next_active_insn", "(", "insn", ",", "tail", ")", ";", "}", "return", "group_count", ";", "}", ""], "natrual_language": ["Scan", "the", "insn", "sequence", "between", "PREV_HEAD_INSN", "and", "TAIL", "and", "examine", "the", "dispatch", "group", "boundaries", "that", "the", "scheduler", "had", "marked", ".", "Pad", "with", "nops", "any", "dispatch", "groups", "which", "have", "vacant", "issue", "slots", ",", "in", "order", "to", "force", "the", "scheduler", "'s", "grouping", "on", "the", "processor", "dispatcher", ".", "The", "function", "returns", "the", "number", "of", "dispatch", "groups", "found", "."], "TS_V_token": ["powerpcspe", "0"], "File": "powerpcspe", "Func": "pad_groups", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9272, "Length": 207, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCDarwinAsmPrinter", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "static", "const", "char", "*", "const", "CPUDirectives", "[", "]", "=", "{", "\"\"", ",", "\"ppc\"", ",", "\"ppc601\"", ",", "\"ppc602\"", ",", "\"ppc603\"", ",", "\"ppc7400\"", ",", "\"ppc750\"", ",", "\"ppc970\"", ",", "\"ppc64\"", "}", ";", "unsigned", "Directive", "=", "Subtarget", ".", "getDarwinDirective", "(", ")", ";", "if", "(", "Subtarget", ".", "isGigaProcessor", "(", ")", "&&", "Directive", "<", "PPC", "::", "DIR_970", ")", "Directive", "=", "PPC", "::", "DIR_970", ";", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", "&&", "Directive", "<", "PPC", "::", "DIR_7400", ")", "Directive", "=", "PPC", "::", "DIR_7400", ";", "if", "(", "Subtarget", ".", "isPPC64", "(", ")", "&&", "Directive", "<", "PPC", "::", "DIR_970", ")", "Directive", "=", "PPC", "::", "DIR_64", ";", "assert", "(", "Directive", "<=", "PPC", "::", "DIR_64", "&&", "\"Directive out of range.\"", ")", ";", "O", "<<", "\"\\t.machine \"", "<<", "CPUDirectives", "[", "Directive", "]", "<<", "'\\n'", ";", "bool", "Result", "=", "AsmPrinter", "::", "doInitialization", "(", "M", ")", ";", "MMI", "=", "getAnalysisIfAvailable", "<", "MachineModuleInfo", ">", "(", ")", ";", "assert", "(", "MMI", ")", ";", "DW", "=", "getAnalysisIfAvailable", "<", "DwarfWriter", ">", "(", ")", ";", "assert", "(", "DW", "&&", "\"DwarfWriter is not available\"", ")", ";", "DW", "->", "BeginModule", "(", "&", "M", ",", "MMI", ",", "O", ",", "this", ",", "TAI", ")", ";", "Mang", "->", "setUseQuotes", "(", "true", ")", ";", "SwitchToTextSection", "(", "\"\\t.section __TEXT,__textcoal_nt,coalesced,\"", "\"pure_instructions\"", ")", ";", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "{", "SwitchToTextSection", "(", "\"\\t.section __TEXT,__picsymbolstub1,symbol_stubs,\"", "\"pure_instructions,32\"", ")", ";", "}", "else", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "DynamicNoPIC", ")", "{", "SwitchToTextSection", "(", "\"\\t.section __TEXT,__symbol_stub1,symbol_stubs,\"", "\"pure_instructions,16\"", ")", ";", "}", "SwitchToSection", "(", "TAI", "->", "getTextSection", "(", ")", ")", ";", "return", "Result", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["PowerPC", "PPC", "\"\"", "\"ppc\"", "\"ppc601\"", "\"ppc602\"", "\"ppc603\"", "\"ppc7400\"", "\"ppc750\"", "\"ppc970\"", "\"ppc64\"", "PPC::DIR_970", "PPC::DIR_970", "PPC::DIR_7400", "PPC::DIR_7400", "PPC", "PPC::DIR_970", "PPC::DIR_64", "PPC::DIR_64", "\"Directive out of range.\"", "\"\\t.machine \"", "\"DwarfWriter is not available\"", "\"\\t.section __TEXT,__textcoal_nt,coalesced,\"", "\"pure_instructions\"", "\"\\t.section __TEXT,__picsymbolstub1,symbol_stubs,\"", "\"pure_instructions,32\"", "\"\\t.section __TEXT,__symbol_stub1,symbol_stubs,\"", "\"pure_instructions,16\""], "File": "PPCAsmPrinter30", "Func": "doInitialization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9273, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "spe_func_has_64bit_regs_p", "(", "void", ")", "{", "rtx", "insns", ",", "insn", ";", "if", "(", "current_function_calls_eh_return", "||", "current_function_calls_setjmp", "||", "current_function_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", ")", "{", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "SET_SRC", "(", "i", ")", ")", ";", "if", "(", "SPE_VECTOR_MODE", "(", "mode", ")", ")", "return", "true", ";", "if", "(", "TARGET_E500_DOUBLE", "&&", "mode", "==", "DFmode", ")", "return", "true", ";", "}", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "current", "function", "uses", "any", "GPRs", "in", "64-bit", "SIMD", "mode", "."], "TS_V_token": ["rs6000"], "File": "rs60003", "Func": "spe_func_has_64bit_regs_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9274, "Length": 118, "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_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_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": "SparcMCExpr21", "Func": "getFixupKind", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9275, "Length": 291, "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": 9276, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMLegalizerInfo", "::", "legalizeCustom", "(", "MachineInstr", "&", "MI", ",", "MachineRegisterInfo", "&", "MRI", ",", "MachineIRBuilder", "&", "MIRBuilder", ")", "const", "{", "using", "namespace", "TargetOpcode", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "G_SDIV", ":", "case", "G_UDIV", ":", "{", "LLT", "Ty", "=", "MRI", ".", "getType", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ";", "if", "(", "Ty", "!=", "LLT", "::", "scalar", "(", "16", ")", "&&", "Ty", "!=", "LLT", "::", "scalar", "(", "8", ")", ")", "return", "false", ";", "LegalizerHelper", "Helper", "(", "MIRBuilder", ".", "getMF", "(", ")", ")", ";", "MachineInstr", "*", "NewMI", "=", "nullptr", ";", "Helper", ".", "MIRBuilder", ".", "recordInsertions", "(", "[", "&", "]", "(", "MachineInstr", "*", "MI", ")", "{", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "G_SDIV", "||", "MI", "->", "getOpcode", "(", ")", "==", "G_UDIV", ")", "NewMI", "=", "MI", ";", "}", ")", ";", "auto", "Result", "=", "Helper", ".", "widenScalar", "(", "MI", ",", "0", ",", "LLT", "::", "scalar", "(", "32", ")", ")", ";", "Helper", ".", "MIRBuilder", ".", "stopRecordingInsertions", "(", ")", ";", "if", "(", "Result", "==", "LegalizerHelper", "::", "UnableToLegalize", ")", "{", "return", "false", ";", "}", "assert", "(", "NewMI", "&&", "\"Couldn't find widened instruction\"", ")", ";", "assert", "(", "(", "NewMI", "->", "getOpcode", "(", ")", "==", "G_SDIV", "||", "NewMI", "->", "getOpcode", "(", ")", "==", "G_UDIV", ")", "&&", "\"Unexpected widened instruction\"", ")", ";", "assert", "(", "MRI", ".", "getType", "(", "NewMI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "getSizeInBits", "(", ")", "==", "32", "&&", "\"Unexpected type for the widened instruction\"", ")", ";", "Result", "=", "Helper", ".", "legalizeInstrStep", "(", "*", "NewMI", ")", ";", "if", "(", "Result", "==", "LegalizerHelper", "::", "UnableToLegalize", ")", "{", "return", "false", ";", "}", "return", "true", ";", "}", "case", "G_SREM", ":", "case", "G_UREM", ":", "{", "unsigned", "OriginalResult", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "auto", "Size", "=", "MRI", ".", "getType", "(", "OriginalResult", ")", ".", "getSizeInBits", "(", ")", ";", "if", "(", "Size", "!=", "32", ")", "return", "false", ";", "auto", "Libcall", "=", "MI", ".", "getOpcode", "(", ")", "==", "G_SREM", "?", "RTLIB", "::", "SDIVREM_I32", ":", "RTLIB", "::", "UDIVREM_I32", ";", "auto", "&", "Ctx", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getFunction", "(", ")", "->", "getContext", "(", ")", ";", "Type", "*", "ArgTy", "=", "Type", "::", "getInt32Ty", "(", "Ctx", ")", ";", "StructType", "*", "RetTy", "=", "StructType", "::", "get", "(", "Ctx", ",", "{", "ArgTy", ",", "ArgTy", "}", ",", "true", ")", ";", "auto", "RetVal", "=", "MRI", ".", "createGenericVirtualRegister", "(", "getLLTForType", "(", "*", "RetTy", ",", "MIRBuilder", ".", "getMF", "(", ")", ".", "getDataLayout", "(", ")", ")", ")", ";", "auto", "Status", "=", "replaceWithLibcall", "(", "MI", ",", "MIRBuilder", ",", "Libcall", ",", "{", "RetVal", ",", "RetTy", "}", ",", "{", "{", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ",", "ArgTy", "}", ",", "{", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ",", "ArgTy", "}", "}", ")", ";", "if", "(", "Status", "!=", "LegalizerHelper", "::", "Legalized", ")", "return", "false", ";", "MIRBuilder", ".", "buildUnmerge", "(", "{", "MRI", ".", "createGenericVirtualRegister", "(", "LLT", "::", "scalar", "(", "32", ")", ")", ",", "OriginalResult", "}", ",", "RetVal", ")", ";", "return", "LegalizerHelper", "::", "Legalized", ";", "}", "}", "}", ""], "natrual_language": ["Called", "for", "instructions", "with", "the", "Custom", "LegalizationAction", "."], "TS_V_token": ["ARM", "ARM", "0", "16", "8", "0", "32", "\"Couldn't find widened instruction\"", "\"Unexpected widened instruction\"", "0", "32", "\"Unexpected type for the widened instruction\"", "0", "32", "1", "2", "32"], "File": "ARMLegalizerInfo3", "Func": "legalizeCustom", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9277, "Length": 493, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "ix86_output_function_return", "(", "bool", "long_p", ")", "{", "output_return_instrumentation", "(", ")", ";", "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", ")", ";", "indirect_return_needed", "|=", "need_thunk", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tjmp\\t\"", ")", ";", "assemble_name", "(", "asm_out_file", ",", "thunk_name", ")", ";", "putc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "}", "else", "output_indirect_thunk", "(", "INVALID_REGNUM", ")", ";", "return", "\"\"", ";", "}", "output_asm_insn", "(", "long_p", "?", "\"rep%; ret\"", ":", "\"ret\"", ",", "nullptr", ")", ";", "return", "(", "ix86_harden_sls", "&", "harden_sls_return", ")", "?", "\"int3\"", ":", "\"\"", ";", "}", ""], "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", "\"\\tjmp\\t\"", "\"\"", "\"rep%; ret\"", "\"ret\"", "\"int3\"", "\"\""], "File": "i386", "Func": "ix86_output_function_return", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9278, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "getRecipEstimate", "(", "SDValue", "Operand", ",", "SelectionDAG", "&", "DAG", ",", "int", "Enabled", ",", "int", "&", "ExtraSteps", ")", "const", "{", "if", "(", "Enabled", "==", "ReciprocalEstimate", "::", "Enabled", ")", "if", "(", "SDValue", "Estimate", "=", "getEstimate", "(", "Subtarget", ",", "AArch64ISD", "::", "FRECPE", ",", "Operand", ",", "DAG", ",", "ExtraSteps", ")", ")", "{", "SDLoc", "DL", "(", "Operand", ")", ";", "EVT", "VT", "=", "Operand", ".", "getValueType", "(", ")", ";", "SDNodeFlags", "Flags", ";", "Flags", ".", "setUnsafeAlgebra", "(", "true", ")", ";", "for", "(", "int", "i", "=", "ExtraSteps", ";", "i", ">", "0", ";", "--", "i", ")", "{", "SDValue", "Step", "=", "DAG", ".", "getNode", "(", "AArch64ISD", "::", "FRECPS", ",", "DL", ",", "VT", ",", "Operand", ",", "Estimate", ",", "Flags", ")", ";", "Estimate", "=", "DAG", ".", "getNode", "(", "ISD", "::", "FMUL", ",", "DL", ",", "VT", ",", "Estimate", ",", "Step", ",", "Flags", ")", ";", "}", "ExtraSteps", "=", "0", ";", "return", "Estimate", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Return", "a", "reciprocal", "estimate", "value", "for", "the", "input", "operand", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64ISD::FRECPE", "0", "AArch64ISD::FRECPS", "ISD::FMUL", "0"], "File": "AArch64ISelLowering105", "Func": "getRecipEstimate", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9279, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "X86Operand", "*", "CreateReg", "(", "unsigned", "RegNo", ",", "SMLoc", "StartLoc", ",", "SMLoc", "EndLoc", ")", "{", "X86Operand", "*", "Res", "=", "new", "X86Operand", "(", "Register", ",", "StartLoc", ",", "EndLoc", ")", ";", "Res", "->", "Reg", ".", "RegNo", "=", "RegNo", ";", "return", "Res", ";", "}", ""], "natrual_language": ["CreateReg", "-", "Allocate", "a", "single", "virtual", "register", "for", "the", "given", "type", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86AsmParser101", "Func": "CreateReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9280, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "ix86_veclibabi_svml", "(", "combined_fn", "fn", ",", "tree", "type_out", ",", "tree", "type_in", ")", "{", "char", "name", "[", "20", "]", ";", "tree", "fntype", ",", "new_fndecl", ",", "args", ";", "unsigned", "arity", ";", "const", "char", "*", "bname", ";", "machine_mode", "el_mode", ",", "in_mode", ";", "int", "n", ",", "in_n", ";", "if", "(", "!", "flag_unsafe_math_optimizations", ")", "return", "NULL_TREE", ";", "el_mode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "type_out", ")", ")", ";", "n", "=", "TYPE_VECTOR_SUBPARTS", "(", "type_out", ")", ";", "in_mode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "type_in", ")", ")", ";", "in_n", "=", "TYPE_VECTOR_SUBPARTS", "(", "type_in", ")", ";", "if", "(", "el_mode", "!=", "in_mode", "||", "n", "!=", "in_n", ")", "return", "NULL_TREE", ";", "switch", "(", "fn", ")", "{", "CASE_CFN_EXP", ":", "CASE_CFN_LOG", ":", "CASE_CFN_LOG10", ":", "CASE_CFN_POW", ":", "CASE_CFN_TANH", ":", "CASE_CFN_TAN", ":", "CASE_CFN_ATAN", ":", "CASE_CFN_ATAN2", ":", "CASE_CFN_ATANH", ":", "CASE_CFN_CBRT", ":", "CASE_CFN_SINH", ":", "CASE_CFN_SIN", ":", "CASE_CFN_ASINH", ":", "CASE_CFN_ASIN", ":", "CASE_CFN_COSH", ":", "CASE_CFN_COS", ":", "CASE_CFN_ACOSH", ":", "CASE_CFN_ACOS", ":", "if", "(", "(", "el_mode", "!=", "DFmode", "||", "n", "!=", "2", ")", "&&", "(", "el_mode", "!=", "SFmode", "||", "n", "!=", "4", ")", ")", "return", "NULL_TREE", ";", "break", ";", "default", ":", "return", "NULL_TREE", ";", "}", "tree", "fndecl", "=", "mathfn_built_in", "(", "el_mode", "==", "DFmode", "?", "double_type_node", ":", "float_type_node", ",", "fn", ")", ";", "bname", "=", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "fndecl", ")", ")", ";", "if", "(", "DECL_FUNCTION_CODE", "(", "fndecl", ")", "==", "BUILT_IN_LOGF", ")", "strcpy", "(", "name", ",", "\"vmlsLn4\"", ")", ";", "else", "if", "(", "DECL_FUNCTION_CODE", "(", "fndecl", ")", "==", "BUILT_IN_LOG", ")", "strcpy", "(", "name", ",", "\"vmldLn2\"", ")", ";", "else", "if", "(", "n", "==", "4", ")", "{", "sprintf", "(", "name", ",", "\"vmls%s\"", ",", "bname", "+", "10", ")", ";", "name", "[", "strlen", "(", "name", ")", "-", "1", "]", "=", "'4'", ";", "}", "else", "sprintf", "(", "name", ",", "\"vmld%s2\"", ",", "bname", "+", "10", ")", ";", "name", "[", "4", "]", "&=", "~", "0x20", ";", "arity", "=", "0", ";", "for", "(", "args", "=", "DECL_ARGUMENTS", "(", "fndecl", ")", ";", "args", ";", "args", "=", "TREE_CHAIN", "(", "args", ")", ")", "arity", "++", ";", "if", "(", "arity", "==", "1", ")", "fntype", "=", "build_function_type_list", "(", "type_out", ",", "type_in", ",", "NULL", ")", ";", "else", "fntype", "=", "build_function_type_list", "(", "type_out", ",", "type_in", ",", "type_in", ",", "NULL", ")", ";", "new_fndecl", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FUNCTION_DECL", ",", "get_identifier", "(", "name", ")", ",", "fntype", ")", ";", "TREE_PUBLIC", "(", "new_fndecl", ")", "=", "1", ";", "DECL_EXTERNAL", "(", "new_fndecl", ")", "=", "1", ";", "DECL_IS_NOVOPS", "(", "new_fndecl", ")", "=", "1", ";", "TREE_READONLY", "(", "new_fndecl", ")", "=", "1", ";", "return", "new_fndecl", ";", "}", ""], "natrual_language": ["Handler", "for", "an", "SVML-style", "interface", "to", "a", "library", "with", "vectorized", "intrinsics", "."], "TS_V_token": ["i386", "20", "2", "4", "\"vmlsLn4\"", "\"vmldLn2\"", "4", "\"vmls%s\"", "10", "1", "\"vmld%s2\"", "10", "4", "0x20", "0", "1", "1", "1", "1", "1"], "File": "i386", "Func": "ix86_veclibabi_svml", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9281, "Length": 388, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_test_dumping_hard_regs", "(", ")", "{", "ASSERT_RTL_DUMP_EQ", "(", "\"(reg:SI ax)\"", ",", "gen_raw_REG", "(", "SImode", ",", "0", ")", ")", ";", "ASSERT_RTL_DUMP_EQ", "(", "\"(reg:SI dx)\"", ",", "gen_raw_REG", "(", "SImode", ",", "1", ")", ")", ";", "}", ""], "natrual_language": ["Verify", "that", "hard", "regs", "are", "dumped", "as", "expected", "(", "in", "compact", "mode", ")", "."], "TS_V_token": ["i386", "\"(reg:SI ax)\"", "0", "\"(reg:SI dx)\"", "1"], "File": "i386", "Func": "ix86_test_dumping_hard_regs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9282, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_vec_binop", "(", "enum", "rtx_code", "code", ",", "machine_mode", "mode", ",", "rtx", "dst", ",", "rtx", "src1", ",", "rtx", "src2", ")", "{", "rtx", "tmp", ";", "tmp", "=", "gen_rtx_SET", "(", "dst", ",", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "src1", ",", "src2", ")", ")", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "GET_MODE_SIZE", "(", "SImode", ")", "&&", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_INT", ")", "{", "rtx", "clob", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "CCmode", ",", "FLAGS_REG", ")", ")", ";", "tmp", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "tmp", ",", "clob", ")", ")", ";", "}", "emit_insn", "(", "tmp", ")", ";", "}", ""], "natrual_language": ["Emit", "x86", "binary", "operand", "CODE", "in", "mode", "MODE", "for", "SSE", "vector", "instructions", "that", "can", "be", "performed", "using", "GP", "registers", "."], "TS_V_token": ["i386", "2"], "File": "i386-expand", "Func": "ix86_emit_vec_binop", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9283, "Length": 100, "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", ",", "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", "Func": "LowerReturn", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9284, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ia64_builtin_decl", "(", "unsigned", "code", ",", "bool", "initialize_p", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "code", ">=", "IA64_BUILTIN_max", ")", "return", "error_mark_node", ";", "return", "ia64_builtins", "[", "code", "]", ";", "}", ""], "natrual_language": ["Return", "the", "ia64", "builtin", "for", "CODE", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "ia64_builtin_decl", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9285, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "sparc_arg_partial_bytes", "(", "cumulative_args_t", "cum", ",", "machine_mode", "mode", ",", "tree", "type", ",", "bool", "named", ")", "{", "int", "slotno", ",", "regno", ",", "padding", ";", "slotno", "=", "function_arg_slotno", "(", "get_cumulative_args", "(", "cum", ")", ",", "mode", ",", "type", ",", "named", ",", "false", ",", "&", "regno", ",", "&", "padding", ")", ";", "if", "(", "slotno", "==", "-", "1", ")", "return", "0", ";", "if", "(", "TARGET_ARCH32", ")", "{", "if", "(", "(", "slotno", "+", "(", "mode", "==", "BLKmode", "?", "CEIL_NWORDS", "(", "int_size_in_bytes", "(", "type", ")", ")", ":", "CEIL_NWORDS", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", ")", ")", ">", "SPARC_INT_ARG_MAX", ")", "return", "(", "SPARC_INT_ARG_MAX", "-", "slotno", ")", "*", "UNITS_PER_WORD", ";", "}", "else", "{", "if", "(", "type", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "int", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "if", "(", "size", ">", "UNITS_PER_WORD", "&&", "(", "slotno", "==", "SPARC_INT_ARG_MAX", "-", "1", "||", "slotno", "==", "SPARC_FP_ARG_MAX", "-", "1", ")", ")", "return", "UNITS_PER_WORD", ";", "}", "else", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_INT", "||", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_FLOAT", "&&", "!", "(", "TARGET_FPU", "&&", "named", ")", ")", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "UNITS_PER_WORD", "&&", "slotno", "==", "SPARC_INT_ARG_MAX", "-", "1", ")", "return", "UNITS_PER_WORD", ";", "}", "else", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_FLOAT", ")", "{", "if", "(", "(", "slotno", "+", "GET_MODE_SIZE", "(", "mode", ")", "/", "UNITS_PER_WORD", ")", ">", "SPARC_FP_ARG_MAX", ")", "return", "UNITS_PER_WORD", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["For", "an", "arg", "passed", "partly", "in", "registers", "and", "partly", "in", "memory", ",", "this", "is", "the", "number", "of", "bytes", "of", "registers", "used", ".", "For", "args", "passed", "entirely", "in", "registers", "or", "entirely", "in", "memory", ",", "zero", ".", "Any", "arg", "that", "starts", "in", "the", "first", "6", "regs", "but", "wo", "n't", "entirely", "fit", "in", "them", "needs", "partial", "registers", "on", "v8", ".", "On", "v9", ",", "structures", "with", "integer", "values", "in", "arg", "slots", "5,6", "will", "be", "passed", "in", "%", "o5", "and", "SP+176", ",", "and", "complex", "fp", "values", "that", "begin", "in", "the", "last", "fp", "reg", "[", "where", "``", "last", "fp", "reg", "''", "varies", "with", "the", "mode", "]", "will", "be", "split", "between", "that", "reg", "and", "memory", "."], "TS_V_token": ["sparc", "1", "0", "1", "1", "1", "0"], "File": "sparc5", "Func": "sparc_arg_partial_bytes", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9286, "Length": 228, "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", "(", ")", ";", "const", "X86RegisterInfo", "*", "RegInfo", "=", "static_cast", "<", "const", "X86RegisterInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "unsigned", "SlotSize", "=", "RegInfo", "->", "getSlotSize", "(", ")", ";", "X86MachineFunctionInfo", "*", "X86FI", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "unsigned", "CalleeSavedFrameSize", "=", "0", ";", "int", "SpillSlotOffset", "=", "getOffsetOfLocalArea", "(", ")", "+", "X86FI", "->", "getTCReturnAddrDelta", "(", ")", ";", "if", "(", "MF", ".", "protectReturnPtr", "(", ")", "&&", "!", "MF", ".", "getName", "(", ")", ".", "equals", "(", "\"main\"", ")", ")", "{", "SpillSlotOffset", "-=", "SlotSize", ";", "MFI", "->", "CreateFixedSpillStackObject", "(", "SlotSize", ",", "SpillSlotOffset", ")", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "SpillSlotOffset", "-=", "SlotSize", ";", "MFI", "->", "CreateFixedSpillStackObject", "(", "SlotSize", ",", "SpillSlotOffset", ")", ";", "if", "(", "MF", ".", "protectFramePtr", "(", ")", ")", "{", "SpillSlotOffset", "-=", "SlotSize", ";", "MFI", "->", "CreateFixedSpillStackObject", "(", "SlotSize", ",", "SpillSlotOffset", ")", ";", "}", "unsigned", "FPReg", "=", "RegInfo", "->", "getFrameRegister", "(", "MF", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "CSI", ".", "size", "(", ")", ";", "++", "i", ")", "{", "if", "(", "CSI", "[", "i", "]", ".", "getReg", "(", ")", "==", "FPReg", ")", "{", "CSI", ".", "erase", "(", "CSI", ".", "begin", "(", ")", "+", "i", ")", ";", "break", ";", "}", "}", "}", "bool", "hasGPR", "=", "false", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "if", "(", "!", "X86", "::", "GR64RegClass", ".", "contains", "(", "Reg", ")", "&&", "!", "X86", "::", "GR32RegClass", ".", "contains", "(", "Reg", ")", ")", "continue", ";", "hasGPR", "=", "true", ";", "SpillSlotOffset", "-=", "SlotSize", ";", "CalleeSavedFrameSize", "+=", "SlotSize", ";", "int", "SlotIndex", "=", "MFI", "->", "CreateFixedSpillStackObject", "(", "SlotSize", ",", "SpillSlotOffset", ")", ";", "CSI", "[", "i", "-", "1", "]", ".", "setFrameIdx", "(", "SlotIndex", ")", ";", "}", "if", "(", "MF", ".", "protectCSRs", "(", ")", "&&", "hasGPR", ")", "{", "SpillSlotOffset", "-=", "SlotSize", ";", "CalleeSavedFrameSize", "+=", "SlotSize", ";", "MFI", "->", "CreateFixedSpillStackObject", "(", "SlotSize", ",", "SpillSlotOffset", ")", ";", "}", "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", ";", "const", "TargetRegisterClass", "*", "RC", "=", "RegInfo", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "SpillSlotOffset", "-=", "abs", "(", "SpillSlotOffset", ")", "%", "RC", "->", "getAlignment", "(", ")", ";", "SpillSlotOffset", "-=", "RC", "->", "getSize", "(", ")", ";", "int", "SlotIndex", "=", "MFI", "->", "CreateFixedSpillStackObject", "(", "RC", "->", "getSize", "(", ")", ",", "SpillSlotOffset", ")", ";", "CSI", "[", "i", "-", "1", "]", ".", "setFrameIdx", "(", "SlotIndex", ")", ";", "MFI", "->", "ensureMaxAlignment", "(", "RC", "->", "getAlignment", "(", ")", ")", ";", "}", "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", "X86", "X86", "0", "X86", "\"main\"", "0", "0", "1", "X86::GR64RegClass", "X86::GR32RegClass", "1", "X86", "0", "1", "X86::GR64RegClass", "X86::GR32RegClass", "1"], "File": "X86FrameLowering4", "Func": "assignCalleeSavedSpillSlots", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9287, "Length": 505, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ")", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Mips", "::", "RDHWR", ":", "case", "Mips", "::", "RDHWR64", ":", "O", "<<", "\"\\t.set\\tpush\\n\"", ";", "O", "<<", "\"\\t.set\\tmips32r2\\n\"", ";", "}", "printInstruction", "(", "MI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Mips", "::", "RDHWR", ":", "case", "Mips", "::", "RDHWR64", ":", "O", "<<", "\"\\n\\t.set\\tpop\"", ";", "}", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["Mips", "Mips", "Mips::RDHWR", "Mips::RDHWR64", "\"\\t.set\\tpush\\n\"", "\"\\t.set\\tmips32r2\\n\"", "Mips::RDHWR", "Mips::RDHWR64", "\"\\n\\t.set\\tpop\""], "File": "MipsInstPrinter14", "Func": "printInst", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9288, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64TargetStreamer", "::", "emitInst", "(", "uint32_t", "Inst", ")", "{", "char", "Buffer", "[", "4", "]", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "4", ";", "++", "I", ")", "{", "Buffer", "[", "I", "]", "=", "uint8_t", "(", "Inst", ")", ";", "Inst", ">>=", "8", ";", "}", "getStreamer", "(", ")", ".", "emitBytes", "(", "StringRef", "(", "Buffer", ",", "4", ")", ")", ";", "}", ""], "natrual_language": ["Callback", "used", "to", "implement", "the", ".inst", "directive", "."], "TS_V_token": ["AArch64", "AArch64", "4", "0", "4", "8", "4"], "File": "AArch64TargetStreamer13", "Func": "emitInst", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9289, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_fusion_load", "(", "rtx", "load_reg", ",", "rtx", "addis_reg", ",", "rtx", "offset", ",", "const", "char", "*", "insn_str", ")", "{", "rtx", "fuse_ops", "[", "10", "]", ";", "char", "insn_template", "[", "80", "]", ";", "fuse_ops", "[", "0", "]", "=", "load_reg", ";", "fuse_ops", "[", "1", "]", "=", "addis_reg", ";", "if", "(", "CONST_INT_P", "(", "offset", ")", "&&", "satisfies_constraint_I", "(", "offset", ")", ")", "{", "sprintf", "(", "insn_template", ",", "\"%s %%0,%%2(%%1)\"", ",", "insn_str", ")", ";", "fuse_ops", "[", "2", "]", "=", "offset", ";", "output_asm_insn", "(", "insn_template", ",", "fuse_ops", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "offset", ")", "==", "UNSPEC", "&&", "XINT", "(", "offset", ",", "1", ")", "==", "UNSPEC_TOCREL", ")", "{", "if", "(", "TARGET_ELF", ")", "sprintf", "(", "insn_template", ",", "\"%s %%0,%%2@toc@l(%%1)\"", ",", "insn_str", ")", ";", "else", "if", "(", "TARGET_XCOFF", ")", "sprintf", "(", "insn_template", ",", "\"%s %%0,%%2@l(%%1)\"", ",", "insn_str", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "fuse_ops", "[", "2", "]", "=", "XVECEXP", "(", "offset", ",", "0", ",", "0", ")", ";", "output_asm_insn", "(", "insn_template", ",", "fuse_ops", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "offset", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "offset", ",", "0", ")", ")", "==", "UNSPEC", "&&", "XINT", "(", "XEXP", "(", "offset", ",", "0", ")", ",", "1", ")", "==", "UNSPEC_TOCREL", "&&", "CONST_INT_P", "(", "XEXP", "(", "offset", ",", "1", ")", ")", ")", "{", "rtx", "tocrel_unspec", "=", "XEXP", "(", "offset", ",", "0", ")", ";", "if", "(", "TARGET_ELF", ")", "sprintf", "(", "insn_template", ",", "\"%s %%0,%%2+%%3@toc@l(%%1)\"", ",", "insn_str", ")", ";", "else", "if", "(", "TARGET_XCOFF", ")", "sprintf", "(", "insn_template", ",", "\"%s %%0,%%2+%%3@l(%%1)\"", ",", "insn_str", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "fuse_ops", "[", "2", "]", "=", "XVECEXP", "(", "tocrel_unspec", ",", "0", ",", "0", ")", ";", "fuse_ops", "[", "3", "]", "=", "XEXP", "(", "offset", ",", "1", ")", ";", "output_asm_insn", "(", "insn_template", ",", "fuse_ops", ")", ";", "}", "else", "if", "(", "TARGET_ELF", "&&", "!", "TARGET_POWERPC64", "&&", "CONSTANT_P", "(", "offset", ")", ")", "{", "sprintf", "(", "insn_template", ",", "\"%s %%0,%%2@l(%%1)\"", ",", "insn_str", ")", ";", "fuse_ops", "[", "2", "]", "=", "offset", ";", "output_asm_insn", "(", "insn_template", ",", "fuse_ops", ")", ";", "}", "else", "fatal_insn", "(", "\"Unable to generate load/store offset for fusion\"", ",", "offset", ")", ";", "return", ";", "}", ""], "natrual_language": ["Emit", "a", "D-form", "load", "or", "store", "instruction", "that", "is", "the", "second", "instruction", "of", "a", "fusion", "sequence", "."], "TS_V_token": ["rs6000", "10", "80", "0", "1", "\"%s %%0,%%2(%%1)\"", "2", "1", "\"%s %%0,%%2@toc@l(%%1)\"", "\"%s %%0,%%2@l(%%1)\"", "2", "0", "0", "0", "0", "1", "1", "0", "\"%s %%0,%%2+%%3@toc@l(%%1)\"", "\"%s %%0,%%2+%%3@l(%%1)\"", "2", "0", "0", "3", "1", "\"%s %%0,%%2@l(%%1)\"", "2", "\"Unable to generate load/store offset for fusion\""], "File": "rs6000", "Func": "emit_fusion_load", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9290, "Length": 328, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZShortenInst", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "TII", "=", "static_cast", "<", "const", "SystemZInstrInfo", "*", ">", "(", "F", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "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": "SystemZShortenInst", "Func": "runOnMachineFunction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9291, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "machine_function", "*", "moxie_init_machine_status", "(", "void", ")", "{", "return", "ggc_cleared_alloc", "<", "machine_function", ">", "(", ")", ";", "}", ""], "natrual_language": ["Zero", "initialization", "is", "OK", "for", "all", "current", "fields", "."], "TS_V_token": ["moxie"], "File": "moxie", "Func": "moxie_init_machine_status", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9292, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "mips_va_arg", "(", "valist", ",", "type", ")", "{", "\\", "if", "(", "TARGET_MIPS16", ")", "\\", "sorry", "(", "\"mips16 function profiling\"", ")", ";", "\\", "fprintf", "(", "FILE", ",", "\"\\t.set\\tnoat\\n\"", ")", ";", "\\", "fprintf", "(", "FILE", ",", "\"\\tmove\\t%s,%s\\t\\t# save current return address\\n\"", ",", "\\", "reg_names", "[", "GP_REG_FIRST", "+", "1", "]", ",", "reg_names", "[", "GP_REG_FIRST", "+", "31", "]", ")", ";", "\\", "fprintf", "(", "FILE", ",", "\\", "\"\\t%s\\t%s,%s,%d\\t\\t# _mcount pops 2 words from stack\\n\"", ",", "\\", "TARGET_64BIT", "?", "\"dsubu\"", ":", "\"subu\"", ",", "\\", "reg_names", "[", "STACK_POINTER_REGNUM", "]", ",", "\\", "reg_names", "[", "STACK_POINTER_REGNUM", "]", ",", "\\", "Pmode", "==", "DImode", "?", "16", ":", "8", ")", ";", "\\", "fprintf", "(", "FILE", ",", "\"\\tjal\\t_mcount\\n\"", ")", ";", "\\", "fprintf", "(", "FILE", ",", "\"\\t.set\\tat\\n\"", ")", ";", "\\", "}", ""], "natrual_language": ["Implement", "va_arg", "."], "TS_V_token": ["mips", "\"mips16 function profiling\"", "\"\\t.set\\tnoat\\n\"", "\"\\tmove\\t%s,%s\\t\\t# save current return address\\n\"", "1", "31", "\"\\t%s\\t%s,%s,%d\\t\\t# _mcount pops 2 words from stack\\n\"", "\"dsubu\"", "\"subu\"", "16", "8", "\"\\tjal\\t_mcount\\n\"", "\"\\t.set\\tat\\n\""], "File": "mips4", "Func": "mips_va_arg", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9293, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPostRegAlloc", "(", ")", "{", "addPass", "(", "createX86FloatingPointStackifierPass", "(", ")", ")", ";", "}", ""], "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": "X86TargetMachine10", "Func": "addPostRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9294, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_sim_wait_regs_1", "(", "rtx", "*", "x", ",", "void", "*", "data", ")", "{", "subrtx_var_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX_VAR", "(", "iter", ",", "array", ",", "*", "x", ",", "NONCONST", ")", "if", "(", "REG_P", "(", "*", "iter", ")", ")", "mips_sim_wait_reg", "(", "(", "struct", "mips_sim", "*", ")", "data", ",", "mips_sim_insn", ",", "*", "iter", ")", ";", "}", ""], "natrual_language": ["Call", "mips_sim_wait_regs_2", "(", "R", ",", "DATA", ")", "for", "each", "register", "R", "mentioned", "in", "*", "X", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_sim_wait_regs_1", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9295, "Length": 53, "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", "::", "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", "X86", "X86"], "File": "X86RegisterInfo (2)2", "Func": "getCallPreservedMask", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9296, "Length": 408, "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_VFP_BASE", ")", "{", "count", "=", "0", ";", "for", "(", "regno", "=", "FIRST_VFP_REGNUM", ";", "regno", "<", "LAST_VFP_REGNUM", ";", "regno", "+=", "2", ")", "{", "if", "(", "!", "reg_needs_saving_p", "(", "regno", ")", "&&", "!", "reg_needs_saving_p", "(", "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", "0", "2", "8", "0", "0", "2", "8"], "File": "arm", "Func": "arm_get_vfp_saved_size", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9297, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nds32_naked_function_p", "(", "tree", "func", ")", "{", "tree", "t", ";", "if", "(", "TREE_CODE", "(", "func", ")", "!=", "FUNCTION_DECL", ")", "abort", "(", ")", ";", "t", "=", "lookup_attribute", "(", "\"naked\"", ",", "DECL_ATTRIBUTES", "(", "func", ")", ")", ";", "return", "(", "t", "!=", "NULL_TREE", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "FUNC", "is", "a", "naked", "function", "."], "TS_V_token": ["nds32", "\"naked\""], "File": "nds322", "Func": "nds32_naked_function_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9298, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "this", "->", "MF", "=", "&", "MF", ";", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "MCP", "=", "MF", ".", "getConstantPool", "(", ")", ";", "SetupMachineFunction", "(", "MF", ")", ";", "O", "<<", "\"\\n\"", ";", "O", "<<", "'\\n'", ";", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "OutStreamer", ".", "SwitchSection", "(", "getObjFileLowering", "(", ")", ".", "SectionForGlobal", "(", "F", ",", "Mang", ",", "TM", ")", ")", ";", "switch", "(", "F", "->", "getLinkage", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown linkage type!\"", ")", ";", "case", "Function", "::", "PrivateLinkage", ":", "case", "Function", "::", "LinkerPrivateLinkage", ":", "case", "Function", "::", "InternalLinkage", ":", "break", ";", "case", "Function", "::", "ExternalLinkage", ":", "O", "<<", "\"\\t.globl\\t\"", "<<", "CurrentFnName", "<<", "\"\\n\"", ";", "break", ";", "case", "Function", "::", "WeakAnyLinkage", ":", "case", "Function", "::", "WeakODRLinkage", ":", "case", "Function", "::", "LinkOnceAnyLinkage", ":", "case", "Function", "::", "LinkOnceODRLinkage", ":", "if", "(", "Subtarget", "->", "isTargetDarwin", "(", ")", ")", "{", "O", "<<", "\"\\t.globl\\t\"", "<<", "CurrentFnName", "<<", "\"\\n\"", ";", "O", "<<", "\"\\t.weak_definition\\t\"", "<<", "CurrentFnName", "<<", "\"\\n\"", ";", "}", "else", "{", "O", "<<", "TAI", "->", "getWeakRefDirective", "(", ")", "<<", "CurrentFnName", "<<", "\"\\n\"", ";", "}", "break", ";", "}", "printVisibility", "(", "CurrentFnName", ",", "F", "->", "getVisibility", "(", ")", ")", ";", "if", "(", "AFI", "->", "isThumbFunction", "(", ")", ")", "{", "EmitAlignment", "(", "MF", ".", "getAlignment", "(", ")", ",", "F", ",", "AFI", "->", "getAlign", "(", ")", ")", ";", "O", "<<", "\"\\t.code\\t16\\n\"", ";", "O", "<<", "\"\\t.thumb_func\"", ";", "if", "(", "Subtarget", "->", "isTargetDarwin", "(", ")", ")", "O", "<<", "\"\\t\"", "<<", "CurrentFnName", ";", "O", "<<", "\"\\n\"", ";", "InCPMode", "=", "false", ";", "}", "else", "{", "EmitAlignment", "(", "MF", ".", "getAlignment", "(", ")", ",", "F", ")", ";", "}", "O", "<<", "CurrentFnName", "<<", "\":\\n\"", ";", "DW", "->", "BeginFunction", "(", "&", "MF", ")", ";", "if", "(", "Subtarget", "->", "isTargetDarwin", "(", ")", ")", "{", "MachineFunction", "::", "iterator", "I", "=", "MF", ".", "begin", "(", ")", ";", "if", "(", "++", "I", "==", "MF", ".", "end", "(", ")", "&&", "MF", ".", "front", "(", ")", ".", "empty", "(", ")", ")", "O", "<<", "\"\\tnop\\n\"", ";", "}", "for", "(", "MachineFunction", "::", "const_iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "I", "!=", "MF", ".", "begin", "(", ")", ")", "{", "printBasicBlockLabel", "(", "I", ",", "true", ",", "true", ",", "VerboseAsm", ")", ";", "O", "<<", "'\\n'", ";", "}", "for", "(", "MachineBasicBlock", "::", "const_iterator", "II", "=", "I", "->", "begin", "(", ")", ",", "E", "=", "I", "->", "end", "(", ")", ";", "II", "!=", "E", ";", "++", "II", ")", "{", "printMachineInstruction", "(", "II", ")", ";", "}", "}", "if", "(", "TAI", "->", "hasDotTypeDotSizeDirective", "(", ")", ")", "O", "<<", "\"\\t.size \"", "<<", "CurrentFnName", "<<", "\", .-\"", "<<", "CurrentFnName", "<<", "\"\\n\"", ";", "DW", "->", "EndFunction", "(", "&", "MF", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "\"\\n\"", "\"Unknown linkage type!\"", "\"\\t.globl\\t\"", "\"\\n\"", "\"\\t.globl\\t\"", "\"\\n\"", "\"\\t.weak_definition\\t\"", "\"\\n\"", "\"\\n\"", "\"\\t.code\\t16\\n\"", "\"\\t.thumb_func\"", "\"\\t\"", "\"\\n\"", "\":\\n\"", "\"\\tnop\\n\"", "\"\\t.size \"", "\", .-\"", "\"\\n\""], "File": "ARMAsmPrinter20", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9299, "Length": 456, "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": ["ARM"], "File": "ARMTargetMachine (2)", "Func": "getObjFileLowering", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9300, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MINA32FrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "MF", ".", "getFrameInfo", "(", ")", ".", "hasVarSizedObjects", "(", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["MINA32", "MINA32"], "File": "MINA32FrameLowering", "Func": "hasFP", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9301, "Length": 24, "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", "&&", "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": "i3867", "Func": "ix86_reassociation_width", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9302, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"LC3 DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["LC3", "\"LC3 DAG->DAG Pattern Instruction Selection\""], "File": "LC3ISelDAGToDAG", "Func": "getPassName", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9303, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "hasCommutePreference", "(", "MachineInstr", "&", "MI", ",", "bool", "&", "Commute", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "Opcode", "!=", "X86", "::", "ADD32rr", "&&", "Opcode", "!=", "X86", "::", "ADD64rr", ")", "return", "false", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "Register", "Reg1", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "Register", "Reg2", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "if", "(", "MachineInstr", "*", "Inst", "=", "MRI", ".", "getUniqueVRegDef", "(", "Reg1", ")", ")", "{", "if", "(", "isConvertibleLEA", "(", "Inst", ")", "&&", "Inst", "->", "getParent", "(", ")", "==", "MI", ".", "getParent", "(", ")", ")", "{", "Commute", "=", "true", ";", "return", "true", ";", "}", "}", "if", "(", "MachineInstr", "*", "Inst", "=", "MRI", ".", "getUniqueVRegDef", "(", "Reg2", ")", ")", "{", "if", "(", "isConvertibleLEA", "(", "Inst", ")", "&&", "Inst", "->", "getParent", "(", ")", "==", "MI", ".", "getParent", "(", ")", ")", "{", "Commute", "=", "false", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "we", "have", "preference", "on", "the", "operands", "order", "in", "MI", ",", "the", "commute", "decision", "is", "returned", "in", "Commute", "."], "TS_V_token": ["X86", "X86", "X86::ADD32rr", "X86::ADD64rr", "1", "2"], "File": "X86InstrInfo (2)3", "Func": "hasCommutePreference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9304, "Length": 178, "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)1", "Func": "hasLiveCondCodeDef", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9305, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MVEGatherScatterLowering", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "!", "EnableMaskedGatherScatters", ")", "return", "false", ";", "auto", "&", "TPC", "=", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ";", "auto", "&", "TM", "=", "TPC", ".", "getTM", "<", "TargetMachine", ">", "(", ")", ";", "auto", "*", "ST", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", "F", ")", ";", "if", "(", "!", "ST", "->", "hasMVEIntegerOps", "(", ")", ")", "return", "false", ";", "LI", "=", "&", "getAnalysis", "<", "LoopInfoWrapperPass", ">", "(", ")", ".", "getLoopInfo", "(", ")", ";", "SmallVector", "<", "IntrinsicInst", "*", ",", "4", ">", "Gathers", ";", "SmallVector", "<", "IntrinsicInst", "*", ",", "4", ">", "Scatters", ";", "bool", "Changed", "=", "false", ";", "for", "(", "BasicBlock", "&", "BB", ":", "F", ")", "{", "Changed", "|=", "SimplifyInstructionsInBlock", "(", "&", "BB", ")", ";", "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", ")", ";", "Changed", "|=", "optimiseAddress", "(", "II", "->", "getArgOperand", "(", "0", ")", ",", "II", "->", "getParent", "(", ")", ",", "LI", ")", ";", "}", "else", "if", "(", "II", "&&", "II", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "masked_scatter", "&&", "isa", "<", "FixedVectorType", ">", "(", "II", "->", "getArgOperand", "(", "0", ")", "->", "getType", "(", ")", ")", ")", "{", "Scatters", ".", "push_back", "(", "II", ")", ";", "Changed", "|=", "optimiseAddress", "(", "II", "->", "getArgOperand", "(", "1", ")", ",", "II", "->", "getParent", "(", ")", ",", "LI", ")", ";", "}", "}", "}", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Gathers", ".", "size", "(", ")", ";", "i", "++", ")", "{", "IntrinsicInst", "*", "I", "=", "Gathers", "[", "i", "]", ";", "Value", "*", "L", "=", "lowerGather", "(", "I", ")", ";", "if", "(", "L", "==", "nullptr", ")", "continue", ";", "SimplifyInstructionsInBlock", "(", "cast", "<", "Instruction", ">", "(", "L", ")", "->", "getParent", "(", ")", ")", ";", "Changed", "=", "true", ";", "}", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Scatters", ".", "size", "(", ")", ";", "i", "++", ")", "{", "IntrinsicInst", "*", "I", "=", "Scatters", "[", "i", "]", ";", "Value", "*", "S", "=", "lowerScatter", "(", "I", ")", ";", "if", "(", "S", "==", "nullptr", ")", "continue", ";", "SimplifyInstructionsInBlock", "(", "cast", "<", "Instruction", ">", "(", "S", ")", "->", "getParent", "(", ")", ")", ";", "Changed", "=", "true", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["ARM", "ARM", "4", "4", "Intrinsic::masked_gather", "0", "Intrinsic::masked_scatter", "0", "1", "0", "0"], "File": "MVEGatherScatterLowering14", "Func": "runOnFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9306, "Length": 397, "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", ")", ";", "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", ")", ")", ";", "}", ""], "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", "ARMCC::AL"], "File": "ARMBaseInstrInfo15", "Func": "buildOutlinedFrame", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9307, "Length": 367, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "rs6000_abi_word_mode", "(", "void", ")", "{", "return", "TARGET_32BIT", "?", "SImode", ":", "DImode", ";", "}", ""], "natrual_language": ["The", "mode", "the", "ABI", "uses", "for", "a", "word", ".", "This", "is", "not", "the", "same", "as", "word_mode", "for", "-m32", "-mpowerpc64", ".", "This", "is", "used", "to", "implement", "various", "target", "hooks", "."], "TS_V_token": ["rs6000"], "File": "rs60004", "Func": "rs6000_abi_word_mode", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9308, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "RegisterBankInfo", "::", "InstructionMappings", "X86RegisterBankInfo", "::", "getInstrAlternativeMappings", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "TargetSubtargetInfo", "&", "STI", "=", "MF", ".", "getSubtarget", "(", ")", ";", "const", "TargetRegisterInfo", "&", "TRI", "=", "*", "STI", ".", "getRegisterInfo", "(", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "TargetOpcode", "::", "G_LOAD", ":", "case", "TargetOpcode", "::", "G_STORE", ":", "{", "unsigned", "Size", "=", "getSizeInBits", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "MRI", ",", "TRI", ")", ";", "if", "(", "Size", "!=", "32", "&&", "Size", "!=", "64", ")", "break", ";", "unsigned", "NumOperands", "=", "MI", ".", "getNumOperands", "(", ")", ";", "SmallVector", "<", "PartialMappingIdx", ",", "4", ">", "OpRegBankIdx", "(", "NumOperands", ")", ";", "getInstrPartialMappingIdxs", "(", "MI", ",", "MRI", ",", "true", ",", "OpRegBankIdx", ")", ";", "SmallVector", "<", "const", "ValueMapping", "*", ",", "8", ">", "OpdsMapping", "(", "NumOperands", ")", ";", "if", "(", "!", "getInstrValueMapping", "(", "MI", ",", "OpRegBankIdx", ",", "OpdsMapping", ")", ")", "break", ";", "RegisterBankInfo", "::", "InstructionMapping", "Mapping", "=", "InstructionMapping", "{", "1", ",", "1", ",", "getOperandsMapping", "(", "OpdsMapping", ")", ",", "NumOperands", "}", ";", "InstructionMappings", "AltMappings", ";", "AltMappings", ".", "emplace_back", "(", "std", "::", "move", "(", "Mapping", ")", ")", ";", "return", "AltMappings", ";", "}", "default", ":", "break", ";", "}", "return", "RegisterBankInfo", "::", "getInstrAlternativeMappings", "(", "MI", ")", ";", "}", ""], "natrual_language": ["Get", "the", "alternative", "mappings", "for", "MI", "."], "TS_V_token": ["X86", "X86", "0", "32", "64", "4", "8", "1", "1"], "File": "X86RegisterBankInfo13", "Func": "getInstrAlternativeMappings", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9309, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_discover_homogeneous_aggregate", "(", "machine_mode", "mode", ",", "const_tree", "type", ",", "machine_mode", "*", "elt_mode", ",", "int", "*", "n_elts", ")", "{", "if", "(", "DEFAULT_ABI", "==", "ABI_ELFv2", "&&", "type", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "machine_mode", "field_mode", "=", "VOIDmode", ";", "int", "field_count", "=", "rs6000_aggregate_candidate", "(", "type", ",", "&", "field_mode", ")", ";", "if", "(", "field_count", ">", "0", ")", "{", "int", "n_regs", "=", "(", "SCALAR_FLOAT_MODE_P", "(", "field_mode", ")", "?", "(", "GET_MODE_SIZE", "(", "field_mode", ")", "+", "7", ")", ">>", "3", ":", "1", ")", ";", "if", "(", "field_count", "*", "n_regs", "<=", "AGGR_ARG_NUM_REG", ")", "{", "if", "(", "elt_mode", ")", "*", "elt_mode", "=", "field_mode", ";", "if", "(", "n_elts", ")", "*", "n_elts", "=", "field_count", ";", "return", "true", ";", "}", "}", "}", "if", "(", "elt_mode", ")", "*", "elt_mode", "=", "mode", ";", "if", "(", "n_elts", ")", "*", "n_elts", "=", "1", ";", "return", "false", ";", "}", ""], "natrual_language": ["If", "an", "argument", ",", "whose", "type", "is", "described", "by", "TYPE", "and", "MODE", ",", "is", "a", "homogeneous", "float", "or", "vector", "aggregate", "that", "shall", "be", "passed", "in", "FP/vector", "registers", "according", "to", "the", "ELFv2", "ABI", ",", "return", "the", "homogeneous", "element", "mode", "in", "*", "ELT_MODE", "and", "the", "number", "of", "elements", "in", "*", "N_ELTS", ",", "and", "return", "TRUE", ".", "Otherwise", ",", "set", "*", "ELT_MODE", "to", "MODE", "and", "*", "N_ELTS", "to", "1", ",", "and", "return", "FALSE", "."], "TS_V_token": ["rs6000", "0", "7", "3", "1", "1"], "File": "rs60005", "Func": "rs6000_discover_homogeneous_aggregate", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9310, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleDAGInstrs", "*", "createPostMachineScheduler", "(", "MachineSchedContext", "*", "C", ")", "const", "override", "{", "const", "AArch64Subtarget", "&", "ST", "=", "C", "->", "MF", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ";", "if", "(", "ST", ".", "hasFusion", "(", ")", ")", "{", "ScheduleDAGMI", "*", "DAG", "=", "createGenericSchedPostRA", "(", "C", ")", ";", "DAG", "->", "addMutation", "(", "createAArch64MacroFusionDAGMutation", "(", ")", ")", ";", "return", "DAG", ";", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["Similar", "to", "createMachineScheduler", "but", "used", "when", "postRA", "machine", "scheduling", "is", "enabled", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine (2)3", "Func": "createPostMachineScheduler", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9311, "Length": 62, "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": 9312, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_update_ipa_fn_target_info", "(", "unsigned", "int", "&", "info", ",", "const", "gimple", "*", "stmt", ")", "{", "if", "(", "gimple_code", "(", "stmt", ")", "==", "GIMPLE_ASM", ")", "{", "info", "|=", "RS6000_FN_TARGET_INFO_HTM", ";", "return", "false", ";", "}", "else", "if", "(", "gimple_code", "(", "stmt", ")", "==", "GIMPLE_CALL", ")", "{", "tree", "fndecl", "=", "gimple_call_fndecl", "(", "stmt", ")", ";", "if", "(", "fndecl", "&&", "fndecl_built_in_p", "(", "fndecl", ",", "BUILT_IN_MD", ")", ")", "{", "enum", "rs6000_gen_builtins", "fcode", "=", "(", "enum", "rs6000_gen_builtins", ")", "DECL_MD_FUNCTION_CODE", "(", "fndecl", ")", ";", "if", "(", "bif_is_htm", "(", "rs6000_builtin_info", "[", "fcode", "]", ")", ")", "{", "info", "|=", "RS6000_FN_TARGET_INFO_HTM", ";", "return", "false", ";", "}", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Hook", "to", "update", "target", "specific", "information", "INFO", "for", "inlining", "by", "checking", "the", "given", "STMT", ".", "Return", "false", "if", "we", "do", "n't", "need", "to", "scan", "any", "more", ",", "otherwise", "return", "true", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_update_ipa_fn_target_info", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9313, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCDisassembler", "::", "DecodeStatus", "X86GenericDisassembler", "::", "getInstruction", "(", "MCInst", "&", "instr", ",", "uint64_t", "&", "size", ",", "const", "MemoryObject", "&", "region", ",", "uint64_t", "address", ",", "raw_ostream", "&", "vStream", ",", "raw_ostream", "&", "cStream", ")", "const", "{", "CommentStream", "=", "&", "cStream", ";", "InternalInstruction", "internalInstr", ";", "dlog_t", "loggerFn", "=", "logger", ";", "if", "(", "&", "vStream", "==", "&", "nulls", "(", ")", ")", "loggerFn", "=", "0", ";", "int", "ret", "=", "decodeInstruction", "(", "&", "internalInstr", ",", "regionReader", ",", "(", "void", "*", ")", "&", "region", ",", "loggerFn", ",", "(", "void", "*", ")", "&", "vStream", ",", "(", "void", "*", ")", "MII", ",", "address", ",", "fMode", ")", ";", "if", "(", "ret", ")", "{", "size", "=", "internalInstr", ".", "readerCursor", "-", "address", ";", "return", "Fail", ";", "}", "else", "{", "size", "=", "internalInstr", ".", "length", ";", "return", "(", "!", "translateInstruction", "(", "instr", ",", "internalInstr", ",", "this", ")", ")", "?", "Success", ":", "Fail", ";", "}", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["X86", "X86", "0"], "File": "X86Disassembler18", "Func": "getInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9314, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "MachineOperand", "&", "getLdStBaseOp", "(", "const", "MachineInstr", "*", "MI", ")", "{", "unsigned", "Idx", "=", "isPairedLdSt", "(", "MI", ")", "?", "2", ":", "1", ";", "return", "MI", "->", "getOperand", "(", "Idx", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "base", "register", "operator", "of", "a", "load/store", "."], "TS_V_token": ["AArch64", "2", "1"], "File": "AArch64LoadStoreOptimizer (2)", "Func": "getLdStBaseOp", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9315, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "dump", "(", ")", "{", "errs", "(", ")", "<<", "\"SystemZAddressingMode \"", "<<", "this", "<<", "'\\n'", ";", "errs", "(", ")", "<<", "\" Base \"", ";", "if", "(", "Base", ".", "getNode", "(", ")", ")", "Base", ".", "getNode", "(", ")", "->", "dump", "(", ")", ";", "else", "errs", "(", ")", "<<", "\"null\\n\"", ";", "if", "(", "hasIndexField", "(", ")", ")", "{", "errs", "(", ")", "<<", "\" Index \"", ";", "if", "(", "Index", ".", "getNode", "(", ")", ")", "Index", ".", "getNode", "(", ")", "->", "dump", "(", ")", ";", "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)", "Func": "dump", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9316, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "parse_codes", "parse_bif", "(", "void", ")", "{", "parse_codes", "result", ";", "diag", "=", "&", "bif_diag", ";", "if", "(", "!", "advance_line", "(", "bif_file", ")", ")", "return", "PC_OK", ";", "do", "result", "=", "parse_bif_stanza", "(", ")", ";", "while", "(", "result", "==", "PC_OK", ")", ";", "if", "(", "result", "==", "PC_EOFILE", ")", "return", "PC_OK", ";", "return", "result", ";", "}", ""], "natrual_language": ["Parse", "the", "built-in", "file", "."], "TS_V_token": ["rs6000"], "File": "rs6000-gen-builtins", "Func": "parse_bif", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9317, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCCTRLoops", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "LI", "=", "&", "getAnalysis", "<", "LoopInfoWrapperPass", ">", "(", ")", ".", "getLoopInfo", "(", ")", ";", "SE", "=", "&", "getAnalysis", "<", "ScalarEvolution", ">", "(", ")", ";", "DT", "=", "&", "getAnalysis", "<", "DominatorTreeWrapperPass", ">", "(", ")", ".", "getDomTree", "(", ")", ";", "DL", "=", "&", "F", ".", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "auto", "*", "TLIP", "=", "getAnalysisIfAvailable", "<", "TargetLibraryInfoWrapperPass", ">", "(", ")", ";", "LibInfo", "=", "TLIP", "?", "&", "TLIP", "->", "getTLI", "(", ")", ":", "nullptr", ";", "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": "PPCCTRLoops19", "Func": "runOnFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9318, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "SparcDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "SDLoc", "dl", "(", "N", ")", ";", "if", "(", "N", "->", "isMachineOpcode", "(", ")", ")", "{", "N", "->", "setNodeId", "(", "-", "1", ")", ";", "return", "nullptr", ";", "}", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "SPISD", "::", "GLOBAL_BASE_REG", ":", "return", "getGlobalBaseReg", "(", ")", ";", "case", "ISD", "::", "SDIV", ":", "case", "ISD", "::", "UDIV", ":", "{", "if", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i64", ")", "break", ";", "SDValue", "DivLHS", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "DivRHS", "=", "N", "->", "getOperand", "(", "1", ")", ";", "SDValue", "TopPart", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SDIV", ")", "{", "TopPart", "=", "SDValue", "(", "CurDAG", "->", "getMachineNode", "(", "SP", "::", "SRAri", ",", "dl", ",", "MVT", "::", "i32", ",", "DivLHS", ",", "CurDAG", "->", "getTargetConstant", "(", "31", ",", "MVT", "::", "i32", ")", ")", ",", "0", ")", ";", "}", "else", "{", "TopPart", "=", "CurDAG", "->", "getRegister", "(", "SP", "::", "G0", ",", "MVT", "::", "i32", ")", ";", "}", "TopPart", "=", "SDValue", "(", "CurDAG", "->", "getMachineNode", "(", "SP", "::", "WRYrr", ",", "dl", ",", "MVT", "::", "Glue", ",", "TopPart", ",", "CurDAG", "->", "getRegister", "(", "SP", "::", "G0", ",", "MVT", "::", "i32", ")", ")", ",", "0", ")", ";", "unsigned", "Opcode", "=", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SDIV", "?", "SP", "::", "SDIVrr", ":", "SP", "::", "UDIVrr", ";", "return", "CurDAG", "->", "SelectNodeTo", "(", "N", ",", "Opcode", ",", "MVT", "::", "i32", ",", "DivLHS", ",", "DivRHS", ",", "TopPart", ")", ";", "}", "case", "ISD", "::", "MULHU", ":", "case", "ISD", "::", "MULHS", ":", "{", "SDValue", "MulLHS", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "MulRHS", "=", "N", "->", "getOperand", "(", "1", ")", ";", "unsigned", "Opcode", "=", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "MULHU", "?", "SP", "::", "UMULrr", ":", "SP", "::", "SMULrr", ";", "SDNode", "*", "Mul", "=", "CurDAG", "->", "getMachineNode", "(", "Opcode", ",", "dl", ",", "MVT", "::", "i32", ",", "MVT", "::", "Glue", ",", "MulLHS", ",", "MulRHS", ")", ";", "return", "CurDAG", "->", "SelectNodeTo", "(", "N", ",", "SP", "::", "RDY", ",", "MVT", "::", "i32", ",", "SDValue", "(", "Mul", ",", "1", ")", ")", ";", "}", "}", "return", "SelectCode", "(", "N", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["Sparc", "Sparc", "1", "SPISD::GLOBAL_BASE_REG", "ISD::SDIV", "ISD::UDIV", "0", "MVT::i64", "0", "1", "ISD::SDIV", "SP::SRAri", "MVT::i32", "31", "MVT::i32", "0", "SP::G0", "MVT::i32", "SP::WRYrr", "MVT::Glue", "SP::G0", "MVT::i32", "0", "ISD::SDIV", "SP::SDIVrr", "SP::UDIVrr", "MVT::i32", "ISD::MULHU", "ISD::MULHS", "0", "1", "ISD::MULHU", "SP::UMULrr", "SP::SMULrr", "MVT::i32", "MVT::Glue", "SP::RDY", "MVT::i32", "1"], "File": "SparcISelDAGToDAG", "Func": "Select", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9319, "Length": 365, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "includes_rldicr_lshift_p", "(", "rtx", "shiftop", ",", "rtx", "andop", ")", "{", "if", "(", "GET_CODE", "(", "andop", ")", "==", "CONST_INT", ")", "{", "unsigned", "HOST_WIDE_INT", "c", ",", "lsb", ",", "shift_mask", ";", "shift_mask", "=", "HOST_WIDE_INT_M1U", ";", "shift_mask", "<<=", "INTVAL", "(", "shiftop", ")", ";", "c", "=", "INTVAL", "(", "andop", ")", ";", "lsb", "=", "c", "&", "-", "c", ";", "if", "(", "(", "lsb", "&", "shift_mask", ")", "==", "0", ")", "return", "0", ";", "return", "c", "==", "-", "lsb", "&&", "lsb", "!=", "1", ";", "}", "else", "return", "0", ";", "}", ""], "natrual_language": ["Return", "1", "if", "ANDOP", "is", "a", "mask", "suitable", "for", "use", "with", "an", "rldicr", "insn", "to", "perform", "a", "left", "shift", ".", "It", "must", "have", "SHIFTOP", "or", "more", "least", "significant", "0", "'s", ",", "with", "the", "remainder", "of", "the", "word", "1", "'s", "."], "TS_V_token": ["rs6000", "0", "0", "1", "0"], "File": "rs60004", "Func": "includes_rldicr_lshift_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9320, "Length": 82, "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": 9321, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PartialReduction", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "auto", "*", "TPC", "=", "getAnalysisIfAvailable", "<", "TargetPassConfig", ">", "(", ")", ";", "if", "(", "!", "TPC", ")", "return", "false", ";", "auto", "&", "TM", "=", "TPC", "->", "getTM", "<", "X86TargetMachine", ">", "(", ")", ";", "ST", "=", "TM", ".", "getSubtargetImpl", "(", "F", ")", ";", "DL", "=", "&", "F", ".", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "bool", "MadeChange", "=", "false", ";", "for", "(", "auto", "&", "BB", ":", "F", ")", "{", "for", "(", "auto", "&", "I", ":", "BB", ")", "{", "auto", "*", "EE", "=", "dyn_cast", "<", "ExtractElementInst", ">", "(", "&", "I", ")", ";", "if", "(", "!", "EE", ")", "continue", ";", "Value", "*", "Root", "=", "matchAddReduction", "(", "*", "EE", ")", ";", "if", "(", "!", "Root", ")", "continue", ";", "SmallVector", "<", "Instruction", "*", ",", "8", ">", "Leaves", ";", "collectLeaves", "(", "Root", ",", "Leaves", ")", ";", "for", "(", "Instruction", "*", "I", ":", "Leaves", ")", "{", "if", "(", "tryMAddReplacement", "(", "I", ")", ")", "{", "MadeChange", "=", "true", ";", "continue", ";", "}", "if", "(", "I", "!=", "Root", "&&", "trySADReplacement", "(", "I", ")", ")", "MadeChange", "=", "true", ";", "}", "}", "}", "return", "MadeChange", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["X86", "X86", "X86", "8"], "File": "X86PartialReduction2", "Func": "runOnFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9322, "Length": 196, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "shouldForceRelocation", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ")", "override", "{", "switch", "(", "(", "Sparc", "::", "Fixups", ")", "Fixup", ".", "getKind", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Sparc", "::", "fixup_sparc_wplt30", ":", "if", "(", "Target", ".", "getSymA", "(", ")", "->", "getSymbol", "(", ")", ".", "isTemporary", "(", ")", ")", "return", "false", ";", "case", "Sparc", "::", "fixup_sparc_tls_gd_hi22", ":", "case", "Sparc", "::", "fixup_sparc_tls_gd_lo10", ":", "case", "Sparc", "::", "fixup_sparc_tls_gd_add", ":", "case", "Sparc", "::", "fixup_sparc_tls_gd_call", ":", "case", "Sparc", "::", "fixup_sparc_tls_ldm_hi22", ":", "case", "Sparc", "::", "fixup_sparc_tls_ldm_lo10", ":", "case", "Sparc", "::", "fixup_sparc_tls_ldm_add", ":", "case", "Sparc", "::", "fixup_sparc_tls_ldm_call", ":", "case", "Sparc", "::", "fixup_sparc_tls_ldo_hix22", ":", "case", "Sparc", "::", "fixup_sparc_tls_ldo_lox10", ":", "case", "Sparc", "::", "fixup_sparc_tls_ldo_add", ":", "case", "Sparc", "::", "fixup_sparc_tls_ie_hi22", ":", "case", "Sparc", "::", "fixup_sparc_tls_ie_lo10", ":", "case", "Sparc", "::", "fixup_sparc_tls_ie_ld", ":", "case", "Sparc", "::", "fixup_sparc_tls_ie_ldx", ":", "case", "Sparc", "::", "fixup_sparc_tls_ie_add", ":", "case", "Sparc", "::", "fixup_sparc_tls_le_hix22", ":", "case", "Sparc", "::", "fixup_sparc_tls_le_lox10", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Hook", "to", "check", "if", "a", "relocation", "is", "needed", "for", "some", "target", "specific", "reason", "."], "TS_V_token": ["Sparc", "Sparc::Fixups", "Sparc::fixup_sparc_wplt30", "Sparc::fixup_sparc_tls_gd_hi22", "Sparc::fixup_sparc_tls_gd_lo10", "Sparc::fixup_sparc_tls_gd_add", "Sparc::fixup_sparc_tls_gd_call", "Sparc::fixup_sparc_tls_ldm_hi22", "Sparc::fixup_sparc_tls_ldm_lo10", "Sparc::fixup_sparc_tls_ldm_add", "Sparc::fixup_sparc_tls_ldm_call", "Sparc::fixup_sparc_tls_ldo_hix22", "Sparc::fixup_sparc_tls_ldo_lox10", "Sparc::fixup_sparc_tls_ldo_add", "Sparc::fixup_sparc_tls_ie_hi22", "Sparc::fixup_sparc_tls_ie_lo10", "Sparc::fixup_sparc_tls_ie_ld", "Sparc::fixup_sparc_tls_ie_ldx", "Sparc::fixup_sparc_tls_ie_add", "Sparc::fixup_sparc_tls_le_hix22", "Sparc::fixup_sparc_tls_le_lox10"], "File": "SparcAsmBackend8", "Func": "shouldForceRelocation", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9323, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64StackTaggingPreRA", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Func", ")", "{", "MF", "=", "&", "Func", ";", "MRI", "=", "&", "MF", "->", "getRegInfo", "(", ")", ";", "AFI", "=", "MF", "->", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "MF", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "static_cast", "<", "const", "AArch64RegisterInfo", "*", ">", "(", "MF", "->", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "MFI", "=", "&", "MF", "->", "getFrameInfo", "(", ")", ";", "ReTags", ".", "clear", "(", ")", ";", "assert", "(", "MRI", "->", "isSSA", "(", ")", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** AArch64 Stack Tagging PreRA **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", "->", "getName", "(", ")", "<<", "'\\n'", ")", ";", "SmallSetVector", "<", "int", ",", "8", ">", "TaggedSlots", ";", "for", "(", "auto", "&", "BB", ":", "*", "MF", ")", "{", "for", "(", "auto", "&", "I", ":", "BB", ")", "{", "if", "(", "I", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "TAGPstack", ")", "{", "ReTags", ".", "push_back", "(", "&", "I", ")", ";", "int", "FI", "=", "I", ".", "getOperand", "(", "1", ")", ".", "getIndex", "(", ")", ";", "TaggedSlots", ".", "insert", "(", "FI", ")", ";", "assert", "(", "I", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "0", ")", ";", "}", "}", "}", "for", "(", "int", "FI", ":", "TaggedSlots", ")", "MFI", "->", "setObjectSSPLayout", "(", "FI", ",", "MachineFrameInfo", "::", "SSPLK_None", ")", ";", "if", "(", "ReTags", ".", "empty", "(", ")", ")", "return", "false", ";", "if", "(", "mayUseUncheckedLoadStore", "(", ")", ")", "uncheckLoadsAndStores", "(", ")", ";", "Optional", "<", "int", ">", "BaseSlot", "=", "findFirstSlotCandidate", "(", ")", ";", "if", "(", "BaseSlot", ")", "AFI", "->", "setTaggedBasePointerIndex", "(", "*", "BaseSlot", ")", ";", "for", "(", "auto", "*", "I", ":", "ReTags", ")", "{", "int", "FI", "=", "I", "->", "getOperand", "(", "1", ")", ".", "getIndex", "(", ")", ";", "int", "Tag", "=", "I", "->", "getOperand", "(", "4", ")", ".", "getImm", "(", ")", ";", "Register", "Base", "=", "I", "->", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", ";", "if", "(", "Tag", "==", "0", "&&", "FI", "==", "BaseSlot", ")", "{", "BuildMI", "(", "*", "I", "->", "getParent", "(", ")", ",", "I", ",", "{", "}", ",", "TII", "->", "get", "(", "AArch64", "::", "COPY", ")", ",", "I", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "Base", ")", ";", "I", "->", "eraseFromParent", "(", ")", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "\"********** AArch64 Stack Tagging PreRA **********\\n\"", "\"********** Function: \"", "8", "AArch64::TAGPstack", "1", "2", "0", "1", "4", "3", "0", "AArch64::COPY", "0"], "File": "AArch64StackTaggingPreRA1", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9324, "Length": 381, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16TargetLowering", "::", "getOpndList", "(", "SmallVectorImpl", "<", "SDValue", ">", "&", "Ops", ",", "std", "::", "deque", "<", "std", "::", "pair", "<", "unsigned", ",", "SDValue", ">", ">", "&", "RegsToPass", ",", "bool", "IsPICCall", ",", "bool", "GlobalOrExternal", ",", "bool", "InternalLinkage", ",", "CallLoweringInfo", "&", "CLI", ",", "SDValue", "Callee", ",", "SDValue", "Chain", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "CLI", ".", "DAG", ";", "const", "char", "*", "Mips16HelperFunction", "=", "0", ";", "bool", "NeedMips16Helper", "=", "false", ";", "if", "(", "getTargetMachine", "(", ")", ".", "Options", ".", "UseSoftFloat", "&&", "Subtarget", "->", "inMips16HardFloat", "(", ")", ")", "{", "bool", "LookupHelper", "=", "true", ";", "if", "(", "ExternalSymbolSDNode", "*", "S", "=", "dyn_cast", "<", "ExternalSymbolSDNode", ">", "(", "CLI", ".", "Callee", ")", ")", "{", "Mips16Libcall", "Find", "=", "{", "RTLIB", "::", "UNKNOWN_LIBCALL", ",", "S", "->", "getSymbol", "(", ")", "}", ";", "if", "(", "std", "::", "binary_search", "(", "HardFloatLibCalls", ",", "array_endof", "(", "HardFloatLibCalls", ")", ",", "Find", ")", ")", "LookupHelper", "=", "false", ";", "else", "{", "Mips16IntrinsicHelperType", "IntrinsicFind", "=", "{", "S", "->", "getSymbol", "(", ")", ",", "\"\"", "}", ";", "if", "(", "std", "::", "binary_search", "(", "Mips16IntrinsicHelper", ",", "array_endof", "(", "Mips16IntrinsicHelper", ")", ",", "IntrinsicFind", ")", ")", "{", "const", "Mips16IntrinsicHelperType", "*", "h", "=", "(", "std", "::", "find", "(", "Mips16IntrinsicHelper", ",", "array_endof", "(", "Mips16IntrinsicHelper", ")", ",", "IntrinsicFind", ")", ")", ";", "Mips16HelperFunction", "=", "h", "->", "Helper", ";", "NeedMips16Helper", "=", "true", ";", "LookupHelper", "=", "false", ";", "}", "}", "}", "else", "if", "(", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "CLI", ".", "Callee", ")", ")", "{", "Mips16Libcall", "Find", "=", "{", "RTLIB", "::", "UNKNOWN_LIBCALL", ",", "G", "->", "getGlobal", "(", ")", "->", "getName", "(", ")", ".", "data", "(", ")", "}", ";", "if", "(", "std", "::", "binary_search", "(", "HardFloatLibCalls", ",", "array_endof", "(", "HardFloatLibCalls", ")", ",", "Find", ")", ")", "LookupHelper", "=", "false", ";", "}", "if", "(", "LookupHelper", ")", "Mips16HelperFunction", "=", "getMips16HelperFunction", "(", "CLI", ".", "RetTy", ",", "CLI", ".", "Args", ",", "NeedMips16Helper", ")", ";", "}", "SDValue", "JumpTarget", "=", "Callee", ";", "if", "(", "IsPICCall", "||", "!", "GlobalOrExternal", ")", "{", "unsigned", "V0Reg", "=", "Mips", "::", "V0", ";", "if", "(", "NeedMips16Helper", ")", "{", "RegsToPass", ".", "push_front", "(", "std", "::", "make_pair", "(", "V0Reg", ",", "Callee", ")", ")", ";", "JumpTarget", "=", "DAG", ".", "getExternalSymbol", "(", "Mips16HelperFunction", ",", "getPointerTy", "(", ")", ")", ";", "JumpTarget", "=", "getAddrGlobal", "(", "JumpTarget", ",", "DAG", ",", "MipsII", "::", "MO_GOT", ")", ";", "}", "else", "RegsToPass", ".", "push_front", "(", "std", "::", "make_pair", "(", "(", "unsigned", ")", "Mips", "::", "T9", ",", "Callee", ")", ")", ";", "}", "Ops", ".", "push_back", "(", "JumpTarget", ")", ";", "MipsTargetLowering", "::", "getOpndList", "(", "Ops", ",", "RegsToPass", ",", "IsPICCall", ",", "GlobalOrExternal", ",", "InternalLinkage", ",", "CLI", ",", "Callee", ",", "Chain", ")", ";", "}", ""], "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", "0", "Mips", "Mips", "Mips", "Mips", "\"\"", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::V0", "Mips", "Mips", "MipsII::MO_GOT", "Mips::T9", "Mips"], "File": "Mips16ISelLowering3", "Func": "getOpndList", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9325, "Length": 411, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SHUXIRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["SHUXI", "SHUXI"], "File": "SHUXIInstrInfo", "Func": "getRegisterInfo", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9326, "Length": 12, "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": 9327, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sparc_function_incoming_arg", "(", "cumulative_args_t", "cum", ",", "const", "function_arg_info", "&", "arg", ")", "{", "return", "sparc_function_arg_1", "(", "cum", ",", "arg", ",", "true", ")", ";", "}", ""], "natrual_language": ["Handle", "the", "TARGET_FUNCTION_INCOMING_ARG", "target", "hook", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "sparc_function_incoming_arg", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9328, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isCheapToSpeculateCtlz", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "cheap", "to", "speculate", "a", "call", "to", "intrinsic", "ctlz", "."], "TS_V_token": ["AArch64"], "File": "AArch64ISelLowering (2)", "Func": "isCheapToSpeculateCtlz", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9329, "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", ";", "unsigned", "ADDu", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "DADDu", ":", "Mips", "::", "ADDu", ";", "unsigned", "ADDiu", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "DADDiu", ":", "Mips", "::", "ADDiu", ";", "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", "Mips::DADDu", "Mips::ADDu", "Mips::DADDiu", "Mips::ADDiu", "0", "16"], "File": "MipsSEInstrInfo49", "Func": "adjustStackPtr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9330, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "reMaterialize", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "unsigned", "SubIdx", ",", "const", "MachineInstr", "*", "Orig", ")", "const", "{", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "SubIdx", "&&", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "DestReg", ")", ")", "{", "DestReg", "=", "RI", ".", "getSubReg", "(", "DestReg", ",", "SubIdx", ")", ";", "SubIdx", "=", "0", ";", "}", "bool", "Clone", "=", "true", ";", "unsigned", "Opc", "=", "Orig", "->", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "default", ":", "break", ";", "case", "X86", "::", "MOV8r0", ":", "case", "X86", "::", "MOV16r0", ":", "case", "X86", "::", "MOV32r0", ":", "{", "if", "(", "!", "isSafeToClobberEFLAGS", "(", "MBB", ",", "I", ")", ")", "{", "switch", "(", "Opc", ")", "{", "default", ":", "break", ";", "case", "X86", "::", "MOV8r0", ":", "Opc", "=", "X86", "::", "MOV8ri", ";", "break", ";", "case", "X86", "::", "MOV16r0", ":", "Opc", "=", "X86", "::", "MOV16ri", ";", "break", ";", "case", "X86", "::", "MOV32r0", ":", "Opc", "=", "X86", "::", "MOV32ri", ";", "break", ";", "}", "Clone", "=", "false", ";", "}", "break", ";", "}", "}", "if", "(", "Clone", ")", "{", "MachineInstr", "*", "MI", "=", "MBB", ".", "getParent", "(", ")", "->", "CloneMachineInstr", "(", "Orig", ")", ";", "MI", "->", "getOperand", "(", "0", ")", ".", "setReg", "(", "DestReg", ")", ";", "MBB", ".", "insert", "(", "I", ",", "MI", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DestReg", ")", ".", "addImm", "(", "0", ")", ";", "}", "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", "X86::MOV8r0", "X86::MOV16r0", "X86::MOV32r0", "X86::MOV8r0", "X86::MOV8ri", "X86::MOV16r0", "X86::MOV16ri", "X86::MOV32r0", "X86::MOV32ri", "0", "0", "0"], "File": "X86InstrInfo108", "Func": "reMaterialize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9331, "Length": 278, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZMCAsmBackend", "::", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ")", "const", "{", "return", "getRelaxedOpcode", "(", "Inst", ".", "getOpcode", "(", ")", ")", "!=", "0", ";", "}", ""], "natrual_language": ["Check", "whether", "the", "given", "instruction", "may", "need", "relaxation", "."], "TS_V_token": ["SystemZ", "SystemZ", "0"], "File": "SystemZMCAsmBackend28", "Func": "mayNeedRelaxation", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9332, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86NaClRewritePass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "Modified", "=", "false", ";", "TM", "=", "&", "MF", ".", "getTarget", "(", ")", ";", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "Is64Bit", "=", "Subtarget", "->", "is64Bit", "(", ")", ";", "assert", "(", "Subtarget", "->", "isTargetNaCl", "(", ")", "&&", "\"Unexpected target in NaClRewritePass!\"", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"*************** NaCl Rewrite Pass ***************\\n\"", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "MFI", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "MFI", "!=", "E", ";", "++", "MFI", ")", "{", "Modified", "|=", "runOnMachineBasicBlock", "(", "*", "MFI", ")", ";", "}", "Modified", "|=", "AlignJumpTableTargets", "(", "MF", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"*************** NaCl Rewrite DONE ***************\\n\"", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "\"Unexpected target in NaClRewritePass!\"", "\"*************** NaCl Rewrite Pass ***************\\n\"", "\"*************** NaCl Rewrite DONE ***************\\n\""], "File": "X86NaClRewritePass", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9333, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "override", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "SHUXI", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_SHUXI_NONE\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_SHUXI_32\"", ",", "0", ",", "32", ",", "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": ["SHUXI", "SHUXI::NumTargetFixupKinds", "\"fixup_SHUXI_NONE\"", "0", "32", "0", "\"fixup_SHUXI_32\"", "0", "32", "0", "\"Invalid kind!\""], "File": "SHUXIAsmBackend", "Func": "getFixupKindInfo", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9334, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_count_insn_bb", "(", "basic_block", "bb", ")", "{", "rtx_insn", "*", "insn", ";", "int", "insn_count", "=", "0", ";", "FOR_BB_INSNS", "(", "bb", ",", "insn", ")", "{", "if", "(", "JUMP_P", "(", "insn", ")", "&&", "ANY_RETURN_P", "(", "PATTERN", "(", "insn", ")", ")", ")", "break", ";", "if", "(", "NONDEBUG_INSN_P", "(", "insn", ")", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "USE", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "CLOBBER", ")", "{", "insn_count", "++", ";", "if", "(", "insn_count", ">=", "4", ")", "return", "insn_count", ";", "}", "}", "return", "insn_count", ";", "}", ""], "natrual_language": ["Count", "the", "minimum", "number", "of", "instructions", "in", "BB", ".", "Return", "4", "if", "the", "number", "of", "instructions", ">", "=", "4", "."], "TS_V_token": ["i386", "0", "4"], "File": "i386", "Func": "ix86_count_insn_bb", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9335, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "RegisterBankInfo", "::", "InstructionMappings", "AArch64RegisterBankInfo", "::", "getInstrAlternativeMappings", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "TargetOpcode", "::", "G_OR", ":", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "TargetSubtargetInfo", "&", "STI", "=", "MF", ".", "getSubtarget", "(", ")", ";", "const", "TargetRegisterInfo", "&", "TRI", "=", "*", "STI", ".", "getRegisterInfo", "(", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "unsigned", "Size", "=", "getSizeInBits", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "MRI", ",", "TRI", ")", ";", "if", "(", "Size", "!=", "32", "&&", "Size", "!=", "64", ")", "break", ";", "if", "(", "MI", ".", "getNumOperands", "(", ")", "!=", "3", ")", "break", ";", "InstructionMappings", "AltMappings", ";", "InstructionMapping", "GPRMapping", "(", "1", ",", "1", ",", "3", ")", ";", "InstructionMapping", "FPRMapping", "(", "2", ",", "1", ",", "3", ")", ";", "for", "(", "unsigned", "Idx", "=", "0", ";", "Idx", "!=", "3", ";", "++", "Idx", ")", "{", "GPRMapping", ".", "setOperandMapping", "(", "Idx", ",", "Size", ",", "getRegBank", "(", "AArch64", "::", "GPRRegBankID", ")", ")", ";", "FPRMapping", ".", "setOperandMapping", "(", "Idx", ",", "Size", ",", "getRegBank", "(", "AArch64", "::", "FPRRegBankID", ")", ")", ";", "}", "AltMappings", ".", "emplace_back", "(", "std", "::", "move", "(", "GPRMapping", ")", ")", ";", "AltMappings", ".", "emplace_back", "(", "std", "::", "move", "(", "FPRMapping", ")", ")", ";", "return", "AltMappings", ";", "}", "default", ":", "break", ";", "}", "return", "RegisterBankInfo", "::", "getInstrAlternativeMappings", "(", "MI", ")", ";", "}", ""], "natrual_language": ["Get", "the", "alternative", "mappings", "for", "MI", "."], "TS_V_token": ["AArch64", "AArch64", "0", "32", "64", "3", "1", "1", "3", "2", "1", "3", "0", "3", "AArch64::GPRRegBankID", "AArch64::FPRRegBankID"], "File": "AArch64RegisterBankInfo3", "Func": "getInstrAlternativeMappings", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9336, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_evpc_uzp", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "int", "i", ",", "odd", ",", "mask", ",", "nelt", "=", "d", "->", "nelt", ";", "rtx", "out", ",", "in0", ",", "in1", ",", "x", ";", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "machine_mode", "vmode", "=", "d", "->", "vmode", ";", "if", "(", "GET_MODE_UNIT_SIZE", "(", "vmode", ")", ">", "8", ")", "return", "false", ";", "if", "(", "d", "->", "perm", "[", "0", "]", "==", "0", ")", "odd", "=", "0", ";", "else", "if", "(", "d", "->", "perm", "[", "0", "]", "==", "1", ")", "odd", "=", "1", ";", "else", "return", "false", ";", "mask", "=", "(", "d", "->", "one_vector_p", "?", "nelt", "-", "1", ":", "2", "*", "nelt", "-", "1", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "i", "++", ")", "{", "unsigned", "elt", "=", "(", "i", "*", "2", "+", "odd", ")", "&", "mask", ";", "if", "(", "d", "->", "perm", "[", "i", "]", "!=", "elt", ")", "return", "false", ";", "}", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "in0", "=", "d", "->", "op0", ";", "in1", "=", "d", "->", "op1", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "{", "x", "=", "in0", ",", "in0", "=", "in1", ",", "in1", "=", "x", ";", "odd", "=", "!", "odd", ";", "}", "out", "=", "d", "->", "target", ";", "if", "(", "odd", ")", "{", "switch", "(", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_aarch64_uzp2v16qi", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_aarch64_uzp2v8qi", ";", "break", ";", "case", "V8HImode", ":", "gen", "=", "gen_aarch64_uzp2v8hi", ";", "break", ";", "case", "V4HImode", ":", "gen", "=", "gen_aarch64_uzp2v4hi", ";", "break", ";", "case", "V4SImode", ":", "gen", "=", "gen_aarch64_uzp2v4si", ";", "break", ";", "case", "V2SImode", ":", "gen", "=", "gen_aarch64_uzp2v2si", ";", "break", ";", "case", "V2DImode", ":", "gen", "=", "gen_aarch64_uzp2v2di", ";", "break", ";", "case", "V4HFmode", ":", "gen", "=", "gen_aarch64_uzp2v4hf", ";", "break", ";", "case", "V8HFmode", ":", "gen", "=", "gen_aarch64_uzp2v8hf", ";", "break", ";", "case", "V4SFmode", ":", "gen", "=", "gen_aarch64_uzp2v4sf", ";", "break", ";", "case", "V2SFmode", ":", "gen", "=", "gen_aarch64_uzp2v2sf", ";", "break", ";", "case", "V2DFmode", ":", "gen", "=", "gen_aarch64_uzp2v2df", ";", "break", ";", "default", ":", "return", "false", ";", "}", "}", "else", "{", "switch", "(", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_aarch64_uzp1v16qi", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_aarch64_uzp1v8qi", ";", "break", ";", "case", "V8HImode", ":", "gen", "=", "gen_aarch64_uzp1v8hi", ";", "break", ";", "case", "V4HImode", ":", "gen", "=", "gen_aarch64_uzp1v4hi", ";", "break", ";", "case", "V4SImode", ":", "gen", "=", "gen_aarch64_uzp1v4si", ";", "break", ";", "case", "V2SImode", ":", "gen", "=", "gen_aarch64_uzp1v2si", ";", "break", ";", "case", "V2DImode", ":", "gen", "=", "gen_aarch64_uzp1v2di", ";", "break", ";", "case", "V4HFmode", ":", "gen", "=", "gen_aarch64_uzp1v4hf", ";", "break", ";", "case", "V8HFmode", ":", "gen", "=", "gen_aarch64_uzp1v8hf", ";", "break", ";", "case", "V4SFmode", ":", "gen", "=", "gen_aarch64_uzp1v4sf", ";", "break", ";", "case", "V2SFmode", ":", "gen", "=", "gen_aarch64_uzp1v2sf", ";", "break", ";", "case", "V2DFmode", ":", "gen", "=", "gen_aarch64_uzp1v2df", ";", "break", ";", "default", ":", "return", "false", ";", "}", "}", "emit_insn", "(", "gen", "(", "out", ",", "in0", ",", "in1", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "suitable", "for", "the", "UZP", "instructions", "."], "TS_V_token": ["aarch64", "8", "0", "0", "0", "0", "1", "1", "1", "2", "1", "0", "2"], "File": "aarch644", "Func": "aarch64_evpc_uzp", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9337, "Length": 473, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "shouldClusterMemOps", "(", "ArrayRef", "<", "const", "MachineOperand", "*", ">", "BaseOps1", ",", "ArrayRef", "<", "const", "MachineOperand", "*", ">", "BaseOps2", ",", "unsigned", "NumLoads", ",", "unsigned", "NumBytes", ")", "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": "AArch64InstrInfo107", "Func": "shouldClusterMemOps", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9338, "Length": 398, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "loongarch_frame_set", "(", "rtx", "mem", ",", "rtx", "reg", ")", "{", "rtx", "set", "=", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "set", ")", "=", "1", ";", "return", "set", ";", "}", ""], "natrual_language": ["Return", "a", "frame-related", "rtx", "that", "stores", "REG", "at", "MEM", ".", "REG", "must", "be", "a", "single", "register", "."], "TS_V_token": ["loongarch", "1"], "File": "loongarch", "Func": "loongarch_frame_set", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9339, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rx_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "decl", "==", "NULL", ")", "return", "false", ";", "if", "(", "is_fast_interrupt_func", "(", "NULL_TREE", ")", "||", "is_interrupt_func", "(", "NULL_TREE", ")", "||", "is_naked_func", "(", "NULL_TREE", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "it", "is", "ok", "to", "make", "a", "tail-call", "to", "DECL", ",", "a", "function_decl", "or", "NULL", "if", "this", "is", "an", "indirect", "call", ",", "using", "EXP"], "TS_V_token": ["rx"], "File": "rx2", "Func": "rx_function_ok_for_sibcall", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9340, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_free_from_memory", "(", "enum", "machine_mode", "mode", ")", "{", "if", "(", "!", "TARGET_RED_ZONE", ")", "{", "int", "size", ";", "if", "(", "mode", "==", "DImode", "||", "TARGET_64BIT", ")", "size", "=", "8", ";", "else", "size", "=", "4", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "stack_pointer_rtx", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "size", ")", ")", ")", ")", ";", "}", "}", ""], "natrual_language": ["Free", "operand", "from", "the", "memory", "."], "TS_V_token": ["i386", "8", "4"], "File": "i3863", "Func": "ix86_free_from_memory", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9341, "Length": 58, "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", "::", "VSHLIMM", ")", ")", "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::VSHLIMM"], "File": "ARMISelLowering10", "Func": "isVectorLoadExtDesirable", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9342, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_darwin64_struct_check_p", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "return", "rs6000_darwin64_abi", "&&", "(", "(", "mode", "==", "BLKmode", "&&", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", "&&", "int_size_in_bytes", "(", "type", ")", ">", "0", ")", "||", "(", "type", "&&", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", "&&", "int_size_in_bytes", "(", "type", ")", "==", "8", ")", ")", "?", "1", ":", "0", ";", "}", ""], "natrual_language": ["Check", "for", "an", "item", "that", "needs", "to", "be", "considered", "specially", "under", "the", "darwin", "64", "bit", "ABI", ".", "These", "are", "record", "types", "where", "the", "mode", "is", "BLK", "or", "the", "structure", "is", "8", "bytes", "in", "size", "."], "TS_V_token": ["rs6000", "0", "8", "1", "0"], "File": "rs60004", "Func": "rs6000_darwin64_struct_check_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9343, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "fusion_wrap_memory_address", "(", "rtx", "old_mem", ")", "{", "rtx", "old_addr", "=", "XEXP", "(", "old_mem", ",", "0", ")", ";", "rtvec", "v", "=", "gen_rtvec", "(", "1", ",", "old_addr", ")", ";", "rtx", "new_addr", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "v", ",", "UNSPEC_FUSION_ADDIS", ")", ";", "return", "replace_equiv_address_nv", "(", "old_mem", ",", "new_addr", ",", "false", ")", ";", "}", ""], "natrual_language": ["Wrap", "a", "TOC", "address", "that", "can", "be", "fused", "to", "indicate", "that", "special", "fusion", "processing", "is", "needed", "."], "TS_V_token": ["powerpcspe", "0", "1"], "File": "powerpcspe", "Func": "fusion_wrap_memory_address", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9344, "Length": 50, "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", ")", ";", "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", "::", "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", ")", ";", "}", "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::READCYCLECOUNTER", "ISD::UDIV", "ISD::SDIV", "\"can only expand DIV on Windows\"", "0", "ISD::SDIV"], "File": "ARMISelLowering (2)2", "Func": "ReplaceNodeResults", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9345, "Length": 198, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "std", "::", "unique_ptr", "<", "VEOperand", ">", "CreateReg", "(", "unsigned", "RegNum", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{", "auto", "Op", "=", "std", "::", "make_unique", "<", "VEOperand", ">", "(", "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": ["VE", "VE", "VE"], "File": "VEAsmParser (2)", "Func": "CreateReg", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9346, "Length": 56, "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", "TARGET_SMALLCODE", "?", "2", ":", "3", ";", "if", "(", "TARGET_SH2", ")", "{", "if", "(", "TARGET_SMALLCODE", ")", "return", "2", ";", "return", "3", ";", "}", "if", "(", "TARGET_SMALLCODE", ")", "return", "5", ";", "return", "20", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "a", "multiply", "."], "TS_V_token": ["sh", "0", "2", "3", "2", "3", "5", "20"], "File": "sh3", "Func": "multcosts", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9347, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_composite_type_p", "(", "const_tree", "type", ",", "machine_mode", "mode", ")", "{", "if", "(", "type", "&&", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "||", "TREE_CODE", "(", "type", ")", "==", "COMPLEX_TYPE", ")", ")", "return", "true", ";", "if", "(", "mode", "==", "BLKmode", "||", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_FLOAT", "||", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_INT", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "the", "type", ",", "as", "described", "by", "TYPE", "and", "MODE", ",", "is", "a", "composite", "type", "as", "described", "in", "AAPCS64", "\\S", "4.3", ".", "This", "includes", "aggregate", ",", "union", "and", "array", "types", ".", "The", "C99", "floating-point", "complex", "types", "are", "also", "considered", "as", "composite", "types", ",", "according", "to", "AAPCS64", "\\S", "7.1.1", ".", "The", "complex", "integer", "types", ",", "which", "are", "GCC", "extensions", "and", "out", "of", "the", "scope", "of", "AAPCS64", ",", "are", "treated", "as", "composite", "types", "here", "as", "well", ".", "Note", "that", "MODE", "itself", "is", "not", "sufficient", "in", "determining", "whether", "a", "type", "is", "such", "a", "composite", "type", "or", "not", ".", "This", "is", "because", "stor-layout.c", ":", "compute_record_mode", "may", "have", "already", "changed", "the", "MODE", "(", "BLKmode", ")", "of", "a", "RECORD_TYPE", "TYPE", "to", "some", "other", "mode", ".", "For", "example", ",", "a", "structure", "with", "only", "one", "field", "may", "have", "its", "MODE", "set", "to", "the", "mode", "of", "the", "field", ".", "Also", "an", "integer", "mode", "whose", "size", "matches", "the", "size", "of", "the", "RECORD_TYPE", "type", "may", "be", "used", "to", "substitute", "the", "original", "mode", "(", "i.e", ".", "BLKmode", ")", "in", "certain", "circumstances", ".", "In", "other", "words", ",", "MODE", "can", "not", "be", "solely", "relied", "on", "."], "TS_V_token": ["aarch64"], "File": "aarch642", "Func": "aarch64_composite_type_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9348, "Length": 59, "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": 9349, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsMCCodeEmitter", "::", "EmitInstruction", "(", "uint64_t", "Val", ",", "unsigned", "Size", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "raw_ostream", "&", "OS", ")", "const", "{", "if", "(", "IsLittleEndian", "&&", "Size", "==", "4", "&&", "isMicroMips", "(", "STI", ")", ")", "{", "EmitInstruction", "(", "Val", ">>", "16", ",", "2", ",", "STI", ",", "OS", ")", ";", "EmitInstruction", "(", "Val", ",", "2", ",", "STI", ",", "OS", ")", ";", "}", "else", "{", "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": ["Mips", "Mips", "4", "Mips", "16", "2", "2", "0", "8", "1", "8", "0xff"], "File": "MipsMCCodeEmitter (2)", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9350, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "ARMBaseRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "MCPhysReg", "*", "RegList", "=", "(", "STI", ".", "isTargetIOS", "(", ")", "&&", "!", "STI", ".", "isAAPCS_ABI", "(", ")", ")", "?", "CSR_iOS_SaveList", ":", "CSR_AAPCS_SaveList", ";", "if", "(", "!", "MF", ")", "return", "RegList", ";", "const", "Function", "*", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "if", "(", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "GHC", ")", "{", "return", "CSR_NoRegs_SaveList", ";", "}", "else", "if", "(", "F", "->", "hasFnAttribute", "(", "\"interrupt\"", ")", ")", "{", "if", "(", "STI", ".", "isMClass", "(", ")", ")", "{", "return", "CSR_AAPCS_SaveList", ";", "}", "else", "if", "(", "F", "->", "getFnAttribute", "(", "\"interrupt\"", ")", ".", "getValueAsString", "(", ")", "==", "\"FIQ\"", ")", "{", "return", "CSR_FIQ_SaveList", ";", "}", "else", "{", "return", "CSR_GenericInt_SaveList", ";", "}", "}", "return", "RegList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["ARM", "ARM", "\"interrupt\"", "\"interrupt\"", "\"FIQ\""], "File": "ARMBaseRegisterInfo15", "Func": "getCalleeSavedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9351, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"2003f DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["F2003f", "\"2003f DAG->DAG Pattern Instruction Selection\""], "File": "F2003fISelDAGToDAG", "Func": "getPassName", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9352, "Length": 11, "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": 9353, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ARMBaseInstrInfo", "::", "getInstrLatency", "(", "const", "InstrItineraryData", "*", "ItinData", ",", "const", "MachineInstr", "*", "MI", ",", "unsigned", "*", "PredCost", ")", "const", "{", "if", "(", "MI", "->", "isCopyLike", "(", ")", "||", "MI", "->", "isInsertSubreg", "(", ")", "||", "MI", "->", "isRegSequence", "(", ")", "||", "MI", "->", "isImplicitDef", "(", ")", ")", "return", "1", ";", "if", "(", "!", "ItinData", "||", "ItinData", "->", "isEmpty", "(", ")", ")", "return", "1", ";", "const", "MCInstrDesc", "&", "MCID", "=", "MI", "->", "getDesc", "(", ")", ";", "unsigned", "Class", "=", "MCID", ".", "getSchedClass", "(", ")", ";", "unsigned", "UOps", "=", "ItinData", "->", "Itineraries", "[", "Class", "]", ".", "NumMicroOps", ";", "if", "(", "PredCost", "&&", "MCID", ".", "hasImplicitDefOfPhysReg", "(", "ARM", "::", "CPSR", ")", ")", "*", "PredCost", "=", "1", ";", "if", "(", "UOps", ")", "return", "ItinData", "->", "getStageLatency", "(", "Class", ")", ";", "return", "getNumMicroOps", "(", "ItinData", ",", "MI", ")", ";", "}", ""], "natrual_language": ["Compute", "the", "instruction", "latency", "of", "a", "given", "instruction", "."], "TS_V_token": ["ARM", "ARM", "1", "1", "ARM::CPSR", "1"], "File": "ARMBaseInstrInfo108", "Func": "getInstrLatency", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9354, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "addLiveInAttr", "(", "Register", "VReg", ",", "ISD", "::", "ArgFlagsTy", "Flags", ")", "{", "LiveInAttrs", ".", "push_back", "(", "std", "::", "make_pair", "(", "VReg", ",", "Flags", ")", ")", ";", "}", ""], "natrual_language": ["This", "function", "associates", "attributes", "for", "each", "live-in", "virtual", "register", "."], "TS_V_token": ["PowerPC", "ISD::ArgFlagsTy"], "File": "PPCMachineFunctionInfo1", "Func": "addLiveInAttr", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9355, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SICRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "(", "SIC", "::", "X", ")", ":", "(", "SIC", "::", "X", ")", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["SIC", "SIC", "SIC::X", "SIC::X"], "File": "SICRegisterInfo", "Func": "getFrameRegister", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9356, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mve_bool_vec_to_const", "(", "rtx", "const_vec", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "const_vec", ")", ";", "if", "(", "!", "VECTOR_MODE_P", "(", "mode", ")", ")", "return", "const_vec", ";", "unsigned", "n_elts", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "unsigned", "el_prec", "=", "GET_MODE_PRECISION", "(", "GET_MODE_INNER", "(", "mode", ")", ")", ";", "unsigned", "shift_c", "=", "16", "/", "n_elts", ";", "unsigned", "i", ";", "int", "hi_val", "=", "0", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n_elts", ";", "i", "++", ")", "{", "rtx", "el", "=", "CONST_VECTOR_ELT", "(", "const_vec", ",", "i", ")", ";", "unsigned", "HOST_WIDE_INT", "elpart", ";", "gcc_assert", "(", "CONST_INT_P", "(", "el", ")", ")", ";", "elpart", "=", "INTVAL", "(", "el", ")", "&", "(", "(", "1U", "<<", "el_prec", ")", "-", "1", ")", ";", "unsigned", "index", "=", "BYTES_BIG_ENDIAN", "?", "n_elts", "-", "i", "-", "1", ":", "i", ";", "hi_val", "|=", "elpart", "<<", "(", "index", "*", "shift_c", ")", ";", "}", "return", "gen_int_mode", "(", "hi_val", ",", "SImode", ")", ";", "}", ""], "natrual_language": ["Return", "a", "HI", "representation", "of", "CONST_VEC", "suitable", "for", "MVE", "predicates", "."], "TS_V_token": ["arm", "16", "0", "0", "1U", "1", "1"], "File": "arm1", "Func": "mve_bool_vec_to_const", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9357, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "vr4130_true_reg_dependence_p", "(", "rtx", "insn", ")", "{", "note_stores", "(", "vr4130_last_insn", ",", "vr4130_true_reg_dependence_p_1", ",", "&", "insn", ")", ";", "return", "insn", "==", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "there", "is", "true", "register", "dependence", "between", "vr4130_last_insn", "and", "INSN", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "vr4130_true_reg_dependence_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9358, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "TOYMCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "switch", "(", "MO", ".", "getReg", "(", ")", ")", "{", "case", "TOY", "::", "R0", ":", "return", "0", ";", "case", "TOY", "::", "R1", ":", "return", "1", ";", "case", "TOY", "::", "R2", ":", "return", "2", ";", "case", "TOY", "::", "R3", ":", "return", "3", ";", "case", "TOY", "::", "ZERO", ":", "return", "4", ";", "case", "TOY", "::", "SP", ":", "return", "5", ";", "case", "TOY", "::", "LR", ":", "return", "6", ";", "case", "TOY", "::", "TMP", ":", "return", "7", ";", "case", "TOY", "::", "PRED", ":", "return", "8", ";", "default", ":", "llvm_unreachable", "(", "\"Unable to encode MachineOperand!\"", ")", ";", "}", "}", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "else", "if", "(", "MO", ".", "isExpr", "(", ")", ")", "{", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "assert", "(", "Expr", "->", "getKind", "(", ")", "==", "MCExpr", "::", "SymbolRef", ")", ";", "TOY", "::", "Fixups", "FixupKind", "=", "TOY", "::", "Fixups", "(", "0", ")", ";", "switch", "(", "cast", "<", "MCSymbolRefExpr", ">", "(", "Expr", ")", "->", "getKind", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown fixup kind!\"", ")", ";", "case", "MCSymbolRefExpr", "::", "VK_TOY_CALL", ":", "FixupKind", "=", "TOY", "::", "fixup_TOY_CALL", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_TOY_BR", ":", "FixupKind", "=", "TOY", "::", "fixup_TOY_BR", ";", "break", ";", "}", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "0", ",", "MO", ".", "getExpr", "(", ")", ",", "MCFixupKind", "(", "FixupKind", ")", ")", ")", ";", "}", "else", "llvm_unreachable", "(", "\"Unable to encode MachineOperand!\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["TOY", "TOY", "TOY::R0", "0", "TOY::R1", "1", "TOY::R2", "2", "TOY::R3", "3", "TOY::ZERO", "4", "TOY::SP", "5", "TOY::LR", "6", "TOY::TMP", "7", "TOY::PRED", "8", "\"Unable to encode MachineOperand!\"", "TOY::Fixups", "TOY::Fixups", "0", "\"Unknown fixup kind!\"", "TOY", "TOY::fixup_TOY_CALL", "TOY", "TOY::fixup_TOY_BR", "0", "\"Unable to encode MachineOperand!\"", "0"], "File": "TOYMCCodeEmitter", "Func": "getMachineOpValue", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9359, "Length": 274, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalMaskedGather", "(", "Type", "*", "DataTy", ",", "MaybeAlign", "Alignment", ")", "{", "if", "(", "!", "(", "ST", "->", "hasAVX512", "(", ")", "||", "(", "ST", "->", "hasFastGather", "(", ")", "&&", "ST", "->", "hasAVX2", "(", ")", ")", ")", ")", "return", "false", ";", "if", "(", "auto", "*", "DataVTy", "=", "dyn_cast", "<", "VectorType", ">", "(", "DataTy", ")", ")", "{", "unsigned", "NumElts", "=", "DataVTy", "->", "getNumElements", "(", ")", ";", "if", "(", "NumElts", "==", "1", "||", "!", "isPowerOf2_32", "(", "NumElts", ")", ")", "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", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "gather", "."], "TS_V_token": ["X86", "X86", "1", "32", "64"], "File": "X86TargetTransformInfo108", "Func": "isLegalMaskedGather", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9360, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SICExprKind", "getKind", "(", ")", "const", "{", "return", "Kind", ";", "}", ""], "natrual_language": ["Returns", "the", "Kind", "of", "lane", "offset", "."], "TS_V_token": ["SIC", "SIC"], "File": "SICMCExpr", "Func": "getKind", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9361, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalMaskedExpandLoad", "(", "Type", "*", "DataTy", ")", "{", "if", "(", "!", "isa", "<", "VectorType", ">", "(", "DataTy", ")", ")", "return", "false", ";", "if", "(", "!", "ST", "->", "hasAVX512", "(", ")", ")", "return", "false", ";", "if", "(", "cast", "<", "VectorType", ">", "(", "DataTy", ")", "->", "getNumElements", "(", ")", "==", "1", ")", "return", "false", ";", "Type", "*", "ScalarTy", "=", "cast", "<", "VectorType", ">", "(", "DataTy", ")", "->", "getElementType", "(", ")", ";", "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", "->", "hasVBMI2", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "expand", "load", "."], "TS_V_token": ["X86", "X86", "1", "32", "64", "8", "16"], "File": "X86TargetTransformInfo108", "Func": "isLegalMaskedExpandLoad", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9362, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arm_find_shift_sub_rtx", "(", "rtx", "pattern", ")", "{", "return", "arm_find_sub_rtx_with_code", "(", "pattern", ",", "ASHIFT", ",", "true", ")", ";", "}", ""], "natrual_language": ["Traverse", "PATTERN", "looking", "for", "any", "sub-rtx", "which", "looks", "like", "a", "shift", "."], "TS_V_token": ["arm"], "File": "aarch-common", "Func": "arm_find_shift_sub_rtx", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9363, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_insn_operands_modified_between_p", "(", "rtx_insn", "*", "operands_insn", ",", "const", "rtx_insn", "*", "from", ",", "const", "rtx_insn", "*", "to", ")", "{", "rtx", "s", "=", "single_set", "(", "operands_insn", ")", ";", "if", "(", "s", "==", "NULL_RTX", ")", "return", "true", ";", "subrtx_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX", "(", "i", ",", "array", ",", "SET_SRC", "(", "s", ")", ",", "ALL", ")", "if", "(", "*", "i", "!=", "NULL", "&&", "(", "(", "REG_P", "(", "*", "i", ")", "||", "SUBREG_P", "(", "*", "i", ")", ")", "&&", "reg_set_between_p", "(", "*", "i", ",", "from", ",", "to", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "register", "operands", "of", "the", "specified", "insn", "are", "modified", "between", "the", "specified", "from", "and", "to", "insns", "(", "exclusive", "of", "those", "two", ")", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "sh_insn_operands_modified_between_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9364, "Length": 93, "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": 9365, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "pa_modes_tieable_p", "(", "machine_mode", "mode1", ",", "machine_mode", "mode2", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "mode1", ")", "!=", "GET_MODE_CLASS", "(", "mode2", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "TRUE", "if", "it", "is", "a", "good", "idea", "to", "tie", "two", "pseudo", "registers", "when", "one", "has", "mode", "MODE1", "and", "one", "has", "mode", "MODE2", ".", "If", "HARD_REGNO_MODE_OK", "could", "produce", "different", "values", "for", "MODE1", "and", "MODE2", ",", "for", "any", "hard", "reg", ",", "then", "this", "must", "be", "FALSE", "for", "correct", "output", ".", "We", "should", "return", "FALSE", "for", "QImode", "and", "HImode", "because", "these", "modes", "are", "not", "ok", "in", "the", "floating-point", "registers", ".", "However", ",", "this", "prevents", "tieing", "these", "modes", "to", "SImode", "and", "DImode", "in", "the", "general", "registers", ".", "So", ",", "this", "is", "n't", "a", "good", "idea", ".", "We", "rely", "on", "HARD_REGNO_MODE_OK", "and", "CANNOT_CHANGE_MODE_CLASS", "to", "prevent", "these", "modes", "from", "being", "used", "in", "the", "floating-point", "registers", "."], "TS_V_token": ["pa"], "File": "pa4", "Func": "pa_modes_tieable_p", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9366, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_init_expanders", "(", ")", "{", "init_machine_status", "=", "arm_init_machine_status", ";", "mark_machine_status", "=", "arm_mark_machine_status", ";", "free_machine_status", "=", "arm_free_machine_status", ";", "}", ""], "natrual_language": ["Do", "anything", "needed", "before", "RTL", "is", "emitted", "for", "each", "function", "."], "TS_V_token": ["arm"], "File": "arm2", "Func": "arm_init_expanders", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9367, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "LanaiRegisterInfo", "::", "getRARegister", "(", ")", "const", "{", "return", "Lanai", "::", "RCA", ";", "}", ""], "natrual_language": ["This", "method", "should", "return", "the", "register", "where", "the", "return", "address", "can", "be", "found", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai::RCA"], "File": "LanaiRegisterInfo (2)1", "Func": "getRARegister", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9368, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseInstrInfo", "::", "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", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "*", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "Align", "=", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "PseudoSourceValue", "::", "getFixedStack", "(", "FI", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "0", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "Align", ")", ";", "if", "(", "RC", "==", "ARM", "::", "tGPRRegisterClass", ")", "RC", "=", "ARM", "::", "GPRRegisterClass", ";", "if", "(", "RC", "==", "ARM", "::", "GPRRegisterClass", ")", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "STR", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "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", "::", "VSTRD", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ")", ";", "}", "else", "if", "(", "RC", "==", "ARM", "::", "SPRRegisterClass", ")", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "VSTRS", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ")", ";", "}", "else", "{", "assert", "(", "(", "RC", "==", "ARM", "::", "QPRRegisterClass", "||", "RC", "==", "ARM", "::", "QPR_VFP2RegisterClass", ")", "&&", "\"Unknown regclass!\"", ")", ";", "if", "(", "Align", ">=", "16", "&&", "(", "getRegisterInfo", "(", ")", ".", "canRealignStack", "(", "MF", ")", ")", ")", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "VST1q64", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "128", ")", ".", "addMemOperand", "(", "MMO", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ")", ";", "}", "else", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "VSTRQ", ")", ")", ".", "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", "0", "ARM::tGPRRegisterClass", "ARM::GPRRegisterClass", "ARM::GPRRegisterClass", "ARM::STR", "0", "0", "ARM::DPRRegisterClass", "ARM::DPR_VFP2RegisterClass", "ARM::DPR_8RegisterClass", "ARM::VSTRD", "0", "ARM::SPRRegisterClass", "ARM::VSTRS", "0", "ARM::QPRRegisterClass", "ARM::QPR_VFP2RegisterClass", "\"Unknown regclass!\"", "16", "ARM::VST1q64", "0", "0", "128", "ARM::VSTRQ", "0"], "File": "ARMBaseInstrInfo114", "Func": "storeRegToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9369, "Length": 458, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCOperand", "::", "print", "(", "raw_ostream", "&", "OS", ")", "const", "{", "switch", "(", "Kind", ")", "{", "case", "Token", ":", "OS", "<<", "\"'\"", "<<", "getToken", "(", ")", "<<", "\"'\"", ";", "break", ";", "case", "Immediate", ":", "OS", "<<", "getImm", "(", ")", ";", "break", ";", "case", "Expression", ":", "getExpr", "(", ")", "->", "print", "(", "OS", ")", ";", "break", ";", "case", "TLSRegister", ":", "getTLSReg", "(", ")", "->", "print", "(", "OS", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["PowerPC", "PPC", "\"'\"", "\"'\""], "File": "PPCAsmParser (2)", "Func": "print", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9370, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_insert_attributes", "(", "tree", "decl", ",", "tree", "*", "attributes", ")", "{", "const", "char", "*", "name", ";", "unsigned", "int", "compression_flags", ",", "nocompression_flags", ";", "compression_flags", "=", "mips_get_compress_on_flags", "(", "*", "attributes", ")", ";", "nocompression_flags", "=", "mips_get_compress_off_flags", "(", "*", "attributes", ")", ";", "if", "(", "TREE_CODE", "(", "decl", ")", "!=", "FUNCTION_DECL", ")", "{", "if", "(", "nocompression_flags", ")", "error", "(", "\"%qs attribute only applies to functions\"", ",", "mips_get_compress_off_name", "(", "nocompression_flags", ")", ")", ";", "if", "(", "compression_flags", ")", "error", "(", "\"%qs attribute only applies to functions\"", ",", "mips_get_compress_on_name", "(", "nocompression_flags", ")", ")", ";", "}", "else", "{", "compression_flags", "|=", "mips_get_compress_on_flags", "(", "DECL_ATTRIBUTES", "(", "decl", ")", ")", ";", "nocompression_flags", "|=", "mips_get_compress_off_flags", "(", "DECL_ATTRIBUTES", "(", "decl", ")", ")", ";", "if", "(", "compression_flags", "&&", "nocompression_flags", ")", "error", "(", "\"%qE cannot have both %qs and %qs attributes\"", ",", "DECL_NAME", "(", "decl", ")", ",", "mips_get_compress_on_name", "(", "compression_flags", ")", ",", "mips_get_compress_off_name", "(", "nocompression_flags", ")", ")", ";", "if", "(", "compression_flags", "&", "MASK_MIPS16", "&&", "compression_flags", "&", "MASK_MICROMIPS", ")", "error", "(", "\"%qE cannot have both %qs and %qs attributes\"", ",", "DECL_NAME", "(", "decl", ")", ",", "\"mips16\"", ",", "\"micromips\"", ")", ";", "if", "(", "TARGET_FLIP_MIPS16", "&&", "!", "DECL_ARTIFICIAL", "(", "decl", ")", "&&", "compression_flags", "==", "0", "&&", "nocompression_flags", "==", "0", ")", "{", "name", "=", "mflip_mips16_use_mips16_p", "(", "decl", ")", "?", "\"mips16\"", ":", "\"nomips16\"", ";", "*", "attributes", "=", "tree_cons", "(", "get_identifier", "(", "name", ")", ",", "NULL", ",", "*", "attributes", ")", ";", "name", "=", "\"nomicromips\"", ";", "*", "attributes", "=", "tree_cons", "(", "get_identifier", "(", "name", ")", ",", "NULL", ",", "*", "attributes", ")", ";", "}", "}", "}", ""], "natrual_language": ["Implement", "TARGET_INSERT_ATTRIBUTES", "."], "TS_V_token": ["mips", "\"%qs attribute only applies to functions\"", "\"%qs attribute only applies to functions\"", "\"%qE cannot have both %qs and %qs attributes\"", "\"%qE cannot have both %qs and %qs attributes\"", "\"mips16\"", "\"micromips\"", "0", "0", "\"mips16\"", "\"nomips16\"", "\"nomicromips\""], "File": "mips", "Func": "mips_insert_attributes", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9371, "Length": 219, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "MipsRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "static", "const", "uint16_t", "ReservedCPURegs", "[", "]", "=", "{", "Mips", "::", "ZERO", ",", "Mips", "::", "K0", ",", "Mips", "::", "K1", ",", "Mips", "::", "SP", "}", ";", "static", "const", "uint16_t", "ReservedCPU64Regs", "[", "]", "=", "{", "Mips", "::", "ZERO_64", ",", "Mips", "::", "K0_64", ",", "Mips", "::", "K1_64", ",", "Mips", "::", "SP_64", "}", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "typedef", "TargetRegisterClass", "::", "const_iterator", "RegIter", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "ReservedCPURegs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedCPURegs", "[", "I", "]", ")", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "ReservedCPU64Regs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedCPU64Regs", "[", "I", "]", ")", ";", "if", "(", "Subtarget", ".", "hasMips64", "(", ")", ")", "{", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "AFGR64RegClass", ".", "begin", "(", ")", ",", "EReg", "=", "Mips", "::", "AFGR64RegClass", ".", "end", "(", ")", ";", "Reg", "!=", "EReg", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "}", "else", "{", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "FGR64RegClass", ".", "begin", "(", ")", ",", "EReg", "=", "Mips", "::", "FGR64RegClass", ".", "end", "(", ")", ";", "Reg", "!=", "EReg", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "}", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "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", "::", "HWR29_64", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "DSPCtrl", ")", ";", "if", "(", "Subtarget", ".", "inMips16Mode", "(", ")", ")", "{", "Reserved", ".", "set", "(", "Mips", "::", "RA", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "RA_64", ")", ";", "}", "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", "0", "Mips", "Mips::AFGR64RegClass", "Mips::AFGR64RegClass", "Mips::FGR64RegClass", "Mips::FGR64RegClass", "Mips", "Mips::S0", "Mips::FP", "Mips::FP_64", "Mips::HWR29", "Mips::HWR29_64", "Mips::DSPCtrl", "Mips", "Mips::RA", "Mips::RA_64", "Mips::GP", "Mips::GP_64"], "File": "MipsRegisterInfo12", "Func": "getReservedRegs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9372, "Length": 363, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "Cpu0AsmBackend", "::", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "Cpu0", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_Cpu0_32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_Cpu0_HI16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Cpu0_LO16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Cpu0_GPREL16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Cpu0_GOT\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Cpu0_GOT_HI16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Cpu0_GOT_LO16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Cpu0_PC16\"", ",", "0", ",", "16", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_Cpu0_PC24\"", ",", "0", ",", "24", ",", "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": ["Cpu0", "Cpu0", "Cpu0::NumTargetFixupKinds", "\"fixup_Cpu0_32\"", "0", "32", "0", "\"fixup_Cpu0_HI16\"", "0", "16", "0", "\"fixup_Cpu0_LO16\"", "0", "16", "0", "\"fixup_Cpu0_GPREL16\"", "0", "16", "0", "\"fixup_Cpu0_GOT\"", "0", "16", "0", "\"fixup_Cpu0_GOT_HI16\"", "0", "16", "0", "\"fixup_Cpu0_GOT_LO16\"", "0", "16", "0", "\"fixup_Cpu0_PC16\"", "0", "16", "\"fixup_Cpu0_PC24\"", "0", "24", "\"Invalid kind!\""], "File": "Cpu0AsmBackend3", "Func": "getFixupKindInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9373, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"CJG DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["CJG", "\"CJG DAG->DAG Pattern Instruction Selection\""], "File": "CJGISelDAGToDAG", "Func": "getPassName", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9374, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Cpu0Subtarget", "&", "Cpu0Subtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "initSubtargetFeatures", "(", "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": ["Cpu0", "Cpu0", "Cpu0"], "File": "Cpu0Subtarget3", "Func": "initializeSubtargetDependencies", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9375, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseRegisterInfo", "::", "getRegAllocationHints", "(", "Register", "VirtReg", ",", "ArrayRef", "<", "MCPhysReg", ">", "Order", ",", "SmallVectorImpl", "<", "MCPhysReg", ">", "&", "Hints", ",", "const", "MachineFunction", "&", "MF", ",", "const", "VirtRegMap", "*", "VRM", ",", "const", "LiveRegMatrix", "*", "Matrix", ")", "const", "{", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "std", "::", "pair", "<", "Register", ",", "Register", ">", "Hint", "=", "MRI", ".", "getRegAllocationHint", "(", "VirtReg", ")", ";", "unsigned", "Odd", ";", "switch", "(", "Hint", ".", "first", ")", "{", "case", "ARMRI", "::", "RegPairEven", ":", "Odd", "=", "0", ";", "break", ";", "case", "ARMRI", "::", "RegPairOdd", ":", "Odd", "=", "1", ";", "break", ";", "case", "ARMRI", "::", "RegLR", ":", "TargetRegisterInfo", "::", "getRegAllocationHints", "(", "VirtReg", ",", "Order", ",", "Hints", ",", "MF", ",", "VRM", ")", ";", "if", "(", "MRI", ".", "getRegClass", "(", "VirtReg", ")", "->", "contains", "(", "ARM", "::", "LR", ")", ")", "Hints", ".", "push_back", "(", "ARM", "::", "LR", ")", ";", "return", "false", ";", "default", ":", "return", "TargetRegisterInfo", "::", "getRegAllocationHints", "(", "VirtReg", ",", "Order", ",", "Hints", ",", "MF", ",", "VRM", ")", ";", "}", "Register", "Paired", "=", "Hint", ".", "second", ";", "if", "(", "!", "Paired", ")", "return", "false", ";", "Register", "PairedPhys", ";", "if", "(", "Paired", ".", "isPhysical", "(", ")", ")", "{", "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", "(", "MCPhysReg", "Reg", ":", "Order", ")", "{", "if", "(", "Reg", "==", "PairedPhys", "||", "(", "getEncodingValue", "(", "Reg", ")", "&", "1", ")", "!=", "Odd", ")", "continue", ";", "MCPhysReg", "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", "ARMRI::RegLR", "ARM::LR", "ARM::LR", "1"], "File": "ARMBaseRegisterInfo", "Func": "getRegAllocationHints", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9376, "Length": 311, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "CAHPRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "CAHP", "::", "X2", ":", "CAHP", "::", "X1", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["CAHP", "CAHP", "CAHP::X2", "CAHP::X1"], "File": "CAHPRegisterInfo", "Func": "getFrameRegister", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9377, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "ix86_preferred_reload_class", "(", "rtx", "x", ",", "reg_class_t", "regclass", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "x", ")", ";", "if", "(", "regclass", "==", "NO_REGS", ")", "return", "NO_REGS", ";", "if", "(", "x", "==", "CONST0_RTX", "(", "mode", ")", ")", "return", "regclass", ";", "if", "(", "CONSTANT_P", "(", "x", ")", "&&", "(", "MAYBE_MMX_CLASS_P", "(", "regclass", ")", "||", "MAYBE_SSE_CLASS_P", "(", "regclass", ")", "||", "MAYBE_MASK_CLASS_P", "(", "regclass", ")", ")", ")", "return", "NO_REGS", ";", "if", "(", "TARGET_SSE_MATH", "&&", "!", "TARGET_MIX_SSE_I387", "&&", "SSE_FLOAT_MODE_P", "(", "mode", ")", ")", "return", "SSE_CLASS_P", "(", "regclass", ")", "?", "regclass", ":", "NO_REGS", ";", "if", "(", "CONST_DOUBLE_P", "(", "x", ")", ")", "{", "if", "(", "reg_class_subset_p", "(", "regclass", ",", "GENERAL_REGS", ")", ")", "return", "regclass", ";", "if", "(", "TARGET_80387", "&&", "standard_80387_constant_p", "(", "x", ")", ">", "0", ")", "{", "if", "(", "regclass", "==", "FLOAT_SSE_REGS", ")", "return", "FLOAT_REGS", ";", "if", "(", "regclass", "==", "FP_TOP_SSE_REGS", ")", "return", "FP_TOP_REG", ";", "if", "(", "regclass", "==", "FP_SECOND_SSE_REGS", ")", "return", "FP_SECOND_REG", ";", "if", "(", "regclass", "==", "FLOAT_INT_REGS", "||", "regclass", "==", "FLOAT_REGS", ")", "return", "regclass", ";", "}", "return", "NO_REGS", ";", "}", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "return", "reg_class_subset_p", "(", "regclass", ",", "GENERAL_REGS", ")", "?", "regclass", ":", "NO_REGS", ";", "if", "(", "GET_MODE", "(", "x", ")", "==", "QImode", "&&", "!", "CONSTANT_P", "(", "x", ")", ")", "{", "if", "(", "reg_class_subset_p", "(", "regclass", ",", "Q_REGS", ")", ")", "return", "regclass", ";", "if", "(", "reg_class_subset_p", "(", "Q_REGS", ",", "regclass", ")", ")", "return", "Q_REGS", ";", "return", "NO_REGS", ";", "}", "return", "regclass", ";", "}", ""], "natrual_language": ["Put", "float", "CONST_DOUBLE", "in", "the", "constant", "pool", "instead", "of", "fp", "regs", ".", "QImode", "must", "go", "into", "class", "Q_REGS", ".", "Narrow", "ALL_REGS", "to", "GENERAL_REGS", ".", "This", "supports", "allowing", "movsf", "and", "movdf", "to", "do", "mem-to-mem", "moves", "through", "integer", "regs", "."], "TS_V_token": ["i386", "0"], "File": "i3865", "Func": "ix86_preferred_reload_class", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9378, "Length": 235, "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": 9379, "Length": 272, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nds32_fp_as_gp_check_available", "(", "void", ")", "{", "basic_block", "bb", ";", "basic_block", "exit_bb", ";", "edge_iterator", "ei", ";", "edge", "e", ";", "bool", "first_exit_blocks_p", ";", "if", "(", "TARGET_FORBID_FP_AS_GP", "||", "nds32_naked_function_p", "(", "current_function_decl", ")", "||", "!", "optimize_size", "||", "frame_pointer_needed", "||", "NDS32_REQUIRED_CALLEE_SAVED_P", "(", "FP_REGNUM", ")", "||", "(", "cfun", "->", "stdarg", "==", "1", ")", "||", "(", "find_fallthru_edge", "(", "EXIT_BLOCK_PTR_FOR_FN", "(", "cfun", ")", "->", "preds", ")", "==", "NULL", ")", ")", "return", "false", ";", "first_exit_blocks_p", "=", "true", ";", "exit_bb", "=", "NULL", ";", "FOR_EACH_EDGE", "(", "e", ",", "ei", ",", "EXIT_BLOCK_PTR_FOR_FN", "(", "cfun", ")", "->", "preds", ")", "{", "if", "(", "!", "first_exit_blocks_p", ")", "return", "false", ";", "exit_bb", "=", "e", "->", "src", ";", "first_exit_blocks_p", "=", "false", ";", "}", "if", "(", "!", "exit_bb", ")", "return", "false", ";", "FOR_EACH_BB_FN", "(", "bb", ",", "cfun", ")", "{", "if", "(", "!", "dominated_by_p", "(", "CDI_POST_DOMINATORS", ",", "bb", ",", "exit_bb", ")", ")", "return", "false", ";", "}", "if", "(", "TARGET_FORCE_FP_AS_GP", ")", "{", "return", "true", ";", "}", "else", "{", "bool", "good_gain", "=", "false", ";", "int", "symbol_count", ";", "int", "threshold", ";", "if", "(", "flag_pic", "||", "nds32_have_prologue_p", "(", ")", ")", "{", "threshold", "=", "3", ";", "}", "else", "{", "threshold", "=", "5", "+", "(", "TARGET_V3PUSH", "?", "0", ":", "2", ")", ";", "}", "symbol_count", "=", "nds32_get_symbol_count", "(", ")", ";", "if", "(", "symbol_count", ">=", "threshold", ")", "good_gain", "=", "true", ";", "return", "good_gain", ";", "}", "}", ""], "natrual_language": ["Function", "to", "determine", "whether", "it", "is", "worth", "to", "do", "fp_as_gp", "optimization", ".", "Return", "0", ":", "It", "is", "NOT", "worth", "to", "do", "fp_as_gp", "optimization", ".", "Return", "1", ":", "It", "is", "APPROXIMATELY", "worth", "to", "do", "fp_as_gp", "optimization", ".", "Note", "that", "if", "it", "is", "worth", "to", "do", "fp_as_gp", "optimization", ",", "we", "MUST", "set", "FP_REGNUM", "ever", "live", "in", "this", "function", "."], "TS_V_token": ["nds32", "1", "3", "5", "0", "2"], "File": "nds32-fp-as-gp", "Func": "nds32_fp_as_gp_check_available", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9380, "Length": 210, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "SystemZTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "OPCODE", "(", "RET_FLAG", ")", ";", "OPCODE", "(", "CALL", ")", ";", "OPCODE", "(", "SIBCALL", ")", ";", "OPCODE", "(", "PCREL_WRAPPER", ")", ";", "OPCODE", "(", "ICMP", ")", ";", "OPCODE", "(", "FCMP", ")", ";", "OPCODE", "(", "TM", ")", ";", "OPCODE", "(", "BR_CCMASK", ")", ";", "OPCODE", "(", "SELECT_CCMASK", ")", ";", "OPCODE", "(", "ADJDYNALLOC", ")", ";", "OPCODE", "(", "EXTRACT_ACCESS", ")", ";", "OPCODE", "(", "UMUL_LOHI64", ")", ";", "OPCODE", "(", "SDIVREM64", ")", ";", "OPCODE", "(", "UDIVREM32", ")", ";", "OPCODE", "(", "UDIVREM64", ")", ";", "OPCODE", "(", "MVC", ")", ";", "OPCODE", "(", "MVC_LOOP", ")", ";", "OPCODE", "(", "NC", ")", ";", "OPCODE", "(", "NC_LOOP", ")", ";", "OPCODE", "(", "OC", ")", ";", "OPCODE", "(", "OC_LOOP", ")", ";", "OPCODE", "(", "XC", ")", ";", "OPCODE", "(", "XC_LOOP", ")", ";", "OPCODE", "(", "CLC", ")", ";", "OPCODE", "(", "CLC_LOOP", ")", ";", "OPCODE", "(", "STRCMP", ")", ";", "OPCODE", "(", "STPCPY", ")", ";", "OPCODE", "(", "SEARCH_STRING", ")", ";", "OPCODE", "(", "IPM", ")", ";", "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", ")", ";", "OPCODE", "(", "PREFETCH", ")", ";", "}", "return", "NULL", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZISelLowering19", "Func": "getTargetNodeName", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9381, "Length": 232, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_macc_chains_reorder", "(", "rtx_insn", "*", "*", "ready", ",", "int", "nready", ")", "{", "int", "i", ",", "j", ";", "if", "(", "mips_macc_chains_last_hilo", "!=", "0", ")", "for", "(", "i", "=", "nready", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "if", "(", "mips_linked_madd_p", "(", "mips_macc_chains_last_hilo", ",", "ready", "[", "i", "]", ")", ")", "{", "for", "(", "j", "=", "nready", "-", "1", ";", "j", ">", "i", ";", "j", "--", ")", "if", "(", "recog_memoized", "(", "ready", "[", "j", "]", ")", ">=", "0", "&&", "get_attr_may_clobber_hilo", "(", "ready", "[", "j", "]", ")", ")", "{", "mips_promote_ready", "(", "ready", ",", "i", ",", "j", ")", ";", "break", ";", "}", "break", ";", "}", "}", ""], "natrual_language": ["A", "TUNE_MACC_CHAINS", "helper", "function", ".", "Search", "ready", "queue", "READY", ",", "which", "has", "NREADY", "elements", ",", "looking", "for", "a", "multiply-add", "or", "multiply-subtract", "instruction", "that", "is", "cumulative", "with", "mips_macc_chains_last_hilo", ".", "If", "there", "is", "one", ",", "promote", "it", "ahead", "of", "anything", "else", "that", "might", "clobber", "hi", "or", "lo", "."], "TS_V_token": ["mips", "0", "1", "0", "1", "0"], "File": "mips", "Func": "mips_macc_chains_reorder", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9382, "Length": 104, "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", "IsPCRel", ")", "const", "{", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "MCFixupKindInfo", "Info", "=", "getFixupKindInfo", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "MCContext", "&", "Ctx", "=", "Asm", ".", "getContext", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "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", ")", ";", "}", "}", "}", ""], "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": "AArch64AsmBackend11", "Func": "applyFixup", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9383, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_expand_split_stack_prologue", "(", "void", ")", "{", "rs6000_stack_t", "*", "info", "=", "rs6000_stack_info", "(", ")", ";", "unsigned", "HOST_WIDE_INT", "allocate", ";", "long", "alloc_hi", ",", "alloc_lo", ";", "rtx", "r0", ",", "r1", ",", "r12", ",", "lr", ",", "ok_label", ",", "compare", ",", "jump", ",", "call_fusage", ";", "rtx_insn", "*", "insn", ";", "gcc_assert", "(", "flag_split_stack", "&&", "reload_completed", ")", ";", "if", "(", "!", "info", "->", "push_p", ")", "return", ";", "if", "(", "global_regs", "[", "29", "]", ")", "{", "error", "(", "\"-fsplit-stack uses register r29\"", ")", ";", "inform", "(", "DECL_SOURCE_LOCATION", "(", "global_regs_decl", "[", "29", "]", ")", ",", "\"conflicts with %qD\"", ",", "global_regs_decl", "[", "29", "]", ")", ";", "}", "allocate", "=", "info", "->", "total_size", ";", "if", "(", "allocate", ">", "(", "unsigned", "HOST_WIDE_INT", ")", "1", "<<", "31", ")", "{", "sorry", "(", "\"Stack frame larger than 2G is not supported for -fsplit-stack\"", ")", ";", "return", ";", "}", "if", "(", "morestack_ref", "==", "NULL_RTX", ")", "{", "morestack_ref", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"__morestack\"", ")", ";", "SYMBOL_REF_FLAGS", "(", "morestack_ref", ")", "|=", "(", "SYMBOL_FLAG_LOCAL", "|", "SYMBOL_FLAG_FUNCTION", ")", ";", "}", "r0", "=", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ";", "r1", "=", "gen_rtx_REG", "(", "Pmode", ",", "STACK_POINTER_REGNUM", ")", ";", "r12", "=", "gen_rtx_REG", "(", "Pmode", ",", "12", ")", ";", "emit_insn", "(", "gen_load_split_stack_limit", "(", "r0", ")", ")", ";", "alloc_hi", "=", "(", "-", "allocate", "+", "0x8000", ")", "&", "~", "0xffffL", ";", "alloc_lo", "=", "-", "allocate", "-", "alloc_hi", ";", "if", "(", "alloc_hi", "!=", "0", ")", "{", "emit_insn", "(", "gen_add3_const", "(", "r12", ",", "r1", ",", "alloc_hi", ")", ")", ";", "if", "(", "alloc_lo", "!=", "0", ")", "emit_insn", "(", "gen_add3_const", "(", "r12", ",", "r12", ",", "alloc_lo", ")", ")", ";", "else", "emit_insn", "(", "gen_nop", "(", ")", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_add3_const", "(", "r12", ",", "r1", ",", "alloc_lo", ")", ")", ";", "emit_insn", "(", "gen_nop", "(", ")", ")", ";", "}", "compare", "=", "gen_rtx_REG", "(", "CCUNSmode", ",", "CR7_REGNO", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "compare", ",", "gen_rtx_COMPARE", "(", "CCUNSmode", ",", "r12", ",", "r0", ")", ")", ")", ";", "ok_label", "=", "gen_label_rtx", "(", ")", ";", "jump", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "gen_rtx_GEU", "(", "VOIDmode", ",", "compare", ",", "const0_rtx", ")", ",", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "ok_label", ")", ",", "pc_rtx", ")", ";", "jump", "=", "emit_jump_insn", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "jump", ")", ")", ";", "JUMP_LABEL", "(", "jump", ")", "=", "ok_label", ";", "add_int_reg_note", "(", "jump", ",", "REG_BR_PROB", ",", "REG_BR_PROB_BASE", "-", "REG_BR_PROB_BASE", "/", "100", ")", ";", "lr", "=", "gen_rtx_REG", "(", "Pmode", ",", "LR_REGNO", ")", ";", "insn", "=", "emit_move_insn", "(", "r0", ",", "lr", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "insn", "=", "emit_insn", "(", "gen_frame_store", "(", "r0", ",", "r1", ",", "info", "->", "lr_save_offset", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "insn", "=", "emit_call_insn", "(", "gen_call", "(", "gen_rtx_MEM", "(", "SImode", ",", "morestack_ref", ")", ",", "const0_rtx", ",", "const0_rtx", ")", ")", ";", "call_fusage", "=", "NULL_RTX", ";", "use_reg", "(", "&", "call_fusage", ",", "r12", ")", ";", "add_function_usage_to", "(", "insn", ",", "call_fusage", ")", ";", "emit_insn", "(", "gen_frame_load", "(", "r0", ",", "r1", ",", "info", "->", "lr_save_offset", ")", ")", ";", "insn", "=", "emit_move_insn", "(", "lr", ",", "r0", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_RESTORE", ",", "lr", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "emit_insn", "(", "gen_split_stack_return", "(", ")", ")", ";", "emit_label", "(", "ok_label", ")", ";", "LABEL_NUSES", "(", "ok_label", ")", "=", "1", ";", "}", ""], "natrual_language": ["Emit", "-fsplit-stack", "prologue", ",", "which", "goes", "before", "the", "regular", "function", "prologue", "(", "at", "local", "entry", "point", "in", "the", "case", "of", "ELFv2", ")", "."], "TS_V_token": ["rs6000", "29", "\"-fsplit-stack uses register r29\"", "29", "\"conflicts with %qD\"", "29", "1", "31", "\"Stack frame larger than 2G is not supported for -fsplit-stack\"", "\"__morestack\"", "0", "12", "0x8000", "0xffffL", "0", "0", "100", "1", "1", "1", "1"], "File": "rs60005", "Func": "rs6000_expand_split_stack_prologue", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9384, "Length": 503, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetLowering", "::", "CanLowerReturn", "(", "CallingConv", "::", "ID", "CallConv", ",", "MachineFunction", "&", "MF", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "LLVMContext", "&", "Context", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "MipsCCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "RVLocs", ",", "Context", ")", ";", "return", "CCInfo", ".", "CheckReturn", "(", "Outs", ",", "RetCC_Mips", ")", ";", "}", ""], "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": ["Mips", "Mips", "ISD::OutputArg", "16", "Mips", "Mips"], "File": "MipsISelLowering (2)4", "Func": "CanLowerReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9385, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "loongarch_expand_epilogue", "(", "bool", "sibcall_p", ")", "{", "struct", "loongarch_frame_info", "*", "frame", "=", "&", "cfun", "->", "machine", "->", "frame", ";", "HOST_WIDE_INT", "step1", "=", "frame", "->", "total_size", ";", "HOST_WIDE_INT", "step2", "=", "0", ";", "rtx", "ra", "=", "gen_rtx_REG", "(", "Pmode", ",", "RETURN_ADDR_REGNUM", ")", ";", "rtx", "insn", ";", "bool", "need_barrier_p", "=", "(", "get_frame_size", "(", ")", "+", "cfun", "->", "machine", "->", "frame", ".", "arg_pointer_offset", ")", "!=", "0", ";", "if", "(", "!", "sibcall_p", "&&", "loongarch_can_use_return_insn", "(", ")", ")", "{", "emit_jump_insn", "(", "gen_return", "(", ")", ")", ";", "return", ";", "}", "if", "(", "cfun", "->", "calls_alloca", ")", "{", "loongarch_emit_stack_tie", "(", ")", ";", "need_barrier_p", "=", "false", ";", "rtx", "adjust", "=", "GEN_INT", "(", "-", "frame", "->", "hard_frame_pointer_offset", ")", ";", "if", "(", "!", "IMM12_OPERAND", "(", "INTVAL", "(", "adjust", ")", ")", ")", "{", "loongarch_emit_move", "(", "LARCH_PROLOGUE_TEMP", "(", "Pmode", ")", ",", "adjust", ")", ";", "adjust", "=", "LARCH_PROLOGUE_TEMP", "(", "Pmode", ")", ";", "}", "insn", "=", "emit_insn", "(", "gen_add3_insn", "(", "stack_pointer_rtx", ",", "hard_frame_pointer_rtx", ",", "adjust", ")", ")", ";", "rtx", "dwarf", "=", "NULL_RTX", ";", "rtx", "minus_offset", "=", "GEN_INT", "(", "-", "frame", "->", "hard_frame_pointer_offset", ")", ";", "rtx", "cfa_adjust_value", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "hard_frame_pointer_rtx", ",", "minus_offset", ")", ";", "rtx", "cfa_adjust_rtx", "=", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "cfa_adjust_value", ")", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_ADJUST_CFA", ",", "cfa_adjust_rtx", ",", "dwarf", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "REG_NOTES", "(", "insn", ")", "=", "dwarf", ";", "}", "if", "(", "(", "frame", "->", "mask", "|", "frame", "->", "fmask", ")", "!=", "0", ")", "{", "step2", "=", "loongarch_first_stack_step", "(", "frame", ")", ";", "step1", "-=", "step2", ";", "}", "if", "(", "step1", ">", "0", ")", "{", "loongarch_emit_stack_tie", "(", ")", ";", "need_barrier_p", "=", "false", ";", "rtx", "adjust", "=", "GEN_INT", "(", "step1", ")", ";", "if", "(", "!", "IMM12_OPERAND", "(", "step1", ")", ")", "{", "loongarch_emit_move", "(", "LARCH_PROLOGUE_TEMP", "(", "Pmode", ")", ",", "adjust", ")", ";", "adjust", "=", "LARCH_PROLOGUE_TEMP", "(", "Pmode", ")", ";", "}", "insn", "=", "emit_insn", "(", "gen_add3_insn", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "adjust", ")", ")", ";", "rtx", "dwarf", "=", "NULL_RTX", ";", "rtx", "cfa_adjust_rtx", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "step2", ")", ")", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_DEF_CFA", ",", "cfa_adjust_rtx", ",", "dwarf", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "REG_NOTES", "(", "insn", ")", "=", "dwarf", ";", "}", "loongarch_for_each_saved_reg", "(", "frame", "->", "total_size", "-", "step2", ",", "loongarch_restore_reg", ")", ";", "if", "(", "need_barrier_p", ")", "loongarch_emit_stack_tie", "(", ")", ";", "if", "(", "step2", ">", "0", ")", "{", "insn", "=", "emit_insn", "(", "gen_add3_insn", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "step2", ")", ")", ")", ";", "rtx", "dwarf", "=", "NULL_RTX", ";", "rtx", "cfa_adjust_rtx", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "const0_rtx", ")", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_DEF_CFA", ",", "cfa_adjust_rtx", ",", "dwarf", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "REG_NOTES", "(", "insn", ")", "=", "dwarf", ";", "}", "if", "(", "crtl", "->", "calls_eh_return", ")", "emit_insn", "(", "gen_add3_insn", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "EH_RETURN_STACKADJ_RTX", ")", ")", ";", "if", "(", "!", "sibcall_p", ")", "emit_jump_insn", "(", "gen_simple_return_internal", "(", "ra", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "an", "``", "epilogue", "''", "or", "``", "sibcall_epilogue", "''", "pattern", ";", "SIBCALL_P", "says", "which", "."], "TS_V_token": ["loongarch", "0", "0", "1", "0", "0", "1", "0", "1"], "File": "loongarch", "Func": "loongarch_expand_epilogue", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9386, "Length": 472, "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": 9387, "Length": 284, "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", ";", "unsigned", "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)1", "Func": "tryToFoldLoadIntoMI", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9388, "Length": 380, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "LanaiMachineFunctionInfo", "::", "getGlobalBaseReg", "(", ")", "{", "if", "(", "GlobalBaseReg", ")", "return", "GlobalBaseReg", ";", "return", "GlobalBaseReg", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "&", "Lanai", "::", "GPRRegClass", ")", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai::GPRRegClass"], "File": "LanaiMachineFunctionInfo", "Func": "getGlobalBaseReg", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9389, "Length": 32, "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": 9390, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalBroadcastLoad", "(", "Type", "*", "ElementTy", ",", "ElementCount", "NumElements", ")", "const", "{", "return", "ST", "->", "hasSSE3", "(", ")", "&&", "!", "NumElements", ".", "isScalable", "(", ")", "&&", "NumElements", ".", "getFixedValue", "(", ")", "==", "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": "X86TargetTransformInfo55", "Func": "isLegalBroadcastLoad", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9391, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_emit_swdivsf", "(", "rtx", "res", ",", "rtx", "a", ",", "rtx", "b", ",", "machine_mode", "mode", ")", "{", "rtx", "x0", ",", "x1", ",", "e0", ",", "e1", ";", "x0", "=", "gen_reg_rtx", "(", "mode", ")", ";", "e0", "=", "gen_reg_rtx", "(", "mode", ")", ";", "e1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "x1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "b", "=", "force_reg", "(", "mode", ",", "b", ")", ";", "if", "(", "mode", "==", "V16SFmode", "||", "mode", "==", "V8DFmode", ")", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "x0", ",", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "1", ",", "b", ")", ",", "UNSPEC_RCP14", ")", ")", ")", ";", "else", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "x0", ",", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "1", ",", "b", ")", ",", "UNSPEC_RCP", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "e0", ",", "gen_rtx_MULT", "(", "mode", ",", "x0", ",", "b", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "e0", ",", "gen_rtx_MULT", "(", "mode", ",", "x0", ",", "e0", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "e1", ",", "gen_rtx_PLUS", "(", "mode", ",", "x0", ",", "x0", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "x1", ",", "gen_rtx_MINUS", "(", "mode", ",", "e1", ",", "e0", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "res", ",", "gen_rtx_MULT", "(", "mode", ",", "a", ",", "x1", ")", ")", ")", ";", "}", ""], "natrual_language": ["Output", "code", "to", "perform", "a", "Newton-Rhapson", "approximation", "of", "a", "single", "precision", "floating", "point", "divide", "[", "http", ":", "//en.wikipedia.org/wiki/N-th_root_algorithm", "]", "."], "TS_V_token": ["i386", "1", "1"], "File": "i3864", "Func": "ix86_emit_swdivsf", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9392, "Length": 217, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_is_segment_info_known", "(", "rtx", "orig", ",", "bool", "*", "is_readonly", ")", "{", "*", "is_readonly", "=", "false", ";", "if", "(", "LABEL_REF_P", "(", "orig", ")", ")", "{", "*", "is_readonly", "=", "true", ";", "return", "true", ";", "}", "if", "(", "SYMBOL_REF_P", "(", "orig", ")", ")", "{", "if", "(", "CONSTANT_POOL_ADDRESS_P", "(", "orig", ")", ")", "{", "*", "is_readonly", "=", "true", ";", "return", "true", ";", "}", "if", "(", "SYMBOL_REF_LOCAL_P", "(", "orig", ")", "&&", "!", "SYMBOL_REF_EXTERNAL_P", "(", "orig", ")", "&&", "SYMBOL_REF_DECL", "(", "orig", ")", "&&", "(", "!", "DECL_P", "(", "SYMBOL_REF_DECL", "(", "orig", ")", ")", "||", "!", "DECL_COMMON", "(", "SYMBOL_REF_DECL", "(", "orig", ")", ")", ")", ")", "{", "tree", "decl", "=", "SYMBOL_REF_DECL", "(", "orig", ")", ";", "tree", "init", "=", "(", "TREE_CODE", "(", "decl", ")", "==", "VAR_DECL", ")", "?", "DECL_INITIAL", "(", "decl", ")", ":", "(", "TREE_CODE", "(", "decl", ")", "==", "CONSTRUCTOR", ")", "?", "decl", ":", "0", ";", "int", "reloc", "=", "0", ";", "bool", "named_section", ",", "readonly", ";", "if", "(", "init", "&&", "init", "!=", "error_mark_node", ")", "reloc", "=", "compute_reloc_for_constant", "(", "init", ")", ";", "named_section", "=", "TREE_CODE", "(", "decl", ")", "==", "VAR_DECL", "&&", "lookup_attribute", "(", "\"section\"", ",", "DECL_ATTRIBUTES", "(", "decl", ")", ")", ";", "readonly", "=", "decl_readonly_section", "(", "decl", ",", "reloc", ")", ";", "if", "(", "named_section", ")", "return", "false", ";", "*", "is_readonly", "=", "readonly", ";", "return", "true", ";", "}", "return", "false", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Try", "to", "determine", "whether", "an", "object", ",", "referenced", "via", "ORIG", ",", "will", "be", "placed", "in", "the", "text", "or", "data", "segment", ".", "This", "is", "used", "in", "FDPIC", "mode", ",", "to", "decide", "which", "relocations", "to", "use", "when", "accessing", "ORIG", ".", "*", "IS_READONLY", "is", "set", "to", "true", "if", "ORIG", "is", "a", "read-only", "location", ",", "false", "otherwise", ".", "Return", "true", "if", "we", "could", "determine", "the", "location", "of", "ORIG", ",", "false", "otherwise", ".", "*", "IS_READONLY", "is", "valid", "only", "when", "we", "return", "true", "."], "TS_V_token": ["arm", "0", "0", "\"section\""], "File": "arm", "Func": "arm_is_segment_info_known", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9393, "Length": 214, "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": 9394, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "unique_ptr", "<", "MCObjectWriter", ">", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "override", "{", "bool", "is64", "=", "getPointerSize", "(", ")", "==", "8", ";", "return", "createPPCELFObjectWriter", "(", "OS", ",", "is64", ",", "isLittleEndian", "(", ")", ",", "OSABI", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["PowerPC", "8", "PPC"], "File": "PPCAsmBackend13", "Func": "createObjectWriter", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9395, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLittleEndian", "(", ")", "const", "{", "return", "isLittle", ";", "}", ""], "natrual_language": ["Tests", "whether", "the", "target", "triple", "is", "little", "endian", "."], "TS_V_token": ["SIC"], "File": "SICTargetMachine", "Func": "isLittleEndian", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9396, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "r10k_safe_address_p", "(", "rtx", "x", ",", "rtx_insn", "*", "insn", ")", "{", "rtx", "base", ",", "offset", ";", "HOST_WIDE_INT", "offset_val", ";", "x", "=", "r10k_simplify_address", "(", "x", ",", "insn", ")", ";", "mips_split_plus", "(", "x", ",", "&", "base", ",", "&", "offset_val", ")", ";", "if", "(", "base", "==", "virtual_incoming_args_rtx", "&&", "offset_val", ">=", "-", "cfun", "->", "machine", "->", "frame", ".", "total_size", "&&", "offset_val", "<", "cfun", "->", "machine", "->", "frame", ".", "args_size", ")", "return", "true", ";", "if", "(", "CONST_INT_P", "(", "x", ")", ")", "return", "r10k_uncached_address_p", "(", "INTVAL", "(", "x", ")", ")", ";", "split_const", "(", "x", ",", "&", "base", ",", "&", "offset", ")", ";", "return", "offset_within_block_p", "(", "base", ",", "INTVAL", "(", "offset", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "can", "prove", "that", "an", "access", "to", "address", "X", "in", "instruction", "INSN", "would", "be", "safe", "from", "R10K", "speculation", ".", "This", "X", "is", "a", "general", "expression", ";", "it", "might", "not", "be", "a", "legitimate", "address", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "r10k_safe_address_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9397, "Length": 109, "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", "{", "Op", ".", "getExpr", "(", ")", "->", "print", "(", "O", ",", "&", "MAI", ")", ";", "}", "}", "}", ""], "natrual_language": ["value", "(", "e.g", "."], "TS_V_token": ["X86", "X86", "\"unknown pcrel immediate operand\""], "File": "X86IntelInstPrinter15", "Func": "printPCRelImm", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9398, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_group_insns", "(", "rtx_insn", "*", "sethi", ")", "{", "df_ref", "def_record", ",", "use_record", ";", "df_link", "*", "link", ";", "rtx_insn", "*", "use_insn", "=", "NULL", ";", "rtx", "group_id", ";", "bool", "valid", ";", "def_record", "=", "DF_INSN_DEFS", "(", "sethi", ")", ";", "for", "(", "link", "=", "DF_REF_CHAIN", "(", "def_record", ")", ";", "link", ";", "link", "=", "link", "->", "next", ")", "{", "if", "(", "!", "DF_REF_INSN_INFO", "(", "link", "->", "ref", ")", ")", "continue", ";", "use_insn", "=", "DF_REF_INSN", "(", "link", "->", "ref", ")", ";", "if", "(", "!", "dominated_by_p", "(", "CDI_DOMINATORS", ",", "BLOCK_FOR_INSN", "(", "use_insn", ")", ",", "BLOCK_FOR_INSN", "(", "sethi", ")", ")", ")", "return", ";", "use_record", "=", "DF_INSN_USES", "(", "use_insn", ")", ";", "if", "(", "DF_REF_CHAIN", "(", "use_record", ")", "&&", "DF_REF_CHAIN", "(", "use_record", ")", "->", "next", ")", "return", ";", "if", "(", "!", "active_insn_p", "(", "use_insn", ")", ")", "return", ";", "if", "(", "!", "(", "recog_memoized", "(", "use_insn", ")", "==", "CODE_FOR_lo_sum", "||", "nds32_symbol_load_store_p", "(", "use_insn", ")", "||", "(", "nds32_reg_base_load_store_p", "(", "use_insn", ")", "&&", "!", "nds32_sp_base_or_plus_load_store_p", "(", "use_insn", ")", ")", ")", ")", "return", ";", "}", "group_id", "=", "GEN_INT", "(", "nds32_alloc_relax_group_id", "(", ")", ")", ";", "emit_insn_before", "(", "gen_relax_group", "(", "group_id", ")", ",", "sethi", ")", ";", "for", "(", "link", "=", "DF_REF_CHAIN", "(", "def_record", ")", ";", "link", ";", "link", "=", "link", "->", "next", ")", "{", "if", "(", "!", "DF_REF_INSN_INFO", "(", "link", "->", "ref", ")", ")", "continue", ";", "use_insn", "=", "DF_REF_INSN", "(", "link", "->", "ref", ")", ";", "if", "(", "active_insn_p", "(", "use_insn", ")", ")", "emit_insn_before", "(", "gen_relax_group", "(", "group_id", ")", ",", "use_insn", ")", ";", "if", "(", "use_insn", "!=", "NULL", "&&", "recog_memoized", "(", "use_insn", ")", "==", "CODE_FOR_lo_sum", "&&", "!", "nds32_const_unspec_p", "(", "XEXP", "(", "SET_SRC", "(", "PATTERN", "(", "use_insn", ")", ")", ",", "1", ")", ")", ")", "{", "int", "sym_type", "=", "nds32_pic_tls_symbol_type", "(", "use_insn", ")", ";", "valid", "=", "nds32_pic_tls_group", "(", "use_insn", ",", "RELAX_ORI", ",", "sym_type", ")", ";", "while", "(", "!", "nds32_group_infos", ".", "is_empty", "(", ")", ")", "{", "use_insn", "=", "nds32_group_infos", ".", "pop", "(", ")", ";", "if", "(", "valid", ")", "emit_insn_before", "(", "gen_relax_group", "(", "group_id", ")", ",", "use_insn", ")", ";", "}", "}", "}", "}", ""], "natrual_language": ["Group", "the", "relax", "candidates", "with", "group", "id", "."], "TS_V_token": ["nds32", "1"], "File": "nds32-relax-opt", "Func": "nds32_group_insns", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9399, "Length": 323, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TargetLowering", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameInfo", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", ";", "unsigned", "FPDiff", "=", "TFI", "->", "hasFP", "(", "MF", ")", "?", "1", ":", "0", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "X86", "::", "GR32RegClassID", ":", "return", "4", "-", "FPDiff", ";", "case", "X86", "::", "GR64RegClassID", ":", "return", "8", "-", "FPDiff", ";", "case", "X86", "::", "VR128RegClassID", ":", "return", "Subtarget", "->", "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", "8", "X86::VR128RegClassID", "10", "4", "X86::VR64RegClassID", "4"], "File": "X86ISelLowering93", "Func": "getRegPressureLimit", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9400, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMem", "(", ")", "const", "override", "{", "return", "isMEMrri", "(", ")", "||", "isMEMrii", "(", ")", "||", "isMEMzri", "(", ")", "||", "isMEMzii", "(", ")", "||", "isMEMri", "(", ")", "||", "isMEMzi", "(", ")", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["VE"], "File": "VEAsmParser (2)", "Func": "isMem", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9401, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_scalar_mode_supported_p", "(", "scalar_mode", "mode", ")", "{", "if", "(", "ALL_FIXED_POINT_MODE_P", "(", "mode", ")", "&&", "GET_MODE_PRECISION", "(", "mode", ")", "<=", "2", "*", "BITS_PER_WORD", ")", "return", "true", ";", "return", "default_scalar_mode_supported_p", "(", "mode", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SCALAR_MODE_SUPPORTED_P", "."], "TS_V_token": ["mips", "2"], "File": "mips", "Func": "mips_scalar_mode_supported_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9402, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiAsmBackend", "::", "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": ["Lanai", "Lanai", "4", "0", "0", "4", "0x15000000"], "File": "LanaiAsmBackend", "Func": "writeNopData", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9403, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "register_vector_type", "(", "vector_type_index", "type", ")", "{", "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": ["aarch64", "0"], "File": "aarch64-sve-builtins2", "Func": "register_vector_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9404, "Length": 100, "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", ";", "}", ")", ";", "if", "(", "RepeatedSequenceLocs", "[", "0", "]", ".", "back", "(", ")", "->", "isTerminator", "(", ")", ")", "{", "for", "(", "outliner", "::", "Candidate", "&", "C", ":", "RepeatedSequenceLocs", ")", "C", ".", "setCallInfo", "(", "MachineOutlinerTailCall", ",", "1", ")", ";", "return", "outliner", "::", "OutlinedFunction", "(", "RepeatedSequenceLocs", ",", "SequenceSize", ",", "0", ",", "MachineOutlinerTailCall", ")", ";", "}", "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", "1", "0", "1", "1"], "File": "X86InstrInfo", "Func": "getOutliningCandidateInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9405, "Length": 173, "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": 9406, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_classify_vector_mode", "(", "machine_mode", "mode", ")", "{", "if", "(", "aarch64_advsimd_struct_mode_p", "(", "mode", ")", ")", "return", "VEC_ADVSIMD", "|", "VEC_STRUCT", ";", "if", "(", "aarch64_sve_pred_mode_p", "(", "mode", ")", ")", "return", "VEC_SVE_PRED", ";", "switch", "(", "mode", ")", "{", "case", "E_VNx2QImode", ":", "case", "E_VNx4QImode", ":", "case", "E_VNx8QImode", ":", "case", "E_VNx2HImode", ":", "case", "E_VNx4HImode", ":", "case", "E_VNx2SImode", ":", "case", "E_VNx2HFmode", ":", "case", "E_VNx4HFmode", ":", "case", "E_VNx2BFmode", ":", "case", "E_VNx4BFmode", ":", "case", "E_VNx2SFmode", ":", "return", "TARGET_SVE", "?", "VEC_SVE_DATA", "|", "VEC_PARTIAL", ":", "0", ";", "case", "E_VNx16QImode", ":", "case", "E_VNx8HImode", ":", "case", "E_VNx4SImode", ":", "case", "E_VNx2DImode", ":", "case", "E_VNx8BFmode", ":", "case", "E_VNx8HFmode", ":", "case", "E_VNx4SFmode", ":", "case", "E_VNx2DFmode", ":", "return", "TARGET_SVE", "?", "VEC_SVE_DATA", ":", "0", ";", "case", "E_VNx32QImode", ":", "case", "E_VNx16HImode", ":", "case", "E_VNx8SImode", ":", "case", "E_VNx4DImode", ":", "case", "E_VNx16BFmode", ":", "case", "E_VNx16HFmode", ":", "case", "E_VNx8SFmode", ":", "case", "E_VNx4DFmode", ":", "case", "E_VNx48QImode", ":", "case", "E_VNx24HImode", ":", "case", "E_VNx12SImode", ":", "case", "E_VNx6DImode", ":", "case", "E_VNx24BFmode", ":", "case", "E_VNx24HFmode", ":", "case", "E_VNx12SFmode", ":", "case", "E_VNx6DFmode", ":", "case", "E_VNx64QImode", ":", "case", "E_VNx32HImode", ":", "case", "E_VNx16SImode", ":", "case", "E_VNx8DImode", ":", "case", "E_VNx32BFmode", ":", "case", "E_VNx32HFmode", ":", "case", "E_VNx16SFmode", ":", "case", "E_VNx8DFmode", ":", "return", "TARGET_SVE", "?", "VEC_SVE_DATA", "|", "VEC_STRUCT", ":", "0", ";", "case", "E_V8QImode", ":", "case", "E_V4HImode", ":", "case", "E_V2SImode", ":", "case", "E_V4HFmode", ":", "case", "E_V4BFmode", ":", "case", "E_V2SFmode", ":", "case", "E_V1DFmode", ":", "case", "E_V16QImode", ":", "case", "E_V8HImode", ":", "case", "E_V4SImode", ":", "case", "E_V2DImode", ":", "case", "E_V8HFmode", ":", "case", "E_V8BFmode", ":", "case", "E_V4SFmode", ":", "case", "E_V2DFmode", ":", "return", "TARGET_SIMD", "?", "VEC_ADVSIMD", ":", "0", ";", "default", ":", "return", "0", ";", "}", "}", ""], "natrual_language": ["Return", "a", "set", "of", "flags", "describing", "the", "vector", "properties", "of", "mode", "MODE", ".", "Ignore", "modes", "that", "are", "not", "supported", "by", "the", "current", "target", "."], "TS_V_token": ["aarch64", "0", "0", "0", "0", "0"], "File": "aarch641", "Func": "aarch64_classify_vector_mode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9407, "Length": 249, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LC3bTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "SDLoc", "dl", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "std", "::", "cout", "<<", "\"Here it broke!!!!!\\n\"", ";", "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": ["LC3b", "LC3b", "ISD::OutputArg", "\"Here it broke!!!!!\\n\""], "File": "LC3bISelLowering", "Func": "LowerReturn", "Target": "LC3b", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9408, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_option_params_internal", "(", "void", ")", "{", "if", "(", "TARGET_THUMB1", ")", "{", "targetm", ".", "min_anchor_offset", "=", "0", ";", "targetm", ".", "max_anchor_offset", "=", "127", ";", "}", "else", "if", "(", "TARGET_THUMB2", ")", "{", "targetm", ".", "min_anchor_offset", "=", "-", "248", ";", "targetm", ".", "max_anchor_offset", "=", "4095", ";", "}", "else", "{", "targetm", ".", "min_anchor_offset", "=", "TARGET_MIN_ANCHOR_OFFSET", ";", "targetm", ".", "max_anchor_offset", "=", "TARGET_MAX_ANCHOR_OFFSET", ";", "}", "max_insns_skipped", "=", "optimize_size", "?", "4", ":", "current_tune", "->", "max_insns_skipped", ";", "if", "(", "TARGET_THUMB2", ")", "max_insns_skipped", "=", "MIN", "(", "max_insns_skipped", ",", "MAX_INSN_PER_IT_BLOCK", ")", ";", "if", "(", "TARGET_THUMB1", ")", "targetm", ".", "md_asm_adjust", "=", "thumb1_md_asm_adjust", ";", "else", "targetm", ".", "md_asm_adjust", "=", "arm_md_asm_adjust", ";", "}", ""], "natrual_language": ["Recompute", "the", "global", "settings", "depending", "on", "target", "attribute", "options", "."], "TS_V_token": ["arm", "0", "127", "248", "4095", "4"], "File": "arm", "Func": "arm_option_params_internal", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9409, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isTarget64BitILP32", "(", ")", "const", "{", "return", "In64BitMode", "&&", "(", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "GNUX32", "||", "TargetTriple", ".", "isOSNaCl", "(", ")", ")", ";", "}", ""], "natrual_language": ["Is", "this", "x86_64", "with", "the", "ILP32", "programming", "model", "(", "x32", "ABI", ")", "?"], "TS_V_token": ["X86"], "File": "X86Subtarget (2)", "Func": "isTarget64BitILP32", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9410, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "enableOrderedReductions", "(", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "should", "be", "enabling", "ordered", "reductions", "for", "the", "target", "."], "TS_V_token": ["AArch64"], "File": "AArch64TargetTransformInfo", "Func": "enableOrderedReductions", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9411, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mep_libcall_value", "(", "machine_mode", "mode", ")", "{", "return", "gen_rtx_REG", "(", "mode", ",", "RETURN_VALUE_REGNUM", ")", ";", "}", ""], "natrual_language": ["Implement", "LIBCALL_VALUE", ",", "using", "the", "same", "rules", "as", "mep_function_value", "."], "TS_V_token": ["mep"], "File": "mep", "Func": "mep_libcall_value", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9412, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86FrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "FrameReg", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "if", "(", "TRI", "->", "hasBasePointer", "(", "MF", ")", ")", "FrameReg", "=", "TRI", "->", "getBaseRegister", "(", ")", ";", "else", "if", "(", "TRI", "->", "needsStackRealignment", "(", "MF", ")", ")", "FrameReg", "=", "TRI", "->", "getStackRegister", "(", ")", ";", "else", "FrameReg", "=", "TRI", "->", "getFrameRegister", "(", "MF", ")", ";", "int", "Offset", "=", "MFI", "->", "getObjectOffset", "(", "FI", ")", "-", "getOffsetOfLocalArea", "(", ")", ";", "const", "X86MachineFunctionInfo", "*", "X86FI", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "unsigned", "CSSize", "=", "X86FI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "bool", "HasFP", "=", "hasFP", "(", "MF", ")", ";", "bool", "IsWin64Prologue", "=", "MF", ".", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", "->", "usesWindowsCFI", "(", ")", ";", "int64_t", "FPDelta", "=", "0", ";", "if", "(", "IsWin64Prologue", ")", "{", "assert", "(", "!", "MFI", "->", "hasCalls", "(", ")", "||", "(", "StackSize", "%", "16", ")", "==", "8", ")", ";", "uint64_t", "FrameSize", "=", "StackSize", "-", "SlotSize", ";", "if", "(", "X86FI", "->", "getRestoreBasePointer", "(", ")", ")", "FrameSize", "+=", "SlotSize", ";", "uint64_t", "NumBytes", "=", "FrameSize", "-", "CSSize", ";", "uint64_t", "SEHFrameOffset", "=", "calculateSetFPREG", "(", "NumBytes", ")", ";", "if", "(", "FI", "&&", "FI", "==", "X86FI", "->", "getFAIndex", "(", ")", ")", "return", "-", "SEHFrameOffset", ";", "FPDelta", "=", "FrameSize", "-", "SEHFrameOffset", ";", "assert", "(", "(", "!", "MFI", "->", "hasCalls", "(", ")", "||", "(", "FPDelta", "%", "16", ")", "==", "0", ")", "&&", "\"FPDelta isn't aligned per the Win64 ABI!\"", ")", ";", "}", "if", "(", "TRI", "->", "hasBasePointer", "(", "MF", ")", ")", "{", "assert", "(", "HasFP", "&&", "\"VLAs and dynamic stack realign, but no FP?!\"", ")", ";", "if", "(", "FI", "<", "0", ")", "{", "return", "Offset", "+", "SlotSize", "+", "FPDelta", ";", "}", "else", "{", "assert", "(", "(", "-", "(", "Offset", "+", "StackSize", ")", ")", "%", "MFI", "->", "getObjectAlignment", "(", "FI", ")", "==", "0", ")", ";", "return", "Offset", "+", "StackSize", ";", "}", "}", "else", "if", "(", "TRI", "->", "needsStackRealignment", "(", "MF", ")", ")", "{", "if", "(", "FI", "<", "0", ")", "{", "return", "Offset", "+", "SlotSize", "+", "FPDelta", ";", "}", "else", "{", "assert", "(", "(", "-", "(", "Offset", "+", "StackSize", ")", ")", "%", "MFI", "->", "getObjectAlignment", "(", "FI", ")", "==", "0", ")", ";", "return", "Offset", "+", "StackSize", ";", "}", "}", "else", "{", "if", "(", "!", "HasFP", ")", "return", "Offset", "+", "StackSize", ";", "Offset", "+=", "SlotSize", ";", "int", "TailCallReturnAddrDelta", "=", "X86FI", "->", "getTCReturnAddrDelta", "(", ")", ";", "if", "(", "TailCallReturnAddrDelta", "<", "0", ")", "Offset", "-=", "TailCallReturnAddrDelta", ";", "}", "return", "Offset", "+", "FPDelta", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86", "0", "16", "8", "X86", "X86", "16", "0", "\"FPDelta isn't aligned per the Win64 ABI!\"", "\"VLAs and dynamic stack realign, but no FP?!\"", "0", "0", "0", "0", "X86", "0"], "File": "X86FrameLowering (2)4", "Func": "getFrameIndexReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9413, "Length": 413, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "AArch64_MachoTargetObjectFile", "::", "getTTypeGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "unsigned", "Encoding", ",", "Mangler", "&", "Mang", ",", "const", "TargetMachine", "&", "TM", ",", "MachineModuleInfo", "*", "MMI", ",", "MCStreamer", "&", "Streamer", ")", "const", "{", "if", "(", "Encoding", "&", "(", "DW_EH_PE_indirect", "|", "DW_EH_PE_pcrel", ")", ")", "{", "const", "MCSymbol", "*", "Sym", "=", "TM", ".", "getSymbol", "(", "GV", ",", "Mang", ")", ";", "const", "MCExpr", "*", "Res", "=", "MCSymbolRefExpr", "::", "Create", "(", "Sym", ",", "MCSymbolRefExpr", "::", "VK_GOT", ",", "getContext", "(", ")", ")", ";", "MCSymbol", "*", "PCSym", "=", "getContext", "(", ")", ".", "CreateTempSymbol", "(", ")", ";", "Streamer", ".", "EmitLabel", "(", "PCSym", ")", ";", "const", "MCExpr", "*", "PC", "=", "MCSymbolRefExpr", "::", "Create", "(", "PCSym", ",", "getContext", "(", ")", ")", ";", "return", "MCBinaryExpr", "::", "CreateSub", "(", "Res", ",", "PC", ",", "getContext", "(", ")", ")", ";", "}", "return", "TargetLoweringObjectFileMachO", "::", "getTTypeGlobalReference", "(", "GV", ",", "Encoding", ",", "Mang", ",", "TM", ",", "MMI", ",", "Streamer", ")", ";", "}", ""], "natrual_language": ["The", "mach-o", "version", "of", "this", "method", "defaults", "to", "returning", "a", "stub", "reference", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64TargetObjectFile", "Func": "getTTypeGlobalReference", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9414, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64_ELFTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "InitializeELF", "(", "TM", ".", "Options", ".", "UseInitArray", ")", ";", "SupportDebugThreadLocalLocation", "=", "false", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64TargetObjectFile (2)", "Func": "Initialize", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9415, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "moxie_setup_incoming_varargs", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", ",", "int", "*", "pretend_size", ",", "int", "no_rtl", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "int", "regno", ";", "int", "regs", "=", "8", "-", "*", "cum", ";", "*", "pretend_size", "=", "regs", "<", "0", "?", "0", ":", "GET_MODE_SIZE", "(", "SImode", ")", "*", "regs", ";", "if", "(", "no_rtl", ")", "return", ";", "for", "(", "regno", "=", "*", "cum", ";", "regno", "<", "8", ";", "regno", "++", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ";", "rtx", "slot", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "gen_rtx_REG", "(", "SImode", ",", "ARG_POINTER_REGNUM", ")", ",", "GEN_INT", "(", "UNITS_PER_WORD", "*", "(", "3", "+", "(", "regno", "-", "2", ")", ")", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "SImode", ",", "slot", ")", ",", "reg", ")", ";", "}", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["moxie", "8", "0", "0", "8", "3", "2"], "File": "moxie", "Func": "moxie_setup_incoming_varargs", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9416, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "cpu_expand_builtin", "(", "enum", "rs6000_builtins", "fcode", ",", "tree", "exp", "ATTRIBUTE_UNUSED", ",", "rtx", "target", ")", "{", "if", "(", "fcode", "==", "RS6000_BUILTIN_CPU_INIT", ")", "return", "const0_rtx", ";", "if", "(", "target", "==", "0", "||", "GET_MODE", "(", "target", ")", "!=", "SImode", ")", "target", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "tree", "arg", "=", "TREE_OPERAND", "(", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ",", "0", ")", ";", "if", "(", "TREE_CODE", "(", "arg", ")", "!=", "STRING_CST", ")", "{", "error", "(", "\"builtin %s only accepts a string argument\"", ",", "rs6000_builtin_info", "[", "(", "size_t", ")", "fcode", "]", ".", "name", ")", ";", "return", "const0_rtx", ";", "}", "if", "(", "fcode", "==", "RS6000_BUILTIN_CPU_IS", ")", "{", "const", "char", "*", "cpu", "=", "TREE_STRING_POINTER", "(", "arg", ")", ";", "rtx", "cpuid", "=", "NULL_RTX", ";", "for", "(", "size_t", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "cpu_is_info", ")", ";", "i", "++", ")", "if", "(", "strcmp", "(", "cpu", ",", "cpu_is_info", "[", "i", "]", ".", "cpu", ")", "==", "0", ")", "{", "cpuid", "=", "GEN_INT", "(", "cpu_is_info", "[", "i", "]", ".", "cpuid", "+", "_DL_FIRST_PLATFORM", ")", ";", "break", ";", "}", "if", "(", "cpuid", "==", "NULL_RTX", ")", "{", "error", "(", "\"cpu %s is an invalid argument to builtin %s\"", ",", "cpu", ",", "rs6000_builtin_info", "[", "(", "size_t", ")", "fcode", "]", ".", "name", ")", ";", "return", "const0_rtx", ";", "}", "rtx", "platform", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx", "tcbmem", "=", "gen_const_mem", "(", "SImode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "gen_rtx_REG", "(", "Pmode", ",", "TLS_REGNUM", ")", ",", "GEN_INT", "(", "TCB_PLATFORM_OFFSET", ")", ")", ")", ";", "emit_move_insn", "(", "platform", ",", "tcbmem", ")", ";", "emit_insn", "(", "gen_eqsi3", "(", "target", ",", "platform", ",", "cpuid", ")", ")", ";", "}", "else", "if", "(", "fcode", "==", "RS6000_BUILTIN_CPU_SUPPORTS", ")", "{", "const", "char", "*", "hwcap", "=", "TREE_STRING_POINTER", "(", "arg", ")", ";", "rtx", "mask", "=", "NULL_RTX", ";", "int", "hwcap_offset", ";", "for", "(", "size_t", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "cpu_supports_info", ")", ";", "i", "++", ")", "if", "(", "strcmp", "(", "hwcap", ",", "cpu_supports_info", "[", "i", "]", ".", "hwcap", ")", "==", "0", ")", "{", "mask", "=", "GEN_INT", "(", "cpu_supports_info", "[", "i", "]", ".", "mask", ")", ";", "hwcap_offset", "=", "TCB_HWCAP_OFFSET", "(", "cpu_supports_info", "[", "i", "]", ".", "id", ")", ";", "break", ";", "}", "if", "(", "mask", "==", "NULL_RTX", ")", "{", "error", "(", "\"hwcap %s is an invalid argument to builtin %s\"", ",", "hwcap", ",", "rs6000_builtin_info", "[", "(", "size_t", ")", "fcode", "]", ".", "name", ")", ";", "return", "const0_rtx", ";", "}", "rtx", "tcb_hwcap", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx", "tcbmem", "=", "gen_const_mem", "(", "SImode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "gen_rtx_REG", "(", "Pmode", ",", "TLS_REGNUM", ")", ",", "GEN_INT", "(", "hwcap_offset", ")", ")", ")", ";", "emit_move_insn", "(", "tcb_hwcap", ",", "tcbmem", ")", ";", "rtx", "scratch1", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "scratch1", ",", "gen_rtx_AND", "(", "SImode", ",", "tcb_hwcap", ",", "mask", ")", ")", ")", ";", "rtx", "scratch2", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_eqsi3", "(", "scratch2", ",", "scratch1", ",", "const0_rtx", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "target", ",", "gen_rtx_XOR", "(", "SImode", ",", "scratch2", ",", "const1_rtx", ")", ")", ")", ";", "}", "cpu_builtin_p", "=", "true", ";", "emit_move_insn", "(", "target", ",", "GEN_INT", "(", "0", ")", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Expand", "the", "CPU", "builtin", "in", "FCODE", "and", "store", "the", "result", "in", "TARGET", "."], "TS_V_token": ["powerpcspe", "0", "0", "0", "\"builtin %s only accepts a string argument\"", "0", "0", "\"cpu %s is an invalid argument to builtin %s\"", "0", "0", "\"hwcap %s is an invalid argument to builtin %s\"", "0"], "File": "powerpcspe", "Func": "cpu_expand_builtin", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9417, "Length": 479, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "new", "X86ExecutionDomainFix", "(", ")", ")", ";", "addPass", "(", "createBreakFalseDeps", "(", ")", ")", ";", "}", "addPass", "(", "createShadowCallStackPass", "(", ")", ")", ";", "addPass", "(", "createX86IndirectBranchTrackingPass", "(", ")", ")", ";", "if", "(", "UseVZeroUpper", ")", "addPass", "(", "createX86IssueVZeroUpperPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createX86FixupBWInsts", "(", ")", ")", ";", "addPass", "(", "createX86PadShortFunctions", "(", ")", ")", ";", "addPass", "(", "createX86FixupLEAs", "(", ")", ")", ";", "addPass", "(", "createX86EvexToVexInsts", "(", ")", ")", ";", "}", "addPass", "(", "createX86DiscriminateMemOpsPass", "(", ")", ")", ";", "addPass", "(", "createX86InsertPrefetchPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86TargetMachine102", "Func": "addPreEmitPass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9418, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "getNegatedExpression", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ",", "bool", "LegalOps", ",", "bool", "OptForSize", ",", "NegatibleCost", "&", "Cost", ",", "unsigned", "Depth", ")", "const", "{", "if", "(", "Depth", ">", "SelectionDAG", "::", "MaxRecursionDepth", ")", "return", "SDValue", "(", ")", ";", "unsigned", "Opc", "=", "Op", ".", "getOpcode", "(", ")", ";", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "SDNodeFlags", "Flags", "=", "Op", ".", "getNode", "(", ")", "->", "getFlags", "(", ")", ";", "switch", "(", "Opc", ")", "{", "case", "PPCISD", "::", "FNMSUB", ":", "if", "(", "!", "Op", ".", "hasOneUse", "(", ")", "||", "!", "isTypeLegal", "(", "VT", ")", ")", "break", ";", "const", "TargetOptions", "&", "Options", "=", "getTargetMachine", "(", ")", ".", "Options", ";", "SDValue", "N0", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "SDValue", "N1", "=", "Op", ".", "getOperand", "(", "1", ")", ";", "SDValue", "N2", "=", "Op", ".", "getOperand", "(", "2", ")", ";", "SDLoc", "Loc", "(", "Op", ")", ";", "NegatibleCost", "N2Cost", "=", "NegatibleCost", "::", "Expensive", ";", "SDValue", "NegN2", "=", "getNegatedExpression", "(", "N2", ",", "DAG", ",", "LegalOps", ",", "OptForSize", ",", "N2Cost", ",", "Depth", "+", "1", ")", ";", "if", "(", "!", "NegN2", ")", "return", "SDValue", "(", ")", ";", "if", "(", "Flags", ".", "hasNoSignedZeros", "(", ")", "||", "Options", ".", "NoSignedZerosFPMath", ")", "{", "NegatibleCost", "N0Cost", "=", "NegatibleCost", "::", "Expensive", ";", "SDValue", "NegN0", "=", "getNegatedExpression", "(", "N0", ",", "DAG", ",", "LegalOps", ",", "OptForSize", ",", "N0Cost", ",", "Depth", "+", "1", ")", ";", "NegatibleCost", "N1Cost", "=", "NegatibleCost", "::", "Expensive", ";", "SDValue", "NegN1", "=", "getNegatedExpression", "(", "N1", ",", "DAG", ",", "LegalOps", ",", "OptForSize", ",", "N1Cost", ",", "Depth", "+", "1", ")", ";", "if", "(", "NegN0", "&&", "N0Cost", "<=", "N1Cost", ")", "{", "Cost", "=", "std", "::", "min", "(", "N0Cost", ",", "N2Cost", ")", ";", "return", "DAG", ".", "getNode", "(", "Opc", ",", "Loc", ",", "VT", ",", "NegN0", ",", "N1", ",", "NegN2", ",", "Flags", ")", ";", "}", "else", "if", "(", "NegN1", ")", "{", "Cost", "=", "std", "::", "min", "(", "N1Cost", ",", "N2Cost", ")", ";", "return", "DAG", ".", "getNode", "(", "Opc", ",", "Loc", ",", "VT", ",", "N0", ",", "NegN1", ",", "NegN2", ",", "Flags", ")", ";", "}", "}", "if", "(", "isOperationLegal", "(", "ISD", "::", "FMA", ",", "VT", ")", ")", "{", "Cost", "=", "N2Cost", ";", "return", "DAG", ".", "getNode", "(", "ISD", "::", "FMA", ",", "Loc", ",", "VT", ",", "N0", ",", "N1", ",", "NegN2", ",", "Flags", ")", ";", "}", "break", ";", "}", "return", "TargetLowering", "::", "getNegatedExpression", "(", "Op", ",", "DAG", ",", "LegalOps", ",", "OptForSize", ",", "Cost", ",", "Depth", ")", ";", "}", ""], "natrual_language": ["Return", "the", "newly", "negated", "expression", "if", "the", "cost", "is", "not", "expensive", "and", "set", "the", "cost", "in", "Cost", "to", "indicate", "that", "if", "it", "is", "cheaper", "or", "neutral", "to", "do", "the", "negation", "."], "TS_V_token": ["PowerPC", "PPC", "PPCISD::FNMSUB", "0", "1", "2", "1", "1", "1", "ISD::FMA", "ISD::FMA"], "File": "PPCISelLowering100", "Func": "getNegatedExpression", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9419, "Length": 390, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "static", "int", "thumb_index_register_rtx_p", "(", "rtx", "x", ",", "int", "strict_p", ")", "{", "return", "thumb_base_register_rtx_p", "(", "x", ",", "QImode", ",", "strict_p", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "x", "is", "a", "legitimate", "index", "register", ".", "This", "is", "the", "case", "for", "any", "base", "register", "that", "can", "access", "a", "QImode", "object", "."], "TS_V_token": ["arm"], "File": "arm3", "Func": "thumb_index_register_rtx_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9420, "Length": 23, "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", "::", "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", ":", "case", "Instruction", "::", "ICmp", ":", "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", "32", "1", "1", "63", "64", "X86", "X86"], "File": "X86TargetTransformInfo", "Func": "getIntImmCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9421, "Length": 345, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "AArch64RegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "return", "&", "AArch64", "::", "GPR64RegClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::GPR64RegClass"], "File": "AArch64RegisterInfo (2)", "Func": "getPointerRegClass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9422, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsCCState", "::", "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", "(", "llvm", "::", "is_sorted", "(", "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", "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": "MipsCCState9", "Func": "isF128SoftLibCall", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9423, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_emit_isr_vector_section", "(", "int", "vector_id", ")", "{", "unsigned", "int", "vector_number_offset", "=", "0", ";", "const", "char", "*", "c_str", "=", "\"CATEGORY\"", ";", "const", "char", "*", "sr_str", "=", "\"SR\"", ";", "const", "char", "*", "nt_str", "=", "\"NT\"", ";", "char", "first_level_handler_name", "[", "100", "]", ";", "char", "section_name", "[", "100", "]", ";", "char", "symbol_name", "[", "100", "]", ";", "switch", "(", "nds32_isr_vectors", "[", "vector_id", "]", ".", "category", ")", "{", "case", "NDS32_ISR_INTERRUPT", ":", "vector_number_offset", "=", "9", ";", "c_str", "=", "\"i\"", ";", "break", ";", "case", "NDS32_ISR_EXCEPTION", ":", "vector_number_offset", "=", "0", ";", "c_str", "=", "\"e\"", ";", "break", ";", "case", "NDS32_ISR_NONE", ":", "case", "NDS32_ISR_RESET", ":", "gcc_unreachable", "(", ")", ";", "break", ";", "}", "switch", "(", "nds32_isr_vectors", "[", "vector_id", "]", ".", "save_reg", ")", "{", "case", "NDS32_SAVE_ALL", ":", "sr_str", "=", "\"sa\"", ";", "break", ";", "case", "NDS32_PARTIAL_SAVE", ":", "sr_str", "=", "\"ps\"", ";", "break", ";", "}", "switch", "(", "nds32_isr_vectors", "[", "vector_id", "]", ".", "nested_type", ")", "{", "case", "NDS32_NESTED", ":", "nt_str", "=", "\"ns\"", ";", "break", ";", "case", "NDS32_NOT_NESTED", ":", "nt_str", "=", "\"nn\"", ";", "break", ";", "case", "NDS32_NESTED_READY", ":", "nt_str", "=", "\"nr\"", ";", "break", ";", "case", "NDS32_CRITICAL", ":", "nt_str", "=", "\"\"", ";", "break", ";", "}", "if", "(", "nds32_isr_vectors", "[", "vector_id", "]", ".", "security_level", "==", "0", ")", "{", "snprintf", "(", "first_level_handler_name", ",", "sizeof", "(", "first_level_handler_name", ")", ",", "\"_nds32_%s_%s_%s\"", ",", "c_str", ",", "sr_str", ",", "nt_str", ")", ";", "}", "else", "{", "snprintf", "(", "first_level_handler_name", ",", "sizeof", "(", "first_level_handler_name", ")", ",", "\"_nds32_spl_%d\"", ",", "nds32_isr_vectors", "[", "vector_id", "]", ".", "security_level", ")", ";", "}", "snprintf", "(", "section_name", ",", "sizeof", "(", "section_name", ")", ",", "\".nds32_vector.%02d\"", ",", "vector_id", ")", ";", "snprintf", "(", "symbol_name", ",", "sizeof", "(", "symbol_name", ")", ",", "\"_nds32_vector_%02d\"", ",", "vector_id", ")", ";", "nds32_emit_section_head_template", "(", "section_name", ",", "symbol_name", ",", "floor_log2", "(", "nds32_isr_vector_size", ")", ",", "false", ")", ";", "if", "(", "nds32_isr_vectors", "[", "vector_id", "]", ".", "nested_type", "==", "NDS32_CRITICAL", ")", "{", "fprintf", "(", "asm_out_file", ",", "\"\\tj\\t%s ! jump to user handler directly\\n\"", ",", "nds32_isr_vectors", "[", "vector_id", "]", ".", "func_name", ")", ";", "}", "else", "if", "(", "nds32_isr_vector_size", "==", "4", ")", "{", "fprintf", "(", "asm_out_file", ",", "\"\\tj\\t%s ! jump to first level handler\\n\"", ",", "first_level_handler_name", ")", ";", "}", "else", "{", "if", "(", "TARGET_REDUCED_REGS", ")", "{", "if", "(", "nds32_isr_vectors", "[", "vector_id", "]", ".", "save_reg", "==", "NDS32_SAVE_ALL", ")", "{", "fprintf", "(", "asm_out_file", ",", "\"\\t! reduced set regs + save_all\\n\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tsmw.adm\\t$r15, [$sp], $r15, 0xf\\n\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tsmw.adm\\t$r0, [$sp], $r10, 0x0\\n\"", ")", ";", "}", "else", "{", "fprintf", "(", "asm_out_file", ",", "\"\\t! reduced set regs + partial_save\\n\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tsmw.adm\\t$r15, [$sp], $r15, 0x2\\n\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tsmw.adm\\t$r0, [$sp], $r5, 0x0\\n\"", ")", ";", "}", "}", "else", "{", "if", "(", "nds32_isr_vectors", "[", "vector_id", "]", ".", "save_reg", "==", "NDS32_SAVE_ALL", ")", "{", "fprintf", "(", "asm_out_file", ",", "\"\\t! full set regs + save_all\\n\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tsmw.adm\\t$r0, [$sp], $r27, 0xf\\n\"", ")", ";", "}", "else", "{", "fprintf", "(", "asm_out_file", ",", "\"\\t! full set regs + partial_save\\n\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tsmw.adm\\t$r15, [$sp], $r27, 0x2\\n\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tsmw.adm\\t$r0, [$sp], $r5, 0x0\\n\"", ")", ";", "}", "}", "fprintf", "(", "asm_out_file", ",", "\"\\tmovi\\t$r0, %d ! preparing software vid\\n\"", ",", "vector_id", "-", "vector_number_offset", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tj\\t%s ! jump to first level handler\\n\"", ",", "first_level_handler_name", ")", ";", "}", "nds32_emit_section_tail_template", "(", "symbol_name", ")", ";", "}", ""], "natrual_language": ["Function", "to", "emit", "isr", "vector", "section", "."], "TS_V_token": ["nds32", "0", "\"CATEGORY\"", "\"SR\"", "\"NT\"", "100", "100", "100", "9", "\"i\"", "0", "\"e\"", "\"sa\"", "\"ps\"", "\"ns\"", "\"nn\"", "\"nr\"", "\"\"", "0", "\"_nds32_%s_%s_%s\"", "\"_nds32_spl_%d\"", "\".nds32_vector.%02d\"", "\"_nds32_vector_%02d\"", "\"\\tj\\t%s ! jump to user handler directly\\n\"", "4", "\"\\tj\\t%s ! jump to first level handler\\n\"", "\"\\t! reduced set regs + save_all\\n\"", "\"\\tsmw.adm\\t$r15, [$sp], $r15, 0xf\\n\"", "\"\\tsmw.adm\\t$r0, [$sp], $r10, 0x0\\n\"", "\"\\t! reduced set regs + partial_save\\n\"", "\"\\tsmw.adm\\t$r15, [$sp], $r15, 0x2\\n\"", "\"\\tsmw.adm\\t$r0, [$sp], $r5, 0x0\\n\"", "\"\\t! full set regs + save_all\\n\"", "\"\\tsmw.adm\\t$r0, [$sp], $r27, 0xf\\n\"", "\"\\t! full set regs + partial_save\\n\"", "\"\\tsmw.adm\\t$r15, [$sp], $r27, 0x2\\n\"", "\"\\tsmw.adm\\t$r0, [$sp], $r5, 0x0\\n\"", "\"\\tmovi\\t$r0, %d ! preparing software vid\\n\"", "\"\\tj\\t%s ! jump to first level handler\\n\""], "File": "nds32-isr", "Func": "nds32_emit_isr_vector_section", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9424, "Length": 465, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getFramePred", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "assert", "(", "isFrameInstr", "(", "MI", ")", ")", ";", "return", "MI", ".", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "predicate", "register", "associated", "with", "the", "given", "frame", "instruction", "."], "TS_V_token": ["ARM", "3"], "File": "ARMBaseInstrInfo (2)2", "Func": "getFramePred", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9425, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SparcMCCodeEmitter", "::", "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", "MO", ".", "getImm", "(", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "if", "(", "const", "SparcMCExpr", "*", "SExpr", "=", "dyn_cast", "<", "SparcMCExpr", ">", "(", "Expr", ")", ")", "{", "MCFixupKind", "Kind", "=", "(", "MCFixupKind", ")", "SExpr", "->", "getFixupKind", "(", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "0", ",", "Expr", ",", "Kind", ")", ")", ";", "return", "0", ";", "}", "int64_t", "Res", ";", "if", "(", "Expr", "->", "EvaluateAsAbsolute", "(", "Res", ")", ")", "return", "Res", ";", "assert", "(", "0", "&&", "\"Unhandled expression!\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc", "0", "0", "0", "\"Unhandled expression!\"", "0"], "File": "SparcMCCodeEmitter14", "Func": "getMachineOpValue", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9426, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_emit_probe_stack_range", "(", "HOST_WIDE_INT", "first", ",", "HOST_WIDE_INT", "size", ")", "{", "rtx", "g1", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "if", "(", "size", "<=", "PROBE_INTERVAL", ")", "{", "emit_move_insn", "(", "g1", ",", "GEN_INT", "(", "first", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "g1", ",", "gen_rtx_MINUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "g1", ")", ")", ")", ";", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "g1", ",", "-", "size", ")", ")", ";", "}", "else", "if", "(", "size", "<=", "5", "*", "PROBE_INTERVAL", ")", "{", "HOST_WIDE_INT", "i", ";", "emit_move_insn", "(", "g1", ",", "GEN_INT", "(", "first", "+", "PROBE_INTERVAL", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "g1", ",", "gen_rtx_MINUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "g1", ")", ")", ")", ";", "emit_stack_probe", "(", "g1", ")", ";", "for", "(", "i", "=", "2", "*", "PROBE_INTERVAL", ";", "i", "<", "size", ";", "i", "+=", "PROBE_INTERVAL", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "g1", ",", "plus_constant", "(", "Pmode", ",", "g1", ",", "-", "PROBE_INTERVAL", ")", ")", ")", ";", "emit_stack_probe", "(", "g1", ")", ";", "}", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "g1", ",", "(", "i", "-", "PROBE_INTERVAL", ")", "-", "size", ")", ")", ";", "}", "else", "{", "HOST_WIDE_INT", "rounded_size", ";", "rtx", "g4", "=", "gen_rtx_REG", "(", "Pmode", ",", "4", ")", ";", "emit_move_insn", "(", "g1", ",", "GEN_INT", "(", "first", ")", ")", ";", "rounded_size", "=", "size", "&", "-", "PROBE_INTERVAL", ";", "emit_move_insn", "(", "g4", ",", "GEN_INT", "(", "rounded_size", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "g1", ",", "gen_rtx_MINUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "g1", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "g4", ",", "gen_rtx_MINUS", "(", "Pmode", ",", "g1", ",", "g4", ")", ")", ")", ";", "if", "(", "TARGET_ARCH64", ")", "emit_insn", "(", "gen_probe_stack_rangedi", "(", "g1", ",", "g1", ",", "g4", ")", ")", ";", "else", "emit_insn", "(", "gen_probe_stack_rangesi", "(", "g1", ",", "g1", ",", "g4", ")", ")", ";", "if", "(", "size", "!=", "rounded_size", ")", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "g4", ",", "rounded_size", "-", "size", ")", ")", ";", "}", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "probe", "a", "range", "of", "stack", "addresses", "from", "FIRST", "to", "FIRST+SIZE", ",", "inclusive", ".", "These", "are", "offsets", "from", "the", "current", "stack", "pointer", ".", "Note", "that", "we", "do", "n't", "use", "the", "REG+REG", "addressing", "mode", "for", "the", "probes", "because", "of", "the", "stack", "bias", "in", "64-bit", "mode", ".", "And", "it", "does", "n't", "really", "buy", "us", "anything", "so", "the", "advantages", "of", "having", "a", "single", "code", "win", "here", "."], "TS_V_token": ["sparc", "1", "5", "2", "4"], "File": "sparc4", "Func": "sparc_emit_probe_stack_range", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9427, "Length": 320, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintWeight", "PPCTargetLowering", "::", "getSingleConstraintMatchWeight", "(", "AsmOperandInfo", "&", "info", ",", "const", "char", "*", "constraint", ")", "const", "{", "ConstraintWeight", "weight", "=", "CW_Invalid", ";", "Value", "*", "CallOperandVal", "=", "info", ".", "CallOperandVal", ";", "if", "(", "CallOperandVal", "==", "NULL", ")", "return", "CW_Default", ";", "Type", "*", "type", "=", "CallOperandVal", "->", "getType", "(", ")", ";", "if", "(", "StringRef", "(", "constraint", ")", "==", "\"wc\"", "&&", "type", "->", "isIntegerTy", "(", "1", ")", ")", "return", "CW_Register", ";", "else", "if", "(", "(", "StringRef", "(", "constraint", ")", "==", "\"wa\"", "||", "StringRef", "(", "constraint", ")", "==", "\"wd\"", "||", "StringRef", "(", "constraint", ")", "==", "\"wf\"", ")", "&&", "type", "->", "isVectorTy", "(", ")", ")", "return", "CW_Register", ";", "else", "if", "(", "StringRef", "(", "constraint", ")", "==", "\"ws\"", "&&", "type", "->", "isDoubleTy", "(", ")", ")", "return", "CW_Register", ";", "switch", "(", "*", "constraint", ")", "{", "default", ":", "weight", "=", "TargetLowering", "::", "getSingleConstraintMatchWeight", "(", "info", ",", "constraint", ")", ";", "break", ";", "case", "'b'", ":", "if", "(", "type", "->", "isIntegerTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'f'", ":", "if", "(", "type", "->", "isFloatTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'d'", ":", "if", "(", "type", "->", "isDoubleTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'v'", ":", "if", "(", "type", "->", "isVectorTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'y'", ":", "weight", "=", "CW_Register", ";", "break", ";", "case", "'Z'", ":", "weight", "=", "CW_Memory", ";", "break", ";", "}", "return", "weight", ";", "}", ""], "natrual_language": ["Examine", "constraint", "string", "and", "operand", "type", "and", "determine", "a", "weight", "value", "."], "TS_V_token": ["PowerPC", "PPC", "\"wc\"", "1", "\"wa\"", "\"wd\"", "\"wf\"", "\"ws\""], "File": "PPCISelLowering61", "Func": "getSingleConstraintMatchWeight", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9428, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "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", ",", "mode", ",", "op1", ",", "mode", ",", "XEXP", "(", "rem", ",", "0", ")", ",", "Pmode", ")", ";", "*", "quot_p", "=", "quot", ";", "*", "rem_p", "=", "rem", ";", "}", ""], "natrual_language": ["Generate", "call", "to", "__divmoddi4", "."], "TS_V_token": ["i386", "0"], "File": "i386-expand", "Func": "ix86_expand_divmod_libfunc", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9429, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "TeeRISCInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["TeeRISC", "TeeRISC"], "File": "TeeRISCTargetMachine", "Func": "getInstrInfo", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9430, "Length": 14, "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": ["ARM64"], "File": "ARM64AdvSIMDScalarPass1", "Func": "getAnalysisUsage", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9431, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMLegalizerInfo", "::", "legalizeCustom", "(", "MachineInstr", "&", "MI", ",", "MachineRegisterInfo", "&", "MRI", ",", "MachineIRBuilder", "&", "MIRBuilder", ")", "const", "{", "using", "namespace", "TargetOpcode", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "G_SDIV", ":", "case", "G_UDIV", ":", "{", "LLT", "Ty", "=", "MRI", ".", "getType", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ";", "if", "(", "Ty", "!=", "LLT", "::", "scalar", "(", "16", ")", "&&", "Ty", "!=", "LLT", "::", "scalar", "(", "8", ")", ")", "return", "false", ";", "LegalizerHelper", "Helper", "(", "MIRBuilder", ".", "getMF", "(", ")", ")", ";", "MachineInstr", "*", "NewMI", "=", "nullptr", ";", "Helper", ".", "MIRBuilder", ".", "recordInsertions", "(", "[", "&", "]", "(", "MachineInstr", "*", "MI", ")", "{", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "G_SDIV", "||", "MI", "->", "getOpcode", "(", ")", "==", "G_UDIV", ")", "NewMI", "=", "MI", ";", "}", ")", ";", "auto", "Result", "=", "Helper", ".", "widenScalar", "(", "MI", ",", "0", ",", "LLT", "::", "scalar", "(", "32", ")", ")", ";", "Helper", ".", "MIRBuilder", ".", "stopRecordingInsertions", "(", ")", ";", "if", "(", "Result", "==", "LegalizerHelper", "::", "UnableToLegalize", ")", "{", "return", "false", ";", "}", "assert", "(", "NewMI", "&&", "\"Couldn't find widened instruction\"", ")", ";", "assert", "(", "(", "NewMI", "->", "getOpcode", "(", ")", "==", "G_SDIV", "||", "NewMI", "->", "getOpcode", "(", ")", "==", "G_UDIV", ")", "&&", "\"Unexpected widened instruction\"", ")", ";", "assert", "(", "MRI", ".", "getType", "(", "NewMI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "getSizeInBits", "(", ")", "==", "32", "&&", "\"Unexpected type for the widened instruction\"", ")", ";", "Result", "=", "Helper", ".", "legalizeInstrStep", "(", "*", "NewMI", ")", ";", "if", "(", "Result", "==", "LegalizerHelper", "::", "UnableToLegalize", ")", "{", "return", "false", ";", "}", "return", "true", ";", "}", "}", "}", ""], "natrual_language": ["Called", "for", "instructions", "with", "the", "Custom", "LegalizationAction", "."], "TS_V_token": ["ARM", "ARM", "0", "16", "8", "0", "32", "\"Couldn't find widened instruction\"", "\"Unexpected widened instruction\"", "0", "32", "\"Unexpected type for the widened instruction\""], "File": "ARMLegalizerInfo27", "Func": "legalizeCustom", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9432, "Length": 268, "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", ":", "return", "emitPatchPoint", "(", "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"], "File": "AArch64ISelLowering (2)1", "Func": "EmitInstrWithCustomInserter", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9433, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sh_function_arg_advance", "(", "cumulative_args_t", "ca_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "ca", "=", "get_cumulative_args", "(", "ca_v", ")", ";", "if", "(", "ca", "->", "force_mem", ")", "ca", "->", "force_mem", "=", "false", ";", "if", "(", "(", "TARGET_HITACHI", "||", "ca", "->", "renesas_abi", ")", "&&", "TARGET_FPU_DOUBLE", ")", "{", "if", "(", "mode", "==", "SFmode", "&&", "ca", "->", "free_single_fp_reg", ")", "{", "ca", "->", "free_single_fp_reg", "=", "0", ";", "return", ";", "}", "if", "(", "mode", "==", "DFmode", "&&", "sh_round_reg", "(", "*", "ca", ",", "DFmode", ")", "!=", "sh_round_reg", "(", "*", "ca", ",", "SFmode", ")", ")", "{", "ca", "->", "free_single_fp_reg", "=", "(", "sh_round_reg", "(", "*", "ca", ",", "SFmode", ")", "+", "BASE_ARG_REG", "(", "mode", ")", ")", ";", "}", "}", "if", "(", "!", "(", "(", "TARGET_SH4", "||", "TARGET_SH2A", ")", "||", "ca", "->", "renesas_abi", ")", "||", "sh_pass_in_reg_p", "(", "*", "ca", ",", "mode", ",", "type", ")", ")", "(", "ca", "->", "arg_count", "[", "(", "int", ")", "get_sh_arg_class", "(", "mode", ")", "]", "=", "(", "sh_round_reg", "(", "*", "ca", ",", "mode", ")", "+", "(", "mode", "==", "BLKmode", "?", "CEIL", "(", "int_size_in_bytes", "(", "type", ")", ",", "UNITS_PER_WORD", ")", ":", "CEIL", "(", "GET_MODE_SIZE", "(", "mode", ")", ",", "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": ["sh", "0"], "File": "sh6", "Func": "sh_function_arg_advance", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9434, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_sse2_abs", "(", "rtx", "target", ",", "rtx", "input", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "target", ")", ";", "rtx", "tmp0", ",", "tmp1", ",", "x", ";", "switch", "(", "mode", ")", "{", "case", "E_V2DImode", ":", "case", "E_V4DImode", ":", "if", "(", "TARGET_SSE4_2", ")", "{", "tmp0", "=", "gen_reg_rtx", "(", "mode", ")", ";", "tmp1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_move_insn", "(", "tmp1", ",", "CONST0_RTX", "(", "mode", ")", ")", ";", "if", "(", "mode", "==", "E_V2DImode", ")", "emit_insn", "(", "gen_sse4_2_gtv2di3", "(", "tmp0", ",", "tmp1", ",", "input", ")", ")", ";", "else", "emit_insn", "(", "gen_avx2_gtv4di3", "(", "tmp0", ",", "tmp1", ",", "input", ")", ")", ";", "}", "else", "{", "tmp0", "=", "expand_simple_binop", "(", "mode", ",", "LSHIFTRT", ",", "input", ",", "GEN_INT", "(", "GET_MODE_UNIT_BITSIZE", "(", "mode", ")", "-", "1", ")", ",", "NULL", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "tmp0", "=", "expand_simple_unop", "(", "mode", ",", "NEG", ",", "tmp0", ",", "NULL", ",", "false", ")", ";", "}", "tmp1", "=", "expand_simple_binop", "(", "mode", ",", "XOR", ",", "tmp0", ",", "input", ",", "NULL", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "x", "=", "expand_simple_binop", "(", "mode", ",", "MINUS", ",", "tmp1", ",", "tmp0", ",", "target", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "break", ";", "case", "E_V4SImode", ":", "tmp0", "=", "expand_simple_binop", "(", "mode", ",", "ASHIFTRT", ",", "input", ",", "GEN_INT", "(", "GET_MODE_UNIT_BITSIZE", "(", "mode", ")", "-", "1", ")", ",", "NULL", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "tmp1", "=", "expand_simple_binop", "(", "mode", ",", "XOR", ",", "tmp0", ",", "input", ",", "NULL", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "x", "=", "expand_simple_binop", "(", "mode", ",", "MINUS", ",", "tmp1", ",", "tmp0", ",", "target", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "break", ";", "case", "E_V8HImode", ":", "tmp0", "=", "expand_unop", "(", "mode", ",", "neg_optab", ",", "input", ",", "NULL_RTX", ",", "0", ")", ";", "x", "=", "expand_simple_binop", "(", "mode", ",", "SMAX", ",", "tmp0", ",", "input", ",", "target", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "break", ";", "case", "E_V16QImode", ":", "tmp0", "=", "expand_unop", "(", "mode", ",", "neg_optab", ",", "input", ",", "NULL_RTX", ",", "0", ")", ";", "x", "=", "expand_simple_binop", "(", "V16QImode", ",", "UMIN", ",", "tmp0", ",", "input", ",", "target", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "x", "!=", "target", ")", "emit_move_insn", "(", "target", ",", "x", ")", ";", "}", ""], "natrual_language": ["Calculate", "integer", "abs", "(", ")", "using", "only", "SSE2", "instructions", "."], "TS_V_token": ["i386", "1", "0", "0", "0", "1", "0", "0", "0", "0", "0", "0", "0"], "File": "i386-expand", "Func": "ix86_expand_sse2_abs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9435, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "LC2200InstrInfo", "::", "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": ["LC2200", "LC2200", "\"not yet implemented loadImmediate()\""], "File": "LC2200InstrInfo", "Func": "loadImmediate", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9436, "Length": 37, "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", "::", "VMRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "VE", "::", "ANDMmm", ")", ",", "DestReg", ")", ".", "addReg", "(", "VE", "::", "VM0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", "else", "if", "(", "VE", "::", "VM512RegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "const", "unsigned", "SubRegIdx", "[", "]", "=", "{", "VE", "::", "sub_vm_even", ",", "VE", "::", "sub_vm_odd", "}", ";", "unsigned", "int", "NumSubRegs", "=", "2", ";", "copyPhysSubRegs", "(", "MBB", ",", "I", ",", "DL", ",", "DestReg", ",", "SrcReg", ",", "KillSrc", ",", "get", "(", "VE", "::", "ANDMmm", ")", ",", "NumSubRegs", ",", "SubRegIdx", ",", "&", "getRegisterInfo", "(", ")", ")", ";", "}", "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::VMRegClass", "VE::ANDMmm", "VE::VM0", "VE::VM512RegClass", "VE::sub_vm_even", "VE::sub_vm_odd", "2", "VE::ANDMmm", "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": "VEInstrInfo", "Func": "copyPhysReg", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9437, "Length": 453, "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_fadd", ":", "return", "instCombineSVEVectorFAdd", "(", "IC", ",", "II", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_fsub", ":", "return", "instCombineSVEVectorBinOp", "(", "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", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_ld1_gather_index", ":", "return", "instCombineLD1GatherIndex", "(", "IC", ",", "II", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_st1_scatter_index", ":", "return", "instCombineST1ScatterIndex", "(", "IC", ",", "II", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_ld1", ":", "return", "instCombineSVELD1", "(", "IC", ",", "II", ",", "DL", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_st1", ":", "return", "instCombineSVEST1", "(", "IC", ",", "II", ",", "DL", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_sdiv", ":", "return", "instCombineSVESDIV", "(", "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_fadd", "Intrinsic::aarch64_sve_fsub", "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", "Intrinsic::aarch64_sve_ld1_gather_index", "Intrinsic::aarch64_sve_st1_scatter_index", "Intrinsic::aarch64_sve_ld1", "Intrinsic::aarch64_sve_st1", "Intrinsic::aarch64_sve_sdiv"], "File": "AArch64TargetTransformInfo60", "Func": "instCombineIntrinsic", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9438, "Length": 400, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64RegisterInfo", "::", "canRealignStack", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "MF", ".", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "\"no-realign-stack\"", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["True", "if", "the", "stack", "can", "be", "realigned", "for", "the", "target", "."], "TS_V_token": ["AArch64", "AArch64", "\"no-realign-stack\""], "File": "AArch64RegisterInfo3", "Func": "canRealignStack", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9439, "Length": 32, "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": 9440, "Length": 164, "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", ",", "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": "X86ISelDAGToDAG45", "Func": "SelectInlineAsmMemoryOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9441, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mmix_emit_sp_add", "(", "HOST_WIDE_INT", "offset", ")", "{", "rtx", "insn", ";", "if", "(", "offset", "<", "0", ")", "{", "if", "(", "offset", ">", "-", "255", ")", "insn", "=", "emit_insn", "(", "gen_adddi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "offset", ")", ")", ")", ";", "else", "{", "rtx", "tmpr", "=", "gen_rtx_REG", "(", "DImode", ",", "255", ")", ";", "RTX_FRAME_RELATED_P", "(", "emit_move_insn", "(", "tmpr", ",", "GEN_INT", "(", "offset", ")", ")", ")", "=", "1", ";", "insn", "=", "emit_insn", "(", "gen_adddi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "tmpr", ")", ")", ";", "}", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "else", "{", "if", "(", "insn_const_int_ok_for_constraint", "(", "offset", ",", "CONSTRAINT_L", ")", ")", "emit_insn", "(", "gen_adddi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "offset", ")", ")", ")", ";", "else", "{", "rtx", "tmpr", "=", "gen_rtx_REG", "(", "DImode", ",", "255", ")", ";", "emit_move_insn", "(", "tmpr", ",", "GEN_INT", "(", "offset", ")", ")", ";", "insn", "=", "emit_insn", "(", "gen_adddi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "tmpr", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["Local", "(", "static", ")", "helper", "functions", "."], "TS_V_token": ["mmix", "0", "255", "255", "1", "1", "255"], "File": "mmix", "Func": "mmix_emit_sp_add", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9442, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "AArch64TargetLowering", "::", "shouldExpandAtomicRMWInIR", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "unsigned", "Size", "=", "AI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "Size", ">", "128", ")", "return", "AtomicExpansionKind", "::", "None", ";", "if", "(", "AI", "->", "getOperation", "(", ")", "==", "AtomicRMWInst", "::", "Nand", ")", "return", "AtomicExpansionKind", "::", "LLSC", ";", "if", "(", "(", "AI", "->", "getOperation", "(", ")", "==", "AtomicRMWInst", "::", "And", ")", "||", "(", "AI", "->", "getOperation", "(", ")", "==", "AtomicRMWInst", "::", "Sub", ")", ")", "return", "AtomicExpansionKind", "::", "LLSC", ";", "return", "(", "Subtarget", "->", "hasLSE", "(", ")", "&&", "Size", "<", "128", ")", "?", "AtomicExpansionKind", "::", "None", ":", "AtomicExpansionKind", "::", "LLSC", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "IR-level", "AtomicExpand", "pass", "should", "expand", "the", "given", "AtomicRMW", ",", "if", "at", "all", "."], "TS_V_token": ["AArch64", "AArch64", "128", "128"], "File": "AArch64ISelLowering15", "Func": "shouldExpandAtomicRMWInIR", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9443, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_trampoline_init", "(", "rtx", "m_tramp", ",", "tree", "fndecl", ",", "rtx", "chain_value", ")", "{", "rtx", "fnaddr", ",", "mem", ",", "a_tramp", ";", "emit_block_move", "(", "m_tramp", ",", "assemble_trampoline_template", "(", ")", ",", "GEN_INT", "(", "TRAMPOLINE_SIZE", ")", ",", "BLOCK_OP_NORMAL", ")", ";", "mem", "=", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "TARGET_32BIT", "?", "8", ":", "12", ")", ";", "emit_move_insn", "(", "mem", ",", "chain_value", ")", ";", "mem", "=", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "TARGET_32BIT", "?", "12", ":", "16", ")", ";", "fnaddr", "=", "XEXP", "(", "DECL_RTL", "(", "fndecl", ")", ",", "0", ")", ";", "emit_move_insn", "(", "mem", ",", "fnaddr", ")", ";", "a_tramp", "=", "XEXP", "(", "m_tramp", ",", "0", ")", ";", "emit_library_call", "(", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"__clear_cache\"", ")", ",", "LCT_NORMAL", ",", "VOIDmode", ",", "2", ",", "a_tramp", ",", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "a_tramp", ",", "TRAMPOLINE_SIZE", ")", ",", "Pmode", ")", ";", "}", ""], "natrual_language": ["Emit", "RTL", "insns", "to", "initialize", "the", "variable", "parts", "of", "a", "trampoline", "."], "TS_V_token": ["arm", "8", "12", "12", "16", "0", "0", "\"__clear_cache\"", "2"], "File": "arm4", "Func": "arm_trampoline_init", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9444, "Length": 134, "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", "::", "SHL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SRL", ":", "return", "PerformShiftCombine", "(", "N", ",", "DCI", ",", "getSubtarget", "(", ")", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "PerformIntrinsicCombine", "(", "N", ",", "DCI", ".", "DAG", ")", ";", "case", "AArch64ISD", "::", "NEON_VDUPLANE", ":", "return", "CombineVLDDUP", "(", "N", ",", "DCI", ")", ";", "case", "AArch64ISD", "::", "NEON_LD2DUP", ":", "case", "AArch64ISD", "::", "NEON_LD3DUP", ":", "case", "AArch64ISD", "::", "NEON_LD4DUP", ":", "return", "CombineBaseUpdate", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "INTRINSIC_VOID", ":", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "switch", "(", "cast", "<", "ConstantSDNode", ">", "(", "N", "->", "getOperand", "(", "1", ")", ")", "->", "getZExtValue", "(", ")", ")", "{", "case", "Intrinsic", "::", "arm_neon_vld1", ":", "case", "Intrinsic", "::", "arm_neon_vld2", ":", "case", "Intrinsic", "::", "arm_neon_vld3", ":", "case", "Intrinsic", "::", "arm_neon_vld4", ":", "case", "Intrinsic", "::", "arm_neon_vst1", ":", "case", "Intrinsic", "::", "arm_neon_vst2", ":", "case", "Intrinsic", "::", "arm_neon_vst3", ":", "case", "Intrinsic", "::", "arm_neon_vst4", ":", "case", "Intrinsic", "::", "arm_neon_vld2lane", ":", "case", "Intrinsic", "::", "arm_neon_vld3lane", ":", "case", "Intrinsic", "::", "arm_neon_vld4lane", ":", "case", "Intrinsic", "::", "aarch64_neon_vld1x2", ":", "case", "Intrinsic", "::", "aarch64_neon_vld1x3", ":", "case", "Intrinsic", "::", "aarch64_neon_vld1x4", ":", "case", "Intrinsic", "::", "aarch64_neon_vst1x2", ":", "case", "Intrinsic", "::", "aarch64_neon_vst1x3", ":", "case", "Intrinsic", "::", "aarch64_neon_vst1x4", ":", "case", "Intrinsic", "::", "arm_neon_vst2lane", ":", "case", "Intrinsic", "::", "arm_neon_vst3lane", ":", "case", "Intrinsic", "::", "arm_neon_vst4lane", ":", "return", "CombineBaseUpdate", "(", "N", ",", "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": ["AArch64", "AArch64", "ISD::AND", "ISD::OR", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::INTRINSIC_WO_CHAIN", "AArch64ISD::NEON_VDUPLANE", "AArch64ISD::NEON_LD2DUP", "AArch64ISD::NEON_LD3DUP", "AArch64ISD::NEON_LD4DUP", "ISD::INTRINSIC_VOID", "ISD::INTRINSIC_W_CHAIN", "1", "Intrinsic::arm_neon_vld1", "Intrinsic::arm_neon_vld2", "Intrinsic::arm_neon_vld3", "Intrinsic::arm_neon_vld4", "Intrinsic::arm_neon_vst1", "Intrinsic::arm_neon_vst2", "Intrinsic::arm_neon_vst3", "Intrinsic::arm_neon_vst4", "Intrinsic::arm_neon_vld2lane", "Intrinsic::arm_neon_vld3lane", "Intrinsic::arm_neon_vld4lane", "Intrinsic::aarch64_neon_vld1x2", "Intrinsic::aarch64_neon_vld1x3", "Intrinsic::aarch64_neon_vld1x4", "Intrinsic::aarch64_neon_vst1x2", "Intrinsic::aarch64_neon_vst1x3", "Intrinsic::aarch64_neon_vst1x4", "Intrinsic::arm_neon_vst2lane", "Intrinsic::arm_neon_vst3lane", "Intrinsic::arm_neon_vst4lane"], "File": "AArch64ISelLowering126", "Func": "PerformDAGCombine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9445, "Length": 286, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "enum", "insn_code", "rs6000_htm_spr_icode", "(", "bool", "nonvoid", ")", "{", "if", "(", "nonvoid", ")", "return", "(", "TARGET_POWERPC64", ")", "?", "CODE_FOR_htm_mfspr_di", ":", "CODE_FOR_htm_mfspr_si", ";", "else", "return", "(", "TARGET_POWERPC64", ")", "?", "CODE_FOR_htm_mtspr_di", ":", "CODE_FOR_htm_mtspr_si", ";", "}", ""], "natrual_language": ["Return", "the", "correct", "ICODE", "value", "depending", "on", "whether", "we", "are", "setting", "or", "reading", "the", "HTM", "SPRs", "."], "TS_V_token": ["rs6000"], "File": "rs6000-builtin", "Func": "rs6000_htm_spr_icode", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9446, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64TTI", "::", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "OperandValueKind", "Opd1Info", ",", "OperandValueKind", "Opd2Info", ")", "const", "{", "std", "::", "pair", "<", "unsigned", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "Ty", ")", ";", "int", "ISD", "=", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", ";", "switch", "(", "ISD", ")", "{", "default", ":", "return", "TargetTransformInfo", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "Opd1Info", ",", "Opd2Info", ")", ";", "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::ADD", "ISD::MUL", "ISD::XOR", "ISD::OR", "ISD::AND", "1"], "File": "AArch64TargetTransformInfo1", "Func": "getArithmeticInstrCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9447, "Length": 102, "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": 9448, "Length": 364, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_CC", ")", "return", "(", "regno", "==", "CC_REGNUM", "||", "(", "TARGET_HARD_FLOAT", "&&", "regno", "==", "VFPCC_REGNUM", ")", ")", ";", "if", "(", "regno", "==", "CC_REGNUM", "&&", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_CC", ")", "return", "false", ";", "if", "(", "TARGET_THUMB1", ")", "return", "(", "ARM_NUM_REGS", "(", "mode", ")", "<", "2", ")", "||", "(", "regno", "<", "LAST_LO_REGNUM", ")", ";", "if", "(", "TARGET_HARD_FLOAT", "&&", "IS_VFP_REGNUM", "(", "regno", ")", ")", "{", "if", "(", "mode", "==", "SFmode", "||", "mode", "==", "SImode", ")", "return", "VFP_REGNO_OK_FOR_SINGLE", "(", "regno", ")", ";", "if", "(", "mode", "==", "DFmode", ")", "return", "VFP_REGNO_OK_FOR_DOUBLE", "(", "regno", ")", ";", "if", "(", "mode", "==", "HFmode", ")", "return", "VFP_REGNO_OK_FOR_SINGLE", "(", "regno", ")", ";", "if", "(", "mode", "==", "HImode", ")", "return", "VFP_REGNO_OK_FOR_SINGLE", "(", "regno", ")", ";", "if", "(", "TARGET_NEON", ")", "return", "(", "VALID_NEON_DREG_MODE", "(", "mode", ")", "&&", "VFP_REGNO_OK_FOR_DOUBLE", "(", "regno", ")", ")", "||", "(", "VALID_NEON_QREG_MODE", "(", "mode", ")", "&&", "NEON_REGNO_OK_FOR_QUAD", "(", "regno", ")", ")", "||", "(", "mode", "==", "TImode", "&&", "NEON_REGNO_OK_FOR_NREGS", "(", "regno", ",", "2", ")", ")", "||", "(", "mode", "==", "EImode", "&&", "NEON_REGNO_OK_FOR_NREGS", "(", "regno", ",", "3", ")", ")", "||", "(", "mode", "==", "OImode", "&&", "NEON_REGNO_OK_FOR_NREGS", "(", "regno", ",", "4", ")", ")", "||", "(", "mode", "==", "CImode", "&&", "NEON_REGNO_OK_FOR_NREGS", "(", "regno", ",", "6", ")", ")", "||", "(", "mode", "==", "XImode", "&&", "NEON_REGNO_OK_FOR_NREGS", "(", "regno", ",", "8", ")", ")", ";", "return", "false", ";", "}", "if", "(", "TARGET_REALLY_IWMMXT", ")", "{", "if", "(", "IS_IWMMXT_GR_REGNUM", "(", "regno", ")", ")", "return", "mode", "==", "SImode", ";", "if", "(", "IS_IWMMXT_REGNUM", "(", "regno", ")", ")", "return", "VALID_IWMMXT_REG_MODE", "(", "mode", ")", ";", "}", "if", "(", "regno", "<=", "LAST_ARM_REGNUM", ")", "{", "if", "(", "ARM_NUM_REGS", "(", "mode", ")", ">", "4", ")", "return", "false", ";", "if", "(", "TARGET_THUMB2", ")", "return", "true", ";", "return", "!", "(", "TARGET_LDRD", "&&", "GET_MODE_SIZE", "(", "mode", ")", ">", "4", "&&", "(", "regno", "&", "1", ")", "!=", "0", ")", ";", "}", "if", "(", "regno", "==", "FRAME_POINTER_REGNUM", "||", "regno", "==", "ARG_POINTER_REGNUM", ")", "return", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_INT", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "REGNO", "is", "a", "valid", "register", "for", "holding", "a", "quantity", "of", "type", "MODE", "."], "TS_V_token": ["arm", "2", "2", "3", "4", "6", "8", "4", "4", "1", "0"], "File": "arm7", "Func": "arm_hard_regno_mode_ok", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9449, "Length": 333, "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": 9450, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "poly_uint64", "aarch64_vectorize_preferred_vector_alignment", "(", "const_tree", "type", ")", "{", "if", "(", "aarch64_sve_data_mode_p", "(", "TYPE_MODE", "(", "type", ")", ")", ")", "{", "HOST_WIDE_INT", "result", ";", "if", "(", "!", "GET_MODE_BITSIZE", "(", "TYPE_MODE", "(", "type", ")", ")", ".", "is_constant", "(", "&", "result", ")", "||", "!", "pow2p_hwi", "(", "result", ")", ")", "result", "=", "TYPE_ALIGN", "(", "TREE_TYPE", "(", "type", ")", ")", ";", "return", "result", ";", "}", "return", "TYPE_ALIGN", "(", "type", ")", ";", "}", ""], "natrual_language": ["Implement", "target", "hook", "TARGET_VECTORIZE_PREFERRED_VECTOR_ALIGNMENT", "."], "TS_V_token": ["aarch64"], "File": "aarch641", "Func": "aarch64_vectorize_preferred_vector_alignment", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9451, "Length": 66, "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": 9452, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_init_tme_builtins", "(", "void", ")", "{", "tree", "ftype_uint64_void", "=", "build_function_type_list", "(", "uint64_type_node", ",", "NULL", ")", ";", "tree", "ftype_void_void", "=", "build_function_type_list", "(", "void_type_node", ",", "NULL", ")", ";", "tree", "ftype_void_uint64", "=", "build_function_type_list", "(", "void_type_node", ",", "uint64_type_node", ",", "NULL", ")", ";", "aarch64_builtin_decls", "[", "AARCH64_TME_BUILTIN_TSTART", "]", "=", "aarch64_general_add_builtin", "(", "\"__builtin_aarch64_tstart\"", ",", "ftype_uint64_void", ",", "AARCH64_TME_BUILTIN_TSTART", ")", ";", "aarch64_builtin_decls", "[", "AARCH64_TME_BUILTIN_TTEST", "]", "=", "aarch64_general_add_builtin", "(", "\"__builtin_aarch64_ttest\"", ",", "ftype_uint64_void", ",", "AARCH64_TME_BUILTIN_TTEST", ")", ";", "aarch64_builtin_decls", "[", "AARCH64_TME_BUILTIN_TCOMMIT", "]", "=", "aarch64_general_add_builtin", "(", "\"__builtin_aarch64_tcommit\"", ",", "ftype_void_void", ",", "AARCH64_TME_BUILTIN_TCOMMIT", ")", ";", "aarch64_builtin_decls", "[", "AARCH64_TME_BUILTIN_TCANCEL", "]", "=", "aarch64_general_add_builtin", "(", "\"__builtin_aarch64_tcancel\"", ",", "ftype_void_uint64", ",", "AARCH64_TME_BUILTIN_TCANCEL", ")", ";", "}", ""], "natrual_language": ["Initialize", "the", "transactional", "memory", "extension", "(", "TME", ")", "builtins", "."], "TS_V_token": ["aarch64", "\"__builtin_aarch64_tstart\"", "\"__builtin_aarch64_ttest\"", "\"__builtin_aarch64_tcommit\"", "\"__builtin_aarch64_tcancel\""], "File": "aarch64-builtins", "Func": "aarch64_init_tme_builtins", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9453, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetELFStreamer", "::", "emitInst", "(", "uint32_t", "Inst", ",", "char", "Suffix", ")", "{", "getStreamer", "(", ")", ".", "emitInst", "(", "Inst", ",", "Suffix", ")", ";", "}", ""], "natrual_language": ["Callback", "used", "to", "implement", "the", ".inst", "directive", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMELFStreamer (2)", "Func": "emitInst", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9454, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_early_store_addr_dep_ptr", "(", "rtx", "producer", ",", "rtx", "consumer", ")", "{", "rtx", "value", "=", "arm_find_sub_rtx_with_code", "(", "PATTERN", "(", "producer", ")", ",", "SET", ",", "false", ")", ";", "rtx", "addr", "=", "arm_find_sub_rtx_with_code", "(", "PATTERN", "(", "consumer", ")", ",", "SET", ",", "false", ")", ";", "if", "(", "!", "value", "||", "!", "addr", "||", "!", "MEM_P", "(", "SET_SRC", "(", "value", ")", ")", ")", "return", "0", ";", "value", "=", "SET_DEST", "(", "value", ")", ";", "addr", "=", "SET_DEST", "(", "addr", ")", ";", "return", "GET_MODE", "(", "value", ")", "==", "Pmode", "&&", "reg_overlap_mentioned_p", "(", "value", ",", "addr", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "the", "CONSUMER", "instruction", "(", "a", "store", ")", "does", "need", "a", "Pmode", "PRODUCER", "'s", "value", "to", "calculate", "the", "address", "."], "TS_V_token": ["arm", "0"], "File": "aarch-common", "Func": "arm_early_store_addr_dep_ptr", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9455, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addMachineSSAOptimization", "(", ")", "{", "TargetPassConfig", "::", "addMachineSSAOptimization", "(", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createAArch64MIPeepholeOptPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["Methods", "with", "trivial", "inline", "returns", "are", "convenient", "points", "in", "the", "common", "codegen", "pass", "pipeline", "where", "targets", "may", "insert", "passes", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine1", "Func": "addMachineSSAOptimization", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9456, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasFusion", "(", ")", "const", "{", "return", "HasFusion", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "CPU", "supports", "any", "kind", "of", "instruction", "fusion", "."], "TS_V_token": ["PowerPC"], "File": "PPCSubtarget (2)1", "Func": "hasFusion", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9457, "Length": 10, "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", ";", "}", "if", "(", "HAVE_COMDAT_GROUP", "&&", "flags", "&", "SECTION_LINKONCE", ")", "{", "solaris_elf_asm_comdat_section", "(", "name", ",", "flags", ",", "decl", ")", ";", "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": "i3864", "Func": "i386_solaris_elf_named_section", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9458, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "F2003fFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "F2003fInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "F2003fInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineInstr", "&", "Old", "=", "*", "I", ";", "DebugLoc", "DL", "=", "Old", ".", "getDebugLoc", "(", ")", ";", "unsigned", "Amount", "=", "TII", ".", "getFrameSize", "(", "Old", ")", ";", "if", "(", "Amount", "!=", "0", ")", "{", "unsigned", "Opc", "=", "Old", ".", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "F2003f", "::", "ADJCALLSTACKDOWN", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", ".", "get", "(", "F2003f", "::", "NTAri", ")", ",", "F2003f", "::", "F5", ")", ".", "addReg", "(", "F2003f", "::", "F5", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Opc", "==", "F2003f", "::", "ADJCALLSTACKUP", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", ".", "get", "(", "F2003f", "::", "ATAri", ")", ",", "F2003f", "::", "F5", ")", ".", "addReg", "(", "F2003f", "::", "F5", ")", ".", "addImm", "(", "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": ["F2003f", "F2003f", "F2003f", "F2003f", "0", "F2003f::ADJCALLSTACKDOWN", "F2003f::NTAri", "F2003f::F5", "F2003f::F5", "F2003f::ADJCALLSTACKUP", "F2003f::ATAri", "F2003f::F5", "F2003f::F5"], "File": "F2003fFrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9459, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTargetLowering", "::", "getByValTypeAlignment", "(", "Type", "*", "Ty", ")", "const", "{", "if", "(", "Subtarget", ".", "isDarwin", "(", ")", ")", "return", "4", ";", "unsigned", "Align", "=", "Subtarget", ".", "isPPC64", "(", ")", "?", "8", ":", "4", ";", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", "||", "Subtarget", ".", "hasQPX", "(", ")", ")", "getMaxByValAlign", "(", "Ty", ",", "Align", ",", "Subtarget", ".", "hasQPX", "(", ")", "?", "32", ":", "16", ")", ";", "return", "Align", ";", "}", ""], "natrual_language": ["Return", "the", "desired", "alignment", "for", "ByVal", "aggregate", "function", "arguments", "in", "the", "caller", "parameter", "area", "."], "TS_V_token": ["PowerPC", "PPC", "4", "PPC", "8", "4", "32", "16"], "File": "PPCISelLowering148", "Func": "getByValTypeAlignment", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9460, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMem", "(", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["PowerPC"], "File": "PPCAsmParser (2)", "Func": "isMem", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9461, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "AArch64FrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "FrameReg", ")", "const", "{", "return", "resolveFrameIndexReference", "(", "MF", ",", "FI", ",", "FrameReg", ")", ";", "}", ""], "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": "AArch64FrameLowering (2)", "Func": "getFrameIndexReference", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9462, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "MI", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", "&&", "\"Outgoing arguments should be part of the frame\"", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", "->", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "int", "FrameIndex", "=", "MI", "->", "getOperand", "(", "FIOperandNum", ")", ".", "getIndex", "(", ")", ";", "unsigned", "BasePtr", "=", "getFrameRegister", "(", "MF", ")", ";", "int64_t", "Offset", "=", "(", "TFI", "->", "getFrameIndexOffset", "(", "MF", ",", "FrameIndex", ")", "+", "MI", "->", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "getImm", "(", ")", ")", ";", "if", "(", "MI", "->", "isDebugValue", "(", ")", ")", "{", "MI", "->", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "BasePtr", ",", "false", ")", ";", "MI", "->", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "return", ";", "}", "unsigned", "Opcode", "=", "MI", "->", "getOpcode", "(", ")", ";", "unsigned", "OpcodeForOffset", "=", "TII", ".", "getOpcodeForOffset", "(", "Opcode", ",", "Offset", ")", ";", "if", "(", "OpcodeForOffset", ")", "MI", "->", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "BasePtr", ",", "false", ")", ";", "else", "{", "int64_t", "OldOffset", "=", "Offset", ";", "int64_t", "Mask", "=", "0xffff", ";", "do", "{", "Offset", "=", "OldOffset", "&", "Mask", ";", "OpcodeForOffset", "=", "TII", ".", "getOpcodeForOffset", "(", "Opcode", ",", "Offset", ")", ";", "Mask", ">>=", "1", ";", "assert", "(", "Mask", "&&", "\"One offset must be OK\"", ")", ";", "}", "while", "(", "!", "OpcodeForOffset", ")", ";", "unsigned", "ScratchReg", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "&", "SystemZ", "::", "ADDR64BitRegClass", ")", ";", "int64_t", "HighOffset", "=", "OldOffset", "-", "Offset", ";", "if", "(", "MI", "->", "getDesc", "(", ")", ".", "TSFlags", "&", "SystemZII", "::", "HasIndex", "&&", "MI", "->", "getOperand", "(", "FIOperandNum", "+", "2", ")", ".", "getReg", "(", ")", "==", "0", ")", "{", "TII", ".", "loadImmediate", "(", "MBB", ",", "MI", ",", "ScratchReg", ",", "HighOffset", ")", ";", "MI", "->", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "BasePtr", ",", "false", ")", ";", "MI", "->", "getOperand", "(", "FIOperandNum", "+", "2", ")", ".", "ChangeToRegister", "(", "ScratchReg", ",", "false", ",", "false", ",", "true", ")", ";", "}", "else", "{", "unsigned", "LAOpcode", "=", "TII", ".", "getOpcodeForOffset", "(", "SystemZ", "::", "LA", ",", "HighOffset", ")", ";", "if", "(", "LAOpcode", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "LAOpcode", ")", ",", "ScratchReg", ")", ".", "addReg", "(", "BasePtr", ")", ".", "addImm", "(", "HighOffset", ")", ".", "addReg", "(", "0", ")", ";", "else", "{", "TII", ".", "loadImmediate", "(", "MBB", ",", "MI", ",", "ScratchReg", ",", "HighOffset", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "SystemZ", "::", "AGR", ")", ",", "ScratchReg", ")", ".", "addReg", "(", "ScratchReg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "BasePtr", ")", ";", "}", "MI", "->", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "ScratchReg", ",", "false", ",", "false", ",", "true", ")", ";", "}", "}", "MI", "->", "setDesc", "(", "TII", ".", "get", "(", "OpcodeForOffset", ")", ")", ";", "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": ["SystemZ", "SystemZ", "0", "\"Outgoing arguments should be part of the frame\"", "1", "1", "0xffff", "1", "\"One offset must be OK\"", "SystemZ::ADDR64BitRegClass", "SystemZII::HasIndex", "2", "0", "2", "SystemZ::LA", "0", "SystemZ::AGR", "1"], "File": "SystemZRegisterInfo24", "Func": "eliminateFrameIndex", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9463, "Length": 506, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "SimplifyDemandedBitsForTargetNode", "(", "SDValue", "Op", ",", "const", "APInt", "&", "OriginalDemandedBits", ",", "const", "APInt", "&", "OriginalDemandedElts", ",", "KnownBits", "&", "Known", ",", "TargetLoweringOpt", "&", "TLO", ",", "unsigned", "Depth", ")", "const", "{", "unsigned", "Opc", "=", "Op", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "case", "ARMISD", "::", "ASRL", ":", "case", "ARMISD", "::", "LSRL", ":", "{", "if", "(", "Op", ".", "getResNo", "(", ")", "==", "0", "&&", "!", "Op", "->", "hasAnyUseOfValue", "(", "1", ")", "&&", "isa", "<", "ConstantSDNode", ">", "(", "Op", "->", "getOperand", "(", "2", ")", ")", ")", "{", "unsigned", "ShAmt", "=", "Op", "->", "getConstantOperandVal", "(", "2", ")", ";", "if", "(", "ShAmt", "<", "32", "&&", "OriginalDemandedBits", ".", "isSubsetOf", "(", "APInt", "::", "getAllOnesValue", "(", "32", ")", "<<", "(", "32", "-", "ShAmt", ")", ")", ")", "return", "TLO", ".", "CombineTo", "(", "Op", ",", "TLO", ".", "DAG", ".", "getNode", "(", "ISD", "::", "SHL", ",", "SDLoc", "(", "Op", ")", ",", "MVT", "::", "i32", ",", "Op", ".", "getOperand", "(", "1", ")", ",", "TLO", ".", "DAG", ".", "getConstant", "(", "32", "-", "ShAmt", ",", "SDLoc", "(", "Op", ")", ",", "MVT", "::", "i32", ")", ")", ")", ";", "}", "break", ";", "}", "}", "return", "TargetLowering", "::", "SimplifyDemandedBitsForTargetNode", "(", "Op", ",", "OriginalDemandedBits", ",", "OriginalDemandedElts", ",", "Known", ",", "TLO", ",", "Depth", ")", ";", "}", ""], "natrual_language": ["Attempt", "to", "simplify", "any", "target", "nodes", "based", "on", "the", "demanded", "bits/elts", ",", "returning", "true", "on", "success", "."], "TS_V_token": ["ARM", "ARM", "ARMISD::ASRL", "ARMISD::LSRL", "0", "1", "2", "2", "32", "32", "32", "ISD::SHL", "MVT::i32", "1", "32", "MVT::i32"], "File": "ARMISelLowering100", "Func": "SimplifyDemandedBitsForTargetNode", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9464, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_int_order_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", "integer", "ordering", "test", "CODE", ".", "See", "also", "the", "*", "sCC", "patterns", "in", "mips.md", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_int_order_operand_ok_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9465, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMTargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "EVT", "VT", ")", "const", "{", "unsigned", "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": "ARMISelLowering132", "Func": "getRegisterByName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9466, "Length": 63, "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": 9467, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "ix86_valid_target_attribute_tree", "(", "tree", "args", ",", "struct", "gcc_options", "*", "opts", ",", "struct", "gcc_options", "*", "opts_set", ")", "{", "const", "char", "*", "orig_arch_string", "=", "opts", "->", "x_ix86_arch_string", ";", "const", "char", "*", "orig_tune_string", "=", "opts", "->", "x_ix86_tune_string", ";", "enum", "fpmath_unit", "orig_fpmath_set", "=", "opts_set", "->", "x_ix86_fpmath", ";", "int", "orig_tune_defaulted", "=", "ix86_tune_defaulted", ";", "int", "orig_arch_specified", "=", "ix86_arch_specified", ";", "char", "*", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_MAX", "]", "=", "{", "NULL", ",", "NULL", "}", ";", "tree", "t", "=", "NULL_TREE", ";", "struct", "cl_target_option", "*", "def", "=", "TREE_TARGET_OPTION", "(", "target_option_default_node", ")", ";", "struct", "gcc_options", "enum_opts_set", ";", "memset", "(", "&", "enum_opts_set", ",", "0", ",", "sizeof", "(", "enum_opts_set", ")", ")", ";", "if", "(", "!", "ix86_valid_target_attribute_inner_p", "(", "args", ",", "option_strings", ",", "opts", ",", "opts_set", ",", "&", "enum_opts_set", ")", ")", "return", "error_mark_node", ";", "if", "(", "opts", "->", "x_ix86_isa_flags", "!=", "def", "->", "x_ix86_isa_flags", "||", "opts", "->", "x_ix86_isa_flags2", "!=", "def", "->", "x_ix86_isa_flags2", "||", "opts", "->", "x_target_flags", "!=", "def", "->", "x_target_flags", "||", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_ARCH", "]", "||", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_TUNE", "]", "||", "enum_opts_set", ".", "x_ix86_fpmath", ")", "{", "if", "(", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_ARCH", "]", ")", "{", "opts", "->", "x_ix86_arch_string", "=", "ggc_strdup", "(", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_ARCH", "]", ")", ";", "opts", "->", "x_ix86_isa_flags", "&=", "(", "OPTION_MASK_ISA_64BIT", "|", "OPTION_MASK_ABI_64", "|", "OPTION_MASK_ABI_X32", "|", "OPTION_MASK_CODE16", ")", ";", "opts", "->", "x_ix86_isa_flags2", "=", "0", ";", "}", "else", "if", "(", "!", "orig_arch_specified", ")", "opts", "->", "x_ix86_arch_string", "=", "NULL", ";", "if", "(", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_TUNE", "]", ")", "opts", "->", "x_ix86_tune_string", "=", "ggc_strdup", "(", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_TUNE", "]", ")", ";", "else", "if", "(", "orig_tune_defaulted", ")", "opts", "->", "x_ix86_tune_string", "=", "NULL", ";", "if", "(", "enum_opts_set", ".", "x_ix86_fpmath", ")", "opts_set", "->", "x_ix86_fpmath", "=", "(", "enum", "fpmath_unit", ")", "1", ";", "else", "if", "(", "!", "TARGET_64BIT_P", "(", "opts", "->", "x_ix86_isa_flags", ")", "&&", "TARGET_SSE_P", "(", "opts", "->", "x_ix86_isa_flags", ")", ")", "{", "if", "(", "TARGET_80387_P", "(", "opts", "->", "x_target_flags", ")", ")", "opts", "->", "x_ix86_fpmath", "=", "(", "enum", "fpmath_unit", ")", "(", "FPMATH_SSE", "|", "FPMATH_387", ")", ";", "else", "opts", "->", "x_ix86_fpmath", "=", "(", "enum", "fpmath_unit", ")", "FPMATH_SSE", ";", "opts_set", "->", "x_ix86_fpmath", "=", "(", "enum", "fpmath_unit", ")", "1", ";", "}", "bool", "r", "=", "ix86_option_override_internal", "(", "false", ",", "opts", ",", "opts_set", ")", ";", "if", "(", "!", "r", ")", "{", "release_options_strings", "(", "option_strings", ")", ";", "return", "error_mark_node", ";", "}", "ix86_add_new_builtins", "(", "opts", "->", "x_ix86_isa_flags", ",", "opts", "->", "x_ix86_isa_flags2", ")", ";", "t", "=", "build_target_option_node", "(", "opts", ")", ";", "opts", "->", "x_ix86_arch_string", "=", "orig_arch_string", ";", "opts", "->", "x_ix86_tune_string", "=", "orig_tune_string", ";", "opts_set", "->", "x_ix86_fpmath", "=", "orig_fpmath_set", ";", "release_options_strings", "(", "option_strings", ")", ";", "}", "return", "t", ";", "}", ""], "natrual_language": ["Return", "a", "TARGET_OPTION_NODE", "tree", "of", "the", "target", "options", "listed", "or", "NULL", "."], "TS_V_token": ["i386", "0", "0", "1", "1"], "File": "i3866", "Func": "ix86_valid_target_attribute_tree", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9468, "Length": 395, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ARMBaseInstrInfo", "::", "getInstrLatency", "(", "const", "InstrItineraryData", "*", "ItinData", ",", "const", "MachineInstr", "*", "MI", ",", "unsigned", "*", "PredCost", ")", "const", "{", "if", "(", "MI", "->", "isCopyLike", "(", ")", "||", "MI", "->", "isInsertSubreg", "(", ")", "||", "MI", "->", "isRegSequence", "(", ")", "||", "MI", "->", "isImplicitDef", "(", ")", ")", "return", "1", ";", "if", "(", "!", "ItinData", "||", "ItinData", "->", "isEmpty", "(", ")", ")", "return", "1", ";", "if", "(", "MI", "->", "isBundle", "(", ")", ")", "{", "int", "Latency", "=", "0", ";", "MachineBasicBlock", "::", "const_instr_iterator", "I", "=", "MI", ";", "MachineBasicBlock", "::", "const_instr_iterator", "E", "=", "MI", "->", "getParent", "(", ")", "->", "instr_end", "(", ")", ";", "while", "(", "++", "I", "!=", "E", "&&", "I", "->", "isInsideBundle", "(", ")", ")", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "ARM", "::", "t2IT", ")", "Latency", "+=", "getInstrLatency", "(", "ItinData", ",", "I", ",", "PredCost", ")", ";", "}", "return", "Latency", ";", "}", "const", "MCInstrDesc", "&", "MCID", "=", "MI", "->", "getDesc", "(", ")", ";", "unsigned", "Class", "=", "MCID", ".", "getSchedClass", "(", ")", ";", "unsigned", "UOps", "=", "ItinData", "->", "Itineraries", "[", "Class", "]", ".", "NumMicroOps", ";", "if", "(", "PredCost", "&&", "MCID", ".", "hasImplicitDefOfPhysReg", "(", "ARM", "::", "CPSR", ")", ")", "*", "PredCost", "=", "1", ";", "if", "(", "UOps", ")", "return", "ItinData", "->", "getStageLatency", "(", "Class", ")", ";", "return", "getNumMicroOps", "(", "ItinData", ",", "MI", ")", ";", "}", ""], "natrual_language": ["Compute", "the", "instruction", "latency", "of", "a", "given", "instruction", "."], "TS_V_token": ["ARM", "ARM", "1", "1", "0", "ARM::t2IT", "ARM::CPSR", "1"], "File": "ARMBaseInstrInfo83", "Func": "getInstrLatency", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9469, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "PPCTargetLowering", "::", "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": ["PowerPC", "PPC", "MVT::i32"], "File": "PPCISelLowering105", "Func": "getSetCCResultType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9470, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"ARM Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"ARM Assembly Printer\""], "File": "ARMAsmPrinter100", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9471, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "shouldClusterMemOps", "(", "ArrayRef", "<", "const", "MachineOperand", "*", ">", "BaseOps1", ",", "ArrayRef", "<", "const", "MachineOperand", "*", ">", "BaseOps2", ",", "unsigned", "NumLoads", ",", "unsigned", "NumBytes", ")", "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", "(", "hasUnscaledLdStOffset", "(", "FirstOpc", ")", "&&", "!", "scaleOffset", "(", "FirstOpc", ",", "Offset1", ")", ")", "return", "false", ";", "int64_t", "Offset2", "=", "SecondLdSt", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "if", "(", "hasUnscaledLdStOffset", "(", "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": "AArch64InstrInfo105", "Func": "shouldClusterMemOps", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9472, "Length": 398, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_unary_operator_ok", "(", "enum", "rtx_code", ",", "machine_mode", ",", "rtx", "operands", "[", "2", "]", ")", "{", "if", "(", "(", "MEM_P", "(", "operands", "[", "0", "]", ")", "||", "MEM_P", "(", "operands", "[", "1", "]", ")", ")", "&&", "!", "rtx_equal_p", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "TRUE", "or", "FALSE", "depending", "on", "whether", "the", "unary", "operator", "meets", "the", "appropriate", "constraints", "."], "TS_V_token": ["i386", "2", "0", "1", "0", "1"], "File": "i386", "Func": "ix86_unary_operator_ok", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9473, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "*", "PPCInstrInfo", "::", "CreateTargetPostRAHazardRecognizer", "(", "const", "InstrItineraryData", "*", "II", ",", "const", "ScheduleDAG", "*", "DAG", ")", "const", "{", "unsigned", "Directive", "=", "DAG", "->", "TM", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "getDarwinDirective", "(", ")", ";", "if", "(", "Directive", "==", "PPC", "::", "DIR_PWR7", "||", "Directive", "==", "PPC", "::", "DIR_PWR8", ")", "return", "new", "PPCDispatchGroupSBHazardRecognizer", "(", "II", ",", "DAG", ")", ";", "if", "(", "Directive", "!=", "PPC", "::", "DIR_440", "&&", "Directive", "!=", "PPC", "::", "DIR_A2", "&&", "Directive", "!=", "PPC", "::", "DIR_E500mc", "&&", "Directive", "!=", "PPC", "::", "DIR_E5500", ")", "{", "assert", "(", "DAG", "->", "TII", "&&", "\"No InstrInfo?\"", ")", ";", "return", "new", "PPCHazardRecognizer970", "(", "*", "DAG", ")", ";", "}", "return", "new", "ScoreboardHazardRecognizer", "(", "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_PWR7", "PPC::DIR_PWR8", "PPC", "PPC::DIR_440", "PPC::DIR_A2", "PPC::DIR_E500mc", "PPC::DIR_E5500", "\"No InstrInfo?\"", "PPC"], "File": "PPCInstrInfo1", "Func": "CreateTargetPostRAHazardRecognizer", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9474, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleDAGInstrs", "*", "createMachineScheduler", "(", "MachineSchedContext", "*", "C", ")", "const", "override", "{", "ScheduleDAGMILive", "*", "DAG", "=", "createGenericSchedLive", "(", "C", ")", ";", "const", "ARMSubtarget", "&", "ST", "=", "C", "->", "MF", "->", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "if", "(", "ST", ".", "hasFusion", "(", ")", ")", "DAG", "->", "addMutation", "(", "createARMMacroFusionDAGMutation", "(", ")", ")", ";", "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": ["ARM", "ARM", "ARM", "ARM"], "File": "ARMTargetMachine", "Func": "createMachineScheduler", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9475, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "flushPendingInstructions", "(", "MCStreamer", "&", "Out", ")", "override", "{", "if", "(", "!", "inImplicitITBlock", "(", ")", ")", "{", "assert", "(", "PendingConditionalInsts", ".", "size", "(", ")", "==", "0", ")", ";", "return", ";", "}", "MCInst", "ITInst", ";", "ITInst", ".", "setOpcode", "(", "ARM", "::", "t2IT", ")", ";", "ITInst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "ITState", ".", "Cond", ")", ")", ";", "ITInst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "ITState", ".", "Mask", ")", ")", ";", "Out", ".", "emitInstruction", "(", "ITInst", ",", "getSTI", "(", ")", ")", ";", "assert", "(", "PendingConditionalInsts", ".", "size", "(", ")", "<=", "4", ")", ";", "for", "(", "const", "MCInst", "&", "Inst", ":", "PendingConditionalInsts", ")", "{", "Out", ".", "emitInstruction", "(", "Inst", ",", "getSTI", "(", ")", ")", ";", "}", "PendingConditionalInsts", ".", "clear", "(", ")", ";", "ITState", ".", "Mask", "=", "0", ";", "ITState", ".", "CurPosition", "=", "~", "0U", ";", "}", ""], "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": ["ARM", "0", "ARM::t2IT", "4", "0", "0U"], "File": "ARMAsmParser (2)3", "Func": "flushPendingInstructions", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9476, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "unsigned", "*", "SparcRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "static", "const", "unsigned", "CalleeSavedRegs", "[", "]", "=", "{", "0", "}", ";", "return", "CalleeSavedRegs", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["Sparc", "Sparc", "0"], "File": "SparcRegisterInfo12", "Func": "getCalleeSavedRegs", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9477, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineFrameInfo", "&", "MFFrame", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "bool", "BackChain", "=", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"backchain\"", ")", ";", "if", "(", "!", "usePackedStack", "(", "MF", ")", "||", "BackChain", ")", "getOrCreateFramePointerSaveIndex", "(", "MF", ")", ";", "uint64_t", "StackSize", "=", "(", "MFFrame", ".", "estimateStackSize", "(", "MF", ")", "+", "SystemZMC", "::", "CallFrameSize", ")", ";", "int64_t", "MaxArgOffset", "=", "0", ";", "for", "(", "int", "I", "=", "MFFrame", ".", "getObjectIndexBegin", "(", ")", ";", "I", "!=", "0", ";", "++", "I", ")", "if", "(", "MFFrame", ".", "getObjectOffset", "(", "I", ")", ">=", "0", ")", "{", "int64_t", "ArgOffset", "=", "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", ",", "Align", "(", "8", ")", ",", "false", ")", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "MFFrame", ".", "CreateStackObject", "(", "8", ",", "Align", "(", "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", "\"backchain\"", "SystemZMC::CallFrameSize", "0", "0", "0", "12", "8", "8", "8", "8"], "File": "SystemZFrameLowering16", "Func": "processFunctionBeforeFrameFinalized", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9478, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_simd_clone_compute_vecsize_and_simdlen", "(", "struct", "cgraph_node", "*", "node", ",", "struct", "cgraph_simd_clone", "*", "clonei", ",", "tree", "base_type", ",", "int", "num", ")", "{", "int", "ret", "=", "1", ";", "if", "(", "clonei", "->", "simdlen", "&&", "(", "clonei", "->", "simdlen", "<", "2", "||", "clonei", "->", "simdlen", ">", "16", "||", "(", "clonei", "->", "simdlen", "&", "(", "clonei", "->", "simdlen", "-", "1", ")", ")", "!=", "0", ")", ")", "{", "warning_at", "(", "DECL_SOURCE_LOCATION", "(", "node", "->", "decl", ")", ",", "0", ",", "\"unsupported simdlen %d\"", ",", "clonei", "->", "simdlen", ")", ";", "return", "0", ";", "}", "tree", "ret_type", "=", "TREE_TYPE", "(", "TREE_TYPE", "(", "node", "->", "decl", ")", ")", ";", "if", "(", "TREE_CODE", "(", "ret_type", ")", "!=", "VOID_TYPE", ")", "switch", "(", "TYPE_MODE", "(", "ret_type", ")", ")", "{", "case", "QImode", ":", "case", "HImode", ":", "case", "SImode", ":", "case", "DImode", ":", "case", "SFmode", ":", "case", "DFmode", ":", "break", ";", "default", ":", "warning_at", "(", "DECL_SOURCE_LOCATION", "(", "node", "->", "decl", ")", ",", "0", ",", "\"unsupported return type %qT for simd\\n\"", ",", "ret_type", ")", ";", "return", "0", ";", "}", "tree", "t", ";", "int", "i", ";", "for", "(", "t", "=", "DECL_ARGUMENTS", "(", "node", "->", "decl", ")", ",", "i", "=", "0", ";", "t", ";", "t", "=", "DECL_CHAIN", "(", "t", ")", ",", "i", "++", ")", "switch", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "t", ")", ")", ")", "{", "case", "QImode", ":", "case", "HImode", ":", "case", "SImode", ":", "case", "DImode", ":", "case", "SFmode", ":", "case", "DFmode", ":", "break", ";", "default", ":", "warning_at", "(", "DECL_SOURCE_LOCATION", "(", "node", "->", "decl", ")", ",", "0", ",", "\"unsupported argument type %qT for simd\\n\"", ",", "TREE_TYPE", "(", "t", ")", ")", ";", "return", "0", ";", "}", "if", "(", "clonei", "->", "cilk_elemental", ")", "{", "clonei", "->", "vecsize_mangle", "=", "'b'", ";", "}", "else", "if", "(", "!", "TREE_PUBLIC", "(", "node", "->", "decl", ")", ")", "{", "if", "(", "TARGET_AVX2", ")", "clonei", "->", "vecsize_mangle", "=", "'d'", ";", "else", "if", "(", "TARGET_AVX", ")", "clonei", "->", "vecsize_mangle", "=", "'c'", ";", "else", "clonei", "->", "vecsize_mangle", "=", "'b'", ";", "ret", "=", "1", ";", "}", "else", "{", "clonei", "->", "vecsize_mangle", "=", "\"bcd\"", "[", "num", "]", ";", "ret", "=", "3", ";", "}", "switch", "(", "clonei", "->", "vecsize_mangle", ")", "{", "case", "'b'", ":", "clonei", "->", "vecsize_int", "=", "128", ";", "clonei", "->", "vecsize_float", "=", "128", ";", "break", ";", "case", "'c'", ":", "clonei", "->", "vecsize_int", "=", "128", ";", "clonei", "->", "vecsize_float", "=", "256", ";", "break", ";", "case", "'d'", ":", "clonei", "->", "vecsize_int", "=", "256", ";", "clonei", "->", "vecsize_float", "=", "256", ";", "break", ";", "}", "if", "(", "clonei", "->", "simdlen", "==", "0", ")", "{", "if", "(", "SCALAR_INT_MODE_P", "(", "TYPE_MODE", "(", "base_type", ")", ")", ")", "clonei", "->", "simdlen", "=", "clonei", "->", "vecsize_int", ";", "else", "clonei", "->", "simdlen", "=", "clonei", "->", "vecsize_float", ";", "clonei", "->", "simdlen", "/=", "GET_MODE_BITSIZE", "(", "TYPE_MODE", "(", "base_type", ")", ")", ";", "if", "(", "clonei", "->", "simdlen", ">", "16", ")", "clonei", "->", "simdlen", "=", "16", ";", "}", "return", "ret", ";", "}", ""], "natrual_language": ["Set", "CLONEI-", ">", "vecsize_mangle", ",", "CLONEI-", ">", "vecsize_int", ",", "CLONEI-", ">", "vecsize_float", "and", "if", "CLONEI-", ">", "simdlen", "is", "0", ",", "also", "CLONEI-", ">", "simdlen", ".", "Return", "0", "if", "SIMD", "clones", "should", "n't", "be", "emitted", ",", "or", "number", "of", "vecsize_mangle", "variants", "that", "should", "be", "emitted", "."], "TS_V_token": ["i386", "1", "2", "16", "1", "0", "0", "\"unsupported simdlen %d\"", "0", "0", "\"unsupported return type %qT for simd\\n\"", "0", "0", "0", "\"unsupported argument type %qT for simd\\n\"", "0", "1", "\"bcd\"", "3", "128", "128", "128", "256", "256", "256", "0", "16", "16"], "File": "i3864", "Func": "ix86_simd_clone_compute_vecsize_and_simdlen", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9479, "Length": 447, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_gen_load_pair", "(", "machine_mode", "mode", ",", "rtx", "reg1", ",", "rtx", "mem1", ",", "rtx", "reg2", ",", "rtx", "mem2", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_DImode", ":", "return", "gen_load_pair_dw_didi", "(", "reg1", ",", "mem1", ",", "reg2", ",", "mem2", ")", ";", "case", "E_DFmode", ":", "return", "gen_load_pair_dw_dfdf", "(", "reg1", ",", "mem1", ",", "reg2", ",", "mem2", ")", ";", "case", "E_TFmode", ":", "return", "gen_load_pair_dw_tftf", "(", "reg1", ",", "mem1", ",", "reg2", ",", "mem2", ")", ";", "case", "E_V4SImode", ":", "return", "gen_load_pairv4siv4si", "(", "reg1", ",", "mem1", ",", "reg2", ",", "mem2", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Generate", "and", "regurn", "a", "load", "pair", "isntruction", "of", "mode", "MODE", "to", "load", "register", "REG1", "from", "MEM1", "and", "register", "REG2", "from", "MEM2", "."], "TS_V_token": ["aarch64"], "File": "aarch641", "Func": "aarch64_gen_load_pair", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9480, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addPreserved", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "LoopInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "LoopInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "ScalarEvolution", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["PowerPC"], "File": "PPCLoopPreIncPrep15", "Func": "getAnalysisUsage", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9481, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "ARMTargetLowering", "::", "joinRegisterPartsIntoValue", "(", "SelectionDAG", "&", "DAG", ",", "const", "SDLoc", "&", "DL", ",", "const", "SDValue", "*", "Parts", ",", "unsigned", "NumParts", ",", "MVT", "PartVT", ",", "EVT", "ValueVT", ",", "Optional", "<", "CallingConv", "::", "ID", ">", "CC", ")", "const", "{", "bool", "IsABIRegCopy", "=", "CC", ".", "hasValue", "(", ")", ";", "if", "(", "IsABIRegCopy", "&&", "(", "ValueVT", "==", "MVT", "::", "f16", "||", "ValueVT", "==", "MVT", "::", "bf16", ")", "&&", "PartVT", "==", "MVT", "::", "f32", ")", "{", "unsigned", "ValueBits", "=", "ValueVT", ".", "getSizeInBits", "(", ")", ";", "unsigned", "PartBits", "=", "PartVT", ".", "getSizeInBits", "(", ")", ";", "SDValue", "Val", "=", "Parts", "[", "0", "]", ";", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "DL", ",", "MVT", "::", "getIntegerVT", "(", "PartBits", ")", ",", "Val", ")", ";", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "TRUNCATE", ",", "DL", ",", "MVT", "::", "getIntegerVT", "(", "ValueBits", ")", ",", "Val", ")", ";", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "DL", ",", "ValueVT", ",", "Val", ")", ";", "return", "Val", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Target-specific", "combining", "of", "register", "parts", "into", "its", "original", "value", "."], "TS_V_token": ["ARM", "ARM", "MVT::f16", "MVT::bf16", "MVT::f32", "0", "ISD::BITCAST", "MVT::getIntegerVT", "ISD::TRUNCATE", "MVT::getIntegerVT", "ISD::BITCAST"], "File": "ARMISelLowering (2)5", "Func": "joinRegisterPartsIntoValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9482, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "rs6000_emit_allocate_stack", "(", "HOST_WIDE_INT", "size", ",", "rtx", "copy_reg", ",", "int", "copy_off", ")", "{", "rtx_insn", "*", "insn", ";", "rtx", "stack_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "STACK_POINTER_REGNUM", ")", ";", "rtx", "tmp_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ";", "rtx", "todec", "=", "gen_int_mode", "(", "-", "size", ",", "Pmode", ")", ";", "if", "(", "INTVAL", "(", "todec", ")", "!=", "-", "size", ")", "{", "warning", "(", "0", ",", "\"stack frame too large\"", ")", ";", "emit_insn", "(", "gen_trap", "(", ")", ")", ";", "return", "0", ";", "}", "if", "(", "crtl", "->", "limit_stack", ")", "{", "if", "(", "REG_P", "(", "stack_limit_rtx", ")", "&&", "REGNO", "(", "stack_limit_rtx", ")", ">", "1", "&&", "REGNO", "(", "stack_limit_rtx", ")", "<=", "31", ")", "{", "rtx_insn", "*", "insn", "=", "gen_add3_insn", "(", "tmp_reg", ",", "stack_limit_rtx", ",", "GEN_INT", "(", "size", ")", ")", ";", "gcc_assert", "(", "insn", ")", ";", "emit_insn", "(", "insn", ")", ";", "emit_insn", "(", "gen_cond_trap", "(", "LTU", ",", "stack_reg", ",", "tmp_reg", ",", "const0_rtx", ")", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "stack_limit_rtx", ")", "==", "SYMBOL_REF", "&&", "TARGET_32BIT", "&&", "DEFAULT_ABI", "==", "ABI_V4", "&&", "!", "flag_pic", ")", "{", "rtx", "toload", "=", "gen_rtx_CONST", "(", "VOIDmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_limit_rtx", ",", "GEN_INT", "(", "size", ")", ")", ")", ";", "emit_insn", "(", "gen_elf_high", "(", "tmp_reg", ",", "toload", ")", ")", ";", "emit_insn", "(", "gen_elf_low", "(", "tmp_reg", ",", "tmp_reg", ",", "toload", ")", ")", ";", "emit_insn", "(", "gen_cond_trap", "(", "LTU", ",", "stack_reg", ",", "tmp_reg", ",", "const0_rtx", ")", ")", ";", "}", "else", "warning", "(", "0", ",", "\"stack limit expression is not supported\"", ")", ";", "}", "if", "(", "flag_stack_clash_protection", ")", "{", "if", "(", "size", "<", "get_stack_clash_protection_guard_size", "(", ")", ")", "dump_stack_clash_frame_info", "(", "NO_PROBE_SMALL_FRAME", ",", "true", ")", ";", "else", "{", "rtx_insn", "*", "insn", "=", "rs6000_emit_probe_stack_range_stack_clash", "(", "size", ",", "copy_reg", ")", ";", "if", "(", "copy_reg", "&&", "copy_off", ")", "emit_insn", "(", "gen_add3_insn", "(", "copy_reg", ",", "copy_reg", ",", "GEN_INT", "(", "copy_off", ")", ")", ")", ";", "return", "insn", ";", "}", "}", "if", "(", "copy_reg", ")", "{", "if", "(", "copy_off", "!=", "0", ")", "emit_insn", "(", "gen_add3_insn", "(", "copy_reg", ",", "stack_reg", ",", "GEN_INT", "(", "copy_off", ")", ")", ")", ";", "else", "emit_move_insn", "(", "copy_reg", ",", "stack_reg", ")", ";", "}", "insn", "=", "rs6000_emit_allocate_stack_1", "(", "size", ",", "stack_reg", ")", ";", "return", "insn", ";", "}", ""], "natrual_language": ["Emit", "the", "correct", "code", "for", "allocating", "stack", "space", ",", "as", "insns", ".", "If", "COPY_R12", ",", "make", "sure", "a", "copy", "of", "the", "old", "frame", "is", "left", "in", "r12", ".", "The", "generated", "code", "may", "use", "hard", "register", "0", "as", "a", "temporary", "."], "TS_V_token": ["rs6000", "0", "0", "\"stack frame too large\"", "0", "1", "31", "0", "\"stack limit expression is not supported\"", "0"], "File": "rs60007", "Func": "rs6000_emit_allocate_stack", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9483, "Length": 342, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"TOY Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["TOY", "\"TOY Assembly Printer\""], "File": "TOYAsmPrinter1", "Func": "getPassName", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9484, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mep_find_base_term", "(", "rtx", "x", ")", "{", "rtx", "base", ",", "term", ";", "int", "unspec", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "PLUS", ")", "return", "x", ";", "base", "=", "XEXP", "(", "x", ",", "0", ")", ";", "term", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "has_hard_reg_initial_val", "(", "Pmode", ",", "TP_REGNO", ")", "&&", "base", "==", "mep_tp_rtx", "(", ")", ")", "unspec", "=", "UNS_TPREL", ";", "else", "if", "(", "has_hard_reg_initial_val", "(", "Pmode", ",", "GP_REGNO", ")", "&&", "base", "==", "mep_gp_rtx", "(", ")", ")", "unspec", "=", "UNS_GPREL", ";", "else", "return", "x", ";", "if", "(", "GET_CODE", "(", "term", ")", "!=", "CONST", ")", "return", "x", ";", "term", "=", "XEXP", "(", "term", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "term", ")", "!=", "UNSPEC", "||", "XINT", "(", "term", ",", "1", ")", "!=", "unspec", ")", "return", "x", ";", "return", "XVECEXP", "(", "term", ",", "0", ",", "0", ")", ";", "}", ""], "natrual_language": ["If", "X", "is", "a", "machine", "specific", "address", "(", "i.e", ".", "a", "symbol", "or", "label", "being", "referenced", "as", "a", "displacement", "from", "the", "GOT", "implemented", "using", "an", "UNSPEC", ")", ",", "then", "return", "the", "base", "term", ".", "Otherwise", "return", "X", "."], "TS_V_token": ["mep", "0", "1", "0", "1", "0", "0"], "File": "mep", "Func": "mep_find_base_term", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9485, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sparc_function_value_1", "(", "const_tree", "type", ",", "machine_mode", "mode", ",", "bool", "outgoing", ")", "{", "const", "int", "regbase", "=", "outgoing", "?", "SPARC_INCOMING_INT_ARG_FIRST", ":", "SPARC_OUTGOING_INT_ARG_FIRST", ";", "enum", "mode_class", "mclass", "=", "GET_MODE_CLASS", "(", "mode", ")", ";", "int", "regno", ";", "if", "(", "type", "&&", "VECTOR_INTEGER_TYPE_P", "(", "type", ")", "&&", "mode", "!=", "BLKmode", ")", "mclass", "=", "MODE_FLOAT", ";", "if", "(", "TARGET_ARCH64", "&&", "type", ")", "{", "if", "(", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", ")", "{", "const", "int", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "gcc_assert", "(", "size", "<=", "32", ")", ";", "return", "function_arg_record_value", "(", "type", ",", "mode", ",", "0", ",", "true", ",", "regbase", ")", ";", "}", "else", "if", "(", "TREE_CODE", "(", "type", ")", "==", "UNION_TYPE", ")", "{", "const", "int", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "gcc_assert", "(", "size", "<=", "32", ")", ";", "return", "function_arg_union_value", "(", "size", ",", "mode", ",", "0", ",", "regbase", ")", ";", "}", "else", "if", "(", "VECTOR_TYPE_P", "(", "type", ")", "&&", "mode", "==", "BLKmode", ")", "{", "const", "int", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "gcc_assert", "(", "size", "<=", "32", ")", ";", "return", "function_arg_vector_value", "(", "size", ",", "0", ",", "true", ",", "SPARC_FP_ARG_FIRST", ")", ";", "}", "else", "if", "(", "mclass", "==", "MODE_FLOAT", "||", "mclass", "==", "MODE_COMPLEX_FLOAT", ")", ";", "else", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "const", "int", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "gcc_assert", "(", "size", "<=", "32", ")", ";", "mode", "=", "int_mode_for_size", "(", "size", "*", "BITS_PER_UNIT", ",", "0", ")", ".", "else_blk", "(", ")", ";", "if", "(", "mode", "==", "BLKmode", ")", "return", "function_arg_union_value", "(", "size", ",", "mode", ",", "0", ",", "regbase", ")", ";", "else", "mclass", "=", "MODE_INT", ";", "}", "else", "if", "(", "mclass", "==", "MODE_INT", "&&", "GET_MODE_SIZE", "(", "mode", ")", "<", "UNITS_PER_WORD", ")", "mode", "=", "word_mode", ";", "}", "else", "if", "(", "TARGET_ARCH32", "&&", "!", "(", "type", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "&&", "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", "TARGET_FUNCTION_VALUE", ",", "and", "TARGET_LIBCALL_VALUE", "target", "hook", ".", "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", "32", "0", "32", "0", "32", "0", "32", "0", "0"], "File": "sparc", "Func": "sparc_function_value_1", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9486, "Length": 340, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "emit_multi_reg_push", "(", "unsigned", "long", "mask", ",", "unsigned", "long", "dwarf_regs_mask", ")", "{", "int", "num_regs", "=", "0", ";", "int", "num_dwarf_regs", "=", "0", ";", "int", "i", ",", "j", ";", "rtx", "par", ";", "rtx", "dwarf", ";", "int", "dwarf_par_index", ";", "rtx", "tmp", ",", "reg", ";", "dwarf_regs_mask", "&=", "~", "(", "1", "<<", "PC_REGNUM", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<=", "LAST_ARM_REGNUM", ";", "i", "++", ")", "{", "if", "(", "mask", "&", "(", "1", "<<", "i", ")", ")", "num_regs", "++", ";", "if", "(", "dwarf_regs_mask", "&", "(", "1", "<<", "i", ")", ")", "num_dwarf_regs", "++", ";", "}", "gcc_assert", "(", "num_regs", "&&", "num_regs", "<=", "16", ")", ";", "gcc_assert", "(", "(", "dwarf_regs_mask", "&", "~", "mask", ")", "==", "0", ")", ";", "par", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "num_regs", ")", ")", ";", "dwarf", "=", "gen_rtx_SEQUENCE", "(", "VOIDmode", ",", "rtvec_alloc", "(", "num_dwarf_regs", "+", "1", ")", ")", ";", "dwarf_par_index", "=", "1", ";", "for", "(", "i", "=", "0", ";", "i", "<=", "LAST_ARM_REGNUM", ";", "i", "++", ")", "{", "if", "(", "mask", "&", "(", "1", "<<", "i", ")", ")", "{", "rtx", "dwarf_reg", "=", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "i", ")", ";", "if", "(", "arm_current_function_pac_enabled_p", "(", ")", "&&", "i", "==", "IP_REGNUM", ")", "dwarf_reg", "=", "gen_rtx_REG", "(", "SImode", ",", "RA_AUTH_CODE", ")", ";", "XVECEXP", "(", "par", ",", "0", ",", "0", ")", "=", "gen_rtx_SET", "(", "gen_frame_mem", "(", "BLKmode", ",", "gen_rtx_PRE_MODIFY", "(", "Pmode", ",", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "4", "*", "num_regs", ")", ")", ")", ",", "gen_rtx_UNSPEC", "(", "BLKmode", ",", "gen_rtvec", "(", "1", ",", "reg", ")", ",", "UNSPEC_PUSH_MULT", ")", ")", ";", "if", "(", "dwarf_regs_mask", "&", "(", "1", "<<", "i", ")", ")", "{", "tmp", "=", "gen_rtx_SET", "(", "gen_frame_mem", "(", "SImode", ",", "stack_pointer_rtx", ")", ",", "dwarf_reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "tmp", ")", "=", "1", ";", "XVECEXP", "(", "dwarf", ",", "0", ",", "dwarf_par_index", "++", ")", "=", "tmp", ";", "}", "break", ";", "}", "}", "for", "(", "j", "=", "1", ",", "i", "++", ";", "j", "<", "num_regs", ";", "i", "++", ")", "{", "if", "(", "mask", "&", "(", "1", "<<", "i", ")", ")", "{", "rtx", "dwarf_reg", "=", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "i", ")", ";", "if", "(", "arm_current_function_pac_enabled_p", "(", ")", "&&", "i", "==", "IP_REGNUM", ")", "dwarf_reg", "=", "gen_rtx_REG", "(", "SImode", ",", "RA_AUTH_CODE", ")", ";", "XVECEXP", "(", "par", ",", "0", ",", "j", ")", "=", "gen_rtx_USE", "(", "VOIDmode", ",", "reg", ")", ";", "if", "(", "dwarf_regs_mask", "&", "(", "1", "<<", "i", ")", ")", "{", "tmp", "=", "gen_rtx_SET", "(", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "4", "*", "j", ")", ")", ",", "dwarf_reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "tmp", ")", "=", "1", ";", "XVECEXP", "(", "dwarf", ",", "0", ",", "dwarf_par_index", "++", ")", "=", "tmp", ";", "}", "j", "++", ";", "}", "}", "par", "=", "emit_insn", "(", "par", ")", ";", "tmp", "=", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "4", "*", "num_regs", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "tmp", ")", "=", "1", ";", "XVECEXP", "(", "dwarf", ",", "0", ",", "0", ")", "=", "tmp", ";", "add_reg_note", "(", "par", ",", "REG_FRAME_RELATED_EXPR", ",", "dwarf", ")", ";", "return", "par", ";", "}", ""], "natrual_language": ["Generate", "and", "emit", "an", "insn", "that", "we", "will", "recognize", "as", "a", "push_multi", ".", "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", "0", "0", "1", "0", "1", "1", "16", "0", "1", "1", "0", "1", "0", "0", "4", "1", "1", "1", "0", "1", "1", "0", "1", "4", "1", "0", "4", "1", "0", "0"], "File": "arm1", "Func": "emit_multi_reg_push", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9487, "Length": 489, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsPassConfig", "::", "addInstSelector", "(", ")", "{", "PM", "->", "add", "(", "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": "MipsTargetMachine59", "Func": "addInstSelector", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9488, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86Subtarget", "::", "enablePostRAScheduler", "(", "CodeGenOpt", "::", "Level", "OptLevel", ",", "TargetSubtargetInfo", "::", "AntiDepBreakMode", "&", "Mode", ",", "RegClassVector", "&", "CriticalPathRCs", ")", "const", "{", "Mode", "=", "TargetSubtargetInfo", "::", "ANTIDEP_CRITICAL", ";", "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": "X86Subtarget104", "Func": "enablePostRAScheduler", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9489, "Length": 44, "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": ["ARM"], "File": "ARMSubtarget116", "Func": "getDataLayout", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9490, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "unsigned", ">", "VRegs", ")", "const", "{", "auto", "&", "Args", "=", "F", ".", "getArgumentList", "(", ")", ";", "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", ":", "Args", ")", "{", "ArgInfo", "OrigArg", "{", "VRegs", "[", "i", "]", ",", "Arg", ".", "getType", "(", ")", "}", ";", "setArgFlags", "(", "OrigArg", ",", "i", "+", "1", ",", "DL", ",", "F", ")", ";", "splitToValueTypes", "(", "OrigArg", ",", "SplitArgs", ",", "DL", ",", "MRI", ",", "[", "&", "]", "(", "ArrayRef", "<", "unsigned", ">", "Regs", ",", "ArrayRef", "<", "uint64_t", ">", "Offsets", ")", "{", "MIRBuilder", ".", "buildSequence", "(", "VRegs", "[", "i", "]", ",", "Regs", ",", "Offsets", ")", ";", "}", ")", ";", "++", "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", ";", "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", "1", "AArch64", "AArch64"], "File": "AArch64CallLowering23", "Func": "lowerFormalArguments", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9491, "Length": 261, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PassConfig", "::", "addILPOpts", "(", ")", "{", "if", "(", "EnableCondOpt", ")", "addPass", "(", "createAArch64ConditionOptimizerPass", "(", ")", ")", ";", "if", "(", "EnableCCMP", ")", "addPass", "(", "createAArch64ConditionalCompares", "(", ")", ")", ";", "if", "(", "EnableMCR", ")", "addPass", "(", "&", "MachineCombinerID", ")", ";", "if", "(", "EnableCondBrTuning", ")", "addPass", "(", "createAArch64CondBrTuning", "(", ")", ")", ";", "if", "(", "EnableEarlyIfConversion", ")", "addPass", "(", "&", "EarlyIfConverterID", ")", ";", "if", "(", "EnableStPairSuppress", ")", "addPass", "(", "createAArch64StorePairSuppressPass", "(", ")", ")", ";", "addPass", "(", "createAArch64SIMDInstrOptPass", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Add", "passes", "that", "optimize", "instruction", "level", "parallelism", "for", "out-of-order", "targets", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine (2)3", "Func": "addILPOpts", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9492, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCAIXAsmPrinter", "::", "emitLinkage", "(", "const", "GlobalValue", "*", "GV", ",", "MCSymbol", "*", "GVSym", ")", "const", "{", "assert", "(", "MAI", "->", "hasVisibilityOnlyWithLinkage", "(", ")", "&&", "\"AIX's linkage directives take a visibility setting.\"", ")", ";", "MCSymbolAttr", "LinkageAttr", "=", "MCSA_Invalid", ";", "switch", "(", "GV", "->", "getLinkage", "(", ")", ")", "{", "case", "GlobalValue", "::", "ExternalLinkage", ":", "LinkageAttr", "=", "GV", "->", "isDeclaration", "(", ")", "?", "MCSA_Extern", ":", "MCSA_Global", ";", "break", ";", "case", "GlobalValue", "::", "LinkOnceAnyLinkage", ":", "case", "GlobalValue", "::", "LinkOnceODRLinkage", ":", "case", "GlobalValue", "::", "WeakAnyLinkage", ":", "case", "GlobalValue", "::", "WeakODRLinkage", ":", "case", "GlobalValue", "::", "ExternalWeakLinkage", ":", "LinkageAttr", "=", "MCSA_Weak", ";", "break", ";", "case", "GlobalValue", "::", "AvailableExternallyLinkage", ":", "LinkageAttr", "=", "MCSA_Extern", ";", "break", ";", "case", "GlobalValue", "::", "PrivateLinkage", ":", "return", ";", "case", "GlobalValue", "::", "InternalLinkage", ":", "OutStreamer", "->", "emitSymbolAttribute", "(", "GVSym", ",", "MCSA_LGlobal", ")", ";", "return", ";", "case", "GlobalValue", "::", "AppendingLinkage", ":", "llvm_unreachable", "(", "\"Should never emit this\"", ")", ";", "case", "GlobalValue", "::", "CommonLinkage", ":", "llvm_unreachable", "(", "\"CommonLinkage of XCOFF should not come to this path\"", ")", ";", "}", "assert", "(", "LinkageAttr", "!=", "MCSA_Invalid", "&&", "\"LinkageAttr should not MCSA_Invalid.\"", ")", ";", "MCSymbolAttr", "VisibilityAttr", "=", "MCSA_Invalid", ";", "switch", "(", "GV", "->", "getVisibility", "(", ")", ")", "{", "case", "GlobalValue", "::", "DefaultVisibility", ":", "break", ";", "case", "GlobalValue", "::", "HiddenVisibility", ":", "VisibilityAttr", "=", "MAI", "->", "getHiddenVisibilityAttr", "(", ")", ";", "break", ";", "case", "GlobalValue", "::", "ProtectedVisibility", ":", "VisibilityAttr", "=", "MAI", "->", "getProtectedVisibilityAttr", "(", ")", ";", "break", ";", "}", "OutStreamer", "->", "emitXCOFFSymbolLinkageWithVisibility", "(", "GVSym", ",", "LinkageAttr", ",", "VisibilityAttr", ")", ";", "}", ""], "natrual_language": ["This", "emits", "linkage", "information", "about", "GVSym", "based", "on", "GV", ",", "if", "this", "is", "supported", "by", "the", "target", "."], "TS_V_token": ["PowerPC", "PPC", "\"AIX's linkage directives take a visibility setting.\"", "\"Should never emit this\"", "\"CommonLinkage of XCOFF should not come to this path\"", "\"LinkageAttr should not MCSA_Invalid.\""], "File": "PPCAsmPrinter7", "Func": "emitLinkage", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9493, "Length": 219, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StackOffset", "X86FrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "Register", "&", "FrameReg", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "bool", "IsFixed", "=", "MFI", ".", "isFixedObjectIndex", "(", "FI", ")", ";", "if", "(", "TRI", "->", "hasBasePointer", "(", "MF", ")", ")", "FrameReg", "=", "IsFixed", "?", "TRI", "->", "getFramePtr", "(", ")", ":", "TRI", "->", "getBaseRegister", "(", ")", ";", "else", "if", "(", "TRI", "->", "needsStackRealignment", "(", "MF", ")", ")", "FrameReg", "=", "IsFixed", "?", "TRI", "->", "getFramePtr", "(", ")", ":", "TRI", "->", "getStackRegister", "(", ")", ";", "else", "FrameReg", "=", "TRI", "->", "getFrameRegister", "(", "MF", ")", ";", "int", "Offset", "=", "MFI", ".", "getObjectOffset", "(", "FI", ")", "-", "getOffsetOfLocalArea", "(", ")", ";", "const", "X86MachineFunctionInfo", "*", "X86FI", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "unsigned", "CSSize", "=", "X86FI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "bool", "HasFP", "=", "hasFP", "(", "MF", ")", ";", "bool", "IsWin64Prologue", "=", "MF", ".", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", "->", "usesWindowsCFI", "(", ")", ";", "int64_t", "FPDelta", "=", "0", ";", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "X86_INTR", "&&", "Offset", ">=", "0", ")", "{", "Offset", "+=", "getOffsetOfLocalArea", "(", ")", ";", "}", "if", "(", "IsWin64Prologue", ")", "{", "assert", "(", "!", "MFI", ".", "hasCalls", "(", ")", "||", "(", "StackSize", "%", "16", ")", "==", "8", ")", ";", "uint64_t", "FrameSize", "=", "StackSize", "-", "SlotSize", ";", "if", "(", "X86FI", "->", "getRestoreBasePointer", "(", ")", ")", "FrameSize", "+=", "SlotSize", ";", "uint64_t", "NumBytes", "=", "FrameSize", "-", "CSSize", ";", "uint64_t", "SEHFrameOffset", "=", "calculateSetFPREG", "(", "NumBytes", ")", ";", "if", "(", "FI", "&&", "FI", "==", "X86FI", "->", "getFAIndex", "(", ")", ")", "return", "StackOffset", "::", "getFixed", "(", "-", "SEHFrameOffset", ")", ";", "FPDelta", "=", "FrameSize", "-", "SEHFrameOffset", ";", "assert", "(", "(", "!", "MFI", ".", "hasCalls", "(", ")", "||", "(", "FPDelta", "%", "16", ")", "==", "0", ")", "&&", "\"FPDelta isn't aligned per the Win64 ABI!\"", ")", ";", "}", "if", "(", "TRI", "->", "hasBasePointer", "(", "MF", ")", ")", "{", "assert", "(", "HasFP", "&&", "\"VLAs and dynamic stack realign, but no FP?!\"", ")", ";", "if", "(", "FI", "<", "0", ")", "{", "return", "StackOffset", "::", "getFixed", "(", "Offset", "+", "SlotSize", "+", "FPDelta", ")", ";", "}", "else", "{", "assert", "(", "isAligned", "(", "MFI", ".", "getObjectAlign", "(", "FI", ")", ",", "-", "(", "Offset", "+", "StackSize", ")", ")", ")", ";", "return", "StackOffset", "::", "getFixed", "(", "Offset", "+", "StackSize", ")", ";", "}", "}", "else", "if", "(", "TRI", "->", "needsStackRealignment", "(", "MF", ")", ")", "{", "if", "(", "FI", "<", "0", ")", "{", "return", "StackOffset", "::", "getFixed", "(", "Offset", "+", "SlotSize", "+", "FPDelta", ")", ";", "}", "else", "{", "assert", "(", "isAligned", "(", "MFI", ".", "getObjectAlign", "(", "FI", ")", ",", "-", "(", "Offset", "+", "StackSize", ")", ")", ")", ";", "return", "StackOffset", "::", "getFixed", "(", "Offset", "+", "StackSize", ")", ";", "}", "}", "else", "{", "if", "(", "!", "HasFP", ")", "return", "StackOffset", "::", "getFixed", "(", "Offset", "+", "StackSize", ")", ";", "Offset", "+=", "SlotSize", ";", "int", "TailCallReturnAddrDelta", "=", "X86FI", "->", "getTCReturnAddrDelta", "(", ")", ";", "if", "(", "TailCallReturnAddrDelta", "<", "0", ")", "Offset", "-=", "TailCallReturnAddrDelta", ";", "}", "return", "StackOffset", "::", "getFixed", "(", "Offset", "+", "FPDelta", ")", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86", "0", "X86", "0", "16", "8", "X86", "X86", "16", "0", "\"FPDelta isn't aligned per the Win64 ABI!\"", "\"VLAs and dynamic stack realign, but no FP?!\"", "0", "0", "X86", "0"], "File": "X86FrameLowering12", "Func": "getFrameIndexReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9494, "Length": 500, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZPassConfig", "::", "addPreSched2", "(", ")", "{", "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": ["SystemZ", "SystemZ"], "File": "SystemZTargetMachine18", "Func": "addPreSched2", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9495, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "SelectAddressRegReg", "(", "SDValue", "N", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Index", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "int16_t", "imm", "=", "0", ";", "if", "(", "N", ".", "getOpcode", "(", ")", "==", "ISD", "::", "ADD", ")", "{", "if", "(", "isIntS16Immediate", "(", "N", ".", "getOperand", "(", "1", ")", ",", "imm", ")", ")", "return", "false", ";", "if", "(", "N", ".", "getOperand", "(", "1", ")", ".", "getOpcode", "(", ")", "==", "PPCISD", "::", "Lo", ")", "return", "false", ";", "Base", "=", "N", ".", "getOperand", "(", "0", ")", ";", "Index", "=", "N", ".", "getOperand", "(", "1", ")", ";", "return", "true", ";", "}", "else", "if", "(", "N", ".", "getOpcode", "(", ")", "==", "ISD", "::", "OR", ")", "{", "if", "(", "isIntS16Immediate", "(", "N", ".", "getOperand", "(", "1", ")", ",", "imm", ")", ")", "return", "false", ";", "KnownBits", "LHSKnown", "=", "DAG", ".", "computeKnownBits", "(", "N", ".", "getOperand", "(", "0", ")", ")", ";", "if", "(", "LHSKnown", ".", "Zero", ".", "getBoolValue", "(", ")", ")", "{", "KnownBits", "RHSKnown", "=", "DAG", ".", "computeKnownBits", "(", "N", ".", "getOperand", "(", "1", ")", ")", ";", "if", "(", "~", "(", "LHSKnown", ".", "Zero", "|", "RHSKnown", ".", "Zero", ")", "==", "0", ")", "{", "Base", "=", "N", ".", "getOperand", "(", "0", ")", ";", "Index", "=", "N", ".", "getOperand", "(", "1", ")", ";", "return", "true", ";", "}", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["SelectAddressRegReg", "-", "Given", "the", "specified", "addressed", ",", "check", "to", "see", "if", "it", "can", "be", "more", "efficiently", "represented", "as", "[", "r+imm", "]", "."], "TS_V_token": ["PowerPC", "PPC", "0", "ISD::ADD", "1", "1", "PPCISD::Lo", "0", "1", "ISD::OR", "1", "0", "1", "0", "0", "1"], "File": "PPCISelLowering (2)7", "Func": "SelectAddressRegReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9496, "Length": 215, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_function_sseregparm", "(", "const_tree", "type", ",", "const_tree", "decl", ",", "bool", "warn", ")", "{", "gcc_assert", "(", "!", "TARGET_64BIT", ")", ";", "if", "(", "TARGET_SSEREGPARM", "||", "(", "type", "&&", "lookup_attribute", "(", "\"sseregparm\"", ",", "TYPE_ATTRIBUTES", "(", "type", ")", ")", ")", ")", "{", "if", "(", "!", "TARGET_SSE", ")", "{", "if", "(", "warn", ")", "{", "if", "(", "decl", ")", "error", "(", "\"calling %qD with attribute sseregparm without \"", "\"SSE/SSE2 enabled\"", ",", "decl", ")", ";", "else", "error", "(", "\"calling %qT with attribute sseregparm without \"", "\"SSE/SSE2 enabled\"", ",", "type", ")", ";", "}", "return", "0", ";", "}", "return", "2", ";", "}", "if", "(", "!", "decl", ")", "return", "0", ";", "cgraph_node", "*", "target", "=", "cgraph_node", "::", "get", "(", "decl", ")", ";", "if", "(", "target", ")", "target", "=", "target", "->", "function_symbol", "(", ")", ";", "if", "(", "target", "&&", "(", "target_opts_for_fn", "(", "target", "->", "decl", ")", "->", "x_ix86_fpmath", "&", "FPMATH_SSE", ")", "&&", "opt_for_fn", "(", "target", "->", "decl", ",", "optimize", ")", "&&", "!", "(", "profile_flag", "&&", "!", "flag_fentry", ")", ")", "{", "cgraph_local_info", "*", "i", "=", "&", "target", "->", "local", ";", "if", "(", "i", "&&", "i", "->", "local", "&&", "i", "->", "can_change_signature", ")", "{", "if", "(", "!", "TARGET_SSE", "&&", "warn", ")", "return", "-", "1", ";", "return", "TARGET_SSE2_P", "(", "target_opts_for_fn", "(", "target", "->", "decl", ")", "->", "x_ix86_isa_flags", ")", "?", "2", ":", "1", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "1", "or", "2", ",", "if", "we", "can", "pass", "up", "to", "SSE_REGPARM_MAX", "SFmode", "(", "1", ")", "and", "DFmode", "(", "2", ")", "arguments", "in", "SSE", "registers", "for", "a", "function", "with", "the", "indicated", "TYPE", "and", "DECL", ".", "DECL", "may", "be", "NULL", "when", "calling", "function", "indirectly", "or", "considering", "a", "libcall", ".", "Otherwise", "return", "0", "."], "TS_V_token": ["i386", "\"sseregparm\"", "\"calling %qD with attribute sseregparm without \"", "\"SSE/SSE2 enabled\"", "\"calling %qT with attribute sseregparm without \"", "\"SSE/SSE2 enabled\"", "0", "2", "0", "1", "2", "1", "0"], "File": "i3865", "Func": "ix86_function_sseregparm", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9497, "Length": 202, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "rs6000_emit_vector_cond_expr", "(", "rtx", "dest", ",", "rtx", "op_true", ",", "rtx", "op_false", ",", "rtx", "cond", ",", "rtx", "cc_op0", ",", "rtx", "cc_op1", ")", "{", "machine_mode", "dest_mode", "=", "GET_MODE", "(", "dest", ")", ";", "machine_mode", "mask_mode", "=", "GET_MODE", "(", "cc_op0", ")", ";", "enum", "rtx_code", "rcode", "=", "GET_CODE", "(", "cond", ")", ";", "machine_mode", "cc_mode", "=", "CCmode", ";", "rtx", "mask", ";", "rtx", "cond2", ";", "rtx", "tmp", ";", "bool", "invert_move", "=", "false", ";", "if", "(", "VECTOR_UNIT_NONE_P", "(", "dest_mode", ")", ")", "return", "0", ";", "gcc_assert", "(", "GET_MODE_SIZE", "(", "dest_mode", ")", "==", "GET_MODE_SIZE", "(", "mask_mode", ")", "&&", "GET_MODE_NUNITS", "(", "dest_mode", ")", "==", "GET_MODE_NUNITS", "(", "mask_mode", ")", ")", ";", "switch", "(", "rcode", ")", "{", "case", "NE", ":", "case", "UNLE", ":", "case", "UNLT", ":", "case", "UNGE", ":", "case", "UNGT", ":", "invert_move", "=", "true", ";", "rcode", "=", "reverse_condition_maybe_unordered", "(", "rcode", ")", ";", "if", "(", "rcode", "==", "UNKNOWN", ")", "return", "0", ";", "break", ";", "case", "GTU", ":", "case", "GEU", ":", "case", "LTU", ":", "case", "LEU", ":", "cc_mode", "=", "CCUNSmode", ";", "break", ";", "default", ":", "break", ";", "}", "mask", "=", "rs6000_emit_vector_compare", "(", "rcode", ",", "cc_op0", ",", "cc_op1", ",", "mask_mode", ")", ";", "if", "(", "!", "mask", ")", "return", "0", ";", "if", "(", "invert_move", ")", "{", "tmp", "=", "op_true", ";", "op_true", "=", "op_false", ";", "op_false", "=", "tmp", ";", "}", "cond2", "=", "gen_rtx_fmt_ee", "(", "NE", ",", "cc_mode", ",", "gen_lowpart", "(", "dest_mode", ",", "mask", ")", ",", "CONST0_RTX", "(", "dest_mode", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "gen_rtx_IF_THEN_ELSE", "(", "dest_mode", ",", "cond2", ",", "op_true", ",", "op_false", ")", ")", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Emit", "vector", "conditional", "expression", ".", "DEST", "is", "destination", ".", "OP1", "and", "OP2", "are", "two", "VEC_COND_EXPR", "operands", ".", "CC_OP0", "and", "CC_OP1", "are", "the", "two", "operands", "for", "the", "relation", "operation", "COND", "."], "TS_V_token": ["rs6000", "0", "0", "0", "1"], "File": "rs60004", "Func": "rs6000_emit_vector_cond_expr", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9498, "Length": 249, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "LoongArchAsmParser", "::", "checkTargetMatchPredicate", "(", "MCInst", "&", "Inst", ")", "{", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "LoongArch", "::", "CSRXCHG", ":", "{", "unsigned", "Rj", "=", "Inst", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "if", "(", "Rj", "==", "LoongArch", "::", "R0", "||", "Rj", "==", "LoongArch", "::", "R1", ")", "return", "Match_RequiresOpnd2NotR0R1", ";", "return", "Match_Success", ";", "}", "case", "LoongArch", "::", "BSTRINS_W", ":", "case", "LoongArch", "::", "BSTRINS_D", ":", "case", "LoongArch", "::", "BSTRPICK_W", ":", "case", "LoongArch", "::", "BSTRPICK_D", ":", "{", "unsigned", "Opc", "=", "Inst", ".", "getOpcode", "(", ")", ";", "const", "signed", "Msb", "=", "(", "Opc", "==", "LoongArch", "::", "BSTRINS_W", "||", "Opc", "==", "LoongArch", "::", "BSTRINS_D", ")", "?", "Inst", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ":", "Inst", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "const", "signed", "Lsb", "=", "(", "Opc", "==", "LoongArch", "::", "BSTRINS_W", "||", "Opc", "==", "LoongArch", "::", "BSTRINS_D", ")", "?", "Inst", ".", "getOperand", "(", "4", ")", ".", "getImm", "(", ")", ":", "Inst", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "if", "(", "Msb", "<", "Lsb", ")", "return", "Match_RequiresMsbNotLessThanLsb", ";", "return", "Match_Success", ";", "}", "}", "return", "Match_Success", ";", "}", ""], "natrual_language": ["checkTargetMatchPredicate", "-", "Validate", "the", "instruction", "match", "against", "any", "complex", "target", "predicates", "not", "expressible", "via", "match", "classes", "."], "TS_V_token": ["LoongArch", "LoongArch", "LoongArch::CSRXCHG", "2", "LoongArch::R0", "LoongArch::R1", "LoongArch::BSTRINS_W", "LoongArch::BSTRINS_D", "LoongArch::BSTRPICK_W", "LoongArch::BSTRPICK_D", "LoongArch::BSTRINS_W", "LoongArch::BSTRINS_D", "3", "2", "LoongArch::BSTRINS_W", "LoongArch::BSTRINS_D", "4", "3"], "File": "LoongArchAsmParser1", "Func": "checkTargetMatchPredicate", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9499, "Length": 192, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TOYFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "TOYInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "TOYInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "int", "StackSize", "=", "(", "int", ")", "MFI", "->", "getStackSize", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TOY", "::", "SUBri", ")", ",", "TOY", "::", "SP", ")", ".", "addReg", "(", "TOY", "::", "SP", ")", ".", "addImm", "(", "StackSize", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["TOY", "TOY", "TOY", "TOY", "TOY::SUBri", "TOY::SP", "TOY::SP"], "File": "TOYFrameLowering", "Func": "emitEpilogue", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9500, "Length": 116, "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": 9501, "Length": 427, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CJGPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createCJGISelDag", "(", "getCJGTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["CJG", "CJG", "CJG", "CJG"], "File": "CJGTargetMachine", "Func": "addInstSelector", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9502, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Equivalent instruction substitution pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"Equivalent instruction substitution pass\""], "File": "EquivSubst", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9503, "Length": 13, "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": 9504, "Length": 22, "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": 9505, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTTIImpl", "::", "getIntrinsicInstrCost", "(", "Intrinsic", "::", "ID", "ID", ",", "Type", "*", "RetTy", ",", "ArrayRef", "<", "Type", "*", ">", "Tys", ",", "FastMathFlags", "FMF", ",", "unsigned", "ScalarizationCostPassed", ")", "{", "if", "(", "ID", "==", "Intrinsic", "::", "bswap", "&&", "ST", "->", "hasP9Vector", "(", ")", ")", "return", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "RetTy", ")", ".", "first", ";", "return", "BaseT", "::", "getIntrinsicInstrCost", "(", "ID", ",", "RetTy", ",", "Tys", ",", "FMF", ",", "ScalarizationCostPassed", ")", ";", "}", ""], "natrual_language": ["Get", "intrinsic", "cost", "based", "on", "arguments", "."], "TS_V_token": ["PowerPC", "PPC", "Intrinsic::ID", "Intrinsic::bswap"], "File": "PPCTargetTransformInfo44", "Func": "getIntrinsicInstrCost", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9506, "Length": 71, "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": ["ARM"], "File": "ARMAsmParser32", "Func": "addExpr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9507, "Length": 59, "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": 9508, "Length": 306, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "inline_secondary_memory_needed", "(", "enum", "reg_class", "class1", ",", "enum", "reg_class", "class2", ",", "machine_mode", "mode", ",", "int", "strict", ")", "{", "if", "(", "lra_in_progress", "&&", "(", "class1", "==", "NO_REGS", "||", "class2", "==", "NO_REGS", ")", ")", "return", "false", ";", "if", "(", "MAYBE_FLOAT_CLASS_P", "(", "class1", ")", "!=", "FLOAT_CLASS_P", "(", "class1", ")", "||", "MAYBE_FLOAT_CLASS_P", "(", "class2", ")", "!=", "FLOAT_CLASS_P", "(", "class2", ")", "||", "MAYBE_SSE_CLASS_P", "(", "class1", ")", "!=", "SSE_CLASS_P", "(", "class1", ")", "||", "MAYBE_SSE_CLASS_P", "(", "class2", ")", "!=", "SSE_CLASS_P", "(", "class2", ")", "||", "MAYBE_MMX_CLASS_P", "(", "class1", ")", "!=", "MMX_CLASS_P", "(", "class1", ")", "||", "MAYBE_MMX_CLASS_P", "(", "class2", ")", "!=", "MMX_CLASS_P", "(", "class2", ")", ")", "{", "gcc_assert", "(", "!", "strict", "||", "lra_in_progress", ")", ";", "return", "true", ";", "}", "if", "(", "FLOAT_CLASS_P", "(", "class1", ")", "!=", "FLOAT_CLASS_P", "(", "class2", ")", ")", "return", "true", ";", "if", "(", "(", "MAYBE_MASK_CLASS_P", "(", "class1", ")", "!=", "MAYBE_MASK_CLASS_P", "(", "class2", ")", ")", "&&", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "UNITS_PER_WORD", ")", ")", "return", "true", ";", "if", "(", "MMX_CLASS_P", "(", "class1", ")", "!=", "MMX_CLASS_P", "(", "class2", ")", ")", "return", "true", ";", "if", "(", "SSE_CLASS_P", "(", "class1", ")", "!=", "SSE_CLASS_P", "(", "class2", ")", ")", "{", "if", "(", "!", "TARGET_SSE2", ")", "return", "true", ";", "if", "(", "(", "SSE_CLASS_P", "(", "class1", ")", "&&", "!", "TARGET_INTER_UNIT_MOVES_FROM_VEC", ")", "||", "(", "SSE_CLASS_P", "(", "class2", ")", "&&", "!", "TARGET_INTER_UNIT_MOVES_TO_VEC", ")", ")", "return", "true", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "UNITS_PER_WORD", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["If", "we", "are", "copying", "between", "general", "and", "FP", "registers", ",", "we", "need", "a", "memory", "location", ".", "The", "same", "is", "true", "for", "SSE", "and", "MMX", "registers", ".", "To", "optimize", "register_move_cost", "performance", ",", "allow", "inline", "variant", ".", "The", "macro", "ca", "n't", "work", "reliably", "when", "one", "of", "the", "CLASSES", "is", "class", "containing", "registers", "from", "multiple", "units", "(", "SSE", ",", "MMX", ",", "integer", ")", ".", "We", "avoid", "this", "by", "never", "combining", "those", "units", "in", "single", "alternative", "in", "the", "machine", "description", ".", "Ensure", "that", "this", "constraint", "holds", "to", "avoid", "unexpected", "surprises", ".", "When", "STRICT", "is", "false", ",", "we", "are", "being", "called", "from", "REGISTER_MOVE_COST", ",", "so", "do", "not", "enforce", "these", "sanity", "checks", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "inline_secondary_memory_needed", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9509, "Length": 231, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ix86_expand_int_addcc", "(", "rtx", "operands", "[", "]", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "operands", "[", "1", "]", ")", ";", "rtx", "compare_op", ";", "rtx", "val", "=", "const0_rtx", ";", "bool", "fpcmp", "=", "false", ";", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", ";", "if", "(", "operands", "[", "3", "]", "!=", "const1_rtx", "&&", "operands", "[", "3", "]", "!=", "constm1_rtx", ")", "return", "0", ";", "if", "(", "!", "ix86_expand_carry_flag_compare", "(", "code", ",", "ix86_compare_op0", ",", "ix86_compare_op1", ",", "&", "compare_op", ")", ")", "return", "0", ";", "code", "=", "GET_CODE", "(", "compare_op", ")", ";", "if", "(", "GET_MODE", "(", "XEXP", "(", "compare_op", ",", "0", ")", ")", "==", "CCFPmode", "||", "GET_MODE", "(", "XEXP", "(", "compare_op", ",", "0", ")", ")", "==", "CCFPUmode", ")", "{", "fpcmp", "=", "true", ";", "code", "=", "ix86_fp_compare_code_to_integer", "(", "code", ")", ";", "}", "if", "(", "code", "!=", "LTU", ")", "{", "val", "=", "constm1_rtx", ";", "if", "(", "fpcmp", ")", "PUT_CODE", "(", "compare_op", ",", "reverse_condition_maybe_unordered", "(", "GET_CODE", "(", "compare_op", ")", ")", ")", ";", "else", "PUT_CODE", "(", "compare_op", ",", "reverse_condition", "(", "GET_CODE", "(", "compare_op", ")", ")", ")", ";", "}", "PUT_MODE", "(", "compare_op", ",", "mode", ")", ";", "if", "(", "(", "code", "==", "LTU", ")", "==", "(", "operands", "[", "3", "]", "==", "constm1_rtx", ")", ")", "{", "switch", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", ")", "{", "case", "QImode", ":", "emit_insn", "(", "gen_subqi3_carry", "(", "operands", "[", "0", "]", ",", "operands", "[", "2", "]", ",", "val", ",", "compare_op", ")", ")", ";", "break", ";", "case", "HImode", ":", "emit_insn", "(", "gen_subhi3_carry", "(", "operands", "[", "0", "]", ",", "operands", "[", "2", "]", ",", "val", ",", "compare_op", ")", ")", ";", "break", ";", "case", "SImode", ":", "emit_insn", "(", "gen_subsi3_carry", "(", "operands", "[", "0", "]", ",", "operands", "[", "2", "]", ",", "val", ",", "compare_op", ")", ")", ";", "break", ";", "case", "DImode", ":", "emit_insn", "(", "gen_subdi3_carry_rex64", "(", "operands", "[", "0", "]", ",", "operands", "[", "2", "]", ",", "val", ",", "compare_op", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "{", "switch", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", ")", "{", "case", "QImode", ":", "emit_insn", "(", "gen_addqi3_carry", "(", "operands", "[", "0", "]", ",", "operands", "[", "2", "]", ",", "val", ",", "compare_op", ")", ")", ";", "break", ";", "case", "HImode", ":", "emit_insn", "(", "gen_addhi3_carry", "(", "operands", "[", "0", "]", ",", "operands", "[", "2", "]", ",", "val", ",", "compare_op", ")", ")", ";", "break", ";", "case", "SImode", ":", "emit_insn", "(", "gen_addsi3_carry", "(", "operands", "[", "0", "]", ",", "operands", "[", "2", "]", ",", "val", ",", "compare_op", ")", ")", ";", "break", ";", "case", "DImode", ":", "emit_insn", "(", "gen_adddi3_carry_rex64", "(", "operands", "[", "0", "]", ",", "operands", "[", "2", "]", ",", "val", ",", "compare_op", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "return", "1", ";", "}", ""], "natrual_language": ["Expand", "conditional", "increment", "or", "decrement", "using", "adb/sbb", "instructions", ".", "The", "default", "case", "using", "setcc", "followed", "by", "the", "conditional", "move", "can", "be", "done", "by", "generic", "code", "."], "TS_V_token": ["i386", "1", "0", "3", "3", "0", "0", "0", "0", "3", "0", "0", "2", "0", "2", "0", "2", "0", "2", "0", "0", "2", "0", "2", "0", "2", "0", "2", "1"], "File": "i3863", "Func": "ix86_expand_int_addcc", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9510, "Length": 441, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_expand_extract_even", "(", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "machine_mode", "vmode", "=", "GET_MODE", "(", "target", ")", ";", "unsigned", "i", ",", "nelt", "=", "GET_MODE_NUNITS", "(", "vmode", ")", ";", "vec_perm_builder", "perm", "(", "nelt", ",", "nelt", ",", "1", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "i", "++", ")", "perm", ".", "quick_push", "(", "i", "*", "2", ")", ";", "rs6000_do_expand_vec_perm", "(", "target", ",", "op0", ",", "op1", ",", "vmode", ",", "perm", ")", ";", "}", ""], "natrual_language": ["Expand", "an", "extract", "even", "operation", "."], "TS_V_token": ["powerpcspe", "1", "0", "2"], "File": "powerpcspe", "Func": "rs6000_expand_extract_even", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9511, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_loop_align_max_skip", "(", "rtx_insn", "*", "label", ")", "{", "return", "(", "1", "<<", "rs6000_loop_align", "(", "label", ")", ")", "-", "1", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LOOP_ALIGN_MAX_SKIP", "."], "TS_V_token": ["powerpcspe", "1", "1"], "File": "powerpcspe", "Func": "rs6000_loop_align_max_skip", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9512, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mflip_mips16_use_mips16_p", "(", "tree", "decl", ")", "{", "const", "char", "*", "name", ";", "bool", "base_is_mips16", "=", "(", "mips_base_compression_flags", "&", "MASK_MIPS16", ")", "!=", "0", ";", "if", "(", "!", "DECL_NAME", "(", "decl", ")", ")", "return", "!", "base_is_mips16", ";", "if", "(", "!", "mflip_mips16_htab", ")", "mflip_mips16_htab", "=", "hash_map", "<", "nofree_string_hash", ",", "bool", ">", "::", "create_ggc", "(", "37", ")", ";", "name", "=", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "decl", ")", ")", ";", "bool", "existed", ";", "bool", "*", "slot", "=", "&", "mflip_mips16_htab", "->", "get_or_insert", "(", "name", ",", "&", "existed", ")", ";", "if", "(", "!", "existed", ")", "{", "mips16_flipper", "=", "!", "mips16_flipper", ";", "*", "slot", "=", "mips16_flipper", "?", "!", "base_is_mips16", ":", "base_is_mips16", ";", "}", "return", "*", "slot", ";", "}", ""], "natrual_language": ["DECL", "is", "a", "function", "that", "needs", "a", "default", "``", "mips16", "''", "or", "``", "nomips16", "''", "attribute", "for", "-mflip-mips16", ".", "Return", "true", "if", "it", "should", "use", "``", "mips16", "''", "and", "false", "if", "it", "should", "use", "``", "nomips16", "''", "."], "TS_V_token": ["mips", "0", "37"], "File": "mips", "Func": "mflip_mips16_use_mips16_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9513, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mmix_pass_by_reference", "(", "cumulative_args_t", "argsp_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "argsp", "=", "get_cumulative_args", "(", "argsp_v", ")", ";", "if", "(", "targetm", ".", "calls", ".", "must_pass_in_stack", "(", "arg", ")", ")", "return", "true", ";", "if", "(", "MMIX_FUNCTION_ARG_SIZE", "(", "arg", ".", "mode", ",", "arg", ".", "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": "mmix", "Func": "mmix_pass_by_reference", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9514, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_gen_setmem", "(", "rtx", "*", "operands", ")", "{", "rtx", "dstbase", "=", "operands", "[", "0", "]", ";", "unsigned", "HOST_WIDE_INT", "length", ";", "unsigned", "HOST_WIDE_INT", "value", ";", "unsigned", "HOST_WIDE_INT", "align", ";", "if", "(", "!", "CONST_INT_P", "(", "operands", "[", "2", "]", ")", "||", "!", "CONST_INT_P", "(", "operands", "[", "1", "]", ")", ")", "return", "false", ";", "length", "=", "UINTVAL", "(", "operands", "[", "1", "]", ")", ";", "if", "(", "length", ">", "64", ")", "return", "false", ";", "value", "=", "(", "UINTVAL", "(", "operands", "[", "2", "]", ")", "&", "0xFF", ")", ";", "align", "=", "UINTVAL", "(", "operands", "[", "3", "]", ")", ";", "if", "(", "TARGET_NEON", "&&", "length", ">=", "8", "&&", "current_tune", "->", "string_ops_prefer_neon", "&&", "arm_block_set_vect", "(", "dstbase", ",", "length", ",", "value", ",", "align", ")", ")", "return", "true", ";", "if", "(", "!", "unaligned_access", "&&", "(", "align", "&", "3", ")", "!=", "0", ")", "return", "arm_block_set_unaligned_non_vect", "(", "dstbase", ",", "length", ",", "value", ",", "align", ")", ";", "return", "arm_block_set_aligned_non_vect", "(", "dstbase", ",", "length", ",", "value", ",", "align", ")", ";", "}", ""], "natrual_language": ["Expand", "string", "store", "operation", ".", "Firstly", "we", "try", "to", "do", "that", "by", "using", "vectorization", "instructions", ",", "then", "try", "with", "ARM", "unaligned", "access", "and", "double-word", "store", "if", "profitable", ".", "OPERANDS", "[", "0", "]", "is", "the", "destination", ",", "OPERANDS", "[", "1", "]", "is", "the", "number", "of", "bytes", ",", "operands", "[", "2", "]", "is", "the", "value", "to", "initialize", "the", "memory", ",", "OPERANDS", "[", "3", "]", "is", "the", "known", "alignment", "of", "the", "destination", "."], "TS_V_token": ["arm", "0", "2", "1", "1", "64", "2", "0xFF", "3", "8", "3", "0"], "File": "arm", "Func": "arm_gen_setmem", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9515, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "X86RegisterInfo", "::", "getCallPreservedMask", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "bool", "HasAVX", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "hasAVX", "(", ")", ";", "bool", "HasAVX512", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "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", "::", "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", "::", "Cold", ":", "if", "(", "Is64Bit", ")", "return", "CSR_64_MostRegs_RegMask", ";", "break", ";", "default", ":", "break", ";", "}", "if", "(", "Is64Bit", ")", "{", "if", "(", "IsWin64", ")", "return", "CSR_Win64_RegMask", ";", "return", "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"], "File": "X86RegisterInfo35", "Func": "getCallPreservedMask", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9516, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "will_be_in_index_register", "(", "const_rtx", "x", ")", "{", "return", "GET_CODE", "(", "x", ")", "==", "UNSPEC", "&&", "(", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_PIC_SYM", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "will", "surely", "end", "up", "in", "an", "index", "register", "after", "next", "splitting", "pass", "."], "TS_V_token": ["arm", "1"], "File": "arm", "Func": "will_be_in_index_register", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9517, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPreGlobalInstructionSelect", "(", ")", "{", "addPass", "(", "new", "Localizer", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "the", "(", "global", ")", "instruction", "selection", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64TargetMachine1", "Func": "addPreGlobalInstructionSelect", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9518, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "unsigned", "VReg", ")", "const", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "Function", "&", "F", "=", "*", "MF", ".", "getFunction", "(", ")", ";", "auto", "MIB", "=", "MIRBuilder", ".", "buildInstrNoInsert", "(", "AArch64", "::", "RET_ReallyLR", ")", ";", "assert", "(", "(", "(", "Val", "&&", "VReg", ")", "||", "(", "!", "Val", "&&", "!", "VReg", ")", ")", "&&", "\"Return value without a vreg\"", ")", ";", "bool", "Success", "=", "true", ";", "if", "(", "VReg", ")", "{", "const", "AArch64TargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "AArch64TargetLowering", ">", "(", ")", ";", "CCAssignFn", "*", "AssignFn", "=", "TLI", ".", "CCAssignFnForReturn", "(", "F", ".", "getCallingConv", "(", ")", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "auto", "&", "DL", "=", "F", ".", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "ArgInfo", "OrigArg", "{", "VReg", ",", "Val", "->", "getType", "(", ")", "}", ";", "setArgFlags", "(", "OrigArg", ",", "AttributeSet", "::", "ReturnIndex", ",", "DL", ",", "F", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "SplitArgs", ";", "splitToValueTypes", "(", "OrigArg", ",", "SplitArgs", ",", "DL", ",", "MRI", ",", "[", "&", "]", "(", "ArrayRef", "<", "unsigned", ">", "Regs", ",", "ArrayRef", "<", "uint64_t", ">", "Offsets", ")", "{", "MIRBuilder", ".", "buildExtract", "(", "Regs", ",", "Offsets", ",", "VReg", ")", ";", "}", ")", ";", "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", "8"], "File": "AArch64CallLowering23", "Func": "lowerReturn", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9519, "Length": 247, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "ix86_preferred_reload_class", "(", "rtx", "x", ",", "reg_class_t", "regclass", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "x", ")", ";", "if", "(", "regclass", "==", "NO_REGS", ")", "return", "NO_REGS", ";", "if", "(", "x", "==", "CONST0_RTX", "(", "mode", ")", ")", "return", "regclass", ";", "if", "(", "CONSTANT_P", "(", "x", ")", "&&", "(", "MAYBE_MMX_CLASS_P", "(", "regclass", ")", "||", "MAYBE_SSE_CLASS_P", "(", "regclass", ")", "||", "MAYBE_MASK_CLASS_P", "(", "regclass", ")", ")", ")", "return", "NO_REGS", ";", "if", "(", "CONST_DOUBLE_P", "(", "x", ")", ")", "{", "if", "(", "INTEGER_CLASS_P", "(", "regclass", ")", ")", "return", "regclass", ";", "if", "(", "IS_STACK_MODE", "(", "mode", ")", "&&", "standard_80387_constant_p", "(", "x", ")", ">", "0", ")", "{", "if", "(", "FLOAT_CLASS_P", "(", "regclass", ")", ")", "return", "FLOAT_REGS", ";", "else", "if", "(", "regclass", "==", "FP_TOP_SSE_REGS", ")", "return", "FP_TOP_REG", ";", "else", "if", "(", "regclass", "==", "FP_SECOND_SSE_REGS", ")", "return", "FP_SECOND_REG", ";", "}", "return", "NO_REGS", ";", "}", "if", "(", "SSE_FLOAT_MODE_P", "(", "mode", ")", "&&", "TARGET_SSE_MATH", ")", "return", "SSE_CLASS_P", "(", "regclass", ")", "?", "regclass", ":", "NO_REGS", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "return", "INTEGER_CLASS_P", "(", "regclass", ")", "?", "regclass", ":", "NO_REGS", ";", "if", "(", "GET_MODE", "(", "x", ")", "==", "QImode", "&&", "!", "CONSTANT_P", "(", "x", ")", ")", "{", "if", "(", "Q_CLASS_P", "(", "regclass", ")", ")", "return", "regclass", ";", "else", "if", "(", "reg_class_subset_p", "(", "Q_REGS", ",", "regclass", ")", ")", "return", "Q_REGS", ";", "else", "return", "NO_REGS", ";", "}", "return", "regclass", ";", "}", ""], "natrual_language": ["Put", "float", "CONST_DOUBLE", "in", "the", "constant", "pool", "instead", "of", "fp", "regs", ".", "QImode", "must", "go", "into", "class", "Q_REGS", ".", "Narrow", "ALL_REGS", "to", "GENERAL_REGS", ".", "This", "supports", "allowing", "movsf", "and", "movdf", "to", "do", "mem-to-mem", "moves", "through", "integer", "regs", "."], "TS_V_token": ["i386", "0"], "File": "i3866", "Func": "ix86_preferred_reload_class", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9520, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "aarch64_vectorize_preferred_vector_alignment", "(", "const_tree", "type", ")", "{", "if", "(", "aarch64_sve_data_mode_p", "(", "TYPE_MODE", "(", "type", ")", ")", ")", "{", "HOST_WIDE_INT", "result", ";", "if", "(", "!", "BITS_PER_SVE_VECTOR", ".", "is_constant", "(", "&", "result", ")", ")", "result", "=", "TYPE_ALIGN", "(", "TREE_TYPE", "(", "type", ")", ")", ";", "return", "result", ";", "}", "return", "TYPE_ALIGN", "(", "type", ")", ";", "}", ""], "natrual_language": ["Implement", "target", "hook", "TARGET_VECTORIZE_PREFERRED_VECTOR_ALIGNMENT", "."], "TS_V_token": ["aarch64"], "File": "aarch645", "Func": "aarch64_vectorize_preferred_vector_alignment", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9521, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_simd_make_constant", "(", "rtx", "vals", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "vals", ")", ";", "rtx", "const_dup", ";", "rtx", "const_vec", "=", "NULL_RTX", ";", "int", "n_const", "=", "0", ";", "int", "i", ";", "if", "(", "GET_CODE", "(", "vals", ")", "==", "CONST_VECTOR", ")", "const_vec", "=", "vals", ";", "else", "if", "(", "GET_CODE", "(", "vals", ")", "==", "PARALLEL", ")", "{", "int", "n_elts", "=", "XVECLEN", "(", "vals", ",", "0", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n_elts", ";", "++", "i", ")", "{", "rtx", "x", "=", "XVECEXP", "(", "vals", ",", "0", ",", "i", ")", ";", "if", "(", "CONST_INT_P", "(", "x", ")", "||", "CONST_DOUBLE_P", "(", "x", ")", ")", "n_const", "++", ";", "}", "if", "(", "n_const", "==", "n_elts", ")", "const_vec", "=", "gen_rtx_CONST_VECTOR", "(", "mode", ",", "XVEC", "(", "vals", ",", "0", ")", ")", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "if", "(", "const_vec", "!=", "NULL_RTX", "&&", "aarch64_simd_valid_immediate", "(", "const_vec", ",", "NULL", ")", ")", "return", "const_vec", ";", "else", "if", "(", "(", "const_dup", "=", "aarch64_simd_dup_constant", "(", "vals", ")", ")", "!=", "NULL_RTX", ")", "return", "const_dup", ";", "else", "if", "(", "const_vec", "!=", "NULL_RTX", ")", "return", "const_vec", ";", "else", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Generate", "code", "to", "load", "VALS", ",", "which", "is", "a", "PARALLEL", "containing", "only", "constants", "(", "for", "vec_init", ")", "or", "CONST_VECTOR", ",", "efficiently", "into", "a", "register", ".", "Returns", "an", "RTX", "to", "copy", "into", "the", "register", ",", "or", "NULL_RTX", "for", "a", "PARALLEL", "that", "can", "not", "be", "converted", "into", "a", "CONST_VECTOR", "."], "TS_V_token": ["aarch64", "0", "0", "0", "0", "0"], "File": "aarch64", "Func": "aarch64_simd_make_constant", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9522, "Length": 182, "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": ["rs6000", "0", "3"], "File": "rs60005", "Func": "rs6000_emit_cbranch", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9523, "Length": 61, "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", "(", "Subtarget", ".", "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::ZERO8", "PPC::ZERO"], "File": "PPCISelLowering (2)2", "Func": "SelectAddressRegRegOnly", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9524, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64TargetLowering", "::", "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": ["ARM64", "ARM64"], "File": "ARM64ISelLowering", "Func": "isTruncateFree", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9525, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "unsigned", "*", "X86RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "bool", "callsEHReturn", "=", "false", ";", "bool", "ghcCall", "=", "false", ";", "if", "(", "MF", ")", "{", "callsEHReturn", "=", "MF", "->", "getMMI", "(", ")", ".", "callsEHReturn", "(", ")", ";", "const", "Function", "*", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "ghcCall", "=", "(", "F", "?", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "GHC", ":", "false", ")", ";", "}", "if", "(", "ghcCall", ")", "return", "CSR_Ghc_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"], "File": "X86RegisterInfo63", "Func": "getCalleeSavedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9526, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "arm_stack_protect_tls_canary_mem", "(", "bool", "reload", ")", "{", "rtx", "tp", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "if", "(", "reload", ")", "emit_insn", "(", "gen_reload_tp_hard", "(", "tp", ")", ")", ";", "else", "emit_insn", "(", "gen_load_tp_hard", "(", "tp", ")", ")", ";", "rtx", "reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx", "offset", "=", "GEN_INT", "(", "arm_stack_protector_guard_offset", ")", ";", "emit_set_insn", "(", "reg", ",", "gen_rtx_PLUS", "(", "SImode", ",", "tp", ",", "offset", ")", ")", ";", "return", "gen_rtx_MEM", "(", "SImode", ",", "reg", ")", ";", "}", ""], "natrual_language": ["Generate", "insns", "that", "produce", "the", "address", "of", "the", "stack", "canary"], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_stack_protect_tls_canary_mem", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9527, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCRegisterInfo", "::", "isCallerPreservedPhysReg", "(", "unsigned", "PhysReg", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "assert", "(", "TargetRegisterInfo", "::", "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": "PPCRegisterInfo43", "Func": "isCallerPreservedPhysReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9528, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "ix86_preferred_reload_class", "(", "rtx", "x", ",", "reg_class_t", "regclass", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "x", ")", ";", "if", "(", "regclass", "==", "NO_REGS", ")", "return", "NO_REGS", ";", "if", "(", "x", "==", "CONST0_RTX", "(", "mode", ")", ")", "return", "regclass", ";", "if", "(", "CONSTANT_P", "(", "x", ")", "&&", "(", "MAYBE_MMX_CLASS_P", "(", "regclass", ")", "||", "MAYBE_SSE_CLASS_P", "(", "regclass", ")", "||", "MAYBE_MASK_CLASS_P", "(", "regclass", ")", ")", ")", "return", "NO_REGS", ";", "if", "(", "CONST_DOUBLE_P", "(", "x", ")", ")", "{", "if", "(", "INTEGER_CLASS_P", "(", "regclass", ")", ")", "return", "regclass", ";", "if", "(", "IS_STACK_MODE", "(", "mode", ")", "&&", "standard_80387_constant_p", "(", "x", ")", ">", "0", ")", "{", "if", "(", "FLOAT_CLASS_P", "(", "regclass", ")", ")", "return", "FLOAT_REGS", ";", "}", "return", "NO_REGS", ";", "}", "if", "(", "SSE_FLOAT_MODE_P", "(", "mode", ")", "&&", "TARGET_SSE_MATH", ")", "return", "SSE_CLASS_P", "(", "regclass", ")", "?", "regclass", ":", "NO_REGS", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "return", "INTEGER_CLASS_P", "(", "regclass", ")", "?", "regclass", ":", "NO_REGS", ";", "if", "(", "GET_MODE", "(", "x", ")", "==", "QImode", "&&", "!", "CONSTANT_P", "(", "x", ")", ")", "{", "if", "(", "Q_CLASS_P", "(", "regclass", ")", ")", "return", "regclass", ";", "else", "if", "(", "reg_class_subset_p", "(", "Q_REGS", ",", "regclass", ")", ")", "return", "Q_REGS", ";", "else", "if", "(", "MASK_CLASS_P", "(", "regclass", ")", ")", "return", "regclass", ";", "else", "return", "NO_REGS", ";", "}", "return", "regclass", ";", "}", ""], "natrual_language": ["Put", "float", "CONST_DOUBLE", "in", "the", "constant", "pool", "instead", "of", "fp", "regs", ".", "QImode", "must", "go", "into", "class", "Q_REGS", ".", "Narrow", "ALL_REGS", "to", "GENERAL_REGS", ".", "This", "supports", "allowing", "movsf", "and", "movdf", "to", "do", "mem-to-mem", "moves", "through", "integer", "regs", "."], "TS_V_token": ["i386", "0"], "File": "i3861", "Func": "ix86_preferred_reload_class", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9529, "Length": 212, "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", ",", "Subtarget", ")", ";", "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": "AArch64ISelLowering123", "Func": "PerformDAGCombine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9530, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_set_sched_context", "(", "void", "*", "_sc", ")", "{", "rs6000_sched_context_t", "sc", "=", "(", "rs6000_sched_context_t", ")", "_sc", ";", "gcc_assert", "(", "sc", "!=", "NULL", ")", ";", "cached_can_issue_more", "=", "sc", "->", "cached_can_issue_more", ";", "last_scheduled_insn", "=", "sc", "->", "last_scheduled_insn", ";", "load_store_pendulum", "=", "sc", "->", "load_store_pendulum", ";", "}", ""], "natrual_language": ["Sets", "the", "global", "scheduling", "context", "to", "the", "one", "pointed", "to", "by", "_SC", "."], "TS_V_token": ["rs6000"], "File": "rs60004", "Func": "rs6000_set_sched_context", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9531, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "machine_mode", "function_instance", "::", "vector_mode", "(", "unsigned", "int", "i", ")", "const", "{", "return", "type_suffix", "(", "i", ")", ".", "vector_mode", ";", "}", ""], "natrual_language": ["Return", "the", "machine_mode", "of", "the", "corresponding", "vector", "type", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "vector_mode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9532, "Length": 21, "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", "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"], "File": "X86FastISel52", "Func": "CCAssignFnForCall", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9533, "Length": 66, "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": 9534, "Length": 282, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "llvm", "::", "Optional", "<", "unsigned", ">", "X86TTIImpl", "::", "getCacheAssociativity", "(", "TargetTransformInfo", "::", "CacheLevel", "Level", ")", "const", "{", "switch", "(", "Level", ")", "{", "case", "TargetTransformInfo", "::", "CacheLevel", "::", "L1D", ":", "LLVM_FALLTHROUGH", ";", "case", "TargetTransformInfo", "::", "CacheLevel", "::", "L2D", ":", "return", "8", ";", "}", "llvm_unreachable", "(", "\"Unknown TargetTransformInfo::CacheLevel\"", ")", ";", "}", ""], "natrual_language": ["Return", "the", "cache", "associatvity", "for", "the", "given", "level", "of", "cache", "."], "TS_V_token": ["X86", "X86", "8", "\"Unknown TargetTransformInfo::CacheLevel\""], "File": "X86TargetTransformInfo (2)", "Func": "getCacheAssociativity", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9535, "Length": 48, "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", ".", "getTargetTriple", "(", ")", ".", "isOSDarwin", "(", ")", ";", "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\"", ")", ";", "Mangler", "::", "getNameWithPrefix", "(", "Name", ",", "MO", ".", "getSymbolName", "(", ")", ",", "*", "DL", ")", ";", "}", "else", "{", "const", "GlobalValue", "*", "GV", "=", "MO", ".", "getGlobal", "(", ")", ";", "TM", ".", "getNameWithPrefix", "(", "Name", ",", "GV", ",", "*", "Mang", ")", ";", "}", "unsigned", "OrigLen", "=", "Name", ".", "size", "(", ")", "-", "PrefixLen", ";", "Name", "+=", "Suffix", ";", "MCSymbol", "*", "Sym", "=", "Ctx", ".", "getOrCreateSymbol", "(", "Name", ")", ";", "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", "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": "PPCMCInstLower2", "Func": "GetSymbolFromOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9536, "Length": 460, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc_expand_vector_init", "(", "rtx", "target", ",", "rtx", "vals", ")", "{", "const", "machine_mode", "mode", "=", "GET_MODE", "(", "target", ")", ";", "const", "machine_mode", "inner_mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "const", "int", "n_elts", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "int", "i", ",", "n_var", "=", "0", ";", "bool", "all_same", "=", "true", ";", "rtx", "mem", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n_elts", ";", "i", "++", ")", "{", "rtx", "x", "=", "XVECEXP", "(", "vals", ",", "0", ",", "i", ")", ";", "if", "(", "!", "(", "CONST_SCALAR_INT_P", "(", "x", ")", "||", "CONST_DOUBLE_P", "(", "x", ")", "||", "CONST_FIXED_P", "(", "x", ")", ")", ")", "n_var", "++", ";", "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", "(", "GET_MODE_SIZE", "(", "inner_mode", ")", "==", "GET_MODE_SIZE", "(", "mode", ")", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "inner_mode", ")", "==", "4", ")", "{", "emit_move_insn", "(", "gen_lowpart", "(", "SImode", ",", "target", ")", ",", "gen_lowpart", "(", "SImode", ",", "XVECEXP", "(", "vals", ",", "0", ",", "0", ")", ")", ")", ";", "return", ";", "}", "else", "if", "(", "GET_MODE_SIZE", "(", "inner_mode", ")", "==", "8", ")", "{", "emit_move_insn", "(", "gen_lowpart", "(", "DImode", ",", "target", ")", ",", "gen_lowpart", "(", "DImode", ",", "XVECEXP", "(", "vals", ",", "0", ",", "0", ")", ")", ")", ";", "return", ";", "}", "}", "else", "if", "(", "GET_MODE_SIZE", "(", "inner_mode", ")", "==", "GET_MODE_SIZE", "(", "word_mode", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "==", "2", "*", "GET_MODE_SIZE", "(", "word_mode", ")", ")", "{", "emit_move_insn", "(", "gen_highpart", "(", "word_mode", ",", "target", ")", ",", "gen_lowpart", "(", "word_mode", ",", "XVECEXP", "(", "vals", ",", "0", ",", "0", ")", ")", ")", ";", "emit_move_insn", "(", "gen_lowpart", "(", "word_mode", ",", "target", ")", ",", "gen_lowpart", "(", "word_mode", ",", "XVECEXP", "(", "vals", ",", "0", ",", "1", ")", ")", ")", ";", "return", ";", "}", "if", "(", "all_same", "&&", "GET_MODE_SIZE", "(", "mode", ")", "==", "8", ")", "{", "if", "(", "TARGET_VIS2", ")", "{", "vector_init_bshuffle", "(", "target", ",", "XVECEXP", "(", "vals", ",", "0", ",", "0", ")", ",", "mode", ",", "inner_mode", ")", ";", "return", ";", "}", "if", "(", "mode", "==", "V8QImode", ")", "{", "vector_init_fpmerge", "(", "target", ",", "XVECEXP", "(", "vals", ",", "0", ",", "0", ")", ")", ";", "return", ";", "}", "if", "(", "mode", "==", "V4HImode", ")", "{", "vector_init_faligndata", "(", "target", ",", "XVECEXP", "(", "vals", ",", "0", ",", "0", ")", ")", ";", "return", ";", "}", "}", "mem", "=", "assign_stack_temp", "(", "mode", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n_elts", ";", "i", "++", ")", "emit_move_insn", "(", "adjust_address_nv", "(", "mem", ",", "inner_mode", ",", "i", "*", "GET_MODE_SIZE", "(", "inner_mode", ")", ")", ",", "XVECEXP", "(", "vals", ",", "0", ",", "i", ")", ")", ";", "emit_move_insn", "(", "target", ",", "mem", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "initialize", "TARGET", "to", "values", "for", "individual", "fields", "VALS", "."], "TS_V_token": ["sparc", "0", "0", "0", "0", "0", "0", "0", "0", "4", "0", "0", "8", "0", "0", "2", "0", "0", "0", "1", "8", "0", "0", "0", "0", "0", "0", "0", "0"], "File": "sparc", "Func": "sparc_expand_vector_init", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9537, "Length": 466, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseRegisterInfo", "::", "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": "ARMBaseRegisterInfo29", "Func": "canSimplifyCallFramePseudos", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9538, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "AArch64_MachoTargetObjectFile", "::", "getIndirectSymViaGOTPCRel", "(", "const", "MCSymbol", "*", "Sym", ",", "const", "MCValue", "&", "MV", ",", "int64_t", "Offset", ",", "MachineModuleInfo", "*", "MMI", ",", "MCStreamer", "&", "Streamer", ")", "const", "{", "assert", "(", "(", "Offset", "+", "MV", ".", "getConstant", "(", ")", "==", "0", ")", "&&", "\"Arch64 does not support GOT PC rel with extra offset\"", ")", ";", "const", "MCExpr", "*", "Res", "=", "MCSymbolRefExpr", "::", "Create", "(", "Sym", ",", "MCSymbolRefExpr", "::", "VK_GOT", ",", "getContext", "(", ")", ")", ";", "MCSymbol", "*", "PCSym", "=", "getContext", "(", ")", ".", "CreateTempSymbol", "(", ")", ";", "Streamer", ".", "EmitLabel", "(", "PCSym", ")", ";", "const", "MCExpr", "*", "PC", "=", "MCSymbolRefExpr", "::", "Create", "(", "PCSym", ",", "getContext", "(", ")", ")", ";", "return", "MCBinaryExpr", "::", "CreateSub", "(", "Res", ",", "PC", ",", "getContext", "(", ")", ")", ";", "}", ""], "natrual_language": ["Get", "the", "target", "specific", "PC", "relative", "GOT", "entry", "relocation", "."], "TS_V_token": ["AArch64", "AArch64", "0", "\"Arch64 does not support GOT PC rel with extra offset\""], "File": "AArch64TargetObjectFile4", "Func": "getIndirectSymViaGOTPCRel", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9539, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips16_local_function_p", "(", "const_rtx", "x", ")", "{", "return", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_LOCAL_P", "(", "x", ")", "&&", "!", "SYMBOL_REF_EXTERNAL_P", "(", "x", ")", "&&", "(", "mips_get_compress_mode", "(", "SYMBOL_REF_DECL", "(", "x", ")", ")", "&", "MASK_MIPS16", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "function", "X", "is", "a", "locally-defined", "and", "locally-binding", "MIPS16", "function", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips16_local_function_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9540, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "uint64_t", "Address", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "STI", ",", "O", ")", "&&", "!", "printSparcAliasInstr", "(", "MI", ",", "STI", ",", "O", ")", ")", "printInstruction", "(", "MI", ",", "Address", ",", "STI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc"], "File": "SparcInstPrinter11", "Func": "printInst", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9541, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_gen_atomic_cas", "(", "rtx", "rval", ",", "rtx", "mem", ",", "rtx", "expected", ",", "rtx", "desired", ",", "rtx", "model", ")", "{", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "machine_mode", "mode", ";", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "switch", "(", "mode", ")", "{", "case", "QImode", ":", "gen", "=", "gen_aarch64_atomic_casqi", ";", "break", ";", "case", "HImode", ":", "gen", "=", "gen_aarch64_atomic_cashi", ";", "break", ";", "case", "SImode", ":", "gen", "=", "gen_aarch64_atomic_cassi", ";", "break", ";", "case", "DImode", ":", "gen", "=", "gen_aarch64_atomic_casdi", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "rval", ",", "expected", ")", ")", ";", "emit_insn", "(", "gen", "(", "rval", ",", "mem", ",", "desired", ",", "model", ")", ")", ";", "aarch64_gen_compare_reg", "(", "EQ", ",", "rval", ",", "expected", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "atomic", "compare-and-swap", "operation", ".", "RVAL", "is", "the", "destination", "register", "for", "the", "data", "in", "memory", ".", "EXPECTED", "is", "the", "value", "expected", "to", "be", "in", "memory", ".", "DESIRED", "is", "the", "value", "to", "store", "to", "memory", ".", "MEM", "is", "the", "memory", "location", ".", "MODEL", "is", "the", "memory", "ordering", "to", "use", "."], "TS_V_token": ["aarch64"], "File": "aarch643", "Func": "aarch64_gen_atomic_cas", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9542, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "emit_window_save", "(", "rtx", "increment", ")", "{", "rtx_insn", "*", "insn", "=", "emit_insn", "(", "gen_window_save", "(", "increment", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_REGISTER", ",", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "Pmode", ",", "RETURN_ADDR_REGNUM", ")", ",", "gen_rtx_REG", "(", "Pmode", ",", "INCOMING_RETURN_ADDR_REGNUM", ")", ")", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_WINDOW_SAVE", ",", "const0_rtx", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_DEF_CFA", ",", "plus_constant", "(", "Pmode", ",", "hard_frame_pointer_rtx", ",", "INCOMING_FRAME_SP_OFFSET", ")", ")", ";", "return", "insn", ";", "}", ""], "natrual_language": ["Emit", "a", "window_save", "insn", "."], "TS_V_token": ["sparc", "1"], "File": "sparc4", "Func": "emit_window_save", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9543, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "getTgtMemIntrinsic", "(", "IntrinsicInfo", "&", "Info", ",", "const", "CallInst", "&", "I", ",", "unsigned", "Intrinsic", ")", "const", "{", "switch", "(", "Intrinsic", ")", "{", "case", "Intrinsic", "::", "arm_neon_vld1", ":", "case", "Intrinsic", "::", "arm_neon_vld2", ":", "case", "Intrinsic", "::", "arm_neon_vld3", ":", "case", "Intrinsic", "::", "arm_neon_vld4", ":", "case", "Intrinsic", "::", "arm_neon_vld2lane", ":", "case", "Intrinsic", "::", "arm_neon_vld3lane", ":", "case", "Intrinsic", "::", "arm_neon_vld4lane", ":", "{", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_W_CHAIN", ";", "uint64_t", "NumElts", "=", "getTargetData", "(", ")", "->", "getTypeAllocSize", "(", "I", ".", "getType", "(", ")", ")", "/", "8", ";", "Info", ".", "memVT", "=", "EVT", "::", "getVectorVT", "(", "I", ".", "getType", "(", ")", "->", "getContext", "(", ")", ",", "MVT", "::", "i64", ",", "NumElts", ")", ";", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "0", ")", ";", "Info", ".", "offset", "=", "0", ";", "Value", "*", "AlignArg", "=", "I", ".", "getArgOperand", "(", "I", ".", "getNumArgOperands", "(", ")", "-", "1", ")", ";", "Info", ".", "align", "=", "cast", "<", "ConstantInt", ">", "(", "AlignArg", ")", "->", "getZExtValue", "(", ")", ";", "Info", ".", "vol", "=", "false", ";", "Info", ".", "readMem", "=", "true", ";", "Info", ".", "writeMem", "=", "false", ";", "return", "true", ";", "}", "case", "Intrinsic", "::", "arm_neon_vst1", ":", "case", "Intrinsic", "::", "arm_neon_vst2", ":", "case", "Intrinsic", "::", "arm_neon_vst3", ":", "case", "Intrinsic", "::", "arm_neon_vst4", ":", "case", "Intrinsic", "::", "arm_neon_vst2lane", ":", "case", "Intrinsic", "::", "arm_neon_vst3lane", ":", "case", "Intrinsic", "::", "arm_neon_vst4lane", ":", "{", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_VOID", ";", "unsigned", "NumElts", "=", "0", ";", "for", "(", "unsigned", "ArgI", "=", "1", ",", "ArgE", "=", "I", ".", "getNumArgOperands", "(", ")", ";", "ArgI", "<", "ArgE", ";", "++", "ArgI", ")", "{", "const", "Type", "*", "ArgTy", "=", "I", ".", "getArgOperand", "(", "ArgI", ")", "->", "getType", "(", ")", ";", "if", "(", "!", "ArgTy", "->", "isVectorTy", "(", ")", ")", "break", ";", "NumElts", "+=", "getTargetData", "(", ")", "->", "getTypeAllocSize", "(", "ArgTy", ")", "/", "8", ";", "}", "Info", ".", "memVT", "=", "EVT", "::", "getVectorVT", "(", "I", ".", "getType", "(", ")", "->", "getContext", "(", ")", ",", "MVT", "::", "i64", ",", "NumElts", ")", ";", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "0", ")", ";", "Info", ".", "offset", "=", "0", ";", "Value", "*", "AlignArg", "=", "I", ".", "getArgOperand", "(", "I", ".", "getNumArgOperands", "(", ")", "-", "1", ")", ";", "Info", ".", "align", "=", "cast", "<", "ConstantInt", ">", "(", "AlignArg", ")", "->", "getZExtValue", "(", ")", ";", "Info", ".", "vol", "=", "false", ";", "Info", ".", "readMem", "=", "false", ";", "Info", ".", "writeMem", "=", "true", ";", "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": ["ARM", "ARM", "Intrinsic::arm_neon_vld1", "Intrinsic::arm_neon_vld2", "Intrinsic::arm_neon_vld3", "Intrinsic::arm_neon_vld4", "Intrinsic::arm_neon_vld2lane", "Intrinsic::arm_neon_vld3lane", "Intrinsic::arm_neon_vld4lane", "ISD::INTRINSIC_W_CHAIN", "8", "MVT::i64", "0", "0", "1", "Intrinsic::arm_neon_vst1", "Intrinsic::arm_neon_vst2", "Intrinsic::arm_neon_vst3", "Intrinsic::arm_neon_vst4", "Intrinsic::arm_neon_vst2lane", "Intrinsic::arm_neon_vst3lane", "Intrinsic::arm_neon_vst4lane", "ISD::INTRINSIC_VOID", "0", "1", "8", "MVT::i64", "0", "0", "1"], "File": "ARMISelLowering131", "Func": "getTgtMemIntrinsic", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9544, "Length": 402, "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": 9545, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "csky_cannot_copy_insn_p", "(", "rtx_insn", "*", "insn", ")", "{", "subrtx_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX", "(", "iter", ",", "array", ",", "PATTERN", "(", "insn", ")", ",", "ALL", ")", "{", "const_rtx", "x", "=", "*", "iter", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", "&&", "(", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_TLS_LABEL", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_PIC_SYMBOL_GOTPC_GRS", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CANNOT_COPY_INSN_P", ".", "We", "must", "not", "copy", "any", "rtx", "that", "uses", "a", "pc-relative", "address", "."], "TS_V_token": ["csky", "1", "1"], "File": "csky", "Func": "csky_cannot_copy_insn_p", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9546, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "F", "(", "rtx_insn", "*", "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": ["mep", "1"], "File": "mep", "Func": "F", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9547, "Length": 21, "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", "::", "WrapperLarge", ":", "return", "\"AArch64ISD::WrapperLarge\"", ";", "case", "AArch64ISD", "::", "WrapperSmall", ":", "return", "\"AArch64ISD::WrapperSmall\"", ";", "case", "AArch64ISD", "::", "NEON_BSL", ":", "return", "\"AArch64ISD::NEON_BSL\"", ";", "case", "AArch64ISD", "::", "NEON_MOVIMM", ":", "return", "\"AArch64ISD::NEON_MOVIMM\"", ";", "case", "AArch64ISD", "::", "NEON_MVNIMM", ":", "return", "\"AArch64ISD::NEON_MVNIMM\"", ";", "case", "AArch64ISD", "::", "NEON_FMOVIMM", ":", "return", "\"AArch64ISD::NEON_FMOVIMM\"", ";", "case", "AArch64ISD", "::", "NEON_CMP", ":", "return", "\"AArch64ISD::NEON_CMP\"", ";", "case", "AArch64ISD", "::", "NEON_CMPZ", ":", "return", "\"AArch64ISD::NEON_CMPZ\"", ";", "case", "AArch64ISD", "::", "NEON_TST", ":", "return", "\"AArch64ISD::NEON_TST\"", ";", "case", "AArch64ISD", "::", "NEON_QSHLs", ":", "return", "\"AArch64ISD::NEON_QSHLs\"", ";", "case", "AArch64ISD", "::", "NEON_QSHLu", ":", "return", "\"AArch64ISD::NEON_QSHLu\"", ";", "case", "AArch64ISD", "::", "NEON_VDUP", ":", "return", "\"AArch64ISD::NEON_VDUP\"", ";", "case", "AArch64ISD", "::", "NEON_VDUPLANE", ":", "return", "\"AArch64ISD::NEON_VDUPLANE\"", ";", "case", "AArch64ISD", "::", "NEON_LD1_UPD", ":", "return", "\"AArch64ISD::NEON_LD1_UPD\"", ";", "case", "AArch64ISD", "::", "NEON_LD2_UPD", ":", "return", "\"AArch64ISD::NEON_LD2_UPD\"", ";", "case", "AArch64ISD", "::", "NEON_LD3_UPD", ":", "return", "\"AArch64ISD::NEON_LD3_UPD\"", ";", "case", "AArch64ISD", "::", "NEON_LD4_UPD", ":", "return", "\"AArch64ISD::NEON_LD4_UPD\"", ";", "case", "AArch64ISD", "::", "NEON_ST1_UPD", ":", "return", "\"AArch64ISD::NEON_ST1_UPD\"", ";", "case", "AArch64ISD", "::", "NEON_ST2_UPD", ":", "return", "\"AArch64ISD::NEON_ST2_UPD\"", ";", "case", "AArch64ISD", "::", "NEON_ST3_UPD", ":", "return", "\"AArch64ISD::NEON_ST3_UPD\"", ";", "case", "AArch64ISD", "::", "NEON_ST4_UPD", ":", "return", "\"AArch64ISD::NEON_ST4_UPD\"", ";", "case", "AArch64ISD", "::", "NEON_VEXTRACT", ":", "return", "\"AArch64ISD::NEON_VEXTRACT\"", ";", "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::WrapperLarge", "\"AArch64ISD::WrapperLarge\"", "AArch64ISD::WrapperSmall", "\"AArch64ISD::WrapperSmall\"", "AArch64ISD::NEON_BSL", "\"AArch64ISD::NEON_BSL\"", "AArch64ISD::NEON_MOVIMM", "\"AArch64ISD::NEON_MOVIMM\"", "AArch64ISD::NEON_MVNIMM", "\"AArch64ISD::NEON_MVNIMM\"", "AArch64ISD::NEON_FMOVIMM", "\"AArch64ISD::NEON_FMOVIMM\"", "AArch64ISD::NEON_CMP", "\"AArch64ISD::NEON_CMP\"", "AArch64ISD::NEON_CMPZ", "\"AArch64ISD::NEON_CMPZ\"", "AArch64ISD::NEON_TST", "\"AArch64ISD::NEON_TST\"", "AArch64ISD::NEON_QSHLs", "\"AArch64ISD::NEON_QSHLs\"", "AArch64ISD::NEON_QSHLu", "\"AArch64ISD::NEON_QSHLu\"", "AArch64ISD::NEON_VDUP", "\"AArch64ISD::NEON_VDUP\"", "AArch64ISD::NEON_VDUPLANE", "\"AArch64ISD::NEON_VDUPLANE\"", "AArch64ISD::NEON_LD1_UPD", "\"AArch64ISD::NEON_LD1_UPD\"", "AArch64ISD::NEON_LD2_UPD", "\"AArch64ISD::NEON_LD2_UPD\"", "AArch64ISD::NEON_LD3_UPD", "\"AArch64ISD::NEON_LD3_UPD\"", "AArch64ISD::NEON_LD4_UPD", "\"AArch64ISD::NEON_LD4_UPD\"", "AArch64ISD::NEON_ST1_UPD", "\"AArch64ISD::NEON_ST1_UPD\"", "AArch64ISD::NEON_ST2_UPD", "\"AArch64ISD::NEON_ST2_UPD\"", "AArch64ISD::NEON_ST3_UPD", "\"AArch64ISD::NEON_ST3_UPD\"", "AArch64ISD::NEON_ST4_UPD", "\"AArch64ISD::NEON_ST4_UPD\"", "AArch64ISD::NEON_VEXTRACT", "\"AArch64ISD::NEON_VEXTRACT\""], "File": "AArch64ISelLowering113", "Func": "getTargetNodeName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9548, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ix86_memory_move_cost", "(", "enum", "machine_mode", "mode", ",", "enum", "reg_class", "class", ",", "int", "in", ")", "{", "if", "(", "FLOAT_CLASS_P", "(", "class", ")", ")", "{", "int", "index", ";", "switch", "(", "mode", ")", "{", "case", "SFmode", ":", "index", "=", "0", ";", "break", ";", "case", "DFmode", ":", "index", "=", "1", ";", "break", ";", "case", "XFmode", ":", "index", "=", "2", ";", "break", ";", "default", ":", "return", "100", ";", "}", "return", "in", "?", "ix86_cost", "->", "fp_load", "[", "index", "]", ":", "ix86_cost", "->", "fp_store", "[", "index", "]", ";", "}", "if", "(", "SSE_CLASS_P", "(", "class", ")", ")", "{", "int", "index", ";", "switch", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", "{", "case", "4", ":", "index", "=", "0", ";", "break", ";", "case", "8", ":", "index", "=", "1", ";", "break", ";", "case", "16", ":", "index", "=", "2", ";", "break", ";", "default", ":", "return", "100", ";", "}", "return", "in", "?", "ix86_cost", "->", "sse_load", "[", "index", "]", ":", "ix86_cost", "->", "sse_store", "[", "index", "]", ";", "}", "if", "(", "MMX_CLASS_P", "(", "class", ")", ")", "{", "int", "index", ";", "switch", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", "{", "case", "4", ":", "index", "=", "0", ";", "break", ";", "case", "8", ":", "index", "=", "1", ";", "break", ";", "default", ":", "return", "100", ";", "}", "return", "in", "?", "ix86_cost", "->", "mmx_load", "[", "index", "]", ":", "ix86_cost", "->", "mmx_store", "[", "index", "]", ";", "}", "switch", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", "{", "case", "1", ":", "if", "(", "in", ")", "return", "(", "Q_CLASS_P", "(", "class", ")", "?", "ix86_cost", "->", "int_load", "[", "0", "]", ":", "ix86_cost", "->", "movzbl_load", ")", ";", "else", "return", "(", "Q_CLASS_P", "(", "class", ")", "?", "ix86_cost", "->", "int_store", "[", "0", "]", ":", "ix86_cost", "->", "int_store", "[", "0", "]", "+", "4", ")", ";", "break", ";", "case", "2", ":", "return", "in", "?", "ix86_cost", "->", "int_load", "[", "1", "]", ":", "ix86_cost", "->", "int_store", "[", "1", "]", ";", "default", ":", "if", "(", "mode", "==", "TFmode", ")", "mode", "=", "XFmode", ";", "return", "(", "(", "in", "?", "ix86_cost", "->", "int_load", "[", "2", "]", ":", "ix86_cost", "->", "int_store", "[", "2", "]", ")", "*", "(", "(", "(", "int", ")", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ")", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "moving", "data", "of", "mode", "M", "between", "a", "register", "and", "memory", ".", "A", "value", "of", "2", "is", "the", "default", ";", "this", "cost", "is", "relative", "to", "those", "in", "`", "REGISTER_MOVE_COST", "'", ".", "If", "moving", "between", "registers", "and", "memory", "is", "more", "expensive", "than", "between", "two", "registers", ",", "you", "should", "define", "this", "macro", "to", "express", "the", "relative", "cost", ".", "Model", "also", "increased", "moving", "costs", "of", "QImode", "registers", "in", "non", "Q_REGS", "classes", "."], "TS_V_token": ["i386", "0", "1", "2", "100", "4", "0", "8", "1", "16", "2", "100", "4", "0", "8", "1", "100", "1", "0", "0", "0", "4", "2", "1", "1", "2", "2", "1"], "File": "i3863", "Func": "ix86_memory_move_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9549, "Length": 347, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "AssumptionCacheTracker", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "LoopInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "LoopInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "ScalarEvolution", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "TargetTransformInfoWrapperPass", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["PowerPC"], "File": "PPCLoopDataPrefetch", "Func": "getAnalysisUsage", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9550, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcInstrInfo", "::", "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", "==", "&", "SP", "::", "IntRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "FPRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDFri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "DFPRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDDFri", ")", ",", "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": ["Sparc", "Sparc", "SP::IntRegsRegClass", "SP::LDri", "0", "SP::FPRegsRegClass", "SP::LDFri", "0", "SP::DFPRegsRegClass", "SP::LDDFri", "0", "\"Can't load this register from stack slot\""], "File": "SparcInstrInfo19", "Func": "loadRegFromStackSlot", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9551, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_interrupt_extra_call_saved_reg_p", "(", "unsigned", "int", "regno", ")", "{", "if", "(", "(", "ISA_HAS_HILO", "||", "TARGET_DSP", ")", "&&", "MD_REG_P", "(", "regno", ")", ")", "return", "true", ";", "if", "(", "TARGET_DSP", "&&", "DSP_ACC_REG_P", "(", "regno", ")", ")", "return", "true", ";", "if", "(", "GP_REG_P", "(", "regno", ")", "&&", "!", "cfun", "->", "machine", "->", "use_shadow_register_set_p", ")", "{", "if", "(", "regno", "==", "GP_REG_FIRST", ")", "return", "false", ";", "if", "(", "KERNEL_REG_P", "(", "regno", ")", ")", "return", "false", ";", "if", "(", "regno", "==", "STACK_POINTER_REGNUM", ")", "return", "false", ";", "return", "call_really_used_regs", "[", "regno", "]", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "REGNO", "is", "a", "register", "that", "is", "ordinarily", "call-clobbered", "but", "must", "nevertheless", "be", "preserved", "by", "an", "interrupt", "handler", "."], "TS_V_token": ["mips"], "File": "mips4", "Func": "mips_interrupt_extra_call_saved_reg_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9552, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveId", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["Lanai", "Lanai"], "File": "LanaiAsmParser1", "Func": "ParseDirective", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9553, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{", "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": "ARM64AsmBackend", "Func": "createObjectWriter", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9554, "Length": 21, "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": 9555, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "SystemZRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "SystemZSubtarget", "*", "Subtarget", "=", "&", "MF", "->", "getSubtarget", "<", "SystemZSubtarget", ">", "(", ")", ";", "SystemZCallingConventionRegisters", "*", "Regs", "=", "Subtarget", "->", "getSpecialRegisters", "(", ")", ";", "return", "Regs", "->", "getCalleeSavedRegs", "(", "MF", ")", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ"], "File": "SystemZRegisterInfo10", "Func": "getCalleeSavedRegs", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9556, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsSubtarget", "*", "MipsTargetMachine", "::", "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", ";", "bool", "hasMips16Attr", "=", "!", "FnAttrs", ".", "getAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "\"mips16\"", ")", ".", "hasAttribute", "(", "Attribute", "::", "None", ")", ";", "bool", "hasNoMips16Attr", "=", "!", "FnAttrs", ".", "getAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "\"nomips16\"", ")", ".", "hasAttribute", "(", "Attribute", "::", "None", ")", ";", "Attribute", "SFAttr", "=", "FnAttrs", ".", "getAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "\"use-soft-float\"", ")", ";", "bool", "softFloat", "=", "!", "SFAttr", ".", "hasAttribute", "(", "Attribute", "::", "None", ")", "?", "SFAttr", ".", "getValueAsString", "(", ")", "==", "\"true\"", ":", "Options", ".", "UseSoftFloat", ";", "if", "(", "hasMips16Attr", ")", "FS", "+=", "FS", ".", "empty", "(", ")", "?", "\"+mips16\"", ":", "\",+mips16\"", ";", "else", "if", "(", "hasNoMips16Attr", ")", "FS", "+=", "FS", ".", "empty", "(", ")", "?", "\"-mips16\"", ":", "\",-mips16\"", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "CPU", "+", "FS", "+", "(", "softFloat", "?", "\"use-soft-float=true\"", ":", "\"use-soft-float=false\"", ")", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "llvm", "::", "make_unique", "<", "MipsSubtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "isLittle", ",", "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": ["Mips", "Mips", "Mips", "\"target-cpu\"", "\"target-features\"", "Mips", "\"mips16\"", "Mips", "\"nomips16\"", "\"use-soft-float\"", "\"true\"", "Mips", "\"+mips16\"", "\",+mips16\"", "Mips", "\"-mips16\"", "\",-mips16\"", "\"use-soft-float=true\"", "\"use-soft-float=false\"", "Mips"], "File": "MipsTargetMachine35", "Func": "getSubtargetImpl", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9557, "Length": 280, "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": 9558, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isCall", "(", "const", "MCInst", "&", "MI", ",", "bool", "*", "IsIndirectCall", ")", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "*", "IsIndirectCall", "=", "false", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "false", ";", "case", "Mips", "::", "JAL", ":", "case", "Mips", "::", "BAL_BR", ":", "return", "true", ";", "case", "Mips", "::", "JALR", ":", "assert", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "isReg", "(", ")", ")", ";", "if", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "Mips", "::", "ZERO", ")", "return", "false", ";", "*", "IsIndirectCall", "=", "true", ";", "return", "true", ";", "}", "}", ""], "natrual_language": ["Is", "a", "function", "call", "."], "TS_V_token": ["Mips", "Mips::JAL", "Mips::BAL_BR", "Mips::JALR", "0", "0", "Mips::ZERO"], "File": "MipsNaClELFStreamer9", "Func": "isCall", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9559, "Length": 99, "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": ["AArch64"], "File": "AArch64AsmParser (2)2", "Func": "isReg", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9560, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "PPCRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "if", "(", "MF", "->", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AnyReg", ")", "{", "if", "(", "Subtarget", ".", "hasVSX", "(", ")", ")", "return", "CSR_64_AllRegs_VSX_SaveList", ";", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "CSR_64_AllRegs_Altivec_SaveList", ";", "return", "CSR_64_AllRegs_SaveList", ";", "}", "if", "(", "Subtarget", ".", "isDarwinABI", "(", ")", ")", "return", "Subtarget", ".", "isPPC64", "(", ")", "?", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_Darwin64_Altivec_SaveList", ":", "CSR_Darwin64_SaveList", ")", ":", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_Darwin32_Altivec_SaveList", ":", "CSR_Darwin32_SaveList", ")", ";", "return", "Subtarget", ".", "isPPC64", "(", ")", "?", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_SVR464_Altivec_SaveList", ":", "CSR_SVR464_SaveList", ")", ":", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_SVR432_Altivec_SaveList", ":", "CSR_SVR432_SaveList", ")", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC"], "File": "PPCRegisterInfo68", "Func": "getCalleeSavedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9561, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_parse_extension", "(", "char", "*", "str", ")", "{", "const", "struct", "aarch64_option_extension", "*", "opt", "=", "NULL", ";", "int", "adding_ext", "=", "-", "1", ";", "while", "(", "str", "!=", "NULL", "&&", "*", "str", "!=", "0", ")", "{", "char", "*", "ext", ";", "size_t", "len", ";", "str", "++", ";", "ext", "=", "strchr", "(", "str", ",", "'+'", ")", ";", "if", "(", "ext", "!=", "NULL", ")", "len", "=", "ext", "-", "str", ";", "else", "len", "=", "strlen", "(", "str", ")", ";", "if", "(", "len", ">=", "2", "&&", "strncmp", "(", "str", ",", "\"no\"", ",", "2", ")", "==", "0", ")", "{", "adding_ext", "=", "0", ";", "len", "-=", "2", ";", "str", "+=", "2", ";", "}", "else", "if", "(", "len", ">", "0", ")", "adding_ext", "=", "1", ";", "if", "(", "len", "==", "0", ")", "{", "error", "(", "\"missing feature modifier after %qs\"", ",", "adding_ext", "?", "\"+\"", ":", "\"+no\"", ")", ";", "return", ";", "}", "for", "(", "opt", "=", "all_extensions", ";", "opt", "->", "name", "!=", "NULL", ";", "opt", "++", ")", "{", "if", "(", "strlen", "(", "opt", "->", "name", ")", "==", "len", "&&", "strncmp", "(", "opt", "->", "name", ",", "str", ",", "len", ")", "==", "0", ")", "{", "if", "(", "adding_ext", ")", "aarch64_isa_flags", "|=", "opt", "->", "flags_on", ";", "else", "aarch64_isa_flags", "&=", "~", "(", "opt", "->", "flags_off", ")", ";", "break", ";", "}", "}", "if", "(", "opt", "->", "name", "==", "NULL", ")", "{", "error", "(", "\"unknown feature modifier %qs\"", ",", "str", ")", ";", "return", ";", "}", "str", "=", "ext", ";", "}", ";", "return", ";", "}", ""], "natrual_language": ["Parse", "the", "architecture", "extension", "string", "."], "TS_V_token": ["aarch64", "1", "0", "2", "\"no\"", "2", "0", "0", "2", "2", "0", "1", "0", "\"missing feature modifier after %qs\"", "\"+\"", "\"+no\"", "0", "\"unknown feature modifier %qs\""], "File": "aarch642", "Func": "aarch64_parse_extension", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9562, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CCAssignFn", "*", "ARM64TargetLowering", "::", "CCAssignFnForCall", "(", "CallingConv", "::", "ID", "CC", ",", "bool", "IsVarArg", ")", "const", "{", "switch", "(", "CC", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unsupported calling convention.\"", ")", ";", "case", "CallingConv", "::", "WebKit_JS", ":", "return", "CC_ARM64_WebKit_JS", ";", "case", "CallingConv", "::", "C", ":", "case", "CallingConv", "::", "Fast", ":", "if", "(", "!", "Subtarget", "->", "isTargetDarwin", "(", ")", ")", "return", "CC_ARM64_AAPCS", ";", "return", "IsVarArg", "?", "CC_ARM64_DarwinPCS_VarArg", ":", "CC_ARM64_DarwinPCS", ";", "}", "}", ""], "natrual_language": ["Selects", "the", "correct", "CCAssignFn", "for", "a", "given", "CallingConvention", "value", "."], "TS_V_token": ["ARM64", "ARM64", "\"Unsupported calling convention.\"", "ARM64", "ARM64", "ARM64", "ARM64"], "File": "ARM64ISelLowering", "Func": "CCAssignFnForCall", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9563, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "init_float128_ibm", "(", "machine_mode", "mode", ")", "{", "if", "(", "!", "TARGET_XL_COMPAT", ")", "{", "set_optab_libfunc", "(", "add_optab", ",", "mode", ",", "\"__gcc_qadd\"", ")", ";", "set_optab_libfunc", "(", "sub_optab", ",", "mode", ",", "\"__gcc_qsub\"", ")", ";", "set_optab_libfunc", "(", "smul_optab", ",", "mode", ",", "\"__gcc_qmul\"", ")", ";", "set_optab_libfunc", "(", "sdiv_optab", ",", "mode", ",", "\"__gcc_qdiv\"", ")", ";", "if", "(", "!", "(", "TARGET_HARD_FLOAT", "&&", "(", "TARGET_FPRS", "||", "TARGET_E500_DOUBLE", ")", ")", ")", "{", "set_optab_libfunc", "(", "neg_optab", ",", "mode", ",", "\"__gcc_qneg\"", ")", ";", "set_optab_libfunc", "(", "eq_optab", ",", "mode", ",", "\"__gcc_qeq\"", ")", ";", "set_optab_libfunc", "(", "ne_optab", ",", "mode", ",", "\"__gcc_qne\"", ")", ";", "set_optab_libfunc", "(", "gt_optab", ",", "mode", ",", "\"__gcc_qgt\"", ")", ";", "set_optab_libfunc", "(", "ge_optab", ",", "mode", ",", "\"__gcc_qge\"", ")", ";", "set_optab_libfunc", "(", "lt_optab", ",", "mode", ",", "\"__gcc_qlt\"", ")", ";", "set_optab_libfunc", "(", "le_optab", ",", "mode", ",", "\"__gcc_qle\"", ")", ";", "set_conv_libfunc", "(", "sext_optab", ",", "mode", ",", "SFmode", ",", "\"__gcc_stoq\"", ")", ";", "set_conv_libfunc", "(", "sext_optab", ",", "mode", ",", "DFmode", ",", "\"__gcc_dtoq\"", ")", ";", "set_conv_libfunc", "(", "trunc_optab", ",", "SFmode", ",", "mode", ",", "\"__gcc_qtos\"", ")", ";", "set_conv_libfunc", "(", "trunc_optab", ",", "DFmode", ",", "mode", ",", "\"__gcc_qtod\"", ")", ";", "set_conv_libfunc", "(", "sfix_optab", ",", "SImode", ",", "mode", ",", "\"__gcc_qtoi\"", ")", ";", "set_conv_libfunc", "(", "ufix_optab", ",", "SImode", ",", "mode", ",", "\"__gcc_qtou\"", ")", ";", "set_conv_libfunc", "(", "sfloat_optab", ",", "mode", ",", "SImode", ",", "\"__gcc_itoq\"", ")", ";", "set_conv_libfunc", "(", "ufloat_optab", ",", "mode", ",", "SImode", ",", "\"__gcc_utoq\"", ")", ";", "}", "if", "(", "!", "(", "TARGET_HARD_FLOAT", "&&", "TARGET_FPRS", ")", ")", "set_optab_libfunc", "(", "unord_optab", ",", "mode", ",", "\"__gcc_qunord\"", ")", ";", "}", "else", "{", "set_optab_libfunc", "(", "add_optab", ",", "mode", ",", "\"_xlqadd\"", ")", ";", "set_optab_libfunc", "(", "sub_optab", ",", "mode", ",", "\"_xlqsub\"", ")", ";", "set_optab_libfunc", "(", "smul_optab", ",", "mode", ",", "\"_xlqmul\"", ")", ";", "set_optab_libfunc", "(", "sdiv_optab", ",", "mode", ",", "\"_xlqdiv\"", ")", ";", "}", "if", "(", "mode", "==", "IFmode", ")", "{", "set_conv_libfunc", "(", "sext_optab", ",", "mode", ",", "SDmode", ",", "\"__dpd_extendsdtf2\"", ")", ";", "set_conv_libfunc", "(", "sext_optab", ",", "mode", ",", "DDmode", ",", "\"__dpd_extendddtf2\"", ")", ";", "set_conv_libfunc", "(", "trunc_optab", ",", "mode", ",", "TDmode", ",", "\"__dpd_trunctftd2\"", ")", ";", "set_conv_libfunc", "(", "trunc_optab", ",", "SDmode", ",", "mode", ",", "\"__dpd_trunctfsd2\"", ")", ";", "set_conv_libfunc", "(", "trunc_optab", ",", "DDmode", ",", "mode", ",", "\"__dpd_trunctfdd2\"", ")", ";", "set_conv_libfunc", "(", "sext_optab", ",", "TDmode", ",", "mode", ",", "\"__dpd_extendtdtf2\"", ")", ";", "if", "(", "TARGET_POWERPC64", ")", "{", "set_conv_libfunc", "(", "sfix_optab", ",", "TImode", ",", "mode", ",", "\"__fixtfti\"", ")", ";", "set_conv_libfunc", "(", "ufix_optab", ",", "TImode", ",", "mode", ",", "\"__fixunstfti\"", ")", ";", "set_conv_libfunc", "(", "sfloat_optab", ",", "mode", ",", "TImode", ",", "\"__floattitf\"", ")", ";", "set_conv_libfunc", "(", "ufloat_optab", ",", "mode", ",", "TImode", ",", "\"__floatuntitf\"", ")", ";", "}", "}", "}", ""], "natrual_language": ["Set", "up", "AIX/Darwin/64-bit", "Linux", "quad", "floating", "point", "routines", "."], "TS_V_token": ["rs6000", "\"__gcc_qadd\"", "\"__gcc_qsub\"", "\"__gcc_qmul\"", "\"__gcc_qdiv\"", "\"__gcc_qneg\"", "\"__gcc_qeq\"", "\"__gcc_qne\"", "\"__gcc_qgt\"", "\"__gcc_qge\"", "\"__gcc_qlt\"", "\"__gcc_qle\"", "\"__gcc_stoq\"", "\"__gcc_dtoq\"", "\"__gcc_qtos\"", "\"__gcc_qtod\"", "\"__gcc_qtoi\"", "\"__gcc_qtou\"", "\"__gcc_itoq\"", "\"__gcc_utoq\"", "\"__gcc_qunord\"", "\"_xlqadd\"", "\"_xlqsub\"", "\"_xlqmul\"", "\"_xlqdiv\"", "\"__dpd_extendsdtf2\"", "\"__dpd_extendddtf2\"", "\"__dpd_trunctftd2\"", "\"__dpd_trunctfsd2\"", "\"__dpd_trunctfdd2\"", "\"__dpd_extendtdtf2\"", "\"__fixtfti\"", "\"__fixunstfti\"", "\"__floattitf\"", "\"__floatuntitf\""], "File": "rs60005", "Func": "init_float128_ibm", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9564, "Length": 399, "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": 9565, "Length": 52, "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": ["Comet2"], "File": "Comet2TargetMachine", "Func": "getObjFileLowering", "Target": "Comet2", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9566, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_default_short_enums", "(", "void", ")", "{", "return", "TARGET_AAPCS_BASED", "&&", "arm_abi", "!=", "ARM_ABI_AAPCS_LINUX", ";", "}", ""], "natrual_language": ["AAPCS", "based", "ABIs", "use", "short", "enums", "by", "default", "."], "TS_V_token": ["arm"], "File": "arm3", "Func": "arm_default_short_enums", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9567, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "doInitialization", "(", "Module", "&", "M", ")", "override", "{", "SMShadowTracker", ".", "reset", "(", "0", ")", ";", "SM", ".", "reset", "(", ")", ";", "FM", ".", "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": "X86AsmPrinter (2)2", "Func": "doInitialization", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9568, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCDAGToDAGISel", "::", "PostprocessISelDAG", "(", ")", "{", "if", "(", "TM", ".", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ")", "return", ";", "PeepholePPC64", "(", ")", ";", "PeepholeCROps", "(", ")", ";", "PeepholePPC64ZExt", "(", ")", ";", "}", ""], "natrual_language": ["PostprocessISelDAG", "(", ")", "-", "This", "hook", "allows", "the", "target", "to", "hack", "on", "the", "graph", "right", "after", "selection", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC"], "File": "PPCISelDAGToDAG (2)1", "Func": "PostprocessISelDAG", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9569, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mmix_register_move_cost", "(", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "enum", "reg_class", "from", ",", "enum", "reg_class", "to", ")", "{", "return", "(", "from", "==", "GENERAL_REGS", "&&", "from", "==", "to", ")", "?", "2", ":", "3", ";", "}", ""], "natrual_language": ["REGISTER_MOVE_COST", "."], "TS_V_token": ["mmix", "2", "3"], "File": "mmix3", "Func": "mmix_register_move_cost", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9570, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "&", "MI", ",", "Register", "&", "SrcReg", ",", "Register", "&", "SrcReg2", ",", "int", "&", "CmpMask", ",", "int", "&", "CmpValue", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ARM", "::", "CMPri", ":", "case", "ARM", "::", "t2CMPri", ":", "case", "ARM", "::", "tCMPi8", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "0", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "return", "true", ";", "case", "ARM", "::", "CMPrr", ":", "case", "ARM", "::", "t2CMPrr", ":", "case", "ARM", "::", "tCMPr", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "0", ";", "return", "true", ";", "case", "ARM", "::", "TSTri", ":", "case", "ARM", "::", "t2TSTri", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "0", ";", "CmpMask", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "CmpValue", "=", "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": ["ARM", "ARM", "ARM::CMPri", "ARM::t2CMPri", "ARM::tCMPi8", "0", "0", "0", "1", "ARM::CMPrr", "ARM::t2CMPrr", "ARM::tCMPr", "0", "1", "0", "0", "ARM::TSTri", "ARM::t2TSTri", "0", "0", "1", "0"], "File": "ARMBaseInstrInfo116", "Func": "analyzeCompare", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9571, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getFramePred", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "assert", "(", "isFrameInstr", "(", "MI", ")", ")", ";", "if", "(", "isFrameSetup", "(", "MI", ")", ")", "return", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "assert", "(", "MI", ".", "getOpcode", "(", ")", "==", "ARM", "::", "ADJCALLSTACKUP", "||", "MI", ".", "getOpcode", "(", ")", "==", "ARM", "::", "tADJCALLSTACKUP", ")", ";", "return", "MI", ".", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "predicate", "register", "associated", "with", "the", "given", "frame", "instruction", "."], "TS_V_token": ["ARM", "2", "ARM::ADJCALLSTACKUP", "ARM::tADJCALLSTACKUP", "3"], "File": "ARMBaseInstrInfo21", "Func": "getFramePred", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9572, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "KnownBits", "&", "Known", ",", "const", "APInt", "&", "DemandedElts", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "unsigned", "BitWidth", "=", "Known", ".", "getBitWidth", "(", ")", ";", "Known", ".", "resetAll", "(", ")", ";", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ARMISD", "::", "ADDC", ":", "case", "ARMISD", "::", "ADDE", ":", "case", "ARMISD", "::", "SUBC", ":", "case", "ARMISD", "::", "SUBE", ":", "if", "(", "Op", ".", "getResNo", "(", ")", "==", "0", ")", "break", ";", "Known", ".", "Zero", "|=", "APInt", "::", "getHighBitsSet", "(", "BitWidth", ",", "BitWidth", "-", "1", ")", ";", "break", ";", "case", "ARMISD", "::", "CMOV", ":", "{", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "0", ")", ",", "Known", ",", "Depth", "+", "1", ")", ";", "if", "(", "Known", ".", "isUnknown", "(", ")", ")", "return", ";", "KnownBits", "KnownRHS", ";", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "1", ")", ",", "KnownRHS", ",", "Depth", "+", "1", ")", ";", "Known", ".", "Zero", "&=", "KnownRHS", ".", "Zero", ";", "Known", ".", "One", "&=", "KnownRHS", ".", "One", ";", "return", ";", "}", "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", "::", "arm_ldaex", ":", "case", "Intrinsic", "::", "arm_ldrex", ":", "{", "EVT", "VT", "=", "cast", "<", "MemIntrinsicSDNode", ">", "(", "Op", ")", "->", "getMemoryVT", "(", ")", ";", "unsigned", "MemBits", "=", "VT", ".", "getScalarSizeInBits", "(", ")", ";", "Known", ".", "Zero", "|=", "APInt", "::", "getHighBitsSet", "(", "BitWidth", ",", "BitWidth", "-", "MemBits", ")", ";", "return", ";", "}", "}", "}", "case", "ARMISD", "::", "BFI", ":", "{", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "0", ")", ",", "Known", ",", "Depth", "+", "1", ")", ";", "ConstantSDNode", "*", "CI", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "2", ")", ")", ";", "const", "APInt", "&", "Mask", "=", "CI", "->", "getAPIntValue", "(", ")", ";", "Known", ".", "Zero", "&=", "Mask", ";", "Known", ".", "One", "&=", "Mask", ";", "return", ";", "}", "}", "}", ""], "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": ["ARM", "ARM", "ARMISD::ADDC", "ARMISD::ADDE", "ARMISD::SUBC", "ARMISD::SUBE", "0", "1", "ARMISD::CMOV", "0", "1", "1", "1", "ISD::INTRINSIC_W_CHAIN", "1", "Intrinsic::ID", "Intrinsic::ID", "Intrinsic::arm_ldaex", "Intrinsic::arm_ldrex", "ARMISD::BFI", "0", "1", "2"], "File": "ARMISelLowering108", "Func": "computeKnownBitsForTargetNode", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9573, "Length": 354, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "Mips16InstrInfo", "::", "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": ["Mips", "Mips", "0"], "File": "Mips16InstrInfo (2)", "Func": "isLoadFromStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9574, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_load_insn", "(", "rtx", "insn", ")", "{", "if", "(", "!", "insn", "||", "!", "INSN_P", "(", "insn", ")", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "insn", ")", "==", "CALL_INSN", ")", "return", "false", ";", "return", "is_load_insn1", "(", "PATTERN", "(", "insn", ")", ")", ";", "}", ""], "natrual_language": ["Determine", "if", "INSN", "loads", "from", "memory", "."], "TS_V_token": ["rs6000"], "File": "rs60003", "Func": "is_load_insn", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9575, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetMachine", "::", "resetSubtarget", "(", "MachineFunction", "*", "MF", ")", "{", "LLVM_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": "MipsTargetMachine16", "Func": "resetSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9576, "Length": 45, "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": 9577, "Length": 107, "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": 9578, "Length": 121, "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": 9579, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "DLXTargetObjectFile", "::", "isConstantInSmallSection", "(", "const", "DataLayout", "&", "DL", ",", "const", "Constant", "*", "CN", ")", "const", "{", "return", "isInSmallSection", "(", "DL", ".", "getTypeAllocSize", "(", "CN", "->", "getType", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "constant", "should", "be", "placed", "into", "small", "data", "section", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXTargetObjectFile", "Func": "isConstantInSmallSection", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9580, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "function_arg_advance", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "int", "named", ")", "{", "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\"", ",", "(", "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", "QImode", ":", "case", "HImode", ":", "case", "SImode", ":", "cum", "->", "gp_reg_found", "=", "1", ";", "cum", "->", "arg_words", "++", ";", "break", ";", "}", "}", ""], "natrual_language": ["Handle", "the", "FUNCTION_ARG_ADVANCE", "macro", ".", "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": ["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"], "File": "iq20002", "Func": "function_arg_advance", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9581, "Length": 285, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "ia64_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", "(", "!", "TARGET_HPUX", "&&", "TYPE_MODE", "(", "type", ")", "==", "TFmode", ")", "return", "\"g\"", ";", "if", "(", "TYPE_MODE", "(", "type", ")", "==", "XFmode", ")", "return", "TARGET_HPUX", "?", "\"u9__float80\"", ":", "\"e\"", ";", "if", "(", "TYPE_MODE", "(", "type", ")", "==", "RFmode", ")", "return", "\"u7__fpreg\"", ";", "return", "NULL", ";", "}", ""], "natrual_language": ["Return", "the", "mangling", "of", "TYPE", "if", "it", "is", "an", "extended", "fundamental", "type", "."], "TS_V_token": ["ia64", "\"g\"", "\"u9__float80\"", "\"e\"", "\"u7__fpreg\""], "File": "ia64", "Func": "ia64_mangle_type", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9582, "Length": 97, "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": 9583, "Length": 306, "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": 9584, "Length": 89, "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", ";", "}", "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"], "File": "AArch64Disassembler35", "Func": "getInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9585, "Length": 314, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16FrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "ArrayRef", "<", "CalleeSavedInfo", ">", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "for", "(", "const", "CalleeSavedInfo", "&", "I", ":", "CSI", ")", "{", "unsigned", "Reg", "=", "I", ".", "getReg", "(", ")", ";", "bool", "IsRAAndRetAddrIsTaken", "=", "(", "Reg", "==", "Mips", "::", "RA", ")", "&&", "MF", "->", "getFrameInfo", "(", ")", ".", "isReturnAddressTaken", "(", ")", ";", "if", "(", "!", "IsRAAndRetAddrIsTaken", ")", "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": ["Mips", "Mips", "Mips::RA"], "File": "Mips16FrameLowering35", "Func": "spillCalleeSavedRegisters", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9586, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "OpenRISCTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"unimplemented operand\"", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["OpenRISC", "OpenRISC", "\"unimplemented operand\""], "File": "OpenRISCISelLowering", "Func": "LowerOperation", "Target": "OpenRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9587, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nonpic_symbol_mentioned_p", "(", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", "||", "GET_CODE", "(", "x", ")", "==", "PC", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST_DOUBLE", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", "&&", "(", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_PIC", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_GOT", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_GOTOFF", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_GOTPLT", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_GOTTPOFF", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_DTPOFF", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_TPOFF", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_PLT", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_PCREL", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_SYMOFF", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_PCREL_SYMOFF", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_GOTFUNCDESC", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_GOTOFFFUNCDESC", ")", ")", "return", "false", ";", "const", "char", "*", "fmt", "=", "GET_RTX_FORMAT", "(", "GET_CODE", "(", "x", ")", ")", ";", "for", "(", "int", "i", "=", "GET_RTX_LENGTH", "(", "GET_CODE", "(", "x", ")", ")", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "if", "(", "fmt", "[", "i", "]", "==", "'E'", ")", "{", "for", "(", "int", "j", "=", "XVECLEN", "(", "x", ",", "i", ")", "-", "1", ";", "j", ">=", "0", ";", "j", "--", ")", "if", "(", "nonpic_symbol_mentioned_p", "(", "XVECEXP", "(", "x", ",", "i", ",", "j", ")", ")", ")", "return", "true", ";", "}", "else", "if", "(", "fmt", "[", "i", "]", "==", "'e'", "&&", "nonpic_symbol_mentioned_p", "(", "XEXP", "(", "x", ",", "i", ")", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "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": ["sh", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "0"], "File": "sh", "Func": "nonpic_symbol_mentioned_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9588, "Length": 289, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "auto", "*", "ZII", "=", "static_cast", "<", "const", "SystemZInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "SystemZMachineFunctionInfo", "*", "ZFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "MachineFrameInfo", "&", "MFFrame", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "GHC", ")", "return", ";", "assert", "(", "MBBI", "->", "isReturn", "(", ")", "&&", "\"Can only insert epilogue into returning blocks\"", ")", ";", "uint64_t", "StackSize", "=", "MFFrame", ".", "getStackSize", "(", ")", ";", "if", "(", "ZFI", "->", "getRestoreGPRRegs", "(", ")", ".", "LowGPR", ")", "{", "--", "MBBI", ";", "unsigned", "Opcode", "=", "MBBI", "->", "getOpcode", "(", ")", ";", "if", "(", "Opcode", "!=", "SystemZ", "::", "LMG", ")", "llvm_unreachable", "(", "\"Expected to see callee-save register restore code\"", ")", ";", "unsigned", "AddrOpNo", "=", "2", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "uint64_t", "Offset", "=", "StackSize", "+", "MBBI", "->", "getOperand", "(", "AddrOpNo", "+", "1", ")", ".", "getImm", "(", ")", ";", "unsigned", "NewOpcode", "=", "ZII", "->", "getOpcodeForOffset", "(", "Opcode", ",", "Offset", ")", ";", "if", "(", "!", "NewOpcode", ")", "{", "uint64_t", "NumBytes", "=", "Offset", "-", "0x7fff8", ";", "emitIncrement", "(", "MBB", ",", "MBBI", ",", "DL", ",", "MBBI", "->", "getOperand", "(", "AddrOpNo", ")", ".", "getReg", "(", ")", ",", "NumBytes", ",", "ZII", ")", ";", "Offset", "-=", "NumBytes", ";", "NewOpcode", "=", "ZII", "->", "getOpcodeForOffset", "(", "Opcode", ",", "Offset", ")", ";", "assert", "(", "NewOpcode", "&&", "\"No restore instruction available\"", ")", ";", "}", "MBBI", "->", "setDesc", "(", "ZII", "->", "get", "(", "NewOpcode", ")", ")", ";", "MBBI", "->", "getOperand", "(", "AddrOpNo", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", "else", "if", "(", "StackSize", ")", "{", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "emitIncrement", "(", "MBB", ",", "MBBI", ",", "DL", ",", "SystemZ", "::", "R15D", ",", "StackSize", ",", "ZII", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "\"Can only insert epilogue into returning blocks\"", "SystemZ::LMG", "\"Expected to see callee-save register restore code\"", "2", "1", "0x7fff8", "\"No restore instruction available\"", "1", "SystemZ::R15D"], "File": "SystemZFrameLowering1", "Func": "emitEpilogue", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9589, "Length": 310, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "gen_datalabel_ref", "(", "rtx", "sym", ")", "{", "const", "char", "*", "str", ";", "if", "(", "GET_CODE", "(", "sym", ")", "==", "LABEL_REF", ")", "return", "gen_rtx_CONST", "(", "GET_MODE", "(", "sym", ")", ",", "gen_rtx_UNSPEC", "(", "GET_MODE", "(", "sym", ")", ",", "gen_rtvec", "(", "1", ",", "sym", ")", ",", "UNSPEC_DATALABEL", ")", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "sym", ")", "==", "SYMBOL_REF", ")", ";", "str", "=", "XSTR", "(", "sym", ",", "0", ")", ";", "str", "=", "IDENTIFIER_POINTER", "(", "get_identifier", "(", "str", ")", ")", ";", "XSTR", "(", "sym", ",", "0", ")", "=", "str", ";", "return", "sym", ";", "}", ""], "natrual_language": ["Prefix", "a", "symbol_ref", "name", "with", "``", "datalabel", "''", "."], "TS_V_token": ["sh", "1", "0", "0"], "File": "sh3", "Func": "gen_datalabel_ref", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9590, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCDispatchGroupSBHazardRecognizer", "::", "PreEmitNoops", "(", "SUnit", "*", "SU", ")", "{", "if", "(", "isLoadAfterStore", "(", "SU", ")", "&&", "CurSlots", "<", "6", ")", "{", "unsigned", "Directive", "=", "DAG", "->", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "getCPUDirective", "(", ")", ";", "if", "(", "Directive", "==", "PPC", "::", "DIR_PWR6", "||", "Directive", "==", "PPC", "::", "DIR_PWR7", "||", "Directive", "==", "PPC", "::", "DIR_PWR8", "||", "Directive", "==", "PPC", "::", "DIR_PWR9", ")", "return", "1", ";", "return", "5", "-", "CurSlots", ";", "}", "return", "ScoreboardHazardRecognizer", "::", "PreEmitNoops", "(", "SU", ")", ";", "}", ""], "natrual_language": ["PreEmitNoops", "-", "This", "callback", "is", "invoked", "prior", "to", "emitting", "an", "instruction", "."], "TS_V_token": ["PowerPC", "PPC", "6", "PPC", "PPC::DIR_PWR6", "PPC::DIR_PWR7", "PPC::DIR_PWR8", "PPC::DIR_PWR9", "1", "5"], "File": "PPCHazardRecognizers20", "Func": "PreEmitNoops", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9591, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb1RegisterInfo", "::", "emitLoadConstPool", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "DebugLoc", "dl", ",", "unsigned", "DestReg", ",", "unsigned", "SubIdx", ",", "int", "Val", ",", "ARMCC", "::", "CondCodes", "Pred", ",", "unsigned", "PredReg", ",", "unsigned", "MIFlags", ")", "const", "{", "assert", "(", "(", "isARMLowRegister", "(", "DestReg", ")", "||", "isVirtualRegister", "(", "DestReg", ")", ")", "&&", "\"Thumb1 does not have ldr to high register\"", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "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", "::", "tLDRpci", ")", ")", ".", "addReg", "(", "DestReg", ",", "getDefRegState", "(", "true", ")", ",", "SubIdx", ")", ".", "addConstantPoolIndex", "(", "Idx", ")", ".", "addImm", "(", "Pred", ")", ".", "addReg", "(", "PredReg", ")", ".", "setMIFlags", "(", "MIFlags", ")", ";", "}", ""], "natrual_language": ["emitLoadConstPool", "-", "Emits", "a", "load", "from", "constpool", "to", "materialize", "the", "specified", "immediate", "."], "TS_V_token": ["ARM", "ARMCC::CondCodes", "ARM", "\"Thumb1 does not have ldr to high register\"", "4", "ARM::tLDRpci"], "File": "Thumb1RegisterInfo25", "Func": "emitLoadConstPool", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9592, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", ")", "{", "tree", "fntype", ";", "if", "(", "decl", ")", "fntype", "=", "TREE_TYPE", "(", "decl", ")", ";", "else", "fntype", "=", "TREE_TYPE", "(", "TREE_TYPE", "(", "CALL_EXPR_FN", "(", "exp", ")", ")", ")", ";", "if", "(", "TARGET_ALTIVEC_ABI", "&&", "TARGET_ALTIVEC_VRSAVE", "&&", "!", "(", "decl", "&&", "decl", "==", "current_function_decl", ")", ")", "{", "function_args_iterator", "args_iter", ";", "tree", "type", ";", "int", "nvreg", "=", "0", ";", "FOREACH_FUNCTION_ARGS", "(", "fntype", ",", "type", ",", "args_iter", ")", "if", "(", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", "&&", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "TYPE_MODE", "(", "type", ")", ")", ")", "nvreg", "++", ";", "FOREACH_FUNCTION_ARGS", "(", "TREE_TYPE", "(", "current_function_decl", ")", ",", "type", ",", "args_iter", ")", "if", "(", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", "&&", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "TYPE_MODE", "(", "type", ")", ")", ")", "nvreg", "--", ";", "if", "(", "nvreg", ">", "0", ")", "return", "false", ";", "}", "if", "(", "DEFAULT_ABI", "==", "ABI_DARWIN", "||", "(", "(", "DEFAULT_ABI", "==", "ABI_AIX", "||", "DEFAULT_ABI", "==", "ABI_ELFv2", ")", "&&", "decl", "&&", "!", "DECL_EXTERNAL", "(", "decl", ")", "&&", "!", "DECL_WEAK", "(", "decl", ")", "&&", "(", "*", "targetm", ".", "binds_local_p", ")", "(", "decl", ")", ")", "||", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "(", "!", "TARGET_SECURE_PLT", "||", "!", "flag_pic", "||", "(", "decl", "&&", "(", "*", "targetm", ".", "binds_local_p", ")", "(", "decl", ")", ")", ")", ")", ")", "{", "tree", "attr_list", "=", "TYPE_ATTRIBUTES", "(", "fntype", ")", ";", "if", "(", "!", "lookup_attribute", "(", "\"longcall\"", ",", "attr_list", ")", "||", "lookup_attribute", "(", "\"shortcall\"", ",", "attr_list", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Say", "whether", "a", "function", "is", "a", "candidate", "for", "sibcall", "handling", "or", "not", ".", "We", "do", "not", "allow", "indirect", "calls", "to", "be", "optimized", "into", "sibling", "calls", ".", "Also", ",", "we", "ca", "n't", "do", "it", "if", "there", "are", "any", "vector", "parameters", ";", "there", "'s", "nowhere", "to", "put", "the", "VRsave", "code", "so", "it", "works", ";", "note", "that", "functions", "with", "vector", "parameters", "are", "required", "to", "have", "a", "prototype", ",", "so", "the", "argument", "type", "info", "must", "be", "available", "here", ".", "(", "The", "tail", "recursion", "case", "can", "work", "with", "vector", "parameters", ",", "but", "there", "'s", "no", "way", "to", "distinguish", "here", ".", ")"], "TS_V_token": ["rs6000", "0", "0", "\"longcall\"", "\"shortcall\""], "File": "rs60005", "Func": "rs6000_function_ok_for_sibcall", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9593, "Length": 239, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FISCTargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ")", "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": ["FISC", "FISC", "0", "1"], "File": "FISCISelLowering", "Func": "isLegalAddressingMode", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9594, "Length": 70, "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": ["Cpu0"], "File": "Cpu0AsmBackend1", "Func": "mayNeedRelaxation", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9595, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCPostRASchedStrategy", "::", "initialize", "(", "ScheduleDAGMI", "*", "Dag", ")", "{", "PostGenericScheduler", "::", "initialize", "(", "Dag", ")", ";", "}", ""], "natrual_language": ["Initialize", "the", "strategy", "after", "building", "the", "DAG", "for", "a", "new", "region", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCMachineScheduler", "Func": "initialize", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9596, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64ConditionalCompares", "::", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "MachineBranchProbabilityInfo", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineLoopInfo", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineLoopInfo", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineTraceMetrics", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineTraceMetrics", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ConditionalCompares (2)", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9597, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc_expand_vcond", "(", "machine_mode", "mode", ",", "rtx", "*", "operands", ",", "int", "ccode", ",", "int", "fcode", ")", "{", "enum", "rtx_code", "code", "=", "signed_condition", "(", "GET_CODE", "(", "operands", "[", "3", "]", ")", ")", ";", "rtx", "mask", ",", "cop0", ",", "cop1", ",", "fcmp", ",", "cmask", ",", "bshuf", ",", "gsr", ";", "mask", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "cop0", "=", "operands", "[", "4", "]", ";", "cop1", "=", "operands", "[", "5", "]", ";", "if", "(", "code", "==", "LT", "||", "code", "==", "GE", ")", "{", "code", "=", "swap_condition", "(", "code", ")", ";", "std", "::", "swap", "(", "cop0", ",", "cop1", ")", ";", "}", "gsr", "=", "gen_rtx_REG", "(", "DImode", ",", "SPARC_GSR_REG", ")", ";", "fcmp", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "cop0", ",", "cop1", ")", ")", ",", "fcode", ")", ";", "cmask", "=", "gen_rtx_UNSPEC", "(", "DImode", ",", "gen_rtvec", "(", "2", ",", "mask", ",", "gsr", ")", ",", "ccode", ")", ";", "bshuf", "=", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "3", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ",", "gsr", ")", ",", "UNSPEC_BSHUFFLE", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "mask", ",", "fcmp", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "gsr", ",", "cmask", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "operands", "[", "0", "]", ",", "bshuf", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "conditionally", "move", "a", "combination", "of", "OPERANDS", "[", "1", "]", "and", "OPERANDS", "[", "2", "]", "into", "OPERANDS", "[", "0", "]", "in", "MODE", ",", "depending", "on", "the", "outcome", "of", "the", "comparison", "of", "OPERANDS", "[", "4", "]", "and", "OPERANDS", "[", "5", "]", ".", "OPERANDS", "[", "3", "]", "is", "the", "operator", "of", "the", "condition", ".", "FCODE", "is", "the", "machine", "code", "to", "be", "used", "for", "OPERANDS", "[", "3", "]", "and", "CCODE", "the", "machine", "code", "to", "be", "used", "for", "the", "condition", "mask", "."], "TS_V_token": ["sparc", "3", "4", "5", "1", "2", "3", "1", "2", "0"], "File": "sparc1", "Func": "sparc_expand_vcond", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9598, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16HardFloat", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "auto", "&", "TM", "=", "static_cast", "<", "const", "MipsTargetMachine", "&", ">", "(", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ".", "getTM", "<", "TargetMachine", ">", "(", ")", ")", ";", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\"Run on Module Mips16HardFloat\\n\"", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "Module", "::", "iterator", "F", "=", "M", ".", "begin", "(", ")", ",", "E", "=", "M", ".", "end", "(", ")", ";", "F", "!=", "E", ";", "++", "F", ")", "{", "if", "(", "F", "->", "hasFnAttribute", "(", "\"nomips16\"", ")", "&&", "F", "->", "hasFnAttribute", "(", "\"use-soft-float\"", ")", ")", "{", "removeUseSoftFloat", "(", "*", "F", ")", ";", "continue", ";", "}", "if", "(", "F", "->", "isDeclaration", "(", ")", "||", "F", "->", "hasFnAttribute", "(", "\"mips16_fp_stub\"", ")", "||", "F", "->", "hasFnAttribute", "(", "\"nomips16\"", ")", ")", "continue", ";", "Modified", "|=", "fixupFPReturnAndCall", "(", "*", "F", ",", "&", "M", ",", "TM", ")", ";", "FPParamVariant", "V", "=", "whichFPParamVariantNeeded", "(", "*", "F", ")", ";", "if", "(", "V", "!=", "NoSig", ")", "{", "Modified", "=", "true", ";", "createFPFnStub", "(", "&", "*", "F", ",", "&", "M", ",", "V", ",", "TM", ")", ";", "}", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["Mips", "Mips", "Mips", "\"Run on Module Mips16HardFloat\\n\"", "\"nomips16\"", "\"use-soft-float\"", "\"mips16_fp_stub\"", "\"nomips16\""], "File": "Mips16HardFloat1", "Func": "runOnModule", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9599, "Length": 182, "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", "::", "EXTRACT_VECTOR_ELT", ":", "return", "PerformEXTRACT_VECTOR_ELTCombine", "(", "N", ",", "DAG", ",", "DCI", ")", ";", "case", "ISD", "::", "VSELECT", ":", "case", "ISD", "::", "SELECT", ":", "return", "PerformSELECTCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "X86ISD", "::", "CMOV", ":", "return", "PerformCMOVCombine", "(", "N", ",", "DAG", ",", "DCI", ")", ";", "case", "ISD", "::", "ADD", ":", "return", "PerformAddCombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SUB", ":", "return", "PerformSubCombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "case", "X86ISD", "::", "ADC", ":", "return", "PerformADCCombine", "(", "N", ",", "DAG", ",", "DCI", ")", ";", "case", "ISD", "::", "MUL", ":", "return", "PerformMulCombine", "(", "N", ",", "DAG", ",", "DCI", ")", ";", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SRL", ":", "return", "PerformShiftCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "AND", ":", "return", "PerformAndCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "OR", ":", "return", "PerformOrCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "XOR", ":", "return", "PerformXorCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "PerformLOADCombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "PerformSTORECombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SINT_TO_FP", ":", "return", "PerformSINT_TO_FPCombine", "(", "N", ",", "DAG", ",", "this", ")", ";", "case", "ISD", "::", "FADD", ":", "return", "PerformFADDCombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "FSUB", ":", "return", "PerformFSUBCombine", "(", "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", "::", "ZERO_EXTEND", ":", "return", "PerformZExtCombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "return", "PerformSExtCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "TRUNCATE", ":", "return", "PerformTruncateCombine", "(", "N", ",", "DAG", ",", "DCI", ")", ";", "case", "X86ISD", "::", "SETCC", ":", "return", "PerformSETCCCombine", "(", "N", ",", "DAG", ")", ";", "case", "X86ISD", "::", "SHUFP", ":", "case", "X86ISD", "::", "PALIGN", ":", "case", "X86ISD", "::", "UNPCKH", ":", "case", "X86ISD", "::", "UNPCKL", ":", "case", "X86ISD", "::", "MOVHLPS", ":", "case", "X86ISD", "::", "MOVLHPS", ":", "case", "X86ISD", "::", "PSHUFD", ":", "case", "X86ISD", "::", "PSHUFHW", ":", "case", "X86ISD", "::", "PSHUFLW", ":", "case", "X86ISD", "::", "MOVSS", ":", "case", "X86ISD", "::", "MOVSD", ":", "case", "X86ISD", "::", "VPERMILP", ":", "case", "X86ISD", "::", "VPERM2X128", ":", "case", "ISD", "::", "VECTOR_SHUFFLE", ":", "return", "PerformShuffleCombine", "(", "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": ["X86", "X86", "ISD::EXTRACT_VECTOR_ELT", "ISD::VSELECT", "ISD::SELECT", "X86ISD::CMOV", "ISD::ADD", "ISD::SUB", "X86ISD::ADC", "ISD::MUL", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::AND", "ISD::OR", "ISD::XOR", "ISD::LOAD", "ISD::STORE", "ISD::SINT_TO_FP", "ISD::FADD", "ISD::FSUB", "X86ISD::FXOR", "X86ISD::FOR", "X86ISD::FAND", "X86ISD::BT", "X86ISD::VZEXT_MOVL", "ISD::ZERO_EXTEND", "ISD::SIGN_EXTEND", "ISD::TRUNCATE", "X86ISD::SETCC", "X86ISD::SHUFP", "X86ISD::PALIGN", "X86ISD::UNPCKH", "X86ISD::UNPCKL", "X86ISD::MOVHLPS", "X86ISD::MOVLHPS", "X86ISD::PSHUFD", "X86ISD::PSHUFHW", "X86ISD::PSHUFLW", "X86ISD::MOVSS", "X86ISD::MOVSD", "X86ISD::VPERMILP", "X86ISD::VPERM2X128", "ISD::VECTOR_SHUFFLE"], "File": "X86ISelLowering114", "Func": "PerformDAGCombine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9600, "Length": 509, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "MachineModuleInfo", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["PowerPC"], "File": "PPCCodeEmitter1", "Func": "getAnalysisUsage", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9601, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createInterleavedAccessPass", "(", ")", ")", ";", "addPass", "(", "createX86PartialReductionPass", "(", ")", ")", ";", "}", "addPass", "(", "createIndirectBrExpandPass", "(", ")", ")", ";", "const", "Triple", "&", "TT", "=", "TM", "->", "getTargetTriple", "(", ")", ";", "if", "(", "TT", ".", "isOSWindows", "(", ")", ")", "{", "if", "(", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", "{", "addPass", "(", "createCFGuardDispatchPass", "(", ")", ")", ";", "}", "else", "{", "addPass", "(", "createCFGuardCheckPass", "(", ")", ")", ";", "}", "}", "}", ""], "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": "X86TargetMachine16", "Func": "addIRPasses", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9602, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "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", "DummyBool", ";", "int", "DummyInt", ";", "unsigned", "DummyUnsigned", ";", "return", "(", "ShuffleVectorSDNode", "::", "isSplatMask", "(", "&", "M", "[", "0", "]", ",", "VT", ")", "||", "isREVMask", "(", "M", ",", "VT", ",", "64", ")", "||", "isREVMask", "(", "M", ",", "VT", ",", "32", ")", "||", "isREVMask", "(", "M", ",", "VT", ",", "16", ")", "||", "isEXTMask", "(", "M", ",", "VT", ",", "DummyBool", ",", "DummyUnsigned", ")", "||", "isTRNMask", "(", "M", ",", "VT", ",", "DummyUnsigned", ")", "||", "isUZPMask", "(", "M", ",", "VT", ",", "DummyUnsigned", ")", "||", "isZIPMask", "(", "M", ",", "VT", ",", "DummyUnsigned", ")", "||", "isTRN_v_undef_Mask", "(", "M", ",", "VT", ",", "DummyUnsigned", ")", "||", "isUZP_v_undef_Mask", "(", "M", ",", "VT", ",", "DummyUnsigned", ")", "||", "isZIP_v_undef_Mask", "(", "M", ",", "VT", ",", "DummyUnsigned", ")", "||", "isINSMask", "(", "M", ",", "VT", ".", "getVectorNumElements", "(", ")", ",", "DummyBool", ",", "DummyInt", ")", "||", "isConcatMask", "(", "M", ",", "VT", ",", "VT", ".", "getSizeInBits", "(", ")", "==", "128", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "can", "use", "this", "to", "indicate", "that", "they", "only", "support", "some", "VECTOR_SHUFFLE", "operations", ",", "those", "with", "specific", "masks", "."], "TS_V_token": ["AArch64", "AArch64", "4", "4", "0", "4", "0", "8", "0", "9", "9", "9", "1", "9", "9", "2", "9", "3", "30", "4", "0", "64", "32", "16", "128"], "File": "AArch64ISelLowering (2)", "Func": "isShuffleMaskLegal", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9603, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "isFrameLoadOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", "if", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getSubReg", "(", ")", "==", "0", "&&", "isFrameOperand", "(", "MI", ",", "1", ",", "FrameIndex", ")", ")", "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": ["X86", "X86", "0", "0", "1", "0", "0"], "File": "X86InstrInfo (2)", "Func": "isLoadFromStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9604, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LC3bInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ")", "{", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["LC3b", "LC3b"], "File": "LC3bInstPrinter", "Func": "printInst", "Target": "LC3b", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9605, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "targetHandlesStackFrameRounding", "(", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["targetHandlesStackFrameRounding", "-", "Returns", "true", "if", "the", "target", "is", "responsible", "for", "rounding", "up", "the", "stack", "frame", "(", "probably", "at", "emitPrologue", "time", ")", "."], "TS_V_token": ["PowerPC"], "File": "PPCFrameInfo1", "Func": "targetHandlesStackFrameRounding", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9606, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCTargetLowering", "::", "LowerAsmOperandForConstraint", "(", "SDValue", "Op", ",", "char", "Letter", ",", "bool", "hasMemory", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "Ops", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDValue", "Result", "(", "0", ",", "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", ";", "unsigned", "Value", "=", "CST", "->", "getZExtValue", "(", ")", ";", "switch", "(", "Letter", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown constraint letter!\"", ")", ";", "case", "'I'", ":", "if", "(", "(", "short", ")", "Value", "==", "(", "int", ")", "Value", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "case", "'J'", ":", "case", "'L'", ":", "if", "(", "(", "short", ")", "Value", "==", "0", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "case", "'K'", ":", "if", "(", "(", "Value", ">>", "16", ")", "==", "0", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "case", "'M'", ":", "if", "(", "Value", ">", "31", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "case", "'N'", ":", "if", "(", "(", "int", ")", "Value", ">", "0", "&&", "isPowerOf2_32", "(", "Value", ")", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "case", "'O'", ":", "if", "(", "Value", "==", "0", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "case", "'P'", ":", "if", "(", "(", "short", ")", "-", "Value", "==", "(", "int", ")", "-", "Value", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "}", "break", ";", "}", "}", "if", "(", "Result", ".", "getNode", "(", ")", ")", "{", "Ops", ".", "push_back", "(", "Result", ")", ";", "return", ";", "}", "TargetLowering", "::", "LowerAsmOperandForConstraint", "(", "Op", ",", "Letter", ",", "hasMemory", ",", "Ops", ",", "DAG", ")", ";", "}", ""], "natrual_language": ["Lower", "the", "specified", "operand", "into", "the", "Ops", "vector", "."], "TS_V_token": ["PowerPC", "PPC", "0", "0", "\"Unknown constraint letter!\"", "0", "16", "0", "31", "0", "0"], "File": "PPCISelLowering107", "Func": "LowerAsmOperandForConstraint", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9607, "Length": 365, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCSubtarget", "::", "enablePostRAScheduler", "(", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["True", "if", "the", "subtarget", "should", "run", "a", "scheduler", "after", "register", "allocation", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCSubtarget (2)", "Func": "enablePostRAScheduler", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9608, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "registers_ok_for_ldd_peep", "(", "rtx", "reg1", ",", "rtx", "reg2", ")", "{", "if", "(", "GET_CODE", "(", "reg1", ")", "!=", "REG", "||", "GET_CODE", "(", "reg2", ")", "!=", "REG", ")", "return", "0", ";", "if", "(", "REGNO", "(", "reg1", ")", "%", "2", "!=", "0", ")", "return", "0", ";", "if", "(", "TARGET_V9", "&&", "SPARC_INT_REG_P", "(", "REGNO", "(", "reg1", ")", ")", ")", "return", "0", ";", "return", "(", "REGNO", "(", "reg1", ")", "==", "REGNO", "(", "reg2", ")", "-", "1", ")", ";", "}", ""], "natrual_language": ["Return", "1", "if", "REGNO", "(", "reg1", ")", "is", "even", "and", "REGNO", "(", "reg1", ")", "==", "REGNO", "(", "reg2", ")", "-", "1", ".", "This", "makes", "them", "candidates", "for", "using", "ldd", "and", "std", "insns", ".", "Note", "reg1", "and", "reg2", "*", "must", "*", "be", "hard", "registers", "."], "TS_V_token": ["sparc", "0", "2", "0", "0", "0", "1"], "File": "sparc", "Func": "registers_ok_for_ldd_peep", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9609, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", ",", "unsigned", ",", "MachineMemOperand", "::", "Flags", ",", "bool", "*", "Fast", ")", "const", "{", "if", "(", "DisablePPCUnaligned", ")", "return", "false", ";", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "if", "(", "VT", ".", "isFloatingPoint", "(", ")", "&&", "!", "Subtarget", ".", "allowsUnalignedFPAccess", "(", ")", ")", "return", "false", ";", "if", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "isVector", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "hasVSX", "(", ")", ")", "{", "if", "(", "VT", "!=", "MVT", "::", "v2f64", "&&", "VT", "!=", "MVT", "::", "v2i64", "&&", "VT", "!=", "MVT", "::", "v4f32", "&&", "VT", "!=", "MVT", "::", "v4i32", ")", "return", "false", ";", "}", "else", "{", "return", "false", ";", "}", "}", "if", "(", "VT", "==", "MVT", "::", "ppcf128", ")", "return", "false", ";", "if", "(", "Fast", ")", "*", "Fast", "=", "true", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "MVT::v2f64", "MVT::v2i64", "MVT::v4f32", "MVT::v4i32", "MVT::ppcf128"], "File": "PPCISelLowering101", "Func": "allowsMisalignedMemoryAccesses", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9610, "Length": 142, "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\"", ")", ";", "if", "(", "Factor", ">", "4", ")", "return", "false", ";", "unsigned", "NumSubElts", "=", "VecTy", "->", "getVectorNumElements", "(", ")", "/", "Factor", ";", "Type", "*", "EltTy", "=", "VecTy", "->", "getVectorElementType", "(", ")", ";", "VectorType", "*", "SubVecTy", "=", "VectorType", "::", "get", "(", "EltTy", ",", "NumSubElts", ")", ";", "const", "DataLayout", "&", "DL", "=", "SI", "->", "getModule", "(", ")", "->", "getDataLayout", "(", ")", ";", "unsigned", "SubVecSize", "=", "DL", ".", "getTypeSizeInBits", "(", "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\"", "4", "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": "AArch64ISelLowering102", "Func": "lowerInterleavedStore", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9611, "Length": 419, "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": ["MINA32"], "File": "MINA32AsmParser", "Func": "isImm", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9612, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseTargetMachine", "::", "addPreEmitPass", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "!", "DisableLdStOpti", "&&", "!", "Subtarget", ".", "isThumb1Only", "(", ")", ")", "PM", ".", "add", "(", "createARMLoadStoreOptimizationPass", "(", ")", ")", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "!", "DisableIfConversion", "&&", "!", "Subtarget", ".", "isThumb1Only", "(", ")", ")", "PM", ".", "add", "(", "createIfConverterPass", "(", ")", ")", ";", "if", "(", "Subtarget", ".", "isThumb2", "(", ")", ")", "{", "PM", ".", "add", "(", "createThumb2ITBlockPass", "(", ")", ")", ";", "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", "ARM"], "File": "ARMTargetMachine16", "Func": "addPreEmitPass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9613, "Length": 110, "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": 9614, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "compute_convert_gain", "(", ")", "{", "return", "1", ";", "}", ""], "natrual_language": ["Compute", "a", "gain", "for", "chain", "conversion", "."], "TS_V_token": ["i386", "1"], "File": "i386-features", "Func": "compute_convert_gain", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9615, "Length": 9, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsLongBranch", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "const", "MipsSubtarget", "&", "STI", "=", "static_cast", "<", "const", "MipsSubtarget", "&", ">", "(", "F", ".", "getSubtarget", "(", ")", ")", ";", "const", "MipsInstrInfo", "*", "TII", "=", "static_cast", "<", "const", "MipsInstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "LongBranchSeqSize", "=", "!", "IsPIC", "?", "2", ":", "(", "ABI", ".", "IsN64", "(", ")", "?", "10", ":", "(", "!", "STI", ".", "isTargetNaCl", "(", ")", "?", "9", ":", "10", ")", ")", ";", "if", "(", "STI", ".", "inMips16Mode", "(", ")", "||", "!", "STI", ".", "enableLongBranchPass", "(", ")", ")", "return", "false", ";", "if", "(", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "&&", "static_cast", "<", "const", "MipsTargetMachine", "&", ">", "(", "TM", ")", ".", "getABI", "(", ")", ".", "IsO32", "(", ")", "&&", "F", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", "->", "globalBaseRegSet", "(", ")", ")", "emitGPDisp", "(", "F", ",", "TII", ")", ";", "if", "(", "SkipLongBranch", ")", "return", "true", ";", "MF", "=", "&", "F", ";", "initMBBInfo", "(", ")", ";", "SmallVectorImpl", "<", "MBBInfo", ">", "::", "iterator", "I", ",", "E", "=", "MBBInfos", ".", "end", "(", ")", ";", "bool", "EverMadeChange", "=", "false", ",", "MadeChange", "=", "true", ";", "while", "(", "MadeChange", ")", "{", "MadeChange", "=", "false", ";", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "!", "I", "->", "Br", "||", "I", "->", "HasLongBranch", ")", "continue", ";", "int", "ShVal", "=", "STI", ".", "inMicroMipsMode", "(", ")", "?", "2", ":", "4", ";", "int64_t", "Offset", "=", "computeOffset", "(", "I", "->", "Br", ")", "/", "ShVal", ";", "if", "(", "STI", ".", "isTargetNaCl", "(", ")", ")", "{", "Offset", "*=", "2", ";", "}", "if", "(", "!", "ForceLongBranch", "&&", "isInt", "<", "16", ">", "(", "Offset", ")", ")", "continue", ";", "I", "->", "HasLongBranch", "=", "true", ";", "I", "->", "Size", "+=", "LongBranchSeqSize", "*", "4", ";", "++", "LongBranches", ";", "EverMadeChange", "=", "MadeChange", "=", "true", ";", "}", "}", "if", "(", "!", "EverMadeChange", ")", "return", "true", ";", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "{", "uint64_t", "Address", "=", "0", ";", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "Address", "+=", "I", "->", "Size", ",", "++", "I", ")", "I", "->", "Address", "=", "Address", ";", "}", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "if", "(", "I", "->", "HasLongBranch", ")", "expandToLongBranch", "(", "*", "I", ")", ";", "MF", "->", "RenumberBlocks", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "2", "10", "9", "10", "Mips", "Mips", "Mips", "Mips", "2", "4", "2", "16", "4", "0"], "File": "MipsLongBranch23", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9616, "Length": 403, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isPredicated", "(", ")", "const", "{", "return", "Predicated", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "instruction", "is", "already", "predicated", "."], "TS_V_token": ["AArch64"], "File": "AArch64AsmParser (2)2", "Func": "isPredicated", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9617, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_do_expand_vec_perm", "(", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ",", "machine_mode", "vmode", ",", "unsigned", "nelt", ",", "rtx", "perm", "[", "]", ")", "{", "machine_mode", "imode", ";", "rtx", "x", ";", "imode", "=", "vmode", ";", "if", "(", "GET_MODE_CLASS", "(", "vmode", ")", "!=", "MODE_VECTOR_INT", ")", "{", "imode", "=", "mode_for_size", "(", "GET_MODE_UNIT_BITSIZE", "(", "vmode", ")", ",", "MODE_INT", ",", "0", ")", ";", "imode", "=", "mode_for_vector", "(", "imode", ",", "nelt", ")", ";", "}", "x", "=", "gen_rtx_CONST_VECTOR", "(", "imode", ",", "gen_rtvec_v", "(", "nelt", ",", "perm", ")", ")", ";", "x", "=", "expand_vec_perm", "(", "vmode", ",", "op0", ",", "op1", ",", "x", ",", "target", ")", ";", "if", "(", "x", "!=", "target", ")", "emit_move_insn", "(", "target", ",", "x", ")", ";", "}", ""], "natrual_language": ["A", "subroutine", "for", "rs6000_expand_extract_even", "&", "rs6000_expand_interleave", "."], "TS_V_token": ["rs6000", "0"], "File": "rs60005", "Func": "rs6000_do_expand_vec_perm", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9618, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "function_expander", "::", "prepare_gather_address_operands", "(", "unsigned", "int", "argno", ",", "bool", "scaled_p", ")", "{", "machine_mode", "mem_mode", "=", "memory_vector_mode", "(", ")", ";", "tree", "vector_type", "=", "base_vector_type", "(", ")", ";", "units_index", "units", "=", "displacement_units", "(", ")", ";", "int", "shift_idx", "=", "-", "1", ";", "if", "(", "units", "==", "UNITS_none", ")", "{", "args", ".", "quick_insert", "(", "argno", ",", "const0_rtx", ")", ";", "units", "=", "UNITS_bytes", ";", "}", "else", "if", "(", "vector_type", ")", "{", "std", "::", "swap", "(", "args", "[", "argno", "]", ",", "args", "[", "argno", "+", "1", "]", ")", ";", "if", "(", "units", "==", "UNITS_elements", ")", "shift_idx", "=", "argno", ";", "}", "else", "{", "args", "[", "argno", "]", "=", "convert_to_pmode", "(", "args", "[", "argno", "]", ")", ";", "vector_type", "=", "displacement_vector_type", "(", ")", ";", "if", "(", "units", "==", "UNITS_elements", "&&", "!", "scaled_p", ")", "shift_idx", "=", "argno", "+", "1", ";", "}", "tree", "scalar_displacement_type", "=", "TREE_TYPE", "(", "vector_type", ")", ";", "if", "(", "shift_idx", ">=", "0", ")", "{", "machine_mode", "arg_mode", "=", "GET_MODE", "(", "args", "[", "shift_idx", "]", ")", ";", "if", "(", "arg_mode", "==", "VOIDmode", ")", "arg_mode", "=", "DImode", ";", "unsigned", "int", "elt_bytes", "=", "GET_MODE_UNIT_SIZE", "(", "mem_mode", ")", ";", "rtx", "shift", "=", "gen_int_mode", "(", "exact_log2", "(", "elt_bytes", ")", ",", "DImode", ")", ";", "args", "[", "shift_idx", "]", "=", "simplify_gen_binary", "(", "ASHIFT", ",", "arg_mode", ",", "args", "[", "shift_idx", "]", ",", "shift", ")", ";", "units", "=", "UNITS_bytes", ";", "}", "bool", "uxtw_p", "=", "(", "TYPE_PRECISION", "(", "scalar_displacement_type", ")", "==", "64", "||", "TYPE_UNSIGNED", "(", "scalar_displacement_type", ")", ")", ";", "unsigned", "int", "scale", "=", "(", "units", "==", "UNITS_bytes", "?", "1", ":", "GET_MODE_UNIT_SIZE", "(", "mem_mode", ")", ")", ";", "if", "(", "scaled_p", ")", "{", "args", ".", "quick_insert", "(", "argno", "+", "2", ",", "GEN_INT", "(", "uxtw_p", ")", ")", ";", "args", ".", "quick_insert", "(", "argno", "+", "3", ",", "GEN_INT", "(", "scale", ")", ")", ";", "}", "else", "gcc_assert", "(", "uxtw_p", "&&", "scale", "==", "1", ")", ";", "}", ""], "natrual_language": ["Convert", "the", "arguments", "to", "a", "gather/scatter", "function", "into", "the", "associated", "md", "operands", ".", "Argument", "ARGNO", "is", "the", "scalar", "or", "vector", "base", "and", "argument", "ARGNO", "+", "1", "is", "the", "scalar", "or", "vector", "displacement", "(", "if", "applicable", ")", ".", "The", "md", "pattern", "expects", ":", "-", "a", "scalar", "base", "-", "a", "vector", "displacement", "If", "SCALED_P", "is", "true", ",", "it", "also", "expects", ":", "-", "a", "const_int", "that", "is", "1", "if", "the", "displacement", "is", "zero-extended", "from", "32", "bits", "-", "a", "scaling", "multiplier", "(", "1", "for", "bytes", ",", "2", "for", ".h", "indices", ",", "etc.", ")", ".", "If", "SCALED_P", "is", "false", ",", "the", "displacement", "is", "implicitly", "zero-extended", "and", "the", "scaling", "multiplier", "is", "implicitly", "1", "."], "TS_V_token": ["aarch64", "1", "1", "1", "0", "64", "1", "2", "3", "1"], "File": "aarch64-sve-builtins", "Func": "prepare_gather_address_operands", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9619, "Length": 293, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmBackend", "::", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "OW", "->", "WriteZeros", "(", "Count", "%", "4", ")", ";", "Count", "/=", "4", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "!=", "Count", ";", "++", "i", ")", "OW", "->", "Write32", "(", "0xd503201f", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["AArch64", "AArch64", "4", "4", "0", "0xd503201f"], "File": "AArch64AsmBackend45", "Func": "writeNopData", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9620, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64RegisterInfo", "::", "resolveFrameIndex", "(", "MachineInstr", "&", "MI", ",", "unsigned", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "int", "Off", "=", "Offset", ";", "unsigned", "i", "=", "0", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "const", "MachineFunction", "*", "MF", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "AArch64InstrInfo", "*", "TII", "=", "MF", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "bool", "Done", "=", "rewriteAArch64FrameIndex", "(", "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": ["AArch64", "AArch64", "0", "\"Instr doesn't have FrameIndex operand!\"", "AArch64", "AArch64", "AArch64", "\"Unable to resolve frame index!\""], "File": "AArch64RegisterInfo (2)", "Func": "resolveFrameIndex", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9621, "Length": 121, "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": ["TOY"], "File": "TOYAsmBackend1", "Func": "fixupNeedsRelaxation", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9622, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "MipsTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'d'", ":", "case", "'y'", ":", "case", "'r'", ":", "if", "(", "VT", "==", "MVT", "::", "i32", "||", "VT", "==", "MVT", "::", "i16", "||", "VT", "==", "MVT", "::", "i8", ")", "{", "if", "(", "Subtarget", ".", "inMips16Mode", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "CPU16RegsRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "GPR32RegClass", ")", ";", "}", "if", "(", "VT", "==", "MVT", "::", "i64", "&&", "!", "Subtarget", ".", "isGP64bit", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "GPR32RegClass", ")", ";", "if", "(", "VT", "==", "MVT", "::", "i64", "&&", "Subtarget", ".", "isGP64bit", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "GPR64RegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "nullptr", ")", ";", "case", "'f'", ":", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "FGR32RegClass", ")", ";", "else", "if", "(", "(", "VT", "==", "MVT", "::", "f64", ")", "&&", "(", "!", "Subtarget", ".", "isSingleFloat", "(", ")", ")", ")", "{", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "AFGR64RegClass", ")", ";", "}", "break", ";", "case", "'c'", ":", "if", "(", "VT", "==", "MVT", "::", "i32", ")", "return", "std", "::", "make_pair", "(", "(", "unsigned", ")", "Mips", "::", "T9", ",", "&", "Mips", "::", "GPR32RegClass", ")", ";", "assert", "(", "VT", "==", "MVT", "::", "i64", "&&", "\"Unexpected type.\"", ")", ";", "return", "std", "::", "make_pair", "(", "(", "unsigned", ")", "Mips", "::", "T9_64", ",", "&", "Mips", "::", "GPR64RegClass", ")", ";", "case", "'l'", ":", "if", "(", "VT", "==", "MVT", "::", "i32", ")", "return", "std", "::", "make_pair", "(", "(", "unsigned", ")", "Mips", "::", "LO0", ",", "&", "Mips", "::", "LO32RegClass", ")", ";", "return", "std", "::", "make_pair", "(", "(", "unsigned", ")", "Mips", "::", "LO0_64", ",", "&", "Mips", "::", "LO64RegClass", ")", ";", "case", "'x'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "nullptr", ")", ";", "}", "}", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "R", ";", "R", "=", "parseRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "if", "(", "R", ".", "second", ")", "return", "R", ";", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["Mips", "Mips", "1", "0", "MVT::i32", "MVT::i16", "MVT::i8", "Mips", "0U", "Mips::CPU16RegsRegClass", "0U", "Mips::GPR32RegClass", "MVT::i64", "0U", "Mips::GPR32RegClass", "MVT::i64", "0U", "Mips::GPR64RegClass", "0U", "MVT::f32", "0U", "Mips::FGR32RegClass", "MVT::f64", "0U", "Mips::AFGR64RegClass", "MVT::i32", "Mips::T9", "Mips::GPR32RegClass", "MVT::i64", "\"Unexpected type.\"", "Mips::T9_64", "Mips::GPR64RegClass", "MVT::i32", "Mips::LO0", "Mips::LO32RegClass", "Mips::LO0_64", "Mips::LO64RegClass", "0U"], "File": "MipsISelLowering58", "Func": "getRegForInlineAsmConstraint", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9623, "Length": 397, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_high_bits_all_ones_p", "(", "HOST_WIDE_INT", "i", ")", "{", "return", "exact_log2", "(", "-", "i", ")", "!=", "HOST_WIDE_INT_M1", ";", "}", ""], "natrual_language": ["Return", "true", "if", "I", "'s", "bits", "are", "consecutive", "ones", "from", "the", "MSB", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_high_bits_all_ones_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9624, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "TOYRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "TOY", "::", "SP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["TOY", "TOY", "TOY::SP"], "File": "TOYRegisterInfo1", "Func": "getFrameRegister", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9625, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ia64_eh_uses", "(", "int", "regno", ")", "{", "unsigned", "int", "r", ";", "if", "(", "!", "reload_completed", ")", "return", "0", ";", "if", "(", "regno", "==", "0", ")", "return", "0", ";", "for", "(", "r", "=", "reg_save_b0", ";", "r", "<=", "reg_save_ar_lc", ";", "r", "++", ")", "if", "(", "regno", "==", "current_frame_info", ".", "r", "[", "r", "]", "||", "regno", "==", "emitted_frame_related_regs", "[", "r", "]", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "REGNO", "is", "used", "by", "the", "frame", "unwinder", "."], "TS_V_token": ["ia64", "0", "0", "0", "1", "0"], "File": "ia64", "Func": "ia64_eh_uses", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9626, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "push_regs", "(", "HARD_REG_SET", "*", "mask", ",", "int", "interrupt_handler", ")", "{", "int", "i", "=", "interrupt_handler", "?", "LAST_BANKED_REG", "+", "1", ":", "0", ";", "int", "skip_fpscr", "=", "0", ";", "for", "(", ";", "i", "<", "FIRST_PSEUDO_REGISTER", ";", "i", "++", ")", "{", "if", "(", "i", "==", "FIRST_FP_REG", "&&", "interrupt_handler", "&&", "TARGET_FMOVD", "&&", "hard_reg_set_intersect_p", "(", "*", "mask", ",", "reg_class_contents", "[", "DF_REGS", "]", ")", ")", "{", "HARD_REG_SET", "unsaved", ";", "push", "(", "FPSCR_REG", ")", ";", "COMPL_HARD_REG_SET", "(", "unsaved", ",", "*", "mask", ")", ";", "fpscr_set_from_mem", "(", "NORMAL_MODE", "(", "FP_MODE", ")", ",", "unsaved", ")", ";", "skip_fpscr", "=", "1", ";", "}", "if", "(", "i", "!=", "PR_REG", "&&", "(", "i", "!=", "FPSCR_REG", "||", "!", "skip_fpscr", ")", "&&", "TEST_HARD_REG_BIT", "(", "*", "mask", ",", "i", ")", ")", "{", "if", "(", "!", "(", "sh_cfun_resbank_handler_p", "(", ")", "&&", "(", "(", "i", ">=", "FIRST_GENERAL_REG", "&&", "i", "<", "LAST_GENERAL_REG", ")", "||", "i", "==", "MACH_REG", "||", "i", "==", "MACL_REG", "||", "i", "==", "GBR_REG", ")", ")", ")", "push", "(", "i", ")", ";", "}", "}", "if", "(", "interrupt_handler", ")", "{", "bool", "use_movml", "=", "false", ";", "if", "(", "TARGET_SH2A", ")", "{", "unsigned", "int", "count", "=", "0", ";", "for", "(", "i", "=", "FIRST_BANKED_REG", ";", "i", "<=", "LAST_BANKED_REG", ";", "i", "++", ")", "if", "(", "TEST_HARD_REG_BIT", "(", "*", "mask", ",", "i", ")", ")", "count", "++", ";", "else", "break", ";", "if", "(", "count", "==", "LAST_BANKED_REG", "-", "FIRST_BANKED_REG", "+", "1", ")", "use_movml", "=", "true", ";", "}", "if", "(", "sh_cfun_resbank_handler_p", "(", ")", ")", ";", "else", "if", "(", "use_movml", ")", "{", "rtx", "x", ",", "mem", ",", "reg", ",", "set", ";", "rtx", "sp_reg", "=", "gen_rtx_REG", "(", "SImode", ",", "STACK_POINTER_REGNUM", ")", ";", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "x", "=", "gen_movml_push_banked", "(", "sp_reg", ")", ";", "x", "=", "frame_insn", "(", "x", ")", ";", "for", "(", "i", "=", "FIRST_BANKED_REG", ";", "i", "<=", "LAST_BANKED_REG", ";", "i", "++", ")", "{", "mem", "=", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "sp_reg", ",", "i", "*", "4", ")", ")", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "i", ")", ";", "add_reg_note", "(", "x", ",", "REG_CFA_OFFSET", ",", "gen_rtx_SET", "(", "SImode", ",", "mem", ",", "reg", ")", ")", ";", "}", "set", "=", "gen_rtx_SET", "(", "SImode", ",", "sp_reg", ",", "plus_constant", "(", "Pmode", ",", "sp_reg", ",", "-", "32", ")", ")", ";", "add_reg_note", "(", "x", ",", "REG_CFA_ADJUST_CFA", ",", "set", ")", ";", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", "else", "for", "(", "i", "=", "FIRST_BANKED_REG", ";", "i", "<=", "LAST_BANKED_REG", ";", "i", "++", ")", "if", "(", "TEST_HARD_REG_BIT", "(", "*", "mask", ",", "i", ")", ")", "push", "(", "i", ")", ";", "}", "if", "(", "TEST_HARD_REG_BIT", "(", "*", "mask", ",", "PR_REG", ")", "&&", "!", "sh_cfun_resbank_handler_p", "(", ")", ")", "push", "(", "PR_REG", ")", ";", "}", ""], "natrual_language": ["Generate", "code", "to", "push", "the", "regs", "specified", "in", "the", "mask", ".", "remember", "that", "the", "mask", "is", "of", "the", "internal", "shape", "of", "the", "regs", ",", "not", "the", "external", "shape", "-", "so", "go", "through", "the", "renumber", "vector"], "TS_V_token": ["sh", "1", "0", "0", "1", "0", "1", "4", "32"], "File": "sh4", "Func": "push_regs", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9627, "Length": 419, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetLowering", "::", "AdjustInstrPostInstrSelection", "(", "MachineInstr", "&", "MI", ",", "SDNode", "*", "Node", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", ";", "case", "Mips", "::", "JALR", ":", "case", "Mips", "::", "JALRPseudo", ":", "case", "Mips", "::", "JALR64", ":", "case", "Mips", "::", "JALR64Pseudo", ":", "case", "Mips", "::", "JALR16_MM", ":", "case", "Mips", "::", "JALRC16_MMR6", ":", "case", "Mips", "::", "TAILCALLREG", ":", "case", "Mips", "::", "TAILCALLREG64", ":", "case", "Mips", "::", "TAILCALLR6REG", ":", "case", "Mips", "::", "TAILCALL64R6REG", ":", "case", "Mips", "::", "TAILCALLREG_MM", ":", "case", "Mips", "::", "TAILCALLREG_MMR6", ":", "{", "if", "(", "!", "EmitJalrReloc", "||", "Subtarget", ".", "inMips16Mode", "(", ")", "||", "!", "isPositionIndependent", "(", ")", "||", "Node", "->", "getNumOperands", "(", ")", "<", "1", "||", "Node", "->", "getOperand", "(", "0", ")", ".", "getNumOperands", "(", ")", "<", "2", ")", "{", "return", ";", "}", "const", "SDValue", "TargetAddr", "=", "Node", "->", "getOperand", "(", "0", ")", ".", "getOperand", "(", "1", ")", ";", "StringRef", "Sym", ";", "if", "(", "const", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast_or_null", "<", "const", "GlobalAddressSDNode", ">", "(", "TargetAddr", ")", ")", "{", "if", "(", "!", "isa", "<", "Function", ">", "(", "G", "->", "getGlobal", "(", ")", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Not adding R_MIPS_JALR against data symbol \"", "<<", "G", "->", "getGlobal", "(", ")", "->", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "return", ";", "}", "Sym", "=", "G", "->", "getGlobal", "(", ")", "->", "getName", "(", ")", ";", "}", "else", "if", "(", "const", "ExternalSymbolSDNode", "*", "ES", "=", "dyn_cast_or_null", "<", "const", "ExternalSymbolSDNode", ">", "(", "TargetAddr", ")", ")", "{", "Sym", "=", "ES", "->", "getSymbol", "(", ")", ";", "}", "if", "(", "Sym", ".", "empty", "(", ")", ")", "return", ";", "MachineFunction", "*", "MF", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "MCSymbol", "*", "S", "=", "MF", "->", "getContext", "(", ")", ".", "getOrCreateSymbol", "(", "Sym", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Adding R_MIPS_JALR against \"", "<<", "Sym", "<<", "\"\\n\"", ")", ";", "MI", ".", "addOperand", "(", "MachineOperand", "::", "CreateMCSymbol", "(", "S", ",", "MipsII", "::", "MO_JALR", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'hasPostISelHook", "'", "flag", "."], "TS_V_token": ["Mips", "Mips", "Mips::JALR", "Mips::JALRPseudo", "Mips::JALR64", "Mips::JALR64Pseudo", "Mips::JALR16_MM", "Mips::JALRC16_MMR6", "Mips::TAILCALLREG", "Mips::TAILCALLREG64", "Mips::TAILCALLR6REG", "Mips::TAILCALL64R6REG", "Mips::TAILCALLREG_MM", "Mips::TAILCALLREG_MMR6", "Mips", "1", "0", "2", "0", "1", "\"Not adding R_MIPS_JALR against data symbol \"", "\"\\n\"", "\"Adding R_MIPS_JALR against \"", "\"\\n\"", "MipsII::MO_JALR"], "File": "MipsISelLowering107", "Func": "AdjustInstrPostInstrSelection", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9628, "Length": 317, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiInstrInfo", "::", "areMemAccessesTriviallyDisjoint", "(", "MachineInstr", "&", "MIa", ",", "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", "(", ")", ";", "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": ["Lanai", "Lanai", "\"MIa must be a load or store.\"", "\"MIb must be a load or store.\"", "0", "0", "0", "0"], "File": "LanaiInstrInfo (2)", "Func": "areMemAccessesTriviallyDisjoint", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9629, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isReg", "(", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["isReg", "-", "Is", "this", "a", "register", "operand", "?"], "TS_V_token": ["PowerPC"], "File": "PPCAsmParser (2)", "Func": "isReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9630, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ",", "MCStreamer", "&", "Out", ")", "{", "unsigned", "Kind", ";", "unsigned", "Opcode", ";", "unsigned", "ErrorInfo", ";", "SmallVector", "<", "std", "::", "pair", "<", "unsigned", ",", "std", "::", "string", ">", ",", "4", ">", "MapAndConstraints", ";", "bool", "Error", "=", "MatchInstruction", "(", "IDLoc", ",", "Operands", ",", "Out", ",", "Kind", ",", "Opcode", ",", "MapAndConstraints", ",", "ErrorInfo", ")", ";", "return", "Error", ";", "}", ""], "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", "4"], "File": "X86AsmParser54", "Func": "MatchAndEmitInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9631, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "machine_mode", "select_cc_mode", "(", "enum", "rtx_code", "op", ",", "rtx", "x", ",", "rtx", "y", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "x", ")", ")", "==", "MODE_FLOAT", ")", "{", "switch", "(", "op", ")", "{", "case", "EQ", ":", "case", "NE", ":", "case", "UNORDERED", ":", "case", "ORDERED", ":", "case", "UNLT", ":", "case", "UNLE", ":", "case", "UNGT", ":", "case", "UNGE", ":", "case", "UNEQ", ":", "return", "CCFPmode", ";", "case", "LT", ":", "case", "LE", ":", "case", "GT", ":", "case", "GE", ":", "case", "LTGT", ":", "return", "CCFPEmode", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "if", "(", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "||", "GET_CODE", "(", "x", ")", "==", "MINUS", "||", "GET_CODE", "(", "x", ")", "==", "NEG", "||", "GET_CODE", "(", "x", ")", "==", "ASHIFT", ")", "&&", "y", "==", "const0_rtx", ")", "{", "if", "(", "TARGET_ARCH64", "&&", "GET_MODE", "(", "x", ")", "==", "DImode", ")", "return", "CCXNZmode", ";", "else", "return", "CCNZmode", ";", "}", "else", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "NOT", "&&", "y", "==", "constm1_rtx", ")", "{", "if", "(", "TARGET_ARCH64", "&&", "GET_MODE", "(", "x", ")", "==", "DImode", ")", "return", "CCXCmode", ";", "else", "return", "CCCmode", ";", "}", "if", "(", "!", "TARGET_ARCH64", "&&", "GET_MODE", "(", "x", ")", "==", "DImode", ")", "{", "if", "(", "GET_CODE", "(", "y", ")", "==", "UNSPEC", "&&", "(", "XINT", "(", "y", ",", "1", ")", "==", "UNSPEC_ADDV", "||", "XINT", "(", "y", ",", "1", ")", "==", "UNSPEC_SUBV", "||", "XINT", "(", "y", ",", "1", ")", "==", "UNSPEC_NEGV", ")", ")", "return", "CCVmode", ";", "else", "return", "CCCmode", ";", "}", "if", "(", "TARGET_ARCH64", "&&", "GET_MODE", "(", "x", ")", "==", "DImode", ")", "return", "CCXmode", ";", "else", "return", "CCmode", ";", "}", "}", ""], "natrual_language": ["Given", "a", "comparison", "code", "(", "EQ", ",", "NE", ",", "etc", ".", ")", "and", "the", "first", "operand", "of", "a", "COMPARE", ",", "return", "the", "mode", "to", "be", "used", "for", "the", "comparison", ".", "For", "floating-point", ",", "CCFP", "[", "E", "]", "mode", "is", "used", ".", "CC_NOOVmode", "should", "be", "used", "when", "the", "first", "operand", "is", "a", "PLUS", ",", "MINUS", ",", "NEG", ",", "or", "ASHIFT", ".", "CCmode", "should", "be", "used", "when", "no", "special", "processing", "is", "needed", "."], "TS_V_token": ["sparc", "1", "1", "1"], "File": "sparc", "Func": "select_cc_mode", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9632, "Length": 259, "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", "::", "LVX", ":", "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::LVX", "PPC::RESTORE_VRSAVE", "1", "1", "2", "2", "0", "0"], "File": "PPCInstrInfo108", "Func": "isLoadFromStackSlot", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9633, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64CallLowering", "::", "splitToValueTypes", "(", "const", "ArgInfo", "&", "OrigArg", ",", "SmallVectorImpl", "<", "ArgInfo", ">", "&", "SplitArgs", ",", "const", "DataLayout", "&", "DL", ",", "MachineRegisterInfo", "&", "MRI", ",", "CallingConv", "::", "ID", "CallConv", ")", "const", "{", "const", "AArch64TargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "AArch64TargetLowering", ">", "(", ")", ";", "LLVMContext", "&", "Ctx", "=", "OrigArg", ".", "Ty", "->", "getContext", "(", ")", ";", "SmallVector", "<", "EVT", ",", "4", ">", "SplitVTs", ";", "SmallVector", "<", "uint64_t", ",", "4", ">", "Offsets", ";", "ComputeValueVTs", "(", "TLI", ",", "DL", ",", "OrigArg", ".", "Ty", ",", "SplitVTs", ",", "&", "Offsets", ",", "0", ")", ";", "if", "(", "SplitVTs", ".", "size", "(", ")", "==", "0", ")", "return", ";", "if", "(", "SplitVTs", ".", "size", "(", ")", "==", "1", ")", "{", "SplitArgs", ".", "emplace_back", "(", "OrigArg", ".", "Regs", "[", "0", "]", ",", "SplitVTs", "[", "0", "]", ".", "getTypeForEVT", "(", "Ctx", ")", ",", "OrigArg", ".", "Flags", "[", "0", "]", ",", "OrigArg", ".", "IsFixed", ")", ";", "return", ";", "}", "assert", "(", "OrigArg", ".", "Regs", ".", "size", "(", ")", "==", "SplitVTs", ".", "size", "(", ")", "&&", "\"Regs / types mismatch\"", ")", ";", "bool", "NeedsRegBlock", "=", "TLI", ".", "functionArgumentNeedsConsecutiveRegisters", "(", "OrigArg", ".", "Ty", ",", "CallConv", ",", "false", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "SplitVTs", ".", "size", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "Type", "*", "SplitTy", "=", "SplitVTs", "[", "i", "]", ".", "getTypeForEVT", "(", "Ctx", ")", ";", "SplitArgs", ".", "emplace_back", "(", "OrigArg", ".", "Regs", "[", "i", "]", ",", "SplitTy", ",", "OrigArg", ".", "Flags", "[", "0", "]", ",", "OrigArg", ".", "IsFixed", ")", ";", "if", "(", "NeedsRegBlock", ")", "SplitArgs", ".", "back", "(", ")", ".", "Flags", "[", "0", "]", ".", "setInConsecutiveRegs", "(", ")", ";", "}", "SplitArgs", ".", "back", "(", ")", ".", "Flags", "[", "0", "]", ".", "setInConsecutiveRegsLast", "(", ")", ";", "}", ""], "natrual_language": ["Break", "OrigArgInfo", "into", "one", "or", "more", "pieces", "the", "calling", "convention", "can", "process", ",", "returned", "in", "SplitArgs", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "4", "4", "0", "0", "1", "0", "0", "0", "\"Regs / types mismatch\"", "0", "0", "0", "0"], "File": "AArch64CallLowering16", "Func": "splitToValueTypes", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9634, "Length": 284, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_vector_mode_supported_p", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "V2SFmode", ":", "return", "TARGET_PAIRED_SINGLE_FLOAT", ";", "case", "V2HImode", ":", "case", "V4QImode", ":", "case", "V2HQmode", ":", "case", "V2UHQmode", ":", "case", "V2HAmode", ":", "case", "V2UHAmode", ":", "case", "V4QQmode", ":", "case", "V4UQQmode", ":", "return", "TARGET_DSP", ";", "case", "V2SImode", ":", "case", "V4HImode", ":", "case", "V8QImode", ":", "return", "TARGET_LOONGSON_VECTORS", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Target", "hook", "for", "vector_mode_supported_p", "."], "TS_V_token": ["mips"], "File": "mips4", "Func": "mips_vector_mode_supported_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9635, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc_flat_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", "(", "frame_pointer_needed", "&&", "!", "for_eh", ")", "emit_move_insn", "(", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ",", "hard_frame_pointer_rtx", ")", ";", "if", "(", "return_addr_reg_needed_p", "(", "sparc_leaf_function_p", ")", ")", "emit_move_insn", "(", "gen_rtx_REG", "(", "Pmode", ",", "INCOMING_RETURN_ADDR_REGNUM", ")", ",", "gen_rtx_REG", "(", "Pmode", ",", "RETURN_ADDR_REGNUM", ")", ")", ";", "if", "(", "sparc_save_local_in_regs_p", ")", "emit_save_or_restore_local_in_regs", "(", "sparc_frame_base_reg", ",", "sparc_frame_base_offset", ",", "SORR_RESTORE", ")", ";", "if", "(", "size", "==", "0", "||", "for_eh", ")", ";", "else", "if", "(", "frame_pointer_needed", ")", "{", "emit_insn", "(", "gen_frame_blockage", "(", ")", ")", ";", "emit_move_insn", "(", "stack_pointer_rtx", ",", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_frame_blockage", "(", ")", ")", ";", "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", "1", "0", "1", "4096", "8192", "4096", "4096", "1"], "File": "sparc1", "Func": "sparc_flat_expand_epilogue", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9636, "Length": 212, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_float_words_big_endian", "(", "void", ")", "{", "if", "(", "TARGET_MAVERICK", ")", "return", "0", ";", "if", "(", "TARGET_FPA", ")", "{", "return", "1", ";", "}", "if", "(", "TARGET_VFP", ")", "return", "(", "TARGET_BIG_END", "?", "1", ":", "0", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Indicate", "whether", "or", "not", "words", "of", "a", "double", "are", "in", "big-endian", "order", "."], "TS_V_token": ["arm", "0", "1", "1", "0", "1"], "File": "arm3", "Func": "arm_float_words_big_endian", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9637, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "csky_init_builtins", "(", "void", ")", "{", "static", "tree", "csky_floatHF_type_node", "=", "make_node", "(", "REAL_TYPE", ")", ";", "TYPE_PRECISION", "(", "csky_floatHF_type_node", ")", "=", "GET_MODE_PRECISION", "(", "HFmode", ")", ";", "layout_type", "(", "csky_floatHF_type_node", ")", ";", "(", "*", "lang_hooks", ".", "types", ".", "register_builtin_type", ")", "(", "csky_floatHF_type_node", ",", "\"__fp16\"", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_INIT_BUILTINS", "target", "macro", "."], "TS_V_token": ["csky", "\"__fp16\""], "File": "csky", "Func": "csky_init_builtins", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9638, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "nds32_cpu_cpp_builtins", "(", "struct", "cpp_reader", "*", "pfile", ")", "{", "builtin_define", "(", "\"__nds32__\"", ")", ";", "builtin_define", "(", "\"__NDS32__\"", ")", ";", "if", "(", "!", "TARGET_LINUX_ABI", ")", "{", "if", "(", "TARGET_ISR_VECTOR_SIZE_4_BYTE", ")", "builtin_define", "(", "\"__NDS32_ISR_VECTOR_SIZE_4__\"", ")", ";", "else", "builtin_define", "(", "\"__NDS32_ISR_VECTOR_SIZE_16__\"", ")", ";", "}", "if", "(", "TARGET_HARD_FLOAT", ")", "builtin_define", "(", "\"__NDS32_ABI_2FP_PLUS__\"", ")", ";", "else", "builtin_define", "(", "\"__NDS32_ABI_2__\"", ")", ";", "if", "(", "TARGET_ISA_V2", ")", "builtin_define", "(", "\"__NDS32_ISA_V2__\"", ")", ";", "if", "(", "TARGET_ISA_V3", ")", "builtin_define", "(", "\"__NDS32_ISA_V3__\"", ")", ";", "if", "(", "TARGET_ISA_V3M", ")", "builtin_define", "(", "\"__NDS32_ISA_V3M__\"", ")", ";", "if", "(", "TARGET_FPU_SINGLE", ")", "builtin_define", "(", "\"__NDS32_EXT_FPU_SP__\"", ")", ";", "if", "(", "TARGET_FPU_DOUBLE", ")", "builtin_define", "(", "\"__NDS32_EXT_FPU_DP__\"", ")", ";", "if", "(", "TARGET_EXT_FPU_FMA", ")", "builtin_define", "(", "\"__NDS32_EXT_FPU_FMA__\"", ")", ";", "if", "(", "NDS32_EXT_FPU_DOT_E", ")", "builtin_define", "(", "\"__NDS32_EXT_FPU_DOT_E__\"", ")", ";", "if", "(", "TARGET_FPU_SINGLE", "||", "TARGET_FPU_DOUBLE", ")", "{", "switch", "(", "nds32_fp_regnum", ")", "{", "case", "0", ":", "case", "4", ":", "builtin_define", "(", "\"__NDS32_EXT_FPU_CONFIG_0__\"", ")", ";", "break", ";", "case", "1", ":", "case", "5", ":", "builtin_define", "(", "\"__NDS32_EXT_FPU_CONFIG_1__\"", ")", ";", "break", ";", "case", "2", ":", "case", "6", ":", "builtin_define", "(", "\"__NDS32_EXT_FPU_CONFIG_2__\"", ")", ";", "break", ";", "case", "3", ":", "case", "7", ":", "builtin_define", "(", "\"__NDS32_EXT_FPU_CONFIG_3__\"", ")", ";", "break", ";", "default", ":", "abort", "(", ")", ";", "}", "}", "if", "(", "TARGET_BIG_ENDIAN", ")", "builtin_define", "(", "\"__NDS32_EB__\"", ")", ";", "else", "builtin_define", "(", "\"__NDS32_EL__\"", ")", ";", "if", "(", "TARGET_REDUCED_REGS", ")", "builtin_define", "(", "\"__NDS32_REDUCED_REGS__\"", ")", ";", "if", "(", "TARGET_CMOV", ")", "builtin_define", "(", "\"__NDS32_CMOV__\"", ")", ";", "if", "(", "TARGET_EXT_PERF", ")", "builtin_define", "(", "\"__NDS32_EXT_PERF__\"", ")", ";", "if", "(", "TARGET_EXT_PERF2", ")", "builtin_define", "(", "\"__NDS32_EXT_PERF2__\"", ")", ";", "if", "(", "TARGET_EXT_STRING", ")", "builtin_define", "(", "\"__NDS32_EXT_STRING__\"", ")", ";", "if", "(", "TARGET_16_BIT", ")", "builtin_define", "(", "\"__NDS32_16_BIT__\"", ")", ";", "if", "(", "TARGET_GP_DIRECT", ")", "builtin_define", "(", "\"__NDS32_GP_DIRECT__\"", ")", ";", "if", "(", "TARGET_VH", ")", "builtin_define", "(", "\"__NDS32_VH__\"", ")", ";", "if", "(", "NDS32_EXT_DSP_P", "(", ")", ")", "builtin_define", "(", "\"__NDS32_EXT_DSP__\"", ")", ";", "if", "(", "TARGET_BIG_ENDIAN", ")", "builtin_define", "(", "\"__big_endian__\"", ")", ";", "builtin_assert", "(", "\"cpu=nds32\"", ")", ";", "builtin_assert", "(", "\"machine=nds32\"", ")", ";", "if", "(", "TARGET_HARD_FLOAT", ")", "builtin_define", "(", "\"__NDS32_ABI_2FP_PLUS\"", ")", ";", "else", "builtin_define", "(", "\"__NDS32_ABI_2\"", ")", ";", "}", ""], "natrual_language": ["Run-time", "Target", "Specification", "."], "TS_V_token": ["nds32", "\"__nds32__\"", "\"__NDS32__\"", "\"__NDS32_ISR_VECTOR_SIZE_4__\"", "\"__NDS32_ISR_VECTOR_SIZE_16__\"", "\"__NDS32_ABI_2FP_PLUS__\"", "\"__NDS32_ABI_2__\"", "\"__NDS32_ISA_V2__\"", "\"__NDS32_ISA_V3__\"", "\"__NDS32_ISA_V3M__\"", "\"__NDS32_EXT_FPU_SP__\"", "\"__NDS32_EXT_FPU_DP__\"", "\"__NDS32_EXT_FPU_FMA__\"", "\"__NDS32_EXT_FPU_DOT_E__\"", "0", "4", "\"__NDS32_EXT_FPU_CONFIG_0__\"", "1", "5", "\"__NDS32_EXT_FPU_CONFIG_1__\"", "2", "6", "\"__NDS32_EXT_FPU_CONFIG_2__\"", "3", "7", "\"__NDS32_EXT_FPU_CONFIG_3__\"", "\"__NDS32_EB__\"", "\"__NDS32_EL__\"", "\"__NDS32_REDUCED_REGS__\"", "\"__NDS32_CMOV__\"", "\"__NDS32_EXT_PERF__\"", "\"__NDS32_EXT_PERF2__\"", "\"__NDS32_EXT_STRING__\"", "\"__NDS32_16_BIT__\"", "\"__NDS32_GP_DIRECT__\"", "\"__NDS32_VH__\"", "\"__NDS32_EXT_DSP__\"", "\"__big_endian__\"", "\"cpu=nds32\"", "\"machine=nds32\"", "\"__NDS32_ABI_2FP_PLUS\"", "\"__NDS32_ABI_2\""], "File": "nds32", "Func": "nds32_cpu_cpp_builtins", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9639, "Length": 324, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "UPTInstrInfo", "::", "removeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "int", "*", "BytesRemoved", ")", "const", "{", "if", "(", "MBB", ".", "empty", "(", ")", ")", "return", "0", ";", "unsigned", "NumRemoved", "=", "0", ";", "auto", "I", "=", "MBB", ".", "end", "(", ")", ";", "do", "{", "--", "I", ";", "unsigned", "Opc", "=", "I", "->", "getOpcode", "(", ")", ";", "if", "(", "(", "Opc", "==", "UPT", "::", "JMP", ")", "||", "(", "Opc", "==", "UPT", "::", "Bcc", ")", ")", "{", "auto", "ToDelete", "=", "I", ";", "++", "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": ["UPT", "UPT", "0", "0", "UPT::JMP", "UPT::Bcc"], "File": "UPTInstrInfo", "Func": "removeBranch", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9640, "Length": 109, "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": 9641, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "insn_is_function_arg", "(", "rtx", "insn", ",", "bool", "*", "is_spilled", ")", "{", "rtx", "dst", ";", "if", "(", "!", "NONDEBUG_INSN_P", "(", "insn", ")", ")", "return", "false", ";", "if", "(", "CALL_P", "(", "insn", ")", ")", "return", "false", ";", "insn", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "insn", ")", "==", "PARALLEL", ")", "insn", "=", "XVECEXP", "(", "insn", ",", "0", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "insn", ")", "!=", "SET", ")", "return", "false", ";", "dst", "=", "SET_DEST", "(", "insn", ")", ";", "if", "(", "REG_P", "(", "dst", ")", "&&", "HARD_REGISTER_P", "(", "dst", ")", "&&", "ix86_function_arg_regno_p", "(", "REGNO", "(", "dst", ")", ")", ")", "{", "if", "(", "!", "TEST_HARD_REG_BIT", "(", "fixed_reg_set", ",", "REGNO", "(", "dst", ")", ")", "&&", "ix86_class_likely_spilled_p", "(", "REGNO_REG_CLASS", "(", "REGNO", "(", "dst", ")", ")", ")", ")", "*", "is_spilled", "=", "true", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "lhs", "of", "insn", "is", "HW", "function", "argument", "register", "and", "set", "up", "is_spilled", "to", "true", "if", "it", "is", "likely", "spilled", "HW", "register", "."], "TS_V_token": ["i386", "0", "0"], "File": "i386", "Func": "insn_is_function_arg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9642, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "parse_mtune_ctrl_str", "(", "bool", "dump", ")", "{", "if", "(", "!", "ix86_tune_ctrl_string", ")", "return", ";", "char", "*", "next_feature_string", "=", "NULL", ";", "char", "*", "curr_feature_string", "=", "xstrdup", "(", "ix86_tune_ctrl_string", ")", ";", "char", "*", "orig", "=", "curr_feature_string", ";", "int", "i", ";", "do", "{", "bool", "clear", "=", "false", ";", "next_feature_string", "=", "strchr", "(", "curr_feature_string", ",", "','", ")", ";", "if", "(", "next_feature_string", ")", "*", "next_feature_string", "++", "=", "'\\0'", ";", "if", "(", "*", "curr_feature_string", "==", "'^'", ")", "{", "curr_feature_string", "++", ";", "clear", "=", "true", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "X86_TUNE_LAST", ";", "i", "++", ")", "{", "if", "(", "!", "strcmp", "(", "curr_feature_string", ",", "ix86_tune_feature_names", "[", "i", "]", ")", ")", "{", "ix86_tune_features", "[", "i", "]", "=", "!", "clear", ";", "if", "(", "dump", ")", "fprintf", "(", "stderr", ",", "\"Explicitly %s feature %s\\n\"", ",", "clear", "?", "\"clear\"", ":", "\"set\"", ",", "ix86_tune_feature_names", "[", "i", "]", ")", ";", "break", ";", "}", "}", "if", "(", "i", "==", "X86_TUNE_LAST", ")", "error", "(", "\"unknown parameter to option %<-mtune-ctrl%>: %s\"", ",", "clear", "?", "curr_feature_string", "-", "1", ":", "curr_feature_string", ")", ";", "curr_feature_string", "=", "next_feature_string", ";", "}", "while", "(", "curr_feature_string", ")", ";", "free", "(", "orig", ")", ";", "}", ""], "natrual_language": ["parse", "-mtune-ctrl=", "option", ".", "When", "DUMP", "is", "true", ",", "print", "the", "features", "that", "are", "explicitly", "set", "."], "TS_V_token": ["i386", "0", "\"Explicitly %s feature %s\\n\"", "\"clear\"", "\"set\"", "\"unknown parameter to option %<-mtune-ctrl%>: %s\"", "1"], "File": "i3868", "Func": "parse_mtune_ctrl_str", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9643, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_add_cfa_adjust_cfa_note", "(", "rtx", "insn", ",", "int", "size", ",", "rtx", "dest", ",", "rtx", "src", ")", "{", "rtx", "dwarf", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "dwarf", "=", "gen_rtx_SET", "(", "dest", ",", "plus_constant", "(", "Pmode", ",", "src", ",", "size", ")", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_ADJUST_CFA", ",", "dwarf", ")", ";", "}", ""], "natrual_language": ["Add", "a", "REG_CFA_ADJUST_CFA", "REG", "note", "to", "INSN", ".", "SIZE", "is", "the", "offset", "to", "be", "adjusted", ".", "DEST", "and", "SRC", "might", "be", "stack_pointer_rtx", "or", "hard_frame_pointer_rtx", "."], "TS_V_token": ["arm", "1"], "File": "arm", "Func": "arm_add_cfa_adjust_cfa_note", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9644, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_expand_movmem", "(", "rtx", "*", "operands", ")", "{", "int", "n", ",", "mode_bits", ";", "rtx", "dst", "=", "operands", "[", "0", "]", ";", "rtx", "src", "=", "operands", "[", "1", "]", ";", "rtx", "base", ";", "machine_mode", "cur_mode", "=", "BLKmode", ",", "next_mode", ";", "bool", "speed_p", "=", "!", "optimize_function_for_size_p", "(", "cfun", ")", ";", "int", "max_num_moves", "=", "(", "speed_p", "?", "16", ":", "AARCH64_CALL_RATIO", ")", "/", "2", ";", "if", "(", "!", "CONST_INT_P", "(", "operands", "[", "2", "]", ")", ")", "return", "false", ";", "n", "=", "INTVAL", "(", "operands", "[", "2", "]", ")", ";", "if", "(", "(", "(", "n", "/", "16", ")", "+", "(", "n", "%", "16", "?", "2", ":", "0", ")", ")", ">", "max_num_moves", ")", "return", "false", ";", "base", "=", "copy_to_mode_reg", "(", "Pmode", ",", "XEXP", "(", "dst", ",", "0", ")", ")", ";", "dst", "=", "adjust_automodify_address", "(", "dst", ",", "VOIDmode", ",", "base", ",", "0", ")", ";", "base", "=", "copy_to_mode_reg", "(", "Pmode", ",", "XEXP", "(", "src", ",", "0", ")", ")", ";", "src", "=", "adjust_automodify_address", "(", "src", ",", "VOIDmode", ",", "base", ",", "0", ")", ";", "n", "=", "n", "*", "BITS_PER_UNIT", ";", "const", "int", "copy_limit", "=", "GET_MODE_BITSIZE", "(", "TImode", ")", ";", "while", "(", "n", ">", "0", ")", "{", "opt_scalar_int_mode", "mode_iter", ";", "FOR_EACH_MODE_IN_CLASS", "(", "mode_iter", ",", "MODE_INT", ")", "if", "(", "GET_MODE_BITSIZE", "(", "mode_iter", ".", "require", "(", ")", ")", "<=", "MIN", "(", "n", ",", "copy_limit", ")", ")", "cur_mode", "=", "mode_iter", ".", "require", "(", ")", ";", "gcc_assert", "(", "cur_mode", "!=", "BLKmode", ")", ";", "mode_bits", "=", "GET_MODE_BITSIZE", "(", "cur_mode", ")", ".", "to_constant", "(", ")", ";", "aarch64_copy_one_block_and_progress_pointers", "(", "&", "src", ",", "&", "dst", ",", "cur_mode", ")", ";", "n", "-=", "mode_bits", ";", "if", "(", "n", ">", "0", "&&", "n", "<=", "8", "*", "BITS_PER_UNIT", ")", "{", "next_mode", "=", "smallest_mode_for_size", "(", "n", ",", "MODE_INT", ")", ";", "int", "n_bits", "=", "GET_MODE_BITSIZE", "(", "next_mode", ")", ".", "to_constant", "(", ")", ";", "src", "=", "aarch64_move_pointer", "(", "src", ",", "(", "n", "-", "n_bits", ")", "/", "BITS_PER_UNIT", ")", ";", "dst", "=", "aarch64_move_pointer", "(", "dst", ",", "(", "n", "-", "n_bits", ")", "/", "BITS_PER_UNIT", ")", ";", "n", "=", "n_bits", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Expand", "movmem", ",", "as", "if", "from", "a", "__builtin_memcpy", ".", "Return", "true", "if", "we", "succeed", ",", "otherwise", "return", "false", "."], "TS_V_token": ["aarch64", "0", "1", "16", "2", "2", "2", "16", "16", "2", "0", "0", "0", "0", "0", "0", "0", "8"], "File": "aarch646", "Func": "aarch64_expand_movmem", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9645, "Length": 328, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_vec_cost", "(", "machine_mode", "mode", ",", "int", "cost", ")", "{", "if", "(", "!", "VECTOR_MODE_P", "(", "mode", ")", ")", "return", "cost", ";", "if", "(", "GET_MODE_BITSIZE", "(", "mode", ")", "==", "128", "&&", "TARGET_SSE_SPLIT_REGS", ")", "return", "cost", "*", "2", ";", "if", "(", "GET_MODE_BITSIZE", "(", "mode", ")", ">", "128", "&&", "TARGET_AVX256_SPLIT_REGS", ")", "return", "cost", "*", "GET_MODE_BITSIZE", "(", "mode", ")", "/", "128", ";", "return", "cost", ";", "}", ""], "natrual_language": ["Return", "cost", "of", "vector", "operation", "in", "MODE", "given", "that", "scalar", "version", "has", "COST", ".", "If", "PARALLEL", "is", "true", "assume", "that", "CPU", "has", "more", "than", "one", "unit", "performing", "the", "operation", "."], "TS_V_token": ["i386", "128", "2", "128", "128"], "File": "i386", "Func": "ix86_vec_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9646, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "getNumInterleavedAccesses", "(", "VectorType", "*", "VecTy", ",", "const", "DataLayout", "&", "DL", ")", "{", "return", "(", "DL", ".", "getTypeSizeInBits", "(", "VecTy", ")", "+", "127", ")", "/", "128", ";", "}", ""], "natrual_language": ["Returns", "the", "number", "of", "interleaved", "accesses", "that", "will", "be", "generated", "when", "lowering", "accesses", "of", "the", "given", "type", "."], "TS_V_token": ["AArch64", "127", "128"], "File": "AArch64ISelLowering132", "Func": "getNumInterleavedAccesses", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9647, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "init_ext_80387_constants", "(", "void", ")", "{", "static", "const", "char", "*", "cst", "[", "5", "]", "=", "{", "\"0.3010299956639811952256464283594894482\"", ",", "\"0.6931471805599453094286904741849753009\"", ",", "\"1.4426950408889634073876517827983434472\"", ",", "\"3.3219280948873623478083405569094566090\"", ",", "\"3.1415926535897932385128089594061862044\"", ",", "}", ";", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "5", ";", "i", "++", ")", "{", "real_from_string", "(", "&", "ext_80387_constants_table", "[", "i", "]", ",", "cst", "[", "i", "]", ")", ";", "real_convert", "(", "&", "ext_80387_constants_table", "[", "i", "]", ",", "XFmode", ",", "&", "ext_80387_constants_table", "[", "i", "]", ")", ";", "}", "ext_80387_constants_init", "=", "1", ";", "}", ""], "natrual_language": ["Initialize", "the", "table", "of", "extra", "80387", "mathematical", "constants", "."], "TS_V_token": ["i386", "5", "\"0.3010299956639811952256464283594894482\"", "\"0.6931471805599453094286904741849753009\"", "\"1.4426950408889634073876517827983434472\"", "\"3.3219280948873623478083405569094566090\"", "\"3.1415926535897932385128089594061862044\"", "0", "5", "1"], "File": "i386", "Func": "init_ext_80387_constants", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9648, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_bitmask_imm", "(", "HOST_WIDE_INT", "val_in", ",", "machine_mode", "mode", ")", "{", "unsigned", "HOST_WIDE_INT", "val", ",", "tmp", ",", "mask", ",", "first_one", ",", "next_one", ";", "int", "bits", ";", "val", "=", "(", "unsigned", "HOST_WIDE_INT", ")", "val_in", ";", "tmp", "=", "val", "+", "(", "val", "&", "-", "val", ")", ";", "if", "(", "tmp", "==", "(", "tmp", "&", "-", "tmp", ")", ")", "return", "(", "val", "+", "1", ")", ">", "1", ";", "if", "(", "mode", "==", "SImode", ")", "val", "=", "(", "val", "<<", "32", ")", "|", "(", "val", "&", "0xffffffff", ")", ";", "if", "(", "val", "&", "1", ")", "val", "=", "~", "val", ";", "first_one", "=", "val", "&", "-", "val", ";", "tmp", "=", "val", "&", "(", "val", "+", "first_one", ")", ";", "if", "(", "tmp", "==", "0", ")", "return", "true", ";", "next_one", "=", "tmp", "&", "-", "tmp", ";", "bits", "=", "clz_hwi", "(", "first_one", ")", "-", "clz_hwi", "(", "next_one", ")", ";", "mask", "=", "val", "^", "tmp", ";", "if", "(", "(", "mask", ">>", "bits", ")", "!=", "0", "||", "bits", "!=", "(", "bits", "&", "-", "bits", ")", ")", "return", "false", ";", "return", "val", "==", "mask", "*", "bitmask_imm_mul", "[", "__builtin_clz", "(", "bits", ")", "-", "26", "]", ";", "}", ""], "natrual_language": ["Return", "true", "if", "val", "is", "a", "valid", "bitmask", "immediate", "."], "TS_V_token": ["aarch64", "1", "1", "32", "0xffffffff", "1", "0", "0", "26"], "File": "aarch643", "Func": "aarch64_bitmask_imm", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9649, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "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", "::", "MOStore", ",", "0", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "Align", ")", ";", "if", "(", "RC", "==", "ARM", "::", "tGPRRegisterClass", ")", "RC", "=", "ARM", "::", "GPRRegisterClass", ";", "if", "(", "RC", "==", "ARM", "::", "GPRRegisterClass", ")", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "STR", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "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", "::", "VSTRD", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ")", ";", "}", "else", "if", "(", "RC", "==", "ARM", "::", "SPRRegisterClass", ")", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "VSTRS", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ")", ";", "}", "else", "{", "assert", "(", "(", "RC", "==", "ARM", "::", "QPRRegisterClass", "||", "RC", "==", "ARM", "::", "QPR_VFP2RegisterClass", ")", "&&", "\"Unknown regclass!\"", ")", ";", "if", "(", "Align", ">=", "16", "&&", "(", "getRegisterInfo", "(", ")", ".", "canRealignStack", "(", "MF", ")", ")", ")", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "VST1q", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "128", ")", ".", "addMemOperand", "(", "MMO", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ")", ";", "}", "else", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "VSTMQ", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "ARM_AM", "::", "getAM5Opc", "(", "ARM_AM", "::", "ia", ",", "4", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM", "0", "ARM::tGPRRegisterClass", "ARM::GPRRegisterClass", "ARM::GPRRegisterClass", "ARM::STR", "0", "0", "ARM::DPRRegisterClass", "ARM::DPR_VFP2RegisterClass", "ARM::DPR_8RegisterClass", "ARM::VSTRD", "0", "ARM::SPRRegisterClass", "ARM::VSTRS", "0", "ARM::QPRRegisterClass", "ARM::QPR_VFP2RegisterClass", "\"Unknown regclass!\"", "16", "ARM::VST1q", "128", "ARM::VSTMQ", "ARM_AM::getAM5Opc", "ARM_AM::ia", "4"], "File": "ARMBaseInstrInfo16", "Func": "storeRegToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9650, "Length": 451, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCAIXAsmPrinter", "::", "emitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "PPC", "::", "BL8", ":", "case", "PPC", "::", "BL", ":", "case", "PPC", "::", "BL8_NOP", ":", "case", "PPC", "::", "BL_NOP", ":", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "0", ")", ";", "if", "(", "MO", ".", "isSymbol", "(", ")", ")", "{", "MCSymbolXCOFF", "*", "S", "=", "cast", "<", "MCSymbolXCOFF", ">", "(", "OutContext", ".", "getOrCreateSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ")", ";", "ExtSymSDNodeSymbols", ".", "insert", "(", "S", ")", ";", "}", "}", "break", ";", "case", "PPC", "::", "BL_TLS", ":", "case", "PPC", "::", "BL8_TLS", ":", "case", "PPC", "::", "BL8_TLS_", ":", "case", "PPC", "::", "BL8_NOP_TLS", ":", "report_fatal_error", "(", "\"TLS call not yet implemented\"", ")", ";", "case", "PPC", "::", "TAILB", ":", "case", "PPC", "::", "TAILB8", ":", "case", "PPC", "::", "TAILBA", ":", "case", "PPC", "::", "TAILBA8", ":", "case", "PPC", "::", "TAILBCTR", ":", "case", "PPC", "::", "TAILBCTR8", ":", "if", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "isSymbol", "(", ")", ")", "report_fatal_error", "(", "\"Tail call for extern symbol not yet supported.\"", ")", ";", "break", ";", "}", "return", "PPCAsmPrinter", "::", "emitInstruction", "(", "MI", ")", ";", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::BL8", "PPC::BL", "PPC::BL8_NOP", "PPC::BL_NOP", "0", "PPC::BL_TLS", "PPC::BL8_TLS", "PPC::BL8_TLS_", "PPC::BL8_NOP_TLS", "\"TLS call not yet implemented\"", "PPC::TAILB", "PPC::TAILB8", "PPC::TAILBA", "PPC::TAILBA8", "PPC::TAILBCTR", "PPC::TAILBCTR8", "0", "\"Tail call for extern symbol not yet supported.\"", "PPC"], "File": "PPCAsmPrinter10", "Func": "emitInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9651, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsSEInstrInfo", "::", "loadImmediate", "(", "int64_t", "Imm", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "II", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "*", "NewImm", ")", "const", "{", "MipsAnalyzeImmediate", "AnalyzeImm", ";", "const", "MipsSubtarget", "&", "STI", "=", "Subtarget", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "unsigned", "Size", "=", "STI", ".", "isABI_N64", "(", ")", "?", "64", ":", "32", ";", "unsigned", "LUi", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "LUi64", ":", "Mips", "::", "LUi", ";", "unsigned", "ZEROReg", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "ZERO_64", ":", "Mips", "::", "ZERO", ";", "const", "TargetRegisterClass", "*", "RC", "=", "STI", ".", "isABI_N64", "(", ")", "?", "&", "Mips", "::", "GPR64RegClass", ":", "&", "Mips", "::", "GPR32RegClass", ";", "bool", "LastInstrIsADDiu", "=", "NewImm", ";", "const", "MipsAnalyzeImmediate", "::", "InstSeq", "&", "Seq", "=", "AnalyzeImm", ".", "Analyze", "(", "Imm", ",", "Size", ",", "LastInstrIsADDiu", ")", ";", "MipsAnalyzeImmediate", "::", "InstSeq", "::", "const_iterator", "Inst", "=", "Seq", ".", "begin", "(", ")", ";", "assert", "(", "Seq", ".", "size", "(", ")", "&&", "(", "!", "LastInstrIsADDiu", "||", "(", "Seq", ".", "size", "(", ")", ">", "1", ")", ")", ")", ";", "Register", "Reg", "=", "RegInfo", ".", "createVirtualRegister", "(", "RC", ")", ";", "if", "(", "Inst", "->", "Opc", "==", "LUi", ")", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "get", "(", "LUi", ")", ",", "Reg", ")", ".", "addImm", "(", "SignExtend64", "<", "16", ">", "(", "Inst", "->", "ImmOpnd", ")", ")", ";", "else", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "get", "(", "Inst", "->", "Opc", ")", ",", "Reg", ")", ".", "addReg", "(", "ZEROReg", ")", ".", "addImm", "(", "SignExtend64", "<", "16", ">", "(", "Inst", "->", "ImmOpnd", ")", ")", ";", "for", "(", "++", "Inst", ";", "Inst", "!=", "Seq", ".", "end", "(", ")", "-", "LastInstrIsADDiu", ";", "++", "Inst", ")", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "get", "(", "Inst", "->", "Opc", ")", ",", "Reg", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "SignExtend64", "<", "16", ">", "(", "Inst", "->", "ImmOpnd", ")", ")", ";", "if", "(", "LastInstrIsADDiu", ")", "*", "NewImm", "=", "Inst", "->", "ImmOpnd", ";", "return", "Reg", ";", "}", ""], "natrual_language": ["Emit", "a", "series", "of", "instructions", "to", "load", "an", "immediate", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "64", "32", "Mips::LUi64", "Mips::LUi", "Mips::ZERO_64", "Mips::ZERO", "Mips::GPR64RegClass", "Mips::GPR32RegClass", "Mips", "Mips", "1", "16", "16", "16"], "File": "MipsSEInstrInfo23", "Func": "loadImmediate", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9652, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StackOffset", "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", "StackOffset", "::", "getFixed", "(", "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": "AArch64FrameLowering (2)1", "Func": "getFrameIndexReferencePreferSP", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9653, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "mayBeEmittedAsTailCall", "(", "const", "CallInst", "*", "CI", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "supportsTailCall", "(", ")", ")", "return", "false", ";", "if", "(", "!", "CI", "->", "isTailCall", "(", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "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)5", "Func": "mayBeEmittedAsTailCall", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9654, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isIntDivCheap", "(", "EVT", "VT", ",", "AttributeList", "Attr", ")", "const", "{", "bool", "OptSize", "=", "Attr", ".", "hasAttribute", "(", "AttributeList", "::", "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": ["AArch64", "AArch64"], "File": "AArch64ISelLowering (2)3", "Func": "isIntDivCheap", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9655, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsMCCodeEmitter", "::", "getBranchTargetOpValueMM", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ">>", "1", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"getBranchTargetOpValueMM expects only expressions or immediates\"", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "0", ",", "Expr", ",", "MCFixupKind", "(", "Mips", "::", "fixup_MICROMIPS_PC16_S1", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "microMIPS", "branch", "target", "operand", "."], "TS_V_token": ["Mips", "Mips", "1", "\"getBranchTargetOpValueMM expects only expressions or immediates\"", "0", "Mips", "0"], "File": "MipsMCCodeEmitter51", "Func": "getBranchTargetOpValueMM", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9656, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "csky_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", ")", ";", "CUMULATIVE_ARGS", "local_cum", ";", "cumulative_args_t", "local_cum_v", "=", "pack_cumulative_args", "(", "&", "local_cum", ")", ";", "int", "regs_to_push", ";", "cfun", "->", "machine", "->", "uses_anonymous_args", "=", "1", ";", "local_cum", "=", "*", "pcum", ";", "csky_function_arg_advance", "(", "local_cum_v", ",", "mode", ",", "type", ",", "true", ")", ";", "regs_to_push", "=", "CSKY_NPARM_REGS", "-", "local_cum", ";", "if", "(", "regs_to_push", ")", "*", "pretend_size", "=", "regs_to_push", "*", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SETUP_INCOMING_VARARGS", ".", "On", "C-Sky", "the", "copy", "from", "the", "argument", "registers", "to", "the", "stack", "is", "emitted", "by", "the", "prologue", "hooks", ",", "so", "here", "we", "just", "have", "to", "note", "how", "much", "stack", "space", "to", "save", "."], "TS_V_token": ["csky", "1"], "File": "csky2", "Func": "csky_setup_incoming_varargs", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9657, "Length": 88, "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": 9658, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_add_immediate", "(", "rtx", "*", "operands", ")", "{", "HOST_WIDE_INT", "n", "=", "INTVAL", "(", "operands", "[", "2", "]", ")", ";", "if", "(", "n", "!=", "0", "||", "REGNO", "(", "operands", "[", "0", "]", ")", "!=", "REGNO", "(", "operands", "[", "1", "]", ")", ")", "{", "if", "(", "n", "<", "0", ")", "output_multi_immediate", "(", "operands", ",", "\"sub%?\\t%0, %1, %2\"", ",", "\"sub%?\\t%0, %0, %2\"", ",", "2", ",", "-", "n", ")", ";", "else", "output_multi_immediate", "(", "operands", ",", "\"add%?\\t%0, %1, %2\"", ",", "\"add%?\\t%0, %0, %2\"", ",", "2", ",", "n", ")", ";", "}", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "an", "ADD", "r", ",", "s", ",", "#", "n", "where", "n", "may", "be", "too", "big", "for", "one", "instruction", ".", "If", "adding", "zero", "to", "one", "register", ",", "output", "nothing", "."], "TS_V_token": ["arm", "2", "0", "0", "1", "0", "\"sub%?\\t%0, %1, %2\"", "\"sub%?\\t%0, %0, %2\"", "2", "\"add%?\\t%0, %1, %2\"", "\"add%?\\t%0, %0, %2\"", "2", "\"\""], "File": "arm", "Func": "output_add_immediate", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9659, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64ConditionOptimizer", "::", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineDominatorTree", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ConditionOptimizer (2)", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9660, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "EnableA53Fix835769", ")", "addPass", "(", "createAArch64A53Fix835769", "(", ")", ")", ";", "addPass", "(", "createAArch64BranchRelaxation", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableCollectLOH", "&&", "TM", "->", "getTargetTriple", "(", ")", ".", "isOSBinFormatMachO", "(", ")", ")", "addPass", "(", "createAArch64CollectLOHPass", "(", ")", ")", ";", "addPass", "(", "createUnpackMachineBundles", "(", "nullptr", ")", ")", ";", "}", ""], "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": "AArch64TargetMachine52", "Func": "addPreEmitPass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9661, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "X86InstrInfo", "::", "insertOutlinedCall", "(", "Module", "&", "M", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "It", ",", "MachineFunction", "&", "MF", ",", "bool", "IsTailCall", ")", "const", "{", "if", "(", "IsTailCall", ")", "{", "It", "=", "MBB", ".", "insert", "(", "It", ",", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "X86", "::", "JMP_1", ")", ")", ".", "addGlobalAddress", "(", "M", ".", "getNamedValue", "(", "MF", ".", "getName", "(", ")", ")", ")", ")", ";", "}", "else", "{", "It", "=", "MBB", ".", "insert", "(", "It", ",", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "X86", "::", "CALL64pcrel32", ")", ")", ".", "addGlobalAddress", "(", "M", ".", "getNamedValue", "(", "MF", ".", "getName", "(", ")", ")", ")", ")", ";", "}", "return", "It", ";", "}", ""], "natrual_language": ["Insert", "a", "call", "to", "an", "outlined", "function", "into", "the", "program", "."], "TS_V_token": ["X86", "X86", "X86::JMP_1", "X86::CALL64pcrel32"], "File": "X86InstrInfo114", "Func": "insertOutlinedCall", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9662, "Length": 121, "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": 9663, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "arm_build_builtin_va_list", "(", "void", ")", "{", "tree", "va_list_name", ";", "tree", "ap_field", ";", "if", "(", "!", "TARGET_AAPCS_BASED", ")", "return", "std_build_builtin_va_list", "(", ")", ";", "va_list_type", "=", "lang_hooks", ".", "types", ".", "make_type", "(", "RECORD_TYPE", ")", ";", "va_list_name", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "TYPE_DECL", ",", "get_identifier", "(", "\"__va_list\"", ")", ",", "va_list_type", ")", ";", "DECL_ARTIFICIAL", "(", "va_list_name", ")", "=", "1", ";", "TYPE_NAME", "(", "va_list_type", ")", "=", "va_list_name", ";", "TYPE_STUB_DECL", "(", "va_list_type", ")", "=", "va_list_name", ";", "ap_field", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"__ap\"", ")", ",", "ptr_type_node", ")", ";", "DECL_ARTIFICIAL", "(", "ap_field", ")", "=", "1", ";", "DECL_FIELD_CONTEXT", "(", "ap_field", ")", "=", "va_list_type", ";", "TYPE_FIELDS", "(", "va_list_type", ")", "=", "ap_field", ";", "layout_type", "(", "va_list_type", ")", ";", "return", "va_list_type", ";", "}", ""], "natrual_language": ["Return", "the", "type", "to", "use", "as", "__builtin_va_list", "."], "TS_V_token": ["arm", "\"__va_list\"", "1", "\"__ap\"", "1"], "File": "arm", "Func": "arm_build_builtin_va_list", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9664, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"LC3b DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["LC3b", "\"LC3b DAG->DAG Pattern Instruction Selection\""], "File": "LC3bDagToDagISel", "Func": "getPassName", "Target": "LC3b", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9665, "Length": 12, "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": 9666, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstrBuilder", "buildLoad", "(", "const", "DstOp", "&", "Res", ",", "Register", "Addr", ",", "uint64_t", "Size", ",", "MachinePointerInfo", "&", "MPO", ")", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "unsigned", "Alignment", "=", "inferAlignmentFromPtrInfo", "(", "MF", ",", "MPO", ")", ";", "auto", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MPO", ",", "MachineMemOperand", "::", "MOLoad", ",", "Size", ",", "Alignment", ")", ";", "return", "MIRBuilder", ".", "buildLoad", "(", "Res", ",", "Addr", ",", "*", "MMO", ")", ";", "}", ""], "natrual_language": ["Build", "and", "insert", "a", "G_LOAD", "instruction", ",", "while", "constructing", "the", "MachineMemOperand", "."], "TS_V_token": ["ARM"], "File": "ARMCallLowering21", "Func": "buildLoad", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9667, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SystemZTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "return", "combineSIGN_EXTEND", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "MERGE_HIGH", ":", "case", "SystemZISD", "::", "MERGE_LOW", ":", "return", "combineMERGE", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "combineSTORE", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "EXTRACT_VECTOR_ELT", ":", "return", "combineEXTRACT_VECTOR_ELT", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "JOIN_DWORDS", ":", "return", "combineJOIN_DWORDS", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "FP_ROUND", ":", "return", "combineFP_ROUND", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "BSWAP", ":", "return", "combineBSWAP", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SRL", ":", "case", "ISD", "::", "ROTL", ":", "return", "combineSHIFTROT", "(", "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": ["SystemZ", "SystemZ", "ISD::SIGN_EXTEND", "SystemZISD::MERGE_HIGH", "SystemZISD::MERGE_LOW", "ISD::STORE", "ISD::EXTRACT_VECTOR_ELT", "SystemZISD::JOIN_DWORDS", "ISD::FP_ROUND", "ISD::BSWAP", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::ROTL"], "File": "SystemZISelLowering104", "Func": "PerformDAGCombine", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9668, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64ExpandPseudo", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "Modified", "|=", "expandMBB", "(", "MBB", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64ExpandPseudoInsts", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9669, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_jump_label_table", "(", "void", ")", "{", "int", "i", ";", "if", "(", "pool_size", ")", "{", "fprintf", "(", "asm_out_file", ",", "\"\\t.align 2\\n\"", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "pool_size", ";", "i", "++", ")", "{", "pool_node", "*", "p", "=", "&", "pool_vector", "[", "i", "]", ";", "(", "*", "targetm", ".", "asm_out", ".", "internal_label", ")", "(", "asm_out_file", ",", "\"L\"", ",", "CODE_LABEL_NUMBER", "(", "p", "->", "label", ")", ")", ";", "output_asm_insn", "(", "\".long\t%O0\"", ",", "&", "p", "->", "value", ")", ";", "}", "pool_size", "=", "0", ";", "}", "return", "\"\"", ";", "}", ""], "natrual_language": ["Dump", "out", "any", "constants", "accumulated", "in", "the", "final", "pass", ".", "These", "will", "only", "be", "labels", "."], "TS_V_token": ["sh", "\"\\t.align 2\\n\"", "0", "\"L\"", "\".long\t%O0\"", "0", "\"\""], "File": "sh3", "Func": "output_jump_label_table", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9670, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GeneralShuffle", "::", "add", "(", "SDValue", "Op", ",", "unsigned", "Elem", ")", "{", "unsigned", "BytesPerElement", "=", "VT", ".", "getVectorElementType", "(", ")", ".", "getStoreSize", "(", ")", ";", "EVT", "FromVT", "=", "Op", ".", "getNode", "(", ")", "?", "Op", ".", "getValueType", "(", ")", ":", "VT", ";", "unsigned", "FromBytesPerElement", "=", "FromVT", ".", "getVectorElementType", "(", ")", ".", "getStoreSize", "(", ")", ";", "assert", "(", "FromBytesPerElement", ">=", "BytesPerElement", "&&", "\"Invalid EXTRACT_VECTOR_ELT\"", ")", ";", "unsigned", "Byte", "=", "(", "(", "Elem", "*", "FromBytesPerElement", ")", "%", "SystemZ", "::", "VectorBytes", "+", "(", "FromBytesPerElement", "-", "BytesPerElement", ")", ")", ";", "while", "(", "Op", ".", "getNode", "(", ")", ")", "{", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "ISD", "::", "BITCAST", ")", "Op", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "else", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "ISD", "::", "VECTOR_SHUFFLE", "&&", "Op", ".", "hasOneUse", "(", ")", ")", "{", "SmallVector", "<", "int", ",", "SystemZ", "::", "VectorBytes", ">", "OpBytes", ";", "getVPermMask", "(", "cast", "<", "ShuffleVectorSDNode", ">", "(", "Op", ")", ",", "OpBytes", ")", ";", "int", "NewByte", ";", "if", "(", "!", "getShuffleInput", "(", "OpBytes", ",", "Byte", ",", "BytesPerElement", ",", "NewByte", ")", ")", "break", ";", "if", "(", "NewByte", "<", "0", ")", "{", "addUndef", "(", ")", ";", "return", ";", "}", "Op", "=", "Op", ".", "getOperand", "(", "unsigned", "(", "NewByte", ")", "/", "SystemZ", "::", "VectorBytes", ")", ";", "Byte", "=", "unsigned", "(", "NewByte", ")", "%", "SystemZ", "::", "VectorBytes", ";", "}", "else", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "ISD", "::", "UNDEF", ")", "{", "addUndef", "(", ")", ";", "return", ";", "}", "else", "break", ";", "}", "unsigned", "OpNo", "=", "0", ";", "for", "(", ";", "OpNo", "<", "Ops", ".", "size", "(", ")", ";", "++", "OpNo", ")", "if", "(", "Ops", "[", "OpNo", "]", "==", "Op", ")", "break", ";", "if", "(", "OpNo", "==", "Ops", ".", "size", "(", ")", ")", "Ops", ".", "push_back", "(", "Op", ")", ";", "unsigned", "Base", "=", "OpNo", "*", "SystemZ", "::", "VectorBytes", "+", "Byte", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "BytesPerElement", ";", "++", "I", ")", "Bytes", ".", "push_back", "(", "Base", "+", "I", ")", ";", "}", ""], "natrual_language": ["Add", "a", "string", "to", "the", "builder", "."], "TS_V_token": ["SystemZ", "\"Invalid EXTRACT_VECTOR_ELT\"", "SystemZ::VectorBytes", "ISD::BITCAST", "0", "ISD::VECTOR_SHUFFLE", "SystemZ::VectorBytes", "0", "SystemZ::VectorBytes", "SystemZ::VectorBytes", "ISD::UNDEF", "0", "SystemZ::VectorBytes", "0"], "File": "SystemZISelLowering (2)1", "Func": "add", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9671, "Length": 326, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_pushwb_single_reg", "(", "machine_mode", "mode", ",", "unsigned", "regno", ",", "HOST_WIDE_INT", "adjustment", ")", "{", "rtx", "base_rtx", "=", "stack_pointer_rtx", ";", "rtx", "insn", ",", "reg", ",", "mem", ";", "reg", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "mem", "=", "gen_rtx_PRE_MODIFY", "(", "Pmode", ",", "base_rtx", ",", "plus_constant", "(", "Pmode", ",", "base_rtx", ",", "-", "adjustment", ")", ")", ";", "mem", "=", "gen_frame_mem", "(", "mode", ",", "mem", ")", ";", "insn", "=", "emit_move_insn", "(", "mem", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", ""], "natrual_language": ["Push", "the", "register", "number", "REGNO", "of", "mode", "MODE", "to", "the", "stack", "with", "write-back", "adjusting", "the", "stack", "by", "ADJUSTMENT", "."], "TS_V_token": ["aarch64", "1"], "File": "aarch64", "Func": "aarch64_pushwb_single_reg", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9672, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Error", "(", "SMLoc", "L", ",", "const", "Twine", "&", "Msg", ",", "ArrayRef", "<", "SMRange", ">", "Ranges", "=", "None", ",", "bool", "MatchingInlineAsm", "=", "false", ")", "{", "MCAsmParser", "&", "Parser", "=", "getParser", "(", ")", ";", "if", "(", "MatchingInlineAsm", ")", "return", "true", ";", "return", "Parser", ".", "Error", "(", "L", ",", "Msg", ",", "Ranges", ")", ";", "}", ""], "natrual_language": ["Return", "an", "error", "at", "the", "location", "L", ",", "with", "the", "message", "Msg", "."], "TS_V_token": ["X86"], "File": "X86AsmParser (2)3", "Func": "Error", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9673, "Length": 53, "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": 9674, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "F2003fInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "getRegisterName", "(", "RegNo", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["F2003f", "F2003f"], "File": "F2003fInstPrinter", "Func": "printRegName", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9675, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "OR1KTargetLowering", "::", "LowerCall", "(", "TargetLowering", "::", "CallLoweringInfo", "&", "CLI", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "CLI", ".", "DAG", ";", "SDLoc", "&", "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", ")", ";", "}", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "calls", "into", "the", "specified", "DAG", "."], "TS_V_token": ["OR1K", "OR1K", "ISD::OutputArg", "32", "32", "ISD::InputArg", "32", "\"Unsupported calling convention\""], "File": "OR1KISelLowering1", "Func": "LowerCall", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9676, "Length": 171, "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", ",", "0", ")", ";", "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", ",", "1", ",", "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", ",", "1", ",", "gen_rtx_REG", "(", "Pmode", ",", "caller_addr_regno", ")", ",", "Pmode", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "profile", "function", "."], "TS_V_token": ["rs6000", "0", "30", "\"LP\"", "1", "1", "0", "1"], "File": "rs60004", "Func": "output_profile_hook", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9677, "Length": 177, "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", "=", "*", "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", "0", "PPC::VRSAVE", "PPC::CR2", "PPC::CR4", "PPC", "PPC", "PPC", "PPC::MFCR", "PPC::R12", "PPC::STW", "PPC::R12"], "File": "PPCFrameLowering10", "Func": "spillCalleeSavedRegisters", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9678, "Length": 355, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableAdvSIMDScalar", ")", "{", "addPass", "(", "createAArch64AdvSIMDScalar", "(", ")", ")", ";", "addPass", "(", "&", "PeepholeOptimizerID", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine10", "Func": "addPreRegAlloc", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9679, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PassConfig", "::", "addGlobalInstructionSelect", "(", ")", "{", "addPass", "(", "new", "InstructionSelect", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createAArch64PostSelectOptimize", "(", ")", ")", ";", "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", "AArch64"], "File": "AArch64TargetMachine33", "Func": "addGlobalInstructionSelect", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9680, "Length": 36, "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", "*", ">", "(", "MF", "->", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "DL", ";", "bool", "CRSpilled", "=", "false", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "bool", "IsCRField", "=", "PPC", "::", "CR2", "<=", "Reg", "&&", "Reg", "<=", "PPC", "::", "CR4", ";", "if", "(", "CRSpilled", "&&", "IsCRField", ")", "continue", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "if", "(", "IsCRField", ")", "{", "CRSpilled", "=", "true", ";", "if", "(", "Subtarget", ".", "isPPC64", "(", ")", ")", "{", "MBB", ".", "insert", "(", "MI", ",", "BuildMI", "(", "*", "MF", ",", "DL", ",", "TII", ".", "get", "(", "PPC", "::", "MFCR", ")", ",", "PPC", "::", "X12", ")", ")", ";", "MBB", ".", "insert", "(", "MI", ",", "BuildMI", "(", "*", "MF", ",", "DL", ",", "TII", ".", "get", "(", "PPC", "::", "STW", ")", ")", ".", "addReg", "(", "PPC", "::", "X12", ",", "getKillRegState", "(", "true", ")", ")", ".", "addImm", "(", "8", ")", ".", "addReg", "(", "PPC", "::", "X1", ")", ")", ";", "}", "else", "{", "MBB", ".", "insert", "(", "MI", ",", "BuildMI", "(", "*", "MF", ",", "DL", ",", "TII", ".", "get", "(", "PPC", "::", "MFCR", ")", ",", "PPC", "::", "R12", ")", ")", ";", "MBB", ".", "insert", "(", "MI", ",", "addFrameReference", "(", "BuildMI", "(", "*", "MF", ",", "DL", ",", "TII", ".", "get", "(", "PPC", "::", "STW", ")", ")", ".", "addReg", "(", "PPC", "::", "R12", ",", "getKillRegState", "(", "true", ")", ")", ",", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", ")", ")", ";", "}", "PPCFunctionInfo", "*", "FuncInfo", "=", "MF", "->", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", ";", "FuncInfo", "->", "setSpillsCR", "(", ")", ";", "}", "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::CR2", "PPC::CR4", "PPC", "PPC::MFCR", "PPC::X12", "PPC::STW", "PPC::X12", "8", "PPC::X1", "PPC::MFCR", "PPC::R12", "PPC::STW", "PPC::R12", "PPC", "PPC"], "File": "PPCFrameLowering", "Func": "spillCalleeSavedRegisters", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9681, "Length": 390, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "TeeRISCTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "TeeRISCPassConfig", "(", "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": ["TeeRISC", "TeeRISC", "TeeRISC"], "File": "TeeRISCTargetMachine", "Func": "createPassConfig", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9682, "Length": 21, "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": 9683, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLoweringBase", "::", "LegalizeTypeAction", "getPreferredVectorAction", "(", "MVT", "VT", ")", "const", "override", "{", "if", "(", "VT", ".", "isScalableVector", "(", ")", "||", "VT", ".", "getVectorNumElements", "(", ")", "==", "1", ")", "return", "TargetLoweringBase", "::", "getPreferredVectorAction", "(", "VT", ")", ";", "if", "(", "VT", ".", "getScalarSizeInBits", "(", ")", "==", "1", "&&", "VT", ".", "getSizeInBits", "(", ")", ">", "16", ")", "return", "TypeSplitVector", ";", "if", "(", "VT", ".", "getScalarSizeInBits", "(", ")", "==", "1", ")", "return", "TypePromoteInteger", ";", "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", "1", "1", "16", "1", "8", "0"], "File": "PPCISelLowering30", "Func": "getPreferredVectorAction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9684, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_debug_reg_print", "(", "int", "first_regno", ",", "int", "last_regno", ",", "const", "char", "*", "reg_name", ")", "{", "int", "r", ",", "m", ";", "for", "(", "r", "=", "first_regno", ";", "r", "<=", "last_regno", ";", "++", "r", ")", "{", "const", "char", "*", "comma", "=", "\"\"", ";", "int", "len", ";", "if", "(", "first_regno", "==", "last_regno", ")", "fprintf", "(", "stderr", ",", "\"%s:\\t\"", ",", "reg_name", ")", ";", "else", "fprintf", "(", "stderr", ",", "\"%s%d:\\t\"", ",", "reg_name", ",", "r", "-", "first_regno", ")", ";", "len", "=", "8", ";", "for", "(", "m", "=", "0", ";", "m", "<", "NUM_MACHINE_MODES", ";", "++", "m", ")", "if", "(", "rs6000_hard_regno_mode_ok_p", "[", "m", "]", "[", "r", "]", "&&", "rs6000_hard_regno_nregs", "[", "m", "]", "[", "r", "]", ")", "{", "if", "(", "len", ">", "70", ")", "{", "fprintf", "(", "stderr", ",", "\",\\n\\t\"", ")", ";", "len", "=", "8", ";", "comma", "=", "\"\"", ";", "}", "if", "(", "rs6000_hard_regno_nregs", "[", "m", "]", "[", "r", "]", ">", "1", ")", "len", "+=", "fprintf", "(", "stderr", ",", "\"%s%s/%d\"", ",", "comma", ",", "GET_MODE_NAME", "(", "m", ")", ",", "rs6000_hard_regno_nregs", "[", "m", "]", "[", "r", "]", ")", ";", "else", "len", "+=", "fprintf", "(", "stderr", ",", "\"%s%s\"", ",", "comma", ",", "GET_MODE_NAME", "(", "m", ")", ")", ";", "comma", "=", "\", \"", ";", "}", "if", "(", "call_used_regs", "[", "r", "]", ")", "{", "if", "(", "len", ">", "70", ")", "{", "fprintf", "(", "stderr", ",", "\",\\n\\t\"", ")", ";", "len", "=", "8", ";", "comma", "=", "\"\"", ";", "}", "len", "+=", "fprintf", "(", "stderr", ",", "\"%s%s\"", ",", "comma", ",", "\"call-used\"", ")", ";", "comma", "=", "\", \"", ";", "}", "if", "(", "fixed_regs", "[", "r", "]", ")", "{", "if", "(", "len", ">", "70", ")", "{", "fprintf", "(", "stderr", ",", "\",\\n\\t\"", ")", ";", "len", "=", "8", ";", "comma", "=", "\"\"", ";", "}", "len", "+=", "fprintf", "(", "stderr", ",", "\"%s%s\"", ",", "comma", ",", "\"fixed\"", ")", ";", "comma", "=", "\", \"", ";", "}", "if", "(", "len", ">", "70", ")", "{", "fprintf", "(", "stderr", ",", "\",\\n\\t\"", ")", ";", "comma", "=", "\"\"", ";", "}", "len", "+=", "fprintf", "(", "stderr", ",", "\"%sreg-class = %s\"", ",", "comma", ",", "reg_class_names", "[", "(", "int", ")", "rs6000_regno_regclass", "[", "r", "]", "]", ")", ";", "comma", "=", "\", \"", ";", "if", "(", "len", ">", "70", ")", "{", "fprintf", "(", "stderr", ",", "\",\\n\\t\"", ")", ";", "comma", "=", "\"\"", ";", "}", "fprintf", "(", "stderr", ",", "\"%sregno = %d\\n\"", ",", "comma", ",", "r", ")", ";", "}", "}", ""], "natrual_language": ["Print", "interesting", "facts", "about", "registers", "."], "TS_V_token": ["powerpcspe", "\"\"", "\"%s:\\t\"", "\"%s%d:\\t\"", "8", "0", "70", "\",\\n\\t\"", "8", "\"\"", "1", "\"%s%s/%d\"", "\"%s%s\"", "\", \"", "70", "\",\\n\\t\"", "8", "\"\"", "\"%s%s\"", "\"call-used\"", "\", \"", "70", "\",\\n\\t\"", "8", "\"\"", "\"%s%s\"", "\"fixed\"", "\", \"", "70", "\",\\n\\t\"", "\"\"", "\"%sreg-class = %s\"", "\", \"", "70", "\",\\n\\t\"", "\"\"", "\"%sregno = %d\\n\""], "File": "powerpcspe", "Func": "rs6000_debug_reg_print", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9685, "Length": 366, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsTargetLowering", "::", "getVectorTypeBreakdownForCallingConv", "(", "LLVMContext", "&", "Context", ",", "EVT", "VT", ",", "EVT", "&", "IntermediateVT", ",", "unsigned", "&", "NumIntermediates", ",", "MVT", "&", "RegisterVT", ")", "const", "{", "RegisterVT", "=", "getRegisterTypeForCallingConv", "(", "Context", ",", "VT", ")", ";", "IntermediateVT", "=", "RegisterVT", ";", "NumIntermediates", "=", "VT", ".", "getSizeInBits", "(", ")", "<", "RegisterVT", ".", "getSizeInBits", "(", ")", "?", "VT", ".", "getVectorNumElements", "(", ")", ":", "VT", ".", "getSizeInBits", "(", ")", "/", "RegisterVT", ".", "getSizeInBits", "(", ")", ";", "return", "NumIntermediates", ";", "}", ""], "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": ["Mips", "Mips"], "File": "MipsISelLowering10", "Func": "getVectorTypeBreakdownForCallingConv", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9686, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "machine_function", "*", "mips_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": ["mips"], "File": "mips", "Func": "mips_init_machine_status", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9687, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsFastISel", "::", "isTypeLegal", "(", "Type", "*", "Ty", ",", "MVT", "&", "VT", ")", "{", "EVT", "evt", "=", "TLI", ".", "getValueType", "(", "Ty", ",", "true", ")", ";", "if", "(", "evt", "==", "MVT", "::", "Other", "||", "!", "evt", ".", "isSimple", "(", ")", ")", "return", "false", ";", "VT", "=", "evt", ".", "getSimpleVT", "(", ")", ";", "return", "TLI", ".", "isTypeLegal", "(", "VT", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "type", "is", "legal", "."], "TS_V_token": ["Mips", "Mips", "MVT::Other"], "File": "MipsFastISel11", "Func": "isTypeLegal", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9688, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "neon_const_bounds", "(", "rtx", "operand", ",", "HOST_WIDE_INT", "low", ",", "HOST_WIDE_INT", "high", ")", "{", "bounds_check", "(", "operand", ",", "low", ",", "high", ",", "NULL_TREE", ",", "\"constant\"", ")", ";", "}", ""], "natrual_language": ["Bounds-check", "constants", "."], "TS_V_token": ["arm", "\"constant\""], "File": "arm5", "Func": "neon_const_bounds", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9689, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "long", "arm_compute_save_reg0_reg12_mask", "(", ")", "{", "unsigned", "long", "func_type", "=", "arm_current_func_type", "(", ")", ";", "unsigned", "int", "save_reg_mask", "=", "0", ";", "unsigned", "int", "reg", ";", "if", "(", "IS_INTERRUPT", "(", "func_type", ")", ")", "{", "unsigned", "int", "max_reg", ";", "if", "(", "ARM_FUNC_TYPE", "(", "func_type", ")", "==", "ARM_FT_FIQ", ")", "max_reg", "=", "7", ";", "else", "max_reg", "=", "12", ";", "for", "(", "reg", "=", "0", ";", "reg", "<=", "max_reg", ";", "reg", "++", ")", "if", "(", "regs_ever_live", "[", "reg", "]", "||", "(", "!", "current_function_is_leaf", "&&", "call_used_regs", "[", "reg", "]", ")", ")", "save_reg_mask", "|=", "(", "1", "<<", "reg", ")", ";", "}", "else", "{", "for", "(", "reg", "=", "0", ";", "reg", "<=", "10", ";", "reg", "++", ")", "if", "(", "regs_ever_live", "[", "reg", "]", "&&", "!", "call_used_regs", "[", "reg", "]", ")", "save_reg_mask", "|=", "(", "1", "<<", "reg", ")", ";", "if", "(", "!", "TARGET_APCS_FRAME", "&&", "!", "frame_pointer_needed", "&&", "regs_ever_live", "[", "HARD_FRAME_POINTER_REGNUM", "]", "&&", "!", "call_used_regs", "[", "HARD_FRAME_POINTER_REGNUM", "]", ")", "save_reg_mask", "|=", "1", "<<", "HARD_FRAME_POINTER_REGNUM", ";", "if", "(", "flag_pic", "&&", "!", "TARGET_SINGLE_PIC_BASE", "&&", "regs_ever_live", "[", "PIC_OFFSET_TABLE_REGNUM", "]", ")", "save_reg_mask", "|=", "1", "<<", "PIC_OFFSET_TABLE_REGNUM", ";", "}", "return", "save_reg_mask", ";", "}", ""], "natrual_language": ["Compute", "the", "register", "save", "mask", "for", "registers", "0", "through", "12", "inclusive", ".", "This", "code", "is", "used", "by", "arm_compute_save_reg_mask", "."], "TS_V_token": ["arm", "0", "7", "12", "0", "1", "0", "10", "1", "1", "1"], "File": "arm2", "Func": "arm_compute_save_reg0_reg12_mask", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9690, "Length": 178, "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": 9691, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TOYInstrInfo", "::", "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", "(", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "TOY", "::", "LOADrr", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addReg", "(", "TOY", "::", "ZERO", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["TOY", "TOY", "TOY::LOADrr", "TOY::ZERO"], "File": "TOYInstrInfo", "Func": "loadRegFromStackSlot", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9692, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isMulAddWithConstProfitable", "(", "SDValue", "AddNode", ",", "SDValue", "ConstNode", ")", "const", "{", "const", "EVT", "VT", "=", "AddNode", ".", "getValueType", "(", ")", ";", "if", "(", "VT", ".", "isVector", "(", ")", "||", "VT", ".", "getScalarSizeInBits", "(", ")", ">", "64", ")", "return", "true", ";", "const", "ConstantSDNode", "*", "C1Node", "=", "cast", "<", "ConstantSDNode", ">", "(", "AddNode", ".", "getOperand", "(", "1", ")", ")", ";", "const", "ConstantSDNode", "*", "C2Node", "=", "cast", "<", "ConstantSDNode", ">", "(", "ConstNode", ")", ";", "const", "int64_t", "C1", "=", "C1Node", "->", "getSExtValue", "(", ")", ";", "const", "APInt", "C1C2", "=", "C1Node", "->", "getAPIntValue", "(", ")", "*", "C2Node", "->", "getAPIntValue", "(", ")", ";", "if", "(", "!", "isLegalAddImmediate", "(", "C1", ")", "||", "isLegalAddImmediate", "(", "C1C2", ".", "getSExtValue", "(", ")", ")", ")", "return", "true", ";", "SmallVector", "<", "AArch64_IMM", "::", "ImmInsnModel", ",", "4", ">", "Insn", ";", "AArch64_IMM", "::", "expandMOVImm", "(", "C1C2", ".", "getZExtValue", "(", ")", ",", "VT", ".", "getSizeInBits", "(", ")", ",", "Insn", ")", ";", "if", "(", "Insn", ".", "size", "(", ")", ">", "1", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "may", "be", "profitable", "to", "transform", "(", "mul", "(", "add", "x", ",", "c1", ")", ",", "c2", ")", "-", ">", "(", "add", "(", "mul", "x", ",", "c2", ")", ",", "c1", "*", "c2", ")", "."], "TS_V_token": ["AArch64", "AArch64", "64", "1", "AArch64", "4", "AArch64", "1"], "File": "AArch64ISelLowering69", "Func": "isMulAddWithConstProfitable", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9693, "Length": 165, "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": 9694, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createARMISelDag", "(", "getARMTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "const", "ARMSubtarget", "*", "Subtarget", "=", "&", "getARMSubtarget", "(", ")", ";", "if", "(", "Subtarget", "->", "isTargetELF", "(", ")", "&&", "!", "Subtarget", "->", "isThumb1Only", "(", ")", "&&", "TM", "->", "Options", ".", "EnableFastISel", ")", "addPass", "(", "createARMGlobalBaseRegPass", "(", ")", ")", ";", "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", "ARM", "ARM", "ARM", "ARM"], "File": "ARMTargetMachine100", "Func": "addInstSelector", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9695, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "bool", "wrapped_symbol_hasher", "::", "equal", "(", "const", "value_type", "*", "x", ",", "const", "compare_type", "*", "y", ")", "{", "return", "!", "strcmp", "(", "x", ",", "y", ")", ";", "}", ""], "natrual_language": ["Compare", "H1", "and", "H2", "for", "equivalence", "."], "TS_V_token": ["i386"], "File": "winnt4", "Func": "equal", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9696, "Length": 27, "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": 9697, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "init_float128_ibm", "(", "machine_mode", "mode", ")", "{", "if", "(", "!", "TARGET_XL_COMPAT", ")", "{", "set_optab_libfunc", "(", "add_optab", ",", "mode", ",", "\"__gcc_qadd\"", ")", ";", "set_optab_libfunc", "(", "sub_optab", ",", "mode", ",", "\"__gcc_qsub\"", ")", ";", "set_optab_libfunc", "(", "smul_optab", ",", "mode", ",", "\"__gcc_qmul\"", ")", ";", "set_optab_libfunc", "(", "sdiv_optab", ",", "mode", ",", "\"__gcc_qdiv\"", ")", ";", "if", "(", "!", "TARGET_HARD_FLOAT", ")", "{", "set_optab_libfunc", "(", "neg_optab", ",", "mode", ",", "\"__gcc_qneg\"", ")", ";", "set_optab_libfunc", "(", "eq_optab", ",", "mode", ",", "\"__gcc_qeq\"", ")", ";", "set_optab_libfunc", "(", "ne_optab", ",", "mode", ",", "\"__gcc_qne\"", ")", ";", "set_optab_libfunc", "(", "gt_optab", ",", "mode", ",", "\"__gcc_qgt\"", ")", ";", "set_optab_libfunc", "(", "ge_optab", ",", "mode", ",", "\"__gcc_qge\"", ")", ";", "set_optab_libfunc", "(", "lt_optab", ",", "mode", ",", "\"__gcc_qlt\"", ")", ";", "set_optab_libfunc", "(", "le_optab", ",", "mode", ",", "\"__gcc_qle\"", ")", ";", "set_optab_libfunc", "(", "unord_optab", ",", "mode", ",", "\"__gcc_qunord\"", ")", ";", "set_conv_libfunc", "(", "sext_optab", ",", "mode", ",", "SFmode", ",", "\"__gcc_stoq\"", ")", ";", "set_conv_libfunc", "(", "sext_optab", ",", "mode", ",", "DFmode", ",", "\"__gcc_dtoq\"", ")", ";", "set_conv_libfunc", "(", "trunc_optab", ",", "SFmode", ",", "mode", ",", "\"__gcc_qtos\"", ")", ";", "set_conv_libfunc", "(", "trunc_optab", ",", "DFmode", ",", "mode", ",", "\"__gcc_qtod\"", ")", ";", "set_conv_libfunc", "(", "sfix_optab", ",", "SImode", ",", "mode", ",", "\"__gcc_qtoi\"", ")", ";", "set_conv_libfunc", "(", "ufix_optab", ",", "SImode", ",", "mode", ",", "\"__gcc_qtou\"", ")", ";", "set_conv_libfunc", "(", "sfloat_optab", ",", "mode", ",", "SImode", ",", "\"__gcc_itoq\"", ")", ";", "set_conv_libfunc", "(", "ufloat_optab", ",", "mode", ",", "SImode", ",", "\"__gcc_utoq\"", ")", ";", "}", "}", "else", "{", "set_optab_libfunc", "(", "add_optab", ",", "mode", ",", "\"_xlqadd\"", ")", ";", "set_optab_libfunc", "(", "sub_optab", ",", "mode", ",", "\"_xlqsub\"", ")", ";", "set_optab_libfunc", "(", "smul_optab", ",", "mode", ",", "\"_xlqmul\"", ")", ";", "set_optab_libfunc", "(", "sdiv_optab", ",", "mode", ",", "\"_xlqdiv\"", ")", ";", "}", "if", "(", "mode", "==", "IFmode", ")", "{", "set_conv_libfunc", "(", "sext_optab", ",", "mode", ",", "SDmode", ",", "\"__dpd_extendsdtf2\"", ")", ";", "set_conv_libfunc", "(", "sext_optab", ",", "mode", ",", "DDmode", ",", "\"__dpd_extendddtf2\"", ")", ";", "set_conv_libfunc", "(", "trunc_optab", ",", "mode", ",", "TDmode", ",", "\"__dpd_trunctftd2\"", ")", ";", "set_conv_libfunc", "(", "trunc_optab", ",", "SDmode", ",", "mode", ",", "\"__dpd_trunctfsd2\"", ")", ";", "set_conv_libfunc", "(", "trunc_optab", ",", "DDmode", ",", "mode", ",", "\"__dpd_trunctfdd2\"", ")", ";", "set_conv_libfunc", "(", "sext_optab", ",", "TDmode", ",", "mode", ",", "\"__dpd_extendtdtf2\"", ")", ";", "if", "(", "TARGET_POWERPC64", ")", "{", "set_conv_libfunc", "(", "sfix_optab", ",", "TImode", ",", "mode", ",", "\"__fixtfti\"", ")", ";", "set_conv_libfunc", "(", "ufix_optab", ",", "TImode", ",", "mode", ",", "\"__fixunstfti\"", ")", ";", "set_conv_libfunc", "(", "sfloat_optab", ",", "mode", ",", "TImode", ",", "\"__floattitf\"", ")", ";", "set_conv_libfunc", "(", "ufloat_optab", ",", "mode", ",", "TImode", ",", "\"__floatuntitf\"", ")", ";", "}", "}", "}", ""], "natrual_language": ["Set", "up", "AIX/Darwin/64-bit", "Linux", "quad", "floating", "point", "routines", "."], "TS_V_token": ["rs6000", "\"__gcc_qadd\"", "\"__gcc_qsub\"", "\"__gcc_qmul\"", "\"__gcc_qdiv\"", "\"__gcc_qneg\"", "\"__gcc_qeq\"", "\"__gcc_qne\"", "\"__gcc_qgt\"", "\"__gcc_qge\"", "\"__gcc_qlt\"", "\"__gcc_qle\"", "\"__gcc_qunord\"", "\"__gcc_stoq\"", "\"__gcc_dtoq\"", "\"__gcc_qtos\"", "\"__gcc_qtod\"", "\"__gcc_qtoi\"", "\"__gcc_qtou\"", "\"__gcc_itoq\"", "\"__gcc_utoq\"", "\"_xlqadd\"", "\"_xlqsub\"", "\"_xlqmul\"", "\"_xlqdiv\"", "\"__dpd_extendsdtf2\"", "\"__dpd_extendddtf2\"", "\"__dpd_trunctftd2\"", "\"__dpd_trunctfsd2\"", "\"__dpd_trunctfdd2\"", "\"__dpd_extendtdtf2\"", "\"__fixtfti\"", "\"__fixunstfti\"", "\"__floattitf\"", "\"__floatuntitf\""], "File": "rs60007", "Func": "init_float128_ibm", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9698, "Length": 382, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "Register", "DestReg", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "RC", "->", "getID", "(", ")", "==", "X86", "::", "TILERegClassID", ")", "{", "unsigned", "Opc", "=", "X86", "::", "TILELOADD", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "Register", "VirtReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "X86", "::", "GR64_NOSPRegClass", ")", ";", "MachineInstr", "*", "NewMI", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DebugLoc", "(", ")", ",", "get", "(", "X86", "::", "MOV64ri", ")", ",", "VirtReg", ")", ".", "addImm", "(", "64", ")", ";", "NewMI", "=", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "MI", ",", "DebugLoc", "(", ")", ",", "get", "(", "Opc", ")", ",", "DestReg", ")", ",", "FrameIdx", ")", ";", "MachineOperand", "&", "MO", "=", "NewMI", "->", "getOperand", "(", "3", ")", ";", "MO", ".", "setReg", "(", "VirtReg", ")", ";", "MO", ".", "setIsKill", "(", "true", ")", ";", "}", "else", "if", "(", "RC", "->", "getID", "(", ")", "==", "X86", "::", "TILECFGRegClassID", ")", "{", "unsigned", "Opc", "=", "X86", "::", "PLDTILECFG", ";", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "MI", ",", "DebugLoc", "(", ")", ",", "get", "(", "Opc", ")", ",", "DestReg", ")", ",", "FrameIdx", ")", ";", "}", "else", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "unsigned", "Alignment", "=", "std", "::", "max", "<", "uint32_t", ">", "(", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", ",", "16", ")", ";", "bool", "isAligned", "=", "(", "Subtarget", ".", "getFrameLowering", "(", ")", "->", "getStackAlign", "(", ")", ">=", "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", "X86::TILERegClassID", "X86::TILELOADD", "X86::GR64_NOSPRegClass", "X86::MOV64ri", "64", "3", "X86::TILECFGRegClassID", "X86::PLDTILECFG", "16"], "File": "X86InstrInfo140", "Func": "loadRegFromStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9699, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "neon_immediate_valid_for_shift", "(", "rtx", "op", ",", "machine_mode", "mode", ",", "rtx", "*", "modconst", ",", "int", "*", "elementwidth", ",", "bool", "isleftshift", ")", "{", "unsigned", "int", "innersize", "=", "GET_MODE_UNIT_SIZE", "(", "mode", ")", ";", "unsigned", "int", "n_elts", "=", "CONST_VECTOR_NUNITS", "(", "op", ")", ",", "i", ";", "unsigned", "HOST_WIDE_INT", "last_elt", "=", "0", ";", "unsigned", "HOST_WIDE_INT", "maxshift", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n_elts", ";", "i", "++", ")", "{", "rtx", "el", "=", "CONST_VECTOR_ELT", "(", "op", ",", "i", ")", ";", "unsigned", "HOST_WIDE_INT", "elpart", ";", "if", "(", "CONST_INT_P", "(", "el", ")", ")", "elpart", "=", "INTVAL", "(", "el", ")", ";", "else", "if", "(", "CONST_DOUBLE_P", "(", "el", ")", ")", "return", "0", ";", "else", "gcc_unreachable", "(", ")", ";", "if", "(", "i", "!=", "0", "&&", "elpart", "!=", "last_elt", ")", "return", "0", ";", "last_elt", "=", "elpart", ";", "}", "maxshift", "=", "innersize", "*", "8", ";", "if", "(", "isleftshift", ")", "{", "if", "(", "last_elt", ">=", "maxshift", ")", "return", "0", ";", "}", "else", "{", "if", "(", "last_elt", "==", "0", "||", "last_elt", ">", "maxshift", ")", "return", "0", ";", "}", "if", "(", "elementwidth", ")", "*", "elementwidth", "=", "innersize", "*", "8", ";", "if", "(", "modconst", ")", "*", "modconst", "=", "CONST_VECTOR_ELT", "(", "op", ",", "0", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "rtx", "OP", "is", "legal", "for", "use", "in", "a", "VSHR", "or", "VSHL", "instruction", ".", "If", "the", "immediate", "is", "valid", ",", "write", "a", "constant", "suitable", "for", "using", "as", "an", "operand", "to", "VSHR/VSHL", "to", "*", "MODCONST", "and", "the", "corresponding", "element", "width", "to", "*", "ELEMENTWIDTH", ".", "ISLEFTSHIFT", "is", "for", "determine", "left", "or", "right", "shift", ",", "because", "they", "have", "different", "limitations", "."], "TS_V_token": ["arm", "0", "0", "0", "0", "0", "8", "0", "0", "0", "8", "0", "1"], "File": "arm", "Func": "neon_immediate_valid_for_shift", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9700, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mmix_struct_value_rtx", "(", "tree", "fntype", "ATTRIBUTE_UNUSED", ",", "int", "incoming", "ATTRIBUTE_UNUSED", ")", "{", "return", "gen_rtx_REG", "(", "Pmode", ",", "MMIX_STRUCT_VALUE_REGNUM", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_STRUCT_VALUE_RTX", "."], "TS_V_token": ["mmix"], "File": "mmix", "Func": "mmix_struct_value_rtx", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9701, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ARM64Subtarget", "*", "getSubtargetImpl", "(", ")", "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": ["ARM64", "ARM64"], "File": "ARM64TargetMachine", "Func": "getSubtargetImpl", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9702, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "areMemAccessesTriviallyDisjoint", "(", "MachineInstr", "&", "MIa", ",", "MachineInstr", "&", "MIb", ",", "AliasAnalysis", "*", "AA", ")", "const", "{", "if", "(", "!", "MIa", ".", "hasOneMemOperand", "(", ")", "||", "!", "MIb", ".", "hasOneMemOperand", "(", ")", ")", "return", "false", ";", "MachineMemOperand", "*", "MMOa", "=", "*", "MIa", ".", "memoperands_begin", "(", ")", ";", "MachineMemOperand", "*", "MMOb", "=", "*", "MIb", ".", "memoperands_begin", "(", ")", ";", "const", "Value", "*", "VALa", "=", "MMOa", "->", "getValue", "(", ")", ";", "const", "Value", "*", "VALb", "=", "MMOb", "->", "getValue", "(", ")", ";", "bool", "SameVal", "=", "(", "VALa", "&&", "VALb", "&&", "(", "VALa", "==", "VALb", ")", ")", ";", "if", "(", "!", "SameVal", ")", "{", "const", "PseudoSourceValue", "*", "PSVa", "=", "MMOa", "->", "getPseudoValue", "(", ")", ";", "const", "PseudoSourceValue", "*", "PSVb", "=", "MMOb", "->", "getPseudoValue", "(", ")", ";", "if", "(", "PSVa", "&&", "PSVb", "&&", "(", "PSVa", "==", "PSVb", ")", ")", "SameVal", "=", "true", ";", "}", "if", "(", "SameVal", ")", "{", "int", "OffsetA", "=", "MMOa", "->", "getOffset", "(", ")", ",", "OffsetB", "=", "MMOb", "->", "getOffset", "(", ")", ";", "int", "WidthA", "=", "MMOa", "->", "getSize", "(", ")", ",", "WidthB", "=", "MMOb", "->", "getSize", "(", ")", ";", "int", "LowOffset", "=", "OffsetA", "<", "OffsetB", "?", "OffsetA", ":", "OffsetB", ";", "int", "HighOffset", "=", "OffsetA", "<", "OffsetB", "?", "OffsetB", ":", "OffsetA", ";", "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": ["SystemZ", "SystemZ"], "File": "SystemZInstrInfo (2)2", "Func": "areMemAccessesTriviallyDisjoint", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9703, "Length": 232, "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 (2)3", "Func": "findRepresentativeClass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9704, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "postOffset", "(", "unsigned", "LogAlign", "=", "0", ")", "const", "{", "unsigned", "PO", "=", "Offset", "+", "Size", ";", "unsigned", "LA", "=", "std", "::", "max", "(", "unsigned", "(", "PostAlign", ")", ",", "LogAlign", ")", ";", "if", "(", "!", "LA", ")", "return", "PO", ";", "return", "WorstCaseAlign", "(", "PO", ",", "LA", ",", "internalKnownBits", "(", ")", ")", ";", "}", ""], "natrual_language": ["Compute", "the", "offset", "immediately", "following", "this", "block", "."], "TS_V_token": ["ARM", "0"], "File": "ARMConstantIslandPass10", "Func": "postOffset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9705, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isIncomingArgumentHandler", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "handler", "is", "dealing", "with", "incoming", "arguments", ",", "i.e", "."], "TS_V_token": ["X86"], "File": "X86CallLowering14", "Func": "isIncomingArgumentHandler", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9706, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "ARM64TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "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", ",", "&", "ARM64", "::", "GPR64commonRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "ARM64", "::", "GPR32commonRegClass", ")", ";", "case", "'w'", ":", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "ARM64", "::", "FPR32RegClass", ")", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "ARM64", "::", "FPR64RegClass", ")", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "128", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "ARM64", "::", "FPR128RegClass", ")", ";", "break", ";", "case", "'x'", ":", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "128", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "ARM64", "::", "FPR128_loRegClass", ")", ";", "break", ";", "}", "}", "if", "(", "StringRef", "(", "\"{cc}\"", ")", ".", "equals_lower", "(", "Constraint", ")", ")", "return", "std", "::", "make_pair", "(", "unsigned", "(", "ARM64", "::", "NZCV", ")", ",", "&", "ARM64", "::", "CCRRegClass", ")", ";", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "Res", ";", "Res", "=", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "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", "=", "ARM64", "::", "FPR128RegClass", ".", "getRegister", "(", "RegNo", ")", ";", "Res", ".", "second", "=", "&", "ARM64", "::", "FPR128RegClass", ";", "}", "}", "}", "return", "Res", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["ARM64", "ARM64", "1", "0", "64", "0U", "ARM64::GPR64commonRegClass", "0U", "ARM64::GPR32commonRegClass", "MVT::f32", "0U", "ARM64::FPR32RegClass", "64", "0U", "ARM64::FPR64RegClass", "128", "0U", "ARM64::FPR128RegClass", "128", "0U", "ARM64::FPR128_loRegClass", "\"{cc}\"", "ARM64::NZCV", "ARM64::CCRRegClass", "4", "5", "0", "1", "1", "2", "1", "0", "31", "ARM64::FPR128RegClass", "ARM64::FPR128RegClass"], "File": "ARM64ISelLowering1", "Func": "getRegForInlineAsmConstraint", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9707, "Length": 372, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isUsedByReturnOnly", "(", "SDNode", "*", "N", ")", "const", "{", "if", "(", "N", "->", "getNumValues", "(", ")", "!=", "1", ")", "return", "false", ";", "if", "(", "!", "N", "->", "hasNUsesOfValue", "(", "1", ",", "0", ")", ")", "return", "false", ";", "unsigned", "NumCopies", "=", "0", ";", "SDNode", "*", "Copies", "[", "2", "]", "=", "{", "0", ",", "0", "}", ";", "SDNode", "*", "Use", "=", "*", "N", "->", "use_begin", "(", ")", ";", "if", "(", "Use", "->", "getOpcode", "(", ")", "==", "ISD", "::", "CopyToReg", ")", "{", "Copies", "[", "NumCopies", "++", "]", "=", "Use", ";", "}", "else", "if", "(", "Use", "->", "getOpcode", "(", ")", "==", "ARMISD", "::", "VMOVRRD", ")", "{", "for", "(", "SDNode", "::", "use_iterator", "UI", "=", "Use", "->", "use_begin", "(", ")", ",", "UE", "=", "Use", "->", "use_end", "(", ")", ";", "UI", "!=", "UE", ";", "++", "UI", ")", "{", "if", "(", "UI", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "CopyToReg", ")", "return", "false", ";", "Copies", "[", "UI", ".", "getUse", "(", ")", ".", "getResNo", "(", ")", "]", "=", "*", "UI", ";", "++", "NumCopies", ";", "}", "}", "else", "if", "(", "Use", "->", "getOpcode", "(", ")", "==", "ISD", "::", "BITCAST", ")", "{", "if", "(", "!", "Use", "->", "hasNUsesOfValue", "(", "1", ",", "0", ")", ")", "return", "false", ";", "Use", "=", "*", "Use", "->", "use_begin", "(", ")", ";", "if", "(", "Use", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "CopyToReg", "||", "!", "Use", "->", "hasNUsesOfValue", "(", "1", ",", "0", ")", ")", "return", "false", ";", "Copies", "[", "NumCopies", "++", "]", "=", "Use", ";", "}", "else", "{", "return", "false", ";", "}", "if", "(", "NumCopies", "!=", "1", "&&", "NumCopies", "!=", "2", ")", "return", "false", ";", "bool", "HasRet", "=", "false", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "NumCopies", ";", "++", "i", ")", "{", "SDNode", "*", "Copy", "=", "Copies", "[", "i", "]", ";", "for", "(", "SDNode", "::", "use_iterator", "UI", "=", "Copy", "->", "use_begin", "(", ")", ",", "UE", "=", "Copy", "->", "use_end", "(", ")", ";", "UI", "!=", "UE", ";", "++", "UI", ")", "{", "if", "(", "UI", "->", "getOpcode", "(", ")", "==", "ISD", "::", "CopyToReg", ")", "{", "SDNode", "*", "Use", "=", "*", "UI", ";", "if", "(", "Use", "==", "Copies", "[", "0", "]", "||", "(", "(", "NumCopies", "==", "2", ")", "&&", "(", "Use", "==", "Copies", "[", "1", "]", ")", ")", ")", "continue", ";", "return", "false", ";", "}", "if", "(", "UI", "->", "getOpcode", "(", ")", "!=", "ARMISD", "::", "RET_FLAG", ")", "return", "false", ";", "HasRet", "=", "true", ";", "}", "}", "return", "HasRet", ";", "}", ""], "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", "0", "2", "0", "0", "ISD::CopyToReg", "ARMISD::VMOVRRD", "ISD::CopyToReg", "ISD::BITCAST", "1", "0", "ISD::CopyToReg", "1", "0", "1", "2", "0", "ISD::CopyToReg", "0", "2", "1", "ARMISD::RET_FLAG"], "File": "ARMISelLowering16", "Func": "isUsedByReturnOnly", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9708, "Length": 395, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "xstormy16_rtx_costs", "(", "rtx", "x", ",", "int", "code", ",", "int", "outer_code", "ATTRIBUTE_UNUSED", ",", "int", "*", "total", ")", "{", "switch", "(", "code", ")", "{", "case", "CONST_INT", ":", "if", "(", "INTVAL", "(", "x", ")", "<", "16", "&&", "INTVAL", "(", "x", ")", ">=", "0", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", "/", "2", ";", "else", "if", "(", "INTVAL", "(", "x", ")", "<", "256", "&&", "INTVAL", "(", "x", ")", ">=", "0", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", ";", "else", "*", "total", "=", "COSTS_N_INSNS", "(", "2", ")", ";", "return", "true", ";", "case", "CONST_DOUBLE", ":", "case", "CONST", ":", "case", "SYMBOL_REF", ":", "case", "LABEL_REF", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "2", ")", ";", "return", "true", ";", "case", "MULT", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "35", "+", "6", ")", ";", "return", "true", ";", "case", "DIV", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "51", "-", "6", ")", ";", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Compute", "a", "(", "partial", ")", "cost", "for", "rtx", "X", ".", "Return", "true", "if", "the", "complete", "cost", "has", "been", "computed", ",", "and", "false", "if", "subexpressions", "should", "be", "scanned", ".", "In", "either", "case", ",", "*", "TOTAL", "contains", "the", "cost", "result", "."], "TS_V_token": ["stormy16", "16", "0", "1", "2", "256", "0", "1", "2", "2", "35", "6", "51", "6"], "File": "stormy163", "Func": "xstormy16_rtx_costs", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9709, "Length": 152, "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": 9710, "Length": 442, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isTarget64BitILP32", "(", ")", "const", "{", "return", "In64BitMode", "&&", "(", "TargetTriple", ".", "isX32", "(", ")", "||", "TargetTriple", ".", "isOSNaCl", "(", ")", ")", ";", "}", ""], "natrual_language": ["Is", "this", "x86_64", "with", "the", "ILP32", "programming", "model", "(", "x32", "ABI", ")", "?"], "TS_V_token": ["X86"], "File": "X86Subtarget107", "Func": "isTarget64BitILP32", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9711, "Length": 24, "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": 9712, "Length": 483, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MipsCCState", "::", "SpecialCallingConvType", "MipsCCState", "::", "getSpecialCallingConvForCallee", "(", "const", "SDNode", "*", "Callee", ",", "const", "MipsSubtarget", "&", "Subtarget", ")", "{", "MipsCCState", "::", "SpecialCallingConvType", "SpecialCallingConv", "=", "NoSpecialCallingConv", ";", "if", "(", "Subtarget", ".", "inMips16HardFloat", "(", ")", ")", "{", "if", "(", "const", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast", "<", "const", "GlobalAddressSDNode", ">", "(", "Callee", ")", ")", "{", "llvm", "::", "StringRef", "Sym", "=", "G", "->", "getGlobal", "(", ")", "->", "getName", "(", ")", ";", "Function", "*", "F", "=", "G", "->", "getGlobal", "(", ")", "->", "getParent", "(", ")", "->", "getFunction", "(", "Sym", ")", ";", "if", "(", "F", "&&", "F", "->", "hasFnAttribute", "(", "\"__Mips16RetHelper\"", ")", ")", "{", "SpecialCallingConv", "=", "Mips16RetHelperConv", ";", "}", "}", "}", "return", "SpecialCallingConv", ";", "}", ""], "natrual_language": ["Determine", "the", "SpecialCallingConvType", "for", "the", "given", "callee", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "\"__Mips16RetHelper\"", "Mips"], "File": "MipsCCState", "Func": "getSpecialCallingConvForCallee", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9713, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "reg_class", "vfp_secondary_reload_class", "(", "enum", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "if", "(", "arm_coproc_mem_operand", "(", "x", ",", "FALSE", ")", "||", "s_register_operand", "(", "x", ",", "mode", ")", ")", "return", "NO_REGS", ";", "return", "GENERAL_REGS", ";", "}", ""], "natrual_language": ["Return", "GENERAL_REGS", "if", "a", "scratch", "register", "required", "to", "reload", "x", "to/from", "VFP", "registers", ".", "Otherwise", "return", "NO_REGS", "."], "TS_V_token": ["arm"], "File": "arm3", "Func": "vfp_secondary_reload_class", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9714, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "int", "addsubcosts", "(", "rtx", "x", ")", "{", "if", "(", "GET_MODE", "(", "x", ")", "==", "SImode", ")", "{", "rtx", "op0", "=", "XEXP", "(", "x", ",", "0", ")", ";", "rtx", "op1", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "{", "if", "(", "GET_CODE", "(", "op0", ")", "==", "AND", "&&", "XEXP", "(", "op0", ",", "1", ")", "==", "const1_rtx", "&&", "(", "GET_CODE", "(", "op1", ")", "==", "PLUS", "||", "(", "GET_CODE", "(", "op1", ")", "==", "MULT", "&&", "XEXP", "(", "op1", ",", "1", ")", "==", "const2_rtx", ")", ")", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "op0", ")", "==", "MULT", "&&", "XEXP", "(", "op0", ",", "1", ")", "==", "const2_rtx", "&&", "GET_CODE", "(", "op1", ")", "==", "LSHIFTRT", "&&", "CONST_INT_P", "(", "XEXP", "(", "op1", ",", "1", ")", ")", "&&", "INTVAL", "(", "XEXP", "(", "op1", ",", "1", ")", ")", "==", "31", ")", "return", "1", ";", "}", "if", "(", "treg_set_expr", "(", "op1", ",", "SImode", ")", ")", "return", "1", ";", "if", "(", "treg_set_expr", "(", "op0", ",", "SImode", ")", ")", "return", "1", ";", "}", "const", "int", "cost_scale", "=", "!", "TARGET_SHMEDIA", "&&", "GET_MODE_SIZE", "(", "GET_MODE", "(", "x", ")", ")", ">", "UNITS_PER_WORD", "?", "2", ":", "1", ";", "if", "(", "REG_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", "||", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "SUBREG", ")", "return", "1", "*", "cost_scale", ";", "if", "(", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", "&&", "CONST_OK_FOR_ADD", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", ")", "return", "1", "*", "cost_scale", ";", "if", "(", "TARGET_SHMEDIA", ")", "switch", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "{", "case", "CONST", ":", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":", "return", "TARGET_SHMEDIA64", "?", "5", ":", "3", ";", "case", "CONST_INT", ":", "if", "(", "CONST_OK_FOR_I16", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", ")", "return", "2", ";", "else", "if", "(", "CONST_OK_FOR_I16", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ">>", "16", ")", ")", "return", "3", ";", "else", "if", "(", "CONST_OK_FOR_I16", "(", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ">>", "16", ")", ">>", "16", ")", ")", "return", "4", ";", "default", ":", "return", "5", ";", "}", "return", "3", "*", "cost_scale", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "an", "addition", "or", "a", "subtraction", "."], "TS_V_token": ["sh", "0", "1", "1", "1", "1", "1", "1", "1", "31", "1", "1", "1", "2", "1", "1", "1", "1", "1", "1", "1", "1", "5", "3", "1", "2", "1", "16", "3", "1", "16", "16", "4", "5", "3"], "File": "sh4", "Func": "addsubcosts", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9715, "Length": 365, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_evpc_neon_vuzp", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "int", "i", ",", "odd", ",", "mask", ",", "nelt", "=", "d", "->", "nelt", ";", "rtx", "out0", ",", "out1", ",", "in0", ",", "in1", ",", "x", ";", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "if", "(", "GET_MODE_UNIT_SIZE", "(", "d", "->", "vmode", ")", ">=", "8", ")", "return", "false", ";", "if", "(", "d", "->", "perm", "[", "0", "]", "==", "0", ")", "odd", "=", "0", ";", "else", "if", "(", "d", "->", "perm", "[", "0", "]", "==", "1", ")", "odd", "=", "1", ";", "else", "return", "false", ";", "mask", "=", "(", "d", "->", "one_vector_p", "?", "nelt", "-", "1", ":", "2", "*", "nelt", "-", "1", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "i", "++", ")", "{", "unsigned", "elt", "=", "(", "i", "*", "2", "+", "odd", ")", "&", "mask", ";", "if", "(", "d", "->", "perm", "[", "i", "]", "!=", "elt", ")", "return", "false", ";", "}", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "switch", "(", "d", "->", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_neon_vuzpv16qi_internal", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_neon_vuzpv8qi_internal", ";", "break", ";", "case", "V8HImode", ":", "gen", "=", "gen_neon_vuzpv8hi_internal", ";", "break", ";", "case", "V4HImode", ":", "gen", "=", "gen_neon_vuzpv4hi_internal", ";", "break", ";", "case", "V4SImode", ":", "gen", "=", "gen_neon_vuzpv4si_internal", ";", "break", ";", "case", "V2SImode", ":", "gen", "=", "gen_neon_vuzpv2si_internal", ";", "break", ";", "case", "V2SFmode", ":", "gen", "=", "gen_neon_vuzpv2sf_internal", ";", "break", ";", "case", "V4SFmode", ":", "gen", "=", "gen_neon_vuzpv4sf_internal", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "in0", "=", "d", "->", "op0", ";", "in1", "=", "d", "->", "op1", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "{", "x", "=", "in0", ",", "in0", "=", "in1", ",", "in1", "=", "x", ";", "odd", "=", "!", "odd", ";", "}", "out0", "=", "d", "->", "target", ";", "out1", "=", "gen_reg_rtx", "(", "d", "->", "vmode", ")", ";", "if", "(", "odd", ")", "x", "=", "out0", ",", "out0", "=", "out1", ",", "out1", "=", "x", ";", "emit_insn", "(", "gen", "(", "out0", ",", "in0", ",", "in1", ",", "out1", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "for", "the", "VUZP", "insns", "."], "TS_V_token": ["arm", "8", "0", "0", "0", "0", "1", "1", "1", "2", "1", "0", "2"], "File": "arm4", "Func": "arm_evpc_neon_vuzp", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9716, "Length": 338, "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_SILVERMONT", "||", "TARGET_GOLDMONT", "||", "TARGET_GOLDMONT_PLUS", "||", "TARGET_TREMONT", "||", "TARGET_INTEL", ")", "{", "if", "(", "has_scale", ")", "return", "true", ";", "if", "(", "split_cost", "<", "1", ")", "return", "false", ";", "if", "(", "regno0", "==", "regno1", "||", "regno0", "==", "regno2", ")", "return", "false", ";", "return", "true", ";", "}", "dist_define", "=", "distance_non_agu_define", "(", "regno1", ",", "regno2", ",", "insn", ")", ";", "dist_use", "=", "distance_agu_use", "(", "regno0", ",", "insn", ")", ";", "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": "i3868", "Func": "ix86_lea_outperforms", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9717, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_sched_finish", "(", "FILE", "*", "dump", ",", "int", "sched_verbose", ")", "{", "if", "(", "sched_verbose", ")", "fprintf", "(", "dump", ",", "\"// Finishing schedule.\\n\"", ")", ";", "if", "(", "!", "reload_completed", ")", "return", ";", "if", "(", "reload_completed", ")", "{", "final_emit_insn_group_barriers", "(", "dump", ")", ";", "bundling", "(", "dump", ",", "sched_verbose", ",", "current_sched_info", "->", "prev_head", ",", "current_sched_info", "->", "next_tail", ")", ";", "if", "(", "sched_verbose", "&&", "dump", ")", "fprintf", "(", "dump", ",", "\"// finishing %d-%d\\n\"", ",", "INSN_UID", "(", "NEXT_INSN", "(", "current_sched_info", "->", "prev_head", ")", ")", ",", "INSN_UID", "(", "PREV_INSN", "(", "current_sched_info", "->", "next_tail", ")", ")", ")", ";", "return", ";", "}", "}", ""], "natrual_language": ["Free", "data", "allocated", "by", "ia64_sched_init", "."], "TS_V_token": ["ia64", "\"// Finishing schedule.\\n\"", "\"// finishing %d-%d\\n\""], "File": "ia64", "Func": "ia64_sched_finish", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9718, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "LanaiInstrInfo", "::", "isLoadFromStackSlotPostFE", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "Lanai", "::", "LDW_RI", ")", "{", "unsigned", "Reg", ";", "if", "(", "(", "Reg", "=", "isLoadFromStackSlot", "(", "MI", ",", "FrameIndex", ")", ")", ")", "return", "Reg", ";", "const", "MachineMemOperand", "*", "Dummy", ";", "return", "hasLoadFromStackSlot", "(", "MI", ",", "Dummy", ",", "FrameIndex", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["isLoadFromStackSlotPostFE", "-", "Check", "for", "post-frame", "ptr", "elimination", "stack", "locations", "as", "well", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai::LDW_RI", "0"], "File": "LanaiInstrInfo", "Func": "isLoadFromStackSlotPostFE", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9719, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "EnableA53Fix835769", ")", "addPass", "(", "createAArch64A53Fix835769", "(", ")", ")", ";", "addPass", "(", "createAArch64BranchRelaxation", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableCollectLOH", "&&", "Triple", "(", "TM", "->", "getTargetTriple", "(", ")", ")", ".", "isOSBinFormatMachO", "(", ")", ")", "addPass", "(", "createAArch64CollectLOHPass", "(", ")", ")", ";", "}", ""], "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": "AArch64TargetMachine29", "Func": "addPreEmitPass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9720, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "AArch64RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "assert", "(", "MF", "&&", "\"Invalid MachineFunction pointer.\"", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "GHC", ")", "return", "CSR_AArch64_NoRegs_SaveList", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AnyReg", ")", "return", "CSR_AArch64_AllRegs_SaveList", ";", "if", "(", "MF", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isTargetDarwin", "(", ")", ")", "return", "getDarwinCalleeSavedRegs", "(", "MF", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "CFGuard_Check", ")", "return", "CSR_Win_AArch64_CFGuard_Check_SaveList", ";", "if", "(", "MF", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isTargetWindows", "(", ")", ")", "return", "CSR_Win_AArch64_AAPCS_SaveList", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AArch64_VectorCall", ")", "return", "CSR_AArch64_AAVPCS_SaveList", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AArch64_SVE_VectorCall", ")", "return", "CSR_AArch64_SVE_AAPCS_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", ";", "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"], "File": "AArch64RegisterInfo32", "Func": "getCalleeSavedRegs", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9721, "Length": 217, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "CSKYTargetLowering", "::", "getExceptionPointerRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "{", "return", "CSKY", "::", "R0", ";", "}", ""], "natrual_language": ["If", "a", "physical", "register", ",", "this", "returns", "the", "register", "that", "receives", "the", "exception", "address", "on", "entry", "to", "an", "EH", "pad", "."], "TS_V_token": ["CSKY", "CSKY", "CSKY::R0"], "File": "CSKYISelLowering", "Func": "getExceptionPointerRegister", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9722, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64TargetMachine", "::", "AArch64TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "LittleEndian", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ",", "LittleEndian", ")", "{", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "AArch64", "architecture", "model", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine3", "Func": "AArch64TargetMachine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9723, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LC2200InstrInfo", "::", "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", "Opcode", ";", "if", "(", "LC2200", "::", "GRRegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "LC2200", "::", "SW", ";", "else", "llvm_unreachable", "(", "\"Can't store this register to stack slot\"", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opcode", ")", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["LC2200", "LC2200", "LC2200::GRRegsRegClass", "LC2200::SW", "\"Can't store this register to stack slot\"", "0"], "File": "LC2200InstrInfo", "Func": "storeRegToStackSlot", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9724, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addIRPasses", "(", ")", "{", "if", "(", "TM", "->", "Options", ".", "ThreadModel", "==", "ThreadModel", "::", "Single", ")", "addPass", "(", "createLowerAtomicPass", "(", ")", ")", ";", "else", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableAtomicTidy", ")", "addPass", "(", "createCFGSimplificationPass", "(", "1", ",", "false", ",", "false", ",", "true", ",", "true", ",", "[", "this", "]", "(", "const", "Function", "&", "F", ")", "{", "const", "auto", "&", "ST", "=", "this", "->", "TM", "->", "getSubtarget", "<", "ARMSubtarget", ">", "(", "F", ")", ";", "return", "ST", ".", "hasAnyDataBarrier", "(", ")", "&&", "!", "ST", ".", "isThumb1Only", "(", ")", ";", "}", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "if", "(", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "Aggressive", ")", "addPass", "(", "createARMParallelDSPPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createInterleavedAccessPass", "(", ")", ")", ";", "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": ["ARM", "ARM", "1", "ARM", "ARM"], "File": "ARMTargetMachine102", "Func": "addIRPasses", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9725, "Length": 169, "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", ")", "{", "TM", "->", "Options", ".", "UseSoftFloat", "=", "true", ";", "TM", "->", "Options", ".", "FloatABIType", "=", "FloatABI", "::", "Soft", ";", "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": "MipsSubtarget1", "Func": "initializeSubtargetDependencies", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9726, "Length": 84, "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": 9727, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Lower AMX intrinsics\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"Lower AMX intrinsics\""], "File": "X86LowerAMXIntrinsics", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9728, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "expand_vec_perm_vperm2f128_vblend", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "struct", "expand_vec_perm_d", "dfirst", ",", "dsecond", ";", "unsigned", "i", ",", "j", ",", "msk", ",", "nelt", "=", "d", "->", "nelt", ",", "nelt2", "=", "nelt", "/", "2", ";", "rtx_insn", "*", "seq", ";", "bool", "ok", ";", "rtx", "(", "*", "blend", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", "=", "NULL", ";", "if", "(", "!", "TARGET_AVX", "||", "TARGET_AVX2", "||", "(", "d", "->", "vmode", "!=", "V8SFmode", "&&", "d", "->", "vmode", "!=", "V4DFmode", ")", "||", "!", "d", "->", "one_operand_p", ")", "return", "false", ";", "dfirst", "=", "*", "d", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "i", "++", ")", "dfirst", ".", "perm", "[", "i", "]", "=", "0xff", ";", "for", "(", "i", "=", "0", ",", "msk", "=", "0", ";", "i", "<", "nelt", ";", "i", "++", ")", "{", "j", "=", "(", "d", "->", "perm", "[", "i", "]", "&", "nelt2", ")", "?", "i", "|", "nelt2", ":", "i", "&", "~", "nelt2", ";", "if", "(", "dfirst", ".", "perm", "[", "j", "]", "!=", "0xff", "&&", "dfirst", ".", "perm", "[", "j", "]", "!=", "d", "->", "perm", "[", "i", "]", ")", "return", "false", ";", "dfirst", ".", "perm", "[", "j", "]", "=", "d", "->", "perm", "[", "i", "]", ";", "if", "(", "j", "!=", "i", ")", "msk", "|=", "(", "1", "<<", "i", ")", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "i", "++", ")", "if", "(", "dfirst", ".", "perm", "[", "i", "]", "==", "0xff", ")", "dfirst", ".", "perm", "[", "i", "]", "=", "i", ";", "if", "(", "!", "d", "->", "testing_p", ")", "dfirst", ".", "target", "=", "gen_reg_rtx", "(", "dfirst", ".", "vmode", ")", ";", "start_sequence", "(", ")", ";", "ok", "=", "expand_vec_perm_1", "(", "&", "dfirst", ")", ";", "seq", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "if", "(", "!", "ok", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "emit_insn", "(", "seq", ")", ";", "dsecond", "=", "*", "d", ";", "dsecond", ".", "op0", "=", "dfirst", ".", "target", ";", "dsecond", ".", "op1", "=", "dfirst", ".", "target", ";", "dsecond", ".", "one_operand_p", "=", "true", ";", "dsecond", ".", "target", "=", "gen_reg_rtx", "(", "dsecond", ".", "vmode", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "i", "++", ")", "dsecond", ".", "perm", "[", "i", "]", "=", "i", "^", "nelt2", ";", "ok", "=", "expand_vec_perm_1", "(", "&", "dsecond", ")", ";", "gcc_assert", "(", "ok", ")", ";", "blend", "=", "d", "->", "vmode", "==", "V8SFmode", "?", "gen_avx_blendps256", ":", "gen_avx_blendpd256", ";", "emit_insn", "(", "blend", "(", "d", "->", "target", ",", "dfirst", ".", "target", ",", "dsecond", ".", "target", ",", "GEN_INT", "(", "msk", ")", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "ix86_expand_vec_perm_builtin_1", ".", "Try", "to", "implement", "a", "single", "vector", "permutation", "using", "a", "single", "intra-lane", "vector", "permutation", ",", "vperm2f128", "swapping", "the", "lanes", "and", "vblend", "*", "insn", "blending", "the", "non-swapped", "and", "swapped", "vectors", "together", "."], "TS_V_token": ["i386", "2", "0", "0xff", "0", "0", "0xff", "1", "0", "0xff", "0"], "File": "i386-expand", "Func": "expand_vec_perm_vperm2f128_vblend", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9729, "Length": 421, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "X86TargetLowering", "::", "shouldExpandAtomicRMWInIR", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "unsigned", "NativeWidth", "=", "Subtarget", ".", "is64Bit", "(", ")", "?", "64", ":", "32", ";", "Type", "*", "MemType", "=", "AI", "->", "getType", "(", ")", ";", "if", "(", "MemType", "->", "getPrimitiveSizeInBits", "(", ")", ">", "NativeWidth", ")", "{", "return", "needsCmpXchgNb", "(", "MemType", ")", "?", "AtomicExpansionKind", "::", "CmpXChg", ":", "AtomicExpansionKind", "::", "None", ";", "}", "AtomicRMWInst", "::", "BinOp", "Op", "=", "AI", "->", "getOperation", "(", ")", ";", "switch", "(", "Op", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown atomic operation\"", ")", ";", "case", "AtomicRMWInst", "::", "Xchg", ":", "case", "AtomicRMWInst", "::", "Add", ":", "case", "AtomicRMWInst", "::", "Sub", ":", "return", "AtomicExpansionKind", "::", "None", ";", "case", "AtomicRMWInst", "::", "Or", ":", "case", "AtomicRMWInst", "::", "And", ":", "case", "AtomicRMWInst", "::", "Xor", ":", "return", "!", "AI", "->", "use_empty", "(", ")", "?", "AtomicExpansionKind", "::", "CmpXChg", ":", "AtomicExpansionKind", "::", "None", ";", "case", "AtomicRMWInst", "::", "Nand", ":", "case", "AtomicRMWInst", "::", "Max", ":", "case", "AtomicRMWInst", "::", "Min", ":", "case", "AtomicRMWInst", "::", "UMax", ":", "case", "AtomicRMWInst", "::", "UMin", ":", "return", "AtomicExpansionKind", "::", "CmpXChg", ";", "}", "}", ""], "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)8", "Func": "shouldExpandAtomicRMWInIR", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9730, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "MipsRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "MipsSubtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "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", ";", "if", "(", "Subtarget", ".", "isFPXX", "(", ")", ")", "return", "CSR_O32_FPXX_SaveList", ";", "return", "CSR_O32_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips"], "File": "MipsRegisterInfo1", "Func": "getCalleeSavedRegs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9731, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "X86_64MachoTargetObjectFile", "::", "getIndirectSymViaGOTPCRel", "(", "const", "MCSymbol", "*", "Sym", ",", "const", "MCValue", "&", "MV", ",", "int64_t", "Offset", ",", "MachineModuleInfo", "*", "MMI", ",", "MCStreamer", "&", "Streamer", ")", "const", "{", "unsigned", "FinalOff", "=", "Offset", "+", "MV", ".", "getConstant", "(", ")", "+", "4", ";", "const", "MCExpr", "*", "Res", "=", "MCSymbolRefExpr", "::", "Create", "(", "Sym", ",", "MCSymbolRefExpr", "::", "VK_GOTPCREL", ",", "getContext", "(", ")", ")", ";", "const", "MCExpr", "*", "Off", "=", "MCConstantExpr", "::", "Create", "(", "FinalOff", ",", "getContext", "(", ")", ")", ";", "return", "MCBinaryExpr", "::", "CreateAdd", "(", "Res", ",", "Off", ",", "getContext", "(", ")", ")", ";", "}", ""], "natrual_language": ["Get", "the", "target", "specific", "PC", "relative", "GOT", "entry", "relocation", "."], "TS_V_token": ["X86", "X86", "4"], "File": "X86TargetObjectFile10", "Func": "getIndirectSymViaGOTPCRel", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9732, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isIntDivCheap", "(", "EVT", "VT", ",", "AttributeList", "Attr", ")", "const", "{", "bool", "OptSize", "=", "Attr", ".", "hasFnAttr", "(", "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": ["AArch64", "AArch64"], "File": "AArch64ISelLowering (2)2", "Func": "isIntDivCheap", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9733, "Length": 36, "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": 9734, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "const", "MCObjectFileInfo", "::", "Environment", "Format", "=", "getContext", "(", ")", ".", "getObjectFileInfo", "(", ")", "->", "getObjectFileType", "(", ")", ";", "bool", "IsMachO", "=", "Format", "==", "MCObjectFileInfo", "::", "IsMachO", ";", "bool", "IsCOFF", "=", "Format", "==", "MCObjectFileInfo", "::", "IsCOFF", ";", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "SMLoc", "Loc", "=", "DirectiveID", ".", "getLoc", "(", ")", ";", "if", "(", "IDVal", "==", "\".cpu\"", ")", "return", "parseDirectiveCPU", "(", "Loc", ")", ";", "if", "(", "IDVal", "==", "\".hword\"", ")", "return", "parseDirectiveWord", "(", "2", ",", "Loc", ")", ";", "if", "(", "IDVal", "==", "\".word\"", ")", "return", "parseDirectiveWord", "(", "4", ",", "Loc", ")", ";", "if", "(", "IDVal", "==", "\".xword\"", ")", "return", "parseDirectiveWord", "(", "8", ",", "Loc", ")", ";", "if", "(", "IDVal", "==", "\".tlsdesccall\"", ")", "return", "parseDirectiveTLSDescCall", "(", "Loc", ")", ";", "if", "(", "IDVal", "==", "\".ltorg\"", "||", "IDVal", "==", "\".pool\"", ")", "return", "parseDirectiveLtorg", "(", "Loc", ")", ";", "if", "(", "IDVal", "==", "\".unreq\"", ")", "return", "parseDirectiveUnreq", "(", "Loc", ")", ";", "if", "(", "!", "IsMachO", "&&", "!", "IsCOFF", ")", "{", "if", "(", "IDVal", "==", "\".inst\"", ")", "return", "parseDirectiveInst", "(", "Loc", ")", ";", "}", "return", "parseDirectiveLOH", "(", "IDVal", ",", "Loc", ")", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["AArch64", "AArch64", "\".cpu\"", "\".hword\"", "2", "\".word\"", "4", "\".xword\"", "8", "\".tlsdesccall\"", "\".ltorg\"", "\".pool\"", "\".unreq\"", "\".inst\""], "File": "AArch64AsmParser59", "Func": "ParseDirective", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9735, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "gen_shifty_hi_op", "(", "int", "code", ",", "rtx", "*", "operands", ")", "{", "int", "value", "=", "INTVAL", "(", "operands", "[", "2", "]", ")", ";", "int", "max", ",", "i", ";", "void", "(", "*", "gen_fun", ")", "(", "int", ",", "int", ",", "rtx", ")", ";", "value", "&=", "31", ";", "if", "(", "value", "==", "0", ")", "{", "emit_insn", "(", "gen_nop", "(", ")", ")", ";", "return", ";", "}", "gen_fun", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", "==", "HImode", "?", "gen_ashift_hi", ":", "gen_ashift", ";", "if", "(", "code", "==", "ASHIFT", ")", "{", "max", "=", "ext_shift_insns", "[", "value", "]", ";", "for", "(", "i", "=", "0", ";", "i", "<", "max", ";", "i", "++", ")", "gen_fun", "(", "code", ",", "ext_shift_amounts", "[", "value", "]", "[", "i", "]", ",", "operands", "[", "0", "]", ")", ";", "}", "else", "for", "(", "i", "=", "ext_shift_insns", "[", "value", "]", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "gen_fun", "(", "code", ",", "ext_shift_amounts", "[", "value", "]", "[", "i", "]", ",", "operands", "[", "0", "]", ")", ";", "}", ""], "natrual_language": ["Same", "as", "above", ",", "but", "optimized", "for", "values", "where", "the", "topmost", "bits", "do", "n't", "matter", "."], "TS_V_token": ["sh", "2", "31", "0", "0", "0", "0", "1", "0", "0"], "File": "sh3", "Func": "gen_shifty_hi_op", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9736, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "thumb_expand_prologue", "(", ")", "{", "HOST_WIDE_INT", "amount", "=", "(", "get_frame_size", "(", ")", "+", "current_function_outgoing_args_size", ")", ";", "unsigned", "long", "func_type", ";", "func_type", "=", "arm_current_func_type", "(", ")", ";", "if", "(", "IS_NAKED", "(", "func_type", ")", ")", "return", ";", "if", "(", "IS_INTERRUPT", "(", "func_type", ")", ")", "{", "error", "(", "\"interrupt Service Routines cannot be coded in Thumb mode\"", ")", ";", "return", ";", "}", "if", "(", "frame_pointer_needed", ")", "emit_insn", "(", "gen_movsi", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ")", ")", ";", "if", "(", "amount", ")", "{", "amount", "=", "ROUND_UP", "(", "amount", ")", ";", "if", "(", "amount", "<", "512", ")", "emit_insn", "(", "gen_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "amount", ")", ")", ")", ";", "else", "{", "int", "regno", ";", "rtx", "reg", ";", "for", "(", "regno", "=", "LAST_ARG_REGNUM", "+", "1", ";", "regno", "<=", "LAST_LO_REGNUM", ";", "regno", "++", ")", "if", "(", "regs_ever_live", "[", "regno", "]", "&&", "!", "call_used_regs", "[", "regno", "]", "&&", "!", "(", "TARGET_SINGLE_PIC_BASE", "&&", "(", "regno", "==", "arm_pic_register", ")", ")", "&&", "!", "(", "frame_pointer_needed", "&&", "(", "regno", "==", "THUMB_HARD_FRAME_POINTER_REGNUM", ")", ")", ")", "break", ";", "if", "(", "regno", ">", "LAST_LO_REGNUM", ")", "{", "rtx", "spare", "=", "gen_rtx", "(", "REG", ",", "SImode", ",", "IP_REGNUM", ")", ";", "reg", "=", "gen_rtx", "(", "REG", ",", "SImode", ",", "LAST_LO_REGNUM", ")", ";", "emit_insn", "(", "gen_movsi", "(", "spare", ",", "reg", ")", ")", ";", "emit_insn", "(", "gen_prologue_use", "(", "spare", ")", ")", ";", "emit_insn", "(", "gen_movsi", "(", "reg", ",", "GEN_INT", "(", "-", "amount", ")", ")", ")", ";", "emit_insn", "(", "gen_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "reg", ")", ")", ";", "emit_insn", "(", "gen_movsi", "(", "reg", ",", "spare", ")", ")", ";", "emit_insn", "(", "gen_prologue_use", "(", "reg", ")", ")", ";", "}", "else", "{", "reg", "=", "gen_rtx", "(", "REG", ",", "SImode", ",", "regno", ")", ";", "emit_insn", "(", "gen_movsi", "(", "reg", ",", "GEN_INT", "(", "-", "amount", ")", ")", ")", ";", "emit_insn", "(", "gen_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "reg", ")", ")", ";", "}", "}", "}", "if", "(", "current_function_profile", "||", "TARGET_NO_SCHED_PRO", ")", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "the", "rest", "of", "a", "function", "'s", "prologue", "."], "TS_V_token": ["arm", "\"interrupt Service Routines cannot be coded in Thumb mode\"", "512", "1"], "File": "arm2", "Func": "thumb_expand_prologue", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9737, "Length": 308, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "ScalarEvolutionWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "LoopInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "TargetPassConfig", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "TargetTransformInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "LoopInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "setPreservesCFG", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["ARM"], "File": "MVETailPredication1", "Func": "getAnalysisUsage", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9738, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMAsmParser", "::", "checkTargetMatchPredicate", "(", "MCInst", "&", "Inst", ")", "{", "unsigned", "Opc", "=", "Inst", ".", "getOpcode", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "MII", ".", "get", "(", "Opc", ")", ";", "if", "(", "MCID", ".", "TSFlags", "&", "ARMII", "::", "ThumbArithFlagSetting", ")", "{", "assert", "(", "MCID", ".", "hasOptionalDef", "(", ")", "&&", "\"optionally flag setting instruction missing optional def operand\"", ")", ";", "assert", "(", "MCID", ".", "NumOperands", "==", "Inst", ".", "getNumOperands", "(", ")", "&&", "\"operand count mismatch!\"", ")", ";", "unsigned", "OpNo", ";", "for", "(", "OpNo", "=", "0", ";", "!", "MCID", ".", "OpInfo", "[", "OpNo", "]", ".", "isOptionalDef", "(", ")", "&&", "OpNo", "<", "MCID", ".", "NumOperands", ";", "++", "OpNo", ")", ";", "if", "(", "isThumbOne", "(", ")", "&&", "Inst", ".", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", "!=", "ARM", "::", "CPSR", ")", "return", "Match_MnemonicFail", ";", "if", "(", "isThumbTwo", "(", ")", "&&", "Inst", ".", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", "!=", "ARM", "::", "CPSR", "&&", "!", "inITBlock", "(", ")", ")", "return", "Match_RequiresITBlock", ";", "if", "(", "isThumbTwo", "(", ")", "&&", "Inst", ".", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", "==", "ARM", "::", "CPSR", "&&", "inITBlock", "(", ")", ")", "return", "Match_RequiresNotITBlock", ";", "}", "else", "if", "(", "isThumbOne", "(", ")", ")", "{", "if", "(", "Opc", "==", "ARM", "::", "tADDhirr", "&&", "!", "hasV6MOps", "(", ")", "&&", "isARMLowRegister", "(", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", "&&", "isARMLowRegister", "(", "Inst", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ")", "return", "Match_RequiresThumb2", ";", "else", "if", "(", "Opc", "==", "ARM", "::", "tMOVr", "&&", "!", "hasV6Ops", "(", ")", "&&", "isARMLowRegister", "(", "Inst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", "&&", "isARMLowRegister", "(", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ")", "return", "Match_RequiresV6", ";", "}", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "MCID", ".", "NumOperands", ";", "++", "I", ")", "if", "(", "MCID", ".", "OpInfo", "[", "I", "]", ".", "RegClass", "==", "ARM", "::", "rGPRRegClassID", ")", "{", "if", "(", "(", "Inst", ".", "getOperand", "(", "I", ")", ".", "getReg", "(", ")", "==", "ARM", "::", "SP", ")", "&&", "!", "hasV8Ops", "(", ")", ")", "return", "Match_RequiresV8", ";", "else", "if", "(", "Inst", ".", "getOperand", "(", "I", ")", ".", "getReg", "(", ")", "==", "ARM", "::", "PC", ")", "return", "Match_InvalidOperand", ";", "}", "return", "Match_Success", ";", "}", ""], "natrual_language": ["checkTargetMatchPredicate", "-", "Validate", "the", "instruction", "match", "against", "any", "complex", "target", "predicates", "not", "expressible", "via", "match", "classes", "."], "TS_V_token": ["ARM", "ARM", "ARMII::ThumbArithFlagSetting", "\"optionally flag setting instruction missing optional def operand\"", "\"operand count mismatch!\"", "0", "ARM::CPSR", "ARM::CPSR", "ARM::CPSR", "ARM::tADDhirr", "ARM", "1", "ARM", "2", "ARM::tMOVr", "ARM", "0", "ARM", "1", "0", "ARM::rGPRRegClassID", "ARM::SP", "ARM::PC"], "File": "ARMAsmParser (2)5", "Func": "checkTargetMatchPredicate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9739, "Length": 364, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCMIPeephole", "::", "initialize", "(", "MachineFunction", "&", "MFParm", ")", "{", "MF", "=", "&", "MFParm", ";", "MRI", "=", "&", "MF", "->", "getRegInfo", "(", ")", ";", "MDT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "TII", "=", "MF", "->", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"*** PowerPC MI peephole pass ***\\n\\n\"", ")", ";", "DEBUG", "(", "MF", "->", "dump", "(", ")", ")", ";", "}", ""], "natrual_language": ["Initialize", "the", "strategy", "after", "building", "the", "DAG", "for", "a", "new", "region", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "\"*** PowerPC MI peephole pass ***\\n\\n\""], "File": "PPCMIPeephole1", "Func": "initialize", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9740, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "char", "*", "match_identifier", "(", "void", ")", "{", "int", "lastpos", "=", "pos", "-", "1", ";", "while", "(", "lastpos", "<", "LINELEN", "-", "1", "&&", "(", "isalnum", "(", "linebuf", "[", "lastpos", "+", "1", "]", ")", "||", "linebuf", "[", "lastpos", "+", "1", "]", "==", "'_'", ")", ")", "++", "lastpos", ";", "if", "(", "lastpos", ">=", "LINELEN", "-", "1", ")", "{", "diag", "(", "lastpos", ",", "\"line length overrun.\\n\"", ")", ";", "exit", "(", "1", ")", ";", "}", "if", "(", "lastpos", "<", "pos", ")", "return", "0", ";", "char", "*", "buf", "=", "(", "char", "*", ")", "malloc", "(", "lastpos", "-", "pos", "+", "2", ")", ";", "memcpy", "(", "buf", ",", "&", "linebuf", "[", "pos", "]", ",", "lastpos", "-", "pos", "+", "1", ")", ";", "buf", "[", "lastpos", "-", "pos", "+", "1", "]", "=", "'\\0'", ";", "pos", "=", "lastpos", "+", "1", ";", "return", "buf", ";", "}", ""], "natrual_language": ["Match", "an", "identifier", ",", "returning", "NULL", "on", "failure", ",", "else", "a", "pointer", "to", "a", "buffer", "containing", "the", "identifier", "."], "TS_V_token": ["rs6000", "1", "1", "1", "1", "1", "\"line length overrun.\\n\"", "1", "0", "2", "1", "1", "1"], "File": "rs6000-gen-builtins", "Func": "match_identifier", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9741, "Length": 133, "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": 9742, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSection", "*", "ARMElfTargetObjectFile", "::", "getExplicitSectionGlobal", "(", "const", "GlobalObject", "*", "GO", ",", "SectionKind", "SK", ",", "const", "TargetMachine", "&", "TM", ")", "const", "{", "if", "(", "isExecuteOnlyFunction", "(", "GO", ",", "SK", ",", "TM", ")", ")", "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": "ARMTargetObjectFile (2)1", "Func": "getExplicitSectionGlobal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9743, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sh_insert_attributes", "(", "tree", "node", ",", "tree", "*", "attributes", ")", "{", "tree", "attrs", ";", "if", "(", "TREE_CODE", "(", "node", ")", "!=", "FUNCTION_DECL", ")", "return", ";", "if", "(", "!", "DECL_P", "(", "node", ")", ")", "return", ";", "*", "sh_deferred_function_attributes_tail", "=", "*", "attributes", ";", "attrs", "=", "sh_deferred_function_attributes", ";", "if", "(", "!", "attrs", ")", "return", ";", "if", "(", "!", "lookup_attribute", "(", "\"interrupt_handler\"", ",", "attrs", ")", "&&", "!", "lookup_attribute", "(", "\"interrupt_handler\"", ",", "DECL_ATTRIBUTES", "(", "node", ")", ")", ")", "{", "if", "(", "lookup_attribute", "(", "\"trapa_handler\"", ",", "attrs", ")", "!=", "NULL_TREE", ")", "attrs", "=", "tree_cons", "(", "get_identifier", "(", "\"interrupt_handler\"", ")", ",", "NULL_TREE", ",", "attrs", ")", ";", "else", "if", "(", "lookup_attribute", "(", "\"sp_switch\"", ",", "attrs", ")", "||", "lookup_attribute", "(", "\"trap_exit\"", ",", "attrs", ")", "||", "lookup_attribute", "(", "\"nosave_low_regs\"", ",", "attrs", ")", "||", "lookup_attribute", "(", "\"resbank\"", ",", "attrs", ")", ")", "{", "tree", "*", "tail", ";", "for", "(", "tail", "=", "attributes", ";", "attrs", ";", "attrs", "=", "TREE_CHAIN", "(", "attrs", ")", ")", "{", "if", "(", "is_attribute_p", "(", "\"sp_switch\"", ",", "TREE_PURPOSE", "(", "attrs", ")", ")", "||", "is_attribute_p", "(", "\"trap_exit\"", ",", "TREE_PURPOSE", "(", "attrs", ")", ")", "||", "is_attribute_p", "(", "\"nosave_low_regs\"", ",", "TREE_PURPOSE", "(", "attrs", ")", ")", "||", "is_attribute_p", "(", "\"resbank\"", ",", "TREE_PURPOSE", "(", "attrs", ")", ")", ")", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute only applies to interrupt functions\"", ",", "TREE_PURPOSE", "(", "attrs", ")", ")", ";", "else", "{", "*", "tail", "=", "tree_cons", "(", "TREE_PURPOSE", "(", "attrs", ")", ",", "NULL_TREE", ",", "NULL_TREE", ")", ";", "tail", "=", "&", "TREE_CHAIN", "(", "*", "tail", ")", ";", "}", "}", "attrs", "=", "*", "attributes", ";", "}", "}", "*", "attributes", "=", "attrs", ";", "sh_deferred_function_attributes", "=", "NULL_TREE", ";", "sh_deferred_function_attributes_tail", "=", "&", "sh_deferred_function_attributes", ";", "return", ";", "}", ""], "natrual_language": ["Generate", "'handle_interrupt", "'", "attribute", "for", "decls"], "TS_V_token": ["sh", "\"interrupt_handler\"", "\"interrupt_handler\"", "\"trapa_handler\"", "\"interrupt_handler\"", "\"sp_switch\"", "\"trap_exit\"", "\"nosave_low_regs\"", "\"resbank\"", "\"sp_switch\"", "\"trap_exit\"", "\"nosave_low_regs\"", "\"resbank\"", "\"%qE attribute only applies to interrupt functions\""], "File": "sh4", "Func": "sh_insert_attributes", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9744, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LEGTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "const", "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_LEG", ")", ";", "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", "(", "LEGISD", "::", "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": ["LEG", "LEG", "ISD::OutputArg", "\"VarArg not supported\"", "16", "LEG", "4", "1", "0", "\"Can only return in registers!\"", "1", "0", "LEGISD::RET_FLAG", "MVT::Other"], "File": "LEGISelLowering", "Func": "LowerReturn", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9745, "Length": 254, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "load_reg", "(", "int", "reg", ",", "HOST_WIDE_INT", "disp", ",", "int", "base", ")", "{", "rtx", "dest", "=", "gen_rtx_REG", "(", "word_mode", ",", "reg", ")", ";", "rtx", "basereg", "=", "gen_rtx_REG", "(", "Pmode", ",", "base", ")", ";", "rtx", "src", ";", "if", "(", "VAL_14_BITS_P", "(", "disp", ")", ")", "src", "=", "gen_rtx_MEM", "(", "word_mode", ",", "plus_constant", "(", "basereg", ",", "disp", ")", ")", ";", "else", "if", "(", "TARGET_64BIT", "&&", "!", "VAL_32_BITS_P", "(", "disp", ")", ")", "{", "rtx", "delta", "=", "GEN_INT", "(", "disp", ")", ";", "rtx", "tmpreg", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "emit_move_insn", "(", "tmpreg", ",", "delta", ")", ";", "if", "(", "TARGET_DISABLE_INDEXING", ")", "{", "emit_move_insn", "(", "tmpreg", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "tmpreg", ",", "basereg", ")", ")", ";", "src", "=", "gen_rtx_MEM", "(", "word_mode", ",", "tmpreg", ")", ";", "}", "else", "src", "=", "gen_rtx_MEM", "(", "word_mode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "tmpreg", ",", "basereg", ")", ")", ";", "}", "else", "{", "rtx", "delta", "=", "GEN_INT", "(", "disp", ")", ";", "rtx", "high", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "basereg", ",", "gen_rtx_HIGH", "(", "Pmode", ",", "delta", ")", ")", ";", "rtx", "tmpreg", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "emit_move_insn", "(", "tmpreg", ",", "high", ")", ";", "src", "=", "gen_rtx_MEM", "(", "word_mode", ",", "gen_rtx_LO_SUM", "(", "Pmode", ",", "tmpreg", ",", "delta", ")", ")", ";", "}", "emit_move_insn", "(", "dest", ",", "src", ")", ";", "}", ""], "natrual_language": ["Emit", "RTL", "to", "load", "REG", "from", "the", "memory", "location", "specified", "by", "BASE+DISP", ".", "Handle", "case", "where", "DISP", ">", "8k", "by", "using", "the", "add_high_const", "patterns", "."], "TS_V_token": ["pa", "1", "1"], "File": "pa3", "Func": "load_reg", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9746, "Length": 211, "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": "OR1KAsmBackend", "Func": "writeNopData", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9747, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCAIXAsmPrinter", "::", "emitGlobalVariable", "(", "const", "GlobalVariable", "*", "GV", ")", "{", "ValidateGV", "(", "GV", ")", ";", "if", "(", "isSpecialLLVMGlobalArrayForStaticInit", "(", "GV", ")", ")", "return", ";", "MCSymbolXCOFF", "*", "GVSym", "=", "cast", "<", "MCSymbolXCOFF", ">", "(", "getSymbol", "(", "GV", ")", ")", ";", "GVSym", "->", "setStorageClass", "(", "TargetLoweringObjectFileXCOFF", "::", "getStorageClassForGlobal", "(", "GV", ")", ")", ";", "SectionKind", "GVKind", ";", "MCSectionXCOFF", "*", "Csect", "=", "cast", "<", "MCSectionXCOFF", ">", "(", "GV", "->", "isDeclaration", "(", ")", "?", "getObjFileLowering", "(", ")", ".", "getSectionForExternalReference", "(", "GV", ",", "TM", ")", ":", "getObjFileLowering", "(", ")", ".", "SectionForGlobal", "(", "GV", ",", "GVKind", "=", "getObjFileLowering", "(", ")", ".", "getKindForGlobal", "(", "GV", ",", "TM", ")", ",", "TM", ")", ")", ";", "if", "(", "GV", "->", "isDeclaration", "(", ")", ")", "return", ";", "if", "(", "!", "GVKind", ".", "isGlobalWriteableData", "(", ")", "&&", "!", "GVKind", ".", "isReadOnly", "(", ")", ")", "report_fatal_error", "(", "\"Encountered a global variable kind that is \"", "\"not supported yet.\"", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "Csect", ")", ";", "const", "DataLayout", "&", "DL", "=", "GV", "->", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "if", "(", "GVKind", ".", "isCommon", "(", ")", "||", "GVKind", ".", "isBSSLocal", "(", ")", ")", "{", "unsigned", "Align", "=", "GV", "->", "getAlignment", "(", ")", "?", "GV", "->", "getAlignment", "(", ")", ":", "DL", ".", "getPreferredAlignment", "(", "GV", ")", ";", "uint64_t", "Size", "=", "DL", ".", "getTypeAllocSize", "(", "GV", "->", "getType", "(", ")", "->", "getElementType", "(", ")", ")", ";", "if", "(", "GVKind", ".", "isBSSLocal", "(", ")", ")", "OutStreamer", "->", "emitXCOFFLocalCommonSymbol", "(", "GVSym", ",", "Size", ",", "Csect", "->", "getQualNameSymbol", "(", ")", ",", "Align", ")", ";", "else", "OutStreamer", "->", "emitCommonSymbol", "(", "Csect", "->", "getQualNameSymbol", "(", ")", ",", "Size", ",", "Align", ")", ";", "return", ";", "}", "MCSymbol", "*", "EmittedInitSym", "=", "GVSym", ";", "emitLinkage", "(", "GV", ",", "EmittedInitSym", ")", ";", "emitAlignment", "(", "getGVAlignment", "(", "GV", ",", "DL", ")", ",", "GV", ")", ";", "OutStreamer", "->", "emitLabel", "(", "EmittedInitSym", ")", ";", "emitGlobalConstant", "(", "GV", "->", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ",", "GV", "->", "getInitializer", "(", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "specified", "global", "variable", "to", "the", ".s", "file", "."], "TS_V_token": ["PowerPC", "PPC", "\"Encountered a global variable kind that is \"", "\"not supported yet.\""], "File": "PPCAsmPrinter14", "Func": "emitGlobalVariable", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9748, "Length": 311, "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", "{", "if", "(", "Subtarget", "->", "isThumb1Only", "(", ")", ")", "return", "false", ";", "EVT", "VT", ";", "SDValue", "Ptr", ";", "bool", "isSEXTLoad", "=", "false", ";", "if", "(", "LoadSDNode", "*", "LD", "=", "dyn_cast", "<", "LoadSDNode", ">", "(", "N", ")", ")", "{", "VT", "=", "LD", "->", "getMemoryVT", "(", ")", ";", "isSEXTLoad", "=", "LD", "->", "getExtensionType", "(", ")", "==", "ISD", "::", "SEXTLOAD", ";", "}", "else", "if", "(", "StoreSDNode", "*", "ST", "=", "dyn_cast", "<", "StoreSDNode", ">", "(", "N", ")", ")", "{", "VT", "=", "ST", "->", "getMemoryVT", "(", ")", ";", "}", "else", "return", "false", ";", "bool", "isInc", ";", "bool", "isLegal", "=", "false", ";", "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", ";", "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", "ARM", "ISD::POST_INC", "ISD::POST_DEC"], "File": "ARMISelLowering109", "Func": "getPostIndexedAddressParts", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9749, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_print_patchable_function_entry", "(", "FILE", "*", "file", ",", "unsigned", "HOST_WIDE_INT", "patch_area_size", ",", "bool", "record_p", ")", "{", "bool", "global_entry_needed_p", "=", "rs6000_global_entry_point_prologue_needed_p", "(", ")", ";", "if", "(", "!", "global_entry_needed_p", "||", "cfun", "->", "machine", "->", "global_entry_emitted", ")", "default_print_patchable_function_entry", "(", "file", ",", "patch_area_size", ",", "record_p", ")", ";", "}", ""], "natrual_language": ["Write", "PATCH_AREA_SIZE", "NOPs", "into", "the", "asm", "outfile", "FILE", "around", "a", "function", "entry", ".", "If", "RECORD_P", "is", "true", "and", "the", "target", "supports", "named", "sections", ",", "the", "location", "of", "the", "NOPs", "will", "be", "recorded", "in", "a", "special", "object", "section", "called", "``", "__patchable_function_entries", "''", ".", "This", "routine", "may", "be", "called", "twice", "per", "function", "to", "put", "NOPs", "before", "and", "after", "the", "function", "entry", "."], "TS_V_token": ["rs6000"], "File": "rs60001", "Func": "rs6000_print_patchable_function_entry", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9750, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "addPostRegAlloc", "(", ")", "{", "addPass", "(", "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": "X86TargetMachine", "Func": "addPostRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9751, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CJGFrameLowering", "::", "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": ["CJG", "CJG"], "File": "CJGFrameLowering", "Func": "hasReservedCallFrame", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9752, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_libgcc_floating_mode_supported_p", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "SFmode", ":", "case", "DFmode", ":", "case", "XFmode", ":", "return", "true", ";", "case", "TFmode", ":", "return", "false", ";", "return", "TARGET_LONG_DOUBLE_128", ";", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Implement", "target", "hook", "libgcc_floating_mode_supported_p", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_libgcc_floating_mode_supported_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9753, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "sparc_mangle_type", "(", "const_tree", "type", ")", "{", "if", "(", "TARGET_ARCH32", "&&", "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": ["sparc", "\"g\""], "File": "sparc", "Func": "sparc_mangle_type", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9754, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "uint64_t", ">", "ARMMCInstrAnalysis", "::", "evaluateMemoryOperandAddress", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "*", "STI", ",", "uint64_t", "Addr", ",", "uint64_t", "Size", ")", "const", "{", "const", "MCInstrDesc", "&", "Desc", "=", "Info", "->", "get", "(", "Inst", ".", "getOpcode", "(", ")", ")", ";", "if", "(", "!", "Desc", ".", "mayLoad", "(", ")", ")", "return", "None", ";", "uint64_t", "TSFlags", "=", "Desc", ".", "TSFlags", ";", "unsigned", "IndexMode", "=", "(", "TSFlags", "&", "ARMII", "::", "IndexModeMask", ")", ">>", "ARMII", "::", "IndexModeShift", ";", "if", "(", "IndexMode", "!=", "ARMII", "::", "IndexModeNone", ")", "return", "None", ";", "unsigned", "OpIndex", "=", "Desc", ".", "NumDefs", ";", "while", "(", "OpIndex", "<", "Desc", ".", "getNumOperands", "(", ")", "&&", "Desc", ".", "OpInfo", "[", "OpIndex", "]", ".", "OperandType", "!=", "MCOI", "::", "OPERAND_MEMORY", ")", "++", "OpIndex", ";", "if", "(", "OpIndex", "==", "Desc", ".", "getNumOperands", "(", ")", ")", "return", "None", ";", "Addr", "&=", "~", "0x3", ";", "switch", "(", "Desc", ".", "TSFlags", "&", "ARMII", "::", "FormMask", ")", "{", "default", ":", "Addr", "+=", "8", ";", "break", ";", "case", "ARMII", "::", "ThumbFrm", ":", "Addr", "+=", "4", ";", "break", ";", "case", "ARMII", "::", "VFPLdStFrm", ":", "Addr", "+=", "STI", "->", "getFeatureBits", "(", ")", "[", "ARM", "::", "ModeThumb", "]", "?", "4", ":", "8", ";", "break", ";", "}", "unsigned", "AddrMode", "=", "(", "TSFlags", "&", "ARMII", "::", "AddrModeMask", ")", ";", "switch", "(", "AddrMode", ")", "{", "default", ":", "return", "None", ";", "case", "ARMII", "::", "AddrMode_i12", ":", "return", "evaluateMemOpAddrForAddrMode_i12", "(", "Inst", ",", "Desc", ",", "OpIndex", ",", "Addr", ")", ";", "case", "ARMII", "::", "AddrMode3", ":", "return", "evaluateMemOpAddrForAddrMode3", "(", "Inst", ",", "Desc", ",", "OpIndex", ",", "Addr", ")", ";", "case", "ARMII", "::", "AddrMode5", ":", "return", "evaluateMemOpAddrForAddrMode5", "(", "Inst", ",", "Desc", ",", "OpIndex", ",", "Addr", ")", ";", "case", "ARMII", "::", "AddrMode5FP16", ":", "return", "evaluateMemOpAddrForAddrMode5FP16", "(", "Inst", ",", "Desc", ",", "OpIndex", ",", "Addr", ")", ";", "case", "ARMII", "::", "AddrModeT2_i8s4", ":", "return", "evaluateMemOpAddrForAddrModeT2_i8s4", "(", "Inst", ",", "Desc", ",", "OpIndex", ",", "Addr", ")", ";", "case", "ARMII", "::", "AddrModeT2_pc", ":", "return", "evaluateMemOpAddrForAddrModeT2_pc", "(", "Inst", ",", "Desc", ",", "OpIndex", ",", "Addr", ")", ";", "case", "ARMII", "::", "AddrModeT1_s", ":", "return", "evaluateMemOpAddrForAddrModeT1_s", "(", "Inst", ",", "Desc", ",", "OpIndex", ",", "Addr", ")", ";", "}", "}", ""], "natrual_language": ["Given", "an", "instruction", "tries", "to", "get", "the", "address", "of", "a", "memory", "operand", "."], "TS_V_token": ["ARM", "ARM", "ARMII::IndexModeMask", "ARMII::IndexModeShift", "ARMII::IndexModeNone", "0x3", "ARMII::FormMask", "8", "ARMII::ThumbFrm", "4", "ARMII::VFPLdStFrm", "ARM::ModeThumb", "4", "8", "ARMII::AddrModeMask", "ARMII::AddrMode_i12", "ARMII::AddrMode3", "ARMII::AddrMode5", "ARMII::AddrMode5FP16", "ARMII::AddrModeT2_i8s4", "ARMII::AddrModeT2_pc", "ARMII::AddrModeT1_s"], "File": "ARMMCTargetDesc (2)1", "Func": "evaluateMemoryOperandAddress", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9755, "Length": 335, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16FrameLowering", "::", "hasReservedCallFrame", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "isInt", "<", "15", ">", "(", "MFI", "->", "getMaxCallFrameSize", "(", ")", ")", "&&", "!", "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", "15"], "File": "Mips16FrameLowering", "Func": "hasReservedCallFrame", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9756, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "decomposeMulByConstant", "(", "LLVMContext", "&", "Context", ",", "EVT", "VT", ",", "SDValue", "C", ")", "const", "{", "if", "(", "!", "VT", ".", "isScalarInteger", "(", ")", ")", "return", "false", ";", "if", "(", "auto", "*", "ConstNode", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "C", ".", "getNode", "(", ")", ")", ")", "{", "if", "(", "!", "ConstNode", "->", "getAPIntValue", "(", ")", ".", "isSignedIntN", "(", "64", ")", ")", "return", "false", ";", "int64_t", "Imm", "=", "ConstNode", "->", "getSExtValue", "(", ")", ";", "unsigned", "Shift", "=", "countTrailingZeros", "<", "uint64_t", ">", "(", "Imm", ")", ";", "Imm", ">>=", "Shift", ";", "if", "(", "isInt", "<", "16", ">", "(", "Imm", ")", ")", "return", "false", ";", "uint64_t", "UImm", "=", "static_cast", "<", "uint64_t", ">", "(", "Imm", ")", ";", "if", "(", "isPowerOf2_64", "(", "UImm", "+", "1", ")", "||", "isPowerOf2_64", "(", "UImm", "-", "1", ")", "||", "isPowerOf2_64", "(", "1", "-", "UImm", ")", "||", "isPowerOf2_64", "(", "-", "1", "-", "UImm", ")", ")", "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": ["PowerPC", "PPC", "64", "16", "1", "1", "1", "1"], "File": "PPCISelLowering109", "Func": "decomposeMulByConstant", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9757, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_reversed_fp_cond", "(", "enum", "rtx_code", "*", "code", ")", "{", "switch", "(", "*", "code", ")", "{", "case", "NE", ":", "case", "LTGT", ":", "case", "ORDERED", ":", "*", "code", "=", "reverse_condition_maybe_unordered", "(", "*", "code", ")", ";", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Convert", "*", "CODE", "into", "a", "code", "that", "can", "be", "used", "in", "a", "floating-point", "scc", "instruction", "(", "C.cond.fmt", ")", ".", "Return", "true", "if", "the", "values", "of", "the", "condition", "code", "registers", "will", "be", "inverted", ",", "with", "0", "indicating", "that", "the", "condition", "holds", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_reversed_fp_cond", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9758, "Length": 44, "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", "::", "TailCall", ":", "return", "\"Cpu0ISD::TailCall\"", ";", "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", "::", "EH_RETURN", ":", "return", "\"Cpu0ISD::EH_RETURN\"", ";", "case", "Cpu0ISD", "::", "DivRem", ":", "return", "\"Cpu0ISD::DivRem\"", ";", "case", "Cpu0ISD", "::", "DivRemU", ":", "return", "\"Cpu0ISD::DivRemU\"", ";", "case", "Cpu0ISD", "::", "Wrapper", ":", "return", "\"Cpu0ISD::Wrapper\"", ";", "case", "Cpu0ISD", "::", "Sync", ":", "return", "\"Cpu0ISD::Sync\"", ";", "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::TailCall", "\"Cpu0ISD::TailCall\"", "Cpu0ISD::Hi", "\"Cpu0ISD::Hi\"", "Cpu0ISD::Lo", "\"Cpu0ISD::Lo\"", "Cpu0ISD::GPRel", "\"Cpu0ISD::GPRel\"", "Cpu0ISD::Ret", "\"Cpu0ISD::Ret\"", "Cpu0ISD::EH_RETURN", "\"Cpu0ISD::EH_RETURN\"", "Cpu0ISD::DivRem", "\"Cpu0ISD::DivRem\"", "Cpu0ISD::DivRemU", "\"Cpu0ISD::DivRemU\"", "Cpu0ISD::Wrapper", "\"Cpu0ISD::Wrapper\"", "Cpu0ISD::Sync", "\"Cpu0ISD::Sync\""], "File": "Cpu0ISelLowering", "Func": "getTargetNodeName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9759, "Length": 112, "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_vsx_dform_quad", "(", "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", "(", "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", "(", "reg_addr", "[", "mode", "]", ".", "fused_toc", "&&", "GET_CODE", "(", "x", ")", "==", "UNSPEC", "&&", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_FUSION_ADDIS", ")", "return", "1", ";", "}", "if", "(", "mode", "==", "TImode", "&&", "TARGET_VSX", ")", "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_DOUBLE_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", "1", "1", "0", "0", "0", "0", "1", "1", "1", "1", "0", "1", "1", "1", "0", "0", "1", "1", "0"], "File": "rs60007", "Func": "rs6000_legitimate_address_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9760, "Length": 505, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ia64_spec_check_src_p", "(", "rtx", "src", ")", "{", "if", "(", "GET_CODE", "(", "src", ")", "==", "IF_THEN_ELSE", ")", "{", "rtx", "t", ";", "t", "=", "XEXP", "(", "src", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "t", ")", "==", "NE", ")", "{", "t", "=", "XEXP", "(", "t", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "t", ")", "==", "UNSPEC", ")", "{", "int", "code", ";", "code", "=", "XINT", "(", "t", ",", "1", ")", ";", "if", "(", "code", "==", "UNSPEC_LDCCLR", "||", "code", "==", "UNSPEC_LDCNC", "||", "code", "==", "UNSPEC_CHKACLR", "||", "code", "==", "UNSPEC_CHKANC", "||", "code", "==", "UNSPEC_CHKS", ")", "{", "gcc_assert", "(", "code", "!=", "0", ")", ";", "return", "code", ";", "}", "}", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "nonzero", ",", "if", "SRC", "belongs", "to", "recovery", "check", "."], "TS_V_token": ["ia64", "0", "0", "1", "0", "0"], "File": "ia64", "Func": "ia64_spec_check_src_p", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9761, "Length": 112, "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": ["powerpcspe", "1", "0", "4", "1", "0"], "File": "powerpcspe", "Func": "compute_save_world_info", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9762, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "const", "TargetRegisterInfo", "*", "TRI", "=", "&", "getRegisterInfo", "(", ")", ";", "if", "(", "PPC", "::", "F8RCRegClass", ".", "contains", "(", "DestReg", ")", "&&", "PPC", "::", "VSLRCRegClass", ".", "contains", "(", "SrcReg", ")", ")", "{", "unsigned", "SuperReg", "=", "TRI", "->", "getMatchingSuperReg", "(", "DestReg", ",", "PPC", "::", "sub_64", ",", "&", "PPC", "::", "VSRCRegClass", ")", ";", "if", "(", "SrcReg", "==", "SuperReg", ")", "return", ";", "DestReg", "=", "SuperReg", ";", "}", "else", "if", "(", "PPC", "::", "VRRCRegClass", ".", "contains", "(", "DestReg", ")", "&&", "PPC", "::", "VSHRCRegClass", ".", "contains", "(", "SrcReg", ")", ")", "{", "unsigned", "SuperReg", "=", "TRI", "->", "getMatchingSuperReg", "(", "DestReg", ",", "PPC", "::", "sub_128", ",", "&", "PPC", "::", "VSRCRegClass", ")", ";", "if", "(", "SrcReg", "==", "SuperReg", ")", "return", ";", "DestReg", "=", "SuperReg", ";", "}", "else", "if", "(", "PPC", "::", "F8RCRegClass", ".", "contains", "(", "SrcReg", ")", "&&", "PPC", "::", "VSLRCRegClass", ".", "contains", "(", "DestReg", ")", ")", "{", "unsigned", "SuperReg", "=", "TRI", "->", "getMatchingSuperReg", "(", "SrcReg", ",", "PPC", "::", "sub_64", ",", "&", "PPC", "::", "VSRCRegClass", ")", ";", "if", "(", "DestReg", "==", "SuperReg", ")", "return", ";", "SrcReg", "=", "SuperReg", ";", "}", "else", "if", "(", "PPC", "::", "VRRCRegClass", ".", "contains", "(", "SrcReg", ")", "&&", "PPC", "::", "VSHRCRegClass", ".", "contains", "(", "DestReg", ")", ")", "{", "unsigned", "SuperReg", "=", "TRI", "->", "getMatchingSuperReg", "(", "SrcReg", ",", "PPC", "::", "sub_128", ",", "&", "PPC", "::", "VSRCRegClass", ")", ";", "if", "(", "DestReg", "==", "SuperReg", ")", "return", ";", "SrcReg", "=", "SuperReg", ";", "}", "unsigned", "Opc", ";", "if", "(", "PPC", "::", "GPRCRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "PPC", "::", "OR", ";", "else", "if", "(", "PPC", "::", "G8RCRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "PPC", "::", "OR8", ";", "else", "if", "(", "PPC", "::", "F4RCRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "PPC", "::", "FMR", ";", "else", "if", "(", "PPC", "::", "CRRCRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "PPC", "::", "MCRF", ";", "else", "if", "(", "PPC", "::", "VRRCRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "PPC", "::", "VOR", ";", "else", "if", "(", "PPC", "::", "VSRCRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "PPC", "::", "XXLOR", ";", "else", "if", "(", "PPC", "::", "CRBITRCRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "PPC", "::", "CROR", ";", "else", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "get", "(", "Opc", ")", ";", "if", "(", "MCID", ".", "getNumOperands", "(", ")", "==", "3", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "MCID", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "else", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "MCID", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["PowerPC", "PPC", "PPC::F8RCRegClass", "PPC::VSLRCRegClass", "PPC::sub_64", "PPC::VSRCRegClass", "PPC::VRRCRegClass", "PPC::VSHRCRegClass", "PPC::sub_128", "PPC::VSRCRegClass", "PPC::F8RCRegClass", "PPC::VSLRCRegClass", "PPC::sub_64", "PPC::VSRCRegClass", "PPC::VRRCRegClass", "PPC::VSHRCRegClass", "PPC::sub_128", "PPC::VSRCRegClass", "PPC::GPRCRegClass", "PPC::OR", "PPC::G8RCRegClass", "PPC::OR8", "PPC::F4RCRegClass", "PPC::FMR", "PPC::CRRCRegClass", "PPC::MCRF", "PPC::VRRCRegClass", "PPC::VOR", "PPC::VSRCRegClass", "PPC::XXLOR", "PPC::CRBITRCRegClass", "PPC::CROR", "\"Impossible reg-to-reg copy\"", "3"], "File": "PPCInstrInfo38", "Func": "copyPhysReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9763, "Length": 474, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBank", "&", "MipsRegisterBankInfo", "::", "getRegBankFromRegClass", "(", "const", "TargetRegisterClass", "&", "RC", ")", "const", "{", "using", "namespace", "Mips", ";", "switch", "(", "RC", ".", "getID", "(", ")", ")", "{", "case", "Mips", "::", "GPR32RegClassID", ":", "case", "Mips", "::", "CPU16Regs_and_GPRMM16ZeroRegClassID", ":", "case", "Mips", "::", "GPRMM16MovePPairFirstRegClassID", ":", "case", "Mips", "::", "CPU16Regs_and_GPRMM16MovePPairSecondRegClassID", ":", "case", "Mips", "::", "GPRMM16MoveP_and_CPU16Regs_and_GPRMM16ZeroRegClassID", ":", "case", "Mips", "::", "GPRMM16MovePPairFirst_and_GPRMM16MovePPairSecondRegClassID", ":", "case", "Mips", "::", "SP32RegClassID", ":", "case", "Mips", "::", "GP32RegClassID", ":", "return", "getRegBank", "(", "Mips", "::", "GPRBRegBankID", ")", ";", "case", "Mips", "::", "FGRCCRegClassID", ":", "case", "Mips", "::", "FGR32RegClassID", ":", "case", "Mips", "::", "FGR64RegClassID", ":", "case", "Mips", "::", "AFGR64RegClassID", ":", "return", "getRegBank", "(", "Mips", "::", "FPRBRegBankID", ")", ";", "default", ":", "llvm_unreachable", "(", "\"Register class not supported\"", ")", ";", "}", "}", ""], "natrual_language": ["Get", "a", "register", "bank", "that", "covers", "RC", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips::GPR32RegClassID", "Mips::CPU16Regs_and_GPRMM16ZeroRegClassID", "Mips::GPRMM16MovePPairFirstRegClassID", "Mips::CPU16Regs_and_GPRMM16MovePPairSecondRegClassID", "Mips::GPRMM16MoveP_and_CPU16Regs_and_GPRMM16ZeroRegClassID", "Mips::GPRMM16MovePPairFirst_and_GPRMM16MovePPairSecondRegClassID", "Mips::SP32RegClassID", "Mips::GP32RegClassID", "Mips::GPRBRegBankID", "Mips::FGRCCRegClassID", "Mips::FGR32RegClassID", "Mips::FGR64RegClassID", "Mips::AFGR64RegClassID", "Mips::FPRBRegBankID", "\"Register class not supported\""], "File": "MipsRegisterBankInfo17", "Func": "getRegBankFromRegClass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9764, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_mov_long_double_arm_from_fpa", "(", "rtx", "*", "operands", ")", "{", "int", "arm_reg0", "=", "REGNO", "(", "operands", "[", "0", "]", ")", ";", "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", "(", "\"stf%?e\\t%1, [%|sp, #-12]!\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"ldm%?fd\\t%|sp!, {%0, %1, %2}\"", ",", "ops", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "a", "move", "from", "an", "fpa", "register", "to", "arm", "registers", ".", "OPERANDS", "[", "0", "]", "is", "the", "first", "registers", "of", "an", "arm", "register", "pair", ".", "OPERANDS", "[", "1", "]", "is", "an", "fpa", "register", "."], "TS_V_token": ["arm", "0", "3", "0", "1", "1", "2", "2", "\"stf%?e\\t%1, [%|sp, #-12]!\"", "\"ldm%?fd\\t%|sp!, {%0, %1, %2}\"", "\"\""], "File": "arm3", "Func": "output_mov_long_double_arm_from_fpa", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9765, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCRegisterInfo", "::", "isCallerPreservedPhysReg", "(", "unsigned", "PhysReg", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "assert", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "PhysReg", ")", ")", ";", "if", "(", "TM", ".", "isELFv2ABI", "(", ")", "&&", "PhysReg", "==", "PPC", "::", "X2", ")", "{", "return", "(", "getReservedRegs", "(", "MF", ")", ".", "test", "(", "PPC", "::", "X2", ")", ")", ";", "}", "else", "{", "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::X2", "PPC::X2"], "File": "PPCRegisterInfo (2)2", "Func": "isCallerPreservedPhysReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9766, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ia64_can_change_mode_class", "(", "machine_mode", "from", ",", "machine_mode", "to", ",", "reg_class_t", "rclass", ")", "{", "if", "(", "reg_classes_intersect_p", "(", "rclass", ",", "BR_REGS", ")", ")", "return", "from", "==", "to", ";", "if", "(", "SCALAR_FLOAT_MODE_P", "(", "from", ")", "!=", "SCALAR_FLOAT_MODE_P", "(", "to", ")", ")", "return", "!", "reg_classes_intersect_p", "(", "rclass", ",", "FR_REGS", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CAN_CHANGE_MODE_CLASS", ".", "In", "BR", "regs", ",", "we", "ca", "n't", "change", "the", "DImode", "at", "all", ".", "In", "FP", "regs", ",", "we", "ca", "n't", "change", "FP", "values", "to", "integer", "values", "and", "vice", "versa", ",", "but", "we", "can", "change", "e.g", ".", "DImode", "to", "SImode", ",", "and", "V2SFmode", "into", "DImode", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "ia64_can_change_mode_class", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9767, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VZeroUpperInserter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "hasAVX512", "(", ")", ")", "return", "false", ";", "TII", "=", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "bool", "EverMadeChange", "=", "false", ";", "bool", "YMMUsed", "=", "false", ";", "const", "TargetRegisterClass", "*", "RC", "=", "&", "X86", "::", "VR256RegClass", ";", "for", "(", "TargetRegisterClass", "::", "iterator", "i", "=", "RC", "->", "begin", "(", ")", ",", "e", "=", "RC", "->", "end", "(", ")", ";", "i", "!=", "e", ";", "i", "++", ")", "{", "if", "(", "!", "MRI", ".", "reg_nodbg_empty", "(", "*", "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", "X86::VR256RegClass", "0", "0", "1"], "File": "X86VZeroUpper2", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9768, "Length": 249, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createMipsExpandPseudoPass", "(", ")", ")", ";", "addPass", "(", "createMicroMipsSizeReducePass", "(", ")", ")", ";", "addPass", "(", "createMipsDelaySlotFillerPass", "(", ")", ")", ";", "addPass", "(", "createMipsBranchExpansion", "(", ")", ")", ";", "addPass", "(", "createMipsConstantIslandPass", "(", ")", ")", ";", "}", ""], "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"], "File": "MipsTargetMachine14", "Func": "addPreEmitPass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9769, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "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": "i3865", "Func": "insn_defines_reg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9770, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "dump_constants", "(", "struct", "mips16_constant", "*", "constants", ",", "rtx", "insn", ")", "{", "struct", "mips16_constant", "*", "c", ",", "*", "next", ";", "int", "align", ";", "align", "=", "0", ";", "for", "(", "c", "=", "constants", ";", "c", "!=", "NULL", ";", "c", "=", "next", ")", "{", "if", "(", "align", "<", "GET_MODE_SIZE", "(", "c", "->", "mode", ")", ")", "{", "int", "align_log", "=", "floor_log2", "(", "GET_MODE_SIZE", "(", "c", "->", "mode", ")", ")", ";", "insn", "=", "emit_insn_after", "(", "gen_align", "(", "GEN_INT", "(", "align_log", ")", ")", ",", "insn", ")", ";", "}", "align", "=", "GET_MODE_SIZE", "(", "c", "->", "mode", ")", ";", "insn", "=", "emit_label_after", "(", "c", "->", "label", ",", "insn", ")", ";", "insn", "=", "dump_constants_1", "(", "c", "->", "mode", ",", "c", "->", "value", ",", "insn", ")", ";", "next", "=", "c", "->", "next", ";", "free", "(", "c", ")", ";", "}", "emit_barrier_after", "(", "insn", ")", ";", "}", ""], "natrual_language": ["Dump", "out", "the", "constants", "in", "CONSTANTS", "after", "INSN", "."], "TS_V_token": ["mips", "0"], "File": "mips3", "Func": "dump_constants", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9771, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "make_type_sizeless", "(", "tree", "type", ")", "{", "TYPE_ATTRIBUTES", "(", "type", ")", "=", "tree_cons", "(", "get_identifier", "(", "\"SVE sizeless type\"", ")", ",", "NULL_TREE", ",", "TYPE_ATTRIBUTES", "(", "type", ")", ")", ";", "}", ""], "natrual_language": ["Force", "TYPE", "to", "be", "a", "sizeless", "type", "."], "TS_V_token": ["aarch64", "\"SVE sizeless type\""], "File": "aarch64-sve-builtins", "Func": "make_type_sizeless", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9772, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "isLegalAddressingMode", "(", "const", "AddrMode", "&", "AM", ",", "const", "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": "PPCISelLowering107", "Func": "isLegalAddressingMode", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9773, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "decomposeMulByConstant", "(", "EVT", "VT", ",", "SDValue", "C", ")", "const", "{", "APInt", "MulC", ";", "if", "(", "!", "ISD", "::", "isConstantSplatVector", "(", "C", ".", "getNode", "(", ")", ",", "MulC", ")", ")", "return", "false", ";", "if", "(", "isOperationLegal", "(", "ISD", "::", "MUL", ",", "VT", ")", ")", "return", "false", ";", "return", "(", "MulC", "+", "1", ")", ".", "isPowerOf2", "(", ")", "||", "(", "MulC", "-", "1", ")", ".", "isPowerOf2", "(", ")", ";", "}", ""], "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": ["X86", "X86", "ISD::isConstantSplatVector", "ISD::MUL", "1", "1"], "File": "X86ISelLowering79", "Func": "decomposeMulByConstant", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9774, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCodeEmitter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "assert", "(", "(", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Default", "||", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Static", ")", "&&", "\"JIT relocation model must be set to static or default!\"", ")", ";", "II", "=", "(", "(", "ARMTargetMachine", "&", ")", "MF", ".", "getTarget", "(", ")", ")", ".", "getInstrInfo", "(", ")", ";", "TD", "=", "(", "(", "ARMTargetMachine", "&", ")", "MF", ".", "getTarget", "(", ")", ")", ".", "getTargetData", "(", ")", ";", "JTI", "=", "(", "(", "ARMTargetMachine", "&", ")", "MF", ".", "getTarget", "(", ")", ")", ".", "getJITInfo", "(", ")", ";", "MCPEs", "=", "&", "MF", ".", "getConstantPool", "(", ")", "->", "getConstants", "(", ")", ";", "MJTEs", "=", "&", "MF", ".", "getJumpTableInfo", "(", ")", "->", "getJumpTables", "(", ")", ";", "IsPIC", "=", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ";", "JTI", "->", "Initialize", "(", "MF", ",", "IsPIC", ")", ";", "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", ")", "emitInstruction", "(", "*", "I", ")", ";", "}", "}", "while", "(", "MCE", ".", "finishFunction", "(", "MF", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "\"JIT relocation model must be set to static or default!\"", "ARM", "ARM", "ARM", "\"JITTing function '\"", "\"'\\n\""], "File": "ARMCodeEmitter19", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9775, "Length": 257, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsSETargetLowering", "::", "addMSAIntType", "(", "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", "::", "BITCAST", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "LOAD", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "STORE", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "ADD", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "CTLZ", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "MUL", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "SDIV", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "SHL", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "SRA", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "SRL", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "SUB", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "UDIV", ",", "Ty", ",", "Legal", ")", ";", "}", ""], "natrual_language": ["Enable", "MSA", "support", "for", "the", "given", "integer", "type", "and", "Register", "class", "."], "TS_V_token": ["Mips", "Mips", "MVT::SimpleValueType", "0", "ISD::BUILTIN_OP_END", "ISD::BITCAST", "ISD::LOAD", "ISD::STORE", "ISD::ADD", "ISD::CTLZ", "ISD::MUL", "ISD::SDIV", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::SUB", "ISD::UDIV"], "File": "MipsSEISelLowering12", "Func": "addMSAIntType", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9776, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCPostRASchedStrategy", "::", "tryCandidate", "(", "SchedCandidate", "&", "Cand", ",", "SchedCandidate", "&", "TryCand", ")", "{", "if", "(", "!", "Cand", ".", "isValid", "(", ")", ")", "{", "TryCand", ".", "Reason", "=", "NodeOrder", ";", "return", "true", ";", "}", "if", "(", "tryLess", "(", "Top", ".", "getLatencyStallCycles", "(", "TryCand", ".", "SU", ")", ",", "Top", ".", "getLatencyStallCycles", "(", "Cand", ".", "SU", ")", ",", "TryCand", ",", "Cand", ",", "Stall", ")", ")", "return", "TryCand", ".", "Reason", "!=", "NoCand", ";", "if", "(", "tryGreater", "(", "TryCand", ".", "SU", "==", "DAG", "->", "getNextClusterSucc", "(", ")", ",", "Cand", ".", "SU", "==", "DAG", "->", "getNextClusterSucc", "(", ")", ",", "TryCand", ",", "Cand", ",", "Cluster", ")", ")", "return", "TryCand", ".", "Reason", "!=", "NoCand", ";", "if", "(", "tryLess", "(", "TryCand", ".", "ResDelta", ".", "CritResources", ",", "Cand", ".", "ResDelta", ".", "CritResources", ",", "TryCand", ",", "Cand", ",", "ResourceReduce", ")", ")", "return", "TryCand", ".", "Reason", "!=", "NoCand", ";", "if", "(", "tryGreater", "(", "TryCand", ".", "ResDelta", ".", "DemandedResources", ",", "Cand", ".", "ResDelta", ".", "DemandedResources", ",", "TryCand", ",", "Cand", ",", "ResourceDemand", ")", ")", "return", "TryCand", ".", "Reason", "!=", "NoCand", ";", "if", "(", "Cand", ".", "Policy", ".", "ReduceLatency", "&&", "tryLatency", "(", "TryCand", ",", "Cand", ",", "Top", ")", ")", "{", "return", "TryCand", ".", "Reason", "!=", "NoCand", ";", "}", "if", "(", "TryCand", ".", "SU", "->", "NodeNum", "<", "Cand", ".", "SU", "->", "NodeNum", ")", "TryCand", ".", "Reason", "=", "NodeOrder", ";", "if", "(", "TryCand", ".", "Reason", "!=", "NodeOrder", "&&", "TryCand", ".", "Reason", "!=", "NoCand", ")", "return", "true", ";", "if", "(", "biasAddiCandidate", "(", "Cand", ",", "TryCand", ")", ")", "return", "TryCand", ".", "Reason", "!=", "NoCand", ";", "return", "TryCand", ".", "Reason", "!=", "NoCand", ";", "}", ""], "natrual_language": ["Apply", "a", "set", "of", "heuristics", "to", "a", "new", "candidate", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCMachineScheduler4", "Func": "tryCandidate", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9777, "Length": 255, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCAIXAsmPrinter", "::", "emitLinkage", "(", "const", "GlobalValue", "*", "GV", ",", "MCSymbol", "*", "GVSym", ")", "const", "{", "assert", "(", "MAI", "->", "hasVisibilityOnlyWithLinkage", "(", ")", "&&", "\"AIX's linkage directives take a visibility setting.\"", ")", ";", "MCSymbolAttr", "LinkageAttr", "=", "MCSA_Invalid", ";", "switch", "(", "GV", "->", "getLinkage", "(", ")", ")", "{", "case", "GlobalValue", "::", "ExternalLinkage", ":", "LinkageAttr", "=", "GV", "->", "isDeclaration", "(", ")", "?", "MCSA_Extern", ":", "MCSA_Global", ";", "break", ";", "case", "GlobalValue", "::", "LinkOnceAnyLinkage", ":", "case", "GlobalValue", "::", "LinkOnceODRLinkage", ":", "case", "GlobalValue", "::", "WeakAnyLinkage", ":", "case", "GlobalValue", "::", "WeakODRLinkage", ":", "case", "GlobalValue", "::", "ExternalWeakLinkage", ":", "LinkageAttr", "=", "MCSA_Weak", ";", "break", ";", "case", "GlobalValue", "::", "AvailableExternallyLinkage", ":", "LinkageAttr", "=", "MCSA_Extern", ";", "break", ";", "case", "GlobalValue", "::", "PrivateLinkage", ":", "return", ";", "case", "GlobalValue", "::", "InternalLinkage", ":", "assert", "(", "GV", "->", "getVisibility", "(", ")", "==", "GlobalValue", "::", "DefaultVisibility", "&&", "\"InternalLinkage should not have other visibility setting.\"", ")", ";", "LinkageAttr", "=", "MCSA_LGlobal", ";", "break", ";", "case", "GlobalValue", "::", "AppendingLinkage", ":", "llvm_unreachable", "(", "\"Should never emit this\"", ")", ";", "case", "GlobalValue", "::", "CommonLinkage", ":", "llvm_unreachable", "(", "\"CommonLinkage of XCOFF should not come to this path\"", ")", ";", "}", "assert", "(", "LinkageAttr", "!=", "MCSA_Invalid", "&&", "\"LinkageAttr should not MCSA_Invalid.\"", ")", ";", "MCSymbolAttr", "VisibilityAttr", "=", "MCSA_Invalid", ";", "if", "(", "!", "TM", ".", "getIgnoreXCOFFVisibility", "(", ")", ")", "{", "if", "(", "GV", "->", "hasDLLExportStorageClass", "(", ")", "&&", "!", "GV", "->", "hasDefaultVisibility", "(", ")", ")", "report_fatal_error", "(", "\"Cannot not be both dllexport and non-default visibility\"", ")", ";", "switch", "(", "GV", "->", "getVisibility", "(", ")", ")", "{", "case", "GlobalValue", "::", "DefaultVisibility", ":", "if", "(", "GV", "->", "hasDLLExportStorageClass", "(", ")", ")", "VisibilityAttr", "=", "MAI", "->", "getExportedVisibilityAttr", "(", ")", ";", "break", ";", "case", "GlobalValue", "::", "HiddenVisibility", ":", "VisibilityAttr", "=", "MAI", "->", "getHiddenVisibilityAttr", "(", ")", ";", "break", ";", "case", "GlobalValue", "::", "ProtectedVisibility", ":", "VisibilityAttr", "=", "MAI", "->", "getProtectedVisibilityAttr", "(", ")", ";", "break", ";", "}", "}", "OutStreamer", "->", "emitXCOFFSymbolLinkageWithVisibility", "(", "GVSym", ",", "LinkageAttr", ",", "VisibilityAttr", ")", ";", "}", ""], "natrual_language": ["This", "emits", "linkage", "information", "about", "GVSym", "based", "on", "GV", ",", "if", "this", "is", "supported", "by", "the", "target", "."], "TS_V_token": ["PowerPC", "PPC", "\"AIX's linkage directives take a visibility setting.\"", "\"InternalLinkage should not have other visibility setting.\"", "\"Should never emit this\"", "\"CommonLinkage of XCOFF should not come to this path\"", "\"LinkageAttr should not MCSA_Invalid.\"", "\"Cannot not be both dllexport and non-default visibility\""], "File": "PPCAsmPrinter (2)3", "Func": "emitLinkage", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9778, "Length": 276, "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", ",", "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": "SystemZSubtarget17", "Func": "initializeSubtargetDependencies", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9779, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_move_pointer", "(", "rtx", "pointer", ",", "int", "amount", ")", "{", "rtx", "next", "=", "plus_constant", "(", "Pmode", ",", "XEXP", "(", "pointer", ",", "0", ")", ",", "amount", ")", ";", "return", "adjust_automodify_address", "(", "pointer", ",", "GET_MODE", "(", "pointer", ")", ",", "next", ",", "amount", ")", ";", "}", ""], "natrual_language": ["Return", "a", "new", "RTX", "holding", "the", "result", "of", "moving", "POINTER", "forward", "by", "AMOUNT", "bytes", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch642", "Func": "aarch64_move_pointer", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9780, "Length": 44, "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": 9781, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "PPCRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "PPCFrameLowering", "*", "PPCFI", "=", "static_cast", "<", "const", "PPCFrameLowering", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "ZERO", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "ZERO8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "FP", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "FP8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "BP", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "BP8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "CTR", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "CTR8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R1", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "RM", ")", ";", "if", "(", "!", "Subtarget", ".", "isDarwinABI", "(", ")", "||", "!", "Subtarget", ".", "hasAltivec", "(", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "VRSAVE", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R2", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R13", ")", ";", "}", "if", "(", "Subtarget", ".", "isPPC64", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R13", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X1", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X13", ")", ";", "if", "(", "PPCFI", "->", "needsFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "X31", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "X30", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "X2", ")", ";", "}", "}", "if", "(", "PPCFI", "->", "needsFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "R31", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "{", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", "&&", "!", "Subtarget", ".", "isPPC64", "(", ")", "&&", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "Reserved", ".", "set", "(", "PPC", "::", "R29", ")", ";", "else", "Reserved", ".", "set", "(", "PPC", "::", "R30", ")", ";", "}", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", "&&", "!", "Subtarget", ".", "isPPC64", "(", ")", "&&", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "Reserved", ".", "set", "(", "PPC", "::", "R30", ")", ";", "if", "(", "!", "Subtarget", ".", "hasAltivec", "(", ")", ")", "for", "(", "TargetRegisterClass", "::", "iterator", "I", "=", "PPC", "::", "VRRCRegClass", ".", "begin", "(", ")", ",", "IE", "=", "PPC", "::", "VRRCRegClass", ".", "end", "(", ")", ";", "I", "!=", "IE", ";", "++", "I", ")", "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": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC::ZERO", "PPC::ZERO8", "PPC::FP", "PPC::FP8", "PPC::BP", "PPC::BP8", "PPC::CTR", "PPC::CTR8", "PPC::R1", "PPC::LR", "PPC::LR8", "PPC::RM", "PPC::VRSAVE", "PPC::R2", "PPC::R13", "PPC", "PPC::R13", "PPC::X1", "PPC::X13", "PPC", "PPC::X31", "PPC::X30", "PPC::X2", "PPC", "PPC::R31", "PPC", "PPC::R29", "PPC::R30", "PPC", "PPC::R30", "PPC::VRRCRegClass", "PPC::VRRCRegClass"], "File": "PPCRegisterInfo36", "Func": "getReservedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9782, "Length": 460, "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": 9783, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_conditional_register_usage", "(", "void", ")", "{", "int", "i", ";", "if", "(", "TARGET_DEBUG_TARGET", ")", "fprintf", "(", "stderr", ",", "\"rs6000_conditional_register_usage called\\n\"", ")", ";", "fixed_regs", "[", "64", "]", "=", "1", ";", "if", "(", "TARGET_64BIT", ")", "fixed_regs", "[", "13", "]", "=", "call_used_regs", "[", "13", "]", "=", "call_really_used_regs", "[", "13", "]", "=", "1", ";", "if", "(", "TARGET_SOFT_FLOAT", "||", "!", "TARGET_FPRS", ")", "for", "(", "i", "=", "32", ";", "i", "<", "64", ";", "i", "++", ")", "fixed_regs", "[", "i", "]", "=", "call_used_regs", "[", "i", "]", "=", "call_really_used_regs", "[", "i", "]", "=", "1", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_AIX", "||", "DEFAULT_ABI", "==", "ABI_ELFv2", ")", "call_really_used_regs", "[", "2", "]", "=", "0", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "flag_pic", "==", "2", ")", "fixed_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "1", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "flag_pic", "==", "1", ")", "fixed_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "call_used_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "call_really_used_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "1", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_DARWIN", "&&", "flag_pic", ")", "fixed_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "call_used_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "call_really_used_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "1", ";", "if", "(", "TARGET_TOC", "&&", "TARGET_MINIMAL_TOC", ")", "fixed_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "call_used_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "1", ";", "if", "(", "TARGET_SPE", ")", "{", "global_regs", "[", "SPEFSCR_REGNO", "]", "=", "1", ";", "fixed_regs", "[", "14", "]", "=", "call_used_regs", "[", "14", "]", "=", "call_really_used_regs", "[", "14", "]", "=", "1", ";", "}", "if", "(", "!", "TARGET_ALTIVEC", "&&", "!", "TARGET_VSX", ")", "{", "for", "(", "i", "=", "FIRST_ALTIVEC_REGNO", ";", "i", "<=", "LAST_ALTIVEC_REGNO", ";", "++", "i", ")", "fixed_regs", "[", "i", "]", "=", "call_used_regs", "[", "i", "]", "=", "call_really_used_regs", "[", "i", "]", "=", "1", ";", "call_really_used_regs", "[", "VRSAVE_REGNO", "]", "=", "1", ";", "}", "if", "(", "TARGET_ALTIVEC", "||", "TARGET_VSX", ")", "global_regs", "[", "VSCR_REGNO", "]", "=", "1", ";", "if", "(", "TARGET_ALTIVEC_ABI", ")", "{", "for", "(", "i", "=", "FIRST_ALTIVEC_REGNO", ";", "i", "<", "FIRST_ALTIVEC_REGNO", "+", "20", ";", "++", "i", ")", "call_used_regs", "[", "i", "]", "=", "call_really_used_regs", "[", "i", "]", "=", "1", ";", "if", "(", "TARGET_XCOFF", ")", "for", "(", "i", "=", "FIRST_ALTIVEC_REGNO", "+", "20", ";", "i", "<", "FIRST_ALTIVEC_REGNO", "+", "32", ";", "++", "i", ")", "fixed_regs", "[", "i", "]", "=", "call_used_regs", "[", "i", "]", "=", "call_really_used_regs", "[", "i", "]", "=", "1", ";", "}", "}", ""], "natrual_language": ["Change", "register", "usage", "conditional", "on", "target", "flags", "."], "TS_V_token": ["powerpcspe", "\"rs6000_conditional_register_usage called\\n\"", "64", "1", "13", "13", "13", "1", "32", "64", "1", "2", "0", "2", "1", "1", "1", "1", "1", "1", "14", "14", "14", "1", "1", "1", "1", "20", "1", "20", "32", "1"], "File": "powerpcspe", "Func": "rs6000_conditional_register_usage", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9784, "Length": 352, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_function_arg", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "omode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "machine_mode", "mode", "=", "omode", ";", "HOST_WIDE_INT", "bytes", ",", "words", ";", "rtx", "arg", ";", "if", "(", "!", "cum", "->", "caller", "&&", "cfun", "->", "machine", "->", "func_type", "!=", "TYPE_NORMAL", ")", "{", "gcc_assert", "(", "type", "!=", "NULL_TREE", ")", ";", "if", "(", "POINTER_TYPE_P", "(", "type", ")", ")", "{", "gcc_assert", "(", "TYPE_MODE", "(", "type", ")", "==", "Pmode", ")", ";", "arg", "=", "plus_constant", "(", "Pmode", ",", "arg_pointer_rtx", ",", "-", "UNITS_PER_WORD", ")", ";", "}", "else", "{", "gcc_assert", "(", "cfun", "->", "machine", "->", "func_type", "==", "TYPE_EXCEPTION", "&&", "TREE_CODE", "(", "type", ")", "==", "INTEGER_TYPE", "&&", "TYPE_MODE", "(", "type", ")", "==", "word_mode", ")", ";", "arg", "=", "gen_rtx_MEM", "(", "word_mode", ",", "plus_constant", "(", "Pmode", ",", "arg_pointer_rtx", ",", "-", "2", "*", "UNITS_PER_WORD", ")", ")", ";", "}", "return", "arg", ";", "}", "if", "(", "(", "type", "&&", "POINTER_BOUNDS_TYPE_P", "(", "type", ")", ")", "||", "POINTER_BOUNDS_MODE_P", "(", "mode", ")", ")", "{", "if", "(", "cum", "->", "bnds_in_bt", ")", "arg", "=", "NULL", ";", "else", "if", "(", "cum", "->", "bnd_regno", "<=", "LAST_BND_REG", ")", "arg", "=", "gen_rtx_REG", "(", "BNDmode", ",", "cum", "->", "bnd_regno", ")", ";", "else", "arg", "=", "GEN_INT", "(", "cum", "->", "bnd_regno", "-", "LAST_BND_REG", "-", "1", ")", ";", "return", "arg", ";", "}", "if", "(", "mode", "==", "BLKmode", ")", "bytes", "=", "int_size_in_bytes", "(", "type", ")", ";", "else", "bytes", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "words", "=", "CEIL", "(", "bytes", ",", "UNITS_PER_WORD", ")", ";", "if", "(", "type", "&&", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", ")", "mode", "=", "type_natural_mode", "(", "type", ",", "cum", ",", "false", ")", ";", "if", "(", "TARGET_64BIT", ")", "{", "enum", "calling_abi", "call_abi", "=", "cum", "?", "cum", "->", "call_abi", ":", "ix86_abi", ";", "if", "(", "call_abi", "==", "MS_ABI", ")", "arg", "=", "function_arg_ms_64", "(", "cum", ",", "mode", ",", "omode", ",", "named", ",", "bytes", ")", ";", "else", "arg", "=", "function_arg_64", "(", "cum", ",", "mode", ",", "omode", ",", "type", ",", "named", ")", ";", "}", "else", "arg", "=", "function_arg_32", "(", "cum", ",", "mode", ",", "omode", ",", "type", ",", "bytes", ",", "words", ")", ";", "if", "(", "arg", "==", "NULL_RTX", "&&", "cum", "->", "caller", ")", "cfun", "->", "machine", "->", "outgoing_args_on_stack", "=", "true", ";", "return", "arg", ";", "}", ""], "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", "1"], "File": "i3867", "Func": "ix86_function_arg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9785, "Length": 356, "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": 9786, "Length": 225, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "ARMTargetLowering", "::", "BuildSDIVPow2", "(", "SDNode", "*", "N", ",", "const", "APInt", "&", "Divisor", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDNode", "*", ">", "&", "Created", ")", "const", "{", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "SDIV", ")", "return", "SDValue", "(", ")", ";", "const", "auto", "&", "ST", "=", "DAG", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "const", "bool", "MinSize", "=", "ST", ".", "hasMinSize", "(", ")", ";", "const", "bool", "HasDivide", "=", "ST", ".", "isThumb", "(", ")", "?", "ST", ".", "hasDivideInThumbMode", "(", ")", ":", "ST", ".", "hasDivideInARMMode", "(", ")", ";", "if", "(", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", ".", "isVector", "(", ")", ")", "return", "SDValue", "(", ")", ";", "if", "(", "!", "(", "MinSize", "&&", "HasDivide", ")", ")", "return", "SDValue", "(", ")", ";", "if", "(", "!", "ST", ".", "isThumb", "(", ")", ")", "return", "SDValue", "(", "N", ",", "0", ")", ";", "if", "(", "Divisor", ".", "sgt", "(", "128", ")", ")", "return", "SDValue", "(", ")", ";", "return", "SDValue", "(", "N", ",", "0", ")", ";", "}", ""], "natrual_language": ["Targets", "may", "override", "this", "function", "to", "provide", "custom", "SDIV", "lowering", "for", "power-of-2", "denominators", "."], "TS_V_token": ["ARM", "ARM", "ISD::SDIV", "ARM", "ARM", "0", "0", "128", "0"], "File": "ARMISelLowering93", "Func": "BuildSDIVPow2", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9787, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "Cpu0TargetLowering", "::", "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_Cpu0", ")", ";", "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": ["Cpu0", "Cpu0", "ISD::InputArg", "16", "Cpu0", "0", "1", "2", "0"], "File": "Cpu0ISelLowering1", "Func": "LowerCallResult", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9788, "Length": 170, "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": ["rs6000", "0", "0", "1", "16", "0", "0", "0", "0", "0", "16", "0", "0", "0"], "File": "rs6000-p8swap2", "Func": "alignment_mask", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9789, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mmix_local_regno", "(", "int", "regno", ")", "{", "return", "regno", "<=", "MMIX_LAST_STACK_REGISTER_REGNUM", "&&", "!", "call_used_regs", "[", "regno", "]", ";", "}", ""], "natrual_language": ["LOCAL_REGNO", ".", "All", "registers", "that", "are", "part", "of", "the", "register", "stack", "and", "that", "will", "be", "saved", "are", "local", "."], "TS_V_token": ["mmix"], "File": "mmix3", "Func": "mmix_local_regno", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9790, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_debug_rtx_costs", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "int", "outer_code", ",", "int", "opno", ",", "int", "*", "total", ",", "bool", "speed", ")", "{", "bool", "ret", "=", "rs6000_rtx_costs", "(", "x", ",", "mode", ",", "outer_code", ",", "opno", ",", "total", ",", "speed", ")", ";", "fprintf", "(", "stderr", ",", "\"\\nrs6000_rtx_costs, return = %s, mode = %s, outer_code = %s, \"", "\"opno = %d, total = %d, speed = %s, x:\\n\"", ",", "ret", "?", "\"complete\"", ":", "\"scan inner\"", ",", "GET_MODE_NAME", "(", "mode", ")", ",", "GET_RTX_NAME", "(", "outer_code", ")", ",", "opno", ",", "*", "total", ",", "speed", "?", "\"true\"", ":", "\"false\"", ")", ";", "debug_rtx", "(", "x", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Debug", "form", "of", "r6000_rtx_costs", "that", "is", "selected", "if", "-mdebug=cost", "."], "TS_V_token": ["rs6000", "\"\\nrs6000_rtx_costs, return = %s, mode = %s, outer_code = %s, \"", "\"opno = %d, total = %d, speed = %s, x:\\n\"", "\"complete\"", "\"scan inner\"", "\"true\"", "\"false\""], "File": "rs6000", "Func": "rs6000_debug_rtx_costs", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9791, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "no_global_regs_above", "(", "int", "first_greg", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "32", "-", "first_greg", ";", "i", "++", ")", "if", "(", "global_regs", "[", "first_greg", "+", "i", "]", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Look", "for", "user-defined", "global", "regs", ".", "We", "should", "not", "save", "and", "restore", "these", ",", "and", "can", "not", "use", "stmw/lmw", "if", "there", "are", "any", "in", "its", "range", "."], "TS_V_token": ["rs6000", "0", "32"], "File": "rs60003", "Func": "no_global_regs_above", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9792, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_get_arg_address_for_bt", "(", "rtx", "slot", ",", "rtx", "slot_no", ",", "rtx", "special_base", ")", "{", "rtx", "addr", "=", "NULL", ";", "if", "(", "!", "slot", "||", "REG_P", "(", "slot", ")", ")", "{", "gcc_assert", "(", "CONST_INT_P", "(", "slot_no", ")", ")", ";", "addr", "=", "plus_constant", "(", "Pmode", ",", "special_base", ",", "-", "(", "INTVAL", "(", "slot_no", ")", "+", "1", ")", "*", "GET_MODE_SIZE", "(", "Pmode", ")", ")", ";", "}", "else", "if", "(", "MEM_P", "(", "slot", ")", ")", "{", "addr", "=", "XEXP", "(", "slot", ",", "0", ")", ";", "if", "(", "!", "register_operand", "(", "addr", ",", "Pmode", ")", ")", "addr", "=", "copy_addr_to_reg", "(", "addr", ")", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "return", "addr", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "ix86_load_bounds", "and", "ix86_store_bounds", ".", "Return", "an", "address", "to", "be", "used", "to", "load/store", "bounds", "for", "pointer", "passed", "in", "SLOT", ".", "SLOT_NO", "is", "an", "integer", "constant", "holding", "number", "of", "a", "target", "dependent", "special", "slot", "to", "be", "used", "in", "case", "SLOT", "is", "not", "a", "memory", ".", "SPECIAL_BASE", "is", "a", "pointer", "to", "be", "used", "as", "a", "base", "of", "fake", "address", "to", "access", "special", "slots", "in", "Bounds", "Table", ".", "SPECIAL_BASE", "[", "-1", "]", ",", "SPECIAL_BASE", "[", "-2", "]", "etc", ".", "will", "be", "used", "as", "fake", "pointer", "locations", "."], "TS_V_token": ["i386", "1", "0"], "File": "i3864", "Func": "ix86_get_arg_address_for_bt", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9793, "Length": 108, "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": 9794, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcSubtarget", "&", "SparcSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "UseSoftMulDiv", "=", "false", ";", "IsV9", "=", "false", ";", "IsLeon", "=", "false", ";", "V8DeprecatedInsts", "=", "false", ";", "IsVIS", "=", "false", ";", "IsVIS2", "=", "false", ";", "IsVIS3", "=", "false", ";", "HasHardQuad", "=", "false", ";", "UsePopc", "=", "false", ";", "UseSoftFloat", "=", "false", ";", "HasNoFSMULD", "=", "false", ";", "HasNoFMULS", "=", "false", ";", "HasLeonCasa", "=", "false", ";", "HasUmacSmac", "=", "false", ";", "InsertNOPLoad", "=", "false", ";", "FixAllFDIVSQRT", "=", "false", ";", "DetectRoundChange", "=", "false", ";", "HasLeonCycleCounter", "=", "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": "SparcSubtarget11", "Func": "initializeSubtargetDependencies", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9795, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "compute_vrsave_mask", "(", "void", ")", "{", "unsigned", "int", "i", ",", "mask", "=", "0", ";", "for", "(", "i", "=", "FIRST_ALTIVEC_REGNO", ";", "i", "<=", "LAST_ALTIVEC_REGNO", ";", "++", "i", ")", "if", "(", "regs_ever_live", "[", "i", "]", ")", "mask", "|=", "ALTIVEC_REG_BIT", "(", "i", ")", ";", "if", "(", "mask", "==", "0", ")", "return", "mask", ";", "for", "(", "i", "=", "cfun", "->", "args_info", ".", "vregno", "-", "1", ";", "i", ">=", "ALTIVEC_ARG_MIN_REG", ";", "--", "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", "0", "1"], "File": "rs60003", "Func": "compute_vrsave_mask", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9796, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "Position", ",", "Register", "SourceRegister", ",", "bool", "IsKill", ",", "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 store this register to stack slot\"", ")", ";", "}", "BuildMI", "(", "MBB", ",", "Position", ",", "DL", ",", "get", "(", "Lanai", "::", "SW_RI", ")", ")", ".", "addReg", "(", "SourceRegister", ",", "getKillRegState", "(", "IsKill", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "LPAC", "::", "ADD", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai::GPRRegClass", "\"Can't store this register to stack slot\"", "Lanai::SW_RI", "0"], "File": "LanaiInstrInfo13", "Func": "storeRegToStackSlot", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9797, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "enum", "insn_code", "rs6000_htm_spr_icode", "(", "bool", "nonvoid", ")", "{", "if", "(", "nonvoid", ")", "return", "(", "TARGET_64BIT", ")", "?", "CODE_FOR_htm_mfspr_di", ":", "CODE_FOR_htm_mfspr_si", ";", "else", "return", "(", "TARGET_64BIT", ")", "?", "CODE_FOR_htm_mtspr_di", ":", "CODE_FOR_htm_mtspr_si", ";", "}", ""], "natrual_language": ["Return", "the", "correct", "ICODE", "value", "depending", "on", "whether", "we", "are", "setting", "or", "reading", "the", "HTM", "SPRs", "."], "TS_V_token": ["rs6000"], "File": "rs60004", "Func": "rs6000_htm_spr_icode", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9798, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "F2003fMCAsmStreamer", "::", "emitRawComment", "(", "const", "Twine", "&", "T", ",", "bool", "TabPrefix", ")", "{", "OS", "<<", "MAI", "->", "getCommentString", "(", ")", "<<", "T", ";", "EmitEOL", "(", ")", ";", "}", ""], "natrual_language": ["Print", "T", "and", "prefix", "it", "with", "the", "comment", "string", "(", "normally", "#", ")", "and", "optionally", "a", "tab", "."], "TS_V_token": ["F2003f", "F2003f"], "File": "F2003fMCAsmStreamer", "Func": "emitRawComment", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9799, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "ix86_mpx_bound_mode", "(", ")", "{", "if", "(", "!", "TARGET_MPX", ")", "{", "if", "(", "flag_check_pointer_bounds", ")", "warning", "(", "0", ",", "\"Pointer Checker requires MPX support on this target.\"", "\" Use -mmpx options to enable MPX.\"", ")", ";", "return", "VOIDmode", ";", "}", "return", "BNDmode", ";", "}", ""], "natrual_language": ["Return", "mode", "to", "be", "used", "for", "bounds", "or", "VOIDmode", "if", "bounds", "are", "not", "supported", "."], "TS_V_token": ["i386", "0", "\"Pointer Checker requires MPX support on this target.\"", "\" Use -mmpx options to enable MPX.\""], "File": "i3867", "Func": "ix86_mpx_bound_mode", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9800, "Length": 32, "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", ",", "SDLoc", "DL", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "MipsCC", "MipsCCInfo", "(", "CallConv", ",", "Subtarget", ",", "CCInfo", ")", ";", "MipsCCInfo", ".", "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", "=", "OutVals", "[", "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", "(", ")", ")", "{", "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", "(", ")", ")", ";", "unsigned", "V0", "=", "Subtarget", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "V0_64", ":", "Mips", "::", "V0", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "V0", ",", "Val", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "V0", ",", "getPointerTy", "(", ")", ")", ")", ";", "}", "RetOps", "[", "0", "]", "=", "Chain", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "RetOps", ".", "push_back", "(", "Flag", ")", ";", "return", "DAG", ".", "getNode", "(", "MipsISD", "::", "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": ["Mips", "Mips", "ISD::OutputArg", "16", "Mips", "Mips", "Mips", "4", "1", "0", "\"Can only return in registers!\"", "ISD::BITCAST", "1", "Mips", "Mips", "Mips", "Mips", "\"sret virtual register not created in the entry block\"", "Mips::V0_64", "Mips::V0", "1", "0", "MipsISD::Ret", "MVT::Other"], "File": "MipsISelLowering106", "Func": "LowerReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9801, "Length": 437, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isReg", "(", ")", "const", "{", "return", "Kind", "==", "Register", ";", "}", ""], "natrual_language": ["isReg", "-", "Is", "this", "a", "register", "operand", "?"], "TS_V_token": ["OR1K"], "File": "OR1KAsmParser", "Func": "isReg", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9802, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isFPImm", "(", ")", "const", "{", "return", "Kind", "==", "k_FPImm", "&&", "AArch64_AM", "::", "getFP64Imm", "(", "getFPImm", "(", ")", ".", "bitcastToAPInt", "(", ")", ")", "!=", "-", "1", ";", "}", ""], "natrual_language": ["isFPImm", "-", "Tests", "if", "this", "is", "a", "MO_FPImmediate", "operand", "."], "TS_V_token": ["AArch64", "AArch64_AM::getFP64Imm", "1"], "File": "AArch64AsmParser (2)2", "Func": "isFPImm", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9803, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "loongarch_output_probe_stack_range", "(", "rtx", "reg1", ",", "rtx", "reg2", ",", "rtx", "reg3", ")", "{", "static", "int", "labelno", "=", "0", ";", "char", "loop_lab", "[", "32", "]", ",", "tmp", "[", "64", "]", ";", "rtx", "xops", "[", "3", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "loop_lab", ",", "\"LPSRL\"", ",", "labelno", "++", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "loop_lab", ")", ";", "xops", "[", "0", "]", "=", "reg1", ";", "xops", "[", "2", "]", "=", "reg3", ";", "if", "(", "TARGET_64BIT", ")", "output_asm_insn", "(", "\"sub.d\\t%0,%0,%2\"", ",", "xops", ")", ";", "else", "output_asm_insn", "(", "\"sub.w\\t%0,%0,%2\"", ",", "xops", ")", ";", "xops", "[", "1", "]", "=", "reg2", ";", "strcpy", "(", "tmp", ",", "\"bne\\t%0,%1,\"", ")", ";", "if", "(", "TARGET_64BIT", ")", "output_asm_insn", "(", "\"st.d\\t$r0,%0,0\"", ",", "xops", ")", ";", "else", "output_asm_insn", "(", "\"st.w\\t$r0,%0,0\"", ",", "xops", ")", ";", "output_asm_insn", "(", "strcat", "(", "tmp", ",", "&", "loop_lab", "[", "1", "]", ")", ",", "xops", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Probe", "a", "range", "of", "stack", "addresses", "from", "REG1", "to", "REG2", "inclusive", ".", "These", "are", "absolute", "addresses", "."], "TS_V_token": ["loongarch", "0", "32", "64", "3", "\"LPSRL\"", "0", "2", "\"sub.d\\t%0,%0,%2\"", "\"sub.w\\t%0,%0,%2\"", "1", "\"bne\\t%0,%1,\"", "\"st.d\\t$r0,%0,0\"", "\"st.w\\t$r0,%0,0\"", "1", "\"\""], "File": "loongarch1", "Func": "loongarch_output_probe_stack_range", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9804, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "scalar_chain", "::", "add_insn", "(", "bitmap", "candidates", ",", "unsigned", "int", "insn_uid", ")", "{", "if", "(", "bitmap_bit_p", "(", "insns", ",", "insn_uid", ")", ")", "return", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\" Adding insn %d to chain #%d\\n\"", ",", "insn_uid", ",", "chain_id", ")", ";", "bitmap_set_bit", "(", "insns", ",", "insn_uid", ")", ";", "rtx_insn", "*", "insn", "=", "DF_INSN_UID_GET", "(", "insn_uid", ")", "->", "insn", ";", "rtx", "def_set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "def_set", "&&", "REG_P", "(", "SET_DEST", "(", "def_set", ")", ")", "&&", "!", "HARD_REGISTER_P", "(", "SET_DEST", "(", "def_set", ")", ")", ")", "bitmap_set_bit", "(", "defs", ",", "REGNO", "(", "SET_DEST", "(", "def_set", ")", ")", ")", ";", "df_ref", "ref", ";", "df_ref", "def", ";", "for", "(", "ref", "=", "DF_INSN_UID_DEFS", "(", "insn_uid", ")", ";", "ref", ";", "ref", "=", "DF_REF_NEXT_LOC", "(", "ref", ")", ")", "if", "(", "!", "HARD_REGISTER_P", "(", "DF_REF_REG", "(", "ref", ")", ")", ")", "for", "(", "def", "=", "DF_REG_DEF_CHAIN", "(", "DF_REF_REGNO", "(", "ref", ")", ")", ";", "def", ";", "def", "=", "DF_REF_NEXT_REG", "(", "def", ")", ")", "analyze_register_chain", "(", "candidates", ",", "def", ")", ";", "for", "(", "ref", "=", "DF_INSN_UID_USES", "(", "insn_uid", ")", ";", "ref", ";", "ref", "=", "DF_REF_NEXT_LOC", "(", "ref", ")", ")", "if", "(", "!", "DF_REF_REG_MEM_P", "(", "ref", ")", ")", "analyze_register_chain", "(", "candidates", ",", "ref", ")", ";", "}", ""], "natrual_language": ["Add", "instruction", "into", "a", "chain", ".", "Return", "true", "if", "OK", ",", "false", "if", "the", "search", "was", "aborted", "."], "TS_V_token": ["i386", "\" Adding insn %d to chain #%d\\n\""], "File": "i3865", "Func": "add_insn", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9805, "Length": 196, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "counter_mode", "(", "rtx", "count_exp", ")", "{", "if", "(", "GET_MODE", "(", "count_exp", ")", "!=", "VOIDmode", ")", "return", "GET_MODE", "(", "count_exp", ")", ";", "if", "(", "!", "CONST_INT_P", "(", "count_exp", ")", ")", "return", "Pmode", ";", "if", "(", "TARGET_64BIT", "&&", "(", "INTVAL", "(", "count_exp", ")", "&", "~", "0xffffffff", ")", ")", "return", "DImode", ";", "return", "SImode", ";", "}", ""], "natrual_language": ["Return", "mode", "for", "the", "memcpy/memset", "loop", "counter", ".", "Prefer", "SImode", "over", "DImode", "for", "constant", "loop", "counts", "."], "TS_V_token": ["i386", "0xffffffff"], "File": "i386-expand", "Func": "counter_mode", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9806, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "rs6000_parm_offset", "(", "void", ")", "{", "return", "(", "DEFAULT_ABI", "==", "ABI_V4", "?", "2", ":", "DEFAULT_ABI", "==", "ABI_ELFv2", "?", "4", ":", "6", ")", ";", "}", ""], "natrual_language": ["The", "offset", "in", "words", "to", "the", "start", "of", "the", "parameter", "save", "area", "."], "TS_V_token": ["rs6000", "2", "4", "6"], "File": "rs6000-call", "Func": "rs6000_parm_offset", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9807, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_expand_vcond", "(", "rtx", "*", "operands", ",", "machine_mode", "cmp_result_mode", ")", "{", "rtx", "mask", "=", "gen_reg_rtx", "(", "cmp_result_mode", ")", ";", "bool", "inverted", "=", "arm_expand_vector_compare", "(", "mask", ",", "GET_CODE", "(", "operands", "[", "3", "]", ")", ",", "operands", "[", "4", "]", ",", "operands", "[", "5", "]", ",", "true", ")", ";", "if", "(", "inverted", ")", "std", "::", "swap", "(", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ";", "emit_insn", "(", "gen_neon_vbsl", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", ",", "operands", "[", "0", "]", ",", "mask", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "vcond", "or", "vcondu", "pattern", "with", "operands", "OPERANDS", ".", "CMP_RESULT_MODE", "is", "the", "mode", "of", "the", "comparison", "result", "."], "TS_V_token": ["arm", "3", "4", "5", "1", "2", "0", "0", "1", "2"], "File": "arm1", "Func": "arm_expand_vcond", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9808, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arm_expand_binop_builtin", "(", "enum", "insn_code", "icode", ",", "tree", "arglist", ",", "rtx", "target", ")", "{", "rtx", "pat", ";", "tree", "arg0", "=", "TREE_VALUE", "(", "arglist", ")", ";", "tree", "arg1", "=", "TREE_VALUE", "(", "TREE_CHAIN", "(", "arglist", ")", ")", ";", "rtx", "op0", "=", "expand_expr", "(", "arg0", ",", "NULL_RTX", ",", "VOIDmode", ",", "0", ")", ";", "rtx", "op1", "=", "expand_expr", "(", "arg1", ",", "NULL_RTX", ",", "VOIDmode", ",", "0", ")", ";", "enum", "machine_mode", "tmode", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "mode", ";", "enum", "machine_mode", "mode0", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "mode", ";", "enum", "machine_mode", "mode1", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "2", "]", ".", "mode", ";", "if", "(", "VECTOR_MODE_P", "(", "mode0", ")", ")", "op0", "=", "safe_vector_operand", "(", "op0", ",", "mode0", ")", ";", "if", "(", "VECTOR_MODE_P", "(", "mode1", ")", ")", "op1", "=", "safe_vector_operand", "(", "op1", ",", "mode1", ")", ";", "if", "(", "!", "target", "||", "GET_MODE", "(", "target", ")", "!=", "tmode", "||", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "predicate", ")", "(", "target", ",", "tmode", ")", ")", "target", "=", "gen_reg_rtx", "(", "tmode", ")", ";", "gcc_assert", "(", "GET_MODE", "(", "op0", ")", "==", "mode0", "&&", "GET_MODE", "(", "op1", ")", "==", "mode1", ")", ";", "if", "(", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "predicate", ")", "(", "op0", ",", "mode0", ")", ")", "op0", "=", "copy_to_mode_reg", "(", "mode0", ",", "op0", ")", ";", "if", "(", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "2", "]", ".", "predicate", ")", "(", "op1", ",", "mode1", ")", ")", "op1", "=", "copy_to_mode_reg", "(", "mode1", ",", "op1", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op0", ",", "op1", ")", ";", "if", "(", "!", "pat", ")", "return", "0", ";", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Subroutine", "of", "arm_expand_builtin", "to", "take", "care", "of", "binop", "insns", "."], "TS_V_token": ["arm", "0", "0", "0", "1", "2", "0", "1", "2", "0"], "File": "arm3", "Func": "arm_expand_binop_builtin", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9809, "Length": 297, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "char", "*", "make_name", "(", "tree", "decl", ",", "const", "char", "*", "suffix", ",", "bool", "make_unique", ")", "{", "char", "*", "global_var_name", ";", "int", "name_len", ";", "const", "char", "*", "name", ";", "const", "char", "*", "unique_name", "=", "NULL", ";", "name", "=", "IDENTIFIER_POINTER", "(", "DECL_ASSEMBLER_NAME", "(", "decl", ")", ")", ";", "if", "(", "make_unique", ")", "unique_name", "=", "IDENTIFIER_POINTER", "(", "get_file_function_name", "(", "\"\\0\"", ")", ")", ";", "name_len", "=", "strlen", "(", "name", ")", "+", "strlen", "(", "suffix", ")", "+", "2", ";", "if", "(", "make_unique", ")", "name_len", "+=", "strlen", "(", "unique_name", ")", "+", "1", ";", "global_var_name", "=", "XNEWVEC", "(", "char", ",", "name_len", ")", ";", "if", "(", "make_unique", ")", "snprintf", "(", "global_var_name", ",", "name_len", ",", "\"%s.%s.%s\"", ",", "name", ",", "unique_name", ",", "suffix", ")", ";", "else", "snprintf", "(", "global_var_name", ",", "name_len", ",", "\"%s.%s\"", ",", "name", ",", "suffix", ")", ";", "return", "global_var_name", ";", "}", ""], "natrual_language": ["Return", "a", "new", "name", "by", "appending", "SUFFIX", "to", "the", "DECL", "name", ".", "If", "make_unique", "is", "true", ",", "append", "the", "full", "path", "name", "of", "the", "source", "file", "."], "TS_V_token": ["i386", "\"\\0\"", "2", "1", "\"%s.%s.%s\"", "\"%s.%s\""], "File": "i3864", "Func": "make_name", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9810, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "resolveFrameIndex", "(", "MachineInstr", "&", "MI", ",", "unsigned", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "ARMBaseInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "int", "Off", "=", "Offset", ";", "unsigned", "i", "=", "0", ";", "assert", "(", "!", "AFI", "->", "isThumb1OnlyFunction", "(", ")", "&&", "\"This resolveFrameIndex does not support Thumb1!\"", ")", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "bool", "Done", "=", "false", ";", "if", "(", "!", "AFI", "->", "isThumbFunction", "(", ")", ")", "Done", "=", "rewriteARMFrameIndex", "(", "MI", ",", "i", ",", "BaseReg", ",", "Off", ",", "TII", ")", ";", "else", "{", "assert", "(", "AFI", "->", "isThumb2Function", "(", ")", ")", ";", "Done", "=", "rewriteT2FrameIndex", "(", "MI", ",", "i", ",", "BaseReg", ",", "Off", ",", "TII", ",", "this", ")", ";", "}", "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", "ARM", "0", "\"This resolveFrameIndex does not support Thumb1!\"", "\"Instr doesn't have FrameIndex operand!\"", "ARM", "\"Unable to resolve frame index!\""], "File": "ARMBaseRegisterInfo17", "Func": "resolveFrameIndex", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9811, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "IsEligibleForTailCallOptimization", "(", "SDValue", "Callee", ",", "CallingConv", "::", "ID", "CalleeCC", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "!", "getTargetMachine", "(", ")", ".", "Options", ".", "GuaranteedTailCallOpt", ")", "return", "false", ";", "if", "(", "isVarArg", ")", "return", "false", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "CallingConv", "::", "ID", "CallerCC", "=", "MF", ".", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", ";", "if", "(", "CalleeCC", "==", "CallingConv", "::", "Fast", "&&", "CallerCC", "==", "CalleeCC", ")", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "Ins", ".", "size", "(", ")", ";", "i", "++", ")", "{", "ISD", "::", "ArgFlagsTy", "Flags", "=", "Ins", "[", "i", "]", ".", "Flags", ";", "if", "(", "Flags", ".", "isByVal", "(", ")", ")", "return", "false", ";", "}", "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", "ISD::InputArg", "0", "ISD::ArgFlagsTy"], "File": "PPCISelLowering (2)", "Func": "IsEligibleForTailCallOptimization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9812, "Length": 191, "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": 9813, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "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", ")", ";", "InstructionCost", "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", "<", "InstructionCost", ">", "(", "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": "AArch64TargetTransformInfo", "Func": "getIntImmCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9814, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "initial_elimination_offset", "(", "int", "from", ",", "int", "to", ")", "{", "int", "regs_saved", ";", "int", "regs_saved_rounding", "=", "0", ";", "int", "total_saved_regs_space", ";", "int", "total_auto_space", ";", "int", "save_flags", "=", "target_flags", ";", "int", "copy_flags", ";", "HARD_REG_SET", "live_regs_mask", ";", "shmedia_space_reserved_for_target_registers", "=", "false", ";", "regs_saved", "=", "calc_live_regs", "(", "&", "live_regs_mask", ")", ";", "regs_saved", "+=", "SHMEDIA_REGS_STACK_ADJUST", "(", ")", ";", "if", "(", "shmedia_reserve_space_for_target_registers_p", "(", "regs_saved", ",", "&", "live_regs_mask", ")", ")", "{", "shmedia_space_reserved_for_target_registers", "=", "true", ";", "regs_saved", "+=", "shmedia_target_regs_stack_adjust", "(", "&", "live_regs_mask", ")", ";", "}", "if", "(", "TARGET_SH5", "&&", "regs_saved", "%", "(", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ")", ")", "regs_saved_rounding", "=", "(", "(", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ")", "-", "regs_saved", "%", "(", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ")", ")", ";", "total_auto_space", "=", "rounded_frame_size", "(", "regs_saved", ")", "-", "regs_saved_rounding", ";", "copy_flags", "=", "target_flags", ";", "target_flags", "=", "save_flags", ";", "total_saved_regs_space", "=", "regs_saved", "+", "regs_saved_rounding", ";", "if", "(", "from", "==", "ARG_POINTER_REGNUM", "&&", "to", "==", "HARD_FRAME_POINTER_REGNUM", ")", "return", "total_saved_regs_space", "+", "total_auto_space", "+", "current_function_args_info", ".", "byref_regs", "*", "8", ";", "if", "(", "from", "==", "ARG_POINTER_REGNUM", "&&", "to", "==", "STACK_POINTER_REGNUM", ")", "return", "total_saved_regs_space", "+", "total_auto_space", "+", "current_function_args_info", ".", "byref_regs", "*", "8", ";", "if", "(", "from", "==", "HARD_FRAME_POINTER_REGNUM", "&&", "to", "==", "STACK_POINTER_REGNUM", ")", "return", "0", ";", "if", "(", "from", "==", "FRAME_POINTER_REGNUM", "&&", "to", "==", "STACK_POINTER_REGNUM", ")", "return", "rounded_frame_size", "(", "0", ")", ";", "if", "(", "from", "==", "FRAME_POINTER_REGNUM", "&&", "to", "==", "HARD_FRAME_POINTER_REGNUM", ")", "return", "rounded_frame_size", "(", "0", ")", ";", "gcc_assert", "(", "from", "==", "RETURN_ADDRESS_POINTER_REGNUM", "&&", "(", "to", "==", "HARD_FRAME_POINTER_REGNUM", "||", "to", "==", "STACK_POINTER_REGNUM", ")", ")", ";", "if", "(", "TARGET_SH5", ")", "{", "int", "n", "=", "total_saved_regs_space", ";", "int", "pr_reg", "=", "TARGET_SHMEDIA", "?", "PR_MEDIA_REG", ":", "PR_REG", ";", "save_schedule", "schedule", ";", "save_entry", "*", "entry", ";", "n", "+=", "total_auto_space", ";", "if", "(", "!", "TEST_HARD_REG_BIT", "(", "live_regs_mask", ",", "pr_reg", ")", ")", "return", "n", ";", "target_flags", "=", "copy_flags", ";", "sh5_schedule_saves", "(", "&", "live_regs_mask", ",", "&", "schedule", ",", "n", ")", ";", "for", "(", "entry", "=", "&", "schedule", ".", "entries", "[", "1", "]", ";", "entry", "->", "mode", "!=", "VOIDmode", ";", "entry", "++", ")", "if", "(", "entry", "->", "reg", "==", "pr_reg", ")", "{", "target_flags", "=", "save_flags", ";", "return", "entry", "->", "offset", ";", "}", "gcc_unreachable", "(", ")", ";", "}", "else", "return", "total_auto_space", ";", "}", ""], "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": ["sh", "0", "8", "8", "0", "0", "0", "1"], "File": "sh3", "Func": "initial_elimination_offset", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9815, "Length": 342, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "int", "extract_17", "(", "unsigned", "word", ")", "{", "return", "sign_extend", "(", "GET_FIELD", "(", "word", ",", "19", ",", "28", ")", "|", "GET_FIELD", "(", "word", ",", "29", ",", "29", ")", "<<", "10", "|", "GET_FIELD", "(", "word", ",", "11", ",", "15", ")", "<<", "11", "|", "(", "word", "&", "0x1", ")", "<<", "16", ",", "17", ")", ";", "}", ""], "natrual_language": ["Extract", "a", "17-bit", "signed", "constant", "from", "branch", "instructions", "."], "TS_V_token": ["pa", "19", "28", "29", "29", "10", "11", "15", "11", "0x1", "16", "17"], "File": "hpux-unwind", "Func": "extract_17", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9816, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ReplaceFMULS", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "SparcSubtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "Subtarget", "->", "getInstrInfo", "(", ")", ";", "DebugLoc", "DL", "=", "DebugLoc", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "auto", "MFI", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "MFI", "!=", "E", ";", "++", "MFI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MFI", ";", "for", "(", "auto", "MBBI", "=", "MBB", ".", "begin", "(", ")", ",", "E", "=", "MBB", ".", "end", "(", ")", ";", "MBBI", "!=", "E", ";", "++", "MBBI", ")", "{", "MachineInstr", "&", "MI", "=", "*", "MBBI", ";", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "const", "int", "UNASSIGNED_INDEX", "=", "-", "1", ";", "int", "Reg1Index", "=", "UNASSIGNED_INDEX", ";", "int", "Reg2Index", "=", "UNASSIGNED_INDEX", ";", "int", "Reg3Index", "=", "UNASSIGNED_INDEX", ";", "if", "(", "Opcode", "==", "SP", "::", "FMULS", "&&", "MI", ".", "getNumOperands", "(", ")", "==", "3", ")", "{", "Reg1Index", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "Reg2Index", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "Reg3Index", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "}", "if", "(", "Reg1Index", "!=", "UNASSIGNED_INDEX", "&&", "Reg2Index", "!=", "UNASSIGNED_INDEX", "&&", "Reg3Index", "!=", "UNASSIGNED_INDEX", ")", "{", "clearUsedRegisterList", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "NMBBI", "=", "std", "::", "next", "(", "MBBI", ")", ";", "markRegisterUsed", "(", "Reg3Index", ")", ";", "const", "int", "ScratchReg1Index", "=", "getUnusedFPRegister", "(", "MF", ".", "getRegInfo", "(", ")", ")", ";", "markRegisterUsed", "(", "ScratchReg1Index", ")", ";", "const", "int", "ScratchReg2Index", "=", "getUnusedFPRegister", "(", "MF", ".", "getRegInfo", "(", ")", ")", ";", "markRegisterUsed", "(", "ScratchReg2Index", ")", ";", "if", "(", "ScratchReg1Index", "==", "UNASSIGNED_INDEX", "||", "ScratchReg2Index", "==", "UNASSIGNED_INDEX", ")", "{", "errs", "(", ")", "<<", "\"Cannot allocate free scratch registers for the \"", "\"ReplaceFMULS pass.\"", "<<", "\"\\n\"", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "SP", "::", "FSTOD", ")", ")", ".", "addReg", "(", "ScratchReg1Index", ")", ".", "addReg", "(", "Reg1Index", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "SP", "::", "FSTOD", ")", ")", ".", "addReg", "(", "ScratchReg2Index", ")", ".", "addReg", "(", "Reg2Index", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "SP", "::", "FMULD", ")", ")", ".", "addReg", "(", "Reg3Index", ")", ".", "addReg", "(", "ScratchReg1Index", ")", ".", "addReg", "(", "ScratchReg2Index", ")", ";", "MI", ".", "eraseFromParent", "(", ")", ";", "MBBI", "=", "NMBBI", ";", "Modified", "=", "true", ";", "}", "}", "}", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Sparc", "Sparc", "1", "SP::FMULS", "3", "0", "1", "2", "\"Cannot allocate free scratch registers for the \"", "\"ReplaceFMULS pass.\"", "\"\\n\"", "SP::FSTOD", "SP::FSTOD", "SP::FMULD"], "File": "LeonPasses5", "Func": "runOnMachineFunction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9817, "Length": 408, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb1RegisterInfo", "::", "resolveFrameIndex", "(", "MachineInstr", "&", "MI", ",", "unsigned", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "const", "ARMBaseInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getTarget", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "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", "0", "\"Instr doesn't have FrameIndex operand!\"", "\"Unable to resolve frame index!\""], "File": "Thumb1RegisterInfo14", "Func": "resolveFrameIndex", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9818, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_check_avx_upper_register", "(", "const_rtx", "exp", ")", "{", "return", "(", "SSE_REG_P", "(", "exp", ")", "&&", "!", "EXT_REX_SSE_REG_P", "(", "exp", ")", "&&", "GET_MODE_BITSIZE", "(", "GET_MODE", "(", "exp", ")", ")", ">", "128", ")", ";", "}", ""], "natrual_language": ["Check", "if", "a", "256bit", "or", "512", "bit", "AVX", "register", "is", "referenced", "inside", "of", "EXP", "."], "TS_V_token": ["i386", "128"], "File": "i386", "Func": "ix86_check_avx_upper_register", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9819, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "getSubRegIndex", "(", "const", "TargetRegisterClass", "*", "RC", ")", "{", "unsigned", "SubIdx", "=", "X86", "::", "NoSubRegister", ";", "if", "(", "RC", "==", "&", "X86", "::", "GR32RegClass", ")", "{", "SubIdx", "=", "X86", "::", "sub_32bit", ";", "}", "else", "if", "(", "RC", "==", "&", "X86", "::", "GR16RegClass", ")", "{", "SubIdx", "=", "X86", "::", "sub_16bit", ";", "}", "else", "if", "(", "RC", "==", "&", "X86", "::", "GR8RegClass", ")", "{", "SubIdx", "=", "X86", "::", "sub_8bit", ";", "}", "return", "SubIdx", ";", "}", ""], "natrual_language": ["Check", "if", "the", "given", "identifier", "is", "a", "name", "of", "a", "subregister", "index", "."], "TS_V_token": ["X86", "X86::NoSubRegister", "X86::GR32RegClass", "X86::sub_32bit", "X86::GR16RegClass", "X86::sub_16bit", "X86::GR8RegClass", "X86::sub_8bit"], "File": "X86InstructionSelector", "Func": "getSubRegIndex", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9820, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "std", "::", "ostream", "*", "O", ")", "const", "{", "if", "(", "O", ")", "print", "(", "*", "O", ")", ";", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["ARM"], "File": "ARMConstantPoolValue13", "Func": "print", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9821, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isLdStPairSuppressed", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "return", "any_of", "(", "MI", ".", "memoperands", "(", ")", ",", "[", "]", "(", "MachineMemOperand", "*", "MMO", ")", "{", "return", "MMO", "->", "getFlags", "(", ")", "&", "MOSuppressPair", ";", "}", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "pairing", "the", "given", "load", "or", "store", "is", "hinted", "to", "be", "unprofitable", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64InstrInfo12", "Func": "isLdStPairSuppressed", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9822, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "loongarch_print_operand_punctuation", "(", "FILE", "*", "file", ",", "int", "ch", ")", "{", "switch", "(", "ch", ")", "{", "case", "'.'", ":", "fputs", "(", "reg_names", "[", "GP_REG_FIRST", "+", "0", "]", ",", "file", ")", ";", "break", ";", "case", "'$'", ":", "fputs", "(", "reg_names", "[", "STACK_POINTER_REGNUM", "]", ",", "file", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Print", "the", "text", "for", "PRINT_OPERAND", "punctation", "character", "CH", "to", "FILE", ".", "The", "punctuation", "characters", "are", ":", "'", ".", "'", "Print", "the", "name", "of", "the", "register", "with", "a", "hard-wired", "zero", "(", "zero", "or", "$", "r0", ")", ".", "'", "$", "'", "Print", "the", "name", "of", "the", "stack", "pointer", "register", "(", "sp", "or", "$", "r3", ")", ".", "See", "also", "loongarch_init_print_operand_punct", "."], "TS_V_token": ["loongarch", "0"], "File": "loongarch", "Func": "loongarch_print_operand_punctuation", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9823, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "Operands", ".", "push_back", "(", "SystemZOperand", "::", "createToken", "(", "Name", ",", "NameLoc", ")", ")", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "parseOperand", "(", "Operands", ",", "Name", ")", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "true", ";", "}", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "parseOperand", "(", "Operands", ",", "Name", ")", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "true", ";", "}", "}", "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": ["SystemZ", "SystemZ", "SystemZ", "\"unexpected token in argument list\""], "File": "SystemZAsmParser (2)", "Func": "ParseInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9824, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "OptimizeLEAPass", "::", "isReplaceable", "(", "const", "MachineInstr", "&", "First", ",", "const", "MachineInstr", "&", "Last", ",", "int64_t", "&", "AddrDispShift", ")", "const", "{", "assert", "(", "isLEA", "(", "First", ")", "&&", "isLEA", "(", "Last", ")", "&&", "\"The function works only with LEA instructions\"", ")", ";", "AddrDispShift", "=", "getAddrDispShift", "(", "Last", ",", "1", ",", "First", ",", "1", ")", ";", "if", "(", "MRI", "->", "getRegClass", "(", "First", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", "!=", "MRI", "->", "getRegClass", "(", "Last", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", "return", "false", ";", "for", "(", "auto", "&", "MO", ":", "MRI", "->", "use_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", "\"The function works only with LEA instructions\"", "1", "1", "0", "0", "0", "X86II::getMemoryOperandNo", "0", "X86II::getOperandBias", "X86::AddrBaseReg", "0", "X86::AddrBaseReg", "X86::AddrDisp", "32", "X86::AddrDisp"], "File": "X86OptimizeLEAs12", "Func": "isReplaceable", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9825, "Length": 280, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "(", "MI", "->", "getOpcode", "(", ")", "==", "Mips", "::", "SW", ")", "||", "(", "MI", "->", "getOpcode", "(", ")", "==", "Mips", "::", "SWC1", ")", "||", "(", "MI", "->", "getOpcode", "(", ")", "==", "Mips", "::", "SDC1", ")", ")", "{", "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": ["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::SWC1", "Mips::SDC1", "2", "1", "1", "2", "0", "0"], "File": "MipsInstrInfo15", "Func": "isStoreToStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9826, "Length": 127, "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", ")", ";", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", "->", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Desc", ".", "getNumOperands", "(", ")", ";", "i", "++", ")", "{", "if", "(", "Desc", ".", "OpInfo", "[", "i", "]", ".", "OperandType", "==", "MCOI", "::", "OPERAND_REGISTER", ")", "{", "switch", "(", "Desc", ".", "OpInfo", "[", "i", "]", ".", "RegClass", ")", "{", "default", ":", "break", ";", "case", "AArch64", "::", "MPRRegClassID", ":", "MI", ".", "insert", "(", "MI", ".", "begin", "(", ")", "+", "i", ",", "MCOperand", "::", "createReg", "(", "AArch64", "::", "ZA", ")", ")", ";", "break", ";", "case", "AArch64", "::", "MPR8RegClassID", ":", "MI", ".", "insert", "(", "MI", ".", "begin", "(", ")", "+", "i", ",", "MCOperand", "::", "createReg", "(", "AArch64", "::", "ZAB0", ")", ")", ";", "break", ";", "}", "}", "else", "if", "(", "Desc", ".", "OpInfo", "[", "i", "]", ".", "OperandType", "==", "AArch64", "::", "OPERAND_IMPLICIT_IMM_0", ")", "{", "MI", ".", "insert", "(", "MI", ".", "begin", "(", ")", "+", "i", ",", "MCOperand", "::", "createImm", "(", "0", ")", ")", ";", "}", "}", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "LDR_ZA", "||", "MI", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "STR_ZA", ")", "{", "const", "MCOperand", "&", "Imm4Op", "=", "MI", ".", "getOperand", "(", "2", ")", ";", "assert", "(", "Imm4Op", ".", "isImm", "(", ")", "&&", "\"Unexpected operand type!\"", ")", ";", "MI", ".", "addOperand", "(", "Imm4Op", ")", ";", "}", "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", "0", "AArch64::MPRRegClassID", "AArch64::ZA", "AArch64::MPR8RegClassID", "AArch64::ZAB0", "AArch64::OPERAND_IMPLICIT_IMM_0", "0", "AArch64::LDR_ZA", "AArch64::STR_ZA", "2", "\"Unexpected operand type!\""], "File": "AArch64Disassembler33", "Func": "getInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9827, "Length": 370, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "X86DAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "unsigned", "GlobalBaseReg", "=", "getInstrInfo", "(", ")", "->", "getGlobalBaseReg", "(", "MF", ")", ";", "return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "TLI", ".", "getPointerTy", "(", ")", ")", ".", "getNode", "(", ")", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelDAGToDAG103", "Func": "getGlobalBaseReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9828, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_can_change_mode_class", "(", "machine_mode", "from", ",", "machine_mode", "to", ",", "reg_class_t", "regclass", ")", "{", "if", "(", "from", "==", "to", ")", "return", "true", ";", "if", "(", "MAYBE_FLOAT_CLASS_P", "(", "regclass", ")", ")", "return", "false", ";", "if", "(", "MAYBE_SSE_CLASS_P", "(", "regclass", ")", "||", "MAYBE_MMX_CLASS_P", "(", "regclass", ")", ")", "{", "int", "mov_size", "=", "MAYBE_SSE_CLASS_P", "(", "regclass", ")", "&&", "TARGET_SSE2", "?", "2", ":", "4", ";", "if", "(", "GET_MODE_SIZE", "(", "from", ")", "<", "mov_size", "||", "GET_MODE_SIZE", "(", "to", ")", "<", "mov_size", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CAN_CHANGE_MODE_CLASS", "."], "TS_V_token": ["i386", "2", "4"], "File": "i3861", "Func": "ix86_can_change_mode_class", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9829, "Length": 84, "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", ")", ";", "case", "CallingConv", "::", "GHC", ":", "if", "(", "Return", ")", "llvm_unreachable", "(", "\"Can't return in GHC call convention\"", ")", ";", "else", "return", "CC_ARM_APCS_GHC", ";", "}", "}", ""], "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", "\"Can't return in GHC call convention\"", "ARM"], "File": "ARMFastISel77", "Func": "CCAssignFnForCall", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9830, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mmix_asm_output_ascii", "(", "FILE", "*", "stream", ",", "const", "char", "*", "string", ",", "int", "length", ")", "{", "while", "(", "length", ">", "0", ")", "{", "int", "chunk_size", "=", "length", ">", "60", "?", "60", ":", "length", ";", "fprintf", "(", "stream", ",", "\"\\tBYTE \"", ")", ";", "mmix_output_quoted_string", "(", "stream", ",", "string", ",", "chunk_size", ")", ";", "string", "+=", "chunk_size", ";", "length", "-=", "chunk_size", ";", "fprintf", "(", "stream", ",", "\"\\n\"", ")", ";", "}", "}", ""], "natrual_language": ["ASM_OUTPUT_ASCII", "."], "TS_V_token": ["mmix", "0", "60", "60", "\"\\tBYTE \"", "\"\\n\""], "File": "mmix", "Func": "mmix_asm_output_ascii", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9831, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isCommutativeBinOp", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "case", "X86ISD", "::", "PCMPEQ", ":", "case", "X86ISD", "::", "PMULDQ", ":", "case", "X86ISD", "::", "PMULUDQ", ":", "case", "X86ISD", "::", "FMAXC", ":", "case", "X86ISD", "::", "FMINC", ":", "case", "X86ISD", "::", "FAND", ":", "case", "X86ISD", "::", "FOR", ":", "case", "X86ISD", "::", "FXOR", ":", "return", "true", ";", "}", "return", "TargetLoweringBase", "::", "isCommutativeBinOp", "(", "Opcode", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "opcode", "is", "a", "commutative", "binary", "operation", "."], "TS_V_token": ["X86", "X86", "X86ISD::PCMPEQ", "X86ISD::PMULDQ", "X86ISD::PMULUDQ", "X86ISD::FMAXC", "X86ISD::FMINC", "X86ISD::FAND", "X86ISD::FOR", "X86ISD::FXOR"], "File": "X86ISelLowering (2)6", "Func": "isCommutativeBinOp", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9832, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "ARMBaseRegisterInfo", "::", "getCallPreservedMask", "(", "CallingConv", "::", "ID", ")", "const", "{", "return", "(", "STI", ".", "isTargetIOS", "(", ")", "&&", "!", "STI", ".", "isAAPCS_ABI", "(", ")", ")", "?", "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"], "File": "ARMBaseRegisterInfo21", "Func": "getCallPreservedMask", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9833, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "MipsTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'d'", ":", "case", "'y'", ":", "case", "'r'", ":", "if", "(", "VT", "==", "MVT", "::", "i32", "||", "VT", "==", "MVT", "::", "i16", "||", "VT", "==", "MVT", "::", "i8", ")", "{", "if", "(", "Subtarget", "->", "inMips16Mode", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "CPU16RegsRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "GPR32RegClass", ")", ";", "}", "if", "(", "VT", "==", "MVT", "::", "i64", "&&", "!", "HasMips64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "GPR32RegClass", ")", ";", "if", "(", "VT", "==", "MVT", "::", "i64", "&&", "HasMips64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "GPR64RegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0u", ",", "static_cast", "<", "const", "TargetRegisterClass", "*", ">", "(", "0", ")", ")", ";", "case", "'f'", ":", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "FGR32RegClass", ")", ";", "if", "(", "(", "VT", "==", "MVT", "::", "f64", ")", "&&", "(", "!", "Subtarget", "->", "isSingleFloat", "(", ")", ")", ")", "{", "if", "(", "Subtarget", "->", "isFP64bit", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "FGR64RegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "AFGR64RegClass", ")", ";", "}", "break", ";", "case", "'c'", ":", "if", "(", "VT", "==", "MVT", "::", "i32", ")", "return", "std", "::", "make_pair", "(", "(", "unsigned", ")", "Mips", "::", "T9", ",", "&", "Mips", "::", "GPR32RegClass", ")", ";", "assert", "(", "VT", "==", "MVT", "::", "i64", "&&", "\"Unexpected type.\"", ")", ";", "return", "std", "::", "make_pair", "(", "(", "unsigned", ")", "Mips", "::", "T9_64", ",", "&", "Mips", "::", "GPR64RegClass", ")", ";", "case", "'l'", ":", "if", "(", "VT", "==", "MVT", "::", "i32", ")", "return", "std", "::", "make_pair", "(", "(", "unsigned", ")", "Mips", "::", "LO0", ",", "&", "Mips", "::", "LO32RegClass", ")", ";", "return", "std", "::", "make_pair", "(", "(", "unsigned", ")", "Mips", "::", "LO0_64", ",", "&", "Mips", "::", "LO64RegClass", ")", ";", "case", "'x'", ":", "return", "std", "::", "make_pair", "(", "0u", ",", "static_cast", "<", "const", "TargetRegisterClass", "*", ">", "(", "0", ")", ")", ";", "}", "}", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "R", ";", "R", "=", "parseRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "if", "(", "R", ".", "second", ")", "return", "R", ";", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["Mips", "Mips", "1", "0", "MVT::i32", "MVT::i16", "MVT::i8", "Mips", "0U", "Mips::CPU16RegsRegClass", "0U", "Mips::GPR32RegClass", "MVT::i64", "Mips", "0U", "Mips::GPR32RegClass", "MVT::i64", "Mips", "0U", "Mips::GPR64RegClass", "0u", "0", "MVT::f32", "0U", "Mips::FGR32RegClass", "MVT::f64", "0U", "Mips::FGR64RegClass", "0U", "Mips::AFGR64RegClass", "MVT::i32", "Mips::T9", "Mips::GPR32RegClass", "MVT::i64", "\"Unexpected type.\"", "Mips::T9_64", "Mips::GPR64RegClass", "MVT::i32", "Mips::LO0", "Mips::LO32RegClass", "Mips::LO0_64", "Mips::LO64RegClass", "0u", "0"], "File": "MipsISelLowering19", "Func": "getRegForInlineAsmConstraint", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9834, "Length": 425, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_print_hint_for_core_or_arch", "(", "const", "char", "*", "str", ",", "bool", "arch", ")", "{", "auto_vec", "<", "const", "char", "*", ">", "candidates", ";", "const", "struct", "processor", "*", "entry", "=", "arch", "?", "all_architectures", ":", "all_cores", ";", "for", "(", ";", "entry", "->", "name", "!=", "NULL", ";", "entry", "++", ")", "candidates", ".", "safe_push", "(", "entry", "->", "name", ")", ";", "if", "(", "arch", ")", "candidates", ".", "safe_push", "(", "\"native\"", ")", ";", "char", "*", "s", ";", "const", "char", "*", "hint", "=", "candidates_list_and_hint", "(", "str", ",", "s", ",", "candidates", ")", ";", "if", "(", "hint", ")", "inform", "(", "input_location", ",", "\"valid arguments are: %s;\"", "\" did you mean %qs?\"", ",", "s", ",", "hint", ")", ";", "else", "inform", "(", "input_location", ",", "\"valid arguments are: %s\"", ",", "s", ")", ";", "XDELETEVEC", "(", "s", ")", ";", "}", ""], "natrual_language": ["Print", "a", "hint", "with", "a", "suggestion", "for", "a", "core", "or", "architecture", "name", "that", "most", "closely", "resembles", "what", "the", "user", "passed", "in", "STR", ".", "ARCH", "is", "true", "if", "the", "user", "is", "asking", "for", "an", "architecture", "name", ".", "ARCH", "is", "false", "if", "the", "user", "is", "asking", "for", "a", "core", "name", "."], "TS_V_token": ["aarch64", "\"native\"", "\"valid arguments are: %s;\"", "\" did you mean %qs?\"", "\"valid arguments are: %s\""], "File": "aarch64", "Func": "aarch64_print_hint_for_core_or_arch", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9835, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "vfp_emit_fstmx", "(", "int", "base_reg", ",", "int", "count", ")", "{", "rtx", "par", ";", "rtx", "dwarf", ";", "rtx", "tmp", ",", "reg", ";", "int", "i", ";", "if", "(", "count", "==", "2", "&&", "!", "arm_arch6", ")", "{", "if", "(", "base_reg", "==", "LAST_VFP_REGNUM", "-", "3", ")", "base_reg", "-=", "2", ";", "count", "++", ";", "}", "par", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "count", ")", ")", ";", "dwarf", "=", "gen_rtx_SEQUENCE", "(", "VOIDmode", ",", "rtvec_alloc", "(", "count", "+", "1", ")", ")", ";", "reg", "=", "gen_rtx_REG", "(", "DFmode", ",", "base_reg", ")", ";", "base_reg", "+=", "2", ";", "XVECEXP", "(", "par", ",", "0", ",", "0", ")", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_frame_mem", "(", "BLKmode", ",", "gen_rtx_PRE_DEC", "(", "BLKmode", ",", "stack_pointer_rtx", ")", ")", ",", "gen_rtx_UNSPEC", "(", "BLKmode", ",", "gen_rtvec", "(", "1", ",", "reg", ")", ",", "UNSPEC_PUSH_MULT", ")", ")", ";", "tmp", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "stack_pointer_rtx", ",", "gen_rtx_PLUS", "(", "SImode", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "(", "count", "*", "8", "+", "4", ")", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "tmp", ")", "=", "1", ";", "XVECEXP", "(", "dwarf", ",", "0", ",", "0", ")", "=", "tmp", ";", "tmp", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_frame_mem", "(", "DFmode", ",", "stack_pointer_rtx", ")", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "tmp", ")", "=", "1", ";", "XVECEXP", "(", "dwarf", ",", "0", ",", "1", ")", "=", "tmp", ";", "for", "(", "i", "=", "1", ";", "i", "<", "count", ";", "i", "++", ")", "{", "reg", "=", "gen_rtx_REG", "(", "DFmode", ",", "base_reg", ")", ";", "base_reg", "+=", "2", ";", "XVECEXP", "(", "par", ",", "0", ",", "i", ")", "=", "gen_rtx_USE", "(", "VOIDmode", ",", "reg", ")", ";", "tmp", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_frame_mem", "(", "DFmode", ",", "gen_rtx_PLUS", "(", "SImode", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "i", "*", "8", ")", ")", ")", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "tmp", ")", "=", "1", ";", "XVECEXP", "(", "dwarf", ",", "0", ",", "i", "+", "1", ")", "=", "tmp", ";", "}", "par", "=", "emit_insn", "(", "par", ")", ";", "REG_NOTES", "(", "par", ")", "=", "gen_rtx_EXPR_LIST", "(", "REG_FRAME_RELATED_EXPR", ",", "dwarf", ",", "REG_NOTES", "(", "par", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "par", ")", "=", "1", ";", "return", "count", "*", "8", "+", "4", ";", "}", ""], "natrual_language": ["Emit", "RTL", "to", "save", "block", "of", "VFP", "register", "pairs", "to", "the", "stack", ".", "Returns", "the", "number", "of", "bytes", "pushed", "."], "TS_V_token": ["arm", "2", "3", "2", "1", "2", "0", "0", "1", "8", "4", "1", "0", "0", "1", "0", "1", "1", "2", "0", "8", "1", "0", "1", "1", "8", "4"], "File": "arm3", "Func": "vfp_emit_fstmx", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9836, "Length": 341, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_debugger_arg_offset", "(", "int", "value", ",", "rtx", "addr", ")", "{", "rtx_insn", "*", "insn", ";", "if", "(", "value", "!=", "0", ")", "return", "0", ";", "if", "(", "!", "REG_P", "(", "addr", ")", ")", "return", "0", ";", "if", "(", "REGNO", "(", "addr", ")", "==", "(", "unsigned", ")", "HARD_FRAME_POINTER_REGNUM", ")", "return", "0", ";", "if", "(", "(", "TARGET_THUMB", "||", "!", "frame_pointer_needed", ")", "&&", "REGNO", "(", "addr", ")", "==", "SP_REGNUM", ")", "return", "0", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "if", "(", "NONJUMP_INSN_P", "(", "insn", ")", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "SET", "&&", "REGNO", "(", "XEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ")", ")", "==", "REGNO", "(", "addr", ")", "&&", "GET_CODE", "(", "XEXP", "(", "PATTERN", "(", "insn", ")", ",", "1", ")", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "XEXP", "(", "PATTERN", "(", "insn", ")", ",", "1", ")", ",", "0", ")", ")", "&&", "REGNO", "(", "XEXP", "(", "XEXP", "(", "PATTERN", "(", "insn", ")", ",", "1", ")", ",", "0", ")", ")", "==", "(", "unsigned", ")", "HARD_FRAME_POINTER_REGNUM", "&&", "CONST_INT_P", "(", "XEXP", "(", "XEXP", "(", "PATTERN", "(", "insn", ")", ",", "1", ")", ",", "1", ")", ")", ")", "{", "value", "=", "INTVAL", "(", "XEXP", "(", "XEXP", "(", "PATTERN", "(", "insn", ")", ",", "1", ")", ",", "1", ")", ")", ";", "break", ";", "}", "}", "if", "(", "value", "==", "0", ")", "{", "debug_rtx", "(", "addr", ")", ";", "warning", "(", "0", ",", "\"unable to compute real location of stacked parameter\"", ")", ";", "value", "=", "8", ";", "}", "return", "value", ";", "}", ""], "natrual_language": ["Handle", "a", "special", "case", "when", "computing", "the", "offset", "of", "an", "argument", "from", "the", "frame", "pointer", "."], "TS_V_token": ["arm", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "0", "1", "1", "1", "1", "0", "0", "\"unable to compute real location of stacked parameter\"", "8"], "File": "arm", "Func": "arm_debugger_arg_offset", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9837, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "addIRTranslator", "(", ")", "{", "addPass", "(", "new", "IRTranslator", "(", ")", ")", ";", "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": ["X86", "X86"], "File": "X86TargetMachine101", "Func": "addIRTranslator", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9838, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_density_test", "(", "rs6000_cost_data", "*", "data", ")", "{", "const", "int", "DENSITY_PCT_THRESHOLD", "=", "85", ";", "const", "int", "DENSITY_SIZE_THRESHOLD", "=", "70", ";", "const", "int", "DENSITY_PENALTY", "=", "10", ";", "struct", "loop", "*", "loop", "=", "data", "->", "loop_info", ";", "basic_block", "*", "bbs", "=", "get_loop_body", "(", "loop", ")", ";", "int", "nbbs", "=", "loop", "->", "num_nodes", ";", "loop_vec_info", "loop_vinfo", "=", "loop_vec_info_for_loop", "(", "data", "->", "loop_info", ")", ";", "int", "vec_cost", "=", "data", "->", "cost", "[", "vect_body", "]", ",", "not_vec_cost", "=", "0", ";", "int", "i", ",", "density_pct", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nbbs", ";", "i", "++", ")", "{", "basic_block", "bb", "=", "bbs", "[", "i", "]", ";", "gimple_stmt_iterator", "gsi", ";", "for", "(", "gsi", "=", "gsi_start_bb", "(", "bb", ")", ";", "!", "gsi_end_p", "(", "gsi", ")", ";", "gsi_next", "(", "&", "gsi", ")", ")", "{", "gimple", "*", "stmt", "=", "gsi_stmt", "(", "gsi", ")", ";", "stmt_vec_info", "stmt_info", "=", "loop_vinfo", "->", "lookup_stmt", "(", "stmt", ")", ";", "if", "(", "!", "STMT_VINFO_RELEVANT_P", "(", "stmt_info", ")", "&&", "!", "STMT_VINFO_IN_PATTERN_P", "(", "stmt_info", ")", ")", "not_vec_cost", "++", ";", "}", "}", "free", "(", "bbs", ")", ";", "density_pct", "=", "(", "vec_cost", "*", "100", ")", "/", "(", "vec_cost", "+", "not_vec_cost", ")", ";", "if", "(", "density_pct", ">", "DENSITY_PCT_THRESHOLD", "&&", "vec_cost", "+", "not_vec_cost", ">", "DENSITY_SIZE_THRESHOLD", ")", "{", "data", "->", "cost", "[", "vect_body", "]", "=", "vec_cost", "*", "(", "100", "+", "DENSITY_PENALTY", ")", "/", "100", ";", "if", "(", "dump_enabled_p", "(", ")", ")", "dump_printf_loc", "(", "MSG_NOTE", ",", "vect_location", ",", "\"density %d%%, cost %d exceeds threshold, penalizing \"", "\"loop body cost by %d%%\"", ",", "density_pct", ",", "vec_cost", "+", "not_vec_cost", ",", "DENSITY_PENALTY", ")", ";", "}", "}", ""], "natrual_language": ["Test", "for", "likely", "overcommitment", "of", "vector", "hardware", "resources", ".", "If", "a", "loop", "iteration", "is", "relatively", "large", ",", "and", "too", "large", "a", "percentage", "of", "instructions", "in", "the", "loop", "are", "vectorized", ",", "the", "cost", "model", "may", "not", "adequately", "reflect", "delays", "from", "unavailable", "vector", "resources", ".", "Penalize", "the", "loop", "body", "cost", "for", "this", "case", "."], "TS_V_token": ["rs6000", "85", "70", "10", "0", "0", "100", "100", "100", "\"density %d%%, cost %d exceeds threshold, penalizing \"", "\"loop body cost by %d%%\""], "File": "rs6000", "Func": "rs6000_density_test", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9839, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "set_rop_modrm_reg_bits", "(", "int", "base", ",", "HARD_REG_SET", "&", "in", ",", "HARD_REG_SET", "&", "out", ")", "{", "SET_HARD_REG_BIT", "(", "out", ",", "base", ")", ";", "SET_HARD_REG_BIT", "(", "out", ",", "base", "+", "1", ")", ";", "SET_HARD_REG_BIT", "(", "in", ",", "base", "+", "2", ")", ";", "SET_HARD_REG_BIT", "(", "in", ",", "base", "+", "3", ")", ";", "}", ""], "natrual_language": ["Given", "a", "register", "number", "BASE", ",", "the", "lowest", "of", "a", "group", "of", "registers", ",", "update", "regsets", "IN", "and", "OUT", "with", "the", "registers", "that", "should", "be", "avoided", "in", "input", "and", "output", "operands", "respectively", "when", "trying", "to", "avoid", "generating", "a", "modr/m", "byte", "for", "-mmitigate-rop", "."], "TS_V_token": ["i386", "1", "2", "3"], "File": "i3865", "Func": "set_rop_modrm_reg_bits", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9840, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "mips_multi_last_index", "(", "void", ")", "{", "return", "mips_multi_members", ".", "length", "(", ")", "-", "1", ";", "}", ""], "natrual_language": ["Return", "the", "index", "of", "the", "last", "member", "of", "the", "current", "multi-insn", "sequence", "."], "TS_V_token": ["mips", "1"], "File": "mips", "Func": "mips_multi_last_index", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9841, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SICInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "unsigned", "Opc", "=", "0", ";", "if", "(", "SIC", "::", "GPROutRegClass", ".", "contains", "(", "DestReg", ")", "&&", "SIC", "::", "GPROutRegClass", ".", "contains", "(", "SrcReg", ")", ")", "{", "Opc", "=", "SIC", "::", "RMO", ";", "}", "else", "if", "(", "SIC", "::", "GPROutRegClass", ".", "contains", "(", "DestReg", ")", "&&", "SIC", "::", "SW", "==", "SrcReg", ")", "{", "Opc", "=", "SIC", "::", "MVSW", ";", "}", "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": ["SIC", "SIC", "0", "SIC::GPROutRegClass", "SIC::GPROutRegClass", "SIC::RMO", "SIC::GPROutRegClass", "SIC::SW", "SIC::MVSW", "\"Cannot copy registers\""], "File": "SICInstrInfo", "Func": "copyPhysReg", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9842, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_fmadd_bypass", "(", "rtx_insn", "*", "out_insn", ",", "rtx_insn", "*", "in_insn", ")", "{", "int", "dst_reg", ",", "src_reg", ";", "gcc_assert", "(", "get_attr_type", "(", "in_insn", ")", "==", "TYPE_FMADD", ")", ";", "gcc_assert", "(", "get_attr_type", "(", "out_insn", ")", "==", "TYPE_FMADD", ")", ";", "extract_insn", "(", "in_insn", ")", ";", "dst_reg", "=", "REG_P", "(", "recog_data", ".", "operand", "[", "0", "]", ")", ";", "extract_insn", "(", "out_insn", ")", ";", "src_reg", "=", "REG_P", "(", "recog_data", ".", "operand", "[", "1", "]", ")", ";", "if", "(", "dst_reg", "==", "src_reg", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "destination", "of", "IN_INSN", "is", "used", "as", "add", "source", "in", "OUT_INSN", ".", "Both", "IN_INSN", "and", "OUT_INSN", "are", "of", "type", "fmadd", ".", "Example", ":", "madd.s", "dst", ",", "x", ",", "y", ",", "z", "madd.s", "a", ",", "dst", ",", "b", ",", "c"], "TS_V_token": ["mips", "0", "1"], "File": "mips", "Func": "mips_fmadd_bypass", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9843, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64TargetLowering", "::", "CanLowerReturn", "(", "CallingConv", "::", "ID", "CallConv", ",", "MachineFunction", "&", "MF", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "LLVMContext", "&", "Context", ")", "const", "{", "CCAssignFn", "*", "RetCC", "=", "CallConv", "==", "CallingConv", "::", "WebKit_JS", "?", "RetCC_ARM64_WebKit_JS", ":", "RetCC_ARM64_AAPCS", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "MF", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "Context", ")", ";", "return", "CCInfo", ".", "CheckReturn", "(", "Outs", ",", "RetCC", ")", ";", "}", ""], "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": ["ARM64", "ARM64", "ISD::OutputArg", "ARM64", "ARM64", "16"], "File": "ARM64ISelLowering", "Func": "CanLowerReturn", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9844, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_vms_init_libfuncs", "(", "void", ")", "{", "set_optab_libfunc", "(", "sdiv_optab", ",", "SImode", ",", "\"OTS$DIV_I\"", ")", ";", "set_optab_libfunc", "(", "sdiv_optab", ",", "DImode", ",", "\"OTS$DIV_L\"", ")", ";", "set_optab_libfunc", "(", "udiv_optab", ",", "SImode", ",", "\"OTS$DIV_UI\"", ")", ";", "set_optab_libfunc", "(", "udiv_optab", ",", "DImode", ",", "\"OTS$DIV_UL\"", ")", ";", "set_optab_libfunc", "(", "smod_optab", ",", "SImode", ",", "\"OTS$REM_I\"", ")", ";", "set_optab_libfunc", "(", "smod_optab", ",", "DImode", ",", "\"OTS$REM_L\"", ")", ";", "set_optab_libfunc", "(", "umod_optab", ",", "SImode", ",", "\"OTS$REM_UI\"", ")", ";", "set_optab_libfunc", "(", "umod_optab", ",", "DImode", ",", "\"OTS$REM_UL\"", ")", ";", "abort_libfunc", "=", "init_one_libfunc", "(", "\"decc$abort\"", ")", ";", "memcmp_libfunc", "=", "init_one_libfunc", "(", "\"decc$memcmp\"", ")", ";", "MEM_LIBFUNCS_INIT", ";", "}", ""], "natrual_language": ["Rename", "the", "division", "and", "modulus", "functions", "in", "VMS", "."], "TS_V_token": ["ia64", "\"OTS$DIV_I\"", "\"OTS$DIV_L\"", "\"OTS$DIV_UI\"", "\"OTS$DIV_UL\"", "\"OTS$REM_I\"", "\"OTS$REM_L\"", "\"OTS$REM_UI\"", "\"OTS$REM_UL\"", "\"decc$abort\"", "\"decc$memcmp\""], "File": "ia644", "Func": "ia64_vms_init_libfuncs", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9845, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "getHashValue", "(", "const", "MemOpKey", "&", "Val", ")", "{", "assert", "(", "Val", ".", "Disp", "!=", "PtrInfo", "::", "getEmptyKey", "(", ")", "&&", "\"Cannot hash the empty key\"", ")", ";", "assert", "(", "Val", ".", "Disp", "!=", "PtrInfo", "::", "getTombstoneKey", "(", ")", "&&", "\"Cannot hash the tombstone key\"", ")", ";", "hash_code", "Hash", "=", "hash_combine", "(", "*", "Val", ".", "Operands", "[", "0", "]", ",", "*", "Val", ".", "Operands", "[", "1", "]", ",", "*", "Val", ".", "Operands", "[", "2", "]", ",", "*", "Val", ".", "Operands", "[", "3", "]", ")", ";", "switch", "(", "Val", ".", "Disp", "->", "getType", "(", ")", ")", "{", "case", "MachineOperand", "::", "MO_Immediate", ":", "break", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "Hash", "=", "hash_combine", "(", "Hash", ",", "Val", ".", "Disp", "->", "getIndex", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "Hash", "=", "hash_combine", "(", "Hash", ",", "Val", ".", "Disp", "->", "getSymbolName", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "Hash", "=", "hash_combine", "(", "Hash", ",", "Val", ".", "Disp", "->", "getGlobal", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_BlockAddress", ":", "Hash", "=", "hash_combine", "(", "Hash", ",", "Val", ".", "Disp", "->", "getBlockAddress", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_MCSymbol", ":", "Hash", "=", "hash_combine", "(", "Hash", ",", "Val", ".", "Disp", "->", "getMCSymbol", "(", ")", ")", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Invalid address displacement operand\"", ")", ";", "}", "return", "(", "unsigned", ")", "Hash", ";", "}", ""], "natrual_language": ["Using", "name", "and", "line", "to", "get", "hash", "value", ".", "It", "should", "already", "be", "mostly", "unique", "."], "TS_V_token": ["X86", "\"Cannot hash the empty key\"", "\"Cannot hash the tombstone key\"", "0", "1", "2", "3", "\"Invalid address displacement operand\""], "File": "X86OptimizeLEAs1", "Func": "getHashValue", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9846, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "Cpu0TargetLowering", "*", "Cpu0TargetLowering", "::", "create", "(", "const", "Cpu0TargetMachine", "&", "TM", ",", "const", "Cpu0Subtarget", "&", "STI", ")", "{", "return", "createCpu0SETargetLowering", "(", "TM", ",", "STI", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0"], "File": "Cpu0ISelLowering4", "Func": "create", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9847, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mve_vector_mem_operand", "(", "machine_mode", "mode", ",", "rtx", "op", ",", "bool", "strict", ")", "{", "enum", "rtx_code", "code", ";", "int", "val", ",", "reg_no", ";", "if", "(", "REG_P", "(", "op", ")", ")", "{", "int", "reg_no", "=", "REGNO", "(", "op", ")", ";", "return", "(", "(", "(", "mode", "==", "E_V8QImode", "||", "mode", "==", "E_V4QImode", "||", "mode", "==", "E_V4HImode", ")", "?", "reg_no", "<=", "LAST_LO_REGNUM", ":", "(", "reg_no", "<", "LAST_ARM_REGNUM", "&&", "reg_no", "!=", "SP_REGNUM", ")", ")", "||", "(", "!", "strict", "&&", "reg_no", ">=", "FIRST_PSEUDO_REGISTER", ")", ")", ";", "}", "code", "=", "GET_CODE", "(", "op", ")", ";", "if", "(", "code", "==", "POST_INC", "||", "code", "==", "PRE_DEC", "||", "code", "==", "PRE_INC", "||", "code", "==", "POST_DEC", ")", "{", "reg_no", "=", "REGNO", "(", "XEXP", "(", "op", ",", "0", ")", ")", ";", "return", "(", "(", "mode", "==", "E_V8QImode", "||", "mode", "==", "E_V4QImode", "||", "mode", "==", "E_V4HImode", ")", "?", "reg_no", "<=", "LAST_LO_REGNUM", ":", "(", "reg_no", "<", "LAST_ARM_REGNUM", "&&", "reg_no", "!=", "SP_REGNUM", ")", ")", "||", "reg_no", ">=", "FIRST_PSEUDO_REGISTER", ";", "}", "else", "if", "(", "(", "(", "code", "==", "POST_MODIFY", "||", "code", "==", "PRE_MODIFY", ")", "&&", "GET_CODE", "(", "XEXP", "(", "op", ",", "1", ")", ")", "==", "PLUS", "&&", "XEXP", "(", "op", ",", "0", ")", "==", "XEXP", "(", "XEXP", "(", "op", ",", "1", ")", ",", "0", ")", "&&", "REG_P", "(", "XEXP", "(", "op", ",", "0", ")", ")", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "op", ",", "1", ")", ",", "1", ")", ")", "==", "CONST_INT", ")", "||", "(", "reload_completed", "&&", "code", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "op", ",", "0", ")", ")", "&&", "GET_CODE", "(", "XEXP", "(", "op", ",", "1", ")", ")", "==", "CONST_INT", ")", ")", "{", "reg_no", "=", "REGNO", "(", "XEXP", "(", "op", ",", "0", ")", ")", ";", "if", "(", "code", "==", "PLUS", ")", "val", "=", "INTVAL", "(", "XEXP", "(", "op", ",", "1", ")", ")", ";", "else", "val", "=", "INTVAL", "(", "XEXP", "(", "XEXP", "(", "op", ",", "1", ")", ",", "1", ")", ")", ";", "switch", "(", "mode", ")", "{", "case", "E_V16QImode", ":", "case", "E_V8QImode", ":", "case", "E_V4QImode", ":", "if", "(", "abs", "(", "val", ")", ">", "127", ")", "return", "FALSE", ";", "break", ";", "case", "E_V8HImode", ":", "case", "E_V8HFmode", ":", "case", "E_V4HImode", ":", "case", "E_V4HFmode", ":", "if", "(", "val", "%", "2", "!=", "0", "||", "abs", "(", "val", ")", ">", "254", ")", "return", "FALSE", ";", "break", ";", "case", "E_V4SImode", ":", "case", "E_V4SFmode", ":", "if", "(", "val", "%", "4", "!=", "0", "||", "abs", "(", "val", ")", ">", "508", ")", "return", "FALSE", ";", "break", ";", "default", ":", "return", "FALSE", ";", "}", "return", "reg_no", ">=", "FIRST_PSEUDO_REGISTER", "||", "(", "MVE_STN_LDW_MODE", "(", "mode", ")", "?", "reg_no", "<=", "LAST_LO_REGNUM", ":", "(", "reg_no", "<", "LAST_ARM_REGNUM", "&&", "reg_no", "!=", "SP_REGNUM", ")", ")", ";", "}", "return", "FALSE", ";", "}", ""], "natrual_language": ["This", "function", "returns", "TRUE", "on", "matching", "mode", "and", "op.1", ".", "For", "given", "modes", ",", "check", "for", "[", "Rn", "]", ",", "return", "TRUE", "for", "Rn", "<", "=", "LO_REGS.2", ".", "For", "other", "modes", ",", "check", "for", "[", "Rn", "]", ",", "return", "TRUE", "for", "Rn", "<", "R15", "(", "expect", "R13", ")", "."], "TS_V_token": ["arm", "0", "1", "0", "1", "0", "0", "1", "1", "0", "1", "0", "1", "1", "1", "127", "2", "0", "254", "4", "0", "508"], "File": "arm", "Func": "mve_vector_mem_operand", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9848, "Length": 430, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCAIXAsmPrinter", "::", "emitEndOfAsmFile", "(", "Module", "&", "M", ")", "{", "if", "(", "M", ".", "empty", "(", ")", "&&", "TOCDataGlobalVars", ".", "empty", "(", ")", ")", "return", ";", "emitPGORefs", "(", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "getObjFileLowering", "(", ")", ".", "getTOCBaseSection", "(", ")", ")", ";", "PPCTargetStreamer", "*", "TS", "=", "static_cast", "<", "PPCTargetStreamer", "*", ">", "(", "OutStreamer", "->", "getTargetStreamer", "(", ")", ")", ";", "for", "(", "auto", "&", "I", ":", "TOC", ")", "{", "MCSectionXCOFF", "*", "TCEntry", ";", "if", "(", "I", ".", "first", ".", "second", "==", "MCSymbolRefExpr", "::", "VariantKind", "::", "VK_PPC_AIX_TLSGDM", ")", "{", "SmallString", "<", "128", ">", "Name", ";", "StringRef", "Prefix", "=", "\".\"", ";", "Name", "+=", "Prefix", ";", "Name", "+=", "I", ".", "first", ".", "first", "->", "getName", "(", ")", ";", "MCSymbol", "*", "S", "=", "OutContext", ".", "getOrCreateSymbol", "(", "Name", ")", ";", "TCEntry", "=", "cast", "<", "MCSectionXCOFF", ">", "(", "getObjFileLowering", "(", ")", ".", "getSectionForTOCEntry", "(", "S", ",", "TM", ")", ")", ";", "}", "else", "{", "TCEntry", "=", "cast", "<", "MCSectionXCOFF", ">", "(", "getObjFileLowering", "(", ")", ".", "getSectionForTOCEntry", "(", "I", ".", "first", ".", "first", ",", "TM", ")", ")", ";", "}", "OutStreamer", "->", "SwitchSection", "(", "TCEntry", ")", ";", "OutStreamer", "->", "emitLabel", "(", "I", ".", "second", ")", ";", "if", "(", "TS", "!=", "nullptr", ")", "TS", "->", "emitTCEntry", "(", "*", "I", ".", "first", ".", "first", ",", "I", ".", "first", ".", "second", ")", ";", "}", "for", "(", "const", "auto", "*", "GV", ":", "TOCDataGlobalVars", ")", "emitGlobalVariableHelper", "(", "GV", ")", ";", "}", ""], "natrual_language": ["This", "virtual", "method", "can", "be", "overridden", "by", "targets", "that", "want", "to", "emit", "something", "at", "the", "end", "of", "their", "file", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "128", "\".\""], "File": "PPCAsmPrinter (2)3", "Func": "emitEndOfAsmFile", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9849, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "function_expander", "::", "add_integer_operand", "(", "HOST_WIDE_INT", "x", ")", "{", "m_ops", ".", "safe_grow", "(", "m_ops", ".", "length", "(", ")", "+", "1", ")", ";", "create_integer_operand", "(", "&", "m_ops", ".", "last", "(", ")", ",", "x", ")", ";", "}", ""], "natrual_language": ["Add", "an", "integer", "operand", "X", "."], "TS_V_token": ["aarch64", "1"], "File": "aarch64-sve-builtins", "Func": "add_integer_operand", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9850, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_broadcast", "(", "HOST_WIDE_INT", "v", ",", "unsigned", "int", "width", ",", "HOST_WIDE_INT", "&", "val_broadcast", ")", "{", "wide_int", "val", "=", "wi", "::", "uhwi", "(", "v", ",", "HOST_BITS_PER_WIDE_INT", ")", ";", "val_broadcast", "=", "wi", "::", "extract_uhwi", "(", "val", ",", "0", ",", "width", ")", ";", "for", "(", "unsigned", "int", "i", "=", "width", ";", "i", "<", "HOST_BITS_PER_WIDE_INT", ";", "i", "+=", "width", ")", "{", "HOST_WIDE_INT", "each", "=", "wi", "::", "extract_uhwi", "(", "val", ",", "i", ",", "width", ")", ";", "if", "(", "val_broadcast", "!=", "each", ")", "return", "false", ";", "}", "val_broadcast", "=", "sext_hwi", "(", "val_broadcast", ",", "width", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "V", "can", "be", "broadcasted", "from", "an", "integer", "of", "WIDTH", "bits", "which", "is", "returned", "in", "VAL_BROADCAST", ".", "Otherwise", ",", "return", "false", "."], "TS_V_token": ["i386", "0"], "File": "i386-expand", "Func": "ix86_broadcast", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9851, "Length": 95, "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": 9852, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86WinAllocaExpander", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "!", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "hasWinAlloca", "(", ")", ")", "return", "false", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "STI", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "STI", "->", "getRegisterInfo", "(", ")", ";", "StackPtr", "=", "TRI", "->", "getStackRegister", "(", ")", ";", "SlotSize", "=", "TRI", "->", "getSlotSize", "(", ")", ";", "StackProbeSize", "=", "4096", ";", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"stack-probe-size\"", ")", ")", "{", "MF", ".", "getFunction", "(", ")", ".", "getFnAttribute", "(", "\"stack-probe-size\"", ")", ".", "getValueAsString", "(", ")", ".", "getAsInteger", "(", "0", ",", "StackProbeSize", ")", ";", "}", "NoStackArgProbe", "=", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"no-stack-arg-probe\"", ")", ";", "if", "(", "NoStackArgProbe", ")", "StackProbeSize", "=", "INT64_MAX", ";", "LoweringMap", "Lowerings", ";", "computeLowerings", "(", "MF", ",", "Lowerings", ")", ";", "for", "(", "auto", "&", "P", ":", "Lowerings", ")", "lower", "(", "P", ".", "first", ",", "P", ".", "second", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "4096", "\"stack-probe-size\"", "\"stack-probe-size\"", "0", "\"no-stack-arg-probe\""], "File": "X86WinAllocaExpander", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9853, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_vector_mode_supported_p", "(", "enum", "machine_mode", "mode", ")", "{", "return", "TARGET_VIS", "&&", "VECTOR_MODE_P", "(", "mode", ")", "?", "true", ":", "false", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_VECTOR_MODE_SUPPORTED_P", "target", "hook", ".", "Specify", "whether", "the", "vector", "mode", "is", "supported", "by", "the", "hardware", "."], "TS_V_token": ["sparc"], "File": "sparc3", "Func": "sparc_vector_mode_supported_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9854, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "VEMCCodeEmitter", "::", "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", "(", ")", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "if", "(", "const", "VEMCExpr", "*", "SExpr", "=", "dyn_cast", "<", "VEMCExpr", ">", "(", "Expr", ")", ")", "{", "MCFixupKind", "Kind", "=", "(", "MCFixupKind", ")", "SExpr", "->", "getFixupKind", "(", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "Expr", ",", "Kind", ")", ")", ";", "return", "0", ";", "}", "int64_t", "Res", ";", "if", "(", "Expr", "->", "evaluateAsAbsolute", "(", "Res", ")", ")", "return", "Res", ";", "llvm_unreachable", "(", "\"Unhandled expression!\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["VE", "VE", "VE", "VE", "0", "0", "\"Unhandled expression!\"", "0"], "File": "VEMCCodeEmitter1", "Func": "getMachineOpValue", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9855, "Length": 166, "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", "=", "IsN64", "?", "Mips", "::", "GP_64", ":", "Mips", "::", "GP", ";", "EVT", "Ty", "=", "IsN64", "?", "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", "(", ")", ".", "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": "MipsISelLowering38", "Func": "getOpndList", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9856, "Length": 371, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CJGFrameLowering", "::", "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", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "CJGMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "CJGMachineFunctionInfo", ">", "(", ")", ";", "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", ",", "TII", ".", "get", "(", "CJG", "::", "PUSH", ")", ")", ".", "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": ["CJG", "CJG", "CJG", "CJG", "2", "0", "1", "CJG::PUSH"], "File": "CJGFrameLowering", "Func": "spillCalleeSavedRegisters", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9857, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "sh_build_va_list", "(", ")", "{", "tree", "f_next_o", ",", "f_next_o_limit", ",", "f_next_fp", ",", "f_next_fp_limit", ",", "f_next_stack", ";", "tree", "record", ";", "if", "(", "TARGET_SH5", "||", "(", "!", "TARGET_SH3E", "&&", "!", "TARGET_SH4", ")", "||", "TARGET_HITACHI", ")", "return", "ptr_type_node", ";", "record", "=", "make_node", "(", "RECORD_TYPE", ")", ";", "f_next_o", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"__va_next_o\"", ")", ",", "ptr_type_node", ")", ";", "f_next_o_limit", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"__va_next_o_limit\"", ")", ",", "ptr_type_node", ")", ";", "f_next_fp", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"__va_next_fp\"", ")", ",", "ptr_type_node", ")", ";", "f_next_fp_limit", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"__va_next_fp_limit\"", ")", ",", "ptr_type_node", ")", ";", "f_next_stack", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"__va_next_stack\"", ")", ",", "ptr_type_node", ")", ";", "DECL_FIELD_CONTEXT", "(", "f_next_o", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_next_o_limit", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_next_fp", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_next_fp_limit", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_next_stack", ")", "=", "record", ";", "TYPE_FIELDS", "(", "record", ")", "=", "f_next_o", ";", "TREE_CHAIN", "(", "f_next_o", ")", "=", "f_next_o_limit", ";", "TREE_CHAIN", "(", "f_next_o_limit", ")", "=", "f_next_fp", ";", "TREE_CHAIN", "(", "f_next_fp", ")", "=", "f_next_fp_limit", ";", "TREE_CHAIN", "(", "f_next_fp_limit", ")", "=", "f_next_stack", ";", "layout_type", "(", "record", ")", ";", "return", "record", ";", "}", ""], "natrual_language": ["Define", "the", "`", "__builtin_va_list", "'", "type", "for", "the", "ABI", "."], "TS_V_token": ["sh", "\"__va_next_o\"", "\"__va_next_o_limit\"", "\"__va_next_fp\"", "\"__va_next_fp_limit\"", "\"__va_next_stack\""], "File": "sh2", "Func": "sh_build_va_list", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9858, "Length": 192, "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", ")", "return", "CW_Default", ";", "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": "ARMISelLowering (2)", "Func": "getSingleConstraintMatchWeight", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9859, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "csky_call_tls_get_addr", "(", "rtx", "x", ",", "rtx", "reg", ",", "rtx", "*", "valuep", ",", "int", "reloc", ")", "{", "rtx", "label", ",", "labelno", ",", "unspec", ",", "tmp", ";", "rtx_insn", "*", "insns", ";", "start_sequence", "(", ")", ";", "labelno", "=", "GEN_INT", "(", "tls_labelno", "++", ")", ";", "label", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "labelno", ")", ",", "UNSPEC_TLS_LABEL", ")", ";", "unspec", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "3", ",", "x", ",", "GEN_INT", "(", "reloc", ")", ",", "label", ")", ",", "UNSPEC_TLS", ")", ";", "tmp", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_move_insn", "(", "reg", ",", "unspec", ")", ";", "emit_move_insn", "(", "tmp", ",", "label", ")", ";", "emit_insn", "(", "gen_addsi3", "(", "reg", ",", "reg", ",", "tmp", ")", ")", ";", "*", "valuep", "=", "emit_library_call_value", "(", "get_tls_get_addr", "(", ")", ",", "NULL_RTX", ",", "LCT_PURE", ",", "Pmode", ",", "reg", ",", "Pmode", ")", ";", "insns", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "return", "insns", ";", "}", ""], "natrual_language": ["Emit", "a", "call", "to", "__tls_get_addr", "."], "TS_V_token": ["csky", "1", "3"], "File": "csky", "Func": "csky_call_tls_get_addr", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9860, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_restore_regs_using_pop", "(", "void", ")", "{", "unsigned", "int", "regno", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "GENERAL_REGNO_P", "(", "regno", ")", "&&", "ix86_save_reg", "(", "regno", ",", "false", ")", ")", "ix86_emit_restore_reg_using_pop", "(", "gen_rtx_REG", "(", "word_mode", ",", "regno", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "restore", "saved", "registers", "using", "POP", "insns", "."], "TS_V_token": ["i386", "0"], "File": "i3865", "Func": "ix86_emit_restore_regs_using_pop", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9861, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "xlogue_layout", "::", "is_stub_managed_reg", "(", "unsigned", "regno", ",", "unsigned", "count", ")", "{", "bool", "hfp", "=", "frame_pointer_needed", "||", "stack_realign_fp", ";", "unsigned", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "count", ";", "++", "i", ")", "{", "gcc_assert", "(", "i", "<", "MAX_REGS", ")", ";", "if", "(", "REG_ORDER", "[", "i", "]", "==", "BP_REG", "&&", "hfp", ")", "++", "count", ";", "else", "if", "(", "REG_ORDER", "[", "i", "]", "==", "regno", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Determine", "if", "register", "REGNO", "is", "a", "stub", "managed", "register", "given", "the", "total", "COUNT", "of", "stub", "managed", "registers", "."], "TS_V_token": ["i386", "0"], "File": "i386-features", "Func": "is_stub_managed_reg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9862, "Length": 75, "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", "(", ")", ")", ".", "getDataLayout", "(", ")", ";", "Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "MCPEs", "=", "&", "MF", ".", "getConstantPool", "(", ")", "->", "getConstants", "(", ")", ";", "MJTEs", "=", "0", ";", "if", "(", "MF", ".", "getJumpTableInfo", "(", ")", ")", "MJTEs", "=", "&", "MF", ".", "getJumpTableInfo", "(", ")", "->", "getJumpTables", "(", ")", ";", "JTI", "->", "Initialize", "(", "MF", ",", "IsPIC", ",", "Subtarget", "->", "isLittle", "(", ")", ")", ";", "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": "MipsCodeEmitter10", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9863, "Length": 256, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "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_gen_builtins", "fn", "=", "(", "enum", "rs6000_gen_builtins", ")", "DECL_MD_FUNCTION_CODE", "(", "fndecl", ")", ";", "switch", "(", "fn", ")", "{", "case", "RS6000_BIF_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", "[", "RS6000_BIF_VRSQRTFP", "]", ";", "break", ";", "case", "RS6000_BIF_RSQRT", ":", "if", "(", "VECTOR_UNIT_VSX_P", "(", "V2DFmode", ")", "&&", "out_mode", "==", "DFmode", "&&", "out_n", "==", "2", "&&", "in_mode", "==", "DFmode", "&&", "in_n", "==", "2", ")", "return", "rs6000_builtin_decls", "[", "RS6000_BIF_RSQRT_2DF", "]", ";", "break", ";", "case", "RS6000_BIF_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", "[", "RS6000_BIF_VRECIPFP", "]", ";", "break", ";", "case", "RS6000_BIF_RECIP", ":", "if", "(", "VECTOR_UNIT_VSX_P", "(", "V2DFmode", ")", "&&", "out_mode", "==", "DFmode", "&&", "out_n", "==", "2", "&&", "in_mode", "==", "DFmode", "&&", "in_n", "==", "2", ")", "return", "rs6000_builtin_decls", "[", "RS6000_BIF_RECIP_V2DF", "]", ";", "break", ";", "default", ":", "break", ";", "}", "machine_mode", "in_vmode", "=", "TYPE_MODE", "(", "type_in", ")", ";", "machine_mode", "out_vmode", "=", "TYPE_MODE", "(", "type_out", ")", ";", "if", "(", "TARGET_POWER10", "&&", "in_vmode", "==", "out_vmode", "&&", "VECTOR_UNIT_ALTIVEC_OR_VSX_P", "(", "in_vmode", ")", ")", "{", "machine_mode", "exp_mode", "=", "DImode", ";", "machine_mode", "exp_vmode", "=", "V2DImode", ";", "enum", "rs6000_gen_builtins", "bif", ";", "switch", "(", "fn", ")", "{", "case", "RS6000_BIF_DIVWE", ":", "case", "RS6000_BIF_DIVWEU", ":", "exp_mode", "=", "SImode", ";", "exp_vmode", "=", "V4SImode", ";", "if", "(", "fn", "==", "RS6000_BIF_DIVWE", ")", "bif", "=", "RS6000_BIF_VDIVESW", ";", "else", "bif", "=", "RS6000_BIF_VDIVEUW", ";", "break", ";", "case", "RS6000_BIF_DIVDE", ":", "case", "RS6000_BIF_DIVDEU", ":", "if", "(", "fn", "==", "RS6000_BIF_DIVDE", ")", "bif", "=", "RS6000_BIF_VDIVESD", ";", "else", "bif", "=", "RS6000_BIF_VDIVEUD", ";", "break", ";", "case", "RS6000_BIF_CFUGED", ":", "bif", "=", "RS6000_BIF_VCFUGED", ";", "break", ";", "case", "RS6000_BIF_CNTLZDM", ":", "bif", "=", "RS6000_BIF_VCLZDM", ";", "break", ";", "case", "RS6000_BIF_CNTTZDM", ":", "bif", "=", "RS6000_BIF_VCTZDM", ";", "break", ";", "case", "RS6000_BIF_PDEPD", ":", "bif", "=", "RS6000_BIF_VPDEPD", ";", "break", ";", "case", "RS6000_BIF_PEXTD", ":", "bif", "=", "RS6000_BIF_VPEXTD", ";", "break", ";", "default", ":", "return", "NULL_TREE", ";", "}", "if", "(", "in_mode", "==", "exp_mode", "&&", "in_vmode", "==", "exp_vmode", ")", "return", "rs6000_builtin_decls", "[", "bif", "]", ";", "}", "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": "rs6000-builtin", "Func": "rs6000_builtin_md_vectorized_function", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9864, "Length": 445, "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": "Cpu0MCCodeEmitter", "Func": "getMachineOpValue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9865, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "LoadInst", "*", "X86TargetLowering", "::", "lowerIdempotentRMWIntoFencedLoad", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "unsigned", "NativeWidth", "=", "Subtarget", "->", "is64Bit", "(", ")", "?", "64", ":", "32", ";", "const", "Type", "*", "MemType", "=", "AI", "->", "getType", "(", ")", ";", "if", "(", "MemType", "->", "getPrimitiveSizeInBits", "(", ")", ">", "NativeWidth", ")", "return", "nullptr", ";", "auto", "Builder", "=", "IRBuilder", "<", ">", "(", "AI", ")", ";", "Module", "*", "M", "=", "Builder", ".", "GetInsertBlock", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "auto", "SynchScope", "=", "AI", "->", "getSynchScope", "(", ")", ";", "auto", "Order", "=", "AtomicCmpXchgInst", "::", "getStrongestFailureOrdering", "(", "AI", "->", "getOrdering", "(", ")", ")", ";", "auto", "Ptr", "=", "AI", "->", "getPointerOperand", "(", ")", ";", "if", "(", "SynchScope", "==", "SingleThread", ")", "return", "nullptr", ";", "if", "(", "!", "hasMFENCE", "(", "*", "Subtarget", ")", ")", "return", "nullptr", ";", "Function", "*", "MFence", "=", "llvm", "::", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "Intrinsic", "::", "x86_sse2_mfence", ")", ";", "Builder", ".", "CreateCall", "(", "MFence", ",", "{", "}", ")", ";", "LoadInst", "*", "Loaded", "=", "Builder", ".", "CreateAlignedLoad", "(", "Ptr", ",", "AI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ")", ";", "Loaded", "->", "setAtomic", "(", "Order", ",", "SynchScope", ")", ";", "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": "X86ISelLowering155", "Func": "lowerIdempotentRMWIntoFencedLoad", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9866, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Instruction", "*", "ARMTargetLowering", "::", "emitLeadingFence", "(", "IRBuilder", "<", ">", "&", "Builder", ",", "AtomicOrdering", "Ord", ",", "bool", "IsStore", ",", "bool", "IsLoad", ")", "const", "{", "switch", "(", "Ord", ")", "{", "case", "AtomicOrdering", "::", "NotAtomic", ":", "case", "AtomicOrdering", "::", "Unordered", ":", "llvm_unreachable", "(", "\"Invalid fence: unordered/non-atomic\"", ")", ";", "case", "AtomicOrdering", "::", "Monotonic", ":", "case", "AtomicOrdering", "::", "Acquire", ":", "return", "nullptr", ";", "case", "AtomicOrdering", "::", "SequentiallyConsistent", ":", "if", "(", "!", "IsStore", ")", "return", "nullptr", ";", "case", "AtomicOrdering", "::", "Release", ":", "case", "AtomicOrdering", "::", "AcquireRelease", ":", "if", "(", "Subtarget", "->", "preferISHSTBarriers", "(", ")", ")", "return", "makeDMB", "(", "Builder", ",", "ARM_MB", "::", "ISHST", ")", ";", "else", "return", "makeDMB", "(", "Builder", ",", "ARM_MB", "::", "ISH", ")", ";", "}", "llvm_unreachable", "(", "\"Unknown fence ordering in emitLeadingFence\"", ")", ";", "}", ""], "natrual_language": ["Custom", "Lower", "{", "."], "TS_V_token": ["ARM", "ARM", "\"Invalid fence: unordered/non-atomic\"", "ARM_MB::ISHST", "ARM_MB::ISH", "\"Unknown fence ordering in emitLeadingFence\""], "File": "ARMISelLowering11", "Func": "emitLeadingFence", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9867, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "selectBinaryOp", "(", "unsigned", "GenericOpc", ",", "unsigned", "RegBankID", ",", "unsigned", "OpSize", ")", "{", "switch", "(", "RegBankID", ")", "{", "case", "AArch64", "::", "GPRRegBankID", ":", "if", "(", "OpSize", "==", "32", ")", "{", "switch", "(", "GenericOpc", ")", "{", "case", "TargetOpcode", "::", "G_SHL", ":", "return", "AArch64", "::", "LSLVWr", ";", "case", "TargetOpcode", "::", "G_LSHR", ":", "return", "AArch64", "::", "LSRVWr", ";", "case", "TargetOpcode", "::", "G_ASHR", ":", "return", "AArch64", "::", "ASRVWr", ";", "default", ":", "return", "GenericOpc", ";", "}", "}", "else", "if", "(", "OpSize", "==", "64", ")", "{", "switch", "(", "GenericOpc", ")", "{", "case", "TargetOpcode", "::", "G_PTR_ADD", ":", "return", "AArch64", "::", "ADDXrr", ";", "case", "TargetOpcode", "::", "G_SHL", ":", "return", "AArch64", "::", "LSLVXr", ";", "case", "TargetOpcode", "::", "G_LSHR", ":", "return", "AArch64", "::", "LSRVXr", ";", "case", "TargetOpcode", "::", "G_ASHR", ":", "return", "AArch64", "::", "ASRVXr", ";", "default", ":", "return", "GenericOpc", ";", "}", "}", "break", ";", "case", "AArch64", "::", "FPRRegBankID", ":", "switch", "(", "OpSize", ")", "{", "case", "32", ":", "switch", "(", "GenericOpc", ")", "{", "case", "TargetOpcode", "::", "G_FADD", ":", "return", "AArch64", "::", "FADDSrr", ";", "case", "TargetOpcode", "::", "G_FSUB", ":", "return", "AArch64", "::", "FSUBSrr", ";", "case", "TargetOpcode", "::", "G_FMUL", ":", "return", "AArch64", "::", "FMULSrr", ";", "case", "TargetOpcode", "::", "G_FDIV", ":", "return", "AArch64", "::", "FDIVSrr", ";", "default", ":", "return", "GenericOpc", ";", "}", "case", "64", ":", "switch", "(", "GenericOpc", ")", "{", "case", "TargetOpcode", "::", "G_FADD", ":", "return", "AArch64", "::", "FADDDrr", ";", "case", "TargetOpcode", "::", "G_FSUB", ":", "return", "AArch64", "::", "FSUBDrr", ";", "case", "TargetOpcode", "::", "G_FMUL", ":", "return", "AArch64", "::", "FMULDrr", ";", "case", "TargetOpcode", "::", "G_FDIV", ":", "return", "AArch64", "::", "FDIVDrr", ";", "case", "TargetOpcode", "::", "G_OR", ":", "return", "AArch64", "::", "ORRv8i8", ";", "default", ":", "return", "GenericOpc", ";", "}", "}", "break", ";", "}", "return", "GenericOpc", ";", "}", ""], "natrual_language": ["Select", "and", "emit", "code", "for", "a", "binary", "operator", "instruction", ",", "which", "has", "an", "opcode", "which", "directly", "corresponds", "to", "the", "given", "ISD", "opcode", "."], "TS_V_token": ["AArch64", "AArch64::GPRRegBankID", "32", "AArch64::LSLVWr", "AArch64::LSRVWr", "AArch64::ASRVWr", "64", "AArch64::ADDXrr", "AArch64::LSLVXr", "AArch64::LSRVXr", "AArch64::ASRVXr", "AArch64::FPRRegBankID", "32", "AArch64::FADDSrr", "AArch64::FSUBSrr", "AArch64::FMULSrr", "AArch64::FDIVSrr", "64", "AArch64::FADDDrr", "AArch64::FSUBDrr", "AArch64::FMULDrr", "AArch64::FDIVDrr", "AArch64::ORRv8i8"], "File": "AArch64InstructionSelector (2)", "Func": "selectBinaryOp", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9868, "Length": 271, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTTI", "::", "getIntImmCost", "(", "Intrinsic", "::", "ID", "IID", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "const", "{", "if", "(", "DisablePPCConstHoist", ")", "return", "TargetTransformInfo", "::", "getIntImmCost", "(", "IID", ",", "Idx", ",", "Imm", ",", "Ty", ")", ";", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", ")", "return", "~", "0U", ";", "switch", "(", "IID", ")", "{", "default", ":", "return", "TCC_Free", ";", "case", "Intrinsic", "::", "sadd_with_overflow", ":", "case", "Intrinsic", "::", "uadd_with_overflow", ":", "case", "Intrinsic", "::", "ssub_with_overflow", ":", "case", "Intrinsic", "::", "usub_with_overflow", ":", "if", "(", "(", "Idx", "==", "1", ")", "&&", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", "&&", "isInt", "<", "16", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "return", "TCC_Free", ";", "break", ";", "}", "return", "PPCTTI", "::", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["PowerPC", "PPC", "Intrinsic::ID", "PPC", "0", "0U", "Intrinsic::sadd_with_overflow", "Intrinsic::uadd_with_overflow", "Intrinsic::ssub_with_overflow", "Intrinsic::usub_with_overflow", "1", "64", "16", "PPC"], "File": "PPCTargetTransformInfo27", "Func": "getIntImmCost", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9869, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mmix_make_decl_one_only", "(", "tree", "decl", ")", "{", "DECL_WEAK", "(", "decl", ")", "=", "1", ";", "}", ""], "natrual_language": ["MAKE_DECL_ONE_ONLY", "."], "TS_V_token": ["mmix", "1"], "File": "mmix", "Func": "mmix_make_decl_one_only", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9870, "Length": 15, "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", ")", ";", "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::CONSTPOOL_ENTRY", "Mips::CONSTPOOL_ENTRY", "0", "1", "Mips", "\"Pseudo opcode found in EmitInstruction()\""], "File": "MipsAsmPrinter64", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9871, "Length": 282, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "stackSlotSize", "(", ")", "{", "return", "4", ";", "}", ""], "natrual_language": ["Stack", "slot", "size", "(", "4", "bytes", ")"], "TS_V_token": ["LC3", "4"], "File": "LC3FrameLowering", "Func": "stackSlotSize", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9872, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCFrameLowering", "::", "assignCalleeSavedSpillSlots", "(", "MachineFunction", "&", "MF", ",", "const", "TargetRegisterInfo", "*", "TRI", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "true", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "if", "(", "!", "EnablePEVectorSpills", "||", "MFI", ".", "hasCalls", "(", ")", "||", "!", "Subtarget", ".", "hasP9Vector", "(", ")", ")", "return", "false", ";", "BitVector", "BVAllocatable", "=", "TRI", "->", "getAllocatableSet", "(", "MF", ")", ";", "BitVector", "BVCalleeSaved", "(", "TRI", "->", "getNumRegs", "(", ")", ")", ";", "const", "PPCRegisterInfo", "*", "RegInfo", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "const", "MCPhysReg", "*", "CSRegs", "=", "RegInfo", "->", "getCalleeSavedRegs", "(", "&", "MF", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "CSRegs", "[", "i", "]", ";", "++", "i", ")", "BVCalleeSaved", ".", "set", "(", "CSRegs", "[", "i", "]", ")", ";", "for", "(", "unsigned", "Reg", ":", "BVAllocatable", ".", "set_bits", "(", ")", ")", "{", "if", "(", "BVCalleeSaved", "[", "Reg", "]", "||", "!", "PPC", "::", "VSRCRegClass", ".", "contains", "(", "Reg", ")", "||", "MF", ".", "getRegInfo", "(", ")", ".", "isPhysRegUsed", "(", "Reg", ")", ")", "BVAllocatable", ".", "reset", "(", "Reg", ")", ";", "}", "bool", "AllSpilledToReg", "=", "true", ";", "unsigned", "LastVSRUsedForSpill", "=", "0", ";", "for", "(", "auto", "&", "CS", ":", "CSI", ")", "{", "if", "(", "BVAllocatable", ".", "none", "(", ")", ")", "return", "false", ";", "Register", "Reg", "=", "CS", ".", "getReg", "(", ")", ";", "if", "(", "!", "PPC", "::", "G8RCRegClass", ".", "contains", "(", "Reg", ")", ")", "{", "AllSpilledToReg", "=", "false", ";", "continue", ";", "}", "if", "(", "LastVSRUsedForSpill", "!=", "0", ")", "{", "CS", ".", "setDstReg", "(", "LastVSRUsedForSpill", ")", ";", "BVAllocatable", ".", "reset", "(", "LastVSRUsedForSpill", ")", ";", "LastVSRUsedForSpill", "=", "0", ";", "continue", ";", "}", "unsigned", "VolatileVFReg", "=", "BVAllocatable", ".", "find_first", "(", ")", ";", "if", "(", "VolatileVFReg", "<", "BVAllocatable", ".", "size", "(", ")", ")", "{", "CS", ".", "setDstReg", "(", "VolatileVFReg", ")", ";", "LastVSRUsedForSpill", "=", "VolatileVFReg", ";", "}", "else", "{", "AllSpilledToReg", "=", "false", ";", "}", "}", "return", "AllSpilledToReg", ";", "}", ""], "natrual_language": ["This", "function", "will", "assign", "callee", "saved", "gprs", "to", "volatile", "vector", "registers", "for", "prologue", "spills", "when", "applicable", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "0", "PPC::VSRCRegClass", "0", "PPC::G8RCRegClass", "0", "0"], "File": "PPCFrameLowering16", "Func": "assignCalleeSavedSpillSlots", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9873, "Length": 315, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getStackAddress", "(", "uint64_t", "Size", ",", "int64_t", "Offset", ",", "MachinePointerInfo", "&", "MPO", ")", "override", "{", "auto", "&", "MFI", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getFrameInfo", "(", ")", ";", "int", "FI", "=", "MFI", ".", "CreateFixedObject", "(", "Size", ",", "Offset", ",", "true", ")", ";", "MPO", "=", "MachinePointerInfo", "::", "getFixedStack", "(", "MIRBuilder", ".", "getMF", "(", ")", ",", "FI", ")", ";", "unsigned", "AddrReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "LLT", "::", "pointer", "(", "0", ",", "DL", ".", "getPointerSizeInBits", "(", "0", ")", ")", ")", ";", "MIRBuilder", ".", "buildFrameIndex", "(", "AddrReg", ",", "FI", ")", ";", "return", "AddrReg", ";", "}", ""], "natrual_language": ["Materialize", "a", "VReg", "containing", "the", "address", "of", "the", "specified", "stack-based", "object", "."], "TS_V_token": ["X86", "0", "0"], "File": "X86CallLowering", "Func": "getStackAddress", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9874, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isScalarFPTypeInSSEReg", "(", "MVT", "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": "X86FastISel41", "Func": "isScalarFPTypeInSSEReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9875, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"Mips Expand Pseudo\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"Mips Expand Pseudo\""], "File": "MipsExpandPseudo9", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9876, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_avoid_hazards", "(", "void", ")", "{", "rtx", "insn", ",", "last_insn", ",", "lo_reg", ",", "delayed_reg", ";", "int", "hilo_delay", ",", "i", ";", "split_all_insns_noflow", "(", ")", ";", "cfun", "->", "machine", "->", "ignore_hazard_length_p", "=", "true", ";", "shorten_branches", "(", "get_insns", "(", ")", ")", ";", "cfun", "->", "machine", "->", "all_noreorder_p", "=", "true", ";", "if", "(", "current_function_profile", ")", "cfun", "->", "machine", "->", "all_noreorder_p", "=", "false", ";", "if", "(", "TARGET_FIX_VR4120", ")", "cfun", "->", "machine", "->", "all_noreorder_p", "=", "false", ";", "if", "(", "TARGET_FIX_VR4130", "&&", "!", "ISA_HAS_MACCHI", ")", "cfun", "->", "machine", "->", "all_noreorder_p", "=", "false", ";", "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", "(", "insn", ")", ")", "if", "(", "INSN_P", "(", "insn", ")", ")", "{", "if", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "SEQUENCE", ")", "for", "(", "i", "=", "0", ";", "i", "<", "XVECLEN", "(", "PATTERN", "(", "insn", ")", ",", "0", ")", ";", "i", "++", ")", "mips_avoid_hazard", "(", "last_insn", ",", "XVECEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ",", "i", ")", ",", "&", "hilo_delay", ",", "&", "delayed_reg", ",", "lo_reg", ")", ";", "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", ".", "See", "if", "the", "whole", "function", "can", "then", "be", "put", "into", ".set", "noreorder", "&", ".set", "nomacro", "."], "TS_V_token": ["mips", "0", "2", "0", "0", "0", "0", "0"], "File": "mips3", "Func": "mips_avoid_hazards", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9877, "Length": 215, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ia64_vms_output_aligned_decl_common", "(", "FILE", "*", "file", ",", "tree", "decl", ",", "const", "char", "*", "name", ",", "unsigned", "HOST_WIDE_INT", "size", ",", "unsigned", "int", "align", ")", "{", "tree", "attr", "=", "DECL_ATTRIBUTES", "(", "decl", ")", ";", "if", "(", "attr", ")", "attr", "=", "lookup_attribute", "(", "\"common_object\"", ",", "attr", ")", ";", "if", "(", "attr", ")", "{", "tree", "id", "=", "TREE_VALUE", "(", "TREE_VALUE", "(", "attr", ")", ")", ";", "const", "char", "*", "name", ";", "if", "(", "TREE_CODE", "(", "id", ")", "==", "IDENTIFIER_NODE", ")", "name", "=", "IDENTIFIER_POINTER", "(", "id", ")", ";", "else", "if", "(", "TREE_CODE", "(", "id", ")", "==", "STRING_CST", ")", "name", "=", "TREE_STRING_POINTER", "(", "id", ")", ";", "else", "abort", "(", ")", ";", "fprintf", "(", "file", ",", "\"\\t.vms_common\\t\\\"%s\\\",\"", ",", "name", ")", ";", "}", "else", "fprintf", "(", "file", ",", "\"%s\"", ",", "COMMON_ASM_OP", ")", ";", "assemble_name", "(", "file", ",", "name", ")", ";", "fprintf", "(", "file", ",", "\",\"", "HOST_WIDE_INT_PRINT_UNSIGNED", "\",%u\"", ",", "size", ",", "align", "/", "BITS_PER_UNIT", ")", ";", "fputc", "(", "'\\n'", ",", "file", ")", ";", "}", ""], "natrual_language": ["Part", "of", "the", "low", "level", "implementation", "of", "DEC", "Ada", "pragma", "Common_Object", "."], "TS_V_token": ["ia64", "\"common_object\"", "\"\\t.vms_common\\t\\\"%s\\\",\"", "\"%s\"", "\",\"", "\",%u\""], "File": "ia644", "Func": "ia64_vms_output_aligned_decl_common", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9878, "Length": 154, "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": 9879, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_code_label", "*", "ix86_expand_sse_compare_and_jump", "(", "enum", "rtx_code", "code", ",", "rtx", "op0", ",", "rtx", "op1", ",", "bool", "swap_operands", ")", "{", "machine_mode", "fpcmp_mode", "=", "ix86_fp_compare_mode", "(", "code", ")", ";", "rtx_code_label", "*", "label", ";", "rtx", "tmp", ";", "if", "(", "swap_operands", ")", "std", "::", "swap", "(", "op0", ",", "op1", ")", ";", "label", "=", "gen_label_rtx", "(", ")", ";", "tmp", "=", "gen_rtx_REG", "(", "fpcmp_mode", ",", "FLAGS_REG", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "tmp", ",", "gen_rtx_COMPARE", "(", "fpcmp_mode", ",", "op0", ",", "op1", ")", ")", ")", ";", "tmp", "=", "gen_rtx_fmt_ee", "(", "code", ",", "VOIDmode", ",", "tmp", ",", "const0_rtx", ")", ";", "tmp", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "tmp", ",", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "label", ")", ",", "pc_rtx", ")", ";", "tmp", "=", "emit_jump_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "pc_rtx", ",", "tmp", ")", ")", ";", "JUMP_LABEL", "(", "tmp", ")", "=", "label", ";", "return", "label", ";", "}", ""], "natrual_language": ["Expands", "a", "comparison", "of", "OP0", "with", "OP1", "using", "comparison", "code", "CODE", ",", "swapping", "the", "operands", "if", "SWAP_OPERANDS", "is", "true", ".", "The", "expanded", "code", "is", "a", "forward", "jump", "to", "a", "newly", "created", "label", "in", "case", "the", "comparison", "is", "true", ".", "The", "generated", "label", "rtx", "is", "returned", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_expand_sse_compare_and_jump", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9880, "Length": 137, "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": ["ARM64"], "File": "ARM64TargetTransformInfo", "Func": "getAnalysisUsage", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9881, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_function_value_regno_p", "(", "const", "unsigned", "int", "regno", ")", "{", "return", "regno", "==", "FIRST_RET_REG", "||", "(", "TARGET_SH2E", "&&", "regno", "==", "FIRST_FP_RET_REG", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "N", "is", "a", "possible", "register", "number", "of", "function", "value", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "sh_function_value_regno_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9882, "Length": 24, "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", ")", ")", "{", "if", "(", "GV", "->", "hasDLLImportStorageClass", "(", ")", ")", "return", "AArch64II", "::", "MO_GOT", "|", "AArch64II", "::", "MO_DLLIMPORT", ";", "if", "(", "getTargetTriple", "(", ")", ".", "isOSWindows", "(", ")", ")", "return", "AArch64II", "::", "MO_GOT", "|", "AArch64II", "::", "MO_COFFSTUB", ";", "return", "AArch64II", "::", "MO_GOT", ";", "}", "if", "(", "(", "useSmallAddressing", "(", ")", "||", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Tiny", ")", "&&", "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_DLLIMPORT", "AArch64II::MO_GOT", "AArch64II::MO_COFFSTUB", "AArch64II::MO_GOT", "AArch64II::MO_GOT", "AArch64II::MO_NO_FLAG"], "File": "AArch64Subtarget10", "Func": "ClassifyGlobalReference", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9883, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsFrameLowering", "*", "MipsFrameLowering", "::", "create", "(", "const", "MipsSubtarget", "&", "ST", ")", "{", "return", "llvm", "::", "createMipsSEFrameLowering", "(", "ST", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsFrameLowering19", "Func": "create", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9884, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_expand_builtin_data_intrinsic", "(", "unsigned", "int", "fcode", ",", "tree", "exp", ",", "rtx", "target", ")", "{", "expand_operand", "ops", "[", "2", "]", ";", "machine_mode", "mode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "exp", ")", ")", ";", "create_output_operand", "(", "&", "ops", "[", "0", "]", ",", "target", ",", "mode", ")", ";", "create_input_operand", "(", "&", "ops", "[", "1", "]", ",", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ")", ",", "mode", ")", ";", "enum", "insn_code", "icode", ";", "switch", "(", "fcode", ")", "{", "case", "AARCH64_REV16", ":", "case", "AARCH64_REV16L", ":", "case", "AARCH64_REV16LL", ":", "icode", "=", "code_for_aarch64_rev16", "(", "mode", ")", ";", "break", ";", "case", "AARCH64_RBIT", ":", "case", "AARCH64_RBITL", ":", "case", "AARCH64_RBITLL", ":", "icode", "=", "code_for_aarch64_rbit", "(", "mode", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "expand_insn", "(", "icode", ",", "2", ",", "ops", ")", ";", "return", "ops", "[", "0", "]", ".", "value", ";", "}", ""], "natrual_language": ["Function", "to", "expand", "an", "expression", "EXP", "which", "calls", "one", "of", "the", "ACLE", "Data", "Intrinsic", "builtins", "FCODE", "with", "the", "result", "going", "to", "TARGET", "."], "TS_V_token": ["aarch64", "2", "0", "1", "0", "2", "0"], "File": "aarch64-builtins1", "Func": "aarch64_expand_builtin_data_intrinsic", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9885, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64AsmPrinter", "::", "emitStartOfAsmFile", "(", "Module", "&", "M", ")", "{", "if", "(", "!", "TM", ".", "getTargetTriple", "(", ")", ".", "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", "0", "\"branch-target-enforcement\"", "\"sign-return-address\"", "0", "AArch64"], "File": "AArch64AsmPrinter25", "Func": "emitStartOfAsmFile", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9886, "Length": 137, "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": 9887, "Length": 509, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "addPreEmitPass", "(", ")", "{", "bool", "ShouldPrint", "=", "false", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "getX86Subtarget", "(", ")", ".", "hasSSE2", "(", ")", ")", "{", "addPass", "(", "createExecutionDependencyFixPass", "(", "&", "X86", "::", "VR128RegClass", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "if", "(", "getX86Subtarget", "(", ")", ".", "hasAVX", "(", ")", "&&", "UseVZeroUpper", ")", "{", "addPass", "(", "createX86IssueVZeroUpperPass", "(", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "getX86Subtarget", "(", ")", ".", "padShortFunctions", "(", ")", ")", "{", "addPass", "(", "createX86PadShortFunctions", "(", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "if", "(", "getX86Subtarget", "(", ")", ".", "isTargetNaCl", "(", ")", ")", "{", "addPass", "(", "createX86NaClRewritePass", "(", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "return", "ShouldPrint", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["X86", "X86", "X86", "X86::VR128RegClass", "X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86TargetMachine68", "Func": "addPreEmitPass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9888, "Length": 130, "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": 9889, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "ARMTargetLowering", "::", "getOptimalMemOpType", "(", "const", "MemOp", "&", "Op", ",", "const", "AttributeList", "&", "FuncAttributes", ")", "const", "{", "if", "(", "(", "Op", ".", "isMemcpy", "(", ")", "||", "Op", ".", "isZeroMemset", "(", ")", ")", "&&", "Subtarget", "->", "hasNEON", "(", ")", "&&", "!", "FuncAttributes", ".", "hasFnAttr", "(", "Attribute", "::", "NoImplicitFloat", ")", ")", "{", "bool", "Fast", ";", "if", "(", "Op", ".", "size", "(", ")", ">=", "16", "&&", "(", "Op", ".", "isAligned", "(", "Align", "(", "16", ")", ")", "||", "(", "allowsMisalignedMemoryAccesses", "(", "MVT", "::", "v2f64", ",", "0", ",", "Align", "(", "1", ")", ",", "MachineMemOperand", "::", "MONone", ",", "&", "Fast", ")", "&&", "Fast", ")", ")", ")", "{", "return", "MVT", "::", "v2f64", ";", "}", "else", "if", "(", "Op", ".", "size", "(", ")", ">=", "8", "&&", "(", "Op", ".", "isAligned", "(", "Align", "(", "8", ")", ")", "||", "(", "allowsMisalignedMemoryAccesses", "(", "MVT", "::", "f64", ",", "0", ",", "Align", "(", "1", ")", ",", "MachineMemOperand", "::", "MONone", ",", "&", "Fast", ")", "&&", "Fast", ")", ")", ")", "{", "return", "MVT", "::", "f64", ";", "}", "}", "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", "0", "1", "MVT::v2f64", "8", "8", "MVT::f64", "0", "1", "MVT::f64", "MVT::Other"], "File": "ARMISelLowering (2)5", "Func": "getOptimalMemOpType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9890, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "&", "LiveRangeShrinkID", ")", ";", "addPass", "(", "createX86FixupSetCC", "(", ")", ")", ";", "addPass", "(", "createX86OptimizeLEAs", "(", ")", ")", ";", "addPass", "(", "createX86CallFrameOptimization", "(", ")", ")", ";", "}", "addPass", "(", "createX86FlagsCopyLoweringPass", "(", ")", ")", ";", "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", "X86"], "File": "X86TargetMachine109", "Func": "addPreRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9891, "Length": 61, "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": 9892, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "store_reg_modify", "(", "int", "base", ",", "int", "reg", ",", "HOST_WIDE_INT", "mod", ")", "{", "rtx", "insn", ",", "basereg", ",", "srcreg", ",", "delta", ";", "gcc_assert", "(", "VAL_14_BITS_P", "(", "mod", ")", ")", ";", "basereg", "=", "gen_rtx_REG", "(", "Pmode", ",", "base", ")", ";", "srcreg", "=", "gen_rtx_REG", "(", "word_mode", ",", "reg", ")", ";", "delta", "=", "GEN_INT", "(", "mod", ")", ";", "insn", "=", "emit_insn", "(", "gen_post_store", "(", "basereg", ",", "srcreg", ",", "delta", ")", ")", ";", "if", "(", "DO_FRAME_NOTES", ")", "{", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "RTX_FRAME_RELATED_P", "(", "XVECEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ",", "0", ")", ")", "=", "1", ";", "RTX_FRAME_RELATED_P", "(", "XVECEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ",", "1", ")", ")", "=", "1", ";", "}", "}", ""], "natrual_language": ["Emit", "RTL", "to", "store", "REG", "at", "the", "memory", "location", "specified", "by", "BASE", "and", "then", "add", "MOD", "to", "BASE", ".", "MOD", "must", "be", "<", "=", "8k", "."], "TS_V_token": ["pa", "1", "0", "0", "1", "0", "1", "1"], "File": "pa3", "Func": "store_reg_modify", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9893, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_simd_vect_par_cnst_half", "(", "machine_mode", "mode", ",", "int", "nunits", ",", "bool", "high", ")", "{", "rtvec", "v", "=", "rtvec_alloc", "(", "nunits", "/", "2", ")", ";", "int", "high_base", "=", "nunits", "/", "2", ";", "int", "low_base", "=", "0", ";", "int", "base", ";", "rtx", "t1", ";", "int", "i", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "base", "=", "high", "?", "low_base", ":", "high_base", ";", "else", "base", "=", "high", "?", "high_base", ":", "low_base", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nunits", "/", "2", ";", "i", "++", ")", "RTVEC_ELT", "(", "v", ",", "i", ")", "=", "GEN_INT", "(", "base", "+", "i", ")", ";", "t1", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "v", ")", ";", "return", "t1", ";", "}", ""], "natrual_language": ["Construct", "and", "return", "a", "PARALLEL", "RTX", "vector", "with", "elements", "numbering", "the", "lanes", "of", "either", "the", "high", "(", "HIGH", "==", "TRUE", ")", "or", "low", "(", "HIGH", "==", "FALSE", ")", "half", "of", "the", "vector", "-", "from", "the", "perspective", "of", "the", "architecture", ".", "This", "does", "not", "line", "up", "with", "GCC", "'s", "perspective", "on", "lane", "numbers", ",", "so", "we", "end", "up", "with", "different", "masks", "depending", "on", "our", "target", "endian-ness", ".", "The", "diagram", "below", "may", "help", ".", "We", "must", "draw", "the", "distinction", "when", "building", "masks", "which", "select", "one", "half", "of", "the", "vector", ".", "An", "instruction", "selecting", "architectural", "low-lanes", "for", "a", "big-endian", "target", ",", "must", "be", "described", "using", "a", "mask", "selecting", "GCC", "high-lanes", ".", "Big-Endian", "Little-EndianGCC", "0", "1", "2", "3", "3", "2", "1", "0", "|", "x", "|", "x", "|", "x", "|", "x", "|", "|", "x", "|", "x", "|", "x", "|", "x", "|Architecture", "3", "2", "1", "0", "3", "2", "1", "0Low", "Mask", ":", "{", "2", ",", "3", "}", "{", "0", ",", "1", "}", "High", "Mask", ":", "{", "0", ",", "1", "}", "{", "2", ",", "3", "}"], "TS_V_token": ["aarch64", "2", "2", "0", "0", "2"], "File": "aarch64", "Func": "aarch64_simd_vect_par_cnst_half", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9894, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "sparc_flat_epilogue_delay_slots", "(", ")", "{", "if", "(", "!", "current_frame_info", ".", "initialized", ")", "(", "void", ")", "sparc_flat_compute_frame_size", "(", "get_frame_size", "(", ")", ")", ";", "if", "(", "current_frame_info", ".", "total_size", "==", "0", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Define", "the", "number", "of", "delay", "slots", "needed", "for", "the", "function", "epilogue", ".", "On", "the", "sparc", ",", "we", "need", "a", "slot", "if", "either", "no", "stack", "has", "been", "allocated", ",", "or", "the", "only", "register", "saved", "is", "the", "return", "register", "."], "TS_V_token": ["sparc", "0", "1", "0"], "File": "sparc2", "Func": "sparc_flat_epilogue_delay_slots", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9895, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "buildLoad", "(", "unsigned", "Val", ",", "const", "CCValAssign", "&", "VA", ")", "{", "MachineMemOperand", "*", "MMO", ";", "unsigned", "Addr", "=", "getStackAddress", "(", "VA", ",", "MMO", ")", ";", "MIRBuilder", ".", "buildLoad", "(", "Val", ",", "Addr", ",", "*", "MMO", ")", ";", "}", ""], "natrual_language": ["Build", "and", "insert", "a", "G_LOAD", "instruction", ",", "while", "constructing", "the", "MachineMemOperand", "."], "TS_V_token": ["Mips"], "File": "MipsCallLowering1", "Func": "buildLoad", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9896, "Length": 39, "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": 9897, "Length": 287, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "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": ["X86", "X86"], "File": "X86TargetMachine45", "Func": "addRegBankSelect", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9898, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "X86RegisterInfo", "::", "getLargestLegalSuperClass", "(", "const", "TargetRegisterClass", "*", "RC", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "RC", "==", "&", "X86", "::", "GR8_NOREXRegClass", ")", "return", "RC", ";", "const", "X86Subtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "const", "TargetRegisterClass", "*", "Super", "=", "RC", ";", "TargetRegisterClass", "::", "sc_iterator", "I", "=", "RC", "->", "getSuperClasses", "(", ")", ";", "do", "{", "switch", "(", "Super", "->", "getID", "(", ")", ")", "{", "case", "X86", "::", "FR32RegClassID", ":", "case", "X86", "::", "FR64RegClassID", ":", "if", "(", "!", "Subtarget", ".", "hasAVX512", "(", ")", "&&", "getRegSizeInBits", "(", "*", "Super", ")", "==", "getRegSizeInBits", "(", "*", "RC", ")", ")", "return", "Super", ";", "break", ";", "case", "X86", "::", "VR128RegClassID", ":", "case", "X86", "::", "VR256RegClassID", ":", "if", "(", "!", "Subtarget", ".", "hasVLX", "(", ")", "&&", "getRegSizeInBits", "(", "*", "Super", ")", "==", "getRegSizeInBits", "(", "*", "RC", ")", ")", "return", "Super", ";", "break", ";", "case", "X86", "::", "VR128XRegClassID", ":", "case", "X86", "::", "VR256XRegClassID", ":", "if", "(", "Subtarget", ".", "hasVLX", "(", ")", "&&", "getRegSizeInBits", "(", "*", "Super", ")", "==", "getRegSizeInBits", "(", "*", "RC", ")", ")", "return", "Super", ";", "break", ";", "case", "X86", "::", "FR32XRegClassID", ":", "case", "X86", "::", "FR64XRegClassID", ":", "if", "(", "Subtarget", ".", "hasAVX512", "(", ")", "&&", "getRegSizeInBits", "(", "*", "Super", ")", "==", "getRegSizeInBits", "(", "*", "RC", ")", ")", "return", "Super", ";", "break", ";", "case", "X86", "::", "GR8RegClassID", ":", "case", "X86", "::", "GR16RegClassID", ":", "case", "X86", "::", "GR32RegClassID", ":", "case", "X86", "::", "GR64RegClassID", ":", "case", "X86", "::", "RFP32RegClassID", ":", "case", "X86", "::", "RFP64RegClassID", ":", "case", "X86", "::", "RFP80RegClassID", ":", "case", "X86", "::", "VR512RegClassID", ":", "if", "(", "getRegSizeInBits", "(", "*", "Super", ")", "==", "getRegSizeInBits", "(", "*", "RC", ")", ")", "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": ["X86", "X86", "X86::GR8_NOREXRegClass", "X86", "X86", "X86::FR32RegClassID", "X86::FR64RegClassID", "X86::VR128RegClassID", "X86::VR256RegClassID", "X86::VR128XRegClassID", "X86::VR256XRegClassID", "X86::FR32XRegClassID", "X86::FR64XRegClassID", "X86::GR8RegClassID", "X86::GR16RegClassID", "X86::GR32RegClassID", "X86::GR64RegClassID", "X86::RFP32RegClassID", "X86::RFP64RegClassID", "X86::RFP80RegClassID", "X86::VR512RegClassID"], "File": "X86RegisterInfo (2)2", "Func": "getLargestLegalSuperClass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9899, "Length": 290, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_slow_unaligned_access", "(", "machine_mode", "mode", ",", "unsigned", "int", "align", ")", "{", "return", "(", "STRICT_ALIGNMENT", "||", "(", "!", "TARGET_EFFICIENT_UNALIGNED_VSX", "&&", "(", "(", "SCALAR_FLOAT_MODE_NOT_VECTOR_P", "(", "mode", ")", "&&", "align", "<", "32", ")", "||", "(", "(", "VECTOR_MODE_P", "(", "mode", ")", "||", "FLOAT128_VECTOR_P", "(", "mode", ")", ")", "&&", "(", "int", ")", "align", "<", "VECTOR_ALIGN", "(", "mode", ")", ")", ")", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SLOW_UNALIGNED_ACCESS", ".", "Altivec", "vector", "memory", "instructions", "simply", "ignore", "the", "low", "bits", ";", "VSX", "memory", "instructions", "are", "aligned", "to", "4", "or", "8", "bytes", "."], "TS_V_token": ["powerpcspe", "32"], "File": "powerpcspe", "Func": "rs6000_slow_unaligned_access", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9900, "Length": 60, "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": 9901, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pa_output_function_prologue", "(", "FILE", "*", "file", ",", "HOST_WIDE_INT", "size", "ATTRIBUTE_UNUSED", ")", "{", "ASM_OUTPUT_LABEL", "(", "file", ",", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "current_function_decl", ")", ",", "0", ")", ",", "0", ")", ")", ";", "fputs", "(", "\"\\t.PROC\\n\"", ",", "file", ")", ";", "fprintf", "(", "file", ",", "\"\\t.CALLINFO FRAME=\"", "HOST_WIDE_INT_PRINT_DEC", ",", "actual_fsize", ")", ";", "if", "(", "crtl", "->", "is_leaf", ")", "fputs", "(", "\",NO_CALLS\"", ",", "file", ")", ";", "else", "fputs", "(", "\",CALLS\"", ",", "file", ")", ";", "if", "(", "rp_saved", ")", "fputs", "(", "\",SAVE_RP\"", ",", "file", ")", ";", "if", "(", "frame_pointer_needed", ")", "fputs", "(", "\",SAVE_SP\"", ",", "file", ")", ";", "if", "(", "gr_saved", ")", "fprintf", "(", "file", ",", "\",ENTRY_GR=%d\"", ",", "gr_saved", "+", "2", ")", ";", "if", "(", "fr_saved", ")", "fprintf", "(", "file", ",", "\",ENTRY_FR=%d\"", ",", "fr_saved", "+", "11", ")", ";", "fputs", "(", "\"\\n\\t.ENTRY\\n\"", ",", "file", ")", ";", "remove_useless_addtr_insns", "(", "0", ")", ";", "}", ""], "natrual_language": ["On", "HP-PA", ",", "move-double", "insns", "between", "fpu", "and", "cpu", "need", "an", "8-byte", "block", "of", "memory", ".", "If", "any", "fpu", "reg", "is", "used", "in", "the", "function", ",", "we", "allocate", "such", "a", "block", "here", ",", "at", "the", "bottom", "of", "the", "frame", ",", "just", "in", "case", "it", "'s", "needed", ".", "If", "this", "function", "is", "a", "leaf", "procedure", ",", "then", "we", "may", "choose", "not", "to", "do", "a", "``", "save", "''", "insn", ".", "The", "decision", "about", "whether", "or", "not", "to", "do", "this", "is", "made", "in", "regclass.c", "."], "TS_V_token": ["pa", "0", "0", "\"\\t.PROC\\n\"", "\"\\t.CALLINFO FRAME=\"", "\",NO_CALLS\"", "\",CALLS\"", "\",SAVE_RP\"", "\",SAVE_SP\"", "\",ENTRY_GR=%d\"", "2", "\",ENTRY_FR=%d\"", "11", "\"\\n\\t.ENTRY\\n\"", "0"], "File": "pa4", "Func": "pa_output_function_prologue", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9902, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "loongarch_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": ["loongarch"], "File": "loongarch", "Func": "loongarch_emit_move", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9903, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMachineVerifierClean", "(", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "is", "expected", "to", "pass", "all", "machine", "verifier", "checks", "."], "TS_V_token": ["ARM"], "File": "ARMTargetMachine10", "Func": "isMachineVerifierClean", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9904, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsMCCodeEmitter", "::", "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", ".", "isDFPImm", "(", ")", ")", "{", "return", "static_cast", "<", "unsigned", ">", "(", "bit_cast", "<", "double", ">", "(", "MO", ".", "getDFPImm", "(", ")", ")", ")", ";", "}", "assert", "(", "MO", ".", "isExpr", "(", ")", ")", ";", "return", "getExprOpValue", "(", "MO", ".", "getExpr", "(", ")", ",", "Fixups", ",", "STI", ")", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsMCCodeEmitter (2)2", "Func": "getMachineOpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9905, "Length": 143, "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": 9906, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rx_decl_for_addr", "(", "rtx", "op", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "==", "MEM", ")", "op", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "CONST", ")", "op", "=", "XEXP", "(", "op", ",", "0", ")", ";", "while", "(", "GET_CODE", "(", "op", ")", "==", "PLUS", ")", "op", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "SYMBOL_REF", ")", "return", "SYMBOL_REF_DECL", "(", "op", ")", ";", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Find", "a", "SYMBOL_REF", "in", "a", "``", "standard", "''", "MEM", "address", "and", "return", "its", "decl", "."], "TS_V_token": ["rx", "0", "0", "0"], "File": "rx", "Func": "rx_decl_for_addr", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9907, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "EmitInstruction", "(", "const", "MCInst", "&", "Inst", ")", "{", "EmitA64MappingSymbol", "(", ")", ";", "MCELFStreamer", "::", "EmitInstruction", "(", "Inst", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["AArch64"], "File": "AArch64ELFStreamer1", "Func": "EmitInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9908, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_expand_sse_fp_minmax", "(", "rtx", "dest", ",", "enum", "rtx_code", "code", ",", "rtx", "cmp_op0", ",", "rtx", "cmp_op1", ",", "rtx", "if_true", ",", "rtx", "if_false", ")", "{", "machine_mode", "mode", ";", "bool", "is_min", ";", "rtx", "tmp", ";", "if", "(", "code", "==", "LT", ")", ";", "else", "if", "(", "code", "==", "UNGE", ")", "std", "::", "swap", "(", "if_true", ",", "if_false", ")", ";", "else", "return", "false", ";", "if", "(", "rtx_equal_p", "(", "cmp_op0", ",", "if_true", ")", "&&", "rtx_equal_p", "(", "cmp_op1", ",", "if_false", ")", ")", "is_min", "=", "true", ";", "else", "if", "(", "rtx_equal_p", "(", "cmp_op1", ",", "if_true", ")", "&&", "rtx_equal_p", "(", "cmp_op0", ",", "if_false", ")", ")", "is_min", "=", "false", ";", "else", "return", "false", ";", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "if", "(", "!", "flag_finite_math_only", "||", "flag_signed_zeros", ")", "{", "int", "u", "=", "is_min", "?", "UNSPEC_IEEE_MIN", ":", "UNSPEC_IEEE_MAX", ";", "rtvec", "v", ";", "if_true", "=", "force_reg", "(", "mode", ",", "if_true", ")", ";", "v", "=", "gen_rtvec", "(", "2", ",", "if_true", ",", "if_false", ")", ";", "tmp", "=", "gen_rtx_UNSPEC", "(", "mode", ",", "v", ",", "u", ")", ";", "}", "else", "{", "code", "=", "is_min", "?", "SMIN", ":", "SMAX", ";", "if", "(", "MEM_P", "(", "if_true", ")", "&&", "MEM_P", "(", "if_false", ")", ")", "if_true", "=", "force_reg", "(", "mode", ",", "if_true", ")", ";", "tmp", "=", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "if_true", ",", "if_false", ")", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "tmp", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Detect", "conditional", "moves", "that", "exactly", "match", "min/max", "operational", "semantics", ".", "Note", "that", "this", "is", "IEEE", "safe", ",", "as", "long", "as", "we", "do", "n't", "interchange", "the", "operands", ".", "Returns", "FALSE", "if", "this", "conditional", "move", "does", "n't", "match", "a", "MIN/MAX", ",", "and", "TRUE", "if", "the", "operation", "is", "successful", "and", "instructions", "are", "emitted", "."], "TS_V_token": ["i386", "2"], "File": "i386-expand", "Func": "ix86_expand_sse_fp_minmax", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9909, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"MOV to LEA transformation pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"MOV to LEA transformation pass\""], "File": "MOVToLEA", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9910, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "mep_validate_based_tiny", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add", ")", "{", "if", "(", "TREE_CODE", "(", "*", "node", ")", "!=", "VAR_DECL", "&&", "TREE_CODE", "(", "*", "node", ")", "!=", "POINTER_TYPE", "&&", "TREE_CODE", "(", "*", "node", ")", "!=", "TYPE_DECL", ")", "{", "warning", "(", "0", ",", "\"%qE attribute only applies to variables\"", ",", "name", ")", ";", "*", "no_add", "=", "true", ";", "}", "else", "if", "(", "args", "==", "NULL_TREE", "&&", "TREE_CODE", "(", "*", "node", ")", "==", "VAR_DECL", ")", "{", "if", "(", "!", "(", "TREE_PUBLIC", "(", "*", "node", ")", "||", "TREE_STATIC", "(", "*", "node", ")", ")", ")", "{", "warning", "(", "0", ",", "\"address region attributes not allowed with auto storage class\"", ")", ";", "*", "no_add", "=", "true", ";", "}", "if", "(", "TREE_TYPE", "(", "*", "node", ")", "&&", "TREE_CODE", "(", "TREE_TYPE", "(", "*", "node", ")", ")", "==", "POINTER_TYPE", ")", "{", "warning", "(", "0", ",", "\"address region attributes on pointed-to types ignored\"", ")", ";", "*", "no_add", "=", "true", ";", "}", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "attributes", "."], "TS_V_token": ["mep", "0", "\"%qE attribute only applies to variables\"", "0", "\"address region attributes not allowed with auto storage class\"", "0", "\"address region attributes on pointed-to types ignored\""], "File": "mep", "Func": "mep_validate_based_tiny", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9911, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SparcTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Should not custom lower this!\"", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "LowerRETURNADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "llvm_unreachable", "(", "\"TLS not implemented for Sparc.\"", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "LowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FP_TO_SINT", ":", "return", "LowerFP_TO_SINT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SINT_TO_FP", ":", "return", "LowerSINT_TO_FP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBR_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ",", "*", "this", ")", ";", "case", "ISD", "::", "VAARG", ":", "return", "LowerVAARG", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "LowerDYNAMIC_STACKALLOC", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Sparc", "Sparc", "\"Should not custom lower this!\"", "ISD::RETURNADDR", "ISD::FRAMEADDR", "ISD::GlobalTLSAddress", "\"TLS not implemented for Sparc.\"", "ISD::GlobalAddress", "ISD::ConstantPool", "ISD::FP_TO_SINT", "ISD::SINT_TO_FP", "ISD::BR_CC", "ISD::SELECT_CC", "ISD::VASTART", "ISD::VAARG", "ISD::DYNAMIC_STACKALLOC"], "File": "SparcISelLowering1", "Func": "LowerOperation", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9912, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCPostRASchedStrategy", "::", "tryCandidate", "(", "SchedCandidate", "&", "Cand", ",", "SchedCandidate", "&", "TryCand", ")", "{", "PostGenericScheduler", "::", "tryCandidate", "(", "Cand", ",", "TryCand", ")", ";", "if", "(", "!", "Cand", ".", "isValid", "(", ")", ")", "return", ";", "if", "(", "TryCand", ".", "Reason", "!=", "NodeOrder", "&&", "TryCand", ".", "Reason", "!=", "NoCand", ")", "return", ";", "if", "(", "biasAddiCandidate", "(", "Cand", ",", "TryCand", ")", ")", "return", ";", "}", ""], "natrual_language": ["Apply", "a", "set", "of", "heuristics", "to", "a", "new", "candidate", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCMachineScheduler7", "Func": "tryCandidate", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9913, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "x86_maybe_negate_const_int", "(", "rtx", "*", "loc", ",", "machine_mode", "mode", ")", "{", "HOST_WIDE_INT", "val", ";", "if", "(", "!", "CONST_INT_P", "(", "*", "loc", ")", ")", "return", "false", ";", "switch", "(", "mode", ")", "{", "case", "DImode", ":", "gcc_assert", "(", "x86_64_immediate_operand", "(", "*", "loc", ",", "mode", ")", ")", ";", "mode", "=", "SImode", ";", "break", ";", "case", "SImode", ":", "case", "HImode", ":", "case", "QImode", ":", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "mode_signbit_p", "(", "mode", ",", "*", "loc", ")", ")", "return", "false", ";", "val", "=", "INTVAL", "(", "*", "loc", ")", ";", "if", "(", "(", "val", "<", "0", "&&", "val", "!=", "-", "128", ")", "||", "val", "==", "128", ")", "{", "*", "loc", "=", "GEN_INT", "(", "-", "val", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["If", "profitable", ",", "negate", "(", "without", "causing", "overflow", ")", "integer", "constant", "of", "mode", "MODE", "at", "location", "LOC", ".", "Return", "true", "in", "this", "case", "."], "TS_V_token": ["i386", "0", "128", "128"], "File": "i3864", "Func": "x86_maybe_negate_const_int", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9914, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ix86_return_pops_args", "(", "tree", "fundecl", ",", "tree", "funtype", ",", "int", "size", ")", "{", "int", "rtd", "=", "TARGET_RTD", "&&", "(", "!", "fundecl", "||", "TREE_CODE", "(", "fundecl", ")", "!=", "IDENTIFIER_NODE", ")", ";", "if", "(", "!", "lookup_attribute", "(", "\"cdecl\"", ",", "TYPE_ATTRIBUTES", "(", "funtype", ")", ")", ")", "{", "if", "(", "lookup_attribute", "(", "\"stdcall\"", ",", "TYPE_ATTRIBUTES", "(", "funtype", ")", ")", "||", "lookup_attribute", "(", "\"fastcall\"", ",", "TYPE_ATTRIBUTES", "(", "funtype", ")", ")", ")", "rtd", "=", "1", ";", "if", "(", "rtd", "&&", "(", "TYPE_ARG_TYPES", "(", "funtype", ")", "==", "NULL_TREE", "||", "(", "TREE_VALUE", "(", "tree_last", "(", "TYPE_ARG_TYPES", "(", "funtype", ")", ")", ")", "==", "void_type_node", ")", ")", ")", "return", "size", ";", "}", "if", "(", "aggregate_value_p", "(", "TREE_TYPE", "(", "funtype", ")", ",", "fundecl", ")", "&&", "!", "TARGET_64BIT", "&&", "!", "KEEP_AGGREGATE_RETURN_POINTER", ")", "{", "int", "nregs", "=", "ix86_function_regparm", "(", "funtype", ",", "fundecl", ")", ";", "if", "(", "!", "nregs", ")", "return", "GET_MODE_SIZE", "(", "Pmode", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Value", "is", "the", "number", "of", "bytes", "of", "arguments", "automatically", "popped", "when", "returning", "from", "a", "subroutine", "call", ".", "FUNDECL", "is", "the", "declaration", "node", "of", "the", "function", "(", "as", "a", "tree", ")", ",", "FUNTYPE", "is", "the", "data", "type", "of", "the", "function", "(", "as", "a", "tree", ")", ",", "or", "for", "a", "library", "call", "it", "is", "an", "identifier", "node", "for", "the", "subroutine", "name", ".", "SIZE", "is", "the", "number", "of", "bytes", "of", "arguments", "passed", "on", "the", "stack", ".", "On", "the", "80386", ",", "the", "RTD", "insn", "may", "be", "used", "to", "pop", "them", "if", "the", "number", "of", "args", "is", "fixed", ",", "but", "if", "the", "number", "is", "variable", "then", "the", "caller", "must", "pop", "them", "all", ".", "RTD", "ca", "n't", "be", "used", "for", "library", "calls", "now", "because", "the", "library", "is", "compiled", "with", "the", "Unix", "compiler", ".", "Use", "of", "RTD", "is", "a", "selectable", "option", ",", "since", "it", "is", "incompatible", "with", "standard", "Unix", "calling", "sequences", ".", "If", "the", "option", "is", "not", "selected", ",", "the", "caller", "must", "always", "pop", "the", "args", ".", "The", "attribute", "stdcall", "is", "equivalent", "to", "RTD", "on", "a", "per", "module", "basis", "."], "TS_V_token": ["i386", "\"cdecl\"", "\"stdcall\"", "\"fastcall\"", "1", "0"], "File": "i3863", "Func": "ix86_return_pops_args", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9915, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"X86 FP Stackifier\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 FP Stackifier\""], "File": "X86FloatingPoint14", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9916, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64CallLowering", "::", "splitToValueTypes", "(", "const", "ArgInfo", "&", "OrigArg", ",", "SmallVectorImpl", "<", "ArgInfo", ">", "&", "SplitArgs", ",", "const", "DataLayout", "&", "DL", ",", "MachineRegisterInfo", "&", "MRI", ",", "const", "SplitArgTy", "&", "PerformArgSplit", ")", "const", "{", "const", "AArch64TargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "AArch64TargetLowering", ">", "(", ")", ";", "LLVMContext", "&", "Ctx", "=", "OrigArg", ".", "Ty", "->", "getContext", "(", ")", ";", "SmallVector", "<", "EVT", ",", "4", ">", "SplitVTs", ";", "SmallVector", "<", "uint64_t", ",", "4", ">", "Offsets", ";", "ComputeValueVTs", "(", "TLI", ",", "DL", ",", "OrigArg", ".", "Ty", ",", "SplitVTs", ",", "&", "Offsets", ",", "0", ")", ";", "if", "(", "SplitVTs", ".", "size", "(", ")", "==", "1", ")", "{", "SplitArgs", ".", "emplace_back", "(", "OrigArg", ".", "Reg", ",", "SplitVTs", "[", "0", "]", ".", "getTypeForEVT", "(", "Ctx", ")", ",", "OrigArg", ".", "Flags", ",", "OrigArg", ".", "IsFixed", ")", ";", "return", ";", "}", "unsigned", "FirstRegIdx", "=", "SplitArgs", ".", "size", "(", ")", ";", "for", "(", "auto", "SplitVT", ":", "SplitVTs", ")", "{", "Type", "*", "SplitTy", "=", "SplitVT", ".", "getTypeForEVT", "(", "Ctx", ")", ";", "SplitArgs", ".", "push_back", "(", "ArgInfo", "{", "MRI", ".", "createGenericVirtualRegister", "(", "LLT", "{", "*", "SplitTy", ",", "DL", "}", ")", ",", "SplitTy", ",", "OrigArg", ".", "Flags", ",", "OrigArg", ".", "IsFixed", "}", ")", ";", "}", "SmallVector", "<", "uint64_t", ",", "4", ">", "BitOffsets", ";", "for", "(", "auto", "Offset", ":", "Offsets", ")", "BitOffsets", ".", "push_back", "(", "Offset", "*", "8", ")", ";", "SmallVector", "<", "unsigned", ",", "8", ">", "SplitRegs", ";", "for", "(", "auto", "I", "=", "&", "SplitArgs", "[", "FirstRegIdx", "]", ";", "I", "!=", "SplitArgs", ".", "end", "(", ")", ";", "++", "I", ")", "SplitRegs", ".", "push_back", "(", "I", "->", "Reg", ")", ";", "PerformArgSplit", "(", "SplitRegs", ",", "BitOffsets", ")", ";", "}", ""], "natrual_language": ["Break", "OrigArgInfo", "into", "one", "or", "more", "pieces", "the", "calling", "convention", "can", "process", ",", "returned", "in", "SplitArgs", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "4", "4", "0", "1", "0", "4", "8", "8"], "File": "AArch64CallLowering23", "Func": "splitToValueTypes", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9917, "Length": 264, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "reg_class", "mep_secondary_copro_reload_class", "(", "enum", "reg_class", "rclass", ",", "rtx", "x", ")", "{", "if", "(", "mep_general_reg", "(", "x", ")", ")", "return", "NO_REGS", ";", "if", "(", "mep_general_copro_reg", "(", "x", ")", ")", "{", "if", "(", "mep_have_copro_copro_moves_p", ")", "return", "NO_REGS", ";", "if", "(", "mep_have_core_copro_moves_p", ")", "return", "GENERAL_REGS", ";", "return", "NO_REGS", ";", "}", "if", "(", "reg_class_subset_p", "(", "rclass", ",", "LOADABLE_CR_REGS", ")", "&&", "constraint_satisfied_p", "(", "x", ",", "CONSTRAINT_U", ")", ")", "return", "NO_REGS", ";", "return", "GENERAL_REGS", ";", "}", ""], "natrual_language": ["Return", "the", "secondary", "reload", "class", "needed", "for", "moving", "value", "X", "to", "or", "from", "a", "register", "in", "coprocessor", "register", "class", "CLASS", "."], "TS_V_token": ["mep"], "File": "mep", "Func": "mep_secondary_copro_reload_class", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9918, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "uses_TOC", "(", ")", "{", "rtx", "insn", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "if", "(", "INSN_P", "(", "insn", ")", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "int", "i", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", ")", "for", "(", "i", "=", "0", ";", "i", "<", "XVECLEN", "(", "PATTERN", "(", "insn", ")", ",", "0", ")", ";", "i", "++", ")", "if", "(", "GET_CODE", "(", "XVECEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ",", "i", ")", ")", "==", "UNSPEC", "&&", "XINT", "(", "XVECEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ",", "i", ")", ",", "1", ")", "==", "7", ")", "return", "1", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["This", "retuns", "nonzero", "if", "the", "current", "function", "uses", "the", "TOC", ".", "This", "is", "determined", "by", "the", "presence", "of", "(", "unspec", "...", "7", ")", ",", "which", "is", "generated", "by", "the", "various", "load_toc_", "*", "patterns", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "1", "7", "1", "0"], "File": "rs60002", "Func": "uses_TOC", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9919, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMem", "(", ")", "const", "{", "return", "Kind", "==", "Memory", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["X86"], "File": "X86AsmParser (2)2", "Func": "isMem", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9920, "Length": 12, "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": 9921, "Length": 305, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "HOST_WIDE_INT", "aarch64_asan_shadow_offset", "(", "void", ")", "{", "return", "(", "HOST_WIDE_INT_1", "<<", "36", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_ASAN_SHADOW_OFFSET", "hook", "."], "TS_V_token": ["aarch64", "36"], "File": "aarch642", "Func": "aarch64_asan_shadow_offset", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9922, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MandarinInstrInfo", "::", "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", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "*", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "FrameIndex", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FrameIndex", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FrameIndex", ")", ")", ";", "if", "(", "RC", "==", "&", "MD", "::", "GenericRegsRegClass", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "MD", "::", "LOADrr", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", "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": ["Mandarin", "MD::GenericRegsRegClass", "MD::LOADrr", "0", "\"Cannot store this register to stack slot!\""], "File": "MandarinInstrInfo", "Func": "loadRegFromStackSlot", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9923, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "postOffset", "(", "unsigned", "LogAlign", "=", "0", ")", "const", "{", "unsigned", "PO", "=", "Offset", "+", "Size", ";", "unsigned", "Align", "=", "1", "<<", "LogAlign", ";", "return", "(", "PO", "+", "Align", "-", "1", ")", "/", "Align", "*", "Align", ";", "}", ""], "natrual_language": ["Compute", "the", "offset", "immediately", "following", "this", "block", "."], "TS_V_token": ["ARM64", "0", "1", "1"], "File": "ARM64BranchRelaxation", "Func": "postOffset", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9924, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TOYInstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["TOY", "TOY"], "File": "TOYSubtarget1", "Func": "getInstrInfo", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9925, "Length": 14, "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": 9926, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcSubtarget", "&", "SparcSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "UseSoftMulDiv", "=", "false", ";", "IsV9", "=", "false", ";", "IsLeon", "=", "false", ";", "V8DeprecatedInsts", "=", "false", ";", "IsVIS", "=", "false", ";", "IsVIS2", "=", "false", ";", "IsVIS3", "=", "false", ";", "HasHardQuad", "=", "false", ";", "UsePopc", "=", "false", ";", "UseSoftFloat", "=", "false", ";", "HasNoFSMULD", "=", "false", ";", "HasNoFMULS", "=", "false", ";", "HasLeonCasa", "=", "false", ";", "HasUmacSmac", "=", "false", ";", "PerformSDIVReplace", "=", "false", ";", "InsertNOPLoad", "=", "false", ";", "FixAllFDIVSQRT", "=", "false", ";", "DetectRoundChange", "=", "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": "SparcSubtarget41", "Func": "initializeSubtargetDependencies", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9927, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isNarrowingProfitable", "(", "MVT", "VT1", ",", "MVT", "VT2", ")", "const", "{", "return", "!", "(", "VT1", "==", "MVT", "::", "i32", "&&", "VT2", "==", "MVT", "::", "i16", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "'s", "profitable", "to", "narrow", "operations", "of", "type", "SrcVT", "to", "DestVT", "."], "TS_V_token": ["X86", "X86", "MVT::i32", "MVT::i16"], "File": "X86ISelLowering77", "Func": "isNarrowingProfitable", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9928, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "(", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "MF", ".", "getFrameInfo", "(", ")", ".", "hasVarSizedObjects", "(", ")", "||", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", "->", "getManipulatesSP", "(", ")", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ"], "File": "SystemZFrameLowering1", "Func": "hasFP", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9929, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm32_output_mi_thunk", "(", "FILE", "*", "file", ",", "tree", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", ",", "tree", "function", ")", "{", "const", "bool", "long_call_p", "=", "arm_is_long_call_p", "(", "function", ")", ";", "int", "this_regno", "=", "(", "aggregate_value_p", "(", "TREE_TYPE", "(", "TREE_TYPE", "(", "function", ")", ")", ",", "function", ")", "?", "R1_REGNUM", ":", "R0_REGNUM", ")", ";", "rtx", "temp", "=", "gen_rtx_REG", "(", "Pmode", ",", "IP_REGNUM", ")", ";", "rtx", "this_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "this_regno", ")", ";", "reload_completed", "=", "1", ";", "emit_note", "(", "NOTE_INSN_PROLOGUE_END", ")", ";", "if", "(", "delta", "!=", "0", ")", "arm_split_constant", "(", "PLUS", ",", "Pmode", ",", "NULL_RTX", ",", "delta", ",", "this_rtx", ",", "this_rtx", ",", "false", ")", ";", "if", "(", "vcall_offset", "!=", "0", ")", "{", "emit_move_insn", "(", "temp", ",", "gen_rtx_MEM", "(", "Pmode", ",", "this_rtx", ")", ")", ";", "arm_split_constant", "(", "PLUS", ",", "Pmode", ",", "NULL_RTX", ",", "vcall_offset", ",", "temp", ",", "temp", ",", "false", ")", ";", "emit_move_insn", "(", "temp", ",", "gen_rtx_MEM", "(", "Pmode", ",", "temp", ")", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "this_rtx", ",", "this_rtx", ",", "temp", ")", ")", ";", "}", "if", "(", "!", "TREE_USED", "(", "function", ")", ")", "{", "assemble_external", "(", "function", ")", ";", "TREE_USED", "(", "function", ")", "=", "1", ";", "}", "rtx", "funexp", "=", "XEXP", "(", "DECL_RTL", "(", "function", ")", ",", "0", ")", ";", "if", "(", "long_call_p", ")", "{", "emit_move_insn", "(", "temp", ",", "funexp", ")", ";", "funexp", "=", "temp", ";", "}", "funexp", "=", "gen_rtx_MEM", "(", "FUNCTION_MODE", ",", "funexp", ")", ";", "rtx_insn", "*", "insn", "=", "emit_call_insn", "(", "gen_sibcall", "(", "funexp", ",", "const0_rtx", ",", "NULL_RTX", ")", ")", ";", "SIBLING_CALL_P", "(", "insn", ")", "=", "1", ";", "emit_barrier", "(", ")", ";", "if", "(", "long_call_p", ")", "{", "split_all_insns_noflow", "(", ")", ";", "arm_reorg", "(", ")", ";", "}", "insn", "=", "get_insns", "(", ")", ";", "shorten_branches", "(", "insn", ")", ";", "final_start_function", "(", "insn", ",", "file", ",", "1", ")", ";", "final", "(", "insn", ",", "file", ",", "1", ")", ";", "final_end_function", "(", ")", ";", "reload_completed", "=", "0", ";", "}", ""], "natrual_language": ["MI", "thunk", "handling", "for", "TARGET_32BIT", "."], "TS_V_token": ["arm", "1", "0", "0", "1", "0", "1", "1", "1", "0"], "File": "arm", "Func": "arm32_output_mi_thunk", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9930, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsCallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "ArrayRef", "<", "unsigned", ">", "VRegs", ")", "const", "{", "MachineInstrBuilder", "Ret", "=", "MIRBuilder", ".", "buildInstrNoInsert", "(", "Mips", "::", "RetRA", ")", ";", "if", "(", "Val", "!=", "nullptr", "&&", "!", "isSupportedType", "(", "Val", "->", "getType", "(", ")", ")", ")", "return", "false", ";", "if", "(", "!", "VRegs", ".", "empty", "(", ")", ")", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "const", "DataLayout", "&", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "const", "MipsTargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "MipsTargetLowering", ">", "(", ")", ";", "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", ">", "RetInfos", ";", "SmallVector", "<", "unsigned", ",", "8", ">", "OrigArgIndices", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "SplitEVTs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "ArgInfo", "CurArgInfo", "=", "ArgInfo", "{", "VRegs", "[", "i", "]", ",", "SplitEVTs", "[", "i", "]", ".", "getTypeForEVT", "(", "Ctx", ")", "}", ";", "setArgFlags", "(", "CurArgInfo", ",", "AttributeList", "::", "ReturnIndex", ",", "DL", ",", "F", ")", ";", "splitToValueTypes", "(", "CurArgInfo", ",", "0", ",", "RetInfos", ",", "OrigArgIndices", ")", ";", "}", "SmallVector", "<", "ISD", "::", "OutputArg", ",", "8", ">", "Outs", ";", "subTargetRegTypeForCallingConv", "(", "MIRBuilder", ",", "RetInfos", ",", "OrigArgIndices", ",", "[", "&", "]", "(", "ISD", "::", "ArgFlagsTy", "flags", ",", "EVT", "vt", ",", "EVT", "argvt", ",", "bool", "used", ",", "unsigned", "origIdx", ",", "unsigned", "partOffs", ")", "{", "Outs", ".", "emplace_back", "(", "flags", ",", "vt", ",", "argvt", ",", "used", ",", "origIdx", ",", "partOffs", ")", ";", "}", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "MipsCCState", "CCInfo", "(", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ",", "MF", ",", "ArgLocs", ",", "F", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "TLI", ".", "CCAssignFnForReturn", "(", ")", ")", ";", "OutgoingValueHandler", "RetHandler", "(", "MIRBuilder", ",", "MF", ".", "getRegInfo", "(", ")", ",", "Ret", ")", ";", "if", "(", "!", "RetHandler", ".", "handle", "(", "ArgLocs", ",", "RetInfos", ")", ")", "{", "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": ["Mips", "Mips", "Mips::RetRA", "Mips", "Mips", "4", "\"For each split Type there should be exactly one VReg.\"", "8", "8", "0", "0", "ISD::OutputArg", "8", "ISD::ArgFlagsTy", "16", "Mips"], "File": "MipsCallLowering", "Func": "lowerReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9931, "Length": 396, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_expand_cpymem", "(", "rtx", "*", "operands", ")", "{", "int", "n", ",", "mode_bits", ";", "rtx", "dst", "=", "operands", "[", "0", "]", ";", "rtx", "src", "=", "operands", "[", "1", "]", ";", "rtx", "base", ";", "machine_mode", "cur_mode", "=", "BLKmode", ",", "next_mode", ";", "bool", "speed_p", "=", "!", "optimize_function_for_size_p", "(", "cfun", ")", ";", "int", "max_num_moves", "=", "(", "speed_p", "?", "16", ":", "AARCH64_CALL_RATIO", ")", "/", "2", ";", "if", "(", "!", "CONST_INT_P", "(", "operands", "[", "2", "]", ")", ")", "return", "false", ";", "n", "=", "INTVAL", "(", "operands", "[", "2", "]", ")", ";", "if", "(", "(", "(", "n", "/", "16", ")", "+", "(", "n", "%", "16", "?", "2", ":", "0", ")", ")", ">", "max_num_moves", ")", "return", "false", ";", "base", "=", "copy_to_mode_reg", "(", "Pmode", ",", "XEXP", "(", "dst", ",", "0", ")", ")", ";", "dst", "=", "adjust_automodify_address", "(", "dst", ",", "VOIDmode", ",", "base", ",", "0", ")", ";", "base", "=", "copy_to_mode_reg", "(", "Pmode", ",", "XEXP", "(", "src", ",", "0", ")", ")", ";", "src", "=", "adjust_automodify_address", "(", "src", ",", "VOIDmode", ",", "base", ",", "0", ")", ";", "n", "=", "n", "*", "BITS_PER_UNIT", ";", "const", "int", "copy_limit", "=", "GET_MODE_BITSIZE", "(", "TImode", ")", ";", "while", "(", "n", ">", "0", ")", "{", "opt_scalar_int_mode", "mode_iter", ";", "FOR_EACH_MODE_IN_CLASS", "(", "mode_iter", ",", "MODE_INT", ")", "if", "(", "GET_MODE_BITSIZE", "(", "mode_iter", ".", "require", "(", ")", ")", "<=", "MIN", "(", "n", ",", "copy_limit", ")", ")", "cur_mode", "=", "mode_iter", ".", "require", "(", ")", ";", "gcc_assert", "(", "cur_mode", "!=", "BLKmode", ")", ";", "mode_bits", "=", "GET_MODE_BITSIZE", "(", "cur_mode", ")", ".", "to_constant", "(", ")", ";", "aarch64_copy_one_block_and_progress_pointers", "(", "&", "src", ",", "&", "dst", ",", "cur_mode", ")", ";", "n", "-=", "mode_bits", ";", "if", "(", "n", ">", "0", "&&", "n", "<=", "8", "*", "BITS_PER_UNIT", ")", "{", "next_mode", "=", "smallest_mode_for_size", "(", "n", ",", "MODE_INT", ")", ";", "int", "n_bits", "=", "GET_MODE_BITSIZE", "(", "next_mode", ")", ".", "to_constant", "(", ")", ";", "src", "=", "aarch64_move_pointer", "(", "src", ",", "(", "n", "-", "n_bits", ")", "/", "BITS_PER_UNIT", ")", ";", "dst", "=", "aarch64_move_pointer", "(", "dst", ",", "(", "n", "-", "n_bits", ")", "/", "BITS_PER_UNIT", ")", ";", "n", "=", "n_bits", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Expand", "cpymem", ",", "as", "if", "from", "a", "__builtin_memcpy", ".", "Return", "true", "if", "we", "succeed", ",", "otherwise", "return", "false", "."], "TS_V_token": ["aarch64", "0", "1", "16", "2", "2", "2", "16", "16", "2", "0", "0", "0", "0", "0", "0", "0", "8"], "File": "aarch64", "Func": "aarch64_expand_cpymem", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9932, "Length": 328, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_using_red_zone", "(", "void", ")", "{", "return", "(", "TARGET_RED_ZONE", "&&", "!", "TARGET_64BIT_MS_ABI", "&&", "(", "!", "cfun", "->", "machine", "->", "has_local_indirect_jump", "||", "cfun", "->", "machine", "->", "indirect_branch_type", "==", "indirect_branch_keep", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "red-zone", "is", "in", "use", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_using_red_zone", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9933, "Length": 32, "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", "(", ")", ".", "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": "MipsISelLowering (2)1", "Func": "getOpndList", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9934, "Length": 379, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_interrupt_extra_call_saved_reg_p", "(", "unsigned", "int", "regno", ")", "{", "if", "(", "(", "ISA_HAS_HILO", "||", "TARGET_DSP", ")", "&&", "MD_REG_P", "(", "regno", ")", ")", "return", "true", ";", "if", "(", "TARGET_DSP", "&&", "DSP_ACC_REG_P", "(", "regno", ")", ")", "return", "true", ";", "if", "(", "GP_REG_P", "(", "regno", ")", "&&", "cfun", "->", "machine", "->", "use_shadow_register_set", "==", "SHADOW_SET_NO", ")", "{", "if", "(", "regno", "==", "GP_REG_FIRST", ")", "return", "false", ";", "if", "(", "KERNEL_REG_P", "(", "regno", ")", ")", "return", "false", ";", "if", "(", "regno", "==", "STACK_POINTER_REGNUM", ")", "return", "false", ";", "return", "call_used_regs", "[", "regno", "]", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "REGNO", "is", "a", "register", "that", "is", "ordinarily", "call-clobbered", "but", "must", "nevertheless", "be", "preserved", "by", "an", "interrupt", "handler", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_interrupt_extra_call_saved_reg_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9935, "Length": 92, "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", "(", "const", "CalleeSavedInfo", "&", "I", ":", "CSI", ")", "{", "Register", "Reg", "=", "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", ",", "I", ".", "getFrameIdx", "(", ")", ",", "RC", ",", "TRI", ")", ";", "}", "unsigned", "Opc", "=", "STI", ".", "is64Bit", "(", ")", "?", "X86", "::", "POP64r", ":", "X86", "::", "POP32r", ";", "for", "(", "const", "CalleeSavedInfo", "&", "I", ":", "CSI", ")", "{", "Register", "Reg", "=", "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", "X86::GR64RegClass", "X86::GR32RegClass", "MVT::Other", "X86::VK16RegClass", "MVT::v64i1", "MVT::v16i1", "X86::POP64r", "X86::POP32r", "X86::GR64RegClass", "X86::GR32RegClass"], "File": "X86FrameLowering (2)3", "Func": "restoreCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9936, "Length": 335, "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", ":", "{", "bool", "Valid", ";", "StringRef", "Name", "=", "AArch64DB", "::", "DBarrierMapper", "(", ")", ".", "toString", "(", "getBarrier", "(", ")", ",", "Valid", ")", ";", "if", "(", "Valid", ")", "OS", "<<", "\"\"", ";", "else", "OS", "<<", "\"\"", ";", "break", ";", "}", "case", "k_Immediate", ":", "getImm", "(", ")", "->", "print", "(", "OS", ")", ";", "break", ";", "case", "k_ShiftedImm", ":", "{", "unsigned", "Shift", "=", "getShiftedImmShift", "(", ")", ";", "OS", "<<", "\"", "print", "(", "OS", ")", ";", "OS", "<<", "\", lsl #\"", "<<", "AArch64_AM", "::", "getShiftValue", "(", "Shift", ")", "<<", "\">\"", ";", "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", ":", "{", "bool", "Valid", ";", "StringRef", "Name", "=", "AArch64PRFM", "::", "PRFMMapper", "(", ")", ".", "toString", "(", "getPrefetch", "(", ")", ",", "Valid", ")", ";", "if", "(", "Valid", ")", "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", "\"\"", "AArch64DB::DBarrierMapper", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"<\"", "AArch64_AM::getShiftExtendName", "\" #\"", "\"\""], "File": "AArch64AsmParser (2)1", "Func": "print", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9937, "Length": 379, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "CSKYTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "CSKYPassConfig", "(", "*", "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": ["CSKY", "CSKY", "CSKY"], "File": "CSKYTargetMachine (2)", "Func": "createPassConfig", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9938, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64MCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "verifyInstructionPredicates", "(", "MI", ",", "computeAvailableFeatures", "(", "STI", ".", "getFeatureBits", "(", ")", ")", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "TLSDESCCALL", ")", "{", "MCFixupKind", "Fixup", "=", "MCFixupKind", "(", "AArch64", "::", "fixup_aarch64_tlsdesc_call", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "MI", ".", "getOperand", "(", "0", ")", ".", "getExpr", "(", ")", ",", "Fixup", ")", ")", ";", "return", ";", "}", "uint64_t", "Binary", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "support", "::", "endian", "::", "Writer", "<", "support", "::", "little", ">", "(", "OS", ")", ".", "write", "<", "uint32_t", ">", "(", "Binary", ")", ";", "++", "MCNumEmitted", ";", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::TLSDESCCALL", "AArch64::fixup_aarch64_tlsdesc_call", "0", "0", "support::endian", "support::little"], "File": "AArch64MCCodeEmitter20", "Func": "encodeInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9939, "Length": 131, "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_arch5t", ")", "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": "arm8", "Func": "arm_options_perform_arch_sanity_checks", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9940, "Length": 234, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "Operands", ".", "push_back", "(", "SparcOperand", "::", "CreateToken", "(", "Name", ",", "NameLoc", ")", ")", ";", "applyMnemonicAliases", "(", "Name", ",", "getAvailableFeatures", "(", ")", ",", "0", ")", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "if", "(", "parseBranchModifiers", "(", "Operands", ")", "!=", "MatchOperand_Success", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token\"", ")", ";", "}", "}", "if", "(", "parseOperand", "(", "Operands", ",", "Name", ")", "!=", "MatchOperand_Success", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token\"", ")", ";", "}", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", "||", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Plus", ")", ")", "{", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Plus", ")", ")", "{", "Operands", ".", "push_back", "(", "SparcOperand", "::", "CreateToken", "(", "\"+\"", ",", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ")", ")", ";", "}", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "parseOperand", "(", "Operands", ",", "Name", ")", "!=", "MatchOperand_Success", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token\"", ")", ";", "}", "}", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token\"", ")", ";", "}", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["Sparc", "Sparc", "SparcOperand::CreateToken", "0", "\"unexpected token\"", "\"unexpected token\"", "SparcOperand::CreateToken", "\"+\"", "\"unexpected token\"", "\"unexpected token\""], "File": "SparcAsmParser30", "Func": "ParseInstruction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9941, "Length": 306, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCRegisterInfo", "::", "getFrameRegister", "(", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "isPPC64", "(", ")", ")", "return", "hasFP", "(", "MF", ")", "?", "PPC", "::", "R31", ":", "PPC", "::", "R1", ";", "else", "return", "hasFP", "(", "MF", ")", "?", "PPC", "::", "X31", ":", "PPC", "::", "X1", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::R31", "PPC::R1", "PPC::X31", "PPC::X1"], "File": "PPCRegisterInfo23", "Func": "getFrameRegister", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9942, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ")", "const", "override", "{", "if", "(", "Count", "%", "4", "!=", "0", ")", "return", "false", ";", "uint64_t", "NumNops", "=", "Count", "/", "4", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "!=", "NumNops", ";", "++", "i", ")", "support", "::", "endian", "::", "write", "<", "uint32_t", ">", "(", "OS", ",", "0x01000000", ",", "Endian", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["Sparc", "4", "0", "4", "0", "support::endian", "0x01000000"], "File": "SparcAsmBackend11", "Func": "writeNopData", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9943, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "LEGRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "LEG", "::", "SP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["LEG", "LEG", "LEG::SP"], "File": "LEGRegisterInfo", "Func": "getFrameRegister", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9944, "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": ["Dcpu16"], "File": "Dcpu16InstrInfo", "Func": "getRegisterInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9945, "Length": 13, "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": 9946, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "MipsDAGToDAGISel", "::", "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\"", ")", ";", "Node", "->", "setNodeId", "(", "-", "1", ")", ";", "return", "NULL", ";", "}", "std", "::", "pair", "<", "bool", ",", "SDNode", "*", ">", "Ret", "=", "selectNode", "(", "Node", ")", ";", "if", "(", "Ret", ".", "first", ")", "return", "Ret", ".", "second", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "GLOBAL_OFFSET_TABLE", ":", "return", "getGlobalBaseReg", "(", ")", ";", "case", "ISD", "::", "LOAD", ":", "case", "ISD", "::", "STORE", ":", "assert", "(", "cast", "<", "MemSDNode", ">", "(", "Node", ")", "->", "getMemoryVT", "(", ")", ".", "getSizeInBits", "(", ")", "/", "8", "<=", "cast", "<", "MemSDNode", ">", "(", "Node", ")", "->", "getAlignment", "(", ")", "&&", "\"Unexpected unaligned loads/stores.\"", ")", ";", "break", ";", "}", "SDNode", "*", "ResNode", "=", "SelectCode", "(", "Node", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"=> \"", ")", ";", "if", "(", "ResNode", "==", "NULL", "||", "ResNode", "==", "Node", ")", "DEBUG", "(", "Node", "->", "dump", "(", "CurDAG", ")", ")", ";", "else", "DEBUG", "(", "ResNode", "->", "dump", "(", "CurDAG", ")", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "return", "ResNode", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["Mips", "Mips", "\"Selecting: \"", "\"\\n\"", "\"== \"", "\"\\n\"", "1", "ISD::GLOBAL_OFFSET_TABLE", "ISD::LOAD", "ISD::STORE", "8", "\"Unexpected unaligned loads/stores.\"", "\"=> \"", "\"\\n\""], "File": "MipsISelDAGToDAG2", "Func": "Select", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9947, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "reg_class", "mep_secondary_output_reload_class", "(", "enum", "reg_class", "rclass", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ")", "{", "int", "rv", "=", "NO_REGS", ";", "fprintf", "(", "stderr", ",", "\"secondary output reload copy from %s %s to \"", ",", "reg_class_names", "[", "rclass", "]", ",", "mode_name", "[", "mode", "]", ")", ";", "debug_rtx", "(", "x", ")", ";", "if", "(", "reg_class_subset_p", "(", "rclass", ",", "CR_REGS", ")", ")", "rv", "=", "mep_secondary_copro_reload_class", "(", "rclass", ",", "x", ")", ";", "else", "if", "(", "MEP_NONGENERAL_CLASS", "(", "rclass", ")", "&&", "(", "mep_nonregister", "(", "x", ")", "||", "mep_nongeneral_reg", "(", "x", ")", ")", ")", "rv", "=", "GENERAL_REGS", ";", "fprintf", "(", "stderr", ",", "\" - requires %s\\n\"", ",", "reg_class_names", "[", "rv", "]", ")", ";", "return", "(", "enum", "reg_class", ")", "rv", ";", "}", ""], "natrual_language": ["Copying", "register", "in", "RCLASS", "to", "X", "."], "TS_V_token": ["mep", "\"secondary output reload copy from %s %s to \"", "\" - requires %s\\n\""], "File": "mep", "Func": "mep_secondary_output_reload_class", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9948, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "shouldTransformSignedTruncationCheck", "(", "EVT", "XVT", ",", "unsigned", "KeptBits", ")", "const", "override", "{", "if", "(", "XVT", ".", "isVector", "(", ")", ")", "return", "false", ";", "auto", "VTIsOk", "=", "[", "]", "(", "EVT", "VT", ")", "->", "bool", "{", "return", "VT", "==", "MVT", "::", "i8", "||", "VT", "==", "MVT", "::", "i16", "||", "VT", "==", "MVT", "::", "i32", "||", "VT", "==", "MVT", "::", "i64", ";", "}", ";", "MVT", "KeptBitsVT", "=", "MVT", "::", "getIntegerVT", "(", "KeptBits", ")", ";", "return", "VTIsOk", "(", "XVT", ")", "&&", "VTIsOk", "(", "KeptBitsVT", ")", ";", "}", ""], "natrual_language": ["Should", "we", "tranform", "the", "IR-optimal", "check", "for", "whether", "given", "truncation", "down", "into", "KeptBits", "would", "be", "truncating", "or", "not", ":", "(", "add", "x", ",", "(", "1", "<", "<", "(", "KeptBits-1", ")", ")", ")", "srccond", "(", "1", "<", "<", "KeptBits", ")", "Into", "it", "'s", "more", "traditional", "form", ":", "(", "(", "x", "<", "<", "C", ")", "a", ">", ">", "C", ")", "dstcond", "x", "Return", "true", "if", "we", "should", "transform", "."], "TS_V_token": ["X86", "MVT::i8", "MVT::i16", "MVT::i32", "MVT::i64", "MVT::getIntegerVT"], "File": "X86ISelLowering", "Func": "shouldTransformSignedTruncationCheck", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9949, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "function_resolver", "::", "require_matching_pointer_type", "(", "unsigned", "int", "argno", ",", "unsigned", "int", "first_argno", ",", "type_suffix_index", "type", ")", "{", "type_suffix_index", "new_type", "=", "infer_pointer_type", "(", "argno", ")", ";", "if", "(", "new_type", "==", "NUM_TYPE_SUFFIXES", ")", "return", "false", ";", "if", "(", "type", "!=", "new_type", ")", "{", "error_at", "(", "location", ",", "\"passing %qT to argument %d of %qE, but\"", "\" argument %d had type %qT\"", ",", "get_argument_type", "(", "argno", ")", ",", "argno", "+", "1", ",", "fndecl", ",", "first_argno", "+", "1", ",", "get_argument_type", "(", "first_argno", ")", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Require", "argument", "ARGNO", "to", "match", "argument", "FIRST_ARGNO", ",", "which", "was", "inferred", "to", "be", "a", "pointer", "to", "a", "scalar", "element", "of", "type", "TYPE", "."], "TS_V_token": ["aarch64", "\"passing %qT to argument %d of %qE, but\"", "\" argument %d had type %qT\"", "1", "1"], "File": "aarch64-sve-builtins", "Func": "require_matching_pointer_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9950, "Length": 77, "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": 9951, "Length": 322, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "ARMTargetLowering", "::", "getRegClassFor", "(", "EVT", "VT", ")", "const", "{", "if", "(", "Subtarget", "->", "hasNEON", "(", ")", ")", "{", "if", "(", "VT", "==", "MVT", "::", "v4i64", ")", "return", "ARM", "::", "QQPRRegisterClass", ";", "else", "if", "(", "VT", "==", "MVT", "::", "v8i64", ")", "return", "ARM", "::", "QQQQPRRegisterClass", ";", "}", "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::QQPRRegisterClass", "MVT::v8i64", "ARM::QQQQPRRegisterClass"], "File": "ARMISelLowering116", "Func": "getRegClassFor", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9952, "Length": 58, "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", ")", ",", "HasPOPCNT", "(", "false", ")", ",", "HasSSE4A", "(", "false", ")", ",", "HasAVX", "(", "false", ")", ",", "HasAES", "(", "false", ")", ",", "HasCLMUL", "(", "false", ")", ",", "HasFMA3", "(", "false", ")", ",", "HasFMA4", "(", "false", ")", ",", "IsBTMemSlow", "(", "false", ")", ",", "IsUAMemFast", "(", "false", ")", ",", "HasVectorUAMem", "(", "false", ")", ",", "stackAlignment", "(", "8", ")", ",", "MaxInlineSizeThreshold", "(", "128", ")", ",", "TargetTriple", "(", "TT", ")", ",", "Is64Bit", "(", "is64Bit", ")", "{", "if", "(", "FloatABIType", "==", "FloatABI", "::", "Default", ")", "FloatABIType", "=", "FloatABI", "::", "Hard", ";", "if", "(", "!", "FS", ".", "empty", "(", ")", ")", "{", "std", "::", "string", "CPU", "=", "sys", "::", "getHostCPUName", "(", ")", ";", "ParseSubtargetFeatures", "(", "FS", ",", "CPU", ")", ";", "if", "(", "HasAVX", ")", "X86SSELevel", "=", "NoMMXSSE", ";", "}", "else", "{", "AutoDetectSubtargetFeatures", "(", ")", ";", "if", "(", "Is64Bit", "&&", "!", "HasAVX", "&&", "X86SSELevel", "<", "SSE2", ")", "X86SSELevel", "=", "SSE2", ";", "}", "if", "(", "Is64Bit", ")", "{", "HasX86_64", "=", "true", ";", "HasCMov", "=", "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", "(", "isTargetDarwin", "(", ")", "||", "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", "8", "128", "X86", "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!\"", "16"], "File": "X86Subtarget35", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9953, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "PPCTargetLowering", "::", "getSetCCResultType", "(", "LLVMContext", "&", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "Subtarget", ".", "useCRBits", "(", ")", "?", "MVT", "::", "i1", ":", "MVT", "::", "i32", ";", "return", "VT", ".", "changeVectorElementTypeToInteger", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["PowerPC", "PPC", "MVT::i1", "MVT::i32"], "File": "PPCISelLowering148", "Func": "getSetCCResultType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9954, "Length": 45, "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", "(", ")", ";", "const", "X86RegisterInfo", "*", "RegInfo", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "SlotSize", "=", "RegInfo", "->", "getSlotSize", "(", ")", ";", "X86MachineFunctionInfo", "*", "X86FI", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "unsigned", "CalleeSavedFrameSize", "=", "0", ";", "int", "SpillSlotOffset", "=", "getOffsetOfLocalArea", "(", ")", "+", "X86FI", "->", "getTCReturnAddrDelta", "(", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "SpillSlotOffset", "-=", "SlotSize", ";", "MFI", "->", "CreateFixedSpillStackObject", "(", "SlotSize", ",", "SpillSlotOffset", ")", ";", "unsigned", "FPReg", "=", "RegInfo", "->", "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", ";", "const", "TargetRegisterClass", "*", "RC", "=", "RegInfo", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "SpillSlotOffset", "-=", "std", "::", "abs", "(", "SpillSlotOffset", ")", "%", "RC", "->", "getAlignment", "(", ")", ";", "SpillSlotOffset", "-=", "RC", "->", "getSize", "(", ")", ";", "int", "SlotIndex", "=", "MFI", "->", "CreateFixedSpillStackObject", "(", "RC", "->", "getSize", "(", ")", ",", "SpillSlotOffset", ")", ";", "CSI", "[", "i", "-", "1", "]", ".", "setFrameIdx", "(", "SlotIndex", ")", ";", "MFI", "->", "ensureMaxAlignment", "(", "RC", "->", "getAlignment", "(", ")", ")", ";", "}", "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", "X86", "X86", "0", "X86", "0", "0", "1", "X86::GR64RegClass", "X86::GR32RegClass", "1", "X86", "0", "1", "X86::GR64RegClass", "X86::GR32RegClass", "1"], "File": "X86FrameLowering109", "Func": "assignCalleeSavedSpillSlots", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9955, "Length": 411, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_output_function_entry", "(", "FILE", "*", "file", ",", "const", "char", "*", "fname", ")", "{", "if", "(", "fname", "[", "0", "]", "!=", "'.'", ")", "{", "switch", "(", "DEFAULT_ABI", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "ABI_AIX", ":", "if", "(", "DOT_SYMBOLS", ")", "putc", "(", "'.'", ",", "file", ")", ";", "else", "ASM_OUTPUT_INTERNAL_LABEL_PREFIX", "(", "file", ",", "\"L.\"", ")", ";", "break", ";", "case", "ABI_ELFv2", ":", "case", "ABI_V4", ":", "case", "ABI_DARWIN", ":", "break", ";", "}", "}", "RS6000_OUTPUT_BASENAME", "(", "file", ",", "fname", ")", ";", "}", ""], "natrual_language": ["Write", "out", "a", "function", "code", "label", "."], "TS_V_token": ["powerpcspe", "0", "\"L.\""], "File": "powerpcspe", "Func": "rs6000_output_function_entry", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9956, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_expand_sse_fabs", "(", "rtx", "op0", ",", "rtx", "*", "smask", ")", "{", "machine_mode", "vmode", ",", "mode", "=", "GET_MODE", "(", "op0", ")", ";", "rtx", "xa", ",", "mask", ";", "xa", "=", "gen_reg_rtx", "(", "mode", ")", ";", "if", "(", "mode", "==", "SFmode", ")", "vmode", "=", "V4SFmode", ";", "else", "if", "(", "mode", "==", "DFmode", ")", "vmode", "=", "V2DFmode", ";", "else", "vmode", "=", "mode", ";", "mask", "=", "ix86_build_signbit_mask", "(", "vmode", ",", "VECTOR_MODE_P", "(", "mode", ")", ",", "true", ")", ";", "if", "(", "!", "VECTOR_MODE_P", "(", "mode", ")", ")", "{", "rtx", "tmp", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "1", ",", "const0_rtx", ")", ")", ";", "tmp", "=", "gen_rtx_VEC_SELECT", "(", "mode", ",", "mask", ",", "tmp", ")", ";", "mask", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "mask", ",", "tmp", ")", ")", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "xa", ",", "gen_rtx_AND", "(", "mode", ",", "op0", ",", "mask", ")", ")", ")", ";", "if", "(", "smask", ")", "*", "smask", "=", "mask", ";", "return", "xa", ";", "}", ""], "natrual_language": ["Expand", "fabs", "(", "OP0", ")", "and", "return", "a", "new", "rtx", "that", "holds", "the", "result", ".", "The", "mask", "for", "masking", "out", "the", "sign-bit", "is", "stored", "in", "*", "SMASK", ",", "if", "that", "is", "non-null", "."], "TS_V_token": ["i386", "1"], "File": "i386-expand", "Func": "ix86_expand_sse_fabs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9957, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "SystemZMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "unsigned", "CalleeFrameSize", "=", "0", ";", "unsigned", "LowReg", "=", "0", ",", "HighReg", "=", "0", ",", "StartOffset", "=", "-", "1U", ",", "EndOffset", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "RegClass", "=", "CSI", "[", "i", "]", ".", "getRegClass", "(", ")", ";", "if", "(", "RegClass", "!=", "&", "SystemZ", "::", "FP64RegClass", ")", "{", "unsigned", "Offset", "=", "RegSpillOffsets", "[", "Reg", "]", ";", "CalleeFrameSize", "+=", "8", ";", "if", "(", "StartOffset", ">", "Offset", ")", "{", "LowReg", "=", "Reg", ";", "StartOffset", "=", "Offset", ";", "}", "if", "(", "EndOffset", "<", "Offset", ")", "{", "HighReg", "=", "Reg", ";", "EndOffset", "=", "RegSpillOffsets", "[", "Reg", "]", ";", "}", "}", "}", "MFI", "->", "setCalleeSavedFrameSize", "(", "CalleeFrameSize", ")", ";", "MFI", "->", "setLowReg", "(", "LowReg", ")", ";", "MFI", "->", "setHighReg", "(", "HighReg", ")", ";", "if", "(", "StartOffset", ")", "{", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "(", "LowReg", "==", "HighReg", "?", "SystemZ", "::", "MOV64mr", ":", "SystemZ", "::", "MOV64mrm", ")", ")", ")", ";", "MIB", ".", "addReg", "(", "SystemZ", "::", "R15D", ")", ".", "addImm", "(", "StartOffset", ")", ";", "if", "(", "LowReg", "==", "HighReg", ")", "MIB", ".", "addReg", "(", "0", ")", ";", "MIB", ".", "addReg", "(", "LowReg", ",", "RegState", "::", "Kill", ")", ";", "if", "(", "LowReg", "!=", "HighReg", ")", "MIB", ".", "addReg", "(", "HighReg", ",", "RegState", "::", "Kill", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "if", "(", "Reg", "!=", "LowReg", "&&", "Reg", "!=", "HighReg", ")", "MIB", ".", "addReg", "(", "Reg", ",", "RegState", "::", "ImplicitKill", ")", ";", "}", "}", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "RegClass", "=", "CSI", "[", "i", "]", ".", "getRegClass", "(", ")", ";", "if", "(", "RegClass", "==", "&", "SystemZ", "::", "FP64RegClass", ")", "{", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "storeRegToStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "true", ",", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", ",", "RegClass", ")", ";", "}", "}", "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": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "0", "0", "0", "1U", "0", "0", "SystemZ::FP64RegClass", "8", "SystemZ::MOV64mr", "SystemZ::MOV64mrm", "SystemZ::R15D", "0", "0", "0", "SystemZ::FP64RegClass"], "File": "SystemZInstrInfo4", "Func": "spillCalleeSavedRegisters", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9958, "Length": 482, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64TargetMachine", "::", "AArch64TargetMachine", "(", "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", ",", "bool", "LittleEndian", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "Options", ".", "MCOptions", ",", "LittleEndian", ")", ",", "TT", ",", "computeDefaultCPU", "(", "TT", ",", "CPU", ")", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "TT", ",", "RM", ")", ",", "getEffectiveAArch64CodeModel", "(", "TT", ",", "CM", ",", "JIT", ")", ",", "OL", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", ",", "isLittle", "(", "LittleEndian", ")", "{", "initAsmInfo", "(", ")", ";", "if", "(", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "{", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "this", "->", "Options", ".", "NoTrapAfterNoreturn", "=", "true", ";", "}", "if", "(", "getMCAsmInfo", "(", ")", "->", "usesWindowsCFI", "(", ")", ")", "{", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "}", "if", "(", "this", "->", "Options", ".", "TLSSize", "==", "0", ")", "this", "->", "Options", ".", "TLSSize", "=", "24", ";", "if", "(", "(", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Small", "||", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Kernel", ")", "&&", "this", "->", "Options", ".", "TLSSize", ">", "32", ")", "this", "->", "Options", ".", "TLSSize", "=", "32", ";", "else", "if", "(", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Tiny", "&&", "this", "->", "Options", ".", "TLSSize", ">", "24", ")", "this", "->", "Options", ".", "TLSSize", "=", "24", ";", "if", "(", "getOptLevel", "(", ")", "<=", "EnableGlobalISelAtO", "&&", "TT", ".", "getArch", "(", ")", "!=", "Triple", "::", "aarch64_32", "&&", "TT", ".", "getArchName", "(", ")", "!=", "\"arm64e\"", "&&", "!", "(", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", "&&", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", ")", "{", "setGlobalISel", "(", "true", ")", ";", "setGlobalISelAbort", "(", "GlobalISelAbortMode", "::", "Disable", ")", ";", "}", "setMachineOutliner", "(", "true", ")", ";", "setSupportsDefaultOutlining", "(", "true", ")", ";", "setSupportsDebugEntryValues", "(", "true", ")", ";", "}", ""], "natrual_language": ["Create", "an", "AArch64", "architecture", "model", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "0", "24", "32", "32", "24", "24", "\"arm64e\""], "File": "AArch64TargetMachine9", "Func": "AArch64TargetMachine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9959, "Length": 319, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_output_function_end_prologue", "(", "FILE", "*", "file", ")", "{", "if", "(", "ia64_except_unwind_info", "(", "&", "global_options", ")", "!=", "UI_TARGET", ")", "return", ";", "fputs", "(", "\"\\t.body\\n\"", ",", "file", ")", ";", "}", ""], "natrual_language": ["Emit", "the", ".body", "directive", "at", "the", "scheduled", "end", "of", "the", "prologue", "."], "TS_V_token": ["ia64", "\"\\t.body\\n\""], "File": "ia64", "Func": "ia64_output_function_end_prologue", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9960, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_use_ins_ext_p", "(", "rtx", "op", ",", "HOST_WIDE_INT", "width", ",", "HOST_WIDE_INT", "bitpos", ")", "{", "if", "(", "!", "ISA_HAS_EXT_INS", "||", "!", "register_operand", "(", "op", ",", "VOIDmode", ")", "||", "GET_MODE_BITSIZE", "(", "GET_MODE", "(", "op", ")", ")", ">", "BITS_PER_WORD", ")", "return", "false", ";", "if", "(", "!", "IN_RANGE", "(", "width", ",", "1", ",", "GET_MODE_BITSIZE", "(", "GET_MODE", "(", "op", ")", ")", "-", "1", ")", ")", "return", "false", ";", "if", "(", "bitpos", "<", "0", "||", "bitpos", "+", "width", ">", "GET_MODE_BITSIZE", "(", "GET_MODE", "(", "op", ")", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "(", "zero_extract", "OP", "SIZE", "POSITION", ")", "can", "be", "used", "as", "the", "source", "of", "an", "``", "ext", "''", "instruction", "or", "the", "destination", "of", "an", "``", "ins", "''", "instruction", ".", "OP", "must", "be", "a", "register", "operand", "and", "the", "following", "conditions", "must", "hold", ":", "0", "<", "=", "POSITION", "<", "GET_MODE_BITSIZE", "(", "GET_MODE", "(", "op", ")", ")", "0", "<", "SIZE", "<", "=", "GET_MODE_BITSIZE", "(", "GET_MODE", "(", "op", ")", ")", "0", "<", "POSITION", "+", "SIZE", "<", "=", "GET_MODE_BITSIZE", "(", "GET_MODE", "(", "op", ")", ")", "Also", "reject", "lengths", "equal", "to", "a", "word", "as", "they", "are", "better", "handled", "by", "the", "move", "patterns", "."], "TS_V_token": ["mips", "1", "1", "0"], "File": "mips", "Func": "mips_use_ins_ext_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9961, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "X86TargetLowering", "::", "getStackProbeSymbolName", "(", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "MF", ".", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "\"probe-stack\"", ")", ")", "return", "MF", ".", "getFunction", "(", ")", "->", "getFnAttribute", "(", "\"probe-stack\"", ")", ".", "getValueAsString", "(", ")", ";", "if", "(", "!", "Subtarget", ".", "isOSWindows", "(", ")", "||", "Subtarget", ".", "isTargetMachO", "(", ")", ")", "return", "\"\"", ";", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "return", "Subtarget", ".", "isTargetCygMing", "(", ")", "?", "\"___chkstk_ms\"", ":", "\"__chkstk\"", ";", "return", "Subtarget", ".", "isTargetCygMing", "(", ")", "?", "\"_alloca\"", ":", "\"_chkstk\"", ";", "}", ""], "natrual_language": ["Returns", "the", "name", "of", "the", "symbol", "used", "to", "emit", "stack", "probes", "or", "the", "empty", "string", "if", "not", "applicable", "."], "TS_V_token": ["X86", "X86", "\"probe-stack\"", "\"probe-stack\"", "\"\"", "\"___chkstk_ms\"", "\"__chkstk\"", "\"_alloca\"", "\"_chkstk\""], "File": "X86ISelLowering143", "Func": "getStackProbeSymbolName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9962, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_const_not_ok_for_debug_p", "(", "rtx", "p", ")", "{", "tree", "decl_op0", "=", "NULL", ";", "tree", "decl_op1", "=", "NULL", ";", "if", "(", "GET_CODE", "(", "p", ")", "==", "UNSPEC", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "p", ")", "==", "MINUS", ")", "{", "if", "(", "GET_CODE", "(", "XEXP", "(", "p", ",", "1", ")", ")", "==", "SYMBOL_REF", ")", "{", "decl_op1", "=", "SYMBOL_REF_DECL", "(", "XEXP", "(", "p", ",", "1", ")", ")", ";", "if", "(", "decl_op1", "&&", "GET_CODE", "(", "XEXP", "(", "p", ",", "0", ")", ")", "==", "SYMBOL_REF", "&&", "(", "decl_op0", "=", "SYMBOL_REF_DECL", "(", "XEXP", "(", "p", ",", "0", ")", ")", ")", ")", "{", "if", "(", "(", "VAR_P", "(", "decl_op1", ")", "||", "TREE_CODE", "(", "decl_op1", ")", "==", "CONST_DECL", ")", "&&", "(", "VAR_P", "(", "decl_op0", ")", "||", "TREE_CODE", "(", "decl_op0", ")", "==", "CONST_DECL", ")", ")", "return", "(", "get_variable_section", "(", "decl_op1", ",", "false", ")", "!=", "get_variable_section", "(", "decl_op0", ",", "false", ")", ")", ";", "if", "(", "TREE_CODE", "(", "decl_op1", ")", "==", "LABEL_DECL", "&&", "TREE_CODE", "(", "decl_op0", ")", "==", "LABEL_DECL", ")", "return", "(", "DECL_CONTEXT", "(", "decl_op1", ")", "!=", "DECL_CONTEXT", "(", "decl_op0", ")", ")", ";", "}", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["This", "is", "a", "temporary", "fix", "for", "PR60655", ".", "Ideally", "we", "need", "to", "handle", "most", "of", "these", "cases", "in", "the", "generic", "part", "but", "currently", "we", "reject", "minus", "(", "..", ")", "(", "sym_ref", ")", ".", "We", "try", "to", "ameliorate", "the", "case", "with", "minus", "(", "sym_ref1", ")", "(", "sym_ref2", ")", "where", "they", "are", "in", "the", "same", "section", "."], "TS_V_token": ["arm", "1", "1", "0", "0"], "File": "arm", "Func": "arm_const_not_ok_for_debug_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9963, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_adjust_cost", "(", "rtx_insn", "*", "insn", ",", "rtx", "link", ",", "rtx_insn", "*", "dep", ",", "int", "cost", ")", "{", "rtx", "i_pat", ",", "d_pat", ";", "if", "(", "TARGET_THUMB1", "&&", "REG_NOTE_KIND", "(", "link", ")", "==", "0", "&&", "recog_memoized", "(", "insn", ")", "==", "CODE_FOR_cbranchsi4_insn", "&&", "recog_memoized", "(", "dep", ")", ">=", "0", "&&", "get_attr_conds", "(", "dep", ")", "==", "CONDS_SET", ")", "return", "0", ";", "if", "(", "current_tune", "->", "sched_adjust_cost", "!=", "NULL", ")", "{", "if", "(", "!", "current_tune", "->", "sched_adjust_cost", "(", "insn", ",", "link", ",", "dep", ",", "&", "cost", ")", ")", "return", "cost", ";", "}", "if", "(", "REG_NOTE_KIND", "(", "link", ")", "==", "REG_DEP_ANTI", "||", "REG_NOTE_KIND", "(", "link", ")", "==", "REG_DEP_OUTPUT", ")", "return", "0", ";", "if", "(", "REG_NOTE_KIND", "(", "link", ")", "==", "0", "&&", "CALL_P", "(", "insn", ")", ")", "return", "1", ";", "if", "(", "(", "i_pat", "=", "single_set", "(", "insn", ")", ")", "!=", "NULL", "&&", "MEM_P", "(", "SET_SRC", "(", "i_pat", ")", ")", "&&", "(", "d_pat", "=", "single_set", "(", "dep", ")", ")", "!=", "NULL", "&&", "MEM_P", "(", "SET_DEST", "(", "d_pat", ")", ")", ")", "{", "rtx", "src_mem", "=", "XEXP", "(", "SET_SRC", "(", "i_pat", ")", ",", "0", ")", ";", "if", "(", "(", "GET_CODE", "(", "src_mem", ")", "==", "SYMBOL_REF", "&&", "CONSTANT_POOL_ADDRESS_P", "(", "src_mem", ")", ")", "||", "reg_mentioned_p", "(", "stack_pointer_rtx", ",", "src_mem", ")", "||", "reg_mentioned_p", "(", "frame_pointer_rtx", ",", "src_mem", ")", "||", "reg_mentioned_p", "(", "hard_frame_pointer_rtx", ",", "src_mem", ")", ")", "return", "1", ";", "}", "return", "cost", ";", "}", ""], "natrual_language": ["This", "function", "implements", "the", "target", "macro", "TARGET_SCHED_ADJUST_COST", ".", "It", "corrects", "the", "value", "of", "COST", "based", "on", "the", "relationship", "between", "INSN", "and", "DEP", "through", "the", "dependence", "LINK", ".", "It", "returns", "the", "new", "value", ".", "There", "is", "a", "per-core", "adjust_cost", "hook", "to", "adjust", "scheduler", "costs", "and", "the", "per-core", "hook", "can", "choose", "to", "completely", "override", "the", "generic", "adjust_cost", "function", ".", "Only", "put", "bits", "of", "code", "into", "arm_adjust_cost", "that", "are", "common", "across", "all", "cores", "."], "TS_V_token": ["arm", "0", "0", "0", "0", "0", "1", "0", "1"], "File": "arm4", "Func": "arm_adjust_cost", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9964, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZAsmPrinter", "::", "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": ["SystemZ", "SystemZ"], "File": "SystemZAsmPrinter21", "Func": "EmitInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9965, "Length": 23, "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": 9966, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_n13_last_two_load_to_e1_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "rtx", "last_two_def_reg", "=", "extract_nth_access_reg", "(", "producer", ",", "-", "2", ")", ";", "if", "(", "last_two_def_reg", "==", "NULL_RTX", ")", "return", "false", ";", "return", "n13_consumed_by_e1_dep_p", "(", "consumer", ",", "last_two_def_reg", ")", ";", "}", ""], "natrual_language": ["Check", "dependencies", "from", "LMW", "(", "N", ",", "N-1", ")", "to", "E2", "."], "TS_V_token": ["nds32", "2"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n13_last_two_load_to_e1_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9967, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "ArrayRef", "<", "Register", ">>", "VRegs", ",", "FunctionLoweringInfo", "&", "FLI", ")", "const", "{", "auto", "&", "TLI", "=", "*", "getTLI", "<", "ARMTargetLowering", ">", "(", ")", ";", "auto", "Subtarget", "=", "TLI", ".", "getSubtarget", "(", ")", ";", "if", "(", "Subtarget", "->", "isThumb1Only", "(", ")", ")", "return", "false", ";", "if", "(", "F", ".", "arg_empty", "(", ")", ")", "return", "true", ";", "if", "(", "F", ".", "isVarArg", "(", ")", ")", "return", "false", ";", "auto", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "auto", "&", "MBB", "=", "MIRBuilder", ".", "getMBB", "(", ")", ";", "const", "auto", "&", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "for", "(", "auto", "&", "Arg", ":", "F", ".", "args", "(", ")", ")", "{", "if", "(", "!", "isSupportedType", "(", "DL", ",", "TLI", ",", "Arg", ".", "getType", "(", ")", ")", ")", "return", "false", ";", "if", "(", "Arg", ".", "hasPassPointeeByValueCopyAttr", "(", ")", ")", "return", "false", ";", "}", "CCAssignFn", "*", "AssignFn", "=", "TLI", ".", "CCAssignFnForCall", "(", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ")", ";", "OutgoingValueAssigner", "ArgAssigner", "(", "AssignFn", ")", ";", "FormalArgHandler", "ArgHandler", "(", "MIRBuilder", ",", "MIRBuilder", ".", "getMF", "(", ")", ".", "getRegInfo", "(", ")", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "SplitArgInfos", ";", "unsigned", "Idx", "=", "0", ";", "for", "(", "auto", "&", "Arg", ":", "F", ".", "args", "(", ")", ")", "{", "ArgInfo", "OrigArgInfo", "(", "VRegs", "[", "Idx", "]", ",", "Arg", ".", "getType", "(", ")", ")", ";", "setArgFlags", "(", "OrigArgInfo", ",", "Idx", "+", "AttributeList", "::", "FirstArgIndex", ",", "DL", ",", "F", ")", ";", "splitToValueTypes", "(", "OrigArgInfo", ",", "SplitArgInfos", ",", "DL", ",", "F", ".", "getCallingConv", "(", ")", ")", ";", "Idx", "++", ";", "}", "if", "(", "!", "MBB", ".", "empty", "(", ")", ")", "MIRBuilder", ".", "setInstr", "(", "*", "MBB", ".", "begin", "(", ")", ")", ";", "if", "(", "!", "determineAndHandleAssignments", "(", "ArgHandler", ",", "ArgAssigner", ",", "SplitArgInfos", ",", "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": ["ARM", "ARM", "ARM", "8", "0"], "File": "ARMCallLowering29", "Func": "lowerFormalArguments", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9968, "Length": 336, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "AArch64TargetLowering", "::", "getSDagStackGuard", "(", "const", "Module", "&", "M", ")", "const", "{", "if", "(", "Subtarget", "->", "getTargetTriple", "(", ")", ".", "isWindowsMSVCEnvironment", "(", ")", ")", "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": ["AArch64", "AArch64", "\"__security_cookie\""], "File": "AArch64ISelLowering (2)2", "Func": "getSDagStackGuard", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9969, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "dimode_scalar_chain", "::", "replace_with_subreg_in_insn", "(", "rtx_insn", "*", "insn", ",", "rtx", "reg", ",", "rtx", "new_reg", ")", "{", "replace_with_subreg", "(", "single_set", "(", "insn", ")", ",", "reg", ",", "new_reg", ")", ";", "}", ""], "natrual_language": ["Replace", "REG", "in", "INSN", "with", "a", "V2DI", "subreg", "of", "NEW_REG", "."], "TS_V_token": ["i386"], "File": "i3866", "Func": "replace_with_subreg_in_insn", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9970, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1FrameInfo", "::", "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", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "bool", "isVarArg", "=", "AFI", "->", "getVarArgsRegSaveSize", "(", ")", ">", "0", ";", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "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", "(", "TII", ".", "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": "Thumb1FrameInfo", "Func": "restoreCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9971, "Length": 256, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMTargetLowering", "::", "getJumpTableEncoding", "(", ")", "const", "{", "if", "(", "Subtarget", "->", "useInlineJumpTables", "(", ")", ")", "{", "return", "MachineJumpTableInfo", "::", "EK_Inline", ";", "}", "else", "{", "return", "TargetLowering", "::", "getJumpTableEncoding", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "entry", "encoding", "for", "a", "jump", "table", "in", "the", "current", "function", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMISelLowering153", "Func": "getJumpTableEncoding", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9972, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "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_size", "&&", "(", "GET_CODE", "(", "align", ")", "!=", "CONST_INT", "||", "INTVAL", "(", "align", ")", "<", "4", ")", ")", "return", "0", ";", "addr", "=", "force_reg", "(", "Pmode", ",", "XEXP", "(", "src", ",", "0", ")", ")", ";", "scratch1", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "if", "(", "TARGET_UNROLL_STRLEN", "&&", "eoschar", "==", "const0_rtx", "&&", "optimize", ">", "1", "&&", "!", "optimize_size", ")", "{", "emit_move_insn", "(", "out", ",", "addr", ")", ";", "ix86_expand_strlensi_unroll_1", "(", "out", ",", "src", ",", "align", ")", ";", "if", "(", "TARGET_64BIT", ")", "emit_insn", "(", "gen_subdi3", "(", "out", ",", "out", ",", "addr", ")", ")", ";", "else", "emit_insn", "(", "gen_subsi3", "(", "out", ",", "out", ",", "addr", ")", ")", ";", "}", "else", "{", "rtx", "unspec", ";", "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", ")", ";", "emit_insn", "(", "gen_cld", "(", ")", ")", ";", "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", ")", ")", ";", "if", "(", "TARGET_64BIT", ")", "{", "emit_insn", "(", "gen_one_cmpldi2", "(", "scratch2", ",", "scratch1", ")", ")", ";", "emit_insn", "(", "gen_adddi3", "(", "out", ",", "scratch2", ",", "constm1_rtx", ")", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_one_cmplsi2", "(", "scratch2", ",", "scratch1", ")", ")", ";", "emit_insn", "(", "gen_addsi3", "(", "out", ",", "scratch2", ",", "constm1_rtx", ")", ")", ";", "}", "}", "return", "1", ";", "}", ""], "natrual_language": ["Expand", "strlen", "."], "TS_V_token": ["i386", "1", "4", "0", "0", "1", "4", "1"], "File": "i3863", "Func": "ix86_expand_strlen", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9973, "Length": 299, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "MandarinInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["Mandarin"], "File": "MandarinTargetMachine", "Func": "getInstrInfo", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9974, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "MipsDisassembler", "::", "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", ",", "isBigEndian", ",", "IsMicroMips", ")", ";", "if", "(", "Result", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "if", "(", "IsMicroMips", ")", "{", "Result", "=", "decodeInstruction", "(", "DecoderTableMicroMips32", ",", "instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "Size", "=", "4", ";", "return", "Result", ";", "}", "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", "Mips", "Mips", "4", "Mips", "4"], "File": "MipsDisassembler14", "Func": "getInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9975, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "has_func_attr", "(", "const_tree", "decl", ",", "const", "char", "*", "func_attr", ")", "{", "if", "(", "decl", "==", "NULL_TREE", ")", "decl", "=", "current_function_decl", ";", "return", "lookup_attribute", "(", "func_attr", ",", "DECL_ATTRIBUTES", "(", "decl", ")", ")", "!=", "NULL_TREE", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "provided", "function", "has", "the", "specified", "attribute", "."], "TS_V_token": ["rx"], "File": "rx", "Func": "has_func_attr", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9976, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64LongBranchStub", "::", "applyFixup", "(", "Relocation", "&", "pSrcReloc", ",", "IRBuilder", "&", "pBuilder", ",", "BranchIsland", "&", "pIsland", ")", "{", "LDSymbol", "*", "symbol", "=", "pSrcReloc", ".", "symInfo", "(", ")", "->", "outSymbol", "(", ")", ";", "uint64_t", "dest", "=", "symbol", "->", "fragRef", "(", ")", "->", "frag", "(", ")", "->", "getParent", "(", ")", "->", "getSection", "(", ")", ".", "addr", "(", ")", "+", "symbol", "->", "fragRef", "(", ")", "->", "getOutputOffset", "(", ")", ";", "uint64_t", "src", "=", "pIsland", ".", "getParent", "(", ")", "->", "getSection", "(", ")", ".", "addr", "(", ")", "+", "pIsland", ".", "offset", "(", ")", "+", "pIsland", ".", "size", "(", ")", ";", "if", "(", "isValidForADRP", "(", "src", ",", "dest", ")", ")", "{", "m_pData", "=", "ADRP_TEMPLATE", ";", "m_Name", "=", "\"adrp_veneer\"", ";", "m_Size", "=", "sizeof", "(", "ADRP_TEMPLATE", ")", ";", "getFixupList", "(", ")", ".", "clear", "(", ")", ";", "addFixup", "(", "0x0", ",", "0", ",", "llvm", "::", "ELF", "::", "R_AARCH64_ADR_PREL_PG_HI21", ")", ";", "addFixup", "(", "0x4", ",", "0", ",", "llvm", "::", "ELF", "::", "R_AARCH64_ADD_ABS_LO12_NC", ")", ";", "}", "Stub", "::", "applyFixup", "(", "pSrcReloc", ",", "pBuilder", ",", "pIsland", ")", ";", "}", ""], "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", "\"adrp_veneer\"", "0x0", "0", "0x4", "0"], "File": "AArch64LongBranchStub", "Func": "applyFixup", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9977, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_tls_referenced_p", "(", "rtx", "x", ")", "{", "if", "(", "!", "TARGET_HAVE_TLS", ")", "return", "false", ";", "return", "for_each_rtx", "(", "&", "x", ",", "arm_tls_operand_p_1", ",", "NULL", ")", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "X", "contains", "any", "TLS", "symbol", "references", "."], "TS_V_token": ["arm"], "File": "arm3", "Func": "arm_tls_referenced_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9978, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTTIImpl", "::", "isLSRCostLess", "(", "const", "TargetTransformInfo", "::", "LSRCost", "&", "C1", ",", "const", "TargetTransformInfo", "::", "LSRCost", "&", "C2", ")", "{", "if", "(", "!", "LsrNoInsnsCost", ")", "return", "std", "::", "tie", "(", "C1", ".", "Insns", ",", "C1", ".", "NumRegs", ",", "C1", ".", "AddRecCost", ",", "C1", ".", "NumIVMuls", ",", "C1", ".", "NumBaseAdds", ",", "C1", ".", "ScaleCost", ",", "C1", ".", "ImmCost", ",", "C1", ".", "SetupCost", ")", "<", "std", "::", "tie", "(", "C2", ".", "Insns", ",", "C2", ".", "NumRegs", ",", "C2", ".", "AddRecCost", ",", "C2", ".", "NumIVMuls", ",", "C2", ".", "NumBaseAdds", ",", "C2", ".", "ScaleCost", ",", "C2", ".", "ImmCost", ",", "C2", ".", "SetupCost", ")", ";", "else", "return", "TargetTransformInfoImplBase", "::", "isLSRCostLess", "(", "C1", ",", "C2", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "LSR", "cost", "of", "C1", "is", "lower", "than", "C2", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCTargetTransformInfo30", "Func": "isLSRCostLess", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9979, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_scalar_mode_supported_p", "(", "machine_mode", "mode", ")", "{", "if", "(", "mode", "==", "HFmode", ")", "return", "(", "arm_fp16_format", "!=", "ARM_FP16_FORMAT_NONE", ")", ";", "else", "if", "(", "ALL_FIXED_POINT_MODE_P", "(", "mode", ")", ")", "return", "true", ";", "else", "return", "default_scalar_mode_supported_p", "(", "mode", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SCALAR_MODE_SUPPORTED_P", ".", "This", "simply", "adds", "HFmode", "as", "a", "supported", "mode", ";", "even", "though", "we", "do", "n't", "implement", "arithmetic", "on", "this", "type", "directly", ",", "it", "'s", "supported", "by", "optabs", "conversions", ",", "much", "the", "way", "the", "double-word", "arithmetic", "is", "special-cased", "in", "the", "default", "hook", "."], "TS_V_token": ["arm"], "File": "arm4", "Func": "arm_scalar_mode_supported_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9980, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "const_ok_for_op", "(", "HOST_WIDE_INT", "i", ",", "enum", "rtx_code", "code", ")", "{", "if", "(", "const_ok_for_arm", "(", "i", ")", ")", "return", "1", ";", "switch", "(", "code", ")", "{", "case", "PLUS", ":", "return", "const_ok_for_arm", "(", "ARM_SIGN_EXTEND", "(", "-", "i", ")", ")", ";", "case", "MINUS", ":", "case", "XOR", ":", "case", "IOR", ":", "return", "0", ";", "case", "AND", ":", "return", "const_ok_for_arm", "(", "ARM_SIGN_EXTEND", "(", "~", "i", ")", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "I", "is", "a", "valid", "constant", "for", "the", "operation", "CODE", "."], "TS_V_token": ["arm", "1", "0"], "File": "arm3", "Func": "const_ok_for_op", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9981, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_extending_load_p", "(", "class", "vec_info", "*", "vinfo", ",", "stmt_vec_info", "stmt_info", ")", "{", "gassign", "*", "assign", "=", "dyn_cast", "<", "gassign", "*", ">", "(", "stmt_info", "->", "stmt", ")", ";", "if", "(", "!", "assign", "||", "!", "CONVERT_EXPR_CODE_P", "(", "gimple_assign_rhs_code", "(", "assign", ")", ")", ")", "return", "false", ";", "tree", "rhs", "=", "gimple_assign_rhs1", "(", "stmt_info", "->", "stmt", ")", ";", "tree", "lhs_type", "=", "TREE_TYPE", "(", "gimple_assign_lhs", "(", "assign", ")", ")", ";", "tree", "rhs_type", "=", "TREE_TYPE", "(", "rhs", ")", ";", "if", "(", "!", "INTEGRAL_TYPE_P", "(", "lhs_type", ")", "||", "!", "INTEGRAL_TYPE_P", "(", "rhs_type", ")", "||", "TYPE_PRECISION", "(", "lhs_type", ")", "<=", "TYPE_PRECISION", "(", "rhs_type", ")", ")", "return", "false", ";", "stmt_vec_info", "def_stmt_info", "=", "vinfo", "->", "lookup_def", "(", "rhs", ")", ";", "return", "(", "def_stmt_info", "&&", "STMT_VINFO_DATA_REF", "(", "def_stmt_info", ")", "&&", "DR_IS_READ", "(", "STMT_VINFO_DATA_REF", "(", "def_stmt_info", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "STMT_INFO", "extends", "the", "result", "of", "a", "load", "."], "TS_V_token": ["aarch64"], "File": "aarch641", "Func": "aarch64_extending_load_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9982, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMLoc", "getEndLoc", "(", ")", "const", "{", "return", "EndLoc", ";", "}", ""], "natrual_language": ["getEndLoc", "-", "Get", "the", "location", "of", "the", "last", "token", "of", "this", "operand", "."], "TS_V_token": ["Sparc"], "File": "SparcAsmParser11", "Func": "getEndLoc", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9983, "Length": 10, "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": 9984, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "optimizeCompareInstr", "(", "MachineInstr", "&", "CmpInstr", ",", "unsigned", "SrcReg", ",", "unsigned", "SrcReg2", ",", "int", "CmpMask", ",", "int", "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", ";", "}", "assert", "(", "(", "CmpValue", "==", "0", "||", "CmpValue", "==", "1", ")", "&&", "\"CmpValue must be 0 or 1!\"", ")", ";", "if", "(", "CmpValue", "!=", "0", "||", "SrcReg2", "!=", "0", ")", "return", "false", ";", "if", "(", "!", "MRI", "->", "use_nodbg_empty", "(", "CmpInstr", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", "return", "false", ";", "return", "substituteCmpToZero", "(", "CmpInstr", ",", "SrcReg", ",", "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!\"", "0", "1", "\"CmpValue must be 0 or 1!\"", "0", "0", "0"], "File": "AArch64InstrInfo (2)", "Func": "optimizeCompareInstr", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9985, "Length": 230, "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", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "bool", "Is64Bit", "=", "Subtarget", "->", "is64Bit", "(", ")", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_X86", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "EVT", "CopyVT", "=", "VA", ".", "getValVT", "(", ")", ";", "if", "(", "(", "CopyVT", "==", "MVT", "::", "f32", "||", "CopyVT", "==", "MVT", "::", "f64", ")", "&&", "(", "(", "Is64Bit", "||", "Ins", "[", "i", "]", ".", "Flags", ".", "isInReg", "(", ")", ")", "&&", "!", "Subtarget", "->", "hasSSE1", "(", ")", ")", ")", "{", "report_fatal_error", "(", "\"SSE register return with SSE disabled\"", ")", ";", "}", "if", "(", "(", "VA", ".", "getLocReg", "(", ")", "==", "X86", "::", "ST0", "||", "VA", ".", "getLocReg", "(", ")", "==", "X86", "::", "ST1", ")", "&&", "isScalarFPTypeInSSEReg", "(", "VA", ".", "getValVT", "(", ")", ")", ")", "{", "CopyVT", "=", "MVT", "::", "f80", ";", "}", "SDValue", "Val", ";", "if", "(", "Is64Bit", "&&", "CopyVT", ".", "isVector", "(", ")", "&&", "CopyVT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "{", "if", "(", "VA", ".", "getLocReg", "(", ")", "==", "X86", "::", "XMM0", "||", "VA", ".", "getLocReg", "(", ")", "==", "X86", "::", "XMM1", ")", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "MVT", "::", "v2i64", ",", "InFlag", ")", ".", "getValue", "(", "1", ")", ";", "Val", "=", "Chain", ".", "getValue", "(", "0", ")", ";", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "EXTRACT_VECTOR_ELT", ",", "dl", ",", "MVT", "::", "i64", ",", "Val", ",", "DAG", ".", "getConstant", "(", "0", ",", "MVT", "::", "i64", ")", ")", ";", "}", "else", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "MVT", "::", "i64", ",", "InFlag", ")", ".", "getValue", "(", "1", ")", ";", "Val", "=", "Chain", ".", "getValue", "(", "0", ")", ";", "}", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BIT_CONVERT", ",", "dl", ",", "CopyVT", ",", "Val", ")", ";", "}", "else", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "CopyVT", ",", "InFlag", ")", ".", "getValue", "(", "1", ")", ";", "Val", "=", "Chain", ".", "getValue", "(", "0", ")", ";", "}", "InFlag", "=", "Chain", ".", "getValue", "(", "2", ")", ";", "if", "(", "CopyVT", "!=", "VA", ".", "getValVT", "(", ")", ")", "{", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "FP_ROUND", ",", "dl", ",", "VA", ".", "getValVT", "(", ")", ",", "Val", ",", "DAG", ".", "getIntPtrConstant", "(", "1", ")", ")", ";", "}", "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", "\"SSE register return with SSE disabled\"", "X86::ST0", "X86::ST1", "MVT::f80", "64", "X86::XMM0", "X86::XMM1", "MVT::v2i64", "1", "0", "ISD::EXTRACT_VECTOR_ELT", "MVT::i64", "0", "MVT::i64", "MVT::i64", "1", "0", "ISD::BIT_CONVERT", "1", "0", "2", "ISD::FP_ROUND", "1"], "File": "X86ISelLowering21", "Func": "LowerCallResult", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9986, "Length": 486, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Type", "*", "ARMTargetLowering", "::", "shouldConvertSplatType", "(", "ShuffleVectorInst", "*", "SVI", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "hasMVEIntegerOps", "(", ")", ")", "return", "nullptr", ";", "Type", "*", "SVIType", "=", "SVI", "->", "getType", "(", ")", ";", "Type", "*", "ScalarType", "=", "SVIType", "->", "getScalarType", "(", ")", ";", "if", "(", "ScalarType", "->", "isFloatTy", "(", ")", ")", "return", "Type", "::", "getInt32Ty", "(", "SVIType", "->", "getContext", "(", ")", ")", ";", "if", "(", "ScalarType", "->", "isHalfTy", "(", ")", ")", "return", "Type", "::", "getInt16Ty", "(", "SVIType", "->", "getContext", "(", ")", ")", ";", "return", "nullptr", ";", "}", ""], "natrual_language": ["Given", "a", "shuffle", "vector", "SVI", "representing", "a", "vector", "splat", ",", "return", "a", "new", "scalar", "type", "of", "size", "equal", "to", "SVI", "'s", "scalar", "type", "if", "the", "new", "type", "is", "more", "profitable", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMISelLowering (2)5", "Func": "shouldConvertSplatType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9987, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_cxx_guard_mask_bit", "(", "void", ")", "{", "return", "TARGET_AAPCS_BASED", ";", "}", ""], "natrual_language": ["The", "EABI", "says", "test", "the", "least", "significant", "bit", "of", "a", "guard", "variable", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_cxx_guard_mask_bit", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9988, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pa_hpux_init_libfuncs", "(", "void", ")", "{", "set_optab_libfunc", "(", "add_optab", ",", "TFmode", ",", "\"_U_Qfadd\"", ")", ";", "set_optab_libfunc", "(", "sub_optab", ",", "TFmode", ",", "\"_U_Qfsub\"", ")", ";", "set_optab_libfunc", "(", "smul_optab", ",", "TFmode", ",", "\"_U_Qfmpy\"", ")", ";", "set_optab_libfunc", "(", "sdiv_optab", ",", "TFmode", ",", "\"_U_Qfdiv\"", ")", ";", "set_optab_libfunc", "(", "smin_optab", ",", "TFmode", ",", "\"_U_Qmin\"", ")", ";", "set_optab_libfunc", "(", "smax_optab", ",", "TFmode", ",", "\"_U_Qfmax\"", ")", ";", "set_optab_libfunc", "(", "sqrt_optab", ",", "TFmode", ",", "\"_U_Qfsqrt\"", ")", ";", "set_optab_libfunc", "(", "abs_optab", ",", "TFmode", ",", "\"_U_Qfabs\"", ")", ";", "set_optab_libfunc", "(", "neg_optab", ",", "TFmode", ",", "\"_U_Qfneg\"", ")", ";", "set_optab_libfunc", "(", "eq_optab", ",", "TFmode", ",", "\"_U_Qfeq\"", ")", ";", "set_optab_libfunc", "(", "ne_optab", ",", "TFmode", ",", "\"_U_Qfne\"", ")", ";", "set_optab_libfunc", "(", "gt_optab", ",", "TFmode", ",", "\"_U_Qfgt\"", ")", ";", "set_optab_libfunc", "(", "ge_optab", ",", "TFmode", ",", "\"_U_Qfge\"", ")", ";", "set_optab_libfunc", "(", "lt_optab", ",", "TFmode", ",", "\"_U_Qflt\"", ")", ";", "set_optab_libfunc", "(", "le_optab", ",", "TFmode", ",", "\"_U_Qfle\"", ")", ";", "set_optab_libfunc", "(", "unord_optab", ",", "TFmode", ",", "\"_U_Qfunord\"", ")", ";", "set_conv_libfunc", "(", "sext_optab", ",", "TFmode", ",", "SFmode", ",", "\"_U_Qfcnvff_sgl_to_quad\"", ")", ";", "set_conv_libfunc", "(", "sext_optab", ",", "TFmode", ",", "DFmode", ",", "\"_U_Qfcnvff_dbl_to_quad\"", ")", ";", "set_conv_libfunc", "(", "trunc_optab", ",", "SFmode", ",", "TFmode", ",", "\"_U_Qfcnvff_quad_to_sgl\"", ")", ";", "set_conv_libfunc", "(", "trunc_optab", ",", "DFmode", ",", "TFmode", ",", "\"_U_Qfcnvff_quad_to_dbl\"", ")", ";", "set_conv_libfunc", "(", "sfix_optab", ",", "SImode", ",", "TFmode", ",", "TARGET_64BIT", "?", "\"__U_Qfcnvfxt_quad_to_sgl\"", ":", "\"_U_Qfcnvfxt_quad_to_sgl\"", ")", ";", "set_conv_libfunc", "(", "sfix_optab", ",", "DImode", ",", "TFmode", ",", "\"_U_Qfcnvfxt_quad_to_dbl\"", ")", ";", "set_conv_libfunc", "(", "ufix_optab", ",", "SImode", ",", "TFmode", ",", "\"_U_Qfcnvfxt_quad_to_usgl\"", ")", ";", "set_conv_libfunc", "(", "ufix_optab", ",", "DImode", ",", "TFmode", ",", "\"_U_Qfcnvfxt_quad_to_udbl\"", ")", ";", "set_conv_libfunc", "(", "sfloat_optab", ",", "TFmode", ",", "SImode", ",", "\"_U_Qfcnvxf_sgl_to_quad\"", ")", ";", "set_conv_libfunc", "(", "sfloat_optab", ",", "TFmode", ",", "DImode", ",", "\"_U_Qfcnvxf_dbl_to_quad\"", ")", ";", "}", ""], "natrual_language": ["Initialize", "optabs", "to", "point", "to", "HPUX", "long", "double", "emulation", "routines", "."], "TS_V_token": ["pa", "\"_U_Qfadd\"", "\"_U_Qfsub\"", "\"_U_Qfmpy\"", "\"_U_Qfdiv\"", "\"_U_Qmin\"", "\"_U_Qfmax\"", "\"_U_Qfsqrt\"", "\"_U_Qfabs\"", "\"_U_Qfneg\"", "\"_U_Qfeq\"", "\"_U_Qfne\"", "\"_U_Qfgt\"", "\"_U_Qfge\"", "\"_U_Qflt\"", "\"_U_Qfle\"", "\"_U_Qfunord\"", "\"_U_Qfcnvff_sgl_to_quad\"", "\"_U_Qfcnvff_dbl_to_quad\"", "\"_U_Qfcnvff_quad_to_sgl\"", "\"_U_Qfcnvff_quad_to_dbl\"", "\"__U_Qfcnvfxt_quad_to_sgl\"", "\"_U_Qfcnvfxt_quad_to_sgl\"", "\"_U_Qfcnvfxt_quad_to_dbl\"", "\"_U_Qfcnvfxt_quad_to_usgl\"", "\"_U_Qfcnvfxt_quad_to_udbl\"", "\"_U_Qfcnvxf_sgl_to_quad\"", "\"_U_Qfcnvxf_dbl_to_quad\""], "File": "pa3", "Func": "pa_hpux_init_libfuncs", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9989, "Length": 266, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MMIXFrameLowering", "::", "determineFrameLayout", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "MMIXRegisterInfo", "*", "RI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "uint64_t", "FrameSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "uint64_t", "StackAlign", "=", "RI", "->", "needsStackRealignment", "(", "MF", ")", "?", "MFI", ".", "getMaxAlignment", "(", ")", ":", "getStackAlignment", "(", ")", ";", "uint64_t", "MaxCallFrameSize", "=", "MFI", ".", "getMaxCallFrameSize", "(", ")", ";", "if", "(", "MFI", ".", "hasVarSizedObjects", "(", ")", ")", "MaxCallFrameSize", "=", "alignTo", "(", "MaxCallFrameSize", ",", "StackAlign", ")", ";", "MFI", ".", "setMaxCallFrameSize", "(", "MaxCallFrameSize", ")", ";", "if", "(", "!", "(", "hasReservedCallFrame", "(", "MF", ")", "&&", "MFI", ".", "adjustsStack", "(", ")", ")", ")", "FrameSize", "+=", "MaxCallFrameSize", ";", "FrameSize", "=", "alignTo", "(", "FrameSize", ",", "StackAlign", ")", ";", "MFI", ".", "setStackSize", "(", "FrameSize", ")", ";", "}", ""], "natrual_language": ["Determine", "the", "frame", "layout", "but", "do", "not", "update", "the", "machine", "function", "."], "TS_V_token": ["MMIX", "MMIX", "MMIX"], "File": "MMIXFrameLowering", "Func": "determineFrameLayout", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9990, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "SystemZFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "SystemZ", "::", "ADJCALLSTACKDOWN", ":", "case", "SystemZ", "::", "ADJCALLSTACKUP", ":", "assert", "(", "hasReservedCallFrame", "(", "MF", ")", "&&", "\"ADJSTACKDOWN and ADJSTACKUP should be no-ops\"", ")", ";", "return", "MBB", ".", "erase", "(", "MI", ")", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Unexpected call frame instruction\"", ")", ";", "}", "}", ""], "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": ["SystemZ", "SystemZ", "SystemZ::ADJCALLSTACKDOWN", "SystemZ::ADJCALLSTACKUP", "\"ADJSTACKDOWN and ADJSTACKUP should be no-ops\"", "\"Unexpected call frame instruction\""], "File": "SystemZFrameLowering1", "Func": "eliminateCallFramePseudoInstr", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9991, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LC2200AsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsResolved", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "const", "{", "exit", "(", "-", "1", ")", ";", "}", ""], "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": ["LC2200", "LC2200", "1"], "File": "LC2200AsmBackend", "Func": "applyFixup", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9992, "Length": 46, "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": 9993, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_adjust_cost", "(", "rtx", "insn", ",", "rtx", "link", ",", "rtx", "dep_insn", ",", "int", "cost", ")", "{", "enum", "attr_type", "insn_type", ",", "dep_insn_type", ";", "enum", "attr_memory", "memory", ";", "rtx", "set", ",", "set2", ";", "int", "dep_insn_code_number", ";", "if", "(", "REG_NOTE_KIND", "(", "link", ")", "!=", "0", ")", "return", "0", ";", "dep_insn_code_number", "=", "recog_memoized", "(", "dep_insn", ")", ";", "if", "(", "dep_insn_code_number", "<", "0", "||", "recog_memoized", "(", "insn", ")", "<", "0", ")", "return", "cost", ";", "insn_type", "=", "get_attr_type", "(", "insn", ")", ";", "dep_insn_type", "=", "get_attr_type", "(", "dep_insn", ")", ";", "switch", "(", "ix86_tune", ")", "{", "case", "PROCESSOR_PENTIUM", ":", "if", "(", "ix86_agi_dependant", "(", "insn", ",", "dep_insn", ",", "insn_type", ")", ")", "cost", "+=", "1", ";", "if", "(", "ix86_flags_dependant", "(", "insn", ",", "dep_insn", ",", "insn_type", ")", ")", "cost", "=", "0", ";", "if", "(", "insn_type", "==", "TYPE_FMOV", "&&", "get_attr_memory", "(", "insn", ")", "==", "MEMORY_STORE", "&&", "!", "ix86_agi_dependant", "(", "insn", ",", "dep_insn", ",", "insn_type", ")", ")", "cost", "+=", "1", ";", "break", ";", "case", "PROCESSOR_PENTIUMPRO", ":", "memory", "=", "get_attr_memory", "(", "insn", ")", ";", "if", "(", "get_attr_fp_int_src", "(", "dep_insn", ")", ")", "cost", "+=", "5", ";", "if", "(", "insn_type", "==", "TYPE_FMOV", "&&", "(", "set", "=", "single_set", "(", "dep_insn", ")", ")", "!=", "NULL_RTX", "&&", "(", "set2", "=", "single_set", "(", "insn", ")", ")", "!=", "NULL_RTX", "&&", "rtx_equal_p", "(", "SET_DEST", "(", "set", ")", ",", "SET_SRC", "(", "set2", ")", ")", "&&", "GET_CODE", "(", "SET_DEST", "(", "set2", ")", ")", "==", "MEM", ")", "cost", "+=", "1", ";", "if", "(", "(", "memory", "==", "MEMORY_LOAD", "||", "memory", "==", "MEMORY_BOTH", ")", "&&", "!", "ix86_agi_dependant", "(", "insn", ",", "dep_insn", ",", "insn_type", ")", ")", "{", "if", "(", "dep_insn_type", "==", "TYPE_IMOV", "||", "dep_insn_type", "==", "TYPE_FMOV", ")", "cost", "=", "1", ";", "else", "if", "(", "cost", ">", "1", ")", "cost", "--", ";", "}", "break", ";", "case", "PROCESSOR_K6", ":", "memory", "=", "get_attr_memory", "(", "insn", ")", ";", "if", "(", "(", "insn_type", "==", "TYPE_PUSH", "||", "insn_type", "==", "TYPE_POP", ")", "&&", "(", "dep_insn_type", "==", "TYPE_PUSH", "||", "dep_insn_type", "==", "TYPE_POP", ")", ")", "return", "1", ";", "if", "(", "get_attr_fp_int_src", "(", "dep_insn", ")", ")", "cost", "+=", "5", ";", "if", "(", "(", "memory", "==", "MEMORY_LOAD", "||", "memory", "==", "MEMORY_BOTH", ")", "&&", "!", "ix86_agi_dependant", "(", "insn", ",", "dep_insn", ",", "insn_type", ")", ")", "{", "if", "(", "dep_insn_type", "==", "TYPE_IMOV", "||", "dep_insn_type", "==", "TYPE_FMOV", ")", "cost", "=", "1", ";", "else", "if", "(", "cost", ">", "2", ")", "cost", "-=", "2", ";", "else", "cost", "=", "1", ";", "}", "break", ";", "case", "PROCESSOR_ATHLON", ":", "case", "PROCESSOR_K8", ":", "memory", "=", "get_attr_memory", "(", "insn", ")", ";", "if", "(", "(", "memory", "==", "MEMORY_LOAD", "||", "memory", "==", "MEMORY_BOTH", ")", "&&", "!", "ix86_agi_dependant", "(", "insn", ",", "dep_insn", ",", "insn_type", ")", ")", "{", "enum", "attr_unit", "unit", "=", "get_attr_unit", "(", "insn", ")", ";", "int", "loadcost", "=", "3", ";", "if", "(", "unit", "==", "UNIT_INTEGER", "||", "unit", "==", "UNIT_UNKNOWN", ")", "loadcost", "=", "3", ";", "else", "loadcost", "=", "TARGET_ATHLON", "?", "2", ":", "0", ";", "if", "(", "cost", ">=", "loadcost", ")", "cost", "-=", "loadcost", ";", "else", "cost", "=", "0", ";", "}", "default", ":", "break", ";", "}", "return", "cost", ";", "}", ""], "natrual_language": ["This", "function", "corrects", "the", "value", "of", "COST", "(", "latency", ")", "based", "on", "the", "relationship", "between", "INSN", "and", "DEP_INSN", "through", "a", "dependence", "of", "type", "DEP_TYPE", ",", "and", "strength", "DW", ".", "It", "should", "return", "the", "new", "value", ".", "On", "x86", "CPUs", "this", "is", "most", "commonly", "used", "to", "model", "the", "fact", "that", "valus", "of", "registers", "used", "to", "compute", "address", "of", "memory", "operand", "needs", "to", "be", "ready", "earlier", "than", "values", "of", "registers", "used", "in", "the", "actual", "operation", "."], "TS_V_token": ["i386", "0", "0", "0", "0", "1", "0", "1", "5", "1", "1", "1", "1", "5", "1", "2", "2", "1", "3", "3", "2", "0", "0"], "File": "i3863", "Func": "ix86_adjust_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9994, "Length": 477, "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": 9995, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "i386_pe_record_external_function", "(", "tree", "decl", ",", "const", "char", "*", "name", ")", "{", "struct", "extern_list", "*", "p", ";", "p", "=", "ggc_alloc", "<", "extern_list", ">", "(", ")", ";", "p", "->", "next", "=", "extern_head", ";", "p", "->", "decl", "=", "decl", ";", "p", "->", "name", "=", "name", ";", "extern_head", "=", "p", ";", "}", ""], "natrual_language": ["Assemble", "an", "external", "function", "reference", ".", "We", "need", "to", "keep", "a", "list", "of", "these", ",", "so", "that", "we", "can", "output", "the", "function", "types", "at", "the", "end", "of", "the", "assembly", ".", "We", "ca", "n't", "output", "the", "types", "now", ",", "because", "we", "might", "see", "a", "definition", "of", "the", "function", "later", "on", "and", "emit", "debugging", "information", "for", "it", "then", "."], "TS_V_token": ["i386"], "File": "winnt", "Func": "i386_pe_record_external_function", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 9996, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCLoopPreIncPrep", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "LI", "=", "&", "getAnalysis", "<", "LoopInfoWrapperPass", ">", "(", ")", ".", "getLoopInfo", "(", ")", ";", "SE", "=", "&", "getAnalysis", "<", "ScalarEvolutionWrapperPass", ">", "(", ")", ".", "getSE", "(", ")", ";", "auto", "*", "DTWP", "=", "getAnalysisIfAvailable", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "DT", "=", "DTWP", "?", "&", "DTWP", "->", "getDomTree", "(", ")", ":", "nullptr", ";", "PreserveLCSSA", "=", "mustPreserveAnalysisID", "(", "LCSSAID", ")", ";", "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"], "File": "PPCLoopPreIncPrep12", "Func": "runOnFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9997, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "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", "=", "TII", ".", "getFrameSize", "(", "*", "I", ")", ";", "uint64_t", "InternalAmt", "=", "(", "isDestroy", "||", "Amount", ")", "?", "TII", ".", "getFrameAdjustment", "(", "*", "I", ")", ":", "0", ";", "I", "=", "MBB", ".", "erase", "(", "I", ")", ";", "auto", "InsertPos", "=", "skipDebugInstructionsForward", "(", "I", ",", "MBB", ".", "end", "(", ")", ")", ";", "if", "(", "!", "reserveCallFrame", ")", "{", "unsigned", "StackAlign", "=", "getStackAlignment", "(", ")", ";", "Amount", "=", "alignTo", "(", "Amount", ",", "StackAlign", ")", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "bool", "WindowsCFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", "->", "usesWindowsCFI", "(", ")", ";", "bool", "DwarfCFI", "=", "!", "WindowsCFI", "&&", "(", "MMI", ".", "hasDebugInfo", "(", ")", "||", "F", ".", "needsUnwindTableEntry", "(", ")", ")", ";", "bool", "HasDwarfEHHandlers", "=", "!", "WindowsCFI", "&&", "!", "MF", ".", "getLandingPads", "(", ")", ".", "empty", "(", ")", ";", "if", "(", "HasDwarfEHHandlers", "&&", "!", "isDestroy", "&&", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "getHasPushSequences", "(", ")", ")", "BuildCFI", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "MCCFIInstruction", "::", "createGnuArgsSize", "(", "nullptr", ",", "Amount", ")", ")", ";", "if", "(", "Amount", "==", "0", ")", "return", "I", ";", "Amount", "-=", "InternalAmt", ";", "if", "(", "isDestroy", "&&", "InternalAmt", "&&", "DwarfCFI", "&&", "!", "hasFP", "(", "MF", ")", ")", "BuildCFI", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "MCCFIInstruction", "::", "createAdjustCfaOffset", "(", "nullptr", ",", "-", "InternalAmt", ")", ")", ";", "int64_t", "StackAdjustment", "=", "isDestroy", "?", "Amount", ":", "-", "Amount", ";", "if", "(", "StackAdjustment", ")", "{", "StackAdjustment", "+=", "mergeSPUpdates", "(", "MBB", ",", "InsertPos", ",", "true", ")", ";", "StackAdjustment", "+=", "mergeSPUpdates", "(", "MBB", ",", "InsertPos", ",", "false", ")", ";", "if", "(", "StackAdjustment", ")", "{", "if", "(", "!", "(", "F", ".", "hasMinSize", "(", ")", "&&", "adjustStackWithPops", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "StackAdjustment", ")", ")", ")", "BuildStackAdjustment", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "StackAdjustment", ",", "false", ")", ";", "}", "}", "if", "(", "DwarfCFI", "&&", "!", "hasFP", "(", "MF", ")", ")", "{", "int64_t", "CfaAdjustment", "=", "-", "StackAdjustment", ";", "if", "(", "CfaAdjustment", ")", "{", "BuildCFI", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "MCCFIInstruction", "::", "createAdjustCfaOffset", "(", "nullptr", ",", "CfaAdjustment", ")", ")", ";", "}", "}", "return", "I", ";", "}", "if", "(", "isDestroy", "&&", "InternalAmt", "&&", "!", "blockEndIsUnreachable", "(", "MBB", ",", "I", ")", ")", "{", "MachineBasicBlock", "::", "iterator", "CI", "=", "I", ";", "MachineBasicBlock", "::", "iterator", "B", "=", "MBB", ".", "begin", "(", ")", ";", "while", "(", "CI", "!=", "B", "&&", "!", "std", "::", "prev", "(", "CI", ")", "->", "isCall", "(", ")", ")", "--", "CI", ";", "BuildStackAdjustment", "(", "MBB", ",", "CI", ",", "DL", ",", "-", "InternalAmt", ",", "false", ")", ";", "}", "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": ["X86", "X86", "0", "X86", "0"], "File": "X86FrameLowering117", "Func": "eliminateCallFramePseudoInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9998, "Length": 491, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "targetHandlesStackFrameRounding", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["targetHandlesStackFrameRounding", "-", "Returns", "true", "if", "the", "target", "is", "responsible", "for", "rounding", "up", "the", "stack", "frame", "(", "probably", "at", "emitPrologue", "time", ")", "."], "TS_V_token": ["VE"], "File": "VEFrameLowering1", "Func": "targetHandlesStackFrameRounding", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9999, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "VariantKind", "getKind", "(", ")", "const", "{", "return", "Kind", ";", "}", ""], "natrual_language": ["Returns", "the", "Kind", "of", "lane", "offset", "."], "TS_V_token": ["DLX"], "File": "DLXMCExpr", "Func": "getKind", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10000, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "x86_this_parameter", "(", "tree", "function", ")", "{", "tree", "type", "=", "TREE_TYPE", "(", "function", ")", ";", "if", "(", "TARGET_64BIT", ")", "{", "int", "n", "=", "aggregate_value_p", "(", "TREE_TYPE", "(", "type", ")", ",", "type", ")", "!=", "0", ";", "return", "gen_rtx_REG", "(", "DImode", ",", "x86_64_int_parameter_registers", "[", "n", "]", ")", ";", "}", "if", "(", "ix86_function_regparm", "(", "type", ",", "function", ")", ">", "0", ")", "{", "tree", "parm", ";", "parm", "=", "TYPE_ARG_TYPES", "(", "type", ")", ";", "for", "(", ";", "parm", ";", "parm", "=", "TREE_CHAIN", "(", "parm", ")", ")", "if", "(", "TREE_VALUE", "(", "parm", ")", "==", "void_type_node", ")", "break", ";", "if", "(", "parm", ")", "{", "int", "regno", "=", "0", ";", "if", "(", "lookup_attribute", "(", "\"fastcall\"", ",", "TYPE_ATTRIBUTES", "(", "type", ")", ")", ")", "regno", "=", "2", ";", "return", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ";", "}", "}", "if", "(", "aggregate_value_p", "(", "TREE_TYPE", "(", "type", ")", ",", "type", ")", ")", "return", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "stack_pointer_rtx", ",", "8", ")", ")", ";", "else", "return", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "stack_pointer_rtx", ",", "4", ")", ")", ";", "}", ""], "natrual_language": ["Returns", "an", "expression", "indicating", "where", "the", "this", "parameter", "is", "located", "on", "entry", "to", "the", "FUNCTION", "."], "TS_V_token": ["i386", "0", "0", "0", "\"fastcall\"", "2", "8", "4"], "File": "i3863", "Func": "x86_this_parameter", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10001, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_memory_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "rclass", ",", "bool", "in", "ATTRIBUTE_UNUSED", ")", "{", "int", "ret", ";", "if", "(", "TARGET_DEBUG_COST", ")", "dbg_cost_ctrl", "++", ";", "if", "(", "reg_classes_intersect_p", "(", "rclass", ",", "GENERAL_REGS", ")", ")", "ret", "=", "4", "*", "hard_regno_nregs", "[", "0", "]", "[", "mode", "]", ";", "else", "if", "(", "(", "reg_classes_intersect_p", "(", "rclass", ",", "FLOAT_REGS", ")", "||", "reg_classes_intersect_p", "(", "rclass", ",", "VSX_REGS", ")", ")", ")", "ret", "=", "4", "*", "hard_regno_nregs", "[", "32", "]", "[", "mode", "]", ";", "else", "if", "(", "reg_classes_intersect_p", "(", "rclass", ",", "ALTIVEC_REGS", ")", ")", "ret", "=", "4", "*", "hard_regno_nregs", "[", "FIRST_ALTIVEC_REGNO", "]", "[", "mode", "]", ";", "else", "ret", "=", "4", "+", "rs6000_register_move_cost", "(", "mode", ",", "rclass", ",", "GENERAL_REGS", ")", ";", "if", "(", "TARGET_DEBUG_COST", ")", "{", "if", "(", "dbg_cost_ctrl", "==", "1", ")", "fprintf", "(", "stderr", ",", "\"rs6000_memory_move_cost: ret=%d, mode=%s, rclass=%s, in=%d\\n\"", ",", "ret", ",", "GET_MODE_NAME", "(", "mode", ")", ",", "reg_class_names", "[", "rclass", "]", ",", "in", ")", ";", "dbg_cost_ctrl", "--", ";", "}", "return", "ret", ";", "}", ""], "natrual_language": ["A", "C", "expressions", "returning", "the", "cost", "of", "moving", "data", "of", "MODE", "from", "a", "register", "to", "or", "from", "memory", "."], "TS_V_token": ["rs6000", "4", "0", "4", "32", "4", "4", "1", "\"rs6000_memory_move_cost: ret=%d, mode=%s, rclass=%s, in=%d\\n\""], "File": "rs60004", "Func": "rs6000_memory_move_cost", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10002, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "pass_tiabi_check", "::", "execute", "(", "function", "*", "fun", ")", "{", "struct", "walk_stmt_info", "wi", ";", "const_tree", "fntype", "=", "TREE_TYPE", "(", "fun", "->", "decl", ")", ";", "gimple_seq", "body", "=", "gimple_body", "(", "current_function_decl", ")", ";", "memset", "(", "&", "wi", ",", "0", ",", "sizeof", "(", "wi", ")", ")", ";", "wi", ".", "info", "=", "NULL", ";", "wi", ".", "want_locations", "=", "true", ";", "walk_gimple_seq", "(", "body", ",", "NULL", ",", "check_op_callback", ",", "&", "wi", ")", ";", "chk_function_decl", "(", "fntype", ",", "fun", "->", "function_start_locus", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Main", "entry", "point", "for", "this", "pass", "."], "TS_V_token": ["pru", "0", "0"], "File": "pru-passes", "Func": "execute", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10003, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_block_set_vect_profit_p", "(", "unsigned", "HOST_WIDE_INT", "length", ",", "unsigned", "HOST_WIDE_INT", "align", ",", "machine_mode", "mode", ")", "{", "int", "num", ";", "bool", "unaligned_p", "=", "(", "(", "align", "&", "3", ")", "!=", "0", ")", ";", "unsigned", "int", "nelt", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "num", "=", "1", ";", "num", "+=", "(", "length", "+", "nelt", "-", "1", ")", "/", "nelt", ";", "if", "(", "!", "unaligned_p", "&&", "(", "length", "&", "3", ")", "!=", "0", ")", "num", "++", ";", "if", "(", "!", "unaligned_p", "&&", "mode", "==", "V16QImode", ")", "num", "--", ";", "return", "(", "num", "<=", "arm_block_set_max_insns", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "it", "'s", "profitable", "to", "set", "block", "of", "memory", "for", "vectorized", "case", ".", "LENGTH", "is", "the", "number", "of", "bytes", "to", "set", ".", "ALIGN", "is", "the", "alignment", "of", "destination", "memory", "in", "bytes", ".", "MODE", "is", "the", "vector", "mode", "used", "to", "set", "the", "memory", "."], "TS_V_token": ["arm", "3", "0", "1", "1", "3", "0"], "File": "arm", "Func": "arm_block_set_vect_profit_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10004, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "struct", "processor", "*", "aarch64_get_arch", "(", "enum", "aarch64_arch", "arch", ")", "{", "if", "(", "arch", "!=", "aarch64_no_arch", ")", "return", "&", "all_architectures", "[", "arch", "]", ";", "const", "struct", "processor", "*", "cpu", "=", "&", "all_cores", "[", "TARGET_CPU_DEFAULT", "&", "0x3f", "]", ";", "return", "&", "all_architectures", "[", "cpu", "->", "arch", "]", ";", "}", ""], "natrual_language": ["Return", "the", "architecture", "corresponding", "to", "the", "enum", "ARCH", ".", "If", "it", "does", "n't", "specify", "a", "valid", "architecture", ",", "return", "the", "default", "."], "TS_V_token": ["aarch64", "0x3f"], "File": "aarch64", "Func": "aarch64_get_arch", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10005, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_small_register_classes_for_mode_p", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "return", "(", "!", "TARGET_SHMEDIA", ")", ";", "}", ""], "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": "sh4", "Func": "sh_small_register_classes_for_mode_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10006, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "csky_function_value", "(", "const_tree", "type", ",", "const_tree", "func", ",", "bool", "outgoing", "ATTRIBUTE_UNUSED", ")", "{", "machine_mode", "mode", ";", "int", "unsignedp", "ATTRIBUTE_UNUSED", ";", "int", "size", ";", "mode", "=", "TYPE_MODE", "(", "type", ")", ";", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "if", "(", "FUNCTION_VARG_MODE_P", "(", "mode", ")", ")", "{", "mode", "=", "promote_function_mode", "(", "type", ",", "mode", ",", "&", "unsignedp", ",", "func", ",", "1", ")", ";", "return", "gen_rtx_REG", "(", "mode", ",", "CSKY_FIRST_VFP_REGNUM", ")", ";", "}", "if", "(", "INTEGRAL_TYPE_P", "(", "type", ")", ")", "{", "mode", "=", "promote_function_mode", "(", "type", ",", "mode", ",", "&", "unsignedp", ",", "func", ",", "1", ")", ";", "return", "gen_rtx_REG", "(", "mode", ",", "CSKY_FIRST_RET_REGNUM", ")", ";", "}", "if", "(", "mode", "==", "BLKmode", "&&", "size", ">", "UNITS_PER_WORD", "&&", "size", "<=", "UNITS_PER_WORD", "*", "2", ")", "{", "rtx", "ret_regs", "[", "2", "]", ";", "ret_regs", "[", "0", "]", "=", "gen_rtx_EXPR_LIST", "(", "SImode", ",", "gen_rtx_REG", "(", "SImode", ",", "CSKY_FIRST_RET_REGNUM", ")", ",", "GEN_INT", "(", "0", "*", "UNITS_PER_WORD", ")", ")", ";", "ret_regs", "[", "1", "]", "=", "gen_rtx_EXPR_LIST", "(", "SImode", ",", "gen_rtx_REG", "(", "SImode", ",", "CSKY_FIRST_RET_REGNUM", "+", "1", ")", ",", "GEN_INT", "(", "1", "*", "UNITS_PER_WORD", ")", ")", ";", "rtvec", "vec", "=", "gen_rtvec", "(", "2", ",", "ret_regs", "[", "0", "]", ",", "ret_regs", "[", "1", "]", ")", ";", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "vec", ")", ";", "}", "return", "gen_rtx_REG", "(", "mode", ",", "CSKY_FIRST_RET_REGNUM", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_VALUE", "."], "TS_V_token": ["csky", "1", "1", "2", "2", "0", "0", "1", "1", "1", "2", "0", "1"], "File": "csky", "Func": "csky_function_value", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10007, "Length": 214, "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": 10008, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_set_current_function", "(", "tree", "fndecl", ")", "{", "mips_set_compression_mode", "(", "mips_get_compress_mode", "(", "fndecl", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SET_CURRENT_FUNCTION", ".", "Decide", "whether", "the", "current", "function", "should", "use", "the", "MIPS16", "or", "microMIPS", "ISA", "and", "switch", "modes", "accordingly", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_set_current_function", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10009, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FastISel", "*", "Mips", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "funcInfo", ",", "const", "TargetLibraryInfo", "*", "libInfo", ")", "{", "return", "new", "MipsFastISel", "(", "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": ["Mips", "Mips::createFastISel", "Mips"], "File": "MipsFastISel", "Func": "createFastISel", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10010, "Length": 26, "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": 10011, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCCTRLoops", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "LI", "=", "&", "getAnalysis", "<", "LoopInfo", ">", "(", ")", ";", "SE", "=", "&", "getAnalysis", "<", "ScalarEvolution", ">", "(", ")", ";", "DT", "=", "&", "getAnalysis", "<", "DominatorTreeWrapperPass", ">", "(", ")", ".", "getDomTree", "(", ")", ";", "DataLayoutPass", "*", "DLP", "=", "getAnalysisIfAvailable", "<", "DataLayoutPass", ">", "(", ")", ";", "DL", "=", "DLP", "?", "&", "DLP", "->", "getDataLayout", "(", ")", ":", "nullptr", ";", "LibInfo", "=", "getAnalysisIfAvailable", "<", "TargetLibraryInfo", ">", "(", ")", ";", "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": "PPCCTRLoops26", "Func": "runOnFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10012, "Length": 139, "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", "::", "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::GLOBAL_BASE_REG"], "File": "VEISelDAGToDAG", "Func": "Select", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10013, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "PPCDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "OS", ",", "raw_ostream", "&", "CS", ")", "const", "{", "Size", "=", "4", ";", "if", "(", "Bytes", ".", "size", "(", ")", "<", "4", ")", "{", "Size", "=", "0", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "uint32_t", "Inst", "=", "(", "Bytes", "[", "0", "]", "<<", "24", ")", "|", "(", "Bytes", "[", "1", "]", "<<", "16", ")", "|", "(", "Bytes", "[", "2", "]", "<<", "8", ")", "|", "(", "Bytes", "[", "3", "]", "<<", "0", ")", ";", "return", "decodeInstruction", "(", "DecoderTable32", ",", "MI", ",", "Inst", ",", "Address", ",", "this", ",", "STI", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["PowerPC", "PPC", "4", "4", "0", "0", "24", "1", "16", "2", "8", "3", "0"], "File": "PPCDisassembler29", "Func": "getInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10014, "Length": 113, "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", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "MipsCC", "MipsCCInfo", "(", "CallConv", ",", "IsO32", ",", "CCInfo", ")", ";", "MipsCCInfo", ".", "analyzeReturn", "(", "Outs", ",", "getTargetMachine", "(", ")", ".", "Options", ".", "UseSoftFloat", ",", "MF", ".", "getFunction", "(", ")", "->", "getReturnType", "(", ")", ")", ";", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "RetOps", "(", "1", ",", "Chain", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "SDValue", "Val", "=", "OutVals", "[", "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", "(", ")", ")", "{", "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", "(", ")", ")", ";", "unsigned", "V0", "=", "IsN64", "?", "Mips", "::", "V0_64", ":", "Mips", "::", "V0", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "V0", ",", "Val", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "V0", ",", "getPointerTy", "(", ")", ")", ")", ";", "}", "RetOps", "[", "0", "]", "=", "Chain", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "RetOps", ".", "push_back", "(", "Flag", ")", ";", "return", "DAG", ".", "getNode", "(", "MipsISD", "::", "Ret", ",", "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": ["Mips", "Mips", "ISD::OutputArg", "16", "Mips", "Mips", "Mips", "4", "1", "0", "\"Can only return in registers!\"", "ISD::BITCAST", "1", "Mips", "Mips", "Mips", "Mips", "\"sret virtual register not created in the entry block\"", "Mips::V0_64", "Mips::V0", "1", "0", "MipsISD::Ret", "MVT::Other", "0"], "File": "MipsISelLowering126", "Func": "LowerReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10015, "Length": 449, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addPreISel", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableGlobalMerge", ")", "addPass", "(", "createGlobalMergePass", "(", "TM", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["ARM", "ARM"], "File": "ARMTargetMachine5", "Func": "addPreISel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10016, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_avoid_lea_for_add", "(", "rtx_insn", "*", "insn", ",", "rtx", "operands", "[", "]", ")", "{", "unsigned", "int", "regno0", ",", "regno1", ",", "regno2", ";", "if", "(", "!", "TARGET_OPT_AGU", "||", "optimize_function_for_size_p", "(", "cfun", ")", ")", "return", "false", ";", "regno0", "=", "true_regnum", "(", "operands", "[", "0", "]", ")", ";", "regno1", "=", "true_regnum", "(", "operands", "[", "1", "]", ")", ";", "regno2", "=", "true_regnum", "(", "operands", "[", "2", "]", ")", ";", "if", "(", "regno0", "==", "regno1", "||", "regno0", "==", "regno2", ")", "return", "false", ";", "else", "return", "!", "ix86_lea_outperforms", "(", "insn", ",", "regno0", ",", "regno1", ",", "regno2", ",", "1", ",", "false", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "need", "to", "split", "op0", "=", "op1", "+", "op2", "into", "a", "sequence", "of", "move", "and", "add", "to", "avoid", "AGU", "stalls", "."], "TS_V_token": ["i386", "0", "1", "2", "1"], "File": "i386", "Func": "ix86_avoid_lea_for_add", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10017, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_legitimize_tls_address_aix", "(", "rtx", "addr", ",", "enum", "tls_model", "model", ")", "{", "rtx", "sym", ",", "mem", ",", "tocref", ",", "tlsreg", ",", "tmpreg", ",", "dest", ",", "tlsaddr", ";", "const", "char", "*", "name", ";", "char", "*", "tlsname", ";", "name", "=", "XSTR", "(", "addr", ",", "0", ")", ";", "if", "(", "name", "[", "strlen", "(", "name", ")", "-", "1", "]", "!=", "']'", "&&", "(", "TREE_PUBLIC", "(", "SYMBOL_REF_DECL", "(", "addr", ")", ")", "||", "bss_initializer_p", "(", "SYMBOL_REF_DECL", "(", "addr", ")", ")", ")", ")", "{", "tlsname", "=", "XALLOCAVEC", "(", "char", ",", "strlen", "(", "name", ")", "+", "4", ")", ";", "strcpy", "(", "tlsname", ",", "name", ")", ";", "strcat", "(", "tlsname", ",", "bss_initializer_p", "(", "SYMBOL_REF_DECL", "(", "addr", ")", ")", "?", "\"[UL]\"", ":", "\"[TL]\"", ")", ";", "tlsaddr", "=", "copy_rtx", "(", "addr", ")", ";", "XSTR", "(", "tlsaddr", ",", "0", ")", "=", "ggc_strdup", "(", "tlsname", ")", ";", "}", "else", "tlsaddr", "=", "addr", ";", "sym", "=", "force_const_mem", "(", "GET_MODE", "(", "tlsaddr", ")", ",", "tlsaddr", ")", ";", "if", "(", "constant_pool_expr_p", "(", "XEXP", "(", "sym", ",", "0", ")", ")", "&&", "ASM_OUTPUT_SPECIAL_POOL_ENTRY_P", "(", "get_pool_constant", "(", "XEXP", "(", "sym", ",", "0", ")", ")", ",", "Pmode", ")", ")", "{", "tocref", "=", "create_TOC_reference", "(", "XEXP", "(", "sym", ",", "0", ")", ",", "NULL_RTX", ")", ";", "mem", "=", "gen_const_mem", "(", "Pmode", ",", "tocref", ")", ";", "set_mem_alias_set", "(", "mem", ",", "get_TOC_alias_set", "(", ")", ")", ";", "}", "else", "return", "sym", ";", "if", "(", "model", "==", "TLS_MODEL_GLOBAL_DYNAMIC", "||", "model", "==", "TLS_MODEL_LOCAL_DYNAMIC", ")", "{", "name", "=", "XSTR", "(", "XVECEXP", "(", "XEXP", "(", "mem", ",", "0", ")", ",", "0", ",", "0", ")", ",", "0", ")", ";", "tlsname", "=", "XALLOCAVEC", "(", "char", ",", "strlen", "(", "name", ")", "+", "1", ")", ";", "strcpy", "(", "tlsname", ",", "\"*LCM\"", ")", ";", "strcat", "(", "tlsname", ",", "name", "+", "3", ")", ";", "rtx", "modaddr", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "ggc_strdup", "(", "tlsname", ")", ")", ";", "SYMBOL_REF_FLAGS", "(", "modaddr", ")", "|=", "SYMBOL_FLAG_LOCAL", ";", "tocref", "=", "create_TOC_reference", "(", "modaddr", ",", "NULL_RTX", ")", ";", "rtx", "modmem", "=", "gen_const_mem", "(", "Pmode", ",", "tocref", ")", ";", "set_mem_alias_set", "(", "modmem", ",", "get_TOC_alias_set", "(", ")", ")", ";", "rtx", "modreg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "modreg", ",", "modmem", ")", ")", ";", "tmpreg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "tmpreg", ",", "mem", ")", ")", ";", "dest", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "if", "(", "TARGET_32BIT", ")", "emit_insn", "(", "gen_tls_get_addrsi", "(", "dest", ",", "modreg", ",", "tmpreg", ")", ")", ";", "else", "emit_insn", "(", "gen_tls_get_addrdi", "(", "dest", ",", "modreg", ",", "tmpreg", ")", ")", ";", "return", "dest", ";", "}", "else", "if", "(", "TARGET_32BIT", ")", "{", "tlsreg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_tls_get_tpointer", "(", "tlsreg", ")", ")", ";", "}", "else", "tlsreg", "=", "gen_rtx_REG", "(", "DImode", ",", "13", ")", ";", "tmpreg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "tmpreg", ",", "mem", ")", ")", ";", "set_unique_reg_note", "(", "get_last_insn", "(", ")", ",", "REG_EQUAL", ",", "gen_rtx_MINUS", "(", "Pmode", ",", "addr", ",", "tlsreg", ")", ")", ";", "dest", "=", "force_reg", "(", "Pmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "tmpreg", ",", "tlsreg", ")", ")", ";", "return", "dest", ";", "}", ""], "natrual_language": ["AIX", "Thread-Local", "Address", "support", "."], "TS_V_token": ["powerpcspe", "0", "1", "4", "\"[UL]\"", "\"[TL]\"", "0", "0", "0", "0", "0", "0", "0", "0", "1", "\"*LCM\"", "3", "13"], "File": "powerpcspe", "Func": "rs6000_legitimize_tls_address_aix", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10018, "Length": 490, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "iq2000_initial_elimination_offset", "(", "int", "from", ",", "int", "to", "ATTRIBUTE_UNUSED", ")", "{", "int", "offset", ";", "compute_frame_size", "(", "get_frame_size", "(", ")", ")", ";", "if", "(", "(", "from", ")", "==", "FRAME_POINTER_REGNUM", ")", "(", "offset", ")", "=", "0", ";", "else", "if", "(", "(", "from", ")", "==", "ARG_POINTER_REGNUM", ")", "(", "offset", ")", "=", "(", "cfun", "->", "machine", "->", "total_size", ")", ";", "else", "if", "(", "(", "from", ")", "==", "RETURN_ADDRESS_POINTER_REGNUM", ")", "{", "if", "(", "leaf_function_p", "(", ")", ")", "(", "offset", ")", "=", "0", ";", "else", "(", "offset", ")", "=", "cfun", "->", "machine", "->", "gp_sp_offset", "+", "(", "(", "UNITS_PER_WORD", "-", "(", "POINTER_SIZE", "/", "BITS_PER_UNIT", ")", ")", "*", "(", "BYTES_BIG_ENDIAN", "!=", "0", ")", ")", ";", "}", "return", "offset", ";", "}", ""], "natrual_language": ["Implement", "INITIAL_ELIMINATION_OFFSET", ".", "FROM", "is", "either", "the", "frame", "pointer", ",", "argument", "pointer", ",", "or", "return", "address", "pointer", ".", "TO", "is", "either", "the", "stack", "pointer", "or", "hard", "frame", "pointer", "."], "TS_V_token": ["iq2000", "0", "0", "0"], "File": "iq20002", "Func": "iq2000_initial_elimination_offset", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10019, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rx_modes_tieable_p", "(", "machine_mode", "mode1", ",", "machine_mode", "mode2", ")", "{", "return", "(", "(", "GET_MODE_CLASS", "(", "mode1", ")", "==", "MODE_FLOAT", "||", "GET_MODE_CLASS", "(", "mode1", ")", "==", "MODE_COMPLEX_FLOAT", ")", "==", "(", "GET_MODE_CLASS", "(", "mode2", ")", "==", "MODE_FLOAT", "||", "GET_MODE_CLASS", "(", "mode2", ")", "==", "MODE_COMPLEX_FLOAT", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MODES_TIEABLE_P", "."], "TS_V_token": ["rx"], "File": "rx", "Func": "rx_modes_tieable_p", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10020, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_gen_const_int_vector_shuffle", "(", "machine_mode", "mode", ",", "int", "val", ")", "{", "int", "nunits", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "int", "nsets", "=", "nunits", "/", "4", ";", "rtx", "elts", "[", "MAX_VECT_LEN", "]", ";", "int", "set", "=", "0", ";", "int", "i", ",", "j", ";", "for", "(", "j", "=", "0", ";", "j", "<", "nsets", ";", "j", "++", ",", "set", "=", "4", "*", "j", ")", "for", "(", "i", "=", "0", ";", "i", "<", "4", ";", "i", "++", ")", "elts", "[", "set", "+", "i", "]", "=", "GEN_INT", "(", "set", "+", "(", "(", "val", ">>", "(", "2", "*", "i", ")", ")", "&", "0x3", ")", ")", ";", "return", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec_v", "(", "nunits", ",", "elts", ")", ")", ";", "}", ""], "natrual_language": ["Return", "a", "vector", "of", "repeated", "4-element", "sets", "generated", "from", "immediate", "VAL", "in", "mode", "MODE", "."], "TS_V_token": ["mips", "4", "0", "0", "4", "0", "4", "2", "0x3"], "File": "mips", "Func": "mips_gen_const_int_vector_shuffle", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10021, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "easy_altivec_constant", "(", "rtx", "op", ",", "machine_mode", "mode", ")", "{", "unsigned", "step", ",", "copies", ";", "if", "(", "mode", "==", "VOIDmode", ")", "mode", "=", "GET_MODE", "(", "op", ")", ";", "else", "if", "(", "mode", "!=", "GET_MODE", "(", "op", ")", ")", "return", "false", ";", "if", "(", "mode", "==", "V2DFmode", ")", "return", "zero_constant", "(", "op", ",", "mode", ")", ";", "else", "if", "(", "mode", "==", "V2DImode", ")", "{", "if", "(", "GET_CODE", "(", "CONST_VECTOR_ELT", "(", "op", ",", "0", ")", ")", "!=", "CONST_INT", "||", "GET_CODE", "(", "CONST_VECTOR_ELT", "(", "op", ",", "1", ")", ")", "!=", "CONST_INT", ")", "return", "false", ";", "if", "(", "zero_constant", "(", "op", ",", "mode", ")", ")", "return", "true", ";", "if", "(", "INTVAL", "(", "CONST_VECTOR_ELT", "(", "op", ",", "0", ")", ")", "==", "-", "1", "&&", "INTVAL", "(", "CONST_VECTOR_ELT", "(", "op", ",", "1", ")", ")", "==", "-", "1", ")", "return", "true", ";", "return", "false", ";", "}", "else", "if", "(", "mode", "==", "V1TImode", ")", "return", "false", ";", "step", "=", "GET_MODE_NUNITS", "(", "mode", ")", "/", "4", ";", "copies", "=", "1", ";", "if", "(", "vspltis_constant", "(", "op", ",", "step", ",", "copies", ")", ")", "return", "true", ";", "if", "(", "step", "==", "1", ")", "copies", "<<=", "1", ";", "else", "step", ">>=", "1", ";", "if", "(", "vspltis_constant", "(", "op", ",", "step", ",", "copies", ")", ")", "return", "true", ";", "if", "(", "step", "==", "1", ")", "copies", "<<=", "1", ";", "else", "step", ">>=", "1", ";", "if", "(", "vspltis_constant", "(", "op", ",", "step", ",", "copies", ")", ")", "return", "true", ";", "if", "(", "vspltis_shifted", "(", "op", ")", "!=", "0", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "is", "of", "the", "given", "MODE", "and", "can", "be", "synthesized", "with", "a", "vspltisb", ",", "vspltish", "or", "vspltisw", "."], "TS_V_token": ["rs6000", "0", "1", "0", "1", "1", "1", "4", "1", "1", "1", "1", "1", "1", "1", "0"], "File": "rs60005", "Func": "easy_altivec_constant", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10022, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_value_regno", "(", "enum", "machine_mode", "mode", ",", "tree", "func", ",", "tree", "fntype", ")", "{", "gcc_assert", "(", "!", "TARGET_64BIT", ")", ";", "if", "(", "(", "VECTOR_MODE_P", "(", "mode", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "==", "8", ")", ")", "return", "FIRST_MMX_REG", ";", "if", "(", "mode", "==", "TImode", "||", "(", "VECTOR_MODE_P", "(", "mode", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "==", "16", ")", ")", "return", "FIRST_SSE_REG", ";", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_FLOAT", "||", "!", "TARGET_FLOAT_RETURNS_IN_80387", ")", "return", "0", ";", "if", "(", "(", "func", "||", "fntype", ")", "&&", "(", "mode", "==", "SFmode", "||", "mode", "==", "DFmode", ")", ")", "{", "int", "sse_level", "=", "ix86_function_sseregparm", "(", "fntype", ",", "func", ")", ";", "if", "(", "(", "sse_level", ">=", "1", "&&", "mode", "==", "SFmode", ")", "||", "(", "sse_level", "==", "2", "&&", "mode", "==", "DFmode", ")", ")", "return", "FIRST_SSE_REG", ";", "}", "return", "FIRST_FLOAT_REG", ";", "}", ""], "natrual_language": ["Given", "a", "mode", ",", "return", "the", "register", "to", "use", "for", "a", "return", "value", "."], "TS_V_token": ["i386", "8", "16", "0", "1", "2"], "File": "i3863", "Func": "ix86_value_regno", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10023, "Length": 137, "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", "=", "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": "SparcFrameLowering1", "Func": "emitEpilogue", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10024, "Length": 206, "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", "=", "Subtarget", ".", "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 (3)", "Func": "FoldImmediate", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10025, "Length": 339, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "FISCTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "FISCPassConfig", "(", "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": ["FISC", "FISC", "FISC"], "File": "FISCTargetMachine", "Func": "createPassConfig", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10026, "Length": 21, "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", ")", ";", "fprintf", "(", "data", "->", "file", ",", "\"\\t.rename %s,\\\"%s\\\"\\n\"", ",", "buffer", ",", "name", ")", ";", "}", "if", "(", "data", "->", "function_descriptor", ")", "{", "fputs", "(", "\"\\t.globl .\"", ",", "data", "->", "file", ")", ";", "RS6000_OUTPUT_BASENAME", "(", "data", "->", "file", ",", "buffer", ")", ";", "putc", "(", "'\\n'", ",", "data", "->", "file", ")", ";", "}", "fputs", "(", "\"\\t.globl \"", ",", "data", "->", "file", ")", ";", "assemble_name", "(", "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", ")", ";", "fprintf", "(", "data", "->", "file", ",", "\"\\t.rename %s,\\\"%s\\\"\\n\"", ",", "buffer", ",", "name", ")", ";", "}", "if", "(", "data", "->", "function_descriptor", ")", "{", "fputs", "(", "\"\\t.lglobl .\"", ",", "data", "->", "file", ")", ";", "RS6000_OUTPUT_BASENAME", "(", "data", "->", "file", ",", "buffer", ")", ";", "putc", "(", "'\\n'", ",", "data", "->", "file", ")", ";", "}", "fputs", "(", "\"\\t.lglobl \"", ",", "data", "->", "file", ")", ";", "assemble_name", "(", "data", "->", "file", ",", "buffer", ")", ";", "putc", "(", "'\\n'", ",", "data", "->", "file", ")", ";", "}", "if", "(", "data", "->", "function_descriptor", ")", "putc", "(", "'.'", ",", "data", "->", "file", ")", ";", "ASM_OUTPUT_LABEL", "(", "data", "->", "file", ",", "buffer", ")", ";", "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 \""], "File": "rs6000", "Func": "rs6000_declare_alias", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10027, "Length": 436, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMFrameLowering", "::", "enableCalleeSaveSkip", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "assert", "(", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "NoReturn", ")", "&&", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "NoUnwind", ")", "&&", "!", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "UWTable", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "can", "safely", "skip", "saving", "callee-saved", "registers", "for", "noreturn", "nounwind", "functions", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMFrameLowering100", "Func": "enableCalleeSaveSkip", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10028, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "lxvrze_expand_builtin", "(", "rtx", "target", ",", "insn_code", "icode", ",", "rtx", "*", "op", ",", "machine_mode", "tmode", ",", "machine_mode", "smode", ")", "{", "rtx", "pat", ",", "addr", ";", "op", "[", "1", "]", "=", "copy_to_mode_reg", "(", "Pmode", ",", "op", "[", "1", "]", ")", ";", "if", "(", "op", "[", "0", "]", "==", "const0_rtx", ")", "addr", "=", "gen_rtx_MEM", "(", "tmode", ",", "op", "[", "1", "]", ")", ";", "else", "{", "op", "[", "0", "]", "=", "copy_to_mode_reg", "(", "Pmode", ",", "op", "[", "0", "]", ")", ";", "addr", "=", "gen_rtx_MEM", "(", "smode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "op", "[", "1", "]", ",", "op", "[", "0", "]", ")", ")", ";", "}", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "addr", ")", ";", "if", "(", "!", "pat", ")", "return", "0", ";", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Expand", "a", "builtin", "function", "that", "loads", "a", "scalar", "into", "a", "vector", "register", "with", "zero", "extension", ",", "and", "return", "the", "expanded", "rtx", "."], "TS_V_token": ["rs6000", "1", "1", "0", "1", "0", "0", "1", "0", "0"], "File": "rs6000-builtin", "Func": "lxvrze_expand_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10029, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "legitimate_constant_address_p", "(", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", "||", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "||", "CONST_INT_P", "(", "x", ")", "||", "GET_CODE", "(", "x", ")", "==", "HIGH", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "CONST", ")", "return", "false", ";", "if", "(", "flag_pic", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ")", "==", "SYMBOL_REF", "&&", "!", "SYMBOL_REF_LOCAL_P", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["1", "if", "X", "is", "an", "rtx", "for", "a", "constant", "that", "is", "a", "valid", "address", "."], "TS_V_token": ["vax", "0", "0", "0", "0"], "File": "vax", "Func": "legitimate_constant_address_p", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10030, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"ARM Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"ARM Instruction Selection\""], "File": "ARMISelDAGToDAG (2)4", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10031, "Length": 13, "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", "V2SImode", ":", "case", "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", "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", "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": "ia644", "Func": "expand_vec_perm_broadcast", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10032, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "emit_memmov", "(", "rtx", "destmem", ",", "rtx", "*", "srcmem", ",", "rtx", "destptr", ",", "rtx", "srcptr", ",", "HOST_WIDE_INT", "size_to_move", ")", "{", "rtx", "dst", "=", "destmem", ",", "src", "=", "*", "srcmem", ",", "tempreg", ";", "enum", "insn_code", "code", ";", "machine_mode", "move_mode", ";", "int", "piece_size", ",", "i", ";", "piece_size", "=", "1", "<<", "floor_log2", "(", "size_to_move", ")", ";", "while", "(", "!", "int_mode_for_size", "(", "piece_size", "*", "BITS_PER_UNIT", ",", "0", ")", ".", "exists", "(", "&", "move_mode", ")", "||", "(", "code", "=", "optab_handler", "(", "mov_optab", ",", "move_mode", ")", ")", "==", "CODE_FOR_nothing", ")", "{", "gcc_assert", "(", "piece_size", ">", "1", ")", ";", "piece_size", ">>=", "1", ";", "}", "if", "(", "GET_MODE_SIZE", "(", "move_mode", ")", ">", "GET_MODE_SIZE", "(", "word_mode", ")", ")", "{", "int", "nunits", "=", "GET_MODE_SIZE", "(", "move_mode", ")", "/", "GET_MODE_SIZE", "(", "word_mode", ")", ";", "if", "(", "!", "mode_for_vector", "(", "word_mode", ",", "nunits", ")", ".", "exists", "(", "&", "move_mode", ")", "||", "(", "code", "=", "optab_handler", "(", "mov_optab", ",", "move_mode", ")", ")", "==", "CODE_FOR_nothing", ")", "{", "move_mode", "=", "word_mode", ";", "piece_size", "=", "GET_MODE_SIZE", "(", "move_mode", ")", ";", "code", "=", "optab_handler", "(", "mov_optab", ",", "move_mode", ")", ";", "}", "}", "gcc_assert", "(", "code", "!=", "CODE_FOR_nothing", ")", ";", "dst", "=", "adjust_automodify_address_nv", "(", "dst", ",", "move_mode", ",", "destptr", ",", "0", ")", ";", "src", "=", "adjust_automodify_address_nv", "(", "src", ",", "move_mode", ",", "srcptr", ",", "0", ")", ";", "gcc_assert", "(", "size_to_move", "%", "piece_size", "==", "0", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "size_to_move", ";", "i", "+=", "piece_size", ")", "{", "tempreg", "=", "gen_reg_rtx", "(", "move_mode", ")", ";", "emit_insn", "(", "GEN_FCN", "(", "code", ")", "(", "tempreg", ",", "src", ")", ")", ";", "emit_insn", "(", "GEN_FCN", "(", "code", ")", "(", "dst", ",", "tempreg", ")", ")", ";", "emit_move_insn", "(", "destptr", ",", "plus_constant", "(", "Pmode", ",", "copy_rtx", "(", "destptr", ")", ",", "piece_size", ")", ")", ";", "emit_move_insn", "(", "srcptr", ",", "plus_constant", "(", "Pmode", ",", "copy_rtx", "(", "srcptr", ")", ",", "piece_size", ")", ")", ";", "dst", "=", "adjust_automodify_address_nv", "(", "dst", ",", "move_mode", ",", "destptr", ",", "piece_size", ")", ";", "src", "=", "adjust_automodify_address_nv", "(", "src", ",", "move_mode", ",", "srcptr", ",", "piece_size", ")", ";", "}", "*", "srcmem", "=", "src", ";", "return", "dst", ";", "}", ""], "natrual_language": ["This", "function", "emits", "moves", "to", "copy", "SIZE_TO_MOVE", "bytes", "from", "SRCMEM", "to", "DESTMEM", ".", "SRC", "is", "passed", "by", "pointer", "to", "be", "updated", "on", "return", ".", "Return", "value", "is", "updated", "DST", "."], "TS_V_token": ["i386", "1", "0", "1", "1", "0", "0", "0", "0"], "File": "i386-expand", "Func": "emit_memmov", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10033, "Length": 336, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "mips_output_sync_loop", "(", "rtx_insn", "*", "insn", ",", "rtx", "*", "operands", ")", "{", "mips_branch_likely", "=", "TARGET_FIX_R10000", ";", "mips_process_sync_loop", "(", "insn", ",", "operands", ")", ";", "mips_push_asm_switch", "(", "&", "mips_noreorder", ")", ";", "mips_push_asm_switch", "(", "&", "mips_nomacro", ")", ";", "mips_push_asm_switch", "(", "&", "mips_noat", ")", ";", "mips_start_ll_sc_sync_block", "(", ")", ";", "mips_multi_write", "(", ")", ";", "mips_end_ll_sc_sync_block", "(", ")", ";", "mips_pop_asm_switch", "(", "&", "mips_noat", ")", ";", "mips_pop_asm_switch", "(", "&", "mips_nomacro", ")", ";", "mips_pop_asm_switch", "(", "&", "mips_noreorder", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "and/or", "return", "the", "asm", "template", "for", "sync", "loop", "INSN", ",", "which", "has", "the", "operands", "given", "by", "OPERANDS", "."], "TS_V_token": ["mips", "\"\""], "File": "mips", "Func": "mips_output_sync_loop", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10034, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZPostRASchedStrategy", "::", "advanceTo", "(", "MachineBasicBlock", "::", "iterator", "NextBegin", ")", "{", "MachineBasicBlock", "::", "iterator", "LastEmittedMI", "=", "HazardRec", "->", "getLastEmittedMI", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "(", "(", "LastEmittedMI", "!=", "nullptr", "&&", "LastEmittedMI", "->", "getParent", "(", ")", "==", "MBB", ")", "?", "std", "::", "next", "(", "LastEmittedMI", ")", ":", "MBB", "->", "begin", "(", ")", ")", ";", "for", "(", ";", "I", "!=", "NextBegin", ";", "++", "I", ")", "{", "if", "(", "I", "->", "isPosition", "(", ")", "||", "I", "->", "isDebugInstr", "(", ")", ")", "continue", ";", "HazardRec", "->", "emitInstruction", "(", "&", "*", "I", ")", ";", "}", "}", ""], "natrual_language": ["advanceTo", "-", "Advance", "the", "specified", "iterator", "to", "point", "to", "the", "Segment", "containing", "the", "specified", "position", ",", "or", "end", "(", ")", "if", "the", "position", "is", "past", "the", "end", "of", "the", "range", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZMachineScheduler", "Func": "advanceTo", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10035, "Length": 94, "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": 10036, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "csky_libcall_value", "(", "machine_mode", "mode", ",", "const_rtx", "libcall", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "FUNCTION_VARG_MODE_P", "(", "mode", ")", ")", "{", "return", "gen_rtx_REG", "(", "mode", ",", "CSKY_FIRST_VFP_REGNUM", ")", ";", "}", "return", "gen_rtx_REG", "(", "mode", ",", "CSKY_FIRST_RET_REGNUM", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LIBCALL_VALUE", "."], "TS_V_token": ["csky"], "File": "csky", "Func": "csky_libcall_value", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10037, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCPassConfig", "::", "addIRPasses", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createPPCBoolRetToIntPass", "(", ")", ")", ";", "addPass", "(", "createAtomicExpandPass", "(", "&", "getPPCTargetMachine", "(", ")", ")", ")", ";", "bool", "UsePrefetching", "=", "TM", "->", "getTargetTriple", "(", ")", ".", "getVendor", "(", ")", "==", "Triple", "::", "BGQ", "&&", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ";", "if", "(", "EnablePrefetch", ".", "getNumOccurrences", "(", ")", ">", "0", ")", "UsePrefetching", "=", "EnablePrefetch", ";", "if", "(", "UsePrefetching", ")", "addPass", "(", "createLoopDataPrefetchPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", ">=", "CodeGenOpt", "::", "Default", "&&", "EnableGEPOpt", ")", "{", "addPass", "(", "createSeparateConstOffsetFromGEPPass", "(", "TM", ",", "true", ")", ")", ";", "addPass", "(", "createEarlyCSEPass", "(", ")", ")", ";", "addPass", "(", "createLICMPass", "(", ")", ")", ";", "}", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "0"], "File": "PPCTargetMachine28", "Func": "addIRPasses", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10038, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86SpeculativeLoadHardeningPass", "::", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["X86", "X86"], "File": "X86SpeculativeLoadHardening", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10039, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_progress_pointer", "(", "rtx", "pointer", ")", "{", "HOST_WIDE_INT", "amount", "=", "GET_MODE_SIZE", "(", "GET_MODE", "(", "pointer", ")", ")", ";", "return", "aarch64_move_pointer", "(", "pointer", ",", "amount", ")", ";", "}", ""], "natrual_language": ["Return", "a", "new", "RTX", "holding", "the", "result", "of", "moving", "POINTER", "forward", "by", "the", "size", "of", "the", "mode", "it", "points", "to", "."], "TS_V_token": ["aarch64"], "File": "aarch642", "Func": "aarch64_progress_pointer", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10040, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "seh_emit_save", "(", "FILE", "*", "f", ",", "struct", "seh_frame_state", "*", "seh", ",", "rtx", "reg", ",", "HOST_WIDE_INT", "cfa_offset", ")", "{", "const", "unsigned", "int", "regno", "=", "REGNO", "(", "reg", ")", ";", "HOST_WIDE_INT", "offset", ";", "seh", "->", "reg_offset", "[", "regno", "]", "=", "cfa_offset", ";", "gcc_assert", "(", "seh", "->", "sp_offset", ">=", "cfa_offset", ")", ";", "offset", "=", "seh", "->", "sp_offset", "-", "cfa_offset", ";", "fputs", "(", "(", "SSE_REGNO_P", "(", "regno", ")", "?", "\"\\t.seh_savexmm\\t\"", ":", "GENERAL_REGNO_P", "(", "regno", ")", "?", "\"\\t.seh_savereg\\t\"", ":", "(", "gcc_unreachable", "(", ")", ",", "\"\"", ")", ")", ",", "f", ")", ";", "print_reg", "(", "reg", ",", "0", ",", "f", ")", ";", "fprintf", "(", "f", ",", "\", \"", "HOST_WIDE_INT_PRINT_DEC", "\"\\n\"", ",", "offset", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "assembler", "directive", "to", "save", "REG", "at", "CFA", "-", "CFA_OFFSET", "."], "TS_V_token": ["i386", "\"\\t.seh_savexmm\\t\"", "\"\\t.seh_savereg\\t\"", "\"\"", "0", "\", \"", "\"\\n\""], "File": "winnt", "Func": "seh_emit_save", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10041, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_can_inline_p", "(", "tree", "caller", ",", "tree", "callee", ")", "{", "tree", "caller_tree", "=", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "caller", ")", ";", "tree", "callee_tree", "=", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "callee", ")", ";", "if", "(", "!", "callee_tree", ")", "return", "true", ";", "struct", "cl_target_option", "*", "caller_opts", "=", "TREE_TARGET_OPTION", "(", "caller_tree", "?", "caller_tree", ":", "target_option_default_node", ")", ";", "struct", "cl_target_option", "*", "callee_opts", "=", "TREE_TARGET_OPTION", "(", "callee_tree", ")", ";", "if", "(", "(", "caller_opts", "->", "x_aarch64_isa_flags", "&", "callee_opts", "->", "x_aarch64_isa_flags", ")", "!=", "callee_opts", "->", "x_aarch64_isa_flags", ")", "return", "false", ";", "if", "(", "(", "TARGET_STRICT_ALIGN_P", "(", "caller_opts", "->", "x_target_flags", ")", "!=", "TARGET_STRICT_ALIGN_P", "(", "callee_opts", "->", "x_target_flags", ")", ")", "&&", "!", "(", "!", "TARGET_STRICT_ALIGN_P", "(", "callee_opts", "->", "x_target_flags", ")", "&&", "TARGET_STRICT_ALIGN_P", "(", "caller_opts", "->", "x_target_flags", ")", ")", ")", "return", "false", ";", "bool", "always_inline", "=", "lookup_attribute", "(", "\"always_inline\"", ",", "DECL_ATTRIBUTES", "(", "callee", ")", ")", ";", "if", "(", "always_inline", ")", "return", "true", ";", "if", "(", "caller_opts", "->", "x_aarch64_cmodel_var", "!=", "callee_opts", "->", "x_aarch64_cmodel_var", ")", "return", "false", ";", "if", "(", "caller_opts", "->", "x_aarch64_tls_dialect", "!=", "callee_opts", "->", "x_aarch64_tls_dialect", ")", "return", "false", ";", "if", "(", "!", "aarch64_tribools_ok_for_inlining_p", "(", "caller_opts", "->", "x_aarch64_fix_a53_err835769", ",", "callee_opts", "->", "x_aarch64_fix_a53_err835769", ",", "2", ",", "TARGET_FIX_ERR_A53_835769_DEFAULT", ")", ")", "return", "false", ";", "if", "(", "!", "aarch64_tribools_ok_for_inlining_p", "(", "caller_opts", "->", "x_aarch64_fix_a53_err843419", ",", "callee_opts", "->", "x_aarch64_fix_a53_err843419", ",", "2", ",", "TARGET_FIX_ERR_A53_843419", ")", ")", "return", "false", ";", "if", "(", "!", "aarch64_tribools_ok_for_inlining_p", "(", "caller_opts", "->", "x_flag_omit_leaf_frame_pointer", ",", "callee_opts", "->", "x_flag_omit_leaf_frame_pointer", ",", "2", ",", "1", ")", ")", "return", "false", ";", "if", "(", "callee_opts", "->", "x_aarch64_override_tune_string", "!=", "NULL", "&&", "caller_opts", "->", "x_aarch64_override_tune_string", "==", "NULL", ")", "return", "false", ";", "if", "(", "callee_opts", "->", "x_aarch64_override_tune_string", "&&", "caller_opts", "->", "x_aarch64_override_tune_string", "&&", "(", "strcmp", "(", "callee_opts", "->", "x_aarch64_override_tune_string", ",", "caller_opts", "->", "x_aarch64_override_tune_string", ")", "!=", "0", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CAN_INLINE_P", ".", "Decide", "whether", "it", "is", "valid", "to", "inline", "CALLEE", "into", "CALLER", "based", "on", "target-specific", "info", ".", "Make", "sure", "that", "the", "caller", "and", "callee", "have", "compatible", "architectural", "features", ".", "Then", "go", "through", "the", "other", "possible", "target", "attributes", "and", "see", "if", "they", "can", "block", "inlining", ".", "Try", "not", "to", "reject", "always_inline", "callees", "unless", "they", "are", "incompatible", "architecturally", "."], "TS_V_token": ["aarch64", "\"always_inline\"", "2", "2", "2", "1", "0"], "File": "aarch643", "Func": "aarch64_can_inline_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10042, "Length": 275, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "isUnconditionalBranch", "(", "const", "MCInst", "&", "Inst", ")", "const", "{", "if", "(", "Inst", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "Bcc", "&&", "Inst", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", "==", "A64CC", "::", "AL", ")", "return", "true", ";", "return", "MCInstrAnalysis", "::", "isUnconditionalBranch", "(", "Inst", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "is", "a", "branch", "which", "always", "transfers", "control", "flow", "to", "some", "other", "block", "."], "TS_V_token": ["AArch64", "AArch64::Bcc", "0", "A64CC::AL"], "File": "AArch64MCTargetDesc1", "Func": "isUnconditionalBranch", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10043, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "MVT", "getScalarShiftAmountTy", "(", "EVT", "LHSTy", ")", "const", "{", "return", "MVT", "::", "i8", ";", "}", ""], "natrual_language": ["Return", "the", "type", "to", "use", "for", "a", "scalar", "shift", "opcode", ",", "given", "the", "shifted", "amount", "type", "."], "TS_V_token": ["X86", "MVT::i8"], "File": "X86ISelLowering (2)", "Func": "getScalarShiftAmountTy", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10044, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SystemZRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "assert", "(", "0", "&&", "\"What is the frame register\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "\"What is the frame register\"", "0"], "File": "SystemZRegisterInfo13", "Func": "getFrameRegister", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10045, "Length": 23, "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": 10046, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsModuleDAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"In MipsModuleDAGToDAGISel::runMachineFunction\\n\"", ")", ";", "const_cast", "<", "MipsSubtarget", "&", ">", "(", "Subtarget", ")", ".", "resetSubtarget", "(", "&", "MF", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "\"In MipsModuleDAGToDAGISel::runMachineFunction\\n\"", "Mips"], "File": "MipsModuleISelDAGToDAG", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10047, "Length": 38, "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": 10048, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TOYInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "TOY", "::", "STR", ")", ")", ".", "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": ["TOY", "TOY", "TOY::STR", "0"], "File": "TOYInstrInfo1", "Func": "storeRegToStackSlot", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10049, "Length": 76, "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": 10050, "Length": 84, "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", ":", "cond_str", "=", "\"ge\"", ";", "break", ";", "case", "GT", ":", "cond_str", "=", "\"g\"", ";", "break", ";", "case", "LE", ":", "cond_str", "=", "\"le\"", ";", "break", ";", "case", "LT", ":", "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\"", "\"ge\"", "\"g\"", "\"le\"", "\"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": "sparc", "Func": "output_cbcond", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10051, "Length": 314, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "canCauseFpMLxStall", "(", "unsigned", "Opcode", ")", "const", "{", "return", "MLxHazardOpcodes", ".", "count", "(", "Opcode", ")", ";", "}", ""], "natrual_language": ["canCauseFpMLxStall", "-", "Return", "true", "if", "an", "instruction", "of", "the", "specified", "opcode", "will", "cause", "stalls", "when", "scheduled", "after", "(", "within", "4-cycle", "window", ")", "a", "fp", "MLA", "/", "MLS", "instruction", "."], "TS_V_token": ["ARM"], "File": "ARMBaseInstrInfo (2)1", "Func": "canCauseFpMLxStall", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10052, "Length": 17, "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": 10053, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "OpenRISCFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["OpenRISC", "OpenRISC"], "File": "OpenRISCFrameLowering", "Func": "emitEpilogue", "Target": "OpenRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10054, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "unsigned", "getReg", "(", ")", "const", "LLVM_OVERRIDE", "{", "assert", "(", "Kind", "==", "KindReg", "&&", "\"Not a register\"", ")", ";", "return", "Reg", ".", "Num", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["SystemZ", "\"Not a register\""], "File": "SystemZAsmParser10", "Func": "getReg", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10055, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc_expand_epilogue", "(", "bool", "for_eh", ")", "{", "HOST_WIDE_INT", "size", "=", "sparc_frame_size", ";", "if", "(", "cfun", "->", "calls_alloca", ")", "emit_insn", "(", "gen_frame_blockage", "(", ")", ")", ";", "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", ")", "{", "emit_insn", "(", "gen_frame_blockage", "(", ")", ")", ";", "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": "sparc1", "Func": "sparc_expand_epilogue", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10056, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "TOYTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "NULL", ";", "case", "TOYISD", "::", "RET_FLAG", ":", "return", "\"RetFlag\"", ";", "case", "TOYISD", "::", "LOAD_SYM", ":", "return", "\"LOAD_SYM\"", ";", "case", "TOYISD", "::", "MOVEi32", ":", "return", "\"MOVEi32\"", ";", "case", "TOYISD", "::", "CALL", ":", "return", "\"CALL\"", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["TOY", "TOY", "TOYISD::RET_FLAG", "\"RetFlag\"", "TOYISD::LOAD_SYM", "\"LOAD_SYM\"", "TOYISD::MOVEi32", "\"MOVEi32\"", "TOYISD::CALL", "\"CALL\""], "File": "TOYISelLowering1", "Func": "getTargetNodeName", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10057, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_return_in_msb", "(", "const_tree", "valtype", ")", "{", "return", "(", "DEFAULT_ABI", "==", "ABI_ELFv2", "&&", "BYTES_BIG_ENDIAN", "&&", "AGGREGATE_TYPE_P", "(", "valtype", ")", "&&", "(", "rs6000_function_arg_padding", "(", "TYPE_MODE", "(", "valtype", ")", ",", "valtype", ")", "==", "PAD_UPWARD", ")", ")", ";", "}", ""], "natrual_language": ["Specify", "whether", "values", "returned", "in", "registers", "should", "be", "at", "the", "most", "significant", "end", "of", "a", "register", ".", "We", "want", "aggregates", "returned", "by", "value", "to", "match", "the", "way", "aggregates", "are", "passed", "to", "functions", "."], "TS_V_token": ["rs6000"], "File": "rs60007", "Func": "rs6000_return_in_msb", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10058, "Length": 37, "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": 10059, "Length": 14, "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", "::", "VLD1q64", ":", "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::VLD1q64", "1", "0", "0", "1", "0", "ARM::VLDMQIA", "1", "0", "0", "1", "0", "0"], "File": "ARMBaseInstrInfo (2)4", "Func": "isLoadFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10060, "Length": 345, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "MachineModuleInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineModuleInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "setPreservesAll", "(", ")", ";", "ModulePass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AArch64"], "File": "AArch64LowerHomogeneousPrologEpilog", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10061, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86RegisterInfo", "::", "isFixedRegister", "(", "const", "MachineFunction", "&", "MF", ",", "MCRegister", "PhysReg", ")", "const", "{", "const", "X86Subtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "const", "TargetRegisterInfo", "&", "TRI", "=", "*", "ST", ".", "getRegisterInfo", "(", ")", ";", "if", "(", "TRI", ".", "isSuperOrSubRegisterEq", "(", "X86", "::", "RSP", ",", "PhysReg", ")", ")", "return", "true", ";", "const", "X86FrameLowering", "&", "TFI", "=", "*", "getFrameLowering", "(", "MF", ")", ";", "if", "(", "TFI", ".", "hasFP", "(", "MF", ")", "&&", "TRI", ".", "isSuperOrSubRegisterEq", "(", "X86", "::", "RBP", ",", "PhysReg", ")", ")", "return", "true", ";", "return", "X86GenRegisterInfo", "::", "isFixedRegister", "(", "MF", ",", "PhysReg", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "PhysReg", "is", "a", "fixed", "register", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86::RSP", "X86", "X86::RBP", "X86"], "File": "X86RegisterInfo47", "Func": "isFixedRegister", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10062, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "MCAsmParser", "&", "Parser", "=", "getParser", "(", ")", ";", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "if", "(", "IDVal", "==", "\".word\"", ")", "return", "ParseDirectiveWord", "(", "2", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "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", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["X86", "X86", "\".word\"", "2", "\".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\""], "File": "X86AsmParser", "Func": "ParseDirective", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10063, "Length": 246, "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": 10064, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "section", "*", "iq2000_select_rtx_section", "(", "machine_mode", "mode", ",", "rtx", "x", "ATTRIBUTE_UNUSED", ",", "unsigned", "HOST_WIDE_INT", "align", ")", "{", "return", "mergeable_constant_section", "(", "mode", ",", "align", ",", "0", ")", ";", "}", ""], "natrual_language": ["Choose", "the", "section", "to", "use", "for", "the", "constant", "rtx", "expression", "X", "that", "has", "mode", "MODE", "."], "TS_V_token": ["iq2000", "0"], "File": "iq2000", "Func": "iq2000_select_rtx_section", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10065, "Length": 28, "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", ")", "{", "const", "TargetInstrInfo", "*", "TII", "=", "TM", ".", "getInstrInfo", "(", ")", ";", "assert", "(", "TII", "&&", "\"No InstrInfo?\"", ")", ";", "return", "new", "PPCHazardRecognizer970", "(", "*", "TII", ")", ";", "}", "return", "TargetInstrInfoImpl", "::", "CreateTargetPostRAHazardRecognizer", "(", "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", "\"No InstrInfo?\"", "PPC"], "File": "PPCInstrInfo134", "Func": "CreateTargetPostRAHazardRecognizer", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10066, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86ATTInstPrinter", "::", "printPCRelImm", "(", "const", "MCInst", "*", "MI", ",", "unsigned", "OpNo", ",", "raw_ostream", "&", "O", ")", "{", "const", "MCOperand", "&", "Op", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "if", "(", "Op", ".", "isImm", "(", ")", ")", "O", "<<", "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", "<<", "\"0x\"", ";", "O", ".", "write_hex", "(", "Address", ")", ";", "}", "else", "{", "O", "<<", "*", "Op", ".", "getExpr", "(", ")", ";", "}", "}", "}", ""], "natrual_language": ["value", "(", "e.g", "."], "TS_V_token": ["X86", "X86", "\"unknown pcrel immediate operand\"", "\"0x\""], "File": "X86ATTInstPrinter32", "Func": "printPCRelImm", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10067, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "]", "=", "{", "{", "\"reloc_pcrel_4byte\"", ",", "0", ",", "4", "*", "8", "}", ",", "{", "\"reloc_pcrel_1byte\"", ",", "0", ",", "1", "*", "8", "}", ",", "{", "\"reloc_riprel_4byte\"", ",", "0", ",", "4", "*", "8", "}", "}", ";", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "return", "MCCodeEmitter", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "assert", "(", "unsigned", "(", "Kind", "-", "FirstTargetFixupKind", ")", "<", "getNumFixupKinds", "(", ")", "&&", "\"Invalid kind!\"", ")", ";", "return", "Infos", "[", "Kind", "-", "FirstTargetFixupKind", "]", ";", "}", ""], "natrual_language": ["Get", "information", "on", "a", "fixup", "kind", "."], "TS_V_token": ["X86", "\"reloc_pcrel_4byte\"", "0", "4", "8", "\"reloc_pcrel_1byte\"", "0", "1", "8", "\"reloc_riprel_4byte\"", "0", "4", "8", "\"Invalid kind!\""], "File": "X86MCCodeEmitter69", "Func": "getFixupKindInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10068, "Length": 88, "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": 10069, "Length": 286, "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": 10070, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "AArch64RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "AArch64FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "WSP", ")", ";", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "WZR", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", "||", "TT", ".", "isOSDarwin", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "W29", ")", ";", "for", "(", "size_t", "i", "=", "0", ";", "i", "<", "AArch64", "::", "GPR32commonRegClass", ".", "getNumRegs", "(", ")", ";", "++", "i", ")", "{", "if", "(", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isXRegisterReserved", "(", "i", ")", ")", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "GPR32commonRegClass", ".", "getRegister", "(", "i", ")", ")", ";", "}", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "W19", ")", ";", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "SpeculativeLoadHardening", ")", ")", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "W16", ")", ";", "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": ["AArch64", "AArch64", "AArch64", "AArch64::WSP", "AArch64::WZR", "AArch64::W29", "0", "AArch64::GPR32commonRegClass", "AArch64", "AArch64::GPR32commonRegClass", "AArch64::W19", "AArch64::W16"], "File": "AArch64RegisterInfo", "Func": "getReservedRegs", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10071, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "loongarch_base_index_address_p", "(", "rtx", "x", ",", "machine_mode", "mode", ")", "{", "struct", "loongarch_address_info", "addr", ";", "return", "(", "loongarch_classify_address", "(", "&", "addr", ",", "x", ",", "mode", ",", "false", ")", "&&", "addr", ".", "type", "==", "ADDRESS_REG_REG", "&&", "REG_P", "(", "addr", ".", "offset", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "legitimate", "address", "with", "base", "and", "index", ".", "MODE", "is", "the", "mode", "of", "the", "value", "being", "accessed", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_base_index_address_p", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10072, "Length": 43, "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", ";", "uint16_t", "validDomains", "=", "0", ";", "if", "(", "domain", "&&", "lookup", "(", "MI", ".", "getOpcode", "(", ")", ",", "domain", ")", ")", "validDomains", "=", "0xe", ";", "else", "if", "(", "domain", "&&", "lookupAVX2", "(", "MI", ".", "getOpcode", "(", ")", ",", "domain", ")", ")", "validDomains", "=", "Subtarget", ".", "hasAVX2", "(", ")", "?", "0xe", ":", "0x6", ";", "else", "if", "(", "domain", "&&", "lookupAVX512", "(", "MI", ".", "getOpcode", "(", ")", ",", "domain", ")", ")", "validDomains", "=", "0xe", ";", "else", "if", "(", "domain", "&&", "lookupAVX512DQ", "(", "MI", ".", "getOpcode", "(", ")", ",", "domain", ")", ")", "validDomains", "=", "Subtarget", ".", "hasDQI", "(", ")", "?", "0xe", ":", "0x8", ";", "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", "0xe", "0xe", "0x8"], "File": "X86InstrInfo10", "Func": "getExecutionDomain", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10073, "Length": 149, "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": 10074, "Length": 461, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "LanaiRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "Lanai", "::", "FP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai::FP"], "File": "LanaiRegisterInfo", "Func": "getFrameRegister", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10075, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "getTargetNode", "(", "ExternalSymbolSDNode", "*", "N", ",", "EVT", "Ty", ",", "SelectionDAG", "&", "DAG", ",", "unsigned", "Flag", ")", "const", "{", "return", "DAG", ".", "getTargetExternalSymbol", "(", "N", "->", "getSymbol", "(", ")", ",", "Ty", ",", "Flag", ")", ";", "}", ""], "natrual_language": ["Retrieve", "the", "target", "node", "this", "edge", "connects", "to", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ISelLowering4", "Func": "getTargetNode", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10076, "Length": 38, "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", "(", "t", "==", "error_mark_node", ")", "return", "false", ";", "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-c3", "Func": "rs6000_builtin_type_compatible", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10077, "Length": 58, "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": 10078, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "doInitialization", "(", "Module", "&", "M", ")", "override", "{", "if", "(", "!", "TOC", ".", "empty", "(", ")", ")", "TOC", ".", "clear", "(", ")", ";", "return", "AsmPrinter", "::", "doInitialization", "(", "M", ")", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["PowerPC"], "File": "PPCAsmPrinter (2)1", "Func": "doInitialization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10079, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86CallFrameOptimization", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "STI", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "TFL", "=", "STI", "->", "getFrameLowering", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "const", "X86RegisterInfo", "&", "RegInfo", "=", "*", "static_cast", "<", "const", "X86RegisterInfo", "*", ">", "(", "STI", "->", "getRegisterInfo", "(", ")", ")", ";", "SlotSize", "=", "RegInfo", ".", "getSlotSize", "(", ")", ";", "assert", "(", "isPowerOf2_32", "(", "SlotSize", ")", "&&", "\"Expect power of 2 stack slot size\"", ")", ";", "Log2SlotSize", "=", "Log2_32", "(", "SlotSize", ")", ";", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", "||", "!", "isLegal", "(", "MF", ")", ")", "return", "false", ";", "unsigned", "FrameSetupOpcode", "=", "TII", "->", "getCallFrameSetupOpcode", "(", ")", ";", "bool", "Changed", "=", "false", ";", "ContextVector", "CallSeqVector", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "FrameSetupOpcode", ")", "{", "CallContext", "Context", ";", "collectCallInfo", "(", "MF", ",", "MBB", ",", "MI", ",", "Context", ")", ";", "CallSeqVector", ".", "push_back", "(", "Context", ")", ";", "}", "if", "(", "!", "isProfitable", "(", "MF", ",", "CallSeqVector", ")", ")", "return", "false", ";", "for", "(", "auto", "CC", ":", "CallSeqVector", ")", "{", "if", "(", "CC", ".", "UsePush", ")", "{", "adjustCallSequence", "(", "MF", ",", "CC", ")", ";", "Changed", "=", "true", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "\"Expect power of 2 stack slot size\""], "File": "X86CallFrameOptimization1", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10080, "Length": 223, "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", ".", "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\"", ")", ";", "eliminateFI", "(", "MI", ",", "i", ",", "FrameIndex", ",", "stackSize", ",", "spOffset", ")", ";", "}", ""], "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\""], "File": "MipsRegisterInfo11", "Func": "eliminateFrameIndex", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10081, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "SDNode", "*", "getInt64", "(", "SelectionDAG", "*", "CurDAG", ",", "const", "SDLoc", "&", "dl", ",", "int64_t", "Imm", ")", "{", "unsigned", "Count", "=", "getInt64CountDirect", "(", "Imm", ")", ";", "if", "(", "Count", "==", "1", ")", "return", "getInt64Direct", "(", "CurDAG", ",", "dl", ",", "Imm", ")", ";", "unsigned", "RMin", "=", "0", ";", "int64_t", "MatImm", ";", "unsigned", "MaskEnd", ";", "for", "(", "unsigned", "r", "=", "1", ";", "r", "<", "63", ";", "++", "r", ")", "{", "uint64_t", "RImm", "=", "Rot64", "(", "Imm", ",", "r", ")", ";", "unsigned", "RCount", "=", "getInt64CountDirect", "(", "RImm", ")", "+", "1", ";", "if", "(", "RCount", "<", "Count", ")", "{", "Count", "=", "RCount", ";", "RMin", "=", "r", ";", "MatImm", "=", "RImm", ";", "MaskEnd", "=", "63", ";", "}", "unsigned", "LS", "=", "findLastSet", "(", "RImm", ")", ";", "if", "(", "LS", "!=", "r", "-", "1", ")", "continue", ";", "uint64_t", "OnesMask", "=", "-", "(", "int64_t", ")", "(", "UINT64_C", "(", "1", ")", "<<", "(", "LS", "+", "1", ")", ")", ";", "uint64_t", "RImmWithOnes", "=", "RImm", "|", "OnesMask", ";", "RCount", "=", "getInt64CountDirect", "(", "RImmWithOnes", ")", "+", "1", ";", "if", "(", "RCount", "<", "Count", ")", "{", "Count", "=", "RCount", ";", "RMin", "=", "r", ";", "MatImm", "=", "RImmWithOnes", ";", "MaskEnd", "=", "LS", ";", "}", "}", "if", "(", "!", "RMin", ")", "return", "getInt64Direct", "(", "CurDAG", ",", "dl", ",", "Imm", ")", ";", "auto", "getI32Imm", "=", "[", "CurDAG", ",", "dl", "]", "(", "unsigned", "Imm", ")", "{", "return", "CurDAG", "->", "getTargetConstant", "(", "Imm", ",", "dl", ",", "MVT", "::", "i32", ")", ";", "}", ";", "SDValue", "Val", "=", "SDValue", "(", "getInt64Direct", "(", "CurDAG", ",", "dl", ",", "MatImm", ")", ",", "0", ")", ";", "return", "CurDAG", "->", "getMachineNode", "(", "PPC", "::", "RLDICR", ",", "dl", ",", "MVT", "::", "i64", ",", "Val", ",", "getI32Imm", "(", "64", "-", "RMin", ")", ",", "getI32Imm", "(", "MaskEnd", ")", ")", ";", "}", ""], "natrual_language": ["Get", "a", "constant", "64-bit", "value", "."], "TS_V_token": ["PowerPC", "1", "0", "1", "63", "1", "63", "1", "1", "1", "1", "MVT::i32", "0", "PPC::RLDICR", "MVT::i64", "64"], "File": "PPCISelDAGToDAG101", "Func": "getInt64", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10082, "Length": 283, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "direction", "function_arg_padding", "(", "machine_mode", "mode", ",", "const_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": "sparc4", "Func": "function_arg_padding", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10083, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "pa_asm_output_aligned_local", "(", "FILE", "*", "stream", ",", "const", "char", "*", "name", ",", "unsigned", "HOST_WIDE_INT", "size", ",", "unsigned", "int", "align", ")", "{", "bss_section", "(", ")", ";", "fprintf", "(", "stream", ",", "\"\\t.align %u\\n\"", ",", "align", "/", "BITS_PER_UNIT", ")", ";", "fprintf", "(", "stream", ",", "\"%s\"", ",", "LOCAL_ASM_OP", ")", ";", "assemble_name", "(", "stream", ",", "name", ")", ";", "fprintf", "(", "stream", ",", "\"\\n\"", ")", ";", "ASM_OUTPUT_LABEL", "(", "stream", ",", "name", ")", ";", "fprintf", "(", "stream", ",", "\"\\t.block \"", "HOST_WIDE_INT_PRINT_UNSIGNED", "\"\\n\"", ",", "size", ")", ";", "}", ""], "natrual_language": ["We", "ca", "n't", "use", ".comm", "for", "local", "common", "storage", "as", "the", "SOM", "linker", "effectively", "treats", "the", "symbol", "as", "universal", "and", "uses", "the", "same", "storage", "for", "local", "symbols", "with", "the", "same", "name", "in", "different", "object", "files", ".", "The", ".block", "directive", "reserves", "an", "uninitialized", "block", "of", "storage", ".", "However", ",", "it", "'s", "not", "common", "storage", ".", "Fortunately", ",", "GCC", "never", "requests", "common", "storage", "with", "the", "same", "name", "in", "any", "given", "translation", "unit", "."], "TS_V_token": ["pa", "\"\\t.align %u\\n\"", "\"%s\"", "\"\\n\"", "\"\\t.block \"", "\"\\n\""], "File": "pa3", "Func": "pa_asm_output_aligned_local", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10084, "Length": 78, "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", "::", "createFPImm", "(", "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": "ARMMCInstLower19", "Func": "lowerOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10085, "Length": 328, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FastISel", "*", "PPCTargetLowering", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "FuncInfo", ",", "const", "TargetLibraryInfo", "*", "LibInfo", ")", "const", "{", "return", "PPC", "::", "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": ["PowerPC", "PPC", "PPC::createFastISel"], "File": "PPCISelLowering (2)", "Func": "createFastISel", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10086, "Length": 28, "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", "(", "!", "Branch", "||", "!", "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", ")", ";", "++", "NumFused", ";", "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": "X86MacroFusion6", "Func": "apply", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10087, "Length": 256, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_load_insn1", "(", "rtx", "pat", ",", "rtx", "*", "load_mem", ")", "{", "if", "(", "!", "pat", "||", "pat", "==", "NULL_RTX", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "SET", ")", "{", "if", "(", "REG_P", "(", "SET_DEST", "(", "pat", ")", ")", ")", "return", "find_mem_ref", "(", "SET_SRC", "(", "pat", ")", ",", "load_mem", ")", ";", "else", "return", "false", ";", "}", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "XVECLEN", "(", "pat", ",", "0", ")", ";", "i", "++", ")", "if", "(", "is_load_insn1", "(", "XVECEXP", "(", "pat", ",", "0", ",", "i", ")", ",", "load_mem", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Determine", "if", "PAT", "is", "a", "PATTERN", "of", "a", "load", "insn", "."], "TS_V_token": ["rs6000", "0", "0", "0"], "File": "rs6000", "Func": "is_load_insn1", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10088, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "MCAsmParser", "&", "Parser", "=", "getParser", "(", ")", ";", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "if", "(", "IDVal", "==", "\".word\"", ")", "return", "ParseDirectiveWord", "(", "2", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "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", "==", "\".even\"", ")", "return", "parseDirectiveEven", "(", "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", "\".word\"", "2", "\".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\""], "File": "X86AsmParser (2)3", "Func": "ParseDirective", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10089, "Length": 263, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TTIImpl", "::", "getTgtMemIntrinsic", "(", "IntrinsicInst", "*", "Inst", ",", "MemIntrinsicInfo", "&", "Info", ")", "{", "switch", "(", "Inst", "->", "getIntrinsicID", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Intrinsic", "::", "aarch64_neon_ld2", ":", "case", "Intrinsic", "::", "aarch64_neon_ld3", ":", "case", "Intrinsic", "::", "aarch64_neon_ld4", ":", "Info", ".", "ReadMem", "=", "true", ";", "Info", ".", "WriteMem", "=", "false", ";", "Info", ".", "PtrVal", "=", "Inst", "->", "getArgOperand", "(", "0", ")", ";", "break", ";", "case", "Intrinsic", "::", "aarch64_neon_st2", ":", "case", "Intrinsic", "::", "aarch64_neon_st3", ":", "case", "Intrinsic", "::", "aarch64_neon_st4", ":", "Info", ".", "ReadMem", "=", "false", ";", "Info", ".", "WriteMem", "=", "true", ";", "Info", ".", "PtrVal", "=", "Inst", "->", "getArgOperand", "(", "Inst", "->", "arg_size", "(", ")", "-", "1", ")", ";", "break", ";", "}", "switch", "(", "Inst", "->", "getIntrinsicID", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Intrinsic", "::", "aarch64_neon_ld2", ":", "case", "Intrinsic", "::", "aarch64_neon_st2", ":", "Info", ".", "MatchingId", "=", "VECTOR_LDST_TWO_ELEMENTS", ";", "break", ";", "case", "Intrinsic", "::", "aarch64_neon_ld3", ":", "case", "Intrinsic", "::", "aarch64_neon_st3", ":", "Info", ".", "MatchingId", "=", "VECTOR_LDST_THREE_ELEMENTS", ";", "break", ";", "case", "Intrinsic", "::", "aarch64_neon_ld4", ":", "case", "Intrinsic", "::", "aarch64_neon_st4", ":", "Info", ".", "MatchingId", "=", "VECTOR_LDST_FOUR_ELEMENTS", ";", "break", ";", "}", "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": ["AArch64", "AArch64", "Intrinsic::aarch64_neon_ld2", "Intrinsic::aarch64_neon_ld3", "Intrinsic::aarch64_neon_ld4", "0", "Intrinsic::aarch64_neon_st2", "Intrinsic::aarch64_neon_st3", "Intrinsic::aarch64_neon_st4", "1", "Intrinsic::aarch64_neon_ld2", "Intrinsic::aarch64_neon_st2", "Intrinsic::aarch64_neon_ld3", "Intrinsic::aarch64_neon_st3", "Intrinsic::aarch64_neon_ld4", "Intrinsic::aarch64_neon_st4"], "File": "AArch64TargetTransformInfo", "Func": "getTgtMemIntrinsic", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10090, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isCheapToSpeculateCttz", "(", ")", "const", "{", "return", "Subtarget", "->", "hasBMI", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "cheap", "to", "speculate", "a", "call", "to", "intrinsic", "cttz", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering (2)3", "Func": "isCheapToSpeculateCttz", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10091, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0RegisterInfo", "::", "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": ["Cpu0", "Cpu0"], "File": "Cpu0RegisterInfo", "Func": "requiresRegisterScavenging", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10092, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64InstrInfo", "::", "decomposeStackOffsetForFrameOffsets", "(", "const", "StackOffset", "&", "Offset", ",", "int64_t", "&", "NumBytes", ",", "int64_t", "&", "NumPredicateVectors", ",", "int64_t", "&", "NumDataVectors", ")", "{", "assert", "(", "Offset", ".", "getScalable", "(", ")", "%", "2", "==", "0", "&&", "\"Invalid frame offset\"", ")", ";", "NumBytes", "=", "Offset", ".", "getFixed", "(", ")", ";", "NumDataVectors", "=", "0", ";", "NumPredicateVectors", "=", "Offset", ".", "getScalable", "(", ")", "/", "2", ";", "if", "(", "NumPredicateVectors", "%", "8", "==", "0", "||", "NumPredicateVectors", "<", "-", "64", "||", "NumPredicateVectors", ">", "62", ")", "{", "NumDataVectors", "=", "NumPredicateVectors", "/", "8", ";", "NumPredicateVectors", "-=", "NumDataVectors", "*", "8", ";", "}", "}", ""], "natrual_language": ["Returns", "the", "offset", "in", "parts", "to", "which", "this", "frame", "offset", "can", "be", "decomposed", "for", "the", "purpose", "of", "describing", "a", "frame", "offset", "."], "TS_V_token": ["AArch64", "AArch64", "2", "0", "\"Invalid frame offset\"", "0", "2", "8", "0", "64", "62", "8", "8"], "File": "AArch64InstrInfo105", "Func": "decomposeStackOffsetForFrameOffsets", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10093, "Length": 92, "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": ["OR1K"], "File": "OR1KInstrInfo1", "Func": "getAnalysisUsage", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10094, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "ArrayRef", "<", "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", ";", "MVT", "VT", "=", "MVT", "::", "Other", ";", "if", "(", "X86", "::", "VK16RegClass", ".", "contains", "(", "Reg", ")", ")", "VT", "=", "STI", ".", "hasBWI", "(", ")", "?", "MVT", "::", "v64i1", ":", "MVT", "::", "v16i1", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ",", "VT", ")", ";", "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", "MVT::Other", "X86::VK16RegClass", "MVT::v64i1", "MVT::v16i1", "1"], "File": "X86FrameLowering1", "Func": "spillCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10095, "Length": 424, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ISD", "::", "NodeType", "getExtendForAtomicOps", "(", ")", "const", "override", "{", "return", "ISD", "::", "ANY_EXTEND", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "platform", "'s", "atomic", "operations", "are", "extended", "(", "ZERO_EXTEND", ",", "SIGN_EXTEND", ",", "or", "ANY_EXTEND", ")", "."], "TS_V_token": ["SystemZ", "ISD::NodeType", "ISD::ANY_EXTEND"], "File": "SystemZISelLowering", "Func": "getExtendForAtomicOps", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10096, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_can_inline_p", "(", "tree", "caller", ",", "tree", "callee", ")", "{", "tree", "caller_tree", "=", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "caller", ")", ";", "tree", "callee_tree", "=", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "callee", ")", ";", "struct", "cl_target_option", "*", "caller_opts", "=", "TREE_TARGET_OPTION", "(", "caller_tree", "?", "caller_tree", ":", "target_option_default_node", ")", ";", "struct", "cl_target_option", "*", "callee_opts", "=", "TREE_TARGET_OPTION", "(", "callee_tree", "?", "callee_tree", ":", "target_option_default_node", ")", ";", "if", "(", "(", "caller_opts", "->", "x_aarch64_isa_flags", "&", "callee_opts", "->", "x_aarch64_isa_flags", ")", "!=", "callee_opts", "->", "x_aarch64_isa_flags", ")", "return", "false", ";", "if", "(", "(", "TARGET_STRICT_ALIGN_P", "(", "caller_opts", "->", "x_target_flags", ")", "!=", "TARGET_STRICT_ALIGN_P", "(", "callee_opts", "->", "x_target_flags", ")", ")", "&&", "!", "(", "!", "TARGET_STRICT_ALIGN_P", "(", "callee_opts", "->", "x_target_flags", ")", "&&", "TARGET_STRICT_ALIGN_P", "(", "caller_opts", "->", "x_target_flags", ")", ")", ")", "return", "false", ";", "bool", "always_inline", "=", "lookup_attribute", "(", "\"always_inline\"", ",", "DECL_ATTRIBUTES", "(", "callee", ")", ")", ";", "if", "(", "always_inline", ")", "return", "true", ";", "if", "(", "caller_opts", "->", "x_aarch64_cmodel_var", "!=", "callee_opts", "->", "x_aarch64_cmodel_var", ")", "return", "false", ";", "if", "(", "caller_opts", "->", "x_aarch64_tls_dialect", "!=", "callee_opts", "->", "x_aarch64_tls_dialect", ")", "return", "false", ";", "if", "(", "!", "aarch64_tribools_ok_for_inlining_p", "(", "caller_opts", "->", "x_aarch64_fix_a53_err835769", ",", "callee_opts", "->", "x_aarch64_fix_a53_err835769", ",", "2", ",", "TARGET_FIX_ERR_A53_835769_DEFAULT", ")", ")", "return", "false", ";", "if", "(", "!", "aarch64_tribools_ok_for_inlining_p", "(", "caller_opts", "->", "x_aarch64_fix_a53_err843419", ",", "callee_opts", "->", "x_aarch64_fix_a53_err843419", ",", "2", ",", "TARGET_FIX_ERR_A53_843419", ")", ")", "return", "false", ";", "if", "(", "!", "aarch64_tribools_ok_for_inlining_p", "(", "caller_opts", "->", "x_flag_omit_leaf_frame_pointer", ",", "callee_opts", "->", "x_flag_omit_leaf_frame_pointer", ",", "2", ",", "1", ")", ")", "return", "false", ";", "if", "(", "callee_opts", "->", "x_aarch64_override_tune_string", "!=", "NULL", "&&", "caller_opts", "->", "x_aarch64_override_tune_string", "==", "NULL", ")", "return", "false", ";", "if", "(", "callee_opts", "->", "x_aarch64_override_tune_string", "&&", "caller_opts", "->", "x_aarch64_override_tune_string", "&&", "(", "strcmp", "(", "callee_opts", "->", "x_aarch64_override_tune_string", ",", "caller_opts", "->", "x_aarch64_override_tune_string", ")", "!=", "0", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CAN_INLINE_P", ".", "Decide", "whether", "it", "is", "valid", "to", "inline", "CALLEE", "into", "CALLER", "based", "on", "target-specific", "info", ".", "Make", "sure", "that", "the", "caller", "and", "callee", "have", "compatible", "architectural", "features", ".", "Then", "go", "through", "the", "other", "possible", "target", "attributes", "and", "see", "if", "they", "can", "block", "inlining", ".", "Try", "not", "to", "reject", "always_inline", "callees", "unless", "they", "are", "incompatible", "architecturally", "."], "TS_V_token": ["aarch64", "\"always_inline\"", "2", "2", "2", "1", "0"], "File": "aarch64", "Func": "aarch64_can_inline_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10097, "Length": 271, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMLoc", "getEndLoc", "(", ")", "const", "{", "return", "EndLoc", ";", "}", ""], "natrual_language": ["getEndLoc", "-", "Get", "the", "location", "of", "the", "last", "token", "of", "this", "operand", "."], "TS_V_token": ["ARM"], "File": "ARMAsmParser (2)1", "Func": "getEndLoc", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10098, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "contains", "(", "MachineInstr", "&", "MI", ")", "{", "return", "Insts", ".", "count", "(", "&", "MI", ")", ">", "0", ";", "}", ""], "natrual_language": ["contains", "-", "Returns", "true", "if", "this", "trace", "contains", "the", "given", "basic", "block", "."], "TS_V_token": ["AArch64", "0"], "File": "AArch64A57FPLoadBalancing11", "Func": "contains", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10099, "Length": 20, "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", "(", ")", ";", "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": "X86ISelLowering94", "Func": "isTruncateFree", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10100, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "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": ["X86", "X86"], "File": "X86TargetMachine114", "Func": "addGlobalInstructionSelect", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10101, "Length": 22, "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": 10102, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_get_drap_rtx", "(", "void", ")", "{", "if", "(", "ix86_force_drap", "||", "!", "ACCUMULATE_OUTGOING_ARGS", ")", "crtl", "->", "need_drap", "=", "true", ";", "if", "(", "stack_realign_drap", ")", "{", "unsigned", "int", "regno", "=", "find_drap_reg", "(", ")", ";", "rtx", "drap_vreg", ";", "rtx", "arg_ptr", ";", "rtx_insn", "*", "seq", ",", "*", "insn", ";", "arg_ptr", "=", "gen_rtx_REG", "(", "Pmode", ",", "regno", ")", ";", "crtl", "->", "drap_reg", "=", "arg_ptr", ";", "start_sequence", "(", ")", ";", "drap_vreg", "=", "copy_to_reg", "(", "arg_ptr", ")", ";", "seq", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "insn", "=", "emit_insn_before", "(", "seq", ",", "NEXT_INSN", "(", "entry_of_function", "(", ")", ")", ")", ";", "if", "(", "!", "optimize", ")", "{", "add_reg_note", "(", "insn", ",", "REG_CFA_SET_VDRAP", ",", "drap_vreg", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "return", "drap_vreg", ";", "}", "else", "return", "NULL", ";", "}", ""], "natrual_language": ["Handle", "the", "TARGET_GET_DRAP_RTX", "hook", ".", "Return", "NULL", "if", "no", "DRAP", "is", "needed", "or", "an", "rtx", "for", "DRAP", "otherwise", "."], "TS_V_token": ["i386", "1"], "File": "i3864", "Func": "ix86_get_drap_rtx", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10103, "Length": 128, "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": 10104, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_epilogue_set_cfa", "(", "rtx", "reg", ",", "HOST_WIDE_INT", "offset", ")", "{", "rtx_insn", "*", "insn", ";", "insn", "=", "mips_epilogue_emit_cfa_restores", "(", ")", ";", "if", "(", "reg", "!=", "mips_epilogue", ".", "cfa_reg", "||", "offset", "!=", "mips_epilogue", ".", "cfa_offset", ")", "{", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "REG_NOTES", "(", "insn", ")", "=", "alloc_reg_note", "(", "REG_CFA_DEF_CFA", ",", "plus_constant", "(", "Pmode", ",", "reg", ",", "offset", ")", ",", "REG_NOTES", "(", "insn", ")", ")", ";", "mips_epilogue", ".", "cfa_reg", "=", "reg", ";", "mips_epilogue", ".", "cfa_offset", "=", "offset", ";", "}", "}", ""], "natrual_language": ["Like", "mips_epilogue_emit_cfa_restores", ",", "but", "also", "record", "that", "the", "CFA", "is", "now", "at", "REG", "+", "OFFSET", "."], "TS_V_token": ["mips", "1"], "File": "mips", "Func": "mips_epilogue_set_cfa", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10105, "Length": 81, "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": 10106, "Length": 239, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "mips_output_tls_reloc_directive", "(", "rtx", "*", "addr", ")", "{", "enum", "mips_symbol_type", "type", ";", "type", "=", "mips_classify_symbolic_expression", "(", "*", "addr", ",", "SYMBOL_CONTEXT_LEA", ")", ";", "*", "addr", "=", "mips_strip_unspec_address", "(", "*", "addr", ")", ";", "switch", "(", "type", ")", "{", "case", "SYMBOL_DTPREL", ":", "return", "Pmode", "==", "SImode", "?", "\".dtprelword\\t%0\"", ":", "\".dtpreldword\\t%0\"", ";", "case", "SYMBOL_TPREL", ":", "return", "Pmode", "==", "SImode", "?", "\".tprelword\\t%0\"", ":", "\".tpreldword\\t%0\"", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "pseudo-op", "for", "full", "SYMBOL_", "(", "D", ")", "TPREL", "address", "*", "ADDR", ".", "Update", "*", "ADDR", "with", "the", "operand", "that", "should", "be", "printed", "."], "TS_V_token": ["mips", "\".dtprelword\\t%0\"", "\".dtpreldword\\t%0\"", "\".tprelword\\t%0\"", "\".tpreldword\\t%0\""], "File": "mips", "Func": "mips_output_tls_reloc_directive", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10107, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_secondary_memory_needed", "(", "machine_mode", "mode", ",", "reg_class_t", "class1", ",", "reg_class_t", "class2", ")", "{", "return", "(", "(", "FP_REG_CLASS_P", "(", "class1", ")", "!=", "FP_REG_CLASS_P", "(", "class2", ")", ")", "&&", "(", "!", "TARGET_VIS3", "||", "GET_MODE_SIZE", "(", "mode", ")", ">", "8", "||", "GET_MODE_SIZE", "(", "mode", ")", "<", "4", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SECONDARY_MEMORY_NEEDED", ".", "On", "SPARC", "when", "not", "VIS3", "it", "is", "not", "possible", "to", "directly", "move", "data", "between", "GENERAL_REGS", "and", "FP_REGS", "."], "TS_V_token": ["sparc", "8", "4"], "File": "sparc", "Func": "sparc_secondary_memory_needed", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10108, "Length": 49, "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": 10109, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZXPLINKFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "SystemZSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "SystemZSubtarget", ">", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "SystemZMachineFunctionInfo", "*", "ZFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "MachineFrameInfo", "&", "MFFrame", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "auto", "*", "ZII", "=", "static_cast", "<", "const", "SystemZInstrInfo", "*", ">", "(", "Subtarget", ".", "getInstrInfo", "(", ")", ")", ";", "auto", "&", "Regs", "=", "Subtarget", ".", "getSpecialRegisters", "<", "SystemZXPLINK64Registers", ">", "(", ")", ";", "assert", "(", "MBBI", "->", "isReturn", "(", ")", "&&", "\"Can only insert epilogue into returning blocks\"", ")", ";", "uint64_t", "StackSize", "=", "MFFrame", ".", "getStackSize", "(", ")", ";", "if", "(", "StackSize", ")", "{", "unsigned", "SPReg", "=", "Regs", ".", "getStackPointerRegister", "(", ")", ";", "if", "(", "ZFI", "->", "getRestoreGPRRegs", "(", ")", ".", "LowGPR", "!=", "SPReg", ")", "{", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "emitIncrement", "(", "MBB", ",", "MBBI", ",", "DL", ",", "SPReg", ",", "StackSize", ",", "ZII", ")", ";", "}", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "\"Can only insert epilogue into returning blocks\""], "File": "SystemZFrameLowering20", "Func": "emitEpilogue", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10110, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsPassConfig", "::", "addPreSched2", "(", ")", "{", "PM", "->", "add", "(", "createMipsExpandPseudoPass", "(", "getMipsTargetMachine", "(", ")", ")", ")", ";", "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": ["Mips", "Mips", "Mips", "Mips"], "File": "MipsTargetMachine59", "Func": "addPreSched2", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10111, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86CondBrFolding", "::", "optimize", "(", ")", "{", "bool", "Changed", "=", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** X86CondBr Folding on Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "\" *****\\n\"", ")", ";", "MBBInfos", ".", "resize", "(", "MF", ".", "getNumBlockIDs", "(", ")", ")", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "MBBInfos", "[", "MBB", ".", "getNumber", "(", ")", "]", "=", "analyzeMBB", "(", "MBB", ")", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "TargetMBBInfo", "*", "MBBInfo", "=", "getMBBInfo", "(", "&", "MBB", ")", ";", "if", "(", "!", "MBBInfo", "||", "!", "MBBInfo", "->", "CmpBrOnly", ")", "continue", ";", "if", "(", "MBB", ".", "pred_size", "(", ")", "!=", "1", ")", "continue", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Work on MBB.\"", "<<", "MBB", ".", "getNumber", "(", ")", "<<", "\" CmpValue: \"", "<<", "MBBInfo", "->", "CmpValue", "<<", "\"\\n\"", ")", ";", "SmallVector", "<", "MachineBasicBlock", "*", ",", "4", ">", "BranchPath", ";", "if", "(", "!", "findPath", "(", "&", "MBB", ",", "BranchPath", ")", ")", "continue", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Found one path (len=\"", "<<", "BranchPath", ".", "size", "(", ")", "<<", "\"):\\n\"", ")", ";", "int", "Index", "=", "1", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Target MBB is: \"", "<<", "MBB", "<<", "\"\\n\"", ")", ";", "for", "(", "auto", "I", "=", "BranchPath", ".", "rbegin", "(", ")", ";", "I", "!=", "BranchPath", ".", "rend", "(", ")", ";", "++", "I", ",", "++", "Index", ")", "{", "MachineBasicBlock", "*", "PMBB", "=", "*", "I", ";", "TargetMBBInfo", "*", "PMBBInfo", "=", "getMBBInfo", "(", "PMBB", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Path MBB (\"", "<<", "Index", "<<", "\" of \"", "<<", "BranchPath", ".", "size", "(", ")", "<<", "\") is \"", "<<", "*", "PMBB", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"CC=\"", "<<", "PMBBInfo", "->", "BranchCode", "<<", "\" Val=\"", "<<", "PMBBInfo", "->", "CmpValue", "<<", "\" CmpBrOnly=\"", "<<", "PMBBInfo", "->", "CmpBrOnly", "<<", "\"\\n\\n\"", ")", ";", "}", "optimizeCondBr", "(", "MBB", ",", "BranchPath", ")", ";", "Changed", "=", "true", ";", "}", "NumFixedCondBrs", "+=", "RemoveList", ".", "size", "(", ")", ";", "for", "(", "auto", "MBBI", ":", "RemoveList", ")", "{", "while", "(", "!", "MBBI", "->", "succ_empty", "(", ")", ")", "MBBI", "->", "removeSuccessor", "(", "MBBI", "->", "succ_end", "(", ")", "-", "1", ")", ";", "MBBI", "->", "eraseFromParent", "(", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["Apply", "VPlan-to-VPlan", "optimizations", "to", "Plan", ",", "including", "induction", "recipe", "optimizations", ",", "dead", "recipe", "removal", ",", "replicate", "region", "optimizations", "and", "block", "merging", "."], "TS_V_token": ["X86", "X86", "\"***** X86CondBr Folding on Function: \"", "\" *****\\n\"", "1", "\"Work on MBB.\"", "\" CmpValue: \"", "\"\\n\"", "4", "\"Found one path (len=\"", "\"):\\n\"", "1", "\"Target MBB is: \"", "\"\\n\"", "\"Path MBB (\"", "\" of \"", "\") is \"", "\"CC=\"", "\" Val=\"", "\" CmpBrOnly=\"", "\"\\n\\n\"", "1"], "File": "X86CondBrFolding", "Func": "optimize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10112, "Length": 340, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MipsSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "Subtarget", ".", "getFrameLowering", "(", ")", ";", "bool", "IsN64", "=", "static_cast", "<", "const", "MipsTargetMachine", "&", ">", "(", "MF", ".", "getTarget", "(", ")", ")", ".", "getABI", "(", ")", ".", "IsN64", "(", ")", ";", "if", "(", "Subtarget", ".", "inMips16Mode", "(", ")", ")", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "Mips", "::", "S0", ":", "Mips", "::", "SP", ";", "else", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "(", "IsN64", "?", "Mips", "::", "FP_64", ":", "Mips", "::", "FP", ")", ":", "(", "IsN64", "?", "Mips", "::", "SP_64", ":", "Mips", "::", "SP", ")", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::S0", "Mips::SP", "Mips::FP_64", "Mips::FP", "Mips::SP_64", "Mips::SP"], "File": "MipsRegisterInfo (2)1", "Func": "getFrameRegister", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10113, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "vector_costs", "*", "rs6000_vectorize_create_costs", "(", "vec_info", "*", "vinfo", ",", "bool", "costing_for_scalar", ")", "{", "return", "new", "rs6000_cost_data", "(", "vinfo", ",", "costing_for_scalar", ")", ";", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.create_costs", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_vectorize_create_costs", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10114, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mep_rewrite_maddsi3", "(", "rtx_insn", "*", "insn", ",", "rtx", "dest", ",", "rtx", "src1", ",", "rtx", "src2", ",", "rtx", "src3", ")", "{", "rtx", "lo", ",", "pattern", ";", "lo", "=", "gen_rtx_REG", "(", "SImode", ",", "LO_REGNO", ")", ";", "emit_insn_before", "(", "gen_movsi", "(", "copy_rtx", "(", "lo", ")", ",", "src3", ")", ",", "insn", ")", ";", "if", "(", "dest", ")", "pattern", "=", "gen_maddsi3r", "(", "lo", ",", "dest", ",", "copy_rtx", "(", "dest", ")", ",", "mep_mulr_source", "(", "insn", ",", "dest", ",", "src1", ",", "src2", ")", ",", "copy_rtx", "(", "lo", ")", ")", ";", "else", "pattern", "=", "gen_maddsi3_lo", "(", "lo", ",", "src1", ",", "src2", ",", "copy_rtx", "(", "lo", ")", ")", ";", "mep_rewrite_mult", "(", "insn", ",", "pattern", ")", ";", "}", ""], "natrual_language": ["Like", "mep_rewrite_mulsi3", ",", "but", "calculate", "SRC1", "*", "SRC2", "+", "SRC3", ".", "First", "copy", "SRC3", "into", "$", "lo", ",", "then", "use", "either", "madd", "or", "maddr", ".", "The", "move", "into", "$", "lo", "will", "be", "deleted", "by", "a", "peephole2", "if", "SRC3", "is", "already", "in", "$", "lo", "."], "TS_V_token": ["mep"], "File": "mep", "Func": "mep_rewrite_maddsi3", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10115, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86RegisterInfo", "::", "getSEHRegNum", "(", "unsigned", "i", ")", "const", "{", "return", "getEncodingValue", "(", "i", ")", ";", "}", ""], "natrual_language": ["Map", "a", "target", "register", "to", "an", "equivalent", "SEH", "register", "number", "."], "TS_V_token": ["X86", "X86"], "File": "X86RegisterInfo (2)", "Func": "getSEHRegNum", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10116, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetMachine", "::", "isLittleEndian", "(", ")", "const", "{", "assert", "(", "Endianness", "!=", "Endian", "::", "NOT_DETECTED", "&&", "\"Unable to determine endianness\"", ")", ";", "return", "Endianness", "==", "Endian", "::", "LITTLE", ";", "}", ""], "natrual_language": ["Tests", "whether", "the", "target", "triple", "is", "little", "endian", "."], "TS_V_token": ["PowerPC", "PPC", "\"Unable to determine endianness\""], "File": "PPCTargetMachine40", "Func": "isLittleEndian", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10117, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsTargetLowering", "::", "getJumpTableEncoding", "(", ")", "const", "{", "if", "(", "ABI", ".", "IsCheriPureCap", "(", ")", ")", "return", "MachineJumpTableInfo", "::", "EK_LabelDifference32", ";", "if", "(", "ABI", ".", "IsN64", "(", ")", "&&", "isPositionIndependent", "(", ")", ")", "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": "MipsISelLowering66", "Func": "getJumpTableEncoding", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10118, "Length": 46, "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": 10119, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"AArch64 Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64", "\"AArch64 Instruction Selection\""], "File": "AArch64ISelDAGToDAG (2)2", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10120, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "assignCustomValue", "(", "const", "llvm", "::", "ARMCallLowering", "::", "ArgInfo", "&", "Arg", ",", "ArrayRef", "<", "CCValAssign", ">", "VAs", ")", "override", "{", "CCValAssign", "VA", "=", "VAs", "[", "0", "]", ";", "assert", "(", "VA", ".", "needsCustom", "(", ")", "&&", "\"Value doesn't need custom handling\"", ")", ";", "assert", "(", "VA", ".", "getValVT", "(", ")", "==", "MVT", "::", "f64", "&&", "\"Unsupported type\"", ")", ";", "CCValAssign", "NextVA", "=", "VAs", "[", "1", "]", ";", "assert", "(", "NextVA", ".", "needsCustom", "(", ")", "&&", "\"Value doesn't need custom handling\"", ")", ";", "assert", "(", "NextVA", ".", "getValVT", "(", ")", "==", "MVT", "::", "f64", "&&", "\"Unsupported type\"", ")", ";", "assert", "(", "VA", ".", "getValNo", "(", ")", "==", "NextVA", ".", "getValNo", "(", ")", "&&", "\"Values belong to different arguments\"", ")", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Value should be in reg\"", ")", ";", "assert", "(", "NextVA", ".", "isRegLoc", "(", ")", "&&", "\"Value should be in reg\"", ")", ";", "unsigned", "NewRegs", "[", "]", "=", "{", "MRI", ".", "createGenericVirtualRegister", "(", "LLT", "::", "scalar", "(", "32", ")", ")", ",", "MRI", ".", "createGenericVirtualRegister", "(", "LLT", "::", "scalar", "(", "32", ")", ")", "}", ";", "assignValueToReg", "(", "NewRegs", "[", "0", "]", ",", "VA", ".", "getLocReg", "(", ")", ",", "VA", ")", ";", "assignValueToReg", "(", "NewRegs", "[", "1", "]", ",", "NextVA", ".", "getLocReg", "(", ")", ",", "NextVA", ")", ";", "bool", "IsLittle", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "isLittle", "(", ")", ";", "if", "(", "!", "IsLittle", ")", "std", "::", "swap", "(", "NewRegs", "[", "0", "]", ",", "NewRegs", "[", "1", "]", ")", ";", "MIRBuilder", ".", "buildSequence", "(", "Arg", ".", "Reg", ",", "NewRegs", ",", "{", "0", ",", "32", "}", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Handle", "custom", "values", ",", "which", "may", "be", "passed", "into", "one", "or", "more", "of", "VAs", "."], "TS_V_token": ["ARM", "ARM", "0", "\"Value doesn't need custom handling\"", "MVT::f64", "\"Unsupported type\"", "1", "\"Value doesn't need custom handling\"", "MVT::f64", "\"Unsupported type\"", "\"Values belong to different arguments\"", "\"Value should be in reg\"", "\"Value should be in reg\"", "32", "32", "0", "1", "ARM", "0", "1", "0", "32", "1"], "File": "ARMCallLowering47", "Func": "assignCustomValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10121, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_mode_set", "(", "int", "entity", ",", "int", "mode", ",", "int", "prev_mode", "ATTRIBUTE_UNUSED", ",", "HARD_REG_SET", "regs_live", "ATTRIBUTE_UNUSED", ")", "{", "switch", "(", "entity", ")", "{", "case", "X86_DIRFLAG", ":", "if", "(", "mode", "==", "X86_DIRFLAG_RESET", ")", "emit_insn", "(", "gen_cld", "(", ")", ")", ";", "break", ";", "case", "AVX_U128", ":", "if", "(", "mode", "==", "AVX_U128_CLEAN", ")", "ix86_expand_avx_vzeroupper", "(", ")", ";", "break", ";", "case", "I387_ROUNDEVEN", ":", "case", "I387_TRUNC", ":", "case", "I387_FLOOR", ":", "case", "I387_CEIL", ":", "if", "(", "mode", "!=", "I387_CW_ANY", "&&", "mode", "!=", "I387_CW_UNINITIALIZED", ")", "emit_i387_cw_initialization", "(", "mode", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Generate", "one", "or", "more", "insns", "to", "set", "ENTITY", "to", "MODE", ".", "HARD_REG_LIVE", "is", "the", "set", "of", "hard", "registers", "live", "at", "the", "point", "where", "the", "insn", "(", "s", ")", "are", "to", "be", "inserted", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_emit_mode_set", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10122, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ",", "Instruction", "*", "I", ")", "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)4", "Func": "isLegalAddressingMode", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10123, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "toc_relative_expr_p", "(", "rtx", "op", ")", "{", "int", "have_sym", "=", "0", ";", "int", "have_toc", "=", "0", ";", "return", "constant_pool_expr_1", "(", "op", ",", "&", "have_sym", ",", "&", "have_toc", ")", "&&", "have_toc", ";", "}", ""], "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"], "File": "rs60003", "Func": "toc_relative_expr_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10124, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_mask_atomic_subword", "(", "rtx", "oldval", ",", "rtx", "newval", ",", "rtx", "mask", ")", "{", "rtx", "x", ";", "x", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "x", ",", "gen_rtx_AND", "(", "SImode", ",", "gen_rtx_NOT", "(", "SImode", ",", "mask", ")", ",", "oldval", ")", ")", ")", ";", "x", "=", "expand_simple_binop", "(", "SImode", ",", "IOR", ",", "newval", ",", "x", ",", "x", ",", "1", ",", "OPTAB_LIB_WIDEN", ")", ";", "return", "x", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "the", "various", "atomic", "expanders", ".", "For", "sub-word", "operands", ",", "combine", "OLDVAL", "and", "NEWVAL", "via", "MASK", ".", "Returns", "a", "new", "pseduo", "."], "TS_V_token": ["rs6000", "1"], "File": "rs6000", "Func": "rs6000_mask_atomic_subword", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10125, "Length": 69, "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!\"", ")", ";", "MMI", "=", "&", "getAnalysis", "<", "MachineModuleInfo", ">", "(", ")", ";", "MCE", ".", "setModuleInfo", "(", "MMI", ")", ";", "do", "{", "MovePCtoLROffset", "=", "nullptr", ";", "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!\""], "File": "PPCCodeEmitter", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10126, "Length": 124, "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": 10127, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64PassConfig", "::", "addPreISel", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnablePromoteConstant", ")", "addPass", "(", "createARM64PromoteConstantPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createGlobalMergePass", "(", "TM", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createARM64AddressTypePromotionPass", "(", ")", ")", ";", "addPass", "(", "createAtomicExpandLoadLinkedPass", "(", "TM", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["ARM64", "ARM64", "ARM64", "ARM64"], "File": "ARM64TargetMachine", "Func": "addPreISel", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10128, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_handle_attr_cpu", "(", "const", "char", "*", "str", ")", "{", "const", "struct", "processor", "*", "tmp_cpu", "=", "NULL", ";", "enum", "aarch64_parse_opt_result", "parse_res", "=", "aarch64_parse_cpu", "(", "str", ",", "&", "tmp_cpu", ",", "&", "aarch64_isa_flags", ")", ";", "if", "(", "parse_res", "==", "AARCH64_PARSE_OK", ")", "{", "gcc_assert", "(", "tmp_cpu", ")", ";", "selected_tune", "=", "tmp_cpu", ";", "explicit_tune_core", "=", "selected_tune", "->", "ident", ";", "selected_arch", "=", "&", "all_architectures", "[", "tmp_cpu", "->", "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_core", "(", "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", "argument", "CPU_STR", "to", "the", "cpu=", "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_cpu", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10129, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "can_be_rotated_to_positive_16bits", "(", "HOST_WIDE_INT", "c", ")", "{", "int", "rot", "=", "0", ";", "bool", "res", "=", "can_be_rotated_to_lowbits", "(", "c", ",", "16", ",", "&", "rot", ")", ";", "return", "res", "&&", "rot", ">", "0", ";", "}", ""], "natrual_language": ["Check", "if", "C", "(", "as", "64bit", "integer", ")", "can", "be", "rotated", "to", "a", "positive", "16bits", "constant", "which", "contains", "48bits", "leading", "zeros", "and", "16bits", "of", "any", "value", "."], "TS_V_token": ["rs6000", "0", "16", "0"], "File": "rs60001", "Func": "can_be_rotated_to_positive_16bits", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10130, "Length": 33, "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": 10131, "Length": 67, "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": ["powerpcspe", "3", "16", "8", "5", "32", "16", "8"], "File": "powerpcspe", "Func": "rs6000_emit_parity", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10132, "Length": 412, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "moxie_operand_lossage", "(", "const", "char", "*", "msgid", ",", "rtx", "op", ")", "{", "debug_rtx", "(", "op", ")", ";", "output_operand_lossage", "(", "\"%s\"", ",", "msgid", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "error", "message", "when", "we", "'re", "in", "an", "asm", ",", "and", "a", "fatal", "error", "for", "``", "normal", "''", "insns", ".", "Formatted", "output", "is", "n't", "easily", "implemented", ",", "since", "we", "use", "output_operand_lossage", "to", "output", "the", "actual", "message", "and", "handle", "the", "categorization", "of", "the", "error", "."], "TS_V_token": ["moxie", "\"%s\""], "File": "moxie", "Func": "moxie_operand_lossage", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10133, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mt_function_value", "(", "tree", "valtype", ",", "enum", "machine_mode", "mode", ",", "tree", "func_decl", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "(", "mode", ")", "==", "DImode", "||", "(", "mode", ")", "==", "DFmode", ")", "return", "gen_rtx_MEM", "(", "mode", ",", "gen_rtx_REG", "(", "mode", ",", "RETURN_VALUE_REGNUM", ")", ")", ";", "if", "(", "valtype", ")", "mode", "=", "TYPE_MODE", "(", "valtype", ")", ";", "return", "gen_rtx_REG", "(", "mode", ",", "RETURN_VALUE_REGNUM", ")", ";", "}", ""], "natrual_language": ["Handle", "FUNCTION_VALUE", ",", "FUNCTION_OUTGOING_VALUE", ",", "and", "LIBCALL_VALUE", "macros", "."], "TS_V_token": ["mt"], "File": "mt", "Func": "mt_function_value", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10134, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLegalMaskedStore", "(", "Type", "*", "DataTy", ",", "Align", "Alignment", ")", "{", "return", "isLegalMaskedLoad", "(", "DataTy", ",", "Alignment", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "store", "."], "TS_V_token": ["ARM"], "File": "ARMTargetTransformInfo (2)1", "Func": "isLegalMaskedStore", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10135, "Length": 20, "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": 10136, "Length": 435, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getCommonDomains", "(", "unsigned", "mask", ")", "const", "{", "return", "AvailableDomains", "&", "mask", ";", "}", ""], "natrual_language": ["Return", "bitmask", "of", "domains", "that", "are", "available", "and", "in", "mask", "."], "TS_V_token": ["X86"], "File": "SSEDomainFix", "Func": "getCommonDomains", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10137, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_tls_symbol_p", "(", "rtx", "x", ")", "{", "if", "(", "!", "TARGET_HAVE_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": ["arm", "0"], "File": "arm3", "Func": "arm_tls_symbol_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10138, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ARMTTIImpl", "::", "getIntImmCost", "(", "unsigned", "Opcode", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "{", "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", ")", ",", "getIntImmCost", "(", "~", "Imm", ",", "Ty", ")", ")", ";", "}", "if", "(", "Opcode", "==", "Instruction", "::", "Add", ")", "return", "std", "::", "min", "(", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ",", "getIntImmCost", "(", "-", "Imm", ",", "Ty", ")", ")", ";", "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", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["ARM", "ARM", "1", "0", "255", "65535", "0", "32", "1", "12", "0", "1", "8", "0", "0"], "File": "ARMTargetTransformInfo2", "Func": "getIntImmCost", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10139, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_poke_function_name", "(", "FILE", "*", "stream", ",", "const", "char", "*", "name", ")", "{", "unsigned", "long", "alignlength", ";", "unsigned", "long", "length", ";", "rtx", "x", ";", "length", "=", "strlen", "(", "name", ")", "+", "1", ";", "alignlength", "=", "ROUND_UP_WORD", "(", "length", ")", ";", "ASM_OUTPUT_ASCII", "(", "stream", ",", "name", ",", "length", ")", ";", "ASM_OUTPUT_ALIGN", "(", "stream", ",", "2", ")", ";", "x", "=", "GEN_INT", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "0xff000000", "+", "alignlength", ")", ";", "assemble_aligned_integer", "(", "UNITS_PER_WORD", ",", "x", ")", ";", "}", ""], "natrual_language": ["Write", "the", "function", "name", "into", "the", "code", "section", ",", "directly", "preceding", "the", "function", "prologue", ".", "Code", "will", "be", "output", "similar", "to", "this", ":", "t0", ".ascii", "``", "arm_poke_function_name", "''", ",", "0", ".align", "t1", ".word", "0xff000000", "+", "(", "t1", "-", "t0", ")", "arm_poke_function_name", "mov", "ip", ",", "sp", "stmfd", "sp", "!", ",", "{", "fp", ",", "ip", ",", "lr", ",", "pc", "}", "sub", "fp", ",", "ip", ",", "#", "4", "When", "performing", "a", "stack", "backtrace", ",", "code", "can", "inspect", "the", "value", "of", "'pc", "'", "stored", "at", "'fp", "'", "+", "0", ".", "If", "the", "trace", "function", "then", "looks", "at", "location", "pc", "-", "12", "and", "the", "top", "8", "bits", "are", "set", ",", "then", "we", "know", "that", "there", "is", "a", "function", "name", "embedded", "immediately", "preceding", "this", "location", "and", "has", "length", "(", "(", "pc", "[", "-3", "]", ")", "&", "0xff000000", ")", ".", "We", "assume", "that", "pc", "is", "declared", "as", "a", "pointer", "to", "an", "unsigned", "long", ".", "It", "is", "of", "no", "benefit", "to", "output", "the", "function", "name", "if", "we", "are", "assembling", "a", "leaf", "function", ".", "These", "function", "types", "will", "not", "contain", "a", "stack", "backtrace", "structure", ",", "therefore", "it", "is", "not", "possible", "to", "determine", "the", "function", "name", "."], "TS_V_token": ["arm", "1", "2", "0xff000000"], "File": "arm", "Func": "arm_poke_function_name", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10140, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0RegisterInfo", "::", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "live-ins", "should", "be", "tracked", "after", "register", "allocation", "."], "TS_V_token": ["Cpu0", "Cpu0"], "File": "Cpu0RegisterInfo", "Func": "trackLivenessAfterRegAlloc", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10141, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetLowering", "::", "insertSSPDeclarations", "(", "Module", "&", "M", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "getTargetTriple", "(", ")", ".", "isWindowsMSVCEnvironment", "(", ")", ")", "return", "TargetLowering", "::", "insertSSPDeclarations", "(", "M", ")", ";", "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", "->", "addParamAttr", "(", "0", ",", "Attribute", "::", "AttrKind", "::", "InReg", ")", ";", "}", ""], "natrual_language": ["Inserts", "necessary", "declarations", "for", "SSP", "(", "stack", "protection", ")", "purpose", "."], "TS_V_token": ["ARM", "ARM", "\"__security_cookie\"", "\"__security_check_cookie\"", "0"], "File": "ARMISelLowering (2)5", "Func": "insertSSPDeclarations", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10142, "Length": 114, "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": ["PowerPC"], "File": "PPCTargetMachine18", "Func": "getDataLayout", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10143, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "X86RegisterInfo", "::", "getLargestLegalSuperClass", "(", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "if", "(", "RC", "==", "X86", "::", "GR8_NOREXRegisterClass", ")", "return", "RC", ";", "const", "TargetRegisterClass", "*", "Super", "=", "RC", ";", "TargetRegisterClass", "::", "sc_iterator", "I", "=", "RC", "->", "getSuperClasses", "(", ")", ";", "do", "{", "switch", "(", "Super", "->", "getID", "(", ")", ")", "{", "case", "X86", "::", "GR8RegClassID", ":", "case", "X86", "::", "GR16RegClassID", ":", "case", "X86", "::", "GR32RegClassID", ":", "case", "X86", "::", "GR64RegClassID", ":", "case", "X86", "::", "FR32RegClassID", ":", "case", "X86", "::", "FR64RegClassID", ":", "case", "X86", "::", "RFP32RegClassID", ":", "case", "X86", "::", "RFP64RegClassID", ":", "case", "X86", "::", "RFP80RegClassID", ":", "case", "X86", "::", "VR128RegClassID", ":", "case", "X86", "::", "VR256RegClassID", ":", "if", "(", "Super", "->", "getSize", "(", ")", "==", "RC", "->", "getSize", "(", ")", ")", "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": ["X86", "X86", "X86::GR8_NOREXRegisterClass", "X86::GR8RegClassID", "X86::GR16RegClassID", "X86::GR32RegClassID", "X86::GR64RegClassID", "X86::FR32RegClassID", "X86::FR64RegClassID", "X86::RFP32RegClassID", "X86::RFP64RegClassID", "X86::RFP80RegClassID", "X86::VR128RegClassID", "X86::VR256RegClassID"], "File": "X86RegisterInfo101", "Func": "getLargestLegalSuperClass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10144, "Length": 143, "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", "(", ")", ")", "&&", "!", "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": "MipsSEFrameLowering14", "Func": "hasReservedCallFrame", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10145, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "MipsSEFrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "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", "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": "MipsSEFrameLowering1", "Func": "getFrameIndexReference", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10146, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SparcTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Should not custom lower this!\"", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "SDValue", "(", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "SDValue", "(", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "llvm_unreachable", "(", "\"TLS not implemented for Sparc.\"", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "LowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FP_TO_SINT", ":", "return", "LowerFP_TO_SINT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SINT_TO_FP", ":", "return", "LowerSINT_TO_FP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBR_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ",", "*", "this", ")", ";", "case", "ISD", "::", "VAARG", ":", "return", "LowerVAARG", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "LowerDYNAMIC_STACKALLOC", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Sparc", "Sparc", "\"Should not custom lower this!\"", "ISD::RETURNADDR", "ISD::FRAMEADDR", "ISD::GlobalTLSAddress", "\"TLS not implemented for Sparc.\"", "ISD::GlobalAddress", "ISD::ConstantPool", "ISD::FP_TO_SINT", "ISD::SINT_TO_FP", "ISD::BR_CC", "ISD::SELECT_CC", "ISD::VASTART", "ISD::VAARG", "ISD::DYNAMIC_STACKALLOC"], "File": "SparcISelLowering13", "Func": "LowerOperation", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10147, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnFunction", "(", "Function", "&", "F", ")", "override", "{", "TargetMachine", "*", "TM", "=", "&", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ".", "getTM", "<", "TargetMachine", ">", "(", ")", ";", "X86LowerAMXType", "LAT", "(", "F", ",", "TM", ")", ";", "bool", "C", "=", "LAT", ".", "visit", "(", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "!", "F", ".", "hasFnAttribute", "(", "Attribute", "::", "OptimizeNone", ")", ")", "{", "X86VolatileTileData", "VTD", "(", "F", ")", ";", "C", "=", "VTD", ".", "volatileTileData", "(", ")", "||", "C", ";", "}", "}", "return", "C", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86LowerAMXType8", "Func": "runOnFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10148, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmPrinter", "::", "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'", ":", "case", "'P'", ":", "printOperand", "(", "MI", ",", "OpNo", ")", ";", "return", "false", ";", "case", "'Q'", ":", "if", "(", "TM", ".", "getTargetData", "(", ")", "->", "isLittleEndian", "(", ")", ")", "break", ";", "case", "'R'", ":", "if", "(", "TM", ".", "getTargetData", "(", ")", "->", "isBigEndian", "(", ")", ")", "break", ";", "case", "'H'", ":", "if", "(", "!", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isReg", "(", ")", "||", "OpNo", "+", "1", "==", "MI", "->", "getNumOperands", "(", ")", "||", "!", "MI", "->", "getOperand", "(", "OpNo", "+", "1", ")", ".", "isReg", "(", ")", ")", "return", "true", ";", "++", "OpNo", ";", "}", "}", "printOperand", "(", "MI", ",", "OpNo", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["ARM", "ARM", "0", "1", "0", "0", "1", "1"], "File": "ARMAsmPrinter76", "Func": "PrintAsmOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10149, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsConstantIslands", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "mf", ")", "{", "MF", "=", "&", "mf", ";", "MCP", "=", "mf", ".", "getConstantPool", "(", ")", ";", "STI", "=", "&", "mf", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"constant island machine function \"", "<<", "\"\\n\"", ")", ";", "if", "(", "!", "STI", "->", "inMips16Mode", "(", ")", "||", "!", "MipsSubtarget", "::", "useConstantIslands", "(", ")", ")", "{", "return", "false", ";", "}", "TII", "=", "(", "const", "Mips16InstrInfo", "*", ")", "MF", "->", "getTarget", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "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": "MipsConstantIslandPass18", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10150, "Length": 430, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "&", "LiveRangeShrinkID", ")", ";", "addPass", "(", "createX86FixupSetCC", "(", ")", ")", ";", "addPass", "(", "createX86OptimizeLEAs", "(", ")", ")", ";", "addPass", "(", "createX86CallFrameOptimization", "(", ")", ")", ";", "addPass", "(", "createX86AvoidStoreForwardingBlocks", "(", ")", ")", ";", "}", "addPass", "(", "createX86FlagsCopyLoweringPass", "(", ")", ")", ";", "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", "X86", "X86"], "File": "X86TargetMachine11", "Func": "addPreRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10151, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isIntrinsic", "(", ")", "const", "{", "return", "(", "Attributes", "&", "X86FMA3Intrinsic", ")", "!=", "0", ";", "}", ""], "natrual_language": ["Returns", "true", "iff", "the", "group", "of", "FMA", "opcodes", "holds", "intrinsic", "opcodes", "."], "TS_V_token": ["X86", "X86", "0"], "File": "X86InstrFMA3Info", "Func": "isIntrinsic", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10152, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "SDValue", "Op0", ",", "Op1", ";", "switch", "(", "ConstraintID", ")", "{", "default", ":", "return", "true", ";", "case", "InlineAsm", "::", "Constraint_i", ":", "case", "InlineAsm", "::", "Constraint_m", ":", "if", "(", "!", "SelectADDRrr", "(", "Op", ",", "Op0", ",", "Op1", ")", ")", "SelectADDRri", "(", "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": ["Sparc", "Sparc"], "File": "SparcISelDAGToDAG (2)", "Func": "SelectInlineAsmMemoryOperand", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10153, "Length": 90, "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": 10154, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pa_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "return", "PA_HARD_REGNO_MODE_OK", "(", "regno", ",", "mode", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_MODE_OK", "."], "TS_V_token": ["pa"], "File": "pa", "Func": "pa_hard_regno_mode_ok", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10155, "Length": 21, "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": 10156, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "PPCRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "if", "(", "Subtarget", ".", "isDarwinABI", "(", ")", ")", "return", "Subtarget", ".", "isPPC64", "(", ")", "?", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_Darwin64_Altivec_SaveList", ":", "CSR_Darwin64_SaveList", ")", ":", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_Darwin32_Altivec_SaveList", ":", "CSR_Darwin32_SaveList", ")", ";", "return", "Subtarget", ".", "isPPC64", "(", ")", "?", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_SVR464_Altivec_SaveList", ":", "CSR_SVR464_SaveList", ")", ":", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_SVR432_Altivec_SaveList", ":", "CSR_SVR432_SaveList", ")", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC"], "File": "PPCRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10157, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isAsCheapAsAMove", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "hasCustomCheapAsMoveHandling", "(", ")", ")", "return", "MI", "->", "isAsCheapAsAMove", "(", ")", ";", "unsigned", "Imm", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "AArch64", "::", "ADDWri", ":", "case", "AArch64", "::", "ADDXri", ":", "case", "AArch64", "::", "SUBWri", ":", "case", "AArch64", "::", "SUBXri", ":", "return", "(", "Subtarget", ".", "getProcFamily", "(", ")", "==", "AArch64Subtarget", "::", "ExynosM1", "||", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "==", "0", ")", ";", "case", "AArch64", "::", "ADDWrs", ":", "case", "AArch64", "::", "ADDXrs", ":", "case", "AArch64", "::", "SUBWrs", ":", "case", "AArch64", "::", "SUBXrs", ":", "Imm", "=", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "return", "(", "Subtarget", ".", "getProcFamily", "(", ")", "==", "AArch64Subtarget", "::", "ExynosM1", "&&", "AArch64_AM", "::", "getArithShiftValue", "(", "Imm", ")", "<", "4", ")", ";", "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", "::", "ANDWrs", ":", "case", "AArch64", "::", "ANDXrs", ":", "case", "AArch64", "::", "BICWrs", ":", "case", "AArch64", "::", "BICXrs", ":", "case", "AArch64", "::", "EONWrs", ":", "case", "AArch64", "::", "EONXrs", ":", "case", "AArch64", "::", "EORWrs", ":", "case", "AArch64", "::", "EORXrs", ":", "case", "AArch64", "::", "ORNWrs", ":", "case", "AArch64", "::", "ORNXrs", ":", "case", "AArch64", "::", "ORRWrs", ":", "case", "AArch64", "::", "ORRXrs", ":", "Imm", "=", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "return", "(", "Subtarget", ".", "getProcFamily", "(", ")", "==", "AArch64Subtarget", "::", "ExynosM1", "&&", "AArch64_AM", "::", "getShiftValue", "(", "Imm", ")", "<", "4", "&&", "AArch64_AM", "::", "getShiftType", "(", "Imm", ")", "==", "AArch64_AM", "::", "LSL", ")", ";", "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::ADDWri", "AArch64::ADDXri", "AArch64::SUBWri", "AArch64::SUBXri", "AArch64", "3", "0", "AArch64::ADDWrs", "AArch64::ADDXrs", "AArch64::SUBWrs", "AArch64::SUBXrs", "3", "AArch64", "AArch64_AM::getArithShiftValue", "4", "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::ANDWrs", "AArch64::ANDXrs", "AArch64::BICWrs", "AArch64::BICXrs", "AArch64::EONWrs", "AArch64::EONXrs", "AArch64::EORWrs", "AArch64::EORXrs", "AArch64::ORNWrs", "AArch64::ORNXrs", "AArch64::ORRWrs", "AArch64::ORRXrs", "3", "AArch64", "AArch64_AM::getShiftValue", "4", "AArch64_AM::getShiftType", "AArch64_AM::LSL", "AArch64::MOVi32imm", "32", "AArch64::MOVi64imm", "64", "\"Unknown opcode to check as cheap as a move!\""], "File": "AArch64InstrInfo110", "Func": "isAsCheapAsAMove", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10158, "Length": 381, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "OptimizePICCall", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "if", "(", "static_cast", "<", "const", "MipsSubtarget", "&", ">", "(", "F", ".", "getSubtarget", "(", ")", ")", ".", "inMips16Mode", "(", ")", ")", "return", "false", ";", "MachineDominatorTree", "*", "MDT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "bool", "Changed", "=", "false", ";", "SmallVector", "<", "MBBInfo", ",", "8", ">", "WorkList", "(", "1", ",", "MBBInfo", "(", "MDT", "->", "getRootNode", "(", ")", ")", ")", ";", "while", "(", "!", "WorkList", ".", "empty", "(", ")", ")", "{", "MBBInfo", "&", "MBBI", "=", "WorkList", ".", "back", "(", ")", ";", "if", "(", "MBBI", ".", "isVisited", "(", ")", ")", "{", "MBBI", ".", "postVisit", "(", ")", ";", "WorkList", ".", "pop_back", "(", ")", ";", "continue", ";", "}", "MBBI", ".", "preVisit", "(", "ScopedHT", ")", ";", "Changed", "|=", "visitNode", "(", "MBBI", ")", ";", "const", "MachineDomTreeNode", "*", "Node", "=", "MBBI", ".", "getNode", "(", ")", ";", "WorkList", ".", "append", "(", "Node", "->", "begin", "(", ")", ",", "Node", "->", "end", "(", ")", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "8", "1"], "File": "MipsOptimizePICCall7", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10159, "Length": 161, "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": 10160, "Length": 14, "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", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MBBI", "!=", "FirstMBB", ".", "end", "(", ")", ")", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "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_\"", ",", "0", ",", "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_\"", "0", "X86II::MO_GOT_ABSOLUTE_ADDRESS", "X86"], "File": "X86InstrInfo108", "Func": "getGlobalBaseReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10161, "Length": 249, "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_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-tlvp\"", "\"x86-tlvp-pic-base\"", "\"x86-secrel\""], "File": "X86InstrInfo141", "Func": "getSerializableDirectMachineOperandTargetFlags", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10162, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isLegalICmpImmediate", "(", "int64_t", "Imm", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "isThumb", "(", ")", ")", "return", "ARM_AM", "::", "getSOImmVal", "(", "(", "uint32_t", ")", "Imm", ")", "!=", "-", "1", "||", "ARM_AM", "::", "getSOImmVal", "(", "-", "(", "uint32_t", ")", "Imm", ")", "!=", "-", "1", ";", "if", "(", "Subtarget", "->", "isThumb2", "(", ")", ")", "return", "ARM_AM", "::", "getT2SOImmVal", "(", "(", "uint32_t", ")", "Imm", ")", "!=", "-", "1", "||", "ARM_AM", "::", "getT2SOImmVal", "(", "-", "(", "uint32_t", ")", "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::getSOImmVal", "1", "ARM_AM::getT2SOImmVal", "1", "ARM_AM::getT2SOImmVal", "1", "0", "255"], "File": "ARMISelLowering (2)5", "Func": "isLegalICmpImmediate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10163, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcTargetMachine", "::", "SparcTargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "is64bit", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "is64bit", ")", ",", "DL", "(", "computeDataLayout", "(", "Subtarget", ")", ")", ",", "InstrInfo", "(", "Subtarget", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "FrameLowering", "(", "Subtarget", ")", "{", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "ILP32", "architecture", "model", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc"], "File": "SparcTargetMachine30", "Func": "SparcTargetMachine", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10164, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64TargetMachine", "::", "AArch64TargetMachine", "(", "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", ",", "bool", "LittleEndian", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "Options", ".", "MCOptions", ",", "LittleEndian", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "TT", ",", "RM", ")", ",", "getEffectiveAArch64CodeModel", "(", "TT", ",", "CM", ",", "JIT", ")", ",", "OL", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", ",", "isLittle", "(", "LittleEndian", ")", "{", "initAsmInfo", "(", ")", ";", "if", "(", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "{", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "this", "->", "Options", ".", "NoTrapAfterNoreturn", "=", "true", ";", "}", "if", "(", "getMCAsmInfo", "(", ")", "->", "usesWindowsCFI", "(", ")", ")", "{", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "}", "if", "(", "getOptLevel", "(", ")", "<=", "EnableGlobalISelAtO", ")", "{", "setGlobalISel", "(", "true", ")", ";", "setGlobalISelAbort", "(", "GlobalISelAbortMode", "::", "Disable", ")", ";", "}", "setMachineOutliner", "(", "true", ")", ";", "setSupportsDefaultOutlining", "(", "true", ")", ";", "}", ""], "natrual_language": ["Create", "an", "AArch64", "architecture", "model", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine (2)3", "Func": "AArch64TargetMachine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10165, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SystemZSubtarget", "*", "SystemZTargetMachine", "::", "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", "=", "std", "::", "make_unique", "<", "SystemZSubtarget", ">", "(", "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": ["SystemZ", "SystemZ", "SystemZ", "\"target-cpu\"", "\"target-features\"", "\"use-soft-float\"", "\"use-soft-float\"", "\"true\"", "\"+soft-float\"", "\",+soft-float\"", "SystemZ"], "File": "SystemZTargetMachine24", "Func": "getSubtargetImpl", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10166, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "materializeFrameBaseRegister", "(", "MachineBasicBlock", "*", "MBB", ",", "unsigned", "BaseReg", ",", "int", "FrameIdx", ",", "int64_t", "Offset", ")", "const", "{", "ARMFunctionInfo", "*", "AFI", "=", "MBB", "->", "getParent", "(", ")", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "unsigned", "ADDriOpc", "=", "!", "AFI", "->", "isThumbFunction", "(", ")", "?", "ARM", "::", "ADDri", ":", "(", "AFI", "->", "isThumb1OnlyFunction", "(", ")", "?", "ARM", "::", "tADDrSPi", ":", "ARM", "::", "t2ADDri", ")", ";", "MachineBasicBlock", "::", "iterator", "Ins", "=", "MBB", "->", "begin", "(", ")", ";", "DebugLoc", "DL", ";", "if", "(", "Ins", "!=", "MBB", "->", "end", "(", ")", ")", "DL", "=", "Ins", "->", "getDebugLoc", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "TII", ".", "get", "(", "ADDriOpc", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MBB", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", "->", "getParent", "(", ")", ";", "MRI", ".", "constrainRegClass", "(", "BaseReg", ",", "TII", ".", "getRegClass", "(", "MCID", ",", "0", ",", "this", ",", "MF", ")", ")", ";", "MachineInstrBuilder", "MIB", "=", "AddDefaultPred", "(", "BuildMI", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "MCID", ",", "BaseReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "Offset", ")", ")", ";", "if", "(", "!", "AFI", "->", "isThumb1OnlyFunction", "(", ")", ")", "AddDefaultCC", "(", "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", "0"], "File": "ARMBaseRegisterInfo21", "Func": "materializeFrameBaseRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10167, "Length": 202, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "AArch64_MachoTargetObjectFile", "::", "getTTypeGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "unsigned", "Encoding", ",", "Mangler", "&", "Mang", ",", "const", "TargetMachine", "&", "TM", ",", "MachineModuleInfo", "*", "MMI", ",", "MCStreamer", "&", "Streamer", ")", "const", "{", "if", "(", "Encoding", "&", "(", "DW_EH_PE_indirect", "|", "DW_EH_PE_pcrel", ")", ")", "{", "const", "MCSymbol", "*", "Sym", "=", "TM", ".", "getSymbol", "(", "GV", ",", "Mang", ")", ";", "const", "MCExpr", "*", "Res", "=", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "MCSymbolRefExpr", "::", "VK_GOT", ",", "getContext", "(", ")", ")", ";", "MCSymbol", "*", "PCSym", "=", "getContext", "(", ")", ".", "createTempSymbol", "(", ")", ";", "Streamer", ".", "EmitLabel", "(", "PCSym", ")", ";", "const", "MCExpr", "*", "PC", "=", "MCSymbolRefExpr", "::", "create", "(", "PCSym", ",", "getContext", "(", ")", ")", ";", "return", "MCBinaryExpr", "::", "createSub", "(", "Res", ",", "PC", ",", "getContext", "(", ")", ")", ";", "}", "return", "TargetLoweringObjectFileMachO", "::", "getTTypeGlobalReference", "(", "GV", ",", "Encoding", ",", "Mang", ",", "TM", ",", "MMI", ",", "Streamer", ")", ";", "}", ""], "natrual_language": ["The", "mach-o", "version", "of", "this", "method", "defaults", "to", "returning", "a", "stub", "reference", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64TargetObjectFile17", "Func": "getTTypeGlobalReference", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10168, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiMCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "Inst", ",", "raw_ostream", "&", "Ostream", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "SubtargetInfo", ")", "const", "{", "unsigned", "Value", "=", "getBinaryCodeForInstr", "(", "Inst", ",", "Fixups", ",", "SubtargetInfo", ")", ";", "++", "MCNumEmitted", ";", "for", "(", "int", "i", "=", "(", "4", "-", "1", ")", "*", "8", ";", "i", ">=", "0", ";", "i", "-=", "8", ")", "Ostream", "<<", "static_cast", "<", "char", ">", "(", "(", "Value", ">>", "i", ")", "&", "0xff", ")", ";", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["Lanai", "Lanai", "4", "1", "8", "0", "8", "0xff"], "File": "LanaiMCCodeEmitter (2)", "Func": "encodeInstruction", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10169, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "get_vsel_insn", "(", "enum", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "V4SImode", ":", "return", "UNSPEC_VSEL4SI", ";", "break", ";", "case", "V4SFmode", ":", "return", "UNSPEC_VSEL4SF", ";", "break", ";", "case", "V8HImode", ":", "return", "UNSPEC_VSEL8HI", ";", "break", ";", "case", "V16QImode", ":", "return", "UNSPEC_VSEL16QI", ";", "break", ";", "default", ":", "return", "INSN_NOT_AVAILABLE", ";", "break", ";", "}", "return", "INSN_NOT_AVAILABLE", ";", "}", ""], "natrual_language": ["Return", "vector", "select", "instruction", "for", "MODE", ".", "Return", "INSN_NOT_AVAILABLE", ",", "if", "valid", "insn", "doesn", "exist", "for", "given", "mode", "."], "TS_V_token": ["rs6000"], "File": "rs60003", "Func": "get_vsel_insn", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10170, "Length": 58, "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", "(", "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": "i386-expand", "Func": "ix86_expand_sse_ptest", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10171, "Length": 302, "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", "=", "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", "(", "flag_pic", "==", "2", ")", "switch_to_section", "(", "darwin_sections", "[", "machopic_picsymbol_stub1_section", "]", ")", ";", "else", "switch_to_section", "(", "darwin_sections", "[", "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", "=", "XALLOCAVEC", "(", "char", ",", "sizeof", "(", "\"\\\"L00000000000$spb\\\"\"", ")", ")", ";", "sprintf", "(", "local_label_0", ",", "\"\\\"L%011d$spb\\\"\"", ",", "label", ")", ";", "fprintf", "(", "file", ",", "\"\\tmflr r0\\n\"", ")", ";", "if", "(", "TARGET_LINK_STACK", ")", "{", "char", "name", "[", "32", "]", ";", "get_ppc476_thunk_name", "(", "name", ")", ";", "fprintf", "(", "file", ",", "\"\\tbl %s\\n\"", ",", "name", ")", ";", "fprintf", "(", "file", ",", "\"%s:\\n\\tmflr r11\\n\"", ",", "local_label_0", ")", ";", "}", "else", "{", "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\"", ")", ";", "}", "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", "2", "2", "\"\\t.align 5\\n\"", "\"%s:\\n\"", "\"\\t.indirect_symbol %s\\n\"", "\"\\\"L00000000000$spb\\\"\"", "\"\\\"L%011d$spb\\\"\"", "\"\\tmflr r0\\n\"", "32", "\"\\tbl %s\\n\"", "\"%s:\\n\\tmflr r11\\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": "rs60004", "Func": "machopic_output_stub", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10172, "Length": 402, "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": 10173, "Length": 464, "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", "(", "NewMI", "->", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "G_UNMERGE_VALUES", ")", "combineAwayG_UNMERGE_VALUES", "(", "ArtCombiner", ",", "*", "NewMI", ",", "NewInstrObserver", ")", ";", "else", "if", "(", "NewMI", "->", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "G_MERGE_VALUES", ")", "continue", ";", "else", "setRegBank", "(", "*", "NewMI", ",", "MRI", ")", ";", "}", "return", ";", "}", "case", "TargetOpcode", "::", "G_UNMERGE_VALUES", ":", "combineAwayG_UNMERGE_VALUES", "(", "ArtCombiner", ",", "MI", ",", "NewInstrObserver", ")", ";", "return", ";", "default", ":", "break", ";", "}", "return", "applyDefaultMapping", "(", "OpdMapper", ")", ";", "}", ""], "natrual_language": ["See", "RegisterBankInfo", ":", ":applyMapping", "."], "TS_V_token": ["Mips", "Mips", "0", "32"], "File": "MipsRegisterBankInfo20", "Func": "applyMappingImpl", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10174, "Length": 249, "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", ":", "case", "Mips", "::", "DSLL_MM64R6", ":", "case", "Mips", "::", "DSRA_MM64R6", ":", "case", "Mips", "::", "DROTR_MM64R6", ":", "LowerLargeShift", "(", "TmpInst", ")", ";", "break", ";", "case", "Mips", "::", "DINS", ":", "LowerDins", "(", "TmpInst", ")", ";", "break", ";", "case", "Mips", "::", "BEQC", ":", "case", "Mips", "::", "BNEC", ":", "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", ")", ";", "unsigned", "Opcode", "=", "TmpInst", ".", "getOpcode", "(", ")", ";", "if", "(", "(", "Opcode", "!=", "Mips", "::", "NOP", ")", "&&", "(", "Opcode", "!=", "Mips", "::", "SLL", ")", "&&", "(", "Opcode", "!=", "Mips", "::", "SLL_MM", ")", "&&", "!", "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", "(", ")", ";", "Opcode", "=", "NewOpcode", ";", "TmpInst", ".", "setOpcode", "(", "NewOpcode", ")", ";", "Binary", "=", "getBinaryCodeForInstr", "(", "TmpInst", ",", "Fixups", ",", "STI", ")", ";", "}", "}", "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::DSLL_MM64R6", "Mips::DSRA_MM64R6", "Mips::DROTR_MM64R6", "Mips::DINS", "Mips::BEQC", "Mips::BNEC", "Mips::BOVC", "Mips::BOVC_MMR6", "Mips::BNVC", "Mips::BNVC_MMR6", "Mips::NOP", "Mips::SLL", "Mips::SLL_MM", "\"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", "\"Desc.getSize() returns 0\""], "File": "MipsMCCodeEmitter70", "Func": "encodeInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10175, "Length": 382, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "find_alignment_op", "(", "rtx_insn", "*", "insn", ",", "rtx", "base_reg", ")", "{", "df_ref", "base_use", ";", "struct", "df_insn_info", "*", "insn_info", "=", "DF_INSN_INFO_GET", "(", "insn", ")", ";", "rtx", "and_operation", "=", "0", ";", "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", ")", "break", ";", "if", "(", "DF_REF_IS_ARTIFICIAL", "(", "base_def_link", "->", "ref", ")", ")", "break", ";", "rtx_insn", "*", "and_insn", "=", "DF_REF_INSN", "(", "base_def_link", "->", "ref", ")", ";", "and_operation", "=", "alignment_mask", "(", "and_insn", ")", ";", "if", "(", "and_operation", "!=", "0", ")", "break", ";", "}", "return", "and_operation", ";", "}", ""], "natrual_language": ["Given", "INSN", "that", "'s", "a", "load", "or", "store", "based", "at", "BASE_REG", ",", "check", "if", "all", "of", "its", "feeding", "computations", "align", "its", "address", "on", "a", "16-byte", "boundary", ".", "If", "so", ",", "return", "true", "and", "add", "all", "definition", "insns", "into", "AND_INSNS", "and", "their", "corresponding", "fully-expanded", "rtxes", "for", "the", "masking", "operations", "into", "AND_OPS", "."], "TS_V_token": ["rs6000", "0", "0"], "File": "rs60006", "Func": "find_alignment_op", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10176, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCLowerMASSVEntries", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "bool", "Changed", "=", "false", ";", "auto", "*", "TPC", "=", "getAnalysisIfAvailable", "<", "TargetPassConfig", ">", "(", ")", ";", "if", "(", "!", "TPC", ")", "return", "Changed", ";", "auto", "&", "TM", "=", "TPC", "->", "getTM", "<", "PPCTargetMachine", ">", "(", ")", ";", "const", "PPCSubtarget", "*", "Subtarget", ";", "for", "(", "Function", "&", "Func", ":", "M", ")", "{", "if", "(", "!", "Func", ".", "isDeclaration", "(", ")", ")", "continue", ";", "if", "(", "!", "isMASSVFunc", "(", "Func", ".", "getName", "(", ")", ")", ")", "continue", ";", "SmallVector", "<", "User", "*", ",", "4", ">", "MASSVUsers", "(", "Func", ".", "users", "(", ")", ")", ";", "for", "(", "auto", "*", "User", ":", "MASSVUsers", ")", "{", "auto", "*", "CI", "=", "dyn_cast", "<", "CallInst", ">", "(", "User", ")", ";", "if", "(", "!", "CI", ")", "continue", ";", "Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", "*", "CI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ")", ";", "Changed", "|=", "lowerMASSVCall", "(", "CI", ",", "Func", ",", "M", ",", "Subtarget", ")", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "4", "PPC"], "File": "PPCLowerMASSVEntries1", "Func": "runOnModule", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10177, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "SystemZSelectionDAGInfo", "::", "EmitTargetCodeForMemchr", "(", "SelectionDAG", "&", "DAG", ",", "const", "SDLoc", "&", "DL", ",", "SDValue", "Chain", ",", "SDValue", "Src", ",", "SDValue", "Char", ",", "SDValue", "Length", ",", "MachinePointerInfo", "SrcPtrInfo", ")", "const", "{", "EVT", "PtrVT", "=", "Src", ".", "getValueType", "(", ")", ";", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "PtrVT", ",", "MVT", "::", "Other", ",", "MVT", "::", "Glue", ")", ";", "Length", "=", "DAG", ".", "getZExtOrTrunc", "(", "Length", ",", "DL", ",", "PtrVT", ")", ";", "Char", "=", "DAG", ".", "getZExtOrTrunc", "(", "Char", ",", "DL", ",", "MVT", "::", "i32", ")", ";", "Char", "=", "DAG", ".", "getNode", "(", "ISD", "::", "AND", ",", "DL", ",", "MVT", "::", "i32", ",", "Char", ",", "DAG", ".", "getConstant", "(", "255", ",", "DL", ",", "MVT", "::", "i32", ")", ")", ";", "SDValue", "Limit", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ADD", ",", "DL", ",", "PtrVT", ",", "Src", ",", "Length", ")", ";", "SDValue", "End", "=", "DAG", ".", "getNode", "(", "SystemZISD", "::", "SEARCH_STRING", ",", "DL", ",", "VTs", ",", "Chain", ",", "Limit", ",", "Src", ",", "Char", ")", ";", "Chain", "=", "End", ".", "getValue", "(", "1", ")", ";", "SDValue", "Glue", "=", "End", ".", "getValue", "(", "2", ")", ";", "SDValue", "Ops", "[", "]", "=", "{", "End", ",", "DAG", ".", "getConstant", "(", "0", ",", "DL", ",", "PtrVT", ")", ",", "DAG", ".", "getConstant", "(", "SystemZ", "::", "CCMASK_SRST", ",", "DL", ",", "MVT", "::", "i32", ")", ",", "DAG", ".", "getConstant", "(", "SystemZ", "::", "CCMASK_SRST_FOUND", ",", "DL", ",", "MVT", "::", "i32", ")", ",", "Glue", "}", ";", "VTs", "=", "DAG", ".", "getVTList", "(", "PtrVT", ",", "MVT", "::", "Glue", ")", ";", "End", "=", "DAG", ".", "getNode", "(", "SystemZISD", "::", "SELECT_CCMASK", ",", "DL", ",", "VTs", ",", "Ops", ")", ";", "return", "std", "::", "make_pair", "(", "End", ",", "Chain", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memchr", ",", "in", "cases", "where", "that", "is", "faster", "than", "a", "libcall", "."], "TS_V_token": ["SystemZ", "SystemZ", "MVT::Other", "MVT::Glue", "MVT::i32", "ISD::AND", "MVT::i32", "255", "MVT::i32", "ISD::ADD", "SystemZISD::SEARCH_STRING", "1", "2", "0", "SystemZ::CCMASK_SRST", "MVT::i32", "SystemZ::CCMASK_SRST_FOUND", "MVT::i32", "MVT::Glue", "SystemZISD::SELECT_CCMASK"], "File": "SystemZSelectionDAGInfo20", "Func": "EmitTargetCodeForMemchr", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10178, "Length": 281, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "*", "neon_vcmla_lane_prepare_operands", "(", "rtx", "*", "operands", ")", "{", "int", "lane", "=", "INTVAL", "(", "operands", "[", "4", "]", ")", ";", "machine_mode", "constmode", "=", "SImode", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "operands", "[", "3", "]", ")", ";", "int", "regno", "=", "REGNO", "(", "operands", "[", "3", "]", ")", ";", "regno", "=", "(", "(", "regno", "-", "FIRST_VFP_REGNUM", ")", ">>", "1", ")", ";", "if", "(", "lane", ">", "0", "&&", "lane", ">=", "GET_MODE_NUNITS", "(", "mode", ")", "/", "4", ")", "{", "operands", "[", "3", "]", "=", "gen_int_mode", "(", "regno", "+", "1", ",", "constmode", ")", ";", "operands", "[", "4", "]", "=", "gen_int_mode", "(", "lane", "-", "GET_MODE_NUNITS", "(", "mode", ")", "/", "4", ",", "constmode", ")", ";", "}", "else", "{", "operands", "[", "3", "]", "=", "gen_int_mode", "(", "regno", ",", "constmode", ")", ";", "operands", "[", "4", "]", "=", "gen_int_mode", "(", "lane", ",", "constmode", ")", ";", "}", "return", "operands", ";", "}", ""], "natrual_language": ["Prepares", "the", "operands", "for", "the", "VCMLA", "by", "lane", "instruction", "such", "that", "the", "right", "register", "number", "is", "selected", ".", "This", "instruction", "is", "special", "in", "that", "it", "always", "requires", "a", "D", "register", ",", "however", "there", "is", "a", "choice", "to", "be", "made", "between", "Dn", "[", "0", "]", ",", "Dn", "[", "1", "]", ",", "D", "(", "n+1", ")", "[", "0", "]", ",", "and", "D", "(", "n+1", ")", "[", "1", "]", "depending", "on", "the", "mode", "of", "the", "registers", ".", "The", "VCMLA", "by", "lane", "function", "always", "selects", "two", "values", ".", "For", "instance", "given", "D0", "and", "a", "V2SF", ",", "the", "only", "valid", "index", "is", "0", "as", "the", "values", "in", "S0", "and", "S1", "will", "be", "used", "by", "the", "instruction", ".", "However", "given", "V4SF", "then", "index", "0", "and", "1", "are", "valid", "as", "D0", "[", "0", "]", "or", "D1", "[", "0", "]", "are", "both", "valid", ".", "This", "function", "centralizes", "that", "information", "based", "on", "OPERANDS", ",", "OPERANDS", "[", "3", "]", "will", "be", "changed", "from", "a", "REG", "into", "a", "CONST_INT", "RTX", "and", "OPERANDS", "[", "4", "]", "will", "be", "updated", "to", "contain", "the", "right", "index", "."], "TS_V_token": ["arm", "4", "3", "3", "1", "0", "4", "3", "1", "4", "4", "3", "4"], "File": "arm", "Func": "neon_vcmla_lane_prepare_operands", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10179, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetELFStreamer", "::", "emitDirectiveCpRestore", "(", "int", "Offset", ",", "function_ref", "<", "unsigned", "(", ")", ">", "GetATReg", ",", "SMLoc", "IDLoc", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "{", "MipsTargetStreamer", "::", "emitDirectiveCpRestore", "(", "Offset", ",", "GetATReg", ",", "IDLoc", ",", "STI", ")", ";", "if", "(", "!", "Pic", "||", "(", "getABI", "(", ")", ".", "IsN32", "(", ")", "||", "getABI", "(", ")", ".", "IsN64", "(", ")", ")", ")", "return", "true", ";", "emitStoreWithImmOffset", "(", "Mips", "::", "SW", ",", "Mips", "::", "GP", ",", "Mips", "::", "SP", ",", "Offset", ",", "GetATReg", ",", "IDLoc", ",", "STI", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Emit", "a", ".cprestore", "directive", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips::SW", "Mips::GP", "Mips::SP"], "File": "MipsTargetStreamer1", "Func": "emitDirectiveCpRestore", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10180, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "Cpu0FunctionInfo", "*", "Cpu0FI", "=", "MF", ".", "getInfo", "<", "Cpu0FunctionInfo", ">", "(", ")", ";", "const", "Cpu0InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "Cpu0InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "unsigned", "SP", "=", "Cpu0", "::", "SP", ";", "unsigned", "ADDiu", "=", "Cpu0", "::", "ADDiu", ";", "unsigned", "StackAlign", "=", "getStackAlignment", "(", ")", ";", "unsigned", "LocalVarAreaOffset", "=", "Cpu0FI", "->", "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": ["Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0::SP", "Cpu0::ADDiu", "Cpu0", "0", "16", "\"No expandLargeImm(SP, -StackSize, false, TII, MBB, MBBI, dl);\"", "0"], "File": "Cpu0FrameLowering2", "Func": "emitPrologue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10181, "Length": 500, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_gen_section_name", "(", "char", "*", "*", "buf", ",", "const", "char", "*", "filename", ",", "const", "char", "*", "section_desc", ")", "{", "const", "char", "*", "q", ",", "*", "after_last_slash", ",", "*", "last_period", "=", "0", ";", "char", "*", "p", ";", "int", "len", ";", "after_last_slash", "=", "filename", ";", "for", "(", "q", "=", "filename", ";", "*", "q", ";", "q", "++", ")", "{", "if", "(", "*", "q", "==", "'/'", ")", "after_last_slash", "=", "q", "+", "1", ";", "else", "if", "(", "*", "q", "==", "'.'", ")", "last_period", "=", "q", ";", "}", "len", "=", "strlen", "(", "after_last_slash", ")", "+", "strlen", "(", "section_desc", ")", "+", "2", ";", "*", "buf", "=", "(", "char", "*", ")", "xmalloc", "(", "len", ")", ";", "p", "=", "*", "buf", ";", "*", "p", "++", "=", "'_'", ";", "for", "(", "q", "=", "after_last_slash", ";", "*", "q", ";", "q", "++", ")", "{", "if", "(", "q", "==", "last_period", ")", "{", "strcpy", "(", "p", ",", "section_desc", ")", ";", "p", "+=", "strlen", "(", "section_desc", ")", ";", "break", ";", "}", "else", "if", "(", "ISALNUM", "(", "*", "q", ")", ")", "*", "p", "++", "=", "*", "q", ";", "}", "if", "(", "last_period", "==", "0", ")", "strcpy", "(", "p", ",", "section_desc", ")", ";", "else", "*", "p", "=", "'\\0'", ";", "}", ""], "natrual_language": ["Generate", "a", "unique", "section", "name", "for", "FILENAME", "for", "a", "section", "type", "represented", "by", "SECTION_DESC", ".", "Output", "goes", "into", "BUF", ".", "SECTION_DESC", "can", "be", "any", "string", ",", "as", "long", "as", "it", "is", "different", "for", "each", "possible", "section", "type", ".", "We", "name", "the", "section", "in", "the", "same", "manner", "as", "xlc", ".", "The", "name", "begins", "with", "an", "underscore", "followed", "by", "the", "filename", "(", "after", "stripping", "any", "leading", "directory", "names", ")", "with", "the", "last", "period", "replaced", "by", "the", "string", "SECTION_DESC", ".", "If", "FILENAME", "does", "not", "contain", "a", "period", ",", "SECTION_DESC", "is", "appended", "to", "the", "end", "of", "the", "name", "."], "TS_V_token": ["rs6000", "0", "1", "2", "0"], "File": "rs6000", "Func": "rs6000_gen_section_name", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10182, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "quad_address_offset_p", "(", "HOST_WIDE_INT", "offset", ")", "{", "return", "(", "IN_RANGE", "(", "offset", ",", "-", "32768", ",", "32767", ")", "&&", "(", "(", "offset", ")", "&", "0xf", ")", "==", "0", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "OFFSET", "is", "valid", "for", "the", "quad", "address", "instructions", "that", "use", "d-form", "(", "register", "+", "offset", ")", "addressing", "."], "TS_V_token": ["rs6000", "32768", "32767", "0xf", "0"], "File": "rs6000-internal", "Func": "quad_address_offset_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10183, "Length": 33, "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": ["AArch64"], "File": "AArch64AsmParser (2)1", "Func": "getStartLoc", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10184, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "dispatch_windows", "*", "allocate_window", "(", "void", ")", "{", "dispatch_windows", "*", "new_list", "=", "XNEW", "(", "struct", "dispatch_windows_s", ")", ";", "new_list", "->", "window", "=", "XNEWVEC", "(", "struct", "sched_insn_info_s", ",", "MAX_INSN", "+", "1", ")", ";", "return", "new_list", ";", "}", ""], "natrual_language": ["This", "function", "allocates", "and", "initializes", "a", "dispatch", "window", "and", "the", "list", "container", "holding", "a", "pointer", "to", "the", "window", "."], "TS_V_token": ["i386", "1"], "File": "i3864", "Func": "allocate_window", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10185, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "PPCTTIImpl", "::", "getIntrinsicInstrCost", "(", "const", "IntrinsicCostAttributes", "&", "ICA", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "return", "BaseT", "::", "getIntrinsicInstrCost", "(", "ICA", ",", "CostKind", ")", ";", "}", ""], "natrual_language": ["Get", "intrinsic", "cost", "based", "on", "arguments", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCTargetTransformInfo1", "Func": "getIntrinsicInstrCost", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10186, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "sh2a_get_function_vector_number", "(", "rtx", "x", ")", "{", "int", "num", ";", "tree", "list", ",", "t", ";", "if", "(", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", ")", "&&", "(", "SYMBOL_REF_FLAGS", "(", "x", ")", "&", "SYMBOL_FLAG_FUNCVEC_FUNCTION", ")", ")", "{", "t", "=", "SYMBOL_REF_DECL", "(", "x", ")", ";", "if", "(", "TREE_CODE", "(", "t", ")", "!=", "FUNCTION_DECL", ")", "return", "0", ";", "list", "=", "SH_ATTRIBUTES", "(", "t", ")", ";", "while", "(", "list", ")", "{", "if", "(", "is_attribute_p", "(", "\"function_vector\"", ",", "TREE_PURPOSE", "(", "list", ")", ")", ")", "{", "num", "=", "TREE_INT_CST_LOW", "(", "TREE_VALUE", "(", "TREE_VALUE", "(", "list", ")", ")", ")", ";", "return", "num", ";", "}", "list", "=", "TREE_CHAIN", "(", "list", ")", ";", "}", "return", "0", ";", "}", "else", "return", "0", ";", "}", ""], "natrual_language": ["Returns", "the", "function", "vector", "number", ",", "if", "the", "attribute", "'function_vector", "'", "is", "assigned", ",", "otherwise", "returns", "zero", "."], "TS_V_token": ["sh", "0", "\"function_vector\"", "0", "0"], "File": "sh4", "Func": "sh2a_get_function_vector_number", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10187, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetTransformInfo", "ARMBaseTargetMachine", "::", "getTargetTransformInfo", "(", "const", "Function", "&", "F", ")", "{", "return", "TargetTransformInfo", "(", "ARMTTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetTransformInfo", "implementation", "for", "the", "target", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMTargetMachine", "Func": "getTargetTransformInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10188, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "ix86_valid_target_attribute_tree", "(", "tree", "args", ",", "struct", "gcc_options", "*", "opts", ",", "struct", "gcc_options", "*", "opts_set", ")", "{", "const", "char", "*", "orig_arch_string", "=", "opts", "->", "x_ix86_arch_string", ";", "const", "char", "*", "orig_tune_string", "=", "opts", "->", "x_ix86_tune_string", ";", "enum", "fpmath_unit", "orig_fpmath_set", "=", "opts_set", "->", "x_ix86_fpmath", ";", "int", "orig_tune_defaulted", "=", "ix86_tune_defaulted", ";", "int", "orig_arch_specified", "=", "ix86_arch_specified", ";", "char", "*", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_MAX", "]", "=", "{", "NULL", ",", "NULL", "}", ";", "tree", "t", "=", "NULL_TREE", ";", "int", "i", ";", "struct", "cl_target_option", "*", "def", "=", "TREE_TARGET_OPTION", "(", "target_option_default_node", ")", ";", "struct", "gcc_options", "enum_opts_set", ";", "memset", "(", "&", "enum_opts_set", ",", "0", ",", "sizeof", "(", "enum_opts_set", ")", ")", ";", "if", "(", "!", "ix86_valid_target_attribute_inner_p", "(", "args", ",", "option_strings", ",", "opts", ",", "opts_set", ",", "&", "enum_opts_set", ")", ")", "return", "error_mark_node", ";", "if", "(", "opts", "->", "x_ix86_isa_flags", "!=", "def", "->", "x_ix86_isa_flags", "||", "opts", "->", "x_target_flags", "!=", "def", "->", "x_target_flags", "||", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_ARCH", "]", "||", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_TUNE", "]", "||", "enum_opts_set", ".", "x_ix86_fpmath", ")", "{", "if", "(", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_ARCH", "]", ")", "opts", "->", "x_ix86_arch_string", "=", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_ARCH", "]", ";", "else", "if", "(", "!", "orig_arch_specified", ")", "opts", "->", "x_ix86_arch_string", "=", "NULL", ";", "if", "(", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_TUNE", "]", ")", "opts", "->", "x_ix86_tune_string", "=", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_TUNE", "]", ";", "else", "if", "(", "orig_tune_defaulted", ")", "opts", "->", "x_ix86_tune_string", "=", "NULL", ";", "if", "(", "enum_opts_set", ".", "x_ix86_fpmath", ")", "opts_set", "->", "x_ix86_fpmath", "=", "(", "enum", "fpmath_unit", ")", "1", ";", "else", "if", "(", "!", "TARGET_64BIT_P", "(", "opts", "->", "x_ix86_isa_flags", ")", "&&", "TARGET_SSE_P", "(", "opts", "->", "x_ix86_isa_flags", ")", ")", "{", "opts", "->", "x_ix86_fpmath", "=", "(", "enum", "fpmath_unit", ")", "(", "FPMATH_SSE", "|", "FPMATH_387", ")", ";", "opts_set", "->", "x_ix86_fpmath", "=", "(", "enum", "fpmath_unit", ")", "1", ";", "}", "ix86_option_override_internal", "(", "false", ",", "opts", ",", "opts_set", ")", ";", "ix86_add_new_builtins", "(", "opts", "->", "x_ix86_isa_flags", ")", ";", "t", "=", "build_target_option_node", "(", "opts", ")", ";", "opts", "->", "x_ix86_arch_string", "=", "orig_arch_string", ";", "opts", "->", "x_ix86_tune_string", "=", "orig_tune_string", ";", "opts_set", "->", "x_ix86_fpmath", "=", "orig_fpmath_set", ";", "for", "(", "i", "=", "0", ";", "i", "<", "IX86_FUNCTION_SPECIFIC_MAX", ";", "i", "++", ")", "free", "(", "option_strings", "[", "i", "]", ")", ";", "}", "return", "t", ";", "}", ""], "natrual_language": ["Return", "a", "TARGET_OPTION_NODE", "tree", "of", "the", "target", "options", "listed", "or", "NULL", "."], "TS_V_token": ["i386", "0", "1", "1", "0"], "File": "i3864", "Func": "ix86_valid_target_attribute_tree", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10189, "Length": 336, "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": 10190, "Length": 13, "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": 10191, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_set_current_function", "(", "tree", "fndecl", ")", "{", "if", "(", "fndecl", "==", "ix86_previous_fndecl", ")", "{", "if", "(", "fndecl", "!=", "NULL_TREE", ")", "{", "ix86_set_func_type", "(", "fndecl", ")", ";", "ix86_set_indirect_branch_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", ")", ";", "ix86_set_indirect_branch_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", ",", "&", "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", "(", ")", ";", "}", "else", "if", "(", "flag_unsafe_math_optimizations", "!=", "TREE_TARGET_OPTION", "(", "new_tree", ")", "->", "x_ix86_unsafe_math_optimizations", "||", "(", "flag_excess_precision", "!=", "TREE_TARGET_OPTION", "(", "new_tree", ")", "->", "x_ix86_excess_precision", ")", ")", "{", "cl_target_option_restore", "(", "&", "global_options", ",", "&", "global_options_set", ",", "TREE_TARGET_OPTION", "(", "new_tree", ")", ")", ";", "ix86_excess_precision", "=", "flag_excess_precision", ";", "ix86_unsafe_math_optimizations", "=", "flag_unsafe_math_optimizations", ";", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "fndecl", ")", "=", "new_tree", "=", "build_target_option_node", "(", "&", "global_options", ",", "&", "global_options_set", ")", ";", "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_or_fixed_reg_p", "(", "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_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", "(", "cfun", "->", "machine", "->", "func_type", "==", "TYPE_EXCEPTION", "?", "G_", "(", "\"%s instructions aren%'t allowed in an\"", "\" exception service routine\"", ")", ":", "G_", "(", "\"%s instructions aren%'t allowed in an\"", "\" interrupt service routine\"", ")", ",", "isa", ")", ";", "else", "sorry", "(", "\"%s instructions aren%'t allowed in a function with \"", "\"the % 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", "\"SSE\"", "\"MMX/3Dnow\"", "\"80387\"", "\"%s instructions aren%'t allowed in an\"", "\" exception service routine\"", "\"%s instructions aren%'t allowed in an\"", "\" interrupt service routine\"", "\"%s instructions aren%'t allowed in a function with \"", "\"the % attribute\""], "File": "i386-options", "Func": "ix86_set_current_function", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10192, "Length": 456, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mmix_init_expanders", "(", "void", ")", "{", "init_machine_status", "=", "mmix_init_machine_status", ";", "}", ""], "natrual_language": ["INIT_EXPANDERS", "."], "TS_V_token": ["mmix"], "File": "mmix", "Func": "mmix_init_expanders", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10193, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "CJGAsmBackend", "::", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "{", "return", "createCJGELFObjectWriter", "(", "OS", ",", "OSABI", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["CJG", "CJG", "CJG"], "File": "CJGAsmBackend", "Func": "createObjectWriter", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10194, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "ix86_build_signbit_mask", "(", "enum", "machine_mode", "mode", ",", "bool", "vect", ",", "bool", "invert", ")", "{", "enum", "machine_mode", "vec_mode", ";", "HOST_WIDE_INT", "hi", ",", "lo", ";", "int", "shift", "=", "63", ";", "rtvec", "v", ";", "rtx", "mask", ";", "if", "(", "mode", "==", "SFmode", ")", "lo", "=", "0x80000000", ",", "hi", "=", "lo", "<", "0", ";", "else", "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", ")", ";", "if", "(", "invert", ")", "lo", "=", "~", "lo", ",", "hi", "=", "~", "hi", ";", "mask", "=", "immed_double_const", "(", "lo", ",", "hi", ",", "mode", "==", "SFmode", "?", "SImode", ":", "DImode", ")", ";", "mask", "=", "gen_lowpart", "(", "mode", ",", "mask", ")", ";", "if", "(", "mode", "==", "SFmode", ")", "{", "if", "(", "vect", ")", "v", "=", "gen_rtvec", "(", "4", ",", "mask", ",", "mask", ",", "mask", ",", "mask", ")", ";", "else", "v", "=", "gen_rtvec", "(", "4", ",", "mask", ",", "CONST0_RTX", "(", "SFmode", ")", ",", "CONST0_RTX", "(", "SFmode", ")", ",", "CONST0_RTX", "(", "SFmode", ")", ")", ";", "vec_mode", "=", "V4SFmode", ";", "}", "else", "{", "if", "(", "vect", ")", "v", "=", "gen_rtvec", "(", "2", ",", "mask", ",", "mask", ")", ";", "else", "v", "=", "gen_rtvec", "(", "2", ",", "mask", ",", "CONST0_RTX", "(", "DFmode", ")", ")", ";", "vec_mode", "=", "V2DFmode", ";", "}", "return", "force_reg", "(", "vec_mode", ",", "gen_rtx_CONST_VECTOR", "(", "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", "4", "4", "2", "2"], "File": "i3863", "Func": "ix86_build_signbit_mask", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10195, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCLinuxAsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "const", "DataLayout", "*", "TD", "=", "TM", ".", "getDataLayout", "(", ")", ";", "bool", "isPPC64", "=", "TD", "->", "getPointerSizeInBits", "(", ")", "==", "64", ";", "PPCTargetStreamer", "&", "TS", "=", "static_cast", "<", "PPCTargetStreamer", "&", ">", "(", "OutStreamer", ".", "getTargetStreamer", "(", ")", ")", ";", "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", "(", ")", ")", ";", "TS", ".", "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", ")", ";", "}", "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", "PPC", "PPC", "\".toc\"", "0", "PPC", "8", "4"], "File": "PPCAsmPrinter102", "Func": "doFinalization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10196, "Length": 308, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0TargetLowering", "::", "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": ["Cpu0", "Cpu0"], "File": "Cpu0ISelLowering4", "Func": "isOffsetFoldingLegal", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10197, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_builtin_tm_load", "(", "tree", "type", ")", "{", "if", "(", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", ")", "{", "switch", "(", "tree_to_uhwi", "(", "TYPE_SIZE", "(", "type", ")", ")", ")", "{", "case", "64", ":", "return", "builtin_decl_explicit", "(", "BUILT_IN_TM_LOAD_M64", ")", ";", "case", "128", ":", "return", "builtin_decl_explicit", "(", "BUILT_IN_TM_LOAD_M128", ")", ";", "case", "256", ":", "return", "builtin_decl_explicit", "(", "BUILT_IN_TM_LOAD_M256", ")", ";", "}", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Return", "the", "builtin", "decl", "needed", "to", "load", "a", "vector", "of", "TYPE", "."], "TS_V_token": ["i386", "64", "128", "256"], "File": "i3864", "Func": "ix86_builtin_tm_load", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10198, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "SystemZInstrInfo", "::", "convertToThreeAddress", "(", "MachineFunction", "::", "iterator", "&", "MFI", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "LiveVariables", "*", "LV", ")", "const", "{", "MachineInstr", "*", "MI", "=", "MBBI", ";", "MachineBasicBlock", "*", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "unsigned", "Opcode", "=", "MI", "->", "getOpcode", "(", ")", ";", "unsigned", "NumOps", "=", "MI", "->", "getNumOperands", "(", ")", ";", "if", "(", "TM", ".", "getSubtargetImpl", "(", ")", "->", "hasDistinctOps", "(", ")", ")", "{", "int", "ThreeOperandOpcode", "=", "SystemZ", "::", "getThreeOperandOpcode", "(", "Opcode", ")", ";", "if", "(", "ThreeOperandOpcode", ">=", "0", ")", "{", "MachineOperand", "&", "Dest", "=", "MI", "->", "getOperand", "(", "0", ")", ";", "MachineOperand", "&", "Src", "=", "MI", "->", "getOperand", "(", "1", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "*", "MBB", ",", "MBBI", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "ThreeOperandOpcode", ")", ")", ".", "addOperand", "(", "Dest", ")", ";", "MIB", ".", "addReg", "(", "Src", ".", "getReg", "(", ")", ",", "getKillRegState", "(", "Src", ".", "isKill", "(", ")", ")", ",", "Src", ".", "getSubReg", "(", ")", ")", ";", "for", "(", "unsigned", "I", "=", "2", ";", "I", "<", "NumOps", ";", "++", "I", ")", "MIB", ".", "addOperand", "(", "MI", "->", "getOperand", "(", "I", ")", ")", ";", "return", "finishConvertToThreeAddress", "(", "MI", ",", "MIB", ",", "LV", ")", ";", "}", "}", "if", "(", "LogicOp", "And", "=", "interpretAndImmediate", "(", "Opcode", ")", ")", "{", "unsigned", "NewOpcode", ";", "if", "(", "And", ".", "RegSize", "==", "64", ")", "NewOpcode", "=", "SystemZ", "::", "RISBG", ";", "else", "if", "(", "TM", ".", "getSubtargetImpl", "(", ")", "->", "hasHighWord", "(", ")", ")", "NewOpcode", "=", "SystemZ", "::", "RISBLG32", ";", "else", "NewOpcode", "=", "0", ";", "if", "(", "NewOpcode", ")", "{", "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", ")", ")", "{", "if", "(", "NewOpcode", "==", "SystemZ", "::", "RISBLG32", ")", "{", "Start", "&=", "31", ";", "End", "&=", "31", ";", "}", "MachineOperand", "&", "Dest", "=", "MI", "->", "getOperand", "(", "0", ")", ";", "MachineOperand", "&", "Src", "=", "MI", "->", "getOperand", "(", "1", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "*", "MBB", ",", "MI", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "NewOpcode", ")", ")", ".", "addOperand", "(", "Dest", ")", ".", "addReg", "(", "0", ")", ".", "addReg", "(", "Src", ".", "getReg", "(", ")", ",", "getKillRegState", "(", "Src", ".", "isKill", "(", ")", ")", ",", "Src", ".", "getSubReg", "(", ")", ")", ".", "addImm", "(", "Start", ")", ".", "addImm", "(", "End", "+", "128", ")", ".", "addImm", "(", "0", ")", ";", "return", "finishConvertToThreeAddress", "(", "MI", ",", "MIB", ",", "LV", ")", ";", "}", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["convertToThreeAddress", "-", "This", "method", "must", "be", "implemented", "by", "targets", "that", "set", "the", "M_CONVERTIBLE_TO_3_ADDR", "flag", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ::getThreeOperandOpcode", "0", "0", "1", "2", "64", "SystemZ::RISBG", "SystemZ::RISBLG32", "0", "2", "SystemZ::RISBLG32", "31", "31", "0", "1", "0", "128", "0", "0"], "File": "SystemZInstrInfo (2)", "Func": "convertToThreeAddress", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10199, "Length": 450, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_init_builtins", "(", "void", ")", "{", "const", "struct", "mips_builtin_description", "*", "d", ";", "unsigned", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "mips_builtins", ")", ";", "i", "++", ")", "{", "d", "=", "&", "mips_builtins", "[", "i", "]", ";", "if", "(", "d", "->", "avail", "(", ")", ")", "{", "mips_builtin_decls", "[", "i", "]", "=", "add_builtin_function", "(", "d", "->", "name", ",", "mips_build_function_type", "(", "d", "->", "function_type", ")", ",", "i", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL", ")", ";", "mips_get_builtin_decl_index", "[", "d", "->", "icode", "]", "=", "i", ";", "}", "}", "}", ""], "natrual_language": ["Init", "builtin", "functions", ".", "This", "is", "called", "from", "TARGET_INIT_BUILTIN", "."], "TS_V_token": ["mips", "0"], "File": "mips6", "Func": "mips_init_builtins", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10200, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_callee_copies", "(", "cumulative_args_t", "cum", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "const_tree", "type", "ATTRIBUTE_UNUSED", ",", "bool", "named", ")", "{", "return", "mips_abi", "==", "ABI_EABI", "&&", "named", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CALLEE_COPIES", "."], "TS_V_token": ["mips"], "File": "mips4", "Func": "mips_callee_copies", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10201, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "AArch64MCExpr", "::", "getVariantKindName", "(", ")", "const", "{", "switch", "(", "static_cast", "<", "uint32_t", ">", "(", "getKind", "(", ")", ")", ")", "{", "case", "VK_CALL", ":", "return", "\"\"", ";", "case", "VK_LO12", ":", "return", "\":lo12:\"", ";", "case", "VK_ABS_G3", ":", "return", "\":abs_g3:\"", ";", "case", "VK_ABS_G2", ":", "return", "\":abs_g2:\"", ";", "case", "VK_ABS_G2_S", ":", "return", "\":abs_g2_s:\"", ";", "case", "VK_ABS_G2_NC", ":", "return", "\":abs_g2_nc:\"", ";", "case", "VK_ABS_G1", ":", "return", "\":abs_g1:\"", ";", "case", "VK_ABS_G1_S", ":", "return", "\":abs_g1_s:\"", ";", "case", "VK_ABS_G1_NC", ":", "return", "\":abs_g1_nc:\"", ";", "case", "VK_ABS_G0", ":", "return", "\":abs_g0:\"", ";", "case", "VK_ABS_G0_S", ":", "return", "\":abs_g0_s:\"", ";", "case", "VK_ABS_G0_NC", ":", "return", "\":abs_g0_nc:\"", ";", "case", "VK_DTPREL_G2", ":", "return", "\":dtprel_g2:\"", ";", "case", "VK_DTPREL_G1", ":", "return", "\":dtprel_g1:\"", ";", "case", "VK_DTPREL_G1_NC", ":", "return", "\":dtprel_g1_nc:\"", ";", "case", "VK_DTPREL_G0", ":", "return", "\":dtprel_g0:\"", ";", "case", "VK_DTPREL_G0_NC", ":", "return", "\":dtprel_g0_nc:\"", ";", "case", "VK_DTPREL_HI12", ":", "return", "\":dtprel_hi12:\"", ";", "case", "VK_DTPREL_LO12", ":", "return", "\":dtprel_lo12:\"", ";", "case", "VK_DTPREL_LO12_NC", ":", "return", "\":dtprel_lo12_nc:\"", ";", "case", "VK_TPREL_G2", ":", "return", "\":tprel_g2:\"", ";", "case", "VK_TPREL_G1", ":", "return", "\":tprel_g1:\"", ";", "case", "VK_TPREL_G1_NC", ":", "return", "\":tprel_g1_nc:\"", ";", "case", "VK_TPREL_G0", ":", "return", "\":tprel_g0:\"", ";", "case", "VK_TPREL_G0_NC", ":", "return", "\":tprel_g0_nc:\"", ";", "case", "VK_TPREL_HI12", ":", "return", "\":tprel_hi12:\"", ";", "case", "VK_TPREL_LO12", ":", "return", "\":tprel_lo12:\"", ";", "case", "VK_TPREL_LO12_NC", ":", "return", "\":tprel_lo12_nc:\"", ";", "case", "VK_TLSDESC_LO12", ":", "return", "\":tlsdesc_lo12:\"", ";", "case", "VK_ABS_PAGE", ":", "return", "\"\"", ";", "case", "VK_GOT_PAGE", ":", "return", "\":got:\"", ";", "case", "VK_GOT_LO12", ":", "return", "\":got_lo12:\"", ";", "case", "VK_GOTTPREL_PAGE", ":", "return", "\":gottprel:\"", ";", "case", "VK_GOTTPREL_LO12_NC", ":", "return", "\":gottprel_lo12:\"", ";", "case", "VK_GOTTPREL_G1", ":", "return", "\":gottprel_g1:\"", ";", "case", "VK_GOTTPREL_G0_NC", ":", "return", "\":gottprel_g0_nc:\"", ";", "case", "VK_TLSDESC", ":", "return", "\"\"", ";", "case", "VK_TLSDESC_PAGE", ":", "return", "\":tlsdesc:\"", ";", "default", ":", "llvm_unreachable", "(", "\"Invalid ELF symbol kind\"", ")", ";", "}", "}", ""], "natrual_language": ["Convert", "the", "variant", "kind", "into", "an", "ELF-appropriate", "modifier", "(", "e.g", "."], "TS_V_token": ["AArch64", "AArch64", "\"\"", "\":lo12:\"", "\":abs_g3:\"", "\":abs_g2:\"", "\":abs_g2_s:\"", "\":abs_g2_nc:\"", "\":abs_g1:\"", "\":abs_g1_s:\"", "\":abs_g1_nc:\"", "\":abs_g0:\"", "\":abs_g0_s:\"", "\":abs_g0_nc:\"", "\":dtprel_g2:\"", "\":dtprel_g1:\"", "\":dtprel_g1_nc:\"", "\":dtprel_g0:\"", "\":dtprel_g0_nc:\"", "\":dtprel_hi12:\"", "\":dtprel_lo12:\"", "\":dtprel_lo12_nc:\"", "\":tprel_g2:\"", "\":tprel_g1:\"", "\":tprel_g1_nc:\"", "\":tprel_g0:\"", "\":tprel_g0_nc:\"", "\":tprel_hi12:\"", "\":tprel_lo12:\"", "\":tprel_lo12_nc:\"", "\":tlsdesc_lo12:\"", "\"\"", "\":got:\"", "\":got_lo12:\"", "\":gottprel:\"", "\":gottprel_lo12:\"", "\":gottprel_g1:\"", "\":gottprel_g0_nc:\"", "\"\"", "\":tlsdesc:\"", "\"Invalid ELF symbol kind\""], "File": "AArch64MCExpr (2)1", "Func": "getVariantKindName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10202, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "*", "ix86_offload_options", "(", "void", ")", "{", "if", "(", "TARGET_LP64", ")", "return", "xstrdup", "(", "\"-foffload-abi=lp64\"", ")", ";", "return", "xstrdup", "(", "\"-foffload-abi=ilp32\"", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_OFFLOAD_OPTIONS", "hook", "."], "TS_V_token": ["i386", "\"-foffload-abi=lp64\"", "\"-foffload-abi=ilp32\""], "File": "i386-options", "Func": "ix86_offload_options", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10203, "Length": 24, "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": ["powerpcspe", "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": "powerpcspe", "Func": "rs6000_pass_by_reference", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10204, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "aarch64_prev_real_insn", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "!", "insn", ")", "return", "NULL", ";", "do", "{", "insn", "=", "prev_real_insn", "(", "insn", ")", ";", "}", "while", "(", "insn", "&&", "recog_memoized", "(", "insn", ")", "<", "0", ")", ";", "return", "insn", ";", "}", ""], "natrual_language": ["Find", "the", "first", "rtx_insn", "before", "insn", "that", "will", "generate", "an", "assembly", "instruction", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64", "Func": "aarch64_prev_real_insn", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10205, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64A53Fix835769", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "const", "TargetMachine", "&", "TM", "=", "F", ".", "getTarget", "(", ")", ";", "bool", "Changed", "=", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** AArch64A53Fix835769 *****\\n\"", ")", ";", "TII", "=", "TM", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "for", "(", "auto", "&", "MBB", ":", "F", ")", "{", "Changed", "|=", "runOnBasicBlock", "(", "MBB", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"***** AArch64A53Fix835769 *****\\n\"", "AArch64"], "File": "AArch64A53Fix83576917", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10206, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTTIImpl", "::", "getNumberOfRegisters", "(", "unsigned", "ClassID", ")", "const", "{", "assert", "(", "ClassID", "==", "GPRRC", "||", "ClassID", "==", "FPRRC", "||", "ClassID", "==", "VRRC", "||", "ClassID", "==", "VSXRC", ")", ";", "if", "(", "ST", "->", "hasVSX", "(", ")", ")", "{", "assert", "(", "ClassID", "==", "GPRRC", "||", "ClassID", "==", "VSXRC", "||", "ClassID", "==", "VRRC", ")", ";", "return", "ClassID", "==", "VSXRC", "?", "64", ":", "32", ";", "}", "assert", "(", "ClassID", "==", "GPRRC", "||", "ClassID", "==", "FPRRC", "||", "ClassID", "==", "VRRC", ")", ";", "return", "32", ";", "}", ""], "natrual_language": ["\ufffd", "?", "Vector", "TTI", "begin", "\ufffd", "?"], "TS_V_token": ["PowerPC", "PPC", "64", "32", "32"], "File": "PPCTargetTransformInfo1", "Func": "getNumberOfRegisters", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10207, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0AsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Cpu0MFI", "=", "MF", ".", "getInfo", "<", "Cpu0MachineFunctionInfo", ">", "(", ")", ";", "AsmPrinter", "::", "runOnMachineFunction", "(", "MF", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0", "Cpu0"], "File": "Cpu0AsmPrinter3", "Func": "runOnMachineFunction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10208, "Length": 32, "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", ":", "getImm", "(", ")", "->", "print", "(", "OS", ")", ";", "break", ";", "case", "k_ShiftedImm", ":", "{", "unsigned", "Shift", "=", "getShiftedImmShift", "(", ")", ";", "OS", "<<", "\"", "print", "(", "OS", ")", ";", "OS", "<<", "\", lsl #\"", "<<", "AArch64_AM", "::", "getShiftValue", "(", "Shift", ")", "<<", "\">\"", ";", "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": "AArch64AsmParser31", "Func": "print", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10209, "Length": 361, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsFastISel", "::", "fastSelectInstruction", "(", "const", "Instruction", "*", "I", ")", "{", "switch", "(", "I", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Instruction", "::", "Load", ":", "return", "selectLoad", "(", "I", ")", ";", "case", "Instruction", "::", "Store", ":", "return", "selectStore", "(", "I", ")", ";", "case", "Instruction", "::", "SDiv", ":", "if", "(", "!", "selectBinaryOp", "(", "I", ",", "ISD", "::", "SDIV", ")", ")", "return", "selectDivRem", "(", "I", ",", "ISD", "::", "SDIV", ")", ";", "return", "true", ";", "case", "Instruction", "::", "UDiv", ":", "if", "(", "!", "selectBinaryOp", "(", "I", ",", "ISD", "::", "UDIV", ")", ")", "return", "selectDivRem", "(", "I", ",", "ISD", "::", "UDIV", ")", ";", "return", "true", ";", "case", "Instruction", "::", "SRem", ":", "if", "(", "!", "selectBinaryOp", "(", "I", ",", "ISD", "::", "SREM", ")", ")", "return", "selectDivRem", "(", "I", ",", "ISD", "::", "SREM", ")", ";", "return", "true", ";", "case", "Instruction", "::", "URem", ":", "if", "(", "!", "selectBinaryOp", "(", "I", ",", "ISD", "::", "UREM", ")", ")", "return", "selectDivRem", "(", "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", "::", "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", ")", ";", "case", "Instruction", "::", "Select", ":", "return", "selectSelect", "(", "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", "ISD::SDIV", "ISD::SDIV", "ISD::UDIV", "ISD::UDIV", "ISD::SREM", "ISD::SREM", "ISD::UREM", "ISD::UREM"], "File": "MipsFastISel10", "Func": "fastSelectInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10210, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isToken", "(", ")", "const", "override", "{", "return", "Kind", "==", "k_Token", ";", "}", ""], "natrual_language": ["isToken", "-", "Is", "this", "a", "token", "operand", "?"], "TS_V_token": ["AArch64"], "File": "AArch64AsmParser (2)1", "Func": "isToken", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10211, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "AArch64RegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "if", "(", "CC", "==", "CallingConv", "::", "GHC", ")", "return", "CSR_AArch64_NoRegs_RegMask", ";", "if", "(", "CC", "==", "CallingConv", "::", "AnyReg", ")", "return", "CSR_AArch64_AllRegs_RegMask", ";", "if", "(", "CC", "==", "CallingConv", "::", "CXX_FAST_TLS", ")", "return", "CSR_AArch64_CXX_TLS_Darwin_RegMask", ";", "if", "(", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "getTargetLowering", "(", ")", "->", "supportSwiftError", "(", ")", "&&", "MF", ".", "getFunction", "(", ")", ".", "getAttributes", "(", ")", ".", "hasAttrSomewhere", "(", "Attribute", "::", "SwiftError", ")", ")", "return", "CSR_AArch64_AAPCS_SwiftError_RegMask", ";", "if", "(", "CC", "==", "CallingConv", "::", "PreserveMost", ")", "return", "CSR_AArch64_RT_MostRegs_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", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64RegisterInfo15", "Func": "getCallPreservedMask", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10212, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "match_basetype", "(", "typeinfo", "*", "typedata", ")", "{", "consume_whitespace", "(", ")", ";", "int", "oldpos", "=", "pos", ";", "char", "*", "token", "=", "match_identifier", "(", ")", ";", "if", "(", "!", "token", ")", "{", "diag", "(", "pos", ",", "\"missing base type in return type\\n\"", ")", ";", "return", "0", ";", "}", "if", "(", "!", "strcmp", "(", "token", ",", "\"char\"", ")", ")", "typedata", "->", "base", "=", "BT_CHAR", ";", "else", "if", "(", "!", "strcmp", "(", "token", ",", "\"short\"", ")", ")", "typedata", "->", "base", "=", "BT_SHORT", ";", "else", "if", "(", "!", "strcmp", "(", "token", ",", "\"int\"", ")", ")", "typedata", "->", "base", "=", "BT_INT", ";", "else", "if", "(", "!", "strcmp", "(", "token", ",", "\"long\"", ")", ")", "{", "consume_whitespace", "(", ")", ";", "oldpos", "=", "pos", ";", "char", "*", "mustbelongordbl", "=", "match_identifier", "(", ")", ";", "if", "(", "!", "mustbelongordbl", ")", "typedata", "->", "base", "=", "BT_LONG", ";", "else", "if", "(", "!", "strcmp", "(", "mustbelongordbl", ",", "\"long\"", ")", ")", "typedata", "->", "base", "=", "BT_LONGLONG", ";", "else", "if", "(", "!", "strcmp", "(", "mustbelongordbl", ",", "\"double\"", ")", ")", "typedata", "->", "base", "=", "BT_LONGDOUBLE", ";", "else", "{", "typedata", "->", "base", "=", "BT_LONG", ";", "pos", "=", "oldpos", ";", "}", "}", "else", "if", "(", "!", "strcmp", "(", "token", ",", "\"float\"", ")", ")", "typedata", "->", "base", "=", "BT_FLOAT", ";", "else", "if", "(", "!", "strcmp", "(", "token", ",", "\"double\"", ")", ")", "typedata", "->", "base", "=", "BT_DOUBLE", ";", "else", "if", "(", "!", "strcmp", "(", "token", ",", "\"__int128\"", ")", ")", "typedata", "->", "base", "=", "BT_INT128", ";", "else", "if", "(", "!", "strcmp", "(", "token", ",", "\"_Float128\"", ")", ")", "typedata", "->", "base", "=", "BT_FLOAT128", ";", "else", "if", "(", "!", "strcmp", "(", "token", ",", "\"bool\"", ")", ")", "typedata", "->", "base", "=", "BT_BOOL", ";", "else", "if", "(", "!", "strcmp", "(", "token", ",", "\"string\"", ")", ")", "typedata", "->", "base", "=", "BT_STRING", ";", "else", "if", "(", "!", "strcmp", "(", "token", ",", "\"_Decimal32\"", ")", ")", "typedata", "->", "base", "=", "BT_DECIMAL32", ";", "else", "if", "(", "!", "strcmp", "(", "token", ",", "\"_Decimal64\"", ")", ")", "typedata", "->", "base", "=", "BT_DECIMAL64", ";", "else", "if", "(", "!", "strcmp", "(", "token", ",", "\"_Decimal128\"", ")", ")", "typedata", "->", "base", "=", "BT_DECIMAL128", ";", "else", "if", "(", "!", "strcmp", "(", "token", ",", "\"__ibm128\"", ")", ")", "typedata", "->", "base", "=", "BT_IBM128", ";", "else", "{", "diag", "(", "oldpos", ",", "\"unrecognized base type\\n\"", ")", ";", "return", "0", ";", "}", "handle_pointer", "(", "typedata", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Match", "one", "of", "the", "allowable", "base", "types", ".", "Consumes", "one", "token", "unless", "the", "token", "is", "``", "long", "''", ",", "which", "must", "be", "paired", "with", "a", "second", "``", "long", "''", ".", "Optionally", "consumes", "a", "following", "'", "*", "'", "token", "for", "pointers", ".", "Return", "1", "for", "success", ",", "0", "for", "failure", "."], "TS_V_token": ["rs6000", "\"missing base type in return type\\n\"", "0", "\"char\"", "\"short\"", "\"int\"", "\"long\"", "\"long\"", "\"double\"", "\"float\"", "\"double\"", "\"__int128\"", "\"_Float128\"", "\"bool\"", "\"string\"", "\"_Decimal32\"", "\"_Decimal64\"", "\"_Decimal128\"", "\"__ibm128\"", "\"unrecognized base type\\n\"", "0", "1"], "File": "rs6000-gen-builtins", "Func": "match_basetype", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10213, "Length": 372, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "AND", ":", "return", "LowerANDOR", "(", "Op", ",", "DAG", ")", ";", "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", "::", "FP_TO_SINT", ":", "return", "LowerFP_TO_SINT", "(", "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", "::", "OR", ":", "return", "LowerANDOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "LowerSELECT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SETCC", ":", "return", "LowerSETCC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Mips", "Mips", "ISD::AND", "ISD::BRCOND", "ISD::ConstantPool", "ISD::DYNAMIC_STACKALLOC", "ISD::FP_TO_SINT", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::GlobalTLSAddress", "ISD::JumpTable", "ISD::OR", "ISD::SELECT", "ISD::SETCC", "ISD::VASTART"], "File": "MipsISelLowering36", "Func": "LowerOperation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10214, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_probe_stack_range", "(", "rtx", "reg1", ",", "rtx", "reg2", ")", "{", "static", "int", "labelno", "=", "0", ";", "char", "loop_lab", "[", "32", "]", ";", "rtx", "xops", "[", "2", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "loop_lab", ",", "\"LPSRL\"", ",", "labelno", "++", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "loop_lab", ")", ";", "xops", "[", "0", "]", "=", "reg1", ";", "xops", "[", "1", "]", "=", "GEN_INT", "(", "-", "PROBE_INTERVAL", ")", ";", "output_asm_insn", "(", "\"addi %0,%0,%1\"", ",", "xops", ")", ";", "xops", "[", "1", "]", "=", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ";", "output_asm_insn", "(", "\"stw %1,0(%0)\"", ",", "xops", ")", ";", "xops", "[", "1", "]", "=", "reg2", ";", "if", "(", "TARGET_64BIT", ")", "output_asm_insn", "(", "\"cmpd 0,%0,%1\"", ",", "xops", ")", ";", "else", "output_asm_insn", "(", "\"cmpw 0,%0,%1\"", ",", "xops", ")", ";", "fputs", "(", "\"\\tbne 0,\"", ",", "asm_out_file", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "loop_lab", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Wrapper", "around", "the", "output_probe_stack_range", "routines", "."], "TS_V_token": ["powerpcspe", "0", "32", "2", "\"LPSRL\"", "0", "1", "\"addi %0,%0,%1\"", "1", "0", "\"stw %1,0(%0)\"", "1", "\"cmpd 0,%0,%1\"", "\"cmpw 0,%0,%1\"", "\"\\tbne 0,\"", "\"\""], "File": "powerpcspe", "Func": "output_probe_stack_range", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10215, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitFill", "(", "const", "MCExpr", "&", "NumBytes", ",", "uint64_t", "FillValue", ",", "SMLoc", "Loc", ")", "override", "{", "emitDataMappingSymbol", "(", ")", ";", "MCObjectStreamer", "::", "emitFill", "(", "NumBytes", ",", "FillValue", ",", "Loc", ")", ";", "}", ""], "natrual_language": ["Emit", "Size", "bytes", "worth", "of", "the", "value", "specified", "by", "FillValue", "."], "TS_V_token": ["AArch64"], "File": "AArch64ELFStreamer11", "Func": "emitFill", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10216, "Length": 32, "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": 10217, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "const", "override", "{", "if", "(", "Count", "%", "4", "!=", "0", ")", "return", "false", ";", "uint64_t", "NumNops", "=", "Count", "/", "4", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "!=", "NumNops", ";", "++", "i", ")", "support", "::", "endian", "::", "write", "<", "uint32_t", ">", "(", "OS", ",", "0x01000000", ",", "Endian", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["Sparc", "4", "0", "4", "0", "support::endian", "0x01000000"], "File": "SparcAsmBackend14", "Func": "writeNopData", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10218, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMMCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "uint64_t", "TSFlags", "=", "Desc", ".", "TSFlags", ";", "if", "(", "(", "TSFlags", "&", "ARMII", "::", "FormMask", ")", "==", "ARMII", "::", "Pseudo", ")", "return", ";", "int", "Size", ";", "if", "(", "Desc", ".", "getSize", "(", ")", "==", "2", "||", "Desc", ".", "getSize", "(", ")", "==", "4", ")", "Size", "=", "Desc", ".", "getSize", "(", ")", ";", "else", "llvm_unreachable", "(", "\"Unexpected instruction size!\"", ")", ";", "uint32_t", "Binary", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "if", "(", "isThumb", "(", "STI", ")", "&&", "Size", "==", "4", ")", "{", "EmitConstant", "(", "Binary", ">>", "16", ",", "2", ",", "OS", ")", ";", "EmitConstant", "(", "Binary", "&", "0xffff", ",", "2", ",", "OS", ")", ";", "}", "else", "EmitConstant", "(", "Binary", ",", "Size", ",", "OS", ")", ";", "++", "MCNumEmitted", ";", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["ARM", "ARM", "ARMII::FormMask", "ARMII::Pseudo", "2", "4", "\"Unexpected instruction size!\"", "4", "16", "2", "0xffff", "2"], "File": "ARMMCCodeEmitter11", "Func": "encodeInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10219, "Length": 163, "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", ";", "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", "0", "2"], "File": "X86ISelDAGToDAG105", "Func": "PostprocessISelDAG", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10220, "Length": 373, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "permute_store", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "rtx", "src_reg", "=", "SET_SRC", "(", "body", ")", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "src_reg", ")", ";", "int", "n_elts", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "int", "half_elts", "=", "n_elts", "/", "2", ";", "rtx", "par", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "rtvec_alloc", "(", "n_elts", ")", ")", ";", "int", "i", ",", "j", ";", "for", "(", "i", "=", "0", ",", "j", "=", "half_elts", ";", "i", "<", "half_elts", ";", "++", "i", ",", "++", "j", ")", "XVECEXP", "(", "par", ",", "0", ",", "i", ")", "=", "GEN_INT", "(", "j", ")", ";", "for", "(", "i", "=", "half_elts", ",", "j", "=", "0", ";", "j", "<", "half_elts", ";", "++", "i", ",", "++", "j", ")", "XVECEXP", "(", "par", ",", "0", ",", "i", ")", "=", "GEN_INT", "(", "j", ")", ";", "rtx", "sel", "=", "gen_rtx_VEC_SELECT", "(", "mode", ",", "src_reg", ",", "par", ")", ";", "SET_SRC", "(", "body", ")", "=", "sel", ";", "INSN_CODE", "(", "insn", ")", "=", "-", "1", ";", "df_insn_rescan", "(", "insn", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Replacing store %d with permuted store\\n\"", ",", "INSN_UID", "(", "insn", ")", ")", ";", "}", ""], "natrual_language": ["Convert", "the", "non-permuting", "store", "INSN", "to", "a", "permuting", "one", "."], "TS_V_token": ["rs6000", "2", "0", "0", "0", "0", "1", "\"Replacing store %d with permuted store\\n\""], "File": "rs6000-p8swap", "Func": "permute_store", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10221, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb1InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "DL", ",", "MCRegister", "DestReg", ",", "MCRegister", "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", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tMOVr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "else", "{", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "st", ".", "getRegisterInfo", "(", ")", ";", "if", "(", "MBB", ".", "computeRegisterLiveness", "(", "RegInfo", ",", "ARM", "::", "CPSR", ",", "I", ")", "==", "MachineBasicBlock", "::", "LQR_Dead", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tMOVSr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", "->", "addRegisterDead", "(", "ARM", "::", "CPSR", ",", "RegInfo", ")", ";", "return", ";", "}", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tPUSH", ")", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tPOP", ")", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ".", "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", "ARMCC::AL", "ARM::CPSR", "ARM::tMOVSr", "ARM::CPSR", "ARM::tPUSH", "ARMCC::AL", "ARM::tPOP", "ARMCC::AL"], "File": "Thumb1InstrInfo20", "Func": "copyPhysReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10222, "Length": 283, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "Mips16InstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "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", "0"], "File": "Mips16InstrInfo10", "Func": "isStoreToStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10223, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "PPC", "::", "STD", ":", "case", "PPC", "::", "STW", ":", "case", "PPC", "::", "STFS", ":", "case", "PPC", "::", "STFD", ":", "case", "PPC", "::", "SPILL_CR", ":", "case", "PPC", "::", "SPILL_CRBIT", ":", "case", "PPC", "::", "STVX", ":", "case", "PPC", "::", "STXVD2X", ":", "case", "PPC", "::", "STXVX", ":", "case", "PPC", "::", "QVSTFDX", ":", "case", "PPC", "::", "QVSTFSXs", ":", "case", "PPC", "::", "QVSTFDXb", ":", "case", "PPC", "::", "SPILL_VRSAVE", ":", "case", "PPC", "::", "SPILLTOVSR_ST", ":", "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": ["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": ["PowerPC", "PPC", "PPC::STD", "PPC::STW", "PPC::STFS", "PPC::STFD", "PPC::SPILL_CR", "PPC::SPILL_CRBIT", "PPC::STVX", "PPC::STXVD2X", "PPC::STXVX", "PPC::QVSTFDX", "PPC::QVSTFSXs", "PPC::QVSTFDXb", "PPC::SPILL_VRSAVE", "PPC::SPILLTOVSR_ST", "1", "1", "2", "2", "0", "0"], "File": "PPCInstrInfo32", "Func": "isStoreToStackSlot", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10224, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "MachineOperand", "&", "getLdStOffsetOp", "(", "const", "MachineInstr", "&", "MI", ")", "{", "unsigned", "Idx", "=", "isPairedLdSt", "(", "MI", ")", "||", "AArch64InstrInfo", "::", "isPreLdSt", "(", "MI", ")", "?", "3", ":", "2", ";", "return", "MI", ".", "getOperand", "(", "Idx", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "immediate", "offset", "operator", "of", "a", "load/store", "."], "TS_V_token": ["AArch64", "AArch64", "3", "2"], "File": "AArch64LoadStoreOptimizer (2)1", "Func": "getLdStOffsetOp", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10225, "Length": 40, "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": 10226, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstructionSelector", "::", "select", "(", "MachineInstr", "&", "I", ")", "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", "(", "I", ".", "isCopy", "(", ")", ")", "return", "selectCopy", "(", "I", ",", "TII", ",", "MRI", ",", "TRI", ",", "RBI", ")", ";", "return", "true", ";", "}", "assert", "(", "I", ".", "getNumOperands", "(", ")", "==", "I", ".", "getNumExplicitOperands", "(", ")", "&&", "\"Generic instruction has unexpected implicit operands\\n\"", ")", ";", "if", "(", "selectBinaryOp", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "if", "(", "selectLoadStoreOp", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "if", "(", "selectFrameIndex", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "return", "selectImpl", "(", "I", ")", ";", "}", ""], "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\""], "File": "X86InstructionSelector31", "Func": "select", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10227, "Length": 179, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "ARMTargetLowering", "::", "shouldExpandAtomicCmpXchgInIR", "(", "AtomicCmpXchgInst", "*", "AI", ")", "const", "{", "unsigned", "Size", "=", "AI", "->", "getOperand", "(", "1", ")", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "bool", "HasAtomicCmpXchg", "=", "!", "Subtarget", "->", "isThumb", "(", ")", "||", "Subtarget", "->", "hasV8MBaselineOps", "(", ")", ";", "if", "(", "getTargetMachine", "(", ")", ".", "getOptLevel", "(", ")", "!=", "0", "&&", "HasAtomicCmpXchg", "&&", "Size", "<=", "(", "Subtarget", "->", "isMClass", "(", ")", "?", "32U", ":", "64U", ")", ")", "return", "AtomicExpansionKind", "::", "LLSC", ";", "return", "AtomicExpansionKind", "::", "None", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "atomic", "cmpxchg", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "."], "TS_V_token": ["ARM", "ARM", "1", "0", "32U", "64U"], "File": "ARMISelLowering (2)5", "Func": "shouldExpandAtomicCmpXchgInIR", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10228, "Length": 86, "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", ".", "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": "X86FrameLowering103", "Func": "hasFP", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10229, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcTargetMachine", "::", "addPreEmitPass", "(", "PassManagerBase", "&", "PM", ",", "bool", "Fast", ")", "{", "PM", ".", "add", "(", "createSparcFPMoverPass", "(", "*", "this", ")", ")", ";", "PM", ".", "add", "(", "createSparcDelaySlotFillerPass", "(", "*", "this", ")", ")", ";", "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"], "File": "SparcTargetMachine37", "Func": "addPreEmitPass", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10230, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "altivec_expand_vec_init_builtin", "(", "tree", "type", ",", "tree", "arglist", ",", "rtx", "target", ")", "{", "enum", "machine_mode", "tmode", "=", "TYPE_MODE", "(", "type", ")", ";", "enum", "machine_mode", "inner_mode", "=", "GET_MODE_INNER", "(", "tmode", ")", ";", "int", "i", ",", "n_elt", "=", "GET_MODE_NUNITS", "(", "tmode", ")", ";", "rtvec", "v", "=", "rtvec_alloc", "(", "n_elt", ")", ";", "gcc_assert", "(", "VECTOR_MODE_P", "(", "tmode", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n_elt", ";", "++", "i", ",", "arglist", "=", "TREE_CHAIN", "(", "arglist", ")", ")", "{", "rtx", "x", "=", "expand_expr", "(", "TREE_VALUE", "(", "arglist", ")", ",", "NULL_RTX", ",", "VOIDmode", ",", "0", ")", ";", "RTVEC_ELT", "(", "v", ",", "i", ")", "=", "gen_lowpart", "(", "inner_mode", ",", "x", ")", ";", "}", "gcc_assert", "(", "arglist", "==", "NULL", ")", ";", "if", "(", "!", "target", "||", "!", "register_operand", "(", "target", ",", "tmode", ")", ")", "target", "=", "gen_reg_rtx", "(", "tmode", ")", ";", "rs6000_expand_vector_init", "(", "target", ",", "gen_rtx_PARALLEL", "(", "tmode", ",", "v", ")", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Expand", "vec_init", "builtin", "."], "TS_V_token": ["rs6000", "0", "0"], "File": "rs60003", "Func": "altivec_expand_vec_init_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10231, "Length": 154, "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": 10232, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "reg_class", "ix86_preferred_reload_class", "(", "rtx", "x", ",", "enum", "reg_class", "class", ")", "{", "if", "(", "class", "==", "NO_REGS", ")", "return", "NO_REGS", ";", "if", "(", "x", "==", "CONST0_RTX", "(", "GET_MODE", "(", "x", ")", ")", ")", "return", "class", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST_DOUBLE", "&&", "GET_MODE", "(", "x", ")", "!=", "VOIDmode", ")", "{", "if", "(", "reg_class_subset_p", "(", "class", ",", "GENERAL_REGS", ")", ")", "return", "class", ";", "if", "(", "TARGET_80387", "&&", "(", "TARGET_MIX_SSE_I387", "||", "!", "(", "TARGET_SSE_MATH", "&&", "SSE_FLOAT_MODE_P", "(", "GET_MODE", "(", "x", ")", ")", ")", ")", "&&", "standard_80387_constant_p", "(", "x", ")", ")", "{", "if", "(", "class", "==", "FLOAT_SSE_REGS", ")", "return", "FLOAT_REGS", ";", "if", "(", "class", "==", "FP_TOP_SSE_REGS", ")", "return", "FP_TOP_REG", ";", "if", "(", "class", "==", "FP_SECOND_SSE_REGS", ")", "return", "FP_SECOND_REG", ";", "if", "(", "class", "==", "FLOAT_INT_REGS", "||", "class", "==", "FLOAT_REGS", ")", "return", "class", ";", "}", "return", "NO_REGS", ";", "}", "if", "(", "MAYBE_MMX_CLASS_P", "(", "class", ")", "&&", "CONSTANT_P", "(", "x", ")", ")", "return", "NO_REGS", ";", "if", "(", "MAYBE_SSE_CLASS_P", "(", "class", ")", "&&", "CONSTANT_P", "(", "x", ")", ")", "return", "NO_REGS", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "return", "reg_class_subset_p", "(", "class", ",", "GENERAL_REGS", ")", "?", "class", ":", "NO_REGS", ";", "if", "(", "GET_MODE", "(", "x", ")", "==", "QImode", "&&", "!", "CONSTANT_P", "(", "x", ")", ")", "{", "if", "(", "reg_class_subset_p", "(", "class", ",", "Q_REGS", ")", ")", "return", "class", ";", "if", "(", "reg_class_subset_p", "(", "Q_REGS", ",", "class", ")", ")", "return", "Q_REGS", ";", "return", "NO_REGS", ";", "}", "return", "class", ";", "}", ""], "natrual_language": ["Put", "float", "CONST_DOUBLE", "in", "the", "constant", "pool", "instead", "of", "fp", "regs", ".", "QImode", "must", "go", "into", "class", "Q_REGS", ".", "Narrow", "ALL_REGS", "to", "GENERAL_REGS", ".", "This", "supports", "allowing", "movsf", "and", "movdf", "to", "do", "mem-to-mem", "moves", "through", "integer", "regs", "."], "TS_V_token": ["i386"], "File": "i3863", "Func": "ix86_preferred_reload_class", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10233, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TeeRISCPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createTeeRISCISelDag", "(", "getTeeRISCTargetMachine", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["TeeRISC", "TeeRISC", "TeeRISC", "TeeRISC"], "File": "TeeRISCTargetMachine", "Func": "addInstSelector", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10234, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getFirstTerminator", "(", ")", ";", "bool", "IsEHFuncletEpilogue", "=", "MBBI", "==", "MBB", ".", "end", "(", ")", "?", "false", ":", "isFuncletReturnInstr", "(", "*", "MBBI", ")", ";", "const", "X86FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "getIndex", "(", ")", ";", "int", "FIOffset", ";", "unsigned", "BasePtr", ";", "if", "(", "MI", ".", "isReturn", "(", ")", ")", "{", "assert", "(", "(", "!", "needsStackRealignment", "(", "MF", ")", "||", "MF", ".", "getFrameInfo", "(", ")", ".", "isFixedObjectIndex", "(", "FrameIndex", ")", ")", "&&", "\"Return instruction can only reference SP relative frame objects\"", ")", ";", "FIOffset", "=", "TFI", "->", "getFrameIndexReferenceSP", "(", "MF", ",", "FrameIndex", ",", "BasePtr", ",", "0", ")", ";", "}", "else", "if", "(", "TFI", "->", "Is64Bit", "&&", "(", "MBB", ".", "isEHFuncletEntry", "(", ")", "||", "IsEHFuncletEpilogue", ")", ")", "{", "FIOffset", "=", "TFI", "->", "getWin64EHFrameIndexRef", "(", "MF", ",", "FrameIndex", ",", "BasePtr", ")", ";", "}", "else", "{", "FIOffset", "=", "TFI", "->", "getFrameIndexReference", "(", "MF", ",", "FrameIndex", ",", "BasePtr", ")", ";", "}", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "TargetOpcode", "::", "LOCAL_ESCAPE", ")", "{", "MachineOperand", "&", "FI", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ";", "FI", ".", "ChangeToImmediate", "(", "FIOffset", ")", ";", "return", ";", "}", "unsigned", "MachineBasePtr", "=", "BasePtr", ";", "if", "(", "Opc", "==", "X86", "::", "LEA64_32r", "&&", "X86", "::", "GR32RegClass", ".", "contains", "(", "BasePtr", ")", ")", "MachineBasePtr", "=", "getX86SubSuperRegister", "(", "BasePtr", ",", "64", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "MachineBasePtr", ",", "false", ")", ";", "if", "(", "BasePtr", "==", "StackPtr", ")", "FIOffset", "+=", "SPAdj", ";", "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!\"", ")", ";", "if", "(", "Offset", "!=", "0", "||", "!", "tryOptimizeLEAtoMOV", "(", "II", ")", ")", "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", "X86", "\"Return instruction can only reference SP relative frame objects\"", "0", "X86::LEA64_32r", "X86::GR32RegClass", "X86", "64", "\"Expected the FP as base register\"", "1", "1", "3", "3", "32", "\"Requesting 64-bit offset in 32-bit immediate!\"", "0", "3", "3", "3"], "File": "X86RegisterInfo102", "Func": "eliminateFrameIndex", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10235, "Length": 495, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "AArch64RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "assert", "(", "MF", "&&", "\"Invalid MachineFunction pointer.\"", ")", ";", "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", "::", "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", ";", "else", "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"], "File": "AArch64RegisterInfo17", "Func": "getCalleeSavedRegs", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10236, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FrameLowering", "::", "restoreCalleeSavedRegisters", "(", "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", ";", "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": "AArch64FrameLowering19", "Func": "restoreCalleeSavedRegisters", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10237, "Length": 399, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "long", "thumb1_prologue_unused_call_clobbered_lo_regs", "(", "void", ")", "{", "unsigned", "long", "mask", "=", "0", ";", "bitmap", "prologue_live_out", "=", "df_get_live_out", "(", "ENTRY_BLOCK_PTR_FOR_FN", "(", "cfun", ")", ")", ";", "for", "(", "int", "reg", "=", "FIRST_LO_REGNUM", ";", "reg", "<=", "LAST_LO_REGNUM", ";", "reg", "++", ")", "if", "(", "!", "callee_saved_reg_p", "(", "reg", ")", "&&", "!", "REGNO_REG_SET_P", "(", "prologue_live_out", ",", "reg", ")", ")", "mask", "|=", "1", "<<", "(", "reg", "-", "FIRST_LO_REGNUM", ")", ";", "return", "mask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "for", "the", "call-clobbered", "low", "registers", "that", "are", "unused", "at", "the", "end", "of", "the", "prologue", "."], "TS_V_token": ["arm", "0", "1"], "File": "arm", "Func": "thumb1_prologue_unused_call_clobbered_lo_regs", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10238, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SystemZInstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZTargetMachine", "Func": "getInstrInfo", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10239, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "or1k_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "REGNO_REG_CLASS", "(", "regno", ")", "==", "FLAG_REGS", ")", "return", "mode", "==", "BImode", ";", "return", "true", ";", "}", ""], "natrual_language": ["Worker", "for", "TARGET_HARD_REGNO_MODE_OK", ".", "Returns", "true", "if", "the", "hard", "register", "REGNO", "is", "ok", "for", "storing", "values", "of", "mode", "MODE", "."], "TS_V_token": ["or1k"], "File": "or1k", "Func": "or1k_hard_regno_mode_ok", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10240, "Length": 30, "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": ["CJG"], "File": "CJGTargetMachine", "Func": "getObjFileLowering", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10241, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_expand_vecmul_qihi", "(", "rtx", "dest", ",", "rtx", "op1", ",", "rtx", "op2", ")", "{", "machine_mode", "himode", ",", "qimode", "=", "GET_MODE", "(", "dest", ")", ";", "rtx", "hop1", ",", "hop2", ",", "hdest", ";", "rtx", "(", "*", "gen_extend", ")", "(", "rtx", ",", "rtx", ")", ";", "rtx", "(", "*", "gen_truncate", ")", "(", "rtx", ",", "rtx", ")", ";", "if", "(", "qimode", "==", "E_V64QImode", ")", "return", "false", ";", "if", "(", "!", "TARGET_AVX512BW", ")", "return", "false", ";", "if", "(", "(", "qimode", "==", "V8QImode", "||", "qimode", "==", "V16QImode", ")", "&&", "!", "TARGET_AVX512VL", ")", "return", "false", ";", "if", "(", "qimode", "==", "V32QImode", "&&", "(", "TARGET_PREFER_AVX128", "||", "TARGET_PREFER_AVX256", ")", ")", "return", "false", ";", "switch", "(", "qimode", ")", "{", "case", "E_V8QImode", ":", "himode", "=", "V8HImode", ";", "gen_extend", "=", "gen_zero_extendv8qiv8hi2", ";", "gen_truncate", "=", "gen_truncv8hiv8qi2", ";", "break", ";", "case", "E_V16QImode", ":", "himode", "=", "V16HImode", ";", "gen_extend", "=", "gen_zero_extendv16qiv16hi2", ";", "gen_truncate", "=", "gen_truncv16hiv16qi2", ";", "break", ";", "case", "E_V32QImode", ":", "himode", "=", "V32HImode", ";", "gen_extend", "=", "gen_zero_extendv32qiv32hi2", ";", "gen_truncate", "=", "gen_truncv32hiv32qi2", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "hop1", "=", "gen_reg_rtx", "(", "himode", ")", ";", "hop2", "=", "gen_reg_rtx", "(", "himode", ")", ";", "hdest", "=", "gen_reg_rtx", "(", "himode", ")", ";", "emit_insn", "(", "gen_extend", "(", "hop1", ",", "op1", ")", ")", ";", "emit_insn", "(", "gen_extend", "(", "hop2", ",", "op2", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "hdest", ",", "simplify_gen_binary", "(", "MULT", ",", "himode", ",", "hop1", ",", "hop2", ")", ")", ")", ";", "emit_insn", "(", "gen_truncate", "(", "dest", ",", "hdest", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Optimize", "vector", "MUL", "generation", "for", "V8QI", ",", "V16QI", "and", "V32QI", "under", "TARGET_AVX512BW", ".", "i.e", ".", "for", "v16qi", "a", "*", "b", ",", "it", "has", "vpmovzxbw", "ymm2", ",", "xmm0", "vpmovzxbw", "ymm3", ",", "xmm1", "vpmullw", "ymm4", ",", "ymm2", ",", "ymm3", "vpmovwb", "xmm0", ",", "ymm4", "it", "would", "take", "less", "instructions", "than", "ix86_expand_vecop_qihi", ".", "Return", "true", "if", "success", "."], "TS_V_token": ["i386"], "File": "i386-expand1", "Func": "ix86_expand_vecmul_qihi", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10242, "Length": 239, "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": 10243, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_operands_ok_for_ldpstp", "(", "rtx", "*", "operands", ",", "bool", "load", ",", "machine_mode", "mode", ")", "{", "HOST_WIDE_INT", "offval_1", ",", "offval_2", ",", "msize", ";", "enum", "reg_class", "rclass_1", ",", "rclass_2", ";", "rtx", "mem_1", ",", "mem_2", ",", "reg_1", ",", "reg_2", ",", "base_1", ",", "base_2", ",", "offset_1", ",", "offset_2", ";", "if", "(", "load", ")", "{", "mem_1", "=", "operands", "[", "1", "]", ";", "mem_2", "=", "operands", "[", "3", "]", ";", "reg_1", "=", "operands", "[", "0", "]", ";", "reg_2", "=", "operands", "[", "2", "]", ";", "gcc_assert", "(", "REG_P", "(", "reg_1", ")", "&&", "REG_P", "(", "reg_2", ")", ")", ";", "if", "(", "REGNO", "(", "reg_1", ")", "==", "REGNO", "(", "reg_2", ")", ")", "return", "false", ";", "}", "else", "{", "mem_1", "=", "operands", "[", "0", "]", ";", "mem_2", "=", "operands", "[", "2", "]", ";", "reg_1", "=", "operands", "[", "1", "]", ";", "reg_2", "=", "operands", "[", "3", "]", ";", "}", "if", "(", "MEM_VOLATILE_P", "(", "mem_1", ")", "||", "MEM_VOLATILE_P", "(", "mem_2", ")", ")", "return", "false", ";", "if", "(", "mode", "==", "SImode", "&&", "(", "aarch64_tune_params", ".", "extra_tuning_flags", "&", "AARCH64_EXTRA_TUNE_SLOW_UNALIGNED_LDPW", ")", "&&", "!", "optimize_size", "&&", "MEM_ALIGN", "(", "mem_1", ")", "<", "8", "*", "BITS_PER_UNIT", ")", "return", "false", ";", "extract_base_offset_in_addr", "(", "mem_1", ",", "&", "base_1", ",", "&", "offset_1", ")", ";", "if", "(", "base_1", "==", "NULL_RTX", "||", "offset_1", "==", "NULL_RTX", ")", "return", "false", ";", "extract_base_offset_in_addr", "(", "mem_2", ",", "&", "base_2", ",", "&", "offset_2", ")", ";", "if", "(", "base_2", "==", "NULL_RTX", "||", "offset_2", "==", "NULL_RTX", ")", "return", "false", ";", "if", "(", "!", "rtx_equal_p", "(", "base_1", ",", "base_2", ")", ")", "return", "false", ";", "offval_1", "=", "INTVAL", "(", "offset_1", ")", ";", "offval_2", "=", "INTVAL", "(", "offset_2", ")", ";", "msize", "=", "GET_MODE_SIZE", "(", "mode", ")", ".", "to_constant", "(", ")", ";", "if", "(", "offval_1", "!=", "(", "offval_2", "+", "msize", ")", "&&", "offval_2", "!=", "(", "offval_1", "+", "msize", ")", ")", "return", "false", ";", "if", "(", "load", ")", "{", "if", "(", "reg_mentioned_p", "(", "reg_1", ",", "mem_1", ")", ")", "return", "false", ";", "if", "(", "offval_1", ">", "offval_2", "&&", "reg_mentioned_p", "(", "reg_2", ",", "mem_2", ")", ")", "return", "false", ";", "}", "if", "(", "REG_P", "(", "reg_1", ")", "&&", "FP_REGNUM_P", "(", "REGNO", "(", "reg_1", ")", ")", ")", "rclass_1", "=", "FP_REGS", ";", "else", "rclass_1", "=", "GENERAL_REGS", ";", "if", "(", "REG_P", "(", "reg_2", ")", "&&", "FP_REGNUM_P", "(", "REGNO", "(", "reg_2", ")", ")", ")", "rclass_2", "=", "FP_REGS", ";", "else", "rclass_2", "=", "GENERAL_REGS", ";", "if", "(", "rclass_1", "!=", "rclass_2", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Given", "OPERANDS", "of", "consecutive", "load/store", ",", "check", "if", "we", "can", "merge", "them", "into", "ldp/stp", ".", "LOAD", "is", "true", "if", "they", "are", "load", "instructions", ".", "MODE", "is", "the", "mode", "of", "memory", "operands", "."], "TS_V_token": ["aarch64", "1", "3", "0", "2", "0", "2", "1", "3", "8"], "File": "aarch645", "Func": "aarch64_operands_ok_for_ldpstp", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10244, "Length": 383, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "MachineModuleInfo", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["ARM"], "File": "ARMCodeEmitter", "Func": "getAnalysisUsage", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10245, "Length": 26, "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", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MBBI", "!=", "FirstMBB", ".", "end", "(", ")", ")", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "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", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", "&&", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "isPICStyleGOT", "(", ")", ")", "{", "GlobalBaseReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "X86", "::", "GR32RegisterClass", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "X86", "::", "ADD32ri", ")", ",", "GlobalBaseReg", ")", ".", "addReg", "(", "PC", ")", ".", "addExternalSymbol", "(", "\"_GLOBAL_OFFSET_TABLE_\"", ")", ";", "}", "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_\"", "X86"], "File": "X86InstrInfo101", "Func": "getGlobalBaseReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10246, "Length": 253, "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": 10247, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "Comet2RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "report_fatal_error", "(", "\"Comet2 cannot read or overwrite SP\"", ")", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["Comet2", "Comet2", "\"Comet2 cannot read or overwrite SP\""], "File": "Comet2RegisterInfo", "Func": "getFrameRegister", "Target": "Comet2", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10248, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "EnableStackPointerTest", ")", "{", "addPass", "(", "createStackPointerTester", "(", "getX86TargetMachine", "(", ")", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86TargetMachine128", "Func": "addPreRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10249, "Length": 27, "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": ["Cpu0"], "File": "Cpu0AsmParser", "Func": "isReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10250, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "*", "aarch64_output_simd_mov_immediate", "(", "rtx", "const_vector", ",", "machine_mode", "mode", ",", "unsigned", "width", ")", "{", "bool", "is_valid", ";", "static", "char", "templ", "[", "40", "]", ";", "const", "char", "*", "mnemonic", ";", "const", "char", "*", "shift_op", ";", "unsigned", "int", "lane_count", "=", "0", ";", "char", "element_char", ";", "struct", "simd_immediate_info", "info", "=", "{", "NULL_RTX", ",", "0", ",", "0", ",", "false", ",", "false", "}", ";", "is_valid", "=", "aarch64_simd_valid_immediate", "(", "const_vector", ",", "mode", ",", "false", ",", "&", "info", ")", ";", "gcc_assert", "(", "is_valid", ")", ";", "element_char", "=", "sizetochar", "(", "info", ".", "element_width", ")", ";", "lane_count", "=", "width", "/", "info", ".", "element_width", ";", "mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", ")", "{", "gcc_assert", "(", "info", ".", "shift", "==", "0", "&&", "!", "info", ".", "mvn", ")", ";", "if", "(", "aarch64_float_const_zero_rtx_p", "(", "info", ".", "value", ")", ")", "info", ".", "value", "=", "GEN_INT", "(", "0", ")", ";", "else", "{", "char", "float_buf", "[", "buf_size", "]", "=", "{", "'\\0'", "}", ";", "real_to_decimal_for_mode", "(", "float_buf", ",", "CONST_DOUBLE_REAL_VALUE", "(", "info", ".", "value", ")", ",", "buf_size", ",", "buf_size", ",", "1", ",", "mode", ")", ";", "if", "(", "lane_count", "==", "1", ")", "snprintf", "(", "templ", ",", "sizeof", "(", "templ", ")", ",", "\"fmov\\t%%d0, %s\"", ",", "float_buf", ")", ";", "else", "snprintf", "(", "templ", ",", "sizeof", "(", "templ", ")", ",", "\"fmov\\t%%0.%d%c, %s\"", ",", "lane_count", ",", "element_char", ",", "float_buf", ")", ";", "return", "templ", ";", "}", "}", "mnemonic", "=", "info", ".", "mvn", "?", "\"mvni\"", ":", "\"movi\"", ";", "shift_op", "=", "info", ".", "msl", "?", "\"msl\"", ":", "\"lsl\"", ";", "gcc_assert", "(", "CONST_INT_P", "(", "info", ".", "value", ")", ")", ";", "if", "(", "lane_count", "==", "1", ")", "snprintf", "(", "templ", ",", "sizeof", "(", "templ", ")", ",", "\"%s\\t%%d0, \"", "HOST_WIDE_INT_PRINT_HEX", ",", "mnemonic", ",", "UINTVAL", "(", "info", ".", "value", ")", ")", ";", "else", "if", "(", "info", ".", "shift", ")", "snprintf", "(", "templ", ",", "sizeof", "(", "templ", ")", ",", "\"%s\\t%%0.%d%c, \"", "HOST_WIDE_INT_PRINT_HEX", "\", %s %d\"", ",", "mnemonic", ",", "lane_count", ",", "element_char", ",", "UINTVAL", "(", "info", ".", "value", ")", ",", "shift_op", ",", "info", ".", "shift", ")", ";", "else", "snprintf", "(", "templ", ",", "sizeof", "(", "templ", ")", ",", "\"%s\\t%%0.%d%c, \"", "HOST_WIDE_INT_PRINT_HEX", ",", "mnemonic", ",", "lane_count", ",", "element_char", ",", "UINTVAL", "(", "info", ".", "value", ")", ")", ";", "return", "templ", ";", "}", ""], "natrual_language": ["Returns", "the", "string", "with", "the", "instruction", "for", "AdvSIMD", "MOVI", ",", "MVNI", ",", "ORR", "or", "BIC", "immediate", "with", "a", "CONST_VECTOR", "of", "MODE", "and", "WIDTH", ".", "WHICH", "selects", "whether", "to", "output", "MOVI/MVNI", ",", "ORR", "or", "BIC", "immediate", "."], "TS_V_token": ["aarch64", "40", "0", "0", "0", "0", "0", "1", "1", "\"fmov\\t%%d0, %s\"", "\"fmov\\t%%0.%d%c, %s\"", "\"mvni\"", "\"movi\"", "\"msl\"", "\"lsl\"", "1", "\"%s\\t%%d0, \"", "\"%s\\t%%0.%d%c, \"", "\", %s %d\"", "\"%s\\t%%0.%d%c, \""], "File": "aarch643", "Func": "aarch64_output_simd_mov_immediate", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10251, "Length": 349, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARM64RegisterInfo", "::", "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", "ARM64FrameLowering", "*", "TFI", "=", "static_cast", "<", "const", "ARM64FrameLowering", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "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", "(", "rewriteARM64FrameIndex", "(", "MI", ",", "FIOperandNum", ",", "FrameReg", ",", "Offset", ",", "TII", ")", ")", "return", ";", "assert", "(", "(", "!", "RS", "||", "!", "RS", "->", "isScavengingFrameIndex", "(", "FrameIndex", ")", ")", "&&", "\"Emergency spill slot is out of reach\"", ")", ";", "unsigned", "ScratchReg", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "&", "ARM64", "::", "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": ["ARM64", "ARM64", "0", "\"Unexpected\"", "ARM64", "ARM64", "1", "1", "ARM64", "\"Emergency spill slot is out of reach\"", "ARM64::GPR64RegClass"], "File": "ARM64RegisterInfo", "Func": "eliminateFrameIndex", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10252, "Length": 298, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "cirrus_memory_offset", "(", "rtx", "op", ")", "{", "if", "(", "!", "(", "reload_in_progress", "||", "reload_completed", ")", "&&", "(", "reg_mentioned_p", "(", "frame_pointer_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "arg_pointer_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "virtual_incoming_args_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "virtual_outgoing_args_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "virtual_stack_dynamic_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "virtual_stack_vars_rtx", ",", "op", ")", ")", ")", "return", "0", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "MEM", ")", "{", "rtx", "ind", ";", "ind", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "ind", ")", "==", "REG", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "ind", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "ind", ",", "0", ")", ")", "==", "REG", "&&", "REG_MODE_OK_FOR_BASE_P", "(", "XEXP", "(", "ind", ",", "0", ")", ",", "VOIDmode", ")", "&&", "GET_CODE", "(", "XEXP", "(", "ind", ",", "1", ")", ")", "==", "CONST_INT", ")", "return", "1", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "OP", "is", "a", "valid", "Cirrus", "memory", "address", "pattern", "."], "TS_V_token": ["arm", "0", "0", "1", "0", "0", "1", "1", "0"], "File": "arm3", "Func": "cirrus_memory_offset", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10253, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameInfo", "::", "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": "X86FrameInfo", "Func": "hasFP", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10254, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZPostRASchedStrategy", "::", "initPolicy", "(", "MachineBasicBlock", "::", "iterator", "Begin", ",", "MachineBasicBlock", "::", "iterator", "End", ",", "unsigned", "NumRegionInstrs", ")", "{", "if", "(", "Begin", "->", "isTerminator", "(", ")", ")", "return", ";", "advanceTo", "(", "Begin", ")", ";", "}", ""], "natrual_language": ["Called", "for", "a", "region", "before", "scheduling", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZMachineScheduler", "Func": "initPolicy", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10255, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LC3PassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createLC3ISelDag", "(", "getLC3TargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["LC3", "LC3", "LC3", "LC3"], "File": "LC3TargetMachine", "Func": "addInstSelector", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10256, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TOYInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "'$'", "<<", "StringRef", "(", "getRegisterName", "(", "RegNo", ")", ")", ".", "lower", "(", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["TOY", "TOY"], "File": "TOYInstPrinter", "Func": "printRegName", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10257, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "static", "int", "thumb1_index_register_rtx_p", "(", "rtx", "x", ",", "int", "strict_p", ")", "{", "return", "thumb1_base_register_rtx_p", "(", "x", ",", "QImode", ",", "strict_p", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "x", "is", "a", "legitimate", "index", "register", ".", "This", "is", "the", "case", "for", "any", "base", "register", "that", "can", "access", "a", "QImode", "object", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "thumb1_index_register_rtx_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10258, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "MipsRegisterInfo", "::", "getDwarfRegNum", "(", "unsigned", "RegNum", ",", "bool", "isEH", ")", "const", "{", "assert", "(", "0", "&&", "\"What is the dwarf register number\"", ")", ";", "return", "-", "1", ";", "}", ""], "natrual_language": ["Map", "a", "target", "register", "to", "an", "equivalent", "dwarf", "register", "number", "."], "TS_V_token": ["Mips", "Mips", "0", "\"What is the dwarf register number\"", "1"], "File": "MipsRegisterInfo18", "Func": "getDwarfRegNum", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10259, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZRegisterInfo", "::", "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": "SystemZRegisterInfo13", "Func": "hasFP", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10260, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "ARMBaseRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "if", "(", "ReserveR9", ")", "return", "CSR_NaCl_SaveList", ";", "bool", "ghcCall", "=", "false", ";", "if", "(", "MF", ")", "{", "const", "Function", "*", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "ghcCall", "=", "(", "F", "?", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "GHC", ":", "false", ")", ";", "}", "if", "(", "ghcCall", ")", "{", "return", "CSR_GHC_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": "ARMBaseRegisterInfo43", "Func": "getCalleeSavedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10261, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mmix_function_value_regno_p", "(", "const", "unsigned", "int", "regno", ")", "{", "return", "regno", "==", "MMIX_RETURN_VALUE_REGNUM", ";", "}", ""], "natrual_language": ["FUNCTION_VALUE_REGNO_P", "."], "TS_V_token": ["mmix"], "File": "mmix", "Func": "mmix_function_value_regno_p", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10262, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "sh_pr_n_sets", "(", ")", "{", "return", "REG_N_SETS", "(", "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": "sh2", "Func": "sh_pr_n_sets", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10263, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FastISel", "::", "isTypeLegal", "(", "Type", "*", "Ty", ",", "MVT", "&", "VT", ",", "bool", "AllowI1", ")", "{", "EVT", "evt", "=", "TLI", ".", "getValueType", "(", "Ty", ",", "true", ")", ";", "if", "(", "evt", "==", "MVT", "::", "Other", "||", "!", "evt", ".", "isSimple", "(", ")", ")", "return", "false", ";", "VT", "=", "evt", ".", "getSimpleVT", "(", ")", ";", "if", "(", "VT", "==", "MVT", "::", "f64", "&&", "!", "X86ScalarSSEf64", ")", "return", "false", ";", "if", "(", "VT", "==", "MVT", "::", "f32", "&&", "!", "X86ScalarSSEf32", ")", "return", "false", ";", "if", "(", "VT", "==", "MVT", "::", "f80", ")", "return", "false", ";", "return", "(", "AllowI1", "&&", "VT", "==", "MVT", "::", "i1", ")", "||", "TLI", ".", "isTypeLegal", "(", "VT", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "type", "is", "legal", "."], "TS_V_token": ["X86", "X86", "MVT::Other", "MVT::f64", "X86", "MVT::f32", "X86", "MVT::f80", "MVT::i1"], "File": "X86FastISel (2)", "Func": "isTypeLegal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10264, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86CallFrameOptimization", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "TFL", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "if", "(", "!", "shouldPerformTransformation", "(", "MF", ")", ")", "return", "false", ";", "int", "FrameSetupOpcode", "=", "TII", "->", "getCallFrameSetupOpcode", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "BB", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "BB", "!=", "E", ";", "++", "BB", ")", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "BB", "->", "begin", "(", ")", ";", "I", "!=", "BB", "->", "end", "(", ")", ";", "++", "I", ")", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "FrameSetupOpcode", ")", "Changed", "|=", "adjustCallSequence", "(", "MF", ",", "*", "BB", ",", "I", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86"], "File": "X86CallFrameOptimization11", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10265, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "LC3MCCodeEmitter", "::", "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_LC3_LO", ":", "{", "FixupKind", "=", "LC3", "::", "fixup_lc3_mov_lo16_pcrel", ";", "break", ";", "}", "case", "MCSymbolRefExpr", "::", "VK_LC3_HI", ":", "{", "FixupKind", "=", "LC3", "::", "fixup_lc3_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": ["LC3", "LC3", "\"unknown operand kind in printOperand\"", "\"Unknown fixup kind!\"", "LC3", "LC3::fixup_lc3_mov_lo16_pcrel", "LC3", "LC3::fixup_lc3_mov_hi16_pcrel", "0", "0"], "File": "LC3MCCodeEmitter", "Func": "getMachineOpValue", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10266, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "distance_non_agu_define_in_bb", "(", "unsigned", "int", "regno1", ",", "unsigned", "int", "regno2", ",", "rtx_insn", "*", "insn", ",", "int", "distance", ",", "rtx_insn", "*", "start", ",", "bool", "*", "found", ")", "{", "basic_block", "bb", "=", "start", "?", "BLOCK_FOR_INSN", "(", "start", ")", ":", "NULL", ";", "rtx_insn", "*", "prev", "=", "start", ";", "rtx_insn", "*", "next", "=", "NULL", ";", "*", "found", "=", "false", ";", "while", "(", "prev", "&&", "prev", "!=", "insn", "&&", "distance", "<", "LEA_SEARCH_THRESHOLD", ")", "{", "if", "(", "NONDEBUG_INSN_P", "(", "prev", ")", "&&", "NONJUMP_INSN_P", "(", "prev", ")", ")", "{", "distance", "=", "increase_distance", "(", "prev", ",", "next", ",", "distance", ")", ";", "if", "(", "insn_defines_reg", "(", "regno1", ",", "regno2", ",", "prev", ")", ")", "{", "if", "(", "recog_memoized", "(", "prev", ")", "<", "0", "||", "get_attr_type", "(", "prev", ")", "!=", "TYPE_LEA", ")", "{", "*", "found", "=", "true", ";", "return", "distance", ";", "}", "}", "next", "=", "prev", ";", "}", "if", "(", "prev", "==", "BB_HEAD", "(", "bb", ")", ")", "break", ";", "prev", "=", "PREV_INSN", "(", "prev", ")", ";", "}", "return", "distance", ";", "}", ""], "natrual_language": ["Search", "backward", "for", "non-agu", "definition", "of", "register", "number", "REGNO1", "or", "register", "number", "REGNO2", "in", "basic", "block", "starting", "from", "instruction", "START", "up", "to", "head", "of", "basic", "block", "or", "instruction", "INSN", ".", "Function", "puts", "true", "value", "into", "*", "FOUND", "var", "if", "definition", "was", "found", "and", "false", "otherwise", ".", "Distance", "in", "half-cycles", "between", "START", "and", "found", "instruction", "or", "head", "of", "BB", "is", "added", "to", "DISTANCE", "and", "returned", "."], "TS_V_token": ["i386", "0"], "File": "i386", "Func": "distance_non_agu_define_in_bb", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10267, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "SparcRegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "const", "SparcSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "SparcSubtarget", ">", "(", ")", ";", "return", "Subtarget", ".", "is64Bit", "(", ")", "?", "&", "SP", "::", "I64RegsRegClass", ":", "&", "SP", "::", "IntRegsRegClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc", "SP::I64RegsRegClass", "SP::IntRegsRegClass"], "File": "SparcRegisterInfo (2)", "Func": "getPointerRegClass", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10268, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "Register", "DestReg", ",", "int", "FI", ",", "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", "(", "*", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "if", "(", "RC", "==", "&", "SP", "::", "I64RegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDXri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "IntRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "IntPairRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDDri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "FPRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDFri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "SP", "::", "DFPRegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDDFri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "SP", "::", "QFPRegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDQFri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "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": ["Sparc", "Sparc", "SP::I64RegsRegClass", "SP::LDXri", "0", "SP::IntRegsRegClass", "SP::LDri", "0", "SP::IntPairRegClass", "SP::LDDri", "0", "SP::FPRegsRegClass", "SP::LDFri", "0", "SP::DFPRegsRegClass", "SP::LDDFri", "0", "SP::QFPRegsRegClass", "SP::LDQFri", "0", "\"Can't load this register from stack slot\""], "File": "SparcInstrInfo29", "Func": "loadRegFromStackSlot", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10269, "Length": 379, "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": 10270, "Length": 225, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addIRPasses", "(", ")", "{", "if", "(", "TM", "->", "Options", ".", "ThreadModel", "==", "ThreadModel", "::", "Single", ")", "addPass", "(", "createLowerAtomicPass", "(", ")", ")", ";", "else", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableAtomicTidy", ")", "addPass", "(", "createCFGSimplificationPass", "(", "1", ",", "false", ",", "false", ",", "true", ",", "true", ",", "[", "this", "]", "(", "const", "Function", "&", "F", ")", "{", "const", "auto", "&", "ST", "=", "this", "->", "TM", "->", "getSubtarget", "<", "ARMSubtarget", ">", "(", "F", ")", ";", "return", "ST", ".", "hasAnyDataBarrier", "(", ")", "&&", "!", "ST", ".", "isThumb1Only", "(", ")", ";", "}", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createInterleavedAccessPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["ARM", "ARM", "1", "ARM"], "File": "ARMTargetMachine", "Func": "addIRPasses", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10271, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PPCTTI", "::", "PopcntSupportKind", "PPCTTI", "::", "getPopcntSupport", "(", "unsigned", "TyWidth", ")", "const", "{", "assert", "(", "isPowerOf2_32", "(", "TyWidth", ")", "&&", "\"Ty width must be power of 2\"", ")", ";", "return", "PSK_Software", ";", "}", ""], "natrual_language": ["Return", "hardware", "support", "for", "population", "count", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "\"Ty width must be power of 2\""], "File": "PPCTargetTransformInfo75", "Func": "getPopcntSupport", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10272, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "updateRegAllocHint", "(", "unsigned", "Reg", ",", "unsigned", "NewReg", ",", "MachineFunction", "&", "MF", ")", "const", "{", "MachineRegisterInfo", "*", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", "Hint", "=", "MRI", "->", "getRegAllocationHint", "(", "Reg", ")", ";", "if", "(", "(", "Hint", ".", "first", "==", "(", "unsigned", ")", "ARMRI", "::", "RegPairOdd", "||", "Hint", ".", "first", "==", "(", "unsigned", ")", "ARMRI", "::", "RegPairEven", ")", "&&", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "Hint", ".", "second", ")", ")", "{", "unsigned", "OtherReg", "=", "Hint", ".", "second", ";", "Hint", "=", "MRI", "->", "getRegAllocationHint", "(", "OtherReg", ")", ";", "if", "(", "Hint", ".", "second", "==", "Reg", ")", "{", "MRI", "->", "setRegAllocationHint", "(", "OtherReg", ",", "Hint", ".", "first", ",", "NewReg", ")", ";", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "NewReg", ")", ")", "MRI", "->", "setRegAllocationHint", "(", "NewReg", ",", "Hint", ".", "first", "==", "(", "unsigned", ")", "ARMRI", "::", "RegPairOdd", "?", "ARMRI", "::", "RegPairEven", ":", "ARMRI", "::", "RegPairOdd", ",", "OtherReg", ")", ";", "}", "}", "}", ""], "natrual_language": ["A", "callback", "to", "allow", "target", "a", "chance", "to", "update", "register", "allocation", "hints", "when", "a", "register", "is", "``", "changed", "''", "(", "e.g", "."], "TS_V_token": ["ARM", "ARM", "ARMRI::RegPairOdd", "ARMRI::RegPairEven", "ARMRI::RegPairOdd", "ARMRI::RegPairEven", "ARMRI::RegPairOdd"], "File": "ARMBaseRegisterInfo10", "Func": "updateRegAllocHint", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10273, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumberOfRegisters", "(", "bool", "Vector", ")", "const", "override", "{", "if", "(", "Vector", ")", "{", "if", "(", "ST", "->", "hasNEON", "(", ")", ")", "return", "16", ";", "return", "0", ";", "}", "if", "(", "ST", "->", "isThumb1Only", "(", ")", ")", "return", "8", ";", "return", "13", ";", "}", ""], "natrual_language": ["\ufffd", "?", "Vector", "TTI", "begin", "\ufffd", "?"], "TS_V_token": ["ARM", "16", "0", "8", "13"], "File": "ARMTargetTransformInfo21", "Func": "getNumberOfRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10274, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_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", ";", "struct", "expand_vec_perm_d", "d", ";", "int", "i", ",", "nelt", ",", "which", ";", "unsigned", "char", "orig_perm", "[", "MAX_VECT_LEN", "]", ";", "bool", "ok", ";", "d", ".", "target", "=", "target", ";", "if", "(", "op0", ")", "{", "rtx", "nop0", "=", "force_reg", "(", "vmode", ",", "op0", ")", ";", "if", "(", "op0", "==", "op1", ")", "op1", "=", "nop0", ";", "op0", "=", "nop0", ";", "}", "if", "(", "op1", ")", "op1", "=", "force_reg", "(", "vmode", ",", "op1", ")", ";", "d", ".", "op0", "=", "op0", ";", "d", ".", "op1", "=", "op1", ";", "d", ".", "vmode", "=", "vmode", ";", "gcc_assert", "(", "VECTOR_MODE_P", "(", "vmode", ")", ")", ";", "d", ".", "nelt", "=", "nelt", "=", "GET_MODE_NUNITS", "(", "vmode", ")", ";", "d", ".", "testing_p", "=", "!", "target", ";", "memset", "(", "orig_perm", ",", "0", ",", "MAX_VECT_LEN", ")", ";", "for", "(", "i", "=", "which", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "{", "int", "ei", "=", "sel", "[", "i", "]", "&", "(", "2", "*", "nelt", "-", "1", ")", ";", "which", "|=", "(", "ei", "<", "nelt", "?", "1", ":", "2", ")", ";", "orig_perm", "[", "i", "]", "=", "ei", ";", "}", "memcpy", "(", "d", ".", "perm", ",", "orig_perm", ",", "MAX_VECT_LEN", ")", ";", "switch", "(", "which", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "3", ":", "d", ".", "one_vector_p", "=", "false", ";", "if", "(", "d", ".", "testing_p", "||", "!", "rtx_equal_p", "(", "d", ".", "op0", ",", "d", ".", "op1", ")", ")", "break", ";", "case", "2", ":", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "d", ".", "perm", "[", "i", "]", "&=", "nelt", "-", "1", ";", "d", ".", "op0", "=", "d", ".", "op1", ";", "d", ".", "one_vector_p", "=", "true", ";", "break", ";", "case", "1", ":", "d", ".", "op1", "=", "d", ".", "op0", ";", "d", ".", "one_vector_p", "=", "true", ";", "break", ";", "}", "if", "(", "d", ".", "testing_p", ")", "{", "d", ".", "target", "=", "gen_raw_REG", "(", "d", ".", "vmode", ",", "LAST_VIRTUAL_REGISTER", "+", "1", ")", ";", "d", ".", "op1", "=", "d", ".", "op0", "=", "gen_raw_REG", "(", "d", ".", "vmode", ",", "LAST_VIRTUAL_REGISTER", "+", "2", ")", ";", "if", "(", "!", "d", ".", "one_vector_p", ")", "d", ".", "op1", "=", "gen_raw_REG", "(", "d", ".", "vmode", ",", "LAST_VIRTUAL_REGISTER", "+", "3", ")", ";", "start_sequence", "(", ")", ";", "ok", "=", "mips_expand_vec_perm_const_1", "(", "&", "d", ")", ";", "end_sequence", "(", ")", ";", "return", "ok", ";", "}", "ok", "=", "mips_expand_vec_perm_const_1", "(", "&", "d", ")", ";", "if", "(", "!", "ok", "&&", "which", "==", "3", ")", "{", "d", ".", "op0", "=", "op0", ";", "d", ".", "op1", "=", "op1", ";", "d", ".", "one_vector_p", "=", "false", ";", "memcpy", "(", "d", ".", "perm", ",", "orig_perm", ",", "MAX_VECT_LEN", ")", ";", "ok", "=", "mips_expand_vec_perm_const_1", "(", "&", "d", ")", ";", "}", "return", "ok", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VECTORIZE_VEC_PERM_CONST", "."], "TS_V_token": ["mips", "0", "0", "2", "1", "1", "2", "3", "2", "0", "1", "1", "1", "2", "3", "3"], "File": "mips1", "Func": "mips_vectorize_vec_perm_const", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10275, "Length": 466, "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", ")", ";", "}", "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"], "File": "MipsISelLowering (2)5", "Func": "PerformDAGCombine", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10276, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_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": ["arm", "1"], "File": "arm", "Func": "arm_sched_variable_issue", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10277, "Length": 69, "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", "CSR_AArch64_NoRegs_LR_RegMask", ";", "if", "(", "CC", "==", "CallingConv", "::", "AnyReg", ")", "return", "SCS", "?", "CSR_AArch64_AllRegs_SCS_RegMask", ":", "CSR_AArch64_AllRegs_RegMask", ";", "if", "(", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "SCS", ")", "report_fatal_error", "(", "\"ShadowCallStack attribute not supported on Darwin.\"", ")", ";", "return", "getDarwinCallPreservedMask", "(", "MF", ",", "CC", ")", ";", "}", "if", "(", "CC", "==", "CallingConv", "::", "AArch64_VectorCall", ")", "return", "SCS", "?", "CSR_AArch64_AAVPCS_SCS_RegMask", ":", "CSR_AArch64_AAVPCS_RegMask", ";", "if", "(", "CC", "==", "CallingConv", "::", "AArch64_SVE_VectorCall", ")", "return", "SCS", "?", "CSR_AArch64_SVE_AAPCS_SCS_RegMask", ":", "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", "::", "SwiftTail", ")", "{", "if", "(", "SCS", ")", "report_fatal_error", "(", "\"ShadowCallStack attribute not supported with swifttail\"", ")", ";", "return", "CSR_AArch64_AAPCS_SwiftTail_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", "\"ShadowCallStack attribute not supported on Darwin.\"", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "\"ShadowCallStack attribute not supported with swifttail\"", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64RegisterInfo26", "Func": "getCallPreservedMask", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10278, "Length": 225, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86ATTAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "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", "'b'", ":", "case", "'h'", ":", "case", "'w'", ":", "case", "'k'", ":", "case", "'q'", ":", "break", ";", "case", "'P'", ":", "printOperand", "(", "MI", ",", "OpNo", ",", "\"mem\"", ")", ";", "return", "false", ";", "}", "}", "printMemReference", "(", "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": ["X86", "X86", "0", "1", "0", "0", "\"mem\""], "File": "X86ATTAsmPrinter1", "Func": "PrintAsmMemoryOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10279, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_vector_duplicate_value", "(", "machine_mode", "mode", ",", "rtx", "target", ",", "rtx", "val", ")", "{", "bool", "ok", ";", "rtx_insn", "*", "insn", ";", "rtx", "dup", ";", "dup", "=", "gen_rtx_VEC_DUPLICATE", "(", "mode", ",", "val", ")", ";", "insn", "=", "emit_insn", "(", "gen_rtx_SET", "(", "target", ",", "dup", ")", ")", ";", "if", "(", "recog_memoized", "(", "insn", ")", "<", "0", ")", "{", "rtx_insn", "*", "seq", ";", "start_sequence", "(", ")", ";", "XEXP", "(", "dup", ",", "0", ")", "=", "force_reg", "(", "GET_MODE_INNER", "(", "mode", ")", ",", "val", ")", ";", "seq", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "if", "(", "seq", ")", "emit_insn_before", "(", "seq", ",", "insn", ")", ";", "ok", "=", "recog_memoized", "(", "insn", ")", ">=", "0", ";", "gcc_assert", "(", "ok", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "ix86_expand_vector_init_duplicate", ".", "Tries", "to", "fill", "target", "with", "val", "via", "vec_duplicate", "."], "TS_V_token": ["i386", "0", "0", "0"], "File": "i3865", "Func": "ix86_vector_duplicate_value", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10280, "Length": 120, "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": ["X86"], "File": "X86TargetTransformInfo21", "Func": "forceScalarizeMaskedScatter", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10281, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"ARM A15 S->D optimizer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"ARM A15 S->D optimizer\""], "File": "A15SDOptimizer1", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10282, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_expand_compare_and_swap", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "bval", ",", "rval", ",", "mem", ",", "oldval", ",", "newval", ",", "is_weak", ",", "mod_s", ",", "mod_f", ",", "x", ";", "machine_mode", "mode", ",", "cmp_mode", ";", "rtx", "(", "*", "gen", ")", "(", "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", ")", ";", "cmp_mode", "=", "mode", ";", "if", "(", "INTVAL", "(", "mod_f", ")", "==", "MEMMODEL_ACQUIRE", "&&", "INTVAL", "(", "mod_s", ")", "==", "MEMMODEL_RELEASE", ")", "mod_s", "=", "GEN_INT", "(", "MEMMODEL_ACQ_REL", ")", ";", "switch", "(", "mode", ")", "{", "case", "QImode", ":", "case", "HImode", ":", "cmp_mode", "=", "SImode", ";", "rval", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "oldval", "=", "convert_modes", "(", "SImode", ",", "mode", ",", "oldval", ",", "true", ")", ";", "case", "SImode", ":", "case", "DImode", ":", "if", "(", "!", "aarch64_plus_operand", "(", "oldval", ",", "mode", ")", ")", "oldval", "=", "force_reg", "(", "cmp_mode", ",", "oldval", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "switch", "(", "mode", ")", "{", "case", "QImode", ":", "gen", "=", "gen_atomic_compare_and_swapqi_1", ";", "break", ";", "case", "HImode", ":", "gen", "=", "gen_atomic_compare_and_swaphi_1", ";", "break", ";", "case", "SImode", ":", "gen", "=", "gen_atomic_compare_and_swapsi_1", ";", "break", ";", "case", "DImode", ":", "gen", "=", "gen_atomic_compare_and_swapdi_1", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "emit_insn", "(", "gen", "(", "rval", ",", "mem", ",", "oldval", ",", "newval", ",", "is_weak", ",", "mod_s", ",", "mod_f", ")", ")", ";", "if", "(", "mode", "==", "QImode", "||", "mode", "==", "HImode", ")", "emit_move_insn", "(", "operands", "[", "1", "]", ",", "gen_lowpart", "(", "mode", ",", "rval", ")", ")", ";", "x", "=", "gen_rtx_REG", "(", "CCmode", ",", "CC_REGNUM", ")", ";", "x", "=", "gen_rtx_EQ", "(", "SImode", ",", "x", ",", "const0_rtx", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "bval", ",", "x", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "compare", "and", "swap", "pattern", "."], "TS_V_token": ["aarch64", "0", "1", "2", "3", "4", "5", "6", "7", "1"], "File": "aarch642", "Func": "aarch64_expand_compare_and_swap", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10283, "Length": 339, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_check_avx_upper_stores", "(", "rtx", "dest", ",", "const_rtx", ",", "void", "*", "data", ")", "{", "if", "(", "ix86_check_avx_upper_register", "(", "dest", ")", ")", "{", "bool", "*", "used", "=", "(", "bool", "*", ")", "data", ";", "*", "used", "=", "true", ";", "}", "}", ""], "natrual_language": ["Check", "if", "a", "256bit", "or", "512bit", "AVX", "register", "is", "referenced", "in", "stores", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_check_avx_upper_stores", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10284, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "sh_handle_trap_exit_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", ",", "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", ";", "}", "else", "if", "(", "TREE_CODE", "(", "TREE_VALUE", "(", "args", ")", ")", "!=", "INTEGER_CST", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qs attribute argument not an \"", "\"integer constant\"", ",", "IDENTIFIER_POINTER", "(", "name", ")", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "an", "``", "trap_exit", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["sh", "\"%qs attribute only applies to functions\"", "\"%qs attribute argument not an \"", "\"integer constant\""], "File": "sh3", "Func": "sh_handle_trap_exit_attribute", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10285, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"AArch64 branch relaxation pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64", "\"AArch64 branch relaxation pass\""], "File": "AArch64BranchRelaxation1", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10286, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCInstrInfo", "::", "insertNoop", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "unsigned", "Directive", "=", "Subtarget", ".", "getMcpu", "(", ")", ";", "unsigned", "Opcode", ";", "switch", "(", "Directive", ")", "{", "default", ":", "Opcode", "=", "PPC", "::", "NOP", ";", "break", ";", "case", "PPC", "::", "MCPU_PWR6", ":", "Opcode", "=", "PPC", "::", "NOP_GT_PWR6", ";", "break", ";", "case", "PPC", "::", "MCPU_PWR7", ":", "Opcode", "=", "PPC", "::", "NOP_GT_PWR7", ";", "break", ";", "case", "PPC", "::", "MCPU_PWR8", ":", "Opcode", "=", "PPC", "::", "NOP_GT_PWR7", ";", "break", ";", "case", "PPC", "::", "MCPU_PWR9", ":", "Opcode", "=", "PPC", "::", "NOP_GT_PWR7", ";", "break", ";", "}", "DebugLoc", "DL", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opcode", ")", ")", ";", "}", ""], "natrual_language": ["Insert", "a", "noop", "into", "the", "instruction", "stream", "at", "the", "specified", "point", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::NOP", "PPC::MCPU_PWR6", "PPC::NOP_GT_PWR6", "PPC::MCPU_PWR7", "PPC::NOP_GT_PWR7", "PPC::MCPU_PWR8", "PPC::NOP_GT_PWR7", "PPC::MCPU_PWR9", "PPC::NOP_GT_PWR7"], "File": "PPCInstrInfo31", "Func": "insertNoop", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10287, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "LC2200RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "LC2200Subtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "LC2200Subtarget", ">", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "Subtarget", ".", "getFrameLowering", "(", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "LC2200", "::", "fp", ":", "LC2200", "::", "sp", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["LC2200", "LC2200", "LC2200", "LC2200", "LC2200::fp", "LC2200::sp"], "File": "LC2200RegisterInfo", "Func": "getFrameRegister", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10288, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mt_return_addr_rtx", "(", "int", "count", ")", "{", "if", "(", "count", "!=", "0", ")", "return", "NULL_RTX", ";", "return", "get_hard_reg_initial_val", "(", "Pmode", ",", "GPR_LINK", ")", ";", "}", ""], "natrual_language": ["Implement", "RETURN_ADDR_RTX", "."], "TS_V_token": ["mt", "0"], "File": "mt", "Func": "mt_return_addr_rtx", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10289, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "VariantKind", "getKind", "(", ")", "const", "{", "return", "Kind", ";", "}", ""], "natrual_language": ["Returns", "the", "Kind", "of", "lane", "offset", "."], "TS_V_token": ["AArch64"], "File": "AArch64MCExpr (2)", "Func": "getKind", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10290, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_handle_struct_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", "ATTRIBUTE_UNUSED", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add_attrs", ")", "{", "tree", "*", "type", "=", "NULL", ";", "if", "(", "DECL_P", "(", "*", "node", ")", ")", "{", "if", "(", "TREE_CODE", "(", "*", "node", ")", "==", "TYPE_DECL", ")", "type", "=", "&", "TREE_TYPE", "(", "*", "node", ")", ";", "}", "else", "type", "=", "node", ";", "if", "(", "!", "(", "type", "&&", "(", "TREE_CODE", "(", "*", "type", ")", "==", "RECORD_TYPE", "||", "TREE_CODE", "(", "*", "type", ")", "==", "UNION_TYPE", ")", ")", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qs attribute ignored\"", ",", "IDENTIFIER_POINTER", "(", "name", ")", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "else", "if", "(", "(", "is_attribute_p", "(", "\"ms_struct\"", ",", "name", ")", "&&", "lookup_attribute", "(", "\"gcc_struct\"", ",", "TYPE_ATTRIBUTES", "(", "*", "type", ")", ")", ")", "||", "(", "(", "is_attribute_p", "(", "\"gcc_struct\"", ",", "name", ")", "&&", "lookup_attribute", "(", "\"ms_struct\"", ",", "TYPE_ATTRIBUTES", "(", "*", "type", ")", ")", ")", ")", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qs incompatible attribute ignored\"", ",", "IDENTIFIER_POINTER", "(", "name", ")", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "a", "``", "ms_struct", "''", "or", "``", "gcc_struct", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["i386", "\"%qs attribute ignored\"", "\"ms_struct\"", "\"gcc_struct\"", "\"gcc_struct\"", "\"ms_struct\"", "\"%qs incompatible attribute ignored\""], "File": "i3863", "Func": "ix86_handle_struct_attribute", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10291, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64InstrInfo", "::", "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\"", ")", ";", "if", "(", "!", "FBB", ")", "{", "if", "(", "Cond", ".", "empty", "(", ")", ")", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "AArch64", "::", "B", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "else", "instantiateCondBranch", "(", "MBB", ",", "DL", ",", "TBB", ",", "Cond", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "=", "4", ";", "return", "1", ";", "}", "instantiateCondBranch", "(", "MBB", ",", "DL", ",", "TBB", ",", "Cond", ")", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "AArch64", "::", "B", ")", ")", ".", "addMBB", "(", "FBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "=", "8", ";", "return", "2", ";", "}", ""], "natrual_language": ["Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "."], "TS_V_token": ["AArch64", "AArch64", "\"insertBranch must not be told to insert a fallthrough\"", "AArch64::B", "4", "1", "AArch64::B", "8", "2"], "File": "AArch64InstrInfo109", "Func": "insertBranch", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10292, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CSKYFrameLowering", "::", "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": ["CSKY", "CSKY"], "File": "CSKYFrameLowering1", "Func": "hasReservedCallFrame", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10293, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcTargetMachine", "::", "SparcTargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "is64bit", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ",", "is64bit", ")", "{", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "ILP32", "architecture", "model", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc"], "File": "SparcTargetMachine3", "Func": "SparcTargetMachine", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10294, "Length": 80, "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": 10295, "Length": 176, "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", ";", "for", "(", "Module", "::", "global_iterator", "I", "=", "M", ".", "global_begin", "(", ")", ",", "E", "=", "M", ".", "global_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "!", "I", "->", "hasLocalLinkage", "(", ")", "||", "I", "->", "isThreadLocal", "(", ")", "||", "I", "->", "hasSection", "(", ")", ")", "continue", ";", "unsigned", "Alignment", "=", "I", "->", "getAlignment", "(", ")", ";", "Type", "*", "Ty", "=", "I", "->", "getType", "(", ")", "->", "getElementType", "(", ")", ";", "if", "(", "Alignment", ">", "TD", "->", "getABITypeAlignment", "(", "Ty", ")", ")", "continue", ";", "if", "(", "I", "->", "getName", "(", ")", ".", "startswith", "(", "\"llvm.\"", ")", "||", "I", "->", "getName", "(", ")", ".", "startswith", "(", "\".llvm.\"", ")", ")", "continue", ";", "if", "(", "TD", "->", "getTypeAllocSize", "(", "Ty", ")", "<", "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", "\"llvm.\"", "\".llvm.\"", "1", "1"], "File": "ARMGlobalMerge3", "Func": "doInitialization", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10296, "Length": 283, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstructionSelector", "::", "select", "(", "MachineInstr", "&", "I", ")", "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", "(", "I", ".", "isCopy", "(", ")", ")", "return", "selectCopy", "(", "I", ",", "MRI", ")", ";", "return", "true", ";", "}", "assert", "(", "I", ".", "getNumOperands", "(", ")", "==", "I", ".", "getNumExplicitOperands", "(", ")", "&&", "\"Generic instruction has unexpected implicit operands\\n\"", ")", ";", "if", "(", "selectImpl", "(", "I", ")", ")", "return", "true", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\" C++ instruction selection: \"", ";", "I", ".", "print", "(", "dbgs", "(", ")", ")", ")", ";", "if", "(", "selectLoadStoreOp", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "if", "(", "selectFrameIndexOrGep", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "if", "(", "selectConstant", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "if", "(", "selectTrunc", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "if", "(", "selectZext", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "if", "(", "selectCmp", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "if", "(", "selectUadde", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "if", "(", "selectInsert", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "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": "X86InstructionSelector3", "Func": "select", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10297, "Length": 268, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86RegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "bool", "reseveCallFrame", "=", "TFI", "->", "hasReservedCallFrame", "(", "MF", ")", ";", "int", "Opcode", "=", "I", "->", "getOpcode", "(", ")", ";", "bool", "isDestroy", "=", "Opcode", "==", "getCallFrameDestroyOpcode", "(", ")", ";", "DebugLoc", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "uint64_t", "Amount", "=", "!", "reseveCallFrame", "?", "I", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ":", "0", ";", "uint64_t", "CalleeAmt", "=", "isDestroy", "?", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ":", "0", ";", "I", "=", "MBB", ".", "erase", "(", "I", ")", ";", "if", "(", "!", "reseveCallFrame", ")", "{", "if", "(", "Amount", "==", "0", ")", "return", ";", "Amount", "=", "(", "Amount", "+", "StackAlign", "-", "1", ")", "/", "StackAlign", "*", "StackAlign", ";", "MachineInstr", "*", "New", "=", "0", ";", "if", "(", "Opcode", "==", "getCallFrameSetupOpcode", "(", ")", ")", "{", "New", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "getSUBriOpcode", "(", "Is64Bit", ",", "Amount", ")", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Opcode", "==", "getCallFrameDestroyOpcode", "(", ")", ")", ";", "Amount", "-=", "CalleeAmt", ";", "if", "(", "Amount", ")", "{", "unsigned", "Opc", "=", "getADDriOpcode", "(", "Is64Bit", ",", "Amount", ")", ";", "New", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "}", "if", "(", "New", ")", "{", "New", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "return", ";", "}", "if", "(", "Opcode", "==", "getCallFrameDestroyOpcode", "(", ")", "&&", "CalleeAmt", ")", "{", "unsigned", "Opc", "=", "getSUBriOpcode", "(", "Is64Bit", ",", "CalleeAmt", ")", ";", "MachineInstr", "*", "New", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "CalleeAmt", ")", ";", "New", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "}", ""], "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", "1", "0", "3", "3"], "File": "X86RegisterInfo34", "Func": "eliminateCallFramePseudoInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10298, "Length": 357, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "DLXDAGToDAGISel", "::", "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": ["DLX", "DLX"], "File": "DLXISelDAGToDAG", "Func": "SelectInlineAsmMemoryOperand", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10299, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_builtin_vectorization_cost", "(", "enum", "vect_cost_for_stmt", "type_of_cost", ",", "tree", "vectype", ",", "int", ")", "{", "unsigned", "elements", ";", "switch", "(", "type_of_cost", ")", "{", "case", "scalar_stmt", ":", "return", "ix86_cost", "->", "scalar_stmt_cost", ";", "case", "scalar_load", ":", "return", "ix86_cost", "->", "scalar_load_cost", ";", "case", "scalar_store", ":", "return", "ix86_cost", "->", "scalar_store_cost", ";", "case", "vector_stmt", ":", "return", "ix86_cost", "->", "vec_stmt_cost", ";", "case", "vector_load", ":", "return", "ix86_cost", "->", "vec_align_load_cost", ";", "case", "vector_store", ":", "return", "ix86_cost", "->", "vec_store_cost", ";", "case", "vec_to_scalar", ":", "return", "ix86_cost", "->", "vec_to_scalar_cost", ";", "case", "scalar_to_vec", ":", "return", "ix86_cost", "->", "scalar_to_vec_cost", ";", "case", "unaligned_load", ":", "case", "unaligned_store", ":", "return", "ix86_cost", "->", "vec_unalign_load_cost", ";", "case", "cond_branch_taken", ":", "return", "ix86_cost", "->", "cond_taken_branch_cost", ";", "case", "cond_branch_not_taken", ":", "return", "ix86_cost", "->", "cond_not_taken_branch_cost", ";", "case", "vec_perm", ":", "case", "vec_promote_demote", ":", "return", "ix86_cost", "->", "vec_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": ["i386", "2", "1"], "File": "i3864", "Func": "ix86_builtin_vectorization_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10300, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb2SizeReduce", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "TargetMachine", "&", "TM", "=", "MF", ".", "getTarget", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "Thumb2InstrInfo", "*", ">", "(", "TM", ".", "getInstrInfo", "(", ")", ")", ";", "STI", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "AttributeSet", "FnAttrs", "=", "MF", ".", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ";", "OptimizeSize", "=", "FnAttrs", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "OptimizeForSize", ")", ";", "MinimizeSize", "=", "FnAttrs", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "MinSize", ")", ";", "BlockInfo", ".", "clear", "(", ")", ";", "BlockInfo", ".", "resize", "(", "MF", ".", "getNumBlockIDs", "(", ")", ")", ";", "ReversePostOrderTraversal", "<", "MachineFunction", "*", ">", "RPOT", "(", "&", "MF", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "ReversePostOrderTraversal", "<", "MachineFunction", "*", ">", "::", "rpo_iterator", "I", "=", "RPOT", ".", "begin", "(", ")", ",", "E", "=", "RPOT", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Modified", "|=", "ReduceMBB", "(", "*", "*", "I", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM"], "File": "Thumb2SizeReduction7", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10301, "Length": 170, "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": ["ARM"], "File": "ARMISelLowering103", "Func": "supportSplitCSR", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10302, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "expand", "(", "function_expander", "&", "e", ")", "const", "override", "{", "return", "e", ".", "use_exact_insn", "(", "CODE_FOR_aarch64_wrffr", ")", ";", "}", ""], "natrual_language": ["Expand", "the", "call", "and", "return", "its", "lhs", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins-base3", "Func": "expand", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10303, "Length": 19, "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", "(", ")", ")", "{", "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", ")", ")", "return", "false", ";", "ArgInfo", "OrigArg", "(", "VRegs", "[", "Idx", "]", ",", "Arg", ".", "getType", "(", ")", ")", ";", "setArgFlags", "(", "OrigArg", ",", "Idx", "+", "AttributeList", "::", "FirstArgIndex", ",", "DL", ",", "F", ")", ";", "if", "(", "!", "splitToValueTypes", "(", "OrigArg", ",", "SplitArgs", ",", "DL", ",", "MRI", ",", "[", "&", "]", "(", "ArrayRef", "<", "unsigned", ">", "Regs", ")", "{", "MIRBuilder", ".", "buildMerge", "(", "VRegs", "[", "Idx", "]", ",", "Regs", ")", ";", "}", ")", ")", "return", "false", ";", "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", "X86"], "File": "X86CallLowering29", "Func": "lowerFormalArguments", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10304, "Length": 303, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_split_copysign_const", "(", "rtx", "operands", "[", "]", ")", "{", "machine_mode", "mode", ",", "vmode", ";", "rtx", "dest", ",", "op0", ",", "mask", ",", "x", ";", "dest", "=", "operands", "[", "0", "]", ";", "op0", "=", "operands", "[", "1", "]", ";", "mask", "=", "operands", "[", "3", "]", ";", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "vmode", "=", "GET_MODE", "(", "mask", ")", ";", "dest", "=", "simplify_gen_subreg", "(", "vmode", ",", "dest", ",", "mode", ",", "0", ")", ";", "x", "=", "gen_rtx_AND", "(", "vmode", ",", "dest", ",", "mask", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "x", ")", ")", ";", "if", "(", "op0", "!=", "CONST0_RTX", "(", "vmode", ")", ")", "{", "x", "=", "gen_rtx_IOR", "(", "vmode", ",", "dest", ",", "op0", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "x", ")", ")", ";", "}", "}", ""], "natrual_language": ["Deconstruct", "a", "copysign", "operation", "into", "bit", "masks", ".", "Operand", "0", "is", "known", "to", "be", "a", "constant", ",", "and", "so", "has", "already", "been", "expanded", "into", "a", "vector", "constant", "."], "TS_V_token": ["i386", "0", "1", "3", "0"], "File": "i3865", "Func": "ix86_split_copysign_const", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10305, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "pa_insn_refs_are_delayed", "(", "rtx_insn", "*", "insn", ")", "{", "return", "(", "(", "NONJUMP_INSN_P", "(", "insn", ")", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "SEQUENCE", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "USE", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "CLOBBER", "&&", "get_attr_type", "(", "insn", ")", "==", "TYPE_MILLI", ")", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "references", "for", "INSN", "are", "delayed", ".", "Millicode", "insns", "are", "actually", "function", "calls", "with", "some", "special", "constraints", "on", "arguments", "and", "register", "usage", ".", "Millicode", "calls", "always", "expect", "their", "arguments", "in", "the", "integer", "argument", "registers", ",", "and", "always", "return", "their", "result", "in", "%", "r29", "(", "ret1", ")", ".", "They", "are", "expected", "to", "clobber", "their", "arguments", ",", "%", "r1", ",", "%", "r29", ",", "and", "the", "return", "pointer", "which", "is", "%", "r31", "on", "32-bit", "and", "%", "r2", "on", "64-bit", ",", "and", "nothing", "else", ".", "This", "function", "tells", "reorg", "that", "the", "references", "to", "arguments", "and", "millicode", "calls", "do", "not", "appear", "to", "happen", "until", "after", "the", "millicode", "call", ".", "This", "allows", "reorg", "to", "put", "insns", "which", "set", "the", "argument", "registers", "into", "the", "delay", "slot", "of", "the", "millicode", "call", "--", "thus", "they", "act", "more", "like", "traditional", "CALL_INSNs", ".", "Note", "we", "can", "not", "consider", "side", "effects", "of", "the", "insn", "to", "be", "delayed", "because", "the", "branch", "and", "link", "insn", "will", "clobber", "the", "return", "pointer", ".", "If", "we", "happened", "to", "use", "the", "return", "pointer", "in", "the", "delay", "slot", "of", "the", "call", ",", "then", "we", "lose", ".", "get_attr_type", "will", "try", "to", "recognize", "the", "given", "insn", ",", "so", "make", "sure", "to", "filter", "out", "things", "it", "will", "not", "accept", "--", "SEQUENCE", ",", "USE", "and", "CLOBBER", "insns", "in", "particular", "."], "TS_V_token": ["pa"], "File": "pa", "Func": "pa_insn_refs_are_delayed", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10306, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "strip_salt", "(", "rtx", "x", ")", "{", "rtx", "search", "=", "x", ";", "if", "(", "GET_CODE", "(", "search", ")", "==", "CONST", ")", "search", "=", "XEXP", "(", "search", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "search", ")", "==", "UNSPEC", "&&", "XINT", "(", "search", ",", "1", ")", "==", "UNSPEC_SALT_ADDR", ")", "x", "=", "XVECEXP", "(", "search", ",", "0", ",", "0", ")", ";", "return", "x", ";", "}", ""], "natrual_language": ["If", "X", "is", "an", "UNSPEC_SALT_ADDR", "expression", ",", "return", "the", "address", "that", "it", "wraps", ",", "otherwise", "return", "X", "itself", "."], "TS_V_token": ["aarch64", "0", "1", "0", "0"], "File": "aarch641", "Func": "strip_salt", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10307, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_evpc_neon_vtbl", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "rtx", "rperm", "[", "MAX_VECT_LEN", "]", ",", "sel", ";", "machine_mode", "vmode", "=", "d", "->", "vmode", ";", "unsigned", "int", "i", ",", "nelt", "=", "d", "->", "perm", ".", "length", "(", ")", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "if", "(", "vmode", "!=", "V8QImode", "&&", "vmode", "!=", "V16QImode", ")", "return", "false", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "rperm", "[", "i", "]", "=", "GEN_INT", "(", "d", "->", "perm", "[", "i", "]", ")", ";", "sel", "=", "gen_rtx_CONST_VECTOR", "(", "vmode", ",", "gen_rtvec_v", "(", "nelt", ",", "rperm", ")", ")", ";", "sel", "=", "force_reg", "(", "vmode", ",", "sel", ")", ";", "arm_expand_vec_perm_1", "(", "d", "->", "target", ",", "d", "->", "op0", ",", "d", "->", "op1", ",", "sel", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["The", "NEON", "VTBL", "instruction", "is", "a", "fully", "variable", "permuation", "that", "'s", "even", "stronger", "than", "what", "we", "expose", "via", "VEC_PERM_EXPR", ".", "What", "it", "does", "n't", "do", "is", "mask", "the", "index", "operand", "as", "VEC_PERM_EXPR", "requires", ".", "Therefore", "we", "can", "do", "slightly", "better", "by", "expanding", "this", "as", "a", "constant", "where", "we", "do", "n't", "have", "to", "apply", "a", "mask", "."], "TS_V_token": ["arm", "0"], "File": "arm", "Func": "arm_evpc_neon_vtbl", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10308, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_conditional_register_usage", "(", "void", ")", "{", "int", "i", ",", "c_mask", ";", "if", "(", "cfun", "&&", "cfun", "->", "machine", "->", "no_caller_saved_registers", ")", "for", "(", "i", "=", "0", ";", "i", "<", "FIRST_PSEUDO_REGISTER", ";", "i", "++", ")", "if", "(", "!", "fixed_regs", "[", "i", "]", "&&", "!", "ix86_function_value_regno_p", "(", "i", ")", ")", "call_used_regs", "[", "i", "]", "=", "0", ";", "if", "(", "!", "TARGET_64BIT", ")", "{", "for", "(", "i", "=", "FIRST_REX_INT_REG", ";", "i", "<=", "LAST_REX_INT_REG", ";", "i", "++", ")", "CLEAR_HARD_REG_BIT", "(", "accessible_reg_set", ",", "i", ")", ";", "for", "(", "i", "=", "FIRST_REX_SSE_REG", ";", "i", "<=", "LAST_REX_SSE_REG", ";", "i", "++", ")", "CLEAR_HARD_REG_BIT", "(", "accessible_reg_set", ",", "i", ")", ";", "for", "(", "i", "=", "FIRST_EXT_REX_SSE_REG", ";", "i", "<=", "LAST_EXT_REX_SSE_REG", ";", "i", "++", ")", "CLEAR_HARD_REG_BIT", "(", "accessible_reg_set", ",", "i", ")", ";", "}", "c_mask", "=", "CALL_USED_REGISTERS_MASK", "(", "TARGET_64BIT_MS_ABI", ")", ";", "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", ")", "accessible_reg_set", "&=", "~", "reg_class_contents", "[", "MMX_REGS", "]", ";", "if", "(", "!", "TARGET_SSE", ")", "accessible_reg_set", "&=", "~", "reg_class_contents", "[", "ALL_SSE_REGS", "]", ";", "if", "(", "!", "(", "TARGET_80387", "||", "TARGET_FLOAT_RETURNS_IN_80387", ")", ")", "accessible_reg_set", "&=", "~", "reg_class_contents", "[", "FLOAT_REGS", "]", ";", "if", "(", "!", "TARGET_AVX512F", ")", "{", "for", "(", "i", "=", "FIRST_EXT_REX_SSE_REG", ";", "i", "<=", "LAST_EXT_REX_SSE_REG", ";", "i", "++", ")", "CLEAR_HARD_REG_BIT", "(", "accessible_reg_set", ",", "i", ")", ";", "accessible_reg_set", "&=", "~", "reg_class_contents", "[", "ALL_MASK_REGS", "]", ";", "}", "}", ""], "natrual_language": ["Update", "register", "usage", "after", "having", "seen", "the", "compiler", "flags", "."], "TS_V_token": ["i386", "0", "0", "0", "1"], "File": "i386", "Func": "ix86_conditional_register_usage", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10309, "Length": 293, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcTargetMachine", "::", "SparcTargetMachine", "(", "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", ",", "bool", "is64bit", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "is64bit", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "RM", ")", ",", "getEffectiveSparcCodeModel", "(", "CM", ",", "getEffectiveRelocModel", "(", "RM", ")", ",", "is64bit", ",", "JIT", ")", ",", "OL", ")", ",", "TLOF", "(", "std", "::", "make_unique", "<", "SparcELFTargetObjectFile", ">", "(", ")", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ",", "is64bit", ")", ",", "is64Bit", "(", "is64bit", ")", "{", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "ILP32", "architecture", "model", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc", "Sparc"], "File": "SparcTargetMachine53", "Func": "SparcTargetMachine", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10310, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64MCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "verifyInstructionPredicates", "(", "MI", ",", "computeAvailableFeatures", "(", "STI", ".", "getFeatureBits", "(", ")", ")", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "TLSDESCCALL", ")", "{", "MCFixupKind", "Fixup", "=", "MCFixupKind", "(", "AArch64", "::", "fixup_aarch64_tlsdesc_call", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "MI", ".", "getOperand", "(", "0", ")", ".", "getExpr", "(", ")", ",", "Fixup", ")", ")", ";", "return", ";", "}", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "CompilerBarrier", "||", "MI", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "SPACE", ")", "{", "return", ";", "}", "uint64_t", "Binary", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "support", "::", "endian", "::", "write", "<", "uint32_t", ">", "(", "OS", ",", "Binary", ",", "support", "::", "little", ")", ";", "++", "MCNumEmitted", ";", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::TLSDESCCALL", "AArch64::fixup_aarch64_tlsdesc_call", "0", "0", "AArch64::CompilerBarrier", "AArch64::SPACE", "support::endian", "support::little"], "File": "AArch64MCCodeEmitter16", "Func": "encodeInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10311, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "SystemZRegisterInfo", "::", "getMatchingSuperRegClass", "(", "const", "TargetRegisterClass", "*", "A", ",", "const", "TargetRegisterClass", "*", "B", ",", "unsigned", "Idx", ")", "const", "{", "switch", "(", "Idx", ")", "{", "default", ":", "return", "0", ";", "case", "SystemZ", "::", "subreg_32bit", ":", "if", "(", "B", "==", "SystemZ", "::", "ADDR32RegisterClass", ")", "return", "A", "->", "getSize", "(", ")", "==", "8", "?", "SystemZ", "::", "ADDR64RegisterClass", ":", "0", ";", "return", "A", ";", "}", "}", ""], "natrual_language": ["getMatchingSuperRegClass", "-", "Return", "a", "subclass", "of", "the", "specified", "register", "class", "A", "so", "that", "each", "register", "in", "it", "has", "a", "sub-register", "of", "the", "specified", "sub-register", "index", "which", "is", "in", "the", "specified", "register", "class", "B", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "SystemZ::subreg_32bit", "SystemZ::ADDR32RegisterClass", "8", "SystemZ::ADDR64RegisterClass", "0"], "File": "SystemZRegisterInfo47", "Func": "getMatchingSuperRegClass", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10312, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_xcoff_asm_output_aligned_decl_common", "(", "FILE", "*", "stream", ",", "tree", "decl", "ATTRIBUTE_UNUSED", ",", "const", "char", "*", "name", ",", "unsigned", "HOST_WIDE_INT", "size", ",", "unsigned", "int", "align", ")", "{", "unsigned", "int", "align2", "=", "2", ";", "if", "(", "align", "==", "0", ")", "align", "=", "DATA_ABI_ALIGNMENT", "(", "TREE_TYPE", "(", "decl", ")", ",", "DECL_ALIGN", "(", "decl", ")", ")", ";", "if", "(", "align", ">", "32", ")", "align2", "=", "floor_log2", "(", "align", "/", "BITS_PER_UNIT", ")", ";", "else", "if", "(", "size", ">", "4", ")", "align2", "=", "3", ";", "if", "(", "!", "DECL_COMMON", "(", "decl", ")", ")", "{", "in_section", "=", "NULL", ";", "if", "(", "TREE_PUBLIC", "(", "decl", ")", "&&", "DECL_THREAD_LOCAL_P", "(", "decl", ")", ")", "{", "fputs", "(", "GLOBAL_ASM_OP", ",", "stream", ")", ";", "assemble_name", "(", "stream", ",", "name", ")", ";", "fputc", "(", "'\\n'", ",", "stream", ")", ";", "}", "fputs", "(", "\"\\t.csect \"", ",", "stream", ")", ";", "assemble_name", "(", "stream", ",", "name", ")", ";", "fprintf", "(", "stream", ",", "\",%u\\n\"", ",", "align2", ")", ";", "ASM_DECLARE_OBJECT_NAME", "(", "stream", ",", "name", ",", "decl", ")", ";", "ASM_OUTPUT_SKIP", "(", "stream", ",", "size", "?", "size", ":", "1", ")", ";", "return", ";", "}", "if", "(", "TREE_PUBLIC", "(", "decl", ")", ")", "{", "fprintf", "(", "stream", ",", "\"\\t.comm %s,\"", "HOST_WIDE_INT_PRINT_UNSIGNED", "\",%u\"", ",", "name", ",", "size", ",", "align2", ")", ";", "if", "(", "decl", "!=", "NULL", ")", "fputs", "(", "rs6000_xcoff_visibility", "(", "decl", ")", ",", "stream", ")", ";", "putc", "(", "'\\n'", ",", "stream", ")", ";", "}", "else", "fprintf", "(", "stream", ",", "\"\\t.lcomm %s,\"", "HOST_WIDE_INT_PRINT_UNSIGNED", "\",%s,%u\\n\"", ",", "(", "*", "targetm", ".", "strip_name_encoding", ")", "(", "name", ")", ",", "size", ",", "name", ",", "align2", ")", ";", "}", ""], "natrual_language": ["Output", "assembly", "language", "to", "define", "a", "symbol", "as", "COMMON", "from", "a", "DECL", ",", "possibly", "with", "visibility", "."], "TS_V_token": ["rs6000", "2", "0", "32", "4", "3", "\"\\t.csect \"", "\",%u\\n\"", "1", "\"\\t.comm %s,\"", "\",%u\"", "\"\\t.lcomm %s,\"", "\",%s,%u\\n\""], "File": "rs6000", "Func": "rs6000_xcoff_asm_output_aligned_decl_common", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10313, "Length": 246, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "loongarch_legitimize_address", "(", "rtx", "x", ",", "rtx", "oldx", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ")", "{", "rtx", "base", ",", "addr", ";", "HOST_WIDE_INT", "offset", ";", "if", "(", "loongarch_tls_symbol_p", "(", "x", ")", ")", "return", "loongarch_legitimize_tls_address", "(", "x", ")", ";", "loongarch_split_plus", "(", "x", ",", "&", "base", ",", "&", "offset", ")", ";", "if", "(", "offset", "!=", "0", ")", "{", "if", "(", "!", "loongarch_valid_base_register_p", "(", "base", ",", "mode", ",", "false", ")", ")", "base", "=", "copy_to_mode_reg", "(", "Pmode", ",", "base", ")", ";", "addr", "=", "loongarch_add_offset", "(", "NULL", ",", "base", ",", "offset", ")", ";", "return", "loongarch_force_address", "(", "addr", ",", "mode", ")", ";", "}", "return", "x", ";", "}", ""], "natrual_language": ["This", "function", "is", "used", "to", "implement", "LEGITIMIZE_ADDRESS", ".", "If", "X", "can", "be", "legitimized", "in", "a", "way", "that", "the", "generic", "machinery", "might", "not", "expect", ",", "return", "a", "new", "address", ",", "otherwise", "return", "NULL", ".", "MODE", "is", "the", "mode", "of", "the", "memory", "being", "accessed", "."], "TS_V_token": ["loongarch", "0"], "File": "loongarch", "Func": "loongarch_legitimize_address", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10314, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "canInsertSelect", "(", "const", "MachineBasicBlock", "&", "MBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "unsigned", "DstReg", ",", "unsigned", "TrueReg", ",", "unsigned", "FalseReg", ",", "int", "&", "CondCycles", ",", "int", "&", "TrueCycles", ",", "int", "&", "FalseCycles", ")", "const", "{", "if", "(", "Cond", ".", "size", "(", ")", "!=", "2", ")", "return", "false", ";", "if", "(", "Cond", "[", "1", "]", ".", "getReg", "(", ")", "==", "PPC", "::", "CTR", "||", "Cond", "[", "1", "]", ".", "getReg", "(", ")", "==", "PPC", "::", "CTR8", ")", "return", "false", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "RI", ".", "getCommonSubClass", "(", "MRI", ".", "getRegClass", "(", "TrueReg", ")", ",", "MRI", ".", "getRegClass", "(", "FalseReg", ")", ")", ";", "if", "(", "!", "RC", ")", "return", "false", ";", "if", "(", "!", "PPC", "::", "GPRCRegClass", ".", "hasSubClassEq", "(", "RC", ")", "&&", "!", "PPC", "::", "GPRC_NOR0RegClass", ".", "hasSubClassEq", "(", "RC", ")", "&&", "!", "PPC", "::", "G8RCRegClass", ".", "hasSubClassEq", "(", "RC", ")", "&&", "!", "PPC", "::", "G8RC_NOX0RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "return", "false", ";", "CondCycles", "=", "1", ";", "TrueCycles", "=", "1", ";", "FalseCycles", "=", "1", ";", "return", "true", ";", "}", ""], "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": ["PowerPC", "PPC", "2", "1", "PPC::CTR", "1", "PPC::CTR8", "PPC::GPRCRegClass", "PPC::GPRC_NOR0RegClass", "PPC::G8RCRegClass", "PPC::G8RC_NOX0RegClass", "1", "1", "1"], "File": "PPCInstrInfo127", "Func": "canInsertSelect", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10315, "Length": 191, "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'", ":", "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 (2)1", "Func": "getConstraintType", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10316, "Length": 100, "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", ".", "getSubtarget", "(", ")", ".", "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": "AArch64RegisterInfo47", "Func": "needsFrameBaseReg", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10317, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "indirect_thunk_prefix", "indirect_thunk_need_prefix", "(", "rtx_insn", "*", "insn", ")", "{", "enum", "indirect_thunk_prefix", "need_prefix", ";", "if", "(", "ix86_bnd_prefixed_insn_p", "(", "insn", ")", ")", "need_prefix", "=", "indirect_thunk_prefix_bnd", ";", "else", "if", "(", "(", "cfun", "->", "machine", "->", "indirect_branch_type", "==", "indirect_branch_thunk_extern", ")", "&&", "ix86_notrack_prefixed_insn_p", "(", "insn", ")", ")", "{", "need_prefix", "=", "indirect_thunk_prefix_nt", ";", "}", "else", "need_prefix", "=", "indirect_thunk_prefix_none", ";", "return", "need_prefix", ";", "}", ""], "natrual_language": ["Return", "the", "prefix", "needed", "for", "an", "indirect", "branch", "INSN", "."], "TS_V_token": ["i386"], "File": "i3867", "Func": "indirect_thunk_need_prefix", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10318, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 Discriminate Memory Operands\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 Discriminate Memory Operands\""], "File": "X86DiscriminateMemOps (2)", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10319, "Length": 11, "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": 10320, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getPrefetchDistance", "(", ")", "const", "override", "{", "return", "2000", ";", "}", ""], "natrual_language": ["Return", "the", "preferred", "prefetch", "distance", "in", "terms", "of", "instructions", "."], "TS_V_token": ["SystemZ", "2000"], "File": "SystemZTargetTransformInfo20", "Func": "getPrefetchDistance", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10321, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleDAGInstrs", "*", "createPostMachineScheduler", "(", "MachineSchedContext", "*", "C", ")", "const", "override", "{", "ScheduleDAGMI", "*", "DAG", "=", "createGenericSchedPostRA", "(", "C", ")", ";", "const", "ARMSubtarget", "&", "ST", "=", "C", "->", "MF", "->", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "if", "(", "ST", ".", "hasFusion", "(", ")", ")", "DAG", "->", "addMutation", "(", "createARMMacroFusionDAGMutation", "(", ")", ")", ";", "return", "DAG", ";", "}", ""], "natrual_language": ["Similar", "to", "createMachineScheduler", "but", "used", "when", "postRA", "machine", "scheduling", "is", "enabled", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "ARMTargetMachine", "Func": "createPostMachineScheduler", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10322, "Length": 57, "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": 10323, "Length": 249, "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": 10324, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "ARMElfTargetObjectFile", "::", "getTTypeGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "unsigned", "Encoding", ",", "Mangler", "&", "Mang", ",", "const", "TargetMachine", "&", "TM", ",", "MachineModuleInfo", "*", "MMI", ",", "MCStreamer", "&", "Streamer", ")", "const", "{", "if", "(", "TM", ".", "getMCAsmInfo", "(", ")", "->", "getExceptionHandlingType", "(", ")", "!=", "ExceptionHandling", "::", "ARM", ")", "return", "TargetLoweringObjectFileELF", "::", "getTTypeGlobalReference", "(", "GV", ",", "Encoding", ",", "Mang", ",", "TM", ",", "MMI", ",", "Streamer", ")", ";", "assert", "(", "Encoding", "==", "DW_EH_PE_absptr", "&&", "\"Can handle absptr encoding only\"", ")", ";", "return", "MCSymbolRefExpr", "::", "create", "(", "TM", ".", "getSymbol", "(", "GV", ",", "Mang", ")", ",", "MCSymbolRefExpr", "::", "VK_ARM_TARGET2", ",", "getContext", "(", ")", ")", ";", "}", ""], "natrual_language": ["The", "mach-o", "version", "of", "this", "method", "defaults", "to", "returning", "a", "stub", "reference", "."], "TS_V_token": ["ARM", "ARM", "ARM", "\"Can handle absptr encoding only\"", "ARM"], "File": "ARMTargetObjectFile (2)", "Func": "getTTypeGlobalReference", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10325, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcInstrInfo", "::", "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", "==", "SP", "::", "IntRegsRegisterClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "else", "if", "(", "RC", "==", "SP", "::", "FPRegsRegisterClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDFri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "else", "if", "(", "RC", "==", "SP", "::", "DFPRegsRegisterClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDDFri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "else", "assert", "(", "0", "&&", "\"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": ["Sparc", "Sparc", "SP::IntRegsRegisterClass", "SP::LDri", "0", "SP::FPRegsRegisterClass", "SP::LDFri", "0", "SP::DFPRegsRegisterClass", "SP::LDDFri", "0", "0", "\"Can't load this register from stack slot\""], "File": "SparcInstrInfo17", "Func": "loadRegFromStackSlot", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10326, "Length": 173, "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", "(", ")", ";", "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": "X86RegisterInfo3", "Func": "getCalleeSavedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10327, "Length": 162, "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", "]", ")", ";", "AARCH64_SIMD_VREINTERPRET_BUILTINS", "return", "fold_build1", "(", "VIEW_CONVERT_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", "0", "3", "0", "1", "2"], "File": "aarch64-builtins1", "Func": "aarch64_general_fold_builtin", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10328, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc_emit_set_const32", "(", "rtx", "op0", ",", "rtx", "op1", ")", "{", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "op0", ")", ";", "rtx", "temp", ";", "if", "(", "reload_in_progress", "||", "reload_completed", ")", "temp", "=", "op0", ";", "else", "temp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "if", "(", "GET_CODE", "(", "op1", ")", "==", "CONST_INT", ")", "{", "gcc_assert", "(", "!", "small_int_operand", "(", "op1", ",", "mode", ")", "&&", "!", "const_high_operand", "(", "op1", ",", "mode", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "temp", ",", "GEN_INT", "(", "INTVAL", "(", "op1", ")", "&", "~", "(", "HOST_WIDE_INT", ")", "0x3ff", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "op0", ",", "gen_rtx_IOR", "(", "mode", ",", "temp", ",", "GEN_INT", "(", "INTVAL", "(", "op1", ")", "&", "0x3ff", ")", ")", ")", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "temp", ",", "gen_rtx_HIGH", "(", "mode", ",", "op1", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "op0", ",", "gen_rtx_LO_SUM", "(", "mode", ",", "temp", ",", "op1", ")", ")", ")", ";", "}", "}", ""], "natrual_language": ["We", "know", "it", "ca", "n't", "be", "done", "in", "one", "insn", "when", "we", "get", "here", ",", "the", "movsi", "expander", "guarentees", "this", "."], "TS_V_token": ["sparc", "0x3ff", "0x3ff"], "File": "sparc3", "Func": "sparc_emit_set_const32", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10329, "Length": 161, "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", ")", ";", "}", ""], "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": "rs60005", "Func": "emit_frame_save", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10330, "Length": 111, "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", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "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", ")", ";", "}", "}", "}", ""], "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": "AArch64AsmBackend1", "Func": "applyFixup", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10331, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "MipsRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "static", "const", "uint16_t", "ReservedGPR32", "[", "]", "=", "{", "Mips", "::", "ZERO", ",", "Mips", "::", "K0", ",", "Mips", "::", "K1", ",", "Mips", "::", "SP", "}", ";", "static", "const", "uint16_t", "ReservedGPR64", "[", "]", "=", "{", "Mips", "::", "ZERO_64", ",", "Mips", "::", "K0_64", ",", "Mips", "::", "K1_64", ",", "Mips", "::", "SP_64", "}", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "typedef", "TargetRegisterClass", "::", "const_iterator", "RegIter", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "ReservedGPR32", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedGPR32", "[", "I", "]", ")", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "ReservedGPR64", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedGPR64", "[", "I", "]", ")", ";", "if", "(", "Subtarget", ".", "hasMips64", "(", ")", ")", "{", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "AFGR64RegClass", ".", "begin", "(", ")", ",", "EReg", "=", "Mips", "::", "AFGR64RegClass", ".", "end", "(", ")", ";", "Reg", "!=", "EReg", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "}", "else", "{", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "FGR64RegClass", ".", "begin", "(", ")", ",", "EReg", "=", "Mips", "::", "FGR64RegClass", ".", "end", "(", ")", ";", "Reg", "!=", "EReg", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "}", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "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", "::", "HWR29_64", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "DSPPos", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "DSPSCount", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "DSPCarry", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "DSPEFI", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "DSPOutFlag", ")", ";", "if", "(", "Subtarget", ".", "inMips16Mode", "(", ")", ")", "{", "Reserved", ".", "set", "(", "Mips", "::", "RA", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "RA_64", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "T0", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "T1", ")", ";", "}", "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", "0", "Mips", "Mips::AFGR64RegClass", "Mips::AFGR64RegClass", "Mips::FGR64RegClass", "Mips::FGR64RegClass", "Mips", "Mips::S0", "Mips::FP", "Mips::FP_64", "Mips::HWR29", "Mips::HWR29_64", "Mips::DSPPos", "Mips::DSPSCount", "Mips::DSPCarry", "Mips::DSPEFI", "Mips::DSPOutFlag", "Mips", "Mips::RA", "Mips::RA_64", "Mips::T0", "Mips::T1", "Mips::GP", "Mips::GP_64"], "File": "MipsRegisterInfo6", "Func": "getReservedRegs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10332, "Length": 417, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FuchsiaTargetObjectFile", "::", "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": ["X86", "X86"], "File": "X86TargetObjectFile17", "Func": "Initialize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10333, "Length": 34, "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", "(", ")", "==", "MVT", "::", "i32", "?", "X86", "::", "LEA32r", ":", "X86", "::", "LEA64r", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TLI", ".", "getRegClassFor", "(", "TLI", ".", "getPointerTy", "(", ")", ")", ";", "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::LEA32r", "X86::LEA64r"], "File": "X86FastISel123", "Func": "fastMaterializeAlloca", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10334, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "cmse_nonsecure_entry_clear_before_return", "(", "void", ")", "{", "bool", "clear_vfpregs", "=", "TARGET_HARD_FLOAT", "||", "TARGET_HAVE_FPCXT_CMSE", ";", "int", "regno", ",", "maxregno", "=", "clear_vfpregs", "?", "LAST_VFP_REGNUM", ":", "IP_REGNUM", ";", "uint32_t", "padding_bits_to_clear", "=", "0", ";", "auto_sbitmap", "to_clear_bitmap", "(", "maxregno", "+", "1", ")", ";", "rtx", "r1_reg", ",", "result_rtl", ",", "clearing_reg", "=", "NULL_RTX", ";", "tree", "result_type", ";", "bitmap_clear", "(", "to_clear_bitmap", ")", ";", "bitmap_set_range", "(", "to_clear_bitmap", ",", "R0_REGNUM", ",", "NUM_ARG_REGS", ")", ";", "bitmap_set_bit", "(", "to_clear_bitmap", ",", "IP_REGNUM", ")", ";", "if", "(", "clear_vfpregs", ")", "{", "int", "float_bits", "=", "D7_VFP_REGNUM", "-", "FIRST_VFP_REGNUM", "+", "1", ";", "bitmap_set_range", "(", "to_clear_bitmap", ",", "FIRST_VFP_REGNUM", ",", "float_bits", ")", ";", "if", "(", "!", "TARGET_HAVE_FPCXT_CMSE", ")", "{", "emit_use", "(", "gen_rtx_REG", "(", "SImode", ",", "IP_REGNUM", ")", ")", ";", "bitmap_clear_bit", "(", "to_clear_bitmap", ",", "IP_REGNUM", ")", ";", "emit_use", "(", "gen_rtx_REG", "(", "SImode", ",", "4", ")", ")", ";", "bitmap_clear_bit", "(", "to_clear_bitmap", ",", "4", ")", ";", "}", "}", "for", "(", "regno", "=", "NUM_ARG_REGS", ";", "regno", "<=", "maxregno", ";", "regno", "++", ")", "{", "if", "(", "IN_RANGE", "(", "regno", ",", "FIRST_VFP_REGNUM", ",", "D7_VFP_REGNUM", ")", ")", "continue", ";", "if", "(", "IN_RANGE", "(", "regno", ",", "IP_REGNUM", ",", "PC_REGNUM", ")", ")", "continue", ";", "if", "(", "!", "callee_saved_reg_p", "(", "regno", ")", "&&", "(", "!", "IN_RANGE", "(", "regno", ",", "FIRST_VFP_REGNUM", ",", "LAST_VFP_REGNUM", ")", "||", "TARGET_HARD_FLOAT", ")", ")", "bitmap_set_bit", "(", "to_clear_bitmap", ",", "regno", ")", ";", "}", "result_type", "=", "TREE_TYPE", "(", "DECL_RESULT", "(", "current_function_decl", ")", ")", ";", "if", "(", "!", "VOID_TYPE_P", "(", "result_type", ")", ")", "{", "uint64_t", "to_clear_return_mask", ";", "result_rtl", "=", "arm_function_value", "(", "result_type", ",", "current_function_decl", ",", "0", ")", ";", "gcc_assert", "(", "REG_P", "(", "result_rtl", ")", ")", ";", "to_clear_return_mask", "=", "compute_not_to_clear_mask", "(", "result_type", ",", "result_rtl", ",", "0", ",", "&", "padding_bits_to_clear", ")", ";", "if", "(", "to_clear_return_mask", ")", "{", "gcc_assert", "(", "(", "unsigned", ")", "maxregno", "<", "sizeof", "(", "long", "long", ")", "*", "__CHAR_BIT__", ")", ";", "for", "(", "regno", "=", "R0_REGNUM", ";", "regno", "<=", "maxregno", ";", "regno", "++", ")", "{", "if", "(", "to_clear_return_mask", "&", "(", "1ULL", "<<", "regno", ")", ")", "bitmap_clear_bit", "(", "to_clear_bitmap", ",", "regno", ")", ";", "}", "}", "}", "if", "(", "padding_bits_to_clear", "!=", "0", ")", "{", "int", "to_clear_bitmap_size", "=", "SBITMAP_SIZE", "(", "(", "sbitmap", ")", "to_clear_bitmap", ")", ";", "auto_sbitmap", "to_clear_arg_regs_bitmap", "(", "to_clear_bitmap_size", ")", ";", "bitmap_clear", "(", "to_clear_arg_regs_bitmap", ")", ";", "bitmap_set_range", "(", "to_clear_arg_regs_bitmap", ",", "R1_REGNUM", ",", "NUM_ARG_REGS", "-", "1", ")", ";", "gcc_assert", "(", "bitmap_subset_p", "(", "to_clear_arg_regs_bitmap", ",", "to_clear_bitmap", ")", ")", ";", "}", "clearing_reg", "=", "gen_rtx_REG", "(", "SImode", ",", "TARGET_THUMB1", "?", "R0_REGNUM", ":", "LR_REGNUM", ")", ";", "r1_reg", "=", "gen_rtx_REG", "(", "SImode", ",", "R0_REGNUM", "+", "1", ")", ";", "cmse_clear_registers", "(", "to_clear_bitmap", ",", "&", "padding_bits_to_clear", ",", "1", ",", "r1_reg", ",", "clearing_reg", ")", ";", "}", ""], "natrual_language": ["Clear", "caller", "saved", "registers", "not", "used", "to", "pass", "return", "values", "and", "leaked", "condition", "flags", "before", "exiting", "a", "cmse_nonsecure_entry", "function", "."], "TS_V_token": ["arm", "0", "1", "1", "4", "4", "0", "0", "1ULL", "0", "1", "1", "1"], "File": "arm", "Func": "cmse_nonsecure_entry_clear_before_return", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10335, "Length": 405, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_optab_supported_p", "(", "int", "op", ",", "machine_mode", "mode1", ",", "machine_mode", ",", "optimization_type", "opt_type", ")", "{", "switch", "(", "op", ")", "{", "case", "rsqrt_optab", ":", "return", "(", "opt_type", "==", "OPTIMIZE_FOR_SPEED", "&&", "RS6000_RECIP_AUTO_RSQRTE_P", "(", "mode1", ")", ")", ";", "default", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Implement", "the", "TARGET_OPTAB_SUPPORTED_P", "hook", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_optab_supported_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10336, "Length": 43, "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", ";", "bool", "msa_p", "=", "(", "!", "might_split_p", "&&", "MSA_SUPPORTED_MODE_P", "(", "mode", ")", ")", ";", "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", "(", "msa_p", ")", "{", "if", "(", "mips_signed_immediate_p", "(", "INTVAL", "(", "addr", ".", "offset", ")", ",", "10", ",", "mips_ldst_scaled_shift", "(", "mode", ")", ")", ")", "return", "1", ";", "else", "return", "0", ";", "}", "if", "(", "TARGET_MIPS16", "&&", "!", "mips16_unextended_reference_p", "(", "mode", ",", "addr", ".", "reg", ",", "UINTVAL", "(", "addr", ".", "offset", ")", ")", ")", "return", "factor", "*", "2", ";", "return", "factor", ";", "case", "ADDRESS_LO_SUM", ":", "return", "msa_p", "?", "0", ":", "TARGET_MIPS16", "?", "factor", "*", "2", ":", "factor", ";", "case", "ADDRESS_CONST_INT", ":", "return", "msa_p", "?", "0", ":", "factor", ";", "case", "ADDRESS_SYMBOLIC", ":", "return", "msa_p", "?", "0", ":", "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", "10", "1", "0", "2", "0", "2", "0", "0", "0"], "File": "mips", "Func": "mips_address_insns", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10337, "Length": 196, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "VERegisterInfo", "::", "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", "VEFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "Register", "FrameReg", ";", "int", "Offset", ";", "Offset", "=", "TFI", "->", "getFrameIndexReference", "(", "MF", ",", "FrameIndex", ",", "FrameReg", ")", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "2", ")", ".", "getImm", "(", ")", ";", "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": ["VE", "VE", "0", "\"Unexpected\"", "VE", "2"], "File": "VERegisterInfo2", "Func": "eliminateFrameIndex", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10338, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "mangle_builtin_type", "(", "const_tree", "type", ")", "{", "if", "(", "TYPE_NAME", "(", "type", ")", "&&", "TREE_CODE", "(", "TYPE_NAME", "(", "type", ")", ")", "==", "TYPE_DECL", ")", "type", "=", "TREE_TYPE", "(", "TYPE_NAME", "(", "type", ")", ")", ";", "if", "(", "tree", "attr", "=", "lookup_sve_type_attribute", "(", "type", ")", ")", "if", "(", "tree", "id", "=", "TREE_VALUE", "(", "chain_index", "(", "2", ",", "TREE_VALUE", "(", "attr", ")", ")", ")", ")", "return", "IDENTIFIER_POINTER", "(", "id", ")", ";", "return", "NULL", ";", "}", ""], "natrual_language": ["If", "TYPE", "is", "a", "built-in", "type", "defined", "by", "the", "RVV", "ABI", ",", "return", "the", "mangled", "name", ",", "otherwise", "return", "NULL", "."], "TS_V_token": ["aarch64", "2"], "File": "aarch64-sve-builtins", "Func": "mangle_builtin_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10339, "Length": 74, "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": 10340, "Length": 118, "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": 10341, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ")", "const", "{", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "+", "7", ")", "/", "8", ";", "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": ["TOY", "7", "8", "0", "8", "0xff"], "File": "TOYAsmBackend", "Func": "applyFixup", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10342, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "crx_compute_frame", "(", "void", ")", "{", "int", "stack_alignment", "=", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ";", "int", "padding_locals", ";", "local_vars_size", "=", "get_frame_size", "(", ")", ";", "padding_locals", "=", "local_vars_size", "%", "stack_alignment", ";", "if", "(", "padding_locals", ")", "padding_locals", "=", "stack_alignment", "-", "padding_locals", ";", "local_vars_size", "+=", "padding_locals", ";", "size_for_adjusting_sp", "=", "local_vars_size", "+", "(", "ACCUMULATE_OUTGOING_ARGS", "?", "current_function_outgoing_args_size", ":", "0", ")", ";", "}", ""], "natrual_language": ["Compute", "the", "size", "of", "the", "local", "area", "and", "the", "size", "to", "be", "adjusted", "by", "the", "*", "prologue", "and", "epilogue", "."], "TS_V_token": ["crx", "0"], "File": "crx", "Func": "crx_compute_frame", "Target": "crx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10343, "Length": 56, "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": 10344, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mips_ldst_scaled_shift", "(", "machine_mode", "mode", ")", "{", "int", "shift", "=", "exact_log2", "(", "GET_MODE_UNIT_SIZE", "(", "mode", ")", ")", ";", "if", "(", "shift", "<", "0", "||", "shift", ">", "8", ")", "gcc_unreachable", "(", ")", ";", "return", "shift", ";", "}", ""], "natrual_language": ["Return", "the", "scale", "shift", "that", "applied", "to", "MSA", "LD/ST", "address", "offset", "."], "TS_V_token": ["mips", "0", "8"], "File": "mips", "Func": "mips_ldst_scaled_shift", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10345, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_attribute_takes_identifier_p", "(", "const_tree", "attr_id", ")", "{", "return", "is_attribute_p", "(", "\"altivec\"", ",", "attr_id", ")", ";", "}", ""], "natrual_language": ["Returns", "TRUE", "iff", "the", "target", "attribute", "indicated", "by", "ATTR_ID", "takes", "a", "plain", "identifier", "as", "an", "argument", ",", "so", "the", "front", "end", "should", "n't", "look", "it", "up", "."], "TS_V_token": ["rs6000", "\"altivec\""], "File": "rs6000", "Func": "rs6000_attribute_takes_identifier_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10346, "Length": 17, "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", ";", "}", ""], "natrual_language": ["Override", "generic", "scheduling", "policy", "within", "a", "region", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64Subtarget2", "Func": "overrideSchedPolicy", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10347, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsPassConfig", "::", "addIRPasses", "(", ")", "{", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "if", "(", "getMipsSubtarget", "(", ")", ".", "os16", "(", ")", ")", "addPass", "(", "createMipsOs16", "(", "getMipsTargetMachine", "(", ")", ")", ")", ";", "if", "(", "getMipsSubtarget", "(", ")", ".", "inMips16HardFloat", "(", ")", ")", "addPass", "(", "createMips16HardFloat", "(", "getMipsTargetMachine", "(", ")", ")", ")", ";", "addPass", "(", "createPartiallyInlineLibCallsPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsTargetMachine11", "Func": "addIRPasses", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10348, "Length": 61, "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", ";", "}", "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"], "File": "ARMISelLowering122", "Func": "getRegClassFor", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10349, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "processBlock", "(", "MachineBasicBlock", "&", "MBB", ")", "{", "bool", "Changed", "=", "false", ";", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ",", "IE", "=", "MBB", ".", "end", "(", ")", ";", "I", "!=", "IE", ";", "++", "I", ")", "{", "MachineInstr", "*", "MI", "=", "I", ";", "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", ")", "||", "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", ")", "||", "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": "PPCVSXCopy7", "Func": "processBlock", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10350, "Length": 438, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_setup_incoming_varargs", "(", "cumulative_args_t", "pcum_v", ",", "const", "function_arg_info", "&", "arg", ",", "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", "(", "!", "TYPE_NO_NAMED_ARGS_STDARG_P", "(", "TREE_TYPE", "(", "current_function_decl", ")", ")", "&&", "(", "nregs", "&", "1", ")", ")", "{", "int", "res", "=", "arm_needs_doubleword_align", "(", "arg", ".", "mode", ",", "arg", ".", "type", ")", ";", "if", "(", "res", "<", "0", "&&", "warn_psabi", ")", "inform", "(", "input_location", ",", "\"parameter passing for argument of \"", "\"type %qT changed in GCC 7.1\"", ",", "arg", ".", "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\"", ",", "arg", ".", "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": "arm1", "Func": "arm_setup_incoming_varargs", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10351, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_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", ";", "if", "(", "!", "ISA_HAS_LWL_LWR", ")", "bits", "=", "MIN", "(", "BITS_PER_WORD", ",", "MIN", "(", "MEM_ALIGN", "(", "src", ")", ",", "MEM_ALIGN", "(", "dest", ")", ")", ")", ";", "else", "{", "if", "(", "MEM_ALIGN", "(", "src", ")", "==", "BITS_PER_WORD", "/", "2", "&&", "MEM_ALIGN", "(", "dest", ")", "==", "BITS_PER_WORD", "/", "2", ")", "bits", "=", "BITS_PER_WORD", "/", "2", ";", "else", "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", ")", ";", "if", "(", "MEM_ALIGN", "(", "src", ")", ">=", "bits", ")", "mips_emit_move", "(", "regs", "[", "i", "]", ",", "adjust_address", "(", "src", ",", "mode", ",", "offset", ")", ")", ";", "else", "{", "rtx", "part", "=", "adjust_address", "(", "src", ",", "BLKmode", ",", "offset", ")", ";", "set_mem_size", "(", "part", ",", "delta", ")", ";", "if", "(", "!", "mips_expand_ext_as_unaligned_load", "(", "regs", "[", "i", "]", ",", "part", ",", "bits", ",", "0", ",", "0", ")", ")", "gcc_unreachable", "(", ")", ";", "}", "}", "for", "(", "offset", "=", "0", ",", "i", "=", "0", ";", "offset", "+", "delta", "<=", "length", ";", "offset", "+=", "delta", ",", "i", "++", ")", "if", "(", "MEM_ALIGN", "(", "dest", ")", ">=", "bits", ")", "mips_emit_move", "(", "adjust_address", "(", "dest", ",", "mode", ",", "offset", ")", ",", "regs", "[", "i", "]", ")", ";", "else", "{", "rtx", "part", "=", "adjust_address", "(", "dest", ",", "BLKmode", ",", "offset", ")", ";", "set_mem_size", "(", "part", ",", "delta", ")", ";", "if", "(", "!", "mips_expand_ins_as_unaligned_store", "(", "part", ",", "regs", "[", "i", "]", ",", "bits", ",", "0", ")", ")", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "offset", "<", "length", ")", "{", "src", "=", "adjust_address", "(", "src", ",", "BLKmode", ",", "offset", ")", ";", "dest", "=", "adjust_address", "(", "dest", ",", "BLKmode", ",", "offset", ")", ";", "move_by_pieces", "(", "dest", ",", "src", ",", "length", "-", "offset", ",", "MIN", "(", "MEM_ALIGN", "(", "src", ")", ",", "MEM_ALIGN", "(", "dest", ")", ")", ",", "0", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "straight-line", "code", "to", "move", "LENGTH", "bytes", "from", "SRC", "to", "DEST", ".", "Assume", "that", "the", "areas", "do", "not", "overlap", "."], "TS_V_token": ["mips", "2", "2", "2", "0", "0", "0", "0", "0", "0", "0", "0", "0"], "File": "mips7", "Func": "mips_block_move_straight", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10352, "Length": 377, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_vector_mode_supported_p", "(", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_PAIRED_FLOAT", "&&", "PAIRED_VECTOR_MODE", "(", "mode", ")", ")", "return", "true", ";", "if", "(", "TARGET_SPE", "&&", "SPE_VECTOR_MODE", "(", "mode", ")", ")", "return", "true", ";", "else", "if", "(", "VECTOR_MEM_ALTIVEC_OR_VSX_P", "(", "mode", ")", ")", "return", "true", ";", "else", "return", "false", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "vector_mode_supported_p", "."], "TS_V_token": ["rs6000"], "File": "rs60004", "Func": "rs6000_vector_mode_supported_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10353, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "insn_code", "function_expander", "::", "direct_optab_handler_for_sign", "(", "optab", "signed_op", ",", "optab", "unsigned_op", ",", "unsigned", "int", "suffix_i", ",", "machine_mode", "mode", ")", "{", "if", "(", "mode", "==", "VOIDmode", ")", "mode", "=", "vector_mode", "(", "suffix_i", ")", ";", "optab", "op", "=", "type_suffix", "(", "suffix_i", ")", ".", "unsigned_p", "?", "unsigned_op", ":", "signed_op", ";", "return", "::", "direct_optab_handler", "(", "op", ",", "mode", ")", ";", "}", ""], "natrual_language": ["Choose", "between", "signed", "and", "unsigned", "direct", "optabs", "SIGNED_OP", "and", "UNSIGNED_OP", "based", "on", "the", "signedness", "of", "type", "suffix", "SUFFIX_I", ",", "then", "pick", "the", "appropriate", "optab", "handler", "for", "the", "mode", ".", "Use", "MODE", "as", "the", "mode", "if", "given", ",", "otherwise", "use", "the", "mode", "of", "type", "suffix", "SUFFIX_I", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "direct_optab_handler_for_sign", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10354, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "choose_basereg", "(", "HOST_WIDE_INT", "cfa_offset", ",", "rtx", "&", "base_reg", ",", "HOST_WIDE_INT", "&", "base_offset", ",", "unsigned", "int", "align_reqested", ",", "unsigned", "int", "*", "align", ")", "{", "const", "struct", "machine_function", "*", "m", "=", "cfun", "->", "machine", ";", "unsigned", "int", "hfp_align", ";", "unsigned", "int", "drap_align", ";", "unsigned", "int", "sp_align", ";", "bool", "hfp_ok", "=", "fp_valid_at", "(", "cfa_offset", ")", ";", "bool", "drap_ok", "=", "m", "->", "fs", ".", "drap_valid", ";", "bool", "sp_ok", "=", "sp_valid_at", "(", "cfa_offset", ")", ";", "hfp_align", "=", "drap_align", "=", "sp_align", "=", "INCOMING_STACK_BOUNDARY", ";", "if", "(", "align_reqested", ")", "{", "if", "(", "m", "->", "fs", ".", "realigned", ")", "hfp_align", "=", "drap_align", "=", "sp_align", "=", "crtl", "->", "stack_alignment_needed", ";", "else", "if", "(", "m", "->", "fs", ".", "sp_realigned", ")", "sp_align", "=", "crtl", "->", "stack_alignment_needed", ";", "hfp_ok", "=", "hfp_ok", "&&", "hfp_align", ">=", "align_reqested", ";", "drap_ok", "=", "drap_ok", "&&", "drap_align", ">=", "align_reqested", ";", "sp_ok", "=", "sp_ok", "&&", "sp_align", ">=", "align_reqested", ";", "}", "if", "(", "m", "->", "use_fast_prologue_epilogue", ")", "{", "if", "(", "hfp_ok", ")", "{", "base_reg", "=", "hard_frame_pointer_rtx", ";", "base_offset", "=", "m", "->", "fs", ".", "fp_offset", "-", "cfa_offset", ";", "}", "else", "if", "(", "drap_ok", ")", "{", "base_reg", "=", "crtl", "->", "drap_reg", ";", "base_offset", "=", "0", "-", "cfa_offset", ";", "}", "else", "if", "(", "sp_ok", ")", "{", "base_reg", "=", "stack_pointer_rtx", ";", "base_offset", "=", "m", "->", "fs", ".", "sp_offset", "-", "cfa_offset", ";", "}", "}", "else", "{", "HOST_WIDE_INT", "toffset", ";", "int", "len", "=", "16", ",", "tlen", ";", "if", "(", "sp_ok", ")", "{", "base_reg", "=", "stack_pointer_rtx", ";", "base_offset", "=", "m", "->", "fs", ".", "sp_offset", "-", "cfa_offset", ";", "len", "=", "choose_baseaddr_len", "(", "STACK_POINTER_REGNUM", ",", "base_offset", ")", ";", "}", "if", "(", "drap_ok", ")", "{", "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", "(", "hfp_ok", ")", "{", "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", ";", "}", "}", "}", "if", "(", "align", ")", "{", "if", "(", "base_reg", "==", "stack_pointer_rtx", ")", "*", "align", "=", "sp_align", ";", "else", "if", "(", "base_reg", "==", "crtl", "->", "drap_reg", ")", "*", "align", "=", "drap_align", ";", "else", "if", "(", "base_reg", "==", "hard_frame_pointer_rtx", ")", "*", "align", "=", "hfp_align", ";", "}", "}", ""], "natrual_language": ["Choose", "a", "base", "register", "based", "upon", "alignment", "requested", ",", "speed", "and/or", "size", "."], "TS_V_token": ["i386", "0", "16", "0"], "File": "i3867", "Func": "choose_basereg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10355, "Length": 390, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "i386_find_on_wrapper_list", "(", "const", "char", "*", "target", ")", "{", "static", "char", "first_time", "=", "1", ";", "static", "hash_table", "<", "wrapped_symbol_hasher", ">", "*", "wrappers", ";", "if", "(", "first_time", ")", "{", "static", "char", "wrapper_list_buffer", "[", "]", "=", "CXX_WRAP_SPEC_LIST", ";", "char", "*", "bufptr", ";", "wrappers", "=", "new", "hash_table", "<", "wrapped_symbol_hasher", ">", "(", "8", ")", ";", "for", "(", "bufptr", "=", "wrapper_list_buffer", ";", "*", "bufptr", ";", "++", "bufptr", ")", "{", "char", "*", "found", "=", "NULL", ";", "if", "(", "ISSPACE", "(", "*", "bufptr", ")", ")", "continue", ";", "if", "(", "*", "bufptr", "==", "'_'", ")", "found", "=", "bufptr", ";", "while", "(", "*", "bufptr", "&&", "!", "ISSPACE", "(", "*", "bufptr", ")", ")", "++", "bufptr", ";", "if", "(", "*", "bufptr", ")", "*", "bufptr", "=", "0", ";", "if", "(", "found", ")", "*", "wrappers", "->", "find_slot", "(", "found", ",", "INSERT", ")", "=", "found", ";", "}", "first_time", "=", "0", ";", "}", "return", "wrappers", "->", "find", "(", "target", ")", ";", "}", ""], "natrual_language": ["Search", "for", "a", "function", "named", "TARGET", "in", "the", "list", "of", "library", "wrappers", "we", "are", "using", ",", "returning", "a", "pointer", "to", "it", "if", "found", "or", "NULL", "if", "not", ".", "This", "function", "might", "be", "called", "on", "quite", "a", "few", "symbols", ",", "and", "we", "only", "have", "the", "list", "of", "names", "of", "wrapped", "functions", "available", "to", "us", "as", "a", "spec", "string", ",", "so", "first", "time", "round", "we", "lazily", "initialise", "a", "hash", "table", "to", "make", "things", "quicker", "."], "TS_V_token": ["i386", "1", "8", "0", "0"], "File": "winnt4", "Func": "i386_find_on_wrapper_list", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10356, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "store_reg", "(", "int", "reg", ",", "HOST_WIDE_INT", "disp", ",", "int", "base", ")", "{", "rtx", "dest", ",", "src", ",", "basereg", ";", "rtx_insn", "*", "insn", ";", "src", "=", "gen_rtx_REG", "(", "word_mode", ",", "reg", ")", ";", "basereg", "=", "gen_rtx_REG", "(", "Pmode", ",", "base", ")", ";", "if", "(", "VAL_14_BITS_P", "(", "disp", ")", ")", "{", "dest", "=", "gen_rtx_MEM", "(", "word_mode", ",", "plus_constant", "(", "Pmode", ",", "basereg", ",", "disp", ")", ")", ";", "insn", "=", "emit_move_insn", "(", "dest", ",", "src", ")", ";", "}", "else", "if", "(", "TARGET_64BIT", "&&", "!", "VAL_32_BITS_P", "(", "disp", ")", ")", "{", "rtx", "delta", "=", "GEN_INT", "(", "disp", ")", ";", "rtx", "tmpreg", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "emit_move_insn", "(", "tmpreg", ",", "delta", ")", ";", "insn", "=", "emit_move_insn", "(", "tmpreg", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "tmpreg", ",", "basereg", ")", ")", ";", "if", "(", "DO_FRAME_NOTES", ")", "{", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "VOIDmode", ",", "tmpreg", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "basereg", ",", "delta", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "dest", "=", "gen_rtx_MEM", "(", "word_mode", ",", "tmpreg", ")", ";", "insn", "=", "emit_move_insn", "(", "dest", ",", "src", ")", ";", "}", "else", "{", "rtx", "delta", "=", "GEN_INT", "(", "disp", ")", ";", "rtx", "high", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "basereg", ",", "gen_rtx_HIGH", "(", "Pmode", ",", "delta", ")", ")", ";", "rtx", "tmpreg", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "emit_move_insn", "(", "tmpreg", ",", "high", ")", ";", "dest", "=", "gen_rtx_MEM", "(", "word_mode", ",", "gen_rtx_LO_SUM", "(", "Pmode", ",", "tmpreg", ",", "delta", ")", ")", ";", "insn", "=", "emit_move_insn", "(", "dest", ",", "src", ")", ";", "if", "(", "DO_FRAME_NOTES", ")", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_rtx_MEM", "(", "word_mode", ",", "gen_rtx_PLUS", "(", "word_mode", ",", "basereg", ",", "delta", ")", ")", ",", "src", ")", ")", ";", "}", "if", "(", "DO_FRAME_NOTES", ")", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", ""], "natrual_language": ["Emit", "RTL", "to", "store", "REG", "at", "the", "memory", "location", "specified", "by", "BASE+DISP", ".", "Handle", "case", "where", "DISP", ">", "8k", "by", "using", "the", "add_high_const", "patterns", ".", "Note", "in", "DISP", ">", "8k", "case", ",", "we", "will", "leave", "the", "high", "part", "of", "the", "address", "in", "%", "r1", ".", "There", "is", "code", "in", "expand_hppa_", "{", "prologue", ",", "epilogue", "}", "that", "knows", "this", "."], "TS_V_token": ["pa", "1", "1", "1", "1"], "File": "pa4", "Func": "store_reg", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10357, "Length": 299, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_is_valid_and_mask", "(", "rtx", "mask", ",", "machine_mode", "mode", ")", "{", "int", "nb", ",", "ne", ";", "if", "(", "!", "rs6000_is_valid_mask", "(", "mask", ",", "&", "nb", ",", "&", "ne", ",", "mode", ")", ")", "return", "false", ";", "if", "(", "mode", "==", "DImode", ")", "return", "(", "ne", "==", "0", "||", "nb", "==", "63", "||", "(", "nb", "<", "32", "&&", "ne", "<=", "nb", ")", ")", ";", "if", "(", "mode", "==", "SImode", ")", "return", "(", "nb", "<", "32", "&&", "ne", "<", "32", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "whether", "MASK", "(", "a", "CONST_INT", ")", "is", "a", "valid", "mask", "for", "any", "rlwinm", ",", "rldicl", ",", "or", "rldicr", "instruction", ",", "to", "implement", "an", "AND", "with", "it", "in", "mode", "MODE", "."], "TS_V_token": ["rs6000", "0", "63", "32", "32", "32"], "File": "rs6000", "Func": "rs6000_is_valid_and_mask", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10358, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_can_inline_p", "(", "tree", "caller", ",", "tree", "callee", ")", "{", "tree", "caller_tree", "=", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "caller", ")", ";", "tree", "callee_tree", "=", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "callee", ")", ";", "bool", "can_inline", "=", "true", ";", "struct", "cl_target_option", "*", "caller_opts", "=", "TREE_TARGET_OPTION", "(", "caller_tree", "?", "caller_tree", ":", "target_option_default_node", ")", ";", "struct", "cl_target_option", "*", "callee_opts", "=", "TREE_TARGET_OPTION", "(", "callee_tree", "?", "callee_tree", ":", "target_option_default_node", ")", ";", "if", "(", "callee_opts", "==", "caller_opts", ")", "return", "true", ";", "struct", "arm_build_target", "caller_target", ";", "struct", "arm_build_target", "callee_target", ";", "caller_target", ".", "isa", "=", "sbitmap_alloc", "(", "isa_num_bits", ")", ";", "callee_target", ".", "isa", "=", "sbitmap_alloc", "(", "isa_num_bits", ")", ";", "arm_configure_build_target", "(", "&", "caller_target", ",", "caller_opts", ",", "false", ")", ";", "arm_configure_build_target", "(", "&", "callee_target", ",", "callee_opts", ",", "false", ")", ";", "if", "(", "!", "bitmap_subset_p", "(", "callee_target", ".", "isa", ",", "caller_target", ".", "isa", ")", ")", "can_inline", "=", "false", ";", "sbitmap_free", "(", "caller_target", ".", "isa", ")", ";", "sbitmap_free", "(", "callee_target", ".", "isa", ")", ";", "return", "can_inline", ";", "}", ""], "natrual_language": ["Hook", "to", "determine", "if", "one", "function", "can", "safely", "inline", "another", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_can_inline_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10359, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "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": "LanaiAsmPrinter1", "Func": "getPassName", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10360, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_adjust_block_mem", "(", "rtx", "mem", ",", "HOST_WIDE_INT", "length", ",", "rtx", "*", "loop_reg", ",", "rtx", "*", "loop_mem", ")", "{", "*", "loop_reg", "=", "copy_addr_to_reg", "(", "XEXP", "(", "mem", ",", "0", ")", ")", ";", "*", "loop_mem", "=", "change_address", "(", "mem", ",", "BLKmode", ",", "*", "loop_reg", ")", ";", "set_mem_align", "(", "*", "loop_mem", ",", "MIN", "(", "MEM_ALIGN", "(", "mem", ")", ",", "length", "*", "BITS_PER_UNIT", ")", ")", ";", "}", ""], "natrual_language": ["From", "mips_adjust_block_mem", ":", "Helper", "function", "for", "doing", "a", "loop-based", "block", "operation", "on", "memory", "reference", "MEM", ".", "Each", "iteration", "of", "the", "loop", "will", "operate", "on", "LENGTH", "bytes", "of", "MEM", ".", "Create", "a", "new", "base", "register", "for", "use", "within", "the", "loop", "and", "point", "it", "to", "the", "start", "of", "MEM", ".", "Create", "a", "new", "memory", "reference", "that", "uses", "this", "register", ".", "Store", "them", "in", "*", "LOOP_REG", "and", "*", "LOOP_MEM", "respectively", "."], "TS_V_token": ["arm", "0"], "File": "arm", "Func": "arm_adjust_block_mem", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10361, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetTransformInfo", "MipsTargetMachine", "::", "getTargetTransformInfo", "(", "const", "Function", "&", "F", ")", "const", "{", "if", "(", "Subtarget", "->", "allowMixed16_32", "(", ")", ")", "{", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\"No Target Transform Info Pass Added\\n\"", ")", ";", "return", "TargetTransformInfo", "(", "F", ".", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ")", ";", "}", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\"Target Transform Info Pass Added\\n\"", ")", ";", "return", "TargetTransformInfo", "(", "MipsTTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetTransformInfo", "implementation", "for", "the", "target", "."], "TS_V_token": ["Mips", "Mips", "\"No Target Transform Info Pass Added\\n\"", "\"Target Transform Info Pass Added\\n\"", "Mips"], "File": "MipsTargetMachine (2)1", "Func": "getTargetTransformInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10362, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "convertToFlagSettingOpc", "(", "unsigned", "Opc", ",", "bool", "&", "Is64Bit", ")", "{", "switch", "(", "Opc", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Opcode has no flag setting equivalent!\"", ")", ";", "case", "AArch64", "::", "ADDWri", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "ADDSWri", ";", "case", "AArch64", "::", "ADDWrr", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "ADDSWrr", ";", "case", "AArch64", "::", "ADDWrs", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "ADDSWrs", ";", "case", "AArch64", "::", "ADDWrx", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "ADDSWrx", ";", "case", "AArch64", "::", "ANDWri", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "ANDSWri", ";", "case", "AArch64", "::", "ANDWrr", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "ANDSWrr", ";", "case", "AArch64", "::", "ANDWrs", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "ANDSWrs", ";", "case", "AArch64", "::", "BICWrr", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "BICSWrr", ";", "case", "AArch64", "::", "BICWrs", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "BICSWrs", ";", "case", "AArch64", "::", "SUBWri", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "SUBSWri", ";", "case", "AArch64", "::", "SUBWrr", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "SUBSWrr", ";", "case", "AArch64", "::", "SUBWrs", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "SUBSWrs", ";", "case", "AArch64", "::", "SUBWrx", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "SUBSWrx", ";", "case", "AArch64", "::", "ADDXri", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "ADDSXri", ";", "case", "AArch64", "::", "ADDXrr", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "ADDSXrr", ";", "case", "AArch64", "::", "ADDXrs", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "ADDSXrs", ";", "case", "AArch64", "::", "ADDXrx", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "ADDSXrx", ";", "case", "AArch64", "::", "ANDXri", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "ANDSXri", ";", "case", "AArch64", "::", "ANDXrr", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "ANDSXrr", ";", "case", "AArch64", "::", "ANDXrs", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "ANDSXrs", ";", "case", "AArch64", "::", "BICXrr", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "BICSXrr", ";", "case", "AArch64", "::", "BICXrs", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "BICSXrs", ";", "case", "AArch64", "::", "SUBXri", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "SUBSXri", ";", "case", "AArch64", "::", "SUBXrr", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "SUBSXrr", ";", "case", "AArch64", "::", "SUBXrs", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "SUBSXrs", ";", "case", "AArch64", "::", "SUBXrx", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "SUBSXrx", ";", "}", "}", ""], "natrual_language": ["Return", "the", "opcode", "that", "set", "flags", "when", "possible", "."], "TS_V_token": ["AArch64", "\"Opcode has no flag setting equivalent!\"", "AArch64::ADDWri", "AArch64::ADDSWri", "AArch64::ADDWrr", "AArch64::ADDSWrr", "AArch64::ADDWrs", "AArch64::ADDSWrs", "AArch64::ADDWrx", "AArch64::ADDSWrx", "AArch64::ANDWri", "AArch64::ANDSWri", "AArch64::ANDWrr", "AArch64::ANDSWrr", "AArch64::ANDWrs", "AArch64::ANDSWrs", "AArch64::BICWrr", "AArch64::BICSWrr", "AArch64::BICWrs", "AArch64::BICSWrs", "AArch64::SUBWri", "AArch64::SUBSWri", "AArch64::SUBWrr", "AArch64::SUBSWrr", "AArch64::SUBWrs", "AArch64::SUBSWrs", "AArch64::SUBWrx", "AArch64::SUBSWrx", "AArch64::ADDXri", "AArch64::ADDSXri", "AArch64::ADDXrr", "AArch64::ADDSXrr", "AArch64::ADDXrs", "AArch64::ADDSXrs", "AArch64::ADDXrx", "AArch64::ADDSXrx", "AArch64::ANDXri", "AArch64::ANDSXri", "AArch64::ANDXrr", "AArch64::ANDSXrr", "AArch64::ANDXrs", "AArch64::ANDSXrs", "AArch64::BICXrr", "AArch64::BICSXrr", "AArch64::BICXrs", "AArch64::BICSXrs", "AArch64::SUBXri", "AArch64::SUBSXri", "AArch64::SUBXrr", "AArch64::SUBSXrr", "AArch64::SUBXrs", "AArch64::SUBSXrs", "AArch64::SUBXrx", "AArch64::SUBSXrx"], "File": "AArch64InstrInfo17", "Func": "convertToFlagSettingOpc", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10363, "Length": 390, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "aarch64_fold_sve_cnt_pat", "(", "aarch64_svpattern", "pattern", ",", "unsigned", "int", "nelts_per_vq", ")", "{", "unsigned", "int", "vl", ",", "const_vg", ";", "if", "(", "pattern", ">=", "AARCH64_SV_VL1", "&&", "pattern", "<=", "AARCH64_SV_VL8", ")", "vl", "=", "1", "+", "(", "pattern", "-", "AARCH64_SV_VL1", ")", ";", "else", "if", "(", "pattern", ">=", "AARCH64_SV_VL16", "&&", "pattern", "<=", "AARCH64_SV_VL256", ")", "vl", "=", "16", "<<", "(", "pattern", "-", "AARCH64_SV_VL16", ")", ";", "else", "if", "(", "aarch64_sve_vg", ".", "is_constant", "(", "&", "const_vg", ")", ")", "{", "unsigned", "int", "nelts", "=", "(", "const_vg", "/", "2", ")", "*", "nelts_per_vq", ";", "switch", "(", "pattern", ")", "{", "case", "AARCH64_SV_POW2", ":", "return", "1", "<<", "floor_log2", "(", "nelts", ")", ";", "case", "AARCH64_SV_MUL4", ":", "return", "nelts", "&", "-", "4", ";", "case", "AARCH64_SV_MUL3", ":", "return", "(", "nelts", "/", "3", ")", "*", "3", ";", "case", "AARCH64_SV_ALL", ":", "return", "nelts", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "return", "-", "1", ";", "poly_uint64", "nelts_all", "=", "exact_div", "(", "aarch64_sve_vg", ",", "2", ")", "*", "nelts_per_vq", ";", "if", "(", "known_le", "(", "vl", ",", "nelts_all", ")", ")", "return", "vl", ";", "if", "(", "known_gt", "(", "vl", ",", "nelts_all", ")", ")", "return", "0", ";", "return", "-", "1", ";", "}", ""], "natrual_language": ["Check", "whether", "we", "can", "calculate", "the", "number", "of", "elements", "in", "PATTERN", "at", "compile", "time", ",", "given", "that", "there", "are", "NELTS_PER_VQ", "elements", "per", "128-bit", "block", ".", "Return", "the", "value", "if", "so", ",", "otherwise", "return", "-1", "."], "TS_V_token": ["aarch64", "1", "16", "2", "1", "4", "3", "3", "1", "2", "0", "1"], "File": "aarch64", "Func": "aarch64_fold_sve_cnt_pat", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10364, "Length": 179, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "get_max_pos", "(", "state_t", "state", ")", "{", "if", "(", "cpu_unit_reservation_p", "(", "state", ",", "pos_6", ")", ")", "return", "6", ";", "else", "if", "(", "cpu_unit_reservation_p", "(", "state", ",", "pos_5", ")", ")", "return", "5", ";", "else", "if", "(", "cpu_unit_reservation_p", "(", "state", ",", "pos_4", ")", ")", "return", "4", ";", "else", "if", "(", "cpu_unit_reservation_p", "(", "state", ",", "pos_3", ")", ")", "return", "3", ";", "else", "if", "(", "cpu_unit_reservation_p", "(", "state", ",", "pos_2", ")", ")", "return", "2", ";", "else", "if", "(", "cpu_unit_reservation_p", "(", "state", ",", "pos_1", ")", ")", "return", "1", ";", "else", "return", "0", ";", "}", ""], "natrual_language": ["The", "following", "function", "returns", "position", "in", "the", "two", "window", "bundle", "for", "given", "STATE", "."], "TS_V_token": ["ia64", "6", "5", "4", "3", "2", "1", "0"], "File": "ia64", "Func": "get_max_pos", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10365, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "override", "{", "uint64_t", "NumNops", "=", "Count", "/", "4", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "!=", "NumNops", ";", "++", "i", ")", "OW", "->", "Write32", "(", "0x60000000", ")", ";", "OW", "->", "WriteZeros", "(", "Count", "%", "4", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["PowerPC", "4", "0", "0x60000000", "4"], "File": "PPCAsmBackend23", "Func": "writeNopData", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10366, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZXPLINKFrameLowering", "::", "inlineStackProbe", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "PrologMBB", ")", "const", "{", "auto", "*", "ZII", "=", "static_cast", "<", "const", "SystemZInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineInstr", "*", "StackAllocMI", "=", "nullptr", ";", "for", "(", "MachineInstr", "&", "MI", ":", "PrologMBB", ")", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "SystemZ", "::", "XPLINK_STACKALLOC", ")", "{", "StackAllocMI", "=", "&", "MI", ";", "break", ";", "}", "if", "(", "StackAllocMI", "==", "nullptr", ")", "return", ";", "MachineBasicBlock", "&", "MBB", "=", "PrologMBB", ";", "const", "DebugLoc", "DL", "=", "StackAllocMI", "->", "getDebugLoc", "(", ")", ";", "MachineBasicBlock", "*", "NextMBB", ";", "MachineBasicBlock", "*", "StackExtMBB", "=", "MF", ".", "CreateMachineBasicBlock", "(", "MBB", ".", "getBasicBlock", "(", ")", ")", ";", "MF", ".", "push_back", "(", "StackExtMBB", ")", ";", "BuildMI", "(", "StackExtMBB", ",", "DL", ",", "ZII", "->", "get", "(", "SystemZ", "::", "LG", ")", ",", "SystemZ", "::", "R3D", ")", ".", "addReg", "(", "SystemZ", "::", "R3D", ")", ".", "addImm", "(", "72", ")", ".", "addReg", "(", "0", ")", ";", "BuildMI", "(", "StackExtMBB", ",", "DL", ",", "ZII", "->", "get", "(", "SystemZ", "::", "CallBASR_STACKEXT", ")", ")", ".", "addReg", "(", "SystemZ", "::", "R3D", ")", ";", "BuildMI", "(", "MBB", ",", "StackAllocMI", ",", "DL", ",", "ZII", "->", "get", "(", "SystemZ", "::", "LLGT", ")", ",", "SystemZ", "::", "R3D", ")", ".", "addReg", "(", "0", ")", ".", "addImm", "(", "1208", ")", ".", "addReg", "(", "0", ")", ";", "BuildMI", "(", "MBB", ",", "StackAllocMI", ",", "DL", ",", "ZII", "->", "get", "(", "SystemZ", "::", "CG", ")", ")", ".", "addReg", "(", "SystemZ", "::", "R4D", ")", ".", "addReg", "(", "SystemZ", "::", "R3D", ")", ".", "addImm", "(", "64", ")", ".", "addReg", "(", "0", ")", ";", "BuildMI", "(", "MBB", ",", "StackAllocMI", ",", "DL", ",", "ZII", "->", "get", "(", "SystemZ", "::", "BRC", ")", ")", ".", "addImm", "(", "SystemZ", "::", "CCMASK_ICMP", ")", ".", "addImm", "(", "SystemZ", "::", "CCMASK_CMP_LT", ")", ".", "addMBB", "(", "StackExtMBB", ")", ";", "NextMBB", "=", "SystemZ", "::", "splitBlockBefore", "(", "StackAllocMI", ",", "&", "MBB", ")", ";", "MBB", ".", "addSuccessor", "(", "NextMBB", ")", ";", "MBB", ".", "addSuccessor", "(", "StackExtMBB", ")", ";", "BuildMI", "(", "StackExtMBB", ",", "DL", ",", "ZII", "->", "get", "(", "SystemZ", "::", "J", ")", ")", ".", "addMBB", "(", "NextMBB", ")", ";", "StackExtMBB", "->", "addSuccessor", "(", "NextMBB", ")", ";", "StackAllocMI", "->", "eraseFromParent", "(", ")", ";", "recomputeLiveIns", "(", "*", "NextMBB", ")", ";", "recomputeLiveIns", "(", "*", "StackExtMBB", ")", ";", "}", ""], "natrual_language": ["Replace", "a", "StackProbe", "inline-stub", "with", "the", "actual", "probe", "code", "inline", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ::XPLINK_STACKALLOC", "SystemZ::LG", "SystemZ::R3D", "SystemZ::R3D", "72", "0", "SystemZ::CallBASR_STACKEXT", "SystemZ::R3D", "SystemZ::LLGT", "SystemZ::R3D", "0", "1208", "0", "SystemZ::CG", "SystemZ::R4D", "SystemZ::R3D", "64", "0", "SystemZ::BRC", "SystemZ::CCMASK_ICMP", "SystemZ::CCMASK_CMP_LT", "SystemZ::splitBlockBefore", "SystemZ::J"], "File": "SystemZFrameLowering20", "Func": "inlineStackProbe", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10367, "Length": 371, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "bool", "Changed", "=", "false", ";", "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"], "File": "PPCTOCRegDeps", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10368, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ia64_depz_field_mask", "(", "rtx", "rop", ",", "rtx", "rshift", ")", "{", "unsigned", "HOST_WIDE_INT", "op", "=", "INTVAL", "(", "rop", ")", ";", "unsigned", "HOST_WIDE_INT", "shift", "=", "INTVAL", "(", "rshift", ")", ";", "op", ">>=", "shift", ";", "return", "exact_log2", "(", "op", "+", "1", ")", ";", "}", ""], "natrual_language": ["Check", "if", "OP", "is", "a", "mask", "suitible", "for", "use", "with", "SHIFT", "in", "a", "dep.z", "instruction", ".", "Return", "the", "length", "of", "the", "field", ",", "or", "<", "=", "0", "on", "failure", "."], "TS_V_token": ["ia64", "1"], "File": "ia64", "Func": "ia64_depz_field_mask", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10369, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "mayBeEmittedAsTailCall", "(", "CallInst", "*", "CI", ")", "const", "{", "if", "(", "!", "CI", "->", "isTailCall", "(", ")", "||", "getTargetMachine", "(", ")", ".", "Options", ".", "DisableTailCalls", ")", "return", "false", ";", "CallSite", "CS", "(", "CI", ")", ";", "CallingConv", "::", "ID", "CalleeCC", "=", "CS", ".", "getCallingConv", "(", ")", ";", "if", "(", "!", "IsTailCallConvention", "(", "CalleeCC", ")", "&&", "CalleeCC", "!=", "CallingConv", "::", "C", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "may", "be", "able", "emit", "the", "call", "instruction", "as", "a", "tail", "call", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering114", "Func": "mayBeEmittedAsTailCall", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10370, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleDAGInstrs", "*", "createMachineScheduler", "(", "MachineSchedContext", "*", "C", ")", "const", "override", "{", "return", "createPPCMachineScheduler", "(", "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": ["PowerPC", "PPC"], "File": "PPCTargetMachine1", "Func": "createMachineScheduler", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10371, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createMicroMipsSizeReducePass", "(", ")", ")", ";", "addPass", "(", "createMipsDelaySlotFillerPass", "(", ")", ")", ";", "addPass", "(", "createMipsBranchExpansion", "(", ")", ")", ";", "addPass", "(", "createMipsConstantIslandPass", "(", ")", ")", ";", "}", ""], "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"], "File": "MipsTargetMachine64", "Func": "addPreEmitPass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10372, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "VERegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "VE", "::", "SX8", ")", ";", "Reserved", ".", "set", "(", "VE", "::", "SX9", ")", ";", "Reserved", ".", "set", "(", "VE", "::", "SX10", ")", ";", "Reserved", ".", "set", "(", "VE", "::", "SX11", ")", ";", "Reserved", ".", "set", "(", "VE", "::", "SX12", ")", ";", "Reserved", ".", "set", "(", "VE", "::", "SX13", ")", ";", "Reserved", ".", "set", "(", "VE", "::", "SX14", ")", ";", "Reserved", ".", "set", "(", "VE", "::", "SX15", ")", ";", "Reserved", ".", "set", "(", "VE", "::", "SX16", ")", ";", "Reserved", ".", "set", "(", "VE", "::", "SX17", ")", ";", "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": ["VE", "VE", "VE::SX8", "VE::SX9", "VE::SX10", "VE::SX11", "VE::SX12", "VE::SX13", "VE::SX14", "VE::SX15", "VE::SX16", "VE::SX17"], "File": "VERegisterInfo1", "Func": "getReservedRegs", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10373, "Length": 114, "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": 10374, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86CmovConverterPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "if", "(", "!", "EnableCmovConverter", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** \"", "<<", "getPassName", "(", ")", "<<", "\" : \"", "<<", "MF", ".", "getName", "(", ")", "<<", "\"**********\\n\"", ")", ";", "bool", "Changed", "=", "false", ";", "MLI", "=", "&", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "const", "TargetSubtargetInfo", "&", "STI", "=", "MF", ".", "getSubtarget", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "TII", "=", "STI", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "TSchedModel", ".", "init", "(", "&", "STI", ")", ";", "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": "X86CmovConversion11", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10375, "Length": 356, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64InstrInfo", "::", "convertToFlagSettingOpc", "(", "unsigned", "Opc", ",", "bool", "&", "Is64Bit", ")", "{", "switch", "(", "Opc", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Opcode has no flag setting equivalent!\"", ")", ";", "case", "AArch64", "::", "ADDWri", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "ADDSWri", ";", "case", "AArch64", "::", "ADDWrr", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "ADDSWrr", ";", "case", "AArch64", "::", "ADDWrs", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "ADDSWrs", ";", "case", "AArch64", "::", "ADDWrx", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "ADDSWrx", ";", "case", "AArch64", "::", "ANDWri", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "ANDSWri", ";", "case", "AArch64", "::", "ANDWrr", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "ANDSWrr", ";", "case", "AArch64", "::", "ANDWrs", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "ANDSWrs", ";", "case", "AArch64", "::", "BICWrr", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "BICSWrr", ";", "case", "AArch64", "::", "BICWrs", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "BICSWrs", ";", "case", "AArch64", "::", "SUBWri", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "SUBSWri", ";", "case", "AArch64", "::", "SUBWrr", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "SUBSWrr", ";", "case", "AArch64", "::", "SUBWrs", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "SUBSWrs", ";", "case", "AArch64", "::", "SUBWrx", ":", "Is64Bit", "=", "false", ";", "return", "AArch64", "::", "SUBSWrx", ";", "case", "AArch64", "::", "ADDXri", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "ADDSXri", ";", "case", "AArch64", "::", "ADDXrr", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "ADDSXrr", ";", "case", "AArch64", "::", "ADDXrs", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "ADDSXrs", ";", "case", "AArch64", "::", "ADDXrx", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "ADDSXrx", ";", "case", "AArch64", "::", "ANDXri", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "ANDSXri", ";", "case", "AArch64", "::", "ANDXrr", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "ANDSXrr", ";", "case", "AArch64", "::", "ANDXrs", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "ANDSXrs", ";", "case", "AArch64", "::", "BICXrr", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "BICSXrr", ";", "case", "AArch64", "::", "BICXrs", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "BICSXrs", ";", "case", "AArch64", "::", "SUBXri", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "SUBSXri", ";", "case", "AArch64", "::", "SUBXrr", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "SUBSXrr", ";", "case", "AArch64", "::", "SUBXrs", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "SUBSXrs", ";", "case", "AArch64", "::", "SUBXrx", ":", "Is64Bit", "=", "true", ";", "return", "AArch64", "::", "SUBSXrx", ";", "}", "}", ""], "natrual_language": ["Return", "the", "opcode", "that", "set", "flags", "when", "possible", "."], "TS_V_token": ["AArch64", "AArch64", "\"Opcode has no flag setting equivalent!\"", "AArch64::ADDWri", "AArch64::ADDSWri", "AArch64::ADDWrr", "AArch64::ADDSWrr", "AArch64::ADDWrs", "AArch64::ADDSWrs", "AArch64::ADDWrx", "AArch64::ADDSWrx", "AArch64::ANDWri", "AArch64::ANDSWri", "AArch64::ANDWrr", "AArch64::ANDSWrr", "AArch64::ANDWrs", "AArch64::ANDSWrs", "AArch64::BICWrr", "AArch64::BICSWrr", "AArch64::BICWrs", "AArch64::BICSWrs", "AArch64::SUBWri", "AArch64::SUBSWri", "AArch64::SUBWrr", "AArch64::SUBSWrr", "AArch64::SUBWrs", "AArch64::SUBSWrs", "AArch64::SUBWrx", "AArch64::SUBSWrx", "AArch64::ADDXri", "AArch64::ADDSXri", "AArch64::ADDXrr", "AArch64::ADDSXrr", "AArch64::ADDXrs", "AArch64::ADDSXrs", "AArch64::ADDXrx", "AArch64::ADDSXrx", "AArch64::ANDXri", "AArch64::ANDSXri", "AArch64::ANDXrr", "AArch64::ANDSXrr", "AArch64::ANDXrs", "AArch64::ANDSXrs", "AArch64::BICXrr", "AArch64::BICSXrr", "AArch64::BICXrs", "AArch64::BICSXrs", "AArch64::SUBXri", "AArch64::SUBSXri", "AArch64::SUBXrr", "AArch64::SUBSXrr", "AArch64::SUBXrs", "AArch64::SUBSXrs", "AArch64::SUBXrx", "AArch64::SUBSXrx"], "File": "AArch64InstrInfo (2)1", "Func": "convertToFlagSettingOpc", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10376, "Length": 391, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TOYRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "RegScavenger", "*", "RS", ")", "const", "{", "unsigned", "i", "=", "0", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "DebugLoc", "dl", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "int", "StackSize", "=", "(", "int", ")", "(", "MFI", "->", "getStackSize", "(", ")", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "getIndex", "(", ")", ";", "int", "Offset", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FrameIndex", ")", "-", "StackSize", ";", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "TOY", "::", "ADDri", ")", ",", "TOY", "::", "TMP", ")", ".", "addReg", "(", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "getReg", "(", ")", ")", ".", "addImm", "(", "Offset", ")", ";", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "TOY", "::", "SP", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "ChangeToRegister", "(", "TOY", "::", "TMP", ",", "false", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["TOY", "TOY", "0", "\"Instr doesn't have FrameIndex operand!\"", "TOY::ADDri", "TOY::TMP", "1", "TOY::SP", "1", "TOY::TMP"], "File": "TOYRegisterInfo", "Func": "eliminateFrameIndex", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10377, "Length": 224, "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": 10378, "Length": 193, "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": 10379, "Length": 217, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "VETargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "case", "VEISD", "::", "NAME", ":", "\\", "return", "\"VEISD::\"", "#", "NAME", ";", "switch", "(", "(", "VEISD", "::", "NodeType", ")", "Opcode", ")", "{", "case", "VEISD", "::", "FIRST_NUMBER", ":", "break", ";", "TARGET_NODE_CASE", "(", "CALL", ")", "TARGET_NODE_CASE", "(", "GETFUNPLT", ")", "TARGET_NODE_CASE", "(", "GETSTACKTOP", ")", "TARGET_NODE_CASE", "(", "GETTLSADDR", ")", "TARGET_NODE_CASE", "(", "GLOBAL_BASE_REG", ")", "TARGET_NODE_CASE", "(", "Hi", ")", "TARGET_NODE_CASE", "(", "Lo", ")", "TARGET_NODE_CASE", "(", "MEMBARRIER", ")", "TARGET_NODE_CASE", "(", "RET_FLAG", ")", "TARGET_NODE_CASE", "(", "TS1AM", ")", "TARGET_NODE_CASE", "(", "VEC_BROADCAST", ")", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["VE", "VE", "VEISD::NAME", "\"VEISD::\"", "VEISD::NodeType", "VEISD::FIRST_NUMBER", "VE"], "File": "VEISelLowering12", "Func": "getTargetNodeName", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10380, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "standard_sse_constant_p", "(", "rtx", "x", ")", "{", "machine_mode", "mode", ";", "if", "(", "!", "TARGET_SSE", ")", "return", "0", ";", "mode", "=", "GET_MODE", "(", "x", ")", ";", "if", "(", "x", "==", "const0_rtx", "||", "x", "==", "CONST0_RTX", "(", "mode", ")", ")", "return", "1", ";", "if", "(", "vector_all_ones_operand", "(", "x", ",", "mode", ")", ")", "switch", "(", "mode", ")", "{", "case", "V16QImode", ":", "case", "V8HImode", ":", "case", "V4SImode", ":", "case", "V2DImode", ":", "if", "(", "TARGET_SSE2", ")", "return", "2", ";", "case", "V32QImode", ":", "case", "V16HImode", ":", "case", "V8SImode", ":", "case", "V4DImode", ":", "if", "(", "TARGET_AVX2", ")", "return", "2", ";", "case", "V64QImode", ":", "case", "V32HImode", ":", "case", "V16SImode", ":", "case", "V8DImode", ":", "if", "(", "TARGET_AVX512F", ")", "return", "2", ";", "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", "2", "2", "2", "0"], "File": "i3865", "Func": "standard_sse_constant_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10381, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "SystemZTargetLowering", "::", "getScratchRegisters", "(", "CallingConv", "::", "ID", ")", "const", "{", "static", "const", "MCPhysReg", "ScratchRegs", "[", "]", "=", "{", "SystemZ", "::", "R0D", ",", "SystemZ", "::", "R1D", ",", "SystemZ", "::", "R14D", ",", "0", "}", ";", "return", "ScratchRegs", ";", "}", ""], "natrual_language": ["Returns", "a", "0", "terminated", "array", "of", "registers", "that", "can", "be", "safely", "used", "as", "scratch", "registers", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ::R0D", "SystemZ::R1D", "SystemZ::R14D", "0"], "File": "SystemZISelLowering (2)2", "Func": "getScratchRegisters", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10382, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_init_platform_type_builtins", "(", "void", ")", "{", "make_cpu_type_builtin", "(", "\"__builtin_cpu_init\"", ",", "IX86_BUILTIN_CPU_INIT", ",", "INT_FTYPE_VOID", ",", "false", ")", ";", "make_cpu_type_builtin", "(", "\"__builtin_cpu_is\"", ",", "IX86_BUILTIN_CPU_IS", ",", "INT_FTYPE_PCCHAR", ",", "true", ")", ";", "make_cpu_type_builtin", "(", "\"__builtin_cpu_supports\"", ",", "IX86_BUILTIN_CPU_SUPPORTS", ",", "INT_FTYPE_PCCHAR", ",", "true", ")", ";", "}", ""], "natrual_language": ["Make", "builtins", "to", "get", "CPU", "type", "and", "features", "supported", ".", "The", "created", "builtins", "are", ":", "__builtin_cpu_init", "(", ")", ",", "to", "detect", "cpu", "type", "and", "features", ",", "__builtin_cpu_is", "(", "``", "<", "CPUNAME", ">", "''", ")", ",", "to", "check", "if", "cpu", "is", "of", "type", "<", "CPUNAME", ">", ",", "__builtin_cpu_supports", "(", "``", "<", "FEATURE", ">", "''", ")", ",", "to", "check", "if", "cpu", "supports", "<", "FEATURE", ">"], "TS_V_token": ["i386", "\"__builtin_cpu_init\"", "\"__builtin_cpu_is\"", "\"__builtin_cpu_supports\""], "File": "i386-builtins", "Func": "ix86_init_platform_type_builtins", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10383, "Length": 41, "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": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_emit_nmsub", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10384, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_simd_expand_builtin", "(", "int", "fcode", ",", "tree", "exp", ",", "rtx", "target", ")", "{", "if", "(", "fcode", "==", "AARCH64_SIMD_BUILTIN_LANE_CHECK", ")", "{", "rtx", "totalsize", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ")", ";", "rtx", "elementsize", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "1", ")", ")", ";", "if", "(", "CONST_INT_P", "(", "totalsize", ")", "&&", "CONST_INT_P", "(", "elementsize", ")", "&&", "UINTVAL", "(", "elementsize", ")", "!=", "0", "&&", "UINTVAL", "(", "totalsize", ")", "!=", "0", ")", "{", "rtx", "lane_idx", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "2", ")", ")", ";", "if", "(", "CONST_INT_P", "(", "lane_idx", ")", ")", "aarch64_simd_lane_bounds", "(", "lane_idx", ",", "0", ",", "UINTVAL", "(", "totalsize", ")", "/", "UINTVAL", "(", "elementsize", ")", ",", "exp", ")", ";", "else", "error_at", "(", "EXPR_LOCATION", "(", "exp", ")", ",", "\"lane index must be a constant immediate\"", ")", ";", "}", "else", "error_at", "(", "EXPR_LOCATION", "(", "exp", ")", ",", "\"total size and element size must be a nonzero \"", "\"constant immediate\"", ")", ";", "return", "const0_rtx", ";", "}", "aarch64_simd_builtin_datum", "*", "d", "=", "&", "aarch64_simd_builtin_data", "[", "fcode", "-", "AARCH64_SIMD_PATTERN_START", "]", ";", "enum", "insn_code", "icode", "=", "d", "->", "code", ";", "builtin_simd_arg", "args", "[", "SIMD_MAX_BUILTIN_ARGS", "+", "1", "]", ";", "int", "num_args", "=", "insn_data", "[", "d", "->", "code", "]", ".", "n_operands", ";", "int", "is_void", "=", "0", ";", "int", "k", ";", "is_void", "=", "!", "!", "(", "d", "->", "qualifiers", "[", "0", "]", "&", "qualifier_void", ")", ";", "num_args", "+=", "is_void", ";", "for", "(", "k", "=", "1", ";", "k", "<", "num_args", ";", "k", "++", ")", "{", "int", "qualifiers_k", "=", "k", ";", "int", "operands_k", "=", "k", "-", "is_void", ";", "int", "expr_args_k", "=", "k", "-", "1", ";", "if", "(", "d", "->", "qualifiers", "[", "qualifiers_k", "]", "&", "qualifier_lane_index", ")", "args", "[", "k", "]", "=", "SIMD_ARG_LANE_INDEX", ";", "else", "if", "(", "d", "->", "qualifiers", "[", "qualifiers_k", "]", "&", "qualifier_lane_pair_index", ")", "args", "[", "k", "]", "=", "SIMD_ARG_LANE_PAIR_INDEX", ";", "else", "if", "(", "d", "->", "qualifiers", "[", "qualifiers_k", "]", "&", "qualifier_lane_quadtup_index", ")", "args", "[", "k", "]", "=", "SIMD_ARG_LANE_QUADTUP_INDEX", ";", "else", "if", "(", "d", "->", "qualifiers", "[", "qualifiers_k", "]", "&", "qualifier_struct_load_store_lane_index", ")", "args", "[", "k", "]", "=", "SIMD_ARG_STRUCT_LOAD_STORE_LANE_INDEX", ";", "else", "if", "(", "d", "->", "qualifiers", "[", "qualifiers_k", "]", "&", "qualifier_immediate", ")", "args", "[", "k", "]", "=", "SIMD_ARG_CONSTANT", ";", "else", "if", "(", "d", "->", "qualifiers", "[", "qualifiers_k", "]", "&", "qualifier_maybe_immediate", ")", "{", "rtx", "arg", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "(", "expr_args_k", ")", ")", ")", ";", "bool", "op_const_int_p", "=", "(", "CONST_INT_P", "(", "arg", ")", "&&", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "operands_k", "]", ".", "predicate", ")", "(", "arg", ",", "insn_data", "[", "icode", "]", ".", "operand", "[", "operands_k", "]", ".", "mode", ")", ")", ";", "args", "[", "k", "]", "=", "op_const_int_p", "?", "SIMD_ARG_CONSTANT", ":", "SIMD_ARG_COPY_TO_REG", ";", "}", "else", "args", "[", "k", "]", "=", "SIMD_ARG_COPY_TO_REG", ";", "}", "args", "[", "k", "]", "=", "SIMD_ARG_STOP", ";", "return", "aarch64_simd_expand_args", "(", "target", ",", "icode", ",", "!", "is_void", ",", "exp", ",", "&", "args", "[", "1", "]", ",", "d", "->", "mode", ")", ";", "}", ""], "natrual_language": ["Expand", "an", "AArch64", "AdvSIMD", "builtin", "(", "intrinsic", ")", "."], "TS_V_token": ["aarch64", "0", "1", "0", "0", "2", "0", "\"lane index must be a constant immediate\"", "\"total size and element size must be a nonzero \"", "\"constant immediate\"", "1", "0", "0", "1", "1", "1"], "File": "aarch64-builtins", "Func": "aarch64_simd_expand_builtin", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10385, "Length": 454, "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": 10386, "Length": 37, "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": 10387, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "first_fp_reg_to_save", "(", "void", ")", "{", "int", "first_reg", ";", "for", "(", "first_reg", "=", "14", "+", "32", ";", "first_reg", "<=", "63", ";", "first_reg", "++", ")", "if", "(", "save_reg_p", "(", "first_reg", ")", ")", "break", ";", "return", "first_reg", ";", "}", ""], "natrual_language": ["Similar", ",", "for", "FP", "regs", "."], "TS_V_token": ["powerpcspe", "14", "32", "63"], "File": "powerpcspe", "Func": "first_fp_reg_to_save", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10388, "Length": 37, "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": "PPCAsmParser12", "Func": "MatchAndEmitInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10389, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rx_set_current_function", "(", "tree", "fndecl", ")", "{", "static", "tree", "rx_previous_fndecl", ";", "bool", "prev_was_fast_interrupt", ";", "bool", "current_is_fast_interrupt", ";", "if", "(", "fndecl", "==", "rx_previous_fndecl", ")", "return", ";", "prev_was_fast_interrupt", "=", "rx_previous_fndecl", "?", "is_fast_interrupt_func", "(", "rx_previous_fndecl", ")", ":", "false", ";", "current_is_fast_interrupt", "=", "fndecl", "?", "is_fast_interrupt_func", "(", "fndecl", ")", ":", "false", ";", "if", "(", "prev_was_fast_interrupt", "!=", "current_is_fast_interrupt", ")", "{", "use_fixed_regs", "=", "current_is_fast_interrupt", ";", "target_reinit", "(", ")", ";", "}", "if", "(", "current_is_fast_interrupt", "&&", "rx_warn_multiple_fast_interrupts", ")", "{", "if", "(", "warned_decls", "==", "NULL", ")", "add_warned_decl", "(", "fndecl", ")", ";", "else", "if", "(", "!", "already_warned", "(", "fndecl", ")", ")", "{", "warning", "(", "0", ",", "\"multiple fast interrupt routines seen: %qE and %qE\"", ",", "fndecl", ",", "warned_decls", "->", "fndecl", ")", ";", "add_warned_decl", "(", "fndecl", ")", ";", "}", "}", "rx_previous_fndecl", "=", "fndecl", ";", "}", ""], "natrual_language": ["Perform", "any", "actions", "necessary", "before", "starting", "to", "compile", "FNDECL", ".", "For", "the", "RX", "we", "use", "this", "to", "make", "sure", "that", "we", "have", "the", "correct", "set", "of", "register", "masks", "selected", ".", "If", "FNDECL", "is", "NULL", "then", "we", "are", "compiling", "top", "level", "things", "."], "TS_V_token": ["rx", "0", "\"multiple fast interrupt routines seen: %qE and %qE\""], "File": "rx", "Func": "rx_set_current_function", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10390, "Length": 117, "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": 10391, "Length": 428, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "aarch64_general_builtin_decl", "(", "unsigned", "code", ",", "bool", ")", "{", "if", "(", "code", ">=", "AARCH64_BUILTIN_MAX", ")", "return", "error_mark_node", ";", "return", "aarch64_builtin_decls", "[", "code", "]", ";", "}", ""], "natrual_language": ["Implement", "TARGET_BUILTIN_DECL", "for", "the", "AARCH64_BUILTIN_GENERAL", "group", "."], "TS_V_token": ["aarch64"], "File": "aarch64-builtins", "Func": "aarch64_general_builtin_decl", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10392, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLSRCostLess", "(", "TargetTransformInfo", "::", "LSRCost", "&", "C1", ",", "TargetTransformInfo", "::", "LSRCost", "&", "C2", ")", "{", "return", "std", "::", "tie", "(", "C1", ".", "Insns", ",", "C1", ".", "NumRegs", ",", "C1", ".", "AddRecCost", ",", "C1", ".", "NumIVMuls", ",", "C1", ".", "NumBaseAdds", ",", "C1", ".", "ScaleCost", ",", "C1", ".", "ImmCost", ",", "C1", ".", "SetupCost", ")", "<", "std", "::", "tie", "(", "C2", ".", "Insns", ",", "C2", ".", "NumRegs", ",", "C2", ".", "AddRecCost", ",", "C2", ".", "NumIVMuls", ",", "C2", ".", "NumBaseAdds", ",", "C2", ".", "ScaleCost", ",", "C2", ".", "ImmCost", ",", "C2", ".", "SetupCost", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "LSR", "cost", "of", "C1", "is", "lower", "than", "C2", "."], "TS_V_token": ["X86", "X86"], "File": "X86TargetTransformInfo (2)", "Func": "isLSRCostLess", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10393, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "sbitmap", "aarch64_components_for_bb", "(", "basic_block", "bb", ")", "{", "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", "(", "LAST_SAVED_REGNUM", "+", "1", ")", ";", "bitmap_clear", "(", "components", ")", ";", "for", "(", "unsigned", "regno", "=", "0", ";", "regno", "<=", "LAST_SAVED_REGNUM", ";", "regno", "++", ")", "if", "(", "(", "!", "call_used_regs", "[", "regno", "]", ")", "&&", "(", "bitmap_bit_p", "(", "in", ",", "regno", ")", "||", "bitmap_bit_p", "(", "gen", ",", "regno", ")", "||", "bitmap_bit_p", "(", "kill", ",", "regno", ")", ")", ")", "bitmap_set_bit", "(", "components", ",", "regno", ")", ";", "return", "components", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SHRINK_WRAP_COMPONENTS_FOR_BB", "."], "TS_V_token": ["aarch64", "1", "0"], "File": "aarch644", "Func": "aarch64_components_for_bb", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10394, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_simd_vector_alignment_reachable", "(", "const_tree", "type", ",", "bool", "is_packed", ")", "{", "if", "(", "is_packed", ")", "return", "false", ";", "poly_uint64", "preferred_alignment", "=", "aarch64_vectorize_preferred_vector_alignment", "(", "type", ")", ";", "if", "(", "TREE_CODE", "(", "TYPE_SIZE", "(", "type", ")", ")", "==", "INTEGER_CST", "&&", "maybe_ne", "(", "wi", "::", "to_widest", "(", "TYPE_SIZE", "(", "type", ")", ")", ",", "preferred_alignment", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "target", "hook", "TARGET_VECTORIZE_VECTOR_ALIGNMENT_REACHABLE", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_simd_vector_alignment_reachable", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10395, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "override", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "AArch64", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_aarch64_pcrel_adr_imm21\"", ",", "0", ",", "32", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_aarch64_pcrel_adrp_imm21\"", ",", "0", ",", "32", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_aarch64_add_imm12\"", ",", "10", ",", "12", ",", "0", "}", ",", "{", "\"fixup_aarch64_ldst_imm12_scale1\"", ",", "10", ",", "12", ",", "0", "}", ",", "{", "\"fixup_aarch64_ldst_imm12_scale2\"", ",", "10", ",", "12", ",", "0", "}", ",", "{", "\"fixup_aarch64_ldst_imm12_scale4\"", ",", "10", ",", "12", ",", "0", "}", ",", "{", "\"fixup_aarch64_ldst_imm12_scale8\"", ",", "10", ",", "12", ",", "0", "}", ",", "{", "\"fixup_aarch64_ldst_imm12_scale16\"", ",", "10", ",", "12", ",", "0", "}", ",", "{", "\"fixup_aarch64_ldr_pcrel_imm19\"", ",", "5", ",", "19", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_aarch64_movw\"", ",", "5", ",", "16", ",", "0", "}", ",", "{", "\"fixup_aarch64_pcrel_branch14\"", ",", "5", ",", "14", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_aarch64_pcrel_branch19\"", ",", "5", ",", "19", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_aarch64_pcrel_branch26\"", ",", "0", ",", "26", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_aarch64_pcrel_call26\"", ",", "0", ",", "26", ",", "PCRelFlagVal", "}", "}", ";", "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": ["AArch64", "AArch64::NumTargetFixupKinds", "\"fixup_aarch64_pcrel_adr_imm21\"", "0", "32", "\"fixup_aarch64_pcrel_adrp_imm21\"", "0", "32", "\"fixup_aarch64_add_imm12\"", "10", "12", "0", "\"fixup_aarch64_ldst_imm12_scale1\"", "10", "12", "0", "\"fixup_aarch64_ldst_imm12_scale2\"", "10", "12", "0", "\"fixup_aarch64_ldst_imm12_scale4\"", "10", "12", "0", "\"fixup_aarch64_ldst_imm12_scale8\"", "10", "12", "0", "\"fixup_aarch64_ldst_imm12_scale16\"", "10", "12", "0", "\"fixup_aarch64_ldr_pcrel_imm19\"", "5", "19", "\"fixup_aarch64_movw\"", "5", "16", "0", "\"fixup_aarch64_pcrel_branch14\"", "5", "14", "\"fixup_aarch64_pcrel_branch19\"", "5", "19", "\"fixup_aarch64_pcrel_branch26\"", "0", "26", "\"fixup_aarch64_pcrel_call26\"", "0", "26", "\"Invalid kind!\""], "File": "AArch64AsmBackend (2)1", "Func": "getFixupKindInfo", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10396, "Length": 216, "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", "]", ")", ";", "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-builtins4", "Func": "aarch64_fold_builtin", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10397, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "addInstSelector", "(", ")", "{", "PM", ".", "add", "(", "createX86ISelDag", "(", "getX86TargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "if", "(", "!", "getX86Subtarget", "(", ")", ".", "is64Bit", "(", ")", ")", "PM", ".", "add", "(", "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"], "File": "X86TargetMachine43", "Func": "addInstSelector", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10398, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ia64_issue_rate", "(", "void", ")", "{", "return", "6", ";", "}", ""], "natrual_language": ["Return", "the", "maximum", "number", "of", "instructions", "a", "cpu", "can", "issue", "."], "TS_V_token": ["ia64", "6"], "File": "ia64", "Func": "ia64_issue_rate", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10399, "Length": 11, "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": 10400, "Length": 479, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SHUXIFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["SHUXI", "SHUXI"], "File": "SHUXIFrameLowering", "Func": "emitEpilogue", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10401, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getPointerSize", "(", ")", "const", "{", "StringRef", "Name", "=", "TheTarget", ".", "getName", "(", ")", ";", "if", "(", "Name", "==", "\"ppc64\"", "||", "Name", "==", "\"ppc64le\"", ")", "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\"", "\"ppc64le\"", "8", "\"ppc32\"", "\"Unknown target name!\"", "4"], "File": "PPCAsmBackend (2)1", "Func": "getPointerSize", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10402, "Length": 41, "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", ">", "1", ")", "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.\"", "1", "2", "2", "63", "64", "\"Caller should have ordered offsets.\"", "\"Caller should have ordered offsets.\"", "1"], "File": "AArch64InstrInfo24", "Func": "shouldClusterMemOps", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10403, "Length": 395, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "string", "getDataLayout", "(", ")", "const", "{", "const", "char", "*", "p", ";", "if", "(", "is64Bit", "(", ")", ")", "{", "p", "=", "\"E-p:64:64:64-i64:64:64-f64:64:64-f128:128:128-n32:64\"", ";", "}", "else", "{", "p", "=", "\"E-p:32:32:32-i64:64:64-f64:64:64-f128:64:64-n32\"", ";", "}", "return", "std", "::", "string", "(", "p", ")", ";", "}", ""], "natrual_language": ["Return", "the", "DataLayout", "associated", "with", "the", "module", "this", "SCEV", "instance", "is", "operating", "on", "."], "TS_V_token": ["Sparc", "\"E-p:64:64:64-i64:64:64-f64:64:64-f128:128:128-n32:64\"", "\"E-p:32:32:32-i64:64:64-f64:64:64-f128:64:64-n32\""], "File": "SparcSubtarget", "Func": "getDataLayout", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10404, "Length": 41, "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": 10405, "Length": 170, "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": 10406, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "general_scalar_chain", "::", "convert_op", "(", "rtx", "*", "op", ",", "rtx_insn", "*", "insn", ")", "{", "*", "op", "=", "copy_rtx_if_shared", "(", "*", "op", ")", ";", "if", "(", "GET_CODE", "(", "*", "op", ")", "==", "NOT", ")", "{", "convert_op", "(", "&", "XEXP", "(", "*", "op", ",", "0", ")", ",", "insn", ")", ";", "PUT_MODE", "(", "*", "op", ",", "vmode", ")", ";", "}", "else", "if", "(", "MEM_P", "(", "*", "op", ")", ")", "{", "rtx", "tmp", "=", "gen_reg_rtx", "(", "GET_MODE", "(", "*", "op", ")", ")", ";", "if", "(", "!", "memory_operand", "(", "*", "op", ",", "GET_MODE", "(", "*", "op", ")", ")", ")", "{", "rtx", "tmp2", "=", "gen_reg_rtx", "(", "GET_MODE", "(", "*", "op", ")", ")", ";", "emit_insn_before", "(", "gen_rtx_SET", "(", "tmp2", ",", "*", "op", ")", ",", "insn", ")", ";", "*", "op", "=", "tmp2", ";", "}", "emit_insn_before", "(", "gen_rtx_SET", "(", "gen_rtx_SUBREG", "(", "vmode", ",", "tmp", ",", "0", ")", ",", "gen_gpr_to_xmm_move_src", "(", "vmode", ",", "*", "op", ")", ")", ",", "insn", ")", ";", "*", "op", "=", "gen_rtx_SUBREG", "(", "vmode", ",", "tmp", ",", "0", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\" Preloading operand for insn %d into r%d\\n\"", ",", "INSN_UID", "(", "insn", ")", ",", "REGNO", "(", "tmp", ")", ")", ";", "}", "else", "if", "(", "REG_P", "(", "*", "op", ")", ")", "{", "*", "op", "=", "gen_rtx_SUBREG", "(", "vmode", ",", "*", "op", ",", "0", ")", ";", "}", "else", "if", "(", "CONST_INT_P", "(", "*", "op", ")", ")", "{", "rtx", "vec_cst", ";", "rtx", "tmp", "=", "gen_rtx_SUBREG", "(", "vmode", ",", "gen_reg_rtx", "(", "smode", ")", ",", "0", ")", ";", "if", "(", "constm1_operand", "(", "*", "op", ",", "GET_MODE", "(", "*", "op", ")", ")", ")", "vec_cst", "=", "CONSTM1_RTX", "(", "vmode", ")", ";", "else", "{", "unsigned", "n", "=", "GET_MODE_NUNITS", "(", "vmode", ")", ";", "rtx", "*", "v", "=", "XALLOCAVEC", "(", "rtx", ",", "n", ")", ";", "v", "[", "0", "]", "=", "*", "op", ";", "for", "(", "unsigned", "i", "=", "1", ";", "i", "<", "n", ";", "++", "i", ")", "v", "[", "i", "]", "=", "const0_rtx", ";", "vec_cst", "=", "gen_rtx_CONST_VECTOR", "(", "vmode", ",", "gen_rtvec_v", "(", "n", ",", "v", ")", ")", ";", "}", "if", "(", "!", "standard_sse_constant_p", "(", "vec_cst", ",", "vmode", ")", ")", "{", "start_sequence", "(", ")", ";", "vec_cst", "=", "validize_mem", "(", "force_const_mem", "(", "vmode", ",", "vec_cst", ")", ")", ";", "rtx_insn", "*", "seq", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "emit_insn_before", "(", "seq", ",", "insn", ")", ";", "}", "emit_insn_before", "(", "gen_move_insn", "(", "copy_rtx", "(", "tmp", ")", ",", "vec_cst", ")", ",", "insn", ")", ";", "*", "op", "=", "tmp", ";", "}", "else", "{", "gcc_assert", "(", "SUBREG_P", "(", "*", "op", ")", ")", ";", "gcc_assert", "(", "GET_MODE", "(", "*", "op", ")", "==", "vmode", ")", ";", "}", "}", ""], "natrual_language": ["Convert", "operand", "OP", "in", "INSN", ".", "We", "should", "handle", "memory", "operands", "and", "uninitialized", "registers", ".", "All", "other", "register", "uses", "are", "converted", "during", "registers", "conversion", "."], "TS_V_token": ["i386", "0", "0", "0", "\" Preloading operand for insn %d into r%d\\n\"", "0", "0", "0", "1"], "File": "i386-features", "Func": "convert_op", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10407, "Length": 415, "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": 10408, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "mips_mdebug_abi_name", "(", "void", ")", "{", "switch", "(", "mips_abi", ")", "{", "case", "ABI_32", ":", "return", "\"abi32\"", ";", "case", "ABI_O64", ":", "return", "\"abiO64\"", ";", "case", "ABI_N32", ":", "return", "\"abiN32\"", ";", "case", "ABI_64", ":", "return", "\"abi64\"", ";", "case", "ABI_EABI", ":", "return", "TARGET_64BIT", "?", "\"eabi64\"", ":", "\"eabi32\"", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "FOO", "in", "the", "name", "of", "the", "``", ".mdebug.FOO", "''", "section", "associated", "with", "the", "current", "ABI", "."], "TS_V_token": ["mips", "\"abi32\"", "\"abiO64\"", "\"abiN32\"", "\"abi64\"", "\"eabi64\"", "\"eabi32\""], "File": "mips", "Func": "mips_mdebug_abi_name", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10409, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx_insn", "*", "sh_check_add_incdec_notes", "(", "rtx_insn", "*", "i", ")", "{", "struct", "for_each_inc_dec_clb", "{", "static", "int", "func", "(", "rtx", "mem", "ATTRIBUTE_UNUSED", ",", "rtx", "op", "ATTRIBUTE_UNUSED", ",", "rtx", "dest", ",", "rtx", "src", "ATTRIBUTE_UNUSED", ",", "rtx", "srcoff", "ATTRIBUTE_UNUSED", ",", "void", "*", "arg", ")", "{", "gcc_assert", "(", "REG_P", "(", "dest", ")", ")", ";", "rtx_insn", "*", "i", "=", "(", "rtx_insn", "*", ")", "arg", ";", "if", "(", "find_regno_note", "(", "i", ",", "REG_INC", ",", "REGNO", "(", "dest", ")", ")", "==", "NULL", ")", "add_reg_note", "(", "i", ",", "REG_INC", ",", "dest", ")", ";", "return", "0", ";", "}", "}", ";", "for_each_inc_dec", "(", "PATTERN", "(", "i", ")", ",", "for_each_inc_dec_clb", "::", "func", ",", "i", ")", ";", "return", "i", ";", "}", ""], "natrual_language": ["Given", "an", "insn", "check", "if", "it", "contains", "any", "post/pre", "inc/dec", "mem", "operands", "and", "add", "the", "REG_INC", "notes", "accordingly", ".", "FIXME", ":", "This", "function", "is", "very", "similar", "to", "lra.cc", "(", "add_auto_inc_notes", ")", ".", "FIXME", ":", "This", "function", "is", "currently", "used", "by", "peephole2", "patterns", "because", "the", "peephole2", "pass", "does", "not", "preserve", "REG_INC", "notes", ".", "If", "the", "notes", "are", "dropped", "the", "following", "passes", "will", "do", "wrong", "things", "."], "TS_V_token": ["sh", "0"], "File": "sh", "Func": "sh_check_add_incdec_notes", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10410, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "TOYInstrInfo", "::", "getGlobalBaseReg", "(", "MachineFunction", "*", "MF", ")", "const", "{", "llvm_unreachable", "(", "\"getGlobalBaseReg not implemented\\n\"", ")", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["TOY", "TOY", "\"getGlobalBaseReg not implemented\\n\""], "File": "TOYInstrInfo", "Func": "getGlobalBaseReg", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10411, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_pac_insn_p", "(", "rtx", "x", ")", "{", "if", "(", "!", "INSN_P", "(", "x", ")", ")", "return", "x", ";", "subrtx_var_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX_VAR", "(", "iter", ",", "array", ",", "PATTERN", "(", "x", ")", ",", "ALL", ")", "{", "rtx", "sub", "=", "*", "iter", ";", "if", "(", "sub", "&&", "GET_CODE", "(", "sub", ")", "==", "UNSPEC", ")", "{", "int", "unspec_val", "=", "XINT", "(", "sub", ",", "1", ")", ";", "switch", "(", "unspec_val", ")", "{", "case", "UNSPEC_PACISP", ":", "return", "true", ";", "default", ":", "return", "false", ";", "}", "iter", ".", "skip_subrtxes", "(", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Check", "if", "X", "(", "or", "any", "sub-rtx", "of", "X", ")", "is", "a", "PACIASP/PACIBSP", "instruction", "."], "TS_V_token": ["aarch64", "1"], "File": "aarch64-bti-insert2", "Func": "aarch64_pac_insn_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10412, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "*", "PPCInstrInfo", "::", "CreateTargetPostRAHazardRecognizer", "(", "const", "InstrItineraryData", "*", "II", ",", "const", "ScheduleDAG", "*", "DAG", ")", "const", "{", "unsigned", "Directive", "=", "DAG", "->", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "getCPUDirective", "(", ")", ";", "if", "(", "Directive", "==", "PPC", "::", "DIR_PWR7", "||", "Directive", "==", "PPC", "::", "DIR_PWR8", ")", "return", "new", "PPCDispatchGroupSBHazardRecognizer", "(", "II", ",", "DAG", ")", ";", "if", "(", "Directive", "!=", "PPC", "::", "DIR_440", "&&", "Directive", "!=", "PPC", "::", "DIR_A2", "&&", "Directive", "!=", "PPC", "::", "DIR_E500mc", "&&", "Directive", "!=", "PPC", "::", "DIR_E5500", ")", "{", "assert", "(", "DAG", "->", "TII", "&&", "\"No InstrInfo?\"", ")", ";", "return", "new", "PPCHazardRecognizer970", "(", "*", "DAG", ")", ";", "}", "return", "new", "ScoreboardHazardRecognizer", "(", "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_PWR7", "PPC::DIR_PWR8", "PPC", "PPC::DIR_440", "PPC::DIR_A2", "PPC::DIR_E500mc", "PPC::DIR_E5500", "\"No InstrInfo?\"", "PPC"], "File": "PPCInstrInfo", "Func": "CreateTargetPostRAHazardRecognizer", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10413, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "mode_suffix_index", "function_resolver", "::", "resolve_sv_displacement", "(", "unsigned", "int", "argno", ",", "type_suffix_index", "type", ",", "bool", "load_p", ")", "{", "if", "(", "type", "==", "NUM_TYPE_SUFFIXES", ")", "{", "vector_type_index", "displacement_vector_type", "=", "infer_vector_displacement_type", "(", "argno", ")", ";", "if", "(", "displacement_vector_type", "==", "NUM_VECTOR_TYPES", ")", "return", "MODE_none", ";", "mode_suffix_index", "mode", "=", "find_mode_suffix", "(", "NUM_VECTOR_TYPES", ",", "displacement_vector_type", ",", "displacement_units", "(", ")", ")", ";", "gcc_assert", "(", "mode", "!=", "MODE_none", ")", ";", "return", "mode", ";", "}", "unsigned", "int", "required_bits", "=", "type_suffixes", "[", "type", "]", ".", "element_bits", ";", "if", "(", "required_bits", "==", "32", "&&", "displacement_units", "(", ")", "==", "UNITS_elements", "&&", "!", "lookup_form", "(", "MODE_s32index", ",", "type", ")", "&&", "!", "lookup_form", "(", "MODE_u32index", ",", "type", ")", ")", "{", "if", "(", "lookup_form", "(", "MODE_u32base_index", ",", "type", ")", ")", "{", "if", "(", "type_suffix_ids", "[", "0", "]", "==", "NUM_TYPE_SUFFIXES", ")", "{", "gcc_assert", "(", "!", "load_p", ")", ";", "error_at", "(", "location", ",", "\"when storing %qT, %qE requires a vector\"", "\" base and a scalar index\"", ",", "get_vector_type", "(", "type", ")", ",", "fndecl", ")", ";", "}", "else", "error_at", "(", "location", ",", "\"%qE requires a vector base and a scalar\"", "\" index\"", ",", "fndecl", ")", ";", "}", "else", "error_at", "(", "location", ",", "\"%qE does not support 32-bit vector type %qT\"", ",", "fndecl", ",", "get_vector_type", "(", "type", ")", ")", ";", "return", "MODE_none", ";", "}", "type_suffix_index", "displacement_type", "=", "infer_vector_type", "(", "argno", ")", ";", "if", "(", "displacement_type", "==", "NUM_TYPE_SUFFIXES", ")", "return", "MODE_none", ";", "if", "(", "type_suffixes", "[", "displacement_type", "]", ".", "element_bits", "==", "required_bits", ")", "{", "vector_type_index", "displacement_vector_type", "=", "type_suffixes", "[", "displacement_type", "]", ".", "vector_type", ";", "mode_suffix_index", "mode", "=", "find_mode_suffix", "(", "NUM_VECTOR_TYPES", ",", "displacement_vector_type", ",", "displacement_units", "(", ")", ")", ";", "if", "(", "mode", "!=", "MODE_none", ")", "{", "if", "(", "mode", "==", "MODE_s32offset", "&&", "!", "lookup_form", "(", "mode", ",", "type", ")", "&&", "lookup_form", "(", "MODE_u32offset", ",", "type", ")", ")", "{", "if", "(", "type_suffix_ids", "[", "0", "]", "==", "NUM_TYPE_SUFFIXES", ")", "error_at", "(", "location", ",", "\"%qE does not support 32-bit sign-extended\"", "\" offsets\"", ",", "fndecl", ")", ";", "else", "error_at", "(", "location", ",", "\"%qE does not support sign-extended\"", "\" offsets\"", ",", "fndecl", ")", ";", "return", "MODE_none", ";", "}", "return", "mode", ";", "}", "}", "if", "(", "type_suffix_ids", "[", "0", "]", "==", "NUM_TYPE_SUFFIXES", ")", "{", "if", "(", "load_p", ")", "error_at", "(", "location", ",", "\"passing %qT to argument %d of %qE, which when\"", "\" loading %qT expects a vector of %d-bit integers\"", ",", "get_argument_type", "(", "argno", ")", ",", "argno", "+", "1", ",", "fndecl", ",", "get_vector_type", "(", "type", ")", ",", "required_bits", ")", ";", "else", "error_at", "(", "location", ",", "\"passing %qT to argument %d of %qE, which when\"", "\" storing %qT expects a vector of %d-bit integers\"", ",", "get_argument_type", "(", "argno", ")", ",", "argno", "+", "1", ",", "fndecl", ",", "get_vector_type", "(", "type", ")", ",", "required_bits", ")", ";", "}", "else", "error_at", "(", "location", ",", "\"passing %qT to argument %d of %qE, which\"", "\" expects a vector of %d-bit integers\"", ",", "get_argument_type", "(", "argno", ")", ",", "argno", "+", "1", ",", "fndecl", ",", "required_bits", ")", ";", "return", "MODE_none", ";", "}", ""], "natrual_language": ["Require", "argument", "ARGNO", "to", "be", "a", "vector", "displacement", "in", "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", "overloaded", "function", "'s", "mode", "suffix", "determines", "the", "units", "of", "the", "displacement", "(", "bytes", "for", "``", "_offset", "''", ",", "elements", "for", "``", "_index", "''", ")", ".", "Return", "the", "associated", "mode", "on", "success", ",", "otherwise", "report", "an", "error", "and", "return", "MODE_none", "."], "TS_V_token": ["aarch64", "32", "0", "\"when storing %qT, %qE requires a vector\"", "\" base and a scalar index\"", "\"%qE requires a vector base and a scalar\"", "\" index\"", "\"%qE does not support 32-bit vector type %qT\"", "0", "\"%qE does not support 32-bit sign-extended\"", "\" offsets\"", "\"%qE does not support sign-extended\"", "\" offsets\"", "0", "\"passing %qT to argument %d of %qE, which when\"", "\" loading %qT expects a vector of %d-bit integers\"", "1", "\"passing %qT to argument %d of %qE, which when\"", "\" storing %qT expects a vector of %d-bit integers\"", "1", "\"passing %qT to argument %d of %qE, which\"", "\" expects a vector of %d-bit integers\"", "1"], "File": "aarch64-sve-builtins", "Func": "resolve_sv_displacement", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10414, "Length": 393, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64RegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "AArch64FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "AArch64", "::", "GPR32RegClassID", ":", "case", "AArch64", "::", "GPR32spRegClassID", ":", "case", "AArch64", "::", "GPR32allRegClassID", ":", "case", "AArch64", "::", "GPR64spRegClassID", ":", "case", "AArch64", "::", "GPR64allRegClassID", ":", "case", "AArch64", "::", "GPR64RegClassID", ":", "case", "AArch64", "::", "GPR32commonRegClassID", ":", "case", "AArch64", "::", "GPR64commonRegClassID", ":", "return", "32", "-", "1", "-", "(", "TFI", "->", "hasFP", "(", "MF", ")", "||", "TT", ".", "isOSDarwin", "(", ")", ")", "-", "(", "TT", ".", "isOSDarwin", "(", ")", "||", "ReserveX18", ")", "-", "hasBasePointer", "(", "MF", ")", ";", "case", "AArch64", "::", "FPR8RegClassID", ":", "case", "AArch64", "::", "FPR16RegClassID", ":", "case", "AArch64", "::", "FPR32RegClassID", ":", "case", "AArch64", "::", "FPR64RegClassID", ":", "case", "AArch64", "::", "FPR128RegClassID", ":", "return", "32", ";", "case", "AArch64", "::", "DDRegClassID", ":", "case", "AArch64", "::", "DDDRegClassID", ":", "case", "AArch64", "::", "DDDDRegClassID", ":", "case", "AArch64", "::", "QQRegClassID", ":", "case", "AArch64", "::", "QQQRegClassID", ":", "case", "AArch64", "::", "QQQQRegClassID", ":", "return", "32", ";", "case", "AArch64", "::", "FPR128_loRegClassID", ":", "return", "16", ";", "}", "}", ""], "natrual_language": ["Return", "the", "register", "pressure", "``", "high", "water", "mark", "''", "for", "the", "specific", "register", "class", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "0", "AArch64::GPR32RegClassID", "AArch64::GPR32spRegClassID", "AArch64::GPR32allRegClassID", "AArch64::GPR64spRegClassID", "AArch64::GPR64allRegClassID", "AArch64::GPR64RegClassID", "AArch64::GPR32commonRegClassID", "AArch64::GPR64commonRegClassID", "32", "1", "AArch64::FPR8RegClassID", "AArch64::FPR16RegClassID", "AArch64::FPR32RegClassID", "AArch64::FPR64RegClassID", "AArch64::FPR128RegClassID", "32", "AArch64::DDRegClassID", "AArch64::DDDRegClassID", "AArch64::DDDDRegClassID", "AArch64::QQRegClassID", "AArch64::QQQRegClassID", "AArch64::QQQQRegClassID", "32", "AArch64::FPR128_loRegClassID", "16"], "File": "AArch64RegisterInfo3", "Func": "getRegPressureLimit", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10415, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "emitFrameDirective", "(", ")", "{", "const", "TargetRegisterInfo", "&", "RI", "=", "*", "TM", ".", "getSubtargetImpl", "(", ")", "->", "getRegisterInfo", "(", ")", ";", "unsigned", "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": "MipsAsmPrinter20", "Func": "emitFrameDirective", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10416, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCAIXAsmPrinter", "::", "emitGlobalVariable", "(", "const", "GlobalVariable", "*", "GV", ")", "{", "ValidateGV", "(", "GV", ")", ";", "MCSymbolXCOFF", "*", "GVSym", "=", "cast", "<", "MCSymbolXCOFF", ">", "(", "getSymbol", "(", "GV", ")", ")", ";", "GVSym", "->", "setStorageClass", "(", "TargetLoweringObjectFileXCOFF", "::", "getStorageClassForGlobal", "(", "GV", ")", ")", ";", "SectionKind", "GVKind", ";", "MCSectionXCOFF", "*", "Csect", "=", "cast", "<", "MCSectionXCOFF", ">", "(", "GV", "->", "isDeclaration", "(", ")", "?", "getObjFileLowering", "(", ")", ".", "getSectionForExternalReference", "(", "GV", ",", "TM", ")", ":", "getObjFileLowering", "(", ")", ".", "SectionForGlobal", "(", "GV", ",", "GVKind", "=", "getObjFileLowering", "(", ")", ".", "getKindForGlobal", "(", "GV", ",", "TM", ")", ",", "TM", ")", ")", ";", "GVSym", "->", "setContainingCsect", "(", "Csect", ")", ";", "if", "(", "GV", "->", "isDeclaration", "(", ")", ")", "return", ";", "if", "(", "!", "GVKind", ".", "isGlobalWriteableData", "(", ")", "&&", "!", "GVKind", ".", "isReadOnly", "(", ")", ")", "report_fatal_error", "(", "\"Encountered a global variable kind that is \"", "\"not supported yet.\"", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "Csect", ")", ";", "const", "DataLayout", "&", "DL", "=", "GV", "->", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "if", "(", "GVKind", ".", "isCommon", "(", ")", "||", "GVKind", ".", "isBSSLocal", "(", ")", ")", "{", "unsigned", "Align", "=", "GV", "->", "getAlignment", "(", ")", "?", "GV", "->", "getAlignment", "(", ")", ":", "DL", ".", "getPreferredAlignment", "(", "GV", ")", ";", "uint64_t", "Size", "=", "DL", ".", "getTypeAllocSize", "(", "GV", "->", "getType", "(", ")", "->", "getElementType", "(", ")", ")", ";", "if", "(", "GVKind", ".", "isBSSLocal", "(", ")", ")", "OutStreamer", "->", "emitXCOFFLocalCommonSymbol", "(", "GVSym", ",", "Size", ",", "Csect", "->", "getQualNameSymbol", "(", ")", ",", "Align", ")", ";", "else", "OutStreamer", "->", "emitCommonSymbol", "(", "Csect", "->", "getQualNameSymbol", "(", ")", ",", "Size", ",", "Align", ")", ";", "return", ";", "}", "MCSymbol", "*", "EmittedInitSym", "=", "GVSym", ";", "emitLinkage", "(", "GV", ",", "EmittedInitSym", ")", ";", "emitAlignment", "(", "getGVAlignment", "(", "GV", ",", "DL", ")", ",", "GV", ")", ";", "OutStreamer", "->", "emitLabel", "(", "EmittedInitSym", ")", ";", "emitGlobalConstant", "(", "GV", "->", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ",", "GV", "->", "getInitializer", "(", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "specified", "global", "variable", "to", "the", ".s", "file", "."], "TS_V_token": ["PowerPC", "PPC", "\"Encountered a global variable kind that is \"", "\"not supported yet.\""], "File": "PPCAsmPrinter64", "Func": "emitGlobalVariable", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10417, "Length": 309, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "tryAddingPcLoadReferenceComment", "(", "uint64_t", "Address", ",", "uint64_t", "Value", ",", "const", "void", "*", "Decoder", ")", "{", "const", "MCDisassembler", "*", "Dis", "=", "static_cast", "<", "const", "MCDisassembler", "*", ">", "(", "Decoder", ")", ";", "LLVMSymbolLookupCallback", "SymbolLookUp", "=", "Dis", "->", "getLLVMSymbolLookupCallback", "(", ")", ";", "if", "(", "SymbolLookUp", ")", "{", "void", "*", "DisInfo", "=", "Dis", "->", "getDisInfoBlock", "(", ")", ";", "uint64_t", "ReferenceType", "=", "LLVMDisassembler_ReferenceType_In_PCrel_Load", ";", "const", "char", "*", "ReferenceName", ";", "(", "void", ")", "SymbolLookUp", "(", "DisInfo", ",", "Value", ",", "&", "ReferenceType", ",", "Address", ",", "&", "ReferenceName", ")", ";", "if", "(", "ReferenceType", "==", "LLVMDisassembler_ReferenceType_Out_LitPool_CstrAddr", ")", "(", "*", "Dis", "->", "CommentStream", ")", "<<", "\"literal pool for: \"", "<<", "ReferenceName", ";", "}", "}", ""], "natrual_language": ["Try", "to", "add", "a", "comment", "on", "the", "PC-relative", "load", "."], "TS_V_token": ["X86", "\"literal pool for: \""], "File": "X86Disassembler18", "Func": "tryAddingPcLoadReferenceComment", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10418, "Length": 102, "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": 10419, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "X86InstrInfo", "::", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "unsigned", ">", "&", "Ops", ",", "int", "FrameIndex", ")", "const", "{", "if", "(", "NoFusing", ")", "return", "NULL", ";", "if", "(", "!", "MF", ".", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "OptimizeForSize", ")", "&&", "hasPartialRegUpdate", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", "return", "0", ";", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "Size", "=", "MFI", "->", "getObjectSize", "(", "FrameIndex", ")", ";", "unsigned", "Alignment", "=", "MFI", "->", "getObjectAlignment", "(", "FrameIndex", ")", ";", "if", "(", "Ops", ".", "size", "(", ")", "==", "2", "&&", "Ops", "[", "0", "]", "==", "0", "&&", "Ops", "[", "1", "]", "==", "1", ")", "{", "unsigned", "NewOpc", "=", "0", ";", "unsigned", "RCSize", "=", "0", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "NULL", ";", "case", "X86", "::", "TEST8rr", ":", "NewOpc", "=", "X86", "::", "CMP8ri", ";", "RCSize", "=", "1", ";", "break", ";", "case", "X86", "::", "TEST16rr", ":", "NewOpc", "=", "X86", "::", "CMP16ri8", ";", "RCSize", "=", "2", ";", "break", ";", "case", "X86", "::", "TEST32rr", ":", "NewOpc", "=", "X86", "::", "CMP32ri8", ";", "RCSize", "=", "4", ";", "break", ";", "case", "X86", "::", "TEST64rr", ":", "NewOpc", "=", "X86", "::", "CMP64ri8", ";", "RCSize", "=", "8", ";", "break", ";", "}", "if", "(", "Size", "<", "RCSize", ")", "return", "NULL", ";", "MI", "->", "setDesc", "(", "get", "(", "NewOpc", ")", ")", ";", "MI", "->", "getOperand", "(", "1", ")", ".", "ChangeToImmediate", "(", "0", ")", ";", "}", "else", "if", "(", "Ops", ".", "size", "(", ")", "!=", "1", ")", "return", "NULL", ";", "SmallVector", "<", "MachineOperand", ",", "4", ">", "MOs", ";", "MOs", ".", "push_back", "(", "MachineOperand", "::", "CreateFI", "(", "FrameIndex", ")", ")", ";", "return", "foldMemoryOperandImpl", "(", "MF", ",", "MI", ",", "Ops", "[", "0", "]", ",", "MOs", ",", "Size", ",", "Alignment", ")", ";", "}", ""], "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": ["X86", "X86", "0", "2", "0", "0", "1", "1", "0", "0", "X86::TEST8rr", "X86::CMP8ri", "1", "X86::TEST16rr", "X86::CMP16ri8", "2", "X86::TEST32rr", "X86::CMP32ri8", "4", "X86::TEST64rr", "X86::CMP64ri8", "8", "1", "0", "1", "4", "0"], "File": "X86InstrInfo116", "Func": "foldMemoryOperandImpl", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10420, "Length": 305, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "PPCTargetLowering", "::", "getPICJumpTableRelocBaseExpr", "(", "const", "MachineFunction", "*", "MF", ",", "unsigned", "JTI", ",", "MCContext", "&", "Ctx", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "isPPC64", "(", ")", ")", "return", "TargetLowering", "::", "getPICJumpTableRelocBaseExpr", "(", "MF", ",", "JTI", ",", "Ctx", ")", ";", "switch", "(", "getTargetMachine", "(", ")", ".", "getCodeModel", "(", ")", ")", "{", "case", "CodeModel", "::", "Small", ":", "case", "CodeModel", "::", "Medium", ":", "return", "TargetLowering", "::", "getPICJumpTableRelocBaseExpr", "(", "MF", ",", "JTI", ",", "Ctx", ")", ";", "default", ":", "return", "MCSymbolRefExpr", "::", "create", "(", "MF", "->", "getPICBaseSymbol", "(", ")", ",", "Ctx", ")", ";", "}", "}", ""], "natrual_language": ["This", "returns", "the", "relocation", "base", "for", "the", "given", "PIC", "jumptable", ",", "the", "same", "as", "getPICJumpTableRelocBase", ",", "but", "as", "an", "MCExpr", "."], "TS_V_token": ["PowerPC", "PPC", "PPC"], "File": "PPCISelLowering (2)7", "Func": "getPICJumpTableRelocBaseExpr", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10421, "Length": 93, "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", "(", "FramePtr", ")", ")", "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\""], "File": "ARMBaseRegisterInfo41", "Func": "canRealignStack", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10422, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_simd_clone_usable", "(", "struct", "cgraph_node", "*", "node", ")", "{", "switch", "(", "node", "->", "simdclone", "->", "vecsize_mangle", ")", "{", "case", "'b'", ":", "if", "(", "!", "TARGET_SSE2", ")", "return", "-", "1", ";", "if", "(", "!", "TARGET_AVX", ")", "return", "0", ";", "return", "TARGET_AVX2", "?", "2", ":", "1", ";", "case", "'c'", ":", "if", "(", "!", "TARGET_AVX", ")", "return", "-", "1", ";", "return", "TARGET_AVX2", "?", "1", ":", "0", ";", "break", ";", "case", "'d'", ":", "if", "(", "!", "TARGET_AVX2", ")", "return", "-", "1", ";", "return", "0", ";", "case", "'e'", ":", "if", "(", "!", "TARGET_AVX512F", ")", "return", "-", "1", ";", "return", "0", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["If", "SIMD", "clone", "NODE", "ca", "n't", "be", "used", "in", "a", "vectorized", "loop", "in", "current", "function", ",", "return", "-1", ",", "otherwise", "return", "a", "badness", "of", "using", "it", "(", "0", "if", "it", "is", "most", "desirable", "from", "vecsize_mangle", "point", "of", "view", ",", "1", "slightly", "less", "desirable", ",", "etc", ".", ")", "."], "TS_V_token": ["i386", "1", "0", "2", "1", "1", "1", "0", "1", "0", "1", "0"], "File": "i3865", "Func": "ix86_simd_clone_usable", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10423, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "const", "TargetRegisterClass", "*", ",", "uint8_t", ">", "ARMTargetLowering", "::", "findRepresentativeClass", "(", "EVT", "VT", ")", "const", "{", "const", "TargetRegisterClass", "*", "RRC", "=", "0", ";", "uint8_t", "Cost", "=", "1", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "return", "TargetLowering", "::", "findRepresentativeClass", "(", "VT", ")", ";", "case", "MVT", "::", "f32", ":", "case", "MVT", "::", "f64", ":", "case", "MVT", "::", "v8i8", ":", "case", "MVT", "::", "v4i16", ":", "case", "MVT", "::", "v2i32", ":", "case", "MVT", "::", "v1i64", ":", "case", "MVT", "::", "v2f32", ":", "RRC", "=", "ARM", "::", "DPRRegisterClass", ";", "if", "(", "Subtarget", "->", "useNEONForSinglePrecisionFP", "(", ")", ")", "Cost", "=", "2", ";", "break", ";", "case", "MVT", "::", "v16i8", ":", "case", "MVT", "::", "v8i16", ":", "case", "MVT", "::", "v4i32", ":", "case", "MVT", "::", "v2i64", ":", "case", "MVT", "::", "v4f32", ":", "case", "MVT", "::", "v2f64", ":", "RRC", "=", "ARM", "::", "DPRRegisterClass", ";", "Cost", "=", "2", ";", "break", ";", "case", "MVT", "::", "v4i64", ":", "RRC", "=", "ARM", "::", "DPRRegisterClass", ";", "Cost", "=", "4", ";", "break", ";", "case", "MVT", "::", "v8i64", ":", "RRC", "=", "ARM", "::", "DPRRegisterClass", ";", "Cost", "=", "8", ";", "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": ["ARM", "ARM", "0", "1", "MVT::f32", "MVT::f64", "MVT::v8i8", "MVT::v4i16", "MVT::v2i32", "MVT::v1i64", "MVT::v2f32", "ARM::DPRRegisterClass", "2", "MVT::v16i8", "MVT::v8i16", "MVT::v4i32", "MVT::v2i64", "MVT::v4f32", "MVT::v2f64", "ARM::DPRRegisterClass", "2", "MVT::v4i64", "ARM::DPRRegisterClass", "4", "MVT::v8i64", "ARM::DPRRegisterClass", "8"], "File": "ARMISelLowering114", "Func": "findRepresentativeClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10424, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "aarch64_embedded_comparison_type", "(", "stmt_vec_info", "stmt_info", ")", "{", "if", "(", "auto", "*", "assign", "=", "dyn_cast", "<", "gassign", "*", ">", "(", "stmt_info", "->", "stmt", ")", ")", "if", "(", "gimple_assign_rhs_code", "(", "assign", ")", "==", "COND_EXPR", ")", "{", "tree", "cond", "=", "gimple_assign_rhs1", "(", "assign", ")", ";", "if", "(", "COMPARISON_CLASS_P", "(", "cond", ")", ")", "return", "TREE_TYPE", "(", "TREE_OPERAND", "(", "cond", ",", "0", ")", ")", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["If", "STMT_INFO", "is", "a", "COND_EXPR", "that", "includes", "an", "embedded", "comparison", ",", "return", "the", "scalar", "type", "of", "the", "values", "being", "compared", ".", "Return", "null", "otherwise", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch641", "Func": "aarch64_embedded_comparison_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10425, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86DAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "OptForSize", "=", "MF", "->", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "OptimizeForSize", ")", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "I", "++", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "!", "Subtarget", "->", "isTargetNaCl", "(", ")", "&&", "(", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", "&&", "!", "Subtarget", "->", "callRegIndirect", "(", ")", ")", "||", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "TC_RETURN", "&&", "(", "Subtarget", "->", "is64Bit", "(", ")", "||", "getTargetMachine", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", ")", ")", ")", ")", "{", "bool", "HasCallSeq", "=", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", ";", "SDValue", "Chain", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Load", "=", "N", "->", "getOperand", "(", "1", ")", ";", "if", "(", "!", "isCalleeLoad", "(", "Load", ",", "Chain", ",", "HasCallSeq", ")", ")", "continue", ";", "MoveBelowOrigChain", "(", "CurDAG", ",", "Load", ",", "SDValue", "(", "N", ",", "0", ")", ",", "Chain", ")", ";", "++", "NumLoadMoved", ";", "continue", ";", "}", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_ROUND", "&&", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "MVT", "SrcVT", "=", "N", "->", "getOperand", "(", "0", ")", ".", "getSimpleValueType", "(", ")", ";", "MVT", "DstVT", "=", "N", "->", "getSimpleValueType", "(", "0", ")", ";", "if", "(", "SrcVT", ".", "isVector", "(", ")", "||", "DstVT", ".", "isVector", "(", ")", ")", "continue", ";", "const", "X86TargetLowering", "*", "X86Lowering", "=", "static_cast", "<", "const", "X86TargetLowering", "*", ">", "(", "getTargetLowering", "(", ")", ")", ";", "bool", "SrcIsSSE", "=", "X86Lowering", "->", "isScalarFPTypeInSSEReg", "(", "SrcVT", ")", ";", "bool", "DstIsSSE", "=", "X86Lowering", "->", "isScalarFPTypeInSSEReg", "(", "DstVT", ")", ";", "if", "(", "SrcIsSSE", "&&", "DstIsSSE", ")", "continue", ";", "if", "(", "!", "SrcIsSSE", "&&", "!", "DstIsSSE", ")", "{", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "if", "(", "N", "->", "getConstantOperandVal", "(", "1", ")", ")", "continue", ";", "}", "MVT", "MemVT", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_ROUND", ")", "MemVT", "=", "DstVT", ";", "else", "MemVT", "=", "SrcIsSSE", "?", "SrcVT", ":", "DstVT", ";", "SDValue", "MemTmp", "=", "CurDAG", "->", "CreateStackTemporary", "(", "MemVT", ")", ";", "SDLoc", "dl", "(", "N", ")", ";", "SDValue", "Store", "=", "CurDAG", "->", "getTruncStore", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "dl", ",", "N", "->", "getOperand", "(", "0", ")", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "SDValue", "Result", "=", "CurDAG", "->", "getExtLoad", "(", "ISD", "::", "EXTLOAD", ",", "dl", ",", "DstVT", ",", "Store", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "--", "I", ";", "CurDAG", "->", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "0", ")", ",", "Result", ")", ";", "++", "I", ";", "CurDAG", "->", "DeleteNode", "(", "N", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["X86", "X86", "X86ISD::CALL", "X86ISD::TC_RETURN", "X86ISD::CALL", "0", "1", "0", "ISD::FP_ROUND", "ISD::FP_EXTEND", "0", "0", "X86", "X86", "X86", "X86", "X86", "ISD::FP_EXTEND", "1", "ISD::FP_ROUND", "0", "0", "ISD::EXTLOAD", "0", "0"], "File": "X86ISelDAGToDAG125", "Func": "PreprocessISelDAG", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10426, "Length": 488, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "X86Subtarget", "*", "getSubtarget", "(", ")", "{", "return", "Subtarget", ";", "}", ""], "natrual_language": ["getSubtarget", "-", "Return", "the", "subtarget", "for", "which", "this", "machine", "code", "is", "being", "compiled", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering112", "Func": "getSubtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10427, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_emit_probe_stack_range", "(", "HOST_WIDE_INT", "first", ",", "HOST_WIDE_INT", "size", ")", "{", "if", "(", "TARGET_MIPS16", ")", "sorry", "(", "\"-fstack-check=specific not implemented for MIPS16\"", ")", ";", "if", "(", "first", "+", "size", "<=", "32768", ")", "{", "HOST_WIDE_INT", "i", ";", "for", "(", "i", "=", "PROBE_INTERVAL", ";", "i", "<", "size", ";", "i", "+=", "PROBE_INTERVAL", ")", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "(", "first", "+", "i", ")", ")", ")", ";", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "(", "first", "+", "size", ")", ")", ")", ";", "}", "else", "{", "HOST_WIDE_INT", "rounded_size", ";", "rtx", "r3", "=", "MIPS_PROLOGUE_TEMP", "(", "Pmode", ")", ";", "rtx", "r12", "=", "MIPS_PROLOGUE_TEMP2", "(", "Pmode", ")", ";", "gcc_assert", "(", "first", "<=", "32768", ")", ";", "rounded_size", "=", "ROUND_DOWN", "(", "size", ",", "PROBE_INTERVAL", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "r3", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "first", ")", ")", ")", ";", "if", "(", "rounded_size", ">", "32768", ")", "{", "emit_move_insn", "(", "r12", ",", "GEN_INT", "(", "rounded_size", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "r12", ",", "gen_rtx_MINUS", "(", "Pmode", ",", "r3", ",", "r12", ")", ")", ")", ";", "}", "else", "emit_insn", "(", "gen_rtx_SET", "(", "r12", ",", "plus_constant", "(", "Pmode", ",", "r3", ",", "-", "rounded_size", ")", ")", ")", ";", "emit_insn", "(", "PMODE_INSN", "(", "gen_probe_stack_range", ",", "(", "r3", ",", "r3", ",", "r12", ")", ")", ")", ";", "if", "(", "size", "!=", "rounded_size", ")", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "r12", ",", "rounded_size", "-", "size", ")", ")", ";", "}", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "probe", "a", "range", "of", "stack", "addresses", "from", "FIRST", "to", "FIRST+SIZE", ",", "inclusive", ".", "These", "are", "offsets", "from", "the", "current", "stack", "pointer", "."], "TS_V_token": ["mips", "\"-fstack-check=specific not implemented for MIPS16\"", "32768", "32768", "32768"], "File": "mips5", "Func": "mips_emit_probe_stack_range", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10428, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "nds32_output_tls_desc", "(", "rtx", "*", "operands", ")", "{", "char", "pattern", "[", "1000", "]", ";", "if", "(", "TARGET_RELAX_HINT", ")", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\".relax_hint %%1\\n\\tsethi $r0, hi20(%%0)\\n\\t\"", "\".relax_hint %%1\\n\\tori $r0, $r0, lo12(%%0)\\n\\t\"", "\".relax_hint %%1\\n\\tlw $r15, [$r0 + $gp]\\n\\t\"", "\".relax_hint %%1\\n\\tadd $r0, $r0, $gp\\n\\t\"", "\".relax_hint %%1\\n\\tjral $r15\"", ")", ";", "else", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"sethi $r0, hi20(%%0)\\n\\t\"", "\"ori $r0, $r0, lo12(%%0)\\n\\t\"", "\"lw $r15, [$r0 + $gp]\\n\\t\"", "\"add $r0, $r0, $gp\\n\\t\"", "\"jral $r15\"", ")", ";", "output_asm_insn", "(", "pattern", ",", "operands", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Auxiliary", "function", "for", "output", "TLS", "patterns", "."], "TS_V_token": ["nds32", "1000", "\".relax_hint %%1\\n\\tsethi $r0, hi20(%%0)\\n\\t\"", "\".relax_hint %%1\\n\\tori $r0, $r0, lo12(%%0)\\n\\t\"", "\".relax_hint %%1\\n\\tlw $r15, [$r0 + $gp]\\n\\t\"", "\".relax_hint %%1\\n\\tadd $r0, $r0, $gp\\n\\t\"", "\".relax_hint %%1\\n\\tjral $r15\"", "\"sethi $r0, hi20(%%0)\\n\\t\"", "\"ori $r0, $r0, lo12(%%0)\\n\\t\"", "\"lw $r15, [$r0 + $gp]\\n\\t\"", "\"add $r0, $r0, $gp\\n\\t\"", "\"jral $r15\"", "\"\""], "File": "nds32-md-auxiliary", "Func": "nds32_output_tls_desc", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10429, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "OperandMatchResultTy", "VEAsmParser", "::", "tryParseRegister", "(", "unsigned", "&", "RegNo", ",", "SMLoc", "&", "StartLoc", ",", "SMLoc", "&", "EndLoc", ")", "{", "const", "AsmToken", "Tok", "=", "Parser", ".", "getTok", "(", ")", ";", "StartLoc", "=", "Tok", ".", "getLoc", "(", ")", ";", "EndLoc", "=", "Tok", ".", "getEndLoc", "(", ")", ";", "RegNo", "=", "0", ";", "if", "(", "getLexer", "(", ")", ".", "getKind", "(", ")", "!=", "AsmToken", "::", "Percent", ")", "return", "MatchOperand_NoMatch", ";", "Parser", ".", "Lex", "(", ")", ";", "RegNo", "=", "parseRegisterName", "(", "&", "MatchRegisterName", ")", ";", "if", "(", "RegNo", "==", "VE", "::", "NoRegister", ")", "RegNo", "=", "parseRegisterName", "(", "&", "MatchRegisterAltName", ")", ";", "if", "(", "RegNo", "!=", "VE", "::", "NoRegister", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "MatchOperand_Success", ";", "}", "getLexer", "(", ")", ".", "UnLex", "(", "Tok", ")", ";", "return", "MatchOperand_NoMatch", ";", "}", ""], "natrual_language": ["tryParseRegister", "-", "parse", "one", "register", "if", "possible"], "TS_V_token": ["VE", "VE", "0", "VE::NoRegister", "VE::NoRegister"], "File": "VEAsmParser (2)", "Func": "tryParseRegister", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10430, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "sh_extending_set_of_reg", "::", "use_as_extended_reg", "(", "rtx_insn", "*", "use_at_insn", ")", "const", "{", "gcc_assert", "(", "insn", "!=", "NULL", "&&", "set_src", "!=", "NULL", "&&", "set_rtx", "!=", "NULL", ")", ";", "gcc_assert", "(", "ext_code", "==", "SIGN_EXTEND", "||", "ext_code", "==", "ZERO_EXTEND", ")", ";", "gcc_assert", "(", "from_mode", "==", "QImode", "||", "from_mode", "==", "HImode", ")", ";", "if", "(", "MEM_P", "(", "set_src", ")", "&&", "ext_code", "==", "SIGN_EXTEND", ")", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"use_as_extended_reg: converting non-extending mem load in \"", "\"insn %d into sign-extending load\\n\"", ",", "INSN_UID", "(", "insn", ")", ")", ";", "rtx", "r", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx_insn", "*", "i0", ";", "if", "(", "from_mode", "==", "QImode", ")", "i0", "=", "emit_insn_after", "(", "gen_extendqisi2", "(", "r", ",", "set_src", ")", ",", "insn", ")", ";", "else", "if", "(", "from_mode", "==", "HImode", ")", "i0", "=", "emit_insn_after", "(", "gen_extendhisi2", "(", "r", ",", "set_src", ")", ",", "insn", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "emit_insn_after", "(", "gen_move_insn", "(", "XEXP", "(", "set_rtx", ",", "0", ")", ",", "gen_lowpart", "(", "GET_MODE", "(", "set_src", ")", ",", "r", ")", ")", ",", "i0", ")", ";", "set_insn_deleted", "(", "insn", ")", ";", "return", "r", ";", "}", "else", "{", "rtx", "extension_dst", "=", "XEXP", "(", "set_rtx", ",", "0", ")", ";", "if", "(", "modified_between_p", "(", "extension_dst", ",", "insn", ",", "use_at_insn", ")", ")", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"use_as_extended_reg: dest reg %d of extending insn %d is \"", "\"modified, inserting a reg-reg copy\\n\"", ",", "REGNO", "(", "extension_dst", ")", ",", "INSN_UID", "(", "insn", ")", ")", ";", "rtx", "r", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn_after", "(", "gen_move_insn", "(", "r", ",", "extension_dst", ")", ",", "insn", ")", ";", "return", "r", ";", "}", "else", "{", "sh_remove_reg_dead_or_unused_notes", "(", "insn", ",", "REGNO", "(", "extension_dst", ")", ")", ";", "return", "extension_dst", ";", "}", "}", "}", ""], "natrual_language": ["Given", "a", "reg", "that", "is", "known", "to", "be", "sign", "or", "zero", "extended", "at", "some", "insn", ",", "take", "the", "appropriate", "measures", "so", "that", "the", "extended", "value", "can", "be", "used", "as", "a", "reg", "at", "the", "specified", "insn", "and", "return", "the", "resulting", "reg", "rtx", "."], "TS_V_token": ["sh", "\"use_as_extended_reg: converting non-extending mem load in \"", "\"insn %d into sign-extending load\\n\"", "0", "0", "\"use_as_extended_reg: dest reg %d of extending insn %d is \"", "\"modified, inserting a reg-reg copy\\n\""], "File": "sh4", "Func": "use_as_extended_reg", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10431, "Length": 257, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_set_sched_flags", "(", "spec_info_t", "spec_info", ")", "{", "unsigned", "int", "*", "flags", "=", "&", "(", "current_sched_info", "->", "flags", ")", ";", "if", "(", "*", "flags", "&", "SCHED_RGN", "||", "*", "flags", "&", "SCHED_EBB", "||", "*", "flags", "&", "SEL_SCHED", ")", "{", "int", "mask", "=", "0", ";", "if", "(", "(", "mflag_sched_br_data_spec", "&&", "!", "reload_completed", "&&", "optimize", ">", "0", ")", "||", "(", "mflag_sched_ar_data_spec", "&&", "reload_completed", ")", ")", "{", "mask", "|=", "BEGIN_DATA", ";", "if", "(", "!", "sel_sched_p", "(", ")", "&&", "(", "(", "mflag_sched_br_in_data_spec", "&&", "!", "reload_completed", ")", "||", "(", "mflag_sched_ar_in_data_spec", "&&", "reload_completed", ")", ")", ")", "mask", "|=", "BE_IN_DATA", ";", "}", "if", "(", "mflag_sched_control_spec", "&&", "(", "!", "sel_sched_p", "(", ")", "||", "reload_completed", ")", ")", "{", "mask", "|=", "BEGIN_CONTROL", ";", "if", "(", "!", "sel_sched_p", "(", ")", "&&", "mflag_sched_in_control_spec", ")", "mask", "|=", "BE_IN_CONTROL", ";", "}", "spec_info", "->", "mask", "=", "mask", ";", "if", "(", "mask", ")", "{", "*", "flags", "|=", "USE_DEPS_LIST", "|", "DO_SPECULATION", ";", "if", "(", "mask", "&", "BE_IN_SPEC", ")", "*", "flags", "|=", "NEW_BBS", ";", "spec_info", "->", "flags", "=", "0", ";", "if", "(", "(", "mask", "&", "CONTROL_SPEC", ")", "&&", "sel_sched_p", "(", ")", "&&", "mflag_sel_sched_dont_check_control_spec", ")", "spec_info", "->", "flags", "|=", "SEL_SCHED_SPEC_DONT_CHECK_CONTROL", ";", "if", "(", "sched_verbose", ">=", "1", ")", "spec_info", "->", "dump", "=", "sched_dump", ";", "else", "spec_info", "->", "dump", "=", "0", ";", "if", "(", "mflag_sched_count_spec_in_critical_path", ")", "spec_info", "->", "flags", "|=", "COUNT_SPEC_IN_CRITICAL_PATH", ";", "}", "}", "else", "spec_info", "->", "mask", "=", "0", ";", "}", ""], "natrual_language": ["Provide", "information", "about", "speculation", "capabilities", "."], "TS_V_token": ["ia64", "0", "0", "0", "1", "0", "0"], "File": "ia64", "Func": "ia64_set_sched_flags", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10432, "Length": 220, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "F2003fPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createF2003fISelDag", "(", "getF2003fTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["F2003f", "F2003f", "F2003f", "F2003f"], "File": "F2003fTargetMachine", "Func": "addInstSelector", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10433, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "LegalizerInfo", "*", "PPCSubtarget", "::", "getLegalizerInfo", "(", ")", "const", "{", "return", "Legalizer", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Expose", "LegalizerInfo", "so", "the", "clients", "can", "re-use", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCSubtarget13", "Func": "getLegalizerInfo", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10434, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "DLXAsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ")", "const", "{", "if", "(", "(", "Count", "%", "4", ")", "!=", "0", ")", "return", "false", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "<", "Count", ";", "i", "+=", "4", ")", "OS", ".", "write", "(", "\"\\x15\\0\\0\\0\"", ",", "4", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["DLX", "DLX", "4", "0", "0", "4", "\"\\x15\\0\\0\\0\"", "4"], "File": "DLXAsmBackend", "Func": "writeNopData", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10435, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_expand_vpc_loongson_even_odd", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "i", ",", "odd", ",", "nelt", "=", "d", "->", "nelt", ";", "rtx", "t0", ",", "t1", ",", "t2", ",", "t3", ";", "if", "(", "!", "(", "TARGET_HARD_FLOAT", "&&", "TARGET_LOONGSON_VECTORS", ")", ")", "return", "false", ";", "if", "(", "nelt", "<", "4", ")", "return", "false", ";", "odd", "=", "d", "->", "perm", "[", "0", "]", ";", "if", "(", "odd", ">", "1", ")", "return", "false", ";", "for", "(", "i", "=", "1", ";", "i", "<", "nelt", ";", "++", "i", ")", "if", "(", "d", "->", "perm", "[", "i", "]", "!=", "i", "*", "2", "+", "odd", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "t0", "=", "gen_reg_rtx", "(", "d", "->", "vmode", ")", ";", "t1", "=", "gen_reg_rtx", "(", "d", "->", "vmode", ")", ";", "switch", "(", "d", "->", "vmode", ")", "{", "case", "V4HImode", ":", "emit_insn", "(", "gen_loongson_punpckhhw", "(", "t0", ",", "d", "->", "op0", ",", "d", "->", "op1", ")", ")", ";", "emit_insn", "(", "gen_loongson_punpcklhw", "(", "t1", ",", "d", "->", "op0", ",", "d", "->", "op1", ")", ")", ";", "if", "(", "odd", ")", "emit_insn", "(", "gen_loongson_punpckhhw", "(", "d", "->", "target", ",", "t1", ",", "t0", ")", ")", ";", "else", "emit_insn", "(", "gen_loongson_punpcklhw", "(", "d", "->", "target", ",", "t1", ",", "t0", ")", ")", ";", "break", ";", "case", "V8QImode", ":", "t2", "=", "gen_reg_rtx", "(", "d", "->", "vmode", ")", ";", "t3", "=", "gen_reg_rtx", "(", "d", "->", "vmode", ")", ";", "emit_insn", "(", "gen_loongson_punpckhbh", "(", "t0", ",", "d", "->", "op0", ",", "d", "->", "op1", ")", ")", ";", "emit_insn", "(", "gen_loongson_punpcklbh", "(", "t1", ",", "d", "->", "op0", ",", "d", "->", "op1", ")", ")", ";", "emit_insn", "(", "gen_loongson_punpckhbh", "(", "t2", ",", "t1", ",", "t0", ")", ")", ";", "emit_insn", "(", "gen_loongson_punpcklbh", "(", "t3", ",", "t1", ",", "t0", ")", ")", ";", "if", "(", "odd", ")", "emit_insn", "(", "gen_loongson_punpckhbh", "(", "d", "->", "target", ",", "t3", ",", "t2", ")", ")", ";", "else", "emit_insn", "(", "gen_loongson_punpcklbh", "(", "d", "->", "target", ",", "t3", ",", "t2", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "for", "even-odd", "extraction", "."], "TS_V_token": ["mips", "4", "0", "1", "1", "2"], "File": "mips4", "Func": "mips_expand_vpc_loongson_even_odd", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10436, "Length": 327, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCInstrInfo", "::", "insertNoop", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "unsigned", "Directive", "=", "Subtarget", ".", "getDarwinDirective", "(", ")", ";", "unsigned", "Opcode", ";", "switch", "(", "Directive", ")", "{", "default", ":", "Opcode", "=", "PPC", "::", "NOP", ";", "break", ";", "case", "PPC", "::", "DIR_PWR6", ":", "Opcode", "=", "PPC", "::", "NOP_GT_PWR6", ";", "break", ";", "case", "PPC", "::", "DIR_PWR7", ":", "Opcode", "=", "PPC", "::", "NOP_GT_PWR7", ";", "break", ";", "case", "PPC", "::", "DIR_PWR8", ":", "Opcode", "=", "PPC", "::", "NOP_GT_PWR7", ";", "break", ";", "}", "DebugLoc", "DL", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opcode", ")", ")", ";", "}", ""], "natrual_language": ["Insert", "a", "noop", "into", "the", "instruction", "stream", "at", "the", "specified", "point", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::NOP", "PPC::DIR_PWR6", "PPC::NOP_GT_PWR6", "PPC::DIR_PWR7", "PPC::NOP_GT_PWR7", "PPC::DIR_PWR8", "PPC::NOP_GT_PWR7"], "File": "PPCInstrInfo (3)", "Func": "insertNoop", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10437, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "RegImmPair", ">", "AArch64InstrInfo", "::", "isAddImmediate", "(", "const", "MachineInstr", "&", "MI", ",", "Register", "Reg", ")", "const", "{", "int", "Sign", "=", "1", ";", "int64_t", "Offset", "=", "0", ";", "const", "MachineOperand", "&", "Op0", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "if", "(", "!", "Op0", ".", "isReg", "(", ")", "||", "Reg", "!=", "Op0", ".", "getReg", "(", ")", ")", "return", "None", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "None", ";", "case", "AArch64", "::", "SUBWri", ":", "case", "AArch64", "::", "SUBXri", ":", "case", "AArch64", "::", "SUBSWri", ":", "case", "AArch64", "::", "SUBSXri", ":", "Sign", "*=", "-", "1", ";", "LLVM_FALLTHROUGH", ";", "case", "AArch64", "::", "ADDSWri", ":", "case", "AArch64", "::", "ADDSXri", ":", "case", "AArch64", "::", "ADDWri", ":", "case", "AArch64", "::", "ADDXri", ":", "{", "if", "(", "!", "MI", ".", "getOperand", "(", "0", ")", ".", "isReg", "(", ")", "||", "!", "MI", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "||", "!", "MI", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", ")", "return", "None", ";", "Offset", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "*", "Sign", ";", "int", "Shift", "=", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "assert", "(", "(", "Shift", "==", "0", "||", "Shift", "==", "12", ")", "&&", "\"Shift can be either 0 or 12\"", ")", ";", "Offset", "=", "Offset", "<<", "Shift", ";", "}", "}", "return", "RegImmPair", "{", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ",", "Offset", "}", ";", "}", ""], "natrual_language": ["If", "the", "specific", "machine", "instruction", "is", "an", "instruction", "that", "adds", "an", "immediate", "value", "and", "a", "register", ",", "and", "stores", "the", "result", "in", "the", "given", "register", "Reg", ",", "return", "a", "pair", "of", "the", "source", "register", "and", "the", "offset", "which", "has", "been", "added", "."], "TS_V_token": ["AArch64", "AArch64", "1", "0", "0", "AArch64::SUBWri", "AArch64::SUBXri", "AArch64::SUBSWri", "AArch64::SUBSXri", "1", "AArch64::ADDSWri", "AArch64::ADDSXri", "AArch64::ADDWri", "AArch64::ADDXri", "0", "1", "2", "2", "3", "0", "12", "\"Shift can be either 0 or 12\"", "1"], "File": "AArch64InstrInfo120", "Func": "isAddImmediate", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10438, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_simd_check_vect_par_cnst_half_p", "(", "rtx", "op", ",", "machine_mode", "mode", ",", "bool", "high", ")", "{", "rtx", "ideal", "=", "arm_simd_vect_par_cnst_half", "(", "mode", ",", "high", ")", ";", "HOST_WIDE_INT", "count_op", "=", "XVECLEN", "(", "op", ",", "0", ")", ";", "HOST_WIDE_INT", "count_ideal", "=", "XVECLEN", "(", "ideal", ",", "0", ")", ";", "int", "i", "=", "0", ";", "if", "(", "!", "VECTOR_MODE_P", "(", "mode", ")", ")", "return", "false", ";", "if", "(", "count_op", "!=", "count_ideal", ")", "return", "false", ";", "for", "(", "i", "=", "0", ";", "i", "<", "count_ideal", ";", "i", "++", ")", "{", "rtx", "elt_op", "=", "XVECEXP", "(", "op", ",", "0", ",", "i", ")", ";", "rtx", "elt_ideal", "=", "XVECEXP", "(", "ideal", ",", "0", ",", "i", ")", ";", "if", "(", "!", "CONST_INT_P", "(", "elt_op", ")", "||", "INTVAL", "(", "elt_ideal", ")", "!=", "INTVAL", "(", "elt_op", ")", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Check", "OP", "for", "validity", "as", "a", "PARALLEL", "RTX", "vector", "with", "elements", "numbering", "the", "lanes", "of", "either", "the", "high", "(", "HIGH", "==", "TRUE", ")", "or", "low", "lanes", ",", "from", "the", "perspective", "of", "the", "architecture", ".", "See", "the", "diagram", "above", "arm_simd_vect_par_cnst_half_p", "for", "more", "details", "."], "TS_V_token": ["arm", "0", "0", "0", "0", "0", "0"], "File": "arm", "Func": "arm_simd_check_vect_par_cnst_half_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10439, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiInstrInfo", "::", "areMemAccessesTriviallyDisjoint", "(", "const", "MachineInstr", "&", "MIa", ",", "const", "MachineInstr", "&", "MIb", ")", "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": ["Lanai", "Lanai", "\"MIa must be a load or store.\"", "\"MIb must be a load or store.\"", "0", "0", "0", "0"], "File": "LanaiInstrInfo1", "Func": "areMemAccessesTriviallyDisjoint", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10440, "Length": 203, "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": 10441, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_builtin_reciprocal", "(", "unsigned", "int", "fn", ",", "bool", "md_fn", ",", "bool", ")", "{", "if", "(", "!", "(", "TARGET_SSE_MATH", "&&", "!", "optimize_insn_for_size_p", "(", ")", "&&", "flag_finite_math_only", "&&", "!", "flag_trapping_math", "&&", "flag_unsafe_math_optimizations", ")", ")", "return", "NULL_TREE", ";", "if", "(", "md_fn", ")", "switch", "(", "fn", ")", "{", "case", "IX86_BUILTIN_SQRTPS_NR", ":", "return", "ix86_get_builtin", "(", "IX86_BUILTIN_RSQRTPS_NR", ")", ";", "case", "IX86_BUILTIN_SQRTPS_NR256", ":", "return", "ix86_get_builtin", "(", "IX86_BUILTIN_RSQRTPS_NR256", ")", ";", "default", ":", "return", "NULL_TREE", ";", "}", "else", "switch", "(", "fn", ")", "{", "case", "BUILT_IN_SQRTF", ":", "return", "ix86_get_builtin", "(", "IX86_BUILTIN_RSQRTF", ")", ";", "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": ["i386"], "File": "i3864", "Func": "ix86_builtin_reciprocal", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10442, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rx_emit_stack_pushm", "(", "rtx", "*", "operands", ")", "{", "HOST_WIDE_INT", "last_reg", ";", "rtx", "first_push", ";", "gcc_assert", "(", "CONST_INT_P", "(", "operands", "[", "0", "]", ")", ")", ";", "last_reg", "=", "(", "INTVAL", "(", "operands", "[", "0", "]", ")", "/", "UNITS_PER_WORD", ")", "-", "1", ";", "gcc_assert", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "PARALLEL", ")", ";", "first_push", "=", "XVECEXP", "(", "operands", "[", "1", "]", ",", "0", ",", "1", ")", ";", "gcc_assert", "(", "SET_P", "(", "first_push", ")", ")", ";", "first_push", "=", "SET_SRC", "(", "first_push", ")", ";", "gcc_assert", "(", "REG_P", "(", "first_push", ")", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\tpushm\\t%s-%s\\n\"", ",", "reg_names", "[", "REGNO", "(", "first_push", ")", "-", "last_reg", "]", ",", "reg_names", "[", "REGNO", "(", "first_push", ")", "]", ")", ";", "}", ""], "natrual_language": ["Generate", "a", "PUSHM", "instruction", "that", "matches", "the", "given", "operands", "."], "TS_V_token": ["rx", "0", "0", "1", "1", "1", "0", "1", "\"\\tpushm\\t%s-%s\\n\""], "File": "rx", "Func": "rx_emit_stack_pushm", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10443, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "inlineStackProbe", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "PrologMBB", ")", "const", "{", "const", "StringRef", "ChkStkStubSymbol", "=", "\"__chkstk_stub\"", ";", "MachineInstr", "*", "ChkStkStub", "=", "nullptr", ";", "for", "(", "MachineInstr", "&", "MI", ":", "PrologMBB", ")", "{", "if", "(", "MI", ".", "isCall", "(", ")", "&&", "MI", ".", "getOperand", "(", "0", ")", ".", "isSymbol", "(", ")", "&&", "ChkStkStubSymbol", "==", "MI", ".", "getOperand", "(", "0", ")", ".", "getSymbolName", "(", ")", ")", "{", "ChkStkStub", "=", "&", "MI", ";", "break", ";", "}", "}", "if", "(", "ChkStkStub", "!=", "nullptr", ")", "{", "assert", "(", "!", "ChkStkStub", "->", "isBundled", "(", ")", "&&", "\"Not expecting bundled instructions here\"", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "std", "::", "next", "(", "ChkStkStub", "->", "getIterator", "(", ")", ")", ";", "assert", "(", "std", "::", "prev", "(", "MBBI", ")", "==", "ChkStkStub", "&&", "\"MBBI expected after __chkstk_stub.\"", ")", ";", "DebugLoc", "DL", "=", "PrologMBB", ".", "findDebugLoc", "(", "MBBI", ")", ";", "emitStackProbeInline", "(", "MF", ",", "PrologMBB", ",", "MBBI", ",", "DL", ",", "true", ")", ";", "ChkStkStub", "->", "eraseFromParent", "(", ")", ";", "}", "}", ""], "natrual_language": ["Replace", "a", "StackProbe", "inline-stub", "with", "the", "actual", "probe", "code", "inline", "."], "TS_V_token": ["X86", "X86", "\"__chkstk_stub\"", "0", "0", "\"Not expecting bundled instructions here\"", "\"MBBI expected after __chkstk_stub.\""], "File": "X86FrameLowering (2)2", "Func": "inlineStackProbe", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10444, "Length": 158, "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": 10445, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CSKYAsmBackend", "::", "relaxInstruction", "(", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "MCInst", "Res", ";", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "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": "CSKYAsmBackend", "Func": "relaxInstruction", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10446, "Length": 399, "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": 10447, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "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", "->", "isDebugValue", "(", ")", ")", "continue", ";", "if", "(", "!", "isUnpredicatedTerminator", "(", "*", "I", ")", ")", "break", ";", "if", "(", "!", "I", "->", "isBranch", "(", ")", ")", "return", "true", ";", "SystemZII", "::", "Branch", "Branch", "(", "getBranchInfo", "(", "*", "I", ")", ")", ";", "if", "(", "!", "Branch", ".", "Target", "->", "isMBB", "(", ")", ")", "return", "true", ";", "if", "(", "Branch", ".", "Type", "!=", "SystemZII", "::", "BranchNormal", ")", "return", "true", ";", "if", "(", "Branch", ".", "CCMask", "==", "SystemZ", "::", "CCMASK_ANY", ")", "{", "if", "(", "!", "AllowModify", ")", "{", "TBB", "=", "Branch", ".", "Target", "->", "getMBB", "(", ")", ";", "continue", ";", "}", "while", "(", "std", "::", "next", "(", "I", ")", "!=", "MBB", ".", "end", "(", ")", ")", "std", "::", "next", "(", "I", ")", "->", "eraseFromParent", "(", ")", ";", "Cond", ".", "clear", "(", ")", ";", "FBB", "=", "nullptr", ";", "if", "(", "MBB", ".", "isLayoutSuccessor", "(", "Branch", ".", "Target", "->", "getMBB", "(", ")", ")", ")", "{", "TBB", "=", "nullptr", ";", "I", "->", "eraseFromParent", "(", ")", ";", "I", "=", "MBB", ".", "end", "(", ")", ";", "continue", ";", "}", "TBB", "=", "Branch", ".", "Target", "->", "getMBB", "(", ")", ";", "continue", ";", "}", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "FBB", "=", "TBB", ";", "TBB", "=", "Branch", ".", "Target", "->", "getMBB", "(", ")", ";", "Cond", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "Branch", ".", "CCValid", ")", ")", ";", "Cond", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "Branch", ".", "CCMask", ")", ")", ";", "continue", ";", "}", "assert", "(", "Cond", ".", "size", "(", ")", "==", "2", "&&", "TBB", "&&", "\"Should have seen a conditional branch\"", ")", ";", "if", "(", "TBB", "!=", "Branch", ".", "Target", "->", "getMBB", "(", ")", ")", "return", "true", ";", "unsigned", "OldCCValid", "=", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ";", "unsigned", "OldCCMask", "=", "Cond", "[", "1", "]", ".", "getImm", "(", ")", ";", "if", "(", "OldCCValid", "==", "Branch", ".", "CCValid", "&&", "OldCCMask", "==", "Branch", ".", "CCMask", ")", "continue", ";", "return", "false", ";", "}", "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": ["SystemZ", "SystemZ", "SystemZII::Branch", "SystemZII::BranchNormal", "SystemZ::CCMASK_ANY", "2", "\"Should have seen a conditional branch\"", "0", "1"], "File": "SystemZInstrInfo15", "Func": "analyzeBranch", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10448, "Length": 376, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", "&&", "ExtraCode", "[", "0", "]", "!=", "'a'", ")", "return", "true", ";", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "assert", "(", "MO", ".", "isReg", "(", ")", "&&", "\"unexpected inline asm memory operand\"", ")", ";", "O", "<<", "\"[\"", "<<", "AArch64InstPrinter", "::", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", "<<", "\"]\"", ";", "return", "false", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "."], "TS_V_token": ["AArch64", "AArch64", "0", "0", "\"unexpected inline asm memory operand\"", "\"[\"", "AArch64", "\"]\""], "File": "AArch64AsmPrinter1", "Func": "PrintAsmMemoryOperand", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10449, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SVEIntrinsicOpts", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "bool", "Changed", "=", "false", ";", "SmallSetVector", "<", "Function", "*", ",", "4", ">", "Functions", ";", "for", "(", "auto", "&", "F", ":", "M", ".", "getFunctionList", "(", ")", ")", "{", "if", "(", "!", "F", ".", "isDeclaration", "(", ")", ")", "continue", ";", "switch", "(", "F", ".", "getIntrinsicID", "(", ")", ")", "{", "case", "Intrinsic", "::", "aarch64_sve_convert_from_svbool", ":", "case", "Intrinsic", "::", "aarch64_sve_ptest_any", ":", "case", "Intrinsic", "::", "aarch64_sve_ptest_first", ":", "case", "Intrinsic", "::", "aarch64_sve_ptest_last", ":", "for", "(", "User", "*", "U", ":", "F", ".", "users", "(", ")", ")", "Functions", ".", "insert", "(", "cast", "<", "Instruction", ">", "(", "U", ")", "->", "getFunction", "(", ")", ")", ";", "break", ";", "default", ":", "break", ";", "}", "}", "if", "(", "!", "Functions", ".", "empty", "(", ")", ")", "Changed", "|=", "optimizeFunctions", "(", "Functions", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["AArch64", "4", "Intrinsic::aarch64_sve_convert_from_svbool", "Intrinsic::aarch64_sve_ptest_any", "Intrinsic::aarch64_sve_ptest_first", "Intrinsic::aarch64_sve_ptest_last"], "File": "SVEIntrinsicOpts10", "Func": "runOnModule", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10450, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "AND", ":", "return", "LowerANDOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BRCOND", ":", "return", "LowerBRCOND", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "CALL", ":", "return", "LowerCALL", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "LowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "LowerDYNAMIC_STACKALLOC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FORMAL_ARGUMENTS", ":", "return", "LowerFORMAL_ARGUMENTS", "(", "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", "::", "OR", ":", "return", "LowerANDOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RET", ":", "return", "LowerRET", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "LowerSELECT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SETCC", ":", "return", "LowerSETCC", "(", "Op", ",", "DAG", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Mips", "Mips", "ISD::AND", "ISD::BRCOND", "ISD::CALL", "ISD::ConstantPool", "ISD::DYNAMIC_STACKALLOC", "ISD::FORMAL_ARGUMENTS", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::JumpTable", "ISD::OR", "ISD::RET", "ISD::SELECT", "ISD::SETCC"], "File": "MipsISelLowering87", "Func": "LowerOperation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10451, "Length": 198, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mmix_asm_preferred_eh_data_format", "(", "int", "code", "ATTRIBUTE_UNUSED", ",", "int", "global", "ATTRIBUTE_UNUSED", ")", "{", "return", "DW_EH_PE_absptr", ";", "}", ""], "natrual_language": ["ASM_PREFERRED_EH_DATA_FORMAT", "."], "TS_V_token": ["mmix"], "File": "mmix", "Func": "mmix_asm_preferred_eh_data_format", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10452, "Length": 16, "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": 10453, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "LanaiInstrInfo", "::", "insertBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "TrueBlock", ",", "MachineBasicBlock", "*", "FalseBlock", ",", "ArrayRef", "<", "MachineOperand", ">", "Condition", ",", "const", "DebugLoc", "&", "DL", ",", "int", "*", "BytesAdded", ")", "const", "{", "assert", "(", "TrueBlock", "&&", "\"insertBranch must not be told to insert a fallthrough\"", ")", ";", "assert", "(", "!", "BytesAdded", "&&", "\"code size not handled\"", ")", ";", "if", "(", "Condition", ".", "empty", "(", ")", ")", "{", "assert", "(", "!", "FalseBlock", "&&", "\"Unconditional branch with multiple successors!\"", ")", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "Lanai", "::", "BT", ")", ")", ".", "addMBB", "(", "TrueBlock", ")", ";", "return", "1", ";", "}", "assert", "(", "(", "Condition", ".", "size", "(", ")", "==", "1", ")", "&&", "\"Lanai branch conditions should have one component.\"", ")", ";", "unsigned", "ConditionalCode", "=", "Condition", "[", "0", "]", ".", "getImm", "(", ")", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "Lanai", "::", "BRCC", ")", ")", ".", "addMBB", "(", "TrueBlock", ")", ".", "addImm", "(", "ConditionalCode", ")", ";", "if", "(", "!", "FalseBlock", ")", "return", "1", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "Lanai", "::", "BT", ")", ")", ".", "addMBB", "(", "FalseBlock", ")", ";", "return", "2", ";", "}", ""], "natrual_language": ["Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "."], "TS_V_token": ["Lanai", "Lanai", "\"insertBranch must not be told to insert a fallthrough\"", "\"code size not handled\"", "\"Unconditional branch with multiple successors!\"", "Lanai::BT", "1", "1", "\"Lanai branch conditions should have one component.\"", "0", "Lanai::BRCC", "1", "Lanai::BT", "2"], "File": "LanaiInstrInfo (2)", "Func": "insertBranch", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10454, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_load_constant_and_splat", "(", "machine_mode", "mode", ",", "REAL_VALUE_TYPE", "dconst", ")", "{", "rtx", "reg", ";", "if", "(", "mode", "==", "SFmode", "||", "mode", "==", "DFmode", ")", "{", "rtx", "d", "=", "const_double_from_real_value", "(", "dconst", ",", "mode", ")", ";", "reg", "=", "force_reg", "(", "mode", ",", "d", ")", ";", "}", "else", "if", "(", "mode", "==", "V4SFmode", ")", "{", "rtx", "d", "=", "const_double_from_real_value", "(", "dconst", ",", "SFmode", ")", ";", "rtvec", "v", "=", "gen_rtvec", "(", "4", ",", "d", ",", "d", ",", "d", ",", "d", ")", ";", "reg", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rs6000_expand_vector_init", "(", "reg", ",", "gen_rtx_PARALLEL", "(", "mode", ",", "v", ")", ")", ";", "}", "else", "if", "(", "mode", "==", "V2DFmode", ")", "{", "rtx", "d", "=", "const_double_from_real_value", "(", "dconst", ",", "DFmode", ")", ";", "rtvec", "v", "=", "gen_rtvec", "(", "2", ",", "d", ",", "d", ")", ";", "reg", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rs6000_expand_vector_init", "(", "reg", ",", "gen_rtx_PARALLEL", "(", "mode", ",", "v", ")", ")", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "return", "reg", ";", "}", ""], "natrual_language": ["Load", "up", "a", "constant", ".", "If", "the", "mode", "is", "a", "vector", "mode", ",", "splat", "the", "value", "across", "all", "of", "the", "vector", "elements", "."], "TS_V_token": ["powerpcspe", "4", "2"], "File": "powerpcspe", "Func": "rs6000_load_constant_and_splat", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10455, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sparc_function_arg", "(", "cumulative_args_t", "cum", ",", "const", "function_arg_info", "&", "arg", ")", "{", "return", "sparc_function_arg_1", "(", "cum", ",", "arg", ",", "false", ")", ";", "}", ""], "natrual_language": ["Handle", "the", "TARGET_FUNCTION_ARG", "target", "hook", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "sparc_function_arg", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10456, "Length": 24, "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": 10457, "Length": 42, "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", "::", "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", ")", ")", "{", "restoreCRs", "(", "Subtarget", ".", "isPPC64", "(", ")", ",", "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", ")", "restoreCRs", "(", "Subtarget", ".", "isPPC64", "(", ")", ",", "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::CR2", "PPC::CR3", "PPC::CR4", "PPC::CR2", "PPC::CR4", "PPC", "\"loadRegFromStackSlot didn't insert any code!\"", "PPC"], "File": "PPCFrameLowering", "Func": "restoreCalleeSavedRegisters", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10458, "Length": 384, "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": 10459, "Length": 321, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "AArch64Subtarget", "*", "AArch64TargetMachine", "::", "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", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "CPU", "+", "FS", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "std", "::", "make_unique", "<", "AArch64Subtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "*", "this", ",", "isLittle", ")", ";", "}", "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": ["AArch64", "AArch64", "AArch64", "\"target-cpu\"", "\"target-features\"", "AArch64"], "File": "AArch64TargetMachine33", "Func": "getSubtargetImpl", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10460, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "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": "MLxExpansionPass11", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10461, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_expand_sve_vcond", "(", "machine_mode", "data_mode", ",", "machine_mode", "cmp_mode", ",", "rtx", "*", "ops", ")", "{", "machine_mode", "pred_mode", "=", "aarch64_get_mask_mode", "(", "cmp_mode", ")", ".", "require", "(", ")", ";", "rtx", "pred", "=", "gen_reg_rtx", "(", "pred_mode", ")", ";", "if", "(", "FLOAT_MODE_P", "(", "cmp_mode", ")", ")", "{", "if", "(", "aarch64_expand_sve_vec_cmp_float", "(", "pred", ",", "GET_CODE", "(", "ops", "[", "3", "]", ")", ",", "ops", "[", "4", "]", ",", "ops", "[", "5", "]", ",", "true", ")", ")", "std", "::", "swap", "(", "ops", "[", "1", "]", ",", "ops", "[", "2", "]", ")", ";", "}", "else", "aarch64_expand_sve_vec_cmp_int", "(", "pred", ",", "GET_CODE", "(", "ops", "[", "3", "]", ")", ",", "ops", "[", "4", "]", ",", "ops", "[", "5", "]", ")", ";", "if", "(", "!", "aarch64_sve_reg_or_dup_imm", "(", "ops", "[", "1", "]", ",", "data_mode", ")", ")", "ops", "[", "1", "]", "=", "force_reg", "(", "data_mode", ",", "ops", "[", "1", "]", ")", ";", "if", "(", "register_operand", "(", "ops", "[", "1", "]", ",", "data_mode", ")", "||", "!", "aarch64_simd_reg_or_zero", "(", "ops", "[", "2", "]", ",", "data_mode", ")", ")", "ops", "[", "2", "]", "=", "force_reg", "(", "data_mode", ",", "ops", "[", "2", "]", ")", ";", "rtvec", "vec", "=", "gen_rtvec", "(", "3", ",", "pred", ",", "ops", "[", "1", "]", ",", "ops", "[", "2", "]", ")", ";", "emit_set_insn", "(", "ops", "[", "0", "]", ",", "gen_rtx_UNSPEC", "(", "data_mode", ",", "vec", ",", "UNSPEC_SEL", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "an", "SVE", "vcond", "pattern", "with", "operands", "OPS", ".", "DATA_MODE", "is", "the", "mode", "of", "the", "data", "being", "selected", "and", "CMP_MODE", "is", "the", "mode", "of", "the", "values", "being", "compared", "."], "TS_V_token": ["aarch64", "3", "4", "5", "1", "2", "3", "4", "5", "1", "1", "1", "1", "2", "2", "2", "3", "1", "2", "0"], "File": "aarch64", "Func": "aarch64_expand_sve_vcond", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10462, "Length": 213, "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", ")", "{", "argstr", "=", "NULL", ";", "if", "(", "!", "strcmp", "(", "q", ",", "\"thumb\"", ")", ")", "{", "opts", "->", "x_target_flags", "|=", "MASK_THUMB", ";", "if", "(", "TARGET_FDPIC", "&&", "!", "arm_arch_thumb2", ")", "sorry", "(", "\"FDPIC mode is not supported in Thumb-1 mode\"", ")", ";", "}", "else", "if", "(", "!", "strcmp", "(", "q", ",", "\"arm\"", ")", ")", "opts", "->", "x_target_flags", "&=", "~", "MASK_THUMB", ";", "else", "if", "(", "!", "strcmp", "(", "q", ",", "\"general-regs-only\"", ")", ")", "opts", "->", "x_target_flags", "|=", "MASK_GENERAL_REGS_ONLY", ";", "else", "if", "(", "startswith", "(", "q", ",", "\"fpu=\"", ")", ")", "{", "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", "(", "startswith", "(", "q", ",", "\"arch=\"", ")", ")", "{", "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\"", "\"FDPIC mode is not supported in Thumb-1 mode\"", "\"arm\"", "\"general-regs-only\"", "\"fpu=\"", "4", "\"invalid fpu for target attribute or pragma %qs\"", "\"auto fpu selection not currently permitted here\"", "\"arch=\"", "5", "\"arch\"", "\"invalid architecture for target attribute or pragma %qs\"", "0", "\"%s%s\"", "\"unknown target attribute or pragma %qs\""], "File": "arm", "Func": "arm_valid_target_attribute_rec", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10463, "Length": 367, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isTarget64BitILP32", "(", ")", "const", "{", "if", "(", "NaClDontBreakABI", ")", "{", "return", "In64BitMode", "&&", "(", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "GNUX32", ")", ";", "}", "return", "In64BitMode", "&&", "(", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "GNUX32", "||", "TargetTriple", ".", "isOSNaCl", "(", ")", ")", ";", "}", ""], "natrual_language": ["Is", "this", "x86_64", "with", "the", "ILP32", "programming", "model", "(", "x32", "ABI", ")", "?"], "TS_V_token": ["X86"], "File": "X86Subtarget109", "Func": "isTarget64BitILP32", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10464, "Length": 49, "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": 10465, "Length": 25, "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", ",", "bytes", ")", "==", "-", "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": "AArch64Disassembler10", "Func": "getInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10466, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16RegisterInfo", "::", "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": ["Mips", "Mips"], "File": "Mips16RegisterInfo11", "Func": "requiresRegisterScavenging", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10467, "Length": 16, "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", ";", "bool", "isLoad", "=", "true", ";", "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", "(", ")", ";", "isLoad", "=", "false", ";", "}", "else", "return", "false", ";", "if", "(", "isLoad", "&&", "usePartialVectorLoads", "(", "N", ",", "Subtarget", ")", ")", "{", "return", "false", ";", "}", "if", "(", "VT", ".", "isVector", "(", ")", ")", "{", "if", "(", "!", "Subtarget", ".", "hasQPX", "(", ")", "||", "(", "VT", "!=", "MVT", "::", "v4f64", "&&", "VT", "!=", "MVT", "::", "v4f32", ")", ")", "{", "return", "false", ";", "}", "else", "if", "(", "SelectAddressRegRegOnly", "(", "Ptr", ",", "Offset", ",", "Base", ",", "DAG", ")", ")", "{", "AM", "=", "ISD", "::", "PRE_INC", ";", "return", "true", ";", "}", "}", "if", "(", "SelectAddressRegReg", "(", "Ptr", ",", "Base", ",", "Offset", ",", "DAG", ")", ")", "{", "bool", "Swap", "=", "false", ";", "if", "(", "isa", "<", "FrameIndexSDNode", ">", "(", "Base", ")", "||", "isa", "<", "RegisterSDNode", ">", "(", "Base", ")", ")", "Swap", "=", "true", ";", "else", "if", "(", "!", "isLoad", ")", "{", "SDValue", "Val", "=", "cast", "<", "StoreSDNode", ">", "(", "N", ")", "->", "getValue", "(", ")", ";", "if", "(", "Val", "==", "Base", "||", "Base", ".", "getNode", "(", ")", "->", "isPredecessorOf", "(", "Val", ".", "getNode", "(", ")", ")", ")", "Swap", "=", "true", ";", "}", "if", "(", "Swap", ")", "std", "::", "swap", "(", "Base", ",", "Offset", ")", ";", "AM", "=", "ISD", "::", "PRE_INC", ";", "return", "true", ";", "}", "if", "(", "VT", "!=", "MVT", "::", "i64", ")", "{", "if", "(", "!", "SelectAddressRegImm", "(", "Ptr", ",", "Offset", ",", "Base", ",", "DAG", ",", "0", ")", ")", "return", "false", ";", "}", "else", "{", "if", "(", "Alignment", "<", "4", ")", "return", "false", ";", "if", "(", "!", "SelectAddressRegImm", "(", "Ptr", ",", "Offset", ",", "Base", ",", "DAG", ",", "4", ")", ")", "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::v4f64", "MVT::v4f32", "ISD::PRE_INC", "ISD::PRE_INC", "MVT::i64", "0", "4", "4", "0", "MVT::i64", "MVT::i32", "ISD::SEXTLOAD", "ISD::PRE_INC"], "File": "PPCISelLowering101", "Func": "getPreIndexedAddressParts", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10468, "Length": 460, "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", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "const", "MipsRegisterInfo", "&", "RegInfo", "=", "*", "static_cast", "<", "const", "MipsRegisterInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "SP", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "SP_64", ":", "Mips", "::", "SP", ";", "unsigned", "FP", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "FP_64", ":", "Mips", "::", "FP", ";", "unsigned", "ZERO", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "ZERO_64", ":", "Mips", "::", "ZERO", ";", "unsigned", "ADDu", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "DADDu", ":", "Mips", "::", "ADDu", ";", "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", "(", "MipsFI", "->", "callsEhReturn", "(", ")", ")", "{", "const", "TargetRegisterClass", "*", "RC", "=", "STI", ".", "isABI_N64", "(", ")", "?", "&", "Mips", "::", "CPU64RegsRegClass", ":", "&", "Mips", "::", "CPURegsRegClass", ";", "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", ")", ",", "MipsFI", "->", "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": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::SP_64", "Mips::SP", "Mips::FP_64", "Mips::FP", "Mips::ZERO_64", "Mips::ZERO", "Mips::DADDu", "Mips::ADDu", "0", "Mips", "Mips::CPU64RegsRegClass", "Mips::CPURegsRegClass", "0", "0", "4", "Mips"], "File": "MipsSEFrameLowering18", "Func": "emitEpilogue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10469, "Length": 378, "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": 10470, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mt_generate_compare", "(", "enum", "rtx_code", "code", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "rtx", "scratch0", ",", "scratch1", ",", "const_scratch", ";", "switch", "(", "code", ")", "{", "case", "GTU", ":", "case", "LTU", ":", "case", "GEU", ":", "case", "LEU", ":", "scratch0", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "scratch1", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "const_scratch", "=", "force_reg", "(", "SImode", ",", "GEN_INT", "(", "MT_MIN_INT", ")", ")", ";", "emit_insn", "(", "gen_addsi3", "(", "scratch0", ",", "const_scratch", ",", "op0", ")", ")", ";", "emit_insn", "(", "gen_addsi3", "(", "scratch1", ",", "const_scratch", ",", "op1", ")", ")", ";", "break", ";", "default", ":", "scratch0", "=", "op0", ";", "scratch1", "=", "op1", ";", "break", ";", "}", "switch", "(", "code", ")", "{", "case", "GTU", ":", "code", "=", "GT", ";", "break", ";", "case", "LTU", ":", "code", "=", "LT", ";", "break", ";", "case", "GEU", ":", "code", "=", "GE", ";", "break", ";", "case", "LEU", ":", "code", "=", "LE", ";", "break", ";", "default", ":", "break", ";", "}", "return", "gen_rtx_fmt_ee", "(", "code", ",", "VOIDmode", ",", "scratch0", ",", "scratch1", ")", ";", "}", ""], "natrual_language": ["Generate", "a", "compare", "for", "CODE", ".", "Return", "a", "brand-new", "rtx", "that", "represents", "the", "result", "of", "the", "compare", "."], "TS_V_token": ["mt"], "File": "mt", "Func": "mt_generate_compare", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10471, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "areMemAccessesTriviallyDisjoint", "(", "const", "MachineInstr", "&", "MIa", ",", "const", "MachineInstr", "&", "MIb", ",", "AliasAnalysis", "*", "AA", ")", "const", "{", "const", "TargetRegisterInfo", "*", "TRI", "=", "&", "getRegisterInfo", "(", ")", ";", "const", "MachineOperand", "*", "BaseOpA", "=", "nullptr", ",", "*", "BaseOpB", "=", "nullptr", ";", "int64_t", "OffsetA", "=", "0", ",", "OffsetB", "=", "0", ";", "unsigned", "WidthA", "=", "0", ",", "WidthB", "=", "0", ";", "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", ";", "if", "(", "getMemOperandWithOffsetWidth", "(", "MIa", ",", "BaseOpA", ",", "OffsetA", ",", "WidthA", ",", "TRI", ")", "&&", "getMemOperandWithOffsetWidth", "(", "MIb", ",", "BaseOpB", ",", "OffsetB", ",", "WidthB", ",", "TRI", ")", ")", "{", "if", "(", "BaseOpA", "->", "isIdenticalTo", "(", "*", "BaseOpB", ")", ")", "{", "int", "LowOffset", "=", "OffsetA", "<", "OffsetB", "?", "OffsetA", ":", "OffsetB", ";", "int", "HighOffset", "=", "OffsetA", "<", "OffsetB", "?", "OffsetB", ":", "OffsetA", ";", "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": ["AArch64", "AArch64", "0", "0", "0", "0", "\"MIa must be a load or store.\"", "\"MIb must be a load or store.\""], "File": "AArch64InstrInfo10", "Func": "areMemAccessesTriviallyDisjoint", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10472, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_split_compare_and_swap", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "rval", ",", "mem", ",", "oldval", ",", "newval", ",", "scratch", ";", "machine_mode", "mode", ";", "enum", "memmodel", "mod_s", ",", "mod_f", ";", "bool", "is_weak", ";", "rtx_code_label", "*", "label1", ",", "*", "label2", ";", "rtx", "x", ",", "cond", ";", "rval", "=", "operands", "[", "0", "]", ";", "mem", "=", "operands", "[", "1", "]", ";", "oldval", "=", "operands", "[", "2", "]", ";", "newval", "=", "operands", "[", "3", "]", ";", "is_weak", "=", "(", "operands", "[", "4", "]", "!=", "const0_rtx", ")", ";", "mod_s", "=", "memmodel_from_int", "(", "INTVAL", "(", "operands", "[", "5", "]", ")", ")", ";", "mod_f", "=", "memmodel_from_int", "(", "INTVAL", "(", "operands", "[", "6", "]", ")", ")", ";", "scratch", "=", "operands", "[", "7", "]", ";", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "bool", "is_armv8_sync", "=", "arm_arch8", "&&", "is_mm_sync", "(", "mod_s", ")", ";", "bool", "use_acquire", "=", "TARGET_HAVE_LDACQ", "&&", "!", "(", "is_mm_relaxed", "(", "mod_s", ")", "||", "is_mm_consume", "(", "mod_s", ")", "||", "is_mm_release", "(", "mod_s", ")", ")", ";", "bool", "use_release", "=", "TARGET_HAVE_LDACQ", "&&", "!", "(", "is_mm_relaxed", "(", "mod_s", ")", "||", "is_mm_consume", "(", "mod_s", ")", "||", "is_mm_acquire", "(", "mod_s", ")", ")", ";", "if", "(", "is_armv8_sync", ")", "use_acquire", "=", "false", ";", "if", "(", "!", "(", "use_acquire", "||", "use_release", ")", ")", "arm_pre_atomic_barrier", "(", "mod_s", ")", ";", "label1", "=", "NULL", ";", "if", "(", "!", "is_weak", ")", "{", "label1", "=", "gen_label_rtx", "(", ")", ";", "emit_label", "(", "label1", ")", ";", "}", "label2", "=", "gen_label_rtx", "(", ")", ";", "arm_emit_load_exclusive", "(", "mode", ",", "rval", ",", "mem", ",", "use_acquire", ")", ";", "cond", "=", "arm_gen_compare_reg", "(", "NE", ",", "rval", ",", "oldval", ",", "scratch", ")", ";", "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", ")", ")", ";", "arm_emit_store_exclusive", "(", "mode", ",", "scratch", ",", "mem", ",", "newval", ",", "use_release", ")", ";", "cond", "=", "gen_rtx_REG", "(", "CCmode", ",", "CC_REGNUM", ")", ";", "x", "=", "gen_rtx_COMPARE", "(", "CCmode", ",", "scratch", ",", "const0_rtx", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "cond", ",", "x", ")", ")", ";", "if", "(", "!", "is_weak", ")", "{", "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", "(", "!", "is_mm_relaxed", "(", "mod_f", ")", ")", "emit_label", "(", "label2", ")", ";", "if", "(", "is_armv8_sync", "||", "!", "(", "use_acquire", "||", "use_release", ")", ")", "arm_post_atomic_barrier", "(", "mod_s", ")", ";", "if", "(", "is_mm_relaxed", "(", "mod_f", ")", ")", "emit_label", "(", "label2", ")", ";", "}", ""], "natrual_language": ["Split", "a", "compare", "and", "swap", "pattern", ".", "It", "is", "IMPLEMENTATION", "DEFINED", "whether", "another", "memory", "store", "between", "the", "load-exclusive", "and", "store-exclusive", "can", "reset", "the", "monitor", "from", "Exclusive", "to", "Open", "state", ".", "This", "means", "we", "must", "wait", "until", "after", "reload", "to", "split", "the", "pattern", ",", "lest", "we", "get", "a", "register", "spill", "in", "the", "middle", "of", "the", "atomic", "sequence", "."], "TS_V_token": ["arm", "0", "1", "2", "3", "4", "5", "6", "7"], "File": "arm5", "Func": "arm_split_compare_and_swap", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10473, "Length": 423, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "csky_constant_alignment", "(", "const_tree", "exp", ",", "HOST_WIDE_INT", "align", ")", "{", "if", "(", "TREE_CODE", "(", "exp", ")", "==", "STRING_CST", "&&", "!", "optimize_size", "&&", "align", "<", "BITS_PER_WORD", ")", "return", "BITS_PER_WORD", ";", "return", "align", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CONSTANT_ALIGNMENT", ".", "Make", "strings", "word-aligned", "so", "strcpy", "from", "constants", "will", "be", "faster", "."], "TS_V_token": ["csky"], "File": "csky", "Func": "csky_constant_alignment", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10474, "Length": 34, "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": 10475, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rs6000_builtin_mask_for_load", "(", "void", ")", "{", "if", "(", "TARGET_ALTIVEC", "||", "TARGET_VSX", ")", "return", "altivec_builtin_mask_for_load", ";", "else", "return", "0", ";", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.builtin_mask_for_load", "."], "TS_V_token": ["rs6000", "0"], "File": "rs60004", "Func": "rs6000_builtin_mask_for_load", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10476, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "static", "int", "number_of_first_bit_set", "(", "unsigned", "mask", ")", "{", "return", "ctz_hwi", "(", "mask", ")", ";", "}", ""], "natrual_language": ["Return", "the", "number", "(", "counting", "from", "0", ")", "of", "the", "least", "significant", "set", "bit", "in", "MASK", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "number_of_first_bit_set", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10477, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86CallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "ArrayRef", "<", "unsigned", ">", "VRegs", ")", "const", "{", "assert", "(", "(", "(", "Val", "&&", "!", "VRegs", ".", "empty", "(", ")", ")", "||", "(", "!", "Val", "&&", "VRegs", ".", "empty", "(", ")", ")", ")", "&&", "\"Return value without a vreg\"", ")", ";", "auto", "MIB", "=", "MIRBuilder", ".", "buildInstrNoInsert", "(", "X86", "::", "RET", ")", ".", "addImm", "(", "0", ")", ";", "if", "(", "!", "VRegs", ".", "empty", "(", ")", ")", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "auto", "&", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "LLVMContext", "&", "Ctx", "=", "Val", "->", "getType", "(", ")", "->", "getContext", "(", ")", ";", "const", "X86TargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "X86TargetLowering", ">", "(", ")", ";", "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", ")", "{", "ArgInfo", "CurArgInfo", "=", "ArgInfo", "{", "VRegs", "[", "i", "]", ",", "SplitEVTs", "[", "i", "]", ".", "getTypeForEVT", "(", "Ctx", ")", "}", ";", "setArgFlags", "(", "CurArgInfo", ",", "AttributeList", "::", "ReturnIndex", ",", "DL", ",", "F", ")", ";", "if", "(", "!", "splitToValueTypes", "(", "CurArgInfo", ",", "SplitArgs", ",", "DL", ",", "MRI", ",", "[", "&", "]", "(", "ArrayRef", "<", "unsigned", ">", "Regs", ")", "{", "MIRBuilder", ".", "buildUnmerge", "(", "Regs", ",", "VRegs", "[", "i", "]", ")", ";", "}", ")", ")", "return", "false", ";", "}", "OutgoingValueHandler", "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", "X86", "X86", "4", "\"For each split Type there should be exactly one VReg.\"", "8", "0", "X86"], "File": "X86CallLowering", "Func": "lowerReturn", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10478, "Length": 329, "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": 10479, "Length": 313, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_split_constant", "(", "enum", "rtx_code", "code", ",", "machine_mode", "mode", ",", "rtx", "insn", ",", "HOST_WIDE_INT", "val", ",", "rtx", "target", ",", "rtx", "source", ",", "int", "subtargets", ")", "{", "rtx", "cond", ";", "if", "(", "insn", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "COND_EXEC", ")", "cond", "=", "COND_EXEC_TEST", "(", "PATTERN", "(", "insn", ")", ")", ";", "else", "cond", "=", "NULL_RTX", ";", "if", "(", "subtargets", "||", "code", "==", "SET", "||", "(", "REG_P", "(", "target", ")", "&&", "REG_P", "(", "source", ")", "&&", "REGNO", "(", "target", ")", "!=", "REGNO", "(", "source", ")", ")", ")", "{", "if", "(", "!", "cfun", "->", "machine", "->", "after_arm_reorg", "&&", "!", "cond", "&&", "(", "arm_gen_constant", "(", "code", ",", "mode", ",", "NULL_RTX", ",", "val", ",", "target", ",", "source", ",", "1", ",", "0", ")", ">", "(", "arm_constant_limit", "(", "optimize_function_for_size_p", "(", "cfun", ")", ")", "+", "(", "code", "!=", "SET", ")", ")", ")", ")", "{", "if", "(", "code", "==", "SET", ")", "{", "if", "(", "TARGET_USE_MOVT", ")", "arm_emit_movpair", "(", "target", ",", "GEN_INT", "(", "val", ")", ")", ";", "else", "emit_set_insn", "(", "target", ",", "GEN_INT", "(", "val", ")", ")", ";", "return", "1", ";", "}", "else", "{", "rtx", "temp", "=", "subtargets", "?", "gen_reg_rtx", "(", "mode", ")", ":", "target", ";", "if", "(", "TARGET_USE_MOVT", ")", "arm_emit_movpair", "(", "temp", ",", "GEN_INT", "(", "val", ")", ")", ";", "else", "emit_set_insn", "(", "temp", ",", "GEN_INT", "(", "val", ")", ")", ";", "if", "(", "code", "==", "MINUS", ")", "emit_set_insn", "(", "target", ",", "gen_rtx_MINUS", "(", "mode", ",", "temp", ",", "source", ")", ")", ";", "else", "emit_set_insn", "(", "target", ",", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "source", ",", "temp", ")", ")", ";", "return", "2", ";", "}", "}", "}", "return", "arm_gen_constant", "(", "code", ",", "mode", ",", "cond", ",", "val", ",", "target", ",", "source", ",", "subtargets", ",", "1", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "sequence", "of", "insns", "to", "handle", "a", "large", "constant", ".", "CODE", "is", "the", "code", "of", "the", "operation", "required", ",", "it", "can", "be", "any", "of", "SET", ",", "PLUS", ",", "IOR", ",", "AND", ",", "XOR", ",", "MINUS", ";", "MODE", "is", "the", "mode", "in", "which", "the", "operation", "is", "being", "performed", ";", "VAL", "is", "the", "integer", "to", "operate", "on", ";", "SOURCE", "is", "the", "other", "operand", "(", "a", "register", ",", "or", "a", "null-pointer", "for", "SET", ")", ";", "SUBTARGETS", "means", "it", "is", "safe", "to", "create", "scratch", "registers", "if", "that", "will", "either", "produce", "a", "simpler", "sequence", ",", "or", "we", "will", "want", "to", "cse", "the", "values", ".", "Return", "value", "is", "the", "number", "of", "insns", "emitted", "."], "TS_V_token": ["arm", "1", "0", "1", "2", "1"], "File": "arm", "Func": "arm_split_constant", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10480, "Length": 278, "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": "PPCFrameLowering23", "Func": "determineFrameLayout", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10481, "Length": 280, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "or1k_print_operand_address", "(", "FILE", "*", "file", ",", "machine_mode", ",", "rtx", "addr", ")", "{", "rtx", "offset", ";", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "REG", ":", "fputc", "(", "'0'", ",", "file", ")", ";", "break", ";", "case", "PLUS", ":", "offset", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "addr", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "gcc_assert", "(", "CONST_INT_P", "(", "offset", ")", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "LO_SUM", ")", "{", "print_reloc", "(", "file", ",", "XEXP", "(", "addr", ",", "1", ")", ",", "INTVAL", "(", "offset", ")", ",", "RKIND_LO", ")", ";", "addr", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "}", "else", "output_addr_const", "(", "file", ",", "offset", ")", ";", "break", ";", "case", "LO_SUM", ":", "offset", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "addr", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "print_reloc", "(", "file", ",", "offset", ",", "0", ",", "RKIND_LO", ")", ";", "break", ";", "default", ":", "output_addr_const", "(", "file", ",", "addr", ")", ";", "return", ";", "}", "fprintf", "(", "file", ",", "\"(%s)\"", ",", "reg_names", "[", "REGNO", "(", "addr", ")", "]", ")", ";", "}", ""], "natrual_language": ["Worker", "for", "TARGET_PRINT_OPERAND_ADDRESS", ".", "Prints", "the", "argument", "ADDR", ",", "an", "address", "RTX", ",", "to", "the", "file", "FILE", ".", "The", "output", "is", "formed", "as", "expected", "by", "the", "OpenRISC", "assembler", ".", "Examples", ":", "RTX", "OUTPUT", "(", "reg", ":", "SI", "3", ")", "0", "(", "r3", ")", "(", "plus", ":", "SI", "(", "reg", ":", "SI", "3", ")", "(", "const_int", "4", ")", ")", "0x4", "(", "r3", ")", "(", "lo_sum", ":", "SI", "(", "reg", ":", "SI", "3", ")", "(", "symbol_ref", ":", "SI", "(", "``", "x", "''", ")", ")", ")", ")", "lo", "(", "x", ")", "(", "r3", ")"], "TS_V_token": ["or1k", "1", "0", "1", "0", "1", "0", "0", "\"(%s)\""], "File": "or1k", "Func": "or1k_print_operand_address", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10482, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "ParseInstruction", "(", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ")", "{", "if", "(", "requestsDoubleOperand", "(", "Name", ")", ")", "{", "setFpFormat", "(", "FP_FORMAT_D", ")", ";", "Operands", ".", "push_back", "(", "MipsOperand", "::", "CreateToken", "(", "Name", ",", "NameLoc", ")", ")", ";", "}", "else", "{", "setDefaultFpFormat", "(", ")", ";", "size_t", "Start", "=", "0", ",", "Next", "=", "Name", ".", "find", "(", "'.'", ")", ";", "StringRef", "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", ",", "Name", ")", ")", "{", "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": "MipsAsmParser41", "Func": "ParseInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10483, "Length": 458, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "PPCRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AnyReg", ")", "{", "if", "(", "Subtarget", ".", "hasVSX", "(", ")", ")", "return", "CSR_64_AllRegs_VSX_SaveList", ";", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "CSR_64_AllRegs_Altivec_SaveList", ";", "return", "CSR_64_AllRegs_SaveList", ";", "}", "if", "(", "Subtarget", ".", "isDarwinABI", "(", ")", ")", "return", "TM", ".", "isPPC64", "(", ")", "?", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_Darwin64_Altivec_SaveList", ":", "CSR_Darwin64_SaveList", ")", ":", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_Darwin32_Altivec_SaveList", ":", "CSR_Darwin32_SaveList", ")", ";", "bool", "SaveR2", "=", "MF", "->", "getRegInfo", "(", ")", ".", "isAllocatable", "(", "PPC", "::", "X2", ")", ";", "return", "TM", ".", "isPPC64", "(", ")", "?", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "(", "SaveR2", "?", "CSR_SVR464_R2_Altivec_SaveList", ":", "CSR_SVR464_Altivec_SaveList", ")", ":", "(", "SaveR2", "?", "CSR_SVR464_R2_SaveList", ":", "CSR_SVR464_SaveList", ")", ")", ":", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_SVR432_Altivec_SaveList", ":", "CSR_SVR432_SaveList", ")", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC::X2", "PPC"], "File": "PPCRegisterInfo (2)1", "Func": "getCalleeSavedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10484, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_sls_create_blr_label", "(", "int", "regnum", ")", "{", "gcc_assert", "(", "STUB_REGNUM_P", "(", "regnum", ")", ")", ";", "if", "(", "optimize_function_for_size_p", "(", "cfun", ")", ")", "{", "aarch64_sls_shared_thunks_needed", "=", "true", ";", "const", "char", "*", "thunk_name", "=", "indirect_symbol_names", "[", "regnum", "]", ";", "if", "(", "aarch64_sls_shared_thunks", "[", "regnum", "]", "==", "NULL", ")", "{", "tree", "decl", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FUNCTION_DECL", ",", "get_identifier", "(", "thunk_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", ";", "DECL_ARTIFICIAL", "(", "decl", ")", "=", "1", ";", "make_decl_one_only", "(", "decl", ",", "DECL_ASSEMBLER_NAME", "(", "decl", ")", ")", ";", "resolve_unique_section", "(", "decl", ",", "0", ",", "false", ")", ";", "aarch64_sls_shared_thunks", "[", "regnum", "]", "=", "decl", ";", "}", "return", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "thunk_name", ")", ";", "}", "if", "(", "cfun", "->", "machine", "->", "call_via", "[", "regnum", "]", "==", "NULL", ")", "cfun", "->", "machine", "->", "call_via", "[", "regnum", "]", "=", "gen_rtx_LABEL_REF", "(", "Pmode", ",", "gen_label_rtx", "(", ")", ")", ";", "return", "cfun", "->", "machine", "->", "call_via", "[", "regnum", "]", ";", "}", ""], "natrual_language": ["Function", "to", "create", "a", "BLR", "thunk", ".", "This", "thunk", "is", "used", "to", "mitigate", "straight", "line", "speculation", ".", "Instead", "of", "a", "simple", "BLR", "that", "can", "be", "speculated", "past", ",", "we", "emit", "a", "BL", "to", "this", "thunk", ",", "and", "this", "thunk", "contains", "a", "BR", "to", "the", "relevant", "register", ".", "These", "thunks", "have", "the", "relevant", "speculation", "barries", "put", "after", "their", "indirect", "branch", "so", "that", "speculation", "is", "blocked", ".", "We", "use", "such", "a", "thunk", "so", "the", "speculation", "barriers", "are", "kept", "off", "the", "architecturally", "executed", "path", "in", "order", "to", "reduce", "the", "performance", "overhead", ".", "When", "optimizing", "for", "size", "we", "use", "stubs", "shared", "by", "the", "linked", "object", ".", "When", "optimizing", "for", "performance", "we", "emit", "stubs", "for", "each", "function", "in", "the", "hope", "that", "the", "branch", "predictor", "can", "better", "train", "on", "jumps", "specific", "for", "a", "given", "function", "."], "TS_V_token": ["aarch64", "1", "1", "1", "1", "0"], "File": "aarch641", "Func": "aarch64_sls_create_blr_label", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10485, "Length": 191, "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", ",", "StringRef", "SymName", "=", "StringRef", "(", ")", ",", "void", "*", "OpDecl", "=", "nullptr", ",", "unsigned", "FrontendSize", "=", "0", ")", "{", "assert", "(", "(", "SegReg", "||", "BaseReg", "||", "IndexReg", ")", "&&", "\"Invalid memory operand!\"", ")", ";", "assert", "(", "(", "(", "Scale", "==", "1", "||", "Scale", "==", "2", "||", "Scale", "==", "4", "||", "Scale", "==", "8", ")", ")", "&&", "\"Invalid scale!\"", ")", ";", "auto", "Res", "=", "llvm", "::", "make_unique", "<", "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", "->", "Mem", ".", "ModeSize", "=", "ModeSize", ";", "Res", "->", "Mem", ".", "FrontendSize", "=", "FrontendSize", ";", "Res", "->", "SymName", "=", "SymName", ";", "Res", "->", "OpDecl", "=", "OpDecl", ";", "Res", "->", "AddressOf", "=", "false", ";", "return", "Res", ";", "}", ""], "natrual_language": ["Create", "a", "generalized", "memory", "operand", "."], "TS_V_token": ["X86", "X86", "0", "0", "\"Invalid memory operand!\"", "1", "2", "4", "8", "\"Invalid scale!\"", "X86"], "File": "X86Operand10", "Func": "CreateMem", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10486, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_pic_helper", "(", "void", ")", "{", "const", "char", "*", "pic_name", "=", "reg_names", "[", "REGNO", "(", "pic_offset_table_rtx", ")", "]", ";", "int", "align", ";", "text_section", "(", ")", ";", "align", "=", "floor_log2", "(", "FUNCTION_BOUNDARY", "/", "BITS_PER_UNIT", ")", ";", "if", "(", "align", ">", "0", ")", "ASM_OUTPUT_ALIGN", "(", "asm_out_file", ",", "align", ")", ";", "ASM_OUTPUT_LABEL", "(", "asm_out_file", ",", "pic_helper_symbol_name", ")", ";", "if", "(", "flag_delayed_branch", ")", "fprintf", "(", "asm_out_file", ",", "\"\\tjmp\\t%%o7+8\\n\\t add\\t%%o7, %s, %s\\n\"", ",", "pic_name", ",", "pic_name", ")", ";", "else", "fprintf", "(", "asm_out_file", ",", "\"\\tadd\\t%%o7, %s, %s\\n\\tjmp\\t%%o7+8\\n\\t nop\\n\"", ",", "pic_name", ",", "pic_name", ")", ";", "pic_helper_emitted_p", "=", "true", ";", "}", ""], "natrual_language": ["Emit", "the", "special", "PIC", "helper", "function", "."], "TS_V_token": ["sparc", "0", "\"\\tjmp\\t%%o7+8\\n\\t add\\t%%o7, %s, %s\\n\"", "\"\\tadd\\t%%o7, %s, %s\\n\\tjmp\\t%%o7+8\\n\\t nop\\n\""], "File": "sparc3", "Func": "emit_pic_helper", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10487, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "expand_fusion_p9_store", "(", "rtx", "*", "operands", ")", "{", "rtx", "tmp_reg", "=", "operands", "[", "0", "]", ";", "rtx", "addis_value", "=", "operands", "[", "1", "]", ";", "rtx", "orig_mem", "=", "operands", "[", "2", "]", ";", "rtx", "src", "=", "operands", "[", "3", "]", ";", "rtx", "new_addr", ",", "new_mem", ",", "orig_addr", ",", "offset", ",", "set", ",", "clobber", ",", "insn", ",", "new_src", ";", "enum", "rtx_code", "plus_or_lo_sum", ";", "machine_mode", "target_mode", "=", "GET_MODE", "(", "orig_mem", ")", ";", "machine_mode", "ptr_mode", "=", "Pmode", ";", "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", ")", ";", "new_src", "=", "gen_rtx_UNSPEC", "(", "target_mode", ",", "gen_rtvec", "(", "1", ",", "src", ")", ",", "UNSPEC_FUSION_P9", ")", ";", "set", "=", "gen_rtx_SET", "(", "new_mem", ",", "new_src", ")", ";", "clobber", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "tmp_reg", ")", ";", "insn", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "set", ",", "clobber", ")", ")", ";", "emit_insn", "(", "insn", ")", ";", "return", ";", "}", ""], "natrual_language": ["During", "the", "peephole2", "pass", ",", "adjust", "and", "expand", "the", "insns", "for", "an", "extended", "fusion", "store", "sequence", ".", "The", "operands", "are", ":", "operands", "[", "0", "]", "register", "set", "with", "addis", "operands", "[", "1", "]", "value", "set", "via", "addis", "operands", "[", "2", "]", "target", "D-form", "memory", "being", "stored", "to", "operands", "[", "3", "]", "register", "being", "stored", "This", "is", "similar", "to", "the", "fusion", "introduced", "with", "power8", ",", "except", "it", "scales", "to", "both", "loads/stores", "and", "does", "not", "require", "the", "result", "register", "to", "be", "the", "same", "as", "the", "base", "register", ".", "At", "the", "moment", ",", "we", "only", "do", "this", "if", "register", "set", "with", "addis", "is", "dead", "."], "TS_V_token": ["powerpcspe", "0", "1", "2", "3", "0", "1", "1", "2"], "File": "powerpcspe", "Func": "expand_fusion_p9_store", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10488, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_expand_vec_init_builtin", "(", "tree", "type", ",", "tree", "arglist", ",", "rtx", "target", ")", "{", "enum", "machine_mode", "tmode", "=", "TYPE_MODE", "(", "type", ")", ";", "enum", "machine_mode", "inner_mode", "=", "GET_MODE_INNER", "(", "tmode", ")", ";", "int", "i", ",", "n_elt", "=", "GET_MODE_NUNITS", "(", "tmode", ")", ";", "rtvec", "v", "=", "rtvec_alloc", "(", "n_elt", ")", ";", "gcc_assert", "(", "VECTOR_MODE_P", "(", "tmode", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n_elt", ";", "++", "i", ",", "arglist", "=", "TREE_CHAIN", "(", "arglist", ")", ")", "{", "rtx", "x", "=", "expand_expr", "(", "TREE_VALUE", "(", "arglist", ")", ",", "NULL_RTX", ",", "VOIDmode", ",", "0", ")", ";", "RTVEC_ELT", "(", "v", ",", "i", ")", "=", "gen_lowpart", "(", "inner_mode", ",", "x", ")", ";", "}", "gcc_assert", "(", "arglist", "==", "NULL", ")", ";", "if", "(", "!", "target", "||", "!", "register_operand", "(", "target", ",", "tmode", ")", ")", "target", "=", "gen_reg_rtx", "(", "tmode", ")", ";", "ix86_expand_vector_init", "(", "true", ",", "target", ",", "gen_rtx_PARALLEL", "(", "tmode", ",", "v", ")", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "ix86_expand_builtin", ".", "These", "builtins", "are", "a", "wrapper", "around", "ix86_expand_vector_init", ".", "We", "DO", "have", "language-level", "syntax", "for", "this", ",", "in", "the", "form", "of", "(", "type", ")", "{", "init-list", "}", ".", "Except", "that", "since", "we", "ca", "n't", "place", "emms", "instructions", "from", "inside", "the", "compiler", ",", "we", "ca", "n't", "allow", "the", "use", "of", "MMX", "registers", "unless", "the", "user", "explicitly", "asks", "for", "it", ".", "So", "we", "do", "*", "not", "*", "define", "vec_set/vec_extract/vec_init", "patterns", "for", "MMX", "modes", "in", "mmx.md", ".", "Instead", "we", "have", "builtins", "invoked", "by", "mmintrin.h", "that", "gives", "us", "license", "to", "emit", "these", "sorts", "of", "instructions", "."], "TS_V_token": ["i386", "0", "0"], "File": "i3863", "Func": "ix86_expand_vec_init_builtin", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10489, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "SHUXIFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "SHUXIInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "SHUXIInstrInfo", "*", ">", "(", "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", "(", "SHUXI", "::", "SUBri", ")", ",", "SHUXI", "::", "SP", ")", ".", "addReg", "(", "SHUXI", "::", "SP", ")", ".", "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", "(", "SHUXI", "::", "ADDri", ")", ",", "SHUXI", "::", "SP", ")", ".", "addReg", "(", "SHUXI", "::", "SP", ")", ".", "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", "(", "SHUXI", "::", "SUBri", ")", ",", "SHUXI", "::", "SP", ")", ".", "addReg", "(", "SHUXI", "::", "SP", ")", ".", "addImm", "(", "CalleeAmt", ")", ";", "New", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "}", "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": ["SHUXI", "SHUXI", "SHUXI", "SHUXI", "0", "0", "1", "SHUXI::SUBri", "SHUXI::SP", "SHUXI::SP", "1", "SHUXI::ADDri", "SHUXI::SP", "SHUXI::SP", "3", "1", "SHUXI::SUBri", "SHUXI::SP", "SHUXI::SP", "3"], "File": "SHUXIFrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10490, "Length": 381, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "getMachineCombinerPatterns", "(", "MachineInstr", "&", "Root", ",", "SmallVectorImpl", "<", "MachineCombinerPattern", "::", "MC_PATTERN", ">", "&", "Patterns", ")", "const", "{", "bool", "Commute", ";", "if", "(", "isReassociationCandidate", "(", "Root", ",", "Commute", ")", ")", "{", "if", "(", "Commute", ")", "{", "Patterns", ".", "push_back", "(", "MachineCombinerPattern", "::", "MC_REASSOC_AX_YB", ")", ";", "Patterns", ".", "push_back", "(", "MachineCombinerPattern", "::", "MC_REASSOC_XA_YB", ")", ";", "}", "else", "{", "Patterns", ".", "push_back", "(", "MachineCombinerPattern", "::", "MC_REASSOC_AX_BY", ")", ";", "Patterns", ".", "push_back", "(", "MachineCombinerPattern", "::", "MC_REASSOC_XA_BY", ")", ";", "}", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "when", "there", "is", "potentially", "a", "faster", "code", "sequence", "for", "an", "instruction", "chain", "ending", "in", "Root", "."], "TS_V_token": ["X86", "X86"], "File": "X86InstrInfo123", "Func": "getMachineCombinerPatterns", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10491, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "thumb_pop", "(", "FILE", "*", "f", ",", "unsigned", "long", "mask", ")", "{", "int", "regno", ";", "int", "lo_mask", "=", "mask", "&", "0xFF", ";", "int", "pushed_words", "=", "0", ";", "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", ",", "\", \"", ")", ";", "pushed_words", "++", ";", "}", "}", "if", "(", "mask", "&", "(", "1", "<<", "PC_REGNUM", ")", ")", "{", "if", "(", "TARGET_INTERWORK", "||", "TARGET_BACKTRACE", "||", "crtl", "->", "calls_eh_return", ")", "{", "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", "0", "1", "1", "\"\\tpop\\t{\"", "0", "1", "1", "\"%r\"", "1", "0", "\", \"", "1", "\"}\\n\"", "1", "0xFF", "\", \"", "\"%r\"", "\"}\\n\""], "File": "arm4", "Func": "thumb_pop", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10492, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CCAssignFn", "*", "MipsFastISel", "::", "CCAssignFnForCall", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "return", "CC_MipsO32", ";", "}", ""], "natrual_language": ["Selects", "the", "correct", "CCAssignFn", "for", "a", "given", "CallingConvention", "value", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsFastISel", "Func": "CCAssignFnForCall", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10493, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "x86_64_elf_select_section", "(", "tree", "decl", ",", "int", "reloc", ",", "unsigned", "HOST_WIDE_INT", "align", ")", "{", "if", "(", "(", "ix86_cmodel", "==", "CM_MEDIUM", "||", "ix86_cmodel", "==", "CM_MEDIUM_PIC", ")", "&&", "ix86_in_large_data_p", "(", "decl", ")", ")", "{", "const", "char", "*", "sname", "=", "NULL", ";", "unsigned", "int", "flags", "=", "SECTION_WRITE", ";", "switch", "(", "categorize_decl_for_section", "(", "decl", ",", "reloc", ",", "flag_pic", ")", ")", "{", "case", "SECCAT_DATA", ":", "sname", "=", "\".ldata\"", ";", "break", ";", "case", "SECCAT_DATA_REL", ":", "sname", "=", "\".ldata.rel\"", ";", "break", ";", "case", "SECCAT_DATA_REL_LOCAL", ":", "sname", "=", "\".ldata.rel.local\"", ";", "break", ";", "case", "SECCAT_DATA_REL_RO", ":", "sname", "=", "\".ldata.rel.ro\"", ";", "break", ";", "case", "SECCAT_DATA_REL_RO_LOCAL", ":", "sname", "=", "\".ldata.rel.ro.local\"", ";", "break", ";", "case", "SECCAT_BSS", ":", "sname", "=", "\".lbss\"", ";", "flags", "|=", "SECTION_BSS", ";", "break", ";", "case", "SECCAT_RODATA", ":", "case", "SECCAT_RODATA_MERGE_STR", ":", "case", "SECCAT_RODATA_MERGE_STR_INIT", ":", "case", "SECCAT_RODATA_MERGE_CONST", ":", "sname", "=", "\".lrodata\"", ";", "flags", "=", "0", ";", "break", ";", "case", "SECCAT_SRODATA", ":", "case", "SECCAT_SDATA", ":", "case", "SECCAT_SBSS", ":", "gcc_unreachable", "(", ")", ";", "case", "SECCAT_TEXT", ":", "case", "SECCAT_TDATA", ":", "case", "SECCAT_TBSS", ":", "break", ";", "}", "if", "(", "sname", ")", "{", "if", "(", "!", "DECL_P", "(", "decl", ")", ")", "named_section_flags", "(", "sname", ",", "flags", ")", ";", "else", "named_section", "(", "decl", ",", "sname", ",", "reloc", ")", ";", "return", ";", "}", "}", "default_elf_select_section", "(", "decl", ",", "reloc", ",", "align", ")", ";", "}", ""], "natrual_language": ["switch", "to", "the", "appropriate", "section", "for", "output", "of", "DECL", ".", "DECL", "is", "either", "a", "`", "VAR_DECL", "'", "node", "or", "a", "constant", "of", "some", "sort", ".", "RELOC", "indicates", "whether", "forming", "the", "initial", "value", "of", "DECL", "requires", "link-time", "relocations", "."], "TS_V_token": ["i386", "\".ldata\"", "\".ldata.rel\"", "\".ldata.rel.local\"", "\".ldata.rel.ro\"", "\".ldata.rel.ro.local\"", "\".lbss\"", "\".lrodata\"", "0"], "File": "i3863", "Func": "x86_64_elf_select_section", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10494, "Length": 207, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_extra_live_on_entry", "(", "bitmap", "regs", ")", "{", "if", "(", "TARGET_USE_GOT", ")", "{", "if", "(", "!", "TARGET_ABSOLUTE_ABICALLS", ")", "bitmap_set_bit", "(", "regs", ",", "PIC_FUNCTION_ADDR_REGNUM", ")", ";", "if", "(", "TARGET_MIPS16", ")", "bitmap_set_bit", "(", "regs", ",", "MIPS16_PIC_TEMP_REGNUM", ")", ";", "bitmap_set_bit", "(", "regs", ",", "GOT_VERSION_REGNUM", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_EXTRA_LIVE_ON_ENTRY", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_extra_live_on_entry", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10495, "Length": 45, "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", ")", "||", "isExynosShiftLeftFast", "(", "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": "AArch64InstrInfo115", "Func": "isAsCheapAsAMove", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10496, "Length": 332, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "addExpr", "(", "MCInst", "&", "Inst", ",", "const", "MCExpr", "*", "Expr", ")", "const", "{", "if", "(", "Expr", "==", "0", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "0", ")", ")", ";", "else", "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": ["Cpu0", "0", "0"], "File": "Cpu0AsmParser", "Func": "addExpr", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10497, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLegalMaskedGather", "(", "Type", "*", "DataType", ",", "MaybeAlign", "Alignment", ")", "{", "return", "isVectorLaneType", "(", "*", "getLaneType", "(", "DataType", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "gather", "."], "TS_V_token": ["VE"], "File": "VETargetTransformInfo", "Func": "isLegalMaskedGather", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10498, "Length": 22, "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", "(", ")", ")", ";", "}", ""], "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": "PPCTargetMachine14", "Func": "addPreRegAlloc", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10499, "Length": 82, "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": 10500, "Length": 202, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_small_data_pattern_p", "(", "rtx", "op", ")", "{", "return", "mips_small_data_pattern_1", "(", "op", ",", "SYMBOL_CONTEXT_LEA", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "refers", "to", "small", "data", "symbols", "directly", ",", "not", "through", "a", "LO_SUM", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_small_data_pattern_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10501, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "rs6000_libcall_value", "(", "machine_mode", "mode", ")", "{", "unsigned", "int", "regno", ";", "if", "(", "TARGET_32BIT", "&&", "TARGET_POWERPC64", "&&", "mode", "==", "DImode", ")", "return", "rs6000_parallel_return", "(", "mode", ",", "2", ",", "SImode", ",", "GP_ARG_RETURN", ",", "1", ")", ";", "if", "(", "DECIMAL_FLOAT_MODE_P", "(", "mode", ")", "&&", "TARGET_HARD_FLOAT", ")", "regno", "=", "(", "mode", "==", "TDmode", ")", "?", "FP_ARG_RETURN", "+", "1", ":", "FP_ARG_RETURN", ";", "else", "if", "(", "SCALAR_FLOAT_MODE_NOT_VECTOR_P", "(", "mode", ")", "&&", "TARGET_HARD_FLOAT", ")", "regno", "=", "FP_ARG_RETURN", ";", "else", "if", "(", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "mode", ")", "&&", "TARGET_ALTIVEC", "&&", "TARGET_ALTIVEC_ABI", ")", "regno", "=", "ALTIVEC_ARG_RETURN", ";", "else", "if", "(", "COMPLEX_MODE_P", "(", "mode", ")", "&&", "targetm", ".", "calls", ".", "split_complex_arg", ")", "return", "rs6000_complex_function_value", "(", "mode", ")", ";", "else", "regno", "=", "GP_ARG_RETURN", ";", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "}", ""], "natrual_language": ["Define", "how", "to", "find", "the", "value", "returned", "by", "a", "library", "function", "assuming", "the", "value", "has", "mode", "MODE", "."], "TS_V_token": ["rs6000", "2", "1", "1"], "File": "rs6000", "Func": "rs6000_libcall_value", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10502, "Length": 122, "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", "==", "NULL", ")", "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": "MipsISelLowering100", "Func": "getSingleConstraintMatchWeight", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10503, "Length": 215, "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": 10504, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "detect_cmse_nonsecure_call", "(", "tree", "addr", ")", "{", "if", "(", "!", "addr", ")", "return", "FALSE", ";", "tree", "fntype", "=", "TREE_TYPE", "(", "addr", ")", ";", "if", "(", "use_cmse", "&&", "lookup_attribute", "(", "\"cmse_nonsecure_call\"", ",", "TYPE_ATTRIBUTES", "(", "fntype", ")", ")", ")", "return", "TRUE", ";", "return", "FALSE", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "-mcmse", "has", "been", "passed", "and", "the", "function", "pointed", "to", "by", "'addr", "'", "has", "the", "cmse_nonsecure_call", "attribute", "and", "returns", "false", "otherwise", "."], "TS_V_token": ["arm", "\"cmse_nonsecure_call\""], "File": "arm", "Func": "detect_cmse_nonsecure_call", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10505, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZFrameInfo", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "const", "TargetFrameInfo", "&", "TFI", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "SystemZInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "SystemZInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "SystemZMachineFunctionInfo", "*", "SystemZMFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "DL", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "StackSize", "-=", "SystemZMFI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "uint64_t", "NumBytes", "=", "StackSize", "-", "TFI", ".", "getOffsetOfLocalArea", "(", ")", ";", "while", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", "&&", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "SystemZ", "::", "MOV64mr", "||", "MBBI", "->", "getOpcode", "(", ")", "==", "SystemZ", "::", "MOV64mrm", ")", ")", "++", "MBBI", ";", "if", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "StackSize", "||", "MFI", "->", "hasCalls", "(", ")", ")", "{", "assert", "(", "MF", ".", "getRegInfo", "(", ")", ".", "isPhysRegUsed", "(", "SystemZ", "::", "R15D", ")", "&&", "\"Invalid stack frame calculation!\"", ")", ";", "emitSPUpdate", "(", "MBB", ",", "MBBI", ",", "-", "(", "int64_t", ")", "NumBytes", ",", "TII", ")", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "SystemZ", "::", "MOV64rr", ")", ",", "SystemZ", "::", "R11D", ")", ".", "addReg", "(", "SystemZ", "::", "R15D", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "llvm", "::", "next", "(", "MF", ".", "begin", "(", ")", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "I", "->", "addLiveIn", "(", "SystemZ", "::", "R11D", ")", ";", "}", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ::MOV64mr", "SystemZ::MOV64mrm", "SystemZ::R15D", "\"Invalid stack frame calculation!\"", "SystemZ::MOV64rr", "SystemZ::R11D", "SystemZ::R15D", "SystemZ::R11D"], "File": "SystemZFrameInfo", "Func": "emitPrologue", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10506, "Length": 323, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "MCFixupKind", ">", "AArch64AsmBackend", "::", "getFixupKind", "(", "StringRef", "Name", ")", "const", "{", "if", "(", "TheTriple", ".", "isOSBinFormatELF", "(", ")", "&&", "Name", "==", "\"R_AARCH64_NONE\"", ")", "return", "FK_NONE", ";", "return", "MCAsmBackend", "::", "getFixupKind", "(", "Name", ")", ";", "}", ""], "natrual_language": ["getFixupKind", "-", "Get", "the", "fixup", "kind", "of", "this", "expression", "."], "TS_V_token": ["AArch64", "AArch64", "\"R_AARCH64_NONE\""], "File": "AArch64AsmBackend40", "Func": "getFixupKind", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10507, "Length": 37, "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", "->", "isAAPCS_ABI", "(", ")", "||", "Subtarget", "->", "isTargetMachO", "(", ")", ")", "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": "ARMSelectionDAGInfo2", "Func": "EmitTargetCodeForMemset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10508, "Length": 336, "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", ")", ",", "InMips16Mode", "(", "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", "Mips", "\"mips32\"", "Mips", "Mips", "Mips", "Mips", "Mips", "\"Invalid Arch & ABI pair.\"", "\"linux\""], "File": "MipsSubtarget17", "Func": "MipsSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10509, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_va_list_char_pointer", "(", "tree", "type", ")", "{", "tree", "canonic", ";", "if", "(", "!", "TARGET_64BIT", ")", "return", "true", ";", "canonic", "=", "ix86_canonical_va_list_type", "(", "type", ")", ";", "return", "(", "canonic", "==", "ms_va_list_type_node", "||", "(", "ix86_abi", "==", "MS_ABI", "&&", "canonic", "==", "va_list_type_node", ")", ")", ";", "}", ""], "natrual_language": ["Checks", "if", "TYPE", "is", "of", "kind", "va_list", "char", "*", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "is_va_list_char_pointer", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10510, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZXPLINKFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "assert", "(", "&", "MF", ".", "front", "(", ")", "==", "&", "MBB", "&&", "\"Shrink-wrapping not yet supported\"", ")", ";", "const", "SystemZSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "SystemZSubtarget", ">", "(", ")", ";", "SystemZMachineFunctionInfo", "*", "ZFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "auto", "*", "ZII", "=", "static_cast", "<", "const", "SystemZInstrInfo", "*", ">", "(", "Subtarget", ".", "getInstrInfo", "(", ")", ")", ";", "auto", "&", "Regs", "=", "Subtarget", ".", "getSpecialRegisters", "<", "SystemZXPLINK64Registers", ">", "(", ")", ";", "MachineFrameInfo", "&", "MFFrame", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineInstr", "*", "StoreInstr", "=", "nullptr", ";", "bool", "HasFP", "=", "hasFP", "(", "MF", ")", ";", "DebugLoc", "DL", ";", "uint64_t", "Offset", "=", "0", ";", "MFFrame", ".", "setStackSize", "(", "MFFrame", ".", "getStackSize", "(", ")", "+", "Regs", ".", "getCallFrameSize", "(", ")", ")", ";", "uint64_t", "StackSize", "=", "MFFrame", ".", "getStackSize", "(", ")", ";", "if", "(", "StackSize", ">", "1024", "*", "1024", ")", "{", "llvm_unreachable", "(", "\"Huge Stack Frame not yet supported on z/OS\"", ")", ";", "}", "if", "(", "ZFI", "->", "getSpillGPRRegs", "(", ")", ".", "LowGPR", ")", "{", "if", "(", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", ")", "&&", "(", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "SystemZ", "::", "STMG", ")", ")", ")", "{", "const", "int", "Operand", "=", "3", ";", "Offset", "=", "Regs", ".", "getStackPointerBias", "(", ")", "+", "MBBI", "->", "getOperand", "(", "Operand", ")", ".", "getImm", "(", ")", ";", "if", "(", "isInt", "<", "20", ">", "(", "Offset", "-", "StackSize", ")", ")", "Offset", "-=", "StackSize", ";", "else", "StoreInstr", "=", "&", "*", "MBBI", ";", "MBBI", "->", "getOperand", "(", "Operand", ")", ".", "setImm", "(", "Offset", ")", ";", "++", "MBBI", ";", "}", "else", "llvm_unreachable", "(", "\"Couldn't skip over GPR saves\"", ")", ";", "}", "if", "(", "StackSize", ")", "{", "MachineBasicBlock", "::", "iterator", "InsertPt", "=", "StoreInstr", "?", "StoreInstr", ":", "MBBI", ";", "int64_t", "Delta", "=", "-", "int64_t", "(", "StackSize", ")", ";", "if", "(", "StoreInstr", "&&", "HasFP", ")", "{", "BuildMI", "(", "MBB", ",", "InsertPt", ",", "DL", ",", "ZII", "->", "get", "(", "SystemZ", "::", "LGR", ")", ")", ".", "addReg", "(", "SystemZ", "::", "R0D", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "SystemZ", "::", "R4D", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "ZII", "->", "get", "(", "SystemZ", "::", "STG", ")", ")", ".", "addReg", "(", "SystemZ", "::", "R0D", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "SystemZ", "::", "R4D", ")", ".", "addImm", "(", "Offset", ")", ".", "addReg", "(", "0", ")", ";", "}", "emitIncrement", "(", "MBB", ",", "InsertPt", ",", "DL", ",", "Regs", ".", "getStackPointerRegister", "(", ")", ",", "Delta", ",", "ZII", ")", ";", "}", "if", "(", "HasFP", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "ZII", "->", "get", "(", "SystemZ", "::", "LGR", ")", ",", "Regs", ".", "getFramePointerRegister", "(", ")", ")", ".", "addReg", "(", "Regs", ".", "getStackPointerRegister", "(", ")", ")", ";", "for", "(", "auto", "I", "=", "std", "::", "next", "(", "MF", ".", "begin", "(", ")", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "I", "->", "addLiveIn", "(", "Regs", ".", "getFramePointerRegister", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"Shrink-wrapping not yet supported\"", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "0", "1024", "1024", "\"Huge Stack Frame not yet supported on z/OS\"", "SystemZ::STMG", "3", "20", "\"Couldn't skip over GPR saves\"", "SystemZ::LGR", "SystemZ::R0D", "SystemZ::R4D", "SystemZ::STG", "SystemZ::R0D", "SystemZ::R4D", "0", "SystemZ::LGR"], "File": "SystemZFrameLowering43", "Func": "emitPrologue", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10511, "Length": 498, "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": 10512, "Length": 503, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "IsEligibleForTailCallOptimization", "(", "CallSDNode", "*", "TheCall", ",", "SDValue", "Ret", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "!", "PerformTailCallOpt", ")", "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", ")", "{", "SDValue", "Callee", "=", "TheCall", "->", "getCallee", "(", ")", ";", "if", "(", "getTargetMachine", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", "||", "!", "Subtarget", "->", "isPICStyleGOT", "(", ")", "||", "!", "Subtarget", "->", "is64Bit", "(", ")", ")", "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": ["X86", "X86"], "File": "X86ISelLowering160", "Func": "IsEligibleForTailCallOptimization", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10513, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "nds32_expand_binop_builtin", "(", "enum", "insn_code", "icode", ",", "tree", "exp", ",", "rtx", "target", ",", "bool", "return_p", ")", "{", "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", ")", ";", "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", "."], "TS_V_token": ["nds32", "0", "1", "1", "0", "2", "1"], "File": "nds32-intrinsic", "Func": "nds32_expand_binop_builtin", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10514, "Length": 142, "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": 10515, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "rs6000_builtin_decl", "(", "unsigned", "code", ",", "bool", ")", "{", "rs6000_gen_builtins", "fcode", "=", "(", "rs6000_gen_builtins", ")", "code", ";", "if", "(", "fcode", ">=", "RS6000_OVLD_MAX", ")", "return", "error_mark_node", ";", "return", "rs6000_builtin_decls", "[", "code", "]", ";", "}", ""], "natrual_language": ["Returns", "the", "rs6000", "builtin", "decl", "for", "CODE", "."], "TS_V_token": ["rs6000"], "File": "rs6000-builtin", "Func": "rs6000_builtin_decl", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10516, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsCodeEmitter", "::", "emitInstruction", "(", "const", "MachineInstr", "&", "MI", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"JIT: \"", "<<", "(", "void", "*", ")", "MCE", ".", "getCurrentPCValue", "(", ")", "<<", "\":\\t\"", "<<", "MI", ")", ";", "MCE", ".", "processDebugLoc", "(", "MI", ".", "getDebugLoc", "(", ")", ",", "true", ")", ";", "if", "(", "(", "MI", ".", "getDesc", "(", ")", ".", "TSFlags", "&", "MipsII", "::", "FormMask", ")", "==", "MipsII", "::", "Pseudo", ")", "return", ";", "++", "NumEmitted", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "emitWordLE", "(", "getBinaryCodeForInstr", "(", "MI", ")", ")", ";", "break", ";", "}", "MCE", ".", "processDebugLoc", "(", "MI", ".", "getDebugLoc", "(", ")", ",", "false", ")", ";", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["Mips", "Mips", "\"JIT: \"", "\":\\t\"", "MipsII::FormMask", "MipsII::Pseudo"], "File": "MipsCodeEmitter23", "Func": "emitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10517, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_use_blocks_for_constant_p", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "const_rtx", "x", "ATTRIBUTE_UNUSED", ")", "{", "return", "!", "TARGET_MIPS16_PCREL_LOADS", ";", "}", ""], "natrual_language": ["Implement", "TARGET_USE_BLOCKS_FOR_CONSTANT_P", ".", "We", "ca", "n't", "use", "blocks", "for", "constants", "when", "we", "'re", "using", "a", "per-function", "constant", "pool", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_use_blocks_for_constant_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10518, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_start_function_definition", "(", "const", "char", "*", "name", ",", "bool", "mips16_p", ")", "{", "if", "(", "mips16_p", ")", "fprintf", "(", "asm_out_file", ",", "\"\\t.set\\tmips16\\n\"", ")", ";", "else", "fprintf", "(", "asm_out_file", ",", "\"\\t.set\\tnomips16\\n\"", ")", ";", "if", "(", "TARGET_MICROMIPS", ")", "fprintf", "(", "asm_out_file", ",", "\"\\t.set\\tmicromips\\n\"", ")", ";", "else", "fprintf", "(", "asm_out_file", ",", "\"\\t.set\\tnomicromips\\n\"", ")", ";", "if", "(", "!", "flag_inhibit_size_directive", ")", "{", "fputs", "(", "\"\\t.ent\\t\"", ",", "asm_out_file", ")", ";", "assemble_name", "(", "asm_out_file", ",", "name", ")", ";", "fputs", "(", "\"\\n\"", ",", "asm_out_file", ")", ";", "}", "ASM_OUTPUT_TYPE_DIRECTIVE", "(", "asm_out_file", ",", "name", ",", "\"function\"", ")", ";", "assemble_name", "(", "asm_out_file", ",", "name", ")", ";", "fputs", "(", "\":\\n\"", ",", "asm_out_file", ")", ";", "}", ""], "natrual_language": ["Start", "a", "definition", "of", "function", "NAME", ".", "MIPS16_P", "indicates", "whether", "the", "function", "contains", "MIPS16", "code", "."], "TS_V_token": ["mips", "\"\\t.set\\tmips16\\n\"", "\"\\t.set\\tnomips16\\n\"", "\"\\t.set\\tmicromips\\n\"", "\"\\t.set\\tnomicromips\\n\"", "\"\\t.ent\\t\"", "\"\\n\"", "\"function\"", "\":\\n\""], "File": "mips", "Func": "mips_start_function_definition", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10519, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "NamedImmMapper", "::", "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", "0"], "File": "AArch64BaseInfo2", "Func": "toString", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10520, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "addPreEmitPass", "(", ")", "{", "bool", "ShouldPrint", "=", "false", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "getX86Subtarget", "(", ")", ".", "hasSSE2", "(", ")", ")", "{", "addPass", "(", "createExecutionDependencyFixPass", "(", "&", "X86", "::", "VR128RegClass", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "if", "(", "getX86Subtarget", "(", ")", ".", "hasAVX", "(", ")", "&&", "UseVZeroUpper", ")", "{", "addPass", "(", "createX86IssueVZeroUpperPass", "(", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "getX86Subtarget", "(", ")", ".", "padShortFunctions", "(", ")", ")", "{", "addPass", "(", "createX86PadShortFunctions", "(", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "getX86Subtarget", "(", ")", ".", "LEAusesAG", "(", ")", ")", "{", "addPass", "(", "createX86FixupLEAs", "(", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "if", "(", "getX86Subtarget", "(", ")", ".", "isTargetNaCl", "(", ")", ")", "{", "addPass", "(", "createX86NaClRewritePass", "(", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "return", "ShouldPrint", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["X86", "X86", "X86", "X86::VR128RegClass", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86TargetMachine113", "Func": "addPreEmitPass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10521, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_evpc_uzp", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "int", "i", ",", "odd", ",", "mask", ",", "nelt", "=", "d", "->", "nelt", ";", "rtx", "out", ",", "in0", ",", "in1", ",", "x", ";", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "machine_mode", "vmode", "=", "d", "->", "vmode", ";", "if", "(", "GET_MODE_UNIT_SIZE", "(", "vmode", ")", ">", "8", ")", "return", "false", ";", "if", "(", "d", "->", "perm", "[", "0", "]", "==", "0", ")", "odd", "=", "0", ";", "else", "if", "(", "d", "->", "perm", "[", "0", "]", "==", "1", ")", "odd", "=", "1", ";", "else", "return", "false", ";", "mask", "=", "(", "d", "->", "one_vector_p", "?", "nelt", "-", "1", ":", "2", "*", "nelt", "-", "1", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "i", "++", ")", "{", "unsigned", "elt", "=", "(", "i", "*", "2", "+", "odd", ")", "&", "mask", ";", "if", "(", "d", "->", "perm", "[", "i", "]", "!=", "elt", ")", "return", "false", ";", "}", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "in0", "=", "d", "->", "op0", ";", "in1", "=", "d", "->", "op1", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "{", "x", "=", "in0", ",", "in0", "=", "in1", ",", "in1", "=", "x", ";", "odd", "=", "!", "odd", ";", "}", "out", "=", "d", "->", "target", ";", "if", "(", "odd", ")", "{", "switch", "(", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_aarch64_uzp2v16qi", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_aarch64_uzp2v8qi", ";", "break", ";", "case", "V8HImode", ":", "gen", "=", "gen_aarch64_uzp2v8hi", ";", "break", ";", "case", "V4HImode", ":", "gen", "=", "gen_aarch64_uzp2v4hi", ";", "break", ";", "case", "V4SImode", ":", "gen", "=", "gen_aarch64_uzp2v4si", ";", "break", ";", "case", "V2SImode", ":", "gen", "=", "gen_aarch64_uzp2v2si", ";", "break", ";", "case", "V2DImode", ":", "gen", "=", "gen_aarch64_uzp2v2di", ";", "break", ";", "case", "V4SFmode", ":", "gen", "=", "gen_aarch64_uzp2v4sf", ";", "break", ";", "case", "V2SFmode", ":", "gen", "=", "gen_aarch64_uzp2v2sf", ";", "break", ";", "case", "V2DFmode", ":", "gen", "=", "gen_aarch64_uzp2v2df", ";", "break", ";", "default", ":", "return", "false", ";", "}", "}", "else", "{", "switch", "(", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_aarch64_uzp1v16qi", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_aarch64_uzp1v8qi", ";", "break", ";", "case", "V8HImode", ":", "gen", "=", "gen_aarch64_uzp1v8hi", ";", "break", ";", "case", "V4HImode", ":", "gen", "=", "gen_aarch64_uzp1v4hi", ";", "break", ";", "case", "V4SImode", ":", "gen", "=", "gen_aarch64_uzp1v4si", ";", "break", ";", "case", "V2SImode", ":", "gen", "=", "gen_aarch64_uzp1v2si", ";", "break", ";", "case", "V2DImode", ":", "gen", "=", "gen_aarch64_uzp1v2di", ";", "break", ";", "case", "V4SFmode", ":", "gen", "=", "gen_aarch64_uzp1v4sf", ";", "break", ";", "case", "V2SFmode", ":", "gen", "=", "gen_aarch64_uzp1v2sf", ";", "break", ";", "case", "V2DFmode", ":", "gen", "=", "gen_aarch64_uzp1v2df", ";", "break", ";", "default", ":", "return", "false", ";", "}", "}", "emit_insn", "(", "gen", "(", "out", ",", "in0", ",", "in1", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "suitable", "for", "the", "UZP", "instructions", "."], "TS_V_token": ["aarch64", "8", "0", "0", "0", "0", "1", "1", "1", "2", "1", "0", "2"], "File": "aarch642", "Func": "aarch64_evpc_uzp", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10522, "Length": 437, "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": "AArch64AsmParser27", "Func": "print", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10523, "Length": 380, "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", ":", "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", ":", "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", ")", ")", ";", "return", "gen_rtx_PLUS", "(", "Pmode", ",", "dest", ",", "addend", ")", ";", "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", "{", "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": "arm3", "Func": "legitimize_tls_address", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10524, "Length": 377, "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", "(", ")", ";", "return", "(", "MFI", ".", "hasCalls", "(", ")", "&&", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", ")", "||", "MFI", ".", "hasVarSizedObjects", "(", ")", "||", "MFI", ".", "isFrameAddressTaken", "(", ")", "||", "MFI", ".", "hasStackMap", "(", ")", "||", "MFI", ".", "hasPatchPoint", "(", ")", "||", "RegInfo", "->", "needsStackRealignment", "(", "MF", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64FrameLowering19", "Func": "hasFP", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10525, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "release_scratch_register_on_entry", "(", "struct", "scratch_reg", "*", "sr", ",", "HOST_WIDE_INT", "offset", ",", "bool", "release_via_pop", ")", "{", "if", "(", "sr", "->", "saved", ")", "{", "if", "(", "release_via_pop", ")", "{", "struct", "machine_function", "*", "m", "=", "cfun", "->", "machine", ";", "rtx", "x", ",", "insn", "=", "emit_insn", "(", "gen_pop", "(", "sr", "->", "reg", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "x", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "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", ";", "}", "else", "{", "rtx", "x", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ";", "x", "=", "gen_rtx_SET", "(", "sr", "->", "reg", ",", "gen_rtx_MEM", "(", "word_mode", ",", "x", ")", ")", ";", "emit_insn", "(", "x", ")", ";", "}", "}", "}", ""], "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": "i386", "Func": "release_scratch_register_on_entry", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10526, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "llvm", "::", "FastISel", "*", "X86", "::", "createFastISel", "(", "MachineFunction", "&", "mf", ",", "MachineModuleInfo", "*", "mmi", ",", "DwarfWriter", "*", "dw", ",", "DenseMap", "<", "const", "Value", "*", ",", "unsigned", ">", "&", "vm", ",", "DenseMap", "<", "const", "BasicBlock", "*", ",", "MachineBasicBlock", "*", ">", "&", "bm", ",", "DenseMap", "<", "const", "AllocaInst", "*", ",", "int", ">", "&", "am", ",", "SmallSet", "<", "Instruction", "*", ",", "8", ">", "&", "cil", ")", "{", "return", "new", "X86FastISel", "(", "mf", ",", "mmi", ",", "dw", ",", "vm", ",", "bm", ",", "am", ",", "cil", ")", ";", "}", ""], "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::createFastISel", "8", "X86"], "File": "X86FastISel117", "Func": "createFastISel", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10527, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseRegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "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": "ARMBaseRegisterInfo1", "Func": "getRegPressureLimit", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10528, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_expand_synci_loop", "(", "rtx", "begin", ",", "rtx", "end", ")", "{", "rtx", "inc", ",", "cmp_result", ",", "mask", ",", "length", ";", "rtx_code_label", "*", "label", ",", "*", "end_label", ";", "end_label", "=", "gen_label_rtx", "(", ")", ";", "cmp_result", "=", "gen_rtx_EQ", "(", "VOIDmode", ",", "begin", ",", "end", ")", ";", "emit_jump_insn", "(", "gen_condjump", "(", "cmp_result", ",", "end_label", ")", ")", ";", "inc", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "PMODE_INSN", "(", "gen_rdhwr_synci_step", ",", "(", "inc", ")", ")", ")", ";", "cmp_result", "=", "gen_rtx_EQ", "(", "VOIDmode", ",", "inc", ",", "const0_rtx", ")", ";", "emit_jump_insn", "(", "gen_condjump", "(", "cmp_result", ",", "end_label", ")", ")", ";", "mask", "=", "mips_force_unary", "(", "Pmode", ",", "NEG", ",", "inc", ")", ";", "begin", "=", "mips_force_binary", "(", "Pmode", ",", "AND", ",", "begin", ",", "mask", ")", ";", "length", "=", "mips_force_binary", "(", "Pmode", ",", "MINUS", ",", "end", ",", "begin", ")", ";", "label", "=", "gen_label_rtx", "(", ")", ";", "emit_label", "(", "label", ")", ";", "emit_insn", "(", "gen_synci", "(", "begin", ")", ")", ";", "mips_emit_binary", "(", "MINUS", ",", "length", ",", "length", ",", "inc", ")", ";", "mips_emit_binary", "(", "PLUS", ",", "begin", ",", "begin", ",", "inc", ")", ";", "cmp_result", "=", "gen_rtx_GT", "(", "VOIDmode", ",", "length", ",", "const0_rtx", ")", ";", "emit_jump_insn", "(", "gen_condjump", "(", "cmp_result", ",", "label", ")", ")", ";", "emit_label", "(", "end_label", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "loop", "of", "synci", "insns", "for", "the", "address", "range", "[", "BEGIN", ",", "END", ")", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_expand_synci_loop", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10529, "Length": 198, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ia64_return_in_memory", "(", "const_tree", "valtype", ",", "const_tree", "fntype", "ATTRIBUTE_UNUSED", ")", "{", "machine_mode", "mode", ";", "machine_mode", "hfa_mode", ";", "HOST_WIDE_INT", "byte_size", ";", "mode", "=", "TYPE_MODE", "(", "valtype", ")", ";", "byte_size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "mode", "==", "BLKmode", ")", "{", "byte_size", "=", "int_size_in_bytes", "(", "valtype", ")", ";", "if", "(", "byte_size", "<", "0", ")", "return", "true", ";", "}", "hfa_mode", "=", "hfa_element_mode", "(", "valtype", ",", "0", ")", ";", "if", "(", "hfa_mode", "!=", "VOIDmode", ")", "{", "int", "hfa_size", "=", "GET_MODE_SIZE", "(", "hfa_mode", ")", ";", "if", "(", "byte_size", "/", "hfa_size", ">", "MAX_ARGUMENT_SLOTS", ")", "return", "true", ";", "else", "return", "false", ";", "}", "else", "if", "(", "byte_size", ">", "UNITS_PER_WORD", "*", "MAX_INT_RETURN_SLOTS", ")", "return", "true", ";", "else", "return", "false", ";", "}", ""], "natrual_language": ["Return", "1", "if", "function", "return", "value", "returned", "in", "memory", ".", "Return", "0", "if", "it", "is", "in", "a", "register", "."], "TS_V_token": ["ia64", "0", "0"], "File": "ia64", "Func": "ia64_return_in_memory", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10530, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "AArch64TargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "AArch64PassConfig", "(", "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": ["AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine10", "Func": "createPassConfig", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10531, "Length": 21, "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", ",", "AARCH64_SV_ALL", ",", "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": "aarch64", "Func": "aarch64_output_sve_cnt_immediate", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10532, "Length": 54, "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", "&&", "TARGET_DOUBLE_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": ["powerpcspe", "4", "8", "8", "64", "1", "32", "1", "0", "0", "1"], "File": "powerpcspe", "Func": "rs6000_emit_epilogue_components", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10533, "Length": 341, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sh_emit_storehi", "(", "rtx", "addr", ",", "HOST_WIDE_INT", "offset", ",", "uint16_t", "w0", ",", "uint16_t", "w1", ")", "{", "sh_emit_storesi", "(", "addr", ",", "offset", ",", "gen_int_mode", "(", "TARGET_LITTLE_ENDIAN", "?", "(", "w0", "|", "(", "w1", "<<", "16", ")", ")", ":", "(", "w1", "|", "(", "w0", "<<", "16", ")", ")", ",", "SImode", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "insns", "to", "store", "w0", "at", "addr", "+", "offset", "and", "w1", "at", "addr", "+", "offset", "+", "2", "."], "TS_V_token": ["sh", "16", "16"], "File": "sh", "Func": "sh_emit_storehi", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10534, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ia64_load_pair_ok", "(", "rtx", "dst", ",", "rtx", "src", ")", "{", "if", "(", "GET_CODE", "(", "dst", ")", "!=", "REG", "||", "!", "FP_REGNO_P", "(", "REGNO", "(", "dst", ")", ")", ")", "return", "0", ";", "if", "(", "GET_CODE", "(", "src", ")", "!=", "MEM", "||", "MEM_VOLATILE_P", "(", "src", ")", ")", "return", "0", ";", "switch", "(", "GET_CODE", "(", "XEXP", "(", "src", ",", "0", ")", ")", ")", "{", "case", "REG", ":", "case", "POST_INC", ":", "break", ";", "case", "POST_DEC", ":", "return", "0", ";", "case", "POST_MODIFY", ":", "{", "rtx", "adjust", "=", "XEXP", "(", "XEXP", "(", "XEXP", "(", "src", ",", "0", ")", ",", "1", ")", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "adjust", ")", "!=", "CONST_INT", "||", "INTVAL", "(", "adjust", ")", "!=", "GET_MODE_SIZE", "(", "GET_MODE", "(", "src", ")", ")", ")", "return", "0", ";", "}", "break", ";", "default", ":", "abort", "(", ")", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["Return", "1", "if", "the", "operands", "are", "ok", "for", "a", "floating", "point", "load", "pair", "."], "TS_V_token": ["ia64", "0", "0", "0", "0", "0", "1", "1", "0", "1"], "File": "ia643", "Func": "ia64_load_pair_ok", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10535, "Length": 138, "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": 10536, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_get_next_set_bit", "(", "sbitmap", "bmp", ",", "unsigned", "int", "start", ")", "{", "unsigned", "int", "nbits", "=", "SBITMAP_SIZE", "(", "bmp", ")", ";", "if", "(", "start", "==", "nbits", ")", "return", "start", ";", "gcc_assert", "(", "start", "<", "nbits", ")", ";", "for", "(", "unsigned", "int", "i", "=", "start", ";", "i", "<", "nbits", ";", "i", "++", ")", "if", "(", "bitmap_bit_p", "(", "bmp", ",", "i", ")", ")", "return", "i", ";", "return", "nbits", ";", "}", ""], "natrual_language": ["Return", "the", "next", "set", "bit", "in", "BMP", "from", "START", "onwards", ".", "Return", "the", "total", "number", "of", "bits", "in", "BMP", "if", "no", "set", "bit", "is", "found", "at", "or", "after", "START", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_get_next_set_bit", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10537, "Length": 69, "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": 10538, "Length": 198, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PassConfig", "::", "addILPOpts", "(", ")", "{", "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"], "File": "AArch64TargetMachine86", "Func": "addILPOpts", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10539, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "VETargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "case", "VEISD", "::", "NAME", ":", "\\", "return", "\"VEISD::\"", "#", "NAME", ";", "switch", "(", "(", "VEISD", "::", "NodeType", ")", "Opcode", ")", "{", "case", "VEISD", "::", "FIRST_NUMBER", ":", "break", ";", "TARGET_NODE_CASE", "(", "CALL", ")", "TARGET_NODE_CASE", "(", "EH_SJLJ_LONGJMP", ")", "TARGET_NODE_CASE", "(", "EH_SJLJ_SETJMP", ")", "TARGET_NODE_CASE", "(", "EH_SJLJ_SETUP_DISPATCH", ")", "TARGET_NODE_CASE", "(", "GETFUNPLT", ")", "TARGET_NODE_CASE", "(", "GETSTACKTOP", ")", "TARGET_NODE_CASE", "(", "GETTLSADDR", ")", "TARGET_NODE_CASE", "(", "GLOBAL_BASE_REG", ")", "TARGET_NODE_CASE", "(", "Hi", ")", "TARGET_NODE_CASE", "(", "Lo", ")", "TARGET_NODE_CASE", "(", "MEMBARRIER", ")", "TARGET_NODE_CASE", "(", "RET_FLAG", ")", "TARGET_NODE_CASE", "(", "TS1AM", ")", "TARGET_NODE_CASE", "(", "VEC_BROADCAST", ")", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["VE", "VE", "VEISD::NAME", "\"VEISD::\"", "VEISD::NodeType", "VEISD::FIRST_NUMBER", "VE"], "File": "VEISelLowering11", "Func": "getTargetNodeName", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10540, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "report_missing_extension", "(", "location_t", "location", ",", "tree", "fndecl", ",", "const", "char", "*", "extension", ")", "{", "if", "(", "reported_missing_extension_p", ")", "return", ";", "error_at", "(", "location", ",", "\"ACLE function %qD requires ISA extension %qs\"", ",", "fndecl", ",", "extension", ")", ";", "inform", "(", "location", ",", "\"you can enable %qs using the command-line\"", "\" option %<-march%>, or by using the %\"", "\" attribute or pragma\"", ",", "extension", ")", ";", "reported_missing_extension_p", "=", "true", ";", "}", ""], "natrual_language": ["Report", "an", "error", "against", "LOCATION", "that", "the", "user", "has", "tried", "to", "use", "function", "FNDECL", "when", "extension", "EXTENSION", "is", "disabled", "."], "TS_V_token": ["aarch64", "\"ACLE function %qD requires ISA extension %qs\"", "\"you can enable %qs using the command-line\"", "\" option %<-march%>, or by using the %\"", "\" attribute or pragma\""], "File": "aarch64-sve-builtins", "Func": "report_missing_extension", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10541, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "AArch64TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'r'", ":", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "<=", "32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AArch64", "::", "GPR32RegClass", ")", ";", "else", "if", "(", "VT", "==", "MVT", "::", "i64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AArch64", "::", "GPR64RegClass", ")", ";", "break", ";", "case", "'w'", ":", "if", "(", "VT", "==", "MVT", "::", "f16", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AArch64", "::", "FPR16RegClass", ")", ";", "else", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AArch64", "::", "FPR32RegClass", ")", ";", "else", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AArch64", "::", "FPR64RegClass", ")", ";", "else", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "128", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AArch64", "::", "FPR128RegClass", ")", ";", "break", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["AArch64", "AArch64", "1", "0", "32", "0U", "AArch64::GPR32RegClass", "MVT::i64", "0U", "AArch64::GPR64RegClass", "MVT::f16", "0U", "AArch64::FPR16RegClass", "MVT::f32", "0U", "AArch64::FPR32RegClass", "64", "0U", "AArch64::FPR64RegClass", "128", "0U", "AArch64::FPR128RegClass"], "File": "AArch64ISelLowering109", "Func": "getRegForInlineAsmConstraint", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10542, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "MipsFrameLowering", "::", "estimateStackSize", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterInfo", "&", "TRI", "=", "*", "STI", ".", "getRegisterInfo", "(", ")", ";", "int64_t", "Size", "=", "0", ";", "for", "(", "int", "I", "=", "MFI", ".", "getObjectIndexBegin", "(", ")", ";", "I", "!=", "0", ";", "++", "I", ")", "if", "(", "MFI", ".", "getObjectOffset", "(", "I", ")", ">", "0", ")", "Size", "+=", "MFI", ".", "getObjectSize", "(", "I", ")", ";", "for", "(", "const", "MCPhysReg", "*", "R", "=", "TRI", ".", "getCalleeSavedRegs", "(", "&", "MF", ")", ";", "*", "R", ";", "++", "R", ")", "{", "unsigned", "RegSize", "=", "TRI", ".", "getSpillSize", "(", "*", "TRI", ".", "getMinimalPhysRegClass", "(", "*", "R", ")", ")", ";", "Size", "=", "alignTo", "(", "Size", "+", "RegSize", ",", "RegSize", ")", ";", "}", "return", "Size", "+", "MFI", ".", "estimateStackSize", "(", "MF", ")", ";", "}", ""], "natrual_language": ["Estimate", "and", "return", "the", "size", "of", "the", "stack", "frame", "."], "TS_V_token": ["Mips", "Mips", "0", "0", "0"], "File": "MipsFrameLowering22", "Func": "estimateStackSize", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10543, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getString", "(", ")", ";", "if", "(", "IDVal", "==", "\".ent\"", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".end\"", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".frame\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".set\"", ")", "{", "return", "parseDirectiveSet", "(", ")", ";", "}", "if", "(", "IDVal", "==", "\".fmask\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".mask\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".gpword\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".word\"", ")", "{", "parseDirectiveWord", "(", "4", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["Mips", "Mips", "\".ent\"", "\".end\"", "\".frame\"", "\".set\"", "\".fmask\"", "\".mask\"", "\".gpword\"", "\".word\"", "4"], "File": "MipsAsmParser44", "Func": "ParseDirective", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10544, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "i386_pe_unique_section", "(", "tree", "decl", ",", "int", "reloc", ")", "{", "int", "len", ";", "const", "char", "*", "name", ",", "*", "prefix", ";", "char", "*", "string", ";", "if", "(", "!", "flag_writable_rel_rdata", ")", "reloc", "=", "0", ";", "name", "=", "IDENTIFIER_POINTER", "(", "DECL_ASSEMBLER_NAME", "(", "decl", ")", ")", ";", "name", "=", "i386_pe_strip_name_encoding_full", "(", "name", ")", ";", "if", "(", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", ")", "prefix", "=", "\".text$\"", ";", "else", "if", "(", "decl_readonly_section", "(", "decl", ",", "reloc", ")", ")", "prefix", "=", "\".rdata$\"", ";", "else", "prefix", "=", "\".data$\"", ";", "len", "=", "strlen", "(", "name", ")", "+", "strlen", "(", "prefix", ")", ";", "string", "=", "XALLOCAVEC", "(", "char", ",", "len", "+", "1", ")", ";", "sprintf", "(", "string", ",", "\"%s%s\"", ",", "prefix", ",", "name", ")", ";", "set_decl_section_name", "(", "decl", ",", "string", ")", ";", "}", ""], "natrual_language": ["Cover", "function", "for", "UNIQUE_SECTION", "."], "TS_V_token": ["i386", "0", "\".text$\"", "\".rdata$\"", "\".data$\"", "1", "\"%s%s\""], "File": "winnt", "Func": "i386_pe_unique_section", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10545, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "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", ":", "{", "if", "(", "processInstruction", "(", "Inst", ",", "IDLoc", ",", "Instructions", ")", ")", "return", "true", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Instructions", ".", "size", "(", ")", ";", "i", "++", ")", "Out", ".", "EmitInstruction", "(", "Instructions", "[", "i", "]", ",", "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", "!=", "~", "0ULL", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "IDLoc", ",", "\"too few operands for instruction\"", ")", ";", "ErrorLoc", "=", "Operands", "[", "ErrorInfo", "]", "->", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "\"invalid operand for instruction\"", ")", ";", "}", "case", "Match_MnemonicFail", ":", "return", "Error", "(", "IDLoc", ",", "\"invalid instruction\"", ")", ";", "case", "Match_RequiresDifferentSrcAndDst", ":", "return", "Error", "(", "IDLoc", ",", "\"source and destination must be different\"", ")", ";", "case", "Match_Immz", ":", "return", "Error", "(", "RefineErrorLoc", "(", "IDLoc", ",", "Operands", ",", "ErrorInfo", ")", ",", "\"expected '0'\"", ")", ";", "case", "Match_UImm1_0", ":", "return", "Error", "(", "RefineErrorLoc", "(", "IDLoc", ",", "Operands", ",", "ErrorInfo", ")", ",", "\"expected 1-bit unsigned immediate\"", ")", ";", "case", "Match_UImm2_0", ":", "return", "Error", "(", "RefineErrorLoc", "(", "IDLoc", ",", "Operands", ",", "ErrorInfo", ")", ",", "\"expected 2-bit unsigned immediate\"", ")", ";", "case", "Match_UImm2_1", ":", "return", "Error", "(", "RefineErrorLoc", "(", "IDLoc", ",", "Operands", ",", "ErrorInfo", ")", ",", "\"expected immediate in range 1 .. 4\"", ")", ";", "case", "Match_UImm3_0", ":", "return", "Error", "(", "RefineErrorLoc", "(", "IDLoc", ",", "Operands", ",", "ErrorInfo", ")", ",", "\"expected 3-bit unsigned immediate\"", ")", ";", "case", "Match_UImm4_0", ":", "return", "Error", "(", "RefineErrorLoc", "(", "IDLoc", ",", "Operands", ",", "ErrorInfo", ")", ",", "\"expected 4-bit unsigned immediate\"", ")", ";", "}", "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": ["Mips", "Mips", "8", "0", "\"instruction requires a CPU feature not currently enabled\"", "0ULL", "\"too few operands for instruction\"", "\"invalid operand for instruction\"", "\"invalid instruction\"", "\"source and destination must be different\"", "\"expected '0'\"", "\"expected 1-bit unsigned immediate\"", "\"expected 2-bit unsigned immediate\"", "\"expected immediate in range 1 .. 4\"", "\"expected 3-bit unsigned immediate\"", "\"expected 4-bit unsigned immediate\"", "\"Implement any new match types added!\""], "File": "MipsAsmParser59", "Func": "MatchAndEmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10546, "Length": 330, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isFPImm", "(", ")", "const", "{", "return", "Kind", "==", "k_FPImm", ";", "}", ""], "natrual_language": ["isFPImm", "-", "Tests", "if", "this", "is", "a", "MO_FPImmediate", "operand", "."], "TS_V_token": ["AArch64"], "File": "AArch64AsmParser (2)1", "Func": "isFPImm", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10547, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSETargetLowering", "::", "isEligibleForTailCallOptimization", "(", "const", "CCState", "&", "CCInfo", ",", "unsigned", "NextStackOffset", ",", "const", "MipsFunctionInfo", "&", "FI", ")", "const", "{", "if", "(", "!", "EnableMipsTailCalls", ")", "return", "false", ";", "if", "(", "CCInfo", ".", "getInRegsParamsCount", "(", ")", ">", "0", "||", "FI", ".", "hasByvalArg", "(", ")", ")", "return", "false", ";", "return", "NextStackOffset", "<=", "FI", ".", "getIncomingArgSize", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "call", "can", "be", "lowered", "as", "a", "tail", "call", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "0"], "File": "MipsSEISelLowering", "Func": "isEligibleForTailCallOptimization", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10548, "Length": 57, "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", ")", "==", "64", "&&", "ix86_hard_regno_mode_ok", "(", "FIRST_SSE_REG", ",", "mode2", ")", ")", "return", "(", "GET_MODE_SIZE", "(", "mode1", ")", "==", "64", "&&", "ix86_hard_regno_mode_ok", "(", "FIRST_SSE_REG", ",", "mode1", ")", ")", ";", "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", ")", ")", ";", "if", "(", "(", "mode1", "==", "E_SCmode", "&&", "mode2", "==", "E_DImode", ")", "||", "(", "mode1", "==", "E_DImode", "&&", "mode2", "==", "E_SCmode", ")", ")", "return", "TARGET_64BIT", ";", "if", "(", "(", "mode1", "==", "E_SCmode", "&&", "mode2", "==", "E_V2SFmode", ")", "||", "(", "mode1", "==", "E_V2SFmode", "&&", "mode2", "==", "E_SCmode", ")", "||", "(", "mode1", "==", "E_DCmode", "&&", "mode2", "==", "E_V2DFmode", ")", "||", "(", "mode1", "==", "E_V2DFmode", "&&", "mode2", "==", "E_DCmode", ")", ")", "return", "true", ";", "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", "64", "64", "32", "32", "16", "16", "8", "8"], "File": "i3861", "Func": "ix86_modes_tieable_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10549, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_block_set_vect", "(", "rtx", "dstbase", ",", "unsigned", "HOST_WIDE_INT", "length", ",", "unsigned", "HOST_WIDE_INT", "value", ",", "unsigned", "HOST_WIDE_INT", "align", ")", "{", "if", "(", "(", "(", "align", "&", "3", ")", "!=", "0", "||", "(", "length", "&", "3", ")", "!=", "0", ")", "&&", "(", "!", "unaligned_access", "||", "BYTES_BIG_ENDIAN", ")", ")", "return", "false", ";", "if", "(", "(", "align", "&", "3", ")", "==", "0", ")", "return", "arm_block_set_aligned_vect", "(", "dstbase", ",", "length", ",", "value", ",", "align", ")", ";", "else", "return", "arm_block_set_unaligned_vect", "(", "dstbase", ",", "length", ",", "value", ",", "align", ")", ";", "}", ""], "natrual_language": ["Set", "a", "block", "of", "memory", "using", "vectorization", "instructions", "for", "both", "aligned", "and", "unaligned", "cases", ".", "We", "fill", "the", "first", "LENGTH", "bytes", "of", "the", "memory", "area", "starting", "from", "DSTBASE", "with", "byte", "constant", "VALUE", ".", "ALIGN", "is", "the", "alignment", "requirement", "of", "memory", "."], "TS_V_token": ["arm", "3", "0", "3", "0", "3", "0"], "File": "arm", "Func": "arm_block_set_vect", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10550, "Length": 86, "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", "||", "startswith", "(", "name", ",", "\".lbss.\"", ")", "||", "startswith", "(", "name", ",", "\".gnu.linkonce.lb.\"", ")", ")", "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.\"", "\".gnu.linkonce.lb.\""], "File": "i386", "Func": "x86_64_elf_section_type_flags", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10551, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mmix_trampoline_init", "(", "rtx", "m_tramp", ",", "tree", "fndecl", ",", "rtx", "static_chain", ")", "{", "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", ",", "DImode", ",", "2", "*", "UNITS_PER_WORD", ")", ";", "emit_move_insn", "(", "mem", ",", "static_chain", ")", ";", "mem", "=", "adjust_address", "(", "m_tramp", ",", "DImode", ",", "3", "*", "UNITS_PER_WORD", ")", ";", "emit_move_insn", "(", "mem", ",", "fnaddr", ")", ";", "mem", "=", "adjust_address", "(", "m_tramp", ",", "DImode", ",", "0", ")", ";", "emit_insn", "(", "gen_sync_icache", "(", "mem", ",", "GEN_INT", "(", "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", "0", "2", "2", "3", "0", "1"], "File": "mmix", "Func": "mmix_trampoline_init", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10552, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_adjust_stack_and_probe", "(", "rtx", "reg", ")", "{", "static", "int", "labelno", "=", "0", ";", "char", "loop_lab", "[", "32", "]", ";", "rtx", "xops", "[", "2", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "loop_lab", ",", "\"LPSRL\"", ",", "labelno", "++", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "loop_lab", ")", ";", "xops", "[", "0", "]", "=", "stack_pointer_rtx", ";", "xops", "[", "1", "]", "=", "GEN_INT", "(", "get_probe_interval", "(", ")", ")", ";", "output_asm_insn", "(", "\"sub%z0\\t{%1, %0|%0, %1}\"", ",", "xops", ")", ";", "xops", "[", "1", "]", "=", "const0_rtx", ";", "output_asm_insn", "(", "\"or%z0\\t{%1, (%0)|DWORD PTR [%0], %1}\"", ",", "xops", ")", ";", "xops", "[", "0", "]", "=", "stack_pointer_rtx", ";", "xops", "[", "1", "]", "=", "reg", ";", "output_asm_insn", "(", "\"cmp%z0\\t{%1, %0|%0, %1}\"", ",", "xops", ")", ";", "fputs", "(", "\"\\tjne\\t\"", ",", "asm_out_file", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "loop_lab", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Adjust", "the", "stack", "pointer", "up", "to", "REG", "while", "probing", "it", "."], "TS_V_token": ["i386", "0", "32", "2", "\"LPSRL\"", "0", "1", "\"sub%z0\\t{%1, %0|%0, %1}\"", "1", "\"or%z0\\t{%1, (%0)|DWORD PTR [%0], %1}\"", "0", "1", "\"cmp%z0\\t{%1, %0|%0, %1}\"", "\"\\tjne\\t\"", "\"\""], "File": "i386", "Func": "output_adjust_stack_and_probe", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10553, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "add_compiler_branch_island", "(", "tree", "label_name", ",", "tree", "function_name", ",", "int", "line_number", ")", "{", "branch_island", "bi", "=", "{", "function_name", ",", "label_name", ",", "line_number", "}", ";", "vec_safe_push", "(", "branch_islands", ",", "bi", ")", ";", "}", ""], "natrual_language": ["Remember", "to", "generate", "a", "branch", "island", "for", "far", "calls", "to", "the", "given", "function", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "add_compiler_branch_island", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10554, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86FrameLowering", "::", "getWinEHFuncletFrameSize", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "unsigned", "CSSize", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "getCalleeSavedFrameSize", "(", ")", ";", "unsigned", "UsedSize", ";", "EHPersonality", "Personality", "=", "classifyEHPersonality", "(", "MF", ".", "getFunction", "(", ")", "->", "getPersonalityFn", "(", ")", ")", ";", "if", "(", "Personality", "==", "EHPersonality", "::", "CoreCLR", ")", "{", "UsedSize", "=", "getPSPSlotOffsetFromSP", "(", "MF", ")", "+", "SlotSize", ";", "}", "else", "{", "UsedSize", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getMaxCallFrameSize", "(", ")", ";", "}", "unsigned", "FrameSizeMinusRBP", "=", "RoundUpToAlignment", "(", "CSSize", "+", "UsedSize", ",", "getStackAlignment", "(", ")", ")", ";", "return", "FrameSizeMinusRBP", "-", "CSSize", ";", "}", ""], "natrual_language": ["Funclets", "only", "need", "to", "account", "for", "space", "for", "the", "callee", "saved", "registers", ",", "as", "the", "locals", "are", "accounted", "for", "in", "the", "parent", "'s", "stack", "frame", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86FrameLowering (2)4", "Func": "getWinEHFuncletFrameSize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10555, "Length": 101, "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": 10556, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCMIPeephole", "::", "initialize", "(", "MachineFunction", "&", "MFParm", ")", "{", "MF", "=", "&", "MFParm", ";", "MRI", "=", "&", "MF", "->", "getRegInfo", "(", ")", ";", "TII", "=", "MF", "->", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"*** PowerPC MI peephole pass ***\\n\\n\"", ")", ";", "DEBUG", "(", "MF", "->", "dump", "(", ")", ")", ";", "}", ""], "natrual_language": ["Initialize", "the", "strategy", "after", "building", "the", "DAG", "for", "a", "new", "region", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "\"*** PowerPC MI peephole pass ***\\n\\n\""], "File": "PPCMIPeephole (2)", "Func": "initialize", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10557, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "AArch64LoadStoreOpt", "::", "getMemSize", "(", "MachineInstr", "*", "MemMI", ")", "{", "switch", "(", "MemMI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Opcode has unknown size!\"", ")", ";", "case", "AArch64", "::", "STRSui", ":", "case", "AArch64", "::", "STURSi", ":", "return", "4", ";", "case", "AArch64", "::", "STRDui", ":", "case", "AArch64", "::", "STURDi", ":", "return", "8", ";", "case", "AArch64", "::", "STRQui", ":", "case", "AArch64", "::", "STURQi", ":", "return", "16", ";", "case", "AArch64", "::", "STRWui", ":", "case", "AArch64", "::", "STURWi", ":", "return", "4", ";", "case", "AArch64", "::", "STRXui", ":", "case", "AArch64", "::", "STURXi", ":", "return", "8", ";", "case", "AArch64", "::", "LDRSui", ":", "case", "AArch64", "::", "LDURSi", ":", "return", "4", ";", "case", "AArch64", "::", "LDRDui", ":", "case", "AArch64", "::", "LDURDi", ":", "return", "8", ";", "case", "AArch64", "::", "LDRQui", ":", "case", "AArch64", "::", "LDURQi", ":", "return", "16", ";", "case", "AArch64", "::", "LDRWui", ":", "case", "AArch64", "::", "LDURWi", ":", "return", "4", ";", "case", "AArch64", "::", "LDRXui", ":", "case", "AArch64", "::", "LDURXi", ":", "return", "8", ";", "case", "AArch64", "::", "LDRSWui", ":", "case", "AArch64", "::", "LDURSWi", ":", "return", "4", ";", "}", "}", ""], "natrual_language": ["Returns", "the", "size", "in", "bytes", "of", "the", "memory", "access", "."], "TS_V_token": ["AArch64", "AArch64", "\"Opcode has unknown size!\"", "AArch64::STRSui", "AArch64::STURSi", "4", "AArch64::STRDui", "AArch64::STURDi", "8", "AArch64::STRQui", "AArch64::STURQi", "16", "AArch64::STRWui", "AArch64::STURWi", "4", "AArch64::STRXui", "AArch64::STURXi", "8", "AArch64::LDRSui", "AArch64::LDURSi", "4", "AArch64::LDRDui", "AArch64::LDURDi", "8", "AArch64::LDRQui", "AArch64::LDURQi", "16", "AArch64::LDRWui", "AArch64::LDURWi", "4", "AArch64::LDRXui", "AArch64::LDURXi", "8", "AArch64::LDRSWui", "AArch64::LDURSWi", "4"], "File": "AArch64LoadStoreOptimizer18", "Func": "getMemSize", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10558, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isSafeMemOpType", "(", "MVT", "VT", ")", "const", "{", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "X86ScalarSSEf32", ";", "else", "if", "(", "VT", "==", "MVT", "::", "f64", ")", "return", "X86ScalarSSEf64", ";", "return", "TargetLowering", "::", "isSafeMemOpType", "(", "VT", ")", ";", "}", ""], "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": "X86ISelLowering165", "Func": "isSafeMemOpType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10559, "Length": 42, "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": 10560, "Length": 149, "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": 10561, "Length": 386, "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", "||", "rs6000_cpu_attr", "==", "CPU_POWER9", ")", "{", "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": ["rs6000", "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": "rs60005", "Func": "force_new_group", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10562, "Length": 452, "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", ";", "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": "X86InstructionSelector18", "Func": "select", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10563, "Length": 503, "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", ")", ";", "OriginalArgWasFloat", ".", "clear", "(", ")", ";", "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": "MipsCCState", "Func": "AnalyzeCallResult", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10564, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "use_simple_return_p", "(", "void", ")", "{", "arm_stack_offsets", "*", "offsets", ";", "if", "(", "!", "reload_completed", ")", "arm_compute_frame_layout", "(", ")", ";", "offsets", "=", "arm_get_frame_offsets", "(", ")", ";", "return", "offsets", "->", "outgoing_args", "!=", "0", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "we", "should", "try", "to", "use", "a", "simple_return", "insn", ",", "i.e", ".", "perform", "shrink-wrapping", "if", "possible", ".", "This", "is", "the", "case", "if", "we", "need", "to", "emit", "a", "prologue", ",", "which", "we", "can", "test", "by", "looking", "at", "the", "offsets", "."], "TS_V_token": ["arm", "0"], "File": "arm", "Func": "use_simple_return_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10565, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "*", "PPCInstrInfo", "::", "CreateTargetHazardRecognizer", "(", "const", "TargetMachine", "*", "TM", ",", "const", "ScheduleDAG", "*", "DAG", ")", "const", "{", "const", "TargetInstrInfo", "*", "TII", "=", "TM", "->", "getInstrInfo", "(", ")", ";", "assert", "(", "TII", "&&", "\"No InstrInfo?\"", ")", ";", "return", "new", "PPCHazardRecognizer970", "(", "*", "TII", ")", ";", "}", ""], "natrual_language": ["Allocate", "and", "return", "a", "hazard", "recognizer", "to", "use", "for", "this", "target", "when", "scheduling", "the", "machine", "instructions", "before", "register", "allocation", "."], "TS_V_token": ["PowerPC", "PPC", "\"No InstrInfo?\"", "PPC"], "File": "PPCInstrInfo107", "Func": "CreateTargetHazardRecognizer", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10566, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "or1k_libcall_value", "(", "machine_mode", "mode", ",", "const_rtx", ")", "{", "return", "gen_rtx_REG", "(", "mode", ",", "RV_REGNUM", ")", ";", "}", ""], "natrual_language": ["Worker", "for", "TARGET_LIBCALL_VALUE", ".", "Returns", "an", "RTX", "representing", "the", "location", "where", "function", "return", "values", "to", "external", "libraries", "will", "be", "stored", ".", "On", "OpenRISC", "this", "the", "same", "as", "local", "function", "calls", "."], "TS_V_token": ["or1k"], "File": "or1k", "Func": "or1k_libcall_value", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10567, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64Subtarget", "&", "AArch64Subtarget", "::", "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": ["AArch64", "AArch64", "AArch64", "\"generic\""], "File": "AArch64Subtarget11", "Func": "initializeSubtargetDependencies", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10568, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "vector_type_index", "function_resolver", "::", "infer_vector_displacement_type", "(", "unsigned", "int", "argno", ")", "{", "type_suffix_index", "type", "=", "infer_integer_vector_type", "(", "argno", ")", ";", "if", "(", "type", "==", "NUM_TYPE_SUFFIXES", ")", "return", "NUM_VECTOR_TYPES", ";", "if", "(", "type_suffixes", "[", "type", "]", ".", "integer_p", "&&", "(", "type_suffixes", "[", "type", "]", ".", "element_bits", "==", "32", "||", "type_suffixes", "[", "type", "]", ".", "element_bits", "==", "64", ")", ")", "return", "type_suffixes", "[", "type", "]", ".", "vector_type", ";", "error_at", "(", "location", ",", "\"passing %qT to argument %d of %qE, which\"", "\" expects a vector of 32-bit or 64-bit integers\"", ",", "get_argument_type", "(", "argno", ")", ",", "argno", "+", "1", ",", "fndecl", ")", ";", "return", "NUM_VECTOR_TYPES", ";", "}", ""], "natrual_language": ["Require", "argument", "ARGNO", "to", "be", "a", "vector", "displacement", "in", "a", "gather-style", "address", ".", "Return", "its", "type", "on", "success", ",", "otherwise", "return", "NUM_VECTOR_TYPES", "."], "TS_V_token": ["aarch64", "32", "64", "\"passing %qT to argument %d of %qE, which\"", "\" expects a vector of 32-bit or 64-bit integers\"", "1"], "File": "aarch64-sve-builtins", "Func": "infer_vector_displacement_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10569, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "eligible_for_restore_insn", "(", "rtx", "trial", ",", "bool", "return_p", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "trial", ")", ";", "rtx", "src", "=", "SET_SRC", "(", "pat", ")", ";", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "src", ")", ")", "!=", "MODE_FLOAT", "&&", "arith_operand", "(", "src", ",", "GET_MODE", "(", "src", ")", ")", ")", "{", "if", "(", "TARGET_ARCH64", ")", "return", "GET_MODE_SIZE", "(", "GET_MODE", "(", "src", ")", ")", "<=", "GET_MODE_SIZE", "(", "DImode", ")", ";", "else", "return", "GET_MODE_SIZE", "(", "GET_MODE", "(", "src", ")", ")", "<=", "GET_MODE_SIZE", "(", "SImode", ")", ";", "}", "else", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "src", ")", ")", "!=", "MODE_FLOAT", "&&", "arith_double_operand", "(", "src", ",", "GET_MODE", "(", "src", ")", ")", ")", "return", "GET_MODE_SIZE", "(", "GET_MODE", "(", "src", ")", ")", "<=", "GET_MODE_SIZE", "(", "DImode", ")", ";", "else", "if", "(", "!", "TARGET_FPU", "&&", "register_operand", "(", "src", ",", "SFmode", ")", ")", "return", "1", ";", "else", "if", "(", "!", "TARGET_FPU", "&&", "TARGET_ARCH64", "&&", "register_operand", "(", "src", ",", "DFmode", ")", ")", "return", "1", ";", "else", "if", "(", "return_p", "&&", "TARGET_V9", "&&", "!", "epilogue_renumber", "(", "&", "pat", ",", "1", ")", "&&", "(", "get_attr_in_uncond_branch_delay", "(", "trial", ")", "==", "IN_UNCOND_BRANCH_DELAY_TRUE", ")", ")", "return", "1", ";", "else", "if", "(", "GET_CODE", "(", "src", ")", "==", "PLUS", "&&", "register_operand", "(", "XEXP", "(", "src", ",", "0", ")", ",", "SImode", ")", "&&", "arith_operand", "(", "XEXP", "(", "src", ",", "1", ")", ",", "SImode", ")", ")", "return", "1", ";", "else", "if", "(", "GET_CODE", "(", "src", ")", "==", "PLUS", "&&", "register_operand", "(", "XEXP", "(", "src", ",", "0", ")", ",", "DImode", ")", "&&", "arith_double_operand", "(", "XEXP", "(", "src", ",", "1", ")", ",", "DImode", ")", ")", "return", "1", ";", "else", "if", "(", "GET_CODE", "(", "src", ")", "==", "LO_SUM", "&&", "!", "TARGET_CM_MEDMID", "&&", "(", "(", "register_operand", "(", "XEXP", "(", "src", ",", "0", ")", ",", "SImode", ")", "&&", "immediate_operand", "(", "XEXP", "(", "src", ",", "1", ")", ",", "SImode", ")", ")", "||", "(", "TARGET_ARCH64", "&&", "register_operand", "(", "XEXP", "(", "src", ",", "0", ")", ",", "DImode", ")", "&&", "immediate_operand", "(", "XEXP", "(", "src", ",", "1", ")", ",", "DImode", ")", ")", ")", ")", "return", "1", ";", "else", "if", "(", "GET_CODE", "(", "src", ")", "==", "ASHIFT", "&&", "(", "register_operand", "(", "XEXP", "(", "src", ",", "0", ")", ",", "SImode", ")", "||", "register_operand", "(", "XEXP", "(", "src", ",", "0", ")", ",", "DImode", ")", ")", "&&", "XEXP", "(", "src", ",", "1", ")", "==", "const1_rtx", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "TRIAL", ",", "an", "insn", ",", "can", "be", "combined", "with", "a", "'restore", "'", "instruction", ".", "RETURN_P", "is", "true", "if", "the", "v9", "variant", "'return", "'", "is", "to", "be", "considered", "in", "the", "test", "too", ".", "TRIAL", "must", "be", "a", "SET", "whose", "destination", "is", "a", "REG", "appropriate", "for", "the", "'restore", "'", "instruction", "or", ",", "if", "RETURN_P", "is", "true", ",", "for", "the", "'return", "'", "instruction", "."], "TS_V_token": ["sparc", "1", "1", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "0", "1", "1", "0", "0", "1", "1", "0"], "File": "sparc3", "Func": "eligible_for_restore_insn", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10570, "Length": 381, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MipsSubtarget", "::", "MipsSubtarget", "(", "const", "std", "::", "string", "&", "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", ")", ",", "AllowMixed16_32", "(", "Mixed16_32", "|", "Mips_Os16", ")", ",", "Os16", "(", "Mips_Os16", ")", ",", "HasMSA", "(", "false", ")", ",", "TM", "(", "TM", ")", ",", "TargetTriple", "(", "TT", ")", ",", "TSInfo", "(", "*", "TM", ".", "getDataLayout", "(", ")", ")", ",", "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", "(", ")", "||", "isABI_EABI", "(", ")", ")", ")", "||", "(", "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", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "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": "MipsSubtarget52", "Func": "MipsSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10571, "Length": 463, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "resolveFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "I", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "int", "Off", "=", "Offset", ";", "unsigned", "i", "=", "0", ";", "assert", "(", "!", "AFI", "->", "isThumb1OnlyFunction", "(", ")", "&&", "\"This resolveFrameIndex does not support Thumb1!\"", ")", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "bool", "Done", "=", "false", ";", "if", "(", "!", "AFI", "->", "isThumbFunction", "(", ")", ")", "Done", "=", "rewriteARMFrameIndex", "(", "MI", ",", "i", ",", "BaseReg", ",", "Off", ",", "TII", ")", ";", "else", "{", "assert", "(", "AFI", "->", "isThumb2Function", "(", ")", ")", ";", "Done", "=", "rewriteT2FrameIndex", "(", "MI", ",", "i", ",", "BaseReg", ",", "Off", ",", "TII", ")", ";", "}", "assert", "(", "Done", "&&", "\"Unable to resolve frame index!\"", ")", ";", "}", ""], "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", "0", "\"This resolveFrameIndex does not support Thumb1!\"", "\"Instr doesn't have FrameIndex operand!\"", "ARM", "\"Unable to resolve frame index!\""], "File": "ARMBaseRegisterInfo29", "Func": "resolveFrameIndex", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10572, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_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", ",", "temp1", ",", "temp2", ",", "fnaddr", ";", "rtx_insn", "*", "insn", ";", "bool", "use_sibcall_p", ";", "reload_completed", "=", "1", ";", "emit_note", "(", "NOTE_INSN_PROLOGUE_END", ")", ";", "fnaddr", "=", "XEXP", "(", "DECL_RTL", "(", "function", ")", ",", "0", ")", ";", "use_sibcall_p", "=", "(", "mips_function_ok_for_sibcall", "(", "function", ",", "NULL", ")", "&&", "const_call_insn_operand", "(", "fnaddr", ",", "Pmode", ")", ")", ";", "if", "(", "!", "use_sibcall_p", "&&", "(", "mips_got_symbol_type_p", "(", "mips_classify_symbol", "(", "fnaddr", ",", "SYMBOL_CONTEXT_LEA", ")", ")", ")", ")", "{", "cfun", "->", "machine", "->", "global_pointer", "=", "TARGET_CALL_SAVED_GP", "?", "15", ":", "GLOBAL_POINTER_REGNUM", ";", "cfun", "->", "machine", "->", "must_initialize_gp_p", "=", "true", ";", "SET_REGNO", "(", "pic_offset_table_rtx", ",", "cfun", "->", "machine", "->", "global_pointer", ")", ";", "mips_emit_loadgp", "(", ")", ";", "}", "temp1", "=", "gen_rtx_REG", "(", "Pmode", ",", "2", ")", ";", "temp2", "=", "gen_rtx_REG", "(", "Pmode", ",", "3", ")", ";", "if", "(", "aggregate_value_p", "(", "TREE_TYPE", "(", "TREE_TYPE", "(", "function", ")", ")", ",", "function", ")", ")", "this_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "GP_ARG_FIRST", "+", "1", ")", ";", "else", "this_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "GP_ARG_FIRST", ")", ";", "if", "(", "delta", "!=", "0", ")", "{", "rtx", "offset", "=", "GEN_INT", "(", "delta", ")", ";", "if", "(", "!", "SMALL_OPERAND", "(", "delta", ")", ")", "{", "mips_emit_move", "(", "temp1", ",", "offset", ")", ";", "offset", "=", "temp1", ";", "}", "emit_insn", "(", "gen_add3_insn", "(", "this_rtx", ",", "this_rtx", ",", "offset", ")", ")", ";", "}", "if", "(", "vcall_offset", "!=", "0", ")", "{", "rtx", "addr", ";", "mips_emit_move", "(", "temp1", ",", "gen_rtx_MEM", "(", "Pmode", ",", "this_rtx", ")", ")", ";", "addr", "=", "mips_add_offset", "(", "temp2", ",", "temp1", ",", "vcall_offset", ")", ";", "mips_emit_move", "(", "temp1", ",", "gen_rtx_MEM", "(", "Pmode", ",", "addr", ")", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "this_rtx", ",", "this_rtx", ",", "temp1", ")", ")", ";", "}", "if", "(", "use_sibcall_p", ")", "{", "insn", "=", "emit_call_insn", "(", "gen_sibcall_internal", "(", "fnaddr", ",", "const0_rtx", ")", ")", ";", "SIBLING_CALL_P", "(", "insn", ")", "=", "1", ";", "}", "else", "{", "if", "(", "TARGET_USE_PIC_FN_ADDR_REG", "&&", "!", "TARGET_MIPS16", "&&", "!", "mips_dangerous_for_la25_p", "(", "fnaddr", ")", ")", "temp1", "=", "gen_rtx_REG", "(", "Pmode", ",", "PIC_FUNCTION_ADDR_REGNUM", ")", ";", "mips_load_call_address", "(", "MIPS_CALL_SIBCALL", ",", "temp1", ",", "fnaddr", ")", ";", "if", "(", "TARGET_USE_PIC_FN_ADDR_REG", "&&", "REGNO", "(", "temp1", ")", "!=", "PIC_FUNCTION_ADDR_REGNUM", ")", "mips_emit_move", "(", "gen_rtx_REG", "(", "Pmode", ",", "PIC_FUNCTION_ADDR_REGNUM", ")", ",", "temp1", ")", ";", "emit_jump_insn", "(", "gen_indirect_jump", "(", "temp1", ")", ")", ";", "}", "insn", "=", "get_insns", "(", ")", ";", "split_all_insns_noflow", "(", ")", ";", "mips16_lay_out_constants", "(", "true", ")", ";", "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", ".", "Generate", "rtl", "rather", "than", "asm", "text", "in", "order", "to", "avoid", "duplicating", "too", "much", "logic", "from", "elsewhere", "."], "TS_V_token": ["mips", "1", "0", "15", "2", "3", "1", "0", "0", "1", "1", "1", "0"], "File": "mips", "Func": "mips_output_mi_thunk", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10573, "Length": 456, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "OutgoingValueHandler", "::", "assignValueToAddress", "(", "unsigned", "ValVReg", ",", "const", "CCValAssign", "&", "VA", ")", "{", "MachineMemOperand", "*", "MMO", ";", "unsigned", "Addr", "=", "getStackAddress", "(", "VA", ",", "MMO", ")", ";", "unsigned", "ExtReg", "=", "extendRegister", "(", "ValVReg", ",", "VA", ")", ";", "MIRBuilder", ".", "buildStore", "(", "ExtReg", ",", "Addr", ",", "*", "MMO", ")", ";", "}", ""], "natrual_language": ["An", "overload", "which", "takes", "an", "ArgInfo", "if", "additional", "information", "about", "the", "arg", "is", "needed", "."], "TS_V_token": ["Mips"], "File": "MipsCallLowering1", "Func": "assignValueToAddress", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10574, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isEqual", "(", "const", "MemOpKey", "&", "LHS", ",", "const", "MemOpKey", "&", "RHS", ")", "{", "if", "(", "RHS", ".", "Disp", "==", "PtrInfo", "::", "getEmptyKey", "(", ")", ")", "return", "LHS", ".", "Disp", "==", "PtrInfo", "::", "getEmptyKey", "(", ")", ";", "if", "(", "RHS", ".", "Disp", "==", "PtrInfo", "::", "getTombstoneKey", "(", ")", ")", "return", "LHS", ".", "Disp", "==", "PtrInfo", "::", "getTombstoneKey", "(", ")", ";", "return", "LHS", "==", "RHS", ";", "}", ""], "natrual_language": ["isEqual", "-", "Compares", "two", "trees", "for", "structural", "equality", "and", "returns", "true", "if", "they", "are", "equal", "."], "TS_V_token": ["X86"], "File": "X86OptimizeLEAs", "Func": "isEqual", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10575, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "X86TTIImpl", "::", "getScalarizationOverhead", "(", "VectorType", "*", "Ty", ",", "const", "APInt", "&", "DemandedElts", ",", "bool", "Insert", ",", "bool", "Extract", ")", "{", "InstructionCost", "Cost", "=", "0", ";", "if", "(", "Insert", ")", "{", "std", "::", "pair", "<", "InstructionCost", ",", "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", "{", "const", "int", "CostValue", "=", "*", "LT", ".", "first", ".", "getValue", "(", ")", ";", "assert", "(", "CostValue", ">=", "0", "&&", "\"Negative cost!\"", ")", ";", "unsigned", "Num128Lanes", "=", "LT", ".", "second", ".", "getSizeInBits", "(", ")", "/", "128", "*", "CostValue", ";", "unsigned", "NumElts", "=", "LT", ".", "second", ".", "getVectorNumElements", "(", ")", "*", "CostValue", ";", "APInt", "WidenedDemandedElts", "=", "DemandedElts", ".", "zextOrSelf", "(", "NumElts", ")", ";", "unsigned", "Scale", "=", "NumElts", "/", "Num128Lanes", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "NumElts", ";", "I", "+=", "Scale", ")", "{", "APInt", "Mask", "=", "WidenedDemandedElts", ".", "getBitsSet", "(", "NumElts", ",", "I", ",", "I", "+", "Scale", ")", ";", "APInt", "MaskedDE", "=", "Mask", "&", "WidenedDemandedElts", ";", "unsigned", "Population", "=", "MaskedDE", ".", "countPopulation", "(", ")", ";", "Cost", "+=", "(", "Population", ">", "0", "&&", "Population", "!=", "Scale", "&&", "I", "%", "LT", ".", "second", ".", "getVectorNumElements", "(", ")", "!=", "0", ")", ";", "Cost", "+=", "Population", ">", "0", ";", "}", "Cost", "+=", "DemandedElts", ".", "countPopulation", "(", ")", ";", "if", "(", "MScalarTy", "==", "MVT", "::", "f32", ")", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "cast", "<", "FixedVectorType", ">", "(", "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", "(", "cast", "<", "FixedVectorType", ">", "(", "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", "0", "\"Negative cost!\"", "128", "0", "0", "0", "0", "MVT::f32", "0", "4", "1"], "File": "X86TargetTransformInfo (2)1", "Func": "getScalarizationOverhead", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10576, "Length": 444, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "OS", ")", "{", "SystemZInstPrinter", "::", "printAddress", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", ",", "MI", "->", "getOperand", "(", "OpNo", "+", "1", ")", ".", "getImm", "(", ")", ",", "MI", "->", "getOperand", "(", "OpNo", "+", "2", ")", ".", "getReg", "(", ")", ",", "OS", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "1", "2"], "File": "SystemZAsmPrinter (2)1", "Func": "PrintAsmMemoryOperand", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10577, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCodeEmitter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "assert", "(", "(", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Default", "||", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Static", ")", "&&", "\"JIT relocation model must be set to static or default!\"", ")", ";", "JTI", "=", "(", "(", "ARMBaseTargetMachine", "&", ")", "MF", ".", "getTarget", "(", ")", ")", ".", "getJITInfo", "(", ")", ";", "II", "=", "(", "const", "ARMBaseInstrInfo", "*", ")", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "TD", "=", "MF", ".", "getTarget", "(", ")", ".", "getTargetData", "(", ")", ";", "Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "MCPEs", "=", "&", "MF", ".", "getConstantPool", "(", ")", "->", "getConstants", "(", ")", ";", "MJTEs", "=", "0", ";", "if", "(", "MF", ".", "getJumpTableInfo", "(", ")", ")", "MJTEs", "=", "&", "MF", ".", "getJumpTableInfo", "(", ")", "->", "getJumpTables", "(", ")", ";", "IsPIC", "=", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ";", "IsThumb", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", "->", "isThumbFunction", "(", ")", ";", "JTI", "->", "Initialize", "(", "MF", ",", "IsPIC", ")", ";", "MMI", "=", "&", "getAnalysis", "<", "MachineModuleInfo", ">", "(", ")", ";", "MCE", ".", "setModuleInfo", "(", "MMI", ")", ";", "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", "::", "iterator", "I", "=", "MBB", "->", "begin", "(", ")", ",", "E", "=", "MBB", "->", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "emitInstruction", "(", "*", "I", ")", ";", "}", "}", "while", "(", "MCE", ".", "finishFunction", "(", "MF", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "\"JIT relocation model must be set to static or default!\"", "ARM", "ARM", "ARM", "0", "ARM", "\"JITTing function '\"", "\"'\\n\""], "File": "ARMCodeEmitter13", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10578, "Length": 307, "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": 10579, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "IA64RegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "MachineInstr", "*", "Old", "=", "I", ";", "unsigned", "Amount", "=", "Old", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "DebugLoc", "dl", "=", "Old", "->", "getDebugLoc", "(", ")", ";", "if", "(", "Amount", "!=", "0", ")", "{", "unsigned", "Align", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", "->", "getStackAlignment", "(", ")", ";", "Amount", "=", "(", "Amount", "+", "Align", "-", "1", ")", "/", "Align", "*", "Align", ";", "if", "(", "Old", "->", "getOpcode", "(", ")", "==", "IA64", "::", "ADJUSTCALLSTACKDOWN", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "TII", ".", "get", "(", "IA64", "::", "ADDIMM22", ")", ",", "IA64", "::", "r12", ")", ".", "addReg", "(", "IA64", "::", "r12", ")", ".", "addImm", "(", "-", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Old", "->", "getOpcode", "(", ")", "==", "IA64", "::", "ADJUSTCALLSTACKUP", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "TII", ".", "get", "(", "IA64", "::", "ADDIMM22", ")", ",", "IA64", "::", "r12", ")", ".", "addReg", "(", "IA64", "::", "r12", ")", ".", "addImm", "(", "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": ["IA64", "IA64", "0", "0", "1", "IA64::ADJUSTCALLSTACKDOWN", "IA64::ADDIMM22", "IA64::r12", "IA64::r12", "IA64::ADJUSTCALLSTACKUP", "IA64::ADDIMM22", "IA64::r12", "IA64::r12"], "File": "IA64RegisterInfo", "Func": "eliminateCallFramePseudoInstr", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10580, "Length": 204, "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", "ARMSubtarget", "&", "STI", "=", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "if", "(", "STI", ".", "isThumb1Only", "(", ")", ")", "return", "false", ";", "const", "TargetMachine", "&", "TM", "=", "MF", ".", "getTarget", "(", ")", ";", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", ")", "return", "false", ";", "LLVMContext", "*", "Context", "=", "&", "MF", ".", "getFunction", "(", ")", "->", "getContext", "(", ")", ";", "unsigned", "ARMPCLabelIndex", "=", "AFI", "->", "createPICLabelUId", "(", ")", ";", "unsigned", "PCAdj", "=", "STI", ".", "isThumb", "(", ")", "?", "4", ":", "8", ";", "ARMConstantPoolValue", "*", "CPV", "=", "ARMConstantPoolSymbol", "::", "Create", "(", "*", "Context", ",", "\"_GLOBAL_OFFSET_TABLE_\"", ",", "ARMPCLabelIndex", ",", "PCAdj", ")", ";", "unsigned", "Align", "=", "MF", ".", "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", "=", "STI", ".", "isThumb2", "(", ")", "?", "ARM", "::", "t2LDRpci", ":", "ARM", "::", "LDRcp", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "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", "=", "STI", ".", "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", "4", "8", "ARM", "ARM", "\"_GLOBAL_OFFSET_TABLE_\"", "ARM", "ARM::rGPRRegClass", "ARM::t2LDRpci", "ARM::LDRcp", "ARM::LDRcp", "0", "ARM::tPICADD", "ARM::PICADD", "ARM", "ARM::PICADD"], "File": "ARMInstrInfo38", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10581, "Length": 377, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ignore_all_aliases", "(", "HARD_REG_SET", "*", "unavailable", ",", "machine_mode", "mode", ",", "unsigned", "reg", ")", "{", "add_to_hard_reg_set", "(", "unavailable", ",", "mode", ",", "reg", ")", ";", "add_to_hard_reg_set", "(", "unavailable", ",", "mode", ",", "reg", "+", "16", ")", ";", "add_to_hard_reg_set", "(", "unavailable", ",", "mode", ",", "reg", "+", "32", ")", ";", "add_to_hard_reg_set", "(", "unavailable", ",", "mode", ",", "reg", "+", "48", ")", ";", "}", ""], "natrual_language": ["Add", "all", "aliases", "of", "the", "register", "to", "the", "unavailable", "register", "set", ".", "REG", "is", "the", "smallest", "register", "number", "that", "can", "then", "be", "used", "to", "reference", "its", "aliases", ".", "UNAVAILABLE", "is", "the", "hard", "register", "set", "to", "add", "the", "ignored", "register", "numbers", "to", "and", "MODE", "is", "the", "mode", "in", "which", "the", "registers", "would", "have", "been", "used", "."], "TS_V_token": ["aarch64", "16", "32", "48"], "File": "falkor-tag-collision-avoidance", "Func": "ignore_all_aliases", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10582, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnModule", "(", "Module", "&", "M", ")", "{", "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": "ARM64PromoteConstant", "Func": "runOnModule", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10583, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_set_default_type_attributes", "(", "tree", "type", ")", "{", "if", "(", "rs6000_default_long_calls", "&&", "(", "TREE_CODE", "(", "type", ")", "==", "FUNCTION_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "METHOD_TYPE", ")", ")", "TYPE_ATTRIBUTES", "(", "type", ")", "=", "tree_cons", "(", "get_identifier", "(", "\"longcall\"", ")", ",", "NULL_TREE", ",", "TYPE_ATTRIBUTES", "(", "type", ")", ")", ";", "darwin_set_default_type_attributes", "(", "type", ")", ";", "}", ""], "natrual_language": ["Set", "longcall", "attributes", "on", "all", "functions", "declared", "when", "rs6000_default_long_calls", "is", "true", "."], "TS_V_token": ["powerpcspe", "\"longcall\""], "File": "powerpcspe", "Func": "rs6000_set_default_type_attributes", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10584, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb2SizeReduce", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "PredicateFtor", "&&", "!", "PredicateFtor", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "STI", "=", "&", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "if", "(", "STI", "->", "isThumb1Only", "(", ")", "||", "STI", "->", "prefers32BitThumb", "(", ")", ")", "return", "false", ";", "TII", "=", "static_cast", "<", "const", "Thumb2InstrInfo", "*", ">", "(", "STI", "->", "getInstrInfo", "(", ")", ")", ";", "OptimizeSize", "=", "MF", ".", "getFunction", "(", ")", ".", "optForSize", "(", ")", ";", "MinimizeSize", "=", "STI", "->", "optForMinSize", "(", ")", ";", "BlockInfo", ".", "clear", "(", ")", ";", "BlockInfo", ".", "resize", "(", "MF", ".", "getNumBlockIDs", "(", ")", ")", ";", "ReversePostOrderTraversal", "<", "MachineFunction", "*", ">", "RPOT", "(", "&", "MF", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "ReversePostOrderTraversal", "<", "MachineFunction", "*", ">", "::", "rpo_iterator", "I", "=", "RPOT", ".", "begin", "(", ")", ",", "E", "=", "RPOT", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Modified", "|=", "ReduceMBB", "(", "*", "*", "I", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM"], "File": "Thumb2SizeReduction65", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10585, "Length": 175, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToAddress", "(", "const", "CallLowering", "::", "ArgInfo", "&", "Arg", ",", "Register", "Addr", ",", "uint64_t", "Size", ",", "MachinePointerInfo", "&", "MPO", ",", "CCValAssign", "&", "VA", ")", "override", "{", "unsigned", "MaxSize", "=", "Size", "*", "8", ";", "if", "(", "!", "Arg", ".", "IsFixed", ")", "MaxSize", "=", "0", ";", "Register", "ValVReg", "=", "VA", ".", "getLocInfo", "(", ")", "!=", "CCValAssign", "::", "LocInfo", "::", "FPExt", "?", "extendRegister", "(", "Arg", ".", "Regs", "[", "0", "]", ",", "VA", ",", "MaxSize", ")", ":", "Arg", ".", "Regs", "[", "0", "]", ";", "const", "LLT", "RegTy", "=", "MRI", ".", "getType", "(", "ValVReg", ")", ";", "if", "(", "RegTy", ".", "getSizeInBytes", "(", ")", ">", "Size", ")", "Size", "=", "RegTy", ".", "getSizeInBytes", "(", ")", ";", "assignValueToAddress", "(", "ValVReg", ",", "Addr", ",", "Size", ",", "MPO", ",", "VA", ")", ";", "}", ""], "natrual_language": ["An", "overload", "which", "takes", "an", "ArgInfo", "if", "additional", "information", "about", "the", "arg", "is", "needed", "."], "TS_V_token": ["AArch64", "8", "0", "0", "0"], "File": "AArch64CallLowering16", "Func": "assignValueToAddress", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10586, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "ARMTargetLowering", "::", "getRegClassFor", "(", "MVT", "VT", ",", "bool", "isDivergent", ")", "const", "{", "(", "void", ")", "isDivergent", ";", "if", "(", "Subtarget", "->", "hasNEON", "(", ")", "||", "Subtarget", "->", "hasMVEIntegerOps", "(", ")", ")", "{", "if", "(", "VT", "==", "MVT", "::", "v4i64", ")", "return", "&", "ARM", "::", "QQPRRegClass", ";", "if", "(", "VT", "==", "MVT", "::", "v8i64", ")", "return", "&", "ARM", "::", "QQQQPRRegClass", ";", "}", "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"], "File": "ARMISelLowering (2)6", "Func": "getRegClassFor", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10587, "Length": 73, "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", ")", ",", "ReserveX18", "(", "TT", ".", "isOSDarwin", "(", ")", ")", ",", "IsLittle", "(", "LittleEndian", ")", ",", "TargetTriple", "(", "TT", ")", ",", "FrameLowering", "(", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "FS", ",", "CPU", ")", ")", ",", "TSInfo", "(", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", ",", "GISel", "(", ")", "{", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64Subtarget25", "Func": "AArch64Subtarget", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10588, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "::", "HazardType", "SystemZHazardRecognizer", "::", "getHazardType", "(", "SUnit", "*", "m", ",", "int", "Stalls", ")", "{", "return", "(", "fitsIntoCurrentGroup", "(", "m", ")", "?", "NoHazard", ":", "Hazard", ")", ";", "}", ""], "natrual_language": ["getHazardType", "-", "Return", "the", "hazard", "type", "of", "emitting", "this", "node", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZHazardRecognizer", "Func": "getHazardType", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10589, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "strip_offset_and_salt", "(", "rtx", "addr", ",", "poly_int64", "*", "offset", ")", "{", "return", "strip_salt", "(", "strip_offset", "(", "addr", ",", "offset", ")", ")", ";", "}", ""], "natrual_language": ["Like", "strip_offset", ",", "but", "also", "strip", "any", "UNSPEC_SALT_ADDR", "from", "the", "expression", "."], "TS_V_token": ["aarch64"], "File": "aarch641", "Func": "strip_offset_and_salt", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10590, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "aarch64_parse_opt_result", "aarch64_parse_arch", "(", "const", "char", "*", "to_parse", ",", "const", "struct", "processor", "*", "*", "res", ",", "uint64_t", "*", "isa_flags", ",", "std", "::", "string", "*", "invalid_extension", ")", "{", "const", "char", "*", "ext", ";", "const", "struct", "processor", "*", "arch", ";", "size_t", "len", ";", "ext", "=", "strchr", "(", "to_parse", ",", "'+'", ")", ";", "if", "(", "ext", "!=", "NULL", ")", "len", "=", "ext", "-", "to_parse", ";", "else", "len", "=", "strlen", "(", "to_parse", ")", ";", "if", "(", "len", "==", "0", ")", "return", "AARCH64_PARSE_MISSING_ARG", ";", "for", "(", "arch", "=", "all_architectures", ";", "arch", "->", "name", "!=", "NULL", ";", "arch", "++", ")", "{", "if", "(", "strlen", "(", "arch", "->", "name", ")", "==", "len", "&&", "strncmp", "(", "arch", "->", "name", ",", "to_parse", ",", "len", ")", "==", "0", ")", "{", "uint64_t", "isa_temp", "=", "arch", "->", "flags", ";", "if", "(", "ext", "!=", "NULL", ")", "{", "enum", "aarch64_parse_opt_result", "ext_res", "=", "aarch64_parse_extension", "(", "ext", ",", "&", "isa_temp", ",", "invalid_extension", ")", ";", "if", "(", "ext_res", "!=", "AARCH64_PARSE_OK", ")", "return", "ext_res", ";", "}", "*", "res", "=", "arch", ";", "*", "isa_flags", "=", "isa_temp", ";", "return", "AARCH64_PARSE_OK", ";", "}", "}", "return", "AARCH64_PARSE_INVALID_ARG", ";", "}", ""], "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", "0", "0"], "File": "aarch64", "Func": "aarch64_parse_arch", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10591, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "~", "SystemZXPLINK64Registers", "(", ")", "{", "}", ""], "natrual_language": ["Destroys", "the", "object", ".", "Bogus", "destructor", "overriding", "base", "class", "destructor", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZRegisterInfo (2)1", "Func": "~SystemZXPLINK64Registers", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10592, "Length": 6, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "inlineStackProbe", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "PrologMBB", ")", "const", "{", "const", "StringRef", "ChkStkStubSymbol", "=", "\"__chkstk_stub\"", ";", "MachineInstr", "*", "ChkStkStub", "=", "nullptr", ";", "for", "(", "MachineInstr", "&", "MI", ":", "PrologMBB", ")", "{", "if", "(", "MI", ".", "isCall", "(", ")", "&&", "MI", ".", "getOperand", "(", "0", ")", ".", "isSymbol", "(", ")", "&&", "ChkStkStubSymbol", "==", "MI", ".", "getOperand", "(", "0", ")", ".", "getSymbolName", "(", ")", ")", "{", "ChkStkStub", "=", "&", "MI", ";", "break", ";", "}", "}", "if", "(", "ChkStkStub", "!=", "nullptr", ")", "{", "assert", "(", "!", "ChkStkStub", "->", "isBundled", "(", ")", "&&", "\"Not expecting bundled instructions here\"", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "std", "::", "next", "(", "ChkStkStub", "->", "getIterator", "(", ")", ")", ";", "assert", "(", "std", "::", "prev", "(", "MBBI", ")", ".", "operator", "==", "(", "ChkStkStub", ")", "&&", "\"MBBI expected after __chkstk_stub.\"", ")", ";", "DebugLoc", "DL", "=", "PrologMBB", ".", "findDebugLoc", "(", "MBBI", ")", ";", "emitStackProbeInline", "(", "MF", ",", "PrologMBB", ",", "MBBI", ",", "DL", ",", "true", ")", ";", "ChkStkStub", "->", "eraseFromParent", "(", ")", ";", "}", "}", ""], "natrual_language": ["Replace", "a", "StackProbe", "inline-stub", "with", "the", "actual", "probe", "code", "inline", "."], "TS_V_token": ["X86", "X86", "\"__chkstk_stub\"", "0", "0", "\"Not expecting bundled instructions here\"", "\"MBBI expected after __chkstk_stub.\""], "File": "X86FrameLowering112", "Func": "inlineStackProbe", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10593, "Length": 162, "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": 10594, "Length": 74, "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": ["PowerPC"], "File": "PPCSubtarget", "Func": "enableEarlyIfConversion", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10595, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "loongarch_regno_mode_ok_for_base_p", "(", "int", "regno", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "bool", "strict_p", ")", "{", "if", "(", "!", "HARD_REGISTER_NUM_P", "(", "regno", ")", ")", "{", "if", "(", "!", "strict_p", ")", "return", "true", ";", "regno", "=", "reg_renumber", "[", "regno", "]", ";", "}", "if", "(", "regno", "==", "ARG_POINTER_REGNUM", "||", "regno", "==", "FRAME_POINTER_REGNUM", ")", "return", "true", ";", "return", "GP_REG_P", "(", "regno", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "register", "REGNO", "is", "a", "valid", "base", "register", "for", "mode", "MODE", ".", "STRICT_P", "is", "true", "if", "REG_OK_STRICT", "is", "in", "effect", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_regno_mode_ok_for_base_p", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10596, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmBackend", "::", "emitInstructionBegin", "(", "MCObjectStreamer", "&", "OS", ",", "const", "MCInst", "&", "Inst", ")", "{", "if", "(", "!", "needAlign", "(", "OS", ")", ")", "return", ";", "if", "(", "hasInterruptDelaySlot", "(", "PrevInst", ")", ")", "return", ";", "if", "(", "isPrefix", "(", "PrevInst", ",", "*", "MCII", ")", ")", "return", ";", "if", "(", "isRightAfterData", "(", "OS", ".", "getCurrentFragment", "(", ")", ",", "PrevInstPosition", ")", ")", "return", ";", "if", "(", "!", "isMacroFused", "(", "PrevInst", ",", "Inst", ")", ")", "PendingBoundaryAlign", "=", "nullptr", ";", "if", "(", "PendingBoundaryAlign", "&&", "OS", ".", "getCurrentFragment", "(", ")", "->", "getPrevNode", "(", ")", "==", "PendingBoundaryAlign", ")", "{", "return", ";", "}", "if", "(", "needAlignInst", "(", "Inst", ")", "||", "(", "(", "AlignBranchType", "&", "X86", "::", "AlignBranchFused", ")", "&&", "isFirstMacroFusibleInst", "(", "Inst", ",", "*", "MCII", ")", ")", ")", "{", "OS", ".", "insert", "(", "PendingBoundaryAlign", "=", "new", "MCBoundaryAlignFragment", "(", "AlignBoundary", ")", ")", ";", "}", "}", ""], "natrual_language": ["Give", "the", "target", "a", "chance", "to", "manipulate", "state", "related", "to", "instruction", "alignment", "(", "e.g", "."], "TS_V_token": ["X86", "X86", "X86::AlignBranchFused"], "File": "X86AsmBackend51", "Func": "emitInstructionBegin", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10597, "Length": 136, "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", "->", "isTargetWindows", "(", ")", "&&", "IsVarArg", ")", "return", "CC_AArch64_Win64_VarArg", ";", "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", "AArch64"], "File": "AArch64ISelLowering105", "Func": "CCAssignFnForCall", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10598, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "getRecipEstimate", "(", "SDValue", "Operand", ",", "SelectionDAG", "&", "DAG", ",", "int", "Enabled", ",", "int", "&", "RefinementSteps", ")", "const", "{", "EVT", "VT", "=", "Operand", ".", "getValueType", "(", ")", ";", "if", "(", "(", "VT", "==", "MVT", "::", "f32", "&&", "Subtarget", ".", "hasFRES", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "f64", "&&", "Subtarget", ".", "hasFRE", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "v4f32", "&&", "Subtarget", ".", "hasAltivec", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "v2f64", "&&", "Subtarget", ".", "hasVSX", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "v4f32", "&&", "Subtarget", ".", "hasQPX", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "v4f64", "&&", "Subtarget", ".", "hasQPX", "(", ")", ")", ")", "{", "if", "(", "RefinementSteps", "==", "ReciprocalEstimate", "::", "Unspecified", ")", "RefinementSteps", "=", "getEstimateRefinementSteps", "(", "VT", ",", "Subtarget", ")", ";", "return", "DAG", ".", "getNode", "(", "PPCISD", "::", "FRE", ",", "SDLoc", "(", "Operand", ")", ",", "VT", ",", "Operand", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Return", "a", "reciprocal", "estimate", "value", "for", "the", "input", "operand", "."], "TS_V_token": ["PowerPC", "PPC", "MVT::f32", "MVT::f64", "MVT::v4f32", "MVT::v2f64", "MVT::v4f32", "MVT::v4f64", "PPCISD::FRE"], "File": "PPCISelLowering (2)7", "Func": "getRecipEstimate", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10599, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "DCPU16RegisterInfo", "::", "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", ")", "{", "Amount", "=", "(", "Amount", "+", "StackAlign", "-", "1", ")", "/", "StackAlign", "*", "StackAlign", ";", "MachineInstr", "*", "New", "=", "0", ";", "if", "(", "Old", "->", "getOpcode", "(", ")", "==", "TII", ".", "getCallFrameSetupOpcode", "(", ")", ")", "{", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "DCPU16", "::", "SUB16ri", ")", ",", "DCPU16", "::", "SP", ")", ".", "addReg", "(", "DCPU16", "::", "SP", ")", ".", "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", "(", "DCPU16", "::", "ADD16ri", ")", ",", "DCPU16", "::", "SP", ")", ".", "addReg", "(", "DCPU16", "::", "SP", ")", ".", "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", "(", "DCPU16", "::", "SUB16ri", ")", ",", "DCPU16", "::", "SP", ")", ".", "addReg", "(", "DCPU16", "::", "SP", ")", ".", "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": ["Dcpu16", "DCPU16", "0", "0", "1", "0", "DCPU16::SUB16ri", "DCPU16::SP", "DCPU16::SP", "1", "DCPU16::ADD16ri", "DCPU16::SP", "DCPU16::SP", "3", "1", "DCPU16::SUB16ri", "DCPU16::SP", "DCPU16::SP", "3"], "File": "Dcpu16RegisterInfo", "Func": "eliminateCallFramePseudoInstr", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10600, "Length": 362, "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", ".", "getValVT", "(", ")", ";", "if", "(", "(", "CopyVT", "==", "MVT", "::", "f32", "||", "CopyVT", "==", "MVT", "::", "f64", ")", "&&", "(", "(", "Is64Bit", "||", "Ins", "[", "i", "]", ".", "Flags", ".", "isInReg", "(", ")", ")", "&&", "!", "Subtarget", "->", "hasSSE1", "(", ")", ")", ")", "{", "report_fatal_error", "(", "\"SSE register return with SSE disabled\"", ")", ";", "}", "if", "(", "(", "VA", ".", "getLocReg", "(", ")", "==", "X86", "::", "FP0", "||", "VA", ".", "getLocReg", "(", ")", "==", "X86", "::", "FP1", ")", "&&", "isScalarFPTypeInSSEReg", "(", "VA", ".", "getValVT", "(", ")", ")", ")", "CopyVT", "=", "MVT", "::", "f80", ";", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "CopyVT", ",", "InFlag", ")", ".", "getValue", "(", "1", ")", ";", "SDValue", "Val", "=", "Chain", ".", "getValue", "(", "0", ")", ";", "if", "(", "CopyVT", "!=", "VA", ".", "getValVT", "(", ")", ")", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "FP_ROUND", ",", "dl", ",", "VA", ".", "getValVT", "(", ")", ",", "Val", ",", "DAG", ".", "getIntPtrConstant", "(", "1", ")", ")", ";", "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", "\"SSE register return with SSE disabled\"", "X86::FP0", "X86::FP1", "MVT::f80", "1", "0", "ISD::FP_ROUND", "1", "2"], "File": "X86ISelLowering (2)4", "Func": "LowerCallResult", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10601, "Length": 316, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCRegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "PPCFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "const", "unsigned", "DefaultSafety", "=", "1", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "PPC", "::", "G8RC_NOX0RegClassID", ":", "case", "PPC", "::", "GPRC_NOR0RegClassID", ":", "case", "PPC", "::", "SPERCRegClassID", ":", "case", "PPC", "::", "G8RCRegClassID", ":", "case", "PPC", "::", "GPRCRegClassID", ":", "{", "unsigned", "FP", "=", "TFI", "->", "hasFP", "(", "MF", ")", "?", "1", ":", "0", ";", "return", "32", "-", "FP", "-", "DefaultSafety", ";", "}", "case", "PPC", "::", "F8RCRegClassID", ":", "case", "PPC", "::", "F4RCRegClassID", ":", "case", "PPC", "::", "QFRCRegClassID", ":", "case", "PPC", "::", "QSRCRegClassID", ":", "case", "PPC", "::", "QBRCRegClassID", ":", "case", "PPC", "::", "VRRCRegClassID", ":", "case", "PPC", "::", "VFRCRegClassID", ":", "case", "PPC", "::", "VSLRCRegClassID", ":", "return", "32", "-", "DefaultSafety", ";", "case", "PPC", "::", "VSRCRegClassID", ":", "case", "PPC", "::", "VSFRCRegClassID", ":", "case", "PPC", "::", "VSSRCRegClassID", ":", "return", "64", "-", "DefaultSafety", ";", "case", "PPC", "::", "CRRCRegClassID", ":", "return", "8", "-", "DefaultSafety", ";", "}", "}", ""], "natrual_language": ["Return", "the", "register", "pressure", "``", "high", "water", "mark", "''", "for", "the", "specific", "register", "class", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "1", "0", "PPC::G8RC_NOX0RegClassID", "PPC::GPRC_NOR0RegClassID", "PPC::SPERCRegClassID", "PPC::G8RCRegClassID", "PPC::GPRCRegClassID", "1", "0", "32", "PPC::F8RCRegClassID", "PPC::F4RCRegClassID", "PPC::QFRCRegClassID", "PPC::QSRCRegClassID", "PPC::QBRCRegClassID", "PPC::VRRCRegClassID", "PPC::VFRCRegClassID", "PPC::VSLRCRegClassID", "32", "PPC::VSRCRegClassID", "PPC::VSFRCRegClassID", "PPC::VSSRCRegClassID", "64", "PPC::CRRCRegClassID", "8"], "File": "PPCRegisterInfo10", "Func": "getRegPressureLimit", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10602, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SVEExpandLibCall", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "this", "->", "F", "=", "&", "F", ";", "bool", "Changed", "=", "false", ";", "SmallVector", "<", "Instruction", "*", ",", "4", ">", "VectorWorkList", ";", "SmallVector", "<", "Instruction", "*", ",", "4", ">", "MemWorkList", ";", "SmallVector", "<", "Instruction", "*", ",", "4", ">", "StructLoadWorkList", ";", "SmallVector", "<", "Instruction", "*", ",", "4", ">", "StructStoreWorkList", ";", "for", "(", "auto", "I", "=", "inst_begin", "(", "F", ")", ",", "E", "=", "inst_end", "(", "F", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "isVectorLibCall", "(", "&", "*", "I", ")", ")", "VectorWorkList", ".", "push_back", "(", "&", "*", "I", ")", ";", "else", "if", "(", "isMemLibCall", "(", "&", "*", "I", ")", ")", "MemWorkList", ".", "push_back", "(", "&", "*", "I", ")", ";", "else", "if", "(", "isStructMemOp", "<", "LoadInst", ">", "(", "&", "*", "I", ")", ")", "StructLoadWorkList", ".", "push_back", "(", "&", "*", "I", ")", ";", "else", "if", "(", "isStructMemOp", "<", "StoreInst", ">", "(", "&", "*", "I", ")", ")", "StructStoreWorkList", ".", "push_back", "(", "&", "*", "I", ")", ";", "}", "for", "(", "auto", "I", ":", "VectorWorkList", ")", "Changed", "|=", "ExpandCallToLoop", "(", "cast", "<", "IntrinsicInst", ">", "(", "I", ")", ")", ";", "for", "(", "auto", "I", ":", "MemWorkList", ")", "Changed", "|=", "ExpandMemCallToLoop", "(", "cast", "<", "MemIntrinsic", ">", "(", "I", ")", ")", ";", "for", "(", "auto", "I", ":", "StructLoadWorkList", ")", "Changed", "|=", "ExpandStructLoad", "(", "cast", "<", "LoadInst", ">", "(", "I", ")", ")", ";", "for", "(", "auto", "I", ":", "StructStoreWorkList", ")", "Changed", "|=", "ExpandStructStore", "(", "cast", "<", "StoreInst", ">", "(", "I", ")", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["AArch64", "4", "4", "4", "4"], "File": "SVEExpandLibCall", "Func": "runOnFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10603, "Length": 249, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "LoongArchRegisterInfo", "::", "getNoPreservedMask", "(", ")", "const", "{", "return", "CSR_NoRegs_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "register", "mask", "that", "clobbers", "everything", "."], "TS_V_token": ["LoongArch", "LoongArch"], "File": "LoongArchRegisterInfo", "Func": "getNoPreservedMask", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10604, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "pa_secondary_reload", "(", "bool", "in_p", ",", "rtx", "x", ",", "reg_class_t", "rclass_i", ",", "machine_mode", "mode", ",", "secondary_reload_info", "*", "sri", ")", "{", "int", "regno", ";", "enum", "reg_class", "rclass", "=", "(", "enum", "reg_class", ")", "rclass_i", ";", "if", "(", "rclass", "==", "R1_REGS", ")", "return", "NO_REGS", ";", "if", "(", "REG_P", "(", "x", ")", ")", "{", "regno", "=", "REGNO", "(", "x", ")", ";", "if", "(", "rclass", "==", "BASE_REG_CLASS", "&&", "regno", "<", "FIRST_PSEUDO_REGISTER", ")", "return", "NO_REGS", ";", "}", "else", "regno", "=", "-", "1", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "MEM", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "MEM", ")", "return", "NO_REGS", ";", "if", "(", "flag_pic", "&&", "FP_REG_CLASS_P", "(", "rclass", ")", "&&", "(", "GET_CODE", "(", "x", ")", "==", "CONST_INT", "||", "GET_CODE", "(", "x", ")", "==", "CONST_DOUBLE", ")", ")", "{", "switch", "(", "mode", ")", "{", "case", "SImode", ":", "sri", "->", "icode", "=", "CODE_FOR_reload_insi_r1", ";", "break", ";", "case", "DImode", ":", "sri", "->", "icode", "=", "CODE_FOR_reload_indi_r1", ";", "break", ";", "case", "SFmode", ":", "sri", "->", "icode", "=", "CODE_FOR_reload_insf_r1", ";", "break", ";", "case", "DFmode", ":", "sri", "->", "icode", "=", "CODE_FOR_reload_indf_r1", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "NO_REGS", ";", "}", "if", "(", "pa_symbolic_expression_p", "(", "x", ")", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "HIGH", ")", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "flag_pic", "||", "!", "read_only_operand", "(", "x", ",", "VOIDmode", ")", ")", "{", "switch", "(", "mode", ")", "{", "case", "SImode", ":", "sri", "->", "icode", "=", "CODE_FOR_reload_insi_r1", ";", "break", ";", "case", "DImode", ":", "sri", "->", "icode", "=", "CODE_FOR_reload_indi_r1", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "NO_REGS", ";", "}", "}", "if", "(", "regno", ">=", "FIRST_PSEUDO_REGISTER", "||", "GET_CODE", "(", "x", ")", "==", "SUBREG", ")", "regno", "=", "true_regnum", "(", "x", ")", ";", "if", "(", "(", "regno", ">=", "FIRST_PSEUDO_REGISTER", "||", "regno", "==", "-", "1", ")", "&&", "FP_REG_CLASS_P", "(", "rclass", ")", ")", "{", "if", "(", "MEM_P", "(", "x", ")", ")", "{", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "IS_INDEX_ADDR_P", "(", "x", ")", ")", "return", "NO_REGS", ";", "}", "sri", "->", "icode", "=", "(", "in_p", "?", "direct_optab_handler", "(", "reload_in_optab", ",", "mode", ")", ":", "direct_optab_handler", "(", "reload_out_optab", ",", "mode", ")", ")", ";", "return", "NO_REGS", ";", "}", "if", "(", "rclass", "==", "SHIFT_REGS", ")", "{", "if", "(", "regno", ">=", "FIRST_PSEUDO_REGISTER", "||", "regno", "<", "0", ")", "{", "sri", "->", "icode", "=", "(", "in_p", "?", "direct_optab_handler", "(", "reload_in_optab", ",", "mode", ")", ":", "direct_optab_handler", "(", "reload_out_optab", ",", "mode", ")", ")", ";", "return", "NO_REGS", ";", "}", "if", "(", "FP_REG_CLASS_P", "(", "REGNO_REG_CLASS", "(", "regno", ")", ")", ")", "return", "GENERAL_REGS", ";", "}", "if", "(", "regno", ">=", "0", "&&", "regno", "<", "FIRST_PSEUDO_REGISTER", "&&", "REGNO_REG_CLASS", "(", "regno", ")", "==", "SHIFT_REGS", "&&", "FP_REG_CLASS_P", "(", "rclass", ")", ")", "return", "GENERAL_REGS", ";", "return", "NO_REGS", ";", "}", ""], "natrual_language": ["Inform", "reload", "about", "cases", "where", "moving", "X", "with", "a", "mode", "MODE", "to", "or", "from", "a", "register", "in", "RCLASS", "requires", "an", "extra", "scratch", "or", "immediate", "register", ".", "Return", "the", "class", "needed", "for", "the", "immediate", "register", "."], "TS_V_token": ["pa", "1", "0", "0", "1", "0", "0", "0"], "File": "pa4", "Func": "pa_secondary_reload", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10605, "Length": 446, "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": 10606, "Length": 345, "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", ";", "if", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isReg", "(", ")", ")", "printMemRegReg", "(", "MI", ",", "OpNo", ")", ";", "else", "printMemRegImm", "(", "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": "PPCAsmPrinter30", "Func": "PrintAsmMemoryOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10607, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "pa_adjust_insn_length", "(", "rtx_insn", "*", "insn", ",", "int", "length", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "(", "unsigned", "int", ")", "length", ">=", "INT_MAX", ")", "{", "if", "(", "GET_CODE", "(", "pat", ")", "==", "SEQUENCE", ")", "insn", "=", "as_a", "<", "rtx_insn", "*", ">", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ")", ";", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_MILLI", ":", "length", "=", "pa_attr_length_millicode_call", "(", "insn", ")", ";", "break", ";", "case", "TYPE_CALL", ":", "length", "=", "pa_attr_length_call", "(", "insn", ",", "0", ")", ";", "break", ";", "case", "TYPE_SIBCALL", ":", "length", "=", "pa_attr_length_call", "(", "insn", ",", "1", ")", ";", "break", ";", "case", "TYPE_DYNCALL", ":", "length", "=", "pa_attr_length_indirect_call", "(", "insn", ")", ";", "break", ";", "case", "TYPE_SH_FUNC_ADRS", ":", "length", "=", "pa_attr_length_millicode_call", "(", "insn", ")", "+", "20", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "if", "(", "NONJUMP_INSN_P", "(", "insn", ")", "&&", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", "&&", "GET_CODE", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ")", "==", "SET", "&&", "GET_CODE", "(", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ",", "0", ")", ")", "==", "MEM", "&&", "GET_CODE", "(", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ",", "1", ")", ")", "==", "MEM", "&&", "GET_MODE", "(", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ",", "0", ")", ")", "==", "BLKmode", "&&", "GET_MODE", "(", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ",", "1", ")", ")", "==", "BLKmode", ")", "length", "+=", "compute_movmem_length", "(", "insn", ")", "-", "4", ";", "else", "if", "(", "NONJUMP_INSN_P", "(", "insn", ")", "&&", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", "&&", "GET_CODE", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ")", "==", "SET", "&&", "GET_CODE", "(", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ",", "0", ")", ")", "==", "MEM", "&&", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ",", "1", ")", "==", "const0_rtx", "&&", "GET_MODE", "(", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ",", "0", ")", ")", "==", "BLKmode", ")", "length", "+=", "compute_clrmem_length", "(", "insn", ")", "-", "4", ";", "else", "if", "(", "JUMP_P", "(", "insn", ")", "&&", "!", "simplejump_p", "(", "insn", ")", ")", "{", "if", "(", "GET_CODE", "(", "pat", ")", "==", "SET", "&&", "length", "==", "4", "&&", "JUMP_LABEL", "(", "insn", ")", "!=", "NULL_RTX", "&&", "!", "forward_branch_p", "(", "insn", ")", ")", "length", "+=", "4", ";", "else", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", "&&", "get_attr_type", "(", "insn", ")", "==", "TYPE_PARALLEL_BRANCH", "&&", "length", "==", "4", ")", "length", "+=", "4", ";", "else", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", "&&", "GET_CODE", "(", "XVECEXP", "(", "pat", ",", "0", ",", "1", ")", ")", "==", "SET", "&&", "GET_CODE", "(", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "1", ")", ",", "0", ")", ")", "==", "REG", "&&", "!", "FP_REG_P", "(", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "1", ")", ",", "0", ")", ")", "&&", "length", "==", "4", "&&", "!", "forward_branch_p", "(", "insn", ")", ")", "length", "+=", "4", ";", "}", "return", "length", ";", "}", ""], "natrual_language": ["Return", "any", "length", "adjustment", "needed", "by", "INSN", "which", "already", "has", "its", "length", "computed", "as", "LENGTH", ".", "Return", "zero", "if", "no", "adjustment", "is", "necessary", ".", "For", "the", "PA", ":", "function", "calls", ",", "millicode", "calls", ",", "and", "backwards", "short", "conditional", "branches", "with", "unfilled", "delay", "slots", "need", "an", "adjustment", "by", "+1", "(", "to", "account", "for", "the", "NOP", "which", "will", "be", "inserted", "into", "the", "instruction", "stream", ")", ".", "Also", "compute", "the", "length", "of", "an", "inline", "block", "move", "here", "as", "it", "is", "too", "complicated", "to", "express", "as", "a", "length", "attribute", "in", "pa.md", "."], "TS_V_token": ["pa", "0", "0", "0", "1", "20", "0", "0", "0", "0", "0", "0", "0", "1", "0", "0", "0", "0", "0", "1", "4", "0", "0", "0", "0", "0", "0", "0", "1", "0", "0", "0", "4", "4", "4", "4", "4", "0", "1", "0", "1", "0", "0", "1", "0", "4", "4"], "File": "pa4", "Func": "pa_adjust_insn_length", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10608, "Length": 494, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmParser", "::", "parsePrimaryExpr", "(", "const", "MCExpr", "*", "&", "Res", ",", "SMLoc", "&", "EndLoc", ")", "{", "MCAsmParser", "&", "Parser", "=", "getParser", "(", ")", ";", "if", "(", "getTok", "(", ")", ".", "is", "(", "AsmToken", "::", "Percent", ")", "||", "(", "isParsingIntelSyntax", "(", ")", "&&", "getTok", "(", ")", ".", "is", "(", "AsmToken", "::", "Identifier", ")", "&&", "MatchRegisterName", "(", "Parser", ".", "getTok", "(", ")", ".", "getString", "(", ")", ")", ")", ")", "{", "SMLoc", "StartLoc", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "unsigned", "RegNo", ";", "if", "(", "ParseRegister", "(", "RegNo", ",", "StartLoc", ",", "EndLoc", ")", ")", "return", "true", ";", "Res", "=", "X86MCExpr", "::", "create", "(", "RegNo", ",", "Parser", ".", "getContext", "(", ")", ")", ";", "return", "false", ";", "}", "return", "Parser", ".", "parsePrimaryExpr", "(", "Res", ",", "EndLoc", ",", "nullptr", ")", ";", "}", ""], "natrual_language": ["Parse", "a", "primary", "expression", "."], "TS_V_token": ["X86", "X86", "X86MCExpr::create"], "File": "X86AsmParser (2)4", "Func": "parsePrimaryExpr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10609, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLegalMaskedScatter", "(", "Type", "*", "Ty", ",", "MaybeAlign", "Alignment", ")", "{", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "scatter", "."], "TS_V_token": ["ARM"], "File": "ARMTargetTransformInfo13", "Func": "isLegalMaskedScatter", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10610, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "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": ["X86", "X86"], "File": "X86TargetMachine101", "Func": "addRegBankSelect", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10611, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "save_reg_p", "(", "int", "r", ")", "{", "return", "!", "call_used_regs", "[", "r", "]", "&&", "df_regs_ever_live_p", "(", "r", ")", ";", "}", ""], "natrual_language": ["Determine", "whether", "the", "REG", "is", "really", "used", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "save_reg_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10612, "Length": 22, "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": 10613, "Length": 279, "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": 10614, "Length": 383, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isLegalAddressingMode", "(", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ")", "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)", "Func": "isLegalAddressingMode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10615, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "loongarch_first_stack_step", "(", "struct", "loongarch_frame_info", "*", "frame", ")", "{", "HOST_WIDE_INT", "min_first_step", "=", "LARCH_STACK_ALIGN", "(", "frame", "->", "total_size", "-", "frame", "->", "fp_sp_offset", ")", ";", "if", "(", "flag_stack_check", "==", "STATIC_BUILTIN_STACK_CHECK", "||", "(", "flag_stack_clash_protection", "&&", "frame", "->", "total_size", ">", "STACK_CLASH_PROTECTION_GUARD_SIZE", ")", ")", "return", "min_first_step", ";", "if", "(", "IMM12_OPERAND", "(", "frame", "->", "total_size", ")", ")", "return", "frame", "->", "total_size", ";", "HOST_WIDE_INT", "max_first_step", "=", "IMM_REACH", "/", "2", "-", "PREFERRED_STACK_BOUNDARY", "/", "8", ";", "HOST_WIDE_INT", "min_second_step", "=", "frame", "->", "total_size", "-", "max_first_step", ";", "gcc_assert", "(", "min_first_step", "<=", "max_first_step", ")", ";", "if", "(", "!", "IMM12_OPERAND", "(", "min_second_step", ")", "&&", "frame", "->", "total_size", "%", "IMM_REACH", "<", "IMM_REACH", "/", "2", "&&", "frame", "->", "total_size", "%", "IMM_REACH", ">=", "min_first_step", ")", "return", "frame", "->", "total_size", "%", "IMM_REACH", ";", "return", "max_first_step", ";", "}", ""], "natrual_language": ["For", "stack", "frames", "that", "ca", "n't", "be", "allocated", "with", "a", "single", "ADDI", "instruction", ",", "compute", "the", "best", "value", "to", "initially", "allocate", ".", "It", "must", "at", "a", "minimum", "allocate", "enough", "space", "to", "spill", "the", "callee-saved", "registers", "."], "TS_V_token": ["loongarch", "2", "8", "2"], "File": "loongarch1", "Func": "loongarch_first_stack_step", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10616, "Length": 121, "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", "(", "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": ["rs6000", "100", "1"], "File": "rs60005", "Func": "emit_unlikely_jump", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10617, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "lowerInterleavedLoad", "(", "LoadInst", "*", "LI", ",", "ArrayRef", "<", "ShuffleVectorInst", "*", ">", "Shuffles", ",", "ArrayRef", "<", "unsigned", ">", "Indices", ",", "unsigned", "Factor", ")", "const", "{", "assert", "(", "Factor", ">=", "2", "&&", "Factor", "<=", "getMaxSupportedInterleaveFactor", "(", ")", "&&", "\"Invalid interleave factor\"", ")", ";", "assert", "(", "!", "Shuffles", ".", "empty", "(", ")", "&&", "\"Empty shufflevector input\"", ")", ";", "assert", "(", "Shuffles", ".", "size", "(", ")", "==", "Indices", ".", "size", "(", ")", "&&", "\"Unmatched number of shufflevectors and indices\"", ")", ";", "const", "DataLayout", "&", "DL", "=", "LI", "->", "getModule", "(", ")", "->", "getDataLayout", "(", ")", ";", "VectorType", "*", "VecTy", "=", "Shuffles", "[", "0", "]", "->", "getType", "(", ")", ";", "unsigned", "VecSize", "=", "DL", ".", "getTypeAllocSizeInBits", "(", "VecTy", ")", ";", "if", "(", "!", "Subtarget", "->", "hasNEON", "(", ")", "||", "(", "VecSize", "!=", "64", "&&", "VecSize", "!=", "128", ")", ")", "return", "false", ";", "Type", "*", "EltTy", "=", "VecTy", "->", "getVectorElementType", "(", ")", ";", "if", "(", "EltTy", "->", "isPointerTy", "(", ")", ")", "VecTy", "=", "VectorType", "::", "get", "(", "DL", ".", "getIntPtrType", "(", "EltTy", ")", ",", "VecTy", "->", "getVectorNumElements", "(", ")", ")", ";", "Type", "*", "PtrTy", "=", "VecTy", "->", "getPointerTo", "(", "LI", "->", "getPointerAddressSpace", "(", ")", ")", ";", "Type", "*", "Tys", "[", "2", "]", "=", "{", "VecTy", ",", "PtrTy", "}", ";", "static", "const", "Intrinsic", "::", "ID", "LoadInts", "[", "3", "]", "=", "{", "Intrinsic", "::", "aarch64_neon_ld2", ",", "Intrinsic", "::", "aarch64_neon_ld3", ",", "Intrinsic", "::", "aarch64_neon_ld4", "}", ";", "Function", "*", "LdNFunc", "=", "Intrinsic", "::", "getDeclaration", "(", "LI", "->", "getModule", "(", ")", ",", "LoadInts", "[", "Factor", "-", "2", "]", ",", "Tys", ")", ";", "IRBuilder", "<", ">", "Builder", "(", "LI", ")", ";", "Value", "*", "Ptr", "=", "Builder", ".", "CreateBitCast", "(", "LI", "->", "getPointerOperand", "(", ")", ",", "PtrTy", ")", ";", "CallInst", "*", "LdN", "=", "Builder", ".", "CreateCall", "(", "LdNFunc", ",", "Ptr", ",", "\"ldN\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Shuffles", ".", "size", "(", ")", ";", "i", "++", ")", "{", "ShuffleVectorInst", "*", "SVI", "=", "Shuffles", "[", "i", "]", ";", "unsigned", "Index", "=", "Indices", "[", "i", "]", ";", "Value", "*", "SubVec", "=", "Builder", ".", "CreateExtractValue", "(", "LdN", ",", "Index", ")", ";", "if", "(", "EltTy", "->", "isPointerTy", "(", ")", ")", "SubVec", "=", "Builder", ".", "CreateIntToPtr", "(", "SubVec", ",", "SVI", "->", "getType", "(", ")", ")", ";", "SVI", "->", "replaceAllUsesWith", "(", "SubVec", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Lower", "interleaved", "load", "(", "s", ")", "into", "target", "specific", "instructions/intrinsics", "."], "TS_V_token": ["AArch64", "AArch64", "2", "\"Invalid interleave factor\"", "\"Empty shufflevector input\"", "\"Unmatched number of shufflevectors and indices\"", "0", "64", "128", "2", "Intrinsic::ID", "3", "Intrinsic::aarch64_neon_ld2", "Intrinsic::aarch64_neon_ld3", "Intrinsic::aarch64_neon_ld4", "Intrinsic::getDeclaration", "2", "\"ldN\"", "0"], "File": "AArch64ISelLowering1", "Func": "lowerInterleavedLoad", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10618, "Length": 369, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ARMTTIImpl", "::", "getIntImmCostInst", "(", "unsigned", "Opcode", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "{", "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", ")", ",", "getIntImmCost", "(", "~", "Imm", ",", "Ty", ")", ")", ";", "}", "if", "(", "Opcode", "==", "Instruction", "::", "Add", ")", "return", "std", "::", "min", "(", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ",", "getIntImmCost", "(", "-", "Imm", ",", "Ty", ")", ")", ";", "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", ")", ";", "}", ""], "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": "ARMTargetTransformInfo10", "Func": "getIntImmCostInst", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10619, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Sparc Double-FP Move Fixer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Sparc", "\"Sparc Double-FP Move Fixer\""], "File": "FPMover", "Func": "getPassName", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10620, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_assemble_integer", "(", "rtx", "x", ",", "unsigned", "int", "size", ",", "int", "aligned_p", ")", "{", "if", "(", "RELOCATABLE_NEEDS_FIXUP", "&&", "size", "==", "4", "&&", "aligned_p", ")", "{", "static", "int", "recurse", "=", "0", ";", "if", "(", "TARGET_RELOCATABLE", "&&", "in_section", "!=", "toc_section", "&&", "!", "recurse", "&&", "!", "CONST_SCALAR_INT_P", "(", "x", ")", "&&", "CONSTANT_P", "(", "x", ")", ")", "{", "char", "buf", "[", "256", "]", ";", "recurse", "=", "1", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "buf", ",", "\"LCP\"", ",", "fixuplabelno", ")", ";", "fixuplabelno", "++", ";", "ASM_OUTPUT_LABEL", "(", "asm_out_file", ",", "buf", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.long\\t(\"", ")", ";", "output_addr_const", "(", "asm_out_file", ",", "x", ")", ";", "fprintf", "(", "asm_out_file", ",", "\")@fixup\\n\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.section\\t\\\".fixup\\\",\\\"aw\\\"\\n\"", ")", ";", "ASM_OUTPUT_ALIGN", "(", "asm_out_file", ",", "2", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.long\\t\"", ")", ";", "assemble_name", "(", "asm_out_file", ",", "buf", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\n\\t.previous\\n\"", ")", ";", "recurse", "=", "0", ";", "return", "true", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "XSTR", "(", "x", ",", "0", ")", "[", "0", "]", "==", "'.'", "&&", "DEFAULT_ABI", "==", "ABI_AIX", ")", "{", "const", "char", "*", "name", "=", "XSTR", "(", "x", ",", "0", ")", ";", "while", "(", "*", "name", "==", "'.'", ")", "name", "++", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.long\\t%s\\n\"", ",", "name", ")", ";", "return", "true", ";", "}", "}", "return", "default_assemble_integer", "(", "x", ",", "size", ",", "aligned_p", ")", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "assembling", "integer", "objects", ".", "The", "powerpc", "version", "has", "to", "handle", "fixup", "entries", "for", "relocatable", "code", "if", "RELOCATABLE_NEEDS_FIXUP", "is", "defined", ".", "It", "also", "needs", "to", "handle", "DI-mode", "objects", "on", "64-bit", "targets", "."], "TS_V_token": ["rs6000", "4", "0", "256", "1", "\"LCP\"", "\"\\t.long\\t(\"", "\")@fixup\\n\"", "\"\\t.section\\t\\\".fixup\\\",\\\"aw\\\"\\n\"", "2", "\"\\t.long\\t\"", "\"\\n\\t.previous\\n\"", "0", "0", "0", "0", "\"\\t.long\\t%s\\n\""], "File": "rs60004", "Func": "rs6000_assemble_integer", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10621, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "quad_load_store_p", "(", "rtx", "op0", ",", "rtx", "op1", ")", "{", "bool", "ret", ";", "if", "(", "!", "TARGET_QUAD_MEMORY", ")", "ret", "=", "false", ";", "else", "if", "(", "REG_P", "(", "op0", ")", "&&", "MEM_P", "(", "op1", ")", ")", "ret", "=", "(", "quad_int_reg_operand", "(", "op0", ",", "GET_MODE", "(", "op0", ")", ")", "&&", "quad_memory_operand", "(", "op1", ",", "GET_MODE", "(", "op1", ")", ")", "&&", "!", "reg_overlap_mentioned_p", "(", "op0", ",", "op1", ")", ")", ";", "else", "if", "(", "MEM_P", "(", "op0", ")", "&&", "REG_P", "(", "op1", ")", ")", "ret", "=", "(", "quad_memory_operand", "(", "op0", ",", "GET_MODE", "(", "op0", ")", ")", "&&", "quad_int_reg_operand", "(", "op1", ",", "GET_MODE", "(", "op1", ")", ")", ")", ";", "else", "ret", "=", "false", ";", "if", "(", "TARGET_DEBUG_ADDR", ")", "{", "fprintf", "(", "stderr", ",", "\"\\n========== quad_load_store, return %s\\n\"", ",", "ret", "?", "\"true\"", ":", "\"false\"", ")", ";", "debug_rtx", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "op0", ",", "op1", ")", ")", ";", "}", "return", "ret", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "is", "a", "load", "or", "store", "quad", "operation", ".", "This", "function", "does", "not", "handle", "the", "atomic", "quad", "memory", "instructions", "."], "TS_V_token": ["rs6000", "\"\\n========== quad_load_store, return %s\\n\"", "\"true\"", "\"false\""], "File": "rs60004", "Func": "quad_load_store_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10622, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "Cpu0TargetLowering", "::", "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", ")", ";", "}", "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": ["Cpu0", "Cpu0", "ISD::SDIVREM", "ISD::UDIVREM"], "File": "Cpu0ISelLowering1", "Func": "PerformDAGCombine", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10623, "Length": 70, "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": 10624, "Length": 239, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_e8_load_to_ii_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "rtx", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "return", "e8_consumed_by_addr_in_p", "(", "consumer", ",", "def_reg", ")", ";", "}", ""], "natrual_language": ["Guard", "functions", "for", "E8", "cores", "."], "TS_V_token": ["nds32"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_e8_load_to_ii_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10625, "Length": 32, "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": 10626, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "getExceptionSelectorRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "override", "{", "return", "AArch64", "::", "X1", ";", "}", ""], "natrual_language": ["If", "a", "physical", "register", ",", "this", "returns", "the", "register", "that", "receives", "the", "exception", "typeid", "on", "entry", "to", "a", "landing", "pad", "."], "TS_V_token": ["AArch64", "AArch64::X1"], "File": "AArch64ISelLowering (2)1", "Func": "getExceptionSelectorRegister", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10627, "Length": 17, "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": ["Cpu0"], "File": "Cpu0AsmParser", "Func": "getEndLoc", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10628, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"ARM64 Promote Constant\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM64", "\"ARM64 Promote Constant\""], "File": "ARM64PromoteConstant", "Func": "getPassName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10629, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64FrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "assert", "(", "getStackGrowthDirection", "(", ")", "==", "TargetFrameLowering", "::", "StackGrowsDown", "&&", "\"Upwards growing stack unsupported\"", ")", ";", "int64_t", "Offset", "=", "0", ";", "for", "(", "int", "I", "=", "MFI", ".", "getObjectIndexBegin", "(", ")", ";", "I", "!=", "0", ";", "++", "I", ")", "{", "unsigned", "StackID", "=", "MFI", ".", "getStackID", "(", "I", ")", ";", "if", "(", "StackID", "==", "TargetStackID", "::", "SVEVector", ")", "{", "int64_t", "FixedOffset", "=", "-", "MFI", ".", "getObjectOffset", "(", "I", ")", ";", "if", "(", "FixedOffset", ">", "Offset", ")", "Offset", "=", "FixedOffset", ";", "}", "}", "unsigned", "MaxAlign", "=", "getStackAlignment", "(", ")", ";", "uint64_t", "SVEStackSize", "=", "alignTo", "(", "Offset", ",", "MaxAlign", ")", ";", "AArch64FunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "AFI", "->", "setStackSizeSVE", "(", "SVEStackSize", ")", ";", "assert", "(", "MaxAlign", "<=", "16", "&&", "\"Cannot align scalable vectors more than 16 bytes\"", ")", ";", "if", "(", "!", "MF", ".", "hasEHFunclets", "(", ")", ")", "return", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "WinEHFuncInfo", "&", "EHInfo", "=", "*", "MF", ".", "getWinEHFuncInfo", "(", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "auto", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "while", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", "&&", "MBBI", "->", "getFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ")", "++", "MBBI", ";", "int", "UnwindHelpFI", "=", "MFI", ".", "CreateStackObject", "(", "8", ",", "16", ",", "false", ")", ";", "EHInfo", ".", "UnwindHelpFrameIdx", "=", "UnwindHelpFI", ";", "DebugLoc", "DL", ";", "RS", "->", "enterBasicBlockEnd", "(", "MBB", ")", ";", "RS", "->", "backward", "(", "std", "::", "prev", "(", "MBBI", ")", ")", ";", "unsigned", "DstReg", "=", "RS", "->", "FindUnusedReg", "(", "&", "AArch64", "::", "GPR64commonRegClass", ")", ";", "assert", "(", "DstReg", "&&", "\"There must be a free register after frame setup\"", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "AArch64", "::", "MOVi64imm", ")", ",", "DstReg", ")", ".", "addImm", "(", "-", "2", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "AArch64", "::", "STURXi", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "true", ")", ")", ".", "addFrameIndex", "(", "UnwindHelpFI", ")", ".", "addImm", "(", "0", ")", ";", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["AArch64", "AArch64", "\"Upwards growing stack unsupported\"", "0", "0", "AArch64", "AArch64", "16", "\"Cannot align scalable vectors more than 16 bytes\"", "8", "16", "AArch64::GPR64commonRegClass", "\"There must be a free register after frame setup\"", "AArch64::MOVi64imm", "2", "AArch64::STURXi", "0"], "File": "AArch64FrameLowering30", "Func": "processFunctionBeforeFrameFinalized", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10630, "Length": 356, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "AArch64_MachoTargetObjectFile", "::", "getIndirectSymViaGOTPCRel", "(", "const", "MCSymbol", "*", "Sym", ",", "const", "MCValue", "&", "MV", ",", "int64_t", "Offset", ",", "MachineModuleInfo", "*", "MMI", ",", "MCStreamer", "&", "Streamer", ")", "const", "{", "assert", "(", "(", "Offset", "+", "MV", ".", "getConstant", "(", ")", "==", "0", ")", "&&", "\"Arch64 does not support GOT PC rel with extra offset\"", ")", ";", "const", "MCExpr", "*", "Res", "=", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "MCSymbolRefExpr", "::", "VK_GOT", ",", "getContext", "(", ")", ")", ";", "MCSymbol", "*", "PCSym", "=", "getContext", "(", ")", ".", "createTempSymbol", "(", ")", ";", "Streamer", ".", "EmitLabel", "(", "PCSym", ")", ";", "const", "MCExpr", "*", "PC", "=", "MCSymbolRefExpr", "::", "create", "(", "PCSym", ",", "getContext", "(", ")", ")", ";", "return", "MCBinaryExpr", "::", "createSub", "(", "Res", ",", "PC", ",", "getContext", "(", ")", ")", ";", "}", ""], "natrual_language": ["Get", "the", "target", "specific", "PC", "relative", "GOT", "entry", "relocation", "."], "TS_V_token": ["AArch64", "AArch64", "0", "\"Arch64 does not support GOT PC rel with extra offset\""], "File": "AArch64TargetObjectFile (2)", "Func": "getIndirectSymViaGOTPCRel", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10631, "Length": 117, "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", "(", ")", ";", "Register", "FramePtr", "=", "TRI", "->", "getFrameRegister", "(", "MF", ")", ";", "Register", "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", ")", ";", "}", "Register", "UsedReg", ";", "int", "EHRegOffset", "=", "getFrameIndexReference", "(", "MF", ",", "FI", ",", "UsedReg", ")", ".", "getFixed", "(", ")", ";", "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", ")", ".", "getFixed", "(", ")", ";", "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)3", "Func": "restoreWin32EHStackPointers", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10632, "Length": 423, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_xorsign", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "(", "*", "xorsign_insn", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "machine_mode", "mode", ",", "vmode", ";", "rtx", "dest", ",", "op0", ",", "op1", ",", "mask", ";", "dest", "=", "operands", "[", "0", "]", ";", "op0", "=", "operands", "[", "1", "]", ";", "op1", "=", "operands", "[", "2", "]", ";", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "if", "(", "mode", "==", "SFmode", ")", "{", "xorsign_insn", "=", "gen_xorsignsf3_1", ";", "vmode", "=", "V4SFmode", ";", "}", "else", "if", "(", "mode", "==", "DFmode", ")", "{", "xorsign_insn", "=", "gen_xorsigndf3_1", ";", "vmode", "=", "V2DFmode", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "mask", "=", "ix86_build_signbit_mask", "(", "vmode", ",", "0", ",", "0", ")", ";", "emit_insn", "(", "xorsign_insn", "(", "dest", ",", "op0", ",", "op1", ",", "mask", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "an", "xorsign", "operation", "."], "TS_V_token": ["i386", "0", "1", "2", "0", "0"], "File": "i3868", "Func": "ix86_expand_xorsign", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10633, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "machine_mode", "type_natural_mode", "(", "tree", "type", ")", "{", "enum", "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", ")", "&&", "TYPE_VECTOR_SUBPARTS", "(", "type", ")", ">", "1", ")", "{", "enum", "machine_mode", "innermode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "type", ")", ")", ";", "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", ")", "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", "1"], "File": "i3863", "Func": "type_natural_mode", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10634, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_mode_dependent_address_p", "(", "const_rtx", "addr", ",", "addr_space_t", "as", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "flag_pic", "&&", "GET_CODE", "(", "addr", ")", "==", "PLUS", ")", "{", "rtx", "op0", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "rtx", "op1", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "if", "(", "op0", "==", "pic_offset_table_rtx", "&&", "symbolic_operand", "(", "op1", ",", "VOIDmode", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "ADDR", "(", "a", "legitimate", "address", "expression", ")", "has", "an", "effect", "that", "depends", "on", "the", "machine", "mode", "it", "is", "used", "for", ".", "In", "PIC", "mode", ",", "(", "mem", ":", "HI", "[", "%", "l7+a", "]", ")", "is", "not", "equivalent", "to", "(", "mem", ":", "QI", "[", "%", "l7+a", "]", ")", "(", "mem", ":", "QI", "[", "%", "l7+a+1", "]", ")", "because", "[", "%", "l7+a+1", "]", "is", "interpreted", "as", "the", "address", "of", "(", "a+1", ")", "."], "TS_V_token": ["sparc", "0", "1"], "File": "sparc4", "Func": "sparc_mode_dependent_address_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10635, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "resolve_vec_mul", "(", "resolution", "*", "res", ",", "tree", "*", "args", ",", "tree", "*", "types", ",", "location_t", "loc", ")", "{", "if", "(", "TREE_CODE", "(", "types", "[", "0", "]", ")", "!=", "VECTOR_TYPE", "||", "!", "lang_hooks", ".", "types_compatible_p", "(", "types", "[", "0", "]", ",", "types", "[", "1", "]", ")", ")", "{", "*", "res", "=", "resolved_bad", ";", "return", "error_mark_node", ";", "}", "switch", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "types", "[", "0", "]", ")", ")", ")", "{", "case", "E_QImode", ":", "case", "E_HImode", ":", "case", "E_SImode", ":", "case", "E_DImode", ":", "case", "E_TImode", ":", "*", "res", "=", "resolved", ";", "return", "fold_build2_loc", "(", "loc", ",", "MULT_EXPR", ",", "types", "[", "0", "]", ",", "args", "[", "0", "]", ",", "fold_convert", "(", "types", "[", "0", "]", ",", "args", "[", "1", "]", ")", ")", ";", "case", "E_SFmode", ":", "{", "*", "res", "=", "resolved", ";", "tree", "call", "=", "rs6000_builtin_decls", "[", "RS6000_BIF_XVMULSP", "]", ";", "return", "build_call_expr", "(", "call", ",", "2", ",", "args", "[", "0", "]", ",", "args", "[", "1", "]", ")", ";", "}", "case", "E_DFmode", ":", "{", "*", "res", "=", "resolved", ";", "tree", "call", "=", "rs6000_builtin_decls", "[", "RS6000_BIF_XVMULDP", "]", ";", "return", "build_call_expr", "(", "call", ",", "2", ",", "args", "[", "0", "]", ",", "args", "[", "1", "]", ")", ";", "}", "default", ":", "*", "res", "=", "resolved_bad", ";", "return", "error_mark_node", ";", "}", "}", ""], "natrual_language": ["Resolve", "an", "overloaded", "vec_mul", "call", "and", "return", "a", "tree", "expression", "for", "the", "resolved", "call", "if", "successful", ".", "ARGS", "contains", "the", "arguments", "to", "the", "call", ".", "TYPES", "contains", "their", "types", ".", "RES", "must", "be", "set", "to", "indicate", "the", "status", "of", "the", "resolution", "attempt", ".", "LOC", "contains", "statement", "location", "information", "."], "TS_V_token": ["rs6000", "0", "0", "1", "0", "0", "0", "0", "1", "2", "0", "1", "2", "0", "1"], "File": "rs6000-c", "Func": "resolve_vec_mul", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10636, "Length": 207, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0SEFrameLowering", "::", "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", "=", "*", "MF", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "bool", "IsRAAndRetAddrIsTaken", "=", "(", "Reg", "==", "Cpu0", "::", "LR", ")", "&&", "MF", "->", "getFrameInfo", "(", ")", ".", "isReturnAddressTaken", "(", ")", ";", "if", "(", "!", "IsRAAndRetAddrIsTaken", ")", "EntryBlock", "->", "addLiveIn", "(", "Reg", ")", ";", "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": ["Cpu0", "Cpu0", "0", "Cpu0::LR"], "File": "Cpu0SEFrameLowering", "Func": "spillCalleeSavedRegisters", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10637, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CollectLOH", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** AArch64 Collect LOH **********\\n\"", "<<", "\"Looking in function \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "LOHInfo", "LOHInfos", "[", "N_GPR_REGS", "]", ";", "AArch64FunctionInfo", "&", "AFI", "=", "*", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "for", "(", "const", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "memset", "(", "LOHInfos", ",", "0", ",", "sizeof", "(", "LOHInfos", ")", ")", ";", "for", "(", "const", "MachineBasicBlock", "*", "Succ", ":", "MBB", ".", "successors", "(", ")", ")", "{", "for", "(", "const", "auto", "&", "LI", ":", "Succ", "->", "liveins", "(", ")", ")", "{", "int", "RegIdx", "=", "mapRegToGPRIndex", "(", "LI", ".", "PhysReg", ")", ";", "if", "(", "RegIdx", ">=", "0", ")", "LOHInfos", "[", "RegIdx", "]", ".", "OneUser", "=", "true", ";", "}", "}", "for", "(", "const", "MachineInstr", "&", "MI", ":", "make_range", "(", "MBB", ".", "rbegin", "(", ")", ",", "MBB", ".", "rend", "(", ")", ")", ")", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "case", "AArch64", "::", "ADDXri", ":", "case", "AArch64", "::", "LDRXui", ":", "case", "AArch64", "::", "LDRWui", ":", "if", "(", "canDefBePartOfLOH", "(", "MI", ")", ")", "{", "const", "MachineOperand", "&", "Def", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "const", "MachineOperand", "&", "Op", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "assert", "(", "Def", ".", "isReg", "(", ")", "&&", "Def", ".", "isDef", "(", ")", "&&", "\"Expected reg def\"", ")", ";", "assert", "(", "Op", ".", "isReg", "(", ")", "&&", "Op", ".", "isUse", "(", ")", "&&", "\"Expected reg use\"", ")", ";", "int", "DefIdx", "=", "mapRegToGPRIndex", "(", "Def", ".", "getReg", "(", ")", ")", ";", "int", "OpIdx", "=", "mapRegToGPRIndex", "(", "Op", ".", "getReg", "(", ")", ")", ";", "if", "(", "DefIdx", ">=", "0", "&&", "OpIdx", ">=", "0", "&&", "handleMiddleInst", "(", "MI", ",", "LOHInfos", "[", "DefIdx", "]", ",", "LOHInfos", "[", "OpIdx", "]", ")", ")", "continue", ";", "}", "break", ";", "case", "AArch64", "::", "ADRP", ":", "const", "MachineOperand", "&", "Op0", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "int", "Idx", "=", "mapRegToGPRIndex", "(", "Op0", ".", "getReg", "(", ")", ")", ";", "if", "(", "Idx", ">=", "0", ")", "{", "handleADRP", "(", "MI", ",", "AFI", ",", "LOHInfos", "[", "Idx", "]", ")", ";", "continue", ";", "}", "break", ";", "}", "handleNormalInst", "(", "MI", ",", "LOHInfos", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"********** AArch64 Collect LOH **********\\n\"", "\"Looking in function \"", "AArch64", "AArch64", "0", "0", "AArch64::ADDXri", "AArch64::LDRXui", "AArch64::LDRWui", "0", "1", "\"Expected reg def\"", "\"Expected reg use\"", "0", "0", "AArch64::ADRP", "0", "0"], "File": "AArch64CollectLOH27", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10638, "Length": 379, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "reMaterialize", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "unsigned", "SubIdx", ",", "const", "MachineInstr", "*", "Orig", ",", "const", "TargetRegisterInfo", "&", "TRI", ")", "const", "{", "bool", "ClobbersEFLAGS", "=", "false", ";", "for", "(", "const", "MachineOperand", "&", "MO", ":", "Orig", "->", "operands", "(", ")", ")", "{", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "MO", ".", "isDef", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "==", "X86", "::", "EFLAGS", ")", "{", "ClobbersEFLAGS", "=", "true", ";", "break", ";", "}", "}", "if", "(", "ClobbersEFLAGS", "&&", "!", "isSafeToClobberEFLAGS", "(", "MBB", ",", "I", ")", ")", "{", "int", "Value", ";", "switch", "(", "Orig", "->", "getOpcode", "(", ")", ")", "{", "case", "X86", "::", "MOV32r0", ":", "Value", "=", "0", ";", "break", ";", "case", "X86", "::", "MOV32r1", ":", "Value", "=", "1", ";", "break", ";", "case", "X86", "::", "MOV32r_1", ":", "Value", "=", "-", "1", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Unexpected instruction!\"", ")", ";", "}", "const", "DebugLoc", "&", "DL", "=", "Orig", "->", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "X86", "::", "MOV32ri", ")", ")", ".", "addOperand", "(", "Orig", "->", "getOperand", "(", "0", ")", ")", ".", "addImm", "(", "Value", ")", ";", "}", "else", "{", "MachineInstr", "*", "MI", "=", "MBB", ".", "getParent", "(", ")", "->", "CloneMachineInstr", "(", "Orig", ")", ";", "MBB", ".", "insert", "(", "I", ",", "MI", ")", ";", "}", "MachineInstr", "*", "NewMI", "=", "std", "::", "prev", "(", "I", ")", ";", "NewMI", "->", "substituteRegister", "(", "Orig", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "DestReg", ",", "SubIdx", ",", "TRI", ")", ";", "}", ""], "natrual_language": ["Re-issue", "the", "specified", "'original", "'", "instruction", "at", "the", "specific", "location", "targeting", "a", "new", "destination", "register", "."], "TS_V_token": ["X86", "X86", "X86::EFLAGS", "X86::MOV32r0", "0", "X86::MOV32r1", "1", "X86::MOV32r_1", "1", "\"Unexpected instruction!\"", "X86::MOV32ri", "0", "0"], "File": "X86InstrInfo141", "Func": "reMaterialize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10639, "Length": 255, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcTargetLowering", "::", "ConstraintType", "SparcTargetLowering", "::", "getConstraintType", "(", "const", "std", "::", "string", "&", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'r'", ":", "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": "SparcISelLowering18", "Func": "getConstraintType", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10640, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "SystemZMCInstLower", "Lower", "(", "MF", "->", "getContext", "(", ")", ",", "*", "this", ")", ";", "MCInst", "LoweredMI", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "SystemZ", "::", "Return", ":", "LoweredMI", "=", "MCInstBuilder", "(", "SystemZ", "::", "BR", ")", ".", "addReg", "(", "SystemZ", "::", "R14D", ")", ";", "break", ";", "case", "SystemZ", "::", "CallBRASL", ":", "LoweredMI", "=", "MCInstBuilder", "(", "SystemZ", "::", "BRASL", ")", ".", "addReg", "(", "SystemZ", "::", "R14D", ")", ".", "addExpr", "(", "Lower", ".", "getExpr", "(", "MI", "->", "getOperand", "(", "0", ")", ",", "MCSymbolRefExpr", "::", "VK_PLT", ")", ")", ";", "break", ";", "case", "SystemZ", "::", "CallBASR", ":", "LoweredMI", "=", "MCInstBuilder", "(", "SystemZ", "::", "BASR", ")", ".", "addReg", "(", "SystemZ", "::", "R14D", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ";", "break", ";", "case", "SystemZ", "::", "CallJG", ":", "LoweredMI", "=", "MCInstBuilder", "(", "SystemZ", "::", "JG", ")", ".", "addExpr", "(", "Lower", ".", "getExpr", "(", "MI", "->", "getOperand", "(", "0", ")", ",", "MCSymbolRefExpr", "::", "VK_PLT", ")", ")", ";", "break", ";", "case", "SystemZ", "::", "CallBR", ":", "LoweredMI", "=", "MCInstBuilder", "(", "SystemZ", "::", "BR", ")", ".", "addReg", "(", "SystemZ", "::", "R1D", ")", ";", "break", ";", "case", "SystemZ", "::", "IILF64", ":", "LoweredMI", "=", "MCInstBuilder", "(", "SystemZ", "::", "IILF", ")", ".", "addReg", "(", "SystemZMC", "::", "getRegAsGR32", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", ".", "addImm", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ")", ";", "break", ";", "case", "SystemZ", "::", "IIHF64", ":", "LoweredMI", "=", "MCInstBuilder", "(", "SystemZ", "::", "IIHF", ")", ".", "addReg", "(", "SystemZMC", "::", "getRegAsGRH32", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", ".", "addImm", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ")", ";", "break", ";", "case", "SystemZ", "::", "RISBHH", ":", "case", "SystemZ", "::", "RISBHL", ":", "LoweredMI", "=", "lowerRIEfLow", "(", "MI", ",", "SystemZ", "::", "RISBHG", ")", ";", "break", ";", "case", "SystemZ", "::", "RISBLH", ":", "case", "SystemZ", "::", "RISBLL", ":", "LoweredMI", "=", "lowerRIEfLow", "(", "MI", ",", "SystemZ", "::", "RISBLG", ")", ";", "break", ";", "case", "SystemZ", "::", "NAME", "##", "64", ":", "LoweredMI", "=", "lowerRILow", "(", "MI", ",", "SystemZ", "::", "NAME", ")", ";", "break", "LOWER_LOW", "(", "IILL", ")", ";", "LOWER_LOW", "(", "IILH", ")", ";", "LOWER_LOW", "(", "TMLL", ")", ";", "LOWER_LOW", "(", "TMLH", ")", ";", "LOWER_LOW", "(", "NILL", ")", ";", "LOWER_LOW", "(", "NILH", ")", ";", "LOWER_LOW", "(", "NILF", ")", ";", "LOWER_LOW", "(", "OILL", ")", ";", "LOWER_LOW", "(", "OILH", ")", ";", "LOWER_LOW", "(", "OILF", ")", ";", "LOWER_LOW", "(", "XILF", ")", ";", "case", "SystemZ", "::", "NAME", "##", "64", ":", "LoweredMI", "=", "lowerRIHigh", "(", "MI", ",", "SystemZ", "::", "NAME", ")", ";", "break", "LOWER_HIGH", "(", "IIHL", ")", ";", "LOWER_HIGH", "(", "IIHH", ")", ";", "LOWER_HIGH", "(", "TMHL", ")", ";", "LOWER_HIGH", "(", "TMHH", ")", ";", "LOWER_HIGH", "(", "NIHL", ")", ";", "LOWER_HIGH", "(", "NIHH", ")", ";", "LOWER_HIGH", "(", "NIHF", ")", ";", "LOWER_HIGH", "(", "OIHL", ")", ";", "LOWER_HIGH", "(", "OIHH", ")", ";", "LOWER_HIGH", "(", "OIHF", ")", ";", "LOWER_HIGH", "(", "XIHF", ")", ";", "default", ":", "Lower", ".", "lower", "(", "MI", ",", "LoweredMI", ")", ";", "break", ";", "}", "OutStreamer", ".", "EmitInstruction", "(", "LoweredMI", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ::Return", "SystemZ::BR", "SystemZ::R14D", "SystemZ::CallBRASL", "SystemZ::BRASL", "SystemZ::R14D", "0", "SystemZ::CallBASR", "SystemZ::BASR", "SystemZ::R14D", "0", "SystemZ::CallJG", "SystemZ::JG", "0", "SystemZ::CallBR", "SystemZ::BR", "SystemZ::R1D", "SystemZ::IILF64", "SystemZ::IILF", "SystemZMC::getRegAsGR32", "0", "2", "SystemZ::IIHF64", "SystemZ::IIHF", "SystemZMC::getRegAsGRH32", "0", "2", "SystemZ::RISBHH", "SystemZ::RISBHL", "SystemZ::RISBHG", "SystemZ::RISBLH", "SystemZ::RISBLL", "SystemZ::RISBLG", "SystemZ::NAME", "64", "SystemZ::NAME", "SystemZ::NAME", "64", "SystemZ::NAME"], "File": "SystemZAsmPrinter34", "Func": "EmitInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10641, "Length": 510, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCDarwinAsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "bool", "isPPC64", "=", "TM", ".", "getDataLayout", "(", ")", "->", "getPointerSizeInBits", "(", "0", ")", "==", "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", "0", "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": "PPCAsmPrinter19", "Func": "doFinalization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10642, "Length": 496, "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": 10643, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "TOCKey", "getTombstoneKey", "(", ")", "{", "return", "{", "nullptr", ",", "MCSymbolRefExpr", "::", "VariantKind", "::", "VK_Invalid", "}", ";", "}", ""], "natrual_language": ["Difference", "in", "tombstone", "is", "that", "the", "Optional", "is", "meaningful", "."], "TS_V_token": ["PowerPC"], "File": "PPCAsmPrinter (2)3", "Func": "getTombstoneKey", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10644, "Length": 19, "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": 10645, "Length": 11, "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": 10646, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_optab_supported_p", "(", "int", "op", ",", "machine_mode", "mode1", ",", "machine_mode", ",", "optimization_type", "opt_type", ")", "{", "switch", "(", "op", ")", "{", "case", "asin_optab", ":", "case", "acos_optab", ":", "case", "log1p_optab", ":", "case", "exp_optab", ":", "case", "exp10_optab", ":", "case", "exp2_optab", ":", "case", "expm1_optab", ":", "case", "ldexp_optab", ":", "case", "scalb_optab", ":", "case", "round_optab", ":", "case", "lround_optab", ":", "return", "opt_type", "==", "OPTIMIZE_FOR_SPEED", ";", "case", "rint_optab", ":", "if", "(", "SSE_FLOAT_MODE_P", "(", "mode1", ")", "&&", "TARGET_SSE_MATH", "&&", "!", "flag_trapping_math", "&&", "!", "TARGET_SSE4_1", "&&", "mode1", "!=", "HFmode", ")", "return", "opt_type", "==", "OPTIMIZE_FOR_SPEED", ";", "return", "true", ";", "case", "floor_optab", ":", "case", "ceil_optab", ":", "case", "btrunc_optab", ":", "if", "(", "(", "(", "SSE_FLOAT_MODE_P", "(", "mode1", ")", "&&", "TARGET_SSE_MATH", "&&", "TARGET_SSE4_1", ")", "||", "mode1", "==", "HFmode", ")", "&&", "!", "flag_trapping_math", ")", "return", "true", ";", "return", "opt_type", "==", "OPTIMIZE_FOR_SPEED", ";", "case", "rsqrt_optab", ":", "return", "opt_type", "==", "OPTIMIZE_FOR_SPEED", "&&", "use_rsqrt_p", "(", "mode1", ")", ";", "default", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Implement", "the", "TARGET_OPTAB_SUPPORTED_P", "hook", "."], "TS_V_token": ["i386"], "File": "i3861", "Func": "ix86_optab_supported_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10647, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RegDefsUses", "::", "update", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "Begin", ",", "unsigned", "End", ")", "{", "BitVector", "NewDefs", "(", "TRI", ".", "getNumRegs", "(", ")", ")", ",", "NewUses", "(", "TRI", ".", "getNumRegs", "(", ")", ")", ";", "bool", "HasHazard", "=", "false", ";", "for", "(", "unsigned", "I", "=", "Begin", ";", "I", "!=", "End", ";", "++", "I", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "I", ")", ";", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "MO", ".", "getReg", "(", ")", ")", "{", "if", "(", "checkRegDefsUses", "(", "NewDefs", ",", "NewUses", ",", "MO", ".", "getReg", "(", ")", ",", "MO", ".", "isDef", "(", ")", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "DEBUG_TYPE", "\": found register hazard for operand \"", "<<", "I", "<<", "\": \"", ";", "MO", ".", "dump", "(", ")", ")", ";", "HasHazard", "=", "true", ";", "}", "}", "}", "Defs", "|=", "NewDefs", ";", "Uses", "|=", "NewUses", ";", "return", "HasHazard", ";", "}", ""], "natrual_language": ["Digest", "more", "data", "."], "TS_V_token": ["Mips", "\": found register hazard for operand \"", "\": \""], "File": "MipsDelaySlotFiller12", "Func": "update", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10648, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "short", "find_insn_regmode_weight", "(", "rtx", "insn", ",", "enum", "machine_mode", "mode", ")", "{", "short", "reg_weight", "=", "0", ";", "rtx", "x", ";", "x", "=", "PATTERN", "(", "insn", ")", ";", "reg_weight", "+=", "find_set_regmode_weight", "(", "x", ",", "mode", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PARALLEL", ")", "{", "int", "j", ";", "for", "(", "j", "=", "XVECLEN", "(", "x", ",", "0", ")", "-", "1", ";", "j", ">=", "0", ";", "j", "--", ")", "{", "x", "=", "XVECEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ",", "j", ")", ";", "reg_weight", "+=", "find_set_regmode_weight", "(", "x", ",", "mode", ")", ";", "}", "}", "for", "(", "x", "=", "REG_NOTES", "(", "insn", ")", ";", "x", ";", "x", "=", "XEXP", "(", "x", ",", "1", ")", ")", "{", "if", "(", "REG_NOTE_KIND", "(", "x", ")", "==", "REG_DEAD", "||", "REG_NOTE_KIND", "(", "x", ")", "==", "REG_UNUSED", ")", "{", "rtx", "note", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "note", ")", "==", "REG", "&&", "GET_MODE", "(", "note", ")", "==", "mode", ")", "reg_weight", "--", ";", "}", "}", "return", "reg_weight", ";", "}", ""], "natrual_language": ["Get", "regmode", "weight", "for", "insn", "."], "TS_V_token": ["sh", "0", "0", "1", "0", "0", "1", "0"], "File": "sh3", "Func": "find_insn_regmode_weight", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10649, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetLowering", "::", "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", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "Context", ")", ";", "return", "CCInfo", ".", "CheckReturn", "(", "Outs", ",", "RetCC_MipsO32", ")", ";", "}", ""], "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": ["Mips", "Mips", "ISD::OutputArg", "16", "Mips"], "File": "MipsISelLowering11", "Func": "CanLowerReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10650, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SICTargetLowering", "*", "SICTargetLowering", "::", "create", "(", "const", "SICTargetMachine", "&", "TM", ",", "const", "SICSubtarget", "&", "STI", ")", "{", "return", "new", "SICTargetLowering", "(", "TM", ",", "STI", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["SIC", "SIC", "SIC", "SIC", "SIC", "SIC"], "File": "SICISelLowering", "Func": "create", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10651, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"MIPS Os16 Optimization\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"MIPS Os16 Optimization\""], "File": "MipsOs1613", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10652, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "get_probe_interval", "(", "void", ")", "{", "if", "(", "flag_stack_clash_protection", ")", "return", "(", "HOST_WIDE_INT_1U", "<<", "param_stack_clash_protection_probe_interval", ")", ";", "else", "return", "(", "HOST_WIDE_INT_1U", "<<", "STACK_CHECK_PROBE_INTERVAL_EXP", ")", ";", "}", ""], "natrual_language": ["Return", "the", "probing", "interval", "for", "-fstack-clash-protection", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "get_probe_interval", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10653, "Length": 27, "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", ")", "{", "if", "(", "aarch64_sve", "::", "builtin_type_p", "(", "type", ")", ")", "return", "false", ";", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "}", "else", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_INT", "||", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_FLOAT", ")", "{", "if", "(", "type", "&&", "aarch64_some_values_include_pst_objects_p", "(", "type", ")", ")", "gcc_assert", "(", "!", "TARGET_SVE", "||", "aarch64_sve_mode_p", "(", "mode", ")", ")", ";", "else", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "}", "if", "(", "known_eq", "(", "size", ",", "8", ")", "||", "known_eq", "(", "size", ",", "16", ")", ")", "{", "gcc_assert", "(", "!", "aarch64_sve_mode_p", "(", "mode", ")", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "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", "aarch64_sve::builtin_type_p", "8", "16"], "File": "aarch641", "Func": "aarch64_short_vector_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10654, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LC2200PassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createLC2200ISelDag", "(", "getLC2200TargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["LC2200", "LC2200", "LC2200", "LC2200"], "File": "LC2200TargetMachine", "Func": "addInstSelector", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10655, "Length": 25, "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", ";", "return", "aarch64_builtin_rsqrt", "(", "DECL_FUNCTION_CODE", "(", "fndecl", ")", ")", ";", "}", ""], "natrual_language": ["Function", "to", "decide", "when", "to", "use", "the", "approximate", "reciprocal", "square", "root", "builtin", "."], "TS_V_token": ["aarch64"], "File": "aarch644", "Func": "aarch64_builtin_reciprocal", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10656, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "altivec_expand_stvx_be", "(", "rtx", "op0", ",", "rtx", "op1", ",", "machine_mode", "mode", ",", "unsigned", "unspec", ")", "{", "rtx", "tmp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rtx", "store", "=", "gen_rtx_SET", "(", "op0", ",", "tmp", ")", ";", "rtx", "stvx", "=", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "1", ",", "const0_rtx", ")", ",", "unspec", ")", ";", "rtx", "par", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec", "(", "2", ",", "store", ",", "stvx", ")", ")", ";", "rtx", "sel", "=", "swap_selector_for_mode", "(", "mode", ")", ";", "rtx", "vperm", ";", "gcc_assert", "(", "REG_P", "(", "op1", ")", ")", ";", "vperm", "=", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "3", ",", "op1", ",", "op1", ",", "sel", ")", ",", "UNSPEC_VPERM", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "tmp", ",", "vperm", ")", ")", ";", "emit_insn", "(", "par", ")", ";", "}", ""], "natrual_language": ["Generate", "code", "for", "a", "``", "stvx", "''", "or", "``", "stvxl", "''", "built-in", "for", "a", "little", "endian", "target", "with", "-maltivec=be", "specified", ".", "Issue", "the", "store", "preceded", "by", "an", "element-reversing", "permute", "."], "TS_V_token": ["powerpcspe", "1", "2", "3"], "File": "powerpcspe", "Func": "altivec_expand_stvx_be", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10657, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc_profile_hook", "(", "int", "labelno", ")", "{", "char", "buf", "[", "32", "]", ";", "rtx", "lab", ",", "fun", ";", "fun", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "MCOUNT_FUNCTION", ")", ";", "if", "(", "NO_PROFILE_COUNTERS", ")", "{", "emit_library_call", "(", "fun", ",", "LCT_NORMAL", ",", "VOIDmode", ")", ";", "}", "else", "{", "ASM_GENERATE_INTERNAL_LABEL", "(", "buf", ",", "\"LP\"", ",", "labelno", ")", ";", "lab", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "ggc_strdup", "(", "buf", ")", ")", ";", "emit_library_call", "(", "fun", ",", "LCT_NORMAL", ",", "VOIDmode", ",", "lab", ",", "Pmode", ")", ";", "}", "}", ""], "natrual_language": ["Output", "rtl", "to", "increment", "the", "profiler", "label", "LABELNO", "for", "profiling", "a", "function", "entry", "."], "TS_V_token": ["sparc", "32", "\"LP\""], "File": "sparc", "Func": "sparc_profile_hook", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10658, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "class", "LLVM_LIBRARY_VISIBILITY", "SystemZMCInstLower", "{", "Mangler", "*", "Mang", ";", "MCContext", "&", "Ctx", ";", "SystemZAsmPrinter", "&", "AsmPrinter", ";", "public", ":", "SystemZMCInstLower", "(", "Mangler", "*", "mang", ",", "MCContext", "&", "ctx", ",", "SystemZAsmPrinter", "&", "asmPrinter", ")", ";", "void", "lower", "(", "const", "MachineInstr", "*", "MI", ",", "MCInst", "&", "OutMI", ")", "const", ";", "MCOperand", "lowerOperand", "(", "const", "MachineOperand", "&", "MO", ")", "const", ";", "const", "MCExpr", "*", "getExpr", "(", "const", "MachineOperand", "&", "MO", ",", "MCSymbolRefExpr", "::", "VariantKind", "Kind", ")", "const", ";", "}", ""], "natrual_language": ["Implementation", "of", "the", "SCEVPredicate", "interface", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ"], "File": "SystemZMCInstLower11", "Func": "getExpr", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10659, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "AArch64FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "AArch64InstrInfo", "*", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "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", "(", ")", ";", "int64_t", "Amount", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "Amount", "=", "alignTo", "(", "Amount", ",", "Align", ")", ";", "if", "(", "!", "IsDestroy", ")", "Amount", "=", "-", "Amount", ";", "if", "(", "CalleePopAmount", "==", "0", ")", "{", "assert", "(", "Amount", ">", "-", "0xffffff", "&&", "Amount", "<", "0xffffff", "&&", "\"call frame too large\"", ")", ";", "emitFrameOffset", "(", "MBB", ",", "I", ",", "DL", ",", "AArch64", "::", "SP", ",", "AArch64", "::", "SP", ",", "Amount", ",", "TII", ")", ";", "}", "}", "else", "if", "(", "CalleePopAmount", "!=", "0", ")", "{", "assert", "(", "CalleePopAmount", "<", "0xffffff", "&&", "\"call frame too large\"", ")", ";", "emitFrameOffset", "(", "MBB", ",", "I", ",", "DL", ",", "AArch64", "::", "SP", ",", "AArch64", "::", "SP", ",", "-", "CalleePopAmount", ",", "TII", ")", ";", "}", "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": ["AArch64", "AArch64", "AArch64", "AArch64", "1", "0", "0", "0", "0xffffff", "0xffffff", "\"call frame too large\"", "AArch64::SP", "AArch64::SP", "0", "0xffffff", "\"call frame too large\"", "AArch64::SP", "AArch64::SP"], "File": "AArch64FrameLowering10", "Func": "eliminateCallFramePseudoInstr", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10660, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "pad_groups", "(", "FILE", "*", "dump", ",", "int", "sched_verbose", ",", "rtx", "prev_head_insn", ",", "rtx", "tail", ")", "{", "rtx", "insn", ",", "next_insn", ";", "rtx", "nop", ";", "int", "issue_rate", ";", "int", "can_issue_more", ";", "int", "group_end", ";", "int", "group_count", "=", "0", ";", "issue_rate", "=", "rs6000_issue_rate", "(", ")", ";", "can_issue_more", "=", "issue_rate", ";", "insn", "=", "get_next_active_insn", "(", "prev_head_insn", ",", "tail", ")", ";", "next_insn", "=", "get_next_active_insn", "(", "insn", ",", "tail", ")", ";", "while", "(", "insn", "!=", "NULL_RTX", ")", "{", "can_issue_more", "=", "rs6000_variable_issue", "(", "dump", ",", "sched_verbose", ",", "insn", ",", "can_issue_more", ")", ";", "group_end", "=", "(", "next_insn", "==", "NULL_RTX", "||", "GET_MODE", "(", "next_insn", ")", "==", "TImode", ")", ";", "if", "(", "next_insn", "==", "NULL_RTX", ")", "break", ";", "if", "(", "group_end", ")", "{", "if", "(", "can_issue_more", "&&", "(", "rs6000_sched_insert_nops", "==", "sched_finish_pad_groups", ")", "&&", "!", "insn_terminates_group_p", "(", "insn", ",", "current_group", ")", "&&", "!", "insn_terminates_group_p", "(", "next_insn", ",", "previous_group", ")", ")", "{", "if", "(", "!", "is_branch_slot_insn", "(", "next_insn", ")", ")", "can_issue_more", "--", ";", "while", "(", "can_issue_more", ")", "{", "nop", "=", "gen_nop", "(", ")", ";", "emit_insn_before", "(", "nop", ",", "next_insn", ")", ";", "can_issue_more", "--", ";", "}", "}", "can_issue_more", "=", "issue_rate", ";", "group_count", "++", ";", "}", "insn", "=", "next_insn", ";", "next_insn", "=", "get_next_active_insn", "(", "insn", ",", "tail", ")", ";", "}", "return", "group_count", ";", "}", ""], "natrual_language": ["Scan", "the", "insn", "sequence", "between", "PREV_HEAD_INSN", "and", "TAIL", "and", "examine", "the", "dispatch", "group", "boundaries", "that", "the", "scheduler", "had", "marked", ".", "Pad", "with", "nops", "any", "dispatch", "groups", "which", "have", "vacant", "issue", "slots", ",", "in", "order", "to", "force", "the", "scheduler", "'s", "grouping", "on", "the", "processor", "dispatcher", ".", "The", "function", "returns", "the", "number", "of", "dispatch", "groups", "found", "."], "TS_V_token": ["rs6000", "0"], "File": "rs60003", "Func": "pad_groups", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10661, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "reMaterialize", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "unsigned", "SubIdx", ",", "const", "MachineInstr", "&", "Orig", ",", "const", "TargetRegisterInfo", "&", "TRI", ")", "const", "{", "bool", "ClobbersEFLAGS", "=", "false", ";", "for", "(", "const", "MachineOperand", "&", "MO", ":", "Orig", ".", "operands", "(", ")", ")", "{", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "MO", ".", "isDef", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "==", "X86", "::", "EFLAGS", ")", "{", "ClobbersEFLAGS", "=", "true", ";", "break", ";", "}", "}", "if", "(", "ClobbersEFLAGS", "&&", "!", "isSafeToClobberEFLAGS", "(", "MBB", ",", "I", ")", ")", "{", "int", "Value", ";", "switch", "(", "Orig", ".", "getOpcode", "(", ")", ")", "{", "case", "X86", "::", "MOV32r0", ":", "Value", "=", "0", ";", "break", ";", "case", "X86", "::", "MOV32r1", ":", "Value", "=", "1", ";", "break", ";", "case", "X86", "::", "MOV32r_1", ":", "Value", "=", "-", "1", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Unexpected instruction!\"", ")", ";", "}", "const", "DebugLoc", "&", "DL", "=", "Orig", ".", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "X86", "::", "MOV32ri", ")", ")", ".", "add", "(", "Orig", ".", "getOperand", "(", "0", ")", ")", ".", "addImm", "(", "Value", ")", ";", "}", "else", "{", "MachineInstr", "*", "MI", "=", "MBB", ".", "getParent", "(", ")", "->", "CloneMachineInstr", "(", "&", "Orig", ")", ";", "MBB", ".", "insert", "(", "I", ",", "MI", ")", ";", "}", "MachineInstr", "&", "NewMI", "=", "*", "std", "::", "prev", "(", "I", ")", ";", "NewMI", ".", "substituteRegister", "(", "Orig", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "DestReg", ",", "SubIdx", ",", "TRI", ")", ";", "}", ""], "natrual_language": ["Re-issue", "the", "specified", "'original", "'", "instruction", "at", "the", "specific", "location", "targeting", "a", "new", "destination", "register", "."], "TS_V_token": ["X86", "X86", "X86::EFLAGS", "X86::MOV32r0", "0", "X86::MOV32r1", "1", "X86::MOV32r_1", "1", "\"Unexpected instruction!\"", "X86::MOV32ri", "0", "0"], "File": "X86InstrInfo", "Func": "reMaterialize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10662, "Length": 257, "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": 10663, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "Thumb2InstrInfo", "::", "optimizeSelect", "(", "MachineInstr", "&", "MI", ",", "SmallPtrSetImpl", "<", "MachineInstr", "*", ">", "&", "SeenMIs", ",", "bool", "PreferFalse", ")", "const", "{", "MachineInstr", "*", "RV", "=", "ARMBaseInstrInfo", "::", "optimizeSelect", "(", "MI", ",", "SeenMIs", ",", "PreferFalse", ")", ";", "if", "(", "!", "RV", "&&", "getSubtarget", "(", ")", ".", "hasV8_1MMainlineOps", "(", ")", "&&", "!", "PreferNoCSEL", ")", "{", "Register", "DestReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "if", "(", "!", "DestReg", ".", "isVirtual", "(", ")", ")", "return", "nullptr", ";", "MachineInstrBuilder", "NewMI", "=", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "get", "(", "ARM", "::", "t2CSEL", ")", ",", "DestReg", ")", ".", "add", "(", "MI", ".", "getOperand", "(", "2", ")", ")", ".", "add", "(", "MI", ".", "getOperand", "(", "1", ")", ")", ".", "add", "(", "MI", ".", "getOperand", "(", "3", ")", ")", ";", "SeenMIs", ".", "insert", "(", "NewMI", ")", ";", "return", "NewMI", ";", "}", "return", "RV", ";", "}", ""], "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": ["ARM", "ARM", "0", "ARM::t2CSEL", "2", "1", "3"], "File": "Thumb2InstrInfo", "Func": "optimizeSelect", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10664, "Length": 156, "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": 10665, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_expand_vec_perm_const", "(", "rtx", "operands", "[", "4", "]", ")", "{", "struct", "expand_vec_perm_d", "d", ";", "int", "i", ",", "nelt", ",", "which", ";", "unsigned", "char", "orig_perm", "[", "MAX_VECT_LEN", "]", ";", "rtx", "sel", ";", "bool", "ok", ";", "d", ".", "target", "=", "operands", "[", "0", "]", ";", "d", ".", "op0", "=", "operands", "[", "1", "]", ";", "d", ".", "op1", "=", "operands", "[", "2", "]", ";", "sel", "=", "operands", "[", "3", "]", ";", "d", ".", "vmode", "=", "GET_MODE", "(", "d", ".", "target", ")", ";", "gcc_assert", "(", "VECTOR_MODE_P", "(", "d", ".", "vmode", ")", ")", ";", "d", ".", "nelt", "=", "nelt", "=", "GET_MODE_NUNITS", "(", "d", ".", "vmode", ")", ";", "d", ".", "testing_p", "=", "false", ";", "memset", "(", "orig_perm", ",", "0", ",", "MAX_VECT_LEN", ")", ";", "for", "(", "i", "=", "which", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "{", "rtx", "e", "=", "XVECEXP", "(", "sel", ",", "0", ",", "i", ")", ";", "int", "ei", "=", "INTVAL", "(", "e", ")", "&", "(", "2", "*", "nelt", "-", "1", ")", ";", "which", "|=", "(", "ei", "<", "nelt", "?", "1", ":", "2", ")", ";", "orig_perm", "[", "i", "]", "=", "ei", ";", "}", "memcpy", "(", "d", ".", "perm", ",", "orig_perm", ",", "MAX_VECT_LEN", ")", ";", "switch", "(", "which", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "3", ":", "d", ".", "one_vector_p", "=", "false", ";", "if", "(", "!", "rtx_equal_p", "(", "d", ".", "op0", ",", "d", ".", "op1", ")", ")", "break", ";", "case", "2", ":", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "d", ".", "perm", "[", "i", "]", "&=", "nelt", "-", "1", ";", "d", ".", "op0", "=", "d", ".", "op1", ";", "d", ".", "one_vector_p", "=", "true", ";", "break", ";", "case", "1", ":", "d", ".", "op1", "=", "d", ".", "op0", ";", "d", ".", "one_vector_p", "=", "true", ";", "break", ";", "}", "ok", "=", "mips_expand_vec_perm_const_1", "(", "&", "d", ")", ";", "if", "(", "!", "ok", "&&", "which", "==", "3", ")", "{", "d", ".", "op0", "=", "operands", "[", "1", "]", ";", "d", ".", "op1", "=", "operands", "[", "2", "]", ";", "d", ".", "one_vector_p", "=", "false", ";", "memcpy", "(", "d", ".", "perm", ",", "orig_perm", ",", "MAX_VECT_LEN", ")", ";", "ok", "=", "mips_expand_vec_perm_const_1", "(", "&", "d", ")", ";", "}", "return", "ok", ";", "}", ""], "natrual_language": ["Expand", "a", "vec_perm_const", "pattern", "."], "TS_V_token": ["mips", "4", "0", "1", "2", "3", "0", "0", "0", "2", "1", "1", "2", "3", "2", "0", "1", "1", "3", "1", "2"], "File": "mips6", "Func": "mips_expand_vec_perm_const", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10666, "Length": 357, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "AArch64MCExpr", "::", "getVariantKindName", "(", ")", "const", "{", "switch", "(", "static_cast", "<", "uint32_t", ">", "(", "getKind", "(", ")", ")", ")", "{", "case", "VK_CALL", ":", "return", "\"\"", ";", "case", "VK_LO12", ":", "return", "\":lo12:\"", ";", "case", "VK_ABS_G3", ":", "return", "\":abs_g3:\"", ";", "case", "VK_ABS_G2", ":", "return", "\":abs_g2:\"", ";", "case", "VK_ABS_G2_S", ":", "return", "\":abs_g2_s:\"", ";", "case", "VK_ABS_G2_NC", ":", "return", "\":abs_g2_nc:\"", ";", "case", "VK_ABS_G1", ":", "return", "\":abs_g1:\"", ";", "case", "VK_ABS_G1_S", ":", "return", "\":abs_g1_s:\"", ";", "case", "VK_ABS_G1_NC", ":", "return", "\":abs_g1_nc:\"", ";", "case", "VK_ABS_G0", ":", "return", "\":abs_g0:\"", ";", "case", "VK_ABS_G0_S", ":", "return", "\":abs_g0_s:\"", ";", "case", "VK_ABS_G0_NC", ":", "return", "\":abs_g0_nc:\"", ";", "case", "VK_PREL_G3", ":", "return", "\":prel_g3:\"", ";", "case", "VK_PREL_G2", ":", "return", "\":prel_g2:\"", ";", "case", "VK_PREL_G2_NC", ":", "return", "\":prel_g2_nc:\"", ";", "case", "VK_PREL_G1", ":", "return", "\":prel_g1:\"", ";", "case", "VK_PREL_G1_NC", ":", "return", "\":prel_g1_nc:\"", ";", "case", "VK_PREL_G0", ":", "return", "\":prel_g0:\"", ";", "case", "VK_PREL_G0_NC", ":", "return", "\":prel_g0_nc:\"", ";", "case", "VK_DTPREL_G2", ":", "return", "\":dtprel_g2:\"", ";", "case", "VK_DTPREL_G1", ":", "return", "\":dtprel_g1:\"", ";", "case", "VK_DTPREL_G1_NC", ":", "return", "\":dtprel_g1_nc:\"", ";", "case", "VK_DTPREL_G0", ":", "return", "\":dtprel_g0:\"", ";", "case", "VK_DTPREL_G0_NC", ":", "return", "\":dtprel_g0_nc:\"", ";", "case", "VK_DTPREL_HI12", ":", "return", "\":dtprel_hi12:\"", ";", "case", "VK_DTPREL_LO12", ":", "return", "\":dtprel_lo12:\"", ";", "case", "VK_DTPREL_LO12_NC", ":", "return", "\":dtprel_lo12_nc:\"", ";", "case", "VK_TPREL_G2", ":", "return", "\":tprel_g2:\"", ";", "case", "VK_TPREL_G1", ":", "return", "\":tprel_g1:\"", ";", "case", "VK_TPREL_G1_NC", ":", "return", "\":tprel_g1_nc:\"", ";", "case", "VK_TPREL_G0", ":", "return", "\":tprel_g0:\"", ";", "case", "VK_TPREL_G0_NC", ":", "return", "\":tprel_g0_nc:\"", ";", "case", "VK_TPREL_HI12", ":", "return", "\":tprel_hi12:\"", ";", "case", "VK_TPREL_LO12", ":", "return", "\":tprel_lo12:\"", ";", "case", "VK_TPREL_LO12_NC", ":", "return", "\":tprel_lo12_nc:\"", ";", "case", "VK_TLSDESC_LO12", ":", "return", "\":tlsdesc_lo12:\"", ";", "case", "VK_ABS_PAGE", ":", "return", "\"\"", ";", "case", "VK_ABS_PAGE_NC", ":", "return", "\":pg_hi21_nc:\"", ";", "case", "VK_GOT", ":", "return", "\":got:\"", ";", "case", "VK_GOT_PAGE", ":", "return", "\":got:\"", ";", "case", "VK_GOT_PAGE_LO15", ":", "return", "\":gotpage_lo15:\"", ";", "case", "VK_GOT_LO12", ":", "return", "\":got_lo12:\"", ";", "case", "VK_GOTTPREL", ":", "return", "\":gottprel:\"", ";", "case", "VK_GOTTPREL_PAGE", ":", "return", "\":gottprel:\"", ";", "case", "VK_GOTTPREL_LO12_NC", ":", "return", "\":gottprel_lo12:\"", ";", "case", "VK_GOTTPREL_G1", ":", "return", "\":gottprel_g1:\"", ";", "case", "VK_GOTTPREL_G0_NC", ":", "return", "\":gottprel_g0_nc:\"", ";", "case", "VK_TLSDESC", ":", "return", "\"\"", ";", "case", "VK_TLSDESC_PAGE", ":", "return", "\":tlsdesc:\"", ";", "case", "VK_SECREL_LO12", ":", "return", "\":secrel_lo12:\"", ";", "case", "VK_SECREL_HI12", ":", "return", "\":secrel_hi12:\"", ";", "default", ":", "llvm_unreachable", "(", "\"Invalid ELF symbol kind\"", ")", ";", "}", "}", ""], "natrual_language": ["Convert", "the", "variant", "kind", "into", "an", "ELF-appropriate", "modifier", "(", "e.g", "."], "TS_V_token": ["AArch64", "AArch64", "\"\"", "\":lo12:\"", "\":abs_g3:\"", "\":abs_g2:\"", "\":abs_g2_s:\"", "\":abs_g2_nc:\"", "\":abs_g1:\"", "\":abs_g1_s:\"", "\":abs_g1_nc:\"", "\":abs_g0:\"", "\":abs_g0_s:\"", "\":abs_g0_nc:\"", "\":prel_g3:\"", "\":prel_g2:\"", "\":prel_g2_nc:\"", "\":prel_g1:\"", "\":prel_g1_nc:\"", "\":prel_g0:\"", "\":prel_g0_nc:\"", "\":dtprel_g2:\"", "\":dtprel_g1:\"", "\":dtprel_g1_nc:\"", "\":dtprel_g0:\"", "\":dtprel_g0_nc:\"", "\":dtprel_hi12:\"", "\":dtprel_lo12:\"", "\":dtprel_lo12_nc:\"", "\":tprel_g2:\"", "\":tprel_g1:\"", "\":tprel_g1_nc:\"", "\":tprel_g0:\"", "\":tprel_g0_nc:\"", "\":tprel_hi12:\"", "\":tprel_lo12:\"", "\":tprel_lo12_nc:\"", "\":tlsdesc_lo12:\"", "\"\"", "\":pg_hi21_nc:\"", "\":got:\"", "\":got:\"", "\":gotpage_lo15:\"", "\":got_lo12:\"", "\":gottprel:\"", "\":gottprel:\"", "\":gottprel_lo12:\"", "\":gottprel_g1:\"", "\":gottprel_g0_nc:\"", "\"\"", "\":tlsdesc:\"", "\":secrel_lo12:\"", "\":secrel_hi12:\"", "\"Invalid ELF symbol kind\""], "File": "AArch64MCExpr (2)2", "Func": "getVariantKindName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10667, "Length": 336, "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": 10668, "Length": 109, "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", ",", "RM", ")", ",", "getEffectiveCodeModel", "(", "CM", ",", "JIT", ",", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", ",", "OL", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", "{", "if", "(", "(", "TT", ".", "isOSWindows", "(", ")", "&&", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", "||", "TT", ".", "isPS4", "(", ")", ")", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "X86", "target", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86TargetMachine101", "Func": "X86TargetMachine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10669, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCDispatchGroupSBHazardRecognizer", "::", "EmitNoop", "(", ")", "{", "unsigned", "Directive", "=", "DAG", "->", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "getCPUDirective", "(", ")", ";", "if", "(", "Directive", "==", "PPC", "::", "DIR_PWR6", "||", "Directive", "==", "PPC", "::", "DIR_PWR7", "||", "Directive", "==", "PPC", "::", "DIR_PWR8", "||", "Directive", "==", "PPC", "::", "DIR_PWR9", "||", "CurSlots", "==", "6", ")", "{", "CurGroup", ".", "clear", "(", ")", ";", "CurSlots", "=", "CurBranches", "=", "0", ";", "}", "else", "{", "CurGroup", ".", "push_back", "(", "nullptr", ")", ";", "++", "CurSlots", ";", "}", "}", ""], "natrual_language": ["EmitNoop", "-", "This", "callback", "is", "invoked", "when", "a", "noop", "was", "added", "to", "the", "instruction", "stream", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::DIR_PWR6", "PPC::DIR_PWR7", "PPC::DIR_PWR8", "PPC::DIR_PWR9", "6", "0"], "File": "PPCHazardRecognizers20", "Func": "EmitNoop", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10670, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "find_sole_member", "(", "tree", "type", ")", "{", "tree", "field", ",", "member", "=", "NULL_TREE", ";", "for", "(", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";", "field", ";", "field", "=", "TREE_CHAIN", "(", "field", ")", ")", "{", "if", "(", "TREE_CODE", "(", "field", ")", "!=", "FIELD_DECL", ")", "continue", ";", "if", "(", "!", "DECL_SIZE", "(", "field", ")", ")", "return", "NULL_TREE", ";", "if", "(", "integer_zerop", "(", "DECL_SIZE", "(", "field", ")", ")", ")", "continue", ";", "if", "(", "member", ")", "return", "NULL_TREE", ";", "member", "=", "field", ";", "}", "return", "member", ";", "}", ""], "natrual_language": ["TYPE", "is", "a", "RECORD_TYPE", ".", "If", "there", "is", "only", "a", "single", "non-zero-sized", "member", ",", "return", "it", "."], "TS_V_token": ["sh"], "File": "sh3", "Func": "find_sole_member", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10671, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "CallLowering", "*", "ARMSubtarget", "::", "getCallLowering", "(", ")", "const", "{", "assert", "(", "GISel", "&&", "\"Access to GlobalISel APIs not set\"", ")", ";", "return", "GISel", "->", "getCallLowering", "(", ")", ";", "}", ""], "natrual_language": ["Methods", "used", "by", "Global", "ISel", "."], "TS_V_token": ["ARM", "ARM", "\"Access to GlobalISel APIs not set\""], "File": "ARMSubtarget24", "Func": "getCallLowering", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10672, "Length": 25, "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", "::", "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", "Expand2AddrUndef", "(", "MIB", ",", "get", "(", "X86", "::", "KXORWrr", ")", ")", ";", "case", "X86", "::", "KSET1B", ":", "case", "X86", "::", "KSET1W", ":", "return", "Expand2AddrUndef", "(", "MIB", ",", "get", "(", "X86", "::", "KXNORWrr", ")", ")", ";", "}", "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::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::KSET1B", "X86::KSET1W", "X86::KXNORWrr"], "File": "X86InstrInfo142", "Func": "expandPostRAPseudo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10673, "Length": 327, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMConstantIslands", "::", "verify", "(", "MachineFunction", "&", "MF", ")", "{", "assert", "(", "BBOffsets", ".", "size", "(", ")", "==", "BBSizes", ".", "size", "(", ")", ")", ";", "for", "(", "unsigned", "i", "=", "1", ",", "e", "=", "BBOffsets", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "assert", "(", "BBOffsets", "[", "i", "-", "1", "]", "+", "BBSizes", "[", "i", "-", "1", "]", "==", "BBOffsets", "[", "i", "]", ")", ";", "if", "(", "!", "isThumb", ")", "return", ";", "for", "(", "MachineFunction", "::", "iterator", "MBBI", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "MBBI", "!=", "E", ";", "++", "MBBI", ")", "{", "MachineBasicBlock", "*", "MBB", "=", "MBBI", ";", "if", "(", "!", "MBB", "->", "empty", "(", ")", "&&", "MBB", "->", "begin", "(", ")", "->", "getOpcode", "(", ")", "==", "ARM", "::", "CONSTPOOL_ENTRY", ")", "{", "unsigned", "MBBId", "=", "MBB", "->", "getNumber", "(", ")", ";", "assert", "(", "HasInlineAsm", "||", "(", "BBOffsets", "[", "MBBId", "]", "%", "4", "==", "0", "&&", "BBSizes", "[", "MBBId", "]", "%", "4", "==", "0", ")", "||", "(", "BBOffsets", "[", "MBBId", "]", "%", "4", "!=", "0", "&&", "BBSizes", "[", "MBBId", "]", "%", "4", "!=", "0", ")", ")", ";", "}", "}", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CPUsers", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CPUser", "&", "U", "=", "CPUsers", "[", "i", "]", ";", "unsigned", "UserOffset", "=", "GetOffsetOf", "(", "U", ".", "MI", ")", "+", "(", "isThumb", "?", "4", ":", "8", ")", ";", "unsigned", "CPEOffset", "=", "GetOffsetOf", "(", "U", ".", "CPEMI", ")", ";", "unsigned", "Disp", "=", "UserOffset", "<", "CPEOffset", "?", "CPEOffset", "-", "UserOffset", ":", "UserOffset", "-", "CPEOffset", ";", "assert", "(", "Disp", "<=", "U", ".", "MaxDisp", "||", "\"Constant pool entry out of range!\"", ")", ";", "}", "}", ""], "natrual_language": ["Check", "if", "this", "register", "bank", "is", "valid", "."], "TS_V_token": ["ARM", "ARM", "1", "1", "1", "ARM::CONSTPOOL_ENTRY", "4", "0", "4", "0", "4", "0", "4", "0", "0", "4", "8", "\"Constant pool entry out of range!\""], "File": "ARMConstantIslandPass14", "Func": "verify", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10674, "Length": 279, "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": 10675, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "order_regs_for_local_alloc", "(", ")", "{", "static", "int", "last_order_nonleaf", "=", "1", ";", "if", "(", "regs_ever_live", "[", "15", "]", "!=", "last_order_nonleaf", ")", "{", "last_order_nonleaf", "=", "!", "last_order_nonleaf", ";", "memcpy", "(", "(", "char", "*", ")", "reg_alloc_order", ",", "(", "const", "char", "*", ")", "reg_alloc_orders", "[", "last_order_nonleaf", "]", ",", "FIRST_PSEUDO_REGISTER", "*", "sizeof", "(", "int", ")", ")", ";", "}", "}", ""], "natrual_language": ["Choose", "the", "order", "in", "which", "to", "allocate", "hard", "registers", "for", "pseudo-registers", "local", "to", "a", "basic", "block", ".", "Store", "the", "desired", "register", "order", "in", "the", "array", "`", "reg_alloc_order", "'", ".", "Element", "0", "should", "be", "the", "register", "to", "allocate", "first", ";", "element", "1", ",", "the", "next", "register", ";", "and", "so", "on", "."], "TS_V_token": ["sparc", "1", "15"], "File": "sparc2", "Func": "order_regs_for_local_alloc", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10676, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "const", "override", "{", "uint64_t", "NumNops", "=", "Count", "/", "4", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "!=", "NumNops", ";", "++", "i", ")", "support", "::", "endian", "::", "write", "<", "uint32_t", ">", "(", "OS", ",", "0x60000000", ",", "Endian", ")", ";", "OS", ".", "write_zeros", "(", "Count", "%", "4", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["PowerPC", "4", "0", "support::endian", "0x60000000", "4"], "File": "PPCAsmBackend29", "Func": "writeNopData", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10677, "Length": 68, "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", "(", "VOIDmode", ",", "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", "(", "VOIDmode", ",", "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": "rs60004", "Func": "expand_fusion_gpr_load", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10678, "Length": 290, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsInstrInfo", "::", "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", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "GetMemOperand", "(", "MBB", ",", "FI", ",", "MachineMemOperand", "::", "MOLoad", ")", ";", "unsigned", "Opc", "=", "0", ";", "if", "(", "Mips", "::", "CPURegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opc", "=", "IsN64", "?", "Mips", "::", "LW_P8", ":", "Mips", "::", "LW", ";", "else", "if", "(", "Mips", "::", "CPU64RegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opc", "=", "IsN64", "?", "Mips", "::", "LD_P8", ":", "Mips", "::", "LD", ";", "else", "if", "(", "Mips", "::", "FGR32RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opc", "=", "IsN64", "?", "Mips", "::", "LWC1_P8", ":", "Mips", "::", "LWC1", ";", "else", "if", "(", "Mips", "::", "AFGR64RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opc", "=", "Mips", "::", "LDC1", ";", "else", "if", "(", "Mips", "::", "FGR64RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opc", "=", "IsN64", "?", "Mips", "::", "LDC164_P8", ":", "Mips", "::", "LDC164", ";", "assert", "(", "Opc", "&&", "\"Register class not handled!\"", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ",", "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": ["Mips", "Mips", "0", "Mips::CPURegsRegClass", "Mips::LW_P8", "Mips::LW", "Mips::CPU64RegsRegClass", "Mips::LD_P8", "Mips::LD", "Mips::FGR32RegClass", "Mips::LWC1_P8", "Mips::LWC1", "Mips::AFGR64RegClass", "Mips::LDC1", "Mips::FGR64RegClass", "Mips::LDC164_P8", "Mips::LDC164", "\"Register class not handled!\"", "0"], "File": "MipsInstrInfo20", "Func": "loadRegFromStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10679, "Length": 225, "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": 10680, "Length": 481, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_decl_is_long_call_p", "(", "const_tree", "decl", "ATTRIBUTE_UNUSED", ")", "{", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "calls", "to", "DECL", "should", "be", "treated", "as", "long-calls", "(", "ie", "called", "via", "a", "register", ")", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_decl_is_long_call_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10681, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "ARMTargetStreamer", "::", "addConstantPoolEntry", "(", "const", "MCExpr", "*", "Expr", ",", "SMLoc", "Loc", ")", "{", "return", "ConstantPools", "->", "addEntry", "(", "Streamer", ",", "Expr", ",", "4", ",", "Loc", ")", ";", "}", ""], "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": ["ARM", "ARM", "4"], "File": "ARMTargetStreamer (2)", "Func": "addConstantPoolEntry", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10682, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AnalyzeReturn", "(", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "CCAssignFn", "Fn", ")", "{", "PreAnalyzeReturnForF128", "(", "Outs", ")", ";", "CCState", "::", "AnalyzeReturn", "(", "Outs", ",", "Fn", ")", ";", "OriginalArgWasFloat", ".", "clear", "(", ")", ";", "OriginalArgWasF128", ".", "clear", "(", ")", ";", "}", ""], "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": "MipsCCState", "Func": "AnalyzeReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10683, "Length": 44, "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": 10684, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_sve_pred_dominates_p", "(", "rtx", "*", "pred1", ",", "rtx", "pred2", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "pred2", ")", ";", "gcc_assert", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_BOOL", "&&", "mode", "==", "GET_MODE", "(", "pred1", "[", "0", "]", ")", "&&", "aarch64_sve_gp_strictness", "(", "pred1", "[", "1", "]", ",", "SImode", ")", ")", ";", "return", "(", "pred1", "[", "0", "]", "==", "CONSTM1_RTX", "(", "mode", ")", "||", "INTVAL", "(", "pred1", "[", "1", "]", ")", "==", "SVE_RELAXED_GP", "||", "rtx_equal_p", "(", "pred1", "[", "0", "]", ",", "pred2", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "predicate", "PRED1", "[", "0", "]", "is", "true", "whenever", "predicate", "PRED2", "is", "true", ",", "or", "alternatively", "if", "we", "know", "that", "the", "operation", "predicated", "by", "PRED1", "[", "0", "]", "is", "safe", "to", "perform", "whenever", "PRED2", "is", "true", ".", "PRED1", "[", "1", "]", "is", "a", "aarch64_sve_gp_strictness", "operand", "that", "describes", "the", "operation", "predicated", "by", "PRED1", "[", "0", "]", "."], "TS_V_token": ["aarch64", "0", "1", "0", "1", "0"], "File": "aarch64", "Func": "aarch64_sve_pred_dominates_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10685, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "abi_v4_pass_in_fpr", "(", "machine_mode", "mode", ",", "bool", "named", ")", "{", "if", "(", "!", "TARGET_HARD_FLOAT", ")", "return", "false", ";", "if", "(", "TARGET_DOUBLE_FLOAT", "&&", "mode", "==", "DFmode", ")", "return", "true", ";", "if", "(", "TARGET_SINGLE_FLOAT", "&&", "mode", "==", "SFmode", "&&", "named", ")", "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": "rs60007", "Func": "abi_v4_pass_in_fpr", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10686, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetELFStreamer", "::", "finish", "(", ")", "{", "MCAssembler", "&", "MCA", "=", "getStreamer", "(", ")", ".", "getAssembler", "(", ")", ";", "const", "MCObjectFileInfo", "&", "OFI", "=", "*", "MCA", ".", "getContext", "(", ")", ".", "getObjectFileInfo", "(", ")", ";", "MCSection", "&", "TextSection", "=", "*", "OFI", ".", "getTextSection", "(", ")", ";", "MCA", ".", "registerSection", "(", "TextSection", ")", ";", "MCSection", "&", "DataSection", "=", "*", "OFI", ".", "getDataSection", "(", ")", ";", "MCA", ".", "registerSection", "(", "DataSection", ")", ";", "MCSection", "&", "BSSSection", "=", "*", "OFI", ".", "getBSSSection", "(", ")", ";", "MCA", ".", "registerSection", "(", "BSSSection", ")", ";", "TextSection", ".", "setAlignment", "(", "Align", "(", "std", "::", "max", "(", "16u", ",", "TextSection", ".", "getAlignment", "(", ")", ")", ")", ")", ";", "DataSection", ".", "setAlignment", "(", "Align", "(", "std", "::", "max", "(", "16u", ",", "DataSection", ".", "getAlignment", "(", ")", ")", ")", ")", ";", "BSSSection", ".", "setAlignment", "(", "Align", "(", "std", "::", "max", "(", "16u", ",", "BSSSection", ".", "getAlignment", "(", ")", ")", ")", ")", ";", "if", "(", "RoundSectionSizes", ")", "{", "MCStreamer", "&", "OS", "=", "getStreamer", "(", ")", ";", "for", "(", "MCSection", "&", "S", ":", "MCA", ")", "{", "MCSectionELF", "&", "Section", "=", "static_cast", "<", "MCSectionELF", "&", ">", "(", "S", ")", ";", "unsigned", "Alignment", "=", "Section", ".", "getAlignment", "(", ")", ";", "if", "(", "Alignment", ")", "{", "OS", ".", "SwitchSection", "(", "&", "Section", ")", ";", "if", "(", "Section", ".", "UseCodeAlign", "(", ")", ")", "OS", ".", "EmitCodeAlignment", "(", "Alignment", ",", "Alignment", ")", ";", "else", "OS", ".", "EmitValueToAlignment", "(", "Alignment", ",", "0", ",", "1", ",", "Alignment", ")", ";", "}", "}", "}", "const", "FeatureBitset", "&", "Features", "=", "STI", ".", "getFeatureBits", "(", ")", ";", "unsigned", "EFlags", "=", "MCA", ".", "getELFHeaderEFlags", "(", ")", ";", "if", "(", "getABI", "(", ")", ".", "IsO32", "(", ")", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_ABI_O32", ";", "else", "if", "(", "getABI", "(", ")", ".", "IsN32", "(", ")", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_ABI2", ";", "if", "(", "Features", "[", "Mips", "::", "FeatureGP64Bit", "]", ")", "{", "if", "(", "getABI", "(", ")", ".", "IsO32", "(", ")", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_32BITMODE", ";", "}", "else", "if", "(", "Features", "[", "Mips", "::", "FeatureMips64r2", "]", "||", "Features", "[", "Mips", "::", "FeatureMips64", "]", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_32BITMODE", ";", "if", "(", "!", "Features", "[", "Mips", "::", "FeatureNoABICalls", "]", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_CPIC", ";", "if", "(", "Pic", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_PIC", "|", "ELF", "::", "EF_MIPS_CPIC", ";", "MCA", ".", "setELFHeaderEFlags", "(", "EFlags", ")", ";", "MipsELFStreamer", "&", "MEF", "=", "static_cast", "<", "MipsELFStreamer", "&", ">", "(", "Streamer", ")", ";", "MEF", ".", "EmitMipsOptionRecords", "(", ")", ";", "emitMipsAbiFlags", "(", ")", ";", "}", ""], "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": ["Mips", "Mips", "16u", "16u", "16u", "0", "1", "Mips::FeatureGP64Bit", "Mips::FeatureMips64r2", "Mips::FeatureMips64", "Mips::FeatureNoABICalls", "Mips", "Mips", "Mips", "Mips"], "File": "MipsTargetStreamer27", "Func": "finish", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10687, "Length": 407, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "PPCTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "EVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'b'", ":", "case", "'r'", ":", "if", "(", "VT", "==", "MVT", "::", "i64", "&&", "PPCSubTarget", ".", "isPPC64", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "G8RCRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "GPRCRegClass", ")", ";", "case", "'f'", ":", "if", "(", "VT", "==", "MVT", "::", "f32", "||", "VT", "==", "MVT", "::", "i32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "F4RCRegClass", ")", ";", "if", "(", "VT", "==", "MVT", "::", "f64", "||", "VT", "==", "MVT", "::", "i64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "F8RCRegClass", ")", ";", "break", ";", "case", "'v'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "VRRCRegClass", ")", ";", "case", "'y'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "CRRCRegClass", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["PowerPC", "PPC", "1", "0", "MVT::i64", "PPC", "PPC", "0U", "PPC::G8RCRegClass", "0U", "PPC::GPRCRegClass", "MVT::f32", "MVT::i32", "0U", "PPC::F4RCRegClass", "MVT::f64", "MVT::i64", "0U", "PPC::F8RCRegClass", "0U", "PPC::VRRCRegClass", "0U", "PPC::CRRCRegClass"], "File": "PPCISelLowering105", "Func": "getRegForInlineAsmConstraint", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10688, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "x86_output_aligned_bss", "(", "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", ")", ")", ";", "else", "switch_to_section", "(", "bss_section", ")", ";", "ASM_OUTPUT_ALIGN", "(", "file", ",", "floor_log2", "(", "align", "/", "BITS_PER_UNIT", ")", ")", ";", "last_assemble_variable_decl", "=", "decl", ";", "ASM_DECLARE_OBJECT_NAME", "(", "file", ",", "name", ",", "decl", ")", ";", "ASM_OUTPUT_LABEL", "(", "file", ",", "name", ")", ";", "ASM_OUTPUT_SKIP", "(", "file", ",", "size", "?", "size", ":", "1", ")", ";", "}", ""], "natrual_language": ["Utility", "function", "for", "targets", "to", "use", "in", "implementing", "ASM_OUTPUT_ALIGNED_BSS", "."], "TS_V_token": ["i386", "\".lbss\"", "0", "1"], "File": "i386", "Func": "x86_output_aligned_bss", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10689, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "thumb_find_work_register", "(", "unsigned", "long", "pushed_regs_mask", ")", "{", "int", "reg", ";", "unsigned", "long", "unused_regs", "=", "thumb1_prologue_unused_call_clobbered_lo_regs", "(", ")", ";", "for", "(", "reg", "=", "LAST_LO_REGNUM", ";", "reg", ">=", "FIRST_LO_REGNUM", ";", "reg", "--", ")", "if", "(", "unused_regs", "&", "(", "1", "<<", "(", "reg", "-", "FIRST_LO_REGNUM", ")", ")", ")", "return", "reg", ";", "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", "1", "1", "15", "1"], "File": "arm", "Func": "thumb_find_work_register", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10690, "Length": 113, "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": 10691, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"MIPS16 Hard Float Pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"MIPS16 Hard Float Pass\""], "File": "Mips16HardFloat1", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10692, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_conditional_register_usage", "(", "void", ")", "{", "int", "i", ";", "if", "(", "TARGET_DEBUG_TARGET", ")", "fprintf", "(", "stderr", ",", "\"rs6000_conditional_register_usage called\\n\"", ")", ";", "if", "(", "TARGET_64BIT", ")", "fixed_regs", "[", "13", "]", "=", "call_used_regs", "[", "13", "]", "=", "1", ";", "if", "(", "TARGET_SOFT_FLOAT", ")", "for", "(", "i", "=", "32", ";", "i", "<", "64", ";", "i", "++", ")", "fixed_regs", "[", "i", "]", "=", "call_used_regs", "[", "i", "]", "=", "1", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_AIX", "||", "DEFAULT_ABI", "==", "ABI_ELFv2", ")", "call_used_regs", "[", "2", "]", "=", "0", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "flag_pic", "==", "2", ")", "fixed_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "1", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "flag_pic", "==", "1", ")", "fixed_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "call_used_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "1", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_DARWIN", "&&", "flag_pic", ")", "fixed_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "call_used_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "1", ";", "if", "(", "TARGET_TOC", "&&", "TARGET_MINIMAL_TOC", ")", "fixed_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "1", ";", "if", "(", "!", "TARGET_ALTIVEC", "&&", "!", "TARGET_VSX", ")", "{", "for", "(", "i", "=", "FIRST_ALTIVEC_REGNO", ";", "i", "<=", "LAST_ALTIVEC_REGNO", ";", "++", "i", ")", "fixed_regs", "[", "i", "]", "=", "call_used_regs", "[", "i", "]", "=", "1", ";", "call_used_regs", "[", "VRSAVE_REGNO", "]", "=", "1", ";", "}", "if", "(", "TARGET_ALTIVEC", "||", "TARGET_VSX", ")", "global_regs", "[", "VSCR_REGNO", "]", "=", "1", ";", "if", "(", "TARGET_ALTIVEC_ABI", ")", "{", "for", "(", "i", "=", "FIRST_ALTIVEC_REGNO", ";", "i", "<", "FIRST_ALTIVEC_REGNO", "+", "20", ";", "++", "i", ")", "call_used_regs", "[", "i", "]", "=", "1", ";", "if", "(", "TARGET_XCOFF", "&&", "!", "rs6000_aix_extabi", ")", "for", "(", "i", "=", "FIRST_ALTIVEC_REGNO", "+", "20", ";", "i", "<", "FIRST_ALTIVEC_REGNO", "+", "32", ";", "++", "i", ")", "fixed_regs", "[", "i", "]", "=", "call_used_regs", "[", "i", "]", "=", "1", ";", "}", "}", ""], "natrual_language": ["Change", "register", "usage", "conditional", "on", "target", "flags", "."], "TS_V_token": ["rs6000", "\"rs6000_conditional_register_usage called\\n\"", "13", "13", "1", "32", "64", "1", "2", "0", "2", "1", "1", "1", "1", "1", "1", "1", "1", "20", "1", "20", "32", "1"], "File": "rs6000", "Func": "rs6000_conditional_register_usage", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10693, "Length": 275, "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", ")", ",", "ARMProcFamily", "(", "Others", ")", ",", "HasV8_1aOps", "(", "false", ")", ",", "HasFPARMv8", "(", "false", ")", ",", "HasNEON", "(", "false", ")", ",", "HasCrypto", "(", "false", ")", ",", "HasCRC", "(", "false", ")", ",", "HasZeroCycleRegMove", "(", "false", ")", ",", "HasZeroCycleZeroing", "(", "false", ")", ",", "IsLittle", "(", "LittleEndian", ")", ",", "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": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64Subtarget59", "Func": "AArch64Subtarget", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10694, "Length": 121, "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", ")", ",", "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": "X86Subtarget39", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10695, "Length": 486, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "X86TargetLowering", "::", "BuildSDIVPow2", "(", "SDNode", "*", "N", ",", "const", "APInt", "&", "Divisor", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDNode", "*", ">", "&", "Created", ")", "const", "{", "AttributeList", "Attr", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFunction", "(", ")", ".", "getAttributes", "(", ")", ";", "if", "(", "isIntDivCheap", "(", "N", "->", "getValueType", "(", "0", ")", ",", "Attr", ")", ")", "return", "SDValue", "(", "N", ",", "0", ")", ";", "assert", "(", "(", "Divisor", ".", "isPowerOf2", "(", ")", "||", "(", "-", "Divisor", ")", ".", "isPowerOf2", "(", ")", ")", "&&", "\"Unexpected divisor!\"", ")", ";", "if", "(", "!", "Subtarget", ".", "hasCMov", "(", ")", ")", "return", "SDValue", "(", ")", ";", "EVT", "VT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "if", "(", "VT", "!=", "MVT", "::", "i16", "&&", "VT", "!=", "MVT", "::", "i32", "&&", "!", "(", "Subtarget", ".", "is64Bit", "(", ")", "&&", "VT", "==", "MVT", "::", "i64", ")", ")", "return", "SDValue", "(", ")", ";", "unsigned", "Lg2", "=", "Divisor", ".", "countTrailingZeros", "(", ")", ";", "if", "(", "Lg2", "==", "1", ")", "return", "SDValue", "(", ")", ";", "SDLoc", "DL", "(", "N", ")", ";", "SDValue", "N0", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Zero", "=", "DAG", ".", "getConstant", "(", "0", ",", "DL", ",", "VT", ")", ";", "APInt", "Lg2Mask", "=", "APInt", "::", "getLowBitsSet", "(", "VT", ".", "getSizeInBits", "(", ")", ",", "Lg2", ")", ";", "SDValue", "Pow2MinusOne", "=", "DAG", ".", "getConstant", "(", "Lg2Mask", ",", "DL", ",", "VT", ")", ";", "SDValue", "Cmp", "=", "DAG", ".", "getSetCC", "(", "DL", ",", "MVT", "::", "i8", ",", "N0", ",", "Zero", ",", "ISD", "::", "SETLT", ")", ";", "SDValue", "Add", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ADD", ",", "DL", ",", "VT", ",", "N0", ",", "Pow2MinusOne", ")", ";", "SDValue", "CMov", "=", "DAG", ".", "getNode", "(", "ISD", "::", "SELECT", ",", "DL", ",", "VT", ",", "Cmp", ",", "Add", ",", "N0", ")", ";", "Created", ".", "push_back", "(", "Cmp", ".", "getNode", "(", ")", ")", ";", "Created", ".", "push_back", "(", "Add", ".", "getNode", "(", ")", ")", ";", "Created", ".", "push_back", "(", "CMov", ".", "getNode", "(", ")", ")", ";", "SDValue", "SRA", "=", "DAG", ".", "getNode", "(", "ISD", "::", "SRA", ",", "DL", ",", "VT", ",", "CMov", ",", "DAG", ".", "getConstant", "(", "Lg2", ",", "DL", ",", "MVT", "::", "i64", ")", ")", ";", "if", "(", "Divisor", ".", "isNonNegative", "(", ")", ")", "return", "SRA", ";", "Created", ".", "push_back", "(", "SRA", ".", "getNode", "(", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "ISD", "::", "SUB", ",", "DL", ",", "VT", ",", "Zero", ",", "SRA", ")", ";", "}", ""], "natrual_language": ["Targets", "may", "override", "this", "function", "to", "provide", "custom", "SDIV", "lowering", "for", "power-of-2", "denominators", "."], "TS_V_token": ["X86", "X86", "0", "0", "\"Unexpected divisor!\"", "0", "MVT::i16", "MVT::i32", "MVT::i64", "1", "0", "0", "MVT::i8", "ISD::SETLT", "ISD::ADD", "ISD::SELECT", "ISD::SRA", "MVT::i64", "ISD::SUB"], "File": "X86ISelLowering (2)6", "Func": "BuildSDIVPow2", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10696, "Length": 396, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SparcTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "bool", "hasHardQuad", "=", "Subtarget", "->", "hasHardQuad", "(", ")", ";", "bool", "is64Bit", "=", "Subtarget", "->", "is64Bit", "(", ")", ";", "bool", "isV9", "=", "Subtarget", "->", "isV9", "(", ")", ";", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Should not custom lower this!\"", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "LowerRETURNADDR", "(", "Op", ",", "DAG", ",", "*", "this", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "llvm_unreachable", "(", "\"TLS not implemented for Sparc.\"", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "LowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "LowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FP_TO_SINT", ":", "return", "LowerFP_TO_SINT", "(", "Op", ",", "DAG", ",", "*", "this", ",", "hasHardQuad", ")", ";", "case", "ISD", "::", "SINT_TO_FP", ":", "return", "LowerSINT_TO_FP", "(", "Op", ",", "DAG", ",", "*", "this", ",", "hasHardQuad", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBR_CC", "(", "Op", ",", "DAG", ",", "*", "this", ",", "hasHardQuad", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ",", "*", "this", ",", "hasHardQuad", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ",", "*", "this", ")", ";", "case", "ISD", "::", "VAARG", ":", "return", "LowerVAARG", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "LowerDYNAMIC_STACKALLOC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "LowerF128Load", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "LowerF128Store", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FADD", ":", "return", "LowerF128Op", "(", "Op", ",", "DAG", ",", "getLibcallName", "(", "RTLIB", "::", "ADD_F128", ")", ",", "2", ")", ";", "case", "ISD", "::", "FSUB", ":", "return", "LowerF128Op", "(", "Op", ",", "DAG", ",", "getLibcallName", "(", "RTLIB", "::", "SUB_F128", ")", ",", "2", ")", ";", "case", "ISD", "::", "FMUL", ":", "return", "LowerF128Op", "(", "Op", ",", "DAG", ",", "getLibcallName", "(", "RTLIB", "::", "MUL_F128", ")", ",", "2", ")", ";", "case", "ISD", "::", "FDIV", ":", "return", "LowerF128Op", "(", "Op", ",", "DAG", ",", "getLibcallName", "(", "RTLIB", "::", "DIV_F128", ")", ",", "2", ")", ";", "case", "ISD", "::", "FSQRT", ":", "return", "LowerF128Op", "(", "Op", ",", "DAG", ",", "getLibcallName", "(", "RTLIB", "::", "SQRT_F128", ")", ",", "1", ")", ";", "case", "ISD", "::", "FNEG", ":", "return", "LowerFNEG", "(", "Op", ",", "DAG", ",", "*", "this", ",", "is64Bit", ")", ";", "case", "ISD", "::", "FABS", ":", "return", "LowerFABS", "(", "Op", ",", "DAG", ",", "isV9", ")", ";", "case", "ISD", "::", "FP_EXTEND", ":", "return", "LowerF128_FPEXTEND", "(", "Op", ",", "DAG", ",", "*", "this", ")", ";", "case", "ISD", "::", "FP_ROUND", ":", "return", "LowerF128_FPROUND", "(", "Op", ",", "DAG", ",", "*", "this", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Sparc", "Sparc", "\"Should not custom lower this!\"", "ISD::RETURNADDR", "ISD::FRAMEADDR", "ISD::GlobalTLSAddress", "\"TLS not implemented for Sparc.\"", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::ConstantPool", "ISD::FP_TO_SINT", "ISD::SINT_TO_FP", "ISD::BR_CC", "ISD::SELECT_CC", "ISD::VASTART", "ISD::VAARG", "ISD::DYNAMIC_STACKALLOC", "ISD::LOAD", "ISD::STORE", "ISD::FADD", "2", "ISD::FSUB", "2", "ISD::FMUL", "2", "ISD::FDIV", "2", "ISD::FSQRT", "1", "ISD::FNEG", "ISD::FABS", "ISD::FP_EXTEND", "ISD::FP_ROUND"], "File": "SparcISelLowering21", "Func": "LowerOperation", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10697, "Length": 452, "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": 10698, "Length": 183, "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": "X86IntelInstPrinter (2)", "Func": "printPCRelImm", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10699, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MicroMipsSizeReduce", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "static_cast", "<", "const", "MipsSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "if", "(", "!", "Subtarget", "->", "inMicroMipsMode", "(", ")", "||", "!", "Subtarget", "->", "hasMips32r2", "(", ")", ")", "return", "false", ";", "MipsII", "=", "static_cast", "<", "const", "MipsInstrInfo", "*", ">", "(", "Subtarget", "->", "getInstrInfo", "(", ")", ")", ";", "bool", "Modified", "=", "false", ";", "MachineFunction", "::", "iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "for", "(", ";", "I", "!=", "E", ";", "++", "I", ")", "Modified", "|=", "ReduceMBB", "(", "*", "I", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MicroMipsSizeReduction9", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10700, "Length": 108, "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": 10701, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "Cpu0RegisterInfo", "&", "Cpu0SEInstrInfo", "::", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0"], "File": "Cpu0SEInstrInfo", "Func": "getRegisterInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10702, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_global_entry_point_needed_p", "(", "void", ")", "{", "if", "(", "DEFAULT_ABI", "!=", "ABI_ELFv2", ")", "return", "false", ";", "if", "(", "TARGET_SINGLE_PIC_BASE", ")", "return", "false", ";", "if", "(", "cfun", "->", "is_thunk", ")", "return", "true", ";", "return", "cfun", "->", "machine", "->", "r2_setup_needed", ";", "}", ""], "natrual_language": ["Return", "whether", "we", "need", "to", "emit", "an", "ELFv2", "global", "entry", "point", "prologue", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_global_entry_point_needed_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10703, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsModuleDAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"In MipsModuleDAGToDAGISel::runMachineFunction\\n\"", ")", ";", "TM", ".", "resetSubtarget", "(", "&", "MF", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "\"In MipsModuleDAGToDAGISel::runMachineFunction\\n\""], "File": "MipsModuleISelDAGToDAG16", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10704, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TeeRISCInstrInfo", "::", "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", "==", "&", "TeeRISC", "::", "IntRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "TeeRISC", "::", "LD", ")", ",", "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": ["TeeRISC", "TeeRISC", "TeeRISC::IntRegsRegClass", "TeeRISC::LD", "0", "\"Can't load this register from stack slot\""], "File": "TeeRISCInstrInfo", "Func": "loadRegFromStackSlot", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10705, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "FISCFrameLowering", "::", "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", "=", "FISC", "::", "SP", ";", "unsigned", "OffsetReg", "=", "materializeOffset", "(", "MF", ",", "MBB", ",", "MBBI", ",", "(", "unsigned", ")", "StackSize", ")", ";", "if", "(", "OffsetReg", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "FISC", "::", "ADDrr", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addReg", "(", "OffsetReg", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "FISC", "::", "ADDri", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addImm", "(", "StackSize", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["FISC", "FISC", "FISC::SP", "FISC::ADDrr", "FISC::ADDri"], "File": "FISCFrameLowering", "Func": "emitEpilogue", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10706, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstrBuilder", "MipsInstrInfo", "::", "genInstrWithNewOpc", "(", "unsigned", "NewOpc", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "MachineInstrBuilder", "MIB", ";", "bool", "BranchWithZeroOperand", "=", "(", "I", "->", "isBranch", "(", ")", "&&", "!", "I", "->", "isPseudo", "(", ")", "&&", "I", "->", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "&&", "(", "I", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "Mips", "::", "ZERO", "||", "I", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "Mips", "::", "ZERO_64", ")", ")", ";", "if", "(", "BranchWithZeroOperand", ")", "{", "switch", "(", "NewOpc", ")", "{", "case", "Mips", "::", "BEQC", ":", "NewOpc", "=", "Mips", "::", "BEQZC", ";", "break", ";", "case", "Mips", "::", "BNEC", ":", "NewOpc", "=", "Mips", "::", "BNEZC", ";", "break", ";", "case", "Mips", "::", "BGEC", ":", "NewOpc", "=", "Mips", "::", "BGEZC", ";", "break", ";", "case", "Mips", "::", "BLTC", ":", "NewOpc", "=", "Mips", "::", "BLTZC", ";", "break", ";", "}", "}", "MIB", "=", "BuildMI", "(", "*", "I", "->", "getParent", "(", ")", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "NewOpc", ")", ")", ";", "if", "(", "NewOpc", "==", "Mips", "::", "JIC", "||", "NewOpc", "==", "Mips", "::", "JIALC", "||", "NewOpc", "==", "Mips", "::", "JIC64", "||", "NewOpc", "==", "Mips", "::", "JIALC64", ")", "{", "if", "(", "NewOpc", "==", "Mips", "::", "JIALC", "||", "NewOpc", "==", "Mips", "::", "JIALC64", ")", "MIB", "->", "RemoveOperand", "(", "0", ")", ";", "for", "(", "unsigned", "J", "=", "0", ",", "E", "=", "I", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", ";", "J", "<", "E", ";", "++", "J", ")", "{", "MIB", ".", "addOperand", "(", "I", "->", "getOperand", "(", "J", ")", ")", ";", "}", "MIB", ".", "addImm", "(", "0", ")", ";", "}", "else", "if", "(", "BranchWithZeroOperand", ")", "{", "MIB", ".", "addOperand", "(", "I", "->", "getOperand", "(", "0", ")", ")", ";", "for", "(", "unsigned", "J", "=", "2", ",", "E", "=", "I", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", ";", "J", "<", "E", ";", "++", "J", ")", "{", "MIB", ".", "addOperand", "(", "I", "->", "getOperand", "(", "J", ")", ")", ";", "}", "}", "else", "{", "for", "(", "unsigned", "J", "=", "0", ",", "E", "=", "I", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", ";", "J", "<", "E", ";", "++", "J", ")", "{", "MIB", ".", "addOperand", "(", "I", "->", "getOperand", "(", "J", ")", ")", ";", "}", "}", "MIB", ".", "copyImplicitOps", "(", "*", "I", ")", ";", "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", "1", "1", "Mips::ZERO", "1", "Mips::ZERO_64", "Mips::BEQC", "Mips::BEQZC", "Mips::BNEC", "Mips::BNEZC", "Mips::BGEC", "Mips::BGEZC", "Mips::BLTC", "Mips::BLTZC", "Mips::JIC", "Mips::JIALC", "Mips::JIC64", "Mips::JIALC64", "Mips::JIALC", "Mips::JIALC64", "0", "0", "0", "0", "2", "0"], "File": "MipsInstrInfo (2)", "Func": "genInstrWithNewOpc", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10707, "Length": 395, "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": 10708, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isToken", "(", ")", "const", "override", "{", "return", "Kind", "==", "Token", ";", "}", ""], "natrual_language": ["isToken", "-", "Is", "this", "a", "token", "operand", "?"], "TS_V_token": ["CAHP"], "File": "CAHPAsmParser", "Func": "isToken", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10709, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", ")", "{", "tree", "func", ";", "rtx", "a", ",", "b", ";", "if", "(", "!", "TARGET_64BIT", "&&", "flag_pic", "&&", "(", "!", "decl", "||", "TREE_PUBLIC", "(", "decl", ")", ")", ")", "return", "false", ";", "if", "(", "decl", ")", "func", "=", "decl", ";", "else", "{", "func", "=", "TREE_TYPE", "(", "TREE_OPERAND", "(", "exp", ",", "0", ")", ")", ";", "if", "(", "POINTER_TYPE_P", "(", "func", ")", ")", "func", "=", "TREE_TYPE", "(", "func", ")", ";", "}", "a", "=", "ix86_function_value", "(", "TREE_TYPE", "(", "exp", ")", ",", "func", ",", "false", ")", ";", "b", "=", "ix86_function_value", "(", "TREE_TYPE", "(", "DECL_RESULT", "(", "cfun", "->", "decl", ")", ")", ",", "cfun", "->", "decl", ",", "false", ")", ";", "if", "(", "STACK_REG_P", "(", "a", ")", "||", "STACK_REG_P", "(", "b", ")", ")", "{", "if", "(", "!", "rtx_equal_p", "(", "a", ",", "b", ")", ")", "return", "false", ";", "}", "else", "if", "(", "VOID_TYPE_P", "(", "TREE_TYPE", "(", "DECL_RESULT", "(", "cfun", "->", "decl", ")", ")", ")", ")", ";", "else", "if", "(", "!", "rtx_equal_p", "(", "a", ",", "b", ")", ")", "return", "false", ";", "if", "(", "!", "decl", "&&", "!", "TARGET_64BIT", ")", "{", "tree", "type", ";", "type", "=", "TREE_OPERAND", "(", "exp", ",", "0", ")", ";", "type", "=", "TREE_TYPE", "(", "type", ")", ";", "type", "=", "TREE_TYPE", "(", "type", ")", ";", "if", "(", "ix86_function_regparm", "(", "type", ",", "NULL", ")", ">=", "3", ")", "{", "return", "false", ";", "}", "}", "if", "(", "decl", "&&", "DECL_DLLIMPORT_P", "(", "decl", ")", "&&", "ix86_function_regparm", "(", "TREE_TYPE", "(", "decl", ")", ",", "NULL", ")", ">=", "3", ")", "return", "false", ";", "if", "(", "cfun", "->", "machine", "->", "force_align_arg_pointer", ")", "return", "false", ";", "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": ["i386", "0", "0", "3", "3"], "File": "i3863", "Func": "ix86_function_ok_for_sibcall", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10710, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86DAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "SDValue", "Op0", ",", "Op1", ",", "Op2", ",", "Op3", ",", "Op4", ";", "switch", "(", "ConstraintID", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected asm memory constraint\"", ")", ";", "case", "InlineAsm", "::", "Constraint_i", ":", "case", "InlineAsm", "::", "Constraint_o", ":", "case", "InlineAsm", "::", "Constraint_v", ":", "case", "InlineAsm", "::", "Constraint_m", ":", "case", "InlineAsm", "::", "Constraint_X", ":", "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", "\"Unexpected asm memory constraint\""], "File": "X86ISelDAGToDAG (2)", "Func": "SelectInlineAsmMemoryOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10711, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "canMacroFuseCmp", "(", ")", "{", "return", "ST", "->", "hasMacroFusion", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "can", "fuse", "a", "compare", "and", "branch", "."], "TS_V_token": ["X86", "X86"], "File": "X86TargetTransformInfo (2)2", "Func": "canMacroFuseCmp", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10712, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SystemZTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "ZERO_EXTEND", ":", "return", "combineZERO_EXTEND", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "return", "combineSIGN_EXTEND", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SIGN_EXTEND_INREG", ":", "return", "combineSIGN_EXTEND_INREG", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "MERGE_HIGH", ":", "case", "SystemZISD", "::", "MERGE_LOW", ":", "return", "combineMERGE", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "combineSTORE", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "EXTRACT_VECTOR_ELT", ":", "return", "combineEXTRACT_VECTOR_ELT", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "JOIN_DWORDS", ":", "return", "combineJOIN_DWORDS", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "FP_ROUND", ":", "return", "combineFP_ROUND", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "BSWAP", ":", "return", "combineBSWAP", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SRL", ":", "case", "ISD", "::", "ROTL", ":", "return", "combineSHIFTROT", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "BR_CCMASK", ":", "return", "combineBR_CCMASK", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "SELECT_CCMASK", ":", "return", "combineSELECT_CCMASK", "(", "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": ["SystemZ", "SystemZ", "ISD::ZERO_EXTEND", "ISD::SIGN_EXTEND", "ISD::SIGN_EXTEND_INREG", "SystemZISD::MERGE_HIGH", "SystemZISD::MERGE_LOW", "ISD::STORE", "ISD::EXTRACT_VECTOR_ELT", "SystemZISD::JOIN_DWORDS", "ISD::FP_ROUND", "ISD::BSWAP", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::ROTL", "SystemZISD::BR_CCMASK", "SystemZISD::SELECT_CCMASK"], "File": "SystemZISelLowering121", "Func": "PerformDAGCombine", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10713, "Length": 211, "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", ";", "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"], "File": "PPCISelLowering (2)", "Func": "isFMAFasterThanFMulAndFAdd", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10714, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMAsmPrinter", "::", "emitXXStructor", "(", "const", "DataLayout", "&", "DL", ",", "const", "Constant", "*", "CV", ")", "{", "uint64_t", "Size", "=", "getDataLayout", "(", ")", ".", "getTypeAllocSize", "(", "CV", "->", "getType", "(", ")", ")", ";", "assert", "(", "Size", "&&", "\"C++ constructor pointer had zero size!\"", ")", ";", "const", "GlobalValue", "*", "GV", "=", "dyn_cast", "<", "GlobalValue", ">", "(", "CV", "->", "stripPointerCasts", "(", ")", ")", ";", "assert", "(", "GV", "&&", "\"C++ constructor pointer was not a GlobalValue!\"", ")", ";", "const", "MCExpr", "*", "E", "=", "MCSymbolRefExpr", "::", "create", "(", "GetARMGVSymbol", "(", "GV", ",", "ARMII", "::", "MO_NO_FLAG", ")", ",", "(", "Subtarget", "->", "isTargetELF", "(", ")", "?", "MCSymbolRefExpr", "::", "VK_ARM_TARGET1", ":", "MCSymbolRefExpr", "::", "VK_None", ")", ",", "OutContext", ")", ";", "OutStreamer", "->", "emitValue", "(", "E", ",", "Size", ")", ";", "}", ""], "natrual_language": ["Targets", "can", "override", "this", "to", "change", "how", "global", "constants", "that", "are", "part", "of", "a", "C++", "static/global", "constructor", "list", "are", "emitted", "."], "TS_V_token": ["ARM", "ARM", "\"C++ constructor pointer had zero size!\"", "\"C++ constructor pointer was not a GlobalValue!\"", "ARM", "ARMII::MO_NO_FLAG", "ARM"], "File": "ARMAsmPrinter", "Func": "emitXXStructor", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10715, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "areMemAccessesTriviallyDisjoint", "(", "MachineInstr", "*", "MIa", ",", "MachineInstr", "*", "MIb", ",", "AliasAnalysis", "*", "AA", ")", "const", "{", "const", "TargetRegisterInfo", "*", "TRI", "=", "&", "getRegisterInfo", "(", ")", ";", "unsigned", "BaseRegA", "=", "0", ",", "BaseRegB", "=", "0", ";", "int", "OffsetA", "=", "0", ",", "OffsetB", "=", "0", ";", "int", "WidthA", "=", "0", ",", "WidthB", "=", "0", ";", "assert", "(", "MIa", "&&", "(", "MIa", "->", "mayLoad", "(", ")", "||", "MIa", "->", "mayStore", "(", ")", ")", "&&", "\"MIa must be a store or a load\"", ")", ";", "assert", "(", "MIb", "&&", "(", "MIb", "->", "mayLoad", "(", ")", "||", "MIb", "->", "mayStore", "(", ")", ")", "&&", "\"MIb must be a store or a load\"", ")", ";", "if", "(", "MIa", "->", "hasUnmodeledSideEffects", "(", ")", "||", "MIb", "->", "hasUnmodeledSideEffects", "(", ")", "||", "MIa", "->", "hasOrderedMemoryRef", "(", ")", "||", "MIb", "->", "hasOrderedMemoryRef", "(", ")", ")", "return", "false", ";", "if", "(", "getLdStBaseRegImmOfsWidth", "(", "MIa", ",", "BaseRegA", ",", "OffsetA", ",", "WidthA", ",", "TRI", ")", "&&", "getLdStBaseRegImmOfsWidth", "(", "MIb", ",", "BaseRegB", ",", "OffsetB", ",", "WidthB", ",", "TRI", ")", ")", "{", "if", "(", "BaseRegA", "==", "BaseRegB", ")", "{", "int", "LowOffset", "=", "OffsetA", "<", "OffsetB", "?", "OffsetA", ":", "OffsetB", ";", "int", "HighOffset", "=", "OffsetA", "<", "OffsetB", "?", "OffsetB", ":", "OffsetA", ";", "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": ["AArch64", "AArch64", "0", "0", "0", "0", "0", "0", "\"MIa must be a store or a load\"", "\"MIb must be a store or a load\""], "File": "AArch64InstrInfo100", "Func": "areMemAccessesTriviallyDisjoint", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10716, "Length": 215, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "loongarch_expand_block_move", "(", "rtx", "dest", ",", "rtx", "src", ",", "rtx", "length", ")", "{", "int", "max_move_bytes", "=", "LARCH_MAX_MOVE_BYTES_STRAIGHT", ";", "if", "(", "CONST_INT_P", "(", "length", ")", "&&", "INTVAL", "(", "length", ")", "<=", "loongarch_max_inline_memcpy_size", ")", "{", "if", "(", "INTVAL", "(", "length", ")", "<=", "max_move_bytes", ")", "{", "loongarch_block_move_straight", "(", "dest", ",", "src", ",", "INTVAL", "(", "length", ")", ")", ";", "return", "true", ";", "}", "else", "if", "(", "optimize", ")", "{", "loongarch_block_move_loop", "(", "dest", ",", "src", ",", "INTVAL", "(", "length", ")", ",", "LARCH_MAX_MOVE_BYTES_PER_LOOP_ITER", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Expand", "a", "cpymemsi", "instruction", ",", "which", "copies", "LENGTH", "bytes", "from", "memory", "reference", "SRC", "to", "memory", "reference", "DEST", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_expand_block_move", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10717, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_restore_regs_using_pop", "(", "void", ")", "{", "unsigned", "int", "regno", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "!", "SSE_REGNO_P", "(", "regno", ")", "&&", "ix86_save_reg", "(", "regno", ",", "false", ")", ")", "ix86_emit_restore_reg_using_pop", "(", "gen_rtx_REG", "(", "word_mode", ",", "regno", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "restore", "saved", "registers", "using", "POP", "insns", "."], "TS_V_token": ["i386", "0"], "File": "i3864", "Func": "ix86_emit_restore_regs_using_pop", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10718, "Length": 50, "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": 10719, "Length": 51, "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": 10720, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "*", "getAdjustedAnalysisPointer", "(", "const", "void", "*", "ID", ")", "{", "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": ["PowerPC"], "File": "PPCTargetTransformInfo58", "Func": "getAdjustedAnalysisPointer", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10721, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "X86", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"reloc_riprel_4byte\"", ",", "0", ",", "4", "*", "8", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_riprel_4byte_movq_load\"", ",", "0", ",", "4", "*", "8", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_signed_4byte\"", ",", "0", ",", "4", "*", "8", ",", "0", "}", ",", "{", "\"reloc_global_offset_table\"", ",", "0", ",", "4", "*", "8", ",", "0", "}", "}", ";", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "return", "TargetAsmBackend", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "assert", "(", "unsigned", "(", "Kind", "-", "FirstTargetFixupKind", ")", "<", "getNumFixupKinds", "(", ")", "&&", "\"Invalid kind!\"", ")", ";", "return", "Infos", "[", "Kind", "-", "FirstTargetFixupKind", "]", ";", "}", ""], "natrual_language": ["Get", "information", "on", "a", "fixup", "kind", "."], "TS_V_token": ["X86", "X86::NumTargetFixupKinds", "\"reloc_riprel_4byte\"", "0", "4", "8", "\"reloc_riprel_4byte_movq_load\"", "0", "4", "8", "\"reloc_signed_4byte\"", "0", "4", "8", "0", "\"reloc_global_offset_table\"", "0", "4", "8", "0", "\"Invalid kind!\""], "File": "X86AsmBackend32", "Func": "getFixupKindInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10722, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ",", "MCStreamer", "&", "Out", ")", "{", "MCInst", "Inst", ";", "unsigned", "Kind", ";", "unsigned", "ErrorInfo", ";", "SmallVector", "<", "std", "::", "pair", "<", "unsigned", ",", "std", "::", "string", ">", ",", "4", ">", "MapAndConstraints", ";", "unsigned", "MatchResult", "=", "MatchInstructionImpl", "(", "Operands", ",", "Kind", ",", "Inst", ",", "MapAndConstraints", ",", "ErrorInfo", ",", "false", ")", ";", "switch", "(", "MatchResult", ")", "{", "default", ":", "break", ";", "case", "Match_Success", ":", "{", "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", "=", "(", "(", "MipsOperand", "*", ")", "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": ["Mips", "Mips", "4", "\"instruction requires a CPU feature not currently enabled\"", "0U", "\"too few operands for instruction\"", "Mips", "\"invalid operand for instruction\"", "\"invalid instruction\""], "File": "MipsAsmParser41", "Func": "MatchAndEmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10723, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Sched", "::", "Preference", "ARMTargetLowering", "::", "getSchedulingPreference", "(", "SDNode", "*", "N", ")", "const", "{", "unsigned", "NumVals", "=", "N", "->", "getNumValues", "(", ")", ";", "if", "(", "!", "NumVals", ")", "return", "Sched", "::", "RegPressure", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumVals", ";", "++", "i", ")", "{", "EVT", "VT", "=", "N", "->", "getValueType", "(", "i", ")", ";", "if", "(", "VT", "==", "MVT", "::", "Flag", "||", "VT", "==", "MVT", "::", "Other", ")", "continue", ";", "if", "(", "VT", ".", "isFloatingPoint", "(", ")", "||", "VT", ".", "isVector", "(", ")", ")", "return", "Sched", "::", "Latency", ";", "}", "if", "(", "!", "N", "->", "isMachineOpcode", "(", ")", ")", "return", "Sched", "::", "RegPressure", ";", "const", "TargetInstrInfo", "*", "TII", "=", "getTargetMachine", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "TargetInstrDesc", "&", "TID", "=", "TII", "->", "get", "(", "N", "->", "getMachineOpcode", "(", ")", ")", ";", "if", "(", "TID", ".", "getNumDefs", "(", ")", "==", "0", ")", "return", "Sched", "::", "RegPressure", ";", "if", "(", "!", "Itins", "->", "isEmpty", "(", ")", "&&", "Itins", "->", "getOperandCycle", "(", "TID", ".", "getSchedClass", "(", ")", ",", "0", ")", ">", "2", ")", "return", "Sched", "::", "Latency", ";", "return", "Sched", "::", "RegPressure", ";", "}", ""], "natrual_language": ["Some", "scheduler", ",", "e.g", "."], "TS_V_token": ["ARM", "ARM", "0", "MVT::Flag", "MVT::Other", "0", "0", "2"], "File": "ARMISelLowering71", "Func": "getSchedulingPreference", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10724, "Length": 186, "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", ")", ";", "processPHIs", "(", "MF", ")", ";", "}", ""], "natrual_language": ["Setup", "per-MF", "executor", "state", "."], "TS_V_token": ["AArch64"], "File": "AArch64InstructionSelector77", "Func": "setupMF", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10725, "Length": 50, "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", "::", "DEXT", ":", "case", "Mips", "::", "DINS", ":", "LowerDextDins", "(", "TmpInst", ")", ";", "}", "unsigned", "long", "N", "=", "Fixups", ".", "size", "(", ")", ";", "uint32_t", "Binary", "=", "getBinaryCodeForInstr", "(", "TmpInst", ",", "Fixups", ",", "STI", ")", ";", "unsigned", "Opcode", "=", "TmpInst", ".", "getOpcode", "(", ")", ";", "if", "(", "(", "Opcode", "!=", "Mips", "::", "NOP", ")", "&&", "(", "Opcode", "!=", "Mips", "::", "SLL", ")", "&&", "(", "Opcode", "!=", "Mips", "::", "SLL_MM", ")", "&&", "!", "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", "(", ")", ";", "Opcode", "=", "NewOpcode", ";", "TmpInst", ".", "setOpcode", "(", "NewOpcode", ")", ";", "Binary", "=", "getBinaryCodeForInstr", "(", "TmpInst", ",", "Fixups", ",", "STI", ")", ";", "}", "}", "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::DEXT", "Mips::DINS", "Mips::NOP", "Mips::SLL", "Mips::SLL_MM", "\"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", "\"Desc.getSize() returns 0\""], "File": "MipsMCCodeEmitter (2)1", "Func": "encodeInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10726, "Length": 335, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasDomain", "(", "unsigned", "domain", ")", "const", "{", "return", "AvailableDomains", "&", "(", "1u", "<<", "domain", ")", ";", "}", ""], "natrual_language": ["Is", "domain", "available", "?"], "TS_V_token": ["X86", "1u"], "File": "SSEDomainFix", "Func": "hasDomain", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10727, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "iq2000_fill_delay_slot", "(", "const", "char", "*", "ret", ",", "enum", "delay_type", "type", ",", "rtx", "operands", "[", "]", ",", "rtx", "cur_insn", ")", "{", "rtx", "set_reg", ";", "enum", "machine_mode", "mode", ";", "rtx", "next_insn", "=", "cur_insn", "?", "NEXT_INSN", "(", "cur_insn", ")", ":", "NULL_RTX", ";", "int", "num_nops", ";", "if", "(", "type", "==", "DELAY_LOAD", "||", "type", "==", "DELAY_FCMP", ")", "num_nops", "=", "1", ";", "else", "num_nops", "=", "0", ";", "next_insn", "=", "NEXT_INSN", "(", "cur_insn", ")", ";", "while", "(", "next_insn", "!=", "0", "&&", "(", "GET_CODE", "(", "next_insn", ")", "==", "NOTE", "||", "GET_CODE", "(", "next_insn", ")", "==", "CODE_LABEL", ")", ")", "next_insn", "=", "NEXT_INSN", "(", "next_insn", ")", ";", "dslots_load_total", "+=", "num_nops", ";", "if", "(", "TARGET_DEBUG_C_MODE", "||", "type", "==", "DELAY_NONE", "||", "operands", "==", "0", "||", "cur_insn", "==", "0", "||", "next_insn", "==", "0", "||", "GET_CODE", "(", "next_insn", ")", "==", "CODE_LABEL", "||", "(", "set_reg", "=", "operands", "[", "0", "]", ")", "==", "0", ")", "{", "dslots_number_nops", "=", "0", ";", "iq2000_load_reg", "=", "0", ";", "iq2000_load_reg2", "=", "0", ";", "iq2000_load_reg3", "=", "0", ";", "iq2000_load_reg4", "=", "0", ";", "return", "ret", ";", "}", "set_reg", "=", "operands", "[", "0", "]", ";", "if", "(", "set_reg", "==", "0", ")", "return", "ret", ";", "while", "(", "GET_CODE", "(", "set_reg", ")", "==", "SUBREG", ")", "set_reg", "=", "SUBREG_REG", "(", "set_reg", ")", ";", "mode", "=", "GET_MODE", "(", "set_reg", ")", ";", "dslots_number_nops", "=", "num_nops", ";", "iq2000_load_reg", "=", "set_reg", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "(", "unsigned", ")", "(", "UNITS_PER_WORD", ")", ")", "iq2000_load_reg2", "=", "gen_rtx_REG", "(", "SImode", ",", "REGNO", "(", "set_reg", ")", "+", "1", ")", ";", "else", "iq2000_load_reg2", "=", "0", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Returns", "an", "operand", "string", "for", "the", "given", "instruction", "'s", "delay", "slot", ",", "after", "updating", "filled", "delay", "slot", "statistics", ".", "We", "assume", "that", "operands", "[", "0", "]", "is", "the", "target", "register", "that", "is", "set", ".", "In", "order", "to", "check", "the", "next", "insn", ",", "most", "of", "this", "functionality", "is", "moved", "to", "FINAL_PRESCAN_INSN", ",", "and", "we", "just", "set", "the", "global", "variables", "that", "it", "needs", "."], "TS_V_token": ["iq2000", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "0"], "File": "iq20002", "Func": "iq2000_fill_delay_slot", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10728, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rsqrts_type", "get_rsqrts_type", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "DFmode", ":", "return", "gen_aarch64_rsqrts_df3", ";", "case", "SFmode", ":", "return", "gen_aarch64_rsqrts_sf3", ";", "case", "V2DFmode", ":", "return", "gen_aarch64_rsqrts_v2df3", ";", "case", "V2SFmode", ":", "return", "gen_aarch64_rsqrts_v2sf3", ";", "case", "V4SFmode", ":", "return", "gen_aarch64_rsqrts_v4sf3", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Select", "reciprocal", "square", "root", "series", "step", "insn", "depending", "on", "machine", "mode", "."], "TS_V_token": ["aarch64"], "File": "aarch643", "Func": "get_rsqrts_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10729, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64Subtarget", "::", "supportsAddressTopByteIgnored", "(", ")", "const", "{", "if", "(", "!", "UseAddressTopByteIgnored", ")", "return", "false", ";", "if", "(", "TargetTriple", ".", "isiOS", "(", ")", ")", "{", "unsigned", "Major", ",", "Minor", ",", "Micro", ";", "TargetTriple", ".", "getiOSVersion", "(", "Major", ",", "Minor", ",", "Micro", ")", ";", "return", "Major", ">=", "8", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["CPU", "has", "TBI", "(", "top", "byte", "of", "addresses", "is", "ignored", "during", "HW", "address", "translation", ")", "and", "OS", "enables", "it", "."], "TS_V_token": ["AArch64", "AArch64", "8"], "File": "AArch64Subtarget (2)1", "Func": "supportsAddressTopByteIgnored", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10730, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rx_get_stack_layout", "(", "unsigned", "int", "*", "lowest", ",", "unsigned", "int", "*", "highest", ",", "unsigned", "int", "*", "register_mask", ",", "unsigned", "int", "*", "frame_size", ",", "unsigned", "int", "*", "stack_size", ")", "{", "unsigned", "int", "reg", ";", "unsigned", "int", "low", ";", "unsigned", "int", "high", ";", "unsigned", "int", "fixed_reg", "=", "0", ";", "unsigned", "int", "save_mask", ";", "unsigned", "int", "pushed_mask", ";", "unsigned", "int", "unneeded_pushes", ";", "if", "(", "is_naked_func", "(", "NULL_TREE", ")", ")", "{", "*", "lowest", "=", "0", ";", "*", "highest", "=", "0", ";", "*", "register_mask", "=", "0", ";", "*", "frame_size", "=", "0", ";", "*", "stack_size", "=", "0", ";", "return", ";", "}", "for", "(", "save_mask", "=", "high", "=", "low", "=", "0", ",", "reg", "=", "1", ";", "reg", "<", "CC_REGNUM", ";", "reg", "++", ")", "{", "if", "(", "(", "df_regs_ever_live_p", "(", "reg", ")", "||", "(", "call_used_or_fixed_reg_p", "(", "reg", ")", "&&", "is_interrupt_func", "(", "NULL_TREE", ")", "&&", "!", "crtl", "->", "is_leaf", ")", ")", "&&", "(", "!", "call_used_or_fixed_reg_p", "(", "reg", ")", "||", "is_interrupt_func", "(", "NULL_TREE", ")", "||", "(", "is_fast_interrupt_func", "(", "NULL_TREE", ")", "&&", "!", "IN_RANGE", "(", "reg", ",", "10", ",", "13", ")", ")", ")", ")", "{", "if", "(", "low", "==", "0", ")", "low", "=", "reg", ";", "high", "=", "reg", ";", "save_mask", "|=", "1", "<<", "reg", ";", "}", "if", "(", "low", "!=", "0", "&&", "fixed_reg", "==", "0", "&&", "fixed_regs", "[", "reg", "]", ")", "fixed_reg", "=", "reg", ";", "}", "if", "(", "MUST_SAVE_ACC_REGISTER", "&&", "bit_count", "(", "save_mask", ")", "<", "2", ")", "{", "save_mask", "|=", "(", "1", "<<", "13", ")", "|", "(", "1", "<<", "14", ")", ";", "if", "(", "low", "==", "0", ")", "low", "=", "13", ";", "if", "(", "high", "==", "0", "||", "low", "==", "high", ")", "high", "=", "low", "+", "1", ";", "}", "pushed_mask", "=", "(", "HOST_WIDE_INT_M1U", "<<", "low", ")", "&", "~", "(", "HOST_WIDE_INT_M1U", "<<", "(", "high", "+", "1", ")", ")", ";", "unneeded_pushes", "=", "(", "pushed_mask", "&", "(", "~", "save_mask", ")", ")", "&", "pushed_mask", ";", "if", "(", "(", "fixed_reg", "&&", "fixed_reg", "<=", "high", ")", "||", "(", "optimize_function_for_speed_p", "(", "cfun", ")", "&&", "bit_count", "(", "save_mask", ")", "<", "bit_count", "(", "unneeded_pushes", ")", ")", ")", "{", "*", "lowest", "=", "0", ";", "*", "highest", "=", "0", ";", "*", "register_mask", "=", "save_mask", ";", "}", "else", "{", "*", "lowest", "=", "low", ";", "*", "highest", "=", "high", ";", "*", "register_mask", "=", "0", ";", "}", "*", "frame_size", "=", "rx_round_up", "(", "get_frame_size", "(", ")", ",", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ")", ";", "if", "(", "crtl", "->", "args", ".", "size", ">", "0", ")", "*", "frame_size", "+=", "rx_round_up", "(", "crtl", "->", "args", ".", "size", ",", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ")", ";", "*", "stack_size", "=", "rx_round_up", "(", "crtl", "->", "outgoing_args_size", ",", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ")", ";", "}", ""], "natrual_language": ["Returns", "either", "the", "lowest", "numbered", "and", "highest", "numbered", "registers", "that", "occupy", "the", "call-saved", "area", "of", "the", "stack", "frame", ",", "if", "the", "registers", "are", "stored", "as", "a", "contiguous", "block", ",", "or", "else", "a", "bitmask", "of", "the", "individual", "registers", "if", "they", "are", "stored", "piecemeal", ".", "Also", "computes", "the", "size", "of", "the", "frame", "and", "the", "size", "of", "the", "outgoing", "arguments", "block", "(", "in", "bytes", ")", "."], "TS_V_token": ["rx", "0", "0", "0", "0", "0", "0", "0", "1", "10", "13", "0", "1", "0", "0", "2", "1", "13", "1", "14", "0", "13", "0", "1", "1", "0", "0", "0", "0"], "File": "rx", "Func": "rx_get_stack_layout", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10731, "Length": 418, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "PPCTargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "IsMemset", ",", "bool", "ZeroMemset", ",", "bool", "MemcpyStrSrc", ",", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "Subtarget", ".", "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", "MVT::i64", "MVT::i32"], "File": "PPCISelLowering148", "Func": "getOptimalMemOpType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10732, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "exact_dependency_1", "(", "rtx", "addr", ",", "rtx", "insn", ")", "{", "enum", "rtx_code", "code", ";", "const", "char", "*", "format_ptr", ";", "int", "i", ",", "j", ";", "code", "=", "GET_CODE", "(", "insn", ")", ";", "switch", "(", "code", ")", "{", "case", "MEM", ":", "if", "(", "rtx_equal_p", "(", "addr", ",", "insn", ")", ")", "return", "true", ";", "break", ";", "case", "REG", ":", "CASE_CONST_ANY", ":", "case", "SYMBOL_REF", ":", "case", "CODE_LABEL", ":", "case", "PC", ":", "case", "CC0", ":", "case", "EXPR_LIST", ":", "return", "false", ";", "default", ":", "break", ";", "}", "format_ptr", "=", "GET_RTX_FORMAT", "(", "code", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "GET_RTX_LENGTH", "(", "code", ")", ";", "i", "++", ")", "{", "switch", "(", "*", "format_ptr", "++", ")", "{", "case", "'e'", ":", "if", "(", "exact_dependency_1", "(", "addr", ",", "XEXP", "(", "insn", ",", "i", ")", ")", ")", "return", "true", ";", "break", ";", "case", "'E'", ":", "for", "(", "j", "=", "0", ";", "j", "<", "XVECLEN", "(", "insn", ",", "i", ")", ";", "j", "++", ")", "if", "(", "exact_dependency_1", "(", "addr", ",", "XVECEXP", "(", "insn", ",", "i", ",", "j", ")", ")", ")", "return", "true", ";", "break", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "exact_store_load_dependency", ".", "Return", "true", "if", "addr", "is", "found", "in", "insn", "."], "TS_V_token": ["i386", "0", "0"], "File": "i3864", "Func": "exact_dependency_1", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10733, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "rx_initial_elimination_offset", "(", "int", "from", ",", "int", "to", ")", "{", "unsigned", "int", "low", ";", "unsigned", "int", "high", ";", "unsigned", "int", "frame_size", ";", "unsigned", "int", "stack_size", ";", "unsigned", "int", "mask", ";", "rx_get_stack_layout", "(", "&", "low", ",", "&", "high", ",", "&", "mask", ",", "&", "frame_size", ",", "&", "stack_size", ")", ";", "if", "(", "from", "==", "ARG_POINTER_REGNUM", ")", "{", "if", "(", "low", ")", "frame_size", "+=", "(", "(", "high", "-", "low", ")", "+", "1", ")", "*", "UNITS_PER_WORD", ";", "else", "frame_size", "+=", "bit_count", "(", "mask", ")", "*", "UNITS_PER_WORD", ";", "frame_size", "+=", "1", "*", "UNITS_PER_WORD", ";", "if", "(", "to", "==", "FRAME_POINTER_REGNUM", ")", "return", "frame_size", ";", "gcc_assert", "(", "to", "==", "STACK_POINTER_REGNUM", ")", ";", "return", "frame_size", "+", "stack_size", ";", "}", "gcc_assert", "(", "from", "==", "FRAME_POINTER_REGNUM", "&&", "to", "==", "STACK_POINTER_REGNUM", ")", ";", "return", "stack_size", ";", "}", ""], "natrual_language": ["Compute", "the", "offset", "(", "in", "words", ")", "between", "FROM", "(", "arg", "pointer", "or", "frame", "pointer", ")", "and", "TO", "(", "frame", "pointer", "or", "stack", "pointer", ")", ".", "See", "ASCII", "art", "comment", "at", "the", "start", "of", "rx_expand_prologue", "for", "more", "information", "."], "TS_V_token": ["rx", "1", "1"], "File": "rx", "Func": "rx_initial_elimination_offset", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10734, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isUsedByReturnOnly", "(", "SDNode", "*", "N", ",", "SDValue", "&", "Chain", ")", "const", "{", "if", "(", "N", "->", "getNumValues", "(", ")", "!=", "1", "||", "!", "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", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "return", "false", ";", "bool", "HasRet", "=", "false", ";", "for", "(", "SDNode", "::", "use_iterator", "UI", "=", "Copy", "->", "use_begin", "(", ")", ",", "UE", "=", "Copy", "->", "use_end", "(", ")", ";", "UI", "!=", "UE", ";", "++", "UI", ")", "{", "if", "(", "UI", "->", "getOpcode", "(", ")", "!=", "X86ISD", "::", "RET_FLAG", "&&", "UI", "->", "getOpcode", "(", ")", "!=", "X86ISD", "::", "CPS_RET", ")", "return", "false", ";", "if", "(", "UI", "->", "getNumOperands", "(", ")", ">", "4", ")", "return", "false", ";", "if", "(", "UI", "->", "getNumOperands", "(", ")", "==", "4", "&&", "UI", "->", "getOperand", "(", "UI", "->", "getNumOperands", "(", ")", "-", "1", ")", ".", "getValueType", "(", ")", "!=", "MVT", "::", "Glue", ")", "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": ["X86", "X86", "1", "1", "0", "ISD::CopyToReg", "1", "MVT::Glue", "0", "ISD::FP_EXTEND", "X86ISD::RET_FLAG", "X86ISD::CPS_RET", "4", "4", "1", "MVT::Glue"], "File": "X86ISelLowering34", "Func": "isUsedByReturnOnly", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10735, "Length": 246, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mmix_expand_epilogue", "(", "void", ")", "{", "HOST_WIDE_INT", "locals_size", "=", "get_frame_size", "(", ")", ";", "int", "regno", ";", "HOST_WIDE_INT", "stack_space_to_deallocate", "=", "(", "current_function_outgoing_args_size", "+", "current_function_pretend_args_size", "+", "locals_size", "+", "7", ")", "&", "~", "7", ";", "HOST_WIDE_INT", "offset", "=", "current_function_outgoing_args_size", ";", "for", "(", "regno", "=", "255", ";", "regno", ">=", "MMIX_FIRST_GLOBAL_REGNUM", ";", "regno", "--", ")", "if", "(", "(", "(", "regno", "!=", "MMIX_FRAME_POINTER_REGNUM", "||", "!", "frame_pointer_needed", ")", "&&", "regs_ever_live", "[", "regno", "]", "&&", "!", "call_used_regs", "[", "regno", "]", ")", "||", "IS_MMIX_EH_RETURN_DATA_REG", "(", "regno", ")", ")", "stack_space_to_deallocate", "+=", "8", ";", "if", "(", "MMIX_CFUN_HAS_LANDING_PAD", ")", "stack_space_to_deallocate", "+=", "16", ";", "else", "if", "(", "MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS", ")", "stack_space_to_deallocate", "+=", "8", ";", "if", "(", "frame_pointer_needed", ")", "stack_space_to_deallocate", "+=", "8", ";", "if", "(", "(", "stack_space_to_deallocate", "%", "8", ")", "!=", "0", ")", "internal_error", "(", "\"stack frame not a multiple of octabyte: %wd\"", ",", "stack_space_to_deallocate", ")", ";", "for", "(", "regno", "=", "MMIX_FIRST_GLOBAL_REGNUM", ";", "regno", "<=", "255", ";", "regno", "++", ")", "if", "(", "(", "(", "regno", "!=", "MMIX_FRAME_POINTER_REGNUM", "||", "!", "frame_pointer_needed", ")", "&&", "regs_ever_live", "[", "regno", "]", "&&", "!", "call_used_regs", "[", "regno", "]", ")", "||", "IS_MMIX_EH_RETURN_DATA_REG", "(", "regno", ")", ")", "{", "if", "(", "offset", ">", "255", ")", "{", "mmix_emit_sp_add", "(", "offset", ")", ";", "stack_space_to_deallocate", "-=", "offset", ";", "offset", "=", "0", ";", "}", "emit_move_insn", "(", "gen_rtx_REG", "(", "DImode", ",", "regno", ")", ",", "gen_rtx_MEM", "(", "DImode", ",", "plus_constant", "(", "stack_pointer_rtx", ",", "offset", ")", ")", ")", ";", "offset", "+=", "8", ";", "}", "offset", "+=", "(", "locals_size", "+", "7", ")", "&", "~", "7", ";", "if", "(", "MMIX_CFUN_HAS_LANDING_PAD", ")", "offset", "+=", "16", ";", "else", "if", "(", "MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS", ")", "offset", "+=", "8", ";", "if", "(", "frame_pointer_needed", ")", "{", "if", "(", "offset", ">", "255", ")", "{", "mmix_emit_sp_add", "(", "offset", ")", ";", "stack_space_to_deallocate", "-=", "offset", ";", "offset", "=", "0", ";", "}", "emit_move_insn", "(", "hard_frame_pointer_rtx", ",", "gen_rtx_MEM", "(", "DImode", ",", "plus_constant", "(", "stack_pointer_rtx", ",", "offset", ")", ")", ")", ";", "offset", "+=", "8", ";", "}", "if", "(", "stack_space_to_deallocate", "!=", "0", ")", "mmix_emit_sp_add", "(", "stack_space_to_deallocate", ")", ";", "if", "(", "current_function_calls_eh_return", ")", "emit_insn", "(", "gen_adddi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "gen_rtx_REG", "(", "DImode", ",", "MMIX_EH_RETURN_STACKADJ_REGNUM", ")", ")", ")", ";", "}", ""], "natrual_language": ["Expands", "the", "function", "epilogue", "into", "RTX", "."], "TS_V_token": ["mmix", "7", "7", "255", "8", "16", "8", "8", "8", "0", "\"stack frame not a multiple of octabyte: %wd\"", "255", "255", "0", "8", "7", "7", "16", "8", "255", "0", "8", "0"], "File": "mmix3", "Func": "mmix_expand_epilogue", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10736, "Length": 325, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "OR1KDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "unsigned", "Opcode", "=", "Node", "->", "getOpcode", "(", ")", ";", "DebugLoc", "dl", "=", "Node", "->", "getDebugLoc", "(", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"Selecting: \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"== \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "return", "NULL", ";", "}", "switch", "(", "Opcode", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "FrameIndex", ":", "{", "SDValue", "imm", "=", "CurDAG", "->", "getTargetConstant", "(", "0", ",", "MVT", "::", "i32", ")", ";", "int", "FI", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "Node", ")", "->", "getIndex", "(", ")", ";", "EVT", "VT", "=", "Node", "->", "getValueType", "(", "0", ")", ";", "SDValue", "TFI", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "VT", ")", ";", "unsigned", "Opc", "=", "OR1K", "::", "ADDI", ";", "if", "(", "Node", "->", "hasOneUse", "(", ")", ")", "return", "CurDAG", "->", "SelectNodeTo", "(", "Node", ",", "Opc", ",", "VT", ",", "TFI", ",", "imm", ")", ";", "return", "CurDAG", "->", "getMachineNode", "(", "Opc", ",", "dl", ",", "VT", ",", "TFI", ",", "imm", ")", ";", "}", "}", "SDNode", "*", "ResNode", "=", "SelectCode", "(", "Node", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"=> \"", ")", ";", "if", "(", "ResNode", "==", "NULL", "||", "ResNode", "==", "Node", ")", "DEBUG", "(", "Node", "->", "dump", "(", "CurDAG", ")", ")", ";", "else", "DEBUG", "(", "ResNode", "->", "dump", "(", "CurDAG", ")", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "return", "ResNode", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["OR1K", "OR1K", "\"Selecting: \"", "\"\\n\"", "\"== \"", "\"\\n\"", "ISD::FrameIndex", "0", "MVT::i32", "0", "OR1K::ADDI", "\"=> \"", "\"\\n\""], "File": "OR1KISelDAGToDAG", "Func": "Select", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10737, "Length": 263, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ATTRIBUTE_UNUSED", "mips_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": ["mips", "4", "\"\\t.dtprelword\\t\"", "8", "\"\\t.dtpreldword\\t\"", "\"+0x8000\""], "File": "mips", "Func": "mips_output_dwarf_dtprel", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10738, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_output_function_entry", "(", "FILE", "*", "file", ",", "const", "char", "*", "fname", ")", "{", "if", "(", "fname", "[", "0", "]", "!=", "'.'", ")", "{", "switch", "(", "DEFAULT_ABI", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "ABI_AIX", ":", "if", "(", "DOT_SYMBOLS", ")", "putc", "(", "'.'", ",", "file", ")", ";", "else", "ASM_OUTPUT_INTERNAL_LABEL_PREFIX", "(", "file", ",", "\"L.\"", ")", ";", "break", ";", "case", "ABI_ELFv2", ":", "case", "ABI_V4", ":", "case", "ABI_DARWIN", ":", "break", ";", "}", "}", "RS6000_OUTPUT_BASENAME", "(", "file", ",", "fname", ")", ";", "}", ""], "natrual_language": ["Write", "out", "a", "function", "code", "label", "."], "TS_V_token": ["rs6000", "0", "\"L.\""], "File": "rs6000", "Func": "rs6000_output_function_entry", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10739, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "isAssociativeAndCommutative", "(", "const", "MachineInstr", "&", "Inst", ")", "const", "{", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "case", "PPC", "::", "FADD", ":", "case", "PPC", "::", "FADDS", ":", "case", "PPC", "::", "FMUL", ":", "case", "PPC", "::", "FMULS", ":", "case", "PPC", "::", "VADDFP", ":", "case", "PPC", "::", "XSADDDP", ":", "case", "PPC", "::", "XVADDDP", ":", "case", "PPC", "::", "XVADDSP", ":", "case", "PPC", "::", "XSADDSP", ":", "case", "PPC", "::", "XSMULDP", ":", "case", "PPC", "::", "XVMULDP", ":", "case", "PPC", "::", "XVMULSP", ":", "case", "PPC", "::", "XSMULSP", ":", "case", "PPC", "::", "QVFADD", ":", "case", "PPC", "::", "QVFADDS", ":", "case", "PPC", "::", "QVFADDSs", ":", "case", "PPC", "::", "QVFMUL", ":", "case", "PPC", "::", "QVFMULS", ":", "case", "PPC", "::", "QVFMULSs", ":", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Return", "true", "when", "\\P", "Inst", "is", "both", "associative", "and", "commutative", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::FADD", "PPC::FADDS", "PPC::FMUL", "PPC::FMULS", "PPC::VADDFP", "PPC::XSADDDP", "PPC::XVADDDP", "PPC::XVADDSP", "PPC::XSADDSP", "PPC::XSMULDP", "PPC::XVMULDP", "PPC::XVMULSP", "PPC::XSMULSP", "PPC::QVFADD", "PPC::QVFADDS", "PPC::QVFADDSs", "PPC::QVFMUL", "PPC::QVFMULS", "PPC::QVFMULSs"], "File": "PPCInstrInfo (2)2", "Func": "isAssociativeAndCommutative", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10740, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZRegisterInfo", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "NoFramePointerElim", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZRegisterInfo2", "Func": "hasFP", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10741, "Length": 33, "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", ".", "isABI_N64", "(", ")", "?", "(", "const", "TargetRegisterClass", "*", ")", "&", "Mips", "::", "CPU64RegsRegClass", ":", "(", "const", "TargetRegisterClass", "*", ")", "&", "Mips", "::", "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": ["Mips", "Mips", "Mips", "Mips", "Mips::CPU64RegsRegClass", "Mips::CPURegsRegClass"], "File": "MipsMachineFunction15", "Func": "getGlobalBaseReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10742, "Length": 78, "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", ".", "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.\"", ")", ";", "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", ".", "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": "PPCISelLowering111", "Func": "LowerCall", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10743, "Length": 421, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_expand_sve_widened_duplicate", "(", "rtx", "dest", ",", "scalar_int_mode", "src_mode", ",", "rtx", "src", ")", "{", "if", "(", "src_mode", "!=", "TImode", ")", "{", "poly_uint64", "count", "=", "exact_div", "(", "GET_MODE_SIZE", "(", "GET_MODE", "(", "dest", ")", ")", ",", "GET_MODE_SIZE", "(", "src_mode", ")", ")", ";", "machine_mode", "dup_mode", "=", "mode_for_vector", "(", "src_mode", ",", "count", ")", ".", "require", "(", ")", ";", "emit_move_insn", "(", "gen_lowpart", "(", "dup_mode", ",", "dest", ")", ",", "gen_const_vec_duplicate", "(", "dup_mode", ",", "src", ")", ")", ";", "return", "true", ";", "}", "src", "=", "force_const_mem", "(", "src_mode", ",", "src", ")", ";", "if", "(", "!", "src", ")", "return", "false", ";", "if", "(", "!", "aarch64_sve_ld1r_operand_p", "(", "src", ")", ")", "{", "rtx", "addr", "=", "force_reg", "(", "Pmode", ",", "XEXP", "(", "src", ",", "0", ")", ")", ";", "src", "=", "replace_equiv_address", "(", "src", ",", "addr", ")", ";", "}", "machine_mode", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "unsigned", "int", "elem_bytes", "=", "GET_MODE_UNIT_SIZE", "(", "mode", ")", ";", "machine_mode", "pred_mode", "=", "aarch64_sve_pred_mode", "(", "elem_bytes", ")", ".", "require", "(", ")", ";", "rtx", "ptrue", "=", "force_reg", "(", "pred_mode", ",", "CONSTM1_RTX", "(", "pred_mode", ")", ")", ";", "src", "=", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "2", ",", "ptrue", ",", "src", ")", ",", "UNSPEC_LD1RQ", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "src", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Try", "to", "duplicate", "SRC", "into", "SVE", "register", "DEST", ",", "given", "that", "SRC", "is", "an", "integer", "of", "mode", "INT_MODE", ".", "Return", "true", "on", "success", "."], "TS_V_token": ["aarch64", "0", "2"], "File": "aarch645", "Func": "aarch64_expand_sve_widened_duplicate", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10744, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "VEAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "return", ";", "}", "MachineBasicBlock", "::", "const_instr_iterator", "I", "=", "MI", "->", "getIterator", "(", ")", ";", "MachineBasicBlock", "::", "const_instr_iterator", "E", "=", "MI", "->", "getParent", "(", ")", "->", "instr_end", "(", ")", ";", "do", "{", "MCInst", "TmpInst", ";", "LowerVEMachineInstrToMCInst", "(", "&", "*", "I", ",", "TmpInst", ",", "*", "this", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "TmpInst", ")", ";", "}", "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": ["VE", "VE", "VE"], "File": "VEAsmPrinter1", "Func": "EmitInstruction", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10745, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "AArch64TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "EVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'r'", ":", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "<=", "32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AArch64", "::", "GPR32RegClass", ")", ";", "else", "if", "(", "VT", "==", "MVT", "::", "i64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AArch64", "::", "GPR64RegClass", ")", ";", "break", ";", "case", "'w'", ":", "if", "(", "VT", "==", "MVT", "::", "f16", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AArch64", "::", "FPR16RegClass", ")", ";", "else", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AArch64", "::", "FPR32RegClass", ")", ";", "else", "if", "(", "VT", "==", "MVT", "::", "f64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AArch64", "::", "FPR64RegClass", ")", ";", "else", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AArch64", "::", "VPR64RegClass", ")", ";", "else", "if", "(", "VT", "==", "MVT", "::", "f128", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AArch64", "::", "FPR128RegClass", ")", ";", "else", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "128", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AArch64", "::", "VPR128RegClass", ")", ";", "break", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["AArch64", "AArch64", "1", "0", "32", "0U", "AArch64::GPR32RegClass", "MVT::i64", "0U", "AArch64::GPR64RegClass", "MVT::f16", "0U", "AArch64::FPR16RegClass", "MVT::f32", "0U", "AArch64::FPR32RegClass", "MVT::f64", "0U", "AArch64::FPR64RegClass", "64", "0U", "AArch64::VPR64RegClass", "MVT::f128", "0U", "AArch64::FPR128RegClass", "128", "0U", "AArch64::VPR128RegClass"], "File": "AArch64ISelLowering123", "Func": "getRegForInlineAsmConstraint", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10746, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_xcoff_file_end", "(", "void", ")", "{", "switch_to_section", "(", "text_section", ")", ";", "fputs", "(", "\"_section_.text:\\n\"", ",", "asm_out_file", ")", ";", "switch_to_section", "(", "data_section", ")", ";", "fputs", "(", "TARGET_32BIT", "?", "\"\\t.long _section_.text\\n\"", ":", "\"\\t.llong _section_.text\\n\"", ",", "asm_out_file", ")", ";", "}", ""], "natrual_language": ["Output", "at", "end", "of", "assembler", "file", ".", "On", "the", "RS/6000", ",", "referencing", "data", "should", "automatically", "pull", "in", "text", "."], "TS_V_token": ["powerpcspe", "\"_section_.text:\\n\"", "\"\\t.long _section_.text\\n\"", "\"\\t.llong _section_.text\\n\""], "File": "powerpcspe", "Func": "rs6000_xcoff_file_end", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10747, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arm_function_arg", "(", "cumulative_args_t", "pcum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "CUMULATIVE_ARGS", "*", "pcum", "=", "get_cumulative_args", "(", "pcum_v", ")", ";", "int", "nregs", ";", "if", "(", "mode", "==", "VOIDmode", ")", "return", "const0_rtx", ";", "if", "(", "pcum", "->", "pcs_variant", "<=", "ARM_PCS_AAPCS_LOCAL", ")", "{", "aapcs_layout_arg", "(", "pcum", ",", "mode", ",", "type", ",", "named", ")", ";", "return", "pcum", "->", "aapcs_reg", ";", "}", "if", "(", "TARGET_IWMMXT_ABI", "&&", "arm_vector_mode_supported_p", "(", "mode", ")", "&&", "pcum", "->", "named_count", ">", "pcum", "->", "nargs", "+", "1", ")", "{", "if", "(", "pcum", "->", "iwmmxt_nregs", "<=", "9", ")", "return", "gen_rtx_REG", "(", "mode", ",", "pcum", "->", "iwmmxt_nregs", "+", "FIRST_IWMMXT_REGNUM", ")", ";", "else", "{", "pcum", "->", "can_split", "=", "false", ";", "return", "NULL_RTX", ";", "}", "}", "if", "(", "(", "pcum", "->", "nregs", "&", "1", ")", "&&", "ARM_DOUBLEWORD_ALIGN", ")", "{", "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", ")", "{", "pcum", "->", "nregs", "++", ";", "if", "(", "res", ">", "1", "&&", "warn_psabi", ")", "inform", "(", "input_location", ",", "\"parameter passing for argument of type \"", "\"%qT changed in GCC 9.1\"", ",", "type", ")", ";", "}", "}", "if", "(", "pcum", "->", "can_split", ")", "nregs", "=", "1", ";", "else", "nregs", "=", "ARM_NUM_REGS2", "(", "mode", ",", "type", ")", ";", "if", "(", "!", "named", "||", "pcum", "->", "nregs", "+", "nregs", ">", "NUM_ARG_REGS", ")", "return", "NULL_RTX", ";", "return", "gen_rtx_REG", "(", "mode", ",", "pcum", "->", "nregs", ")", ";", "}", ""], "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", ")", ".", "On", "the", "ARM", ",", "normally", "the", "first", "16", "bytes", "are", "passed", "in", "registers", "r0-r3", ";", "all", "other", "arguments", "are", "passed", "on", "the", "stack", ".", "If", "(", "NAMED", "==", "0", ")", "(", "which", "happens", "only", "in", "assign_parms", ",", "since", "TARGET_SETUP_INCOMING_VARARGS", "is", "defined", ")", ",", "say", "it", "is", "passed", "in", "the", "stack", "(", "function_prologue", "will", "indeed", "make", "it", "pass", "in", "the", "stack", "if", "necessary", ")", "."], "TS_V_token": ["arm", "1", "9", "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\"", "1"], "File": "arm8", "Func": "arm_function_arg", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10748, "Length": 238, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCInstrInfo", "::", "insertSelect", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "DebugLoc", "dl", ",", "unsigned", "DestReg", ",", "const", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "unsigned", "TrueReg", ",", "unsigned", "FalseReg", ")", "const", "{", "assert", "(", "Cond", ".", "size", "(", ")", "==", "2", "&&", "\"PPC branch conditions have two components!\"", ")", ";", "assert", "(", "TM", ".", "getSubtargetImpl", "(", ")", "->", "hasISEL", "(", ")", "&&", "\"Cannot insert select on target without ISEL support\"", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "RI", ".", "getCommonSubClass", "(", "MRI", ".", "getRegClass", "(", "TrueReg", ")", ",", "MRI", ".", "getRegClass", "(", "FalseReg", ")", ")", ";", "assert", "(", "RC", "&&", "\"TrueReg and FalseReg must have overlapping register classes\"", ")", ";", "assert", "(", "(", "PPC", "::", "GPRCRegClass", ".", "hasSubClassEq", "(", "RC", ")", "||", "PPC", "::", "G8RCRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "&&", "\"isel is for regular integer GPRs only\"", ")", ";", "unsigned", "OpCode", "=", "PPC", "::", "GPRCRegClass", ".", "hasSubClassEq", "(", "RC", ")", "?", "PPC", "::", "ISEL", ":", "PPC", "::", "ISEL8", ";", "unsigned", "SelectPred", "=", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ";", "unsigned", "SubIdx", ";", "bool", "SwapOps", ";", "switch", "(", "SelectPred", ")", "{", "default", ":", "llvm_unreachable", "(", "\"invalid predicate for isel\"", ")", ";", "case", "PPC", "::", "PRED_EQ", ":", "SubIdx", "=", "PPC", "::", "sub_eq", ";", "SwapOps", "=", "false", ";", "break", ";", "case", "PPC", "::", "PRED_NE", ":", "SubIdx", "=", "PPC", "::", "sub_eq", ";", "SwapOps", "=", "true", ";", "break", ";", "case", "PPC", "::", "PRED_LT", ":", "SubIdx", "=", "PPC", "::", "sub_lt", ";", "SwapOps", "=", "false", ";", "break", ";", "case", "PPC", "::", "PRED_GE", ":", "SubIdx", "=", "PPC", "::", "sub_lt", ";", "SwapOps", "=", "true", ";", "break", ";", "case", "PPC", "::", "PRED_GT", ":", "SubIdx", "=", "PPC", "::", "sub_gt", ";", "SwapOps", "=", "false", ";", "break", ";", "case", "PPC", "::", "PRED_LE", ":", "SubIdx", "=", "PPC", "::", "sub_gt", ";", "SwapOps", "=", "true", ";", "break", ";", "case", "PPC", "::", "PRED_UN", ":", "SubIdx", "=", "PPC", "::", "sub_un", ";", "SwapOps", "=", "false", ";", "break", ";", "case", "PPC", "::", "PRED_NU", ":", "SubIdx", "=", "PPC", "::", "sub_un", ";", "SwapOps", "=", "true", ";", "break", ";", "}", "unsigned", "FirstReg", "=", "SwapOps", "?", "FalseReg", ":", "TrueReg", ",", "SecondReg", "=", "SwapOps", "?", "TrueReg", ":", "FalseReg", ";", "if", "(", "MRI", ".", "getRegClass", "(", "FirstReg", ")", "->", "contains", "(", "PPC", "::", "R0", ")", "||", "MRI", ".", "getRegClass", "(", "FirstReg", ")", "->", "contains", "(", "PPC", "::", "X0", ")", ")", "{", "const", "TargetRegisterClass", "*", "FirstRC", "=", "MRI", ".", "getRegClass", "(", "FirstReg", ")", "->", "contains", "(", "PPC", "::", "X0", ")", "?", "&", "PPC", "::", "G8RC_NOX0RegClass", ":", "&", "PPC", "::", "GPRC_NOR0RegClass", ";", "unsigned", "OldFirstReg", "=", "FirstReg", ";", "FirstReg", "=", "MRI", ".", "createVirtualRegister", "(", "FirstRC", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "dl", ",", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "FirstReg", ")", ".", "addReg", "(", "OldFirstReg", ")", ";", "}", "BuildMI", "(", "MBB", ",", "MI", ",", "dl", ",", "get", "(", "OpCode", ")", ",", "DestReg", ")", ".", "addReg", "(", "FirstReg", ")", ".", "addReg", "(", "SecondReg", ")", ".", "addReg", "(", "Cond", "[", "1", "]", ".", "getReg", "(", ")", ",", "0", ",", "SubIdx", ")", ";", "}", ""], "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": ["PowerPC", "PPC", "2", "\"PPC branch conditions have two components!\"", "\"Cannot insert select on target without ISEL support\"", "\"TrueReg and FalseReg must have overlapping register classes\"", "PPC::GPRCRegClass", "PPC::G8RCRegClass", "\"isel is for regular integer GPRs only\"", "PPC::GPRCRegClass", "PPC::ISEL", "PPC::ISEL8", "0", "\"invalid predicate for isel\"", "PPC::PRED_EQ", "PPC::sub_eq", "PPC::PRED_NE", "PPC::sub_eq", "PPC::PRED_LT", "PPC::sub_lt", "PPC::PRED_GE", "PPC::sub_lt", "PPC::PRED_GT", "PPC::sub_gt", "PPC::PRED_LE", "PPC::sub_gt", "PPC::PRED_UN", "PPC::sub_un", "PPC::PRED_NU", "PPC::sub_un", "PPC::R0", "PPC::X0", "PPC::X0", "PPC::G8RC_NOX0RegClass", "PPC::GPRC_NOR0RegClass", "1", "0"], "File": "PPCInstrInfo132", "Func": "insertSelect", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10749, "Length": 479, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_test_loading_call_insn", "(", ")", "{", "if", "(", "!", "TARGET_SSE", ")", "return", ";", "rtl_dump_test", "t", "(", "SELFTEST_LOCATION", ",", "locate_file", "(", "\"x86_64/call-insn.rtl\"", ")", ")", ";", "rtx_insn", "*", "insn", "=", "get_insns", "(", ")", ";", "ASSERT_EQ", "(", "CALL_INSN", ",", "GET_CODE", "(", "insn", ")", ")", ";", "ASSERT_TRUE", "(", "RTX_FLAG", "(", "insn", ",", "jump", ")", ")", ";", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "ASSERT_EQ", "(", "CALL", ",", "GET_CODE", "(", "SET_SRC", "(", "pat", ")", ")", ")", ";", "{", "ASSERT_EQ", "(", "EXPR_LIST", ",", "GET_CODE", "(", "REG_NOTES", "(", "insn", ")", ")", ")", ";", "rtx_expr_list", "*", "note0", "=", "as_a", "<", "rtx_expr_list", "*", ">", "(", "REG_NOTES", "(", "insn", ")", ")", ";", "ASSERT_EQ", "(", "REG_CALL_DECL", ",", "REG_NOTE_KIND", "(", "note0", ")", ")", ";", "rtx_expr_list", "*", "note1", "=", "note0", "->", "next", "(", ")", ";", "ASSERT_EQ", "(", "REG_EH_REGION", ",", "REG_NOTE_KIND", "(", "note1", ")", ")", ";", "ASSERT_EQ", "(", "NULL", ",", "note1", "->", "next", "(", ")", ")", ";", "}", "{", "rtx_expr_list", "*", "usage", "=", "as_a", "<", "rtx_expr_list", "*", ">", "(", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ")", ";", "ASSERT_EQ", "(", "EXPR_LIST", ",", "GET_CODE", "(", "usage", ")", ")", ";", "ASSERT_EQ", "(", "DFmode", ",", "GET_MODE", "(", "usage", ")", ")", ";", "ASSERT_EQ", "(", "USE", ",", "GET_CODE", "(", "usage", "->", "element", "(", ")", ")", ")", ";", "ASSERT_EQ", "(", "NULL", ",", "usage", "->", "next", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["Verify", "that", "the", "RTL", "loader", "copes", "with", "a", "call_insn", "dump", ".", "This", "test", "is", "target-specific", "since", "the", "dump", "contains", "a", "target-specific", "hard", "reg", "name", "."], "TS_V_token": ["i386", "\"x86_64/call-insn.rtl\""], "File": "i386", "Func": "ix86_test_loading_call_insn", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10750, "Length": 209, "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", ";", "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", "AArch64", "AArch64", "16", "0", "0", "MVT::i64", "\"unexpected return calling convention register assignment\"", "1", "2", "\"Unknown loc info!\"", "ISD::BITCAST", "ISD::SRL", "32"], "File": "AArch64ISelLowering (2)3", "Func": "LowerCallResult", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10751, "Length": 396, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "split_stack_arg_pointer_used_p", "(", "void", ")", "{", "if", "(", "cfun", "->", "machine", "->", "split_stack_arg_pointer", "!=", "NULL_RTX", "&&", "(", "!", "REG_P", "(", "cfun", "->", "machine", "->", "split_stack_arg_pointer", ")", "||", "(", "REGNO", "(", "cfun", "->", "machine", "->", "split_stack_arg_pointer", ")", "<", "FIRST_PSEUDO_REGISTER", ")", ")", ")", "return", "true", ";", "rtx_insn", "*", "insn", ";", "basic_block", "bb", "=", "ENTRY_BLOCK_PTR_FOR_FN", "(", "cfun", ")", "->", "next_bb", ";", "FOR_BB_INSNS", "(", "bb", ",", "insn", ")", "if", "(", "NONDEBUG_INSN_P", "(", "insn", ")", ")", "{", "if", "(", "CALL_P", "(", "insn", ")", ")", "return", "false", ";", "df_ref", "use", ";", "FOR_EACH_INSN_USE", "(", "use", ",", "insn", ")", "{", "rtx", "x", "=", "DF_REF_REG", "(", "use", ")", ";", "if", "(", "REG_P", "(", "x", ")", "&&", "REGNO", "(", "x", ")", "==", "12", ")", "return", "true", ";", "}", "df_ref", "def", ";", "FOR_EACH_INSN_DEF", "(", "def", ",", "insn", ")", "{", "rtx", "x", "=", "DF_REF_REG", "(", "def", ")", ";", "if", "(", "REG_P", "(", "x", ")", "&&", "REGNO", "(", "x", ")", "==", "12", ")", "return", "false", ";", "}", "}", "return", "bitmap_bit_p", "(", "DF_LR_OUT", "(", "bb", ")", ",", "12", ")", ";", "}", ""], "natrual_language": ["Return", "whether", "the", "split-stack", "arg", "pointer", "(", "r12", ")", "is", "used", "."], "TS_V_token": ["rs6000", "12", "12", "12"], "File": "rs60005", "Func": "split_stack_arg_pointer_used_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10752, "Length": 168, "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": 10753, "Length": 280, "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": 10754, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "void", "desc_epilogue", "(", "unw_word", "t", ",", "unw_word", "ecount", ",", "struct", "unw_state_record", "*", "sr", ")", "{", "sr", "->", "epilogue_start", "=", "sr", "->", "region_start", "+", "sr", "->", "region_len", "-", "1", "-", "t", ";", "sr", "->", "epilogue_count", "=", "ecount", "+", "1", ";", "}", ""], "natrual_language": ["Body", "descriptors", "."], "TS_V_token": ["ia64", "1", "1"], "File": "unwind-ia64", "Func": "desc_epilogue", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10755, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsLongBranch", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "const", "MipsInstrInfo", "*", "TII", "=", "static_cast", "<", "const", "MipsInstrInfo", "*", ">", "(", "TM", ".", "getInstrInfo", "(", ")", ")", ";", "if", "(", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "inMips16Mode", "(", ")", ")", "return", "false", ";", "if", "(", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "&&", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "isABI_O32", "(", ")", "&&", "F", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", "->", "globalBaseRegSet", "(", ")", ")", "emitGPDisp", "(", "F", ",", "TII", ")", ";", "if", "(", "SkipLongBranch", ")", "return", "true", ";", "MF", "=", "&", "F", ";", "initMBBInfo", "(", ")", ";", "SmallVectorImpl", "<", "MBBInfo", ">", "::", "iterator", "I", ",", "E", "=", "MBBInfos", ".", "end", "(", ")", ";", "bool", "EverMadeChange", "=", "false", ",", "MadeChange", "=", "true", ";", "while", "(", "MadeChange", ")", "{", "MadeChange", "=", "false", ";", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "!", "I", "->", "Br", "||", "I", "->", "HasLongBranch", ")", "continue", ";", "int", "ShVal", "=", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "inMicroMipsMode", "(", ")", "?", "2", ":", "4", ";", "if", "(", "!", "ForceLongBranch", "&&", "isInt", "<", "16", ">", "(", "computeOffset", "(", "I", "->", "Br", ")", "/", "ShVal", ")", ")", "continue", ";", "I", "->", "HasLongBranch", "=", "true", ";", "I", "->", "Size", "+=", "LongBranchSeqSize", "*", "4", ";", "++", "LongBranches", ";", "EverMadeChange", "=", "MadeChange", "=", "true", ";", "}", "}", "if", "(", "!", "EverMadeChange", ")", "return", "true", ";", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "{", "uint64_t", "Address", "=", "0", ";", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "Address", "+=", "I", "->", "Size", ",", "++", "I", ")", "I", "->", "Address", "=", "Address", ";", "}", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "if", "(", "I", "->", "HasLongBranch", ")", "expandToLongBranch", "(", "*", "I", ")", ";", "MF", "->", "RenumberBlocks", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "2", "4", "16", "4", "0"], "File": "MipsLongBranch17", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10756, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_vec_cost", "(", "machine_mode", "mode", ",", "int", "cost", ")", "{", "if", "(", "!", "VECTOR_MODE_P", "(", "mode", ")", ")", "return", "cost", ";", "if", "(", "GET_MODE_BITSIZE", "(", "mode", ")", "==", "128", "&&", "TARGET_SSE_SPLIT_REGS", ")", "return", "cost", "*", "2", ";", "if", "(", "GET_MODE_BITSIZE", "(", "mode", ")", ">", "128", "&&", "TARGET_AVX128_OPTIMAL", ")", "return", "cost", "*", "GET_MODE_BITSIZE", "(", "mode", ")", "/", "128", ";", "return", "cost", ";", "}", ""], "natrual_language": ["Return", "cost", "of", "vector", "operation", "in", "MODE", "given", "that", "scalar", "version", "has", "COST", ".", "If", "PARALLEL", "is", "true", "assume", "that", "CPU", "has", "more", "than", "one", "unit", "performing", "the", "operation", "."], "TS_V_token": ["i386", "128", "2", "128", "128"], "File": "i3868", "Func": "ix86_vec_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10757, "Length": 63, "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": 10758, "Length": 338, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "reg_class", "crx_regno_reg_class", "(", "int", "regno", ")", "{", "if", "(", "regno", ">=", "0", "&&", "regno", "<", "SP_REGNUM", ")", "return", "NOSP_REGS", ";", "if", "(", "regno", "==", "SP_REGNUM", ")", "return", "GENERAL_REGS", ";", "if", "(", "regno", "==", "LO_REGNUM", ")", "return", "LO_REGS", ";", "if", "(", "regno", "==", "HI_REGNUM", ")", "return", "HI_REGS", ";", "return", "NO_REGS", ";", "}", ""], "natrual_language": ["Return", "the", "class", "number", "of", "the", "smallest", "class", "containing", "reg", "number", "REGNO", ".", "*", "This", "could", "be", "a", "conditional", "expression", "or", "could", "index", "an", "array", "."], "TS_V_token": ["crx", "0"], "File": "crx", "Func": "crx_regno_reg_class", "Target": "crx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10759, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SystemZSubtarget", "*", "getSubtargetImpl", "(", ")", "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": ["SystemZ", "SystemZ"], "File": "SystemZTargetMachine", "Func": "getSubtargetImpl", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10760, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "isCoalescableExtInstr", "(", "const", "MachineInstr", "&", "MI", ",", "Register", "&", "SrcReg", ",", "Register", "&", "DstReg", ",", "unsigned", "&", "SubIdx", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "PPC", "::", "EXTSW", ":", "case", "PPC", "::", "EXTSW_32", ":", "case", "PPC", "::", "EXTSW_32_64", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "DstReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SubIdx", "=", "PPC", "::", "sub_32", ";", "return", "true", ";", "}", "}", ""], "natrual_language": ["isCoalescableExtInstr", "-", "Return", "true", "if", "the", "instruction", "is", "a", "``", "coalescable", "''", "extension", "instruction", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::EXTSW", "PPC::EXTSW_32", "PPC::EXTSW_32_64", "1", "0", "PPC::sub_32"], "File": "PPCInstrInfo", "Func": "isCoalescableExtInstr", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10761, "Length": 90, "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": 10762, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "function_checker", "::", "require_immediate_enum", "(", "unsigned", "int", "rel_argno", ",", "tree", "type", ")", "{", "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", ";", "for", "(", "tree", "entry", "=", "TYPE_VALUES", "(", "type", ")", ";", "entry", ";", "entry", "=", "TREE_CHAIN", "(", "entry", ")", ")", "{", "tree", "value", "=", "TREE_VALUE", "(", "entry", ")", ";", "if", "(", "TREE_CODE", "(", "value", ")", "==", "CONST_DECL", ")", "value", "=", "DECL_INITIAL", "(", "value", ")", ";", "if", "(", "wi", "::", "to_widest", "(", "value", ")", "==", "actual", ")", "return", "true", ";", "}", "report_not_enum", "(", "location", ",", "fndecl", ",", "argno", ",", "actual", ",", "type", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Check", "that", "argument", "REL_ARGNO", "is", "an", "integer", "constant", "expression", "that", "has", "a", "valid", "value", "for", "enumeration", "type", "TYPE", ".", "REL_ARGNO", "counts", "from", "the", "end", "of", "the", "predication", "arguments", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "require_immediate_enum", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10763, "Length": 124, "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": 10764, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_fusion_enabled_p", "(", "enum", "aarch64_fusion_pairs", "op", ")", "{", "return", "(", "aarch64_tune_params", ".", "fusible_ops", "&", "op", ")", "!=", "0", ";", "}", ""], "natrual_language": ["Return", "true", "iff", "the", "instruction", "fusion", "described", "by", "OP", "is", "enabled", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64", "Func": "aarch64_fusion_enabled_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10765, "Length": 20, "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": 10766, "Length": 358, "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": 10767, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "mips_preferred_reload_class", "(", "rtx", "x", ",", "reg_class_t", "rclass", ")", "{", "if", "(", "mips_dangerous_for_la25_p", "(", "x", ")", "&&", "reg_class_subset_p", "(", "LEA_REGS", ",", "rclass", ")", ")", "return", "LEA_REGS", ";", "if", "(", "reg_class_subset_p", "(", "FP_REGS", ",", "rclass", ")", "&&", "mips_mode_ok_for_mov_fmt_p", "(", "GET_MODE", "(", "x", ")", ")", ")", "return", "FP_REGS", ";", "if", "(", "reg_class_subset_p", "(", "GR_REGS", ",", "rclass", ")", ")", "rclass", "=", "GR_REGS", ";", "if", "(", "TARGET_MIPS16", "&&", "reg_class_subset_p", "(", "M16_REGS", ",", "rclass", ")", ")", "rclass", "=", "M16_REGS", ";", "return", "rclass", ";", "}", ""], "natrual_language": ["Implement", "PREFERRED_RELOAD_CLASS", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_preferred_reload_class", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10768, "Length": 80, "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": 10769, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "OperandMatchResultTy", "MipsAsmParser", "::", "tryParseRegister", "(", "unsigned", "&", "RegNo", ",", "SMLoc", "&", "StartLoc", ",", "SMLoc", "&", "EndLoc", ")", "{", "SmallVector", "<", "std", "::", "unique_ptr", "<", "MCParsedAsmOperand", ">", ",", "1", ">", "Operands", ";", "OperandMatchResultTy", "ResTy", "=", "parseAnyRegister", "(", "Operands", ")", ";", "if", "(", "ResTy", "==", "MatchOperand_Success", ")", "{", "assert", "(", "Operands", ".", "size", "(", ")", "==", "1", ")", ";", "MipsOperand", "&", "Operand", "=", "static_cast", "<", "MipsOperand", "&", ">", "(", "*", "Operands", ".", "front", "(", ")", ")", ";", "StartLoc", "=", "Operand", ".", "getStartLoc", "(", ")", ";", "EndLoc", "=", "Operand", ".", "getEndLoc", "(", ")", ";", "RegNo", "=", "-", "1", ";", "if", "(", "Operand", ".", "isGPRAsmReg", "(", ")", ")", "{", "RegNo", "=", "isGP64bit", "(", ")", "?", "Operand", ".", "getGPR64Reg", "(", ")", ":", "Operand", ".", "getGPR32Reg", "(", ")", ";", "}", "else", "if", "(", "Operand", ".", "isCheriAsmReg", "(", ")", ")", "{", "RegNo", "=", "Operand", ".", "getCheriReg", "(", ")", ";", "}", "else", "{", "llvm_unreachable", "(", "\"Got non-GPR register in .cfi directive!\"", ")", ";", "}", "return", "(", "RegNo", "==", "(", "unsigned", ")", "-", "1", ")", "?", "MatchOperand_NoMatch", ":", "MatchOperand_Success", ";", "}", "assert", "(", "Operands", ".", "size", "(", ")", "==", "0", ")", ";", "return", "(", "RegNo", "==", "(", "unsigned", ")", "-", "1", ")", "?", "MatchOperand_NoMatch", ":", "MatchOperand_Success", ";", "}", ""], "natrual_language": ["tryParseRegister", "-", "parse", "one", "register", "if", "possible"], "TS_V_token": ["Mips", "Mips", "1", "1", "Mips", "Mips", "1", "\"Got non-GPR register in .cfi directive!\"", "1", "0", "1"], "File": "MipsAsmParser47", "Func": "tryParseRegister", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10770, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "enableInterleavedAccessVectorization", "(", ")", "{", "return", "!", "ST", "->", "hasSVE", "(", ")", ";", "}", ""], "natrual_language": ["Enable", "matching", "of", "interleaved", "access", "groups", "."], "TS_V_token": ["AArch64"], "File": "AArch64TargetTransformInfo31", "Func": "enableInterleavedAccessVectorization", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10771, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_load_call_address", "(", "rtx", "dest", ",", "rtx", "addr", ",", "int", "sibcall_p", ")", "{", "if", "(", "TARGET_EXPLICIT_RELOCS", "&&", "!", "(", "sibcall_p", "&&", "TARGET_NEWABI", ")", "&&", "global_got_operand", "(", "addr", ",", "VOIDmode", ")", ")", "{", "rtx", "high", ",", "lo_sum_symbol", ";", "high", "=", "mips_unspec_offset_high", "(", "dest", ",", "pic_offset_table_rtx", ",", "addr", ",", "SYMBOL_GOTOFF_CALL", ")", ";", "lo_sum_symbol", "=", "mips_unspec_address", "(", "addr", ",", "SYMBOL_GOTOFF_CALL", ")", ";", "if", "(", "Pmode", "==", "SImode", ")", "emit_insn", "(", "gen_load_callsi", "(", "dest", ",", "high", ",", "lo_sum_symbol", ")", ")", ";", "else", "emit_insn", "(", "gen_load_calldi", "(", "dest", ",", "high", ",", "lo_sum_symbol", ")", ")", ";", "}", "else", "emit_move_insn", "(", "dest", ",", "addr", ")", ";", "}", ""], "natrual_language": ["Load", "function", "address", "ADDR", "into", "register", "DEST", ".", "SIBCALL_P", "is", "true", "if", "the", "address", "is", "needed", "for", "a", "sibling", "call", "."], "TS_V_token": ["mips"], "File": "mips3", "Func": "mips_load_call_address", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10772, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "MipsTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "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", ")", ";", "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", ")", ";", "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", ")", ";", "BB", "=", "copy0MBB", ";", "BB", "->", "addSuccessor", "(", "sinkMBB", ")", ";", "BB", "=", "sinkMBB", ";", "BuildMI", "(", "*", "BB", ",", "BB", "->", "begin", "(", ")", ",", "dl", ",", "TII", "->", "get", "(", "Mips", "::", "PHI", ")", ",", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "thisMBB", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "copy0MBB", ")", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "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": "MipsISelLowering32", "Func": "EmitInstrWithCustomInserter", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10773, "Length": 424, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "getHashValue", "(", "const", "SlotWithTag", "&", "V", ")", "{", "return", "hash_combine", "(", "DenseMapInfo", "<", "int", ">", "::", "getHashValue", "(", "V", ".", "FI", ")", ",", "DenseMapInfo", "<", "int", ">", "::", "getHashValue", "(", "V", ".", "Tag", ")", ")", ";", "}", ""], "natrual_language": ["Using", "name", "and", "line", "to", "get", "hash", "value", ".", "It", "should", "already", "be", "mostly", "unique", "."], "TS_V_token": ["AArch64"], "File": "AArch64StackTaggingPreRA1", "Func": "getHashValue", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10774, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_expand_pextr", "(", "rtx", "*", "operands", ")", "{", "rtx", "dst", "=", "operands", "[", "0", "]", ";", "rtx", "src", "=", "operands", "[", "1", "]", ";", "unsigned", "int", "size", "=", "INTVAL", "(", "operands", "[", "2", "]", ")", ";", "unsigned", "int", "pos", "=", "INTVAL", "(", "operands", "[", "3", "]", ")", ";", "if", "(", "SUBREG_P", "(", "dst", ")", ")", "{", "if", "(", "SUBREG_BYTE", "(", "dst", ")", ">", "0", ")", "return", "false", ";", "dst", "=", "SUBREG_REG", "(", "dst", ")", ";", "}", "if", "(", "SUBREG_P", "(", "src", ")", ")", "{", "pos", "+=", "SUBREG_BYTE", "(", "src", ")", "*", "BITS_PER_UNIT", ";", "src", "=", "SUBREG_REG", "(", "src", ")", ";", "}", "switch", "(", "GET_MODE", "(", "src", ")", ")", "{", "case", "V16QImode", ":", "case", "V8HImode", ":", "case", "V4SImode", ":", "case", "V2DImode", ":", "case", "V1TImode", ":", "case", "TImode", ":", "{", "machine_mode", "srcmode", ",", "dstmode", ";", "rtx", "d", ",", "pat", ";", "dstmode", "=", "mode_for_size", "(", "size", ",", "MODE_INT", ",", "0", ")", ";", "switch", "(", "dstmode", ")", "{", "case", "QImode", ":", "if", "(", "!", "TARGET_SSE4_1", ")", "return", "false", ";", "srcmode", "=", "V16QImode", ";", "break", ";", "case", "HImode", ":", "if", "(", "!", "TARGET_SSE2", ")", "return", "false", ";", "srcmode", "=", "V8HImode", ";", "break", ";", "case", "SImode", ":", "if", "(", "!", "TARGET_SSE4_1", ")", "return", "false", ";", "srcmode", "=", "V4SImode", ";", "break", ";", "case", "DImode", ":", "gcc_assert", "(", "TARGET_64BIT", ")", ";", "if", "(", "!", "TARGET_SSE4_1", ")", "return", "false", ";", "srcmode", "=", "V2DImode", ";", "break", ";", "default", ":", "return", "false", ";", "}", "if", "(", "pos", "&", "(", "size", "-", "1", ")", ")", "return", "false", ";", "if", "(", "GET_MODE", "(", "dst", ")", "==", "dstmode", ")", "d", "=", "dst", ";", "else", "d", "=", "gen_reg_rtx", "(", "dstmode", ")", ";", "pat", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "1", ",", "GEN_INT", "(", "pos", "/", "size", ")", ")", ")", ";", "pat", "=", "gen_rtx_VEC_SELECT", "(", "dstmode", ",", "gen_lowpart", "(", "srcmode", ",", "src", ")", ",", "pat", ")", ";", "if", "(", "dstmode", "==", "QImode", "||", "dstmode", "==", "HImode", ")", "{", "pat", "=", "gen_rtx_ZERO_EXTEND", "(", "SImode", ",", "pat", ")", ";", "d", "=", "gen_lowpart", "(", "SImode", ",", "d", ")", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "d", ",", "pat", ")", ")", ";", "if", "(", "d", "!=", "dst", ")", "emit_move_insn", "(", "dst", ",", "gen_lowpart", "(", "GET_MODE", "(", "dst", ")", ",", "d", ")", ")", ";", "return", "true", ";", "}", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Expand", "an", "extract", "from", "a", "vector", "register", "through", "pextr", "insn", ".", "Return", "true", "if", "successful", "."], "TS_V_token": ["i386", "0", "1", "2", "3", "0", "0", "1", "1"], "File": "i3865", "Func": "ix86_expand_pextr", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10775, "Length": 374, "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": 10776, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMHazardRecognizer", "::", "Reset", "(", ")", "{", "LastMI", "=", "0", ";", "FpMLxStalls", "=", "0", ";", "ITBlockSize", "=", "0", ";", "ScoreboardHazardRecognizer", "::", "Reset", "(", ")", ";", "}", ""], "natrual_language": ["Reset", "the", "unwind", "opcode", "assembler", "."], "TS_V_token": ["ARM", "ARM", "0", "0", "0"], "File": "ARMHazardRecognizer20", "Func": "Reset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10777, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "X86LinuxTargetObjectFile", "::", "getDebugThreadLocalSymbol", "(", "const", "MCSymbol", "*", "Sym", ")", "const", "{", "return", "MCSymbolRefExpr", "::", "Create", "(", "Sym", ",", "MCSymbolRefExpr", "::", "VK_DTPOFF", ",", "getContext", "(", ")", ")", ";", "}", ""], "natrual_language": ["Describe", "a", "TLS", "variable", "address", "within", "debug", "info", "."], "TS_V_token": ["X86", "X86"], "File": "X86TargetObjectFile", "Func": "getDebugThreadLocalSymbol", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10778, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "return", "true", ";", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "assert", "(", "MO", ".", "isReg", "(", ")", "&&", "\"unexpected inline asm memory operand\"", ")", ";", "O", "<<", "\"0($\"", "<<", "MipsInstPrinter", "::", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", "<<", "\")\"", ";", "return", "false", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "."], "TS_V_token": ["Mips", "Mips", "0", "\"unexpected inline asm memory operand\"", "\"0($\"", "Mips", "\")\""], "File": "MipsAsmPrinter100", "Func": "PrintAsmMemoryOperand", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10779, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_v9_brxx_insn", "(", "enum", "rtx_code", "code", ",", "rtx", "op0", ",", "rtx", "label", ")", "{", "emit_jump_insn", "(", "gen_rtx_SET", "(", "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": "sparc", "Func": "emit_v9_brxx_insn", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10780, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86DiscriminateMemOps", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "!", "EnableDiscriminateMemops", ")", "return", "false", ";", "DISubprogram", "*", "FDI", "=", "MF", ".", "getFunction", "(", ")", ".", "getSubprogram", "(", ")", ";", "if", "(", "!", "FDI", "||", "!", "FDI", "->", "getUnit", "(", ")", "->", "getDebugInfoForProfiling", "(", ")", ")", "return", "false", ";", "const", "DILocation", "*", "ReferenceDI", "=", "DILocation", "::", "get", "(", "FDI", "->", "getContext", "(", ")", ",", "FDI", "->", "getLine", "(", ")", ",", "0", ",", "FDI", ")", ";", "DenseMap", "<", "Location", ",", "unsigned", ">", "MemOpDiscriminators", ";", "MemOpDiscriminators", "[", "diToLocation", "(", "ReferenceDI", ")", "]", "=", "0", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "const", "auto", "&", "DI", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "if", "(", "!", "DI", ")", "continue", ";", "Location", "Loc", "=", "diToLocation", "(", "DI", ")", ";", "MemOpDiscriminators", "[", "Loc", "]", "=", "std", "::", "max", "(", "MemOpDiscriminators", "[", "Loc", "]", ",", "DI", "->", "getBaseDiscriminator", "(", ")", ")", ";", "}", "}", "DenseMap", "<", "Location", ",", "DenseSet", "<", "unsigned", ">>", "Seen", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "if", "(", "X86II", "::", "getMemoryOperandNo", "(", "MI", ".", "getDesc", "(", ")", ".", "TSFlags", ")", "<", "0", ")", "continue", ";", "const", "DILocation", "*", "DI", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "if", "(", "!", "DI", ")", "{", "DI", "=", "ReferenceDI", ";", "}", "Location", "L", "=", "diToLocation", "(", "DI", ")", ";", "DenseSet", "<", "unsigned", ">", "&", "Set", "=", "Seen", "[", "L", "]", ";", "const", "std", "::", "pair", "<", "DenseSet", "<", "unsigned", ">", "::", "iterator", ",", "bool", ">", "TryInsert", "=", "Set", ".", "insert", "(", "DI", "->", "getBaseDiscriminator", "(", ")", ")", ";", "if", "(", "!", "TryInsert", ".", "second", ")", "{", "unsigned", "BF", ",", "DF", ",", "CI", "=", "0", ";", "DILocation", "::", "decodeDiscriminator", "(", "DI", "->", "getDiscriminator", "(", ")", ",", "BF", ",", "DF", ",", "CI", ")", ";", "Optional", "<", "unsigned", ">", "EncodedDiscriminator", "=", "DILocation", "::", "encodeDiscriminator", "(", "MemOpDiscriminators", "[", "L", "]", "+", "1", ",", "DF", ",", "CI", ")", ";", "if", "(", "!", "EncodedDiscriminator", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Unable to create a unique discriminator \"", "\"for instruction with memory operand in: \"", "<<", "DI", "->", "getFilename", "(", ")", "<<", "\" Line: \"", "<<", "DI", "->", "getLine", "(", ")", "<<", "\" Column: \"", "<<", "DI", "->", "getColumn", "(", ")", "<<", "\". This is likely due to a large macro expansion. \\n\"", ")", ";", "continue", ";", "}", "++", "MemOpDiscriminators", "[", "L", "]", ";", "DI", "=", "DI", "->", "cloneWithDiscriminator", "(", "EncodedDiscriminator", ".", "getValue", "(", ")", ")", ";", "updateDebugInfo", "(", "&", "MI", ",", "DI", ")", ";", "Changed", "=", "true", ";", "std", "::", "pair", "<", "DenseSet", "<", "unsigned", ">", "::", "iterator", ",", "bool", ">", "MustInsert", "=", "Set", ".", "insert", "(", "DI", "->", "getBaseDiscriminator", "(", ")", ")", ";", "(", "void", ")", "MustInsert", ";", "assert", "(", "MustInsert", ".", "second", "&&", "\"New discriminator shouldn't be present in set\"", ")", ";", "}", "ReferenceDI", "=", "DI", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "0", "0", "X86II::getMemoryOperandNo", "0", "0", "1", "\"Unable to create a unique discriminator \"", "\"for instruction with memory operand in: \"", "\" Line: \"", "\" Column: \"", "\". This is likely due to a large macro expansion. \\n\"", "\"New discriminator shouldn't be present in set\""], "File": "X86DiscriminateMemOps (2)", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10781, "Length": 464, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "function_expander", "::", "try_negating_argument", "(", "unsigned", "int", "argno", ",", "machine_mode", "mode", ")", "{", "rtx", "x", "=", "args", "[", "argno", "]", ";", "if", "(", "!", "VECTOR_MODE_P", "(", "GET_MODE", "(", "x", ")", ")", ")", "mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "x", "=", "simplify_unary_operation", "(", "NEG", ",", "mode", ",", "x", ",", "mode", ")", ";", "if", "(", "!", "x", ")", "return", "false", ";", "args", "[", "argno", "]", "=", "x", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "negation", "of", "argument", "ARGNO", "can", "be", "folded", "away", ",", "replacing", "it", "with", "the", "negated", "value", "if", "so", ".", "MODE", "is", "the", "associated", "vector", "mode", ",", "but", "the", "argument", "could", "be", "a", "single", "element", ".", "The", "main", "case", "this", "handles", "is", "constant", "arguments", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "try_negating_argument", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10782, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CSKYTargetLowering", "::", "CanLowerReturn", "(", "CallingConv", "::", "ID", "CallConv", ",", "MachineFunction", "&", "MF", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "LLVMContext", "&", "Context", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "CSKYLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "CSKYLocs", ",", "Context", ")", ";", "return", "CCInfo", ".", "CheckReturn", "(", "Outs", ",", "CCAssignFnForReturn", "(", "CallConv", ",", "IsVarArg", ")", ")", ";", "}", ""], "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": ["CSKY", "CSKY", "ISD::OutputArg", "16", "CSKY", "CSKY"], "File": "CSKYISelLowering", "Func": "CanLowerReturn", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10783, "Length": 71, "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", "=", "FI", "->", "getPICBasePointerSaveIndex", "(", ")", ";", "PBPSI", "=", "MFI", "->", "CreateFixedObject", "(", "4", ",", "-", "8", ",", "true", ")", ";", "FI", "->", "setPICBasePointerSaveIndex", "(", "PBPSI", ")", ";", "}", "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", "0", "0", "1", "PPC", "PPC::CR2", "PPC::CR3", "PPC::CR4", "4", "4"], "File": "PPCFrameLowering70", "Func": "determineCalleeSaves", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10784, "Length": 377, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_optab_supported_p", "(", "int", "op", ",", "machine_mode", "mode1", ",", "machine_mode", ",", "optimization_type", "opt_type", ")", "{", "switch", "(", "op", ")", "{", "case", "asin_optab", ":", "case", "acos_optab", ":", "case", "log1p_optab", ":", "case", "exp_optab", ":", "case", "exp10_optab", ":", "case", "exp2_optab", ":", "case", "expm1_optab", ":", "case", "ldexp_optab", ":", "case", "scalb_optab", ":", "case", "round_optab", ":", "return", "opt_type", "==", "OPTIMIZE_FOR_SPEED", ";", "case", "rint_optab", ":", "if", "(", "SSE_FLOAT_MODE_P", "(", "mode1", ")", "&&", "TARGET_SSE_MATH", "&&", "!", "flag_trapping_math", "&&", "!", "TARGET_SSE4_1", "&&", "mode1", "!=", "HFmode", ")", "return", "opt_type", "==", "OPTIMIZE_FOR_SPEED", ";", "return", "true", ";", "case", "floor_optab", ":", "case", "ceil_optab", ":", "case", "btrunc_optab", ":", "if", "(", "(", "(", "SSE_FLOAT_MODE_P", "(", "mode1", ")", "&&", "TARGET_SSE_MATH", "&&", "TARGET_SSE4_1", ")", "||", "mode1", "==", "HFmode", ")", "&&", "!", "flag_trapping_math", ")", "return", "true", ";", "return", "opt_type", "==", "OPTIMIZE_FOR_SPEED", ";", "case", "rsqrt_optab", ":", "return", "opt_type", "==", "OPTIMIZE_FOR_SPEED", "&&", "use_rsqrt_p", "(", "mode1", ")", ";", "default", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Implement", "the", "TARGET_OPTAB_SUPPORTED_P", "hook", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_optab_supported_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10785, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64TargetMachine", "::", "AArch64TargetMachine", "(", "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", ",", "bool", "LittleEndian", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "Options", ".", "MCOptions", ",", "LittleEndian", ")", ",", "TT", ",", "computeDefaultCPU", "(", "TT", ",", "CPU", ")", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "TT", ",", "RM", ")", ",", "getEffectiveAArch64CodeModel", "(", "TT", ",", "CM", ",", "JIT", ")", ",", "OL", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", ",", "isLittle", "(", "LittleEndian", ")", "{", "initAsmInfo", "(", ")", ";", "if", "(", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "{", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "this", "->", "Options", ".", "NoTrapAfterNoreturn", "=", "true", ";", "}", "if", "(", "getMCAsmInfo", "(", ")", "->", "usesWindowsCFI", "(", ")", ")", "{", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "}", "if", "(", "this", "->", "Options", ".", "TLSSize", "==", "0", ")", "this", "->", "Options", ".", "TLSSize", "=", "24", ";", "if", "(", "(", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Small", "||", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Kernel", ")", "&&", "this", "->", "Options", ".", "TLSSize", ">", "32", ")", "this", "->", "Options", ".", "TLSSize", "=", "32", ";", "else", "if", "(", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Tiny", "&&", "this", "->", "Options", ".", "TLSSize", ">", "24", ")", "this", "->", "Options", ".", "TLSSize", "=", "24", ";", "if", "(", "getOptLevel", "(", ")", "<=", "EnableGlobalISelAtO", "&&", "TT", ".", "getArch", "(", ")", "!=", "Triple", "::", "aarch64_32", "&&", "TT", ".", "getEnvironment", "(", ")", "!=", "Triple", "::", "GNUILP32", "&&", "!", "(", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", "&&", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", ")", "{", "setGlobalISel", "(", "true", ")", ";", "setGlobalISelAbort", "(", "GlobalISelAbortMode", "::", "Disable", ")", ";", "}", "setMachineOutliner", "(", "true", ")", ";", "setSupportsDefaultOutlining", "(", "true", ")", ";", "setSupportsDebugEntryValues", "(", "true", ")", ";", "if", "(", "!", "getMCAsmInfo", "(", ")", "->", "usesWindowsCFI", "(", ")", ")", "setCFIFixup", "(", "true", ")", ";", "}", ""], "natrual_language": ["Create", "an", "AArch64", "architecture", "model", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "0", "24", "32", "32", "24", "24"], "File": "AArch64TargetMachine35", "Func": "AArch64TargetMachine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10786, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "X86FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "getIndex", "(", ")", ";", "int", "FIOffset", ";", "unsigned", "BasePtr", ";", "if", "(", "MI", ".", "isReturn", "(", ")", ")", "{", "assert", "(", "(", "!", "needsStackRealignment", "(", "MF", ")", "||", "MF", ".", "getFrameInfo", "(", ")", ".", "isFixedObjectIndex", "(", "FrameIndex", ")", ")", "&&", "\"Return instruction can only reference SP relative frame objects\"", ")", ";", "FIOffset", "=", "TFI", "->", "getFrameIndexReferenceSP", "(", "MF", ",", "FrameIndex", ",", "BasePtr", ",", "0", ")", ";", "}", "else", "{", "FIOffset", "=", "TFI", "->", "getFrameIndexReference", "(", "MF", ",", "FrameIndex", ",", "BasePtr", ")", ";", "}", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "TargetOpcode", "::", "LOCAL_ESCAPE", ")", "{", "MachineOperand", "&", "FI", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ";", "FI", ".", "ChangeToImmediate", "(", "FIOffset", ")", ";", "return", ";", "}", "unsigned", "MachineBasePtr", "=", "BasePtr", ";", "if", "(", "Opc", "==", "X86", "::", "LEA64_32r", "&&", "X86", "::", "GR32RegClass", ".", "contains", "(", "BasePtr", ")", ")", "MachineBasePtr", "=", "getX86SubSuperRegister", "(", "BasePtr", ",", "64", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "MachineBasePtr", ",", "false", ")", ";", "if", "(", "BasePtr", "==", "StackPtr", ")", "FIOffset", "+=", "SPAdj", ";", "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!\"", ")", ";", "if", "(", "Offset", "!=", "0", "||", "!", "tryOptimizeLEAtoMOV", "(", "II", ")", ")", "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", "X86", "\"Return instruction can only reference SP relative frame objects\"", "0", "X86::LEA64_32r", "X86::GR32RegClass", "X86", "64", "\"Expected the FP as base register\"", "1", "1", "3", "3", "32", "\"Requesting 64-bit offset in 32-bit immediate!\"", "0", "3", "3", "3"], "File": "X86RegisterInfo (2)2", "Func": "eliminateFrameIndex", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10787, "Length": 426, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "VEFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "if", "(", "isLeafProc", "(", "MF", ")", "&&", "!", "hasBP", "(", "MF", ")", ")", "{", "VEMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "VEMachineFunctionInfo", ">", "(", ")", ";", "FuncInfo", "->", "setLeafProc", "(", "true", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["VE", "VE", "VE", "VE"], "File": "VEFrameLowering2", "Func": "determineCalleeSaves", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10788, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_in_small_data_p", "(", "const_tree", "decl", ")", "{", "unsigned", "HOST_WIDE_INT", "size", ";", "if", "(", "TREE_CODE", "(", "decl", ")", "==", "STRING_CST", "||", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", ")", "return", "false", ";", "if", "(", "TARGET_ABICALLS", "||", "TARGET_VXWORKS_RTP", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "decl", ")", "==", "VAR_DECL", "&&", "DECL_SECTION_NAME", "(", "decl", ")", "!=", "0", ")", "{", "const", "char", "*", "name", ";", "name", "=", "DECL_SECTION_NAME", "(", "decl", ")", ";", "if", "(", "strcmp", "(", "name", ",", "\".sdata\"", ")", "!=", "0", "&&", "strcmp", "(", "name", ",", "\".sbss\"", ")", "!=", "0", ")", "return", "false", ";", "if", "(", "mips_lo_relocs", "[", "SYMBOL_GP_RELATIVE", "]", "||", "!", "DECL_EXTERNAL", "(", "decl", ")", ")", "return", "true", ";", "}", "else", "if", "(", "TARGET_EMBEDDED_DATA", ")", "{", "if", "(", "TREE_CODE", "(", "decl", ")", "!=", "VAR_DECL", ")", "return", "false", ";", "if", "(", "TREE_READONLY", "(", "decl", ")", "&&", "!", "TREE_SIDE_EFFECTS", "(", "decl", ")", "&&", "(", "!", "DECL_INITIAL", "(", "decl", ")", "||", "TREE_CONSTANT", "(", "DECL_INITIAL", "(", "decl", ")", ")", ")", ")", "return", "false", ";", "}", "if", "(", "!", "TARGET_LOCAL_SDATA", "&&", "!", "TREE_PUBLIC", "(", "decl", ")", ")", "return", "false", ";", "if", "(", "!", "TARGET_EXTERN_SDATA", "&&", "DECL_P", "(", "decl", ")", ")", "{", "if", "(", "DECL_EXTERNAL", "(", "decl", ")", ")", "return", "false", ";", "if", "(", "DECL_COMMON", "(", "decl", ")", "&&", "DECL_INITIAL", "(", "decl", ")", "==", "NULL", ")", "return", "false", ";", "}", "size", "=", "int_size_in_bytes", "(", "TREE_TYPE", "(", "decl", ")", ")", ";", "return", "size", ">", "0", "&&", "size", "<=", "mips_small_data_threshold", ";", "}", ""], "natrual_language": ["Implement", "TARGET_IN_SMALL_DATA_P", ".", "Return", "true", "if", "it", "would", "be", "safe", "to", "access", "DECL", "using", "%", "gp_rel", "(", "...", ")", "(", "$", "gp", ")", "."], "TS_V_token": ["mips", "0", "\".sdata\"", "0", "\".sbss\"", "0", "0"], "File": "mips", "Func": "mips_in_small_data_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10789, "Length": 233, "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": 10790, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "internal_test", "map_test_to_internal_test", "(", "enum", "rtx_code", "test_code", ")", "{", "enum", "internal_test", "test", "=", "ITEST_MAX", ";", "switch", "(", "test_code", ")", "{", "case", "EQ", ":", "test", "=", "ITEST_EQ", ";", "break", ";", "case", "NE", ":", "test", "=", "ITEST_NE", ";", "break", ";", "case", "GT", ":", "test", "=", "ITEST_GT", ";", "break", ";", "case", "GE", ":", "test", "=", "ITEST_GE", ";", "break", ";", "case", "LT", ":", "test", "=", "ITEST_LT", ";", "break", ";", "case", "LE", ":", "test", "=", "ITEST_LE", ";", "break", ";", "case", "GTU", ":", "test", "=", "ITEST_GTU", ";", "break", ";", "case", "GEU", ":", "test", "=", "ITEST_GEU", ";", "break", ";", "case", "LTU", ":", "test", "=", "ITEST_LTU", ";", "break", ";", "case", "LEU", ":", "test", "=", "ITEST_LEU", ";", "break", ";", "default", ":", "break", ";", "}", "return", "test", ";", "}", ""], "natrual_language": ["Make", "normal", "rtx_code", "into", "something", "we", "can", "index", "from", "an", "array"], "TS_V_token": ["iq2000"], "File": "iq2000", "Func": "map_test_to_internal_test", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10791, "Length": 120, "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", ",", "SDLoc", "DL", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "MipsCC", "MipsCCInfo", "(", "CallConv", ",", "Subtarget", "->", "isABI_O32", "(", ")", ",", "Subtarget", "->", "isFP64bit", "(", ")", ",", "CCInfo", ")", ";", "MipsCCInfo", ".", "analyzeReturn", "(", "Outs", ",", "Subtarget", "->", "mipsSEUsesSoftFloat", "(", ")", ",", "MF", ".", "getFunction", "(", ")", "->", "getReturnType", "(", ")", ")", ";", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "RetOps", "(", "1", ",", "Chain", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "SDValue", "Val", "=", "OutVals", "[", "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", "(", ")", ")", "{", "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", "(", ")", ")", ";", "unsigned", "V0", "=", "Subtarget", "->", "isABI_N64", "(", ")", "?", "Mips", "::", "V0_64", ":", "Mips", "::", "V0", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "V0", ",", "Val", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "V0", ",", "getPointerTy", "(", ")", ")", ")", ";", "}", "RetOps", "[", "0", "]", "=", "Chain", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "RetOps", ".", "push_back", "(", "Flag", ")", ";", "return", "DAG", ".", "getNode", "(", "MipsISD", "::", "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": ["Mips", "Mips", "ISD::OutputArg", "16", "Mips", "Mips", "Mips", "4", "1", "0", "\"Can only return in registers!\"", "ISD::BITCAST", "1", "Mips", "Mips", "Mips", "Mips", "\"sret virtual register not created in the entry block\"", "Mips::V0_64", "Mips::V0", "1", "0", "MipsISD::Ret", "MVT::Other"], "File": "MipsISelLowering (2)1", "Func": "LowerReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10792, "Length": 451, "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": ["AArch64"], "File": "AArch64InstrInfo21", "Func": "getRegisterInfo", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10793, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", ")", "{", "tree", "type", ",", "decl_or_type", ";", "rtx", "a", ",", "b", ";", "bool", "bind_global", "=", "decl", "&&", "!", "targetm", ".", "binds_local_p", "(", "decl", ")", ";", "if", "(", "!", "TARGET_MACHO", "&&", "!", "TARGET_64BIT", "&&", "flag_pic", "&&", "flag_plt", "&&", "bind_global", ")", "return", "false", ";", "if", "(", "ix86_minimum_incoming_stack_boundary", "(", "true", ")", "<", "PREFERRED_STACK_BOUNDARY", ")", "return", "false", ";", "if", "(", "decl", ")", "{", "decl_or_type", "=", "decl", ";", "type", "=", "TREE_TYPE", "(", "decl", ")", ";", "}", "else", "{", "type", "=", "CALL_EXPR_FN", "(", "exp", ")", ";", "type", "=", "TREE_TYPE", "(", "type", ")", ";", "type", "=", "TREE_TYPE", "(", "type", ")", ";", "decl_or_type", "=", "type", ";", "}", "a", "=", "ix86_function_value", "(", "TREE_TYPE", "(", "exp", ")", ",", "decl_or_type", ",", "false", ")", ";", "b", "=", "ix86_function_value", "(", "TREE_TYPE", "(", "DECL_RESULT", "(", "cfun", "->", "decl", ")", ")", ",", "cfun", "->", "decl", ",", "false", ")", ";", "if", "(", "STACK_REG_P", "(", "a", ")", "||", "STACK_REG_P", "(", "b", ")", ")", "{", "if", "(", "!", "rtx_equal_p", "(", "a", ",", "b", ")", ")", "return", "false", ";", "}", "else", "if", "(", "VOID_TYPE_P", "(", "TREE_TYPE", "(", "DECL_RESULT", "(", "cfun", "->", "decl", ")", ")", ")", ")", ";", "else", "if", "(", "!", "rtx_equal_p", "(", "a", ",", "b", ")", ")", "return", "false", ";", "if", "(", "TARGET_64BIT", ")", "{", "if", "(", "cfun", "->", "machine", "->", "call_abi", "==", "MS_ABI", "&&", "ix86_function_type_abi", "(", "type", ")", "==", "SYSV_ABI", ")", "return", "false", ";", "}", "else", "{", "if", "(", "!", "decl", "||", "(", "bind_global", "&&", "flag_pic", "&&", "!", "flag_plt", ")", "||", "(", "TARGET_DLLIMPORT_DECL_ATTRIBUTES", "&&", "DECL_DLLIMPORT_P", "(", "decl", ")", ")", ")", "{", "if", "(", "ix86_function_regparm", "(", "type", ",", "NULL", ")", ">=", "3", "&&", "!", "cfun", "->", "machine", "->", "arg_reg_available", ")", "return", "false", ";", "}", "}", "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": ["i386", "3"], "File": "i3865", "Func": "ix86_function_ok_for_sibcall", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10794, "Length": 280, "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", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "return", "(", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "RegInfo", "->", "needsStackRealignment", "(", "MF", ")", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", "||", "MFI", "->", "isFrameAddressTaken", "(", ")", "||", "MFI", "->", "hasInlineAsmWithSPAdjust", "(", ")", "||", "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": "X86FrameLowering115", "Func": "hasFP", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10795, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "X86RegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "getInstrInfo", "(", ")", "->", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["X86", "X86"], "File": "X86TargetMachine", "Func": "getRegisterInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10796, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "x86_maybe_negate_const_int", "(", "rtx", "*", "loc", ",", "machine_mode", "mode", ")", "{", "HOST_WIDE_INT", "val", ";", "if", "(", "!", "CONST_INT_P", "(", "*", "loc", ")", ")", "return", "false", ";", "switch", "(", "mode", ")", "{", "case", "E_DImode", ":", "gcc_assert", "(", "x86_64_immediate_operand", "(", "*", "loc", ",", "mode", ")", ")", ";", "mode", "=", "SImode", ";", "break", ";", "case", "E_SImode", ":", "case", "E_HImode", ":", "case", "E_QImode", ":", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "mode_signbit_p", "(", "mode", ",", "*", "loc", ")", ")", "return", "false", ";", "val", "=", "INTVAL", "(", "*", "loc", ")", ";", "if", "(", "(", "val", "<", "0", "&&", "val", "!=", "-", "128", ")", "||", "val", "==", "128", ")", "{", "*", "loc", "=", "GEN_INT", "(", "-", "val", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["If", "profitable", ",", "negate", "(", "without", "causing", "overflow", ")", "integer", "constant", "of", "mode", "MODE", "at", "location", "LOC", ".", "Return", "true", "in", "this", "case", "."], "TS_V_token": ["i386", "0", "128", "128"], "File": "i386", "Func": "x86_maybe_negate_const_int", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10797, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "and_operands_ok", "(", "machine_mode", "mode", ",", "rtx", "op1", ",", "rtx", "op2", ")", "{", "return", "(", "memory_operand", "(", "op1", ",", "mode", ")", "?", "and_load_operand", "(", "op2", ",", "mode", ")", ":", "and_reg_operand", "(", "op2", ",", "mode", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "iff", "OP1", "and", "OP2", "are", "valid", "operands", "together", "for", "the", "*", "and", "<", "MODE", ">", "3", "and", "*", "and", "<", "MODE", ">", "3_mips16", "patterns", ".", "For", "the", "cases", "to", "consider", ",", "see", "the", "table", "in", "the", "comment", "before", "the", "pattern", "."], "TS_V_token": ["mips"], "File": "mips4", "Func": "and_operands_ok", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10798, "Length": 38, "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", ";", "}", "{", "while", "(", "processInstruction", "(", "Inst", ",", "Operands", ",", "Out", ")", ")", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Changed to: \"", ";", "Inst", ".", "dump_pretty", "(", "dbgs", "(", ")", ",", "MII", ".", "getName", "(", "Inst", ".", "getOpcode", "(", ")", ")", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "}", "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\"", "ARM::ITasm", "ARM", "ARM", "0", "\"invalid instruction\"", "ARM", "0", "\"Implement any new match types added!\""], "File": "ARMAsmParser (2)3", "Func": "MatchAndEmitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10799, "Length": 346, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "xstormy16_print_operand_address", "(", "FILE", "*", "file", ",", "rtx", "address", ")", "{", "HOST_WIDE_INT", "offset", ";", "int", "pre_dec", ",", "post_inc", ";", "if", "(", "GET_CODE", "(", "address", ")", "==", "CONST_INT", ")", "{", "fprintf", "(", "file", ",", "HOST_WIDE_INT_PRINT_DEC", ",", "INTVAL", "(", "address", ")", "&", "0xFFFF", ")", ";", "return", ";", "}", "if", "(", "CONSTANT_P", "(", "address", ")", "||", "GET_CODE", "(", "address", ")", "==", "CODE_LABEL", ")", "{", "output_addr_const", "(", "file", ",", "address", ")", ";", "return", ";", "}", "if", "(", "GET_CODE", "(", "address", ")", "==", "PLUS", ")", "{", "gcc_assert", "(", "GET_CODE", "(", "XEXP", "(", "address", ",", "1", ")", ")", "==", "CONST_INT", ")", ";", "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", "(", "GET_CODE", "(", "address", ")", "==", "REG", ")", ";", "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": "stormy163", "Func": "xstormy16_print_operand_address", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10800, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_expand_movmem", "(", "rtx", "*", "operands", ")", "{", "unsigned", "int", "n", ";", "rtx", "dst", "=", "operands", "[", "0", "]", ";", "rtx", "src", "=", "operands", "[", "1", "]", ";", "rtx", "base", ";", "bool", "speed_p", "=", "!", "optimize_function_for_size_p", "(", "cfun", ")", ";", "unsigned", "int", "max_instructions", "=", "(", "speed_p", "?", "15", ":", "AARCH64_CALL_RATIO", ")", "/", "2", ";", "if", "(", "!", "CONST_INT_P", "(", "operands", "[", "2", "]", ")", ")", "return", "false", ";", "n", "=", "UINTVAL", "(", "operands", "[", "2", "]", ")", ";", "if", "(", "(", "(", "n", "/", "16", ")", "+", "(", "n", "%", "16", "?", "2", ":", "0", ")", ")", ">", "max_instructions", ")", "return", "false", ";", "base", "=", "copy_to_mode_reg", "(", "Pmode", ",", "XEXP", "(", "dst", ",", "0", ")", ")", ";", "dst", "=", "adjust_automodify_address", "(", "dst", ",", "VOIDmode", ",", "base", ",", "0", ")", ";", "base", "=", "copy_to_mode_reg", "(", "Pmode", ",", "XEXP", "(", "src", ",", "0", ")", ")", ";", "src", "=", "adjust_automodify_address", "(", "src", ",", "VOIDmode", ",", "base", ",", "0", ")", ";", "if", "(", "n", "<", "4", ")", "{", "if", "(", "n", ">=", "2", ")", "{", "aarch64_copy_one_block_and_progress_pointers", "(", "&", "src", ",", "&", "dst", ",", "HImode", ")", ";", "n", "-=", "2", ";", "}", "if", "(", "n", "==", "1", ")", "aarch64_copy_one_block_and_progress_pointers", "(", "&", "src", ",", "&", "dst", ",", "QImode", ")", ";", "return", "true", ";", "}", "if", "(", "n", "<", "8", ")", "{", "aarch64_copy_one_block_and_progress_pointers", "(", "&", "src", ",", "&", "dst", ",", "SImode", ")", ";", "n", "-=", "4", ";", "if", "(", "n", ">", "0", ")", "{", "int", "move", "=", "n", "-", "4", ";", "src", "=", "aarch64_move_pointer", "(", "src", ",", "move", ")", ";", "dst", "=", "aarch64_move_pointer", "(", "dst", ",", "move", ")", ";", "aarch64_copy_one_block_and_progress_pointers", "(", "&", "src", ",", "&", "dst", ",", "SImode", ")", ";", "}", "return", "true", ";", "}", "while", "(", "n", ">=", "8", ")", "{", "if", "(", "n", "/", "16", ")", "{", "aarch64_copy_one_block_and_progress_pointers", "(", "&", "src", ",", "&", "dst", ",", "TImode", ")", ";", "n", "-=", "16", ";", "}", "else", "{", "aarch64_copy_one_block_and_progress_pointers", "(", "&", "src", ",", "&", "dst", ",", "DImode", ")", ";", "n", "-=", "8", ";", "}", "}", "if", "(", "n", "==", "0", ")", "return", "true", ";", "else", "if", "(", "n", "==", "1", ")", "aarch64_copy_one_block_and_progress_pointers", "(", "&", "src", ",", "&", "dst", ",", "QImode", ")", ";", "else", "if", "(", "n", "==", "2", ")", "aarch64_copy_one_block_and_progress_pointers", "(", "&", "src", ",", "&", "dst", ",", "HImode", ")", ";", "else", "if", "(", "n", "==", "4", ")", "aarch64_copy_one_block_and_progress_pointers", "(", "&", "src", ",", "&", "dst", ",", "SImode", ")", ";", "else", "{", "if", "(", "n", "==", "3", ")", "{", "src", "=", "aarch64_move_pointer", "(", "src", ",", "-", "1", ")", ";", "dst", "=", "aarch64_move_pointer", "(", "dst", ",", "-", "1", ")", ";", "aarch64_copy_one_block_and_progress_pointers", "(", "&", "src", ",", "&", "dst", ",", "SImode", ")", ";", "}", "else", "{", "int", "move", "=", "n", "-", "8", ";", "src", "=", "aarch64_move_pointer", "(", "src", ",", "move", ")", ";", "dst", "=", "aarch64_move_pointer", "(", "dst", ",", "move", ")", ";", "aarch64_copy_one_block_and_progress_pointers", "(", "&", "src", ",", "&", "dst", ",", "DImode", ")", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Expand", "movmem", ",", "as", "if", "from", "a", "__builtin_memcpy", ".", "Return", "true", "if", "we", "succeed", ",", "otherwise", "return", "false", "."], "TS_V_token": ["aarch64", "0", "1", "15", "2", "2", "2", "16", "16", "2", "0", "0", "0", "0", "0", "4", "2", "2", "1", "8", "4", "0", "4", "8", "16", "16", "8", "0", "1", "2", "4", "3", "1", "1", "8"], "File": "aarch642", "Func": "aarch64_expand_movmem", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10801, "Length": 475, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "const", "SDLoc", "&", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "if", "(", "Subtarget", ".", "isAIXABI", "(", ")", ")", "return", "LowerFormalArguments_AIX", "(", "Chain", ",", "CallConv", ",", "isVarArg", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";", "if", "(", "Subtarget", ".", "is64BitELFABI", "(", ")", ")", "return", "LowerFormalArguments_64SVR4", "(", "Chain", ",", "CallConv", ",", "isVarArg", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";", "if", "(", "Subtarget", ".", "is32BitELFABI", "(", ")", ")", "return", "LowerFormalArguments_32SVR4", "(", "Chain", ",", "CallConv", ",", "isVarArg", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";", "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"], "File": "PPCISelLowering100", "Func": "LowerFormalArguments", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10802, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "OpenRISCInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["OpenRISC", "OpenRISC"], "File": "OpenRISCTargetMachine", "Func": "getInstrInfo", "Target": "OpenRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10803, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64AdvSIMDScalar", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "mf", ")", "{", "bool", "Changed", "=", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** ARM64AdvSIMDScalar *****\\n\"", ")", ";", "const", "TargetMachine", "&", "TM", "=", "mf", ".", "getTarget", "(", ")", ";", "MRI", "=", "&", "mf", ".", "getRegInfo", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "ARM64InstrInfo", "*", ">", "(", "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": ["ARM64", "ARM64", "\"***** ARM64AdvSIMDScalar *****\\n\"", "ARM64"], "File": "ARM64AdvSIMDScalarPass1", "Func": "runOnMachineFunction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10804, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XNCMFrameLowering", "::", "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": ["XNCM", "XNCM"], "File": "XNCMFrameLowering", "Func": "hasFP", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10805, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "std", "::", "unique_ptr", "<", "ARMOperand", ">", "CreateReg", "(", "unsigned", "RegNum", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{", "auto", "Op", "=", "std", "::", "make_unique", "<", "ARMOperand", ">", "(", "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": ["ARM", "ARM", "ARM"], "File": "ARMAsmParser (2)3", "Func": "CreateReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10806, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_split_compare_and_swap", "(", "rtx", "retval", ",", "rtx", "mem", ",", "rtx", "oldval", ",", "rtx", "newval", ",", "rtx", "scratch", ")", "{", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "rtx", "label1", ",", "label2", ",", "x", ",", "cond", "=", "gen_rtx_REG", "(", "CCmode", ",", "CR0_REGNO", ")", ";", "emit_insn", "(", "gen_memory_barrier", "(", ")", ")", ";", "label1", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "gen_label_rtx", "(", ")", ")", ";", "label2", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "gen_label_rtx", "(", ")", ")", ";", "emit_label", "(", "XEXP", "(", "label1", ",", "0", ")", ")", ";", "emit_load_locked", "(", "mode", ",", "retval", ",", "mem", ")", ";", "x", "=", "gen_rtx_COMPARE", "(", "CCmode", ",", "retval", ",", "oldval", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "cond", ",", "x", ")", ")", ";", "x", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "cond", ",", "const0_rtx", ")", ";", "emit_unlikely_jump", "(", "x", ",", "label2", ")", ";", "emit_move_insn", "(", "scratch", ",", "newval", ")", ";", "emit_store_conditional", "(", "mode", ",", "cond", ",", "mem", ",", "scratch", ")", ";", "x", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "cond", ",", "const0_rtx", ")", ";", "emit_unlikely_jump", "(", "x", ",", "label1", ")", ";", "emit_insn", "(", "gen_isync", "(", ")", ")", ";", "emit_label", "(", "XEXP", "(", "label2", ",", "0", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "an", "atomic", "compare", "and", "swap", "operation", ".", "MEM", "is", "the", "memory", "on", "which", "to", "operate", ".", "OLDVAL", "is", "the", "old", "value", "to", "be", "compared", ".", "NEWVAL", "is", "the", "new", "value", "to", "be", "stored", ".", "SCRATCH", "is", "a", "scratch", "GPR", "."], "TS_V_token": ["rs6000", "0", "0"], "File": "rs60003", "Func": "rs6000_split_compare_and_swap", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10807, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "scalar_chain", "::", "analyze_register_chain", "(", "bitmap", "candidates", ",", "df_ref", "ref", ")", "{", "df_link", "*", "chain", ";", "gcc_assert", "(", "bitmap_bit_p", "(", "insns", ",", "DF_REF_INSN_UID", "(", "ref", ")", ")", "||", "bitmap_bit_p", "(", "candidates", ",", "DF_REF_INSN_UID", "(", "ref", ")", ")", ")", ";", "add_to_queue", "(", "DF_REF_INSN_UID", "(", "ref", ")", ")", ";", "for", "(", "chain", "=", "DF_REF_CHAIN", "(", "ref", ")", ";", "chain", ";", "chain", "=", "chain", "->", "next", ")", "{", "unsigned", "uid", "=", "DF_REF_INSN_UID", "(", "chain", "->", "ref", ")", ";", "if", "(", "!", "NONDEBUG_INSN_P", "(", "DF_REF_INSN", "(", "chain", "->", "ref", ")", ")", ")", "continue", ";", "if", "(", "!", "DF_REF_REG_MEM_P", "(", "chain", "->", "ref", ")", ")", "{", "if", "(", "bitmap_bit_p", "(", "insns", ",", "uid", ")", ")", "continue", ";", "if", "(", "bitmap_bit_p", "(", "candidates", ",", "uid", ")", ")", "{", "add_to_queue", "(", "uid", ")", ";", "continue", ";", "}", "}", "if", "(", "DF_REF_REG_DEF_P", "(", "chain", "->", "ref", ")", ")", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\" r%d def in insn %d isn't convertible\\n\"", ",", "DF_REF_REGNO", "(", "chain", "->", "ref", ")", ",", "uid", ")", ";", "mark_dual_mode_def", "(", "chain", "->", "ref", ")", ";", "}", "else", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\" r%d use in insn %d isn't convertible\\n\"", ",", "DF_REF_REGNO", "(", "chain", "->", "ref", ")", ",", "uid", ")", ";", "mark_dual_mode_def", "(", "ref", ")", ";", "}", "}", "}", ""], "natrual_language": ["Check", "REF", "'s", "chain", "to", "add", "new", "insns", "into", "a", "queue", "and", "find", "registers", "requiring", "conversion", ".", "Return", "true", "if", "OK", ",", "false", "if", "the", "analysis", "was", "aborted", "."], "TS_V_token": ["i386", "\" r%d def in insn %d isn't convertible\\n\"", "\" r%d use in insn %d isn't convertible\\n\""], "File": "i386-features", "Func": "analyze_register_chain", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10808, "Length": 199, "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": 10809, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isIntDivCheap", "(", "EVT", "VT", ",", "AttributeList", "Attr", ")", "const", "{", "bool", "OptSize", "=", "Attr", ".", "hasFnAttribute", "(", "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": ["AArch64", "AArch64"], "File": "AArch64ISelLowering10", "Func": "isIntDivCheap", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10810, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_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", "(", ")", ";", "rs6000_previous_fndecl", "=", "NULL_TREE", ";", "}", ""], "natrual_language": ["Restore", "target", "'s", "globals", "from", "NEW_TREE", "and", "invalidate", "the", "rs6000_previous_fndecl", "cache", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_activate_target_options", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10811, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_gen_compare_reg_maybe_ze", "(", "RTX_CODE", "code", ",", "rtx", "x", ",", "rtx", "y", ",", "machine_mode", "y_mode", ")", "{", "if", "(", "y_mode", "==", "E_QImode", "||", "y_mode", "==", "E_HImode", ")", "{", "if", "(", "CONST_INT_P", "(", "y", ")", ")", "{", "y", "=", "GEN_INT", "(", "INTVAL", "(", "y", ")", "&", "GET_MODE_MASK", "(", "y_mode", ")", ")", ";", "y_mode", "=", "SImode", ";", "}", "else", "{", "rtx", "t", ",", "cc_reg", ";", "machine_mode", "cc_mode", ";", "t", "=", "gen_rtx_ZERO_EXTEND", "(", "SImode", ",", "y", ")", ";", "t", "=", "gen_rtx_COMPARE", "(", "CC_SWPmode", ",", "t", ",", "x", ")", ";", "cc_mode", "=", "CC_SWPmode", ";", "cc_reg", "=", "gen_rtx_REG", "(", "cc_mode", ",", "CC_REGNUM", ")", ";", "emit_set_insn", "(", "cc_reg", ",", "t", ")", ";", "return", "cc_reg", ";", "}", "}", "if", "(", "!", "aarch64_plus_operand", "(", "y", ",", "y_mode", ")", ")", "y", "=", "force_reg", "(", "y_mode", ",", "y", ")", ";", "return", "aarch64_gen_compare_reg", "(", "code", ",", "x", ",", "y", ")", ";", "}", ""], "natrual_language": ["Similarly", ",", "but", "maybe", "zero-extend", "Y", "if", "Y_MODE", "<", "SImode", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_gen_compare_reg_maybe_ze", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10812, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "PPCDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "OS", ",", "raw_ostream", "&", "CS", ")", "const", "{", "Size", "=", "4", ";", "if", "(", "Bytes", ".", "size", "(", ")", "<", "4", ")", "{", "Size", "=", "0", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "uint32_t", "Inst", "=", "(", "Bytes", "[", "0", "]", "<<", "24", ")", "|", "(", "Bytes", "[", "1", "]", "<<", "16", ")", "|", "(", "Bytes", "[", "2", "]", "<<", "8", ")", "|", "(", "Bytes", "[", "3", "]", "<<", "0", ")", ";", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "PPC", "::", "FeatureQPX", "]", ")", "{", "DecodeStatus", "result", "=", "decodeInstruction", "(", "DecoderTableQPX32", ",", "MI", ",", "Inst", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "result", "!=", "MCDisassembler", "::", "Fail", ")", "return", "result", ";", "MI", ".", "clear", "(", ")", ";", "}", "return", "decodeInstruction", "(", "DecoderTable32", ",", "MI", ",", "Inst", ",", "Address", ",", "this", ",", "STI", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["PowerPC", "PPC", "4", "4", "0", "0", "24", "1", "16", "2", "8", "3", "0", "PPC::FeatureQPX"], "File": "PPCDisassembler28", "Func": "getInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10813, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "LLT", "Ty", ",", "unsigned", "AddrSpace", ",", "unsigned", "Align", ",", "MachineMemOperand", "::", "Flags", "Flags", ",", "bool", "*", "Fast", ")", "const", "{", "if", "(", "Subtarget", "->", "requiresStrictAlign", "(", ")", ")", "return", "false", ";", "if", "(", "Fast", ")", "{", "*", "Fast", "=", "!", "Subtarget", "->", "isMisaligned128StoreSlow", "(", ")", "||", "Ty", ".", "getSizeInBytes", "(", ")", "!=", "16", "||", "Align", "<=", "2", "||", "Ty", "==", "LLT", "::", "vector", "(", "2", ",", "64", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["AArch64", "AArch64", "16", "2", "2", "64"], "File": "AArch64ISelLowering (2)3", "Func": "allowsMisalignedMemoryAccesses", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10814, "Length": 79, "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": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_constant_alignment", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10815, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZRegisterInfo", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetFrameInfo", "&", "TFI", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "prior", "(", "MBB", ".", "end", "(", ")", ")", ";", "SystemZMachineFunctionInfo", "*", "SystemZMFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "unsigned", "RetOpcode", "=", "MBBI", "->", "getOpcode", "(", ")", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "switch", "(", "RetOpcode", ")", "{", "case", "SystemZ", "::", "RET", ":", "break", ";", "default", ":", "assert", "(", "0", "&&", "\"Can only insert epilog into returning blocks\"", ")", ";", "}", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", "-", "SystemZMFI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "uint64_t", "NumBytes", "=", "StackSize", "-", "TFI", ".", "getOffsetOfLocalArea", "(", ")", ";", "while", "(", "MBBI", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "MachineBasicBlock", "::", "iterator", "PI", "=", "prior", "(", "MBBI", ")", ";", "--", "MBBI", ";", "if", "(", "!", "PI", "->", "getDesc", "(", ")", ".", "isTerminator", "(", ")", ")", "break", ";", "}", "if", "(", "StackSize", "||", "MFI", "->", "hasCalls", "(", ")", ")", "{", "assert", "(", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "SystemZ", "::", "MOV64rmm", "||", "MBBI", "->", "getOpcode", "(", ")", "==", "SystemZ", "::", "MOV64rm", ")", "&&", "\"Expected to see callee-save register restore code\"", ")", ";", "assert", "(", "MF", ".", "getRegInfo", "(", ")", ".", "isPhysRegUsed", "(", "SystemZ", "::", "R15D", ")", "&&", "\"Invalid stack frame calculation!\"", ")", ";", "unsigned", "i", "=", "0", ";", "MachineInstr", "&", "MI", "=", "*", "MBBI", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isImm", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Unexpected restore code!\"", ")", ";", "}", "uint64_t", "Offset", "=", "NumBytes", "+", "MI", ".", "getOperand", "(", "i", ")", ".", "getImm", "(", ")", ";", "if", "(", "Offset", ">", "524287", ")", "{", "NumBytes", "=", "Offset", "-", "524287", ";", "Offset", "=", "524287", ";", "emitSPUpdate", "(", "MBB", ",", "MBBI", ",", "NumBytes", ",", "TII", ")", ";", "}", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ::RET", "0", "\"Can only insert epilog into returning blocks\"", "SystemZ", "SystemZ::MOV64rmm", "SystemZ::MOV64rm", "\"Expected to see callee-save register restore code\"", "SystemZ::R15D", "\"Invalid stack frame calculation!\"", "0", "\"Unexpected restore code!\"", "524287", "524287", "524287"], "File": "SystemZRegisterInfo37", "Func": "emitEpilogue", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10816, "Length": 334, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isCall", "(", "const", "MCInst", "&", "MI", ",", "bool", "*", "IsIndirectCall", ")", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "*", "IsIndirectCall", "=", "false", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "false", ";", "case", "Mips", "::", "JAL", ":", "case", "Mips", "::", "BAL", ":", "case", "Mips", "::", "BAL_BR", ":", "case", "Mips", "::", "BLTZAL", ":", "case", "Mips", "::", "BGEZAL", ":", "return", "true", ";", "case", "Mips", "::", "JALR", ":", "assert", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "isReg", "(", ")", ")", ";", "if", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "Mips", "::", "ZERO", ")", "return", "false", ";", "*", "IsIndirectCall", "=", "true", ";", "return", "true", ";", "}", "}", ""], "natrual_language": ["Is", "a", "function", "call", "."], "TS_V_token": ["Mips", "Mips::JAL", "Mips::BAL", "Mips::BAL_BR", "Mips::BLTZAL", "Mips::BGEZAL", "Mips::JALR", "0", "0", "Mips::ZERO"], "File": "MipsNaClELFStreamer", "Func": "isCall", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10817, "Length": 114, "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", ",", "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", ";", "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", "(", "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", ";", "}", "*", "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": "ia644", "Func": "ia64_expand_compare", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10818, "Length": 488, "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": 10819, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_base_register_rtx_p", "(", "rtx", "x", ",", "bool", "strict_p", ")", "{", "if", "(", "!", "strict_p", "&&", "GET_CODE", "(", "x", ")", "==", "SUBREG", "&&", "contains_reg_of_mode", "[", "GENERAL_REGS", "]", "[", "GET_MODE", "(", "SUBREG_REG", "(", "x", ")", ")", "]", ")", "x", "=", "SUBREG_REG", "(", "x", ")", ";", "return", "(", "REG_P", "(", "x", ")", "&&", "aarch64_regno_ok_for_base_p", "(", "REGNO", "(", "x", ")", ",", "strict_p", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "valid", "base", "register", "for", "mode", "MODE", ".", "STRICT_P", "is", "true", "if", "REG_OK_STRICT", "is", "in", "effect", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_base_register_rtx_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10820, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "resolveFrameIndex", "(", "MachineInstr", "&", "MI", ",", "unsigned", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "ARMBaseInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "int", "Off", "=", "Offset", ";", "unsigned", "i", "=", "0", ";", "assert", "(", "!", "AFI", "->", "isThumb1OnlyFunction", "(", ")", "&&", "\"This resolveFrameIndex does not support Thumb1!\"", ")", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "bool", "Done", "=", "false", ";", "if", "(", "!", "AFI", "->", "isThumbFunction", "(", ")", ")", "Done", "=", "rewriteARMFrameIndex", "(", "MI", ",", "i", ",", "BaseReg", ",", "Off", ",", "TII", ")", ";", "else", "{", "assert", "(", "AFI", "->", "isThumb2Function", "(", ")", ")", ";", "Done", "=", "rewriteT2FrameIndex", "(", "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", "ARM", "0", "\"This resolveFrameIndex does not support Thumb1!\"", "\"Instr doesn't have FrameIndex operand!\"", "ARM", "\"Unable to resolve frame index!\""], "File": "ARMBaseRegisterInfo10", "Func": "resolveFrameIndex", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10821, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "shouldExpandAtomicLoadInIR", "(", "LoadInst", "*", "LI", ")", "const", "{", "unsigned", "Size", "=", "LI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "return", "Size", "==", "128", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "(", "atomic", ")", "load", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "."], "TS_V_token": ["AArch64", "AArch64", "128"], "File": "AArch64ISelLowering116", "Func": "shouldExpandAtomicLoadInIR", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10822, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SICFrameLowering", "::", "hasReservedCallFrame", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "isUInt", "<", "12", ">", "(", "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": ["SIC", "SIC", "12"], "File": "SICFrameLowering", "Func": "hasReservedCallFrame", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10823, "Length": 48, "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", ")", ",", "PICStyle", "(", "PICStyles", "::", "None", ")", ",", "X86SSELevel", "(", "NoMMXSSE", ")", ",", "X863DNowLevel", "(", "NoThreeDNow", ")", ",", "HasCMov", "(", "false", ")", ",", "HasX86_64", "(", "false", ")", ",", "HasPOPCNT", "(", "false", ")", ",", "HasSSE4A", "(", "false", ")", ",", "HasAVX", "(", "false", ")", ",", "HasAVX2", "(", "false", ")", ",", "HasAES", "(", "false", ")", ",", "HasCLMUL", "(", "false", ")", ",", "HasFMA3", "(", "false", ")", ",", "HasFMA4", "(", "false", ")", ",", "HasMOVBE", "(", "false", ")", ",", "HasRDRAND", "(", "false", ")", ",", "HasF16C", "(", "false", ")", ",", "HasFSGSBase", "(", "false", ")", ",", "HasLZCNT", "(", "false", ")", ",", "HasBMI", "(", "false", ")", ",", "HasBMI2", "(", "false", ")", ",", "IsBTMemSlow", "(", "false", ")", ",", "IsUAMemFast", "(", "false", ")", ",", "HasVectorUAMem", "(", "false", ")", ",", "HasCmpxchg16b", "(", "false", ")", ",", "stackAlignment", "(", "8", ")", ",", "MaxInlineSizeThreshold", "(", "128", ")", ",", "TargetTriple", "(", "TT", ")", ",", "In64BitMode", "(", "is64Bit", ")", "{", "if", "(", "!", "FS", ".", "empty", "(", ")", "||", "!", "CPU", ".", "empty", "(", ")", ")", "{", "std", "::", "string", "CPUName", "=", "CPU", ";", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "{", "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", "{", "AutoDetectSubtargetFeatures", "(", ")", ";", "if", "(", "In64BitMode", ")", "{", "HasX86_64", "=", "true", ";", "ToggleFeature", "(", "X86", "::", "Feature64Bit", ")", ";", "HasCMov", "=", "true", ";", "ToggleFeature", "(", "X86", "::", "FeatureCMOV", ")", ";", "if", "(", "!", "HasAVX", "&&", "X86SSELevel", "<", "SSE2", ")", "{", "X86SSELevel", "=", "SSE2", ";", "ToggleFeature", "(", "X86", "::", "FeatureSSE1", ")", ";", "ToggleFeature", "(", "X86", "::", "FeatureSSE2", ")", ";", "}", "}", "}", "if", "(", "In64BitMode", ")", "ToggleFeature", "(", "X86", "::", "Mode64Bit", ")", ";", "if", "(", "HasAVX", ")", "X86SSELevel", "=", "NoMMXSSE", ";", "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", "(", "EnableSegmentedStacks", "&&", "!", "isTargetELF", "(", ")", ")", "report_fatal_error", "(", "\"Segmented stacks are only implemented on ELF.\"", ")", ";", "if", "(", "StackAlignOverride", ")", "stackAlignment", "=", "StackAlignOverride", ";", "else", "if", "(", "isTargetDarwin", "(", ")", "||", "isTargetFreeBSD", "(", ")", "||", "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", "8", "128", "\"generic\"", "\"+64bit,+sse2,\"", "\"+64bit,+sse2\"", "X86", "X86::Feature64Bit", "X86::FeatureCMOV", "X86", "X86", "X86::FeatureSSE1", "X86::FeatureSSE2", "X86::Mode64Bit", "X86", "\"Subtarget features: SSELevel \"", "X86", "\", 3DNowLevel \"", "X86", "\", 64bit \"", "X86", "\"\\n\"", "X86", "\"64-bit code requested on a subtarget that doesn't support it!\"", "\"Segmented stacks are only implemented on ELF.\"", "16"], "File": "X86Subtarget94", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10824, "Length": 434, "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", "delay", ",", "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", ")", ";", "output_restore", "(", "pat", ")", ";", "PATTERN", "(", "delay", ")", "=", "gen_blockage", "(", ")", ";", "INSN_CODE", "(", "delay", ")", "=", "-", "1", ";", "}", "}", "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", "\"return\\t%%i7+%)\\n\\t nop\"", "\"jmp\\t%%i7+%)\\n\\t restore\"", "\"restore\\n\\tjmp\\t%%o7+%)\\n\\t nop\"", "\"\""], "File": "sparc4", "Func": "output_return", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10825, "Length": 231, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isAddImmediate", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "*", "&", "Destination", ",", "const", "MachineOperand", "*", "&", "Source", ",", "int64_t", "&", "Offset", ")", "const", "{", "int", "Sign", "=", "1", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "AArch64", "::", "SUBWri", ":", "case", "AArch64", "::", "SUBXri", ":", "case", "AArch64", "::", "SUBSWri", ":", "case", "AArch64", "::", "SUBSXri", ":", "Sign", "*=", "-", "1", ";", "LLVM_FALLTHROUGH", ";", "case", "AArch64", "::", "ADDSWri", ":", "case", "AArch64", "::", "ADDSXri", ":", "case", "AArch64", "::", "ADDWri", ":", "case", "AArch64", "::", "ADDXri", ":", "{", "if", "(", "!", "MI", ".", "getOperand", "(", "0", ")", ".", "isReg", "(", ")", "||", "!", "MI", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "||", "!", "MI", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", ")", "return", "false", ";", "Source", "=", "&", "MI", ".", "getOperand", "(", "1", ")", ";", "Offset", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "*", "Sign", ";", "int", "Shift", "=", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "assert", "(", "(", "Shift", "==", "0", "||", "Shift", "==", "12", ")", "&&", "\"Shift can be either 0 or 12\"", ")", ";", "Offset", "=", "Offset", "<<", "Shift", ";", "}", "}", "Destination", "=", "&", "MI", ".", "getOperand", "(", "0", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["If", "the", "specific", "machine", "instruction", "is", "an", "instruction", "that", "adds", "an", "immediate", "value", "and", "a", "register", ",", "and", "stores", "the", "result", "in", "the", "given", "register", "Reg", ",", "return", "a", "pair", "of", "the", "source", "register", "and", "the", "offset", "which", "has", "been", "added", "."], "TS_V_token": ["AArch64", "AArch64", "1", "AArch64::SUBWri", "AArch64::SUBXri", "AArch64::SUBSWri", "AArch64::SUBSXri", "1", "AArch64::ADDSWri", "AArch64::ADDSXri", "AArch64::ADDWri", "AArch64::ADDXri", "0", "1", "2", "1", "2", "3", "0", "12", "\"Shift can be either 0 or 12\"", "0"], "File": "AArch64InstrInfo23", "Func": "isAddImmediate", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10826, "Length": 212, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZTTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ")", "{", "bool", "HasCall", "=", "false", ";", "unsigned", "NumStores", "=", "0", ";", "for", "(", "auto", "&", "BB", ":", "L", "->", "blocks", "(", ")", ")", "for", "(", "auto", "&", "I", ":", "*", "BB", ")", "{", "if", "(", "isa", "<", "CallInst", ">", "(", "&", "I", ")", "||", "isa", "<", "InvokeInst", ">", "(", "&", "I", ")", ")", "{", "if", "(", "const", "Function", "*", "F", "=", "cast", "<", "CallBase", ">", "(", "I", ")", ".", "getCalledFunction", "(", ")", ")", "{", "if", "(", "isLoweredToCall", "(", "F", ")", ")", "HasCall", "=", "true", ";", "if", "(", "F", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "memcpy", "||", "F", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "memset", ")", "NumStores", "++", ";", "}", "else", "{", "HasCall", "=", "true", ";", "}", "}", "if", "(", "isa", "<", "StoreInst", ">", "(", "&", "I", ")", ")", "{", "Type", "*", "MemAccessTy", "=", "I", ".", "getOperand", "(", "0", ")", "->", "getType", "(", ")", ";", "NumStores", "+=", "getMemoryOpCost", "(", "Instruction", "::", "Store", ",", "MemAccessTy", ",", "None", ",", "0", ")", ";", "}", "}", "unsigned", "const", "Max", "=", "(", "NumStores", "?", "(", "12", "/", "NumStores", ")", ":", "UINT_MAX", ")", ";", "if", "(", "HasCall", ")", "{", "UP", ".", "FullUnrollMaxCount", "=", "Max", ";", "UP", ".", "MaxCount", "=", "1", ";", "return", ";", "}", "UP", ".", "MaxCount", "=", "Max", ";", "if", "(", "UP", ".", "MaxCount", "<=", "1", ")", "return", ";", "UP", ".", "Partial", "=", "UP", ".", "Runtime", "=", "true", ";", "UP", ".", "PartialThreshold", "=", "75", ";", "UP", ".", "DefaultUnrollRuntimeCount", "=", "4", ";", "UP", ".", "AllowExpensiveTripCount", "=", "true", ";", "UP", ".", "Force", "=", "true", ";", "}", ""], "natrual_language": ["Get", "target-customized", "preferences", "for", "the", "generic", "loop", "unrolling", "transformation", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "Intrinsic::memcpy", "Intrinsic::memset", "0", "0", "12", "1", "1", "75", "4"], "File": "SystemZTargetTransformInfo28", "Func": "getUnrollingPreferences", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10827, "Length": 269, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"PowerPC Branch Selector\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["PowerPC", "\"PowerPC Branch Selector\""], "File": "PPCBranchSelector1", "Func": "getPassName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10828, "Length": 13, "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": 10829, "Length": 269, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "general_or_i64_p", "(", "reg_class_t", "rclass", ")", "{", "return", "(", "rclass", "==", "GENERAL_REGS", "||", "rclass", "==", "I64_REGS", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "CLASS", "is", "either", "GENERAL_REGS", "or", "I64_REGS", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "general_or_i64_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10830, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "mips_std_gimplify_va_arg_expr", "(", "tree", "valist", ",", "tree", "type", ",", "gimple_seq", "*", "pre_p", ",", "gimple_seq", "*", "post_p", ")", "{", "tree", "addr", ",", "t", ",", "type_size", ",", "rounded_size", ",", "valist_tmp", ";", "unsigned", "HOST_WIDE_INT", "align", ",", "boundary", ";", "bool", "indirect", ";", "indirect", "=", "pass_by_reference", "(", "NULL", ",", "TYPE_MODE", "(", "type", ")", ",", "type", ",", "false", ")", ";", "if", "(", "indirect", ")", "type", "=", "build_pointer_type", "(", "type", ")", ";", "align", "=", "PARM_BOUNDARY", "/", "BITS_PER_UNIT", ";", "boundary", "=", "targetm", ".", "calls", ".", "function_arg_boundary", "(", "TYPE_MODE", "(", "type", ")", ",", "type", ")", ";", "if", "(", "boundary", ">", "MAX_SUPPORTED_STACK_ALIGNMENT", ")", "boundary", "=", "MAX_SUPPORTED_STACK_ALIGNMENT", ";", "boundary", "/=", "BITS_PER_UNIT", ";", "valist_tmp", "=", "get_initialized_tmp_var", "(", "valist", ",", "pre_p", ",", "NULL", ")", ";", "if", "(", "boundary", ">", "align", ")", "{", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "valist", ")", ",", "valist_tmp", ",", "fold_build_pointer_plus_hwi", "(", "valist_tmp", ",", "boundary", "-", "1", ")", ")", ";", "gimplify_and_add", "(", "t", ",", "pre_p", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "valist", ")", ",", "valist_tmp", ",", "fold_build2", "(", "BIT_AND_EXPR", ",", "TREE_TYPE", "(", "valist", ")", ",", "valist_tmp", ",", "build_int_cst", "(", "TREE_TYPE", "(", "valist", ")", ",", "-", "boundary", ")", ")", ")", ";", "gimplify_and_add", "(", "t", ",", "pre_p", ")", ";", "}", "else", "boundary", "=", "align", ";", "boundary", "*=", "BITS_PER_UNIT", ";", "if", "(", "boundary", "<", "TYPE_ALIGN", "(", "type", ")", ")", "{", "type", "=", "build_variant_type_copy", "(", "type", ")", ";", "SET_TYPE_ALIGN", "(", "type", ",", "boundary", ")", ";", "}", "type_size", "=", "size_in_bytes", "(", "type", ")", ";", "rounded_size", "=", "round_up", "(", "type_size", ",", "align", ")", ";", "gimplify_expr", "(", "&", "rounded_size", ",", "pre_p", ",", "post_p", ",", "is_gimple_val", ",", "fb_rvalue", ")", ";", "addr", "=", "valist_tmp", ";", "if", "(", "PAD_VARARGS_DOWN", "&&", "!", "integer_zerop", "(", "rounded_size", ")", ")", "{", "t", "=", "fold_build2_loc", "(", "input_location", ",", "GT_EXPR", ",", "sizetype", ",", "rounded_size", ",", "size_int", "(", "align", ")", ")", ";", "t", "=", "fold_build3", "(", "COND_EXPR", ",", "sizetype", ",", "t", ",", "size_zero_node", ",", "size_binop", "(", "MINUS_EXPR", ",", "rounded_size", ",", "type_size", ")", ")", ";", "addr", "=", "fold_build_pointer_plus", "(", "addr", ",", "t", ")", ";", "}", "t", "=", "fold_build_pointer_plus", "(", "valist_tmp", ",", "rounded_size", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "valist", ")", ",", "valist", ",", "t", ")", ";", "gimplify_and_add", "(", "t", ",", "pre_p", ")", ";", "addr", "=", "fold_convert", "(", "build_pointer_type", "(", "type", ")", ",", "addr", ")", ";", "if", "(", "indirect", ")", "addr", "=", "build_va_arg_indirect_ref", "(", "addr", ")", ";", "return", "build_va_arg_indirect_ref", "(", "addr", ")", ";", "}", ""], "natrual_language": ["Like", "std_gimplify_va_arg_expr", ",", "but", "apply", "alignment", "to", "zero-sized", "types", "as", "well", "."], "TS_V_token": ["mips", "1"], "File": "mips6", "Func": "mips_std_gimplify_va_arg_expr", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10831, "Length": 386, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCCTRLoops", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "LI", "=", "&", "getAnalysis", "<", "LoopInfo", ">", "(", ")", ";", "SE", "=", "&", "getAnalysis", "<", "ScalarEvolution", ">", "(", ")", ";", "DT", "=", "&", "getAnalysis", "<", "DominatorTree", ">", "(", ")", ";", "TD", "=", "getAnalysisIfAvailable", "<", "DataLayout", ">", "(", ")", ";", "LibInfo", "=", "getAnalysisIfAvailable", "<", "TargetLibraryInfo", ">", "(", ")", ";", "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": "PPCCTRLoops13", "Func": "runOnFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10832, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "addExpr", "(", "MCInst", "&", "Inst", ",", "const", "MCExpr", "*", "Expr", ")", "const", "{", "if", "(", "Expr", "==", "0", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "0", ")", ")", ";", "else", "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": ["OR1K", "0", "0"], "File": "OR1KAsmParser1", "Func": "addExpr", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10833, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_probe_stack_range", "(", "rtx", "reg1", ",", "rtx", "reg2", ")", "{", "static", "int", "labelno", "=", "0", ";", "char", "loop_lab", "[", "32", "]", ",", "end_lab", "[", "32", "]", ";", "rtx", "xops", "[", "2", "]", ";", "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", "]", "=", "reg1", ";", "xops", "[", "1", "]", "=", "reg2", ";", "if", "(", "TARGET_64BIT", ")", "output_asm_insn", "(", "\"cmpd 0,%0,%1\"", ",", "xops", ")", ";", "else", "output_asm_insn", "(", "\"cmpw 0,%0,%1\"", ",", "xops", ")", ";", "fputs", "(", "\"\\tbeq 0,\"", ",", "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", "(", "\"addi %0,%0,%1\"", ",", "xops", ")", ";", "xops", "[", "1", "]", "=", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ";", "output_asm_insn", "(", "\"stw %1,0(%0)\"", ",", "xops", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tb \"", ")", ";", "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": ["rs6000", "0", "32", "32", "2", "\"LPSRL\"", "\"LPSRE\"", "0", "1", "\"cmpd 0,%0,%1\"", "\"cmpw 0,%0,%1\"", "\"\\tbeq 0,\"", "1", "\"addi %0,%0,%1\"", "1", "0", "\"stw %1,0(%0)\"", "\"\\tb \"", "\"\""], "File": "rs60004", "Func": "output_probe_stack_range", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10834, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "functionArgumentNeedsConsecutiveRegisters", "(", "Type", "*", "Ty", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "DataLayout", "&", "DL", ")", "const", "override", "{", "return", "Ty", "->", "isArrayTy", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "an", "argument", "of", "type", "Ty", "needs", "to", "be", "passed", "in", "a", "contiguous", "block", "of", "registers", "in", "calling", "convention", "CallConv", "."], "TS_V_token": ["PowerPC"], "File": "PPCISelLowering110", "Func": "functionArgumentNeedsConsecutiveRegisters", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10835, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb1FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "Thumb1InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "Thumb1InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "const", "Thumb1RegisterInfo", "*", "RegInfo", "=", "static_cast", "<", "const", "Thumb1RegisterInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "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", ";", "unsigned", "Opc", "=", "Old", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "ARM", "::", "ADJCALLSTACKDOWN", "||", "Opc", "==", "ARM", "::", "tADJCALLSTACKDOWN", ")", "{", "emitSPUpdate", "(", "MBB", ",", "I", ",", "TII", ",", "dl", ",", "*", "RegInfo", ",", "-", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Opc", "==", "ARM", "::", "ADJCALLSTACKUP", "||", "Opc", "==", "ARM", "::", "tADJCALLSTACKUP", ")", ";", "emitSPUpdate", "(", "MBB", ",", "I", ",", "TII", ",", "dl", ",", "*", "RegInfo", ",", "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": ["ARM", "0", "0", "1", "ARM::ADJCALLSTACKDOWN", "ARM::tADJCALLSTACKDOWN", "ARM::ADJCALLSTACKUP", "ARM::tADJCALLSTACKUP"], "File": "Thumb1FrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10836, "Length": 219, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"XNCM Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["XNCM", "\"XNCM Assembly Printer\""], "File": "XNCMAsmPrinter", "Func": "getPassName", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10837, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isZExtFree", "(", "SDValue", "Val", ",", "EVT", "VT2", ")", "const", "{", "if", "(", "Val", ".", "getOpcode", "(", ")", "!=", "ISD", "::", "LOAD", ")", "return", "false", ";", "EVT", "VT1", "=", "Val", ".", "getValueType", "(", ")", ";", "if", "(", "!", "VT1", ".", "isSimple", "(", ")", "||", "!", "VT1", ".", "isInteger", "(", ")", "||", "!", "VT2", ".", "isSimple", "(", ")", "||", "!", "VT2", ".", "isInteger", "(", ")", ")", "return", "false", ";", "switch", "(", "VT1", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "break", ";", "case", "MVT", "::", "i1", ":", "case", "MVT", "::", "i8", ":", "case", "MVT", "::", "i16", ":", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "zero-extending", "the", "specific", "node", "Val", "to", "type", "VT2", "is", "free", "(", "either", "because", "it", "'s", "implicitly", "zero-extended", "such", "as", "ARM", "ldrb", "/", "ldrh", "or", "because", "it", "'s", "folded", "such", "as", "X86", "zero-extending", "loads", ")", "."], "TS_V_token": ["ARM", "ARM", "ISD::LOAD", "MVT::i1", "MVT::i8", "MVT::i16"], "File": "ARMISelLowering (2)", "Func": "isZExtFree", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10838, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isLegalAddressingMode", "(", "const", "AddrMode", "&", "AM", ",", "const", "Type", "*", "Ty", ")", "const", "{", "EVT", "VT", "=", "getValueType", "(", "Ty", ",", "true", ")", ";", "if", "(", "!", "isLegalAddressImmediate", "(", "AM", ".", "BaseOffs", ",", "VT", ",", "Subtarget", ")", ")", "return", "false", ";", "if", "(", "AM", ".", "BaseGV", ")", "return", "false", ";", "switch", "(", "AM", ".", "Scale", ")", "{", "case", "0", ":", "break", ";", "case", "1", ":", "if", "(", "Subtarget", "->", "isThumb1Only", "(", ")", ")", "return", "false", ";", "default", ":", "if", "(", "AM", ".", "BaseOffs", ")", "return", "false", ";", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "if", "(", "Subtarget", "->", "isThumb2", "(", ")", ")", "return", "isLegalT2ScaledAddressingMode", "(", "AM", ",", "VT", ")", ";", "int", "Scale", "=", "AM", ".", "Scale", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "return", "false", ";", "case", "MVT", "::", "i1", ":", "case", "MVT", "::", "i8", ":", "case", "MVT", "::", "i32", ":", "if", "(", "Scale", "<", "0", ")", "Scale", "=", "-", "Scale", ";", "if", "(", "Scale", "==", "1", ")", "return", "true", ";", "return", "isPowerOf2_32", "(", "Scale", "&", "~", "1", ")", ";", "case", "MVT", "::", "i16", ":", "case", "MVT", "::", "i64", ":", "if", "(", "(", "(", "unsigned", ")", "AM", ".", "HasBaseReg", "+", "Scale", ")", "<=", "2", ")", "return", "true", ";", "return", "false", ";", "case", "MVT", "::", "isVoid", ":", "if", "(", "Scale", "&", "1", ")", "return", "false", ";", "return", "isPowerOf2_32", "(", "Scale", ")", ";", "}", "break", ";", "}", "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": ["ARM", "ARM", "0", "1", "MVT::i1", "MVT::i8", "MVT::i32", "0", "1", "1", "MVT::i16", "MVT::i64", "2", "MVT::isVoid", "1"], "File": "ARMISelLowering109", "Func": "isLegalAddressingMode", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10839, "Length": 244, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "unsigned", "VReg", ")", "const", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "Function", "&", "F", "=", "*", "MF", ".", "getFunction", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "MIRBuilder", ".", "buildInstr", "(", "AArch64", "::", "RET_ReallyLR", ")", ";", "assert", "(", "MIB", ".", "getInstr", "(", ")", "&&", "\"Unable to build a return instruction?!\"", ")", ";", "assert", "(", "(", "(", "Val", "&&", "VReg", ")", "||", "(", "!", "Val", "&&", "!", "VReg", ")", ")", "&&", "\"Return value without a vreg\"", ")", ";", "if", "(", "VReg", ")", "{", "MIRBuilder", ".", "setInstr", "(", "*", "MIB", ".", "getInstr", "(", ")", ",", "true", ")", ";", "const", "AArch64TargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "AArch64TargetLowering", ">", "(", ")", ";", "CCAssignFn", "*", "AssignFn", "=", "TLI", ".", "CCAssignFnForReturn", "(", "F", ".", "getCallingConv", "(", ")", ")", ";", "handleAssignments", "(", "MIRBuilder", ",", "AssignFn", ",", "MVT", "::", "getVT", "(", "Val", "->", "getType", "(", ")", ")", ",", "VReg", ",", "[", "&", "]", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "unsigned", "ValReg", ",", "unsigned", "PhysReg", ")", "{", "MIRBuilder", ".", "buildCopy", "(", "PhysReg", ",", "ValReg", ")", ";", "MIB", ".", "addUse", "(", "PhysReg", ",", "RegState", "::", "Implicit", ")", ";", "}", ")", ";", "}", "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": ["AArch64", "AArch64", "AArch64::RET_ReallyLR", "\"Unable to build a return instruction?!\"", "\"Return value without a vreg\"", "AArch64", "AArch64", "MVT::getVT"], "File": "AArch64CallLowering47", "Func": "lowerReturn", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10840, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasFPU", "(", ")", "const", "{", "return", "HasFPU", ";", "}", ""], "natrual_language": ["Floating", "point", "support", "."], "TS_V_token": ["PowerPC"], "File": "PPCSubtarget", "Func": "hasFPU", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10841, "Length": 10, "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": 10842, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "getGlobalBaseReg", "(", "MachineFunction", "*", "MF", ")", "const", "{", "assert", "(", "(", "!", "Subtarget", ".", "is64Bit", "(", ")", "||", "MF", "->", "getTarget", "(", ")", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Medium", "||", "MF", "->", "getTarget", "(", ")", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", ")", "&&", "\"X86-64 PIC uses RIP relative addressing\"", ")", ";", "X86MachineFunctionInfo", "*", "X86FI", "=", "MF", "->", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "unsigned", "GlobalBaseReg", "=", "X86FI", "->", "getGlobalBaseReg", "(", ")", ";", "if", "(", "GlobalBaseReg", "!=", "0", ")", "return", "GlobalBaseReg", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", "->", "getRegInfo", "(", ")", ";", "GlobalBaseReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "Subtarget", ".", "is64Bit", "(", ")", "?", "&", "X86", "::", "GR64_NOSPRegClass", ":", "&", "X86", "::", "GR32_NOSPRegClass", ")", ";", "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-64 PIC uses RIP relative addressing\"", "X86", "X86", "X86", "X86", "0", "X86::GR64_NOSPRegClass", "X86::GR32_NOSPRegClass", "X86"], "File": "X86InstrInfo", "Func": "getGlobalBaseReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10843, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "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": "rs6000-call", "Func": "rs6000_darwin64_record_arg", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10844, "Length": 195, "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": 10845, "Length": 387, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_save_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", "(", "word_mode", ",", "regno", ",", "cfa_offset", ")", ";", "cfa_offset", "-=", "UNITS_PER_WORD", ";", "}", "}", ""], "natrual_language": ["Emit", "code", "to", "save", "registers", "using", "MOV", "insns", ".", "First", "register", "is", "restored", "from", "POINTER", "+", "OFFSET", "."], "TS_V_token": ["i386", "0"], "File": "i3864", "Func": "ix86_emit_save_regs_using_mov", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10846, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZTargetLowering", "::", "LowerAsmOperandForConstraint", "(", "SDValue", "Op", ",", "std", "::", "string", "&", "Constraint", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "Ops", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "Constraint", ".", "length", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'I'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "if", "(", "isUInt", "<", "8", ">", "(", "C", "->", "getZExtValue", "(", ")", ")", ")", "Ops", ".", "push_back", "(", "DAG", ".", "getTargetConstant", "(", "C", "->", "getZExtValue", "(", ")", ",", "Op", ".", "getValueType", "(", ")", ")", ")", ";", "return", ";", "case", "'J'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "if", "(", "isUInt", "<", "12", ">", "(", "C", "->", "getZExtValue", "(", ")", ")", ")", "Ops", ".", "push_back", "(", "DAG", ".", "getTargetConstant", "(", "C", "->", "getZExtValue", "(", ")", ",", "Op", ".", "getValueType", "(", ")", ")", ")", ";", "return", ";", "case", "'K'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "if", "(", "isInt", "<", "16", ">", "(", "C", "->", "getSExtValue", "(", ")", ")", ")", "Ops", ".", "push_back", "(", "DAG", ".", "getTargetConstant", "(", "C", "->", "getSExtValue", "(", ")", ",", "Op", ".", "getValueType", "(", ")", ")", ")", ";", "return", ";", "case", "'L'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "if", "(", "isInt", "<", "20", ">", "(", "C", "->", "getSExtValue", "(", ")", ")", ")", "Ops", ".", "push_back", "(", "DAG", ".", "getTargetConstant", "(", "C", "->", "getSExtValue", "(", ")", ",", "Op", ".", "getValueType", "(", ")", ")", ")", ";", "return", ";", "case", "'M'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "if", "(", "C", "->", "getZExtValue", "(", ")", "==", "0x7fffffff", ")", "Ops", ".", "push_back", "(", "DAG", ".", "getTargetConstant", "(", "C", "->", "getZExtValue", "(", ")", ",", "Op", ".", "getValueType", "(", ")", ")", ")", ";", "return", ";", "}", "}", "TargetLowering", "::", "LowerAsmOperandForConstraint", "(", "Op", ",", "Constraint", ",", "Ops", ",", "DAG", ")", ";", "}", ""], "natrual_language": ["Lower", "the", "specified", "operand", "into", "the", "Ops", "vector", "."], "TS_V_token": ["SystemZ", "SystemZ", "1", "0", "8", "12", "16", "20", "0x7fffffff"], "File": "SystemZISelLowering (2)", "Func": "LowerAsmOperandForConstraint", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10847, "Length": 335, "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", "=", "getMipsRegisterNumbering", "(", "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", "(", ")", ")", ";", "}", "else", "if", "(", "MO", ".", "isExpr", "(", ")", ")", "{", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "MCExpr", "::", "ExprKind", "Kind", "=", "Expr", "->", "getKind", "(", ")", ";", "unsigned", "Ret", "=", "0", ";", "if", "(", "Kind", "==", "MCExpr", "::", "Binary", ")", "{", "const", "MCBinaryExpr", "*", "BE", "=", "static_cast", "<", "const", "MCBinaryExpr", "*", ">", "(", "Expr", ")", ";", "Expr", "=", "BE", "->", "getLHS", "(", ")", ";", "Kind", "=", "Expr", "->", "getKind", "(", ")", ";", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "BE", "->", "getRHS", "(", ")", ")", ";", "assert", "(", "(", "Kind", "==", "MCExpr", "::", "SymbolRef", ")", "&&", "CE", "&&", "\"Binary expression must be sym+const.\"", ")", ";", "Ret", "=", "CE", "->", "getValue", "(", ")", ";", "}", "if", "(", "Kind", "==", "MCExpr", "::", "SymbolRef", ")", "{", "Mips", "::", "Fixups", "FixupKind", ";", "switch", "(", "cast", "<", "MCSymbolRefExpr", ">", "(", "Expr", ")", "->", "getKind", "(", ")", ")", "{", "case", "MCSymbolRefExpr", "::", "VK_Mips_GPREL", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_GPREL16", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_GOT_CALL", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_CALL16", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_GOT16", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_GOT_Global", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_GOT", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_GOT_Local", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_ABS_HI", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_HI16", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_ABS_LO", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_LO16", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_TLSGD", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_TLSGD", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_TLSLDM", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_TLSLDM", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_DTPREL_HI", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_DTPREL_HI", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_DTPREL_LO", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_DTPREL_LO", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_GOTTPREL", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_GOTTPREL", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_TPREL_HI", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_TPREL_HI", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_TPREL_LO", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_TPREL_LO", ";", "break", ";", "default", ":", "return", "Ret", ";", "}", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "0", ",", "Expr", ",", "MCFixupKind", "(", "FixupKind", ")", ")", ")", ";", "}", "return", "Ret", ";", "}", "llvm_unreachable", "(", "\"Unable to encode MCOperand!\"", ")", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["Mips", "Mips", "Mips", "32", "0", "\"Binary expression must be sym+const.\"", "Mips::Fixups", "Mips", "Mips::fixup_Mips_GPREL16", "Mips", "Mips::fixup_Mips_CALL16", "Mips", "Mips::fixup_Mips_GOT_Global", "Mips", "Mips::fixup_Mips_GOT_Local", "Mips", "Mips::fixup_Mips_HI16", "Mips", "Mips::fixup_Mips_LO16", "Mips", "Mips::fixup_Mips_TLSGD", "Mips", "Mips::fixup_Mips_TLSLDM", "Mips", "Mips::fixup_Mips_DTPREL_HI", "Mips", "Mips::fixup_Mips_DTPREL_LO", "Mips", "Mips::fixup_Mips_GOTTPREL", "Mips", "Mips::fixup_Mips_TPREL_HI", "Mips", "Mips::fixup_Mips_TPREL_LO", "0", "\"Unable to encode MCOperand!\""], "File": "MipsMCCodeEmitter48", "Func": "getMachineOpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10848, "Length": 470, "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": 10849, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86ExpandPseudo", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "STI", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "STI", "->", "getRegisterInfo", "(", ")", ";", "X86FI", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "X86FL", "=", "STI", "->", "getFrameLowering", "(", ")", ";", "bool", "Modified", "=", "ExpandPseudosWhichAffectControlFlow", "(", "MF", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "Modified", "|=", "ExpandMBB", "(", "MBB", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86ExpandPseudo11", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10850, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "*", "PPCInstrInfo", "::", "CreateTargetHazardRecognizer", "(", "const", "TargetSubtargetInfo", "*", "STI", ",", "const", "ScheduleDAG", "*", "DAG", ")", "const", "{", "unsigned", "Directive", "=", "static_cast", "<", "const", "PPCSubtarget", "*", ">", "(", "STI", ")", "->", "getCPUDirective", "(", ")", ";", "if", "(", "Directive", "==", "PPC", "::", "DIR_440", "||", "Directive", "==", "PPC", "::", "DIR_A2", "||", "Directive", "==", "PPC", "::", "DIR_E500mc", "||", "Directive", "==", "PPC", "::", "DIR_E5500", ")", "{", "const", "InstrItineraryData", "*", "II", "=", "static_cast", "<", "const", "PPCSubtarget", "*", ">", "(", "STI", ")", "->", "getInstrItineraryData", "(", ")", ";", "return", "new", "ScoreboardHazardRecognizer", "(", "II", ",", "DAG", ")", ";", "}", "return", "TargetInstrInfo", "::", "CreateTargetHazardRecognizer", "(", "STI", ",", "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": ["PowerPC", "PPC", "PPC", "PPC::DIR_440", "PPC::DIR_A2", "PPC::DIR_E500mc", "PPC::DIR_E5500", "PPC"], "File": "PPCInstrInfo", "Func": "CreateTargetHazardRecognizer", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10851, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "*", "PPCInstrInfo", "::", "CreateTargetHazardRecognizer", "(", "const", "TargetMachine", "*", "TM", ",", "const", "ScheduleDAG", "*", "DAG", ")", "const", "{", "unsigned", "Directive", "=", "TM", "->", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "getDarwinDirective", "(", ")", ";", "if", "(", "Directive", "==", "PPC", "::", "DIR_440", "||", "Directive", "==", "PPC", "::", "DIR_A2", ")", "{", "const", "InstrItineraryData", "*", "II", "=", "TM", "->", "getInstrItineraryData", "(", ")", ";", "return", "new", "PPCScoreboardHazardRecognizer", "(", "II", ",", "DAG", ")", ";", "}", "return", "TargetInstrInfoImpl", "::", "CreateTargetHazardRecognizer", "(", "TM", ",", "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": ["PowerPC", "PPC", "PPC", "PPC::DIR_440", "PPC::DIR_A2", "PPC"], "File": "PPCInstrInfo45", "Func": "CreateTargetHazardRecognizer", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10852, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PostRASchedStrategy", "::", "tryCandidate", "(", "SchedCandidate", "&", "Cand", ",", "SchedCandidate", "&", "TryCand", ")", "{", "bool", "OriginalResult", "=", "PostGenericScheduler", "::", "tryCandidate", "(", "Cand", ",", "TryCand", ")", ";", "if", "(", "Cand", ".", "isValid", "(", ")", ")", "{", "MachineInstr", "*", "Instr0", "=", "TryCand", ".", "SU", "->", "getInstr", "(", ")", ";", "MachineInstr", "*", "Instr1", "=", "Cand", ".", "SU", "->", "getInstr", "(", ")", ";", "if", "(", "Instr0", "&&", "Instr1", "&&", "Instr0", "->", "getOpcode", "(", ")", "==", "Instr1", "->", "getOpcode", "(", ")", "&&", "Instr0", "->", "getOpcode", "(", ")", "==", "AArch64", "::", "STPQi", ")", "{", "MachineOperand", "&", "Base0", "=", "Instr0", "->", "getOperand", "(", "2", ")", ";", "MachineOperand", "&", "Base1", "=", "Instr1", "->", "getOperand", "(", "2", ")", ";", "int64_t", "Off0", "=", "Instr0", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "int64_t", "Off1", "=", "Instr1", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "if", "(", "Base0", ".", "isIdenticalTo", "(", "Base1", ")", "&&", "llabs", "(", "Off0", "-", "Off1", ")", ">=", "2", ")", "{", "TryCand", ".", "Reason", "=", "NodeOrder", ";", "return", "Off0", "<", "Off1", ";", "}", "}", "}", "return", "OriginalResult", ";", "}", ""], "natrual_language": ["Apply", "a", "set", "of", "heuristics", "to", "a", "new", "candidate", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::STPQi", "2", "2", "3", "3", "2"], "File": "AArch64MachineScheduler", "Func": "tryCandidate", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10853, "Length": 175, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "xstormy16_libcall_value", "(", "machine_mode", "mode", ",", "const_rtx", "fun", "ATTRIBUTE_UNUSED", ")", "{", "return", "gen_rtx_REG", "(", "mode", ",", "RETURN_VALUE_REGNUM", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_LIBCALL_VALUE", "."], "TS_V_token": ["stormy16"], "File": "stormy16", "Func": "xstormy16_libcall_value", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10854, "Length": 21, "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": 10855, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "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", "=", "ResolveFrameIndexReference", "(", "MF", ",", "FrameIndex", ",", "FrameReg", ",", "SPAdj", ")", ";", "if", "(", "MI", ".", "isDebugValue", "(", ")", ")", "{", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "FrameReg", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "return", ";", "}", "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", ";", "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", "(", "!", "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", ")", ";", "}", "}", ""], "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!\"", "1", "ARM", "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"], "File": "ARMBaseRegisterInfo29", "Func": "eliminateFrameIndex", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10856, "Length": 491, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "Cpu0FunctionInfo", "*", "Cpu0FI", "=", "MF", ".", "getInfo", "<", "Cpu0FunctionInfo", ">", "(", ")", ";", "const", "Cpu0InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "Cpu0InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "SP", "=", "Cpu0", "::", "SP", ";", "unsigned", "FP", "=", "Cpu0", "::", "FP", ";", "unsigned", "ZERO", "=", "Cpu0", "::", "ZERO", ";", "unsigned", "ADDu", "=", "Cpu0", "::", "ADDu", ";", "unsigned", "ADDiu", "=", "Cpu0", "::", "ADDiu", ";", "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", ")", ";", "}", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "!", "StackSize", ")", "return", ";", "if", "(", "isInt", "<", "16", ">", "(", "StackSize", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ADDiu", ")", ",", "SP", ")", ".", "addReg", "(", "SP", ")", ".", "addImm", "(", "StackSize", ")", ";", "else", "{", "Cpu0FI", "->", "setEmitNOAT", "(", ")", ";", "expandLargeImm", "(", "SP", ",", "StackSize", ",", "TII", ",", "MBB", ",", "MBBI", ",", "dl", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0::SP", "Cpu0::FP", "Cpu0::ZERO", "Cpu0::ADDu", "Cpu0::ADDiu", "0", "16", "Cpu0"], "File": "Cpu0FrameLowering1", "Func": "emitEpilogue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10857, "Length": 265, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_movw_imm", "(", "HOST_WIDE_INT", "val", ",", "scalar_int_mode", "mode", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "4", ")", "{", "if", "(", "(", "val", "&", "(", "(", "(", "HOST_WIDE_INT", ")", "0xffff", ")", "<<", "32", ")", ")", "==", "val", "||", "(", "val", "&", "(", "(", "(", "HOST_WIDE_INT", ")", "0xffff", ")", "<<", "48", ")", ")", "==", "val", ")", "return", "1", ";", "}", "else", "{", "val", "&=", "(", "HOST_WIDE_INT", ")", "0xffffffff", ";", "}", "return", "(", "(", "val", "&", "(", "(", "(", "HOST_WIDE_INT", ")", "0xffff", ")", "<<", "0", ")", ")", "==", "val", "||", "(", "val", "&", "(", "(", "(", "HOST_WIDE_INT", ")", "0xffff", ")", "<<", "16", ")", ")", "==", "val", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "val", "is", "an", "immediate", "that", "can", "be", "loaded", "into", "a", "register", "by", "a", "MOVZ", "instruction", "."], "TS_V_token": ["aarch64", "4", "0xffff", "32", "0xffff", "48", "1", "0xffffffff", "0xffff", "0", "0xffff", "16"], "File": "aarch64", "Func": "aarch64_movw_imm", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10858, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZShortenInst", "::", "processBlock", "(", "MachineBasicBlock", "&", "MBB", ")", "{", "bool", "Changed", "=", "false", ";", "LiveRegs", ".", "clear", "(", ")", ";", "LiveRegs", ".", "addLiveOuts", "(", "&", "MBB", ")", ";", "for", "(", "auto", "MBBI", "=", "MBB", ".", "rbegin", "(", ")", ",", "MBBE", "=", "MBB", ".", "rend", "(", ")", ";", "MBBI", "!=", "MBBE", ";", "++", "MBBI", ")", "{", "MachineInstr", "&", "MI", "=", "*", "MBBI", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "SystemZ", "::", "IILF", ":", "Changed", "|=", "shortenIIF", "(", "MI", ",", "SystemZ", "::", "LLILL", ",", "SystemZ", "::", "LLILH", ")", ";", "break", ";", "case", "SystemZ", "::", "IIHF", ":", "Changed", "|=", "shortenIIF", "(", "MI", ",", "SystemZ", "::", "LLIHL", ",", "SystemZ", "::", "LLIHH", ")", ";", "break", ";", "case", "SystemZ", "::", "WFADB", ":", "Changed", "|=", "shortenOn001AddCC", "(", "MI", ",", "SystemZ", "::", "ADBR", ")", ";", "break", ";", "case", "SystemZ", "::", "WFDDB", ":", "Changed", "|=", "shortenOn001", "(", "MI", ",", "SystemZ", "::", "DDBR", ")", ";", "break", ";", "case", "SystemZ", "::", "WFIDB", ":", "Changed", "|=", "shortenFPConv", "(", "MI", ",", "SystemZ", "::", "FIDBRA", ")", ";", "break", ";", "case", "SystemZ", "::", "WLDEB", ":", "Changed", "|=", "shortenOn01", "(", "MI", ",", "SystemZ", "::", "LDEBR", ")", ";", "break", ";", "case", "SystemZ", "::", "WLEDB", ":", "Changed", "|=", "shortenFPConv", "(", "MI", ",", "SystemZ", "::", "LEDBRA", ")", ";", "break", ";", "case", "SystemZ", "::", "WFMDB", ":", "Changed", "|=", "shortenOn001", "(", "MI", ",", "SystemZ", "::", "MDBR", ")", ";", "break", ";", "case", "SystemZ", "::", "WFLCDB", ":", "Changed", "|=", "shortenOn01", "(", "MI", ",", "SystemZ", "::", "LCDFR", ")", ";", "break", ";", "case", "SystemZ", "::", "WFLNDB", ":", "Changed", "|=", "shortenOn01", "(", "MI", ",", "SystemZ", "::", "LNDFR", ")", ";", "break", ";", "case", "SystemZ", "::", "WFLPDB", ":", "Changed", "|=", "shortenOn01", "(", "MI", ",", "SystemZ", "::", "LPDFR", ")", ";", "break", ";", "case", "SystemZ", "::", "WFSQDB", ":", "Changed", "|=", "shortenOn01", "(", "MI", ",", "SystemZ", "::", "SQDBR", ")", ";", "break", ";", "case", "SystemZ", "::", "WFSDB", ":", "Changed", "|=", "shortenOn001AddCC", "(", "MI", ",", "SystemZ", "::", "SDBR", ")", ";", "break", ";", "case", "SystemZ", "::", "WFCDB", ":", "Changed", "|=", "shortenOn01", "(", "MI", ",", "SystemZ", "::", "CDBR", ")", ";", "break", ";", "case", "SystemZ", "::", "VL32", ":", "Changed", "|=", "shortenOn0", "(", "MI", ",", "SystemZ", "::", "LDE32", ")", ";", "break", ";", "case", "SystemZ", "::", "VST32", ":", "Changed", "|=", "shortenOn0", "(", "MI", ",", "SystemZ", "::", "STE", ")", ";", "break", ";", "case", "SystemZ", "::", "VL64", ":", "Changed", "|=", "shortenOn0", "(", "MI", ",", "SystemZ", "::", "LD", ")", ";", "break", ";", "case", "SystemZ", "::", "VST64", ":", "Changed", "|=", "shortenOn0", "(", "MI", ",", "SystemZ", "::", "STD", ")", ";", "break", ";", "}", "LiveRegs", ".", "stepBackward", "(", "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", "SystemZ::IILF", "SystemZ::LLILL", "SystemZ::LLILH", "SystemZ::IIHF", "SystemZ::LLIHL", "SystemZ::LLIHH", "SystemZ::WFADB", "SystemZ::ADBR", "SystemZ::WFDDB", "SystemZ::DDBR", "SystemZ::WFIDB", "SystemZ::FIDBRA", "SystemZ::WLDEB", "SystemZ::LDEBR", "SystemZ::WLEDB", "SystemZ::LEDBRA", "SystemZ::WFMDB", "SystemZ::MDBR", "SystemZ::WFLCDB", "SystemZ::LCDFR", "SystemZ::WFLNDB", "SystemZ::LNDFR", "SystemZ::WFLPDB", "SystemZ::LPDFR", "SystemZ::WFSQDB", "SystemZ::SQDBR", "SystemZ::WFSDB", "SystemZ::SDBR", "SystemZ::WFCDB", "SystemZ::CDBR", "SystemZ::VL32", "SystemZ::LDE32", "SystemZ::VST32", "SystemZ::STE", "SystemZ::VL64", "SystemZ::LD", "SystemZ::VST64", "SystemZ::STD"], "File": "SystemZShortenInst2", "Func": "processBlock", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10859, "Length": 417, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "assert", "(", "MO", ".", "isReg", "(", ")", "&&", "\"unexpected inline assembly memory operand\"", ")", ";", "O", "<<", "'['", "<<", "AArch64InstPrinter", "::", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", "<<", "']'", ";", "return", "false", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "."], "TS_V_token": ["AArch64", "AArch64", "\"unexpected inline assembly memory operand\"", "AArch64"], "File": "AArch64AsmPrinter11", "Func": "PrintAsmMemoryOperand", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10860, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_float_const_zero_rtx_p", "(", "rtx", "x", ")", "{", "if", "(", "GET_MODE", "(", "x", ")", "==", "VOIDmode", ")", "return", "false", ";", "if", "(", "REAL_VALUE_MINUS_ZERO", "(", "*", "CONST_DOUBLE_REAL_VALUE", "(", "x", ")", ")", ")", "return", "!", "HONOR_SIGNED_ZEROS", "(", "GET_MODE", "(", "x", ")", ")", ";", "return", "real_equal", "(", "CONST_DOUBLE_REAL_VALUE", "(", "x", ")", ",", "&", "dconst0", ")", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "rtx", "X", "is", "immediate", "constant", "0.0"], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_float_const_zero_rtx_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10861, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "PPCTargetLowering", "::", "shouldExpandAtomicRMWInIR", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "unsigned", "Size", "=", "AI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "shouldInlineQuadwordAtomics", "(", ")", "&&", "Size", "==", "128", ")", "return", "AtomicExpansionKind", "::", "MaskedIntrinsic", ";", "return", "TargetLowering", "::", "shouldExpandAtomicRMWInIR", "(", "AI", ")", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "IR-level", "AtomicExpand", "pass", "should", "expand", "the", "given", "AtomicRMW", ",", "if", "at", "all", "."], "TS_V_token": ["PowerPC", "PPC", "128"], "File": "PPCISelLowering83", "Func": "shouldExpandAtomicRMWInIR", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10862, "Length": 50, "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": 10863, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "enableMachineScheduler", "(", ")", "const", "override", "{", "return", "isCheri", "(", ")", "||", "isBeri", "(", ")", ";", "}", ""], "natrual_language": ["Enable", "the", "MachineScheduler", "pass", "for", "all", "X86", "subtargets", "."], "TS_V_token": ["Mips"], "File": "MipsSubtarget43", "Func": "enableMachineScheduler", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10864, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SystemZInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "Subtarget", "->", "getInstrInfo", "(", ")", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZISelDAGToDAG (2)", "Func": "getInstrInfo", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10865, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "EmitInstruction", "(", "uint32_t", "Val", ",", "raw_ostream", "&", "OS", ")", "const", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "4", ";", "++", "i", ")", "{", "EmitByte", "(", "Val", "&", "0xff", ",", "OS", ")", ";", "Val", ">>=", "8", ";", "}", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["TeeRISC", "0", "4", "0xff", "8"], "File": "TeeRISCMCCodeEmitter", "Func": "EmitInstruction", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10866, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "OR1KRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "OR1K", "::", "R2", ":", "OR1K", "::", "R1", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["OR1K", "OR1K", "OR1K::R2", "OR1K::R1"], "File": "OR1KRegisterInfo", "Func": "getFrameRegister", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10867, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "rs6000_emit_vector_cond_expr", "(", "rtx", "dest", ",", "rtx", "op1", ",", "rtx", "op2", ",", "rtx", "cond", ",", "rtx", "cc_op0", ",", "rtx", "cc_op1", ")", "{", "enum", "machine_mode", "dest_mode", "=", "GET_MODE", "(", "dest", ")", ";", "enum", "rtx_code", "rcode", "=", "GET_CODE", "(", "cond", ")", ";", "rtx", "mask", ";", "if", "(", "!", "TARGET_ALTIVEC", ")", "return", "0", ";", "mask", "=", "rs6000_emit_vector_compare", "(", "rcode", ",", "cc_op0", ",", "cc_op1", ",", "dest_mode", ")", ";", "rs6000_emit_vector_select", "(", "dest", ",", "op1", ",", "op2", ",", "mask", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Emit", "vector", "conditional", "expression", ".", "DEST", "is", "destination", ".", "OP1", "and", "OP2", "are", "two", "VEC_COND_EXPR", "operands", ".", "CC_OP0", "and", "CC_OP1", "are", "the", "two", "operands", "for", "the", "relation", "operation", "COND", "."], "TS_V_token": ["rs6000", "0", "1"], "File": "rs60003", "Func": "rs6000_emit_vector_cond_expr", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10868, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64TargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "EVT", "VT", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "unsigned", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "\"sp\"", ",", "AArch64", "::", "SP", ")", ".", "Case", "(", "\"x18\"", ",", "AArch64", "::", "X18", ")", ".", "Case", "(", "\"w18\"", ",", "AArch64", "::", "W18", ")", ".", "Default", "(", "0", ")", ";", "if", "(", "(", "Reg", "==", "AArch64", "::", "X18", "||", "Reg", "==", "AArch64", "::", "W18", ")", "&&", "!", "Subtarget", "->", "isX18Reserved", "(", ")", ")", "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", "\"sp\"", "AArch64::SP", "\"x18\"", "AArch64::X18", "\"w18\"", "AArch64::W18", "0", "AArch64::X18", "AArch64::W18", "0", "\"Invalid register name \\\"\"", "\"\\\".\""], "File": "AArch64ISelLowering105", "Func": "getRegisterByName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10869, "Length": 112, "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": 10870, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isLegalInterleavedAccessType", "(", "VectorType", "*", "VecTy", ",", "const", "DataLayout", "&", "DL", ",", "bool", "&", "UseScalable", ")", "const", "{", "unsigned", "VecSize", "=", "DL", ".", "getTypeSizeInBits", "(", "VecTy", ")", ";", "unsigned", "ElSize", "=", "DL", ".", "getTypeSizeInBits", "(", "VecTy", "->", "getElementType", "(", ")", ")", ";", "unsigned", "NumElements", "=", "cast", "<", "FixedVectorType", ">", "(", "VecTy", ")", "->", "getNumElements", "(", ")", ";", "UseScalable", "=", "false", ";", "if", "(", "NumElements", "<", "2", ")", "return", "false", ";", "if", "(", "ElSize", "!=", "8", "&&", "ElSize", "!=", "16", "&&", "ElSize", "!=", "32", "&&", "ElSize", "!=", "64", ")", "return", "false", ";", "if", "(", "Subtarget", "->", "useSVEForFixedLengthVectors", "(", ")", "&&", "(", "VecSize", "%", "Subtarget", "->", "getMinSVEVectorSizeInBits", "(", ")", "==", "0", "||", "(", "VecSize", "<", "Subtarget", "->", "getMinSVEVectorSizeInBits", "(", ")", "&&", "isPowerOf2_32", "(", "NumElements", ")", "&&", "VecSize", ">", "128", ")", ")", ")", "{", "UseScalable", "=", "true", ";", "return", "true", ";", "}", "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", "0", "128", "64", "128", "0"], "File": "AArch64ISelLowering168", "Func": "isLegalInterleavedAccessType", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10871, "Length": 153, "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": 10872, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_free_sched_context", "(", "void", "*", "_sc", ")", "{", "gcc_assert", "(", "_sc", "!=", "NULL", ")", ";", "free", "(", "_sc", ")", ";", "}", ""], "natrual_language": ["Free", "_SC", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_free_sched_context", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10873, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "canMakeTailCallConditional", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "BranchCond", ",", "const", "MachineInstr", "&", "TailCall", ")", "const", "{", "if", "(", "TailCall", ".", "getOpcode", "(", ")", "!=", "X86", "::", "TCRETURNdi", "&&", "TailCall", ".", "getOpcode", "(", ")", "!=", "X86", "::", "TCRETURNdi64", ")", "{", "return", "false", ";", "}", "if", "(", "Subtarget", ".", "isTargetWin64", "(", ")", ")", "{", "return", "false", ";", "}", "assert", "(", "BranchCond", ".", "size", "(", ")", "==", "1", ")", ";", "if", "(", "BranchCond", "[", "0", "]", ".", "getImm", "(", ")", ">", "X86", "::", "LAST_VALID_COND", ")", "{", "return", "false", ";", "}", "const", "X86MachineFunctionInfo", "*", "X86FI", "=", "TailCall", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "if", "(", "X86FI", "->", "getTCReturnAddrDelta", "(", ")", "!=", "0", "||", "TailCall", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "!=", "0", ")", "{", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "tail", "call", "can", "be", "made", "conditional", "on", "BranchCond", "."], "TS_V_token": ["X86", "X86", "X86::TCRETURNdi", "X86::TCRETURNdi64", "1", "0", "X86::LAST_VALID_COND", "X86", "X86", "X86", "X86", "0", "1", "0"], "File": "X86InstrInfo50", "Func": "canMakeTailCallConditional", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10874, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "gimple", "*", "gimple_folder", "::", "fold_to_cstu", "(", "poly_uint64", "val", ")", "{", "return", "gimple_build_assign", "(", "lhs", ",", "build_int_cstu", "(", "TREE_TYPE", "(", "lhs", ")", ",", "val", ")", ")", ";", "}", ""], "natrual_language": ["Fold", "the", "call", "to", "constant", "VAL", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins3", "Func": "fold_to_cstu", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10875, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcTargetLowering", "::", "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": ["Sparc", "Sparc"], "File": "SparcISelLowering (2)2", "Func": "isOffsetFoldingLegal", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10876, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const_iterator", "end", "(", ")", "const", "{", "return", "m_SectToExData", ".", "end", "(", ")", ";", "}", ""], "natrual_language": ["Get", "a", "const_iterator", "to", "the", "end", "of", "the", "symbol", "table", "."], "TS_V_token": ["ARM"], "File": "ARMException", "Func": "end", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10877, "Length": 14, "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": 10878, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_builtin_vectorization_cost", "(", "enum", "vect_cost_for_stmt", "type_of_cost", ",", "tree", "vectype", ",", "int", "misalign", "ATTRIBUTE_UNUSED", ")", "{", "unsigned", "elements", ";", "switch", "(", "type_of_cost", ")", "{", "case", "scalar_stmt", ":", "return", "current_tune", "->", "vec_costs", "->", "scalar_stmt_cost", ";", "case", "scalar_load", ":", "return", "current_tune", "->", "vec_costs", "->", "scalar_load_cost", ";", "case", "scalar_store", ":", "return", "current_tune", "->", "vec_costs", "->", "scalar_store_cost", ";", "case", "vector_stmt", ":", "return", "current_tune", "->", "vec_costs", "->", "vec_stmt_cost", ";", "case", "vector_load", ":", "return", "current_tune", "->", "vec_costs", "->", "vec_align_load_cost", ";", "case", "vector_store", ":", "return", "current_tune", "->", "vec_costs", "->", "vec_store_cost", ";", "case", "vec_to_scalar", ":", "return", "current_tune", "->", "vec_costs", "->", "vec_to_scalar_cost", ";", "case", "scalar_to_vec", ":", "return", "current_tune", "->", "vec_costs", "->", "scalar_to_vec_cost", ";", "case", "unaligned_load", ":", "return", "current_tune", "->", "vec_costs", "->", "vec_unalign_load_cost", ";", "case", "unaligned_store", ":", "return", "current_tune", "->", "vec_costs", "->", "vec_unalign_store_cost", ";", "case", "cond_branch_taken", ":", "return", "current_tune", "->", "vec_costs", "->", "cond_taken_branch_cost", ";", "case", "cond_branch_not_taken", ":", "return", "current_tune", "->", "vec_costs", "->", "cond_not_taken_branch_cost", ";", "case", "vec_perm", ":", "case", "vec_promote_demote", ":", "return", "current_tune", "->", "vec_costs", "->", "vec_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": ["arm", "2", "1"], "File": "arm4", "Func": "arm_builtin_vectorization_cost", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10879, "Length": 182, "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": 10880, "Length": 215, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "predefined_function_abi", "&", "aarch64_simd_abi", "(", "void", ")", "{", "predefined_function_abi", "&", "simd_abi", "=", "function_abis", "[", "ARM_PCS_SIMD", "]", ";", "if", "(", "!", "simd_abi", ".", "initialized_p", "(", ")", ")", "{", "HARD_REG_SET", "full_reg_clobbers", "=", "default_function_abi", ".", "full_reg_clobbers", "(", ")", ";", "for", "(", "int", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "FP_SIMD_SAVED_REGNUM_P", "(", "regno", ")", ")", "CLEAR_HARD_REG_BIT", "(", "full_reg_clobbers", ",", "regno", ")", ";", "simd_abi", ".", "initialize", "(", "ARM_PCS_SIMD", ",", "full_reg_clobbers", ")", ";", "}", "return", "simd_abi", ";", "}", ""], "natrual_language": ["Return", "the", "descriptor", "of", "the", "SIMD", "ABI", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64", "Func": "aarch64_simd_abi", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10881, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMem", "(", ")", "const", "{", "return", "Kind", "==", "Memory", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["OR1K"], "File": "OR1KAsmParser", "Func": "isMem", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10882, "Length": 12, "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": 10883, "Length": 212, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "override", "{", "bool", "Changed", "=", "false", ";", "Subtarget", "=", "&", "F", ".", "getSubtarget", "<", "SparcSubtarget", ">", "(", ")", ";", "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", "Sparc"], "File": "DelaySlotFiller (2)", "Func": "runOnMachineFunction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10884, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{", "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": "SparcAsmBackend12", "Func": "createObjectWriter", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10885, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "IA64Subtarget", "*", "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": ["IA64", "IA64"], "File": "IA64TargetMachine", "Func": "getSubtargetImpl", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10886, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_emit_stack_tie", "(", ")", "{", "rtx", "mem", "=", "gen_rtx_MEM", "(", "BLKmode", ",", "gen_rtx_REG", "(", "Pmode", ",", "STACK_POINTER_REGNUM", ")", ")", ";", "set_mem_alias_set", "(", "mem", ",", "rs6000_sr_alias_set", ")", ";", "emit_insn", "(", "gen_stack_tie", "(", "mem", ")", ")", ";", "}", ""], "natrual_language": ["This", "ties", "together", "stack", "memory", "(", "MEM", "with", "an", "alias", "set", "of", "rs6000_sr_alias_set", ")", "and", "the", "change", "to", "the", "stack", "pointer", "."], "TS_V_token": ["rs6000"], "File": "rs60002", "Func": "rs6000_emit_stack_tie", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10887, "Length": 37, "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": 10888, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "shouldClusterMemOps", "(", "MachineInstr", "*", "FirstLdSt", ",", "MachineInstr", "*", "SecondLdSt", ",", "unsigned", "NumLoads", ")", "const", "{", "if", "(", "NumLoads", ">", "1", ")", "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", ";", "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", "2", "2", "63", "64", "\"Caller should have ordered offsets.\"", "1"], "File": "AArch64InstrInfo110", "Func": "shouldClusterMemOps", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10889, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "legitimize_dllimport_symbol", "(", "rtx", "symbol", ",", "bool", "want_reg", ")", "{", "tree", "imp_decl", ";", "rtx", "x", ";", "gcc_assert", "(", "SYMBOL_REF_DECL", "(", "symbol", ")", ")", ";", "imp_decl", "=", "get_dllimport_decl", "(", "SYMBOL_REF_DECL", "(", "symbol", ")", ",", "true", ")", ";", "x", "=", "DECL_RTL", "(", "imp_decl", ")", ";", "if", "(", "want_reg", ")", "x", "=", "force_reg", "(", "Pmode", ",", "x", ")", ";", "return", "x", ";", "}", ""], "natrual_language": ["Expand", "SYMBOL", "into", "its", "corresponding", "dllimport", "symbol", ".", "WANT_REG", "is", "true", "if", "we", "require", "the", "result", "be", "a", "register", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "legitimize_dllimport_symbol", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10890, "Length": 61, "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\"", "}", "}", ";", "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\""], "File": "PPCInstrInfo17", "Func": "getSerializableBitmaskMachineOperandTargetFlags", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10891, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isUnconditionalBranch", "(", "const", "MCInst", "&", "Inst", ")", "const", "override", "{", "if", "(", "Inst", ".", "getOpcode", "(", ")", "==", "ARM", "::", "Bcc", "&&", "Inst", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "==", "ARMCC", "::", "AL", ")", "return", "true", ";", "return", "MCInstrAnalysis", "::", "isUnconditionalBranch", "(", "Inst", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "is", "a", "branch", "which", "always", "transfers", "control", "flow", "to", "some", "other", "block", "."], "TS_V_token": ["ARM", "ARM::Bcc", "1", "ARMCC::AL"], "File": "ARMMCTargetDesc (2)", "Func": "isUnconditionalBranch", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10892, "Length": 50, "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": 10893, "Length": 122, "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", "::", "v16i1", "||", "Ty", "==", "MVT", "::", "v8i1", "||", "Ty", "==", "MVT", "::", "v4i1", ")", ")", "{", "if", "(", "Fast", ")", "*", "Fast", "=", "true", ";", "return", "true", ";", "}", "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::v16i1", "MVT::v8i1", "MVT::v4i1", "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": "ARMISelLowering13", "Func": "allowsMisalignedMemoryAccesses", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10894, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ATTRIBUTE_UNUSED", "rs6000_stack_protect_fail", "(", "void", ")", "{", "return", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "TARGET_SECURE_PLT", "&&", "flag_pic", ")", "?", "default_hidden_stack_protect_fail", "(", ")", ":", "default_external_stack_protect_fail", "(", ")", ";", "}", ""], "natrual_language": ["For", "TARGET_SECURE_PLT", "32-bit", "PIC", "code", "we", "can", "save", "PIC", "register", "setup", "by", "using", "__stack_chk_fail_local", "hidden", "function", "instead", "of", "calling", "__stack_chk_fail", "directly", ".", "Otherwise", "it", "is", "better", "to", "call", "__stack_chk_fail", "directly", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_stack_protect_fail", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10895, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "sparc_tls_symbol_ref_1", "(", "rtx", "*", "x", ",", "void", "*", "data", "ATTRIBUTE_UNUSED", ")", "{", "return", "SPARC_SYMBOL_REF_TLS_P", "(", "*", "x", ")", ";", "}", ""], "natrual_language": ["Return", "1", "if", "*", "X", "is", "a", "thread-local", "symbol", "."], "TS_V_token": ["sparc"], "File": "sparc3", "Func": "sparc_tls_symbol_ref_1", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10896, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "uint64_t", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "unsigned", "MatchResult", ";", "FeatureBitset", "MissingFeatures", ";", "MatchResult", "=", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MissingFeatures", ",", "MatchingInlineAsm", ")", ";", "switch", "(", "MatchResult", ")", "{", "case", "Match_Success", ":", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "Out", ".", "emitInstruction", "(", "Inst", ",", "getSTI", "(", ")", ")", ";", "return", "false", ";", "case", "Match_MissingFeature", ":", "{", "assert", "(", "MissingFeatures", ".", "any", "(", ")", "&&", "\"Unknown missing feature!\"", ")", ";", "std", "::", "string", "Msg", "=", "\"instruction requires:\"", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "MissingFeatures", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "MissingFeatures", "[", "I", "]", ")", "{", "Msg", "+=", "\" \"", ";", "Msg", "+=", "getSubtargetFeatureName", "(", "I", ")", ";", "}", "}", "return", "Error", "(", "IDLoc", ",", "Msg", ")", ";", "}", "case", "Match_InvalidOperand", ":", "{", "SMLoc", "ErrorLoc", "=", "IDLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "0ULL", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "IDLoc", ",", "\"too few operands for instruction\"", ")", ";", "ErrorLoc", "=", "(", "(", "SystemZOperand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "\"invalid operand for instruction\"", ")", ";", "}", "case", "Match_MnemonicFail", ":", "{", "FeatureBitset", "FBS", "=", "ComputeAvailableFeatures", "(", "getSTI", "(", ")", ".", "getFeatureBits", "(", ")", ")", ";", "std", "::", "string", "Suggestion", "=", "SystemZMnemonicSpellCheck", "(", "(", "(", "SystemZOperand", "&", ")", "*", "Operands", "[", "0", "]", ")", ".", "getToken", "(", ")", ",", "FBS", ")", ";", "return", "Error", "(", "IDLoc", ",", "\"invalid instruction\"", "+", "Suggestion", ",", "(", "(", "SystemZOperand", "&", ")", "*", "Operands", "[", "0", "]", ")", ".", "getLocRange", "(", ")", ")", ";", "}", "}", "llvm_unreachable", "(", "\"Unexpected match type\"", ")", ";", "}", ""], "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": ["SystemZ", "SystemZ", "\"Unknown missing feature!\"", "\"instruction requires:\"", "0", "\" \"", "0ULL", "\"too few operands for instruction\"", "SystemZ", "\"invalid operand for instruction\"", "SystemZ", "SystemZ", "0", "\"invalid instruction\"", "SystemZ", "0", "\"Unexpected match type\""], "File": "SystemZAsmParser22", "Func": "MatchAndEmitInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10897, "Length": 309, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "scalar_chain", "::", "convert_reg", "(", "rtx_insn", "*", "insn", ",", "rtx", "dst", ",", "rtx", "src", ")", "{", "start_sequence", "(", ")", ";", "if", "(", "!", "TARGET_INTER_UNIT_MOVES_FROM_VEC", ")", "{", "rtx", "tmp", "=", "assign_386_stack_local", "(", "smode", ",", "SLOT_STV_TEMP", ")", ";", "emit_move_insn", "(", "tmp", ",", "src", ")", ";", "if", "(", "!", "TARGET_64BIT", "&&", "smode", "==", "DImode", ")", "{", "emit_move_insn", "(", "gen_rtx_SUBREG", "(", "SImode", ",", "dst", ",", "0", ")", ",", "adjust_address", "(", "tmp", ",", "SImode", ",", "0", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_SUBREG", "(", "SImode", ",", "dst", ",", "4", ")", ",", "adjust_address", "(", "tmp", ",", "SImode", ",", "4", ")", ")", ";", "}", "else", "emit_move_insn", "(", "dst", ",", "copy_rtx", "(", "tmp", ")", ")", ";", "}", "else", "if", "(", "!", "TARGET_64BIT", "&&", "smode", "==", "DImode", ")", "{", "if", "(", "TARGET_SSE4_1", ")", "{", "rtx", "tmp", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "1", ",", "const0_rtx", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "gen_rtx_SUBREG", "(", "SImode", ",", "dst", ",", "0", ")", ",", "gen_rtx_VEC_SELECT", "(", "SImode", ",", "gen_rtx_SUBREG", "(", "V4SImode", ",", "src", ",", "0", ")", ",", "tmp", ")", ")", ")", ";", "tmp", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "1", ",", "const1_rtx", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "gen_rtx_SUBREG", "(", "SImode", ",", "dst", ",", "4", ")", ",", "gen_rtx_VEC_SELECT", "(", "SImode", ",", "gen_rtx_SUBREG", "(", "V4SImode", ",", "src", ",", "0", ")", ",", "tmp", ")", ")", ")", ";", "}", "else", "{", "rtx", "vcopy", "=", "gen_reg_rtx", "(", "V2DImode", ")", ";", "emit_move_insn", "(", "vcopy", ",", "gen_rtx_SUBREG", "(", "V2DImode", ",", "src", ",", "0", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_SUBREG", "(", "SImode", ",", "dst", ",", "0", ")", ",", "gen_rtx_SUBREG", "(", "SImode", ",", "vcopy", ",", "0", ")", ")", ";", "emit_move_insn", "(", "vcopy", ",", "gen_rtx_LSHIFTRT", "(", "V2DImode", ",", "vcopy", ",", "GEN_INT", "(", "32", ")", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_SUBREG", "(", "SImode", ",", "dst", ",", "4", ")", ",", "gen_rtx_SUBREG", "(", "SImode", ",", "vcopy", ",", "0", ")", ")", ";", "}", "}", "else", "emit_move_insn", "(", "dst", ",", "src", ")", ";", "rtx_insn", "*", "seq", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "emit_conversion_insns", "(", "seq", ",", "insn", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\" Copied r%d to a scalar register r%d for insn %d\\n\"", ",", "REGNO", "(", "src", ")", ",", "REGNO", "(", "dst", ")", ",", "INSN_UID", "(", "insn", ")", ")", ";", "}", ""], "natrual_language": ["Convert", "all", "definitions", "of", "register", "REGNO", "and", "fix", "its", "uses", ".", "Scalar", "copies", "may", "be", "created", "in", "case", "register", "is", "used", "in", "not", "convertible", "insn", "."], "TS_V_token": ["i386", "0", "0", "4", "4", "1", "0", "0", "1", "4", "0", "0", "0", "0", "32", "4", "0", "\" Copied r%d to a scalar register r%d for insn %d\\n\""], "File": "i386-features1", "Func": "convert_reg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10898, "Length": 355, "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", ".", "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": "SparcFrameLowering17", "Func": "emitEpilogue", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10899, "Length": 202, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "zero_call_used_regno_p", "(", "const", "unsigned", "int", "regno", ",", "bool", "all_sse_zeroed", ",", "bool", "need_zero_mmx", ")", "{", "return", "GENERAL_REGNO_P", "(", "regno", ")", "||", "(", "!", "all_sse_zeroed", "&&", "SSE_REGNO_P", "(", "regno", ")", ")", "||", "MASK_REGNO_P", "(", "regno", ")", "||", "(", "need_zero_mmx", "&&", "MMX_REGNO_P", "(", "regno", ")", ")", ";", "}", ""], "natrual_language": ["Check", "whether", "the", "register", "REGNO", "should", "be", "zeroed", "on", "X86", ".", "When", "ALL_SSE_ZEROED", "is", "true", ",", "all", "SSE", "registers", "have", "been", "zeroed", "together", ",", "no", "need", "to", "zero", "it", "again", ".", "When", "NEED_ZERO_MMX", "is", "true", ",", "MMX", "registers", "should", "be", "cleared", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "zero_call_used_regno_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10900, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_mode_set", "(", "int", "entity", ",", "int", "mode", ",", "int", "prev_mode", "ATTRIBUTE_UNUSED", ",", "HARD_REG_SET", "regs_live", "ATTRIBUTE_UNUSED", ")", "{", "switch", "(", "entity", ")", "{", "case", "X86_DIRFLAG", ":", "if", "(", "mode", "==", "X86_DIRFLAG_RESET", ")", "emit_insn", "(", "gen_cld", "(", ")", ")", ";", "break", ";", "case", "AVX_U128", ":", "if", "(", "mode", "==", "AVX_U128_CLEAN", ")", "emit_insn", "(", "gen_avx_vzeroupper", "(", ")", ")", ";", "break", ";", "case", "I387_TRUNC", ":", "case", "I387_FLOOR", ":", "case", "I387_CEIL", ":", "if", "(", "mode", "!=", "I387_CW_ANY", "&&", "mode", "!=", "I387_CW_UNINITIALIZED", ")", "emit_i387_cw_initialization", "(", "mode", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Generate", "one", "or", "more", "insns", "to", "set", "ENTITY", "to", "MODE", ".", "HARD_REG_LIVE", "is", "the", "set", "of", "hard", "registers", "live", "at", "the", "point", "where", "the", "insn", "(", "s", ")", "are", "to", "be", "inserted", "."], "TS_V_token": ["i386"], "File": "i3868", "Func": "ix86_emit_mode_set", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10901, "Length": 94, "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", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "cond", ",", "label", ",", "pc_rtx", ")", ";", "rtx_insn", "*", "insn", "=", "emit_jump_insn", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "x", ")", ")", ";", "add_int_reg_note", "(", "insn", ",", "REG_BR_PROB", ",", "very_unlikely", ")", ";", "}", ""], "natrual_language": ["Mark", "the", "previous", "jump", "instruction", "as", "unlikely", "."], "TS_V_token": ["rs6000", "100", "1"], "File": "rs60006", "Func": "emit_unlikely_jump", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10902, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "pa_adjust_priority", "(", "rtx_insn", "*", "insn", ",", "int", "priority", ")", "{", "rtx", "set", "=", "single_set", "(", "insn", ")", ";", "rtx", "src", ",", "dest", ";", "if", "(", "set", ")", "{", "src", "=", "SET_SRC", "(", "set", ")", ";", "dest", "=", "SET_DEST", "(", "set", ")", ";", "if", "(", "GET_CODE", "(", "src", ")", "==", "LO_SUM", "&&", "symbolic_operand", "(", "XEXP", "(", "src", ",", "1", ")", ",", "VOIDmode", ")", "&&", "!", "read_only_operand", "(", "XEXP", "(", "src", ",", "1", ")", ",", "VOIDmode", ")", ")", "priority", ">>=", "3", ";", "else", "if", "(", "GET_CODE", "(", "src", ")", "==", "MEM", "&&", "GET_CODE", "(", "XEXP", "(", "src", ",", "0", ")", ")", "==", "LO_SUM", "&&", "symbolic_operand", "(", "XEXP", "(", "XEXP", "(", "src", ",", "0", ")", ",", "1", ")", ",", "VOIDmode", ")", "&&", "!", "read_only_operand", "(", "XEXP", "(", "XEXP", "(", "src", ",", "0", ")", ",", "1", ")", ",", "VOIDmode", ")", ")", "priority", ">>=", "1", ";", "else", "if", "(", "GET_CODE", "(", "dest", ")", "==", "MEM", "&&", "GET_CODE", "(", "XEXP", "(", "dest", ",", "0", ")", ")", "==", "LO_SUM", "&&", "symbolic_operand", "(", "XEXP", "(", "XEXP", "(", "dest", ",", "0", ")", ",", "1", ")", ",", "VOIDmode", ")", "&&", "!", "read_only_operand", "(", "XEXP", "(", "XEXP", "(", "dest", ",", "0", ")", ",", "1", ")", ",", "VOIDmode", ")", ")", "priority", ">>=", "3", ";", "}", "return", "priority", ";", "}", ""], "natrual_language": ["Adjust", "scheduling", "priorities", ".", "We", "use", "this", "to", "try", "and", "keep", "addil", "and", "the", "next", "use", "of", "%", "r1", "close", "together", "."], "TS_V_token": ["pa", "1", "1", "3", "0", "0", "1", "0", "1", "1", "0", "0", "1", "0", "1", "3"], "File": "pa4", "Func": "pa_adjust_priority", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10903, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZHazardRecognizer", "::", "Reset", "(", ")", "{", "CurrGroupSize", "=", "0", ";", "clearProcResCounters", "(", ")", ";", "GrpCount", "=", "0", ";", "LastFPdOpCycleIdx", "=", "UINT_MAX", ";", "LastEmittedMI", "=", "nullptr", ";", "LLVM_DEBUG", "(", "CurGroupDbg", "=", "\"\"", ";", ")", ";", "}", ""], "natrual_language": ["Reset", "the", "unwind", "opcode", "assembler", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "0", "\"\""], "File": "SystemZHazardRecognizer12", "Func": "Reset", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10904, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16InstrInfo", "::", "adjustStackPtr", "(", "unsigned", "SP", ",", "int64_t", "Amount", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "DebugLoc", "DL", "=", "I", "!=", "MBB", ".", "end", "(", ")", "?", "I", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "if", "(", "isInt", "<", "16", ">", "(", "Amount", ")", ")", "{", "if", "(", "Amount", "<", "0", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Mips", "::", "SaveDecSpF16", ")", ")", ".", "addImm", "(", "-", "Amount", ")", ";", "else", "if", "(", "Amount", ">", "0", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Mips", "::", "RestoreIncSpF16", ")", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "else", "assert", "(", "false", "&&", "\"adjust stack pointer amount exceeded\"", ")", ";", "}", ""], "natrual_language": ["Adjust", "SP", "by", "Amount", "bytes", "."], "TS_V_token": ["Mips", "Mips", "16", "0", "Mips::SaveDecSpF16", "0", "Mips::RestoreIncSpF16", "\"adjust stack pointer amount exceeded\""], "File": "Mips16InstrInfo11", "Func": "adjustStackPtr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10905, "Length": 120, "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": "X86FrameLowering102", "Func": "processFunctionBeforeFrameFinalized", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10906, "Length": 321, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "handleAssemblerFlag", "(", "MCAssemblerFlag", "Flag", ")", "override", "{", "switch", "(", "Flag", ")", "{", "default", ":", "break", ";", "case", "MCAF_Code16", ":", "setIsThumb", "(", "true", ")", ";", "break", ";", "case", "MCAF_Code32", ":", "setIsThumb", "(", "false", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Handle", "any", "target-specific", "assembler", "flags", ".", "By", "default", ",", "do", "nothing", "."], "TS_V_token": ["ARM"], "File": "ARMAsmBackend23", "Func": "handleAssemblerFlag", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10907, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_output_addr_const_extra", "(", "FILE", "*", "file", ",", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", ")", "switch", "(", "XINT", "(", "x", ",", "1", ")", ")", "{", "case", "UNSPEC_TOCREL", ":", "gcc_checking_assert", "(", "GET_CODE", "(", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", "==", "SYMBOL_REF", "&&", "REG_P", "(", "XVECEXP", "(", "x", ",", "0", ",", "1", ")", ")", "&&", "REGNO", "(", "XVECEXP", "(", "x", ",", "0", ",", "1", ")", ")", "==", "TOC_REGISTER", ")", ";", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "if", "(", "x", "==", "tocrel_base_oac", "&&", "tocrel_offset_oac", "!=", "const0_rtx", ")", "{", "if", "(", "INTVAL", "(", "tocrel_offset_oac", ")", ">=", "0", ")", "fprintf", "(", "file", ",", "\"+\"", ")", ";", "output_addr_const", "(", "file", ",", "CONST_CAST_RTX", "(", "tocrel_offset_oac", ")", ")", ";", "}", "if", "(", "!", "TARGET_AIX", "||", "(", "TARGET_ELF", "&&", "TARGET_MINIMAL_TOC", ")", ")", "{", "putc", "(", "'-'", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "toc_label_name", ")", ";", "need_toc_init", "=", "1", ";", "}", "else", "if", "(", "TARGET_ELF", ")", "fputs", "(", "\"@toc\"", ",", "file", ")", ";", "return", "true", ";", "case", "UNSPEC_MACHOPIC_OFFSET", ":", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "putc", "(", "'-'", ",", "file", ")", ";", "machopic_output_function_base_name", "(", "file", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA", "."], "TS_V_token": ["rs6000", "1", "0", "0", "0", "1", "0", "1", "0", "0", "0", "\"+\"", "1", "\"@toc\"", "0", "0"], "File": "rs60007", "Func": "rs6000_output_addr_const_extra", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10908, "Length": 212, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "or1k_dynamic_chain_addr", "(", "rtx", "frame", ")", "{", "return", "plus_constant", "(", "Pmode", ",", "frame", ",", "-", "2", "*", "UNITS_PER_WORD", ")", ";", "}", ""], "natrual_language": ["Worker", "for", "DYNAMIC_CHAIN_ADDRESS", ".", "Returns", "the", "RTX", "representing", "the", "address", "of", "where", "the", "caller", "'s", "frame", "pointer", "may", "be", "stored", "on", "the", "stack", "."], "TS_V_token": ["or1k", "2"], "File": "or1k", "Func": "or1k_dynamic_chain_addr", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10909, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "SystemZRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "static", "const", "uint16_t", "CalleeSavedRegs", "[", "]", "=", "{", "SystemZ", "::", "R6D", ",", "SystemZ", "::", "R7D", ",", "SystemZ", "::", "R8D", ",", "SystemZ", "::", "R9D", ",", "SystemZ", "::", "R10D", ",", "SystemZ", "::", "R11D", ",", "SystemZ", "::", "R12D", ",", "SystemZ", "::", "R13D", ",", "SystemZ", "::", "R14D", ",", "SystemZ", "::", "R15D", ",", "SystemZ", "::", "F8D", ",", "SystemZ", "::", "F9D", ",", "SystemZ", "::", "F10D", ",", "SystemZ", "::", "F11D", ",", "SystemZ", "::", "F12D", ",", "SystemZ", "::", "F13D", ",", "SystemZ", "::", "F14D", ",", "SystemZ", "::", "F15D", ",", "0", "}", ";", "return", "CalleeSavedRegs", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ::R6D", "SystemZ::R7D", "SystemZ::R8D", "SystemZ::R9D", "SystemZ::R10D", "SystemZ::R11D", "SystemZ::R12D", "SystemZ::R13D", "SystemZ::R14D", "SystemZ::R15D", "SystemZ::F8D", "SystemZ::F9D", "SystemZ::F10D", "SystemZ::F11D", "SystemZ::F12D", "SystemZ::F13D", "SystemZ::F14D", "SystemZ::F15D", "0"], "File": "SystemZRegisterInfo1", "Func": "getCalleeSavedRegs", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10910, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "AArch64TTIImpl", "::", "getIntImmCost", "(", "Intrinsic", "::", "ID", "IID", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "switch", "(", "IID", ")", "{", "default", ":", "return", "TTI", "::", "TCC_Free", ";", "case", "Intrinsic", "::", "sadd_with_overflow", ":", "case", "Intrinsic", "::", "uadd_with_overflow", ":", "case", "Intrinsic", "::", "ssub_with_overflow", ":", "case", "Intrinsic", "::", "usub_with_overflow", ":", "case", "Intrinsic", "::", "smul_with_overflow", ":", "case", "Intrinsic", "::", "umul_with_overflow", ":", "if", "(", "Idx", "==", "1", ")", "{", "int", "NumConstants", "=", "(", "BitSize", "+", "63", ")", "/", "64", ";", "int", "Cost", "=", "AArch64TTIImpl", "::", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "return", "(", "Cost", "<=", "NumConstants", "*", "TTI", "::", "TCC_Basic", ")", "?", "static_cast", "<", "int", ">", "(", "TTI", "::", "TCC_Free", ")", ":", "Cost", ";", "}", "break", ";", "case", "Intrinsic", "::", "experimental_stackmap", ":", "if", "(", "(", "Idx", "<", "2", ")", "||", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", "&&", "isInt", "<", "64", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "break", ";", "case", "Intrinsic", "::", "experimental_patchpoint_void", ":", "case", "Intrinsic", "::", "experimental_patchpoint_i64", ":", "if", "(", "(", "Idx", "<", "4", ")", "||", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", "&&", "isInt", "<", "64", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "break", ";", "}", "return", "AArch64TTIImpl", "::", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["AArch64", "AArch64", "Intrinsic::ID", "0", "Intrinsic::sadd_with_overflow", "Intrinsic::uadd_with_overflow", "Intrinsic::ssub_with_overflow", "Intrinsic::usub_with_overflow", "Intrinsic::smul_with_overflow", "Intrinsic::umul_with_overflow", "1", "63", "64", "AArch64", "Intrinsic::experimental_stackmap", "2", "64", "64", "Intrinsic::experimental_patchpoint_void", "Intrinsic::experimental_patchpoint_i64", "4", "64", "64", "AArch64"], "File": "AArch64TargetTransformInfo (2)", "Func": "getIntImmCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10911, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "short_memory_operand", "(", "rtx", "x", ",", "enum", "machine_mode", "mode", ")", "{", "if", "(", "!", "memory_operand", "(", "x", ",", "mode", ")", ")", "return", "0", ";", "return", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "!=", "PLUS", ")", ";", "}", ""], "natrual_language": ["Return", "1", "if", "OP", "is", "a", "valid", "operand", "for", "a", "`", "short", "'", "memory", "reference", "insn", "."], "TS_V_token": ["stormy16", "0", "0"], "File": "stormy163", "Func": "short_memory_operand", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10912, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mt_pass_in_stack", "(", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "tree", "type", ")", "{", "return", "(", "(", "(", "type", ")", "!=", "0", "&&", "(", "TREE_CODE", "(", "TYPE_SIZE", "(", "type", ")", ")", "!=", "INTEGER_CST", "||", "TREE_ADDRESSABLE", "(", "type", ")", ")", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MUST_PASS_IN_STACK", "hook", "."], "TS_V_token": ["mt", "0"], "File": "mt", "Func": "mt_pass_in_stack", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10913, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_clear", "(", "rtx", "dest", ")", "{", "rtx", "tmp", ";", "gcc_assert", "(", "reload_completed", ")", ";", "if", "(", "GET_MODE_SIZE", "(", "GET_MODE", "(", "dest", ")", ")", "<", "4", ")", "dest", "=", "gen_rtx_REG", "(", "SImode", ",", "REGNO", "(", "dest", ")", ")", ";", "tmp", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "const0_rtx", ")", ";", "if", "(", "reload_completed", "&&", "(", "!", "TARGET_USE_MOV0", "||", "optimize_size", ")", ")", "{", "rtx", "clob", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "CCmode", ",", "17", ")", ")", ";", "tmp", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "tmp", ",", "clob", ")", ")", ";", "}", "emit_insn", "(", "tmp", ")", ";", "}", ""], "natrual_language": ["Generate", "either", "``", "mov", "$", "0", ",", "reg", "''", "or", "``", "xor", "reg", ",", "reg", "''", ",", "as", "appropriate", "for", "the", "target", "."], "TS_V_token": ["i386", "4", "17", "2"], "File": "i3863", "Func": "ix86_expand_clear", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10914, "Length": 100, "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": 10915, "Length": 412, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "struct", "mips_cpu_info", "*", "mips_parse_cpu", "(", "const", "char", "*", "cpu_string", ")", "{", "const", "struct", "mips_cpu_info", "*", "p", ";", "const", "char", "*", "s", ";", "for", "(", "s", "=", "cpu_string", ";", "*", "s", "!=", "0", ";", "s", "++", ")", "if", "(", "ISUPPER", "(", "*", "s", ")", ")", "{", "warning", "(", "0", ",", "\"the cpu name must be lower case\"", ")", ";", "break", ";", "}", "if", "(", "strcasecmp", "(", "cpu_string", ",", "\"from-abi\"", ")", "==", "0", ")", "return", "mips_cpu_info_from_isa", "(", "ABI_NEEDS_32BIT_REGS", "?", "1", ":", "ABI_NEEDS_64BIT_REGS", "?", "3", ":", "(", "TARGET_64BIT", "?", "3", ":", "1", ")", ")", ";", "if", "(", "strcasecmp", "(", "cpu_string", ",", "\"default\"", ")", "==", "0", ")", "return", "0", ";", "for", "(", "p", "=", "mips_cpu_info_table", ";", "p", "->", "name", "!=", "0", ";", "p", "++", ")", "if", "(", "mips_matching_cpu_name_p", "(", "p", "->", "name", ",", "cpu_string", ")", ")", "return", "p", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "the", "mips_cpu_info", "entry", "for", "the", "processor", "or", "ISA", "given", "by", "CPU_STRING", ".", "Return", "null", "if", "the", "string", "is", "n't", "recognized", ".", "A", "similar", "function", "exists", "in", "GAS", "."], "TS_V_token": ["mips", "0", "0", "\"the cpu name must be lower case\"", "\"from-abi\"", "0", "1", "3", "3", "1", "\"default\"", "0", "0", "0", "0"], "File": "mips3", "Func": "mips_parse_cpu", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10916, "Length": 135, "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": 10917, "Length": 196, "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": ["X86"], "File": "X86TargetMachine20", "Func": "getInstrItineraryData", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10918, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "unsigned", ">", "VRegs", ")", "const", "{", "if", "(", "F", ".", "arg_empty", "(", ")", ")", "return", "true", ";", "if", "(", "F", ".", "isVarArg", "(", ")", ")", "return", "false", ";", "auto", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "auto", "&", "MBB", "=", "MIRBuilder", ".", "getMBB", "(", ")", ";", "auto", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "auto", "&", "TLI", "=", "*", "getTLI", "<", "ARMTargetLowering", ">", "(", ")", ";", "auto", "Subtarget", "=", "TLI", ".", "getSubtarget", "(", ")", ";", "if", "(", "Subtarget", "->", "isThumb", "(", ")", ")", "return", "false", ";", "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": "ARMCallLowering36", "Func": "lowerFormalArguments", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10919, "Length": 331, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "AArch64Subtarget", "*", "AArch64TargetMachine", "::", "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", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "CPU", "+", "FS", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "llvm", "::", "make_unique", "<", "AArch64Subtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "*", "this", ",", "isLittle", ")", ";", "GISelAccessor", "*", "GISel", "=", "new", "GISelAccessor", "(", ")", ";", "AArch64GISelActualAccessor", "*", "GISel", "=", "new", "AArch64GISelActualAccessor", "(", ")", ";", "GISel", "->", "CallLoweringInfo", ".", "reset", "(", "new", "AArch64CallLowering", "(", "*", "I", "->", "getTargetLowering", "(", ")", ")", ")", ";", "GISel", "->", "Legalizer", ".", "reset", "(", "new", "AArch64LegalizerInfo", "(", ")", ")", ";", "auto", "*", "RBI", "=", "new", "AArch64RegisterBankInfo", "(", "*", "I", "->", "getRegisterInfo", "(", ")", ")", ";", "GISel", "->", "InstSelector", ".", "reset", "(", "new", "AArch64InstructionSelector", "(", "*", "this", ",", "*", "I", ",", "*", "RBI", ")", ")", ";", "GISel", "->", "RegBankInfo", ".", "reset", "(", "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": ["AArch64", "AArch64", "AArch64", "\"target-cpu\"", "\"target-features\"", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine28", "Func": "getSubtargetImpl", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10920, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Relocator", "::", "Result", "abs", "(", "Relocation", "&", "pReloc", ",", "X86_64Relocator", "&", "pParent", ")", "{", "ResolveInfo", "*", "rsym", "=", "pReloc", ".", "symInfo", "(", ")", ";", "Relocator", "::", "DWord", "A", "=", "pReloc", ".", "target", "(", ")", "+", "pReloc", ".", "addend", "(", ")", ";", "Relocator", "::", "DWord", "S", "=", "pReloc", ".", "symValue", "(", ")", ";", "Relocation", "*", "dyn_rel", "=", "pParent", ".", "getRelRelMap", "(", ")", ".", "lookUp", "(", "pReloc", ")", ";", "bool", "has_dyn_rel", "=", "(", "dyn_rel", "!=", "NULL", ")", ";", "LDSection", "&", "target_sect", "=", "pReloc", ".", "targetRef", "(", ")", ".", "frag", "(", ")", "->", "getParent", "(", ")", "->", "getSection", "(", ")", ";", "if", "(", "(", "llvm", "::", "ELF", "::", "SHF_ALLOC", "&", "target_sect", ".", "flag", "(", ")", ")", "==", "0x0", ")", "{", "pReloc", ".", "target", "(", ")", "=", "S", "+", "A", ";", "return", "Relocator", "::", "OK", ";", "}", "if", "(", "rsym", "->", "isLocal", "(", ")", "&&", "has_dyn_rel", ")", "{", "dyn_rel", "->", "setAddend", "(", "S", "+", "A", ")", ";", "return", "Relocator", "::", "OK", ";", "}", "if", "(", "!", "rsym", "->", "isLocal", "(", ")", ")", "{", "if", "(", "rsym", "->", "reserved", "(", ")", "&", "X86Relocator", "::", "ReservePLT", ")", "{", "S", "=", "helper_get_PLT_address", "(", "*", "rsym", ",", "pParent", ")", ";", "}", "if", "(", "has_dyn_rel", ")", "{", "if", "(", "llvm", "::", "ELF", "::", "R_X86_64_64", "==", "pReloc", ".", "type", "(", ")", "&&", "helper_use_relative_reloc", "(", "*", "rsym", ",", "pParent", ")", ")", "{", "dyn_rel", "->", "setAddend", "(", "S", "+", "A", ")", ";", "}", "else", "{", "dyn_rel", "->", "setAddend", "(", "A", ")", ";", "return", "Relocator", "::", "OK", ";", "}", "}", "}", "pReloc", ".", "target", "(", ")", "=", "S", "+", "A", ";", "return", "Relocator", "::", "OK", ";", "}", ""], "natrual_language": ["Compute", "known", "bits", "for", "the", "absolute", "value", "."], "TS_V_token": ["X86", "X86", "0x0", "X86", "X86"], "File": "X86Relocator", "Func": "abs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10921, "Length": 264, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "ARMBaseInstrInfo", "::", "duplicate", "(", "MachineInstr", "&", "Orig", ",", "MachineFunction", "&", "MF", ")", "const", "{", "MachineInstr", "*", "MI", "=", "TargetInstrInfo", "::", "duplicate", "(", "Orig", ",", "MF", ")", ";", "switch", "(", "Orig", ".", "getOpcode", "(", ")", ")", "{", "case", "ARM", "::", "tLDRpci_pic", ":", "case", "ARM", "::", "t2LDRpci_pic", ":", "{", "unsigned", "CPI", "=", "Orig", ".", "getOperand", "(", "1", ")", ".", "getIndex", "(", ")", ";", "unsigned", "PCLabelId", "=", "duplicateCPV", "(", "MF", ",", "CPI", ")", ";", "Orig", ".", "getOperand", "(", "1", ")", ".", "setIndex", "(", "CPI", ")", ";", "Orig", ".", "getOperand", "(", "2", ")", ".", "setImm", "(", "PCLabelId", ")", ";", "break", ";", "}", "}", "return", "MI", ";", "}", ""], "natrual_language": ["Clones", "instruction", "or", "the", "whole", "instruction", "bundle", "Orig", "and", "insert", "into", "MBB", "before", "InsertBefore", "."], "TS_V_token": ["ARM", "ARM", "ARM::tLDRpci_pic", "ARM::t2LDRpci_pic", "1", "1", "2"], "File": "ARMBaseInstrInfo (2)2", "Func": "duplicate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10922, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_output_mi_thunk", "(", "FILE", "*", "file", ",", "tree", "thunk", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", ",", "tree", "function", ")", "{", "int", "this_regno", "=", "R0_REGNUM", ";", "rtx", "this_rtx", ",", "temp0", ",", "temp1", ",", "addr", ",", "funexp", ";", "rtx_insn", "*", "insn", ";", "if", "(", "aarch64_bti_enabled", "(", ")", ")", "emit_insn", "(", "gen_bti_c", "(", ")", ")", ";", "reload_completed", "=", "1", ";", "emit_note", "(", "NOTE_INSN_PROLOGUE_END", ")", ";", "this_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "this_regno", ")", ";", "temp0", "=", "gen_rtx_REG", "(", "Pmode", ",", "EP0_REGNUM", ")", ";", "temp1", "=", "gen_rtx_REG", "(", "Pmode", ",", "EP1_REGNUM", ")", ";", "if", "(", "vcall_offset", "==", "0", ")", "aarch64_add_offset", "(", "Pmode", ",", "this_rtx", ",", "this_rtx", ",", "delta", ",", "temp1", ",", "temp0", ",", "false", ")", ";", "else", "{", "gcc_assert", "(", "(", "vcall_offset", "&", "(", "POINTER_BYTES", "-", "1", ")", ")", "==", "0", ")", ";", "addr", "=", "this_rtx", ";", "if", "(", "delta", "!=", "0", ")", "{", "if", "(", "delta", ">=", "-", "256", "&&", "delta", "<", "256", ")", "addr", "=", "gen_rtx_PRE_MODIFY", "(", "Pmode", ",", "this_rtx", ",", "plus_constant", "(", "Pmode", ",", "this_rtx", ",", "delta", ")", ")", ";", "else", "aarch64_add_offset", "(", "Pmode", ",", "this_rtx", ",", "this_rtx", ",", "delta", ",", "temp1", ",", "temp0", ",", "false", ")", ";", "}", "if", "(", "Pmode", "==", "ptr_mode", ")", "aarch64_emit_move", "(", "temp0", ",", "gen_rtx_MEM", "(", "ptr_mode", ",", "addr", ")", ")", ";", "else", "aarch64_emit_move", "(", "temp0", ",", "gen_rtx_ZERO_EXTEND", "(", "Pmode", ",", "gen_rtx_MEM", "(", "ptr_mode", ",", "addr", ")", ")", ")", ";", "if", "(", "vcall_offset", ">=", "-", "256", "&&", "vcall_offset", "<", "4096", "*", "POINTER_BYTES", ")", "addr", "=", "plus_constant", "(", "Pmode", ",", "temp0", ",", "vcall_offset", ")", ";", "else", "{", "aarch64_internal_mov_immediate", "(", "temp1", ",", "GEN_INT", "(", "vcall_offset", ")", ",", "true", ",", "Pmode", ")", ";", "addr", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "temp0", ",", "temp1", ")", ";", "}", "if", "(", "Pmode", "==", "ptr_mode", ")", "aarch64_emit_move", "(", "temp1", ",", "gen_rtx_MEM", "(", "ptr_mode", ",", "addr", ")", ")", ";", "else", "aarch64_emit_move", "(", "temp1", ",", "gen_rtx_SIGN_EXTEND", "(", "Pmode", ",", "gen_rtx_MEM", "(", "ptr_mode", ",", "addr", ")", ")", ")", ";", "emit_insn", "(", "gen_add2_insn", "(", "this_rtx", ",", "temp1", ")", ")", ";", "}", "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", ",", "NULL_RTX", ")", ")", ";", "SIBLING_CALL_P", "(", "insn", ")", "=", "1", ";", "insn", "=", "get_insns", "(", ")", ";", "shorten_branches", "(", "insn", ")", ";", "final_start_function", "(", "insn", ",", "file", ",", "1", ")", ";", "final", "(", "insn", ",", "file", ",", "1", ")", ";", "final_end_function", "(", ")", ";", "reload_completed", "=", "0", ";", "}", ""], "natrual_language": ["Output", "code", "to", "add", "DELTA", "to", "the", "first", "argument", ",", "and", "then", "jump", "to", "FUNCTION", ".", "Used", "for", "C++", "multiple", "inheritance", "."], "TS_V_token": ["aarch64", "1", "0", "1", "0", "0", "256", "256", "256", "4096", "1", "0", "1", "1", "1", "0"], "File": "aarch646", "Func": "aarch64_output_mi_thunk", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10923, "Length": 427, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "VE", "::", "Fixups", "VEMCExpr", "::", "getFixupKind", "(", "VEMCExpr", "::", "VariantKind", "Kind", ")", "{", "switch", "(", "Kind", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unhandled VEMCExpr::VariantKind\"", ")", ";", "case", "VK_VE_HI32", ":", "return", "VE", "::", "fixup_ve_hi32", ";", "case", "VK_VE_LO32", ":", "return", "VE", "::", "fixup_ve_lo32", ";", "case", "VK_VE_PC_HI32", ":", "return", "VE", "::", "fixup_ve_pc_hi32", ";", "case", "VK_VE_PC_LO32", ":", "return", "VE", "::", "fixup_ve_pc_lo32", ";", "case", "VK_VE_GOT_HI32", ":", "return", "VE", "::", "fixup_ve_got_hi32", ";", "case", "VK_VE_GOT_LO32", ":", "return", "VE", "::", "fixup_ve_got_lo32", ";", "case", "VK_VE_GOTOFF_HI32", ":", "return", "VE", "::", "fixup_ve_gotoff_hi32", ";", "case", "VK_VE_GOTOFF_LO32", ":", "return", "VE", "::", "fixup_ve_gotoff_lo32", ";", "case", "VK_VE_PLT_HI32", ":", "return", "VE", "::", "fixup_ve_plt_hi32", ";", "case", "VK_VE_PLT_LO32", ":", "return", "VE", "::", "fixup_ve_plt_lo32", ";", "}", "}", ""], "natrual_language": ["getFixupKind", "-", "Get", "the", "fixup", "kind", "of", "this", "expression", "."], "TS_V_token": ["VE", "VE::Fixups", "VE", "VE", "\"Unhandled VEMCExpr::VariantKind\"", "VE", "VE::fixup_ve_hi32", "VE", "VE::fixup_ve_lo32", "VE", "VE::fixup_ve_pc_hi32", "VE", "VE::fixup_ve_pc_lo32", "VE", "VE::fixup_ve_got_hi32", "VE", "VE::fixup_ve_got_lo32", "VE", "VE::fixup_ve_gotoff_hi32", "VE", "VE::fixup_ve_gotoff_lo32", "VE", "VE::fixup_ve_plt_hi32", "VE", "VE::fixup_ve_plt_lo32"], "File": "VEMCExpr5", "Func": "getFixupKind", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10924, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MMIXInstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["MMIX", "MMIX"], "File": "MMIXSubtarget", "Func": "getInstrInfo", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10925, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isExtFreeImpl", "(", "const", "Instruction", "*", "Ext", ")", "const", "{", "if", "(", "isa", "<", "FPExtInst", ">", "(", "Ext", ")", ")", "return", "false", ";", "if", "(", "Ext", "->", "getType", "(", ")", "->", "isVectorTy", "(", ")", ")", "return", "false", ";", "for", "(", "const", "Use", "&", "U", ":", "Ext", "->", "uses", "(", ")", ")", "{", "const", "Instruction", "*", "Instr", "=", "cast", "<", "Instruction", ">", "(", "U", ".", "getUser", "(", ")", ")", ";", "switch", "(", "Instr", "->", "getOpcode", "(", ")", ")", "{", "case", "Instruction", "::", "Shl", ":", "if", "(", "!", "isa", "<", "ConstantInt", ">", "(", "Instr", "->", "getOperand", "(", "1", ")", ")", ")", "return", "false", ";", "break", ";", "case", "Instruction", "::", "GetElementPtr", ":", "{", "gep_type_iterator", "GTI", "=", "gep_type_begin", "(", "Instr", ")", ";", "auto", "&", "DL", "=", "Ext", "->", "getModule", "(", ")", "->", "getDataLayout", "(", ")", ";", "std", "::", "advance", "(", "GTI", ",", "U", ".", "getOperandNo", "(", ")", ")", ";", "Type", "*", "IdxTy", "=", "*", "GTI", ";", "uint64_t", "ShiftAmt", "=", "countTrailingZeros", "(", "DL", ".", "getTypeStoreSizeInBits", "(", "IdxTy", ")", ")", "-", "3", ";", "if", "(", "ShiftAmt", "==", "0", "||", "ShiftAmt", ">", "4", ")", "return", "false", ";", "break", ";", "}", "case", "Instruction", "::", "Trunc", ":", "if", "(", "Instr", "->", "getType", "(", ")", "==", "Ext", "->", "getOperand", "(", "0", ")", "->", "getType", "(", ")", ")", "continue", ";", "default", ":", "return", "false", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "extension", "represented", "by", "I", "is", "free", "."], "TS_V_token": ["AArch64", "AArch64", "1", "3", "0", "4", "0"], "File": "AArch64ISelLowering (2)", "Func": "isExtFreeImpl", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10926, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCInst", "ARMInstrInfo", "::", "getNop", "(", ")", "const", "{", "MCInst", "NopInst", ";", "if", "(", "hasNOP", "(", ")", ")", "{", "NopInst", ".", "setOpcode", "(", "ARM", "::", "HINT", ")", ";", "NopInst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "0", ")", ")", ";", "NopInst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "ARMCC", "::", "AL", ")", ")", ";", "NopInst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "0", ")", ")", ";", "}", "else", "{", "NopInst", ".", "setOpcode", "(", "ARM", "::", "MOVr", ")", ";", "NopInst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "ARM", "::", "R0", ")", ")", ";", "NopInst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "ARM", "::", "R0", ")", ")", ";", "NopInst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "ARMCC", "::", "AL", ")", ")", ";", "NopInst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "0", ")", ")", ";", "NopInst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "0", ")", ")", ";", "}", "return", "NopInst", ";", "}", ""], "natrual_language": ["Return", "the", "noop", "instruction", "to", "use", "for", "a", "noop", "."], "TS_V_token": ["ARM", "ARM", "ARM::HINT", "0", "ARMCC::AL", "0", "ARM::MOVr", "ARM::R0", "ARM::R0", "ARMCC::AL", "0", "0"], "File": "ARMInstrInfo21", "Func": "getNop", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10927, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetLowering", "::", "AdjustInstrPostInstrSelection", "(", "MachineInstr", "&", "MI", ",", "SDNode", "*", "Node", ")", "const", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "ARM", "::", "MEMCPY", ")", "{", "attachMEMCPYScratchRegs", "(", "Subtarget", ",", "MI", ",", "Node", ")", ";", "return", ";", "}", "const", "MCInstrDesc", "*", "MCID", "=", "&", "MI", ".", "getDesc", "(", ")", ";", "unsigned", "NewOpc", "=", "convertAddSubFlagsOpcode", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "if", "(", "NewOpc", ")", "{", "const", "ARMBaseInstrInfo", "*", "TII", "=", "Subtarget", "->", "getInstrInfo", "(", ")", ";", "MCID", "=", "&", "TII", "->", "get", "(", "NewOpc", ")", ";", "assert", "(", "MCID", "->", "getNumOperands", "(", ")", "==", "MI", ".", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", "+", "1", "&&", "\"converted opcode should be the same except for cc_out\"", ")", ";", "MI", ".", "setDesc", "(", "*", "MCID", ")", ";", "MI", ".", "addOperand", "(", "MachineOperand", "::", "CreateReg", "(", "0", ",", "true", ")", ")", ";", "}", "unsigned", "ccOutIdx", "=", "MCID", "->", "getNumOperands", "(", ")", "-", "1", ";", "if", "(", "!", "MI", ".", "hasOptionalDef", "(", ")", "||", "!", "MCID", "->", "OpInfo", "[", "ccOutIdx", "]", ".", "isOptionalDef", "(", ")", ")", "{", "assert", "(", "!", "NewOpc", "&&", "\"Optional cc_out operand required\"", ")", ";", "return", ";", "}", "bool", "definesCPSR", "=", "false", ";", "bool", "deadCPSR", "=", "false", ";", "for", "(", "unsigned", "i", "=", "MCID", "->", "getNumOperands", "(", ")", ",", "e", "=", "MI", ".", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "i", ")", ";", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "MO", ".", "isDef", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "==", "ARM", "::", "CPSR", ")", "{", "definesCPSR", "=", "true", ";", "if", "(", "MO", ".", "isDead", "(", ")", ")", "deadCPSR", "=", "true", ";", "MI", ".", "RemoveOperand", "(", "i", ")", ";", "break", ";", "}", "}", "if", "(", "!", "definesCPSR", ")", "{", "assert", "(", "!", "NewOpc", "&&", "\"Optional cc_out operand required\"", ")", ";", "return", ";", "}", "assert", "(", "deadCPSR", "==", "!", "Node", "->", "hasAnyUseOfValue", "(", "1", ")", "&&", "\"inconsistent dead flag\"", ")", ";", "if", "(", "deadCPSR", ")", "{", "assert", "(", "!", "MI", ".", "getOperand", "(", "ccOutIdx", ")", ".", "getReg", "(", ")", "&&", "\"expect uninitialized optional cc_out operand\"", ")", ";", "return", ";", "}", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "ccOutIdx", ")", ";", "MO", ".", "setReg", "(", "ARM", "::", "CPSR", ")", ";", "MO", ".", "setIsDef", "(", "true", ")", ";", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'hasPostISelHook", "'", "flag", "."], "TS_V_token": ["ARM", "ARM", "ARM::MEMCPY", "ARM", "1", "\"converted opcode should be the same except for cc_out\"", "0", "1", "\"Optional cc_out operand required\"", "ARM::CPSR", "\"Optional cc_out operand required\"", "1", "\"inconsistent dead flag\"", "\"expect uninitialized optional cc_out operand\"", "ARM::CPSR"], "File": "ARMISelLowering11", "Func": "AdjustInstrPostInstrSelection", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10928, "Length": 366, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "X86TargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", "DL", ",", "LLVMContext", "&", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "Subtarget", "->", "hasAVX512", "(", ")", "?", "MVT", "::", "i1", ":", "MVT", "::", "i8", ";", "const", "unsigned", "NumElts", "=", "VT", ".", "getVectorNumElements", "(", ")", ";", "const", "EVT", "EltVT", "=", "VT", ".", "getVectorElementType", "(", ")", ";", "if", "(", "VT", ".", "is512BitVector", "(", ")", ")", "{", "if", "(", "Subtarget", "->", "hasAVX512", "(", ")", ")", "if", "(", "EltVT", "==", "MVT", "::", "i32", "||", "EltVT", "==", "MVT", "::", "i64", "||", "EltVT", "==", "MVT", "::", "f32", "||", "EltVT", "==", "MVT", "::", "f64", ")", "switch", "(", "NumElts", ")", "{", "case", "8", ":", "return", "MVT", "::", "v8i1", ";", "case", "16", ":", "return", "MVT", "::", "v16i1", ";", "}", "if", "(", "Subtarget", "->", "hasBWI", "(", ")", ")", "if", "(", "EltVT", "==", "MVT", "::", "i8", "||", "EltVT", "==", "MVT", "::", "i16", ")", "switch", "(", "NumElts", ")", "{", "case", "32", ":", "return", "MVT", "::", "v32i1", ";", "case", "64", ":", "return", "MVT", "::", "v64i1", ";", "}", "}", "if", "(", "VT", ".", "is256BitVector", "(", ")", "||", "VT", ".", "is128BitVector", "(", ")", ")", "{", "if", "(", "Subtarget", "->", "hasVLX", "(", ")", ")", "if", "(", "EltVT", "==", "MVT", "::", "i32", "||", "EltVT", "==", "MVT", "::", "i64", "||", "EltVT", "==", "MVT", "::", "f32", "||", "EltVT", "==", "MVT", "::", "f64", ")", "switch", "(", "NumElts", ")", "{", "case", "2", ":", "return", "MVT", "::", "v2i1", ";", "case", "4", ":", "return", "MVT", "::", "v4i1", ";", "case", "8", ":", "return", "MVT", "::", "v8i1", ";", "}", "if", "(", "Subtarget", "->", "hasBWI", "(", ")", "&&", "Subtarget", "->", "hasVLX", "(", ")", ")", "if", "(", "EltVT", "==", "MVT", "::", "i8", "||", "EltVT", "==", "MVT", "::", "i16", ")", "switch", "(", "NumElts", ")", "{", "case", "8", ":", "return", "MVT", "::", "v8i1", ";", "case", "16", ":", "return", "MVT", "::", "v16i1", ";", "case", "32", ":", "return", "MVT", "::", "v32i1", ";", "}", "}", "return", "VT", ".", "changeVectorElementTypeToInteger", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["X86", "X86", "MVT::i1", "MVT::i8", "MVT::i32", "MVT::i64", "MVT::f32", "MVT::f64", "8", "MVT::v8i1", "16", "MVT::v16i1", "MVT::i8", "MVT::i16", "32", "MVT::v32i1", "64", "MVT::v64i1", "MVT::i32", "MVT::i64", "MVT::f32", "MVT::f64", "2", "MVT::v2i1", "4", "MVT::v4i1", "8", "MVT::v8i1", "MVT::i8", "MVT::i16", "8", "MVT::v8i1", "16", "MVT::v16i1", "32", "MVT::v32i1"], "File": "X86ISelLowering1", "Func": "getSetCCResultType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10929, "Length": 318, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSection", "*", "SystemZMCAsmInfo", "::", "getNonexecutableStackSection", "(", "MCContext", "&", "Ctx", ")", "const", "{", "return", "MCSectionELF", "::", "Create", "(", "\".note.GNU-stack\"", ",", "MCSectionELF", "::", "SHT_PROGBITS", ",", "0", ",", "SectionKind", "::", "getMetadata", "(", ")", ",", "false", ",", "Ctx", ")", ";", "}", ""], "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": "SystemZMCAsmInfo27", "Func": "getNonexecutableStackSection", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10930, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SystemZTargetMachine", "&", "getTargetMachine", "(", ")", "const", "{", "return", "static_cast", "<", "const", "SystemZTargetMachine", "&", ">", "(", "TM", ")", ";", "}", ""], "natrual_language": ["Return", "the", "target", "machine", "(", "if", "available", ")", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ"], "File": "SystemZISelDAGToDAG (2)", "Func": "getTargetMachine", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10931, "Length": 20, "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", ")", ";", "else", "if", "(", "insn_entry", "[", "i", "]", ".", "special_handling", "==", "SH_XXPERMDI", ")", "fputs", "(", "\"special:xxpermdi \"", ",", "dump_file", ")", ";", "else", "if", "(", "insn_entry", "[", "i", "]", ".", "special_handling", "==", "SH_CONCAT", ")", "fputs", "(", "\"special:concat \"", ",", "dump_file", ")", ";", "else", "if", "(", "insn_entry", "[", "i", "]", ".", "special_handling", "==", "SH_VPERM", ")", "fputs", "(", "\"special:vperm \"", ",", "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": ["powerpcspe", "\"\\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 \"", "\"special:xxpermdi \"", "\"special:concat \"", "\"special:vperm \"", "\"unoptimizable \"", "\"delete \"", "\"\\n\"", "\"\\n\""], "File": "powerpcspe", "Func": "dump_swap_insn_table", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10932, "Length": 452, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "LC2200MCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "return", "getLC2200RegisterNumbering", "(", "MO", ".", "getReg", "(", ")", ")", ";", "}", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["LC2200", "LC2200", "LC2200", "0"], "File": "LC2200MCCodeEmitter", "Func": "getMachineOpValue", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10933, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "basic_block", "add_condition_to_bb", "(", "tree", "function_decl", ",", "tree", "version_decl", ",", "tree", "predicate_chain", ",", "basic_block", "new_bb", ")", "{", "gimple", "return_stmt", ";", "tree", "convert_expr", ",", "result_var", ";", "gimple", "convert_stmt", ";", "gimple", "call_cond_stmt", ";", "gimple", "if_else_stmt", ";", "basic_block", "bb1", ",", "bb2", ",", "bb3", ";", "edge", "e12", ",", "e23", ";", "tree", "cond_var", ",", "and_expr_var", "=", "NULL_TREE", ";", "gimple_seq", "gseq", ";", "tree", "predicate_decl", ",", "predicate_arg", ";", "push_cfun", "(", "DECL_STRUCT_FUNCTION", "(", "function_decl", ")", ")", ";", "gcc_assert", "(", "new_bb", "!=", "NULL", ")", ";", "gseq", "=", "bb_seq", "(", "new_bb", ")", ";", "convert_expr", "=", "build1", "(", "CONVERT_EXPR", ",", "ptr_type_node", ",", "build_fold_addr_expr", "(", "version_decl", ")", ")", ";", "result_var", "=", "create_tmp_var", "(", "ptr_type_node", ")", ";", "convert_stmt", "=", "gimple_build_assign", "(", "result_var", ",", "convert_expr", ")", ";", "return_stmt", "=", "gimple_build_return", "(", "result_var", ")", ";", "if", "(", "predicate_chain", "==", "NULL_TREE", ")", "{", "gimple_seq_add_stmt", "(", "&", "gseq", ",", "convert_stmt", ")", ";", "gimple_seq_add_stmt", "(", "&", "gseq", ",", "return_stmt", ")", ";", "set_bb_seq", "(", "new_bb", ",", "gseq", ")", ";", "gimple_set_bb", "(", "convert_stmt", ",", "new_bb", ")", ";", "gimple_set_bb", "(", "return_stmt", ",", "new_bb", ")", ";", "pop_cfun", "(", ")", ";", "return", "new_bb", ";", "}", "while", "(", "predicate_chain", "!=", "NULL", ")", "{", "cond_var", "=", "create_tmp_var", "(", "integer_type_node", ")", ";", "predicate_decl", "=", "TREE_PURPOSE", "(", "predicate_chain", ")", ";", "predicate_arg", "=", "TREE_VALUE", "(", "predicate_chain", ")", ";", "call_cond_stmt", "=", "gimple_build_call", "(", "predicate_decl", ",", "1", ",", "predicate_arg", ")", ";", "gimple_call_set_lhs", "(", "call_cond_stmt", ",", "cond_var", ")", ";", "gimple_set_block", "(", "call_cond_stmt", ",", "DECL_INITIAL", "(", "function_decl", ")", ")", ";", "gimple_set_bb", "(", "call_cond_stmt", ",", "new_bb", ")", ";", "gimple_seq_add_stmt", "(", "&", "gseq", ",", "call_cond_stmt", ")", ";", "predicate_chain", "=", "TREE_CHAIN", "(", "predicate_chain", ")", ";", "if", "(", "and_expr_var", "==", "NULL", ")", "and_expr_var", "=", "cond_var", ";", "else", "{", "gimple", "assign_stmt", ";", "assign_stmt", "=", "gimple_build_assign", "(", "and_expr_var", ",", "build2", "(", "MIN_EXPR", ",", "integer_type_node", ",", "cond_var", ",", "and_expr_var", ")", ")", ";", "gimple_set_block", "(", "assign_stmt", ",", "DECL_INITIAL", "(", "function_decl", ")", ")", ";", "gimple_set_bb", "(", "assign_stmt", ",", "new_bb", ")", ";", "gimple_seq_add_stmt", "(", "&", "gseq", ",", "assign_stmt", ")", ";", "}", "}", "if_else_stmt", "=", "gimple_build_cond", "(", "GT_EXPR", ",", "and_expr_var", ",", "integer_zero_node", ",", "NULL_TREE", ",", "NULL_TREE", ")", ";", "gimple_set_block", "(", "if_else_stmt", ",", "DECL_INITIAL", "(", "function_decl", ")", ")", ";", "gimple_set_bb", "(", "if_else_stmt", ",", "new_bb", ")", ";", "gimple_seq_add_stmt", "(", "&", "gseq", ",", "if_else_stmt", ")", ";", "gimple_seq_add_stmt", "(", "&", "gseq", ",", "convert_stmt", ")", ";", "gimple_seq_add_stmt", "(", "&", "gseq", ",", "return_stmt", ")", ";", "set_bb_seq", "(", "new_bb", ",", "gseq", ")", ";", "bb1", "=", "new_bb", ";", "e12", "=", "split_block", "(", "bb1", ",", "if_else_stmt", ")", ";", "bb2", "=", "e12", "->", "dest", ";", "e12", "->", "flags", "&=", "~", "EDGE_FALLTHRU", ";", "e12", "->", "flags", "|=", "EDGE_TRUE_VALUE", ";", "e23", "=", "split_block", "(", "bb2", ",", "return_stmt", ")", ";", "gimple_set_bb", "(", "convert_stmt", ",", "bb2", ")", ";", "gimple_set_bb", "(", "return_stmt", ",", "bb2", ")", ";", "bb3", "=", "e23", "->", "dest", ";", "make_edge", "(", "bb1", ",", "bb3", ",", "EDGE_FALSE_VALUE", ")", ";", "remove_edge", "(", "e23", ")", ";", "make_edge", "(", "bb2", ",", "EXIT_BLOCK_PTR_FOR_FN", "(", "cfun", ")", ",", "0", ")", ";", "pop_cfun", "(", ")", ";", "return", "bb3", ";", "}", ""], "natrual_language": ["This", "adds", "a", "condition", "to", "the", "basic_block", "NEW_BB", "in", "function", "FUNCTION_DECL", "to", "return", "a", "pointer", "to", "VERSION_DECL", "if", "we", "are", "running", "on", "a", "machine", "that", "supports", "the", "index", "CLONE_ISA", "hardware", "architecture", "bits", ".", "This", "function", "will", "be", "called", "during", "version", "dispatch", "to", "decide", "which", "function", "version", "to", "execute", ".", "It", "returns", "the", "basic", "block", "at", "the", "end", ",", "to", "which", "more", "conditions", "can", "be", "added", "."], "TS_V_token": ["i386", "1", "0"], "File": "i3864", "Func": "add_condition_to_bb", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10934, "Length": 468, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "dump_tree_node_info", "(", "fma_forest", "*", "forest", ",", "fma_node", "*", "node", ")", "{", "node", "->", "dump_info", "(", "forest", ")", ";", "}", ""], "natrual_language": ["Wrapper", "around", "fma_node", ":", ":dump_info", "for", "use", "as", "parameter", "of", "function", "pointer", "type", "in", "func_fma_steering", ":", ":dfs", "."], "TS_V_token": ["aarch64"], "File": "cortex-a57-fma-steering", "Func": "dump_tree_node_info", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10935, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "valid_sf_si_move", "(", "rtx", "dest", ",", "rtx", "src", ",", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_ALLOW_SF_SUBREG", ")", "return", "true", ";", "if", "(", "mode", "!=", "SFmode", "&&", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_INT", ")", "return", "true", ";", "if", "(", "!", "SUBREG_P", "(", "src", ")", "||", "!", "sf_subreg_operand", "(", "src", ",", "mode", ")", ")", "return", "true", ";", "if", "(", "SUBREG_P", "(", "dest", ")", ")", "{", "rtx", "dest_subreg", "=", "SUBREG_REG", "(", "dest", ")", ";", "rtx", "src_subreg", "=", "SUBREG_REG", "(", "src", ")", ";", "return", "GET_MODE", "(", "dest_subreg", ")", "==", "GET_MODE", "(", "src_subreg", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "whether", "a", "SFmode", "or", "SImode", "move", "can", "be", "done", "without", "converting", "one", "mode", "to", "another", ".", "This", "arrises", "when", "we", "have", ":", "(", "SUBREG", ":", "SF", "(", "REG", ":", "SI", "...", ")", ")", "(", "SUBREG", ":", "SI", "(", "REG", ":", "SF", "...", ")", ")", "and", "one", "of", "the", "values", "is", "in", "a", "floating", "point/vector", "register", ",", "where", "SFmode", "scalars", "are", "stored", "in", "DFmode", "format", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "valid_sf_si_move", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10936, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcTargetMachine", "::", "SparcTargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "is64bit", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "is64bit", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "RM", ")", ",", "CM", ",", "OL", ")", ",", "TLOF", "(", "make_unique", "<", "SparcELFTargetObjectFile", ">", "(", ")", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ",", "is64bit", ")", ",", "is64Bit", "(", "is64bit", ")", "{", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "ILP32", "architecture", "model", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc"], "File": "SparcTargetMachine16", "Func": "SparcTargetMachine", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10937, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "loongarch_return_in_memory", "(", "const_tree", "type", ",", "const_tree", "fndecl", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "args", ";", "cumulative_args_t", "cum", "=", "pack_cumulative_args", "(", "&", "args", ")", ";", "memset", "(", "&", "args", ",", "0", ",", "sizeof", "(", "args", ")", ")", ";", "function_arg_info", "arg", "(", "const_cast", "<", "tree", ">", "(", "type", ")", ",", "true", ")", ";", "return", "loongarch_pass_by_reference", "(", "cum", ",", "arg", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_RETURN_IN_MEMORY", "."], "TS_V_token": ["loongarch", "0"], "File": "loongarch", "Func": "loongarch_return_in_memory", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10938, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseInstrInfo", "::", "reMaterialize", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "unsigned", "SubIdx", ",", "const", "MachineInstr", "&", "Orig", ",", "const", "TargetRegisterInfo", "&", "TRI", ")", "const", "{", "unsigned", "Opcode", "=", "Orig", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "{", "MachineInstr", "*", "MI", "=", "MBB", ".", "getParent", "(", ")", "->", "CloneMachineInstr", "(", "&", "Orig", ")", ";", "MI", "->", "substituteRegister", "(", "Orig", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "DestReg", ",", "SubIdx", ",", "TRI", ")", ";", "MBB", ".", "insert", "(", "I", ",", "MI", ")", ";", "break", ";", "}", "case", "ARM", "::", "tLDRpci_pic", ":", "case", "ARM", "::", "t2LDRpci_pic", ":", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "unsigned", "CPI", "=", "Orig", ".", "getOperand", "(", "1", ")", ".", "getIndex", "(", ")", ";", "unsigned", "PCLabelId", "=", "duplicateCPV", "(", "MF", ",", "CPI", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "I", ",", "Orig", ".", "getDebugLoc", "(", ")", ",", "get", "(", "Opcode", ")", ",", "DestReg", ")", ".", "addConstantPoolIndex", "(", "CPI", ")", ".", "addImm", "(", "PCLabelId", ")", ";", "MIB", "->", "setMemRefs", "(", "Orig", ".", "memoperands_begin", "(", ")", ",", "Orig", ".", "memoperands_end", "(", ")", ")", ";", "break", ";", "}", "}", "}", ""], "natrual_language": ["Re-issue", "the", "specified", "'original", "'", "instruction", "at", "the", "specific", "location", "targeting", "a", "new", "destination", "register", "."], "TS_V_token": ["ARM", "ARM", "0", "ARM::tLDRpci_pic", "ARM::t2LDRpci_pic", "1"], "File": "ARMBaseInstrInfo (2)2", "Func": "reMaterialize", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10939, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "final_prescan_insn", "(", "rtx", "insn", ",", "rtx", "opvec", "[", "]", "ATTRIBUTE_UNUSED", ",", "int", "noperands", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "dslots_number_nops", ">", "0", ")", "{", "rtx", "pattern", "=", "PATTERN", "(", "insn", ")", ";", "int", "length", "=", "get_attr_length", "(", "insn", ")", ";", "if", "(", "length", "==", "0", "||", "(", "iq2000_load_reg", "!=", "0", "&&", "reg_mentioned_p", "(", "iq2000_load_reg", ",", "pattern", ")", ")", "||", "(", "iq2000_load_reg2", "!=", "0", "&&", "reg_mentioned_p", "(", "iq2000_load_reg2", ",", "pattern", ")", ")", "||", "(", "iq2000_load_reg3", "!=", "0", "&&", "reg_mentioned_p", "(", "iq2000_load_reg3", ",", "pattern", ")", ")", "||", "(", "iq2000_load_reg4", "!=", "0", "&&", "reg_mentioned_p", "(", "iq2000_load_reg4", ",", "pattern", ")", ")", ")", "fputs", "(", "\"\\tnop\\n\"", ",", "asm_out_file", ")", ";", "else", "dslots_load_filled", "++", ";", "while", "(", "--", "dslots_number_nops", ">", "0", ")", "fputs", "(", "\"\\tnop\\n\"", ",", "asm_out_file", ")", ";", "iq2000_load_reg", "=", "0", ";", "iq2000_load_reg2", "=", "0", ";", "iq2000_load_reg3", "=", "0", ";", "iq2000_load_reg4", "=", "0", ";", "}", "if", "(", "(", "GET_CODE", "(", "insn", ")", "==", "JUMP_INSN", "||", "GET_CODE", "(", "insn", ")", "==", "CALL_INSN", "||", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "RETURN", ")", ")", "&&", "NEXT_INSN", "(", "PREV_INSN", "(", "insn", ")", ")", "==", "insn", ")", "{", "rtx", "nop_insn", "=", "emit_insn_after", "(", "gen_nop", "(", ")", ",", "insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "nop_insn", ",", "-", "1", ")", ";", "}", "if", "(", "TARGET_STATS", "&&", "(", "GET_CODE", "(", "insn", ")", "==", "JUMP_INSN", "||", "GET_CODE", "(", "insn", ")", "==", "CALL_INSN", ")", ")", "dslots_jump_total", "++", ";", "}", ""], "natrual_language": ["If", "defined", ",", "a", "C", "statement", "to", "be", "executed", "just", "prior", "to", "the", "output", "of", "assembler", "code", "for", "INSN", ",", "to", "modify", "the", "extracted", "operands", "so", "they", "will", "be", "output", "differently", ".", "Here", "the", "argument", "OPVEC", "is", "the", "vector", "containing", "the", "operands", "extracted", "from", "INSN", ",", "and", "NOPERANDS", "is", "the", "number", "of", "elements", "of", "the", "vector", "which", "contain", "meaningful", "data", "for", "this", "insn", ".", "The", "contents", "of", "this", "vector", "are", "what", "will", "be", "used", "to", "convert", "the", "insn", "template", "into", "assembler", "code", ",", "so", "you", "can", "change", "the", "assembler", "output", "by", "changing", "the", "contents", "of", "the", "vector", ".", "We", "use", "it", "to", "check", "if", "the", "current", "insn", "needs", "a", "nop", "in", "front", "of", "it", "because", "of", "load", "delays", ",", "and", "also", "to", "update", "the", "delay", "slot", "statistics", "."], "TS_V_token": ["iq2000", "0", "0", "0", "0", "0", "0", "\"\\tnop\\n\"", "0", "\"\\tnop\\n\"", "0", "0", "0", "0", "1"], "File": "iq20002", "Func": "final_prescan_insn", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10940, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "altivec_expand_vec_ext_builtin", "(", "tree", "exp", ",", "rtx", "target", ")", "{", "machine_mode", "tmode", ",", "mode0", ";", "tree", "arg0", ",", "arg1", ";", "rtx", "op0", ";", "rtx", "op1", ";", "arg0", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "arg1", "=", "CALL_EXPR_ARG", "(", "exp", ",", "1", ")", ";", "op0", "=", "expand_normal", "(", "arg0", ")", ";", "op1", "=", "expand_normal", "(", "arg1", ")", ";", "if", "(", "TREE_CODE", "(", "arg1", ")", "==", "INTEGER_CST", ")", "{", "unsigned", "HOST_WIDE_INT", "elt", ";", "unsigned", "HOST_WIDE_INT", "size", "=", "TYPE_VECTOR_SUBPARTS", "(", "TREE_TYPE", "(", "arg0", ")", ")", ";", "unsigned", "int", "truncated_selector", ";", "elt", "=", "TREE_INT_CST_LOW", "(", "arg1", ")", ";", "truncated_selector", "=", "elt", "%", "size", ";", "op1", "=", "GEN_INT", "(", "truncated_selector", ")", ";", "}", "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", ")", ";", "rs6000_expand_vector_extract", "(", "target", ",", "op0", ",", "op1", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Expand", "vec_ext", "builtin", "."], "TS_V_token": ["rs6000", "0", "1"], "File": "rs6000-builtin", "Func": "altivec_expand_vec_ext_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10941, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SVEIntrinsicOpts", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "bool", "Changed", "=", "false", ";", "SmallSetVector", "<", "Function", "*", ",", "4", ">", "Functions", ";", "for", "(", "auto", "&", "F", ":", "M", ".", "getFunctionList", "(", ")", ")", "{", "if", "(", "!", "F", ".", "isDeclaration", "(", ")", ")", "continue", ";", "switch", "(", "F", ".", "getIntrinsicID", "(", ")", ")", "{", "case", "Intrinsic", "::", "aarch64_sve_ptest_any", ":", "case", "Intrinsic", "::", "aarch64_sve_ptest_first", ":", "case", "Intrinsic", "::", "aarch64_sve_ptest_last", ":", "case", "Intrinsic", "::", "aarch64_sve_ptrue", ":", "case", "Intrinsic", "::", "aarch64_sve_mul", ":", "case", "Intrinsic", "::", "aarch64_sve_fmul", ":", "case", "Intrinsic", "::", "aarch64_sve_tbl", ":", "for", "(", "User", "*", "U", ":", "F", ".", "users", "(", ")", ")", "Functions", ".", "insert", "(", "cast", "<", "Instruction", ">", "(", "U", ")", "->", "getFunction", "(", ")", ")", ";", "break", ";", "default", ":", "break", ";", "}", "}", "if", "(", "!", "Functions", ".", "empty", "(", ")", ")", "Changed", "|=", "optimizeFunctions", "(", "Functions", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["AArch64", "4", "Intrinsic::aarch64_sve_ptest_any", "Intrinsic::aarch64_sve_ptest_first", "Intrinsic::aarch64_sve_ptest_last", "Intrinsic::aarch64_sve_ptrue", "Intrinsic::aarch64_sve_mul", "Intrinsic::aarch64_sve_fmul", "Intrinsic::aarch64_sve_tbl"], "File": "SVEIntrinsicOpts2", "Func": "runOnModule", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10942, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nds32_plus_reg_load_store_p", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "mem_src", "=", "NULL_RTX", ";", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_LOAD", ":", "mem_src", "=", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ";", "break", ";", "case", "TYPE_STORE", ":", "mem_src", "=", "SET_DEST", "(", "PATTERN", "(", "insn", ")", ")", ";", "break", ";", "default", ":", "break", ";", "}", "if", "(", "mem_src", "!=", "NULL_RTX", ")", "{", "if", "(", "(", "GET_CODE", "(", "mem_src", ")", "==", "ZERO_EXTEND", ")", "||", "(", "GET_CODE", "(", "mem_src", ")", "==", "SIGN_EXTEND", ")", ")", "mem_src", "=", "XEXP", "(", "mem_src", ",", "0", ")", ";", "if", "(", "(", "GET_CODE", "(", "XEXP", "(", "mem_src", ",", "0", ")", ")", "==", "PLUS", ")", ")", "mem_src", "=", "XEXP", "(", "mem_src", ",", "0", ")", ";", "else", "return", "false", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "mem_src", ",", "0", ")", ")", "==", "REG", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "is", "load", "with", "[", "REG", "+", "REG/CONST_INT", "]", "addressing", "mode", "."], "TS_V_token": ["nds32", "0", "0", "0", "0"], "File": "nds32-relax-opt", "Func": "nds32_plus_reg_load_store_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10943, "Length": 144, "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", ")", ",", "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", "(", ")", "||", "isABI_EABI", "(", ")", ")", ")", "||", "(", "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", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "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": "MipsSubtarget", "Func": "MipsSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10944, "Length": 465, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_attr_length_push_multi", "(", "rtx", "parallel_op", ",", "rtx", "first_op", ")", "{", "int", "i", ",", "regno", ",", "hi_reg", ";", "int", "num_saves", "=", "XVECLEN", "(", "parallel_op", ",", "0", ")", ";", "if", "(", "TARGET_ARM", ")", "return", "4", ";", "if", "(", "TARGET_THUMB1", ")", "return", "2", ";", "regno", "=", "REGNO", "(", "first_op", ")", ";", "hi_reg", "=", "(", "REGNO_REG_CLASS", "(", "regno", ")", "==", "HI_REGS", ")", "&&", "(", "regno", "!=", "LR_REGNUM", ")", ";", "for", "(", "i", "=", "1", ";", "i", "<", "num_saves", "&&", "!", "hi_reg", ";", "i", "++", ")", "{", "regno", "=", "REGNO", "(", "XEXP", "(", "XVECEXP", "(", "parallel_op", ",", "0", ",", "i", ")", ",", "0", ")", ")", ";", "hi_reg", "|=", "(", "REGNO_REG_CLASS", "(", "regno", ")", "==", "HI_REGS", ")", "&&", "(", "regno", "!=", "LR_REGNUM", ")", ";", "}", "if", "(", "!", "hi_reg", ")", "return", "2", ";", "return", "4", ";", "}", ""], "natrual_language": ["Compute", "the", "atrribute", "``", "length", "''", "of", "insn", "``", "*", "push_multi", "''", ".", "So", "this", "function", "MUST", "be", "kept", "in", "sync", "with", "that", "insn", "pattern", "."], "TS_V_token": ["arm", "0", "4", "2", "1", "0", "0", "2", "4"], "File": "arm", "Func": "arm_attr_length_push_multi", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10945, "Length": 131, "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", ";", "if", "(", "RPI", ".", "IsGPR", ")", "StrOpc", "=", "RPI", ".", "isPaired", "(", ")", "?", "AArch64", "::", "STPXi", ":", "AArch64", "::", "STRXui", ";", "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\"", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "StrOpc", ")", ")", ";", "MBB", ".", "addLiveIn", "(", "Reg1", ")", ";", "if", "(", "RPI", ".", "isPaired", "(", ")", ")", "{", "MBB", ".", "addLiveIn", "(", "Reg2", ")", ";", "MIB", ".", "addReg", "(", "Reg2", ",", "getPrologueDeath", "(", "MF", ",", "Reg2", ")", ")", ";", "MIB", ".", "addMemOperand", "(", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "RPI", ".", "FrameIdx", "+", "1", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "8", ",", "8", ")", ")", ";", "}", "MIB", ".", "addReg", "(", "Reg1", ",", "getPrologueDeath", "(", "MF", ",", "Reg1", ")", ")", ".", "addReg", "(", "AArch64", "::", "SP", ")", ".", "addImm", "(", "RPI", ".", "Offset", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "MIB", ".", "addMemOperand", "(", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "RPI", ".", "FrameIdx", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "8", ",", "8", ")", ")", ";", "}", "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::STPXi", "AArch64::STRXui", "AArch64::STPDi", "AArch64::STRDui", "\"CSR spill: (\"", "\", \"", "\") -> fi#(\"", "\", \"", "1", "\")\\n\"", "1", "8", "8", "AArch64::SP", "8", "8"], "File": "AArch64FrameLowering22", "Func": "spillCalleeSavedRegisters", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10946, "Length": 399, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64RegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "AArch64FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "AArch64", "::", "GPR32RegClassID", ":", "case", "AArch64", "::", "GPR32spRegClassID", ":", "case", "AArch64", "::", "GPR32allRegClassID", ":", "case", "AArch64", "::", "GPR64spRegClassID", ":", "case", "AArch64", "::", "GPR64allRegClassID", ":", "case", "AArch64", "::", "GPR64RegClassID", ":", "case", "AArch64", "::", "GPR32commonRegClassID", ":", "case", "AArch64", "::", "GPR64commonRegClassID", ":", "return", "32", "-", "1", "-", "(", "TFI", "->", "hasFP", "(", "MF", ")", "||", "TT", ".", "isOSDarwin", "(", ")", ")", "-", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "getNumXRegisterReserved", "(", ")", "-", "hasBasePointer", "(", "MF", ")", ";", "case", "AArch64", "::", "FPR8RegClassID", ":", "case", "AArch64", "::", "FPR16RegClassID", ":", "case", "AArch64", "::", "FPR32RegClassID", ":", "case", "AArch64", "::", "FPR64RegClassID", ":", "case", "AArch64", "::", "FPR128RegClassID", ":", "return", "32", ";", "case", "AArch64", "::", "DDRegClassID", ":", "case", "AArch64", "::", "DDDRegClassID", ":", "case", "AArch64", "::", "DDDDRegClassID", ":", "case", "AArch64", "::", "QQRegClassID", ":", "case", "AArch64", "::", "QQQRegClassID", ":", "case", "AArch64", "::", "QQQQRegClassID", ":", "return", "32", ";", "case", "AArch64", "::", "FPR128_loRegClassID", ":", "case", "AArch64", "::", "FPR64_loRegClassID", ":", "return", "16", ";", "}", "}", ""], "natrual_language": ["Return", "the", "register", "pressure", "``", "high", "water", "mark", "''", "for", "the", "specific", "register", "class", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "0", "AArch64::GPR32RegClassID", "AArch64::GPR32spRegClassID", "AArch64::GPR32allRegClassID", "AArch64::GPR64spRegClassID", "AArch64::GPR64allRegClassID", "AArch64::GPR64RegClassID", "AArch64::GPR32commonRegClassID", "AArch64::GPR64commonRegClassID", "32", "1", "AArch64", "AArch64::FPR8RegClassID", "AArch64::FPR16RegClassID", "AArch64::FPR32RegClassID", "AArch64::FPR64RegClassID", "AArch64::FPR128RegClassID", "32", "AArch64::DDRegClassID", "AArch64::DDDRegClassID", "AArch64::DDDDRegClassID", "AArch64::QQRegClassID", "AArch64::QQQRegClassID", "AArch64::QQQQRegClassID", "32", "AArch64::FPR128_loRegClassID", "AArch64::FPR64_loRegClassID", "16"], "File": "AArch64RegisterInfo12", "Func": "getRegPressureLimit", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10947, "Length": 194, "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": 10948, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsLongBranch", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "const", "MipsInstrInfo", "*", "TII", "=", "static_cast", "<", "const", "MipsInstrInfo", "*", ">", "(", "TM", ".", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ")", ";", "const", "MipsSubtarget", "&", "STI", "=", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "if", "(", "STI", ".", "inMips16Mode", "(", ")", "||", "!", "STI", ".", "enableLongBranchPass", "(", ")", ")", "return", "false", ";", "if", "(", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "&&", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "isABI_O32", "(", ")", "&&", "F", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", "->", "globalBaseRegSet", "(", ")", ")", "emitGPDisp", "(", "F", ",", "TII", ")", ";", "if", "(", "SkipLongBranch", ")", "return", "true", ";", "MF", "=", "&", "F", ";", "initMBBInfo", "(", ")", ";", "SmallVectorImpl", "<", "MBBInfo", ">", "::", "iterator", "I", ",", "E", "=", "MBBInfos", ".", "end", "(", ")", ";", "bool", "EverMadeChange", "=", "false", ",", "MadeChange", "=", "true", ";", "while", "(", "MadeChange", ")", "{", "MadeChange", "=", "false", ";", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "!", "I", "->", "Br", "||", "I", "->", "HasLongBranch", ")", "continue", ";", "int", "ShVal", "=", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "inMicroMipsMode", "(", ")", "?", "2", ":", "4", ";", "int64_t", "Offset", "=", "computeOffset", "(", "I", "->", "Br", ")", "/", "ShVal", ";", "if", "(", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "isTargetNaCl", "(", ")", ")", "{", "Offset", "*=", "2", ";", "}", "if", "(", "!", "ForceLongBranch", "&&", "isInt", "<", "14", ">", "(", "Offset", ")", ")", "continue", ";", "I", "->", "HasLongBranch", "=", "true", ";", "I", "->", "Size", "+=", "LongBranchSeqSize", "*", "4", ";", "++", "LongBranches", ";", "EverMadeChange", "=", "MadeChange", "=", "true", ";", "}", "}", "if", "(", "!", "EverMadeChange", ")", "return", "true", ";", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "{", "uint64_t", "Address", "=", "0", ";", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "Address", "+=", "I", "->", "Size", ",", "++", "I", ")", "I", "->", "Address", "=", "Address", ";", "}", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "if", "(", "I", "->", "HasLongBranch", ")", "expandToLongBranch", "(", "*", "I", ")", ";", "MF", "->", "RenumberBlocks", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "2", "4", "Mips", "2", "14", "4", "0"], "File": "MipsLongBranch14", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10949, "Length": 381, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc_emit_floatunsdi", "(", "rtx", "*", "operands", ",", "machine_mode", "mode", ")", "{", "rtx", "i0", ",", "i1", ",", "f0", ",", "in", ",", "out", ";", "out", "=", "operands", "[", "0", "]", ";", "in", "=", "force_reg", "(", "DImode", ",", "operands", "[", "1", "]", ")", ";", "rtx_code_label", "*", "neglab", "=", "gen_label_rtx", "(", ")", ";", "rtx_code_label", "*", "donelab", "=", "gen_label_rtx", "(", ")", ";", "i0", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "i1", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "f0", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_cmp_and_jump_insns", "(", "in", ",", "const0_rtx", ",", "LT", ",", "const0_rtx", ",", "DImode", ",", "0", ",", "neglab", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "out", ",", "gen_rtx_FLOAT", "(", "mode", ",", "in", ")", ")", ")", ";", "emit_jump_insn", "(", "gen_jump", "(", "donelab", ")", ")", ";", "emit_barrier", "(", ")", ";", "emit_label", "(", "neglab", ")", ";", "emit_insn", "(", "gen_lshrdi3", "(", "i0", ",", "in", ",", "const1_rtx", ")", ")", ";", "emit_insn", "(", "gen_anddi3", "(", "i1", ",", "in", ",", "const1_rtx", ")", ")", ";", "emit_insn", "(", "gen_iordi3", "(", "i0", ",", "i0", ",", "i1", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "f0", ",", "gen_rtx_FLOAT", "(", "mode", ",", "i0", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "out", ",", "gen_rtx_PLUS", "(", "mode", ",", "f0", ",", "f0", ")", ")", ")", ";", "emit_label", "(", "donelab", ")", ";", "}", ""], "natrual_language": ["Generate", "an", "unsigned", "DImode", "to", "FP", "conversion", ".", "This", "is", "the", "same", "code", "optabs", "would", "emit", "if", "we", "did", "n't", "have", "TFmode", "patterns", "."], "TS_V_token": ["sparc", "0", "1", "0"], "File": "sparc4", "Func": "sparc_emit_floatunsdi", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10950, "Length": 207, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsFrameInfo", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "prior", "(", "MBB", ".", "end", "(", ")", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MipsFunctionInfo", "*", "MipsFI", "=", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "const", "MipsInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "MipsInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "int", "NumBytes", "=", "(", "int", ")", "MFI", "->", "getStackSize", "(", ")", ";", "int", "FPOffset", "=", "MipsFI", "->", "getFPStackOffset", "(", ")", ";", "int", "RAOffset", "=", "MipsFI", "->", "getRAStackOffset", "(", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "ADDu", ")", ",", "Mips", "::", "SP", ")", ".", "addReg", "(", "Mips", "::", "FP", ")", ".", "addReg", "(", "Mips", "::", "ZERO", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "LW", ")", ",", "Mips", "::", "FP", ")", ".", "addImm", "(", "FPOffset", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ";", "}", "if", "(", "MFI", "->", "adjustsStack", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "LW", ")", ",", "Mips", "::", "RA", ")", ".", "addImm", "(", "RAOffset", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ";", "}", "if", "(", "NumBytes", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "ADDiu", ")", ",", "Mips", "::", "SP", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ".", "addImm", "(", "NumBytes", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::ADDu", "Mips::SP", "Mips::FP", "Mips::ZERO", "Mips::LW", "Mips::FP", "Mips::SP", "Mips::LW", "Mips::RA", "Mips::SP", "Mips::ADDiu", "Mips::SP", "Mips::SP"], "File": "MipsFrameInfo", "Func": "emitEpilogue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10951, "Length": 279, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_emit_set_immediate", "(", "rtx", "target", ",", "rtx_vector_builder", "&", "builder", ")", "{", "rtx", "src", "=", "builder", ".", "build", "(", ")", ";", "target", "=", "aarch64_target_reg", "(", "target", ",", "GET_MODE", "(", "src", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "target", ",", "src", ")", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Return", "a", "register", "that", "contains", "the", "constant", "in", "BUILDER", ",", "given", "that", "the", "constant", "is", "a", "legitimate", "move", "operand", ".", "Use", "TARGET", "as", "the", "register", "if", "it", "is", "nonnull", "and", "convenient", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_emit_set_immediate", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10952, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcInstrInfo", "::", "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", "(", ")", ";", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "*", "MF", "->", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", "->", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "FI", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "if", "(", "RC", "==", "&", "SP", "::", "I64RegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDXri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "IntRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "FPRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDFri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "SP", "::", "DFPRegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDDFri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "SP", "::", "QFPRegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDQFri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "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": ["Sparc", "Sparc", "SP::I64RegsRegClass", "SP::LDXri", "0", "SP::IntRegsRegClass", "SP::LDri", "0", "SP::FPRegsRegClass", "SP::LDFri", "0", "SP::DFPRegsRegClass", "SP::LDDFri", "0", "SP::QFPRegsRegClass", "SP::LDQFri", "0", "\"Can't load this register from stack slot\""], "File": "SparcInstrInfo", "Func": "loadRegFromStackSlot", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10953, "Length": 334, "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", ")", ",", "IsGigaProcessor", "(", "false", ")", ",", "Has64BitSupport", "(", "false", ")", ",", "Use64BitRegs", "(", "false", ")", ",", "IsPPC64", "(", "is64Bit", ")", ",", "HasAltivec", "(", "false", ")", ",", "HasFSQRT", "(", "false", ")", ",", "HasSTFIWX", "(", "false", ")", ",", "IsBookE", "(", "false", ")", ",", "HasLazyResolverStubs", "(", "false", ")", ",", "IsJITCodeModel", "(", "false", ")", ",", "TargetTriple", "(", "TT", ")", "{", "std", "::", "string", "CPUName", "=", "CPU", ";", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", "=", "\"generic\"", ";", "if", "(", "CPUName", "==", "\"generic\"", ")", "CPUName", "=", "GetCurrentPowerPCCPU", "(", ")", ";", "ParseSubtargetFeatures", "(", "CPUName", ",", "FS", ")", ";", "InstrItins", "=", "getInstrItineraryForCPU", "(", "CPUName", ")", ";", "if", "(", "is64Bit", ")", "{", "Has64BitSupport", "=", "true", ";", "Use64BitRegs", "=", "true", ";", "}", "if", "(", "use64BitRegs", "(", ")", "&&", "!", "has64BitSupport", "(", ")", ")", "Use64BitRegs", "=", "false", ";", "if", "(", "isDarwin", "(", ")", ")", "HasLazyResolverStubs", "=", "true", ";", "}", ""], "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\""], "File": "PPCSubtarget45", "Func": "PPCSubtarget", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10954, "Length": 190, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsSETargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "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", ")", ";", "}", "return", "MipsTargetLowering", "::", "LowerOperation", "(", "Op", ",", "DAG", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Mips", "Mips", "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", "Mips"], "File": "MipsSEISelLowering17", "Func": "LowerOperation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10955, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "PPCTargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "NonScalarIntSafe", ",", "bool", "MemcpyStrSrc", ",", "SelectionDAG", "&", "DAG", ")", "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": "PPCISelLowering17", "Func": "getOptimalMemOpType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10956, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_expand_cpymemsi", "(", "rtx", "dstmem", ",", "rtx", "srcmem", ",", "rtx", "total_bytes", ",", "rtx", "alignment", ")", "{", "if", "(", "nds32_expand_cpymemsi_unroll", "(", "dstmem", ",", "srcmem", ",", "total_bytes", ",", "alignment", ")", ")", "return", "true", ";", "if", "(", "!", "optimize_size", "&&", "optimize", ">", "2", ")", "return", "nds32_expand_cpymemsi_loop", "(", "dstmem", ",", "srcmem", ",", "total_bytes", ",", "alignment", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Function", "to", "move", "block", "memory", "content", "by", "using", "load_multiple", "and", "store_multiple", ".", "This", "is", "auxiliary", "extern", "function", "to", "help", "create", "rtx", "template", ".", "Check", "nds32-multiple.md", "file", "for", "the", "patterns", "."], "TS_V_token": ["nds32", "2"], "File": "nds32-memory-manipulation", "Func": "nds32_expand_cpymemsi", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10957, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isThumb", "(", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "return", "(", "STI", ".", "getFeatureBits", "(", ")", "&", "ARM", "::", "ModeThumb", ")", "!=", "0", ";", "}", ""], "natrual_language": ["Tests", "whether", "the", "target", "is", "Thumb", "(", "little", "and", "big", "endian", ")", "."], "TS_V_token": ["ARM", "ARM::ModeThumb", "0"], "File": "ARMAsmPrinter1", "Func": "isThumb", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10958, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "override", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "AArch64", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_aarch64_pcrel_adr_imm21\"", ",", "0", ",", "32", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_aarch64_pcrel_adrp_imm21\"", ",", "0", ",", "32", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_aarch64_add_imm12\"", ",", "10", ",", "12", ",", "0", "}", ",", "{", "\"fixup_aarch64_ldst_imm12_scale1\"", ",", "10", ",", "12", ",", "0", "}", ",", "{", "\"fixup_aarch64_ldst_imm12_scale2\"", ",", "10", ",", "12", ",", "0", "}", ",", "{", "\"fixup_aarch64_ldst_imm12_scale4\"", ",", "10", ",", "12", ",", "0", "}", ",", "{", "\"fixup_aarch64_ldst_imm12_scale8\"", ",", "10", ",", "12", ",", "0", "}", ",", "{", "\"fixup_aarch64_ldst_imm12_scale16\"", ",", "10", ",", "12", ",", "0", "}", ",", "{", "\"fixup_aarch64_ldr_pcrel_imm19\"", ",", "5", ",", "19", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_aarch64_movw\"", ",", "5", ",", "16", ",", "0", "}", ",", "{", "\"fixup_aarch64_pcrel_branch14\"", ",", "5", ",", "14", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_aarch64_pcrel_branch19\"", ",", "5", ",", "19", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_aarch64_pcrel_branch26\"", ",", "0", ",", "26", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_aarch64_pcrel_call26\"", ",", "0", ",", "26", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_aarch64_tlsdesc_call\"", ",", "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", "Infos", "[", "Kind", "-", "FirstTargetFixupKind", "]", ";", "}", ""], "natrual_language": ["Get", "information", "on", "a", "fixup", "kind", "."], "TS_V_token": ["AArch64", "AArch64::NumTargetFixupKinds", "\"fixup_aarch64_pcrel_adr_imm21\"", "0", "32", "\"fixup_aarch64_pcrel_adrp_imm21\"", "0", "32", "\"fixup_aarch64_add_imm12\"", "10", "12", "0", "\"fixup_aarch64_ldst_imm12_scale1\"", "10", "12", "0", "\"fixup_aarch64_ldst_imm12_scale2\"", "10", "12", "0", "\"fixup_aarch64_ldst_imm12_scale4\"", "10", "12", "0", "\"fixup_aarch64_ldst_imm12_scale8\"", "10", "12", "0", "\"fixup_aarch64_ldst_imm12_scale16\"", "10", "12", "0", "\"fixup_aarch64_ldr_pcrel_imm19\"", "5", "19", "\"fixup_aarch64_movw\"", "5", "16", "0", "\"fixup_aarch64_pcrel_branch14\"", "5", "14", "\"fixup_aarch64_pcrel_branch19\"", "5", "19", "\"fixup_aarch64_pcrel_branch26\"", "0", "26", "\"fixup_aarch64_pcrel_call26\"", "0", "26", "\"fixup_aarch64_tlsdesc_call\"", "0", "0", "0", "\"Invalid kind!\""], "File": "AArch64AsmBackend17", "Func": "getFixupKindInfo", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10959, "Length": 226, "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": 10960, "Length": 361, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_eliminate_indexed_memrefs", "(", "rtx", "operands", "[", "2", "]", ")", "{", "if", "(", "reload_in_progress", ")", "return", ";", "if", "(", "GET_CODE", "(", "operands", "[", "0", "]", ")", "==", "MEM", "&&", "GET_CODE", "(", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ")", "!=", "REG", "&&", "!", "legitimate_constant_pool_address_p", "(", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ",", "GET_MODE", "(", "operands", "[", "0", "]", ")", ",", "false", ")", ")", "operands", "[", "0", "]", "=", "replace_equiv_address", "(", "operands", "[", "0", "]", ",", "copy_addr_to_reg", "(", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ")", ")", ";", "if", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "MEM", "&&", "GET_CODE", "(", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ")", "!=", "REG", "&&", "!", "legitimate_constant_pool_address_p", "(", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ",", "GET_MODE", "(", "operands", "[", "1", "]", ")", ",", "false", ")", ")", "operands", "[", "1", "]", "=", "replace_equiv_address", "(", "operands", "[", "1", "]", ",", "copy_addr_to_reg", "(", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ")", ")", ";", "}", ""], "natrual_language": ["Helper", "for", "the", "following", ".", "Get", "rid", "of", "[", "r+r", "]", "memory", "refs", "in", "cases", "where", "it", "wo", "n't", "work", "(", "TImode", ",", "TFmode", ")", "."], "TS_V_token": ["rs6000", "2", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "0", "1", "1", "1", "1", "0"], "File": "rs60004", "Func": "rs6000_eliminate_indexed_memrefs", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10961, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMConstantPoolSymbol", "*", "ARMConstantPoolSymbol", "::", "Create", "(", "LLVMContext", "&", "C", ",", "StringRef", "s", ",", "unsigned", "ID", ",", "unsigned", "char", "PCAdj", ")", "{", "return", "new", "ARMConstantPoolSymbol", "(", "C", ",", "s", ",", "ID", ",", "PCAdj", ",", "ARMCP", "::", "no_modifier", ",", "false", ")", ";", "}", ""], "natrual_language": ["Construct", "a", "unary", "instruction", ",", "given", "the", "opcode", "and", "an", "operand", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARMCP::no_modifier"], "File": "ARMConstantPoolValue11", "Func": "Create", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10962, "Length": 41, "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": 10963, "Length": 143, "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", ";", "return", "VT", ".", "changeVectorElementTypeToInteger", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["PowerPC", "PPC", "MVT::i1", "MVT::i32"], "File": "PPCISelLowering100", "Func": "getSetCCResultType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10964, "Length": 51, "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": ["MMIX", "\"Expr shouldn't be null!\""], "File": "MMIXAsmParser", "Func": "addExpr", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10965, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_frame_set", "(", "rtx", "mem", ",", "rtx", "reg", ")", "{", "rtx", "set", ";", "set", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "mem", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "set", ")", "=", "1", ";", "return", "set", ";", "}", ""], "natrual_language": ["Return", "a", "frame-related", "rtx", "that", "stores", "register", "REGNO", "at", "(", "SP", "+", "OFFSET", ")", ".", "The", "expression", "should", "only", "be", "used", "to", "store", "single", "registers", "."], "TS_V_token": ["mips", "1"], "File": "mips4", "Func": "mips_frame_set", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10966, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "insn_defines_reg", "(", "unsigned", "int", "regno1", ",", "unsigned", "int", "regno2", ",", "rtx", "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": "i3864", "Func": "insn_defines_reg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10967, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "const_vector_elt_as_int", "(", "rtx", "op", ",", "unsigned", "int", "elt", ")", "{", "rtx", "tmp", ";", "gcc_assert", "(", "GET_MODE", "(", "op", ")", "!=", "V2DImode", "&&", "GET_MODE", "(", "op", ")", "!=", "V2DFmode", ")", ";", "tmp", "=", "CONST_VECTOR_ELT", "(", "op", ",", "elt", ")", ";", "if", "(", "GET_MODE", "(", "op", ")", "==", "V4SFmode", "||", "GET_MODE", "(", "op", ")", "==", "V2SFmode", ")", "tmp", "=", "gen_lowpart", "(", "SImode", ",", "tmp", ")", ";", "return", "INTVAL", "(", "tmp", ")", ";", "}", ""], "natrual_language": ["Interpret", "element", "ELT", "of", "the", "CONST_VECTOR", "OP", "as", "an", "integer", "value", ".", "If", "the", "mode", "of", "OP", "is", "MODE_VECTOR_INT", ",", "this", "simply", "returns", "the", "corresponding", "element", "of", "the", "vector", ",", "but", "for", "V4SFmode", ",", "the", "corresponding", "``", "float", "''", "is", "interpreted", "as", "an", "SImode", "integer", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "const_vector_elt_as_int", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10968, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SHUXIFrameLowering", "::", "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", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "SHUXIMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "SHUXIMachineFunctionInfo", ">", "(", ")", ";", "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", ",", "TII", ".", "get", "(", "SHUXI", "::", "PUSH", ")", ")", ".", "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": ["SHUXI", "SHUXI", "SHUXI", "SHUXI", "2", "0", "1", "SHUXI::PUSH"], "File": "SHUXIFrameLowering", "Func": "spillCalleeSavedRegisters", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10969, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mep_use_post_modify_for_set_p", "(", "rtx", "set", ",", "rtx", "gpr", ",", "rtx", "offset", ")", "{", "rtx", "*", "reg", ",", "*", "mem", ";", "unsigned", "int", "reg_bytes", ",", "mem_bytes", ";", "machine_mode", "reg_mode", ",", "mem_mode", ";", "if", "(", "GET_CODE", "(", "set", ")", "!=", "SET", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "SET_DEST", "(", "set", ")", ")", "==", "MEM", ")", "{", "mem", "=", "&", "SET_DEST", "(", "set", ")", ";", "reg", "=", "&", "SET_SRC", "(", "set", ")", ";", "}", "else", "{", "reg", "=", "&", "SET_DEST", "(", "set", ")", ";", "mem", "=", "&", "SET_SRC", "(", "set", ")", ";", "if", "(", "GET_CODE", "(", "*", "mem", ")", "==", "SIGN_EXTEND", ")", "mem", "=", "&", "XEXP", "(", "*", "mem", ",", "0", ")", ";", "}", "if", "(", "GET_CODE", "(", "*", "reg", ")", "!=", "REG", "||", "!", "LOADABLE_CR_REGNO_P", "(", "REGNO", "(", "*", "reg", ")", ")", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "*", "mem", ")", "!=", "MEM", "||", "!", "rtx_equal_p", "(", "XEXP", "(", "*", "mem", ",", "0", ")", ",", "gpr", ")", ")", "return", "false", ";", "mem_bytes", "=", "GET_MODE_SIZE", "(", "GET_MODE", "(", "*", "mem", ")", ")", ";", "reg_bytes", "=", "GET_MODE_SIZE", "(", "GET_MODE", "(", "*", "reg", ")", ")", ";", "if", "(", "INTVAL", "(", "offset", ")", "&", "(", "mem_bytes", "-", "1", ")", ")", "return", "false", ";", "mem_mode", "=", "mode_for_size", "(", "mem_bytes", "*", "BITS_PER_UNIT", ",", "MODE_INT", ",", "0", ")", ";", "*", "mem", "=", "change_address", "(", "*", "mem", ",", "mem_mode", ",", "NULL", ")", ";", "*", "reg", "=", "shallow_copy_rtx", "(", "*", "reg", ")", ";", "if", "(", "reg", "==", "&", "SET_DEST", "(", "set", ")", "&&", "reg_bytes", "<", "UNITS_PER_WORD", ")", "{", "PUT_MODE", "(", "*", "reg", ",", "SImode", ")", ";", "*", "mem", "=", "gen_rtx_SIGN_EXTEND", "(", "SImode", ",", "*", "mem", ")", ";", "}", "else", "{", "reg_mode", "=", "mode_for_size", "(", "reg_bytes", "*", "BITS_PER_UNIT", ",", "MODE_INT", ",", "0", ")", ";", "PUT_MODE", "(", "*", "reg", ",", "reg_mode", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "SET", "can", "be", "turned", "into", "a", "post-modify", "load", "or", "store", "that", "adds", "OFFSET", "to", "GPR", ".", "In", "other", "words", ",", "return", "true", "if", "SET", "can", "be", "changed", "into", ":", "(", "parallel", "[", "SET", "(", "set", "GPR", "(", "plus", ":", "SI", "GPR", "OFFSET", ")", ")", "]", ")", ".", "It", "'s", "OK", "to", "change", "SET", "to", "an", "equivalent", "operation", "in", "order", "to", "make", "it", "match", "."], "TS_V_token": ["mep", "0", "0", "1", "0", "0"], "File": "mep", "Func": "mep_use_post_modify_for_set_p", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10970, "Length": 300, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getReg", "(", ")", "const", "override", "{", "assert", "(", "(", "Kind", "==", "k_Register", ")", "&&", "\"Invalid access!\"", ")", ";", "return", "Reg", ".", "RegNum", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["Sparc", "\"Invalid access!\""], "File": "SparcAsmParser", "Func": "getReg", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10971, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_evpc_neon_vuzp", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "int", "i", ",", "odd", ",", "mask", ",", "nelt", "=", "d", "->", "perm", ".", "length", "(", ")", ";", "rtx", "out0", ",", "out1", ",", "in0", ",", "in1", ";", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "int", "first_elem", ";", "int", "swap_nelt", ";", "if", "(", "GET_MODE_UNIT_SIZE", "(", "d", "->", "vmode", ")", ">=", "8", ")", "return", "false", ";", "swap_nelt", "=", "BYTES_BIG_ENDIAN", "&&", "!", "d", "->", "one_vector_p", "&&", "GET_MODE_SIZE", "(", "d", "->", "vmode", ")", "==", "8", "?", "nelt", ":", "0", ";", "first_elem", "=", "d", "->", "perm", "[", "neon_endian_lane_map", "(", "d", "->", "vmode", ",", "0", ")", "]", "^", "swap_nelt", ";", "if", "(", "first_elem", "==", "neon_endian_lane_map", "(", "d", "->", "vmode", ",", "0", ")", ")", "odd", "=", "0", ";", "else", "if", "(", "first_elem", "==", "neon_endian_lane_map", "(", "d", "->", "vmode", ",", "1", ")", ")", "odd", "=", "1", ";", "else", "return", "false", ";", "mask", "=", "(", "d", "->", "one_vector_p", "?", "nelt", "-", "1", ":", "2", "*", "nelt", "-", "1", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "i", "++", ")", "{", "unsigned", "elt", "=", "(", "neon_pair_endian_lane_map", "(", "d", "->", "vmode", ",", "i", ")", "*", "2", "+", "odd", ")", "&", "mask", ";", "if", "(", "(", "d", "->", "perm", "[", "i", "]", "^", "swap_nelt", ")", "!=", "neon_pair_endian_lane_map", "(", "d", "->", "vmode", ",", "elt", ")", ")", "return", "false", ";", "}", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "switch", "(", "d", "->", "vmode", ")", "{", "case", "E_V16QImode", ":", "gen", "=", "gen_neon_vuzpv16qi_internal", ";", "break", ";", "case", "E_V8QImode", ":", "gen", "=", "gen_neon_vuzpv8qi_internal", ";", "break", ";", "case", "E_V8HImode", ":", "gen", "=", "gen_neon_vuzpv8hi_internal", ";", "break", ";", "case", "E_V4HImode", ":", "gen", "=", "gen_neon_vuzpv4hi_internal", ";", "break", ";", "case", "E_V8HFmode", ":", "gen", "=", "gen_neon_vuzpv8hf_internal", ";", "break", ";", "case", "E_V4HFmode", ":", "gen", "=", "gen_neon_vuzpv4hf_internal", ";", "break", ";", "case", "E_V4SImode", ":", "gen", "=", "gen_neon_vuzpv4si_internal", ";", "break", ";", "case", "E_V2SImode", ":", "gen", "=", "gen_neon_vuzpv2si_internal", ";", "break", ";", "case", "E_V2SFmode", ":", "gen", "=", "gen_neon_vuzpv2sf_internal", ";", "break", ";", "case", "E_V4SFmode", ":", "gen", "=", "gen_neon_vuzpv4sf_internal", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "in0", "=", "d", "->", "op0", ";", "in1", "=", "d", "->", "op1", ";", "if", "(", "swap_nelt", "!=", "0", ")", "std", "::", "swap", "(", "in0", ",", "in1", ")", ";", "out0", "=", "d", "->", "target", ";", "out1", "=", "gen_reg_rtx", "(", "d", "->", "vmode", ")", ";", "if", "(", "odd", ")", "std", "::", "swap", "(", "out0", ",", "out1", ")", ";", "emit_insn", "(", "gen", "(", "out0", ",", "in0", ",", "in1", ",", "out1", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "for", "the", "VUZP", "insns", "."], "TS_V_token": ["arm", "8", "8", "0", "0", "0", "0", "1", "1", "1", "2", "1", "0", "2", "0"], "File": "arm7", "Func": "arm_evpc_neon_vuzp", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10972, "Length": 415, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "MachineOperand", "&", "getLdStBaseOp", "(", "const", "MachineInstr", "*", "MI", ")", "{", "return", "MI", "->", "getOperand", "(", "1", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "base", "register", "operator", "of", "a", "load/store", "."], "TS_V_token": ["AArch64", "1"], "File": "AArch64LoadStoreOptimizer47", "Func": "getLdStBaseOp", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10973, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_vector_logical_operator", "(", "enum", "rtx_code", "code", ",", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ")", "{", "rtx", "op1", "=", "NULL_RTX", ",", "op2", "=", "NULL_RTX", ";", "if", "(", "SUBREG_P", "(", "operands", "[", "1", "]", ")", ")", "{", "op1", "=", "operands", "[", "1", "]", ";", "op2", "=", "operands", "[", "2", "]", ";", "}", "else", "if", "(", "SUBREG_P", "(", "operands", "[", "2", "]", ")", ")", "{", "op1", "=", "operands", "[", "2", "]", ";", "op2", "=", "operands", "[", "1", "]", ";", "}", "if", "(", "op1", "&&", "!", "TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL", "&&", "(", "SUBREG_P", "(", "op2", ")", "||", "GET_CODE", "(", "op2", ")", "==", "CONST_VECTOR", ")", "&&", "GET_MODE_CLASS", "(", "GET_MODE", "(", "SUBREG_REG", "(", "op1", ")", ")", ")", "==", "MODE_VECTOR_FLOAT", "&&", "GET_MODE_SIZE", "(", "GET_MODE", "(", "SUBREG_REG", "(", "op1", ")", ")", ")", "==", "GET_MODE_SIZE", "(", "mode", ")", "&&", "SUBREG_BYTE", "(", "op1", ")", "==", "0", "&&", "(", "GET_CODE", "(", "op2", ")", "==", "CONST_VECTOR", "||", "(", "GET_MODE", "(", "SUBREG_REG", "(", "op1", ")", ")", "==", "GET_MODE", "(", "SUBREG_REG", "(", "op2", ")", ")", "&&", "SUBREG_BYTE", "(", "op2", ")", "==", "0", ")", ")", "&&", "can_create_pseudo_p", "(", ")", ")", "{", "rtx", "dst", ";", "switch", "(", "GET_MODE", "(", "SUBREG_REG", "(", "op1", ")", ")", ")", "{", "case", "E_V4SFmode", ":", "case", "E_V8SFmode", ":", "case", "E_V16SFmode", ":", "case", "E_V2DFmode", ":", "case", "E_V4DFmode", ":", "case", "E_V8DFmode", ":", "dst", "=", "gen_reg_rtx", "(", "GET_MODE", "(", "SUBREG_REG", "(", "op1", ")", ")", ")", ";", "if", "(", "GET_CODE", "(", "op2", ")", "==", "CONST_VECTOR", ")", "{", "op2", "=", "gen_lowpart", "(", "GET_MODE", "(", "dst", ")", ",", "op2", ")", ";", "op2", "=", "force_reg", "(", "GET_MODE", "(", "dst", ")", ",", "op2", ")", ";", "}", "else", "{", "op1", "=", "operands", "[", "1", "]", ";", "op2", "=", "SUBREG_REG", "(", "operands", "[", "2", "]", ")", ";", "if", "(", "!", "vector_operand", "(", "op2", ",", "GET_MODE", "(", "dst", ")", ")", ")", "op2", "=", "force_reg", "(", "GET_MODE", "(", "dst", ")", ",", "op2", ")", ";", "}", "op1", "=", "SUBREG_REG", "(", "op1", ")", ";", "if", "(", "!", "vector_operand", "(", "op1", ",", "GET_MODE", "(", "dst", ")", ")", ")", "op1", "=", "force_reg", "(", "GET_MODE", "(", "dst", ")", ",", "op1", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dst", ",", "gen_rtx_fmt_ee", "(", "code", ",", "GET_MODE", "(", "dst", ")", ",", "op1", ",", "op2", ")", ")", ")", ";", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "gen_lowpart", "(", "mode", ",", "dst", ")", ")", ";", "return", ";", "default", ":", "break", ";", "}", "}", "if", "(", "!", "vector_operand", "(", "operands", "[", "1", "]", ",", "mode", ")", ")", "operands", "[", "1", "]", "=", "force_reg", "(", "mode", ",", "operands", "[", "1", "]", ")", ";", "if", "(", "!", "vector_operand", "(", "operands", "[", "2", "]", ",", "mode", ")", ")", "operands", "[", "2", "]", "=", "force_reg", "(", "mode", ",", "operands", "[", "2", "]", ")", ";", "ix86_fixup_binary_operands_no_copy", "(", "code", ",", "mode", ",", "operands", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "operands", "[", "0", "]", ",", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "vector", "logical", "operation", "CODE", "(", "AND", ",", "IOR", ",", "XOR", ")", "in", "MODE", "with", "the", "given", "OPERANDS", "."], "TS_V_token": ["i386", "1", "1", "2", "2", "2", "1", "0", "0", "1", "2", "0", "1", "1", "1", "2", "2", "2", "0", "1", "2"], "File": "i386-expand", "Func": "ix86_expand_vector_logical_operator", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10974, "Length": 470, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "addPreISel", "(", ")", "{", "const", "Triple", "&", "TT", "=", "TM", "->", "getTargetTriple", "(", ")", ";", "if", "(", "TT", ".", "isOSWindows", "(", ")", "&&", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86", ")", "addPass", "(", "createX86WinEHStatePass", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["X86", "X86", "X86"], "File": "X86TargetMachine10", "Func": "addPreISel", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10975, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "aarch64_int_or_fp_type", "(", "machine_mode", "mode", ",", "enum", "aarch64_type_qualifiers", "qualifiers", ")", "{", "?", "unsigned_int", "##", "M", "##", "_type_node", ":", "int", "##", "M", "##", "_type_node", ")", ";", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "return", "QUAL_TYPE", "(", "QI", ")", ";", "case", "E_HImode", ":", "return", "QUAL_TYPE", "(", "HI", ")", ";", "case", "E_SImode", ":", "return", "QUAL_TYPE", "(", "SI", ")", ";", "case", "E_DImode", ":", "return", "QUAL_TYPE", "(", "DI", ")", ";", "case", "E_TImode", ":", "return", "QUAL_TYPE", "(", "TI", ")", ";", "case", "E_OImode", ":", "return", "aarch64_simd_intOI_type_node", ";", "case", "E_CImode", ":", "return", "aarch64_simd_intCI_type_node", ";", "case", "E_XImode", ":", "return", "aarch64_simd_intXI_type_node", ";", "case", "E_HFmode", ":", "return", "aarch64_fp16_type_node", ";", "case", "E_SFmode", ":", "return", "float_type_node", ";", "case", "E_DFmode", ":", "return", "double_type_node", ";", "case", "E_BFmode", ":", "return", "bfloat16_type_node", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Helper", "function", "for", "aarch64_simd_builtin_type", "."], "TS_V_token": ["aarch64"], "File": "aarch64-builtins1", "Func": "aarch64_int_or_fp_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10976, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "gen_conditional_branch", "(", "rtx", "operands", "[", "]", ",", "enum", "rtx_code", "test_code", ")", "{", "enum", "cmp_type", "type", "=", "branch_type", ";", "rtx", "cmp0", "=", "branch_cmp", "[", "0", "]", ";", "rtx", "cmp1", "=", "branch_cmp", "[", "1", "]", ";", "enum", "machine_mode", "mode", ";", "rtx", "reg", ";", "int", "invert", ";", "rtx", "label1", ",", "label2", ";", "switch", "(", "type", ")", "{", "case", "CMP_SI", ":", "case", "CMP_DI", ":", "mode", "=", "type", "==", "CMP_SI", "?", "SImode", ":", "DImode", ";", "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", ")", ";", "break", ";", "case", "CMP_SF", ":", "case", "CMP_DF", ":", "reg", "=", "gen_reg_rtx", "(", "CCmode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "reg", ",", "gen_rtx_fmt_ee", "(", "test_code", "==", "NE", "?", "EQ", ":", "test_code", ",", "CCmode", ",", "cmp0", ",", "cmp1", ")", ")", ")", ";", "test_code", "=", "test_code", "==", "NE", "?", "EQ", ":", "NE", ";", "mode", "=", "CCmode", ";", "cmp0", "=", "reg", ";", "cmp1", "=", "const0_rtx", ";", "invert", "=", "0", ";", "break", ";", "default", ":", "abort_with_insn", "(", "gen_rtx_fmt_ee", "(", "test_code", ",", "VOIDmode", ",", "cmp0", ",", "cmp1", ")", ",", "\"bad test\"", ")", ";", "}", "label1", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "operands", "[", "0", "]", ")", ";", "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", ",", "mode", ",", "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", "0", "0", "0", "\"bad test\"", "0"], "File": "iq20002", "Func": "gen_conditional_branch", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10977, "Length": 285, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "alias_set_type", "ix86_GOT_alias_set", "(", "void", ")", "{", "static", "alias_set_type", "set", "=", "-", "1", ";", "if", "(", "set", "==", "-", "1", ")", "set", "=", "new_alias_set", "(", ")", ";", "return", "set", ";", "}", ""], "natrual_language": ["Return", "an", "unique", "alias", "set", "for", "the", "GOT", "."], "TS_V_token": ["i386", "1", "1"], "File": "i3864", "Func": "ix86_GOT_alias_set", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10978, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "poly_uint64", "aarch64_vectorize_preferred_vector_alignment", "(", "const_tree", "type", ")", "{", "if", "(", "aarch64_sve_data_mode_p", "(", "TYPE_MODE", "(", "type", ")", ")", ")", "{", "HOST_WIDE_INT", "result", ";", "if", "(", "!", "BITS_PER_SVE_VECTOR", ".", "is_constant", "(", "&", "result", ")", ")", "result", "=", "TYPE_ALIGN", "(", "TREE_TYPE", "(", "type", ")", ")", ";", "return", "result", ";", "}", "return", "TYPE_ALIGN", "(", "type", ")", ";", "}", ""], "natrual_language": ["Implement", "target", "hook", "TARGET_VECTORIZE_PREFERRED_VECTOR_ALIGNMENT", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_vectorize_preferred_vector_alignment", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10979, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_cannot_substitute_mem_equiv_p", "(", "rtx", ")", "{", "if", "(", "TARGET_SHMEDIA", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "SUBST", "ca", "n't", "safely", "replace", "its", "equivalent", "during", "RA", "."], "TS_V_token": ["sh"], "File": "sh4", "Func": "sh_cannot_substitute_mem_equiv_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10980, "Length": 18, "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": 10981, "Length": 469, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "originalTypeIsF128", "(", "Type", "*", "Ty", ",", "const", "SDNode", "*", "CallNode", ")", "{", "if", "(", "Ty", "->", "isFP128Ty", "(", ")", ")", "return", "true", ";", "if", "(", "Ty", "->", "isStructTy", "(", ")", "&&", "Ty", "->", "getStructNumElements", "(", ")", "==", "1", "&&", "Ty", "->", "getStructElementType", "(", "0", ")", "->", "isFP128Ty", "(", ")", ")", "return", "true", ";", "const", "ExternalSymbolSDNode", "*", "ES", "=", "dyn_cast_or_null", "<", "const", "ExternalSymbolSDNode", ">", "(", "CallNode", ")", ";", "return", "(", "ES", "&&", "Ty", "->", "isIntegerTy", "(", "128", ")", "&&", "isF128SoftLibCall", "(", "ES", "->", "getSymbol", "(", ")", ")", ")", ";", "}", ""], "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": "MipsCCState16", "Func": "originalTypeIsF128", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10982, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_debug_secondary_memory_needed", "(", "enum", "reg_class", "from_class", ",", "enum", "reg_class", "to_class", ",", "machine_mode", "mode", ")", "{", "bool", "ret", "=", "rs6000_secondary_memory_needed", "(", "from_class", ",", "to_class", ",", "mode", ")", ";", "fprintf", "(", "stderr", ",", "\"rs6000_secondary_memory_needed, return: %s, from_class = %s, \"", "\"to_class = %s, mode = %s\\n\"", ",", "ret", "?", "\"true\"", ":", "\"false\"", ",", "reg_class_names", "[", "from_class", "]", ",", "reg_class_names", "[", "to_class", "]", ",", "GET_MODE_NAME", "(", "mode", ")", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Debug", "version", "of", "rs6000_secondary_memory_needed", "."], "TS_V_token": ["rs6000", "\"rs6000_secondary_memory_needed, return: %s, from_class = %s, \"", "\"to_class = %s, mode = %s\\n\"", "\"true\"", "\"false\""], "File": "rs60004", "Func": "rs6000_debug_secondary_memory_needed", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10983, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CSKYConstantPoolJT", "::", "print", "(", "raw_ostream", "&", "O", ")", "const", "{", "O", "<<", "\"JTI#\"", "<<", "JTI", ";", "CSKYConstantPoolValue", "::", "print", "(", "O", ")", ";", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["CSKY", "CSKY", "\"JTI#\"", "CSKY"], "File": "CSKYConstantPoolValue", "Func": "print", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10984, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "ix86_expand_fast_convert_bf_to_sf", "(", "rtx", "val", ")", "{", "rtx", "op", "=", "gen_lowpart", "(", "HImode", ",", "val", ")", ",", "ret", ";", "if", "(", "CONST_INT_P", "(", "op", ")", ")", "{", "ret", "=", "simplify_const_unary_operation", "(", "FLOAT_EXTEND", ",", "SFmode", ",", "val", ",", "BFmode", ")", ";", "if", "(", "ret", ")", "return", "ret", ";", "ret", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_move_insn", "(", "ret", ",", "GEN_INT", "(", "INTVAL", "(", "op", ")", "&", "0xffff", ")", ")", ";", "emit_insn", "(", "gen_ashlsi3", "(", "ret", ",", "ret", ",", "GEN_INT", "(", "16", ")", ")", ")", ";", "return", "gen_lowpart", "(", "SFmode", ",", "ret", ")", ";", "}", "ret", "=", "gen_reg_rtx", "(", "SFmode", ")", ";", "emit_insn", "(", "gen_extendbfsf2_1", "(", "ret", ",", "force_reg", "(", "BFmode", ",", "val", ")", ")", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Convert", "a", "BFmode", "VAL", "to", "SFmode", "without", "signaling", "sNaNs", ".", "This", "is", "done", "by", "returning", "SF", "SUBREG", "of", "(", "(", "HI", "SUBREG", ")", "(", "VAL", ")", ")", "<", "<", "16", "."], "TS_V_token": ["i386", "0xffff", "16"], "File": "i386-expand1", "Func": "ix86_expand_fast_convert_bf_to_sf", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10985, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0TargetObjectFile", "::", "IsGlobalInSmallSection", "(", "const", "GlobalObject", "*", "GO", ",", "const", "TargetMachine", "&", "TM", ",", "SectionKind", "Kind", ")", "const", "{", "return", "(", "IsGlobalInSmallSectionImpl", "(", "GO", ",", "TM", ")", "&&", "(", "Kind", ".", "isData", "(", ")", "||", "Kind", ".", "isBSS", "(", ")", "||", "Kind", ".", "isCommon", "(", ")", "||", "Kind", ".", "isReadOnly", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "global", "address", "should", "be", "placed", "into", "small", "data/bss", "section", "."], "TS_V_token": ["Cpu0", "Cpu0"], "File": "Cpu0TargetObjectFile4", "Func": "IsGlobalInSmallSection", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10986, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "Thumb1RegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["ARM"], "File": "Thumb1InstrInfo14", "Func": "getRegisterInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10987, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "small_data_operand", "(", "rtx", "op", "ATTRIBUTE_UNUSED", ",", "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", "(", "TARGET_SPE", "&&", "(", "SPE_VECTOR_MODE", "(", "mode", ")", "||", "FLOAT_MODE_P", "(", "mode", ")", ")", ")", "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", "||", "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", "0", "1", "0", "0", "1", "0", "0", "0", "0"], "File": "rs60004", "Func": "small_data_operand", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10988, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "loongarch_function_value", "(", "const_tree", "valtype", ",", "const_tree", "fn_decl_or_type", ",", "bool", "outgoing", "ATTRIBUTE_UNUSED", ")", "{", "return", "loongarch_function_value_1", "(", "valtype", ",", "fn_decl_or_type", ",", "VOIDmode", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_VALUE", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_function_value", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10989, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "get_prev_label", "(", "tree", "function_name", ")", "{", "tree", "branch_island", ";", "for", "(", "branch_island", "=", "branch_island_list", ";", "branch_island", ";", "branch_island", "=", "TREE_CHAIN", "(", "branch_island", ")", ")", "if", "(", "function_name", "==", "BRANCH_ISLAND_FUNCTION_NAME", "(", "branch_island", ")", ")", "return", "BRANCH_ISLAND_LABEL_NAME", "(", "branch_island", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["GET_PREV_LABEL", "gets", "the", "label", "name", "from", "the", "previous", "definition", "of", "the", "function", "."], "TS_V_token": ["rs6000", "0"], "File": "rs60003", "Func": "get_prev_label", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10990, "Length": 45, "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", "::", "VLD1q64", ":", "case", "ARM", "::", "VLD1d64TPseudo", ":", "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::VLD1q64", "ARM::VLD1d64TPseudo", "ARM::VLD1d64QPseudo", "1", "0", "0", "1", "0", "ARM::VLDMQIA", "1", "0", "0", "1", "0", "0"], "File": "ARMBaseInstrInfo (2)", "Func": "isLoadFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10991, "Length": 355, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSection", "*", "LanaiTargetObjectFile", "::", "getSectionForConstant", "(", "const", "DataLayout", "&", "DL", ",", "SectionKind", "Kind", ",", "const", "Constant", "*", "C", ",", "unsigned", "&", "Align", ")", "const", "{", "if", "(", "isConstantInSmallSection", "(", "DL", ",", "C", ")", ")", "return", "SmallDataSection", ";", "return", "TargetLoweringObjectFileELF", "::", "getSectionForConstant", "(", "DL", ",", "Kind", ",", "C", ",", "Align", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constant", "with", "the", "SectionKind", ",", "return", "a", "section", "that", "it", "should", "be", "placed", "in", "."], "TS_V_token": ["Lanai", "Lanai"], "File": "LanaiTargetObjectFile", "Func": "getSectionForConstant", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10992, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_save_reg_p", "(", "unsigned", "int", "regno", ")", "{", "if", "(", "mips_cfun_call_saved_reg_p", "(", "regno", ")", ")", "{", "if", "(", "mips_cfun_might_clobber_call_saved_reg_p", "(", "regno", ")", ")", "return", "true", ";", "if", "(", "FP_REG_P", "(", "regno", ")", "&&", "MAX_FPRS_PER_FMT", "==", "2", "&&", "mips_cfun_might_clobber_call_saved_reg_p", "(", "regno", "+", "1", ")", ")", "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", "REGNO", "."], "TS_V_token": ["mips", "2", "1"], "File": "mips", "Func": "mips_save_reg_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10993, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "machine_mode", "get_mode_wider_vector", "(", "machine_mode", "o", ")", "{", "machine_mode", "n", "=", "GET_MODE_WIDER_MODE", "(", "o", ")", ".", "require", "(", ")", ";", "gcc_assert", "(", "GET_MODE_NUNITS", "(", "o", ")", "==", "GET_MODE_NUNITS", "(", "n", ")", "*", "2", ")", ";", "gcc_assert", "(", "GET_MODE_SIZE", "(", "o", ")", "==", "GET_MODE_SIZE", "(", "n", ")", ")", ";", "return", "n", ";", "}", ""], "natrual_language": ["Get", "a", "vector", "mode", "of", "the", "same", "size", "as", "the", "original", "but", "with", "elements", "twice", "as", "wide", ".", "This", "is", "only", "guaranteed", "to", "apply", "to", "integral", "vectors", "."], "TS_V_token": ["i386", "2"], "File": "i3867", "Func": "get_mode_wider_vector", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10994, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "machine_function", "*", "nds32_init_machine_status", "(", "void", ")", "{", "struct", "machine_function", "*", "machine", ";", "machine", "=", "ggc_cleared_alloc", "<", "machine_function", ">", "(", ")", ";", "machine", "->", "naked_p", "=", "0", ";", "machine", "->", "fp_as_gp_p", "=", "0", ";", "return", "machine", ";", "}", ""], "natrual_language": ["Function", "to", "save", "and", "restore", "machine-specific", "function", "data", "."], "TS_V_token": ["nds32", "0", "0"], "File": "nds322", "Func": "nds32_init_machine_status", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10995, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_invalid_builtin", "(", "enum", "rs6000_builtins", "fncode", ")", "{", "size_t", "uns_fncode", "=", "(", "size_t", ")", "fncode", ";", "const", "char", "*", "name", "=", "rs6000_builtin_info", "[", "uns_fncode", "]", ".", "name", ";", "HOST_WIDE_INT", "fnmask", "=", "rs6000_builtin_info", "[", "uns_fncode", "]", ".", "mask", ";", "gcc_assert", "(", "name", "!=", "NULL", ")", ";", "if", "(", "(", "fnmask", "&", "RS6000_BTM_CELL", ")", "!=", "0", ")", "error", "(", "\"Builtin function %s is only valid for the cell processor\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_VSX", ")", "!=", "0", ")", "error", "(", "\"Builtin function %s requires the -mvsx option\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_HTM", ")", "!=", "0", ")", "error", "(", "\"Builtin function %s requires the -mhtm option\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_ALTIVEC", ")", "!=", "0", ")", "error", "(", "\"Builtin function %s requires the -maltivec option\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_PAIRED", ")", "!=", "0", ")", "error", "(", "\"Builtin function %s requires the -mpaired option\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_SPE", ")", "!=", "0", ")", "error", "(", "\"Builtin function %s requires the -mspe option\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "(", "RS6000_BTM_DFP", "|", "RS6000_BTM_P8_VECTOR", ")", ")", "==", "(", "RS6000_BTM_DFP", "|", "RS6000_BTM_P8_VECTOR", ")", ")", "error", "(", "\"Builtin function %s requires the -mhard-dfp and\"", "\" -mpower8-vector options\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_DFP", ")", "!=", "0", ")", "error", "(", "\"Builtin function %s requires the -mhard-dfp option\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_P8_VECTOR", ")", "!=", "0", ")", "error", "(", "\"Builtin function %s requires the -mpower8-vector option\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "(", "RS6000_BTM_P9_VECTOR", "|", "RS6000_BTM_64BIT", ")", ")", "==", "(", "RS6000_BTM_P9_VECTOR", "|", "RS6000_BTM_64BIT", ")", ")", "error", "(", "\"Builtin function %s requires the -mcpu=power9 and\"", "\" -m64 options\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_P9_VECTOR", ")", "!=", "0", ")", "error", "(", "\"Builtin function %s requires the -mcpu=power9 option\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "(", "RS6000_BTM_P9_MISC", "|", "RS6000_BTM_64BIT", ")", ")", "==", "(", "RS6000_BTM_P9_MISC", "|", "RS6000_BTM_64BIT", ")", ")", "error", "(", "\"Builtin function %s requires the -mcpu=power9 and\"", "\" -m64 options\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_P9_MISC", ")", "==", "RS6000_BTM_P9_MISC", ")", "error", "(", "\"Builtin function %s requires the -mcpu=power9 option\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "(", "RS6000_BTM_HARD_FLOAT", "|", "RS6000_BTM_LDBL128", ")", ")", "==", "(", "RS6000_BTM_HARD_FLOAT", "|", "RS6000_BTM_LDBL128", ")", ")", "error", "(", "\"Builtin function %s requires the -mhard-float and\"", "\" -mlong-double-128 options\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_HARD_FLOAT", ")", "!=", "0", ")", "error", "(", "\"Builtin function %s requires the -mhard-float option\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_FLOAT128", ")", "!=", "0", ")", "error", "(", "\"Builtin function %s requires the -mfloat128 option\"", ",", "name", ")", ";", "else", "error", "(", "\"Builtin function %s is not supported with the current options\"", ",", "name", ")", ";", "}", ""], "natrual_language": ["Raise", "an", "error", "message", "for", "a", "builtin", "function", "that", "is", "called", "without", "the", "appropriate", "target", "options", "being", "set", "."], "TS_V_token": ["rs6000", "0", "\"Builtin function %s is only valid for the cell processor\"", "0", "\"Builtin function %s requires the -mvsx option\"", "0", "\"Builtin function %s requires the -mhtm option\"", "0", "\"Builtin function %s requires the -maltivec option\"", "0", "\"Builtin function %s requires the -mpaired option\"", "0", "\"Builtin function %s requires the -mspe option\"", "\"Builtin function %s requires the -mhard-dfp and\"", "\" -mpower8-vector options\"", "0", "\"Builtin function %s requires the -mhard-dfp option\"", "0", "\"Builtin function %s requires the -mpower8-vector option\"", "\"Builtin function %s requires the -mcpu=power9 and\"", "\" -m64 options\"", "0", "\"Builtin function %s requires the -mcpu=power9 option\"", "\"Builtin function %s requires the -mcpu=power9 and\"", "\" -m64 options\"", "\"Builtin function %s requires the -mcpu=power9 option\"", "\"Builtin function %s requires the -mhard-float and\"", "\" -mlong-double-128 options\"", "0", "\"Builtin function %s requires the -mhard-float option\"", "0", "\"Builtin function %s requires the -mfloat128 option\"", "\"Builtin function %s is not supported with the current options\""], "File": "rs60006", "Func": "rs6000_invalid_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10996, "Length": 378, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMConstantIslands", "::", "verify", "(", "MachineFunction", "&", "Fn", ")", "{", "assert", "(", "BBOffsets", ".", "size", "(", ")", "==", "BBSizes", ".", "size", "(", ")", ")", ";", "for", "(", "unsigned", "i", "=", "1", ",", "e", "=", "BBOffsets", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "assert", "(", "BBOffsets", "[", "i", "-", "1", "]", "+", "BBSizes", "[", "i", "-", "1", "]", "==", "BBOffsets", "[", "i", "]", ")", ";", "if", "(", "isThumb", ")", "{", "for", "(", "MachineFunction", "::", "iterator", "MBBI", "=", "Fn", ".", "begin", "(", ")", ",", "E", "=", "Fn", ".", "end", "(", ")", ";", "MBBI", "!=", "E", ";", "++", "MBBI", ")", "{", "MachineBasicBlock", "*", "MBB", "=", "MBBI", ";", "if", "(", "!", "MBB", "->", "empty", "(", ")", "&&", "MBB", "->", "begin", "(", ")", "->", "getOpcode", "(", ")", "==", "ARM", "::", "CONSTPOOL_ENTRY", ")", "assert", "(", "(", "BBOffsets", "[", "MBB", "->", "getNumber", "(", ")", "]", "%", "4", "==", "0", "&&", "BBSizes", "[", "MBB", "->", "getNumber", "(", ")", "]", "%", "4", "==", "0", ")", "||", "(", "BBOffsets", "[", "MBB", "->", "getNumber", "(", ")", "]", "%", "4", "!=", "0", "&&", "BBSizes", "[", "MBB", "->", "getNumber", "(", ")", "]", "%", "4", "!=", "0", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["Check", "if", "this", "register", "bank", "is", "valid", "."], "TS_V_token": ["ARM", "ARM", "1", "1", "1", "ARM::CONSTPOOL_ENTRY", "4", "0", "4", "0", "4", "0", "4", "0"], "File": "ARMConstantIslandPass18", "Func": "verify", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10997, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLoweringBase", "::", "AtomicExpansionKind", "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", "?", "AtomicExpansionKind", "::", "Expand", ":", "AtomicExpansionKind", "::", "None", ";", "}", ""], "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": "ARMISelLowering83", "Func": "shouldExpandAtomicStoreInIR", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 10998, "Length": 87, "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": 10999, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "sparc_d_handle_target_float_abi", "(", "void", ")", "{", "const", "char", "*", "abi", ";", "if", "(", "TARGET_FPU", ")", "abi", "=", "\"hard\"", ";", "else", "abi", "=", "\"soft\"", ";", "return", "build_string_literal", "(", "strlen", "(", "abi", ")", "+", "1", ",", "abi", ")", ";", "}", ""], "natrual_language": ["Handle", "a", "call", "to", "`", "__traits", "(", "getTargetInfo", ",", "``", "floatAbi", "''", ")", "'", "."], "TS_V_token": ["sparc", "\"hard\"", "\"soft\"", "1"], "File": "sparc-d", "Func": "sparc_d_handle_target_float_abi", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11000, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_expand_sse_fp_minmax", "(", "rtx", "dest", ",", "enum", "rtx_code", "code", ",", "rtx", "cmp_op0", ",", "rtx", "cmp_op1", ",", "rtx", "if_true", ",", "rtx", "if_false", ")", "{", "machine_mode", "mode", ";", "bool", "is_min", ";", "rtx", "tmp", ";", "if", "(", "code", "==", "LT", ")", ";", "else", "if", "(", "code", "==", "UNGE", ")", "std", "::", "swap", "(", "if_true", ",", "if_false", ")", ";", "else", "return", "false", ";", "if", "(", "rtx_equal_p", "(", "cmp_op0", ",", "if_true", ")", "&&", "rtx_equal_p", "(", "cmp_op1", ",", "if_false", ")", ")", "is_min", "=", "true", ";", "else", "if", "(", "rtx_equal_p", "(", "cmp_op1", ",", "if_true", ")", "&&", "rtx_equal_p", "(", "cmp_op0", ",", "if_false", ")", ")", "is_min", "=", "false", ";", "else", "return", "false", ";", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "if", "(", "!", "flag_finite_math_only", "||", "flag_signed_zeros", ")", "{", "int", "u", "=", "is_min", "?", "UNSPEC_IEEE_MIN", ":", "UNSPEC_IEEE_MAX", ";", "rtvec", "v", ";", "if_true", "=", "force_reg", "(", "mode", ",", "if_true", ")", ";", "v", "=", "gen_rtvec", "(", "2", ",", "if_true", ",", "if_false", ")", ";", "tmp", "=", "gen_rtx_UNSPEC", "(", "mode", ",", "v", ",", "u", ")", ";", "}", "else", "{", "code", "=", "is_min", "?", "SMIN", ":", "SMAX", ";", "tmp", "=", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "if_true", ",", "if_false", ")", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "tmp", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Detect", "conditional", "moves", "that", "exactly", "match", "min/max", "operational", "semantics", ".", "Note", "that", "this", "is", "IEEE", "safe", ",", "as", "long", "as", "we", "do", "n't", "interchange", "the", "operands", ".", "Returns", "FALSE", "if", "this", "conditional", "move", "does", "n't", "match", "a", "MIN/MAX", ",", "and", "TRUE", "if", "the", "operation", "is", "successful", "and", "instructions", "are", "emitted", "."], "TS_V_token": ["i386", "2"], "File": "i3866", "Func": "ix86_expand_sse_fp_minmax", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11001, "Length": 202, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ia64_function_incoming_arg", "(", "cumulative_args_t", "cum", ",", "const", "function_arg_info", "&", "arg", ")", "{", "return", "ia64_function_arg_1", "(", "cum", ",", "arg", ",", "true", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCION_INCOMING_ARG", "target", "hook", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "ia64_function_incoming_arg", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11002, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "r10k_needs_protection_p_call", "(", "const_rtx", "x", ")", "{", "subrtx_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX", "(", "iter", ",", "array", ",", "x", ",", "NONCONST", ")", "{", "const_rtx", "mem", "=", "*", "iter", ";", "if", "(", "MEM_P", "(", "mem", ")", ")", "{", "const_rtx", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_DECL", "(", "addr", ")", ")", "iter", ".", "skip_subrtxes", "(", ")", ";", "else", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["X", "is", "the", "pattern", "of", "a", "call", "instruction", ".", "Return", "true", "if", "the", "call", "is", "not", "to", "a", "declared", "function", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "r10k_needs_protection_p_call", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11003, "Length": 78, "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": 11004, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "OR1KTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "DebugLoc", "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": ["OR1K", "OR1K", "ISD::InputArg", "\"Unsupported calling convention\""], "File": "OR1KISelLowering", "Func": "LowerFormalArguments", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11005, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCDarwinAsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "bool", "isPPC64", "=", "TM", ".", "getTargetData", "(", ")", "->", "getPointerSizeInBits", "(", ")", "==", "64", ";", "TargetLoweringObjectFileMachO", "&", "TLOFMacho", "=", "static_cast", "<", "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": "PPCAsmPrinter11", "Func": "doFinalization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11006, "Length": 493, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "rs6000_invalid_conversion", "(", "const_tree", "fromtype", ",", "const_tree", "totype", ")", "{", "if", "(", "TYPE_CANONICAL", "(", "fromtype", ")", "!=", "NULL_TREE", ")", "fromtype", "=", "TYPE_CANONICAL", "(", "fromtype", ")", ";", "if", "(", "TYPE_CANONICAL", "(", "totype", ")", "!=", "NULL_TREE", ")", "totype", "=", "TYPE_CANONICAL", "(", "totype", ")", ";", "machine_mode", "frommode", "=", "TYPE_MODE", "(", "fromtype", ")", ";", "machine_mode", "tomode", "=", "TYPE_MODE", "(", "totype", ")", ";", "if", "(", "frommode", "!=", "tomode", ")", "{", "if", "(", "frommode", "==", "XOmode", ")", "return", "N_", "(", "\"invalid conversion from type %<__vector_quad%>\"", ")", ";", "if", "(", "tomode", "==", "XOmode", ")", "return", "N_", "(", "\"invalid conversion to type %<__vector_quad%>\"", ")", ";", "if", "(", "frommode", "==", "OOmode", ")", "return", "N_", "(", "\"invalid conversion from type %<__vector_pair%>\"", ")", ";", "if", "(", "tomode", "==", "OOmode", ")", "return", "N_", "(", "\"invalid conversion to type %<__vector_pair%>\"", ")", ";", "}", "else", "if", "(", "POINTER_TYPE_P", "(", "fromtype", ")", "&&", "POINTER_TYPE_P", "(", "totype", ")", ")", "{", "frommode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "fromtype", ")", ")", ";", "tomode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "totype", ")", ")", ";", "if", "(", "frommode", "!=", "tomode", "&&", "frommode", "!=", "VOIDmode", "&&", "tomode", "!=", "VOIDmode", ")", "{", "if", "(", "frommode", "==", "XOmode", ")", "return", "N_", "(", "\"invalid conversion from type %<* __vector_quad%>\"", ")", ";", "if", "(", "tomode", "==", "XOmode", ")", "return", "N_", "(", "\"invalid conversion to type %<* __vector_quad%>\"", ")", ";", "if", "(", "frommode", "==", "OOmode", ")", "return", "N_", "(", "\"invalid conversion from type %<* __vector_pair%>\"", ")", ";", "if", "(", "tomode", "==", "OOmode", ")", "return", "N_", "(", "\"invalid conversion to type %<* __vector_pair%>\"", ")", ";", "}", "}", "return", "NULL", ";", "}", ""], "natrual_language": ["Implement", "TARGET_INVALID_CONVERSION", "."], "TS_V_token": ["rs6000", "\"invalid conversion from type %<__vector_quad%>\"", "\"invalid conversion to type %<__vector_quad%>\"", "\"invalid conversion from type %<__vector_pair%>\"", "\"invalid conversion to type %<__vector_pair%>\"", "\"invalid conversion from type %<* __vector_quad%>\"", "\"invalid conversion to type %<* __vector_quad%>\"", "\"invalid conversion from type %<* __vector_pair%>\"", "\"invalid conversion to type %<* __vector_pair%>\""], "File": "rs6000", "Func": "rs6000_invalid_conversion", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11007, "Length": 220, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64MCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "return", "Ctx", ".", "getRegisterInfo", "(", ")", "->", "getEncodingValue", "(", "MO", ".", "getReg", "(", ")", ")", ";", "}", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "}", "llvm_unreachable", "(", "\"Unable to encode MCOperand!\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["AArch64", "AArch64", "\"Unable to encode MCOperand!\"", "0"], "File": "AArch64MCCodeEmitter11", "Func": "getMachineOpValue", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11008, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "shouldBuildLookupTables", "(", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "switches", "should", "be", "turned", "into", "lookup", "tables", "for", "the", "target", "."], "TS_V_token": ["DLX"], "File": "DLXTargetTransformInfo", "Func": "shouldBuildLookupTables", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11009, "Length": 10, "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": 11010, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "altivec_build_resolved_builtin", "(", "tree", "*", "args", ",", "int", "n", ",", "const", "struct", "altivec_builtin_types", "*", "desc", ")", "{", "tree", "impl_fndecl", "=", "rs6000_builtin_decls", "[", "desc", "->", "overloaded_code", "]", ";", "tree", "ret_type", "=", "rs6000_builtin_type", "(", "desc", "->", "ret_type", ")", ";", "tree", "argtypes", "=", "TYPE_ARG_TYPES", "(", "TREE_TYPE", "(", "impl_fndecl", ")", ")", ";", "tree", "arg_type", "[", "3", "]", ";", "tree", "call", ";", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n", ";", "i", "++", ")", "arg_type", "[", "i", "]", "=", "TREE_VALUE", "(", "argtypes", ")", ",", "argtypes", "=", "TREE_CHAIN", "(", "argtypes", ")", ";", "if", "(", "desc", "->", "code", "==", "ALTIVEC_BUILTIN_VEC_VCMPGE_P", "&&", "desc", "->", "overloaded_code", "!=", "ALTIVEC_BUILTIN_VCMPGEFP_P", "&&", "desc", "->", "overloaded_code", "!=", "VSX_BUILTIN_XVCMPGEDP_P", ")", "{", "tree", "t", ";", "t", "=", "args", "[", "2", "]", ",", "args", "[", "2", "]", "=", "args", "[", "1", "]", ",", "args", "[", "1", "]", "=", "t", ";", "t", "=", "arg_type", "[", "2", "]", ",", "arg_type", "[", "2", "]", "=", "arg_type", "[", "1", "]", ",", "arg_type", "[", "1", "]", "=", "t", ";", "args", "[", "0", "]", "=", "fold_build2", "(", "BIT_XOR_EXPR", ",", "TREE_TYPE", "(", "args", "[", "0", "]", ")", ",", "args", "[", "0", "]", ",", "build_int_cst", "(", "NULL_TREE", ",", "2", ")", ")", ";", "}", "switch", "(", "n", ")", "{", "case", "0", ":", "call", "=", "build_call_expr", "(", "impl_fndecl", ",", "0", ")", ";", "break", ";", "case", "1", ":", "call", "=", "build_call_expr", "(", "impl_fndecl", ",", "1", ",", "fully_fold_convert", "(", "arg_type", "[", "0", "]", ",", "args", "[", "0", "]", ")", ")", ";", "break", ";", "case", "2", ":", "call", "=", "build_call_expr", "(", "impl_fndecl", ",", "2", ",", "fully_fold_convert", "(", "arg_type", "[", "0", "]", ",", "args", "[", "0", "]", ")", ",", "fully_fold_convert", "(", "arg_type", "[", "1", "]", ",", "args", "[", "1", "]", ")", ")", ";", "break", ";", "case", "3", ":", "call", "=", "build_call_expr", "(", "impl_fndecl", ",", "3", ",", "fully_fold_convert", "(", "arg_type", "[", "0", "]", ",", "args", "[", "0", "]", ")", ",", "fully_fold_convert", "(", "arg_type", "[", "1", "]", ",", "args", "[", "1", "]", ")", ",", "fully_fold_convert", "(", "arg_type", "[", "2", "]", ",", "args", "[", "2", "]", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "fold_convert", "(", "ret_type", ",", "call", ")", ";", "}", ""], "natrual_language": ["Build", "a", "tree", "for", "a", "function", "call", "to", "an", "Altivec", "non-overloaded", "builtin", ".", "The", "overloaded", "builtin", "that", "matched", "the", "types", "and", "args", "is", "described", "by", "DESC", ".", "The", "N", "arguments", "are", "given", "in", "ARGS", ",", "respectively", ".", "Actually", "the", "only", "thing", "it", "does", "is", "calling", "fold_convert", "on", "ARGS", ",", "with", "a", "small", "exception", "for", "vec_", "{", "all", ",", "any", "}", "_", "{", "ge", ",", "le", "}", "predicates", "."], "TS_V_token": ["powerpcspe", "3", "0", "2", "2", "1", "1", "2", "2", "1", "1", "0", "0", "0", "2", "0", "0", "1", "1", "0", "0", "2", "2", "0", "0", "1", "1", "3", "3", "0", "0", "1", "1", "2", "2"], "File": "powerpcspe-c", "Func": "altivec_build_resolved_builtin", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11011, "Length": 349, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcSubtarget", "&", "SparcSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "IsV9", "=", "false", ";", "V8DeprecatedInsts", "=", "false", ";", "IsVIS", "=", "false", ";", "HasHardQuad", "=", "false", ";", "UsePopc", "=", "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": "SparcSubtarget1", "Func": "initializeSubtargetDependencies", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11012, "Length": 79, "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": 11013, "Length": 276, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "i386_pe_declare_function_type", "(", "FILE", "*", "file", ",", "const", "char", "*", "name", ",", "int", "pub", ")", "{", "fprintf", "(", "file", ",", "\"\\t.def\\t\"", ")", ";", "assemble_name", "(", "file", ",", "name", ")", ";", "fprintf", "(", "file", ",", "\";\\t.scl\\t%d;\\t.type\\t%d;\\t.endef\\n\"", ",", "pub", "?", "(", "int", ")", "C_EXT", ":", "(", "int", ")", "C_STAT", ",", "(", "int", ")", "DT_FCN", "<<", "N_BTSHFT", ")", ";", "}", ""], "natrual_language": ["Mark", "a", "function", "appropriately", ".", "This", "should", "only", "be", "called", "for", "functions", "for", "which", "we", "are", "not", "emitting", "COFF", "debugging", "information", ".", "FILE", "is", "the", "assembler", "output", "file", ",", "NAME", "is", "the", "name", "of", "the", "function", ",", "and", "PUBLIC", "is", "nonzero", "if", "the", "function", "is", "globally", "visible", "."], "TS_V_token": ["i386", "\"\\t.def\\t\"", "\";\\t.scl\\t%d;\\t.type\\t%d;\\t.endef\\n\""], "File": "winnt", "Func": "i386_pe_declare_function_type", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11014, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetObjectFile", "::", "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": ["Mips", "Mips"], "File": "MipsTargetObjectFile34", "Func": "IsGlobalInSmallSection", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11015, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_classify_vector_mode", "(", "machine_mode", "mode", ")", "{", "if", "(", "aarch64_advsimd_struct_mode_p", "(", "mode", ")", ")", "return", "VEC_ADVSIMD", "|", "VEC_STRUCT", ";", "if", "(", "aarch64_sve_pred_mode_p", "(", "mode", ")", ")", "return", "VEC_SVE_PRED", ";", "scalar_mode", "inner", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", "&&", "(", "inner", "==", "QImode", "||", "inner", "==", "HImode", "||", "inner", "==", "HFmode", "||", "inner", "==", "SImode", "||", "inner", "==", "SFmode", "||", "inner", "==", "DImode", "||", "inner", "==", "DFmode", ")", ")", "{", "if", "(", "TARGET_SVE", ")", "{", "if", "(", "known_eq", "(", "GET_MODE_BITSIZE", "(", "mode", ")", ",", "BITS_PER_SVE_VECTOR", ")", ")", "return", "VEC_SVE_DATA", ";", "if", "(", "known_eq", "(", "GET_MODE_BITSIZE", "(", "mode", ")", ",", "BITS_PER_SVE_VECTOR", "*", "2", ")", "||", "known_eq", "(", "GET_MODE_BITSIZE", "(", "mode", ")", ",", "BITS_PER_SVE_VECTOR", "*", "3", ")", "||", "known_eq", "(", "GET_MODE_BITSIZE", "(", "mode", ")", ",", "BITS_PER_SVE_VECTOR", "*", "4", ")", ")", "return", "VEC_SVE_DATA", "|", "VEC_STRUCT", ";", "}", "if", "(", "TARGET_SIMD", "&&", "(", "known_eq", "(", "GET_MODE_BITSIZE", "(", "mode", ")", ",", "64", ")", "||", "known_eq", "(", "GET_MODE_BITSIZE", "(", "mode", ")", ",", "128", ")", ")", ")", "return", "VEC_ADVSIMD", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "a", "set", "of", "flags", "describing", "the", "vector", "properties", "of", "mode", "MODE", ".", "Ignore", "modes", "that", "are", "not", "supported", "by", "the", "current", "target", "."], "TS_V_token": ["aarch64", "2", "3", "4", "64", "128", "0"], "File": "aarch645", "Func": "aarch64_classify_vector_mode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11016, "Length": 175, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "function_arg_advance_32", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "HOST_WIDE_INT", "bytes", ",", "HOST_WIDE_INT", "words", ")", "{", "int", "res", "=", "0", ";", "bool", "error_p", "=", "NULL", ";", "if", "(", "TARGET_IAMCU", ")", "{", "if", "(", "!", "VECTOR_MODE_P", "(", "mode", ")", "&&", "bytes", "<=", "8", ")", "goto", "pass_in_reg", ";", "return", "res", ";", "}", "switch", "(", "mode", ")", "{", "default", ":", "break", ";", "case", "BLKmode", ":", "if", "(", "bytes", "<", "0", ")", "break", ";", "case", "DImode", ":", "case", "SImode", ":", "case", "HImode", ":", "case", "QImode", ":", "pass_in_reg", ":", "cum", "->", "words", "+=", "words", ";", "cum", "->", "nregs", "-=", "words", ";", "cum", "->", "regno", "+=", "words", ";", "if", "(", "cum", "->", "nregs", ">=", "0", ")", "res", "=", "words", ";", "if", "(", "cum", "->", "nregs", "<=", "0", ")", "{", "cum", "->", "nregs", "=", "0", ";", "cfun", "->", "machine", "->", "arg_reg_available", "=", "false", ";", "cum", "->", "regno", "=", "0", ";", "}", "break", ";", "case", "OImode", ":", "gcc_unreachable", "(", ")", ";", "case", "DFmode", ":", "if", "(", "cum", "->", "float_in_sse", "==", "-", "1", ")", "error_p", "=", "1", ";", "if", "(", "cum", "->", "float_in_sse", "<", "2", ")", "break", ";", "case", "SFmode", ":", "if", "(", "cum", "->", "float_in_sse", "==", "-", "1", ")", "error_p", "=", "1", ";", "if", "(", "cum", "->", "float_in_sse", "<", "1", ")", "break", ";", "case", "V8SFmode", ":", "case", "V8SImode", ":", "case", "V64QImode", ":", "case", "V32HImode", ":", "case", "V16SImode", ":", "case", "V8DImode", ":", "case", "V16SFmode", ":", "case", "V8DFmode", ":", "case", "V32QImode", ":", "case", "V16HImode", ":", "case", "V4DFmode", ":", "case", "V4DImode", ":", "case", "TImode", ":", "case", "V16QImode", ":", "case", "V8HImode", ":", "case", "V4SImode", ":", "case", "V2DImode", ":", "case", "V4SFmode", ":", "case", "V2DFmode", ":", "if", "(", "!", "type", "||", "!", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "cum", "->", "sse_words", "+=", "words", ";", "cum", "->", "sse_nregs", "-=", "1", ";", "cum", "->", "sse_regno", "+=", "1", ";", "if", "(", "cum", "->", "sse_nregs", "<=", "0", ")", "{", "cum", "->", "sse_nregs", "=", "0", ";", "cum", "->", "sse_regno", "=", "0", ";", "}", "}", "break", ";", "case", "V8QImode", ":", "case", "V4HImode", ":", "case", "V2SImode", ":", "case", "V2SFmode", ":", "case", "V1TImode", ":", "case", "V1DImode", ":", "if", "(", "!", "type", "||", "!", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "cum", "->", "mmx_words", "+=", "words", ";", "cum", "->", "mmx_nregs", "-=", "1", ";", "cum", "->", "mmx_regno", "+=", "1", ";", "if", "(", "cum", "->", "mmx_nregs", "<=", "0", ")", "{", "cum", "->", "mmx_nregs", "=", "0", ";", "cum", "->", "mmx_regno", "=", "0", ";", "}", "}", "break", ";", "}", "if", "(", "error_p", ")", "{", "cum", "->", "float_in_sse", "=", "0", ";", "error", "(", "\"calling %qD with SSE calling convention without \"", "\"SSE/SSE2 enabled\"", ",", "cum", "->", "decl", ")", ";", "sorry", "(", "\"this is a GCC bug that can be worked around by adding \"", "\"attribute used to function called\"", ")", ";", "}", "return", "res", ";", "}", ""], "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", ".", ")", "Return", "a", "number", "of", "integer", "regsiters", "advanced", "over", "."], "TS_V_token": ["i386", "0", "8", "0", "0", "0", "0", "0", "1", "1", "2", "1", "1", "1", "1", "1", "0", "0", "0", "1", "1", "0", "0", "0", "0", "\"calling %qD with SSE calling convention without \"", "\"SSE/SSE2 enabled\"", "\"this is a GCC bug that can be worked around by adding \"", "\"attribute used to function called\""], "File": "i3865", "Func": "function_arg_advance_32", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11017, "Length": 428, "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": 11018, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_output_external", "(", "FILE", "*", "file", ",", "tree", "decl", ",", "const", "char", "*", "name", ")", "{", "default_elf_asm_output_external", "(", "file", ",", "decl", ",", "name", ")", ";", "if", "(", "TREE_SYMBOL_REFERENCED", "(", "DECL_ASSEMBLER_NAME", "(", "decl", ")", ")", ")", "{", "if", "(", "!", "TARGET_EXPLICIT_RELOCS", "&&", "mips_in_small_data_p", "(", "decl", ")", ")", "{", "fputs", "(", "\"\\t.extern\\t\"", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "name", ")", ";", "fprintf", "(", "file", ",", "\", \"", "HOST_WIDE_INT_PRINT_DEC", "\"\\n\"", ",", "int_size_in_bytes", "(", "TREE_TYPE", "(", "decl", ")", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["When", "using", "assembler", "macros", ",", "keep", "track", "of", "all", "of", "small-data", "externs", "so", "that", "mips_file_end", "can", "emit", "the", "appropriate", "declarations", "for", "them", ".", "In", "most", "cases", "it", "would", "be", "safe", "(", "though", "pointless", ")", "to", "emit", ".externs", "for", "other", "symbols", "too", ".", "One", "exception", "is", "when", "an", "object", "is", "within", "the", "-G", "limit", "but", "declared", "by", "the", "user", "to", "be", "in", "a", "section", "other", "than", ".sbss", "or", ".sdata", "."], "TS_V_token": ["mips", "\"\\t.extern\\t\"", "\", \"", "\"\\n\""], "File": "mips", "Func": "mips_output_external", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11019, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "basic_block", "add_condition_to_bb", "(", "tree", "function_decl", ",", "tree", "version_decl", ",", "tree", "predicate_chain", ",", "basic_block", "new_bb", ")", "{", "gimple", "*", "return_stmt", ";", "tree", "convert_expr", ",", "result_var", ";", "gimple", "*", "convert_stmt", ";", "gimple", "*", "call_cond_stmt", ";", "gimple", "*", "if_else_stmt", ";", "basic_block", "bb1", ",", "bb2", ",", "bb3", ";", "edge", "e12", ",", "e23", ";", "tree", "cond_var", ",", "and_expr_var", "=", "NULL_TREE", ";", "gimple_seq", "gseq", ";", "tree", "predicate_decl", ",", "predicate_arg", ";", "push_cfun", "(", "DECL_STRUCT_FUNCTION", "(", "function_decl", ")", ")", ";", "gcc_assert", "(", "new_bb", "!=", "NULL", ")", ";", "gseq", "=", "bb_seq", "(", "new_bb", ")", ";", "convert_expr", "=", "build1", "(", "CONVERT_EXPR", ",", "ptr_type_node", ",", "build_fold_addr_expr", "(", "version_decl", ")", ")", ";", "result_var", "=", "create_tmp_var", "(", "ptr_type_node", ")", ";", "convert_stmt", "=", "gimple_build_assign", "(", "result_var", ",", "convert_expr", ")", ";", "return_stmt", "=", "gimple_build_return", "(", "result_var", ")", ";", "if", "(", "predicate_chain", "==", "NULL_TREE", ")", "{", "gimple_seq_add_stmt", "(", "&", "gseq", ",", "convert_stmt", ")", ";", "gimple_seq_add_stmt", "(", "&", "gseq", ",", "return_stmt", ")", ";", "set_bb_seq", "(", "new_bb", ",", "gseq", ")", ";", "gimple_set_bb", "(", "convert_stmt", ",", "new_bb", ")", ";", "gimple_set_bb", "(", "return_stmt", ",", "new_bb", ")", ";", "pop_cfun", "(", ")", ";", "return", "new_bb", ";", "}", "while", "(", "predicate_chain", "!=", "NULL", ")", "{", "cond_var", "=", "create_tmp_var", "(", "integer_type_node", ")", ";", "predicate_decl", "=", "TREE_PURPOSE", "(", "predicate_chain", ")", ";", "predicate_arg", "=", "TREE_VALUE", "(", "predicate_chain", ")", ";", "call_cond_stmt", "=", "gimple_build_call", "(", "predicate_decl", ",", "1", ",", "predicate_arg", ")", ";", "gimple_call_set_lhs", "(", "call_cond_stmt", ",", "cond_var", ")", ";", "gimple_set_block", "(", "call_cond_stmt", ",", "DECL_INITIAL", "(", "function_decl", ")", ")", ";", "gimple_set_bb", "(", "call_cond_stmt", ",", "new_bb", ")", ";", "gimple_seq_add_stmt", "(", "&", "gseq", ",", "call_cond_stmt", ")", ";", "predicate_chain", "=", "TREE_CHAIN", "(", "predicate_chain", ")", ";", "if", "(", "and_expr_var", "==", "NULL", ")", "and_expr_var", "=", "cond_var", ";", "else", "{", "gimple", "*", "assign_stmt", ";", "assign_stmt", "=", "gimple_build_assign", "(", "and_expr_var", ",", "build2", "(", "MIN_EXPR", ",", "integer_type_node", ",", "cond_var", ",", "and_expr_var", ")", ")", ";", "gimple_set_block", "(", "assign_stmt", ",", "DECL_INITIAL", "(", "function_decl", ")", ")", ";", "gimple_set_bb", "(", "assign_stmt", ",", "new_bb", ")", ";", "gimple_seq_add_stmt", "(", "&", "gseq", ",", "assign_stmt", ")", ";", "}", "}", "if_else_stmt", "=", "gimple_build_cond", "(", "GT_EXPR", ",", "and_expr_var", ",", "integer_zero_node", ",", "NULL_TREE", ",", "NULL_TREE", ")", ";", "gimple_set_block", "(", "if_else_stmt", ",", "DECL_INITIAL", "(", "function_decl", ")", ")", ";", "gimple_set_bb", "(", "if_else_stmt", ",", "new_bb", ")", ";", "gimple_seq_add_stmt", "(", "&", "gseq", ",", "if_else_stmt", ")", ";", "gimple_seq_add_stmt", "(", "&", "gseq", ",", "convert_stmt", ")", ";", "gimple_seq_add_stmt", "(", "&", "gseq", ",", "return_stmt", ")", ";", "set_bb_seq", "(", "new_bb", ",", "gseq", ")", ";", "bb1", "=", "new_bb", ";", "e12", "=", "split_block", "(", "bb1", ",", "if_else_stmt", ")", ";", "bb2", "=", "e12", "->", "dest", ";", "e12", "->", "flags", "&=", "~", "EDGE_FALLTHRU", ";", "e12", "->", "flags", "|=", "EDGE_TRUE_VALUE", ";", "e23", "=", "split_block", "(", "bb2", ",", "return_stmt", ")", ";", "gimple_set_bb", "(", "convert_stmt", ",", "bb2", ")", ";", "gimple_set_bb", "(", "return_stmt", ",", "bb2", ")", ";", "bb3", "=", "e23", "->", "dest", ";", "make_edge", "(", "bb1", ",", "bb3", ",", "EDGE_FALSE_VALUE", ")", ";", "remove_edge", "(", "e23", ")", ";", "make_edge", "(", "bb2", ",", "EXIT_BLOCK_PTR_FOR_FN", "(", "cfun", ")", ",", "0", ")", ";", "pop_cfun", "(", ")", ";", "return", "bb3", ";", "}", ""], "natrual_language": ["This", "adds", "a", "condition", "to", "the", "basic_block", "NEW_BB", "in", "function", "FUNCTION_DECL", "to", "return", "a", "pointer", "to", "VERSION_DECL", "if", "we", "are", "running", "on", "a", "machine", "that", "supports", "the", "index", "CLONE_ISA", "hardware", "architecture", "bits", ".", "This", "function", "will", "be", "called", "during", "version", "dispatch", "to", "decide", "which", "function", "version", "to", "execute", ".", "It", "returns", "the", "basic", "block", "at", "the", "end", ",", "to", "which", "more", "conditions", "can", "be", "added", "."], "TS_V_token": ["i386", "1", "0"], "File": "i386-features", "Func": "add_condition_to_bb", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11020, "Length": 473, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16FrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "ArrayRef", "<", "CalleeSavedInfo", ">", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "for", "(", "const", "CalleeSavedInfo", "&", "I", ":", "CSI", ")", "{", "Register", "Reg", "=", "I", ".", "getReg", "(", ")", ";", "bool", "IsRAAndRetAddrIsTaken", "=", "(", "Reg", "==", "Mips", "::", "RA", ")", "&&", "MF", "->", "getFrameInfo", "(", ")", ".", "isReturnAddressTaken", "(", ")", ";", "if", "(", "!", "IsRAAndRetAddrIsTaken", ")", "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": ["Mips", "Mips", "Mips::RA"], "File": "Mips16FrameLowering16", "Func": "spillCalleeSavedRegisters", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11021, "Length": 94, "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", ",", "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", "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": "i3864", "Func": "ix86_loop_unroll_adjust", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11022, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"CPU0 DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Cpu0", "\"CPU0 DAG->DAG Pattern Instruction Selection\""], "File": "Cpu0ISelDAGToDAG", "Func": "getPassName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11023, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FixupSetCCPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "Changed", "=", "false", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "TII", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "SmallVector", "<", "MachineInstr", "*", ",", "4", ">", "ToErase", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "!=", "X86", "::", "SETCCr", ")", "continue", ";", "MachineInstr", "*", "ZExt", "=", "nullptr", ";", "for", "(", "auto", "&", "Use", ":", "MRI", "->", "use_instructions", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", "if", "(", "Use", ".", "getOpcode", "(", ")", "==", "X86", "::", "MOVZX32rr8", ")", "ZExt", "=", "&", "Use", ";", "if", "(", "!", "ZExt", ")", "continue", ";", "MachineInstr", "*", "FlagsDefMI", "=", "findFlagsImpDef", "(", "MI", ".", "getParent", "(", ")", ",", "MachineBasicBlock", "::", "reverse_iterator", "(", "&", "MI", ")", ")", ";", "if", "(", "!", "FlagsDefMI", ")", "continue", ";", "if", "(", "impUsesFlags", "(", "FlagsDefMI", ")", ")", "continue", ";", "++", "NumSubstZexts", ";", "Changed", "=", "true", ";", "const", "TargetRegisterClass", "*", "RC", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", "?", "&", "X86", "::", "GR32RegClass", ":", "&", "X86", "::", "GR32_ABCDRegClass", ";", "Register", "ZeroReg", "=", "MRI", "->", "createVirtualRegister", "(", "RC", ")", ";", "Register", "InsertReg", "=", "MRI", "->", "createVirtualRegister", "(", "RC", ")", ";", "BuildMI", "(", "MBB", ",", "FlagsDefMI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "X86", "::", "MOV32r0", ")", ",", "ZeroReg", ")", ";", "BuildMI", "(", "*", "ZExt", "->", "getParent", "(", ")", ",", "ZExt", ",", "ZExt", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "X86", "::", "INSERT_SUBREG", ")", ",", "InsertReg", ")", ".", "addReg", "(", "ZeroReg", ")", ".", "addReg", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addImm", "(", "X86", "::", "sub_8bit", ")", ";", "MRI", "->", "replaceRegWith", "(", "ZExt", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "InsertReg", ")", ";", "ToErase", ".", "push_back", "(", "ZExt", ")", ";", "}", "}", "for", "(", "auto", "&", "I", ":", "ToErase", ")", "I", "->", "eraseFromParent", "(", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "4", "X86::SETCCr", "0", "X86::MOVZX32rr8", "X86", "X86::GR32RegClass", "X86::GR32_ABCDRegClass", "X86::MOV32r0", "X86::INSERT_SUBREG", "0", "X86::sub_8bit", "0"], "File": "X86FixupSetCC11", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11024, "Length": 348, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCOperand", "SystemZMCInstLower", "::", "lowerOperand", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "case", "MachineOperand", "::", "MO_Register", ":", "return", "MCOperand", "::", "createReg", "(", "MO", ".", "getReg", "(", ")", ")", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "return", "MCOperand", "::", "createImm", "(", "MO", ".", "getImm", "(", ")", ")", ";", "default", ":", "{", "MCSymbolRefExpr", "::", "VariantKind", "Kind", "=", "getVariantKind", "(", "MO", ".", "getTargetFlags", "(", ")", ")", ";", "return", "MCOperand", "::", "createExpr", "(", "getExpr", "(", "MO", ",", "Kind", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["Wrapper", "for", "MCInstLowering.lowerOperand", "(", ")", "for", "the", "tblgen'erated", "pseudo", "lowering", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZMCInstLower12", "Func": "lowerOperand", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11025, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "rs6000_insn_for_and_mask", "(", "machine_mode", "mode", ",", "rtx", "*", "operands", ",", "bool", "dot", ")", "{", "int", "nb", ",", "ne", ";", "if", "(", "!", "rs6000_is_valid_mask", "(", "operands", "[", "2", "]", ",", "&", "nb", ",", "&", "ne", ",", "mode", ")", ")", "gcc_unreachable", "(", ")", ";", "if", "(", "mode", "==", "DImode", "&&", "ne", "==", "0", ")", "{", "operands", "[", "3", "]", "=", "GEN_INT", "(", "63", "-", "nb", ")", ";", "if", "(", "dot", ")", "return", "\"rldicl. %0,%1,0,%3\"", ";", "return", "\"rldicl %0,%1,0,%3\"", ";", "}", "if", "(", "mode", "==", "DImode", "&&", "nb", "==", "63", ")", "{", "operands", "[", "3", "]", "=", "GEN_INT", "(", "63", "-", "ne", ")", ";", "if", "(", "dot", ")", "return", "\"rldicr. %0,%1,0,%3\"", ";", "return", "\"rldicr %0,%1,0,%3\"", ";", "}", "if", "(", "nb", "<", "32", "&&", "ne", "<", "32", ")", "{", "operands", "[", "3", "]", "=", "GEN_INT", "(", "31", "-", "nb", ")", ";", "operands", "[", "4", "]", "=", "GEN_INT", "(", "31", "-", "ne", ")", ";", "if", "(", "dot", ")", "return", "\"rlwinm. %0,%1,0,%3,%4\"", ";", "return", "\"rlwinm %0,%1,0,%3,%4\"", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "instruction", "template", "for", "an", "AND", "with", "mask", "in", "mode", "MODE", ",", "with", "operands", "OPERANDS", ".", "If", "DOT", "is", "true", ",", "make", "it", "a", "record-form", "instruction", "."], "TS_V_token": ["rs6000", "2", "0", "3", "63", "\"rldicl. %0,%1,0,%3\"", "\"rldicl %0,%1,0,%3\"", "63", "3", "63", "\"rldicr. %0,%1,0,%3\"", "\"rldicr %0,%1,0,%3\"", "32", "32", "3", "31", "4", "31", "\"rlwinm. %0,%1,0,%3,%4\"", "\"rlwinm %0,%1,0,%3,%4\""], "File": "rs6000", "Func": "rs6000_insn_for_and_mask", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11026, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "LegalizerInfo", "*", "getLegalizerInfo", "(", ")", "const", "override", "{", "return", "Legalizer", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Expose", "LegalizerInfo", "so", "the", "clients", "can", "re-use", "."], "TS_V_token": ["X86"], "File": "X86Subtarget24", "Func": "getLegalizerInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11027, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ")", "const", "{", "if", "(", "Ty", "->", "isVectorTy", "(", ")", "&&", "AM", ".", "BaseOffs", "!=", "0", ")", "return", "false", ";", "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", "0", "1LL", "16", "1LL", "16", "1", "0", "1", "2"], "File": "PPCISelLowering (2)2", "Func": "isLegalAddressingMode", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11028, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_trampoline_init", "(", "rtx", "m_tramp", ",", "tree", "fndecl", ",", "rtx", "chain_value", ")", "{", "int", "i", ";", "rtx", "fnaddr", ";", "rtx", "chain_value_mem", ";", "rtx", "nested_func_mem", ";", "rtx", "sync_cache_addr", ";", "rtx", "tmp_reg", ";", "rtx", "isync_insn", ";", "int", "tramp_align_in_bytes", ";", "if", "(", "TARGET_REDUCED_REGS", ")", "sorry", "(", "\"a nested function is not supported for reduced registers\"", ")", ";", "fnaddr", "=", "XEXP", "(", "DECL_RTL", "(", "fndecl", ")", ",", "0", ")", ";", "emit_block_move", "(", "m_tramp", ",", "assemble_trampoline_template", "(", ")", ",", "GEN_INT", "(", "TRAMPOLINE_SIZE", ")", ",", "BLOCK_OP_NORMAL", ")", ";", "chain_value_mem", "=", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "16", ")", ";", "emit_move_insn", "(", "chain_value_mem", ",", "chain_value", ")", ";", "nested_func_mem", "=", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "20", ")", ";", "emit_move_insn", "(", "nested_func_mem", ",", "fnaddr", ")", ";", "sync_cache_addr", "=", "XEXP", "(", "m_tramp", ",", "0", ")", ";", "tmp_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "isync_insn", "=", "gen_unspec_volatile_isync", "(", "tmp_reg", ")", ";", "tramp_align_in_bytes", "=", "TRAMPOLINE_ALIGNMENT", "/", "BITS_PER_UNIT", ";", "if", "(", "tramp_align_in_bytes", ">=", "nds32_cache_block_size", "&&", "(", "tramp_align_in_bytes", "%", "nds32_cache_block_size", ")", "==", "0", ")", "{", "for", "(", "i", "=", "0", ";", "i", "<", "(", "TRAMPOLINE_SIZE", "+", "nds32_cache_block_size", "-", "1", ")", "/", "nds32_cache_block_size", ";", "i", "++", ")", "{", "emit_move_insn", "(", "tmp_reg", ",", "plus_constant", "(", "Pmode", ",", "sync_cache_addr", ",", "nds32_cache_block_size", "*", "i", ")", ")", ";", "emit_insn", "(", "isync_insn", ")", ";", "}", "}", "else", "if", "(", "TRAMPOLINE_SIZE", ">", "nds32_cache_block_size", ")", "{", "for", "(", "i", "=", "0", ";", "i", "<", "(", "TRAMPOLINE_SIZE", "+", "nds32_cache_block_size", "-", "1", ")", "/", "nds32_cache_block_size", ";", "i", "++", ")", "{", "emit_move_insn", "(", "tmp_reg", ",", "plus_constant", "(", "Pmode", ",", "sync_cache_addr", ",", "nds32_cache_block_size", "*", "i", ")", ")", ";", "emit_insn", "(", "isync_insn", ")", ";", "}", "emit_move_insn", "(", "tmp_reg", ",", "plus_constant", "(", "Pmode", ",", "sync_cache_addr", ",", "TRAMPOLINE_SIZE", "-", "4", ")", ")", ";", "emit_insn", "(", "isync_insn", ")", ";", "}", "else", "{", "emit_move_insn", "(", "tmp_reg", ",", "sync_cache_addr", ")", ";", "emit_insn", "(", "isync_insn", ")", ";", "emit_move_insn", "(", "tmp_reg", ",", "plus_constant", "(", "Pmode", ",", "sync_cache_addr", ",", "TRAMPOLINE_SIZE", "-", "4", ")", ")", ";", "emit_insn", "(", "isync_insn", ")", ";", "}", "emit_insn", "(", "gen_unspec_volatile_isb", "(", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "RTL", "insns", "to", "initialize", "the", "variable", "parts", "of", "a", "trampoline", "."], "TS_V_token": ["nds32", "\"a nested function is not supported for reduced registers\"", "0", "16", "20", "0", "0", "0", "1", "0", "1", "4", "4"], "File": "nds32", "Func": "nds32_trampoline_init", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11029, "Length": 318, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "loongarch_check_zero_div_p", "(", "void", ")", "{", "if", "(", "target_flags_explicit", "&", "MASK_CHECK_ZERO_DIV", ")", "return", "TARGET_CHECK_ZERO_DIV", ";", "return", "!", "optimize", "||", "optimize_debug", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "need", "to", "trap", "on", "division", "by", "zero", "."], "TS_V_token": ["loongarch"], "File": "loongarch1", "Func": "loongarch_check_zero_div_p", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11030, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_function_arg_regno_p", "(", "int", "regno", ")", "{", "int", "i", ";", "enum", "calling_abi", "call_abi", ";", "const", "int", "*", "parm_regs", ";", "if", "(", "TARGET_SSE", "&&", "SSE_REGNO_P", "(", "regno", ")", "&&", "regno", "<", "FIRST_SSE_REG", "+", "SSE_REGPARM_MAX", ")", "return", "true", ";", "if", "(", "!", "TARGET_64BIT", ")", "return", "(", "regno", "<", "REGPARM_MAX", "||", "(", "TARGET_MMX", "&&", "MMX_REGNO_P", "(", "regno", ")", "&&", "regno", "<", "FIRST_MMX_REG", "+", "MMX_REGPARM_MAX", ")", ")", ";", "call_abi", "=", "ix86_cfun_abi", "(", ")", ";", "if", "(", "call_abi", "==", "SYSV_ABI", "&&", "regno", "==", "AX_REG", ")", "return", "true", ";", "if", "(", "call_abi", "==", "MS_ABI", ")", "parm_regs", "=", "x86_64_ms_abi_int_parameter_registers", ";", "else", "parm_regs", "=", "x86_64_int_parameter_registers", ";", "for", "(", "i", "=", "0", ";", "i", "<", "(", "call_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": "i386", "Func": "ix86_function_arg_regno_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11031, "Length": 135, "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": "PPCCTRLoops", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11032, "Length": 152, "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": 11033, "Length": 254, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "loongarch_output_division", "(", "const", "char", "*", "division", ",", "rtx", "*", "operands", ")", "{", "const", "char", "*", "s", ";", "s", "=", "division", ";", "if", "(", "TARGET_CHECK_ZERO_DIV", ")", "{", "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": "loongarch", "Func": "loongarch_output_division", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11034, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsInstrInfo", "::", "findCommutedOpIndices", "(", "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": "MipsInstrInfo16", "Func": "findCommutedOpIndices", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11035, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "find_addr_reg", "(", "rtx", "addr", ")", "{", "while", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", ")", "{", "if", "(", "GET_CODE", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "==", "REG", ")", "addr", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "else", "if", "(", "GET_CODE", "(", "XEXP", "(", "addr", ",", "1", ")", ")", "==", "REG", ")", "addr", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "else", "if", "(", "CONSTANT_P", "(", "XEXP", "(", "addr", ",", "0", ")", ")", ")", "addr", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "else", "if", "(", "CONSTANT_P", "(", "XEXP", "(", "addr", ",", "1", ")", ")", ")", "addr", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "gcc_assert", "(", "GET_CODE", "(", "addr", ")", "==", "REG", ")", ";", "return", "addr", ";", "}", ""], "natrual_language": ["Return", "a", "REG", "that", "occurs", "in", "ADDR", "with", "coefficient", "1", ".", "ADDR", "can", "be", "effectively", "incremented", "by", "incrementing", "REG", ".", "r0", "is", "special", "and", "we", "must", "not", "select", "it", "as", "an", "address", "register", "by", "this", "routine", "since", "our", "caller", "will", "try", "to", "increment", "the", "returned", "register", "via", "an", "``", "la", "''", "instruction", "."], "TS_V_token": ["pa", "0", "0", "1", "1", "0", "1", "1", "0"], "File": "pa", "Func": "find_addr_reg", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11036, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "X86TargetLowering", "::", "SimplifyMultipleUseDemandedBitsForTargetNode", "(", "SDValue", "Op", ",", "const", "APInt", "&", "DemandedBits", ",", "const", "APInt", "&", "DemandedElts", ",", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "int", "NumElts", "=", "DemandedElts", ".", "getBitWidth", "(", ")", ";", "unsigned", "Opc", "=", "Op", ".", "getOpcode", "(", ")", ";", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "switch", "(", "Opc", ")", "{", "case", "X86ISD", "::", "PINSRB", ":", "case", "X86ISD", "::", "PINSRW", ":", "{", "SDValue", "Vec", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "auto", "*", "CIdx", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "2", ")", ")", ";", "MVT", "VecVT", "=", "Vec", ".", "getSimpleValueType", "(", ")", ";", "if", "(", "CIdx", "&&", "CIdx", "->", "getAPIntValue", "(", ")", ".", "ult", "(", "VecVT", ".", "getVectorNumElements", "(", ")", ")", "&&", "!", "DemandedElts", "[", "CIdx", "->", "getZExtValue", "(", ")", "]", ")", "return", "Vec", ";", "break", ";", "}", "case", "X86ISD", "::", "PCMPGT", ":", "if", "(", "DemandedBits", ".", "isSignMask", "(", ")", "&&", "ISD", "::", "isBuildVectorAllZeros", "(", "Op", ".", "getOperand", "(", "0", ")", ".", "getNode", "(", ")", ")", ")", "return", "Op", ".", "getOperand", "(", "1", ")", ";", "break", ";", "}", "APInt", "ShuffleUndef", ",", "ShuffleZero", ";", "SmallVector", "<", "int", ",", "16", ">", "ShuffleMask", ";", "SmallVector", "<", "SDValue", ",", "2", ">", "ShuffleOps", ";", "if", "(", "getTargetShuffleInputs", "(", "Op", ",", "DemandedElts", ",", "ShuffleOps", ",", "ShuffleMask", ",", "ShuffleUndef", ",", "ShuffleZero", ",", "DAG", ",", "Depth", ",", "false", ")", ")", "{", "int", "NumOps", "=", "ShuffleOps", ".", "size", "(", ")", ";", "if", "(", "ShuffleMask", ".", "size", "(", ")", "==", "(", "unsigned", ")", "NumElts", "&&", "llvm", "::", "all_of", "(", "ShuffleOps", ",", "[", "VT", "]", "(", "SDValue", "V", ")", "{", "return", "VT", ".", "getSizeInBits", "(", ")", "==", "V", ".", "getValueSizeInBits", "(", ")", ";", "}", ")", ")", "{", "if", "(", "DemandedElts", ".", "isSubsetOf", "(", "ShuffleUndef", ")", ")", "return", "DAG", ".", "getUNDEF", "(", "VT", ")", ";", "if", "(", "DemandedElts", ".", "isSubsetOf", "(", "ShuffleUndef", "|", "ShuffleZero", ")", ")", "return", "getZeroVector", "(", "VT", ".", "getSimpleVT", "(", ")", ",", "Subtarget", ",", "DAG", ",", "SDLoc", "(", "Op", ")", ")", ";", "APInt", "IdentityOp", "=", "APInt", "::", "getAllOnesValue", "(", "NumOps", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "!=", "NumElts", ";", "++", "i", ")", "{", "int", "M", "=", "ShuffleMask", "[", "i", "]", ";", "if", "(", "!", "DemandedElts", "[", "i", "]", "||", "ShuffleUndef", "[", "i", "]", ")", "continue", ";", "int", "OpIdx", "=", "M", "/", "NumElts", ";", "int", "EltIdx", "=", "M", "%", "NumElts", ";", "if", "(", "M", "<", "0", "||", "EltIdx", "!=", "i", ")", "{", "IdentityOp", ".", "clearAllBits", "(", ")", ";", "break", ";", "}", "IdentityOp", "&=", "APInt", "::", "getOneBitSet", "(", "NumOps", ",", "OpIdx", ")", ";", "if", "(", "IdentityOp", "==", "0", ")", "break", ";", "}", "assert", "(", "(", "IdentityOp", "==", "0", "||", "IdentityOp", ".", "countPopulation", "(", ")", "==", "1", ")", "&&", "\"Multiple identity shuffles detected\"", ")", ";", "if", "(", "IdentityOp", "!=", "0", ")", "return", "DAG", ".", "getBitcast", "(", "VT", ",", "ShuffleOps", "[", "IdentityOp", ".", "countTrailingZeros", "(", ")", "]", ")", ";", "}", "}", "return", "TargetLowering", "::", "SimplifyMultipleUseDemandedBitsForTargetNode", "(", "Op", ",", "DemandedBits", ",", "DemandedElts", ",", "DAG", ",", "Depth", ")", ";", "}", ""], "natrual_language": ["More", "limited", "version", "of", "SimplifyDemandedBits", "that", "can", "be", "used", "to", "``", "look", "through", "''", "ops", "that", "do", "n't", "contribute", "to", "the", "DemandedBits/DemandedElts", "-", "bitwise", "ops", "etc", "."], "TS_V_token": ["X86", "X86", "X86ISD::PINSRB", "X86ISD::PINSRW", "0", "2", "X86ISD::PCMPGT", "ISD::isBuildVectorAllZeros", "0", "1", "16", "2", "0", "0", "0", "0", "1", "\"Multiple identity shuffles detected\"", "0"], "File": "X86ISelLowering130", "Func": "SimplifyMultipleUseDemandedBitsForTargetNode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11037, "Length": 489, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16TargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", ",", "unsigned", ",", "MachineMemOperand", "::", "Flags", ",", "bool", "*", "Fast", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["Mips", "Mips"], "File": "Mips16ISelLowering (2)2", "Func": "allowsMisalignedMemoryAccesses", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11038, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "generate_target_offloadend_file", "(", "const", "char", "*", "target_compiler", ")", "{", "const", "char", "*", "src_filename", "=", "make_temp_file", "(", "\"_target_offloadend.c\"", ")", ";", "const", "char", "*", "obj_filename", "=", "make_temp_file", "(", "\"_target_offloadend.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", ",", "\"void *__offload_funcs_end[0]\\n\"", "\"__attribute__ ((__used__, visibility (\\\"hidden\\\"),\\n\"", "\"section (\\\".gnu.offload_funcs\\\"))) = { };\\n\\n\"", "\"void *__offload_vars_end[0]\\n\"", "\"__attribute__ ((__used__, visibility (\\\"hidden\\\"),\\n\"", "\"section (\\\".gnu.offload_vars\\\"))) = { };\\n\"", ")", ";", "fclose", "(", "src_file", ")", ";", "struct", "obstack", "argv_obstack", ";", "obstack_init", "(", "&", "argv_obstack", ")", ";", "obstack_ptr_grow", "(", "&", "argv_obstack", ",", "target_compiler", ")", ";", "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", "__offload_", "*", "_end", "symbols", "for", "the", "target", "library", "."], "TS_V_token": ["i386", "\"_target_offloadend.c\"", "\"_target_offloadend.o\"", "\"w\"", "\"cannot open '%s'\"", "\"void *__offload_funcs_end[0]\\n\"", "\"__attribute__ ((__used__, visibility (\\\"hidden\\\"),\\n\"", "\"section (\\\".gnu.offload_funcs\\\"))) = { };\\n\\n\"", "\"void *__offload_vars_end[0]\\n\"", "\"__attribute__ ((__used__, visibility (\\\"hidden\\\"),\\n\"", "\"section (\\\".gnu.offload_vars\\\"))) = { };\\n\"", "\"-c\"", "\"-shared\"", "\"-fPIC\"", "\"-o\""], "File": "intelmic-mkoffload2", "Func": "generate_target_offloadend_file", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11039, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "MipsFunctionInfo", "::", "getGlobalBaseReg", "(", "MachineFunction", "&", "MF", ",", "bool", "IsForTls", ")", "{", "if", "(", "IsForTls", ")", "UsesTlsViaGlobalReg", "=", "true", ";", "else", "assert", "(", "!", "static_cast", "<", "const", "MipsSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ".", "useCheriCapTable", "(", ")", "&&", "\"$gp should only be used for TLS in cap-table mode\"", ")", ";", "if", "(", "!", "GlobalBaseReg", ")", "GlobalBaseReg", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "&", "getGlobalBaseRegClass", "(", "MF", ")", ")", ";", "return", "GlobalBaseReg", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["Mips", "Mips", "Mips", "\"$gp should only be used for TLS in cap-table mode\""], "File": "MipsMachineFunction24", "Func": "getGlobalBaseReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11040, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBank", "&", "AArch64RegisterBankInfo", "::", "getRegBankFromRegClass", "(", "const", "TargetRegisterClass", "&", "RC", ")", "const", "{", "switch", "(", "RC", ".", "getID", "(", ")", ")", "{", "case", "AArch64", "::", "FPR8RegClassID", ":", "case", "AArch64", "::", "FPR16RegClassID", ":", "case", "AArch64", "::", "FPR32RegClassID", ":", "case", "AArch64", "::", "FPR64RegClassID", ":", "case", "AArch64", "::", "FPR128RegClassID", ":", "case", "AArch64", "::", "FPR128_loRegClassID", ":", "case", "AArch64", "::", "DDRegClassID", ":", "case", "AArch64", "::", "DDDRegClassID", ":", "case", "AArch64", "::", "DDDDRegClassID", ":", "case", "AArch64", "::", "QQRegClassID", ":", "case", "AArch64", "::", "QQQRegClassID", ":", "case", "AArch64", "::", "QQQQRegClassID", ":", "return", "getRegBank", "(", "AArch64", "::", "FPRRegBankID", ")", ";", "case", "AArch64", "::", "GPR32commonRegClassID", ":", "case", "AArch64", "::", "GPR32RegClassID", ":", "case", "AArch64", "::", "GPR32spRegClassID", ":", "case", "AArch64", "::", "GPR32sponlyRegClassID", ":", "case", "AArch64", "::", "GPR32allRegClassID", ":", "case", "AArch64", "::", "GPR64commonRegClassID", ":", "case", "AArch64", "::", "GPR64RegClassID", ":", "case", "AArch64", "::", "GPR64spRegClassID", ":", "case", "AArch64", "::", "GPR64sponlyRegClassID", ":", "case", "AArch64", "::", "GPR64allRegClassID", ":", "case", "AArch64", "::", "tcGPR64RegClassID", ":", "case", "AArch64", "::", "WSeqPairsClassRegClassID", ":", "case", "AArch64", "::", "XSeqPairsClassRegClassID", ":", "return", "getRegBank", "(", "AArch64", "::", "GPRRegBankID", ")", ";", "case", "AArch64", "::", "CCRRegClassID", ":", "return", "getRegBank", "(", "AArch64", "::", "CCRRegBankID", ")", ";", "default", ":", "llvm_unreachable", "(", "\"Register class not supported\"", ")", ";", "}", "}", ""], "natrual_language": ["Get", "a", "register", "bank", "that", "covers", "RC", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::FPR8RegClassID", "AArch64::FPR16RegClassID", "AArch64::FPR32RegClassID", "AArch64::FPR64RegClassID", "AArch64::FPR128RegClassID", "AArch64::FPR128_loRegClassID", "AArch64::DDRegClassID", "AArch64::DDDRegClassID", "AArch64::DDDDRegClassID", "AArch64::QQRegClassID", "AArch64::QQQRegClassID", "AArch64::QQQQRegClassID", "AArch64::FPRRegBankID", "AArch64::GPR32commonRegClassID", "AArch64::GPR32RegClassID", "AArch64::GPR32spRegClassID", "AArch64::GPR32sponlyRegClassID", "AArch64::GPR32allRegClassID", "AArch64::GPR64commonRegClassID", "AArch64::GPR64RegClassID", "AArch64::GPR64spRegClassID", "AArch64::GPR64sponlyRegClassID", "AArch64::GPR64allRegClassID", "AArch64::tcGPR64RegClassID", "AArch64::WSeqPairsClassRegClassID", "AArch64::XSeqPairsClassRegClassID", "AArch64::GPRRegBankID", "AArch64::CCRRegClassID", "AArch64::CCRRegBankID", "\"Register class not supported\""], "File": "AArch64RegisterBankInfo1", "Func": "getRegBankFromRegClass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11041, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "push_regs", "(", "HARD_REG_SET", "*", "mask", ",", "bool", "interrupt_handler", ")", "{", "bool", "skip_fpscr", "=", "false", ";", "for", "(", "int", "i", "=", "interrupt_handler", "?", "LAST_BANKED_REG", "+", "1", ":", "0", ";", "i", "<", "FIRST_PSEUDO_REGISTER", ";", "i", "++", ")", "{", "if", "(", "i", "==", "FIRST_FP_REG", "&&", "interrupt_handler", "&&", "TARGET_FMOVD", "&&", "hard_reg_set_intersect_p", "(", "*", "mask", ",", "reg_class_contents", "[", "DF_REGS", "]", ")", ")", "{", "HARD_REG_SET", "unsaved", ";", "push", "(", "FPSCR_REG", ")", ";", "COMPL_HARD_REG_SET", "(", "unsaved", ",", "*", "mask", ")", ";", "fpscr_set_from_mem", "(", "NORMAL_MODE", "(", "FP_MODE", ")", ",", "unsaved", ")", ";", "skip_fpscr", "=", "true", ";", "}", "if", "(", "i", "!=", "PR_REG", "&&", "(", "i", "!=", "FPSCR_REG", "||", "!", "skip_fpscr", ")", "&&", "TEST_HARD_REG_BIT", "(", "*", "mask", ",", "i", ")", ")", "{", "if", "(", "!", "(", "sh_cfun_resbank_handler_p", "(", ")", "&&", "(", "(", "i", ">=", "FIRST_GENERAL_REG", "&&", "i", "<", "LAST_GENERAL_REG", ")", "||", "i", "==", "MACH_REG", "||", "i", "==", "MACL_REG", "||", "i", "==", "GBR_REG", ")", ")", ")", "push", "(", "i", ")", ";", "}", "}", "if", "(", "interrupt_handler", ")", "{", "bool", "use_movml", "=", "false", ";", "if", "(", "TARGET_SH2A", ")", "{", "unsigned", "int", "count", "=", "0", ";", "for", "(", "int", "i", "=", "FIRST_BANKED_REG", ";", "i", "<=", "LAST_BANKED_REG", ";", "i", "++", ")", "if", "(", "TEST_HARD_REG_BIT", "(", "*", "mask", ",", "i", ")", ")", "count", "++", ";", "else", "break", ";", "if", "(", "count", "==", "LAST_BANKED_REG", "-", "FIRST_BANKED_REG", "+", "1", ")", "use_movml", "=", "true", ";", "}", "if", "(", "sh_cfun_resbank_handler_p", "(", ")", ")", ";", "else", "if", "(", "use_movml", ")", "{", "rtx", "x", ",", "mem", ",", "reg", ",", "set", ";", "rtx", "sp_reg", "=", "gen_rtx_REG", "(", "SImode", ",", "STACK_POINTER_REGNUM", ")", ";", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "x", "=", "gen_movml_push_banked", "(", "sp_reg", ")", ";", "x", "=", "emit_frame_insn", "(", "x", ")", ";", "for", "(", "int", "i", "=", "FIRST_BANKED_REG", ";", "i", "<=", "LAST_BANKED_REG", ";", "i", "++", ")", "{", "mem", "=", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "sp_reg", ",", "i", "*", "4", ")", ")", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "i", ")", ";", "add_reg_note", "(", "x", ",", "REG_CFA_OFFSET", ",", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ")", ";", "}", "set", "=", "gen_rtx_SET", "(", "sp_reg", ",", "plus_constant", "(", "Pmode", ",", "sp_reg", ",", "-", "32", ")", ")", ";", "add_reg_note", "(", "x", ",", "REG_CFA_ADJUST_CFA", ",", "set", ")", ";", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", "else", "for", "(", "int", "i", "=", "FIRST_BANKED_REG", ";", "i", "<=", "LAST_BANKED_REG", ";", "i", "++", ")", "if", "(", "TEST_HARD_REG_BIT", "(", "*", "mask", ",", "i", ")", ")", "push", "(", "i", ")", ";", "}", "if", "(", "TEST_HARD_REG_BIT", "(", "*", "mask", ",", "PR_REG", ")", "&&", "!", "sh_cfun_resbank_handler_p", "(", ")", ")", "push", "(", "PR_REG", ")", ";", "}", ""], "natrual_language": ["Generate", "code", "to", "push", "the", "regs", "specified", "in", "the", "mask", ".", "remember", "that", "the", "mask", "is", "of", "the", "internal", "shape", "of", "the", "regs", ",", "not", "the", "external", "shape", "-", "so", "go", "through", "the", "renumber", "vector"], "TS_V_token": ["sh", "1", "0", "0", "1", "4", "32"], "File": "sh6", "Func": "push_regs", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11042, "Length": 417, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_conditional_register_usage", "(", "void", ")", "{", "int", "i", ";", "if", "(", "TARGET_DEBUG_TARGET", ")", "fprintf", "(", "stderr", ",", "\"rs6000_conditional_register_usage called\\n\"", ")", ";", "fixed_regs", "[", "64", "]", "=", "1", ";", "if", "(", "TARGET_64BIT", ")", "fixed_regs", "[", "13", "]", "=", "call_used_regs", "[", "13", "]", "=", "call_really_used_regs", "[", "13", "]", "=", "1", ";", "if", "(", "TARGET_SOFT_FLOAT", "||", "!", "TARGET_FPRS", ")", "for", "(", "i", "=", "32", ";", "i", "<", "64", ";", "i", "++", ")", "fixed_regs", "[", "i", "]", "=", "call_used_regs", "[", "i", "]", "=", "call_really_used_regs", "[", "i", "]", "=", "1", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_AIX", "||", "DEFAULT_ABI", "==", "ABI_ELFv2", ")", "call_really_used_regs", "[", "2", "]", "=", "0", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "flag_pic", "==", "2", ")", "fixed_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "1", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "flag_pic", "==", "1", ")", "fixed_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "call_used_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "call_really_used_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "1", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_DARWIN", "&&", "flag_pic", ")", "fixed_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "call_used_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "call_really_used_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "1", ";", "if", "(", "TARGET_TOC", "&&", "TARGET_MINIMAL_TOC", ")", "fixed_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "call_used_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "1", ";", "if", "(", "TARGET_SPE", ")", "{", "global_regs", "[", "SPEFSCR_REGNO", "]", "=", "1", ";", "fixed_regs", "[", "14", "]", "=", "call_used_regs", "[", "14", "]", "=", "call_really_used_regs", "[", "14", "]", "=", "1", ";", "}", "if", "(", "!", "TARGET_ALTIVEC", "&&", "!", "TARGET_VSX", ")", "{", "for", "(", "i", "=", "FIRST_ALTIVEC_REGNO", ";", "i", "<=", "LAST_ALTIVEC_REGNO", ";", "++", "i", ")", "fixed_regs", "[", "i", "]", "=", "call_used_regs", "[", "i", "]", "=", "call_really_used_regs", "[", "i", "]", "=", "1", ";", "call_really_used_regs", "[", "VRSAVE_REGNO", "]", "=", "1", ";", "}", "if", "(", "TARGET_ALTIVEC", "||", "TARGET_VSX", ")", "global_regs", "[", "VSCR_REGNO", "]", "=", "1", ";", "if", "(", "TARGET_ALTIVEC_ABI", ")", "{", "for", "(", "i", "=", "FIRST_ALTIVEC_REGNO", ";", "i", "<", "FIRST_ALTIVEC_REGNO", "+", "20", ";", "++", "i", ")", "call_used_regs", "[", "i", "]", "=", "call_really_used_regs", "[", "i", "]", "=", "1", ";", "if", "(", "TARGET_XCOFF", ")", "for", "(", "i", "=", "FIRST_ALTIVEC_REGNO", "+", "20", ";", "i", "<", "FIRST_ALTIVEC_REGNO", "+", "32", ";", "++", "i", ")", "fixed_regs", "[", "i", "]", "=", "call_used_regs", "[", "i", "]", "=", "call_really_used_regs", "[", "i", "]", "=", "1", ";", "}", "}", ""], "natrual_language": ["Change", "register", "usage", "conditional", "on", "target", "flags", "."], "TS_V_token": ["rs6000", "\"rs6000_conditional_register_usage called\\n\"", "64", "1", "13", "13", "13", "1", "32", "64", "1", "2", "0", "2", "1", "1", "1", "1", "1", "1", "14", "14", "14", "1", "1", "1", "1", "20", "1", "20", "32", "1"], "File": "rs60006", "Func": "rs6000_conditional_register_usage", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11043, "Length": 352, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsTargetLowering", "::", "getVectorTypeBreakdownForCallingConv", "(", "LLVMContext", "&", "Context", ",", "CallingConv", "::", "ID", "CC", ",", "EVT", "VT", ",", "EVT", "&", "IntermediateVT", ",", "unsigned", "&", "NumIntermediates", ",", "MVT", "&", "RegisterVT", ")", "const", "{", "RegisterVT", "=", "getRegisterTypeForCallingConv", "(", "Context", ",", "CC", ",", "VT", ")", ";", "IntermediateVT", "=", "RegisterVT", ";", "NumIntermediates", "=", "VT", ".", "getFixedSizeInBits", "(", ")", "<", "RegisterVT", ".", "getFixedSizeInBits", "(", ")", "?", "VT", ".", "getVectorNumElements", "(", ")", ":", "VT", ".", "getSizeInBits", "(", ")", "/", "RegisterVT", ".", "getSizeInBits", "(", ")", ";", "return", "NumIntermediates", ";", "}", ""], "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": ["Mips", "Mips"], "File": "MipsISelLowering7", "Func": "getVectorTypeBreakdownForCallingConv", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11044, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstructionSelector", "::", "select", "(", "MachineInstr", "&", "I", ")", "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", "(", "I", ".", "isCopy", "(", ")", ")", "return", "selectCopy", "(", "I", ",", "TII", ",", "MRI", ",", "TRI", ",", "RBI", ")", ";", "return", "true", ";", "}", "assert", "(", "I", ".", "getNumOperands", "(", ")", "==", "I", ".", "getNumExplicitOperands", "(", ")", "&&", "\"Generic instruction has unexpected implicit operands\\n\"", ")", ";", "if", "(", "selectImpl", "(", "I", ")", ")", "return", "true", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\" C++ instruction selection: \"", ";", "I", ".", "print", "(", "dbgs", "(", ")", ")", ")", ";", "if", "(", "selectLoadStoreOp", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "if", "(", "selectFrameIndexOrGep", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "if", "(", "selectConstant", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "if", "(", "selectTrunc", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "if", "(", "selectZext", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "if", "(", "selectCmp", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "if", "(", "selectUadde", "(", "I", ",", "MRI", ",", "MF", ")", ")", "return", "true", ";", "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": "X86InstructionSelector7", "Func": "select", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11045, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "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": ["ARM", "ARM"], "File": "ARMISelLowering (2)2", "Func": "shouldExpandAtomicCmpXchgInIR", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11046, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "csky_handle_isr_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", ",", "int", "flags", ",", "bool", "*", "no_add_attrs", ")", "{", "if", "(", "!", "TARGET_ISTACK", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute ignored without %<-mistack%>\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "return", "NULL_TREE", ";", "}", "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", "(", "TREE_CODE", "(", "*", "node", ")", "==", "FUNCTION_TYPE", "||", "TREE_CODE", "(", "*", "node", ")", "==", "METHOD_TYPE", ")", "{", "if", "(", "csky_isr_value", "(", "args", ")", "==", "CSKY_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", ")", "&&", "csky_isr_value", "(", "args", ")", "!=", "CSKY_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": ["csky", "\"%qE attribute ignored without %<-mistack%>\"", "\"%qE attribute only applies to functions\"", "\"%qE attribute ignored\"", "\"%qE attribute ignored\""], "File": "csky", "Func": "csky_handle_isr_attribute", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11047, "Length": 272, "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", ";", "switch", "(", "type_of_cost", ")", "{", "case", "scalar_stmt", ":", "return", "aarch64_tune_params", "->", "vec_costs", "->", "scalar_stmt_cost", ";", "case", "scalar_load", ":", "return", "aarch64_tune_params", "->", "vec_costs", "->", "scalar_load_cost", ";", "case", "scalar_store", ":", "return", "aarch64_tune_params", "->", "vec_costs", "->", "scalar_store_cost", ";", "case", "vector_stmt", ":", "return", "aarch64_tune_params", "->", "vec_costs", "->", "vec_stmt_cost", ";", "case", "vector_load", ":", "return", "aarch64_tune_params", "->", "vec_costs", "->", "vec_align_load_cost", ";", "case", "vector_store", ":", "return", "aarch64_tune_params", "->", "vec_costs", "->", "vec_store_cost", ";", "case", "vec_to_scalar", ":", "return", "aarch64_tune_params", "->", "vec_costs", "->", "vec_to_scalar_cost", ";", "case", "scalar_to_vec", ":", "return", "aarch64_tune_params", "->", "vec_costs", "->", "scalar_to_vec_cost", ";", "case", "unaligned_load", ":", "return", "aarch64_tune_params", "->", "vec_costs", "->", "vec_unalign_load_cost", ";", "case", "unaligned_store", ":", "return", "aarch64_tune_params", "->", "vec_costs", "->", "vec_unalign_store_cost", ";", "case", "cond_branch_taken", ":", "return", "aarch64_tune_params", "->", "vec_costs", "->", "cond_taken_branch_cost", ";", "case", "cond_branch_not_taken", ":", "return", "aarch64_tune_params", "->", "vec_costs", "->", "cond_not_taken_branch_cost", ";", "case", "vec_perm", ":", "case", "vec_promote_demote", ":", "return", "aarch64_tune_params", "->", "vec_costs", "->", "vec_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": "aarch642", "Func": "aarch64_builtin_vectorization_cost", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11048, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "Mips64Disassembler", "::", "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", ",", "isBigEndian", ")", ";", "if", "(", "Result", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "Result", "=", "decodeMips64Instruction32", "(", "instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "Size", "=", "4", ";", "return", "Result", ";", "}", "Result", "=", "decodeMipsInstruction32", "(", "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", "Mips", "4"], "File": "MipsDisassembler23", "Func": "getInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11049, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "neon_reinterpret", "(", "rtx", "dest", ",", "rtx", "src", ")", "{", "emit_move_insn", "(", "dest", ",", "gen_lowpart", "(", "GET_MODE", "(", "dest", ")", ",", "src", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "reinterpret", "one", "Neon", "type", "as", "another", ",", "without", "altering", "bits", "."], "TS_V_token": ["arm"], "File": "arm4", "Func": "neon_reinterpret", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11050, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "ix86_preferred_reload_class", "(", "rtx", "x", ",", "reg_class_t", "regclass", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "x", ")", ";", "if", "(", "regclass", "==", "NO_REGS", ")", "return", "NO_REGS", ";", "if", "(", "x", "==", "CONST0_RTX", "(", "mode", ")", ")", "return", "regclass", ";", "if", "(", "CONSTANT_P", "(", "x", ")", "&&", "(", "MAYBE_MMX_CLASS_P", "(", "regclass", ")", "||", "MAYBE_SSE_CLASS_P", "(", "regclass", ")", "||", "MAYBE_MASK_CLASS_P", "(", "regclass", ")", ")", ")", "return", "NO_REGS", ";", "if", "(", "TARGET_SSE_MATH", "&&", "!", "TARGET_MIX_SSE_I387", "&&", "SSE_FLOAT_MODE_P", "(", "mode", ")", ")", "return", "SSE_CLASS_P", "(", "regclass", ")", "?", "regclass", ":", "NO_REGS", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST_DOUBLE", "&&", "GET_MODE", "(", "x", ")", "!=", "VOIDmode", ")", "{", "if", "(", "reg_class_subset_p", "(", "regclass", ",", "GENERAL_REGS", ")", ")", "return", "regclass", ";", "if", "(", "TARGET_80387", "&&", "standard_80387_constant_p", "(", "x", ")", ">", "0", ")", "{", "if", "(", "regclass", "==", "FLOAT_SSE_REGS", ")", "return", "FLOAT_REGS", ";", "if", "(", "regclass", "==", "FP_TOP_SSE_REGS", ")", "return", "FP_TOP_REG", ";", "if", "(", "regclass", "==", "FP_SECOND_SSE_REGS", ")", "return", "FP_SECOND_REG", ";", "if", "(", "regclass", "==", "FLOAT_INT_REGS", "||", "regclass", "==", "FLOAT_REGS", ")", "return", "regclass", ";", "}", "return", "NO_REGS", ";", "}", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "return", "reg_class_subset_p", "(", "regclass", ",", "GENERAL_REGS", ")", "?", "regclass", ":", "NO_REGS", ";", "if", "(", "GET_MODE", "(", "x", ")", "==", "QImode", "&&", "!", "CONSTANT_P", "(", "x", ")", ")", "{", "if", "(", "reg_class_subset_p", "(", "regclass", ",", "Q_REGS", ")", ")", "return", "regclass", ";", "if", "(", "reg_class_subset_p", "(", "Q_REGS", ",", "regclass", ")", ")", "return", "Q_REGS", ";", "return", "NO_REGS", ";", "}", "return", "regclass", ";", "}", ""], "natrual_language": ["Put", "float", "CONST_DOUBLE", "in", "the", "constant", "pool", "instead", "of", "fp", "regs", ".", "QImode", "must", "go", "into", "class", "Q_REGS", ".", "Narrow", "ALL_REGS", "to", "GENERAL_REGS", ".", "This", "supports", "allowing", "movsf", "and", "movdf", "to", "do", "mem-to-mem", "moves", "through", "integer", "regs", "."], "TS_V_token": ["i386", "0"], "File": "i3864", "Func": "ix86_preferred_reload_class", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11051, "Length": 244, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "resolve", "(", "function_resolver", "&", "r", ")", "const", "override", "{", "unsigned", "int", "i", ",", "nargs", ";", "type_suffix_index", "type", ";", "if", "(", "!", "r", ".", "check_gp_argument", "(", "1", ",", "i", ",", "nargs", ")", "||", "(", "type", "=", "r", ".", "infer_vector_type", "(", "i", ")", ")", "==", "NUM_TYPE_SUFFIXES", ")", "return", "error_mark_node", ";", "if", "(", "type", "==", "TYPE_SUFFIX_b", ")", "return", "r", ".", "resolve_to", "(", "r", ".", "mode_suffix_id", ",", "type", ")", ";", "if", "(", "type_suffixes", "[", "type", "]", ".", "integer_p", "&&", "type_suffixes", "[", "type", "]", ".", "element_bits", "<", "64", ")", "{", "type_suffix_index", "wide_suffix", "=", "find_type_suffix", "(", "type_suffixes", "[", "type", "]", ".", "tclass", ",", "type_suffixes", "[", "type", "]", ".", "element_bits", "*", "2", ")", ";", "if", "(", "tree", "res", "=", "r", ".", "lookup_form", "(", "r", ".", "mode_suffix_id", ",", "wide_suffix", ")", ")", "return", "res", ";", "}", "return", "r", ".", "report_no_such_form", "(", "type", ")", ";", "}", ""], "natrual_language": ["If", "the", "call", "is", "erroneous", ",", "report", "an", "appropriate", "error", "and", "return", "error_mark_node", ".", "Otherwise", ",", "if", "the", "function", "is", "overloaded", ",", "return", "the", "decl", "of", "the", "non-overloaded", "function", ".", "Return", "NULL_TREE", "otherwise", ",", "indicating", "that", "the", "call", "should", "be", "processed", "in", "the", "normal", "way", "."], "TS_V_token": ["aarch64", "1", "64", "2"], "File": "aarch64-sve-builtins-shapes3", "Func": "resolve", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11052, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "rs6000_xcoff_section_type_flags", "(", "tree", "decl", ",", "const", "char", "*", "name", ",", "int", "reloc", ")", "{", "unsigned", "int", "align", ";", "unsigned", "int", "flags", "=", "default_section_type_flags_1", "(", "decl", ",", "name", ",", "reloc", ",", "1", ")", ";", "if", "(", "flags", "&", "SECTION_CODE", ")", "align", "=", "MIN_UNITS_PER_WORD", ";", "else", "align", "=", "MAX", "(", "(", "DECL_ALIGN", "(", "decl", ")", "/", "BITS_PER_UNIT", ")", ",", "int_size_in_bytes", "(", "TREE_TYPE", "(", "decl", ")", ")", ">", "MIN_UNITS_PER_WORD", "?", "UNITS_PER_FP_WORD", ":", "MIN_UNITS_PER_WORD", ")", ";", "return", "flags", "|", "(", "exact_log2", "(", "align", ")", "&", "SECTION_ENTSIZE", ")", ";", "}", ""], "natrual_language": ["Section", "attributes", ".", "AIX", "is", "always", "PIC", "."], "TS_V_token": ["rs6000", "1"], "File": "rs60003", "Func": "rs6000_xcoff_section_type_flags", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11053, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createMipsOptimizePICCallPass", "(", "getMipsTargetMachine", "(", ")", ")", ")", ";", "}", ""], "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": "MipsTargetMachine2", "Func": "addPreRegAlloc", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11054, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "VEMCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "verifyInstructionPredicates", "(", "MI", ",", "computeAvailableFeatures", "(", "STI", ".", "getFeatureBits", "(", ")", ")", ")", ";", "uint64_t", "Bits", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "support", "::", "endian", "::", "write", "<", "uint64_t", ">", "(", "OS", ",", "Bits", ",", "support", "::", "little", ")", ";", "++", "MCNumEmitted", ";", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["VE", "VE", "support::endian", "support::little"], "File": "VEMCCodeEmitter", "Func": "encodeInstruction", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11055, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_handle_attr_arch", "(", "const", "char", "*", "str", ",", "const", "char", "*", "pragma_or_attr", ")", "{", "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 architecture name in 'arch' target %s\"", ",", "pragma_or_attr", ")", ";", "break", ";", "case", "AARCH64_PARSE_INVALID_ARG", ":", "error", "(", "\"unknown value %qs for 'arch' target %s\"", ",", "str", ",", "pragma_or_attr", ")", ";", "break", ";", "case", "AARCH64_PARSE_INVALID_FEATURE", ":", "error", "(", "\"invalid feature modifier %qs for 'arch' target %s\"", ",", "str", ",", "pragma_or_attr", ")", ";", "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 architecture name in 'arch' target %s\"", "\"unknown value %qs for 'arch' target %s\"", "\"invalid feature modifier %qs for 'arch' target %s\""], "File": "aarch643", "Func": "aarch64_handle_attr_arch", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11056, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesAll", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["ARM64"], "File": "ARM64CollectLOH1", "Func": "getAnalysisUsage", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11057, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "fatal", "(", "const", "char", "*", "msg", ")", "{", "fprintf", "(", "stderr", ",", "\"FATAL: %s\\n\"", ",", "msg", ")", ";", "abort", "(", ")", ";", "}", ""], "natrual_language": ["Produce", "a", "fatal", "error", "message", "."], "TS_V_token": ["rs6000", "\"FATAL: %s\\n\""], "File": "rs6000-gen-builtins", "Func": "fatal", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11058, "Length": 24, "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", ")", ".", "convertSwitchRangeToICmp", "(", "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": "AArch64TargetMachine69", "Func": "addIRPasses", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11059, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SystemZTargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "unsigned", "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_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": "SystemZISelLowering42", "Func": "LowerCallResult", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11060, "Length": 291, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86MCTargetExpr", "*", "X86MCTargetExpr", "::", "Create", "(", "const", "MCSymbol", "*", "Sym", ",", "VariantKind", "K", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "X86MCTargetExpr", "(", "Sym", ",", "K", ")", ";", "}", ""], "natrual_language": ["Construct", "a", "unary", "instruction", ",", "given", "the", "opcode", "and", "an", "operand", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86MCTargetExpr", "Func": "Create", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11061, "Length": 32, "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", "=", "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": "sh", "Func": "sh_try_split_insn_simple", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11062, "Length": 316, "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", ";", "}", "if", "(", "HAVE_COMDAT_GROUP", "&&", "flags", "&", "SECTION_LINKONCE", ")", "{", "solaris_elf_asm_comdat_section", "(", "name", ",", "flags", ",", "decl", ")", ";", "return", ";", "}", "if", "(", "flags", "&", "SECTION_EXCLUDE", ")", "{", "fprintf", "(", "asm_out_file", ",", "\"\\t.section\\t%s,#exclude\\n\"", ",", "name", ")", ";", "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\"", "\"\\t.section\\t%s,#exclude\\n\""], "File": "i386", "Func": "i386_solaris_elf_named_section", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11063, "Length": 101, "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", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "load", "."], "TS_V_token": ["X86", "X86", "32"], "File": "X86TargetTransformInfo71", "Func": "isLegalMaskedLoad", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11064, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "InstrItineraryData", "*", "getInstrItineraryData", "(", ")", "const", "override", "{", "return", "Subtarget", "->", "inMips16Mode", "(", ")", "?", "nullptr", ":", "&", "getSubtargetImpl", "(", ")", "->", "getInstrItineraryData", "(", ")", ";", "}", ""], "natrual_language": ["getInstrItineraryData", "-", "Returns", "instruction", "itinerary", "data", "for", "the", "target", "or", "specific", "subtarget", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsTargetMachine3", "Func": "getInstrItineraryData", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11065, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasFusion", "(", ")", "const", "{", "return", "hasFuseAES", "(", ")", "||", "hasFuseLiterals", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "CPU", "supports", "any", "kind", "of", "instruction", "fusion", "."], "TS_V_token": ["ARM"], "File": "ARMSubtarget (2)3", "Func": "hasFusion", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11066, "Length": 16, "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", ".", "getSubtargetImpl", "(", ")", "->", "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": "AArch64AdvSIMDScalarPass23", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11067, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sh_symbian_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", ")", ";", "if", "(", "sh_symbian_dllexport_name_p", "(", "oldname", ")", ")", "{", "error", "(", "\"%qs declared as both exported to and imported from a DLL\"", ",", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "decl", ")", ")", ")", ";", "}", "else", "if", "(", "sh_symbian_dllimport_name_p", "(", "oldname", ")", ")", "{", "if", "(", "!", "DECL_EXTERNAL", "(", "decl", ")", "||", "!", "TREE_PUBLIC", "(", "decl", ")", ")", "error", "(", "\"failure in redeclaration of %q+D: dllimport'd symbol lacks external linkage\"", ",", "decl", ")", ";", "}", "else", "{", "newname", "=", "alloca", "(", "strlen", "(", "DLL_IMPORT_PREFIX", ")", "+", "strlen", "(", "oldname", ")", "+", "1", ")", ";", "sprintf", "(", "newname", ",", "\"%s%s\"", ",", "DLL_IMPORT_PREFIX", ",", "oldname", ")", ";", "idp", "=", "get_identifier", "(", "newname", ")", ";", "newrtl", "=", "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": ["sh", "0", "0", "0", "\"%qs declared as both exported to and imported from a DLL\"", "\"failure in redeclaration of %q+D: dllimport'd symbol lacks external linkage\"", "1", "\"%s%s\"", "0"], "File": "symbian", "Func": "sh_symbian_mark_dllimport", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11068, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "PPC", "::", "STD", ":", "case", "PPC", "::", "STW", ":", "case", "PPC", "::", "STFS", ":", "case", "PPC", "::", "STFD", ":", "case", "PPC", "::", "SPILL_CR", ":", "case", "PPC", "::", "SPILL_CRBIT", ":", "case", "PPC", "::", "STVX", ":", "case", "PPC", "::", "STXVD2X", ":", "case", "PPC", "::", "QVSTFDX", ":", "case", "PPC", "::", "QVSTFSXs", ":", "case", "PPC", "::", "QVSTFDXb", ":", "case", "PPC", "::", "SPILL_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": ["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": ["PowerPC", "PPC", "PPC::STD", "PPC::STW", "PPC::STFS", "PPC::STFD", "PPC::SPILL_CR", "PPC::SPILL_CRBIT", "PPC::STVX", "PPC::STXVD2X", "PPC::QVSTFDX", "PPC::QVSTFSXs", "PPC::QVSTFDXb", "PPC::SPILL_VRSAVE", "1", "1", "2", "2", "0", "0"], "File": "PPCInstrInfo100", "Func": "isStoreToStackSlot", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11069, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SICFunctionInfo", "::", "getGlobalBaseReg", "(", ")", "{", "return", "GlobalBaseReg", "=", "SIC", "::", "B", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["SIC", "SIC", "SIC::B"], "File": "SICMachineFunction", "Func": "getGlobalBaseReg", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11070, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_asm_trampoline_template", "(", "FILE", "*", "f", ")", "{", "fprintf", "(", "f", ",", "\"\\t.syntax unified\\n\"", ")", ";", "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\"", "\"\\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": "arm5", "Func": "arm_asm_trampoline_template", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11071, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "APInt", "&", "KnownZero", ",", "APInt", "&", "KnownOne", ",", "const", "APInt", "&", "DemandedElts", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "unsigned", "BitWidth", "=", "KnownOne", ".", "getBitWidth", "(", ")", ";", "KnownZero", "=", "KnownOne", "=", "APInt", "(", "BitWidth", ",", "0", ")", ";", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ARMISD", "::", "ADDC", ":", "case", "ARMISD", "::", "ADDE", ":", "case", "ARMISD", "::", "SUBC", ":", "case", "ARMISD", "::", "SUBE", ":", "if", "(", "Op", ".", "getResNo", "(", ")", "==", "0", ")", "break", ";", "KnownZero", "|=", "APInt", "::", "getHighBitsSet", "(", "BitWidth", ",", "BitWidth", "-", "1", ")", ";", "break", ";", "case", "ARMISD", "::", "CMOV", ":", "{", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "0", ")", ",", "KnownZero", ",", "KnownOne", ",", "Depth", "+", "1", ")", ";", "if", "(", "KnownZero", "==", "0", "&&", "KnownOne", "==", "0", ")", "return", ";", "APInt", "KnownZeroRHS", ",", "KnownOneRHS", ";", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "1", ")", ",", "KnownZeroRHS", ",", "KnownOneRHS", ",", "Depth", "+", "1", ")", ";", "KnownZero", "&=", "KnownZeroRHS", ";", "KnownOne", "&=", "KnownOneRHS", ";", "return", ";", "}", "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", "::", "arm_ldaex", ":", "case", "Intrinsic", "::", "arm_ldrex", ":", "{", "EVT", "VT", "=", "cast", "<", "MemIntrinsicSDNode", ">", "(", "Op", ")", "->", "getMemoryVT", "(", ")", ";", "unsigned", "MemBits", "=", "VT", ".", "getScalarSizeInBits", "(", ")", ";", "KnownZero", "|=", "APInt", "::", "getHighBitsSet", "(", "BitWidth", ",", "BitWidth", "-", "MemBits", ")", ";", "return", ";", "}", "}", "}", "case", "ARMISD", "::", "BFI", ":", "{", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "0", ")", ",", "KnownZero", ",", "KnownOne", ",", "Depth", "+", "1", ")", ";", "ConstantSDNode", "*", "CI", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "2", ")", ")", ";", "const", "APInt", "&", "Mask", "=", "CI", "->", "getAPIntValue", "(", ")", ";", "KnownZero", "&=", "Mask", ";", "KnownOne", "&=", "Mask", ";", "return", ";", "}", "}", "}", ""], "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": ["ARM", "ARM", "0", "ARMISD::ADDC", "ARMISD::ADDE", "ARMISD::SUBC", "ARMISD::SUBE", "0", "1", "ARMISD::CMOV", "0", "1", "0", "0", "1", "1", "ISD::INTRINSIC_W_CHAIN", "1", "Intrinsic::ID", "Intrinsic::ID", "Intrinsic::arm_ldaex", "Intrinsic::arm_ldrex", "ARMISD::BFI", "0", "1", "2"], "File": "ARMISelLowering53", "Func": "computeKnownBitsForTargetNode", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11072, "Length": 357, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rs6000_builtin_mask_for_load", "(", "void", ")", "{", "if", "(", "(", "TARGET_ALTIVEC", "&&", "!", "TARGET_VSX", ")", "||", "(", "TARGET_VSX", "&&", "!", "TARGET_EFFICIENT_UNALIGNED_VSX", ")", ")", "return", "altivec_builtin_mask_for_load", ";", "else", "return", "0", ";", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.builtin_mask_for_load", "."], "TS_V_token": ["powerpcspe", "0"], "File": "powerpcspe", "Func": "rs6000_builtin_mask_for_load", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11073, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstrBuilder", "buildLoad", "(", "const", "DstOp", "&", "Res", ",", "Register", "Addr", ",", "uint64_t", "Size", ",", "unsigned", "Alignment", ",", "MachinePointerInfo", "&", "MPO", ")", "{", "auto", "MMO", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getMachineMemOperand", "(", "MPO", ",", "MachineMemOperand", "::", "MOLoad", ",", "Size", ",", "Alignment", ")", ";", "return", "MIRBuilder", ".", "buildLoad", "(", "Res", ",", "Addr", ",", "*", "MMO", ")", ";", "}", ""], "natrual_language": ["Build", "and", "insert", "a", "G_LOAD", "instruction", ",", "while", "constructing", "the", "MachineMemOperand", "."], "TS_V_token": ["ARM"], "File": "ARMCallLowering22", "Func": "buildLoad", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11074, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "cmse_clear_registers", "(", "sbitmap", "to_clear_bitmap", ",", "uint32_t", "*", "padding_bits_to_clear", ",", "int", "padding_bits_len", ",", "rtx", "scratch_reg", ",", "rtx", "clearing_reg", ")", "{", "bool", "saved_clearing", "=", "false", ";", "rtx", "saved_clearing_reg", "=", "NULL_RTX", ";", "int", "i", ",", "regno", ",", "clearing_regno", ",", "minregno", "=", "R0_REGNUM", ",", "maxregno", "=", "minregno", "-", "1", ";", "gcc_assert", "(", "arm_arch_cmse", ")", ";", "if", "(", "!", "bitmap_empty_p", "(", "to_clear_bitmap", ")", ")", "{", "minregno", "=", "bitmap_first_set_bit", "(", "to_clear_bitmap", ")", ";", "maxregno", "=", "bitmap_last_set_bit", "(", "to_clear_bitmap", ")", ";", "}", "clearing_regno", "=", "REGNO", "(", "clearing_reg", ")", ";", "gcc_assert", "(", "padding_bits_len", "<=", "NUM_ARG_REGS", ")", ";", "for", "(", "i", "=", "0", ",", "regno", "=", "R0_REGNUM", ";", "i", "<", "padding_bits_len", ";", "i", "++", ",", "regno", "++", ")", "{", "uint64_t", "mask", ";", "rtx", "rtx16", ",", "dest", ",", "cleared_reg", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ";", "if", "(", "padding_bits_to_clear", "[", "i", "]", "==", "0", ")", "continue", ";", "if", "(", "TARGET_THUMB1", "&&", "REGNO", "(", "scratch_reg", ")", ">", "LAST_LO_REGNUM", ")", "{", "if", "(", "(", "clearing_regno", ">", "maxregno", "||", "!", "bitmap_bit_p", "(", "to_clear_bitmap", ",", "clearing_regno", ")", ")", "&&", "!", "saved_clearing", ")", "{", "gcc_assert", "(", "clearing_regno", "<=", "LAST_LO_REGNUM", ")", ";", "emit_move_insn", "(", "scratch_reg", ",", "clearing_reg", ")", ";", "saved_clearing", "=", "true", ";", "saved_clearing_reg", "=", "scratch_reg", ";", "}", "scratch_reg", "=", "clearing_reg", ";", "}", "mask", "=", "(", "~", "padding_bits_to_clear", "[", "i", "]", ")", "&", "0xFFFF", ";", "emit_move_insn", "(", "scratch_reg", ",", "gen_int_mode", "(", "mask", ",", "SImode", ")", ")", ";", "mask", "=", "(", "~", "padding_bits_to_clear", "[", "i", "]", ")", ">>", "16", ";", "rtx16", "=", "gen_int_mode", "(", "16", ",", "SImode", ")", ";", "dest", "=", "gen_rtx_ZERO_EXTRACT", "(", "SImode", ",", "scratch_reg", ",", "rtx16", ",", "rtx16", ")", ";", "if", "(", "mask", ")", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "gen_int_mode", "(", "mask", ",", "SImode", ")", ")", ")", ";", "emit_insn", "(", "gen_andsi3", "(", "cleared_reg", ",", "cleared_reg", ",", "scratch_reg", ")", ")", ";", "}", "if", "(", "saved_clearing", ")", "emit_move_insn", "(", "clearing_reg", ",", "saved_clearing_reg", ")", ";", "if", "(", "clearing_regno", "<=", "maxregno", "&&", "bitmap_bit_p", "(", "to_clear_bitmap", ",", "clearing_regno", ")", ")", "{", "emit_move_insn", "(", "clearing_reg", ",", "const0_rtx", ")", ";", "emit_use", "(", "clearing_reg", ")", ";", "bitmap_clear_bit", "(", "to_clear_bitmap", ",", "clearing_regno", ")", ";", "}", "for", "(", "regno", "=", "minregno", ";", "regno", "<=", "maxregno", ";", "regno", "++", ")", "{", "if", "(", "!", "bitmap_bit_p", "(", "to_clear_bitmap", ",", "regno", ")", ")", "continue", ";", "if", "(", "IS_VFP_REGNUM", "(", "regno", ")", ")", "{", "if", "(", "TARGET_VFP_DOUBLE", "&&", "VFP_REGNO_OK_FOR_DOUBLE", "(", "regno", ")", "&&", "bitmap_bit_p", "(", "to_clear_bitmap", ",", "regno", "+", "1", ")", ")", "{", "emit_move_insn", "(", "gen_rtx_REG", "(", "DFmode", ",", "regno", ")", ",", "CONST1_RTX", "(", "DFmode", ")", ")", ";", "emit_use", "(", "gen_rtx_REG", "(", "DFmode", ",", "regno", ")", ")", ";", "regno", "++", ";", "}", "else", "{", "emit_move_insn", "(", "gen_rtx_REG", "(", "SFmode", ",", "regno", ")", ",", "CONST1_RTX", "(", "SFmode", ")", ")", ";", "emit_use", "(", "gen_rtx_REG", "(", "SFmode", ",", "regno", ")", ")", ";", "}", "}", "else", "{", "emit_move_insn", "(", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ",", "clearing_reg", ")", ";", "emit_use", "(", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["Clear", "registers", "secret", "before", "doing", "a", "cmse_nonsecure_call", "or", "returning", "from", "a", "cmse_nonsecure_entry", "function", ".", "TO_CLEAR_BITMAP", "indicates", "which", "registers", "are", "to", "be", "fully", "cleared", ",", "using", "the", "value", "in", "register", "CLEARING_REG", "if", "more", "efficient", ".", "The", "PADDING_BITS_LEN", "entries", "array", "PADDING_BITS_TO_CLEAR", "gives", "the", "bits", "that", "needs", "to", "be", "cleared", "in", "caller-saved", "core", "registers", ",", "with", "SCRATCH_REG", "used", "as", "a", "scratch", "register", "for", "that", "clearing", ".", "NOTE", ":", "one", "of", "three", "following", "assertions", "must", "hold", ":", "-", "SCRATCH_REG", "is", "a", "low", "register", "-", "CLEARING_REG", "is", "in", "the", "set", "of", "registers", "fully", "cleared", "(", "ie", ".", "its", "bit", "is", "set", "in", "TO_CLEAR_BITMAP", ")", "-", "CLEARING_REG", "is", "a", "low", "register", "."], "TS_V_token": ["arm", "1", "0", "0", "0xFFFF", "16", "16", "1"], "File": "arm7", "Func": "cmse_clear_registers", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11075, "Length": 473, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "bool", "pr_or_ffr_regnum_p", "(", "unsigned", "int", "regno", ")", "{", "return", "PR_REGNUM_P", "(", "regno", ")", "||", "regno", "==", "FFR_REGNUM", "||", "regno", "==", "FFRT_REGNUM", ";", "}", ""], "natrual_language": ["Return", "true", "if", "REGNO", "is", "P0-P15", "or", "one", "of", "the", "special", "FFR-related", "registers", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "pr_or_ffr_regnum_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11076, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "dispatch_group", "get_mem_group", "(", "rtx_insn", "*", "insn", ")", "{", "enum", "attr_memory", "memory", ";", "if", "(", "INSN_CODE", "(", "insn", ")", "<", "0", ")", "return", "disp_no_group", ";", "memory", "=", "get_attr_memory", "(", "insn", ")", ";", "if", "(", "memory", "==", "MEMORY_STORE", ")", "return", "disp_store", ";", "if", "(", "memory", "==", "MEMORY_LOAD", ")", "return", "disp_load", ";", "if", "(", "memory", "==", "MEMORY_BOTH", ")", "return", "disp_load_store", ";", "return", "disp_no_group", ";", "}", ""], "natrual_language": ["Get", "dispatch", "group", "of", "insn", "."], "TS_V_token": ["i386", "0"], "File": "i3864", "Func": "get_mem_group", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11077, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "addPreRewrite", "(", ")", "{", "addPass", "(", "createX86TileConfigPass", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["addPreRewrite", "-", "Add", "passes", "to", "the", "optimized", "register", "allocation", "pipeline", "after", "register", "allocation", "is", "complete", ",", "but", "before", "virtual", "registers", "are", "rewritten", "to", "physical", "registers", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86TargetMachine114", "Func": "addPreRewrite", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11078, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isToken", "(", ")", "const", "override", "{", "return", "Kind", "==", "k_Token", ";", "}", ""], "natrual_language": ["isToken", "-", "Is", "this", "a", "token", "operand", "?"], "TS_V_token": ["ARM64"], "File": "ARM64AsmParser1", "Func": "isToken", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11079, "Length": 13, "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": "SystemZAsmParser20", "Func": "addExpr", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11080, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsSERegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "if", "(", "!", "TFI", "->", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "int64_t", "Amount", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "Mips", "::", "ADJCALLSTACKDOWN", ")", "Amount", "=", "-", "Amount", ";", "const", "MipsSEInstrInfo", "*", "II", "=", "static_cast", "<", "const", "MipsSEInstrInfo", "*", ">", "(", "&", "TII", ")", ";", "unsigned", "SP", "=", "Subtarget", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "SP_64", ":", "Mips", "::", "SP", ";", "II", "->", "adjustStackPtr", "(", "SP", ",", "Amount", ",", "MBB", ",", "I", ")", ";", "}", "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": ["Mips", "Mips", "0", "Mips::ADJCALLSTACKDOWN", "Mips", "Mips", "Mips::SP_64", "Mips::SP"], "File": "MipsSERegisterInfo15", "Func": "eliminateCallFramePseudoInstr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11081, "Length": 132, "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", "(", "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", "(", "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", "(", "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": "sparc5", "Func": "sparc_flat_expand_prologue", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11082, "Length": 429, "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": 11083, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ")", "const", "{", "if", "(", "Imm", ".", "isPosZero", "(", ")", "&&", "(", "VT", "==", "MVT", "::", "f64", "||", "VT", "==", "MVT", "::", "f32", "||", "(", "VT", "==", "MVT", "::", "f16", "&&", "Subtarget", "->", "hasFullFP16", "(", ")", ")", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Legal \"", "<<", "VT", ".", "getEVTString", "(", ")", "<<", "\" imm value: 0\\n\"", ")", ";", "return", "true", ";", "}", "bool", "IsLegal", "=", "false", ";", "SmallString", "<", "128", ">", "ImmStrVal", ";", "Imm", ".", "toString", "(", "ImmStrVal", ")", ";", "if", "(", "VT", "==", "MVT", "::", "f64", ")", "IsLegal", "=", "AArch64_AM", "::", "getFP64Imm", "(", "Imm", ")", "!=", "-", "1", ";", "else", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "IsLegal", "=", "AArch64_AM", "::", "getFP32Imm", "(", "Imm", ")", "!=", "-", "1", ";", "else", "if", "(", "VT", "==", "MVT", "::", "f16", "&&", "Subtarget", "->", "hasFullFP16", "(", ")", ")", "IsLegal", "=", "AArch64_AM", "::", "getFP16Imm", "(", "Imm", ")", "!=", "-", "1", ";", "if", "(", "IsLegal", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Legal \"", "<<", "VT", ".", "getEVTString", "(", ")", "<<", "\" imm value: \"", "<<", "ImmStrVal", "<<", "\"\\n\"", ")", ";", "return", "true", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Illegal \"", "<<", "VT", ".", "getEVTString", "(", ")", "<<", "\" imm value: \"", "<<", "ImmStrVal", "<<", "\"\\n\"", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "can", "instruction", "select", "the", "specified", "FP", "immediate", "natively", "."], "TS_V_token": ["AArch64", "AArch64", "MVT::f64", "MVT::f32", "MVT::f16", "\"Legal \"", "\" imm value: 0\\n\"", "128", "MVT::f64", "AArch64_AM::getFP64Imm", "1", "MVT::f32", "AArch64_AM::getFP32Imm", "1", "MVT::f16", "AArch64_AM::getFP16Imm", "1", "\"Legal \"", "\" imm value: \"", "\"\\n\"", "\"Illegal \"", "\" imm value: \"", "\"\\n\""], "File": "AArch64ISelLowering131", "Func": "isFPImmLegal", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11084, "Length": 214, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "pa_attr_length_call", "(", "rtx_insn", "*", "insn", ",", "int", "sibcall", ")", "{", "int", "local_call", ";", "rtx", "call", ",", "call_dest", ";", "tree", "call_decl", ";", "int", "length", "=", "0", ";", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "unsigned", "long", "distance", "=", "-", "1", ";", "gcc_assert", "(", "CALL_P", "(", "insn", ")", ")", ";", "if", "(", "INSN_ADDRESSES_SET_P", "(", ")", ")", "{", "unsigned", "long", "total", ";", "total", "=", "IN_NAMED_SECTION_P", "(", "cfun", "->", "decl", ")", "?", "0", ":", "total_code_bytes", ";", "distance", "=", "(", "total", "+", "insn_current_reference_address", "(", "insn", ")", ")", ";", "if", "(", "distance", "<", "total", ")", "distance", "=", "-", "1", ";", "}", "gcc_assert", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", ")", ";", "call", "=", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "call", ")", "==", "SET", ")", "call", "=", "SET_SRC", "(", "call", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "call", ")", "==", "CALL", ")", ";", "call_dest", "=", "XEXP", "(", "XEXP", "(", "call", ",", "0", ")", ",", "0", ")", ";", "call_decl", "=", "SYMBOL_REF_DECL", "(", "call_dest", ")", ";", "local_call", "=", "call_decl", "&&", "targetm", ".", "binds_local_p", "(", "call_decl", ")", ";", "if", "(", "!", "TARGET_LONG_CALLS", "&&", "(", "(", "TARGET_PA_20", "&&", "!", "sibcall", "&&", "distance", "<", "7600000", ")", "||", "distance", "<", "MAX_PCREL17F_OFFSET", ")", ")", "length", "+=", "8", ";", "else", "if", "(", "TARGET_64BIT", "&&", "!", "local_call", ")", "length", "+=", "sibcall", "?", "28", ":", "24", ";", "else", "if", "(", "(", "TARGET_LONG_ABS_CALL", "||", "local_call", ")", "&&", "!", "flag_pic", ")", "length", "+=", "12", ";", "else", "if", "(", "TARGET_LONG_PIC_SDIFF_CALL", "||", "(", "TARGET_GAS", "&&", "!", "TARGET_SOM", "&&", "(", "TARGET_LONG_PIC_PCREL_CALL", "||", "local_call", ")", ")", ")", "{", "length", "+=", "20", ";", "if", "(", "!", "TARGET_PA_20", "&&", "!", "TARGET_NO_SPACE_REGS", "&&", "(", "!", "local_call", "||", "flag_pic", ")", ")", "length", "+=", "8", ";", "}", "else", "{", "length", "+=", "32", ";", "if", "(", "TARGET_SOM", ")", "length", "+=", "length_fp_args", "(", "insn", ")", ";", "if", "(", "flag_pic", ")", "length", "+=", "4", ";", "if", "(", "!", "TARGET_PA_20", ")", "{", "if", "(", "!", "sibcall", ")", "length", "+=", "8", ";", "if", "(", "!", "TARGET_NO_SPACE_REGS", "&&", "(", "!", "local_call", "||", "flag_pic", ")", ")", "length", "+=", "8", ";", "}", "}", "return", "length", ";", "}", ""], "natrual_language": ["Return", "the", "attribute", "length", "of", "the", "call", "instruction", "INSN", ".", "The", "SIBCALL", "flag", "indicates", "whether", "INSN", "is", "a", "regular", "call", "or", "a", "sibling", "call", ".", "The", "length", "returned", "must", "be", "longer", "than", "the", "code", "actually", "generated", "by", "pa_output_call", ".", "Since", "branch", "shortening", "is", "done", "before", "delay", "branch", "sequencing", ",", "there", "is", "no", "way", "to", "determine", "whether", "or", "not", "the", "delay", "slot", "will", "be", "filled", "during", "branch", "shortening", ".", "Even", "when", "the", "delay", "slot", "is", "filled", ",", "we", "may", "have", "to", "add", "a", "nop", "if", "the", "delay", "slot", "contains", "a", "branch", "that", "ca", "n't", "reach", "its", "target", ".", "Thus", ",", "we", "always", "have", "to", "include", "the", "delay", "slot", "in", "the", "length", "estimate", ".", "This", "used", "to", "be", "done", "in", "pa_adjust_insn_length", "but", "we", "do", "it", "here", "now", "as", "some", "sequences", "always", "fill", "the", "delay", "slot", "and", "we", "can", "save", "four", "bytes", "in", "the", "estimate", "for", "these", "sequences", "."], "TS_V_token": ["pa", "0", "1", "0", "1", "0", "0", "0", "0", "7600000", "8", "28", "24", "12", "20", "8", "32", "4", "8", "8"], "File": "pa4", "Func": "pa_attr_length_call", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11085, "Length": 339, "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": 11086, "Length": 387, "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", ")", ";", "}", "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": "i3864", "Func": "ix86_load_bounds", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11087, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_set_compression_mode", "(", "unsigned", "int", "compression_mode", ")", "{", "if", "(", "compression_mode", "==", "old_compression_mode", ")", "return", ";", "target_flags", "=", "mips_base_target_flags", ";", "flag_schedule_insns", "=", "mips_base_schedule_insns", ";", "flag_reorder_blocks_and_partition", "=", "mips_base_reorder_blocks_and_partition", ";", "flag_move_loop_invariants", "=", "mips_base_move_loop_invariants", ";", "align_loops", "=", "mips_base_align_loops", ";", "align_jumps", "=", "mips_base_align_jumps", ";", "align_functions", "=", "mips_base_align_functions", ";", "target_flags", "&=", "~", "(", "MASK_MIPS16", "|", "MASK_MICROMIPS", ")", ";", "target_flags", "|=", "compression_mode", ";", "if", "(", "compression_mode", "&", "MASK_MIPS16", ")", "{", "target_flags", "|=", "MASK_MIPS16", ";", "target_flags", "&=", "~", "MASK_SYNCI", ";", "flag_schedule_insns", "=", "0", ";", "flag_reorder_blocks_and_partition", "=", "0", ";", "flag_move_loop_invariants", "=", "0", ";", "target_flags", "|=", "MASK_EXPLICIT_RELOCS", ";", "targetm", ".", "min_anchor_offset", "=", "0", ";", "targetm", ".", "max_anchor_offset", "=", "127", ";", "targetm", ".", "const_anchor", "=", "0", ";", "target_flags", "&=", "~", "MASK_RELAX_PIC_CALLS", ";", "target_flags", "&=", "~", "MASK_FIX_R4000", ";", "if", "(", "flag_pic", "&&", "!", "TARGET_OLDABI", ")", "sorry", "(", "\"MIPS16 PIC for ABIs other than o32 and o64\"", ")", ";", "if", "(", "TARGET_XGOT", ")", "sorry", "(", "\"MIPS16 -mxgot code\"", ")", ";", "if", "(", "TARGET_HARD_FLOAT_ABI", "&&", "!", "TARGET_OLDABI", ")", "sorry", "(", "\"hard-float MIPS16 code for ABIs other than o32 and o64\"", ")", ";", "if", "(", "TARGET_MSA", ")", "sorry", "(", "\"MSA MIPS16 code\"", ")", ";", "}", "else", "{", "if", "(", "TARGET_MICROMIPS", ")", "target_flags", "&=", "~", "MASK_BRANCHLIKELY", ";", "if", "(", "TARGET_64BIT", ")", "{", "if", "(", "align_loops", "==", "0", ")", "align_loops", "=", "8", ";", "if", "(", "align_jumps", "==", "0", ")", "align_jumps", "=", "8", ";", "if", "(", "align_functions", "==", "0", ")", "align_functions", "=", "8", ";", "}", "targetm", ".", "min_anchor_offset", "=", "-", "32768", ";", "targetm", ".", "max_anchor_offset", "=", "32767", ";", "targetm", ".", "const_anchor", "=", "0x8000", ";", "}", "mips_init_relocs", "(", ")", ";", "if", "(", "compression_mode", "&", "MASK_MIPS16", ")", "{", "if", "(", "!", "mips16_globals", ")", "mips16_globals", "=", "save_target_globals_default_opts", "(", ")", ";", "else", "restore_target_globals", "(", "mips16_globals", ")", ";", "}", "else", "if", "(", "compression_mode", "&", "MASK_MICROMIPS", ")", "{", "if", "(", "!", "micromips_globals", ")", "micromips_globals", "=", "save_target_globals_default_opts", "(", ")", ";", "else", "restore_target_globals", "(", "micromips_globals", ")", ";", "}", "else", "restore_target_globals", "(", "&", "default_target_globals", ")", ";", "old_compression_mode", "=", "compression_mode", ";", "}", ""], "natrual_language": ["Set", "up", "the", "target-dependent", "global", "state", "for", "ISA", "mode", "COMPRESSION_MODE", ",", "which", "is", "either", "MASK_MIPS16", "or", "MASK_MICROMIPS", "."], "TS_V_token": ["mips", "0", "0", "0", "0", "127", "0", "\"MIPS16 PIC for ABIs other than o32 and o64\"", "\"MIPS16 -mxgot code\"", "\"hard-float MIPS16 code for ABIs other than o32 and o64\"", "\"MSA MIPS16 code\"", "0", "8", "0", "8", "0", "8", "32768", "32767", "0x8000"], "File": "mips6", "Func": "mips_set_compression_mode", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11088, "Length": 295, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isBranchTarget", "(", ")", "const", "{", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "if", "(", "!", "MCE", ")", "return", "true", ";", "int64_t", "Val", "=", "MCE", "->", "getValue", "(", ")", ";", "if", "(", "Val", "&", "0x3", ")", "return", "false", ";", "assert", "(", "N", ">", "0", "&&", "\"Branch target immediate cannot be 0 bits!\"", ")", ";", "return", "(", "Val", ">=", "-", "(", "(", "1", "<<", "(", "N", "-", "1", ")", ")", "<<", "2", ")", "&&", "Val", "<=", "(", "(", "(", "1", "<<", "(", "N", "-", "1", ")", ")", "-", "1", ")", "<<", "2", ")", ")", ";", "}", ""], "natrual_language": ["Set", "if", "this", "operand", "is", "a", "branch", "target", "."], "TS_V_token": ["AArch64", "0x3", "0", "\"Branch target immediate cannot be 0 bits!\"", "1", "1", "2", "1", "1", "1", "2"], "File": "AArch64AsmParser (2)2", "Func": "isBranchTarget", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11089, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "elf_dcachebsize", "(", "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_DCACHEBSIZE", ":", "return", "av", "->", "a_un", ".", "a_val", ";", "default", ":", "break", ";", "}", "}", "}", ""], "natrual_language": ["Returns", "AT_DCACHEBSIZE", "if", "present", ",", "otherwise", "generic", "32", "."], "TS_V_token": ["rs6000", "\"/proc/self/auxv\"", "1", "1024", "0"], "File": "driver-rs6000", "Func": "elf_dcachebsize", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11090, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "getReg", "(", "const", "void", "*", "D", ",", "unsigned", "RC", ",", "unsigned", "RegNo", ")", "{", "const", "MipsDisassemblerBase", "*", "Dis", "=", "static_cast", "<", "const", "MipsDisassemblerBase", "*", ">", "(", "D", ")", ";", "const", "MCRegisterInfo", "*", "RegInfo", "=", "Dis", "->", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "return", "*", "(", "RegInfo", "->", "getRegClass", "(", "RC", ")", ".", "begin", "(", ")", "+", "RegNo", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsDisassembler10", "Func": "getReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11091, "Length": 64, "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": 11092, "Length": 369, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"X86 DAG->DAG Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 DAG->DAG Instruction Selection\""], "File": "X86ISelDAGToDAG103", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11093, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZXPLINKFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "bool", "HasFP", "=", "hasFP", "(", "MF", ")", ";", "const", "SystemZSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "SystemZSubtarget", ">", "(", ")", ";", "auto", "&", "Regs", "=", "Subtarget", ".", "getSpecialRegisters", "<", "SystemZXPLINK64Registers", ">", "(", ")", ";", "if", "(", "HasFP", ")", "SavedRegs", ".", "set", "(", "Regs", ".", "getFramePointerRegister", "(", ")", ")", ";", "SavedRegs", ".", "set", "(", "Regs", ".", "getReturnFunctionAddressRegister", "(", ")", ")", ";", "}", ""], "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"], "File": "SystemZFrameLowering10", "Func": "determineCalleeSaves", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11094, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsPostLegalizerCombiner", "::", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "TargetPassConfig", ">", "(", ")", ";", "AU", ".", "setPreservesCFG", "(", ")", ";", "getSelectionDAGFallbackAnalysisUsage", "(", "AU", ")", ";", "AU", ".", "addRequired", "<", "GISelKnownBitsAnalysis", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "GISelKnownBitsAnalysis", ">", "(", ")", ";", "if", "(", "!", "IsOptNone", ")", "{", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineDominatorTree", ">", "(", ")", ";", "}", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsPostLegalizerCombiner", "Func": "getAnalysisUsage", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11095, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "avx_vpermilp_parallel", "(", "rtx", "par", ",", "machine_mode", "mode", ")", "{", "unsigned", "i", ",", "nelt", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "unsigned", "mask", "=", "0", ";", "unsigned", "char", "ipar", "[", "16", "]", "=", "{", "}", ";", "if", "(", "XVECLEN", "(", "par", ",", "0", ")", "!=", "(", "int", ")", "nelt", ")", "return", "0", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "{", "rtx", "er", "=", "XVECEXP", "(", "par", ",", "0", ",", "i", ")", ";", "unsigned", "HOST_WIDE_INT", "ei", ";", "if", "(", "!", "CONST_INT_P", "(", "er", ")", ")", "return", "0", ";", "ei", "=", "INTVAL", "(", "er", ")", ";", "if", "(", "ei", ">=", "nelt", ")", "return", "0", ";", "ipar", "[", "i", "]", "=", "ei", ";", "}", "switch", "(", "mode", ")", "{", "case", "V8DFmode", ":", "for", "(", "i", "=", "4", ";", "i", "<", "6", ";", "++", "i", ")", "{", "if", "(", "ipar", "[", "i", "]", "<", "4", "||", "ipar", "[", "i", "]", ">=", "6", ")", "return", "0", ";", "mask", "|=", "(", "ipar", "[", "i", "]", "-", "4", ")", "<<", "i", ";", "}", "for", "(", "i", "=", "6", ";", "i", "<", "8", ";", "++", "i", ")", "{", "if", "(", "ipar", "[", "i", "]", "<", "6", ")", "return", "0", ";", "mask", "|=", "(", "ipar", "[", "i", "]", "-", "6", ")", "<<", "i", ";", "}", "case", "V4DFmode", ":", "for", "(", "i", "=", "0", ";", "i", "<", "2", ";", "++", "i", ")", "{", "if", "(", "ipar", "[", "i", "]", ">=", "2", ")", "return", "0", ";", "mask", "|=", "ipar", "[", "i", "]", "<<", "i", ";", "}", "for", "(", "i", "=", "2", ";", "i", "<", "4", ";", "++", "i", ")", "{", "if", "(", "ipar", "[", "i", "]", "<", "2", ")", "return", "0", ";", "mask", "|=", "(", "ipar", "[", "i", "]", "-", "2", ")", "<<", "i", ";", "}", "break", ";", "case", "V16SFmode", ":", "for", "(", "i", "=", "0", ";", "i", "<", "8", ";", "++", "i", ")", "if", "(", "ipar", "[", "i", "]", "+", "8", "!=", "ipar", "[", "i", "+", "8", "]", ")", "return", "0", ";", "case", "V8SFmode", ":", "for", "(", "i", "=", "0", ";", "i", "<", "4", ";", "++", "i", ")", "if", "(", "ipar", "[", "i", "]", "+", "4", "!=", "ipar", "[", "i", "+", "4", "]", ")", "return", "0", ";", "nelt", "=", "4", ";", "case", "V2DFmode", ":", "case", "V4SFmode", ":", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "mask", "|=", "ipar", "[", "i", "]", "<<", "(", "i", "*", "(", "nelt", "/", "2", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "mask", "+", "1", ";", "}", ""], "natrual_language": ["Helper", "for", "avx_vpermilps256_operand", "et", "al", ".", "This", "is", "also", "used", "by", "the", "expansion", "functions", "to", "turn", "the", "parallel", "back", "into", "a", "mask", ".", "The", "return", "value", "is", "0", "for", "no", "match", "and", "the", "imm8+1", "for", "a", "match", "."], "TS_V_token": ["i386", "0", "16", "0", "0", "0", "0", "0", "0", "4", "6", "4", "6", "0", "4", "6", "8", "6", "0", "6", "0", "2", "2", "0", "2", "4", "2", "0", "2", "0", "8", "8", "8", "0", "0", "4", "4", "4", "0", "4", "0", "2", "1"], "File": "i3864", "Func": "avx_vpermilp_parallel", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11096, "Length": 418, "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": ["X86"], "File": "X86DomainReassignment", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11097, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_conditional_register_usage", "(", "void", ")", "{", "if", "(", "PIC_OFFSET_TABLE_REGNUM", "!=", "INVALID_REGNUM", ")", "fixed_regs", "[", "PIC_OFFSET_TABLE_REGNUM", "]", "=", "1", ";", "if", "(", "TARGET_ARCH32", "&&", "fixed_regs", "[", "5", "]", ")", "fixed_regs", "[", "5", "]", "=", "1", ";", "else", "if", "(", "TARGET_ARCH64", "&&", "fixed_regs", "[", "5", "]", "==", "2", ")", "fixed_regs", "[", "5", "]", "=", "0", ";", "if", "(", "!", "TARGET_V9", ")", "{", "int", "regno", ";", "for", "(", "regno", "=", "SPARC_FIRST_V9_FP_REG", ";", "regno", "<=", "SPARC_LAST_V9_FP_REG", ";", "regno", "++", ")", "fixed_regs", "[", "regno", "]", "=", "1", ";", "for", "(", "regno", "=", "SPARC_FIRST_V9_FCC_REG", "+", "1", ";", "regno", "<=", "SPARC_LAST_V9_FCC_REG", ";", "regno", "++", ")", "fixed_regs", "[", "regno", "]", "=", "1", ";", "}", "if", "(", "!", "TARGET_FPU", ")", "{", "int", "regno", ";", "for", "(", "regno", "=", "32", ";", "regno", "<", "SPARC_LAST_V9_FCC_REG", ";", "regno", "++", ")", "fixed_regs", "[", "regno", "]", "=", "1", ";", "}", "if", "(", "fixed_regs", "[", "2", "]", "==", "2", ")", "fixed_regs", "[", "2", "]", "=", "!", "TARGET_APP_REGS", ";", "if", "(", "fixed_regs", "[", "3", "]", "==", "2", ")", "fixed_regs", "[", "3", "]", "=", "!", "TARGET_APP_REGS", ";", "if", "(", "TARGET_ARCH32", "&&", "fixed_regs", "[", "4", "]", "==", "2", ")", "fixed_regs", "[", "4", "]", "=", "!", "TARGET_APP_REGS", ";", "else", "if", "(", "TARGET_CM_EMBMEDANY", ")", "fixed_regs", "[", "4", "]", "=", "1", ";", "else", "if", "(", "fixed_regs", "[", "4", "]", "==", "2", ")", "fixed_regs", "[", "4", "]", "=", "0", ";", "if", "(", "TARGET_FLAT", ")", "memset", "(", "sparc_leaf_regs", ",", "0", ",", "FIRST_PSEUDO_REGISTER", ")", ";", "if", "(", "TARGET_VIS", ")", "global_regs", "[", "SPARC_GSR_REG", "]", "=", "1", ";", "}", ""], "natrual_language": ["If", "!", "TARGET_FPU", ",", "then", "make", "the", "fp", "registers", "and", "fp", "cc", "regs", "fixed", "so", "that", "they", "wo", "n't", "be", "allocated", "."], "TS_V_token": ["sparc", "1", "5", "5", "1", "5", "2", "5", "0", "1", "1", "1", "32", "1", "2", "2", "2", "3", "2", "3", "4", "2", "4", "4", "1", "4", "2", "4", "0", "0", "1"], "File": "sparc", "Func": "sparc_conditional_register_usage", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11098, "Length": 244, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalMaskedGather", "(", "Type", "*", "DataTy", ",", "Align", "Alignment", ")", "{", "if", "(", "!", "supportsGather", "(", ")", ")", "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", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "gather", "."], "TS_V_token": ["X86", "X86", "32", "64"], "File": "X86TargetTransformInfo10", "Func": "isLegalMaskedGather", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11099, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSection", "*", "X86WindowsTargetObjectFile", "::", "getSectionForConstant", "(", "const", "DataLayout", "&", "DL", ",", "SectionKind", "Kind", ",", "const", "Constant", "*", "C", ")", "const", "{", "if", "(", "Kind", ".", "isMergeableConst", "(", ")", "&&", "C", ")", "{", "const", "unsigned", "Characteristics", "=", "COFF", "::", "IMAGE_SCN_CNT_INITIALIZED_DATA", "|", "COFF", "::", "IMAGE_SCN_MEM_READ", "|", "COFF", "::", "IMAGE_SCN_LNK_COMDAT", ";", "std", "::", "string", "COMDATSymName", ";", "if", "(", "Kind", ".", "isMergeableConst4", "(", ")", "||", "Kind", ".", "isMergeableConst8", "(", ")", ")", "COMDATSymName", "=", "\"__real@\"", "+", "scalarConstantToHexString", "(", "C", ")", ";", "else", "if", "(", "Kind", ".", "isMergeableConst16", "(", ")", ")", "COMDATSymName", "=", "\"__xmm@\"", "+", "scalarConstantToHexString", "(", "C", ")", ";", "if", "(", "!", "COMDATSymName", ".", "empty", "(", ")", ")", "return", "getContext", "(", ")", ".", "getCOFFSection", "(", "\".rdata\"", ",", "Characteristics", ",", "Kind", ",", "COMDATSymName", ",", "COFF", "::", "IMAGE_COMDAT_SELECT_ANY", ")", ";", "}", "return", "TargetLoweringObjectFile", "::", "getSectionForConstant", "(", "DL", ",", "Kind", ",", "C", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constant", "with", "the", "SectionKind", ",", "return", "a", "section", "that", "it", "should", "be", "placed", "in", "."], "TS_V_token": ["X86", "X86", "\"__real@\"", "\"__xmm@\"", "\".rdata\""], "File": "X86TargetObjectFile7", "Func": "getSectionForConstant", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11100, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "ARMTargetLowering", "::", "getRegClassFor", "(", "MVT", "VT", ")", "const", "{", "if", "(", "Subtarget", "->", "hasNEON", "(", ")", ")", "{", "if", "(", "VT", "==", "MVT", "::", "v4i64", ")", "return", "&", "ARM", "::", "QQPRRegClass", ";", "if", "(", "VT", "==", "MVT", "::", "v8i64", ")", "return", "&", "ARM", "::", "QQQQPRRegClass", ";", "}", "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"], "File": "ARMISelLowering (2)", "Func": "getRegClassFor", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11101, "Length": 59, "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", "(", ")", "&&", "!", "AFI", "->", "shouldSignReturnAddress", "(", ")", ")", "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": "ARMLoadStoreOptimizer38", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11102, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "rbt_insert", "(", "struct", "rbt_strings", "*", "t", ",", "char", "*", "str", ")", "{", "struct", "rbt_string_node", "*", "curr", "=", "t", "->", "rbt_root", ";", "struct", "rbt_string_node", "*", "trail", "=", "t", "->", "rbt_nil", ";", "while", "(", "curr", "!=", "t", "->", "rbt_nil", ")", "{", "trail", "=", "curr", ";", "int", "cmp", "=", "strcmp", "(", "str", ",", "curr", "->", "str", ")", ";", "if", "(", "cmp", "<", "0", ")", "curr", "=", "curr", "->", "left", ";", "else", "if", "(", "cmp", ">", "0", ")", "curr", "=", "curr", "->", "right", ";", "else", "return", "0", ";", "}", "struct", "rbt_string_node", "*", "fresh", "=", "rbt_create_node", "(", "t", ",", "str", ")", ";", "fresh", "->", "par", "=", "trail", ";", "if", "(", "trail", "==", "t", "->", "rbt_nil", ")", "t", "->", "rbt_root", "=", "fresh", ";", "else", "if", "(", "strcmp", "(", "fresh", "->", "str", ",", "trail", "->", "str", ")", "<", "0", ")", "trail", "->", "left", "=", "fresh", ";", "else", "trail", "->", "right", "=", "fresh", ";", "fresh", "->", "left", "=", "t", "->", "rbt_nil", ";", "fresh", "->", "right", "=", "t", "->", "rbt_nil", ";", "curr", "=", "fresh", ";", "while", "(", "curr", "->", "par", "->", "color", "==", "RBT_RED", ")", "if", "(", "curr", "->", "par", "==", "curr", "->", "par", "->", "par", "->", "left", ")", "{", "struct", "rbt_string_node", "*", "uncle", "=", "curr", "->", "par", "->", "par", "->", "right", ";", "if", "(", "uncle", "->", "color", "==", "RBT_RED", ")", "{", "curr", "->", "par", "->", "color", "=", "RBT_BLACK", ";", "uncle", "->", "color", "=", "RBT_BLACK", ";", "curr", "->", "par", "->", "par", "->", "color", "=", "RBT_RED", ";", "curr", "=", "curr", "->", "par", "->", "par", ";", "}", "else", "if", "(", "curr", "==", "curr", "->", "par", "->", "right", ")", "{", "curr", "=", "curr", "->", "par", ";", "rbt_left_rotate", "(", "t", ",", "curr", ")", ";", "}", "else", "{", "curr", "->", "par", "->", "color", "=", "RBT_BLACK", ";", "curr", "->", "par", "->", "par", "->", "color", "=", "RBT_RED", ";", "rbt_right_rotate", "(", "t", ",", "curr", "->", "par", "->", "par", ")", ";", "}", "}", "else", "{", "struct", "rbt_string_node", "*", "aunt", "=", "curr", "->", "par", "->", "par", "->", "left", ";", "if", "(", "aunt", "->", "color", "==", "RBT_RED", ")", "{", "curr", "->", "par", "->", "color", "=", "RBT_BLACK", ";", "aunt", "->", "color", "=", "RBT_BLACK", ";", "curr", "->", "par", "->", "par", "->", "color", "=", "RBT_RED", ";", "curr", "=", "curr", "->", "par", "->", "par", ";", "}", "else", "if", "(", "curr", "==", "curr", "->", "par", "->", "left", ")", "{", "curr", "=", "curr", "->", "par", ";", "rbt_right_rotate", "(", "t", ",", "curr", ")", ";", "}", "else", "{", "curr", "->", "par", "->", "color", "=", "RBT_BLACK", ";", "curr", "->", "par", "->", "par", "->", "color", "=", "RBT_RED", ";", "rbt_left_rotate", "(", "t", ",", "curr", "->", "par", "->", "par", ")", ";", "}", "}", "t", "->", "rbt_root", "->", "color", "=", "RBT_BLACK", ";", "return", "1", ";", "}", ""], "natrual_language": ["Insert", "STR", "into", "the", "tree", ",", "returning", "1", "for", "success", "and", "0", "if", "STR", "already", "appears", "in", "the", "tree", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "1"], "File": "rbtree", "Func": "rbt_insert", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11103, "Length": 434, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "MipsMCCodeEmitter", "::", "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", "<", "uint64_t", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "}", "else", "if", "(", "MO", ".", "isFPImm", "(", ")", ")", "{", "return", "static_cast", "<", "uint64_t", ">", "(", "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": ["Mips", "Mips", "32"], "File": "MipsMCCodeEmitter31", "Func": "getMachineOpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11104, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "override", "{", "return", "createARMELFObjectWriter", "(", "OS", ",", "OSABI", ",", "isLittle", "(", ")", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMAsmBackendELF10", "Func": "createObjectWriter", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11105, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ")", "const", "{", "if", "(", "Imm", ".", "isPosZero", "(", ")", "&&", "(", "VT", "==", "MVT", "::", "f64", "||", "VT", "==", "MVT", "::", "f32", "||", "VT", "==", "MVT", "::", "f16", ")", ")", "return", "true", ";", "if", "(", "VT", "==", "MVT", "::", "f64", ")", "return", "AArch64_AM", "::", "getFP64Imm", "(", "Imm", ")", "!=", "-", "1", ";", "else", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "AArch64_AM", "::", "getFP32Imm", "(", "Imm", ")", "!=", "-", "1", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "can", "instruction", "select", "the", "specified", "FP", "immediate", "natively", "."], "TS_V_token": ["AArch64", "AArch64", "MVT::f64", "MVT::f32", "MVT::f16", "MVT::f64", "AArch64_AM::getFP64Imm", "1", "MVT::f32", "AArch64_AM::getFP32Imm", "1"], "File": "AArch64ISelLowering102", "Func": "isFPImmLegal", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11106, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "postOffset", "(", ")", "const", "{", "return", "Offset", "+", "Size", ";", "}", ""], "natrual_language": ["Compute", "the", "offset", "immediately", "following", "this", "block", "."], "TS_V_token": ["Mips"], "File": "MipsConstantIslandPass (2)1", "Func": "postOffset", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11107, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64BranchFixup", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "mf", ")", "{", "MF", "=", "&", "mf", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** AArch64BranchFixup ******\"", ")", ";", "TII", "=", "(", "const", "AArch64InstrInfo", "*", ")", "MF", "->", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MF", "->", "getRegInfo", "(", ")", ".", "invalidateLiveness", "(", ")", ";", "MF", "->", "RenumberBlocks", "(", ")", ";", "initializeFunctionInfo", "(", ")", ";", "unsigned", "NoBRIters", "=", "0", ";", "bool", "MadeChange", "=", "false", ";", "while", "(", "true", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Beginning 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", "(", "!", "BRChange", ")", "break", ";", "MadeChange", "=", "true", ";", "}", "verify", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "'\\n'", ";", "dumpBBs", "(", ")", ")", ";", "BBInfo", ".", "clear", "(", ")", ";", "ImmBranches", ".", "clear", "(", ")", ";", "return", "MadeChange", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"***** AArch64BranchFixup ******\"", "AArch64", "0", "\"Beginning iteration #\"", "0", "30", "\"Branch Fix Up pass failed to converge!\""], "File": "AArch64BranchFixupPass1", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11108, "Length": 192, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "AArch64TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "StringRef", "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", ".", "getSizeInBits", "(", ")", "==", "32", ")", "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", "]", "==", "'}'", ")", "{", "int", "RegNo", ";", "bool", "Failed", "=", "Constraint", ".", "slice", "(", "2", ",", "Size", "-", "1", ")", ".", "getAsInteger", "(", "10", ",", "RegNo", ")", ";", "if", "(", "!", "Failed", "&&", "RegNo", ">=", "0", "&&", "RegNo", "<=", "31", ")", "{", "if", "(", "VT", "!=", "MVT", "::", "Other", "&&", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "{", "Res", ".", "first", "=", "AArch64", "::", "FPR64RegClass", ".", "getRegister", "(", "RegNo", ")", ";", "Res", ".", "second", "=", "&", "AArch64", "::", "FPR64RegClass", ";", "}", "else", "{", "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", "32", "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", "10", "0", "31", "MVT::Other", "64", "AArch64::FPR64RegClass", "AArch64::FPR64RegClass", "AArch64::FPR128RegClass", "AArch64::FPR128RegClass"], "File": "AArch64ISelLowering (2)", "Func": "getRegForInlineAsmConstraint", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11109, "Length": 410, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "check_colliding_tags", "(", "const", "rtx", "&", "t", ",", "const", "insn_info_list_t", "&", "v", ",", "arg_pair_t", "*", "arg", ")", "{", "HARD_REG_SET", "*", "unavailable", "=", "arg", "->", "second", ";", "unsigned", "orig_tag", "=", "arg", "->", "first", "->", "tag", "(", ")", ";", "unsigned", "tag", "=", "INTVAL", "(", "t", ")", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "arg", "->", "first", "->", "dest", ")", ";", "if", "(", "v", ".", "length", "(", ")", "==", "0", ")", "return", "true", ";", "if", "(", "TAG_UPDATE_DEST", "(", "tag", ",", "0", ")", "==", "TAG_UPDATE_DEST", "(", "orig_tag", ",", "0", ")", ")", "ignore_all_aliases", "(", "unavailable", ",", "mode", ",", "TAG_GET_DEST", "(", "tag", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Callback", "to", "check", "which", "destination", "registers", "are", "unavailable", "to", "us", "for", "renaming", "because", "of", "the", "base", "and", "offset", "colliding", ".", "This", "is", "a", "callback", "that", "gets", "called", "for", "every", "name", "value", "pair", "(", "T", ",", "V", ")", "in", "the", "TAG_MAP", ".", "The", "ARG", "is", "an", "std", ":", ":pair", "of", "the", "tag_insn_info", "of", "the", "original", "insn", "and", "the", "hard", "register", "set", "UNAVAILABLE", "that", "is", "used", "to", "record", "hard", "register", "numbers", "that", "can", "not", "be", "used", "for", "the", "renaming", ".", "This", "always", "returns", "true", "since", "we", "want", "to", "traverse", "through", "the", "entire", "TAG_MAP", "."], "TS_V_token": ["aarch64", "0", "0", "0"], "File": "falkor-tag-collision-avoidance", "Func": "check_colliding_tags", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11110, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "TM", "=", "static_cast", "<", "const", "PPCTargetMachine", "*", ">", "(", "&", "MF", ".", "getTarget", "(", ")", ")", ";", "TII", "=", "TM", "->", "getSubtargetImpl", "(", ")", "->", "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", "PPC", "2"], "File": "PPCInstrInfo106", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11111, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "KudeyarInstrInfo", "*", "getInstrInfo", "(", ")", "{", "return", "getTargetMachine", "(", ")", ".", "getInstrInfo", "(", ")", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["Kudeyar", "Kudeyar"], "File": "KudeyarISelDAGToDAG", "Func": "getInstrInfo", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11112, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TOYAsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsResolved", ")", "const", "{", "unsigned", "NumBytes", "=", "4", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "{", "return", ";", "}", "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": ["TOY", "TOY", "4", "\"Invalid fixup offset!\"", "0", "8", "0xff"], "File": "TOYAsmBackend1", "Func": "applyFixup", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11113, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "loongarch_emit_float_compare", "(", "enum", "rtx_code", "*", "code", ",", "rtx", "*", "op0", ",", "rtx", "*", "op1", ")", "{", "rtx", "cmp_op0", "=", "*", "op0", ";", "rtx", "cmp_op1", "=", "*", "op1", ";", "enum", "rtx_code", "cmp_code", "=", "*", "code", ";", "*", "code", "=", "NE", ";", "*", "op0", "=", "loongarch_allocate_fcc", "(", "FCCmode", ")", ";", "*", "op1", "=", "const0_rtx", ";", "loongarch_emit_binary", "(", "cmp_code", ",", "*", "op0", ",", "cmp_op0", ",", "cmp_op1", ")", ";", "}", ""], "natrual_language": ["Like", "loongarch_emit_int_compare", ",", "but", "for", "floating-point", "comparisons", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_emit_float_compare", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11114, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_aix_emit_builtin_unwind_init", "(", "void", ")", "{", "rtx", "mem", ";", "rtx", "stack_top", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "opcode_addr", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "opcode", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx", "tocompare", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx", "no_toc_save_needed", "=", "gen_label_rtx", "(", ")", ";", "mem", "=", "gen_frame_mem", "(", "Pmode", ",", "hard_frame_pointer_rtx", ")", ";", "emit_move_insn", "(", "stack_top", ",", "mem", ")", ";", "mem", "=", "gen_frame_mem", "(", "Pmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_top", ",", "GEN_INT", "(", "2", "*", "GET_MODE_SIZE", "(", "Pmode", ")", ")", ")", ")", ";", "emit_move_insn", "(", "opcode_addr", ",", "mem", ")", ";", "emit_move_insn", "(", "opcode", ",", "gen_rtx_MEM", "(", "SImode", ",", "opcode_addr", ")", ")", ";", "emit_move_insn", "(", "tocompare", ",", "gen_int_mode", "(", "TARGET_32BIT", "?", "0x80410014", ":", "0xE8410028", ",", "SImode", ")", ")", ";", "do_compare_rtx_and_jump", "(", "opcode", ",", "tocompare", ",", "EQ", ",", "1", ",", "SImode", ",", "NULL_RTX", ",", "NULL_RTX", ",", "no_toc_save_needed", ")", ";", "mem", "=", "gen_frame_mem", "(", "Pmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_top", ",", "GEN_INT", "(", "5", "*", "GET_MODE_SIZE", "(", "Pmode", ")", ")", ")", ")", ";", "emit_move_insn", "(", "mem", ",", "gen_rtx_REG", "(", "Pmode", ",", "2", ")", ")", ";", "emit_label", "(", "no_toc_save_needed", ")", ";", "}", ""], "natrual_language": ["If", "_Unwind_", "*", "has", "been", "called", "from", "within", "the", "same", "module", ",", "toc", "register", "is", "not", "guaranteed", "to", "be", "saved", "to", "40", "(", "1", ")", "on", "function", "entry", ".", "Save", "it", "there", "in", "that", "case", "."], "TS_V_token": ["rs6000", "2", "0x80410014", "0xE8410028", "1", "5", "2"], "File": "rs60003", "Func": "rs6000_aix_emit_builtin_unwind_init", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11115, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_set_architecture", "(", "const", "struct", "mips_cpu_info", "*", "info", ")", "{", "if", "(", "info", "!=", "0", ")", "{", "mips_arch_info", "=", "info", ";", "mips_arch", "=", "info", "->", "cpu", ";", "mips_isa", "=", "info", "->", "isa", ";", "if", "(", "mips_isa", "<", "MIPS_ISA_MIPS32", ")", "mips_isa_rev", "=", "0", ";", "else", "mips_isa_rev", "=", "(", "mips_isa", "&", "31", ")", "+", "1", ";", "}", "}", ""], "natrual_language": ["Set", "up", "globals", "to", "generate", "code", "for", "the", "ISA", "or", "processor", "described", "by", "INFO", "."], "TS_V_token": ["mips", "0", "0", "31", "1"], "File": "mips", "Func": "mips_set_architecture", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11116, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_save_reg_using_mov", "(", "machine_mode", "mode", ",", "unsigned", "int", "regno", ",", "HOST_WIDE_INT", "cfa_offset", ")", "{", "struct", "machine_function", "*", "m", "=", "cfun", "->", "machine", ";", "rtx", "reg", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "rtx", "unspec", "=", "NULL_RTX", ";", "rtx", "mem", ",", "addr", ",", "base", ",", "insn", ";", "unsigned", "int", "align", ";", "addr", "=", "choose_baseaddr", "(", "cfa_offset", ")", ";", "mem", "=", "gen_frame_mem", "(", "mode", ",", "addr", ")", ";", "align", "=", "MIN", "(", "GET_MODE_ALIGNMENT", "(", "mode", ")", ",", "INCOMING_STACK_BOUNDARY", ")", ";", "set_mem_align", "(", "mem", ",", "align", ")", ";", "if", "(", "mode", "==", "V4SFmode", "&&", "align", "<", "128", ")", "unspec", "=", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "1", ",", "reg", ")", ",", "UNSPEC_STOREU", ")", ";", "insn", "=", "emit_insn", "(", "gen_rtx_SET", "(", "mem", ",", "unspec", "?", "unspec", ":", "reg", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "base", "=", "addr", ";", "if", "(", "GET_CODE", "(", "base", ")", "==", "PLUS", ")", "base", "=", "XEXP", "(", "base", ",", "0", ")", ";", "gcc_checking_assert", "(", "REG_P", "(", "base", ")", ")", ";", "if", "(", "m", "->", "fs", ".", "realigned", ")", "{", "gcc_checking_assert", "(", "stack_realign_drap", ")", ";", "if", "(", "regno", "==", "REGNO", "(", "crtl", "->", "drap_reg", ")", ")", "{", "gcc_checking_assert", "(", "cfun", "->", "machine", "->", "fs", ".", "fp_valid", ")", ";", "addr", "=", "plus_constant", "(", "Pmode", ",", "hard_frame_pointer_rtx", ",", "cfun", "->", "machine", "->", "fs", ".", "fp_offset", "-", "cfa_offset", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "mode", ",", "addr", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_DEF_CFA", ",", "mem", ")", ";", "}", "else", "{", "gcc_checking_assert", "(", "cfun", "->", "machine", "->", "fs", ".", "fp_valid", ")", ";", "addr", "=", "plus_constant", "(", "Pmode", ",", "hard_frame_pointer_rtx", ",", "cfun", "->", "machine", "->", "fs", ".", "fp_offset", "-", "cfa_offset", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "mode", ",", "addr", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_EXPRESSION", ",", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ")", ";", "}", "}", "else", "if", "(", "base", "!=", "m", "->", "fs", ".", "cfa_reg", ")", "{", "addr", "=", "plus_constant", "(", "Pmode", ",", "m", "->", "fs", ".", "cfa_reg", ",", "m", "->", "fs", ".", "cfa_offset", "-", "cfa_offset", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "mode", ",", "addr", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_OFFSET", ",", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ")", ";", "}", "else", "if", "(", "unspec", ")", "add_reg_note", "(", "insn", ",", "REG_CFA_EXPRESSION", ",", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "single", "register", "save", "at", "CFA", "-", "CFA_OFFSET", "."], "TS_V_token": ["i386", "128", "1", "1", "0"], "File": "i3865", "Func": "ix86_emit_save_reg_using_mov", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11117, "Length": 375, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64StorePairSuppress", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", "||", "MF", ".", "getFunction", "(", ")", ".", "hasOptSize", "(", ")", ")", "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", ";", "bool", "OffsetIsScalable", ";", "if", "(", "TII", "->", "getMemOperandWithOffset", "(", "MI", ",", "BaseOp", ",", "Offset", ",", "OffsetIsScalable", ",", "TRI", ")", "&&", "BaseOp", "->", "isReg", "(", ")", ")", "{", "Register", "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": "AArch64StorePairSuppress20", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11118, "Length": 292, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreRegAlloc", "(", ")", "{", "addPass", "(", "createX86FixupSetCC", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "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": "X86TargetMachine124", "Func": "addPreRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11119, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MINA32InstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "uint64_t", "Address", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "Address", ",", "O", ")", ")", "printInstruction", "(", "MI", ",", "Address", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["MINA32", "MINA32"], "File": "MINA32InstPrinter", "Func": "printInst", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11120, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mt_arg_partial_bytes", "(", "CUMULATIVE_ARGS", "*", "pcum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "int", "cum", "=", "*", "pcum", ";", "int", "words", ";", "if", "(", "mode", "==", "BLKmode", ")", "words", "=", "(", "(", "int_size_in_bytes", "(", "type", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ")", ";", "else", "words", "=", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "if", "(", "!", "targetm", ".", "calls", ".", "pass_by_reference", "(", "&", "cum", ",", "mode", ",", "type", ",", "named", ")", "&&", "cum", "<", "MT_NUM_ARG_REGS", "&&", "(", "cum", "+", "words", ")", ">", "MT_NUM_ARG_REGS", ")", "{", "int", "bytes", "=", "(", "MT_NUM_ARG_REGS", "-", "cum", ")", "*", "UNITS_PER_WORD", ";", "if", "(", "TARGET_DEBUG", ")", "fprintf", "(", "stderr", ",", "\"function_arg_partial_nregs = %d\\n\"", ",", "bytes", ")", ";", "return", "bytes", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Implement", "hook", "TARGET_ARG_PARTIAL_BYTES", ".", "Returns", "the", "number", "of", "bytes", "at", "the", "beginning", "of", "an", "argument", "that", "must", "be", "put", "in", "registers", ".", "The", "value", "must", "be", "zero", "for", "arguments", "that", "are", "passed", "entirely", "in", "registers", "or", "that", "are", "entirely", "pushed", "on", "the", "stack", "."], "TS_V_token": ["mt", "1", "1", "\"function_arg_partial_nregs = %d\\n\"", "0"], "File": "mt", "Func": "mt_arg_partial_bytes", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11121, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "parse_codes", "parse_args", "(", "prototype", "*", "protoptr", ")", "{", "typelist", "*", "*", "argptr", "=", "&", "protoptr", "->", "args", ";", "int", "*", "nargs", "=", "&", "protoptr", "->", "nargs", ";", "int", "*", "restr_opnd", "=", "protoptr", "->", "restr_opnd", ";", "restriction", "*", "restr", "=", "protoptr", "->", "restr", ";", "char", "*", "*", "val1", "=", "protoptr", "->", "restr_val1", ";", "char", "*", "*", "val2", "=", "protoptr", "->", "restr_val2", ";", "int", "restr_cnt", "=", "0", ";", "int", "success", ";", "*", "nargs", "=", "0", ";", "consume_whitespace", "(", ")", ";", "if", "(", "linebuf", "[", "pos", "]", "!=", "'('", ")", "{", "diag", "(", "pos", ",", "\"missing '('.\\n\"", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "safe_inc_pos", "(", ")", ";", "do", "{", "consume_whitespace", "(", ")", ";", "int", "oldpos", "=", "pos", ";", "typelist", "*", "argentry", "=", "(", "typelist", "*", ")", "malloc", "(", "sizeof", "(", "typelist", ")", ")", ";", "memset", "(", "argentry", ",", "0", ",", "sizeof", "*", "argentry", ")", ";", "typeinfo", "*", "argtype", "=", "&", "argentry", "->", "info", ";", "success", "=", "match_type", "(", "argtype", ",", "VOID_NOTOK", ")", ";", "if", "(", "success", ")", "{", "if", "(", "argtype", "->", "restr", ")", "{", "if", "(", "restr_cnt", ">=", "MAXRESTROPNDS", ")", "{", "diag", "(", "pos", ",", "\"More than two %d operands\\n\"", ",", "MAXRESTROPNDS", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "restr_opnd", "[", "restr_cnt", "]", "=", "*", "nargs", "+", "1", ";", "restr", "[", "restr_cnt", "]", "=", "argtype", "->", "restr", ";", "val1", "[", "restr_cnt", "]", "=", "argtype", "->", "val1", ";", "val2", "[", "restr_cnt", "]", "=", "argtype", "->", "val2", ";", "restr_cnt", "++", ";", "}", "(", "*", "nargs", ")", "++", ";", "*", "argptr", "=", "argentry", ";", "argptr", "=", "&", "argentry", "->", "next", ";", "consume_whitespace", "(", ")", ";", "if", "(", "linebuf", "[", "pos", "]", "==", "','", ")", "safe_inc_pos", "(", ")", ";", "else", "if", "(", "linebuf", "[", "pos", "]", "!=", "')'", ")", "{", "diag", "(", "pos", ",", "\"arg not followed by ',' or ')'.\\n\"", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "diag", "(", "0", ",", "\"argument type: isvoid = %d, isconst = %d, isvector = %d, \"", "\"issigned = %d, isunsigned = %d, isbool = %d, ispixel = %d, \"", "\"ispointer = %d, base = %d, restr = %d, val1 = \\\"%s\\\", \"", "\"val2 = \\\"%s\\\", pos = %d.\\n\"", ",", "argtype", "->", "isvoid", ",", "argtype", "->", "isconst", ",", "argtype", "->", "isvector", ",", "argtype", "->", "issigned", ",", "argtype", "->", "isunsigned", ",", "argtype", "->", "isbool", ",", "argtype", "->", "ispixel", ",", "argtype", "->", "ispointer", ",", "argtype", "->", "base", ",", "argtype", "->", "restr", ",", "argtype", "->", "val1", ",", "argtype", "->", "val2", ",", "pos", "+", "1", ")", ";", "}", "else", "{", "free", "(", "argentry", ")", ";", "*", "argptr", "=", "NULL", ";", "pos", "=", "oldpos", ";", "if", "(", "linebuf", "[", "pos", "]", "!=", "')'", ")", "{", "diag", "(", "pos", ",", "\"badly terminated arg list.\\n\"", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "safe_inc_pos", "(", ")", ";", "}", "}", "while", "(", "success", ")", ";", "return", "PC_OK", ";", "}", ""], "natrual_language": ["Parse", "the", "argument", "list", "."], "TS_V_token": ["rs6000", "0", "0", "\"missing '('.\\n\"", "0", "\"More than two %d operands\\n\"", "1", "\"arg not followed by ',' or ')'.\\n\"", "0", "\"argument type: isvoid = %d, isconst = %d, isvector = %d, \"", "\"issigned = %d, isunsigned = %d, isbool = %d, ispixel = %d, \"", "\"ispointer = %d, base = %d, restr = %d, val1 = \\\"%s\\\", \"", "\"val2 = \\\"%s\\\", pos = %d.\\n\"", "1", "\"badly terminated arg list.\\n\""], "File": "rs6000-gen-builtins", "Func": "parse_args", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11122, "Length": 405, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "build_const_pointer", "(", "tree", "t", ")", "{", "return", "build_pointer_type", "(", "build_qualified_type", "(", "t", ",", "TYPE_QUAL_CONST", ")", ")", ";", "}", ""], "natrual_language": ["Return", "a", "representation", "of", "``", "const", "T", "*", "''", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins-shapes", "Func": "build_const_pointer", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11123, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSETargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", "AS", ",", "Align", ",", "MachineMemOperand", "::", "Flags", ",", "bool", "*", "Fast", ")", "const", "{", "if", "(", "VT", ".", "isFatPointer", "(", ")", ")", "return", "false", ";", "MVT", "::", "SimpleValueType", "SVT", "=", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ";", "if", "(", "Subtarget", ".", "systemSupportsUnalignedAccess", "(", "AS", ")", ")", "{", "if", "(", "Fast", ")", "{", "if", "(", "Subtarget", ".", "isCheri", "(", ")", ")", "*", "Fast", "=", "false", ";", "else", "*", "Fast", "=", "true", ";", "}", "return", "true", ";", "}", "switch", "(", "SVT", ")", "{", "case", "MVT", "::", "i64", ":", "case", "MVT", "::", "i32", ":", "if", "(", "Fast", ")", "*", "Fast", "=", "true", ";", "return", "AS", "==", "0", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["Mips", "Mips", "MVT::SimpleValueType", "MVT::i64", "MVT::i32", "0"], "File": "MipsSEISelLowering41", "Func": "allowsMisalignedMemoryAccesses", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11124, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isProfitableToUnpredicate", "(", "MachineBasicBlock", "&", "TMBB", ",", "MachineBasicBlock", "&", "FMBB", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "'s", "profitable", "to", "unpredicate", "one", "side", "of", "a", "'diamond", "'", ",", "i.e", "."], "TS_V_token": ["PowerPC"], "File": "PPCInstrInfo (2)2", "Func": "isProfitableToUnpredicate", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11125, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getClearCacheBuiltinName", "(", ")", "const", "{", "return", "0", ";", "}", ""], "natrual_language": ["Intel", "processors", "have", "a", "unified", "instruction", "and", "data", "cache", "."], "TS_V_token": ["X86", "0"], "File": "X86ISelLowering81", "Func": "getClearCacheBuiltinName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11126, "Length": 12, "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": "Thumb2InstrInfo18", "Func": "storeRegToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11127, "Length": 341, "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'", ":", "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": "MipsISelLowering (2)3", "Func": "getConstraintType", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11128, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "X86TargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "IsMemset", ",", "bool", "ZeroMemset", ",", "bool", "MemcpyStrSrc", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "!", "F", ".", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ")", "{", "if", "(", "Size", ">=", "16", "&&", "(", "!", "Subtarget", ".", "isUnalignedMem16Slow", "(", ")", "||", "(", "(", "DstAlign", "==", "0", "||", "DstAlign", ">=", "16", ")", "&&", "(", "SrcAlign", "==", "0", "||", "SrcAlign", ">=", "16", ")", ")", ")", ")", "{", "if", "(", "Size", ">=", "32", "&&", "Subtarget", ".", "hasAVX", "(", ")", ")", "{", "return", "MVT", "::", "v32i8", ";", "}", "if", "(", "Subtarget", ".", "hasSSE2", "(", ")", ")", "return", "MVT", "::", "v16i8", ";", "if", "(", "Subtarget", ".", "hasSSE1", "(", ")", "&&", "(", "Subtarget", ".", "is64Bit", "(", ")", "||", "Subtarget", ".", "hasX87", "(", ")", ")", ")", "return", "MVT", "::", "v4f32", ";", "}", "else", "if", "(", "(", "!", "IsMemset", "||", "ZeroMemset", ")", "&&", "!", "MemcpyStrSrc", "&&", "Size", ">=", "8", "&&", "!", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Subtarget", ".", "hasSSE2", "(", ")", ")", "{", "return", "MVT", "::", "f64", ";", "}", "}", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Size", ">=", "8", ")", "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": ["X86", "X86", "16", "0", "16", "0", "16", "32", "MVT::v32i8", "MVT::v16i8", "MVT::v4f32", "8", "MVT::f64", "8", "MVT::i64", "MVT::i32"], "File": "X86ISelLowering (2)8", "Func": "getOptimalMemOpType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11129, "Length": 212, "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": 11130, "Length": 361, "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": 11131, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "TargetSubtargetInfo", "*", "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": ["FISC"], "File": "FISCTargetMachine", "Func": "getSubtargetImpl", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11132, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_option_reconfigure_globals", "(", "void", ")", "{", "sprintf", "(", "arm_arch_name", ",", "\"__ARM_ARCH_%s__\"", ",", "arm_active_target", ".", "arch_pp_name", ")", ";", "arm_base_arch", "=", "arm_active_target", ".", "base_arch", ";", "arm_arch4", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_armv4", ")", ";", "arm_arch4t", "=", "arm_arch4", "&&", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_thumb", ")", ";", "arm_arch5t", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_armv5t", ")", ";", "arm_arch5te", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_armv5te", ")", ";", "arm_arch6", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_armv6", ")", ";", "arm_arch6k", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_armv6k", ")", ";", "arm_arch_notm", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_notm", ")", ";", "arm_arch6m", "=", "arm_arch6", "&&", "!", "arm_arch_notm", ";", "arm_arch7", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_armv7", ")", ";", "arm_arch7em", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_armv7em", ")", ";", "arm_arch8", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_armv8", ")", ";", "arm_arch8_1", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_armv8_1", ")", ";", "arm_arch8_2", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_armv8_2", ")", ";", "arm_arch8_3", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_armv8_3", ")", ";", "arm_arch8_4", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_armv8_4", ")", ";", "arm_arch_thumb1", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_thumb", ")", ";", "arm_arch_thumb2", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_thumb2", ")", ";", "arm_arch_xscale", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_xscale", ")", ";", "arm_arch_iwmmxt", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_iwmmxt", ")", ";", "arm_arch_iwmmxt2", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_iwmmxt2", ")", ";", "arm_arch_thumb_hwdiv", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_tdiv", ")", ";", "arm_arch_arm_hwdiv", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_adiv", ")", ";", "arm_arch_crc", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_crc32", ")", ";", "arm_arch_cmse", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_cmse", ")", ";", "arm_fp16_inst", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_fp16", ")", ";", "arm_arch_lpae", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_lpae", ")", ";", "if", "(", "arm_fp16_inst", ")", "{", "if", "(", "arm_fp16_format", "==", "ARM_FP16_FORMAT_ALTERNATIVE", ")", "error", "(", "\"selected fp16 options are incompatible\"", ")", ";", "arm_fp16_format", "=", "ARM_FP16_FORMAT_IEEE", ";", "}", "arm_arch_no_volatile_ce", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_quirk_no_volatile_ce", ")", ";", "arm_arch6kz", "=", "arm_arch6k", "&&", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_quirk_armv6kz", ")", ";", "if", "(", "target_thread_pointer", "==", "TP_AUTO", ")", "{", "if", "(", "arm_arch6k", "&&", "!", "TARGET_THUMB1", ")", "target_thread_pointer", "=", "TP_CP15", ";", "else", "target_thread_pointer", "=", "TP_SOFT", ";", "}", "}", ""], "natrual_language": ["Reconfigure", "global", "status", "flags", "from", "the", "active_target.isa", "."], "TS_V_token": ["arm", "\"__ARM_ARCH_%s__\"", "\"selected fp16 options are incompatible\""], "File": "arm8", "Func": "arm_option_reconfigure_globals", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11133, "Length": 377, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCRegisterInfo", "::", "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": "PPCRegisterInfo21", "Func": "hasFP", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11134, "Length": 36, "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", ";", "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", "->", "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", ")", ";", "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", ";", "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", "(", "GET_CODE", "(", "tocrel_expr", ")", "==", "MEM", ")", "tocrel_expr", "=", "XEXP", "(", "tocrel_expr", ",", "0", ")", ";", "if", "(", "!", "toc_relative_expr_p", "(", "tocrel_expr", ",", "false", ")", ")", "return", "false", ";", "split_const", "(", "XVECEXP", "(", "tocrel_base", ",", "0", ",", "0", ")", ",", "&", "base", ",", "&", "offset", ")", ";", "if", "(", "GET_CODE", "(", "base", ")", "!=", "SYMBOL_REF", "||", "!", "CONSTANT_POOL_ADDRESS_P", "(", "base", ")", ")", "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": "rs60005", "Func": "const_load_sequence_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11135, "Length": 359, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mayNeedRelaxation", "(", "const", "MCInst", "&", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Check", "whether", "the", "given", "instruction", "may", "need", "relaxation", "."], "TS_V_token": ["AArch64"], "File": "AArch64AsmBackend37", "Func": "mayNeedRelaxation", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11136, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "standard_sse_constant_p", "(", "rtx", "x", ")", "{", "if", "(", "x", "==", "const0_rtx", ")", "return", "1", ";", "return", "(", "x", "==", "CONST0_RTX", "(", "GET_MODE", "(", "x", ")", ")", ")", ";", "}", ""], "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", "1"], "File": "i3863", "Func": "standard_sse_constant_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11137, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_analyze_bb_vinfo", "(", "bb_vec_info", "bb_vinfo", ",", "aarch64_vector_costs", "*", "costs", ")", "{", "costs", "->", "vec_flags", "=", "aarch64_classify_vector_mode", "(", "bb_vinfo", "->", "vector_mode", ")", ";", "}", ""], "natrual_language": ["Do", "one-time", "initialization", "of", "COSTS", "given", "that", "we", "'re", "costing", "the", "block", "vectorization", "described", "by", "BB_VINFO", "."], "TS_V_token": ["aarch64"], "File": "aarch641", "Func": "aarch64_analyze_bb_vinfo", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11138, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mergeStoresAfterLegalization", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Do", "not", "merge", "vector", "stores", "after", "legalization", "because", "that", "may", "conflict", "with", "x86-specific", "store", "splitting", "optimizations", "."], "TS_V_token": ["X86"], "File": "X86ISelLowering", "Func": "mergeStoresAfterLegalization", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11139, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "csky_mangle_type", "(", "const_tree", "type", ")", "{", "if", "(", "TREE_CODE", "(", "type", ")", "==", "REAL_TYPE", "&&", "TYPE_PRECISION", "(", "type", ")", "==", "16", "&&", "TYPE_MAIN_VARIANT", "(", "type", ")", "!=", "float16_type_node", ")", "return", "\"Dh\"", ";", "return", "NULL", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MANGLE_TYPE", "."], "TS_V_token": ["csky", "16", "\"Dh\""], "File": "csky1", "Func": "csky_mangle_type", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11140, "Length": 40, "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": 11141, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "ForCodeSize", "=", "MF", ".", "getFunction", "(", ")", "->", "optForSize", "(", ")", ";", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ";", "return", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ISelDAGToDAG", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11142, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "pru_output_ltle_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", "==", "LT", ")", "cmp_opstr", "=", "\"qblt\"", ";", "else", "if", "(", "code", "==", "LE", ")", "cmp_opstr", "=", "\"qble\"", ";", "else", "gcc_unreachable", "(", ")", ";", "if", "(", "is_near", ")", "bufi", "=", "snprintf", "(", "buf", ",", "sizeof", "(", "buf", ")", ",", "\"qbbc\\t.+12, %%1, %d\\n\\t\"", "\"qbbc\\t%%l3, %%2, %d\\n\\t\"", "\"%s\\t%%l3, %%2, %%1\\n\\t\"", "\"qbbs\\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", ")", ",", "\"qbbc\\t.+12, %%1, %d\\n\\t\"", "\"qbbc\\t.+20, %%2, %d\\n\\t\"", "\"%s\\t.+16, %%2, %%1\\n\\t\"", "\"qbbs\\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", "LT/LE", "conditional", "branch", "."], "TS_V_token": ["pru", "1024", "0", "0", "1", "2", "\"qblt\"", "\"qble\"", "\"qbbc\\t.+12, %%1, %d\\n\\t\"", "\"qbbc\\t%%l3, %%2, %d\\n\\t\"", "\"%s\\t%%l3, %%2, %%1\\n\\t\"", "\"qbbs\\t.+8, %%2, %d\\n\\t\"", "\"%s\\t%%l3, %%2, %%1\"", "\"qbbc\\t.+12, %%1, %d\\n\\t\"", "\"qbbc\\t.+20, %%2, %d\\n\\t\"", "\"%s\\t.+16, %%2, %%1\\n\\t\"", "\"qbbs\\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_ltle_signed_cbranch", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11143, "Length": 212, "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": 11144, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "useAA", "(", ")", "const", "override", "{", "return", "isCortexA53", "(", ")", "||", "isCortexA57", "(", ")", ";", "}", ""], "natrual_language": ["Enable", "use", "of", "alias", "analysis", "during", "code", "generation", "(", "during", "MI", "scheduling", ",", "DAGCombine", ",", "etc", ".", ")", "."], "TS_V_token": ["AArch64"], "File": "AArch64Subtarget78", "Func": "useAA", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11145, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "loongarch_multipass_dfa_lookahead", "(", "void", ")", "{", "if", "(", "(", "unsigned", "long", ")", "LARCH_ACTUAL_TUNE", "<", "N_ARCH_TYPES", ")", "return", "loongarch_cpu_multipass_dfa_lookahead", "[", "LARCH_ACTUAL_TUNE", "]", ";", "else", "return", "0", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD", ".", "This", "should", "be", "as", "wide", "as", "the", "scheduling", "freedom", "in", "the", "DFA", "."], "TS_V_token": ["loongarch", "0"], "File": "loongarch", "Func": "loongarch_multipass_dfa_lookahead", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11146, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LC2200AsmBackend", "::", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Check", "whether", "the", "given", "instruction", "may", "need", "relaxation", "."], "TS_V_token": ["LC2200", "LC2200"], "File": "LC2200AsmBackend", "Func": "mayNeedRelaxation", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11147, "Length": 21, "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", "]", "=", "aarch64_general_add_builtin", "(", "\"__builtin_aarch64_autia1716\"", ",", "ftype_pointer_auth", ",", "AARCH64_PAUTH_BUILTIN_AUTIA1716", ")", ";", "aarch64_builtin_decls", "[", "AARCH64_PAUTH_BUILTIN_PACIA1716", "]", "=", "aarch64_general_add_builtin", "(", "\"__builtin_aarch64_pacia1716\"", ",", "ftype_pointer_auth", ",", "AARCH64_PAUTH_BUILTIN_PACIA1716", ")", ";", "aarch64_builtin_decls", "[", "AARCH64_PAUTH_BUILTIN_AUTIB1716", "]", "=", "aarch64_general_add_builtin", "(", "\"__builtin_aarch64_autib1716\"", ",", "ftype_pointer_auth", ",", "AARCH64_PAUTH_BUILTIN_AUTIB1716", ")", ";", "aarch64_builtin_decls", "[", "AARCH64_PAUTH_BUILTIN_PACIB1716", "]", "=", "aarch64_general_add_builtin", "(", "\"__builtin_aarch64_pacib1716\"", ",", "ftype_pointer_auth", ",", "AARCH64_PAUTH_BUILTIN_PACIB1716", ")", ";", "aarch64_builtin_decls", "[", "AARCH64_PAUTH_BUILTIN_XPACLRI", "]", "=", "aarch64_general_add_builtin", "(", "\"__builtin_aarch64_xpaclri\"", ",", "ftype_pointer_strip", ",", "AARCH64_PAUTH_BUILTIN_XPACLRI", ")", ";", "}", ""], "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_autib1716\"", "\"__builtin_aarch64_pacib1716\"", "\"__builtin_aarch64_xpaclri\""], "File": "aarch64-builtins", "Func": "aarch64_init_pauth_hint_builtins", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11148, "Length": 103, "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": 11149, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "i386_asm_output_addr_const_extra", "(", "FILE", "*", "file", ",", "rtx", "x", ")", "{", "rtx", "op", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "UNSPEC", ")", "return", "false", ";", "op", "=", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ";", "switch", "(", "XINT", "(", "x", ",", "1", ")", ")", "{", "case", "UNSPEC_GOTOFF", ":", "output_addr_const", "(", "file", ",", "op", ")", ";", "fputs", "(", "\"@gotoff\"", ",", "file", ")", ";", "break", ";", "case", "UNSPEC_GOTTPOFF", ":", "output_addr_const", "(", "file", ",", "op", ")", ";", "fputs", "(", "\"@gottpoff\"", ",", "file", ")", ";", "break", ";", "case", "UNSPEC_TPOFF", ":", "output_addr_const", "(", "file", ",", "op", ")", ";", "fputs", "(", "\"@tpoff\"", ",", "file", ")", ";", "break", ";", "case", "UNSPEC_NTPOFF", ":", "output_addr_const", "(", "file", ",", "op", ")", ";", "if", "(", "TARGET_64BIT", ")", "fputs", "(", "\"@tpoff\"", ",", "file", ")", ";", "else", "fputs", "(", "\"@ntpoff\"", ",", "file", ")", ";", "break", ";", "case", "UNSPEC_DTPOFF", ":", "output_addr_const", "(", "file", ",", "op", ")", ";", "fputs", "(", "\"@dtpoff\"", ",", "file", ")", ";", "break", ";", "case", "UNSPEC_GOTNTPOFF", ":", "output_addr_const", "(", "file", ",", "op", ")", ";", "if", "(", "TARGET_64BIT", ")", "fputs", "(", "ASSEMBLER_DIALECT", "==", "ASM_ATT", "?", "\"@gottpoff(%rip)\"", ":", "\"@gottpoff[rip]\"", ",", "file", ")", ";", "else", "fputs", "(", "\"@gotntpoff\"", ",", "file", ")", ";", "break", ";", "case", "UNSPEC_INDNTPOFF", ":", "output_addr_const", "(", "file", ",", "op", ")", ";", "fputs", "(", "\"@indntpoff\"", ",", "file", ")", ";", "break", ";", "case", "UNSPEC_MACHOPIC_OFFSET", ":", "output_addr_const", "(", "file", ",", "op", ")", ";", "putc", "(", "'-'", ",", "file", ")", ";", "machopic_output_function_base_name", "(", "file", ")", ";", "break", ";", "default", ":", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Implementation", "of", "TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA", "."], "TS_V_token": ["i386", "0", "0", "1", "\"@gotoff\"", "\"@gottpoff\"", "\"@tpoff\"", "\"@tpoff\"", "\"@ntpoff\"", "\"@dtpoff\"", "\"@gottpoff(%rip)\"", "\"@gottpoff[rip]\"", "\"@gotntpoff\"", "\"@indntpoff\""], "File": "i386", "Func": "i386_asm_output_addr_const_extra", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11150, "Length": 245, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "SparcTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "SparcPassConfig", "(", "*", "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": ["Sparc", "Sparc", "Sparc"], "File": "SparcTargetMachine (2)1", "Func": "createPassConfig", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11151, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMachineVerifierClean", "(", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "is", "expected", "to", "pass", "all", "machine", "verifier", "checks", "."], "TS_V_token": ["SystemZ"], "File": "SystemZTargetMachine5", "Func": "isMachineVerifierClean", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11152, "Length": 11, "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": ["Sparc"], "File": "SparcMachineFunctionInfo13", "Func": "getGlobalBaseReg", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11153, "Length": 10, "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", "(", "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", "(", "mode", "!=", "TFmode", "&&", "mode", "!=", "TDmode", "&&", "(", "(", "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", "0", "0", "0", "0", "1", "1", "1", "1", "0", "1", "1", "1", "0", "0", "1", "1", "0"], "File": "rs60004", "Func": "rs6000_legitimate_address_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11154, "Length": 456, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_cannot_force_const_mem", "(", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "CASE_CONST_ANY", ":", "return", "false", ";", "default", ":", "break", ";", "}", "return", "!", "ix86_legitimate_constant_p", "(", "mode", ",", "x", ")", ";", "}", ""], "natrual_language": ["Determine", "if", "it", "'s", "legal", "to", "put", "X", "into", "the", "constant", "pool", ".", "This", "is", "not", "possible", "for", "the", "address", "of", "thread-local", "symbols", ",", "which", "is", "checked", "above", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_cannot_force_const_mem", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11155, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_unwind_emit_set", "(", "FILE", "*", "out_file", ",", "rtx", "p", ")", "{", "rtx", "e0", ";", "rtx", "e1", ";", "unsigned", "reg", ";", "e0", "=", "XEXP", "(", "p", ",", "0", ")", ";", "e1", "=", "XEXP", "(", "p", ",", "1", ")", ";", "switch", "(", "GET_CODE", "(", "e0", ")", ")", "{", "case", "MEM", ":", "if", "(", "GET_CODE", "(", "XEXP", "(", "e0", ",", "0", ")", ")", "!=", "PRE_DEC", "||", "!", "REG_P", "(", "XEXP", "(", "XEXP", "(", "e0", ",", "0", ")", ",", "0", ")", ")", "||", "REGNO", "(", "XEXP", "(", "XEXP", "(", "e0", ",", "0", ")", ",", "0", ")", ")", "!=", "SP_REGNUM", ")", "abort", "(", ")", ";", "asm_fprintf", "(", "out_file", ",", "\"\\t.save \"", ")", ";", "if", "(", "IS_VFP_REGNUM", "(", "REGNO", "(", "e1", ")", ")", ")", "asm_fprintf", "(", "out_file", ",", "\"{d%d}\\n\"", ",", "(", "REGNO", "(", "e1", ")", "-", "FIRST_VFP_REGNUM", ")", "/", "2", ")", ";", "else", "asm_fprintf", "(", "out_file", ",", "\"{%r}\\n\"", ",", "REGNO", "(", "e1", ")", ")", ";", "break", ";", "case", "REG", ":", "if", "(", "REGNO", "(", "e0", ")", "==", "SP_REGNUM", ")", "{", "if", "(", "GET_CODE", "(", "e1", ")", "!=", "PLUS", "||", "!", "REG_P", "(", "XEXP", "(", "e1", ",", "0", ")", ")", "||", "REGNO", "(", "XEXP", "(", "e1", ",", "0", ")", ")", "!=", "SP_REGNUM", "||", "!", "CONST_INT_P", "(", "XEXP", "(", "e1", ",", "1", ")", ")", ")", "abort", "(", ")", ";", "asm_fprintf", "(", "out_file", ",", "\"\\t.pad #%wd\\n\"", ",", "-", "INTVAL", "(", "XEXP", "(", "e1", ",", "1", ")", ")", ")", ";", "}", "else", "if", "(", "REGNO", "(", "e0", ")", "==", "HARD_FRAME_POINTER_REGNUM", ")", "{", "HOST_WIDE_INT", "offset", ";", "if", "(", "GET_CODE", "(", "e1", ")", "==", "PLUS", ")", "{", "if", "(", "!", "REG_P", "(", "XEXP", "(", "e1", ",", "0", ")", ")", "||", "!", "CONST_INT_P", "(", "XEXP", "(", "e1", ",", "1", ")", ")", ")", "abort", "(", ")", ";", "reg", "=", "REGNO", "(", "XEXP", "(", "e1", ",", "0", ")", ")", ";", "offset", "=", "INTVAL", "(", "XEXP", "(", "e1", ",", "1", ")", ")", ";", "asm_fprintf", "(", "out_file", ",", "\"\\t.setfp %r, %r, #%wd\\n\"", ",", "HARD_FRAME_POINTER_REGNUM", ",", "reg", ",", "offset", ")", ";", "}", "else", "if", "(", "REG_P", "(", "e1", ")", ")", "{", "reg", "=", "REGNO", "(", "e1", ")", ";", "asm_fprintf", "(", "out_file", ",", "\"\\t.setfp %r, %r\\n\"", ",", "HARD_FRAME_POINTER_REGNUM", ",", "reg", ")", ";", "}", "else", "abort", "(", ")", ";", "}", "else", "if", "(", "REG_P", "(", "e1", ")", "&&", "REGNO", "(", "e1", ")", "==", "SP_REGNUM", ")", "{", "asm_fprintf", "(", "out_file", ",", "\"\\t.movsp %r\\n\"", ",", "REGNO", "(", "e0", ")", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "e1", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "e1", ",", "0", ")", ")", "&&", "REGNO", "(", "XEXP", "(", "e1", ",", "0", ")", ")", "==", "SP_REGNUM", "&&", "CONST_INT_P", "(", "XEXP", "(", "e1", ",", "1", ")", ")", ")", "{", "asm_fprintf", "(", "out_file", ",", "\"\\t.movsp %r, #%d\\n\"", ",", "REGNO", "(", "e0", ")", ",", "(", "int", ")", "INTVAL", "(", "XEXP", "(", "e1", ",", "1", ")", ")", ")", ";", "}", "else", "abort", "(", ")", ";", "break", ";", "default", ":", "abort", "(", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "unwind", "directives", "for", "a", "SET", "."], "TS_V_token": ["arm", "0", "1", "0", "0", "0", "0", "0", "\"\\t.save \"", "\"{d%d}\\n\"", "2", "\"{%r}\\n\"", "0", "0", "1", "\"\\t.pad #%wd\\n\"", "1", "0", "1", "0", "1", "\"\\t.setfp %r, %r, #%wd\\n\"", "\"\\t.setfp %r, %r\\n\"", "\"\\t.movsp %r\\n\"", "0", "0", "1", "\"\\t.movsp %r, #%d\\n\"", "1"], "File": "arm", "Func": "arm_unwind_emit_set", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11156, "Length": 467, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_asm_function_end_prologue", "(", "FILE", "*", "file", ")", "{", "fprintf", "(", "file", ",", "\"\\t! END PROLOGUE\\n\"", ")", ";", "}", ""], "natrual_language": ["After", "rtl", "prologue", "has", "been", "expanded", ",", "this", "function", "is", "used", "."], "TS_V_token": ["nds32", "\"\\t! END PROLOGUE\\n\""], "File": "nds32", "Func": "nds32_asm_function_end_prologue", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11157, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "loongarch_force_temporary", "(", "rtx", "dest", ",", "rtx", "value", ")", "{", "if", "(", "can_create_pseudo_p", "(", ")", ")", "return", "force_reg", "(", "Pmode", ",", "value", ")", ";", "else", "{", "loongarch_emit_move", "(", "dest", ",", "value", ")", ";", "return", "dest", ";", "}", "}", ""], "natrual_language": ["Copy", "VALUE", "to", "a", "register", "and", "return", "that", "register", ".", "If", "new", "pseudos", "are", "allowed", ",", "copy", "it", "into", "a", "new", "register", ",", "otherwise", "use", "DEST", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_force_temporary", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11158, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_sibcall", "(", "rtx_insn", "*", "insn", ",", "rtx", "call_operand", ")", "{", "rtx", "operands", "[", "1", "]", ";", "gcc_assert", "(", "flag_delayed_branch", ")", ";", "operands", "[", "0", "]", "=", "call_operand", ";", "if", "(", "sparc_leaf_function_p", "||", "TARGET_FLAT", ")", "{", "gcc_assert", "(", "!", "(", "LEAF_SIBCALL_SLOT_RESERVED_P", "&&", "final_sequence", ")", ")", ";", "if", "(", "final_sequence", ")", "output_asm_insn", "(", "\"sethi\\t%%hi(%a0), %%g1\\n\\tjmp\\t%%g1 + %%lo(%a0)%#\"", ",", "operands", ")", ";", "else", "output_asm_insn", "(", "\"or\\t%%o7, %%g0, %%g1\\n\\tcall\\t%a0, 0\\n\\t or\\t%%g1, %%g0, %%o7\"", ",", "operands", ")", ";", "}", "else", "{", "output_asm_insn", "(", "\"call\\t%a0, 0\"", ",", "operands", ")", ";", "if", "(", "final_sequence", ")", "{", "rtx_insn", "*", "delay", "=", "NEXT_INSN", "(", "insn", ")", ";", "gcc_assert", "(", "delay", ")", ";", "output_restore", "(", "PATTERN", "(", "delay", ")", ")", ";", "PATTERN", "(", "delay", ")", "=", "gen_blockage", "(", ")", ";", "INSN_CODE", "(", "delay", ")", "=", "-", "1", ";", "}", "else", "output_restore", "(", "NULL_RTX", ")", ";", "}", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "a", "sibling", "call", "."], "TS_V_token": ["sparc", "1", "0", "\"sethi\\t%%hi(%a0), %%g1\\n\\tjmp\\t%%g1 + %%lo(%a0)%#\"", "\"or\\t%%o7, %%g0, %%g1\\n\\tcall\\t%a0, 0\\n\\t or\\t%%g1, %%g0, %%o7\"", "\"call\\t%a0, 0\"", "1", "\"\""], "File": "sparc4", "Func": "output_sibcall", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11159, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetTransformInfo", "DLXTargetMachine", "::", "getTargetTransformInfo", "(", "const", "Function", "&", "F", ")", "{", "return", "TargetTransformInfo", "(", "DLXTTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetTransformInfo", "implementation", "for", "the", "target", "."], "TS_V_token": ["DLX", "DLX", "DLX"], "File": "DLXTargetMachine", "Func": "getTargetTransformInfo", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11160, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_reverse_mask", "(", "enum", "machine_mode", "mode", ")", "{", "rtx", "mask", ";", "rtvec", "v", "=", "rtvec_alloc", "(", "16", ")", ";", "int", "i", ",", "j", ";", "int", "nunits", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "int", "usize", "=", "GET_MODE_UNIT_SIZE", "(", "mode", ")", ";", "gcc_assert", "(", "BYTES_BIG_ENDIAN", ")", ";", "gcc_assert", "(", "AARCH64_VALID_SIMD_QREG_MODE", "(", "mode", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nunits", ";", "i", "++", ")", "for", "(", "j", "=", "0", ";", "j", "<", "usize", ";", "j", "++", ")", "RTVEC_ELT", "(", "v", ",", "i", "*", "usize", "+", "j", ")", "=", "GEN_INT", "(", "(", "i", "+", "1", ")", "*", "usize", "-", "1", "-", "j", ")", ";", "mask", "=", "gen_rtx_CONST_VECTOR", "(", "V16QImode", ",", "v", ")", ";", "return", "force_reg", "(", "V16QImode", ",", "mask", ")", ";", "}", ""], "natrual_language": ["Generate", "a", "byte", "permute", "mask", "for", "a", "register", "of", "mode", "MODE", ",", "which", "has", "NUNITS", "units", "."], "TS_V_token": ["aarch64", "16", "0", "0", "1", "1"], "File": "aarch642", "Func": "aarch64_reverse_mask", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11161, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TOYInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ")", "{", "printInstruction", "(", "MI", ",", "O", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["TOY", "TOY"], "File": "TOYInstPrinter", "Func": "printInst", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11162, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rbt_right_rotate", "(", "struct", "rbt_strings", "*", "t", ",", "struct", "rbt_string_node", "*", "node", ")", "{", "struct", "rbt_string_node", "*", "left", "=", "node", "->", "left", ";", "assert", "(", "left", ")", ";", "node", "->", "left", "=", "left", "->", "right", ";", "if", "(", "left", "->", "right", "!=", "t", "->", "rbt_nil", ")", "left", "->", "right", "->", "par", "=", "node", ";", "left", "->", "par", "=", "node", "->", "par", ";", "if", "(", "node", "->", "par", "==", "t", "->", "rbt_nil", ")", "t", "->", "rbt_root", "=", "left", ";", "else", "if", "(", "node", "==", "node", "->", "par", "->", "right", ")", "node", "->", "par", "->", "right", "=", "left", ";", "else", "node", "->", "par", "->", "left", "=", "left", ";", "left", "->", "right", "=", "node", ";", "node", "->", "par", "=", "left", ";", "}", ""], "natrual_language": ["Perform", "a", "right-rotate", "operation", "on", "NODE", "in", "the", "red-black", "tree", "."], "TS_V_token": ["rs6000"], "File": "rbtree", "Func": "rbt_right_rotate", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11163, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getMaxCallFrameSize", "(", ")", "const", "{", "return", "MaxCallFrameSize", ";", "}", ""], "natrual_language": ["Return", "the", "maximum", "size", "of", "a", "call", "frame", "that", "must", "be", "allocated", "for", "an", "outgoing", "function", "call", "."], "TS_V_token": ["SIC"], "File": "SICMachineFunction", "Func": "getMaxCallFrameSize", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11164, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "builtin_type_p", "(", "const_tree", "type", ",", "unsigned", "int", "*", "num_zr", ",", "unsigned", "int", "*", "num_pr", ")", "{", "if", "(", "tree", "attr", "=", "lookup_sve_type_attribute", "(", "type", ")", ")", "{", "tree", "num_zr_node", "=", "TREE_VALUE", "(", "attr", ")", ";", "tree", "num_pr_node", "=", "TREE_CHAIN", "(", "num_zr_node", ")", ";", "*", "num_zr", "=", "tree_to_uhwi", "(", "TREE_VALUE", "(", "num_zr_node", ")", ")", ";", "*", "num_pr", "=", "tree_to_uhwi", "(", "TREE_VALUE", "(", "num_pr_node", ")", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "TYPE", "is", "a", "built-in", "SVE", "type", "defined", "by", "the", "ABI", "or", "ACLE", ".", "If", "so", ",", "store", "the", "number", "of", "constituent", "SVE", "vectors", "in", "*", "NUM_ZR", "and", "the", "number", "of", "constituent", "SVE", "predicates", "in", "*", "NUM_PR", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "builtin_type_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11165, "Length": 74, "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", ";", "}", ""], "natrual_language": ["Update", "incoming", "stack", "boundary", "and", "estimated", "stack", "alignment", "."], "TS_V_token": ["i386", "128", "128"], "File": "i3864", "Func": "ix86_update_stack_boundary", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11166, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "isStoreToStackSlotPostFE", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "unsigned", "Dummy", ";", "if", "(", "isFrameStoreOpcode", "(", "MI", ".", "getOpcode", "(", ")", ",", "Dummy", ")", ")", "{", "unsigned", "Reg", ";", "if", "(", "(", "Reg", "=", "isStoreToStackSlot", "(", "MI", ",", "FrameIndex", ")", ")", ")", "return", "Reg", ";", "SmallVector", "<", "const", "MachineMemOperand", "*", ",", "1", ">", "Accesses", ";", "if", "(", "hasStoreToStackSlot", "(", "MI", ",", "Accesses", ")", ")", "{", "FrameIndex", "=", "cast", "<", "FixedStackPseudoSourceValue", ">", "(", "Accesses", ".", "front", "(", ")", "->", "getPseudoValue", "(", ")", ")", "->", "getFrameIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "X86", "::", "AddrNumOperands", ")", ".", "getReg", "(", ")", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["isStoreToStackSlotPostFE", "-", "Check", "for", "post-frame", "ptr", "elimination", "stack", "locations", "as", "well", "."], "TS_V_token": ["X86", "X86", "1", "X86::AddrNumOperands", "0"], "File": "X86InstrInfo (2)3", "Func": "isStoreToStackSlotPostFE", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11167, "Length": 114, "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", "}", "}", ";", "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", "\"Invalid kind!\""], "File": "SystemZMCAsmBackend1", "Func": "getFixupKindInfo", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11168, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_naked_function_p", "(", "tree", "func", ")", "{", "tree", "t_naked", ";", "tree", "t_no_prologue", ";", "if", "(", "TREE_CODE", "(", "func", ")", "!=", "FUNCTION_DECL", ")", "abort", "(", ")", ";", "t_naked", "=", "lookup_attribute", "(", "\"naked\"", ",", "DECL_ATTRIBUTES", "(", "func", ")", ")", ";", "t_no_prologue", "=", "lookup_attribute", "(", "\"no_prologue\"", ",", "DECL_ATTRIBUTES", "(", "func", ")", ")", ";", "return", "(", "(", "t_naked", "!=", "NULL_TREE", ")", "||", "(", "t_no_prologue", "!=", "NULL_TREE", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "FUNC", "is", "a", "naked", "function", "."], "TS_V_token": ["nds32", "\"naked\"", "\"no_prologue\""], "File": "nds32", "Func": "nds32_naked_function_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11169, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_expand_builtin_direct", "(", "enum", "insn_code", "icode", ",", "rtx", "target", ",", "tree", "arglist", ",", "bool", "has_target", ")", "{", "rtx", "ops", "[", "MAX_RECOG_OPERANDS", "]", ";", "int", "i", "=", "0", ";", "if", "(", "has_target", ")", "{", "ops", "[", "0", "]", "=", "mips_prepare_builtin_target", "(", "icode", ",", "0", ",", "target", ")", ";", "i", "=", "1", ";", "}", "for", "(", ";", "i", "<", "insn_data", "[", "icode", "]", ".", "n_operands", "&&", "arglist", "!=", "0", ";", "i", "++", ")", "ops", "[", "i", "]", "=", "mips_prepare_builtin_arg", "(", "icode", ",", "i", ",", "&", "arglist", ")", ";", "switch", "(", "i", ")", "{", "case", "2", ":", "emit_insn", "(", "GEN_FCN", "(", "icode", ")", "(", "ops", "[", "0", "]", ",", "ops", "[", "1", "]", ")", ")", ";", "break", ";", "case", "3", ":", "emit_insn", "(", "GEN_FCN", "(", "icode", ")", "(", "ops", "[", "0", "]", ",", "ops", "[", "1", "]", ",", "ops", "[", "2", "]", ")", ")", ";", "break", ";", "case", "4", ":", "emit_insn", "(", "GEN_FCN", "(", "icode", ")", "(", "ops", "[", "0", "]", ",", "ops", "[", "1", "]", ",", "ops", "[", "2", "]", ",", "ops", "[", "3", "]", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "target", ";", "}", ""], "natrual_language": ["Expand", "a", "MIPS_BUILTIN_DIRECT", "function", ".", "ICODE", "is", "the", "code", "of", "the", ".md", "pattern", "and", "ARGLIST", "is", "the", "list", "of", "function", "arguments", ".", "TARGET", ",", "if", "nonnull", ",", "suggests", "a", "good", "place", "to", "put", "the", "result", ".", "HAS_TARGET", "indicates", "the", "function", "must", "return", "something", "."], "TS_V_token": ["mips", "0", "0", "0", "1", "0", "2", "0", "1", "3", "0", "1", "2", "4", "0", "1", "2", "3"], "File": "mips3", "Func": "mips_expand_builtin_direct", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11170, "Length": 190, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToAddress", "(", "Register", "ValVReg", ",", "Register", "Addr", ",", "uint64_t", "Size", ",", "MachinePointerInfo", "&", "MPO", ",", "CCValAssign", "&", "VA", ")", "override", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "auto", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MPO", ",", "MachineMemOperand", "::", "MOLoad", "|", "MachineMemOperand", "::", "MOInvariant", ",", "Size", ",", "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": ["X86"], "File": "X86CallLowering13", "Func": "assignValueToAddress", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11171, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_symbol_load_store_p", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "mem_src", "=", "NULL_RTX", ";", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_LOAD", ":", "mem_src", "=", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ";", "break", ";", "case", "TYPE_STORE", ":", "mem_src", "=", "SET_DEST", "(", "PATTERN", "(", "insn", ")", ")", ";", "break", ";", "default", ":", "break", ";", "}", "if", "(", "mem_src", "!=", "NULL_RTX", ")", "{", "if", "(", "(", "GET_CODE", "(", "mem_src", ")", "==", "ZERO_EXTEND", ")", "||", "(", "GET_CODE", "(", "mem_src", ")", "==", "SIGN_EXTEND", ")", ")", "mem_src", "=", "XEXP", "(", "mem_src", ",", "0", ")", ";", "if", "(", "(", "GET_CODE", "(", "XEXP", "(", "mem_src", ",", "0", ")", ")", "==", "SYMBOL_REF", ")", "||", "(", "GET_CODE", "(", "XEXP", "(", "mem_src", ",", "0", ")", ")", "==", "LO_SUM", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "is", "load/store", "with", "SYMBOL_REF", "addressing", "mode", "and", "memory", "mode", "is", "SImode", "."], "TS_V_token": ["nds32", "0", "0", "0"], "File": "nds32-predicates", "Func": "nds32_symbol_load_store_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11172, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "sparc_constant_alignment", "(", "const_tree", "exp", ",", "HOST_WIDE_INT", "align", ")", "{", "if", "(", "TREE_CODE", "(", "exp", ")", "==", "STRING_CST", ")", "return", "MAX", "(", "align", ",", "FASTEST_ALIGNMENT", ")", ";", "return", "align", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CONSTANT_ALIGNMENT", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "sparc_constant_alignment", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11173, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WinEHStatePass", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "StringRef", "WinEHParentName", "=", "F", ".", "getFnAttribute", "(", "\"wineh-parent\"", ")", ".", "getValueAsString", "(", ")", ";", "if", "(", "WinEHParentName", "!=", "F", ".", "getName", "(", ")", "&&", "!", "WinEHParentName", ".", "empty", "(", ")", ")", "return", "false", ";", "if", "(", "!", "F", ".", "hasPersonalityFn", "(", ")", ")", "return", "false", ";", "PersonalityFn", "=", "dyn_cast", "<", "Function", ">", "(", "F", ".", "getPersonalityFn", "(", ")", "->", "stripPointerCasts", "(", ")", ")", ";", "if", "(", "!", "PersonalityFn", ")", "return", "false", ";", "Personality", "=", "classifyEHPersonality", "(", "PersonalityFn", ")", ";", "if", "(", "!", "isMSVCEHPersonality", "(", "Personality", ")", ")", "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", "\"wineh-parent\"", "\"no-frame-pointer-elim\"", "\"true\"", "\"unexpected personality function\"", "X86"], "File": "X86WinEHState25", "Func": "runOnFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11174, "Length": 234, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "OptimizePICCall", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "if", "(", "F", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "inMips16Mode", "(", ")", ")", "return", "false", ";", "MachineDominatorTree", "*", "MDT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "bool", "Changed", "=", "false", ";", "SmallVector", "<", "MBBInfo", ",", "8", ">", "WorkList", "(", "1", ",", "MBBInfo", "(", "MDT", "->", "getRootNode", "(", ")", ")", ")", ";", "while", "(", "!", "WorkList", ".", "empty", "(", ")", ")", "{", "MBBInfo", "&", "MBBI", "=", "WorkList", ".", "back", "(", ")", ";", "if", "(", "MBBI", ".", "isVisited", "(", ")", ")", "{", "MBBI", ".", "postVisit", "(", ")", ";", "WorkList", ".", "pop_back", "(", ")", ";", "continue", ";", "}", "MBBI", ".", "preVisit", "(", "ScopedHT", ")", ";", "Changed", "|=", "visitNode", "(", "MBBI", ")", ";", "const", "MachineDomTreeNode", "*", "Node", "=", "MBBI", ".", "getNode", "(", ")", ";", "WorkList", ".", "append", "(", "Node", "->", "begin", "(", ")", ",", "Node", "->", "end", "(", ")", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "8", "1"], "File": "MipsOptimizePICCall8", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11175, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_expand_call", "(", "rtx", "result", ",", "rtx", "addr", ",", "rtx", "args_size", ",", "rtx", "aux", ",", "int", "sibcall_p", ")", "{", "rtx", "orig_addr", ",", "pattern", ",", "insn", ";", "orig_addr", "=", "addr", ";", "if", "(", "!", "call_insn_operand", "(", "addr", ",", "VOIDmode", ")", ")", "{", "addr", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "mips_load_call_address", "(", "addr", ",", "orig_addr", ",", "sibcall_p", ")", ";", "}", "if", "(", "TARGET_MIPS16", "&&", "mips16_hard_float", "&&", "build_mips16_call_stub", "(", "result", ",", "addr", ",", "args_size", ",", "aux", "==", "0", "?", "0", ":", "(", "int", ")", "GET_MODE", "(", "aux", ")", ")", ")", "return", ";", "if", "(", "result", "==", "0", ")", "pattern", "=", "(", "sibcall_p", "?", "gen_sibcall_internal", "(", "addr", ",", "args_size", ")", ":", "gen_call_internal", "(", "addr", ",", "args_size", ")", ")", ";", "else", "if", "(", "GET_CODE", "(", "result", ")", "==", "PARALLEL", "&&", "XVECLEN", "(", "result", ",", "0", ")", "==", "2", ")", "{", "rtx", "reg1", ",", "reg2", ";", "reg1", "=", "XEXP", "(", "XVECEXP", "(", "result", ",", "0", ",", "0", ")", ",", "0", ")", ";", "reg2", "=", "XEXP", "(", "XVECEXP", "(", "result", ",", "0", ",", "1", ")", ",", "0", ")", ";", "pattern", "=", "(", "sibcall_p", "?", "gen_sibcall_value_multiple_internal", "(", "reg1", ",", "addr", ",", "args_size", ",", "reg2", ")", ":", "gen_call_value_multiple_internal", "(", "reg1", ",", "addr", ",", "args_size", ",", "reg2", ")", ")", ";", "}", "else", "pattern", "=", "(", "sibcall_p", "?", "gen_sibcall_value_internal", "(", "result", ",", "addr", ",", "args_size", ")", ":", "gen_call_value_internal", "(", "result", ",", "addr", ",", "args_size", ")", ")", ";", "insn", "=", "emit_call_insn", "(", "pattern", ")", ";", "if", "(", "global_got_operand", "(", "orig_addr", ",", "VOIDmode", ")", ")", "use_reg", "(", "&", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ",", "pic_offset_table_rtx", ")", ";", "}", ""], "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"], "File": "mips3", "Func": "mips_expand_call", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11176, "Length": 254, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "F2003fTargetLowering", "::", "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", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", ".", "getRegInfo", "(", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeArguments", "(", "Ins", ",", "CC_F2003f", ")", ";", "unsigned", "NumBytes", "=", "CCInfo", ".", "getNextStackOffset", "(", ")", "+", "4", ";", "if", "(", "isVarArg", ")", "{", "llvm_unreachable", "(", "\"Vararg is unsupported\"", ")", ";", "}", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "ArgLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "i", "]", ";", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "EVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "switch", "(", "RegVT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "{", "errs", "(", ")", "<<", "\"LowerFormalArguments Unhandled argument type: \"", "<<", "RegVT", ".", "getEVTString", "(", ")", "<<", "\"\\n\"", ";", "llvm_unreachable", "(", "nullptr", ")", ";", "}", "case", "MVT", "::", "i32", ":", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "F2003f", "::", "RegRegClass", ")", ";", "RegInfo", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "VReg", ")", ";", "SDValue", "ArgValue", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VReg", ",", "RegVT", ")", ";", "InVals", ".", "push_back", "(", "ArgValue", ")", ";", "}", "}", "else", "{", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "SDValue", "InVal", ";", "ISD", "::", "ArgFlagsTy", "Flags", "=", "Ins", "[", "i", "]", ".", "Flags", ";", "unsigned", "offset", "=", "NumBytes", "-", "VA", ".", "getLocMemOffset", "(", ")", "-", "VA", ".", "getLocVT", "(", ")", ".", "getSizeInBits", "(", ")", "/", "8", ";", "if", "(", "Flags", ".", "isByVal", "(", ")", ")", "{", "int", "FI", "=", "MFI", ".", "CreateFixedObject", "(", "Flags", ".", "getByValSize", "(", ")", ",", "offset", ",", "true", ")", ";", "InVal", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ";", "}", "else", "{", "unsigned", "ObjSize", "=", "VA", ".", "getLocVT", "(", ")", ".", "getSizeInBits", "(", ")", "/", "8", ";", "int", "FI", "=", "MFI", ".", "CreateFixedObject", "(", "ObjSize", ",", "offset", ",", "true", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "MVT", "::", "i32", ")", ";", "InVal", "=", "DAG", ".", "getLoad", "(", "VA", ".", "getLocVT", "(", ")", ",", "dl", ",", "Chain", ",", "FIN", ",", "MachinePointerInfo", "::", "getFixedStack", "(", "DAG", ".", "getMachineFunction", "(", ")", ",", "FI", ")", ")", ";", "}", "InVals", ".", "push_back", "(", "InVal", ")", ";", "}", "}", "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": ["F2003f", "F2003f", "ISD::InputArg", "16", "F2003f", "4", "\"Vararg is unsupported\"", "0", "\"LowerFormalArguments Unhandled argument type: \"", "\"\\n\"", "MVT::i32", "F2003f::RegRegClass", "ISD::ArgFlagsTy", "8", "8", "MVT::i32"], "File": "F2003fISelLowering", "Func": "LowerFormalArguments", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11177, "Length": 462, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_expand_to_rtl_hook", "(", "void", ")", "{", "cfun", "->", "machine", "->", "strict_aligned_p", "=", "1", ";", "}", ""], "natrual_language": ["This", "function", "will", "be", "called", "just", "before", "expansion", "into", "rtl", "."], "TS_V_token": ["nds32", "1"], "File": "nds32", "Func": "nds32_expand_to_rtl_hook", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11178, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "SystemZRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "TargetFrameInfo", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "SystemZ", "::", "R11D", ")", ";", "Reserved", ".", "set", "(", "SystemZ", "::", "R14D", ")", ";", "Reserved", ".", "set", "(", "SystemZ", "::", "R15D", ")", ";", "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::R11D", "SystemZ::R14D", "SystemZ::R15D"], "File": "SystemZRegisterInfo19", "Func": "getReservedRegs", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11179, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SDValue", "&", "getValue", "(", ")", "const", "{", "return", "getOperand", "(", "1", ")", ";", "}", ""], "natrual_language": ["Return", "the", "contained", "Value", "."], "TS_V_token": ["X86", "1"], "File": "X86ISelLowering103", "Func": "getValue", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11180, "Length": 15, "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": 11181, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "getSEHRegNum", "(", "unsigned", "i", ")", "const", "{", "return", "getEncodingValue", "(", "i", ")", ";", "}", ""], "natrual_language": ["Map", "a", "target", "register", "to", "an", "equivalent", "SEH", "register", "number", "."], "TS_V_token": ["AArch64"], "File": "AArch64RegisterInfo (2)1", "Func": "getSEHRegNum", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11182, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "fp_sethi_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", "single", "sethi", "instruction", "."], "TS_V_token": ["sparc", "0"], "File": "sparc3", "Func": "fp_sethi_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11183, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "LanaiInstrInfo", "::", "isLoadFromStackSlotPostFE", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "Lanai", "::", "LDW_RI", ")", "{", "unsigned", "Reg", ";", "if", "(", "(", "Reg", "=", "isLoadFromStackSlot", "(", "MI", ",", "FrameIndex", ")", ")", ")", "return", "Reg", ";", "SmallVector", "<", "const", "MachineMemOperand", "*", ",", "1", ">", "Accesses", ";", "if", "(", "hasLoadFromStackSlot", "(", "MI", ",", "Accesses", ")", ")", "{", "FrameIndex", "=", "cast", "<", "FixedStackPseudoSourceValue", ">", "(", "Accesses", ".", "front", "(", ")", "->", "getPseudoValue", "(", ")", ")", "->", "getFrameIndex", "(", ")", ";", "return", "1", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["isLoadFromStackSlotPostFE", "-", "Check", "for", "post-frame", "ptr", "elimination", "stack", "locations", "as", "well", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai::LDW_RI", "1", "1", "0"], "File": "LanaiInstrInfo (2)", "Func": "isLoadFromStackSlotPostFE", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11184, "Length": 99, "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": 11185, "Length": 52, "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": 11186, "Length": 179, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_split_convert_uns_si_sse", "(", "rtx", "operands", "[", "]", ")", "{", "machine_mode", "vecmode", ";", "rtx", "value", ",", "large", ",", "zero_or_two31", ",", "input", ",", "two31", ",", "x", ";", "large", "=", "operands", "[", "1", "]", ";", "zero_or_two31", "=", "operands", "[", "2", "]", ";", "input", "=", "operands", "[", "3", "]", ";", "two31", "=", "operands", "[", "4", "]", ";", "vecmode", "=", "GET_MODE", "(", "large", ")", ";", "value", "=", "gen_rtx_REG", "(", "vecmode", ",", "REGNO", "(", "operands", "[", "0", "]", ")", ")", ";", "if", "(", "MEM_P", "(", "input", ")", ")", "{", "if", "(", "vecmode", "==", "V4SFmode", ")", "emit_insn", "(", "gen_vec_setv4sf_0", "(", "value", ",", "CONST0_RTX", "(", "V4SFmode", ")", ",", "input", ")", ")", ";", "else", "emit_insn", "(", "gen_sse2_loadlpd", "(", "value", ",", "CONST0_RTX", "(", "V2DFmode", ")", ",", "input", ")", ")", ";", "}", "else", "{", "input", "=", "gen_rtx_REG", "(", "vecmode", ",", "REGNO", "(", "input", ")", ")", ";", "emit_move_insn", "(", "value", ",", "CONST0_RTX", "(", "vecmode", ")", ")", ";", "if", "(", "vecmode", "==", "V4SFmode", ")", "emit_insn", "(", "gen_sse_movss_v4sf", "(", "value", ",", "value", ",", "input", ")", ")", ";", "else", "emit_insn", "(", "gen_sse2_movsd_v2df", "(", "value", ",", "value", ",", "input", ")", ")", ";", "}", "emit_move_insn", "(", "large", ",", "two31", ")", ";", "emit_move_insn", "(", "zero_or_two31", ",", "MEM_P", "(", "two31", ")", "?", "large", ":", "two31", ")", ";", "x", "=", "gen_rtx_fmt_ee", "(", "LE", ",", "vecmode", ",", "large", ",", "value", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "large", ",", "x", ")", ")", ";", "x", "=", "gen_rtx_AND", "(", "vecmode", ",", "zero_or_two31", ",", "large", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "zero_or_two31", ",", "x", ")", ")", ";", "x", "=", "gen_rtx_MINUS", "(", "vecmode", ",", "value", ",", "zero_or_two31", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "value", ",", "x", ")", ")", ";", "large", "=", "gen_rtx_REG", "(", "V4SImode", ",", "REGNO", "(", "large", ")", ")", ";", "emit_insn", "(", "gen_ashlv4si3", "(", "large", ",", "large", ",", "GEN_INT", "(", "31", ")", ")", ")", ";", "x", "=", "gen_rtx_REG", "(", "V4SImode", ",", "REGNO", "(", "value", ")", ")", ";", "if", "(", "vecmode", "==", "V4SFmode", ")", "emit_insn", "(", "gen_fix_truncv4sfv4si2", "(", "x", ",", "value", ")", ")", ";", "else", "emit_insn", "(", "gen_sse2_cvttpd2dq", "(", "x", ",", "value", ")", ")", ";", "value", "=", "x", ";", "emit_insn", "(", "gen_xorv4si3", "(", "value", ",", "value", ",", "large", ")", ")", ";", "}", ""], "natrual_language": ["Post-reload", "splitter", "for", "converting", "an", "SF", "or", "DFmode", "value", "in", "an", "SSE", "register", "into", "an", "unsigned", "SImode", "."], "TS_V_token": ["i386", "1", "2", "3", "4", "0", "31"], "File": "i386-expand1", "Func": "ix86_split_convert_uns_si_sse", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11187, "Length": 346, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "AARCH64_CONDBR_TUNING_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64"], "File": "AArch64CondBrTuning", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11188, "Length": 11, "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", "::", "BITCAST", ":", "Res", "=", "ExpandBITCAST", "(", "N", ",", "DAG", ")", ";", "break", ";", "case", "ISD", "::", "SRL", ":", "case", "ISD", "::", "SRA", ":", "Res", "=", "Expand64BitShift", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "break", ";", "case", "ISD", "::", "READCYCLECOUNTER", ":", "ReplaceREADCYCLECOUNTER", "(", "N", ",", "Results", ",", "DAG", ",", "Subtarget", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_STORE", ":", "case", "ISD", "::", "ATOMIC_LOAD", ":", "case", "ISD", "::", "ATOMIC_LOAD_ADD", ":", "case", "ISD", "::", "ATOMIC_LOAD_AND", ":", "case", "ISD", "::", "ATOMIC_LOAD_NAND", ":", "case", "ISD", "::", "ATOMIC_LOAD_OR", ":", "case", "ISD", "::", "ATOMIC_LOAD_SUB", ":", "case", "ISD", "::", "ATOMIC_LOAD_XOR", ":", "case", "ISD", "::", "ATOMIC_SWAP", ":", "case", "ISD", "::", "ATOMIC_CMP_SWAP", ":", "case", "ISD", "::", "ATOMIC_LOAD_MIN", ":", "case", "ISD", "::", "ATOMIC_LOAD_UMIN", ":", "case", "ISD", "::", "ATOMIC_LOAD_MAX", ":", "case", "ISD", "::", "ATOMIC_LOAD_UMAX", ":", "ReplaceATOMIC_OP_64", "(", "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::BITCAST", "ISD::SRL", "ISD::SRA", "ISD::READCYCLECOUNTER", "ISD::ATOMIC_STORE", "ISD::ATOMIC_LOAD", "ISD::ATOMIC_LOAD_ADD", "ISD::ATOMIC_LOAD_AND", "ISD::ATOMIC_LOAD_NAND", "ISD::ATOMIC_LOAD_OR", "ISD::ATOMIC_LOAD_SUB", "ISD::ATOMIC_LOAD_XOR", "ISD::ATOMIC_SWAP", "ISD::ATOMIC_CMP_SWAP", "ISD::ATOMIC_LOAD_MIN", "ISD::ATOMIC_LOAD_UMIN", "ISD::ATOMIC_LOAD_MAX", "ISD::ATOMIC_LOAD_UMAX"], "File": "ARMISelLowering126", "Func": "ReplaceNodeResults", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11189, "Length": 196, "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": 11190, "Length": 385, "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": 11191, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LanaiSelectionDAGInfo", "::", "EmitTargetCodeForMemcpy", "(", "SelectionDAG", "&", ",", "const", "SDLoc", "&", ",", "SDValue", ",", "SDValue", ",", "SDValue", ",", "SDValue", "Size", ",", "Align", ",", "bool", ",", "bool", ",", "bool", ",", "MachinePointerInfo", ",", "MachinePointerInfo", ")", "const", "{", "ConstantSDNode", "*", "ConstantSize", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Size", ")", ";", "if", "(", "!", "ConstantSize", ")", "return", "SDValue", "(", ")", ";", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memcpy", "."], "TS_V_token": ["Lanai", "Lanai"], "File": "LanaiSelectionDAGInfo4", "Func": "EmitTargetCodeForMemcpy", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11192, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "function_value_32", "(", "machine_mode", "orig_mode", ",", "machine_mode", "mode", ",", "const_tree", "fntype", ",", "const_tree", "fn", ")", "{", "unsigned", "int", "regno", ";", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "==", "8", ")", "regno", "=", "FIRST_MMX_REG", ";", "else", "if", "(", "mode", "==", "TImode", "||", "(", "VECTOR_MODE_P", "(", "mode", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "==", "16", ")", ")", "regno", "=", "FIRST_SSE_REG", ";", "else", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "==", "32", ")", "regno", "=", "FIRST_SSE_REG", ";", "else", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "==", "64", ")", "regno", "=", "FIRST_SSE_REG", ";", "else", "if", "(", "X87_FLOAT_MODE_P", "(", "mode", ")", "&&", "TARGET_FLOAT_RETURNS_IN_80387", ")", "regno", "=", "FIRST_FLOAT_REG", ";", "else", "regno", "=", "AX_REG", ";", "if", "(", "(", "fn", "||", "fntype", ")", "&&", "(", "mode", "==", "SFmode", "||", "mode", "==", "DFmode", ")", ")", "{", "int", "sse_level", "=", "ix86_function_sseregparm", "(", "fntype", ",", "fn", ",", "false", ")", ";", "if", "(", "(", "sse_level", ">=", "1", "&&", "mode", "==", "SFmode", ")", "||", "(", "sse_level", "==", "2", "&&", "mode", "==", "DFmode", ")", ")", "regno", "=", "FIRST_SSE_REG", ";", "}", "gcc_assert", "(", "mode", "!=", "OImode", ")", ";", "return", "gen_rtx_REG", "(", "orig_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", "."], "TS_V_token": ["i386", "8", "16", "32", "64", "1", "2"], "File": "i3864", "Func": "function_value_32", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11193, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "setupMF", "(", "MachineFunction", "&", "MF", ",", "GISelKnownBits", "*", "KB", ",", "CodeGenCoverage", "&", "CoverageInfo", ",", "ProfileSummaryInfo", "*", "PSI", ",", "BlockFrequencyInfo", "*", "BFI", ",", "AAResults", "*", "AA", ")", "override", "{", "InstructionSelector", "::", "setupMF", "(", "MF", ",", "KB", ",", "CoverageInfo", ",", "PSI", ",", "BFI", ",", "AA", ")", ";", "MIB", ".", "setMF", "(", "MF", ")", ";", "ProduceNonFlagSettingCondBr", "=", "!", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "SpeculativeLoadHardening", ")", ";", "MFReturnAddr", "=", "Register", "(", ")", ";", "processPHIs", "(", "MF", ")", ";", "}", ""], "natrual_language": ["Setup", "per-MF", "executor", "state", "."], "TS_V_token": ["AArch64"], "File": "AArch64InstructionSelector34", "Func": "setupMF", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11194, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_update_cpp_builtins", "(", "cpp_reader", "*", "pfile", ")", "{", "aarch64_def_or_undef", "(", "flag_unsafe_math_optimizations", ",", "\"__ARM_FP_FAST\"", ",", "pfile", ")", ";", "builtin_define_with_int_value", "(", "\"__ARM_ARCH\"", ",", "aarch64_architecture_version", ")", ";", "builtin_define_with_int_value", "(", "\"__ARM_SIZEOF_MINIMAL_ENUM\"", ",", "flag_short_enums", "?", "1", ":", "4", ")", ";", "aarch64_def_or_undef", "(", "TARGET_BIG_END", ",", "\"__AARCH64EB__\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_BIG_END", ",", "\"__ARM_BIG_ENDIAN\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "!", "TARGET_BIG_END", ",", "\"__AARCH64EL__\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_FLOAT", ",", "\"__ARM_FEATURE_FMA\"", ",", "pfile", ")", ";", "if", "(", "TARGET_FLOAT", "||", "TARGET_SIMD", ")", "{", "builtin_define_with_int_value", "(", "\"__ARM_FP\"", ",", "0x0E", ")", ";", "builtin_define", "(", "\"__ARM_FP16_FORMAT_IEEE\"", ")", ";", "builtin_define", "(", "\"__ARM_FP16_ARGS\"", ")", ";", "}", "else", "cpp_undef", "(", "pfile", ",", "\"__ARM_FP\"", ")", ";", "aarch64_def_or_undef", "(", "TARGET_SIMD", ",", "\"__ARM_FEATURE_NUMERIC_MAXMIN\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_SIMD", ",", "\"__ARM_NEON\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_CRC32", ",", "\"__ARM_FEATURE_CRC32\"", ",", "pfile", ")", ";", "cpp_undef", "(", "pfile", ",", "\"__AARCH64_CMODEL_TINY__\"", ")", ";", "cpp_undef", "(", "pfile", ",", "\"__AARCH64_CMODEL_SMALL__\"", ")", ";", "cpp_undef", "(", "pfile", ",", "\"__AARCH64_CMODEL_LARGE__\"", ")", ";", "switch", "(", "aarch64_cmodel", ")", "{", "case", "AARCH64_CMODEL_TINY", ":", "case", "AARCH64_CMODEL_TINY_PIC", ":", "builtin_define", "(", "\"__AARCH64_CMODEL_TINY__\"", ")", ";", "break", ";", "case", "AARCH64_CMODEL_SMALL", ":", "case", "AARCH64_CMODEL_SMALL_PIC", ":", "builtin_define", "(", "\"__AARCH64_CMODEL_SMALL__\"", ")", ";", "break", ";", "case", "AARCH64_CMODEL_LARGE", ":", "builtin_define", "(", "\"__AARCH64_CMODEL_LARGE__\"", ")", ";", "break", ";", "default", ":", "break", ";", "}", "aarch64_def_or_undef", "(", "TARGET_ILP32", ",", "\"_ILP32\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_ILP32", ",", "\"__ILP32__\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_CRYPTO", ",", "\"__ARM_FEATURE_CRYPTO\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_SIMD_RDMA", ",", "\"__ARM_FEATURE_QRDMX\"", ",", "pfile", ")", ";", "}", ""], "natrual_language": ["Undefine/redefine", "macros", "that", "depend", "on", "the", "current", "backend", "state", "and", "may", "need", "to", "change", "when", "a", "target", "pragma", "modifies", "the", "backend", "state", "."], "TS_V_token": ["aarch64", "\"__ARM_FP_FAST\"", "\"__ARM_ARCH\"", "\"__ARM_SIZEOF_MINIMAL_ENUM\"", "1", "4", "\"__AARCH64EB__\"", "\"__ARM_BIG_ENDIAN\"", "\"__AARCH64EL__\"", "\"__ARM_FEATURE_FMA\"", "\"__ARM_FP\"", "0x0E", "\"__ARM_FP16_FORMAT_IEEE\"", "\"__ARM_FP16_ARGS\"", "\"__ARM_FP\"", "\"__ARM_FEATURE_NUMERIC_MAXMIN\"", "\"__ARM_NEON\"", "\"__ARM_FEATURE_CRC32\"", "\"__AARCH64_CMODEL_TINY__\"", "\"__AARCH64_CMODEL_SMALL__\"", "\"__AARCH64_CMODEL_LARGE__\"", "\"__AARCH64_CMODEL_TINY__\"", "\"__AARCH64_CMODEL_SMALL__\"", "\"__AARCH64_CMODEL_LARGE__\"", "\"_ILP32\"", "\"__ILP32__\"", "\"__ARM_FEATURE_CRYPTO\"", "\"__ARM_FEATURE_QRDMX\""], "File": "aarch64-c2", "Func": "aarch64_update_cpp_builtins", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11195, "Length": 237, "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", "(", ")", ")", "{", "if", "(", "getARMSubtarget", "(", ")", ".", "hasV8Ops", "(", ")", "&&", "!", "getARMSubtarget", "(", ")", ".", "prefers32BitThumb", "(", ")", ")", "addPass", "(", "createThumb2SizeReductionPass", "(", ")", ")", ";", "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", "ARM", "ARM"], "File": "ARMTargetMachine84", "Func": "addPreSched2", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11196, "Length": 150, "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": 11197, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_sCOND", "(", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ")", "{", "rtx", "condition_rtx", ";", "machine_mode", "op_mode", ";", "enum", "rtx_code", "cond_code", ";", "rtx", "result", "=", "operands", "[", "0", "]", ";", "condition_rtx", "=", "rs6000_generate_compare", "(", "operands", "[", "1", "]", ",", "mode", ")", ";", "cond_code", "=", "GET_CODE", "(", "condition_rtx", ")", ";", "if", "(", "cond_code", "==", "NE", "||", "cond_code", "==", "GE", "||", "cond_code", "==", "LE", "||", "cond_code", "==", "GEU", "||", "cond_code", "==", "LEU", "||", "cond_code", "==", "ORDERED", "||", "cond_code", "==", "UNGE", "||", "cond_code", "==", "UNLE", ")", "{", "rtx", "not_result", "=", "gen_reg_rtx", "(", "CCEQmode", ")", ";", "rtx", "not_op", ",", "rev_cond_rtx", ";", "machine_mode", "cc_mode", ";", "cc_mode", "=", "GET_MODE", "(", "XEXP", "(", "condition_rtx", ",", "0", ")", ")", ";", "rev_cond_rtx", "=", "gen_rtx_fmt_ee", "(", "rs6000_reverse_condition", "(", "cc_mode", ",", "cond_code", ")", ",", "SImode", ",", "XEXP", "(", "condition_rtx", ",", "0", ")", ",", "const0_rtx", ")", ";", "not_op", "=", "gen_rtx_COMPARE", "(", "CCEQmode", ",", "rev_cond_rtx", ",", "const0_rtx", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "not_result", ",", "not_op", ")", ")", ";", "condition_rtx", "=", "gen_rtx_EQ", "(", "VOIDmode", ",", "not_result", ",", "const0_rtx", ")", ";", "}", "op_mode", "=", "GET_MODE", "(", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ")", ";", "if", "(", "op_mode", "==", "VOIDmode", ")", "op_mode", "=", "GET_MODE", "(", "XEXP", "(", "operands", "[", "1", "]", ",", "1", ")", ")", ";", "if", "(", "TARGET_POWERPC64", "&&", "(", "op_mode", "==", "DImode", "||", "FLOAT_MODE_P", "(", "mode", ")", ")", ")", "{", "PUT_MODE", "(", "condition_rtx", ",", "DImode", ")", ";", "convert_move", "(", "result", ",", "condition_rtx", ",", "0", ")", ";", "}", "else", "{", "PUT_MODE", "(", "condition_rtx", ",", "SImode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "result", ",", "condition_rtx", ")", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "the", "RTL", "for", "an", "sCOND", "pattern", "."], "TS_V_token": ["rs6000", "0", "1", "0", "0", "1", "0", "1", "1", "0"], "File": "rs60007", "Func": "rs6000_emit_sCOND", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11198, "Length": 258, "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", "::", "SD", ")", "||", "(", "Opc", "==", "Mips", "::", "SWC1", ")", "||", "(", "Opc", "==", "Mips", "::", "SDC1", ")", "||", "(", "Opc", "==", "Mips", "::", "SDC164", ")", ")", "{", "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::SD", "Mips::SWC1", "Mips::SDC1", "Mips::SDC164", "1", "2", "2", "1", "0", "0"], "File": "MipsSEInstrInfo10", "Func": "isStoreToStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11199, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_unspec_cond_code", "(", "rtx_code", "code", ")", "{", "switch", "(", "code", ")", "{", "case", "NE", ":", "return", "UNSPEC_COND_NE", ";", "case", "EQ", ":", "return", "UNSPEC_COND_EQ", ";", "case", "LT", ":", "return", "UNSPEC_COND_LT", ";", "case", "GT", ":", "return", "UNSPEC_COND_GT", ";", "case", "LE", ":", "return", "UNSPEC_COND_LE", ";", "case", "GE", ":", "return", "UNSPEC_COND_GE", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "UNSPEC_COND_", "*", "code", "for", "comparison", "CODE", "."], "TS_V_token": ["aarch64"], "File": "aarch646", "Func": "aarch64_unspec_cond_code", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11200, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "expand_strncmp_align_check", "(", "rtx", "strncmp_label", ",", "rtx", "src", ",", "HOST_WIDE_INT", "bytes", ")", "{", "rtx", "lab_ref", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "strncmp_label", ")", ";", "rtx", "src_check", "=", "copy_addr_to_reg", "(", "XEXP", "(", "src", ",", "0", ")", ")", ";", "if", "(", "GET_MODE", "(", "src_check", ")", "==", "SImode", ")", "emit_insn", "(", "gen_andsi3", "(", "src_check", ",", "src_check", ",", "GEN_INT", "(", "0xfff", ")", ")", ")", ";", "else", "emit_insn", "(", "gen_anddi3", "(", "src_check", ",", "src_check", ",", "GEN_INT", "(", "0xfff", ")", ")", ")", ";", "rtx", "cond", "=", "gen_reg_rtx", "(", "CCmode", ")", ";", "emit_move_insn", "(", "cond", ",", "gen_rtx_COMPARE", "(", "CCmode", ",", "src_check", ",", "GEN_INT", "(", "4096", "-", "bytes", ")", ")", ")", ";", "rtx", "cmp_rtx", "=", "gen_rtx_LT", "(", "VOIDmode", ",", "cond", ",", "const0_rtx", ")", ";", "rtx", "ifelse", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "cmp_rtx", ",", "pc_rtx", ",", "lab_ref", ")", ";", "rtx", "j", "=", "emit_jump_insn", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "ifelse", ")", ")", ";", "JUMP_LABEL", "(", "j", ")", "=", "strncmp_label", ";", "LABEL_NUSES", "(", "strncmp_label", ")", "+=", "1", ";", "}", ""], "natrual_language": ["Generate", "page", "crossing", "check", "and", "branch", "code", "to", "set", "up", "for", "strncmp", "when", "we", "do", "n't", "have", "DI", "alignment", ".", "STRNCMP_LABEL", "is", "the", "label", "to", "branch", "if", "there", "is", "a", "page", "crossing", ".", "SRC_ADDR", "is", "the", "string", "address", "to", "be", "examined", ".", "BYTES", "is", "the", "max", "number", "of", "bytes", "to", "compare", "."], "TS_V_token": ["powerpcspe", "0", "0xfff", "0xfff", "4096", "1"], "File": "powerpcspe", "Func": "expand_strncmp_align_check", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11201, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "aarch64_builtin_reciprocal", "(", "tree", "fndecl", ")", "{", "if", "(", "!", "use_rsqrt_p", "(", ")", ")", "return", "NULL_TREE", ";", "return", "aarch64_builtin_rsqrt", "(", "DECL_FUNCTION_CODE", "(", "fndecl", ")", ")", ";", "}", ""], "natrual_language": ["Function", "to", "decide", "when", "to", "use", "the", "approximate", "reciprocal", "square", "root", "builtin", "."], "TS_V_token": ["aarch64"], "File": "aarch643", "Func": "aarch64_builtin_reciprocal", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11202, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMLoc", "getEndLoc", "(", ")", "const", "{", "return", "EndLoc", ";", "}", ""], "natrual_language": ["getEndLoc", "-", "Get", "the", "location", "of", "the", "last", "token", "of", "this", "operand", "."], "TS_V_token": ["FISC"], "File": "FISCAsmParser", "Func": "getEndLoc", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11203, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ")", "const", "{", "if", "(", "Imm", ".", "isPosZero", "(", ")", "&&", "(", "VT", "==", "MVT", "::", "f16", "||", "VT", "==", "MVT", "::", "f64", "||", "VT", "==", "MVT", "::", "f32", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Legal fp imm: materialize 0 using the zero register\\n\"", ")", ";", "return", "true", ";", "}", "StringRef", "FPType", ";", "bool", "IsLegal", "=", "false", ";", "SmallString", "<", "128", ">", "ImmStrVal", ";", "Imm", ".", "toString", "(", "ImmStrVal", ")", ";", "if", "(", "VT", "==", "MVT", "::", "f64", ")", "{", "FPType", "=", "\"f64\"", ";", "IsLegal", "=", "AArch64_AM", "::", "getFP64Imm", "(", "Imm", ")", "!=", "-", "1", ";", "}", "else", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "{", "FPType", "=", "\"f32\"", ";", "IsLegal", "=", "AArch64_AM", "::", "getFP32Imm", "(", "Imm", ")", "!=", "-", "1", ";", "}", "else", "if", "(", "VT", "==", "MVT", "::", "f16", "&&", "Subtarget", "->", "hasFullFP16", "(", ")", ")", "{", "FPType", "=", "\"f16\"", ";", "IsLegal", "=", "AArch64_AM", "::", "getFP16Imm", "(", "Imm", ")", "!=", "-", "1", ";", "}", "if", "(", "IsLegal", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Legal \"", "<<", "FPType", "<<", "\" imm value: \"", "<<", "ImmStrVal", "<<", "\"\\n\"", ")", ";", "return", "true", ";", "}", "if", "(", "!", "FPType", ".", "empty", "(", ")", ")", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Illegal \"", "<<", "FPType", "<<", "\" imm value: \"", "<<", "ImmStrVal", "<<", "\"\\n\"", ")", ";", "else", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Illegal fp imm \"", "<<", "ImmStrVal", "<<", "\": unsupported fp type\\n\"", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "can", "instruction", "select", "the", "specified", "FP", "immediate", "natively", "."], "TS_V_token": ["AArch64", "AArch64", "MVT::f16", "MVT::f64", "MVT::f32", "\"Legal fp imm: materialize 0 using the zero register\\n\"", "128", "MVT::f64", "\"f64\"", "AArch64_AM::getFP64Imm", "1", "MVT::f32", "\"f32\"", "AArch64_AM::getFP32Imm", "1", "MVT::f16", "\"f16\"", "AArch64_AM::getFP16Imm", "1", "\"Legal \"", "\" imm value: \"", "\"\\n\"", "\"Illegal \"", "\" imm value: \"", "\"\\n\"", "\"Illegal fp imm \"", "\": unsupported fp type\\n\""], "File": "AArch64ISelLowering18", "Func": "isFPImmLegal", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11204, "Length": 234, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "PPCTargetLowering", "::", "getOptimalMemOpType", "(", "const", "MemOp", "&", "Op", ",", "const", "AttributeList", "&", "FuncAttributes", ")", "const", "{", "if", "(", "getTargetMachine", "(", ")", ".", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", "&&", "Op", ".", "size", "(", ")", ">=", "16", "&&", "(", "Op", ".", "isAligned", "(", "Align", "(", "16", ")", ")", "||", "(", "(", "Op", ".", "isMemset", "(", ")", "&&", "Subtarget", ".", "hasVSX", "(", ")", ")", "||", "Subtarget", ".", "hasP8Vector", "(", ")", ")", ")", ")", "return", "MVT", "::", "v4i32", ";", "}", "if", "(", "Subtarget", ".", "isPPC64", "(", ")", ")", "{", "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": ["PowerPC", "PPC", "16", "16", "MVT::v4i32", "PPC", "MVT::i64", "MVT::i32"], "File": "PPCISelLowering100", "Func": "getOptimalMemOpType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11205, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64FastISel", "::", "fastMaterializeConstant", "(", "const", "Constant", "*", "C", ")", "{", "EVT", "CEVT", "=", "TLI", ".", "getValueType", "(", "DL", ",", "C", "->", "getType", "(", ")", ",", "true", ")", ";", "if", "(", "!", "CEVT", ".", "isSimple", "(", ")", ")", "return", "0", ";", "MVT", "VT", "=", "CEVT", ".", "getSimpleVT", "(", ")", ";", "if", "(", "const", "auto", "*", "CPN", "=", "dyn_cast", "<", "ConstantPointerNull", ">", "(", "C", ")", ")", "{", "(", "void", ")", "CPN", ";", "assert", "(", "CPN", "->", "getType", "(", ")", "->", "getPointerAddressSpace", "(", ")", "==", "0", "&&", "\"Unexpected address space\"", ")", ";", "assert", "(", "VT", "==", "MVT", "::", "i64", "&&", "\"Expected 64-bit pointers\"", ")", ";", "return", "materializeInt", "(", "ConstantInt", "::", "get", "(", "Type", "::", "getInt64Ty", "(", "*", "Context", ")", ",", "0", ")", ",", "VT", ")", ";", "}", "if", "(", "const", "auto", "*", "CI", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "C", ")", ")", "return", "materializeInt", "(", "CI", ",", "VT", ")", ";", "else", "if", "(", "const", "ConstantFP", "*", "CFP", "=", "dyn_cast", "<", "ConstantFP", ">", "(", "C", ")", ")", "return", "materializeFP", "(", "CFP", ",", "VT", ")", ";", "else", "if", "(", "const", "GlobalValue", "*", "GV", "=", "dyn_cast", "<", "GlobalValue", ">", "(", "C", ")", ")", "return", "materializeGV", "(", "GV", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Emit", "a", "constant", "in", "a", "register", "using", "target-specific", "logic", ",", "such", "as", "constant", "pool", "loads", "."], "TS_V_token": ["AArch64", "AArch64", "0", "0", "\"Unexpected address space\"", "MVT::i64", "\"Expected 64-bit pointers\"", "0", "0"], "File": "AArch64FastISel10", "Func": "fastMaterializeConstant", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11206, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"MVE VPT block insertion pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"MVE VPT block insertion pass\""], "File": "MVEVPTBlockPass (2)", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11207, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "LEGRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", ")", "const", "{", "return", "CC_Save_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["LEG", "LEG"], "File": "LEGRegisterInfo", "Func": "getCallPreservedMask", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11208, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "i386_djgpp_asm_named_section", "(", "const", "char", "*", "name", ",", "unsigned", "int", "flags", ",", "tree", ")", "{", "char", "flagchars", "[", "8", "]", ",", "*", "f", "=", "flagchars", ";", "if", "(", "flags", "&", "SECTION_WRITE", ")", "*", "f", "++", "=", "'w'", ";", "if", "(", "flags", "&", "SECTION_CODE", ")", "*", "f", "++", "=", "'x'", ";", "if", "(", "strncmp", "(", "name", ",", "LTO_SECTION_NAME_PREFIX", ",", "strlen", "(", "LTO_SECTION_NAME_PREFIX", ")", ")", "==", "0", ")", "*", "f", "++", "=", "'0'", ";", "*", "f", "++", "=", "'\\0'", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.section\\t%s,\\\"%s\\\"\\n\"", ",", "name", ",", "flagchars", ")", ";", "}", ""], "natrual_language": ["Function", "protypes", "for", "gcc/i386/djgpp.cc"], "TS_V_token": ["i386", "8", "0", "\"\\t.section\\t%s,\\\"%s\\\"\\n\""], "File": "djgpp", "Func": "i386_djgpp_asm_named_section", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11209, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "loongarch_symbol_type", "loongarch_classify_symbol", "(", "const_rtx", "x", ")", "{", "if", "(", "LABEL_REF_P", "(", "x", ")", ")", "return", "SYMBOL_GOT_DISP", ";", "gcc_assert", "(", "SYMBOL_REF_P", "(", "x", ")", ")", ";", "if", "(", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", ")", "return", "SYMBOL_TLS", ";", "if", "(", "SYMBOL_REF_P", "(", "x", ")", ")", "return", "SYMBOL_GOT_DISP", ";", "return", "SYMBOL_GOT_DISP", ";", "}", ""], "natrual_language": ["Return", "the", "method", "that", "should", "be", "used", "to", "access", "SYMBOL_REF", "or", "LABEL_REF", "X", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_classify_symbol", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11210, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "return", "createAArch64ELFObjectWriter", "(", "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": ["AArch64", "AArch64"], "File": "AArch64AsmBackend", "Func": "createObjectWriter", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11211, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_hard_regno_mode_ok", "(", "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", "||", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_PARTIAL_INT", ")", "return", "false", ";", "if", "(", "STACK_REGNO_P", "(", "regno", ")", ")", "return", "VALID_FP_MODE_P", "(", "mode", ")", ";", "if", "(", "MASK_REGNO_P", "(", "regno", ")", ")", "return", "(", "VALID_MASK_REG_MODE", "(", "mode", ")", "||", "(", "TARGET_AVX512BW", "&&", "VALID_MASK_AVX512BW_MODE", "(", "mode", ")", ")", ")", ";", "if", "(", "BND_REGNO_P", "(", "regno", ")", ")", "return", "VALID_BND_REG_MODE", "(", "mode", ")", ";", "if", "(", "SSE_REGNO_P", "(", "regno", ")", ")", "{", "if", "(", "TARGET_AVX512F", "&&", "(", "mode", "==", "XImode", "||", "VALID_AVX512F_REG_MODE", "(", "mode", ")", "||", "VALID_AVX512F_SCALAR_MODE", "(", "mode", ")", ")", ")", "return", "true", ";", "if", "(", "(", "TARGET_AVX5124FMAPS", "||", "TARGET_AVX5124VNNIW", ")", "&&", "MOD4_SSE_REGNO_P", "(", "regno", ")", "&&", "mode", "==", "V64SFmode", ")", "return", "true", ";", "if", "(", "(", "TARGET_AVX5124FMAPS", "||", "TARGET_AVX5124VNNIW", ")", "&&", "MOD4_SSE_REGNO_P", "(", "regno", ")", "&&", "mode", "==", "V64SImode", ")", "return", "true", ";", "if", "(", "TARGET_AVX512VL", "&&", "(", "mode", "==", "OImode", "||", "mode", "==", "TImode", "||", "VALID_AVX256_REG_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", ")", ")", "return", "true", ";", "else", "if", "(", "VALID_FP_MODE_P", "(", "mode", ")", ")", "return", "true", ";", "else", "if", "(", "VALID_DFP_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": "i3866", "Func": "ix86_hard_regno_mode_ok", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11212, "Length": 356, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "pad_direction", "ia64_function_arg_padding", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "if", "(", "TARGET_HPUX", "&&", "type", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "int_size_in_bytes", "(", "type", ")", "<", "UNITS_PER_WORD", ")", "return", "PAD_UPWARD", ";", "return", "default_function_arg_padding", "(", "mode", ",", "type", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_ARG_PADDING", ".", "For", "the", "HP-UX", "IA64", "aggregate", "parameters", "are", "passed", "stored", "in", "the", "most", "significant", "bits", "of", "the", "stack", "slot", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "ia64_function_arg_padding", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11213, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCTargetLowering", "::", "insertCopiesSplitCSR", "(", "MachineBasicBlock", "*", "Entry", ",", "const", "SmallVectorImpl", "<", "MachineBasicBlock", "*", ">", "&", "Exits", ")", "const", "{", "const", "PPCRegisterInfo", "*", "TRI", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "const", "MCPhysReg", "*", "IStart", "=", "TRI", "->", "getCalleeSavedRegsViaCopy", "(", "Entry", "->", "getParent", "(", ")", ")", ";", "if", "(", "!", "IStart", ")", "return", ";", "const", "TargetInstrInfo", "*", "TII", "=", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "MachineRegisterInfo", "*", "MRI", "=", "&", "Entry", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "Entry", "->", "begin", "(", ")", ";", "for", "(", "const", "MCPhysReg", "*", "I", "=", "IStart", ";", "*", "I", ";", "++", "I", ")", "{", "const", "TargetRegisterClass", "*", "RC", "=", "nullptr", ";", "if", "(", "PPC", "::", "G8RCRegClass", ".", "contains", "(", "*", "I", ")", ")", "RC", "=", "&", "PPC", "::", "G8RCRegClass", ";", "else", "if", "(", "PPC", "::", "F8RCRegClass", ".", "contains", "(", "*", "I", ")", ")", "RC", "=", "&", "PPC", "::", "F8RCRegClass", ";", "else", "if", "(", "PPC", "::", "CRRCRegClass", ".", "contains", "(", "*", "I", ")", ")", "RC", "=", "&", "PPC", "::", "CRRCRegClass", ";", "else", "if", "(", "PPC", "::", "VRRCRegClass", ".", "contains", "(", "*", "I", ")", ")", "RC", "=", "&", "PPC", "::", "VRRCRegClass", ";", "else", "llvm_unreachable", "(", "\"Unexpected register class in CSRsViaCopy!\"", ")", ";", "Register", "NewVR", "=", "MRI", "->", "createVirtualRegister", "(", "RC", ")", ";", "assert", "(", "Entry", "->", "getParent", "(", ")", "->", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "NoUnwind", ")", "&&", "\"Function should be nounwind in insertCopiesSplitCSR!\"", ")", ";", "Entry", "->", "addLiveIn", "(", "*", "I", ")", ";", "BuildMI", "(", "*", "Entry", ",", "MBBI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "NewVR", ")", ".", "addReg", "(", "*", "I", ")", ";", "for", "(", "auto", "*", "Exit", ":", "Exits", ")", "BuildMI", "(", "*", "Exit", ",", "Exit", "->", "getFirstTerminator", "(", ")", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "*", "I", ")", ".", "addReg", "(", "NewVR", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "explicit", "copies", "in", "entry", "and", "exit", "blocks", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::G8RCRegClass", "PPC::G8RCRegClass", "PPC::F8RCRegClass", "PPC::F8RCRegClass", "PPC::CRRCRegClass", "PPC::CRRCRegClass", "PPC::VRRCRegClass", "PPC::VRRCRegClass", "\"Unexpected register class in CSRsViaCopy!\"", "\"Function should be nounwind in insertCopiesSplitCSR!\""], "File": "PPCISelLowering101", "Func": "insertCopiesSplitCSR", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11214, "Length": 311, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SHUXIInstrInfo", "::", "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", ")", "&&", "\"SHUXI 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", "(", "SHUXI", "::", "JMP", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "return", "1", ";", "}", "unsigned", "Count", "=", "0", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "SHUXI", "::", "JCC", ")", ")", ".", "addMBB", "(", "TBB", ")", ".", "addImm", "(", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ")", ";", "++", "Count", ";", "if", "(", "FBB", ")", "{", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "SHUXI", "::", "JMP", ")", ")", ".", "addMBB", "(", "FBB", ")", ";", "++", "Count", ";", "}", "return", "Count", ";", "}", ""], "natrual_language": ["Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "."], "TS_V_token": ["SHUXI", "SHUXI", "\"insertBranch must not be told to insert a fallthrough\"", "1", "0", "\"SHUXI branch conditions have one component!\"", "\"code size not handled\"", "\"Unconditional branch with multiple successors!\"", "SHUXI::JMP", "1", "0", "SHUXI::JCC", "0", "SHUXI::JMP"], "File": "SHUXIInstrInfo", "Func": "insertBranch", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11215, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64RegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "AArch64", "::", "GPR32RegClassID", ":", "case", "AArch64", "::", "GPR32spRegClassID", ":", "case", "AArch64", "::", "GPR32allRegClassID", ":", "case", "AArch64", "::", "GPR64spRegClassID", ":", "case", "AArch64", "::", "GPR64allRegClassID", ":", "case", "AArch64", "::", "GPR64RegClassID", ":", "case", "AArch64", "::", "GPR32commonRegClassID", ":", "case", "AArch64", "::", "GPR64commonRegClassID", ":", "return", "32", "-", "1", "-", "(", "TFI", "->", "hasFP", "(", "MF", ")", "||", "STI", "->", "isTargetDarwin", "(", ")", ")", "-", "STI", "->", "isTargetDarwin", "(", ")", "-", "hasBasePointer", "(", "MF", ")", ";", "case", "AArch64", "::", "FPR8RegClassID", ":", "case", "AArch64", "::", "FPR16RegClassID", ":", "case", "AArch64", "::", "FPR32RegClassID", ":", "case", "AArch64", "::", "FPR64RegClassID", ":", "case", "AArch64", "::", "FPR128RegClassID", ":", "return", "32", ";", "case", "AArch64", "::", "DDRegClassID", ":", "case", "AArch64", "::", "DDDRegClassID", ":", "case", "AArch64", "::", "DDDDRegClassID", ":", "case", "AArch64", "::", "QQRegClassID", ":", "case", "AArch64", "::", "QQQRegClassID", ":", "case", "AArch64", "::", "QQQQRegClassID", ":", "return", "32", ";", "case", "AArch64", "::", "FPR128_loRegClassID", ":", "return", "16", ";", "}", "}", ""], "natrual_language": ["Return", "the", "register", "pressure", "``", "high", "water", "mark", "''", "for", "the", "specific", "register", "class", "."], "TS_V_token": ["AArch64", "AArch64", "0", "AArch64::GPR32RegClassID", "AArch64::GPR32spRegClassID", "AArch64::GPR32allRegClassID", "AArch64::GPR64spRegClassID", "AArch64::GPR64allRegClassID", "AArch64::GPR64RegClassID", "AArch64::GPR32commonRegClassID", "AArch64::GPR64commonRegClassID", "32", "1", "AArch64::FPR8RegClassID", "AArch64::FPR16RegClassID", "AArch64::FPR32RegClassID", "AArch64::FPR64RegClassID", "AArch64::FPR128RegClassID", "32", "AArch64::DDRegClassID", "AArch64::DDDRegClassID", "AArch64::DDDDRegClassID", "AArch64::QQRegClassID", "AArch64::QQQRegClassID", "AArch64::QQQQRegClassID", "32", "AArch64::FPR128_loRegClassID", "16"], "File": "AArch64RegisterInfo47", "Func": "getRegPressureLimit", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11216, "Length": 187, "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", "::", "BUILD_VECTOR", ":", "return", "PerformBuildVectorCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ",", "*", "this", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "PerformSELECTCombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "case", "X86ISD", "::", "CMOV", ":", "return", "PerformCMOVCombine", "(", "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", ")", ";", "}", "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::BUILD_VECTOR", "ISD::SELECT", "X86ISD::CMOV", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::STORE", "X86ISD::FXOR", "X86ISD::FOR", "X86ISD::FAND", "X86ISD::BT"], "File": "X86ISelLowering160", "Func": "PerformDAGCombine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11217, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "isFPExtFree", "(", "EVT", "DestVT", ",", "EVT", "SrcVT", ")", "const", "{", "assert", "(", "DestVT", ".", "isFloatingPoint", "(", ")", "&&", "SrcVT", ".", "isFloatingPoint", "(", ")", "&&", "\"invalid fpext types\"", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "an", "fpext", "operation", "is", "free", "(", "for", "instance", ",", "because", "single-precision", "floating-point", "numbers", "are", "implicitly", "extended", "to", "double-precision", ")", "."], "TS_V_token": ["PowerPC", "PPC", "\"invalid fpext types\""], "File": "PPCISelLowering106", "Func": "isFPExtFree", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11218, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "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", ";", "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", "5", ";", "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", "PPC", "0", "32", "16", "32", "5"], "File": "PPCISelLowering111", "Func": "getPrefLoopAlignment", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11219, "Length": 196, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetLowering", "::", "shouldSignExtendTypeInLibCall", "(", "EVT", "Type", ",", "bool", "IsSigned", ")", "const", "{", "if", "(", "Subtarget", ".", "hasMips3", "(", ")", "&&", "Subtarget", ".", "useSoftFloat", "(", ")", ")", "{", "if", "(", "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", "Mips", "MVT::i32"], "File": "MipsISelLowering (2)5", "Func": "shouldSignExtendTypeInLibCall", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11220, "Length": 44, "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": 11221, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "function_builder", "::", "add_overloaded_function", "(", "const", "function_instance", "&", "instance", ",", "aarch64_feature_flags", "required_extensions", ")", "{", "char", "*", "name", "=", "get_name", "(", "instance", ",", "true", ")", ";", "if", "(", "registered_function", "*", "*", "map_value", "=", "m_overload_names", ".", "get", "(", "name", ")", ")", "{", "gcc_assert", "(", "(", "*", "map_value", ")", "->", "instance", "==", "instance", "&&", "(", "(", "*", "map_value", ")", "->", "required_extensions", "&", "~", "required_extensions", ")", "==", "0", ")", ";", "obstack_free", "(", "&", "m_string_obstack", ",", "name", ")", ";", "}", "else", "{", "registered_function", "&", "rfn", "=", "add_function", "(", "instance", ",", "name", ",", "m_overload_type", ",", "NULL_TREE", ",", "required_extensions", ",", "true", ",", "m_direct_overloads", ")", ";", "m_overload_names", ".", "put", "(", "name", ",", "&", "rfn", ")", ";", "}", "}", ""], "natrual_language": ["Add", "one", "function", "decl", "for", "INSTANCE", ",", "to", "be", "used", "with", "manual", "overload", "resolution", ".", "REQUIRED_EXTENSIONS", "are", "the", "set", "of", "architecture", "extensions", "that", "the", "function", "requires", ".", "For", "simplicity", ",", "deal", "with", "duplicate", "attempts", "to", "add", "the", "same", "function", ",", "including", "cases", "in", "which", "the", "new", "function", "requires", "more", "features", "than", "the", "original", "one", "did", ".", "In", "that", "case", "we", "'ll", "check", "whether", "the", "required", "features", "are", "available", "as", "part", "of", "resolving", "the", "function", "to", "the", "relevant", "unique", "function", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64-sve-builtins3", "Func": "add_overloaded_function", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11222, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "dump", "(", ")", "{", "errs", "(", ")", "<<", "\"SystemZAddressingMode \"", "<<", "this", "<<", "'\\n'", ";", "errs", "(", ")", "<<", "\" Base \"", ";", "if", "(", "Base", ".", "getNode", "(", ")", "!=", "0", ")", "Base", ".", "getNode", "(", ")", "->", "dump", "(", ")", ";", "else", "errs", "(", ")", "<<", "\"null\\n\"", ";", "if", "(", "hasIndexField", "(", ")", ")", "{", "errs", "(", ")", "<<", "\" Index \"", ";", "if", "(", "Index", ".", "getNode", "(", ")", "!=", "0", ")", "Index", ".", "getNode", "(", ")", "->", "dump", "(", ")", ";", "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 \"", "0", "\"null\\n\"", "\" Index \"", "0", "\"null\\n\"", "\" Disp \"", "\" + ADJDYNALLOC\""], "File": "SystemZISelDAGToDAG1", "Func": "dump", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11223, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_split_atomic_op", "(", "enum", "rtx_code", "code", ",", "rtx", "old_out", ",", "rtx", "new_out", ",", "rtx", "mem", ",", "rtx", "value", ",", "rtx", "model_rtx", ",", "rtx", "cond", ")", "{", "enum", "memmodel", "model", "=", "(", "enum", "memmodel", ")", "INTVAL", "(", "model_rtx", ")", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "machine_mode", "wmode", "=", "(", "mode", "==", "DImode", "?", "DImode", ":", "SImode", ")", ";", "rtx_code_label", "*", "label", ";", "rtx", "x", ";", "bool", "use_acquire", "=", "TARGET_HAVE_LDACQ", "&&", "!", "(", "model", "==", "MEMMODEL_RELAXED", "||", "model", "==", "MEMMODEL_CONSUME", "||", "model", "==", "MEMMODEL_RELEASE", ")", ";", "bool", "use_release", "=", "TARGET_HAVE_LDACQ", "&&", "!", "(", "model", "==", "MEMMODEL_RELAXED", "||", "model", "==", "MEMMODEL_CONSUME", "||", "model", "==", "MEMMODEL_ACQUIRE", ")", ";", "if", "(", "!", "(", "use_acquire", "||", "use_release", ")", ")", "arm_pre_atomic_barrier", "(", "model", ")", ";", "label", "=", "gen_label_rtx", "(", ")", ";", "emit_label", "(", "label", ")", ";", "if", "(", "new_out", ")", "new_out", "=", "gen_lowpart", "(", "wmode", ",", "new_out", ")", ";", "if", "(", "old_out", ")", "old_out", "=", "gen_lowpart", "(", "wmode", ",", "old_out", ")", ";", "else", "old_out", "=", "new_out", ";", "value", "=", "simplify_gen_subreg", "(", "wmode", ",", "value", ",", "mode", ",", "0", ")", ";", "arm_emit_load_exclusive", "(", "mode", ",", "old_out", ",", "mem", ",", "use_acquire", ")", ";", "switch", "(", "code", ")", "{", "case", "SET", ":", "new_out", "=", "value", ";", "break", ";", "case", "NOT", ":", "x", "=", "gen_rtx_AND", "(", "wmode", ",", "old_out", ",", "value", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "new_out", ",", "x", ")", ")", ";", "x", "=", "gen_rtx_NOT", "(", "wmode", ",", "new_out", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "new_out", ",", "x", ")", ")", ";", "break", ";", "case", "MINUS", ":", "if", "(", "CONST_INT_P", "(", "value", ")", ")", "{", "value", "=", "GEN_INT", "(", "-", "INTVAL", "(", "value", ")", ")", ";", "code", "=", "PLUS", ";", "}", "case", "PLUS", ":", "if", "(", "mode", "==", "DImode", ")", "{", "emit_move_insn", "(", "new_out", ",", "old_out", ")", ";", "if", "(", "code", "==", "PLUS", ")", "x", "=", "gen_adddi3", "(", "new_out", ",", "new_out", ",", "value", ")", ";", "else", "x", "=", "gen_subdi3", "(", "new_out", ",", "new_out", ",", "value", ")", ";", "emit_insn", "(", "x", ")", ";", "break", ";", "}", "default", ":", "x", "=", "gen_rtx_fmt_ee", "(", "code", ",", "wmode", ",", "old_out", ",", "value", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "new_out", ",", "x", ")", ")", ";", "break", ";", "}", "arm_emit_store_exclusive", "(", "mode", ",", "cond", ",", "mem", ",", "gen_lowpart", "(", "mode", ",", "new_out", ")", ",", "use_release", ")", ";", "x", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "cond", ",", "const0_rtx", ")", ";", "emit_unlikely_jump", "(", "gen_cbranchsi4", "(", "x", ",", "cond", ",", "const0_rtx", ",", "label", ")", ")", ";", "if", "(", "!", "(", "use_acquire", "||", "use_release", ")", ")", "arm_post_atomic_barrier", "(", "model", ")", ";", "}", ""], "natrual_language": ["Split", "an", "atomic", "operation", "pattern", ".", "Operation", "is", "given", "by", "CODE", "and", "is", "one", "of", "PLUS", ",", "MINUS", ",", "IOR", ",", "XOR", ",", "SET", "(", "for", "an", "exchange", "operation", ")", "or", "NOT", "(", "for", "a", "nand", "operation", ")", ".", "Operation", "is", "performed", "on", "the", "content", "at", "MEM", "and", "on", "VALUE", "following", "the", "memory", "model", "MODEL_RTX", ".", "The", "content", "at", "MEM", "before", "and", "after", "the", "operation", "is", "returned", "in", "OLD_OUT", "and", "NEW_OUT", "respectively", "while", "the", "success", "of", "the", "operation", "is", "returned", "in", "COND", ".", "Using", "a", "scratch", "register", "or", "an", "operand", "register", "for", "these", "determines", "what", "result", "is", "returned", "for", "that", "pattern", "."], "TS_V_token": ["arm", "0"], "File": "arm4", "Func": "arm_split_atomic_op", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11224, "Length": 419, "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": 11225, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "lowerInterleavedLoad", "(", "LoadInst", "*", "LI", ",", "ArrayRef", "<", "ShuffleVectorInst", "*", ">", "Shuffles", ",", "ArrayRef", "<", "unsigned", ">", "Indices", ",", "unsigned", "Factor", ")", "const", "{", "assert", "(", "Factor", ">=", "2", "&&", "Factor", "<=", "getMaxSupportedInterleaveFactor", "(", ")", "&&", "\"Invalid interleave factor\"", ")", ";", "assert", "(", "!", "Shuffles", ".", "empty", "(", ")", "&&", "\"Empty shufflevector input\"", ")", ";", "assert", "(", "Shuffles", ".", "size", "(", ")", "==", "Indices", ".", "size", "(", ")", "&&", "\"Unmatched number of shufflevectors and indices\"", ")", ";", "IRBuilder", "<", ">", "Builder", "(", "LI", ")", ";", "X86InterleavedAccessGroup", "Grp", "(", "LI", ",", "Shuffles", ",", "Indices", ",", "Factor", ",", "Subtarget", ",", "Builder", ")", ";", "return", "Grp", ".", "isSupported", "(", ")", "&&", "Grp", ".", "lowerIntoOptimizedSequence", "(", ")", ";", "}", ""], "natrual_language": ["Lower", "interleaved", "load", "(", "s", ")", "into", "target", "specific", "instructions/intrinsics", "."], "TS_V_token": ["X86", "X86", "2", "\"Invalid interleave factor\"", "\"Empty shufflevector input\"", "\"Unmatched number of shufflevectors and indices\"", "X86"], "File": "X86InterleavedAccess", "Func": "lowerInterleavedLoad", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11226, "Length": 109, "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": 11227, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "contains_string_p", "(", "const", "char", "*", "*", "arr", ",", "const", "char", "*", "str", ")", "{", "bool", "res", "=", "false", ";", "if", "(", "arr", "[", "0", "]", "!=", "NULL", ")", "{", "res", "=", "strstr", "(", "arr", "[", "0", "]", ",", "str", ")", "!=", "NULL", ";", "if", "(", "res", ")", "return", "res", ";", "if", "(", "arr", "[", "1", "]", "!=", "NULL", ")", "return", "strstr", "(", "arr", "[", "1", "]", ",", "str", ")", "!=", "NULL", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "iff", "ARR", "contains", "STR", "in", "one", "of", "its", "two", "elements", "."], "TS_V_token": ["aarch64", "0", "0", "1", "1"], "File": "driver-aarch642", "Func": "contains_string_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11228, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineFrameInfo", "&", "MFFrame", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "if", "(", "!", "usePackedStack", "(", "MF", ")", ")", "getOrCreateFramePointerSaveIndex", "(", "MF", ")", ";", "uint64_t", "StackSize", "=", "(", "MFFrame", ".", "estimateStackSize", "(", "MF", ")", "+", "SystemZMC", "::", "CallFrameSize", ")", ";", "int64_t", "MaxArgOffset", "=", "0", ";", "for", "(", "int", "I", "=", "MFFrame", ".", "getObjectIndexBegin", "(", ")", ";", "I", "!=", "0", ";", "++", "I", ")", "if", "(", "MFFrame", ".", "getObjectOffset", "(", "I", ")", ">=", "0", ")", "{", "int64_t", "ArgOffset", "=", "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", "0", "0", "0", "12", "8", "8", "8", "8"], "File": "SystemZFrameLowering27", "Func": "processFunctionBeforeFrameFinalized", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11229, "Length": 171, "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", ".", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "TM", ".", "getSubtargetImpl", "(", ")", "->", "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": "Thumb2ITBlockPass34", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11230, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_set_sched_context", "(", "void", "*", "_sc", ")", "{", "rs6000_sched_context_t", "sc", "=", "(", "rs6000_sched_context_t", ")", "_sc", ";", "gcc_assert", "(", "sc", "!=", "NULL", ")", ";", "cached_can_issue_more", "=", "sc", "->", "cached_can_issue_more", ";", "last_scheduled_insn", "=", "sc", "->", "last_scheduled_insn", ";", "load_store_pendulum", "=", "sc", "->", "load_store_pendulum", ";", "divide_cnt", "=", "sc", "->", "divide_cnt", ";", "vec_pairing", "=", "sc", "->", "vec_pairing", ";", "}", ""], "natrual_language": ["Sets", "the", "global", "scheduling", "context", "to", "the", "one", "pointed", "to", "by", "_SC", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_set_sched_context", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11231, "Length": 55, "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": ["CJG"], "File": "CJGAsmBackend", "Func": "fixupNeedsRelaxation", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11232, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "auto", "PrintImmValue", "=", "[", "&", "]", "(", "const", "MCExpr", "*", "Val", ",", "const", "char", "*", "VName", ")", "{", "if", "(", "Val", "->", "getKind", "(", ")", "==", "MCExpr", "::", "Constant", ")", "{", "if", "(", "auto", "Imm", "=", "cast", "<", "MCConstantExpr", ">", "(", "Val", ")", "->", "getValue", "(", ")", ")", "OS", "<<", "VName", "<<", "Imm", ";", "}", "else", "if", "(", "Val", "->", "getKind", "(", ")", "==", "MCExpr", "::", "SymbolRef", ")", "{", "if", "(", "auto", "*", "SRE", "=", "dyn_cast", "<", "MCSymbolRefExpr", ">", "(", "Val", ")", ")", "{", "const", "MCSymbol", "&", "Sym", "=", "SRE", "->", "getSymbol", "(", ")", ";", "if", "(", "const", "char", "*", "SymNameStr", "=", "Sym", ".", "getName", "(", ")", ".", "data", "(", ")", ")", "OS", "<<", "VName", "<<", "SymNameStr", ";", "}", "}", "}", ";", "switch", "(", "Kind", ")", "{", "case", "Token", ":", "OS", "<<", "Tok", ".", "Data", ";", "break", ";", "case", "Register", ":", "OS", "<<", "\"Reg:\"", "<<", "X86IntelInstPrinter", "::", "getRegisterName", "(", "Reg", ".", "RegNo", ")", ";", "break", ";", "case", "DXRegister", ":", "OS", "<<", "\"DXReg\"", ";", "break", ";", "case", "Immediate", ":", "PrintImmValue", "(", "Imm", ".", "Val", ",", "\"Imm:\"", ")", ";", "break", ";", "case", "Prefix", ":", "OS", "<<", "\"Prefix:\"", "<<", "Pref", ".", "Prefixes", ";", "break", ";", "case", "Memory", ":", "OS", "<<", "\"Memory: ModeSize=\"", "<<", "Mem", ".", "ModeSize", ";", "if", "(", "Mem", ".", "Size", ")", "OS", "<<", "\",Size=\"", "<<", "Mem", ".", "Size", ";", "if", "(", "Mem", ".", "BaseReg", ")", "OS", "<<", "\",BaseReg=\"", "<<", "X86IntelInstPrinter", "::", "getRegisterName", "(", "Mem", ".", "BaseReg", ")", ";", "if", "(", "Mem", ".", "IndexReg", ")", "OS", "<<", "\",IndexReg=\"", "<<", "X86IntelInstPrinter", "::", "getRegisterName", "(", "Mem", ".", "IndexReg", ")", ";", "if", "(", "Mem", ".", "Scale", ")", "OS", "<<", "\",Scale=\"", "<<", "Mem", ".", "Scale", ";", "if", "(", "Mem", ".", "Disp", ")", "PrintImmValue", "(", "Mem", ".", "Disp", ",", "\",Disp=\"", ")", ";", "if", "(", "Mem", ".", "SegReg", ")", "OS", "<<", "\",SegReg=\"", "<<", "X86IntelInstPrinter", "::", "getRegisterName", "(", "Mem", ".", "SegReg", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["X86", "\"Reg:\"", "X86", "\"DXReg\"", "\"Imm:\"", "\"Prefix:\"", "\"Memory: ModeSize=\"", "\",Size=\"", "\",BaseReg=\"", "X86", "\",IndexReg=\"", "X86", "\",Scale=\"", "\",Disp=\"", "\",SegReg=\"", "X86"], "File": "X86Operand14", "Func": "print", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11233, "Length": 317, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "class", "LLVM_LIBRARY_VISIBILITY", "KudeyarMCInstLower", "{", "typedef", "MachineOperand", "::", "MachineOperandType", "MachineOperandType", ";", "KudeyarAsmPrinter", "&", "Printer", ";", "public", ":", "KudeyarMCInstLower", "(", "KudeyarAsmPrinter", "&", "asmprinter", ")", ";", "void", "Lower", "(", "const", "MachineInstr", "*", "MI", ",", "MCInst", "&", "OutMI", ")", "const", ";", "private", ":", "MCSymbol", "*", "GetGlobalAddressSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", ";", "MCSymbol", "*", "GetExternalSymbolSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", ";", "MCSymbol", "*", "GetJumpTableSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", ";", "MCSymbol", "*", "GetConstantPoolIndexSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", ";", "MCSymbol", "*", "GetBlockAddressSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", ";", "MCOperand", "LowerSymbolOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCSymbol", "*", "Sym", ")", "const", ";", "MCOperand", "LowerOperand", "(", "const", "MachineOperand", "&", "MO", ",", "unsigned", "offset", "=", "0", ")", "const", ";", "}", ""], "natrual_language": ["Return", "the", "MCSymbol", "for", "the", "specified", "ExternalSymbol", "."], "TS_V_token": ["Kudeyar", "Kudeyar", "Kudeyar", "Kudeyar", "Kudeyar", "0"], "File": "KudeyarMCInstLower", "Func": "GetExternalSymbolSymbol", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11234, "Length": 124, "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", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "assert", "(", "(", "RC", "==", "ARM", "::", "tGPRRegisterClass", "||", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "SrcReg", ")", "&&", "isARMLowRegister", "(", "SrcReg", ")", ")", ")", "&&", "\"Unknown regclass!\"", ")", ";", "if", "(", "RC", "==", "ARM", "::", "tGPRRegisterClass", "||", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "SrcReg", ")", "&&", "isARMLowRegister", "(", "SrcReg", ")", ")", ")", "{", "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", "::", "tSpill", ")", ")", ".", "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", "0", "ARM::tSpill", "0"], "File": "Thumb1InstrInfo2", "Func": "storeRegToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11235, "Length": 205, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "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": "ARMOptimizeBarriersPass", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11236, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86AsmBackend", "::", "getMaximumNopSize", "(", ")", "const", "{", "if", "(", "STI", ".", "hasFeature", "(", "X86", "::", "Mode16Bit", ")", ")", "return", "4", ";", "if", "(", "!", "STI", ".", "hasFeature", "(", "X86", "::", "FeatureNOPL", ")", "&&", "!", "STI", ".", "hasFeature", "(", "X86", "::", "Mode64Bit", ")", ")", "return", "1", ";", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "FeatureFast7ByteNOP", "]", ")", "return", "7", ";", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "FeatureFast15ByteNOP", "]", ")", "return", "15", ";", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "FeatureFast11ByteNOP", "]", ")", "return", "11", ";", "return", "10", ";", "}", ""], "natrual_language": ["Returns", "the", "maximum", "size", "of", "a", "nop", "in", "bytes", "on", "this", "target", "."], "TS_V_token": ["X86", "X86", "X86::Mode16Bit", "4", "X86::FeatureNOPL", "X86::Mode64Bit", "1", "X86::FeatureFast7ByteNOP", "7", "X86::FeatureFast15ByteNOP", "15", "X86::FeatureFast11ByteNOP", "11", "10"], "File": "X86AsmBackend42", "Func": "getMaximumNopSize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11237, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "Thumb1RegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["ARM"], "File": "Thumb1InstrInfo", "Func": "getRegisterInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11238, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "SelectAddressRegReg", "(", "SDValue", "N", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Index", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "int16_t", "imm", "=", "0", ";", "if", "(", "N", ".", "getOpcode", "(", ")", "==", "ISD", "::", "ADD", ")", "{", "if", "(", "isIntS16Immediate", "(", "N", ".", "getOperand", "(", "1", ")", ",", "imm", ")", ")", "return", "false", ";", "if", "(", "N", ".", "getOperand", "(", "1", ")", ".", "getOpcode", "(", ")", "==", "PPCISD", "::", "Lo", ")", "return", "false", ";", "Base", "=", "N", ".", "getOperand", "(", "0", ")", ";", "Index", "=", "N", ".", "getOperand", "(", "1", ")", ";", "return", "true", ";", "}", "else", "if", "(", "N", ".", "getOpcode", "(", ")", "==", "ISD", "::", "OR", ")", "{", "if", "(", "isIntS16Immediate", "(", "N", ".", "getOperand", "(", "1", ")", ",", "imm", ")", ")", "return", "false", ";", "KnownBits", "LHSKnown", ",", "RHSKnown", ";", "DAG", ".", "computeKnownBits", "(", "N", ".", "getOperand", "(", "0", ")", ",", "LHSKnown", ")", ";", "if", "(", "LHSKnown", ".", "Zero", ".", "getBoolValue", "(", ")", ")", "{", "DAG", ".", "computeKnownBits", "(", "N", ".", "getOperand", "(", "1", ")", ",", "RHSKnown", ")", ";", "if", "(", "~", "(", "LHSKnown", ".", "Zero", "|", "RHSKnown", ".", "Zero", ")", "==", "0", ")", "{", "Base", "=", "N", ".", "getOperand", "(", "0", ")", ";", "Index", "=", "N", ".", "getOperand", "(", "1", ")", ";", "return", "true", ";", "}", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["SelectAddressRegReg", "-", "Given", "the", "specified", "addressed", ",", "check", "to", "see", "if", "it", "can", "be", "more", "efficiently", "represented", "as", "[", "r+imm", "]", "."], "TS_V_token": ["PowerPC", "PPC", "0", "ISD::ADD", "1", "1", "PPCISD::Lo", "0", "1", "ISD::OR", "1", "0", "1", "0", "0", "1"], "File": "PPCISelLowering", "Func": "SelectAddressRegReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11239, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isProfitableToIfCvt", "(", "MachineBasicBlock", "&", "MBB", ",", "unsigned", "NumCycles", ",", "unsigned", "ExtraPredCycles", ",", "BranchProbability", "Probability", ")", "const", "{", "if", "(", "!", "NumCycles", ")", "return", "false", ";", "if", "(", "MBB", ".", "getParent", "(", ")", "->", "getFunction", "(", ")", "->", "optForSize", "(", ")", ")", "{", "MachineBasicBlock", "*", "Pred", "=", "*", "MBB", ".", "pred_begin", "(", ")", ";", "if", "(", "!", "Pred", "->", "empty", "(", ")", ")", "{", "MachineInstr", "*", "LastMI", "=", "&", "*", "Pred", "->", "rbegin", "(", ")", ";", "if", "(", "LastMI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2Bcc", ")", "{", "MachineBasicBlock", "::", "iterator", "CmpMI", "=", "LastMI", ";", "if", "(", "CmpMI", "!=", "Pred", "->", "begin", "(", ")", ")", "{", "--", "CmpMI", ";", "if", "(", "CmpMI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "tCMPi8", "||", "CmpMI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2CMPri", ")", "{", "unsigned", "Reg", "=", "CmpMI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "unsigned", "PredReg", "=", "0", ";", "ARMCC", "::", "CondCodes", "P", "=", "getInstrPredicate", "(", "CmpMI", ",", "PredReg", ")", ";", "if", "(", "P", "==", "ARMCC", "::", "AL", "&&", "CmpMI", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "==", "0", "&&", "isARMLowRegister", "(", "Reg", ")", ")", "return", "false", ";", "}", "}", "}", "}", "}", "const", "unsigned", "ScalingUpFactor", "=", "1024", ";", "unsigned", "UnpredCost", "=", "Probability", ".", "scale", "(", "NumCycles", "*", "ScalingUpFactor", ")", ";", "UnpredCost", "+=", "ScalingUpFactor", ";", "UnpredCost", "+=", "Subtarget", ".", "getMispredictionPenalty", "(", ")", "*", "ScalingUpFactor", "/", "10", ";", "return", "(", "NumCycles", "+", "ExtraPredCycles", ")", "*", "ScalingUpFactor", "<=", "UnpredCost", ";", "}", ""], "natrual_language": ["Second", "variant", "of", "isProfitableToIfCvt", "."], "TS_V_token": ["ARM", "ARM", "ARM::t2Bcc", "ARM::tCMPi8", "ARM::t2CMPri", "0", "0", "ARMCC::CondCodes", "ARMCC::AL", "1", "0", "ARM", "1024", "10"], "File": "ARMBaseInstrInfo (2)3", "Func": "isProfitableToIfCvt", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11240, "Length": 246, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsABIInfo", "::", "GetCalleeAllocdArgSizeInBytes", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "if", "(", "IsO32", "(", ")", ")", "return", "CC", "!=", "CallingConv", "::", "Fast", "?", "16", ":", "0", ";", "if", "(", "IsN32", "(", ")", "||", "IsN64", "(", ")", ")", "return", "0", ";", "llvm_unreachable", "(", "\"Unhandled ABI\"", ")", ";", "}", ""], "natrual_language": ["Obtain", "the", "size", "of", "the", "area", "allocated", "by", "the", "callee", "for", "arguments", "."], "TS_V_token": ["Mips", "Mips", "16", "0", "0", "\"Unhandled ABI\""], "File": "MipsABIInfo1", "Func": "GetCalleeAllocdArgSizeInBytes", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11241, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "reverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "if", "(", "Cond", ".", "size", "(", ")", "==", "2", ")", "{", "ARMCC", "::", "CondCodes", "CC", "=", "(", "ARMCC", "::", "CondCodes", ")", "(", "int", ")", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ";", "Cond", "[", "0", "]", ".", "setImm", "(", "ARMCC", "::", "getOppositeCondition", "(", "CC", ")", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "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": ["ARM", "ARM", "2", "ARMCC::CondCodes", "ARMCC::CondCodes", "0", "0", "ARMCC::getOppositeCondition"], "File": "ARMBaseInstrInfo70", "Func": "reverseBranchCondition", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11242, "Length": 70, "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": ["powerpcspe", "\"\\nrs6000_preferred_reload_class, return %s, rclass = %s, \"", "\"mode = %s, x:\\n\""], "File": "powerpcspe", "Func": "rs6000_debug_preferred_reload_class", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11243, "Length": 59, "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": 11244, "Length": 170, "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": 11245, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_expand_vector_extract", "(", "rtx", "target", ",", "rtx", "vec", ",", "int", "elt", ")", "{", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "vec", ")", ";", "enum", "machine_mode", "inner_mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "rtx", "mem", ",", "x", ";", "mem", "=", "assign_stack_temp", "(", "mode", ",", "GET_MODE_SIZE", "(", "mode", ")", ",", "0", ")", ";", "mem", "=", "adjust_address_nv", "(", "mem", ",", "mode", ",", "elt", "*", "GET_MODE_SIZE", "(", "inner_mode", ")", ")", ";", "x", "=", "gen_rtx_UNSPEC", "(", "VOIDmode", ",", "gen_rtvec", "(", "1", ",", "const0_rtx", ")", ",", "UNSPEC_STVE", ")", ";", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "gen_rtx_SET", "(", "VOIDmode", ",", "mem", ",", "vec", ")", ",", "x", ")", ")", ")", ";", "emit_move_insn", "(", "target", ",", "adjust_address_nv", "(", "mem", ",", "inner_mode", ",", "0", ")", ")", ";", "}", ""], "natrual_language": ["Extract", "field", "ELT", "from", "VEC", "into", "TARGET", "."], "TS_V_token": ["rs6000", "0", "1", "2", "0"], "File": "rs60003", "Func": "rs6000_expand_vector_extract", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11246, "Length": 121, "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", "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", "(", "FI", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "if", "(", "RC", "==", "&", "SP", "::", "I64RegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STXri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "IntRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "FPRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STFri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "DFPRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STDFri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "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": ["Sparc", "Sparc", "SP::I64RegsRegClass", "SP::STXri", "0", "SP::IntRegsRegClass", "SP::STri", "0", "SP::FPRegsRegClass", "SP::STFri", "0", "SP::DFPRegsRegClass", "SP::STDFri", "0", "\"Can't store this register to stack slot\""], "File": "SparcInstrInfo2", "Func": "storeRegToStackSlot", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11247, "Length": 322, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "Subtarget", ".", "getFrameLowering", "(", ")", ";", "bool", "IsN64", "=", "static_cast", "<", "const", "MipsTargetMachine", "&", ">", "(", "MF", ".", "getTarget", "(", ")", ")", ".", "getABI", "(", ")", ".", "IsN64", "(", ")", ";", "if", "(", "Subtarget", ".", "inMips16Mode", "(", ")", ")", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "Mips", "::", "S0", ":", "Mips", "::", "SP", ";", "else", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "(", "IsN64", "?", "Mips", "::", "FP_64", ":", "Mips", "::", "FP", ")", ":", "(", "IsN64", "?", "Mips", "::", "SP_64", ":", "Mips", "::", "SP", ")", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips::S0", "Mips::SP", "Mips::FP_64", "Mips::FP", "Mips::SP_64", "Mips::SP"], "File": "MipsRegisterInfo32", "Func": "getFrameRegister", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11248, "Length": 106, "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", ")", "return", "true", ";", "}", "bool", "ReverseVEXT", ",", "isV_UNDEF", ";", "unsigned", "Imm", ",", "WhichResult", ";", "unsigned", "EltSize", "=", "VT", ".", "getScalarSizeInBits", "(", ")", ";", "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 (3)", "Func": "isShuffleMaskLegal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11249, "Length": 271, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "X86InstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["X86", "X86"], "File": "X86Subtarget (2)", "Func": "getInstrInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11250, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"MINA32 DAG->DAG Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["MINA32", "\"MINA32 DAG->DAG Instruction Selection\""], "File": "MINA32ISelDAGToDAG", "Func": "getPassName", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11251, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_n9_2r1w_mm_to_ex_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "rtx", "def_reg", ";", "switch", "(", "get_attr_type", "(", "producer", ")", ")", "{", "case", "TYPE_LOAD", ":", "if", "(", "post_update_insn_p", "(", "producer", ")", ")", "return", "false", ";", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "break", ";", "case", "TYPE_MUL", ":", "case", "TYPE_MAC", ":", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "n9_2r1w_consumed_by_ex_dep_p", "(", "consumer", ",", "def_reg", ")", ";", "}", ""], "natrual_language": ["Check", "dependencies", "from", "MM", "to", "EX", "."], "TS_V_token": ["nds32"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n9_2r1w_mm_to_ex_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11252, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "KudeyarFrameLowering", "::", "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": ["Kudeyar", "Kudeyar"], "File": "KudeyarFrameLowering", "Func": "hasFP", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11253, "Length": 56, "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", ",", "Subtarget", "->", "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::EVLDD", "PPC::LFD"], "File": "PPCFastISel12", "Func": "tryToFoldLoadIntoMI", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11254, "Length": 380, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isReg", "(", ")", "const", "{", "return", "Kind", "==", "CV_Register", ";", "}", ""], "natrual_language": ["isReg", "-", "Is", "this", "a", "register", "operand", "?"], "TS_V_token": ["PowerPC"], "File": "PPCCTRLoops2", "Func": "isReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11255, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ELFAArch64AsmBackend", "::", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64AsmBackend16", "Func": "fixupNeedsRelaxation", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11256, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "vr4130_swap_insns_p", "(", "rtx_insn", "*", "insn1", ",", "rtx_insn", "*", "insn2", ")", "{", "sd_iterator_def", "sd_it", ";", "dep_t", "dep", ";", "FOR_EACH_DEP", "(", "insn1", ",", "SD_LIST_FORW", ",", "sd_it", ",", "dep", ")", "if", "(", "DEP_TYPE", "(", "dep", ")", "==", "REG_DEP_ANTI", "&&", "INSN_PRIORITY", "(", "DEP_CON", "(", "dep", ")", ")", ">", "INSN_PRIORITY", "(", "insn2", ")", "&&", "recog_memoized", "(", "DEP_CON", "(", "dep", ")", ")", ">=", "0", "&&", "get_attr_vr4130_class", "(", "DEP_CON", "(", "dep", ")", ")", "==", "VR4130_CLASS_ALU", ")", "return", "false", ";", "if", "(", "vr4130_last_insn", "!=", "0", "&&", "recog_memoized", "(", "insn1", ")", ">=", "0", "&&", "recog_memoized", "(", "insn2", ")", ">=", "0", ")", "{", "enum", "attr_vr4130_class", "class1", "=", "get_attr_vr4130_class", "(", "insn1", ")", ";", "enum", "attr_vr4130_class", "class2", "=", "get_attr_vr4130_class", "(", "insn2", ")", ";", "if", "(", "class1", "!=", "class2", "||", "class1", "==", "VR4130_CLASS_ALU", ")", "{", "bool", "dep1_p", "=", "vr4130_true_reg_dependence_p", "(", "insn1", ")", ";", "bool", "dep2_p", "=", "vr4130_true_reg_dependence_p", "(", "insn2", ")", ";", "if", "(", "dep1_p", "!=", "dep2_p", ")", "return", "dep1_p", ";", "if", "(", "class1", "!=", "VR4130_CLASS_ALU", "&&", "recog_memoized", "(", "vr4130_last_insn", ")", ">=", "0", "&&", "class1", "==", "get_attr_vr4130_class", "(", "vr4130_last_insn", ")", ")", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["A", "TUNE_MIPS4130", "helper", "function", ".", "Given", "that", "INSN1", "is", "at", "the", "head", "of", "the", "ready", "queue", "and", "that", "INSN2", "is", "the", "instruction", "after", "it", ",", "return", "true", "if", "it", "is", "worth", "promoting", "INSN2", "ahead", "of", "INSN1", ".", "Look", "for", "cases", "in", "which", "INSN1", "and", "INSN2", "can", "probably", "issue", "in", "parallel", ",", "but", "for", "which", "(", "INSN2", ",", "INSN1", ")", "should", "be", "less", "sensitive", "to", "instruction", "alignment", "than", "(", "INSN1", ",", "INSN2", ")", ".", "See", "4130.md", "for", "more", "details", "."], "TS_V_token": ["mips", "0", "0", "0", "0", "0"], "File": "mips", "Func": "vr4130_swap_insns_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11257, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64RegisterInfo", "::", "resolveFrameIndex", "(", "MachineInstr", "&", "MI", ",", "unsigned", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "StackOffset", "Off", "(", "Offset", ",", "MVT", "::", "i8", ")", ";", "unsigned", "i", "=", "0", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "const", "MachineFunction", "*", "MF", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "AArch64InstrInfo", "*", "TII", "=", "MF", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "bool", "Done", "=", "rewriteAArch64FrameIndex", "(", "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": ["AArch64", "AArch64", "MVT::i8", "0", "\"Instr doesn't have FrameIndex operand!\"", "AArch64", "AArch64", "AArch64", "\"Unable to resolve frame index!\""], "File": "AArch64RegisterInfo13", "Func": "resolveFrameIndex", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11258, "Length": 126, "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", "=", "Triple", "(", "TM", ".", "getTargetTriple", "(", ")", ")", ".", "isOSDarwin", "(", ")", ";", "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", ")", ";", "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", "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": "PPCMCInstLower43", "Func": "GetSymbolFromOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11259, "Length": 460, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "general_scalar_chain", "::", "convert_reg", "(", "rtx_insn", "*", "insn", ",", "rtx", "dst", ",", "rtx", "src", ")", "{", "start_sequence", "(", ")", ";", "if", "(", "!", "TARGET_INTER_UNIT_MOVES_FROM_VEC", ")", "{", "rtx", "tmp", "=", "assign_386_stack_local", "(", "smode", ",", "SLOT_STV_TEMP", ")", ";", "emit_move_insn", "(", "tmp", ",", "src", ")", ";", "if", "(", "!", "TARGET_64BIT", "&&", "smode", "==", "DImode", ")", "{", "emit_move_insn", "(", "gen_rtx_SUBREG", "(", "SImode", ",", "dst", ",", "0", ")", ",", "adjust_address", "(", "tmp", ",", "SImode", ",", "0", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_SUBREG", "(", "SImode", ",", "dst", ",", "4", ")", ",", "adjust_address", "(", "tmp", ",", "SImode", ",", "4", ")", ")", ";", "}", "else", "emit_move_insn", "(", "dst", ",", "copy_rtx", "(", "tmp", ")", ")", ";", "}", "else", "if", "(", "!", "TARGET_64BIT", "&&", "smode", "==", "DImode", ")", "{", "if", "(", "TARGET_SSE4_1", ")", "{", "rtx", "tmp", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "1", ",", "const0_rtx", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "gen_rtx_SUBREG", "(", "SImode", ",", "dst", ",", "0", ")", ",", "gen_rtx_VEC_SELECT", "(", "SImode", ",", "gen_rtx_SUBREG", "(", "V4SImode", ",", "src", ",", "0", ")", ",", "tmp", ")", ")", ")", ";", "tmp", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "1", ",", "const1_rtx", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "gen_rtx_SUBREG", "(", "SImode", ",", "dst", ",", "4", ")", ",", "gen_rtx_VEC_SELECT", "(", "SImode", ",", "gen_rtx_SUBREG", "(", "V4SImode", ",", "src", ",", "0", ")", ",", "tmp", ")", ")", ")", ";", "}", "else", "{", "rtx", "vcopy", "=", "gen_reg_rtx", "(", "V2DImode", ")", ";", "emit_move_insn", "(", "vcopy", ",", "gen_rtx_SUBREG", "(", "V2DImode", ",", "src", ",", "0", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_SUBREG", "(", "SImode", ",", "dst", ",", "0", ")", ",", "gen_rtx_SUBREG", "(", "SImode", ",", "vcopy", ",", "0", ")", ")", ";", "emit_move_insn", "(", "vcopy", ",", "gen_rtx_LSHIFTRT", "(", "V2DImode", ",", "vcopy", ",", "GEN_INT", "(", "32", ")", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_SUBREG", "(", "SImode", ",", "dst", ",", "4", ")", ",", "gen_rtx_SUBREG", "(", "SImode", ",", "vcopy", ",", "0", ")", ")", ";", "}", "}", "else", "emit_move_insn", "(", "dst", ",", "src", ")", ";", "rtx_insn", "*", "seq", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "emit_conversion_insns", "(", "seq", ",", "insn", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\" Copied r%d to a scalar register r%d for insn %d\\n\"", ",", "REGNO", "(", "src", ")", ",", "REGNO", "(", "dst", ")", ",", "INSN_UID", "(", "insn", ")", ")", ";", "}", ""], "natrual_language": ["Convert", "all", "definitions", "of", "register", "REGNO", "and", "fix", "its", "uses", ".", "Scalar", "copies", "may", "be", "created", "in", "case", "register", "is", "used", "in", "not", "convertible", "insn", "."], "TS_V_token": ["i386", "0", "0", "4", "4", "1", "0", "0", "1", "4", "0", "0", "0", "0", "32", "4", "0", "\" Copied r%d to a scalar register r%d for insn %d\\n\""], "File": "i386-features", "Func": "convert_reg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11260, "Length": 355, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "system_reg_operand", "(", "rtx", "op", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "switch", "(", "REGNO", "(", "op", ")", ")", "{", "case", "PR_REG", ":", "case", "MACL_REG", ":", "case", "MACH_REG", ":", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "1", "if", "OP", "is", "MACL", ",", "MACH", "or", "PR", ".", "The", "input", "must", "be", "a", "REG", "rtx", ".", "Used", "only", "in", "general_movsrc_operand", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "system_reg_operand", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11261, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "ARMBaseRegisterInfo", "::", "getLargestLegalSuperClass", "(", "const", "TargetRegisterClass", "*", "RC", ",", "const", "MachineFunction", "&", "MF", ")", "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", "::", "GPRPairRegClassID", ":", "return", "Super", ";", "case", "ARM", "::", "QPRRegClassID", ":", "case", "ARM", "::", "QQPRRegClassID", ":", "case", "ARM", "::", "QQQQPRRegClassID", ":", "if", "(", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "hasNEON", "(", ")", ")", "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::GPRPairRegClassID", "ARM::QPRRegClassID", "ARM::QQPRRegClassID", "ARM::QQQQPRRegClassID", "ARM"], "File": "ARMBaseRegisterInfo11", "Func": "getLargestLegalSuperClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11262, "Length": 121, "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": 11263, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_if_then_else_costs", "(", "rtx", "op0", ",", "rtx", "op1", ",", "rtx", "op2", ",", "int", "*", "cost", ",", "bool", "speed", ")", "{", "rtx", "inner", ";", "rtx", "comparator", ";", "enum", "rtx_code", "cmpcode", ";", "const", "struct", "cpu_cost_table", "*", "extra_cost", "=", "aarch64_tune_params", ".", "insn_extra_cost", ";", "if", "(", "COMPARISON_P", "(", "op0", ")", ")", "{", "inner", "=", "XEXP", "(", "op0", ",", "0", ")", ";", "comparator", "=", "XEXP", "(", "op0", ",", "1", ")", ";", "cmpcode", "=", "GET_CODE", "(", "op0", ")", ";", "}", "else", "{", "inner", "=", "op0", ";", "comparator", "=", "const0_rtx", ";", "cmpcode", "=", "NE", ";", "}", "if", "(", "GET_CODE", "(", "op1", ")", "==", "PC", "||", "GET_CODE", "(", "op2", ")", "==", "PC", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "inner", ")", ")", "==", "MODE_CC", ")", "return", "true", ";", "else", "{", "if", "(", "cmpcode", "==", "NE", "||", "cmpcode", "==", "EQ", ")", "{", "if", "(", "comparator", "==", "const0_rtx", ")", "{", "if", "(", "GET_CODE", "(", "inner", ")", "==", "ZERO_EXTRACT", ")", "*", "cost", "+=", "rtx_cost", "(", "XEXP", "(", "inner", ",", "0", ")", ",", "VOIDmode", ",", "ZERO_EXTRACT", ",", "0", ",", "speed", ")", ";", "else", "*", "cost", "+=", "rtx_cost", "(", "inner", ",", "VOIDmode", ",", "cmpcode", ",", "0", ",", "speed", ")", ";", "return", "true", ";", "}", "if", "(", "register_operand", "(", "inner", ",", "VOIDmode", ")", "&&", "aarch64_imm24", "(", "comparator", ",", "VOIDmode", ")", ")", "{", "*", "cost", "+=", "COSTS_N_INSNS", "(", "2", ")", ";", "if", "(", "speed", ")", "*", "cost", "+=", "extra_cost", "->", "alu", ".", "arith", "*", "2", ";", "return", "true", ";", "}", "}", "else", "if", "(", "cmpcode", "==", "LT", "||", "cmpcode", "==", "GE", ")", "{", "if", "(", "comparator", "==", "const0_rtx", ")", "return", "true", ";", "}", "}", "}", "else", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "inner", ")", ")", "==", "MODE_CC", ")", "{", "if", "(", "GET_CODE", "(", "op1", ")", "==", "COMPARE", ")", "{", "if", "(", "XEXP", "(", "op1", ",", "1", ")", "==", "const0_rtx", ")", "*", "cost", "+=", "1", ";", "if", "(", "speed", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "XEXP", "(", "op1", ",", "0", ")", ")", ";", "const", "struct", "cpu_cost_table", "*", "extra_cost", "=", "aarch64_tune_params", ".", "insn_extra_cost", ";", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_INT", ")", "*", "cost", "+=", "extra_cost", "->", "alu", ".", "arith", ";", "else", "*", "cost", "+=", "extra_cost", "->", "fp", "[", "mode", "==", "DFmode", "]", ".", "compare", ";", "}", "return", "true", ";", "}", "if", "(", "GET_CODE", "(", "op1", ")", "==", "NEG", "||", "GET_CODE", "(", "op1", ")", "==", "NOT", "||", "(", "GET_CODE", "(", "op1", ")", "==", "PLUS", "&&", "XEXP", "(", "op1", ",", "1", ")", "==", "const1_rtx", ")", ")", "op1", "=", "XEXP", "(", "op1", ",", "0", ")", ";", "else", "if", "(", "GET_CODE", "(", "op1", ")", "==", "ZERO_EXTEND", "&&", "GET_CODE", "(", "op2", ")", "==", "ZERO_EXTEND", ")", "{", "op1", "=", "XEXP", "(", "op1", ",", "0", ")", ";", "op2", "=", "XEXP", "(", "op2", ",", "0", ")", ";", "}", "*", "cost", "+=", "rtx_cost", "(", "op1", ",", "VOIDmode", ",", "IF_THEN_ELSE", ",", "1", ",", "speed", ")", ";", "*", "cost", "+=", "rtx_cost", "(", "op2", ",", "VOIDmode", ",", "IF_THEN_ELSE", ",", "2", ",", "speed", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "calculating", "(", "if_then_else", "(", "OP0", ")", "(", "OP1", ")", "(", "OP2", ")", ")", ",", "storing", "it", "in", "*", "COST", ".", "Result", "is", "true", "if", "the", "total", "cost", "of", "the", "operation", "has", "now", "been", "calculated", "."], "TS_V_token": ["aarch64", "0", "1", "0", "0", "0", "2", "2", "1", "1", "0", "1", "0", "0", "0", "1", "2"], "File": "aarch64", "Func": "aarch64_if_then_else_costs", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11264, "Length": 488, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isZExtFree", "(", "EVT", "VT1", ",", "EVT", "VT2", ")", "const", "{", "return", "VT1", "==", "MVT", "::", "i32", "&&", "VT2", "==", "MVT", "::", "i64", "&&", "Subtarget", ".", "is64Bit", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "zero-extending", "the", "specific", "node", "Val", "to", "type", "VT2", "is", "free", "(", "either", "because", "it", "'s", "implicitly", "zero-extended", "such", "as", "ARM", "ldrb", "/", "ldrh", "or", "because", "it", "'s", "folded", "such", "as", "X86", "zero-extending", "loads", ")", "."], "TS_V_token": ["X86", "X86", "MVT::i32", "MVT::i64"], "File": "X86ISelLowering (2)5", "Func": "isZExtFree", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11265, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "ARM64MCExpr", "::", "getVariantKindName", "(", ")", "const", "{", "switch", "(", "static_cast", "<", "uint32_t", ">", "(", "getKind", "(", ")", ")", ")", "{", "case", "VK_CALL", ":", "return", "\"\"", ";", "case", "VK_LO12", ":", "return", "\":lo12:\"", ";", "case", "VK_ABS_G3", ":", "return", "\":abs_g3:\"", ";", "case", "VK_ABS_G2", ":", "return", "\":abs_g2:\"", ";", "case", "VK_ABS_G2_S", ":", "return", "\":abs_g2_s:\"", ";", "case", "VK_ABS_G2_NC", ":", "return", "\":abs_g2_nc:\"", ";", "case", "VK_ABS_G1", ":", "return", "\":abs_g1:\"", ";", "case", "VK_ABS_G1_S", ":", "return", "\":abs_g1_s:\"", ";", "case", "VK_ABS_G1_NC", ":", "return", "\":abs_g1_nc:\"", ";", "case", "VK_ABS_G0", ":", "return", "\":abs_g0:\"", ";", "case", "VK_ABS_G0_S", ":", "return", "\":abs_g0_s:\"", ";", "case", "VK_ABS_G0_NC", ":", "return", "\":abs_g0_nc:\"", ";", "case", "VK_DTPREL_G2", ":", "return", "\":dtprel_g2:\"", ";", "case", "VK_DTPREL_G1", ":", "return", "\":dtprel_g1:\"", ";", "case", "VK_DTPREL_G1_NC", ":", "return", "\":dtprel_g1_nc:\"", ";", "case", "VK_DTPREL_G0", ":", "return", "\":dtprel_g0:\"", ";", "case", "VK_DTPREL_G0_NC", ":", "return", "\":dtprel_g0_nc:\"", ";", "case", "VK_DTPREL_HI12", ":", "return", "\":dtprel_hi12:\"", ";", "case", "VK_DTPREL_LO12", ":", "return", "\":dtprel_lo12:\"", ";", "case", "VK_DTPREL_LO12_NC", ":", "return", "\":dtprel_lo12_nc:\"", ";", "case", "VK_TPREL_G2", ":", "return", "\":tprel_g2:\"", ";", "case", "VK_TPREL_G1", ":", "return", "\":tprel_g1:\"", ";", "case", "VK_TPREL_G1_NC", ":", "return", "\":tprel_g1_nc:\"", ";", "case", "VK_TPREL_G0", ":", "return", "\":tprel_g0:\"", ";", "case", "VK_TPREL_G0_NC", ":", "return", "\":tprel_g0_nc:\"", ";", "case", "VK_TPREL_HI12", ":", "return", "\":tprel_hi12:\"", ";", "case", "VK_TPREL_LO12", ":", "return", "\":tprel_lo12:\"", ";", "case", "VK_TPREL_LO12_NC", ":", "return", "\":tprel_lo12_nc:\"", ";", "case", "VK_TLSDESC_LO12", ":", "return", "\":tlsdesc_lo12:\"", ";", "case", "VK_ABS_PAGE", ":", "return", "\"\"", ";", "case", "VK_GOT_PAGE", ":", "return", "\":got:\"", ";", "case", "VK_GOT_LO12", ":", "return", "\":got_lo12:\"", ";", "case", "VK_GOTTPREL_PAGE", ":", "return", "\":gottprel:\"", ";", "case", "VK_GOTTPREL_LO12_NC", ":", "return", "\":gottprel_lo12:\"", ";", "case", "VK_GOTTPREL_G1", ":", "return", "\":gottprel_g1:\"", ";", "case", "VK_GOTTPREL_G0_NC", ":", "return", "\":gottprel_g0_nc:\"", ";", "case", "VK_TLSDESC", ":", "return", "\"\"", ";", "case", "VK_TLSDESC_PAGE", ":", "return", "\":tlsdesc:\"", ";", "default", ":", "llvm_unreachable", "(", "\"Invalid ELF symbol kind\"", ")", ";", "}", "}", ""], "natrual_language": ["Convert", "the", "variant", "kind", "into", "an", "ELF-appropriate", "modifier", "(", "e.g", "."], "TS_V_token": ["ARM64", "ARM64", "\"\"", "\":lo12:\"", "\":abs_g3:\"", "\":abs_g2:\"", "\":abs_g2_s:\"", "\":abs_g2_nc:\"", "\":abs_g1:\"", "\":abs_g1_s:\"", "\":abs_g1_nc:\"", "\":abs_g0:\"", "\":abs_g0_s:\"", "\":abs_g0_nc:\"", "\":dtprel_g2:\"", "\":dtprel_g1:\"", "\":dtprel_g1_nc:\"", "\":dtprel_g0:\"", "\":dtprel_g0_nc:\"", "\":dtprel_hi12:\"", "\":dtprel_lo12:\"", "\":dtprel_lo12_nc:\"", "\":tprel_g2:\"", "\":tprel_g1:\"", "\":tprel_g1_nc:\"", "\":tprel_g0:\"", "\":tprel_g0_nc:\"", "\":tprel_hi12:\"", "\":tprel_lo12:\"", "\":tprel_lo12_nc:\"", "\":tlsdesc_lo12:\"", "\"\"", "\":got:\"", "\":got_lo12:\"", "\":gottprel:\"", "\":gottprel_lo12:\"", "\":gottprel_g1:\"", "\":gottprel_g0_nc:\"", "\"\"", "\":tlsdesc:\"", "\"Invalid ELF symbol kind\""], "File": "ARM64MCExpr1", "Func": "getVariantKindName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11266, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SICMCInstLower", "::", "Initialize", "(", "MCContext", "*", "C", ")", "{", "Ctx", "=", "C", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["SIC", "SIC"], "File": "SICMCInstLower", "Func": "Initialize", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11267, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_agi_dependant", "(", "rtx", "insn", ",", "rtx", "dep_insn", ",", "enum", "attr_type", "insn_type", ")", "{", "rtx", "addr", ";", "if", "(", "insn_type", "==", "TYPE_LEA", "&&", "TARGET_PENTIUM", ")", "{", "addr", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PARALLEL", ")", "addr", "=", "XVECEXP", "(", "addr", ",", "0", ",", "0", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "addr", ")", "==", "SET", ")", ";", "addr", "=", "SET_SRC", "(", "addr", ")", ";", "}", "else", "{", "int", "i", ";", "extract_insn_cached", "(", "insn", ")", ";", "for", "(", "i", "=", "recog_data", ".", "n_operands", "-", "1", ";", "i", ">=", "0", ";", "--", "i", ")", "if", "(", "GET_CODE", "(", "recog_data", ".", "operand", "[", "i", "]", ")", "==", "MEM", ")", "{", "addr", "=", "XEXP", "(", "recog_data", ".", "operand", "[", "i", "]", ",", "0", ")", ";", "goto", "found", ";", "}", "return", "0", ";", "found", ":", ";", "}", "return", "modified_in_p", "(", "addr", ",", "dep_insn", ")", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "ix86_adjust_cost", "--", "return", "true", "iff", "INSN", "has", "a", "memory", "address", "with", "operands", "set", "by", "DEP_INSN", "."], "TS_V_token": ["i386", "0", "0", "1", "0", "0", "0"], "File": "i3863", "Func": "ix86_agi_dependant", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11268, "Length": 148, "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", "::", "EH_SJLJ_SETJMP", ":", "return", "\"SPISD::EH_SJLJ_SETJMP\"", ";", "case", "SPISD", "::", "EH_SJLJ_LONGJMP", ":", "return", "\"SPISD::EH_SJLJ_LONGJMP\"", ";", "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::EH_SJLJ_SETJMP", "\"SPISD::EH_SJLJ_SETJMP\"", "SPISD::EH_SJLJ_LONGJMP", "\"SPISD::EH_SJLJ_LONGJMP\"", "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": "SparcISelLowering14", "Func": "getTargetNodeName", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11269, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "hasReassociableOperands", "(", "const", "MachineInstr", "&", "Inst", ",", "const", "MachineBasicBlock", "*", "MBB", ")", "const", "{", "assert", "(", "Inst", ".", "getNumExplicitOperands", "(", ")", "==", "3", "&&", "Inst", ".", "getNumExplicitDefs", "(", ")", "==", "1", "&&", "Inst", ".", "getNumDefs", "(", ")", "<=", "2", "&&", "\"Reassociation needs binary operators\"", ")", ";", "const", "MachineOperand", "*", "FlagDef", "=", "Inst", ".", "findRegisterDefOperand", "(", "X86", "::", "EFLAGS", ")", ";", "assert", "(", "(", "Inst", ".", "getNumDefs", "(", ")", "==", "1", "||", "FlagDef", ")", "&&", "\"Implicit def isn't flags?\"", ")", ";", "if", "(", "FlagDef", "&&", "!", "FlagDef", "->", "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", "1", "2", "\"Reassociation needs binary operators\"", "X86::EFLAGS", "1", "\"Implicit def isn't flags?\""], "File": "X86InstrInfo (2)3", "Func": "hasReassociableOperands", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11270, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "LegalizerInfo", "*", "getLegalizerInfo", "(", ")", "const", "override", "{", "return", "Legalizer", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Expose", "LegalizerInfo", "so", "the", "clients", "can", "re-use", "."], "TS_V_token": ["ARM"], "File": "ARMSubtarget51", "Func": "getLegalizerInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11271, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "rs6000_internal_arg_pointer", "(", "void", ")", "{", "if", "(", "flag_split_stack", "&&", "(", "lookup_attribute", "(", "\"no_split_stack\"", ",", "DECL_ATTRIBUTES", "(", "cfun", "->", "decl", ")", ")", "==", "NULL", ")", ")", "{", "if", "(", "cfun", "->", "machine", "->", "split_stack_arg_pointer", "==", "NULL_RTX", ")", "{", "rtx", "pat", ";", "cfun", "->", "machine", "->", "split_stack_arg_pointer", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "REG_POINTER", "(", "cfun", "->", "machine", "->", "split_stack_arg_pointer", ")", "=", "1", ";", "pat", "=", "gen_rtx_SET", "(", "cfun", "->", "machine", "->", "split_stack_arg_pointer", ",", "gen_rtx_REG", "(", "Pmode", ",", "12", ")", ")", ";", "push_topmost_sequence", "(", ")", ";", "emit_insn_after", "(", "pat", ",", "get_insns", "(", ")", ")", ";", "pop_topmost_sequence", "(", ")", ";", "}", "rtx", "ret", "=", "plus_constant", "(", "Pmode", ",", "cfun", "->", "machine", "->", "split_stack_arg_pointer", ",", "FIRST_PARM_OFFSET", "(", "current_function_decl", ")", ")", ";", "return", "copy_to_reg", "(", "ret", ")", ";", "}", "return", "virtual_incoming_args_rtx", ";", "}", ""], "natrual_language": ["Return", "the", "internal", "arg", "pointer", "used", "for", "function", "incoming", "arguments", ".", "When", "-fsplit-stack", ",", "the", "arg", "pointer", "is", "r12", "so", "we", "need", "to", "copy", "it", "to", "a", "pseudo", "in", "order", "for", "it", "to", "be", "preserved", "over", "calls", "and", "suchlike", ".", "We", "'d", "really", "like", "to", "use", "a", "pseudo", "here", "for", "the", "internal", "arg", "pointer", "but", "data-flow", "analysis", "is", "not", "prepared", "to", "accept", "pseudos", "as", "live", "at", "the", "beginning", "of", "a", "function", "."], "TS_V_token": ["rs6000", "\"no_split_stack\"", "1", "12"], "File": "rs6000-call", "Func": "rs6000_internal_arg_pointer", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11272, "Length": 129, "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": ["PowerPC"], "File": "PPCAsmParser (2)1", "Func": "getStartLoc", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11273, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh1_builtin_p", "(", "void", ")", "{", "return", "TARGET_SH1", ";", "}", ""], "natrual_language": ["This", "function", "can", "be", "used", "if", "there", "are", "any", "built-ins", "that", "are", "not", "for", "SHmedia", ".", "It", "'s", "commented", "out", "to", "avoid", "the", "defined-but-unused", "warning", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "sh1_builtin_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11274, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "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", "(", "I", "->", "getOpcode", "(", ")", "!=", "X86", "::", "JMP_1", "&&", "getCondFromBranchOpc", "(", "I", "->", "getOpcode", "(", ")", ")", "==", "X86", "::", "COND_INVALID", ")", "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": ["X86", "X86", "\"code size not handled\"", "0", "X86::JMP_1", "X86::COND_INVALID"], "File": "X86InstrInfo112", "Func": "removeBranch", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11275, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{", "return", "createMachObjectWriter", "(", "new", "ARMMachObjectWriter", "(", "false", ",", "object", "::", "mach", "::", "CTM_ARM", ",", "object", "::", "mach", "::", "CSARM_V7", ")", ",", "OS", ",", "true", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "ARMAsmBackend18", "Func": "createObjectWriter", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11276, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mep_asm_output_opcode", "(", "FILE", "*", "file", ",", "const", "char", "*", "ptr", ")", "{", "int", "this_opcode", "=", "op_none", ";", "const", "char", "*", "hazard", "=", "0", ";", "switch", "(", "*", "ptr", ")", "{", "case", "'f'", ":", "if", "(", "strncmp", "(", "ptr", ",", "\"fsft\"", ",", "4", ")", "==", "0", "&&", "!", "ISGRAPH", "(", "ptr", "[", "4", "]", ")", ")", "this_opcode", "=", "op_fsft", ";", "break", ";", "case", "'r'", ":", "if", "(", "strncmp", "(", "ptr", ",", "\"ret\"", ",", "3", ")", "==", "0", "&&", "!", "ISGRAPH", "(", "ptr", "[", "3", "]", ")", ")", "this_opcode", "=", "op_ret", ";", "break", ";", "case", "'s'", ":", "if", "(", "strncmp", "(", "ptr", ",", "\"stc\"", ",", "3", ")", "==", "0", "&&", "!", "ISGRAPH", "(", "ptr", "[", "3", "]", ")", ")", "this_opcode", "=", "op_stc", ";", "break", ";", "}", "if", "(", "prev_opcode", "==", "op_stc", "&&", "this_opcode", "==", "op_fsft", ")", "hazard", "=", "\"nop\"", ";", "if", "(", "prev_opcode", "==", "op_stc", "&&", "this_opcode", "==", "op_ret", ")", "hazard", "=", "\"nop\"", ";", "if", "(", "hazard", ")", "fprintf", "(", "file", ",", "\"%s\\t# %s-%s hazard\\n\\t\"", ",", "hazard", ",", "opnames", "[", "prev_opcode", "]", ",", "opnames", "[", "this_opcode", "]", ")", ";", "prev_opcode", "=", "this_opcode", ";", "}", ""], "natrual_language": ["This", "is", "n't", "as", "optimal", "as", "it", "could", "be", ",", "because", "we", "do", "n't", "know", "what", "control", "register", "the", "STC", "opcode", "is", "storing", "in", ".", "We", "only", "need", "to", "add", "the", "nop", "if", "it", "'s", "the", "relevant", "register", ",", "but", "we", "add", "it", "for", "irrelevant", "registers", "also", "."], "TS_V_token": ["mep", "0", "\"fsft\"", "4", "0", "4", "\"ret\"", "3", "0", "3", "\"stc\"", "3", "0", "3", "\"nop\"", "\"nop\"", "\"%s\\t# %s-%s hazard\\n\\t\""], "File": "mep", "Func": "mep_asm_output_opcode", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11277, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "insertSSPDeclarations", "(", "Module", "&", "M", ")", "const", "override", "{", "}", ""], "natrual_language": ["Inserts", "necessary", "declarations", "for", "SSP", "(", "stack", "protection", ")", "purpose", "."], "TS_V_token": ["SystemZ"], "File": "SystemZISelLowering", "Func": "insertSSPDeclarations", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11278, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsMCCodeEmitter", "::", "getBranchTargetOpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ">>", "2", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"getBranchTargetOpValue expects only expressions or immediates\"", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "0", ",", "Expr", ",", "MCFixupKind", "(", "Mips", "::", "fixup_Mips_PC16", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "."], "TS_V_token": ["Mips", "Mips", "2", "\"getBranchTargetOpValue expects only expressions or immediates\"", "0", "Mips::fixup_Mips_PC16", "0"], "File": "MipsMCCodeEmitter2", "Func": "getBranchTargetOpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11279, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZTTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ")", "{", "bool", "HasCall", "=", "false", ";", "InstructionCost", "NumStores", "=", "0", ";", "for", "(", "auto", "&", "BB", ":", "L", "->", "blocks", "(", ")", ")", "for", "(", "auto", "&", "I", ":", "*", "BB", ")", "{", "if", "(", "isa", "<", "CallInst", ">", "(", "&", "I", ")", "||", "isa", "<", "InvokeInst", ">", "(", "&", "I", ")", ")", "{", "if", "(", "const", "Function", "*", "F", "=", "cast", "<", "CallBase", ">", "(", "I", ")", ".", "getCalledFunction", "(", ")", ")", "{", "if", "(", "isLoweredToCall", "(", "F", ")", ")", "HasCall", "=", "true", ";", "if", "(", "F", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "memcpy", "||", "F", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "memset", ")", "NumStores", "++", ";", "}", "else", "{", "HasCall", "=", "true", ";", "}", "}", "if", "(", "isa", "<", "StoreInst", ">", "(", "&", "I", ")", ")", "{", "Type", "*", "MemAccessTy", "=", "I", ".", "getOperand", "(", "0", ")", "->", "getType", "(", ")", ";", "NumStores", "+=", "getMemoryOpCost", "(", "Instruction", "::", "Store", ",", "MemAccessTy", ",", "None", ",", "0", ",", "TTI", "::", "TCK_RecipThroughput", ")", ";", "}", "}", "unsigned", "const", "NumStoresVal", "=", "*", "NumStores", ".", "getValue", "(", ")", ";", "unsigned", "const", "Max", "=", "(", "NumStoresVal", "?", "(", "12", "/", "NumStoresVal", ")", ":", "UINT_MAX", ")", ";", "if", "(", "HasCall", ")", "{", "UP", ".", "FullUnrollMaxCount", "=", "Max", ";", "UP", ".", "MaxCount", "=", "1", ";", "return", ";", "}", "UP", ".", "MaxCount", "=", "Max", ";", "if", "(", "UP", ".", "MaxCount", "<=", "1", ")", "return", ";", "UP", ".", "Partial", "=", "UP", ".", "Runtime", "=", "true", ";", "UP", ".", "PartialThreshold", "=", "75", ";", "UP", ".", "DefaultUnrollRuntimeCount", "=", "4", ";", "UP", ".", "AllowExpensiveTripCount", "=", "true", ";", "UP", ".", "Force", "=", "true", ";", "}", ""], "natrual_language": ["Get", "target-customized", "preferences", "for", "the", "generic", "loop", "unrolling", "transformation", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "Intrinsic::memcpy", "Intrinsic::memset", "0", "0", "12", "1", "1", "75", "4"], "File": "SystemZTargetTransformInfo30", "Func": "getUnrollingPreferences", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11280, "Length": 284, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineFrameInfo", "&", "MFFrame", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "SystemZMachineFunctionInfo", "*", "ZFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "MachineRegisterInfo", "*", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "bool", "BackChain", "=", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"backchain\"", ")", ";", "if", "(", "!", "usePackedStack", "(", "MF", ")", "||", "BackChain", ")", "getOrCreateFramePointerSaveIndex", "(", "MF", ")", ";", "uint64_t", "StackSize", "=", "(", "MFFrame", ".", "estimateStackSize", "(", "MF", ")", "+", "SystemZMC", "::", "ELFCallFrameSize", ")", ";", "int64_t", "MaxArgOffset", "=", "0", ";", "for", "(", "int", "I", "=", "MFFrame", ".", "getObjectIndexBegin", "(", ")", ";", "I", "!=", "0", ";", "++", "I", ")", "if", "(", "MFFrame", ".", "getObjectOffset", "(", "I", ")", ">=", "0", ")", "{", "int64_t", "ArgOffset", "=", "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", ",", "Align", "(", "8", ")", ",", "false", ")", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "MFFrame", ".", "CreateStackObject", "(", "8", ",", "Align", "(", "8", ")", ",", "false", ")", ")", ";", "}", "if", "(", "MF", ".", "front", "(", ")", ".", "isLiveIn", "(", "SystemZ", "::", "R6D", ")", "&&", "ZFI", "->", "getRestoreGPRRegs", "(", ")", ".", "LowGPR", "!=", "SystemZ", "::", "R6D", ")", "for", "(", "auto", "&", "MO", ":", "MRI", "->", "use_nodbg_operands", "(", "SystemZ", "::", "R6D", ")", ")", "MO", ".", "setIsKill", "(", "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", "SystemZ", "SystemZ", "\"backchain\"", "SystemZMC::ELFCallFrameSize", "0", "0", "0", "12", "8", "8", "8", "8", "SystemZ::R6D", "SystemZ::R6D", "SystemZ::R6D"], "File": "SystemZFrameLowering32", "Func": "processFunctionBeforeFrameFinalized", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11281, "Length": 266, "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", "E_V2DFmode", ":", "case", "E_V2DImode", ":", "case", "E_V2SFmode", ":", "case", "E_V2SImode", ":", "return", "false", ";", "case", "E_V4DImode", ":", "if", "(", "!", "TARGET_64BIT", ")", "return", "false", ";", "case", "E_V4DFmode", ":", "case", "E_V8SFmode", ":", "case", "E_V8SImode", ":", "case", "E_V16HImode", ":", "case", "E_V32QImode", ":", "case", "E_V4SFmode", ":", "case", "E_V4SImode", ":", "case", "E_V8HImode", ":", "case", "E_V4HImode", ":", "break", ";", "case", "E_V16QImode", ":", "if", "(", "TARGET_SSE4_1", ")", "break", ";", "wmode", "=", "V8HImode", ";", "goto", "widen", ";", "case", "E_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", "(", "UINTVAL", "(", "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": "i3867", "Func": "ix86_expand_vector_init_one_var", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11282, "Length": 364, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "verifyInstruction", "(", "const", "MachineInstr", "&", "MI", ",", "StringRef", "&", "ErrInfo", ")", "const", "{", "Optional", "<", "ExtAddrMode", ">", "AMOrNone", "=", "getAddrModeFromMemoryOp", "(", "MI", ",", "nullptr", ")", ";", "if", "(", "!", "AMOrNone", ")", "return", "true", ";", "ExtAddrMode", "AM", "=", "*", "AMOrNone", ";", "if", "(", "AM", ".", "ScaledReg", "!=", "X86", "::", "NoRegister", ")", "{", "switch", "(", "AM", ".", "Scale", ")", "{", "case", "1", ":", "case", "2", ":", "case", "4", ":", "case", "8", ":", "break", ";", "default", ":", "ErrInfo", "=", "\"Scale factor in address must be 1, 2, 4 or 8\"", ";", "return", "false", ";", "}", "}", "if", "(", "!", "isInt", "<", "32", ">", "(", "AM", ".", "Displacement", ")", ")", "{", "ErrInfo", "=", "\"Displacement in address must fit into 32-bit signed \"", "\"integer\"", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Perform", "target-specific", "instruction", "verification", "."], "TS_V_token": ["X86", "X86", "X86::NoRegister", "1", "2", "4", "8", "\"Scale factor in address must be 1, 2, 4 or 8\"", "32", "\"Displacement in address must fit into 32-bit signed \"", "\"integer\""], "File": "X86InstrInfo76", "Func": "verifyInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11283, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstructionSelector", "::", "selectBinaryOp", "(", "MachineInstr", "&", "I", ",", "MachineRegisterInfo", "&", "MRI", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "unsigned", "DefReg", "=", "I", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "LLT", "Ty", "=", "MRI", ".", "getType", "(", "DefReg", ")", ";", "const", "RegisterBank", "&", "RB", "=", "*", "RBI", ".", "getRegBank", "(", "DefReg", ",", "MRI", ",", "TRI", ")", ";", "unsigned", "NewOpc", "=", "I", ".", "getOpcode", "(", ")", ";", "switch", "(", "NewOpc", ")", "{", "case", "TargetOpcode", "::", "G_FADD", ":", "NewOpc", "=", "getFAddOp", "(", "Ty", ",", "RB", ")", ";", "break", ";", "case", "TargetOpcode", "::", "G_FSUB", ":", "NewOpc", "=", "getFSubOp", "(", "Ty", ",", "RB", ")", ";", "break", ";", "case", "TargetOpcode", "::", "G_ADD", ":", "NewOpc", "=", "getAddOp", "(", "Ty", ",", "RB", ")", ";", "break", ";", "case", "TargetOpcode", "::", "G_SUB", ":", "NewOpc", "=", "getSubOp", "(", "Ty", ",", "RB", ")", ";", "break", ";", "default", ":", "break", ";", "}", "if", "(", "NewOpc", "==", "I", ".", "getOpcode", "(", ")", ")", "return", "false", ";", "I", ".", "setDesc", "(", "TII", ".", "get", "(", "NewOpc", ")", ")", ";", "return", "constrainSelectedInstRegOperands", "(", "I", ",", "TII", ",", "TRI", ",", "RBI", ")", ";", "}", ""], "natrual_language": ["Select", "and", "emit", "code", "for", "a", "binary", "operator", "instruction", ",", "which", "has", "an", "opcode", "which", "directly", "corresponds", "to", "the", "given", "ISD", "opcode", "."], "TS_V_token": ["X86", "X86", "0"], "File": "X86InstructionSelector28", "Func": "selectBinaryOp", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11284, "Length": 182, "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": 11285, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips16e_collect_propagate_value", "(", "rtx", "x", ",", "rtx", "*", "reg_values", ")", "{", "x", "=", "avoid_constant_pool_reference", "(", "x", ")", ";", "if", "(", "UNARY_P", "(", "x", ")", ")", "{", "rtx", "x0", "=", "mips16e_collect_propagate_value", "(", "XEXP", "(", "x", ",", "0", ")", ",", "reg_values", ")", ";", "return", "simplify_gen_unary", "(", "GET_CODE", "(", "x", ")", ",", "GET_MODE", "(", "x", ")", ",", "x0", ",", "GET_MODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", ")", ";", "}", "if", "(", "ARITHMETIC_P", "(", "x", ")", ")", "{", "rtx", "x0", "=", "mips16e_collect_propagate_value", "(", "XEXP", "(", "x", ",", "0", ")", ",", "reg_values", ")", ";", "rtx", "x1", "=", "mips16e_collect_propagate_value", "(", "XEXP", "(", "x", ",", "1", ")", ",", "reg_values", ")", ";", "return", "simplify_gen_binary", "(", "GET_CODE", "(", "x", ")", ",", "GET_MODE", "(", "x", ")", ",", "x0", ",", "x1", ")", ";", "}", "if", "(", "REG_P", "(", "x", ")", "&&", "reg_values", "[", "REGNO", "(", "x", ")", "]", "&&", "!", "rtx_unstable_p", "(", "reg_values", "[", "REGNO", "(", "x", ")", "]", ")", ")", "return", "reg_values", "[", "REGNO", "(", "x", ")", "]", ";", "return", "x", ";", "}", ""], "natrual_language": ["Return", "a", "simplified", "form", "of", "X", "using", "the", "register", "values", "in", "REG_VALUES", ".", "REG_VALUES", "[", "R", "]", "is", "the", "last", "value", "assigned", "to", "hard", "register", "R", ",", "or", "null", "if", "R", "has", "not", "been", "modified", ".", "This", "function", "is", "rather", "limited", ",", "but", "is", "good", "enough", "for", "our", "purposes", "."], "TS_V_token": ["mips", "0", "0", "0", "1"], "File": "mips", "Func": "mips16e_collect_propagate_value", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11286, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "MipsDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "Register", "GlobalBaseReg", "=", "MF", "->", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", "->", "getGlobalBaseReg", "(", "*", "MF", ")", ";", "return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "getTargetLowering", "(", ")", "->", "getPointerTy", "(", "CurDAG", "->", "getDataLayout", "(", ")", ")", ")", ".", "getNode", "(", ")", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsISelDAGToDAG27", "Func": "getGlobalBaseReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11287, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_lra_p", "(", "void", ")", "{", "return", "sh_lra_flag", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "use", "LRA", "instead", "of", "reload", "pass", "."], "TS_V_token": ["sh"], "File": "sh4", "Func": "sh_lra_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11288, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_handle_callee_pop_aggregate_return", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", ",", "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", "(", "TARGET_64BIT", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute only available for 32-bit\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "return", "NULL_TREE", ";", "}", "if", "(", "is_attribute_p", "(", "\"callee_pop_aggregate_return\"", ",", "name", ")", ")", "{", "tree", "cst", ";", "cst", "=", "TREE_VALUE", "(", "args", ")", ";", "if", "(", "TREE_CODE", "(", "cst", ")", "!=", "INTEGER_CST", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute requires an integer constant argument\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "else", "if", "(", "compare_tree_int", "(", "cst", ",", "0", ")", "!=", "0", "&&", "compare_tree_int", "(", "cst", ",", "1", ")", "!=", "0", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"argument to %qE attribute is neither zero, nor one\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "return", "NULL_TREE", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "a", "``", "callee_pop_aggregate_return", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec", "handler", "."], "TS_V_token": ["i386", "\"%qE attribute only applies to functions\"", "\"%qE attribute only available for 32-bit\"", "\"callee_pop_aggregate_return\"", "\"%qE attribute requires an integer constant argument\"", "0", "0", "1", "0", "\"argument to %qE attribute is neither zero, nor one\""], "File": "i386-options", "Func": "ix86_handle_callee_pop_aggregate_return", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11289, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_vec_perm_index_canon", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "nelt", "=", "d", "->", "nelt", ";", "if", "(", "d", "->", "perm", "[", "0", "]", "<", "nelt", ")", "return", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "nelt", ";", "i", "++", ")", "d", "->", "perm", "[", "i", "]", "=", "(", "d", "->", "perm", "[", "i", "]", "+", "nelt", ")", "%", "(", "2", "*", "nelt", ")", ";", "std", "::", "swap", "(", "d", "->", "op0", ",", "d", "->", "op1", ")", ";", "return", ";", "}", ""], "natrual_language": ["Canonicalize", "vec_perm", "index", "to", "make", "the", "first", "index", "always", "comes", "from", "the", "first", "vector", "."], "TS_V_token": ["i386", "0", "0", "2"], "File": "i386-expand1", "Func": "ix86_vec_perm_index_canon", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11290, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Error", "(", "SMLoc", "L", ",", "const", "Twine", "&", "Msg", ",", "ArrayRef", "<", "SMRange", ">", "Ranges", "=", "ArrayRef", "<", "SMRange", ">", "(", ")", ",", "bool", "matchingInlineAsm", "=", "false", ")", "{", "if", "(", "matchingInlineAsm", ")", "return", "true", ";", "return", "Parser", ".", "Error", "(", "L", ",", "Msg", ",", "Ranges", ")", ";", "}", ""], "natrual_language": ["Return", "an", "error", "at", "the", "location", "L", ",", "with", "the", "message", "Msg", "."], "TS_V_token": ["X86"], "File": "X86AsmParser54", "Func": "Error", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11291, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Error", "(", "SMLoc", "L", ",", "const", "Twine", "&", "Msg", ")", "{", "return", "getParser", "(", ")", ".", "Error", "(", "L", ",", "Msg", ")", ";", "}", ""], "natrual_language": ["Return", "an", "error", "at", "the", "location", "L", ",", "with", "the", "message", "Msg", "."], "TS_V_token": ["AArch64"], "File": "AArch64AsmParser (2)1", "Func": "Error", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11292, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "parse_codes", "parse_ovld_stanza", "(", "void", ")", "{", "pos", "=", "0", ";", "consume_whitespace", "(", ")", ";", "if", "(", "linebuf", "[", "pos", "]", "!=", "'['", ")", "{", "diag", "(", "pos", ",", "\"ill-formed stanza header.\\n\"", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "safe_inc_pos", "(", ")", ";", "char", "*", "stanza_name", "=", "match_identifier", "(", ")", ";", "if", "(", "!", "stanza_name", ")", "{", "diag", "(", "pos", ",", "\"no identifier found in stanza header.\\n\"", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "if", "(", "num_ovld_stanzas", ">=", "MAXOVLDSTANZAS", ")", "{", "diag", "(", "pos", ",", "\"too many stanza headers.\\n\"", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "curr_ovld_stanza", "=", "num_ovld_stanzas", "++", ";", "ovld_stanza", "*", "stanza", "=", "&", "ovld_stanzas", "[", "curr_ovld_stanza", "]", ";", "stanza", "->", "stanza_id", "=", "stanza_name", ";", "consume_whitespace", "(", ")", ";", "if", "(", "linebuf", "[", "pos", "]", "!=", "','", ")", "{", "diag", "(", "pos", ",", "\"missing comma.\\n\"", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "safe_inc_pos", "(", ")", ";", "consume_whitespace", "(", ")", ";", "stanza", "->", "extern_name", "=", "match_identifier", "(", ")", ";", "if", "(", "!", "stanza", "->", "extern_name", ")", "{", "diag", "(", "pos", ",", "\"missing external name.\\n\"", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "consume_whitespace", "(", ")", ";", "if", "(", "linebuf", "[", "pos", "]", "!=", "','", ")", "{", "diag", "(", "pos", ",", "\"missing comma.\\n\"", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "safe_inc_pos", "(", ")", ";", "consume_whitespace", "(", ")", ";", "stanza", "->", "intern_name", "=", "match_identifier", "(", ")", ";", "if", "(", "!", "stanza", "->", "intern_name", ")", "{", "diag", "(", "pos", ",", "\"missing internal name.\\n\"", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "consume_whitespace", "(", ")", ";", "if", "(", "linebuf", "[", "pos", "]", "==", "','", ")", "{", "safe_inc_pos", "(", ")", ";", "consume_whitespace", "(", ")", ";", "stanza", "->", "ifdef", "=", "match_identifier", "(", ")", ";", "if", "(", "!", "stanza", "->", "ifdef", ")", "{", "diag", "(", "pos", ",", "\"missing ifdef token.\\n\"", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "consume_whitespace", "(", ")", ";", "}", "else", "stanza", "->", "ifdef", "=", "0", ";", "if", "(", "linebuf", "[", "pos", "]", "!=", "']'", ")", "{", "diag", "(", "pos", ",", "\"ill-formed stanza header.\\n\"", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "safe_inc_pos", "(", ")", ";", "consume_whitespace", "(", ")", ";", "if", "(", "linebuf", "[", "pos", "]", "!=", "'\\n'", "&&", "pos", "!=", "LINELEN", "-", "1", ")", "{", "diag", "(", "pos", ",", "\"garbage after stanza header.\\n\"", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "parse_codes", "result", "=", "PC_OK", ";", "while", "(", "result", "!=", "PC_EOSTANZA", ")", "{", "if", "(", "!", "advance_line", "(", "ovld_file", ")", ")", "return", "PC_EOFILE", ";", "result", "=", "parse_ovld_entry", "(", ")", ";", "if", "(", "result", "==", "PC_EOFILE", "||", "result", "==", "PC_PARSEFAIL", ")", "return", "result", ";", "}", "return", "PC_OK", ";", "}", ""], "natrual_language": ["Parse", "one", "stanza", "of", "the", "input", "overload", "file", ".", "linebuf", "already", "contains", "the", "first", "line", "to", "parse", "."], "TS_V_token": ["rs6000", "0", "\"ill-formed stanza header.\\n\"", "\"no identifier found in stanza header.\\n\"", "\"too many stanza headers.\\n\"", "\"missing comma.\\n\"", "\"missing external name.\\n\"", "\"missing comma.\\n\"", "\"missing internal name.\\n\"", "\"missing ifdef token.\\n\"", "0", "\"ill-formed stanza header.\\n\"", "1", "\"garbage after stanza header.\\n\""], "File": "rs6000-gen-builtins", "Func": "parse_ovld_stanza", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11293, "Length": 388, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "gen_rx_store_vector", "(", "unsigned", "int", "low", ",", "unsigned", "int", "high", ")", "{", "unsigned", "int", "i", ";", "unsigned", "int", "count", "=", "(", "high", "-", "low", ")", "+", "2", ";", "rtx", "vector", ";", "vector", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "count", ")", ")", ";", "XVECEXP", "(", "vector", ",", "0", ",", "0", ")", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "stack_pointer_rtx", ",", "gen_rtx_MINUS", "(", "SImode", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "(", "count", "-", "1", ")", "*", "UNITS_PER_WORD", ")", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "count", "-", "1", ";", "i", "++", ")", "XVECEXP", "(", "vector", ",", "0", ",", "i", "+", "1", ")", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_rtx_MEM", "(", "SImode", ",", "gen_rtx_MINUS", "(", "SImode", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "(", "i", "+", "1", ")", "*", "UNITS_PER_WORD", ")", ")", ")", ",", "gen_rtx_REG", "(", "SImode", ",", "high", "-", "i", ")", ")", ";", "return", "vector", ";", "}", ""], "natrual_language": ["Generate", "a", "PARALLEL", "that", "will", "pass", "the", "rx_store_multiple_vector", "predicate", "."], "TS_V_token": ["rx", "2", "0", "0", "1", "0", "1", "0", "1", "1"], "File": "rx2", "Func": "gen_rx_store_vector", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11294, "Length": 145, "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": 11295, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "bool", "Changed", "=", "false", ";", "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": ["IA64"], "File": "IA64Bundling", "Func": "runOnMachineFunction", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11296, "Length": 53, "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_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", ";", "if", "(", "TARGET_SSE2", "&&", "mode", "==", "HImode", ")", "return", "true", ";", "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": "i3861", "Func": "ix86_hard_regno_mode_ok", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11297, "Length": 342, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "FixupLEAPass", "::", "processInstruction", "(", "MachineBasicBlock", "::", "iterator", "&", "I", ",", "MachineFunction", "::", "iterator", "MFI", ")", "{", "MachineInstr", "*", "MI", "=", "I", ";", "int", "opcode", "=", "MI", "->", "getOpcode", "(", ")", ";", "const", "MCInstrDesc", "&", "Desc", "=", "MI", "->", "getDesc", "(", ")", ";", "int", "AddrOffset", "=", "X86II", "::", "getMemoryOperandNo", "(", "Desc", ".", "TSFlags", ",", "opcode", ")", ";", "if", "(", "AddrOffset", ">=", "0", ")", "{", "AddrOffset", "+=", "X86II", "::", "getOperandBias", "(", "Desc", ")", ";", "MachineOperand", "&", "p", "=", "MI", "->", "getOperand", "(", "AddrOffset", "+", "X86", "::", "AddrBaseReg", ")", ";", "if", "(", "p", ".", "isReg", "(", ")", "&&", "p", ".", "getReg", "(", ")", "!=", "X86", "::", "ESP", ")", "{", "seekLEAFixup", "(", "p", ",", "I", ",", "MFI", ")", ";", "}", "MachineOperand", "&", "q", "=", "MI", "->", "getOperand", "(", "AddrOffset", "+", "X86", "::", "AddrIndexReg", ")", ";", "if", "(", "q", ".", "isReg", "(", ")", "&&", "q", ".", "getReg", "(", ")", "!=", "X86", "::", "ESP", ")", "{", "seekLEAFixup", "(", "q", ",", "I", ",", "MFI", ")", ";", "}", "}", "}", ""], "natrual_language": ["Process", "a", "single", "instruction", "and", "collect", "debug", "info", "anchors", "."], "TS_V_token": ["X86", "X86II::getMemoryOperandNo", "0", "X86II::getOperandBias", "X86::AddrBaseReg", "X86::ESP", "X86::AddrIndexReg", "X86::ESP"], "File": "X86FixupLEAs (2)", "Func": "processInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11298, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsSEFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MipsFunctionInfo", "*", "MipsFI", "=", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "MipsABIInfo", "ABI", "=", "STI", ".", "getABI", "(", ")", ";", "unsigned", "RA", "=", "ABI", ".", "IsN64", "(", ")", "?", "Mips", "::", "RA_64", ":", "Mips", "::", "RA", ";", "unsigned", "FP", "=", "ABI", ".", "GetFramePtr", "(", ")", ";", "unsigned", "BP", "=", "ABI", ".", "IsN64", "(", ")", "?", "Mips", "::", "S7_64", ":", "Mips", "::", "S7", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "setAliasRegs", "(", "MF", ",", "SavedRegs", ",", "RA", ")", ";", "setAliasRegs", "(", "MF", ",", "SavedRegs", ",", "FP", ")", ";", "}", "if", "(", "hasBP", "(", "MF", ")", ")", "setAliasRegs", "(", "MF", ",", "SavedRegs", ",", "BP", ")", ";", "if", "(", "MipsFI", "->", "callsEhReturn", "(", ")", ")", "MipsFI", "->", "createEhDataRegsFI", "(", ")", ";", "if", "(", "MipsFI", "->", "isISR", "(", ")", ")", "MipsFI", "->", "createISRRegFI", "(", ")", ";", "if", "(", "ExpandPseudo", "(", "MF", ")", ".", "expand", "(", ")", ")", "{", "const", "TargetRegisterClass", "&", "RC", "=", "STI", ".", "isGP64bit", "(", ")", "?", "Mips", "::", "GPR64RegClass", ":", "Mips", "::", "GPR32RegClass", ";", "int", "FI", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "CreateStackObject", "(", "TRI", "->", "getSpillSize", "(", "RC", ")", ",", "TRI", "->", "getSpillAlignment", "(", "RC", ")", ",", "false", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "FI", ")", ";", "}", "uint64_t", "MaxSPOffset", "=", "estimateStackSize", "(", "MF", ")", ";", "if", "(", "isIntN", "(", "STI", ".", "hasMSA", "(", ")", "?", "10", ":", "16", ",", "MaxSPOffset", ")", "&&", "!", "MF", ".", "getFrameInfo", "(", ")", ".", "hasVarSizedObjects", "(", ")", ")", "return", ";", "const", "TargetRegisterClass", "&", "RC", "=", "ABI", ".", "ArePtrs64bit", "(", ")", "?", "Mips", "::", "GPR64RegClass", ":", "Mips", "::", "GPR32RegClass", ";", "int", "FI", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "CreateStackObject", "(", "TRI", "->", "getSpillSize", "(", "RC", ")", ",", "TRI", "->", "getSpillAlignment", "(", "RC", ")", ",", "false", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "FI", ")", ";", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::RA_64", "Mips::RA", "Mips::S7_64", "Mips::S7", "Mips", "Mips", "Mips", "Mips", "Mips::GPR64RegClass", "Mips::GPR32RegClass", "10", "16", "Mips::GPR64RegClass", "Mips::GPR32RegClass"], "File": "MipsSEFrameLowering11", "Func": "determineCalleeSaves", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11299, "Length": 341, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMHazardRecognizer", "::", "RecedeCycle", "(", ")", "{", "llvm_unreachable", "(", "\"reverse ARM hazard checking unsupported\"", ")", ";", "}", ""], "natrual_language": ["RecedeCycle", "-", "This", "callback", "is", "invoked", "whenever", "the", "next", "bottom-up", "instruction", "to", "be", "scheduled", "can", "not", "issue", "in", "the", "current", "cycle", ",", "either", "because", "of", "latency", "or", "resource", "conflicts", "."], "TS_V_token": ["ARM", "ARM", "\"reverse ARM hazard checking unsupported\""], "File": "ARMHazardRecognizer (2)", "Func": "RecedeCycle", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11300, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "unsigned", "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": "PPCISelLowering70", "Func": "LowerReturn", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11301, "Length": 254, "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": 11302, "Length": 473, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "aarch64_output_probe_stack_range", "(", "rtx", "reg1", ",", "rtx", "reg2", ")", "{", "static", "int", "labelno", "=", "0", ";", "char", "loop_lab", "[", "32", "]", ";", "rtx", "xops", "[", "2", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "loop_lab", ",", "\"LPSRL\"", ",", "labelno", "++", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "loop_lab", ")", ";", "HOST_WIDE_INT", "stack_clash_probe_interval", "=", "1", "<<", "param_stack_clash_protection_guard_size", ";", "xops", "[", "0", "]", "=", "reg1", ";", "HOST_WIDE_INT", "interval", ";", "if", "(", "flag_stack_clash_protection", ")", "interval", "=", "stack_clash_probe_interval", ";", "else", "interval", "=", "PROBE_INTERVAL", ";", "gcc_assert", "(", "aarch64_uimm12_shift", "(", "interval", ")", ")", ";", "xops", "[", "1", "]", "=", "GEN_INT", "(", "interval", ")", ";", "output_asm_insn", "(", "\"sub\\t%0, %0, %1\"", ",", "xops", ")", ";", "if", "(", "flag_stack_clash_protection", ")", "xops", "[", "1", "]", "=", "GEN_INT", "(", "STACK_CLASH_CALLER_GUARD", ")", ";", "else", "xops", "[", "1", "]", "=", "CONST0_RTX", "(", "GET_MODE", "(", "xops", "[", "1", "]", ")", ")", ";", "output_asm_insn", "(", "\"str\\txzr, [%0, %1]\"", ",", "xops", ")", ";", "xops", "[", "1", "]", "=", "reg2", ";", "output_asm_insn", "(", "\"cmp\\t%0, %1\"", ",", "xops", ")", ";", "fputs", "(", "\"\\tb.ne\\t\"", ",", "asm_out_file", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "loop_lab", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Probe", "a", "range", "of", "stack", "addresses", "from", "REG1", "to", "REG2", "inclusive", ".", "These", "are", "absolute", "addresses", "."], "TS_V_token": ["aarch64", "0", "32", "2", "\"LPSRL\"", "1", "0", "1", "\"sub\\t%0, %0, %1\"", "1", "1", "1", "\"str\\txzr, [%0, %1]\"", "1", "\"cmp\\t%0, %1\"", "\"\\tb.ne\\t\"", "\"\""], "File": "aarch64", "Func": "aarch64_output_probe_stack_range", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11303, "Length": 179, "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": 11304, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "call_properties", "(", "const", "function_instance", "&", ")", "const", "override", "{", "return", "0", ";", "}", ""], "natrual_language": ["Default", "implementation", "of", "function_base", ":", ":call_properties", ",", "with", "conservatively", "correct", "behavior", "for", "floating-point", "instructions", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64-sve-builtins-functions3", "Func": "call_properties", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11305, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createARMISelDag", "(", "getARMTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "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", "ARM"], "File": "ARMTargetMachine (2)1", "Func": "addInstSelector", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11306, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pru_arg_in_reg_bysize", "(", "size_t", "sz", ")", "{", "return", "sz", "==", "1", "||", "sz", "==", "2", "||", "sz", "==", "3", "||", "sz", "==", "4", "||", "sz", "==", "8", ";", "}", ""], "natrual_language": ["Check", "if", "argument", "with", "the", "given", "size", "must", "be", "passed/returned", "in", "a", "register", ".", "Reference", ":", "https", ":", "//e2e.ti.com/support/development_tools/compiler/f/343/p/650176/2393029", "Arguments", "other", "than", "8/16/24/32/64bits", "are", "passed", "on", "stack", "."], "TS_V_token": ["pru", "1", "2", "3", "4", "8"], "File": "pru", "Func": "pru_arg_in_reg_bysize", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11307, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPostRegAlloc", "(", ")", "{", "addPass", "(", "createX86FloatingPointStackifierPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createX86LoadValueInjectionLoadHardeningPass", "(", ")", ")", ";", "}", ""], "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"], "File": "X86TargetMachine14", "Func": "addPostRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11308, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_define_or_undefine_macro", "(", "bool", "define_p", ",", "const", "char", "*", "name", ")", "{", "if", "(", "TARGET_DEBUG_BUILTIN", "||", "TARGET_DEBUG_TARGET", ")", "fprintf", "(", "stderr", ",", "\"#%s %s\\n\"", ",", "(", "define_p", ")", "?", "\"define\"", ":", "\"undef\"", ",", "name", ")", ";", "if", "(", "define_p", ")", "cpp_define", "(", "parse_in", ",", "name", ")", ";", "else", "cpp_undef", "(", "parse_in", ",", "name", ")", ";", "}", ""], "natrual_language": ["Define", "or", "undefine", "a", "single", "macro", "."], "TS_V_token": ["rs6000", "\"#%s %s\\n\"", "\"define\"", "\"undef\""], "File": "rs6000-c", "Func": "rs6000_define_or_undefine_macro", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11309, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "SparcTargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "EVT", "VT", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "Register", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "\"i0\"", ",", "SP", "::", "I0", ")", ".", "Case", "(", "\"i1\"", ",", "SP", "::", "I1", ")", ".", "Case", "(", "\"i2\"", ",", "SP", "::", "I2", ")", ".", "Case", "(", "\"i3\"", ",", "SP", "::", "I3", ")", ".", "Case", "(", "\"i4\"", ",", "SP", "::", "I4", ")", ".", "Case", "(", "\"i5\"", ",", "SP", "::", "I5", ")", ".", "Case", "(", "\"i6\"", ",", "SP", "::", "I6", ")", ".", "Case", "(", "\"i7\"", ",", "SP", "::", "I7", ")", ".", "Case", "(", "\"o0\"", ",", "SP", "::", "O0", ")", ".", "Case", "(", "\"o1\"", ",", "SP", "::", "O1", ")", ".", "Case", "(", "\"o2\"", ",", "SP", "::", "O2", ")", ".", "Case", "(", "\"o3\"", ",", "SP", "::", "O3", ")", ".", "Case", "(", "\"o4\"", ",", "SP", "::", "O4", ")", ".", "Case", "(", "\"o5\"", ",", "SP", "::", "O5", ")", ".", "Case", "(", "\"o6\"", ",", "SP", "::", "O6", ")", ".", "Case", "(", "\"o7\"", ",", "SP", "::", "O7", ")", ".", "Case", "(", "\"l0\"", ",", "SP", "::", "L0", ")", ".", "Case", "(", "\"l1\"", ",", "SP", "::", "L1", ")", ".", "Case", "(", "\"l2\"", ",", "SP", "::", "L2", ")", ".", "Case", "(", "\"l3\"", ",", "SP", "::", "L3", ")", ".", "Case", "(", "\"l4\"", ",", "SP", "::", "L4", ")", ".", "Case", "(", "\"l5\"", ",", "SP", "::", "L5", ")", ".", "Case", "(", "\"l6\"", ",", "SP", "::", "L6", ")", ".", "Case", "(", "\"l7\"", ",", "SP", "::", "L7", ")", ".", "Case", "(", "\"g0\"", ",", "SP", "::", "G0", ")", ".", "Case", "(", "\"g1\"", ",", "SP", "::", "G1", ")", ".", "Case", "(", "\"g2\"", ",", "SP", "::", "G2", ")", ".", "Case", "(", "\"g3\"", ",", "SP", "::", "G3", ")", ".", "Case", "(", "\"g4\"", ",", "SP", "::", "G4", ")", ".", "Case", "(", "\"g5\"", ",", "SP", "::", "G5", ")", ".", "Case", "(", "\"g6\"", ",", "SP", "::", "G6", ")", ".", "Case", "(", "\"g7\"", ",", "SP", "::", "G7", ")", ".", "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": ["Sparc", "Sparc", "\"i0\"", "SP::I0", "\"i1\"", "SP::I1", "\"i2\"", "SP::I2", "\"i3\"", "SP::I3", "\"i4\"", "SP::I4", "\"i5\"", "SP::I5", "\"i6\"", "SP::I6", "\"i7\"", "SP::I7", "\"o0\"", "SP::O0", "\"o1\"", "SP::O1", "\"o2\"", "SP::O2", "\"o3\"", "SP::O3", "\"o4\"", "SP::O4", "\"o5\"", "SP::O5", "\"o6\"", "SP::O6", "\"o7\"", "SP::O7", "\"l0\"", "SP::L0", "\"l1\"", "SP::L1", "\"l2\"", "SP::L2", "\"l3\"", "SP::L3", "\"l4\"", "SP::L4", "\"l5\"", "SP::L5", "\"l6\"", "SP::L6", "\"l7\"", "SP::L7", "\"g0\"", "SP::G0", "\"g1\"", "SP::G1", "\"g2\"", "SP::G2", "\"g3\"", "SP::G3", "\"g4\"", "SP::G4", "\"g5\"", "SP::G5", "\"g6\"", "SP::G6", "\"g7\"", "SP::G7", "0", "\"Invalid register name global variable\""], "File": "SparcISelLowering (2)2", "Func": "getRegisterByName", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11310, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_emit_stack_reset", "(", "rtx", "frame_reg_rtx", ",", "HOST_WIDE_INT", "frame_off", ",", "unsigned", "updt_regno", ")", "{", "if", "(", "frame_off", "==", "0", "&&", "REGNO", "(", "frame_reg_rtx", ")", "==", "updt_regno", ")", "return", "NULL_RTX", ";", "rtx", "updt_reg_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "updt_regno", ")", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", ")", "return", "emit_insn", "(", "gen_stack_restore_tie", "(", "updt_reg_rtx", ",", "frame_reg_rtx", ",", "GEN_INT", "(", "frame_off", ")", ")", ")", ";", "if", "(", "frame_off", "!=", "0", ")", "return", "emit_insn", "(", "gen_add3_insn", "(", "updt_reg_rtx", ",", "frame_reg_rtx", ",", "GEN_INT", "(", "frame_off", ")", ")", ")", ";", "else", "return", "emit_move_insn", "(", "updt_reg_rtx", ",", "frame_reg_rtx", ")", ";", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Emit", "a", "sequence", "of", "insns", ",", "including", "a", "stack", "tie", "if", "needed", ",", "for", "resetting", "the", "stack", "pointer", ".", "If", "UPDT_REGNO", "is", "not", "1", ",", "then", "do", "n't", "reset", "the", "stack", "pointer", ",", "but", "move", "the", "base", "of", "the", "frame", "into", "reg", "UPDT_REGNO", "for", "use", "by", "out-of-line", "register", "restore", "routines", "."], "TS_V_token": ["rs6000", "0", "0"], "File": "rs6000-logue", "Func": "rs6000_emit_stack_reset", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11311, "Length": 97, "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": 11312, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "return_addr_reg_needed_p", "(", "int", "leaf_function", ")", "{", "if", "(", "df_regs_ever_live_p", "(", "RETURN_ADDR_REGNUM", ")", ")", "return", "true", ";", "if", "(", "!", "leaf_function", "||", "crtl", "->", "uses_pic_offset_table", "||", "df_regs_ever_live_p", "(", "INCOMING_RETURN_ADDR_REGNUM", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "whether", "the", "return", "address", "register", "(", "%", "i7", ")", "is", "needed", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "return_addr_reg_needed_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11313, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMFastISel", "::", "isTypeLegal", "(", "Type", "*", "Ty", ",", "MVT", "&", "VT", ")", "{", "EVT", "evt", "=", "TLI", ".", "getValueType", "(", "Ty", ",", "true", ")", ";", "if", "(", "evt", "==", "MVT", "::", "Other", "||", "!", "evt", ".", "isSimple", "(", ")", ")", "return", "false", ";", "VT", "=", "evt", ".", "getSimpleVT", "(", ")", ";", "return", "TLI", ".", "isTypeLegal", "(", "VT", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "type", "is", "legal", "."], "TS_V_token": ["ARM", "ARM", "MVT::Other"], "File": "ARMFastISel (2)", "Func": "isTypeLegal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11314, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ")", "const", "{", "if", "(", "VT", "!=", "MVT", "::", "f32", "&&", "VT", "!=", "MVT", "::", "f64", ")", "return", "false", ";", "return", "Imm", ".", "isZero", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "can", "instruction", "select", "the", "specified", "FP", "immediate", "natively", "."], "TS_V_token": ["Mips", "Mips", "MVT::f32", "MVT::f64"], "File": "MipsISelLowering115", "Func": "isFPImmLegal", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11315, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsPassConfig", "::", "addPreEmitPass", "(", ")", "{", "PM", "->", "add", "(", "createMipsDelaySlotFillerPass", "(", "getMipsTargetMachine", "(", ")", ")", ")", ";", "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"], "File": "MipsTargetMachine59", "Func": "addPreEmitPass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11316, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "unsigned", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "switch", "(", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ")", "{", "default", ":", "break", ";", "case", "Match_Success", ":", "ProcessInstruction", "(", "Inst", ",", "Operands", ")", ";", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "Out", ".", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "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", ":", "{", "SMLoc", "ErrorLoc", "=", "IDLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "0U", ")", "{", "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\"", "\"unrecognized instruction mnemonic\"", "0U", "\"too few operands for instruction\"", "PPC", "\"invalid operand for instruction\"", "\"Implement any new match types added!\""], "File": "PPCAsmParser (2)", "Func": "MatchAndEmitInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11317, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "recpe_type", "get_recpe_type", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_SFmode", ":", "return", "(", "gen_aarch64_frecpesf", ")", ";", "case", "E_V2SFmode", ":", "return", "(", "gen_aarch64_frecpev2sf", ")", ";", "case", "E_V4SFmode", ":", "return", "(", "gen_aarch64_frecpev4sf", ")", ";", "case", "E_DFmode", ":", "return", "(", "gen_aarch64_frecpedf", ")", ";", "case", "E_V2DFmode", ":", "return", "(", "gen_aarch64_frecpev2df", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Select", "reciprocal", "initial", "estimate", "insn", "depending", "on", "machine", "mode", "."], "TS_V_token": ["aarch64"], "File": "aarch645", "Func": "get_recpe_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11318, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "tree", "def_builtin2", "(", "HOST_WIDE_INT", "mask", ",", "const", "char", "*", "name", ",", "enum", "ix86_builtin_func_type", "tcode", ",", "enum", "ix86_builtins", "code", ")", "{", "tree", "decl", "=", "NULL_TREE", ";", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "isa2", "=", "mask", ";", "if", "(", "mask", "==", "0", "||", "(", "mask", "&", "ix86_isa_flags2", ")", "!=", "0", "||", "(", "lang_hooks", ".", "builtin_function", "==", "lang_hooks", ".", "builtin_function_ext_scope", ")", ")", "{", "tree", "type", "=", "ix86_get_builtin_func_type", "(", "tcode", ")", ";", "decl", "=", "add_builtin_function", "(", "name", ",", "type", ",", "code", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "ix86_builtins", "[", "(", "int", ")", "code", "]", "=", "decl", ";", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "set_and_not_built_p", "=", "false", ";", "}", "else", "{", "deferred_isa_values2", "|=", "mask", ";", "ix86_builtins", "[", "(", "int", ")", "code", "]", "=", "NULL_TREE", ";", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "tcode", "=", "tcode", ";", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "name", "=", "name", ";", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "leaf_p", "=", "false", ";", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "nothrow_p", "=", "false", ";", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "const_p", "=", "false", ";", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "pure_p", "=", "false", ";", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "set_and_not_built_p", "=", "true", ";", "}", "return", "decl", ";", "}", ""], "natrual_language": ["Like", "def_builtin", ",", "but", "for", "additional", "isa2", "flags", "."], "TS_V_token": ["i386", "0", "0"], "File": "i3867", "Func": "def_builtin2", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11319, "Length": 217, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "HOST_WIDE_INT", "aarch64_and_split_imm1", "(", "HOST_WIDE_INT", "val_in", ")", "{", "int", "lowest_bit_set", "=", "ctz_hwi", "(", "val_in", ")", ";", "int", "highest_bit_set", "=", "floor_log2", "(", "val_in", ")", ";", "gcc_assert", "(", "val_in", "!=", "0", ")", ";", "return", "(", "(", "HOST_WIDE_INT_UC", "(", "2", ")", "<<", "highest_bit_set", ")", "-", "(", "HOST_WIDE_INT_1U", "<<", "lowest_bit_set", ")", ")", ";", "}", ""], "natrual_language": ["Create", "mask", "of", "ones", ",", "covering", "the", "lowest", "to", "highest", "bits", "set", "in", "VAL_IN", ".", "Assumed", "precondition", ":", "VAL_IN", "Is", "not", "zero", "."], "TS_V_token": ["aarch64", "0", "2"], "File": "aarch64", "Func": "aarch64_and_split_imm1", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11320, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "already_warned", "(", "tree", "fndecl", ")", "{", "struct", "decl_chain", "*", "warned", ";", "for", "(", "warned", "=", "warned_decls", ";", "warned", "!=", "NULL", ";", "warned", "=", "warned", "->", "next", ")", "if", "(", "warned", "->", "fndecl", "==", "fndecl", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "TRUE", "if", "FNDECL", "is", "on", "our", "list", "of", "warned", "about", "decls", "."], "TS_V_token": ["rx"], "File": "rx", "Func": "already_warned", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11321, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_coproc_mem_operand", "(", "rtx", "op", ",", "bool", "wb", ")", "{", "rtx", "ind", ";", "if", "(", "!", "(", "reload_in_progress", "||", "reload_completed", ")", "&&", "(", "reg_mentioned_p", "(", "frame_pointer_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "arg_pointer_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "virtual_incoming_args_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "virtual_outgoing_args_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "virtual_stack_dynamic_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "virtual_stack_vars_rtx", ",", "op", ")", ")", ")", "return", "FALSE", ";", "if", "(", "GET_CODE", "(", "op", ")", "!=", "MEM", ")", "return", "FALSE", ";", "ind", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "reload_completed", "&&", "(", "GET_CODE", "(", "ind", ")", "==", "LABEL_REF", "||", "(", "GET_CODE", "(", "ind", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "ind", ",", "0", ")", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "ind", ",", "0", ")", ",", "0", ")", ")", "==", "LABEL_REF", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "ind", ",", "0", ")", ",", "1", ")", ")", "==", "CONST_INT", ")", ")", ")", "return", "TRUE", ";", "if", "(", "GET_CODE", "(", "ind", ")", "==", "REG", ")", "return", "arm_address_register_rtx_p", "(", "ind", ",", "0", ")", ";", "if", "(", "wb", "&&", "(", "GET_CODE", "(", "ind", ")", "==", "PRE_INC", "||", "GET_CODE", "(", "ind", ")", "==", "POST_INC", "||", "GET_CODE", "(", "ind", ")", "==", "PRE_DEC", "||", "GET_CODE", "(", "ind", ")", "==", "POST_DEC", ")", ")", "return", "arm_address_register_rtx_p", "(", "XEXP", "(", "ind", ",", "0", ")", ",", "0", ")", ";", "if", "(", "wb", "&&", "(", "GET_CODE", "(", "ind", ")", "==", "POST_MODIFY", "||", "GET_CODE", "(", "ind", ")", "==", "PRE_MODIFY", ")", "&&", "arm_address_register_rtx_p", "(", "XEXP", "(", "ind", ",", "0", ")", ",", "0", ")", "&&", "GET_CODE", "(", "XEXP", "(", "ind", ",", "1", ")", ")", "==", "PLUS", "&&", "rtx_equal_p", "(", "XEXP", "(", "XEXP", "(", "ind", ",", "1", ")", ",", "0", ")", ",", "XEXP", "(", "ind", ",", "0", ")", ")", ")", "ind", "=", "XEXP", "(", "ind", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "ind", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "ind", ",", "0", ")", ")", "==", "REG", "&&", "REG_MODE_OK_FOR_BASE_P", "(", "XEXP", "(", "ind", ",", "0", ")", ",", "VOIDmode", ")", "&&", "GET_CODE", "(", "XEXP", "(", "ind", ",", "1", ")", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "XEXP", "(", "ind", ",", "1", ")", ")", ">", "-", "1024", "&&", "INTVAL", "(", "XEXP", "(", "ind", ",", "1", ")", ")", "<", "1024", "&&", "(", "INTVAL", "(", "XEXP", "(", "ind", ",", "1", ")", ")", "&", "3", ")", "==", "0", ")", "return", "TRUE", ";", "return", "FALSE", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "OP", "is", "a", "valid", "coprocessor", "memory", "address", "pattern", ".", "WB", "if", "true", "if", "writeback", "address", "modes", "are", "allowed", "."], "TS_V_token": ["arm", "0", "0", "0", "0", "0", "1", "0", "0", "0", "0", "0", "1", "1", "0", "0", "1", "0", "0", "1", "1", "1024", "1", "1024", "1", "3", "0"], "File": "arm3", "Func": "arm_coproc_mem_operand", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11322, "Length": 393, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "LC3bRegisterInfo", "&", "LC3bInstrInfo", "::", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["LC3b", "LC3b", "LC3b"], "File": "LC3bInstrInfo", "Func": "getRegisterInfo", "Target": "LC3b", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11323, "Length": 14, "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": 11324, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86CallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "unsigned", "VReg", ")", "const", "{", "if", "(", "Val", ")", "return", "false", ";", "(", "void", ")", "RetCC_X86", ";", "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", "X86::RET", "0"], "File": "X86CallLowering8", "Func": "lowerReturn", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11325, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_mode_dependent_address_p", "(", "const_rtx", "addr", ",", "addr_space_t", "as", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", "&&", "sparc_pic_register_p", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "&&", "symbolic_operand", "(", "XEXP", "(", "addr", ",", "1", ")", ",", "VOIDmode", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "ADDR", "(", "a", "legitimate", "address", "expression", ")", "has", "an", "effect", "that", "depends", "on", "the", "machine", "mode", "it", "is", "used", "for", ".", "In", "PIC", "mode", ",", "(", "mem", ":", "HI", "[", "%", "l7+a", "]", ")", "is", "not", "equivalent", "to", "(", "mem", ":", "QI", "[", "%", "l7+a", "]", ")", "(", "mem", ":", "QI", "[", "%", "l7+a+1", "]", ")", "because", "[", "%", "l7+a+1", "]", "is", "interpreted", "as", "the", "address", "of", "(", "a+1", ")", "."], "TS_V_token": ["sparc", "0", "1"], "File": "sparc", "Func": "sparc_mode_dependent_address_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11326, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "SparcRegisterInfo", "::", "getDwarfRegNum", "(", "unsigned", "RegNum", ",", "bool", "isEH", ")", "const", "{", "return", "SparcGenRegisterInfo", "::", "getDwarfRegNumFull", "(", "RegNum", ",", "0", ")", ";", "}", ""], "natrual_language": ["Map", "a", "target", "register", "to", "an", "equivalent", "dwarf", "register", "number", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "0"], "File": "SparcRegisterInfo12", "Func": "getDwarfRegNum", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11327, "Length": 24, "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": 11328, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "SDValue", "WidenVector", "(", "SDValue", "V64Reg", ",", "SelectionDAG", "&", "DAG", ")", "{", "EVT", "VT", "=", "V64Reg", ".", "getValueType", "(", ")", ";", "unsigned", "NarrowSize", "=", "VT", ".", "getVectorNumElements", "(", ")", ";", "MVT", "EltTy", "=", "VT", ".", "getVectorElementType", "(", ")", ".", "getSimpleVT", "(", ")", ";", "MVT", "WideTy", "=", "MVT", "::", "getVectorVT", "(", "EltTy", ",", "2", "*", "NarrowSize", ")", ";", "SDLoc", "DL", "(", "V64Reg", ")", ";", "return", "DAG", ".", "getNode", "(", "ISD", "::", "INSERT_SUBVECTOR", ",", "DL", ",", "WideTy", ",", "DAG", ".", "getUNDEF", "(", "WideTy", ")", ",", "V64Reg", ",", "DAG", ".", "getConstant", "(", "0", ",", "MVT", "::", "i32", ")", ")", ";", "}", ""], "natrual_language": ["Widen", "the", "vector", "up", "to", "the", "next", "power", "of", "two", "using", "INSERT_SUBVECTOR", "."], "TS_V_token": ["AArch64", "MVT::getVectorVT", "2", "ISD::INSERT_SUBVECTOR", "0", "MVT::i32"], "File": "AArch64ISelLowering117", "Func": "WidenVector", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11329, "Length": 98, "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": 11330, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_finish_cost", "(", "void", "*", "data", ",", "unsigned", "*", "prologue_cost", ",", "unsigned", "*", "body_cost", ",", "unsigned", "*", "epilogue_cost", ")", "{", "unsigned", "*", "cost", "=", "(", "unsigned", "*", ")", "data", ";", "*", "prologue_cost", "=", "cost", "[", "vect_prologue", "]", ";", "*", "body_cost", "=", "cost", "[", "vect_body", "]", ";", "*", "epilogue_cost", "=", "cost", "[", "vect_epilogue", "]", ";", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.finish_cost", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_finish_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11331, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_option_reconfigure_globals", "(", "void", ")", "{", "sprintf", "(", "arm_arch_name", ",", "\"__ARM_ARCH_%s__\"", ",", "arm_active_target", ".", "arch_pp_name", ")", ";", "arm_base_arch", "=", "arm_active_target", ".", "base_arch", ";", "arm_arch4", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_armv4", ")", ";", "arm_arch4t", "=", "arm_arch4", "&&", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_thumb", ")", ";", "arm_arch5t", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_armv5t", ")", ";", "arm_arch5te", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_armv5te", ")", ";", "arm_arch6", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_armv6", ")", ";", "arm_arch6k", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_armv6k", ")", ";", "arm_arch_notm", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_notm", ")", ";", "arm_arch6m", "=", "arm_arch6", "&&", "!", "arm_arch_notm", ";", "arm_arch7", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_armv7", ")", ";", "arm_arch7em", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_armv7em", ")", ";", "arm_arch8", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_armv8", ")", ";", "arm_arch8_1", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_armv8_1", ")", ";", "arm_arch8_2", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_armv8_2", ")", ";", "arm_arch8_3", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_armv8_3", ")", ";", "arm_arch8_4", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_armv8_4", ")", ";", "arm_arch8_1m_main", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_armv8_1m_main", ")", ";", "arm_arch_thumb1", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_thumb", ")", ";", "arm_arch_thumb2", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_thumb2", ")", ";", "arm_arch_xscale", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_xscale", ")", ";", "arm_arch_iwmmxt", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_iwmmxt", ")", ";", "arm_arch_iwmmxt2", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_iwmmxt2", ")", ";", "arm_arch_thumb_hwdiv", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_tdiv", ")", ";", "arm_arch_arm_hwdiv", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_adiv", ")", ";", "arm_arch_crc", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_crc32", ")", ";", "arm_arch_cmse", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_cmse", ")", ";", "arm_arch_lpae", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_lpae", ")", ";", "arm_arch_i8mm", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_i8mm", ")", ";", "arm_arch_bf16", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_bf16", ")", ";", "arm_fp16_inst", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_fp16", ")", ";", "if", "(", "arm_fp16_inst", ")", "{", "if", "(", "arm_fp16_format", "==", "ARM_FP16_FORMAT_ALTERNATIVE", ")", "error", "(", "\"selected fp16 options are incompatible\"", ")", ";", "arm_fp16_format", "=", "ARM_FP16_FORMAT_IEEE", ";", "}", "arm_arch_cde", "=", "0", ";", "arm_arch_cde_coproc", "=", "0", ";", "int", "cde_bits", "[", "]", "=", "{", "isa_bit_cdecp0", ",", "isa_bit_cdecp1", ",", "isa_bit_cdecp2", ",", "isa_bit_cdecp3", ",", "isa_bit_cdecp4", ",", "isa_bit_cdecp5", ",", "isa_bit_cdecp6", ",", "isa_bit_cdecp7", "}", ";", "for", "(", "int", "i", "=", "0", ",", "e", "=", "ARRAY_SIZE", "(", "cde_bits", ")", ";", "i", "<", "e", ";", "i", "++", ")", "{", "int", "cde_bit", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "cde_bits", "[", "i", "]", ")", ";", "if", "(", "cde_bit", ")", "{", "arm_arch_cde", "|=", "cde_bit", ";", "arm_arch_cde_coproc", "|=", "arm_arch_cde_coproc_bits", "[", "i", "]", ";", "}", "}", "arm_arch_no_volatile_ce", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_quirk_no_volatile_ce", ")", ";", "arm_arch6kz", "=", "arm_arch6k", "&&", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_quirk_armv6kz", ")", ";", "if", "(", "target_thread_pointer", "==", "TP_AUTO", ")", "{", "if", "(", "arm_arch6k", "&&", "!", "TARGET_THUMB1", ")", "target_thread_pointer", "=", "TP_CP15", ";", "else", "target_thread_pointer", "=", "TP_SOFT", ";", "}", "if", "(", "!", "TARGET_HARD_TP", "&&", "arm_stack_protector_guard", "==", "SSP_TLSREG", ")", "error", "(", "\"%<-mstack-protector-guard=tls%> needs a hardware TLS register\"", ")", ";", "}", ""], "natrual_language": ["Reconfigure", "global", "status", "flags", "from", "the", "active_target.isa", "."], "TS_V_token": ["arm", "\"__ARM_ARCH_%s__\"", "\"selected fp16 options are incompatible\"", "0", "0", "0", "\"%<-mstack-protector-guard=tls%> needs a hardware TLS register\""], "File": "arm", "Func": "arm_option_reconfigure_globals", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11332, "Length": 510, "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": 11333, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "main", "(", ")", "{", "int", "i", ",", "j", ";", "double", "q", ",", "r", ",", "err", ",", "max_err", "=", "0", ",", "max_s_err", "=", "0", ";", "puts", "(", "\"/* This table has been generated by divtab-sh4.cc. */\"", ")", ";", "puts", "(", "\"\\t.balign 4\"", ")", ";", "for", "(", "i", "=", "-", "128", ";", "i", "<", "128", ";", "i", "++", ")", "{", "int", "n", "=", "0", ";", "if", "(", "i", "==", "0", ")", "{", "puts", "(", "\"LOCAL(div_table_clz):\\n\\t.byte\\t0\"", ")", ";", "continue", ";", "}", "for", "(", "j", "=", "i", "<", "0", "?", "-", "i", ":", "i", ";", "j", "<", "128", ";", "j", "+=", "j", ")", "n", "++", ";", "printf", "(", "\"\\t.byte\\t%d\\n\"", ",", "n", "-", "7", ")", ";", "}", "puts", "(", "\"\\ /* 1/-128 .. 1/127, normalized. There is an implicit leading 1 in bit 32,\\n\\ or in bit 33 for powers of two. */\\n\\ .balign 4\"", ")", ";", "for", "(", "i", "=", "-", "128", ";", "i", "<", "128", ";", "i", "++", ")", "{", "if", "(", "i", "==", "0", ")", "{", "puts", "(", "\"LOCAL(div_table_inv):\\n\\t.long\\t0x0\"", ")", ";", "continue", ";", "}", "j", "=", "i", "<", "0", "?", "-", "i", ":", "i", ";", "while", "(", "j", "<", "64", ")", "j", "+=", "j", ";", "q", "=", "4.", "*", "(", "1", "<<", "30", ")", "*", "128", "/", "j", ";", "r", "=", "ceil", "(", "q", ")", ";", "printf", "(", "\"\\t.long\\t0x%X\\n\"", ",", "(", "unsigned", ")", "r", ")", ";", "err", "=", "r", "-", "q", ";", "if", "(", "err", ">", "max_err", ")", "max_err", "=", "err", ";", "err", "=", "err", "*", "j", "/", "128", ";", "if", "(", "err", ">", "max_s_err", ")", "max_s_err", "=", "err", ";", "}", "printf", "(", "\"\\t/* maximum error: %f scaled: %f*/\\n\"", ",", "max_err", ",", "max_s_err", ")", ";", "exit", "(", "0", ")", ";", "}", ""], "natrual_language": ["Main", "program", "to", "convert", "flat", "files", "into", "built-in", "initialization", "code", "."], "TS_V_token": ["sh", "0", "0", "\"/* This table has been generated by divtab-sh4.cc. */\"", "\"\\t.balign 4\"", "128", "128", "0", "0", "\"LOCAL(div_table_clz):\\n\\t.byte\\t0\"", "0", "128", "\"\\t.byte\\t%d\\n\"", "7", "\"\\ /* 1/-128 .. 1/127, normalized. There is an implicit leading 1 in bit 32,\\n\\ or in bit 33 for powers of two. */\\n\\ .balign 4\"", "128", "128", "0", "\"LOCAL(div_table_inv):\\n\\t.long\\t0x0\"", "0", "64", "4.", "1", "30", "128", "\"\\t.long\\t0x%X\\n\"", "128", "\"\\t/* maximum error: %f scaled: %f*/\\n\"", "0"], "File": "divtab-sh4-300", "Func": "main", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11334, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CallLowering", "::", "lowerCall", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "CallInst", "&", "CI", ",", "unsigned", "CalleeReg", ",", "unsigned", "ResReg", ",", "ArrayRef", "<", "unsigned", ">", "ArgRegs", ")", "const", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "Function", "&", "F", "=", "*", "MF", ".", "getFunction", "(", ")", ";", "SmallVector", "<", "MVT", ",", "8", ">", "ArgTys", ";", "for", "(", "auto", "&", "Arg", ":", "CI", ".", "arg_operands", "(", ")", ")", "ArgTys", ".", "push_back", "(", "MVT", "::", "getVT", "(", "Arg", "->", "getType", "(", ")", ")", ")", ";", "const", "AArch64TargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "AArch64TargetLowering", ">", "(", ")", ";", "CCAssignFn", "*", "CallAssignFn", "=", "TLI", ".", "CCAssignFnForCall", "(", "F", ".", "getCallingConv", "(", ")", ",", "false", ")", ";", "SmallVector", "<", "unsigned", ",", "8", ">", "PhysRegs", ";", "handleAssignments", "(", "MIRBuilder", ",", "CallAssignFn", ",", "ArgTys", ",", "ArgRegs", ",", "[", "&", "]", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "unsigned", "ValReg", ",", "unsigned", "PhysReg", ")", "{", "MIRBuilder", ".", "buildCopy", "(", "PhysReg", ",", "ValReg", ")", ";", "PhysRegs", ".", "push_back", "(", "PhysReg", ")", ";", "}", ")", ";", "MachineInstrBuilder", "MIB", ";", "if", "(", "CalleeReg", ")", "MIB", "=", "MIRBuilder", ".", "buildInstr", "(", "AArch64", "::", "BLR", ")", ".", "addUse", "(", "CalleeReg", ")", ";", "else", "MIB", "=", "MIRBuilder", ".", "buildInstr", "(", "AArch64", "::", "BL", ")", ".", "addGlobalAddress", "(", "CI", ".", "getCalledFunction", "(", ")", ")", ";", "auto", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MIB", ".", "addRegMask", "(", "TRI", "->", "getCallPreservedMask", "(", "MF", ",", "F", ".", "getCallingConv", "(", ")", ")", ")", ";", "for", "(", "auto", "Reg", ":", "PhysRegs", ")", "MIB", ".", "addUse", "(", "Reg", ",", "RegState", "::", "Implicit", ")", ";", "CCAssignFn", "*", "RetAssignFn", "=", "TLI", ".", "CCAssignFnForReturn", "(", "F", ".", "getCallingConv", "(", ")", ")", ";", "if", "(", "!", "CI", ".", "getType", "(", ")", "->", "isVoidTy", "(", ")", ")", "handleAssignments", "(", "MIRBuilder", ",", "RetAssignFn", ",", "MVT", "::", "getVT", "(", "CI", ".", "getType", "(", ")", ")", ",", "ResReg", ",", "[", "&", "]", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "unsigned", "ValReg", ",", "unsigned", "PhysReg", ")", "{", "MIRBuilder", ".", "buildCopy", "(", "ValReg", ",", "PhysReg", ")", ";", "MIB", ".", "addDef", "(", "PhysReg", ",", "RegState", "::", "Implicit", ")", ";", "}", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "given", "call", "instruction", ",", "including", "argument", "and", "return", "value", "marshalling", "."], "TS_V_token": ["AArch64", "AArch64", "8", "MVT::getVT", "AArch64", "AArch64", "8", "AArch64::BLR", "AArch64::BL", "MVT::getVT"], "File": "AArch64CallLowering47", "Func": "lowerCall", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11335, "Length": 350, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb2InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "Register", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlign", "(", "FI", ")", ")", ";", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "ARM", "::", "GPRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "t2LDRi12", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "return", ";", "}", "if", "(", "ARM", "::", "GPRPairRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "if", "(", "Register", "::", "isVirtualRegister", "(", "DestReg", ")", ")", "{", "MachineRegisterInfo", "*", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "MRI", "->", "constrainRegClass", "(", "DestReg", ",", "&", "ARM", "::", "GPRPairnospRegClass", ")", ";", "}", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "t2LDRDi8", ")", ")", ";", "AddDReg", "(", "MIB", ",", "DestReg", ",", "ARM", "::", "gsub_0", ",", "RegState", "::", "DefineNoRead", ",", "TRI", ")", ";", "AddDReg", "(", "MIB", ",", "DestReg", ",", "ARM", "::", "gsub_1", ",", "RegState", "::", "DefineNoRead", ",", "TRI", ")", ";", "MIB", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "if", "(", "Register", "::", "isPhysicalRegister", "(", "DestReg", ")", ")", "MIB", ".", "addReg", "(", "DestReg", ",", "RegState", "::", "ImplicitDefine", ")", ";", "return", ";", "}", "ARMBaseInstrInfo", "::", "loadRegFromStackSlot", "(", "MBB", ",", "I", ",", "DestReg", ",", "FI", ",", "RC", ",", "TRI", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM::GPRRegClass", "ARM::t2LDRi12", "0", "ARMCC::AL", "ARM::GPRPairRegClass", "ARM::GPRPairnospRegClass", "ARM::t2LDRDi8", "ARM::gsub_0", "ARM::gsub_1", "0", "ARMCC::AL", "ARM"], "File": "Thumb2InstrInfo", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11336, "Length": 335, "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", "(", ")", ")", ";", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "bool", "isARM", "=", "!", "AFI", "->", "isThumbFunction", "(", ")", ";", "DebugLoc", "dl", "=", "I", "->", "getDebugLoc", "(", ")", ";", "unsigned", "Opc", "=", "I", "->", "getOpcode", "(", ")", ";", "bool", "IsDestroy", "=", "Opc", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ";", "unsigned", "CalleePopAmount", "=", "IsDestroy", "?", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ":", "0", ";", "assert", "(", "!", "AFI", "->", "isThumb1OnlyFunction", "(", ")", "&&", "\"This eliminateCallFramePseudoInstr does not support Thumb1!\"", ")", ";", "int", "PIdx", "=", "I", "->", "findFirstPredOperandIdx", "(", ")", ";", "ARMCC", "::", "CondCodes", "Pred", "=", "(", "PIdx", "==", "-", "1", ")", "?", "ARMCC", "::", "AL", ":", "(", "ARMCC", "::", "CondCodes", ")", "I", "->", "getOperand", "(", "PIdx", ")", ".", "getImm", "(", ")", ";", "unsigned", "PredReg", "=", "TII", ".", "getFramePred", "(", "*", "I", ")", ";", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "if", "(", "IsDestroy", "&&", "CalleePopAmount", "!=", "-", "1U", ")", "return", "MBB", ".", "erase", "(", "I", ")", ";", "unsigned", "Amount", "=", "TII", ".", "getFrameSize", "(", "*", "I", ")", ";", "if", "(", "Amount", "!=", "0", ")", "{", "Amount", "=", "alignSPAdjust", "(", "Amount", ")", ";", "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", ")", ";", "}", "}", "}", "else", "if", "(", "CalleePopAmount", "!=", "-", "1U", ")", "{", "emitSPUpdate", "(", "isARM", ",", "MBB", ",", "I", ",", "dl", ",", "TII", ",", "-", "CalleePopAmount", ",", "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", "ARM", "ARM", "ARM", "1", "0", "\"This eliminateCallFramePseudoInstr does not support Thumb1!\"", "ARMCC::CondCodes", "1", "ARMCC::AL", "ARMCC::CondCodes", "1U", "0", "ARM::ADJCALLSTACKDOWN", "ARM::tADJCALLSTACKDOWN", "ARM", "ARM::ADJCALLSTACKUP", "ARM::tADJCALLSTACKUP", "ARM", "1U", "ARM"], "File": "ARMFrameLowering100", "Func": "eliminateCallFramePseudoInstr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11337, "Length": 357, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "X86Subtarget", "&", "X86MCInstLower", "::", "getSubtarget", "(", ")", "const", "{", "return", "AsmPrinter", ".", "getSubtarget", "(", ")", ";", "}", ""], "natrual_language": ["getSubtarget", "-", "Return", "the", "subtarget", "for", "which", "this", "machine", "code", "is", "being", "compiled", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86MCInstLower110", "Func": "getSubtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11338, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86IntelInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "OS", ",", "StringRef", "Annot", ")", "{", "printInstruction", "(", "MI", ",", "OS", ")", ";", "if", "(", "CommentStream", ")", "{", "printAnnotation", "(", "OS", ",", "Annot", ")", ";", "EmitAnyX86InstComments", "(", "MI", ",", "*", "CommentStream", ",", "getRegisterName", ")", ";", "}", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86IntelInstPrinter46", "Func": "printInst", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11339, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMTargetLowering", "::", "getJumpTableEncoding", "(", ")", "const", "{", "return", "MachineJumpTableInfo", "::", "EK_Inline", ";", "}", ""], "natrual_language": ["Return", "the", "entry", "encoding", "for", "a", "jump", "table", "in", "the", "current", "function", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMISelLowering (2)", "Func": "getJumpTableEncoding", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11340, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBank", "&", "ARMRegisterBankInfo", "::", "getRegBankFromRegClass", "(", "const", "TargetRegisterClass", "&", "RC", ",", "LLT", ")", "const", "{", "using", "namespace", "ARM", ";", "switch", "(", "RC", ".", "getID", "(", ")", ")", "{", "case", "GPRRegClassID", ":", "case", "GPRwithAPSRRegClassID", ":", "case", "GPRnoipRegClassID", ":", "case", "GPRnopcRegClassID", ":", "case", "GPRnoip_and_GPRnopcRegClassID", ":", "case", "rGPRRegClassID", ":", "case", "GPRspRegClassID", ":", "case", "GPRnoip_and_tcGPRRegClassID", ":", "case", "tcGPRRegClassID", ":", "case", "tGPRRegClassID", ":", "case", "tGPREvenRegClassID", ":", "case", "tGPROddRegClassID", ":", "case", "tGPR_and_tGPREvenRegClassID", ":", "case", "tGPR_and_tGPROddRegClassID", ":", "case", "tGPREven_and_tcGPRRegClassID", ":", "case", "tGPREven_and_GPRnoip_and_tcGPRRegClassID", ":", "case", "tGPROdd_and_tcGPRRegClassID", ":", "return", "getRegBank", "(", "ARM", "::", "GPRRegBankID", ")", ";", "case", "HPRRegClassID", ":", "case", "SPR_8RegClassID", ":", "case", "SPRRegClassID", ":", "case", "DPR_8RegClassID", ":", "case", "DPRRegClassID", ":", "case", "QPRRegClassID", ":", "return", "getRegBank", "(", "ARM", "::", "FPRRegBankID", ")", ";", "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", "ARM::FPRRegBankID", "\"Unsupported register kind\"", "\"Switch should handle all register classes\""], "File": "ARMRegisterBankInfo12", "Func": "getRegBankFromRegClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11341, "Length": 128, "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": 11342, "Length": 320, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mmix_option_override", "(", "void", ")", "{", "if", "(", "flag_pic", ")", "{", "warning", "(", "0", ",", "\"-f%s not supported: ignored\"", ",", "(", "flag_pic", ">", "1", ")", "?", "\"PIC\"", ":", "\"pic\"", ")", ";", "flag_pic", "=", "0", ";", "}", "}", ""], "natrual_language": ["TARGET_OPTION_OVERRIDE", "."], "TS_V_token": ["mmix", "0", "\"-f%s not supported: ignored\"", "1", "\"PIC\"", "\"pic\"", "0"], "File": "mmix4", "Func": "mmix_option_override", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11343, "Length": 35, "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", "(", ")", ";", "const", "TargetRegisterInfo", "&", "TRI", "=", "*", "MRI", ".", "getTargetRegisterInfo", "(", ")", ";", "const", "TargetRegisterClass", "&", "RC", "=", "*", "MRI", ".", "getRegClass", "(", "DstReg", ")", ";", "assert", "(", "Cond", ".", "size", "(", ")", "==", "1", "&&", "\"Invalid Cond array\"", ")", ";", "unsigned", "Opc", "=", "X86", "::", "getCMovOpcode", "(", "TRI", ".", "getRegSizeInBits", "(", "RC", ")", "/", "8", ",", "false", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DstReg", ")", ".", "addReg", "(", "FalseReg", ")", ".", "addReg", "(", "TrueReg", ")", ".", "addImm", "(", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ")", ";", "}", ""], "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::getCMovOpcode", "8", "0"], "File": "X86InstrInfo106", "Func": "insertSelect", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11344, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "ix86_minimum_incoming_stack_boundary", "(", "bool", "sibcall", ")", "{", "unsigned", "int", "incoming_stack_boundary", ";", "if", "(", "ix86_user_incoming_stack_boundary", ")", "incoming_stack_boundary", "=", "ix86_user_incoming_stack_boundary", ";", "else", "if", "(", "!", "sibcall", "&&", "ix86_force_align_arg_pointer", "&&", "crtl", "->", "stack_alignment_estimated", "==", "128", ")", "incoming_stack_boundary", "=", "MIN_STACK_BOUNDARY", ";", "else", "incoming_stack_boundary", "=", "ix86_default_incoming_stack_boundary", ";", "if", "(", "incoming_stack_boundary", ">", "MIN_STACK_BOUNDARY", "&&", "lookup_attribute", "(", "ix86_force_align_arg_pointer_string", ",", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "current_function_decl", ")", ")", ")", ")", "incoming_stack_boundary", "=", "MIN_STACK_BOUNDARY", ";", "if", "(", "incoming_stack_boundary", "<", "crtl", "->", "parm_stack_boundary", ")", "incoming_stack_boundary", "=", "crtl", "->", "parm_stack_boundary", ";", "if", "(", "incoming_stack_boundary", ">", "MAIN_STACK_BOUNDARY", "&&", "DECL_NAME", "(", "current_function_decl", ")", "&&", "MAIN_NAME_P", "(", "DECL_NAME", "(", "current_function_decl", ")", ")", "&&", "DECL_FILE_SCOPE_P", "(", "current_function_decl", ")", ")", "incoming_stack_boundary", "=", "MAIN_STACK_BOUNDARY", ";", "return", "incoming_stack_boundary", ";", "}", ""], "natrual_language": ["Return", "minimum", "incoming", "stack", "alignment", "."], "TS_V_token": ["i386", "128"], "File": "i3865", "Func": "ix86_minimum_incoming_stack_boundary", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11345, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MipsSubtarget", "&", "MipsSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetMachine", "&", "TM", ")", "{", "StringRef", "CPUName", "=", "MIPS_MC", "::", "selectMipsCPU", "(", "TM", ".", "getTargetTriple", "(", ")", ",", "CPU", ")", ";", "ParseSubtargetFeatures", "(", "CPUName", ",", "CPUName", ",", "FS", ")", ";", "InstrItins", "=", "getInstrItineraryForCPU", "(", "CPUName", ")", ";", "if", "(", "InMips16Mode", "&&", "!", "IsSoftFloat", ")", "InMips16HardFloat", "=", "true", ";", "if", "(", "StackAlignOverride", ")", "stackAlignment", "=", "*", "StackAlignOverride", ";", "else", "if", "(", "isABI_N32", "(", ")", "||", "isABI_N64", "(", ")", ")", "stackAlignment", "=", "Align", "(", "16", ")", ";", "else", "{", "assert", "(", "isABI_O32", "(", ")", "&&", "\"Unknown ABI for stack alignment!\"", ")", ";", "stackAlignment", "=", "Align", "(", "8", ")", ";", "}", "if", "(", "(", "isABI_N32", "(", ")", "||", "isABI_N64", "(", ")", ")", "&&", "!", "isGP64bit", "(", ")", ")", "report_fatal_error", "(", "\"64-bit code requested on a subtarget that doesn't \"", "\"support it!\"", ")", ";", "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_MC::selectMipsCPU", "Mips", "Mips", "16", "\"Unknown ABI for stack alignment!\"", "8", "\"64-bit code requested on a subtarget that doesn't \"", "\"support it!\""], "File": "MipsSubtarget (2)2", "Func": "initializeSubtargetDependencies", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11346, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "sh_check_pch_target_flags", "(", "int", "old_flags", ")", "{", "if", "(", "(", "old_flags", "^", "target_flags", ")", "&", "(", "MASK_SH1", "|", "MASK_SH2", "|", "MASK_SH3", "|", "MASK_SH_E", "|", "MASK_HARD_SH4", "|", "MASK_FPU_SINGLE", "|", "MASK_SH4", ")", ")", "return", "_", "(", "\"created and used with different architectures / ABIs\"", ")", ";", "if", "(", "(", "old_flags", "^", "target_flags", ")", "&", "MASK_HITACHI", ")", "return", "_", "(", "\"created and used with different ABIs\"", ")", ";", "if", "(", "(", "old_flags", "^", "target_flags", ")", "&", "MASK_LITTLE_ENDIAN", ")", "return", "_", "(", "\"created and used with different endianness\"", ")", ";", "return", "NULL", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CHECK_PCH_TARGET_FLAGS", "."], "TS_V_token": ["sh", "\"created and used with different architectures / ABIs\"", "\"created and used with different ABIs\"", "\"created and used with different endianness\""], "File": "sh", "Func": "sh_check_pch_target_flags", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11347, "Length": 76, "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", "(", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "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": "X86FrameLowering128", "Func": "hasFP", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11348, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_evpc_trn", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "int", "i", ",", "odd", ",", "mask", ",", "nelt", "=", "d", "->", "nelt", ";", "rtx", "out", ",", "in0", ",", "in1", ",", "x", ";", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "machine_mode", "vmode", "=", "d", "->", "vmode", ";", "if", "(", "GET_MODE_UNIT_SIZE", "(", "vmode", ")", ">", "8", ")", "return", "false", ";", "if", "(", "d", "->", "perm", "[", "0", "]", "==", "0", ")", "odd", "=", "0", ";", "else", "if", "(", "d", "->", "perm", "[", "0", "]", "==", "1", ")", "odd", "=", "1", ";", "else", "return", "false", ";", "mask", "=", "(", "d", "->", "one_vector_p", "?", "nelt", "-", "1", ":", "2", "*", "nelt", "-", "1", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "i", "+=", "2", ")", "{", "if", "(", "d", "->", "perm", "[", "i", "]", "!=", "i", "+", "odd", ")", "return", "false", ";", "if", "(", "d", "->", "perm", "[", "i", "+", "1", "]", "!=", "(", "(", "i", "+", "nelt", "+", "odd", ")", "&", "mask", ")", ")", "return", "false", ";", "}", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "in0", "=", "d", "->", "op0", ";", "in1", "=", "d", "->", "op1", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "{", "x", "=", "in0", ",", "in0", "=", "in1", ",", "in1", "=", "x", ";", "odd", "=", "!", "odd", ";", "}", "out", "=", "d", "->", "target", ";", "if", "(", "odd", ")", "{", "switch", "(", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_aarch64_trn2v16qi", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_aarch64_trn2v8qi", ";", "break", ";", "case", "V8HImode", ":", "gen", "=", "gen_aarch64_trn2v8hi", ";", "break", ";", "case", "V4HImode", ":", "gen", "=", "gen_aarch64_trn2v4hi", ";", "break", ";", "case", "V4SImode", ":", "gen", "=", "gen_aarch64_trn2v4si", ";", "break", ";", "case", "V2SImode", ":", "gen", "=", "gen_aarch64_trn2v2si", ";", "break", ";", "case", "V2DImode", ":", "gen", "=", "gen_aarch64_trn2v2di", ";", "break", ";", "case", "V4HFmode", ":", "gen", "=", "gen_aarch64_trn2v4hf", ";", "break", ";", "case", "V8HFmode", ":", "gen", "=", "gen_aarch64_trn2v8hf", ";", "break", ";", "case", "V4SFmode", ":", "gen", "=", "gen_aarch64_trn2v4sf", ";", "break", ";", "case", "V2SFmode", ":", "gen", "=", "gen_aarch64_trn2v2sf", ";", "break", ";", "case", "V2DFmode", ":", "gen", "=", "gen_aarch64_trn2v2df", ";", "break", ";", "default", ":", "return", "false", ";", "}", "}", "else", "{", "switch", "(", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_aarch64_trn1v16qi", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_aarch64_trn1v8qi", ";", "break", ";", "case", "V8HImode", ":", "gen", "=", "gen_aarch64_trn1v8hi", ";", "break", ";", "case", "V4HImode", ":", "gen", "=", "gen_aarch64_trn1v4hi", ";", "break", ";", "case", "V4SImode", ":", "gen", "=", "gen_aarch64_trn1v4si", ";", "break", ";", "case", "V2SImode", ":", "gen", "=", "gen_aarch64_trn1v2si", ";", "break", ";", "case", "V2DImode", ":", "gen", "=", "gen_aarch64_trn1v2di", ";", "break", ";", "case", "V4HFmode", ":", "gen", "=", "gen_aarch64_trn1v4hf", ";", "break", ";", "case", "V8HFmode", ":", "gen", "=", "gen_aarch64_trn1v8hf", ";", "break", ";", "case", "V4SFmode", ":", "gen", "=", "gen_aarch64_trn1v4sf", ";", "break", ";", "case", "V2SFmode", ":", "gen", "=", "gen_aarch64_trn1v2sf", ";", "break", ";", "case", "V2DFmode", ":", "gen", "=", "gen_aarch64_trn1v2df", ";", "break", ";", "default", ":", "return", "false", ";", "}", "}", "emit_insn", "(", "gen", "(", "out", ",", "in0", ",", "in1", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "suitable", "for", "the", "TRN", "instructions", "."], "TS_V_token": ["aarch64", "8", "0", "0", "0", "0", "1", "1", "1", "2", "1", "0", "2", "1"], "File": "aarch644", "Func": "aarch64_evpc_trn", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11349, "Length": 489, "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", "DImode", ":", "return", "gen_loadwb_pairdi_di", "(", "base", ",", "base", ",", "reg", ",", "reg2", ",", "GEN_INT", "(", "adjustment", ")", ",", "GEN_INT", "(", "UNITS_PER_WORD", ")", ")", ";", "case", "DFmode", ":", "return", "gen_loadwb_pairdf_di", "(", "base", ",", "base", ",", "reg", ",", "reg2", ",", "GEN_INT", "(", "adjustment", ")", ",", "GEN_INT", "(", "UNITS_PER_WORD", ")", ")", ";", "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": "aarch642", "Func": "aarch64_gen_loadwb_pair", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11350, "Length": 83, "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", ")", ",", "TM", "(", "TM", ")", ",", "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"], "File": "PPCSubtarget39", "Func": "PPCSubtarget", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11351, "Length": 107, "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": 11352, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_if_then_else_costs", "(", "rtx", "op0", ",", "rtx", "op1", ",", "rtx", "op2", ",", "int", "*", "cost", ",", "bool", "speed", ")", "{", "rtx", "inner", ";", "rtx", "comparator", ";", "enum", "rtx_code", "cmpcode", ";", "if", "(", "COMPARISON_P", "(", "op0", ")", ")", "{", "inner", "=", "XEXP", "(", "op0", ",", "0", ")", ";", "comparator", "=", "XEXP", "(", "op0", ",", "1", ")", ";", "cmpcode", "=", "GET_CODE", "(", "op0", ")", ";", "}", "else", "{", "inner", "=", "op0", ";", "comparator", "=", "const0_rtx", ";", "cmpcode", "=", "NE", ";", "}", "if", "(", "GET_CODE", "(", "op1", ")", "==", "PC", "||", "GET_CODE", "(", "op2", ")", "==", "PC", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "inner", ")", ")", "==", "MODE_CC", ")", "return", "true", ";", "else", "{", "if", "(", "cmpcode", "==", "NE", "||", "cmpcode", "==", "EQ", ")", "{", "if", "(", "comparator", "==", "const0_rtx", ")", "{", "if", "(", "GET_CODE", "(", "inner", ")", "==", "ZERO_EXTRACT", ")", "*", "cost", "+=", "rtx_cost", "(", "XEXP", "(", "inner", ",", "0", ")", ",", "ZERO_EXTRACT", ",", "0", ",", "speed", ")", ";", "else", "*", "cost", "+=", "rtx_cost", "(", "inner", ",", "cmpcode", ",", "0", ",", "speed", ")", ";", "return", "true", ";", "}", "}", "else", "if", "(", "cmpcode", "==", "LT", "||", "cmpcode", "==", "GE", ")", "{", "if", "(", "comparator", "==", "const0_rtx", ")", "return", "true", ";", "}", "}", "}", "else", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "inner", ")", ")", "==", "MODE_CC", ")", "{", "if", "(", "GET_CODE", "(", "op1", ")", "==", "NEG", "||", "GET_CODE", "(", "op1", ")", "==", "NOT", "||", "(", "GET_CODE", "(", "op1", ")", "==", "PLUS", "&&", "XEXP", "(", "op1", ",", "1", ")", "==", "const1_rtx", ")", ")", "op1", "=", "XEXP", "(", "op1", ",", "0", ")", ";", "*", "cost", "+=", "rtx_cost", "(", "op1", ",", "IF_THEN_ELSE", ",", "1", ",", "speed", ")", ";", "*", "cost", "+=", "rtx_cost", "(", "op2", ",", "IF_THEN_ELSE", ",", "2", ",", "speed", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "calculating", "(", "if_then_else", "(", "OP0", ")", "(", "OP1", ")", "(", "OP2", ")", ")", ",", "storing", "it", "in", "*", "COST", ".", "Result", "is", "true", "if", "the", "total", "cost", "of", "the", "operation", "has", "now", "been", "calculated", "."], "TS_V_token": ["aarch64", "0", "1", "0", "0", "0", "1", "0", "1", "2"], "File": "aarch642", "Func": "aarch64_if_then_else_costs", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11353, "Length": 297, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "vax_expand_prologue", "(", "void", ")", "{", "int", "regno", ",", "offset", ";", "int", "mask", "=", "0", ";", "HOST_WIDE_INT", "size", ";", "rtx", "insn", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "df_regs_ever_live_p", "(", "regno", ")", "&&", "!", "call_used_regs", "[", "regno", "]", ")", "mask", "|=", "1", "<<", "regno", ";", "insn", "=", "emit_insn", "(", "gen_procedure_entry_mask", "(", "GEN_INT", "(", "mask", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "vax_add_reg_cfa_offset", "(", "insn", ",", "4", ",", "arg_pointer_rtx", ")", ";", "vax_add_reg_cfa_offset", "(", "insn", ",", "8", ",", "frame_pointer_rtx", ")", ";", "vax_add_reg_cfa_offset", "(", "insn", ",", "12", ",", "pc_rtx", ")", ";", "offset", "=", "16", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "mask", "&", "(", "1", "<<", "regno", ")", ")", "{", "vax_add_reg_cfa_offset", "(", "insn", ",", "offset", ",", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ")", ";", "offset", "+=", "4", ";", "}", "add_reg_note", "(", "insn", ",", "REG_CFA_DEF_CFA", ",", "plus_constant", "(", "Pmode", ",", "frame_pointer_rtx", ",", "offset", ")", ")", ";", "size", "=", "get_frame_size", "(", ")", ";", "size", "-=", "STARTING_FRAME_OFFSET", ";", "emit_insn", "(", "gen_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "size", ")", ")", ")", ";", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "the", "assembly", "code", "for", "function", "entry", ".", "FILE", "is", "a", "stdio", "stream", "to", "output", "the", "code", "to", ".", "SIZE", "is", "an", "int", ":", "how", "many", "units", "of", "temporary", "storage", "to", "allocate", ".", "Refer", "to", "the", "array", "`", "regs_ever_live", "'", "to", "determine", "which", "registers", "to", "save", ";", "`", "regs_ever_live", "[", "I", "]", "'", "is", "nonzero", "if", "register", "number", "I", "is", "ever", "used", "in", "the", "function", ".", "This", "function", "is", "responsible", "for", "knowing", "which", "registers", "should", "not", "be", "saved", "even", "if", "used", "."], "TS_V_token": ["vax", "0", "0", "1", "1", "4", "8", "12", "16", "0", "1", "4"], "File": "vax4", "Func": "vax_expand_prologue", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11354, "Length": 198, "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": 11355, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "return", "createAArch64ELFObjectWriter", "(", "OS", ",", "OSABI", ",", "IsLittle", ")", ";", "}", ""], "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": "AArch64AsmBackend37", "Func": "createObjectWriter", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11356, "Length": 22, "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_i", ":", "OutOps", ".", "push_back", "(", "Op", ")", ";", "OutOps", ".", "push_back", "(", "CurDAG", "->", "getTargetConstant", "(", "0", ",", "SDLoc", "(", "Op", ")", ",", "MVT", "::", "i32", ")", ")", ";", "return", "false", ";", "case", "InlineAsm", "::", "Constraint_m", ":", "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", "0", "MVT::i32", "Mips", "Mips", "0", "MVT::i32"], "File": "MipsSEISelDAGToDAG (2)", "Func": "SelectInlineAsmMemoryOperand", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11357, "Length": 361, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_movb", "(", "rtx", "*", "operands", ",", "rtx", "insn", ",", "int", "which_alternative", ",", "int", "reverse_comparison", ")", "{", "if", "(", "next_real_insn", "(", "JUMP_LABEL", "(", "insn", ")", ")", "==", "next_real_insn", "(", "insn", ")", ")", "{", "if", "(", "which_alternative", "==", "0", ")", "return", "\"copy %1,%0\"", ";", "else", "if", "(", "which_alternative", "==", "1", ")", "{", "output_asm_insn", "(", "\"stw %1,-16(%%r30)\"", ",", "operands", ")", ";", "return", "\"{fldws|fldw} -16(%%r30),%0\"", ";", "}", "else", "if", "(", "which_alternative", "==", "2", ")", "return", "\"stw %1,%0\"", ";", "else", "return", "\"mtsar %r1\"", ";", "}", "if", "(", "reverse_comparison", ")", "PUT_CODE", "(", "operands", "[", "2", "]", ",", "reverse_condition", "(", "GET_CODE", "(", "operands", "[", "2", "]", ")", ")", ")", ";", "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", "\"movb,%C2,n %1,%0,%3\"", ";", "else", "return", "\"movb,%C2 %1,%0,%3\"", ";", "case", "8", ":", "if", "(", "dbr_sequence_length", "(", ")", "!=", "0", "&&", "!", "forward_branch_p", "(", "insn", ")", "&&", "nullify", ")", "return", "\"movb,%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", "\"movb,%C2 %1,%0,%3%#\"", ";", "if", "(", "nullify", ")", "return", "\"or,%N2 %1,%%r0,%0\\n\\tb,n %3\"", ";", "else", "return", "\"or,%N2 %1,%%r0,%0\\n\\tb %3\"", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "if", "(", "which_alternative", "==", "1", ")", "{", "output_asm_insn", "(", "\"stw %1,-16(%%r30)\"", ",", "operands", ")", ";", "if", "(", "get_attr_length", "(", "insn", ")", "==", "12", ")", "return", "\"{comb|cmpb},%S2 %%r0,%1,%3\\n\\t{fldws|fldw} -16(%%r30),%0\"", ";", "else", "return", "\"{comclr|cmpclr},%B2 %%r0,%1,%%r0\\n\\tb %3\\n\\t{fldws|fldw} -16(%%r30),%0\"", ";", "}", "else", "if", "(", "which_alternative", "==", "2", ")", "{", "if", "(", "get_attr_length", "(", "insn", ")", "==", "8", ")", "return", "\"{comb|cmpb},%S2 %%r0,%1,%3\\n\\tstw %1,%0\"", ";", "else", "return", "\"{comclr|cmpclr},%B2 %%r0,%1,%%r0\\n\\tb %3\\n\\tstw %1,%0\"", ";", "}", "else", "{", "if", "(", "get_attr_length", "(", "insn", ")", "==", "8", ")", "return", "\"{comb|cmpb},%S2 %%r0,%1,%3\\n\\tmtsar %r1\"", ";", "else", "return", "\"{comclr|cmpclr},%B2 %%r0,%1,%%r0\\n\\tb %3\\n\\tmtsar %r1\"", ";", "}", "}", ""], "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", "\"copy %1,%0\"", "1", "\"stw %1,-16(%%r30)\"", "\"{fldws|fldw} -16(%%r30),%0\"", "2", "\"stw %1,%0\"", "\"mtsar %r1\"", "2", "2", "0", "8", "0", "1", "4", "0", "4", "\"movb,%C2,n %1,%0,%3\"", "\"movb,%C2 %1,%0,%3\"", "8", "0", "\"movb,%N2,n %1,%0,.+12\\n\\tb %3\"", "0", "8", "\"movb,%C2 %1,%0,%3%#\"", "\"or,%N2 %1,%%r0,%0\\n\\tb,n %3\"", "\"or,%N2 %1,%%r0,%0\\n\\tb %3\"", "1", "\"stw %1,-16(%%r30)\"", "12", "\"{comb|cmpb},%S2 %%r0,%1,%3\\n\\t{fldws|fldw} -16(%%r30),%0\"", "\"{comclr|cmpclr},%B2 %%r0,%1,%%r0\\n\\tb %3\\n\\t{fldws|fldw} -16(%%r30),%0\"", "2", "8", "\"{comb|cmpb},%S2 %%r0,%1,%3\\n\\tstw %1,%0\"", "\"{comclr|cmpclr},%B2 %%r0,%1,%%r0\\n\\tb %3\\n\\tstw %1,%0\"", "8", "\"{comb|cmpb},%S2 %%r0,%1,%3\\n\\tmtsar %r1\"", "\"{comclr|cmpclr},%B2 %%r0,%1,%%r0\\n\\tb %3\\n\\tmtsar %r1\""], "File": "pa3", "Func": "output_movb", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11358, "Length": 345, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mmix_print_operand_address", "(", "FILE", "*", "stream", ",", "rtx", "x", ")", "{", "if", "(", "REG_P", "(", "x", ")", ")", "{", "fprintf", "(", "stream", ",", "\"%s,0\"", ",", "reg_names", "[", "MMIX_OUTPUT_REGNO", "(", "REGNO", "(", "x", ")", ")", "]", ")", ";", "return", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "{", "rtx", "x1", "=", "XEXP", "(", "x", ",", "0", ")", ";", "rtx", "x2", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "REG_P", "(", "x1", ")", ")", "{", "fprintf", "(", "stream", ",", "\"%s,\"", ",", "reg_names", "[", "MMIX_OUTPUT_REGNO", "(", "REGNO", "(", "x1", ")", ")", "]", ")", ";", "if", "(", "REG_P", "(", "x2", ")", ")", "{", "fprintf", "(", "stream", ",", "\"%s\"", ",", "reg_names", "[", "MMIX_OUTPUT_REGNO", "(", "REGNO", "(", "x2", ")", ")", "]", ")", ";", "return", ";", "}", "else", "if", "(", "satisfies_constraint_I", "(", "x2", ")", ")", "{", "output_addr_const", "(", "stream", ",", "x2", ")", ";", "return", ";", "}", "}", "}", "if", "(", "TARGET_BASE_ADDRESSES", "&&", "mmix_legitimate_constant_p", "(", "Pmode", ",", "x", ")", ")", "{", "output_addr_const", "(", "stream", ",", "x", ")", ";", "return", ";", "}", "fatal_insn", "(", "\"MMIX Internal: This is not a recognized address\"", ",", "x", ")", ";", "}", ""], "natrual_language": ["PRINT_OPERAND_ADDRESS", "."], "TS_V_token": ["mmix", "\"%s,0\"", "0", "1", "\"%s,\"", "\"%s\"", "\"MMIX Internal: This is not a recognized address\""], "File": "mmix4", "Func": "mmix_print_operand_address", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11359, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86IntelInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "OS", ")", "{", "printInstruction", "(", "MI", ",", "OS", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["X86", "X86"], "File": "X86IntelInstPrinter3", "Func": "printInst", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11360, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "validate_condition_mode", "(", "enum", "rtx_code", "code", ",", "machine_mode", "mode", ")", "{", "gcc_assert", "(", "(", "GET_RTX_CLASS", "(", "code", ")", "==", "RTX_COMPARE", "||", "GET_RTX_CLASS", "(", "code", ")", "==", "RTX_COMM_COMPARE", ")", "&&", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_CC", ")", ";", "gcc_assert", "(", "(", "code", "!=", "GT", "&&", "code", "!=", "LT", "&&", "code", "!=", "GE", "&&", "code", "!=", "LE", ")", "||", "mode", "!=", "CCUNSmode", ")", ";", "gcc_assert", "(", "(", "code", "!=", "GTU", "&&", "code", "!=", "LTU", "&&", "code", "!=", "GEU", "&&", "code", "!=", "LEU", ")", "||", "mode", "==", "CCUNSmode", ")", ";", "gcc_assert", "(", "mode", "==", "CCFPmode", "||", "(", "code", "!=", "ORDERED", "&&", "code", "!=", "UNORDERED", "&&", "code", "!=", "UNEQ", "&&", "code", "!=", "LTGT", "&&", "code", "!=", "UNGT", "&&", "code", "!=", "UNLT", "&&", "code", "!=", "UNGE", "&&", "code", "!=", "UNLE", ")", ")", ";", "gcc_assert", "(", "mode", "!=", "CCFPmode", "||", "flag_finite_math_only", "||", "(", "code", "!=", "LE", "&&", "code", "!=", "GE", "&&", "code", "!=", "UNEQ", "&&", "code", "!=", "LTGT", "&&", "code", "!=", "UNGT", "&&", "code", "!=", "UNLT", ")", ")", ";", "gcc_assert", "(", "mode", "!=", "CCEQmode", "||", "code", "==", "EQ", "||", "code", "==", "NE", ")", ";", "}", ""], "natrual_language": ["A", "validation", "routine", ":", "say", "whether", "CODE", ",", "a", "condition", "code", ",", "and", "MODE", "match", ".", "The", "other", "alternatives", "either", "do", "n't", "make", "sense", "or", "should", "never", "be", "generated", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "validate_condition_mode", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11361, "Length": 179, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "getAddr", "(", "NodeTy", "*", "N", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"AArch64TargetLowering::getAddr\\n\"", ")", ";", "SDLoc", "DL", "(", "N", ")", ";", "EVT", "Ty", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";", "SDValue", "Hi", "=", "getTargetNode", "(", "N", ",", "Ty", ",", "DAG", ",", "AArch64II", "::", "MO_PAGE", ")", ";", "SDValue", "Lo", "=", "getTargetNode", "(", "N", ",", "Ty", ",", "DAG", ",", "AArch64II", "::", "MO_PAGEOFF", "|", "AArch64II", "::", "MO_NC", ")", ";", "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": "AArch64ISelLowering105", "Func": "getAddr", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11362, "Length": 115, "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", "&&", "(", "SYMBOL_REF_P", "(", "in", ")", "||", "GET_CODE", "(", "in", ")", "==", "HIGH", "||", "GET_CODE", "(", "in", ")", "==", "LABEL_REF", "||", "GET_CODE", "(", "in", ")", "==", "CONST", ")", ")", "return", "BASE_REGS", ";", "}", "if", "(", "REG_P", "(", "in", ")", ")", "{", "regno", "=", "REGNO", "(", "in", ")", ";", "if", "(", "!", "HARD_REGISTER_NUM_P", "(", "regno", ")", ")", "{", "regno", "=", "true_regnum", "(", "in", ")", ";", "if", "(", "!", "HARD_REGISTER_NUM_P", "(", "regno", ")", ")", "regno", "=", "-", "1", ";", "}", "}", "else", "if", "(", "SUBREG_P", "(", "in", ")", ")", "{", "regno", "=", "true_regnum", "(", "in", ")", ";", "if", "(", "!", "HARD_REGISTER_NUM_P", "(", "regno", ")", ")", "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", "==", "GEN_OR_FLOAT_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": "rs6000", "Func": "rs6000_secondary_reload_class", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11363, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"NOP insertion pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"NOP insertion pass\""], "File": "NOPInsertion", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11364, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "mips_output_ascii", "(", "STREAM", ",", "STRING", ",", "LEN", ")", "{", "\\", "const", "char", "*", "p", "=", "STRING", ";", "\\", "int", "size", "=", "strlen", "(", "p", ")", "+", "1", ";", "\\", "rdata_section", "(", ")", ";", "\\", "assemble_string", "(", "p", ",", "size", ")", ";", "\\", "}", ""], "natrual_language": ["Output", "an", "ASCII", "string", ",", "in", "a", "space-saving", "way", ".", "PREFIX", "is", "the", "string", "that", "should", "be", "written", "before", "the", "opening", "quote", ",", "such", "as", "``", "\\t.ascii\\t", "''", "for", "real", "string", "data", "or", "``", "\\t", "#", "``", "for", "a", "comment", "."], "TS_V_token": ["mips", "1"], "File": "mips4", "Func": "mips_output_ascii", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11365, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_emit_move_or_split", "(", "rtx", "dest", ",", "rtx", "src", ",", "enum", "mips_split_type", "split_type", ")", "{", "if", "(", "mips_split_move_p", "(", "dest", ",", "src", ",", "split_type", ")", ")", "mips_split_move", "(", "dest", ",", "src", ",", "split_type", ")", ";", "else", "mips_emit_move", "(", "dest", ",", "src", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "move", "from", "SRC", "to", "DEST", ",", "splitting", "compound", "moves", "into", "individual", "instructions", ".", "SPLIT_TYPE", "is", "the", "type", "of", "split", "to", "perform", "."], "TS_V_token": ["mips"], "File": "mips4", "Func": "mips_emit_move_or_split", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11366, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "shouldExpandAtomicRMWInIR", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "unsigned", "Size", "=", "AI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "return", "Size", "<=", "(", "Subtarget", "->", "isMClass", "(", ")", "?", "32U", ":", "64U", ")", ";", "}", ""], "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)3", "Func": "shouldExpandAtomicRMWInIR", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11367, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "sparc_register_move_cost", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "reg_class_t", "from", ",", "reg_class_t", "to", ")", "{", "bool", "need_memory", "=", "false", ";", "if", "(", "from", "==", "NO_REGS", "||", "to", "==", "NO_REGS", ")", "return", "100", ";", "if", "(", "from", "==", "FPCC_REGS", "||", "to", "==", "FPCC_REGS", ")", "need_memory", "=", "true", ";", "else", "if", "(", "(", "FP_REG_CLASS_P", "(", "from", ")", "&&", "general_or_i64_p", "(", "to", ")", ")", "||", "(", "general_or_i64_p", "(", "from", ")", "&&", "FP_REG_CLASS_P", "(", "to", ")", ")", ")", "{", "if", "(", "TARGET_VIS3", ")", "{", "int", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "size", "==", "8", "||", "size", "==", "4", ")", "{", "if", "(", "!", "TARGET_ARCH32", "||", "size", "==", "4", ")", "return", "4", ";", "else", "return", "6", ";", "}", "}", "need_memory", "=", "true", ";", "}", "if", "(", "need_memory", ")", "{", "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", ")", "return", "12", ";", "return", "6", ";", "}", "return", "2", ";", "}", ""], "natrual_language": ["Implement", "TARGET_REGISTER_MOVE_COST", "."], "TS_V_token": ["sparc", "100", "8", "4", "4", "4", "6", "12", "6", "2"], "File": "sparc6", "Func": "sparc_register_move_cost", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11368, "Length": 168, "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": 11369, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMSubtarget", "::", "useFastISel", "(", ")", "const", "{", "if", "(", "ForceFastISel", ")", "return", "true", ";", "if", "(", "!", "hasV6Ops", "(", ")", ")", "return", "false", ";", "return", "TM", ".", "Options", ".", "EnableFastISel", "&&", "(", "(", "isTargetMachO", "(", ")", "&&", "!", "isThumb1Only", "(", ")", ")", "||", "(", "isTargetLinux", "(", ")", "&&", "!", "isThumb", "(", ")", ")", "||", "(", "isTargetNaCl", "(", ")", "&&", "!", "isThumb", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["True", "if", "fast-isel", "is", "used", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMSubtarget", "Func": "useFastISel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11370, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintWeight", "SystemZTargetLowering", "::", "getSingleConstraintMatchWeight", "(", "AsmOperandInfo", "&", "info", ",", "const", "char", "*", "constraint", ")", "const", "{", "ConstraintWeight", "weight", "=", "CW_Invalid", ";", "Value", "*", "CallOperandVal", "=", "info", ".", "CallOperandVal", ";", "if", "(", "CallOperandVal", "==", "NULL", ")", "return", "CW_Default", ";", "Type", "*", "type", "=", "CallOperandVal", "->", "getType", "(", ")", ";", "switch", "(", "*", "constraint", ")", "{", "default", ":", "weight", "=", "TargetLowering", "::", "getSingleConstraintMatchWeight", "(", "info", ",", "constraint", ")", ";", "break", ";", "case", "'a'", ":", "case", "'d'", ":", "case", "'h'", ":", "case", "'r'", ":", "if", "(", "CallOperandVal", "->", "getType", "(", ")", "->", "isIntegerTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'f'", ":", "if", "(", "type", "->", "isFloatingPointTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'I'", ":", "if", "(", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "if", "(", "isUInt", "<", "8", ">", "(", "C", "->", "getZExtValue", "(", ")", ")", ")", "weight", "=", "CW_Constant", ";", "break", ";", "case", "'J'", ":", "if", "(", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "if", "(", "isUInt", "<", "12", ">", "(", "C", "->", "getZExtValue", "(", ")", ")", ")", "weight", "=", "CW_Constant", ";", "break", ";", "case", "'K'", ":", "if", "(", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "if", "(", "isInt", "<", "16", ">", "(", "C", "->", "getSExtValue", "(", ")", ")", ")", "weight", "=", "CW_Constant", ";", "break", ";", "case", "'L'", ":", "if", "(", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "if", "(", "isInt", "<", "20", ">", "(", "C", "->", "getSExtValue", "(", ")", ")", ")", "weight", "=", "CW_Constant", ";", "break", ";", "case", "'M'", ":", "if", "(", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "if", "(", "C", "->", "getZExtValue", "(", ")", "==", "0x7fffffff", ")", "weight", "=", "CW_Constant", ";", "break", ";", "}", "return", "weight", ";", "}", ""], "natrual_language": ["Examine", "constraint", "string", "and", "operand", "type", "and", "determine", "a", "weight", "value", "."], "TS_V_token": ["SystemZ", "SystemZ", "8", "12", "16", "20", "0x7fffffff"], "File": "SystemZISelLowering103", "Func": "getSingleConstraintMatchWeight", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11371, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_floorceil", "(", "rtx", "operand0", ",", "rtx", "operand1", ",", "bool", "do_floor", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "operand0", ")", ";", "rtx", "xa", ",", "xi", ",", "TWO52", ",", "tmp", ",", "one", ",", "res", ",", "mask", ";", "rtx_code_label", "*", "label", ";", "TWO52", "=", "ix86_gen_TWO52", "(", "mode", ")", ";", "res", "=", "copy_to_reg", "(", "operand1", ")", ";", "xa", "=", "ix86_expand_sse_fabs", "(", "res", ",", "&", "mask", ")", ";", "label", "=", "ix86_expand_sse_compare_and_jump", "(", "UNLE", ",", "TWO52", ",", "xa", ",", "false", ")", ";", "xi", "=", "gen_reg_rtx", "(", "int_mode_for_mode", "(", "mode", ")", ".", "require", "(", ")", ")", ";", "expand_fix", "(", "xi", ",", "res", ",", "0", ")", ";", "expand_float", "(", "xa", ",", "xi", ",", "0", ")", ";", "one", "=", "force_reg", "(", "mode", ",", "const_double_from_real_value", "(", "dconst1", ",", "mode", ")", ")", ";", "tmp", "=", "ix86_expand_sse_compare_mask", "(", "UNGT", ",", "xa", ",", "res", ",", "!", "do_floor", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "tmp", ",", "gen_rtx_AND", "(", "mode", ",", "one", ",", "tmp", ")", ")", ")", ";", "tmp", "=", "expand_simple_binop", "(", "mode", ",", "do_floor", "?", "MINUS", ":", "PLUS", ",", "xa", ",", "tmp", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "if", "(", "HONOR_SIGNED_ZEROS", "(", "mode", ")", ")", "{", "if", "(", "do_floor", "&&", "flag_rounding_math", ")", "tmp", "=", "ix86_expand_sse_fabs", "(", "tmp", ",", "NULL", ")", ";", "ix86_sse_copysign_to_positive", "(", "tmp", ",", "tmp", ",", "res", ",", "mask", ")", ";", "}", "emit_move_insn", "(", "res", ",", "tmp", ")", ";", "emit_label", "(", "label", ")", ";", "LABEL_NUSES", "(", "label", ")", "=", "1", ";", "emit_move_insn", "(", "operand0", ",", "res", ")", ";", "}", ""], "natrual_language": ["Expand", "SSE2", "sequence", "for", "computing", "floor", "or", "ceil", "from", "OPERAND1", "storing", "into", "OPERAND0", "."], "TS_V_token": ["i386", "0", "0", "0", "1"], "File": "i386-expand", "Func": "ix86_expand_floorceil", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11372, "Length": 239, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "__inline", "float", "sh_media_FMAC_S", "(", "float", "fg", ",", "float", "fh", ",", "float", "fq", ")", "{", "return", "fg", "*", "fh", "+", "fq", ";", "}", ""], "natrual_language": ["This", "gives", "different", "results", "for", "-O0"], "TS_V_token": ["sh"], "File": "ushmedia1", "Func": "sh_media_FMAC_S", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11373, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MMIXMCCodeEmitter", "::", "getBranchTargetOpValue", "(", "const", "MCInst", "&", "Inst", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "SubtargetInfo", ")", "const", "{", "const", "MCOperand", "&", "MCOp", "=", "Inst", ".", "getOperand", "(", "OpNo", ")", ";", "MCFixupKind", "Kind", "=", "static_cast", "<", "MCFixupKind", ">", "(", "MMIX", "::", "fixup_mmix_rel_16", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "MCOp", ".", "getExpr", "(", ")", ",", "Kind", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "."], "TS_V_token": ["MMIX", "MMIX", "MMIX::fixup_mmix_rel_16", "0", "0"], "File": "MMIXMCCodeEmitter", "Func": "getBranchTargetOpValue", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11374, "Length": 76, "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", ")", ".", "getBytes", "(", ")", ";", "}", ""], "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": "AArch64FrameLowering103", "Func": "getFrameIndexReference", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11375, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mmix_assemble_integer", "(", "rtx", "x", ",", "unsigned", "int", "size", ",", "int", "aligned_p", ")", "{", "if", "(", "aligned_p", ")", "switch", "(", "size", ")", "{", "case", "1", ":", "if", "(", "GET_CODE", "(", "x", ")", "!=", "CONST_INT", ")", "{", "aligned_p", "=", "0", ";", "break", ";", "}", "fputs", "(", "\"\\tBYTE\\t\"", ",", "asm_out_file", ")", ";", "mmix_print_operand", "(", "asm_out_file", ",", "x", ",", "'B'", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "return", "true", ";", "case", "2", ":", "if", "(", "GET_CODE", "(", "x", ")", "!=", "CONST_INT", ")", "{", "aligned_p", "=", "0", ";", "break", ";", "}", "fputs", "(", "\"\\tWYDE\\t\"", ",", "asm_out_file", ")", ";", "mmix_print_operand", "(", "asm_out_file", ",", "x", ",", "'W'", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "return", "true", ";", "case", "4", ":", "if", "(", "GET_CODE", "(", "x", ")", "!=", "CONST_INT", ")", "{", "aligned_p", "=", "0", ";", "break", ";", "}", "fputs", "(", "\"\\tTETRA\\t\"", ",", "asm_out_file", ")", ";", "mmix_print_operand", "(", "asm_out_file", ",", "x", ",", "'L'", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "return", "true", ";", "case", "8", ":", "gcc_assert", "(", "GET_CODE", "(", "x", ")", "!=", "CONST_DOUBLE", ")", ";", "assemble_integer_with_op", "(", "\"\\tOCTA\\t\"", ",", "x", ")", ";", "return", "true", ";", "}", "return", "default_assemble_integer", "(", "x", ",", "size", ",", "aligned_p", ")", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "assembling", "integer", "objects", ".", "Use", "mmix_print_operand", "for", "WYDE", "and", "TETRA", ".", "Use", "mmix_output_octa", "to", "output", "8-byte", "CONST_DOUBLEs", "."], "TS_V_token": ["mmix", "1", "0", "\"\\tBYTE\\t\"", "2", "0", "\"\\tWYDE\\t\"", "4", "0", "\"\\tTETRA\\t\"", "8", "\"\\tOCTA\\t\""], "File": "mmix3", "Func": "mmix_assemble_integer", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11376, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64TargetLowering", "::", "isDesirableToCommuteWithShift", "(", "const", "SDNode", "*", "N", ")", "const", "{", "EVT", "VT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "AND", "&&", "(", "VT", "==", "MVT", "::", "i32", "||", "VT", "==", "MVT", "::", "i64", ")", "&&", "isa", "<", "ConstantSDNode", ">", "(", "N", "->", "getOperand", "(", "1", ")", ")", ")", "{", "uint64_t", "TruncMask", "=", "N", "->", "getConstantOperandVal", "(", "1", ")", ";", "if", "(", "isMask_64", "(", "TruncMask", ")", "&&", "N", "->", "getOperand", "(", "0", ")", ".", "getOpcode", "(", ")", "==", "ISD", "::", "SRL", "&&", "isa", "<", "ConstantSDNode", ">", "(", "N", "->", "getOperand", "(", "0", ")", "->", "getOperand", "(", "1", ")", ")", ")", "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": ["ARM64", "ARM64", "0", "ISD::AND", "MVT::i32", "MVT::i64", "1", "1", "0", "ISD::SRL", "0", "1"], "File": "ARM64ISelLowering1", "Func": "isDesirableToCommuteWithShift", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11377, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMAsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "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", "<=", "DataSize", "&&", "\"Invalid fixup offset!\"", ")", ";", "unsigned", "FullSizeBytes", ";", "if", "(", "!", "IsLittleEndian", ")", "{", "FullSizeBytes", "=", "getFixupKindContainerSizeBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "assert", "(", "(", "Offset", "+", "FullSizeBytes", ")", "<=", "DataSize", "&&", "\"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": "ARMAsmBackend11", "Func": "applyFixup", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11378, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMLoadStoreOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "STI", "=", "&", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "Fn", ".", "getSubtarget", "(", ")", ")", ";", "TL", "=", "STI", "->", "getTargetLowering", "(", ")", ";", "AFI", "=", "Fn", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "STI", "->", "getRegisterInfo", "(", ")", ";", "RS", "=", "new", "RegScavenger", "(", ")", ";", "isThumb2", "=", "AFI", "->", "isThumb2Function", "(", ")", ";", "isThumb1", "=", "AFI", "->", "isThumbFunction", "(", ")", "&&", "!", "isThumb2", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "MFI", "=", "Fn", ".", "begin", "(", ")", ",", "E", "=", "Fn", ".", "end", "(", ")", ";", "MFI", "!=", "E", ";", "++", "MFI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MFI", ";", "Modified", "|=", "LoadStoreMultipleOpti", "(", "MBB", ")", ";", "if", "(", "STI", "->", "hasV5TOps", "(", ")", ")", "Modified", "|=", "MergeReturnIntoLDM", "(", "MBB", ")", ";", "}", "delete", "RS", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "ARMLoadStoreOptimizer31", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11379, "Length": 159, "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", ".", "isFPXX", "(", ")", ")", "return", "CSR_O32_FPXX_SaveList", ";", "return", "CSR_O32_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["Mips", "Mips"], "File": "MipsRegisterInfo30", "Func": "getCalleeSavedRegs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11380, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "loongarch_set_reg_reg_piece_cost", "(", "machine_mode", "mode", ",", "unsigned", "int", "units", ")", "{", "return", "COSTS_N_INSNS", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "units", "-", "1", ")", "/", "units", ")", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "moving", "between", "two", "registers", "of", "mode", "MODE", ",", "assuming", "that", "the", "move", "will", "be", "in", "pieces", "of", "at", "most", "UNITS", "bytes", "."], "TS_V_token": ["loongarch", "1"], "File": "loongarch", "Func": "loongarch_set_reg_reg_piece_cost", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11381, "Length": 30, "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": 11382, "Length": 273, "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": 11383, "Length": 169, "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": 11384, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "PredicateInstruction", "(", "MachineInstr", "&", "MI", ",", "ArrayRef", "<", "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", ";", "}", "}", "if", "(", "Opcode", "==", "SystemZ", "::", "Trap", ")", "{", "MI", ".", "setDesc", "(", "get", "(", "SystemZ", "::", "CondTrap", ")", ")", ";", "MachineInstrBuilder", "(", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ".", "addImm", "(", "CCValid", ")", ".", "addImm", "(", "CCMask", ")", ".", "addReg", "(", "SystemZ", "::", "CC", ",", "RegState", "::", "Implicit", ")", ";", "return", "true", ";", "}", "if", "(", "Opcode", "==", "SystemZ", "::", "Return", ")", "{", "MI", ".", "setDesc", "(", "get", "(", "SystemZ", "::", "CondReturn", ")", ")", ";", "MachineInstrBuilder", "(", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ".", "addImm", "(", "CCValid", ")", ".", "addImm", "(", "CCMask", ")", ".", "addReg", "(", "SystemZ", "::", "CC", ",", "RegState", "::", "Implicit", ")", ";", "return", "true", ";", "}", "if", "(", "Opcode", "==", "SystemZ", "::", "CallJG", ")", "{", "MachineOperand", "FirstOp", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "const", "uint32_t", "*", "RegMask", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getRegMask", "(", ")", ";", "MI", ".", "RemoveOperand", "(", "1", ")", ";", "MI", ".", "RemoveOperand", "(", "0", ")", ";", "MI", ".", "setDesc", "(", "get", "(", "SystemZ", "::", "CallBRCL", ")", ")", ";", "MachineInstrBuilder", "(", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ".", "addImm", "(", "CCValid", ")", ".", "addImm", "(", "CCMask", ")", ".", "addOperand", "(", "FirstOp", ")", ".", "addRegMask", "(", "RegMask", ")", ".", "addReg", "(", "SystemZ", "::", "CC", ",", "RegState", "::", "Implicit", ")", ";", "return", "true", ";", "}", "if", "(", "Opcode", "==", "SystemZ", "::", "CallBR", ")", "{", "const", "uint32_t", "*", "RegMask", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getRegMask", "(", ")", ";", "MI", ".", "RemoveOperand", "(", "0", ")", ";", "MI", ".", "setDesc", "(", "get", "(", "SystemZ", "::", "CallBCR", ")", ")", ";", "MachineInstrBuilder", "(", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ".", "addImm", "(", "CCValid", ")", ".", "addImm", "(", "CCMask", ")", ".", "addRegMask", "(", "RegMask", ")", ".", "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", "SystemZ::Trap", "SystemZ::CondTrap", "SystemZ::CC", "SystemZ::Return", "SystemZ::CondReturn", "SystemZ::CC", "SystemZ::CallJG", "0", "1", "1", "0", "SystemZ::CallBRCL", "SystemZ::CC", "SystemZ::CallBR", "0", "0", "SystemZ::CallBCR", "SystemZ::CC"], "File": "SystemZInstrInfo77", "Func": "PredicateInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11385, "Length": 478, "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": 11386, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_can_eliminate", "(", "const", "int", "from", ",", "const", "int", "to", ")", "{", "return", "(", "(", "to", "==", "FRAME_POINTER_REGNUM", "&&", "from", "==", "ARG_POINTER_REGNUM", ")", "?", "false", ":", "(", "to", "==", "STACK_POINTER_REGNUM", "&&", "frame_pointer_needed", ")", "?", "false", ":", "(", "to", "==", "ARM_HARD_FRAME_POINTER_REGNUM", "&&", "TARGET_THUMB", ")", "?", "false", ":", "(", "to", "==", "THUMB_HARD_FRAME_POINTER_REGNUM", "&&", "TARGET_ARM", ")", "?", "false", ":", "true", ")", ";", "}", ""], "natrual_language": ["Given", "FROM", "and", "TO", "register", "numbers", ",", "say", "whether", "this", "elimination", "is", "allowed", ".", "Frame", "pointer", "elimination", "is", "automatically", "handled", ".", "All", "eliminations", "are", "permissible", ".", "Note", "that", "ARG_POINTER_REGNUM", "and", "HARD_FRAME_POINTER_REGNUM", "are", "in", "fact", "the", "same", "thing", ".", "If", "we", "need", "a", "frame", "pointer", ",", "we", "must", "eliminate", "FRAME_POINTER_REGNUM", "into", "HARD_FRAME_POINTER_REGNUM", "and", "not", "into", "STACK_POINTER_REGNUM", "or", "ARG_POINTER_REGNUM", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_can_eliminate", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11387, "Length": 60, "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", ")", ";", "WinEHFuncInfo", "FuncInfo", ";", "addStateStores", "(", "F", ",", "FuncInfo", ")", ";", "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\""], "File": "X86WinEHState (2)", "Func": "runOnFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11388, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "SystemZTTIImpl", "::", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "TTI", "::", "OperandValueKind", "Op1Info", ",", "TTI", "::", "OperandValueKind", "Op2Info", ",", "TTI", "::", "OperandValueProperties", "Opd1PropInfo", ",", "TTI", "::", "OperandValueProperties", "Opd2PropInfo", ",", "ArrayRef", "<", "const", "Value", "*", ">", "Args", ")", "{", "unsigned", "ScalarBits", "=", "Ty", "->", "getScalarSizeInBits", "(", ")", ";", "if", "(", "Ty", "->", "isVectorTy", "(", ")", ")", "{", "assert", "(", "ST", "->", "hasVector", "(", ")", "&&", "\"getArithmeticInstrCost() called with vector type.\"", ")", ";", "unsigned", "VF", "=", "Ty", "->", "getVectorNumElements", "(", ")", ";", "unsigned", "NumVectors", "=", "getNumberOfParts", "(", "Ty", ")", ";", "if", "(", "Opcode", "==", "Instruction", "::", "Shl", "||", "Opcode", "==", "Instruction", "::", "LShr", "||", "Opcode", "==", "Instruction", "::", "AShr", ")", "{", "return", "NumVectors", ";", "}", "if", "(", "Opcode", "==", "Instruction", "::", "FAdd", "||", "Opcode", "==", "Instruction", "::", "FSub", "||", "Opcode", "==", "Instruction", "::", "FMul", "||", "Opcode", "==", "Instruction", "::", "FDiv", ")", "{", "switch", "(", "ScalarBits", ")", "{", "case", "32", ":", "{", "unsigned", "ScalarCost", "=", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", "->", "getScalarType", "(", ")", ")", ";", "unsigned", "Cost", "=", "(", "VF", "*", "ScalarCost", ")", "+", "getScalarizationOverhead", "(", "Ty", ",", "Args", ")", ";", "if", "(", "VF", "==", "2", ")", "Cost", "*=", "2", ";", "return", "Cost", ";", "}", "case", "64", ":", "case", "128", ":", "return", "NumVectors", ";", "default", ":", "break", ";", "}", "}", "if", "(", "Opcode", "==", "Instruction", "::", "FRem", ")", "{", "unsigned", "Cost", "=", "(", "VF", "*", "LIBCALL_COST", ")", "+", "getScalarizationOverhead", "(", "Ty", ",", "Args", ")", ";", "if", "(", "VF", "==", "2", "&&", "ScalarBits", "==", "32", ")", "Cost", "*=", "2", ";", "return", "Cost", ";", "}", "}", "else", "{", "if", "(", "Opcode", "==", "Instruction", "::", "FAdd", "||", "Opcode", "==", "Instruction", "::", "FSub", "||", "Opcode", "==", "Instruction", "::", "FMul", "||", "Opcode", "==", "Instruction", "::", "FDiv", ")", "return", "1", ";", "if", "(", "Opcode", "==", "Instruction", "::", "FRem", ")", "return", "LIBCALL_COST", ";", "if", "(", "Opcode", "==", "Instruction", "::", "LShr", "||", "Opcode", "==", "Instruction", "::", "AShr", ")", "return", "(", "ScalarBits", ">=", "32", "?", "1", ":", "2", ")", ";", "if", "(", "Opcode", "==", "Instruction", "::", "Or", ")", "return", "1", ";", "if", "(", "Opcode", "==", "Instruction", "::", "Xor", "&&", "ScalarBits", "==", "1", ")", "return", "7", ";", "if", "(", "(", "Opcode", "==", "Instruction", "::", "SDiv", "||", "Opcode", "==", "Instruction", "::", "SRem", ")", ")", "return", "(", "ScalarBits", "<", "32", "?", "4", ":", "(", "ScalarBits", "==", "32", "?", "2", ":", "1", ")", ")", ";", "if", "(", "Opcode", "==", "Instruction", "::", "UDiv", "||", "Opcode", "==", "Instruction", "::", "URem", ")", "return", "(", "ScalarBits", "<", "32", "?", "4", ":", "2", ")", ";", "}", "return", "BaseT", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "Op1Info", ",", "Op2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ",", "Args", ")", ";", "}", ""], "natrual_language": ["This", "is", "an", "approximation", "of", "reciprocal", "throughput", "of", "a", "math/logic", "op", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"getArithmeticInstrCost() called with vector type.\"", "32", "2", "2", "64", "128", "2", "32", "2", "1", "32", "1", "2", "1", "1", "7", "32", "4", "32", "2", "1", "32", "4", "2"], "File": "SystemZTargetTransformInfo12", "Func": "getArithmeticInstrCost", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11389, "Length": 426, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_set_reg_reg_cost", "(", "machine_mode", "mode", ")", "{", "switch", "(", "GET_MODE_CLASS", "(", "mode", ")", ")", "{", "case", "MODE_CC", ":", "return", "mips_set_reg_reg_piece_cost", "(", "mode", ",", "GET_MODE_SIZE", "(", "CCmode", ")", ")", ";", "case", "MODE_FLOAT", ":", "case", "MODE_COMPLEX_FLOAT", ":", "case", "MODE_VECTOR_FLOAT", ":", "if", "(", "TARGET_HARD_FLOAT", ")", "return", "mips_set_reg_reg_piece_cost", "(", "mode", ",", "UNITS_PER_HWFPVALUE", ")", ";", "default", ":", "return", "mips_set_reg_reg_piece_cost", "(", "mode", ",", "UNITS_PER_WORD", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "moving", "between", "two", "registers", "of", "mode", "MODE", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_set_reg_reg_cost", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11390, "Length": 63, "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": 11391, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasMinSize", "(", ")", "const", "{", "return", "OptMinSize", ";", "}", ""], "natrual_language": ["Optimize", "this", "function", "for", "minimum", "size", "(", "-Oz", ")", "."], "TS_V_token": ["ARM"], "File": "ARMSubtarget (2)3", "Func": "hasMinSize", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11392, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "MipsRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "static", "const", "uint16_t", "ReservedCPURegs", "[", "]", "=", "{", "Mips", "::", "ZERO", ",", "Mips", "::", "AT", ",", "Mips", "::", "K0", ",", "Mips", "::", "K1", ",", "Mips", "::", "SP", ",", "Mips", "::", "FP", ",", "Mips", "::", "RA", "}", ";", "static", "const", "uint16_t", "ReservedCPU64Regs", "[", "]", "=", "{", "Mips", "::", "ZERO_64", ",", "Mips", "::", "AT_64", ",", "Mips", "::", "K0_64", ",", "Mips", "::", "K1_64", ",", "Mips", "::", "SP_64", ",", "Mips", "::", "FP_64", ",", "Mips", "::", "RA_64", "}", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "typedef", "TargetRegisterClass", "::", "iterator", "RegIter", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "ReservedCPURegs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedCPURegs", "[", "I", "]", ")", ";", "if", "(", "Subtarget", ".", "hasMips64", "(", ")", ")", "{", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "ReservedCPU64Regs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedCPU64Regs", "[", "I", "]", ")", ";", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "AFGR64RegisterClass", "->", "begin", "(", ")", ";", "Reg", "!=", "Mips", "::", "AFGR64RegisterClass", "->", "end", "(", ")", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "}", "else", "{", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "CPU64RegsRegisterClass", "->", "begin", "(", ")", ";", "Reg", "!=", "Mips", "::", "CPU64RegsRegisterClass", "->", "end", "(", ")", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "FGR64RegisterClass", "->", "begin", "(", ")", ";", "Reg", "!=", "Mips", "::", "FGR64RegisterClass", "->", "end", "(", ")", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "}", "if", "(", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", "->", "globalBaseRegFixed", "(", ")", ")", "{", "Reserved", ".", "set", "(", "Mips", "::", "GP", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "GP_64", ")", ";", "}", "Reserved", ".", "set", "(", "Mips", "::", "HWR29", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "HWR29_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::AT", "Mips::K0", "Mips::K1", "Mips::SP", "Mips::FP", "Mips::RA", "Mips::ZERO_64", "Mips::AT_64", "Mips::K0_64", "Mips::K1_64", "Mips::SP_64", "Mips::FP_64", "Mips::RA_64", "0", "Mips", "0", "Mips::AFGR64RegisterClass", "Mips::AFGR64RegisterClass", "Mips::CPU64RegsRegisterClass", "Mips::CPU64RegsRegisterClass", "Mips::FGR64RegisterClass", "Mips::FGR64RegisterClass", "Mips", "Mips::GP", "Mips::GP_64", "Mips::HWR29", "Mips::HWR29_64"], "File": "MipsRegisterInfo7", "Func": "getReservedRegs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11393, "Length": 326, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "ARMTargetLowering", "::", "shouldExpandAtomicRMWInIR", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "unsigned", "Size", "=", "AI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "return", "(", "Size", "<=", "(", "Subtarget", "->", "isMClass", "(", ")", "?", "32U", ":", "64U", ")", ")", "?", "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)2", "Func": "shouldExpandAtomicRMWInIR", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11394, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "SystemZTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "OPCODE", "(", "RET_FLAG", ")", ";", "OPCODE", "(", "CALL", ")", ";", "OPCODE", "(", "SIBCALL", ")", ";", "OPCODE", "(", "PCREL_WRAPPER", ")", ";", "OPCODE", "(", "PCREL_OFFSET", ")", ";", "OPCODE", "(", "IABS", ")", ";", "OPCODE", "(", "ICMP", ")", ";", "OPCODE", "(", "FCMP", ")", ";", "OPCODE", "(", "TM", ")", ";", "OPCODE", "(", "BR_CCMASK", ")", ";", "OPCODE", "(", "SELECT_CCMASK", ")", ";", "OPCODE", "(", "ADJDYNALLOC", ")", ";", "OPCODE", "(", "EXTRACT_ACCESS", ")", ";", "OPCODE", "(", "UMUL_LOHI64", ")", ";", "OPCODE", "(", "SDIVREM64", ")", ";", "OPCODE", "(", "UDIVREM32", ")", ";", "OPCODE", "(", "UDIVREM64", ")", ";", "OPCODE", "(", "MVC", ")", ";", "OPCODE", "(", "MVC_LOOP", ")", ";", "OPCODE", "(", "NC", ")", ";", "OPCODE", "(", "NC_LOOP", ")", ";", "OPCODE", "(", "OC", ")", ";", "OPCODE", "(", "OC_LOOP", ")", ";", "OPCODE", "(", "XC", ")", ";", "OPCODE", "(", "XC_LOOP", ")", ";", "OPCODE", "(", "CLC", ")", ";", "OPCODE", "(", "CLC_LOOP", ")", ";", "OPCODE", "(", "STRCMP", ")", ";", "OPCODE", "(", "STPCPY", ")", ";", "OPCODE", "(", "SEARCH_STRING", ")", ";", "OPCODE", "(", "IPM", ")", ";", "OPCODE", "(", "SERIALIZE", ")", ";", "OPCODE", "(", "TBEGIN", ")", ";", "OPCODE", "(", "TBEGIN_NOFLOAT", ")", ";", "OPCODE", "(", "TEND", ")", ";", "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", ")", ";", "OPCODE", "(", "PREFETCH", ")", ";", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZISelLowering35", "Func": "getTargetNodeName", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11395, "Length": 262, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasAndNotCompare", "(", "SDValue", "V", ")", "const", "override", "{", "return", "V", ".", "getValueType", "(", ")", ".", "isScalarInteger", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "should", "transform", ":", "(", "X", "&", "Y", ")", "==", "Y", "\ufffd", "?", "(", "~X", "&", "Y", ")", "==", "0", "(", "X", "&", "Y", ")", "!", "=", "Y", "\ufffd", "?", "(", "~X", "&", "Y", ")", "!", "=", "0", "."], "TS_V_token": ["AArch64"], "File": "AArch64ISelLowering (2)1", "Func": "hasAndNotCompare", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11396, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TTI", "::", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ")", "const", "{", "std", "::", "pair", "<", "unsigned", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "Ty", ")", ";", "int", "ISD", "=", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", ";", "assert", "(", "ISD", "&&", "\"Invalid opcode\"", ")", ";", "static", "const", "CostTblEntry", "<", "MVT", ">", "AVX1CostTable", "[", "]", "=", "{", "{", "ISD", "::", "MUL", ",", "MVT", "::", "v8i32", ",", "4", "}", ",", "{", "ISD", "::", "SUB", ",", "MVT", "::", "v8i32", ",", "4", "}", ",", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v8i32", ",", "4", "}", ",", "{", "ISD", "::", "SUB", ",", "MVT", "::", "v4i64", ",", "4", "}", ",", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v4i64", ",", "4", "}", ",", "{", "ISD", "::", "MUL", ",", "MVT", "::", "v4i64", ",", "18", "}", ",", "}", ";", "if", "(", "ST", "->", "hasAVX", "(", ")", "&&", "!", "ST", "->", "hasAVX2", "(", ")", ")", "{", "int", "Idx", "=", "CostTableLookup", "<", "MVT", ">", "(", "AVX1CostTable", ",", "array_lengthof", "(", "AVX1CostTable", ")", ",", "ISD", ",", "LT", ".", "second", ")", ";", "if", "(", "Idx", "!=", "-", "1", ")", "return", "LT", ".", "first", "*", "AVX1CostTable", "[", "Idx", "]", ".", "Cost", ";", "}", "static", "const", "CostTblEntry", "<", "MVT", ">", "CustomLowered", "[", "]", "=", "{", "{", "ISD", "::", "MUL", ",", "MVT", "::", "v2i64", ",", "9", "}", ",", "{", "ISD", "::", "MUL", ",", "MVT", "::", "v4i64", ",", "9", "}", ",", "}", ";", "int", "Idx", "=", "CostTableLookup", "<", "MVT", ">", "(", "CustomLowered", ",", "array_lengthof", "(", "CustomLowered", ")", ",", "ISD", ",", "LT", ".", "second", ")", ";", "if", "(", "Idx", "!=", "-", "1", ")", "return", "LT", ".", "first", "*", "CustomLowered", "[", "Idx", "]", ".", "Cost", ";", "if", "(", "ISD", "==", "ISD", "::", "MUL", "&&", "LT", ".", "second", "==", "MVT", "::", "v4i32", "&&", "ST", "->", "hasSSE2", "(", ")", "&&", "!", "ST", "->", "hasSSE41", "(", ")", ")", "return", "6", ";", "return", "TargetTransformInfo", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ")", ";", "}", ""], "natrual_language": ["This", "is", "an", "approximation", "of", "reciprocal", "throughput", "of", "a", "math/logic", "op", "."], "TS_V_token": ["X86", "X86", "\"Invalid opcode\"", "ISD::MUL", "MVT::v8i32", "4", "ISD::SUB", "MVT::v8i32", "4", "ISD::ADD", "MVT::v8i32", "4", "ISD::SUB", "MVT::v4i64", "4", "ISD::ADD", "MVT::v4i64", "4", "ISD::MUL", "MVT::v4i64", "18", "1", "ISD::MUL", "MVT::v2i64", "9", "ISD::MUL", "MVT::v4i64", "9", "1", "ISD::MUL", "MVT::v4i32", "6"], "File": "X86TargetTransformInfo113", "Func": "getArithmeticInstrCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11397, "Length": 312, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_select_early_remat_modes", "(", "sbitmap", "modes", ")", "{", "for", "(", "int", "i", "=", "0", ";", "i", "<", "NUM_MACHINE_MODES", ";", "++", "i", ")", "if", "(", "aarch64_sve_mode_p", "(", "(", "machine_mode", ")", "i", ")", ")", "bitmap_set_bit", "(", "modes", ",", "i", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_EARLY_REMAT_MODES", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64", "Func": "aarch64_select_early_remat_modes", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11398, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "ShouldShrinkFPConstant", "(", "EVT", "VT", ")", "const", "{", "return", "!", "Subtarget", ".", "hasSSE2", "(", ")", "||", "VT", "==", "MVT", "::", "f80", ";", "}", ""], "natrual_language": ["If", "true", ",", "then", "instruction", "selection", "should", "seek", "to", "shrink", "the", "FP", "constant", "of", "the", "specified", "type", "to", "a", "smaller", "type", "in", "order", "to", "save", "space", "and", "/", "or", "reduce", "runtime", "."], "TS_V_token": ["X86", "X86", "MVT::f80"], "File": "X86ISelLowering100", "Func": "ShouldShrinkFPConstant", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11399, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "prefixed_store_p", "(", "rtx_insn", "*", "insn", ")", "{", "extract_insn_cached", "(", "insn", ")", ";", "if", "(", "recog_data", ".", "n_operands", "<", "2", ")", "return", "false", ";", "rtx", "mem", "=", "recog_data", ".", "operand", "[", "0", "]", ";", "rtx", "reg", "=", "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", ";", "machine_mode", "mem_mode", "=", "GET_MODE", "(", "mem", ")", ";", "rtx", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "enum", "non_prefixed_form", "non_prefixed", "=", "reg_to_non_prefixed", "(", "reg", ",", "mem_mode", ")", ";", "if", "(", "non_prefixed", "==", "NON_PREFIXED_X", "&&", "is_lfs_stfs_insn", "(", "insn", ")", ")", "return", "address_is_prefixed", "(", "addr", ",", "mem_mode", ",", "NON_PREFIXED_DEFAULT", ")", ";", "else", "return", "address_is_prefixed", "(", "addr", ",", "mem_mode", ",", "non_prefixed", ")", ";", "}", ""], "natrual_language": ["Whether", "a", "store", "instruction", "is", "a", "prefixed", "instruction", ".", "This", "is", "called", "from", "the", "prefixed", "attribute", "processing", "."], "TS_V_token": ["rs6000", "2", "0", "1", "0"], "File": "rs6000", "Func": "prefixed_store_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11400, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_emit_sve_inverted_cond", "(", "rtx", "target", ",", "rtx", "ptrue", ",", "rtx_code", "code", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "machine_mode", "pred_mode", "=", "GET_MODE", "(", "ptrue", ")", ";", "rtx", "tmp", "=", "gen_reg_rtx", "(", "pred_mode", ")", ";", "aarch64_emit_sve_ptrue_op", "(", "tmp", ",", "ptrue", ",", "gen_rtx_fmt_ee", "(", "code", ",", "pred_mode", ",", "op0", ",", "op1", ")", ")", ";", "aarch64_emit_unop", "(", "target", ",", "one_cmpl_optab", ",", "tmp", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "SVE", "equivalent", "of", ":", "(", "set", "TMP", "(", "CODE", "OP0", "OP1", ")", ")", "(", "set", "TARGET", "(", "not", "TMP", ")", ")", "PTRUE", "is", "an", "all-true", "predicate", "with", "the", "same", "mode", "as", "TARGET", "."], "TS_V_token": ["aarch64"], "File": "aarch646", "Func": "aarch64_emit_sve_inverted_cond", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11401, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ArrayRef", "<", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">>", "AArch64InstrInfo", "::", "getSerializableBitmaskMachineOperandTargetFlags", "(", ")", "const", "{", "using", "namespace", "AArch64II", ";", "static", "const", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">", "TargetFlags", "[", "]", "=", "{", "{", "MO_GOT", ",", "\"aarch64-got\"", "}", ",", "{", "MO_NC", ",", "\"aarch64-nc\"", "}", ",", "{", "MO_TLS", ",", "\"aarch64-tls\"", "}", "}", ";", "return", "makeArrayRef", "(", "TargetFlags", ")", ";", "}", ""], "natrual_language": ["Return", "an", "array", "that", "contains", "the", "bitmask", "target", "flag", "values", "and", "their", "names", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "\"aarch64-got\"", "\"aarch64-nc\"", "\"aarch64-tls\""], "File": "AArch64InstrInfo (2)", "Func": "getSerializableBitmaskMachineOperandTargetFlags", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11402, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "or1k_expand_atomic_exchange", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "retval", ",", "mem", ",", "val", ",", "label", ";", "machine_mode", "mode", ";", "retval", "=", "operands", "[", "0", "]", ";", "mem", "=", "operands", "[", "1", "]", ";", "val", "=", "operands", "[", "2", "]", ";", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "if", "(", "reg_overlap_mentioned_p", "(", "retval", ",", "val", ")", ")", "val", "=", "copy_to_reg", "(", "val", ")", ";", "label", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "gen_label_rtx", "(", ")", ")", ";", "emit_label", "(", "XEXP", "(", "label", ",", "0", ")", ")", ";", "emit_load_locked", "(", "mode", ",", "retval", ",", "mem", ")", ";", "emit_store_conditional", "(", "mode", ",", "mem", ",", "val", ")", ";", "emit_unlikely_jump", "(", "EQ", ",", "label", ")", ";", "}", ""], "natrual_language": ["Expand", "an", "atomic", "exchange", "operation", ".", "Emits", "the", "RTX", "to", "perform", "an", "exchange", "operation", ".", "This", "function", "takes", "4", "RTX", "arguments", "in", "the", "OPERANDS", "array", ".", "The", "exchange", "operation", "atomically", "loads", "a", "value", "from", "memory", "(", "OPERANDS", "[", "1", "]", ")", "to", "a", "return", "value", "(", "OPERANDS", "[", "0", "]", ")", "and", "stores", "a", "new", "value", "(", "OPERANDS", "[", "2", "]", ")", "back", "to", "the", "memory", "location", ".", "Another", "argument", "(", "OPERANDS", "[", "3", "]", ")", "is", "used", "to", "indicate", "the", "memory", "model", "and", "is", "not", "used", "by", "OpenRISC", ".", "For", "OpenRISC", "this", "emits", "RTX", "which", "will", "translate", "to", "assembly", "using", "the", "'", "l.lwa", "'", "(", "load", "word", "atomic", ")", "and", "'", "l.swa", "'", "(", "store", "word", "atomic", ")", "instructions", "."], "TS_V_token": ["or1k", "0", "1", "2", "0"], "File": "or1k", "Func": "or1k_expand_atomic_exchange", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11403, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "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", "(", "32", ")", ";", "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", ")", ";", "if", "(", "bitmap_bit_p", "(", "in", ",", "LR_REGNO", ")", "||", "bitmap_bit_p", "(", "gen", ",", "LR_REGNO", ")", "||", "bitmap_bit_p", "(", "kill", ",", "LR_REGNO", ")", ")", "bitmap_set_bit", "(", "components", ",", "0", ")", ";", "return", "components", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SHRINK_WRAP_COMPONENTS_FOR_BB", "."], "TS_V_token": ["rs6000", "32", "32", "0"], "File": "rs60006", "Func": "rs6000_components_for_bb", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11404, "Length": 139, "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": 11405, "Length": 150, "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": 11406, "Length": 61, "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": 11407, "Length": 293, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LoongArchAsmParser", "::", "processInstruction", "(", "MCInst", "&", "Inst", ",", "SMLoc", "IDLoc", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ")", "{", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "Out", ".", "emitInstruction", "(", "Inst", ",", "getSTI", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Process", "a", "single", "instruction", "and", "collect", "debug", "info", "anchors", "."], "TS_V_token": ["LoongArch", "LoongArch"], "File": "LoongArchAsmParser", "Func": "processInstruction", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11408, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rx_split_cbranch", "(", "machine_mode", "cc_mode", ",", "enum", "rtx_code", "cmp1", ",", "rtx", "c1", ",", "rtx", "c2", ",", "rtx", "label", ")", "{", "rtx", "flags", ",", "x", ";", "flags", "=", "gen_rtx_REG", "(", "cc_mode", ",", "CC_REG", ")", ";", "x", "=", "gen_rtx_COMPARE", "(", "cc_mode", ",", "c1", ",", "c2", ")", ";", "x", "=", "gen_rtx_SET", "(", "flags", ",", "x", ")", ";", "emit_insn", "(", "x", ")", ";", "x", "=", "gen_rtx_fmt_ee", "(", "cmp1", ",", "VOIDmode", ",", "flags", ",", "const0_rtx", ")", ";", "x", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "x", ",", "label", ",", "pc_rtx", ")", ";", "x", "=", "gen_rtx_SET", "(", "pc_rtx", ",", "x", ")", ";", "emit_jump_insn", "(", "x", ")", ";", "}", ""], "natrual_language": ["Split", "the", "conditional", "branch", ".", "Emit", "(", "COMPARE", "C1", "C2", ")", "into", "CC_REG", "with", "CC_MODE", ",", "and", "use", "that", "in", "branches", "based", "on", "that", "compare", "."], "TS_V_token": ["rx"], "File": "rx", "Func": "rx_split_cbranch", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11409, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_strict_matching_cpu_name_p", "(", "const", "char", "*", "canonical", ",", "const", "char", "*", "given", ")", "{", "while", "(", "*", "given", "!=", "0", "&&", "TOLOWER", "(", "*", "given", ")", "==", "TOLOWER", "(", "*", "canonical", ")", ")", "given", "++", ",", "canonical", "++", ";", "return", "(", "(", "*", "given", "==", "0", "&&", "*", "canonical", "==", "0", ")", "||", "(", "strcmp", "(", "canonical", ",", "\"000\"", ")", "==", "0", "&&", "strcasecmp", "(", "given", ",", "\"k\"", ")", "==", "0", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "GIVEN", "is", "the", "same", "as", "CANONICAL", ",", "or", "if", "it", "is", "CANONICAL", "with", "a", "final", "``", "000", "''", "replaced", "by", "``", "k", "''", ".", "Ignore", "case", ".", "Note", ":", "this", "function", "is", "shared", "between", "GCC", "and", "GAS", "."], "TS_V_token": ["mips", "0", "0", "0", "\"000\"", "0", "\"k\"", "0"], "File": "mips3", "Func": "mips_strict_matching_cpu_name_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11410, "Length": 76, "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", "*", ">", "(", "MF", "->", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "DL", ";", "bool", "CRSpilled", "=", "false", ";", "MachineInstrBuilder", "CRMIB", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "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::CR2", "PPC::CR4", "PPC", "PPC", "PPC", "PPC::MFCR", "PPC::R12", "PPC::STW", "PPC::R12"], "File": "PPCFrameLowering1", "Func": "spillCalleeSavedRegisters", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11411, "Length": 350, "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": 11412, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "hasRawTextSupport", "(", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "asm", "streamer", "supports", "emitting", "unformatted", "text", "to", "the", ".s", "file", "with", "EmitRawText", "."], "TS_V_token": ["Cpu0"], "File": "Cpu0AsmStreamer", "Func": "hasRawTextSupport", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11413, "Length": 11, "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", "(", ")", ";", "assert", "(", "TRI", "->", "trackLivenessAfterRegAlloc", "(", "Fn", ")", "&&", "\"Register liveness not available!\"", ")", ";", "MachineLoopInfo", "&", "LI", "=", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "Modified", "=", "false", ";", "for", "(", "MachineLoop", "*", "I", ":", "LI", ")", "for", "(", "auto", "L", "=", "df_begin", "(", "I", ")", ",", "LE", "=", "df_end", "(", "I", ")", ";", "L", "!=", "LE", ";", "++", "L", ")", "if", "(", "L", "->", "empty", "(", ")", ")", "runOnLoop", "(", "*", "*", "L", ",", "Fn", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "\"Register liveness not available!\""], "File": "AArch64FalkorHWPFFix", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11414, "Length": 161, "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": 11415, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LC3FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "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", "::", "SUBrr", ")", ",", "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": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["LC3", "LC3", "LC3::SP", "LC3::SUBrr", "LC3::ADDri"], "File": "LC3FrameLowering", "Func": "emitPrologue", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11416, "Length": 189, "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": 11417, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emitSPUpdate", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "unsigned", "StackPtr", ",", "int64_t", "NumBytes", ",", "bool", "Is64Bit", ",", "const", "TargetInstrInfo", "&", "TII", ")", "{", "bool", "isSub", "=", "NumBytes", "<", "0", ";", "uint64_t", "Offset", "=", "isSub", "?", "-", "NumBytes", ":", "NumBytes", ";", "unsigned", "Opc", "=", "isSub", "?", "(", "(", "Offset", "<", "128", ")", "?", "(", "Is64Bit", "?", "X86", "::", "SUB64ri8", ":", "X86", "::", "SUB32ri8", ")", ":", "(", "Is64Bit", "?", "X86", "::", "SUB64ri32", ":", "X86", "::", "SUB32ri", ")", ")", ":", "(", "(", "Offset", "<", "128", ")", "?", "(", "Is64Bit", "?", "X86", "::", "ADD64ri8", ":", "X86", "::", "ADD32ri8", ")", ":", "(", "Is64Bit", "?", "X86", "::", "ADD64ri32", ":", "X86", "::", "ADD32ri", ")", ")", ";", "uint64_t", "Chunk", "=", "(", "1LL", "<<", "31", ")", "-", "1", ";", "DebugLoc", "DL", "=", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "::", "getUnknownLoc", "(", ")", ")", ";", "while", "(", "Offset", ")", "{", "uint64_t", "ThisVal", "=", "(", "Offset", ">", "Chunk", ")", "?", "Chunk", ":", "Offset", ";", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "ThisVal", ")", ";", "MI", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "Offset", "-=", "ThisVal", ";", "}", "}", ""], "natrual_language": ["Emit", "a", "series", "of", "instructions", "to", "increment", "/", "decrement", "the", "stack", "pointer", "by", "a", "constant", "value", "."], "TS_V_token": ["X86", "0", "128", "X86::SUB64ri8", "X86::SUB32ri8", "X86::SUB64ri32", "X86::SUB32ri", "128", "X86::ADD64ri8", "X86::ADD32ri8", "X86::ADD64ri32", "X86::ADD32ri", "1LL", "31", "1", "3"], "File": "X86RegisterInfo41", "Func": "emitSPUpdate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11418, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LoongArchAsmPrinter", "::", "emitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "if", "(", "emitPseudoExpansionLowering", "(", "*", "OutStreamer", ",", "MI", ")", ")", "return", ";", "MCInst", "TmpInst", ";", "if", "(", "!", "lowerLoongArchMachineInstrToMCInst", "(", "MI", ",", "TmpInst", ",", "*", "this", ")", ")", "EmitToStreamer", "(", "*", "OutStreamer", ",", "TmpInst", ")", ";", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["LoongArch", "LoongArch", "LoongArch"], "File": "LoongArchAsmPrinter", "Func": "emitInstruction", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11419, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMInstrInfo", "::", "reMaterialize", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "unsigned", "SubIdx", ",", "const", "MachineInstr", "*", "Orig", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "dl", "=", "Orig", "->", "getDebugLoc", "(", ")", ";", "unsigned", "Opcode", "=", "Orig", "->", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "break", ";", "case", "ARM", "::", "MOVi2pieces", ":", "{", "RI", ".", "emitLoadConstPool", "(", "MBB", ",", "I", ",", "dl", ",", "DestReg", ",", "SubIdx", ",", "Orig", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ",", "(", "ARMCC", "::", "CondCodes", ")", "Orig", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ",", "Orig", "->", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", ")", ";", "MachineInstr", "*", "NewMI", "=", "prior", "(", "I", ")", ";", "NewMI", "->", "getOperand", "(", "0", ")", ".", "setSubReg", "(", "SubIdx", ")", ";", "return", ";", "}", "}", "return", "ARMBaseInstrInfo", "::", "reMaterialize", "(", "MBB", ",", "I", ",", "DestReg", ",", "SubIdx", ",", "Orig", ",", "TRI", ")", ";", "}", ""], "natrual_language": ["Re-issue", "the", "specified", "'original", "'", "instruction", "at", "the", "specific", "location", "targeting", "a", "new", "destination", "register", "."], "TS_V_token": ["ARM", "ARM", "ARM::MOVi2pieces", "1", "ARMCC::CondCodes", "2", "3", "0", "ARM"], "File": "ARMInstrInfo27", "Func": "reMaterialize", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11420, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMRegisterInfo", "::", "requiresRegisterScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "return", "ThumbRegScavenging", "||", "!", "AFI", "->", "isThumbFunction", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "requires", "(", "and", "can", "make", "use", "of", ")", "the", "register", "scavenger", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "ARMRegisterInfo13", "Func": "requiresRegisterScavenging", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11421, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTTIImpl", "::", "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", "(", ")", ";", "bool", "MatchExact", "=", "(", "CallerBits", "&", "~", "InlineFeatureWhitelist", ")", "==", "(", "CalleeBits", "&", "~", "InlineFeatureWhitelist", ")", ";", "bool", "MatchSubset", "=", "(", "(", "CallerBits", "&", "CalleeBits", ")", "&", "InlineFeatureWhitelist", ")", "==", "(", "CalleeBits", "&", "InlineFeatureWhitelist", ")", ";", "return", "MatchExact", "&&", "MatchSubset", ";", "}", ""], "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": ["ARM", "ARM"], "File": "ARMTargetTransformInfo (2)1", "Func": "areInlineCompatible", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11422, "Length": 106, "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": 11423, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_emit_atomic_load_op", "(", "enum", "aarch64_atomic_load_op_code", "code", ",", "machine_mode", "mode", ",", "rtx", "dst", ",", "rtx", "src", ",", "rtx", "mem", ",", "rtx", "model", ")", "{", "typedef", "rtx", "(", "*", "aarch64_atomic_load_op_fn", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "const", "aarch64_atomic_load_op_fn", "plus", "[", "]", "=", "{", "gen_aarch64_atomic_loadaddqi", ",", "gen_aarch64_atomic_loadaddhi", ",", "gen_aarch64_atomic_loadaddsi", ",", "gen_aarch64_atomic_loadadddi", "}", ";", "const", "aarch64_atomic_load_op_fn", "eor", "[", "]", "=", "{", "gen_aarch64_atomic_loadeorqi", ",", "gen_aarch64_atomic_loadeorhi", ",", "gen_aarch64_atomic_loadeorsi", ",", "gen_aarch64_atomic_loadeordi", "}", ";", "const", "aarch64_atomic_load_op_fn", "ior", "[", "]", "=", "{", "gen_aarch64_atomic_loadsetqi", ",", "gen_aarch64_atomic_loadsethi", ",", "gen_aarch64_atomic_loadsetsi", ",", "gen_aarch64_atomic_loadsetdi", "}", ";", "const", "aarch64_atomic_load_op_fn", "bic", "[", "]", "=", "{", "gen_aarch64_atomic_loadclrqi", ",", "gen_aarch64_atomic_loadclrhi", ",", "gen_aarch64_atomic_loadclrsi", ",", "gen_aarch64_atomic_loadclrdi", "}", ";", "aarch64_atomic_load_op_fn", "gen", ";", "int", "idx", "=", "0", ";", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "idx", "=", "0", ";", "break", ";", "case", "E_HImode", ":", "idx", "=", "1", ";", "break", ";", "case", "E_SImode", ":", "idx", "=", "2", ";", "break", ";", "case", "E_DImode", ":", "idx", "=", "3", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "switch", "(", "code", ")", "{", "case", "AARCH64_LDOP_PLUS", ":", "gen", "=", "plus", "[", "idx", "]", ";", "break", ";", "case", "AARCH64_LDOP_XOR", ":", "gen", "=", "eor", "[", "idx", "]", ";", "break", ";", "case", "AARCH64_LDOP_OR", ":", "gen", "=", "ior", "[", "idx", "]", ";", "break", ";", "case", "AARCH64_LDOP_BIC", ":", "gen", "=", "bic", "[", "idx", "]", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "emit_insn", "(", "gen", "(", "dst", ",", "mem", ",", "src", ",", "model", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "atomic", "load-operate", "."], "TS_V_token": ["aarch64", "0", "0", "1", "2", "3"], "File": "aarch645", "Func": "aarch64_emit_atomic_load_op", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11424, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "any_sibcall_could_use_r3", "(", "void", ")", "{", "edge_iterator", "ei", ";", "edge", "e", ";", "if", "(", "!", "crtl", "->", "tail_call_emit", ")", "return", "false", ";", "FOR_EACH_EDGE", "(", "e", ",", "ei", ",", "EXIT_BLOCK_PTR_FOR_FN", "(", "cfun", ")", "->", "preds", ")", "if", "(", "e", "->", "flags", "&", "EDGE_SIBCALL", ")", "{", "rtx", "call", "=", "BB_END", "(", "e", "->", "src", ")", ";", "if", "(", "!", "CALL_P", "(", "call", ")", ")", "call", "=", "prev_nonnote_nondebug_insn", "(", "call", ")", ";", "gcc_assert", "(", "CALL_P", "(", "call", ")", "&&", "SIBLING_CALL_P", "(", "call", ")", ")", ";", "if", "(", "find_regno_fusage", "(", "call", ",", "USE", ",", "3", ")", "||", "is_indirect_tailcall_p", "(", "call", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "r3", "is", "used", "by", "any", "of", "the", "tail", "call", "insns", "in", "the", "current", "function", "."], "TS_V_token": ["arm", "3"], "File": "arm4", "Func": "any_sibcall_could_use_r3", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11425, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "function_arg_vector_value", "(", "int", "size", ",", "enum", "machine_mode", "base_mode", ",", "int", "regno", ")", "{", "unsigned", "short", "base_mode_size", "=", "GET_MODE_SIZE", "(", "base_mode", ")", ";", "int", "nregs", "=", "size", "/", "base_mode_size", ",", "i", ";", "rtx", "regs", ";", "regs", "=", "gen_rtx_PARALLEL", "(", "BLKmode", ",", "rtvec_alloc", "(", "nregs", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nregs", ";", "i", "++", ")", "{", "XVECEXP", "(", "regs", ",", "0", ",", "i", ")", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "base_mode", ",", "regno", ")", ",", "GEN_INT", "(", "base_mode_size", "*", "i", ")", ")", ";", "regno", "+=", "base_mode_size", "/", "4", ";", "}", "return", "regs", ";", "}", ""], "natrual_language": ["Used", "by", "function_arg", "and", "sparc_function_value_1", "to", "implement", "the", "conventions", "for", "passing", "and", "returning", "BLKmode", "vectors", ".", "Return", "an", "expression", "valid", "as", "a", "return", "value", "for", "the", "FUNCTION_ARG", "and", "TARGET_FUNCTION_VALUE", ".", "SIZE", "is", "the", "size", "in", "bytes", "of", "the", "vector", ".", "REGNO", "is", "the", "FP", "hard", "register", "the", "vector", "will", "be", "passed", "in", "."], "TS_V_token": ["sparc", "0", "0", "4"], "File": "sparc3", "Func": "function_arg_vector_value", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11426, "Length": 101, "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", ":", "return", "fixCommutedOpIndices", "(", "SrcOpIdx1", ",", "SrcOpIdx2", ",", "1", ",", "2", ")", ";", "}", "return", "false", ";", "}", "default", ":", "bool", "IsIntrinOpcode", ";", "if", "(", "isFMA3", "(", "MI", ".", "getOpcode", "(", ")", ",", "IsIntrinOpcode", ")", ")", "return", "findFMA3CommutedOpIndices", "(", "MI", ",", "IsIntrinOpcode", ",", "SrcOpIdx1", ",", "SrcOpIdx2", ")", ";", "return", "TargetInstrInfo", "::", "findCommutedOpIndices", "(", "MI", ",", "SrcOpIdx1", ",", "SrcOpIdx2", ")", ";", "}", "return", "false", ";", "}", ""], "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"], "File": "X86InstrInfo10", "Func": "findCommutedOpIndices", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11427, "Length": 156, "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": 11428, "Length": 260, "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": 11429, "Length": 36, "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": 11430, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZAsmParser (2)", "Func": "ParseDirective", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11431, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "initializePass", "(", ")", "override", "{", "pushTTIStack", "(", "this", ")", ";", "}", ""], "natrual_language": ["initializePass", "-", "This", "method", "may", "be", "overriden", "by", "immutable", "passes", "to", "allow", "them", "to", "perform", "various", "initialization", "actions", "they", "require", "."], "TS_V_token": ["X86"], "File": "X86TargetTransformInfo112", "Func": "initializePass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11432, "Length": 12, "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": 11433, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "raw_ostream", "&", "OS", ",", "const", "TargetMachine", "*", "TM", "=", "0", ")", "const", "{", "if", "(", "isReg", "(", ")", ")", "{", "OS", "<<", "PrintReg", "(", "getReg", "(", ")", ")", ";", "}", "if", "(", "isImm", "(", ")", ")", "{", "OS", "<<", "getImm", "(", ")", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["PowerPC", "0"], "File": "PPCCTRLoops2", "Func": "print", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11434, "Length": 48, "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": 11435, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sh_delegitimize_address", "(", "rtx", "orig_x", ")", "{", "orig_x", "=", "delegitimize_mem_from_attrs", "(", "orig_x", ")", ";", "rtx", "x", "=", "orig_x", ";", "if", "(", "MEM_P", "(", "x", ")", ")", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST", ")", "{", "rtx", "y", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "y", ")", "==", "UNSPEC", ")", "{", "if", "(", "XINT", "(", "y", ",", "1", ")", "==", "UNSPEC_GOT", "||", "XINT", "(", "y", ",", "1", ")", "==", "UNSPEC_GOTOFF", "||", "XINT", "(", "y", ",", "1", ")", "==", "UNSPEC_SYMOFF", ")", "return", "XVECEXP", "(", "y", ",", "0", ",", "0", ")", ";", "else", "if", "(", "XINT", "(", "y", ",", "1", ")", "==", "UNSPEC_PCREL_SYMOFF", ")", "{", "if", "(", "GET_CODE", "(", "XVECEXP", "(", "y", ",", "0", ",", "0", ")", ")", "==", "CONST", ")", "{", "rtx", "symplt", "=", "XEXP", "(", "XVECEXP", "(", "y", ",", "0", ",", "0", ")", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "symplt", ")", "==", "UNSPEC", "&&", "(", "XINT", "(", "symplt", ",", "1", ")", "==", "UNSPEC_PLT", "||", "XINT", "(", "symplt", ",", "1", ")", "==", "UNSPEC_PCREL", ")", ")", "return", "XVECEXP", "(", "symplt", ",", "0", ",", "0", ")", ";", "}", "}", "}", "}", "return", "orig_x", ";", "}", ""], "natrual_language": ["In", "the", "name", "of", "slightly", "smaller", "debug", "output", ",", "and", "to", "cater", "to", "general", "assembler", "lossage", ",", "recognize", "various", "UNSPEC", "sequences", "and", "turn", "them", "back", "into", "a", "direct", "symbol", "reference", "."], "TS_V_token": ["sh", "0", "0", "1", "1", "1", "0", "0", "1", "0", "0", "0", "0", "0", "1", "1", "0", "0"], "File": "sh", "Func": "sh_delegitimize_address", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11436, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalMaskedGather", "(", "Type", "*", "DataTy", ",", "Align", "Alignment", ")", "{", "if", "(", "!", "(", "ST", "->", "hasAVX512", "(", ")", "||", "(", "ST", "->", "hasFastGather", "(", ")", "&&", "ST", "->", "hasAVX2", "(", ")", ")", ")", ")", "return", "false", ";", "if", "(", "auto", "*", "DataVTy", "=", "dyn_cast", "<", "FixedVectorType", ">", "(", "DataTy", ")", ")", "{", "unsigned", "NumElts", "=", "DataVTy", "->", "getNumElements", "(", ")", ";", "if", "(", "NumElts", "==", "1", ")", "return", "false", ";", "if", "(", "ST", "->", "hasAVX512", "(", ")", "&&", "(", "NumElts", "==", "2", "||", "(", "NumElts", "==", "4", "&&", "!", "ST", "->", "hasVLX", "(", ")", ")", ")", ")", "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", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "gather", "."], "TS_V_token": ["X86", "X86", "1", "2", "4", "32", "64"], "File": "X86TargetTransformInfo101", "Func": "isLegalMaskedGather", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11437, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64PromoteConstant", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "bool", "LocalChange", "=", "false", ";", "SmallSet", "<", "Constant", "*", ",", "8", ">", "AlreadyChecked", ";", "for", "(", "auto", "&", "MBB", ":", "F", ")", "{", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "for", "(", "unsigned", "OpIdx", "=", "0", ",", "EndOpIdx", "=", "MI", ".", "getNumOperands", "(", ")", ";", "OpIdx", "!=", "EndOpIdx", ";", "++", "OpIdx", ")", "{", "Constant", "*", "Cst", "=", "dyn_cast", "<", "Constant", ">", "(", "MI", ".", "getOperand", "(", "OpIdx", ")", ")", ";", "if", "(", "Cst", "&&", "!", "isa", "<", "GlobalValue", ">", "(", "Cst", ")", "&&", "!", "isa", "<", "ConstantExpr", ">", "(", "Cst", ")", "&&", "AlreadyChecked", ".", "insert", "(", "Cst", ")", ")", "LocalChange", "|=", "promoteConstant", "(", "Cst", ")", ";", "}", "}", "}", "return", "LocalChange", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["ARM64", "ARM64", "8", "0"], "File": "ARM64PromoteConstant", "Func": "runOnFunction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11438, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsFastISel", "::", "fastLowerCall", "(", "CallLoweringInfo", "&", "CLI", ")", "{", "if", "(", "!", "TargetSupported", ")", "return", "false", ";", "CallingConv", "::", "ID", "CC", "=", "CLI", ".", "CallConv", ";", "bool", "IsTailCall", "=", "CLI", ".", "IsTailCall", ";", "bool", "IsVarArg", "=", "CLI", ".", "IsVarArg", ";", "const", "Value", "*", "Callee", "=", "CLI", ".", "Callee", ";", "MCSymbol", "*", "Symbol", "=", "CLI", ".", "Symbol", ";", "if", "(", "CC", "==", "CallingConv", "::", "Fast", ")", "return", "false", ";", "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", "(", "Symbol", ")", "DestAddress", "=", "materializeExternalCallSym", "(", "Symbol", ")", ";", "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": "MipsFastISel", "Func": "fastLowerCall", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11439, "Length": 439, "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": ["Mips"], "File": "MipsAsmParser102", "Func": "isReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11440, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_mode_entry", "(", "int", "entity", ")", "{", "switch", "(", "entity", ")", "{", "case", "X86_DIRFLAG", ":", "return", "ix86_dirflag_mode_entry", "(", ")", ";", "case", "AVX_U128", ":", "return", "ix86_avx_u128_mode_entry", "(", ")", ";", "case", "I387_TRUNC", ":", "case", "I387_FLOOR", ":", "case", "I387_CEIL", ":", "return", "I387_CW_ANY", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "a", "mode", "that", "ENTITY", "is", "assumed", "to", "be", "switched", "to", "at", "function", "entry", "."], "TS_V_token": ["i386"], "File": "i3868", "Func": "ix86_mode_entry", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11441, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetLowering", "::", "insertCopiesSplitCSR", "(", "MachineBasicBlock", "*", "Entry", ",", "const", "SmallVectorImpl", "<", "MachineBasicBlock", "*", ">", "&", "Exits", ")", "const", "{", "const", "ARMBaseRegisterInfo", "*", "TRI", "=", "Subtarget", "->", "getRegisterInfo", "(", ")", ";", "const", "MCPhysReg", "*", "IStart", "=", "TRI", "->", "getCalleeSavedRegsViaCopy", "(", "Entry", "->", "getParent", "(", ")", ")", ";", "if", "(", "!", "IStart", ")", "return", ";", "const", "TargetInstrInfo", "*", "TII", "=", "Subtarget", "->", "getInstrInfo", "(", ")", ";", "MachineRegisterInfo", "*", "MRI", "=", "&", "Entry", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "Entry", "->", "begin", "(", ")", ";", "for", "(", "const", "MCPhysReg", "*", "I", "=", "IStart", ";", "*", "I", ";", "++", "I", ")", "{", "const", "TargetRegisterClass", "*", "RC", "=", "nullptr", ";", "if", "(", "ARM", "::", "GPRRegClass", ".", "contains", "(", "*", "I", ")", ")", "RC", "=", "&", "ARM", "::", "GPRRegClass", ";", "else", "if", "(", "ARM", "::", "DPRRegClass", ".", "contains", "(", "*", "I", ")", ")", "RC", "=", "&", "ARM", "::", "DPRRegClass", ";", "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", ",", "MBBI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "NewVR", ")", ".", "addReg", "(", "*", "I", ")", ";", "for", "(", "auto", "*", "Exit", ":", "Exits", ")", "BuildMI", "(", "*", "Exit", ",", "Exit", "->", "getFirstTerminator", "(", ")", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "*", "I", ")", ".", "addReg", "(", "NewVR", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "explicit", "copies", "in", "entry", "and", "exit", "blocks", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM::GPRRegClass", "ARM::GPRRegClass", "ARM::DPRRegClass", "ARM::DPRRegClass", "\"Unexpected register class in CSRsViaCopy!\"", "\"Function should be nounwind in insertCopiesSplitCSR!\""], "File": "ARMISelLowering (3)", "Func": "insertCopiesSplitCSR", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11442, "Length": 271, "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": ["LC2200"], "File": "LC2200RegisterInfo", "Func": "trackLivenessAfterRegAlloc", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11443, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_handle_attr_tune", "(", "const", "char", "*", "str", ",", "const", "char", "*", "pragma_or_attr", ")", "{", "const", "struct", "processor", "*", "tmp_tune", "=", "NULL", ";", "enum", "aarch64_parse_opt_result", "parse_res", "=", "aarch64_parse_tune", "(", "str", ",", "&", "tmp_tune", ")", ";", "if", "(", "parse_res", "==", "AARCH64_PARSE_OK", ")", "{", "gcc_assert", "(", "tmp_tune", ")", ";", "selected_tune", "=", "tmp_tune", ";", "explicit_tune_core", "=", "selected_tune", "->", "ident", ";", "return", "true", ";", "}", "switch", "(", "parse_res", ")", "{", "case", "AARCH64_PARSE_INVALID_ARG", ":", "error", "(", "\"unknown value %qs for 'tune' target %s\"", ",", "str", ",", "pragma_or_attr", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Handle", "the", "argument", "STR", "to", "the", "tune=", "target", "attribute", ".", "PRAGMA_OR_ATTR", "is", "used", "in", "potential", "error", "messages", "."], "TS_V_token": ["aarch64", "\"unknown value %qs for 'tune' target %s\""], "File": "aarch643", "Func": "aarch64_handle_attr_tune", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11444, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_split_copysign_const", "(", "rtx", "operands", "[", "]", ")", "{", "machine_mode", "mode", ",", "vmode", ";", "rtx", "dest", ",", "op0", ",", "mask", ",", "x", ";", "dest", "=", "operands", "[", "0", "]", ";", "op0", "=", "operands", "[", "1", "]", ";", "mask", "=", "operands", "[", "3", "]", ";", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "vmode", "=", "GET_MODE", "(", "mask", ")", ";", "dest", "=", "lowpart_subreg", "(", "vmode", ",", "dest", ",", "mode", ")", ";", "x", "=", "gen_rtx_AND", "(", "vmode", ",", "dest", ",", "mask", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "x", ")", ")", ";", "if", "(", "op0", "!=", "CONST0_RTX", "(", "vmode", ")", ")", "{", "x", "=", "gen_rtx_IOR", "(", "vmode", ",", "dest", ",", "op0", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "x", ")", ")", ";", "}", "}", ""], "natrual_language": ["Deconstruct", "a", "copysign", "operation", "into", "bit", "masks", ".", "Operand", "0", "is", "known", "to", "be", "a", "constant", ",", "and", "so", "has", "already", "been", "expanded", "into", "a", "vector", "constant", "."], "TS_V_token": ["i386", "0", "1", "3"], "File": "i386-expand", "Func": "ix86_split_copysign_const", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11445, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "legitimize_pe_coff_symbol", "(", "rtx", "addr", ",", "bool", "inreg", ")", "{", "if", "(", "!", "TARGET_PECOFF", ")", "return", "NULL_RTX", ";", "if", "(", "TARGET_DLLIMPORT_DECL_ATTRIBUTES", ")", "{", "if", "(", "GET_CODE", "(", "addr", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_DLLIMPORT_P", "(", "addr", ")", ")", "return", "legitimize_dllimport_symbol", "(", "addr", ",", "inreg", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "0", ")", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_DLLIMPORT_P", "(", "XEXP", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "0", ")", ")", ")", "{", "rtx", "t", "=", "legitimize_dllimport_symbol", "(", "XEXP", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "0", ")", ",", "inreg", ")", ";", "return", "gen_rtx_PLUS", "(", "Pmode", ",", "t", ",", "XEXP", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "1", ")", ")", ";", "}", "}", "if", "(", "ix86_cmodel", "!=", "CM_LARGE_PIC", "&&", "ix86_cmodel", "!=", "CM_MEDIUM_PIC", ")", "return", "NULL_RTX", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "SYMBOL_REF", "&&", "!", "is_imported_p", "(", "addr", ")", "&&", "SYMBOL_REF_EXTERNAL_P", "(", "addr", ")", "&&", "SYMBOL_REF_DECL", "(", "addr", ")", ")", "return", "legitimize_pe_coff_extern_decl", "(", "addr", ",", "inreg", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "0", ")", ")", "==", "SYMBOL_REF", "&&", "!", "is_imported_p", "(", "XEXP", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "0", ")", ")", "&&", "SYMBOL_REF_EXTERNAL_P", "(", "XEXP", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "0", ")", ")", "&&", "SYMBOL_REF_DECL", "(", "XEXP", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "0", ")", ")", ")", "{", "rtx", "t", "=", "legitimize_pe_coff_extern_decl", "(", "XEXP", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "0", ")", ",", "inreg", ")", ";", "return", "gen_rtx_PLUS", "(", "Pmode", ",", "t", ",", "XEXP", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "1", ")", ")", ";", "}", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Expand", "SYMBOL", "into", "its", "corresponding", "dllimport", "or", "refptr", "symbol", ".", "WANT_REG", "is", "true", "if", "we", "require", "the", "result", "be", "a", "register", "."], "TS_V_token": ["i386", "0", "0", "0", "0", "0", "0", "0", "0", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1"], "File": "i386", "Func": "legitimize_pe_coff_symbol", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11446, "Length": 317, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "unsigned", ">", "VRegs", ")", "const", "{", "if", "(", "F", ".", "arg_empty", "(", ")", ")", "return", "true", ";", "if", "(", "F", ".", "isVarArg", "(", ")", ")", "return", "false", ";", "auto", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "auto", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "auto", "&", "TLI", "=", "*", "getTLI", "<", "ARMTargetLowering", ">", "(", ")", ";", "auto", "Subtarget", "=", "TLI", ".", "getSubtarget", "(", ")", ";", "if", "(", "Subtarget", "->", "isThumb", "(", ")", ")", "return", "false", ";", "if", "(", "Subtarget", "->", "useSoftFloat", "(", ")", "||", "!", "Subtarget", "->", "hasVFP2", "(", ")", ")", "return", "false", ";", "auto", "&", "Args", "=", "F", ".", "getArgumentList", "(", ")", ";", "for", "(", "auto", "&", "Arg", ":", "Args", ")", "if", "(", "!", "isSupportedType", "(", "DL", ",", "TLI", ",", "Arg", ".", "getType", "(", ")", ")", ")", "return", "false", ";", "CCAssignFn", "*", "AssignFn", "=", "TLI", ".", "CCAssignFnForCall", "(", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "ArgInfos", ";", "unsigned", "Idx", "=", "0", ";", "for", "(", "auto", "&", "Arg", ":", "Args", ")", "{", "ArgInfo", "AInfo", "(", "VRegs", "[", "Idx", "]", ",", "Arg", ".", "getType", "(", ")", ")", ";", "setArgFlags", "(", "AInfo", ",", "Idx", "+", "1", ",", "DL", ",", "F", ")", ";", "splitToValueTypes", "(", "AInfo", ",", "ArgInfos", ",", "DL", ",", "MF", ".", "getRegInfo", "(", ")", ")", ";", "Idx", "++", ";", "}", "FormalArgHandler", "ArgHandler", "(", "MIRBuilder", ",", "MIRBuilder", ".", "getMF", "(", ")", ".", "getRegInfo", "(", ")", ",", "AssignFn", ")", ";", "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", "0", "1"], "File": "ARMCallLowering18", "Func": "lowerFormalArguments", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11447, "Length": 269, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_valid_pointer_mode", "(", "machine_mode", "mode", ")", "{", "return", "mode", "==", "SImode", "||", "(", "TARGET_64BIT", "&&", "mode", "==", "DImode", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VALID_POINTER_MODE", "."], "TS_V_token": ["mips"], "File": "mips4", "Func": "mips_valid_pointer_mode", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11448, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "loongarch_print_float_branch_condition", "(", "FILE", "*", "file", ",", "enum", "rtx_code", "code", ",", "int", "letter", ")", "{", "switch", "(", "code", ")", "{", "case", "EQ", ":", "fputs", "(", "\"ceqz\"", ",", "file", ")", ";", "break", ";", "case", "NE", ":", "fputs", "(", "\"cnez\"", ",", "file", ")", ";", "break", ";", "default", ":", "output_operand_lossage", "(", "\"'%%%c' is not a valid operand prefix\"", ",", "letter", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Likewise", "floating-point", "branches", "."], "TS_V_token": ["loongarch", "\"ceqz\"", "\"cnez\"", "\"'%%%c' is not a valid operand prefix\""], "File": "loongarch", "Func": "loongarch_print_float_branch_condition", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11449, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetIRAnalysis", "AArch64TargetMachine", "::", "getTargetIRAnalysis", "(", ")", "{", "return", "TargetIRAnalysis", "(", "[", "this", "]", "(", "Function", "&", "F", ")", "{", "return", "TargetTransformInfo", "(", "AArch64TTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetIRAnalysis", "appropriate", "for", "the", "target", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine29", "Func": "getTargetIRAnalysis", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11450, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_contains_aligned_value_p", "(", "const_tree", "type", ")", "{", "machine_mode", "mode", "=", "TYPE_MODE", "(", "type", ")", ";", "if", "(", "mode", "==", "XFmode", "||", "mode", "==", "XCmode", ")", "return", "false", ";", "if", "(", "TYPE_ALIGN", "(", "type", ")", "<", "128", ")", "return", "false", ";", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "switch", "(", "TREE_CODE", "(", "type", ")", ")", "{", "case", "RECORD_TYPE", ":", "case", "UNION_TYPE", ":", "case", "QUAL_UNION_TYPE", ":", "{", "tree", "field", ";", "for", "(", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";", "field", ";", "field", "=", "DECL_CHAIN", "(", "field", ")", ")", "{", "if", "(", "TREE_CODE", "(", "field", ")", "==", "FIELD_DECL", "&&", "ix86_contains_aligned_value_p", "(", "TREE_TYPE", "(", "field", ")", ")", ")", "return", "true", ";", "}", "break", ";", "}", "case", "ARRAY_TYPE", ":", "if", "(", "ix86_contains_aligned_value_p", "(", "TREE_TYPE", "(", "type", ")", ")", ")", "return", "true", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "return", "TYPE_ALIGN", "(", "type", ")", ">=", "128", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "when", "TYPE", "should", "be", "128bit", "aligned", "for", "32bit", "argument", "passing", "ABI", "."], "TS_V_token": ["i386", "128", "128"], "File": "i386", "Func": "ix86_contains_aligned_value_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11451, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "moxie_libcall_value", "(", "machine_mode", "mode", ",", "const_rtx", "fun", "ATTRIBUTE_UNUSED", ")", "{", "return", "gen_rtx_REG", "(", "mode", ",", "MOXIE_R0", ")", ";", "}", ""], "natrual_language": ["Define", "how", "to", "find", "the", "value", "returned", "by", "a", "library", "function", ".", "We", "always", "return", "values", "in", "register", "$", "r0", "for", "moxie", "."], "TS_V_token": ["moxie"], "File": "moxie", "Func": "moxie_libcall_value", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11452, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_init_cumulative_args", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "tree", "fntype", ")", "{", "memset", "(", "cum", ",", "0", ",", "sizeof", "(", "*", "cum", ")", ")", ";", "cum", "->", "prototype", "=", "(", "fntype", "&&", "prototype_p", "(", "fntype", ")", ")", ";", "cum", "->", "gp_reg_found", "=", "(", "cum", "->", "prototype", "&&", "stdarg_p", "(", "fntype", ")", ")", ";", "}", ""], "natrual_language": ["Initialize", "*", "CUM", "for", "a", "call", "to", "a", "function", "of", "type", "FNTYPE", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips_init_cumulative_args", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11453, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "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)3", "Func": "getScalingFactorCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11454, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_frame_set", "(", "rtx", "mem", ",", "rtx", "reg", ")", "{", "rtx", "set", ";", "set", "=", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "set", ")", "=", "1", ";", "return", "set", ";", "}", ""], "natrual_language": ["Return", "a", "frame-related", "rtx", "that", "stores", "register", "REGNO", "at", "(", "SP", "+", "OFFSET", ")", ".", "The", "expression", "should", "only", "be", "used", "to", "store", "single", "registers", "."], "TS_V_token": ["mips", "1"], "File": "mips", "Func": "mips_frame_set", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11455, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CCAssignFn", "*", "MipsTargetLowering", "::", "CCAssignFnForCall", "(", ")", "const", "{", "return", "CC_Mips", ";", "}", ""], "natrual_language": ["Selects", "the", "correct", "CCAssignFn", "for", "a", "given", "CallingConvention", "value", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsISelLowering10", "Func": "CCAssignFnForCall", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11456, "Length": 13, "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": 11457, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_cannot_change_mode_class", "(", "machine_mode", "from", ",", "machine_mode", "to", ",", "enum", "reg_class", "regclass", ")", "{", "if", "(", "from", "==", "to", ")", "return", "false", ";", "if", "(", "MAYBE_FLOAT_CLASS_P", "(", "regclass", ")", ")", "return", "true", ";", "if", "(", "MAYBE_SSE_CLASS_P", "(", "regclass", ")", "||", "MAYBE_MMX_CLASS_P", "(", "regclass", ")", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "from", ")", "<", "4", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "registers", "in", "CLASS", "can", "not", "represent", "the", "change", "from", "modes", "FROM", "to", "TO", "."], "TS_V_token": ["i386", "4"], "File": "i3864", "Func": "ix86_cannot_change_mode_class", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11458, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_ldr_shift_p", "(", "HOST_WIDE_INT", "shift", ",", "enum", "rtx_code", "code", ")", "{", "if", "(", "code", "==", "ASHIFT", ")", "return", "(", "shift", ">=", "0", "&&", "shift", "<=", "3", ")", ";", "else", "if", "(", "code", "==", "MULT", ")", "return", "(", "shift", "==", "1", "||", "shift", "==", "2", "||", "shift", "==", "4", "||", "shift", "==", "8", ")", ";", "else", "return", "false", ";", "}", ""], "natrual_language": ["The", "instruction", "ldr", "rz", ",", "(", "rx", ",", "ry", "<", "<", "i", ")", ",", "i", "can", "be", "0,1,2,3", ".", "Check", "that", "SHIFT", "is", "valid", ",", "that", "the", "code", "is", "MULT", ",", "and", "that", "the", "shift", "is", "a", "power", "of", "2", "."], "TS_V_token": ["csky", "0", "3", "1", "2", "4", "8"], "File": "csky", "Func": "is_ldr_shift_p", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11459, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_tieable_integer_mode_p", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "HImode", ":", "case", "SImode", ":", "return", "true", ";", "case", "QImode", ":", "return", "TARGET_64BIT", "||", "!", "TARGET_PARTIAL_REG_STALL", ";", "case", "DImode", ":", "return", "TARGET_64BIT", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["A", "subroutine", "of", "ix86_modes_tieable_p", ".", "Return", "true", "if", "MODE", "is", "a", "tieable", "integer", "mode", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_tieable_integer_mode_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11460, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "SparcDisassembler", "::", "getInstruction", "(", "MCInst", "&", "Instr", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "VStream", ",", "raw_ostream", "&", "CStream", ")", "const", "{", "uint32_t", "Insn", ";", "bool", "isLittleEndian", "=", "getContext", "(", ")", ".", "getAsmInfo", "(", ")", "->", "isLittleEndian", "(", ")", ";", "DecodeStatus", "Result", "=", "readInstruction32", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn", ",", "isLittleEndian", ")", ";", "if", "(", "Result", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "Sparc", "::", "FeatureV9", "]", ")", "{", "Result", "=", "decodeInstruction", "(", "DecoderTableSparcV932", ",", "Instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "}", "else", "{", "Result", "=", "decodeInstruction", "(", "DecoderTableSparcV832", ",", "Instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "}", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "return", "Result", ";", "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::FeatureV9", "Sparc", "Sparc", "Sparc", "4"], "File": "SparcDisassembler13", "Func": "getInstruction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11461, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FastISel", "*", "AArch64TargetLowering", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "funcInfo", ",", "const", "TargetLibraryInfo", "*", "libInfo", ")", "const", "{", "return", "AArch64", "::", "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": ["AArch64", "AArch64", "AArch64::createFastISel"], "File": "AArch64ISelLowering (2)", "Func": "createFastISel", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11462, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_save_reg", "(", "unsigned", "int", "regno", ",", "int", "maybe_eh_return", ")", "{", "if", "(", "pic_offset_table_rtx", "&&", "regno", "==", "REAL_PIC_OFFSET_TABLE_REGNUM", "&&", "(", "regs_ever_live", "[", "REAL_PIC_OFFSET_TABLE_REGNUM", "]", "||", "current_function_profile", "||", "current_function_calls_eh_return", "||", "current_function_uses_const_pool", ")", ")", "{", "if", "(", "ix86_select_alt_pic_regnum", "(", ")", "!=", "INVALID_REGNUM", ")", "return", "0", ";", "return", "1", ";", "}", "if", "(", "current_function_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", "1", ";", "}", "}", "if", "(", "cfun", "->", "machine", "->", "force_align_arg_pointer", "&&", "regno", "==", "REGNO", "(", "cfun", "->", "machine", "->", "force_align_arg_pointer", ")", ")", "return", "1", ";", "return", "(", "regs_ever_live", "[", "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", "1", "0", "1", "1"], "File": "i3863", "Func": "ix86_save_reg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11463, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMInstrInfo", "::", "PredicateInstruction", "(", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Pred", ")", "const", "{", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "ARM", "::", "B", "||", "Opc", "==", "ARM", "::", "tB", ")", "{", "MI", "->", "setDesc", "(", "get", "(", "Opc", "==", "ARM", "::", "B", "?", "ARM", "::", "Bcc", ":", "ARM", "::", "tBcc", ")", ")", ";", "MI", "->", "addOperand", "(", "MachineOperand", "::", "CreateImm", "(", "Pred", "[", "0", "]", ".", "getImm", "(", ")", ")", ")", ";", "MI", "->", "addOperand", "(", "MachineOperand", "::", "CreateReg", "(", "Pred", "[", "1", "]", ".", "getReg", "(", ")", ",", "false", ")", ")", ";", "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", "(", ")", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Convert", "the", "instruction", "into", "a", "predicated", "instruction", "."], "TS_V_token": ["ARM", "ARM", "ARM::B", "ARM::tB", "ARM::B", "ARM::Bcc", "ARM::tBcc", "0", "1", "1", "0", "1", "1"], "File": "ARMInstrInfo31", "Func": "PredicateInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11464, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "loongarch_libcall_value", "(", "machine_mode", "mode", ",", "const_rtx", "fun", "ATTRIBUTE_UNUSED", ")", "{", "return", "loongarch_function_value_1", "(", "NULL_TREE", ",", "NULL_TREE", ",", "mode", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LIBCALL_VALUE", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_libcall_value", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11465, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "shouldOutlineFromFunctionByDefault", "(", "MachineFunction", "&", "MF", ")", "const", "{", "return", "MF", ".", "getFunction", "(", ")", ".", "hasMinSize", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "function", "should", "be", "outlined", "from", "by", "default", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64InstrInfo10", "Func": "shouldOutlineFromFunctionByDefault", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11466, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "X86InstrInfo", "&", "TII", "=", "*", "TM", ".", "getInstrInfo", "(", ")", ";", "const", "X86RegisterInfo", "&", "RegInfo", "=", "*", "TM", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "StackPtr", "=", "RegInfo", ".", "getStackRegister", "(", ")", ";", "bool", "reseveCallFrame", "=", "hasReservedCallFrame", "(", "MF", ")", ";", "int", "Opcode", "=", "I", "->", "getOpcode", "(", ")", ";", "bool", "isDestroy", "=", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ";", "bool", "IsLP64", "=", "STI", ".", "isTarget64BitLP64", "(", ")", ";", "DebugLoc", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "uint64_t", "Amount", "=", "!", "reseveCallFrame", "?", "I", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ":", "0", ";", "uint64_t", "CalleeAmt", "=", "isDestroy", "?", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ":", "0", ";", "I", "=", "MBB", ".", "erase", "(", "I", ")", ";", "if", "(", "!", "reseveCallFrame", ")", "{", "if", "(", "Amount", "==", "0", ")", "return", ";", "unsigned", "StackAlign", "=", "TM", ".", "getFrameLowering", "(", ")", "->", "getStackAlignment", "(", ")", ";", "Amount", "=", "(", "Amount", "+", "StackAlign", "-", "1", ")", "/", "StackAlign", "*", "StackAlign", ";", "MachineInstr", "*", "New", "=", "nullptr", ";", "if", "(", "Opcode", "==", "TII", ".", "getCallFrameSetupOpcode", "(", ")", ")", "{", "New", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "getSUBriOpcode", "(", "IsLP64", ",", "Amount", ")", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ")", ";", "Amount", "-=", "CalleeAmt", ";", "if", "(", "Amount", ")", "{", "unsigned", "Opc", "=", "getADDriOpcode", "(", "IsLP64", ",", "Amount", ")", ";", "New", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "}", "if", "(", "New", ")", "{", "New", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "return", ";", "}", "if", "(", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", "&&", "CalleeAmt", ")", "{", "unsigned", "Opc", "=", "getSUBriOpcode", "(", "IsLP64", ",", "CalleeAmt", ")", ";", "MachineInstr", "*", "New", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "CalleeAmt", ")", ";", "New", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "B", "=", "MBB", ".", "begin", "(", ")", ";", "while", "(", "I", "!=", "B", "&&", "!", "std", "::", "prev", "(", "I", ")", "->", "isCall", "(", ")", ")", "--", "I", ";", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "}", ""], "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", "X86", "X86", "0", "0", "1", "0", "0", "1", "3", "3"], "File": "X86FrameLowering66", "Func": "eliminateCallFramePseudoInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11467, "Length": 435, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "legitimate_constant_p", "(", "rtx", "x", ")", "{", "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", "(", "TARGET_MACHO", "&&", "darwin_local_data_pic", "(", "x", ")", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", ")", "switch", "(", "XINT", "(", "x", ",", "1", ")", ")", "{", "case", "UNSPEC_GOTOFF", ":", "return", "TARGET_64BIT", ";", "case", "UNSPEC_TPOFF", ":", "case", "UNSPEC_NTPOFF", ":", "x", "=", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ";", "return", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", "==", "TLS_MODEL_LOCAL_EXEC", ")", ";", "case", "UNSPEC_DTPOFF", ":", "x", "=", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ";", "return", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", "==", "TLS_MODEL_LOCAL_DYNAMIC", ")", ";", "default", ":", "return", "false", ";", "}", "if", "(", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "SYMBOL_REF", ")", "return", "false", ";", "case", "SYMBOL_REF", ":", "if", "(", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", ")", "return", "false", ";", "break", ";", "default", ":", "break", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Nonzero", "if", "the", "constant", "value", "X", "is", "a", "legitimate", "general", "operand", ".", "It", "is", "given", "that", "X", "satisfies", "CONSTANT_P", "or", "is", "a", "CONST_DOUBLE", "."], "TS_V_token": ["i386", "0", "1", "0", "1", "0", "0", "0", "0"], "File": "i3863", "Func": "legitimate_constant_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11468, "Length": 220, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64InstrInfo", "::", "isCoalescableExtInstr", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "&", "SrcReg", ",", "unsigned", "&", "DstReg", ",", "unsigned", "&", "SubIdx", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "ARM64", "::", "SBFMXri", ":", "case", "ARM64", "::", "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", "=", "ARM64", "::", "sub_32", ";", "return", "true", ";", "}", "}", ""], "natrual_language": ["isCoalescableExtInstr", "-", "Return", "true", "if", "the", "instruction", "is", "a", "``", "coalescable", "''", "extension", "instruction", "."], "TS_V_token": ["ARM64", "ARM64", "ARM64::SBFMXri", "ARM64::UBFMXri", "2", "0", "3", "31", "1", "0", "ARM64::sub_32"], "File": "ARM64InstrInfo", "Func": "isCoalescableExtInstr", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11469, "Length": 116, "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", ")", ";", "}", ""], "natrual_language": ["Try", "to", "add", "a", "symbolic", "operand", "instead", "of", "Value", "to", "the", "MCInst", "."], "TS_V_token": ["Lanai"], "File": "LanaiDisassembler", "Func": "tryAddingSymbolicOperand", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11470, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetTransformInfo", "LanaiTargetMachine", "::", "getTargetTransformInfo", "(", "const", "Function", "&", "F", ")", "{", "return", "TargetTransformInfo", "(", "LanaiTTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetTransformInfo", "implementation", "for", "the", "target", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai"], "File": "LanaiTargetMachine", "Func": "getTargetTransformInfo", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11471, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VEInstrInfo", "::", "expandPostRAPseudo", "(", "MachineInstr", "&", "MI", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "VE", "::", "EXTEND_STACK", ":", "{", "return", "expandExtendStackPseudo", "(", "MI", ")", ";", "}", "case", "VE", "::", "EXTEND_STACK_GUARD", ":", "{", "MI", ".", "eraseFromParent", "(", ")", ";", "return", "true", ";", "}", "case", "VE", "::", "GETSTACKTOP", ":", "{", "return", "expandGetStackTopPseudo", "(", "MI", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["VE", "VE", "VE::EXTEND_STACK", "VE::EXTEND_STACK_GUARD", "VE::GETSTACKTOP"], "File": "VEInstrInfo12", "Func": "expandPostRAPseudo", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11472, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "materializeFrameBaseRegister", "(", "MachineBasicBlock", "*", "MBB", ",", "unsigned", "BaseReg", ",", "int", "FrameIdx", ",", "int64_t", "Offset", ")", "const", "{", "ARMFunctionInfo", "*", "AFI", "=", "MBB", "->", "getParent", "(", ")", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "unsigned", "ADDriOpc", "=", "!", "AFI", "->", "isThumbFunction", "(", ")", "?", "ARM", "::", "ADDri", ":", "(", "AFI", "->", "isThumb1OnlyFunction", "(", ")", "?", "ARM", "::", "tADDrSPi", ":", "ARM", "::", "t2ADDri", ")", ";", "MachineBasicBlock", "::", "iterator", "Ins", "=", "MBB", "->", "begin", "(", ")", ";", "DebugLoc", "DL", ";", "if", "(", "Ins", "!=", "MBB", "->", "end", "(", ")", ")", "DL", "=", "Ins", "->", "getDebugLoc", "(", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", "->", "getParent", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MBB", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "TII", ".", "get", "(", "ADDriOpc", ")", ";", "MRI", ".", "constrainRegClass", "(", "BaseReg", ",", "TII", ".", "getRegClass", "(", "MCID", ",", "0", ",", "this", ",", "MF", ")", ")", ";", "MachineInstrBuilder", "MIB", "=", "AddDefaultPred", "(", "BuildMI", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "MCID", ",", "BaseReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "Offset", ")", ")", ";", "if", "(", "!", "AFI", "->", "isThumb1OnlyFunction", "(", ")", ")", "AddDefaultCC", "(", "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", "0"], "File": "ARMBaseRegisterInfo37", "Func": "materializeFrameBaseRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11473, "Length": 218, "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": 11474, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "MCP", "=", "MF", ".", "getConstantPool", "(", ")", ";", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "if", "(", "Subtarget", "->", "isTargetNaCl", "(", ")", ")", "{", "NaClAlignAllJumpTargetsAndConstantPools", "(", "MF", ")", ";", "}", "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", "(", ")", ";", "}", "EmitFunctionBody", "(", ")", ";", "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", "1", "0", "ARM::tBX", "ARMCC::AL", "0"], "File": "ARMAsmPrinter22", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11475, "Length": 244, "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", "::", "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::CR2", "PPC::CR3", "PPC::CR4", "PPC::CR2", "PPC::CR4", "PPC", "\"loadRegFromStackSlot didn't insert any code!\"", "PPC"], "File": "PPCFrameLowering1", "Func": "restoreCalleeSavedRegisters", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11476, "Length": 408, "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", "TargetRegisterInfo", "*", "TRI", "=", "MF", "->", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "if", "(", "!", "ExtraCode", ")", "ExtraCode", "=", "\"\"", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "default", ":", "if", "(", "!", "AsmPrinter", "::", "PrintAsmOperand", "(", "MI", ",", "OpNum", ",", "AsmVariant", ",", "ExtraCode", ",", "O", ")", ")", "return", "false", ";", "break", ";", "case", "'w'", ":", "if", "(", "!", "printModifiedGPRAsmOperand", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ",", "TRI", ",", "AArch64", "::", "GPR32RegClass", ",", "O", ")", ")", "return", "false", ";", "break", ";", "case", "'x'", ":", "if", "(", "!", "printModifiedGPRAsmOperand", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ",", "TRI", ",", "AArch64", "::", "GPR64RegClass", ",", "O", ")", ")", "return", "false", ";", "break", ";", "case", "'H'", ":", "case", "'Q'", ":", "case", "'R'", ":", "llvm_unreachable", "(", "\"FIXME: Unimplemented register pairs\"", ")", ";", "case", "'b'", ":", "case", "'h'", ":", "case", "'s'", ":", "case", "'d'", ":", "case", "'q'", ":", "if", "(", "!", "printModifiedFPRAsmOperand", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ",", "TRI", ",", "ExtraCode", "[", "0", "]", ",", "O", ")", ")", "return", "false", ";", "break", ";", "case", "'A'", ":", "if", "(", "!", "printSymbolicAddress", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ",", "false", ",", "\"\"", ",", "O", ")", ")", "return", "false", ";", "break", ";", "case", "'L'", ":", "if", "(", "!", "printSymbolicAddress", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ",", "true", ",", "\"lo12\"", ",", "O", ")", ")", "return", "false", ";", "break", ";", "case", "'G'", ":", "if", "(", "!", "printSymbolicAddress", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ",", "true", ",", "\"hi12\"", ",", "O", ")", ")", "return", "false", ";", "break", ";", "case", "'a'", ":", "return", "PrintAsmMemoryOperand", "(", "MI", ",", "OpNum", ",", "AsmVariant", ",", "ExtraCode", ",", "O", ")", ";", "}", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected operand for inline assembly\"", ")", ";", "case", "MachineOperand", "::", "MO_Register", ":", "if", "(", "printModifiedFPRAsmOperand", "(", "MO", ",", "TRI", ",", "'v'", ",", "O", ")", ")", "O", "<<", "AArch64InstPrinter", "::", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "O", "<<", "'#'", "<<", "MO", ".", "getImm", "(", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_FPImmediate", ":", "assert", "(", "MO", ".", "getFPImm", "(", ")", "->", "isExactlyValue", "(", "0.0", ")", "&&", "\"Only FP 0.0 expected\"", ")", ";", "O", "<<", "\"#0.0\"", ";", "break", ";", "case", "MachineOperand", "::", "MO_BlockAddress", ":", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "return", "printSymbolicAddress", "(", "MO", ",", "false", ",", "\"\"", ",", "O", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["AArch64", "AArch64", "\"\"", "0", "AArch64::GPR32RegClass", "AArch64::GPR64RegClass", "\"FIXME: Unimplemented register pairs\"", "0", "\"\"", "\"lo12\"", "\"hi12\"", "\"Unexpected operand for inline assembly\"", "AArch64", "0.0", "\"Only FP 0.0 expected\"", "\"#0.0\"", "\"\""], "File": "AArch64AsmPrinter20", "Func": "PrintAsmOperand", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11477, "Length": 433, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_hard_regno_call_part_clobbered", "(", "unsigned", "int", "abi_id", ",", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "FP_REGNUM_P", "(", "regno", ")", "&&", "abi_id", "!=", "ARM_PCS_SVE", ")", "{", "poly_int64", "per_register_size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "unsigned", "int", "nregs", "=", "hard_regno_nregs", "(", "regno", ",", "mode", ")", ";", "if", "(", "nregs", ">", "1", ")", "per_register_size", "=", "exact_div", "(", "per_register_size", ",", "nregs", ")", ";", "if", "(", "abi_id", "==", "ARM_PCS_SIMD", "||", "abi_id", "==", "ARM_PCS_TLSDESC", ")", "return", "maybe_gt", "(", "per_register_size", ",", "16", ")", ";", "return", "maybe_gt", "(", "per_register_size", ",", "8", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_CALL_PART_CLOBBERED", ".", "The", "callee", "only", "saves", "the", "lower", "64", "bits", "of", "a", "128-bit", "register", ".", "Tell", "the", "compiler", "the", "callee", "clobbers", "the", "top", "64", "bits", "when", "restoring", "the", "bottom", "64", "bits", "."], "TS_V_token": ["aarch64", "1", "16", "8"], "File": "aarch64", "Func": "aarch64_hard_regno_call_part_clobbered", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11478, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_noce_conversion_profitable_p", "(", "rtx_insn", "*", "seq", ",", "struct", "noce_if_info", "*", "if_info", ")", "{", "if", "(", "TARGET_ONE_IF_CONV_INSN", "&&", "if_info", "->", "speed_p", ")", "{", "int", "cmov_cnt", "=", "0", ";", "for", "(", "rtx_insn", "*", "insn", "=", "seq", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "rtx", "set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "!", "set", ")", "continue", ";", "if", "(", "GET_CODE", "(", "SET_SRC", "(", "set", ")", ")", "!=", "IF_THEN_ELSE", ")", "continue", ";", "rtx", "src", "=", "SET_SRC", "(", "set", ")", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "src", ")", ";", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_INT", "&&", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_FLOAT", ")", "continue", ";", "if", "(", "(", "!", "REG_P", "(", "XEXP", "(", "src", ",", "1", ")", ")", "&&", "!", "MEM_P", "(", "XEXP", "(", "src", ",", "1", ")", ")", ")", "||", "(", "!", "REG_P", "(", "XEXP", "(", "src", ",", "2", ")", ")", "&&", "!", "MEM_P", "(", "XEXP", "(", "src", ",", "2", ")", ")", ")", ")", "continue", ";", "if", "(", "++", "cmov_cnt", ">", "1", ")", "return", "false", ";", "}", "}", "return", "default_noce_conversion_profitable_p", "(", "seq", ",", "if_info", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "SEQ", "is", "a", "good", "candidate", "as", "a", "replacement", "for", "the", "if-convertible", "sequence", "described", "in", "IF_INFO", "."], "TS_V_token": ["i386", "0", "1", "1", "2", "2", "1"], "File": "i386", "Func": "ix86_noce_conversion_profitable_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11479, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sparc_delegitimize_address", "(", "rtx", "x", ")", "{", "x", "=", "delegitimize_mem_from_attrs", "(", "x", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "LO_SUM", ")", "x", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", ")", "switch", "(", "XINT", "(", "x", ",", "1", ")", ")", "{", "case", "UNSPEC_MOVE_PIC", ":", "case", "UNSPEC_TLSLE", ":", "x", "=", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", ")", ";", "break", ";", "case", "UNSPEC_MOVE_GOTDATA", ":", "x", "=", "XVECEXP", "(", "x", ",", "0", ",", "2", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", ")", ";", "break", ";", "default", ":", "break", ";", "}", "if", "(", "GET_CODE", "(", "x", ")", "==", "MINUS", "&&", "(", "XEXP", "(", "x", ",", "0", ")", "==", "got_register_rtx", "||", "sparc_pic_register_p", "(", "XEXP", "(", "x", ",", "0", ")", ")", ")", ")", "{", "rtx", "y", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "y", ")", "==", "LO_SUM", ")", "y", "=", "XEXP", "(", "y", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "y", ")", "==", "UNSPEC", "&&", "XINT", "(", "y", ",", "1", ")", "==", "UNSPEC_MOVE_PIC_LABEL", ")", "{", "x", "=", "XVECEXP", "(", "y", ",", "0", ",", "0", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", "||", "(", "GET_CODE", "(", "x", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ")", "==", "LABEL_REF", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "1", ")", ")", "==", "CONST_INT", ")", ")", ";", "}", "}", "return", "x", ";", "}", ""], "natrual_language": ["Delegitimize", "an", "address", "that", "was", "legitimized", "by", "the", "above", "function", "."], "TS_V_token": ["sparc", "1", "1", "0", "0", "0", "2", "0", "0", "1", "1", "1", "0", "0", "0", "0", "0", "0", "1"], "File": "sparc", "Func": "sparc_delegitimize_address", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11480, "Length": 272, "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", ")", ">=", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", "&&", "\"Stack slot too small for store\"", ")", ";", "unsigned", "Alignment", "=", "std", "::", "max", "<", "uint32_t", ">", "(", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", ",", "16", ")", ";", "bool", "isAligned", "=", "(", "Subtarget", ".", "getFrameLowering", "(", ")", "->", "getStackAlignment", "(", ")", ">=", "Alignment", ")", "||", "RI", ".", "canRealignStack", "(", "MF", ")", ";", "unsigned", "Opc", "=", "getStoreRegOpcode", "(", "SrcReg", ",", "RC", ",", "isAligned", ",", "Subtarget", ")", ";", "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\"", "16"], "File": "X86InstrInfo", "Func": "storeRegToStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11481, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "reg_offset_addressing_ok_p", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_V16QImode", ":", "case", "E_V8HImode", ":", "case", "E_V4SFmode", ":", "case", "E_V4SImode", ":", "case", "E_V2DFmode", ":", "case", "E_V2DImode", ":", "case", "E_V1TImode", ":", "case", "E_TImode", ":", "case", "E_TFmode", ":", "case", "E_KFmode", ":", "if", "(", "VECTOR_MEM_ALTIVEC_OR_VSX_P", "(", "mode", ")", ")", "return", "mode_supports_vsx_dform_quad", "(", "mode", ")", ";", "break", ";", "case", "E_V2SImode", ":", "case", "E_V2SFmode", ":", "if", "(", "TARGET_PAIRED_FLOAT", ")", "return", "false", ";", "break", ";", "case", "E_SDmode", ":", "if", "(", "TARGET_NO_SDMODE_STACK", ")", "return", "false", ";", "break", ";", "default", ":", "break", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Subroutines", "of", "rs6000_legitimize_address", "and", "rs6000_legitimate_address_p", "."], "TS_V_token": ["rs6000"], "File": "rs60007", "Func": "reg_offset_addressing_ok_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11482, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_simd_vector_alignment_reachable", "(", "const_tree", "type", ",", "bool", "is_packed", ")", "{", "if", "(", "is_packed", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "TYPE_SIZE", "(", "type", ")", ")", "==", "INTEGER_CST", "&&", "(", "wi", "::", "to_widest", "(", "TYPE_SIZE", "(", "type", ")", ")", "!=", "aarch64_vectorize_preferred_vector_alignment", "(", "type", ")", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "target", "hook", "TARGET_VECTORIZE_VECTOR_ALIGNMENT_REACHABLE", "."], "TS_V_token": ["aarch64"], "File": "aarch645", "Func": "aarch64_simd_vector_alignment_reachable", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11483, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mems_ok_for_quad_peep", "(", "rtx", "mem1", ",", "rtx", "mem2", ")", "{", "rtx", "addr1", ",", "addr2", ";", "unsigned", "int", "reg1", ",", "reg2", ";", "int", "offset1", ",", "offset2", ";", "if", "(", "MEM_VOLATILE_P", "(", "mem1", ")", "||", "MEM_VOLATILE_P", "(", "mem2", ")", ")", "return", "0", ";", "addr1", "=", "XEXP", "(", "mem1", ",", "0", ")", ";", "addr2", "=", "XEXP", "(", "mem2", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "addr1", ")", "==", "PLUS", ")", "{", "if", "(", "GET_CODE", "(", "XEXP", "(", "addr1", ",", "0", ")", ")", "!=", "REG", ")", "return", "0", ";", "else", "{", "reg1", "=", "REGNO", "(", "XEXP", "(", "addr1", ",", "0", ")", ")", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "addr1", ",", "1", ")", ")", "!=", "CONST_INT", ")", "return", "0", ";", "offset1", "=", "INTVAL", "(", "XEXP", "(", "addr1", ",", "1", ")", ")", ";", "}", "}", "else", "if", "(", "GET_CODE", "(", "addr1", ")", "!=", "REG", ")", "return", "0", ";", "else", "{", "reg1", "=", "REGNO", "(", "addr1", ")", ";", "offset1", "=", "0", ";", "}", "if", "(", "GET_CODE", "(", "addr2", ")", "==", "PLUS", ")", "{", "if", "(", "GET_CODE", "(", "XEXP", "(", "addr2", ",", "0", ")", ")", "!=", "REG", ")", "return", "0", ";", "else", "{", "reg2", "=", "REGNO", "(", "XEXP", "(", "addr2", ",", "0", ")", ")", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "addr2", ",", "1", ")", ")", "!=", "CONST_INT", ")", "return", "0", ";", "offset2", "=", "INTVAL", "(", "XEXP", "(", "addr2", ",", "1", ")", ")", ";", "}", "}", "else", "if", "(", "GET_CODE", "(", "addr2", ")", "!=", "REG", ")", "return", "0", ";", "else", "{", "reg2", "=", "REGNO", "(", "addr2", ")", ";", "offset2", "=", "0", ";", "}", "if", "(", "reg1", "!=", "reg2", ")", "return", "0", ";", "if", "(", "offset2", "!=", "offset1", "+", "8", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "1", "if", "addr1", "and", "addr2", "are", "suitable", "for", "lfq", "or", "stfq", "insn", ".", "addr1", "and", "addr2", "must", "be", "in", "consecutive", "memory", "locations", "(", "addr2", "==", "addr1", "+", "8", ")", "."], "TS_V_token": ["powerpcspe", "0", "0", "0", "0", "0", "0", "1", "0", "1", "0", "0", "0", "0", "0", "1", "0", "1", "0", "0", "0", "8", "0", "1"], "File": "powerpcspe", "Func": "mems_ok_for_quad_peep", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11484, "Length": 281, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64TargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "EVT", "VT", ")", "const", "{", "unsigned", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "\"sp\"", ",", "AArch64", "::", "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": ["AArch64", "AArch64", "\"sp\"", "AArch64::SP", "0", "\"Invalid register name \\\"\"", "\"\\\".\""], "File": "AArch64ISelLowering116", "Func": "getRegisterByName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11485, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getReg", "(", ")", "const", "override", "{", "assert", "(", "Kind", "==", "k_Register", "&&", "\"Invalid access!\"", ")", ";", "return", "Reg", ".", "RegNum", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["AArch64", "\"Invalid access!\""], "File": "AArch64AsmParser (2)1", "Func": "getReg", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11486, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCMCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "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", ")", ";", "unsigned", "OpNo", "=", "getOpIdxForMO", "(", "MI", ",", "MO", ")", ";", "unsigned", "Reg", "=", "PPCInstrInfo", "::", "getRegNumForOperand", "(", "MCII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ",", "MO", ".", "getReg", "(", ")", ",", "OpNo", ")", ";", "return", "CTX", ".", "getRegisterInfo", "(", ")", "->", "getEncodingValue", "(", "Reg", ")", ";", "}", "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", "PPC", "\"Relocation required in an instruction that we cannot encode!\""], "File": "PPCMCCodeEmitter44", "Func": "getMachineOpValue", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11487, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "X86TargetLowering", "::", "getSqrtEstimate", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ",", "int", "Enabled", ",", "int", "&", "RefinementSteps", ",", "bool", "&", "UseOneConstNR", ",", "bool", "Reciprocal", ")", "const", "{", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "if", "(", "(", "VT", "==", "MVT", "::", "f32", "&&", "Subtarget", ".", "hasSSE1", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "v4f32", "&&", "Subtarget", ".", "hasSSE1", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "v8f32", "&&", "Subtarget", ".", "hasAVX", "(", ")", ")", ")", "{", "if", "(", "RefinementSteps", "==", "ReciprocalEstimate", "::", "Unspecified", ")", "RefinementSteps", "=", "1", ";", "UseOneConstNR", "=", "false", ";", "return", "DAG", ".", "getNode", "(", "X86ISD", "::", "FRSQRT", ",", "SDLoc", "(", "Op", ")", ",", "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::v8f32", "1", "X86ISD::FRSQRT"], "File": "X86ISelLowering115", "Func": "getSqrtEstimate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11488, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_swrsqrt", "(", "rtx", "dst", ",", "rtx", "src", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "src", ")", ";", "rtx", "x0", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rtx", "y", "=", "gen_reg_rtx", "(", "mode", ")", ";", "int", "passes", "=", "(", "TARGET_RECIP_PRECISION", ")", "?", "1", ":", "3", ";", "if", "(", "mode", "==", "DFmode", "||", "mode", "==", "V2DFmode", ")", "passes", "++", ";", "REAL_VALUE_TYPE", "dconst3_2", ";", "int", "i", ";", "rtx", "halfthree", ";", "enum", "insn_code", "code", "=", "optab_handler", "(", "smul_optab", ",", "mode", ")", ";", "insn_gen_fn", "gen_mul", "=", "GEN_FCN", "(", "code", ")", ";", "gcc_assert", "(", "code", "!=", "CODE_FOR_nothing", ")", ";", "real_from_integer", "(", "&", "dconst3_2", ",", "VOIDmode", ",", "3", ",", "SIGNED", ")", ";", "SET_REAL_EXP", "(", "&", "dconst3_2", ",", "REAL_EXP", "(", "&", "dconst3_2", ")", "-", "1", ")", ";", "halfthree", "=", "rs6000_load_constant_and_splat", "(", "mode", ",", "dconst3_2", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "x0", ",", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "1", ",", "src", ")", ",", "UNSPEC_RSQRT", ")", ")", ")", ";", "rs6000_emit_msub", "(", "y", ",", "src", ",", "halfthree", ",", "src", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "passes", ";", "i", "++", ")", "{", "rtx", "x1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rtx", "u", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rtx", "v", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_mul", "(", "u", ",", "x0", ",", "x0", ")", ")", ";", "rs6000_emit_nmsub", "(", "v", ",", "y", ",", "u", ",", "halfthree", ")", ";", "emit_insn", "(", "gen_mul", "(", "x1", ",", "x0", ",", "v", ")", ")", ";", "x0", "=", "x1", ";", "}", "emit_move_insn", "(", "dst", ",", "x0", ")", ";", "return", ";", "}", ""], "natrual_language": ["Newton-Raphson", "approximation", "of", "single/double-precision", "floating", "point", "rsqrt", ".", "Assumes", "no", "trapping", "math", "and", "finite", "arguments", "."], "TS_V_token": ["rs6000", "1", "3", "3", "1", "1", "0"], "File": "rs60004", "Func": "rs6000_emit_swrsqrt", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11489, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isProfitableToDupForIfCvt", "(", "MachineBasicBlock", "&", "MBB", ",", "unsigned", "NumCycles", ",", "const", "BranchProbability", "&", "Probability", ")", "const", "override", "{", "return", "NumCycles", "==", "1", ";", "}", ""], "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": ["ARM", "1"], "File": "ARMBaseInstrInfo", "Func": "isProfitableToDupForIfCvt", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11490, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsMCCodeEmitter", "::", "isMicroMips", "(", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "return", "STI", ".", "getFeatureBits", "(", ")", "&", "Mips", "::", "FeatureMicroMips", ";", "}", ""], "natrual_language": ["Check", "whether", "a", "given", "symbol", "has", "been", "flagged", "with", "MICROMIPS", "flag", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips::FeatureMicroMips"], "File": "MipsMCCodeEmitter2", "Func": "isMicroMips", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11491, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "rs6000_output_load_multiple", "(", "rtx", "operands", "[", "3", "]", ")", "{", "int", "i", ",", "j", ";", "int", "words", "=", "XVECLEN", "(", "operands", "[", "0", "]", ",", "0", ")", ";", "rtx", "xop", "[", "10", "]", ";", "if", "(", "XVECLEN", "(", "operands", "[", "0", "]", ",", "0", ")", "==", "1", ")", "return", "\"lwz %2,0(%1)\"", ";", "for", "(", "i", "=", "0", ";", "i", "<", "words", ";", "i", "++", ")", "if", "(", "refers_to_regno_p", "(", "REGNO", "(", "operands", "[", "2", "]", ")", "+", "i", ",", "operands", "[", "1", "]", ")", ")", "{", "if", "(", "i", "==", "words", "-", "1", ")", "{", "xop", "[", "0", "]", "=", "GEN_INT", "(", "4", "*", "(", "words", "-", "1", ")", ")", ";", "xop", "[", "1", "]", "=", "operands", "[", "1", "]", ";", "xop", "[", "2", "]", "=", "operands", "[", "2", "]", ";", "output_asm_insn", "(", "\"lswi %2,%1,%0\\n\\tlwz %1,%0(%1)\"", ",", "xop", ")", ";", "return", "\"\"", ";", "}", "else", "if", "(", "i", "==", "0", ")", "{", "xop", "[", "0", "]", "=", "GEN_INT", "(", "4", "*", "(", "words", "-", "1", ")", ")", ";", "xop", "[", "1", "]", "=", "operands", "[", "1", "]", ";", "xop", "[", "2", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "REGNO", "(", "operands", "[", "2", "]", ")", "+", "1", ")", ";", "output_asm_insn", "(", "\"addi %1,%1,4\\n\\tlswi %2,%1,%0\\n\\tlwz %1,-4(%1)\"", ",", "xop", ")", ";", "return", "\"\"", ";", "}", "else", "{", "for", "(", "j", "=", "0", ";", "j", "<", "words", ";", "j", "++", ")", "if", "(", "j", "!=", "i", ")", "{", "xop", "[", "0", "]", "=", "GEN_INT", "(", "j", "*", "4", ")", ";", "xop", "[", "1", "]", "=", "operands", "[", "1", "]", ";", "xop", "[", "2", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "REGNO", "(", "operands", "[", "2", "]", ")", "+", "j", ")", ";", "output_asm_insn", "(", "\"lwz %2,%0(%1)\"", ",", "xop", ")", ";", "}", "xop", "[", "0", "]", "=", "GEN_INT", "(", "i", "*", "4", ")", ";", "xop", "[", "1", "]", "=", "operands", "[", "1", "]", ";", "output_asm_insn", "(", "\"lwz %1,%0(%1)\"", ",", "xop", ")", ";", "return", "\"\"", ";", "}", "}", "return", "\"lswi %2,%1,%N0\"", ";", "}", ""], "natrual_language": ["Return", "a", "string", "to", "perform", "a", "load_multiple", "operation", ".", "operands", "[", "0", "]", "is", "the", "vector", ".", "operands", "[", "1", "]", "is", "the", "source", "address", ".", "operands", "[", "2", "]", "is", "the", "first", "destination", "register", "."], "TS_V_token": ["powerpcspe", "3", "0", "0", "10", "0", "0", "1", "\"lwz %2,0(%1)\"", "0", "2", "1", "1", "0", "4", "1", "1", "1", "2", "2", "\"lswi %2,%1,%0\\n\\tlwz %1,%0(%1)\"", "\"\"", "0", "0", "4", "1", "1", "1", "2", "2", "1", "\"addi %1,%1,4\\n\\tlswi %2,%1,%0\\n\\tlwz %1,-4(%1)\"", "\"\"", "0", "0", "4", "1", "1", "2", "2", "\"lwz %2,%0(%1)\"", "0", "4", "1", "1", "\"lwz %1,%0(%1)\"", "\"\"", "\"lswi %2,%1,%N0\""], "File": "powerpcspe", "Func": "rs6000_output_load_multiple", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11492, "Length": 318, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "ForCodeSize", "=", "MF", ".", "getFunction", "(", ")", ".", "hasOptSize", "(", ")", ";", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ";", "return", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ISelDAGToDAG16", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11493, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isIncomingArgumentHandler", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "handler", "is", "dealing", "with", "incoming", "arguments", ",", "i.e", "."], "TS_V_token": ["ARM"], "File": "ARMCallLowering", "Func": "isIncomingArgumentHandler", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11494, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZLDCleanup", "::", "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": ["SystemZ", "SystemZ"], "File": "SystemZLDCleanup (2)1", "Func": "getAnalysisUsage", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11495, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_sim_wait_insn", "(", "struct", "mips_sim", "*", "state", ",", "rtx", "insn", ")", "{", "mips_sim_wait_regs", "(", "state", ",", "insn", ")", ";", "mips_sim_wait_units", "(", "state", ",", "insn", ")", ";", "}", ""], "natrual_language": ["Advance", "simulation", "state", "STATE", "until", "INSN", "is", "ready", "to", "issue", "."], "TS_V_token": ["mips"], "File": "mips3", "Func": "mips_sim_wait_insn", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11496, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintWeight", "AArch64TargetLowering", "::", "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", "'x'", ":", "case", "'w'", ":", "case", "'y'", ":", "if", "(", "type", "->", "isFloatingPointTy", "(", ")", "||", "type", "->", "isVectorTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'z'", ":", "weight", "=", "CW_Constant", ";", "break", ";", "}", "return", "weight", ";", "}", ""], "natrual_language": ["Examine", "constraint", "string", "and", "operand", "type", "and", "determine", "a", "weight", "value", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ISelLowering104", "Func": "getSingleConstraintMatchWeight", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11497, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsMCCodeEmitter", "::", "getBranchTarget21OpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ">>", "2", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"getBranchTarget21OpValue expects only expressions or immediates\"", ")", ";", "const", "MCExpr", "*", "FixupExpression", "=", "MCBinaryExpr", "::", "createAdd", "(", "MO", ".", "getExpr", "(", ")", ",", "MCConstantExpr", "::", "create", "(", "-", "4", ",", "Ctx", ")", ",", "Ctx", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "FixupExpression", ",", "MCFixupKind", "(", "Mips", "::", "fixup_MIPS_PC21_S2", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTarget21OpValue", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "."], "TS_V_token": ["Mips", "Mips", "2", "\"getBranchTarget21OpValue expects only expressions or immediates\"", "4", "0", "Mips::fixup_MIPS_PC21_S2", "0"], "File": "MipsMCCodeEmitter (2)", "Func": "getBranchTarget21OpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11498, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMRegisterInfo", "::", "getRARegister", "(", ")", "const", "{", "return", "ARM", "::", "LR", ";", "}", ""], "natrual_language": ["This", "method", "should", "return", "the", "register", "where", "the", "return", "address", "can", "be", "found", "."], "TS_V_token": ["ARM", "ARM", "ARM::LR"], "File": "ARMRegisterInfo13", "Func": "getRARegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11499, "Length": 14, "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", "(", ")", ";", "Register", "FramePtr", "=", "TRI", "->", "getFrameRegister", "(", "MF", ")", ";", "Register", "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": "X86FrameLowering117", "Func": "restoreWin32EHStackPointers", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11500, "Length": 415, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_small_register_classes_for_mode_p", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "return", "TARGET_THUMB1", ";", "}", ""], "natrual_language": ["Implements", "target", "hook", "small_register_classes_for_mode_p", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_small_register_classes_for_mode_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11501, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "fusion_wrap_memory_address", "(", "rtx", "old_mem", ")", "{", "rtx", "old_addr", "=", "XEXP", "(", "old_mem", ",", "0", ")", ";", "rtvec", "v", "=", "gen_rtvec", "(", "1", ",", "old_addr", ")", ";", "rtx", "new_addr", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "v", ",", "UNSPEC_FUSION_ADDIS", ")", ";", "return", "replace_equiv_address_nv", "(", "old_mem", ",", "new_addr", ",", "false", ")", ";", "}", ""], "natrual_language": ["Wrap", "a", "TOC", "address", "that", "can", "be", "fused", "to", "indicate", "that", "special", "fusion", "processing", "is", "needed", "."], "TS_V_token": ["rs6000", "0", "1"], "File": "rs60005", "Func": "fusion_wrap_memory_address", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11502, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "IsDesirableToPromoteOp", "(", "SDValue", "Op", ",", "EVT", "&", "PVT", ")", "const", "{", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "if", "(", "VT", "!=", "MVT", "::", "i16", ")", "return", "false", ";", "bool", "Promote", "=", "false", ";", "bool", "Commute", "=", "false", ";", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "case", "ISD", "::", "ZERO_EXTEND", ":", "case", "ISD", "::", "ANY_EXTEND", ":", "Promote", "=", "true", ";", "break", ";", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRL", ":", "{", "SDValue", "N0", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "if", "(", "MayFoldLoad", "(", "N0", ")", "&&", "MayFoldIntoStore", "(", "Op", ")", ")", "return", "false", ";", "Promote", "=", "true", ";", "break", ";", "}", "case", "ISD", "::", "ADD", ":", "case", "ISD", "::", "MUL", ":", "case", "ISD", "::", "AND", ":", "case", "ISD", "::", "OR", ":", "case", "ISD", "::", "XOR", ":", "Commute", "=", "true", ";", "LLVM_FALLTHROUGH", ";", "case", "ISD", "::", "SUB", ":", "{", "SDValue", "N0", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "SDValue", "N1", "=", "Op", ".", "getOperand", "(", "1", ")", ";", "if", "(", "!", "Commute", "&&", "MayFoldLoad", "(", "N1", ")", ")", "return", "false", ";", "if", "(", "MayFoldLoad", "(", "N0", ")", "&&", "(", "!", "isa", "<", "ConstantSDNode", ">", "(", "N1", ")", "||", "MayFoldIntoStore", "(", "Op", ")", ")", ")", "return", "false", ";", "if", "(", "MayFoldLoad", "(", "N1", ")", "&&", "(", "!", "isa", "<", "ConstantSDNode", ">", "(", "N0", ")", "||", "MayFoldIntoStore", "(", "Op", ")", ")", ")", "return", "false", ";", "Promote", "=", "true", ";", "}", "}", "PVT", "=", "MVT", "::", "i32", ";", "return", "Promote", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "has", "native", "support", "for", "the", "specified", "value", "type", "and", "it", "is", "'desirable", "'", "to", "use", "the", "type", "."], "TS_V_token": ["X86", "X86", "MVT::i16", "ISD::SIGN_EXTEND", "ISD::ZERO_EXTEND", "ISD::ANY_EXTEND", "ISD::SHL", "ISD::SRL", "0", "ISD::ADD", "ISD::MUL", "ISD::AND", "ISD::OR", "ISD::XOR", "ISD::SUB", "0", "1", "MVT::i32"], "File": "X86ISelLowering102", "Func": "IsDesirableToPromoteOp", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11503, "Length": 259, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "optimization_options", "(", "int", "level", "ATTRIBUTE_UNUSED", ",", "int", "size", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "DEFAULT_ABI", "==", "ABI_DARWIN", ")", "flag_errno_math", "=", "0", ";", "set_param_value", "(", "\"max-grow-copy-bb-insns\"", ",", "16", ")", ";", "}", ""], "natrual_language": ["Change", "optimizations", "to", "be", "performed", ",", "depending", "on", "the", "optimization", "level", ".", "LEVEL", "is", "the", "optimization", "level", "specified", ";", "2", "if", "`", "-O2", "'", "is", "specified", ",", "1", "if", "`", "-O", "'", "is", "specified", ",", "and", "0", "if", "neither", "is", "specified", ".", "SIZE", "is", "nonzero", "if", "`", "-Os", "'", "is", "specified", "and", "zero", "otherwise", "."], "TS_V_token": ["rs6000", "0", "\"max-grow-copy-bb-insns\"", "16"], "File": "rs60003", "Func": "optimization_options", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11504, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_address_register_rtx_p", "(", "rtx", "x", ",", "int", "strict_p", ")", "{", "int", "regno", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "REG", ")", "return", "0", ";", "regno", "=", "REGNO", "(", "x", ")", ";", "if", "(", "strict_p", ")", "return", "ARM_REGNO_OK_FOR_BASE_P", "(", "regno", ")", ";", "return", "(", "regno", "<=", "LAST_ARM_REGNUM", "||", "regno", ">=", "FIRST_PSEUDO_REGISTER", "||", "regno", "==", "FRAME_POINTER_REGNUM", "||", "regno", "==", "ARG_POINTER_REGNUM", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "X", "is", "valid", "as", "an", "ARM", "state", "addressing", "register", "."], "TS_V_token": ["arm", "0"], "File": "arm3", "Func": "arm_address_register_rtx_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11505, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CSKYInstrInfo", "::", "reverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "assert", "(", "(", "Cond", ".", "size", "(", ")", "==", "2", ")", "&&", "\"Invalid branch condition!\"", ")", ";", "Cond", "[", "0", "]", ".", "setImm", "(", "getOppositeBranchOpc", "(", "Cond", "[", "0", "]", ".", "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": ["CSKY", "CSKY", "2", "\"Invalid branch condition!\"", "0", "0"], "File": "CSKYInstrInfo1", "Func": "reverseBranchCondition", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11506, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "ix86_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", ")", "{", "unsigned", "*", "cost", "=", "(", "unsigned", "*", ")", "data", ";", "unsigned", "retval", "=", "0", ";", "tree", "vectype", "=", "stmt_info", "?", "stmt_vectype", "(", "stmt_info", ")", ":", "NULL_TREE", ";", "int", "stmt_cost", "=", "ix86_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", ")", ";", "if", "(", "TARGET_SILVERMONT", "||", "TARGET_INTEL", ")", "if", "(", "stmt_info", "&&", "stmt_info", "->", "stmt", ")", "{", "tree", "lhs_op", "=", "gimple_get_lhs", "(", "stmt_info", "->", "stmt", ")", ";", "if", "(", "lhs_op", "&&", "TREE_CODE", "(", "TREE_TYPE", "(", "lhs_op", ")", ")", "==", "INTEGER_TYPE", ")", "retval", "=", "(", "retval", "*", "17", ")", "/", "10", ";", "}", "cost", "[", "where", "]", "+=", "retval", ";", "return", "retval", ";", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.add_stmt_cost", "."], "TS_V_token": ["i386", "0", "50", "17", "10"], "File": "i3864", "Func": "ix86_add_stmt_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11507, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "AArch64", "::", "FP", ":", "AArch64", "::", "SP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::FP", "AArch64::SP"], "File": "AArch64RegisterInfo34", "Func": "getFrameRegister", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11508, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "combineRepeatedFPDivisors", "(", "unsigned", "NumUsers", ")", "const", "{", "return", "NumUsers", ">", "2", ";", "}", ""], "natrual_language": ["Indicate", "whether", "this", "target", "prefers", "to", "combine", "FDIVs", "with", "the", "same", "divisor", "."], "TS_V_token": ["AArch64", "AArch64", "2"], "File": "AArch64ISelLowering116", "Func": "combineRepeatedFPDivisors", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11509, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PPC", "::", "Predicate", "PPC", "::", "getSwappedPredicate", "(", "PPC", "::", "Predicate", "Opcode", ")", "{", "switch", "(", "Opcode", ")", "{", "case", "PPC", "::", "PRED_EQ", ":", "return", "PPC", "::", "PRED_EQ", ";", "case", "PPC", "::", "PRED_NE", ":", "return", "PPC", "::", "PRED_NE", ";", "case", "PPC", "::", "PRED_LT", ":", "return", "PPC", "::", "PRED_GT", ";", "case", "PPC", "::", "PRED_GE", ":", "return", "PPC", "::", "PRED_LE", ";", "case", "PPC", "::", "PRED_GT", ":", "return", "PPC", "::", "PRED_LT", ";", "case", "PPC", "::", "PRED_LE", ":", "return", "PPC", "::", "PRED_GE", ";", "case", "PPC", "::", "PRED_NU", ":", "return", "PPC", "::", "PRED_NU", ";", "case", "PPC", "::", "PRED_UN", ":", "return", "PPC", "::", "PRED_UN", ";", "case", "PPC", "::", "PRED_EQ_MINUS", ":", "return", "PPC", "::", "PRED_EQ_MINUS", ";", "case", "PPC", "::", "PRED_NE_MINUS", ":", "return", "PPC", "::", "PRED_NE_MINUS", ";", "case", "PPC", "::", "PRED_LT_MINUS", ":", "return", "PPC", "::", "PRED_GT_MINUS", ";", "case", "PPC", "::", "PRED_GE_MINUS", ":", "return", "PPC", "::", "PRED_LE_MINUS", ";", "case", "PPC", "::", "PRED_GT_MINUS", ":", "return", "PPC", "::", "PRED_LT_MINUS", ";", "case", "PPC", "::", "PRED_LE_MINUS", ":", "return", "PPC", "::", "PRED_GE_MINUS", ";", "case", "PPC", "::", "PRED_NU_MINUS", ":", "return", "PPC", "::", "PRED_NU_MINUS", ";", "case", "PPC", "::", "PRED_UN_MINUS", ":", "return", "PPC", "::", "PRED_UN_MINUS", ";", "case", "PPC", "::", "PRED_EQ_PLUS", ":", "return", "PPC", "::", "PRED_EQ_PLUS", ";", "case", "PPC", "::", "PRED_NE_PLUS", ":", "return", "PPC", "::", "PRED_NE_PLUS", ";", "case", "PPC", "::", "PRED_LT_PLUS", ":", "return", "PPC", "::", "PRED_GT_PLUS", ";", "case", "PPC", "::", "PRED_GE_PLUS", ":", "return", "PPC", "::", "PRED_LE_PLUS", ";", "case", "PPC", "::", "PRED_GT_PLUS", ":", "return", "PPC", "::", "PRED_LT_PLUS", ";", "case", "PPC", "::", "PRED_LE_PLUS", ":", "return", "PPC", "::", "PRED_GE_PLUS", ";", "case", "PPC", "::", "PRED_NU_PLUS", ":", "return", "PPC", "::", "PRED_NU_PLUS", ";", "case", "PPC", "::", "PRED_UN_PLUS", ":", "return", "PPC", "::", "PRED_UN_PLUS", ";", "case", "PPC", "::", "PRED_BIT_SET", ":", "case", "PPC", "::", "PRED_BIT_UNSET", ":", "llvm_unreachable", "(", "\"Invalid use of bit predicate code\"", ")", ";", "}", "llvm_unreachable", "(", "\"Unknown PPC branch opcode!\"", ")", ";", "}", ""], "natrual_language": ["This", "is", "a", "static", "version", "that", "you", "can", "use", "without", "an", "instruction", "available", "."], "TS_V_token": ["PowerPC", "PPC::Predicate", "PPC::getSwappedPredicate", "PPC::Predicate", "PPC::PRED_EQ", "PPC::PRED_EQ", "PPC::PRED_NE", "PPC::PRED_NE", "PPC::PRED_LT", "PPC::PRED_GT", "PPC::PRED_GE", "PPC::PRED_LE", "PPC::PRED_GT", "PPC::PRED_LT", "PPC::PRED_LE", "PPC::PRED_GE", "PPC::PRED_NU", "PPC::PRED_NU", "PPC::PRED_UN", "PPC::PRED_UN", "PPC::PRED_EQ_MINUS", "PPC::PRED_EQ_MINUS", "PPC::PRED_NE_MINUS", "PPC::PRED_NE_MINUS", "PPC::PRED_LT_MINUS", "PPC::PRED_GT_MINUS", "PPC::PRED_GE_MINUS", "PPC::PRED_LE_MINUS", "PPC::PRED_GT_MINUS", "PPC::PRED_LT_MINUS", "PPC::PRED_LE_MINUS", "PPC::PRED_GE_MINUS", "PPC::PRED_NU_MINUS", "PPC::PRED_NU_MINUS", "PPC::PRED_UN_MINUS", "PPC::PRED_UN_MINUS", "PPC::PRED_EQ_PLUS", "PPC::PRED_EQ_PLUS", "PPC::PRED_NE_PLUS", "PPC::PRED_NE_PLUS", "PPC::PRED_LT_PLUS", "PPC::PRED_GT_PLUS", "PPC::PRED_GE_PLUS", "PPC::PRED_LE_PLUS", "PPC::PRED_GT_PLUS", "PPC::PRED_LT_PLUS", "PPC::PRED_LE_PLUS", "PPC::PRED_GE_PLUS", "PPC::PRED_NU_PLUS", "PPC::PRED_NU_PLUS", "PPC::PRED_UN_PLUS", "PPC::PRED_UN_PLUS", "PPC::PRED_BIT_SET", "PPC::PRED_BIT_UNSET", "\"Invalid use of bit predicate code\"", "\"Unknown PPC branch opcode!\""], "File": "PPCPredicates11", "Func": "getSwappedPredicate", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11510, "Length": 280, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "Cpu0TargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "const", "SDLoc", "&", "DL", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ",", "const", "SDNode", "*", "CallNode", ",", "const", "Type", "*", "RetTy", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "Cpu0CC", "Cpu0CCInfo", "(", "CallConv", ",", "ABI", ".", "IsO32", "(", ")", ",", "CCInfo", ")", ";", "Cpu0CCInfo", ".", "analyzeCallResult", "(", "Ins", ",", "Subtarget", ".", "abiUsesSoftFloat", "(", ")", ",", "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": ["Cpu0", "Cpu0", "ISD::InputArg", "16", "Cpu0", "Cpu0", "Cpu0", "0", "1", "2", "ISD::BITCAST"], "File": "Cpu0ISelLowering", "Func": "LowerCallResult", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11511, "Length": 244, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "csky_function_value_regno_p", "(", "const", "unsigned", "int", "regno", ")", "{", "if", "(", "regno", "==", "CSKY_FIRST_RET_REGNUM", "||", "(", "TARGET_HARD_FLOAT_ABI", "&&", "regno", "==", "CSKY_FIRST_VFP_REGNUM", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_VALUE_REGNO_P", ".", "On", "C-SKY", ",", "only", "r0", "can", "return", "results", "."], "TS_V_token": ["csky"], "File": "csky", "Func": "csky_function_value_regno_p", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11512, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMConstantPoolValue", "::", "print", "(", "raw_ostream", "&", "O", ")", "const", "{", "if", "(", "GV", ")", "O", "<<", "GV", "->", "getName", "(", ")", ";", "else", "O", "<<", "S", ";", "if", "(", "isNonLazyPointer", "(", ")", ")", "O", "<<", "\"$non_lazy_ptr\"", ";", "else", "if", "(", "isStub", "(", ")", ")", "O", "<<", "\"$stub\"", ";", "if", "(", "Modifier", ")", "O", "<<", "\"(\"", "<<", "Modifier", "<<", "\")\"", ";", "if", "(", "PCAdjust", "!=", "0", ")", "{", "O", "<<", "\"-(LPC\"", "<<", "LabelId", "<<", "\"+\"", "<<", "(", "unsigned", ")", "PCAdjust", ";", "if", "(", "AddCurrentAddress", ")", "O", "<<", "\"-.\"", ";", "O", "<<", "\")\"", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["ARM", "ARM", "\"$non_lazy_ptr\"", "\"$stub\"", "\"(\"", "\")\"", "0", "\"-(LPC\"", "\"+\"", "\"-.\"", "\")\""], "File": "ARMConstantPoolValue25", "Func": "print", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11513, "Length": 95, "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": 11514, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "scavenge_reg", "(", "HARD_REG_SET", "*", "s", ")", "{", "int", "r", ";", "for", "(", "r", "=", "FIRST_GENERAL_REG", ";", "r", "<=", "LAST_GENERAL_REG", ";", "r", "++", ")", "if", "(", "TEST_HARD_REG_BIT", "(", "*", "s", ",", "r", ")", ")", "return", "r", ";", "return", "-", "1", ";", "}", ""], "natrual_language": ["Find", "the", "number", "of", "a", "general", "purpose", "register", "in", "S", "."], "TS_V_token": ["sh", "1"], "File": "sh3", "Func": "scavenge_reg", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11515, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "expand_vec_perm_v4hi_5", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "char", "perm2", "[", "4", "]", ";", "rtx", "rmask", "[", "4", "]", ";", "unsigned", "i", ";", "rtx", "t0", ",", "t1", ",", "mask", ",", "x", ";", "bool", "ok", ";", "if", "(", "d", "->", "vmode", "!=", "V4HImode", "||", "d", "->", "one_operand_p", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "for", "(", "i", "=", "0", ";", "i", "<", "4", ";", "++", "i", ")", "{", "perm2", "[", "i", "]", "=", "d", "->", "perm", "[", "i", "]", "&", "3", ";", "rmask", "[", "i", "]", "=", "(", "d", "->", "perm", "[", "i", "]", "&", "4", "?", "const0_rtx", ":", "constm1_rtx", ")", ";", "}", "mask", "=", "gen_rtx_CONST_VECTOR", "(", "V4HImode", ",", "gen_rtvec_v", "(", "4", ",", "rmask", ")", ")", ";", "mask", "=", "force_reg", "(", "V4HImode", ",", "mask", ")", ";", "t0", "=", "gen_reg_rtx", "(", "V4HImode", ")", ";", "t1", "=", "gen_reg_rtx", "(", "V4HImode", ")", ";", "ok", "=", "expand_vselect", "(", "t0", ",", "d", "->", "op0", ",", "perm2", ",", "4", ")", ";", "gcc_assert", "(", "ok", ")", ";", "ok", "=", "expand_vselect", "(", "t1", ",", "d", "->", "op1", ",", "perm2", ",", "4", ")", ";", "gcc_assert", "(", "ok", ")", ";", "x", "=", "gen_rtx_AND", "(", "V4HImode", ",", "mask", ",", "t0", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "t0", ",", "x", ")", ")", ";", "x", "=", "gen_rtx_NOT", "(", "V4HImode", ",", "mask", ")", ";", "x", "=", "gen_rtx_AND", "(", "V4HImode", ",", "x", ",", "t1", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "t1", ",", "x", ")", ")", ";", "x", "=", "gen_rtx_IOR", "(", "V4HImode", ",", "t0", ",", "t1", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "d", "->", "target", ",", "x", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "ia64_expand_vec_perm_const_1", ".", "Emit", "a", "full", "V4HImode", "constant", "permutation", "via", "two", "mux2", "and", "a", "merge", "."], "TS_V_token": ["ia64", "4", "4", "0", "4", "3", "4", "4", "4", "4"], "File": "ia64", "Func": "expand_vec_perm_v4hi_5", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11516, "Length": 266, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ia64_print_operand_punct_valid_p", "(", "unsigned", "char", "code", ")", "{", "return", "(", "code", "==", "'+'", "||", "code", "==", "','", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_PRINT_OPERAND_PUNCT_VALID_P", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "ia64_print_operand_punct_valid_p", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11517, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "MipsTargetLowering", "::", "getRegisterTypeForCallingConv", "(", "LLVMContext", "&", "Context", ",", "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": "MipsISelLowering10", "Func": "getRegisterTypeForCallingConv", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11518, "Length": 72, "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", "(", ")", ",", "DAG", ".", "getTarget", "(", ")", ",", "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", ".", "getValVT", "(", ")", ";", "if", "(", "(", "CopyVT", "==", "MVT", "::", "f32", "||", "CopyVT", "==", "MVT", "::", "f64", ")", "&&", "(", "(", "Is64Bit", "||", "Ins", "[", "i", "]", ".", "Flags", ".", "isInReg", "(", ")", ")", "&&", "!", "Subtarget", "->", "hasSSE1", "(", ")", ")", ")", "{", "report_fatal_error", "(", "\"SSE register return with SSE disabled\"", ")", ";", "}", "SDValue", "Val", ";", "if", "(", "VA", ".", "getLocReg", "(", ")", "==", "X86", "::", "ST0", "||", "VA", ".", "getLocReg", "(", ")", "==", "X86", "::", "ST1", ")", "{", "if", "(", "isScalarFPTypeInSSEReg", "(", "VA", ".", "getValVT", "(", ")", ")", ")", "CopyVT", "=", "MVT", "::", "f80", ";", "SDValue", "Ops", "[", "]", "=", "{", "Chain", ",", "InFlag", "}", ";", "Chain", "=", "SDValue", "(", "DAG", ".", "getMachineNode", "(", "X86", "::", "FpPOP_RETVAL", ",", "dl", ",", "CopyVT", ",", "MVT", "::", "Other", ",", "MVT", "::", "Glue", ",", "Ops", ")", ",", "1", ")", ";", "Val", "=", "Chain", ".", "getValue", "(", "0", ")", ";", "if", "(", "CopyVT", "!=", "VA", ".", "getValVT", "(", ")", ")", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "FP_ROUND", ",", "dl", ",", "VA", ".", "getValVT", "(", ")", ",", "Val", ",", "DAG", ".", "getIntPtrConstant", "(", "1", ")", ")", ";", "}", "else", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "CopyVT", ",", "InFlag", ")", ".", "getValue", "(", "1", ")", ";", "Val", "=", "Chain", ".", "getValue", "(", "0", ")", ";", "}", "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", "\"SSE register return with SSE disabled\"", "X86::ST0", "X86::ST1", "MVT::f80", "X86::FpPOP_RETVAL", "MVT::Other", "MVT::Glue", "1", "0", "ISD::FP_ROUND", "1", "1", "0", "2"], "File": "X86ISelLowering (2)", "Func": "LowerCallResult", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11519, "Length": 379, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ATTRIBUTE_UNUSED", "ix86_encode_section_info", "(", "tree", "decl", ",", "rtx", "rtl", ",", "int", "first", ")", "{", "default_encode_section_info", "(", "decl", ",", "rtl", ",", "first", ")", ";", "if", "(", "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": "i386", "Func": "ix86_encode_section_info", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11520, "Length": 44, "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": ["CAHP"], "File": "CAHPAsmParser", "Func": "getEndLoc", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11521, "Length": 11, "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": 11522, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "auto", "PrintImmValue", "=", "[", "&", "]", "(", "const", "MCExpr", "*", "Val", ",", "const", "char", "*", "VName", ")", "{", "if", "(", "Val", "->", "getKind", "(", ")", "==", "MCExpr", "::", "Constant", ")", "{", "if", "(", "auto", "Imm", "=", "cast", "<", "MCConstantExpr", ">", "(", "Val", ")", "->", "getValue", "(", ")", ")", "OS", "<<", "VName", "<<", "Imm", ";", "}", "else", "if", "(", "Val", "->", "getKind", "(", ")", "==", "MCExpr", "::", "SymbolRef", ")", "{", "if", "(", "auto", "*", "SRE", "=", "dyn_cast", "<", "MCSymbolRefExpr", ">", "(", "Val", ")", ")", "{", "const", "MCSymbol", "&", "Sym", "=", "SRE", "->", "getSymbol", "(", ")", ";", "if", "(", "auto", "SymName", "=", "Sym", ".", "getName", "(", ")", ".", "data", "(", ")", ")", "OS", "<<", "VName", "<<", "SymName", ";", "}", "}", "}", ";", "switch", "(", "Kind", ")", "{", "case", "Token", ":", "OS", "<<", "Tok", ".", "Data", ";", "break", ";", "case", "Register", ":", "OS", "<<", "\"Reg:\"", "<<", "X86IntelInstPrinter", "::", "getRegisterName", "(", "Reg", ".", "RegNo", ")", ";", "break", ";", "case", "Immediate", ":", "PrintImmValue", "(", "Imm", ".", "Val", ",", "\"Imm:\"", ")", ";", "break", ";", "case", "Prefix", ":", "OS", "<<", "\"Prefix:\"", "<<", "Pref", ".", "Prefixes", ";", "break", ";", "case", "Memory", ":", "OS", "<<", "\"Memory: ModeSize=\"", "<<", "Mem", ".", "ModeSize", ";", "if", "(", "Mem", ".", "Size", ")", "OS", "<<", "\",Size=\"", "<<", "Mem", ".", "Size", ";", "if", "(", "Mem", ".", "BaseReg", ")", "OS", "<<", "\",BaseReg=\"", "<<", "X86IntelInstPrinter", "::", "getRegisterName", "(", "Mem", ".", "BaseReg", ")", ";", "if", "(", "Mem", ".", "IndexReg", ")", "OS", "<<", "\",IndexReg=\"", "<<", "X86IntelInstPrinter", "::", "getRegisterName", "(", "Mem", ".", "IndexReg", ")", ";", "if", "(", "Mem", ".", "Scale", ")", "OS", "<<", "\",Scale=\"", "<<", "Mem", ".", "Scale", ";", "if", "(", "Mem", ".", "Disp", ")", "PrintImmValue", "(", "Mem", ".", "Disp", ",", "\",Disp=\"", ")", ";", "if", "(", "Mem", ".", "SegReg", ")", "OS", "<<", "\",SegReg=\"", "<<", "X86IntelInstPrinter", "::", "getRegisterName", "(", "Mem", ".", "SegReg", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["X86", "\"Reg:\"", "X86", "\"Imm:\"", "\"Prefix:\"", "\"Memory: ModeSize=\"", "\",Size=\"", "\",BaseReg=\"", "X86", "\",IndexReg=\"", "X86", "\",Scale=\"", "\",Disp=\"", "\",SegReg=\"", "X86"], "File": "X86Operand11", "Func": "print", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11523, "Length": 306, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "BuildCFI", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "DebugLoc", "DL", ",", "MCCFIInstruction", "CFIInst", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "unsigned", "CFIIndex", "=", "MF", ".", "getMMI", "(", ")", ".", "addFrameInst", "(", "CFIInst", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "}", ""], "natrual_language": ["Wraps", "up", "getting", "a", "CFI", "index", "and", "building", "a", "MachineInstr", "for", "it", "."], "TS_V_token": ["X86", "X86"], "File": "X86FrameLowering (2)4", "Func": "BuildCFI", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11524, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "examine_argument", "(", "machine_mode", "mode", ",", "const_tree", "type", ",", "int", "in_return", ",", "int", "*", "int_nregs", ",", "int", "*", "sse_nregs", ")", "{", "enum", "x86_64_reg_class", "regclass", "[", "MAX_CLASSES", "]", ";", "int", "n", "=", "classify_argument", "(", "mode", ",", "type", ",", "regclass", ",", "0", ")", ";", "*", "int_nregs", "=", "0", ";", "*", "sse_nregs", "=", "0", ";", "if", "(", "!", "n", ")", "return", "true", ";", "for", "(", "n", "--", ";", "n", ">=", "0", ";", "n", "--", ")", "switch", "(", "regclass", "[", "n", "]", ")", "{", "case", "X86_64_INTEGER_CLASS", ":", "case", "X86_64_INTEGERSI_CLASS", ":", "(", "*", "int_nregs", ")", "++", ";", "break", ";", "case", "X86_64_SSE_CLASS", ":", "case", "X86_64_SSEHF_CLASS", ":", "case", "X86_64_SSESF_CLASS", ":", "case", "X86_64_SSEDF_CLASS", ":", "(", "*", "sse_nregs", ")", "++", ";", "break", ";", "case", "X86_64_NO_CLASS", ":", "case", "X86_64_SSEUP_CLASS", ":", "break", ";", "case", "X86_64_X87_CLASS", ":", "case", "X86_64_X87UP_CLASS", ":", "case", "X86_64_COMPLEX_X87_CLASS", ":", "if", "(", "!", "in_return", ")", "return", "true", ";", "break", ";", "case", "X86_64_MEMORY_CLASS", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Examine", "the", "argument", "and", "return", "set", "number", "of", "register", "required", "in", "each", "class", ".", "Return", "0", "iff", "parameter", "should", "be", "passed", "in", "memory", "."], "TS_V_token": ["i386", "0", "0", "0", "0"], "File": "i386", "Func": "examine_argument", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11525, "Length": 154, "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", "(", "nullptr", ",", "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", "1", "0", "16", "0", "0", "16", "31", "32", "0xffff", "0", "33554432", "33554431"], "File": "LanaiISelLowering", "Func": "LowerAsmOperandForConstraint", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11526, "Length": 488, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86Subtarget", "::", "X86Subtarget", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "X86TargetMachine", "&", "TM", ",", "unsigned", "StackAlignOverride", ")", ":", "X86GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "X86ProcFamily", "(", "Others", ")", ",", "PICStyle", "(", "PICStyles", "::", "None", ")", ",", "TM", "(", "TM", ")", ",", "TargetTriple", "(", "TT", ")", ",", "StackAlignOverride", "(", "StackAlignOverride", ")", ",", "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": "X86Subtarget22", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11527, "Length": 282, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMTargetLowering", "::", "getABIAlignmentForCallingConv", "(", "Type", "*", "ArgTy", ",", "DataLayout", "DL", ")", "const", "{", "if", "(", "!", "ArgTy", "->", "isVectorTy", "(", ")", ")", "return", "DL", ".", "getABITypeAlignment", "(", "ArgTy", ")", ";", "return", "std", "::", "min", "(", "DL", ".", "getABITypeAlignment", "(", "ArgTy", ")", ",", "DL", ".", "getStackAlignment", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "correct", "alignment", "for", "the", "current", "calling", "convention", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMISelLowering (3)", "Func": "getABIAlignmentForCallingConv", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11528, "Length": 51, "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": ["X86"], "File": "X86ISelLowering", "Func": "convertSetCCLogicToBitwiseLogic", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11529, "Length": 17, "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": 11530, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_conditional_register_usage", "(", "void", ")", "{", "if", "(", "PIC_OFFSET_TABLE_REGNUM", "!=", "INVALID_REGNUM", ")", "{", "fixed_regs", "[", "PIC_OFFSET_TABLE_REGNUM", "]", "=", "1", ";", "call_used_regs", "[", "PIC_OFFSET_TABLE_REGNUM", "]", "=", "1", ";", "}", "if", "(", "TARGET_ARCH32", "&&", "fixed_regs", "[", "5", "]", ")", "fixed_regs", "[", "5", "]", "=", "1", ";", "else", "if", "(", "TARGET_ARCH64", "&&", "fixed_regs", "[", "5", "]", "==", "2", ")", "fixed_regs", "[", "5", "]", "=", "0", ";", "if", "(", "!", "TARGET_V9", ")", "{", "int", "regno", ";", "for", "(", "regno", "=", "SPARC_FIRST_V9_FP_REG", ";", "regno", "<=", "SPARC_LAST_V9_FP_REG", ";", "regno", "++", ")", "fixed_regs", "[", "regno", "]", "=", "1", ";", "for", "(", "regno", "=", "SPARC_FIRST_V9_FCC_REG", "+", "1", ";", "regno", "<=", "SPARC_LAST_V9_FCC_REG", ";", "regno", "++", ")", "fixed_regs", "[", "regno", "]", "=", "1", ";", "}", "if", "(", "!", "TARGET_FPU", ")", "{", "int", "regno", ";", "for", "(", "regno", "=", "32", ";", "regno", "<", "SPARC_LAST_V9_FCC_REG", ";", "regno", "++", ")", "fixed_regs", "[", "regno", "]", "=", "1", ";", "}", "if", "(", "fixed_regs", "[", "2", "]", "==", "2", ")", "fixed_regs", "[", "2", "]", "=", "!", "TARGET_APP_REGS", ";", "if", "(", "fixed_regs", "[", "3", "]", "==", "2", ")", "fixed_regs", "[", "3", "]", "=", "!", "TARGET_APP_REGS", ";", "if", "(", "TARGET_ARCH32", "&&", "fixed_regs", "[", "4", "]", "==", "2", ")", "fixed_regs", "[", "4", "]", "=", "!", "TARGET_APP_REGS", ";", "else", "if", "(", "TARGET_CM_EMBMEDANY", ")", "fixed_regs", "[", "4", "]", "=", "1", ";", "else", "if", "(", "fixed_regs", "[", "4", "]", "==", "2", ")", "fixed_regs", "[", "4", "]", "=", "0", ";", "if", "(", "TARGET_FLAT", ")", "{", "int", "regno", ";", "memset", "(", "sparc_leaf_regs", ",", "0", ",", "FIRST_PSEUDO_REGISTER", ")", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "leaf_reg_remap", "[", "regno", "]", "=", "regno", ";", "}", "if", "(", "TARGET_VIS", ")", "global_regs", "[", "SPARC_GSR_REG", "]", "=", "1", ";", "}", ""], "natrual_language": ["If", "!", "TARGET_FPU", ",", "then", "make", "the", "fp", "registers", "and", "fp", "cc", "regs", "fixed", "so", "that", "they", "wo", "n't", "be", "allocated", "."], "TS_V_token": ["sparc", "1", "1", "5", "5", "1", "5", "2", "5", "0", "1", "1", "1", "32", "1", "2", "2", "2", "3", "2", "3", "4", "2", "4", "4", "1", "4", "2", "4", "0", "0", "0", "1"], "File": "sparc4", "Func": "sparc_conditional_register_usage", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11531, "Length": 278, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "getSubExpr", "(", ")", "const", "{", "return", "Expr", ";", "}", ""], "natrual_language": ["getSubExpr", "-", "Get", "the", "child", "of", "this", "expression", "."], "TS_V_token": ["Cpu0"], "File": "Cpu0MCExpr", "Func": "getSubExpr", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11532, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rs6000_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", ",", "\"%qs attribute only applies to functions\"", ",", "IDENTIFIER_POINTER", "(", "name", ")", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "a", "``", "longcall", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["rs6000", "\"%qs attribute only applies to functions\""], "File": "rs60003", "Func": "rs6000_handle_longcall_attribute", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11533, "Length": 73, "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", "E_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", "E_BLKmode", ":", "cum", "->", "gp_reg_found", "=", "1", ";", "cum", "->", "arg_words", "+=", "(", "(", "int_size_in_bytes", "(", "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": "iq20006", "Func": "iq2000_function_arg_advance", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11534, "Length": 311, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips16_stub_function", "(", "const", "char", "*", "name", ")", "{", "rtx", "x", ";", "x", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "ggc_strdup", "(", "name", ")", ")", ";", "SYMBOL_REF_FLAGS", "(", "x", ")", "|=", "(", "SYMBOL_FLAG_EXTERNAL", "|", "SYMBOL_FLAG_FUNCTION", ")", ";", "return", "x", ";", "}", ""], "natrual_language": ["Return", "a", "SYMBOL_REF", "for", "a", "MIPS16", "function", "called", "NAME", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips16_stub_function", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11535, "Length": 40, "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", ")", "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", ")", ")", "{", "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": "rs60004", "Func": "rs6000_arg_partial_bytes", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11536, "Length": 339, "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", "::", "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::SHL", "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": "ARMISelLowering10", "Func": "ReplaceNodeResults", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11537, "Length": 315, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "ix86_max_noce_ifcvt_seq_cost", "(", "edge", "e", ")", "{", "bool", "predictable_p", "=", "predictable_edge_p", "(", "e", ")", ";", "enum", "compiler_param", "param", "=", "(", "predictable_p", "?", "PARAM_MAX_RTL_IF_CONVERSION_PREDICTABLE_COST", ":", "PARAM_MAX_RTL_IF_CONVERSION_UNPREDICTABLE_COST", ")", ";", "if", "(", "global_options_set", ".", "x_param_values", "[", "param", "]", ")", "return", "PARAM_VALUE", "(", "param", ")", ";", "else", "return", "BRANCH_COST", "(", "true", ",", "predictable_p", ")", "*", "COSTS_N_INSNS", "(", "2", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MAX_NOCE_IFCVT_SEQ_COST", ".", "Like", "the", "default", "implementation", ",", "but", "returns", "a", "lower", "bound", "."], "TS_V_token": ["i386", "2"], "File": "i3866", "Func": "ix86_max_noce_ifcvt_seq_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11538, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 Indirect Thunks\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 Indirect Thunks\""], "File": "X86IndirectThunks", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11539, "Length": 11, "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", "->", "getTarget", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "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": "AArch64BranchRelaxation3", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11540, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "report_not_one_of", "(", "location_t", "location", ",", "tree", "fndecl", ",", "unsigned", "int", "argno", ",", "HOST_WIDE_INT", "actual", ",", "HOST_WIDE_INT", "value0", ",", "HOST_WIDE_INT", "value1", ",", "HOST_WIDE_INT", "value2", ",", "HOST_WIDE_INT", "value3", ")", "{", "error_at", "(", "location", ",", "\"passing %wd to argument %d of %qE, which expects\"", "\" %wd, %wd, %wd or %wd\"", ",", "actual", ",", "argno", "+", "1", ",", "fndecl", ",", "value0", ",", "value1", ",", "value2", ",", "value3", ")", ";", "}", ""], "natrual_language": ["Report", "that", "LOCATION", "has", "a", "call", "to", "FNDECL", "in", "which", "argument", "ARGNO", "has", "the", "value", "ACTUAL", ",", "whereas", "the", "function", "requires", "one", "of", "VALUE0", "..", "3", ".", "ARGNO", "counts", "from", "zero", "."], "TS_V_token": ["aarch64", "\"passing %wd to argument %d of %qE, which expects\"", "\" %wd, %wd, %wd or %wd\"", "1"], "File": "aarch64-sve-builtins", "Func": "report_not_one_of", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11541, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getReg", "(", ")", "const", "{", "assert", "(", "Kind", "==", "Register", "&&", "\"Invalid access!\"", ")", ";", "return", "Reg", ".", "RegNum", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["ARM", "\"Invalid access!\""], "File": "ARMAsmParser13", "Func": "getReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11542, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_init_builtins", "(", "void", ")", "{", "if", "(", "TARGET_VIS", ")", "sparc_vis_init_builtins", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_INIT_BUILTINS", "target", "hook", ".", "Create", "builtin", "functions", "for", "special", "SPARC", "instructions", "."], "TS_V_token": ["sparc"], "File": "sparc3", "Func": "sparc_init_builtins", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11543, "Length": 16, "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", "void", "*", "Decoder", ")", "{", "const", "MCDisassembler", "*", "Dis", "=", "static_cast", "<", "const", "MCDisassembler", "*", ">", "(", "Decoder", ")", ";", "return", "Dis", "->", "tryAddingSymbolicOperand", "(", "MI", ",", "Value", ",", "Address", ",", "isBranch", ",", "Offset", ",", "Width", ")", ";", "}", ""], "natrual_language": ["Try", "to", "add", "a", "symbolic", "operand", "instead", "of", "Value", "to", "the", "MCInst", "."], "TS_V_token": ["Sparc"], "File": "SparcDisassembler (2)", "Func": "tryAddingSymbolicOperand", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11544, "Length": 63, "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": 11545, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "load_pic_register", "(", ")", "{", "int", "orig_flag_pic", "=", "flag_pic", ";", "if", "(", "!", "flag_pic", ")", "abort", "(", ")", ";", "if", "(", "get_pc_symbol_name", "[", "0", "]", "==", "0", ")", "{", "int", "align", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "get_pc_symbol_name", ",", "\"LGETPC\"", ",", "0", ")", ";", "text_section", "(", ")", ";", "align", "=", "floor_log2", "(", "FUNCTION_BOUNDARY", "/", "BITS_PER_UNIT", ")", ";", "if", "(", "align", ">", "0", ")", "ASM_OUTPUT_ALIGN", "(", "asm_out_file", ",", "align", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "\"LGETPC\"", ",", "0", ")", ";", "fputs", "(", "\"\\tretl\\n\\tadd\\t%o7, %l7, %l7\\n\"", ",", "asm_out_file", ")", ";", "}", "global_offset_table", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"_GLOBAL_OFFSET_TABLE_\"", ")", ";", "get_pc_symbol", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "get_pc_symbol_name", ")", ";", "flag_pic", "=", "0", ";", "emit_insn", "(", "gen_get_pc", "(", "pic_offset_table_rtx", ",", "global_offset_table", ",", "get_pc_symbol", ")", ")", ";", "flag_pic", "=", "orig_flag_pic", ";", "emit_insn", "(", "gen_rtx_USE", "(", "VOIDmode", ",", "pic_offset_table_rtx", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "load", "the", "PIC", "register", "."], "TS_V_token": ["sparc", "0", "0", "\"LGETPC\"", "0", "0", "\"LGETPC\"", "0", "\"\\tretl\\n\\tadd\\t%o7, %l7, %l7\\n\"", "\"_GLOBAL_OFFSET_TABLE_\"", "0"], "File": "sparc2", "Func": "load_pic_register", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11546, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_compare", "(", "rtx_code", "code", ",", "rtx", "a", ",", "rtx", "b", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "gen_rtx_REG", "(", "BImode", ",", "SR_F_REGNUM", ")", ",", "gen_rtx_fmt_ee", "(", "code", ",", "BImode", ",", "a", ",", "b", ")", ")", ")", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "the", "atomic", "operation", "splitters", ".", "Emit", "a", "raw", "comparison", "for", "A", "CODE", "B", "."], "TS_V_token": ["or1k"], "File": "or1k", "Func": "emit_compare", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11547, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mmix_return_addr_rtx", "(", "int", "count", ",", "rtx", "frame", "ATTRIBUTE_UNUSED", ")", "{", "return", "count", "==", "0", "?", "(", "MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS", "?", "validize_mem", "(", "gen_rtx_MEM", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "frame_pointer_rtx", ",", "-", "16", ")", ")", ")", ":", "get_hard_reg_initial_val", "(", "Pmode", ",", "MMIX_INCOMING_RETURN_ADDRESS_REGNUM", ")", ")", ":", "NULL_RTX", ";", "}", ""], "natrual_language": ["RETURN_ADDR_RTX", "."], "TS_V_token": ["mmix", "0", "16"], "File": "mmix", "Func": "mmix_return_addr_rtx", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11548, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsAsmParser58", "Func": "ParseDirective", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11549, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMAsmPrinter", "::", "emitInlineAsmEnd", "(", "const", "MCSubtargetInfo", "&", "StartInfo", ",", "const", "MCSubtargetInfo", "*", "EndInfo", ")", "const", "{", "const", "bool", "WasThumb", "=", "isThumb", "(", "StartInfo", ")", ";", "if", "(", "!", "EndInfo", "||", "WasThumb", "!=", "isThumb", "(", "*", "EndInfo", ")", ")", "{", "OutStreamer", "->", "EmitAssemblerFlag", "(", "WasThumb", "?", "MCAF_Code16", ":", "MCAF_Code32", ")", ";", "}", "}", ""], "natrual_language": ["Let", "the", "target", "do", "anything", "it", "needs", "to", "do", "after", "emitting", "inlineasm", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMAsmPrinter (2)1", "Func": "emitInlineAsmEnd", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11550, "Length": 53, "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", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "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": "PPCFrameLowering2", "Func": "determineFrameLayout", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11551, "Length": 292, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_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", "iff", "CMP0", "and", "CMP1", "are", "equal", ".", "The", "register", "will", "have", "the", "same", "mode", "as", "CMP0", "."], "TS_V_token": ["mips", "0", "0", "0", "0"], "File": "mips", "Func": "mips_zero_if_equal", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11552, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FixupLEAPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "const", "X86Subtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "bool", "IsSlowLEA", "=", "ST", ".", "slowLEA", "(", ")", ";", "bool", "IsSlow3OpsLEA", "=", "ST", ".", "slow3OpsLEA", "(", ")", ";", "bool", "LEAUsesAG", "=", "ST", ".", "LEAusesAG", "(", ")", ";", "bool", "OptIncDec", "=", "!", "ST", ".", "slowIncDec", "(", ")", "||", "MF", ".", "getFunction", "(", ")", ".", "hasOptSize", "(", ")", ";", "bool", "UseLEAForSP", "=", "ST", ".", "useLeaForSP", "(", ")", ";", "TSM", ".", "init", "(", "&", "ST", ")", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "ST", ".", "getRegisterInfo", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Start X86FixupLEAs\\n\"", ";", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ";", "I", "!=", "MBB", ".", "end", "(", ")", ";", "++", "I", ")", "{", "if", "(", "!", "isLEA", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "continue", ";", "if", "(", "optTwoAddrLEA", "(", "I", ",", "MBB", ",", "OptIncDec", ",", "UseLEAForSP", ")", ")", "continue", ";", "if", "(", "IsSlowLEA", ")", "{", "processInstructionForSlowLEA", "(", "I", ",", "MBB", ")", ";", "}", "else", "if", "(", "IsSlow3OpsLEA", ")", "{", "if", "(", "auto", "*", "NewMI", "=", "processInstrForSlow3OpLEA", "(", "*", "I", ",", "MBB", ")", ")", "{", "MBB", ".", "erase", "(", "I", ")", ";", "I", "=", "NewMI", ";", "}", "}", "}", "if", "(", "LEAUsesAG", ")", "{", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ";", "I", "!=", "MBB", ".", "end", "(", ")", ";", "++", "I", ")", "processInstruction", "(", "I", ",", "MBB", ")", ";", "}", "}", "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": "X86FixupLEAs28", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11553, "Length": 291, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "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", "5", ";", "}", "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", "5", ";", "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", "5", "PPC", "0", "32", "16", "32", "5"], "File": "PPCISelLowering142", "Func": "getPrefLoopAlignment", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11554, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "gpr_or_gpr_p", "(", "rtx", "op0", ",", "rtx", "op1", ")", "{", "return", "(", "(", "REG_P", "(", "op0", ")", "&&", "INT_REGNO_P", "(", "REGNO", "(", "op0", ")", ")", ")", "||", "(", "REG_P", "(", "op1", ")", "&&", "INT_REGNO_P", "(", "REGNO", "(", "op1", ")", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "either", "operand", "is", "a", "general", "purpose", "register", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "gpr_or_gpr_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11555, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLittleEndian", "(", ")", "const", "{", "return", "IsLittleEndian", ";", "}", ""], "natrual_language": ["Tests", "whether", "the", "target", "triple", "is", "little", "endian", "."], "TS_V_token": ["PowerPC"], "File": "PPCAsmBackend", "Func": "isLittleEndian", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11556, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"Lanai SET_FLAG ALU combiner pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Lanai", "\"Lanai SET_FLAG ALU combiner pass\""], "File": "LanaiSetflagAluCombiner", "Func": "getPassName", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11557, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nds32_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "regno", ">", "FIRST_PSEUDO_REGISTER", ")", "return", "true", ";", "if", "(", "(", "TARGET_FPU_SINGLE", "||", "TARGET_FPU_DOUBLE", ")", "&&", "NDS32_IS_FPR_REGNUM", "(", "regno", ")", ")", "{", "if", "(", "NDS32_IS_EXT_FPR_REGNUM", "(", "regno", ")", ")", "return", "(", "NDS32_FPR_REGNO_OK_FOR_DOUBLE", "(", "regno", ")", "&&", "(", "mode", "==", "DFmode", ")", ")", ";", "else", "if", "(", "mode", "==", "SFmode", "||", "mode", "==", "SImode", ")", "return", "NDS32_FPR_REGNO_OK_FOR_SINGLE", "(", "regno", ")", ";", "else", "if", "(", "mode", "==", "DFmode", ")", "return", "NDS32_FPR_REGNO_OK_FOR_DOUBLE", "(", "regno", ")", ";", "return", "false", ";", "}", "if", "(", "regno", "<=", "NDS32_LAST_GPR_REGNUM", ")", "return", "(", "targetm", ".", "hard_regno_nregs", "(", "regno", ",", "mode", ")", "==", "1", "||", "!", "(", "(", "regno", ")", "&", "1", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_MODE_OK", "."], "TS_V_token": ["nds32", "1", "1"], "File": "nds325", "Func": "nds32_hard_regno_mode_ok", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11558, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "ARM64", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["ARM64", "ARM64::NumTargetFixupKinds"], "File": "ARM64AsmBackend1", "Func": "getNumFixupKinds", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11559, "Length": 13, "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", ")", ";", "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": "MipsAsmPrinter12", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11560, "Length": 114, "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": "sh3", "Func": "sh_cfun_trap_exit_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11561, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "isHighLatencyDef", "(", "int", "opc", ")", "const", "{", "switch", "(", "opc", ")", "{", "default", ":", "return", "false", ";", "case", "X86", "::", "DIVSDrm", ":", "case", "X86", "::", "DIVSDrm_Int", ":", "case", "X86", "::", "DIVSDrr", ":", "case", "X86", "::", "DIVSDrr_Int", ":", "case", "X86", "::", "DIVSSrm", ":", "case", "X86", "::", "DIVSSrm_Int", ":", "case", "X86", "::", "DIVSSrr", ":", "case", "X86", "::", "DIVSSrr_Int", ":", "case", "X86", "::", "SQRTPDm", ":", "case", "X86", "::", "SQRTPDr", ":", "case", "X86", "::", "SQRTPSm", ":", "case", "X86", "::", "SQRTPSr", ":", "case", "X86", "::", "SQRTSDm", ":", "case", "X86", "::", "SQRTSDm_Int", ":", "case", "X86", "::", "SQRTSDr", ":", "case", "X86", "::", "SQRTSDr_Int", ":", "case", "X86", "::", "SQRTSSm", ":", "case", "X86", "::", "SQRTSSm_Int", ":", "case", "X86", "::", "SQRTSSr", ":", "case", "X86", "::", "SQRTSSr_Int", ":", "case", "X86", "::", "VDIVSDrm", ":", "case", "X86", "::", "VDIVSDrm_Int", ":", "case", "X86", "::", "VDIVSDrr", ":", "case", "X86", "::", "VDIVSDrr_Int", ":", "case", "X86", "::", "VDIVSSrm", ":", "case", "X86", "::", "VDIVSSrm_Int", ":", "case", "X86", "::", "VDIVSSrr", ":", "case", "X86", "::", "VDIVSSrr_Int", ":", "case", "X86", "::", "VSQRTPDm", ":", "case", "X86", "::", "VSQRTPDr", ":", "case", "X86", "::", "VSQRTPSm", ":", "case", "X86", "::", "VSQRTPSr", ":", "case", "X86", "::", "VSQRTSDm", ":", "case", "X86", "::", "VSQRTSDm_Int", ":", "case", "X86", "::", "VSQRTSDr", ":", "case", "X86", "::", "VSQRTSSm", ":", "case", "X86", "::", "VSQRTSSm_Int", ":", "case", "X86", "::", "VSQRTSSr", ":", "case", "X86", "::", "VSQRTPDZm", ":", "case", "X86", "::", "VSQRTPDZr", ":", "case", "X86", "::", "VSQRTPSZm", ":", "case", "X86", "::", "VSQRTPSZr", ":", "case", "X86", "::", "VSQRTSDZm", ":", "case", "X86", "::", "VSQRTSDZm_Int", ":", "case", "X86", "::", "VSQRTSDZr", ":", "case", "X86", "::", "VSQRTSSZm_Int", ":", "case", "X86", "::", "VSQRTSSZr", ":", "case", "X86", "::", "VSQRTSSZm", ":", "case", "X86", "::", "VDIVSDZrm", ":", "case", "X86", "::", "VDIVSDZrr", ":", "case", "X86", "::", "VDIVSSZrm", ":", "case", "X86", "::", "VDIVSSZrr", ":", "case", "X86", "::", "VGATHERQPSZrm", ":", "case", "X86", "::", "VGATHERQPDZrm", ":", "case", "X86", "::", "VGATHERDPDZrm", ":", "case", "X86", "::", "VGATHERDPSZrm", ":", "case", "X86", "::", "VPGATHERQDZrm", ":", "case", "X86", "::", "VPGATHERQQZrm", ":", "case", "X86", "::", "VPGATHERDDZrm", ":", "case", "X86", "::", "VPGATHERDQZrm", ":", "case", "X86", "::", "VSCATTERQPDZmr", ":", "case", "X86", "::", "VSCATTERQPSZmr", ":", "case", "X86", "::", "VSCATTERDPDZmr", ":", "case", "X86", "::", "VSCATTERDPSZmr", ":", "case", "X86", "::", "VPSCATTERQDZmr", ":", "case", "X86", "::", "VPSCATTERQQZmr", ":", "case", "X86", "::", "VPSCATTERDDZmr", ":", "case", "X86", "::", "VPSCATTERDQZmr", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "this", "opcode", "has", "high", "latency", "to", "its", "result", "."], "TS_V_token": ["X86", "X86", "X86::DIVSDrm", "X86::DIVSDrm_Int", "X86::DIVSDrr", "X86::DIVSDrr_Int", "X86::DIVSSrm", "X86::DIVSSrm_Int", "X86::DIVSSrr", "X86::DIVSSrr_Int", "X86::SQRTPDm", "X86::SQRTPDr", "X86::SQRTPSm", "X86::SQRTPSr", "X86::SQRTSDm", "X86::SQRTSDm_Int", "X86::SQRTSDr", "X86::SQRTSDr_Int", "X86::SQRTSSm", "X86::SQRTSSm_Int", "X86::SQRTSSr", "X86::SQRTSSr_Int", "X86::VDIVSDrm", "X86::VDIVSDrm_Int", "X86::VDIVSDrr", "X86::VDIVSDrr_Int", "X86::VDIVSSrm", "X86::VDIVSSrm_Int", "X86::VDIVSSrr", "X86::VDIVSSrr_Int", "X86::VSQRTPDm", "X86::VSQRTPDr", "X86::VSQRTPSm", "X86::VSQRTPSr", "X86::VSQRTSDm", "X86::VSQRTSDm_Int", "X86::VSQRTSDr", "X86::VSQRTSSm", "X86::VSQRTSSm_Int", "X86::VSQRTSSr", "X86::VSQRTPDZm", "X86::VSQRTPDZr", "X86::VSQRTPSZm", "X86::VSQRTPSZr", "X86::VSQRTSDZm", "X86::VSQRTSDZm_Int", "X86::VSQRTSDZr", "X86::VSQRTSSZm_Int", "X86::VSQRTSSZr", "X86::VSQRTSSZm", "X86::VDIVSDZrm", "X86::VDIVSDZrr", "X86::VDIVSSZrm", "X86::VDIVSSZrr", "X86::VGATHERQPSZrm", "X86::VGATHERQPDZrm", "X86::VGATHERDPDZrm", "X86::VGATHERDPSZrm", "X86::VPGATHERQDZrm", "X86::VPGATHERQQZrm", "X86::VPGATHERDDZrm", "X86::VPGATHERDQZrm", "X86::VSCATTERQPDZmr", "X86::VSCATTERQPSZmr", "X86::VSCATTERDPDZmr", "X86::VSCATTERDPSZmr", "X86::VPSCATTERQDZmr", "X86::VPSCATTERQQZmr", "X86::VPSCATTERDDZmr", "X86::VPSCATTERDQZmr"], "File": "X86InstrInfo (2)1", "Func": "isHighLatencyDef", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11562, "Length": 365, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_emit_set_const32", "(", "rtx", "op0", ",", "rtx", "op1", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "op0", ")", ";", "rtx", "temp", "=", "op0", ";", "if", "(", "can_create_pseudo_p", "(", ")", ")", "temp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "if", "(", "GET_CODE", "(", "op1", ")", "==", "CONST_INT", ")", "{", "gcc_assert", "(", "!", "small_int_operand", "(", "op1", ",", "mode", ")", "&&", "!", "const_high_operand", "(", "op1", ",", "mode", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "temp", ",", "GEN_INT", "(", "INTVAL", "(", "op1", ")", "&", "~", "(", "HOST_WIDE_INT", ")", "0x3ff", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "op0", ",", "gen_rtx_IOR", "(", "mode", ",", "temp", ",", "GEN_INT", "(", "INTVAL", "(", "op1", ")", "&", "0x3ff", ")", ")", ")", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_rtx_SET", "(", "temp", ",", "gen_rtx_HIGH", "(", "mode", ",", "op1", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "op0", ",", "gen_rtx_LO_SUM", "(", "mode", ",", "temp", ",", "op1", ")", ")", ")", ";", "}", "}", ""], "natrual_language": ["We", "know", "it", "ca", "n't", "be", "done", "in", "one", "insn", "when", "we", "get", "here", ",", "the", "movsi", "expander", "guarentees", "this", "."], "TS_V_token": ["sparc", "0x3ff", "0x3ff"], "File": "sparc", "Func": "sparc_emit_set_const32", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11563, "Length": 150, "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", ")", ";", "unsigned", "NumBytes", "=", "0", ";", "const", "MCInstrDesc", "&", "Desc", "=", "MI", ".", "getDesc", "(", ")", ";", "switch", "(", "Desc", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "NumBytes", "=", "4", ";", "break", ";", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "case", "TargetOpcode", "::", "EH_LABEL", ":", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "KILL", ":", "NumBytes", "=", "0", ";", "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", "::", "JumpTableDest32", ":", "case", "AArch64", "::", "JumpTableDest16", ":", "case", "AArch64", "::", "JumpTableDest8", ":", "NumBytes", "=", "12", ";", "break", ";", "case", "AArch64", "::", "SPACE", ":", "NumBytes", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "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", "0", "0", "4", "0", "4", "0", "\"Invalid number of NOP bytes requested!\"", "4", "0", "\"Invalid number of NOP bytes requested!\"", "AArch64::TLSDESC_CALLSEQ", "16", "AArch64::JumpTableDest32", "AArch64::JumpTableDest16", "AArch64::JumpTableDest8", "12", "AArch64::SPACE", "1"], "File": "AArch64InstrInfo (2)1", "Func": "getInstSizeInBytes", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11564, "Length": 256, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZFrameInfo", "::", "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", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "SystemZMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "if", "(", "SystemZ", "::", "FP64RegClass", ".", "contains", "(", "Reg", ")", ")", "TII", ".", "loadRegFromStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", ",", "&", "SystemZ", "::", "FP64RegClass", ",", "TRI", ")", ";", "}", "unsigned", "LowReg", "=", "MFI", "->", "getLowReg", "(", ")", ",", "HighReg", "=", "MFI", "->", "getHighReg", "(", ")", ";", "unsigned", "StartOffset", "=", "RegSpillOffsets", "[", "LowReg", "]", ";", "if", "(", "StartOffset", ")", "{", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "(", "LowReg", "==", "HighReg", "?", "SystemZ", "::", "MOV64rm", ":", "SystemZ", "::", "MOV64rmm", ")", ")", ")", ";", "MIB", ".", "addReg", "(", "LowReg", ",", "RegState", "::", "Define", ")", ";", "if", "(", "LowReg", "!=", "HighReg", ")", "MIB", ".", "addReg", "(", "HighReg", ",", "RegState", "::", "Define", ")", ";", "MIB", ".", "addReg", "(", "hasFP", "(", "MF", ")", "?", "SystemZ", "::", "R11D", ":", "SystemZ", "::", "R15D", ")", ";", "MIB", ".", "addImm", "(", "StartOffset", ")", ";", "if", "(", "LowReg", "==", "HighReg", ")", "MIB", ".", "addReg", "(", "0", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "if", "(", "Reg", "!=", "LowReg", "&&", "Reg", "!=", "HighReg", ")", "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::FP64RegClass", "SystemZ::FP64RegClass", "SystemZ::MOV64rm", "SystemZ::MOV64rmm", "SystemZ::R11D", "SystemZ::R15D", "0", "0"], "File": "SystemZFrameInfo", "Func": "restoreCalleeSavedRegisters", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11565, "Length": 366, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_emit_approx_div", "(", "rtx", "quo", ",", "rtx", "num", ",", "rtx", "den", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "quo", ")", ";", "if", "(", "GET_MODE_INNER", "(", "mode", ")", "==", "HFmode", ")", "return", "false", ";", "bool", "use_approx_division_p", "=", "(", "flag_mlow_precision_div", "||", "(", "aarch64_tune_params", ".", "approx_modes", "->", "division", "&", "AARCH64_APPROX_MODE", "(", "mode", ")", ")", ")", ";", "if", "(", "!", "flag_finite_math_only", "||", "flag_trapping_math", "||", "!", "flag_unsafe_math_optimizations", "||", "optimize_function_for_size_p", "(", "cfun", ")", "||", "!", "use_approx_division_p", ")", "return", "false", ";", "if", "(", "!", "TARGET_SIMD", "&&", "VECTOR_MODE_P", "(", "mode", ")", ")", "return", "false", ";", "rtx", "xrcp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "(", "*", "get_recpe_type", "(", "mode", ")", ")", "(", "xrcp", ",", "den", ")", ")", ";", "int", "iterations", "=", "(", "GET_MODE_INNER", "(", "mode", ")", "==", "DFmode", ")", "?", "3", ":", "2", ";", "if", "(", "flag_mlow_precision_div", ")", "iterations", "--", ";", "rtx", "xtmp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "while", "(", "iterations", "--", ")", "{", "emit_insn", "(", "(", "*", "get_recps_type", "(", "mode", ")", ")", "(", "xtmp", ",", "xrcp", ",", "den", ")", ")", ";", "if", "(", "iterations", ">", "0", ")", "emit_set_insn", "(", "xrcp", ",", "gen_rtx_MULT", "(", "mode", ",", "xrcp", ",", "xtmp", ")", ")", ";", "}", "if", "(", "num", "!=", "CONST1_RTX", "(", "mode", ")", ")", "{", "rtx", "xnum", "=", "force_reg", "(", "mode", ",", "num", ")", ";", "emit_set_insn", "(", "xrcp", ",", "gen_rtx_MULT", "(", "mode", ",", "xrcp", ",", "xnum", ")", ")", ";", "}", "emit_set_insn", "(", "quo", ",", "gen_rtx_MULT", "(", "mode", ",", "xrcp", ",", "xtmp", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Emit", "the", "instruction", "sequence", "to", "compute", "the", "approximation", "for", "the", "division", "of", "NUM", "by", "DEN", "in", "QUO", "and", "return", "whether", "the", "sequence", "was", "emitted", "or", "not", "."], "TS_V_token": ["aarch64", "3", "2", "0"], "File": "aarch645", "Func": "aarch64_emit_approx_div", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11566, "Length": 240, "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": "aarch642", "Func": "aarch64_reassociation_width", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11567, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64DAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "switch", "(", "ConstraintID", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected asm memory constraint\"", ")", ";", "case", "InlineAsm", "::", "Constraint_i", ":", "case", "InlineAsm", "::", "Constraint_m", ":", "case", "InlineAsm", "::", "Constraint_Q", ":", "OutOps", ".", "push_back", "(", "Op", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["AArch64", "AArch64", "\"Unexpected asm memory constraint\""], "File": "AArch64ISelDAGToDAG", "Func": "SelectInlineAsmMemoryOperand", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11568, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCCallLowering", "::", "lowerCall", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "CallLoweringInfo", "&", "Info", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "given", "call", "instruction", ",", "including", "argument", "and", "return", "value", "marshalling", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCCallLowering", "Func": "lowerCall", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11569, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "SDNode", "*", "getInt64", "(", "SelectionDAG", "*", "CurDAG", ",", "SDNode", "*", "N", ")", "{", "SDLoc", "dl", "(", "N", ")", ";", "int64_t", "Imm", "=", "cast", "<", "ConstantSDNode", ">", "(", "N", ")", "->", "getZExtValue", "(", ")", ";", "return", "getInt64", "(", "CurDAG", ",", "dl", ",", "Imm", ")", ";", "}", ""], "natrual_language": ["Get", "a", "constant", "64-bit", "value", "."], "TS_V_token": ["PowerPC"], "File": "PPCISelDAGToDAG (2)2", "Func": "getInt64", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11570, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "X86TargetLowering", "::", "getNegatedExpression", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ",", "bool", "LegalOperations", ",", "bool", "ForCodeSize", ",", "NegatibleCost", "&", "Cost", ",", "unsigned", "Depth", ")", "const", "{", "if", "(", "SDValue", "Arg", "=", "isFNEG", "(", "DAG", ",", "Op", ".", "getNode", "(", ")", ",", "Depth", ")", ")", "{", "Cost", "=", "NegatibleCost", "::", "Cheaper", ";", "return", "DAG", ".", "getBitcast", "(", "Op", ".", "getValueType", "(", ")", ",", "Arg", ")", ";", "}", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "EVT", "SVT", "=", "VT", ".", "getScalarType", "(", ")", ";", "unsigned", "Opc", "=", "Op", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "case", "ISD", "::", "FMA", ":", "case", "X86ISD", "::", "FMSUB", ":", "case", "X86ISD", "::", "FNMADD", ":", "case", "X86ISD", "::", "FNMSUB", ":", "case", "X86ISD", "::", "FMADD_RND", ":", "case", "X86ISD", "::", "FMSUB_RND", ":", "case", "X86ISD", "::", "FNMADD_RND", ":", "case", "X86ISD", "::", "FNMSUB_RND", ":", "{", "if", "(", "!", "Op", ".", "hasOneUse", "(", ")", "||", "!", "Subtarget", ".", "hasAnyFMA", "(", ")", "||", "!", "isTypeLegal", "(", "VT", ")", "||", "!", "(", "SVT", "==", "MVT", "::", "f32", "||", "SVT", "==", "MVT", "::", "f64", ")", "||", "!", "isOperationLegal", "(", "ISD", "::", "FMA", ",", "VT", ")", ")", "break", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "NewOps", "(", "Op", ".", "getNumOperands", "(", ")", ",", "SDValue", "(", ")", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "!=", "3", ";", "++", "i", ")", "NewOps", "[", "i", "]", "=", "getCheaperNegatedExpression", "(", "Op", ".", "getOperand", "(", "i", ")", ",", "DAG", ",", "LegalOperations", ",", "ForCodeSize", ",", "Depth", "+", "1", ")", ";", "bool", "NegA", "=", "!", "!", "NewOps", "[", "0", "]", ";", "bool", "NegB", "=", "!", "!", "NewOps", "[", "1", "]", ";", "bool", "NegC", "=", "!", "!", "NewOps", "[", "2", "]", ";", "unsigned", "NewOpc", "=", "negateFMAOpcode", "(", "Opc", ",", "NegA", "!=", "NegB", ",", "NegC", ",", "true", ")", ";", "Cost", "=", "(", "NegA", "||", "NegB", "||", "NegC", ")", "?", "NegatibleCost", "::", "Cheaper", ":", "NegatibleCost", "::", "Neutral", ";", "for", "(", "int", "i", "=", "0", ",", "e", "=", "Op", ".", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "if", "(", "!", "NewOps", "[", "i", "]", ")", "NewOps", "[", "i", "]", "=", "Op", ".", "getOperand", "(", "i", ")", ";", "return", "DAG", ".", "getNode", "(", "NewOpc", ",", "SDLoc", "(", "Op", ")", ",", "VT", ",", "NewOps", ")", ";", "}", "case", "X86ISD", "::", "FRCP", ":", "if", "(", "SDValue", "NegOp0", "=", "getNegatedExpression", "(", "Op", ".", "getOperand", "(", "0", ")", ",", "DAG", ",", "LegalOperations", ",", "ForCodeSize", ",", "Cost", ",", "Depth", "+", "1", ")", ")", "return", "DAG", ".", "getNode", "(", "Opc", ",", "SDLoc", "(", "Op", ")", ",", "VT", ",", "NegOp0", ")", ";", "break", ";", "}", "return", "TargetLowering", "::", "getNegatedExpression", "(", "Op", ",", "DAG", ",", "LegalOperations", ",", "ForCodeSize", ",", "Cost", ",", "Depth", ")", ";", "}", ""], "natrual_language": ["Return", "the", "newly", "negated", "expression", "if", "the", "cost", "is", "not", "expensive", "and", "set", "the", "cost", "in", "Cost", "to", "indicate", "that", "if", "it", "is", "cheaper", "or", "neutral", "to", "do", "the", "negation", "."], "TS_V_token": ["X86", "X86", "ISD::FMA", "X86ISD::FMSUB", "X86ISD::FNMADD", "X86ISD::FNMSUB", "X86ISD::FMADD_RND", "X86ISD::FMSUB_RND", "X86ISD::FNMADD_RND", "X86ISD::FNMSUB_RND", "MVT::f32", "MVT::f64", "ISD::FMA", "4", "0", "3", "1", "0", "1", "2", "0", "X86ISD::FRCP", "0", "1"], "File": "X86ISelLowering101", "Func": "getNegatedExpression", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11571, "Length": 442, "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", ";", "if", "(", "const", "MCSectionCOFF", "*", "S", "=", "dyn_cast", "<", "MCSectionCOFF", ">", "(", "getObjFileLowering", "(", ")", ".", "getSectionForConstant", "(", "DL", ",", "Kind", ",", "C", ")", ")", ")", "{", "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": "X86AsmPrinter30", "Func": "GetCPISymbol", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11572, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "replaceBranchWithTailCall", "(", "MachineBasicBlock", "&", "MBB", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "BranchCond", ",", "const", "MachineInstr", "&", "TailCall", ")", "const", "{", "assert", "(", "canMakeTailCallConditional", "(", "BranchCond", ",", "TailCall", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "end", "(", ")", ";", "while", "(", "I", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "--", "I", ";", "if", "(", "I", "->", "isDebugValue", "(", ")", ")", "continue", ";", "if", "(", "!", "I", "->", "isBranch", "(", ")", ")", "assert", "(", "0", "&&", "\"Can't find the branch to replace!\"", ")", ";", "X86", "::", "CondCode", "CC", "=", "getCondFromBranchOpc", "(", "I", "->", "getOpcode", "(", ")", ")", ";", "assert", "(", "BranchCond", ".", "size", "(", ")", "==", "1", ")", ";", "if", "(", "CC", "!=", "BranchCond", "[", "0", "]", ".", "getImm", "(", ")", ")", "continue", ";", "break", ";", "}", "unsigned", "Opc", "=", "TailCall", ".", "getOpcode", "(", ")", "==", "X86", "::", "TCRETURNdi", "?", "X86", "::", "TCRETURNdicc", ":", "X86", "::", "TCRETURNdi64cc", ";", "auto", "MIB", "=", "BuildMI", "(", "MBB", ",", "I", ",", "MBB", ".", "findDebugLoc", "(", "I", ")", ",", "get", "(", "Opc", ")", ")", ";", "MIB", "->", "addOperand", "(", "TailCall", ".", "getOperand", "(", "0", ")", ")", ";", "MIB", ".", "addImm", "(", "0", ")", ";", "MIB", "->", "addOperand", "(", "BranchCond", "[", "0", "]", ")", ";", "MIB", ".", "copyImplicitOps", "(", "TailCall", ")", ";", "LivePhysRegs", "LiveRegs", "(", "getRegisterInfo", "(", ")", ")", ";", "LiveRegs", ".", "addLiveOuts", "(", "MBB", ")", ";", "SmallVector", "<", "std", "::", "pair", "<", "unsigned", ",", "const", "MachineOperand", "*", ">", ",", "8", ">", "Clobbers", ";", "LiveRegs", ".", "stepForward", "(", "*", "MIB", ",", "Clobbers", ")", ";", "for", "(", "const", "auto", "&", "C", ":", "Clobbers", ")", "{", "MIB", ".", "addReg", "(", "C", ".", "first", ",", "RegState", "::", "Implicit", ")", ";", "MIB", ".", "addReg", "(", "C", ".", "first", ",", "RegState", "::", "Implicit", "|", "RegState", "::", "Define", ")", ";", "}", "I", "->", "eraseFromParent", "(", ")", ";", "}", ""], "natrual_language": ["Replace", "the", "conditional", "branch", "in", "MBB", "with", "a", "conditional", "tail", "call", "."], "TS_V_token": ["X86", "X86", "0", "\"Can't find the branch to replace!\"", "X86::CondCode", "1", "0", "X86::TCRETURNdi", "X86::TCRETURNdicc", "X86::TCRETURNdi64cc", "0", "0", "0", "8"], "File": "X86InstrInfo137", "Func": "replaceBranchWithTailCall", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11573, "Length": 296, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "add_constant", "(", "int", "dest", ",", "int", "src", ",", "int", "value", ",", "int", "mark_frame", ")", "{", "rtx_insn", "*", "insn", ";", "int", "hi", ",", "lo", ";", "if", "(", "src", "==", "dest", "&&", "value", "==", "0", ")", "return", ";", "if", "(", "value", "==", "0", ")", "{", "insn", "=", "emit_move_insn", "(", "gen_rtx_REG", "(", "SImode", ",", "dest", ")", ",", "gen_rtx_REG", "(", "SImode", ",", "src", ")", ")", ";", "if", "(", "mark_frame", ")", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "return", ";", "}", "if", "(", "value", ">=", "-", "32768", "&&", "value", "<=", "32767", ")", "{", "insn", "=", "emit_insn", "(", "gen_addsi3", "(", "gen_rtx_REG", "(", "SImode", ",", "dest", ")", ",", "gen_rtx_REG", "(", "SImode", ",", "src", ")", ",", "GEN_INT", "(", "value", ")", ")", ")", ";", "if", "(", "mark_frame", ")", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "return", ";", "}", "hi", "=", "trunc_int_for_mode", "(", "value", "&", "0xffff0000", ",", "SImode", ")", ";", "lo", "=", "value", "&", "0xffff", ";", "insn", "=", "emit_move_insn", "(", "gen_rtx_REG", "(", "SImode", ",", "REGSAVE_CONTROL_TEMP", ")", ",", "GEN_INT", "(", "hi", ")", ")", ";", "if", "(", "lo", ")", "{", "insn", "=", "emit_insn", "(", "gen_iorsi3", "(", "gen_rtx_REG", "(", "SImode", ",", "REGSAVE_CONTROL_TEMP", ")", ",", "gen_rtx_REG", "(", "SImode", ",", "REGSAVE_CONTROL_TEMP", ")", ",", "GEN_INT", "(", "lo", ")", ")", ")", ";", "}", "insn", "=", "emit_insn", "(", "gen_addsi3", "(", "gen_rtx_REG", "(", "SImode", ",", "dest", ")", ",", "gen_rtx_REG", "(", "SImode", ",", "src", ")", ",", "gen_rtx_REG", "(", "SImode", ",", "REGSAVE_CONTROL_TEMP", ")", ")", ")", ";", "if", "(", "mark_frame", ")", "{", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "gen_rtx_REG", "(", "SImode", ",", "dest", ")", ",", "gen_rtx_PLUS", "(", "SImode", ",", "gen_rtx_REG", "(", "SImode", ",", "dest", ")", ",", "GEN_INT", "(", "value", ")", ")", ")", ")", ";", "}", "}", ""], "natrual_language": ["Add", "a", "constant", "to", "the", "pool", "and", "return", "its", "label", "."], "TS_V_token": ["mep", "0", "0", "1", "32768", "32767", "1", "0xffff0000", "0xffff", "1"], "File": "mep1", "Func": "add_constant", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11574, "Length": 275, "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": 11575, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_delegitimize_tls_address", "(", "rtx", "orig_x", ")", "{", "rtx", "x", "=", "orig_x", ",", "unspec", ";", "struct", "ix86_address", "addr", ";", "if", "(", "!", "TARGET_TLS_DIRECT_SEG_REFS", ")", "return", "orig_x", ";", "if", "(", "MEM_P", "(", "x", ")", ")", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "PLUS", "||", "GET_MODE", "(", "x", ")", "!=", "Pmode", ")", "return", "orig_x", ";", "if", "(", "ix86_decompose_address", "(", "x", ",", "&", "addr", ")", "==", "0", "||", "addr", ".", "seg", "!=", "DEFAULT_TLS_SEG_REG", "||", "addr", ".", "disp", "==", "NULL_RTX", "||", "GET_CODE", "(", "addr", ".", "disp", ")", "!=", "CONST", ")", "return", "orig_x", ";", "unspec", "=", "XEXP", "(", "addr", ".", "disp", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "unspec", ")", "==", "PLUS", "&&", "CONST_INT_P", "(", "XEXP", "(", "unspec", ",", "1", ")", ")", ")", "unspec", "=", "XEXP", "(", "unspec", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "unspec", ")", "!=", "UNSPEC", "||", "XINT", "(", "unspec", ",", "1", ")", "!=", "UNSPEC_NTPOFF", ")", "return", "orig_x", ";", "x", "=", "XVECEXP", "(", "unspec", ",", "0", ",", "0", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", ")", ";", "if", "(", "unspec", "!=", "XEXP", "(", "addr", ".", "disp", ",", "0", ")", ")", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "x", ",", "XEXP", "(", "XEXP", "(", "addr", ".", "disp", ",", "0", ")", ",", "1", ")", ")", ";", "if", "(", "addr", ".", "index", ")", "{", "rtx", "idx", "=", "addr", ".", "index", ";", "if", "(", "addr", ".", "scale", "!=", "1", ")", "idx", "=", "gen_rtx_MULT", "(", "Pmode", ",", "idx", ",", "GEN_INT", "(", "addr", ".", "scale", ")", ")", ";", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "idx", ",", "x", ")", ";", "}", "if", "(", "addr", ".", "base", ")", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "addr", ".", "base", ",", "x", ")", ";", "if", "(", "MEM_P", "(", "orig_x", ")", ")", "x", "=", "replace_equiv_address_nv", "(", "orig_x", ",", "x", ")", ";", "return", "x", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "ix86_delegitimize_address", ".", "Attempt", "to", "delegitimize", "TLS", "local-exec", "accesses", "."], "TS_V_token": ["i386", "0", "0", "0", "1", "0", "1", "0", "0", "0", "0", "1", "1"], "File": "i386", "Func": "ix86_delegitimize_tls_address", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11576, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_canonical_va_list_type", "(", "tree", "type", ")", "{", "if", "(", "TARGET_64BIT", ")", "{", "if", "(", "lookup_attribute", "(", "\"ms_abi va_list\"", ",", "TYPE_ATTRIBUTES", "(", "type", ")", ")", ")", "return", "ms_va_list_type_node", ";", "if", "(", "(", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", "&&", "integer_zerop", "(", "array_type_nelts", "(", "type", ")", ")", ")", "||", "POINTER_TYPE_P", "(", "type", ")", ")", "{", "tree", "elem_type", "=", "TREE_TYPE", "(", "type", ")", ";", "if", "(", "TREE_CODE", "(", "elem_type", ")", "==", "RECORD_TYPE", "&&", "lookup_attribute", "(", "\"sysv_abi va_list\"", ",", "TYPE_ATTRIBUTES", "(", "elem_type", ")", ")", ")", "return", "sysv_va_list_type_node", ";", "}", "return", "NULL_TREE", ";", "}", "return", "std_canonical_va_list_type", "(", "type", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "canonical", "va_list", "type", "specified", "by", "TYPE", ".", "If", "there", "is", "no", "valid", "TYPE", "provided", ",", "it", "return", "NULL_TREE", "."], "TS_V_token": ["i386", "\"ms_abi va_list\"", "\"sysv_abi va_list\""], "File": "i386", "Func": "ix86_canonical_va_list_type", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11577, "Length": 95, "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": ["powerpcspe", "\"\\nrs6000_legitimate_address_p: return = %s, mode = %s, \"", "\"strict = %d, reload = %s, code = %s\\n\"", "\"true\"", "\"false\"", "\"after\"", "\"progress\"", "\"before\""], "File": "powerpcspe", "Func": "rs6000_debug_legitimate_address_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11578, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsOs16", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "bool", "usingMask", "=", "Mips32FunctionMask", ".", "length", "(", ")", ">", "0", ";", "bool", "doneUsingMask", "=", "false", ";", "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", "(", "auto", "&", "F", ":", "M", ")", "{", "if", "(", "F", ".", "isDeclaration", "(", ")", ")", "continue", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Working on \"", "<<", "F", ".", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "if", "(", "usingMask", ")", "{", "if", "(", "!", "doneUsingMask", ")", "{", "if", "(", "functionIndex", "==", "Mips32FunctionMask", ".", "length", "(", ")", ")", "functionIndex", "=", "0", ";", "switch", "(", "Mips32FunctionMask", "[", "functionIndex", "]", ")", "{", "case", "'1'", ":", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"mask forced mips32: \"", "<<", "F", ".", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "F", ".", "addFnAttr", "(", "\"nomips16\"", ")", ";", "break", ";", "case", "'.'", ":", "doneUsingMask", "=", "true", ";", "break", ";", "default", ":", "break", ";", "}", "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": "MipsOs161", "Func": "runOnModule", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11579, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "rtx_code", "ix86_fp_compare_code_to_integer", "(", "enum", "rtx_code", "code", ")", "{", "switch", "(", "code", ")", "{", "case", "GT", ":", "return", "GTU", ";", "case", "GE", ":", "return", "GEU", ";", "case", "ORDERED", ":", "case", "UNORDERED", ":", "return", "code", ";", "break", ";", "case", "UNEQ", ":", "return", "EQ", ";", "break", ";", "case", "UNLT", ":", "return", "LTU", ";", "break", ";", "case", "UNLE", ":", "return", "LEU", ";", "break", ";", "case", "LTGT", ":", "return", "NE", ";", "break", ";", "default", ":", "return", "UNKNOWN", ";", "}", "}", ""], "natrual_language": ["Convert", "comparison", "codes", "we", "use", "to", "represent", "FP", "comparison", "to", "integer", "code", "that", "will", "result", "in", "proper", "branch", ".", "Return", "UNKNOWN", "if", "no", "such", "code", "is", "available", "."], "TS_V_token": ["i386"], "File": "i3863", "Func": "ix86_fp_compare_code_to_integer", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11580, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsOptimizeMathLibCalls", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "DisableOpt", ")", "return", "false", ";", "const", "MipsSubtarget", "&", "Subtarget", "=", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "if", "(", "Subtarget", ".", "inMips16Mode", "(", ")", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "Function", "::", "iterator", "CurrBB", ";", "const", "TargetLibraryInfo", "*", "LibInfo", "=", "&", "getAnalysis", "<", "TargetLibraryInfo", ">", "(", ")", ";", "for", "(", "Function", "::", "iterator", "BB", "=", "F", ".", "begin", "(", ")", ",", "BE", "=", "F", ".", "end", "(", ")", ";", "BB", "!=", "BE", ";", ")", "{", "CurrBB", "=", "BB", "++", ";", "for", "(", "BasicBlock", "::", "iterator", "II", "=", "CurrBB", "->", "begin", "(", ")", ",", "IE", "=", "CurrBB", "->", "end", "(", ")", ";", "II", "!=", "IE", ";", "++", "II", ")", "{", "CallInst", "*", "Call", "=", "dyn_cast", "<", "CallInst", ">", "(", "&", "*", "II", ")", ";", "Function", "*", "CalledFunc", ";", "if", "(", "!", "Call", "||", "!", "(", "CalledFunc", "=", "Call", "->", "getCalledFunction", "(", ")", ")", ")", "continue", ";", "LibFunc", "::", "Func", "LibFunc", ";", "Attribute", "A", "=", "CalledFunc", "->", "getAttributes", "(", ")", ".", "getAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "\"use-soft-float\"", ")", ";", "if", "(", "(", "A", ".", "isStringAttribute", "(", ")", "&&", "(", "A", ".", "getValueAsString", "(", ")", "==", "\"true\"", ")", ")", "||", "TM", ".", "Options", ".", "UseSoftFloat", ")", "continue", ";", "if", "(", "CalledFunc", "->", "hasLocalLinkage", "(", ")", "||", "!", "CalledFunc", "->", "hasName", "(", ")", "||", "!", "LibInfo", "->", "getLibFunc", "(", "CalledFunc", "->", "getName", "(", ")", ",", "LibFunc", ")", ")", "continue", ";", "switch", "(", "LibFunc", ")", "{", "case", "LibFunc", "::", "sqrtf", ":", "case", "LibFunc", "::", "sqrt", ":", "if", "(", "optimizeSQRT", "(", "Call", ",", "CalledFunc", ",", "*", "CurrBB", ",", "BB", ")", ")", "break", ";", "continue", ";", "default", ":", "continue", ";", "}", "Changed", "=", "true", ";", "break", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "\"use-soft-float\"", "\"true\""], "File": "MipsOptimizeMathLibCalls", "Func": "runOnFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11581, "Length": 294, "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": 11582, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "following_call", "(", "rtx", "insn", ")", "{", "if", "(", "!", "TARGET_JUMP_IN_DELAY", ")", "return", "0", ";", "insn", "=", "PREV_INSN", "(", "insn", ")", ";", "while", "(", "insn", "&&", "GET_CODE", "(", "insn", ")", "==", "NOTE", ")", "insn", "=", "PREV_INSN", "(", "insn", ")", ";", "if", "(", "insn", "&&", "(", "(", "GET_CODE", "(", "insn", ")", "==", "CALL_INSN", "&&", "get_attr_type", "(", "insn", ")", "!=", "TYPE_DYNCALL", ")", "||", "(", "GET_CODE", "(", "insn", ")", "==", "INSN", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "SEQUENCE", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "USE", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "CLOBBER", "&&", "get_attr_type", "(", "insn", ")", "==", "TYPE_MILLI", ")", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "INSN", "(", "a", "jump", "insn", ")", "immediately", "follows", "a", "call", "to", "a", "named", "function", ".", "This", "is", "used", "to", "avoid", "filling", "the", "delay", "slot", "of", "the", "jump", "since", "it", "can", "usually", "be", "eliminated", "by", "modifying", "RP", "in", "the", "delay", "slot", "of", "the", "call", "."], "TS_V_token": ["pa", "0", "1", "0"], "File": "pa3", "Func": "following_call", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11583, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCAIXAsmPrinter", "::", "emitEndOfAsmFile", "(", "Module", "&", "M", ")", "{", "if", "(", "M", ".", "empty", "(", ")", ")", "return", ";", "OutStreamer", "->", "SwitchSection", "(", "getObjFileLowering", "(", ")", ".", "getTOCBaseSection", "(", ")", ")", ";", "PPCTargetStreamer", "*", "TS", "=", "static_cast", "<", "PPCTargetStreamer", "*", ">", "(", "OutStreamer", "->", "getTargetStreamer", "(", ")", ")", ";", "for", "(", "auto", "&", "I", ":", "TOC", ")", "{", "MCSectionXCOFF", "*", "TCEntry", "=", "cast", "<", "MCSectionXCOFF", ">", "(", "getObjFileLowering", "(", ")", ".", "getSectionForTOCEntry", "(", "I", ".", "first", ",", "TM", ")", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "TCEntry", ")", ";", "OutStreamer", "->", "emitLabel", "(", "I", ".", "second", ")", ";", "if", "(", "TS", "!=", "nullptr", ")", "TS", "->", "emitTCEntry", "(", "*", "I", ".", "first", ")", ";", "}", "}", ""], "natrual_language": ["This", "virtual", "method", "can", "be", "overridden", "by", "targets", "that", "want", "to", "emit", "something", "at", "the", "end", "of", "their", "file", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC"], "File": "PPCAsmPrinter10", "Func": "emitEndOfAsmFile", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11584, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sparc_legitimize_pic_address", "(", "rtx", "orig", ",", "rtx", "reg", ")", "{", "bool", "gotdata_op", "=", "false", ";", "if", "(", "GET_CODE", "(", "orig", ")", "==", "SYMBOL_REF", "||", "(", "GET_CODE", "(", "orig", ")", "==", "LABEL_REF", "&&", "!", "can_use_mov_pic_label_ref", "(", "orig", ")", ")", ")", "{", "rtx", "pic_ref", ",", "address", ";", "rtx_insn", "*", "insn", ";", "if", "(", "reg", "==", "0", ")", "{", "gcc_assert", "(", "can_create_pseudo_p", "(", ")", ")", ";", "reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "}", "if", "(", "flag_pic", "==", "2", ")", "{", "rtx", "temp_reg", "=", "(", "!", "can_create_pseudo_p", "(", ")", "?", "reg", ":", "gen_reg_rtx", "(", "Pmode", ")", ")", ";", "if", "(", "TARGET_ARCH64", ")", "{", "emit_insn", "(", "gen_movdi_high_pic", "(", "temp_reg", ",", "orig", ")", ")", ";", "emit_insn", "(", "gen_movdi_lo_sum_pic", "(", "temp_reg", ",", "temp_reg", ",", "orig", ")", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_movsi_high_pic", "(", "temp_reg", ",", "orig", ")", ")", ";", "emit_insn", "(", "gen_movsi_lo_sum_pic", "(", "temp_reg", ",", "temp_reg", ",", "orig", ")", ")", ";", "}", "address", "=", "temp_reg", ";", "gotdata_op", "=", "true", ";", "}", "else", "address", "=", "orig", ";", "crtl", "->", "uses_pic_offset_table", "=", "1", ";", "if", "(", "gotdata_op", ")", "{", "if", "(", "TARGET_ARCH64", ")", "insn", "=", "emit_insn", "(", "gen_movdi_pic_gotdata_op", "(", "reg", ",", "pic_offset_table_rtx", ",", "address", ",", "orig", ")", ")", ";", "else", "insn", "=", "emit_insn", "(", "gen_movsi_pic_gotdata_op", "(", "reg", ",", "pic_offset_table_rtx", ",", "address", ",", "orig", ")", ")", ";", "}", "else", "{", "pic_ref", "=", "gen_const_mem", "(", "Pmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "pic_offset_table_rtx", ",", "address", ")", ")", ";", "insn", "=", "emit_move_insn", "(", "reg", ",", "pic_ref", ")", ";", "}", "set_unique_reg_note", "(", "insn", ",", "REG_EQUAL", ",", "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", "=", "sparc_legitimize_pic_address", "(", "XEXP", "(", "XEXP", "(", "orig", ",", "0", ")", ",", "0", ")", ",", "reg", ")", ";", "offset", "=", "sparc_legitimize_pic_address", "(", "XEXP", "(", "XEXP", "(", "orig", ",", "0", ")", ",", "1", ")", ",", "base", "==", "reg", "?", "NULL_RTX", ":", "reg", ")", ";", "if", "(", "GET_CODE", "(", "offset", ")", "==", "CONST_INT", ")", "{", "if", "(", "SMALL_INT", "(", "offset", ")", ")", "return", "plus_constant", "(", "Pmode", ",", "base", ",", "INTVAL", "(", "offset", ")", ")", ";", "else", "if", "(", "can_create_pseudo_p", "(", ")", ")", "offset", "=", "force_reg", "(", "Pmode", ",", "offset", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "return", "gen_rtx_PLUS", "(", "Pmode", ",", "base", ",", "offset", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "orig", ")", "==", "LABEL_REF", ")", "crtl", "->", "uses_pic_offset_table", "=", "1", ";", "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": ["sparc", "0", "2", "1", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1"], "File": "sparc4", "Func": "sparc_legitimize_pic_address", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11585, "Length": 464, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_handle_attr_cpu", "(", "const", "char", "*", "str", ",", "const", "char", "*", "pragma_or_attr", ")", "{", "const", "struct", "processor", "*", "tmp_cpu", "=", "NULL", ";", "enum", "aarch64_parse_opt_result", "parse_res", "=", "aarch64_parse_cpu", "(", "str", ",", "&", "tmp_cpu", ",", "&", "aarch64_isa_flags", ")", ";", "if", "(", "parse_res", "==", "AARCH64_PARSE_OK", ")", "{", "gcc_assert", "(", "tmp_cpu", ")", ";", "selected_tune", "=", "tmp_cpu", ";", "explicit_tune_core", "=", "selected_tune", "->", "ident", ";", "selected_arch", "=", "&", "all_architectures", "[", "tmp_cpu", "->", "arch", "]", ";", "explicit_arch", "=", "selected_arch", "->", "arch", ";", "return", "true", ";", "}", "switch", "(", "parse_res", ")", "{", "case", "AARCH64_PARSE_MISSING_ARG", ":", "error", "(", "\"missing cpu name in 'cpu' target %s\"", ",", "pragma_or_attr", ")", ";", "break", ";", "case", "AARCH64_PARSE_INVALID_ARG", ":", "error", "(", "\"unknown value %qs for 'cpu' target %s\"", ",", "str", ",", "pragma_or_attr", ")", ";", "aarch64_print_hint_for_core", "(", "str", ")", ";", "break", ";", "case", "AARCH64_PARSE_INVALID_FEATURE", ":", "error", "(", "\"invalid feature modifier %qs for 'cpu' target %s\"", ",", "str", ",", "pragma_or_attr", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Handle", "the", "argument", "CPU_STR", "to", "the", "cpu=", "target", "attribute", ".", "PRAGMA_OR_ATTR", "is", "used", "in", "potential", "error", "messages", "."], "TS_V_token": ["aarch64", "\"missing cpu name in 'cpu' target %s\"", "\"unknown value %qs for 'cpu' target %s\"", "\"invalid feature modifier %qs for 'cpu' target %s\""], "File": "aarch644", "Func": "aarch64_handle_attr_cpu", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11586, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZElimCompare", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "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)", "Func": "runOnMachineFunction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11587, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "function_arg_advance_32", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "HOST_WIDE_INT", "bytes", ",", "HOST_WIDE_INT", "words", ")", "{", "int", "res", "=", "0", ";", "bool", "error_p", "=", "false", ";", "if", "(", "TARGET_IAMCU", ")", "{", "if", "(", "!", "VECTOR_MODE_P", "(", "mode", ")", "&&", "bytes", "<=", "8", ")", "goto", "pass_in_reg", ";", "return", "res", ";", "}", "switch", "(", "mode", ")", "{", "default", ":", "break", ";", "case", "E_BLKmode", ":", "if", "(", "bytes", "<", "0", ")", "break", ";", "case", "E_DImode", ":", "case", "E_SImode", ":", "case", "E_HImode", ":", "case", "E_QImode", ":", "pass_in_reg", ":", "cum", "->", "words", "+=", "words", ";", "cum", "->", "nregs", "-=", "words", ";", "cum", "->", "regno", "+=", "words", ";", "if", "(", "cum", "->", "nregs", ">=", "0", ")", "res", "=", "words", ";", "if", "(", "cum", "->", "nregs", "<=", "0", ")", "{", "cum", "->", "nregs", "=", "0", ";", "cfun", "->", "machine", "->", "arg_reg_available", "=", "false", ";", "cum", "->", "regno", "=", "0", ";", "}", "break", ";", "case", "E_OImode", ":", "gcc_unreachable", "(", ")", ";", "case", "E_DFmode", ":", "if", "(", "cum", "->", "float_in_sse", "==", "-", "1", ")", "error_p", "=", "true", ";", "if", "(", "cum", "->", "float_in_sse", "<", "2", ")", "break", ";", "case", "E_SFmode", ":", "if", "(", "cum", "->", "float_in_sse", "==", "-", "1", ")", "error_p", "=", "true", ";", "if", "(", "cum", "->", "float_in_sse", "<", "1", ")", "break", ";", "case", "E_V16HFmode", ":", "case", "E_V16BFmode", ":", "case", "E_V8SFmode", ":", "case", "E_V8SImode", ":", "case", "E_V64QImode", ":", "case", "E_V32HImode", ":", "case", "E_V16SImode", ":", "case", "E_V8DImode", ":", "case", "E_V32HFmode", ":", "case", "E_V32BFmode", ":", "case", "E_V16SFmode", ":", "case", "E_V8DFmode", ":", "case", "E_V32QImode", ":", "case", "E_V16HImode", ":", "case", "E_V4DFmode", ":", "case", "E_V4DImode", ":", "case", "E_TImode", ":", "case", "E_V16QImode", ":", "case", "E_V8HImode", ":", "case", "E_V4SImode", ":", "case", "E_V2DImode", ":", "case", "E_V8HFmode", ":", "case", "E_V8BFmode", ":", "case", "E_V4SFmode", ":", "case", "E_V2DFmode", ":", "if", "(", "!", "type", "||", "!", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "cum", "->", "sse_words", "+=", "words", ";", "cum", "->", "sse_nregs", "-=", "1", ";", "cum", "->", "sse_regno", "+=", "1", ";", "if", "(", "cum", "->", "sse_nregs", "<=", "0", ")", "{", "cum", "->", "sse_nregs", "=", "0", ";", "cum", "->", "sse_regno", "=", "0", ";", "}", "}", "break", ";", "case", "E_V8QImode", ":", "case", "E_V4HImode", ":", "case", "E_V4HFmode", ":", "case", "E_V4BFmode", ":", "case", "E_V2SImode", ":", "case", "E_V2SFmode", ":", "case", "E_V1TImode", ":", "case", "E_V1DImode", ":", "if", "(", "!", "type", "||", "!", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "cum", "->", "mmx_words", "+=", "words", ";", "cum", "->", "mmx_nregs", "-=", "1", ";", "cum", "->", "mmx_regno", "+=", "1", ";", "if", "(", "cum", "->", "mmx_nregs", "<=", "0", ")", "{", "cum", "->", "mmx_nregs", "=", "0", ";", "cum", "->", "mmx_regno", "=", "0", ";", "}", "}", "break", ";", "}", "if", "(", "error_p", ")", "{", "cum", "->", "float_in_sse", "=", "0", ";", "error", "(", "\"calling %qD with SSE calling convention without \"", "\"SSE/SSE2 enabled\"", ",", "cum", "->", "decl", ")", ";", "sorry", "(", "\"this is a GCC bug that can be worked around by adding \"", "\"attribute used to function called\"", ")", ";", "}", "return", "res", ";", "}", ""], "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", ".", ")", "Return", "a", "number", "of", "integer", "regsiters", "advanced", "over", "."], "TS_V_token": ["i386", "0", "8", "0", "0", "0", "0", "0", "1", "2", "1", "1", "1", "1", "0", "0", "0", "1", "1", "0", "0", "0", "0", "\"calling %qD with SSE calling convention without \"", "\"SSE/SSE2 enabled\"", "\"this is a GCC bug that can be worked around by adding \"", "\"attribute used to function called\""], "File": "i3861", "Func": "function_arg_advance_32", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11588, "Length": 452, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "pru_insert_loop_label_last", "(", "rtx_insn", "*", "last_insn", ",", "rtx_code_label", "*", "label", ",", "bool", "shared", ")", "{", "rtx_insn", "*", "next", ",", "*", "prev", ";", "int", "count", "=", "0", ",", "code", ",", "icode", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"considering end of repeat loop at insn %d\\n\"", ",", "INSN_UID", "(", "last_insn", ")", ")", ";", "prev", "=", "PREV_INSN", "(", "last_insn", ")", ";", "next", "=", "last_insn", ";", "if", "(", "!", "shared", ")", "while", "(", "prev", "!=", "0", ")", "{", "code", "=", "GET_CODE", "(", "prev", ")", ";", "if", "(", "code", "==", "CALL_INSN", "||", "code", "==", "CODE_LABEL", "||", "code", "==", "BARRIER", ")", "break", ";", "if", "(", "INSN_P", "(", "prev", ")", ")", "{", "if", "(", "GET_CODE", "(", "PATTERN", "(", "prev", ")", ")", "==", "SEQUENCE", ")", "prev", "=", "as_a", "<", "rtx_insn", "*", ">", "(", "XVECEXP", "(", "PATTERN", "(", "prev", ")", ",", "0", ",", "1", ")", ")", ";", "icode", "=", "recog_memoized", "(", "prev", ")", ";", "if", "(", "icode", "<", "0", "||", "icode", "==", "CODE_FOR_pruloophi", "||", "icode", "==", "CODE_FOR_pruloopsi", ")", "break", ";", "count", "++", ";", "next", "=", "prev", ";", "if", "(", "dump_file", ")", "print_rtl_single", "(", "dump_file", ",", "next", ")", ";", "if", "(", "count", "==", "2", ")", "break", ";", "}", "prev", "=", "PREV_INSN", "(", "prev", ")", ";", "}", "if", "(", "dump_file", "&&", "count", "<", "2", ")", "fprintf", "(", "dump_file", ",", "\"Adding %d nop%s inside loop\\n\\n\"", ",", "2", "-", "count", ",", "count", "==", "1", "?", "\"\"", ":", "\"s\"", ")", ";", "for", "(", ";", "count", "<", "2", ";", "count", "++", ")", "emit_insn_before", "(", "gen_nop", "(", ")", ",", "last_insn", ")", ";", "emit_label_before", "(", "label", ",", "last_insn", ")", ";", "return", "last_insn", ";", "}", ""], "natrual_language": ["Figure", "out", "where", "to", "put", "LABEL", ",", "which", "is", "the", "label", "for", "a", "repeat", "loop", ".", "The", "loop", "ends", "just", "before", "LAST_INSN", ".", "If", "SHARED", ",", "insns", "other", "than", "the", "``", "repeat", "''", "might", "use", "LABEL", "to", "jump", "to", "the", "loop", "'s", "continuation", "point", ".", "Return", "the", "last", "instruction", "in", "the", "adjusted", "loop", "."], "TS_V_token": ["pru", "0", "\"considering end of repeat loop at insn %d\\n\"", "0", "0", "1", "0", "2", "2", "\"Adding %d nop%s inside loop\\n\\n\"", "2", "1", "\"\"", "\"s\"", "2"], "File": "pru", "Func": "pru_insert_loop_label_last", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11589, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "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": "SparcAsmBackend", "Func": "createObjectWriter", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11590, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_no_early_alu_shift_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", "=", "op", ";", "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", "or", "amount", "dependency", "on", "the", "result", "of", "PRODUCER", "."], "TS_V_token": ["arm", "0", "0", "0", "0", "0", "1", "0"], "File": "arm3", "Func": "arm_no_early_alu_shift_dep", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11591, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_modes_tieable_p", "(", "machine_mode", "mode1", ",", "machine_mode", "mode2", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "mode1", ")", "==", "GET_MODE_CLASS", "(", "mode2", ")", ")", "return", "true", ";", "if", "(", "(", "TARGET_NEON", "&&", "(", "VALID_NEON_DREG_MODE", "(", "mode1", ")", "||", "VALID_NEON_QREG_MODE", "(", "mode1", ")", "||", "VALID_NEON_STRUCT_MODE", "(", "mode1", ")", ")", "&&", "(", "VALID_NEON_DREG_MODE", "(", "mode2", ")", "||", "VALID_NEON_QREG_MODE", "(", "mode2", ")", "||", "VALID_NEON_STRUCT_MODE", "(", "mode2", ")", ")", ")", "||", "(", "TARGET_HAVE_MVE", "&&", "(", "VALID_MVE_MODE", "(", "mode1", ")", "||", "VALID_MVE_STRUCT_MODE", "(", "mode1", ")", ")", "&&", "(", "VALID_MVE_MODE", "(", "mode2", ")", "||", "VALID_MVE_STRUCT_MODE", "(", "mode2", ")", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "MODES_TIEABLE_P", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_modes_tieable_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11592, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "rs6000_trampoline_size", "(", "void", ")", "{", "int", "ret", "=", "0", ";", "switch", "(", "DEFAULT_ABI", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "ABI_AIX", ":", "ret", "=", "(", "TARGET_32BIT", ")", "?", "12", ":", "24", ";", "break", ";", "case", "ABI_DARWIN", ":", "case", "ABI_V4", ":", "ret", "=", "(", "TARGET_32BIT", ")", "?", "40", ":", "48", ";", "break", ";", "}", "return", "ret", ";", "}", ""], "natrual_language": ["Length", "in", "units", "of", "the", "trampoline", "for", "entering", "a", "nested", "function", "."], "TS_V_token": ["rs6000", "0", "12", "24", "40", "48"], "File": "rs60003", "Func": "rs6000_trampoline_size", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11593, "Length": 60, "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", ")", "{", "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": "MipsISelLowering115", "Func": "LowerCallResult", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11594, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_pad_arg_upward", "(", "enum", "machine_mode", "mode", ",", "tree", "type", ")", "{", "if", "(", "!", "BYTES_BIG_ENDIAN", ")", "return", "true", ";", "if", "(", "type", "!=", "0", "?", "INTEGRAL_TYPE_P", "(", "type", ")", "||", "POINTER_TYPE_P", "(", "type", ")", ":", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_INT", ")", "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": "mips3", "Func": "mips_pad_arg_upward", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11595, "Length": 113, "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", ")", "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": ["SystemZ", "SystemZ", "ISD::InputArg", "\"Unsupported calling convention\""], "File": "SystemZISelLowering107", "Func": "LowerFormalArguments", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11596, "Length": 84, "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": 11597, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "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", "=", "getFrameRegister", "(", "MF", ")", ";", "int64_t", "Offset", ";", "Offset", "=", "spOffset", "+", "(", "int64_t", ")", "stackSize", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "getImm", "(", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"Offset : \"", "<<", "Offset", "<<", "\"\\n\"", "<<", "\"<--------->\\n\"", ")", ";", "if", "(", "!", "MI", ".", "isDebugValue", "(", ")", "&&", "!", "isInt", "<", "16", ">", "(", "Offset", ")", ")", "{", "assert", "(", "\"(!MI.isDebugValue() && !isInt<16>(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": ["Cpu0", "Cpu0", "0", "\"Instr doesn't have FrameIndex operand!\"", "\"\\nFunction : \"", "\"\\n\"", "\"<--------->\\n\"", "\"FrameIndex : \"", "\"\\n\"", "\"spOffset : \"", "\"\\n\"", "\"stackSize : \"", "\"\\n\"", "0", "1", "0", "1", "1", "\"Offset : \"", "\"\\n\"", "\"<--------->\\n\"", "16", "\"(!MI.isDebugValue() && !isInt<16>(Offset))\"", "1"], "File": "Cpu0RegisterInfo2", "Func": "eliminateFrameIndex", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11598, "Length": 354, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "Predicate", "getPredicate", "(", "unsigned", "Condition", ",", "unsigned", "Hint", ")", "{", "return", "(", "Predicate", ")", "(", "(", "Condition", "&", "~", "BR_HINT_MASK", ")", "|", "(", "Hint", "&", "BR_HINT_MASK", ")", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "comparison", "predicate", "underlying", "the", "intrinsic", "."], "TS_V_token": ["PowerPC"], "File": "PPCPredicates10", "Func": "getPredicate", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11599, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FastISel", "*", "MipsTargetLowering", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "funcInfo", ",", "const", "TargetLibraryInfo", "*", "libInfo", ")", "const", "{", "const", "MipsTargetMachine", "&", "TM", "=", "static_cast", "<", "const", "MipsTargetMachine", "&", ">", "(", "funcInfo", ".", "MF", "->", "getTarget", "(", ")", ")", ";", "bool", "UseFastISel", "=", "TM", ".", "Options", ".", "EnableFastISel", "&&", "Subtarget", ".", "hasMips32", "(", ")", "&&", "!", "Subtarget", ".", "hasMips32r6", "(", ")", "&&", "!", "Subtarget", ".", "inMips16Mode", "(", ")", "&&", "!", "Subtarget", ".", "inMicroMipsMode", "(", ")", ";", "if", "(", "!", "TM", ".", "isPositionIndependent", "(", ")", "||", "!", "TM", ".", "getABI", "(", ")", ".", "IsO32", "(", ")", ")", "UseFastISel", "=", "false", ";", "return", "UseFastISel", "?", "Mips", "::", "createFastISel", "(", "funcInfo", ",", "libInfo", ")", ":", "nullptr", ";", "}", ""], "natrual_language": ["This", "method", "returns", "a", "target", "specific", "FastISel", "object", ",", "or", "null", "if", "the", "target", "does", "not", "support", "``", "fast", "''", "ISel", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::createFastISel"], "File": "MipsISelLowering103", "Func": "createFastISel", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11600, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "shouldSplatInsEltVarIndex", "(", "EVT", "VT", ")", "const", "{", "return", "isTypeLegal", "(", "VT", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "inserting", "a", "scalar", "into", "a", "variable", "element", "of", "an", "undef", "vector", "is", "more", "efficiently", "handled", "by", "splatting", "the", "scalar", "instead", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering (2)5", "Func": "shouldSplatInsEltVarIndex", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11601, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCOperand", "SystemZMCInstLower", "::", "lowerOperand", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "case", "MachineOperand", "::", "MO_Register", ":", "return", "MCOperand", "::", "CreateReg", "(", "MO", ".", "getReg", "(", ")", ")", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "return", "MCOperand", "::", "CreateImm", "(", "MO", ".", "getImm", "(", ")", ")", ";", "default", ":", "{", "MCSymbolRefExpr", "::", "VariantKind", "Kind", "=", "getVariantKind", "(", "MO", ".", "getTargetFlags", "(", ")", ")", ";", "return", "MCOperand", "::", "CreateExpr", "(", "getExpr", "(", "MO", ",", "Kind", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["Wrapper", "for", "MCInstLowering.lowerOperand", "(", ")", "for", "the", "tblgen'erated", "pseudo", "lowering", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZMCInstLower14", "Func": "lowerOperand", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11602, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"DCPU16 Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Dcpu16", "\"DCPU16 Assembly Printer\""], "File": "Dcpu16AsmPrinter", "Func": "getPassName", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11603, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TargetLowering", "::", "getAddressSpace", "(", ")", "const", "{", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "return", "(", "getTargetMachine", "(", ")", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Kernel", ")", "?", "256", ":", "257", ";", "return", "256", ";", "}", ""], "natrual_language": ["Return", "the", "address", "space", "of", "the", "Pointer", "type", "."], "TS_V_token": ["X86", "X86", "256", "257", "256"], "File": "X86ISelLowering (2)5", "Func": "getAddressSpace", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11604, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "override", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "TOY", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_toy_mov_hi16_pcrel\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_toy_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": ["TOY", "TOY::NumTargetFixupKinds", "\"fixup_toy_mov_hi16_pcrel\"", "0", "32", "\"fixup_toy_mov_lo16_pcrel\"", "0", "32", "\"Invalid kind!\""], "File": "TOYAsmBackend1", "Func": "getFixupKindInfo", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11605, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getMaximumJumpTableSize", "(", ")", "const", "{", "return", "MaxJumpTableSize", ";", "}", ""], "natrual_language": ["Return", "upper", "limit", "for", "number", "of", "entries", "in", "a", "jump", "table", "."], "TS_V_token": ["AArch64"], "File": "AArch64Subtarget (2)1", "Func": "getMaximumJumpTableSize", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11606, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "addExpr", "(", "MCInst", "&", "Inst", ",", "const", "MCExpr", "*", "Expr", ")", "const", "{", "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": ["LoongArch"], "File": "LoongArchAsmParser", "Func": "addExpr", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11607, "Length": 57, "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", "::", "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::FILL_FW_PSEUDO", "Mips::FILL_FD_PSEUDO", "Mips::FEXP2_W_1_PSEUDO", "Mips::FEXP2_D_1_PSEUDO"], "File": "MipsSEISelLowering (2)", "Func": "EmitInstrWithCustomInserter", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11608, "Length": 326, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_variable_issue_1", "(", "rtx_insn", "*", "insn", ",", "int", "more", ")", "{", "last_scheduled_insn", "=", "insn", ";", "if", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "USE", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "CLOBBER", ")", "{", "cached_can_issue_more", "=", "more", ";", "return", "cached_can_issue_more", ";", "}", "if", "(", "insn_terminates_group_p", "(", "insn", ",", "current_group", ")", ")", "{", "cached_can_issue_more", "=", "0", ";", "return", "cached_can_issue_more", ";", "}", "if", "(", "recog_memoized", "(", "insn", ")", "<", "0", ")", "return", "more", ";", "if", "(", "rs6000_sched_groups", ")", "{", "if", "(", "is_microcoded_insn", "(", "insn", ")", ")", "cached_can_issue_more", "=", "0", ";", "else", "if", "(", "is_cracked_insn", "(", "insn", ")", ")", "cached_can_issue_more", "=", "more", ">", "2", "?", "more", "-", "2", ":", "0", ";", "else", "cached_can_issue_more", "=", "more", "-", "1", ";", "return", "cached_can_issue_more", ";", "}", "if", "(", "rs6000_tune", "==", "PROCESSOR_CELL", "&&", "is_nonpipeline_insn", "(", "insn", ")", ")", "return", "0", ";", "cached_can_issue_more", "=", "more", "-", "1", ";", "return", "cached_can_issue_more", ";", "}", ""], "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": ["rs6000", "0", "0", "0", "2", "2", "0", "1", "0", "1"], "File": "rs6000", "Func": "rs6000_variable_issue_1", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11609, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "arm_invalid_parameter_type", "(", "const_tree", "t", ")", "{", "if", "(", "SCALAR_FLOAT_TYPE_P", "(", "t", ")", "&&", "TYPE_PRECISION", "(", "t", ")", "==", "16", ")", "return", "N_", "(", "\"function parameters cannot have __fp16 type\"", ")", ";", "return", "NULL", ";", "}", ""], "natrual_language": ["Implement", "TARGET_INVALID_PARAMETER_TYPE", "."], "TS_V_token": ["arm", "16", "\"function parameters cannot have __fp16 type\""], "File": "arm4", "Func": "arm_invalid_parameter_type", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11610, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "csky_modes_tieable_p", "(", "machine_mode", "mode1", ",", "machine_mode", "mode2", ")", "{", "return", "!", "(", "TARGET_HARD_FLOAT", "&&", "mode1", "!=", "mode2", "&&", "(", "mode1", "==", "DFmode", "||", "mode2", "==", "DFmode", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MODES_TIEABLE_P", ".", "We", "ca", "n't", "tie", "DFmode", "with", "other", "modes", "when", "V_REGs", "might", "be", "in", "use", "because", "those", "registers", "mess", "with", "the", "stored", "bits", "."], "TS_V_token": ["csky"], "File": "csky", "Func": "csky_modes_tieable_p", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11611, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_vector_duplicate_value", "(", "machine_mode", "mode", ",", "rtx", "target", ",", "rtx", "val", ")", "{", "bool", "ok", ";", "rtx_insn", "*", "insn", ";", "rtx", "dup", ";", "dup", "=", "gen_vec_duplicate", "(", "mode", ",", "val", ")", ";", "insn", "=", "emit_insn", "(", "gen_rtx_SET", "(", "target", ",", "dup", ")", ")", ";", "if", "(", "recog_memoized", "(", "insn", ")", "<", "0", ")", "{", "rtx_insn", "*", "seq", ";", "machine_mode", "innermode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "rtx", "reg", ";", "start_sequence", "(", ")", ";", "reg", "=", "force_reg", "(", "innermode", ",", "val", ")", ";", "if", "(", "GET_MODE", "(", "reg", ")", "!=", "innermode", ")", "reg", "=", "gen_lowpart", "(", "innermode", ",", "reg", ")", ";", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", "=", "gen_vec_duplicate", "(", "mode", ",", "reg", ")", ";", "seq", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "if", "(", "seq", ")", "emit_insn_before", "(", "seq", ",", "insn", ")", ";", "ok", "=", "recog_memoized", "(", "insn", ")", ">=", "0", ";", "gcc_assert", "(", "ok", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "ix86_expand_vector_init_duplicate", ".", "Tries", "to", "fill", "target", "with", "val", "via", "vec_duplicate", "."], "TS_V_token": ["i386", "0", "0"], "File": "i386-expand", "Func": "ix86_vector_duplicate_value", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11612, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pop", "(", "int", "rn", ")", "{", "rtx", "x", ",", "sp_reg", ",", "reg", ";", "if", "(", "rn", "==", "FPUL_REG", ")", "x", "=", "gen_pop_fpul", "(", ")", ";", "else", "if", "(", "rn", "==", "FPSCR_REG", ")", "x", "=", "gen_pop_fpscr", "(", ")", ";", "else", "if", "(", "TARGET_FPU_DOUBLE", "&&", "TARGET_FMOVD", "&&", "!", "TARGET_FPU_SINGLE", "&&", "FP_OR_XD_REGISTER_P", "(", "rn", ")", ")", "{", "if", "(", "FP_REGISTER_P", "(", "rn", ")", "&&", "(", "rn", "-", "FIRST_FP_REG", ")", "&", "1", ")", "return", ";", "x", "=", "gen_pop_4", "(", "gen_rtx_REG", "(", "DFmode", ",", "rn", ")", ")", ";", "}", "else", "if", "(", "TARGET_SH2E", "&&", "FP_REGISTER_P", "(", "rn", ")", ")", "x", "=", "gen_pop_e", "(", "gen_rtx_REG", "(", "SFmode", ",", "rn", ")", ")", ";", "else", "x", "=", "gen_pop", "(", "gen_rtx_REG", "(", "SImode", ",", "rn", ")", ")", ";", "x", "=", "emit_insn", "(", "x", ")", ";", "sp_reg", "=", "gen_rtx_REG", "(", "SImode", ",", "STACK_POINTER_REGNUM", ")", ";", "reg", "=", "copy_rtx", "(", "GET_CODE", "(", "PATTERN", "(", "x", ")", ")", "==", "PARALLEL", "?", "SET_DEST", "(", "XVECEXP", "(", "PATTERN", "(", "x", ")", ",", "0", ",", "0", ")", ")", ":", "SET_DEST", "(", "PATTERN", "(", "x", ")", ")", ")", ";", "add_reg_note", "(", "x", ",", "REG_CFA_RESTORE", ",", "reg", ")", ";", "add_reg_note", "(", "x", ",", "REG_CFA_ADJUST_CFA", ",", "gen_rtx_SET", "(", "sp_reg", ",", "plus_constant", "(", "SImode", ",", "sp_reg", ",", "GET_MODE_SIZE", "(", "GET_MODE", "(", "reg", ")", ")", ")", ")", ")", ";", "add_reg_note", "(", "x", ",", "REG_INC", ",", "gen_rtx_REG", "(", "SImode", ",", "STACK_POINTER_REGNUM", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "x", ")", "=", "1", ";", "}", ""], "natrual_language": ["Output", "RTL", "to", "pop", "register", "RN", "from", "the", "stack", "."], "TS_V_token": ["sh", "1", "0", "0", "1"], "File": "sh", "Func": "pop", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11613, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_sve_prefetch_operand_p", "(", "rtx", "op", ",", "machine_mode", "mode", ")", "{", "struct", "aarch64_address_info", "addr", ";", "if", "(", "!", "aarch64_classify_address", "(", "&", "addr", ",", "op", ",", "mode", ",", "false", ")", ")", "return", "false", ";", "if", "(", "addr", ".", "type", "==", "ADDRESS_REG_IMM", ")", "return", "known_eq", "(", "addr", ".", "const_offset", ",", "0", ")", ";", "return", "addr", ".", "type", "==", "ADDRESS_REG_REG", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "is", "a", "valid", "address", "for", "an", "SVE", "PRF", "[", "BHWD", "]", "instruction", ",", "addressing", "memory", "of", "mode", "MODE", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64", "Func": "aarch64_sve_prefetch_operand_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11614, "Length": 58, "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", ")", ";", "}", "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": "MipsTargetMachine10", "Func": "getSubtargetImpl", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11615, "Length": 317, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"SystemZ Comparison Elimination\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["SystemZ", "\"SystemZ Comparison Elimination\""], "File": "SystemZElimCompare (2)1", "Func": "getPassName", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11616, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "aarch64_invalid_conversion", "(", "const_tree", "fromtype", ",", "const_tree", "totype", ")", "{", "if", "(", "element_mode", "(", "fromtype", ")", "!=", "element_mode", "(", "totype", ")", ")", "{", "if", "(", "TYPE_MODE", "(", "fromtype", ")", "==", "BFmode", ")", "return", "N_", "(", "\"invalid conversion from type %\"", ")", ";", "if", "(", "TYPE_MODE", "(", "totype", ")", "==", "BFmode", ")", "return", "N_", "(", "\"invalid conversion to type %\"", ")", ";", "}", "return", "NULL", ";", "}", ""], "natrual_language": ["Return", "the", "diagnostic", "message", "string", "if", "conversion", "from", "FROMTYPE", "to", "TOTYPE", "is", "not", "allowed", ",", "NULL", "otherwise", "."], "TS_V_token": ["aarch64", "\"invalid conversion from type %\"", "\"invalid conversion to type %\""], "File": "aarch64", "Func": "aarch64_invalid_conversion", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11617, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StackOffset", "SystemZELFFrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "Register", "&", "FrameReg", ")", "const", "{", "StackOffset", "Offset", "=", "TargetFrameLowering", "::", "getFrameIndexReference", "(", "MF", ",", "FI", ",", "FrameReg", ")", ";", "return", "Offset", "+", "StackOffset", "::", "getFixed", "(", "SystemZMC", "::", "ELFCallFrameSize", ")", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZMC::ELFCallFrameSize"], "File": "SystemZFrameLowering10", "Func": "getFrameIndexReference", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11618, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isValid", "(", ")", "{", "return", "isFIBase", "(", ")", "||", "(", "isRegBase", "(", ")", "&&", "getReg", "(", ")", "!=", "0", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "this", "iterator", "is", "still", "pointing", "at", "a", "valid", "entry", "."], "TS_V_token": ["ARM64", "0"], "File": "ARM64FastISel", "Func": "isValid", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11619, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MVEGatherScatterLowering", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "!", "EnableMaskedGatherScatters", ")", "return", "false", ";", "auto", "&", "TPC", "=", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ";", "auto", "&", "TM", "=", "TPC", ".", "getTM", "<", "TargetMachine", ">", "(", ")", ";", "auto", "*", "ST", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", "F", ")", ";", "if", "(", "!", "ST", "->", "hasMVEIntegerOps", "(", ")", ")", "return", "false", ";", "SmallVector", "<", "IntrinsicInst", "*", ",", "4", ">", "Gathers", ";", "for", "(", "BasicBlock", "&", "BB", ":", "F", ")", "{", "for", "(", "Instruction", "&", "I", ":", "BB", ")", "{", "IntrinsicInst", "*", "II", "=", "dyn_cast", "<", "IntrinsicInst", ">", "(", "&", "I", ")", ";", "if", "(", "II", "&&", "II", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "masked_gather", ")", "Gathers", ".", "push_back", "(", "II", ")", ";", "}", "}", "if", "(", "Gathers", ".", "empty", "(", ")", ")", "return", "false", ";", "for", "(", "IntrinsicInst", "*", "I", ":", "Gathers", ")", "lowerGather", "(", "I", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["ARM", "ARM", "4", "Intrinsic::masked_gather"], "File": "MVEGatherScatterLowering11", "Func": "runOnFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11620, "Length": 160, "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": "mmix", "Func": "mmix_output_register_setting", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11621, "Length": 430, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_unspec_cond_code", "(", "rtx_code", "code", ")", "{", "switch", "(", "code", ")", "{", "case", "NE", ":", "return", "UNSPEC_COND_FCMNE", ";", "case", "EQ", ":", "return", "UNSPEC_COND_FCMEQ", ";", "case", "LT", ":", "return", "UNSPEC_COND_FCMLT", ";", "case", "GT", ":", "return", "UNSPEC_COND_FCMGT", ";", "case", "LE", ":", "return", "UNSPEC_COND_FCMLE", ";", "case", "GE", ":", "return", "UNSPEC_COND_FCMGE", ";", "case", "UNORDERED", ":", "return", "UNSPEC_COND_FCMUO", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "UNSPEC_COND_", "*", "code", "for", "comparison", "CODE", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_unspec_cond_code", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11622, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_set_indirect_branch_type", "(", "tree", "fndecl", ")", "{", "if", "(", "cfun", "->", "machine", "->", "indirect_branch_type", "==", "indirect_branch_unset", ")", "{", "tree", "attr", "=", "lookup_attribute", "(", "\"indirect_branch\"", ",", "DECL_ATTRIBUTES", "(", "fndecl", ")", ")", ";", "if", "(", "attr", "!=", "NULL", ")", "{", "tree", "args", "=", "TREE_VALUE", "(", "attr", ")", ";", "if", "(", "args", "==", "NULL", ")", "gcc_unreachable", "(", ")", ";", "tree", "cst", "=", "TREE_VALUE", "(", "args", ")", ";", "if", "(", "strcmp", "(", "TREE_STRING_POINTER", "(", "cst", ")", ",", "\"keep\"", ")", "==", "0", ")", "cfun", "->", "machine", "->", "indirect_branch_type", "=", "indirect_branch_keep", ";", "else", "if", "(", "strcmp", "(", "TREE_STRING_POINTER", "(", "cst", ")", ",", "\"thunk\"", ")", "==", "0", ")", "cfun", "->", "machine", "->", "indirect_branch_type", "=", "indirect_branch_thunk", ";", "else", "if", "(", "strcmp", "(", "TREE_STRING_POINTER", "(", "cst", ")", ",", "\"thunk-inline\"", ")", "==", "0", ")", "cfun", "->", "machine", "->", "indirect_branch_type", "=", "indirect_branch_thunk_inline", ";", "else", "if", "(", "strcmp", "(", "TREE_STRING_POINTER", "(", "cst", ")", ",", "\"thunk-extern\"", ")", "==", "0", ")", "cfun", "->", "machine", "->", "indirect_branch_type", "=", "indirect_branch_thunk_extern", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "else", "cfun", "->", "machine", "->", "indirect_branch_type", "=", "ix86_indirect_branch", ";", "if", "(", "(", "ix86_cmodel", "==", "CM_LARGE", "||", "ix86_cmodel", "==", "CM_LARGE_PIC", ")", "&&", "(", "(", "cfun", "->", "machine", "->", "indirect_branch_type", "==", "indirect_branch_thunk_extern", ")", "||", "(", "cfun", "->", "machine", "->", "indirect_branch_type", "==", "indirect_branch_thunk", ")", ")", ")", "error", "(", "\"%<-mindirect-branch=%s%> and %<-mcmodel=large%> are not \"", "\"compatible\"", ",", "(", "(", "cfun", "->", "machine", "->", "indirect_branch_type", "==", "indirect_branch_thunk_extern", ")", "?", "\"thunk-extern\"", ":", "\"thunk\"", ")", ")", ";", "if", "(", "cfun", "->", "machine", "->", "indirect_branch_type", "!=", "indirect_branch_keep", "&&", "(", "flag_cf_protection", "&", "CF_RETURN", ")", ")", "error", "(", "\"%<-mindirect-branch%> and %<-fcf-protection%> are not \"", "\"compatible\"", ")", ";", "}", "if", "(", "cfun", "->", "machine", "->", "function_return_type", "==", "indirect_branch_unset", ")", "{", "tree", "attr", "=", "lookup_attribute", "(", "\"function_return\"", ",", "DECL_ATTRIBUTES", "(", "fndecl", ")", ")", ";", "if", "(", "attr", "!=", "NULL", ")", "{", "tree", "args", "=", "TREE_VALUE", "(", "attr", ")", ";", "if", "(", "args", "==", "NULL", ")", "gcc_unreachable", "(", ")", ";", "tree", "cst", "=", "TREE_VALUE", "(", "args", ")", ";", "if", "(", "strcmp", "(", "TREE_STRING_POINTER", "(", "cst", ")", ",", "\"keep\"", ")", "==", "0", ")", "cfun", "->", "machine", "->", "function_return_type", "=", "indirect_branch_keep", ";", "else", "if", "(", "strcmp", "(", "TREE_STRING_POINTER", "(", "cst", ")", ",", "\"thunk\"", ")", "==", "0", ")", "cfun", "->", "machine", "->", "function_return_type", "=", "indirect_branch_thunk", ";", "else", "if", "(", "strcmp", "(", "TREE_STRING_POINTER", "(", "cst", ")", ",", "\"thunk-inline\"", ")", "==", "0", ")", "cfun", "->", "machine", "->", "function_return_type", "=", "indirect_branch_thunk_inline", ";", "else", "if", "(", "strcmp", "(", "TREE_STRING_POINTER", "(", "cst", ")", ",", "\"thunk-extern\"", ")", "==", "0", ")", "cfun", "->", "machine", "->", "function_return_type", "=", "indirect_branch_thunk_extern", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "else", "cfun", "->", "machine", "->", "function_return_type", "=", "ix86_function_return", ";", "if", "(", "(", "ix86_cmodel", "==", "CM_LARGE", "||", "ix86_cmodel", "==", "CM_LARGE_PIC", ")", "&&", "(", "(", "cfun", "->", "machine", "->", "function_return_type", "==", "indirect_branch_thunk_extern", ")", "||", "(", "cfun", "->", "machine", "->", "function_return_type", "==", "indirect_branch_thunk", ")", ")", ")", "error", "(", "\"%<-mfunction-return=%s%> and %<-mcmodel=large%> are not \"", "\"compatible\"", ",", "(", "(", "cfun", "->", "machine", "->", "function_return_type", "==", "indirect_branch_thunk_extern", ")", "?", "\"thunk-extern\"", ":", "\"thunk\"", ")", ")", ";", "if", "(", "cfun", "->", "machine", "->", "function_return_type", "!=", "indirect_branch_keep", "&&", "(", "flag_cf_protection", "&", "CF_RETURN", ")", ")", "error", "(", "\"%<-mfunction-return%> and %<-fcf-protection%> are not \"", "\"compatible\"", ")", ";", "}", "}", ""], "natrual_language": ["Set", "the", "indirect_branch_type", "field", "from", "the", "function", "FNDECL", "."], "TS_V_token": ["i386", "\"indirect_branch\"", "\"keep\"", "0", "\"thunk\"", "0", "\"thunk-inline\"", "0", "\"thunk-extern\"", "0", "\"%<-mindirect-branch=%s%> and %<-mcmodel=large%> are not \"", "\"compatible\"", "\"thunk-extern\"", "\"thunk\"", "\"%<-mindirect-branch%> and %<-fcf-protection%> are not \"", "\"compatible\"", "\"function_return\"", "\"keep\"", "0", "\"thunk\"", "0", "\"thunk-inline\"", "0", "\"thunk-extern\"", "0", "\"%<-mfunction-return=%s%> and %<-mcmodel=large%> are not \"", "\"compatible\"", "\"thunk-extern\"", "\"thunk\"", "\"%<-mfunction-return%> and %<-fcf-protection%> are not \"", "\"compatible\""], "File": "i3868", "Func": "ix86_set_indirect_branch_type", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11623, "Length": 493, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_init_sched_context", "(", "void", "*", "_sc", ",", "bool", "clean_p", ")", "{", "rs6000_sched_context_t", "sc", "=", "(", "rs6000_sched_context_t", ")", "_sc", ";", "if", "(", "clean_p", ")", "{", "sc", "->", "cached_can_issue_more", "=", "0", ";", "sc", "->", "last_scheduled_insn", "=", "NULL", ";", "sc", "->", "load_store_pendulum", "=", "0", ";", "sc", "->", "divide_cnt", "=", "0", ";", "sc", "->", "vec_pairing", "=", "0", ";", "}", "else", "{", "sc", "->", "cached_can_issue_more", "=", "cached_can_issue_more", ";", "sc", "->", "last_scheduled_insn", "=", "last_scheduled_insn", ";", "sc", "->", "load_store_pendulum", "=", "load_store_pendulum", ";", "sc", "->", "divide_cnt", "=", "divide_cnt", ";", "sc", "->", "vec_pairing", "=", "vec_pairing", ";", "}", "}", ""], "natrual_language": ["If", "CLEAN_P", "is", "true", "then", "initializes", "_SC", "with", "clean", "data", ",", "and", "from", "the", "global", "context", "otherwise", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0"], "File": "rs6000", "Func": "rs6000_init_sched_context", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11624, "Length": 90, "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", ")", ",", "ReserveX18", "(", "AArch64", "::", "isX18ReservedByDefault", "(", "TT", ")", ")", ",", "IsLittle", "(", "LittleEndian", ")", ",", "TargetTriple", "(", "TT", ")", ",", "FrameLowering", "(", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "FS", ",", "CPU", ")", ")", ",", "TSInfo", "(", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", "{", "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::isX18ReservedByDefault", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64Subtarget14", "Func": "AArch64Subtarget", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11625, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "ix86_memtag_set_tag", "(", "rtx", "untagged", ",", "rtx", "tag", ",", "rtx", "target", ")", "{", "if", "(", "ix86_lam_type", "==", "lam_u57", ")", "{", "unsigned", "HOST_WIDE_INT", "and_imm", "=", "(", "HOST_WIDE_INT_1U", "<<", "IX86_HWASAN_TAG_SIZE", ")", "-", "1", ";", "emit_insn", "(", "gen_andqi3", "(", "tag", ",", "tag", ",", "GEN_INT", "(", "and_imm", ")", ")", ")", ";", "}", "tag", "=", "expand_simple_binop", "(", "Pmode", ",", "ASHIFT", ",", "tag", ",", "GEN_INT", "(", "IX86_HWASAN_SHIFT", ")", ",", "NULL_RTX", ",", "1", ",", "OPTAB_WIDEN", ")", ";", "rtx", "ret", "=", "expand_simple_binop", "(", "Pmode", ",", "IOR", ",", "untagged", ",", "tag", ",", "target", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MEMTAG_SET_TAG", "."], "TS_V_token": ["i386", "1", "1", "1"], "File": "i3861", "Func": "ix86_memtag_set_tag", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11626, "Length": 94, "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": 11627, "Length": 58, "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": 11628, "Length": 20, "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", ")", ".", "add", "(", "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": "X86InstrInfo", "Func": "classifyLEAReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11629, "Length": 320, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "getARMSubtarget", "(", ")", ".", "isThumb2", "(", ")", ")", "{", "if", "(", "!", "getARMSubtarget", "(", ")", ".", "prefers32BitThumb", "(", ")", ")", "addPass", "(", "createThumb2SizeReductionPass", "(", ")", ")", ";", "addPass", "(", "&", "UnpackMachineBundlesID", ")", ";", "}", "addPass", "(", "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", "ARM", "ARM"], "File": "ARMTargetMachine100", "Func": "addPreEmitPass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11630, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "if", "(", "!", "DisableLeafProc", "&&", "isLeafProc", "(", "MF", ")", ")", "{", "SparcMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "SparcMachineFunctionInfo", ">", "(", ")", ";", "MFI", "->", "setLeafProc", "(", "true", ")", ";", "remapRegsForLeafProc", "(", "MF", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc"], "File": "SparcFrameLowering (2)", "Func": "determineCalleeSaves", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11631, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ")", "const", "{", "Value", "=", "adjustFixupValue", "(", "Fixup", ".", "getKind", "(", ")", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "4", ";", "++", "i", ")", "Data", "[", "Offset", "+", "i", "]", "|=", "uint8_t", "(", "(", "Value", ">>", "(", "(", "4", "-", "i", "-", "1", ")", "*", "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": ["Sparc", "0", "4", "4", "1", "8", "0xff"], "File": "SparcAsmBackend12", "Func": "applyFixup", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11632, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Relocator", "::", "Size", "X86_64Relocator", "::", "getSize", "(", "Relocation", "::", "Type", "pType", ")", "const", "{", "return", "X86_64ApplyFunctions", "[", "pType", "]", ".", "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", "X86", "X86"], "File": "X86Relocator", "Func": "getSize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11633, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"X86 Atom pad short functions\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 Atom pad short functions\""], "File": "X86PadShortFunction21", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11634, "Length": 13, "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": ["SIC", "0"], "File": "SICInstrInfo", "Func": "loadRegFromStackSlot", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11635, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "reduceSelectOfFPConstantLoads", "(", "EVT", "CmpOpVT", ")", "const", "{", "bool", "IsFPSetCC", "=", "CmpOpVT", ".", "isFloatingPoint", "(", ")", "&&", "CmpOpVT", "!=", "MVT", "::", "f128", ";", "return", "!", "IsFPSetCC", "||", "!", "Subtarget", ".", "isTarget64BitLP64", "(", ")", "||", "!", "Subtarget", ".", "hasAVX", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "profitable", "to", "convert", "a", "select", "of", "FP", "constants", "into", "a", "constant", "pool", "load", "whose", "address", "depends", "on", "the", "select", "condition", "."], "TS_V_token": ["X86", "X86", "MVT::f128"], "File": "X86ISelLowering (2)5", "Func": "reduceSelectOfFPConstantLoads", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11636, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "prefersVectorizedAddressing", "(", ")", "{", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "target", "does", "n't", "mind", "addresses", "in", "vectors", "."], "TS_V_token": ["SystemZ"], "File": "SystemZTargetTransformInfo", "Func": "prefersVectorizedAddressing", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11637, "Length": 9, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "initializePPCVSXFMAMutatePass", "(", "*", "PassRegistry", "::", "getPassRegistry", "(", ")", ")", ";", "insertPass", "(", "VSXFMAMutateEarly", "?", "&", "RegisterCoalescerID", ":", "&", "MachineSchedulerID", ",", "&", "PPCVSXFMAMutateID", ")", ";", "return", "false", ";", "}", ""], "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"], "File": "PPCTargetMachine", "Func": "addPreRegAlloc", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11638, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64TargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ")", "const", "{", "unsigned", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "\"sp\"", ",", "AArch64", "::", "XSP", ")", ".", "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": ["AArch64", "AArch64", "\"sp\"", "AArch64::XSP", "0", "\"Invalid register name global variable\""], "File": "AArch64ISelLowering109", "Func": "getRegisterByName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11639, "Length": 50, "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": 11640, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_and_preserve", "(", "rtx", "seq", ",", "rtx", "reg", ",", "rtx", "reg2", ")", "{", "rtx", "slot", "=", "gen_rtx_MEM", "(", "word_mode", ",", "plus_constant", "(", "stack_pointer_rtx", ",", "SPARC_STACK_BIAS", ")", ")", ";", "emit_insn", "(", "gen_stack_pointer_dec", "(", "GEN_INT", "(", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ")", ")", ")", ";", "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", "(", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ")", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "sequence", "of", "insns", "SEQ", "while", "preserving", "the", "registers", "."], "TS_V_token": ["sparc"], "File": "sparc3", "Func": "emit_and_preserve", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11641, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"ARM64 load / store optimization pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM64", "\"ARM64 load / store optimization pass\""], "File": "ARM64LoadStoreOptimizer1", "Func": "getPassName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11642, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "DLXRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", ")", "const", "{", "const", "uint16_t", "t", "=", "5", ";", "return", "&", "t", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["DLX", "DLX", "5"], "File": "DLXRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11643, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "if", "(", "!", "WidenVMOVS", "||", "!", "MI", "->", "isCopy", "(", ")", ")", "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", "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": "ARMBaseInstrInfo34", "Func": "expandPostRAPseudo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11644, "Length": 341, "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", "::", "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::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": "AArch64ISelLowering23", "Func": "PerformDAGCombine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11645, "Length": 440, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLegalMaskedLoad", "(", "Type", "*", "DataType", ",", "Align", "Alignment", ")", "{", "return", "isLegalMaskedLoadStore", "(", "DataType", ",", "Alignment", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "load", "."], "TS_V_token": ["AArch64"], "File": "AArch64TargetTransformInfo", "Func": "isLegalMaskedLoad", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11646, "Length": 20, "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": 11647, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addRequired", "<", "TargetPassConfig", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["X86"], "File": "X86LowerAMXType8", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11648, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_psave_function_arg", "(", "machine_mode", "mode", ",", "const_tree", "type", ",", "int", "align_words", ",", "rtx", "*", "rvec", ")", "{", "int", "k", "=", "0", ";", "if", "(", "align_words", "<", "GP_ARG_NUM_REG", ")", "{", "int", "n_words", "=", "rs6000_arg_size", "(", "mode", ",", "type", ")", ";", "if", "(", "align_words", "+", "n_words", ">", "GP_ARG_NUM_REG", "||", "mode", "==", "BLKmode", "||", "(", "TARGET_32BIT", "&&", "TARGET_POWERPC64", ")", ")", "{", "machine_mode", "rmode", "=", "TARGET_32BIT", "?", "SImode", ":", "DImode", ";", "int", "i", "=", "0", ";", "if", "(", "align_words", "+", "n_words", ">", "GP_ARG_NUM_REG", ")", "{", "rvec", "[", "k", "++", "]", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "NULL_RTX", ",", "const0_rtx", ")", ";", "}", "do", "{", "rtx", "r", "=", "gen_rtx_REG", "(", "rmode", ",", "GP_ARG_MIN_REG", "+", "align_words", ")", ";", "rtx", "off", "=", "GEN_INT", "(", "i", "++", "*", "GET_MODE_SIZE", "(", "rmode", ")", ")", ";", "rvec", "[", "k", "++", "]", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "r", ",", "off", ")", ";", "}", "while", "(", "++", "align_words", "<", "GP_ARG_NUM_REG", "&&", "--", "n_words", "!=", "0", ")", ";", "}", "else", "{", "rtx", "r", "=", "gen_rtx_REG", "(", "mode", ",", "GP_ARG_MIN_REG", "+", "align_words", ")", ";", "rvec", "[", "k", "++", "]", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "r", ",", "const0_rtx", ")", ";", "}", "}", "else", "{", "rvec", "[", "k", "++", "]", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "NULL_RTX", ",", "const0_rtx", ")", ";", "}", "return", "k", ";", "}", ""], "natrual_language": ["We", "have", "an", "argument", "of", "MODE", "and", "TYPE", "that", "goes", "into", "FPRs", "or", "VRs", ",", "but", "must", "also", "be", "copied", "into", "the", "parameter", "save", "area", "starting", "at", "offset", "ALIGN_WORDS", ".", "Fill", "in", "RVEC", "with", "the", "elements", "corresponding", "to", "the", "GPRs", "and/or", "memory", ".", "Return", "the", "number", "of", "elements", "used", "."], "TS_V_token": ["rs6000", "0", "0", "0"], "File": "rs6000-call", "Func": "rs6000_psave_function_arg", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11649, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LEGFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "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", "::", "SUBrr", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addReg", "(", "OffsetReg", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "LEG", "::", "SUBri", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addImm", "(", "StackSize", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["LEG", "LEG", "LEG::SP", "LEG::SUBrr", "LEG::SUBri"], "File": "LEGFrameLowering", "Func": "emitPrologue", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11650, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "emitInlineAsmEnd", "(", "const", "MCSubtargetInfo", "&", "StartInfo", ",", "const", "MCSubtargetInfo", "*", "EndInfo", ")", "const", "{", "OutStreamer", ".", "AddBlankLine", "(", ")", ";", "getTargetStreamer", "(", ")", ".", "emitDirectiveSetPop", "(", ")", ";", "}", ""], "natrual_language": ["Let", "the", "target", "do", "anything", "it", "needs", "to", "do", "after", "emitting", "inlineasm", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsAsmPrinter20", "Func": "emitInlineAsmEnd", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11651, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseInstrInfo", "::", "getInstrLatency", "(", "const", "InstrItineraryData", "*", "ItinData", ",", "const", "MachineInstr", "*", "MI", ",", "unsigned", "*", "PredCost", ")", "const", "{", "if", "(", "MI", "->", "isCopyLike", "(", ")", "||", "MI", "->", "isInsertSubreg", "(", ")", "||", "MI", "->", "isRegSequence", "(", ")", "||", "MI", "->", "isImplicitDef", "(", ")", ")", "return", "1", ";", "if", "(", "MI", "->", "isBundle", "(", ")", ")", "{", "unsigned", "Latency", "=", "0", ";", "MachineBasicBlock", "::", "const_instr_iterator", "I", "=", "MI", "->", "getIterator", "(", ")", ";", "MachineBasicBlock", "::", "const_instr_iterator", "E", "=", "MI", "->", "getParent", "(", ")", "->", "instr_end", "(", ")", ";", "while", "(", "++", "I", "!=", "E", "&&", "I", "->", "isInsideBundle", "(", ")", ")", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "ARM", "::", "t2IT", ")", "Latency", "+=", "getInstrLatency", "(", "ItinData", ",", "&", "*", "I", ",", "PredCost", ")", ";", "}", "return", "Latency", ";", "}", "const", "MCInstrDesc", "&", "MCID", "=", "MI", "->", "getDesc", "(", ")", ";", "if", "(", "PredCost", "&&", "(", "MCID", ".", "isCall", "(", ")", "||", "MCID", ".", "hasImplicitDefOfPhysReg", "(", "ARM", "::", "CPSR", ")", ")", ")", "{", "*", "PredCost", "=", "1", ";", "}", "if", "(", "!", "ItinData", ")", "return", "MI", "->", "mayLoad", "(", ")", "?", "3", ":", "1", ";", "unsigned", "Class", "=", "MCID", ".", "getSchedClass", "(", ")", ";", "if", "(", "!", "ItinData", "->", "isEmpty", "(", ")", "&&", "ItinData", "->", "getNumMicroOps", "(", "Class", ")", "<", "0", ")", "return", "getNumMicroOps", "(", "ItinData", ",", "MI", ")", ";", "unsigned", "Latency", "=", "ItinData", "->", "getStageLatency", "(", "Class", ")", ";", "unsigned", "DefAlign", "=", "MI", "->", "hasOneMemOperand", "(", ")", "?", "(", "*", "MI", "->", "memoperands_begin", "(", ")", ")", "->", "getAlignment", "(", ")", ":", "0", ";", "int", "Adj", "=", "adjustDefLatency", "(", "Subtarget", ",", "MI", ",", "&", "MCID", ",", "DefAlign", ")", ";", "if", "(", "Adj", ">=", "0", "||", "(", "int", ")", "Latency", ">", "-", "Adj", ")", "{", "return", "Latency", "+", "Adj", ";", "}", "return", "Latency", ";", "}", ""], "natrual_language": ["Compute", "the", "instruction", "latency", "of", "a", "given", "instruction", "."], "TS_V_token": ["ARM", "ARM", "1", "0", "ARM::t2IT", "ARM::CPSR", "1", "3", "1", "0", "0", "0"], "File": "ARMBaseInstrInfo (2)3", "Func": "getInstrLatency", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11652, "Length": 298, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "thumb2_asm_output_opcode", "(", "FILE", "*", "stream", ")", "{", "char", "buff", "[", "5", "]", ";", "int", "n", ";", "if", "(", "arm_condexec_mask", ")", "{", "for", "(", "n", "=", "0", ";", "n", "<", "arm_condexec_masklen", ";", "n", "++", ")", "buff", "[", "n", "]", "=", "(", "arm_condexec_mask", "&", "(", "1", "<<", "n", ")", ")", "?", "'t'", ":", "'e'", ";", "buff", "[", "n", "]", "=", "0", ";", "asm_fprintf", "(", "stream", ",", "\"i%s\\t%s\\n\\t\"", ",", "buff", ",", "arm_condition_codes", "[", "arm_current_cc", "]", ")", ";", "arm_condexec_mask", "=", "0", ";", "}", "}", ""], "natrual_language": ["Output", "IT", "instructions", "."], "TS_V_token": ["arm", "5", "0", "1", "0", "\"i%s\\t%s\\n\\t\"", "0"], "File": "arm", "Func": "thumb2_asm_output_opcode", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11653, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLoweringBase", "::", "AtomicRMWExpansionKind", "X86TargetLowering", "::", "shouldExpandAtomicRMWInIR", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "unsigned", "NativeWidth", "=", "Subtarget", "->", "is64Bit", "(", ")", "?", "64", ":", "32", ";", "const", "Type", "*", "MemType", "=", "AI", "->", "getType", "(", ")", ";", "if", "(", "MemType", "->", "getPrimitiveSizeInBits", "(", ")", ">", "NativeWidth", ")", "{", "return", "needsCmpXchgNb", "(", "MemType", ")", "?", "AtomicRMWExpansionKind", "::", "CmpXChg", ":", "AtomicRMWExpansionKind", "::", "None", ";", "}", "AtomicRMWInst", "::", "BinOp", "Op", "=", "AI", "->", "getOperation", "(", ")", ";", "switch", "(", "Op", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown atomic operation\"", ")", ";", "case", "AtomicRMWInst", "::", "Xchg", ":", "case", "AtomicRMWInst", "::", "Add", ":", "case", "AtomicRMWInst", "::", "Sub", ":", "return", "AtomicRMWExpansionKind", "::", "None", ";", "case", "AtomicRMWInst", "::", "Or", ":", "case", "AtomicRMWInst", "::", "And", ":", "case", "AtomicRMWInst", "::", "Xor", ":", "return", "!", "AI", "->", "use_empty", "(", ")", "?", "AtomicRMWExpansionKind", "::", "CmpXChg", ":", "AtomicRMWExpansionKind", "::", "None", ";", "case", "AtomicRMWInst", "::", "Nand", ":", "case", "AtomicRMWInst", "::", "Max", ":", "case", "AtomicRMWInst", "::", "Min", ":", "case", "AtomicRMWInst", "::", "UMax", ":", "case", "AtomicRMWInst", "::", "UMin", ":", "return", "AtomicRMWExpansionKind", "::", "CmpXChg", ";", "}", "}", ""], "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": "X86ISelLowering155", "Func": "shouldExpandAtomicRMWInIR", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11654, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_get_some_local_dynamic_name_1", "(", "rtx", "*", "px", ",", "void", "*", "data", "ATTRIBUTE_UNUSED", ")", "{", "rtx", "x", "=", "*", "px", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", ")", "{", "const", "char", "*", "str", "=", "XSTR", "(", "x", ",", "0", ")", ";", "if", "(", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", "==", "TLS_MODEL_LOCAL_DYNAMIC", ")", "{", "cfun", "->", "machine", "->", "some_ld_name", "=", "str", ";", "return", "1", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "rs6000_get_some_local_dynamic_name", "."], "TS_V_token": ["rs6000", "0", "1", "0"], "File": "rs60003", "Func": "rs6000_get_some_local_dynamic_name_1", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11655, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "class", "LLVM_LIBRARY_VISIBILITY", "X86MCInstLower", "{", "MCContext", "&", "Ctx", ";", "Mangler", "*", "Mang", ";", "const", "MachineFunction", "&", "MF", ";", "const", "TargetMachine", "&", "TM", ";", "const", "MCAsmInfo", "&", "MAI", ";", "X86AsmPrinter", "&", "AsmPrinter", ";", "public", ":", "X86MCInstLower", "(", "Mangler", "*", "mang", ",", "const", "MachineFunction", "&", "MF", ",", "X86AsmPrinter", "&", "asmprinter", ")", ";", "void", "Lower", "(", "const", "MachineInstr", "*", "MI", ",", "MCInst", "&", "OutMI", ")", "const", ";", "MCSymbol", "*", "GetSymbolFromOperand", "(", "const", "MachineOperand", "&", "MO", ")", "const", ";", "MCOperand", "LowerSymbolOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCSymbol", "*", "Sym", ")", "const", ";", "private", ":", "MachineModuleInfoMachO", "&", "getMachOMMI", "(", ")", "const", ";", "}", ""], "natrual_language": ["Lower", "an", "MO_GlobalAddress", "or", "MO_ExternalSymbol", "operand", "to", "an", "MCSymbol", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86"], "File": "X86MCInstLower", "Func": "GetSymbolFromOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11656, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86DAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "SDValue", "Op0", ",", "Op1", ",", "Op2", ",", "Op3", ",", "Op4", ";", "switch", "(", "ConstraintID", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected asm memory constraint\"", ")", ";", "case", "InlineAsm", "::", "Constraint_o", ":", "case", "InlineAsm", "::", "Constraint_v", ":", "case", "InlineAsm", "::", "Constraint_m", ":", "case", "InlineAsm", "::", "Constraint_X", ":", "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", "\"Unexpected asm memory constraint\""], "File": "X86ISelDAGToDAG1", "Func": "SelectInlineAsmMemoryOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11657, "Length": 131, "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": 11658, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_load_call_address", "(", "enum", "mips_call_type", "type", ",", "rtx", "dest", ",", "rtx", "addr", ")", "{", "if", "(", "TARGET_EXPLICIT_RELOCS", "&&", "!", "(", "type", "==", "MIPS_CALL_SIBCALL", "&&", "TARGET_CALL_SAVED_GP", ")", "&&", "mips_ok_for_lazy_binding_p", "(", "addr", ")", ")", "{", "addr", "=", "mips_got_load", "(", "dest", ",", "addr", ",", "SYMBOL_GOTOFF_CALL", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "addr", ")", ")", ";", "return", "true", ";", "}", "else", "{", "mips_emit_move", "(", "dest", ",", "addr", ")", ";", "return", "false", ";", "}", "}", ""], "natrual_language": ["Load", "function", "address", "ADDR", "into", "register", "DEST", ".", "SIBCALL_P", "is", "true", "if", "the", "address", "is", "needed", "for", "a", "sibling", "call", "."], "TS_V_token": ["mips"], "File": "mips4", "Func": "mips_load_call_address", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11659, "Length": 75, "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", "::", "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_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\"", ";", "}", "}", ""], "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::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_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\""], "File": "PPCISelLowering70", "Func": "getTargetNodeName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11660, "Length": 336, "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", "(", ")", ")", "{", "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", ",", "[", "&", "]", "(", "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", ")", ")", ";", "}", "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", "8", "AArch64", "AArch64", "4"], "File": "AArch64CallLowering18", "Func": "lowerFormalArguments", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11661, "Length": 424, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "LEGTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "NULL", ";", "case", "LEGISD", "::", "RET_FLAG", ":", "return", "\"RetFlag\"", ";", "case", "LEGISD", "::", "LOAD_SYM", ":", "return", "\"LOAD_SYM\"", ";", "case", "LEGISD", "::", "MOVEi32", ":", "return", "\"MOVEi32\"", ";", "case", "LEGISD", "::", "CALL", ":", "return", "\"CALL\"", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["LEG", "LEG", "LEGISD::RET_FLAG", "\"RetFlag\"", "LEGISD::LOAD_SYM", "\"LOAD_SYM\"", "LEGISD::MOVEi32", "\"MOVEi32\"", "LEGISD::CALL", "\"CALL\""], "File": "LEGISelLowering", "Func": "getTargetNodeName", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11662, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_sCOND", "(", "enum", "rtx_code", "code", ",", "rtx", "result", ")", "{", "rtx", "condition_rtx", ";", "enum", "machine_mode", "op_mode", ";", "enum", "rtx_code", "cond_code", ";", "condition_rtx", "=", "rs6000_generate_compare", "(", "code", ")", ";", "cond_code", "=", "GET_CODE", "(", "condition_rtx", ")", ";", "if", "(", "TARGET_E500", "&&", "rs6000_compare_fp_p", "&&", "!", "TARGET_FPRS", "&&", "TARGET_HARD_FLOAT", ")", "{", "rtx", "t", ";", "PUT_MODE", "(", "condition_rtx", ",", "SImode", ")", ";", "t", "=", "XEXP", "(", "condition_rtx", ",", "0", ")", ";", "gcc_assert", "(", "cond_code", "==", "NE", "||", "cond_code", "==", "EQ", ")", ";", "if", "(", "cond_code", "==", "NE", ")", "emit_insn", "(", "gen_e500_flip_gt_bit", "(", "t", ",", "t", ")", ")", ";", "emit_insn", "(", "gen_move_from_CR_gt_bit", "(", "result", ",", "t", ")", ")", ";", "return", ";", "}", "if", "(", "cond_code", "==", "NE", "||", "cond_code", "==", "GE", "||", "cond_code", "==", "LE", "||", "cond_code", "==", "GEU", "||", "cond_code", "==", "LEU", "||", "cond_code", "==", "ORDERED", "||", "cond_code", "==", "UNGE", "||", "cond_code", "==", "UNLE", ")", "{", "rtx", "not_result", "=", "gen_reg_rtx", "(", "CCEQmode", ")", ";", "rtx", "not_op", ",", "rev_cond_rtx", ";", "enum", "machine_mode", "cc_mode", ";", "cc_mode", "=", "GET_MODE", "(", "XEXP", "(", "condition_rtx", ",", "0", ")", ")", ";", "rev_cond_rtx", "=", "gen_rtx_fmt_ee", "(", "rs6000_reverse_condition", "(", "cc_mode", ",", "cond_code", ")", ",", "SImode", ",", "XEXP", "(", "condition_rtx", ",", "0", ")", ",", "const0_rtx", ")", ";", "not_op", "=", "gen_rtx_COMPARE", "(", "CCEQmode", ",", "rev_cond_rtx", ",", "const0_rtx", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "not_result", ",", "not_op", ")", ")", ";", "condition_rtx", "=", "gen_rtx_EQ", "(", "VOIDmode", ",", "not_result", ",", "const0_rtx", ")", ";", "}", "op_mode", "=", "GET_MODE", "(", "rs6000_compare_op0", ")", ";", "if", "(", "op_mode", "==", "VOIDmode", ")", "op_mode", "=", "GET_MODE", "(", "rs6000_compare_op1", ")", ";", "if", "(", "TARGET_POWERPC64", "&&", "(", "op_mode", "==", "DImode", "||", "rs6000_compare_fp_p", ")", ")", "{", "PUT_MODE", "(", "condition_rtx", ",", "DImode", ")", ";", "convert_move", "(", "result", ",", "condition_rtx", ",", "0", ")", ";", "}", "else", "{", "PUT_MODE", "(", "condition_rtx", ",", "SImode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "result", ",", "condition_rtx", ")", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "the", "RTL", "for", "an", "sCOND", "pattern", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0"], "File": "rs60003", "Func": "rs6000_emit_sCOND", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11663, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AZPRAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "case", "MachineOperand", "::", "MO_Register", ":", "O", "<<", "'$'", "<<", "StringRef", "(", "AZPRInstPrinter", "::", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", ")", ".", "lower", "(", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["AZPR", "AZPR", "AZPR"], "File": "AZPRAsmPrinter", "Func": "PrintAsmOperand", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11664, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_emit_prologue_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", "(", "reg", ",", "gen_rtx_UNSPEC", "(", "SImode", ",", "r", ",", "UNSPEC_MOVESI_FROM_CR", ")", ")", ";", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "p", ")", ")", ";", "return", ";", "}", "}", "emit_insn", "(", "gen_prologue_movesi_from_cr", "(", "reg", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "prologue", "code", "to", "store", "CR", "fields", "that", "need", "to", "be", "saved", "into", "REG", ".", "This", "function", "should", "only", "be", "called", "when", "moving", "the", "non-volatile", "CRs", "to", "REG", ",", "it", "is", "not", "a", "general", "purpose", "routine", "to", "move", "the", "entire", "set", "of", "CRs", "to", "REG", ".", "Specifically", ",", "gen_prologue_movesi_from_cr", "(", ")", "does", "not", "contain", "uses", "of", "the", "volatile", "CRs", "."], "TS_V_token": ["rs6000", "8", "0", "0", "8", "1", "1", "2", "0", "0", "1", "1", "7", "0", "0"], "File": "rs6000-logue", "Func": "rs6000_emit_prologue_move_from_cr", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11665, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Warning", "(", "SMLoc", "L", ",", "const", "Twine", "&", "Msg", ")", "{", "Parser", ".", "Warning", "(", "L", ",", "Msg", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "warning", "at", "the", "location", "L", ",", "with", "the", "message", "Msg", "."], "TS_V_token": ["X86"], "File": "X86AsmParser101", "Func": "Warning", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11666, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "SystemZDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "CS", ")", "const", "{", "Size", "=", "0", ";", "if", "(", "Bytes", ".", "size", "(", ")", "<", "2", ")", "return", "MCDisassembler", "::", "Fail", ";", "const", "uint8_t", "*", "Table", ";", "if", "(", "Bytes", "[", "0", "]", "<", "0x40", ")", "{", "Size", "=", "2", ";", "Table", "=", "DecoderTable16", ";", "}", "else", "if", "(", "Bytes", "[", "0", "]", "<", "0xc0", ")", "{", "Size", "=", "4", ";", "Table", "=", "DecoderTable32", ";", "}", "else", "{", "Size", "=", "6", ";", "Table", "=", "DecoderTable48", ";", "}", "if", "(", "Bytes", ".", "size", "(", ")", "<", "Size", ")", "return", "MCDisassembler", "::", "Fail", ";", "uint64_t", "Inst", "=", "0", ";", "for", "(", "uint64_t", "I", "=", "0", ";", "I", "<", "Size", ";", "++", "I", ")", "Inst", "=", "(", "Inst", "<<", "8", ")", "|", "Bytes", "[", "I", "]", ";", "return", "decodeInstruction", "(", "Table", ",", "MI", ",", "Inst", ",", "Address", ",", "this", ",", "STI", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "2", "0", "0x40", "2", "0", "0xc0", "4", "6", "0", "0", "8"], "File": "SystemZDisassembler15", "Func": "getInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11667, "Length": 166, "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", "(", "!", "EnableTailPredication", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Tail-predication not enabled.\\n\"", ")", ";", "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", "->", "isInnermost", "(", ")", "&&", "\"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", "\"Tail-predication not enabled.\\n\"", "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": "ARMTargetTransformInfo14", "Func": "preferPredicateOverEpilogue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11668, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "register_vector_type", "(", "vector_type_index", "type", ")", "{", "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", "&&", "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": ["aarch64", "0"], "File": "aarch64-sve-builtins", "Func": "register_vector_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11669, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSEInstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", "->", "getParent", "(", ")", ";", "switch", "(", "MI", "->", "getDesc", "(", ")", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Mips", "::", "RetRA", ":", "expandRetRA", "(", "MBB", ",", "MI", ",", "Mips", "::", "RET", ")", ";", "break", ";", "case", "Mips", "::", "PseudoCVT_S_W", ":", "expandCvtFPInt", "(", "MBB", ",", "MI", ",", "Mips", "::", "CVT_S_W", ",", "Mips", "::", "MTC1", ",", "false", ")", ";", "break", ";", "case", "Mips", "::", "PseudoCVT_D32_W", ":", "expandCvtFPInt", "(", "MBB", ",", "MI", ",", "Mips", "::", "CVT_D32_W", ",", "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", ":", "expandCvtFPInt", "(", "MBB", ",", "MI", ",", "Mips", "::", "CVT_D64_W", ",", "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", ")", ";", "break", ";", "case", "Mips", "::", "ExtractElementF64", ":", "expandExtractElementF64", "(", "MBB", ",", "MI", ")", ";", "break", ";", "case", "Mips", "::", "PseudoLDC1", ":", "expandDPLoadStore", "(", "MBB", ",", "MI", ",", "Mips", "::", "LDC1", ",", "Mips", "::", "LWC1", ")", ";", "break", ";", "case", "Mips", "::", "PseudoSDC1", ":", "expandDPLoadStore", "(", "MBB", ",", "MI", ",", "Mips", "::", "SDC1", ",", "Mips", "::", "SWC1", ")", ";", "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::RetRA", "Mips::RET", "Mips::PseudoCVT_S_W", "Mips::CVT_S_W", "Mips::MTC1", "Mips::PseudoCVT_D32_W", "Mips::CVT_D32_W", "Mips::MTC1", "Mips::PseudoCVT_S_L", "Mips::CVT_S_L", "Mips::DMTC1", "Mips::PseudoCVT_D64_W", "Mips::CVT_D64_W", "Mips::MTC1", "Mips::PseudoCVT_D64_L", "Mips::CVT_D64_L", "Mips::DMTC1", "Mips::BuildPairF64", "Mips::ExtractElementF64", "Mips::PseudoLDC1", "Mips::LDC1", "Mips::LWC1", "Mips::PseudoSDC1", "Mips::SDC1", "Mips::SWC1", "Mips::MIPSeh_return32", "Mips::MIPSeh_return64"], "File": "MipsSEInstrInfo6", "Func": "expandPostRAPseudo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11670, "Length": 282, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "char", "sizetochar", "(", "int", "size", ")", "{", "switch", "(", "size", ")", "{", "case", "64", ":", "return", "'d'", ";", "case", "32", ":", "return", "'s'", ";", "case", "16", ":", "return", "'h'", ";", "case", "8", ":", "return", "'b'", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "equivalent", "letter", "for", "size", "."], "TS_V_token": ["aarch64", "64", "32", "16", "8"], "File": "aarch64", "Func": "sizetochar", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11671, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_return_in_msb", "(", "const_tree", "valtype", ")", "{", "return", "(", "DEFAULT_ABI", "==", "ABI_ELFv2", "&&", "BYTES_BIG_ENDIAN", "&&", "AGGREGATE_TYPE_P", "(", "valtype", ")", "&&", "rs6000_function_arg_padding", "(", "TYPE_MODE", "(", "valtype", ")", ",", "valtype", ")", "==", "PAD_UPWARD", ")", ";", "}", ""], "natrual_language": ["Specify", "whether", "values", "returned", "in", "registers", "should", "be", "at", "the", "most", "significant", "end", "of", "a", "register", ".", "We", "want", "aggregates", "returned", "by", "value", "to", "match", "the", "way", "aggregates", "are", "passed", "to", "functions", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_return_in_msb", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11672, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64Subtarget", "::", "AArch64Subtarget", "(", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ")", ":", "AArch64GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "HasNEON", "(", "false", ")", ",", "HasCrypto", "(", "false", ")", ",", "TargetTriple", "(", "TT", ")", "{", "ParseSubtargetFeatures", "(", "CPU", ",", "FS", ")", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64Subtarget67", "Func": "AArch64Subtarget", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11673, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "nds32_legitimize_target", "(", "enum", "insn_code", "icode", ",", "rtx", "target", ")", "{", "enum", "machine_mode", "mode", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "mode", ";", "if", "(", "!", "target", "||", "GET_MODE", "(", "target", ")", "!=", "mode", "||", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "predicate", ")", "(", "target", ",", "mode", ")", ")", "return", "gen_reg_rtx", "(", "mode", ")", ";", "else", "return", "target", ";", "}", ""], "natrual_language": ["Return", "a", "legitimate", "rtx", "for", "instruction", "ICODE", "'s", "return", "value", ".", "Use", "TARGET", "if", "it", "'s", "not", "null", ",", "has", "the", "right", "mode", ",", "and", "satisfies", "operand", "0", "'s", "predicate", "."], "TS_V_token": ["nds32", "0", "0"], "File": "nds32-intrinsic", "Func": "nds32_legitimize_target", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11674, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "X86RegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "switch", "(", "Kind", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected Kind in getPointerRegClass!\"", ")", ";", "case", "0", ":", "if", "(", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ")", "return", "&", "X86", "::", "GR64RegClass", ";", "return", "&", "X86", "::", "GR32RegClass", ";", "case", "1", ":", "if", "(", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ")", "return", "&", "X86", "::", "GR64_NOSPRegClass", ";", "return", "&", "X86", "::", "GR32_NOSPRegClass", ";", "case", "2", ":", "if", "(", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "isTargetWin64", "(", ")", ")", "return", "&", "X86", "::", "GR64_TCW64RegClass", ";", "if", "(", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ")", "return", "&", "X86", "::", "GR64_TCRegClass", ";", "return", "&", "X86", "::", "GR32_TCRegClass", ";", "}", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["X86", "X86", "\"Unexpected Kind in getPointerRegClass!\"", "0", "X86", "X86::GR64RegClass", "X86::GR32RegClass", "1", "X86", "X86::GR64_NOSPRegClass", "X86::GR32_NOSPRegClass", "2", "X86", "X86::GR64_TCW64RegClass", "X86", "X86::GR64_TCRegClass", "X86::GR32_TCRegClass"], "File": "X86RegisterInfo36", "Func": "getPointerRegClass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11675, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_expand_v1ti_to_ti", "(", "rtx", "x", ")", "{", "rtx", "result", "=", "gen_reg_rtx", "(", "TImode", ")", ";", "if", "(", "TARGET_SSE2", ")", "{", "rtx", "temp", "=", "force_reg", "(", "V2DImode", ",", "gen_lowpart", "(", "V2DImode", ",", "x", ")", ")", ";", "rtx", "lo", "=", "gen_lowpart", "(", "DImode", ",", "result", ")", ";", "emit_insn", "(", "gen_vec_extractv2didi", "(", "lo", ",", "temp", ",", "const0_rtx", ")", ")", ";", "rtx", "hi", "=", "gen_highpart", "(", "DImode", ",", "result", ")", ";", "emit_insn", "(", "gen_vec_extractv2didi", "(", "hi", ",", "temp", ",", "const1_rtx", ")", ")", ";", "}", "else", "emit_move_insn", "(", "result", ",", "gen_lowpart", "(", "TImode", ",", "x", ")", ")", ";", "return", "result", ";", "}", ""], "natrual_language": ["Expand", "move", "of", "V1TI", "mode", "register", "X", "to", "a", "new", "TI", "mode", "register", "."], "TS_V_token": ["i386"], "File": "i386-expand", "Func": "ix86_expand_v1ti_to_ti", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11676, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isBinOp", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "case", "X86ISD", "::", "ANDNP", ":", "case", "X86ISD", "::", "PCMPGT", ":", "case", "X86ISD", "::", "FMAX", ":", "case", "X86ISD", "::", "FMIN", ":", "case", "X86ISD", "::", "FANDN", ":", "case", "X86ISD", "::", "VPSHA", ":", "case", "X86ISD", "::", "VPSHL", ":", "case", "X86ISD", "::", "VSHLV", ":", "case", "X86ISD", "::", "VSRLV", ":", "case", "X86ISD", "::", "VSRAV", ":", "return", "true", ";", "}", "return", "TargetLoweringBase", "::", "isBinOp", "(", "Opcode", ")", ";", "}", ""], "natrual_language": ["Add", "x86-specific", "opcodes", "to", "the", "default", "list", "."], "TS_V_token": ["X86", "X86", "X86ISD::ANDNP", "X86ISD::PCMPGT", "X86ISD::FMAX", "X86ISD::FMIN", "X86ISD::FANDN", "X86ISD::VPSHA", "X86ISD::VPSHL", "X86ISD::VSHLV", "X86ISD::VSRLV", "X86ISD::VSRAV"], "File": "X86ISelLowering100", "Func": "isBinOp", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11677, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_tls_operand_p_1", "(", "rtx", "*", "x", ",", "void", "*", "data", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "GET_CODE", "(", "*", "x", ")", "==", "SYMBOL_REF", ")", "return", "SYMBOL_REF_TLS_MODEL", "(", "*", "x", ")", "!=", "0", ";", "if", "(", "GET_CODE", "(", "*", "x", ")", "==", "UNSPEC", "&&", "XINT", "(", "*", "x", ",", "1", ")", "==", "UNSPEC_TLS", ")", "return", "-", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Helper", "for", "arm_tls_referenced_p", "."], "TS_V_token": ["arm", "0", "1", "1", "0"], "File": "arm3", "Func": "arm_tls_operand_p_1", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11678, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "VEFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "int", "NumBytes", "=", "(", "int", ")", "MFI", ".", "getStackSize", "(", ")", ";", "emitEpilogueInsns", "(", "MF", ",", "MBB", ",", "MBBI", ",", "NumBytes", ",", "true", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["VE", "VE"], "File": "VEFrameLowering1", "Func": "emitEpilogue", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11679, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64FrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "if", "(", "!", "MF", ".", "hasEHFunclets", "(", ")", ")", "return", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "WinEHFuncInfo", "&", "EHInfo", "=", "*", "MF", ".", "getWinEHFuncInfo", "(", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "auto", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "while", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", "&&", "MBBI", "->", "getFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ")", "++", "MBBI", ";", "int", "UnwindHelpFI", "=", "MFI", ".", "CreateStackObject", "(", "8", ",", "16", ",", "false", ")", ";", "EHInfo", ".", "UnwindHelpFrameIdx", "=", "UnwindHelpFI", ";", "DebugLoc", "DL", ";", "RS", "->", "enterBasicBlockEnd", "(", "MBB", ")", ";", "RS", "->", "backward", "(", "std", "::", "prev", "(", "MBBI", ")", ")", ";", "unsigned", "DstReg", "=", "RS", "->", "FindUnusedReg", "(", "&", "AArch64", "::", "GPR64commonRegClass", ")", ";", "assert", "(", "DstReg", "&&", "\"There must be a free register after frame setup\"", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "AArch64", "::", "MOVi64imm", ")", ",", "DstReg", ")", ".", "addImm", "(", "-", "2", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "AArch64", "::", "STURXi", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "true", ")", ")", ".", "addFrameIndex", "(", "UnwindHelpFI", ")", ".", "addImm", "(", "0", ")", ";", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["AArch64", "AArch64", "8", "16", "AArch64::GPR64commonRegClass", "\"There must be a free register after frame setup\"", "AArch64::MOVi64imm", "2", "AArch64::STURXi", "0"], "File": "AArch64FrameLowering31", "Func": "processFunctionBeforeFrameFinalized", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11680, "Length": 231, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ia64_function_arg_words", "(", "const_tree", "type", ",", "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": "ia64", "Func": "ia64_function_arg_words", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11681, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "std", "::", "unique_ptr", "<", "MipsOperand", ">", "CreateMem", "(", "std", "::", "unique_ptr", "<", "MipsOperand", ">", "Base", ",", "const", "MCExpr", "*", "Off", ",", "SMLoc", "S", ",", "SMLoc", "E", ",", "MipsAsmParser", "&", "Parser", ")", "{", "auto", "Op", "=", "std", "::", "make_unique", "<", "MipsOperand", ">", "(", "k_Memory", ",", "Parser", ")", ";", "Op", "->", "Mem", ".", "Base", "=", "Base", ".", "release", "(", ")", ";", "Op", "->", "Mem", ".", "Off", "=", "Off", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "E", ";", "return", "Op", ";", "}", ""], "natrual_language": ["Create", "a", "generalized", "memory", "operand", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsAsmParser (2)4", "Func": "CreateMem", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11682, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMAsmBackend", "::", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCInst", "&", "Res", ")", "const", "{", "unsigned", "RelaxedOp", "=", "getRelaxedOpcode", "(", "Inst", ".", "getOpcode", "(", ")", ",", "STI", ")", ";", "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", "(", ")", ")", ";", "}", "if", "(", "(", "Inst", ".", "getOpcode", "(", ")", "==", "ARM", "::", "tCBZ", "||", "Inst", ".", "getOpcode", "(", ")", "==", "ARM", "::", "tCBNZ", ")", "&&", "RelaxedOp", "==", "ARM", "::", "tHINT", ")", "{", "Res", ".", "setOpcode", "(", "RelaxedOp", ")", ";", "Res", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "0", ")", ")", ";", "Res", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "14", ")", ")", ";", "Res", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "0", ")", ")", ";", "return", ";", "}", "Res", "=", "Inst", ";", "Res", ".", "setOpcode", "(", "RelaxedOp", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["ARM", "ARM", "256", "\"\\n\"", "\"unexpected instruction to relax: \"", "ARM::tCBZ", "ARM::tCBNZ", "ARM::tHINT", "0", "14", "0"], "File": "ARMAsmBackend (2)2", "Func": "relaxInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11683, "Length": 170, "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": 11684, "Length": 226, "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", ",", "reg_only", "=", "2", "+", "1", ";", "bool", "has_mem", "=", "false", ";", "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", ";", "if", "(", "REX_INT_REGNO_P", "(", "recog_data", ".", "operand", "[", "i", "]", ")", "||", "REX_SSE_REGNO_P", "(", "recog_data", ".", "operand", "[", "i", "]", ")", ")", "reg_only", "=", "3", "+", "1", ";", "}", "else", "if", "(", "MEM_P", "(", "recog_data", ".", "operand", "[", "i", "]", ")", ")", "{", "if", "(", "x86_extended_reg_mentioned_p", "(", "recog_data", ".", "operand", "[", "i", "]", ")", ")", "return", "3", "+", "1", ";", "has_mem", "=", "true", ";", "}", "return", "has_mem", "?", "2", "+", "1", ":", "reg_only", ";", "}", ""], "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", "2", "1", "3", "1", "2", "1", "1", "0", "3", "1", "3", "1", "3", "1", "2", "1"], "File": "i3861", "Func": "ix86_attr_length_vex_default", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11685, "Length": 189, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "gen_regparm_prefix", "(", "tree", "decl", ",", "unsigned", "nregs", ")", "{", "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", ")", ";", "}", "}", "if", "(", "nregs", ">", "total", "/", "BITS_PER_WORD", ")", "nregs", "=", "total", "/", "BITS_PER_WORD", ";", "gcc_assert", "(", "nregs", "<=", "9", ")", ";", "newsym", "=", "alloca", "(", "3", "+", "strlen", "(", "asmname", ")", "+", "1", ")", ";", "return", "get_identifier_with_length", "(", "newsym", ",", "sprintf", "(", "newsym", ",", "\"_%u@%s\"", ",", "nregs", ",", "asmname", ")", ")", ";", "}", ""], "natrual_language": ["Return", "string", "which", "is", "the", "former", "assembler", "name", "modified", "with", "an", "_n", "@", "prefix", "where", "n", "represents", "the", "number", "of", "arguments", "passed", "in", "registers"], "TS_V_token": ["i386", "0", "1", "9", "3", "1", "\"_%u@%s\""], "File": "netware", "Func": "gen_regparm_prefix", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11686, "Length": 180, "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\"", ",", "\"fmodl\"", ",", "\"log10l\"", ",", "\"log2l\"", ",", "\"logl\"", ",", "\"nearbyintl\"", ",", "\"powl\"", ",", "\"rintl\"", ",", "\"sinl\"", ",", "\"sqrtl\"", ",", "\"truncl\"", "}", ";", "const", "char", "*", "const", "*", "End", "=", "LibCalls", "+", "array_lengthof", "(", "LibCalls", ")", ";", "MipsTargetLowering", "::", "LTStr", "Comp", ";", "for", "(", "const", "char", "*", "const", "*", "I", "=", "LibCalls", ";", "I", "<", "End", "-", "1", ";", "++", "I", ")", "assert", "(", "Comp", "(", "*", "I", ",", "*", "(", "I", "+", "1", ")", ")", ")", ";", "return", "std", "::", "binary_search", "(", "LibCalls", ",", "End", ",", "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\"", "\"fmodl\"", "\"log10l\"", "\"log2l\"", "\"logl\"", "\"nearbyintl\"", "\"powl\"", "\"rintl\"", "\"sinl\"", "\"sqrtl\"", "\"truncl\"", "Mips", "1", "1"], "File": "MipsCCState14", "Func": "isF128SoftLibCall", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11687, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "override", "{", "llvm_unreachable", "(", "\"relaxInstruction() unimplemented\"", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["PowerPC", "\"relaxInstruction() unimplemented\""], "File": "PPCAsmBackend", "Func": "relaxInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11688, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "useAA", "(", ")", "const", "override", "{", "return", "UseAA", ";", "}", ""], "natrual_language": ["Enable", "use", "of", "alias", "analysis", "during", "code", "generation", "(", "during", "MI", "scheduling", ",", "DAGCombine", ",", "etc", ".", ")", "."], "TS_V_token": ["ARM"], "File": "ARMSubtarget", "Func": "useAA", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11689, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "size", "(", ")", "const", "{", "return", "Insts", ".", "size", "(", ")", ";", "}", ""], "natrual_language": ["The", "number", "of", "name/type", "pairs", "is", "returned", "."], "TS_V_token": ["AArch64"], "File": "AArch64A57FPLoadBalancing", "Func": "size", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11690, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "Fragment", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "LLVM_OVERRIDE", "{", "return", "false", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["SystemZ"], "File": "SystemZMCAsmBackend29", "Func": "fixupNeedsRelaxation", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11691, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64FastISel", "::", "getRegForGEPIndex", "(", "const", "Value", "*", "Idx", ")", "{", "Register", "IdxN", "=", "getRegForValue", "(", "Idx", ")", ";", "if", "(", "IdxN", "==", "0", ")", "return", "0", ";", "MVT", "PtrVT", "=", "TLI", ".", "getPointerTy", "(", "DL", ")", ";", "EVT", "IdxVT", "=", "EVT", "::", "getEVT", "(", "Idx", "->", "getType", "(", ")", ",", "false", ")", ";", "if", "(", "IdxVT", ".", "bitsLT", "(", "PtrVT", ")", ")", "{", "IdxN", "=", "emitIntExt", "(", "IdxVT", ".", "getSimpleVT", "(", ")", ",", "IdxN", ",", "PtrVT", ",", "false", ")", ";", "}", "else", "if", "(", "IdxVT", ".", "bitsGT", "(", "PtrVT", ")", ")", "llvm_unreachable", "(", "\"AArch64 FastISel doesn't support types larger than i64\"", ")", ";", "return", "IdxN", ";", "}", ""], "natrual_language": ["This", "is", "a", "wrapper", "around", "getRegForValue", "that", "also", "takes", "care", "of", "truncating", "or", "sign-extending", "the", "given", "getelementptr", "index", "value", "."], "TS_V_token": ["AArch64", "AArch64", "0", "0", "\"AArch64 FastISel doesn't support types larger than i64\""], "File": "AArch64FastISel18", "Func": "getRegForGEPIndex", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11692, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emit_fusion_addis", "(", "rtx", "target", ",", "rtx", "addis_value", ")", "{", "rtx", "fuse_ops", "[", "10", "]", ";", "const", "char", "*", "addis_str", "=", "NULL", ";", "fuse_ops", "[", "0", "]", "=", "target", ";", "if", "(", "satisfies_constraint_L", "(", "addis_value", ")", ")", "{", "fuse_ops", "[", "1", "]", "=", "addis_value", ";", "addis_str", "=", "\"lis %0,%v1\"", ";", "}", "else", "if", "(", "GET_CODE", "(", "addis_value", ")", "==", "PLUS", ")", "{", "rtx", "op0", "=", "XEXP", "(", "addis_value", ",", "0", ")", ";", "rtx", "op1", "=", "XEXP", "(", "addis_value", ",", "1", ")", ";", "if", "(", "REG_P", "(", "op0", ")", "&&", "CONST_INT_P", "(", "op1", ")", "&&", "satisfies_constraint_L", "(", "op1", ")", ")", "{", "fuse_ops", "[", "1", "]", "=", "op0", ";", "fuse_ops", "[", "2", "]", "=", "op1", ";", "addis_str", "=", "\"addis %0,%1,%v2\"", ";", "}", "}", "else", "if", "(", "GET_CODE", "(", "addis_value", ")", "==", "HIGH", ")", "{", "rtx", "value", "=", "XEXP", "(", "addis_value", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "value", ")", "==", "UNSPEC", "&&", "XINT", "(", "value", ",", "1", ")", "==", "UNSPEC_TOCREL", ")", "{", "fuse_ops", "[", "1", "]", "=", "XVECEXP", "(", "value", ",", "0", ",", "0", ")", ";", "fuse_ops", "[", "2", "]", "=", "XVECEXP", "(", "value", ",", "0", ",", "1", ")", ";", "if", "(", "TARGET_ELF", ")", "addis_str", "=", "\"addis %0,%2,%1@toc@ha\"", ";", "else", "if", "(", "TARGET_XCOFF", ")", "addis_str", "=", "\"addis %0,%1@u(%2)\"", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "value", ")", "==", "PLUS", ")", "{", "rtx", "op0", "=", "XEXP", "(", "value", ",", "0", ")", ";", "rtx", "op1", "=", "XEXP", "(", "value", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "op0", ")", "==", "UNSPEC", "&&", "XINT", "(", "op0", ",", "1", ")", "==", "UNSPEC_TOCREL", "&&", "CONST_INT_P", "(", "op1", ")", ")", "{", "fuse_ops", "[", "1", "]", "=", "XVECEXP", "(", "op0", ",", "0", ",", "0", ")", ";", "fuse_ops", "[", "2", "]", "=", "XVECEXP", "(", "op0", ",", "0", ",", "1", ")", ";", "fuse_ops", "[", "3", "]", "=", "op1", ";", "if", "(", "TARGET_ELF", ")", "addis_str", "=", "\"addis %0,%2,%1+%3@toc@ha\"", ";", "else", "if", "(", "TARGET_XCOFF", ")", "addis_str", "=", "\"addis %0,%1+%3@u(%2)\"", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "if", "(", "satisfies_constraint_L", "(", "value", ")", ")", "{", "fuse_ops", "[", "1", "]", "=", "value", ";", "addis_str", "=", "\"lis %0,%v1\"", ";", "}", "else", "if", "(", "TARGET_ELF", "&&", "!", "TARGET_POWERPC64", "&&", "CONSTANT_P", "(", "value", ")", ")", "{", "fuse_ops", "[", "1", "]", "=", "value", ";", "addis_str", "=", "\"lis %0,%1@ha\"", ";", "}", "}", "if", "(", "!", "addis_str", ")", "fatal_insn", "(", "\"Could not generate addis value for fusion\"", ",", "addis_value", ")", ";", "output_asm_insn", "(", "addis_str", ",", "fuse_ops", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "addis", "instruction", "that", "will", "be", "part", "of", "a", "fused", "instruction", "sequence", "."], "TS_V_token": ["rs6000", "10", "0", "1", "\"lis %0,%v1\"", "0", "1", "1", "2", "\"addis %0,%1,%v2\"", "0", "1", "1", "0", "0", "2", "0", "1", "\"addis %0,%2,%1@toc@ha\"", "\"addis %0,%1@u(%2)\"", "0", "1", "1", "1", "0", "0", "2", "0", "1", "3", "\"addis %0,%2,%1+%3@toc@ha\"", "\"addis %0,%1+%3@u(%2)\"", "1", "\"lis %0,%v1\"", "1", "\"lis %0,%1@ha\"", "\"Could not generate addis value for fusion\""], "File": "rs6000", "Func": "emit_fusion_addis", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11693, "Length": 392, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_count_output_move_double_insns", "(", "rtx", "*", "operands", ")", "{", "int", "count", ";", "rtx", "ops", "[", "2", "]", ";", "ops", "[", "0", "]", "=", "operands", "[", "0", "]", ";", "ops", "[", "1", "]", "=", "operands", "[", "1", "]", ";", "output_move_double", "(", "ops", ",", "false", ",", "&", "count", ")", ";", "return", "count", ";", "}", ""], "natrual_language": ["Compute", "the", "number", "of", "instructions", "emitted", "by", "output_move_double", "."], "TS_V_token": ["arm", "2", "0", "0", "1", "1"], "File": "arm", "Func": "arm_count_output_move_double_insns", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11694, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_expand_to_rtl_hook", "(", "void", ")", "{", "mips_set_tuning_info", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_EXPAND_TO_RTL_HOOK", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_expand_to_rtl_hook", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11695, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "pure_scalable_type_info", "::", "analysis_result", "pure_scalable_type_info", "::", "analyze", "(", "const_tree", "type", ")", "{", "gcc_assert", "(", "pieces", ".", "is_empty", "(", ")", ")", ";", "if", "(", "type", "==", "error_mark_node", ")", "return", "NO_ABI_IDENTITY", ";", "if", "(", "TYPE_SIZE", "(", "type", ")", "&&", "integer_zerop", "(", "TYPE_SIZE", "(", "type", ")", ")", ")", "return", "NO_ABI_IDENTITY", ";", "piece", "p", "=", "{", "}", ";", "if", "(", "aarch64_sve", "::", "builtin_type_p", "(", "type", ",", "&", "p", ".", "num_zr", ",", "&", "p", ".", "num_pr", ")", ")", "{", "machine_mode", "mode", "=", "TYPE_MODE_RAW", "(", "type", ")", ";", "gcc_assert", "(", "VECTOR_MODE_P", "(", "mode", ")", "&&", "(", "!", "TARGET_SVE", "||", "aarch64_sve_mode_p", "(", "mode", ")", ")", ")", ";", "p", ".", "mode", "=", "p", ".", "orig_mode", "=", "mode", ";", "add_piece", "(", "p", ")", ";", "return", "IS_PST", ";", "}", "if", "(", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", ")", "return", "analyze_array", "(", "type", ")", ";", "if", "(", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", ")", "return", "analyze_record", "(", "type", ")", ";", "return", "ISNT_PST", ";", "}", ""], "natrual_language": ["Count", "how", "many", "times", "each", "regno", "is", "referenced", "as", "base", "address", "for", "a", "memory", "access", "."], "TS_V_token": ["aarch64", "aarch64_sve::builtin_type_p"], "File": "aarch64", "Func": "analyze", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11696, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "loongarch_force_binary", "(", "machine_mode", "mode", ",", "enum", "rtx_code", "code", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "rtx", "reg", ";", "reg", "=", "gen_reg_rtx", "(", "mode", ")", ";", "loongarch_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": ["loongarch"], "File": "loongarch", "Func": "loongarch_force_binary", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11697, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_rewrite_tls_address_1", "(", "rtx", "*", "loc", ")", "{", "subrtx_ptr_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX_PTR", "(", "iter", ",", "array", ",", "loc", ",", "ALL", ")", "{", "rtx", "*", "loc", "=", "*", "iter", ";", "if", "(", "MEM_P", "(", "*", "loc", ")", ")", "{", "rtx", "addr", "=", "XEXP", "(", "*", "loc", ",", "0", ")", ";", "rtx", "*", "x", "=", "&", "addr", ";", "while", "(", "GET_CODE", "(", "*", "x", ")", "==", "PLUS", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "2", ";", "i", "++", ")", "{", "rtx", "u", "=", "XEXP", "(", "*", "x", ",", "i", ")", ";", "if", "(", "GET_CODE", "(", "u", ")", "==", "ZERO_EXTEND", ")", "u", "=", "XEXP", "(", "u", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "u", ")", "==", "UNSPEC", "&&", "XINT", "(", "u", ",", "1", ")", "==", "UNSPEC_TP", ")", "{", "addr_space_t", "as", "=", "DEFAULT_TLS_SEG_REG", ";", "*", "x", "=", "XEXP", "(", "*", "x", ",", "1", "-", "i", ")", ";", "*", "loc", "=", "replace_equiv_address_nv", "(", "*", "loc", ",", "addr", ",", "true", ")", ";", "set_mem_addr_space", "(", "*", "loc", ",", "as", ")", ";", "return", ";", "}", "}", "x", "=", "&", "XEXP", "(", "*", "x", ",", "0", ")", ";", "}", "iter", ".", "skip_subrtxes", "(", ")", ";", "}", "}", "}", ""], "natrual_language": ["Rewrite", "*", "LOC", "so", "that", "it", "refers", "to", "a", "default", "TLS", "address", "space", "."], "TS_V_token": ["i386", "0", "0", "2", "0", "1", "1", "0"], "File": "i386", "Func": "ix86_rewrite_tls_address_1", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11698, "Length": 198, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "aarch64_movk_shift", "(", "const", "wide_int_ref", "&", "and_val", ",", "const", "wide_int_ref", "&", "ior_val", ")", "{", "unsigned", "int", "precision", "=", "and_val", ".", "get_precision", "(", ")", ";", "unsigned", "HOST_WIDE_INT", "mask", "=", "0xffff", ";", "for", "(", "unsigned", "int", "shift", "=", "0", ";", "shift", "<", "precision", ";", "shift", "+=", "16", ")", "{", "if", "(", "and_val", "==", "~", "mask", "&&", "(", "ior_val", "&", "mask", ")", "==", "ior_val", ")", "return", "shift", ";", "mask", "<<=", "16", ";", "}", "return", "-", "1", ";", "}", ""], "natrual_language": ["Test", "whether", ":", "X", "=", "(", "X", "&", "AND_VAL", ")", "|", "IOR_VAL", ";", "can", "be", "implemented", "using", ":", "MOVK", "X", ",", "#", "(", "IOR_VAL", ">", ">", "shift", ")", ",", "LSL", "#", "shift", "Return", "the", "shift", "if", "so", ",", "otherwise", "return", "-1", "."], "TS_V_token": ["aarch64", "0xffff", "0", "16", "16", "1"], "File": "aarch64", "Func": "aarch64_movk_shift", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11699, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmPrinter", "::", "printPCRelImm", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "raw_ostream", "&", "O", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown pcrel immediate operand\"", ")", ";", "case", "MachineOperand", "::", "MO_Register", ":", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "O", "<<", "MO", ".", "getImm", "(", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "O", "<<", "*", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "printSymbolOperand", "(", "MO", ",", "O", ")", ";", "return", ";", "}", "}", ""], "natrual_language": ["value", "(", "e.g", "."], "TS_V_token": ["X86", "X86", "\"Unknown pcrel immediate operand\""], "File": "X86AsmPrinter101", "Func": "printPCRelImm", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11700, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSymbol", "*", "XNCMMCInstLower", "::", "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": ["XNCM", "XNCM", "\"Unknown target flag on GV operand\"", "0"], "File": "XNCMMCInstLower", "Func": "GetExternalSymbolSymbol", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11701, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_print_patchable_function_entry", "(", "FILE", "*", "file", ",", "unsigned", "HOST_WIDE_INT", "patch_area_size", ",", "bool", "record_p", ")", "{", "if", "(", "cfun", "->", "machine", "->", "label_is_assembled", "&&", "aarch64_bti_enabled", "(", ")", "&&", "!", "cgraph_node", "::", "get", "(", "cfun", "->", "decl", ")", "->", "only_called_directly_p", "(", ")", ")", "{", "rtx_insn", "*", "insn", "=", "next_real_nondebug_insn", "(", "get_insns", "(", ")", ")", ";", "if", "(", "insn", "&&", "INSN_P", "(", "insn", ")", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "UNSPEC_VOLATILE", "&&", "XINT", "(", "PATTERN", "(", "insn", ")", ",", "1", ")", "==", "UNSPECV_BTI_C", ")", "delete_insn", "(", "insn", ")", ";", "asm_fprintf", "(", "file", ",", "\"\\thint\\t34 // bti c\\n\"", ")", ";", "}", "default_print_patchable_function_entry", "(", "file", ",", "patch_area_size", ",", "record_p", ")", ";", "}", ""], "natrual_language": ["Implement", "PRINT_PATCHABLE_FUNCTION_ENTRY", ".", "Check", "if", "the", "patch", "area", "is", "after", "the", "function", "label", "and", "emit", "a", "BTI", "if", "necessary", "."], "TS_V_token": ["aarch64", "1", "\"\\thint\\t34 // bti c\\n\""], "File": "aarch64", "Func": "aarch64_print_patchable_function_entry", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11702, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["ARM64"], "File": "ARM64DeadRegisterDefinitionsPass1", "Func": "getAnalysisUsage", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11703, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_pop_regs", "(", "unsigned", "regno1", ",", "unsigned", "regno2", ",", "HOST_WIDE_INT", "adjustment", ",", "rtx", "*", "cfi_ops", ")", "{", "machine_mode", "mode", "=", "(", "regno1", "<=", "R30_REGNUM", ")", "?", "E_DImode", ":", "E_DFmode", ";", "rtx", "reg1", "=", "gen_rtx_REG", "(", "mode", ",", "regno1", ")", ";", "*", "cfi_ops", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg1", ",", "*", "cfi_ops", ")", ";", "if", "(", "regno2", "==", "INVALID_REGNUM", ")", "{", "rtx", "mem", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "adjustment", ")", ";", "mem", "=", "gen_rtx_POST_MODIFY", "(", "Pmode", ",", "stack_pointer_rtx", ",", "mem", ")", ";", "emit_move_insn", "(", "reg1", ",", "gen_frame_mem", "(", "mode", ",", "mem", ")", ")", ";", "}", "else", "{", "rtx", "reg2", "=", "gen_rtx_REG", "(", "mode", ",", "regno2", ")", ";", "*", "cfi_ops", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg2", ",", "*", "cfi_ops", ")", ";", "emit_insn", "(", "aarch64_gen_loadwb_pair", "(", "mode", ",", "stack_pointer_rtx", ",", "reg1", ",", "reg2", ",", "adjustment", ")", ")", ";", "}", "}", ""], "natrual_language": ["Pop", "the", "two", "registers", "numbered", "REGNO1", ",", "REGNO2", "from", "the", "stack", ",", "adjusting", "it", "afterwards", "by", "ADJUSTMENT", "and", "writing", "the", "appropriate", "REG_CFA_RESTORE", "notes", "into", "CFI_OPS", "."], "TS_V_token": ["aarch64"], "File": "aarch645", "Func": "aarch64_pop_regs", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11704, "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", ")", "const", "{", "if", "(", "IsPICCall", "&&", "!", "InternalLinkage", "&&", "IsCallReloc", ")", "{", "unsigned", "GPReg", "=", "ABI", ".", "IsN64", "(", ")", "?", "Mips", "::", "GP_64", ":", "Mips", "::", "GP", ";", "EVT", "Ty", "=", "ABI", ".", "IsN64", "(", ")", "?", "MVT", "::", "i64", ":", "MVT", "::", "i32", ";", "RegsToPass", ".", "push_back", "(", "std", "::", "make_pair", "(", "GPReg", ",", "getGlobalReg", "(", "CLI", ".", "DAG", ",", "Ty", ")", ")", ")", ";", "}", "SDValue", "InFlag", ";", "for", "(", "auto", "&", "R", ":", "RegsToPass", ")", "{", "Chain", "=", "CLI", ".", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "CLI", ".", "DL", ",", "R", ".", "first", ",", "R", ".", "second", ",", "InFlag", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "}", "for", "(", "auto", "&", "R", ":", "RegsToPass", ")", "Ops", ".", "push_back", "(", "CLI", ".", "DAG", ".", "getRegister", "(", "R", ".", "first", ",", "R", ".", "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\"", ")", ";", "if", "(", "Subtarget", ".", "inMips16HardFloat", "(", ")", ")", "{", "if", "(", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "CLI", ".", "Callee", ")", ")", "{", "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", "1", "\"Missing call preserved mask for calling convention\"", "Mips", "\"__Mips16RetHelper\"", "Mips", "Mips"], "File": "MipsISelLowering26", "Func": "getOpndList", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11705, "Length": 347, "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": 11706, "Length": 16, "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!\"", ")", ";", "break", ";", "case", "ISD", "::", "BITCAST", ":", "Res", "=", "ExpandBITCAST", "(", "N", ",", "DAG", ")", ";", "break", ";", "case", "ISD", "::", "SRL", ":", "case", "ISD", "::", "SRA", ":", "Res", "=", "Expand64BitShift", "(", "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::BITCAST", "ISD::SRL", "ISD::SRA"], "File": "ARMISelLowering131", "Func": "ReplaceNodeResults", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11707, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "return", "true", ";", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "assert", "(", "MO", ".", "isReg", "(", ")", "&&", "\"unexpected inline asm memory operand\"", ")", ";", "O", "<<", "\"[\"", "<<", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", "<<", "\"]\"", ";", "return", "false", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "."], "TS_V_token": ["ARM", "ARM", "0", "\"unexpected inline asm memory operand\"", "\"[\"", "\"]\""], "File": "ARMAsmPrinter11", "Func": "PrintAsmMemoryOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11708, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getMinPrefetchStride", "(", ")", "const", "override", "{", "return", "MinPrefetchStride", ";", "}", ""], "natrual_language": ["Some", "HW", "prefetchers", "can", "handle", "accesses", "up", "to", "a", "certain", "constant", "stride", "."], "TS_V_token": ["AArch64"], "File": "AArch64Subtarget100", "Func": "getMinPrefetchStride", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11709, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_simd_clone_adjust", "(", "struct", "cgraph_node", "*", "node", ")", "{", "const", "char", "*", "str", "=", "NULL", ";", "gcc_assert", "(", "node", "->", "decl", "==", "cfun", "->", "decl", ")", ";", "switch", "(", "node", "->", "simdclone", "->", "vecsize_mangle", ")", "{", "case", "'b'", ":", "if", "(", "!", "TARGET_SSE2", ")", "str", "=", "\"sse2\"", ";", "break", ";", "case", "'c'", ":", "if", "(", "!", "TARGET_AVX", ")", "str", "=", "\"avx\"", ";", "break", ";", "case", "'d'", ":", "if", "(", "!", "TARGET_AVX2", ")", "str", "=", "\"avx2\"", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "str", "==", "NULL", ")", "return", ";", "push_cfun", "(", "NULL", ")", ";", "tree", "args", "=", "build_tree_list", "(", "NULL_TREE", ",", "build_string", "(", "strlen", "(", "str", ")", ",", "str", ")", ")", ";", "bool", "ok", "=", "ix86_valid_target_attribute_p", "(", "node", "->", "decl", ",", "NULL", ",", "args", ",", "0", ")", ";", "gcc_assert", "(", "ok", ")", ";", "pop_cfun", "(", ")", ";", "ix86_reset_previous_fndecl", "(", ")", ";", "ix86_set_current_function", "(", "node", "->", "decl", ")", ";", "}", ""], "natrual_language": ["Add", "target", "attribute", "to", "SIMD", "clone", "NODE", "if", "needed", "."], "TS_V_token": ["i386", "\"sse2\"", "\"avx\"", "\"avx2\"", "0"], "File": "i3864", "Func": "ix86_simd_clone_adjust", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11710, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"ARM pre- register allocation load / store optimization pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"ARM pre- register allocation load / store optimization pass\""], "File": "ARMLoadStoreOptimizer11", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11711, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16FrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "const", "Mips16InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "Mips16InstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "const", "MipsRegisterInfo", "&", "RI", "=", "TII", ".", "getRegisterInfo", "(", ")", ";", "const", "BitVector", "Reserved", "=", "RI", ".", "getReservedRegs", "(", "MF", ")", ";", "bool", "SaveS2", "=", "Reserved", "[", "Mips", "::", "S2", "]", ";", "if", "(", "SaveS2", ")", "SavedRegs", ".", "set", "(", "Mips", "::", "S2", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "SavedRegs", ".", "set", "(", "Mips", "::", "S0", ")", ";", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips::S2", "Mips::S2", "Mips::S0"], "File": "Mips16FrameLowering12", "Func": "determineCalleeSaves", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11712, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "parse_type", "(", "const", "function_instance", "&", "instance", ",", "const", "char", "*", "&", "format", ")", "{", "int", "ch", "=", "*", "format", "++", ";", "if", "(", "ch", "==", "'_'", ")", "return", "void_type_node", ";", "if", "(", "ch", "==", "'a'", ")", "{", "ch", "=", "*", "format", "++", ";", "if", "(", "ch", "==", "'l'", ")", "return", "build_const_pointer", "(", "instance", ".", "memory_scalar_type", "(", ")", ")", ";", "if", "(", "ch", "==", "'p'", ")", "return", "const_ptr_type_node", ";", "if", "(", "ch", "==", "'s'", ")", "return", "build_pointer_type", "(", "instance", ".", "memory_scalar_type", "(", ")", ")", ";", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "ch", "==", "'b'", ")", "return", "instance", ".", "base_vector_type", "(", ")", ";", "if", "(", "ch", "==", "'d'", ")", "return", "instance", ".", "displacement_vector_type", "(", ")", ";", "if", "(", "ch", "==", "'e'", ")", "{", "if", "(", "startswith", "(", "format", ",", "\"pattern\"", ")", ")", "{", "format", "+=", "7", ";", "return", "acle_svpattern", ";", "}", "if", "(", "startswith", "(", "format", ",", "\"prfop\"", ")", ")", "{", "format", "+=", "5", ";", "return", "acle_svprfop", ";", "}", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "ch", "==", "'s'", ")", "{", "type_suffix_index", "suffix", "=", "parse_element_type", "(", "instance", ",", "format", ")", ";", "return", "scalar_types", "[", "type_suffixes", "[", "suffix", "]", ".", "vector_type", "]", ";", "}", "if", "(", "ch", "==", "'t'", ")", "{", "type_suffix_index", "suffix", "=", "parse_element_type", "(", "instance", ",", "format", ")", ";", "vector_type_index", "vector_type", "=", "type_suffixes", "[", "suffix", "]", ".", "vector_type", ";", "unsigned", "int", "num_vectors", "=", "instance", ".", "vectors_per_tuple", "(", ")", ";", "return", "acle_vector_types", "[", "num_vectors", "-", "1", "]", "[", "vector_type", "]", ";", "}", "if", "(", "ch", "==", "'v'", ")", "{", "type_suffix_index", "suffix", "=", "parse_element_type", "(", "instance", ",", "format", ")", ";", "return", "acle_vector_types", "[", "0", "]", "[", "type_suffixes", "[", "suffix", "]", ".", "vector_type", "]", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Read", "and", "return", "a", "type", "from", "FORMAT", "for", "function", "INSTANCE", ".", "Advance", "FORMAT", "beyond", "the", "type", "string", ".", "The", "format", "is", ":", "_", "-", "void", "al", "-", "array", "pointer", "for", "loads", "ap", "-", "array", "pointer", "for", "prefetches", "as", "-", "array", "pointer", "for", "stores", "b", "-", "base", "vector", "type", "(", "from", "a", "_", "<", "m0", ">", "base", "suffix", ")", "d", "-", "displacement", "vector", "type", "(", "from", "a", "_", "<", "m1", ">", "index", "or", "_", "<", "m1", ">", "offset", "suffix", ")", "e", "<", "name", ">", "-", "an", "enum", "with", "the", "given", "name", "s", "<", "elt", ">", "-", "a", "scalar", "type", "with", "the", "given", "element", "suffix", "t", "<", "elt", ">", "-", "a", "vector", "or", "tuple", "type", "with", "given", "element", "suffix", "[", "*", "1", "]", "v", "<", "elt", ">", "-", "a", "vector", "with", "the", "given", "element", "suffix", "where", "<", "elt", ">", "has", "the", "format", "described", "above", "parse_element_type", "[", "*", "1", "]", "the", "vectors_per_tuple", "function", "indicates", "whether", "the", "type", "should", "be", "a", "tuple", ",", "and", "if", "so", ",", "how", "many", "vectors", "it", "should", "contain", "."], "TS_V_token": ["aarch64", "\"pattern\"", "7", "\"prfop\"", "5", "1", "0"], "File": "aarch64-sve-builtins-shapes2", "Func": "parse_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11713, "Length": 280, "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": ["OR1K"], "File": "OR1KAsmParser1", "Func": "isReg", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11714, "Length": 13, "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_E500", ":", "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_E500", "PPC::DIR_E500mc", "PPC::DIR_E5500", "2"], "File": "PPCISelLowering (2)7", "Func": "combineRepeatedFPDivisors", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11715, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "EmitInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "bool", ")", "override", "{", "EmitA64MappingSymbol", "(", ")", ";", "MCELFStreamer", "::", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["AArch64"], "File": "AArch64ELFStreamer", "Func": "EmitInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11716, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTTIImpl", "::", "isHardwareLoopProfitable", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "AssumptionCache", "&", "AC", ",", "TargetLibraryInfo", "*", "LibInfo", ",", "TTI", "::", "HardwareLoopInfo", "&", "HWLoopInfo", ")", "{", "const", "PPCTargetMachine", "&", "TM", "=", "ST", "->", "getTargetMachine", "(", ")", ";", "TargetSchedModel", "SchedModel", ";", "SchedModel", ".", "init", "(", "ST", ")", ";", "unsigned", "ConstTripCount", "=", "SE", ".", "getSmallConstantTripCount", "(", "L", ")", ";", "if", "(", "ConstTripCount", "&&", "ConstTripCount", "<", "SmallCTRLoopThreshold", ")", "{", "SmallPtrSet", "<", "const", "Value", "*", ",", "32", ">", "EphValues", ";", "CodeMetrics", "::", "collectEphemeralValues", "(", "L", ",", "&", "AC", ",", "EphValues", ")", ";", "CodeMetrics", "Metrics", ";", "for", "(", "BasicBlock", "*", "BB", ":", "L", "->", "blocks", "(", ")", ")", "Metrics", ".", "analyzeBasicBlock", "(", "BB", ",", "*", "this", ",", "EphValues", ")", ";", "if", "(", "Metrics", ".", "NumInsts", "<=", "(", "6", "*", "SchedModel", ".", "getIssueWidth", "(", ")", ")", ")", "return", "false", ";", "}", "for", "(", "Loop", "::", "block_iterator", "I", "=", "L", "->", "block_begin", "(", ")", ",", "IE", "=", "L", "->", "block_end", "(", ")", ";", "I", "!=", "IE", ";", "++", "I", ")", "if", "(", "mightUseCTR", "(", "*", "I", ",", "LibInfo", ")", ")", "return", "false", ";", "SmallVector", "<", "BasicBlock", "*", ",", "4", ">", "ExitingBlocks", ";", "L", "->", "getExitingBlocks", "(", "ExitingBlocks", ")", ";", "for", "(", "auto", "&", "BB", ":", "ExitingBlocks", ")", "{", "Instruction", "*", "TI", "=", "BB", "->", "getTerminator", "(", ")", ";", "if", "(", "!", "TI", ")", "continue", ";", "if", "(", "BranchInst", "*", "BI", "=", "dyn_cast", "<", "BranchInst", ">", "(", "TI", ")", ")", "{", "uint64_t", "TrueWeight", "=", "0", ",", "FalseWeight", "=", "0", ";", "if", "(", "!", "BI", "->", "isConditional", "(", ")", "||", "!", "BI", "->", "extractProfMetadata", "(", "TrueWeight", ",", "FalseWeight", ")", ")", "continue", ";", "bool", "TrueIsExit", "=", "!", "L", "->", "contains", "(", "BI", "->", "getSuccessor", "(", "0", ")", ")", ";", "if", "(", "(", "TrueIsExit", "&&", "FalseWeight", "<", "TrueWeight", ")", "||", "(", "!", "TrueIsExit", "&&", "FalseWeight", ">", "TrueWeight", ")", ")", "return", "false", ";", "}", "}", "LLVMContext", "&", "C", "=", "L", "->", "getHeader", "(", ")", "->", "getContext", "(", ")", ";", "HWLoopInfo", ".", "CountType", "=", "TM", ".", "isPPC64", "(", ")", "?", "Type", "::", "getInt64Ty", "(", "C", ")", ":", "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": ["PowerPC", "PPC", "PPC", "32", "6", "4", "0", "0", "0", "PPC", "1"], "File": "PPCTargetTransformInfo61", "Func": "isHardwareLoopProfitable", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11717, "Length": 362, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64InstPrinter", "::", "printImplicitlyTypedVectorList", "(", "const", "MCInst", "*", "MI", ",", "unsigned", "OpNum", ",", "raw_ostream", "&", "O", ")", "{", "printVectorList", "(", "MI", ",", "OpNum", ",", "O", ",", "\"\"", ")", ";", "}", ""], "natrual_language": ["Print", "a", "list", "of", "vector", "registers", "where", "the", "type", "suffix", "is", "implicit", "(", "i.e", "."], "TS_V_token": ["AArch64", "AArch64", "\"\""], "File": "AArch64InstPrinter", "Func": "printImplicitlyTypedVectorList", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11718, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "isAssociativeAndCommutative", "(", "const", "MachineInstr", "&", "Inst", ")", "const", "{", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "case", "X86", "::", "AND8rr", ":", "case", "X86", "::", "AND16rr", ":", "case", "X86", "::", "AND32rr", ":", "case", "X86", "::", "AND64rr", ":", "case", "X86", "::", "OR8rr", ":", "case", "X86", "::", "OR16rr", ":", "case", "X86", "::", "OR32rr", ":", "case", "X86", "::", "OR64rr", ":", "case", "X86", "::", "XOR8rr", ":", "case", "X86", "::", "XOR16rr", ":", "case", "X86", "::", "XOR32rr", ":", "case", "X86", "::", "XOR64rr", ":", "case", "X86", "::", "IMUL16rr", ":", "case", "X86", "::", "IMUL32rr", ":", "case", "X86", "::", "IMUL64rr", ":", "case", "X86", "::", "PANDrr", ":", "case", "X86", "::", "PORrr", ":", "case", "X86", "::", "PXORrr", ":", "case", "X86", "::", "VPANDrr", ":", "case", "X86", "::", "VPANDYrr", ":", "case", "X86", "::", "VPORrr", ":", "case", "X86", "::", "VPORYrr", ":", "case", "X86", "::", "VPXORrr", ":", "case", "X86", "::", "VPXORYrr", ":", "case", "X86", "::", "MAXCPDrr", ":", "case", "X86", "::", "MAXCPSrr", ":", "case", "X86", "::", "MAXCSDrr", ":", "case", "X86", "::", "MAXCSSrr", ":", "case", "X86", "::", "MINCPDrr", ":", "case", "X86", "::", "MINCPSrr", ":", "case", "X86", "::", "MINCSDrr", ":", "case", "X86", "::", "MINCSSrr", ":", "case", "X86", "::", "VMAXCPDrr", ":", "case", "X86", "::", "VMAXCPSrr", ":", "case", "X86", "::", "VMAXCPDYrr", ":", "case", "X86", "::", "VMAXCPSYrr", ":", "case", "X86", "::", "VMAXCSDrr", ":", "case", "X86", "::", "VMAXCSSrr", ":", "case", "X86", "::", "VMINCPDrr", ":", "case", "X86", "::", "VMINCPSrr", ":", "case", "X86", "::", "VMINCPDYrr", ":", "case", "X86", "::", "VMINCPSYrr", ":", "case", "X86", "::", "VMINCSDrr", ":", "case", "X86", "::", "VMINCSSrr", ":", "return", "true", ";", "case", "X86", "::", "ADDPDrr", ":", "case", "X86", "::", "ADDPSrr", ":", "case", "X86", "::", "ADDSDrr", ":", "case", "X86", "::", "ADDSSrr", ":", "case", "X86", "::", "MULPDrr", ":", "case", "X86", "::", "MULPSrr", ":", "case", "X86", "::", "MULSDrr", ":", "case", "X86", "::", "MULSSrr", ":", "case", "X86", "::", "VADDPDrr", ":", "case", "X86", "::", "VADDPSrr", ":", "case", "X86", "::", "VADDPDYrr", ":", "case", "X86", "::", "VADDPSYrr", ":", "case", "X86", "::", "VADDSDrr", ":", "case", "X86", "::", "VADDSSrr", ":", "case", "X86", "::", "VMULPDrr", ":", "case", "X86", "::", "VMULPSrr", ":", "case", "X86", "::", "VMULPDYrr", ":", "case", "X86", "::", "VMULPSYrr", ":", "case", "X86", "::", "VMULSDrr", ":", "case", "X86", "::", "VMULSSrr", ":", "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": ["X86", "X86", "X86::AND8rr", "X86::AND16rr", "X86::AND32rr", "X86::AND64rr", "X86::OR8rr", "X86::OR16rr", "X86::OR32rr", "X86::OR64rr", "X86::XOR8rr", "X86::XOR16rr", "X86::XOR32rr", "X86::XOR64rr", "X86::IMUL16rr", "X86::IMUL32rr", "X86::IMUL64rr", "X86::PANDrr", "X86::PORrr", "X86::PXORrr", "X86::VPANDrr", "X86::VPANDYrr", "X86::VPORrr", "X86::VPORYrr", "X86::VPXORrr", "X86::VPXORYrr", "X86::MAXCPDrr", "X86::MAXCPSrr", "X86::MAXCSDrr", "X86::MAXCSSrr", "X86::MINCPDrr", "X86::MINCPSrr", "X86::MINCSDrr", "X86::MINCSSrr", "X86::VMAXCPDrr", "X86::VMAXCPSrr", "X86::VMAXCPDYrr", "X86::VMAXCPSYrr", "X86::VMAXCSDrr", "X86::VMAXCSSrr", "X86::VMINCPDrr", "X86::VMINCPSrr", "X86::VMINCPDYrr", "X86::VMINCPSYrr", "X86::VMINCSDrr", "X86::VMINCSSrr", "X86::ADDPDrr", "X86::ADDPSrr", "X86::ADDSDrr", "X86::ADDSSrr", "X86::MULPDrr", "X86::MULPSrr", "X86::MULSDrr", "X86::MULSSrr", "X86::VADDPDrr", "X86::VADDPSrr", "X86::VADDPDYrr", "X86::VADDPSYrr", "X86::VADDSDrr", "X86::VADDSSrr", "X86::VMULPDrr", "X86::VMULPSrr", "X86::VMULPDYrr", "X86::VMULPSYrr", "X86::VMULSDrr", "X86::VMULSSrr"], "File": "X86InstrInfo (2)1", "Func": "isAssociativeAndCommutative", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11719, "Length": 370, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_maybe_swap_ready", "(", "rtx_insn", "*", "*", "ready", ",", "int", "pos1", ",", "int", "pos2", ",", "int", "limit", ")", "{", "if", "(", "pos1", "<", "pos2", "&&", "INSN_PRIORITY", "(", "ready", "[", "pos1", "]", ")", "+", "limit", ">=", "INSN_PRIORITY", "(", "ready", "[", "pos2", "]", ")", ")", "{", "rtx_insn", "*", "temp", ";", "temp", "=", "ready", "[", "pos1", "]", ";", "ready", "[", "pos1", "]", "=", "ready", "[", "pos2", "]", ";", "ready", "[", "pos2", "]", "=", "temp", ";", "}", "}", ""], "natrual_language": ["If", "the", "priority", "of", "the", "instruction", "at", "POS2", "in", "the", "ready", "queue", "READY", "is", "within", "LIMIT", "units", "of", "that", "of", "the", "instruction", "at", "POS1", ",", "swap", "the", "instructions", "if", "POS2", "is", "not", "already", "less", "than", "POS1", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_maybe_swap_ready", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11720, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_evpc_neon_vuzp", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "int", "i", ",", "odd", ",", "mask", ",", "nelt", "=", "d", "->", "nelt", ";", "rtx", "out0", ",", "out1", ",", "in0", ",", "in1", ";", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "int", "first_elem", ";", "int", "swap_nelt", ";", "if", "(", "GET_MODE_UNIT_SIZE", "(", "d", "->", "vmode", ")", ">=", "8", ")", "return", "false", ";", "swap_nelt", "=", "BYTES_BIG_ENDIAN", "&&", "!", "d", "->", "one_vector_p", "&&", "GET_MODE_SIZE", "(", "d", "->", "vmode", ")", "==", "8", "?", "d", "->", "nelt", ":", "0", ";", "first_elem", "=", "d", "->", "perm", "[", "neon_endian_lane_map", "(", "d", "->", "vmode", ",", "0", ")", "]", "^", "swap_nelt", ";", "if", "(", "first_elem", "==", "neon_endian_lane_map", "(", "d", "->", "vmode", ",", "0", ")", ")", "odd", "=", "0", ";", "else", "if", "(", "first_elem", "==", "neon_endian_lane_map", "(", "d", "->", "vmode", ",", "1", ")", ")", "odd", "=", "1", ";", "else", "return", "false", ";", "mask", "=", "(", "d", "->", "one_vector_p", "?", "nelt", "-", "1", ":", "2", "*", "nelt", "-", "1", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "i", "++", ")", "{", "unsigned", "elt", "=", "(", "neon_pair_endian_lane_map", "(", "d", "->", "vmode", ",", "i", ")", "*", "2", "+", "odd", ")", "&", "mask", ";", "if", "(", "(", "d", "->", "perm", "[", "i", "]", "^", "swap_nelt", ")", "!=", "neon_pair_endian_lane_map", "(", "d", "->", "vmode", ",", "elt", ")", ")", "return", "false", ";", "}", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "switch", "(", "d", "->", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_neon_vuzpv16qi_internal", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_neon_vuzpv8qi_internal", ";", "break", ";", "case", "V8HImode", ":", "gen", "=", "gen_neon_vuzpv8hi_internal", ";", "break", ";", "case", "V4HImode", ":", "gen", "=", "gen_neon_vuzpv4hi_internal", ";", "break", ";", "case", "V8HFmode", ":", "gen", "=", "gen_neon_vuzpv8hf_internal", ";", "break", ";", "case", "V4HFmode", ":", "gen", "=", "gen_neon_vuzpv4hf_internal", ";", "break", ";", "case", "V4SImode", ":", "gen", "=", "gen_neon_vuzpv4si_internal", ";", "break", ";", "case", "V2SImode", ":", "gen", "=", "gen_neon_vuzpv2si_internal", ";", "break", ";", "case", "V2SFmode", ":", "gen", "=", "gen_neon_vuzpv2sf_internal", ";", "break", ";", "case", "V4SFmode", ":", "gen", "=", "gen_neon_vuzpv4sf_internal", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "in0", "=", "d", "->", "op0", ";", "in1", "=", "d", "->", "op1", ";", "if", "(", "swap_nelt", "!=", "0", ")", "std", "::", "swap", "(", "in0", ",", "in1", ")", ";", "out0", "=", "d", "->", "target", ";", "out1", "=", "gen_reg_rtx", "(", "d", "->", "vmode", ")", ";", "if", "(", "odd", ")", "std", "::", "swap", "(", "out0", ",", "out1", ")", ";", "emit_insn", "(", "gen", "(", "out0", ",", "in0", ",", "in1", ",", "out1", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "for", "the", "VUZP", "insns", "."], "TS_V_token": ["arm", "8", "8", "0", "0", "0", "0", "1", "1", "1", "2", "1", "0", "2", "0"], "File": "arm6", "Func": "arm_evpc_neon_vuzp", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11721, "Length": 413, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "loongarch_do_optimize_block_move_p", "(", "void", ")", "{", "if", "(", "target_flags_explicit", "&", "MASK_MEMCPY", ")", "return", "!", "TARGET_MEMCPY", ";", "return", "!", "optimize_size", ";", "}", ""], "natrual_language": ["Return", "true", "if", "loongarch_expand_block_move", "is", "the", "preferred", "implementation", "of", "the", "'cpymemsi", "'", "template", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_do_optimize_block_move_p", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11722, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "std", "::", "string", "NewOpcode", ";", "if", "(", "parseOptionalToken", "(", "AsmToken", "::", "Plus", ")", ")", "{", "NewOpcode", "=", "std", "::", "string", "(", "Name", ")", ";", "NewOpcode", "+=", "'+'", ";", "Name", "=", "NewOpcode", ";", "}", "if", "(", "parseOptionalToken", "(", "AsmToken", "::", "Minus", ")", ")", "{", "NewOpcode", "=", "std", "::", "string", "(", "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", "(", "parseOptionalToken", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "return", "false", ";", "if", "(", "ParseOperand", "(", "Operands", ")", ")", "return", "true", ";", "while", "(", "!", "parseOptionalToken", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "parseToken", "(", "AsmToken", "::", "Comma", ")", "||", "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": "PPCAsmParser15", "Func": "ParseInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11723, "Length": 355, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "VEInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "'%'", "<<", "StringRef", "(", "getRegisterName", "(", "RegNo", ")", ")", ".", "lower", "(", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["VE", "VE"], "File": "VEInstPrinter1", "Func": "printRegName", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11724, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_split_convert_uns_si_sse", "(", "rtx", "operands", "[", "]", ")", "{", "machine_mode", "vecmode", ";", "rtx", "value", ",", "large", ",", "zero_or_two31", ",", "input", ",", "two31", ",", "x", ";", "large", "=", "operands", "[", "1", "]", ";", "zero_or_two31", "=", "operands", "[", "2", "]", ";", "input", "=", "operands", "[", "3", "]", ";", "two31", "=", "operands", "[", "4", "]", ";", "vecmode", "=", "GET_MODE", "(", "large", ")", ";", "value", "=", "gen_rtx_REG", "(", "vecmode", ",", "REGNO", "(", "operands", "[", "0", "]", ")", ")", ";", "if", "(", "MEM_P", "(", "input", ")", ")", "{", "if", "(", "vecmode", "==", "V4SFmode", ")", "emit_insn", "(", "gen_vec_setv4sf_0", "(", "value", ",", "CONST0_RTX", "(", "V4SFmode", ")", ",", "input", ")", ")", ";", "else", "emit_insn", "(", "gen_sse2_loadlpd", "(", "value", ",", "CONST0_RTX", "(", "V2DFmode", ")", ",", "input", ")", ")", ";", "}", "else", "{", "input", "=", "gen_rtx_REG", "(", "vecmode", ",", "REGNO", "(", "input", ")", ")", ";", "emit_move_insn", "(", "value", ",", "CONST0_RTX", "(", "vecmode", ")", ")", ";", "if", "(", "vecmode", "==", "V4SFmode", ")", "emit_insn", "(", "gen_sse_movss", "(", "value", ",", "value", ",", "input", ")", ")", ";", "else", "emit_insn", "(", "gen_sse2_movsd", "(", "value", ",", "value", ",", "input", ")", ")", ";", "}", "emit_move_insn", "(", "large", ",", "two31", ")", ";", "emit_move_insn", "(", "zero_or_two31", ",", "MEM_P", "(", "two31", ")", "?", "large", ":", "two31", ")", ";", "x", "=", "gen_rtx_fmt_ee", "(", "LE", ",", "vecmode", ",", "large", ",", "value", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "large", ",", "x", ")", ")", ";", "x", "=", "gen_rtx_AND", "(", "vecmode", ",", "zero_or_two31", ",", "large", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "zero_or_two31", ",", "x", ")", ")", ";", "x", "=", "gen_rtx_MINUS", "(", "vecmode", ",", "value", ",", "zero_or_two31", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "value", ",", "x", ")", ")", ";", "large", "=", "gen_rtx_REG", "(", "V4SImode", ",", "REGNO", "(", "large", ")", ")", ";", "emit_insn", "(", "gen_ashlv4si3", "(", "large", ",", "large", ",", "GEN_INT", "(", "31", ")", ")", ")", ";", "x", "=", "gen_rtx_REG", "(", "V4SImode", ",", "REGNO", "(", "value", ")", ")", ";", "if", "(", "vecmode", "==", "V4SFmode", ")", "emit_insn", "(", "gen_fix_truncv4sfv4si2", "(", "x", ",", "value", ")", ")", ";", "else", "emit_insn", "(", "gen_sse2_cvttpd2dq", "(", "x", ",", "value", ")", ")", ";", "value", "=", "x", ";", "emit_insn", "(", "gen_xorv4si3", "(", "value", ",", "value", ",", "large", ")", ")", ";", "}", ""], "natrual_language": ["Post-reload", "splitter", "for", "converting", "an", "SF", "or", "DFmode", "value", "in", "an", "SSE", "register", "into", "an", "unsigned", "SImode", "."], "TS_V_token": ["i386", "1", "2", "3", "4", "0", "31"], "File": "i3864", "Func": "ix86_split_convert_uns_si_sse", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11725, "Length": 352, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "long", "long", "rs6000_const_f32_to_i32", "(", "rtx", "operand", ")", "{", "long", "long", "value", ";", "const", "struct", "real_value", "*", "rv", "=", "CONST_DOUBLE_REAL_VALUE", "(", "operand", ")", ";", "gcc_assert", "(", "GET_MODE", "(", "operand", ")", "==", "SFmode", ")", ";", "REAL_VALUE_TO_TARGET_SINGLE", "(", "*", "rv", ",", "value", ")", ";", "return", "value", ";", "}", ""], "natrual_language": ["Convert", "a", "SFmode", "constant", "to", "the", "integer", "bit", "pattern", "."], "TS_V_token": ["rs6000"], "File": "rs60001", "Func": "rs6000_const_f32_to_i32", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11726, "Length": 45, "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", "NumOps", "=", "Inst", ".", "getNumOperands", "(", ")", ";", "if", "(", "NumOps", "==", "0", "||", "Info", "->", "get", "(", "Inst", ".", "getOpcode", "(", ")", ")", ".", "OpInfo", "[", "NumOps", "-", "1", "]", ".", "OperandType", "!=", "MCOI", "::", "OPERAND_PCREL", ")", "return", "false", ";", "Target", "=", "Addr", "+", "Inst", ".", "getOperand", "(", "NumOps", "-", "1", ")", ".", "getImm", "(", ")", "*", "Size", ";", "return", "true", ";", "}", ""], "natrual_language": ["Given", "a", "branch", "instruction", "try", "to", "get", "the", "address", "the", "branch", "targets", "."], "TS_V_token": ["PowerPC", "0", "1", "1"], "File": "PPCMCTargetDesc25", "Func": "evaluateBranch", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11727, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "expandPostRAPseudo", "(", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "LOAD_STACK_GUARD", ")", "{", "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", ";", "Register", "DstRegS", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "Register", "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", "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": "ARMBaseInstrInfo70", "Func": "expandPostRAPseudo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11728, "Length": 410, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZInstPrinter", "::", "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": ["SystemZ", "SystemZ"], "File": "SystemZInstPrinter", "Func": "printInst", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11729, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "function_builder", "::", "add_overloaded_function", "(", "const", "function_instance", "&", "instance", ",", "uint64_t", "required_extensions", ")", "{", "char", "*", "name", "=", "get_name", "(", "instance", ",", "true", ")", ";", "if", "(", "registered_function", "*", "*", "map_value", "=", "m_overload_names", ".", "get", "(", "name", ")", ")", "{", "gcc_assert", "(", "(", "*", "map_value", ")", "->", "instance", "==", "instance", "&&", "(", "(", "*", "map_value", ")", "->", "required_extensions", "&", "~", "required_extensions", ")", "==", "0", ")", ";", "obstack_free", "(", "&", "m_string_obstack", ",", "name", ")", ";", "}", "else", "{", "registered_function", "&", "rfn", "=", "add_function", "(", "instance", ",", "name", ",", "m_overload_type", ",", "NULL_TREE", ",", "required_extensions", ",", "true", ",", "m_direct_overloads", ")", ";", "m_overload_names", ".", "put", "(", "name", ",", "&", "rfn", ")", ";", "}", "}", ""], "natrual_language": ["Add", "one", "function", "decl", "for", "INSTANCE", ",", "to", "be", "used", "with", "manual", "overload", "resolution", ".", "REQUIRED_EXTENSIONS", "are", "the", "set", "of", "architecture", "extensions", "that", "the", "function", "requires", ".", "For", "simplicity", ",", "deal", "with", "duplicate", "attempts", "to", "add", "the", "same", "function", ",", "including", "cases", "in", "which", "the", "new", "function", "requires", "more", "features", "than", "the", "original", "one", "did", ".", "In", "that", "case", "we", "'ll", "check", "whether", "the", "required", "features", "are", "available", "as", "part", "of", "resolving", "the", "function", "to", "the", "relevant", "unique", "function", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64-sve-builtins1", "Func": "add_overloaded_function", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11730, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZTargetLowering", "::", "isLegalAddImmediate", "(", "int64_t", "Imm", ")", "const", "{", "return", "isUInt", "<", "32", ">", "(", "Imm", ")", "||", "isUInt", "<", "32", ">", "(", "-", "Imm", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "immediate", "is", "legal", "add", "immediate", ",", "that", "is", "the", "target", "has", "add", "instructions", "which", "can", "add", "a", "register", "and", "the", "immediate", "without", "having", "to", "materialize", "the", "immediate", "into", "a", "register", "."], "TS_V_token": ["SystemZ", "SystemZ", "32", "32"], "File": "SystemZISelLowering (2)1", "Func": "isLegalAddImmediate", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11731, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARM64InstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ARM64", "::", "STRWui", ":", "case", "ARM64", "::", "STRXui", ":", "case", "ARM64", "::", "STRBui", ":", "case", "ARM64", "::", "STRHui", ":", "case", "ARM64", "::", "STRSui", ":", "case", "ARM64", "::", "STRDui", ":", "case", "ARM64", "::", "STRQui", ":", "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": ["ARM64", "ARM64", "ARM64::STRWui", "ARM64::STRXui", "ARM64::STRBui", "ARM64::STRHui", "ARM64::STRSui", "ARM64::STRDui", "ARM64::STRQui", "0", "0", "1", "2", "2", "0", "1", "0", "0"], "File": "ARM64InstrInfo", "Func": "isStoreToStackSlot", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11732, "Length": 148, "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": 11733, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SICRegisterInfo", "::", "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": ["SIC", "SIC"], "File": "SICRegisterInfo", "Func": "requiresRegisterScavenging", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11734, "Length": 16, "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", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "&", "SP", "::", "IntRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "FPRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STFri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "DFPRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STDFri", ")", ")", ".", "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": ["Sparc", "Sparc", "SP::IntRegsRegClass", "SP::STri", "0", "SP::FPRegsRegClass", "SP::STFri", "0", "SP::DFPRegsRegClass", "SP::STDFri", "0", "\"Can't store this register to stack slot\""], "File": "SparcInstrInfo19", "Func": "storeRegToStackSlot", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11735, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "supersparc_adjust_cost", "(", "rtx_insn", "*", "insn", ",", "rtx", "link", ",", "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", "(", "REG_NOTE_KIND", "(", "link", ")", "==", "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": "sparc5", "Func": "supersparc_adjust_cost", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11736, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "OR1KTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "getTargetMachine", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "assert", "(", "(", "Opc", "==", "OR1K", "::", "Select", "||", "Opc", "==", "OR1K", "::", "Selectf32", ")", "&&", "\"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", "(", "OR1K", "::", "BF", ")", ")", ".", "addMBB", "(", "copy1MBB", ")", ";", "BB", "=", "copy0MBB", ";", "BB", "->", "addSuccessor", "(", "copy1MBB", ")", ";", "BB", "=", "copy1MBB", ";", "BuildMI", "(", "*", "BB", ",", "BB", "->", "begin", "(", ")", ",", "dl", ",", "TII", ".", "get", "(", "OR1K", "::", "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": ["OR1K", "OR1K", "OR1K::Select", "OR1K::Selectf32", "\"Unexpected instr type to insert\"", "OR1K::BF", "OR1K::PHI", "0", "2", "1"], "File": "OR1KISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11737, "Length": 314, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "arm_floatn_mode", "(", "int", "n", ",", "bool", "extended", ")", "{", "if", "(", "!", "extended", "&&", "n", "==", "16", ")", "return", "arm_fp16_format", "==", "ARM_FP16_FORMAT_IEEE", "?", "HFmode", ":", "VOIDmode", ";", "return", "default_floatn_mode", "(", "n", ",", "extended", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FLOATN_MODE", ".", "Make", "very", "sure", "that", "we", "do", "n't", "provide", "_Float16", "if", "we", "are", "using", "anything", "other", "than", "ieee", "format", "for", "16-bit", "floating", "point", ".", "Otherwise", ",", "punt", "to", "the", "default", "implementation", "."], "TS_V_token": ["arm", "16"], "File": "arm6", "Func": "arm_floatn_mode", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11738, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "KudeyarPassConfig", "::", "addPreEmitPass", "(", ")", "{", "return", "false", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["Kudeyar", "Kudeyar"], "File": "KudeyarTargetMachine", "Func": "addPreEmitPass", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11739, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "loongarch_valid_lo_sum_p", "(", "enum", "loongarch_symbol_type", "symbol_type", ",", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "int", "align", ",", "size", ";", "if", "(", "loongarch_symbol_insns", "(", "symbol_type", ",", "mode", ")", "==", "0", ")", "return", "false", ";", "if", "(", "!", "loongarch_split_symbol_type", "(", "symbol_type", ")", ")", "return", "false", ";", "if", "(", "mode", "==", "BLKmode", ")", "{", "rtx", "offset", ";", "split_const", "(", "x", ",", "&", "x", ",", "&", "offset", ")", ";", "if", "(", "!", "SYMBOL_REF_P", "(", "x", ")", ")", "return", "false", ";", "align", "=", "(", "SYMBOL_REF_DECL", "(", "x", ")", "?", "DECL_ALIGN", "(", "SYMBOL_REF_DECL", "(", "x", ")", ")", ":", "1", ")", ";", "size", "=", "(", "SYMBOL_REF_DECL", "(", "x", ")", "&&", "DECL_SIZE", "(", "SYMBOL_REF_DECL", "(", "x", ")", ")", "?", "tree_to_uhwi", "(", "DECL_SIZE", "(", "SYMBOL_REF_DECL", "(", "x", ")", ")", ")", ":", "2", "*", "BITS_PER_WORD", ")", ";", "}", "else", "{", "align", "=", "GET_MODE_ALIGNMENT", "(", "mode", ")", ";", "size", "=", "GET_MODE_BITSIZE", "(", "mode", ")", ";", "}", "if", "(", "size", ">", "BITS_PER_WORD", "&&", "(", "!", "TARGET_STRICT_ALIGN", "||", "size", ">", "align", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "LO_SUM", "can", "address", "a", "value", "of", "mode", "MODE", "when", "the", "LO_SUM", "symbol", "has", "type", "SYMBOL_TYPE", "."], "TS_V_token": ["loongarch", "0", "1", "2"], "File": "loongarch1", "Func": "loongarch_valid_lo_sum_p", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11740, "Length": 168, "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", ":", "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", "0", "0", "1", "2", "2", "0", "1", "0", "0"], "File": "AArch64InstrInfo (2)", "Func": "isStoreToStackSlot", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11741, "Length": 148, "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": 11742, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ia64_dfa_pre_cycle_insn", "(", "void", ")", "{", "return", "dfa_pre_cycle_insn", ";", "}", ""], "natrual_language": ["The", "following", "function", "returns", "the", "pseudo", "insn", "DFA_PRE_CYCLE_INSN", "used", "by", "the", "DFA", "insn", "scheduler", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "ia64_dfa_pre_cycle_insn", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11743, "Length": 11, "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": 11744, "Length": 110, "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": 11745, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createExecutionDependencyFixPass", "(", "&", "X86", "::", "VR128RegClass", ")", ")", ";", "if", "(", "UseVZeroUpper", ")", "addPass", "(", "createX86IssueVZeroUpperPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createX86PadShortFunctions", "(", ")", ")", ";", "addPass", "(", "createX86FixupLEAs", "(", ")", ")", ";", "}", "if", "(", "Triple", "(", "TM", "->", "getTargetTriple", "(", ")", ")", ".", "isOSNaCl", "(", ")", ")", "{", "addPass", "(", "createX86NaClRewritePass", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["X86", "X86", "X86::VR128RegClass", "X86", "X86", "X86", "X86"], "File": "X86TargetMachine117", "Func": "addPreEmitPass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11746, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PromoteConstant", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "bool", "LocalChange", "=", "false", ";", "SmallPtrSet", "<", "Constant", "*", ",", "8", ">", "AlreadyChecked", ";", "for", "(", "Instruction", "&", "I", ":", "instructions", "(", "&", "F", ")", ")", "{", "for", "(", "Value", "*", "Op", ":", "I", ".", "operand_values", "(", ")", ")", "{", "Constant", "*", "Cst", "=", "dyn_cast", "<", "Constant", ">", "(", "Op", ")", ";", "if", "(", "Cst", "&&", "!", "isa", "<", "GlobalValue", ">", "(", "Cst", ")", "&&", "!", "isa", "<", "ConstantExpr", ">", "(", "Cst", ")", "&&", "AlreadyChecked", ".", "insert", "(", "Cst", ")", ".", "second", ")", "LocalChange", "|=", "promoteConstant", "(", "Cst", ")", ";", "}", "}", "return", "LocalChange", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["AArch64", "AArch64", "8"], "File": "AArch64PromoteConstant (2)", "Func": "runOnFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11747, "Length": 106, "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": "X86FixupLEAs29", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11748, "Length": 160, "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", ";", "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": "i3868", "Func": "x86_order_regs_for_local_alloc", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11749, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "shouldSink", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "isPredicated", "(", "MI", ")", ")", "return", "true", ";", "MachineBasicBlock", "::", "const_iterator", "Next", "=", "&", "MI", ";", "++", "Next", ";", "unsigned", "SrcReg", ",", "SrcReg2", ";", "int", "CmpMask", ",", "CmpValue", ";", "if", "(", "Next", "!=", "MI", ".", "getParent", "(", ")", "->", "end", "(", ")", "&&", "analyzeCompare", "(", "*", "Next", ",", "SrcReg", ",", "SrcReg2", ",", "CmpMask", ",", "CmpValue", ")", "&&", "isRedundantFlagInstr", "(", "&", "*", "Next", ",", "SrcReg", ",", "SrcReg2", ",", "CmpValue", ",", "&", "MI", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "instruction", "should", "be", "sunk", "by", "MachineSink", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMBaseInstrInfo1", "Func": "shouldSink", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11750, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "xstormy16_rtx_costs", "(", "rtx", "x", ",", "int", "code", ",", "int", "outer_code", "ATTRIBUTE_UNUSED", ",", "int", "opno", "ATTRIBUTE_UNUSED", ",", "int", "*", "total", ",", "bool", "speed", "ATTRIBUTE_UNUSED", ")", "{", "switch", "(", "code", ")", "{", "case", "CONST_INT", ":", "if", "(", "INTVAL", "(", "x", ")", "<", "16", "&&", "INTVAL", "(", "x", ")", ">=", "0", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", "/", "2", ";", "else", "if", "(", "INTVAL", "(", "x", ")", "<", "256", "&&", "INTVAL", "(", "x", ")", ">=", "0", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", ";", "else", "*", "total", "=", "COSTS_N_INSNS", "(", "2", ")", ";", "return", "true", ";", "case", "CONST_DOUBLE", ":", "case", "CONST", ":", "case", "SYMBOL_REF", ":", "case", "LABEL_REF", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "2", ")", ";", "return", "true", ";", "case", "MULT", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "35", "+", "6", ")", ";", "return", "true", ";", "case", "DIV", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "51", "-", "6", ")", ";", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Compute", "a", "(", "partial", ")", "cost", "for", "rtx", "X", ".", "Return", "true", "if", "the", "complete", "cost", "has", "been", "computed", ",", "and", "false", "if", "subexpressions", "should", "be", "scanned", ".", "In", "either", "case", ",", "*", "TOTAL", "contains", "the", "cost", "result", "."], "TS_V_token": ["stormy16", "16", "0", "1", "2", "256", "0", "1", "2", "2", "35", "6", "51", "6"], "File": "stormy164", "Func": "xstormy16_rtx_costs", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11751, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "rs6000_emit_allocate_stack", "(", "HOST_WIDE_INT", "size", ",", "rtx", "copy_reg", ",", "int", "copy_off", ")", "{", "rtx_insn", "*", "insn", ";", "rtx", "stack_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "STACK_POINTER_REGNUM", ")", ";", "rtx", "tmp_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ";", "rtx", "todec", "=", "gen_int_mode", "(", "-", "size", ",", "Pmode", ")", ";", "rtx", "par", ",", "set", ",", "mem", ";", "if", "(", "INTVAL", "(", "todec", ")", "!=", "-", "size", ")", "{", "warning", "(", "0", ",", "\"stack frame too large\"", ")", ";", "emit_insn", "(", "gen_trap", "(", ")", ")", ";", "return", "0", ";", "}", "if", "(", "crtl", "->", "limit_stack", ")", "{", "if", "(", "REG_P", "(", "stack_limit_rtx", ")", "&&", "REGNO", "(", "stack_limit_rtx", ")", ">", "1", "&&", "REGNO", "(", "stack_limit_rtx", ")", "<=", "31", ")", "{", "emit_insn", "(", "gen_add3_insn", "(", "tmp_reg", ",", "stack_limit_rtx", ",", "GEN_INT", "(", "size", ")", ")", ")", ";", "emit_insn", "(", "gen_cond_trap", "(", "LTU", ",", "stack_reg", ",", "tmp_reg", ",", "const0_rtx", ")", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "stack_limit_rtx", ")", "==", "SYMBOL_REF", "&&", "TARGET_32BIT", "&&", "DEFAULT_ABI", "==", "ABI_V4", "&&", "!", "flag_pic", ")", "{", "rtx", "toload", "=", "gen_rtx_CONST", "(", "VOIDmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_limit_rtx", ",", "GEN_INT", "(", "size", ")", ")", ")", ";", "emit_insn", "(", "gen_elf_high", "(", "tmp_reg", ",", "toload", ")", ")", ";", "emit_insn", "(", "gen_elf_low", "(", "tmp_reg", ",", "tmp_reg", ",", "toload", ")", ")", ";", "emit_insn", "(", "gen_cond_trap", "(", "LTU", ",", "stack_reg", ",", "tmp_reg", ",", "const0_rtx", ")", ")", ";", "}", "else", "warning", "(", "0", ",", "\"stack limit expression is not supported\"", ")", ";", "}", "if", "(", "copy_reg", ")", "{", "if", "(", "copy_off", "!=", "0", ")", "emit_insn", "(", "gen_add3_insn", "(", "copy_reg", ",", "stack_reg", ",", "GEN_INT", "(", "copy_off", ")", ")", ")", ";", "else", "emit_move_insn", "(", "copy_reg", ",", "stack_reg", ")", ";", "}", "if", "(", "size", ">", "32767", ")", "{", "if", "(", "get_last_insn", "(", ")", "==", "NULL_RTX", ")", "emit_note", "(", "NOTE_INSN_DELETED", ")", ";", "insn", "=", "emit_move_insn", "(", "tmp_reg", ",", "todec", ")", ";", "try_split", "(", "PATTERN", "(", "insn", ")", ",", "insn", ",", "0", ")", ";", "todec", "=", "tmp_reg", ";", "}", "insn", "=", "emit_insn", "(", "TARGET_32BIT", "?", "gen_movsi_update_stack", "(", "stack_reg", ",", "stack_reg", ",", "todec", ",", "stack_reg", ")", ":", "gen_movdi_di_update_stack", "(", "stack_reg", ",", "stack_reg", ",", "todec", ",", "stack_reg", ")", ")", ";", "par", "=", "PATTERN", "(", "insn", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "par", ")", "==", "PARALLEL", ")", ";", "set", "=", "XVECEXP", "(", "par", ",", "0", ",", "0", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "set", ")", "==", "SET", ")", ";", "mem", "=", "SET_DEST", "(", "set", ")", ";", "gcc_assert", "(", "MEM_P", "(", "mem", ")", ")", ";", "MEM_NOTRAP_P", "(", "mem", ")", "=", "1", ";", "set_mem_alias_set", "(", "mem", ",", "get_frame_alias_set", "(", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "stack_reg", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_reg", ",", "GEN_INT", "(", "-", "size", ")", ")", ")", ")", ";", "return", "insn", ";", "}", ""], "natrual_language": ["Emit", "the", "correct", "code", "for", "allocating", "stack", "space", ",", "as", "insns", ".", "If", "COPY_R12", ",", "make", "sure", "a", "copy", "of", "the", "old", "frame", "is", "left", "in", "r12", ".", "The", "generated", "code", "may", "use", "hard", "register", "0", "as", "a", "temporary", "."], "TS_V_token": ["powerpcspe", "0", "0", "\"stack frame too large\"", "0", "1", "31", "0", "\"stack limit expression is not supported\"", "0", "32767", "0", "0", "0", "1", "1"], "File": "powerpcspe", "Func": "rs6000_emit_allocate_stack", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11752, "Length": 446, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0InstrInfo", "::", "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", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "GetMemOperand", "(", "MBB", ",", "FI", ",", "MachineMemOperand", "::", "MOLoad", ")", ";", "unsigned", "Opc", "=", "0", ";", "if", "(", "Cpu0", "::", "CPURegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opc", "=", "Cpu0", "::", "LD", ";", "assert", "(", "Opc", "&&", "\"Register class not handled!\"", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ",", "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": ["Cpu0", "Cpu0", "0", "Cpu0::CPURegsRegClass", "Cpu0::LD", "\"Register class not handled!\"", "0"], "File": "Cpu0InstrInfo1", "Func": "loadRegFromStackSlot", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11753, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "SystemZ", "::", "ADJCALLSTACKDOWN", ":", "case", "SystemZ", "::", "ADJCALLSTACKUP", ":", "assert", "(", "hasReservedCallFrame", "(", "MF", ")", "&&", "\"ADJSTACKDOWN and ADJSTACKUP should be no-ops\"", ")", ";", "MBB", ".", "erase", "(", "MI", ")", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Unexpected call frame instruction\"", ")", ";", "}", "}", ""], "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": ["SystemZ", "SystemZ", "SystemZ::ADJCALLSTACKDOWN", "SystemZ::ADJCALLSTACKUP", "\"ADJSTACKDOWN and ADJSTACKUP should be no-ops\"", "\"Unexpected call frame instruction\""], "File": "SystemZFrameLowering (2)", "Func": "eliminateCallFramePseudoInstr", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11754, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rx_emit_stack_popm", "(", "rtx", "*", "operands", ",", "bool", "is_popm", ")", "{", "HOST_WIDE_INT", "stack_adjust", ";", "HOST_WIDE_INT", "last_reg", ";", "rtx", "first_push", ";", "gcc_assert", "(", "CONST_INT_P", "(", "operands", "[", "0", "]", ")", ")", ";", "stack_adjust", "=", "INTVAL", "(", "operands", "[", "0", "]", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "PARALLEL", ")", ";", "last_reg", "=", "XVECLEN", "(", "operands", "[", "1", "]", ",", "0", ")", "-", "(", "is_popm", "?", "2", ":", "3", ")", ";", "first_push", "=", "XVECEXP", "(", "operands", "[", "1", "]", ",", "0", ",", "1", ")", ";", "gcc_assert", "(", "SET_P", "(", "first_push", ")", ")", ";", "first_push", "=", "SET_DEST", "(", "first_push", ")", ";", "gcc_assert", "(", "REG_P", "(", "first_push", ")", ")", ";", "if", "(", "is_popm", ")", "asm_fprintf", "(", "asm_out_file", ",", "\"\\tpopm\\t%s-%s\\n\"", ",", "reg_names", "[", "REGNO", "(", "first_push", ")", "]", ",", "reg_names", "[", "REGNO", "(", "first_push", ")", "+", "last_reg", "]", ")", ";", "else", "asm_fprintf", "(", "asm_out_file", ",", "\"\\trtsd\\t#%d, %s-%s\\n\"", ",", "(", "int", ")", "stack_adjust", ",", "reg_names", "[", "REGNO", "(", "first_push", ")", "]", ",", "reg_names", "[", "REGNO", "(", "first_push", ")", "+", "last_reg", "]", ")", ";", "}", ""], "natrual_language": ["Generate", "a", "POPM", "or", "RTSD", "instruction", "that", "matches", "the", "given", "operands", "."], "TS_V_token": ["rx", "0", "0", "1", "1", "0", "2", "3", "1", "0", "1", "\"\\tpopm\\t%s-%s\\n\"", "\"\\trtsd\\t#%d, %s-%s\\n\""], "File": "rx", "Func": "rx_emit_stack_popm", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11755, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPreSched2", "(", ")", "{", "if", "(", "EnableHomogeneousPrologEpilog", ")", "addPass", "(", "createAArch64LowerHomogeneousPrologEpilogPass", "(", ")", ")", ";", "addPass", "(", "createAArch64ExpandPseudoPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "EnableLoadStoreOpt", ")", "addPass", "(", "createAArch64LoadStoreOptimizationPass", "(", ")", ")", ";", "}", "addPass", "(", "createAArch64SpeculationHardeningPass", "(", ")", ")", ";", "addPass", "(", "createAArch64IndirectThunks", "(", ")", ")", ";", "addPass", "(", "createAArch64SLSHardeningPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "EnableFalkorHWPFFix", ")", "addPass", "(", "createFalkorHWPFFixPass", "(", ")", ")", ";", "}", "}", ""], "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", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine1", "Func": "addPreSched2", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11756, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARM64Operand", "::", "print", "(", "raw_ostream", "&", "OS", ")", "const", "{", "switch", "(", "Kind", ")", "{", "case", "k_FPImm", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "k_Barrier", ":", "{", "bool", "Valid", ";", "StringRef", "Name", "=", "ARM64DB", "::", "DBarrierMapper", "(", ")", ".", "toString", "(", "getBarrier", "(", ")", ",", "Valid", ")", ";", "if", "(", "Valid", ")", "OS", "<<", "\"\"", ";", "else", "OS", "<<", "\"\"", ";", "break", ";", "}", "case", "k_Immediate", ":", "getImm", "(", ")", "->", "print", "(", "OS", ")", ";", "break", ";", "case", "k_Memory", ":", "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", ":", "{", "bool", "Valid", ";", "StringRef", "Name", "=", "ARM64PRFM", "::", "PRFMMapper", "(", ")", ".", "toString", "(", "getPrefetch", "(", ")", ",", "Valid", ")", ";", "if", "(", "Valid", ")", "OS", "<<", "\"\"", ";", "else", "OS", "<<", "\"\"", ";", "break", ";", "}", "case", "k_Shifter", ":", "{", "unsigned", "Val", "=", "getShifter", "(", ")", ";", "OS", "<<", "\"<\"", "<<", "ARM64_AM", "::", "getShiftName", "(", "ARM64_AM", "::", "getShiftType", "(", "Val", ")", ")", "<<", "\" #\"", "<<", "ARM64_AM", "::", "getShiftValue", "(", "Val", ")", "<<", "\">\"", ";", "break", ";", "}", "case", "k_Extend", ":", "{", "unsigned", "Val", "=", "getExtend", "(", ")", ";", "OS", "<<", "\"<\"", "<<", "ARM64_AM", "::", "getExtendName", "(", "ARM64_AM", "::", "getArithExtendType", "(", "Val", ")", ")", "<<", "\" #\"", "<<", "ARM64_AM", "::", "getArithShiftValue", "(", "Val", ")", "<<", "\">\"", ";", "break", ";", "}", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["ARM64", "ARM64", "\"\"", "ARM64DB::DBarrierMapper", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"<\"", "ARM64_AM::getShiftName", "ARM64_AM::getShiftType", "\" #\"", "ARM64_AM::getShiftValue", "\">\"", "\"<\"", "ARM64_AM::getExtendName", "ARM64_AM::getArithExtendType", "\" #\"", "ARM64_AM::getArithShiftValue", "\">\""], "File": "ARM64AsmParser", "Func": "print", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11757, "Length": 374, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitValueImpl", "(", "const", "MCExpr", "*", "Value", ",", "unsigned", "Size", ",", "SMLoc", "Loc", ")", "override", "{", "EmitMappingSymbol", "(", "\"$d\"", ")", ";", "MCELFStreamer", "::", "emitValueImpl", "(", "Value", ",", "Size", ",", "Loc", ")", ";", "}", ""], "natrual_language": ["Overriding", "these", "functions", "allows", "us", "to", "dismiss", "all", "labels", "that", "are", "candidates", "for", "marking", "as", "microMIPS", "when", ".word/.long/.4byte", "etc", "directives", "are", "emitted", "."], "TS_V_token": ["CSKY", "\"$d\""], "File": "CSKYELFStreamer", "Func": "emitValueImpl", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11758, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_immediate_operand_p", "(", "int", "code", ",", "HOST_WIDE_INT", "x", ")", "{", "switch", "(", "code", ")", "{", "case", "ASHIFT", ":", "case", "ASHIFTRT", ":", "case", "LSHIFTRT", ":", "return", "true", ";", "case", "ROTATE", ":", "case", "ROTATERT", ":", "return", "ISA_HAS_ROR", ";", "case", "AND", ":", "case", "IOR", ":", "case", "XOR", ":", "return", "SMALL_OPERAND_UNSIGNED", "(", "x", ")", ";", "case", "PLUS", ":", "case", "LT", ":", "case", "LTU", ":", "return", "SMALL_OPERAND", "(", "x", ")", ";", "case", "EQ", ":", "case", "NE", ":", "case", "GT", ":", "case", "GTU", ":", "return", "x", "==", "0", ";", "case", "GE", ":", "case", "GEU", ":", "return", "x", "==", "1", ";", "case", "LE", ":", "return", "SMALL_OPERAND", "(", "x", "+", "1", ")", ";", "case", "LEU", ":", "return", "SMALL_OPERAND", "(", "x", "+", "1", ")", "&&", "x", "+", "1", "!=", "0", ";", "case", "SIGN_EXTRACT", ":", "case", "ZERO_EXTRACT", ":", "return", "ISA_HAS_EXT_INS", ";", "default", ":", "return", "x", "==", "0", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "there", "is", "a", "non-MIPS16", "instruction", "that", "implements", "CODE", "and", "if", "that", "instruction", "accepts", "X", "as", "an", "immediate", "operand", "."], "TS_V_token": ["mips", "0", "1", "1", "1", "1", "0", "0"], "File": "mips", "Func": "mips_immediate_operand_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11759, "Length": 141, "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_i", ":", "OutOps", ".", "push_back", "(", "Op", ")", ";", "OutOps", ".", "push_back", "(", "CurDAG", "->", "getTargetConstant", "(", "0", ",", "MVT", "::", "i32", ")", ")", ";", "return", "false", ";", "case", "InlineAsm", "::", "Constraint_m", ":", "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", ",", "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", ",", "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", ",", "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", "0", "MVT::i32", "Mips", "Mips", "0", "MVT::i32"], "File": "MipsSEISelDAGToDAG50", "Func": "SelectInlineAsmMemoryOperand", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11760, "Length": 341, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86AsmBackend", "::", "getMaximumNopSize", "(", ")", "const", "{", "if", "(", "!", "STI", ".", "hasFeature", "(", "X86", "::", "FeatureNOPL", ")", "&&", "!", "STI", ".", "hasFeature", "(", "X86", "::", "Mode64Bit", ")", ")", "return", "1", ";", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "FeatureFast7ByteNOP", "]", ")", "return", "7", ";", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "FeatureFast15ByteNOP", "]", ")", "return", "15", ";", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "FeatureFast11ByteNOP", "]", ")", "return", "11", ";", "return", "10", ";", "}", ""], "natrual_language": ["Returns", "the", "maximum", "size", "of", "a", "nop", "in", "bytes", "on", "this", "target", "."], "TS_V_token": ["X86", "X86", "X86::FeatureNOPL", "X86::Mode64Bit", "1", "X86::FeatureFast7ByteNOP", "7", "X86::FeatureFast15ByteNOP", "15", "X86::FeatureFast11ByteNOP", "11", "10"], "File": "X86AsmBackend14", "Func": "getMaximumNopSize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11761, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "MCFixupKind", ">", "X86AsmBackend", "::", "getFixupKind", "(", "StringRef", "Name", ")", "const", "{", "if", "(", "STI", ".", "getTargetTriple", "(", ")", ".", "isOSBinFormatELF", "(", ")", ")", "{", "if", "(", "STI", ".", "getTargetTriple", "(", ")", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", "{", "if", "(", "Name", "==", "\"R_X86_64_NONE\"", ")", "return", "FK_NONE", ";", "}", "else", "{", "if", "(", "Name", "==", "\"R_386_NONE\"", ")", "return", "FK_NONE", ";", "}", "}", "return", "MCAsmBackend", "::", "getFixupKind", "(", "Name", ")", ";", "}", ""], "natrual_language": ["getFixupKind", "-", "Get", "the", "fixup", "kind", "of", "this", "expression", "."], "TS_V_token": ["X86", "X86", "\"R_X86_64_NONE\"", "\"R_386_NONE\""], "File": "X86AsmBackend (2)2", "Func": "getFixupKind", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11762, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "fold_mergeeo_helper", "(", "gimple_stmt_iterator", "*", "gsi", ",", "gimple", "*", "stmt", ",", "int", "use_odd", ")", "{", "tree", "arg0", "=", "gimple_call_arg", "(", "stmt", ",", "0", ")", ";", "tree", "arg1", "=", "gimple_call_arg", "(", "stmt", ",", "1", ")", ";", "tree", "lhs", "=", "gimple_call_lhs", "(", "stmt", ")", ";", "tree", "lhs_type", "=", "TREE_TYPE", "(", "lhs", ")", ";", "int", "n_elts", "=", "TYPE_VECTOR_SUBPARTS", "(", "lhs_type", ")", ";", "tree", "permute_type", ";", "permute_type", "=", "map_to_integral_tree_type", "(", "lhs_type", ")", ";", "tree_vector_builder", "elts", "(", "permute_type", ",", "VECTOR_CST_NELTS", "(", "arg0", ")", ",", "1", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "n_elts", "/", "2", ";", "i", "++", ")", "{", "elts", ".", "safe_push", "(", "build_int_cst", "(", "TREE_TYPE", "(", "permute_type", ")", ",", "2", "*", "i", "+", "use_odd", ")", ")", ";", "elts", ".", "safe_push", "(", "build_int_cst", "(", "TREE_TYPE", "(", "permute_type", ")", ",", "2", "*", "i", "+", "use_odd", "+", "n_elts", ")", ")", ";", "}", "tree", "permute", "=", "elts", ".", "build", "(", ")", ";", "gimple", "*", "g", "=", "gimple_build_assign", "(", "lhs", ",", "VEC_PERM_EXPR", ",", "arg0", ",", "arg1", ",", "permute", ")", ";", "gimple_set_location", "(", "g", ",", "gimple_location", "(", "stmt", ")", ")", ";", "gsi_replace", "(", "gsi", ",", "g", ",", "true", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "handle", "the", "vector", "merge", "[", "eo", "]", "built-ins", "."], "TS_V_token": ["rs6000", "0", "1", "1", "0", "2", "2", "2"], "File": "rs6000-builtin", "Func": "fold_mergeeo_helper", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11763, "Length": 187, "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": "SystemZShortenInst15", "Func": "runOnMachineFunction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11764, "Length": 87, "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", "::", "VACOPY", ":", "return", "LowerVACOPY", "(", "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::VACOPY", "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": "PPCISelLowering (2)1", "Func": "LowerOperation", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11765, "Length": 444, "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", "AArch64InstrInfo", "*", "TII", "=", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "AArch64FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "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", "(", "MI", ".", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "LOCAL_ESCAPE", ")", "{", "MachineOperand", "&", "FI", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ";", "FI", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "return", ";", "}", "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", "AArch64", "1", "1", "AArch64", "\"Emergency spill slot is out of reach\"", "AArch64::GPR64RegClass"], "File": "AArch64RegisterInfo", "Func": "eliminateFrameIndex", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11766, "Length": 337, "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": "PPCBranchCoalescing2", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11767, "Length": 354, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "SetupMachineFunction", "(", "MF", ")", ";", "O", "<<", "\"\\n\\n\"", ";", "EmitConstantPool", "(", "MF", ".", "getConstantPool", "(", ")", ")", ";", "emitFunctionHeader", "(", "MF", ")", ";", "for", "(", "MachineFunction", "::", "const_iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "!", "VerboseAsm", "&&", "(", "I", "->", "pred_empty", "(", ")", "||", "I", "->", "isOnlyReachableByFallthrough", "(", ")", ")", ")", "{", "}", "else", "{", "printBasicBlockLabel", "(", "I", ",", "true", ",", "true", ",", "VerboseAsm", ")", ";", "O", "<<", "'\\n'", ";", "}", "for", "(", "MachineBasicBlock", "::", "const_iterator", "II", "=", "I", "->", "begin", "(", ")", ",", "E", "=", "I", "->", "end", "(", ")", ";", "II", "!=", "E", ";", "++", "II", ")", "printMachineInstruction", "(", "II", ")", ";", "}", "if", "(", "TAI", "->", "hasDotTypeDotSizeDirective", "(", ")", ")", "O", "<<", "\"\\t.size\\t\"", "<<", "CurrentFnName", "<<", "\", .-\"", "<<", "CurrentFnName", "<<", "'\\n'", ";", "EmitJumpTableInfo", "(", "MF", ".", "getJumpTableInfo", "(", ")", ",", "MF", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"\\n\\n\"", "\"\\t.size\\t\"", "\", .-\""], "File": "SystemZAsmPrinter30", "Func": "runOnMachineFunction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11768, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SICFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "SICFunctionInfo", "*", "SICFI", "=", "MF", ".", "getInfo", "<", "SICFunctionInfo", ">", "(", ")", ";", "const", "SICInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "SICInstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "const", "SICRegisterInfo", "&", "RegInfo", "=", "*", "static_cast", "<", "const", "SICRegisterInfo", "*", ">", "(", "STI", ".", "getRegisterInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "SICABIInfo", "ABI", "=", "STI", ".", "getABI", "(", ")", ";", "unsigned", "SP", "=", "SIC", "::", "X", ";", "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": ["SIC", "SIC", "SIC", "SIC", "SIC", "SIC", "SIC", "SIC", "SIC", "SIC", "SIC::X"], "File": "SICFrameLowering", "Func": "emitEpilogue", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11769, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "ARMBaseRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "ARMSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "const", "ARMFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "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", "(", ")", ")", "{", "static_assert", "(", "ARM", "::", "D31", "==", "ARM", "::", "D16", "+", "15", ",", "\"Register list not consecutive!\"", ")", ";", "Reserved", ".", "set", "(", "ARM", "::", "D16", ",", "ARM", "::", "D31", "+", "1", ")", ";", "}", "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", "ARM::SP", "ARM::PC", "ARM::FPSCR", "ARM::APSR_NZCV", "ARM::R9", "ARM::D31", "ARM::D16", "15", "\"Register list not consecutive!\"", "ARM::D16", "ARM::D31", "1", "ARM::GPRPairRegClass"], "File": "ARMBaseRegisterInfo13", "Func": "getReservedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11770, "Length": 257, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_pre_atomic_barrier", "(", "rtx", "mem", ",", "enum", "memmodel", "model", ")", "{", "rtx", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "int", "strict_p", "=", "(", "reload_in_progress", "||", "reload_completed", ")", ";", "if", "(", "!", "legitimate_indirect_address_p", "(", "addr", ",", "strict_p", ")", "&&", "!", "legitimate_indexed_address_p", "(", "addr", ",", "strict_p", ")", ")", "{", "addr", "=", "force_reg", "(", "Pmode", ",", "addr", ")", ";", "mem", "=", "replace_equiv_address_nv", "(", "mem", ",", "addr", ")", ";", "}", "switch", "(", "model", ")", "{", "case", "MEMMODEL_RELAXED", ":", "case", "MEMMODEL_CONSUME", ":", "case", "MEMMODEL_ACQUIRE", ":", "break", ";", "case", "MEMMODEL_RELEASE", ":", "case", "MEMMODEL_ACQ_REL", ":", "emit_insn", "(", "gen_lwsync", "(", ")", ")", ";", "break", ";", "case", "MEMMODEL_SEQ_CST", ":", "emit_insn", "(", "gen_hwsync", "(", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "mem", ";", "}", ""], "natrual_language": ["Expand", "barriers", "before", "and", "after", "a", "load_locked/store_cond", "sequence", "."], "TS_V_token": ["rs6000", "0"], "File": "rs60004", "Func": "rs6000_pre_atomic_barrier", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11771, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64Subtarget", "::", "classifyGlobalFunctionReference", "(", "const", "GlobalValue", "*", "GV", ",", "const", "TargetMachine", "&", "TM", ")", "const", "{", "if", "(", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", "&&", "isTargetMachO", "(", ")", "&&", "!", "GV", "->", "hasInternalLinkage", "(", ")", ")", "return", "AArch64II", "::", "MO_GOT", ";", "auto", "*", "F", "=", "dyn_cast", "<", "Function", ">", "(", "GV", ")", ";", "if", "(", "UseNonLazyBind", "&&", "F", "&&", "F", "->", "hasFnAttribute", "(", "Attribute", "::", "NonLazyBind", ")", "&&", "!", "TM", ".", "shouldAssumeDSOLocal", "(", "*", "GV", "->", "getParent", "(", ")", ",", "GV", ")", ")", "return", "AArch64II", "::", "MO_GOT", ";", "return", "AArch64II", "::", "MO_NO_FLAG", ";", "}", ""], "natrual_language": ["Classify", "a", "global", "function", "reference", "for", "the", "current", "subtarget", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64II::MO_GOT", "AArch64II::MO_GOT", "AArch64II::MO_NO_FLAG"], "File": "AArch64Subtarget34", "Func": "classifyGlobalFunctionReference", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11772, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86ATTInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "OS", ")", "{", "printInstruction", "(", "MI", ",", "OS", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["X86", "X86"], "File": "X86ATTInstPrinter6", "Func": "printInst", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11773, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "X86FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "getIndex", "(", ")", ";", "unsigned", "BasePtr", ";", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "bool", "AfterFPPop", "=", "Opc", "==", "X86", "::", "TAILJMPm64", "||", "Opc", "==", "X86", "::", "TAILJMPm", "||", "Opc", "==", "X86", "::", "TCRETURNmi", "||", "Opc", "==", "X86", "::", "TCRETURNmi64", ";", "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", ")", ";", "unsigned", "IgnoredFrameReg", ";", "if", "(", "Opc", "==", "TargetOpcode", "::", "LOCAL_ESCAPE", ")", "{", "MachineOperand", "&", "FI", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ";", "int", "Offset", ";", "Offset", "=", "TFI", "->", "getFrameIndexReference", "(", "MF", ",", "FrameIndex", ",", "IgnoredFrameReg", ")", ";", "FI", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "return", ";", "}", "if", "(", "Opc", "==", "X86", "::", "LEA64_32r", "&&", "X86", "::", "GR32RegClass", ".", "contains", "(", "BasePtr", ")", ")", "BasePtr", "=", "getX86SubSuperRegister", "(", "BasePtr", ",", "MVT", "::", "i64", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "BasePtr", ",", "false", ")", ";", "int", "FIOffset", ";", "if", "(", "AfterFPPop", ")", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "FIOffset", "=", "MFI", "->", "getObjectOffset", "(", "FrameIndex", ")", "-", "TFI", "->", "getOffsetOfLocalArea", "(", ")", ";", "}", "else", "FIOffset", "=", "TFI", "->", "getFrameIndexReference", "(", "MF", ",", "FrameIndex", ",", "IgnoredFrameReg", ")", ";", "if", "(", "BasePtr", "==", "StackPtr", ")", "FIOffset", "+=", "SPAdj", ";", "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", "X86", "X86::TAILJMPm64", "X86::TAILJMPm", "X86::TCRETURNmi", "X86::TCRETURNmi64", "0", "0", "X86::LEA64_32r", "X86::GR32RegClass", "X86", "MVT::i64", "\"Expected the FP as base register\"", "1", "1", "3", "3", "32", "\"Requesting 64-bit offset in 32-bit immediate!\"", "3", "3", "3"], "File": "X86RegisterInfo (2)", "Func": "eliminateFrameIndex", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11774, "Length": 506, "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", ",", "bool", "is64Bit", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "Options", ".", "StackAlignmentOverride", ",", "is64Bit", ")", ",", "FrameLowering", "(", "*", "this", ",", "Subtarget", ")", ",", "InstrItins", "(", "Subtarget", ".", "getInstrItineraryData", "(", ")", ")", "{", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "RIPRel", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "isTargetCOFF", "(", ")", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "StubPIC", ")", ";", "else", "{", "assert", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "DynamicNoPIC", ")", ";", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "StubDynamicNoPIC", ")", ";", "}", "}", "else", "if", "(", "Subtarget", ".", "isTargetELF", "(", ")", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "GOT", ")", ";", "}", "if", "(", "Options", ".", "FloatABIType", "==", "FloatABI", "::", "Default", ")", "this", "->", "Options", ".", "FloatABIType", "=", "FloatABI", "::", "Hard", ";", "}", ""], "natrual_language": ["Create", "an", "X86", "target", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86TargetMachine104", "Func": "X86TargetMachine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11775, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{", "return", "createX86MachObjectWriter", "(", "OS", ",", "true", ",", "MachO", "::", "CPU_TYPE_X86_64", ",", "Subtype", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86AsmBackend27", "Func": "createObjectWriter", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11776, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_tls_symbol_p", "(", "rtx", "x", ")", "{", "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": ["mips", "0"], "File": "mips", "Func": "mips_tls_symbol_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11777, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_multipass_dfa_lookahead", "(", "void", ")", "{", "if", "(", "TUNE_SB1", ")", "return", "4", ";", "if", "(", "TUNE_LOONGSON_2EF", "||", "TUNE_LOONGSON_3A", ")", "return", "4", ";", "if", "(", "TUNE_OCTEON", ")", "return", "2", ";", "if", "(", "TUNE_P5600", ")", "return", "4", ";", "return", "0", ";", "}", ""], "natrual_language": ["Implements", "TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD", ".", "This", "should", "be", "as", "wide", "as", "the", "scheduling", "freedom", "in", "the", "DFA", "."], "TS_V_token": ["mips", "4", "4", "2", "4", "0"], "File": "mips4", "Func": "mips_multipass_dfa_lookahead", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11778, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "ARMTTIImpl", "::", "getIntrinsicInstrCost", "(", "const", "IntrinsicCostAttributes", "&", "ICA", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "switch", "(", "ICA", ".", "getID", "(", ")", ")", "{", "case", "Intrinsic", "::", "get_active_lane_mask", ":", "if", "(", "ST", "->", "hasMVEIntegerOps", "(", ")", ")", "return", "0", ";", "break", ";", "case", "Intrinsic", "::", "sadd_sat", ":", "case", "Intrinsic", "::", "ssub_sat", ":", "case", "Intrinsic", "::", "uadd_sat", ":", "case", "Intrinsic", "::", "usub_sat", ":", "{", "if", "(", "!", "ST", "->", "hasMVEIntegerOps", "(", ")", ")", "break", ";", "Type", "*", "VT", "=", "ICA", ".", "getReturnType", "(", ")", ";", "std", "::", "pair", "<", "InstructionCost", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "VT", ")", ";", "if", "(", "LT", ".", "second", "==", "MVT", "::", "v4i32", "||", "LT", ".", "second", "==", "MVT", "::", "v8i16", "||", "LT", ".", "second", "==", "MVT", "::", "v16i8", ")", "{", "unsigned", "Instrs", "=", "LT", ".", "second", ".", "getScalarSizeInBits", "(", ")", "==", "VT", "->", "getScalarSizeInBits", "(", ")", "?", "1", ":", "4", ";", "return", "LT", ".", "first", "*", "ST", "->", "getMVEVectorCostFactor", "(", "CostKind", ")", "*", "Instrs", ";", "}", "break", ";", "}", "case", "Intrinsic", "::", "abs", ":", "case", "Intrinsic", "::", "smin", ":", "case", "Intrinsic", "::", "smax", ":", "case", "Intrinsic", "::", "umin", ":", "case", "Intrinsic", "::", "umax", ":", "{", "if", "(", "!", "ST", "->", "hasMVEIntegerOps", "(", ")", ")", "break", ";", "Type", "*", "VT", "=", "ICA", ".", "getReturnType", "(", ")", ";", "std", "::", "pair", "<", "InstructionCost", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "VT", ")", ";", "if", "(", "LT", ".", "second", "==", "MVT", "::", "v4i32", "||", "LT", ".", "second", "==", "MVT", "::", "v8i16", "||", "LT", ".", "second", "==", "MVT", "::", "v16i8", ")", "return", "LT", ".", "first", "*", "ST", "->", "getMVEVectorCostFactor", "(", "CostKind", ")", ";", "break", ";", "}", "case", "Intrinsic", "::", "minnum", ":", "case", "Intrinsic", "::", "maxnum", ":", "{", "if", "(", "!", "ST", "->", "hasMVEFloatOps", "(", ")", ")", "break", ";", "Type", "*", "VT", "=", "ICA", ".", "getReturnType", "(", ")", ";", "std", "::", "pair", "<", "InstructionCost", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "VT", ")", ";", "if", "(", "LT", ".", "second", "==", "MVT", "::", "v4f32", "||", "LT", ".", "second", "==", "MVT", "::", "v8f16", ")", "return", "LT", ".", "first", "*", "ST", "->", "getMVEVectorCostFactor", "(", "CostKind", ")", ";", "break", ";", "}", "}", "return", "BaseT", "::", "getIntrinsicInstrCost", "(", "ICA", ",", "CostKind", ")", ";", "}", ""], "natrual_language": ["Get", "intrinsic", "cost", "based", "on", "arguments", "."], "TS_V_token": ["ARM", "ARM", "Intrinsic::get_active_lane_mask", "0", "Intrinsic::sadd_sat", "Intrinsic::ssub_sat", "Intrinsic::uadd_sat", "Intrinsic::usub_sat", "MVT::v4i32", "MVT::v8i16", "MVT::v16i8", "1", "4", "Intrinsic::abs", "Intrinsic::smin", "Intrinsic::smax", "Intrinsic::umin", "Intrinsic::umax", "MVT::v4i32", "MVT::v8i16", "MVT::v16i8", "Intrinsic::minnum", "Intrinsic::maxnum", "MVT::v4f32", "MVT::v8f16"], "File": "ARMTargetTransformInfo14", "Func": "getIntrinsicInstrCost", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11779, "Length": 373, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isToken", "(", ")", "const", "override", "{", "return", "Kind", "==", "k_Token", ";", "}", ""], "natrual_language": ["isToken", "-", "Is", "this", "a", "token", "operand", "?"], "TS_V_token": ["Mips"], "File": "MipsAsmParser (2)4", "Func": "isToken", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11780, "Length": 13, "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\"", ")", ";", "MI", ".", "getOperand", "(", "i", "-", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "getFrameRegister", "(", "MF", ")", ",", "false", ")", ";", "}", ""], "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\"", "1"], "File": "MipsRegisterInfo17", "Func": "eliminateFrameIndex", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11781, "Length": 263, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1InstrInfo", "::", "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", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "ARM", "::", "tPUSH", ")", ")", ";", "AddDefaultPred", "(", "MIB", ")", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "bool", "isKill", "=", "true", ";", "if", "(", "Reg", "==", "ARM", "::", "LR", ")", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "if", "(", "MF", ".", "getFrameInfo", "(", ")", "->", "isReturnAddressTaken", "(", ")", "&&", "MF", ".", "getRegInfo", "(", ")", ".", "isLiveIn", "(", "Reg", ")", ")", "isKill", "=", "false", ";", "}", "if", "(", "isKill", ")", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "MIB", ".", "addReg", "(", "Reg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "}", "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::tPUSH", "0", "1", "ARM::LR"], "File": "Thumb1InstrInfo11", "Func": "spillCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11782, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_warn_parameter_passing_abi", "(", "cumulative_args_t", "cum_v", ",", "tree", "type", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "if", "(", "!", "cum", "->", "warn_empty", ")", "return", ";", "if", "(", "!", "TYPE_EMPTY_P", "(", "type", ")", ")", "return", ";", "if", "(", "cum", "->", "decl", "&&", "!", "TREE_PUBLIC", "(", "cum", "->", "decl", ")", ")", "return", ";", "const_tree", "ctx", "=", "get_ultimate_context", "(", "cum", "->", "decl", ")", ";", "if", "(", "ctx", "!=", "NULL_TREE", "&&", "!", "TRANSLATION_UNIT_WARN_EMPTY_P", "(", "ctx", ")", ")", "return", ";", "if", "(", "int_size_in_bytes", "(", "type", ")", "==", "0", ")", "return", ";", "warning", "(", "OPT_Wabi", ",", "\"empty class %qT parameter passing ABI \"", "\"changes in %<-fabi-version=12%> (GCC 8)\"", ",", "type", ")", ";", "cum", "->", "warn_empty", "=", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_WARN_PARAMETER_PASSING_ABI", "."], "TS_V_token": ["i386", "0", "\"empty class %qT parameter passing ABI \"", "\"changes in %<-fabi-version=12%> (GCC 8)\""], "File": "i386", "Func": "ix86_warn_parameter_passing_abi", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11783, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "unsigned", "int", "function_instance", "::", "vectors_per_tuple", "(", ")", "const", "{", "return", "base", "->", "vectors_per_tuple", "(", ")", ";", "}", ""], "natrual_language": ["If", "the", "function", "operates", "on", "tuples", "of", "vectors", ",", "return", "the", "number", "of", "vectors", "in", "the", "tuples", ",", "otherwise", "return", "1", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "vectors_per_tuple", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11784, "Length": 18, "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", "->", "isDebugInstr", "(", ")", ")", "{", "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", "(", ")", ".", "hasMuxedUnits", "(", ")", "&&", "LastMI", "->", "mayLoadOrStore", "(", ")", ")", "&&", "(", "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 (2)", "Func": "getHazardType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11785, "Length": 279, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86RegisterInfo", "::", "isArgumentRegister", "(", "const", "MachineFunction", "&", "MF", ",", "MCRegister", "Reg", ")", "const", "{", "const", "X86Subtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "const", "TargetRegisterInfo", "&", "TRI", "=", "*", "ST", ".", "getRegisterInfo", "(", ")", ";", "auto", "IsSubReg", "=", "[", "&", "]", "(", "MCRegister", "RegA", ",", "MCRegister", "RegB", ")", "{", "return", "TRI", ".", "isSuperOrSubRegisterEq", "(", "RegA", ",", "RegB", ")", ";", "}", ";", "if", "(", "!", "ST", ".", "is64Bit", "(", ")", ")", "return", "llvm", "::", "any_of", "(", "SmallVector", "<", "MCRegister", ">", "{", "X86", "::", "EAX", ",", "X86", "::", "ECX", ",", "X86", "::", "EDX", "}", ",", "[", "&", "]", "(", "MCRegister", "&", "RegA", ")", "{", "return", "IsSubReg", "(", "RegA", ",", "Reg", ")", ";", "}", ")", "||", "(", "ST", ".", "hasMMX", "(", ")", "&&", "X86", "::", "VR64RegClass", ".", "contains", "(", "Reg", ")", ")", ";", "CallingConv", "::", "ID", "CC", "=", "MF", ".", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", ";", "if", "(", "CC", "==", "CallingConv", "::", "X86_64_SysV", "&&", "IsSubReg", "(", "X86", "::", "RAX", ",", "Reg", ")", ")", "return", "true", ";", "if", "(", "llvm", "::", "any_of", "(", "SmallVector", "<", "MCRegister", ">", "{", "X86", "::", "RDX", ",", "X86", "::", "RCX", ",", "X86", "::", "R8", ",", "X86", "::", "R9", "}", ",", "[", "&", "]", "(", "MCRegister", "&", "RegA", ")", "{", "return", "IsSubReg", "(", "RegA", ",", "Reg", ")", ";", "}", ")", ")", "return", "true", ";", "if", "(", "CC", "!=", "CallingConv", "::", "Win64", "&&", "llvm", "::", "any_of", "(", "SmallVector", "<", "MCRegister", ">", "{", "X86", "::", "RDI", ",", "X86", "::", "RSI", "}", ",", "[", "&", "]", "(", "MCRegister", "&", "RegA", ")", "{", "return", "IsSubReg", "(", "RegA", ",", "Reg", ")", ";", "}", ")", ")", "return", "true", ";", "if", "(", "ST", ".", "hasSSE1", "(", ")", "&&", "llvm", "::", "any_of", "(", "SmallVector", "<", "MCRegister", ">", "{", "X86", "::", "XMM0", ",", "X86", "::", "XMM1", ",", "X86", "::", "XMM2", ",", "X86", "::", "XMM3", ",", "X86", "::", "XMM4", ",", "X86", "::", "XMM5", ",", "X86", "::", "XMM6", ",", "X86", "::", "XMM7", "}", ",", "[", "&", "]", "(", "MCRegister", "&", "RegA", ")", "{", "return", "IsSubReg", "(", "RegA", ",", "Reg", ")", ";", "}", ")", ")", "return", "true", ";", "return", "X86GenRegisterInfo", "::", "isArgumentRegister", "(", "MF", ",", "Reg", ")", ";", "}", ""], "natrual_language": ["isArgumentReg", "-", "Returns", "true", "if", "Reg", "can", "be", "used", "as", "an", "argument", "to", "a", "function", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86::EAX", "X86::ECX", "X86::EDX", "X86::VR64RegClass", "X86", "X86::RAX", "X86::RDX", "X86::RCX", "X86::R8", "X86::R9", "X86::RDI", "X86::RSI", "X86::XMM0", "X86::XMM1", "X86::XMM2", "X86::XMM3", "X86::XMM4", "X86::XMM5", "X86::XMM6", "X86::XMM7", "X86"], "File": "X86RegisterInfo55", "Func": "isArgumentRegister", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11786, "Length": 355, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "X86TargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "IsZeroVal", ",", "bool", "MemcpyStrSrc", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "IsZeroVal", "&&", "!", "F", "->", "getFnAttributes", "(", ")", ".", "hasNoImplicitFloatAttr", "(", ")", ")", "{", "if", "(", "Size", ">=", "16", "&&", "(", "Subtarget", "->", "isUnalignedMemAccessFast", "(", ")", "||", "(", "(", "DstAlign", "==", "0", "||", "DstAlign", ">=", "16", ")", "&&", "(", "SrcAlign", "==", "0", "||", "SrcAlign", ">=", "16", ")", ")", ")", "&&", "Subtarget", "->", "getStackAlignment", "(", ")", ">=", "16", ")", "{", "if", "(", "Subtarget", "->", "getStackAlignment", "(", ")", ">=", "32", ")", "{", "if", "(", "Subtarget", "->", "hasAVX2", "(", ")", ")", "return", "MVT", "::", "v8i32", ";", "if", "(", "Subtarget", "->", "hasAVX", "(", ")", ")", "return", "MVT", "::", "v8f32", ";", "}", "if", "(", "Subtarget", "->", "hasSSE2", "(", ")", ")", "return", "MVT", "::", "v4i32", ";", "if", "(", "Subtarget", "->", "hasSSE1", "(", ")", ")", "return", "MVT", "::", "v4f32", ";", "}", "else", "if", "(", "!", "MemcpyStrSrc", "&&", "Size", ">=", "8", "&&", "!", "Subtarget", "->", "is64Bit", "(", ")", "&&", "Subtarget", "->", "getStackAlignment", "(", ")", ">=", "8", "&&", "Subtarget", "->", "hasSSE2", "(", ")", ")", "{", "return", "MVT", "::", "f64", ";", "}", "}", "if", "(", "Subtarget", "->", "is64Bit", "(", ")", "&&", "Size", ">=", "8", ")", "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": ["X86", "X86", "16", "0", "16", "0", "16", "16", "32", "MVT::v8i32", "MVT::v8f32", "MVT::v4i32", "MVT::v4f32", "8", "8", "MVT::f64", "8", "MVT::i64", "MVT::i32"], "File": "X86ISelLowering117", "Func": "getOptimalMemOpType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11787, "Length": 225, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createInterleavedAccessPass", "(", ")", ")", ";", "addPass", "(", "createX86PartialReductionPass", "(", ")", ")", ";", "}", "addPass", "(", "createIndirectBrExpandPass", "(", ")", ")", ";", "const", "Triple", "&", "TT", "=", "TM", "->", "getTargetTriple", "(", ")", ";", "if", "(", "TT", ".", "isOSWindows", "(", ")", ")", "{", "if", "(", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", "{", "addPass", "(", "createCFGuardDispatchPass", "(", ")", ")", ";", "}", "else", "{", "addPass", "(", "createCFGuardCheckPass", "(", ")", ")", ";", "}", "}", "if", "(", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", "addPass", "(", "createFineIBTHashesSectionPass", "(", ")", ")", ";", "}", ""], "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": "X86TargetMachine14", "Func": "addIRPasses", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11788, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_init_dwarf_reg_sizes_extra", "(", "tree", "address", ")", "{", "if", "(", "TARGET_MACHO", "&&", "!", "TARGET_ALTIVEC", ")", "{", "int", "i", ";", "machine_mode", "mode", "=", "TYPE_MODE", "(", "char_type_node", ")", ";", "rtx", "addr", "=", "expand_expr", "(", "address", ",", "NULL_RTX", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "rtx", "mem", "=", "gen_rtx_MEM", "(", "BLKmode", ",", "addr", ")", ";", "rtx", "value", "=", "gen_int_mode", "(", "16", ",", "mode", ")", ";", "for", "(", "i", "=", "FIRST_ALTIVEC_REGNO", ";", "i", "<", "LAST_ALTIVEC_REGNO", "+", "1", ";", "i", "++", ")", "{", "int", "column", "=", "DWARF_REG_TO_UNWIND_COLUMN", "(", "DWARF2_FRAME_REG_OUT", "(", "DWARF_FRAME_REGNUM", "(", "i", ")", ",", "true", ")", ")", ";", "HOST_WIDE_INT", "offset", "=", "column", "*", "GET_MODE_SIZE", "(", "mode", ")", ";", "emit_move_insn", "(", "adjust_address", "(", "mem", ",", "mode", ",", "offset", ")", ",", "value", ")", ";", "}", "}", "}", ""], "natrual_language": ["Fill", "in", "sizes", "of", "registers", "used", "by", "unwinder", "."], "TS_V_token": ["rs6000", "16", "1"], "File": "rs6000", "Func": "rs6000_init_dwarf_reg_sizes_extra", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11789, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "MipsFrameLowering", "::", "estimateStackSize", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterInfo", "&", "TRI", "=", "*", "STI", ".", "getRegisterInfo", "(", ")", ";", "int64_t", "Offset", "=", "0", ";", "for", "(", "int", "I", "=", "MFI", ".", "getObjectIndexBegin", "(", ")", ";", "I", "!=", "0", ";", "++", "I", ")", "Offset", "=", "std", "::", "max", "(", "Offset", ",", "-", "MFI", ".", "getObjectOffset", "(", "I", ")", ")", ";", "for", "(", "const", "MCPhysReg", "*", "R", "=", "TRI", ".", "getCalleeSavedRegs", "(", "&", "MF", ")", ";", "*", "R", ";", "++", "R", ")", "{", "unsigned", "Size", "=", "TRI", ".", "getSpillSize", "(", "*", "TRI", ".", "getMinimalPhysRegClass", "(", "*", "R", ")", ")", ";", "Offset", "=", "alignTo", "(", "Offset", "+", "Size", ",", "Size", ")", ";", "}", "unsigned", "MaxAlign", "=", "MFI", ".", "getMaxAlignment", "(", ")", ";", "assert", "(", "!", "MFI", ".", "getObjectIndexEnd", "(", ")", "||", "MaxAlign", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "MFI", ".", "getObjectIndexEnd", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Offset", "=", "alignTo", "(", "Offset", "+", "MFI", ".", "getObjectSize", "(", "I", ")", ",", "MaxAlign", ")", ";", "if", "(", "MFI", ".", "adjustsStack", "(", ")", "&&", "hasReservedCallFrame", "(", "MF", ")", ")", "Offset", "=", "alignTo", "(", "Offset", "+", "MFI", ".", "getMaxCallFrameSize", "(", ")", ",", "std", "::", "max", "(", "MaxAlign", ",", "getStackAlignment", "(", ")", ")", ")", ";", "return", "alignTo", "(", "Offset", ",", "getStackAlignment", "(", ")", ")", ";", "}", ""], "natrual_language": ["Estimate", "and", "return", "the", "size", "of", "the", "stack", "frame", "."], "TS_V_token": ["Mips", "Mips", "0", "0", "0"], "File": "MipsFrameLowering35", "Func": "estimateStackSize", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11790, "Length": 233, "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": 11791, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "scalar_chain", "::", "scalar_chain", "(", "enum", "machine_mode", "smode_", ",", "enum", "machine_mode", "vmode_", ")", "{", "smode", "=", "smode_", ";", "vmode", "=", "vmode_", ";", "chain_id", "=", "++", "max_id", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Created a new instruction chain #%d\\n\"", ",", "chain_id", ")", ";", "bitmap_obstack_initialize", "(", "NULL", ")", ";", "insns", "=", "BITMAP_ALLOC", "(", "NULL", ")", ";", "defs", "=", "BITMAP_ALLOC", "(", "NULL", ")", ";", "defs_conv", "=", "BITMAP_ALLOC", "(", "NULL", ")", ";", "insns_conv", "=", "BITMAP_ALLOC", "(", "NULL", ")", ";", "queue", "=", "NULL", ";", "n_sse_to_integer", "=", "0", ";", "n_integer_to_sse", "=", "0", ";", "max_visits", "=", "x86_stv_max_visits", ";", "}", ""], "natrual_language": ["Initialize", "new", "chain", "."], "TS_V_token": ["i386", "\"Created a new instruction chain #%d\\n\"", "0", "0"], "File": "i386-features1", "Func": "scalar_chain", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11792, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "num_insns_constant_wide", "(", "HOST_WIDE_INT", "value", ")", "{", "if", "(", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "value", "+", "0x8000", ")", "<", "0x10000", ")", "return", "1", ";", "else", "if", "(", "(", "value", "&", "0xffff", ")", "==", "0", "&&", "(", "value", ">>", "31", "==", "-", "1", "||", "value", ">>", "31", "==", "0", ")", ")", "return", "1", ";", "else", "if", "(", "TARGET_POWERPC64", ")", "{", "HOST_WIDE_INT", "low", "=", "(", "(", "value", "&", "0xffffffff", ")", "^", "0x80000000", ")", "-", "0x80000000", ";", "HOST_WIDE_INT", "high", "=", "value", ">>", "31", ";", "if", "(", "high", "==", "0", "||", "high", "==", "-", "1", ")", "return", "2", ";", "high", ">>=", "1", ";", "if", "(", "low", "==", "0", ")", "return", "num_insns_constant_wide", "(", "high", ")", "+", "1", ";", "else", "if", "(", "high", "==", "0", ")", "return", "num_insns_constant_wide", "(", "low", ")", "+", "1", ";", "else", "return", "(", "num_insns_constant_wide", "(", "high", ")", "+", "num_insns_constant_wide", "(", "low", ")", "+", "1", ")", ";", "}", "else", "return", "2", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "it", "takes", "to", "form", "a", "constant", "in", "an", "integer", "register", "."], "TS_V_token": ["powerpcspe", "0x8000", "0x10000", "1", "0xffff", "0", "31", "1", "31", "0", "1", "0xffffffff", "0x80000000", "0x80000000", "31", "0", "1", "2", "1", "0", "1", "0", "1", "1", "2"], "File": "powerpcspe", "Func": "num_insns_constant_wide", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11793, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_can_output_mi_thunk", "(", "tree", "thunk_fndecl", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "delta", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "vcall_offset", ",", "tree", "function", "ATTRIBUTE_UNUSED", ")", "{", "return", "(", "vcall_offset", ">=", "-", "32768", "||", "!", "fixed_regs", "[", "5", "]", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "sparc_output_mi_thunk", "would", "be", "able", "to", "output", "the", "assembler", "code", "for", "the", "thunk", "function", "specified", "by", "the", "arguments", "it", "is", "passed", ",", "and", "false", "otherwise", "."], "TS_V_token": ["sparc", "32768", "5"], "File": "sparc3", "Func": "sparc_can_output_mi_thunk", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11794, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_simd_shift_imm_p", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "bool", "left", ")", "{", "int", "bit_width", "=", "GET_MODE_UNIT_SIZE", "(", "mode", ")", "*", "BITS_PER_UNIT", ";", "if", "(", "left", ")", "return", "aarch64_const_vec_all_same_in_range_p", "(", "x", ",", "0", ",", "bit_width", "-", "1", ")", ";", "else", "return", "aarch64_const_vec_all_same_in_range_p", "(", "x", ",", "1", ",", "bit_width", ")", ";", "}", ""], "natrual_language": ["Check", "of", "immediate", "shift", "constants", "are", "within", "range", "."], "TS_V_token": ["aarch64", "0", "1", "1"], "File": "aarch642", "Func": "aarch64_simd_shift_imm_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11795, "Length": 51, "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_ARMSOImm", ":", "if", "(", "Op", "->", "isImm", "(", ")", ")", "{", "const", "MCExpr", "*", "SOExpr", "=", "Op", "->", "getImm", "(", ")", ";", "int64_t", "Value", ";", "if", "(", "!", "SOExpr", "->", "EvaluateAsAbsolute", "(", "Value", ")", ")", "return", "Match_Success", ";", "assert", "(", "(", "Value", ">=", "INT32_MIN", "&&", "Value", "<=", "UINT32_MAX", ")", "&&", "\"expression value must be representable in 32 bits\"", ")", ";", "}", "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", "ARM", "\"expression value must be representable in 32 bits\"", "ARM::GPRRegClassID"], "File": "ARMAsmParser67", "Func": "validateTargetOperandClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11796, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CSKYInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "Register", "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", "(", ")", ";", "CSKYMachineFunctionInfo", "*", "CFI", "=", "MF", ".", "getInfo", "<", "CSKYMachineFunctionInfo", ">", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "Opcode", "=", "0", ";", "if", "(", "CSKY", "::", "GPRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "Opcode", "=", "CSKY", "::", "ST32W", ";", "}", "else", "if", "(", "CSKY", "::", "CARRYRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "Opcode", "=", "CSKY", "::", "SPILL_CARRY", ";", "CFI", "->", "setSpillsCR", "(", ")", ";", "}", "else", "if", "(", "v2sf", "&&", "CSKY", "::", "sFPR32RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "CSKY", "::", "FST_S", ";", "else", "if", "(", "v2df", "&&", "CSKY", "::", "sFPR64RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "CSKY", "::", "FST_D", ";", "else", "if", "(", "v3sf", "&&", "CSKY", "::", "FPR32RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "CSKY", "::", "f2FST_S", ";", "else", "if", "(", "v3df", "&&", "CSKY", "::", "FPR64RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "CSKY", "::", "f2FST_D", ";", "else", "{", "llvm_unreachable", "(", "\"Unknown RegisterClass\"", ")", ";", "}", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlign", "(", "FI", ")", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opcode", ")", ")", ".", "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": ["CSKY", "CSKY", "CSKY", "CSKY", "0", "CSKY::GPRRegClass", "CSKY::ST32W", "CSKY::CARRYRegClass", "CSKY::SPILL_CARRY", "CSKY::sFPR32RegClass", "CSKY::FST_S", "CSKY::sFPR64RegClass", "CSKY::FST_D", "CSKY::FPR32RegClass", "CSKY::f2FST_S", "CSKY::FPR64RegClass", "CSKY::f2FST_D", "\"Unknown RegisterClass\"", "0"], "File": "CSKYInstrInfo1", "Func": "storeRegToStackSlot", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11797, "Length": 304, "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": 11798, "Length": 423, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSymbol", "*", "AArch64AsmPrinter", "::", "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": ["AArch64", "AArch64", "0", "\"CPI\"", "\"_\"", "\"CPI\"", "\"_\""], "File": "AArch64AsmPrinter (2)", "Func": "GetCPISymbol", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11799, "Length": 91, "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", "(", ")", ")", "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"], "File": "AArch64TargetMachine86", "Func": "addPostRegAlloc", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11800, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_simd_dup_constant", "(", "rtx", "vals", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "vals", ")", ";", "machine_mode", "inner_mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "rtx", "x", ";", "if", "(", "!", "const_vec_duplicate_p", "(", "vals", ",", "&", "x", ")", ")", "return", "NULL_RTX", ";", "x", "=", "copy_to_mode_reg", "(", "inner_mode", ",", "x", ")", ";", "return", "gen_rtx_VEC_DUPLICATE", "(", "mode", ",", "x", ")", ";", "}", ""], "natrual_language": ["If", "VALS", "is", "a", "vector", "constant", "that", "can", "be", "loaded", "into", "a", "register", "using", "DUP", ",", "generate", "instructions", "to", "do", "so", "and", "return", "an", "RTX", "to", "assign", "to", "the", "register", ".", "Otherwise", "return", "NULL_RTX", "."], "TS_V_token": ["aarch64"], "File": "aarch643", "Func": "aarch64_simd_dup_constant", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11801, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_branch_slot_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_BRANCH", "||", "type", "==", "TYPE_JMPREG", ")", "return", "true", ";", "return", "false", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["The", "function", "returns", "true", "if", "INSN", "can", "be", "issued", "only", "from", "the", "branch", "slot", "."], "TS_V_token": ["rs6000"], "File": "rs60003", "Func": "is_branch_slot_insn", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11802, "Length": 77, "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", "(", "gen_rtx_MEM", "(", "Pmode", ",", "stack_pointer_rtx", ")", ",", "reg", ")", ";", "XVECEXP", "(", "dwarf", ",", "0", ",", "1", ")", "=", "gen_rtx_SET", "(", "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", "(", "gen_rtx_MEM", "(", "Pmode", ",", "stack_pointer_rtx", ")", ",", "reg", ")", ";", "XVECEXP", "(", "dwarf", ",", "0", ",", "1", ")", "=", "gen_rtx_SET", "(", "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": "stormy16", "Func": "xstormy16_expand_prologue", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11803, "Length": 495, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterInfo", "*", "RI", "=", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "&&", "MFI", "->", "hasCalls", "(", ")", ")", "return", "true", ";", "return", "(", "RI", "->", "needsStackRealignment", "(", "MF", ")", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", "||", "MFI", "->", "isFrameAddressTaken", "(", ")", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64FrameLowering1", "Func": "hasFP", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11804, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nds32_consecutive_registers_load_store_p", "(", "rtx", "op", ",", "bool", "load_p", ",", "int", "par_index", ",", "int", "first_elt_regno", ",", "int", "count", ")", "{", "int", "i", ";", "int", "check_regno", ";", "rtx", "elt", ";", "rtx", "elt_reg", ";", "rtx", "elt_mem", ";", "for", "(", "i", "=", "0", ";", "i", "<", "count", ";", "i", "++", ")", "{", "elt", "=", "XVECEXP", "(", "op", ",", "0", ",", "i", "+", "par_index", ")", ";", "if", "(", "GET_CODE", "(", "elt", ")", "!=", "SET", ")", "return", "false", ";", "elt_reg", "=", "load_p", "?", "SET_DEST", "(", "elt", ")", ":", "SET_SRC", "(", "elt", ")", ";", "elt_mem", "=", "load_p", "?", "SET_SRC", "(", "elt", ")", ":", "SET_DEST", "(", "elt", ")", ";", "if", "(", "GET_CODE", "(", "elt_reg", ")", "!=", "REG", "||", "GET_MODE", "(", "elt_reg", ")", "!=", "SImode", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "elt_mem", ")", "!=", "MEM", "||", "GET_MODE", "(", "elt_mem", ")", "!=", "SImode", ")", "return", "false", ";", "check_regno", "=", "first_elt_regno", "+", "i", ";", "if", "(", "REGNO", "(", "elt_reg", ")", "!=", "(", "unsigned", "int", ")", "check_regno", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["A", "subroutine", "that", "checks", "multiple", "load", "and", "store", "using", "consecutive", "registers", ".", "OP", "is", "a", "parallel", "rtx", "we", "would", "like", "to", "check", ".", "LOAD_P", "indicates", "whether", "we", "are", "checking", "load", "operation", ".", "PAR_INDEX", "is", "starting", "element", "of", "parallel", "rtx", ".", "FIRST_ELT_REGNO", "is", "used", "to", "tell", "starting", "register", "number", ".", "COUNT", "helps", "us", "to", "check", "consecutive", "register", "numbers", "."], "TS_V_token": ["nds32", "0", "0"], "File": "nds32-predicates", "Func": "nds32_consecutive_registers_load_store_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11805, "Length": 167, "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": ["ARM"], "File": "ARMISelLowering", "Func": "convertSetCCLogicToBitwiseLogic", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11806, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_expand_vector_extract", "(", "rtx", "target", ",", "rtx", "vec", ",", "rtx", "elt", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "vec", ")", ";", "machine_mode", "inner_mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "rtx", "mem", ";", "if", "(", "VECTOR_MEM_VSX_P", "(", "mode", ")", "&&", "CONST_INT_P", "(", "elt", ")", ")", "{", "switch", "(", "mode", ")", "{", "default", ":", "break", ";", "case", "V1TImode", ":", "gcc_assert", "(", "INTVAL", "(", "elt", ")", "==", "0", "&&", "inner_mode", "==", "TImode", ")", ";", "emit_move_insn", "(", "target", ",", "gen_lowpart", "(", "TImode", ",", "vec", ")", ")", ";", "break", ";", "case", "V2DFmode", ":", "emit_insn", "(", "gen_vsx_extract_v2df", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "case", "V2DImode", ":", "emit_insn", "(", "gen_vsx_extract_v2di", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "case", "V4SFmode", ":", "emit_insn", "(", "gen_vsx_extract_v4sf", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "case", "V16QImode", ":", "if", "(", "TARGET_DIRECT_MOVE_64BIT", ")", "{", "emit_insn", "(", "gen_vsx_extract_v16qi", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "}", "else", "break", ";", "case", "V8HImode", ":", "if", "(", "TARGET_DIRECT_MOVE_64BIT", ")", "{", "emit_insn", "(", "gen_vsx_extract_v8hi", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "}", "else", "break", ";", "case", "V4SImode", ":", "if", "(", "TARGET_DIRECT_MOVE_64BIT", ")", "{", "emit_insn", "(", "gen_vsx_extract_v4si", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "}", "break", ";", "}", "}", "else", "if", "(", "VECTOR_MEM_VSX_P", "(", "mode", ")", "&&", "!", "CONST_INT_P", "(", "elt", ")", "&&", "TARGET_DIRECT_MOVE_64BIT", ")", "{", "if", "(", "GET_MODE", "(", "elt", ")", "!=", "DImode", ")", "{", "rtx", "tmp", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "convert_move", "(", "tmp", ",", "elt", ",", "0", ")", ";", "elt", "=", "tmp", ";", "}", "else", "if", "(", "!", "REG_P", "(", "elt", ")", ")", "elt", "=", "force_reg", "(", "DImode", ",", "elt", ")", ";", "switch", "(", "mode", ")", "{", "case", "V2DFmode", ":", "emit_insn", "(", "gen_vsx_extract_v2df_var", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "case", "V2DImode", ":", "emit_insn", "(", "gen_vsx_extract_v2di_var", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "case", "V4SFmode", ":", "emit_insn", "(", "gen_vsx_extract_v4sf_var", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "case", "V4SImode", ":", "emit_insn", "(", "gen_vsx_extract_v4si_var", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "case", "V8HImode", ":", "emit_insn", "(", "gen_vsx_extract_v8hi_var", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "case", "V16QImode", ":", "emit_insn", "(", "gen_vsx_extract_v16qi_var", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "gcc_assert", "(", "CONST_INT_P", "(", "elt", ")", ")", ";", "mem", "=", "assign_stack_temp", "(", "mode", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "emit_move_insn", "(", "mem", ",", "vec", ")", ";", "mem", "=", "adjust_address_nv", "(", "mem", ",", "inner_mode", ",", "INTVAL", "(", "elt", ")", "*", "GET_MODE_SIZE", "(", "inner_mode", ")", ")", ";", "emit_move_insn", "(", "target", ",", "adjust_address_nv", "(", "mem", ",", "inner_mode", ",", "0", ")", ")", ";", "}", ""], "natrual_language": ["Extract", "field", "ELT", "from", "VEC", "into", "TARGET", "."], "TS_V_token": ["rs6000", "0", "0", "0"], "File": "rs60006", "Func": "rs6000_expand_vector_extract", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11807, "Length": 458, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ix86_min_insn_size", "(", "rtx_insn", "*", "insn", ")", "{", "int", "l", "=", "0", ",", "len", ";", "if", "(", "!", "INSN_P", "(", "insn", ")", "||", "!", "active_insn_p", "(", "insn", ")", ")", "return", "0", ";", "if", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "UNSPEC_VOLATILE", "&&", "XINT", "(", "PATTERN", "(", "insn", ")", ",", "1", ")", "==", "UNSPECV_ALIGN", ")", "return", "0", ";", "if", "(", "CALL_P", "(", "insn", ")", "&&", "symbolic_reference_mentioned_p", "(", "PATTERN", "(", "insn", ")", ")", "&&", "!", "SIBLING_CALL_P", "(", "insn", ")", ")", "return", "5", ";", "len", "=", "get_attr_length", "(", "insn", ")", ";", "if", "(", "len", "<=", "1", ")", "return", "1", ";", "if", "(", "!", "JUMP_P", "(", "insn", ")", ")", "{", "enum", "attr_type", "type", "=", "get_attr_type", "(", "insn", ")", ";", "switch", "(", "type", ")", "{", "case", "TYPE_MULTI", ":", "if", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "ASM_INPUT", "||", "asm_noperands", "(", "PATTERN", "(", "insn", ")", ")", ">=", "0", ")", "return", "0", ";", "break", ";", "case", "TYPE_OTHER", ":", "case", "TYPE_FCMP", ":", "break", ";", "default", ":", "return", "len", ";", "}", "l", "=", "get_attr_length_address", "(", "insn", ")", ";", "if", "(", "l", "<", "4", "&&", "symbolic_reference_mentioned_p", "(", "PATTERN", "(", "insn", ")", ")", ")", "l", "=", "4", ";", "}", "if", "(", "l", ")", "return", "1", "+", "l", ";", "else", "return", "2", ";", "}", ""], "natrual_language": ["We", "do", "n't", "have", "exact", "information", "about", "the", "insn", "sizes", ",", "but", "we", "may", "assume", "quite", "safely", "that", "we", "are", "informed", "about", "all", "1", "byte", "insns", "and", "memory", "address", "sizes", ".", "This", "is", "enough", "to", "eliminate", "unnecessary", "padding", "in", "99", "%", "of", "cases", "."], "TS_V_token": ["i386", "0", "0", "1", "0", "5", "1", "1", "0", "0", "4", "4", "1", "2"], "File": "i386", "Func": "ix86_min_insn_size", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11808, "Length": 206, "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", ",", "0", ",", "&", "Fast", ")", "&&", "Fast", ")", ")", ")", "{", "return", "MVT", "::", "v2f64", ";", "}", "else", "if", "(", "Size", ">=", "8", "&&", "(", "memOpAlign", "(", "SrcAlign", ",", "DstAlign", ",", "8", ")", "||", "(", "allowsUnalignedMemoryAccesses", "(", "MVT", "::", "f64", ",", "0", ",", "&", "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", "0", "MVT::v2f64", "8", "8", "MVT::f64", "0", "MVT::f64", "4", "MVT::i32", "2", "MVT::i16", "MVT::Other"], "File": "ARMISelLowering (2)", "Func": "getOptimalMemOpType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11809, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "F2003fTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "(", "F2003fISD", "::", "NodeType", ")", "Opcode", ")", "{", "case", "F2003fISD", "::", "FIRST_NUMBER", ":", "break", ";", "case", "F2003fISD", "::", "Wrapper", ":", "return", "\"F2003fISD::Wrapper\"", ";", "case", "F2003fISD", "::", "FENXEO", ":", "return", "\"F2003fISD::FENXEO\"", ";", "case", "F2003fISD", "::", "DOSNUD", ":", "return", "\"F2003fISD::DOSNUD\"", ";", "case", "F2003fISD", "::", "SELECT_CC", ":", "return", "\"F2003fISD::SELECT_CC\"", ";", "case", "F2003fISD", "::", "BR_CC", ":", "return", "\"F2003fISD::BR_CC\"", ";", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["F2003f", "F2003f", "F2003fISD::NodeType", "F2003fISD::FIRST_NUMBER", "F2003fISD::Wrapper", "\"F2003fISD::Wrapper\"", "F2003fISD::FENXEO", "\"F2003fISD::FENXEO\"", "F2003fISD::DOSNUD", "\"F2003fISD::DOSNUD\"", "F2003fISD::SELECT_CC", "\"F2003fISD::SELECT_CC\"", "F2003fISD::BR_CC", "\"F2003fISD::BR_CC\""], "File": "F2003fISelLowering", "Func": "getTargetNodeName", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11810, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "Mips16InstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "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", "0"], "File": "Mips16InstrInfo", "Func": "isStoreToStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11811, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SystemZInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZSubtarget16", "Func": "getInstrInfo", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11812, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "use_rsqrt_p", "(", "machine_mode", "mode", ")", "{", "return", "(", "(", "mode", "==", "HFmode", "||", "(", "TARGET_SSE", "&&", "TARGET_SSE_MATH", ")", ")", "&&", "flag_finite_math_only", "&&", "!", "flag_trapping_math", "&&", "flag_unsafe_math_optimizations", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "safe", "to", "use", "the", "rsqrt", "optabs", "to", "optimize", "1.0/sqrt", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "use_rsqrt_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11813, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "&", "MI", ",", "Register", "&", "SrcReg", ",", "Register", "&", "SrcReg2", ",", "int", "&", "CmpMask", ",", "int", "&", "CmpValue", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "X86", "::", "CMP64ri32", ":", "case", "X86", "::", "CMP64ri8", ":", "case", "X86", "::", "CMP32ri", ":", "case", "X86", "::", "CMP32ri8", ":", "case", "X86", "::", "CMP16ri", ":", "case", "X86", "::", "CMP16ri8", ":", "case", "X86", "::", "CMP8ri", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "0", ";", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", ")", "{", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "}", "else", "{", "CmpMask", "=", "CmpValue", "=", "0", ";", "}", "return", "true", ";", "case", "X86", "::", "SUB64rm", ":", "case", "X86", "::", "SUB32rm", ":", "case", "X86", "::", "SUB16rm", ":", "case", "X86", "::", "SUB8rm", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "0", ";", "CmpMask", "=", "0", ";", "CmpValue", "=", "0", ";", "return", "true", ";", "case", "X86", "::", "SUB64rr", ":", "case", "X86", "::", "SUB32rr", ":", "case", "X86", "::", "SUB16rr", ":", "case", "X86", "::", "SUB8rr", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "CmpMask", "=", "0", ";", "CmpValue", "=", "0", ";", "return", "true", ";", "case", "X86", "::", "SUB64ri32", ":", "case", "X86", "::", "SUB64ri8", ":", "case", "X86", "::", "SUB32ri", ":", "case", "X86", "::", "SUB32ri8", ":", "case", "X86", "::", "SUB16ri", ":", "case", "X86", "::", "SUB16ri8", ":", "case", "X86", "::", "SUB8ri", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "0", ";", "if", "(", "MI", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", ")", "{", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "}", "else", "{", "CmpMask", "=", "CmpValue", "=", "0", ";", "}", "return", "true", ";", "case", "X86", "::", "CMP64rr", ":", "case", "X86", "::", "CMP32rr", ":", "case", "X86", "::", "CMP16rr", ":", "case", "X86", "::", "CMP8rr", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "CmpMask", "=", "0", ";", "CmpValue", "=", "0", ";", "return", "true", ";", "case", "X86", "::", "TEST8rr", ":", "case", "X86", "::", "TEST16rr", ":", "case", "X86", "::", "TEST32rr", ":", "case", "X86", "::", "TEST64rr", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "!=", "SrcReg", ")", "return", "false", ";", "SrcReg2", "=", "0", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "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": ["X86", "X86", "X86::CMP64ri32", "X86::CMP64ri8", "X86::CMP32ri", "X86::CMP32ri8", "X86::CMP16ri", "X86::CMP16ri8", "X86::CMP8ri", "0", "0", "1", "0", "1", "0", "X86::SUB64rm", "X86::SUB32rm", "X86::SUB16rm", "X86::SUB8rm", "1", "0", "0", "0", "X86::SUB64rr", "X86::SUB32rr", "X86::SUB16rr", "X86::SUB8rr", "1", "2", "0", "0", "X86::SUB64ri32", "X86::SUB64ri8", "X86::SUB32ri", "X86::SUB32ri8", "X86::SUB16ri", "X86::SUB16ri8", "X86::SUB8ri", "1", "0", "2", "0", "2", "0", "X86::CMP64rr", "X86::CMP32rr", "X86::CMP16rr", "X86::CMP8rr", "0", "1", "0", "0", "X86::TEST8rr", "X86::TEST16rr", "X86::TEST32rr", "X86::TEST64rr", "0", "1", "0", "0", "0"], "File": "X86InstrInfo100", "Func": "analyzeCompare", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11814, "Length": 469, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"TOY PreRmit\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["TOY", "\"TOY PreRmit\""], "File": "TOYPreEmit", "Func": "getPassName", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11815, "Length": 12, "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": ["PowerPC"], "File": "PPCMCExpr", "Func": "classof", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11816, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "arm_stack_protect_guard", "(", "void", ")", "{", "if", "(", "arm_stack_protector_guard", "==", "SSP_GLOBAL", ")", "return", "default_stack_protect_guard", "(", ")", ";", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Implement", "TARGET_STACK_PROTECT_GUARD", ".", "In", "case", "of", "a", "global", "variable", "based", "guard", "use", "the", "default", "else", "return", "a", "null", "tree", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_stack_protect_guard", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11817, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CSKYConstantIslands", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Mf", ")", "{", "MF", "=", "&", "Mf", ";", "MCP", "=", "Mf", ".", "getConstantPool", "(", ")", ";", "STI", "=", "&", "static_cast", "<", "const", "CSKYSubtarget", "&", ">", "(", "Mf", ".", "getSubtarget", "(", ")", ")", ";", "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": "CSKYConstantIslandPass", "Func": "runOnMachineFunction", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11818, "Length": 395, "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": ["Mips"], "File": "MipsAsmParser102", "Func": "isImm", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11819, "Length": 12, "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", "::", "EXTRACT_VECTOR_ELT", ":", "return", "PerformEXTRACT_VECTOR_ELTCombine", "(", "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", "::", "OR", ":", "return", "PerformOrCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "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", "::", "ZERO_EXTEND", ":", "return", "PerformZExtCombine", "(", "N", ",", "DAG", ")", ";", "case", "X86ISD", "::", "SHUFPS", ":", "case", "X86ISD", "::", "SHUFPD", ":", "case", "X86ISD", "::", "PUNPCKHBW", ":", "case", "X86ISD", "::", "PUNPCKHWD", ":", "case", "X86ISD", "::", "PUNPCKHDQ", ":", "case", "X86ISD", "::", "PUNPCKHQDQ", ":", "case", "X86ISD", "::", "UNPCKHPS", ":", "case", "X86ISD", "::", "UNPCKHPD", ":", "case", "X86ISD", "::", "PUNPCKLBW", ":", "case", "X86ISD", "::", "PUNPCKLWD", ":", "case", "X86ISD", "::", "PUNPCKLDQ", ":", "case", "X86ISD", "::", "PUNPCKLQDQ", ":", "case", "X86ISD", "::", "UNPCKLPS", ":", "case", "X86ISD", "::", "UNPCKLPD", ":", "case", "X86ISD", "::", "MOVHLPS", ":", "case", "X86ISD", "::", "MOVLHPS", ":", "case", "X86ISD", "::", "PSHUFD", ":", "case", "X86ISD", "::", "PSHUFHW", ":", "case", "X86ISD", "::", "PSHUFLW", ":", "case", "X86ISD", "::", "MOVSS", ":", "case", "X86ISD", "::", "MOVSD", ":", "case", "ISD", "::", "VECTOR_SHUFFLE", ":", "return", "PerformShuffleCombine", "(", "N", ",", "DAG", ",", "*", "this", ")", ";", "}", "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::EXTRACT_VECTOR_ELT", "ISD::SELECT", "X86ISD::CMOV", "ISD::MUL", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::OR", "ISD::STORE", "X86ISD::FXOR", "X86ISD::FOR", "X86ISD::FAND", "X86ISD::BT", "X86ISD::VZEXT_MOVL", "ISD::ZERO_EXTEND", "X86ISD::SHUFPS", "X86ISD::SHUFPD", "X86ISD::PUNPCKHBW", "X86ISD::PUNPCKHWD", "X86ISD::PUNPCKHDQ", "X86ISD::PUNPCKHQDQ", "X86ISD::UNPCKHPS", "X86ISD::UNPCKHPD", "X86ISD::PUNPCKLBW", "X86ISD::PUNPCKLWD", "X86ISD::PUNPCKLDQ", "X86ISD::PUNPCKLQDQ", "X86ISD::UNPCKLPS", "X86ISD::UNPCKLPD", "X86ISD::MOVHLPS", "X86ISD::MOVLHPS", "X86ISD::PSHUFD", "X86ISD::PSHUFHW", "X86ISD::PSHUFLW", "X86ISD::MOVSS", "X86ISD::MOVSD", "ISD::VECTOR_SHUFFLE"], "File": "X86ISelLowering73", "Func": "PerformDAGCombine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11820, "Length": 354, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsSETargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "DCI", ".", "DAG", ";", "SDValue", "Val", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "ADDE", ":", "return", "performADDECombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "AND", ":", "Val", "=", "performANDCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "break", ";", "case", "ISD", "::", "SUBE", ":", "return", "performSUBECombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "MUL", ":", "return", "performMULCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "this", ")", ";", "case", "ISD", "::", "SHL", ":", "return", "performSHLCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SRA", ":", "return", "performSRACombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SRL", ":", "return", "performSRLCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "VSELECT", ":", "return", "performVSELECTCombine", "(", "N", ",", "DAG", ")", ";", "case", "ISD", "::", "XOR", ":", "Val", "=", "performXORCombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "break", ";", "case", "ISD", "::", "SETCC", ":", "Val", "=", "performSETCCCombine", "(", "N", ",", "DAG", ")", ";", "break", ";", "}", "if", "(", "Val", ".", "getNode", "(", ")", ")", "return", "Val", ";", "return", "MipsTargetLowering", "::", "PerformDAGCombine", "(", "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": ["Mips", "Mips", "ISD::ADDE", "ISD::AND", "ISD::SUBE", "ISD::MUL", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::VSELECT", "ISD::XOR", "ISD::SETCC", "Mips"], "File": "MipsSEISelLowering61", "Func": "PerformDAGCombine", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11821, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "AArch64InstrInfo", "*", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "int", "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", "(", ")", ";", "int64_t", "Amount", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "Amount", "=", "RoundUpToAlignment", "(", "Amount", ",", "Align", ")", ";", "if", "(", "!", "IsDestroy", ")", "Amount", "=", "-", "Amount", ";", "if", "(", "CalleePopAmount", "==", "0", ")", "{", "assert", "(", "Amount", ">", "-", "0xffffff", "&&", "Amount", "<", "0xffffff", "&&", "\"call frame too large\"", ")", ";", "emitFrameOffset", "(", "MBB", ",", "I", ",", "DL", ",", "AArch64", "::", "SP", ",", "AArch64", "::", "SP", ",", "Amount", ",", "TII", ")", ";", "}", "}", "else", "if", "(", "CalleePopAmount", "!=", "0", ")", "{", "assert", "(", "CalleePopAmount", "<", "0xffffff", "&&", "\"call frame too large\"", ")", ";", "emitFrameOffset", "(", "MBB", ",", "I", ",", "DL", ",", "AArch64", "::", "SP", ",", "AArch64", "::", "SP", ",", "-", "CalleePopAmount", ",", "TII", ")", ";", "}", "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": ["AArch64", "AArch64", "AArch64", "AArch64", "1", "0", "0", "0", "0xffffff", "0xffffff", "\"call frame too large\"", "AArch64::SP", "AArch64::SP", "0", "0xffffff", "\"call frame too large\"", "AArch64::SP", "AArch64::SP"], "File": "AArch64FrameLowering34", "Func": "eliminateCallFramePseudoInstr", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11822, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "or1k_legitimate_address_p", "(", "machine_mode", ",", "rtx", "x", ",", "bool", "strict_p", ")", "{", "rtx", "base", ",", "addend", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "REG", ":", "base", "=", "x", ";", "break", ";", "case", "PLUS", ":", "base", "=", "XEXP", "(", "x", ",", "0", ")", ";", "addend", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "!", "REG_P", "(", "base", ")", ")", "return", "false", ";", "if", "(", "!", "strict_p", "&&", "virtual_frame_reg_operand", "(", "base", ",", "VOIDmode", ")", ")", "return", "CONST_INT_P", "(", "addend", ")", ";", "if", "(", "!", "satisfies_constraint_I", "(", "addend", ")", ")", "return", "false", ";", "break", ";", "case", "LO_SUM", ":", "base", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "!", "REG_P", "(", "base", ")", ")", "return", "false", ";", "x", "=", "XEXP", "(", "x", ",", "1", ")", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "CONST", ":", "case", "SYMBOL_REF", ":", "case", "LABEL_REF", ":", "break", ";", "case", "UNSPEC", ":", "switch", "(", "XINT", "(", "x", ",", "1", ")", ")", "{", "case", "UNSPEC_GOT", ":", "case", "UNSPEC_GOTOFF", ":", "case", "UNSPEC_TPOFF", ":", "case", "UNSPEC_GOTTPOFF", ":", "break", ";", "default", ":", "return", "false", ";", "}", "break", ";", "default", ":", "return", "false", ";", "}", "break", ";", "default", ":", "return", "false", ";", "}", "unsigned", "regno", "=", "REGNO", "(", "base", ")", ";", "if", "(", "regno", ">=", "FIRST_PSEUDO_REGISTER", ")", "{", "if", "(", "strict_p", ")", "regno", "=", "reg_renumber", "[", "regno", "]", ";", "else", "return", "true", ";", "}", "if", "(", "strict_p", ")", "return", "regno", "<=", "31", ";", "else", "return", "REGNO_OK_FOR_BASE_P", "(", "regno", ")", ";", "}", ""], "natrual_language": ["Worker", "for", "TARGET_LEGITIMATE_ADDRESS_P", ".", "Returns", "true", "if", "X", "is", "a", "legitimate", "address", "RTX", "on", "OpenRISC", "."], "TS_V_token": ["or1k", "0", "1", "0", "1", "1", "31"], "File": "or1k", "Func": "or1k_legitimate_address_p", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11823, "Length": 246, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "xstormy16_handle_below100_attribute", "(", "tree", "*", "node", ",", "tree", "name", "ATTRIBUTE_UNUSED", ",", "tree", "args", "ATTRIBUTE_UNUSED", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add_attrs", ")", "{", "if", "(", "TREE_CODE", "(", "*", "node", ")", "!=", "VAR_DECL", "&&", "TREE_CODE", "(", "*", "node", ")", "!=", "POINTER_TYPE", "&&", "TREE_CODE", "(", "*", "node", ")", "!=", "TYPE_DECL", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%<__BELOW100__%> attribute only applies to variables\"", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "else", "if", "(", "args", "==", "NULL_TREE", "&&", "TREE_CODE", "(", "*", "node", ")", "==", "VAR_DECL", ")", "{", "if", "(", "!", "(", "TREE_PUBLIC", "(", "*", "node", ")", "||", "TREE_STATIC", "(", "*", "node", ")", ")", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%<__BELOW100__%> attribute not allowed \"", "\"with auto storage class\"", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "an", "``", "below", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["stormy16", "\"%<__BELOW100__%> attribute only applies to variables\"", "\"%<__BELOW100__%> attribute not allowed \"", "\"with auto storage class\""], "File": "stormy16", "Func": "xstormy16_handle_below100_attribute", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11824, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "ARMBaseInstrInfo", "::", "optimizeSelect", "(", "MachineInstr", "&", "MI", ",", "SmallPtrSetImpl", "<", "MachineInstr", "*", ">", "&", "SeenMIs", ",", "bool", "PreferFalse", ")", "const", "{", "assert", "(", "(", "MI", ".", "getOpcode", "(", ")", "==", "ARM", "::", "MOVCCr", "||", "MI", ".", "getOpcode", "(", ")", "==", "ARM", "::", "t2MOVCCr", ")", "&&", "\"Unknown select instruction\"", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MachineInstr", "*", "DefMI", "=", "canFoldIntoMOVCC", "(", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ",", "MRI", ",", "this", ")", ";", "bool", "Invert", "=", "!", "DefMI", ";", "if", "(", "!", "DefMI", ")", "DefMI", "=", "canFoldIntoMOVCC", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ",", "MRI", ",", "this", ")", ";", "if", "(", "!", "DefMI", ")", "return", "nullptr", ";", "MachineOperand", "FalseReg", "=", "MI", ".", "getOperand", "(", "Invert", "?", "2", ":", "1", ")", ";", "unsigned", "DestReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "PreviousClass", "=", "MRI", ".", "getRegClass", "(", "FalseReg", ".", "getReg", "(", ")", ")", ";", "if", "(", "!", "MRI", ".", "constrainRegClass", "(", "DestReg", ",", "PreviousClass", ")", ")", "return", "nullptr", ";", "MachineInstrBuilder", "NewMI", "=", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "DefMI", "->", "getDesc", "(", ")", ",", "DestReg", ")", ";", "const", "MCInstrDesc", "&", "DefDesc", "=", "DefMI", "->", "getDesc", "(", ")", ";", "for", "(", "unsigned", "i", "=", "1", ",", "e", "=", "DefDesc", ".", "getNumOperands", "(", ")", ";", "i", "!=", "e", "&&", "!", "DefDesc", ".", "OpInfo", "[", "i", "]", ".", "isPredicate", "(", ")", ";", "++", "i", ")", "NewMI", ".", "addOperand", "(", "DefMI", "->", "getOperand", "(", "i", ")", ")", ";", "unsigned", "CondCode", "=", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "if", "(", "Invert", ")", "NewMI", ".", "addImm", "(", "ARMCC", "::", "getOppositeCondition", "(", "ARMCC", "::", "CondCodes", "(", "CondCode", ")", ")", ")", ";", "else", "NewMI", ".", "addImm", "(", "CondCode", ")", ";", "NewMI", ".", "addOperand", "(", "MI", ".", "getOperand", "(", "4", ")", ")", ";", "if", "(", "NewMI", "->", "hasOptionalDef", "(", ")", ")", "AddDefaultCC", "(", "NewMI", ")", ";", "FalseReg", ".", "setImplicit", "(", ")", ";", "NewMI", ".", "addOperand", "(", "FalseReg", ")", ";", "NewMI", "->", "tieOperands", "(", "0", ",", "NewMI", "->", "getNumOperands", "(", ")", "-", "1", ")", ";", "SeenMIs", ".", "insert", "(", "NewMI", ")", ";", "SeenMIs", ".", "erase", "(", "DefMI", ")", ";", "if", "(", "DefMI", "->", "getParent", "(", ")", "!=", "MI", ".", "getParent", "(", ")", ")", "NewMI", "->", "clearKillInfo", "(", ")", ";", "DefMI", "->", "eraseFromParent", "(", ")", ";", "return", "NewMI", ";", "}", ""], "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": ["ARM", "ARM", "ARM::MOVCCr", "ARM::t2MOVCCr", "\"Unknown select instruction\"", "2", "1", "2", "1", "0", "1", "3", "ARMCC::getOppositeCondition", "ARMCC::CondCodes", "4", "0", "1"], "File": "ARMBaseInstrInfo (2)2", "Func": "optimizeSelect", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11825, "Length": 414, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "functionArgumentNeedsConsecutiveRegisters", "(", "Type", "*", "Ty", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ")", "const", "override", "{", "return", "Ty", "->", "isArrayTy", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "an", "argument", "of", "type", "Ty", "needs", "to", "be", "passed", "in", "a", "contiguous", "block", "of", "registers", "in", "calling", "convention", "CallConv", "."], "TS_V_token": ["PowerPC"], "File": "PPCISelLowering (2)1", "Func": "functionArgumentNeedsConsecutiveRegisters", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11826, "Length": 26, "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", ")", ";", "case", "SPR_8RegClassID", ":", "case", "SPRRegClassID", ":", "case", "DPR_8RegClassID", ":", "case", "DPRRegClassID", ":", "return", "getRegBank", "(", "ARM", "::", "FPRRegBankID", ")", ";", "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", "ARM::FPRRegBankID", "\"Unsupported register kind\"", "\"Switch should handle all register classes\""], "File": "ARMRegisterBankInfo28", "Func": "getRegBankFromRegClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11827, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isShuffleMaskLegal", "(", "const", "SmallVectorImpl", "<", "int", ">", "&", "M", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "MVT", "SVT", "=", "VT", ".", "getSimpleVT", "(", ")", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "false", ";", "if", "(", "(", "SVT", ".", "is128BitVector", "(", ")", "&&", "Subtarget", "->", "hasSSSE3", "(", ")", ")", "||", "(", "SVT", ".", "is256BitVector", "(", ")", "&&", "Subtarget", "->", "hasInt256", "(", ")", ")", ")", "{", "bool", "isLegal", "=", "true", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "M", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "M", "[", "I", "]", ">=", "(", "int", ")", "SVT", ".", "getVectorNumElements", "(", ")", "||", "ShuffleCrosses128bitLane", "(", "SVT", ",", "I", ",", "M", "[", "I", "]", ")", ")", "{", "isLegal", "=", "false", ";", "break", ";", "}", "}", "if", "(", "isLegal", ")", "return", "true", ";", "}", "return", "(", "SVT", ".", "getVectorNumElements", "(", ")", "==", "2", "||", "ShuffleVectorSDNode", "::", "isSplatMask", "(", "&", "M", "[", "0", "]", ",", "VT", ")", "||", "isMOVLMask", "(", "M", ",", "SVT", ")", "||", "isSHUFPMask", "(", "M", ",", "SVT", ")", "||", "isPSHUFDMask", "(", "M", ",", "SVT", ")", "||", "isPSHUFHWMask", "(", "M", ",", "SVT", ",", "Subtarget", "->", "hasInt256", "(", ")", ")", "||", "isPSHUFLWMask", "(", "M", ",", "SVT", ",", "Subtarget", "->", "hasInt256", "(", ")", ")", "||", "isPALIGNRMask", "(", "M", ",", "SVT", ",", "Subtarget", ")", "||", "isUNPCKLMask", "(", "M", ",", "SVT", ",", "Subtarget", "->", "hasInt256", "(", ")", ")", "||", "isUNPCKHMask", "(", "M", ",", "SVT", ",", "Subtarget", "->", "hasInt256", "(", ")", ")", "||", "isUNPCKL_v_undef_Mask", "(", "M", ",", "SVT", ",", "Subtarget", "->", "hasInt256", "(", ")", ")", "||", "isUNPCKH_v_undef_Mask", "(", "M", ",", "SVT", ",", "Subtarget", "->", "hasInt256", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "can", "use", "this", "to", "indicate", "that", "they", "only", "support", "some", "VECTOR_SHUFFLE", "operations", ",", "those", "with", "specific", "masks", "."], "TS_V_token": ["X86", "X86", "64", "0", "2", "0"], "File": "X86ISelLowering120", "Func": "isShuffleMaskLegal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11828, "Length": 289, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createThumb2SizeReductionPass", "(", ")", ")", ";", "addPass", "(", "createUnpackMachineBundles", "(", "[", "]", "(", "const", "MachineFunction", "&", "MF", ")", "{", "return", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "isThumb2", "(", ")", ";", "}", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createARMOptimizeBarriersPass", "(", ")", ")", ";", "addPass", "(", "createARMConstantIslandPass", "(", ")", ")", ";", "}", ""], "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", "ARM", "ARM"], "File": "ARMTargetMachine", "Func": "addPreEmitPass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11829, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SystemZSubtarget", "*", "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": ["SystemZ", "SystemZ"], "File": "SystemZTargetMachine10", "Func": "getSubtargetImpl", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11830, "Length": 17, "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": 11831, "Length": 317, "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": ["LC3", "4"], "File": "LC3AsmBackend", "Func": "getPointerSize", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11832, "Length": 10, "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": 11833, "Length": 336, "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": 11834, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "PPCRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCInstrInfo (2)2", "Func": "getRegisterInfo", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11835, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "assignCustomValue", "(", "const", "ARMCallLowering", "::", "ArgInfo", "&", "Arg", ",", "ArrayRef", "<", "CCValAssign", ">", "VAs", ")", "override", "{", "CCValAssign", "VA", "=", "VAs", "[", "0", "]", ";", "assert", "(", "VA", ".", "needsCustom", "(", ")", "&&", "\"Value doesn't need custom handling\"", ")", ";", "assert", "(", "VA", ".", "getValVT", "(", ")", "==", "MVT", "::", "f64", "&&", "\"Unsupported type\"", ")", ";", "CCValAssign", "NextVA", "=", "VAs", "[", "1", "]", ";", "assert", "(", "NextVA", ".", "needsCustom", "(", ")", "&&", "\"Value doesn't need custom handling\"", ")", ";", "assert", "(", "NextVA", ".", "getValVT", "(", ")", "==", "MVT", "::", "f64", "&&", "\"Unsupported type\"", ")", ";", "assert", "(", "VA", ".", "getValNo", "(", ")", "==", "NextVA", ".", "getValNo", "(", ")", "&&", "\"Values belong to different arguments\"", ")", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Value should be in reg\"", ")", ";", "assert", "(", "NextVA", ".", "isRegLoc", "(", ")", "&&", "\"Value should be in reg\"", ")", ";", "unsigned", "NewRegs", "[", "]", "=", "{", "MRI", ".", "createGenericVirtualRegister", "(", "LLT", "::", "scalar", "(", "32", ")", ")", ",", "MRI", ".", "createGenericVirtualRegister", "(", "LLT", "::", "scalar", "(", "32", ")", ")", "}", ";", "assignValueToReg", "(", "NewRegs", "[", "0", "]", ",", "VA", ".", "getLocReg", "(", ")", ",", "VA", ")", ";", "assignValueToReg", "(", "NewRegs", "[", "1", "]", ",", "NextVA", ".", "getLocReg", "(", ")", ",", "NextVA", ")", ";", "bool", "IsLittle", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "isLittle", "(", ")", ";", "if", "(", "!", "IsLittle", ")", "std", "::", "swap", "(", "NewRegs", "[", "0", "]", ",", "NewRegs", "[", "1", "]", ")", ";", "MIRBuilder", ".", "buildMerge", "(", "Arg", ".", "Reg", ",", "NewRegs", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Handle", "custom", "values", ",", "which", "may", "be", "passed", "into", "one", "or", "more", "of", "VAs", "."], "TS_V_token": ["ARM", "ARM", "0", "\"Value doesn't need custom handling\"", "MVT::f64", "\"Unsupported type\"", "1", "\"Value doesn't need custom handling\"", "MVT::f64", "\"Unsupported type\"", "\"Values belong to different arguments\"", "\"Value should be in reg\"", "\"Value should be in reg\"", "32", "32", "0", "1", "ARM", "0", "1", "1"], "File": "ARMCallLowering (2)", "Func": "assignCustomValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11836, "Length": 243, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"ARM IR optimizations\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"ARM IR optimizations\""], "File": "ARMCodeGenPrepare", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11837, "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", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "DADDu", ":", "Mips", "::", "ADDu", ";", "unsigned", "ADDiu", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "DADDiu", ":", "Mips", "::", "ADDiu", ";", "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", "Mips::DADDu", "Mips::ADDu", "Mips::DADDiu", "Mips::ADDiu", "16"], "File": "MipsSEInstrInfo19", "Func": "adjustStackPtr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11838, "Length": 170, "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": 11839, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0PassConfig", "::", "addPreRegAlloc", "(", ")", "{", "addPass", "(", "createCpu0EmitGPRestorePass", "(", "getCpu0TargetMachine", "(", ")", ")", ")", ";", "return", "true", ";", "}", ""], "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"], "File": "Cpu0TargetMachine1", "Func": "addPreRegAlloc", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11840, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_find_gp_ref", "(", "bool", "*", "cache", ",", "bool", "(", "*", "pred", ")", "(", "rtx_insn", "*", ")", ")", "{", "rtx_insn", "*", "insn", ";", "if", "(", "!", "*", "cache", ")", "{", "push_topmost_sequence", "(", ")", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "if", "(", "USEFUL_INSN_P", "(", "insn", ")", "&&", "pred", "(", "insn", ")", ")", "{", "*", "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": "mips4", "Func": "mips_find_gp_ref", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11841, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTTIImpl", "::", "getPrefetchDistance", "(", ")", "{", "return", "300", ";", "}", ""], "natrual_language": ["Return", "the", "preferred", "prefetch", "distance", "in", "terms", "of", "instructions", "."], "TS_V_token": ["PowerPC", "PPC", "300"], "File": "PPCTargetTransformInfo", "Func": "getPrefetchDistance", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11842, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "isHighLatencyDef", "(", "int", "opc", ")", "const", "{", "switch", "(", "opc", ")", "{", "default", ":", "return", "false", ";", "case", "X86", "::", "DIVSDrm", ":", "case", "X86", "::", "DIVSDrm_Int", ":", "case", "X86", "::", "DIVSDrr", ":", "case", "X86", "::", "DIVSDrr_Int", ":", "case", "X86", "::", "DIVSSrm", ":", "case", "X86", "::", "DIVSSrm_Int", ":", "case", "X86", "::", "DIVSSrr", ":", "case", "X86", "::", "DIVSSrr_Int", ":", "case", "X86", "::", "SQRTPDm", ":", "case", "X86", "::", "SQRTPDm_Int", ":", "case", "X86", "::", "SQRTPDr", ":", "case", "X86", "::", "SQRTPDr_Int", ":", "case", "X86", "::", "SQRTPSm", ":", "case", "X86", "::", "SQRTPSm_Int", ":", "case", "X86", "::", "SQRTPSr", ":", "case", "X86", "::", "SQRTPSr_Int", ":", "case", "X86", "::", "SQRTSDm", ":", "case", "X86", "::", "SQRTSDm_Int", ":", "case", "X86", "::", "SQRTSDr", ":", "case", "X86", "::", "SQRTSDr_Int", ":", "case", "X86", "::", "SQRTSSm", ":", "case", "X86", "::", "SQRTSSm_Int", ":", "case", "X86", "::", "SQRTSSr", ":", "case", "X86", "::", "SQRTSSr_Int", ":", "case", "X86", "::", "VDIVSDrm", ":", "case", "X86", "::", "VDIVSDrm_Int", ":", "case", "X86", "::", "VDIVSDrr", ":", "case", "X86", "::", "VDIVSDrr_Int", ":", "case", "X86", "::", "VDIVSSrm", ":", "case", "X86", "::", "VDIVSSrm_Int", ":", "case", "X86", "::", "VDIVSSrr", ":", "case", "X86", "::", "VDIVSSrr_Int", ":", "case", "X86", "::", "VSQRTPDm", ":", "case", "X86", "::", "VSQRTPDm_Int", ":", "case", "X86", "::", "VSQRTPDr", ":", "case", "X86", "::", "VSQRTPDr_Int", ":", "case", "X86", "::", "VSQRTPSm", ":", "case", "X86", "::", "VSQRTPSm_Int", ":", "case", "X86", "::", "VSQRTPSr", ":", "case", "X86", "::", "VSQRTPSr_Int", ":", "case", "X86", "::", "VSQRTSDm", ":", "case", "X86", "::", "VSQRTSDm_Int", ":", "case", "X86", "::", "VSQRTSDr", ":", "case", "X86", "::", "VSQRTSSm", ":", "case", "X86", "::", "VSQRTSSm_Int", ":", "case", "X86", "::", "VSQRTSSr", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "this", "opcode", "has", "high", "latency", "to", "its", "result", "."], "TS_V_token": ["X86", "X86", "X86::DIVSDrm", "X86::DIVSDrm_Int", "X86::DIVSDrr", "X86::DIVSDrr_Int", "X86::DIVSSrm", "X86::DIVSSrm_Int", "X86::DIVSSrr", "X86::DIVSSrr_Int", "X86::SQRTPDm", "X86::SQRTPDm_Int", "X86::SQRTPDr", "X86::SQRTPDr_Int", "X86::SQRTPSm", "X86::SQRTPSm_Int", "X86::SQRTPSr", "X86::SQRTPSr_Int", "X86::SQRTSDm", "X86::SQRTSDm_Int", "X86::SQRTSDr", "X86::SQRTSDr_Int", "X86::SQRTSSm", "X86::SQRTSSm_Int", "X86::SQRTSSr", "X86::SQRTSSr_Int", "X86::VDIVSDrm", "X86::VDIVSDrm_Int", "X86::VDIVSDrr", "X86::VDIVSDrr_Int", "X86::VDIVSSrm", "X86::VDIVSSrm_Int", "X86::VDIVSSrr", "X86::VDIVSSrr_Int", "X86::VSQRTPDm", "X86::VSQRTPDm_Int", "X86::VSQRTPDr", "X86::VSQRTPDr_Int", "X86::VSQRTPSm", "X86::VSQRTPSm_Int", "X86::VSQRTPSr", "X86::VSQRTPSr_Int", "X86::VSQRTSDm", "X86::VSQRTSDm_Int", "X86::VSQRTSDr", "X86::VSQRTSSm", "X86::VSQRTSSm_Int", "X86::VSQRTSSr"], "File": "X86InstrInfo120", "Func": "isHighLatencyDef", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11843, "Length": 255, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "X86TargetLowering", "::", "getIRStackGuard", "(", "IRBuilderBase", "&", "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": "X86ISelLowering (2)5", "Func": "getIRStackGuard", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11844, "Length": 157, "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": 11845, "Length": 55, "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": 11846, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToReg", "(", "Register", "ValVReg", ",", "Register", "PhysReg", ",", "CCValAssign", "VA", ")", "override", "{", "MIB", ".", "addUse", "(", "PhysReg", ",", "RegState", "::", "Implicit", ")", ";", "Register", "ExtReg", "=", "extendRegister", "(", "ValVReg", ",", "VA", ")", ";", "MIRBuilder", ".", "buildCopy", "(", "PhysReg", ",", "ExtReg", ")", ";", "}", ""], "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": "AArch64CallLowering17", "Func": "assignValueToReg", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11847, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "hppa_register_move_cost", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "reg_class_t", "from", ",", "reg_class_t", "to", ")", "{", "if", "(", "from", "==", "SHIFT_REGS", ")", "return", "0x100", ";", "else", "if", "(", "to", "==", "SHIFT_REGS", "&&", "FP_REG_CLASS_P", "(", "from", ")", ")", "return", "18", ";", "else", "if", "(", "(", "FP_REG_CLASS_P", "(", "from", ")", "&&", "!", "FP_REG_CLASS_P", "(", "to", ")", ")", "||", "(", "FP_REG_CLASS_P", "(", "to", ")", "&&", "!", "FP_REG_CLASS_P", "(", "from", ")", ")", ")", "return", "16", ";", "else", "return", "2", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_REGISTER_MOVE_COST", "hook", ".", "Compute", "extra", "cost", "of", "moving", "data", "between", "one", "register", "class", "and", "another", ".", "Make", "moves", "from", "SAR", "so", "expensive", "they", "should", "never", "happen", ".", "We", "used", "to", "have", "0xffff", "here", ",", "but", "that", "generates", "overflow", "in", "rare", "cases", ".", "Copies", "involving", "a", "FP", "register", "and", "a", "non-FP", "register", "are", "relatively", "expensive", "because", "they", "must", "go", "through", "memory", ".", "Other", "copies", "are", "reasonably", "cheap", "."], "TS_V_token": ["pa", "0x100", "18", "16", "2"], "File": "pa", "Func": "hppa_register_move_cost", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11848, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "split_di", "(", "rtx", "operands", "[", "]", ",", "int", "num", ",", "rtx", "lo_half", "[", "]", ",", "rtx", "hi_half", "[", "]", ")", "{", "while", "(", "num", "--", ")", "{", "rtx", "op", "=", "operands", "[", "num", "]", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "MEM", ")", "{", "lo_half", "[", "num", "]", "=", "adjust_address", "(", "op", ",", "SImode", ",", "0", ")", ";", "hi_half", "[", "num", "]", "=", "adjust_address", "(", "op", ",", "SImode", ",", "4", ")", ";", "}", "else", "{", "lo_half", "[", "num", "]", "=", "simplify_gen_subreg", "(", "SImode", ",", "op", ",", "GET_MODE", "(", "op", ")", "==", "VOIDmode", "?", "DImode", ":", "GET_MODE", "(", "op", ")", ",", "0", ")", ";", "hi_half", "[", "num", "]", "=", "simplify_gen_subreg", "(", "SImode", ",", "op", ",", "GET_MODE", "(", "op", ")", "==", "VOIDmode", "?", "DImode", ":", "GET_MODE", "(", "op", ")", ",", "4", ")", ";", "}", "}", "}", ""], "natrual_language": ["Split", "one", "or", "more", "DImode", "RTL", "references", "into", "pairs", "of", "SImode", "references", ".", "The", "RTL", "can", "be", "REG", ",", "offsettable", "MEM", ",", "integer", "constant", ",", "or", "CONST_DOUBLE", ".", "``", "operands", "''", "is", "a", "pointer", "to", "an", "array", "of", "DImode", "RTL", "to", "split", "and", "``", "num", "''", "is", "its", "length", ".", "lo_half", "and", "hi_half", "are", "output", "arrays", "that", "parallel", "``", "operands", "''", "."], "TS_V_token": ["i386", "0", "4", "0", "4"], "File": "i3863", "Func": "split_di", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11849, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64A57FPLoadBalancing", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "if", "(", "!", "F", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "balanceFPOps", "(", ")", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** AArch64A57FPLoadBalancing *****\\n\"", ")", ";", "MRI", "=", "&", "F", ".", "getRegInfo", "(", ")", ";", "TRI", "=", "F", ".", "getRegInfo", "(", ")", ".", "getTargetRegisterInfo", "(", ")", ";", "RCI", ".", "runOnMachineFunction", "(", "F", ")", ";", "for", "(", "auto", "&", "MBB", ":", "F", ")", "{", "Changed", "|=", "runOnBasicBlock", "(", "MBB", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "\"***** AArch64A57FPLoadBalancing *****\\n\""], "File": "AArch64A57FPLoadBalancing12", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11850, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "hasInlineStackProbe", "(", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"probe-stack\"", ")", ")", "return", "MF", ".", "getFunction", "(", ")", ".", "getFnAttribute", "(", "\"probe-stack\"", ")", ".", "getValueAsString", "(", ")", "==", "\"inline-asm\"", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "stack", "probing", "through", "inline", "assembly", "is", "requested", "."], "TS_V_token": ["PowerPC", "PPC", "\"probe-stack\"", "\"probe-stack\"", "\"inline-asm\""], "File": "PPCISelLowering100", "Func": "hasInlineStackProbe", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11851, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_atomic_assign_expand_fenv", "(", "tree", "*", "hold", ",", "tree", "*", "clear", ",", "tree", "*", "update", ")", "{", "if", "(", "!", "TARGET_FPU", ")", "return", ";", "const", "unsigned", "HOST_WIDE_INT", "accrued_exception_mask", "=", "0x1f", "<<", "5", ";", "const", "unsigned", "HOST_WIDE_INT", "trap_enable_mask", "=", "0x1f", "<<", "23", ";", "tree", "fenv_var", "=", "create_tmp_var", "(", "unsigned_type_node", ")", ";", "mark_addressable", "(", "fenv_var", ")", ";", "tree", "fenv_addr", "=", "build_fold_addr_expr", "(", "fenv_var", ")", ";", "tree", "stfsr", "=", "sparc_builtins", "[", "SPARC_BUILTIN_STFSR", "]", ";", "tree", "hold_stfsr", "=", "build_call_expr", "(", "stfsr", ",", "1", ",", "fenv_addr", ")", ";", "tree", "tmp1_var", "=", "create_tmp_var", "(", "unsigned_type_node", ")", ";", "mark_addressable", "(", "tmp1_var", ")", ";", "tree", "masked_fenv_var", "=", "build2", "(", "BIT_AND_EXPR", ",", "unsigned_type_node", ",", "fenv_var", ",", "build_int_cst", "(", "unsigned_type_node", ",", "~", "(", "accrued_exception_mask", "|", "trap_enable_mask", ")", ")", ")", ";", "tree", "hold_mask", "=", "build2", "(", "MODIFY_EXPR", ",", "void_type_node", ",", "tmp1_var", ",", "masked_fenv_var", ")", ";", "tree", "tmp1_addr", "=", "build_fold_addr_expr", "(", "tmp1_var", ")", ";", "tree", "ldfsr", "=", "sparc_builtins", "[", "SPARC_BUILTIN_LDFSR", "]", ";", "tree", "hold_ldfsr", "=", "build_call_expr", "(", "ldfsr", ",", "1", ",", "tmp1_addr", ")", ";", "*", "hold", "=", "compound_expr", "(", "compound_expr", "(", "hold_stfsr", ",", "hold_mask", ")", ",", "hold_ldfsr", ")", ";", "*", "clear", "=", "build_call_expr", "(", "ldfsr", ",", "1", ",", "tmp1_addr", ")", ";", "tree", "tmp2_var", "=", "create_tmp_var", "(", "unsigned_type_node", ")", ";", "mark_addressable", "(", "tmp2_var", ")", ";", "tree", "tmp3_addr", "=", "build_fold_addr_expr", "(", "tmp2_var", ")", ";", "tree", "update_stfsr", "=", "build_call_expr", "(", "stfsr", ",", "1", ",", "tmp3_addr", ")", ";", "tree", "update_ldfsr", "=", "build_call_expr", "(", "ldfsr", ",", "1", ",", "fenv_addr", ")", ";", "tree", "atomic_feraiseexcept", "=", "builtin_decl_implicit", "(", "BUILT_IN_ATOMIC_FERAISEEXCEPT", ")", ";", "tree", "update_call", "=", "build_call_expr", "(", "atomic_feraiseexcept", ",", "1", ",", "fold_convert", "(", "integer_type_node", ",", "tmp2_var", ")", ")", ";", "if", "(", "SPARC_LOW_FE_EXCEPT_VALUES", ")", "{", "tree", "shifted_tmp2_var", "=", "build2", "(", "RSHIFT_EXPR", ",", "unsigned_type_node", ",", "tmp2_var", ",", "build_int_cst", "(", "unsigned_type_node", ",", "5", ")", ")", ";", "tree", "update_shift", "=", "build2", "(", "MODIFY_EXPR", ",", "void_type_node", ",", "tmp2_var", ",", "shifted_tmp2_var", ")", ";", "update_call", "=", "compound_expr", "(", "update_shift", ",", "update_call", ")", ";", "}", "*", "update", "=", "compound_expr", "(", "compound_expr", "(", "update_stfsr", ",", "update_ldfsr", ")", ",", "update_call", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ATOMIC_ASSIGN_EXPAND_FENV", "hook", "."], "TS_V_token": ["sparc", "0x1f", "5", "0x1f", "23", "1", "1", "1", "1", "1", "1", "5"], "File": "sparc4", "Func": "sparc_atomic_assign_expand_fenv", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11852, "Length": 323, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ThumbRegisterInfo", "::", "saveScavengerRegister", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "MachineBasicBlock", "::", "iterator", "&", "UseMI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "unsigned", "Reg", ")", "const", "{", "const", "ARMSubtarget", "&", "STI", "=", "MBB", ".", "getParent", "(", ")", "->", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "if", "(", "!", "STI", ".", "isThumb1Only", "(", ")", ")", "return", "ARMBaseRegisterInfo", "::", "saveScavengerRegister", "(", "MBB", ",", "I", ",", "UseMI", ",", "RC", ",", "Reg", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "DL", ";", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", ".", "get", "(", "ARM", "::", "tMOVr", ")", ")", ".", "addReg", "(", "ARM", "::", "R12", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ")", ";", "bool", "done", "=", "false", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "II", "=", "I", ";", "!", "done", "&&", "II", "!=", "UseMI", ";", "++", "II", ")", "{", "if", "(", "II", "->", "isDebugValue", "(", ")", ")", "continue", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "II", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "const", "MachineOperand", "&", "MO", "=", "II", "->", "getOperand", "(", "i", ")", ";", "if", "(", "MO", ".", "isRegMask", "(", ")", "&&", "MO", ".", "clobbersPhysReg", "(", "ARM", "::", "R12", ")", ")", "{", "UseMI", "=", "II", ";", "done", "=", "true", ";", "break", ";", "}", "if", "(", "!", "MO", ".", "isReg", "(", ")", "||", "MO", ".", "isUndef", "(", ")", "||", "!", "MO", ".", "getReg", "(", ")", "||", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "MO", ".", "getReg", "(", ")", ")", ")", "continue", ";", "if", "(", "MO", ".", "getReg", "(", ")", "==", "ARM", "::", "R12", ")", "{", "UseMI", "=", "II", ";", "done", "=", "true", ";", "break", ";", "}", "}", "}", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "UseMI", ",", "DL", ",", "TII", ".", "get", "(", "ARM", "::", "tMOVr", ")", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "ARM", "::", "R12", ",", "RegState", "::", "Kill", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Spill", "the", "register", "so", "it", "can", "be", "used", "by", "the", "register", "scavenger", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM::tMOVr", "ARM::R12", "0", "ARM::R12", "ARM::R12", "ARM::tMOVr", "ARM::R12"], "File": "ThumbRegisterInfo", "Func": "saveScavengerRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11853, "Length": 334, "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": ["Mips"], "File": "MipsAsmBackend11", "Func": "mayNeedRelaxation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11854, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_elf_select_section", "(", "tree", "decl", ",", "int", "reloc", ",", "unsigned", "HOST_WIDE_INT", "align", ")", "{", "default_elf_select_section_1", "(", "decl", ",", "reloc", ",", "align", ",", "flag_pic", "||", "DEFAULT_ABI", "==", "ABI_AIX", ")", ";", "}", ""], "natrual_language": ["A", "C", "statement", "or", "statements", "to", "switch", "to", "the", "appropriate", "section", "for", "output", "of", "DECL", ".", "DECL", "is", "either", "a", "`", "VAR_DECL", "'", "node", "or", "a", "constant", "of", "some", "sort", ".", "RELOC", "indicates", "whether", "forming", "the", "initial", "value", "of", "DECL", "requires", "link-time", "relocations", "."], "TS_V_token": ["rs6000"], "File": "rs60003", "Func": "rs6000_elf_select_section", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11855, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "fill_native_cpu_config", "(", "int", "p_arch_native", ",", "int", "p_tune_native", ")", "{", "int", "ret_cpu_type", ";", "if", "(", "!", "(", "p_arch_native", "||", "p_tune_native", ")", ")", "return", "CPU_NATIVE", ";", "cache_cpucfg", "(", ")", ";", "switch", "(", "cpucfg_cache", "[", "1", "]", "&", "0x3", ")", "{", "case", "0x02", ":", "NATIVE_BASE_ISA", "=", "ISA_BASE_LA64V100", ";", "break", ";", "default", ":", "if", "(", "p_arch_native", ")", "fatal_error", "(", "UNKNOWN_LOCATION", ",", "\"unknown base architecture %<0x%x%>, %qs failed\"", ",", "(", "unsigned", "int", ")", "(", "cpucfg_cache", "[", "1", "]", "&", "0x3", ")", ",", "\"-m\"", "OPTSTR_ARCH", "\"=\"", "STR_CPU_NATIVE", ")", ";", "}", "switch", "(", "cpucfg_cache", "[", "2", "]", "&", "0x7", ")", "{", "case", "0x07", ":", "NATIVE_FPU", "=", "ISA_EXT_FPU64", ";", "break", ";", "case", "0x03", ":", "NATIVE_FPU", "=", "ISA_EXT_FPU32", ";", "break", ";", "case", "0x00", ":", "NATIVE_FPU", "=", "ISA_EXT_NOFPU", ";", "break", ";", "default", ":", "if", "(", "p_arch_native", ")", "fatal_error", "(", "UNKNOWN_LOCATION", ",", "\"unknown FPU type %<0x%x%>, %qs failed\"", ",", "(", "unsigned", "int", ")", "(", "cpucfg_cache", "[", "2", "]", "&", "0x7", ")", ",", "\"-m\"", "OPTSTR_ARCH", "\"=\"", "STR_CPU_NATIVE", ")", ";", "}", "int", "l1d_present", "=", "0", ",", "l1u_present", "=", "0", ";", "int", "l2d_present", "=", "0", ";", "uint32_t", "l1_szword", ",", "l2_szword", ";", "l1u_present", "|=", "cpucfg_cache", "[", "16", "]", "&", "3", ";", "l1d_present", "|=", "cpucfg_cache", "[", "16", "]", "&", "4", ";", "l1_szword", "=", "l1d_present", "?", "18", ":", "(", "l1u_present", "?", "17", ":", "0", ")", ";", "l1_szword", "=", "l1_szword", "?", "cpucfg_cache", "[", "l1_szword", "]", ":", "0", ";", "l2d_present", "|=", "cpucfg_cache", "[", "16", "]", "&", "24", ";", "l2d_present", "|=", "cpucfg_cache", "[", "16", "]", "&", "128", ";", "l2_szword", "=", "l2d_present", "?", "cpucfg_cache", "[", "19", "]", ":", "0", ";", "loongarch_cpu_cache", "[", "CPU_NATIVE", "]", ".", "l1d_line_size", "=", "1", "<<", "(", "(", "l1_szword", "&", "0x7f000000", ")", ">>", "24", ")", ";", "loongarch_cpu_cache", "[", "CPU_NATIVE", "]", ".", "l1d_size", "=", "(", "1", "<<", "(", "(", "l1_szword", "&", "0x00ff0000", ")", ">>", "16", ")", ")", "*", "(", "(", "l1_szword", "&", "0x0000ffff", ")", "+", "1", ")", "*", "(", "1", "<<", "(", "(", "l1_szword", "&", "0x7f000000", ")", ">>", "24", ")", ")", ">>", "10", ";", "loongarch_cpu_cache", "[", "CPU_NATIVE", "]", ".", "l2d_size", "=", "(", "1", "<<", "(", "(", "l2_szword", "&", "0x00ff0000", ")", ">>", "16", ")", ")", "*", "(", "(", "l2_szword", "&", "0x0000ffff", ")", "+", "1", ")", "*", "(", "1", "<<", "(", "(", "l2_szword", "&", "0x7f000000", ")", ">>", "24", ")", ")", ">>", "10", ";", "switch", "(", "cpucfg_cache", "[", "0", "]", "&", "0x00ffff00", ")", "{", "case", "0x0014c000", ":", "ret_cpu_type", "=", "CPU_LA464", ";", "break", ";", "default", ":", "if", "(", "p_tune_native", ")", "inform", "(", "UNKNOWN_LOCATION", ",", "\"unknown processor ID %<0x%x%>, \"", "\"some tuning parameters will fall back to default\"", ",", "cpucfg_cache", "[", "0", "]", ")", ";", "break", ";", "}", "loongarch_cpu_issue_rate", "[", "CPU_NATIVE", "]", "=", "loongarch_cpu_issue_rate", "[", "ret_cpu_type", "]", ";", "loongarch_cpu_multipass_dfa_lookahead", "[", "CPU_NATIVE", "]", "=", "loongarch_cpu_multipass_dfa_lookahead", "[", "ret_cpu_type", "]", ";", "loongarch_cpu_rtx_cost_data", "[", "CPU_NATIVE", "]", "=", "loongarch_cpu_rtx_cost_data", "[", "ret_cpu_type", "]", ";", "return", "ret_cpu_type", ";", "}", ""], "natrual_language": ["Fill", "property", "tables", "for", "CPU_NATIVE", "."], "TS_V_token": ["loongarch", "1", "0x3", "0x02", "\"unknown base architecture %<0x%x%>, %qs failed\"", "1", "0x3", "\"-m\"", "\"=\"", "2", "0x7", "0x07", "0x03", "0x00", "\"unknown FPU type %<0x%x%>, %qs failed\"", "2", "0x7", "\"-m\"", "\"=\"", "0", "0", "0", "16", "3", "16", "4", "18", "17", "0", "0", "16", "24", "16", "128", "19", "0", "1", "0x7f000000", "24", "1", "0x00ff0000", "16", "0x0000ffff", "1", "1", "0x7f000000", "24", "10", "1", "0x00ff0000", "16", "0x0000ffff", "1", "1", "0x7f000000", "24", "10", "0", "0x00ffff00", "0x0014c000", "\"unknown processor ID %<0x%x%>, \"", "\"some tuning parameters will fall back to default\"", "0"], "File": "loongarch-cpu", "Func": "fill_native_cpu_config", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11856, "Length": 429, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetELFStreamer", "::", "emitLabel", "(", "MCSymbol", "*", "Symbol", ")", "{", "if", "(", "!", "isMicroMipsEnabled", "(", ")", ")", "return", ";", "MCSymbolData", "&", "Data", "=", "getStreamer", "(", ")", ".", "getOrCreateSymbolData", "(", "Symbol", ")", ";", "uint8_t", "Type", "=", "MCELF", "::", "GetType", "(", "Data", ")", ";", "if", "(", "Type", "!=", "ELF", "::", "STT_FUNC", ")", "return", ";", "MCELF", "::", "setOther", "(", "Data", ",", "ELF", "::", "STO_MIPS_MICROMIPS", ">>", "2", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "label", "for", "Symbol", "into", "the", "current", "section", "."], "TS_V_token": ["Mips", "Mips", "Mips", "2"], "File": "MipsTargetStreamer11", "Func": "emitLabel", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11857, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "loongarch_split_move_insn", "(", "rtx", "dest", ",", "rtx", "src", ",", "rtx", "insn", ")", "{", "loongarch_split_move", "(", "dest", ",", "src", ",", "insn", ")", ";", "}", ""], "natrual_language": ["Split", "a", "move", "from", "SRC", "to", "DEST", "in", "INSN", ",", "given", "that", "loongarch_split_move_insn_p", "holds", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_split_move_insn", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11858, "Length": 23, "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": 11859, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "getSqrtEstimate", "(", "SDValue", "Operand", ",", "SelectionDAG", "&", "DAG", ",", "int", "Enabled", ",", "int", "&", "ExtraSteps", ",", "bool", "&", "UseOneConst", ",", "bool", "Reciprocal", ")", "const", "{", "if", "(", "Enabled", "==", "ReciprocalEstimate", "::", "Enabled", "||", "(", "Enabled", "==", "ReciprocalEstimate", "::", "Unspecified", "&&", "Subtarget", "->", "useRSqrt", "(", ")", ")", ")", "if", "(", "SDValue", "Estimate", "=", "getEstimate", "(", "Subtarget", ",", "AArch64ISD", "::", "FRSQRTE", ",", "Operand", ",", "DAG", ",", "ExtraSteps", ")", ")", "{", "SDLoc", "DL", "(", "Operand", ")", ";", "EVT", "VT", "=", "Operand", ".", "getValueType", "(", ")", ";", "SDNodeFlags", "Flags", ";", "Flags", ".", "setUnsafeAlgebra", "(", "true", ")", ";", "for", "(", "int", "i", "=", "ExtraSteps", ";", "i", ">", "0", ";", "--", "i", ")", "{", "SDValue", "Step", "=", "DAG", ".", "getNode", "(", "ISD", "::", "FMUL", ",", "DL", ",", "VT", ",", "Estimate", ",", "Estimate", ",", "Flags", ")", ";", "Step", "=", "DAG", ".", "getNode", "(", "AArch64ISD", "::", "FRSQRTS", ",", "DL", ",", "VT", ",", "Operand", ",", "Step", ",", "Flags", ")", ";", "Estimate", "=", "DAG", ".", "getNode", "(", "ISD", "::", "FMUL", ",", "DL", ",", "VT", ",", "Estimate", ",", "Step", ",", "Flags", ")", ";", "}", "if", "(", "!", "Reciprocal", ")", "{", "EVT", "CCVT", "=", "getSetCCResultType", "(", "DAG", ".", "getDataLayout", "(", ")", ",", "*", "DAG", ".", "getContext", "(", ")", ",", "VT", ")", ";", "SDValue", "FPZero", "=", "DAG", ".", "getConstantFP", "(", "0.0", ",", "DL", ",", "VT", ")", ";", "SDValue", "Eq", "=", "DAG", ".", "getSetCC", "(", "DL", ",", "CCVT", ",", "Operand", ",", "FPZero", ",", "ISD", "::", "SETEQ", ")", ";", "Estimate", "=", "DAG", ".", "getNode", "(", "ISD", "::", "FMUL", ",", "DL", ",", "VT", ",", "Operand", ",", "Estimate", ",", "Flags", ")", ";", "Estimate", "=", "DAG", ".", "getNode", "(", "VT", ".", "isVector", "(", ")", "?", "ISD", "::", "VSELECT", ":", "ISD", "::", "SELECT", ",", "DL", ",", "VT", ",", "Eq", ",", "Operand", ",", "Estimate", ")", ";", "}", "ExtraSteps", "=", "0", ";", "return", "Estimate", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Hooks", "for", "building", "estimates", "in", "place", "of", "slower", "divisions", "and", "square", "roots", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64ISD::FRSQRTE", "0", "ISD::FMUL", "AArch64ISD::FRSQRTS", "ISD::FMUL", "0.0", "ISD::SETEQ", "ISD::FMUL", "ISD::VSELECT", "ISD::SELECT", "0"], "File": "AArch64ISelLowering105", "Func": "getSqrtEstimate", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11860, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_composite_type_p", "(", "const_tree", "type", ",", "machine_mode", "mode", ")", "{", "if", "(", "aarch64_short_vector_p", "(", "type", ",", "mode", ")", ")", "return", "false", ";", "if", "(", "type", "&&", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "||", "TREE_CODE", "(", "type", ")", "==", "COMPLEX_TYPE", ")", ")", "return", "true", ";", "if", "(", "mode", "==", "BLKmode", "||", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_FLOAT", "||", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_INT", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "the", "type", ",", "as", "described", "by", "TYPE", "and", "MODE", ",", "is", "a", "composite", "type", "as", "described", "in", "AAPCS64", "\\S", "4.3", ".", "This", "includes", "aggregate", ",", "union", "and", "array", "types", ".", "The", "C99", "floating-point", "complex", "types", "are", "also", "considered", "as", "composite", "types", ",", "according", "to", "AAPCS64", "\\S", "7.1.1", ".", "The", "complex", "integer", "types", ",", "which", "are", "GCC", "extensions", "and", "out", "of", "the", "scope", "of", "AAPCS64", ",", "are", "treated", "as", "composite", "types", "here", "as", "well", ".", "Note", "that", "MODE", "itself", "is", "not", "sufficient", "in", "determining", "whether", "a", "type", "is", "such", "a", "composite", "type", "or", "not", ".", "This", "is", "because", "stor-layout.c", ":", "compute_record_mode", "may", "have", "already", "changed", "the", "MODE", "(", "BLKmode", ")", "of", "a", "RECORD_TYPE", "TYPE", "to", "some", "other", "mode", ".", "For", "example", ",", "a", "structure", "with", "only", "one", "field", "may", "have", "its", "MODE", "set", "to", "the", "mode", "of", "the", "field", ".", "Also", "an", "integer", "mode", "whose", "size", "matches", "the", "size", "of", "the", "RECORD_TYPE", "type", "may", "be", "used", "to", "substitute", "the", "original", "mode", "(", "i.e", ".", "BLKmode", ")", "in", "certain", "circumstances", ".", "In", "other", "words", ",", "MODE", "can", "not", "be", "solely", "relied", "on", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_composite_type_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11861, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "single_dest_per_chain", "(", "const", "rtx", "&", "t", "ATTRIBUTE_UNUSED", ",", "insn_info_list_t", "*", "v", ",", "void", "*", "arg", "ATTRIBUTE_UNUSED", ")", "{", "for", "(", "int", "i", "=", "v", "->", "length", "(", ")", "-", "1", ";", "i", ">=", "1", ";", "i", "--", ")", "{", "tag_insn_info", "*", "insn_info", "=", "(", "*", "v", ")", "[", "i", "]", ";", "for", "(", "int", "j", "=", "v", "->", "length", "(", ")", "-", "2", ";", "j", ">=", "0", ";", "j", "--", ")", "{", "if", "(", "in_same_chain", "(", "insn_info", "->", "insn", ",", "(", "*", "v", ")", "[", "j", "]", "->", "insn", ",", "REGNO", "(", "insn_info", "->", "dest", ")", ")", ")", "{", "v", "->", "ordered_remove", "(", "j", ")", ";", "i", "=", "v", "->", "length", "(", ")", ";", "break", ";", "}", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Callback", "function", "to", "traverse", "the", "tag", "map", "and", "drop", "loads", "that", "have", "the", "same", "destination", "and", "and", "in", "the", "same", "chain", "of", "occurrence", ".", "Routine", "always", "returns", "true", "to", "allow", "traversal", "through", "all", "of", "TAG_MAP", "."], "TS_V_token": ["aarch64", "1", "1", "2", "0"], "File": "falkor-tag-collision-avoidance", "Func": "single_dest_per_chain", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11862, "Length": 124, "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": 11863, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_secondary_reload_gpr", "(", "rtx", "reg", ",", "rtx", "mem", ",", "rtx", "scratch", ",", "bool", "store_p", ")", "{", "int", "regno", "=", "true_regnum", "(", "reg", ")", ";", "enum", "reg_class", "rclass", ";", "rtx", "addr", ";", "rtx", "scratch_or_premodify", "=", "scratch", ";", "if", "(", "TARGET_DEBUG_ADDR", ")", "{", "fprintf", "(", "stderr", ",", "\"\\nrs6000_secondary_reload_gpr, type = %s\\n\"", ",", "store_p", "?", "\"store\"", ":", "\"load\"", ")", ";", "fprintf", "(", "stderr", ",", "\"reg:\\n\"", ")", ";", "debug_rtx", "(", "reg", ")", ";", "fprintf", "(", "stderr", ",", "\"mem:\\n\"", ")", ";", "debug_rtx", "(", "mem", ")", ";", "fprintf", "(", "stderr", ",", "\"scratch:\\n\"", ")", ";", "debug_rtx", "(", "scratch", ")", ";", "}", "gcc_assert", "(", "regno", ">=", "0", "&&", "regno", "<", "FIRST_PSEUDO_REGISTER", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "mem", ")", "==", "MEM", ")", ";", "rclass", "=", "REGNO_REG_CLASS", "(", "regno", ")", ";", "gcc_assert", "(", "rclass", "==", "GENERAL_REGS", "||", "rclass", "==", "BASE_REGS", ")", ";", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PRE_MODIFY", ")", "{", "gcc_assert", "(", "REG_P", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "&&", "GET_CODE", "(", "XEXP", "(", "addr", ",", "1", ")", ")", "==", "PLUS", "&&", "XEXP", "(", "XEXP", "(", "addr", ",", "1", ")", ",", "0", ")", "==", "XEXP", "(", "addr", ",", "0", ")", ")", ";", "scratch_or_premodify", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "if", "(", "!", "HARD_REGISTER_P", "(", "scratch_or_premodify", ")", ")", "scratch_or_premodify", "=", "find_replacement", "(", "&", "XEXP", "(", "addr", ",", "0", ")", ")", ";", "addr", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "}", "gcc_assert", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", "||", "GET_CODE", "(", "addr", ")", "==", "LO_SUM", ")", ";", "rs6000_emit_move", "(", "scratch_or_premodify", ",", "addr", ",", "Pmode", ")", ";", "mem", "=", "replace_equiv_address_nv", "(", "mem", ",", "scratch_or_premodify", ")", ";", "if", "(", "store_p", ")", "emit_insn", "(", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ")", ";", "else", "emit_insn", "(", "gen_rtx_SET", "(", "reg", ",", "mem", ")", ")", ";", "return", ";", "}", ""], "natrual_language": ["Convert", "reloads", "involving", "64-bit", "gprs", "and", "misaligned", "offset", "addressing", ",", "or", "multiple", "32-bit", "gprs", "and", "offsets", "that", "are", "too", "large", ",", "to", "use", "indirect", "addressing", "."], "TS_V_token": ["powerpcspe", "\"\\nrs6000_secondary_reload_gpr, type = %s\\n\"", "\"store\"", "\"load\"", "\"reg:\\n\"", "\"mem:\\n\"", "\"scratch:\\n\"", "0", "0", "0", "1", "1", "0", "0", "0", "0", "1"], "File": "powerpcspe", "Func": "rs6000_secondary_reload_gpr", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11864, "Length": 296, "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\"", ";", "unsigned", "CPUFSWidth", "=", "Key", ".", "size", "(", ")", ";", "unsigned", "PreferVectorWidthOverride", "=", "0", ";", "if", "(", "F", ".", "hasFnAttribute", "(", "\"prefer-vector-width\"", ")", ")", "{", "StringRef", "Val", "=", "F", ".", "getFnAttribute", "(", "\"prefer-vector-width\"", ")", ".", "getValueAsString", "(", ")", ";", "unsigned", "Width", ";", "if", "(", "!", "Val", ".", "getAsInteger", "(", "0", ",", "Width", ")", ")", "{", "Key", "+=", "\",prefer-vector-width=\"", ";", "Key", "+=", "Val", ";", "PreferVectorWidthOverride", "=", "Width", ";", "}", "}", "unsigned", "RequiredVectorWidth", "=", "UINT32_MAX", ";", "if", "(", "F", ".", "hasFnAttribute", "(", "\"min-legal-vector-width\"", ")", ")", "{", "StringRef", "Val", "=", "F", ".", "getFnAttribute", "(", "\"min-legal-vector-width\"", ")", ".", "getValueAsString", "(", ")", ";", "unsigned", "Width", ";", "if", "(", "!", "Val", ".", "getAsInteger", "(", "0", ",", "Width", ")", ")", "{", "Key", "+=", "\",min-legal-vector-width=\"", ";", "Key", "+=", "Val", ";", "RequiredVectorWidth", "=", "Width", ";", "}", "}", "FS", "=", "Key", ".", "slice", "(", "CPU", ".", "size", "(", ")", ",", "CPUFSWidth", ")", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "Key", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "std", "::", "make_unique", "<", "X86Subtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "*", "this", ",", "MaybeAlign", "(", "Options", ".", "StackAlignmentOverride", ")", ",", "PreferVectorWidthOverride", ",", "RequiredVectorWidth", ")", ";", "}", "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\"", "0", "\"prefer-vector-width\"", "\"prefer-vector-width\"", "0", "\",prefer-vector-width=\"", "\"min-legal-vector-width\"", "\"min-legal-vector-width\"", "0", "\",min-legal-vector-width=\"", "X86"], "File": "X86TargetMachine130", "Func": "getSubtargetImpl", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11865, "Length": 346, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_secondary_reload_simple_move", "(", "enum", "rs6000_reg_type", "to_type", ",", "enum", "rs6000_reg_type", "from_type", ",", "machine_mode", "mode", ")", "{", "int", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "TARGET_DIRECT_MOVE", "&&", "(", "(", "to_type", "==", "GPR_REG_TYPE", "&&", "from_type", "==", "VSX_REG_TYPE", ")", "||", "(", "to_type", "==", "VSX_REG_TYPE", "&&", "from_type", "==", "GPR_REG_TYPE", ")", ")", ")", "{", "if", "(", "TARGET_POWERPC64", ")", "{", "if", "(", "size", "==", "8", ")", "return", "true", ";", "if", "(", "size", "==", "16", "&&", "TARGET_P9_VECTOR", "&&", "mode", "!=", "TDmode", ")", "return", "true", ";", "}", "if", "(", "TARGET_P8_VECTOR", ")", "{", "if", "(", "mode", "==", "SImode", ")", "return", "true", ";", "if", "(", "TARGET_P9_VECTOR", "&&", "(", "mode", "==", "HImode", "||", "mode", "==", "QImode", ")", ")", "return", "true", ";", "}", "if", "(", "mode", "==", "SDmode", ")", "return", "true", ";", "}", "else", "if", "(", "TARGET_MFPGPR", "&&", "TARGET_POWERPC64", "&&", "size", "==", "8", "&&", "(", "(", "to_type", "==", "GPR_REG_TYPE", "&&", "from_type", "==", "FPR_REG_TYPE", ")", "||", "(", "to_type", "==", "FPR_REG_TYPE", "&&", "from_type", "==", "GPR_REG_TYPE", ")", ")", ")", "return", "true", ";", "else", "if", "(", "(", "size", "==", "4", "||", "(", "TARGET_POWERPC64", "&&", "size", "==", "8", ")", ")", "&&", "(", "(", "to_type", "==", "GPR_REG_TYPE", "&&", "from_type", "==", "SPR_REG_TYPE", ")", "||", "(", "to_type", "==", "SPR_REG_TYPE", "&&", "from_type", "==", "GPR_REG_TYPE", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "rs6000_secondary_reload", "to", "return", "true", "if", "a", "move", "to", "a", "different", "register", "classe", "is", "really", "a", "simple", "move", "."], "TS_V_token": ["rs6000", "8", "16", "8", "4", "8"], "File": "rs60007", "Func": "rs6000_secondary_reload_simple_move", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11866, "Length": 205, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ISD", "::", "NodeType", "getExtendForAtomicOps", "(", ")", "const", "override", "{", "return", "ISD", "::", "ZERO_EXTEND", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "platform", "'s", "atomic", "operations", "are", "extended", "(", "ZERO_EXTEND", ",", "SIGN_EXTEND", ",", "or", "ANY_EXTEND", ")", "."], "TS_V_token": ["SystemZ", "ISD::NodeType", "ISD::ZERO_EXTEND"], "File": "SystemZISelLowering30", "Func": "getExtendForAtomicOps", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11867, "Length": 15, "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": 11868, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "ix86_memtag_add_tag", "(", "rtx", "base", ",", "poly_int64", "offset", ",", "unsigned", "char", "tag_offset", ")", "{", "rtx", "base_tag", "=", "gen_reg_rtx", "(", "QImode", ")", ";", "rtx", "base_addr", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "tagged_addr", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "new_tag", "=", "gen_reg_rtx", "(", "QImode", ")", ";", "unsigned", "HOST_WIDE_INT", "and_imm", "=", "(", "HOST_WIDE_INT_1U", "<<", "IX86_HWASAN_SHIFT", ")", "-", "1", ";", "emit_move_insn", "(", "base_tag", ",", "ix86_memtag_extract_tag", "(", "base", ",", "NULL_RTX", ")", ")", ";", "emit_move_insn", "(", "base_addr", ",", "ix86_memtag_untagged_pointer", "(", "base", ",", "NULL_RTX", ")", ")", ";", "emit_insn", "(", "gen_add2_insn", "(", "base_tag", ",", "gen_int_mode", "(", "tag_offset", ",", "QImode", ")", ")", ")", ";", "emit_move_insn", "(", "new_tag", ",", "base_tag", ")", ";", "emit_insn", "(", "gen_andqi3", "(", "new_tag", ",", "new_tag", ",", "gen_int_mode", "(", "and_imm", ",", "QImode", ")", ")", ")", ";", "emit_move_insn", "(", "tagged_addr", ",", "ix86_memtag_set_tag", "(", "base_addr", ",", "new_tag", ",", "NULL_RTX", ")", ")", ";", "return", "plus_constant", "(", "Pmode", ",", "tagged_addr", ",", "offset", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MEMTAG_ADD_TAG", "."], "TS_V_token": ["i386", "1"], "File": "i3861", "Func": "ix86_memtag_add_tag", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11869, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Mips MipsOptimizePICCall\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"Mips MipsOptimizePICCall\""], "File": "MipsOptimizePICCall15", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11870, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips16_load_branch_target", "(", "rtx", "dest", ",", "rtx", "src", ")", "{", "if", "(", "TARGET_ABICALLS", "&&", "!", "TARGET_ABSOLUTE_ABICALLS", ")", "{", "rtx", "page", ",", "low", ";", "if", "(", "mips_cfun_has_cprestore_slot_p", "(", ")", ")", "mips_emit_move", "(", "dest", ",", "mips_cprestore_slot", "(", "dest", ",", "true", ")", ")", ";", "else", "mips_emit_move", "(", "dest", ",", "pic_offset_table_rtx", ")", ";", "page", "=", "mips_unspec_address", "(", "src", ",", "SYMBOL_GOTOFF_PAGE", ")", ";", "low", "=", "mips_unspec_address", "(", "src", ",", "SYMBOL_GOT_PAGE_OFST", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "PMODE_INSN", "(", "gen_unspec_got", ",", "(", "dest", ",", "page", ")", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "gen_rtx_LO_SUM", "(", "Pmode", ",", "dest", ",", "low", ")", ")", ")", ";", "}", "else", "{", "src", "=", "mips_unspec_address", "(", "src", ",", "SYMBOL_ABSOLUTE", ")", ";", "mips_emit_move", "(", "dest", ",", "src", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "code", "to", "load", "LABEL_REF", "SRC", "into", "MIPS16", "register", "DEST", ".", "This", "is", "called", "very", "late", "in", "mips_reorg", ",", "but", "the", "caller", "is", "required", "to", "run", "mips16_lay_out_constants", "on", "the", "result", "."], "TS_V_token": ["mips"], "File": "mips4", "Func": "mips16_load_branch_target", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11871, "Length": 129, "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", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["Sparc", "Sparc", "1", "0", "0U", "SP::IntRegsRegClass"], "File": "SparcISelLowering16", "Func": "getRegForInlineAsmConstraint", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11872, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getFirstTerminator", "(", ")", ";", "bool", "IsEHFuncletEpilogue", "=", "MBBI", "==", "MBB", ".", "end", "(", ")", "?", "false", ":", "isFuncletReturnInstr", "(", "*", "MBBI", ")", ";", "const", "X86FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "getIndex", "(", ")", ";", "int", "FIOffset", ";", "Register", "BasePtr", ";", "if", "(", "MI", ".", "isReturn", "(", ")", ")", "{", "assert", "(", "(", "!", "hasStackRealignment", "(", "MF", ")", "||", "MF", ".", "getFrameInfo", "(", ")", ".", "isFixedObjectIndex", "(", "FrameIndex", ")", ")", "&&", "\"Return instruction can only reference SP relative frame objects\"", ")", ";", "FIOffset", "=", "TFI", "->", "getFrameIndexReferenceSP", "(", "MF", ",", "FrameIndex", ",", "BasePtr", ",", "0", ")", ".", "getFixed", "(", ")", ";", "}", "else", "if", "(", "TFI", "->", "Is64Bit", "&&", "(", "MBB", ".", "isEHFuncletEntry", "(", ")", "||", "IsEHFuncletEpilogue", ")", ")", "{", "FIOffset", "=", "TFI", "->", "getWin64EHFrameIndexRef", "(", "MF", ",", "FrameIndex", ",", "BasePtr", ")", ";", "}", "else", "{", "FIOffset", "=", "TFI", "->", "getFrameIndexReference", "(", "MF", ",", "FrameIndex", ",", "BasePtr", ")", ".", "getFixed", "(", ")", ";", "}", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "TargetOpcode", "::", "LOCAL_ESCAPE", ")", "{", "MachineOperand", "&", "FI", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ";", "FI", ".", "ChangeToImmediate", "(", "FIOffset", ")", ";", "return", ";", "}", "Register", "MachineBasePtr", "=", "BasePtr", ";", "if", "(", "Opc", "==", "X86", "::", "LEA64_32r", "&&", "X86", "::", "GR32RegClass", ".", "contains", "(", "BasePtr", ")", ")", "MachineBasePtr", "=", "getX86SubSuperRegister", "(", "BasePtr", ",", "64", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "MachineBasePtr", ",", "false", ")", ";", "if", "(", "BasePtr", "==", "StackPtr", ")", "FIOffset", "+=", "SPAdj", ";", "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!\"", ")", ";", "if", "(", "Offset", "!=", "0", "||", "!", "tryOptimizeLEAtoMOV", "(", "II", ")", ")", "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", "X86", "\"Return instruction can only reference SP relative frame objects\"", "0", "X86::LEA64_32r", "X86::GR32RegClass", "X86", "64", "\"Expected the FP as base register\"", "1", "1", "3", "3", "32", "\"Requesting 64-bit offset in 32-bit immediate!\"", "0", "3", "3", "3"], "File": "X86RegisterInfo (2)1", "Func": "eliminateFrameIndex", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11873, "Length": 503, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "SYSTEMZ_EXPAND_PSEUDO_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["SystemZ"], "File": "SystemZExpandPseudo", "Func": "getPassName", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11874, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "mayBeEmittedAsTailCall", "(", "const", "CallInst", "*", "CI", ")", "const", "{", "return", "CI", "->", "isTailCall", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "may", "be", "able", "emit", "the", "call", "instruction", "as", "a", "tail", "call", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ISelLowering (2)2", "Func": "mayBeEmittedAsTailCall", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11875, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "mayBeEmittedAsTailCall", "(", "CallInst", "*", "CI", ")", "const", "{", "return", "CI", "->", "isTailCall", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "may", "be", "able", "emit", "the", "call", "instruction", "as", "a", "tail", "call", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ISelLowering (2)", "Func": "mayBeEmittedAsTailCall", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11876, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "getGlobalBaseReg", "(", ")", "const", "{", "return", "GlobalBaseReg", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["X86"], "File": "X86MachineFunctionInfo12", "Func": "getGlobalBaseReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11877, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "Subtarget", ".", "getFrameLowering", "(", ")", ";", "if", "(", "!", "Subtarget", ".", "isPPC64", "(", ")", ")", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "PPC", "::", "R31", ":", "PPC", "::", "R1", ";", "else", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "PPC", "::", "X31", ":", "PPC", "::", "X1", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::R31", "PPC::R1", "PPC::X31", "PPC::X1"], "File": "PPCRegisterInfo22", "Func": "getFrameRegister", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11878, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mmix_asm_output_mi_thunk", "(", "FILE", "*", "stream", ",", "tree", "fndecl", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", "ATTRIBUTE_UNUSED", ",", "tree", "func", ")", "{", "const", "char", "*", "regname", "=", "reg_names", "[", "MMIX_FIRST_INCOMING_ARG_REGNUM", "]", ";", "if", "(", "delta", ">=", "0", "&&", "delta", "<", "65536", ")", "fprintf", "(", "stream", ",", "\"\\tINCL %s,%d\\n\"", ",", "regname", ",", "(", "int", ")", "delta", ")", ";", "else", "if", "(", "delta", "<", "0", "&&", "delta", ">=", "-", "255", ")", "fprintf", "(", "stream", ",", "\"\\tSUBU %s,%s,%d\\n\"", ",", "regname", ",", "regname", ",", "(", "int", ")", "-", "delta", ")", ";", "else", "{", "mmix_output_register_setting", "(", "stream", ",", "255", ",", "delta", ",", "1", ")", ";", "fprintf", "(", "stream", ",", "\"\\tADDU %s,%s,$255\\n\"", ",", "regname", ",", "regname", ")", ";", "}", "fprintf", "(", "stream", ",", "\"\\tJMP \"", ")", ";", "assemble_name", "(", "stream", ",", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "func", ")", ",", "0", ")", ",", "0", ")", ")", ";", "fprintf", "(", "stream", ",", "\"\\n\"", ")", ";", "}", ""], "natrual_language": ["ASM_OUTPUT_MI_THUNK", "."], "TS_V_token": ["mmix", "0", "65536", "\"\\tINCL %s,%d\\n\"", "0", "255", "\"\\tSUBU %s,%s,%d\\n\"", "255", "1", "\"\\tADDU %s,%s,$255\\n\"", "\"\\tJMP \"", "0", "0", "\"\\n\""], "File": "mmix3", "Func": "mmix_asm_output_mi_thunk", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11879, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "X86RegisterInfo", "::", "getCrossCopyRegClass", "(", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "if", "(", "RC", "==", "&", "X86", "::", "CCRRegClass", ")", "{", "if", "(", "Is64Bit", ")", "return", "&", "X86", "::", "GR64RegClass", ";", "else", "return", "&", "X86", "::", "GR32RegClass", ";", "}", "return", "RC", ";", "}", ""], "natrual_language": ["getCrossCopyRegClass", "-", "Returns", "a", "legal", "register", "class", "to", "copy", "a", "register", "in", "the", "specified", "class", "to", "or", "from", "."], "TS_V_token": ["X86", "X86", "X86::CCRRegClass", "X86::GR64RegClass", "X86::GR32RegClass"], "File": "X86RegisterInfo (2)", "Func": "getCrossCopyRegClass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11880, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "getTgtMemIntrinsic", "(", "IntrinsicInfo", "&", "Info", ",", "const", "CallInst", "&", "I", ",", "MachineFunction", "&", "MF", ",", "unsigned", "Intrinsic", ")", "const", "{", "const", "IntrinsicData", "*", "IntrData", "=", "getIntrinsicWithChain", "(", "Intrinsic", ")", ";", "if", "(", "!", "IntrData", ")", "return", "false", ";", "Info", ".", "flags", "=", "MachineMemOperand", "::", "MONone", ";", "Info", ".", "offset", "=", "0", ";", "switch", "(", "IntrData", "->", "Type", ")", "{", "case", "TRUNCATE_TO_MEM_VI8", ":", "case", "TRUNCATE_TO_MEM_VI16", ":", "case", "TRUNCATE_TO_MEM_VI32", ":", "{", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_VOID", ";", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "0", ")", ";", "MVT", "VT", "=", "MVT", "::", "getVT", "(", "I", ".", "getArgOperand", "(", "1", ")", "->", "getType", "(", ")", ")", ";", "MVT", "ScalarVT", "=", "MVT", "::", "INVALID_SIMPLE_VALUE_TYPE", ";", "if", "(", "IntrData", "->", "Type", "==", "TRUNCATE_TO_MEM_VI8", ")", "ScalarVT", "=", "MVT", "::", "i8", ";", "else", "if", "(", "IntrData", "->", "Type", "==", "TRUNCATE_TO_MEM_VI16", ")", "ScalarVT", "=", "MVT", "::", "i16", ";", "else", "if", "(", "IntrData", "->", "Type", "==", "TRUNCATE_TO_MEM_VI32", ")", "ScalarVT", "=", "MVT", "::", "i32", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVectorVT", "(", "ScalarVT", ",", "VT", ".", "getVectorNumElements", "(", ")", ")", ";", "Info", ".", "align", "=", "1", ";", "Info", ".", "flags", "|=", "MachineMemOperand", "::", "MOStore", ";", "break", ";", "}", "case", "GATHER", ":", "case", "GATHER_AVX2", ":", "{", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_W_CHAIN", ";", "Info", ".", "ptrVal", "=", "nullptr", ";", "MVT", "DataVT", "=", "MVT", "::", "getVT", "(", "I", ".", "getType", "(", ")", ")", ";", "MVT", "IndexVT", "=", "MVT", "::", "getVT", "(", "I", ".", "getArgOperand", "(", "2", ")", "->", "getType", "(", ")", ")", ";", "unsigned", "NumElts", "=", "std", "::", "min", "(", "DataVT", ".", "getVectorNumElements", "(", ")", ",", "IndexVT", ".", "getVectorNumElements", "(", ")", ")", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVectorVT", "(", "DataVT", ".", "getVectorElementType", "(", ")", ",", "NumElts", ")", ";", "Info", ".", "align", "=", "1", ";", "Info", ".", "flags", "|=", "MachineMemOperand", "::", "MOLoad", ";", "break", ";", "}", "case", "SCATTER", ":", "{", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_VOID", ";", "Info", ".", "ptrVal", "=", "nullptr", ";", "MVT", "DataVT", "=", "MVT", "::", "getVT", "(", "I", ".", "getArgOperand", "(", "3", ")", "->", "getType", "(", ")", ")", ";", "MVT", "IndexVT", "=", "MVT", "::", "getVT", "(", "I", ".", "getArgOperand", "(", "2", ")", "->", "getType", "(", ")", ")", ";", "unsigned", "NumElts", "=", "std", "::", "min", "(", "DataVT", ".", "getVectorNumElements", "(", ")", ",", "IndexVT", ".", "getVectorNumElements", "(", ")", ")", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVectorVT", "(", "DataVT", ".", "getVectorElementType", "(", ")", ",", "NumElts", ")", ";", "Info", ".", "align", "=", "1", ";", "Info", ".", "flags", "|=", "MachineMemOperand", "::", "MOStore", ";", "break", ";", "}", "default", ":", "return", "false", ";", "}", "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": ["X86", "X86", "0", "ISD::INTRINSIC_VOID", "0", "MVT::getVT", "1", "MVT::INVALID_SIMPLE_VALUE_TYPE", "MVT::i8", "MVT::i16", "MVT::i32", "MVT::getVectorVT", "1", "ISD::INTRINSIC_W_CHAIN", "MVT::getVT", "MVT::getVT", "2", "MVT::getVectorVT", "1", "ISD::INTRINSIC_VOID", "MVT::getVT", "3", "MVT::getVT", "2", "MVT::getVectorVT", "1"], "File": "X86ISelLowering108", "Func": "getTgtMemIntrinsic", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11881, "Length": 423, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "OutgoingValueHandler", "::", "getStackAddress", "(", "const", "CCValAssign", "&", "VA", ",", "MachineMemOperand", "*", "&", "MMO", ")", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFL", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "LLT", "p0", "=", "LLT", "::", "pointer", "(", "0", ",", "32", ")", ";", "LLT", "s32", "=", "LLT", "::", "scalar", "(", "32", ")", ";", "auto", "SPReg", "=", "MIRBuilder", ".", "buildCopy", "(", "p0", ",", "Register", "(", "Mips", "::", "SP", ")", ")", ";", "unsigned", "Offset", "=", "VA", ".", "getLocMemOffset", "(", ")", ";", "auto", "OffsetReg", "=", "MIRBuilder", ".", "buildConstant", "(", "s32", ",", "Offset", ")", ";", "auto", "AddrReg", "=", "MIRBuilder", ".", "buildPtrAdd", "(", "p0", ",", "SPReg", ",", "OffsetReg", ")", ";", "MachinePointerInfo", "MPO", "=", "MachinePointerInfo", "::", "getStack", "(", "MIRBuilder", ".", "getMF", "(", ")", ",", "Offset", ")", ";", "unsigned", "Size", "=", "alignTo", "(", "VA", ".", "getValVT", "(", ")", ".", "getSizeInBits", "(", ")", ",", "8", ")", "/", "8", ";", "Align", "Alignment", "=", "commonAlignment", "(", "TFL", "->", "getStackAlign", "(", ")", ",", "Offset", ")", ";", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MPO", ",", "MachineMemOperand", "::", "MOStore", ",", "Size", ",", "Alignment", ")", ";", "return", "AddrReg", ".", "getReg", "(", "0", ")", ";", "}", ""], "natrual_language": ["Materialize", "a", "VReg", "containing", "the", "address", "of", "the", "specified", "stack-based", "object", "."], "TS_V_token": ["Mips", "0", "32", "32", "Mips::SP", "8", "8", "0"], "File": "MipsCallLowering25", "Func": "getStackAddress", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11882, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AddressTypePromotion", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "if", "(", "F", ".", "isDeclaration", "(", ")", ")", "return", "false", ";", "Func", "=", "&", "F", ";", "ConsideredSExtType", "=", "Type", "::", "getInt64Ty", "(", "Func", "->", "getContext", "(", ")", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"*** \"", "<<", "getPassName", "(", ")", "<<", "\": \"", "<<", "Func", "->", "getName", "(", ")", "<<", "'\\n'", ")", ";", "Instructions", "SExtInsts", ";", "analyzeSExtension", "(", "SExtInsts", ")", ";", "return", "propagateSignExtension", "(", "SExtInsts", ")", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["AArch64", "AArch64", "\"*** \"", "\": \""], "File": "AArch64AddressTypePromotion2", "Func": "runOnFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11883, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "shift_insns_rtx", "(", "rtx", "insn", ")", "{", "rtx", "set_src", "=", "SET_SRC", "(", "XVECEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ",", "0", ")", ")", ";", "int", "shift_count", "=", "INTVAL", "(", "XEXP", "(", "set_src", ",", "1", ")", ")", ";", "enum", "rtx_code", "shift_code", "=", "GET_CODE", "(", "set_src", ")", ";", "switch", "(", "shift_code", ")", "{", "case", "ASHIFTRT", ":", "return", "ashiftrt_insns", "[", "shift_count", "]", ";", "case", "LSHIFTRT", ":", "case", "ASHIFT", ":", "return", "shift_insns", "[", "shift_count", "]", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["This", "is", "used", "in", "length", "attributes", "in", "sh.md", "to", "help", "compute", "the", "length", "of", "arbitrary", "constant", "shift", "instructions", "."], "TS_V_token": ["sh", "0", "0", "1"], "File": "sh3", "Func": "shift_insns_rtx", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11884, "Length": 81, "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", "(", ")", "&&", "!", "PPCSubTarget", ".", "isPPC64", "(", ")", ")", "return", "LowerCall_32SVR4", "(", "Chain", ",", "Callee", ",", "CallConv", ",", "isVarArg", ",", "isTailCall", ",", "Outs", ",", "OutVals", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";", "return", "LowerCall_Darwin_Or_64SVR4", "(", "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": "PPCISelLowering15", "Func": "LowerCall", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11885, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "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": ["X86", "X86"], "File": "X86InstrInfo87", "Func": "isFunctionSafeToOutlineFrom", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11886, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsSEFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "MipsSEInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "MipsSEInstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "int64_t", "Amount", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "Mips", "::", "ADJCALLSTACKDOWN", ")", "Amount", "=", "-", "Amount", ";", "unsigned", "SP", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "SP_64", ":", "Mips", "::", "SP", ";", "TII", ".", "adjustStackPtr", "(", "SP", ",", "Amount", ",", "MBB", ",", "I", ")", ";", "}", "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": ["Mips", "Mips", "Mips", "Mips", "0", "Mips::ADJCALLSTACKDOWN", "Mips::SP_64", "Mips::SP"], "File": "MipsSEFrameLowering25", "Func": "eliminateCallFramePseudoInstr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11887, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "int", "sse_store_index", "(", "machine_mode", "mode", ")", "{", "if", "(", "mode", "==", "E_HFmode", ")", "mode", "=", "E_SFmode", ";", "switch", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", "{", "case", "4", ":", "return", "0", ";", "case", "8", ":", "return", "1", ";", "case", "16", ":", "return", "2", ";", "case", "32", ":", "return", "3", ";", "case", "64", ":", "return", "4", ";", "default", ":", "return", "-", "1", ";", "}", "}", ""], "natrual_language": ["Return", "index", "of", "MODE", "in", "the", "sse", "load/store", "tables", "."], "TS_V_token": ["i386", "4", "0", "8", "1", "16", "2", "32", "3", "64", "4", "1"], "File": "i386", "Func": "sse_store_index", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11888, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "FISC", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["FISC", "FISC::NumTargetFixupKinds"], "File": "FISCAsmBackend", "Func": "getNumFixupKinds", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11889, "Length": 13, "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", "::", "EXTRACT_VECTOR_ELT", ":", "return", "PerformEXTRACT_VECTOR_ELTCombine", "(", "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", "::", "OR", ":", "return", "PerformOrCombine", "(", "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", ")", ";", "case", "ISD", "::", "ZERO_EXTEND", ":", "return", "PerformZExtCombine", "(", "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::EXTRACT_VECTOR_ELT", "ISD::SELECT", "X86ISD::CMOV", "ISD::MUL", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::OR", "ISD::STORE", "X86ISD::FXOR", "X86ISD::FOR", "X86ISD::FAND", "X86ISD::BT", "X86ISD::VZEXT_MOVL", "ISD::MEMBARRIER", "ISD::ZERO_EXTEND"], "File": "X86ISelLowering21", "Func": "PerformDAGCombine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11890, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "expandPostRAPseudo", "(", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "LOAD_STACK_GUARD", ")", "{", "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", ";", "Register", "DstRegS", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "Register", "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", "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": "ARMBaseInstrInfo128", "Func": "expandPostRAPseudo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11891, "Length": 410, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "IndirectTlsSegRefs", "=", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"indirect-tls-seg-refs\"", ")", ";", "OptForSize", "=", "MF", ".", "getFunction", "(", ")", ".", "optForSize", "(", ")", ";", "OptForMinSize", "=", "MF", ".", "getFunction", "(", ")", ".", "optForMinSize", "(", ")", ";", "assert", "(", "(", "!", "OptForMinSize", "||", "OptForSize", ")", "&&", "\"OptForMinSize implies OptForSize\"", ")", ";", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "\"indirect-tls-seg-refs\"", "\"OptForMinSize implies OptForSize\""], "File": "X86ISelDAGToDAG133", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11892, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86RegisterInfo", "::", "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", "(", "Is64Bit", "?", "X86", "::", "SUB64ri32", ":", "X86", "::", "SUB32ri", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Old", "->", "getOpcode", "(", ")", "==", "getCallFrameDestroyOpcode", "(", ")", ")", ";", "uint64_t", "CalleeAmt", "=", "Old", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "Amount", "-=", "CalleeAmt", ";", "if", "(", "Amount", ")", "{", "unsigned", "Opc", "=", "(", "Amount", "<", "128", ")", "?", "(", "Is64Bit", "?", "X86", "::", "ADD64ri8", ":", "X86", "::", "ADD32ri8", ")", ":", "(", "Is64Bit", "?", "X86", "::", "ADD64ri32", ":", "X86", "::", "ADD32ri", ")", ";", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "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", "(", ")", ")", "{", "unsigned", "Opc", "=", "(", "CalleeAmt", "<", "128", ")", "?", "(", "Is64Bit", "?", "X86", "::", "SUB64ri8", ":", "X86", "::", "SUB32ri8", ")", ":", "(", "Is64Bit", "?", "X86", "::", "SUB64ri32", ":", "X86", "::", "SUB32ri", ")", ";", "MachineInstr", "*", "Old", "=", "I", ";", "MachineInstr", "*", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "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": ["X86", "X86", "0", "0", "1", "0", "X86::SUB64ri32", "X86::SUB32ri", "1", "128", "X86::ADD64ri8", "X86::ADD32ri8", "X86::ADD64ri32", "X86::ADD32ri", "3", "1", "128", "X86::SUB64ri8", "X86::SUB32ri8", "X86::SUB64ri32", "X86::SUB32ri", "3"], "File": "X86RegisterInfo33", "Func": "eliminateCallFramePseudoInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11893, "Length": 397, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SSEDomainFixPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "mf", ")", "{", "MF", "=", "&", "mf", ";", "TII", "=", "static_cast", "<", "const", "X86InstrInfo", "*", ">", "(", "MF", "->", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "MF", "->", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MBB", "=", "0", ";", "LiveRegs", "=", "0", ";", "Distance", "=", "0", ";", "assert", "(", "NumRegs", "==", "X86", "::", "VR128RegClass", ".", "getNumRegs", "(", ")", "&&", "\"Bad regclass\"", ")", ";", "bool", "anyregs", "=", "false", ";", "for", "(", "TargetRegisterClass", "::", "const_iterator", "I", "=", "X86", "::", "VR128RegClass", ".", "begin", "(", ")", ",", "E", "=", "X86", "::", "VR128RegClass", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "if", "(", "MF", "->", "getRegInfo", "(", ")", ".", "isPhysRegUsed", "(", "*", "I", ")", ")", "{", "anyregs", "=", "true", ";", "break", ";", "}", "if", "(", "!", "anyregs", ")", "return", "false", ";", "MachineBasicBlock", "*", "Entry", "=", "MF", "->", "begin", "(", ")", ";", "SmallPtrSet", "<", "MachineBasicBlock", "*", ",", "16", ">", "Visited", ";", "for", "(", "df_ext_iterator", "<", "MachineBasicBlock", "*", ",", "SmallPtrSet", "<", "MachineBasicBlock", "*", ",", "16", ">", ">", "DFI", "=", "df_ext_begin", "(", "Entry", ",", "Visited", ")", ",", "DFE", "=", "df_ext_end", "(", "Entry", ",", "Visited", ")", ";", "DFI", "!=", "DFE", ";", "++", "DFI", ")", "{", "MBB", "=", "*", "DFI", ";", "enterBasicBlock", "(", ")", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", "->", "begin", "(", ")", ",", "E", "=", "MBB", "->", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "MachineInstr", "*", "mi", "=", "I", ";", "if", "(", "mi", "->", "isDebugValue", "(", ")", ")", "continue", ";", "++", "Distance", ";", "std", "::", "pair", "<", "uint16_t", ",", "uint16_t", ">", "domp", "=", "TII", "->", "GetSSEDomain", "(", "mi", ")", ";", "if", "(", "domp", ".", "first", ")", "if", "(", "domp", ".", "second", ")", "visitSoftInstr", "(", "mi", ",", "domp", ".", "second", ")", ";", "else", "visitHardInstr", "(", "mi", ",", "domp", ".", "first", ")", ";", "else", "if", "(", "LiveRegs", ")", "visitGenericInstr", "(", "mi", ")", ";", "}", "if", "(", "LiveRegs", ")", "LiveOuts", ".", "insert", "(", "std", "::", "make_pair", "(", "MBB", ",", "LiveRegs", ")", ")", ";", "LiveRegs", "=", "0", ";", "}", "for", "(", "LiveOutMap", "::", "const_iterator", "i", "=", "LiveOuts", ".", "begin", "(", ")", ",", "e", "=", "LiveOuts", ".", "end", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "delete", "[", "]", "i", "->", "second", ";", "LiveOuts", ".", "clear", "(", ")", ";", "Avail", ".", "clear", "(", ")", ";", "Allocator", ".", "DestroyAll", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "0", "0", "0", "X86::VR128RegClass", "\"Bad regclass\"", "X86::VR128RegClass", "X86::VR128RegClass", "16", "16", "0"], "File": "SSEDomainFix", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11894, "Length": 397, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "AArch64TargetLowering", "::", "LowerXConstraint", "(", "EVT", "ConstraintVT", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "hasFPARMv8", "(", ")", ")", "return", "\"r\"", ";", "if", "(", "ConstraintVT", ".", "isFloatingPoint", "(", ")", ")", "return", "\"w\"", ";", "if", "(", "ConstraintVT", ".", "isVector", "(", ")", "&&", "(", "ConstraintVT", ".", "getSizeInBits", "(", ")", "==", "64", "||", "ConstraintVT", ".", "getSizeInBits", "(", ")", "==", "128", ")", ")", "return", "\"w\"", ";", "return", "\"r\"", ";", "}", ""], "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": ["AArch64", "AArch64", "\"r\"", "\"w\"", "64", "128", "\"w\"", "\"r\""], "File": "AArch64ISelLowering (2)", "Func": "LowerXConstraint", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11895, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb2InstrInfo", "::", "ReplaceTailWithBranchTo", "(", "MachineBasicBlock", "::", "iterator", "Tail", ",", "MachineBasicBlock", "*", "NewDest", ")", "const", "{", "MachineBasicBlock", "*", "MBB", "=", "Tail", "->", "getParent", "(", ")", ";", "ARMFunctionInfo", "*", "AFI", "=", "MBB", "->", "getParent", "(", ")", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "if", "(", "!", "AFI", "->", "hasITBlocks", "(", ")", ")", "{", "TargetInstrInfo", "::", "ReplaceTailWithBranchTo", "(", "Tail", ",", "NewDest", ")", ";", "return", ";", "}", "unsigned", "PredReg", "=", "0", ";", "ARMCC", "::", "CondCodes", "CC", "=", "getInstrPredicate", "(", "Tail", ",", "PredReg", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "Tail", ";", "if", "(", "CC", "!=", "ARMCC", "::", "AL", ")", "--", "MBBI", ";", "TargetInstrInfo", "::", "ReplaceTailWithBranchTo", "(", "Tail", ",", "NewDest", ")", ";", "if", "(", "CC", "!=", "ARMCC", "::", "AL", ")", "{", "MachineBasicBlock", "::", "iterator", "E", "=", "MBB", "->", "begin", "(", ")", ";", "unsigned", "Count", "=", "4", ";", "while", "(", "Count", "&&", "MBBI", "!=", "E", ")", "{", "if", "(", "MBBI", "->", "isDebugValue", "(", ")", ")", "{", "--", "MBBI", ";", "continue", ";", "}", "if", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2IT", ")", "{", "unsigned", "Mask", "=", "MBBI", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "Count", "==", "4", ")", "MBBI", "->", "eraseFromParent", "(", ")", ";", "else", "{", "unsigned", "MaskOn", "=", "1", "<<", "Count", ";", "unsigned", "MaskOff", "=", "~", "(", "MaskOn", "-", "1", ")", ";", "MBBI", "->", "getOperand", "(", "1", ")", ".", "setImm", "(", "(", "Mask", "&", "MaskOff", ")", "|", "MaskOn", ")", ";", "}", "return", ";", "}", "--", "MBBI", ";", "--", "Count", ";", "}", "}", "}", ""], "natrual_language": ["Delete", "the", "instruction", "OldInst", "and", "everything", "after", "it", ",", "replacing", "it", "with", "an", "unconditional", "branch", "to", "NewDest", "."], "TS_V_token": ["ARM", "ARM", "ARM", "0", "ARMCC::CondCodes", "ARMCC::AL", "ARMCC::AL", "4", "ARM::t2IT", "1", "4", "1", "1", "1"], "File": "Thumb2InstrInfo (2)", "Func": "ReplaceTailWithBranchTo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11896, "Length": 247, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LoongArchInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "DebugLoc", "&", "DL", ",", "MCRegister", "DstReg", ",", "MCRegister", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "if", "(", "LoongArch", "::", "GPRRegClass", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "LoongArch", "::", "OR", ")", ",", "DstReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ".", "addReg", "(", "LoongArch", "::", "R0", ")", ";", "return", ";", "}", "llvm_unreachable", "(", "\"LoongArch didn't implement copyPhysReg\"", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["LoongArch", "LoongArch", "LoongArch::GPRRegClass", "LoongArch::OR", "LoongArch::R0", "\"LoongArch didn't implement copyPhysReg\""], "File": "LoongArchInstrInfo1", "Func": "copyPhysReg", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11897, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "aarch64_mangle_type", "(", "const_tree", "type", ")", "{", "if", "(", "lang_hooks", ".", "types_compatible_p", "(", "CONST_CAST_TREE", "(", "type", ")", ",", "va_list_type", ")", ")", "return", "\"St9__va_list\"", ";", "if", "(", "TREE_CODE", "(", "type", ")", "==", "REAL_TYPE", "&&", "TYPE_PRECISION", "(", "type", ")", "==", "16", ")", "{", "if", "(", "TYPE_MODE", "(", "type", ")", "==", "BFmode", ")", "return", "\"u6__bf16\"", ";", "else", "return", "\"Dh\"", ";", "}", "if", "(", "TYPE_NAME", "(", "type", ")", "!=", "NULL", ")", "{", "const", "char", "*", "res", ";", "if", "(", "(", "res", "=", "aarch64_general_mangle_builtin_type", "(", "type", ")", ")", "||", "(", "res", "=", "aarch64_sve", "::", "mangle_builtin_type", "(", "type", ")", ")", ")", "return", "res", ";", "}", "return", "NULL", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MANGLE_TYPE", "."], "TS_V_token": ["aarch64", "\"St9__va_list\"", "16", "\"u6__bf16\"", "\"Dh\"", "aarch64_sve::mangle_builtin_type"], "File": "aarch64", "Func": "aarch64_mangle_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11898, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "LiveRange", "(", "unsigned", "virtReg", ")", ":", "LiveRange", "(", ")", "{", "virtRegs", ".", "insert", "(", "virtReg", ")", ";", "}", ""], "natrual_language": ["Constructs", "a", "new", "LiveRange", "object", "by", "copying", "segments", "and", "valnos", "from", "another", "LiveRange", "."], "TS_V_token": ["X86"], "File": "regAlloc", "Func": "LiveRange", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11899, "Length": 18, "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_vpermi2_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": "i3865", "Func": "ix86_expand_vec_perm_const_1", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11900, "Length": 256, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMHazardRecognizer", "::", "Reset", "(", ")", "{", "LastMI", "=", "0", ";", "FpMLxStalls", "=", "0", ";", "ScoreboardHazardRecognizer", "::", "Reset", "(", ")", ";", "}", ""], "natrual_language": ["Reset", "the", "unwind", "opcode", "assembler", "."], "TS_V_token": ["ARM", "ARM", "0", "0"], "File": "ARMHazardRecognizer16", "Func": "Reset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11901, "Length": 22, "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", ":", "case", "CallingConv", "::", "Swift", ":", "break", ";", "}", "for", "(", "const", "Argument", "&", "Arg", ":", "F", "->", "args", "(", ")", ")", "{", "if", "(", "Arg", ".", "getArgNo", "(", ")", ">=", "4", ")", "return", "false", ";", "if", "(", "Arg", ".", "hasAttribute", "(", "Attribute", "::", "InReg", ")", "||", "Arg", ".", "hasAttribute", "(", "Attribute", "::", "StructRet", ")", "||", "Arg", ".", "hasAttribute", "(", "Attribute", "::", "SwiftSelf", ")", "||", "Arg", ".", "hasAttribute", "(", "Attribute", "::", "SwiftError", ")", "||", "Arg", ".", "hasAttribute", "(", "Attribute", "::", "ByVal", ")", ")", "return", "false", ";", "Type", "*", "ArgTy", "=", "Arg", ".", "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", "MCPhysReg", "GPRArgRegs", "[", "]", "=", "{", "ARM", "::", "R0", ",", "ARM", "::", "R1", ",", "ARM", "::", "R2", ",", "ARM", "::", "R3", "}", ";", "const", "TargetRegisterClass", "*", "RC", "=", "&", "ARM", "::", "rGPRRegClass", ";", "for", "(", "const", "Argument", "&", "Arg", ":", "F", "->", "args", "(", ")", ")", "{", "unsigned", "ArgNo", "=", "Arg", ".", "getArgNo", "(", ")", ";", "unsigned", "SrcReg", "=", "GPRArgRegs", "[", "ArgNo", "]", ";", "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", "(", "&", "Arg", ",", "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", "4", "MVT::i8", "MVT::i16", "MVT::i32", "ARM::R0", "ARM::R1", "ARM::R2", "ARM::R3", "ARM::rGPRRegClass"], "File": "ARMFastISel (2)3", "Func": "fastLowerArguments", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11902, "Length": 396, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LC3bAsmPrinter", "::", "emitFrameDirective", "(", ")", "{", "}", ""], "natrual_language": ["Frame", "Directive", "."], "TS_V_token": ["LC3b", "LC3b"], "File": "LC3bAsmPrinter", "Func": "emitFrameDirective", "Target": "LC3b", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11903, "Length": 8, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_test_dumping_memory_blockage", "(", ")", "{", "set_new_first_and_last_insn", "(", "NULL", ",", "NULL", ")", ";", "rtx", "pat", "=", "gen_memory_blockage", "(", ")", ";", "rtx_reuse_manager", "r", ";", "r", ".", "preprocess", "(", "pat", ")", ";", "if", "(", "Pmode", "==", "DImode", ")", "ASSERT_RTL_DUMP_EQ_WITH_REUSE", "(", "\"(cinsn 1 (set (mem/v:BLK (0|scratch:DI) [0 A8])\\n\"", "\" (unspec:BLK [\\n\"", "\" (mem/v:BLK (reuse_rtx 0) [0 A8])\\n\"", "\" ] UNSPEC_MEMORY_BLOCKAGE)))\\n\"", ",", "pat", ",", "&", "r", ")", ";", "}", ""], "natrual_language": ["Test", "dumping", "an", "insn", "with", "repeated", "references", "to", "the", "same", "SCRATCH", ",", "to", "verify", "the", "rtx_reuse", "code", "."], "TS_V_token": ["i386", "\"(cinsn 1 (set (mem/v:BLK (0|scratch:DI) [0 A8])\\n\"", "\" (unspec:BLK [\\n\"", "\" (mem/v:BLK (reuse_rtx 0) [0 A8])\\n\"", "\" ] UNSPEC_MEMORY_BLOCKAGE)))\\n\""], "File": "i386", "Func": "ix86_test_dumping_memory_blockage", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11904, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "get_probe_interval", "(", "void", ")", "{", "if", "(", "flag_stack_clash_protection", ")", "return", "(", "HOST_WIDE_INT_1U", "<<", "PARAM_VALUE", "(", "PARAM_STACK_CLASH_PROTECTION_PROBE_INTERVAL", ")", ")", ";", "else", "return", "(", "HOST_WIDE_INT_1U", "<<", "STACK_CHECK_PROBE_INTERVAL_EXP", ")", ";", "}", ""], "natrual_language": ["Return", "the", "probing", "interval", "for", "-fstack-clash-protection", "."], "TS_V_token": ["i386"], "File": "i3867", "Func": "get_probe_interval", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11905, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "postOffset", "(", "unsigned", "LogAlign", "=", "0", ")", "const", "{", "unsigned", "PO", "=", "Offset", "+", "Size", ";", "unsigned", "LA", "=", "std", "::", "max", "(", "unsigned", "(", "PostAlign", ")", ",", "LogAlign", ")", ";", "if", "(", "!", "LA", ")", "return", "PO", ";", "return", "PO", "+", "UnknownPadding", "(", "LA", ",", "internalKnownBits", "(", ")", ")", ";", "}", ""], "natrual_language": ["Compute", "the", "offset", "immediately", "following", "this", "block", "."], "TS_V_token": ["ARM", "0"], "File": "ARMBasicBlockInfo", "Func": "postOffset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11906, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "VariantKind", "getKind", "(", ")", "const", "{", "return", "Kind", ";", "}", ""], "natrual_language": ["Returns", "the", "Kind", "of", "lane", "offset", "."], "TS_V_token": ["PowerPC"], "File": "PPCMCExpr", "Func": "getKind", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11907, "Length": 10, "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": 11908, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "X86Subtarget", "::", "ClassifyGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "const", "TargetMachine", "&", "TM", ")", "const", "{", "if", "(", "GV", "->", "hasDLLImportStorageClass", "(", ")", ")", "return", "X86II", "::", "MO_DLLIMPORT", ";", "bool", "isDecl", "=", "GV", "->", "isDeclarationForLinker", "(", ")", ";", "if", "(", "isPICStyleRIPRel", "(", ")", ")", "{", "if", "(", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "if", "(", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "GV", "->", "hasDefaultVisibility", "(", ")", "&&", "(", "isDecl", "||", "GV", "->", "isWeakForLinker", "(", ")", ")", ")", "return", "X86II", "::", "MO_GOTPCREL", ";", "}", "else", "if", "(", "!", "isTargetWin64", "(", ")", ")", "{", "assert", "(", "isTargetELF", "(", ")", "&&", "\"Unknown rip-relative target\"", ")", ";", "if", "(", "!", "GV", "->", "hasLocalLinkage", "(", ")", "&&", "GV", "->", "hasDefaultVisibility", "(", ")", ")", "return", "X86II", "::", "MO_GOTPCREL", ";", "}", "return", "X86II", "::", "MO_NO_FLAG", ";", "}", "if", "(", "isPICStyleGOT", "(", ")", ")", "{", "if", "(", "GV", "->", "hasLocalLinkage", "(", ")", "||", "GV", "->", "hasHiddenVisibility", "(", ")", ")", "return", "X86II", "::", "MO_GOTOFF", ";", "return", "X86II", "::", "MO_GOT", ";", "}", "if", "(", "isPICStyleStubPIC", "(", ")", ")", "{", "if", "(", "!", "isDecl", "&&", "!", "GV", "->", "isWeakForLinker", "(", ")", ")", "return", "X86II", "::", "MO_PIC_BASE_OFFSET", ";", "if", "(", "!", "GV", "->", "hasHiddenVisibility", "(", ")", ")", "return", "X86II", "::", "MO_DARWIN_NONLAZY_PIC_BASE", ";", "if", "(", "isDecl", "||", "GV", "->", "hasCommonLinkage", "(", ")", ")", "{", "return", "X86II", "::", "MO_DARWIN_HIDDEN_NONLAZY_PIC_BASE", ";", "}", "return", "X86II", "::", "MO_PIC_BASE_OFFSET", ";", "}", "if", "(", "isPICStyleStubNoDynamic", "(", ")", ")", "{", "if", "(", "!", "isDecl", "&&", "!", "GV", "->", "isWeakForLinker", "(", ")", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "if", "(", "!", "GV", "->", "hasHiddenVisibility", "(", ")", ")", "return", "X86II", "::", "MO_DARWIN_NONLAZY", ";", "return", "X86II", "::", "MO_NO_FLAG", ";", "}", "return", "X86II", "::", "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": ["X86", "X86", "X86II::MO_DLLIMPORT", "X86II::MO_NO_FLAG", "X86II::MO_GOTPCREL", "\"Unknown rip-relative target\"", "X86II::MO_GOTPCREL", "X86II::MO_NO_FLAG", "X86II::MO_GOTOFF", "X86II::MO_GOT", "X86II::MO_PIC_BASE_OFFSET", "X86II::MO_DARWIN_NONLAZY_PIC_BASE", "X86II::MO_DARWIN_HIDDEN_NONLAZY_PIC_BASE", "X86II::MO_PIC_BASE_OFFSET", "X86II::MO_NO_FLAG", "X86II::MO_DARWIN_NONLAZY", "X86II::MO_NO_FLAG", "X86II::MO_NO_FLAG"], "File": "X86Subtarget (2)1", "Func": "ClassifyGlobalReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11909, "Length": 283, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "bit_count", "(", "unsigned", "HOST_WIDE_INT", "value", ")", "{", "unsigned", "count", "=", "0", ";", "while", "(", "value", ")", "{", "count", "++", ";", "value", "&=", "value", "-", "1", ";", "}", "return", "count", ";", "}", ""], "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": ["aarch64", "0", "1"], "File": "aarch642", "Func": "bit_count", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11910, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "xstormy16_return_in_memory", "(", "const_tree", "type", ",", "const_tree", "fntype", "ATTRIBUTE_UNUSED", ")", "{", "const", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "return", "(", "size", "==", "-", "1", "||", "size", ">", "UNITS_PER_WORD", "*", "NUM_ARGUMENT_REGISTERS", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_RETURN_IN_MEMORY", "."], "TS_V_token": ["stormy16", "1"], "File": "stormy16", "Func": "xstormy16_return_in_memory", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11911, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "unsigned", "*", "ARMBaseRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "bool", "ghcCall", "=", "false", ";", "if", "(", "MF", ")", "{", "const", "Function", "*", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "ghcCall", "=", "(", "F", "?", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "GHC", ":", "false", ")", ";", "}", "static", "const", "unsigned", "CalleeSavedRegs", "[", "]", "=", "{", "ARM", "::", "LR", ",", "ARM", "::", "R11", ",", "ARM", "::", "R10", ",", "ARM", "::", "R9", ",", "ARM", "::", "R8", ",", "ARM", "::", "R7", ",", "ARM", "::", "R6", ",", "ARM", "::", "R5", ",", "ARM", "::", "R4", ",", "ARM", "::", "D15", ",", "ARM", "::", "D14", ",", "ARM", "::", "D13", ",", "ARM", "::", "D12", ",", "ARM", "::", "D11", ",", "ARM", "::", "D10", ",", "ARM", "::", "D9", ",", "ARM", "::", "D8", ",", "0", "}", ";", "static", "const", "unsigned", "DarwinCalleeSavedRegs", "[", "]", "=", "{", "ARM", "::", "LR", ",", "ARM", "::", "R7", ",", "ARM", "::", "R6", ",", "ARM", "::", "R5", ",", "ARM", "::", "R4", ",", "ARM", "::", "R11", ",", "ARM", "::", "R10", ",", "ARM", "::", "R8", ",", "ARM", "::", "D15", ",", "ARM", "::", "D14", ",", "ARM", "::", "D13", ",", "ARM", "::", "D12", ",", "ARM", "::", "D11", ",", "ARM", "::", "D10", ",", "ARM", "::", "D9", ",", "ARM", "::", "D8", ",", "0", "}", ";", "static", "const", "unsigned", "GhcCalleeSavedRegs", "[", "]", "=", "{", "0", "}", ";", "return", "ghcCall", "?", "GhcCalleeSavedRegs", ":", "STI", ".", "isTargetDarwin", "(", ")", "?", "DarwinCalleeSavedRegs", ":", "CalleeSavedRegs", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["ARM", "ARM", "ARM::LR", "ARM::R11", "ARM::R10", "ARM::R9", "ARM::R8", "ARM::R7", "ARM::R6", "ARM::R5", "ARM::R4", "ARM::D15", "ARM::D14", "ARM::D13", "ARM::D12", "ARM::D11", "ARM::D10", "ARM::D9", "ARM::D8", "0", "ARM::LR", "ARM::R7", "ARM::R6", "ARM::R5", "ARM::R4", "ARM::R11", "ARM::R10", "ARM::R8", "ARM::D15", "ARM::D14", "ARM::D13", "ARM::D12", "ARM::D11", "ARM::D10", "ARM::D9", "ARM::D8", "0", "0"], "File": "ARMBaseRegisterInfo76", "Func": "getCalleeSavedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11912, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_pass_by_reference", "(", "cumulative_args_t", ",", "const", "function_arg_info", "&", "arg", ")", "{", "tree", "type", "=", "arg", ".", "type", ";", "machine_mode", "mode", "=", "arg", ".", "mode", ";", "if", "(", "TARGET_ARCH32", ")", "return", "(", "(", "type", "&&", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "||", "VECTOR_FLOAT_TYPE_P", "(", "type", ")", ")", ")", "||", "mode", "==", "SCmode", "||", "GET_MODE_SIZE", "(", "mode", ")", ">", "8", "||", "(", "type", "&&", "VECTOR_TYPE_P", "(", "type", ")", "&&", "(", "unsigned", "HOST_WIDE_INT", ")", "int_size_in_bytes", "(", "type", ")", ">", "8", ")", ")", ";", "else", "return", "(", "(", "type", "&&", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "||", "VECTOR_TYPE_P", "(", "type", ")", ")", "&&", "(", "unsigned", "HOST_WIDE_INT", ")", "int_size_in_bytes", "(", "type", ")", ">", "16", ")", "||", "GET_MODE_SIZE", "(", "mode", ")", ">", "16", ")", ";", "}", ""], "natrual_language": ["Handle", "the", "TARGET_PASS_BY_REFERENCE", "target", "hook", ".", "Specify", "whether", "to", "pass", "the", "argument", "by", "reference", "."], "TS_V_token": ["sparc", "8", "8", "16", "16"], "File": "sparc", "Func": "sparc_pass_by_reference", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11913, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ELFTeeRISCAsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ")", "const", "{", "unsigned", "Size", "=", "getFixupKindSize", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "assert", "(", "Fixup", ".", "getOffset", "(", ")", "+", "Size", "<=", "DataSize", "&&", "\"Invalid fixup offset!\"", ")", ";", "char", "*", "data", "=", "Data", "+", "Fixup", ".", "getOffset", "(", ")", ";", "switch", "(", "Size", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Cannot fixup unknown value.\"", ")", ";", "case", "1", ":", "llvm_unreachable", "(", "\"Cannot fixup 1 byte value.\"", ")", ";", "case", "8", ":", "llvm_unreachable", "(", "\"Cannot fixup 8 byte value.\"", ")", ";", "case", "4", ":", "case", "2", ":", "llvm_unreachable", "(", "\"Write Code here to fixup\\n\"", ")", ";", "}", "}", ""], "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": ["TeeRISC", "TeeRISC", "\"Invalid fixup offset!\"", "\"Cannot fixup unknown value.\"", "1", "\"Cannot fixup 1 byte value.\"", "8", "\"Cannot fixup 8 byte value.\"", "4", "2", "\"Write Code here to fixup\\n\""], "File": "TeeRISCAsmBackend", "Func": "applyFixup", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11914, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", "const", "{", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "TargetOffset", "=", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetOffset", ";", "unsigned", "NumBytes", "=", "(", "TargetOffset", "+", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "+", "7", ")", "/", "8", ";", "unsigned", "FullSize", ";", "switch", "(", "(", "unsigned", ")", "Kind", ")", "{", "case", "FK_Data_2", ":", "case", "Mips", "::", "fixup_Mips_16", ":", "FullSize", "=", "2", ";", "break", ";", "case", "FK_Data_8", ":", "case", "Mips", "::", "fixup_Mips_64", ":", "FullSize", "=", "8", ";", "break", ";", "case", "FK_Data_4", ":", "default", ":", "FullSize", "=", "4", ";", "break", ";", "}", "uint64_t", "CurVal", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittle", "?", "i", ":", "(", "FullSize", "-", "1", "-", "i", ")", ";", "CurVal", "|=", "(", "uint64_t", ")", "(", "(", "uint8_t", ")", "Data", "[", "Offset", "+", "Idx", "]", ")", "<<", "(", "i", "*", "8", ")", ";", "}", "uint64_t", "Mask", "=", "(", "(", "uint64_t", ")", "(", "-", "1", ")", ">>", "(", "64", "-", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", ")", ";", "CurVal", "|=", "(", "Value", "&", "Mask", ")", "<<", "TargetOffset", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittle", "?", "i", ":", "(", "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": ["Mips", "Mips", "7", "8", "Mips::fixup_Mips_16", "2", "Mips::fixup_Mips_64", "8", "4", "0", "0", "1", "8", "1", "64", "0", "1", "8", "0xff"], "File": "MipsAsmBackend30", "Func": "applyFixup", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11915, "Length": 287, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "size_t", "parallel_elements", "(", "rtx", "parallel_rtx", ")", "{", "parallel_rtx", "=", "extract_pattern_from_insn", "(", "parallel_rtx", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "parallel_rtx", ")", "==", "PARALLEL", ")", ";", "return", "XVECLEN", "(", "parallel_rtx", ",", "0", ")", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "elements", "in", "a", "parallel", "rtx", "."], "TS_V_token": ["nds32", "0"], "File": "nds32-utils", "Func": "parallel_elements", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11916, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "AArch64RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "assert", "(", "MF", "&&", "\"Invalid MachineFunction pointer.\"", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "GHC", ")", "return", "CSR_AArch64_NoRegs_SaveList", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AnyReg", ")", "return", "CSR_AArch64_AllRegs_SaveList", ";", "if", "(", "MF", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isTargetDarwin", "(", ")", ")", "return", "getDarwinCalleeSavedRegs", "(", "MF", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "CFGuard_Check", ")", "return", "CSR_Win_AArch64_CFGuard_Check_SaveList", ";", "if", "(", "MF", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isTargetWindows", "(", ")", ")", "return", "CSR_Win_AArch64_AAPCS_SaveList", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AArch64_VectorCall", ")", "return", "CSR_AArch64_AAVPCS_SaveList", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AArch64_SVE_VectorCall", ")", "return", "CSR_AArch64_SVE_AAPCS_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", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "Win64", ")", "return", "CSR_AArch64_AAPCS_X18_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": "AArch64RegisterInfo23", "Func": "getCalleeSavedRegs", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11917, "Length": 236, "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", "{", "unsigned", "Opc", ";", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "Mips", "::", "CPURegsRegisterClass", ")", "Opc", "=", "Mips", "::", "SW", ";", "else", "if", "(", "RC", "==", "Mips", "::", "FGR32RegisterClass", ")", "Opc", "=", "Mips", "::", "SWC1", ";", "else", "if", "(", "RC", "==", "Mips", "::", "AFGR64RegisterClass", ")", "Opc", "=", "Mips", "::", "SDC1", ";", "else", "assert", "(", "0", "&&", "\"Can't store this register to stack slot\"", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ")", ".", "addReg", "(", "SrcReg", ",", "false", ",", "false", ",", "isKill", ")", ".", "addImm", "(", "0", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["Mips", "Mips", "Mips::CPURegsRegisterClass", "Mips::SW", "Mips::FGR32RegisterClass", "Mips::SWC1", "Mips::AFGR64RegisterClass", "Mips::SDC1", "0", "\"Can't store this register to stack slot\"", "0"], "File": "MipsInstrInfo44", "Func": "storeRegToStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11918, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "const", "Function", "*", "Fn", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "!", "STI", ".", "is64Bit", "(", ")", "||", "!", "Fn", "->", "hasPersonalityFn", "(", ")", "||", "classifyEHPersonality", "(", "MF", ".", "getFunction", "(", ")", "->", "getPersonalityFn", "(", ")", ")", "!=", "EHPersonality", "::", "MSVC_CXX", ")", "return", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "int64_t", "MinFixedObjOffset", "=", "0", ";", "for", "(", "int", "I", "=", "MFI", "->", "getObjectIndexBegin", "(", ")", ";", "I", "<", "0", ";", "++", "I", ")", "MinFixedObjOffset", "=", "std", "::", "min", "(", "MinFixedObjOffset", ",", "MFI", "->", "getObjectOffset", "(", "I", ")", ")", ";", "int64_t", "UnwindHelpOffset", "=", "MinFixedObjOffset", "-", "SlotSize", ";", "int", "UnwindHelpFI", "=", "MFI", "->", "CreateFixedObject", "(", "SlotSize", ",", "UnwindHelpOffset", ",", "false", ")", ";", "MF", ".", "getMMI", "(", ")", ".", "getWinEHFuncInfo", "(", "Fn", ")", ".", "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", "0", "X86::MOV64mi32", "2"], "File": "X86FrameLowering81", "Func": "processFunctionBeforeFrameFinalized", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11919, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "check_pic", "(", "int", "i", ")", "{", "switch", "(", "flag_pic", ")", "{", "case", "1", ":", "gcc_assert", "(", "GET_CODE", "(", "recog_data", ".", "operand", "[", "i", "]", ")", "!=", "SYMBOL_REF", "&&", "(", "GET_CODE", "(", "recog_data", ".", "operand", "[", "i", "]", ")", "!=", "CONST", "||", "(", "GET_CODE", "(", "XEXP", "(", "recog_data", ".", "operand", "[", "i", "]", ",", "0", ")", ")", "==", "MINUS", "&&", "(", "XEXP", "(", "XEXP", "(", "recog_data", ".", "operand", "[", "i", "]", ",", "0", ")", ",", "0", ")", "==", "global_offset_table", ")", "&&", "(", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "recog_data", ".", "operand", "[", "i", "]", ",", "0", ")", ",", "1", ")", ")", "==", "CONST", ")", ")", ")", ")", ";", "case", "2", ":", "default", ":", "return", "1", ";", "}", "}", ""], "natrual_language": ["Ensure", "that", "we", "are", "not", "using", "patterns", "that", "are", "not", "OK", "with", "PIC", "."], "TS_V_token": ["sparc", "1", "0", "0", "0", "0", "1", "2", "1"], "File": "sparc3", "Func": "check_pic", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11920, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtl_opt_pass", "*", "make_pass_track_speculation", "(", "gcc", "::", "context", "*", "ctxt", ")", "{", "return", "new", "pass_track_speculation", "(", "ctxt", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "pass", "instance", "."], "TS_V_token": ["aarch64"], "File": "aarch64-speculation", "Func": "make_pass_track_speculation", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11921, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "postKnownBits", "(", "unsigned", "LogAlign", "=", "0", ")", "const", "{", "return", "std", "::", "max", "(", "LogAlign", ",", "internalKnownBits", "(", ")", ")", ";", "}", ""], "natrual_language": ["Compute", "the", "number", "of", "known", "low", "bits", "of", "postOffset", "."], "TS_V_token": ["AArch64", "0"], "File": "AArch64BranchFixupPass1", "Func": "postKnownBits", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11922, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "load_lr_save", "(", "int", "regno", ",", "rtx", "frame_reg_rtx", ",", "int", "offset", ")", "{", "rtx", "mem", "=", "gen_frame_mem_offset", "(", "Pmode", ",", "frame_reg_rtx", ",", "offset", ")", ";", "rtx", "reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "regno", ")", ";", "emit_move_insn", "(", "reg", ",", "mem", ")", ";", "}", ""], "natrual_language": ["Like", "cr", ",", "the", "move", "to", "lr", "instruction", "can", "be", "scheduled", "after", "the", "stack", "deallocation", ",", "but", "unlike", "cr", ",", "its", "stack", "frame", "save", "is", "still", "valid", ".", "So", "we", "only", "need", "to", "emit", "the", "cfa_restore", "on", "the", "correct", "instruction", "."], "TS_V_token": ["rs6000"], "File": "rs6000-logue", "Func": "load_lr_save", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11923, "Length": 44, "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", ":", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "return", "60", "-", "TFI", "->", "hasFP", "(", "MF", ")", ";", "}", "case", "Mips", "::", "DSPRRegClassID", ":", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "return", "28", "-", "TFI", "->", "hasFP", "(", "MF", ")", ";", "}", "case", "Mips", "::", "FGR32RegClassID", ":", "return", "64", ";", "case", "Mips", "::", "AFGR64RegClassID", ":", "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", "60", "Mips::DSPRRegClassID", "28", "Mips::FGR32RegClassID", "64", "Mips::AFGR64RegClassID", "32"], "File": "MipsRegisterInfo30", "Func": "getRegPressureLimit", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11924, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CSKYAsmBackend", "::", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "CSKY", "::", "JBR32", ":", "case", "CSKY", "::", "JBT32", ":", "case", "CSKY", "::", "JBF32", ":", "case", "CSKY", "::", "JBSR32", ":", "if", "(", "!", "STI", ".", "getFeatureBits", "(", ")", "[", "CSKY", "::", "Has2E3", "]", ")", "return", "false", ";", "return", "true", ";", "case", "CSKY", "::", "JBR16", ":", "case", "CSKY", "::", "JBT16", ":", "case", "CSKY", "::", "JBF16", ":", "case", "CSKY", "::", "LRW16", ":", "case", "CSKY", "::", "BR16", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Check", "whether", "the", "given", "instruction", "may", "need", "relaxation", "."], "TS_V_token": ["CSKY", "CSKY", "CSKY::JBR32", "CSKY::JBT32", "CSKY::JBF32", "CSKY::JBSR32", "CSKY::Has2E3", "CSKY::JBR16", "CSKY::JBT16", "CSKY::JBF16", "CSKY::LRW16", "CSKY::BR16"], "File": "CSKYAsmBackend", "Func": "mayNeedRelaxation", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11925, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "fold_build_vec_cmp", "(", "tree_code", "code", ",", "tree", "type", ",", "tree", "arg0", ",", "tree", "arg1", ")", "{", "tree", "cmp_type", "=", "truth_type_for", "(", "type", ")", ";", "tree", "zero_vec", "=", "build_zero_cst", "(", "type", ")", ";", "tree", "minus_one_vec", "=", "build_minus_one_cst", "(", "type", ")", ";", "tree", "cmp", "=", "fold_build2", "(", "code", ",", "cmp_type", ",", "arg0", ",", "arg1", ")", ";", "return", "fold_build3", "(", "VEC_COND_EXPR", ",", "type", ",", "cmp", ",", "minus_one_vec", ",", "zero_vec", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "handle", "the", "gimple", "folding", "of", "a", "vector", "compare", "operation", ".", "This", "sets", "up", "true/false", "vectors", ",", "and", "uses", "the", "VEC_COND_EXPR", "operation", ".", "CODE", "indicates", "which", "comparison", "is", "to", "be", "made", ".", "(", "EQ", ",", "GT", ",", "...", ")", ".", "TYPE", "indicates", "the", "type", "of", "the", "result", "."], "TS_V_token": ["rs6000"], "File": "rs6000-call", "Func": "fold_build_vec_cmp", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11926, "Length": 70, "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": 11927, "Length": 479, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMFrameLowering", "::", "assignCalleeSavedSpillSlots", "(", "MachineFunction", "&", "MF", ",", "const", "TargetRegisterInfo", "*", "TRI", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "if", "(", "STI", ".", "hasV8_1MMainlineOps", "(", ")", "&&", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", "->", "isCmseNSEntryFunction", "(", ")", ")", "{", "CSI", ".", "emplace_back", "(", "ARM", "::", "FPCXTNS", ")", ";", "CSI", ".", "back", "(", ")", ".", "setRestored", "(", "false", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "will", "assign", "callee", "saved", "gprs", "to", "volatile", "vector", "registers", "for", "prologue", "spills", "when", "applicable", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM::FPCXTNS"], "File": "ARMFrameLowering103", "Func": "assignCalleeSavedSpillSlots", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11928, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_expand_interleave", "(", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ",", "bool", "highp", ")", "{", "machine_mode", "vmode", "=", "GET_MODE", "(", "target", ")", ";", "unsigned", "i", ",", "high", ",", "nelt", "=", "GET_MODE_NUNITS", "(", "vmode", ")", ";", "vec_perm_builder", "perm", "(", "nelt", ",", "nelt", ",", "1", ")", ";", "high", "=", "(", "highp", "?", "0", ":", "nelt", "/", "2", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", "/", "2", ";", "i", "++", ")", "{", "perm", ".", "quick_push", "(", "i", "+", "high", ")", ";", "perm", ".", "quick_push", "(", "i", "+", "nelt", "+", "high", ")", ";", "}", "rs6000_do_expand_vec_perm", "(", "target", ",", "op0", ",", "op1", ",", "vmode", ",", "perm", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "vector", "interleave", "operation", "."], "TS_V_token": ["rs6000", "1", "0", "2", "0", "2"], "File": "rs6000", "Func": "rs6000_expand_interleave", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11929, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "nds32_16bit_address_type", "nds32_mem_format", "(", "rtx", "op", ")", "{", "machine_mode", "mode_test", ";", "int", "val", ";", "int", "regno", ";", "if", "(", "!", "TARGET_16_BIT", ")", "return", "ADDRESS_NOT_16BIT_FORMAT", ";", "mode_test", "=", "GET_MODE", "(", "op", ")", ";", "op", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "REG", "&&", "(", "mode_test", "==", "SImode", ")", ")", "return", "ADDRESS_REG", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "REG", "&&", "(", "REGNO", "(", "op", ")", "<", "R8_REGNUM", ")", ")", "return", "ADDRESS_LO_REG_IMM3U", ";", "if", "(", "(", "GET_CODE", "(", "op", ")", "==", "POST_INC", ")", "&&", "(", "mode_test", "==", "SImode", ")", ")", "{", "regno", "=", "REGNO", "(", "XEXP", "(", "op", ",", "0", ")", ")", ";", "if", "(", "regno", "<", "8", ")", "return", "ADDRESS_POST_INC_LO_REG_IMM3U", ";", "}", "if", "(", "(", "GET_CODE", "(", "op", ")", "==", "POST_MODIFY", ")", "&&", "(", "mode_test", "==", "SImode", ")", "&&", "(", "REG_P", "(", "XEXP", "(", "XEXP", "(", "op", ",", "1", ")", ",", "0", ")", ")", ")", "&&", "(", "CONST_INT_P", "(", "XEXP", "(", "XEXP", "(", "op", ",", "1", ")", ",", "1", ")", ")", ")", ")", "{", "regno", "=", "REGNO", "(", "XEXP", "(", "XEXP", "(", "op", ",", "1", ")", ",", "0", ")", ")", ";", "val", "=", "INTVAL", "(", "XEXP", "(", "XEXP", "(", "op", ",", "1", ")", ",", "1", ")", ")", ";", "if", "(", "regno", "<", "8", "&&", "val", "<", "32", ")", "return", "ADDRESS_POST_INC_LO_REG_IMM3U", ";", "}", "if", "(", "(", "GET_CODE", "(", "op", ")", "==", "PLUS", ")", "&&", "(", "GET_CODE", "(", "XEXP", "(", "op", ",", "0", ")", ")", "==", "REG", ")", "&&", "(", "GET_CODE", "(", "XEXP", "(", "op", ",", "1", ")", ")", "==", "CONST_INT", ")", ")", "{", "val", "=", "INTVAL", "(", "XEXP", "(", "op", ",", "1", ")", ")", ";", "regno", "=", "REGNO", "(", "XEXP", "(", "op", ",", "0", ")", ")", ";", "if", "(", "regno", ">", "7", "&&", "regno", "!=", "SP_REGNUM", "&&", "regno", "!=", "FP_REGNUM", ")", "return", "ADDRESS_NOT_16BIT_FORMAT", ";", "switch", "(", "mode_test", ")", "{", "case", "QImode", ":", "if", "(", "val", ">=", "0", "&&", "val", "<", "8", "&&", "regno", "<", "8", ")", "return", "ADDRESS_LO_REG_IMM3U", ";", "break", ";", "case", "HImode", ":", "if", "(", "val", ">=", "0", "&&", "val", "<", "16", "&&", "(", "val", "%", "2", "==", "0", ")", "&&", "regno", "<", "8", ")", "return", "ADDRESS_LO_REG_IMM3U", ";", "break", ";", "case", "SImode", ":", "case", "SFmode", ":", "case", "DFmode", ":", "if", "(", "(", "regno", "==", "FP_REGNUM", ")", "&&", "(", "val", ">=", "0", "&&", "val", "<", "512", "&&", "(", "val", "%", "4", "==", "0", ")", ")", ")", "return", "ADDRESS_FP_IMM7U", ";", "else", "if", "(", "(", "regno", "==", "SP_REGNUM", ")", "&&", "(", "val", ">=", "0", "&&", "val", "<", "512", "&&", "(", "val", "%", "4", "==", "0", ")", ")", ")", "return", "ADDRESS_SP_IMM7U", ";", "else", "if", "(", "val", ">=", "0", "&&", "val", "<", "32", "&&", "(", "val", "%", "4", "==", "0", ")", "&&", "regno", "<", "8", ")", "return", "ADDRESS_LO_REG_IMM3U", ";", "break", ";", "default", ":", "break", ";", "}", "}", "return", "ADDRESS_NOT_16BIT_FORMAT", ";", "}", ""], "natrual_language": ["A", "helper", "function", "to", "return", "memory", "format", "."], "TS_V_token": ["nds32", "0", "0", "8", "1", "0", "1", "1", "1", "0", "1", "1", "8", "32", "0", "1", "1", "0", "7", "0", "8", "8", "0", "16", "2", "0", "8", "0", "512", "4", "0", "0", "512", "4", "0", "0", "32", "4", "0", "8"], "File": "nds32-md-auxiliary2", "Func": "nds32_mem_format", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11930, "Length": 464, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sparc_function_arg_1", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ",", "bool", "incoming", ")", "{", "const", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "const", "int", "regbase", "=", "incoming", "?", "SPARC_INCOMING_INT_ARG_FIRST", ":", "SPARC_OUTGOING_INT_ARG_FIRST", ";", "int", "slotno", ",", "regno", ",", "padding", ";", "tree", "type", "=", "arg", ".", "type", ";", "machine_mode", "mode", "=", "arg", ".", "mode", ";", "enum", "mode_class", "mclass", "=", "GET_MODE_CLASS", "(", "mode", ")", ";", "bool", "named", "=", "arg", ".", "named", ";", "slotno", "=", "function_arg_slotno", "(", "cum", ",", "mode", ",", "type", ",", "named", ",", "incoming", ",", "&", "regno", ",", "&", "padding", ")", ";", "if", "(", "slotno", "==", "-", "1", ")", "return", "0", ";", "if", "(", "type", "&&", "VECTOR_INTEGER_TYPE_P", "(", "type", ")", ")", "mclass", "=", "MODE_FLOAT", ";", "if", "(", "TARGET_ARCH32", ")", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "if", "(", "type", "&&", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", ")", "{", "const", "int", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "gcc_assert", "(", "size", "<=", "16", ")", ";", "return", "function_arg_record_value", "(", "type", ",", "mode", ",", "slotno", ",", "named", ",", "regbase", ")", ";", "}", "else", "if", "(", "type", "&&", "TREE_CODE", "(", "type", ")", "==", "UNION_TYPE", ")", "{", "const", "int", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "gcc_assert", "(", "size", "<=", "16", ")", ";", "return", "function_arg_union_value", "(", "size", ",", "mode", ",", "slotno", ",", "regno", ")", ";", "}", "else", "if", "(", "type", "&&", "VECTOR_TYPE_P", "(", "type", ")", "&&", "mode", "==", "BLKmode", ")", "{", "const", "int", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "gcc_assert", "(", "size", "<=", "16", ")", ";", "return", "function_arg_vector_value", "(", "size", ",", "slotno", ",", "named", ",", "regno", ")", ";", "}", "else", "if", "(", "(", "mclass", "==", "MODE_FLOAT", "||", "mclass", "==", "MODE_COMPLEX_FLOAT", ")", "&&", "SPARC_FP_REG_P", "(", "regno", ")", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "if", "(", "cum", "->", "prototype_p", "||", "cum", "->", "libcall_p", ")", "return", "reg", ";", "else", "{", "rtx", "v0", ",", "v1", ";", "if", "(", "(", "regno", "-", "SPARC_FP_ARG_FIRST", ")", "<", "SPARC_INT_ARG_MAX", "*", "2", ")", "{", "int", "intreg", ";", "if", "(", "incoming", ")", "return", "reg", ";", "intreg", "=", "(", "SPARC_OUTGOING_INT_ARG_FIRST", "+", "(", "regno", "-", "SPARC_FP_ARG_FIRST", ")", "/", "2", ")", ";", "v0", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "reg", ",", "const0_rtx", ")", ";", "v1", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "mode", ",", "intreg", ")", ",", "const0_rtx", ")", ";", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec", "(", "2", ",", "v0", ",", "v1", ")", ")", ";", "}", "else", "{", "v0", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "NULL_RTX", ",", "const0_rtx", ")", ";", "v1", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "reg", ",", "const0_rtx", ")", ";", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec", "(", "2", ",", "v0", ",", "v1", ")", ")", ";", "}", "}", "}", "else", "if", "(", "type", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "const", "int", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "gcc_assert", "(", "size", "<=", "16", ")", ";", "mode", "=", "int_mode_for_size", "(", "size", "*", "BITS_PER_UNIT", ",", "0", ")", ".", "else_blk", "(", ")", ";", "}", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "}", ""], "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", ".", "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", "true", "if", "this", "argument", "is", "a", "named", "parameter", "(", "otherwise", "it", "is", "an", "extra", "parameter", "matching", "an", "ellipsis", ")", ".", "INCOMING_P", "is", "false", "for", "TARGET_FUNCTION_ARG", ",", "true", "for", "TARGET_FUNCTION_INCOMING_ARG", "."], "TS_V_token": ["sparc", "1", "0", "16", "16", "16", "2", "2", "2", "2", "16", "0"], "File": "sparc", "Func": "sparc_function_arg_1", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11931, "Length": 481, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLegalMaskedScatter", "(", "Type", "*", "DataType", ",", "MaybeAlign", "Alignment", ")", "{", "return", "isVectorLaneType", "(", "*", "getLaneType", "(", "DataType", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "scatter", "."], "TS_V_token": ["VE"], "File": "VETargetTransformInfo", "Func": "isLegalMaskedScatter", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11932, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nds32_modes_tieable_p", "(", "machine_mode", "mode1", ",", "machine_mode", "mode2", ")", "{", "if", "(", "(", "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", ")", "return", "true", ";", "if", "(", "GET_MODE_SIZE", "(", "mode1", ")", "==", "GET_MODE_SIZE", "(", "mode2", ")", ")", "{", "if", "(", "(", "TARGET_FPU_SINGLE", "&&", "!", "TARGET_FPU_DOUBLE", ")", "&&", "(", "mode1", "==", "DFmode", "||", "mode2", "==", "DFmode", ")", ")", "return", "false", ";", "else", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MODES_TIEABLE_P", ".", "We", "can", "use", "general", "registers", "to", "tie", "QI/HI/SI", "modes", "together", "."], "TS_V_token": ["nds32"], "File": "nds32", "Func": "nds32_modes_tieable_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11933, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "nds32_output_stack_pop", "(", "rtx", "par_rtx", "ATTRIBUTE_UNUSED", ")", "{", "char", "pattern", "[", "100", "]", ";", "rtx", "operands", "[", "3", "]", ";", "int", "rb_eh_data", "=", "cfun", "->", "machine", "->", "eh_return_data_first_regno", ";", "int", "re_eh_data", "=", "cfun", "->", "machine", "->", "eh_return_data_last_regno", ";", "int", "first_eh_data_regno", "=", "EH_RETURN_DATA_REGNO", "(", "0", ")", ";", "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", ",", "first_eh_data_regno", ")", ",", "par_rtx", ")", ")", "{", "operands", "[", "0", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "rb_eh_data", ")", ";", "operands", "[", "1", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "re_eh_data", ")", ";", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"pop.s\\t%s\"", ",", "\"%0, %1, { }\"", ")", ";", "output_asm_insn", "(", "pattern", ",", "operands", ")", ";", "return", "\"\"", ";", "}", "if", "(", "NDS32_V3PUSH_AVAILABLE_P", ")", "{", "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", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "if", "(", "satisfies_constraint_Iu08", "(", "GEN_INT", "(", "sp_adjust", ")", ")", "&&", "NDS32_DOUBLE_WORD_ALIGN_P", "(", "sp_adjust", ")", "&&", "!", "cfun", "->", "calls_alloca", ")", "operands", "[", "1", "]", "=", "GEN_INT", "(", "sp_adjust", ")", ";", "else", "{", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "sp_adjust", "=", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "operands", "[", "1", "]", "=", "GEN_INT", "(", "sp_adjust", ")", ";", "}", "else", "{", "operands", "[", "1", "]", "=", "GEN_INT", "(", "0", ")", ";", "}", "}", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"pop25\\t%%0, %%1\"", ")", ";", "}", "else", "{", "int", "pop_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", ")", "pop_en4_only_p", "=", "1", ";", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"pop.s\\t%s{%s%s%s }\"", ",", "pop_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", "pop", "operation", ".", "We", "need", "to", "deal", "with", "normal", "stack", "pop", "multiple", "or", "stack", "v3pop", "."], "TS_V_token": ["nds32", "100", "3", "0", "0", "1", "\"pop.s\\t%s\"", "\"%0, %1, { }\"", "\"\"", "0", "1", "1", "1", "0", "\"pop25\\t%%0, %%1\"", "0", "0", "1", "0", "1", "\"\"", "0", "1", "1", "\"pop.s\\t%s{%s%s%s }\"", "\"\"", "\"%0, %1, \"", "\" $fp\"", "\"\"", "\" $gp\"", "\"\"", "\" $lp\"", "\"\"", "\"\""], "File": "nds32-md-auxiliary", "Func": "nds32_output_stack_pop", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11934, "Length": 439, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LC2200InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DstReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "unsigned", "Opcode", ";", "if", "(", "LC2200", "::", "GRRegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "LC2200", "::", "LW", ";", "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": ["LC2200", "LC2200", "LC2200::GRRegsRegClass", "LC2200::LW", "\"Can't load this register from stack slot\"", "0"], "File": "LC2200InstrInfo", "Func": "loadRegFromStackSlot", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11935, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "csky_setup_incoming_varargs", "(", "cumulative_args_t", "pcum_v", ",", "const", "function_arg_info", "&", "arg", ",", "int", "*", "pretend_size", ",", "int", "second_time", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "pcum", "=", "get_cumulative_args", "(", "pcum_v", ")", ";", "CUMULATIVE_ARGS", "local_cum", ";", "cumulative_args_t", "local_cum_v", "=", "pack_cumulative_args", "(", "&", "local_cum", ")", ";", "int", "regs_to_push", ";", "cfun", "->", "machine", "->", "uses_anonymous_args", "=", "1", ";", "local_cum", "=", "*", "pcum", ";", "csky_function_arg_advance", "(", "local_cum_v", ",", "arg", ")", ";", "regs_to_push", "=", "CSKY_NPARM_REGS", "-", "local_cum", ".", "reg", ";", "if", "(", "regs_to_push", ")", "*", "pretend_size", "=", "regs_to_push", "*", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SETUP_INCOMING_VARARGS", ".", "On", "C-Sky", "the", "copy", "from", "the", "argument", "registers", "to", "the", "stack", "is", "emitted", "by", "the", "prologue", "hooks", ",", "so", "here", "we", "just", "have", "to", "note", "how", "much", "stack", "space", "to", "save", "."], "TS_V_token": ["csky", "1"], "File": "csky", "Func": "csky_setup_incoming_varargs", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11936, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "char", "ConstraintCode", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "SDValue", "Op0", ",", "Op1", ";", "switch", "(", "ConstraintCode", ")", "{", "default", ":", "return", "true", ";", "case", "'m'", ":", "if", "(", "!", "SelectADDRrr", "(", "Op", ".", "getNode", "(", ")", ",", "Op", ",", "Op0", ",", "Op1", ")", ")", "SelectADDRri", "(", "Op", ".", "getNode", "(", ")", ",", "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": ["Sparc", "Sparc"], "File": "SparcISelDAGToDAG25", "Func": "SelectInlineAsmMemoryOperand", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11937, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMInstPrinter", "::", "applyTargetSpecificCLOption", "(", "StringRef", "Opt", ")", "{", "if", "(", "Opt", "==", "\"reg-names-std\"", ")", "{", "DefaultAltIdx", "=", "ARM", "::", "NoRegAltName", ";", "return", "true", ";", "}", "if", "(", "Opt", "==", "\"reg-names-raw\"", ")", "{", "DefaultAltIdx", "=", "ARM", "::", "RegNamesRaw", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Customize", "the", "printer", "according", "to", "a", "command", "line", "option", "."], "TS_V_token": ["ARM", "ARM", "\"reg-names-std\"", "ARM::NoRegAltName", "\"reg-names-raw\"", "ARM::RegNamesRaw"], "File": "ARMInstPrinter25", "Func": "applyTargetSpecificCLOption", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11938, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "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", "(", ")", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "CCAssignFnForNode", "(", "CallConv", ")", ")", ";", "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", "(", ")", "&&", "\"Only register-returns should be created by PCS\"", ")", ";", "SDValue", "Arg", "=", "OutVals", "[", "i", "]", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown loc info\"", ")", ";", "case", "CCValAssign", "::", "Full", ":", "break", ";", "case", "CCValAssign", "::", "SExt", ":", "case", "CCValAssign", "::", "ZExt", ":", "case", "CCValAssign", "::", "AExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ANY_EXTEND", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "case", "CCValAssign", "::", "BCvt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "}", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "Arg", ",", "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", "(", "AArch64ISD", "::", "Ret", ",", "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": ["AArch64", "AArch64", "ISD::OutputArg", "16", "4", "1", "0", "\"Only register-returns should be created by PCS\"", "\"Unknown loc info\"", "ISD::ANY_EXTEND", "ISD::BITCAST", "1", "0", "AArch64ISD::Ret", "MVT::Other", "0"], "File": "AArch64ISelLowering113", "Func": "LowerReturn", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11939, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "unsigned", "*", "X86RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "bool", "callsEHReturn", "=", "false", ";", "bool", "ghcCall", "=", "false", ";", "if", "(", "MF", ")", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "const", "MachineModuleInfo", "*", "MMI", "=", "MFI", "->", "getMachineModuleInfo", "(", ")", ";", "callsEHReturn", "=", "(", "MMI", "?", "MMI", "->", "callsEHReturn", "(", ")", ":", "false", ")", ";", "const", "Function", "*", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "ghcCall", "=", "(", "F", "?", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "GHC", ":", "false", ")", ";", "}", "static", "const", "unsigned", "GhcCalleeSavedRegs", "[", "]", "=", "{", "0", "}", ";", "static", "const", "unsigned", "CalleeSavedRegs32Bit", "[", "]", "=", "{", "X86", "::", "ESI", ",", "X86", "::", "EDI", ",", "X86", "::", "EBX", ",", "X86", "::", "EBP", ",", "0", "}", ";", "static", "const", "unsigned", "CalleeSavedRegs32EHRet", "[", "]", "=", "{", "X86", "::", "EAX", ",", "X86", "::", "EDX", ",", "X86", "::", "ESI", ",", "X86", "::", "EDI", ",", "X86", "::", "EBX", ",", "X86", "::", "EBP", ",", "0", "}", ";", "static", "const", "unsigned", "CalleeSavedRegs64Bit", "[", "]", "=", "{", "X86", "::", "RBX", ",", "X86", "::", "R12", ",", "X86", "::", "R13", ",", "X86", "::", "R14", ",", "X86", "::", "R15", ",", "X86", "::", "RBP", ",", "0", "}", ";", "static", "const", "unsigned", "CalleeSavedRegs64EHRet", "[", "]", "=", "{", "X86", "::", "RAX", ",", "X86", "::", "RDX", ",", "X86", "::", "RBX", ",", "X86", "::", "R12", ",", "X86", "::", "R13", ",", "X86", "::", "R14", ",", "X86", "::", "R15", ",", "X86", "::", "RBP", ",", "0", "}", ";", "static", "const", "unsigned", "CalleeSavedRegsWin64", "[", "]", "=", "{", "X86", "::", "RBX", ",", "X86", "::", "RBP", ",", "X86", "::", "RDI", ",", "X86", "::", "RSI", ",", "X86", "::", "R12", ",", "X86", "::", "R13", ",", "X86", "::", "R14", ",", "X86", "::", "R15", ",", "X86", "::", "XMM6", ",", "X86", "::", "XMM7", ",", "X86", "::", "XMM8", ",", "X86", "::", "XMM9", ",", "X86", "::", "XMM10", ",", "X86", "::", "XMM11", ",", "X86", "::", "XMM12", ",", "X86", "::", "XMM13", ",", "X86", "::", "XMM14", ",", "X86", "::", "XMM15", ",", "0", "}", ";", "if", "(", "ghcCall", ")", "{", "return", "GhcCalleeSavedRegs", ";", "}", "else", "if", "(", "Is64Bit", ")", "{", "if", "(", "IsWin64", ")", "return", "CalleeSavedRegsWin64", ";", "else", "return", "(", "callsEHReturn", "?", "CalleeSavedRegs64EHRet", ":", "CalleeSavedRegs64Bit", ")", ";", "}", "else", "{", "return", "(", "callsEHReturn", "?", "CalleeSavedRegs32EHRet", ":", "CalleeSavedRegs32Bit", ")", ";", "}", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["X86", "X86", "0", "X86::ESI", "X86::EDI", "X86::EBX", "X86::EBP", "0", "X86::EAX", "X86::EDX", "X86::ESI", "X86::EDI", "X86::EBX", "X86::EBP", "0", "X86::RBX", "X86::R12", "X86::R13", "X86::R14", "X86::R15", "X86::RBP", "0", "X86::RAX", "X86::RDX", "X86::RBX", "X86::R12", "X86::R13", "X86::R14", "X86::R15", "X86::RBP", "0", "X86::RBX", "X86::RBP", "X86::RDI", "X86::RSI", "X86::R12", "X86::R13", "X86::R14", "X86::R15", "X86::XMM6", "X86::XMM7", "X86::XMM8", "X86::XMM9", "X86::XMM10", "X86::XMM11", "X86::XMM12", "X86::XMM13", "X86::XMM14", "X86::XMM15", "0"], "File": "X86RegisterInfo60", "Func": "getCalleeSavedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11940, "Length": 375, "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": 11941, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "X86TargetLowering", "::", "getPICJumpTableRelocBaseExpr", "(", "const", "MachineFunction", "*", "MF", ",", "unsigned", "JTI", ",", "MCContext", "&", "Ctx", ")", "const", "{", "if", "(", "Subtarget", "->", "isPICStyleRIPRel", "(", ")", ")", "return", "TargetLowering", "::", "getPICJumpTableRelocBaseExpr", "(", "MF", ",", "JTI", ",", "Ctx", ")", ";", "return", "MCSymbolRefExpr", "::", "Create", "(", "MF", "->", "getPICBaseSymbol", "(", ")", ",", "Ctx", ")", ";", "}", ""], "natrual_language": ["This", "returns", "the", "relocation", "base", "for", "the", "given", "PIC", "jumptable", ",", "the", "same", "as", "getPICJumpTableRelocBase", ",", "but", "as", "an", "MCExpr", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering (2)", "Func": "getPICJumpTableRelocBaseExpr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11942, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XNCMFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["XNCM", "XNCM"], "File": "XNCMFrameLowering", "Func": "emitPrologue", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11943, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSubtarget", "::", "enablePostRAScheduler", "(", "CodeGenOpt", "::", "Level", "OptLevel", ",", "TargetSubtargetInfo", "::", "AntiDepBreakMode", "&", "Mode", ",", "RegClassVector", "&", "CriticalPathRCs", ")", "const", "{", "Mode", "=", "TargetSubtargetInfo", "::", "ANTIDEP_CRITICAL", ";", "CriticalPathRCs", ".", "clear", "(", ")", ";", "CriticalPathRCs", ".", "push_back", "(", "hasMips64", "(", ")", "?", "&", "Mips", "::", "CPU64RegsRegClass", ":", "&", "Mips", "::", "CPURegsRegClass", ")", ";", "return", "OptLevel", ">=", "CodeGenOpt", "::", "Aggressive", ";", "}", ""], "natrual_language": ["True", "if", "the", "subtarget", "should", "run", "a", "scheduler", "after", "register", "allocation", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips::CPU64RegsRegClass", "Mips::CPURegsRegClass"], "File": "MipsSubtarget41", "Func": "enablePostRAScheduler", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11944, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb2HazardRecognizer", "::", "EmitInstruction", "(", "SUnit", "*", "SU", ")", "{", "MachineInstr", "*", "MI", "=", "SU", "->", "getInstr", "(", ")", ";", "unsigned", "Opcode", "=", "MI", "->", "getOpcode", "(", ")", ";", "if", "(", "ITBlockSize", ")", "{", "--", "ITBlockSize", ";", "}", "else", "if", "(", "Opcode", "==", "ARM", "::", "t2IT", ")", "{", "unsigned", "Mask", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "unsigned", "NumTZ", "=", "CountTrailingZeros_32", "(", "Mask", ")", ";", "assert", "(", "NumTZ", "<=", "3", "&&", "\"Invalid IT mask!\"", ")", ";", "ITBlockSize", "=", "4", "-", "NumTZ", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MI", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "ITBlockSize", ";", "++", "i", ")", "{", "do", "{", "++", "I", ";", "}", "while", "(", "I", "->", "isDebugValue", "(", ")", ")", ";", "ITBlockMIs", "[", "ITBlockSize", "-", "1", "-", "i", "]", "=", "&", "*", "I", ";", "}", "}", "PostRAHazardRecognizer", "::", "EmitInstruction", "(", "SU", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["ARM", "ARM::t2IT", "1", "3", "\"Invalid IT mask!\"", "4", "0", "1"], "File": "Thumb2HazardRecognizer", "Func": "EmitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11945, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mep_ipipe_ldc_p", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "pat", ",", "src", ";", "pat", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", ")", "pat", "=", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "SET", ")", "{", "src", "=", "SET_SRC", "(", "pat", ")", ";", "if", "(", "GET_CODE", "(", "src", ")", "==", "UNSPEC", "||", "GET_CODE", "(", "src", ")", "==", "UNSPEC_VOLATILE", ")", "src", "=", "XVECEXP", "(", "src", ",", "0", ",", "0", ")", ";", "if", "(", "REG_P", "(", "src", ")", ")", "switch", "(", "REGNO", "(", "src", ")", ")", "{", "case", "PSW_REGNO", ":", "case", "LP_REGNO", ":", "case", "SAR_REGNO", ":", "case", "HI_REGNO", ":", "case", "LO_REGNO", ":", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "INSN", "is", "an", "ldc", "instruction", "that", "issues", "to", "the", "MeP-h1", "integer", "pipeline", ".", "This", "is", "true", "for", "instructions", "that", "read", "from", "PSW", ",", "LP", ",", "SAR", ",", "HI", "and", "LO", "."], "TS_V_token": ["mep", "0", "0", "0", "0"], "File": "mep", "Func": "mep_ipipe_ldc_p", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11946, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_const_double_rtx", "(", "rtx", "x", ")", "{", "REAL_VALUE_TYPE", "r", ";", "if", "(", "!", "fp_consts_inited", ")", "init_fp_table", "(", ")", ";", "REAL_VALUE_FROM_CONST_DOUBLE", "(", "r", ",", "x", ")", ";", "if", "(", "REAL_VALUE_MINUS_ZERO", "(", "r", ")", ")", "return", "0", ";", "if", "(", "REAL_VALUES_EQUAL", "(", "r", ",", "value_fp0", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "rtx", "X", "is", "a", "valid", "immediate", "FP", "constant", "."], "TS_V_token": ["arm", "0", "1", "0"], "File": "arm4", "Func": "arm_const_double_rtx", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11947, "Length": 52, "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", ":", "case", "Mips", "::", "DSLL_MM64R6", ":", "case", "Mips", "::", "DSRL_MM64R6", ":", "case", "Mips", "::", "DSRA_MM64R6", ":", "case", "Mips", "::", "DROTR_MM64R6", ":", "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", ")", ";", "unsigned", "Opcode", "=", "TmpInst", ".", "getOpcode", "(", ")", ";", "if", "(", "(", "Opcode", "!=", "Mips", "::", "NOP", ")", "&&", "(", "Opcode", "!=", "Mips", "::", "SLL", ")", "&&", "(", "Opcode", "!=", "Mips", "::", "SLL_MM", ")", "&&", "!", "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", "(", ")", ";", "Opcode", "=", "NewOpcode", ";", "TmpInst", ".", "setOpcode", "(", "NewOpcode", ")", ";", "Binary", "=", "getBinaryCodeForInstr", "(", "TmpInst", ",", "Fixups", ",", "STI", ")", ";", "}", "}", "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::DSLL_MM64R6", "Mips::DSRL_MM64R6", "Mips::DSRA_MM64R6", "Mips::DROTR_MM64R6", "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", "\"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", "\"Desc.getSize() returns 0\""], "File": "MipsMCCodeEmitter18", "Func": "encodeInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11948, "Length": 385, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "emitFrameDirective", "(", ")", "{", "const", "TargetRegisterInfo", "&", "RI", "=", "*", "MF", "->", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "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": "MipsAsmPrinter10", "Func": "emitFrameDirective", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11949, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "xstormy16_interrupt_function_p", "(", "void", ")", "{", "tree", "attributes", ";", "if", "(", "!", "cfun", ")", "return", "0", ";", "attributes", "=", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "current_function_decl", ")", ")", ";", "return", "lookup_attribute", "(", "\"interrupt\"", ",", "attributes", ")", "!=", "NULL_TREE", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "the", "function", "is", "an", "interrupt", "function", "."], "TS_V_token": ["stormy16", "0", "\"interrupt\""], "File": "stormy16", "Func": "xstormy16_interrupt_function_p", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11950, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "sfunc_uses_reg", "(", "rtx_insn", "*", "insn", ")", "{", "int", "i", ";", "rtx", "pattern", ",", "part", ",", "reg_part", ",", "reg", ";", "if", "(", "!", "NONJUMP_INSN_P", "(", "insn", ")", ")", "return", "NULL_RTX", ";", "pattern", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pattern", ")", "!=", "PARALLEL", "||", "get_attr_type", "(", "insn", ")", "!=", "TYPE_SFUNC", ")", "return", "NULL_RTX", ";", "for", "(", "reg_part", "=", "NULL_RTX", ",", "i", "=", "XVECLEN", "(", "pattern", ",", "0", ")", "-", "1", ";", "i", ">=", "1", ";", "i", "--", ")", "{", "part", "=", "XVECEXP", "(", "pattern", ",", "0", ",", "i", ")", ";", "if", "(", "GET_CODE", "(", "part", ")", "==", "USE", "&&", "GET_MODE", "(", "XEXP", "(", "part", ",", "0", ")", ")", "==", "SImode", ")", "reg_part", "=", "part", ";", "}", "if", "(", "!", "reg_part", ")", "return", "NULL_RTX", ";", "reg", "=", "XEXP", "(", "reg_part", ",", "0", ")", ";", "for", "(", "i", "=", "XVECLEN", "(", "pattern", ",", "0", ")", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "part", "=", "XVECEXP", "(", "pattern", ",", "0", ",", "i", ")", ";", "if", "(", "part", "==", "reg_part", "||", "GET_CODE", "(", "part", ")", "==", "CLOBBER", ")", "continue", ";", "if", "(", "reg_mentioned_p", "(", "reg", ",", "(", "(", "GET_CODE", "(", "part", ")", "==", "SET", "&&", "REG_P", "(", "SET_DEST", "(", "part", ")", ")", ")", "?", "SET_SRC", "(", "part", ")", ":", "part", ")", ")", ")", "return", "NULL_RTX", ";", "}", "return", "reg", ";", "}", ""], "natrual_language": ["If", "the", "instruction", "INSN", "is", "implemented", "by", "a", "special", "function", ",", "and", "we", "can", "positively", "find", "the", "register", "that", "is", "used", "to", "call", "the", "sfunc", ",", "and", "this", "register", "is", "not", "used", "anywhere", "else", "in", "this", "instruction", "-", "except", "as", "the", "destination", "of", "a", "set", ",", "return", "this", "register", ";", "else", ",", "return", "0", "."], "TS_V_token": ["sh", "0", "1", "1", "0", "0", "0", "0", "1", "0", "0"], "File": "sh4", "Func": "sfunc_uses_reg", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11951, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBank", "&", "X86RegisterBankInfo", "::", "getRegBankFromRegClass", "(", "const", "TargetRegisterClass", "&", "RC", ")", "const", "{", "if", "(", "X86", "::", "GR8RegClass", ".", "hasSubClassEq", "(", "&", "RC", ")", "||", "X86", "::", "GR16RegClass", ".", "hasSubClassEq", "(", "&", "RC", ")", "||", "X86", "::", "GR32RegClass", ".", "hasSubClassEq", "(", "&", "RC", ")", "||", "X86", "::", "GR64RegClass", ".", "hasSubClassEq", "(", "&", "RC", ")", "||", "X86", "::", "LOW32_ADDR_ACCESSRegClass", ".", "hasSubClassEq", "(", "&", "RC", ")", "||", "X86", "::", "LOW32_ADDR_ACCESS_RBPRegClass", ".", "hasSubClassEq", "(", "&", "RC", ")", ")", "return", "getRegBank", "(", "X86", "::", "GPRRegBankID", ")", ";", "if", "(", "X86", "::", "FR32XRegClass", ".", "hasSubClassEq", "(", "&", "RC", ")", "||", "X86", "::", "FR64XRegClass", ".", "hasSubClassEq", "(", "&", "RC", ")", "||", "X86", "::", "VR128XRegClass", ".", "hasSubClassEq", "(", "&", "RC", ")", "||", "X86", "::", "VR256XRegClass", ".", "hasSubClassEq", "(", "&", "RC", ")", "||", "X86", "::", "VR512RegClass", ".", "hasSubClassEq", "(", "&", "RC", ")", ")", "return", "getRegBank", "(", "X86", "::", "VECRRegBankID", ")", ";", "llvm_unreachable", "(", "\"Unsupported register kind yet.\"", ")", ";", "}", ""], "natrual_language": ["Get", "a", "register", "bank", "that", "covers", "RC", "."], "TS_V_token": ["X86", "X86", "X86::GR8RegClass", "X86::GR16RegClass", "X86::GR32RegClass", "X86::GR64RegClass", "X86::LOW32_ADDR_ACCESSRegClass", "X86::LOW32_ADDR_ACCESS_RBPRegClass", "X86::GPRRegBankID", "X86::FR32XRegClass", "X86::FR64XRegClass", "X86::VR128XRegClass", "X86::VR256XRegClass", "X86::VR512RegClass", "X86::VECRRegBankID", "\"Unsupported register kind yet.\""], "File": "X86RegisterBankInfo18", "Func": "getRegBankFromRegClass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11952, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "enableShrinkWrapping", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "(", "MF", ".", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "Attribute", "::", "NoUnwind", ")", "||", "hasFP", "(", "MF", ")", ")", "&&", "MF", ".", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", "!=", "CallingConv", "::", "HiPE", "&&", "!", "MF", ".", "shouldSplitStack", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "will", "correctly", "handle", "shrink", "wrapping", "."], "TS_V_token": ["X86", "X86"], "File": "X86FrameLowering102", "Func": "enableShrinkWrapping", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11953, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "arm_compute_initial_elimination_offset", "(", "unsigned", "int", "from", ",", "unsigned", "int", "to", ")", "{", "arm_stack_offsets", "*", "offsets", ";", "offsets", "=", "arm_get_frame_offsets", "(", ")", ";", "switch", "(", "from", ")", "{", "case", "ARG_POINTER_REGNUM", ":", "switch", "(", "to", ")", "{", "case", "THUMB_HARD_FRAME_POINTER_REGNUM", ":", "return", "0", ";", "case", "FRAME_POINTER_REGNUM", ":", "return", "offsets", "->", "soft_frame", "-", "offsets", "->", "saved_args", ";", "case", "ARM_HARD_FRAME_POINTER_REGNUM", ":", "return", "offsets", "->", "frame", "-", "offsets", "->", "saved_args", "-", "4", ";", "case", "STACK_POINTER_REGNUM", ":", "return", "offsets", "->", "outgoing_args", "-", "(", "offsets", "->", "saved_args", "+", "4", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "gcc_unreachable", "(", ")", ";", "case", "FRAME_POINTER_REGNUM", ":", "switch", "(", "to", ")", "{", "case", "THUMB_HARD_FRAME_POINTER_REGNUM", ":", "return", "0", ";", "case", "ARM_HARD_FRAME_POINTER_REGNUM", ":", "return", "offsets", "->", "frame", "-", "offsets", "->", "soft_frame", ";", "case", "STACK_POINTER_REGNUM", ":", "return", "offsets", "->", "outgoing_args", "-", "offsets", "->", "soft_frame", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "gcc_unreachable", "(", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Compute", "the", "distance", "from", "register", "FROM", "to", "register", "TO", ".", "These", "can", "be", "the", "arg", "pointer", "(", "26", ")", ",", "the", "soft", "frame", "pointer", "(", "25", ")", ",", "the", "stack", "pointer", "(", "13", ")", "or", "the", "hard", "frame", "pointer", "(", "11", ")", ".", "Typical", "stack", "layout", "looks", "like", "this", ":", "old", "stack", "pointer", "-", ">", "|", "|", "--", "--", "|", "|", "\\", "|", "|", "saved", "arguments", "for", "|", "|", "vararg", "functions", "|", "|", "/", "--", "hard", "FP", "&", "arg", "pointer", "-", ">", "|", "|", "\\", "|", "|", "stack", "|", "|", "frame", "|", "|", "/", "--", "|", "|", "\\", "|", "|", "call", "saved", "|", "|", "registers", "soft", "frame", "pointer", "-", ">", "|", "|", "/", "--", "|", "|", "\\", "|", "|", "local", "|", "|", "variables", "|", "|", "/", "--", "|", "|", "\\", "|", "|", "outgoing", "|", "|", "arguments", "current", "stack", "pointer", "-", ">", "|", "|", "/", "--", "For", "a", "given", "funciton", "some", "or", "all", "of", "these", "stack", "compomnents", "may", "not", "be", "needed", ",", "giving", "rise", "to", "the", "possibility", "of", "eliminating", "some", "of", "the", "registers", ".", "The", "values", "returned", "by", "this", "function", "must", "reflect", "the", "behaviour", "of", "arm_expand_prologue", "(", ")", "and", "arm_compute_save_reg_mask", "(", ")", ".", "The", "sign", "of", "the", "number", "returned", "reflects", "the", "direction", "of", "stack", "growth", ",", "so", "the", "values", "are", "positive", "for", "all", "eliminations", "except", "from", "the", "soft", "frame", "pointer", "to", "the", "hard", "frame", "pointer", "."], "TS_V_token": ["arm", "0", "4", "4", "0"], "File": "arm", "Func": "arm_compute_initial_elimination_offset", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11954, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_output_indirect_branch_via_push", "(", "rtx", "call_op", ",", "const", "char", "*", "xasm", ",", "bool", "sibcall_p", ")", "{", "char", "thunk_name_buf", "[", "32", "]", ";", "char", "*", "thunk_name", ";", "char", "push_buf", "[", "64", "]", ";", "enum", "indirect_thunk_prefix", "need_prefix", "=", "indirect_thunk_need_prefix", "(", "current_output_insn", ")", ";", "int", "regno", "=", "-", "1", ";", "if", "(", "cfun", "->", "machine", "->", "indirect_branch_type", "!=", "indirect_branch_thunk_inline", ")", "{", "if", "(", "cfun", "->", "machine", "->", "indirect_branch_type", "==", "indirect_branch_thunk", ")", "indirect_thunk_needed", "=", "true", ";", "indirect_thunk_name", "(", "thunk_name_buf", ",", "regno", ",", "need_prefix", ",", "false", ")", ";", "thunk_name", "=", "thunk_name_buf", ";", "}", "else", "thunk_name", "=", "NULL", ";", "snprintf", "(", "push_buf", ",", "sizeof", "(", "push_buf", ")", ",", "\"push{%c}\\t%s\"", ",", "TARGET_64BIT", "?", "'q'", ":", "'l'", ",", "xasm", ")", ";", "if", "(", "sibcall_p", ")", "{", "output_asm_insn", "(", "push_buf", ",", "&", "call_op", ")", ";", "ix86_output_jmp_thunk_or_indirect", "(", "thunk_name", ",", "regno", ")", ";", "}", "else", "{", "char", "indirectlabel1", "[", "32", "]", ";", "char", "indirectlabel2", "[", "32", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "indirectlabel1", ",", "INDIRECT_LABEL", ",", "indirectlabelno", "++", ")", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "indirectlabel2", ",", "INDIRECT_LABEL", ",", "indirectlabelno", "++", ")", ";", "fputs", "(", "\"\\tjmp\\t\"", ",", "asm_out_file", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "indirectlabel2", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "indirectlabel1", ")", ";", "if", "(", "MEM_P", "(", "call_op", ")", ")", "{", "struct", "ix86_address", "parts", ";", "rtx", "addr", "=", "XEXP", "(", "call_op", ",", "0", ")", ";", "if", "(", "ix86_decompose_address", "(", "addr", ",", "&", "parts", ")", "&&", "parts", ".", "base", "==", "stack_pointer_rtx", ")", "{", "if", "(", "parts", ".", "index", ")", "{", "addr", "=", "gen_rtx_MULT", "(", "Pmode", ",", "parts", ".", "index", ",", "GEN_INT", "(", "parts", ".", "scale", ")", ")", ";", "addr", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "addr", ")", ";", "}", "else", "addr", "=", "stack_pointer_rtx", ";", "rtx", "disp", ";", "if", "(", "parts", ".", "disp", "!=", "NULL_RTX", ")", "disp", "=", "plus_constant", "(", "Pmode", ",", "parts", ".", "disp", ",", "UNITS_PER_WORD", ")", ";", "else", "disp", "=", "GEN_INT", "(", "UNITS_PER_WORD", ")", ";", "addr", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "addr", ",", "disp", ")", ";", "call_op", "=", "gen_rtx_MEM", "(", "GET_MODE", "(", "call_op", ")", ",", "addr", ")", ";", "}", "}", "output_asm_insn", "(", "push_buf", ",", "&", "call_op", ")", ";", "ix86_output_jmp_thunk_or_indirect", "(", "thunk_name", ",", "regno", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "indirectlabel2", ")", ";", "fputs", "(", "\"\\tcall\\t\"", ",", "asm_out_file", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "indirectlabel1", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "}", "}", ""], "natrual_language": ["Output", "indirect", "branch", "via", "a", "call", "and", "return", "thunk", ".", "CALL_OP", "is", "the", "branch", "target", ".", "XASM", "is", "the", "assembly", "template", "for", "CALL_OP", ".", "Branch", "is", "a", "tail", "call", "if", "SIBCALL_P", "is", "true", ".", "A", "normal", "call", "is", "converted", "to", ":", "jmp", "L2", "L1", ":", "push", "CALL_OP", "jmp", "__x86_indirect_thunk", "L2", ":", "call", "L1", "and", "a", "tail", "call", "is", "converted", "to", ":", "push", "CALL_OP", "jmp", "__x86_indirect_thunk"], "TS_V_token": ["i386", "32", "64", "1", "\"push{%c}\\t%s\"", "32", "32", "\"\\tjmp\\t\"", "0", "\"\\tcall\\t\""], "File": "i386", "Func": "ix86_output_indirect_branch_via_push", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11955, "Length": 379, "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", "=", "isReleaseOrStronger", "(", "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", ")", ";", "const", "DataLayout", "&", "DL", "=", "M", "->", "getDataLayout", "(", ")", ";", "IntegerType", "*", "IntValTy", "=", "Builder", ".", "getIntNTy", "(", "DL", ".", "getTypeSizeInBits", "(", "Val", "->", "getType", "(", ")", ")", ")", ";", "Val", "=", "Builder", ".", "CreateBitCast", "(", "Val", ",", "IntValTy", ")", ";", "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)3", "Func": "emitStoreConditional", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11956, "Length": 300, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isShuffleMaskLegal", "(", "const", "SmallVectorImpl", "<", "int", ">", "&", "M", ",", "EVT", "VT", ")", "const", "{", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "isPALIGNRMask", "(", "M", ",", "VT", ",", "Subtarget", "->", "hasSSSE3", "(", ")", ")", ";", "return", "(", "VT", ".", "getVectorNumElements", "(", ")", "==", "2", "||", "ShuffleVectorSDNode", "::", "isSplatMask", "(", "&", "M", "[", "0", "]", ",", "VT", ")", "||", "isMOVLMask", "(", "M", ",", "VT", ")", "||", "isSHUFPMask", "(", "M", ",", "VT", ")", "||", "isPSHUFDMask", "(", "M", ",", "VT", ")", "||", "isPSHUFHWMask", "(", "M", ",", "VT", ")", "||", "isPSHUFLWMask", "(", "M", ",", "VT", ")", "||", "isPALIGNRMask", "(", "M", ",", "VT", ",", "Subtarget", "->", "hasSSSE3", "(", ")", ")", "||", "isUNPCKLMask", "(", "M", ",", "VT", ")", "||", "isUNPCKHMask", "(", "M", ",", "VT", ")", "||", "isUNPCKL_v_undef_Mask", "(", "M", ",", "VT", ")", "||", "isUNPCKH_v_undef_Mask", "(", "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": ["X86", "X86", "64", "2", "0"], "File": "X86ISelLowering170", "Func": "isShuffleMaskLegal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11957, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMCallLowering", "::", "splitToValueTypes", "(", "const", "ArgInfo", "&", "OrigArg", ",", "SmallVectorImpl", "<", "ArgInfo", ">", "&", "SplitArgs", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "ARMTargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "ARMTargetLowering", ">", "(", ")", ";", "LLVMContext", "&", "Ctx", "=", "OrigArg", ".", "Ty", "->", "getContext", "(", ")", ";", "const", "DataLayout", "&", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "SmallVector", "<", "EVT", ",", "4", ">", "SplitVTs", ";", "ComputeValueVTs", "(", "TLI", ",", "DL", ",", "OrigArg", ".", "Ty", ",", "SplitVTs", ",", "nullptr", ",", "nullptr", ",", "0", ")", ";", "assert", "(", "OrigArg", ".", "Regs", ".", "size", "(", ")", "==", "SplitVTs", ".", "size", "(", ")", "&&", "\"Regs / types mismatch\"", ")", ";", "if", "(", "SplitVTs", ".", "size", "(", ")", "==", "1", ")", "{", "auto", "Flags", "=", "OrigArg", ".", "Flags", ";", "unsigned", "OriginalAlignment", "=", "DL", ".", "getABITypeAlignment", "(", "OrigArg", ".", "Ty", ")", ";", "Flags", ".", "setOrigAlign", "(", "OriginalAlignment", ")", ";", "SplitArgs", ".", "emplace_back", "(", "OrigArg", ".", "Regs", "[", "0", "]", ",", "SplitVTs", "[", "0", "]", ".", "getTypeForEVT", "(", "Ctx", ")", ",", "Flags", ",", "OrigArg", ".", "IsFixed", ")", ";", "return", ";", "}", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "SplitVTs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "EVT", "SplitVT", "=", "SplitVTs", "[", "i", "]", ";", "Type", "*", "SplitTy", "=", "SplitVT", ".", "getTypeForEVT", "(", "Ctx", ")", ";", "auto", "Flags", "=", "OrigArg", ".", "Flags", ";", "unsigned", "OriginalAlignment", "=", "DL", ".", "getABITypeAlignment", "(", "SplitTy", ")", ";", "Flags", ".", "setOrigAlign", "(", "OriginalAlignment", ")", ";", "bool", "NeedsConsecutiveRegisters", "=", "TLI", ".", "functionArgumentNeedsConsecutiveRegisters", "(", "SplitTy", ",", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ")", ";", "if", "(", "NeedsConsecutiveRegisters", ")", "{", "Flags", ".", "setInConsecutiveRegs", "(", ")", ";", "if", "(", "i", "==", "e", "-", "1", ")", "Flags", ".", "setInConsecutiveRegsLast", "(", ")", ";", "}", "Register", "PartReg", "=", "OrigArg", ".", "Regs", "[", "i", "]", ";", "SplitArgs", ".", "emplace_back", "(", "PartReg", ",", "SplitTy", ",", "Flags", ",", "OrigArg", ".", "IsFixed", ")", ";", "}", "}", ""], "natrual_language": ["Break", "OrigArgInfo", "into", "one", "or", "more", "pieces", "the", "calling", "convention", "can", "process", ",", "returned", "in", "SplitArgs", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "4", "0", "\"Regs / types mismatch\"", "1", "0", "0", "0", "1"], "File": "ARMCallLowering1", "Func": "splitToValueTypes", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11958, "Length": 325, "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": ["rs6000", "\"rs6000_can_inline_p:, caller %s, callee %s, %s inline\\n\"", "\"\"", "\"\"", "\"can\"", "\"cannot\""], "File": "rs60004", "Func": "rs6000_can_inline_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11959, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "svpattern_token", "(", "enum", "aarch64_svpattern", "pattern", ")", "{", "switch", "(", "pattern", ")", "{", "AARCH64_FOR_SVPATTERN", "(", "CASE", ")", "case", "AARCH64_NUM_SVPATTERNS", ":", "break", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "assembly", "token", "for", "svpattern", "value", "VALUE", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "svpattern_token", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11960, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "PPCTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "PPCPassConfig", "(", "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": ["PowerPC", "PPC", "PPC"], "File": "PPCTargetMachine (2)", "Func": "createPassConfig", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11961, "Length": 21, "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": 11962, "Length": 58, "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": 11963, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMAsmParser", "::", "checkTargetMatchPredicate", "(", "MCInst", "&", "Inst", ")", "{", "unsigned", "Opc", "=", "Inst", ".", "getOpcode", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "MII", ".", "get", "(", "Opc", ")", ";", "if", "(", "MCID", ".", "TSFlags", "&", "ARMII", "::", "ThumbArithFlagSetting", ")", "{", "assert", "(", "MCID", ".", "hasOptionalDef", "(", ")", "&&", "\"optionally flag setting instruction missing optional def operand\"", ")", ";", "assert", "(", "MCID", ".", "NumOperands", "==", "Inst", ".", "getNumOperands", "(", ")", "&&", "\"operand count mismatch!\"", ")", ";", "unsigned", "OpNo", ";", "for", "(", "OpNo", "=", "0", ";", "!", "MCID", ".", "OpInfo", "[", "OpNo", "]", ".", "isOptionalDef", "(", ")", "&&", "OpNo", "<", "MCID", ".", "NumOperands", ";", "++", "OpNo", ")", ";", "if", "(", "isThumbOne", "(", ")", "&&", "Inst", ".", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", "!=", "ARM", "::", "CPSR", ")", "return", "Match_RequiresFlagSetting", ";", "if", "(", "isThumbTwo", "(", ")", "&&", "Inst", ".", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", "!=", "ARM", "::", "CPSR", "&&", "!", "inITBlock", "(", ")", ")", "return", "Match_RequiresITBlock", ";", "if", "(", "isThumbTwo", "(", ")", "&&", "Inst", ".", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", "==", "ARM", "::", "CPSR", "&&", "inITBlock", "(", ")", ")", "return", "Match_RequiresNotITBlock", ";", "}", "else", "if", "(", "isThumbOne", "(", ")", ")", "{", "if", "(", "Opc", "==", "ARM", "::", "tADDhirr", "&&", "!", "hasV6MOps", "(", ")", "&&", "isARMLowRegister", "(", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", "&&", "isARMLowRegister", "(", "Inst", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ")", "return", "Match_RequiresThumb2", ";", "else", "if", "(", "Opc", "==", "ARM", "::", "tMOVr", "&&", "!", "hasV6Ops", "(", ")", "&&", "isARMLowRegister", "(", "Inst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", "&&", "isARMLowRegister", "(", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ")", "return", "Match_RequiresV6", ";", "}", "if", "(", "Opc", "==", "ARM", "::", "t2MOVr", "&&", "!", "hasV8Ops", "(", ")", ")", "{", "if", "(", "Inst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "ARM", "::", "SP", "&&", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "ARM", "::", "SP", ")", "return", "Match_RequiresV8", ";", "if", "(", "Inst", ".", "getOperand", "(", "4", ")", ".", "getReg", "(", ")", "==", "ARM", "::", "CPSR", "&&", "(", "Inst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "ARM", "::", "SP", "||", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "ARM", "::", "SP", ")", ")", "return", "Match_RequiresV8", ";", "}", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "MCID", ".", "NumOperands", ";", "++", "I", ")", "if", "(", "MCID", ".", "OpInfo", "[", "I", "]", ".", "RegClass", "==", "ARM", "::", "rGPRRegClassID", ")", "{", "if", "(", "(", "Inst", ".", "getOperand", "(", "I", ")", ".", "getReg", "(", ")", "==", "ARM", "::", "SP", ")", "&&", "!", "hasV8Ops", "(", ")", ")", "return", "Match_RequiresV8", ";", "else", "if", "(", "Inst", ".", "getOperand", "(", "I", ")", ".", "getReg", "(", ")", "==", "ARM", "::", "PC", ")", "return", "Match_InvalidOperand", ";", "}", "return", "Match_Success", ";", "}", ""], "natrual_language": ["checkTargetMatchPredicate", "-", "Validate", "the", "instruction", "match", "against", "any", "complex", "target", "predicates", "not", "expressible", "via", "match", "classes", "."], "TS_V_token": ["ARM", "ARM", "ARMII::ThumbArithFlagSetting", "\"optionally flag setting instruction missing optional def operand\"", "\"operand count mismatch!\"", "0", "ARM::CPSR", "ARM::CPSR", "ARM::CPSR", "ARM::tADDhirr", "ARM", "1", "ARM", "2", "ARM::tMOVr", "ARM", "0", "ARM", "1", "ARM::t2MOVr", "0", "ARM::SP", "1", "ARM::SP", "4", "ARM::CPSR", "0", "ARM::SP", "1", "ARM::SP", "0", "ARM::rGPRRegClassID", "ARM::SP", "ARM::PC"], "File": "ARMAsmParser64", "Func": "checkTargetMatchPredicate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11964, "Length": 466, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBlockPlacement", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "const", "ARMSubtarget", "&", "ST", "=", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "if", "(", "!", "ST", ".", "hasLOB", "(", ")", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "DEBUG_PREFIX", "<<", "\"Running on \"", "<<", "MF", ".", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "MLI", "=", "&", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "ST", ".", "getInstrInfo", "(", ")", ")", ";", "BBUtils", "=", "std", "::", "unique_ptr", "<", "ARMBasicBlockUtils", ">", "(", "new", "ARMBasicBlockUtils", "(", "MF", ")", ")", ";", "MF", ".", "RenumberBlocks", "(", ")", ";", "BBUtils", "->", "computeAllBlockSizes", "(", ")", ";", "BBUtils", "->", "adjustBBOffsetsAfter", "(", "&", "MF", ".", "front", "(", ")", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "*", "ML", ":", "*", "MLI", ")", "Changed", "|=", "processPostOrderLoops", "(", "ML", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "\"Running on \"", "\"\\n\"", "ARM", "ARM", "ARM"], "File": "ARMBlockPlacement", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11965, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SparcRegisterInfo", "::", "getRARegister", "(", ")", "const", "{", "llvm_unreachable", "(", "\"What is the return address register\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["This", "method", "should", "return", "the", "register", "where", "the", "return", "address", "can", "be", "found", "."], "TS_V_token": ["Sparc", "Sparc", "\"What is the return address register\"", "0"], "File": "SparcRegisterInfo8", "Func": "getRARegister", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11966, "Length": 17, "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", ")", ";", "}", ""], "natrual_language": ["Get", "target-customized", "preferences", "for", "the", "generic", "loop", "unrolling", "transformation", "."], "TS_V_token": ["AArch64", "AArch64", "1", "2", "0", "AArch64"], "File": "AArch64TargetTransformInfo16", "Func": "getUnrollingPreferences", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11967, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "valid_sf_si_move", "(", "rtx", "dest", ",", "rtx", "src", ",", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_ALLOW_SF_SUBREG", ")", "return", "true", ";", "if", "(", "mode", "!=", "SFmode", "&&", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_INT", ")", "return", "true", ";", "if", "(", "!", "SUBREG_P", "(", "src", ")", "||", "!", "sf_subreg_operand", "(", "src", ",", "mode", ")", ")", "return", "true", ";", "if", "(", "SUBREG_P", "(", "dest", ")", ")", "{", "rtx", "dest_subreg", "=", "SUBREG_REG", "(", "dest", ")", ";", "rtx", "src_subreg", "=", "SUBREG_REG", "(", "src", ")", ";", "return", "GET_MODE", "(", "dest_subreg", ")", "==", "GET_MODE", "(", "src_subreg", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "whether", "a", "SFmode", "or", "SImode", "move", "can", "be", "done", "without", "converting", "one", "mode", "to", "another", ".", "This", "arrises", "when", "we", "have", ":", "(", "SUBREG", ":", "SF", "(", "REG", ":", "SI", "...", ")", ")", "(", "SUBREG", ":", "SI", "(", "REG", ":", "SF", "...", ")", ")", "and", "one", "of", "the", "values", "is", "in", "a", "floating", "point/vector", "register", ",", "where", "SFmode", "scalars", "are", "stored", "in", "DFmode", "format", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "valid_sf_si_move", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11968, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_expand_movmemsi", "(", "rtx", "dstmem", ",", "rtx", "srcmem", ",", "rtx", "total_bytes", ",", "rtx", "alignment", ")", "{", "if", "(", "nds32_expand_movmemsi_unroll", "(", "dstmem", ",", "srcmem", ",", "total_bytes", ",", "alignment", ")", ")", "return", "true", ";", "if", "(", "!", "optimize_size", "&&", "optimize", ">", "2", ")", "return", "nds32_expand_movmemsi_loop", "(", "dstmem", ",", "srcmem", ",", "total_bytes", ",", "alignment", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Function", "to", "move", "block", "memory", "content", "by", "using", "load_multiple", "and", "store_multiple", ".", "This", "is", "auxiliary", "extern", "function", "to", "help", "create", "rtx", "template", ".", "Check", "nds32-multiple.md", "file", "for", "the", "patterns", "."], "TS_V_token": ["nds32", "2"], "File": "nds32-memory-manipulation5", "Func": "nds32_expand_movmemsi", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11969, "Length": 57, "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": 11970, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "VETargetLowering", "::", "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", ",", "getReturnCC", "(", "CallConv", ")", ")", ";", "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!\"", ")", ";", "SDValue", "OutVal", "=", "OutVals", "[", "i", "]", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "case", "CCValAssign", "::", "Full", ":", "break", ";", "case", "CCValAssign", "::", "SExt", ":", "OutVal", "=", "DAG", ".", "getNode", "(", "ISD", "::", "SIGN_EXTEND", ",", "DL", ",", "VA", ".", "getLocVT", "(", ")", ",", "OutVal", ")", ";", "break", ";", "case", "CCValAssign", "::", "ZExt", ":", "OutVal", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ZERO_EXTEND", ",", "DL", ",", "VA", ".", "getLocVT", "(", ")", ",", "OutVal", ")", ";", "break", ";", "case", "CCValAssign", "::", "AExt", ":", "OutVal", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ANY_EXTEND", ",", "DL", ",", "VA", ".", "getLocVT", "(", ")", ",", "OutVal", ")", ";", "break", ";", "case", "CCValAssign", "::", "BCvt", ":", "{", "assert", "(", "VA", ".", "getLocVT", "(", ")", "==", "MVT", "::", "i64", ")", ";", "assert", "(", "VA", ".", "getValVT", "(", ")", "==", "MVT", "::", "f32", ")", ";", "SDValue", "Undef", "=", "SDValue", "(", "DAG", ".", "getMachineNode", "(", "TargetOpcode", "::", "IMPLICIT_DEF", ",", "DL", ",", "MVT", "::", "i64", ")", ",", "0", ")", ";", "SDValue", "Sub_f32", "=", "DAG", ".", "getTargetConstant", "(", "VE", "::", "sub_f32", ",", "DL", ",", "MVT", "::", "i32", ")", ";", "OutVal", "=", "SDValue", "(", "DAG", ".", "getMachineNode", "(", "TargetOpcode", "::", "INSERT_SUBREG", ",", "DL", ",", "MVT", "::", "i64", ",", "Undef", ",", "OutVal", ",", "Sub_f32", ")", ",", "0", ")", ";", "break", ";", "}", "default", ":", "llvm_unreachable", "(", "\"Unknown loc info!\"", ")", ";", "}", "assert", "(", "!", "VA", ".", "needsCustom", "(", ")", "&&", "\"Unexpected custom lowering\"", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVal", ",", "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", "(", "VEISD", "::", "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": ["VE", "VE", "ISD::OutputArg", "16", "4", "1", "0", "\"Can only return in registers!\"", "ISD::SIGN_EXTEND", "ISD::ZERO_EXTEND", "ISD::ANY_EXTEND", "MVT::i64", "MVT::f32", "MVT::i64", "0", "VE::sub_f32", "MVT::i32", "MVT::i64", "0", "\"Unknown loc info!\"", "\"Unexpected custom lowering\"", "1", "0", "VEISD::RET_FLAG", "MVT::Other"], "File": "VEISelLowering1", "Func": "LowerReturn", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11971, "Length": 469, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMFrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "MutableArrayRef", "<", "CalleeSavedInfo", ">", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "bool", "isVarArg", "=", "AFI", "->", "getArgRegsSaveSize", "(", ")", ">", "0", ";", "unsigned", "NumAlignedDPRCS2Regs", "=", "AFI", "->", "getNumAlignedDPRCS2Regs", "(", ")", ";", "if", "(", "NumAlignedDPRCS2Regs", ")", "emitAlignedDPRCS2Restores", "(", "MBB", ",", "MI", ",", "NumAlignedDPRCS2Regs", ",", "CSI", ",", "TRI", ")", ";", "unsigned", "PopOpc", "=", "AFI", "->", "isThumbFunction", "(", ")", "?", "ARM", "::", "t2LDMIA_UPD", ":", "ARM", "::", "LDMIA_UPD", ";", "unsigned", "LdrOpc", "=", "AFI", "->", "isThumbFunction", "(", ")", "?", "ARM", "::", "t2LDR_POST", ":", "ARM", "::", "LDR_POST_IMM", ";", "unsigned", "FltOpc", "=", "ARM", "::", "VLDMDIA_UPD", ";", "emitPopInst", "(", "MBB", ",", "MI", ",", "CSI", ",", "FltOpc", ",", "0", ",", "isVarArg", ",", "true", ",", "&", "isARMArea3Register", ",", "NumAlignedDPRCS2Regs", ")", ";", "emitPopInst", "(", "MBB", ",", "MI", ",", "CSI", ",", "PopOpc", ",", "LdrOpc", ",", "isVarArg", ",", "false", ",", "&", "isARMArea2Register", ",", "0", ")", ";", "emitPopInst", "(", "MBB", ",", "MI", ",", "CSI", ",", "PopOpc", ",", "LdrOpc", ",", "isVarArg", ",", "false", ",", "&", "isARMArea1Register", ",", "0", ")", ";", "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_IMM", "ARM::VLDMDIA_UPD", "0", "ARM", "ARM", "0", "ARM", "0"], "File": "ARMFrameLowering100", "Func": "restoreCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11972, "Length": 210, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "r10k_safe_mem_expr_p", "(", "tree", "expr", ",", "unsigned", "HOST_WIDE_INT", "offset", ")", "{", "HOST_WIDE_INT", "bitoffset", ",", "bitsize", ";", "tree", "inner", ",", "var_offset", ";", "machine_mode", "mode", ";", "int", "unsigned_p", ",", "reverse_p", ",", "volatile_p", ";", "inner", "=", "get_inner_reference", "(", "expr", ",", "&", "bitsize", ",", "&", "bitoffset", ",", "&", "var_offset", ",", "&", "mode", ",", "&", "unsigned_p", ",", "&", "reverse_p", ",", "&", "volatile_p", ")", ";", "if", "(", "!", "DECL_P", "(", "inner", ")", "||", "!", "DECL_SIZE_UNIT", "(", "inner", ")", "||", "var_offset", ")", "return", "false", ";", "offset", "+=", "bitoffset", "/", "BITS_PER_UNIT", ";", "return", "offset", "<", "tree_to_uhwi", "(", "DECL_SIZE_UNIT", "(", "inner", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "MEM", "with", "MEM_EXPR", "EXPR", "and", "MEM_OFFSET", "OFFSET", "is", "an", "in-range", "access", "to", "an", "automatic", "variable", ",", "or", "to", "an", "object", "with", "a", "link-time-constant", "address", "."], "TS_V_token": ["mips"], "File": "mips6", "Func": "r10k_safe_mem_expr_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11973, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreEmitPass2", "(", ")", "{", "const", "Triple", "&", "TT", "=", "TM", "->", "getTargetTriple", "(", ")", ";", "const", "MCAsmInfo", "*", "MAI", "=", "TM", "->", "getMCAsmInfo", "(", ")", ";", "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", "(", "createX86LoadValueInjectionRetHardeningPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "may", "add", "passes", "immediately", "before", "machine", "code", "is", "emitted", "in", "this", "callback", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86"], "File": "X86TargetMachine16", "Func": "addPreEmitPass2", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11974, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_sve_op_count", "::", "dump", "(", ")", "const", "{", "aarch64_vec_op_count", "::", "dump", "(", ")", ";", "dump_printf_loc", "(", "MSG_NOTE", ",", "vect_location", ",", "\" predicate operations = %d\\n\"", ",", "pred_ops", ")", ";", "}", ""], "natrual_language": ["Dump", "information", "about", "the", "structure", "."], "TS_V_token": ["aarch64", "aarch64_vec_op_count::dump", "\" predicate operations = %d\\n\""], "File": "aarch641", "Func": "dump", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11975, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "aarch64_fold_builtin", "(", "tree", "fndecl", ",", "int", "nargs", ",", "tree", "*", "args", ",", "bool", ")", "{", "unsigned", "int", "code", "=", "DECL_MD_FUNCTION_CODE", "(", "fndecl", ")", ";", "unsigned", "int", "subcode", "=", "code", ">>", "AARCH64_BUILTIN_SHIFT", ";", "tree", "type", "=", "TREE_TYPE", "(", "TREE_TYPE", "(", "fndecl", ")", ")", ";", "switch", "(", "code", "&", "AARCH64_BUILTIN_CLASS", ")", "{", "case", "AARCH64_BUILTIN_GENERAL", ":", "return", "aarch64_general_fold_builtin", "(", "subcode", ",", "type", ",", "nargs", ",", "args", ")", ";", "case", "AARCH64_BUILTIN_SVE", ":", "return", "NULL_TREE", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FOLD_BUILTIN", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_fold_builtin", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11976, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_legitimize_move", "(", "machine_mode", "mode", ",", "rtx", "dest", ",", "rtx", "src", ")", "{", "if", "(", "!", "register_operand", "(", "dest", ",", "mode", ")", "&&", "!", "register_operand", "(", "src", ",", "mode", ")", "&&", "(", "TARGET_MIPS16", "||", "!", "const_0_operand", "(", "src", ",", "mode", ")", "||", "MSA_SUPPORTED_MODE_P", "(", "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": "mips", "Func": "mips_legitimize_move", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11977, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TTI", "::", "getIntImmCost", "(", "Intrinsic", "::", "ID", "IID", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "const", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", ")", "return", "~", "0U", ";", "switch", "(", "IID", ")", "{", "default", ":", "return", "TargetTransformInfo", "::", "getIntImmCost", "(", "IID", ",", "Imm", ",", "Ty", ")", ";", "case", "Intrinsic", "::", "sadd_with_overflow", ":", "case", "Intrinsic", "::", "uadd_with_overflow", ":", "case", "Intrinsic", "::", "ssub_with_overflow", ":", "case", "Intrinsic", "::", "usub_with_overflow", ":", "case", "Intrinsic", "::", "smul_with_overflow", ":", "case", "Intrinsic", "::", "umul_with_overflow", ":", "if", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", "&&", "isInt", "<", "32", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "return", "TCC_Free", ";", "else", "return", "X86TTI", "::", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "case", "Intrinsic", "::", "experimental_stackmap", ":", "case", "Intrinsic", "::", "experimental_patchpoint_void", ":", "case", "Intrinsic", "::", "experimental_patchpoint_i64", ":", "if", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", "&&", "isInt", "<", "64", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "return", "TCC_Free", ";", "else", "return", "X86TTI", "::", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "}", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["X86", "X86", "Intrinsic::ID", "0", "0U", "Intrinsic::sadd_with_overflow", "Intrinsic::uadd_with_overflow", "Intrinsic::ssub_with_overflow", "Intrinsic::usub_with_overflow", "Intrinsic::smul_with_overflow", "Intrinsic::umul_with_overflow", "64", "32", "X86", "Intrinsic::experimental_stackmap", "Intrinsic::experimental_patchpoint_void", "Intrinsic::experimental_patchpoint_i64", "64", "64", "X86"], "File": "X86TargetTransformInfo33", "Func": "getIntImmCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11978, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmParser", "::", "emitInstruction", "(", "MCInst", "&", "Inst", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ")", "{", "if", "(", "LVIInlineAsmHardening", "&&", "getSTI", "(", ")", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "FeatureLVIControlFlowIntegrity", "]", ")", "applyLVICFIMitigation", "(", "Inst", ",", "Out", ")", ";", "Out", ".", "emitInstruction", "(", "Inst", ",", "getSTI", "(", ")", ")", ";", "if", "(", "LVIInlineAsmHardening", "&&", "getSTI", "(", ")", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "FeatureLVILoadHardening", "]", ")", "applyLVILoadHardeningMitigation", "(", "Inst", ",", "Out", ")", ";", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["X86", "X86", "X86::FeatureLVIControlFlowIntegrity", "X86::FeatureLVILoadHardening"], "File": "X86AsmParser (2)4", "Func": "emitInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11979, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SICInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "O", ")", ")", "printInstruction", "(", "MI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["SIC", "SIC"], "File": "SICInstPrinter", "Func": "printInst", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11980, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MMIXInstrInfo", "::", "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", "(", "MMIX", "::", "GPRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "MMIX", "::", "STO_I", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "IsKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "}", "else", "if", "(", "MMIX", "::", "SRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "MMIX", "::", "GET", ")", ")", ".", "addReg", "(", "MMIX", "::", "r252", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "SrcReg", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "MMIX", "::", "STO_I", ")", ")", ".", "addReg", "(", "MMIX", "::", "r252", ",", "RegState", "::", "Kill", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "}", "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": ["MMIX", "MMIX", "MMIX::GPRRegClass", "MMIX::STO_I", "0", "MMIX::SRRegClass", "MMIX::GET", "MMIX::r252", "MMIX::STO_I", "MMIX::r252", "0", "\"Can't store this register to stack slot\""], "File": "MMIXInstrInfo", "Func": "storeRegToStackSlot", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11981, "Length": 197, "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": 11982, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "const", "TargetRegisterClass", "*", ",", "uint8_t", ">", "ARMTargetLowering", "::", "findRepresentativeClass", "(", "EVT", "VT", ")", "const", "{", "const", "TargetRegisterClass", "*", "RRC", "=", "0", ";", "uint8_t", "Cost", "=", "1", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "return", "TargetLowering", "::", "findRepresentativeClass", "(", "VT", ")", ";", "case", "MVT", "::", "f32", ":", "case", "MVT", "::", "f64", ":", "case", "MVT", "::", "v8i8", ":", "case", "MVT", "::", "v4i16", ":", "case", "MVT", "::", "v2i32", ":", "case", "MVT", "::", "v1i64", ":", "case", "MVT", "::", "v2f32", ":", "RRC", "=", "ARM", "::", "DPRRegisterClass", ";", "break", ";", "case", "MVT", "::", "v16i8", ":", "case", "MVT", "::", "v8i16", ":", "case", "MVT", "::", "v4i32", ":", "case", "MVT", "::", "v2i64", ":", "case", "MVT", "::", "v4f32", ":", "case", "MVT", "::", "v2f64", ":", "RRC", "=", "ARM", "::", "DPRRegisterClass", ";", "Cost", "=", "2", ";", "break", ";", "case", "MVT", "::", "v4i64", ":", "RRC", "=", "ARM", "::", "DPRRegisterClass", ";", "Cost", "=", "4", ";", "break", ";", "case", "MVT", "::", "v8i64", ":", "RRC", "=", "ARM", "::", "DPRRegisterClass", ";", "Cost", "=", "8", ";", "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": ["ARM", "ARM", "0", "1", "MVT::f32", "MVT::f64", "MVT::v8i8", "MVT::v4i16", "MVT::v2i32", "MVT::v1i64", "MVT::v2f32", "ARM::DPRRegisterClass", "MVT::v16i8", "MVT::v8i16", "MVT::v4i32", "MVT::v2i64", "MVT::v4f32", "MVT::v2f64", "ARM::DPRRegisterClass", "2", "MVT::v4i64", "ARM::DPRRegisterClass", "4", "MVT::v8i64", "ARM::DPRRegisterClass", "8"], "File": "ARMISelLowering54", "Func": "findRepresentativeClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11983, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsFunctionInfo", "::", "getGlobalBaseReg", "(", ")", "{", "if", "(", "GlobalBaseReg", ")", "return", "GlobalBaseReg", ";", "const", "TargetRegisterClass", "*", "RC", "=", "static_cast", "<", "const", "MipsSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ".", "inMips16Mode", "(", ")", "?", "&", "Mips", "::", "CPU16RegsRegClass", ":", "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::CPU16RegsRegClass", "Mips", "Mips::GPR64RegClass", "Mips::GPR32RegClass"], "File": "MipsMachineFunction14", "Func": "getGlobalBaseReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11984, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "SelectAddressPCRel", "(", "SDValue", "N", ",", "SDValue", "&", "Base", ")", "const", "{", "Base", "=", "N", ";", "if", "(", "N", ".", "getOpcode", "(", ")", "==", "PPCISD", "::", "MAT_PCREL_ADDR", ")", "return", "true", ";", "if", "(", "isValidPCRelNode", "<", "ConstantPoolSDNode", ">", "(", "N", ")", "||", "isValidPCRelNode", "<", "GlobalAddressSDNode", ">", "(", "N", ")", "||", "isValidPCRelNode", "<", "JumpTableSDNode", ">", "(", "N", ")", "||", "isValidPCRelNode", "<", "BlockAddressSDNode", ">", "(", "N", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["SelectAddressPCRel", "-", "Represent", "the", "specified", "address", "as", "pc", "relative", "to", "be", "represented", "as", "[", "pc+imm", "]", "."], "TS_V_token": ["PowerPC", "PPC", "PPCISD::MAT_PCREL_ADDR"], "File": "PPCISelLowering100", "Func": "SelectAddressPCRel", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11985, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "override", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "MMIX", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_mmix_rel_16\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_mmix_rel_24\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_mmix_h\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_mmix_mh\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_mmix_ml\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_mmix_l\"", ",", "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": ["MMIX", "MMIX::NumTargetFixupKinds", "\"fixup_mmix_rel_16\"", "0", "32", "\"fixup_mmix_rel_24\"", "0", "32", "\"fixup_mmix_h\"", "0", "16", "0", "\"fixup_mmix_mh\"", "0", "16", "0", "\"fixup_mmix_ml\"", "0", "16", "0", "\"fixup_mmix_l\"", "0", "16", "0", "\"Invalid kind!\""], "File": "MMIXAsmBackend", "Func": "getFixupKindInfo", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11986, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "get_num_immediates", "(", "rtx_insn", "*", "insn", ",", "int", "*", "imm", ",", "int", "*", "imm32", ",", "int", "*", "imm64", ")", "{", "imm_info", "imm_values", "=", "{", "0", ",", "0", ",", "0", "}", ";", "find_constant", "(", "insn", ",", "&", "imm_values", ")", ";", "*", "imm", "=", "imm_values", ".", "imm", ";", "*", "imm32", "=", "imm_values", ".", "imm32", ";", "*", "imm64", "=", "imm_values", ".", "imm64", ";", "return", "imm_values", ".", "imm32", "*", "4", "+", "imm_values", ".", "imm64", "*", "8", ";", "}", ""], "natrual_language": ["Return", "total", "size", "of", "immediate", "operands", "of", "an", "instruction", "along", "with", "number", "of", "corresponding", "immediate-operands", ".", "It", "initializes", "its", "parameters", "to", "zero", "befor", "calling", "FIND_CONSTANT", ".", "INSN", "is", "the", "input", "instruction", ".", "IMM", "is", "the", "total", "of", "immediates", ".", "IMM32", "is", "the", "number", "of", "32", "bit", "immediates", ".", "IMM64", "is", "the", "number", "of", "64", "bit", "immediates", "."], "TS_V_token": ["i386", "0", "0", "0", "4", "8"], "File": "i3865", "Func": "get_num_immediates", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11987, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "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", "=", "TREE_CHAIN", "(", "f_next_o", ")", ";", "f_next_fp", "=", "TREE_CHAIN", "(", "f_next_o_limit", ")", ";", "f_next_fp_limit", "=", "TREE_CHAIN", "(", "f_next_fp", ")", ";", "f_next_stack", "=", "TREE_CHAIN", "(", "f_next_fp_limit", ")", ";", "next_o", "=", "build", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_next_o", ")", ",", "valist", ",", "f_next_o", ",", "NULL_TREE", ")", ";", "next_o_limit", "=", "build", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_next_o_limit", ")", ",", "valist", ",", "f_next_o_limit", ",", "NULL_TREE", ")", ";", "next_fp", "=", "build", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_next_fp", ")", ",", "valist", ",", "f_next_fp", ",", "NULL_TREE", ")", ";", "next_fp_limit", "=", "build", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_next_fp_limit", ")", ",", "valist", ",", "f_next_fp_limit", ",", "NULL_TREE", ")", ";", "next_stack", "=", "build", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_next_stack", ")", ",", "valist", ",", "f_next_stack", ",", "NULL_TREE", ")", ";", "u", "=", "make_tree", "(", "ptr_type_node", ",", "expand_builtin_saveregs", "(", ")", ")", ";", "t", "=", "build", "(", "MODIFY_EXPR", ",", "ptr_type_node", ",", "next_fp", ",", "u", ")", ";", "TREE_SIDE_EFFECTS", "(", "t", ")", "=", "1", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "nfp", "=", "current_function_args_info", ".", "arg_count", "[", "SH_ARG_FLOAT", "]", ";", "if", "(", "nfp", "<", "8", ")", "nfp", "=", "8", "-", "nfp", ";", "else", "nfp", "=", "0", ";", "u", "=", "fold", "(", "build", "(", "PLUS_EXPR", ",", "ptr_type_node", ",", "u", ",", "build_int_cst", "(", "NULL_TREE", ",", "UNITS_PER_WORD", "*", "nfp", ")", ")", ")", ";", "t", "=", "build", "(", "MODIFY_EXPR", ",", "ptr_type_node", ",", "next_fp_limit", ",", "u", ")", ";", "TREE_SIDE_EFFECTS", "(", "t", ")", "=", "1", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "t", "=", "build", "(", "MODIFY_EXPR", ",", "ptr_type_node", ",", "next_o", ",", "u", ")", ";", "TREE_SIDE_EFFECTS", "(", "t", ")", "=", "1", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "nint", "=", "current_function_args_info", ".", "arg_count", "[", "SH_ARG_INT", "]", ";", "if", "(", "nint", "<", "4", ")", "nint", "=", "4", "-", "nint", ";", "else", "nint", "=", "0", ";", "u", "=", "fold", "(", "build", "(", "PLUS_EXPR", ",", "ptr_type_node", ",", "u", ",", "build_int_cst", "(", "NULL_TREE", ",", "UNITS_PER_WORD", "*", "nint", ")", ")", ")", ";", "t", "=", "build", "(", "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", "=", "build", "(", "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": "sh3", "Func": "sh_va_start", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11988, "Length": 487, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_comp_type_attributes", "(", "const_tree", "type1", ",", "const_tree", "type2", ")", "{", "int", "l1", ",", "l2", ",", "s1", ",", "s2", ";", "tree", "attrs1", "=", "lookup_attribute", "(", "\"Advanced SIMD type\"", ",", "TYPE_ATTRIBUTES", "(", "type1", ")", ")", ";", "tree", "attrs2", "=", "lookup_attribute", "(", "\"Advanced SIMD type\"", ",", "TYPE_ATTRIBUTES", "(", "type2", ")", ")", ";", "if", "(", "bool", "(", "attrs1", ")", "!=", "bool", "(", "attrs2", ")", ")", "return", "0", ";", "if", "(", "attrs1", "&&", "!", "attribute_value_equal", "(", "attrs1", ",", "attrs2", ")", ")", "return", "0", ";", "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", ";", "s1", "=", "lookup_attribute", "(", "\"short_call\"", ",", "TYPE_ATTRIBUTES", "(", "type1", ")", ")", "!=", "NULL", ";", "s2", "=", "lookup_attribute", "(", "\"short_call\"", ",", "TYPE_ATTRIBUTES", "(", "type2", ")", ")", "!=", "NULL", ";", "if", "(", "l1", "|", "l2", "|", "s1", "|", "s2", ")", "{", "if", "(", "(", "l1", "!=", "l2", ")", "||", "(", "s1", "!=", "s2", ")", ")", "return", "0", ";", "if", "(", "(", "l1", "&", "s2", ")", "||", "(", "l2", "&", "s1", ")", ")", "return", "0", ";", "}", "l1", "=", "lookup_attribute", "(", "\"isr\"", ",", "TYPE_ATTRIBUTES", "(", "type1", ")", ")", "!=", "NULL", ";", "if", "(", "!", "l1", ")", "l1", "=", "lookup_attribute", "(", "\"interrupt\"", ",", "TYPE_ATTRIBUTES", "(", "type1", ")", ")", "!=", "NULL", ";", "l2", "=", "lookup_attribute", "(", "\"isr\"", ",", "TYPE_ATTRIBUTES", "(", "type2", ")", ")", "!=", "NULL", ";", "if", "(", "!", "l2", ")", "l1", "=", "lookup_attribute", "(", "\"interrupt\"", ",", "TYPE_ATTRIBUTES", "(", "type2", ")", ")", "!=", "NULL", ";", "if", "(", "l1", "!=", "l2", ")", "return", "0", ";", "l1", "=", "lookup_attribute", "(", "\"cmse_nonsecure_call\"", ",", "TYPE_ATTRIBUTES", "(", "type1", ")", ")", "!=", "NULL", ";", "l2", "=", "lookup_attribute", "(", "\"cmse_nonsecure_call\"", ",", "TYPE_ATTRIBUTES", "(", "type2", ")", ")", "!=", "NULL", ";", "if", "(", "l1", "!=", "l2", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "0", "if", "the", "attributes", "for", "two", "types", "are", "incompatible", ",", "1", "if", "they", "are", "compatible", ",", "and", "2", "if", "they", "are", "nearly", "compatible", "(", "which", "causes", "a", "warning", "to", "be", "generated", ")", "."], "TS_V_token": ["arm", "\"Advanced SIMD type\"", "\"Advanced SIMD type\"", "0", "0", "1", "\"long_call\"", "\"long_call\"", "\"short_call\"", "\"short_call\"", "0", "0", "\"isr\"", "\"interrupt\"", "\"isr\"", "\"interrupt\"", "0", "\"cmse_nonsecure_call\"", "\"cmse_nonsecure_call\"", "0", "1"], "File": "arm", "Func": "arm_comp_type_attributes", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11989, "Length": 306, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_return_in_msb", "(", "tree", "valtype", ")", "{", "return", "(", "TARGET_AAPCS_BASED", "&&", "BYTES_BIG_ENDIAN", "&&", "(", "AGGREGATE_TYPE_P", "(", "valtype", ")", "||", "TREE_CODE", "(", "valtype", ")", "==", "COMPLEX_TYPE", ")", ")", ";", "}", ""], "natrual_language": ["Values", "which", "must", "be", "returned", "in", "the", "most-significant", "end", "of", "the", "return", "register", "."], "TS_V_token": ["arm"], "File": "arm3", "Func": "arm_return_in_msb", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11990, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "reg_offset_addressing_ok_p", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "V16QImode", ":", "case", "V8HImode", ":", "case", "V4SFmode", ":", "case", "V4SImode", ":", "case", "V2DFmode", ":", "case", "V2DImode", ":", "case", "V1TImode", ":", "case", "TImode", ":", "case", "TFmode", ":", "case", "KFmode", ":", "if", "(", "VECTOR_MEM_ALTIVEC_OR_VSX_P", "(", "mode", ")", ")", "return", "false", ";", "break", ";", "case", "V4HImode", ":", "case", "V2SImode", ":", "case", "V1DImode", ":", "case", "V2SFmode", ":", "if", "(", "TARGET_PAIRED_FLOAT", ")", "return", "false", ";", "break", ";", "case", "SDmode", ":", "if", "(", "TARGET_NO_SDMODE_STACK", ")", "return", "false", ";", "break", ";", "default", ":", "break", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Subroutines", "of", "rs6000_legitimize_address", "and", "rs6000_legitimate_address_p", "."], "TS_V_token": ["rs6000"], "File": "rs60005", "Func": "reg_offset_addressing_ok_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11991, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "sh_handle_interrupt_handler_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", "``", "interrupt_handler", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["sh", "\"%qE attribute only applies to functions\""], "File": "sh", "Func": "sh_handle_interrupt_handler_attribute", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11992, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TargetLowering", "::", "getVectorTypeBreakdownForCallingConv", "(", "LLVMContext", "&", "Context", ",", "CallingConv", "::", "ID", "CC", ",", "EVT", "VT", ",", "EVT", "&", "IntermediateVT", ",", "unsigned", "&", "NumIntermediates", ",", "MVT", "&", "RegisterVT", ")", "const", "{", "if", "(", "VT", ".", "isVector", "(", ")", "&&", "VT", ".", "getVectorElementType", "(", ")", "==", "MVT", "::", "i1", "&&", "Subtarget", ".", "hasAVX512", "(", ")", "&&", "(", "!", "isPowerOf2_32", "(", "VT", ".", "getVectorNumElements", "(", ")", ")", "||", "(", "VT", ".", "getVectorNumElements", "(", ")", ">", "16", "&&", "!", "Subtarget", ".", "hasBWI", "(", ")", ")", "||", "(", "VT", ".", "getVectorNumElements", "(", ")", ">", "64", "&&", "Subtarget", ".", "hasBWI", "(", ")", ")", ")", ")", "{", "RegisterVT", "=", "MVT", "::", "i8", ";", "IntermediateVT", "=", "MVT", "::", "i1", ";", "NumIntermediates", "=", "VT", ".", "getVectorNumElements", "(", ")", ";", "return", "NumIntermediates", ";", "}", "if", "(", "VT", "==", "MVT", "::", "v64i1", "&&", "Subtarget", ".", "hasBWI", "(", ")", "&&", "!", "Subtarget", ".", "useAVX512Regs", "(", ")", "&&", "CC", "!=", "CallingConv", "::", "X86_RegCall", ")", "{", "RegisterVT", "=", "MVT", "::", "v32i1", ";", "IntermediateVT", "=", "MVT", "::", "v32i1", ";", "NumIntermediates", "=", "2", ";", "return", "2", ";", "}", "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": ["X86", "X86", "MVT::i1", "16", "64", "MVT::i8", "MVT::i1", "MVT::v64i1", "X86", "MVT::v32i1", "MVT::v32i1", "2", "2"], "File": "X86ISelLowering (2)6", "Func": "getVectorTypeBreakdownForCallingConv", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11993, "Length": 192, "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": ["LoongArch", "\"Invalid type access!\""], "File": "LoongArchAsmParser", "Func": "getReg", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11994, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsSEInstrInfo", "::", "loadImmediate", "(", "int64_t", "Imm", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "II", ",", "DebugLoc", "DL", ",", "unsigned", "*", "NewImm", ")", "const", "{", "MipsAnalyzeImmediate", "AnalyzeImm", ";", "const", "MipsSubtarget", "&", "STI", "=", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "unsigned", "Size", "=", "STI", ".", "isABI_N64", "(", ")", "?", "64", ":", "32", ";", "unsigned", "LUi", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "LUi64", ":", "Mips", "::", "LUi", ";", "unsigned", "ZEROReg", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "ZERO_64", ":", "Mips", "::", "ZERO", ";", "const", "TargetRegisterClass", "*", "RC", "=", "STI", ".", "isABI_N64", "(", ")", "?", "&", "Mips", "::", "GPR64RegClass", ":", "&", "Mips", "::", "GPR32RegClass", ";", "bool", "LastInstrIsADDiu", "=", "NewImm", ";", "const", "MipsAnalyzeImmediate", "::", "InstSeq", "&", "Seq", "=", "AnalyzeImm", ".", "Analyze", "(", "Imm", ",", "Size", ",", "LastInstrIsADDiu", ")", ";", "MipsAnalyzeImmediate", "::", "InstSeq", "::", "const_iterator", "Inst", "=", "Seq", ".", "begin", "(", ")", ";", "assert", "(", "Seq", ".", "size", "(", ")", "&&", "(", "!", "LastInstrIsADDiu", "||", "(", "Seq", ".", "size", "(", ")", ">", "1", ")", ")", ")", ";", "unsigned", "Reg", "=", "RegInfo", ".", "createVirtualRegister", "(", "RC", ")", ";", "if", "(", "Inst", "->", "Opc", "==", "LUi", ")", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "get", "(", "LUi", ")", ",", "Reg", ")", ".", "addImm", "(", "SignExtend64", "<", "16", ">", "(", "Inst", "->", "ImmOpnd", ")", ")", ";", "else", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "get", "(", "Inst", "->", "Opc", ")", ",", "Reg", ")", ".", "addReg", "(", "ZEROReg", ")", ".", "addImm", "(", "SignExtend64", "<", "16", ">", "(", "Inst", "->", "ImmOpnd", ")", ")", ";", "for", "(", "++", "Inst", ";", "Inst", "!=", "Seq", ".", "end", "(", ")", "-", "LastInstrIsADDiu", ";", "++", "Inst", ")", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "get", "(", "Inst", "->", "Opc", ")", ",", "Reg", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "SignExtend64", "<", "16", ">", "(", "Inst", "->", "ImmOpnd", ")", ")", ";", "if", "(", "LastInstrIsADDiu", ")", "*", "NewImm", "=", "Inst", "->", "ImmOpnd", ";", "return", "Reg", ";", "}", ""], "natrual_language": ["Emit", "a", "series", "of", "instructions", "to", "load", "an", "immediate", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "64", "32", "Mips::LUi64", "Mips::LUi", "Mips::ZERO_64", "Mips::ZERO", "Mips::GPR64RegClass", "Mips::GPR32RegClass", "Mips", "Mips", "1", "16", "16", "16"], "File": "MipsSEInstrInfo15", "Func": "loadImmediate", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11995, "Length": 342, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx_insn", "*", "thumb1_md_asm_adjust", "(", "vec", "<", "rtx", ">", "&", "outputs", ",", "vec", "<", "rtx", ">", "&", ",", "vec", "<", "machine_mode", ">", "&", ",", "vec", "<", "const", "char", "*", ">", "&", "constraints", ",", "vec", "<", "rtx", ">", "&", ",", "HARD_REG_SET", "&", ")", "{", "for", "(", "unsigned", "i", "=", "0", ",", "n", "=", "outputs", ".", "length", "(", ")", ";", "i", "<", "n", ";", "++", "i", ")", "if", "(", "strncmp", "(", "constraints", "[", "i", "]", ",", "\"=@cc\"", ",", "4", ")", "==", "0", ")", "{", "sorry", "(", "\"asm flags not supported in thumb1 mode\"", ")", ";", "break", ";", "}", "return", "NULL", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_MD_ASM_ADJUST", ",", "while", "in", "thumb1", "mode", ".", "Unlike", "the", "arm", "version", ",", "we", "do", "NOT", "implement", "asm", "flag", "outputs", "."], "TS_V_token": ["arm", "0", "\"=@cc\"", "4", "0", "\"asm flags not supported in thumb1 mode\""], "File": "arm1", "Func": "thumb1_md_asm_adjust", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11996, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_check_builtin_isa_match", "(", "unsigned", "int", "fcode", ",", "HOST_WIDE_INT", "*", "pbisa", ",", "HOST_WIDE_INT", "*", "pbisa2", ")", "{", "HOST_WIDE_INT", "isa", "=", "ix86_isa_flags", ";", "HOST_WIDE_INT", "isa2", "=", "ix86_isa_flags2", ";", "HOST_WIDE_INT", "bisa", "=", "ix86_builtins_isa", "[", "fcode", "]", ".", "isa", ";", "HOST_WIDE_INT", "bisa2", "=", "ix86_builtins_isa", "[", "fcode", "]", ".", "isa2", ";", "if", "(", "(", "(", "bisa", "&", "(", "OPTION_MASK_ISA_SSE", "|", "OPTION_MASK_ISA_3DNOW_A", ")", ")", "==", "(", "OPTION_MASK_ISA_SSE", "|", "OPTION_MASK_ISA_3DNOW_A", ")", ")", "&&", "(", "isa", "&", "(", "OPTION_MASK_ISA_SSE", "|", "OPTION_MASK_ISA_3DNOW_A", ")", ")", "!=", "0", ")", "isa", "|=", "(", "OPTION_MASK_ISA_SSE", "|", "OPTION_MASK_ISA_3DNOW_A", ")", ";", "if", "(", "(", "(", "bisa", "&", "(", "OPTION_MASK_ISA_SSE4_2", "|", "OPTION_MASK_ISA_CRC32", ")", ")", "==", "(", "OPTION_MASK_ISA_SSE4_2", "|", "OPTION_MASK_ISA_CRC32", ")", ")", "&&", "(", "isa", "&", "(", "OPTION_MASK_ISA_SSE4_2", "|", "OPTION_MASK_ISA_CRC32", ")", ")", "!=", "0", ")", "isa", "|=", "(", "OPTION_MASK_ISA_SSE4_2", "|", "OPTION_MASK_ISA_CRC32", ")", ";", "if", "(", "(", "(", "bisa", "&", "(", "OPTION_MASK_ISA_FMA", "|", "OPTION_MASK_ISA_FMA4", ")", ")", "==", "(", "OPTION_MASK_ISA_FMA", "|", "OPTION_MASK_ISA_FMA4", ")", ")", "&&", "(", "isa", "&", "(", "OPTION_MASK_ISA_FMA", "|", "OPTION_MASK_ISA_FMA4", ")", ")", "!=", "0", ")", "isa", "|=", "(", "OPTION_MASK_ISA_FMA", "|", "OPTION_MASK_ISA_FMA4", ")", ";", "if", "(", "(", "(", "(", "bisa", "&", "(", "OPTION_MASK_ISA_AVX512VNNI", "|", "OPTION_MASK_ISA_AVX512VL", ")", ")", "==", "(", "OPTION_MASK_ISA_AVX512VNNI", "|", "OPTION_MASK_ISA_AVX512VL", ")", ")", "||", "(", "bisa2", "&", "OPTION_MASK_ISA2_AVXVNNI", ")", "!=", "0", ")", "&&", "(", "(", "(", "isa", "&", "(", "OPTION_MASK_ISA_AVX512VNNI", "|", "OPTION_MASK_ISA_AVX512VL", ")", ")", "==", "(", "OPTION_MASK_ISA_AVX512VNNI", "|", "OPTION_MASK_ISA_AVX512VL", ")", ")", "||", "(", "isa2", "&", "OPTION_MASK_ISA2_AVXVNNI", ")", "!=", "0", ")", ")", "{", "isa", "|=", "OPTION_MASK_ISA_AVX512VNNI", "|", "OPTION_MASK_ISA_AVX512VL", ";", "isa2", "|=", "OPTION_MASK_ISA2_AVXVNNI", ";", "}", "if", "(", "(", "bisa", "&", "OPTION_MASK_ISA_MMX", ")", "&&", "!", "TARGET_MMX", "&&", "TARGET_MMX_WITH_SSE", "&&", "fcode", "!=", "IX86_BUILTIN_MASKMOVQ", ")", "{", "bisa", "&=", "~", "OPTION_MASK_ISA_MMX", ";", "bisa", "|=", "OPTION_MASK_ISA_SSE2", ";", "}", "if", "(", "pbisa", ")", "*", "pbisa", "=", "bisa", ";", "if", "(", "pbisa2", ")", "*", "pbisa2", "=", "bisa2", ";", "return", "(", "bisa", "&", "isa", ")", "==", "bisa", "&&", "(", "bisa2", "&", "isa2", ")", "==", "bisa2", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "necessary", "isa", "options", "for", "this", "builtin", "exist", ",", "else", "false", ".", "fcode", "=", "DECL_MD_FUNCTION_CODE", "(", "fndecl", ")", ";"], "TS_V_token": ["i386", "0", "0", "0", "0", "0"], "File": "i386-expand", "Func": "ix86_check_builtin_isa_match", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11997, "Length": 300, "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": ["powerpcspe", "128", "\"the layout of aggregates containing vectors with\"", "\" %d-byte alignment has changed in GCC 5\""], "File": "powerpcspe", "Func": "rs6000_special_adjust_field_align_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 11998, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsFastISel", "::", "fastMaterializeAlloca", "(", "const", "AllocaInst", "*", "AI", ")", "{", "if", "(", "!", "TargetSupported", ")", "return", "0", ";", "assert", "(", "TLI", ".", "getValueType", "(", "DL", ",", "AI", "->", "getType", "(", ")", ",", "true", ")", "==", "MVT", "::", "i32", "&&", "\"Alloca should always return a pointer.\"", ")", ";", "DenseMap", "<", "const", "AllocaInst", "*", ",", "int", ">", "::", "iterator", "SI", "=", "FuncInfo", ".", "StaticAllocaMap", ".", "find", "(", "AI", ")", ";", "if", "(", "SI", "!=", "FuncInfo", ".", "StaticAllocaMap", ".", "end", "(", ")", ")", "{", "unsigned", "ResultReg", "=", "createResultReg", "(", "&", "Mips", "::", "GPR32RegClass", ")", ";", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "TII", ".", "get", "(", "Mips", "::", "LEA_ADDiu", ")", ",", "ResultReg", ")", ".", "addFrameIndex", "(", "SI", "->", "second", ")", ".", "addImm", "(", "0", ")", ";", "return", "ResultReg", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Emit", "an", "alloca", "address", "in", "a", "register", "using", "target-specific", "logic", "."], "TS_V_token": ["Mips", "Mips", "0", "MVT::i32", "\"Alloca should always return a pointer.\"", "Mips::GPR32RegClass", "Mips::LEA_ADDiu", "0", "0"], "File": "MipsFastISel", "Func": "fastMaterializeAlloca", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11999, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "getStackAddress", "(", "uint64_t", "Size", ",", "int64_t", "Offset", ",", "MachinePointerInfo", "&", "MPO", ")", "override", "{", "auto", "&", "MFI", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getFrameInfo", "(", ")", ";", "int", "FI", "=", "MFI", ".", "CreateFixedObject", "(", "Size", ",", "Offset", ",", "true", ")", ";", "MPO", "=", "MachinePointerInfo", "::", "getFixedStack", "(", "MIRBuilder", ".", "getMF", "(", ")", ",", "FI", ")", ";", "Register", "AddrReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "LLT", "::", "pointer", "(", "0", ",", "DL", ".", "getPointerSizeInBits", "(", "0", ")", ")", ")", ";", "MIRBuilder", ".", "buildFrameIndex", "(", "AddrReg", ",", "FI", ")", ";", "return", "AddrReg", ";", "}", ""], "natrual_language": ["Materialize", "a", "VReg", "containing", "the", "address", "of", "the", "specified", "stack-based", "object", "."], "TS_V_token": ["X86", "0", "0"], "File": "X86CallLowering14", "Func": "getStackAddress", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12000, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CSKYSubtarget", "&", "CSKYSubtarget", "::", "initializeSubtargetDependencies", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPUName", ",", "StringRef", "TuneCPUName", ",", "StringRef", "FS", ")", "{", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", "=", "\"generic\"", ";", "if", "(", "TuneCPUName", ".", "empty", "(", ")", ")", "TuneCPUName", "=", "CPUName", ";", "HasE1", "=", "false", ";", "HasE2", "=", "false", ";", "Has2E3", "=", "false", ";", "HasMP", "=", "false", ";", "Has3E3r1", "=", "false", ";", "Has3r1E3r2", "=", "false", ";", "Has3r2E3r3", "=", "false", ";", "Has3E7", "=", "false", ";", "HasMP1E2", "=", "false", ";", "Has7E10", "=", "false", ";", "Has10E60", "=", "false", ";", "ParseSubtargetFeatures", "(", "CPUName", ",", "TuneCPUName", ",", "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": ["CSKY", "CSKY", "CSKY", "\"generic\""], "File": "CSKYSubtarget", "Func": "initializeSubtargetDependencies", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12001, "Length": 103, "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": 12002, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WinEHStatePass", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "TheModule", "=", "&", "M", ";", "return", "false", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["X86"], "File": "X86WinEHState1", "Func": "doInitialization", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12003, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsMCCodeEmitter", "::", "getJumpTargetOpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"getJumpTargetOpValue expects only expressions\"", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "0", ",", "Expr", ",", "MCFixupKind", "(", "Mips", "::", "fixup_Mips_26", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getJumpTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "jump", "target", "operand", "."], "TS_V_token": ["Mips", "Mips", "\"getJumpTargetOpValue expects only expressions\"", "0", "Mips::fixup_Mips_26", "0"], "File": "MipsMCCodeEmitter10", "Func": "getJumpTargetOpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12004, "Length": 81, "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", "::", "tSpill", ":", "case", "ARM", "::", "VSTRD", ":", "case", "ARM", "::", "VSTRS", ":", "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", "::", "VST1q64Pseudo", ":", "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::tSpill", "ARM::VSTRD", "ARM::VSTRS", "1", "2", "2", "0", "1", "0", "ARM::VST1q64Pseudo", "0", "2", "0", "0", "2", "ARM::VSTMQIA", "1", "0", "0", "1", "0", "0"], "File": "ARMBaseInstrInfo11", "Func": "isStoreToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12005, "Length": 345, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getMaxInlineSizeThreshold", "(", ")", "const", "{", "return", "isThumb", "(", ")", "?", "0", ":", "64", ";", "}", ""], "natrual_language": ["Returns", "the", "maximum", "memset", "/", "memcpy", "size", "that", "still", "makes", "it", "profitable", "to", "inline", "the", "call", "."], "TS_V_token": ["ARM", "0", "64"], "File": "ARMSubtarget32", "Func": "getMaxInlineSizeThreshold", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12006, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "write_fntype_init", "(", "char", "*", "str", ")", "{", "char", "*", "tok", ";", "int", "tf_found", "=", "strstr", "(", "str", ",", "\"tf\"", ")", "!=", "NULL", ";", "int", "dfp_found", "=", "(", "strstr", "(", "str", ",", "\"dd\"", ")", "!=", "NULL", "||", "strstr", "(", "str", ",", "\"td\"", ")", "!=", "NULL", "||", "strstr", "(", "str", ",", "\"sd\"", ")", "!=", "NULL", ")", ";", "char", "*", "buf", "=", "strdup", "(", "str", ")", ";", "if", "(", "tf_found", "||", "dfp_found", ")", "fprintf", "(", "init_file", ",", "\" tree %s = NULL_TREE;\\n\"", ",", "buf", ")", ";", "else", "fprintf", "(", "init_file", ",", "\" tree \"", ")", ";", "if", "(", "tf_found", ")", "fprintf", "(", "init_file", ",", "\" if (float128_type_node)\\n \"", ")", ";", "else", "if", "(", "dfp_found", ")", "fprintf", "(", "init_file", ",", "\" if (dfloat64_type_node)\\n \"", ")", ";", "fprintf", "(", "init_file", ",", "\"%s\\n = build_function_type_list (\"", ",", "buf", ")", ";", "tok", "=", "strtok", "(", "buf", ",", "\"_\"", ")", ";", "write_type_node", "(", "tok", ",", "tf_found", "||", "dfp_found", ")", ";", "tok", "=", "strtok", "(", "0", ",", "\"_\"", ")", ";", "assert", "(", "tok", ")", ";", "assert", "(", "!", "strcmp", "(", "tok", ",", "\"ftype\"", ")", ")", ";", "tok", "=", "strtok", "(", "0", ",", "\"_\"", ")", ";", "if", "(", "tok", ")", "fprintf", "(", "init_file", ",", "\",\\n\\t\\t\\t\\t\"", ")", ";", "while", "(", "tok", "&&", "strcmp", "(", "tok", ",", "\"v\"", ")", ")", "{", "write_type_node", "(", "tok", ",", "tf_found", "||", "dfp_found", ")", ";", "tok", "=", "strtok", "(", "0", ",", "\"_\"", ")", ";", "fprintf", "(", "init_file", ",", "\",\\n\\t\\t\\t\\t\"", ")", ";", "}", "fprintf", "(", "init_file", ",", "\"NULL_TREE);\\n\"", ")", ";", "free", "(", "buf", ")", ";", "}", ""], "natrual_language": ["Write", "an", "initializer", "for", "a", "function", "type", "identified", "by", "STR", "."], "TS_V_token": ["rs6000", "\"tf\"", "\"dd\"", "\"td\"", "\"sd\"", "\" tree %s = NULL_TREE;\\n\"", "\" tree \"", "\" if (float128_type_node)\\n \"", "\" if (dfloat64_type_node)\\n \"", "\"%s\\n = build_function_type_list (\"", "\"_\"", "0", "\"_\"", "\"ftype\"", "0", "\"_\"", "\",\\n\\t\\t\\t\\t\"", "\"v\"", "0", "\"_\"", "\",\\n\\t\\t\\t\\t\"", "\"NULL_TREE);\\n\""], "File": "rs6000-gen-builtins", "Func": "write_fntype_init", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12007, "Length": 234, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_output_cplocal", "(", "void", ")", "{", "if", "(", "!", "TARGET_EXPLICIT_RELOCS", "&&", "mips_must_initialize_gp_p", "(", ")", "&&", "cfun", "->", "machine", "->", "global_pointer", "!=", "GLOBAL_POINTER_REGNUM", ")", "output_asm_insn", "(", "\".cplocal %+\"", ",", "0", ")", ";", "}", ""], "natrual_language": ["If", "we", "'re", "generating", "n32", "or", "n64", "abicalls", ",", "and", "the", "current", "function", "does", "not", "use", "$", "28", "as", "its", "global", "pointer", ",", "emit", "a", "cplocal", "directive", ".", "Use", "pic_offset_table_rtx", "as", "the", "argument", "to", "the", "directive", "."], "TS_V_token": ["mips", "\".cplocal %+\"", "0"], "File": "mips", "Func": "mips_output_cplocal", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12008, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "CSKYTargetLowering", "::", "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", ">", "CSKYLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "CSKYLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "CCAssignFnForReturn", "(", "CallConv", ",", "IsVarArg", ")", ")", ";", "SDValue", "Glue", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "RetOps", "(", "1", ",", "Chain", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSKYLocs", ".", "size", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "SDValue", "Val", "=", "OutVals", "[", "i", "]", ";", "CCValAssign", "&", "VA", "=", "CSKYLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "bool", "IsF64OnCSKY", "=", "VA", ".", "getLocVT", "(", ")", "==", "MVT", "::", "i32", "&&", "VA", ".", "getValVT", "(", ")", "==", "MVT", "::", "f64", ";", "if", "(", "IsF64OnCSKY", ")", "{", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Expected return via registers\"", ")", ";", "SDValue", "Split64", "=", "DAG", ".", "getNode", "(", "CSKYISD", "::", "BITCAST_TO_LOHI", ",", "DL", ",", "DAG", ".", "getVTList", "(", "MVT", "::", "i32", ",", "MVT", "::", "i32", ")", ",", "Val", ")", ";", "SDValue", "Lo", "=", "Split64", ".", "getValue", "(", "0", ")", ";", "SDValue", "Hi", "=", "Split64", ".", "getValue", "(", "1", ")", ";", "Register", "RegLo", "=", "VA", ".", "getLocReg", "(", ")", ";", "assert", "(", "RegLo", "<", "CSKY", "::", "R31", "&&", "\"Invalid register pair\"", ")", ";", "Register", "RegHi", "=", "RegLo", "+", "1", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "RegLo", ",", "Lo", ",", "Glue", ")", ";", "Glue", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "RegLo", ",", "MVT", "::", "i32", ")", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "RegHi", ",", "Hi", ",", "Glue", ")", ";", "Glue", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "RegHi", ",", "MVT", "::", "i32", ")", ")", ";", "}", "else", "{", "Val", "=", "convertValVTToLocVT", "(", "DAG", ",", "Val", ",", "VA", ",", "DL", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "VA", ".", "getLocReg", "(", ")", ",", "Val", ",", "Glue", ")", ";", "Glue", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "}", "}", "RetOps", "[", "0", "]", "=", "Chain", ";", "if", "(", "Glue", ".", "getNode", "(", ")", ")", "{", "RetOps", ".", "push_back", "(", "Glue", ")", ";", "}", "if", "(", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"interrupt\"", ")", ")", "return", "DAG", ".", "getNode", "(", "CSKYISD", "::", "NIR", ",", "DL", ",", "MVT", "::", "Other", ",", "RetOps", ")", ";", "return", "DAG", ".", "getNode", "(", "CSKYISD", "::", "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": ["CSKY", "CSKY", "ISD::OutputArg", "16", "CSKY", "CSKY", "4", "1", "0", "CSKY", "CSKY", "\"Can only return in registers!\"", "CSKY", "MVT::i32", "MVT::f64", "CSKY", "\"Expected return via registers\"", "CSKYISD::BITCAST_TO_LOHI", "MVT::i32", "MVT::i32", "0", "1", "CSKY::R31", "\"Invalid register pair\"", "1", "1", "MVT::i32", "1", "MVT::i32", "1", "0", "\"interrupt\"", "CSKYISD::NIR", "MVT::Other", "CSKYISD::RET", "MVT::Other"], "File": "CSKYISelLowering", "Func": "LowerReturn", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12009, "Length": 504, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcInstrInfo", "::", "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", "(", ")", ";", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "*", "MF", "->", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", "->", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "*", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "if", "(", "RC", "==", "&", "SP", "::", "I64RegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDXri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "IntRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "IntPairRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDDri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "FPRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDFri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "SP", "::", "DFPRegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDDFri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "SP", "::", "QFPRegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDQFri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "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": ["Sparc", "Sparc", "SP::I64RegsRegClass", "SP::LDXri", "0", "SP::IntRegsRegClass", "SP::LDri", "0", "SP::IntPairRegClass", "SP::LDDri", "0", "SP::FPRegsRegClass", "SP::LDFri", "0", "SP::DFPRegsRegClass", "SP::LDDFri", "0", "SP::QFPRegsRegClass", "SP::LDQFri", "0", "\"Can't load this register from stack slot\""], "File": "SparcInstrInfo31", "Func": "loadRegFromStackSlot", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12010, "Length": 380, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addInstSelector", "(", ")", "{", "PM", "->", "add", "(", "createARMISelDag", "(", "getARMTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "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", "ARM"], "File": "ARMTargetMachine62", "Func": "addInstSelector", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12011, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "getSqrtEstimate", "(", "SDValue", "Operand", ",", "SelectionDAG", "&", "DAG", ",", "int", "Enabled", ",", "int", "&", "ExtraSteps", ",", "bool", "&", "UseOneConst", ",", "bool", "Reciprocal", ")", "const", "{", "if", "(", "Enabled", "==", "ReciprocalEstimate", "::", "Enabled", "||", "(", "Enabled", "==", "ReciprocalEstimate", "::", "Unspecified", "&&", "Subtarget", "->", "useRSqrt", "(", ")", ")", ")", "if", "(", "SDValue", "Estimate", "=", "getEstimate", "(", "Subtarget", ",", "AArch64ISD", "::", "FRSQRTE", ",", "Operand", ",", "DAG", ",", "ExtraSteps", ")", ")", "{", "SDLoc", "DL", "(", "Operand", ")", ";", "EVT", "VT", "=", "Operand", ".", "getValueType", "(", ")", ";", "SDNodeFlags", "Flags", ";", "Flags", ".", "setAllowReassociation", "(", "true", ")", ";", "for", "(", "int", "i", "=", "ExtraSteps", ";", "i", ">", "0", ";", "--", "i", ")", "{", "SDValue", "Step", "=", "DAG", ".", "getNode", "(", "ISD", "::", "FMUL", ",", "DL", ",", "VT", ",", "Estimate", ",", "Estimate", ",", "Flags", ")", ";", "Step", "=", "DAG", ".", "getNode", "(", "AArch64ISD", "::", "FRSQRTS", ",", "DL", ",", "VT", ",", "Operand", ",", "Step", ",", "Flags", ")", ";", "Estimate", "=", "DAG", ".", "getNode", "(", "ISD", "::", "FMUL", ",", "DL", ",", "VT", ",", "Estimate", ",", "Step", ",", "Flags", ")", ";", "}", "if", "(", "!", "Reciprocal", ")", "Estimate", "=", "DAG", ".", "getNode", "(", "ISD", "::", "FMUL", ",", "DL", ",", "VT", ",", "Operand", ",", "Estimate", ",", "Flags", ")", ";", "ExtraSteps", "=", "0", ";", "return", "Estimate", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Hooks", "for", "building", "estimates", "in", "place", "of", "slower", "divisions", "and", "square", "roots", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64ISD::FRSQRTE", "0", "ISD::FMUL", "AArch64ISD::FRSQRTS", "ISD::FMUL", "ISD::FMUL", "0"], "File": "AArch64ISelLowering (2)2", "Func": "getSqrtEstimate", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12012, "Length": 216, "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": 12013, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "pa_hard_regno_nregs", "(", "unsigned", "int", "regno", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ")", "{", "return", "PA_HARD_REGNO_NREGS", "(", "regno", ",", "mode", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_NREGS", "."], "TS_V_token": ["pa"], "File": "pa", "Func": "pa_hard_regno_nregs", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12014, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86RegisterInfo", "::", "hasReservedSpillSlot", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "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": "X86RegisterInfo (2)", "Func": "hasReservedSpillSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12015, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LC3TargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unimplemented operand\"", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["LC3", "LC3", "\"Unimplemented operand\"", "ISD::GlobalAddress"], "File": "LC3ISelLowering", "Func": "LowerOperation", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12016, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "system_reg_operand", "(", "rtx", "op", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "switch", "(", "REGNO", "(", "op", ")", ")", "{", "case", "PR_REG", ":", "case", "MACL_REG", ":", "case", "MACH_REG", ":", "return", "1", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Returns", "1", "if", "OP", "is", "MACL", ",", "MACH", "or", "PR", ".", "The", "input", "must", "be", "a", "REG", "rtx", ".", "Used", "only", "in", "general_movsrc_operand", "."], "TS_V_token": ["sh", "1", "0"], "File": "sh3", "Func": "system_reg_operand", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12017, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "MMIXTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "(", "MMIXISD", "::", "NodeType", ")", "Opcode", ")", "{", "case", "MMIXISD", "::", "FIRST_NUMBER", ":", "break", ";", "case", "MMIXISD", "::", "RET_FLAG", ":", "return", "\"MMIXISD::RET_FLAG\"", ";", "case", "MMIXISD", "::", "CALL", ":", "return", "\"MMIXISD::CALL\"", ";", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["MMIX", "MMIX", "MMIXISD::NodeType", "MMIXISD::FIRST_NUMBER", "MMIXISD::RET_FLAG", "\"MMIXISD::RET_FLAG\"", "MMIXISD::CALL", "\"MMIXISD::CALL\""], "File": "MMIXISelLowering", "Func": "getTargetNodeName", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12018, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_darwin64_record_arg_recurse", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "const_tree", "type", ",", "HOST_WIDE_INT", "startbitpos", ",", "rtx", "rvec", "[", "]", ",", "int", "*", "k", ")", "{", "tree", "f", ";", "for", "(", "f", "=", "TYPE_FIELDS", "(", "type", ")", ";", "f", ";", "f", "=", "DECL_CHAIN", "(", "f", ")", ")", "if", "(", "TREE_CODE", "(", "f", ")", "==", "FIELD_DECL", ")", "{", "HOST_WIDE_INT", "bitpos", "=", "startbitpos", ";", "tree", "ftype", "=", "TREE_TYPE", "(", "f", ")", ";", "machine_mode", "mode", ";", "if", "(", "ftype", "==", "error_mark_node", ")", "continue", ";", "mode", "=", "TYPE_MODE", "(", "ftype", ")", ";", "if", "(", "DECL_SIZE", "(", "f", ")", "!=", "0", "&&", "tree_fits_uhwi_p", "(", "bit_position", "(", "f", ")", ")", ")", "bitpos", "+=", "int_bit_position", "(", "f", ")", ";", "if", "(", "TREE_CODE", "(", "ftype", ")", "==", "RECORD_TYPE", ")", "rs6000_darwin64_record_arg_recurse", "(", "cum", ",", "ftype", ",", "bitpos", ",", "rvec", ",", "k", ")", ";", "else", "if", "(", "cum", "->", "named", "&&", "USE_FP_FOR_ARG_P", "(", "cum", ",", "mode", ")", ")", "{", "unsigned", "n_fpreg", "=", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "7", ")", ">>", "3", ";", "switch", "(", "mode", ")", "{", "case", "SCmode", ":", "mode", "=", "SFmode", ";", "break", ";", "case", "DCmode", ":", "mode", "=", "DFmode", ";", "break", ";", "case", "TCmode", ":", "mode", "=", "TFmode", ";", "break", ";", "default", ":", "break", ";", "}", "rs6000_darwin64_record_arg_flush", "(", "cum", ",", "bitpos", ",", "rvec", ",", "k", ")", ";", "if", "(", "cum", "->", "fregno", "+", "n_fpreg", ">", "FP_ARG_MAX_REG", "+", "1", ")", "{", "gcc_assert", "(", "cum", "->", "fregno", "==", "FP_ARG_MAX_REG", "&&", "(", "mode", "==", "TFmode", "||", "mode", "==", "TDmode", ")", ")", ";", "mode", "=", "DECIMAL_FLOAT_MODE_P", "(", "mode", ")", "?", "DDmode", ":", "DFmode", ";", "cum", "->", "use_stack", "=", "1", ";", "}", "rvec", "[", "(", "*", "k", ")", "++", "]", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "mode", ",", "cum", "->", "fregno", "++", ")", ",", "GEN_INT", "(", "bitpos", "/", "BITS_PER_UNIT", ")", ")", ";", "if", "(", "mode", "==", "TFmode", "||", "mode", "==", "TDmode", ")", "cum", "->", "fregno", "++", ";", "}", "else", "if", "(", "cum", "->", "named", "&&", "USE_ALTIVEC_FOR_ARG_P", "(", "cum", ",", "mode", ",", "1", ")", ")", "{", "rs6000_darwin64_record_arg_flush", "(", "cum", ",", "bitpos", ",", "rvec", ",", "k", ")", ";", "rvec", "[", "(", "*", "k", ")", "++", "]", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "mode", ",", "cum", "->", "vregno", "++", ")", ",", "GEN_INT", "(", "bitpos", "/", "BITS_PER_UNIT", ")", ")", ";", "}", "else", "if", "(", "cum", "->", "intoffset", "==", "-", "1", ")", "cum", "->", "intoffset", "=", "bitpos", ";", "}", "}", ""], "natrual_language": ["Recursive", "workhorse", "for", "the", "following", "."], "TS_V_token": ["rs6000", "0", "7", "3", "1", "1", "1", "1"], "File": "rs60004", "Func": "rs6000_darwin64_record_arg_recurse", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12019, "Length": 384, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetTransformInfo", "::", "PopcntSupportKind", "getPopcntSupport", "(", "unsigned", "TyWidth", ")", "{", "if", "(", "TyWidth", "==", "32", ")", "return", "TTI", "::", "PSK_FastHardware", ";", "return", "TTI", "::", "PSK_Software", ";", "}", ""], "natrual_language": ["Return", "hardware", "support", "for", "population", "count", "."], "TS_V_token": ["Lanai", "32"], "File": "LanaiTargetTransformInfo", "Func": "getPopcntSupport", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12020, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getSymbol", "(", ")", "const", "{", "return", "S", ";", "}", ""], "natrual_language": ["Get", "the", "target", "address", "and", "flags", "for", "the", "named", "symbol", "."], "TS_V_token": ["ARM"], "File": "ARMConstantPoolValue1", "Func": "getSymbol", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12021, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_sched_finish", "(", "FILE", "*", "dump", ",", "int", "sched_verbose", ")", "{", "int", "n_groups", ";", "if", "(", "sched_verbose", ")", "fprintf", "(", "dump", ",", "\"=== Finishing schedule.\\n\"", ")", ";", "if", "(", "reload_completed", "&&", "rs6000_sched_groups", ")", "{", "if", "(", "sel_sched_p", "(", ")", ")", "return", ";", "if", "(", "rs6000_sched_insert_nops", "==", "sched_finish_none", ")", "return", ";", "if", "(", "rs6000_sched_insert_nops", "==", "sched_finish_pad_groups", ")", "n_groups", "=", "pad_groups", "(", "dump", ",", "sched_verbose", ",", "current_sched_info", "->", "prev_head", ",", "current_sched_info", "->", "next_tail", ")", ";", "else", "n_groups", "=", "redefine_groups", "(", "dump", ",", "sched_verbose", ",", "current_sched_info", "->", "prev_head", ",", "current_sched_info", "->", "next_tail", ")", ";", "if", "(", "sched_verbose", ">=", "6", ")", "{", "fprintf", "(", "dump", ",", "\"ngroups = %d\\n\"", ",", "n_groups", ")", ";", "print_rtl", "(", "dump", ",", "current_sched_info", "->", "prev_head", ")", ";", "fprintf", "(", "dump", ",", "\"Done finish_sched\\n\"", ")", ";", "}", "}", "}", ""], "natrual_language": ["The", "following", "function", "is", "called", "at", "the", "end", "of", "scheduling", "BB", ".", "After", "reload", ",", "it", "inserts", "nops", "at", "insn", "group", "bundling", "."], "TS_V_token": ["rs6000", "\"=== Finishing schedule.\\n\"", "6", "\"ngroups = %d\\n\"", "\"Done finish_sched\\n\""], "File": "rs6000", "Func": "rs6000_sched_finish", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12022, "Length": 125, "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", "E_V16QImode", ":", "gen", "=", "gen_aarch64_split_simd_movv16qi", ";", "break", ";", "case", "E_V8HImode", ":", "gen", "=", "gen_aarch64_split_simd_movv8hi", ";", "break", ";", "case", "E_V4SImode", ":", "gen", "=", "gen_aarch64_split_simd_movv4si", ";", "break", ";", "case", "E_V2DImode", ":", "gen", "=", "gen_aarch64_split_simd_movv2di", ";", "break", ";", "case", "E_V8HFmode", ":", "gen", "=", "gen_aarch64_split_simd_movv8hf", ";", "break", ";", "case", "E_V4SFmode", ":", "gen", "=", "gen_aarch64_split_simd_movv4sf", ";", "break", ";", "case", "E_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": "aarch645", "Func": "aarch64_split_simd_move", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12023, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "AArch64InstrInfo", "::", "insertOutlinedCall", "(", "Module", "&", "M", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "It", ",", "MachineFunction", "&", "MF", ",", "const", "outliner", "::", "Candidate", "&", "C", ")", "const", "{", "if", "(", "C", ".", "CallConstructionID", "==", "MachineOutlinerTailCall", ")", "{", "It", "=", "MBB", ".", "insert", "(", "It", ",", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "TCRETURNdi", ")", ")", ".", "addGlobalAddress", "(", "M", ".", "getNamedValue", "(", "MF", ".", "getName", "(", ")", ")", ")", ".", "addImm", "(", "0", ")", ")", ";", "return", "It", ";", "}", "if", "(", "C", ".", "CallConstructionID", "==", "MachineOutlinerNoLRSave", "||", "C", ".", "CallConstructionID", "==", "MachineOutlinerThunk", ")", "{", "It", "=", "MBB", ".", "insert", "(", "It", ",", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "BL", ")", ")", ".", "addGlobalAddress", "(", "M", ".", "getNamedValue", "(", "MF", ".", "getName", "(", ")", ")", ")", ")", ";", "return", "It", ";", "}", "MachineBasicBlock", "::", "iterator", "CallPt", ";", "MachineInstr", "*", "STRXpre", "=", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "STRXpre", ")", ")", ".", "addReg", "(", "AArch64", "::", "SP", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "AArch64", "::", "LR", ")", ".", "addReg", "(", "AArch64", "::", "SP", ")", ".", "addImm", "(", "-", "16", ")", ";", "It", "=", "MBB", ".", "insert", "(", "It", ",", "STRXpre", ")", ";", "It", "++", ";", "It", "=", "MBB", ".", "insert", "(", "It", ",", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "BL", ")", ")", ".", "addGlobalAddress", "(", "M", ".", "getNamedValue", "(", "MF", ".", "getName", "(", ")", ")", ")", ")", ";", "CallPt", "=", "It", ";", "It", "++", ";", "MachineInstr", "*", "LDRXpost", "=", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "LDRXpost", ")", ")", ".", "addReg", "(", "AArch64", "::", "SP", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "AArch64", "::", "LR", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "AArch64", "::", "SP", ")", ".", "addImm", "(", "16", ")", ";", "It", "=", "MBB", ".", "insert", "(", "It", ",", "LDRXpost", ")", ";", "return", "CallPt", ";", "}", ""], "natrual_language": ["Insert", "a", "call", "to", "an", "outlined", "function", "into", "the", "program", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::TCRETURNdi", "0", "AArch64::BL", "AArch64::STRXpre", "AArch64::SP", "AArch64::LR", "AArch64::SP", "16", "AArch64::BL", "AArch64::LDRXpost", "AArch64::SP", "AArch64::LR", "AArch64::SP", "16"], "File": "AArch64InstrInfo68", "Func": "insertOutlinedCall", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12024, "Length": 334, "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", "(", ")", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Convert", "the", "instruction", "into", "a", "predicated", "instruction", "."], "TS_V_token": ["ARM", "ARM", "0", "1", "1", "0", "1", "1"], "File": "ARMBaseInstrInfo (2)3", "Func": "PredicateInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12025, "Length": 162, "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": 12026, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsOutgoingValueHandler", "::", "assignValueToReg", "(", "Register", "ValVReg", ",", "Register", "PhysReg", ",", "CCValAssign", "&", "VA", ")", "{", "Register", "ExtReg", "=", "extendRegister", "(", "ValVReg", ",", "VA", ")", ";", "MIRBuilder", ".", "buildCopy", "(", "PhysReg", ",", "ExtReg", ")", ";", "MIB", ".", "addUse", "(", "PhysReg", ",", "RegState", "::", "Implicit", ")", ";", "}", ""], "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": ["Mips", "Mips"], "File": "MipsCallLowering9", "Func": "assignValueToReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12027, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SHUXIInstrInfo", "::", "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": ["SHUXI", "SHUXI"], "File": "SHUXIInstrInfo", "Func": "isUnpredicatedTerminator", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12028, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86ATTInstPrinter", "::", "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", "(", "CommentStream", ")", "HasCustomInstComment", "=", "EmitAnyX86InstComments", "(", "MI", ",", "*", "CommentStream", ",", "getRegisterName", ")", ";", "if", "(", "TSFlags", "&", "X86II", "::", "LOCK", ")", "OS", "<<", "\"\\tlock\\n\"", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "X86", "::", "CALLpcrel32", "&&", "(", "STI", ".", "getFeatureBits", "(", ")", "&", "X86", "::", "Mode64Bit", ")", "!=", "0", ")", "{", "OS", "<<", "\"\\tcallq\\t\"", ";", "printPCRelImm", "(", "MI", ",", "0", ",", "OS", ")", ";", "}", "else", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "OS", ")", ")", "printInstruction", "(", "MI", ",", "OS", ")", ";", "printAnnotation", "(", "OS", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["X86", "X86", "X86", "X86II::LOCK", "\"\\tlock\\n\"", "X86::CALLpcrel32", "X86::Mode64Bit", "0", "\"\\tcallq\\t\"", "0"], "File": "X86ATTInstPrinter46", "Func": "printInst", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12029, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTTIImpl", "::", "isLoweredToCall", "(", "const", "Function", "*", "F", ")", "{", "if", "(", "!", "F", "->", "isIntrinsic", "(", ")", ")", "return", "BaseT", "::", "isLoweredToCall", "(", "F", ")", ";", "if", "(", "F", "->", "getName", "(", ")", ".", "startswith", "(", "\"llvm.arm\"", ")", ")", "return", "false", ";", "switch", "(", "F", "->", "getIntrinsicID", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Intrinsic", "::", "powi", ":", "case", "Intrinsic", "::", "sin", ":", "case", "Intrinsic", "::", "cos", ":", "case", "Intrinsic", "::", "pow", ":", "case", "Intrinsic", "::", "log", ":", "case", "Intrinsic", "::", "log10", ":", "case", "Intrinsic", "::", "log2", ":", "case", "Intrinsic", "::", "exp", ":", "case", "Intrinsic", "::", "exp2", ":", "return", "true", ";", "case", "Intrinsic", "::", "sqrt", ":", "case", "Intrinsic", "::", "fabs", ":", "case", "Intrinsic", "::", "copysign", ":", "case", "Intrinsic", "::", "floor", ":", "case", "Intrinsic", "::", "ceil", ":", "case", "Intrinsic", "::", "trunc", ":", "case", "Intrinsic", "::", "rint", ":", "case", "Intrinsic", "::", "nearbyint", ":", "case", "Intrinsic", "::", "round", ":", "case", "Intrinsic", "::", "canonicalize", ":", "case", "Intrinsic", "::", "lround", ":", "case", "Intrinsic", "::", "llround", ":", "case", "Intrinsic", "::", "lrint", ":", "case", "Intrinsic", "::", "llrint", ":", "if", "(", "F", "->", "getReturnType", "(", ")", "->", "isDoubleTy", "(", ")", "&&", "!", "ST", "->", "hasFP64", "(", ")", ")", "return", "true", ";", "if", "(", "F", "->", "getReturnType", "(", ")", "->", "isHalfTy", "(", ")", "&&", "!", "ST", "->", "hasFullFP16", "(", ")", ")", "return", "true", ";", "return", "!", "ST", "->", "hasFPARMv8Base", "(", ")", "&&", "!", "ST", "->", "hasVFP2Base", "(", ")", ";", "case", "Intrinsic", "::", "masked_store", ":", "case", "Intrinsic", "::", "masked_load", ":", "case", "Intrinsic", "::", "masked_gather", ":", "case", "Intrinsic", "::", "masked_scatter", ":", "return", "!", "ST", "->", "hasMVEIntegerOps", "(", ")", ";", "case", "Intrinsic", "::", "sadd_with_overflow", ":", "case", "Intrinsic", "::", "uadd_with_overflow", ":", "case", "Intrinsic", "::", "ssub_with_overflow", ":", "case", "Intrinsic", "::", "usub_with_overflow", ":", "case", "Intrinsic", "::", "sadd_sat", ":", "case", "Intrinsic", "::", "uadd_sat", ":", "case", "Intrinsic", "::", "ssub_sat", ":", "case", "Intrinsic", "::", "usub_sat", ":", "return", "false", ";", "}", "return", "BaseT", "::", "isLoweredToCall", "(", "F", ")", ";", "}", ""], "natrual_language": ["Test", "whether", "calls", "to", "a", "function", "lower", "to", "actual", "program", "function", "calls", "."], "TS_V_token": ["ARM", "ARM", "\"llvm.arm\"", "Intrinsic::powi", "Intrinsic::sin", "Intrinsic::cos", "Intrinsic::pow", "Intrinsic::log", "Intrinsic::log10", "Intrinsic::log2", "Intrinsic::exp", "Intrinsic::exp2", "Intrinsic::sqrt", "Intrinsic::fabs", "Intrinsic::copysign", "Intrinsic::floor", "Intrinsic::ceil", "Intrinsic::trunc", "Intrinsic::rint", "Intrinsic::nearbyint", "Intrinsic::round", "Intrinsic::canonicalize", "Intrinsic::lround", "Intrinsic::llround", "Intrinsic::lrint", "Intrinsic::llrint", "ARM", "Intrinsic::masked_store", "Intrinsic::masked_load", "Intrinsic::masked_gather", "Intrinsic::masked_scatter", "Intrinsic::sadd_with_overflow", "Intrinsic::uadd_with_overflow", "Intrinsic::ssub_with_overflow", "Intrinsic::usub_with_overflow", "Intrinsic::sadd_sat", "Intrinsic::uadd_sat", "Intrinsic::ssub_sat", "Intrinsic::usub_sat"], "File": "ARMTargetTransformInfo32", "Func": "isLoweredToCall", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12030, "Length": 315, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "gen_func_t", "get_spec_load_gen_function", "(", "ds_t", "ts", ",", "int", "mode_no", ")", "{", "static", "gen_func_t", "gen_ld_", "[", "]", "=", "{", "gen_movbi", ",", "gen_movqi_internal", ",", "gen_movhi_internal", ",", "gen_movsi_internal", ",", "gen_movdi_internal", ",", "gen_movsf_internal", ",", "gen_movdf_internal", ",", "gen_movxf_internal", ",", "gen_movti_internal", ",", "gen_zero_extendqidi2", ",", "gen_zero_extendhidi2", ",", "gen_zero_extendsidi2", ",", "}", ";", "static", "gen_func_t", "gen_ld_a", "[", "]", "=", "{", "gen_movbi_advanced", ",", "gen_movqi_advanced", ",", "gen_movhi_advanced", ",", "gen_movsi_advanced", ",", "gen_movdi_advanced", ",", "gen_movsf_advanced", ",", "gen_movdf_advanced", ",", "gen_movxf_advanced", ",", "gen_movti_advanced", ",", "gen_zero_extendqidi2_advanced", ",", "gen_zero_extendhidi2_advanced", ",", "gen_zero_extendsidi2_advanced", ",", "}", ";", "static", "gen_func_t", "gen_ld_s", "[", "]", "=", "{", "gen_movbi_speculative", ",", "gen_movqi_speculative", ",", "gen_movhi_speculative", ",", "gen_movsi_speculative", ",", "gen_movdi_speculative", ",", "gen_movsf_speculative", ",", "gen_movdf_speculative", ",", "gen_movxf_speculative", ",", "gen_movti_speculative", ",", "gen_zero_extendqidi2_speculative", ",", "gen_zero_extendhidi2_speculative", ",", "gen_zero_extendsidi2_speculative", ",", "}", ";", "static", "gen_func_t", "gen_ld_sa", "[", "]", "=", "{", "gen_movbi_speculative_advanced", ",", "gen_movqi_speculative_advanced", ",", "gen_movhi_speculative_advanced", ",", "gen_movsi_speculative_advanced", ",", "gen_movdi_speculative_advanced", ",", "gen_movsf_speculative_advanced", ",", "gen_movdf_speculative_advanced", ",", "gen_movxf_speculative_advanced", ",", "gen_movti_speculative_advanced", ",", "gen_zero_extendqidi2_speculative_advanced", ",", "gen_zero_extendhidi2_speculative_advanced", ",", "gen_zero_extendsidi2_speculative_advanced", ",", "}", ";", "static", "gen_func_t", "gen_ld_s_a", "[", "]", "=", "{", "gen_movbi_speculative_a", ",", "gen_movqi_speculative_a", ",", "gen_movhi_speculative_a", ",", "gen_movsi_speculative_a", ",", "gen_movdi_speculative_a", ",", "gen_movsf_speculative_a", ",", "gen_movdf_speculative_a", ",", "gen_movxf_speculative_a", ",", "gen_movti_speculative_a", ",", "gen_zero_extendqidi2_speculative_a", ",", "gen_zero_extendhidi2_speculative_a", ",", "gen_zero_extendsidi2_speculative_a", ",", "}", ";", "gen_func_t", "*", "gen_ld", ";", "if", "(", "ts", "&", "BEGIN_DATA", ")", "{", "if", "(", "ts", "&", "BEGIN_CONTROL", ")", "gen_ld", "=", "gen_ld_sa", ";", "else", "gen_ld", "=", "gen_ld_a", ";", "}", "else", "if", "(", "ts", "&", "BEGIN_CONTROL", ")", "{", "if", "(", "(", "spec_info", "->", "flags", "&", "SEL_SCHED_SPEC_DONT_CHECK_CONTROL", ")", "||", "ia64_needs_block_p", "(", "ts", ")", ")", "gen_ld", "=", "gen_ld_s", ";", "else", "gen_ld", "=", "gen_ld_s_a", ";", "}", "else", "if", "(", "ts", "==", "0", ")", "gen_ld", "=", "gen_ld_", ";", "else", "gcc_unreachable", "(", ")", ";", "return", "gen_ld", "[", "mode_no", "]", ";", "}", ""], "natrual_language": ["Return", "a", "function", "that", "will", "generate", "a", "load", "of", "mode", "MODE_NO", "with", "speculation", "types", "TS", "."], "TS_V_token": ["ia64", "0"], "File": "ia64", "Func": "get_spec_load_gen_function", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12031, "Length": 259, "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", "::", "t2WLS", ":", "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::t2WLS", "ARM::t2LEUpdate", "2", "ARM::t2LE", "1", "4"], "File": "ARMMCTargetDesc11", "Func": "evaluateBranch", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12032, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "shouldFormOverflowOp", "(", "unsigned", "Opcode", ",", "EVT", "VT", ",", "bool", ")", "const", "{", "if", "(", "VT", ".", "isVector", "(", ")", ")", "return", "false", ";", "return", "VT", ".", "isSimple", "(", ")", "||", "!", "isOperationExpand", "(", "Opcode", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Overflow", "nodes", "should", "get", "combined/lowered", "to", "optimal", "instructions", "(", "they", "should", "allow", "eliminating", "explicit", "compares", "by", "getting", "flags", "from", "math", "ops", ")", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering (2)5", "Func": "shouldFormOverflowOp", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12033, "Length": 42, "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", ";", "const", "TargetRegisterClass", "*", "RCs", "[", "2", "]", "=", "{", "&", "X86", "::", "VR256RegClass", ",", "&", "X86", "::", "VR512RegClass", "}", ";", "for", "(", "auto", "*", "RC", ":", "RCs", ")", "{", "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", ")", "{", "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", "2", "X86::VR256RegClass", "X86::VR512RegClass", "\"X86VZeroUpper state should be clear\"", "\"MBB #\"", "\" was Pass-through, is now Dirty-out.\\n\""], "File": "X86VZeroUpper32", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12034, "Length": 360, "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", ")", ")", ";", "}", "(", "void", ")", "&", "CC_AArch64_DarwinPCS_VarArg", ";", "(", "void", ")", "&", "CC_AArch64_Win64_VarArg", ";", "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", "AArch64", "AArch64"], "File": "AArch64FastISel14", "Func": "fastSelectInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12035, "Length": 481, "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", ")", ";", "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", "(", ")", ";", "Opcode", "=", "NewOpcode", ";", "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": "MipsMCCodeEmitter1", "Func": "encodeInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12036, "Length": 431, "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": 12037, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getOffsetOf", "(", "MachineBasicBlock", "*", "MBB", ")", "const", "{", "return", "BBInfo", "[", "MBB", "->", "getNumber", "(", ")", "]", ".", "Offset", ";", "}", ""], "natrual_language": ["getOffsetOf", "-", "Return", "the", "current", "offset", "of", "the", "specified", "machine", "instruction", "from", "the", "start", "of", "the", "function", "."], "TS_V_token": ["ARM"], "File": "ARMBasicBlockInfo10", "Func": "getOffsetOf", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12038, "Length": 22, "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": 12039, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "MachineLoopInfo", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AArch64"], "File": "AArch64FalkorHWPFFix13", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12040, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "ix86_hard_regno_nregs", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "GENERAL_REGNO_P", "(", "regno", ")", ")", "{", "if", "(", "mode", "==", "XFmode", ")", "return", "TARGET_64BIT", "?", "2", ":", "3", ";", "if", "(", "mode", "==", "XCmode", ")", "return", "TARGET_64BIT", "?", "4", ":", "6", ";", "return", "CEIL", "(", "GET_MODE_SIZE", "(", "mode", ")", ",", "UNITS_PER_WORD", ")", ";", "}", "if", "(", "COMPLEX_MODE_P", "(", "mode", ")", ")", "return", "2", ";", "if", "(", "mode", "==", "V64SFmode", "||", "mode", "==", "V64SImode", ")", "return", "4", ";", "return", "1", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_NREGS", ".", "This", "is", "ordinarily", "the", "length", "in", "words", "of", "a", "value", "of", "mode", "MODE", "but", "can", "be", "less", "for", "certain", "modes", "in", "special", "long", "registers", ".", "Actually", "there", "are", "no", "two", "word", "move", "instructions", "for", "consecutive", "registers", ".", "And", "only", "registers", "0-3", "may", "have", "mov", "byte", "instructions", "applied", "to", "them", "."], "TS_V_token": ["i386", "2", "3", "4", "6", "2", "4", "1"], "File": "i3867", "Func": "ix86_hard_regno_nregs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12041, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arm_function_arg", "(", "cumulative_args_t", "pcum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "pcum", "=", "get_cumulative_args", "(", "pcum_v", ")", ";", "int", "nregs", ";", "if", "(", "arg", ".", "end_marker_p", "(", ")", ")", "return", "const0_rtx", ";", "if", "(", "pcum", "->", "pcs_variant", "<=", "ARM_PCS_AAPCS_LOCAL", ")", "{", "aapcs_layout_arg", "(", "pcum", ",", "arg", ".", "mode", ",", "arg", ".", "type", ",", "arg", ".", "named", ")", ";", "return", "pcum", "->", "aapcs_reg", ";", "}", "if", "(", "TARGET_IWMMXT_ABI", "&&", "arm_vector_mode_supported_p", "(", "arg", ".", "mode", ")", "&&", "pcum", "->", "named_count", ">", "pcum", "->", "nargs", "+", "1", ")", "{", "if", "(", "pcum", "->", "iwmmxt_nregs", "<=", "9", ")", "return", "gen_rtx_REG", "(", "arg", ".", "mode", ",", "pcum", "->", "iwmmxt_nregs", "+", "FIRST_IWMMXT_REGNUM", ")", ";", "else", "{", "pcum", "->", "can_split", "=", "false", ";", "return", "NULL_RTX", ";", "}", "}", "if", "(", "(", "pcum", "->", "nregs", "&", "1", ")", "&&", "ARM_DOUBLEWORD_ALIGN", ")", "{", "int", "res", "=", "arm_needs_doubleword_align", "(", "arg", ".", "mode", ",", "arg", ".", "type", ")", ";", "if", "(", "res", "<", "0", "&&", "warn_psabi", ")", "inform", "(", "input_location", ",", "\"parameter passing for argument of type \"", "\"%qT changed in GCC 7.1\"", ",", "arg", ".", "type", ")", ";", "else", "if", "(", "res", ">", "0", ")", "{", "pcum", "->", "nregs", "++", ";", "if", "(", "res", ">", "1", "&&", "warn_psabi", ")", "inform", "(", "input_location", ",", "\"parameter passing for argument of type \"", "\"%qT changed in GCC 9.1\"", ",", "arg", ".", "type", ")", ";", "}", "}", "if", "(", "pcum", "->", "can_split", ")", "nregs", "=", "1", ";", "else", "nregs", "=", "ARM_NUM_REGS2", "(", "arg", ".", "mode", ",", "arg", ".", "type", ")", ";", "if", "(", "!", "arg", ".", "named", "||", "pcum", "->", "nregs", "+", "nregs", ">", "NUM_ARG_REGS", ")", "return", "NULL_RTX", ";", "return", "gen_rtx_REG", "(", "arg", ".", "mode", ",", "pcum", "->", "nregs", ")", ";", "}", ""], "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", ")", ".", "On", "the", "ARM", ",", "normally", "the", "first", "16", "bytes", "are", "passed", "in", "registers", "r0-r3", ";", "all", "other", "arguments", "are", "passed", "on", "the", "stack", ".", "If", "(", "NAMED", "==", "0", ")", "(", "which", "happens", "only", "in", "assign_parms", ",", "since", "TARGET_SETUP_INCOMING_VARARGS", "is", "defined", ")", ",", "say", "it", "is", "passed", "in", "the", "stack", "(", "function_prologue", "will", "indeed", "make", "it", "pass", "in", "the", "stack", "if", "necessary", ")", "."], "TS_V_token": ["arm", "1", "9", "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\"", "1"], "File": "arm", "Func": "arm_function_arg", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12042, "Length": 262, "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", "{", "Value", "=", "adjustFixupValue", "(", "Fixup", ".", "getKind", "(", ")", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "MCFixupKindInfo", "Info", "=", "getFixupKindInfo", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "Value", "<<=", "Info", ".", "TargetOffset", ";", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "assert", "(", "Offset", "+", "NumBytes", "<=", "Data", ".", "size", "(", ")", "&&", "\"Invalid fixup offset!\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "Endian", "==", "support", "::", "little", "?", "i", ":", "(", "NumBytes", "-", "1", ")", "-", "i", ";", "Data", "[", "Offset", "+", "Idx", "]", "|=", "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": ["VE", "\"Invalid fixup offset!\"", "0", "support::little", "1", "8", "0xff"], "File": "VEAsmBackend", "Func": "applyFixup", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12043, "Length": 173, "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": ["Mips"], "File": "MipsAsmBackend", "Func": "mayNeedRelaxation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12044, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ix86_register_move_cost", "(", "enum", "machine_mode", "mode", ",", "enum", "reg_class", "class1", ",", "enum", "reg_class", "class2", ")", "{", "if", "(", "ix86_secondary_memory_needed", "(", "class1", ",", "class2", ",", "mode", ",", "0", ")", ")", "{", "int", "cost", "=", "1", ";", "cost", "+=", "MAX", "(", "MEMORY_MOVE_COST", "(", "mode", ",", "class1", ",", "0", ")", ",", "MEMORY_MOVE_COST", "(", "mode", ",", "class1", ",", "1", ")", ")", ";", "cost", "+=", "MAX", "(", "MEMORY_MOVE_COST", "(", "mode", ",", "class2", ",", "0", ")", ",", "MEMORY_MOVE_COST", "(", "mode", ",", "class2", ",", "1", ")", ")", ";", "if", "(", "CLASS_MAX_NREGS", "(", "class1", ",", "mode", ")", ">", "CLASS_MAX_NREGS", "(", "class2", ",", "mode", ")", ")", "cost", "+=", "20", ";", "if", "(", "(", "MMX_CLASS_P", "(", "class1", ")", "&&", "MAYBE_FLOAT_CLASS_P", "(", "class2", ")", ")", "||", "(", "MMX_CLASS_P", "(", "class2", ")", "&&", "MAYBE_FLOAT_CLASS_P", "(", "class1", ")", ")", ")", "cost", "+=", "20", ";", "return", "cost", ";", "}", "if", "(", "MMX_CLASS_P", "(", "class1", ")", "!=", "MMX_CLASS_P", "(", "class2", ")", "||", "SSE_CLASS_P", "(", "class1", ")", "!=", "SSE_CLASS_P", "(", "class2", ")", ")", "return", "ix86_cost", "->", "mmxsse_to_integer", ";", "if", "(", "MAYBE_FLOAT_CLASS_P", "(", "class1", ")", ")", "return", "ix86_cost", "->", "fp_move", ";", "if", "(", "MAYBE_SSE_CLASS_P", "(", "class1", ")", ")", "return", "ix86_cost", "->", "sse_move", ";", "if", "(", "MAYBE_MMX_CLASS_P", "(", "class1", ")", ")", "return", "ix86_cost", "->", "mmx_move", ";", "return", "2", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "moving", "data", "from", "a", "register", "in", "class", "CLASS1", "to", "one", "in", "class", "CLASS2", ".", "It", "is", "not", "required", "that", "the", "cost", "always", "equal", "2", "when", "FROM", "is", "the", "same", "as", "TO", ";", "on", "some", "machines", "it", "is", "expensive", "to", "move", "between", "registers", "if", "they", "are", "not", "general", "registers", "."], "TS_V_token": ["i386", "0", "1", "0", "1", "0", "1", "20", "20", "2"], "File": "i3863", "Func": "ix86_register_move_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12045, "Length": 202, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "PPCDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "CS", ")", "const", "{", "auto", "*", "ReadFunc", "=", "IsLittleEndian", "?", "support", "::", "endian", "::", "read32le", ":", "support", "::", "endian", "::", "read32be", ";", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "PPC", "::", "FeaturePrefixInstrs", "]", "&&", "Bytes", ".", "size", "(", ")", ">=", "8", ")", "{", "uint32_t", "Prefix", "=", "ReadFunc", "(", "Bytes", ".", "data", "(", ")", ")", ";", "uint32_t", "BaseInst", "=", "ReadFunc", "(", "Bytes", ".", "data", "(", ")", "+", "4", ")", ";", "uint64_t", "Inst", "=", "BaseInst", "|", "(", "uint64_t", ")", "Prefix", "<<", "32", ";", "DecodeStatus", "result", "=", "decodeInstruction", "(", "DecoderTable64", ",", "MI", ",", "Inst", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "Size", "=", "8", ";", "return", "result", ";", "}", "}", "Size", "=", "4", ";", "if", "(", "Bytes", ".", "size", "(", ")", "<", "4", ")", "{", "Size", "=", "0", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "uint64_t", "Inst", "=", "ReadFunc", "(", "Bytes", ".", "data", "(", ")", ")", ";", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "PPC", "::", "FeatureQPX", "]", ")", "{", "DecodeStatus", "result", "=", "decodeInstruction", "(", "DecoderTableQPX32", ",", "MI", ",", "Inst", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "result", "!=", "MCDisassembler", "::", "Fail", ")", "return", "result", ";", "}", "else", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "PPC", "::", "FeatureSPE", "]", ")", "{", "DecodeStatus", "result", "=", "decodeInstruction", "(", "DecoderTableSPE32", ",", "MI", ",", "Inst", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "result", "!=", "MCDisassembler", "::", "Fail", ")", "return", "result", ";", "}", "return", "decodeInstruction", "(", "DecoderTable32", ",", "MI", ",", "Inst", ",", "Address", ",", "this", ",", "STI", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["PowerPC", "PPC", "support::endian", "support::endian", "PPC::FeaturePrefixInstrs", "8", "4", "32", "8", "4", "4", "0", "PPC::FeatureQPX", "PPC::FeatureSPE"], "File": "PPCDisassembler11", "Func": "getInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12046, "Length": 285, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86Subtarget", "::", "X86Subtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "X86TargetMachine", "&", "TM", ",", "unsigned", "StackAlignOverride", ")", ":", "X86GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "X86ProcFamily", "(", "Others", ")", ",", "PICStyle", "(", "PICStyles", "::", "None", ")", ",", "TargetTriple", "(", "TT", ")", ",", "StackAlignOverride", "(", "StackAlignOverride", ")", ",", "In64BitMode", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", ",", "In32BitMode", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "x86", "&&", "TargetTriple", ".", "getEnvironment", "(", ")", "!=", "Triple", "::", "CODE16", ")", ",", "In16BitMode", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "x86", "&&", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "CODE16", ")", ",", "DL", "(", "computeDataLayout", "(", "*", "this", ")", ")", ",", "TSInfo", "(", "DL", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ")", ")", ",", "TLInfo", "(", "TM", ")", ",", "FrameLowering", "(", "TargetFrameLowering", "::", "StackGrowsDown", ",", "getStackAlignment", "(", ")", ",", "is64Bit", "(", ")", "?", "-", "8", ":", "-", "4", ")", ",", "JITInfo", "(", "hasSSE1", "(", ")", ")", "{", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86", "8", "4"], "File": "X86Subtarget100", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12047, "Length": 181, "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_64", ":", "{", "if", "(", "VT", "!=", "MVT", "::", "i32", "&&", "VT", "!=", "MVT", "::", "i16", "&&", "VT", "!=", "MVT", "::", "i8", ")", "return", "false", ";", "break", ";", "}", "}", "Address", "Addr", ";", "if", "(", "!", "PPCComputeAddress", "(", "LI", "->", "getOperand", "(", "0", ")", ",", "Addr", ")", ")", "return", "false", ";", "unsigned", "ResultReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "if", "(", "!", "PPCEmitLoad", "(", "VT", ",", "ResultReg", ",", "Addr", ",", "nullptr", ",", "IsZExt", ")", ")", "return", "false", ";", "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": ["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_64", "MVT::i32", "MVT::i16", "MVT::i8", "PPC", "0", "0", "PPC"], "File": "PPCFastISel (2)", "Func": "tryToFoldLoadIntoMI", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12048, "Length": 347, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "gen_ldm_seq", "(", "rtx", "*", "operands", ",", "int", "nops", ",", "bool", "sort_regs", ")", "{", "int", "regs", "[", "MAX_LDM_STM_OPS", "]", ",", "mem_order", "[", "MAX_LDM_STM_OPS", "]", ";", "rtx", "mems", "[", "MAX_LDM_STM_OPS", "]", ";", "int", "i", ",", "j", ",", "base_reg", ";", "rtx", "base_reg_rtx", ";", "HOST_WIDE_INT", "offset", ";", "int", "write_back", "=", "FALSE", ";", "int", "ldm_case", ";", "rtx", "addr", ";", "ldm_case", "=", "load_multiple_sequence", "(", "operands", ",", "nops", ",", "regs", ",", "mem_order", ",", "&", "base_reg", ",", "&", "offset", ",", "!", "sort_regs", ")", ";", "if", "(", "ldm_case", "==", "0", ")", "return", "false", ";", "if", "(", "sort_regs", ")", "for", "(", "i", "=", "0", ";", "i", "<", "nops", "-", "1", ";", "i", "++", ")", "for", "(", "j", "=", "i", "+", "1", ";", "j", "<", "nops", ";", "j", "++", ")", "if", "(", "regs", "[", "i", "]", ">", "regs", "[", "j", "]", ")", "{", "int", "t", "=", "regs", "[", "i", "]", ";", "regs", "[", "i", "]", "=", "regs", "[", "j", "]", ";", "regs", "[", "j", "]", "=", "t", ";", "}", "base_reg_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "base_reg", ")", ";", "if", "(", "TARGET_THUMB1", ")", "{", "gcc_assert", "(", "ldm_case", "==", "1", "||", "ldm_case", "==", "5", ")", ";", "write_back", "=", "true", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nops", ";", "i", "++", ")", "if", "(", "base_reg", "==", "regs", "[", "i", "]", ")", "write_back", "=", "false", ";", "if", "(", "write_back", "&&", "!", "peep2_reg_dead_p", "(", "nops", ",", "base_reg_rtx", ")", ")", "return", "false", ";", "}", "if", "(", "ldm_case", "==", "5", ")", "{", "rtx", "newbase", "=", "TARGET_THUMB1", "?", "base_reg_rtx", ":", "gen_rtx_REG", "(", "SImode", ",", "regs", "[", "0", "]", ")", ";", "emit_insn", "(", "gen_addsi3", "(", "newbase", ",", "base_reg_rtx", ",", "GEN_INT", "(", "offset", ")", ")", ")", ";", "offset", "=", "0", ";", "base_reg_rtx", "=", "newbase", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "nops", ";", "i", "++", ")", "{", "addr", "=", "plus_constant", "(", "Pmode", ",", "base_reg_rtx", ",", "offset", "+", "i", "*", "4", ")", ";", "mems", "[", "i", "]", "=", "adjust_automodify_address_nv", "(", "operands", "[", "nops", "+", "mem_order", "[", "i", "]", "]", ",", "SImode", ",", "addr", ",", "0", ")", ";", "}", "emit_insn", "(", "arm_gen_load_multiple_1", "(", "nops", ",", "regs", ",", "mems", ",", "base_reg_rtx", ",", "write_back", "?", "offset", "+", "i", "*", "4", ":", "0", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Called", "from", "a", "peephole2", "expander", "to", "turn", "a", "sequence", "of", "loads", "into", "an", "LDM", "instruction", ".", "OPERANDS", "are", "the", "operands", "found", "by", "the", "peephole", "matcher", ";", "NOPS", "indicates", "how", "many", "separate", "loads", "we", "are", "trying", "to", "combine", ".", "SORT_REGS", "is", "true", "if", "we", "can", "reorder", "the", "registers", "because", "they", "are", "used", "commutatively", "subsequently", ".", "Returns", "true", "iff", "we", "could", "generate", "a", "new", "instruction", "."], "TS_V_token": ["arm", "0", "0", "1", "1", "1", "5", "0", "5", "0", "0", "0", "4", "0", "4", "0"], "File": "arm", "Func": "gen_ldm_seq", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12049, "Length": 360, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPC64LinuxTargetObjectFile", "::", "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": ["PowerPC", "PPC"], "File": "PPCTargetObjectFile", "Func": "Initialize", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12050, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_unwind_emit_stm", "(", "FILE", "*", "asm_out_file", ",", "rtx", "p", ")", "{", "int", "i", ";", "HOST_WIDE_INT", "offset", ";", "HOST_WIDE_INT", "nregs", ";", "int", "reg_size", ";", "unsigned", "reg", ";", "unsigned", "lastreg", ";", "rtx", "e", ";", "e", "=", "XVECEXP", "(", "p", ",", "0", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "e", ")", "!=", "SET", "||", "GET_CODE", "(", "XEXP", "(", "e", ",", "0", ")", ")", "!=", "REG", "||", "REGNO", "(", "XEXP", "(", "e", ",", "0", ")", ")", "!=", "SP_REGNUM", "||", "GET_CODE", "(", "XEXP", "(", "e", ",", "1", ")", ")", "!=", "PLUS", ")", "abort", "(", ")", ";", "offset", "=", "-", "INTVAL", "(", "XEXP", "(", "XEXP", "(", "e", ",", "1", ")", ",", "1", ")", ")", ";", "nregs", "=", "XVECLEN", "(", "p", ",", "0", ")", "-", "1", ";", "reg", "=", "REGNO", "(", "XEXP", "(", "XVECEXP", "(", "p", ",", "0", ",", "1", ")", ",", "1", ")", ")", ";", "if", "(", "reg", "<", "16", ")", "{", "if", "(", "nregs", "*", "4", "==", "offset", "-", "4", ")", "{", "fprintf", "(", "asm_out_file", ",", "\"\\t.pad #4\\n\"", ")", ";", "offset", "-=", "4", ";", "}", "reg_size", "=", "4", ";", "}", "else", "if", "(", "IS_VFP_REGNUM", "(", "reg", ")", ")", "{", "offset", "-=", "4", ";", "reg_size", "=", "8", ";", "}", "else", "if", "(", "reg", ">=", "FIRST_FPA_REGNUM", "&&", "reg", "<=", "LAST_FPA_REGNUM", ")", "{", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t.save %r, %wd\\n\"", ",", "reg", ",", "nregs", ")", ";", "return", ";", "}", "else", "abort", "(", ")", ";", "if", "(", "offset", "!=", "nregs", "*", "reg_size", ")", "abort", "(", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.save {\"", ")", ";", "offset", "=", "0", ";", "lastreg", "=", "0", ";", "for", "(", "i", "=", "1", ";", "i", "<=", "nregs", ";", "i", "++", ")", "{", "e", "=", "XVECEXP", "(", "p", ",", "0", ",", "i", ")", ";", "if", "(", "GET_CODE", "(", "e", ")", "!=", "SET", "||", "GET_CODE", "(", "XEXP", "(", "e", ",", "0", ")", ")", "!=", "MEM", "||", "GET_CODE", "(", "XEXP", "(", "e", ",", "1", ")", ")", "!=", "REG", ")", "abort", "(", ")", ";", "reg", "=", "REGNO", "(", "XEXP", "(", "e", ",", "1", ")", ")", ";", "if", "(", "reg", "<", "lastreg", ")", "abort", "(", ")", ";", "if", "(", "i", "!=", "1", ")", "fprintf", "(", "asm_out_file", ",", "\", \"", ")", ";", "if", "(", "IS_VFP_REGNUM", "(", "reg", ")", ")", "asm_fprintf", "(", "asm_out_file", ",", "\"d%d\"", ",", "(", "reg", "-", "FIRST_VFP_REGNUM", ")", "/", "2", ")", ";", "else", "asm_fprintf", "(", "asm_out_file", ",", "\"%r\"", ",", "reg", ")", ";", "e", "=", "XEXP", "(", "XEXP", "(", "e", ",", "0", ")", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "e", ")", "==", "PLUS", ")", "{", "offset", "+=", "reg_size", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "e", ",", "0", ")", ")", "!=", "REG", "||", "REGNO", "(", "XEXP", "(", "e", ",", "0", ")", ")", "!=", "SP_REGNUM", "||", "GET_CODE", "(", "XEXP", "(", "e", ",", "1", ")", ")", "!=", "CONST_INT", "||", "offset", "!=", "INTVAL", "(", "XEXP", "(", "e", ",", "1", ")", ")", ")", "abort", "(", ")", ";", "}", "else", "if", "(", "i", "!=", "1", "||", "GET_CODE", "(", "e", ")", "!=", "REG", "||", "REGNO", "(", "e", ")", "!=", "SP_REGNUM", ")", "abort", "(", ")", ";", "}", "fprintf", "(", "asm_out_file", ",", "\"}\\n\"", ")", ";", "}", ""], "natrual_language": ["Emit", "unwind", "directives", "for", "a", "store-multiple", "instruction", ".", "This", "should", "only", "ever", "be", "generated", "by", "the", "function", "prologue", "code", ",", "so", "we", "expect", "it", "to", "have", "a", "particular", "form", "."], "TS_V_token": ["arm", "0", "0", "0", "0", "1", "1", "1", "0", "1", "0", "1", "1", "16", "4", "4", "\"\\t.pad #4\\n\"", "4", "4", "4", "8", "\"\\t.save %r, %wd\\n\"", "\"\\t.save {\"", "0", "0", "1", "0", "0", "1", "1", "1", "\", \"", "\"d%d\"", "2", "\"%r\"", "0", "0", "0", "0", "1", "1", "1", "\"}\\n\""], "File": "arm3", "Func": "arm_unwind_emit_stm", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12051, "Length": 498, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arm_expand_neon_builtin", "(", "int", "fcode", ",", "tree", "exp", ",", "rtx", "target", ")", "{", "if", "(", "fcode", ">=", "ARM_BUILTIN_NEON_BASE", "&&", "!", "TARGET_NEON", ")", "{", "fatal_error", "(", "input_location", ",", "\"You must enable NEON instructions\"", "\" (e.g. %<-mfloat-abi=softfp%> %<-mfpu=neon%>)\"", "\" to use these intrinsics.\"", ")", ";", "return", "const0_rtx", ";", "}", "if", "(", "fcode", "==", "ARM_BUILTIN_NEON_LANE_CHECK", ")", "{", "tree", "nlanes", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "gcc_assert", "(", "TREE_CODE", "(", "nlanes", ")", "==", "INTEGER_CST", ")", ";", "rtx", "lane_idx", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "1", ")", ")", ";", "if", "(", "CONST_INT_P", "(", "lane_idx", ")", ")", "neon_lane_bounds", "(", "lane_idx", ",", "0", ",", "TREE_INT_CST_LOW", "(", "nlanes", ")", ",", "exp", ")", ";", "else", "error", "(", "\"%Klane index must be a constant immediate\"", ",", "exp", ")", ";", "return", "const0_rtx", ";", "}", "arm_builtin_datum", "*", "d", "=", "&", "neon_builtin_data", "[", "fcode", "-", "ARM_BUILTIN_NEON_PATTERN_START", "]", ";", "return", "arm_expand_builtin_1", "(", "fcode", ",", "exp", ",", "target", ",", "d", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "Neon", "builtin", ",", "i.e", ".", "those", "registered", "only", "if", "TARGET_NEON", "holds", ".", "Most", "of", "these", "are", "``", "special", "''", "because", "they", "do", "n't", "have", "symbolic", "constants", "defined", "per-instruction", "or", "per", "instruction-variant", ".", "Instead", ",", "the", "required", "info", "is", "looked", "up", "in", "the", "table", "neon_builtin_data", "."], "TS_V_token": ["arm", "\"You must enable NEON instructions\"", "\" (e.g. %<-mfloat-abi=softfp%> %<-mfpu=neon%>)\"", "\" to use these intrinsics.\"", "0", "1", "0", "\"%Klane index must be a constant immediate\""], "File": "arm-builtins6", "Func": "arm_expand_neon_builtin", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12052, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pru_elf_asm_destructor", "(", "rtx", "symbol", ",", "int", "priority", ")", "{", "char", "buf", "[", "23", "]", ";", "section", "*", "s", ";", "if", "(", "priority", "==", "DEFAULT_INIT_PRIORITY", ")", "snprintf", "(", "buf", ",", "sizeof", "(", "buf", ")", ",", "\".fini_array\"", ")", ";", "else", "{", "snprintf", "(", "buf", ",", "sizeof", "(", "buf", ")", ",", "\".fini_array.%.5u\"", ",", "priority", ")", ";", "}", "s", "=", "get_section", "(", "buf", ",", "SECTION_WRITE", "|", "SECTION_NOTYPE", ",", "NULL", ")", ";", "switch_to_section", "(", "s", ")", ";", "assemble_aligned_integer", "(", "INIT_ARRAY_ENTRY_BYTES", ",", "symbol", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_DESTRUCTOR", "."], "TS_V_token": ["pru", "23", "\".fini_array\"", "\".fini_array.%.5u\""], "File": "pru", "Func": "pru_elf_asm_destructor", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12053, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "ARMBaseRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "ARMSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "const", "ARMFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "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", "ARM::SP", "ARM::PC", "ARM::FPSCR", "ARM::APSR_NZCV", "ARM::R9", "ARM::D31", "ARM::D16", "15", "0", "16", "ARM::D16", "ARM::GPRPairRegClass"], "File": "ARMBaseRegisterInfo2", "Func": "getReservedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12054, "Length": 265, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "fp_zero_operand", "(", "rtx", "op", ")", "{", "const", "REAL_VALUE_TYPE", "*", "r", ";", "if", "(", "GET_MODE", "(", "op", ")", "!=", "SFmode", ")", "return", "false", ";", "r", "=", "CONST_DOUBLE_REAL_VALUE", "(", "op", ")", ";", "return", "real_equal", "(", "r", ",", "&", "dconst0", ")", "&&", "!", "REAL_VALUE_MINUS_ZERO", "(", "*", "r", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "OP", "is", "a", "floating", "point", "value", "with", "value", "0.0", "."], "TS_V_token": ["sh"], "File": "sh5", "Func": "fp_zero_operand", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12055, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64Subtarget", "::", "useAA", "(", ")", "const", "{", "return", "UseAA", ";", "}", ""], "natrual_language": ["Enable", "use", "of", "alias", "analysis", "during", "code", "generation", "(", "during", "MI", "scheduling", ",", "DAGCombine", ",", "etc", ".", ")", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64Subtarget (2)1", "Func": "useAA", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12056, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "PPCInstrInfo", "::", "commuteInstruction", "(", "MachineInstr", "*", "MI", ",", "bool", "NewMI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "RLWIMI", ")", "return", "TargetInstrInfoImpl", "::", "commuteInstruction", "(", "MI", ",", "NewMI", ")", ";", "if", "(", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "!=", "0", ")", "return", "0", ";", "unsigned", "Reg0", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "unsigned", "Reg1", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "unsigned", "Reg2", "=", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "bool", "Reg1IsKill", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "isKill", "(", ")", ";", "bool", "Reg2IsKill", "=", "MI", "->", "getOperand", "(", "2", ")", ".", "isKill", "(", ")", ";", "bool", "ChangeReg0", "=", "false", ";", "if", "(", "Reg0", "==", "Reg1", ")", "{", "assert", "(", "MI", "->", "getDesc", "(", ")", ".", "getOperandConstraint", "(", "0", ",", "MCOI", "::", "TIED_TO", ")", "&&", "\"Expecting a two-address instruction!\"", ")", ";", "Reg2IsKill", "=", "false", ";", "ChangeReg0", "=", "true", ";", "}", "unsigned", "MB", "=", "MI", "->", "getOperand", "(", "4", ")", ".", "getImm", "(", ")", ";", "unsigned", "ME", "=", "MI", "->", "getOperand", "(", "5", ")", ".", "getImm", "(", ")", ";", "if", "(", "NewMI", ")", "{", "unsigned", "Reg0", "=", "ChangeReg0", "?", "Reg2", ":", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "bool", "Reg0IsDead", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "isDead", "(", ")", ";", "return", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "MI", "->", "getDesc", "(", ")", ")", ".", "addReg", "(", "Reg0", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "Reg0IsDead", ")", ")", ".", "addReg", "(", "Reg2", ",", "getKillRegState", "(", "Reg2IsKill", ")", ")", ".", "addReg", "(", "Reg1", ",", "getKillRegState", "(", "Reg1IsKill", ")", ")", ".", "addImm", "(", "(", "ME", "+", "1", ")", "&", "31", ")", ".", "addImm", "(", "(", "MB", "-", "1", ")", "&", "31", ")", ";", "}", "if", "(", "ChangeReg0", ")", "MI", "->", "getOperand", "(", "0", ")", ".", "setReg", "(", "Reg2", ")", ";", "MI", "->", "getOperand", "(", "2", ")", ".", "setReg", "(", "Reg1", ")", ";", "MI", "->", "getOperand", "(", "1", ")", ".", "setReg", "(", "Reg2", ")", ";", "MI", "->", "getOperand", "(", "2", ")", ".", "setIsKill", "(", "Reg1IsKill", ")", ";", "MI", "->", "getOperand", "(", "1", ")", ".", "setIsKill", "(", "Reg2IsKill", ")", ";", "MI", "->", "getOperand", "(", "4", ")", ".", "setImm", "(", "(", "ME", "+", "1", ")", "&", "31", ")", ";", "MI", "->", "getOperand", "(", "5", ")", ".", "setImm", "(", "(", "MB", "-", "1", ")", "&", "31", ")", ";", "return", "MI", ";", "}", ""], "natrual_language": ["This", "method", "commutes", "the", "operands", "of", "the", "given", "machine", "instruction", "MI", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::RLWIMI", "3", "0", "0", "0", "1", "2", "1", "2", "0", "\"Expecting a two-address instruction!\"", "4", "5", "0", "0", "1", "31", "1", "31", "0", "2", "1", "2", "1", "4", "1", "31", "5", "1", "31"], "File": "PPCInstrInfo107", "Func": "commuteInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12057, "Length": 425, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_handle_vis_mul8x16", "(", "vec", "<", "tree", ">", "*", "n_elts", ",", "enum", "sparc_builtins", "fncode", ",", "tree", "inner_type", ",", "tree", "cst0", ",", "tree", "cst1", ")", "{", "unsigned", "i", ",", "num", "=", "VECTOR_CST_NELTS", "(", "cst0", ")", ";", "int", "scale", ";", "switch", "(", "fncode", ")", "{", "case", "SPARC_BUILTIN_FMUL8X16", ":", "for", "(", "i", "=", "0", ";", "i", "<", "num", ";", "++", "i", ")", "{", "int", "val", "=", "sparc_vis_mul8x16", "(", "TREE_INT_CST_LOW", "(", "VECTOR_CST_ELT", "(", "cst0", ",", "i", ")", ")", ",", "TREE_INT_CST_LOW", "(", "VECTOR_CST_ELT", "(", "cst1", ",", "i", ")", ")", ")", ";", "n_elts", "->", "quick_push", "(", "build_int_cst", "(", "inner_type", ",", "val", ")", ")", ";", "}", "break", ";", "case", "SPARC_BUILTIN_FMUL8X16AU", ":", "scale", "=", "TREE_INT_CST_LOW", "(", "VECTOR_CST_ELT", "(", "cst1", ",", "0", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "num", ";", "++", "i", ")", "{", "int", "val", "=", "sparc_vis_mul8x16", "(", "TREE_INT_CST_LOW", "(", "VECTOR_CST_ELT", "(", "cst0", ",", "i", ")", ")", ",", "scale", ")", ";", "n_elts", "->", "quick_push", "(", "build_int_cst", "(", "inner_type", ",", "val", ")", ")", ";", "}", "break", ";", "case", "SPARC_BUILTIN_FMUL8X16AL", ":", "scale", "=", "TREE_INT_CST_LOW", "(", "VECTOR_CST_ELT", "(", "cst1", ",", "1", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "num", ";", "++", "i", ")", "{", "int", "val", "=", "sparc_vis_mul8x16", "(", "TREE_INT_CST_LOW", "(", "VECTOR_CST_ELT", "(", "cst0", ",", "i", ")", ")", ",", "scale", ")", ";", "n_elts", "->", "quick_push", "(", "build_int_cst", "(", "inner_type", ",", "val", ")", ")", ";", "}", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Multiply", "the", "vector", "elements", "in", "ELTS0", "to", "the", "elements", "in", "ELTS1", "as", "specified", "by", "FNCODE", ".", "All", "of", "the", "elements", "in", "ELTS0", "and", "ELTS1", "lists", "must", "be", "integer", "constants", ".", "A", "tree", "list", "with", "the", "results", "of", "the", "multiplications", "is", "returned", ",", "and", "each", "element", "in", "the", "list", "is", "of", "INNER_TYPE", "."], "TS_V_token": ["sparc", "0", "0", "0", "1", "0"], "File": "sparc", "Func": "sparc_handle_vis_mul8x16", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12058, "Length": 233, "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", "(", ")", ";", "LLT", "ValTy", "(", "VA", ".", "getValVT", "(", ")", ")", ";", "LLT", "LocTy", "(", "VA", ".", "getLocVT", "(", ")", ")", ";", "if", "(", "VA", ".", "getValVT", "(", ")", "==", "MVT", "::", "i8", "||", "VA", ".", "getValVT", "(", ")", "==", "MVT", "::", "i16", ")", "std", "::", "swap", "(", "ValTy", ",", "LocTy", ")", ";", "else", "{", "assert", "(", "LocTy", ".", "getSizeInBits", "(", ")", "==", "MemTy", ".", "getSizeInBits", "(", ")", ")", ";", "LocTy", "=", "MemTy", ";", "}", "auto", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MPO", ",", "MachineMemOperand", "::", "MOLoad", "|", "MachineMemOperand", "::", "MOInvariant", ",", "LocTy", ",", "inferAlignFromPtrInfo", "(", "MF", ",", "MPO", ")", ")", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "case", "CCValAssign", "::", "LocInfo", "::", "ZExt", ":", "MIRBuilder", ".", "buildLoadInstr", "(", "TargetOpcode", "::", "G_ZEXTLOAD", ",", "ValVReg", ",", "Addr", ",", "*", "MMO", ")", ";", "return", ";", "case", "CCValAssign", "::", "LocInfo", "::", "SExt", ":", "MIRBuilder", ".", "buildLoadInstr", "(", "TargetOpcode", "::", "G_SEXTLOAD", ",", "ValVReg", ",", "Addr", ",", "*", "MMO", ")", ";", "return", ";", "default", ":", "MIRBuilder", ".", "buildLoad", "(", "ValVReg", ",", "Addr", ",", "*", "MMO", ")", ";", "return", ";", "}", "}", ""], "natrual_language": ["An", "overload", "which", "takes", "an", "ArgInfo", "if", "additional", "information", "about", "the", "arg", "is", "needed", "."], "TS_V_token": ["AArch64", "MVT::i8", "MVT::i16"], "File": "AArch64CallLowering17", "Func": "assignValueToAddress", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12059, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_annotate_pic_calls", "(", "void", ")", "{", "basic_block", "bb", ";", "rtx_insn", "*", "insn", ";", "FOR_EACH_BB_FN", "(", "bb", ",", "cfun", ")", "FOR_BB_INSNS", "(", "bb", ",", "insn", ")", "{", "rtx", "call", ",", "reg", ",", "symbol", ",", "second_call", ";", "second_call", "=", "0", ";", "call", "=", "mips_call_expr_from_insn", "(", "insn", ",", "&", "second_call", ")", ";", "if", "(", "!", "call", ")", "continue", ";", "gcc_assert", "(", "MEM_P", "(", "XEXP", "(", "call", ",", "0", ")", ")", ")", ";", "reg", "=", "XEXP", "(", "XEXP", "(", "call", ",", "0", ")", ",", "0", ")", ";", "if", "(", "!", "REG_P", "(", "reg", ")", ")", "continue", ";", "symbol", "=", "mips_find_pic_call_symbol", "(", "insn", ",", "reg", ",", "true", ")", ";", "if", "(", "symbol", ")", "{", "mips_annotate_pic_call_expr", "(", "call", ",", "symbol", ")", ";", "if", "(", "second_call", ")", "mips_annotate_pic_call_expr", "(", "second_call", ",", "symbol", ")", ";", "}", "}", "}", ""], "natrual_language": ["Use", "DF", "to", "annotate", "PIC", "indirect", "calls", "with", "the", "function", "symbol", "they", "dispatch", "to", "."], "TS_V_token": ["mips", "0", "0", "0", "0"], "File": "mips", "Func": "mips_annotate_pic_calls", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12060, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createMipsModuleISelDagPass", "(", ")", ")", ";", "addPass", "(", "createMips16ISelDag", "(", "getMipsTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "addPass", "(", "createMipsSEISelDag", "(", "getMipsTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "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"], "File": "MipsTargetMachine (2)1", "Func": "addInstSelector", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12061, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ARMAsmParser", "::", "tryParseRegister", "(", ")", "{", "const", "AsmToken", "&", "Tok", "=", "Parser", ".", "getTok", "(", ")", ";", "if", "(", "Tok", ".", "isNot", "(", "AsmToken", "::", "Identifier", ")", ")", "return", "-", "1", ";", "std", "::", "string", "lowerCase", "=", "Tok", ".", "getString", "(", ")", ".", "lower", "(", ")", ";", "unsigned", "RegNum", "=", "MatchRegisterName", "(", "lowerCase", ")", ";", "if", "(", "!", "RegNum", ")", "{", "RegNum", "=", "StringSwitch", "<", "unsigned", ">", "(", "lowerCase", ")", ".", "Case", "(", "\"r13\"", ",", "ARM", "::", "SP", ")", ".", "Case", "(", "\"r14\"", ",", "ARM", "::", "LR", ")", ".", "Case", "(", "\"r15\"", ",", "ARM", "::", "PC", ")", ".", "Case", "(", "\"ip\"", ",", "ARM", "::", "R12", ")", ".", "Case", "(", "\"a1\"", ",", "ARM", "::", "R0", ")", ".", "Case", "(", "\"a2\"", ",", "ARM", "::", "R1", ")", ".", "Case", "(", "\"a3\"", ",", "ARM", "::", "R2", ")", ".", "Case", "(", "\"a4\"", ",", "ARM", "::", "R3", ")", ".", "Case", "(", "\"v1\"", ",", "ARM", "::", "R4", ")", ".", "Case", "(", "\"v2\"", ",", "ARM", "::", "R5", ")", ".", "Case", "(", "\"v3\"", ",", "ARM", "::", "R6", ")", ".", "Case", "(", "\"v4\"", ",", "ARM", "::", "R7", ")", ".", "Case", "(", "\"v5\"", ",", "ARM", "::", "R8", ")", ".", "Case", "(", "\"v6\"", ",", "ARM", "::", "R9", ")", ".", "Case", "(", "\"v7\"", ",", "ARM", "::", "R10", ")", ".", "Case", "(", "\"v8\"", ",", "ARM", "::", "R11", ")", ".", "Case", "(", "\"sb\"", ",", "ARM", "::", "R9", ")", ".", "Case", "(", "\"sl\"", ",", "ARM", "::", "R10", ")", ".", "Case", "(", "\"fp\"", ",", "ARM", "::", "R11", ")", ".", "Default", "(", "0", ")", ";", "}", "if", "(", "!", "RegNum", ")", "{", "StringMap", "<", "unsigned", ">", "::", "const_iterator", "Entry", "=", "RegisterReqs", ".", "find", "(", "lowerCase", ")", ";", "if", "(", "Entry", "==", "RegisterReqs", ".", "end", "(", ")", ")", "return", "-", "1", ";", "Parser", ".", "Lex", "(", ")", ";", "return", "Entry", "->", "getValue", "(", ")", ";", "}", "Parser", ".", "Lex", "(", ")", ";", "return", "RegNum", ";", "}", ""], "natrual_language": ["tryParseRegister", "-", "parse", "one", "register", "if", "possible"], "TS_V_token": ["ARM", "ARM", "1", "\"r13\"", "ARM::SP", "\"r14\"", "ARM::LR", "\"r15\"", "ARM::PC", "\"ip\"", "ARM::R12", "\"a1\"", "ARM::R0", "\"a2\"", "ARM::R1", "\"a3\"", "ARM::R2", "\"a4\"", "ARM::R3", "\"v1\"", "ARM::R4", "\"v2\"", "ARM::R5", "\"v3\"", "ARM::R6", "\"v4\"", "ARM::R7", "\"v5\"", "ARM::R8", "\"v6\"", "ARM::R9", "\"v7\"", "ARM::R10", "\"v8\"", "ARM::R11", "\"sb\"", "ARM::R9", "\"sl\"", "ARM::R10", "\"fp\"", "ARM::R11", "0", "1"], "File": "ARMAsmParser (2)", "Func": "tryParseRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12062, "Length": 308, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "rs6000_xcoff_visibility", "(", "tree", "decl", ")", "{", "static", "const", "char", "*", "const", "visibility_types", "[", "]", "=", "{", "\"\"", ",", "\",protected\"", ",", "\",hidden\"", ",", "\",internal\"", "}", ";", "enum", "symbol_visibility", "vis", "=", "DECL_VISIBILITY", "(", "decl", ")", ";", "if", "(", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", "&&", "cgraph_node", "::", "get", "(", "decl", ")", "&&", "cgraph_node", "::", "get", "(", "decl", ")", "->", "instrumentation_clone", "&&", "cgraph_node", "::", "get", "(", "decl", ")", "->", "instrumented_version", ")", "vis", "=", "DECL_VISIBILITY", "(", "cgraph_node", "::", "get", "(", "decl", ")", "->", "instrumented_version", "->", "decl", ")", ";", "return", "visibility_types", "[", "vis", "]", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "calculate", "visibility", "of", "a", "DECL", "and", "return", "the", "value", "as", "a", "const", "string", "."], "TS_V_token": ["powerpcspe", "\"\"", "\",protected\"", "\",hidden\"", "\",internal\""], "File": "powerpcspe", "Func": "rs6000_xcoff_visibility", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12063, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pa_init_libfuncs", "(", "void", ")", "{", "if", "(", "HPUX_LONG_DOUBLE_LIBRARY", ")", "{", "set_optab_libfunc", "(", "add_optab", ",", "TFmode", ",", "\"_U_Qfadd\"", ")", ";", "set_optab_libfunc", "(", "sub_optab", ",", "TFmode", ",", "\"_U_Qfsub\"", ")", ";", "set_optab_libfunc", "(", "smul_optab", ",", "TFmode", ",", "\"_U_Qfmpy\"", ")", ";", "set_optab_libfunc", "(", "sdiv_optab", ",", "TFmode", ",", "\"_U_Qfdiv\"", ")", ";", "set_optab_libfunc", "(", "smin_optab", ",", "TFmode", ",", "\"_U_Qmin\"", ")", ";", "set_optab_libfunc", "(", "smax_optab", ",", "TFmode", ",", "\"_U_Qfmax\"", ")", ";", "set_optab_libfunc", "(", "sqrt_optab", ",", "TFmode", ",", "\"_U_Qfsqrt\"", ")", ";", "set_optab_libfunc", "(", "abs_optab", ",", "TFmode", ",", "\"_U_Qfabs\"", ")", ";", "set_optab_libfunc", "(", "neg_optab", ",", "TFmode", ",", "\"_U_Qfneg\"", ")", ";", "set_optab_libfunc", "(", "eq_optab", ",", "TFmode", ",", "\"_U_Qfeq\"", ")", ";", "set_optab_libfunc", "(", "ne_optab", ",", "TFmode", ",", "\"_U_Qfne\"", ")", ";", "set_optab_libfunc", "(", "gt_optab", ",", "TFmode", ",", "\"_U_Qfgt\"", ")", ";", "set_optab_libfunc", "(", "ge_optab", ",", "TFmode", ",", "\"_U_Qfge\"", ")", ";", "set_optab_libfunc", "(", "lt_optab", ",", "TFmode", ",", "\"_U_Qflt\"", ")", ";", "set_optab_libfunc", "(", "le_optab", ",", "TFmode", ",", "\"_U_Qfle\"", ")", ";", "set_optab_libfunc", "(", "unord_optab", ",", "TFmode", ",", "\"_U_Qfunord\"", ")", ";", "set_conv_libfunc", "(", "sext_optab", ",", "TFmode", ",", "SFmode", ",", "\"_U_Qfcnvff_sgl_to_quad\"", ")", ";", "set_conv_libfunc", "(", "sext_optab", ",", "TFmode", ",", "DFmode", ",", "\"_U_Qfcnvff_dbl_to_quad\"", ")", ";", "set_conv_libfunc", "(", "trunc_optab", ",", "SFmode", ",", "TFmode", ",", "\"_U_Qfcnvff_quad_to_sgl\"", ")", ";", "set_conv_libfunc", "(", "trunc_optab", ",", "DFmode", ",", "TFmode", ",", "\"_U_Qfcnvff_quad_to_dbl\"", ")", ";", "set_conv_libfunc", "(", "sfix_optab", ",", "SImode", ",", "TFmode", ",", "TARGET_64BIT", "?", "\"__U_Qfcnvfxt_quad_to_sgl\"", ":", "\"_U_Qfcnvfxt_quad_to_sgl\"", ")", ";", "set_conv_libfunc", "(", "sfix_optab", ",", "DImode", ",", "TFmode", ",", "\"_U_Qfcnvfxt_quad_to_dbl\"", ")", ";", "set_conv_libfunc", "(", "ufix_optab", ",", "SImode", ",", "TFmode", ",", "\"_U_Qfcnvfxt_quad_to_usgl\"", ")", ";", "set_conv_libfunc", "(", "ufix_optab", ",", "DImode", ",", "TFmode", ",", "\"_U_Qfcnvfxt_quad_to_udbl\"", ")", ";", "set_conv_libfunc", "(", "sfloat_optab", ",", "TFmode", ",", "SImode", ",", "\"_U_Qfcnvxf_sgl_to_quad\"", ")", ";", "set_conv_libfunc", "(", "sfloat_optab", ",", "TFmode", ",", "DImode", ",", "\"_U_Qfcnvxf_dbl_to_quad\"", ")", ";", "set_conv_libfunc", "(", "ufloat_optab", ",", "TFmode", ",", "SImode", ",", "\"_U_Qfcnvxf_usgl_to_quad\"", ")", ";", "set_conv_libfunc", "(", "ufloat_optab", ",", "TFmode", ",", "DImode", ",", "\"_U_Qfcnvxf_udbl_to_quad\"", ")", ";", "}", "if", "(", "TARGET_SYNC_LIBCALL", ")", "init_sync_libfuncs", "(", "8", ")", ";", "}", ""], "natrual_language": ["Initialize", "optabs", "to", "point", "to", "emulation", "routines", "."], "TS_V_token": ["pa", "\"_U_Qfadd\"", "\"_U_Qfsub\"", "\"_U_Qfmpy\"", "\"_U_Qfdiv\"", "\"_U_Qmin\"", "\"_U_Qfmax\"", "\"_U_Qfsqrt\"", "\"_U_Qfabs\"", "\"_U_Qfneg\"", "\"_U_Qfeq\"", "\"_U_Qfne\"", "\"_U_Qfgt\"", "\"_U_Qfge\"", "\"_U_Qflt\"", "\"_U_Qfle\"", "\"_U_Qfunord\"", "\"_U_Qfcnvff_sgl_to_quad\"", "\"_U_Qfcnvff_dbl_to_quad\"", "\"_U_Qfcnvff_quad_to_sgl\"", "\"_U_Qfcnvff_quad_to_dbl\"", "\"__U_Qfcnvfxt_quad_to_sgl\"", "\"_U_Qfcnvfxt_quad_to_sgl\"", "\"_U_Qfcnvfxt_quad_to_dbl\"", "\"_U_Qfcnvfxt_quad_to_usgl\"", "\"_U_Qfcnvfxt_quad_to_udbl\"", "\"_U_Qfcnvxf_sgl_to_quad\"", "\"_U_Qfcnvxf_dbl_to_quad\"", "\"_U_Qfcnvxf_usgl_to_quad\"", "\"_U_Qfcnvxf_udbl_to_quad\"", "8"], "File": "pa", "Func": "pa_init_libfuncs", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12064, "Length": 303, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Emitter", "<", "CodeEmitter", ">", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "MMI", "=", "&", "getAnalysis", "<", "MachineModuleInfo", ">", "(", ")", ";", "MCE", ".", "setModuleInfo", "(", "MMI", ")", ";", "II", "=", "TM", ".", "getInstrInfo", "(", ")", ";", "TD", "=", "TM", ".", "getDataLayout", "(", ")", ";", "Is64BitMode", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ";", "IsPIC", "=", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ";", "do", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"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", "::", "iterator", "I", "=", "MBB", "->", "begin", "(", ")", ",", "E", "=", "MBB", "->", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "const", "MCInstrDesc", "&", "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": "X86CodeEmitter", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12065, "Length": 232, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "ia64_addr_area", "ia64_get_addr_area", "(", "tree", "decl", ")", "{", "tree", "model_attr", ";", "model_attr", "=", "lookup_attribute", "(", "\"model\"", ",", "DECL_ATTRIBUTES", "(", "decl", ")", ")", ";", "if", "(", "model_attr", ")", "{", "tree", "id", ";", "init_idents", "(", ")", ";", "id", "=", "TREE_VALUE", "(", "TREE_VALUE", "(", "model_attr", ")", ")", ";", "if", "(", "id", "==", "small_ident1", "||", "id", "==", "small_ident2", ")", "return", "ADDR_AREA_SMALL", ";", "}", "return", "ADDR_AREA_NORMAL", ";", "}", ""], "natrual_language": ["Retrieve", "the", "address", "area", "that", "has", "been", "chosen", "for", "the", "given", "decl", "."], "TS_V_token": ["ia64", "\"model\""], "File": "ia64", "Func": "ia64_get_addr_area", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12066, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "DestReg", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "bool", "isAligned", "=", "(", "RI", ".", "getStackAlignment", "(", ")", ">=", "16", ")", "||", "RI", ".", "needsStackRealignment", "(", "MF", ")", ";", "unsigned", "Opc", "=", "getLoadRegOpcode", "(", "DestReg", ",", "RC", ",", "isAligned", ",", "TM", ")", ";", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "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": "X86InstrInfo108", "Func": "loadRegFromStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12067, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Warning", "(", "SMLoc", "L", ",", "const", "Twine", "&", "Msg", ",", "ArrayRef", "<", "SMRange", ">", "Ranges", "=", "None", ")", "{", "return", "getParser", "(", ")", ".", "Warning", "(", "L", ",", "Msg", ",", "Ranges", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "warning", "at", "the", "location", "L", ",", "with", "the", "message", "Msg", "."], "TS_V_token": ["ARM"], "File": "ARMAsmParser (2)5", "Func": "Warning", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12068, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMLoc", "getStartLoc", "(", ")", "const", "{", "return", "StartLoc", ";", "}", ""], "natrual_language": ["getStartLoc", "-", "Get", "the", "location", "of", "the", "first", "token", "of", "this", "operand", "."], "TS_V_token": ["Sparc"], "File": "SparcAsmParser11", "Func": "getStartLoc", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12069, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ArrayRef", "<", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">>", "AArch64InstrInfo", "::", "getSerializableBitmaskMachineOperandTargetFlags", "(", ")", "const", "{", "using", "namespace", "AArch64II", ";", "static", "const", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">", "TargetFlags", "[", "]", "=", "{", "{", "MO_COFFSTUB", ",", "\"aarch64-coffstub\"", "}", ",", "{", "MO_GOT", ",", "\"aarch64-got\"", "}", ",", "{", "MO_NC", ",", "\"aarch64-nc\"", "}", ",", "{", "MO_TLS", ",", "\"aarch64-tls\"", "}", ",", "{", "MO_DLLIMPORT", ",", "\"aarch64-dllimport\"", "}", "}", ";", "return", "makeArrayRef", "(", "TargetFlags", ")", ";", "}", ""], "natrual_language": ["Return", "an", "array", "that", "contains", "the", "bitmask", "target", "flag", "values", "and", "their", "names", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "\"aarch64-coffstub\"", "\"aarch64-got\"", "\"aarch64-nc\"", "\"aarch64-tls\"", "\"aarch64-dllimport\""], "File": "AArch64InstrInfo115", "Func": "getSerializableBitmaskMachineOperandTargetFlags", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12070, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "gen_safe_HIGH64", "(", "rtx", "dest", ",", "HOST_WIDE_INT", "val", ")", "{", "return", "gen_rtx_SET", "(", "dest", ",", "GEN_INT", "(", "val", "&", "~", "(", "HOST_WIDE_INT", ")", "0x3ff", ")", ")", ";", "}", ""], "natrual_language": ["The", "optimizer", "is", "not", "to", "assume", "anything", "about", "exactly", "which", "bits", "are", "set", "for", "a", "HIGH", ",", "they", "are", "unspecified", ".", "Unfortunately", "this", "leads", "to", "many", "missed", "optimizations", "during", "CSE", ".", "We", "mask", "out", "the", "non-HIGH", "bits", ",", "and", "matches", "a", "plain", "movdi", ",", "to", "alleviate", "this", "problem", "."], "TS_V_token": ["sparc", "0x3ff"], "File": "sparc", "Func": "gen_safe_HIGH64", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12071, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "check_required_extensions", "(", "location_t", "location", ",", "tree", "fndecl", ",", "aarch64_feature_flags", "required_extensions", ")", "{", "auto", "missing_extensions", "=", "required_extensions", "&", "~", "aarch64_asm_isa_flags", ";", "if", "(", "missing_extensions", "==", "0", ")", "return", "check_required_registers", "(", "location", ",", "fndecl", ")", ";", "static", "const", "struct", "{", "aarch64_feature_flags", "flag", ";", "const", "char", "*", "name", ";", "}", "extensions", "[", "]", "=", "{", "{", "AARCH64_FL_", "##", "IDENT", ",", "EXT_NAME", "}", ",", "}", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "extensions", ")", ";", "++", "i", ")", "if", "(", "missing_extensions", "&", "extensions", "[", "i", "]", ".", "flag", ")", "{", "report_missing_extension", "(", "location", ",", "fndecl", ",", "extensions", "[", "i", "]", ".", "name", ")", ";", "return", "false", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Check", "whether", "all", "the", "RVV_REQUIRE_", "*", "values", "in", "REQUIRED_EXTENSIONS", "are", "enabled", "."], "TS_V_token": ["aarch64", "0", "0"], "File": "aarch64-sve-builtins3", "Func": "check_required_extensions", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12072, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "xstormy16_output_addr_vec", "(", "FILE", "*", "file", ",", "rtx", "label", "ATTRIBUTE_UNUSED", ",", "rtx", "table", ")", "{", "int", "vlen", ",", "idx", ";", "switch_to_section", "(", "current_function_section", "(", ")", ")", ";", "vlen", "=", "XVECLEN", "(", "table", ",", "0", ")", ";", "for", "(", "idx", "=", "0", ";", "idx", "<", "vlen", ";", "idx", "++", ")", "{", "fputs", "(", "\"\\tjmpf \"", ",", "file", ")", ";", "output_asm_label", "(", "XEXP", "(", "XVECEXP", "(", "table", ",", "0", ",", "idx", ")", ",", "0", ")", ")", ";", "fputc", "(", "'\\n'", ",", "file", ")", ";", "}", "}", ""], "natrual_language": ["Output", "an", "ADDR_VEC", ".", "It", "is", "output", "as", "a", "sequence", "of", "'jmpf", "'", "instructions", ",", "without", "label", "or", "alignment", "or", "any", "other", "special", "constructs", ".", "We", "know", "that", "the", "previous", "instruction", "will", "be", "the", "`", "tablejump_pcrel", "'", "output", "above", ".", "TODO", ":", "it", "might", "be", "nice", "to", "output", "'br", "'", "instructions", "if", "they", "could", "all", "reach", "."], "TS_V_token": ["stormy16", "0", "0", "\"\\tjmpf \"", "0", "0"], "File": "stormy16", "Func": "xstormy16_output_addr_vec", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12073, "Length": 83, "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": "ARMMachORelocationInfo1", "Func": "createExprForCAPIVariantKind", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12074, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_sse2_abs", "(", "rtx", "target", ",", "rtx", "input", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "target", ")", ";", "rtx", "tmp0", ",", "tmp1", ",", "x", ";", "switch", "(", "mode", ")", "{", "case", "V4SImode", ":", "tmp0", "=", "expand_simple_binop", "(", "mode", ",", "ASHIFTRT", ",", "input", ",", "GEN_INT", "(", "GET_MODE_BITSIZE", "(", "GET_MODE_INNER", "(", "mode", ")", ")", "-", "1", ")", ",", "NULL", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "tmp1", "=", "expand_simple_binop", "(", "mode", ",", "XOR", ",", "tmp0", ",", "input", ",", "NULL", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "x", "=", "expand_simple_binop", "(", "mode", ",", "MINUS", ",", "tmp1", ",", "tmp0", ",", "target", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "break", ";", "case", "V8HImode", ":", "tmp0", "=", "expand_unop", "(", "mode", ",", "neg_optab", ",", "input", ",", "NULL_RTX", ",", "0", ")", ";", "x", "=", "expand_simple_binop", "(", "mode", ",", "SMAX", ",", "tmp0", ",", "input", ",", "target", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "break", ";", "case", "V16QImode", ":", "tmp0", "=", "expand_unop", "(", "mode", ",", "neg_optab", ",", "input", ",", "NULL_RTX", ",", "0", ")", ";", "x", "=", "expand_simple_binop", "(", "V16QImode", ",", "UMIN", ",", "tmp0", ",", "input", ",", "target", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "x", "!=", "target", ")", "emit_move_insn", "(", "target", ",", "x", ")", ";", "}", ""], "natrual_language": ["Calculate", "integer", "abs", "(", ")", "using", "only", "SSE2", "instructions", "."], "TS_V_token": ["i386", "1", "0", "0", "0", "0", "0", "0", "0"], "File": "i3864", "Func": "ix86_expand_sse2_abs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12075, "Length": 202, "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", "::", "CPURegsRegClass", ".", "contains", "(", "SrcReg", ")", ")", "Opc", "=", "Mips", "::", "MoveR3216", ";", "else", "if", "(", "Mips", "::", "CPURegsRegClass", ".", "contains", "(", "DestReg", ")", "&&", "Mips", "::", "CPU16RegsRegClass", ".", "contains", "(", "SrcReg", ")", ")", "Opc", "=", "Mips", "::", "Move32R16", ";", "else", "if", "(", "(", "SrcReg", "==", "Mips", "::", "HI", ")", "&&", "(", "Mips", "::", "CPU16RegsRegClass", ".", "contains", "(", "DestReg", ")", ")", ")", "Opc", "=", "Mips", "::", "Mfhi16", ",", "SrcReg", "=", "0", ";", "else", "if", "(", "(", "SrcReg", "==", "Mips", "::", "LO", ")", "&&", "(", "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::CPURegsRegClass", "Mips::MoveR3216", "Mips::CPURegsRegClass", "Mips::CPU16RegsRegClass", "Mips::Move32R16", "Mips::HI", "Mips::CPU16RegsRegClass", "Mips::Mfhi16", "0", "Mips::LO", "Mips::CPU16RegsRegClass", "Mips::Mflo16", "0", "\"Cannot copy registers\""], "File": "Mips16InstrInfo1", "Func": "copyPhysReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12076, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmBackend", "::", "shouldForceRelocation", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ")", "{", "const", "unsigned", "FixupKind", "=", "Fixup", ".", "getKind", "(", ")", ";", "switch", "(", "FixupKind", ")", "{", "default", ":", "return", "false", ";", "case", "Mips", "::", "fixup_Mips_CALL_HI16", ":", "case", "Mips", "::", "fixup_Mips_CALL_LO16", ":", "case", "Mips", "::", "fixup_Mips_CALL16", ":", "case", "Mips", "::", "fixup_Mips_GOT", ":", "case", "Mips", "::", "fixup_Mips_GOT_PAGE", ":", "case", "Mips", "::", "fixup_Mips_GOT_OFST", ":", "case", "Mips", "::", "fixup_Mips_GOT_DISP", ":", "case", "Mips", "::", "fixup_Mips_GOT_HI16", ":", "case", "Mips", "::", "fixup_Mips_GOT_LO16", ":", "case", "Mips", "::", "fixup_Mips_GOTTPREL", ":", "case", "Mips", "::", "fixup_Mips_DTPREL_HI", ":", "case", "Mips", "::", "fixup_Mips_DTPREL_LO", ":", "case", "Mips", "::", "fixup_Mips_TLSGD", ":", "case", "Mips", "::", "fixup_Mips_TLSLDM", ":", "case", "Mips", "::", "fixup_Mips_TPREL_HI", ":", "case", "Mips", "::", "fixup_Mips_TPREL_LO", ":", "case", "Mips", "::", "fixup_Mips_JALR", ":", "case", "Mips", "::", "fixup_MICROMIPS_CALL16", ":", "case", "Mips", "::", "fixup_MICROMIPS_GOT_DISP", ":", "case", "Mips", "::", "fixup_MICROMIPS_GOT_PAGE", ":", "case", "Mips", "::", "fixup_MICROMIPS_GOT_OFST", ":", "case", "Mips", "::", "fixup_MICROMIPS_GOT16", ":", "case", "Mips", "::", "fixup_MICROMIPS_GOTTPREL", ":", "case", "Mips", "::", "fixup_MICROMIPS_TLS_DTPREL_HI16", ":", "case", "Mips", "::", "fixup_MICROMIPS_TLS_DTPREL_LO16", ":", "case", "Mips", "::", "fixup_MICROMIPS_TLS_GD", ":", "case", "Mips", "::", "fixup_MICROMIPS_TLS_LDM", ":", "case", "Mips", "::", "fixup_MICROMIPS_TLS_TPREL_HI16", ":", "case", "Mips", "::", "fixup_MICROMIPS_TLS_TPREL_LO16", ":", "case", "Mips", "::", "fixup_MICROMIPS_JALR", ":", "case", "Mips", "::", "fixup_CHERI_CAPTAB_TLSGD_HI16", ":", "case", "Mips", "::", "fixup_CHERI_CAPTAB_TLSGD_LO16", ":", "case", "Mips", "::", "fixup_CHERI_CAPTAB_TLSLDM_HI16", ":", "case", "Mips", "::", "fixup_CHERI_CAPTAB_TLSLDM_LO16", ":", "case", "Mips", "::", "fixup_CHERI_CAPTAB_TPREL_HI16", ":", "case", "Mips", "::", "fixup_CHERI_CAPTAB_TPREL_LO16", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Hook", "to", "check", "if", "a", "relocation", "is", "needed", "for", "some", "target", "specific", "reason", "."], "TS_V_token": ["Mips", "Mips", "Mips::fixup_Mips_CALL_HI16", "Mips::fixup_Mips_CALL_LO16", "Mips::fixup_Mips_CALL16", "Mips::fixup_Mips_GOT", "Mips::fixup_Mips_GOT_PAGE", "Mips::fixup_Mips_GOT_OFST", "Mips::fixup_Mips_GOT_DISP", "Mips::fixup_Mips_GOT_HI16", "Mips::fixup_Mips_GOT_LO16", "Mips::fixup_Mips_GOTTPREL", "Mips::fixup_Mips_DTPREL_HI", "Mips::fixup_Mips_DTPREL_LO", "Mips::fixup_Mips_TLSGD", "Mips::fixup_Mips_TLSLDM", "Mips::fixup_Mips_TPREL_HI", "Mips::fixup_Mips_TPREL_LO", "Mips::fixup_Mips_JALR", "Mips::fixup_MICROMIPS_CALL16", "Mips::fixup_MICROMIPS_GOT_DISP", "Mips::fixup_MICROMIPS_GOT_PAGE", "Mips::fixup_MICROMIPS_GOT_OFST", "Mips::fixup_MICROMIPS_GOT16", "Mips::fixup_MICROMIPS_GOTTPREL", "Mips::fixup_MICROMIPS_TLS_DTPREL_HI16", "Mips::fixup_MICROMIPS_TLS_DTPREL_LO16", "Mips::fixup_MICROMIPS_TLS_GD", "Mips::fixup_MICROMIPS_TLS_LDM", "Mips::fixup_MICROMIPS_TLS_TPREL_HI16", "Mips::fixup_MICROMIPS_TLS_TPREL_LO16", "Mips::fixup_MICROMIPS_JALR", "Mips::fixup_CHERI_CAPTAB_TLSGD_HI16", "Mips::fixup_CHERI_CAPTAB_TLSGD_LO16", "Mips::fixup_CHERI_CAPTAB_TLSLDM_HI16", "Mips::fixup_CHERI_CAPTAB_TLSLDM_LO16", "Mips::fixup_CHERI_CAPTAB_TPREL_HI16", "Mips::fixup_CHERI_CAPTAB_TPREL_LO16"], "File": "MipsAsmBackend37", "Func": "shouldForceRelocation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12077, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "nds32_expand_builtin_reg_ftype_imm", "(", "enum", "insn_code", "icode", ",", "tree", "exp", ",", "rtx", "target", ")", "{", "struct", "expand_operand", "ops", "[", "2", "]", ";", "tree", "arg0", ";", "rtx", "value0", ";", "arg0", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "value0", "=", "expand_normal", "(", "arg0", ")", ";", "create_output_operand", "(", "&", "ops", "[", "0", "]", ",", "target", ",", "TYPE_MODE", "(", "TREE_TYPE", "(", "exp", ")", ")", ")", ";", "create_input_operand", "(", "&", "ops", "[", "1", "]", ",", "value0", ",", "TYPE_MODE", "(", "TREE_TYPE", "(", "arg0", ")", ")", ")", ";", "if", "(", "!", "maybe_expand_insn", "(", "icode", ",", "2", ",", "ops", ")", ")", "error", "(", "\"invalid argument to built-in function\"", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Function", "to", "expand", "builtin", "function", "for", "'", "[", "(", "set", "(", "reg", ")", "(", "unspec_volatile", "[", "(", "imm", ")", "]", ")", ")", "]", "'", "."], "TS_V_token": ["nds32", "2", "0", "0", "1", "2", "\"invalid argument to built-in function\""], "File": "nds32-intrinsic2", "Func": "nds32_expand_builtin_reg_ftype_imm", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12078, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "X86MCInstLower", "MCInstLowering", "(", "*", "MF", ",", "*", "this", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "llvm_unreachable", "(", "\"Should be handled target independently\"", ")", ";", "case", "X86", "::", "Int_MemBarrier", ":", "if", "(", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "OutStreamer", ".", "EmitRawText", "(", "StringRef", "(", "\"\\t#MEMBARRIER\"", ")", ")", ";", "return", ";", "case", "X86", "::", "EH_RETURN", ":", "case", "X86", "::", "EH_RETURN64", ":", "{", "unsigned", "Reg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "OutStreamer", ".", "AddComment", "(", "StringRef", "(", "\"eh_return, addr: %\"", ")", "+", "X86ATTInstPrinter", "::", "getRegisterName", "(", "Reg", ")", ")", ";", "break", ";", "}", "case", "X86", "::", "TAILJMPr", ":", "case", "X86", "::", "TAILJMPd", ":", "case", "X86", "::", "TAILJMPd64", ":", "OutStreamer", ".", "AddComment", "(", "\"TAILCALL\"", ")", ";", "break", ";", "case", "X86", "::", "TLS_addr32", ":", "case", "X86", "::", "TLS_addr64", ":", "case", "X86", "::", "TLS_base_addr32", ":", "case", "X86", "::", "TLS_base_addr64", ":", "return", "LowerTlsAddr", "(", "OutStreamer", ",", "MCInstLowering", ",", "*", "MI", ")", ";", "case", "X86", "::", "MOVPC32r", ":", "{", "MCSymbol", "*", "PICBase", "=", "MF", "->", "getPICBaseSymbol", "(", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "MCInstBuilder", "(", "X86", "::", "CALLpcrel32", ")", ".", "addExpr", "(", "MCSymbolRefExpr", "::", "Create", "(", "PICBase", ",", "OutContext", ")", ")", ")", ";", "OutStreamer", ".", "EmitLabel", "(", "PICBase", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "MCInstBuilder", "(", "X86", "::", "POP32r", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", ";", "return", ";", "}", "case", "X86", "::", "ADD32ri", ":", "{", "if", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getTargetFlags", "(", ")", "!=", "X86II", "::", "MO_GOT_ABSOLUTE_ADDRESS", ")", "break", ";", "MCSymbol", "*", "DotSym", "=", "OutContext", ".", "CreateTempSymbol", "(", ")", ";", "OutStreamer", ".", "EmitLabel", "(", "DotSym", ")", ";", "MCSymbol", "*", "OpSym", "=", "MCInstLowering", ".", "GetSymbolFromOperand", "(", "MI", "->", "getOperand", "(", "2", ")", ")", ";", "const", "MCExpr", "*", "DotExpr", "=", "MCSymbolRefExpr", "::", "Create", "(", "DotSym", ",", "OutContext", ")", ";", "const", "MCExpr", "*", "PICBase", "=", "MCSymbolRefExpr", "::", "Create", "(", "MF", "->", "getPICBaseSymbol", "(", ")", ",", "OutContext", ")", ";", "DotExpr", "=", "MCBinaryExpr", "::", "CreateSub", "(", "DotExpr", ",", "PICBase", ",", "OutContext", ")", ";", "DotExpr", "=", "MCBinaryExpr", "::", "CreateAdd", "(", "MCSymbolRefExpr", "::", "Create", "(", "OpSym", ",", "OutContext", ")", ",", "DotExpr", ",", "OutContext", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "MCInstBuilder", "(", "X86", "::", "ADD32ri", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ".", "addExpr", "(", "DotExpr", ")", ")", ";", "return", ";", "}", "case", "TargetOpcode", "::", "STACKMAP", ":", "return", "LowerSTACKMAP", "(", "OutStreamer", ",", "MCInstLowering", ",", "SM", ",", "*", "MI", ")", ";", "case", "TargetOpcode", "::", "PATCHPOINT", ":", "return", "LowerPATCHPOINT", "(", "OutStreamer", ",", "MCInstLowering", ",", "SM", ",", "*", "MI", ")", ";", "}", "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": ["X86", "X86", "X86", "\"Should be handled target independently\"", "X86::Int_MemBarrier", "\"\\t#MEMBARRIER\"", "X86::EH_RETURN", "X86::EH_RETURN64", "0", "\"eh_return, addr: %\"", "X86", "X86::TAILJMPr", "X86::TAILJMPd", "X86::TAILJMPd64", "\"TAILCALL\"", "X86::TLS_addr32", "X86::TLS_addr64", "X86::TLS_base_addr32", "X86::TLS_base_addr64", "X86::MOVPC32r", "X86::CALLpcrel32", "X86::POP32r", "0", "X86::ADD32ri", "2", "X86II::MO_GOT_ABSOLUTE_ADDRESS", "2", "X86::ADD32ri", "0", "1"], "File": "X86MCInstLower86", "Func": "EmitInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12079, "Length": 469, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "thumb_legitimize_address", "(", "rtx", "x", ",", "rtx", "orig_x", ",", "machine_mode", "mode", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", "&&", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ">=", "32", "*", "GET_MODE_SIZE", "(", "mode", ")", "||", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", "<", "0", ")", ")", "{", "rtx", "xop0", "=", "XEXP", "(", "x", ",", "0", ")", ";", "rtx", "xop1", "=", "XEXP", "(", "x", ",", "1", ")", ";", "HOST_WIDE_INT", "offset", "=", "INTVAL", "(", "xop1", ")", ";", "if", "(", "optimize_size", "&&", "offset", ">=", "0", "&&", "offset", "<", "256", "+", "31", "*", "GET_MODE_SIZE", "(", "mode", ")", ")", "{", "HOST_WIDE_INT", "delta", ";", "if", "(", "offset", ">=", "256", ")", "delta", "=", "offset", "-", "(", "256", "-", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "else", "if", "(", "offset", "<", "32", "*", "GET_MODE_SIZE", "(", "mode", ")", "+", "8", ")", "delta", "=", "31", "*", "GET_MODE_SIZE", "(", "mode", ")", ";", "else", "delta", "=", "offset", "&", "(", "~", "31", "*", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "xop0", "=", "force_operand", "(", "plus_constant", "(", "Pmode", ",", "xop0", ",", "offset", "-", "delta", ")", ",", "NULL_RTX", ")", ";", "x", "=", "plus_constant", "(", "Pmode", ",", "xop0", ",", "delta", ")", ";", "}", "else", "if", "(", "offset", "<", "0", "&&", "offset", ">", "-", "256", ")", "x", "=", "force_operand", "(", "x", ",", "NULL_RTX", ")", ";", "else", "{", "xop1", "=", "force_reg", "(", "SImode", ",", "xop1", ")", ";", "x", "=", "gen_rtx_PLUS", "(", "SImode", ",", "xop0", ",", "xop1", ")", ";", "}", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "s_register_operand", "(", "XEXP", "(", "x", ",", "1", ")", ",", "SImode", ")", "&&", "!", "s_register_operand", "(", "XEXP", "(", "x", ",", "0", ")", ",", "SImode", ")", ")", "{", "rtx", "xop0", "=", "force_operand", "(", "XEXP", "(", "x", ",", "0", ")", ",", "NULL_RTX", ")", ";", "x", "=", "gen_rtx_PLUS", "(", "SImode", ",", "xop0", ",", "XEXP", "(", "x", ",", "1", ")", ")", ";", "}", "if", "(", "flag_pic", ")", "{", "rtx", "new_x", "=", "legitimize_pic_address", "(", "orig_x", ",", "mode", ",", "NULL_RTX", ")", ";", "if", "(", "new_x", "!=", "orig_x", ")", "x", "=", "new_x", ";", "}", "return", "x", ";", "}", ""], "natrual_language": ["Try", "machine-dependent", "ways", "of", "modifying", "an", "illegitimate", "Thumb", "address", "to", "be", "legitimate", ".", "If", "we", "find", "one", ",", "return", "the", "new", ",", "valid", "address", "."], "TS_V_token": ["arm", "1", "1", "32", "1", "0", "0", "1", "0", "256", "31", "256", "256", "32", "8", "31", "31", "0", "256", "1", "0", "0", "1"], "File": "arm4", "Func": "thumb_legitimize_address", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12080, "Length": 347, "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": 12081, "Length": 365, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "mips_epilogue_emit_cfa_restores", "(", "void", ")", "{", "rtx_insn", "*", "insn", ";", "insn", "=", "get_last_insn", "(", ")", ";", "gcc_assert", "(", "insn", "&&", "!", "REG_NOTES", "(", "insn", ")", ")", ";", "if", "(", "mips_epilogue", ".", "cfa_restores", ")", "{", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "REG_NOTES", "(", "insn", ")", "=", "mips_epilogue", ".", "cfa_restores", ";", "mips_epilogue", ".", "cfa_restores", "=", "0", ";", "}", "return", "insn", ";", "}", ""], "natrual_language": ["Attach", "all", "pending", "register", "saves", "to", "the", "previous", "instruction", ".", "Return", "that", "instruction", "."], "TS_V_token": ["mips", "1", "0"], "File": "mips4", "Func": "mips_epilogue_emit_cfa_restores", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12082, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_hard_regno_scratch_ok", "(", "unsigned", "int", "regno", ")", "{", "return", "(", "!", "cfun", "->", "machine", "->", "no_caller_saved_registers", "||", "(", "!", "epilogue_completed", "&&", "df_regs_ever_live_p", "(", "regno", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "register", "REGNO", "can", "be", "used", "as", "a", "scratch", "register", "in", "peephole2", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_hard_regno_scratch_ok", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12083, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_use_sched_lookahead_guard", "(", "rtx_insn", "*", "insn", ",", "int", "ready_index", ")", "{", "if", "(", "ready_index", "==", "0", ")", "return", "0", ";", "if", "(", "rs6000_cpu_attr", "!=", "CPU_CELL", ")", "return", "0", ";", "gcc_assert", "(", "insn", "!=", "NULL_RTX", "&&", "INSN_P", "(", "insn", ")", ")", ";", "if", "(", "!", "reload_completed", "||", "is_nonpipeline_insn", "(", "insn", ")", "||", "is_microcoded_insn", "(", "insn", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["We", "are", "choosing", "insn", "from", "the", "ready", "queue", ".", "Return", "zero", "if", "INSN", "can", "be", "chosen", "."], "TS_V_token": ["rs6000", "0", "0", "0", "1", "0"], "File": "rs60004", "Func": "rs6000_use_sched_lookahead_guard", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12084, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "FISCAsmPrinter", "::", "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": ["FISC", "FISC"], "File": "FISCAsmPrinter", "Func": "EmitInstruction", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12085, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isReg", "(", ")", "const", "override", "{", "return", "Kind", "==", "KindTy", "::", "Register", ";", "}", ""], "natrual_language": ["isReg", "-", "Is", "this", "a", "register", "operand", "?"], "TS_V_token": ["LoongArch"], "File": "LoongArchAsmParser", "Func": "isReg", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12086, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isUnspillableTerminatorImpl", "(", "const", "MachineInstr", "*", "MI", ")", "const", "override", "{", "return", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2LoopEndDec", "||", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2DoLoopStartTP", "||", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2WhileLoopStartLR", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "given", "terminator", "MI", "is", "not", "expected", "to", "spill", "."], "TS_V_token": ["ARM", "ARM::t2LoopEndDec", "ARM::t2DoLoopStartTP", "ARM::t2WhileLoopStartLR"], "File": "ARMBaseInstrInfo39", "Func": "isUnspillableTerminatorImpl", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12087, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZInstrInfo", "::", "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", "(", ")", ";", "unsigned", "Opc", "=", "0", ";", "if", "(", "RC", "==", "&", "SystemZ", "::", "GR32RegClass", "||", "RC", "==", "&", "SystemZ", "::", "ADDR32RegClass", ")", "Opc", "=", "SystemZ", "::", "MOV32rm", ";", "else", "if", "(", "RC", "==", "&", "SystemZ", "::", "GR64RegClass", "||", "RC", "==", "&", "SystemZ", "::", "ADDR64RegClass", ")", "{", "Opc", "=", "SystemZ", "::", "MOV64rm", ";", "}", "else", "if", "(", "RC", "==", "&", "SystemZ", "::", "FP32RegClass", ")", "{", "Opc", "=", "SystemZ", "::", "FMOV32rm", ";", "}", "else", "if", "(", "RC", "==", "&", "SystemZ", "::", "FP64RegClass", ")", "{", "Opc", "=", "SystemZ", "::", "FMOV64rm", ";", "}", "else", "if", "(", "RC", "==", "&", "SystemZ", "::", "GR64PRegClass", ")", "{", "Opc", "=", "SystemZ", "::", "MOV64Prm", ";", "}", "else", "if", "(", "RC", "==", "&", "SystemZ", "::", "GR128RegClass", ")", "{", "Opc", "=", "SystemZ", "::", "MOV128rm", ";", "}", "else", "llvm_unreachable", "(", "\"Unsupported regclass to load\"", ")", ";", "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": ["SystemZ", "SystemZ", "0", "SystemZ::GR32RegClass", "SystemZ::ADDR32RegClass", "SystemZ::MOV32rm", "SystemZ::GR64RegClass", "SystemZ::ADDR64RegClass", "SystemZ::MOV64rm", "SystemZ::FP32RegClass", "SystemZ::FMOV32rm", "SystemZ::FP64RegClass", "SystemZ::FMOV64rm", "SystemZ::GR64PRegClass", "SystemZ::MOV64Prm", "SystemZ::GR128RegClass", "SystemZ::MOV128rm", "\"Unsupported regclass to load\""], "File": "SystemZInstrInfo31", "Func": "loadRegFromStackSlot", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12088, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcFrameLowering", "::", "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": ["Sparc", "Sparc"], "File": "SparcFrameLowering22", "Func": "hasFP", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12089, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64_ELFTargetObjectFile", "::", "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": ["AArch64", "AArch64"], "File": "AArch64TargetObjectFile", "Func": "Initialize", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12090, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nds32_address_register_rtx_p", "(", "rtx", "x", ",", "bool", "strict", ")", "{", "int", "regno", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "REG", ")", "return", "false", ";", "regno", "=", "REGNO", "(", "x", ")", ";", "if", "(", "strict", ")", "return", "REGNO_OK_FOR_BASE_P", "(", "regno", ")", ";", "else", "return", "true", ";", "}", ""], "natrual_language": ["Function", "that", "check", "if", "'", "X", "'", "is", "a", "valid", "address", "register", ".", "The", "variable", "'STRICT", "'", "is", "very", "important", "to", "make", "decision", "for", "register", "number", ".", "STRICT", ":", "true", "=", ">", "We", "are", "in", "reload", "pass", "or", "after", "reload", "pass", ".", "The", "register", "number", "should", "be", "strictly", "limited", "in", "general", "registers", ".", "STRICT", ":", "false", "=", ">", "Before", "reload", "pass", ",", "we", "are", "free", "to", "use", "any", "register", "number", "."], "TS_V_token": ["nds32"], "File": "nds32", "Func": "nds32_address_register_rtx_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12091, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "compute_frame_size", "(", "HOST_WIDE_INT", "size", ")", "{", "int", "regno", ";", "HOST_WIDE_INT", "total_size", ";", "HOST_WIDE_INT", "var_size", ";", "HOST_WIDE_INT", "args_size", ";", "HOST_WIDE_INT", "extra_size", ";", "HOST_WIDE_INT", "gp_reg_rounded", ";", "HOST_WIDE_INT", "gp_reg_size", ";", "HOST_WIDE_INT", "fp_reg_size", ";", "long", "mask", ";", "int", "fp_inc", ";", "long", "fp_bits", ";", "gp_reg_size", "=", "0", ";", "fp_reg_size", "=", "0", ";", "mask", "=", "0", ";", "extra_size", "=", "IQ2000_STACK_ALIGN", "(", "(", "0", ")", ")", ";", "var_size", "=", "IQ2000_STACK_ALIGN", "(", "size", ")", ";", "args_size", "=", "IQ2000_STACK_ALIGN", "(", "current_function_outgoing_args_size", ")", ";", "if", "(", "args_size", "==", "0", "&&", "current_function_calls_alloca", ")", "args_size", "=", "4", "*", "UNITS_PER_WORD", ";", "total_size", "=", "var_size", "+", "args_size", "+", "extra_size", ";", "for", "(", "regno", "=", "GP_REG_FIRST", ";", "regno", "<=", "GP_REG_LAST", ";", "regno", "++", ")", "{", "if", "(", "MUST_SAVE_REGISTER", "(", "regno", ")", ")", "{", "gp_reg_size", "+=", "GET_MODE_SIZE", "(", "gpr_mode", ")", ";", "mask", "|=", "1L", "<<", "(", "regno", "-", "GP_REG_FIRST", ")", ";", "}", "}", "if", "(", "current_function_calls_eh_return", ")", "{", "unsigned", "int", "i", ";", "for", "(", "i", "=", "0", ";", ";", "++", "i", ")", "{", "regno", "=", "EH_RETURN_DATA_REGNO", "(", "i", ")", ";", "if", "(", "regno", "==", "(", "int", ")", "INVALID_REGNUM", ")", "break", ";", "gp_reg_size", "+=", "GET_MODE_SIZE", "(", "gpr_mode", ")", ";", "mask", "|=", "1L", "<<", "(", "regno", "-", "GP_REG_FIRST", ")", ";", "}", "}", "fp_inc", "=", "2", ";", "fp_bits", "=", "3", ";", "gp_reg_rounded", "=", "IQ2000_STACK_ALIGN", "(", "gp_reg_size", ")", ";", "total_size", "+=", "gp_reg_rounded", "+", "IQ2000_STACK_ALIGN", "(", "fp_reg_size", ")", ";", "if", "(", "total_size", "==", "extra_size", "&&", "!", "profile_flag", ")", "total_size", "=", "extra_size", "=", "0", ";", "total_size", "+=", "IQ2000_STACK_ALIGN", "(", "current_function_pretend_args_size", ")", ";", "cfun", "->", "machine", "->", "total_size", "=", "total_size", ";", "cfun", "->", "machine", "->", "var_size", "=", "var_size", ";", "cfun", "->", "machine", "->", "args_size", "=", "args_size", ";", "cfun", "->", "machine", "->", "extra_size", "=", "extra_size", ";", "cfun", "->", "machine", "->", "gp_reg_size", "=", "gp_reg_size", ";", "cfun", "->", "machine", "->", "fp_reg_size", "=", "fp_reg_size", ";", "cfun", "->", "machine", "->", "mask", "=", "mask", ";", "cfun", "->", "machine", "->", "initialized", "=", "reload_completed", ";", "cfun", "->", "machine", "->", "num_gp", "=", "gp_reg_size", "/", "UNITS_PER_WORD", ";", "if", "(", "mask", ")", "{", "unsigned", "long", "offset", ";", "offset", "=", "(", "args_size", "+", "extra_size", "+", "var_size", "+", "gp_reg_size", "-", "GET_MODE_SIZE", "(", "gpr_mode", ")", ")", ";", "cfun", "->", "machine", "->", "gp_sp_offset", "=", "offset", ";", "cfun", "->", "machine", "->", "gp_save_offset", "=", "offset", "-", "total_size", ";", "}", "else", "{", "cfun", "->", "machine", "->", "gp_sp_offset", "=", "0", ";", "cfun", "->", "machine", "->", "gp_save_offset", "=", "0", ";", "}", "cfun", "->", "machine", "->", "fp_sp_offset", "=", "0", ";", "cfun", "->", "machine", "->", "fp_save_offset", "=", "0", ";", "return", "total_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": ["iq2000", "0", "0", "0", "0", "0", "4", "1L", "0", "1L", "2", "3", "0", "0", "0", "0", "0"], "File": "iq20002", "Func": "compute_frame_size", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12092, "Length": 399, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_init_dfa_pre_cycle_insn", "(", "void", ")", "{", "if", "(", "temp_dfa_state", "==", "NULL", ")", "{", "dfa_state_size", "=", "state_size", "(", ")", ";", "temp_dfa_state", "=", "xmalloc", "(", "dfa_state_size", ")", ";", "prev_cycle_state", "=", "xmalloc", "(", "dfa_state_size", ")", ";", "}", "dfa_pre_cycle_insn", "=", "make_insn_raw", "(", "gen_pre_cycle", "(", ")", ")", ";", "SET_PREV_INSN", "(", "dfa_pre_cycle_insn", ")", "=", "SET_NEXT_INSN", "(", "dfa_pre_cycle_insn", ")", "=", "NULL_RTX", ";", "recog_memoized", "(", "dfa_pre_cycle_insn", ")", ";", "dfa_stop_insn", "=", "make_insn_raw", "(", "gen_insn_group_barrier", "(", "GEN_INT", "(", "3", ")", ")", ")", ";", "SET_PREV_INSN", "(", "dfa_stop_insn", ")", "=", "SET_NEXT_INSN", "(", "dfa_stop_insn", ")", "=", "NULL_RTX", ";", "recog_memoized", "(", "dfa_stop_insn", ")", ";", "}", ""], "natrual_language": ["The", "following", "function", "initiates", "variable", "`", "dfa_pre_cycle_insn", "'", "."], "TS_V_token": ["ia64", "3"], "File": "ia64", "Func": "ia64_init_dfa_pre_cycle_insn", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12093, "Length": 92, "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": 12094, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCPassConfig", "::", "addPreEmitPass", "(", ")", "{", "PM", ".", "add", "(", "createPPCBranchSelectionPass", "(", ")", ")", ";", "return", "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"], "File": "PPCTargetMachine31", "Func": "addPreEmitPass", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12095, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_leave", "(", "rtx_insn", "*", "insn", ")", "{", "struct", "machine_function", "*", "m", "=", "cfun", "->", "machine", ";", "if", "(", "!", "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_realigned", "=", "false", ";", "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": "i3867", "Func": "ix86_emit_leave", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12096, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "check_required_extensions", "(", "location_t", "location", ",", "tree", "fndecl", ",", "uint64_t", "required_extensions", ")", "{", "uint64_t", "missing_extensions", "=", "required_extensions", "&", "~", "aarch64_isa_flags", ";", "if", "(", "missing_extensions", "==", "0", ")", "return", "check_required_registers", "(", "location", ",", "fndecl", ")", ";", "static", "const", "struct", "{", "uint64_t", "flag", ";", "const", "char", "*", "name", ";", "}", "extensions", "[", "]", "=", "{", "SYNTHETIC", ",", "FEATURE_STRING", ")", "\\", "{", "FLAG_CANONICAL", ",", "EXT_NAME", "}", ",", "}", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "extensions", ")", ";", "++", "i", ")", "if", "(", "missing_extensions", "&", "extensions", "[", "i", "]", ".", "flag", ")", "{", "report_missing_extension", "(", "location", ",", "fndecl", ",", "extensions", "[", "i", "]", ".", "name", ")", ";", "return", "false", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Check", "whether", "all", "the", "RVV_REQUIRE_", "*", "values", "in", "REQUIRED_EXTENSIONS", "are", "enabled", "."], "TS_V_token": ["aarch64", "0", "0"], "File": "aarch64-sve-builtins", "Func": "check_required_extensions", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12097, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMOptimizeBarriersPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "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", ";", "}", "}", "}", "for", "(", "auto", "MI", ":", "ToRemove", ")", "{", "MI", "->", "eraseFromParent", "(", ")", ";", "++", "NumDMBsRemoved", ";", "}", "return", "NumDMBsRemoved", ">", "0", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "1", "ARM::DMB", "0", "0", "0", "0"], "File": "ARMOptimizeBarriersPass1", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12098, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "addLiveIn", "(", "MachineFunction", "&", "MF", ",", "unsigned", "PReg", ",", "const", "TargetRegisterClass", "*", "RC", ")", "{", "Register", "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": ["Mips"], "File": "MipsISelLowering (2)4", "Func": "addLiveIn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12099, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"Sparc Machine Code Emitter\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Sparc", "\"Sparc Machine Code Emitter\""], "File": "SparcCodeEmitter3", "Func": "getPassName", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12100, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "&", "SrcReg", ",", "unsigned", "&", "SrcReg2", ",", "int", "&", "CmpMask", ",", "int", "&", "CmpValue", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "X86", "::", "CMP64ri32", ":", "case", "X86", "::", "CMP64ri8", ":", "case", "X86", "::", "CMP32ri", ":", "case", "X86", "::", "CMP32ri8", ":", "case", "X86", "::", "CMP16ri", ":", "case", "X86", "::", "CMP16ri8", ":", "case", "X86", "::", "CMP8ri", ":", "SrcReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "0", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "return", "true", ";", "case", "X86", "::", "CMP64rr", ":", "case", "X86", "::", "CMP32rr", ":", "case", "X86", "::", "CMP16rr", ":", "case", "X86", "::", "CMP8rr", ":", "SrcReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "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": ["X86", "X86", "X86::CMP64ri32", "X86::CMP64ri8", "X86::CMP32ri", "X86::CMP32ri8", "X86::CMP16ri", "X86::CMP16ri8", "X86::CMP8ri", "0", "0", "0", "1", "X86::CMP64rr", "X86::CMP32rr", "X86::CMP16rr", "X86::CMP8rr", "0", "1", "0", "0"], "File": "X86InstrInfo52", "Func": "analyzeCompare", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12101, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetAsmInfo", "<", "BaseTAI", ">", "::", "ExpandInlineAsm", "(", "CallInst", "*", "CI", ")", "const", "{", "InlineAsm", "*", "IA", "=", "cast", "<", "InlineAsm", ">", "(", "CI", "->", "getCalledValue", "(", ")", ")", ";", "std", "::", "vector", "<", "InlineAsm", "::", "ConstraintInfo", ">", "Constraints", "=", "IA", "->", "ParseConstraints", "(", ")", ";", "std", "::", "string", "AsmStr", "=", "IA", "->", "getAsmString", "(", ")", ";", "std", "::", "vector", "<", "std", "::", "string", ">", "AsmPieces", ";", "SplitString", "(", "AsmStr", ",", "AsmPieces", ",", "\"\\n\"", ")", ";", "switch", "(", "AsmPieces", ".", "size", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "1", ":", "AsmStr", "=", "AsmPieces", "[", "0", "]", ";", "AsmPieces", ".", "clear", "(", ")", ";", "SplitString", "(", "AsmStr", ",", "AsmPieces", ",", "\" \\t\"", ")", ";", "if", "(", "AsmPieces", ".", "size", "(", ")", "==", "2", "&&", "(", "AsmPieces", "[", "0", "]", "==", "\"bswap\"", "||", "AsmPieces", "[", "0", "]", "==", "\"bswapq\"", "||", "AsmPieces", "[", "0", "]", "==", "\"bswapl\"", ")", "&&", "(", "AsmPieces", "[", "1", "]", "==", "\"$0\"", "||", "AsmPieces", "[", "1", "]", "==", "\"${0:q}\"", ")", ")", "{", "return", "LowerToBSwap", "(", "CI", ")", ";", "}", "if", "(", "CI", "->", "getType", "(", ")", "==", "Type", "::", "Int16Ty", "&&", "AsmPieces", ".", "size", "(", ")", "==", "3", "&&", "AsmPieces", "[", "0", "]", "==", "\"rorw\"", "&&", "AsmPieces", "[", "1", "]", "==", "\"$$8,\"", "&&", "AsmPieces", "[", "2", "]", "==", "\"${0:w}\"", "&&", "IA", "->", "getConstraintString", "(", ")", "==", "\"=r,0,~{dirflag},~{fpsr},~{flags},~{cc}\"", ")", "{", "return", "LowerToBSwap", "(", "CI", ")", ";", "}", "break", ";", "case", "3", ":", "if", "(", "CI", "->", "getType", "(", ")", "==", "Type", "::", "Int64Ty", "&&", "Constraints", ".", "size", "(", ")", ">=", "2", "&&", "Constraints", "[", "0", "]", ".", "Codes", ".", "size", "(", ")", "==", "1", "&&", "Constraints", "[", "0", "]", ".", "Codes", "[", "0", "]", "==", "\"A\"", "&&", "Constraints", "[", "1", "]", ".", "Codes", ".", "size", "(", ")", "==", "1", "&&", "Constraints", "[", "1", "]", ".", "Codes", "[", "0", "]", "==", "\"0\"", ")", "{", "std", "::", "vector", "<", "std", "::", "string", ">", "Words", ";", "SplitString", "(", "AsmPieces", "[", "0", "]", ",", "Words", ",", "\" \\t\"", ")", ";", "if", "(", "Words", ".", "size", "(", ")", "==", "2", "&&", "Words", "[", "0", "]", "==", "\"bswap\"", "&&", "Words", "[", "1", "]", "==", "\"%eax\"", ")", "{", "Words", ".", "clear", "(", ")", ";", "SplitString", "(", "AsmPieces", "[", "1", "]", ",", "Words", ",", "\" \\t\"", ")", ";", "if", "(", "Words", ".", "size", "(", ")", "==", "2", "&&", "Words", "[", "0", "]", "==", "\"bswap\"", "&&", "Words", "[", "1", "]", "==", "\"%edx\"", ")", "{", "Words", ".", "clear", "(", ")", ";", "SplitString", "(", "AsmPieces", "[", "2", "]", ",", "Words", ",", "\" \\t,\"", ")", ";", "if", "(", "Words", ".", "size", "(", ")", "==", "3", "&&", "Words", "[", "0", "]", "==", "\"xchgl\"", "&&", "Words", "[", "1", "]", "==", "\"%eax\"", "&&", "Words", "[", "2", "]", "==", "\"%edx\"", ")", "{", "return", "LowerToBSwap", "(", "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": ["X86", "X86", "\"\\n\"", "1", "0", "\" \\t\"", "2", "0", "\"bswap\"", "0", "\"bswapq\"", "0", "\"bswapl\"", "1", "\"$0\"", "1", "\"${0:q}\"", "3", "0", "\"rorw\"", "1", "\"$$8,\"", "2", "\"${0:w}\"", "\"=r,0,~{dirflag},~{fpsr},~{flags},~{cc}\"", "3", "2", "0", "1", "0", "0", "\"A\"", "1", "1", "1", "0", "\"0\"", "0", "\" \\t\"", "2", "0", "\"bswap\"", "1", "\"%eax\"", "1", "\" \\t\"", "2", "0", "\"bswap\"", "1", "\"%edx\"", "2", "\" \\t,\"", "3", "0", "\"xchgl\"", "1", "\"%eax\"", "2", "\"%edx\""], "File": "X86TargetAsmInfo", "Func": "ExpandInlineAsm", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12102, "Length": 462, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetLowering", "::", "initializeSplitCSR", "(", "MachineBasicBlock", "*", "Entry", ")", "const", "{", "ARMFunctionInfo", "*", "AFI", "=", "Entry", "->", "getParent", "(", ")", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "AFI", "->", "setIsSplitCSR", "(", "true", ")", ";", "}", ""], "natrual_language": ["Perform", "necessary", "initialization", "to", "handle", "a", "subset", "of", "CSRs", "explicitly", "via", "copies", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "ARMISelLowering (2)5", "Func": "initializeSplitCSR", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12103, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSEFrameLowering", "::", "assignCalleeSavedSpillSlots", "(", "MachineFunction", "&", "MF", ",", "const", "TargetRegisterInfo", "*", "TRI", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "if", "(", "CHERICFI", "&&", "STI", ".", "isCheri", "(", ")", "&&", "!", "STI", ".", "getABI", "(", ")", ".", "IsCheriPureCap", "(", ")", ")", "for", "(", "auto", "&", "I", ":", "CSI", ")", "if", "(", "I", ".", "getReg", "(", ")", "==", "Mips", "::", "RA_64", ")", "{", "CSI", ".", "push_back", "(", "CalleeSavedInfo", "(", "Mips", "::", "C16", ",", "0", ")", ")", ";", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "will", "assign", "callee", "saved", "gprs", "to", "volatile", "vector", "registers", "for", "prologue", "spills", "when", "applicable", "."], "TS_V_token": ["Mips", "Mips", "Mips::RA_64", "Mips::C16", "0"], "File": "MipsSEFrameLowering40", "Func": "assignCalleeSavedSpillSlots", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12104, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_option_override", "(", "void", ")", "{", "ix86_option_override_internal", "(", "true", ",", "&", "global_options", ",", "&", "global_options_set", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_OPTION_OVERRIDE", "hook", "."], "TS_V_token": ["i386"], "File": "i386-options", "Func": "ix86_option_override", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12105, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "getStackAddress", "(", "uint64_t", "Size", ",", "int64_t", "Offset", ",", "MachinePointerInfo", "&", "MPO", ")", "override", "{", "LLT", "p0", "=", "LLT", "::", "pointer", "(", "0", ",", "DL", ".", "getPointerSizeInBits", "(", "0", ")", ")", ";", "LLT", "SType", "=", "LLT", "::", "scalar", "(", "DL", ".", "getPointerSizeInBits", "(", "0", ")", ")", ";", "Register", "SPReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "p0", ")", ";", "MIRBuilder", ".", "buildCopy", "(", "SPReg", ",", "STI", ".", "getRegisterInfo", "(", ")", "->", "getStackRegister", "(", ")", ")", ";", "Register", "OffsetReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "SType", ")", ";", "MIRBuilder", ".", "buildConstant", "(", "OffsetReg", ",", "Offset", ")", ";", "Register", "AddrReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "p0", ")", ";", "MIRBuilder", ".", "buildPtrAdd", "(", "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": ["X86", "0", "0", "0"], "File": "X86CallLowering35", "Func": "getStackAddress", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12106, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "ix86_cc_modes_compatible", "(", "machine_mode", "m1", ",", "machine_mode", "m2", ")", "{", "if", "(", "m1", "==", "m2", ")", "return", "m1", ";", "if", "(", "GET_MODE_CLASS", "(", "m1", ")", "!=", "MODE_CC", "||", "GET_MODE_CLASS", "(", "m2", ")", "!=", "MODE_CC", ")", "return", "VOIDmode", ";", "if", "(", "(", "m1", "==", "CCGCmode", "&&", "m2", "==", "CCGOCmode", ")", "||", "(", "m1", "==", "CCGOCmode", "&&", "m2", "==", "CCGCmode", ")", ")", "return", "CCGCmode", ";", "if", "(", "m1", "==", "CCZmode", "&&", "(", "m2", "==", "CCGCmode", "||", "m2", "==", "CCGOCmode", ")", ")", "return", "m2", ";", "else", "if", "(", "m2", "==", "CCZmode", "&&", "(", "m1", "==", "CCGCmode", "||", "m1", "==", "CCGOCmode", ")", ")", "return", "m1", ";", "switch", "(", "m1", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "CCmode", ":", "case", "CCGCmode", ":", "case", "CCGOCmode", ":", "case", "CCNOmode", ":", "case", "CCAmode", ":", "case", "CCCmode", ":", "case", "CCOmode", ":", "case", "CCSmode", ":", "case", "CCZmode", ":", "switch", "(", "m2", ")", "{", "default", ":", "return", "VOIDmode", ";", "case", "CCmode", ":", "case", "CCGCmode", ":", "case", "CCGOCmode", ":", "case", "CCNOmode", ":", "case", "CCAmode", ":", "case", "CCCmode", ":", "case", "CCOmode", ":", "case", "CCSmode", ":", "case", "CCZmode", ":", "return", "CCmode", ";", "}", "case", "CCFPmode", ":", "case", "CCFPUmode", ":", "return", "VOIDmode", ";", "}", "}", ""], "natrual_language": ["If", "two", "condition", "code", "modes", "are", "compatible", ",", "return", "a", "condition", "code", "mode", "which", "is", "compatible", "with", "both", ".", "Otherwise", ",", "return", "VOIDmode", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_cc_modes_compatible", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12107, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "Thumb1InstrInfo", "::", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "unsigned", ">", "&", "Ops", ",", "int", "FI", ")", "const", "{", "if", "(", "Ops", ".", "size", "(", ")", "!=", "1", ")", "return", "NULL", ";", "unsigned", "OpNum", "=", "Ops", "[", "0", "]", ";", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "MachineInstr", "*", "NewMI", "=", "NULL", ";", "switch", "(", "Opc", ")", "{", "default", ":", "break", ";", "case", "ARM", "::", "tMOVr", ":", "case", "ARM", "::", "tMOVtgpr2gpr", ":", "case", "ARM", "::", "tMOVgpr2tgpr", ":", "case", "ARM", "::", "tMOVgpr2gpr", ":", "{", "if", "(", "OpNum", "==", "0", ")", "{", "unsigned", "SrcReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "bool", "isKill", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "isKill", "(", ")", ";", "if", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "SrcReg", ")", "&&", "!", "isARMLowRegister", "(", "SrcReg", ")", ")", "break", ";", "NewMI", "=", "AddDefaultPred", "(", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "ARM", "::", "tSpill", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ")", ";", "}", "else", "{", "unsigned", "DstReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "if", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "DstReg", ")", "&&", "!", "isARMLowRegister", "(", "DstReg", ")", ")", "break", ";", "bool", "isDead", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "isDead", "(", ")", ";", "NewMI", "=", "AddDefaultPred", "(", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "ARM", "::", "tRestore", ")", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "isDead", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ")", ";", "}", "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": ["ARM", "1", "0", "ARM::tMOVr", "ARM::tMOVtgpr2gpr", "ARM::tMOVgpr2tgpr", "ARM::tMOVgpr2gpr", "0", "1", "1", "ARM", "ARM::tSpill", "0", "0", "ARM", "0", "ARM::tRestore", "0"], "File": "Thumb1InstrInfo15", "Func": "foldMemoryOperandImpl", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12108, "Length": 292, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "constant_pool_expr_1", "(", "rtx", "op", ",", "int", "*", "have_sym", ",", "int", "*", "have_toc", ")", "{", "switch", "(", "GET_CODE", "(", "op", ")", ")", "{", "case", "SYMBOL_REF", ":", "if", "(", "RS6000_SYMBOL_REF_TLS_P", "(", "op", ")", ")", "return", "0", ";", "else", "if", "(", "CONSTANT_POOL_ADDRESS_P", "(", "op", ")", ")", "{", "if", "(", "ASM_OUTPUT_SPECIAL_POOL_ENTRY_P", "(", "get_pool_constant", "(", "op", ")", ",", "Pmode", ")", ")", "{", "*", "have_sym", "=", "1", ";", "return", "1", ";", "}", "else", "return", "0", ";", "}", "else", "if", "(", "!", "strcmp", "(", "XSTR", "(", "op", ",", "0", ")", ",", "toc_label_name", ")", ")", "{", "*", "have_toc", "=", "1", ";", "return", "1", ";", "}", "else", "return", "0", ";", "case", "PLUS", ":", "case", "MINUS", ":", "return", "(", "constant_pool_expr_1", "(", "XEXP", "(", "op", ",", "0", ")", ",", "have_sym", ",", "have_toc", ")", "&&", "constant_pool_expr_1", "(", "XEXP", "(", "op", ",", "1", ")", ",", "have_sym", ",", "have_toc", ")", ")", ";", "case", "CONST", ":", "return", "constant_pool_expr_1", "(", "XEXP", "(", "op", ",", "0", ")", ",", "have_sym", ",", "have_toc", ")", ";", "case", "CONST_INT", ":", "return", "1", ";", "default", ":", "return", "0", ";", "}", "}", ""], "natrual_language": ["Subroutines", "of", "rs6000_legitimize_address", "and", "rs6000_legitimate_address", "."], "TS_V_token": ["rs6000", "0", "1", "1", "0", "0", "1", "1", "0", "0", "1", "0", "1", "0"], "File": "rs60003", "Func": "constant_pool_expr_1", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12109, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_lround", "(", "rtx", "op0", ",", "rtx", "op1", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "op1", ")", ";", "const", "struct", "real_format", "*", "fmt", ";", "REAL_VALUE_TYPE", "pred_half", ",", "half_minus_pred_half", ";", "rtx", "adj", ";", "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", ")", ";", "adj", "=", "force_reg", "(", "mode", ",", "const_double_from_real_value", "(", "pred_half", ",", "mode", ")", ")", ";", "ix86_sse_copysign_to_positive", "(", "adj", ",", "adj", ",", "force_reg", "(", "mode", ",", "op1", ")", ",", "NULL_RTX", ")", ";", "adj", "=", "expand_simple_binop", "(", "mode", ",", "PLUS", ",", "adj", ",", "op1", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "expand_fix", "(", "op0", ",", "adj", ",", "0", ")", ";", "}", ""], "natrual_language": ["Expand", "SSE", "sequence", "for", "computing", "lround", "from", "OP1", "storing", "into", "OP0", "."], "TS_V_token": ["i386", "1", "0", "0"], "File": "i3864", "Func": "ix86_expand_lround", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12110, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mt_function_arg_slotno", "(", "const", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "int", "named", "ATTRIBUTE_UNUSED", ",", "int", "incoming_p", "ATTRIBUTE_UNUSED", ",", "int", "*", "pregno", ")", "{", "int", "regbase", "=", "FIRST_ARG_REGNUM", ";", "int", "slotno", "=", "*", "cum", ";", "if", "(", "mode", "==", "VOIDmode", "||", "targetm", ".", "calls", ".", "must_pass_in_stack", "(", "mode", ",", "type", ")", ")", "return", "-", "1", ";", "if", "(", "slotno", ">=", "MT_NUM_ARG_REGS", ")", "return", "-", "1", ";", "*", "pregno", "=", "regbase", "+", "slotno", ";", "return", "slotno", ";", "}", ""], "natrual_language": ["Compute", "the", "slot", "number", "to", "pass", "an", "argument", "in", ".", "Returns", "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", "."], "TS_V_token": ["mt", "1", "1"], "File": "mt", "Func": "mt_function_arg_slotno", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12111, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_deallocate_stack", "(", "rtx", "base", ",", "rtx", "offset", ",", "HOST_WIDE_INT", "new_frame_size", ")", "{", "if", "(", "base", "==", "stack_pointer_rtx", "&&", "offset", "==", "const0_rtx", ")", "return", ";", "mips_frame_barrier", "(", ")", ";", "if", "(", "offset", "==", "const0_rtx", ")", "{", "emit_move_insn", "(", "stack_pointer_rtx", ",", "base", ")", ";", "mips_epilogue_set_cfa", "(", "stack_pointer_rtx", ",", "new_frame_size", ")", ";", "}", "else", "if", "(", "TARGET_MIPS16", "&&", "base", "!=", "stack_pointer_rtx", ")", "{", "emit_insn", "(", "gen_add3_insn", "(", "base", ",", "base", ",", "offset", ")", ")", ";", "mips_epilogue_set_cfa", "(", "base", ",", "new_frame_size", ")", ";", "emit_move_insn", "(", "stack_pointer_rtx", ",", "base", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_add3_insn", "(", "stack_pointer_rtx", ",", "base", ",", "offset", ")", ")", ";", "mips_epilogue_set_cfa", "(", "stack_pointer_rtx", ",", "new_frame_size", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "code", "to", "set", "the", "stack", "pointer", "to", "BASE", "+", "OFFSET", ",", "given", "that", "BASE", "+", "OFFSET", "is", "NEW_FRAME_SIZE", "bytes", "below", "the", "top", "of", "the", "frame", ".", "BASE", ",", "if", "not", "the", "stack", "pointer", ",", "is", "available", "as", "a", "temporary", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_deallocate_stack", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12112, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "emitInlineAsmStart", "(", ")", "const", "{", "MipsTargetStreamer", "&", "TS", "=", "getTargetStreamer", "(", ")", ";", "TS", ".", "emitDirectiveSetPush", "(", ")", ";", "TS", ".", "emitDirectiveSetAt", "(", ")", ";", "TS", ".", "emitDirectiveSetMacro", "(", ")", ";", "TS", ".", "emitDirectiveSetReorder", "(", ")", ";", "OutStreamer", "->", "AddBlankLine", "(", ")", ";", "}", ""], "natrual_language": ["Let", "the", "target", "do", "anything", "it", "needs", "to", "do", "before", "emitting", "inlineasm", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsAsmPrinter (2)1", "Func": "emitInlineAsmStart", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12113, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "ARMTargetLowering", "::", "LowerXConstraint", "(", "EVT", "ConstraintVT", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "hasVFP2Base", "(", ")", ")", "return", "\"r\"", ";", "if", "(", "ConstraintVT", ".", "isFloatingPoint", "(", ")", ")", "return", "\"w\"", ";", "if", "(", "ConstraintVT", ".", "isVector", "(", ")", "&&", "Subtarget", "->", "hasNEON", "(", ")", "&&", "(", "ConstraintVT", ".", "getSizeInBits", "(", ")", "==", "64", "||", "ConstraintVT", ".", "getSizeInBits", "(", ")", "==", "128", ")", ")", "return", "\"w\"", ";", "return", "\"r\"", ";", "}", ""], "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": ["ARM", "ARM", "\"r\"", "\"w\"", "64", "128", "\"w\"", "\"r\""], "File": "ARMISelLowering (2)5", "Func": "LowerXConstraint", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12114, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "pa_asm_output_aligned_common", "(", "FILE", "*", "stream", ",", "const", "char", "*", "name", ",", "unsigned", "HOST_WIDE_INT", "size", ",", "unsigned", "int", "align", ")", "{", "unsigned", "int", "max_common_align", ";", "max_common_align", "=", "TARGET_64BIT", "?", "128", ":", "(", "size", ">=", "4096", "?", "256", ":", "64", ")", ";", "if", "(", "align", ">", "max_common_align", ")", "{", "align", "=", "max_common_align", ";", "}", "switch_to_section", "(", "bss_section", ")", ";", "assemble_name", "(", "stream", ",", "name", ")", ";", "fprintf", "(", "stream", ",", "\"\\t.comm \"", "HOST_WIDE_INT_PRINT_UNSIGNED", "\"\\n\"", ",", "MAX", "(", "size", ",", "align", "/", "BITS_PER_UNIT", ")", ")", ";", "}", ""], "natrual_language": ["Both", "the", "HP", "and", "GNU", "assemblers", "under", "HP-UX", "provide", "a", ".comm", "directive", "that", "does", "n't", "allow", "the", "alignment", "of", "global", "common", "storage", "to", "be", "directly", "specified", ".", "The", "SOM", "linker", "aligns", "common", "storage", "based", "on", "the", "rounded", "value", "of", "the", "NUM_BYTES", "parameter", "in", "the", ".comm", "directive", ".", "It", "'s", "not", "possible", "to", "use", "the", ".align", "directive", "as", "it", "does", "n't", "affect", "the", "alignment", "of", "the", "label", "associated", "with", "a", ".comm", "directive", "."], "TS_V_token": ["pa", "128", "4096", "256", "64", "\"\\t.comm \"", "\"\\n\""], "File": "pa", "Func": "pa_asm_output_aligned_common", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12115, "Length": 84, "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": 12116, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_multiply_add_p", "(", "vec_info", "*", "vinfo", ",", "stmt_vec_info", "stmt_info", ")", "{", "gassign", "*", "assign", "=", "dyn_cast", "<", "gassign", "*", ">", "(", "stmt_info", "->", "stmt", ")", ";", "if", "(", "!", "assign", ")", "return", "false", ";", "tree_code", "code", "=", "gimple_assign_rhs_code", "(", "assign", ")", ";", "if", "(", "code", "!=", "PLUS_EXPR", "&&", "code", "!=", "MINUS_EXPR", ")", "return", "false", ";", "if", "(", "CONSTANT_CLASS_P", "(", "gimple_assign_rhs1", "(", "assign", ")", ")", "||", "CONSTANT_CLASS_P", "(", "gimple_assign_rhs2", "(", "assign", ")", ")", ")", "return", "false", ";", "for", "(", "int", "i", "=", "1", ";", "i", "<", "3", ";", "++", "i", ")", "{", "tree", "rhs", "=", "gimple_op", "(", "assign", ",", "i", ")", ";", "if", "(", "TREE_CODE", "(", "rhs", ")", "!=", "SSA_NAME", ")", "continue", ";", "stmt_vec_info", "def_stmt_info", "=", "vinfo", "->", "lookup_def", "(", "rhs", ")", ";", "if", "(", "!", "def_stmt_info", "||", "STMT_VINFO_DEF_TYPE", "(", "def_stmt_info", ")", "!=", "vect_internal_def", ")", "continue", ";", "gassign", "*", "rhs_assign", "=", "dyn_cast", "<", "gassign", "*", ">", "(", "def_stmt_info", "->", "stmt", ")", ";", "if", "(", "!", "rhs_assign", "||", "gimple_assign_rhs_code", "(", "rhs_assign", ")", "!=", "MULT_EXPR", ")", "continue", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "STMT_INFO", "is", "the", "second", "part", "of", "a", "two-statement", "multiply-add", "or", "multiply-subtract", "sequence", "that", "might", "be", "suitable", "for", "fusing", "into", "a", "single", "instruction", "."], "TS_V_token": ["aarch64", "1", "3"], "File": "aarch641", "Func": "aarch64_multiply_add_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12117, "Length": 174, "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": 12118, "Length": 14, "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": 12119, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "type_suffix_index", "find_type_suffix", "(", "type_class_index", "tclass", ",", "unsigned", "int", "element_bits", ")", "{", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "NUM_TYPE_SUFFIXES", ";", "++", "i", ")", "if", "(", "type_suffixes", "[", "i", "]", ".", "tclass", "==", "tclass", "&&", "type_suffixes", "[", "i", "]", ".", "element_bits", "==", "element_bits", ")", "return", "type_suffix_index", "(", "i", ")", ";", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "type", "suffix", "associated", "with", "ELEMENT_BITS-bit", "elements", "of", "type", "class", "TCLASS", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64-sve-builtins", "Func": "find_type_suffix", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12120, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "constant_address_p", "(", "rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "LABEL_REF", ":", "case", "CONST_INT", ":", "case", "HIGH", ":", "return", "true", ";", "case", "CONST", ":", "if", "(", "flag_pic", "&&", "pic_address_needs_scratch", "(", "x", ")", ")", "return", "false", ";", "return", "legitimate_constant_p", "(", "x", ")", ";", "case", "SYMBOL_REF", ":", "return", "!", "flag_pic", "&&", "legitimate_constant_p", "(", "x", ")", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Determine", "if", "a", "given", "RTX", "is", "a", "valid", "constant", "address", "."], "TS_V_token": ["sparc"], "File": "sparc3", "Func": "constant_address_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12121, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isLegalInterleavedAccessType", "(", "unsigned", "Factor", ",", "FixedVectorType", "*", "VecTy", ",", "Align", "Alignment", ",", "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", "->", "hasMVEIntegerOps", "(", ")", "&&", "Alignment", "<", "ElSize", "/", "8", ")", "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", "8", "64", "128", "0"], "File": "ARMISelLowering (2)5", "Func": "isLegalInterleavedAccessType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12122, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_conditional_register_usage", "(", "void", ")", "{", "int", "regno", ";", "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", "0", "1", "22", "48", "1", "0", "0"], "File": "nds325", "Func": "nds32_conditional_register_usage", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12123, "Length": 113, "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": 12124, "Length": 411, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16TargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", ",", "Align", ",", "MachineMemOperand", "::", "Flags", ",", "bool", "*", "Fast", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["Mips", "Mips"], "File": "Mips16ISelLowering16", "Func": "allowsMisalignedMemoryAccesses", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12125, "Length": 26, "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", ";", "}", "if", "(", "Op", ".", "isCoprocReg", "(", ")", "&&", "Kind", "==", "MCK_CoprocPair", ")", "{", "if", "(", "SparcOperand", "::", "MorphToCoprocPairReg", "(", "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", "SparcOperand::MorphToCoprocPairReg"], "File": "SparcAsmParser1", "Func": "validateTargetOperandClass", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12126, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ia64_unpack_assemble", "(", "rtx", "out", ",", "rtx", "lo", ",", "rtx", "hi", ",", "bool", "highp", ")", "{", "machine_mode", "vmode", "=", "GET_MODE", "(", "lo", ")", ";", "unsigned", "int", "i", ",", "high", ",", "nelt", "=", "GET_MODE_NUNITS", "(", "vmode", ")", ";", "struct", "expand_vec_perm_d", "d", ";", "bool", "ok", ";", "d", ".", "target", "=", "gen_lowpart", "(", "vmode", ",", "out", ")", ";", "d", ".", "op0", "=", "(", "TARGET_BIG_ENDIAN", "?", "hi", ":", "lo", ")", ";", "d", ".", "op1", "=", "(", "TARGET_BIG_ENDIAN", "?", "lo", ":", "hi", ")", ";", "d", ".", "vmode", "=", "vmode", ";", "d", ".", "nelt", "=", "nelt", ";", "d", ".", "one_operand_p", "=", "false", ";", "d", ".", "testing_p", "=", "false", ";", "high", "=", "(", "highp", "?", "nelt", "/", "2", ":", "0", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", "/", "2", ";", "++", "i", ")", "{", "d", ".", "perm", "[", "i", "*", "2", "]", "=", "i", "+", "high", ";", "d", ".", "perm", "[", "i", "*", "2", "+", "1", "]", "=", "i", "+", "high", "+", "nelt", ";", "}", "ok", "=", "ia64_expand_vec_perm_const_1", "(", "&", "d", ")", ";", "gcc_assert", "(", "ok", ")", ";", "}", ""], "natrual_language": ["The", "vectors", "LO", "and", "HI", "each", "contain", "N", "halves", "of", "a", "double-wide", "vector", ".", "Reassemble", "either", "the", "first", "N/2", "or", "the", "second", "N/2", "elements", "."], "TS_V_token": ["ia64", "2", "0", "0", "2", "2", "2", "1"], "File": "ia64", "Func": "ia64_unpack_assemble", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12127, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsRegisterInfo", "::", "canRealignStack", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "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", ".", "hasStandardEncoding", "(", ")", ")", "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"], "File": "MipsRegisterInfo1", "Func": "canRealignStack", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12128, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "X86Subtarget", "::", "classifyBlockAddressReference", "(", ")", "const", "{", "return", "classifyLocalReference", "(", "nullptr", ")", ";", "}", ""], "natrual_language": ["Classify", "a", "blockaddress", "reference", "for", "the", "current", "subtarget", "according", "to", "how", "we", "should", "reference", "it", "in", "a", "non-pcrel", "context", "."], "TS_V_token": ["X86", "X86"], "File": "X86Subtarget (2)3", "Func": "classifyBlockAddressReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12129, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "canSimplifyCallFramePseudos", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "hasReservedCallFrame", "(", "MF", ")", "||", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "hasPreallocatedCall", "(", ")", "||", "(", "hasFP", "(", "MF", ")", "&&", "!", "TRI", "->", "hasStackRealignment", "(", "MF", ")", ")", "||", "TRI", "->", "hasBasePointer", "(", "MF", ")", ";", "}", ""], "natrual_language": ["canSimplifyCallFramePseudos", "-", "If", "there", "is", "a", "reserved", "call", "frame", ",", "the", "call", "frame", "pseudos", "can", "be", "simplified", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86FrameLowering (2)3", "Func": "canSimplifyCallFramePseudos", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12130, "Length": 54, "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", "::", "SD", ")", "||", "(", "Opc", "==", "Mips", "::", "SWC1", ")", "||", "(", "Opc", "==", "Mips", "::", "SDC1", ")", "||", "(", "Opc", "==", "Mips", "::", "SDC164", ")", ")", "{", "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::SD", "Mips::SWC1", "Mips::SDC1", "Mips::SDC164", "1", "2", "2", "1", "0", "0"], "File": "MipsSEInstrInfo15", "Func": "isStoreToStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12131, "Length": 140, "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", ",", "Subtarget", "->", "isABI_O32", "(", ")", ",", "Subtarget", "->", "isFP64bit", "(", ")", ",", "CCInfo", ")", ";", "MipsCCInfo", ".", "analyzeCallResult", "(", "Ins", ",", "Subtarget", "->", "abiUsesSoftFloat", "(", ")", ",", "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": "MipsISelLowering48", "Func": "LowerCallResult", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12132, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintWeight", "LanaiTargetLowering", "::", "getSingleConstraintMatchWeight", "(", "AsmOperandInfo", "&", "Info", ",", "const", "char", "*", "Constraint", ")", "const", "{", "ConstraintWeight", "Weight", "=", "CW_Invalid", ";", "Value", "*", "CallOperandVal", "=", "Info", ".", "CallOperandVal", ";", "if", "(", "CallOperandVal", "==", "NULL", ")", "return", "CW_Default", ";", "switch", "(", "*", "Constraint", ")", "{", "case", "'I'", ":", "case", "'J'", ":", "case", "'K'", ":", "case", "'L'", ":", "case", "'M'", ":", "case", "'N'", ":", "case", "'O'", ":", "if", "(", "isa", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "Weight", "=", "CW_Constant", ";", "break", ";", "default", ":", "Weight", "=", "TargetLowering", "::", "getSingleConstraintMatchWeight", "(", "Info", ",", "Constraint", ")", ";", "break", ";", "}", "return", "Weight", ";", "}", ""], "natrual_language": ["Examine", "constraint", "string", "and", "operand", "type", "and", "determine", "a", "weight", "value", "."], "TS_V_token": ["Lanai", "Lanai"], "File": "LanaiISelLowering1", "Func": "getSingleConstraintMatchWeight", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12133, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "LanaiAsmBackend", "::", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "static", "const", "MCFixupKindInfo", "Infos", "[", "Lanai", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"FIXUP_LANAI_NONE\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"FIXUP_LANAI_21\"", ",", "16", ",", "16", ",", "0", "}", ",", "{", "\"FIXUP_LANAI_21_F\"", ",", "16", ",", "16", ",", "0", "}", ",", "{", "\"FIXUP_LANAI_25\"", ",", "7", ",", "25", ",", "0", "}", ",", "{", "\"FIXUP_LANAI_32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"FIXUP_LANAI_HI16\"", ",", "16", ",", "16", ",", "0", "}", ",", "{", "\"FIXUP_LANAI_LO16\"", ",", "16", ",", "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": ["Lanai", "Lanai", "Lanai::NumTargetFixupKinds", "\"FIXUP_LANAI_NONE\"", "0", "32", "0", "\"FIXUP_LANAI_21\"", "16", "16", "0", "\"FIXUP_LANAI_21_F\"", "16", "16", "0", "\"FIXUP_LANAI_25\"", "7", "25", "0", "\"FIXUP_LANAI_32\"", "0", "32", "0", "\"FIXUP_LANAI_HI16\"", "16", "16", "0", "\"FIXUP_LANAI_LO16\"", "16", "16", "0", "\"Invalid kind!\""], "File": "LanaiAsmBackend", "Func": "getFixupKindInfo", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12134, "Length": 133, "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", "'d'", ":", "case", "'y'", ":", "case", "'r'", ":", "if", "(", "VT", "==", "MVT", "::", "i32", "||", "VT", "==", "MVT", "::", "i16", "||", "VT", "==", "MVT", "::", "i8", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "CPURegsRegClass", ")", ";", "if", "(", "VT", "==", "MVT", "::", "i64", "&&", "!", "HasMips64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "CPURegsRegClass", ")", ";", "if", "(", "VT", "==", "MVT", "::", "i64", "&&", "HasMips64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "CPU64RegsRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0u", ",", "static_cast", "<", "const", "TargetRegisterClass", "*", ">", "(", "0", ")", ")", ";", "case", "'f'", ":", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "FGR32RegClass", ")", ";", "if", "(", "(", "VT", "==", "MVT", "::", "f64", ")", "&&", "(", "!", "Subtarget", "->", "isSingleFloat", "(", ")", ")", ")", "{", "if", "(", "Subtarget", "->", "isFP64bit", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "FGR64RegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "AFGR64RegClass", ")", ";", "}", "break", ";", "case", "'c'", ":", "if", "(", "VT", "==", "MVT", "::", "i32", ")", "return", "std", "::", "make_pair", "(", "(", "unsigned", ")", "Mips", "::", "T9", ",", "&", "Mips", "::", "CPURegsRegClass", ")", ";", "assert", "(", "VT", "==", "MVT", "::", "i64", "&&", "\"Unexpected type.\"", ")", ";", "return", "std", "::", "make_pair", "(", "(", "unsigned", ")", "Mips", "::", "T9_64", ",", "&", "Mips", "::", "CPU64RegsRegClass", ")", ";", "case", "'l'", ":", "if", "(", "VT", "==", "MVT", "::", "i32", ")", "return", "std", "::", "make_pair", "(", "(", "unsigned", ")", "Mips", "::", "LO", ",", "&", "Mips", "::", "HILORegClass", ")", ";", "return", "std", "::", "make_pair", "(", "(", "unsigned", ")", "Mips", "::", "LO64", ",", "&", "Mips", "::", "HILO64RegClass", ")", ";", "case", "'x'", ":", "return", "std", "::", "make_pair", "(", "0u", ",", "static_cast", "<", "const", "TargetRegisterClass", "*", ">", "(", "0", ")", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["Mips", "Mips", "1", "0", "MVT::i32", "MVT::i16", "MVT::i8", "0U", "Mips::CPURegsRegClass", "MVT::i64", "Mips", "0U", "Mips::CPURegsRegClass", "MVT::i64", "Mips", "0U", "Mips::CPU64RegsRegClass", "0u", "0", "MVT::f32", "0U", "Mips::FGR32RegClass", "MVT::f64", "0U", "Mips::FGR64RegClass", "0U", "Mips::AFGR64RegClass", "MVT::i32", "Mips::T9", "Mips::CPURegsRegClass", "MVT::i64", "\"Unexpected type.\"", "Mips::T9_64", "Mips::CPU64RegsRegClass", "MVT::i32", "Mips::LO", "Mips::HILORegClass", "Mips::LO64", "Mips::HILO64RegClass", "0u", "0"], "File": "MipsISelLowering39", "Func": "getRegForInlineAsmConstraint", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12135, "Length": 372, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "if", "(", "!", "WidenVMOVS", "||", "!", "MI", "->", "isCopy", "(", ")", "||", "Subtarget", ".", "isCortexA15", "(", ")", ")", "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", "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": "ARMBaseInstrInfo (2)", "Func": "expandPostRAPseudo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12136, "Length": 347, "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": 12137, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isLegalInterleavedAccessType", "(", "VectorType", "*", "VecTy", ",", "const", "DataLayout", "&", "DL", ")", "const", "{", "unsigned", "VecSize", "=", "DL", ".", "getTypeSizeInBits", "(", "VecTy", ")", ";", "unsigned", "ElSize", "=", "DL", ".", "getTypeSizeInBits", "(", "VecTy", "->", "getElementType", "(", ")", ")", ";", "if", "(", "VecTy", "->", "getElementType", "(", ")", "->", "isHalfTy", "(", ")", ")", "return", "false", ";", "if", "(", "VecTy", "->", "getNumElements", "(", ")", "<", "2", ")", "return", "false", ";", "if", "(", "ElSize", "!=", "8", "&&", "ElSize", "!=", "16", "&&", "ElSize", "!=", "32", ")", "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": ["ARM", "ARM", "2", "8", "16", "32", "64", "128", "0"], "File": "ARMISelLowering (3)", "Func": "isLegalInterleavedAccessType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12138, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSEInstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", "->", "getParent", "(", ")", ";", "switch", "(", "MI", "->", "getDesc", "(", ")", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Mips", "::", "RetRA", ":", "expandRetRA", "(", "MBB", ",", "MI", ",", "Mips", "::", "RET", ")", ";", "break", ";", "case", "Mips", "::", "PseudoMFHI", ":", "expandPseudoMFHiLo", "(", "MBB", ",", "MI", ",", "Mips", "::", "MFHI", ")", ";", "break", ";", "case", "Mips", "::", "PseudoMFLO", ":", "expandPseudoMFHiLo", "(", "MBB", ",", "MI", ",", "Mips", "::", "MFLO", ")", ";", "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", ":", "expandCvtFPInt", "(", "MBB", ",", "MI", ",", "Mips", "::", "CVT_D32_W", ",", "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", ":", "expandCvtFPInt", "(", "MBB", ",", "MI", ",", "Mips", "::", "CVT_D64_W", ",", "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", ",", "false", ")", ";", "break", ";", "case", "Mips", "::", "BuildPairF64_64", ":", "expandBuildPairF64", "(", "MBB", ",", "MI", ",", "true", ")", ";", "break", ";", "case", "Mips", "::", "ExtractElementF64", ":", "expandExtractElementF64", "(", "MBB", ",", "MI", ",", "false", ")", ";", "break", ";", "case", "Mips", "::", "ExtractElementF64_64", ":", "expandExtractElementF64", "(", "MBB", ",", "MI", ",", "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::RetRA", "Mips::RET", "Mips::PseudoMFHI", "Mips::MFHI", "Mips::PseudoMFLO", "Mips::MFLO", "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::CVT_D32_W", "Mips::MTC1", "Mips::PseudoCVT_S_L", "Mips::CVT_S_L", "Mips::DMTC1", "Mips::PseudoCVT_D64_W", "Mips::CVT_D64_W", "Mips::MTC1", "Mips::PseudoCVT_D64_L", "Mips::CVT_D64_L", "Mips::DMTC1", "Mips::BuildPairF64", "Mips::BuildPairF64_64", "Mips::ExtractElementF64", "Mips::ExtractElementF64_64", "Mips::MIPSeh_return32", "Mips::MIPSeh_return64"], "File": "MipsSEInstrInfo15", "Func": "expandPostRAPseudo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12139, "Length": 418, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMHazardRecognizer", "::", "AdvanceCycle", "(", ")", "{", "if", "(", "Stalls", "&&", "--", "Stalls", "==", "0", ")", "LastMI", "=", "0", ";", "ScoreboardHazardRecognizer", "::", "AdvanceCycle", "(", ")", ";", "}", ""], "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": ["ARM", "ARM", "0", "0"], "File": "ARMHazardRecognizer10", "Func": "AdvanceCycle", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12140, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TOYTargetLowering", "::", "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", ")", ";", "if", "(", "!", "CCInfo", ".", "CheckReturn", "(", "Outs", ",", "RetCC_TOY", ")", ")", "{", "return", "false", ";", "}", "if", "(", "CCInfo", ".", "getNextStackOffset", "(", ")", "!=", "0", "&&", "isVarArg", ")", "{", "return", "false", ";", "}", "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": ["TOY", "TOY", "ISD::OutputArg", "16", "TOY", "0"], "File": "TOYISelLowering1", "Func": "CanLowerReturn", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12141, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCInstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "Opcode", "==", "PPC", "::", "INLINEASM", "||", "Opcode", "==", "PPC", "::", "INLINEASM_BR", ")", "{", "const", "MachineFunction", "*", "MF", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "char", "*", "AsmStr", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getSymbolName", "(", ")", ";", "return", "getInlineAsmLength", "(", "AsmStr", ",", "*", "MF", "->", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", ")", ";", "}", "else", "if", "(", "Opcode", "==", "TargetOpcode", "::", "STACKMAP", ")", "{", "StackMapOpers", "Opers", "(", "&", "MI", ")", ";", "return", "Opers", ".", "getNumPatchBytes", "(", ")", ";", "}", "else", "if", "(", "Opcode", "==", "TargetOpcode", "::", "PATCHPOINT", ")", "{", "PatchPointOpers", "Opers", "(", "&", "MI", ")", ";", "return", "Opers", ".", "getNumPatchBytes", "(", ")", ";", "}", "else", "{", "return", "get", "(", "Opcode", ")", ".", "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", "PPC::INLINEASM_BR", "0"], "File": "PPCInstrInfo", "Func": "getInstSizeInBytes", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12142, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "LoongArchRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "LoongArchFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "markSuperRegs", "(", "Reserved", ",", "LoongArch", "::", "R0", ")", ";", "markSuperRegs", "(", "Reserved", ",", "LoongArch", "::", "R2", ")", ";", "markSuperRegs", "(", "Reserved", ",", "LoongArch", "::", "R3", ")", ";", "markSuperRegs", "(", "Reserved", ",", "LoongArch", "::", "R21", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "LoongArch", "::", "R22", ")", ";", "if", "(", "TFI", "->", "hasBP", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "LoongArchABI", "::", "getBPReg", "(", ")", ")", ";", "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": ["LoongArch", "LoongArch", "LoongArch", "LoongArch::R0", "LoongArch::R2", "LoongArch::R3", "LoongArch::R21", "LoongArch::R22", "LoongArchABI::getBPReg"], "File": "LoongArchRegisterInfo", "Func": "getReservedRegs", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12143, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_fixed_condition_code_regs", "(", "unsigned", "int", "*", "p1", ",", "unsigned", "int", "*", "p2", ")", "{", "*", "p1", "=", "FLAGS_REG", ";", "*", "p2", "=", "INVALID_REGNUM", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "the", "fixed", "registers", "used", "for", "condition", "codes", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_fixed_condition_code_regs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12144, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86TTIImpl", "::", "getGatherScatterOpCost", "(", "unsigned", "Opcode", ",", "Type", "*", "SrcVTy", ",", "Value", "*", "Ptr", ",", "bool", "VariableMask", ",", "unsigned", "Alignment", ")", "{", "assert", "(", "SrcVTy", "->", "isVectorTy", "(", ")", "&&", "\"Unexpected data type for Gather/Scatter\"", ")", ";", "unsigned", "VF", "=", "SrcVTy", "->", "getVectorNumElements", "(", ")", ";", "PointerType", "*", "PtrTy", "=", "dyn_cast", "<", "PointerType", ">", "(", "Ptr", "->", "getType", "(", ")", ")", ";", "if", "(", "!", "PtrTy", "&&", "Ptr", "->", "getType", "(", ")", "->", "isVectorTy", "(", ")", ")", "PtrTy", "=", "dyn_cast", "<", "PointerType", ">", "(", "Ptr", "->", "getType", "(", ")", "->", "getVectorElementType", "(", ")", ")", ";", "assert", "(", "PtrTy", "&&", "\"Unexpected type for Ptr argument\"", ")", ";", "unsigned", "AddressSpace", "=", "PtrTy", "->", "getAddressSpace", "(", ")", ";", "bool", "Scalarize", "=", "false", ";", "if", "(", "(", "Opcode", "==", "Instruction", "::", "Load", "&&", "!", "isLegalMaskedGather", "(", "SrcVTy", ")", ")", "||", "(", "Opcode", "==", "Instruction", "::", "Store", "&&", "!", "isLegalMaskedScatter", "(", "SrcVTy", ")", ")", ")", "Scalarize", "=", "true", ";", "if", "(", "ST", "->", "hasAVX512", "(", ")", "&&", "(", "VF", "==", "2", "||", "(", "VF", "==", "4", "&&", "!", "ST", "->", "hasVLX", "(", ")", ")", ")", ")", "Scalarize", "=", "true", ";", "if", "(", "Scalarize", ")", "return", "getGSScalarCost", "(", "Opcode", ",", "SrcVTy", ",", "VariableMask", ",", "Alignment", ",", "AddressSpace", ")", ";", "return", "getGSVectorCost", "(", "Opcode", ",", "SrcVTy", ",", "Ptr", ",", "Alignment", ",", "AddressSpace", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "Gather", "/", "Scatter", "operation", "."], "TS_V_token": ["X86", "X86", "\"Unexpected data type for Gather/Scatter\"", "\"Unexpected type for Ptr argument\"", "2", "4"], "File": "X86TargetTransformInfo (2)", "Func": "getGatherScatterOpCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12145, "Length": 211, "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", ":", "case", "ARM", "::", "VLDR_P0_off", ":", "case", "ARM", "::", "MVE_VLDRWU32", ":", "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", "::", "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", ";", "case", "ARM", "::", "MQQPRLoad", ":", "case", "ARM", "::", "MQQQQPRLoad", ":", "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": ["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", "ARM::VLDR_P0_off", "ARM::MVE_VLDRWU32", "1", "2", "2", "0", "1", "0", "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", "ARM::MQQPRLoad", "ARM::MQQQQPRLoad", "1", "1", "0", "0"], "File": "ARMBaseInstrInfo110", "Func": "isLoadFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12146, "Length": 447, "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": 12147, "Length": 14, "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", ":", "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", "::", "BGEZC", ":", "case", "Mips", "::", "BGTZC", ":", "case", "Mips", "::", "BLTZC", ":", "case", "Mips", "::", "BEQZC", ":", "case", "Mips", "::", "BNEZC", ":", "if", "(", "Inst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "Mips", "::", "ZERO", ")", "return", "Match_RequiresNoZeroRegister", ";", "return", "Match_Success", ";", "case", "Mips", "::", "BGEC", ":", "case", "Mips", "::", "BLTC", ":", "case", "Mips", "::", "BGEUC", ":", "case", "Mips", "::", "BLTUC", ":", "case", "Mips", "::", "BEQC", ":", "case", "Mips", "::", "BNEC", ":", "if", "(", "Inst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "Mips", "::", "ZERO", ")", "return", "Match_RequiresNoZeroRegister", ";", "if", "(", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "Mips", "::", "ZERO", ")", "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", "0", "1", "Mips::LWP_MM", "Mips::LWP_MMR6", "0", "2", "Mips::BLEZC", "Mips::BGEZC", "Mips::BGTZC", "Mips::BLTZC", "Mips::BEQZC", "Mips::BNEZC", "0", "Mips::ZERO", "Mips::BGEC", "Mips::BLTC", "Mips::BGEUC", "Mips::BLTUC", "Mips::BEQC", "Mips::BNEC", "0", "Mips::ZERO", "1", "Mips::ZERO", "0", "1"], "File": "MipsAsmParser56", "Func": "checkTargetMatchPredicate", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12148, "Length": 259, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsSubtarget", "*", "getSubtargetImpl", "(", ")", "const", "{", "if", "(", "Subtarget", ")", "return", "Subtarget", ";", "return", "&", "DefaultSubtarget", ";", "}", ""], "natrual_language": ["Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsTargetMachine (2)1", "Func": "getSubtargetImpl", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12149, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "Operands", ".", "push_back", "(", "SparcOperand", "::", "CreateToken", "(", "Name", ",", "NameLoc", ")", ")", ";", "applyMnemonicAliases", "(", "Name", ",", "getAvailableFeatures", "(", ")", ",", "0", ")", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "if", "(", "parseBranchModifiers", "(", "Operands", ")", "!=", "MatchOperand_Success", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token\"", ")", ";", "}", "}", "if", "(", "parseOperand", "(", "Operands", ",", "Name", ")", "!=", "MatchOperand_Success", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token\"", ")", ";", "}", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", "||", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Plus", ")", ")", "{", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Plus", ")", ")", "{", "Operands", ".", "push_back", "(", "SparcOperand", "::", "CreateToken", "(", "\"+\"", ",", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ")", ")", ";", "}", "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": ["Sparc", "Sparc", "SparcOperand::CreateToken", "0", "\"unexpected token\"", "\"unexpected token\"", "SparcOperand::CreateToken", "\"+\"", "\"unexpected token\"", "\"unexpected token\""], "File": "SparcAsmParser1", "Func": "ParseInstruction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12150, "Length": 282, "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", "(", ")", ";", "}", "EmitFunctionHeader", "(", ")", ";", "EmitFunctionBody", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86AsmPrinter23", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12151, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "includes_rldic_lshift_p", "(", "rtx", "shiftop", ",", "rtx", "andop", ")", "{", "if", "(", "GET_CODE", "(", "andop", ")", "==", "CONST_INT", ")", "{", "HOST_WIDE_INT", "c", ",", "lsb", ",", "shift_mask", ";", "c", "=", "INTVAL", "(", "andop", ")", ";", "if", "(", "c", "==", "0", "||", "c", "==", "~", "0", ")", "return", "0", ";", "shift_mask", "=", "~", "0", ";", "shift_mask", "<<=", "INTVAL", "(", "shiftop", ")", ";", "lsb", "=", "c", "&", "-", "c", ";", "if", "(", "-", "lsb", "!=", "shift_mask", ")", "return", "0", ";", "c", "=", "~", "c", ";", "c", "&=", "-", "lsb", ";", "lsb", "=", "c", "&", "-", "c", ";", "return", "c", "==", "-", "lsb", ";", "}", "else", "if", "(", "GET_CODE", "(", "andop", ")", "==", "CONST_DOUBLE", "&&", "(", "GET_MODE", "(", "andop", ")", "==", "VOIDmode", "||", "GET_MODE", "(", "andop", ")", "==", "DImode", ")", ")", "{", "HOST_WIDE_INT", "low", ",", "high", ",", "lsb", ";", "HOST_WIDE_INT", "shift_mask_low", ",", "shift_mask_high", ";", "low", "=", "CONST_DOUBLE_LOW", "(", "andop", ")", ";", "if", "(", "HOST_BITS_PER_WIDE_INT", "<", "64", ")", "high", "=", "CONST_DOUBLE_HIGH", "(", "andop", ")", ";", "if", "(", "(", "low", "==", "0", "&&", "(", "HOST_BITS_PER_WIDE_INT", ">=", "64", "||", "high", "==", "0", ")", ")", "||", "(", "low", "==", "~", "0", "&&", "(", "HOST_BITS_PER_WIDE_INT", ">=", "64", "||", "high", "==", "~", "0", ")", ")", ")", "return", "0", ";", "if", "(", "HOST_BITS_PER_WIDE_INT", "<", "64", "&&", "low", "==", "0", ")", "{", "shift_mask_high", "=", "~", "0", ";", "if", "(", "INTVAL", "(", "shiftop", ")", ">", "32", ")", "shift_mask_high", "<<=", "INTVAL", "(", "shiftop", ")", "-", "32", ";", "lsb", "=", "high", "&", "-", "high", ";", "if", "(", "-", "lsb", "!=", "shift_mask_high", "||", "INTVAL", "(", "shiftop", ")", "<", "32", ")", "return", "0", ";", "high", "=", "~", "high", ";", "high", "&=", "-", "lsb", ";", "lsb", "=", "high", "&", "-", "high", ";", "return", "high", "==", "-", "lsb", ";", "}", "shift_mask_low", "=", "~", "0", ";", "shift_mask_low", "<<=", "INTVAL", "(", "shiftop", ")", ";", "lsb", "=", "low", "&", "-", "low", ";", "if", "(", "-", "lsb", "!=", "shift_mask_low", ")", "return", "0", ";", "if", "(", "HOST_BITS_PER_WIDE_INT", "<", "64", ")", "high", "=", "~", "high", ";", "low", "=", "~", "low", ";", "low", "&=", "-", "lsb", ";", "if", "(", "HOST_BITS_PER_WIDE_INT", "<", "64", "&&", "low", "==", "0", ")", "{", "lsb", "=", "high", "&", "-", "high", ";", "return", "high", "==", "-", "lsb", ";", "}", "lsb", "=", "low", "&", "-", "low", ";", "return", "low", "==", "-", "lsb", "&&", "(", "HOST_BITS_PER_WIDE_INT", ">=", "64", "||", "high", "==", "~", "0", ")", ";", "}", "else", "return", "0", ";", "}", ""], "natrual_language": ["Return", "1", "if", "ANDOP", "is", "a", "mask", "suitable", "for", "use", "with", "an", "rldic", "insn", "to", "perform", "a", "left", "shift", ".", "It", "must", "have", "exactly", "SHIFTOP", "least", "significant", "0", "'s", ",", "then", "one", "or", "more", "1", "'s", ",", "then", "zero", "or", "more", "0", "'s", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "0", "64", "0", "64", "0", "0", "64", "0", "0", "64", "0", "0", "32", "32", "32", "0", "0", "0", "64", "64", "0", "64", "0", "0"], "File": "rs60003", "Func": "includes_rldic_lshift_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12152, "Length": 386, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "VETargetLowering", "::", "withTargetFlags", "(", "SDValue", "Op", ",", "unsigned", "TF", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "const", "GlobalAddressSDNode", "*", "GA", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetGlobalAddress", "(", "GA", "->", "getGlobal", "(", ")", ",", "SDLoc", "(", "GA", ")", ",", "GA", "->", "getValueType", "(", "0", ")", ",", "GA", "->", "getOffset", "(", ")", ",", "TF", ")", ";", "if", "(", "const", "BlockAddressSDNode", "*", "BA", "=", "dyn_cast", "<", "BlockAddressSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetBlockAddress", "(", "BA", "->", "getBlockAddress", "(", ")", ",", "Op", ".", "getValueType", "(", ")", ",", "0", ",", "TF", ")", ";", "if", "(", "const", "ConstantPoolSDNode", "*", "CP", "=", "dyn_cast", "<", "ConstantPoolSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetConstantPool", "(", "CP", "->", "getConstVal", "(", ")", ",", "CP", "->", "getValueType", "(", "0", ")", ",", "CP", "->", "getAlign", "(", ")", ",", "CP", "->", "getOffset", "(", ")", ",", "TF", ")", ";", "if", "(", "const", "ExternalSymbolSDNode", "*", "ES", "=", "dyn_cast", "<", "ExternalSymbolSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetExternalSymbol", "(", "ES", "->", "getSymbol", "(", ")", ",", "ES", "->", "getValueType", "(", "0", ")", ",", "TF", ")", ";", "if", "(", "const", "JumpTableSDNode", "*", "JT", "=", "dyn_cast", "<", "JumpTableSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetJumpTable", "(", "JT", "->", "getIndex", "(", ")", ",", "JT", "->", "getValueType", "(", "0", ")", ",", "TF", ")", ";", "llvm_unreachable", "(", "\"Unhandled address SDNode\"", ")", ";", "}", ""], "natrual_language": ["}", "Custom", "DAGCombine"], "TS_V_token": ["VE", "VE", "0", "0", "0", "0", "0", "\"Unhandled address SDNode\""], "File": "VEISelLowering11", "Func": "withTargetFlags", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12153, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMDAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "if", "(", "!", "Subtarget", "->", "hasV6T2Ops", "(", ")", ")", "return", ";", "bool", "isThumb2", "=", "Subtarget", "->", "isThumb", "(", ")", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "I", "++", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "ADD", ")", "continue", ";", "SDValue", "N0", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "N1", "=", "N", "->", "getOperand", "(", "1", ")", ";", "unsigned", "And_imm", "=", "0", ";", "if", "(", "!", "isOpcWithIntImmediate", "(", "N1", ".", "getNode", "(", ")", ",", "ISD", "::", "AND", ",", "And_imm", ")", ")", "{", "if", "(", "isOpcWithIntImmediate", "(", "N0", ".", "getNode", "(", ")", ",", "ISD", "::", "AND", ",", "And_imm", ")", ")", "std", "::", "swap", "(", "N0", ",", "N1", ")", ";", "}", "if", "(", "!", "And_imm", ")", "continue", ";", "unsigned", "TZ", "=", "countTrailingZeros", "(", "And_imm", ")", ";", "if", "(", "TZ", "!=", "1", "&&", "TZ", "!=", "2", ")", "continue", ";", "And_imm", ">>=", "TZ", ";", "if", "(", "And_imm", "&", "(", "And_imm", "+", "1", ")", ")", "continue", ";", "SDValue", "Srl", "=", "N1", ".", "getOperand", "(", "0", ")", ";", "unsigned", "Srl_imm", "=", "0", ";", "if", "(", "!", "isOpcWithIntImmediate", "(", "Srl", ".", "getNode", "(", ")", ",", "ISD", "::", "SRL", ",", "Srl_imm", ")", "||", "(", "Srl_imm", "<=", "2", ")", ")", "continue", ";", "SDValue", "CPTmp0", ";", "SDValue", "CPTmp1", ";", "SDValue", "CPTmp2", ";", "if", "(", "isThumb2", ")", "{", "if", "(", "SelectImmShifterOperand", "(", "N0", ",", "CPTmp0", ",", "CPTmp1", ")", ")", "continue", ";", "}", "else", "{", "if", "(", "SelectImmShifterOperand", "(", "N0", ",", "CPTmp0", ",", "CPTmp1", ")", "||", "SelectRegShifterOperand", "(", "N0", ",", "CPTmp0", ",", "CPTmp1", ",", "CPTmp2", ")", ")", "continue", ";", "}", "Srl", "=", "CurDAG", "->", "getNode", "(", "ISD", "::", "SRL", ",", "SDLoc", "(", "Srl", ")", ",", "MVT", "::", "i32", ",", "Srl", ".", "getOperand", "(", "0", ")", ",", "CurDAG", "->", "getConstant", "(", "Srl_imm", "+", "TZ", ",", "SDLoc", "(", "Srl", ")", ",", "MVT", "::", "i32", ")", ")", ";", "N1", "=", "CurDAG", "->", "getNode", "(", "ISD", "::", "AND", ",", "SDLoc", "(", "N1", ")", ",", "MVT", "::", "i32", ",", "Srl", ",", "CurDAG", "->", "getConstant", "(", "And_imm", ",", "SDLoc", "(", "Srl", ")", ",", "MVT", "::", "i32", ")", ")", ";", "N1", "=", "CurDAG", "->", "getNode", "(", "ISD", "::", "SHL", ",", "SDLoc", "(", "N1", ")", ",", "MVT", "::", "i32", ",", "N1", ",", "CurDAG", "->", "getConstant", "(", "TZ", ",", "SDLoc", "(", "Srl", ")", ",", "MVT", "::", "i32", ")", ")", ";", "CurDAG", "->", "UpdateNodeOperands", "(", "N", ",", "N0", ",", "N1", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["ARM", "ARM", "ISD::ADD", "0", "1", "0", "ISD::AND", "ISD::AND", "1", "2", "1", "0", "0", "ISD::SRL", "2", "ISD::SRL", "MVT::i32", "0", "MVT::i32", "ISD::AND", "MVT::i32", "MVT::i32", "ISD::SHL", "MVT::i32", "MVT::i32"], "File": "ARMISelDAGToDAG1", "Func": "PreprocessISelDAG", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12154, "Length": 419, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "VEAsmPrinter", "::", "emitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "return", ";", "case", "VE", "::", "GETGOT", ":", "lowerGETGOTAndEmitMCInsts", "(", "MI", ",", "getSubtargetInfo", "(", ")", ")", ";", "return", ";", "case", "VE", "::", "GETFUNPLT", ":", "lowerGETFunPLTAndEmitMCInsts", "(", "MI", ",", "getSubtargetInfo", "(", ")", ")", ";", "return", ";", "}", "MachineBasicBlock", "::", "const_instr_iterator", "I", "=", "MI", "->", "getIterator", "(", ")", ";", "MachineBasicBlock", "::", "const_instr_iterator", "E", "=", "MI", "->", "getParent", "(", ")", "->", "instr_end", "(", ")", ";", "do", "{", "MCInst", "TmpInst", ";", "LowerVEMachineInstrToMCInst", "(", "&", "*", "I", ",", "TmpInst", ",", "*", "this", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "TmpInst", ")", ";", "}", "while", "(", "(", "++", "I", "!=", "E", ")", "&&", "I", "->", "isInsideBundle", "(", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["VE", "VE", "VE::GETGOT", "VE::GETFUNPLT", "VE"], "File": "VEAsmPrinter8", "Func": "emitInstruction", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12155, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "*", "PPCInstrInfo", "::", "CreateTargetPostRAHazardRecognizer", "(", "const", "InstrItineraryData", "*", "II", ",", "const", "ScheduleDAG", "*", "DAG", ")", "const", "{", "unsigned", "Directive", "=", "DAG", "->", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "getDarwinDirective", "(", ")", ";", "if", "(", "Directive", "==", "PPC", "::", "DIR_PWR7", "||", "Directive", "==", "PPC", "::", "DIR_PWR8", ")", "return", "new", "PPCDispatchGroupSBHazardRecognizer", "(", "II", ",", "DAG", ")", ";", "if", "(", "Directive", "!=", "PPC", "::", "DIR_440", "&&", "Directive", "!=", "PPC", "::", "DIR_A2", "&&", "Directive", "!=", "PPC", "::", "DIR_E500mc", "&&", "Directive", "!=", "PPC", "::", "DIR_E5500", ")", "{", "assert", "(", "DAG", "->", "TII", "&&", "\"No InstrInfo?\"", ")", ";", "return", "new", "PPCHazardRecognizer970", "(", "*", "DAG", ")", ";", "}", "return", "new", "ScoreboardHazardRecognizer", "(", "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_PWR7", "PPC::DIR_PWR8", "PPC", "PPC::DIR_440", "PPC::DIR_A2", "PPC::DIR_E500mc", "PPC::DIR_E5500", "\"No InstrInfo?\"", "PPC"], "File": "PPCInstrInfo (2)2", "Func": "CreateTargetPostRAHazardRecognizer", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12156, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mems_ok_for_quad_peep", "(", "rtx", "mem1", ",", "rtx", "mem2", ")", "{", "rtx", "addr1", ",", "addr2", ";", "unsigned", "int", "reg1", ",", "reg2", ";", "int", "offset1", ",", "offset2", ";", "if", "(", "MEM_VOLATILE_P", "(", "mem1", ")", "||", "MEM_VOLATILE_P", "(", "mem2", ")", ")", "return", "0", ";", "addr1", "=", "XEXP", "(", "mem1", ",", "0", ")", ";", "addr2", "=", "XEXP", "(", "mem2", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "addr1", ")", "==", "PLUS", ")", "{", "if", "(", "GET_CODE", "(", "XEXP", "(", "addr1", ",", "0", ")", ")", "!=", "REG", ")", "return", "0", ";", "else", "{", "reg1", "=", "REGNO", "(", "XEXP", "(", "addr1", ",", "0", ")", ")", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "addr1", ",", "1", ")", ")", "!=", "CONST_INT", ")", "return", "0", ";", "offset1", "=", "INTVAL", "(", "XEXP", "(", "addr1", ",", "1", ")", ")", ";", "}", "}", "else", "if", "(", "GET_CODE", "(", "addr1", ")", "!=", "REG", ")", "return", "0", ";", "else", "{", "reg1", "=", "REGNO", "(", "addr1", ")", ";", "offset1", "=", "0", ";", "}", "if", "(", "GET_CODE", "(", "addr2", ")", "==", "PLUS", ")", "{", "if", "(", "GET_CODE", "(", "XEXP", "(", "addr2", ",", "0", ")", ")", "!=", "REG", ")", "return", "0", ";", "else", "{", "reg2", "=", "REGNO", "(", "XEXP", "(", "addr2", ",", "0", ")", ")", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "addr2", ",", "1", ")", ")", "!=", "CONST_INT", ")", "return", "0", ";", "offset2", "=", "INTVAL", "(", "XEXP", "(", "addr2", ",", "1", ")", ")", ";", "}", "}", "else", "if", "(", "GET_CODE", "(", "addr2", ")", "!=", "REG", ")", "return", "0", ";", "else", "{", "reg2", "=", "REGNO", "(", "addr2", ")", ";", "offset2", "=", "0", ";", "}", "if", "(", "reg1", "!=", "reg2", ")", "return", "0", ";", "if", "(", "offset2", "!=", "offset1", "+", "8", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "1", "if", "addr1", "and", "addr2", "are", "suitable", "for", "lfq", "or", "stfq", "insn", ".", "addr1", "and", "addr2", "must", "be", "in", "consecutive", "memory", "locations", "(", "addr2", "==", "addr1", "+", "8", ")", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "0", "0", "1", "0", "1", "0", "0", "0", "0", "0", "1", "0", "1", "0", "0", "0", "8", "0", "1"], "File": "rs60003", "Func": "mems_ok_for_quad_peep", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12157, "Length": 281, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_replace_reg_mode", "(", "rtx", "x", ",", "machine_mode", "mode", ")", "{", "if", "(", "GET_MODE", "(", "x", ")", "==", "mode", ")", "return", "x", ";", "x", "=", "shallow_copy_rtx", "(", "x", ")", ";", "set_mode_and_regno", "(", "x", ",", "mode", ",", "REGNO", "(", "x", ")", ")", ";", "return", "x", ";", "}", ""], "natrual_language": ["Return", "a", "copy", "of", "X", "with", "mode", "MODE", ",", "without", "changing", "its", "other", "attributes", ".", "Unlike", "gen_lowpart", ",", "this", "does", "n't", "care", "whether", "the", "mode", "change", "is", "valid", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_replace_reg_mode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12158, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "get_pc_thunk_name", "(", "char", "name", "[", "32", "]", ",", "unsigned", "int", "regno", ")", "{", "const", "char", "*", "reg_name", "=", "reg_names", "[", "regno", "]", ";", "reg_name", "+=", "1", ";", "if", "(", "USE_HIDDEN_LINKONCE", ")", "sprintf", "(", "name", ",", "\"__sparc_get_pc_thunk.%s\"", ",", "reg_name", ")", ";", "else", "ASM_GENERATE_INTERNAL_LABEL", "(", "name", ",", "\"LADDPC\"", ",", "regno", ")", ";", "}", ""], "natrual_language": ["Fills", "in", "the", "label", "name", "that", "should", "be", "used", "for", "a", "pc", "thunk", "for", "the", "given", "register", "."], "TS_V_token": ["sparc", "32", "1", "\"__sparc_get_pc_thunk.%s\"", "\"LADDPC\""], "File": "sparc4", "Func": "get_pc_thunk_name", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12159, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "AARCH64_BR_RELAX_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64"], "File": "AArch64BranchRelaxation", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12160, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "EVT", "getSetCCResultType", "(", "LLVMContext", "&", ",", "EVT", ")", "const", "{", "return", "MVT", "::", "i32", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["SystemZ", "MVT::i32"], "File": "SystemZISelLowering17", "Func": "getSetCCResultType", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12161, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMMCCodeEmitter", "::", "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", ")", ";", "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!\"", ")", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["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!\""], "File": "ARMMCCodeEmitter1", "Func": "getMachineOpValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12162, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "MipsRegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "MipsABIInfo", "ABI", "=", "MF", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "getABI", "(", ")", ";", "MipsPtrClass", "PtrClassKind", "=", "static_cast", "<", "MipsPtrClass", ">", "(", "Kind", ")", ";", "switch", "(", "PtrClassKind", ")", "{", "case", "MipsPtrClass", "::", "Default", ":", "return", "ABI", ".", "ArePtrs64bit", "(", ")", "?", "&", "Mips", "::", "GPR64RegClass", ":", "&", "Mips", "::", "GPR32RegClass", ";", "case", "MipsPtrClass", "::", "GPR16MM", ":", "return", "ABI", ".", "ArePtrs64bit", "(", ")", "?", "&", "Mips", "::", "GPRMM16_64RegClass", ":", "&", "Mips", "::", "GPRMM16RegClass", ";", "case", "MipsPtrClass", "::", "StackPointer", ":", "return", "ABI", ".", "ArePtrs64bit", "(", ")", "?", "&", "Mips", "::", "SP64RegClass", ":", "&", "Mips", "::", "SP32RegClass", ";", "case", "MipsPtrClass", "::", "GlobalPointer", ":", "return", "ABI", ".", "ArePtrs64bit", "(", ")", "?", "&", "Mips", "::", "GP64RegClass", ":", "&", "Mips", "::", "GP32RegClass", ";", "}", "llvm_unreachable", "(", "\"Unknown pointer kind\"", ")", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "MipsPtrClass::Default", "Mips::GPR64RegClass", "Mips::GPR32RegClass", "MipsPtrClass::GPR16MM", "Mips::GPRMM16_64RegClass", "Mips::GPRMM16RegClass", "MipsPtrClass::StackPointer", "Mips::SP64RegClass", "Mips::SP32RegClass", "MipsPtrClass::GlobalPointer", "Mips::GP64RegClass", "Mips::GP32RegClass", "\"Unknown pointer kind\""], "File": "MipsRegisterInfo16", "Func": "getPointerRegClass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12163, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64DAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "char", "ConstraintCode", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "assert", "(", "ConstraintCode", "==", "'m'", "&&", "\"unexpected asm memory constraint\"", ")", ";", "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": ["AArch64", "AArch64", "\"unexpected asm memory constraint\""], "File": "AArch64ISelDAGToDAG2", "Func": "SelectInlineAsmMemoryOperand", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12164, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_expand_ashl_const", "(", "rtx", "operand", ",", "int", "count", ",", "machine_mode", "mode", ")", "{", "rtx", "(", "*", "insn", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "if", "(", "count", "==", "1", "||", "(", "count", "*", "ix86_cost", "->", "add", "<=", "ix86_cost", "->", "shift_const", "&&", "!", "optimize_insn_for_size_p", "(", ")", ")", ")", "{", "insn", "=", "mode", "==", "DImode", "?", "gen_addsi3", ":", "gen_adddi3", ";", "while", "(", "count", "--", ">", "0", ")", "emit_insn", "(", "insn", "(", "operand", ",", "operand", ",", "operand", ")", ")", ";", "}", "else", "{", "insn", "=", "mode", "==", "DImode", "?", "gen_ashlsi3", ":", "gen_ashldi3", ";", "emit_insn", "(", "insn", "(", "operand", ",", "operand", ",", "GEN_INT", "(", "count", ")", ")", ")", ";", "}", "}", ""], "natrual_language": ["Helper", "function", "of", "ix86_split_ashl", "used", "to", "generate", "an", "SImode/DImode", "left", "shift", "by", "a", "constant", ",", "either", "using", "a", "single", "shift", "or", "a", "sequence", "of", "add", "instructions", "."], "TS_V_token": ["i386", "1", "0"], "File": "i3864", "Func": "ix86_expand_ashl_const", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12165, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "AArch64Subtarget", "*", "AArch64TargetMachine", "::", "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", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "CPU", "+", "FS", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "llvm", "::", "make_unique", "<", "AArch64Subtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "*", "this", ",", "Subtarget", ".", "isLittleEndian", "(", ")", ")", ";", "GISelAccessor", "*", "GISel", "=", "new", "GISelAccessor", "(", ")", ";", "AArch64GISelActualAccessor", "*", "GISel", "=", "new", "AArch64GISelActualAccessor", "(", ")", ";", "GISel", "->", "CallLoweringInfo", ".", "reset", "(", "new", "AArch64CallLowering", "(", "*", "I", "->", "getTargetLowering", "(", ")", ")", ")", ";", "GISel", "->", "Legalizer", ".", "reset", "(", "new", "AArch64MachineLegalizer", "(", ")", ")", ";", "auto", "*", "RBI", "=", "new", "AArch64RegisterBankInfo", "(", "*", "I", "->", "getRegisterInfo", "(", ")", ")", ";", "GISel", "->", "InstSelector", ".", "reset", "(", "new", "AArch64InstructionSelector", "(", "*", "I", ",", "*", "RBI", ")", ")", ";", "GISel", "->", "RegBankInfo", ".", "reset", "(", "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": ["AArch64", "AArch64", "AArch64", "\"target-cpu\"", "\"target-features\"", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine74", "Func": "getSubtargetImpl", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12166, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "iq2000_function_value", "(", "tree", "valtype", ",", "tree", "func", "ATTRIBUTE_UNUSED", ")", "{", "int", "reg", "=", "GP_RETURN", ";", "enum", "machine_mode", "mode", "=", "TYPE_MODE", "(", "valtype", ")", ";", "int", "unsignedp", "=", "TYPE_UNSIGNED", "(", "valtype", ")", ";", "mode", "=", "promote_mode", "(", "valtype", ",", "mode", ",", "&", "unsignedp", ",", "1", ")", ";", "return", "gen_rtx_REG", "(", "mode", ",", "reg", ")", ";", "}", ""], "natrual_language": ["Return", "register", "to", "use", "for", "a", "function", "return", "value", "with", "VALTYPE", "for", "function", "FUNC", "."], "TS_V_token": ["iq2000", "1"], "File": "iq20002", "Func": "iq2000_function_value", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12167, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86DAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "OptForSize", "=", "MF", "->", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "OptimizeForSize", ")", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "I", "++", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "(", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", "&&", "!", "Subtarget", "->", "callRegIndirect", "(", ")", ")", "||", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "TC_RETURN", "&&", "(", "Subtarget", "->", "is64Bit", "(", ")", "||", "getTargetMachine", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", ")", ")", ")", ")", "{", "bool", "HasCallSeq", "=", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", ";", "SDValue", "Chain", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Load", "=", "N", "->", "getOperand", "(", "1", ")", ";", "if", "(", "!", "isCalleeLoad", "(", "Load", ",", "Chain", ",", "HasCallSeq", ")", ")", "continue", ";", "MoveBelowOrigChain", "(", "CurDAG", ",", "Load", ",", "SDValue", "(", "N", ",", "0", ")", ",", "Chain", ")", ";", "++", "NumLoadMoved", ";", "continue", ";", "}", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_ROUND", "&&", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "EVT", "SrcVT", "=", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", ";", "EVT", "DstVT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "if", "(", "SrcVT", ".", "isVector", "(", ")", "||", "DstVT", ".", "isVector", "(", ")", ")", "continue", ";", "const", "X86TargetLowering", "*", "X86Lowering", "=", "static_cast", "<", "const", "X86TargetLowering", "*", ">", "(", "getTargetLowering", "(", ")", ")", ";", "bool", "SrcIsSSE", "=", "X86Lowering", "->", "isScalarFPTypeInSSEReg", "(", "SrcVT", ")", ";", "bool", "DstIsSSE", "=", "X86Lowering", "->", "isScalarFPTypeInSSEReg", "(", "DstVT", ")", ";", "if", "(", "SrcIsSSE", "&&", "DstIsSSE", ")", "continue", ";", "if", "(", "!", "SrcIsSSE", "&&", "!", "DstIsSSE", ")", "{", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "if", "(", "N", "->", "getConstantOperandVal", "(", "1", ")", ")", "continue", ";", "}", "EVT", "MemVT", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_ROUND", ")", "MemVT", "=", "DstVT", ";", "else", "MemVT", "=", "SrcIsSSE", "?", "SrcVT", ":", "DstVT", ";", "SDValue", "MemTmp", "=", "CurDAG", "->", "CreateStackTemporary", "(", "MemVT", ")", ";", "SDLoc", "dl", "(", "N", ")", ";", "SDValue", "Store", "=", "CurDAG", "->", "getTruncStore", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "dl", ",", "N", "->", "getOperand", "(", "0", ")", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "SDValue", "Result", "=", "CurDAG", "->", "getExtLoad", "(", "ISD", "::", "EXTLOAD", ",", "dl", ",", "DstVT", ",", "Store", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "--", "I", ";", "CurDAG", "->", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "0", ")", ",", "Result", ")", ";", "++", "I", ";", "CurDAG", "->", "DeleteNode", "(", "N", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["X86", "X86", "X86ISD::CALL", "X86ISD::TC_RETURN", "X86ISD::CALL", "0", "1", "0", "ISD::FP_ROUND", "ISD::FP_EXTEND", "0", "0", "X86", "X86", "X86", "X86", "X86", "ISD::FP_EXTEND", "1", "ISD::FP_ROUND", "0", "0", "ISD::EXTLOAD", "0", "0"], "File": "X86ISelDAGToDAG19", "Func": "PreprocessISelDAG", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12168, "Length": 481, "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", ";", "return", "(", "ShuffleVectorSDNode", "::", "isSplatMask", "(", "&", "M", "[", "0", "]", ",", "VT", ")", "||", "isVREVMask", "(", "M", ",", "VT", ",", "64", ")", "||", "isVREVMask", "(", "M", ",", "VT", ",", "32", ")", "||", "isVREVMask", "(", "M", ",", "VT", ",", "16", ")", "||", "isVEXTMask", "(", "M", ",", "VT", ",", "ReverseVEXT", ",", "Imm", ")", "||", "isVTRNMask", "(", "M", ",", "VT", ",", "WhichResult", ")", "||", "isVUZPMask", "(", "M", ",", "VT", ",", "WhichResult", ")", "||", "isVZIPMask", "(", "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", "0", "64", "32", "16"], "File": "ARMISelLowering33", "Func": "isShuffleMaskLegal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12169, "Length": 244, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "*", "output_call", "(", "rtx_insn", "*", "insn", ",", "rtx", "*", "operands", ",", "int", "dest_operand_number", ",", "int", "cookie_operand_number", ")", "{", "static", "char", "buf", "[", "256", "]", ";", "if", "(", "darwin_emit_branch_islands", "&&", "GET_CODE", "(", "operands", "[", "dest_operand_number", "]", ")", "==", "SYMBOL_REF", "&&", "(", "INTVAL", "(", "operands", "[", "cookie_operand_number", "]", ")", "&", "CALL_LONG", ")", ")", "{", "tree", "labelname", ";", "tree", "funname", "=", "get_identifier", "(", "XSTR", "(", "operands", "[", "dest_operand_number", "]", ",", "0", ")", ")", ";", "if", "(", "no_previous_def", "(", "funname", ")", ")", "{", "rtx", "label_rtx", "=", "gen_label_rtx", "(", ")", ";", "char", "*", "label_buf", ",", "temp_buf", "[", "256", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "temp_buf", ",", "\"L\"", ",", "CODE_LABEL_NUMBER", "(", "label_rtx", ")", ")", ";", "label_buf", "=", "temp_buf", "[", "0", "]", "==", "'*'", "?", "temp_buf", "+", "1", ":", "temp_buf", ";", "labelname", "=", "get_identifier", "(", "label_buf", ")", ";", "add_compiler_branch_island", "(", "labelname", ",", "funname", ",", "insn_line", "(", "insn", ")", ")", ";", "}", "else", "labelname", "=", "get_prev_label", "(", "funname", ")", ";", "sprintf", "(", "buf", ",", "\"jbsr %%z%d,%.246s\"", ",", "dest_operand_number", ",", "IDENTIFIER_POINTER", "(", "labelname", ")", ")", ";", "}", "else", "sprintf", "(", "buf", ",", "\"bl %%z%d\"", ",", "dest_operand_number", ")", ";", "return", "buf", ";", "}", ""], "natrual_language": ["INSN", "is", "either", "a", "function", "call", "or", "a", "millicode", "call", ".", "It", "may", "have", "an", "unconditional", "jump", "in", "its", "delay", "slot", ".", "CALL_DEST", "is", "the", "routine", "we", "are", "calling", "."], "TS_V_token": ["rs6000", "256", "0", "256", "\"L\"", "0", "1", "\"jbsr %%z%d,%.246s\"", "\"bl %%z%d\""], "File": "rs60004", "Func": "output_call", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12170, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "x86_extended_QIreg_mentioned_p", "(", "rtx", "insn", ")", "{", "int", "i", ";", "extract_insn_cached", "(", "insn", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "recog_data", ".", "n_operands", ";", "i", "++", ")", "if", "(", "REG_P", "(", "recog_data", ".", "operand", "[", "i", "]", ")", "&&", "REGNO", "(", "recog_data", ".", "operand", "[", "i", "]", ")", ">=", "4", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "nonzero", "when", "QImode", "register", "that", "must", "be", "represented", "via", "REX", "prefix", "is", "used", "."], "TS_V_token": ["i386", "0", "4"], "File": "i3863", "Func": "x86_extended_QIreg_mentioned_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12171, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_secondary_reload_gpr", "(", "rtx", "reg", ",", "rtx", "mem", ",", "rtx", "scratch", ",", "bool", "store_p", ")", "{", "int", "regno", "=", "true_regnum", "(", "reg", ")", ";", "enum", "reg_class", "rclass", ";", "rtx", "addr", ";", "rtx", "scratch_or_premodify", "=", "scratch", ";", "if", "(", "TARGET_DEBUG_ADDR", ")", "{", "fprintf", "(", "stderr", ",", "\"\\nrs6000_secondary_reload_gpr, type = %s\\n\"", ",", "store_p", "?", "\"store\"", ":", "\"load\"", ")", ";", "fprintf", "(", "stderr", ",", "\"reg:\\n\"", ")", ";", "debug_rtx", "(", "reg", ")", ";", "fprintf", "(", "stderr", ",", "\"mem:\\n\"", ")", ";", "debug_rtx", "(", "mem", ")", ";", "fprintf", "(", "stderr", ",", "\"scratch:\\n\"", ")", ";", "debug_rtx", "(", "scratch", ")", ";", "}", "gcc_assert", "(", "regno", ">=", "0", "&&", "regno", "<", "FIRST_PSEUDO_REGISTER", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "mem", ")", "==", "MEM", ")", ";", "rclass", "=", "REGNO_REG_CLASS", "(", "regno", ")", ";", "gcc_assert", "(", "rclass", "==", "GENERAL_REGS", "||", "rclass", "==", "BASE_REGS", ")", ";", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PRE_MODIFY", ")", "{", "gcc_assert", "(", "REG_P", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "&&", "GET_CODE", "(", "XEXP", "(", "addr", ",", "1", ")", ")", "==", "PLUS", "&&", "XEXP", "(", "XEXP", "(", "addr", ",", "1", ")", ",", "0", ")", "==", "XEXP", "(", "addr", ",", "0", ")", ")", ";", "scratch_or_premodify", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "if", "(", "!", "HARD_REGISTER_P", "(", "scratch_or_premodify", ")", ")", "scratch_or_premodify", "=", "find_replacement", "(", "&", "XEXP", "(", "addr", ",", "0", ")", ")", ";", "addr", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "}", "gcc_assert", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", "||", "GET_CODE", "(", "addr", ")", "==", "LO_SUM", ")", ";", "rs6000_emit_move", "(", "scratch_or_premodify", ",", "addr", ",", "Pmode", ")", ";", "mem", "=", "replace_equiv_address_nv", "(", "mem", ",", "scratch_or_premodify", ")", ";", "if", "(", "store_p", ")", "emit_insn", "(", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ")", ";", "else", "emit_insn", "(", "gen_rtx_SET", "(", "reg", ",", "mem", ")", ")", ";", "return", ";", "}", ""], "natrual_language": ["Convert", "reloads", "involving", "64-bit", "gprs", "and", "misaligned", "offset", "addressing", ",", "or", "multiple", "32-bit", "gprs", "and", "offsets", "that", "are", "too", "large", ",", "to", "use", "indirect", "addressing", "."], "TS_V_token": ["rs6000", "\"\\nrs6000_secondary_reload_gpr, type = %s\\n\"", "\"store\"", "\"load\"", "\"reg:\\n\"", "\"mem:\\n\"", "\"scratch:\\n\"", "0", "0", "0", "1", "1", "0", "0", "0", "0", "1"], "File": "rs60005", "Func": "rs6000_secondary_reload_gpr", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12172, "Length": 296, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FastISel", "::", "isTypeLegal", "(", "Type", "*", "Ty", ",", "MVT", "&", "VT", ")", "{", "EVT", "evt", "=", "TLI", ".", "getValueType", "(", "DL", ",", "Ty", ",", "true", ")", ";", "if", "(", "Subtarget", "->", "isTargetILP32", "(", ")", "&&", "Ty", "->", "isPointerTy", "(", ")", ")", "return", "false", ";", "if", "(", "evt", "==", "MVT", "::", "Other", "||", "!", "evt", ".", "isSimple", "(", ")", ")", "return", "false", ";", "VT", "=", "evt", ".", "getSimpleVT", "(", ")", ";", "if", "(", "VT", "==", "MVT", "::", "f128", ")", "return", "false", ";", "return", "TLI", ".", "isTypeLegal", "(", "VT", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "type", "is", "legal", "."], "TS_V_token": ["AArch64", "AArch64", "MVT::Other", "MVT::f128"], "File": "AArch64FastISel10", "Func": "isTypeLegal", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12173, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_gen_section_name", "(", "char", "*", "*", "buf", ",", "const", "char", "*", "filename", ",", "const", "char", "*", "section_desc", ")", "{", "const", "char", "*", "q", ",", "*", "after_last_slash", ",", "*", "last_period", "=", "0", ";", "char", "*", "p", ";", "int", "len", ";", "after_last_slash", "=", "filename", ";", "for", "(", "q", "=", "filename", ";", "*", "q", ";", "q", "++", ")", "{", "if", "(", "*", "q", "==", "'/'", ")", "after_last_slash", "=", "q", "+", "1", ";", "else", "if", "(", "*", "q", "==", "'.'", ")", "last_period", "=", "q", ";", "}", "len", "=", "strlen", "(", "after_last_slash", ")", "+", "strlen", "(", "section_desc", ")", "+", "2", ";", "*", "buf", "=", "(", "char", "*", ")", "xmalloc", "(", "len", ")", ";", "p", "=", "*", "buf", ";", "*", "p", "++", "=", "'_'", ";", "for", "(", "q", "=", "after_last_slash", ";", "*", "q", ";", "q", "++", ")", "{", "if", "(", "q", "==", "last_period", ")", "{", "strcpy", "(", "p", ",", "section_desc", ")", ";", "p", "+=", "strlen", "(", "section_desc", ")", ";", "break", ";", "}", "else", "if", "(", "ISALNUM", "(", "*", "q", ")", ")", "*", "p", "++", "=", "*", "q", ";", "}", "if", "(", "last_period", "==", "0", ")", "strcpy", "(", "p", ",", "section_desc", ")", ";", "else", "*", "p", "=", "'\\0'", ";", "}", ""], "natrual_language": ["Generate", "a", "unique", "section", "name", "for", "FILENAME", "for", "a", "section", "type", "represented", "by", "SECTION_DESC", ".", "Output", "goes", "into", "BUF", ".", "SECTION_DESC", "can", "be", "any", "string", ",", "as", "long", "as", "it", "is", "different", "for", "each", "possible", "section", "type", ".", "We", "name", "the", "section", "in", "the", "same", "manner", "as", "xlc", ".", "The", "name", "begins", "with", "an", "underscore", "followed", "by", "the", "filename", "(", "after", "stripping", "any", "leading", "directory", "names", ")", "with", "the", "last", "period", "replaced", "by", "the", "string", "SECTION_DESC", ".", "If", "FILENAME", "does", "not", "contain", "a", "period", ",", "SECTION_DESC", "is", "appended", "to", "the", "end", "of", "the", "name", "."], "TS_V_token": ["powerpcspe", "0", "1", "2", "0"], "File": "powerpcspe", "Func": "rs6000_gen_section_name", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12174, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_vector_mode_supported_p", "(", "machine_mode", "mode", ")", "{", "return", "TARGET_VIS", "&&", "VECTOR_MODE_P", "(", "mode", ")", "?", "true", ":", "false", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_VECTOR_MODE_SUPPORTED_P", "target", "hook", ".", "Specify", "whether", "the", "vector", "mode", "is", "supported", "by", "the", "hardware", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "sparc_vector_mode_supported_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12175, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "VETargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "StringRef", "Constraint", ",", "MVT", "VT", ")", "const", "{", "const", "TargetRegisterClass", "*", "RC", "=", "nullptr", ";", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "TRI", ",", "Constraint", ",", "VT", ")", ";", "case", "'r'", ":", "RC", "=", "&", "VE", "::", "I64RegClass", ";", "break", ";", "case", "'v'", ":", "RC", "=", "&", "VE", "::", "V64RegClass", ";", "break", ";", "}", "return", "std", "::", "make_pair", "(", "0U", ",", "RC", ")", ";", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "TRI", ",", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["VE", "VE", "1", "0", "VE::I64RegClass", "VE::V64RegClass", "0U"], "File": "VEISelLowering11", "Func": "getRegForInlineAsmConstraint", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12176, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "AArch64Subtarget", "*", "getSubtargetImpl", "(", ")", "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": ["AArch64", "AArch64"], "File": "AArch64TargetMachine", "Func": "getSubtargetImpl", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12177, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_savres_routine_sym", "(", "rs6000_stack_t", "*", "info", ",", "int", "sel", ")", "{", "int", "regno", "=", "(", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_GPR", "?", "info", "->", "first_gp_reg_save", ":", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_FPR", "?", "info", "->", "first_fp_reg_save", "-", "32", ":", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_VR", "?", "info", "->", "first_altivec_reg_save", "-", "FIRST_ALTIVEC_REGNO", ":", "-", "1", ")", ";", "rtx", "sym", ";", "int", "select", "=", "sel", ";", "if", "(", "TARGET_SPE_ABI", "&&", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_GPR", "&&", "info", "->", "spe_64bit_regs_used", ")", "select", "^=", "SAVRES_FPR", "^", "SAVRES_GPR", ";", "gcc_assert", "(", "FIRST_SAVRES_REGISTER", "<=", "regno", "&&", "regno", "<=", "LAST_SAVRES_REGISTER", "&&", "select", ">=", "0", "&&", "select", "<=", "12", ")", ";", "sym", "=", "savres_routine_syms", "[", "regno", "-", "FIRST_SAVRES_REGISTER", "]", "[", "select", "]", ";", "if", "(", "sym", "==", "NULL", ")", "{", "char", "*", "name", ";", "name", "=", "rs6000_savres_routine_name", "(", "info", ",", "regno", ",", "sel", ")", ";", "sym", "=", "savres_routine_syms", "[", "regno", "-", "FIRST_SAVRES_REGISTER", "]", "[", "select", "]", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "ggc_strdup", "(", "name", ")", ")", ";", "SYMBOL_REF_FLAGS", "(", "sym", ")", "|=", "SYMBOL_FLAG_FUNCTION", ";", "}", "return", "sym", ";", "}", ""], "natrual_language": ["Return", "an", "RTL", "SYMBOL_REF", "for", "an", "out-of-line", "register", "save/restore", "routine", ".", "We", "are", "saving/restoring", "GPRs", "if", "GPR", "is", "true", "."], "TS_V_token": ["rs6000", "32", "1", "0", "12"], "File": "rs60004", "Func": "rs6000_savres_routine_sym", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12178, "Length": 177, "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": 12179, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "expand_vec_perm_pblendv", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "i", ",", "which", ",", "nelt", "=", "d", "->", "nelt", ";", "struct", "expand_vec_perm_d", "dcopy", ",", "dcopy1", ";", "machine_mode", "vmode", "=", "d", "->", "vmode", ";", "bool", "ok", ";", "if", "(", "d", "->", "one_operand_p", ")", "return", "false", ";", "if", "(", "TARGET_AVX2", "&&", "GET_MODE_SIZE", "(", "vmode", ")", "==", "32", ")", ";", "else", "if", "(", "TARGET_AVX", "&&", "(", "vmode", "==", "V4DFmode", "||", "vmode", "==", "V8SFmode", ")", ")", ";", "else", "if", "(", "TARGET_SSE4_1", "&&", "(", "GET_MODE_SIZE", "(", "vmode", ")", "==", "16", "||", "(", "TARGET_MMX_WITH_SSE", "&&", "GET_MODE_SIZE", "(", "vmode", ")", "==", "8", ")", "||", "GET_MODE_SIZE", "(", "vmode", ")", "==", "4", ")", ")", ";", "else", "return", "false", ";", "for", "(", "i", "=", "0", ",", "which", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "{", "unsigned", "e", "=", "d", "->", "perm", "[", "i", "]", ";", "if", "(", "e", "!=", "i", ")", "which", "|=", "(", "e", "<", "nelt", "?", "1", ":", "2", ")", ";", "}", "if", "(", "which", "!=", "1", "&&", "which", "!=", "2", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", "&&", "GET_MODE_SIZE", "(", "vmode", ")", "==", "16", ")", "return", "true", ";", "dcopy", "=", "*", "d", ";", "if", "(", "which", "==", "2", ")", "dcopy", ".", "op0", "=", "dcopy", ".", "op1", "=", "d", "->", "op1", ";", "else", "dcopy", ".", "op0", "=", "dcopy", ".", "op1", "=", "d", "->", "op0", ";", "if", "(", "!", "d", "->", "testing_p", ")", "dcopy", ".", "target", "=", "gen_reg_rtx", "(", "vmode", ")", ";", "dcopy", ".", "one_operand_p", "=", "true", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "dcopy", ".", "perm", "[", "i", "]", "=", "d", "->", "perm", "[", "i", "]", "&", "(", "nelt", "-", "1", ")", ";", "ok", "=", "expand_vec_perm_1", "(", "&", "dcopy", ")", ";", "if", "(", "GET_MODE_SIZE", "(", "vmode", ")", "!=", "16", "&&", "!", "ok", ")", "return", "false", ";", "else", "gcc_assert", "(", "ok", ")", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "dcopy1", "=", "*", "d", ";", "if", "(", "which", "==", "2", ")", "dcopy1", ".", "op1", "=", "dcopy", ".", "target", ";", "else", "dcopy1", ".", "op0", "=", "dcopy", ".", "target", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "dcopy1", ".", "perm", "[", "i", "]", "=", "(", "(", "d", "->", "perm", "[", "i", "]", ">=", "nelt", ")", "?", "(", "nelt", "+", "i", ")", ":", "i", ")", ";", "ok", "=", "expand_vec_perm_blend", "(", "&", "dcopy1", ")", ";", "gcc_assert", "(", "ok", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "ix86_expand_vec_perm_const_1", ".", "Try", "to", "simplify", "the", "permutation", "using", "the", "SSE4_1", "pblendv", "instruction", ".", "Potentially", "reduces", "permutation", "from", "2", "pshufb", "and", "or", "to", "1", "pshufb", "and", "pblendv", "."], "TS_V_token": ["i386", "32", "16", "8", "4", "0", "0", "1", "2", "1", "2", "16", "2", "0", "1", "16", "2", "0"], "File": "i386-expand1", "Func": "expand_vec_perm_pblendv", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12180, "Length": 402, "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", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "!=", "ARM", "::", "CPSR", ")", "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", "::", "createFPImm", "(", "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\"", "ARM::CPSR", "\"Subregs should be eliminated!\"", "ARM", "\"execute-only should not generate constant pools\""], "File": "ARMMCInstLower15", "Func": "lowerOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12181, "Length": 340, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pru_repeat_loop_p", "(", "struct", "pru_doloop", "*", "loop", ")", "{", "struct", "pru_doloop_end", "*", "end", ";", "rtx_insn", "*", "fallthrough", ";", "if", "(", "loop", "->", "begin", "==", "0", "||", "loop", "->", "end", "==", "0", "||", "loop", "->", "begin", "->", "next", "!=", "0", ")", "return", "false", ";", "if", "(", "prev_real_insn", "(", "as_a", "<", "rtx_insn", "*", ">", "(", "loop", "->", "end", "->", "label", ")", ")", "!=", "loop", "->", "begin", "->", "insn", ")", "return", "false", ";", "if", "(", "get_attr_length", "(", "loop", "->", "end", "->", "insn", ")", "!=", "4", ")", "return", "false", ";", "fallthrough", "=", "loop", "->", "end", "->", "fallthrough", ";", "for", "(", "end", "=", "loop", "->", "end", "->", "next", ";", "end", "!=", "0", ";", "end", "=", "end", "->", "next", ")", "if", "(", "end", "->", "label", "!=", "loop", "->", "end", "->", "label", "||", "!", "simplejump_p", "(", "end", "->", "fallthrough", ")", "||", "fallthrough", "!=", "next_real_insn", "(", "JUMP_LABEL_AS_INSN", "(", "end", "->", "fallthrough", ")", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "LOOP", "can", "be", "converted", "into", "LOOP", "form", "(", "that", "is", ",", "if", "it", "matches", "cases", "(", "1", ")", "or", "(", "2", ")", "above", ")", "."], "TS_V_token": ["pru", "0", "0", "0", "4", "0"], "File": "pru", "Func": "pru_repeat_loop_p", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12182, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_harden_sls_blr_p", "(", "void", ")", "{", "return", "aarch64_sls_hardening", "&", "SLS_BLR", ";", "}", ""], "natrual_language": ["Return", "whether", "we", "should", "mitigatate", "Straight", "Line", "Speculation", "for", "the", "BLR", "instruction", "."], "TS_V_token": ["aarch64"], "File": "aarch641", "Func": "aarch64_harden_sls_blr_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12183, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "pa_adjust_priority", "(", "rtx", "insn", ",", "int", "priority", ")", "{", "rtx", "set", "=", "single_set", "(", "insn", ")", ";", "rtx", "src", ",", "dest", ";", "if", "(", "set", ")", "{", "src", "=", "SET_SRC", "(", "set", ")", ";", "dest", "=", "SET_DEST", "(", "set", ")", ";", "if", "(", "GET_CODE", "(", "src", ")", "==", "LO_SUM", "&&", "symbolic_operand", "(", "XEXP", "(", "src", ",", "1", ")", ",", "VOIDmode", ")", "&&", "!", "read_only_operand", "(", "XEXP", "(", "src", ",", "1", ")", ",", "VOIDmode", ")", ")", "priority", ">>=", "3", ";", "else", "if", "(", "GET_CODE", "(", "src", ")", "==", "MEM", "&&", "GET_CODE", "(", "XEXP", "(", "src", ",", "0", ")", ")", "==", "LO_SUM", "&&", "symbolic_operand", "(", "XEXP", "(", "XEXP", "(", "src", ",", "0", ")", ",", "1", ")", ",", "VOIDmode", ")", "&&", "!", "read_only_operand", "(", "XEXP", "(", "XEXP", "(", "src", ",", "0", ")", ",", "1", ")", ",", "VOIDmode", ")", ")", "priority", ">>=", "1", ";", "else", "if", "(", "GET_CODE", "(", "dest", ")", "==", "MEM", "&&", "GET_CODE", "(", "XEXP", "(", "dest", ",", "0", ")", ")", "==", "LO_SUM", "&&", "symbolic_operand", "(", "XEXP", "(", "XEXP", "(", "dest", ",", "0", ")", ",", "1", ")", ",", "VOIDmode", ")", "&&", "!", "read_only_operand", "(", "XEXP", "(", "XEXP", "(", "dest", ",", "0", ")", ",", "1", ")", ",", "VOIDmode", ")", ")", "priority", ">>=", "3", ";", "}", "return", "priority", ";", "}", ""], "natrual_language": ["Adjust", "scheduling", "priorities", ".", "We", "use", "this", "to", "try", "and", "keep", "addil", "and", "the", "next", "use", "of", "%", "r1", "close", "together", "."], "TS_V_token": ["pa", "1", "1", "3", "0", "0", "1", "0", "1", "1", "0", "0", "1", "0", "1", "3"], "File": "pa3", "Func": "pa_adjust_priority", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12184, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMTargetLowering", "::", "ConstraintType", "ARMTargetLowering", "::", "getConstraintType", "(", "const", "std", "::", "string", "&", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'l'", ":", "return", "C_RegisterClass", ";", "case", "'w'", ":", "return", "C_RegisterClass", ";", "case", "'h'", ":", "return", "C_RegisterClass", ";", "case", "'x'", ":", "return", "C_RegisterClass", ";", "case", "'t'", ":", "return", "C_RegisterClass", ";", "case", "'j'", ":", "return", "C_Other", ";", "case", "'Q'", ":", "return", "C_Memory", ";", "}", "}", "else", "if", "(", "Constraint", ".", "size", "(", ")", "==", "2", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'U'", ":", "return", "C_Memory", ";", "}", "}", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "."], "TS_V_token": ["ARM", "ARM", "ARM", "1", "0", "2", "0"], "File": "ARMISelLowering (2)", "Func": "getConstraintType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12185, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86DAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "OptForSize", "=", "MF", "->", "getFunction", "(", ")", "->", "optForSize", "(", ")", ";", "OptForMinSize", "=", "MF", "->", "getFunction", "(", ")", "->", "optForMinSize", "(", ")", ";", "assert", "(", "(", "!", "OptForMinSize", "||", "OptForSize", ")", "&&", "\"OptForMinSize implies OptForSize\"", ")", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "&", "*", "I", "++", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "!", "Subtarget", "->", "useRetpoline", "(", ")", "&&", "(", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", "&&", "!", "Subtarget", "->", "callRegIndirect", "(", ")", ")", "||", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "TC_RETURN", "&&", "(", "Subtarget", "->", "is64Bit", "(", ")", "||", "!", "getTargetMachine", "(", ")", ".", "isPositionIndependent", "(", ")", ")", ")", ")", ")", "{", "bool", "HasCallSeq", "=", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", ";", "SDValue", "Chain", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Load", "=", "N", "->", "getOperand", "(", "1", ")", ";", "if", "(", "!", "isCalleeLoad", "(", "Load", ",", "Chain", ",", "HasCallSeq", ")", ")", "continue", ";", "moveBelowOrigChain", "(", "CurDAG", ",", "Load", ",", "SDValue", "(", "N", ",", "0", ")", ",", "Chain", ")", ";", "++", "NumLoadMoved", ";", "continue", ";", "}", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_ROUND", "&&", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "MVT", "SrcVT", "=", "N", "->", "getOperand", "(", "0", ")", ".", "getSimpleValueType", "(", ")", ";", "MVT", "DstVT", "=", "N", "->", "getSimpleValueType", "(", "0", ")", ";", "if", "(", "SrcVT", ".", "isVector", "(", ")", "||", "DstVT", ".", "isVector", "(", ")", ")", "continue", ";", "const", "X86TargetLowering", "*", "X86Lowering", "=", "static_cast", "<", "const", "X86TargetLowering", "*", ">", "(", "TLI", ")", ";", "bool", "SrcIsSSE", "=", "X86Lowering", "->", "isScalarFPTypeInSSEReg", "(", "SrcVT", ")", ";", "bool", "DstIsSSE", "=", "X86Lowering", "->", "isScalarFPTypeInSSEReg", "(", "DstVT", ")", ";", "if", "(", "SrcIsSSE", "&&", "DstIsSSE", ")", "continue", ";", "if", "(", "!", "SrcIsSSE", "&&", "!", "DstIsSSE", ")", "{", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "if", "(", "N", "->", "getConstantOperandVal", "(", "1", ")", ")", "continue", ";", "}", "MVT", "MemVT", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_ROUND", ")", "MemVT", "=", "DstVT", ";", "else", "MemVT", "=", "SrcIsSSE", "?", "SrcVT", ":", "DstVT", ";", "SDValue", "MemTmp", "=", "CurDAG", "->", "CreateStackTemporary", "(", "MemVT", ")", ";", "SDLoc", "dl", "(", "N", ")", ";", "SDValue", "Store", "=", "CurDAG", "->", "getTruncStore", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "dl", ",", "N", "->", "getOperand", "(", "0", ")", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ")", ";", "SDValue", "Result", "=", "CurDAG", "->", "getExtLoad", "(", "ISD", "::", "EXTLOAD", ",", "dl", ",", "DstVT", ",", "Store", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ")", ";", "--", "I", ";", "CurDAG", "->", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "0", ")", ",", "Result", ")", ";", "++", "I", ";", "CurDAG", "->", "DeleteNode", "(", "N", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["X86", "X86", "\"OptForMinSize implies OptForSize\"", "X86ISD::CALL", "X86ISD::TC_RETURN", "X86ISD::CALL", "0", "1", "0", "ISD::FP_ROUND", "ISD::FP_EXTEND", "0", "0", "X86", "X86", "X86", "X86", "X86", "ISD::FP_EXTEND", "1", "ISD::FP_ROUND", "0", "ISD::EXTLOAD", "0"], "File": "X86ISelDAGToDAG36", "Func": "PreprocessISelDAG", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12186, "Length": 486, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64RegisterBankInfo", "::", "applyMappingImpl", "(", "const", "OperandsMapper", "&", "OpdMapper", ")", "const", "{", "switch", "(", "OpdMapper", ".", "getMI", "(", ")", ".", "getOpcode", "(", ")", ")", "{", "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": "AArch64RegisterBankInfo3", "Func": "applyMappingImpl", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12187, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "replace_swap_with_copy", "(", "swap_web_entry", "*", "insn_entry", ",", "unsigned", "i", ")", "{", "rtx_insn", "*", "insn", "=", "insn_entry", "[", "i", "]", ".", "insn", ";", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "rtx", "src_reg", "=", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ";", "rtx", "copy", "=", "gen_rtx_SET", "(", "SET_DEST", "(", "body", ")", ",", "src_reg", ")", ";", "rtx_insn", "*", "new_insn", "=", "emit_insn_before", "(", "copy", ",", "insn", ")", ";", "set_block_for_insn", "(", "new_insn", ",", "BLOCK_FOR_INSN", "(", "insn", ")", ")", ";", "df_insn_rescan", "(", "new_insn", ")", ";", "if", "(", "dump_file", ")", "{", "unsigned", "int", "new_uid", "=", "INSN_UID", "(", "new_insn", ")", ";", "fprintf", "(", "dump_file", ",", "\"Replacing swap %d with copy %d\\n\"", ",", "i", ",", "new_uid", ")", ";", "}", "df_insn_delete", "(", "insn", ")", ";", "remove_insn", "(", "insn", ")", ";", "insn", "->", "set_deleted", "(", ")", ";", "}", ""], "natrual_language": ["Find", "the", "insn", "from", "the", "Ith", "table", "entry", ",", "which", "is", "known", "to", "be", "a", "register", "swap", "Y", "=", "SWAP", "(", "X", ")", ".", "Replace", "it", "with", "a", "copy", "Y", "=", "X", "."], "TS_V_token": ["rs6000", "0", "\"Replacing swap %d with copy %d\\n\""], "File": "rs6000-p8swap", "Func": "replace_swap_with_copy", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12188, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_notrack_prefixed_insn_p", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "!", "insn", "||", "!", "(", "(", "flag_cf_protection", "&", "CF_BRANCH", ")", ")", ")", "return", "false", ";", "if", "(", "CALL_P", "(", "insn", ")", ")", "{", "rtx", "call", "=", "get_call_rtx_from", "(", "insn", ")", ";", "gcc_assert", "(", "call", "!=", "NULL_RTX", ")", ";", "rtx", "addr", "=", "XEXP", "(", "call", ",", "0", ")", ";", "if", "(", "MEM_P", "(", "addr", ")", "&&", "GET_CODE", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "==", "SYMBOL_REF", ")", "return", "false", ";", "else", "return", "find_reg_note", "(", "insn", ",", "REG_CALL_NOCF_CHECK", ",", "0", ")", ";", "}", "if", "(", "JUMP_P", "(", "insn", ")", "&&", "!", "flag_cet_switch", ")", "{", "rtx", "target", "=", "JUMP_LABEL", "(", "insn", ")", ";", "if", "(", "target", "==", "NULL_RTX", "||", "ANY_RETURN_P", "(", "target", ")", ")", "return", "false", ";", "rtx_insn", "*", "label", "=", "as_a", "<", "rtx_insn", "*", ">", "(", "target", ")", ";", "rtx_insn", "*", "table", "=", "next_insn", "(", "label", ")", ";", "if", "(", "table", "==", "NULL_RTX", "||", "!", "JUMP_TABLE_DATA_P", "(", "table", ")", ")", "return", "false", ";", "else", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "1", "if", "control", "tansfer", "instruction", "INSN", "should", "be", "encoded", "with", "notrack", "prefix", "."], "TS_V_token": ["i386", "0", "0", "0"], "File": "i386-expand", "Func": "ix86_notrack_prefixed_insn_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12189, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "Cpu0MCCodeEmitter", "::", "getJumpTargetOpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"getJumpTargetOpValue expects only expressions\"", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "if", "(", "Opcode", "==", "Cpu0", "::", "JMP", "||", "Opcode", "==", "Cpu0", "::", "JSUB", ")", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "Expr", ",", "MCFixupKind", "(", "Cpu0", "::", "fixup_Cpu0_PC24", ")", ")", ")", ";", "else", "llvm_unreachable", "(", "\"unexpect opcode in getJumpAbsoluteTargetOpValue()\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getJumpTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "jump", "target", "operand", "."], "TS_V_token": ["Cpu0", "Cpu0", "\"getJumpTargetOpValue expects only expressions\"", "Cpu0::JMP", "Cpu0::JSUB", "0", "Cpu0::fixup_Cpu0_PC24", "\"unexpect opcode in getJumpAbsoluteTargetOpValue()\"", "0"], "File": "Cpu0MCCodeEmitter2", "Func": "getJumpTargetOpValue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12190, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "ix86_get_callcvt", "(", "const_tree", "type", ")", "{", "unsigned", "int", "ret", "=", "0", ";", "bool", "is_stdarg", ";", "tree", "attrs", ";", "if", "(", "TARGET_64BIT", ")", "return", "IX86_CALLCVT_CDECL", ";", "attrs", "=", "TYPE_ATTRIBUTES", "(", "type", ")", ";", "if", "(", "attrs", "!=", "NULL_TREE", ")", "{", "if", "(", "lookup_attribute", "(", "\"cdecl\"", ",", "attrs", ")", ")", "ret", "|=", "IX86_CALLCVT_CDECL", ";", "else", "if", "(", "lookup_attribute", "(", "\"stdcall\"", ",", "attrs", ")", ")", "ret", "|=", "IX86_CALLCVT_STDCALL", ";", "else", "if", "(", "lookup_attribute", "(", "\"fastcall\"", ",", "attrs", ")", ")", "ret", "|=", "IX86_CALLCVT_FASTCALL", ";", "else", "if", "(", "lookup_attribute", "(", "\"thiscall\"", ",", "attrs", ")", ")", "ret", "|=", "IX86_CALLCVT_THISCALL", ";", "if", "(", "(", "ret", "&", "(", "IX86_CALLCVT_THISCALL", "|", "IX86_CALLCVT_FASTCALL", ")", ")", "==", "0", ")", "{", "if", "(", "lookup_attribute", "(", "\"regparm\"", ",", "attrs", ")", ")", "ret", "|=", "IX86_CALLCVT_REGPARM", ";", "if", "(", "lookup_attribute", "(", "\"sseregparm\"", ",", "attrs", ")", ")", "ret", "|=", "IX86_CALLCVT_SSEREGPARM", ";", "}", "if", "(", "IX86_BASE_CALLCVT", "(", "ret", ")", "!=", "0", ")", "return", "ret", ";", "}", "is_stdarg", "=", "stdarg_p", "(", "type", ")", ";", "if", "(", "TARGET_RTD", "&&", "!", "is_stdarg", ")", "return", "IX86_CALLCVT_STDCALL", "|", "ret", ";", "if", "(", "ret", "!=", "0", "||", "is_stdarg", "||", "TREE_CODE", "(", "type", ")", "!=", "METHOD_TYPE", "||", "ix86_function_type_abi", "(", "type", ")", "!=", "MS_ABI", ")", "return", "IX86_CALLCVT_CDECL", "|", "ret", ";", "return", "IX86_CALLCVT_THISCALL", ";", "}", ""], "natrual_language": ["This", "function", "determines", "from", "TYPE", "the", "calling-convention", "."], "TS_V_token": ["i386", "0", "\"cdecl\"", "\"stdcall\"", "\"fastcall\"", "\"thiscall\"", "0", "\"regparm\"", "\"sseregparm\"", "0", "0"], "File": "i386", "Func": "ix86_get_callcvt", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12191, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "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", ";", "SystemZII", "::", "Branch", "Branch", "(", "getBranchInfo", "(", "*", "I", ")", ")", ";", "if", "(", "!", "Branch", ".", "hasMBBTarget", "(", ")", ")", "return", "true", ";", "if", "(", "Branch", ".", "Type", "!=", "SystemZII", "::", "BranchNormal", ")", "return", "true", ";", "if", "(", "Branch", ".", "CCMask", "==", "SystemZ", "::", "CCMASK_ANY", ")", "{", "if", "(", "!", "AllowModify", ")", "{", "TBB", "=", "Branch", ".", "getMBBTarget", "(", ")", ";", "continue", ";", "}", "while", "(", "std", "::", "next", "(", "I", ")", "!=", "MBB", ".", "end", "(", ")", ")", "std", "::", "next", "(", "I", ")", "->", "eraseFromParent", "(", ")", ";", "Cond", ".", "clear", "(", ")", ";", "FBB", "=", "nullptr", ";", "if", "(", "MBB", ".", "isLayoutSuccessor", "(", "Branch", ".", "getMBBTarget", "(", ")", ")", ")", "{", "TBB", "=", "nullptr", ";", "I", "->", "eraseFromParent", "(", ")", ";", "I", "=", "MBB", ".", "end", "(", ")", ";", "continue", ";", "}", "TBB", "=", "Branch", ".", "getMBBTarget", "(", ")", ";", "continue", ";", "}", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "FBB", "=", "TBB", ";", "TBB", "=", "Branch", ".", "getMBBTarget", "(", ")", ";", "Cond", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "Branch", ".", "CCValid", ")", ")", ";", "Cond", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "Branch", ".", "CCMask", ")", ")", ";", "continue", ";", "}", "assert", "(", "Cond", ".", "size", "(", ")", "==", "2", "&&", "TBB", "&&", "\"Should have seen a conditional branch\"", ")", ";", "if", "(", "TBB", "!=", "Branch", ".", "getMBBTarget", "(", ")", ")", "return", "true", ";", "unsigned", "OldCCValid", "=", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ";", "unsigned", "OldCCMask", "=", "Cond", "[", "1", "]", ".", "getImm", "(", ")", ";", "if", "(", "OldCCValid", "==", "Branch", ".", "CCValid", "&&", "OldCCMask", "==", "Branch", ".", "CCMask", ")", "continue", ";", "return", "false", ";", "}", "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": ["SystemZ", "SystemZ", "SystemZII::Branch", "SystemZII::BranchNormal", "SystemZ::CCMASK_ANY", "2", "\"Should have seen a conditional branch\"", "0", "1"], "File": "SystemZInstrInfo16", "Func": "analyzeBranch", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12192, "Length": 364, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_handle_option", "(", "size_t", "code", ",", "const", "char", "*", "arg", ",", "int", "value", "ATTRIBUTE_UNUSED", ")", "{", "switch", "(", "code", ")", "{", "case", "OPT_march_", ":", "arm_select", "[", "1", "]", ".", "string", "=", "arg", ";", "return", "true", ";", "case", "OPT_mcpu_", ":", "arm_select", "[", "0", "]", ".", "string", "=", "arg", ";", "return", "true", ";", "case", "OPT_mhard_float", ":", "target_float_abi_name", "=", "\"hard\"", ";", "return", "true", ";", "case", "OPT_msoft_float", ":", "target_float_abi_name", "=", "\"soft\"", ";", "return", "true", ";", "case", "OPT_mtune_", ":", "arm_select", "[", "2", "]", ".", "string", "=", "arg", ";", "return", "true", ";", "default", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_HANDLE_OPTION", "."], "TS_V_token": ["arm", "1", "0", "\"hard\"", "\"soft\"", "2"], "File": "arm3", "Func": "arm_handle_option", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12193, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 Indirect Branch Tracking\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 Indirect Branch Tracking\""], "File": "X86IndirectBranchTracking (2)", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12194, "Length": 11, "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", ")", "&&", "!", "hasStackRealignment", "(", "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": "AArch64RegisterInfo25", "Func": "useFPForScavengingIndex", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12195, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "pa_output_addr_diff_vec", "(", "rtx", "lab", ",", "rtx", "body", ")", "{", "rtx", "base", "=", "XEXP", "(", "XEXP", "(", "body", ",", "0", ")", ",", "0", ")", ";", "int", "idx", ",", "vlen", "=", "XVECLEN", "(", "body", ",", "1", ")", ";", "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_DIFF_ELT", "(", "asm_out_file", ",", "body", ",", "CODE_LABEL_NUMBER", "(", "XEXP", "(", "XVECEXP", "(", "body", ",", "1", ",", "idx", ")", ",", "0", ")", ")", ",", "CODE_LABEL_NUMBER", "(", "base", ")", ")", ";", "}", "if", "(", "TARGET_GAS", ")", "fputs", "(", "\"\\t.end_brtab\\n\"", ",", "asm_out_file", ")", ";", "}", ""], "natrual_language": ["Output", "address", "difference", "vector", "."], "TS_V_token": ["pa", "0", "0", "1", "\"L\"", "\"\\t.begin_brtab\\n\"", "0", "1", "0", "\"\\t.end_brtab\\n\""], "File": "pa", "Func": "pa_output_addr_diff_vec", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12196, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "memory_address_length", "(", "rtx", "addr", ",", "bool", "lea", ")", "{", "struct", "ix86_address", "parts", ";", "rtx", "base", ",", "index", ",", "disp", ";", "int", "len", ";", "int", "ok", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PRE_DEC", "||", "GET_CODE", "(", "addr", ")", "==", "POST_INC", "||", "GET_CODE", "(", "addr", ")", "==", "PRE_MODIFY", "||", "GET_CODE", "(", "addr", ")", "==", "POST_MODIFY", ")", "return", "0", ";", "ok", "=", "ix86_decompose_address", "(", "addr", ",", "&", "parts", ")", ";", "gcc_assert", "(", "ok", ")", ";", "len", "=", "(", "parts", ".", "seg", "==", "ADDR_SPACE_GENERIC", ")", "?", "0", ":", "1", ";", "if", "(", "TARGET_64BIT", "&&", "!", "lea", "&&", "(", "SImode_address_operand", "(", "addr", ",", "VOIDmode", ")", "||", "(", "parts", ".", "base", "&&", "GET_MODE", "(", "parts", ".", "base", ")", "==", "SImode", ")", "||", "(", "parts", ".", "index", "&&", "GET_MODE", "(", "parts", ".", "index", ")", "==", "SImode", ")", ")", ")", "len", "++", ";", "base", "=", "parts", ".", "base", ";", "index", "=", "parts", ".", "index", ";", "disp", "=", "parts", ".", "disp", ";", "if", "(", "base", "&&", "SUBREG_P", "(", "base", ")", ")", "base", "=", "SUBREG_REG", "(", "base", ")", ";", "if", "(", "index", "&&", "SUBREG_P", "(", "index", ")", ")", "index", "=", "SUBREG_REG", "(", "index", ")", ";", "gcc_assert", "(", "base", "==", "NULL_RTX", "||", "REG_P", "(", "base", ")", ")", ";", "gcc_assert", "(", "index", "==", "NULL_RTX", "||", "REG_P", "(", "index", ")", ")", ";", "if", "(", "base", "&&", "!", "index", "&&", "!", "disp", ")", "{", "if", "(", "base", "==", "arg_pointer_rtx", "||", "base", "==", "frame_pointer_rtx", "||", "REGNO", "(", "base", ")", "==", "SP_REG", "||", "REGNO", "(", "base", ")", "==", "BP_REG", "||", "REGNO", "(", "base", ")", "==", "R12_REG", "||", "REGNO", "(", "base", ")", "==", "R13_REG", ")", "len", "++", ";", "}", "else", "if", "(", "disp", "&&", "!", "base", "&&", "!", "index", ")", "{", "len", "+=", "4", ";", "if", "(", "rip_relative_addr_p", "(", "&", "parts", ")", ")", "len", "++", ";", "}", "else", "{", "if", "(", "disp", ")", "{", "if", "(", "base", "&&", "satisfies_constraint_K", "(", "disp", ")", ")", "len", "+=", "1", ";", "else", "len", "+=", "4", ";", "}", "else", "if", "(", "base", "&&", "(", "REGNO", "(", "base", ")", "==", "BP_REG", "||", "REGNO", "(", "base", ")", "==", "R13_REG", ")", ")", "len", "++", ";", "if", "(", "index", "||", "base", "==", "arg_pointer_rtx", "||", "base", "==", "frame_pointer_rtx", "||", "(", "base", "&&", "(", "REGNO", "(", "base", ")", "==", "SP_REG", "||", "REGNO", "(", "base", ")", "==", "R12_REG", ")", ")", ")", "len", "++", ";", "}", "return", "len", ";", "}", ""], "natrual_language": ["Calculate", "the", "length", "of", "the", "memory", "address", "in", "the", "instruction", "encoding", ".", "Does", "not", "include", "the", "one-byte", "modrm", ",", "opcode", ",", "or", "prefix", "."], "TS_V_token": ["i386", "0", "0", "1", "4", "1", "4"], "File": "i3865", "Func": "memory_address_length", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12197, "Length": 383, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_cannot_force_const_mem", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ")", "{", "rtx", "base", ",", "offset", ";", "if", "(", "ARM_OFFSETS_MUST_BE_WITHIN_SECTIONS_P", ")", "{", "split_const", "(", "x", ",", "&", "base", ",", "&", "offset", ")", ";", "if", "(", "GET_CODE", "(", "base", ")", "==", "SYMBOL_REF", "&&", "!", "offset_within_block_p", "(", "base", ",", "INTVAL", "(", "offset", ")", ")", ")", "return", "true", ";", "}", "return", "arm_tls_referenced_p", "(", "x", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CANNOT_FORCE_CONST_MEM", "."], "TS_V_token": ["arm"], "File": "arm4", "Func": "arm_cannot_force_const_mem", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12198, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAsmPrinter", "::", "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", "'y'", ":", "{", "O", "<<", "\"0, \"", ";", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "}", "case", "'U'", ":", "case", "'X'", ":", "{", "assert", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isReg", "(", ")", ")", ";", "return", "false", ";", "}", "}", "}", "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", "1", "0", "0", "\"0, \"", "\"0(\"", "\")\""], "File": "PPCAsmPrinter112", "Func": "PrintAsmMemoryOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12199, "Length": 141, "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", ")", ")", "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", ",", "&", "global_options_set", ",", "TREE_TARGET_OPTION", "(", "pop_target", ")", ")", ";", "}", "target_option_current_node", "=", "build_target_option_node", "(", "&", "global_options", ",", "&", "global_options_set", ")", ";", "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", ";", "cpp_force_token_locations", "(", "parse_in", ",", "BUILTINS_LOCATION", ")", ";", "aarch64_update_cpp_builtins", "(", "parse_in", ")", ";", "cpp_stop_forcing_token_locations", "(", "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", "0"], "File": "aarch64-c", "Func": "aarch64_pragma_target_parse", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12200, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "addPreEmitPass", "(", ")", "{", "bool", "ShouldPrint", "=", "false", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "getX86Subtarget", "(", ")", ".", "hasSSE2", "(", ")", ")", "{", "PM", ".", "add", "(", "createExecutionDependencyFixPass", "(", "&", "X86", "::", "VR128RegClass", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "if", "(", "getX86Subtarget", "(", ")", ".", "hasAVX", "(", ")", "&&", "UseVZeroUpper", ")", "{", "PM", ".", "add", "(", "createX86IssueVZeroUpperPass", "(", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "return", "ShouldPrint", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["X86", "X86", "X86", "X86::VR128RegClass", "X86", "X86"], "File": "X86TargetMachine43", "Func": "addPreEmitPass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12201, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_expand_sve_const_vector", "(", "rtx", "dest", ",", "rtx", "src", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "src", ")", ";", "unsigned", "int", "npatterns", "=", "CONST_VECTOR_NPATTERNS", "(", "src", ")", ";", "unsigned", "int", "nelts_per_pattern", "=", "CONST_VECTOR_NELTS_PER_PATTERN", "(", "src", ")", ";", "gcc_assert", "(", "npatterns", ">", "1", ")", ";", "if", "(", "nelts_per_pattern", "==", "1", ")", "{", "scalar_int_mode", "int_mode", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "int_mode", "=", "TImode", ";", "else", "{", "unsigned", "int", "int_bits", "=", "GET_MODE_UNIT_BITSIZE", "(", "mode", ")", "*", "npatterns", ";", "gcc_assert", "(", "int_bits", "<=", "128", ")", ";", "int_mode", "=", "int_mode_for_size", "(", "int_bits", ",", "0", ")", ".", "require", "(", ")", ";", "}", "rtx", "int_value", "=", "simplify_gen_subreg", "(", "int_mode", ",", "src", ",", "mode", ",", "0", ")", ";", "if", "(", "int_value", "&&", "aarch64_expand_sve_widened_duplicate", "(", "dest", ",", "int_mode", ",", "int_value", ")", ")", "return", ";", "}", "rtx_vector_builder", "builder", ";", "auto_vec", "<", "rtx", ",", "16", ">", "vectors", "(", "npatterns", ")", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "npatterns", ";", "++", "i", ")", "{", "builder", ".", "new_vector", "(", "mode", ",", "1", ",", "nelts_per_pattern", ")", ";", "for", "(", "unsigned", "int", "j", "=", "0", ";", "j", "<", "nelts_per_pattern", ";", "++", "j", ")", "builder", ".", "quick_push", "(", "CONST_VECTOR_ELT", "(", "src", ",", "i", "+", "j", "*", "npatterns", ")", ")", ";", "vectors", ".", "quick_push", "(", "force_reg", "(", "mode", ",", "builder", ".", "build", "(", ")", ")", ")", ";", "}", "while", "(", "npatterns", ">", "1", ")", "{", "npatterns", "/=", "2", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "npatterns", ";", "++", "i", ")", "{", "rtx", "tmp", "=", "(", "npatterns", "==", "1", "?", "dest", ":", "gen_reg_rtx", "(", "mode", ")", ")", ";", "rtvec", "v", "=", "gen_rtvec", "(", "2", ",", "vectors", "[", "i", "]", ",", "vectors", "[", "i", "+", "npatterns", "]", ")", ";", "emit_set_insn", "(", "tmp", ",", "gen_rtx_UNSPEC", "(", "mode", ",", "v", ",", "UNSPEC_ZIP1", ")", ")", ";", "vectors", "[", "i", "]", "=", "tmp", ";", "}", "}", "gcc_assert", "(", "vectors", "[", "0", "]", "==", "dest", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "move", "of", "general", "CONST_VECTOR", "SRC", "into", "DEST", ",", "given", "that", "it", "is", "n't", "a", "simple", "duplicate", "or", "series", "."], "TS_V_token": ["aarch64", "1", "1", "128", "0", "0", "16", "0", "1", "0", "1", "2", "0", "1", "2", "0"], "File": "aarch645", "Func": "aarch64_expand_sve_const_vector", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12202, "Length": 312, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Mips Emit GP Restore\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"Mips Emit GP Restore\""], "File": "MipsEmitGPRestore", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12203, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "union_defs", "(", "swap_web_entry", "*", "insn_entry", ",", "rtx", "insn", ",", "df_ref", "use", ")", "{", "struct", "df_link", "*", "link", "=", "DF_REF_CHAIN", "(", "use", ")", ";", "if", "(", "!", "link", ")", "insn_entry", "[", "INSN_UID", "(", "insn", ")", "]", ".", "is_live_in", "=", "1", ";", "while", "(", "link", ")", "{", "if", "(", "DF_REF_IS_ARTIFICIAL", "(", "link", "->", "ref", ")", ")", "insn_entry", "[", "INSN_UID", "(", "insn", ")", "]", ".", "is_live_in", "=", "1", ";", "if", "(", "DF_REF_INSN_INFO", "(", "link", "->", "ref", ")", ")", "{", "rtx", "def_insn", "=", "DF_REF_INSN", "(", "link", "->", "ref", ")", ";", "(", "void", ")", "unionfind_union", "(", "insn_entry", "+", "INSN_UID", "(", "insn", ")", ",", "insn_entry", "+", "INSN_UID", "(", "def_insn", ")", ")", ";", "}", "link", "=", "link", "->", "next", ";", "}", "}", ""], "natrual_language": ["Union", "INSN", "with", "all", "insns", "containing", "definitions", "that", "reach", "USE", ".", "Detect", "whether", "USE", "is", "live-in", "to", "the", "current", "function", "."], "TS_V_token": ["rs6000", "1", "1"], "File": "rs6000-p8swap", "Func": "union_defs", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12204, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "i960_initialize", "(", ")", "{", "if", "(", "TARGET_IC_COMPAT2_0", ")", "{", "i960_maxbitalignment", "=", "8", ";", "i960_last_maxbitalignment", "=", "128", ";", "}", "else", "{", "i960_maxbitalignment", "=", "128", ";", "i960_last_maxbitalignment", "=", "8", ";", "}", "}", ""], "natrual_language": ["Initialize", "variables", "before", "compiling", "any", "files", "."], "TS_V_token": ["i960", "8", "128", "128", "8"], "File": "i960", "Func": "i960_initialize", "Target": "i960", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12205, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isAddImmediate", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "*", "&", "Destination", ",", "const", "MachineOperand", "*", "&", "Source", ",", "int64_t", "&", "Offset", ")", "const", "{", "int", "Sign", "=", "1", ";", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "Opcode", "==", "ARM", "::", "SUBri", ")", "Sign", "=", "-", "1", ";", "else", "if", "(", "Opcode", "!=", "ARM", "::", "ADDri", ")", "return", "false", ";", "if", "(", "!", "MI", ".", "getOperand", "(", "0", ")", ".", "isReg", "(", ")", "||", "!", "MI", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "||", "!", "MI", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", ")", "return", "false", ";", "Destination", "=", "&", "MI", ".", "getOperand", "(", "0", ")", ";", "Source", "=", "&", "MI", ".", "getOperand", "(", "1", ")", ";", "Offset", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "*", "Sign", ";", "return", "true", ";", "}", ""], "natrual_language": ["If", "the", "specific", "machine", "instruction", "is", "an", "instruction", "that", "adds", "an", "immediate", "value", "and", "a", "register", ",", "and", "stores", "the", "result", "in", "the", "given", "register", "Reg", ",", "return", "a", "pair", "of", "the", "source", "register", "and", "the", "offset", "which", "has", "been", "added", "."], "TS_V_token": ["ARM", "ARM", "1", "ARM::SUBri", "1", "ARM::ADDri", "0", "1", "2", "0", "1", "2"], "File": "ARMBaseInstrInfo25", "Func": "isAddImmediate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12206, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_cannot_copy_insn_p", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "recog_memoized", "(", "insn", ")", "==", "CODE_FOR_tlscall", ")", "return", "true", ";", "subrtx_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX", "(", "iter", ",", "array", ",", "PATTERN", "(", "insn", ")", ",", "ALL", ")", "{", "const_rtx", "x", "=", "*", "iter", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", "&&", "(", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_PIC_BASE", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_PIC_UNIFIED", ")", ")", "return", "true", ";", "}", "rtx", "set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "set", ")", "{", "rtx", "src", "=", "SET_SRC", "(", "set", ")", ";", "if", "(", "GET_CODE", "(", "src", ")", "==", "ZERO_EXTEND", ")", "src", "=", "XEXP", "(", "src", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "src", ")", "==", "UNSPEC_VOLATILE", "&&", "(", "XINT", "(", "src", ",", "1", ")", "==", "VUNSPEC_LL", "||", "XINT", "(", "src", ",", "1", ")", "==", "VUNSPEC_LAX", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Must", "not", "copy", "any", "rtx", "that", "uses", "a", "pc-relative", "address", "."], "TS_V_token": ["arm", "1", "1", "0", "1", "1"], "File": "arm", "Func": "arm_cannot_copy_insn_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12207, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "getReg", "(", "const", "void", "*", "D", ",", "unsigned", "RC", ",", "unsigned", "RegNo", ")", "{", "const", "MipsDisassembler", "*", "Dis", "=", "static_cast", "<", "const", "MipsDisassembler", "*", ">", "(", "D", ")", ";", "const", "MCRegisterInfo", "*", "RegInfo", "=", "Dis", "->", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "return", "*", "(", "RegInfo", "->", "getRegClass", "(", "RC", ")", ".", "begin", "(", ")", "+", "RegNo", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsDisassembler", "Func": "getReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12208, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "override", "{", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "switch", "(", "(", "unsigned", ")", "Kind", ")", "{", "case", "CAHP", "::", "fixup_cahp_hi6", ":", "{", "const", "static", "MCFixupKindInfo", "info", "{", "\"fixup_cahp_hi6\"", ",", "0", ",", "16", ",", "0", "}", ";", "return", "info", ";", "}", "case", "CAHP", "::", "fixup_cahp_lo10", ":", "{", "const", "static", "MCFixupKindInfo", "info", "{", "\"fixup_cahp_lo10\"", ",", "0", ",", "24", ",", "0", "}", ";", "return", "info", ";", "}", "case", "CAHP", "::", "fixup_cahp_pcrel_10", ":", "{", "const", "static", "MCFixupKindInfo", "info", "{", "\"fixup_cahp_pcrel_10\"", ",", "0", ",", "24", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ";", "return", "info", ";", "}", "case", "CAHP", "::", "fixup_cahp_pcrel_11", ":", "{", "const", "static", "MCFixupKindInfo", "info", "{", "\"fixup_cahp_pcrel_11\"", ",", "5", ",", "11", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ";", "return", "info", ";", "}", "default", ":", "llvm_unreachable", "(", "\"Invalid kind!\"", ")", ";", "}", "}", ""], "natrual_language": ["Get", "information", "on", "a", "fixup", "kind", "."], "TS_V_token": ["CAHP", "CAHP::fixup_cahp_hi6", "\"fixup_cahp_hi6\"", "0", "16", "0", "CAHP::fixup_cahp_lo10", "\"fixup_cahp_lo10\"", "0", "24", "0", "CAHP::fixup_cahp_pcrel_10", "\"fixup_cahp_pcrel_10\"", "0", "24", "CAHP::fixup_cahp_pcrel_11", "\"fixup_cahp_pcrel_11\"", "5", "11", "\"Invalid kind!\""], "File": "CAHPAsmBackend", "Func": "getFixupKindInfo", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12209, "Length": 142, "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": 12210, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_output_addr_const_extra", "(", "FILE", "*", "file", ",", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", ")", "switch", "(", "XINT", "(", "x", ",", "1", ")", ")", "{", "case", "UNSPEC_TOCREL", ":", "gcc_checking_assert", "(", "GET_CODE", "(", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", "==", "SYMBOL_REF", "&&", "REG_P", "(", "XVECEXP", "(", "x", ",", "0", ",", "1", ")", ")", "&&", "REGNO", "(", "XVECEXP", "(", "x", ",", "0", ",", "1", ")", ")", "==", "TOC_REGISTER", ")", ";", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "if", "(", "x", "==", "tocrel_base", "&&", "tocrel_offset", "!=", "const0_rtx", ")", "{", "if", "(", "INTVAL", "(", "tocrel_offset", ")", ">=", "0", ")", "fprintf", "(", "file", ",", "\"+\"", ")", ";", "output_addr_const", "(", "file", ",", "CONST_CAST_RTX", "(", "tocrel_offset", ")", ")", ";", "}", "if", "(", "!", "TARGET_AIX", "||", "(", "TARGET_ELF", "&&", "TARGET_MINIMAL_TOC", ")", ")", "{", "putc", "(", "'-'", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "toc_label_name", ")", ";", "need_toc_init", "=", "1", ";", "}", "else", "if", "(", "TARGET_ELF", ")", "fputs", "(", "\"@toc\"", ",", "file", ")", ";", "return", "true", ";", "case", "UNSPEC_MACHOPIC_OFFSET", ":", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "putc", "(", "'-'", ",", "file", ")", ";", "machopic_output_function_base_name", "(", "file", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA", "."], "TS_V_token": ["powerpcspe", "1", "0", "0", "0", "1", "0", "1", "0", "0", "0", "\"+\"", "1", "\"@toc\"", "0", "0"], "File": "powerpcspe", "Func": "rs6000_output_addr_const_extra", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12211, "Length": 212, "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": 12212, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "MachineLoopInfo", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["ARM"], "File": "ARMBlockPlacement (2)", "Func": "getAnalysisUsage", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12213, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "canMergeStoresTo", "(", "unsigned", "AddressSpace", ",", "EVT", "MemVT", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "bool", "NoFloat", "=", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ";", "if", "(", "NoFloat", ")", "{", "unsigned", "MaxIntSize", "=", "Subtarget", ".", "is64Bit", "(", ")", "?", "64", ":", "32", ";", "return", "(", "MemVT", ".", "getSizeInBits", "(", ")", "<=", "MaxIntSize", ")", ";", "}", "if", "(", "MemVT", ".", "getSizeInBits", "(", ")", ">", "Subtarget", ".", "getPreferVectorWidth", "(", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "if", "it", "'s", "reasonable", "to", "merge", "stores", "to", "MemVT", "size", "."], "TS_V_token": ["X86", "X86", "64", "32"], "File": "X86ISelLowering (2)5", "Func": "canMergeStoresTo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12214, "Length": 85, "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", "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", "(", "FI", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "if", "(", "RC", "==", "&", "SP", "::", "I64RegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STXri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "IntRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "FPRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STFri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "SP", "::", "DFPRegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STDFri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "SP", "::", "QFPRegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STQFri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "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": ["Sparc", "Sparc", "SP::I64RegsRegClass", "SP::STXri", "0", "SP::IntRegsRegClass", "SP::STri", "0", "SP::FPRegsRegClass", "SP::STFri", "0", "SP::DFPRegsRegClass", "SP::STDFri", "0", "SP::QFPRegsRegClass", "SP::STQFri", "0", "\"Can't store this register to stack slot\""], "File": "SparcInstrInfo", "Func": "storeRegToStackSlot", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12215, "Length": 377, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rx_get_stack_layout", "(", "unsigned", "int", "*", "lowest", ",", "unsigned", "int", "*", "highest", ",", "unsigned", "int", "*", "register_mask", ",", "unsigned", "int", "*", "frame_size", ",", "unsigned", "int", "*", "stack_size", ")", "{", "unsigned", "int", "reg", ";", "unsigned", "int", "low", ";", "unsigned", "int", "high", ";", "unsigned", "int", "fixed_reg", "=", "0", ";", "unsigned", "int", "save_mask", ";", "unsigned", "int", "pushed_mask", ";", "unsigned", "int", "unneeded_pushes", ";", "if", "(", "is_naked_func", "(", "NULL_TREE", ")", ")", "{", "*", "lowest", "=", "0", ";", "*", "highest", "=", "0", ";", "*", "register_mask", "=", "0", ";", "*", "frame_size", "=", "0", ";", "*", "stack_size", "=", "0", ";", "return", ";", "}", "for", "(", "save_mask", "=", "high", "=", "low", "=", "0", ",", "reg", "=", "1", ";", "reg", "<", "CC_REGNUM", ";", "reg", "++", ")", "{", "if", "(", "(", "df_regs_ever_live_p", "(", "reg", ")", "||", "(", "call_used_regs", "[", "reg", "]", "&&", "is_interrupt_func", "(", "NULL_TREE", ")", "&&", "!", "crtl", "->", "is_leaf", ")", ")", "&&", "(", "!", "call_used_regs", "[", "reg", "]", "||", "is_interrupt_func", "(", "NULL_TREE", ")", "||", "(", "is_fast_interrupt_func", "(", "NULL_TREE", ")", "&&", "!", "IN_RANGE", "(", "reg", ",", "10", ",", "13", ")", ")", ")", ")", "{", "if", "(", "low", "==", "0", ")", "low", "=", "reg", ";", "high", "=", "reg", ";", "save_mask", "|=", "1", "<<", "reg", ";", "}", "if", "(", "low", "!=", "0", "&&", "fixed_reg", "==", "0", "&&", "fixed_regs", "[", "reg", "]", ")", "fixed_reg", "=", "reg", ";", "}", "if", "(", "MUST_SAVE_ACC_REGISTER", "&&", "bit_count", "(", "save_mask", ")", "<", "2", ")", "{", "save_mask", "|=", "(", "1", "<<", "13", ")", "|", "(", "1", "<<", "14", ")", ";", "if", "(", "low", "==", "0", ")", "low", "=", "13", ";", "if", "(", "high", "==", "0", "||", "low", "==", "high", ")", "high", "=", "low", "+", "1", ";", "}", "pushed_mask", "=", "(", "-", "1", "<<", "low", ")", "&", "~", "(", "-", "1", "<<", "(", "high", "+", "1", ")", ")", ";", "unneeded_pushes", "=", "(", "pushed_mask", "&", "(", "~", "save_mask", ")", ")", "&", "pushed_mask", ";", "if", "(", "(", "fixed_reg", "&&", "fixed_reg", "<=", "high", ")", "||", "(", "optimize_function_for_speed_p", "(", "cfun", ")", "&&", "bit_count", "(", "save_mask", ")", "<", "bit_count", "(", "unneeded_pushes", ")", ")", ")", "{", "*", "lowest", "=", "0", ";", "*", "highest", "=", "0", ";", "*", "register_mask", "=", "save_mask", ";", "}", "else", "{", "*", "lowest", "=", "low", ";", "*", "highest", "=", "high", ";", "*", "register_mask", "=", "0", ";", "}", "*", "frame_size", "=", "rx_round_up", "(", "get_frame_size", "(", ")", ",", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ")", ";", "if", "(", "crtl", "->", "args", ".", "size", ">", "0", ")", "*", "frame_size", "+=", "rx_round_up", "(", "crtl", "->", "args", ".", "size", ",", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ")", ";", "*", "stack_size", "=", "rx_round_up", "(", "crtl", "->", "outgoing_args_size", ",", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ")", ";", "}", ""], "natrual_language": ["Returns", "either", "the", "lowest", "numbered", "and", "highest", "numbered", "registers", "that", "occupy", "the", "call-saved", "area", "of", "the", "stack", "frame", ",", "if", "the", "registers", "are", "stored", "as", "a", "contiguous", "block", ",", "or", "else", "a", "bitmask", "of", "the", "individual", "registers", "if", "they", "are", "stored", "piecemeal", ".", "Also", "computes", "the", "size", "of", "the", "frame", "and", "the", "size", "of", "the", "outgoing", "arguments", "block", "(", "in", "bytes", ")", "."], "TS_V_token": ["rx", "0", "0", "0", "0", "0", "0", "0", "1", "10", "13", "0", "1", "0", "0", "2", "1", "13", "1", "14", "0", "13", "0", "1", "1", "1", "1", "0", "0", "0", "0"], "File": "rx2", "Func": "rx_get_stack_layout", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12216, "Length": 420, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "MipsAbiFlags", "::", "size", "(", ")", "{", "return", "sizeof", "(", "ElfMipsAbiFlags", ")", ";", "}", ""], "natrual_language": ["The", "number", "of", "name/type", "pairs", "is", "returned", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsAbiFlags", "Func": "size", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12217, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SparcRegisterInfo", "::", "getRARegister", "(", ")", "const", "{", "assert", "(", "0", "&&", "\"What is the return address register\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["This", "method", "should", "return", "the", "register", "where", "the", "return", "address", "can", "be", "found", "."], "TS_V_token": ["Sparc", "Sparc", "0", "\"What is the return address register\"", "0"], "File": "SparcRegisterInfo28", "Func": "getRARegister", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12218, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "lowerInterleavedLoad", "(", "LoadInst", "*", "LI", ",", "ArrayRef", "<", "ShuffleVectorInst", "*", ">", "Shuffles", ",", "ArrayRef", "<", "unsigned", ">", "Indices", ",", "unsigned", "Factor", ")", "const", "{", "assert", "(", "Factor", ">=", "2", "&&", "Factor", "<=", "getMaxSupportedInterleaveFactor", "(", ")", "&&", "\"Invalid interleave factor\"", ")", ";", "assert", "(", "!", "Shuffles", ".", "empty", "(", ")", "&&", "\"Empty shufflevector input\"", ")", ";", "assert", "(", "Shuffles", ".", "size", "(", ")", "==", "Indices", ".", "size", "(", ")", "&&", "\"Unmatched number of shufflevectors and indices\"", ")", ";", "const", "DataLayout", "&", "DL", "=", "LI", "->", "getModule", "(", ")", "->", "getDataLayout", "(", ")", ";", "VectorType", "*", "VecTy", "=", "Shuffles", "[", "0", "]", "->", "getType", "(", ")", ";", "unsigned", "VecSize", "=", "DL", ".", "getTypeAllocSizeInBits", "(", "VecTy", ")", ";", "if", "(", "VecSize", "!=", "64", "&&", "VecSize", "!=", "128", ")", "return", "false", ";", "Type", "*", "EltTy", "=", "VecTy", "->", "getVectorElementType", "(", ")", ";", "if", "(", "EltTy", "->", "isPointerTy", "(", ")", ")", "VecTy", "=", "VectorType", "::", "get", "(", "DL", ".", "getIntPtrType", "(", "EltTy", ")", ",", "VecTy", "->", "getVectorNumElements", "(", ")", ")", ";", "Type", "*", "PtrTy", "=", "VecTy", "->", "getPointerTo", "(", "LI", "->", "getPointerAddressSpace", "(", ")", ")", ";", "Type", "*", "Tys", "[", "2", "]", "=", "{", "VecTy", ",", "PtrTy", "}", ";", "static", "const", "Intrinsic", "::", "ID", "LoadInts", "[", "3", "]", "=", "{", "Intrinsic", "::", "aarch64_neon_ld2", ",", "Intrinsic", "::", "aarch64_neon_ld3", ",", "Intrinsic", "::", "aarch64_neon_ld4", "}", ";", "Function", "*", "LdNFunc", "=", "Intrinsic", "::", "getDeclaration", "(", "LI", "->", "getModule", "(", ")", ",", "LoadInts", "[", "Factor", "-", "2", "]", ",", "Tys", ")", ";", "IRBuilder", "<", ">", "Builder", "(", "LI", ")", ";", "Value", "*", "Ptr", "=", "Builder", ".", "CreateBitCast", "(", "LI", "->", "getPointerOperand", "(", ")", ",", "PtrTy", ")", ";", "CallInst", "*", "LdN", "=", "Builder", ".", "CreateCall", "(", "LdNFunc", ",", "Ptr", ",", "\"ldN\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Shuffles", ".", "size", "(", ")", ";", "i", "++", ")", "{", "ShuffleVectorInst", "*", "SVI", "=", "Shuffles", "[", "i", "]", ";", "unsigned", "Index", "=", "Indices", "[", "i", "]", ";", "Value", "*", "SubVec", "=", "Builder", ".", "CreateExtractValue", "(", "LdN", ",", "Index", ")", ";", "if", "(", "EltTy", "->", "isPointerTy", "(", ")", ")", "SubVec", "=", "Builder", ".", "CreateIntToPtr", "(", "SubVec", ",", "SVI", "->", "getType", "(", ")", ")", ";", "SVI", "->", "replaceAllUsesWith", "(", "SubVec", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Lower", "interleaved", "load", "(", "s", ")", "into", "target", "specific", "instructions/intrinsics", "."], "TS_V_token": ["AArch64", "AArch64", "2", "\"Invalid interleave factor\"", "\"Empty shufflevector input\"", "\"Unmatched number of shufflevectors and indices\"", "0", "64", "128", "2", "Intrinsic::ID", "3", "Intrinsic::aarch64_neon_ld2", "Intrinsic::aarch64_neon_ld3", "Intrinsic::aarch64_neon_ld4", "Intrinsic::getDeclaration", "2", "\"ldN\"", "0"], "File": "AArch64ISelLowering118", "Func": "lowerInterleavedLoad", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12219, "Length": 360, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_restore_reg_using_pop", "(", "rtx", "reg", ")", "{", "struct", "machine_function", "*", "m", "=", "cfun", "->", "machine", ";", "rtx", "insn", "=", "emit_insn", "(", "gen_pop", "(", "reg", ")", ")", ";", "ix86_add_cfa_restore_note", "(", "insn", ",", "reg", ",", "m", "->", "fs", ".", "sp_offset", ")", ";", "m", "->", "fs", ".", "sp_offset", "-=", "UNITS_PER_WORD", ";", "if", "(", "m", "->", "fs", ".", "cfa_reg", "==", "crtl", "->", "drap_reg", "&&", "REGNO", "(", "reg", ")", "==", "REGNO", "(", "crtl", "->", "drap_reg", ")", ")", "{", "add_reg_note", "(", "insn", ",", "REG_CFA_DEF_CFA", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "m", "->", "fs", ".", "drap_valid", "=", "true", ";", "return", ";", "}", "if", "(", "m", "->", "fs", ".", "cfa_reg", "==", "stack_pointer_rtx", ")", "{", "rtx", "x", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "UNITS_PER_WORD", ")", ";", "x", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "stack_pointer_rtx", ",", "x", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_ADJUST_CFA", ",", "x", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "m", "->", "fs", ".", "cfa_offset", "-=", "UNITS_PER_WORD", ";", "}", "if", "(", "reg", "==", "hard_frame_pointer_rtx", ")", "{", "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", "-=", "UNITS_PER_WORD", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_DEF_CFA", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "m", "->", "fs", ".", "cfa_offset", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "}", "}", ""], "natrual_language": ["Emit", "code", "to", "restore", "REG", "using", "a", "POP", "insn", "."], "TS_V_token": ["i386", "1", "1", "1"], "File": "i3864", "Func": "ix86_emit_restore_reg_using_pop", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12220, "Length": 235, "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", "(", ")", ";", "const", "TargetRegisterInfo", "&", "TRI", "=", "*", "MRI", ".", "getTargetRegisterInfo", "(", ")", ";", "const", "TargetRegisterClass", "&", "RC", "=", "*", "MRI", ".", "getRegClass", "(", "DstReg", ")", ";", "assert", "(", "Cond", ".", "size", "(", ")", "==", "1", "&&", "\"Invalid Cond array\"", ")", ";", "unsigned", "Opc", "=", "getCMovFromCond", "(", "(", "X86", "::", "CondCode", ")", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ",", "TRI", ".", "getRegSizeInBits", "(", "RC", ")", "/", "8", ",", "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", "8"], "File": "X86InstrInfo", "Func": "insertSelect", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12221, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_emit_load_store", "(", "rtx", "reg", ",", "rtx", "mem", ",", "enum", "machine_mode", "mode", ",", "int", "offset", ",", "bool", "load_p", ")", "{", "rtx", "new_mem", ";", "new_mem", "=", "adjust_address", "(", "mem", ",", "mode", ",", "offset", ")", ";", "if", "(", "load_p", ")", "emit_move_insn", "(", "reg", ",", "new_mem", ")", ";", "else", "emit_move_insn", "(", "new_mem", ",", "reg", ")", ";", "}", ""], "natrual_language": ["Auxiliary", "static", "function", "definitions", "."], "TS_V_token": ["nds32"], "File": "nds32-memory-manipulation", "Func": "nds32_emit_load_store", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12222, "Length": 55, "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", ")", "{", "bss_section", "(", ")", ";", "fprintf", "(", "stream", ",", "\"\\t.align %u\\n\"", ",", "align", "/", "BITS_PER_UNIT", ")", ";", "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", "\"\\t.align %u\\n\"", "\"object\"", "\"\\t.align %u\\n\"", "\"\\t.block \"", "\"\\n\""], "File": "pa3", "Func": "pa_asm_output_aligned_bss", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12223, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "AArch64TargetLowering", "::", "getScalingFactorCost", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ")", "const", "{", "if", "(", "isLegalAddressingMode", "(", "DL", ",", "AM", ",", "Ty", ",", "AS", ")", ")", "return", "AM", ".", "Scale", "!=", "0", "&&", "AM", ".", "Scale", "!=", "1", ";", "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": ["AArch64", "AArch64", "0", "1", "1"], "File": "AArch64ISelLowering (2)2", "Func": "getScalingFactorCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12224, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCLoopInstrFormPrep", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "LI", "=", "&", "getAnalysis", "<", "LoopInfoWrapperPass", ">", "(", ")", ".", "getLoopInfo", "(", ")", ";", "SE", "=", "&", "getAnalysis", "<", "ScalarEvolutionWrapperPass", ">", "(", ")", ".", "getSE", "(", ")", ";", "auto", "*", "DTWP", "=", "getAnalysisIfAvailable", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "DT", "=", "DTWP", "?", "&", "DTWP", "->", "getDomTree", "(", ")", ":", "nullptr", ";", "PreserveLCSSA", "=", "mustPreserveAnalysisID", "(", "LCSSAID", ")", ";", "ST", "=", "TM", "?", "TM", "->", "getSubtargetImpl", "(", "F", ")", ":", "nullptr", ";", "SuccPrepCount", "=", "0", ";", "bool", "MadeChange", "=", "false", ";", "for", "(", "Loop", "*", "I", ":", "*", "LI", ")", "for", "(", "Loop", "*", "L", ":", "depth_first", "(", "I", ")", ")", "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", "0"], "File": "PPCLoopInstrFormPrep14", "Func": "runOnFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12225, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "CSKYAsmBackend", "::", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "static", "llvm", "::", "DenseMap", "<", "unsigned", ",", "MCFixupKindInfo", ">", "Infos", "=", "{", "{", "CSKY", "::", "Fixups", "::", "fixup_csky_addr32", ",", "{", "\"fixup_csky_addr32\"", ",", "0", ",", "32", ",", "0", "}", "}", ",", "{", "CSKY", "::", "Fixups", "::", "fixup_csky_pcrel_imm16_scale2", ",", "{", "\"fixup_csky_pcrel_imm16_scale2\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", "}", ",", "{", "CSKY", "::", "Fixups", "::", "fixup_csky_pcrel_uimm16_scale4", ",", "{", "\"fixup_csky_pcrel_uimm16_scale4\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", "}", ",", "{", "CSKY", "::", "Fixups", "::", "fixup_csky_pcrel_imm26_scale2", ",", "{", "\"fixup_csky_pcrel_imm26_scale2\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", "}", ",", "{", "CSKY", "::", "Fixups", "::", "fixup_csky_pcrel_imm18_scale2", ",", "{", "\"fixup_csky_pcrel_imm18_scale2\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", "}", "}", ";", "assert", "(", "Infos", ".", "size", "(", ")", "==", "CSKY", "::", "NumTargetFixupKinds", "&&", "\"Not all fixup kinds added to Infos array\"", ")", ";", "assert", "(", "unsigned", "(", "Kind", "-", "FirstTargetFixupKind", ")", "<", "getNumFixupKinds", "(", ")", "&&", "\"Invalid kind!\"", ")", ";", "if", "(", "FirstTargetFixupKind", "<=", "Kind", "&&", "Kind", "<", "FirstLiteralRelocationKind", ")", "return", "Infos", "[", "Kind", "]", ";", "else", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "else", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "FK_NONE", ")", ";", "}", ""], "natrual_language": ["Get", "information", "on", "a", "fixup", "kind", "."], "TS_V_token": ["CSKY", "CSKY", "CSKY::Fixups", "\"fixup_csky_addr32\"", "0", "32", "0", "CSKY::Fixups", "\"fixup_csky_pcrel_imm16_scale2\"", "0", "32", "CSKY::Fixups", "\"fixup_csky_pcrel_uimm16_scale4\"", "0", "32", "CSKY::Fixups", "\"fixup_csky_pcrel_imm26_scale2\"", "0", "32", "CSKY::Fixups", "\"fixup_csky_pcrel_imm18_scale2\"", "0", "32", "CSKY::NumTargetFixupKinds", "\"Not all fixup kinds added to Infos array\"", "\"Invalid kind!\""], "File": "CSKYAsmBackend3", "Func": "getFixupKindInfo", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12226, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "winnt_d_os_builtins", "(", "void", ")", "{", "d_add_builtin_version", "(", "\"Windows\"", ")", ";", "EXTRA_TARGET_D_OS_VERSIONS", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_D_OS_VERSIONS", "for", "Windows", "targets", "."], "TS_V_token": ["i386", "\"Windows\""], "File": "winnt-d", "Func": "winnt_d_os_builtins", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12227, "Length": 17, "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", "(", "(", "DisableA15SDOptimization", "||", "!", "getARMSubtarget", "(", ")", ".", "isCortexA15", "(", ")", ")", "&&", "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", "ARM::DPRRegClass", "ARM", "ARM", "ARM"], "File": "ARMTargetMachine100", "Func": "addPreSched2", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12228, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "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": ["ARM", "ARM"], "File": "ARMTargetMachine1", "Func": "addIRTranslator", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12229, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCodeEmitter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "assert", "(", "(", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Default", "||", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Static", ")", "&&", "\"JIT relocation model must be set to static or default!\"", ")", ";", "JTI", "=", "(", "(", "ARMTargetMachine", "&", ")", "MF", ".", "getTarget", "(", ")", ")", ".", "getJITInfo", "(", ")", ";", "II", "=", "(", "(", "ARMTargetMachine", "&", ")", "MF", ".", "getTarget", "(", ")", ")", ".", "getInstrInfo", "(", ")", ";", "TD", "=", "(", "(", "ARMTargetMachine", "&", ")", "MF", ".", "getTarget", "(", ")", ")", ".", "getTargetData", "(", ")", ";", "Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "MCPEs", "=", "&", "MF", ".", "getConstantPool", "(", ")", "->", "getConstants", "(", ")", ";", "MJTEs", "=", "0", ";", "if", "(", "MF", ".", "getJumpTableInfo", "(", ")", ")", "MJTEs", "=", "&", "MF", ".", "getJumpTableInfo", "(", ")", "->", "getJumpTables", "(", ")", ";", "IsPIC", "=", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ";", "JTI", "->", "Initialize", "(", "MF", ",", "IsPIC", ")", ";", "MMI", "=", "&", "getAnalysis", "<", "MachineModuleInfo", ">", "(", ")", ";", "MCE", ".", "setModuleInfo", "(", "MMI", ")", ";", "do", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"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", ")", "emitInstruction", "(", "*", "I", ")", ";", "}", "}", "while", "(", "MCE", ".", "finishFunction", "(", "MF", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "\"JIT relocation model must be set to static or default!\"", "ARM", "ARM", "ARM", "ARM", "0", "\"JITTing function '\"", "\"'\\n\""], "File": "ARMCodeEmitter1", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12230, "Length": 303, "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": 12231, "Length": 342, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZPassConfig", "::", "addPostRewrite", "(", ")", "{", "addPass", "(", "createSystemZPostRewritePass", "(", "getSystemZTargetMachine", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["Add", "passes", "to", "be", "run", "immediately", "after", "virtual", "registers", "are", "rewritten", "to", "physical", "registers", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ"], "File": "SystemZTargetMachine18", "Func": "addPostRewrite", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12232, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "ArrayRef", "<", "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", "(", "const", "CalleeSavedInfo", "&", "I", ":", "llvm", "::", "reverse", "(", "CSI", ")", ")", "{", "unsigned", "Reg", "=", "I", ".", "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", "(", "const", "CalleeSavedInfo", "&", "I", ":", "llvm", "::", "reverse", "(", "CSI", ")", ")", "{", "unsigned", "Reg", "=", "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", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ",", "VT", ")", ";", "TII", ".", "storeRegToStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "true", ",", "I", ".", "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", "X86::GR64RegClass", "X86::GR32RegClass", "X86::GR64RegClass", "X86::GR32RegClass", "MVT::Other", "X86::VK16RegClass", "MVT::v64i1", "MVT::v16i1"], "File": "X86FrameLowering126", "Func": "spillCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12233, "Length": 401, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "vspltis_shifted", "(", "rtx", "op", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "op", ")", ";", "machine_mode", "inner", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "unsigned", "i", ",", "j", ";", "unsigned", "nunits", ";", "unsigned", "mask", ";", "HOST_WIDE_INT", "val", ";", "if", "(", "mode", "!=", "V16QImode", "&&", "mode", "!=", "V8HImode", "&&", "mode", "!=", "V4SImode", ")", "return", "false", ";", "if", "(", "!", "can_create_pseudo_p", "(", ")", ")", "return", "false", ";", "nunits", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "mask", "=", "GET_MODE_MASK", "(", "inner", ")", ";", "val", "=", "const_vector_elt_as_int", "(", "op", ",", "BYTES_BIG_ENDIAN", "?", "0", ":", "nunits", "-", "1", ")", ";", "if", "(", "EASY_VECTOR_15", "(", "val", ")", ")", ";", "else", "if", "(", "EASY_VECTOR_MSB", "(", "val", ",", "inner", ")", ")", ";", "else", "return", "0", ";", "for", "(", "i", "=", "1", ";", "i", "<", "nunits", ";", "++", "i", ")", "{", "unsigned", "elt", "=", "BYTES_BIG_ENDIAN", "?", "i", ":", "nunits", "-", "1", "-", "i", ";", "HOST_WIDE_INT", "elt_val", "=", "const_vector_elt_as_int", "(", "op", ",", "elt", ")", ";", "if", "(", "val", "!=", "elt_val", ")", "{", "if", "(", "elt_val", "==", "0", ")", "{", "for", "(", "j", "=", "i", "+", "1", ";", "j", "<", "nunits", ";", "++", "j", ")", "{", "unsigned", "elt2", "=", "BYTES_BIG_ENDIAN", "?", "j", ":", "nunits", "-", "1", "-", "j", ";", "if", "(", "const_vector_elt_as_int", "(", "op", ",", "elt2", ")", "!=", "0", ")", "return", "0", ";", "}", "return", "(", "nunits", "-", "i", ")", "*", "GET_MODE_SIZE", "(", "inner", ")", ";", "}", "else", "if", "(", "(", "elt_val", "&", "mask", ")", "==", "mask", ")", "{", "for", "(", "j", "=", "i", "+", "1", ";", "j", "<", "nunits", ";", "++", "j", ")", "{", "unsigned", "elt2", "=", "BYTES_BIG_ENDIAN", "?", "j", ":", "nunits", "-", "1", "-", "j", ";", "if", "(", "(", "const_vector_elt_as_int", "(", "op", ",", "elt2", ")", "&", "mask", ")", "!=", "mask", ")", "return", "0", ";", "}", "return", "-", "(", "(", "nunits", "-", "i", ")", "*", "GET_MODE_SIZE", "(", "inner", ")", ")", ";", "}", "else", "return", "0", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["Like", "vsplitis_constant", ",", "but", "allow", "the", "value", "to", "be", "shifted", "left", "with", "a", "VSLDOI", "instruction", ",", "filling", "in", "the", "bottom", "elements", "with", "0", "or", "-1", ".", "Return", "0", "if", "the", "constant", "can", "not", "be", "generated", "with", "VSLDOI", ".", "Return", "positive", "for", "the", "number", "of", "zeroes", "to", "shift", "in", ",", "or", "negative", "for", "the", "number", "of", "0xff", "bytes", "to", "shift", "in", ".", "OP", "is", "a", "CONST_VECTOR", "."], "TS_V_token": ["powerpcspe", "0", "1", "0", "1", "1", "0", "1", "1", "0", "0", "1", "1", "0", "0", "0"], "File": "powerpcspe", "Func": "vspltis_shifted", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12234, "Length": 310, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_register_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "from", ",", "reg_class_t", "to", ")", "{", "int", "ret", ";", "if", "(", "TARGET_DEBUG_COST", ")", "dbg_cost_ctrl", "++", ";", "if", "(", "reg_classes_intersect_p", "(", "to", ",", "GENERAL_REGS", ")", "||", "reg_classes_intersect_p", "(", "from", ",", "GENERAL_REGS", ")", ")", "{", "reg_class_t", "rclass", "=", "from", ";", "if", "(", "!", "reg_classes_intersect_p", "(", "to", ",", "GENERAL_REGS", ")", ")", "rclass", "=", "to", ";", "if", "(", "rclass", "==", "FLOAT_REGS", "||", "rclass", "==", "ALTIVEC_REGS", "||", "rclass", "==", "VSX_REGS", ")", "ret", "=", "(", "rs6000_memory_move_cost", "(", "mode", ",", "rclass", ",", "false", ")", "+", "rs6000_memory_move_cost", "(", "mode", ",", "GENERAL_REGS", ",", "false", ")", ")", ";", "else", "if", "(", "rclass", "==", "CR_REGS", ")", "ret", "=", "4", ";", "else", "if", "(", "(", "rs6000_cpu", "==", "PROCESSOR_POWER6", "||", "rs6000_cpu", "==", "PROCESSOR_POWER7", "||", "rs6000_cpu", "==", "PROCESSOR_POWER8", ")", "&&", "reg_classes_intersect_p", "(", "rclass", ",", "LINK_OR_CTR_REGS", ")", ")", "ret", "=", "6", "*", "hard_regno_nregs", "[", "0", "]", "[", "mode", "]", ";", "else", "ret", "=", "2", "*", "hard_regno_nregs", "[", "0", "]", "[", "mode", "]", ";", "}", "else", "if", "(", "VECTOR_MEM_VSX_P", "(", "mode", ")", "&&", "reg_classes_intersect_p", "(", "to", ",", "VSX_REGS", ")", "&&", "reg_classes_intersect_p", "(", "from", ",", "VSX_REGS", ")", ")", "ret", "=", "2", "*", "hard_regno_nregs", "[", "32", "]", "[", "mode", "]", ";", "else", "if", "(", "reg_classes_intersect_p", "(", "to", ",", "from", ")", ")", "ret", "=", "(", "mode", "==", "TFmode", "||", "mode", "==", "TDmode", ")", "?", "4", ":", "2", ";", "else", "ret", "=", "(", "rs6000_register_move_cost", "(", "mode", ",", "GENERAL_REGS", ",", "to", ")", "+", "rs6000_register_move_cost", "(", "mode", ",", "from", ",", "GENERAL_REGS", ")", ")", ";", "if", "(", "TARGET_DEBUG_COST", ")", "{", "if", "(", "dbg_cost_ctrl", "==", "1", ")", "fprintf", "(", "stderr", ",", "\"rs6000_register_move_cost:, ret=%d, mode=%s, from=%s, to=%s\\n\"", ",", "ret", ",", "GET_MODE_NAME", "(", "mode", ")", ",", "reg_class_names", "[", "from", "]", ",", "reg_class_names", "[", "to", "]", ")", ";", "dbg_cost_ctrl", "--", ";", "}", "return", "ret", ";", "}", ""], "natrual_language": ["A", "C", "expression", "returning", "the", "cost", "of", "moving", "data", "from", "a", "register", "of", "class", "CLASS1", "to", "one", "of", "CLASS2", "."], "TS_V_token": ["rs6000", "4", "6", "0", "2", "0", "2", "32", "4", "2", "1", "\"rs6000_register_move_cost:, ret=%d, mode=%s, from=%s, to=%s\\n\""], "File": "rs60004", "Func": "rs6000_register_move_cost", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12235, "Length": 283, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsSETargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "DCI", ".", "DAG", ";", "SDValue", "Val", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "AND", ":", "Val", "=", "performANDCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "break", ";", "case", "ISD", "::", "OR", ":", "Val", "=", "performORCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "break", ";", "case", "ISD", "::", "MUL", ":", "return", "performMULCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "this", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SHL", ":", "Val", "=", "performSHLCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "break", ";", "case", "ISD", "::", "SRA", ":", "return", "performSRACombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SRL", ":", "return", "performSRLCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "VSELECT", ":", "return", "performVSELECTCombine", "(", "N", ",", "DAG", ")", ";", "case", "ISD", "::", "XOR", ":", "Val", "=", "performXORCombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "break", ";", "case", "ISD", "::", "SETCC", ":", "Val", "=", "performSETCCCombine", "(", "N", ",", "DAG", ")", ";", "break", ";", "}", "if", "(", "Val", ".", "getNode", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\nMipsSE DAG Combine:\\n\"", ";", "N", "->", "printrWithDepth", "(", "dbgs", "(", ")", ",", "&", "DAG", ")", ";", "dbgs", "(", ")", "<<", "\"\\n=> \\n\"", ";", "Val", ".", "getNode", "(", ")", "->", "printrWithDepth", "(", "dbgs", "(", ")", ",", "&", "DAG", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "return", "Val", ";", "}", "return", "MipsTargetLowering", "::", "PerformDAGCombine", "(", "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": ["Mips", "Mips", "ISD::AND", "ISD::OR", "ISD::MUL", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::VSELECT", "ISD::XOR", "ISD::SETCC", "\"\\nMipsSE DAG Combine:\\n\"", "\"\\n=> \\n\"", "\"\\n\"", "Mips"], "File": "MipsSEISelLowering18", "Func": "PerformDAGCombine", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12236, "Length": 269, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "rs6000_force_indexed_or_indirect_mem", "(", "rtx", "x", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "x", ")", ";", "gcc_assert", "(", "MEM_P", "(", "x", ")", ")", ";", "if", "(", "can_create_pseudo_p", "(", ")", "&&", "!", "indexed_or_indirect_operand", "(", "x", ",", "mode", ")", ")", "{", "rtx", "addr", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PRE_INC", "||", "GET_CODE", "(", "addr", ")", "==", "PRE_DEC", ")", "{", "rtx", "reg", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "HOST_WIDE_INT", "size", "=", "GET_MODE_SIZE", "(", "GET_MODE", "(", "x", ")", ")", ";", "rtx", "size_rtx", "=", "GEN_INT", "(", "(", "GET_CODE", "(", "addr", ")", "==", "PRE_DEC", ")", "?", "-", "size", ":", "size", ")", ";", "gcc_assert", "(", "REG_P", "(", "reg", ")", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "reg", ",", "reg", ",", "size_rtx", ")", ")", ";", "addr", "=", "reg", ";", "}", "else", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PRE_MODIFY", ")", "{", "rtx", "reg", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "rtx", "expr", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "gcc_assert", "(", "REG_P", "(", "reg", ")", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "expr", ")", "==", "PLUS", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "reg", ",", "XEXP", "(", "expr", ",", "0", ")", ",", "XEXP", "(", "expr", ",", "1", ")", ")", ")", ";", "addr", "=", "reg", ";", "}", "x", "=", "replace_equiv_address", "(", "x", ",", "force_reg", "(", "Pmode", ",", "addr", ")", ")", ";", "}", "return", "x", ";", "}", ""], "natrual_language": ["Given", "a", "memory", "reference", ",", "if", "it", "is", "not", "a", "reg", "or", "reg+reg", "addressing", ",", "convert", "to", "such", "a", "form", "to", "deal", "with", "memory", "reference", "instructions", "like", "STFIWX", "and", "LDBRX", "that", "only", "take", "reg+reg", "addressing", "."], "TS_V_token": ["rs6000", "0", "0", "0", "1", "0", "1"], "File": "rs60008", "Func": "rs6000_force_indexed_or_indirect_mem", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12237, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "cortexa7_younger", "(", "FILE", "*", "file", ",", "int", "verbose", ",", "rtx_insn", "*", "insn", ")", "{", "if", "(", "recog_memoized", "(", "insn", ")", "<", "0", ")", "{", "if", "(", "verbose", ">", "5", ")", "fprintf", "(", "file", ",", "\";; not cortexa7_younger %d\\n\"", ",", "INSN_UID", "(", "insn", ")", ")", ";", "return", "false", ";", "}", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_ALU_IMM", ":", "case", "TYPE_ALUS_IMM", ":", "case", "TYPE_LOGIC_IMM", ":", "case", "TYPE_LOGICS_IMM", ":", "case", "TYPE_EXTEND", ":", "case", "TYPE_MVN_IMM", ":", "case", "TYPE_MOV_IMM", ":", "case", "TYPE_MOV_REG", ":", "case", "TYPE_MOV_SHIFT", ":", "case", "TYPE_MOV_SHIFT_REG", ":", "case", "TYPE_BRANCH", ":", "case", "TYPE_CALL", ":", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "and", "only", "if", "this", "insn", "can", "dual-issue", "as", "younger", "."], "TS_V_token": ["arm", "0", "5", "\";; not cortexa7_younger %d\\n\""], "File": "arm", "Func": "cortexa7_younger", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12238, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "OutgoingValueHandler", "::", "assignValueToAddress", "(", "unsigned", "ValVReg", ",", "unsigned", "Addr", ",", "uint64_t", "Size", ",", "MachinePointerInfo", "&", "MPO", ")", "{", "MachineMemOperand", "*", "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": ["Mips", "0"], "File": "MipsCallLowering", "Func": "assignValueToAddress", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12239, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "ARMBaseInstrInfo", "::", "optimizeSelect", "(", "MachineInstr", "*", "MI", ",", "bool", "PreferFalse", ")", "const", "{", "assert", "(", "(", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "MOVCCr", "||", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2MOVCCr", ")", "&&", "\"Unknown select instruction\"", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MachineInstr", "*", "DefMI", "=", "canFoldIntoMOVCC", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ",", "MRI", ",", "this", ")", ";", "bool", "Invert", "=", "!", "DefMI", ";", "if", "(", "!", "DefMI", ")", "DefMI", "=", "canFoldIntoMOVCC", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ",", "MRI", ",", "this", ")", ";", "if", "(", "!", "DefMI", ")", "return", "0", ";", "MachineInstrBuilder", "NewMI", "=", "BuildMI", "(", "*", "MI", "->", "getParent", "(", ")", ",", "MI", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "DefMI", "->", "getDesc", "(", ")", ",", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ";", "const", "MCInstrDesc", "&", "DefDesc", "=", "DefMI", "->", "getDesc", "(", ")", ";", "for", "(", "unsigned", "i", "=", "1", ",", "e", "=", "DefDesc", ".", "getNumOperands", "(", ")", ";", "i", "!=", "e", "&&", "!", "DefDesc", ".", "OpInfo", "[", "i", "]", ".", "isPredicate", "(", ")", ";", "++", "i", ")", "NewMI", ".", "addOperand", "(", "DefMI", "->", "getOperand", "(", "i", ")", ")", ";", "unsigned", "CondCode", "=", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "if", "(", "Invert", ")", "NewMI", ".", "addImm", "(", "ARMCC", "::", "getOppositeCondition", "(", "ARMCC", "::", "CondCodes", "(", "CondCode", ")", ")", ")", ";", "else", "NewMI", ".", "addImm", "(", "CondCode", ")", ";", "NewMI", ".", "addOperand", "(", "MI", "->", "getOperand", "(", "4", ")", ")", ";", "if", "(", "NewMI", "->", "hasOptionalDef", "(", ")", ")", "AddDefaultCC", "(", "NewMI", ")", ";", "MachineOperand", "FalseReg", "=", "MI", "->", "getOperand", "(", "Invert", "?", "2", ":", "1", ")", ";", "FalseReg", ".", "setImplicit", "(", ")", ";", "NewMI", ".", "addOperand", "(", "FalseReg", ")", ";", "NewMI", "->", "tieOperands", "(", "0", ",", "NewMI", "->", "getNumOperands", "(", ")", "-", "1", ")", ";", "DefMI", "->", "eraseFromParent", "(", ")", ";", "return", "NewMI", ";", "}", ""], "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": ["ARM", "ARM", "ARM::MOVCCr", "ARM::t2MOVCCr", "\"Unknown select instruction\"", "2", "1", "0", "0", "1", "3", "ARMCC::getOppositeCondition", "ARMCC::CondCodes", "4", "2", "1", "0", "1"], "File": "ARMBaseInstrInfo (2)1", "Func": "optimizeSelect", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12240, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCFrameLowering", "::", "getBasePointerSaveOffset", "(", ")", "const", "{", "if", "(", "Subtarget", ".", "isAIXABI", "(", ")", ")", "report_fatal_error", "(", "\"BasePointer is not implemented on AIX yet.\"", ")", ";", "return", "BasePointerSaveOffset", ";", "}", ""], "natrual_language": ["getBasePointerSaveOffset", "-", "Return", "the", "previous", "frame", "offset", "to", "save", "the", "base", "pointer", "."], "TS_V_token": ["PowerPC", "PPC", "\"BasePointer is not implemented on AIX yet.\""], "File": "PPCFrameLowering3", "Func": "getBasePointerSaveOffset", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12241, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_integer_truncation_p", "(", "stmt_vec_info", "stmt_info", ")", "{", "gassign", "*", "assign", "=", "dyn_cast", "<", "gassign", "*", ">", "(", "stmt_info", "->", "stmt", ")", ";", "if", "(", "!", "assign", "||", "!", "CONVERT_EXPR_CODE_P", "(", "gimple_assign_rhs_code", "(", "assign", ")", ")", ")", "return", "false", ";", "tree", "lhs_type", "=", "TREE_TYPE", "(", "gimple_assign_lhs", "(", "assign", ")", ")", ";", "tree", "rhs_type", "=", "TREE_TYPE", "(", "gimple_assign_rhs1", "(", "assign", ")", ")", ";", "return", "(", "INTEGRAL_TYPE_P", "(", "lhs_type", ")", "&&", "INTEGRAL_TYPE_P", "(", "rhs_type", ")", "&&", "TYPE_PRECISION", "(", "lhs_type", ")", "<", "TYPE_PRECISION", "(", "rhs_type", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "STMT_INFO", "is", "an", "integer", "truncation", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_integer_truncation_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12242, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "X86RegisterInfo", "::", "getLargestLegalSuperClass", "(", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "if", "(", "RC", "==", "&", "X86", "::", "GR8_NOREXRegClass", ")", "return", "RC", ";", "const", "TargetRegisterClass", "*", "Super", "=", "RC", ";", "TargetRegisterClass", "::", "sc_iterator", "I", "=", "RC", "->", "getSuperClasses", "(", ")", ";", "do", "{", "switch", "(", "Super", "->", "getID", "(", ")", ")", "{", "case", "X86", "::", "GR8RegClassID", ":", "case", "X86", "::", "GR16RegClassID", ":", "case", "X86", "::", "GR32RegClassID", ":", "case", "X86", "::", "GR64RegClassID", ":", "case", "X86", "::", "FR32RegClassID", ":", "case", "X86", "::", "FR64RegClassID", ":", "case", "X86", "::", "RFP32RegClassID", ":", "case", "X86", "::", "RFP64RegClassID", ":", "case", "X86", "::", "RFP80RegClassID", ":", "case", "X86", "::", "VR128RegClassID", ":", "case", "X86", "::", "VR256RegClassID", ":", "if", "(", "Super", "->", "getSize", "(", ")", "==", "RC", "->", "getSize", "(", ")", ")", "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": ["X86", "X86", "X86::GR8_NOREXRegClass", "X86::GR8RegClassID", "X86::GR16RegClassID", "X86::GR32RegClassID", "X86::GR64RegClassID", "X86::FR32RegClassID", "X86::FR64RegClassID", "X86::RFP32RegClassID", "X86::RFP64RegClassID", "X86::RFP80RegClassID", "X86::VR128RegClassID", "X86::VR256RegClassID"], "File": "X86RegisterInfo2", "Func": "getLargestLegalSuperClass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12243, "Length": 144, "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": 12244, "Length": 146, "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", ";", "bool", "isLoad", "=", "true", ";", "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", "(", ")", ";", "isLoad", "=", "false", ";", "}", "else", "return", "false", ";", "if", "(", "VT", ".", "isVector", "(", ")", ")", "{", "if", "(", "!", "Subtarget", ".", "hasQPX", "(", ")", "||", "(", "VT", "!=", "MVT", "::", "v4f64", "&&", "VT", "!=", "MVT", "::", "v4f32", ")", ")", "{", "return", "false", ";", "}", "else", "if", "(", "SelectAddressRegRegOnly", "(", "Ptr", ",", "Offset", ",", "Base", ",", "DAG", ")", ")", "{", "AM", "=", "ISD", "::", "PRE_INC", ";", "return", "true", ";", "}", "}", "if", "(", "SelectAddressRegReg", "(", "Ptr", ",", "Base", ",", "Offset", ",", "DAG", ")", ")", "{", "bool", "Swap", "=", "false", ";", "if", "(", "isa", "<", "FrameIndexSDNode", ">", "(", "Base", ")", "||", "isa", "<", "RegisterSDNode", ">", "(", "Base", ")", ")", "Swap", "=", "true", ";", "else", "if", "(", "!", "isLoad", ")", "{", "SDValue", "Val", "=", "cast", "<", "StoreSDNode", ">", "(", "N", ")", "->", "getValue", "(", ")", ";", "if", "(", "Val", "==", "Base", "||", "Base", ".", "getNode", "(", ")", "->", "isPredecessorOf", "(", "Val", ".", "getNode", "(", ")", ")", ")", "Swap", "=", "true", ";", "}", "if", "(", "Swap", ")", "std", "::", "swap", "(", "Base", ",", "Offset", ")", ";", "AM", "=", "ISD", "::", "PRE_INC", ";", "return", "true", ";", "}", "if", "(", "VT", "!=", "MVT", "::", "i64", ")", "{", "if", "(", "!", "SelectAddressRegImm", "(", "Ptr", ",", "Offset", ",", "Base", ",", "DAG", ",", "0", ")", ")", "return", "false", ";", "}", "else", "{", "if", "(", "Alignment", "<", "4", ")", "return", "false", ";", "if", "(", "!", "SelectAddressRegImm", "(", "Ptr", ",", "Offset", ",", "Base", ",", "DAG", ",", "4", ")", ")", "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::v4f64", "MVT::v4f32", "ISD::PRE_INC", "ISD::PRE_INC", "MVT::i64", "0", "4", "4", "0", "MVT::i64", "MVT::i32", "ISD::SEXTLOAD", "ISD::PRE_INC"], "File": "PPCISelLowering", "Func": "getPreIndexedAddressParts", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12245, "Length": 444, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb2InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "RC", "==", "ARM", "::", "GPRRegisterClass", "||", "RC", "==", "ARM", "::", "tGPRRegisterClass", "||", "RC", "==", "ARM", "::", "tcGPRRegisterClass", "||", "RC", "==", "ARM", "::", "rGPRRegisterClass", ")", "{", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "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", ",", "TRI", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM::GPRRegisterClass", "ARM::tGPRRegisterClass", "ARM::tcGPRRegisterClass", "ARM::rGPRRegisterClass", "0", "ARM::t2LDRi12", "0", "ARM"], "File": "Thumb2InstrInfo15", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12246, "Length": 195, "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", ";", "if", "(", "MachineInstr", "*", "FoldMI", "=", "foldMemoryOperand", "(", "MI", ",", "SrcOperandId", ",", "*", "DefMI", ")", ")", "{", "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)1", "Func": "optimizeLoadInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12247, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "CAHPTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "const", "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_CAHP", ")", ";", "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", "(", "CAHPISD", "::", "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": ["CAHP", "CAHP", "ISD::OutputArg", "\"VarArg not supported\"", "16", "CAHP", "4", "1", "0", "\"Can only return in registers!\"", "1", "0", "CAHPISD::RET_FLAG", "MVT::Other"], "File": "CAHPISelLowering", "Func": "LowerReturn", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12248, "Length": 254, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "VEFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "VEMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "VEMachineFunctionInfo", ">", "(", ")", ";", "assert", "(", "&", "MF", ".", "front", "(", ")", "==", "&", "MBB", "&&", "\"Shrink-wrapping not yet supported\"", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "VEInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "const", "VERegisterInfo", "&", "RegInfo", "=", "*", "STI", ".", "getRegisterInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "bool", "NeedsStackRealignment", "=", "RegInfo", ".", "shouldRealignStack", "(", "MF", ")", ";", "DebugLoc", "DL", ";", "if", "(", "NeedsStackRealignment", "&&", "!", "RegInfo", ".", "canRealignStack", "(", "MF", ")", ")", "report_fatal_error", "(", "\"Function \\\"\"", "+", "Twine", "(", "MF", ".", "getName", "(", ")", ")", "+", "\"\\\" required \"", "\"stack re-alignment, but LLVM couldn't handle it \"", "\"(probably because it has a dynamic alloca).\"", ")", ";", "uint64_t", "NumBytes", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "!", "FuncInfo", "->", "isLeafProc", "(", ")", ")", "{", "NumBytes", "=", "STI", ".", "getAdjustedFrameSize", "(", "NumBytes", ")", ";", "}", "NumBytes", "=", "alignTo", "(", "NumBytes", ",", "MFI", ".", "getMaxAlign", "(", ")", ")", ";", "MFI", ".", "setStackSize", "(", "NumBytes", ")", ";", "emitPrologueInsns", "(", "MF", ",", "MBB", ",", "MBBI", ",", "NumBytes", ",", "true", ")", ";", "if", "(", "!", "FuncInfo", "->", "isLeafProc", "(", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "VE", "::", "ORri", ")", ",", "VE", "::", "SX9", ")", ".", "addReg", "(", "VE", "::", "SX11", ")", ".", "addImm", "(", "0", ")", ";", "MaybeAlign", "RuntimeAlign", "=", "NeedsStackRealignment", "?", "MaybeAlign", "(", "MFI", ".", "getMaxAlign", "(", ")", ")", ":", "None", ";", "assert", "(", "(", "RuntimeAlign", "==", "None", "||", "!", "FuncInfo", "->", "isLeafProc", "(", ")", ")", "&&", "\"SP has to be saved in order to align variable sized stack object!\"", ")", ";", "emitSPAdjustment", "(", "MF", ",", "MBB", ",", "MBBI", ",", "-", "(", "int64_t", ")", "NumBytes", ",", "RuntimeAlign", ")", ";", "if", "(", "hasBP", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "VE", "::", "ORri", ")", ",", "VE", "::", "SX17", ")", ".", "addReg", "(", "VE", "::", "SX11", ")", ".", "addImm", "(", "0", ")", ";", "}", "if", "(", "NumBytes", "!=", "0", ")", "emitSPExtend", "(", "MF", ",", "MBB", ",", "MBBI", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["VE", "VE", "VE", "VE", "\"Shrink-wrapping not yet supported\"", "VE", "VE", "\"Function \\\"\"", "\"\\\" required \"", "\"stack re-alignment, but LLVM couldn't handle it \"", "\"(probably because it has a dynamic alloca).\"", "VE::ORri", "VE::SX9", "VE::SX11", "0", "\"SP has to be saved in order to align variable sized stack object!\"", "VE::ORri", "VE::SX17", "VE::SX11", "0", "0"], "File": "VEFrameLowering5", "Func": "emitPrologue", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12249, "Length": 347, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZTargetLowering", "::", "isLegalICmpImmediate", "(", "int64_t", "Imm", ")", "const", "{", "return", "isInt", "<", "32", ">", "(", "Imm", ")", "||", "isUInt", "<", "32", ">", "(", "Imm", ")", ";", "}", ""], "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": ["SystemZ", "SystemZ", "32", "32"], "File": "SystemZISelLowering (2)1", "Func": "isLegalICmpImmediate", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12250, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_sim_wait_insn", "(", "struct", "mips_sim", "*", "state", ",", "rtx_insn", "*", "insn", ")", "{", "mips_sim_wait_regs", "(", "state", ",", "insn", ")", ";", "mips_sim_wait_units", "(", "state", ",", "insn", ")", ";", "}", ""], "natrual_language": ["Advance", "simulation", "state", "STATE", "until", "INSN", "is", "ready", "to", "issue", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_sim_wait_insn", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12251, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "standard_80387_constant_opcode", "(", "rtx", "x", ")", "{", "switch", "(", "standard_80387_constant_p", "(", "x", ")", ")", "{", "case", "1", ":", "return", "\"fldz\"", ";", "case", "2", ":", "return", "\"fld1\"", ";", "case", "3", ":", "return", "\"fldlg2\"", ";", "case", "4", ":", "return", "\"fldln2\"", ";", "case", "5", ":", "return", "\"fldl2e\"", ";", "case", "6", ":", "return", "\"fldl2t\"", ";", "case", "7", ":", "return", "\"fldpi\"", ";", "case", "8", ":", "case", "9", ":", "return", "\"#\"", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "opcode", "of", "the", "special", "instruction", "to", "be", "used", "to", "load", "the", "constant", "X", "."], "TS_V_token": ["i386", "1", "\"fldz\"", "2", "\"fld1\"", "3", "\"fldlg2\"", "4", "\"fldln2\"", "5", "\"fldl2e\"", "6", "\"fldl2t\"", "7", "\"fldpi\"", "8", "9", "\"#\""], "File": "i386", "Func": "standard_80387_constant_opcode", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12252, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "unsigned", "int", "execute", "(", "function", "*", ")", "{", "return", "rest_of_insert_bti", "(", ")", ";", "}", ""], "natrual_language": ["Main", "entry", "point", "for", "this", "pass", "."], "TS_V_token": ["aarch64"], "File": "aarch64-bti-insert", "Func": "execute", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12253, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsELFStreamer", "::", "EmitMipsOptionRecords", "(", ")", "{", "for", "(", "const", "auto", "&", "I", ":", "MipsOptionRecords", ")", "I", "->", "EmitMipsOptionRecord", "(", ")", ";", "}", ""], "natrual_language": ["Emits", "all", "the", "option", "records", "stored", "up", "until", "the", "point", "it", "'s", "called", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsELFStreamer1", "Func": "EmitMipsOptionRecords", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12254, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "loongarch_idiv_insns", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "int", "count", ";", "count", "=", "1", ";", "if", "(", "TARGET_CHECK_ZERO_DIV", ")", "count", "+=", "2", ";", "return", "count", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "needed", "for", "an", "integer", "division", "."], "TS_V_token": ["loongarch", "1", "2"], "File": "loongarch", "Func": "loongarch_idiv_insns", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12255, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "expand", "(", "function_expander", "&", "e", ")", "const", "override", "{", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "2", ";", "++", "i", ")", "e", ".", "args", "[", "i", "]", "=", "e", ".", "convert_to_pmode", "(", "e", ".", "args", "[", "i", "]", ")", ";", "return", "e", ".", "use_exact_insn", "(", "code_for_while", "(", "m_unspec", ",", "Pmode", ",", "e", ".", "gp_mode", "(", "0", ")", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "the", "call", "and", "return", "its", "lhs", "."], "TS_V_token": ["aarch64", "0", "2", "0"], "File": "aarch64-sve-builtins-sve23", "Func": "expand", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12256, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "int", "mov_insn_size", "(", "machine_mode", "mode", ",", "bool", "consider_sh2a", ")", "{", "const", "int", "mode_sz", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "(", "consider_sh2a", "&&", "TARGET_SH2A_DOUBLE", "&&", "mode", "==", "DFmode", ")", "||", "(", "TARGET_FMOVD", "&&", "mode", "==", "DFmode", ")", ")", "return", "mode_sz", ";", "else", "{", "const", "int", "max_mov_sz", "=", "GET_MODE_SIZE", "(", "SImode", ")", ";", "return", "mode_sz", ">=", "max_mov_sz", "?", "max_mov_sz", ":", "mode_sz", ";", "}", "}", ""], "natrual_language": ["Determine", "the", "size", "of", "the", "fundamental", "move", "insn", "that", "will", "be", "used", "for", "the", "specified", "mode", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "mov_insn_size", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12257, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "hppa_rtx_costs_shadd_p", "(", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "!=", "PLUS", "||", "!", "REG_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "return", "false", ";", "rtx", "op0", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "op0", ")", "==", "ASHIFT", "&&", "CONST_INT_P", "(", "XEXP", "(", "op0", ",", "1", ")", ")", "&&", "REG_P", "(", "XEXP", "(", "op0", ",", "0", ")", ")", ")", "{", "unsigned", "HOST_WIDE_INT", "x", "=", "UINTVAL", "(", "XEXP", "(", "op0", ",", "1", ")", ")", ";", "return", "x", "==", "1", "||", "x", "==", "2", "||", "x", "==", "3", ";", "}", "if", "(", "GET_CODE", "(", "op0", ")", "==", "MULT", "&&", "CONST_INT_P", "(", "XEXP", "(", "op0", ",", "1", ")", ")", "&&", "REG_P", "(", "XEXP", "(", "op0", ",", "0", ")", ")", ")", "{", "unsigned", "HOST_WIDE_INT", "x", "=", "UINTVAL", "(", "XEXP", "(", "op0", ",", "1", ")", ")", ";", "return", "x", "==", "2", "||", "x", "==", "4", "||", "x", "==", "8", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "represents", "a", "(", "possibly", "non-canonical", ")", "shNadd", "pattern", ".", "The", "machine", "mode", "of", "X", "is", "known", "to", "be", "SImode", "or", "DImode", "."], "TS_V_token": ["pa", "1", "0", "1", "0", "1", "1", "2", "3", "1", "0", "1", "2", "4", "8"], "File": "pa", "Func": "hppa_rtx_costs_shadd_p", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12258, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isShuffleMaskLegal", "(", "const", "SmallVectorImpl", "<", "int", ">", "&", "Mask", ",", "EVT", "VT", ")", "const", "override", "{", "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": ["Mips"], "File": "MipsSEISelLowering10", "Func": "isShuffleMaskLegal", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12259, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "reg_offset_addressing_ok_p", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "V16QImode", ":", "case", "V8HImode", ":", "case", "V4SFmode", ":", "case", "V4SImode", ":", "case", "V2DFmode", ":", "case", "V2DImode", ":", "case", "V1TImode", ":", "case", "TImode", ":", "if", "(", "VECTOR_MEM_ALTIVEC_OR_VSX_P", "(", "mode", ")", ")", "return", "false", ";", "break", ";", "case", "V4HImode", ":", "case", "V2SImode", ":", "case", "V1DImode", ":", "case", "V2SFmode", ":", "if", "(", "TARGET_PAIRED_FLOAT", ")", "return", "false", ";", "break", ";", "case", "SDmode", ":", "if", "(", "TARGET_NO_SDMODE_STACK", ")", "return", "false", ";", "break", ";", "default", ":", "break", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Subroutines", "of", "rs6000_legitimize_address", "and", "rs6000_legitimate_address_p", "."], "TS_V_token": ["rs6000"], "File": "rs60004", "Func": "reg_offset_addressing_ok_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12260, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_atomic_assign_expand_fenv", "(", "tree", "*", "hold", ",", "tree", "*", "clear", ",", "tree", "*", "update", ")", "{", "if", "(", "!", "TARGET_HARD_FLOAT_ABI", ")", "return", ";", "tree", "exceptions_var", "=", "create_tmp_var", "(", "MIPS_ATYPE_USI", ")", ";", "tree", "fcsr_orig_var", "=", "create_tmp_var", "(", "MIPS_ATYPE_USI", ")", ";", "tree", "fcsr_mod_var", "=", "create_tmp_var", "(", "MIPS_ATYPE_USI", ")", ";", "tree", "get_fcsr", "=", "mips_builtin_decls", "[", "MIPS_GET_FCSR", "]", ";", "tree", "set_fcsr", "=", "mips_builtin_decls", "[", "MIPS_SET_FCSR", "]", ";", "tree", "get_fcsr_hold_call", "=", "build_call_expr", "(", "get_fcsr", ",", "0", ")", ";", "tree", "hold_assign_orig", "=", "build2", "(", "MODIFY_EXPR", ",", "MIPS_ATYPE_USI", ",", "fcsr_orig_var", ",", "get_fcsr_hold_call", ")", ";", "tree", "hold_mod_val", "=", "build2", "(", "BIT_AND_EXPR", ",", "MIPS_ATYPE_USI", ",", "fcsr_orig_var", ",", "build_int_cst", "(", "MIPS_ATYPE_USI", ",", "0xfffff003", ")", ")", ";", "tree", "hold_assign_mod", "=", "build2", "(", "MODIFY_EXPR", ",", "MIPS_ATYPE_USI", ",", "fcsr_mod_var", ",", "hold_mod_val", ")", ";", "tree", "set_fcsr_hold_call", "=", "build_call_expr", "(", "set_fcsr", ",", "1", ",", "fcsr_mod_var", ")", ";", "tree", "hold_all", "=", "build2", "(", "COMPOUND_EXPR", ",", "MIPS_ATYPE_USI", ",", "hold_assign_orig", ",", "hold_assign_mod", ")", ";", "*", "hold", "=", "build2", "(", "COMPOUND_EXPR", ",", "void_type_node", ",", "hold_all", ",", "set_fcsr_hold_call", ")", ";", "*", "clear", "=", "build_call_expr", "(", "set_fcsr", ",", "1", ",", "fcsr_mod_var", ")", ";", "tree", "get_fcsr_update_call", "=", "build_call_expr", "(", "get_fcsr", ",", "0", ")", ";", "*", "update", "=", "build2", "(", "MODIFY_EXPR", ",", "MIPS_ATYPE_USI", ",", "exceptions_var", ",", "get_fcsr_update_call", ")", ";", "tree", "set_fcsr_update_call", "=", "build_call_expr", "(", "set_fcsr", ",", "1", ",", "fcsr_orig_var", ")", ";", "*", "update", "=", "build2", "(", "COMPOUND_EXPR", ",", "void_type_node", ",", "*", "update", ",", "set_fcsr_update_call", ")", ";", "tree", "atomic_feraiseexcept", "=", "builtin_decl_implicit", "(", "BUILT_IN_ATOMIC_FERAISEEXCEPT", ")", ";", "tree", "int_exceptions_var", "=", "fold_convert", "(", "integer_type_node", ",", "exceptions_var", ")", ";", "tree", "atomic_feraiseexcept_call", "=", "build_call_expr", "(", "atomic_feraiseexcept", ",", "1", ",", "int_exceptions_var", ")", ";", "*", "update", "=", "build2", "(", "COMPOUND_EXPR", ",", "void_type_node", ",", "*", "update", ",", "atomic_feraiseexcept_call", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ATOMIC_ASSIGN_EXPAND_FENV", "."], "TS_V_token": ["mips", "0", "0xfffff003", "1", "1", "0", "1", "1"], "File": "mips4", "Func": "mips_atomic_assign_expand_fenv", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12261, "Length": 270, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseInstrInfo", "::", "getNumMicroOps", "(", "const", "InstrItineraryData", "*", "ItinData", ",", "const", "MachineInstr", "*", "MI", ")", "const", "{", "if", "(", "!", "ItinData", "||", "ItinData", "->", "isEmpty", "(", ")", ")", "return", "1", ";", "const", "MCInstrDesc", "&", "Desc", "=", "MI", "->", "getDesc", "(", ")", ";", "unsigned", "Class", "=", "Desc", ".", "getSchedClass", "(", ")", ";", "int", "ItinUOps", "=", "ItinData", "->", "getNumMicroOps", "(", "Class", ")", ";", "if", "(", "ItinUOps", ">=", "0", ")", "return", "ItinUOps", ";", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected multi-uops instruction!\"", ")", ";", "case", "ARM", "::", "VLDMQIA", ":", "case", "ARM", "::", "VSTMQIA", ":", "return", "2", ";", "case", "ARM", "::", "VLDMDIA", ":", "case", "ARM", "::", "VLDMDIA_UPD", ":", "case", "ARM", "::", "VLDMDDB_UPD", ":", "case", "ARM", "::", "VLDMSIA", ":", "case", "ARM", "::", "VLDMSIA_UPD", ":", "case", "ARM", "::", "VLDMSDB_UPD", ":", "case", "ARM", "::", "VSTMDIA", ":", "case", "ARM", "::", "VSTMDIA_UPD", ":", "case", "ARM", "::", "VSTMDDB_UPD", ":", "case", "ARM", "::", "VSTMSIA", ":", "case", "ARM", "::", "VSTMSIA_UPD", ":", "case", "ARM", "::", "VSTMSDB_UPD", ":", "{", "unsigned", "NumRegs", "=", "MI", "->", "getNumOperands", "(", ")", "-", "Desc", ".", "getNumOperands", "(", ")", ";", "return", "(", "NumRegs", "/", "2", ")", "+", "(", "NumRegs", "%", "2", ")", "+", "1", ";", "}", "case", "ARM", "::", "LDMIA_RET", ":", "case", "ARM", "::", "LDMIA", ":", "case", "ARM", "::", "LDMDA", ":", "case", "ARM", "::", "LDMDB", ":", "case", "ARM", "::", "LDMIB", ":", "case", "ARM", "::", "LDMIA_UPD", ":", "case", "ARM", "::", "LDMDA_UPD", ":", "case", "ARM", "::", "LDMDB_UPD", ":", "case", "ARM", "::", "LDMIB_UPD", ":", "case", "ARM", "::", "STMIA", ":", "case", "ARM", "::", "STMDA", ":", "case", "ARM", "::", "STMDB", ":", "case", "ARM", "::", "STMIB", ":", "case", "ARM", "::", "STMIA_UPD", ":", "case", "ARM", "::", "STMDA_UPD", ":", "case", "ARM", "::", "STMDB_UPD", ":", "case", "ARM", "::", "STMIB_UPD", ":", "case", "ARM", "::", "tLDMIA", ":", "case", "ARM", "::", "tLDMIA_UPD", ":", "case", "ARM", "::", "tSTMIA_UPD", ":", "case", "ARM", "::", "tPOP_RET", ":", "case", "ARM", "::", "tPOP", ":", "case", "ARM", "::", "tPUSH", ":", "case", "ARM", "::", "t2LDMIA_RET", ":", "case", "ARM", "::", "t2LDMIA", ":", "case", "ARM", "::", "t2LDMDB", ":", "case", "ARM", "::", "t2LDMIA_UPD", ":", "case", "ARM", "::", "t2LDMDB_UPD", ":", "case", "ARM", "::", "t2STMIA", ":", "case", "ARM", "::", "t2STMDB", ":", "case", "ARM", "::", "t2STMIA_UPD", ":", "case", "ARM", "::", "t2STMDB_UPD", ":", "{", "unsigned", "NumRegs", "=", "MI", "->", "getNumOperands", "(", ")", "-", "Desc", ".", "getNumOperands", "(", ")", "+", "1", ";", "if", "(", "Subtarget", ".", "isCortexA8", "(", ")", ")", "{", "if", "(", "NumRegs", "<", "4", ")", "return", "2", ";", "int", "A8UOps", "=", "(", "NumRegs", "/", "2", ")", ";", "if", "(", "NumRegs", "%", "2", ")", "++", "A8UOps", ";", "return", "A8UOps", ";", "}", "else", "if", "(", "Subtarget", ".", "isCortexA9", "(", ")", ")", "{", "int", "A9UOps", "=", "(", "NumRegs", "/", "2", ")", ";", "if", "(", "(", "NumRegs", "%", "2", ")", "||", "!", "MI", "->", "hasOneMemOperand", "(", ")", "||", "(", "*", "MI", "->", "memoperands_begin", "(", ")", ")", "->", "getAlignment", "(", ")", "<", "8", ")", "++", "A9UOps", ";", "return", "A9UOps", ";", "}", "else", "{", "return", "NumRegs", ";", "}", "}", "}", "}", ""], "natrual_language": ["Return", "the", "number", "of", "issue", "slots", "required", "for", "this", "MI", "."], "TS_V_token": ["ARM", "ARM", "1", "0", "\"Unexpected multi-uops instruction!\"", "ARM::VLDMQIA", "ARM::VSTMQIA", "2", "ARM::VLDMDIA", "ARM::VLDMDIA_UPD", "ARM::VLDMDDB_UPD", "ARM::VLDMSIA", "ARM::VLDMSIA_UPD", "ARM::VLDMSDB_UPD", "ARM::VSTMDIA", "ARM::VSTMDIA_UPD", "ARM::VSTMDDB_UPD", "ARM::VSTMSIA", "ARM::VSTMSIA_UPD", "ARM::VSTMSDB_UPD", "2", "2", "1", "ARM::LDMIA_RET", "ARM::LDMIA", "ARM::LDMDA", "ARM::LDMDB", "ARM::LDMIB", "ARM::LDMIA_UPD", "ARM::LDMDA_UPD", "ARM::LDMDB_UPD", "ARM::LDMIB_UPD", "ARM::STMIA", "ARM::STMDA", "ARM::STMDB", "ARM::STMIB", "ARM::STMIA_UPD", "ARM::STMDA_UPD", "ARM::STMDB_UPD", "ARM::STMIB_UPD", "ARM::tLDMIA", "ARM::tLDMIA_UPD", "ARM::tSTMIA_UPD", "ARM::tPOP_RET", "ARM::tPOP", "ARM::tPUSH", "ARM::t2LDMIA_RET", "ARM::t2LDMIA", "ARM::t2LDMDB", "ARM::t2LDMIA_UPD", "ARM::t2LDMDB_UPD", "ARM::t2STMIA", "ARM::t2STMDB", "ARM::t2STMIA_UPD", "ARM::t2STMDB_UPD", "1", "4", "2", "2", "2", "2", "2", "8"], "File": "ARMBaseInstrInfo47", "Func": "getNumMicroOps", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12262, "Length": 479, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_promote_prototypes", "(", "tree", "fntype", "ATTRIBUTE_UNUSED", ")", "{", "return", "TARGET_ARCH32", "?", "true", ":", "false", ";", "}", ""], "natrual_language": ["Handle", "the", "TARGET_PROMOTE_PROTOTYPES", "target", "hook", ".", "When", "a", "prototype", "says", "`", "char", "'", "or", "`", "short", "'", ",", "really", "pass", "an", "`", "int", "'", "."], "TS_V_token": ["sparc"], "File": "sparc3", "Func": "sparc_promote_prototypes", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12263, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "do_ifelse", "(", "machine_mode", "cmpmode", ",", "rtx_code", "comparison", ",", "rtx", "a", ",", "rtx", "b", ",", "rtx", "cr", ",", "rtx", "true_label", ",", "profile_probability", "br_prob", ")", "{", "gcc_assert", "(", "(", "a", "==", "NULL_RTX", "&&", "b", "==", "NULL_RTX", "&&", "cr", "!=", "NULL_RTX", ")", "||", "(", "a", "!=", "NULL_RTX", "&&", "b", "!=", "NULL_RTX", ")", ")", ";", "if", "(", "cr", "!=", "NULL_RTX", ")", "gcc_assert", "(", "GET_MODE", "(", "cr", ")", "==", "cmpmode", ")", ";", "else", "cr", "=", "gen_reg_rtx", "(", "cmpmode", ")", ";", "rtx", "label_ref", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "true_label", ")", ";", "if", "(", "a", "!=", "NULL_RTX", ")", "emit_move_insn", "(", "cr", ",", "gen_rtx_COMPARE", "(", "cmpmode", ",", "a", ",", "b", ")", ")", ";", "rtx", "cmp_rtx", "=", "gen_rtx_fmt_ee", "(", "comparison", ",", "VOIDmode", ",", "cr", ",", "const0_rtx", ")", ";", "rtx", "ifelse", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "cmp_rtx", ",", "label_ref", ",", "pc_rtx", ")", ";", "rtx_insn", "*", "j", "=", "emit_jump_insn", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "ifelse", ")", ")", ";", "add_reg_br_prob_note", "(", "j", ",", "br_prob", ")", ";", "JUMP_LABEL", "(", "j", ")", "=", "true_label", ";", "LABEL_NUSES", "(", "true_label", ")", "+=", "1", ";", "}", ""], "natrual_language": ["Do", "a", "branch", "for", "an", "if/else", "decision", ".", "CMPMODE", "is", "the", "mode", "to", "use", "for", "the", "comparison", ".", "COMPARISON", "is", "the", "rtx", "code", "for", "the", "compare", "needed", ".", "A", "is", "the", "first", "thing", "to", "be", "compared", ".", "B", "is", "the", "second", "thing", "to", "be", "compared", ".", "CR", "is", "the", "condition", "code", "reg", "input", ",", "or", "NULL_RTX", ".", "TRUE_LABEL", "is", "the", "label", "to", "branch", "to", "if", "the", "condition", "is", "true", ".", "The", "return", "value", "is", "the", "CR", "used", "for", "the", "comparison", ".", "If", "CR", "is", "null_rtx", ",", "then", "a", "new", "register", "of", "CMPMODE", "is", "generated", ".", "If", "A", "and", "B", "are", "both", "null_rtx", ",", "then", "CR", "must", "not", "be", "null", ",", "and", "the", "compare", "is", "not", "generated", "so", "you", "can", "use", "this", "with", "a", "dot", "form", "insn", "."], "TS_V_token": ["rs6000", "1"], "File": "rs6000-string", "Func": "do_ifelse", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12264, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ")", "const", "{", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "(", "unsigned", ")", "Kind", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "(", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "-", "1", ")", "/", "8", ")", "+", "1", ";", "uint64_t", "Mask", "=", "(", "(", "uint64_t", ")", "1", "<<", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", "-", "1", ";", "uint64_t", "CurVal", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "CurVal", "|=", "(", "(", "uint8_t", ")", "Data", "[", "Offset", "+", "i", "]", ")", "<<", "(", "i", "*", "8", ")", ";", "CurVal", "=", "(", "CurVal", "&", "~", "Mask", ")", "|", "(", "(", "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": ["Mips", "1", "8", "1", "1", "1", "0", "0", "8", "0", "8", "0xff"], "File": "MipsAsmBackend43", "Func": "applyFixup", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12265, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "X86TargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "NonScalarIntSafe", ",", "bool", "MemcpyStrSrc", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "NonScalarIntSafe", "&&", "!", "F", "->", "hasFnAttr", "(", "Attribute", "::", "NoImplicitFloat", ")", ")", "{", "if", "(", "Size", ">=", "16", "&&", "(", "Subtarget", "->", "isUnalignedMemAccessFast", "(", ")", "||", "(", "(", "DstAlign", "==", "0", "||", "DstAlign", ">=", "16", ")", "&&", "(", "SrcAlign", "==", "0", "||", "SrcAlign", ">=", "16", ")", ")", ")", "&&", "Subtarget", "->", "getStackAlignment", "(", ")", ">=", "16", ")", "{", "if", "(", "Subtarget", "->", "hasSSE2", "(", ")", ")", "return", "MVT", "::", "v4i32", ";", "if", "(", "Subtarget", "->", "hasSSE1", "(", ")", ")", "return", "MVT", "::", "v4f32", ";", "}", "else", "if", "(", "!", "MemcpyStrSrc", "&&", "Size", ">=", "8", "&&", "!", "Subtarget", "->", "is64Bit", "(", ")", "&&", "Subtarget", "->", "getStackAlignment", "(", ")", ">=", "8", "&&", "Subtarget", "->", "hasSSE2", "(", ")", ")", "{", "return", "MVT", "::", "f64", ";", "}", "}", "if", "(", "Subtarget", "->", "is64Bit", "(", ")", "&&", "Size", ">=", "8", ")", "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": ["X86", "X86", "16", "0", "16", "0", "16", "16", "MVT::v4i32", "MVT::v4f32", "8", "8", "MVT::f64", "8", "MVT::i64", "MVT::i32"], "File": "X86ISelLowering73", "Func": "getOptimalMemOpType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12266, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "CAHPDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "OS", ",", "raw_ostream", "&", "CS", ")", "const", "{", "if", "(", "Bytes", ".", "size", "(", ")", "<", "2", ")", "{", "Size", "=", "0", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "uint32_t", "Inst", ";", "DecodeStatus", "Result", ";", "uint8_t", "is24bitInst", "=", "Bytes", "[", "0", "]", "&", "1", ";", "if", "(", "is24bitInst", ")", "{", "if", "(", "Bytes", ".", "size", "(", ")", "<", "3", ")", "{", "Size", "=", "0", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "Inst", "=", "Bytes", "[", "0", "]", "|", "(", "Bytes", "[", "1", "]", "<<", "8", ")", "|", "(", "Bytes", "[", "2", "]", "<<", "16", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Trying CAHP 24bit table :\\n\"", ")", ";", "Result", "=", "decodeInstruction", "(", "DecoderTable24", ",", "MI", ",", "Inst", ",", "Address", ",", "this", ",", "STI", ")", ";", "Size", "=", "3", ";", "}", "else", "{", "if", "(", "Bytes", ".", "size", "(", ")", "<", "2", ")", "{", "Size", "=", "0", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "Inst", "=", "support", "::", "endian", "::", "read16le", "(", "Bytes", ".", "data", "(", ")", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Trying CAHP 16bit table :\\n\"", ")", ";", "Result", "=", "decodeInstruction", "(", "DecoderTable16", ",", "MI", ",", "Inst", ",", "Address", ",", "this", ",", "STI", ")", ";", "Size", "=", "2", ";", "}", "return", "Result", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["CAHP", "CAHP", "2", "0", "0", "1", "3", "0", "0", "1", "8", "2", "16", "\"Trying CAHP 24bit table :\\n\"", "3", "2", "0", "support::endian", "\"Trying CAHP 16bit table :\\n\"", "2"], "File": "CAHPDisassembler", "Func": "getInstruction", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12267, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "registers_ok_for_quad_peep", "(", "rtx", "reg1", ",", "rtx", "reg2", ")", "{", "if", "(", "GET_CODE", "(", "reg1", ")", "!=", "REG", "||", "GET_CODE", "(", "reg2", ")", "!=", "REG", ")", "return", "0", ";", "if", "(", "!", "FP_REGNO_P", "(", "REGNO", "(", "reg1", ")", ")", "||", "!", "FP_REGNO_P", "(", "REGNO", "(", "reg2", ")", ")", ")", "return", "0", ";", "return", "(", "REGNO", "(", "reg1", ")", "==", "REGNO", "(", "reg2", ")", "-", "1", ")", ";", "}", ""], "natrual_language": ["Return", "1", "if", "REGNO", "(", "reg1", ")", "==", "REGNO", "(", "reg2", ")", "-", "1", "making", "them", "candidates", "for", "lfq", "and", "stfq", "insns", ".", "Note", "reg1", "and", "reg2", "*", "must", "*", "be", "hard", "registers", ".", "To", "be", "sure", "we", "will", "abort", "if", "we", "are", "passed", "pseudo", "registers", "."], "TS_V_token": ["rs6000", "0", "0", "1"], "File": "rs60003", "Func": "registers_ok_for_quad_peep", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12268, "Length": 68, "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": 12269, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "int", "addsubcosts", "(", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "REG", "||", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "SUBREG", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "CONST_INT", "&&", "CONST_OK_FOR_ADD", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", ")", "return", "1", ";", "if", "(", "TARGET_SHMEDIA", ")", "switch", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "{", "case", "CONST", ":", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":", "return", "TARGET_SHMEDIA64", "?", "5", ":", "3", ";", "case", "CONST_INT", ":", "if", "(", "CONST_OK_FOR_I16", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", ")", "return", "2", ";", "else", "if", "(", "CONST_OK_FOR_I16", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ">>", "16", ")", ")", "return", "3", ";", "else", "if", "(", "CONST_OK_FOR_I16", "(", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ">>", "16", ")", ">>", "16", ")", ")", "return", "4", ";", "default", ":", "return", "5", ";", "}", "return", "3", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "an", "addition", "or", "a", "subtraction", "."], "TS_V_token": ["sh", "1", "1", "1", "1", "1", "1", "1", "5", "3", "1", "2", "1", "16", "3", "1", "16", "16", "4", "5", "3"], "File": "sh3", "Func": "addsubcosts", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12270, "Length": 178, "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": 12271, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "getFMA3OpcodeToCommuteOperands", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "SrcOpIdx1", ",", "unsigned", "SrcOpIdx2", ",", "const", "X86InstrFMA3Group", "&", "FMA3Group", ")", "const", "{", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "assert", "(", "!", "(", "FMA3Group", ".", "isIntrinsic", "(", ")", "&&", "(", "SrcOpIdx1", "==", "1", "||", "SrcOpIdx2", "==", "1", ")", ")", "&&", "\"Intrinsic instructions can't commute operand 1\"", ")", ";", "unsigned", "Case", "=", "getThreeSrcCommuteCase", "(", "MI", ".", "getDesc", "(", ")", ".", "TSFlags", ",", "SrcOpIdx1", ",", "SrcOpIdx2", ")", ";", "assert", "(", "Case", "<", "3", "&&", "\"Unexpected case number!\"", ")", ";", "const", "unsigned", "Form132Index", "=", "0", ";", "const", "unsigned", "Form213Index", "=", "1", ";", "const", "unsigned", "Form231Index", "=", "2", ";", "static", "const", "unsigned", "FormMapping", "[", "]", "[", "3", "]", "=", "{", "{", "Form231Index", ",", "Form213Index", ",", "Form132Index", "}", ",", "{", "Form132Index", ",", "Form231Index", ",", "Form213Index", "}", ",", "{", "Form213Index", ",", "Form132Index", ",", "Form231Index", "}", "}", ";", "unsigned", "FMAForms", "[", "3", "]", ";", "FMAForms", "[", "0", "]", "=", "FMA3Group", ".", "get132Opcode", "(", ")", ";", "FMAForms", "[", "1", "]", "=", "FMA3Group", ".", "get213Opcode", "(", ")", ";", "FMAForms", "[", "2", "]", "=", "FMA3Group", ".", "get231Opcode", "(", ")", ";", "for", "(", "unsigned", "FormIndex", "=", "0", ";", "FormIndex", "<", "3", ";", "FormIndex", "++", ")", "if", "(", "Opc", "==", "FMAForms", "[", "FormIndex", "]", ")", "return", "FMAForms", "[", "FormMapping", "[", "Case", "]", "[", "FormIndex", "]", "]", ";", "llvm_unreachable", "(", "\"Illegal FMA3 format\"", ")", ";", "}", ""], "natrual_language": ["Returns", "an", "adjusted", "FMA", "opcode", "that", "must", "be", "used", "in", "FMA", "instruction", "that", "performs", "the", "same", "computations", "as", "the", "given", "MI", "but", "which", "has", "the", "operands", "SrcOpIdx1", "and", "SrcOpIdx2", "commuted", "."], "TS_V_token": ["X86", "X86", "X86", "1", "1", "\"Intrinsic instructions can't commute operand 1\"", "3", "\"Unexpected case number!\"", "0", "1", "2", "3", "3", "0", "1", "2", "0", "3", "\"Illegal FMA3 format\""], "File": "X86InstrInfo64", "Func": "getFMA3OpcodeToCommuteOperands", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12272, "Length": 217, "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": 12273, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "shouldExpandAtomicStoreInIR", "(", "StoreInst", "*", "SI", ")", "const", "{", "Type", "*", "MemType", "=", "SI", "->", "getValueOperand", "(", ")", "->", "getType", "(", ")", ";", "bool", "NoImplicitFloatOps", "=", "SI", "->", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ";", "if", "(", "MemType", "->", "getPrimitiveSizeInBits", "(", ")", "==", "64", "&&", "!", "Subtarget", ".", "is64Bit", "(", ")", "&&", "!", "Subtarget", ".", "useSoftFloat", "(", ")", "&&", "!", "NoImplicitFloatOps", "&&", "Subtarget", ".", "hasSSE2", "(", ")", ")", "return", "false", ";", "return", "needsCmpXchgNb", "(", "MemType", ")", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "(", "atomic", ")", "store", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "into", "."], "TS_V_token": ["X86", "X86", "64"], "File": "X86ISelLowering (2)6", "Func": "shouldExpandAtomicStoreInIR", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12274, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsCallLowering", "::", "splitToValueTypes", "(", "const", "DataLayout", "&", "DL", ",", "const", "ArgInfo", "&", "OrigArg", ",", "unsigned", "OriginalIndex", ",", "SmallVectorImpl", "<", "ArgInfo", ">", "&", "SplitArgs", ",", "SmallVectorImpl", "<", "unsigned", ">", "&", "SplitArgsOrigIndices", ")", "const", "{", "SmallVector", "<", "EVT", ",", "4", ">", "SplitEVTs", ";", "SmallVector", "<", "Register", ",", "4", ">", "SplitVRegs", ";", "const", "MipsTargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "MipsTargetLowering", ">", "(", ")", ";", "LLVMContext", "&", "Ctx", "=", "OrigArg", ".", "Ty", "->", "getContext", "(", ")", ";", "ComputeValueVTs", "(", "TLI", ",", "DL", ",", "OrigArg", ".", "Ty", ",", "SplitEVTs", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "SplitEVTs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "ArgInfo", "Info", "=", "ArgInfo", "{", "OrigArg", ".", "Regs", "[", "i", "]", ",", "SplitEVTs", "[", "i", "]", ".", "getTypeForEVT", "(", "Ctx", ")", "}", ";", "Info", ".", "Flags", "=", "OrigArg", ".", "Flags", ";", "SplitArgs", ".", "push_back", "(", "Info", ")", ";", "SplitArgsOrigIndices", ".", "push_back", "(", "OriginalIndex", ")", ";", "}", "}", ""], "natrual_language": ["Break", "OrigArgInfo", "into", "one", "or", "more", "pieces", "the", "calling", "convention", "can", "process", ",", "returned", "in", "SplitArgs", "."], "TS_V_token": ["Mips", "Mips", "4", "4", "Mips", "Mips", "0"], "File": "MipsCallLowering11", "Func": "splitToValueTypes", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12275, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64TargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Don't know how to custom expand this\"", ")", ";", "case", "ISD", "::", "BITCAST", ":", "ReplaceBITCASTResults", "(", "N", ",", "Results", ",", "DAG", ")", ";", "return", ";", "case", "AArch64ISD", "::", "SADDV", ":", "ReplaceReductionResults", "(", "N", ",", "Results", ",", "DAG", ",", "ISD", "::", "ADD", ",", "AArch64ISD", "::", "SADDV", ")", ";", "return", ";", "case", "AArch64ISD", "::", "UADDV", ":", "ReplaceReductionResults", "(", "N", ",", "Results", ",", "DAG", ",", "ISD", "::", "ADD", ",", "AArch64ISD", "::", "UADDV", ")", ";", "return", ";", "case", "AArch64ISD", "::", "SMINV", ":", "ReplaceReductionResults", "(", "N", ",", "Results", ",", "DAG", ",", "ISD", "::", "SMIN", ",", "AArch64ISD", "::", "SMINV", ")", ";", "return", ";", "case", "AArch64ISD", "::", "UMINV", ":", "ReplaceReductionResults", "(", "N", ",", "Results", ",", "DAG", ",", "ISD", "::", "UMIN", ",", "AArch64ISD", "::", "UMINV", ")", ";", "return", ";", "case", "AArch64ISD", "::", "SMAXV", ":", "ReplaceReductionResults", "(", "N", ",", "Results", ",", "DAG", ",", "ISD", "::", "SMAX", ",", "AArch64ISD", "::", "SMAXV", ")", ";", "return", ";", "case", "AArch64ISD", "::", "UMAXV", ":", "ReplaceReductionResults", "(", "N", ",", "Results", ",", "DAG", ",", "ISD", "::", "UMAX", ",", "AArch64ISD", "::", "UMAXV", ")", ";", "return", ";", "case", "ISD", "::", "FP_TO_UINT", ":", "case", "ISD", "::", "FP_TO_SINT", ":", "assert", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i128", "&&", "\"unexpected illegal conversion\"", ")", ";", "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": ["AArch64", "AArch64", "\"Don't know how to custom expand this\"", "ISD::BITCAST", "AArch64ISD::SADDV", "ISD::ADD", "AArch64ISD::SADDV", "AArch64ISD::UADDV", "ISD::ADD", "AArch64ISD::UADDV", "AArch64ISD::SMINV", "ISD::SMIN", "AArch64ISD::SMINV", "AArch64ISD::UMINV", "ISD::UMIN", "AArch64ISD::UMINV", "AArch64ISD::SMAXV", "ISD::SMAX", "AArch64ISD::SMAXV", "AArch64ISD::UMAXV", "ISD::UMAX", "AArch64ISD::UMAXV", "ISD::FP_TO_UINT", "ISD::FP_TO_SINT", "0", "MVT::i128", "\"unexpected illegal conversion\""], "File": "AArch64ISelLowering (2)1", "Func": "ReplaceNodeResults", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12276, "Length": 228, "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": 12277, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 Support for protection of register spills\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 Support for protection of register spills\""], "File": "X86ProtectSpillSupport", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12278, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64RegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "AArch64FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "AArch64", "::", "GPR32RegClassID", ":", "case", "AArch64", "::", "GPR32spRegClassID", ":", "case", "AArch64", "::", "GPR32allRegClassID", ":", "case", "AArch64", "::", "GPR64spRegClassID", ":", "case", "AArch64", "::", "GPR64allRegClassID", ":", "case", "AArch64", "::", "GPR64RegClassID", ":", "case", "AArch64", "::", "GPR32commonRegClassID", ":", "case", "AArch64", "::", "GPR64commonRegClassID", ":", "return", "32", "-", "1", "-", "(", "TFI", "->", "hasFP", "(", "MF", ")", "||", "TT", ".", "isOSDarwin", "(", ")", ")", "-", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isX18Reserved", "(", ")", "-", "hasBasePointer", "(", "MF", ")", ";", "case", "AArch64", "::", "FPR8RegClassID", ":", "case", "AArch64", "::", "FPR16RegClassID", ":", "case", "AArch64", "::", "FPR32RegClassID", ":", "case", "AArch64", "::", "FPR64RegClassID", ":", "case", "AArch64", "::", "FPR128RegClassID", ":", "case", "AArch64", "::", "ZPRRegClassID", ":", "return", "32", ";", "case", "AArch64", "::", "DDRegClassID", ":", "case", "AArch64", "::", "DDDRegClassID", ":", "case", "AArch64", "::", "DDDDRegClassID", ":", "case", "AArch64", "::", "QQRegClassID", ":", "case", "AArch64", "::", "QQQRegClassID", ":", "case", "AArch64", "::", "QQQQRegClassID", ":", "case", "AArch64", "::", "ZPR2RegClassID", ":", "case", "AArch64", "::", "ZPR3RegClassID", ":", "case", "AArch64", "::", "ZPR4RegClassID", ":", "return", "32", ";", "case", "AArch64", "::", "FPR128_loRegClassID", ":", "return", "16", ";", "}", "}", ""], "natrual_language": ["Return", "the", "register", "pressure", "``", "high", "water", "mark", "''", "for", "the", "specific", "register", "class", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "0", "AArch64::GPR32RegClassID", "AArch64::GPR32spRegClassID", "AArch64::GPR32allRegClassID", "AArch64::GPR64spRegClassID", "AArch64::GPR64allRegClassID", "AArch64::GPR64RegClassID", "AArch64::GPR32commonRegClassID", "AArch64::GPR64commonRegClassID", "32", "1", "AArch64", "AArch64::FPR8RegClassID", "AArch64::FPR16RegClassID", "AArch64::FPR32RegClassID", "AArch64::FPR64RegClassID", "AArch64::FPR128RegClassID", "AArch64::ZPRRegClassID", "32", "AArch64::DDRegClassID", "AArch64::DDDRegClassID", "AArch64::DDDDRegClassID", "AArch64::QQRegClassID", "AArch64::QQQRegClassID", "AArch64::QQQQRegClassID", "AArch64::ZPR2RegClassID", "AArch64::ZPR3RegClassID", "AArch64::ZPR4RegClassID", "32", "AArch64::FPR128_loRegClassID", "16"], "File": "AArch64RegisterInfo41", "Func": "getRegPressureLimit", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12279, "Length": 209, "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", "=", "getMipsRegisterNumbering", "(", "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", "(", ")", ")", ";", "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", ")", ";", "Mips", "::", "Fixups", "FixupKind", ";", "switch", "(", "cast", "<", "MCSymbolRefExpr", ">", "(", "Expr", ")", "->", "getKind", "(", ")", ")", "{", "case", "MCSymbolRefExpr", "::", "VK_Mips_GPREL", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_GPREL16", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_GOT_CALL", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_CALL16", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_GOT16", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_GOT_Global", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_GOT", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_GOT_Local", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_ABS_HI", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_HI16", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_ABS_LO", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_LO16", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_TLSGD", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_TLSGD", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_TLSLDM", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_TLSLDM", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_DTPREL_HI", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_DTPREL_HI", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_DTPREL_LO", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_DTPREL_LO", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_GOTTPREL", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_GOTTPREL", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_TPREL_HI", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_TPREL_HI", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_TPREL_LO", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_TPREL_LO", ";", "break", ";", "default", ":", "break", ";", "}", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "0", ",", "MO", ".", "getExpr", "(", ")", ",", "MCFixupKind", "(", "FixupKind", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["Mips", "Mips", "Mips", "32", "Mips::Fixups", "Mips", "Mips::fixup_Mips_GPREL16", "Mips", "Mips::fixup_Mips_CALL16", "Mips", "Mips::fixup_Mips_GOT_Global", "Mips", "Mips::fixup_Mips_GOT_Local", "Mips", "Mips::fixup_Mips_HI16", "Mips", "Mips::fixup_Mips_LO16", "Mips", "Mips::fixup_Mips_TLSGD", "Mips", "Mips::fixup_Mips_TLSLDM", "Mips", "Mips::fixup_Mips_DTPREL_HI", "Mips", "Mips::fixup_Mips_DTPREL_LO", "Mips", "Mips::fixup_Mips_GOTTPREL", "Mips", "Mips::fixup_Mips_TPREL_HI", "Mips", "Mips::fixup_Mips_TPREL_LO", "0", "0"], "File": "MipsMCCodeEmitter10", "Func": "getMachineOpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12280, "Length": 413, "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", "AsmPrinter", "::", "PrintAsmOperand", "(", "MI", ",", "OpNo", ",", "AsmVariant", ",", "ExtraCode", ",", "O", ")", ";", "case", "'a'", ":", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "O", "<<", "MO", ".", "getImm", "(", ")", ";", "return", "false", ";", "}", "if", "(", "MO", ".", "isGlobal", "(", ")", "||", "MO", ".", "isCPI", "(", ")", "||", "MO", ".", "isJTI", "(", ")", "||", "MO", ".", "isSymbol", "(", ")", ")", "{", "printSymbolOperand", "(", "MO", ",", "O", ")", ";", "if", "(", "Subtarget", "->", "isPICStyleRIPRel", "(", ")", ")", "O", "<<", "\"(%rip)\"", ";", "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'", ":", "printPCRelImm", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "case", "'n'", ":", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "O", "<<", "-", "MO", ".", "getImm", "(", ")", ";", "return", "false", ";", "}", "O", "<<", "'-'", ";", "}", "}", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ",", "0", ",", "AsmVariant", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["X86", "X86", "0", "1", "0", "0", "\"(%rip)\"", "0", "0"], "File": "X86AsmPrinter101", "Func": "PrintAsmOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12281, "Length": 402, "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": 12282, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "OR1KAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "{", "if", "(", "ExtraCode", "[", "1", "]", ")", "return", "true", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "default", ":", "return", "true", ";", "case", "'H'", ":", "if", "(", "OpNo", "==", "0", ")", "return", "true", ";", "const", "MachineOperand", "&", "FlagsOP", "=", "MI", "->", "getOperand", "(", "OpNo", "-", "1", ")", ";", "if", "(", "!", "FlagsOP", ".", "isImm", "(", ")", ")", "return", "true", ";", "unsigned", "Flags", "=", "FlagsOP", ".", "getImm", "(", ")", ";", "unsigned", "NumVals", "=", "InlineAsm", "::", "getNumOperandRegisters", "(", "Flags", ")", ";", "if", "(", "NumVals", "!=", "2", ")", "return", "true", ";", "unsigned", "RegOp", "=", "OpNo", "+", "1", ";", "if", "(", "RegOp", ">=", "MI", "->", "getNumOperands", "(", ")", ")", "return", "true", ";", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "RegOp", ")", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", ")", "return", "true", ";", "unsigned", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "O", "<<", "OR1KInstPrinter", "::", "getRegisterName", "(", "Reg", ")", ";", "return", "false", ";", "}", "}", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["OR1K", "OR1K", "0", "1", "0", "0", "1", "2", "1", "OR1K"], "File": "OR1KAsmPrinter", "Func": "PrintAsmOperand", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12283, "Length": 205, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PassConfig", "::", "addPreISel", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createGlobalMergePass", "(", "TM", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64TargetMachine40", "Func": "addPreISel", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12284, "Length": 31, "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", ")", ";", "arm_configure_build_target", "(", "&", "arm_active_target", ",", "&", "cl_opts", ",", "opts_set", ",", "false", ")", ";", "arm_option_check_internal", "(", "opts", ")", ";", "arm_option_override_internal", "(", "opts", ",", "opts_set", ")", ";", "return", "build_target_option_node", "(", "opts", ")", ";", "}", ""], "natrual_language": ["Return", "a", "TARGET_OPTION_NODE", "tree", "of", "the", "target", "options", "listed", "or", "NULL", "."], "TS_V_token": ["arm"], "File": "arm6", "Func": "arm_valid_target_attribute_tree", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12285, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "adjacent_mem_locations", "(", "rtx", "mem1", ",", "rtx", "mem2", ")", "{", "rtx", "reg1", ",", "reg2", ";", "HOST_WIDE_INT", "off1", ",", "size1", ",", "off2", ",", "size2", ";", "if", "(", "get_memref_parts", "(", "mem1", ",", "&", "reg1", ",", "&", "off1", ",", "&", "size1", ")", "&&", "get_memref_parts", "(", "mem2", ",", "&", "reg2", ",", "&", "off2", ",", "&", "size2", ")", ")", "return", "(", "(", "REGNO", "(", "reg1", ")", "==", "REGNO", "(", "reg2", ")", ")", "&&", "(", "(", "off1", "+", "size1", "==", "off2", ")", "||", "(", "off2", "+", "size2", "==", "off1", ")", ")", ")", ";", "return", "false", ";", "}", ""], "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": ["powerpcspe"], "File": "powerpcspe", "Func": "adjacent_mem_locations", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12286, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86DynAllocaExpander", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "!", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "hasDynAlloca", "(", ")", ")", "return", "false", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "STI", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "STI", "->", "getRegisterInfo", "(", ")", ";", "StackPtr", "=", "TRI", "->", "getStackRegister", "(", ")", ";", "SlotSize", "=", "TRI", "->", "getSlotSize", "(", ")", ";", "StackProbeSize", "=", "4096", ";", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"stack-probe-size\"", ")", ")", "{", "MF", ".", "getFunction", "(", ")", ".", "getFnAttribute", "(", "\"stack-probe-size\"", ")", ".", "getValueAsString", "(", ")", ".", "getAsInteger", "(", "0", ",", "StackProbeSize", ")", ";", "}", "NoStackArgProbe", "=", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"no-stack-arg-probe\"", ")", ";", "if", "(", "NoStackArgProbe", ")", "StackProbeSize", "=", "INT64_MAX", ";", "LoweringMap", "Lowerings", ";", "computeLowerings", "(", "MF", ",", "Lowerings", ")", ";", "for", "(", "auto", "&", "P", ":", "Lowerings", ")", "lower", "(", "P", ".", "first", ",", "P", ".", "second", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "4096", "\"stack-probe-size\"", "\"stack-probe-size\"", "0", "\"no-stack-arg-probe\""], "File": "X86DynAllocaExpander", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12287, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_simd_vect_par_cnst_half", "(", "machine_mode", "mode", ",", "bool", "high", ")", "{", "int", "nunits", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "rtvec", "v", "=", "rtvec_alloc", "(", "nunits", "/", "2", ")", ";", "int", "high_base", "=", "nunits", "/", "2", ";", "int", "low_base", "=", "0", ";", "int", "base", ";", "rtx", "t1", ";", "int", "i", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "base", "=", "high", "?", "low_base", ":", "high_base", ";", "else", "base", "=", "high", "?", "high_base", ":", "low_base", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nunits", "/", "2", ";", "i", "++", ")", "RTVEC_ELT", "(", "v", ",", "i", ")", "=", "GEN_INT", "(", "base", "+", "i", ")", ";", "t1", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "v", ")", ";", "return", "t1", ";", "}", ""], "natrual_language": ["Construct", "and", "return", "a", "PARALLEL", "RTX", "vector", "with", "elements", "numbering", "the", "lanes", "of", "either", "the", "high", "(", "HIGH", "==", "TRUE", ")", "or", "low", "(", "HIGH", "==", "FALSE", ")", "half", "of", "the", "vector", "-", "from", "the", "perspective", "of", "the", "architecture", ".", "This", "does", "not", "line", "up", "with", "GCC", "'s", "perspective", "on", "lane", "numbers", ",", "so", "we", "end", "up", "with", "different", "masks", "depending", "on", "our", "target", "endian-ness", ".", "The", "diagram", "below", "may", "help", ".", "We", "must", "draw", "the", "distinction", "when", "building", "masks", "which", "select", "one", "half", "of", "the", "vector", ".", "An", "instruction", "selecting", "architectural", "low-lanes", "for", "a", "big-endian", "target", ",", "must", "be", "described", "using", "a", "mask", "selecting", "GCC", "high-lanes", ".", "Big-Endian", "Little-EndianGCC", "0", "1", "2", "3", "3", "2", "1", "0", "|", "x", "|", "x", "|", "x", "|", "x", "|", "|", "x", "|", "x", "|", "x", "|", "x", "|Architecture", "3", "2", "1", "0", "3", "2", "1", "0Low", "Mask", ":", "{", "2", ",", "3", "}", "{", "0", ",", "1", "}", "High", "Mask", ":", "{", "0", ",", "1", "}", "{", "2", ",", "3", "}"], "TS_V_token": ["aarch64", "2", "2", "0", "0", "2"], "File": "aarch642", "Func": "aarch64_simd_vect_par_cnst_half", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12288, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "VERegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "switch", "(", "CC", ")", "{", "case", "CallingConv", "::", "Fast", ":", "default", ":", "return", "CSR_RegMask", ";", "case", "CallingConv", "::", "PreserveAll", ":", "return", "CSR_preserve_all_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": "VERegisterInfo3", "Func": "getCallPreservedMask", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12289, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "arm_shift_nmem", "(", "enum", "rtx_code", "code", ")", "{", "switch", "(", "code", ")", "{", "case", "ASHIFT", ":", "return", "ARM_LSL_NAME", ";", "case", "ASHIFTRT", ":", "return", "\"asr\"", ";", "case", "LSHIFTRT", ":", "return", "\"lsr\"", ";", "case", "ROTATERT", ":", "return", "\"ror\"", ";", "default", ":", "abort", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "name", "of", "a", "shifter", "operation", "."], "TS_V_token": ["arm", "\"asr\"", "\"lsr\"", "\"ror\""], "File": "arm", "Func": "arm_shift_nmem", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12290, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MMIXTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "const", "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_MMIX", ")", ";", "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", "(", "MMIXISD", "::", "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": ["MMIX", "MMIX", "ISD::OutputArg", "\"VarArg not supported\"", "16", "MMIX", "4", "1", "0", "\"Can only return in registers!\"", "1", "0", "MMIXISD::RET_FLAG", "MVT::Other"], "File": "MMIXISelLowering", "Func": "LowerReturn", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12291, "Length": 254, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SHUXIInstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["SHUXI", "SHUXI"], "File": "SHUXISubtarget", "Func": "getInstrInfo", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12292, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_emit_swdivsf", "(", "rtx", "res", ",", "rtx", "a", ",", "rtx", "b", ",", "machine_mode", "mode", ")", "{", "rtx", "x0", ",", "x1", ",", "e0", ",", "e1", ";", "x0", "=", "gen_reg_rtx", "(", "mode", ")", ";", "e0", "=", "gen_reg_rtx", "(", "mode", ")", ";", "e1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "x1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "b", "=", "force_reg", "(", "mode", ",", "b", ")", ";", "if", "(", "mode", "==", "V16SFmode", "||", "mode", "==", "V8DFmode", ")", "emit_insn", "(", "gen_rtx_SET", "(", "x0", ",", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "1", ",", "b", ")", ",", "UNSPEC_RCP14", ")", ")", ")", ";", "else", "emit_insn", "(", "gen_rtx_SET", "(", "x0", ",", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "1", ",", "b", ")", ",", "UNSPEC_RCP", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "e0", ",", "gen_rtx_MULT", "(", "mode", ",", "x0", ",", "b", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "e0", ",", "gen_rtx_MULT", "(", "mode", ",", "x0", ",", "e0", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "e1", ",", "gen_rtx_PLUS", "(", "mode", ",", "x0", ",", "x0", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "x1", ",", "gen_rtx_MINUS", "(", "mode", ",", "e1", ",", "e0", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "res", ",", "gen_rtx_MULT", "(", "mode", ",", "a", ",", "x1", ")", ")", ")", ";", "}", ""], "natrual_language": ["Output", "code", "to", "perform", "a", "Newton-Rhapson", "approximation", "of", "a", "single", "precision", "floating", "point", "divide", "[", "http", ":", "//en.wikipedia.org/wiki/N-th_root_algorithm", "]", "."], "TS_V_token": ["i386", "1", "1"], "File": "i3865", "Func": "ix86_emit_swdivsf", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12293, "Length": 203, "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", "ADDiu", "=", "ABI", ".", "GetPtrAddiuOp", "(", ")", ";", "if", "(", "Amount", "==", "0", ")", "return", ";", "if", "(", "ABI", ".", "IsCheriPureCap", "(", ")", ")", "{", "if", "(", "isInt", "<", "11", ">", "(", "Amount", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Mips", "::", "CIncOffsetImm", ")", ",", "SP", ")", ".", "addReg", "(", "SP", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "else", "{", "unsigned", "Reg", "=", "loadImmediate", "(", "Amount", ",", "MBB", ",", "I", ",", "DL", ",", "nullptr", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Mips", "::", "CIncOffset", ")", ",", "SP", ")", ".", "addReg", "(", "SP", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ";", "}", "}", "else", "if", "(", "isInt", "<", "16", ">", "(", "Amount", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ADDiu", ")", ",", "SP", ")", ".", "addReg", "(", "SP", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "else", "{", "unsigned", "Opc", "=", "ABI", ".", "GetPtrAdduOp", "(", ")", ";", "if", "(", "Amount", "<", "0", ")", "{", "Opc", "=", "ABI", ".", "GetPtrSubuOp", "(", ")", ";", "Amount", "=", "-", "Amount", ";", "}", "unsigned", "Reg", "=", "loadImmediate", "(", "Amount", ",", "MBB", ",", "I", ",", "DL", ",", "nullptr", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ",", "SP", ")", ".", "addReg", "(", "SP", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ";", "}", "}", ""], "natrual_language": ["Adjust", "SP", "by", "Amount", "bytes", "."], "TS_V_token": ["Mips", "Mips", "Mips", "0", "11", "Mips::CIncOffsetImm", "Mips::CIncOffset", "16", "0"], "File": "MipsSEInstrInfo30", "Func": "adjustStackPtr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12294, "Length": 271, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "llvm", "::", "Type", "*", "getVectorElementType", "(", "llvm", "::", "Type", "*", "Ty", ")", "{", "return", "llvm", "::", "cast", "<", "llvm", "::", "FixedVectorType", ">", "(", "Ty", ")", "->", "getElementType", "(", ")", ";", "}", ""], "natrual_language": ["Given", "a", "vector", "type", ",", "return", "the", "type", "of", "each", "element", "."], "TS_V_token": ["VE"], "File": "VETargetTransformInfo", "Func": "getVectorElementType", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12295, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addPreISel", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableGlobalMerge", ")", "addPass", "(", "createGlobalMergePass", "(", "TM", "->", "getTargetLowering", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["ARM", "ARM"], "File": "ARMTargetMachine100", "Func": "addPreISel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12296, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_mem_ref", "(", "rtx", "pat", ")", "{", "const", "char", "*", "fmt", ";", "int", "i", ",", "j", ";", "bool", "ret", "=", "false", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "MEM", ")", "return", "true", ";", "fmt", "=", "GET_RTX_FORMAT", "(", "GET_CODE", "(", "pat", ")", ")", ";", "for", "(", "i", "=", "GET_RTX_LENGTH", "(", "GET_CODE", "(", "pat", ")", ")", "-", "1", ";", "i", ">=", "0", "&&", "!", "ret", ";", "i", "--", ")", "{", "if", "(", "fmt", "[", "i", "]", "==", "'e'", ")", "ret", "|=", "is_mem_ref", "(", "XEXP", "(", "pat", ",", "i", ")", ")", ";", "else", "if", "(", "fmt", "[", "i", "]", "==", "'E'", ")", "for", "(", "j", "=", "XVECLEN", "(", "pat", ",", "i", ")", "-", "1", ";", "j", ">=", "0", ";", "j", "--", ")", "ret", "|=", "is_mem_ref", "(", "XVECEXP", "(", "pat", ",", "i", ",", "j", ")", ")", ";", "}", "return", "ret", ";", "}", ""], "natrual_language": ["Determine", "is", "PAT", "refers", "to", "memory", "."], "TS_V_token": ["rs6000", "1", "0", "1", "0"], "File": "rs60003", "Func": "is_mem_ref", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12297, "Length": 140, "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": 12298, "Length": 55, "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", "(", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RetLocs", ";", "CCState", "RetCCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "TM", ",", "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": "SystemZISelLowering55", "Func": "LowerReturn", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12299, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "force_into", "(", "rtx", "value", ",", "rtx", "target", ")", "{", "value", "=", "force_operand", "(", "value", ",", "target", ")", ";", "if", "(", "!", "rtx_equal_p", "(", "value", ",", "target", ")", ")", "emit_insn", "(", "gen_move_insn", "(", "target", ",", "value", ")", ")", ";", "}", ""], "natrual_language": ["Like", "force_operand", ",", "but", "guarantees", "that", "VALUE", "ends", "up", "in", "TARGET", "."], "TS_V_token": ["sh"], "File": "sh-mem", "Func": "force_into", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12300, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAsmPrinter", "::", "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", "true", ";", "case", "'c'", ":", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "case", "'L'", ":", "if", "(", "!", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isReg", "(", ")", "||", "OpNo", "+", "1", "==", "MI", "->", "getNumOperands", "(", ")", "||", "!", "MI", "->", "getOperand", "(", "OpNo", "+", "1", ")", ".", "isReg", "(", ")", ")", "return", "true", ";", "++", "OpNo", ";", "break", ";", "case", "'I'", ":", "if", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isImm", "(", ")", ")", "O", "<<", "\"i\"", ";", "return", "false", ";", "}", "}", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["PowerPC", "PPC", "0", "1", "0", "0", "1", "1", "\"i\""], "File": "PPCAsmPrinter11", "Func": "PrintAsmOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12301, "Length": 163, "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": 12302, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_output_function_prologue", "(", "FILE", "*", "f", ")", "{", "unsigned", "long", "func_type", ";", "gcc_assert", "(", "!", "arm_ccfsm_state", "&&", "!", "arm_target_insn", ")", ";", "func_type", "=", "arm_current_func_type", "(", ")", ";", "switch", "(", "(", "int", ")", "ARM_FUNC_TYPE", "(", "func_type", ")", ")", "{", "default", ":", "case", "ARM_FT_NORMAL", ":", "break", ";", "case", "ARM_FT_INTERWORKED", ":", "asm_fprintf", "(", "f", ",", "\"\\t%@ Function supports interworking.\\n\"", ")", ";", "break", ";", "case", "ARM_FT_ISR", ":", "asm_fprintf", "(", "f", ",", "\"\\t%@ Interrupt Service Routine.\\n\"", ")", ";", "break", ";", "case", "ARM_FT_FIQ", ":", "asm_fprintf", "(", "f", ",", "\"\\t%@ Fast Interrupt Service Routine.\\n\"", ")", ";", "break", ";", "case", "ARM_FT_EXCEPTION", ":", "asm_fprintf", "(", "f", ",", "\"\\t%@ ARM Exception Handler.\\n\"", ")", ";", "break", ";", "}", "if", "(", "IS_NAKED", "(", "func_type", ")", ")", "asm_fprintf", "(", "f", ",", "\"\\t%@ Naked Function: prologue and epilogue provided by programmer.\\n\"", ")", ";", "if", "(", "IS_VOLATILE", "(", "func_type", ")", ")", "asm_fprintf", "(", "f", ",", "\"\\t%@ Volatile: function does not return.\\n\"", ")", ";", "if", "(", "IS_NESTED", "(", "func_type", ")", ")", "asm_fprintf", "(", "f", ",", "\"\\t%@ Nested: function declared inside another function.\\n\"", ")", ";", "if", "(", "IS_STACKALIGN", "(", "func_type", ")", ")", "asm_fprintf", "(", "f", ",", "\"\\t%@ Stack Align: May be called with mis-aligned SP.\\n\"", ")", ";", "if", "(", "IS_CMSE_ENTRY", "(", "func_type", ")", ")", "asm_fprintf", "(", "f", ",", "\"\\t%@ Non-secure entry function: called from non-secure code.\\n\"", ")", ";", "asm_fprintf", "(", "f", ",", "\"\\t%@ args = %wd, pretend = %d, frame = %wd\\n\"", ",", "(", "HOST_WIDE_INT", ")", "crtl", "->", "args", ".", "size", ",", "crtl", "->", "args", ".", "pretend_args_size", ",", "(", "HOST_WIDE_INT", ")", "get_frame_size", "(", ")", ")", ";", "asm_fprintf", "(", "f", ",", "\"\\t%@ frame_needed = %d, uses_anonymous_args = %d\\n\"", ",", "frame_pointer_needed", ",", "cfun", "->", "machine", "->", "uses_anonymous_args", ")", ";", "if", "(", "cfun", "->", "machine", "->", "lr_save_eliminated", ")", "asm_fprintf", "(", "f", ",", "\"\\t%@ link register save eliminated.\\n\"", ")", ";", "if", "(", "crtl", "->", "calls_eh_return", ")", "asm_fprintf", "(", "f", ",", "\"\\t@ Calls __builtin_eh_return.\\n\"", ")", ";", "}", ""], "natrual_language": ["Place", "some", "comments", "into", "the", "assembler", "stream", "describing", "the", "current", "function", "."], "TS_V_token": ["arm", "\"\\t%@ Function supports interworking.\\n\"", "\"\\t%@ Interrupt Service Routine.\\n\"", "\"\\t%@ Fast Interrupt Service Routine.\\n\"", "\"\\t%@ ARM Exception Handler.\\n\"", "\"\\t%@ Naked Function: prologue and epilogue provided by programmer.\\n\"", "\"\\t%@ Volatile: function does not return.\\n\"", "\"\\t%@ Nested: function declared inside another function.\\n\"", "\"\\t%@ Stack Align: May be called with mis-aligned SP.\\n\"", "\"\\t%@ Non-secure entry function: called from non-secure code.\\n\"", "\"\\t%@ args = %wd, pretend = %d, frame = %wd\\n\"", "\"\\t%@ frame_needed = %d, uses_anonymous_args = %d\\n\"", "\"\\t%@ link register save eliminated.\\n\"", "\"\\t@ Calls __builtin_eh_return.\\n\""], "File": "arm", "Func": "arm_output_function_prologue", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12303, "Length": 238, "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": 12304, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_disqualify_components", "(", "sbitmap", ",", "edge", ",", "sbitmap", ",", "bool", ")", "{", "}", ""], "natrual_language": ["Implement", "TARGET_SHRINK_WRAP_DISQUALIFY_COMPONENTS", ".", "Nothing", "to", "do", "for", "aarch64", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_disqualify_components", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12305, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86FrameLowering", "::", "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", ";", "PI", "=", "skipDebugInstructionsBackward", "(", "PI", ",", "MBB", ".", "begin", "(", ")", ")", ";", "if", "(", "doMergeWithPrevious", "&&", "PI", "!=", "MBB", ".", "begin", "(", ")", "&&", "PI", "->", "isCFIInstruction", "(", ")", ")", "PI", "=", "std", "::", "prev", "(", "PI", ")", ";", "unsigned", "Opc", "=", "PI", "->", "getOpcode", "(", ")", ";", "int", "Offset", "=", "0", ";", "if", "(", "(", "Opc", "==", "X86", "::", "ADD64ri32", "||", "Opc", "==", "X86", "::", "ADD64ri8", "||", "Opc", "==", "X86", "::", "ADD32ri", "||", "Opc", "==", "X86", "::", "ADD32ri8", ")", "&&", "PI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "StackPtr", ")", "{", "assert", "(", "PI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "StackPtr", ")", ";", "Offset", "=", "PI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "}", "else", "if", "(", "(", "Opc", "==", "X86", "::", "LEA32r", "||", "Opc", "==", "X86", "::", "LEA64_32r", ")", "&&", "PI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "StackPtr", "&&", "PI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "StackPtr", "&&", "PI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "1", "&&", "PI", "->", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", "==", "X86", "::", "NoRegister", "&&", "PI", "->", "getOperand", "(", "5", ")", ".", "getReg", "(", ")", "==", "X86", "::", "NoRegister", ")", "{", "Offset", "=", "PI", "->", "getOperand", "(", "4", ")", ".", "getImm", "(", ")", ";", "}", "else", "if", "(", "(", "Opc", "==", "X86", "::", "SUB64ri32", "||", "Opc", "==", "X86", "::", "SUB64ri8", "||", "Opc", "==", "X86", "::", "SUB32ri", "||", "Opc", "==", "X86", "::", "SUB32ri8", ")", "&&", "PI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "StackPtr", ")", "{", "assert", "(", "PI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "StackPtr", ")", ";", "Offset", "=", "-", "PI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "}", "else", "return", "0", ";", "PI", "=", "MBB", ".", "erase", "(", "PI", ")", ";", "if", "(", "PI", "!=", "MBB", ".", "end", "(", ")", "&&", "PI", "->", "isCFIInstruction", "(", ")", ")", "{", "auto", "CIs", "=", "MBB", ".", "getParent", "(", ")", "->", "getFrameInstructions", "(", ")", ";", "MCCFIInstruction", "CI", "=", "CIs", "[", "PI", "->", "getOperand", "(", "0", ")", ".", "getCFIIndex", "(", ")", "]", ";", "if", "(", "CI", ".", "getOperation", "(", ")", "==", "MCCFIInstruction", "::", "OpDefCfaOffset", "||", "CI", ".", "getOperation", "(", ")", "==", "MCCFIInstruction", "::", "OpAdjustCfaOffset", ")", "PI", "=", "MBB", ".", "erase", "(", "PI", ")", ";", "}", "if", "(", "!", "doMergeWithPrevious", ")", "MBBI", "=", "skipDebugInstructionsForward", "(", "PI", ",", "MBB", ".", "end", "(", ")", ")", ";", "return", "Offset", ";", "}", ""], "natrual_language": ["Check", "the", "instruction", "before/after", "the", "passed", "instruction", "."], "TS_V_token": ["X86", "X86", "0", "0", "X86::ADD64ri32", "X86::ADD64ri8", "X86::ADD32ri", "X86::ADD32ri8", "0", "1", "2", "X86::LEA32r", "X86::LEA64_32r", "0", "1", "2", "1", "3", "X86::NoRegister", "5", "X86::NoRegister", "4", "X86::SUB64ri32", "X86::SUB64ri8", "X86::SUB32ri", "X86::SUB32ri8", "0", "1", "2", "0", "0"], "File": "X86FrameLowering (2)3", "Func": "mergeSPUpdates", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12306, "Length": 481, "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_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_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_DARWIN_NONLAZY", "X86II::MO_DARWIN_NONLAZY_PIC_BASE", "\"$non_lazy_ptr\"", "X86II::MO_DARWIN_NONLAZY", "X86II::MO_DARWIN_NONLAZY_PIC_BASE", "\"Extern symbol not handled yet\""], "File": "X86MCInstLower103", "Func": "GetSymbolFromOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12307, "Length": 322, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pop", "(", "int", "rn", ")", "{", "rtx", "x", ",", "sp_reg", ",", "reg", ";", "if", "(", "rn", "==", "FPUL_REG", ")", "x", "=", "gen_pop_fpul", "(", ")", ";", "else", "if", "(", "rn", "==", "FPSCR_REG", ")", "x", "=", "gen_pop_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", ";", "x", "=", "gen_pop_4", "(", "gen_rtx_REG", "(", "DFmode", ",", "rn", ")", ")", ";", "}", "else", "if", "(", "TARGET_SH2E", "&&", "FP_REGISTER_P", "(", "rn", ")", ")", "x", "=", "gen_pop_e", "(", "gen_rtx_REG", "(", "SFmode", ",", "rn", ")", ")", ";", "else", "x", "=", "gen_pop", "(", "gen_rtx_REG", "(", "SImode", ",", "rn", ")", ")", ";", "x", "=", "emit_insn", "(", "x", ")", ";", "sp_reg", "=", "gen_rtx_REG", "(", "SImode", ",", "STACK_POINTER_REGNUM", ")", ";", "reg", "=", "copy_rtx", "(", "GET_CODE", "(", "PATTERN", "(", "x", ")", ")", "==", "PARALLEL", "?", "SET_DEST", "(", "XVECEXP", "(", "PATTERN", "(", "x", ")", ",", "0", ",", "0", ")", ")", ":", "SET_DEST", "(", "PATTERN", "(", "x", ")", ")", ")", ";", "add_reg_note", "(", "x", ",", "REG_CFA_RESTORE", ",", "reg", ")", ";", "add_reg_note", "(", "x", ",", "REG_CFA_ADJUST_CFA", ",", "gen_rtx_SET", "(", "sp_reg", ",", "plus_constant", "(", "SImode", ",", "sp_reg", ",", "GET_MODE_SIZE", "(", "GET_MODE", "(", "reg", ")", ")", ")", ")", ")", ";", "add_reg_note", "(", "x", ",", "REG_INC", ",", "gen_rtx_REG", "(", "SImode", ",", "STACK_POINTER_REGNUM", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "x", ")", "=", "1", ";", "}", ""], "natrual_language": ["Output", "RTL", "to", "pop", "register", "RN", "from", "the", "stack", "."], "TS_V_token": ["sh", "1", "0", "0", "1"], "File": "sh5", "Func": "pop", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12308, "Length": 237, "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": 12309, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "stackProbeFunctionModifiesSP", "(", ")", "const", "{", "return", "STI", ".", "isOSWindows", "(", ")", "&&", "!", "STI", ".", "isTargetWin64", "(", ")", ";", "}", ""], "natrual_language": ["Does", "the", "stack", "probe", "function", "call", "return", "with", "a", "modified", "stack", "pointer", "?"], "TS_V_token": ["X86", "X86"], "File": "X86FrameLowering (2)3", "Func": "stackProbeFunctionModifiesSP", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12310, "Length": 23, "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": 12311, "Length": 431, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "char", "*", "rs6000_offload_options", "(", "void", ")", "{", "if", "(", "TARGET_64BIT", ")", "return", "xstrdup", "(", "\"-foffload-abi=lp64\"", ")", ";", "else", "return", "xstrdup", "(", "\"-foffload-abi=ilp32\"", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_OFFLOAD_OPTIONS", "hook", "."], "TS_V_token": ["rs6000", "\"-foffload-abi=lp64\"", "\"-foffload-abi=ilp32\""], "File": "rs6000", "Func": "rs6000_offload_options", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12312, "Length": 26, "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": ["Lanai"], "File": "LanaiAsmBackend18", "Func": "relaxInstruction", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12313, "Length": 16, "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", ";", "}", "}", "if", "(", "vector_all_ones_zero_extend_half_operand", "(", "x", ",", "mode", ")", "||", "vector_all_ones_zero_extend_quarter_operand", "(", "x", ",", "mode", ")", ")", "return", "3", ";", "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", "3", "0"], "File": "i3861", "Func": "standard_sse_constant_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12314, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MMIXTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "report_fatal_error", "(", "\"unimplemented operand\"", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "LowerSELECT", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["MMIX", "MMIX", "\"unimplemented operand\"", "ISD::GlobalAddress", "ISD::SELECT"], "File": "MMIXISelLowering", "Func": "LowerOperation", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12315, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sparc_tls_got", "(", "void", ")", "{", "if", "(", "flag_pic", ")", "{", "crtl", "->", "uses_pic_offset_table", "=", "1", ";", "return", "pic_offset_table_rtx", ";", "}", "if", "(", "TARGET_SUN_TLS", "&&", "TARGET_ARCH32", ")", "{", "load_got_register", "(", ")", ";", "return", "global_offset_table_rtx", ";", "}", "return", "copy_to_reg", "(", "sparc_got", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "Global", "Offset", "Table", "to", "be", "used", "in", "TLS", "mode", "."], "TS_V_token": ["sparc", "1"], "File": "sparc4", "Func": "sparc_tls_got", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12316, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "use_vfp_abi", "(", "enum", "arm_pcs", "pcs_variant", ",", "bool", "is_double", ")", "{", "if", "(", "pcs_variant", "==", "ARM_PCS_AAPCS_VFP", ")", "{", "static", "bool", "seen_thumb1_vfp", "=", "false", ";", "if", "(", "TARGET_THUMB1", "&&", "!", "seen_thumb1_vfp", ")", "{", "sorry", "(", "\"Thumb-1 % VFP ABI\"", ")", ";", "seen_thumb1_vfp", "=", "true", ";", "}", "return", "true", ";", "}", "if", "(", "pcs_variant", "!=", "ARM_PCS_AAPCS_LOCAL", ")", "return", "false", ";", "return", "(", "TARGET_32BIT", "&&", "TARGET_HARD_FLOAT", "&&", "(", "TARGET_VFP_DOUBLE", "||", "!", "is_double", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "PCS_VARIANT", "should", "use", "VFP", "registers", "."], "TS_V_token": ["arm", "\"Thumb-1 % VFP ABI\""], "File": "arm", "Func": "use_vfp_abi", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12317, "Length": 71, "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", "Func": "PreprocessISelDAG", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12318, "Length": 189, "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": ["MMIX"], "File": "MMIXAsmBackend", "Func": "fixupNeedsRelaxation", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12319, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb1RegisterInfo", "::", "resolveFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "I", ";", "const", "ARMBaseInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getTarget", "(", ")", ".", "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", "0", "\"Instr doesn't have FrameIndex operand!\"", "\"Unable to resolve frame index!\""], "File": "Thumb1RegisterInfo23", "Func": "resolveFrameIndex", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12320, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "fma_node", "::", "root_p", "(", ")", "{", "return", "this", "->", "m_root", "==", "this", ";", "}", ""], "natrual_language": ["Return", "whether", "a", "node", "is", "a", "root", "node", "."], "TS_V_token": ["aarch64"], "File": "cortex-a57-fma-steering", "Func": "root_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12321, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rx_is_restricted_memory_address", "(", "rtx", "mem", ",", "machine_mode", "mode", ")", "{", "if", "(", "!", "rx_is_legitimate_address", "(", "mode", ",", "mem", ",", "reload_in_progress", "||", "reload_completed", ")", ")", "return", "false", ";", "switch", "(", "GET_CODE", "(", "mem", ")", ")", "{", "case", "REG", ":", "return", "true", ";", "case", "SUBREG", ":", "return", "RX_REG_P", "(", "SUBREG_REG", "(", "mem", ")", ")", ";", "case", "PRE_DEC", ":", "case", "POST_INC", ":", "return", "false", ";", "case", "PLUS", ":", "{", "rtx", "base", ",", "index", ";", "base", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "index", "=", "XEXP", "(", "mem", ",", "1", ")", ";", "if", "(", "!", "RX_REG_P", "(", "base", ")", "||", "!", "CONST_INT_P", "(", "index", ")", ")", "return", "false", ";", "return", "IN_RANGE", "(", "INTVAL", "(", "index", ")", ",", "0", ",", "(", "0x10000", "*", "GET_MODE_SIZE", "(", "mode", ")", ")", "-", "1", ")", ";", "}", "case", "SYMBOL_REF", ":", "return", "true", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Returns", "TRUE", "for", "simple", "memory", "addreses", ",", "ie", "ones", "that", "do", "not", "involve", "register", "indirect", "addressing", "or", "pre/post", "increment/decrement", "."], "TS_V_token": ["rx", "0", "1", "0", "0x10000", "1"], "File": "rx", "Func": "rx_is_restricted_memory_address", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12322, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "reg_unused_after", "(", "rtx", "reg", ",", "rtx_insn", "*", "insn", ")", "{", "rtx", "set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "set", "&&", "!", "MEM_P", "(", "SET_DEST", "(", "set", ")", ")", "&&", "reg_overlap_mentioned_p", "(", "reg", ",", "SET_DEST", "(", "set", ")", ")", ")", "return", "true", ";", "while", "(", "(", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", ")", "{", "if", "(", "!", "INSN_P", "(", "insn", ")", ")", "continue", ";", "rtx_code", "code", "=", "GET_CODE", "(", "insn", ")", ";", "if", "(", "code", "==", "CODE_LABEL", ")", "return", "1", ";", "if", "(", "code", "==", "JUMP_INSN", ")", "return", "false", ";", "else", "if", "(", "code", "==", "INSN", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "SEQUENCE", ")", "{", "rtx_sequence", "*", "seq", "=", "as_a", "<", "rtx_sequence", "*", ">", "(", "PATTERN", "(", "insn", ")", ")", ";", "bool", "retval", "=", "false", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "seq", "->", "len", "(", ")", ";", "i", "++", ")", "{", "rtx_insn", "*", "this_insn", "=", "seq", "->", "insn", "(", "i", ")", ";", "rtx", "set", "=", "single_set", "(", "this_insn", ")", ";", "if", "(", "CALL_P", "(", "this_insn", ")", ")", "code", "=", "CALL_INSN", ";", "else", "if", "(", "JUMP_P", "(", "this_insn", ")", ")", "{", "if", "(", "INSN_ANNULLED_BRANCH_P", "(", "this_insn", ")", ")", "return", "false", ";", "code", "=", "JUMP_INSN", ";", "}", "if", "(", "set", "&&", "reg_overlap_mentioned_p", "(", "reg", ",", "SET_SRC", "(", "set", ")", ")", ")", "return", "false", ";", "if", "(", "set", "&&", "reg_overlap_mentioned_p", "(", "reg", ",", "SET_DEST", "(", "set", ")", ")", ")", "{", "if", "(", "!", "MEM_P", "(", "SET_DEST", "(", "set", ")", ")", ")", "retval", "=", "true", ";", "else", "return", "false", ";", "}", "if", "(", "set", "==", "NULL_RTX", "&&", "reg_overlap_mentioned_p", "(", "reg", ",", "PATTERN", "(", "this_insn", ")", ")", ")", "return", "false", ";", "}", "if", "(", "retval", ")", "return", "true", ";", "else", "if", "(", "code", "==", "JUMP_INSN", ")", "return", "false", ";", "}", "rtx", "set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "set", "&&", "reg_overlap_mentioned_p", "(", "reg", ",", "SET_SRC", "(", "set", ")", ")", ")", "return", "false", ";", "if", "(", "set", "&&", "reg_overlap_mentioned_p", "(", "reg", ",", "SET_DEST", "(", "set", ")", ")", ")", "return", "!", "MEM_P", "(", "SET_DEST", "(", "set", ")", ")", ";", "if", "(", "set", "==", "NULL", "&&", "reg_overlap_mentioned_p", "(", "reg", ",", "PATTERN", "(", "insn", ")", ")", ")", "return", "false", ";", "if", "(", "code", "==", "CALL_INSN", "&&", "call_used_regs", "[", "REGNO", "(", "reg", ")", "]", ")", "return", "true", ";", "}", "return", "true", ";", "}", ""], "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": ["sh", "1", "0"], "File": "sh", "Func": "reg_unused_after", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12323, "Length": 385, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86TargetMachine", "::", "X86TargetMachine", "(", "const", "Module", "&", "M", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "is64Bit", ")", ":", "Subtarget", "(", "M", ",", "FS", ",", "is64Bit", ")", ",", "DataLayout", "(", "Subtarget", ".", "getDataLayout", "(", ")", ")", ",", "FrameInfo", "(", "TargetFrameInfo", "::", "StackGrowsDown", ",", "Subtarget", ".", "getStackAlignment", "(", ")", ",", "Subtarget", ".", "is64Bit", "(", ")", "?", "-", "8", ":", "-", "4", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "JITInfo", "(", "*", "this", ")", ",", "TLInfo", "(", "*", "this", ")", "{", "DefRelocModel", "=", "getRelocationModel", "(", ")", ";", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Default", ")", "{", "if", "(", "Subtarget", ".", "isTargetDarwin", "(", ")", "||", "(", "Subtarget", ".", "isTargetCygMing", "(", ")", "&&", "!", "Subtarget", ".", "isTargetWin64", "(", ")", ")", ")", "setRelocationModel", "(", "Reloc", "::", "DynamicNoPIC", ")", ";", "else", "setRelocationModel", "(", "Reloc", "::", "Static", ")", ";", "}", "if", "(", "Subtarget", ".", "isTargetELF", "(", ")", "&&", "getRelocationModel", "(", ")", "==", "Reloc", "::", "DynamicNoPIC", ")", "setRelocationModel", "(", "Reloc", "::", "Static", ")", ";", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "{", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "DynamicNoPIC", ")", "setRelocationModel", "(", "Reloc", "::", "PIC_", ")", ";", "if", "(", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Default", ")", "setCodeModel", "(", "CodeModel", "::", "Small", ")", ";", "}", "if", "(", "Subtarget", ".", "isTargetCygMing", "(", ")", ")", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "WinPIC", ")", ";", "else", "if", "(", "Subtarget", ".", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "RIPRel", ")", ";", "else", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "Stub", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "isTargetELF", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "RIPRel", ")", ";", "else", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "GOT", ")", ";", "}", "}", ""], "natrual_language": ["Create", "an", "X86", "target", "."], "TS_V_token": ["X86", "X86", "X86", "8", "4"], "File": "X86TargetMachine40", "Func": "X86TargetMachine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12324, "Length": 298, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "includes_rldic_lshift_p", "(", "rtx", "shiftop", ",", "rtx", "andop", ")", "{", "if", "(", "GET_CODE", "(", "andop", ")", "==", "CONST_INT", ")", "{", "unsigned", "HOST_WIDE_INT", "c", ",", "lsb", ",", "shift_mask", ";", "c", "=", "INTVAL", "(", "andop", ")", ";", "if", "(", "c", "==", "0", "||", "c", "==", "HOST_WIDE_INT_M1U", ")", "return", "0", ";", "shift_mask", "=", "HOST_WIDE_INT_M1U", ";", "shift_mask", "<<=", "INTVAL", "(", "shiftop", ")", ";", "lsb", "=", "c", "&", "-", "c", ";", "if", "(", "-", "lsb", "!=", "shift_mask", ")", "return", "0", ";", "c", "=", "~", "c", ";", "c", "&=", "-", "lsb", ";", "lsb", "=", "c", "&", "-", "c", ";", "return", "c", "==", "-", "lsb", ";", "}", "else", "return", "0", ";", "}", ""], "natrual_language": ["Return", "1", "if", "ANDOP", "is", "a", "mask", "suitable", "for", "use", "with", "an", "rldic", "insn", "to", "perform", "a", "left", "shift", ".", "It", "must", "have", "exactly", "SHIFTOP", "least", "significant", "0", "'s", ",", "then", "one", "or", "more", "1", "'s", ",", "then", "zero", "or", "more", "0", "'s", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0"], "File": "rs60004", "Func": "includes_rldic_lshift_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12325, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_output_function_prologue", "(", "FILE", "*", "file", ",", "HOST_WIDE_INT", "size", "ATTRIBUTE_UNUSED", ")", "{", "rs6000_stack_t", "*", "info", "=", "rs6000_stack_info", "(", ")", ";", "if", "(", "TARGET_DEBUG_STACK", ")", "debug_stack_info", "(", "info", ")", ";", "if", "(", "info", "->", "first_fp_reg_save", "<", "64", "&&", "!", "FP_SAVE_INLINE", "(", "info", "->", "first_fp_reg_save", ")", ")", "fprintf", "(", "file", ",", "\"\\t.extern %s%d%s\\n\\t.extern %s%d%s\\n\"", ",", "SAVE_FP_PREFIX", ",", "info", "->", "first_fp_reg_save", "-", "32", ",", "SAVE_FP_SUFFIX", ",", "RESTORE_FP_PREFIX", ",", "info", "->", "first_fp_reg_save", "-", "32", ",", "RESTORE_FP_SUFFIX", ")", ";", "if", "(", "!", "TARGET_POWER", "&&", "!", "TARGET_POWERPC", "&&", "!", "common_mode_defined", ")", "{", "fputs", "(", "\"\\t.extern __mulh\\n\"", ",", "file", ")", ";", "fputs", "(", "\"\\t.extern __mull\\n\"", ",", "file", ")", ";", "fputs", "(", "\"\\t.extern __divss\\n\"", ",", "file", ")", ";", "fputs", "(", "\"\\t.extern __divus\\n\"", ",", "file", ")", ";", "fputs", "(", "\"\\t.extern __quoss\\n\"", ",", "file", ")", ";", "fputs", "(", "\"\\t.extern __quous\\n\"", ",", "file", ")", ";", "common_mode_defined", "=", "1", ";", "}", "if", "(", "!", "HAVE_prologue", ")", "{", "start_sequence", "(", ")", ";", "emit_note", "(", "NOTE_INSN_DELETED", ")", ";", "rs6000_emit_prologue", "(", ")", ";", "emit_note", "(", "NOTE_INSN_DELETED", ")", ";", "{", "rtx", "insn", ";", "unsigned", "addr", "=", "0", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", "!=", "0", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "INSN_ADDRESSES_NEW", "(", "insn", ",", "addr", ")", ";", "addr", "+=", "4", ";", "}", "}", "if", "(", "TARGET_DEBUG_STACK", ")", "debug_rtx_list", "(", "get_insns", "(", ")", ",", "100", ")", ";", "final", "(", "get_insns", "(", ")", ",", "file", ",", "FALSE", ")", ";", "end_sequence", "(", ")", ";", "}", "rs6000_pic_labelno", "++", ";", "}", ""], "natrual_language": ["Write", "function", "prologue", "."], "TS_V_token": ["rs6000", "64", "\"\\t.extern %s%d%s\\n\\t.extern %s%d%s\\n\"", "32", "32", "\"\\t.extern __mulh\\n\"", "\"\\t.extern __mull\\n\"", "\"\\t.extern __divss\\n\"", "\"\\t.extern __divus\\n\"", "\"\\t.extern __quoss\\n\"", "\"\\t.extern __quous\\n\"", "1", "0", "0", "4", "100"], "File": "rs60003", "Func": "rs6000_output_function_prologue", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12326, "Length": 231, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ArrayRef", "<", "MCPhysReg", ">", "MipsABIInfo", "::", "GetVarArgRegs", "(", ")", "const", "{", "if", "(", "IsO32", "(", ")", ")", "return", "makeArrayRef", "(", "O32IntRegs", ")", ";", "if", "(", "IsN32", "(", ")", "||", "IsN64", "(", ")", ")", "return", "makeArrayRef", "(", "Mips64IntRegs", ")", ";", "llvm_unreachable", "(", "\"Unhandled ABI\"", ")", ";", "}", ""], "natrual_language": ["The", "registers", "to", "use", "for", "the", "variable", "argument", "list", "."], "TS_V_token": ["Mips", "Mips", "Mips", "\"Unhandled ABI\""], "File": "MipsABIInfo", "Func": "GetVarArgRegs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12327, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetLowering", "::", "HandleByVal", "(", "CCState", "*", "State", ",", "unsigned", "&", "Size", ",", "unsigned", "Align", ")", "const", "{", "MachineFunction", "&", "MF", "=", "State", "->", "getMachineFunction", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFL", "=", "MF", ".", "getTarget", "(", ")", ".", "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", "=", "Subtarget", ".", "getABI", "(", ")", ".", "GetByValArgRegs", "(", ")", ";", "const", "MCPhysReg", "*", "ShadowRegs", "=", "Subtarget", ".", "isABI_O32", "(", ")", "?", "IntArgRegs", ".", "data", "(", ")", ":", "Mips64DPRegs", ";", "assert", "(", "!", "(", "Align", "%", "RegSizeInBytes", ")", "&&", "\"Byval argument's alignment should be a multiple of\"", "\"RegSizeInBytes.\"", ")", ";", "FirstReg", "=", "State", "->", "getFirstUnallocated", "(", "IntArgRegs", ".", "data", "(", ")", ",", "IntArgRegs", ".", "size", "(", ")", ")", ";", "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": "MipsISelLowering3", "Func": "HandleByVal", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12328, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmPrinter", "::", "lowerOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCOperand", "&", "MCOp", ")", "{", "MCOp", "=", "MCInstLowering", ".", "LowerOperand", "(", "MO", ")", ";", "return", "MCOp", ".", "isValid", "(", ")", ";", "}", ""], "natrual_language": ["Wrapper", "for", "MCInstLowering.lowerOperand", "(", ")", "for", "the", "tblgen'erated", "pseudo", "lowering", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsAsmPrinter (2)1", "Func": "lowerOperand", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12329, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "hashval_t", "bundle_state_hasher", "::", "hash", "(", "const", "value_type", "*", "state", ")", "{", "unsigned", "result", ",", "i", ";", "for", "(", "result", "=", "i", "=", "0", ";", "i", "<", "dfa_state_size", ";", "i", "++", ")", "result", "+=", "(", "(", "(", "unsigned", "char", "*", ")", "state", "->", "dfa_state", ")", "[", "i", "]", "<<", "(", "(", "i", "%", "CHAR_BIT", ")", "*", "3", "+", "CHAR_BIT", ")", ")", ";", "return", "result", "+", "state", "->", "insn_num", ";", "}", ""], "natrual_language": ["Hash", "function", "for", "builtin", "functions", "with", "up", "to", "3", "arguments", "and", "a", "return", "type", "."], "TS_V_token": ["ia64", "0", "3"], "File": "ia644", "Func": "hash", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12330, "Length": 70, "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", "{", "const", "ARMSubtarget", "&", "Subtarget", "=", "DAG", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "if", "(", "Subtarget", ".", "isTargetNaCl", "(", ")", "||", "!", "EnableARMAEABIFunctions", "||", "!", "Subtarget", ".", "isAAPCS_ABI", "(", ")", "||", "Subtarget", ".", "isTargetMachO", "(", ")", "||", "Subtarget", ".", "isTargetWindows", "(", ")", ")", "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", "(", "DAG", ")", ";", "CLI", ".", "setDebugLoc", "(", "dl", ")", ".", "setChain", "(", "Chain", ")", ".", "setCallee", "(", "TLI", ".", "getLibcallCallingConv", "(", "RTLIB", "::", "MEMSET", ")", ",", "Type", "::", "getVoidTy", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ",", "DAG", ".", "getExternalSymbol", "(", "TLI", ".", "getLibcallName", "(", "RTLIB", "::", "MEMSET", ")", ",", "TLI", ".", "getPointerTy", "(", ")", ")", ",", "std", "::", "move", "(", "Args", ")", ",", "0", ")", ".", "setDiscardResult", "(", ")", ";", "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", "ARM", "ARM", "MVT::i32", "ISD::TRUNCATE", "MVT::i32", "ISD::ZERO_EXTEND", "MVT::i32", "0"], "File": "ARMSelectionDAGInfo46", "Func": "EmitTargetCodeForMemset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12331, "Length": 375, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "i860_saveregs", "(", ")", "{", "rtx", "fn", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"__builtin_saveregs\"", ")", ";", "rtx", "save", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "valreg", "=", "LIBCALL_VALUE", "(", "Pmode", ")", ";", "rtx", "ret", ";", "emit_move_insn", "(", "save", ",", "valreg", ")", ";", "ret", "=", "emit_library_call_value", "(", "fn", ",", "NULL_RTX", ",", "1", ",", "Pmode", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "ret", ")", "!=", "REG", "||", "REGNO", "(", "ret", ")", "<", "FIRST_PSEUDO_REGISTER", ")", "ret", "=", "copy_to_reg", "(", "ret", ")", ";", "emit_move_insn", "(", "valreg", ",", "save", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Expand", "a", "library", "call", "to", "__builtin_saveregs", "."], "TS_V_token": ["i860", "\"__builtin_saveregs\"", "1", "0"], "File": "i860", "Func": "i860_saveregs", "Target": "i860", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12332, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Sched", "::", "Preference", "PPCTargetLowering", "::", "getSchedulingPreference", "(", "SDNode", "*", "N", ")", "const", "{", "if", "(", "DisableILPPref", ")", "return", "TargetLowering", "::", "getSchedulingPreference", "(", "N", ")", ";", "return", "Sched", "::", "ILP", ";", "}", ""], "natrual_language": ["Some", "scheduler", ",", "e.g", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCISelLowering (2)1", "Func": "getSchedulingPreference", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12333, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_case_values_threshold", "(", "void", ")", "{", "if", "(", "optimize", ">", "2", "&&", "selected_cpu", "->", "tune", "->", "max_case_values", "!=", "0", ")", "return", "selected_cpu", "->", "tune", "->", "max_case_values", ";", "else", "return", "optimize_size", "?", "default_case_values_threshold", "(", ")", ":", "17", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CASE_VALUES_THRESHOLD", "."], "TS_V_token": ["aarch64", "2", "0", "17"], "File": "aarch64", "Func": "aarch64_case_values_threshold", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12334, "Length": 40, "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", ":", "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)", "Func": "CCAssignFnForCall", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12335, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "if", "(", "SystemZ", "::", "GR128BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "copyPhysReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "RI", ".", "getSubReg", "(", "DestReg", ",", "SystemZ", "::", "subreg_h64", ")", ",", "RI", ".", "getSubReg", "(", "SrcReg", ",", "SystemZ", "::", "subreg_h64", ")", ",", "KillSrc", ")", ";", "copyPhysReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "RI", ".", "getSubReg", "(", "DestReg", ",", "SystemZ", "::", "subreg_l64", ")", ",", "RI", ".", "getSubReg", "(", "SrcReg", ",", "SystemZ", "::", "subreg_l64", ")", ",", "KillSrc", ")", ";", "return", ";", "}", "if", "(", "SystemZ", "::", "GRX32BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "emitGRX32Move", "(", "MBB", ",", "MBBI", ",", "DL", ",", "DestReg", ",", "SrcReg", ",", "SystemZ", "::", "LR", ",", "32", ",", "KillSrc", ")", ";", "return", ";", "}", "unsigned", "Opcode", ";", "if", "(", "SystemZ", "::", "GR64BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "LGR", ";", "else", "if", "(", "SystemZ", "::", "FP32BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "LER", ";", "else", "if", "(", "SystemZ", "::", "FP64BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "LDR", ";", "else", "if", "(", "SystemZ", "::", "FP128BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "LXR", ";", "else", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "Opcode", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ::GR128BitRegClass", "SystemZ::subreg_h64", "SystemZ::subreg_h64", "SystemZ::subreg_l64", "SystemZ::subreg_l64", "SystemZ::GRX32BitRegClass", "SystemZ::LR", "32", "SystemZ::GR64BitRegClass", "SystemZ::LGR", "SystemZ::FP32BitRegClass", "SystemZ::LER", "SystemZ::FP64BitRegClass", "SystemZ::LDR", "SystemZ::FP128BitRegClass", "SystemZ::LXR", "\"Impossible reg-to-reg copy\""], "File": "SystemZInstrInfo14", "Func": "copyPhysReg", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12336, "Length": 264, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addInstSelector", "(", ")", "{", "PM", ".", "add", "(", "createARMISelDag", "(", "getARMTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "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", "ARM"], "File": "ARMTargetMachine109", "Func": "addInstSelector", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12337, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "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", "(", "I", "->", "getOpcode", "(", ")", "!=", "X86", "::", "JMP_1", "&&", "X86", "::", "getCondFromBranchOpc", "(", "I", "->", "getOpcode", "(", ")", ")", "==", "X86", "::", "COND_INVALID", ")", "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": ["X86", "X86", "\"code size not handled\"", "0", "X86::JMP_1", "X86::getCondFromBranchOpc", "X86::COND_INVALID"], "File": "X86InstrInfo113", "Func": "removeBranch", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12338, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb1RegisterInfo", "::", "resolveFrameIndex", "(", "MachineInstr", "&", "MI", ",", "unsigned", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "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", "0", "\"Instr doesn't have FrameIndex operand!\"", "\"Unable to resolve frame index!\""], "File": "Thumb1RegisterInfo8", "Func": "resolveFrameIndex", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12339, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ",", "MCContext", "&", "Ctx", ")", "const", "override", "{", "Value", "=", "adjustFixupValue", "(", "Fixup", ".", "getKind", "(", ")", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "4", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittleEndian", "?", "i", ":", "3", "-", "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": ["Sparc", "0", "4", "3", "8", "0xff"], "File": "SparcAsmBackend10", "Func": "applyFixup", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12340, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_target_reg", "(", "rtx", "target", ",", "machine_mode", "mode", ")", "{", "if", "(", "target", "&&", "REG_P", "(", "target", ")", "&&", "GET_MODE", "(", "target", ")", "==", "mode", ")", "return", "target", ";", "if", "(", "!", "can_create_pseudo_p", "(", ")", ")", "{", "gcc_assert", "(", "target", ")", ";", "return", "gen_lowpart", "(", "mode", ",", "target", ")", ";", "}", "return", "gen_reg_rtx", "(", "mode", ")", ";", "}", ""], "natrual_language": ["Return", "TARGET", "if", "it", "is", "nonnull", "and", "a", "register", "of", "mode", "MODE", ".", "Otherwise", ",", "return", "a", "fresh", "register", "of", "mode", "MODE", "if", "we", "can", ",", "or", "TARGET", "reinterpreted", "as", "MODE", "if", "we", "ca", "n't", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_target_reg", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12341, "Length": 59, "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": 12342, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineMemOperand", "::", "Flags", "AArch64TargetLowering", "::", "getTargetMMOFlags", "(", "const", "Instruction", "&", "I", ")", "const", "{", "if", "(", "Subtarget", "->", "getProcFamily", "(", ")", "==", "AArch64Subtarget", "::", "Falkor", "&&", "I", ".", "getMetadata", "(", "FALKOR_STRIDED_ACCESS_MD", ")", "!=", "nullptr", ")", "return", "MOStridedAccess", ";", "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": ["AArch64", "AArch64", "AArch64"], "File": "AArch64ISelLowering (2)2", "Func": "getTargetMMOFlags", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12343, "Length": 44, "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", ")", "||", "TT", ".", "isOSDarwin", "(", ")", ")", "{", "Reserved", ".", "set", "(", "AArch64", "::", "FP", ")", ";", "Reserved", ".", "set", "(", "AArch64", "::", "W29", ")", ";", "}", "if", "(", "TT", ".", "isOSDarwin", "(", ")", "||", "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": "AArch64RegisterInfo34", "Func": "getReservedRegs", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12344, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isPredicable", "(", "MachineInstr", "*", "MI", ")", "const", "{", "const", "TargetInstrDesc", "&", "TID", "=", "MI", "->", "getDesc", "(", ")", ";", "if", "(", "!", "TID", ".", "isPredicable", "(", ")", ")", "return", "false", ";", "if", "(", "(", "TID", ".", "TSFlags", "&", "ARMII", "::", "DomainMask", ")", "==", "ARMII", "::", "DomainNEON", ")", "{", "ARMFunctionInfo", "*", "AFI", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "return", "AFI", "->", "isThumb2Function", "(", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "instruction", "can", "be", "predicated", "."], "TS_V_token": ["ARM", "ARM", "ARMII::DomainMask", "ARMII::DomainNEON", "ARM", "ARM"], "File": "ARMBaseInstrInfo11", "Func": "isPredicable", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12345, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "static", "rtx_insn", "*", "emit_set_insn", "(", "rtx", "x", ",", "rtx", "y", ")", "{", "return", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "x", ",", "y", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "insn", "that", "'s", "a", "simple", "single-set", ".", "Both", "the", "operands", "must", "be", "known", "to", "be", "valid", "."], "TS_V_token": ["arm"], "File": "arm4", "Func": "emit_set_insn", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12346, "Length": 27, "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": 12347, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "som_output_text_section_asm_op", "(", "const", "char", "*", "data", "ATTRIBUTE_UNUSED", ")", "{", "gcc_assert", "(", "TARGET_SOM", ")", ";", "if", "(", "TARGET_GAS", ")", "{", "if", "(", "cfun", "&&", "cfun", "->", "machine", "&&", "!", "cfun", "->", "machine", "->", "in_nsubspa", ")", "{", "cfun", "->", "machine", "->", "in_nsubspa", "=", "1", ";", "if", "(", "cfun", "->", "decl", "&&", "DECL_ONE_ONLY", "(", "cfun", "->", "decl", ")", "&&", "!", "DECL_WEAK", "(", "cfun", "->", "decl", ")", ")", "{", "output_section_asm_op", "(", "\"\\t.SPACE $TEXT$\\n\"", "\"\\t.NSUBSPA $CODE$,QUAD=0,ALIGN=8,\"", "\"ACCESS=44,SORT=24,COMDAT\"", ")", ";", "return", ";", "}", "}", "else", "{", "gcc_assert", "(", "!", "cfun", "||", "!", "cfun", "->", "machine", "||", "cfun", "->", "machine", "->", "in_nsubspa", "==", "2", ")", ";", "in_section", "=", "NULL", ";", "}", "output_section_asm_op", "(", "\"\\t.SPACE $TEXT$\\n\\t.NSUBSPA $CODE$\"", ")", ";", "return", ";", "}", "output_section_asm_op", "(", "\"\\t.SPACE $TEXT$\\n\\t.SUBSPA $CODE$\"", ")", ";", "}", ""], "natrual_language": ["A", "get_unnamed_section", "callback", "for", "switching", "to", "the", "text", "section", ".", "This", "function", "is", "only", "used", "with", "SOM", ".", "Because", "we", "do", "n't", "support", "named", "subspaces", ",", "we", "can", "only", "create", "a", "new", "subspace", "or", "switch", "back", "to", "the", "default", "text", "subspace", "."], "TS_V_token": ["pa", "1", "\"\\t.SPACE $TEXT$\\n\"", "\"\\t.NSUBSPA $CODE$,QUAD=0,ALIGN=8,\"", "\"ACCESS=44,SORT=24,COMDAT\"", "2", "\"\\t.SPACE $TEXT$\\n\\t.NSUBSPA $CODE$\"", "\"\\t.SPACE $TEXT$\\n\\t.SUBSPA $CODE$\""], "File": "pa", "Func": "som_output_text_section_asm_op", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12348, "Length": 118, "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": 12349, "Length": 395, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "iq2000_option_override", "(", "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": ["Detect", "any", "conflicts", "in", "the", "switches", "."], "TS_V_token": ["iq2000", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1"], "File": "iq2000", "Func": "iq2000_option_override", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12350, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "LanaiRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", ")", "const", "{", "return", "Lanai", "::", "FP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai::FP"], "File": "LanaiRegisterInfo10", "Func": "getFrameRegister", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12351, "Length": 17, "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": ["CAHP"], "File": "CAHPRegisterInfo", "Func": "trackLivenessAfterRegAlloc", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12352, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86NaClRewritePass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "Modified", "=", "false", ";", "TM", "=", "&", "MF", ".", "getTarget", "(", ")", ";", "TII", "=", "TM", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "TM", "->", "getRegisterInfo", "(", ")", ";", "Subtarget", "=", "&", "TM", "->", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "Is64Bit", "=", "Subtarget", "->", "is64Bit", "(", ")", ";", "assert", "(", "Subtarget", "->", "isTargetNaCl", "(", ")", "&&", "\"Unexpected target in NaClRewritePass!\"", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"*************** NaCl Rewrite Pass ***************\\n\"", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "MFI", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "MFI", "!=", "E", ";", "++", "MFI", ")", "{", "Modified", "|=", "runOnMachineBasicBlock", "(", "*", "MFI", ")", ";", "}", "Modified", "|=", "AlignJumpTableTargets", "(", "MF", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"*************** NaCl Rewrite DONE ***************\\n\"", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "\"Unexpected target in NaClRewritePass!\"", "\"*************** NaCl Rewrite Pass ***************\\n\"", "\"*************** NaCl Rewrite DONE ***************\\n\""], "File": "X86NaClRewritePass1", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12353, "Length": 138, "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", "&&", "TARGET_DOUBLE_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": "rs60007", "Func": "rs6000_emit_epilogue_components", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12354, "Length": 341, "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": 12355, "Length": 13, "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", ";", "unsigned", "HOST_WIDE_INT", "dsize", ",", "dalign", ",", "lsb", ",", "mask", ";", "if", "(", "!", "SYMBOL_REF_P", "(", "op", ")", ")", "return", "false", ";", "if", "(", "mode_supports_dq_form", "(", "mode", ")", ")", "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", ";", "dalign", "/=", "BITS_PER_UNIT", ";", "if", "(", "dalign", ">", "POWERPC64_TOC_POINTER_ALIGNMENT", ")", "dalign", "=", "POWERPC64_TOC_POINTER_ALIGNMENT", ";", "return", "dalign", ">=", "dsize", ";", "}", "}", "else", "gcc_unreachable", "(", ")", ";", "dalign", "/=", "BITS_PER_UNIT", ";", "if", "(", "dalign", ">", "POWERPC64_TOC_POINTER_ALIGNMENT", ")", "dalign", "=", "POWERPC64_TOC_POINTER_ALIGNMENT", ";", "mask", "=", "dalign", "-", "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", "1", "1", "1"], "File": "rs6000", "Func": "offsettable_ok_by_alignment", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12356, "Length": 289, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 Assembly Printer\""], "File": "X86AsmPrinter (2)2", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12357, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "getARMSubtarget", "(", ")", ".", "isThumb2", "(", ")", ")", "{", "if", "(", "!", "getARMSubtarget", "(", ")", ".", "prefers32BitThumb", "(", ")", ")", "PM", ".", "add", "(", "createThumb2SizeReductionPass", "(", ")", ")", ";", "addPass", "(", "UnpackMachineBundlesID", ")", ";", "}", "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", "ARM", "ARM"], "File": "ARMTargetMachine109", "Func": "addPreEmitPass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12358, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_output_multireg_pop", "(", "rtx", "*", "operands", ",", "bool", "return_pc", ",", "rtx", "cond", ",", "bool", "reverse", ",", "bool", "update", ")", "{", "int", "i", ";", "char", "pattern", "[", "100", "]", ";", "int", "offset", ";", "const", "char", "*", "conditional", ";", "int", "num_saves", "=", "XVECLEN", "(", "operands", "[", "0", "]", ",", "0", ")", ";", "unsigned", "int", "regno", ";", "unsigned", "int", "regno_base", "=", "REGNO", "(", "operands", "[", "1", "]", ")", ";", "offset", "=", "0", ";", "offset", "+=", "update", "?", "1", ":", "0", ";", "offset", "+=", "return_pc", "?", "1", ":", "0", ";", "for", "(", "i", "=", "offset", ";", "i", "<", "num_saves", ";", "i", "++", ")", "{", "regno", "=", "REGNO", "(", "XEXP", "(", "XVECEXP", "(", "operands", "[", "0", "]", ",", "0", ",", "i", ")", ",", "0", ")", ")", ";", "gcc_assert", "(", "(", "regno", "!=", "SP_REGNUM", ")", "||", "(", "regno_base", "==", "SP_REGNUM", ")", ")", ";", "if", "(", "regno", "==", "regno_base", ")", "gcc_assert", "(", "!", "update", ")", ";", "}", "conditional", "=", "reverse", "?", "\"%?%D0\"", ":", "\"%?%d0\"", ";", "if", "(", "(", "regno_base", "==", "SP_REGNUM", ")", "&&", "TARGET_UNIFIED_ASM", ")", "{", "gcc_assert", "(", "update", ")", ";", "sprintf", "(", "pattern", ",", "\"pop%s\\t{\"", ",", "conditional", ")", ";", "}", "else", "{", "if", "(", "regno_base", "==", "SP_REGNUM", ")", "sprintf", "(", "pattern", ",", "\"ldm%sfd\\t\"", ",", "conditional", ")", ";", "else", "if", "(", "TARGET_UNIFIED_ASM", ")", "sprintf", "(", "pattern", ",", "\"ldmia%s\\t\"", ",", "conditional", ")", ";", "else", "sprintf", "(", "pattern", ",", "\"ldm%sia\\t\"", ",", "conditional", ")", ";", "strcat", "(", "pattern", ",", "reg_names", "[", "regno_base", "]", ")", ";", "if", "(", "update", ")", "strcat", "(", "pattern", ",", "\"!, {\"", ")", ";", "else", "strcat", "(", "pattern", ",", "\", {\"", ")", ";", "}", "strcat", "(", "pattern", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "XVECEXP", "(", "operands", "[", "0", "]", ",", "0", ",", "offset", ")", ",", "0", ")", ")", "]", ")", ";", "for", "(", "i", "=", "offset", "+", "1", ";", "i", "<", "num_saves", ";", "i", "++", ")", "{", "strcat", "(", "pattern", ",", "\", \"", ")", ";", "strcat", "(", "pattern", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "XVECEXP", "(", "operands", "[", "0", "]", ",", "0", ",", "i", ")", ",", "0", ")", ")", "]", ")", ";", "}", "strcat", "(", "pattern", ",", "\"}\"", ")", ";", "if", "(", "IS_INTERRUPT", "(", "arm_current_func_type", "(", ")", ")", "&&", "return_pc", ")", "strcat", "(", "pattern", ",", "\"^\"", ")", ";", "output_asm_insn", "(", "pattern", ",", "&", "cond", ")", ";", "}", ""], "natrual_language": ["OPERANDS", "[", "0", "]", "is", "the", "entire", "list", "of", "insns", "that", "constitute", "pop", ",", "OPERANDS", "[", "1", "]", "is", "the", "base", "register", ",", "RETURN_PC", "is", "true", "iff", "return", "insn", "is", "in", "the", "list", ",", "UPDATE", "is", "true", "iff", "the", "list", "contains", "explicit", "update", "of", "base", "register", "."], "TS_V_token": ["arm", "100", "0", "0", "1", "0", "1", "0", "1", "0", "0", "0", "0", "\"%?%D0\"", "\"%?%d0\"", "\"pop%s\\t{\"", "\"ldm%sfd\\t\"", "\"ldmia%s\\t\"", "\"ldm%sia\\t\"", "\"!, {\"", "\", {\"", "0", "0", "0", "1", "\", \"", "0", "0", "0", "\"}\"", "\"^\""], "File": "arm4", "Func": "arm_output_multireg_pop", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12359, "Length": 369, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "PPCFrameLowering", "::", "getTOCSaveOffset", "(", ")", "const", "{", "return", "TOCSaveOffset", ";", "}", ""], "natrual_language": ["getTOCSaveOffset", "-", "Return", "the", "previous", "frame", "offset", "to", "save", "the", "TOC", "register", "\ufffd", "?", "64-bit", "SVR4", "ABI", "only", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCFrameLowering16", "Func": "getTOCSaveOffset", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12360, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_convert_uns_sixf_sse", "(", "rtx", ",", "rtx", ")", "{", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Not", "used", ",", "but", "eases", "macroization", "of", "patterns", "."], "TS_V_token": ["i386"], "File": "i386-expand", "Func": "ix86_expand_convert_uns_sixf_sse", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12361, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_function_arg_advance", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "int", "words", "=", "ia64_function_arg_words", "(", "type", ",", "mode", ")", ";", "int", "offset", "=", "ia64_function_arg_offset", "(", "cum", ",", "type", ",", "words", ")", ";", "machine_mode", "hfa_mode", "=", "VOIDmode", ";", "if", "(", "cum", "->", "words", ">=", "MAX_ARGUMENT_SLOTS", ")", "{", "cum", "->", "words", "+=", "words", "+", "offset", ";", "return", ";", "}", "cum", "->", "atypes", "[", "cum", "->", "words", "]", "=", "ia64_arg_type", "(", "mode", ")", ";", "cum", "->", "words", "+=", "words", "+", "offset", ";", "if", "(", "TARGET_ABI_OPEN_VMS", ")", "{", "cum", "->", "int_regs", "=", "cum", "->", "words", ";", "cum", "->", "fp_regs", "=", "cum", "->", "words", ";", "return", ";", "}", "if", "(", "type", ")", "hfa_mode", "=", "hfa_element_mode", "(", "type", ",", "0", ")", ";", "if", "(", "hfa_mode", "!=", "VOIDmode", "&&", "(", "!", "cum", "->", "prototype", "||", "named", ")", ")", "{", "int", "fp_regs", "=", "cum", "->", "fp_regs", ";", "int", "int_regs", "=", "cum", "->", "words", "-", "words", ";", "int", "hfa_size", "=", "GET_MODE_SIZE", "(", "hfa_mode", ")", ";", "int", "byte_size", ";", "int", "args_byte_size", ";", "byte_size", "=", "(", "(", "mode", "==", "BLKmode", ")", "?", "int_size_in_bytes", "(", "type", ")", ":", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "args_byte_size", "=", "int_regs", "*", "UNITS_PER_WORD", ";", "offset", "=", "0", ";", "for", "(", ";", "(", "offset", "<", "byte_size", "&&", "fp_regs", "<", "MAX_ARGUMENT_SLOTS", "&&", "args_byte_size", "<", "(", "MAX_ARGUMENT_SLOTS", "*", "UNITS_PER_WORD", ")", ")", ";", ")", "{", "offset", "+=", "hfa_size", ";", "args_byte_size", "+=", "hfa_size", ";", "fp_regs", "++", ";", "}", "cum", "->", "fp_regs", "=", "fp_regs", ";", "}", "else", "if", "(", "mode", "==", "TFmode", "||", "mode", "==", "TCmode", "||", "(", "!", "FLOAT_MODE_P", "(", "mode", ")", "||", "cum", "->", "fp_regs", "==", "MAX_ARGUMENT_SLOTS", ")", ")", "cum", "->", "int_regs", "=", "cum", "->", "words", ";", "else", "if", "(", "cum", "->", "prototype", ")", "{", "if", "(", "!", "named", ")", "cum", "->", "int_regs", "=", "cum", "->", "words", ";", "else", "cum", "->", "fp_regs", "+=", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_FLOAT", "?", "2", ":", "1", ")", ";", "}", "else", "{", "cum", "->", "fp_regs", "+=", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_FLOAT", "?", "2", ":", "1", ")", ";", "cum", "->", "int_regs", "=", "cum", "->", "words", ";", "}", "}", ""], "natrual_language": ["Update", "CUM", "to", "point", "after", "this", "argument", ".", "This", "is", "patterned", "after", "ia64_function_arg", "."], "TS_V_token": ["ia64", "0", "0", "2", "1", "2", "1"], "File": "ia644", "Func": "ia64_function_arg_advance", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12362, "Length": 352, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "xstormy16_asm_out_destructor", "(", "rtx", "symbol", ",", "int", "priority", ")", "{", "const", "char", "*", "section", "=", "\".dtors\"", ";", "char", "buf", "[", "18", "]", ";", "if", "(", "priority", "!=", "DEFAULT_INIT_PRIORITY", ")", "{", "sprintf", "(", "buf", ",", "\".dtors.%.5u\"", ",", "MAX_INIT_PRIORITY", "-", "priority", ")", ";", "section", "=", "buf", ";", "}", "switch_to_section", "(", "get_section", "(", "section", ",", "0", ",", "NULL", ")", ")", ";", "assemble_align", "(", "POINTER_SIZE", ")", ";", "assemble_integer", "(", "symbol", ",", "POINTER_SIZE", "/", "BITS_PER_UNIT", ",", "POINTER_SIZE", ",", "1", ")", ";", "}", ""], "natrual_language": ["Output", "constructors", "and", "destructors", ".", "Just", "like", "default_named_section_asm_out_", "*", "but", "do", "n't", "set", "the", "sections", "writable", "."], "TS_V_token": ["stormy16", "\".dtors\"", "18", "\".dtors.%.5u\"", "0", "1"], "File": "stormy16", "Func": "xstormy16_asm_out_destructor", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12363, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MLxExpansion", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "TII", "=", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "Fn", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "Fn", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "Fn", ".", "getRegInfo", "(", ")", ";", "const", "ARMSubtarget", "*", "STI", "=", "&", "Fn", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "isA9", "=", "STI", "->", "isCortexA9", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "MFI", "=", "Fn", ".", "begin", "(", ")", ",", "E", "=", "Fn", ".", "end", "(", ")", ";", "MFI", "!=", "E", ";", "++", "MFI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MFI", ";", "Modified", "|=", "ExpandFPMLxInstructions", "(", "MBB", ")", ";", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "MLxExpansionPass17", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12364, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "unsigned", "Count", "=", "CSI", ".", "size", "(", ")", ";", "DebugLoc", "DL", ";", "assert", "(", "(", "Count", "&", "1", ")", "==", "0", "&&", "\"Odd number of callee-saved regs to spill!\"", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Count", ";", "i", "+=", "2", ")", "{", "unsigned", "Reg1", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "unsigned", "Reg2", "=", "CSI", "[", "i", "+", "1", "]", ".", "getReg", "(", ")", ";", "assert", "(", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", "+", "1", "==", "CSI", "[", "i", "+", "1", "]", ".", "getFrameIdx", "(", ")", "&&", "\"Out of order callee saved regs!\"", ")", ";", "unsigned", "LdrOpc", ";", "assert", "(", "(", "Count", "&", "1", ")", "==", "0", "&&", "\"Odd number of callee-saved regs to spill!\"", ")", ";", "assert", "(", "(", "i", "&", "1", ")", "==", "0", "&&", "\"Odd index for callee-saved reg spill!\"", ")", ";", "if", "(", "AArch64", "::", "GPR64RegClass", ".", "contains", "(", "Reg1", ")", ")", "{", "assert", "(", "AArch64", "::", "GPR64RegClass", ".", "contains", "(", "Reg2", ")", "&&", "\"Expected GPR64 callee-saved register pair!\"", ")", ";", "if", "(", "i", "==", "Count", "-", "2", ")", "LdrOpc", "=", "AArch64", "::", "LDPXpost", ";", "else", "LdrOpc", "=", "AArch64", "::", "LDPXi", ";", "}", "else", "if", "(", "AArch64", "::", "FPR64RegClass", ".", "contains", "(", "Reg1", ")", ")", "{", "assert", "(", "AArch64", "::", "FPR64RegClass", ".", "contains", "(", "Reg2", ")", "&&", "\"Expected FPR64 callee-saved register pair!\"", ")", ";", "if", "(", "i", "==", "Count", "-", "2", ")", "LdrOpc", "=", "AArch64", "::", "LDPDpost", ";", "else", "LdrOpc", "=", "AArch64", "::", "LDPDi", ";", "}", "else", "llvm_unreachable", "(", "\"Unexpected callee saved register!\"", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"CSR restore: (\"", "<<", "TRI", "->", "getName", "(", "Reg1", ")", "<<", "\", \"", "<<", "TRI", "->", "getName", "(", "Reg2", ")", "<<", "\") -> fi#(\"", "<<", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", "<<", "\", \"", "<<", "CSI", "[", "i", "+", "1", "]", ".", "getFrameIdx", "(", ")", "<<", "\")\\n\"", ")", ";", "const", "int", "Offset", "=", "(", "i", "==", "Count", "-", "2", ")", "?", "Count", ":", "Count", "-", "i", "-", "2", ";", "assert", "(", "(", "Offset", ">=", "-", "64", "&&", "Offset", "<=", "63", ")", "&&", "\"Offset out of bounds for LDP immediate\"", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "LdrOpc", ")", ")", ";", "if", "(", "LdrOpc", "==", "AArch64", "::", "LDPXpost", "||", "LdrOpc", "==", "AArch64", "::", "LDPDpost", ")", "MIB", ".", "addReg", "(", "AArch64", "::", "SP", ",", "RegState", "::", "Define", ")", ";", "MIB", ".", "addReg", "(", "Reg2", ",", "getDefRegState", "(", "true", ")", ")", ".", "addReg", "(", "Reg1", ",", "getDefRegState", "(", "true", ")", ")", ".", "addReg", "(", "AArch64", "::", "SP", ")", ".", "addImm", "(", "Offset", ")", ";", "}", "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", "1", "0", "\"Odd number of callee-saved regs to spill!\"", "0", "2", "1", "1", "1", "\"Out of order callee saved regs!\"", "1", "0", "\"Odd number of callee-saved regs to spill!\"", "1", "0", "\"Odd index for callee-saved reg spill!\"", "AArch64::GPR64RegClass", "AArch64::GPR64RegClass", "\"Expected GPR64 callee-saved register pair!\"", "2", "AArch64::LDPXpost", "AArch64::LDPXi", "AArch64::FPR64RegClass", "AArch64::FPR64RegClass", "\"Expected FPR64 callee-saved register pair!\"", "2", "AArch64::LDPDpost", "AArch64::LDPDi", "\"Unexpected callee saved register!\"", "\"CSR restore: (\"", "\", \"", "\") -> fi#(\"", "\", \"", "1", "\")\\n\"", "2", "2", "64", "63", "\"Offset out of bounds for LDP immediate\"", "AArch64::LDPXpost", "AArch64::LDPDpost", "AArch64::SP", "AArch64::SP"], "File": "AArch64FrameLowering (2)", "Func": "restoreCalleeSavedRegisters", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12365, "Length": 474, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetAsmStreamer", "::", "emitInst", "(", "uint32_t", "Inst", ",", "char", "Suffix", ")", "{", "OS", "<<", "\"\\t.inst\"", ";", "if", "(", "Suffix", ")", "OS", "<<", "\".\"", "<<", "Suffix", ";", "OS", "<<", "\"\\t0x\"", "<<", "utohexstr", "(", "Inst", ")", "<<", "\"\\n\"", ";", "}", ""], "natrual_language": ["Callback", "used", "to", "implement", "the", ".inst", "directive", "."], "TS_V_token": ["ARM", "ARM", "\"\\t.inst\"", "\".\"", "\"\\t0x\"", "\"\\n\""], "File": "ARMELFStreamer15", "Func": "emitInst", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12366, "Length": 38, "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", ")", ")", "{", "uint64_t", "FBS", "=", "ComputeAvailableFeatures", "(", "getSTI", "(", ")", ".", "getFeatureBits", "(", ")", ")", ";", "std", "::", "string", "Suggestion", "=", "MipsMnemonicSpellCheck", "(", "Name", ",", "FBS", ")", ";", "return", "Error", "(", "NameLoc", ",", "\"unknown instruction\"", "+", "Suggestion", ")", ";", "}", "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", "Mips", "\"unknown instruction\"", "MipsOperand::CreateToken", "\"unexpected token in argument list\"", "\"unexpected token in argument list\"", "\"unexpected token in argument list\""], "File": "MipsAsmParser103", "Func": "ParseInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12367, "Length": 324, "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": 12368, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineFrameInfo", "*", "MFFrame", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "uint64_t", "MaxReach", "=", "(", "MFFrame", "->", "estimateStackSize", "(", "MF", ")", "+", "SystemZMC", "::", "CallFrameSize", "*", "2", ")", ";", "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", "2", "12", "8", "8", "8", "8"], "File": "SystemZFrameLowering (2)", "Func": "processFunctionBeforeFrameFinalized", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12369, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZFrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "ArrayRef", "<", "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", "IsVarArg", "=", "MF", ".", "getFunction", "(", ")", ".", "isVarArg", "(", ")", ";", "DebugLoc", "DL", ";", "SystemZ", "::", "GPRRegs", "SpillGPRs", "=", "ZFI", "->", "getSpillGPRRegs", "(", ")", ";", "if", "(", "SpillGPRs", ".", "LowGPR", ")", "{", "assert", "(", "SpillGPRs", ".", "LowGPR", "!=", "SpillGPRs", ".", "HighGPR", "&&", "\"Should be saving %r15 and something else\"", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "SystemZ", "::", "STMG", ")", ")", ";", "addSavedGPR", "(", "MBB", ",", "MIB", ",", "SpillGPRs", ".", "LowGPR", ",", "false", ")", ";", "addSavedGPR", "(", "MBB", ",", "MIB", ",", "SpillGPRs", ".", "HighGPR", ",", "false", ")", ";", "MIB", ".", "addReg", "(", "SystemZ", "::", "R15D", ")", ".", "addImm", "(", "SpillGPRs", ".", "GPROffset", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "CSI", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "I", "]", ".", "getReg", "(", ")", ";", "if", "(", "SystemZ", "::", "GR64BitRegClass", ".", "contains", "(", "Reg", ")", ")", "addSavedGPR", "(", "MBB", ",", "MIB", ",", "Reg", ",", "true", ")", ";", "}", "if", "(", "IsVarArg", ")", "for", "(", "unsigned", "I", "=", "ZFI", "->", "getVarArgsFirstGPR", "(", ")", ";", "I", "<", "SystemZ", "::", "NumArgGPRs", ";", "++", "I", ")", "addSavedGPR", "(", "MBB", ",", "MIB", ",", "SystemZ", "::", "ArgGPRs", "[", "I", "]", ",", "true", ")", ";", "}", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "CSI", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "I", "]", ".", "getReg", "(", ")", ";", "if", "(", "SystemZ", "::", "FP64BitRegClass", ".", "contains", "(", "Reg", ")", ")", "{", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "TII", "->", "storeRegToStackSlot", "(", "MBB", ",", "MBBI", ",", "Reg", ",", "true", ",", "CSI", "[", "I", "]", ".", "getFrameIdx", "(", ")", ",", "&", "SystemZ", "::", "FP64BitRegClass", ",", "TRI", ")", ";", "}", "if", "(", "SystemZ", "::", "VR128BitRegClass", ".", "contains", "(", "Reg", ")", ")", "{", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "TII", "->", "storeRegToStackSlot", "(", "MBB", ",", "MBBI", ",", "Reg", ",", "true", ",", "CSI", "[", "I", "]", ".", "getFrameIdx", "(", ")", ",", "&", "SystemZ", "::", "VR128BitRegClass", ",", "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": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ::GPRRegs", "\"Should be saving %r15 and something else\"", "SystemZ::STMG", "SystemZ::R15D", "0", "SystemZ::GR64BitRegClass", "SystemZ::NumArgGPRs", "SystemZ::ArgGPRs", "0", "SystemZ::FP64BitRegClass", "SystemZ::FP64BitRegClass", "SystemZ::VR128BitRegClass", "SystemZ::VR128BitRegClass"], "File": "SystemZFrameLowering1", "Func": "spillCalleeSavedRegisters", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12370, "Length": 424, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch_mm_needs_release", "(", "rtx", "const_int", ")", "{", "enum", "memmodel", "model", "=", "memmodel_from_int", "(", "INTVAL", "(", "const_int", ")", ")", ";", "return", "!", "(", "is_mm_relaxed", "(", "model", ")", "||", "is_mm_consume", "(", "model", ")", "||", "is_mm_acquire", "(", "model", ")", ")", ";", "}", ""], "natrual_language": ["Return", "non-zero", "if", "the", "RTX", "representing", "a", "memory", "model", "is", "a", "memory", "model", "that", "needs", "release", "semantics", "."], "TS_V_token": ["arm"], "File": "aarch-common", "Func": "aarch_mm_needs_release", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12371, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "vector", "<", "std", "::", "pair", "<", "uint64_t", ",", "uint64_t", ">>", "X86MCInstrAnalysis", "::", "findPltEntries", "(", "uint64_t", "PltSectionVA", ",", "ArrayRef", "<", "uint8_t", ">", "PltContents", ",", "uint64_t", "GotPltSectionVA", ",", "const", "Triple", "&", "TargetTriple", ")", "const", "{", "switch", "(", "TargetTriple", ".", "getArch", "(", ")", ")", "{", "case", "Triple", "::", "x86", ":", "return", "findX86PltEntries", "(", "PltSectionVA", ",", "PltContents", ",", "GotPltSectionVA", ")", ";", "case", "Triple", "::", "x86_64", ":", "return", "findX86_64PltEntries", "(", "PltSectionVA", ",", "PltContents", ")", ";", "default", ":", "return", "{", "}", ";", "}", "}", ""], "natrual_language": ["Returns", "(", "PLT", "virtual", "address", ",", "GOT", "virtual", "address", ")", "pairs", "for", "PLT", "entries", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86MCTargetDesc13", "Func": "findPltEntries", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12372, "Length": 80, "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": 12373, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_pop_regs", "(", "unsigned", "regno1", ",", "unsigned", "regno2", ",", "HOST_WIDE_INT", "adjustment", ",", "rtx", "*", "cfi_ops", ")", "{", "machine_mode", "mode", "=", "aarch64_reg_save_mode", "(", "cfun", "->", "decl", ",", "regno1", ")", ";", "rtx", "reg1", "=", "gen_rtx_REG", "(", "mode", ",", "regno1", ")", ";", "*", "cfi_ops", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg1", ",", "*", "cfi_ops", ")", ";", "if", "(", "regno2", "==", "INVALID_REGNUM", ")", "{", "rtx", "mem", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "adjustment", ")", ";", "mem", "=", "gen_rtx_POST_MODIFY", "(", "Pmode", ",", "stack_pointer_rtx", ",", "mem", ")", ";", "emit_move_insn", "(", "reg1", ",", "gen_frame_mem", "(", "mode", ",", "mem", ")", ")", ";", "}", "else", "{", "rtx", "reg2", "=", "gen_rtx_REG", "(", "mode", ",", "regno2", ")", ";", "*", "cfi_ops", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg2", ",", "*", "cfi_ops", ")", ";", "emit_insn", "(", "aarch64_gen_loadwb_pair", "(", "mode", ",", "stack_pointer_rtx", ",", "reg1", ",", "reg2", ",", "adjustment", ")", ")", ";", "}", "}", ""], "natrual_language": ["Pop", "the", "two", "registers", "numbered", "REGNO1", ",", "REGNO2", "from", "the", "stack", ",", "adjusting", "it", "afterwards", "by", "ADJUSTMENT", "and", "writing", "the", "appropriate", "REG_CFA_RESTORE", "notes", "into", "CFI_OPS", "."], "TS_V_token": ["aarch64"], "File": "aarch646", "Func": "aarch64_pop_regs", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12374, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "unsigned", "int", "function_instance", "::", "elements_per_vq", "(", "unsigned", "int", "i", ")", "const", "{", "return", "128", "/", "type_suffix", "(", "i", ")", ".", "element_bits", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "elements", "of", "type", "suffix", "I", "that", "fit", "within", "a", "128-bit", "block", "."], "TS_V_token": ["aarch64", "128"], "File": "aarch64-sve-builtins", "Func": "elements_per_vq", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12375, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "void", "aarch64_add_sp", "(", "rtx", "temp1", ",", "rtx", "temp2", ",", "poly_int64", "delta", ",", "bool", "emit_move_imm", ")", "{", "aarch64_add_offset", "(", "Pmode", ",", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "delta", ",", "temp1", ",", "temp2", ",", "true", ",", "emit_move_imm", ")", ";", "}", ""], "natrual_language": ["Add", "DELTA", "to", "the", "stack", "pointer", ",", "marking", "the", "instructions", "frame-related", ".", "TEMP1", "is", "available", "as", "a", "temporary", "if", "nonnull", ".", "EMIT_MOVE_IMM", "is", "false", "if", "TEMP1", "already", "contains", "abs", "(", "DELTA", ")", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_add_sp", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12376, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SHUXIRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "MachineFrameInfo", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineOperand", "&", "FIOp", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ";", "unsigned", "FI", "=", "FIOp", ".", "getIndex", "(", ")", ";", "unsigned", "ImmOpIdx", "=", "0", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Instruction not supported\"", ")", ";", "case", "SHUXI", "::", "LD", ":", "case", "SHUXI", "::", "ST", ":", "case", "SHUXI", "::", "ADDri", ":", "ImmOpIdx", "=", "FIOperandNum", "+", "1", ";", "break", ";", "}", "MachineOperand", "&", "ImmOp", "=", "MI", ".", "getOperand", "(", "ImmOpIdx", ")", ";", "int", "Offset", "=", "MFI", ".", "getObjectOffset", "(", "FI", ")", "+", "MFI", ".", "getStackSize", "(", ")", "+", "ImmOp", ".", "getImm", "(", ")", ";", "if", "(", "Offset", "%", "4", ")", "{", "llvm_unreachable", "(", "\"Offset must be aligned to 4 bytes because memory is \"", "\"32-bit word addressable only\"", ")", ";", "}", "FIOp", ".", "ChangeToRegister", "(", "SHUXI", "::", "SP", ",", "false", ")", ";", "ImmOp", ".", "setImm", "(", "Offset", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["SHUXI", "SHUXI", "0", "\"Instruction not supported\"", "SHUXI::LD", "SHUXI::ST", "SHUXI::ADDri", "1", "4", "\"Offset must be aligned to 4 bytes because memory is \"", "\"32-bit word addressable only\"", "SHUXI::SP"], "File": "SHUXIRegisterInfo", "Func": "eliminateFrameIndex", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12377, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_contains_memref_p", "(", "rtx", "insn", ")", "{", "subrtx_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX", "(", "iter", ",", "array", ",", "PATTERN", "(", "insn", ")", ",", "NONCONST", ")", "if", "(", "MEM_P", "(", "*", "iter", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "nonzero", "iff", "INSN", "contains", "a", "MEM", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "sh_contains_memref_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12378, "Length": 40, "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", ";", "if", "(", "IsTailCall", ")", "return", "false", ";", "if", "(", "IsVarArg", ")", "return", "false", ";", "MVT", "RetVT", ";", "if", "(", "CLI", ".", "RetTy", "->", "isVoidTy", "(", ")", ")", "RetVT", "=", "MVT", "::", "isVoid", ";", "else", "if", "(", "!", "isTypeLegal", "(", "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", ";", "unsigned", "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": "MipsFastISel12", "Func": "fastLowerCall", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12379, "Length": 386, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "getLinkageSize", "(", "bool", "isPPC64", ",", "bool", "isDarwinABI", ")", "{", "if", "(", "isDarwinABI", "||", "isPPC64", ")", "return", "6", "*", "(", "isPPC64", "?", "8", ":", "4", ")", ";", "return", "8", ";", "}", ""], "natrual_language": ["getLinkageSize", "-", "Return", "the", "size", "of", "the", "PowerPC", "ABI", "linkage", "area", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "6", "PPC", "8", "4", "8"], "File": "PPCFrameInfo1", "Func": "getLinkageSize", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12380, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "TOYTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unimplemented operand\"", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["TOY", "TOY", "\"Unimplemented operand\"", "ISD::GlobalAddress"], "File": "TOYISelLowering1", "Func": "LowerOperation", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12381, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "thumb_load_double_from_address", "(", "rtx", "*", "operands", ")", "{", "rtx", "addr", ";", "rtx", "base", ";", "rtx", "offset", ";", "rtx", "arg1", ";", "rtx", "arg2", ";", "gcc_assert", "(", "GET_CODE", "(", "operands", "[", "0", "]", ")", "==", "REG", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "MEM", ")", ";", "addr", "=", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ";", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "REG", ":", "operands", "[", "2", "]", "=", "adjust_address", "(", "operands", "[", "1", "]", ",", "SImode", ",", "4", ")", ";", "if", "(", "REGNO", "(", "operands", "[", "0", "]", ")", "==", "REGNO", "(", "addr", ")", ")", "{", "output_asm_insn", "(", "\"ldr\\t%H0, %2\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"ldr\\t%0, %1\"", ",", "operands", ")", ";", "}", "else", "{", "output_asm_insn", "(", "\"ldr\\t%0, %1\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"ldr\\t%H0, %2\"", ",", "operands", ")", ";", "}", "break", ";", "case", "CONST", ":", "operands", "[", "2", "]", "=", "adjust_address", "(", "operands", "[", "1", "]", ",", "SImode", ",", "4", ")", ";", "output_asm_insn", "(", "\"ldr\\t%0, %1\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"ldr\\t%H0, %2\"", ",", "operands", ")", ";", "break", ";", "case", "PLUS", ":", "arg1", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "arg2", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "if", "(", "CONSTANT_P", "(", "arg1", ")", ")", "base", "=", "arg2", ",", "offset", "=", "arg1", ";", "else", "base", "=", "arg1", ",", "offset", "=", "arg2", ";", "gcc_assert", "(", "GET_CODE", "(", "base", ")", "==", "REG", ")", ";", "if", "(", "GET_CODE", "(", "offset", ")", "==", "REG", ")", "{", "int", "reg_offset", "=", "REGNO", "(", "offset", ")", ";", "int", "reg_base", "=", "REGNO", "(", "base", ")", ";", "int", "reg_dest", "=", "REGNO", "(", "operands", "[", "0", "]", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\tadd\\t%r, %r, %r\"", ",", "reg_dest", "+", "1", ",", "reg_base", ",", "reg_offset", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\tldr\\t%r, [%r, #0]\"", ",", "reg_dest", ",", "reg_dest", "+", "1", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\tldr\\t%r, [%r, #4]\"", ",", "reg_dest", "+", "1", ",", "reg_dest", "+", "1", ")", ";", "}", "else", "{", "operands", "[", "2", "]", "=", "adjust_address", "(", "operands", "[", "1", "]", ",", "SImode", ",", "4", ")", ";", "if", "(", "REGNO", "(", "operands", "[", "0", "]", ")", "==", "REGNO", "(", "base", ")", ")", "{", "output_asm_insn", "(", "\"ldr\\t%H0, %2\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"ldr\\t%0, %1\"", ",", "operands", ")", ";", "}", "else", "{", "output_asm_insn", "(", "\"ldr\\t%0, %1\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"ldr\\t%H0, %2\"", ",", "operands", ")", ";", "}", "}", "break", ";", "case", "LABEL_REF", ":", "operands", "[", "2", "]", "=", "adjust_address", "(", "operands", "[", "1", "]", ",", "SImode", ",", "4", ")", ";", "output_asm_insn", "(", "\"ldr\\t%H0, %2\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"ldr\\t%0, %1\"", ",", "operands", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "\"\"", ";", "}", ""], "natrual_language": ["Handle", "the", "case", "of", "a", "double", "word", "load", "into", "a", "low", "register", "from", "a", "computed", "memory", "address", ".", "The", "computed", "address", "may", "involve", "a", "register", "which", "is", "overwritten", "by", "the", "load", "."], "TS_V_token": ["arm", "0", "1", "1", "0", "2", "1", "4", "0", "\"ldr\\t%H0, %2\"", "\"ldr\\t%0, %1\"", "\"ldr\\t%0, %1\"", "\"ldr\\t%H0, %2\"", "2", "1", "4", "\"ldr\\t%0, %1\"", "\"ldr\\t%H0, %2\"", "0", "1", "0", "\"\\tadd\\t%r, %r, %r\"", "1", "\"\\tldr\\t%r, [%r, #0]\"", "1", "\"\\tldr\\t%r, [%r, #4]\"", "1", "1", "2", "1", "4", "0", "\"ldr\\t%H0, %2\"", "\"ldr\\t%0, %1\"", "\"ldr\\t%0, %1\"", "\"ldr\\t%H0, %2\"", "2", "1", "4", "\"ldr\\t%H0, %2\"", "\"ldr\\t%0, %1\"", "\"\""], "File": "arm3", "Func": "thumb_load_double_from_address", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12382, "Length": 430, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"IA64 (Itanium) Bundling Pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["IA64", "\"IA64 (Itanium) Bundling Pass\""], "File": "IA64Bundling", "Func": "getPassName", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12383, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "SparcMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "SparcMachineFunctionInfo", ">", "(", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "SparcInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "SparcInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "int", "NumBytes", "=", "(", "int", ")", "MFI", "->", "getStackSize", "(", ")", ";", "unsigned", "SAVEri", "=", "SP", "::", "SAVEri", ";", "unsigned", "SAVErr", "=", "SP", "::", "SAVErr", ";", "if", "(", "FuncInfo", "->", "isLeafProc", "(", ")", ")", "{", "if", "(", "NumBytes", "==", "0", ")", "return", ";", "SAVEri", "=", "SP", "::", "ADDri", ";", "SAVErr", "=", "SP", "::", "ADDrr", ";", "}", "NumBytes", "=", "-", "SubTarget", ".", "getAdjustedFrameSize", "(", "NumBytes", ")", ";", "emitSPAdjustment", "(", "MF", ",", "MBB", ",", "MBBI", ",", "NumBytes", ",", "SAVErr", ",", "SAVEri", ")", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "MCRegisterInfo", "*", "MRI", "=", "MMI", ".", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "regFP", "=", "MRI", "->", "getDwarfRegNum", "(", "SP", "::", "I6", ",", "true", ")", ";", "unsigned", "CFIIndex", "=", "MMI", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createDefCfaRegister", "(", "nullptr", ",", "regFP", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "CFIIndex", "=", "MMI", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createWindowSave", "(", "nullptr", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "unsigned", "regInRA", "=", "MRI", "->", "getDwarfRegNum", "(", "SP", "::", "I7", ",", "true", ")", ";", "unsigned", "regOutRA", "=", "MRI", "->", "getDwarfRegNum", "(", "SP", "::", "O7", ",", "true", ")", ";", "CFIIndex", "=", "MMI", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createRegister", "(", "nullptr", ",", "regOutRA", ",", "regInRA", ")", ")", ";", "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": ["Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "SP::SAVEri", "SP::SAVErr", "0", "SP::ADDri", "SP::ADDrr", "SP", "SP::I6", "SP::I7", "SP::O7"], "File": "SparcFrameLowering32", "Func": "emitPrologue", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12384, "Length": 367, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "parse_codes", "parse_prototype", "(", "prototype", "*", "protoptr", ")", "{", "typeinfo", "*", "ret_type", "=", "&", "protoptr", "->", "rettype", ";", "char", "*", "*", "bifname", "=", "&", "protoptr", "->", "bifname", ";", "consume_whitespace", "(", ")", ";", "int", "oldpos", "=", "pos", ";", "int", "success", "=", "match_type", "(", "ret_type", ",", "VOID_OK", ")", ";", "if", "(", "!", "success", ")", "{", "diag", "(", "oldpos", ",", "\"missing or badly formed return type.\\n\"", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "diag", "(", "0", ",", "\"return type: isvoid = %d, isconst = %d, isvector = %d, \"", "\"issigned = %d, isunsigned = %d, isbool = %d, ispixel = %d, \"", "\"ispointer = %d, base = %d, restr = %d, val1 = \\\"%s\\\", \"", "\"val2 = \\\"%s\\\", pos = %d.\\n\"", ",", "ret_type", "->", "isvoid", ",", "ret_type", "->", "isconst", ",", "ret_type", "->", "isvector", ",", "ret_type", "->", "issigned", ",", "ret_type", "->", "isunsigned", ",", "ret_type", "->", "isbool", ",", "ret_type", "->", "ispixel", ",", "ret_type", "->", "ispointer", ",", "ret_type", "->", "base", ",", "ret_type", "->", "restr", ",", "ret_type", "->", "val1", ",", "ret_type", "->", "val2", ",", "pos", "+", "1", ")", ";", "consume_whitespace", "(", ")", ";", "oldpos", "=", "pos", ";", "*", "bifname", "=", "match_identifier", "(", ")", ";", "if", "(", "!", "*", "bifname", ")", "{", "diag", "(", "oldpos", ",", "\"missing function name.\\n\"", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "diag", "(", "0", ",", "\"function name is '%s'.\\n\"", ",", "*", "bifname", ")", ";", "if", "(", "parse_args", "(", "protoptr", ")", "==", "PC_PARSEFAIL", ")", "return", "PC_PARSEFAIL", ";", "consume_whitespace", "(", ")", ";", "if", "(", "linebuf", "[", "pos", "]", "!=", "';'", ")", "{", "diag", "(", "pos", ",", "\"missing semicolon.\\n\"", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "safe_inc_pos", "(", ")", ";", "consume_whitespace", "(", ")", ";", "if", "(", "linebuf", "[", "pos", "]", "!=", "'\\n'", ")", "{", "diag", "(", "pos", ",", "\"garbage at end of line.\\n\"", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "return", "PC_OK", ";", "}", ""], "natrual_language": ["Parse", "a", "function", "prototype", ".", "This", "code", "is", "shared", "by", "the", "bif", "and", "overload", "file", "processing", "."], "TS_V_token": ["rs6000", "\"missing or badly formed return type.\\n\"", "0", "\"return type: isvoid = %d, isconst = %d, isvector = %d, \"", "\"issigned = %d, isunsigned = %d, isbool = %d, ispixel = %d, \"", "\"ispointer = %d, base = %d, restr = %d, val1 = \\\"%s\\\", \"", "\"val2 = \\\"%s\\\", pos = %d.\\n\"", "1", "\"missing function name.\\n\"", "0", "\"function name is '%s'.\\n\"", "\"missing semicolon.\\n\"", "\"garbage at end of line.\\n\""], "File": "rs6000-gen-builtins", "Func": "parse_prototype", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12385, "Length": 239, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["PowerPC"], "File": "PPCInstrInfo (2)", "Func": "getAnalysisUsage", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12386, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Thumb IT blocks insertion pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"Thumb IT blocks insertion pass\""], "File": "Thumb2ITBlockPass", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12387, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "MipsRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsInstrInfo12", "Func": "getRegisterInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12388, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "MachineLoopInfo", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineLoopInfo", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineDominatorTree", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["ARM"], "File": "MVETPAndVPTOptimisationsPass", "Func": "getAnalysisUsage", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12389, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sh_set_return_address", "(", "rtx", "ra", ",", "rtx", "tmp", ")", "{", "HARD_REG_SET", "live_regs_mask", ";", "int", "d", ";", "int", "pr_reg", "=", "TARGET_SHMEDIA", "?", "PR_MEDIA_REG", ":", "PR_REG", ";", "int", "pr_offset", ";", "d", "=", "calc_live_regs", "(", "&", "live_regs_mask", ")", ";", "if", "(", "!", "TEST_HARD_REG_BIT", "(", "live_regs_mask", ",", "pr_reg", ")", ")", "{", "rtx", "rr", ";", "if", "(", "TARGET_SHMEDIA", ")", "{", "int", "rr_regno", "=", "sh_media_register_for_return", "(", ")", ";", "if", "(", "rr_regno", "<", "0", ")", "rr_regno", "=", "pr_reg", ";", "rr", "=", "gen_rtx_REG", "(", "DImode", ",", "rr_regno", ")", ";", "}", "else", "rr", "=", "gen_rtx_REG", "(", "SImode", ",", "pr_reg", ")", ";", "emit_insn", "(", "GEN_MOV", "(", "rr", ",", "ra", ")", ")", ";", "emit_insn", "(", "gen_rtx_USE", "(", "VOIDmode", ",", "rr", ")", ")", ";", "return", ";", "}", "if", "(", "TARGET_SH5", ")", "{", "int", "offset", ";", "save_schedule", "schedule", ";", "save_entry", "*", "entry", ";", "entry", "=", "sh5_schedule_saves", "(", "&", "live_regs_mask", ",", "&", "schedule", ",", "0", ")", ";", "offset", "=", "entry", "[", "1", "]", ".", "offset", ";", "for", "(", ";", "entry", "->", "mode", "!=", "VOIDmode", ";", "entry", "--", ")", "if", "(", "entry", "->", "reg", "==", "pr_reg", ")", "goto", "found", ";", "gcc_unreachable", "(", ")", ";", "found", ":", "offset", "=", "entry", "->", "offset", "-", "offset", ";", "pr_offset", "=", "(", "rounded_frame_size", "(", "d", ")", "+", "offset", "+", "SHMEDIA_REGS_STACK_ADJUST", "(", ")", ")", ";", "}", "else", "pr_offset", "=", "rounded_frame_size", "(", "d", ")", ";", "emit_insn", "(", "GEN_MOV", "(", "tmp", ",", "GEN_INT", "(", "pr_offset", ")", ")", ")", ";", "emit_insn", "(", "GEN_ADD3", "(", "tmp", ",", "tmp", ",", "hard_frame_pointer_rtx", ")", ")", ";", "tmp", "=", "gen_frame_mem", "(", "Pmode", ",", "tmp", ")", ";", "emit_insn", "(", "GEN_MOV", "(", "tmp", ",", "ra", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "change", "the", "current", "function", "'s", "return", "address", "to", "RA", ".", "TEMP", "is", "available", "as", "a", "scratch", "register", ",", "if", "needed", "."], "TS_V_token": ["sh", "0", "0", "1"], "File": "sh3", "Func": "sh_set_return_address", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12390, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_return_in_memory", "(", "tree", "type", ",", "tree", "fntype", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "rs6000_darwin64_abi", "&&", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", "&&", "int_size_in_bytes", "(", "type", ")", ">", "0", ")", "{", "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", ",", "type", ",", "1", ",", "true", ")", ";", "if", "(", "valret", ")", "return", "false", ";", "}", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "(", "aix_struct_return", "||", "(", "unsigned", "HOST_WIDE_INT", ")", "int_size_in_bytes", "(", "type", ")", ">", "8", ")", ")", "return", "true", ";", "if", "(", "TARGET_32BIT", "&&", "!", "TARGET_ALTIVEC_ABI", "&&", "ALTIVEC_VECTOR_MODE", "(", "TYPE_MODE", "(", "type", ")", ")", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", "&&", "int_size_in_bytes", "(", "type", ")", ">", "(", "TARGET_ALTIVEC_ABI", "?", "16", ":", "8", ")", ")", "{", "static", "bool", "warned_for_return_big_vectors", "=", "false", ";", "if", "(", "!", "warned_for_return_big_vectors", ")", "{", "warning", "(", "0", ",", "\"GCC vector returned by reference: \"", "\"non-standard ABI extension with no compatibility guarantee\"", ")", ";", "warned_for_return_big_vectors", "=", "true", ";", "}", "return", "true", ";", "}", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "TARGET_IEEEQUAD", "&&", "TYPE_MODE", "(", "type", ")", "==", "TFmode", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "a", "nonzero", "value", "to", "say", "to", "return", "the", "function", "value", "in", "memory", ",", "just", "as", "large", "structures", "are", "always", "returned", ".", "TYPE", "will", "be", "the", "data", "type", "of", "the", "value", ",", "and", "FNTYPE", "will", "be", "the", "type", "of", "the", "function", "doing", "the", "returning", ",", "or", "@", "code", "{", "NULL", "}", "for", "libcalls", ".", "The", "AIX", "ABI", "for", "the", "RS/6000", "specifies", "that", "all", "structures", "are", "returned", "in", "memory", ".", "The", "Darwin", "ABI", "does", "the", "same", ".", "The", "SVR4", "ABI", "specifies", "that", "structures", "<", "=", "8", "bytes", "are", "returned", "in", "r3/r4", ",", "but", "a", "draft", "put", "them", "in", "memory", ",", "and", "GCC", "used", "to", "implement", "the", "draft", "instead", "of", "the", "final", "standard", ".", "Therefore", ",", "aix_struct_return", "controls", "this", "instead", "of", "DEFAULT_ABI", ";", "V.4", "targets", "needing", "backward", "compatibility", "can", "change", "DRAFT_V4_STRUCT_RET", "to", "override", "the", "default", ",", "and", "-m", "switches", "get", "the", "final", "word", ".", "See", "rs6000_override_options", "for", "more", "details", ".", "The", "PPC32", "SVR4", "ABI", "uses", "IEEE", "double", "extended", "for", "long", "double", ",", "if", "128-bit", "long", "double", "support", "is", "enabled", ".", "These", "values", "are", "returned", "in", "memory", ".", "int_size_in_bytes", "returns", "-1", "for", "variable", "size", "objects", ",", "which", "go", "in", "memory", "always", ".", "The", "cast", "to", "unsigned", "makes", "-1", ">", "8", "."], "TS_V_token": ["rs6000", "0", "0", "1", "8", "16", "8", "0", "\"GCC vector returned by reference: \"", "\"non-standard ABI extension with no compatibility guarantee\""], "File": "rs60003", "Func": "rs6000_return_in_memory", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12391, "Length": 194, "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\"", ";", "unsigned", "CPUFSWidth", "=", "Key", ".", "size", "(", ")", ";", "unsigned", "PreferVectorWidthOverride", "=", "0", ";", "if", "(", "F", ".", "hasFnAttribute", "(", "\"prefer-vector-width\"", ")", ")", "{", "StringRef", "Val", "=", "F", ".", "getFnAttribute", "(", "\"prefer-vector-width\"", ")", ".", "getValueAsString", "(", ")", ";", "unsigned", "Width", ";", "if", "(", "!", "Val", ".", "getAsInteger", "(", "0", ",", "Width", ")", ")", "{", "Key", "+=", "\",prefer-vector-width=\"", ";", "Key", "+=", "Val", ";", "PreferVectorWidthOverride", "=", "Width", ";", "}", "}", "unsigned", "RequiredVectorWidth", "=", "UINT32_MAX", ";", "if", "(", "F", ".", "hasFnAttribute", "(", "\"min-legal-vector-width\"", ")", ")", "{", "StringRef", "Val", "=", "F", ".", "getFnAttribute", "(", "\"min-legal-vector-width\"", ")", ".", "getValueAsString", "(", ")", ";", "unsigned", "Width", ";", "if", "(", "!", "Val", ".", "getAsInteger", "(", "0", ",", "Width", ")", ")", "{", "Key", "+=", "\",min-legal-vector-width=\"", ";", "Key", "+=", "Val", ";", "RequiredVectorWidth", "=", "Width", ";", "}", "}", "FS", "=", "Key", ".", "slice", "(", "CPU", ".", "size", "(", ")", ",", "CPUFSWidth", ")", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "Key", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "std", "::", "make_unique", "<", "X86Subtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "*", "this", ",", "Options", ".", "StackAlignmentOverride", ",", "PreferVectorWidthOverride", ",", "RequiredVectorWidth", ")", ";", "}", "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\"", "0", "\"prefer-vector-width\"", "\"prefer-vector-width\"", "0", "\",prefer-vector-width=\"", "\"min-legal-vector-width\"", "\"min-legal-vector-width\"", "0", "\",min-legal-vector-width=\"", "X86"], "File": "X86TargetMachine123", "Func": "getSubtargetImpl", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12392, "Length": 343, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1RegisterInfo", "::", "saveScavengerRegister", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "MachineBasicBlock", "::", "iterator", "&", "UseMI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "unsigned", "Reg", ")", "const", "{", "DebugLoc", "DL", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", ".", "get", "(", "ARM", "::", "tMOVtgpr2gpr", ")", ")", ".", "addReg", "(", "ARM", "::", "R12", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ";", "bool", "done", "=", "false", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "II", "=", "I", ";", "!", "done", "&&", "II", "!=", "UseMI", ";", "++", "II", ")", "{", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "II", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "const", "MachineOperand", "&", "MO", "=", "II", "->", "getOperand", "(", "i", ")", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", "||", "MO", ".", "isUndef", "(", ")", "||", "!", "MO", ".", "getReg", "(", ")", "||", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "MO", ".", "getReg", "(", ")", ")", ")", "continue", ";", "if", "(", "MO", ".", "getReg", "(", ")", "==", "ARM", "::", "R12", ")", "{", "UseMI", "=", "II", ";", "done", "=", "true", ";", "break", ";", "}", "}", "}", "BuildMI", "(", "MBB", ",", "UseMI", ",", "DL", ",", "TII", ".", "get", "(", "ARM", "::", "tMOVgpr2tgpr", ")", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "ARM", "::", "R12", ",", "RegState", "::", "Kill", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Spill", "the", "register", "so", "it", "can", "be", "used", "by", "the", "register", "scavenger", "."], "TS_V_token": ["ARM", "ARM::tMOVtgpr2gpr", "ARM::R12", "0", "ARM::R12", "ARM::tMOVgpr2tgpr", "ARM::R12"], "File": "Thumb1RegisterInfo3", "Func": "saveScavengerRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12393, "Length": 234, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TTI", "::", "getScalarizationOverhead", "(", "Type", "*", "Ty", ",", "bool", "Insert", ",", "bool", "Extract", ")", "const", "{", "assert", "(", "Ty", "->", "isVectorTy", "(", ")", "&&", "\"Can only scalarize vectors\"", ")", ";", "unsigned", "Cost", "=", "0", ";", "for", "(", "int", "i", "=", "0", ",", "e", "=", "Ty", "->", "getVectorNumElements", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "if", "(", "Insert", ")", "Cost", "+=", "TopTTI", "->", "getVectorInstrCost", "(", "Instruction", "::", "InsertElement", ",", "Ty", ",", "i", ")", ";", "if", "(", "Extract", ")", "Cost", "+=", "TopTTI", "->", "getVectorInstrCost", "(", "Instruction", "::", "ExtractElement", ",", "Ty", ",", "i", ")", ";", "}", "return", "Cost", ";", "}", ""], "natrual_language": ["Estimate", "the", "overhead", "of", "scalarizing", "an", "instruction", "."], "TS_V_token": ["X86", "X86", "\"Can only scalarize vectors\"", "0", "0"], "File": "X86TargetTransformInfo112", "Func": "getScalarizationOverhead", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12394, "Length": 99, "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": ["LC2200"], "File": "LC2200AsmParser", "Func": "isMem", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12395, "Length": 11, "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": 12396, "Length": 459, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ia64_expand_dot_prod_v8qi", "(", "rtx", "operands", "[", "4", "]", ",", "bool", "unsignedp", ")", "{", "rtx", "l1", ",", "l2", ",", "h1", ",", "h2", ",", "x1", ",", "x2", ",", "p1", ",", "p2", ",", "p3", ",", "p4", ",", "s1", ",", "s2", ",", "s3", ";", "if", "(", "unsignedp", ")", "x1", "=", "x2", "=", "CONST0_RTX", "(", "V8QImode", ")", ";", "else", "{", "bool", "neg", ";", "x1", "=", "gen_reg_rtx", "(", "V8QImode", ")", ";", "x2", "=", "gen_reg_rtx", "(", "V8QImode", ")", ";", "neg", "=", "ia64_expand_vecint_compare", "(", "LT", ",", "V8QImode", ",", "x1", ",", "operands", "[", "1", "]", ",", "CONST0_RTX", "(", "V8QImode", ")", ")", ";", "gcc_assert", "(", "!", "neg", ")", ";", "neg", "=", "ia64_expand_vecint_compare", "(", "LT", ",", "V8QImode", ",", "x2", ",", "operands", "[", "2", "]", ",", "CONST0_RTX", "(", "V8QImode", ")", ")", ";", "gcc_assert", "(", "!", "neg", ")", ";", "}", "l1", "=", "gen_reg_rtx", "(", "V4HImode", ")", ";", "l2", "=", "gen_reg_rtx", "(", "V4HImode", ")", ";", "h1", "=", "gen_reg_rtx", "(", "V4HImode", ")", ";", "h2", "=", "gen_reg_rtx", "(", "V4HImode", ")", ";", "emit_insn", "(", "gen_unpack1_l", "(", "gen_lowpart", "(", "V8QImode", ",", "l1", ")", ",", "operands", "[", "1", "]", ",", "x1", ")", ")", ";", "emit_insn", "(", "gen_unpack1_l", "(", "gen_lowpart", "(", "V8QImode", ",", "l2", ")", ",", "operands", "[", "2", "]", ",", "x2", ")", ")", ";", "emit_insn", "(", "gen_unpack1_h", "(", "gen_lowpart", "(", "V8QImode", ",", "h1", ")", ",", "operands", "[", "1", "]", ",", "x1", ")", ")", ";", "emit_insn", "(", "gen_unpack1_h", "(", "gen_lowpart", "(", "V8QImode", ",", "h2", ")", ",", "operands", "[", "2", "]", ",", "x2", ")", ")", ";", "p1", "=", "gen_reg_rtx", "(", "V2SImode", ")", ";", "p2", "=", "gen_reg_rtx", "(", "V2SImode", ")", ";", "p3", "=", "gen_reg_rtx", "(", "V2SImode", ")", ";", "p4", "=", "gen_reg_rtx", "(", "V2SImode", ")", ";", "emit_insn", "(", "gen_pmpy2_r", "(", "p1", ",", "l1", ",", "l2", ")", ")", ";", "emit_insn", "(", "gen_pmpy2_l", "(", "p2", ",", "l1", ",", "l2", ")", ")", ";", "emit_insn", "(", "gen_pmpy2_r", "(", "p3", ",", "h1", ",", "h2", ")", ")", ";", "emit_insn", "(", "gen_pmpy2_l", "(", "p4", ",", "h1", ",", "h2", ")", ")", ";", "s1", "=", "gen_reg_rtx", "(", "V2SImode", ")", ";", "s2", "=", "gen_reg_rtx", "(", "V2SImode", ")", ";", "s3", "=", "gen_reg_rtx", "(", "V2SImode", ")", ";", "emit_insn", "(", "gen_addv2si3", "(", "s1", ",", "p1", ",", "p2", ")", ")", ";", "emit_insn", "(", "gen_addv2si3", "(", "s2", ",", "p3", ",", "p4", ")", ")", ";", "emit_insn", "(", "gen_addv2si3", "(", "s3", ",", "s1", ",", "operands", "[", "3", "]", ")", ")", ";", "emit_insn", "(", "gen_addv2si3", "(", "operands", "[", "0", "]", ",", "s2", ",", "s3", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "signed", "or", "unsigned", "V8QI", "dot", "product", "operation", "."], "TS_V_token": ["ia64", "4", "1", "2", "1", "2", "1", "2", "3", "0"], "File": "ia643", "Func": "ia64_expand_dot_prod_v8qi", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12397, "Length": 387, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "i386_asm_output_addr_const_extra", "(", "FILE", "*", "file", ",", "rtx", "x", ")", "{", "rtx", "op", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "UNSPEC", ")", "return", "false", ";", "op", "=", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ";", "switch", "(", "XINT", "(", "x", ",", "1", ")", ")", "{", "case", "UNSPEC_GOTTPOFF", ":", "output_addr_const", "(", "file", ",", "op", ")", ";", "fputs", "(", "\"@gottpoff\"", ",", "file", ")", ";", "break", ";", "case", "UNSPEC_TPOFF", ":", "output_addr_const", "(", "file", ",", "op", ")", ";", "fputs", "(", "\"@tpoff\"", ",", "file", ")", ";", "break", ";", "case", "UNSPEC_NTPOFF", ":", "output_addr_const", "(", "file", ",", "op", ")", ";", "if", "(", "TARGET_64BIT", ")", "fputs", "(", "\"@tpoff\"", ",", "file", ")", ";", "else", "fputs", "(", "\"@ntpoff\"", ",", "file", ")", ";", "break", ";", "case", "UNSPEC_DTPOFF", ":", "output_addr_const", "(", "file", ",", "op", ")", ";", "fputs", "(", "\"@dtpoff\"", ",", "file", ")", ";", "break", ";", "case", "UNSPEC_GOTNTPOFF", ":", "output_addr_const", "(", "file", ",", "op", ")", ";", "if", "(", "TARGET_64BIT", ")", "fputs", "(", "ASSEMBLER_DIALECT", "==", "ASM_ATT", "?", "\"@gottpoff(%rip)\"", ":", "\"@gottpoff[rip]\"", ",", "file", ")", ";", "else", "fputs", "(", "\"@gotntpoff\"", ",", "file", ")", ";", "break", ";", "case", "UNSPEC_INDNTPOFF", ":", "output_addr_const", "(", "file", ",", "op", ")", ";", "fputs", "(", "\"@indntpoff\"", ",", "file", ")", ";", "break", ";", "case", "UNSPEC_MACHOPIC_OFFSET", ":", "output_addr_const", "(", "file", ",", "op", ")", ";", "putc", "(", "'-'", ",", "file", ")", ";", "machopic_output_function_base_name", "(", "file", ")", ";", "break", ";", "case", "UNSPEC_STACK_CHECK", ":", "{", "int", "offset", ";", "gcc_assert", "(", "flag_split_stack", ")", ";", "offset", "=", "TARGET_THREAD_SPLIT_STACK_OFFSET", ";", "gcc_unreachable", "(", ")", ";", "fprintf", "(", "file", ",", "\"%s:%d\"", ",", "TARGET_64BIT", "?", "\"%fs\"", ":", "\"%gs\"", ",", "offset", ")", ";", "}", "break", ";", "default", ":", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Implementation", "of", "TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA", "."], "TS_V_token": ["i386", "0", "0", "1", "\"@gottpoff\"", "\"@tpoff\"", "\"@tpoff\"", "\"@ntpoff\"", "\"@dtpoff\"", "\"@gottpoff(%rip)\"", "\"@gottpoff[rip]\"", "\"@gotntpoff\"", "\"@indntpoff\"", "\"%s:%d\"", "\"%fs\"", "\"%gs\""], "File": "i3864", "Func": "i386_asm_output_addr_const_extra", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12398, "Length": 264, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "thumb2_legitimate_index_p", "(", "machine_mode", "mode", ",", "rtx", "index", ",", "int", "strict_p", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "index", ")", ";", "if", "(", "TARGET_HARD_FLOAT", "&&", "(", "mode", "==", "SFmode", "||", "mode", "==", "DFmode", ")", ")", "return", "(", "code", "==", "CONST_INT", "&&", "INTVAL", "(", "index", ")", "<", "1024", "&&", "INTVAL", "(", "index", ")", ">", "-", "256", "&&", "(", "INTVAL", "(", "index", ")", "&", "3", ")", "==", "0", ")", ";", "if", "(", "TARGET_REALLY_IWMMXT", "&&", "VALID_IWMMXT_REG_MODE", "(", "mode", ")", ")", "{", "if", "(", "!", "TARGET_LDRD", "||", "mode", "!=", "DImode", ")", "return", "(", "code", "==", "CONST_INT", "&&", "INTVAL", "(", "index", ")", "<", "1024", "&&", "INTVAL", "(", "index", ")", ">", "-", "1024", "&&", "(", "INTVAL", "(", "index", ")", "&", "3", ")", "==", "0", ")", ";", "}", "if", "(", "TARGET_NEON", "&&", "VALID_NEON_QREG_MODE", "(", "mode", ")", ")", "return", "(", "code", "==", "CONST_INT", "&&", "INTVAL", "(", "index", ")", "<", "1016", "&&", "INTVAL", "(", "index", ")", ">", "-", "1024", "&&", "(", "INTVAL", "(", "index", ")", "&", "3", ")", "==", "0", ")", ";", "if", "(", "TARGET_NEON", "&&", "VALID_NEON_DREG_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", ")", ";", "return", "val", ">", "-", "256", "&&", "val", "<", "256", "&&", "(", "val", "&", "3", ")", "==", "0", ";", "}", "else", "return", "0", ";", "}", "if", "(", "code", "==", "MULT", ")", "{", "rtx", "xiop0", "=", "XEXP", "(", "index", ",", "0", ")", ";", "rtx", "xiop1", "=", "XEXP", "(", "index", ",", "1", ")", ";", "return", "(", "(", "arm_address_register_rtx_p", "(", "xiop0", ",", "strict_p", ")", "&&", "thumb2_index_mul_operand", "(", "xiop1", ")", ")", "||", "(", "arm_address_register_rtx_p", "(", "xiop1", ",", "strict_p", ")", "&&", "thumb2_index_mul_operand", "(", "xiop0", ")", ")", ")", ";", "}", "else", "if", "(", "code", "==", "ASHIFT", ")", "{", "rtx", "op", "=", "XEXP", "(", "index", ",", "1", ")", ";", "return", "(", "arm_address_register_rtx_p", "(", "XEXP", "(", "index", ",", "0", ")", ",", "strict_p", ")", "&&", "CONST_INT_P", "(", "op", ")", "&&", "INTVAL", "(", "op", ")", ">", "0", "&&", "INTVAL", "(", "op", ")", "<=", "3", ")", ";", "}", "return", "(", "code", "==", "CONST_INT", "&&", "INTVAL", "(", "index", ")", "<", "4096", "&&", "INTVAL", "(", "index", ")", ">", "-", "256", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "INDEX", "is", "a", "valid", "Thumb-2", "address", "index", "operand", "."], "TS_V_token": ["arm", "1024", "256", "3", "0", "1024", "1024", "3", "0", "1016", "1024", "3", "0", "1024", "1024", "3", "0", "4", "1", "256", "256", "3", "0", "0", "0", "1", "1", "0", "0", "3", "4096", "256"], "File": "arm6", "Func": "thumb2_legitimate_index_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12399, "Length": 413, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "AArch64TargetLowering", "::", "getIRStackGuard", "(", "IRBuilder", "<", ">", "&", "IRB", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "isTargetAndroid", "(", ")", ")", "return", "TargetLowering", "::", "getIRStackGuard", "(", "IRB", ")", ";", "const", "unsigned", "TlsOffset", "=", "0x28", ";", "Module", "*", "M", "=", "IRB", ".", "GetInsertBlock", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "Function", "*", "ThreadPointerFunc", "=", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "Intrinsic", "::", "thread_pointer", ")", ";", "return", "IRB", ".", "CreatePointerCast", "(", "IRB", ".", "CreateConstGEP1_32", "(", "IRB", ".", "CreateCall", "(", "ThreadPointerFunc", ")", ",", "TlsOffset", ")", ",", "Type", "::", "getInt8PtrTy", "(", "IRB", ".", "getContext", "(", ")", ")", "->", "getPointerTo", "(", "0", ")", ")", ";", "}", ""], "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", "Intrinsic::getDeclaration", "Intrinsic::thread_pointer", "0"], "File": "AArch64ISelLowering (2)", "Func": "getIRStackGuard", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12400, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "X86TargetLowering", "::", "getNegatedExpression", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ",", "bool", "LegalOperations", ",", "bool", "ForCodeSize", ",", "unsigned", "Depth", ")", "const", "{", "if", "(", "SDValue", "Arg", "=", "isFNEG", "(", "DAG", ",", "Op", ".", "getNode", "(", ")", ",", "Depth", ")", ")", "return", "DAG", ".", "getBitcast", "(", "Op", ".", "getValueType", "(", ")", ",", "Arg", ")", ";", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "EVT", "SVT", "=", "VT", ".", "getScalarType", "(", ")", ";", "unsigned", "Opc", "=", "Op", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "case", "ISD", "::", "FMA", ":", "case", "X86ISD", "::", "FMSUB", ":", "case", "X86ISD", "::", "FNMADD", ":", "case", "X86ISD", "::", "FNMSUB", ":", "case", "X86ISD", "::", "FMADD_RND", ":", "case", "X86ISD", "::", "FMSUB_RND", ":", "case", "X86ISD", "::", "FNMADD_RND", ":", "case", "X86ISD", "::", "FNMSUB_RND", ":", "{", "if", "(", "!", "Op", ".", "hasOneUse", "(", ")", "||", "!", "Subtarget", ".", "hasAnyFMA", "(", ")", "||", "!", "isTypeLegal", "(", "VT", ")", "||", "!", "(", "SVT", "==", "MVT", "::", "f32", "||", "SVT", "==", "MVT", "::", "f64", ")", "||", "!", "isOperationLegal", "(", "ISD", "::", "FMA", ",", "VT", ")", ")", "break", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "NewOps", "(", "Op", ".", "getNumOperands", "(", ")", ",", "SDValue", "(", ")", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "!=", "3", ";", "++", "i", ")", "{", "NegatibleCost", "V", "=", "getNegatibleCost", "(", "Op", ".", "getOperand", "(", "i", ")", ",", "DAG", ",", "LegalOperations", ",", "ForCodeSize", ",", "Depth", "+", "1", ")", ";", "if", "(", "V", "==", "NegatibleCost", "::", "Cheaper", ")", "NewOps", "[", "i", "]", "=", "getNegatedExpression", "(", "Op", ".", "getOperand", "(", "i", ")", ",", "DAG", ",", "LegalOperations", ",", "ForCodeSize", ",", "Depth", "+", "1", ")", ";", "}", "bool", "NegA", "=", "!", "!", "NewOps", "[", "0", "]", ";", "bool", "NegB", "=", "!", "!", "NewOps", "[", "1", "]", ";", "bool", "NegC", "=", "!", "!", "NewOps", "[", "2", "]", ";", "unsigned", "NewOpc", "=", "negateFMAOpcode", "(", "Opc", ",", "NegA", "!=", "NegB", ",", "NegC", ",", "true", ")", ";", "for", "(", "int", "i", "=", "0", ",", "e", "=", "Op", ".", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "if", "(", "!", "NewOps", "[", "i", "]", ")", "NewOps", "[", "i", "]", "=", "Op", ".", "getOperand", "(", "i", ")", ";", "return", "DAG", ".", "getNode", "(", "NewOpc", ",", "SDLoc", "(", "Op", ")", ",", "VT", ",", "NewOps", ")", ";", "}", "case", "X86ISD", "::", "FRCP", ":", "return", "DAG", ".", "getNode", "(", "Opc", ",", "SDLoc", "(", "Op", ")", ",", "VT", ",", "getNegatedExpression", "(", "Op", ".", "getOperand", "(", "0", ")", ",", "DAG", ",", "LegalOperations", ",", "ForCodeSize", ",", "Depth", "+", "1", ")", ")", ";", "}", "return", "TargetLowering", "::", "getNegatedExpression", "(", "Op", ",", "DAG", ",", "LegalOperations", ",", "ForCodeSize", ",", "Depth", ")", ";", "}", ""], "natrual_language": ["Return", "the", "newly", "negated", "expression", "if", "the", "cost", "is", "not", "expensive", "and", "set", "the", "cost", "in", "Cost", "to", "indicate", "that", "if", "it", "is", "cheaper", "or", "neutral", "to", "do", "the", "negation", "."], "TS_V_token": ["X86", "X86", "ISD::FMA", "X86ISD::FMSUB", "X86ISD::FNMADD", "X86ISD::FNMSUB", "X86ISD::FMADD_RND", "X86ISD::FMSUB_RND", "X86ISD::FNMADD_RND", "X86ISD::FNMSUB_RND", "MVT::f32", "MVT::f64", "ISD::FMA", "4", "0", "3", "1", "1", "0", "1", "2", "0", "X86ISD::FRCP", "0", "1"], "File": "X86ISelLowering130", "Func": "getNegatedExpression", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12401, "Length": 432, "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\"", ")", ";", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "get", "(", "ARM", "::", "FCONSTD", ")", ",", "DReg", ")", ".", "addImm", "(", "96", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "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", "ARMCC::AL"], "File": "ARMBaseInstrInfo1", "Func": "breakPartialRegDependency", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12402, "Length": 206, "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", "(", ")", "&&", "!", "PPCSubTarget", ".", "isPPC64", "(", ")", ")", "return", "LowerCall_SVR4", "(", "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": "PPCISelLowering62", "Func": "LowerCall", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12403, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "shouldExpandAtomicLoadInIR", "(", "LoadInst", "*", "LI", ")", "const", "{", "unsigned", "Size", "=", "LI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "return", "(", "Size", "==", "64", ")", "&&", "!", "Subtarget", "->", "isMClass", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "(", "atomic", ")", "load", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "."], "TS_V_token": ["ARM", "ARM", "64"], "File": "ARMISelLowering (2)3", "Func": "shouldExpandAtomicLoadInIR", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12404, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_load_call_address", "(", "enum", "mips_call_type", "type", ",", "rtx", "dest", ",", "rtx", "addr", ")", "{", "if", "(", "TARGET_EXPLICIT_RELOCS", "&&", "!", "(", "type", "==", "MIPS_CALL_SIBCALL", "&&", "TARGET_CALL_SAVED_GP", ")", "&&", "mips_ok_for_lazy_binding_p", "(", "addr", ")", ")", "{", "addr", "=", "mips_got_load", "(", "dest", ",", "addr", ",", "SYMBOL_GOTOFF_CALL", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "addr", ")", ")", ";", "return", "true", ";", "}", "else", "{", "mips_emit_move", "(", "dest", ",", "addr", ")", ";", "return", "false", ";", "}", "}", ""], "natrual_language": ["Load", "function", "address", "ADDR", "into", "register", "DEST", ".", "SIBCALL_P", "is", "true", "if", "the", "address", "is", "needed", "for", "a", "sibling", "call", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_load_call_address", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12405, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "X86Subtarget", "*", "X86TargetMachine", "::", "getSubtargetImpl", "(", "const", "Function", "&", "F", ")", "const", "{", "Attribute", "CPUAttr", "=", "F", ".", "getFnAttribute", "(", "\"target-cpu\"", ")", ";", "Attribute", "TuneAttr", "=", "F", ".", "getFnAttribute", "(", "\"tune-cpu\"", ")", ";", "Attribute", "FSAttr", "=", "F", ".", "getFnAttribute", "(", "\"target-features\"", ")", ";", "StringRef", "CPU", "=", "CPUAttr", ".", "isValid", "(", ")", "?", "CPUAttr", ".", "getValueAsString", "(", ")", ":", "(", "StringRef", ")", "TargetCPU", ";", "StringRef", "TuneCPU", "=", "TuneAttr", ".", "isValid", "(", ")", "?", "TuneAttr", ".", "getValueAsString", "(", ")", ":", "(", "StringRef", ")", "CPU", ";", "StringRef", "FS", "=", "FSAttr", ".", "isValid", "(", ")", "?", "FSAttr", ".", "getValueAsString", "(", ")", ":", "(", "StringRef", ")", "TargetFS", ";", "SmallString", "<", "512", ">", "Key", ";", "unsigned", "PreferVectorWidthOverride", "=", "0", ";", "Attribute", "PreferVecWidthAttr", "=", "F", ".", "getFnAttribute", "(", "\"prefer-vector-width\"", ")", ";", "if", "(", "PreferVecWidthAttr", ".", "isValid", "(", ")", ")", "{", "StringRef", "Val", "=", "PreferVecWidthAttr", ".", "getValueAsString", "(", ")", ";", "unsigned", "Width", ";", "if", "(", "!", "Val", ".", "getAsInteger", "(", "0", ",", "Width", ")", ")", "{", "Key", "+=", "\"prefer-vector-width=\"", ";", "Key", "+=", "Val", ";", "PreferVectorWidthOverride", "=", "Width", ";", "}", "}", "unsigned", "RequiredVectorWidth", "=", "UINT32_MAX", ";", "Attribute", "MinLegalVecWidthAttr", "=", "F", ".", "getFnAttribute", "(", "\"min-legal-vector-width\"", ")", ";", "if", "(", "MinLegalVecWidthAttr", ".", "isValid", "(", ")", ")", "{", "StringRef", "Val", "=", "MinLegalVecWidthAttr", ".", "getValueAsString", "(", ")", ";", "unsigned", "Width", ";", "if", "(", "!", "Val", ".", "getAsInteger", "(", "0", ",", "Width", ")", ")", "{", "Key", "+=", "\"min-legal-vector-width=\"", ";", "Key", "+=", "Val", ";", "RequiredVectorWidth", "=", "Width", ";", "}", "}", "Key", "+=", "CPU", ";", "Key", "+=", "\"tune=\"", ";", "Key", "+=", "TuneCPU", ";", "unsigned", "FSStart", "=", "Key", ".", "size", "(", ")", ";", "bool", "SoftFloat", "=", "F", ".", "getFnAttribute", "(", "\"use-soft-float\"", ")", ".", "getValueAsString", "(", ")", "==", "\"true\"", ";", "if", "(", "SoftFloat", ")", "Key", "+=", "FS", ".", "empty", "(", ")", "?", "\"+soft-float\"", ":", "\"+soft-float,\"", ";", "Key", "+=", "FS", ";", "FS", "=", "Key", ".", "substr", "(", "FSStart", ")", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "Key", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "std", "::", "make_unique", "<", "X86Subtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "TuneCPU", ",", "FS", ",", "*", "this", ",", "MaybeAlign", "(", "Options", ".", "StackAlignmentOverride", ")", ",", "PreferVectorWidthOverride", ",", "RequiredVectorWidth", ")", ";", "}", "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\"", "\"tune-cpu\"", "\"target-features\"", "512", "0", "\"prefer-vector-width\"", "0", "\"prefer-vector-width=\"", "\"min-legal-vector-width\"", "0", "\"min-legal-vector-width=\"", "\"tune=\"", "\"use-soft-float\"", "\"true\"", "\"+soft-float\"", "\"+soft-float,\"", "X86"], "File": "X86TargetMachine14", "Func": "getSubtargetImpl", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12406, "Length": 363, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMPLT1", "*", "ARMPLT", "::", "create", "(", ")", "{", "ARMPLT1", "*", "plt1_entry", "=", "new", "(", "std", "::", "nothrow", ")", "ARMPLT1", "(", "*", "m_pSectionData", ")", ";", "if", "(", "!", "plt1_entry", ")", "fatal", "(", "diag", "::", "fail_allocate_memory_plt", ")", ";", "return", "plt1_entry", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM"], "File": "ARMPLT", "Func": "create", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12407, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int64_t", "getOffset", "(", ")", "{", "return", "Offset", ";", "}", ""], "natrual_language": ["Get", "the", "offest", "of", "a", "string", "in", "the", "string", "table", "."], "TS_V_token": ["AArch64"], "File": "AArch64FastISel (2)", "Func": "getOffset", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12408, "Length": 9, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "function_expander", "::", "use_exact_insn", "(", "insn_code", "icode", ")", "{", "unsigned", "int", "nops", "=", "insn_data", "[", "icode", "]", ".", "n_operands", ";", "if", "(", "!", "function_returns_void_p", "(", ")", ")", "{", "add_output_operand", "(", "icode", ")", ";", "nops", "-=", "1", ";", "}", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "nops", ";", "++", "i", ")", "add_input_operand", "(", "icode", ",", "args", "[", "i", "]", ")", ";", "return", "generate_insn", "(", "icode", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "call", "using", "instruction", "ICODE", ",", "with", "a", "1:1", "mapping", "between", "arguments", "and", "input", "operands", "."], "TS_V_token": ["aarch64", "1", "0"], "File": "aarch64-sve-builtins", "Func": "use_exact_insn", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12409, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "PPCDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "OS", ",", "raw_ostream", "&", "CS", ")", "const", "{", "Size", "=", "4", ";", "if", "(", "Bytes", ".", "size", "(", ")", "<", "4", ")", "{", "Size", "=", "0", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "uint32_t", "Inst", "=", "IsLittleEndian", "?", "support", "::", "endian", "::", "read32le", "(", "Bytes", ".", "data", "(", ")", ")", ":", "support", "::", "endian", "::", "read32be", "(", "Bytes", ".", "data", "(", ")", ")", ";", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "PPC", "::", "FeatureQPX", "]", ")", "{", "DecodeStatus", "result", "=", "decodeInstruction", "(", "DecoderTableQPX32", ",", "MI", ",", "Inst", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "result", "!=", "MCDisassembler", "::", "Fail", ")", "return", "result", ";", "}", "else", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "PPC", "::", "FeatureSPE", "]", ")", "{", "DecodeStatus", "result", "=", "decodeInstruction", "(", "DecoderTableSPE32", ",", "MI", ",", "Inst", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "result", "!=", "MCDisassembler", "::", "Fail", ")", "return", "result", ";", "}", "return", "decodeInstruction", "(", "DecoderTable32", ",", "MI", ",", "Inst", ",", "Address", ",", "this", ",", "STI", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["PowerPC", "PPC", "4", "4", "0", "support::endian", "support::endian", "PPC::FeatureQPX", "PPC::FeatureSPE"], "File": "PPCDisassembler", "Func": "getInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12410, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "AU", ".", "addRequired", "<", "MachineModuleInfo", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineModuleInfo", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["X86"], "File": "X86RetpolineThunks", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12411, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "TargetPassConfig", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["SystemZ"], "File": "SystemZTDC6", "Func": "getAnalysisUsage", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12412, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "Value", "*", ">", "ARMTTIImpl", "::", "simplifyDemandedVectorEltsIntrinsic", "(", "InstCombiner", "&", "IC", ",", "IntrinsicInst", "&", "II", ",", "APInt", "OrigDemandedElts", ",", "APInt", "&", "UndefElts", ",", "APInt", "&", "UndefElts2", ",", "APInt", "&", "UndefElts3", ",", "std", "::", "function", "<", "void", "(", "Instruction", "*", ",", "unsigned", ",", "APInt", ",", "APInt", "&", ")", ">", "SimplifyAndSetOp", ")", "const", "{", "auto", "SimplifyNarrowInstrTopBottom", "=", "[", "&", "]", "(", "unsigned", "TopOpc", ")", "{", "unsigned", "NumElts", "=", "cast", "<", "FixedVectorType", ">", "(", "II", ".", "getType", "(", ")", ")", "->", "getNumElements", "(", ")", ";", "unsigned", "IsTop", "=", "cast", "<", "ConstantInt", ">", "(", "II", ".", "getOperand", "(", "TopOpc", ")", ")", "->", "getZExtValue", "(", ")", ";", "APInt", "DemandedElts", "=", "APInt", "::", "getSplat", "(", "NumElts", ",", "IsTop", "?", "APInt", "::", "getLowBitsSet", "(", "2", ",", "1", ")", ":", "APInt", "::", "getHighBitsSet", "(", "2", ",", "1", ")", ")", ";", "SimplifyAndSetOp", "(", "&", "II", ",", "0", ",", "OrigDemandedElts", "&", "DemandedElts", ",", "UndefElts", ")", ";", "UndefElts", "&=", "APInt", "::", "getSplat", "(", "NumElts", ",", "!", "IsTop", "?", "APInt", "::", "getLowBitsSet", "(", "2", ",", "1", ")", ":", "APInt", "::", "getHighBitsSet", "(", "2", ",", "1", ")", ")", ";", "return", "None", ";", "}", ";", "switch", "(", "II", ".", "getIntrinsicID", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Intrinsic", "::", "arm_mve_vcvt_narrow", ":", "SimplifyNarrowInstrTopBottom", "(", "2", ")", ";", "break", ";", "case", "Intrinsic", "::", "arm_mve_vqmovn", ":", "SimplifyNarrowInstrTopBottom", "(", "4", ")", ";", "break", ";", "case", "Intrinsic", "::", "arm_mve_vshrn", ":", "SimplifyNarrowInstrTopBottom", "(", "7", ")", ";", "break", ";", "}", "return", "None", ";", "}", ""], "natrual_language": ["Can", "be", "used", "to", "implement", "target-specific", "instruction", "combining", "."], "TS_V_token": ["ARM", "ARM", "2", "1", "2", "1", "0", "2", "1", "2", "1", "Intrinsic::arm_mve_vcvt_narrow", "2", "Intrinsic::arm_mve_vqmovn", "4", "Intrinsic::arm_mve_vshrn", "7"], "File": "ARMTargetTransformInfo14", "Func": "simplifyDemandedVectorEltsIntrinsic", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12413, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_emit_move_si_sf_subreg", "(", "rtx", "dest", ",", "rtx", "source", ",", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_DIRECT_MOVE_64BIT", "&&", "!", "reload_in_progress", "&&", "!", "reload_completed", "&&", "!", "lra_in_progress", "&&", "(", "!", "SUBREG_P", "(", "dest", ")", "||", "!", "sf_subreg_operand", "(", "dest", ",", "mode", ")", ")", "&&", "SUBREG_P", "(", "source", ")", "&&", "sf_subreg_operand", "(", "source", ",", "mode", ")", ")", "{", "rtx", "inner_source", "=", "SUBREG_REG", "(", "source", ")", ";", "machine_mode", "inner_mode", "=", "GET_MODE", "(", "inner_source", ")", ";", "if", "(", "mode", "==", "SImode", "&&", "inner_mode", "==", "SFmode", ")", "{", "emit_insn", "(", "gen_movsi_from_sf", "(", "dest", ",", "inner_source", ")", ")", ";", "return", "true", ";", "}", "if", "(", "mode", "==", "SFmode", "&&", "inner_mode", "==", "SImode", ")", "{", "emit_insn", "(", "gen_movsf_from_si", "(", "dest", ",", "inner_source", ")", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "change", "moves", "with", ":", "(", "SUBREG", ":", "SF", "(", "REG", ":", "SI", ")", ")", "and", "(", "SUBREG", ":", "SI", "(", "REG", ":", "SF", ")", ")", "into", "separate", "UNSPEC", "insns", ".", "In", "the", "PowerPC", "architecture", ",", "scalar", "SFmode", "values", "are", "stored", "as", "DFmode", "values", "in", "the", "VSX", "registers", ".", "We", "need", "to", "convert", "the", "bits", "before", "we", "can", "use", "a", "direct", "move", "or", "operate", "on", "the", "bits", "in", "the", "vector", "register", "as", "an", "integer", "type", ".", "Skip", "things", "like", "(", "set", "(", "SUBREG", ":", "SI", "(", "...", ")", "(", "SUBREG", ":", "SI", "(", "...", ")", ")", "."], "TS_V_token": ["rs6000"], "File": "rs60006", "Func": "rs6000_emit_move_si_sf_subreg", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12414, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMLowOverheadLoops", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "mf", ")", "{", "const", "ARMSubtarget", "&", "ST", "=", "mf", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "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", "(", ")", ")", ";", "TRI", "=", "ST", ".", "getRegisterInfo", "(", ")", ";", "BBUtils", "=", "std", "::", "unique_ptr", "<", "ARMBasicBlockUtils", ">", "(", "new", "ARMBasicBlockUtils", "(", "*", "MF", ")", ")", ";", "BBUtils", "->", "computeAllBlockSizes", "(", ")", ";", "BBUtils", "->", "adjustBBOffsetsAfter", "(", "&", "MF", "->", "front", "(", ")", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "ML", ":", "*", "MLI", ")", "{", "if", "(", "ML", "->", "isOutermost", "(", ")", ")", "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": "ARMLowOverheadLoops18", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12415, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FrameLowering", "::", "assignCalleeSavedSpillSlots", "(", "MachineFunction", "&", "MF", ",", "const", "TargetRegisterInfo", "*", "RegInfo", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "unsigned", "&", "MinCSFrameIndex", ",", "unsigned", "&", "MaxCSFrameIndex", ")", "const", "{", "bool", "NeedsWinCFI", "=", "needsWinCFI", "(", "MF", ")", ";", "if", "(", "NeedsWinCFI", ")", "std", "::", "reverse", "(", "CSI", ".", "begin", "(", ")", ",", "CSI", ".", "end", "(", ")", ")", ";", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "true", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "auto", "*", "AFI", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "bool", "UsesWinAAPCS", "=", "isTargetWindows", "(", "MF", ")", ";", "if", "(", "UsesWinAAPCS", "&&", "hasFP", "(", "MF", ")", "&&", "AFI", "->", "hasSwiftAsyncContext", "(", ")", ")", "{", "int", "FrameIdx", "=", "MFI", ".", "CreateStackObject", "(", "8", ",", "Align", "(", "16", ")", ",", "true", ")", ";", "AFI", "->", "setSwiftAsyncContextFrameIdx", "(", "FrameIdx", ")", ";", "if", "(", "(", "unsigned", ")", "FrameIdx", "<", "MinCSFrameIndex", ")", "MinCSFrameIndex", "=", "FrameIdx", ";", "if", "(", "(", "unsigned", ")", "FrameIdx", ">", "MaxCSFrameIndex", ")", "MaxCSFrameIndex", "=", "FrameIdx", ";", "}", "for", "(", "auto", "&", "CS", ":", "CSI", ")", "{", "Register", "Reg", "=", "CS", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "RegInfo", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "unsigned", "Size", "=", "RegInfo", "->", "getSpillSize", "(", "*", "RC", ")", ";", "Align", "Alignment", "(", "RegInfo", "->", "getSpillAlign", "(", "*", "RC", ")", ")", ";", "int", "FrameIdx", "=", "MFI", ".", "CreateStackObject", "(", "Size", ",", "Alignment", ",", "true", ")", ";", "CS", ".", "setFrameIdx", "(", "FrameIdx", ")", ";", "if", "(", "(", "unsigned", ")", "FrameIdx", "<", "MinCSFrameIndex", ")", "MinCSFrameIndex", "=", "FrameIdx", ";", "if", "(", "(", "unsigned", ")", "FrameIdx", ">", "MaxCSFrameIndex", ")", "MaxCSFrameIndex", "=", "FrameIdx", ";", "if", "(", "hasFP", "(", "MF", ")", "&&", "AFI", "->", "hasSwiftAsyncContext", "(", ")", "&&", "!", "UsesWinAAPCS", "&&", "Reg", "==", "AArch64", "::", "FP", ")", "{", "FrameIdx", "=", "MFI", ".", "CreateStackObject", "(", "8", ",", "Alignment", ",", "true", ")", ";", "AFI", "->", "setSwiftAsyncContextFrameIdx", "(", "FrameIdx", ")", ";", "if", "(", "(", "unsigned", ")", "FrameIdx", "<", "MinCSFrameIndex", ")", "MinCSFrameIndex", "=", "FrameIdx", ";", "if", "(", "(", "unsigned", ")", "FrameIdx", ">", "MaxCSFrameIndex", ")", "MaxCSFrameIndex", "=", "FrameIdx", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["This", "function", "will", "assign", "callee", "saved", "gprs", "to", "volatile", "vector", "registers", "for", "prologue", "spills", "when", "applicable", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "8", "16", "AArch64::FP", "8"], "File": "AArch64FrameLowering47", "Func": "assignCalleeSavedSpillSlots", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12416, "Length": 346, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "EnableA53Fix835769", ")", "addPass", "(", "createAArch64A53Fix835769", "(", ")", ")", ";", "if", "(", "BranchRelaxation", ")", "addPass", "(", "createAArch64BranchRelaxation", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableCollectLOH", "&&", "TM", "->", "getTargetTriple", "(", ")", ".", "isOSBinFormatMachO", "(", ")", ")", "addPass", "(", "createAArch64CollectLOHPass", "(", ")", ")", ";", "}", ""], "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": "AArch64TargetMachine74", "Func": "addPreEmitPass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12417, "Length": 61, "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", "SynchScope", "=", "AI", "->", "getSynchScope", "(", ")", ";", "auto", "Order", "=", "AtomicCmpXchgInst", "::", "getStrongestFailureOrdering", "(", "AI", "->", "getOrdering", "(", ")", ")", ";", "auto", "Ptr", "=", "AI", "->", "getPointerOperand", "(", ")", ";", "if", "(", "SynchScope", "==", "SingleThread", ")", "return", "nullptr", ";", "if", "(", "!", "hasMFENCE", "(", "Subtarget", ")", ")", "return", "nullptr", ";", "Function", "*", "MFence", "=", "llvm", "::", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "Intrinsic", "::", "x86_sse2_mfence", ")", ";", "Builder", ".", "CreateCall", "(", "MFence", ",", "{", "}", ")", ";", "LoadInst", "*", "Loaded", "=", "Builder", ".", "CreateAlignedLoad", "(", "Ptr", ",", "AI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ")", ";", "Loaded", "->", "setAtomic", "(", "Order", ",", "SynchScope", ")", ";", "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": "X86ISelLowering149", "Func": "lowerIdempotentRMWIntoFencedLoad", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12418, "Length": 202, "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": 12419, "Length": 373, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_must_pass_in_stack", "(", "const", "function_arg_info", "&", "arg", ")", "{", "if", "(", "DEFAULT_ABI", "==", "ABI_AIX", "||", "DEFAULT_ABI", "==", "ABI_ELFv2", "||", "TARGET_64BIT", ")", "return", "must_pass_in_stack_var_size", "(", "arg", ")", ";", "else", "return", "must_pass_in_stack_var_size_or_pad", "(", "arg", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "TYPE", "must", "be", "passed", "on", "the", "stack", "and", "not", "in", "registers", "."], "TS_V_token": ["rs6000"], "File": "rs6000-call", "Func": "rs6000_must_pass_in_stack", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12420, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTTIImpl", "::", "hasDivRemOp", "(", "Type", "*", "DataType", ",", "bool", "IsSigned", ")", "{", "EVT", "VT", "=", "TLI", "->", "getValueType", "(", "DL", ",", "DataType", ")", ";", "return", "TLI", "->", "isOperationLegalOrCustom", "(", "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": ["Mips", "Mips", "ISD::SDIVREM", "ISD::UDIVREM"], "File": "MipsTargetTransformInfo", "Func": "hasDivRemOp", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12421, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsCallEntry", "::", "isConstant", "(", "const", "MachineFrameInfo", "*", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "we", "know", "the", "value", "of", "all", "bits", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsMachineFunction", "Func": "isConstant", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12422, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_output_mi_thunk", "(", "FILE", "*", "file", ",", "tree", "thunk", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", ",", "tree", "function", ")", "{", "int", "this_regno", "=", "R0_REGNUM", ";", "rtx", "this_rtx", ",", "temp0", ",", "temp1", ",", "addr", ",", "funexp", ";", "rtx_insn", "*", "insn", ";", "const", "char", "*", "fnname", "=", "IDENTIFIER_POINTER", "(", "DECL_ASSEMBLER_NAME", "(", "thunk", ")", ")", ";", "if", "(", "aarch64_bti_enabled", "(", ")", ")", "emit_insn", "(", "gen_bti_c", "(", ")", ")", ";", "reload_completed", "=", "1", ";", "emit_note", "(", "NOTE_INSN_PROLOGUE_END", ")", ";", "this_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "this_regno", ")", ";", "temp0", "=", "gen_rtx_REG", "(", "Pmode", ",", "EP0_REGNUM", ")", ";", "temp1", "=", "gen_rtx_REG", "(", "Pmode", ",", "EP1_REGNUM", ")", ";", "if", "(", "vcall_offset", "==", "0", ")", "aarch64_add_offset", "(", "Pmode", ",", "this_rtx", ",", "this_rtx", ",", "delta", ",", "temp1", ",", "temp0", ",", "false", ")", ";", "else", "{", "gcc_assert", "(", "(", "vcall_offset", "&", "(", "POINTER_BYTES", "-", "1", ")", ")", "==", "0", ")", ";", "addr", "=", "this_rtx", ";", "if", "(", "delta", "!=", "0", ")", "{", "if", "(", "delta", ">=", "-", "256", "&&", "delta", "<", "256", ")", "addr", "=", "gen_rtx_PRE_MODIFY", "(", "Pmode", ",", "this_rtx", ",", "plus_constant", "(", "Pmode", ",", "this_rtx", ",", "delta", ")", ")", ";", "else", "aarch64_add_offset", "(", "Pmode", ",", "this_rtx", ",", "this_rtx", ",", "delta", ",", "temp1", ",", "temp0", ",", "false", ")", ";", "}", "if", "(", "Pmode", "==", "ptr_mode", ")", "aarch64_emit_move", "(", "temp0", ",", "gen_rtx_MEM", "(", "ptr_mode", ",", "addr", ")", ")", ";", "else", "aarch64_emit_move", "(", "temp0", ",", "gen_rtx_ZERO_EXTEND", "(", "Pmode", ",", "gen_rtx_MEM", "(", "ptr_mode", ",", "addr", ")", ")", ")", ";", "if", "(", "vcall_offset", ">=", "-", "256", "&&", "vcall_offset", "<", "4096", "*", "POINTER_BYTES", ")", "addr", "=", "plus_constant", "(", "Pmode", ",", "temp0", ",", "vcall_offset", ")", ";", "else", "{", "aarch64_internal_mov_immediate", "(", "temp1", ",", "GEN_INT", "(", "vcall_offset", ")", ",", "true", ",", "Pmode", ")", ";", "addr", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "temp0", ",", "temp1", ")", ";", "}", "if", "(", "Pmode", "==", "ptr_mode", ")", "aarch64_emit_move", "(", "temp1", ",", "gen_rtx_MEM", "(", "ptr_mode", ",", "addr", ")", ")", ";", "else", "aarch64_emit_move", "(", "temp1", ",", "gen_rtx_SIGN_EXTEND", "(", "Pmode", ",", "gen_rtx_MEM", "(", "ptr_mode", ",", "addr", ")", ")", ")", ";", "emit_insn", "(", "gen_add2_insn", "(", "this_rtx", ",", "temp1", ")", ")", ";", "}", "if", "(", "!", "TREE_USED", "(", "function", ")", ")", "{", "assemble_external", "(", "function", ")", ";", "TREE_USED", "(", "function", ")", "=", "1", ";", "}", "funexp", "=", "XEXP", "(", "DECL_RTL", "(", "function", ")", ",", "0", ")", ";", "funexp", "=", "gen_rtx_MEM", "(", "FUNCTION_MODE", ",", "funexp", ")", ";", "rtx", "callee_abi", "=", "gen_int_mode", "(", "fndecl_abi", "(", "function", ")", ".", "id", "(", ")", ",", "DImode", ")", ";", "insn", "=", "emit_call_insn", "(", "gen_sibcall", "(", "funexp", ",", "const0_rtx", ",", "callee_abi", ")", ")", ";", "SIBLING_CALL_P", "(", "insn", ")", "=", "1", ";", "insn", "=", "get_insns", "(", ")", ";", "shorten_branches", "(", "insn", ")", ";", "assemble_start_function", "(", "thunk", ",", "fnname", ")", ";", "final_start_function", "(", "insn", ",", "file", ",", "1", ")", ";", "final", "(", "insn", ",", "file", ",", "1", ")", ";", "final_end_function", "(", ")", ";", "assemble_end_function", "(", "thunk", ",", "fnname", ")", ";", "reload_completed", "=", "0", ";", "}", ""], "natrual_language": ["Output", "code", "to", "add", "DELTA", "to", "the", "first", "argument", ",", "and", "then", "jump", "to", "FUNCTION", ".", "Used", "for", "C++", "multiple", "inheritance", "."], "TS_V_token": ["aarch64", "1", "0", "1", "0", "0", "256", "256", "256", "4096", "1", "0", "1", "1", "1", "0"], "File": "aarch64", "Func": "aarch64_output_mi_thunk", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12423, "Length": 471, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "uint64_t", "Address", ",", "StringRef", "Annotation", ",", "const", "MCSubtargetInfo", "&", ",", "raw_ostream", "&", "OS", ")", "{", "if", "(", "!", "printAlias", "(", "MI", ",", "OS", ")", "&&", "!", "printAliasInstr", "(", "MI", ",", "OS", ")", ")", "printInstruction", "(", "MI", ",", "Address", ",", "OS", ")", ";", "printAnnotation", "(", "OS", ",", "Annotation", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["Lanai", "Lanai"], "File": "LanaiInstPrinter8", "Func": "printInst", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12424, "Length": 60, "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", ";", "if", "(", "isa", "<", "ScalableVectorType", ">", "(", "Ty", ")", ")", "{", "uint64_t", "VecElemNumBytes", "=", "DL", ".", "getTypeSizeInBits", "(", "cast", "<", "VectorType", ">", "(", "Ty", ")", "->", "getElementType", "(", ")", ")", "/", "8", ";", "return", "AM", ".", "HasBaseReg", "&&", "!", "AM", ".", "BaseOffs", "&&", "(", "AM", ".", "Scale", "==", "0", "||", "(", "uint64_t", ")", "AM", ".", "Scale", "==", "VecElemNumBytes", ")", ";", "}", "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", "8", "0", "0", "8", "0", "9", "0", "1LL", "12", "1", "1", "0"], "File": "AArch64ISelLowering (2)2", "Func": "isLegalAddressingMode", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12425, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "ARMBaseRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "ARMSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "const", "ARMFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "SP", ")", ";", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "PC", ")", ";", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "FPSCR", ")", ";", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "APSR_NZCV", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", "||", "STI", ".", "isTargetDarwin", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "getFramePointerReg", "(", "STI", ")", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "BasePtr", ")", ";", "if", "(", "STI", ".", "isR9Reserved", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "R9", ")", ";", "if", "(", "!", "STI", ".", "hasD32", "(", ")", ")", "{", "static_assert", "(", "ARM", "::", "D31", "==", "ARM", "::", "D16", "+", "15", ",", "\"Register list not consecutive!\"", ")", ";", "for", "(", "unsigned", "R", "=", "0", ";", "R", "<", "16", ";", "++", "R", ")", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "D16", "+", "R", ")", ";", "}", "const", "TargetRegisterClass", "&", "RC", "=", "ARM", "::", "GPRPairRegClass", ";", "for", "(", "unsigned", "Reg", ":", "RC", ")", "for", "(", "MCSubRegIterator", "SI", "(", "Reg", ",", "this", ")", ";", "SI", ".", "isValid", "(", ")", ";", "++", "SI", ")", "if", "(", "Reserved", ".", "test", "(", "*", "SI", ")", ")", "markSuperRegs", "(", "Reserved", ",", "Reg", ")", ";", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "ZR", ")", ";", "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": ["ARM", "ARM", "ARM", "ARM", "ARM", "ARM::SP", "ARM::PC", "ARM::FPSCR", "ARM::APSR_NZCV", "ARM::R9", "ARM::D31", "ARM::D16", "15", "\"Register list not consecutive!\"", "0", "16", "ARM::D16", "ARM::GPRPairRegClass", "ARM::ZR"], "File": "ARMBaseRegisterInfo17", "Func": "getReservedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12426, "Length": 260, "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", ";", "StringRef", "Suffix", ";", "if", "(", "MO", ".", "getTargetFlags", "(", ")", "&", "PPCII", "::", "MO_NLP_FLAG", ")", "Suffix", "=", "\"$non_lazy_ptr\"", ";", "if", "(", "!", "Suffix", ".", "empty", "(", ")", ")", "Name", "+=", "DL", ".", "getPrivateGlobalPrefix", "(", ")", ";", "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", ")", ";", "}", "Name", "+=", "Suffix", ";", "MCSymbol", "*", "Sym", "=", "Ctx", ".", "getOrCreateSymbol", "(", "Name", ")", ";", "if", "(", "MO", ".", "getTargetFlags", "(", ")", "&", "PPCII", "::", "MO_NLP_FLAG", ")", "{", "MachineModuleInfoMachO", "&", "MachO", "=", "getMachOMMI", "(", "AP", ")", ";", "MachineModuleInfoImpl", "::", "StubValueTy", "&", "StubSym", "=", "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", "128", "PPCII::MO_NLP_FLAG", "\"$non_lazy_ptr\"", "\"Isn't a symbol reference\"", "PPCII::MO_NLP_FLAG", "\"Extern symbol not handled yet\""], "File": "PPCMCInstLower (2)1", "Func": "GetSymbolFromOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12427, "Length": 270, "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": 12428, "Length": 280, "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", "(", ")", ")", ";", "if", "(", "!", "AFI", "->", "isThumbFunction", "(", ")", ")", "return", "false", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "MFI", "=", "Fn", ".", "begin", "(", ")", ",", "E", "=", "Fn", ".", "end", "(", ")", ";", "MFI", "!=", "E", ";", "++", "MFI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MFI", ";", "Modified", "|=", "InsertITBlocks", "(", "MBB", ")", ";", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM"], "File": "Thumb2ITBlockPass22", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12429, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isFunctionSafeToOutlineFrom", "(", "MachineFunction", "&", "MF", ",", "bool", "OutlineFromLinkOnceODRs", ")", "const", "{", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "!", "OutlineFromLinkOnceODRs", "&&", "F", ".", "hasLinkOnceODRLinkage", "(", ")", ")", "return", "false", ";", "if", "(", "F", ".", "hasSection", "(", ")", ")", "return", "false", ";", "AArch64FunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "if", "(", "!", "AFI", "||", "AFI", "->", "hasRedZone", "(", ")", ".", "getValueOr", "(", "true", ")", ")", "return", "false", ";", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", "->", "usesWindowsCFI", "(", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "function", "can", "safely", "be", "outlined", "from", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64InstrInfo105", "Func": "isFunctionSafeToOutlineFrom", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12430, "Length": 105, "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": 12431, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "AArch64InstrInfo", "*", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "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", "(", ")", ";", "int64_t", "Amount", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "Amount", "=", "RoundUpToAlignment", "(", "Amount", ",", "Align", ")", ";", "if", "(", "!", "IsDestroy", ")", "Amount", "=", "-", "Amount", ";", "if", "(", "CalleePopAmount", "==", "0", ")", "{", "assert", "(", "Amount", ">", "-", "0xffffff", "&&", "Amount", "<", "0xffffff", "&&", "\"call frame too large\"", ")", ";", "emitFrameOffset", "(", "MBB", ",", "I", ",", "DL", ",", "AArch64", "::", "SP", ",", "AArch64", "::", "SP", ",", "Amount", ",", "TII", ")", ";", "}", "}", "else", "if", "(", "CalleePopAmount", "!=", "0", ")", "{", "assert", "(", "CalleePopAmount", "<", "0xffffff", "&&", "\"call frame too large\"", ")", ";", "emitFrameOffset", "(", "MBB", ",", "I", ",", "DL", ",", "AArch64", "::", "SP", ",", "AArch64", "::", "SP", ",", "-", "CalleePopAmount", ",", "TII", ")", ";", "}", "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": ["AArch64", "AArch64", "AArch64", "AArch64", "1", "0", "0", "0", "0xffffff", "0xffffff", "\"call frame too large\"", "AArch64::SP", "AArch64::SP", "0", "0xffffff", "\"call frame too large\"", "AArch64::SP", "AArch64::SP"], "File": "AArch64FrameLowering (2)", "Func": "eliminateCallFramePseudoInstr", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12432, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "PPCTargetLowering", "::", "getOptimalMemOpType", "(", "const", "MemOp", "&", "Op", ",", "const", "AttributeList", "&", "FuncAttributes", ")", "const", "{", "if", "(", "getTargetMachine", "(", ")", ".", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "Subtarget", ".", "hasQPX", "(", ")", "&&", "Op", ".", "size", "(", ")", ">=", "32", "&&", "(", "Op", ".", "isMemcpy", "(", ")", "||", "Op", ".", "size", "(", ")", ">=", "64", ")", "&&", "Op", ".", "isAligned", "(", "Align", "(", "32", ")", ")", "&&", "!", "FuncAttributes", ".", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ")", "{", "return", "MVT", "::", "v4f64", ";", "}", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", "&&", "Op", ".", "size", "(", ")", ">=", "16", "&&", "(", "Op", ".", "isAligned", "(", "Align", "(", "16", ")", ")", "||", "(", "(", "Op", ".", "isMemset", "(", ")", "&&", "Subtarget", ".", "hasVSX", "(", ")", ")", "||", "Subtarget", ".", "hasP8Vector", "(", ")", ")", ")", ")", "return", "MVT", "::", "v4i32", ";", "}", "if", "(", "Subtarget", ".", "isPPC64", "(", ")", ")", "{", "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": ["PowerPC", "PPC", "32", "64", "32", "MVT::v4f64", "16", "16", "MVT::v4i32", "PPC", "MVT::i64", "MVT::i32"], "File": "PPCISelLowering101", "Func": "getOptimalMemOpType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12433, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_move_to_gpr_cost", "(", "reg_class_t", "from", ")", "{", "switch", "(", "from", ")", "{", "case", "M16_REGS", ":", "case", "GENERAL_REGS", ":", "return", "2", ";", "case", "ACC_REGS", ":", "return", "6", ";", "case", "FP_REGS", ":", "return", "4", ";", "case", "COP0_REGS", ":", "case", "COP2_REGS", ":", "case", "COP3_REGS", ":", "return", "5", ";", "default", ":", "return", "0", ";", "}", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "moving", "a", "value", "from", "a", "register", "of", "class", "FROM", "to", "a", "GPR", ".", "Return", "0", "for", "classes", "that", "are", "unions", "of", "other", "classes", "handled", "by", "this", "function", "."], "TS_V_token": ["mips", "2", "6", "4", "5", "0"], "File": "mips", "Func": "mips_move_to_gpr_cost", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12434, "Length": 53, "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": "A15SDOptimizer1", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12435, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", "const", "{", "unsigned", "NumBytes", "=", "getFixupKindInfo", "(", "Fixup", ".", "getKind", "(", ")", ")", ".", "TargetSize", "/", "8", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ".", "getKind", "(", ")", ",", "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": ["AArch64", "8", "\"Invalid fixup offset!\"", "0", "8", "0xff"], "File": "AArch64AsmBackend27", "Func": "applyFixup", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12436, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64RegisterInfo", "::", "resolveFrameIndex", "(", "MachineInstr", "&", "MI", ",", "Register", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "StackOffset", "Off", "(", "Offset", ",", "MVT", "::", "i8", ")", ";", "unsigned", "i", "=", "0", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "const", "MachineFunction", "*", "MF", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "AArch64InstrInfo", "*", "TII", "=", "MF", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "bool", "Done", "=", "rewriteAArch64FrameIndex", "(", "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": ["AArch64", "AArch64", "MVT::i8", "0", "\"Instr doesn't have FrameIndex operand!\"", "AArch64", "AArch64", "AArch64", "\"Unable to resolve frame index!\""], "File": "AArch64RegisterInfo12", "Func": "resolveFrameIndex", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12437, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_avx_emit_vzeroupper", "(", "HARD_REG_SET", "regs_live", ")", "{", "int", "i", ";", "for", "(", "i", "=", "FIRST_SSE_REG", ";", "i", "<=", "LAST_SSE_REG", ";", "i", "++", ")", "if", "(", "TEST_HARD_REG_BIT", "(", "regs_live", ",", "i", ")", "&&", "!", "call_used_regs", "[", "i", "]", ")", "return", ";", "if", "(", "TARGET_64BIT", ")", "for", "(", "i", "=", "FIRST_REX_SSE_REG", ";", "i", "<=", "LAST_REX_SSE_REG", ";", "i", "++", ")", "if", "(", "TEST_HARD_REG_BIT", "(", "regs_live", ",", "i", ")", "&&", "!", "call_used_regs", "[", "i", "]", ")", "return", ";", "emit_insn", "(", "gen_avx_vzeroupper", "(", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "vzeroupper", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_avx_emit_vzeroupper", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12438, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcInstrInfo", "::", "expandPostRAPseudo", "(", "MachineInstr", "&", "MI", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "TargetOpcode", "::", "LOAD_STACK_GUARD", ":", "{", "assert", "(", "Subtarget", ".", "isTargetLinux", "(", ")", "&&", "\"Only Linux target is expected to contain LOAD_STACK_GUARD\"", ")", ";", "const", "int64_t", "Offset", "=", "Subtarget", ".", "is64Bit", "(", ")", "?", "0x28", ":", "0x14", ";", "MI", ".", "setDesc", "(", "get", "(", "Subtarget", ".", "is64Bit", "(", ")", "?", "SP", "::", "LDXri", ":", "SP", "::", "LDri", ")", ")", ";", "MachineInstrBuilder", "(", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ".", "addReg", "(", "SP", "::", "G7", ")", ".", "addImm", "(", "Offset", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["Sparc", "Sparc", "\"Only Linux target is expected to contain LOAD_STACK_GUARD\"", "0x28", "0x14", "SP::LDXri", "SP::LDri", "SP::G7"], "File": "SparcInstrInfo1", "Func": "expandPostRAPseudo", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12439, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "gcc_regs", "*", "get_regs", "(", "struct", "_Unwind_Context", "*", "context", ")", "{", "const", "unsigned", "char", "*", "pc", "=", "context", "->", "ra", ";", "if", "(", "*", "(", "unsigned", "int", "*", ")", "(", "pc", "+", "4", ")", "!=", "0x44000002", ")", "return", "NULL", ";", "if", "(", "*", "(", "unsigned", "int", "*", ")", "(", "pc", "+", "0", ")", "==", "0x38007777", "||", "*", "(", "unsigned", "int", "*", ")", "(", "pc", "+", "0", ")", "==", "0x38000077", ")", "{", "struct", "sigframe", "{", "char", "gap", "[", "SIGNAL_FRAMESIZE", "]", ";", "unsigned", "long", "pad", "[", "7", "]", ";", "struct", "gcc_regs", "*", "regs", ";", "}", "*", "frame", "=", "(", "struct", "sigframe", "*", ")", "context", "->", "cfa", ";", "return", "frame", "->", "regs", ";", "}", "else", "if", "(", "*", "(", "unsigned", "int", "*", ")", "(", "pc", "+", "0", ")", "==", "0x38006666", "||", "*", "(", "unsigned", "int", "*", ")", "(", "pc", "+", "0", ")", "==", "0x380000AC", ")", "{", "struct", "rt_sigframe", "{", "char", "gap", "[", "SIGNAL_FRAMESIZE", "+", "16", "]", ";", "char", "siginfo", "[", "128", "]", ";", "struct", "gcc_ucontext", "uc", ";", "}", "*", "frame", "=", "(", "struct", "rt_sigframe", "*", ")", "context", "->", "cfa", ";", "return", "frame", "->", "uc", ".", "regs", ";", "}", "return", "NULL", ";", "}", ""], "natrual_language": ["If", "PC", "is", "at", "a", "sigreturn", "trampoline", ",", "return", "a", "pointer", "to", "the", "regs", ".", "Otherwise", "return", "NULL", "."], "TS_V_token": ["rs6000", "4", "0x44000002", "0", "0x38007777", "0", "0x38000077", "7", "0", "0x38006666", "0", "0x380000AC", "16", "128"], "File": "linux-unwind", "Func": "get_regs", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12440, "Length": 190, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "borx_reg_operand", "(", "rtx", "op", ",", "enum", "machine_mode", "mode", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "!=", "REG", ")", "return", "0", ";", "if", "(", "op", "==", "virtual_incoming_args_rtx", "||", "op", "==", "virtual_stack_vars_rtx", "||", "op", "==", "virtual_stack_dynamic_rtx", "||", "op", "==", "virtual_outgoing_args_rtx", "||", "op", "==", "virtual_cfa_rtx", ")", "return", "0", ";", "if", "(", "!", "reload_completed", "&&", "flag_omit_frame_pointer", "&&", "!", "current_function_calls_alloca", "&&", "op", "==", "frame_pointer_rtx", ")", "return", "0", ";", "return", "register_operand", "(", "op", ",", "mode", ")", ";", "}", ""], "natrual_language": ["Return", "1", "if", "OP", "is", "valid", "as", "a", "base", "or", "index", "register", "in", "a", "REG+REG", "address", "."], "TS_V_token": ["pa", "0", "0", "0"], "File": "pa3", "Func": "borx_reg_operand", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12441, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"2003f Eliminate Pseudo Instr FI_MALKRZ\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["F2003f", "\"2003f Eliminate Pseudo Instr FI_MALKRZ\""], "File": "F2003fFiMalkrz", "Func": "getPassName", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12442, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "function_expander", "::", "use_contiguous_store_insn", "(", "insn_code", "icode", ")", "{", "machine_mode", "mem_mode", "=", "memory_vector_mode", "(", ")", ";", "add_mem_operand", "(", "mem_mode", ",", "get_contiguous_base", "(", "mem_mode", ")", ")", ";", "add_input_operand", "(", "icode", ",", "args", ".", "last", "(", ")", ")", ";", "add_input_operand", "(", "icode", ",", "args", "[", "0", "]", ")", ";", "return", "generate_insn", "(", "icode", ")", ";", "}", ""], "natrual_language": ["Use", "contiguous", "store", "INSN", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64-sve-builtins", "Func": "use_contiguous_store_insn", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12443, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMAsmPrinter", "::", "emitStartOfAsmFile", "(", "Module", "&", "M", ")", "{", "const", "Triple", "&", "TT", "=", "TM", ".", "getTargetTriple", "(", ")", ";", "OutStreamer", "->", "emitAssemblerFlag", "(", "MCAF_SyntaxUnified", ")", ";", "if", "(", "TT", ".", "isOSBinFormatELF", "(", ")", ")", "emitAttributes", "(", ")", ";", "if", "(", "!", "M", ".", "getModuleInlineAsm", "(", ")", ".", "empty", "(", ")", "&&", "TT", ".", "isThumb", "(", ")", ")", "OutStreamer", "->", "emitAssemblerFlag", "(", "MCAF_Code16", ")", ";", "}", ""], "natrual_language": ["This", "virtual", "method", "can", "be", "overridden", "by", "targets", "that", "want", "to", "emit", "something", "at", "the", "start", "of", "their", "file", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMAsmPrinter", "Func": "emitStartOfAsmFile", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12444, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_save_regs_using_mov", "(", "rtx", "pointer", ",", "HOST_WIDE_INT", "offset", ")", "{", "unsigned", "int", "regno", ";", "rtx", "insn", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "ix86_save_reg", "(", "regno", ",", "true", ")", ")", "{", "insn", "=", "emit_move_insn", "(", "adjust_address", "(", "gen_rtx_MEM", "(", "Pmode", ",", "pointer", ")", ",", "Pmode", ",", "offset", ")", ",", "gen_rtx_REG", "(", "Pmode", ",", "regno", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "offset", "+=", "UNITS_PER_WORD", ";", "}", "}", ""], "natrual_language": ["Emit", "code", "to", "save", "registers", "using", "MOV", "insns", ".", "First", "register", "is", "restored", "from", "POINTER", "+", "OFFSET", "."], "TS_V_token": ["i386", "0", "1"], "File": "i3863", "Func": "ix86_emit_save_regs_using_mov", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12445, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "X86InstrInfo", "::", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "&", "MI", ",", "ArrayRef", "<", "unsigned", ">", "Ops", ",", "MachineBasicBlock", "::", "iterator", "InsertPt", ",", "int", "FrameIndex", ",", "LiveIntervals", "*", "LIS", ")", "const", "{", "if", "(", "NoFusing", ")", "return", "nullptr", ";", "if", "(", "!", "MF", ".", "getFunction", "(", ")", "->", "optForSize", "(", ")", "&&", "hasPartialRegUpdate", "(", "MI", ".", "getOpcode", "(", ")", ")", ")", "return", "nullptr", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "Size", "=", "MFI", ".", "getObjectSize", "(", "FrameIndex", ")", ";", "unsigned", "Alignment", "=", "MFI", ".", "getObjectAlignment", "(", "FrameIndex", ")", ";", "if", "(", "!", "RI", ".", "needsStackRealignment", "(", "MF", ")", ")", "Alignment", "=", "std", "::", "min", "(", "Alignment", ",", "Subtarget", ".", "getFrameLowering", "(", ")", "->", "getStackAlignment", "(", ")", ")", ";", "if", "(", "Ops", ".", "size", "(", ")", "==", "2", "&&", "Ops", "[", "0", "]", "==", "0", "&&", "Ops", "[", "1", "]", "==", "1", ")", "{", "unsigned", "NewOpc", "=", "0", ";", "unsigned", "RCSize", "=", "0", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "nullptr", ";", "case", "X86", "::", "TEST8rr", ":", "NewOpc", "=", "X86", "::", "CMP8ri", ";", "RCSize", "=", "1", ";", "break", ";", "case", "X86", "::", "TEST16rr", ":", "NewOpc", "=", "X86", "::", "CMP16ri8", ";", "RCSize", "=", "2", ";", "break", ";", "case", "X86", "::", "TEST32rr", ":", "NewOpc", "=", "X86", "::", "CMP32ri8", ";", "RCSize", "=", "4", ";", "break", ";", "case", "X86", "::", "TEST64rr", ":", "NewOpc", "=", "X86", "::", "CMP64ri8", ";", "RCSize", "=", "8", ";", "break", ";", "}", "if", "(", "Size", "<", "RCSize", ")", "return", "nullptr", ";", "MI", ".", "setDesc", "(", "get", "(", "NewOpc", ")", ")", ";", "MI", ".", "getOperand", "(", "1", ")", ".", "ChangeToImmediate", "(", "0", ")", ";", "}", "else", "if", "(", "Ops", ".", "size", "(", ")", "!=", "1", ")", "return", "nullptr", ";", "return", "foldMemoryOperandImpl", "(", "MF", ",", "MI", ",", "Ops", "[", "0", "]", ",", "MachineOperand", "::", "CreateFI", "(", "FrameIndex", ")", ",", "InsertPt", ",", "Size", ",", "Alignment", ",", "true", ")", ";", "}", ""], "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": ["X86", "X86", "2", "0", "0", "1", "1", "0", "0", "X86::TEST8rr", "X86::CMP8ri", "1", "X86::TEST16rr", "X86::CMP16ri8", "2", "X86::TEST32rr", "X86::CMP32ri8", "4", "X86::TEST64rr", "X86::CMP64ri8", "8", "1", "0", "1", "0"], "File": "X86InstrInfo10", "Func": "foldMemoryOperandImpl", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12446, "Length": 319, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsPassConfig", "::", "addIRTranslator", "(", ")", "{", "addPass", "(", "new", "IRTranslator", "(", ")", ")", ";", "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": ["Mips", "Mips"], "File": "MipsTargetMachine14", "Func": "addIRTranslator", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12447, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_expand_compare_and_swap", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "bval", ",", "rval", ",", "mem", ",", "oldval", ",", "newval", ",", "is_weak", ",", "mod_s", ",", "mod_f", ",", "x", ";", "machine_mode", "mode", ";", "rtx", "(", "*", "gen", ")", "(", "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", "QImode", ":", "case", "HImode", ":", "rval", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "oldval", "=", "convert_modes", "(", "SImode", ",", "mode", ",", "oldval", ",", "true", ")", ";", "case", "SImode", ":", "if", "(", "!", "arm_add_operand", "(", "oldval", ",", "SImode", ")", ")", "oldval", "=", "force_reg", "(", "SImode", ",", "oldval", ")", ";", "break", ";", "case", "DImode", ":", "if", "(", "!", "cmpdi_operand", "(", "oldval", ",", "mode", ")", ")", "oldval", "=", "force_reg", "(", "mode", ",", "oldval", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "switch", "(", "mode", ")", "{", "case", "QImode", ":", "gen", "=", "gen_atomic_compare_and_swapqi_1", ";", "break", ";", "case", "HImode", ":", "gen", "=", "gen_atomic_compare_and_swaphi_1", ";", "break", ";", "case", "SImode", ":", "gen", "=", "gen_atomic_compare_and_swapsi_1", ";", "break", ";", "case", "DImode", ":", "gen", "=", "gen_atomic_compare_and_swapdi_1", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "emit_insn", "(", "gen", "(", "rval", ",", "mem", ",", "oldval", ",", "newval", ",", "is_weak", ",", "mod_s", ",", "mod_f", ")", ")", ";", "if", "(", "mode", "==", "QImode", "||", "mode", "==", "HImode", ")", "emit_move_insn", "(", "operands", "[", "1", "]", ",", "gen_lowpart", "(", "mode", ",", "rval", ")", ")", ";", "x", "=", "gen_rtx_REG", "(", "CCmode", ",", "CC_REGNUM", ")", ";", "x", "=", "gen_rtx_EQ", "(", "SImode", ",", "x", ",", "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": "arm5", "Func": "arm_expand_compare_and_swap", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12448, "Length": 358, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "insn_terminates_group_p", "(", "rtx_insn", "*", "insn", ",", "enum", "group_termination", "which_group", ")", "{", "bool", "first", ",", "last", ";", "if", "(", "!", "insn", ")", "return", "false", ";", "first", "=", "insn_must_be_first_in_group", "(", "insn", ")", ";", "last", "=", "insn_must_be_last_in_group", "(", "insn", ")", ";", "if", "(", "first", "&&", "last", ")", "return", "true", ";", "if", "(", "which_group", "==", "current_group", ")", "return", "last", ";", "else", "if", "(", "which_group", "==", "previous_group", ")", "return", "first", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "whether", "the", "presence", "of", "INSN", "causes", "a", "dispatch", "group", "termination", "of", "group", "WHICH_GROUP", ".", "If", "WHICH_GROUP", "==", "current_group", ",", "this", "function", "will", "return", "true", "if", "INSN", "causes", "the", "termination", "of", "the", "current", "group", "(", "i.e", ",", "the", "dispatch", "group", "to", "which", "INSN", "belongs", ")", ".", "This", "means", "that", "INSN", "will", "be", "the", "last", "insn", "in", "the", "group", "it", "belongs", "to", ".", "If", "WHICH_GROUP", "==", "previous_group", ",", "this", "function", "will", "return", "true", "if", "INSN", "causes", "the", "termination", "of", "the", "previous", "group", "(", "i.e", ",", "the", "dispatch", "group", "that", "precedes", "the", "group", "to", "which", "INSN", "belongs", ")", ".", "This", "means", "that", "INSN", "will", "be", "the", "first", "insn", "in", "the", "group", "it", "belongs", "to", ")", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "insn_terminates_group_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12449, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sparc_function_value", "(", "const_tree", "valtype", ",", "const_tree", "fn_decl_or_type", "ATTRIBUTE_UNUSED", ",", "bool", "outgoing", ")", "{", "return", "sparc_function_value_1", "(", "valtype", ",", "TYPE_MODE", "(", "valtype", ")", ",", "outgoing", ")", ";", "}", ""], "natrual_language": ["Handle", "TARGET_FUNCTION_VALUE", ".", "On", "the", "SPARC", ",", "the", "value", "is", "found", "in", "the", "first", "``", "output", "''", "register", ",", "but", "the", "called", "function", "leaves", "it", "in", "the", "first", "``", "input", "''", "register", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "sparc_function_value", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12450, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CAHPInstrInfo", "::", "reverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "assert", "(", "(", "Cond", ".", "size", "(", ")", "==", "3", ")", "&&", "\"Invalid branch condition!\"", ")", ";", "bool", "ShouldSwap", "=", "false", ";", "switch", "(", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ")", "{", "case", "CAHP", "::", "BEQ", ":", "Cond", "[", "0", "]", ".", "setImm", "(", "CAHP", "::", "BNE", ")", ";", "break", ";", "case", "CAHP", "::", "BNE", ":", "Cond", "[", "0", "]", ".", "setImm", "(", "CAHP", "::", "BEQ", ")", ";", "break", ";", "case", "CAHP", "::", "BLT", ":", "Cond", "[", "0", "]", ".", "setImm", "(", "CAHP", "::", "BLE", ")", ";", "ShouldSwap", "=", "true", ";", "break", ";", "case", "CAHP", "::", "BLE", ":", "Cond", "[", "0", "]", ".", "setImm", "(", "CAHP", "::", "BLT", ")", ";", "ShouldSwap", "=", "true", ";", "break", ";", "case", "CAHP", "::", "BLTU", ":", "Cond", "[", "0", "]", ".", "setImm", "(", "CAHP", "::", "BLEU", ")", ";", "ShouldSwap", "=", "true", ";", "break", ";", "case", "CAHP", "::", "BLEU", ":", "Cond", "[", "0", "]", ".", "setImm", "(", "CAHP", "::", "BLTU", ")", ";", "ShouldSwap", "=", "true", ";", "break", ";", "}", "if", "(", "ShouldSwap", ")", "{", "using", "std", "::", "swap", ";", "swap", "(", "Cond", "[", "1", "]", ",", "Cond", "[", "2", "]", ")", ";", "}", "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": ["CAHP", "CAHP", "3", "\"Invalid branch condition!\"", "0", "CAHP::BEQ", "0", "CAHP::BNE", "CAHP::BNE", "0", "CAHP::BEQ", "CAHP::BLT", "0", "CAHP::BLE", "CAHP::BLE", "0", "CAHP::BLT", "CAHP::BLTU", "0", "CAHP::BLEU", "CAHP::BLEU", "0", "CAHP::BLTU", "1", "2"], "File": "CAHPInstrInfo", "Func": "reverseBranchCondition", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12451, "Length": 205, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "SystemZFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "SystemZ", "::", "ADJCALLSTACKDOWN", ":", "case", "SystemZ", "::", "ADJCALLSTACKUP", ":", "assert", "(", "hasReservedCallFrame", "(", "MF", ")", "&&", "\"ADJSTACKDOWN and ADJSTACKUP should be no-ops\"", ")", ";", "return", "MBB", ".", "erase", "(", "MI", ")", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Unexpected call frame instruction\"", ")", ";", "}", "}", ""], "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": ["SystemZ", "SystemZ", "SystemZ::ADJCALLSTACKDOWN", "SystemZ::ADJCALLSTACKUP", "\"ADJSTACKDOWN and ADJSTACKUP should be no-ops\"", "\"Unexpected call frame instruction\""], "File": "SystemZFrameLowering10", "Func": "eliminateCallFramePseudoInstr", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12452, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "X86TargetLowering", "::", "getTypeForExtReturn", "(", "LLVMContext", "&", "Context", ",", "EVT", "VT", ",", "ISD", "::", "NodeType", "ExtendKind", ")", "const", "{", "MVT", "ReturnMVT", "=", "MVT", "::", "i32", ";", "bool", "Darwin", "=", "Subtarget", ".", "getTargetTriple", "(", ")", ".", "isOSDarwin", "(", ")", ";", "if", "(", "VT", "==", "MVT", "::", "i1", "||", "(", "!", "Darwin", "&&", "(", "VT", "==", "MVT", "::", "i8", "||", "VT", "==", "MVT", "::", "i16", ")", ")", ")", "{", "ReturnMVT", "=", "MVT", "::", "i8", ";", "}", "EVT", "MinVT", "=", "getRegisterType", "(", "Context", ",", "ReturnMVT", ")", ";", "return", "VT", ".", "bitsLT", "(", "MinVT", ")", "?", "MinVT", ":", "VT", ";", "}", ""], "natrual_language": ["Return", "the", "type", "that", "should", "be", "used", "to", "zero", "or", "sign", "extend", "a", "zeroext/signext", "integer", "return", "value", "."], "TS_V_token": ["X86", "X86", "ISD::NodeType", "MVT::i32", "MVT::i1", "MVT::i8", "MVT::i16", "MVT::i8"], "File": "X86ISelLowering (2)5", "Func": "getTypeForExtReturn", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12453, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "enableAggressiveFMAFusion", "(", "EVT", "VT", ")", "const", "{", "assert", "(", "VT", ".", "isFloatingPoint", "(", ")", "&&", "\"Non-floating-point FMA?\"", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "target", "always", "benefits", "from", "combining", "into", "FMA", "for", "a", "given", "value", "type", "."], "TS_V_token": ["PowerPC", "PPC", "\"Non-floating-point FMA?\""], "File": "PPCISelLowering (2)2", "Func": "enableAggressiveFMAFusion", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12454, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isThroughputPattern", "(", "MachineCombinerPattern", "Pattern", ")", "const", "{", "switch", "(", "Pattern", ")", "{", "default", ":", "break", ";", "case", "MachineCombinerPattern", "::", "FMULADDH_OP1", ":", "case", "MachineCombinerPattern", "::", "FMULADDH_OP2", ":", "case", "MachineCombinerPattern", "::", "FMULSUBH_OP1", ":", "case", "MachineCombinerPattern", "::", "FMULSUBH_OP2", ":", "case", "MachineCombinerPattern", "::", "FMULADDS_OP1", ":", "case", "MachineCombinerPattern", "::", "FMULADDS_OP2", ":", "case", "MachineCombinerPattern", "::", "FMULSUBS_OP1", ":", "case", "MachineCombinerPattern", "::", "FMULSUBS_OP2", ":", "case", "MachineCombinerPattern", "::", "FMULADDD_OP1", ":", "case", "MachineCombinerPattern", "::", "FMULADDD_OP2", ":", "case", "MachineCombinerPattern", "::", "FMULSUBD_OP1", ":", "case", "MachineCombinerPattern", "::", "FMULSUBD_OP2", ":", "case", "MachineCombinerPattern", "::", "FNMULSUBH_OP1", ":", "case", "MachineCombinerPattern", "::", "FNMULSUBS_OP1", ":", "case", "MachineCombinerPattern", "::", "FNMULSUBD_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv4i16_indexed_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv4i16_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLAv8i16_indexed_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv8i16_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLAv1i32_indexed_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv1i32_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLAv1i64_indexed_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv1i64_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLAv4f16_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLAv4f16_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv8f16_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv8f16_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLAv2f32_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLAv2f32_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv2f64_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv2f64_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLAv2i32_indexed_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv2i32_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLAv2i64_indexed_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv2i64_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLAv4f32_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv4f32_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLAv4i32_indexed_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv4i32_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv4i16_indexed_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLSv4i16_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv8i16_indexed_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLSv8i16_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv1i32_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv1i64_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv2i32_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv2i64_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv4f16_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLSv4f16_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv8f16_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLSv8f16_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv2f32_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv2f64_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv4i32_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv4f32_OP2", ":", "case", "MachineCombinerPattern", "::", "MULADDv8i8_OP1", ":", "case", "MachineCombinerPattern", "::", "MULADDv8i8_OP2", ":", "case", "MachineCombinerPattern", "::", "MULADDv16i8_OP1", ":", "case", "MachineCombinerPattern", "::", "MULADDv16i8_OP2", ":", "case", "MachineCombinerPattern", "::", "MULADDv4i16_OP1", ":", "case", "MachineCombinerPattern", "::", "MULADDv4i16_OP2", ":", "case", "MachineCombinerPattern", "::", "MULADDv8i16_OP1", ":", "case", "MachineCombinerPattern", "::", "MULADDv8i16_OP2", ":", "case", "MachineCombinerPattern", "::", "MULADDv2i32_OP1", ":", "case", "MachineCombinerPattern", "::", "MULADDv2i32_OP2", ":", "case", "MachineCombinerPattern", "::", "MULADDv4i32_OP1", ":", "case", "MachineCombinerPattern", "::", "MULADDv4i32_OP2", ":", "case", "MachineCombinerPattern", "::", "MULSUBv8i8_OP1", ":", "case", "MachineCombinerPattern", "::", "MULSUBv8i8_OP2", ":", "case", "MachineCombinerPattern", "::", "MULSUBv16i8_OP1", ":", "case", "MachineCombinerPattern", "::", "MULSUBv16i8_OP2", ":", "case", "MachineCombinerPattern", "::", "MULSUBv4i16_OP1", ":", "case", "MachineCombinerPattern", "::", "MULSUBv4i16_OP2", ":", "case", "MachineCombinerPattern", "::", "MULSUBv8i16_OP1", ":", "case", "MachineCombinerPattern", "::", "MULSUBv8i16_OP2", ":", "case", "MachineCombinerPattern", "::", "MULSUBv2i32_OP1", ":", "case", "MachineCombinerPattern", "::", "MULSUBv2i32_OP2", ":", "case", "MachineCombinerPattern", "::", "MULSUBv4i32_OP1", ":", "case", "MachineCombinerPattern", "::", "MULSUBv4i32_OP2", ":", "case", "MachineCombinerPattern", "::", "MULADDv4i16_indexed_OP1", ":", "case", "MachineCombinerPattern", "::", "MULADDv4i16_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "MULADDv8i16_indexed_OP1", ":", "case", "MachineCombinerPattern", "::", "MULADDv8i16_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "MULADDv2i32_indexed_OP1", ":", "case", "MachineCombinerPattern", "::", "MULADDv2i32_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "MULADDv4i32_indexed_OP1", ":", "case", "MachineCombinerPattern", "::", "MULADDv4i32_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "MULSUBv4i16_indexed_OP1", ":", "case", "MachineCombinerPattern", "::", "MULSUBv4i16_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "MULSUBv8i16_indexed_OP1", ":", "case", "MachineCombinerPattern", "::", "MULSUBv8i16_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "MULSUBv2i32_indexed_OP1", ":", "case", "MachineCombinerPattern", "::", "MULSUBv2i32_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "MULSUBv4i32_indexed_OP1", ":", "case", "MachineCombinerPattern", "::", "MULSUBv4i32_indexed_OP2", ":", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "when", "a", "code", "sequence", "can", "improve", "throughput", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64InstrInfo104", "Func": "isThroughputPattern", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12455, "Length": 502, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "sh_try_omit_signzero_extend", "(", "rtx", "extended_op", ",", "rtx_insn", "*", "insn", ")", "{", "if", "(", "REG_P", "(", "extended_op", ")", ")", "extended_op", "=", "extended_op", ";", "else", "if", "(", "GET_CODE", "(", "extended_op", ")", "==", "SUBREG", "&&", "REG_P", "(", "SUBREG_REG", "(", "extended_op", ")", ")", ")", "extended_op", "=", "SUBREG_REG", "(", "extended_op", ")", ";", "else", "return", "NULL_RTX", ";", "if", "(", "GET_MODE", "(", "extended_op", ")", "!=", "SImode", ")", "return", "NULL_RTX", ";", "set_of_reg", "s", "=", "sh_find_set_of_reg", "(", "extended_op", ",", "insn", ",", "prev_nonnote_insn_bb", ")", ";", "if", "(", "s", ".", "set_src", "==", "NULL_RTX", ")", "return", "NULL_RTX", ";", "if", "(", "t_reg_operand", "(", "s", ".", "set_src", ",", "VOIDmode", ")", "||", "negt_reg_operand", "(", "s", ".", "set_src", ",", "VOIDmode", ")", ")", "return", "extended_op", ";", "else", "if", "(", "sh_is_logical_t_store_expr", "(", "s", ".", "set_src", ",", "s", ".", "insn", ")", ")", "return", "extended_op", ";", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Given", "the", "operand", "that", "is", "extended", "in", "a", "sign/zero", "extend", "insn", ",", "and", "the", "insn", ",", "try", "to", "figure", "out", "whether", "the", "sign/zero", "extension", "can", "be", "replaced", "by", "a", "simple", "reg-reg", "copy", ".", "If", "so", ",", "the", "replacement", "reg", "rtx", "is", "returned", ",", "NULL_RTX", "otherwise", "."], "TS_V_token": ["sh"], "File": "sh4", "Func": "sh_try_omit_signzero_extend", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12456, "Length": 130, "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": 12457, "Length": 263, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addPreserved", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "FunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["PowerPC"], "File": "PPCBoolRetToInt1", "Func": "getAnalysisUsage", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12458, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintWeight", "FISCTargetLowering", "::", "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": ["FISC", "FISC"], "File": "FISCISelLowering", "Func": "getSingleConstraintMatchWeight", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12459, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMachineVerifierClean", "(", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "is", "expected", "to", "pass", "all", "machine", "verifier", "checks", "."], "TS_V_token": ["Mips"], "File": "MipsTargetMachine (2)1", "Func": "isMachineVerifierClean", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12460, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isFMAFasterThanFMulAndFAdd", "(", "EVT", "VT", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "hasAnyFMA", "(", ")", ")", "return", "false", ";", "VT", "=", "VT", ".", "getScalarType", "(", ")", ";", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "case", "MVT", "::", "f32", ":", "case", "MVT", "::", "f64", ":", "return", "true", ";", "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": ["X86", "X86", "MVT::f32", "MVT::f64"], "File": "X86ISelLowering (2)7", "Func": "isFMAFasterThanFMulAndFAdd", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12461, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addIRPasses", "(", ")", "{", "if", "(", "TM", "->", "Options", ".", "ThreadModel", "==", "ThreadModel", "::", "Single", ")", "addPass", "(", "createLowerAtomicPass", "(", ")", ")", ";", "else", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableAtomicTidy", ")", "addPass", "(", "createCFGSimplificationPass", "(", "SimplifyCFGOptions", "(", ")", ".", "hoistCommonInsts", "(", "true", ")", ".", "sinkCommonInsts", "(", "true", ")", ",", "[", "this", "]", "(", "const", "Function", "&", "F", ")", "{", "const", "auto", "&", "ST", "=", "this", "->", "TM", "->", "getSubtarget", "<", "ARMSubtarget", ">", "(", "F", ")", ";", "return", "ST", ".", "hasAnyDataBarrier", "(", ")", "&&", "!", "ST", ".", "isThumb1Only", "(", ")", ";", "}", ")", ")", ";", "addPass", "(", "createMVEGatherScatterLoweringPass", "(", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "if", "(", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "Aggressive", ")", "addPass", "(", "createARMParallelDSPPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createInterleavedAccessPass", "(", ")", ")", ";", "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": ["ARM", "ARM", "ARM", "ARM"], "File": "ARMTargetMachine103", "Func": "addIRPasses", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12462, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "postOffset", "(", "unsigned", "LogAlign", "=", "0", ")", "const", "{", "unsigned", "PO", "=", "Offset", "+", "Size", ";", "if", "(", "!", "LogAlign", ")", "return", "PO", ";", "return", "PO", "+", "UnknownPadding", "(", "LogAlign", ",", "internalKnownBits", "(", ")", ")", ";", "}", ""], "natrual_language": ["Compute", "the", "offset", "immediately", "following", "this", "block", "."], "TS_V_token": ["AArch64", "0"], "File": "AArch64BranchFixupPass1", "Func": "postOffset", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12463, "Length": 38, "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": 12464, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Val", "(", "unsigned", "int", "Op", ",", "std", "::", "vector", "<", "unsigned", "int", ">", "Nums", ")", ":", "Op", "(", "Op", ")", ",", "Nums", "(", "Nums", ")", "{", "}", ""], "natrual_language": ["The", "constant", "itself", "."], "TS_V_token": ["TOY"], "File": "TOYPreEmit", "Func": "Val", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12465, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "generate_target_descr_file", "(", "const", "char", "*", "target_compiler", ")", "{", "const", "char", "*", "src_filename", "=", "make_temp_file", "(", "\"_target_descr.c\"", ")", ";", "const", "char", "*", "obj_filename", "=", "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 void *__offload_funcs_end[];\\n\"", "\"extern void *__offload_vars_end[];\\n\\n\"", "\"void *__offload_func_table[0]\\n\"", "\"__attribute__ ((__used__, visibility (\\\"hidden\\\"),\\n\"", "\"section (\\\".gnu.offload_funcs\\\"))) = { };\\n\\n\"", "\"void *__offload_var_table[0]\\n\"", "\"__attribute__ ((__used__, visibility (\\\"hidden\\\"),\\n\"", "\"section (\\\".gnu.offload_vars\\\"))) = { };\\n\\n\"", "\"void *__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", ")", ";", "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.o\"", "\"w\"", "\"cannot open '%s'\"", "\"extern void *__offload_funcs_end[];\\n\"", "\"extern void *__offload_vars_end[];\\n\\n\"", "\"void *__offload_func_table[0]\\n\"", "\"__attribute__ ((__used__, visibility (\\\"hidden\\\"),\\n\"", "\"section (\\\".gnu.offload_funcs\\\"))) = { };\\n\\n\"", "\"void *__offload_var_table[0]\\n\"", "\"__attribute__ ((__used__, visibility (\\\"hidden\\\"),\\n\"", "\"section (\\\".gnu.offload_vars\\\"))) = { };\\n\\n\"", "\"void *__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\"", "\"-c\"", "\"-shared\"", "\"-fPIC\"", "\"-o\""], "File": "intelmic-mkoffload2", "Func": "generate_target_descr_file", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12466, "Length": 189, "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": 12467, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FastISel", "::", "isTypeLegal", "(", "const", "Type", "*", "Ty", ",", "MVT", "&", "VT", ",", "bool", "AllowI1", ")", "{", "EVT", "evt", "=", "TLI", ".", "getValueType", "(", "Ty", ",", "true", ")", ";", "if", "(", "evt", "==", "MVT", "::", "Other", "||", "!", "evt", ".", "isSimple", "(", ")", ")", "return", "false", ";", "VT", "=", "evt", ".", "getSimpleVT", "(", ")", ";", "if", "(", "VT", "==", "MVT", "::", "f64", "&&", "!", "X86ScalarSSEf64", ")", "return", "false", ";", "if", "(", "VT", "==", "MVT", "::", "f32", "&&", "!", "X86ScalarSSEf32", ")", "return", "false", ";", "if", "(", "VT", "==", "MVT", "::", "f80", ")", "return", "false", ";", "return", "(", "AllowI1", "&&", "VT", "==", "MVT", "::", "i1", ")", "||", "TLI", ".", "isTypeLegal", "(", "VT", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "type", "is", "legal", "."], "TS_V_token": ["X86", "X86", "MVT::Other", "MVT::f64", "X86", "MVT::f32", "X86", "MVT::f80", "MVT::i1"], "File": "X86FastISel51", "Func": "isTypeLegal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12468, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_and_bitmask_imm", "(", "unsigned", "HOST_WIDE_INT", "val_in", ",", "machine_mode", "mode", ")", "{", "scalar_int_mode", "int_mode", ";", "if", "(", "!", "is_a", "<", "scalar_int_mode", ">", "(", "mode", ",", "&", "int_mode", ")", ")", "return", "false", ";", "if", "(", "aarch64_bitmask_imm", "(", "val_in", ",", "int_mode", ")", ")", "return", "false", ";", "if", "(", "aarch64_move_imm", "(", "val_in", ",", "int_mode", ")", ")", "return", "false", ";", "unsigned", "HOST_WIDE_INT", "imm2", "=", "aarch64_and_split_imm2", "(", "val_in", ")", ";", "return", "aarch64_bitmask_imm", "(", "imm2", ",", "int_mode", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "VAL_IN", "is", "a", "valid", "'and", "'", "bitmask", "immediate", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_and_bitmask_imm", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12469, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsMCCodeEmitter", "::", "getBranchTarget26OpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ">>", "2", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"getBranchTarget26OpValue expects only expressions or immediates\"", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "0", ",", "Expr", ",", "MCFixupKind", "(", "Mips", "::", "fixup_MIPS_PC26_S2", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTarget26OpValue", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "."], "TS_V_token": ["Mips", "Mips", "2", "\"getBranchTarget26OpValue expects only expressions or immediates\"", "0", "Mips::fixup_MIPS_PC26_S2", "0"], "File": "MipsMCCodeEmitter2", "Func": "getBranchTarget26OpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12470, "Length": 103, "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": 12471, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "switch", "(", "Kind", ")", "{", "case", "IMMEDIATE", ":", "OS", "<<", "\"Imm: \"", "<<", "getImm", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "TOKEN", ":", "OS", "<<", "\"Token: \"", "<<", "getToken", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "REGISTER", ":", "OS", "<<", "\"Reg: %r\"", "<<", "getReg", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "MEMORY_IMM", ":", "OS", "<<", "\"MemImm: \"", "<<", "*", "getMemOffset", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "MEMORY_REG_IMM", ":", "OS", "<<", "\"MemRegImm: \"", "<<", "getMemBaseReg", "(", ")", "<<", "\"+\"", "<<", "*", "getMemOffset", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "MEMORY_REG_REG", ":", "assert", "(", "getMemOffset", "(", ")", "==", "nullptr", ")", ";", "OS", "<<", "\"MemRegReg: \"", "<<", "getMemBaseReg", "(", ")", "<<", "\"+\"", "<<", "\"%r\"", "<<", "getMemOffsetReg", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["DLX", "\"Imm: \"", "\"\\n\"", "\"Token: \"", "\"\\n\"", "\"Reg: %r\"", "\"\\n\"", "\"MemImm: \"", "\"\\n\"", "\"MemRegImm: \"", "\"+\"", "\"\\n\"", "\"MemRegReg: \"", "\"+\"", "\"%r\"", "\"\\n\""], "File": "DLXAsmParser", "Func": "print", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12472, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "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", "(", "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", "(", "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", "(", "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", ";", "bool", "realigned", "=", "m", "->", "fs", ".", "sp_realigned", ";", "if", "(", "src", "==", "hard_frame_pointer_rtx", ")", "{", "valid", "=", "m", "->", "fs", ".", "fp_valid", ";", "realigned", "=", "false", ";", "ooffset", "=", "m", "->", "fs", ".", "fp_offset", ";", "}", "else", "if", "(", "src", "==", "crtl", "->", "drap_reg", ")", "{", "valid", "=", "m", "->", "fs", ".", "drap_valid", ";", "realigned", "=", "false", ";", "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", ";", "m", "->", "fs", ".", "sp_realigned", "=", "realigned", ";", "}", "return", "insn", ";", "}", ""], "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": "i3867", "Func": "pro_epilogue_adjust_stack", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12473, "Length": 427, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "Mnode", "*", "move_minipool_fix_forward_ref", "(", "Mnode", "*", "mp", ",", "Mnode", "*", "max_mp", ",", "HOST_WIDE_INT", "max_address", ")", "{", "gcc_assert", "(", "mp", "!=", "max_mp", ")", ";", "if", "(", "max_mp", "==", "NULL", ")", "{", "if", "(", "max_address", "<", "mp", "->", "max_address", ")", "mp", "->", "max_address", "=", "max_address", ";", "}", "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", "->", "prev", "->", "next", "=", "mp", "->", "next", ";", "if", "(", "mp", "->", "next", "!=", "NULL", ")", "mp", "->", "next", "->", "prev", "=", "mp", "->", "prev", ";", "else", "minipool_vector_tail", "=", "mp", "->", "prev", ";", "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": ["Move", "a", "minipool", "fix", "MP", "from", "its", "current", "location", "to", "before", "MAX_MP", ".", "If", "MAX_MP", "is", "NULL", ",", "then", "MP", "does", "n't", "need", "moving", ",", "but", "the", "addressing", "contrains", "may", "need", "updating", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "move_minipool_fix_forward_ref", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12474, "Length": 212, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "VETargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Should not custom lower this!\"", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "LowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "lowerDYNAMIC_STACKALLOC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "return", "LowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VAARG", ":", "return", "LowerVAARG", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["VE", "VE", "\"Should not custom lower this!\"", "ISD::BlockAddress", "ISD::DYNAMIC_STACKALLOC", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::VASTART", "ISD::VAARG"], "File": "VEISelLowering", "Func": "LowerOperation", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12475, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FrameLowering", "::", "canUseRedZone", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "!", "EnableRedZone", ")", "return", "false", ";", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "NoRedZone", ")", ")", "return", "false", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "AArch64FunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "unsigned", "NumBytes", "=", "AFI", "->", "getLocalStackSize", "(", ")", ";", "return", "!", "(", "MFI", ".", "hasCalls", "(", ")", "||", "hasFP", "(", "MF", ")", "||", "NumBytes", ">", "128", "||", "getSVEStackSize", "(", "MF", ")", ")", ";", "}", ""], "natrual_language": ["Can", "this", "function", "use", "the", "red", "zone", "for", "local", "allocations", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "128"], "File": "AArch64FrameLowering103", "Func": "canUseRedZone", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12476, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "evaluateBranch", "(", "const", "MCInst", "&", "Inst", ",", "uint64_t", "Addr", ",", "uint64_t", "Size", ")", "const", "{", "unsigned", "LblOperand", "=", "Inst", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "Bcc", "?", "1", ":", "0", ";", "if", "(", "Info", "->", "get", "(", "Inst", ".", "getOpcode", "(", ")", ")", ".", "OpInfo", "[", "LblOperand", "]", ".", "OperandType", "!=", "MCOI", "::", "OPERAND_PCREL", ")", "return", "-", "1ULL", ";", "int64_t", "Imm", "=", "Inst", ".", "getOperand", "(", "LblOperand", ")", ".", "getImm", "(", ")", ";", "return", "Addr", "+", "Imm", ";", "}", ""], "natrual_language": ["Given", "a", "branch", "instruction", "try", "to", "get", "the", "address", "the", "branch", "targets", "."], "TS_V_token": ["AArch64", "AArch64::Bcc", "1", "0", "1ULL"], "File": "AArch64MCTargetDesc1", "Func": "evaluateBranch", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12477, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ")", "{", "if", "(", "!", "ST", "->", "isMClass", "(", ")", ")", "return", "BasicTTIImplBase", "::", "getUnrollingPreferences", "(", "L", ",", "SE", ",", "UP", ")", ";", "UP", ".", "OptSizeThreshold", "=", "0", ";", "UP", ".", "PartialOptSizeThreshold", "=", "0", ";", "if", "(", "L", "->", "getHeader", "(", ")", "->", "getParent", "(", ")", "->", "hasOptSize", "(", ")", ")", "return", ";", "if", "(", "!", "ST", "->", "isThumb2", "(", ")", ")", "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", ";", "unsigned", "Cost", "=", "0", ";", "for", "(", "auto", "*", "BB", ":", "L", "->", "getBlocks", "(", ")", ")", "{", "for", "(", "auto", "&", "I", ":", "*", "BB", ")", "{", "if", "(", "isa", "<", "CallInst", ">", "(", "I", ")", "||", "isa", "<", "InvokeInst", ">", "(", "I", ")", ")", "{", "ImmutableCallSite", "CS", "(", "&", "I", ")", ";", "if", "(", "const", "Function", "*", "F", "=", "CS", ".", "getCalledFunction", "(", ")", ")", "{", "if", "(", "!", "isLoweredToCall", "(", "F", ")", ")", "continue", ";", "}", "return", ";", "}", "SmallVector", "<", "const", "Value", "*", ",", "4", ">", "Operands", "(", "I", ".", "value_op_begin", "(", ")", ",", "I", ".", "value_op_end", "(", ")", ")", ";", "Cost", "+=", "getUserCost", "(", "&", "I", ",", "Operands", ")", ";", "}", "}", "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", "0", "4", "\"Cost of loop: \"", "\"\\n\"", "4", "60", "12"], "File": "ARMTargetTransformInfo53", "Func": "getUnrollingPreferences", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12478, "Length": 336, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_returns_value_in_sve_regs_p", "(", "const_tree", "fntype", ")", "{", "tree", "return_type", "=", "TREE_TYPE", "(", "fntype", ")", ";", "pure_scalable_type_info", "pst_info", ";", "switch", "(", "pst_info", ".", "analyze", "(", "return_type", ")", ")", "{", "case", "pure_scalable_type_info", "::", "IS_PST", ":", "return", "(", "pst_info", ".", "num_zr", "(", ")", "<=", "NUM_FP_ARG_REGS", "&&", "pst_info", ".", "num_pr", "(", ")", "<=", "NUM_PR_ARG_REGS", ")", ";", "case", "pure_scalable_type_info", "::", "DOESNT_MATTER", ":", "gcc_assert", "(", "aarch64_return_in_memory_1", "(", "return_type", ")", ")", ";", "return", "false", ";", "case", "pure_scalable_type_info", "::", "NO_ABI_IDENTITY", ":", "case", "pure_scalable_type_info", "::", "ISNT_PST", ":", "return", "false", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "function", "with", "type", "FNTYPE", "returns", "its", "value", "in", "SVE", "vector", "or", "predicate", "registers", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_returns_value_in_sve_regs_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12479, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "X86DAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "unsigned", "GlobalBaseReg", "=", "getInstrInfo", "(", ")", "->", "getGlobalBaseReg", "(", "MF", ")", ";", "return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "getTargetLowering", "(", ")", "->", "getPointerTy", "(", ")", ")", ".", "getNode", "(", ")", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelDAGToDAG100", "Func": "getGlobalBaseReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12480, "Length": 41, "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", "(", "*", "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", "E_V16QImode", ":", "gen", "=", "gen_neon_vextv16qi", ";", "break", ";", "case", "E_V8QImode", ":", "gen", "=", "gen_neon_vextv8qi", ";", "break", ";", "case", "E_V4HImode", ":", "gen", "=", "gen_neon_vextv4hi", ";", "break", ";", "case", "E_V8HImode", ":", "gen", "=", "gen_neon_vextv8hi", ";", "break", ";", "case", "E_V2SImode", ":", "gen", "=", "gen_neon_vextv2si", ";", "break", ";", "case", "E_V4SImode", ":", "gen", "=", "gen_neon_vextv4si", ";", "break", ";", "case", "E_V4HFmode", ":", "gen", "=", "gen_neon_vextv4hf", ";", "break", ";", "case", "E_V8HFmode", ":", "gen", "=", "gen_neon_vextv8hf", ";", "break", ";", "case", "E_V2SFmode", ":", "gen", "=", "gen_neon_vextv2sf", ";", "break", ";", "case", "E_V4SFmode", ":", "gen", "=", "gen_neon_vextv4sf", ";", "break", ";", "case", "E_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": "arm7", "Func": "arm_evpc_neon_vext", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12481, "Length": 308, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "neon_pair_endian_lane_map", "(", "machine_mode", "mode", ",", "int", "lane", ")", "{", "int", "nelem", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "lane", "=", "neon_endian_lane_map", "(", "mode", ",", "lane", "&", "(", "nelem", "-", "1", ")", ")", "+", "(", "lane", "&", "nelem", ")", ";", "return", "lane", ";", "}", ""], "natrual_language": ["Some", "permutations", "index", "into", "pairs", "of", "vectors", ",", "this", "is", "a", "helper", "function", "to", "map", "indexes", "into", "those", "pairs", "of", "vectors", "."], "TS_V_token": ["arm", "1"], "File": "arm", "Func": "neon_pair_endian_lane_map", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12482, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64RegisterInfo", "::", "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": ["ARM64", "ARM64"], "File": "ARM64RegisterInfo", "Func": "requiresFrameIndexScavenging", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12483, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isPredicable", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "!", "MI", ".", "isPredicable", "(", ")", ")", "return", "false", ";", "if", "(", "MI", ".", "isBundle", "(", ")", ")", "return", "false", ";", "if", "(", "!", "isEligibleForITBlock", "(", "&", "MI", ")", ")", "return", "false", ";", "const", "ARMFunctionInfo", "*", "AFI", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "if", "(", "AFI", "->", "isThumb2Function", "(", ")", ")", "{", "if", "(", "getSubtarget", "(", ")", ".", "restrictIT", "(", ")", ")", "return", "isV8EligibleForIT", "(", "&", "MI", ")", ";", "}", "else", "{", "if", "(", "(", "MI", ".", "getDesc", "(", ")", ".", "TSFlags", "&", "ARMII", "::", "DomainMask", ")", "==", "ARMII", "::", "DomainNEON", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "instruction", "can", "be", "predicated", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARMII::DomainMask", "ARMII::DomainNEON"], "File": "ARMBaseInstrInfo103", "Func": "isPredicable", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12484, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx_insn", "*", "aarch64_return_call_with_max_clobbers", "(", "rtx_insn", "*", "call_1", ",", "rtx_insn", "*", "call_2", ")", "{", "gcc_assert", "(", "CALL_P", "(", "call_1", ")", "&&", "CALL_P", "(", "call_2", ")", ")", ";", "if", "(", "!", "aarch64_simd_call_p", "(", "call_1", ")", "||", "aarch64_simd_call_p", "(", "call_2", ")", ")", "return", "call_1", ";", "else", "return", "call_2", ";", "}", ""], "natrual_language": ["Implement", "TARGET_RETURN_CALL_WITH_MAX_CLOBBERS", "."], "TS_V_token": ["aarch64"], "File": "aarch646", "Func": "aarch64_return_call_with_max_clobbers", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12485, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCRegisterInfo", "::", "getRegAllocationHints", "(", "Register", "VirtReg", ",", "ArrayRef", "<", "MCPhysReg", ">", "Order", ",", "SmallVectorImpl", "<", "MCPhysReg", ">", "&", "Hints", ",", "const", "MachineFunction", "&", "MF", ",", "const", "VirtRegMap", "*", "VRM", ",", "const", "LiveRegMatrix", "*", "Matrix", ")", "const", "{", "const", "MachineRegisterInfo", "*", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "bool", "BaseImplRetVal", "=", "TargetRegisterInfo", "::", "getRegAllocationHints", "(", "VirtReg", ",", "Order", ",", "Hints", ",", "MF", ",", "VRM", ",", "Matrix", ")", ";", "for", "(", "MachineInstr", "&", "Use", ":", "MRI", "->", "reg_nodbg_instructions", "(", "VirtReg", ")", ")", "{", "const", "MachineOperand", "*", "ResultOp", "=", "nullptr", ";", "Register", "ResultReg", ";", "switch", "(", "Use", ".", "getOpcode", "(", ")", ")", "{", "case", "TargetOpcode", "::", "COPY", ":", "{", "ResultOp", "=", "&", "Use", ".", "getOperand", "(", "0", ")", ";", "ResultReg", "=", "ResultOp", "->", "getReg", "(", ")", ";", "if", "(", "Register", "::", "isVirtualRegister", "(", "ResultReg", ")", "&&", "MRI", "->", "getRegClass", "(", "ResultReg", ")", "->", "contains", "(", "PPC", "::", "UACC0", ")", "&&", "VRM", "->", "hasPhys", "(", "ResultReg", ")", ")", "{", "Register", "UACCPhys", "=", "VRM", "->", "getPhys", "(", "ResultReg", ")", ";", "Register", "HintReg", "=", "getSubReg", "(", "UACCPhys", ",", "ResultOp", "->", "getSubReg", "(", ")", ")", ";", "if", "(", "HintReg", ">=", "PPC", "::", "VSRp0", "&&", "HintReg", "<=", "PPC", "::", "VSRp31", ")", "Hints", ".", "push_back", "(", "HintReg", ")", ";", "}", "break", ";", "}", "case", "PPC", "::", "BUILD_UACC", ":", "{", "ResultOp", "=", "&", "Use", ".", "getOperand", "(", "0", ")", ";", "ResultReg", "=", "ResultOp", "->", "getReg", "(", ")", ";", "if", "(", "MRI", "->", "getRegClass", "(", "ResultReg", ")", "->", "contains", "(", "PPC", "::", "ACC0", ")", "&&", "VRM", "->", "hasPhys", "(", "ResultReg", ")", ")", "{", "Register", "ACCPhys", "=", "VRM", "->", "getPhys", "(", "ResultReg", ")", ";", "assert", "(", "(", "ACCPhys", ">=", "PPC", "::", "ACC0", "&&", "ACCPhys", "<=", "PPC", "::", "ACC7", ")", "&&", "\"Expecting an ACC register for BUILD_UACC.\"", ")", ";", "Register", "HintReg", "=", "PPC", "::", "UACC0", "+", "(", "ACCPhys", "-", "PPC", "::", "ACC0", ")", ";", "Hints", ".", "push_back", "(", "HintReg", ")", ";", "}", "break", ";", "}", "}", "}", "return", "BaseImplRetVal", ";", "}", ""], "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": ["PowerPC", "PPC", "0", "PPC::UACC0", "PPC::VSRp0", "PPC::VSRp31", "PPC::BUILD_UACC", "0", "PPC::ACC0", "PPC::ACC0", "PPC::ACC7", "\"Expecting an ACC register for BUILD_UACC.\"", "PPC::UACC0", "PPC::ACC0"], "File": "PPCRegisterInfo (2)3", "Func": "getRegAllocationHints", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12486, "Length": 316, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZXPLINKFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZFrameLowering10", "Func": "emitEpilogue", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12487, "Length": 16, "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": 12488, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "X86RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "for", "(", "MCSubRegIterator", "I", "(", "X86", "::", "RSP", ",", "this", ",", "true", ")", ";", "I", ".", "isValid", "(", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "*", "I", ")", ";", "for", "(", "MCSubRegIterator", "I", "(", "X86", "::", "RIP", ",", "this", ",", "true", ")", ";", "I", ".", "isValid", "(", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "*", "I", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "{", "for", "(", "MCSubRegIterator", "I", "(", "X86", "::", "RBP", ",", "this", ",", "true", ")", ";", "I", ".", "isValid", "(", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "*", "I", ")", ";", "}", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "{", "CallingConv", "::", "ID", "CC", "=", "MF", ".", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", ";", "const", "uint32_t", "*", "RegMask", "=", "getCallPreservedMask", "(", "CC", ")", ";", "if", "(", "MachineOperand", "::", "clobbersPhysReg", "(", "RegMask", ",", "getBaseRegister", "(", ")", ")", ")", "report_fatal_error", "(", "\"Stack realignment in presence of dynamic allocas is not supported with\"", "\"this calling convention.\"", ")", ";", "for", "(", "MCSubRegIterator", "I", "(", "getBaseRegister", "(", ")", ",", "this", ",", "true", ")", ";", "I", ".", "isValid", "(", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "*", "I", ")", ";", "}", "Reserved", ".", "set", "(", "X86", "::", "CS", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "SS", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "DS", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "ES", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "FS", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "GS", ")", ";", "for", "(", "unsigned", "n", "=", "0", ";", "n", "!=", "8", ";", "++", "n", ")", "Reserved", ".", "set", "(", "X86", "::", "ST0", "+", "n", ")", ";", "if", "(", "!", "Is64Bit", ")", "{", "Reserved", ".", "set", "(", "X86", "::", "SIL", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "DIL", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "BPL", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "SPL", ")", ";", "for", "(", "unsigned", "n", "=", "0", ";", "n", "!=", "8", ";", "++", "n", ")", "{", "for", "(", "MCRegAliasIterator", "AI", "(", "X86", "::", "R8", "+", "n", ",", "this", ",", "true", ")", ";", "AI", ".", "isValid", "(", ")", ";", "++", "AI", ")", "Reserved", ".", "set", "(", "*", "AI", ")", ";", "for", "(", "MCRegAliasIterator", "AI", "(", "X86", "::", "XMM8", "+", "n", ",", "this", ",", "true", ")", ";", "AI", ".", "isValid", "(", ")", ";", "++", "AI", ")", "Reserved", ".", "set", "(", "*", "AI", ")", ";", "}", "}", "if", "(", "!", "Is64Bit", "||", "!", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "hasAVX512", "(", ")", ")", "{", "for", "(", "unsigned", "n", "=", "16", ";", "n", "!=", "32", ";", "++", "n", ")", "{", "for", "(", "MCRegAliasIterator", "AI", "(", "X86", "::", "XMM0", "+", "n", ",", "this", ",", "true", ")", ";", "AI", ".", "isValid", "(", ")", ";", "++", "AI", ")", "Reserved", ".", "set", "(", "*", "AI", ")", ";", "}", "}", "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::RIP", "X86::RBP", "\"Stack realignment in presence of dynamic allocas is not supported with\"", "\"this calling convention.\"", "X86::CS", "X86::SS", "X86::DS", "X86::ES", "X86::FS", "X86::GS", "0", "8", "X86::ST0", "X86::SIL", "X86::DIL", "X86::BPL", "X86::SPL", "0", "8", "X86::R8", "X86::XMM8", "X86", "16", "32", "X86::XMM0"], "File": "X86RegisterInfo21", "Func": "getReservedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12489, "Length": 501, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mips_subword", "(", "rtx", "op", ",", "bool", "high_p", ")", "{", "unsigned", "int", "byte", ",", "offset", ";", "machine_mode", "mode", ";", "mode", "=", "GET_MODE", "(", "op", ")", ";", "if", "(", "mode", "==", "VOIDmode", ")", "mode", "=", "TARGET_64BIT", "?", "TImode", ":", "DImode", ";", "if", "(", "TARGET_BIG_ENDIAN", "?", "!", "high_p", ":", "high_p", ")", "byte", "=", "UNITS_PER_WORD", ";", "else", "byte", "=", "0", ";", "if", "(", "FP_REG_RTX_P", "(", "op", ")", ")", "{", "offset", "=", "(", "UNITS_PER_WORD", "<", "UNITS_PER_HWFPVALUE", "?", "high_p", ":", "byte", "!=", "0", ")", ";", "return", "gen_rtx_REG", "(", "word_mode", ",", "REGNO", "(", "op", ")", "+", "offset", ")", ";", "}", "if", "(", "MEM_P", "(", "op", ")", ")", "return", "mips_rewrite_small_data", "(", "adjust_address", "(", "op", ",", "word_mode", ",", "byte", ")", ")", ";", "return", "simplify_gen_subreg", "(", "word_mode", ",", "op", ",", "mode", ",", "byte", ")", ";", "}", ""], "natrual_language": ["Return", "one", "word", "of", "double-word", "value", "OP", ",", "taking", "into", "account", "the", "fixed", "endianness", "of", "certain", "registers", ".", "HIGH_P", "is", "true", "to", "select", "the", "high", "part", ",", "false", "to", "select", "the", "low", "part", "."], "TS_V_token": ["mips", "0", "0"], "File": "mips", "Func": "mips_subword", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12490, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_sat_operator_match", "(", "rtx", "lo_bound", ",", "rtx", "hi_bound", ",", "int", "*", "mask", ",", "bool", "*", "signed_sat", ")", "{", "int", "log", "=", "exact_log2", "(", "INTVAL", "(", "hi_bound", ")", "+", "1", ")", ";", "if", "(", "log", "==", "-", "1", ")", "return", "false", ";", "if", "(", "INTVAL", "(", "lo_bound", ")", "==", "0", ")", "{", "if", "(", "mask", ")", "*", "mask", "=", "log", ";", "if", "(", "signed_sat", ")", "*", "signed_sat", "=", "false", ";", "return", "true", ";", "}", "if", "(", "INTVAL", "(", "lo_bound", ")", "==", "-", "INTVAL", "(", "hi_bound", ")", "-", "1", ")", "{", "if", "(", "mask", ")", "*", "mask", "=", "log", "+", "1", ";", "if", "(", "signed_sat", ")", "*", "signed_sat", "=", "true", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Match", "pair", "of", "min/max", "operators", "that", "can", "be", "implemented", "via", "usat/ssat", "."], "TS_V_token": ["arm", "1", "1", "0", "1", "1"], "File": "arm", "Func": "arm_sat_operator_match", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12491, "Length": 117, "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", ">", "(", ")", ";", "const", "Function", "*", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "bool", "HasSSE", "=", "Subtarget", ".", "hasSSE1", "(", ")", ";", "bool", "HasAVX", "=", "Subtarget", ".", "hasAVX", "(", ")", ";", "bool", "HasAVX512", "=", "Subtarget", ".", "hasAVX512", "(", ")", ";", "bool", "CallsEHReturn", "=", "MF", "->", "callsEHReturn", "(", ")", ";", "CallingConv", "::", "ID", "CC", "=", "F", "->", "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", "::", "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", ")", "{", "bool", "IsSwiftCC", "=", "Subtarget", ".", "getTargetLowering", "(", ")", "->", "supportSwiftError", "(", ")", "&&", "F", "->", "getAttributes", "(", ")", ".", "hasAttrSomewhere", "(", "Attribute", "::", "SwiftError", ")", ";", "if", "(", "IsSwiftCC", ")", "return", "IsWin64", "?", "CSR_Win64_SwiftError_SaveList", ":", "CSR_64_SwiftError_SaveList", ";", "if", "(", "IsWin64", ")", "return", "HasSSE", "?", "CSR_Win64_SaveList", ":", "CSR_Win64_NoSSE_SaveList", ";", "if", "(", "CallsEHReturn", ")", "return", "CSR_64EHRet_SaveList", ";", "return", "CSR_64_SaveList", ";", "}", "return", "CallsEHReturn", "?", "CSR_32EHRet_SaveList", ":", "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"], "File": "X86RegisterInfo29", "Func": "getCalleeSavedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12492, "Length": 497, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsPassConfig", "::", "addPreEmitPass", "(", ")", "{", "MipsTargetMachine", "&", "TM", "=", "getMipsTargetMachine", "(", ")", ";", "addPass", "(", "createMipsDelaySlotFillerPass", "(", "TM", ")", ")", ";", "addPass", "(", "createMipsHazardSchedule", "(", ")", ")", ";", "addPass", "(", "createMipsLongBranchPass", "(", "TM", ")", ")", ";", "addPass", "(", "createMipsConstantIslandPass", "(", "TM", ")", ")", ";", "}", ""], "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"], "File": "MipsTargetMachine60", "Func": "addPreEmitPass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12493, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSEInstrInfo", "::", "isCopyInstr", "(", "const", "MachineInstr", "&", "MI", ",", "MachineOperand", "&", "Src", ",", "MachineOperand", "&", "Dest", ")", "const", "{", "bool", "isDSPControlWrite", "=", "false", ";", "if", "(", "isReadOrWritToDSPReg", "(", "MI", ",", "isDSPControlWrite", ")", ")", "{", "if", "(", "!", "MI", ".", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", "||", "!", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "==", "(", "1", "<<", "4", ")", ")", ")", "return", "false", ";", "else", "if", "(", "isDSPControlWrite", ")", "{", "Src", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "Dest", "=", "MI", ".", "getOperand", "(", "2", ")", ";", "}", "else", "{", "Dest", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "Src", "=", "MI", ".", "getOperand", "(", "2", ")", ";", "}", "return", "true", ";", "}", "else", "if", "(", "MI", ".", "isMoveReg", "(", ")", "||", "isORCopyInst", "(", "MI", ")", ")", "{", "Dest", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "Src", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "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": ["Mips", "Mips", "1", "1", "1", "4", "0", "2", "0", "2", "0", "1"], "File": "MipsSEInstrInfo13", "Func": "isCopyInstr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12494, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "eligible_for_sibcall_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", ";", "pat", "=", "PATTERN", "(", "trial", ")", ";", "if", "(", "sparc_leaf_function_p", ")", "{", "if", "(", "LEAF_SIBCALL_SLOT_RESERVED_P", ")", "return", "0", ";", "if", "(", "reg_mentioned_p", "(", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ",", "pat", ")", ")", "return", "0", ";", "return", "1", ";", "}", "if", "(", "GET_CODE", "(", "SET_DEST", "(", "pat", ")", ")", "!=", "REG", "||", "(", "REGNO", "(", "SET_DEST", "(", "pat", ")", ")", ">=", "8", "&&", "REGNO", "(", "SET_DEST", "(", "pat", ")", ")", "<", "24", ")", "||", "REGNO", "(", "SET_DEST", "(", "pat", ")", ")", ">=", "32", ")", "return", "0", ";", "if", "(", "reg_mentioned_p", "(", "gen_rtx_REG", "(", "Pmode", ",", "15", ")", ",", "pat", ")", ")", "return", "0", ";", "return", "eligible_for_restore_insn", "(", "trial", ",", "false", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "TRIAL", "can", "go", "into", "the", "sibling", "call", "'s", "delay", "slot", "."], "TS_V_token": ["sparc", "0", "1", "0", "0", "1", "0", "1", "8", "24", "32", "0", "15", "0"], "File": "sparc3", "Func": "eligible_for_sibcall_delay", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12495, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "override", "{", "AArch64FI", "=", "F", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "STI", "=", "static_cast", "<", "const", "AArch64Subtarget", "*", ">", "(", "&", "F", ".", "getSubtarget", "(", ")", ")", ";", "bool", "Result", "=", "AsmPrinter", "::", "runOnMachineFunction", "(", "F", ")", ";", "emitXRayTable", "(", ")", ";", "return", "Result", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64AsmPrinter12", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12496, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "override", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "Sparc", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_sparc_call30\"", ",", "2", ",", "30", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_sparc_br22\"", ",", "10", ",", "22", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_sparc_br19\"", ",", "13", ",", "19", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_sparc_br16_2\"", ",", "10", ",", "2", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_sparc_br16_14\"", ",", "18", ",", "14", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_sparc_hi22\"", ",", "10", ",", "22", ",", "0", "}", ",", "{", "\"fixup_sparc_lo10\"", ",", "22", ",", "10", ",", "0", "}", ",", "{", "\"fixup_sparc_h44\"", ",", "10", ",", "22", ",", "0", "}", ",", "{", "\"fixup_sparc_m44\"", ",", "22", ",", "10", ",", "0", "}", ",", "{", "\"fixup_sparc_l44\"", ",", "20", ",", "12", ",", "0", "}", ",", "{", "\"fixup_sparc_hh\"", ",", "10", ",", "22", ",", "0", "}", ",", "{", "\"fixup_sparc_hm\"", ",", "22", ",", "10", ",", "0", "}", ",", "{", "\"fixup_sparc_pc22\"", ",", "10", ",", "22", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_sparc_pc10\"", ",", "22", ",", "10", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_sparc_got22\"", ",", "10", ",", "22", ",", "0", "}", ",", "{", "\"fixup_sparc_got10\"", ",", "22", ",", "10", ",", "0", "}", ",", "{", "\"fixup_sparc_wplt30\"", ",", "2", ",", "30", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_sparc_tls_gd_hi22\"", ",", "10", ",", "22", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_gd_lo10\"", ",", "22", ",", "10", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_gd_add\"", ",", "0", ",", "0", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_gd_call\"", ",", "0", ",", "0", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_ldm_hi22\"", ",", "10", ",", "22", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_ldm_lo10\"", ",", "22", ",", "10", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_ldm_add\"", ",", "0", ",", "0", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_ldm_call\"", ",", "0", ",", "0", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_ldo_hix22\"", ",", "10", ",", "22", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_ldo_lox10\"", ",", "22", ",", "10", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_ldo_add\"", ",", "0", ",", "0", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_ie_hi22\"", ",", "10", ",", "22", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_ie_lo10\"", ",", "22", ",", "10", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_ie_ld\"", ",", "0", ",", "0", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_ie_ldx\"", ",", "0", ",", "0", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_ie_add\"", ",", "0", ",", "0", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_le_hix22\"", ",", "0", ",", "0", ",", "0", "}", ",", "{", "\"fixup_sparc_tls_le_lox10\"", ",", "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": ["Sparc", "Sparc::NumTargetFixupKinds", "\"fixup_sparc_call30\"", "2", "30", "\"fixup_sparc_br22\"", "10", "22", "\"fixup_sparc_br19\"", "13", "19", "\"fixup_sparc_br16_2\"", "10", "2", "\"fixup_sparc_br16_14\"", "18", "14", "\"fixup_sparc_hi22\"", "10", "22", "0", "\"fixup_sparc_lo10\"", "22", "10", "0", "\"fixup_sparc_h44\"", "10", "22", "0", "\"fixup_sparc_m44\"", "22", "10", "0", "\"fixup_sparc_l44\"", "20", "12", "0", "\"fixup_sparc_hh\"", "10", "22", "0", "\"fixup_sparc_hm\"", "22", "10", "0", "\"fixup_sparc_pc22\"", "10", "22", "\"fixup_sparc_pc10\"", "22", "10", "\"fixup_sparc_got22\"", "10", "22", "0", "\"fixup_sparc_got10\"", "22", "10", "0", "\"fixup_sparc_wplt30\"", "2", "30", "\"fixup_sparc_tls_gd_hi22\"", "10", "22", "0", "\"fixup_sparc_tls_gd_lo10\"", "22", "10", "0", "\"fixup_sparc_tls_gd_add\"", "0", "0", "0", "\"fixup_sparc_tls_gd_call\"", "0", "0", "0", "\"fixup_sparc_tls_ldm_hi22\"", "10", "22", "0", "\"fixup_sparc_tls_ldm_lo10\"", "22", "10", "0", "\"fixup_sparc_tls_ldm_add\"", "0", "0", "0", "\"fixup_sparc_tls_ldm_call\"", "0", "0", "0", "\"fixup_sparc_tls_ldo_hix22\"", "10", "22", "0", "\"fixup_sparc_tls_ldo_lox10\"", "22", "10", "0", "\"fixup_sparc_tls_ldo_add\"", "0", "0", "0", "\"fixup_sparc_tls_ie_hi22\"", "10", "22", "0", "\"fixup_sparc_tls_ie_lo10\"", "22", "10", "0", "\"fixup_sparc_tls_ie_ld\"", "0", "0", "0", "\"fixup_sparc_tls_ie_ldx\"", "0", "0", "0", "\"fixup_sparc_tls_ie_add\"", "0", "0", "0", "\"fixup_sparc_tls_le_hix22\"", "0", "0", "0", "\"fixup_sparc_tls_le_lox10\"", "0", "0", "0", "\"Invalid kind!\""], "File": "SparcAsmBackend", "Func": "getFixupKindInfo", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12497, "Length": 428, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_mul_insn", "(", "int", "unsignedp", "ATTRIBUTE_UNUSED", ",", "rtx", "insn", ")", "{", "import_milli", "(", "mulI", ")", ";", "return", "output_millicode_call", "(", "insn", ",", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"$$mulI\"", ")", ")", ";", "}", ""], "natrual_language": ["The", "register", "constraints", "have", "put", "the", "operands", "and", "return", "value", "in", "the", "proper", "registers", "."], "TS_V_token": ["pa", "\"$$mulI\""], "File": "pa3", "Func": "output_mul_insn", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12498, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "assign_int_registers", "(", "HOST_WIDE_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": "sparc7", "Func": "assign_int_registers", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12499, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_builtin_support_vector_misalignment", "(", "machine_mode", "mode", ",", "const_tree", "type", ",", "int", "misalignment", ",", "bool", "is_packed", ")", "{", "if", "(", "TARGET_SIMD", "&&", "STRICT_ALIGNMENT", ")", "{", "if", "(", "optab_handler", "(", "movmisalign_optab", ",", "mode", ")", "==", "CODE_FOR_nothing", ")", "return", "false", ";", "if", "(", "misalignment", "==", "-", "1", ")", "return", "false", ";", "}", "return", "default_builtin_support_vector_misalignment", "(", "mode", ",", "type", ",", "misalignment", ",", "is_packed", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "vector", "misalignment", "factor", "is", "supported", "by", "the", "target", "."], "TS_V_token": ["aarch64", "1"], "File": "aarch64", "Func": "aarch64_builtin_support_vector_misalignment", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12500, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SICAsmBackend", "::", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["SIC", "SIC"], "File": "SICAsmBackend", "Func": "writeNopData", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12501, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "canInsertSelect", "(", "const", "MachineBasicBlock", "&", "MBB", ",", "const", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "unsigned", "TrueReg", ",", "unsigned", "FalseReg", ",", "int", "&", "CondCycles", ",", "int", "&", "TrueCycles", ",", "int", "&", "FalseCycles", ")", "const", "{", "if", "(", "!", "TM", ".", "getSubtargetImpl", "(", ")", "->", "hasISEL", "(", ")", ")", "return", "false", ";", "if", "(", "Cond", ".", "size", "(", ")", "!=", "2", ")", "return", "false", ";", "if", "(", "Cond", "[", "1", "]", ".", "getReg", "(", ")", "==", "PPC", "::", "CTR", "||", "Cond", "[", "1", "]", ".", "getReg", "(", ")", "==", "PPC", "::", "CTR8", ")", "return", "false", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "RI", ".", "getCommonSubClass", "(", "MRI", ".", "getRegClass", "(", "TrueReg", ")", ",", "MRI", ".", "getRegClass", "(", "FalseReg", ")", ")", ";", "if", "(", "!", "RC", ")", "return", "false", ";", "if", "(", "!", "PPC", "::", "GPRCRegClass", ".", "hasSubClassEq", "(", "RC", ")", "&&", "!", "PPC", "::", "G8RCRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "return", "false", ";", "CondCycles", "=", "1", ";", "TrueCycles", "=", "1", ";", "FalseCycles", "=", "1", ";", "return", "true", ";", "}", ""], "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": ["PowerPC", "PPC", "2", "1", "PPC::CTR", "1", "PPC::CTR8", "PPC::GPRCRegClass", "PPC::G8RCRegClass", "1", "1", "1"], "File": "PPCInstrInfo132", "Func": "canInsertSelect", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12502, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseRegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "ARMSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "const", "ARMFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "ARM", "::", "tGPRRegClassID", ":", "{", "bool", "HasFP", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "isMaxCallFrameSizeComputed", "(", ")", "?", "TFI", "->", "hasFP", "(", "MF", ")", ":", "true", ";", "return", "5", "-", "HasFP", ";", "}", "case", "ARM", "::", "GPRRegClassID", ":", "{", "bool", "HasFP", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "isMaxCallFrameSizeComputed", "(", ")", "?", "TFI", "->", "hasFP", "(", "MF", ")", ":", "true", ";", "return", "10", "-", "HasFP", "-", "STI", ".", "getNumGPRegistersReserved", "(", ")", ";", "}", "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", "ARM", "ARM", "ARM", "0", "ARM::tGPRRegClassID", "5", "ARM::GPRRegClassID", "10", "ARM::SPRRegClassID", "ARM::DPRRegClassID", "32", "10"], "File": "ARMBaseRegisterInfo91", "Func": "getRegPressureLimit", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12503, "Length": 145, "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", "(", "0", ",", "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", "0"], "File": "X86ISelDAGToDAG103", "Func": "SelectInlineAsmMemoryOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12504, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "constant_address_p", "(", "rtx", "x", ")", "{", "return", "CONSTANT_P", "(", "x", ")", "&&", "legitimate_address_p", "(", "Pmode", ",", "x", ",", "1", ")", ";", "}", ""], "natrual_language": ["Determine", "if", "a", "given", "RTX", "is", "a", "valid", "constant", "address", "."], "TS_V_token": ["i386", "1"], "File": "i3863", "Func": "constant_address_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12505, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VEInstrInfo", "::", "expandPostRAPseudo", "(", "MachineInstr", "&", "MI", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "VE", "::", "EXTEND_STACK", ":", "{", "return", "expandExtendStackPseudo", "(", "MI", ")", ";", "}", "case", "VE", "::", "EXTEND_STACK_GUARD", ":", "{", "MI", ".", "eraseFromParent", "(", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["VE", "VE", "VE::EXTEND_STACK", "VE::EXTEND_STACK_GUARD"], "File": "VEInstrInfo1", "Func": "expandPostRAPseudo", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12506, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sparc_legitimize_pic_address", "(", "rtx", "orig", ",", "rtx", "reg", ")", "{", "if", "(", "GET_CODE", "(", "orig", ")", "==", "SYMBOL_REF", "||", "(", "GET_CODE", "(", "orig", ")", "==", "LABEL_REF", "&&", "!", "can_use_mov_pic_label_ref", "(", "orig", ")", ")", ")", "{", "bool", "gotdata_op", "=", "false", ";", "rtx", "pic_ref", ",", "address", ";", "rtx_insn", "*", "insn", ";", "if", "(", "!", "reg", ")", "{", "gcc_assert", "(", "can_create_pseudo_p", "(", ")", ")", ";", "reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "}", "if", "(", "flag_pic", "==", "2", ")", "{", "rtx", "temp_reg", "=", "can_create_pseudo_p", "(", ")", "?", "gen_reg_rtx", "(", "Pmode", ")", ":", "reg", ";", "if", "(", "TARGET_ARCH64", ")", "{", "emit_insn", "(", "gen_movdi_high_pic", "(", "temp_reg", ",", "orig", ")", ")", ";", "emit_insn", "(", "gen_movdi_lo_sum_pic", "(", "temp_reg", ",", "temp_reg", ",", "orig", ")", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_movsi_high_pic", "(", "temp_reg", ",", "orig", ")", ")", ";", "emit_insn", "(", "gen_movsi_lo_sum_pic", "(", "temp_reg", ",", "temp_reg", ",", "orig", ")", ")", ";", "}", "address", "=", "temp_reg", ";", "gotdata_op", "=", "true", ";", "}", "else", "address", "=", "orig", ";", "crtl", "->", "uses_pic_offset_table", "=", "1", ";", "if", "(", "gotdata_op", ")", "{", "if", "(", "TARGET_ARCH64", ")", "insn", "=", "emit_insn", "(", "gen_movdi_pic_gotdata_op", "(", "reg", ",", "pic_offset_table_rtx", ",", "address", ",", "orig", ")", ")", ";", "else", "insn", "=", "emit_insn", "(", "gen_movsi_pic_gotdata_op", "(", "reg", ",", "pic_offset_table_rtx", ",", "address", ",", "orig", ")", ")", ";", "}", "else", "{", "pic_ref", "=", "gen_const_mem", "(", "Pmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "pic_offset_table_rtx", ",", "address", ")", ")", ";", "insn", "=", "emit_move_insn", "(", "reg", ",", "pic_ref", ")", ";", "}", "set_unique_reg_note", "(", "insn", ",", "REG_EQUAL", ",", "orig", ")", ";", "return", "reg", ";", "}", "else", "if", "(", "GET_CODE", "(", "orig", ")", "==", "CONST", ")", "{", "rtx", "base", ",", "offset", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "orig", ",", "0", ")", ")", "==", "PLUS", "&&", "sparc_pic_register_p", "(", "XEXP", "(", "XEXP", "(", "orig", ",", "0", ")", ",", "0", ")", ")", ")", "return", "orig", ";", "if", "(", "!", "reg", ")", "{", "gcc_assert", "(", "can_create_pseudo_p", "(", ")", ")", ";", "reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "}", "gcc_assert", "(", "GET_CODE", "(", "XEXP", "(", "orig", ",", "0", ")", ")", "==", "PLUS", ")", ";", "base", "=", "sparc_legitimize_pic_address", "(", "XEXP", "(", "XEXP", "(", "orig", ",", "0", ")", ",", "0", ")", ",", "reg", ")", ";", "offset", "=", "sparc_legitimize_pic_address", "(", "XEXP", "(", "XEXP", "(", "orig", ",", "0", ")", ",", "1", ")", ",", "base", "==", "reg", "?", "NULL_RTX", ":", "reg", ")", ";", "if", "(", "GET_CODE", "(", "offset", ")", "==", "CONST_INT", ")", "{", "if", "(", "SMALL_INT", "(", "offset", ")", ")", "return", "plus_constant", "(", "Pmode", ",", "base", ",", "INTVAL", "(", "offset", ")", ")", ";", "else", "if", "(", "can_create_pseudo_p", "(", ")", ")", "offset", "=", "force_reg", "(", "Pmode", ",", "offset", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "return", "gen_rtx_PLUS", "(", "Pmode", ",", "base", ",", "offset", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "orig", ")", "==", "LABEL_REF", ")", "crtl", "->", "uses_pic_offset_table", "=", "1", ";", "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": ["sparc", "2", "1", "0", "0", "0", "0", "0", "0", "0", "1", "1"], "File": "sparc", "Func": "sparc_legitimize_pic_address", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12507, "Length": 460, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isAssociativeAndCommutative", "(", "const", "MachineInstr", "&", "Inst", ")", "{", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "case", "X86", "::", "AND8rr", ":", "case", "X86", "::", "AND16rr", ":", "case", "X86", "::", "AND32rr", ":", "case", "X86", "::", "AND64rr", ":", "case", "X86", "::", "OR8rr", ":", "case", "X86", "::", "OR16rr", ":", "case", "X86", "::", "OR32rr", ":", "case", "X86", "::", "OR64rr", ":", "case", "X86", "::", "XOR8rr", ":", "case", "X86", "::", "XOR16rr", ":", "case", "X86", "::", "XOR32rr", ":", "case", "X86", "::", "XOR64rr", ":", "case", "X86", "::", "IMUL16rr", ":", "case", "X86", "::", "IMUL32rr", ":", "case", "X86", "::", "IMUL64rr", ":", "case", "X86", "::", "MAXCPDrr", ":", "case", "X86", "::", "MAXCPSrr", ":", "case", "X86", "::", "MAXCSDrr", ":", "case", "X86", "::", "MAXCSSrr", ":", "case", "X86", "::", "MINCPDrr", ":", "case", "X86", "::", "MINCPSrr", ":", "case", "X86", "::", "MINCSDrr", ":", "case", "X86", "::", "MINCSSrr", ":", "case", "X86", "::", "VMAXCPDrr", ":", "case", "X86", "::", "VMAXCPSrr", ":", "case", "X86", "::", "VMAXCPDYrr", ":", "case", "X86", "::", "VMAXCPSYrr", ":", "case", "X86", "::", "VMAXCSDrr", ":", "case", "X86", "::", "VMAXCSSrr", ":", "case", "X86", "::", "VMINCPDrr", ":", "case", "X86", "::", "VMINCPSrr", ":", "case", "X86", "::", "VMINCPDYrr", ":", "case", "X86", "::", "VMINCPSYrr", ":", "case", "X86", "::", "VMINCSDrr", ":", "case", "X86", "::", "VMINCSSrr", ":", "return", "true", ";", "case", "X86", "::", "ADDPDrr", ":", "case", "X86", "::", "ADDPSrr", ":", "case", "X86", "::", "ADDSDrr", ":", "case", "X86", "::", "ADDSSrr", ":", "case", "X86", "::", "MULPDrr", ":", "case", "X86", "::", "MULPSrr", ":", "case", "X86", "::", "MULSDrr", ":", "case", "X86", "::", "MULSSrr", ":", "case", "X86", "::", "VADDPDrr", ":", "case", "X86", "::", "VADDPSrr", ":", "case", "X86", "::", "VADDPDYrr", ":", "case", "X86", "::", "VADDPSYrr", ":", "case", "X86", "::", "VADDSDrr", ":", "case", "X86", "::", "VADDSSrr", ":", "case", "X86", "::", "VMULPDrr", ":", "case", "X86", "::", "VMULPSrr", ":", "case", "X86", "::", "VMULPDYrr", ":", "case", "X86", "::", "VMULPSYrr", ":", "case", "X86", "::", "VMULSDrr", ":", "case", "X86", "::", "VMULSSrr", ":", "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": ["X86", "X86::AND8rr", "X86::AND16rr", "X86::AND32rr", "X86::AND64rr", "X86::OR8rr", "X86::OR16rr", "X86::OR32rr", "X86::OR64rr", "X86::XOR8rr", "X86::XOR16rr", "X86::XOR32rr", "X86::XOR64rr", "X86::IMUL16rr", "X86::IMUL32rr", "X86::IMUL64rr", "X86::MAXCPDrr", "X86::MAXCPSrr", "X86::MAXCSDrr", "X86::MAXCSSrr", "X86::MINCPDrr", "X86::MINCPSrr", "X86::MINCSDrr", "X86::MINCSSrr", "X86::VMAXCPDrr", "X86::VMAXCPSrr", "X86::VMAXCPDYrr", "X86::VMAXCPSYrr", "X86::VMAXCSDrr", "X86::VMAXCSSrr", "X86::VMINCPDrr", "X86::VMINCPSrr", "X86::VMINCPDYrr", "X86::VMINCPSYrr", "X86::VMINCSDrr", "X86::VMINCSSrr", "X86::ADDPDrr", "X86::ADDPSrr", "X86::ADDSDrr", "X86::ADDSSrr", "X86::MULPDrr", "X86::MULPSrr", "X86::MULSDrr", "X86::MULSSrr", "X86::VADDPDrr", "X86::VADDPSrr", "X86::VADDPDYrr", "X86::VADDPSYrr", "X86::VADDSDrr", "X86::VADDSSrr", "X86::VMULPDrr", "X86::VMULPSrr", "X86::VMULPDYrr", "X86::VMULPSYrr", "X86::VMULSDrr", "X86::VMULSSrr"], "File": "X86InstrInfo123", "Func": "isAssociativeAndCommutative", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12508, "Length": 323, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"ARM A15 S->D optimizer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"ARM A15 S->D optimizer\""], "File": "A15SDOptimizer2", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12509, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"Mips Hazard Schedule\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"Mips Hazard Schedule\""], "File": "MipsHazardSchedule2", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12510, "Length": 13, "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", ".", "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": "ARMBaseRegisterInfo23", "Func": "getCallPreservedMask", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12511, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "gen_gpr_to_xmm_move_src", "(", "enum", "machine_mode", "vmode", ",", "rtx", "gpr", ")", "{", "switch", "(", "GET_MODE_NUNITS", "(", "vmode", ")", ")", "{", "case", "1", ":", "return", "gen_rtx_SUBREG", "(", "vmode", ",", "gpr", ",", "0", ")", ";", "case", "2", ":", "return", "gen_rtx_VEC_CONCAT", "(", "vmode", ",", "gpr", ",", "CONST0_RTX", "(", "GET_MODE_INNER", "(", "vmode", ")", ")", ")", ";", "default", ":", "return", "gen_rtx_VEC_MERGE", "(", "vmode", ",", "gen_rtx_VEC_DUPLICATE", "(", "vmode", ",", "gpr", ")", ",", "CONST0_RTX", "(", "vmode", ")", ",", "GEN_INT", "(", "HOST_WIDE_INT_1U", ")", ")", ";", "}", "}", ""], "natrual_language": ["Generate", "the", "canonical", "SET_SRC", "to", "move", "GPR", "to", "a", "VMODE", "vector", "register", ",", "zeroing", "the", "upper", "parts", "."], "TS_V_token": ["i386", "1", "0", "2"], "File": "i386-features1", "Func": "gen_gpr_to_xmm_move_src", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12512, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ArrayRef", "<", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">>", "AArch64InstrInfo", "::", "getSerializableBitmaskMachineOperandTargetFlags", "(", ")", "const", "{", "using", "namespace", "AArch64II", ";", "static", "const", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">", "TargetFlags", "[", "]", "=", "{", "{", "MO_COFFSTUB", ",", "\"aarch64-coffstub\"", "}", ",", "{", "MO_GOT", ",", "\"aarch64-got\"", "}", ",", "{", "MO_NC", ",", "\"aarch64-nc\"", "}", ",", "{", "MO_S", ",", "\"aarch64-s\"", "}", ",", "{", "MO_TLS", ",", "\"aarch64-tls\"", "}", ",", "{", "MO_DLLIMPORT", ",", "\"aarch64-dllimport\"", "}", ",", "{", "MO_PREL", ",", "\"aarch64-prel\"", "}", ",", "{", "MO_TAGGED", ",", "\"aarch64-tagged\"", "}", "}", ";", "return", "makeArrayRef", "(", "TargetFlags", ")", ";", "}", ""], "natrual_language": ["Return", "an", "array", "that", "contains", "the", "bitmask", "target", "flag", "values", "and", "their", "names", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "\"aarch64-coffstub\"", "\"aarch64-got\"", "\"aarch64-nc\"", "\"aarch64-s\"", "\"aarch64-tls\"", "\"aarch64-dllimport\"", "\"aarch64-prel\"", "\"aarch64-tagged\""], "File": "AArch64InstrInfo104", "Func": "getSerializableBitmaskMachineOperandTargetFlags", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12513, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "sh_movrt_set_dest", "(", "const_rtx", "pat", ")", "{", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", ")", "pat", "=", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ";", "return", "GET_CODE", "(", "pat", ")", "==", "SET", "&&", "arith_reg_dest", "(", "XEXP", "(", "pat", ",", "0", ")", ",", "SImode", ")", "&&", "negt_reg_operand", "(", "XEXP", "(", "pat", ",", "1", ")", ",", "VOIDmode", ")", "?", "XEXP", "(", "pat", ",", "0", ")", ":", "NULL", ";", "}", ""], "natrual_language": ["Given", "an", "insn", ",", "check", "whether", "it", "'s", "a", "'movrt", "'", "kind", "of", "insn", ",", "i.e", ".", "an", "insn", "that", "stores", "the", "negated", "T", "bit", "in", "a", "register", ",", "and", "return", "the", "destination", "register", "rtx", ",", "or", "null", "."], "TS_V_token": ["sh", "0", "0", "0", "1", "0"], "File": "sh", "Func": "sh_movrt_set_dest", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12514, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCTTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ")", "{", "if", "(", "ST", "->", "getDarwinDirective", "(", ")", "==", "PPC", "::", "DIR_A2", ")", "{", "UP", ".", "Partial", "=", "UP", ".", "Runtime", "=", "true", ";", "UP", ".", "AllowExpensiveTripCount", "=", "true", ";", "}", "BaseT", "::", "getUnrollingPreferences", "(", "L", ",", "UP", ")", ";", "}", ""], "natrual_language": ["Get", "target-customized", "preferences", "for", "the", "generic", "loop", "unrolling", "transformation", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::DIR_A2"], "File": "PPCTargetTransformInfo18", "Func": "getUnrollingPreferences", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12515, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createThumb2SizeReductionPass", "(", ")", ")", ";", "addPass", "(", "createUnpackMachineBundles", "(", "[", "]", "(", "const", "MachineFunction", "&", "MF", ")", "{", "return", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "isThumb2", "(", ")", ";", "}", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createARMOptimizeBarriersPass", "(", ")", ")", ";", "addPass", "(", "createARMConstantIslandPass", "(", ")", ")", ";", "addPass", "(", "createARMALFWriterPass", "(", ")", ")", ";", "}", ""], "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", "ARM", "ARM", "ARM"], "File": "ARMTargetMachine66", "Func": "addPreEmitPass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12516, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "{", "return", "1", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["Mips", "1"], "File": "MipsAsmBackend60", "Func": "getNumFixupKinds", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12517, "Length": 10, "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": 12518, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "ix86_zero_extend_to_Pmode", "(", "rtx", "exp", ")", "{", "rtx", "r", ";", "if", "(", "GET_MODE", "(", "exp", ")", "==", "VOIDmode", ")", "return", "force_reg", "(", "Pmode", ",", "exp", ")", ";", "if", "(", "GET_MODE", "(", "exp", ")", "==", "Pmode", ")", "return", "copy_to_mode_reg", "(", "Pmode", ",", "exp", ")", ";", "r", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_zero_extendsidi2", "(", "r", ",", "exp", ")", ")", ";", "return", "r", ";", "}", ""], "natrual_language": ["Zero", "extend", "possibly", "SImode", "EXP", "to", "Pmode", "register", "."], "TS_V_token": ["i386"], "File": "i3863", "Func": "ix86_zero_extend_to_Pmode", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12519, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "FISCRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "static", "const", "uint16_t", "CalleeSavedRegs", "[", "]", "=", "{", "FISC", "::", "LR", ",", "FISC", "::", "X19", ",", "FISC", "::", "X20", ",", "FISC", "::", "X21", ",", "FISC", "::", "X22", ",", "FISC", "::", "X23", ",", "FISC", "::", "X24", ",", "FISC", "::", "X25", ",", "FISC", "::", "X26", ",", "FISC", "::", "X27", ",", "0", "}", ";", "return", "CalleeSavedRegs", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["FISC", "FISC", "FISC::LR", "FISC::X19", "FISC::X20", "FISC::X21", "FISC::X22", "FISC::X23", "FISC::X24", "FISC::X25", "FISC::X26", "FISC::X27", "0"], "File": "FISCRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12520, "Length": 69, "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", "::", "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", "::", "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", ")", ";", "}", "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::SELECT_CC", "ISD::SETCC", "ISD::VASTART", "ISD::FCOPYSIGN", "ISD::FABS", "ISD::FRAMEADDR", "ISD::RETURNADDR", "ISD::MEMBARRIER", "ISD::ATOMIC_FENCE", "ISD::SHL_PARTS", "ISD::SRA_PARTS", "ISD::SRL_PARTS", "ISD::LOAD", "ISD::STORE"], "File": "MipsISelLowering45", "Func": "LowerOperation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12521, "Length": 320, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CAHPFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "const", "CAHPRegisterInfo", "*", "RI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "FPReg", "=", "getFPReg", "(", ")", ";", "unsigned", "SPReg", "=", "getSPReg", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "LastFrameDestroy", "=", "MBBI", ";", "std", "::", "advance", "(", "LastFrameDestroy", ",", "-", "MFI", ".", "getCalleeSavedInfo", "(", ")", ".", "size", "(", ")", ")", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "RI", "->", "needsStackRealignment", "(", "MF", ")", "||", "MFI", ".", "hasVarSizedObjects", "(", ")", ")", "{", "assert", "(", "hasFP", "(", "MF", ")", "&&", "\"frame pointer should not have been eliminated\"", ")", ";", "adjustReg", "(", "MBB", ",", "LastFrameDestroy", ",", "DL", ",", "SPReg", ",", "FPReg", ",", "-", "StackSize", ",", "MachineInstr", "::", "FrameDestroy", ")", ";", "}", "adjustReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "SPReg", ",", "SPReg", ",", "StackSize", ",", "MachineInstr", "::", "FrameDestroy", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["CAHP", "CAHP", "CAHP", "\"frame pointer should not have been eliminated\""], "File": "CAHPFrameLowering", "Func": "emitEpilogue", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12522, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_pass_by_reference", "(", "cumulative_args_t", "cum", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_ARCH32", ")", "return", "(", "(", "type", "&&", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "||", "VECTOR_FLOAT_TYPE_P", "(", "type", ")", ")", ")", "||", "mode", "==", "SCmode", "||", "GET_MODE_SIZE", "(", "mode", ")", ">", "8", "||", "(", "type", "&&", "VECTOR_TYPE_P", "(", "type", ")", "&&", "(", "unsigned", "HOST_WIDE_INT", ")", "int_size_in_bytes", "(", "type", ")", ">", "8", ")", ")", ";", "else", "return", "(", "(", "type", "&&", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "||", "VECTOR_TYPE_P", "(", "type", ")", ")", "&&", "(", "unsigned", "HOST_WIDE_INT", ")", "int_size_in_bytes", "(", "type", ")", ">", "16", ")", "||", "GET_MODE_SIZE", "(", "mode", ")", ">", "16", ")", ";", "}", ""], "natrual_language": ["Handle", "the", "TARGET_PASS_BY_REFERENCE", "target", "hook", ".", "Specify", "whether", "to", "pass", "the", "argument", "by", "reference", "."], "TS_V_token": ["sparc", "8", "8", "16", "16"], "File": "sparc8", "Func": "sparc_pass_by_reference", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12523, "Length": 112, "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", "(", ")", ";", "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": "MipsISelLowering (2)5", "Func": "HandleByVal", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12524, "Length": 238, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "pbsada_insn_ra_rb_dep_reg_p", "(", "rtx", "pbsada_insn", ",", "rtx", "def_reg", ")", "{", "rtx", "unspec_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "pbsada_insn", ")", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "unspec_rtx", ")", "==", "UNSPEC", ")", ";", "rtx", "pbsada_ra", "=", "XVECEXP", "(", "unspec_rtx", ",", "0", ",", "0", ")", ";", "rtx", "pbsada_rb", "=", "XVECEXP", "(", "unspec_rtx", ",", "0", ",", "1", ")", ";", "if", "(", "rtx_equal_p", "(", "def_reg", ",", "pbsada_ra", ")", "||", "rtx_equal_p", "(", "def_reg", ",", "pbsada_rb", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Determine", "if", "the", "latency", "is", "occured", "when", "the", "consumer", "PBSADA_INSN", "uses", "the", "value", "of", "DEF_REG", "in", "its", "Ra", "or", "Rb", "fields", "."], "TS_V_token": ["nds32", "0", "0", "0", "1"], "File": "nds32-pipelines-auxiliary", "Func": "pbsada_insn_ra_rb_dep_reg_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12525, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "function_expander", "::", "convert_to_pmode", "(", "rtx", "x", ")", "{", "if", "(", "ptr_mode", "==", "SImode", ")", "x", "=", "simplify_gen_unary", "(", "ZERO_EXTEND", ",", "DImode", ",", "x", ",", "SImode", ")", ";", "return", "x", ";", "}", ""], "natrual_language": ["Convert", "ptr_mode", "value", "X", "to", "Pmode", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "convert_to_pmode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12526, "Length": 32, "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": ["Lanai"], "File": "LanaiAsmBackend", "Func": "relaxInstruction", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12527, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "uint32_t", "generateCompactUnwindEncoding", "(", "ArrayRef", "<", "MCCFIInstruction", ">", "Instrs", ")", "const", "{", "return", "SupportsCU", "?", "generateCompactUnwindEncodingImpl", "(", "Instrs", ")", ":", "0", ";", "}", ""], "natrual_language": ["Generate", "compact", "unwind", "encoding", "for", "the", "function", "based", "on", "the", "CFI", "instructions", "."], "TS_V_token": ["X86", "0"], "File": "X86AsmBackend27", "Func": "generateCompactUnwindEncoding", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12528, "Length": 23, "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": 12529, "Length": 39, "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": ["FISC", "8"], "File": "FISCAsmBackend", "Func": "getPointerSize", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12530, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "aarch64_build_constant", "(", "int", "regnum", ",", "HOST_WIDE_INT", "val", ",", "bool", "generate", ")", "{", "int", "insns", "=", "0", ";", "if", "(", "aarch64_bitmask_imm", "(", "val", ",", "DImode", ")", ")", "{", "if", "(", "generate", ")", "emit_move_insn", "(", "gen_rtx_REG", "(", "Pmode", ",", "regnum", ")", ",", "GEN_INT", "(", "val", ")", ")", ";", "insns", "=", "1", ";", "}", "else", "{", "int", "i", ";", "int", "ncount", "=", "0", ";", "int", "zcount", "=", "0", ";", "HOST_WIDE_INT", "valp", "=", "val", ">>", "16", ";", "HOST_WIDE_INT", "valm", ";", "HOST_WIDE_INT", "tval", ";", "for", "(", "i", "=", "16", ";", "i", "<", "64", ";", "i", "+=", "16", ")", "{", "valm", "=", "(", "valp", "&", "0xffff", ")", ";", "if", "(", "valm", "!=", "0", ")", "++", "zcount", ";", "if", "(", "valm", "!=", "0xffff", ")", "++", "ncount", ";", "valp", ">>=", "16", ";", "}", "if", "(", "ncount", "<", "zcount", ")", "{", "if", "(", "generate", ")", "emit_move_insn", "(", "gen_rtx_REG", "(", "Pmode", ",", "regnum", ")", ",", "GEN_INT", "(", "val", "|", "~", "(", "HOST_WIDE_INT", ")", "0xffff", ")", ")", ";", "tval", "=", "0xffff", ";", "insns", "++", ";", "}", "else", "{", "if", "(", "generate", ")", "emit_move_insn", "(", "gen_rtx_REG", "(", "Pmode", ",", "regnum", ")", ",", "GEN_INT", "(", "val", "&", "0xffff", ")", ")", ";", "tval", "=", "0", ";", "insns", "++", ";", "}", "val", ">>=", "16", ";", "for", "(", "i", "=", "16", ";", "i", "<", "64", ";", "i", "+=", "16", ")", "{", "if", "(", "(", "val", "&", "0xffff", ")", "!=", "tval", ")", "{", "if", "(", "generate", ")", "emit_insn", "(", "gen_insv_immdi", "(", "gen_rtx_REG", "(", "Pmode", ",", "regnum", ")", ",", "GEN_INT", "(", "i", ")", ",", "GEN_INT", "(", "val", "&", "0xffff", ")", ")", ")", ";", "insns", "++", ";", "}", "val", ">>=", "16", ";", "}", "}", "return", "insns", ";", "}", ""], "natrual_language": ["Possibly", "output", "code", "to", "build", "up", "a", "constant", "in", "a", "register", ".", "For", "the", "benefit", "of", "the", "costs", "infrastructure", ",", "returns", "the", "number", "of", "instructions", "which", "would", "be", "emitted", ".", "GENERATE", "inhibits", "or", "enables", "code", "generation", "."], "TS_V_token": ["aarch64", "0", "1", "0", "0", "16", "16", "64", "16", "0xffff", "0", "0xffff", "16", "0xffff", "0xffff", "0xffff", "0", "16", "16", "64", "16", "0xffff", "0xffff", "16"], "File": "aarch642", "Func": "aarch64_build_constant", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12531, "Length": 271, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_function_sseregparm", "(", "tree", "type", ",", "tree", "decl", ")", "{", "if", "(", "TARGET_SSEREGPARM", "||", "(", "type", "&&", "lookup_attribute", "(", "\"sseregparm\"", ",", "TYPE_ATTRIBUTES", "(", "type", ")", ")", ")", ")", "{", "if", "(", "!", "TARGET_SSE", ")", "{", "if", "(", "decl", ")", "error", "(", "\"Calling %qD with attribute sseregparm without \"", "\"SSE/SSE2 enabled\"", ",", "decl", ")", ";", "else", "error", "(", "\"Calling %qT with attribute sseregparm without \"", "\"SSE/SSE2 enabled\"", ",", "type", ")", ";", "return", "0", ";", "}", "return", "2", ";", "}", "if", "(", "!", "TARGET_64BIT", "&&", "decl", "&&", "TARGET_SSE_MATH", "&&", "flag_unit_at_a_time", "&&", "!", "profile_flag", ")", "{", "struct", "cgraph_local_info", "*", "i", "=", "cgraph_local_info", "(", "decl", ")", ";", "if", "(", "i", "&&", "i", "->", "local", ")", "return", "TARGET_SSE2", "?", "2", ":", "1", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "1", "or", "2", ",", "if", "we", "can", "pass", "up", "to", "SSE_REGPARM_MAX", "SFmode", "(", "1", ")", "and", "DFmode", "(", "2", ")", "arguments", "in", "SSE", "registers", "for", "a", "function", "with", "the", "indicated", "TYPE", "and", "DECL", ".", "DECL", "may", "be", "NULL", "when", "calling", "function", "indirectly", "or", "considering", "a", "libcall", ".", "Otherwise", "return", "0", "."], "TS_V_token": ["i386", "\"sseregparm\"", "\"Calling %qD with attribute sseregparm without \"", "\"SSE/SSE2 enabled\"", "\"Calling %qT with attribute sseregparm without \"", "\"SSE/SSE2 enabled\"", "0", "2", "2", "1", "0"], "File": "i3863", "Func": "ix86_function_sseregparm", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12532, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", "||", "!", "RunPreEmitPeephole", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "const", "PPCInstrInfo", "*", "TII", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "SmallVector", "<", "MachineInstr", "*", ",", "4", ">", "InstrsToErase", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "{", "MachineInstr", "*", "DefMIToErase", "=", "nullptr", ";", "if", "(", "TII", "->", "convertToImmediateForm", "(", "MI", ",", "&", "DefMIToErase", ")", ")", "{", "Changed", "=", "true", ";", "NumRRConvertedInPreEmit", "++", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Converted instruction to imm form: \"", ")", ";", "DEBUG", "(", "MI", ".", "dump", "(", ")", ")", ";", "if", "(", "DefMIToErase", ")", "{", "InstrsToErase", ".", "push_back", "(", "DefMIToErase", ")", ";", "}", "}", "}", "}", "for", "(", "MachineInstr", "*", "MI", ":", "InstrsToErase", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"PPC pre-emit peephole: erasing instruction: \"", ")", ";", "DEBUG", "(", "MI", "->", "dump", "(", ")", ")", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "NumRemovedInPreEmit", "++", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "4", "\"Converted instruction to imm form: \"", "\"PPC pre-emit peephole: erasing instruction: \""], "File": "PPCPreEmitPeephole (2)", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12533, "Length": 177, "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!\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<=", "6", ";", "++", "i", ")", "if", "(", "MF", ".", "getRegInfo", "(", ")", ".", "isPhysRegUsed", "(", "X86", "::", "FP0", "+", "i", ")", ")", "{", "FPIsUsed", "=", "true", ";", "break", ";", "}", "if", "(", "!", "FPIsUsed", ")", "return", "false", ";", "Bundles", "=", "&", "getAnalysis", "<", "EdgeBundles", ">", "(", ")", ";", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "bundleCFG", "(", "MF", ")", ";", "StackTop", "=", "0", ";", "SmallPtrSet", "<", "MachineBasicBlock", "*", ",", "8", ">", "Processed", ";", "MachineBasicBlock", "*", "Entry", "=", "MF", ".", "begin", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "*", "BB", ":", "depth_first_ext", "(", "Entry", ",", "Processed", ")", ")", "Changed", "|=", "processBasicBlock", "(", "MF", ",", "*", "BB", ")", ";", "if", "(", "MF", ".", "size", "(", ")", "!=", "Processed", ".", "size", "(", ")", ")", "for", "(", "MachineFunction", "::", "iterator", "BB", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "BB", "!=", "E", ";", "++", "BB", ")", "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", "8"], "File": "X86FloatingPoint41", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12534, "Length": 228, "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", ";", "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", "1"], "File": "MipsRegisterBankInfo4", "Func": "getInstrMapping", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12535, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "init_cumulative_args", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "tree", "fntype", ",", "rtx", "libname", "ATTRIBUTE_UNUSED", ",", "int", "incoming", ",", "int", "libcall", ",", "int", "n_named_args", ",", "tree", "fndecl", "ATTRIBUTE_UNUSED", ",", "machine_mode", "return_mode", "ATTRIBUTE_UNUSED", ")", "{", "static", "CUMULATIVE_ARGS", "zero_cumulative", ";", "*", "cum", "=", "zero_cumulative", ";", "cum", "->", "words", "=", "0", ";", "cum", "->", "fregno", "=", "FP_ARG_MIN_REG", ";", "cum", "->", "vregno", "=", "ALTIVEC_ARG_MIN_REG", ";", "cum", "->", "prototype", "=", "(", "fntype", "&&", "prototype_p", "(", "fntype", ")", ")", ";", "cum", "->", "call_cookie", "=", "(", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "libcall", ")", "?", "CALL_LIBCALL", ":", "CALL_NORMAL", ")", ";", "cum", "->", "sysv_gregno", "=", "GP_ARG_MIN_REG", ";", "cum", "->", "stdarg", "=", "stdarg_p", "(", "fntype", ")", ";", "cum", "->", "libcall", "=", "libcall", ";", "cum", "->", "nargs_prototype", "=", "0", ";", "if", "(", "incoming", "||", "cum", "->", "prototype", ")", "cum", "->", "nargs_prototype", "=", "n_named_args", ";", "if", "(", "(", "!", "fntype", "&&", "rs6000_default_long_calls", ")", "||", "(", "fntype", "&&", "lookup_attribute", "(", "\"longcall\"", ",", "TYPE_ATTRIBUTES", "(", "fntype", ")", ")", "&&", "!", "lookup_attribute", "(", "\"shortcall\"", ",", "TYPE_ATTRIBUTES", "(", "fntype", ")", ")", ")", ")", "cum", "->", "call_cookie", "|=", "CALL_LONG", ";", "if", "(", "TARGET_DEBUG_ARG", ")", "{", "fprintf", "(", "stderr", ",", "\"\\ninit_cumulative_args:\"", ")", ";", "if", "(", "fntype", ")", "{", "tree", "ret_type", "=", "TREE_TYPE", "(", "fntype", ")", ";", "fprintf", "(", "stderr", ",", "\" ret code = %s,\"", ",", "get_tree_code_name", "(", "TREE_CODE", "(", "ret_type", ")", ")", ")", ";", "}", "if", "(", "cum", "->", "call_cookie", "&", "CALL_LONG", ")", "fprintf", "(", "stderr", ",", "\" longcall,\"", ")", ";", "fprintf", "(", "stderr", ",", "\" proto = %d, nargs = %d\\n\"", ",", "cum", "->", "prototype", ",", "cum", "->", "nargs_prototype", ")", ";", "}", "if", "(", "TARGET_ELF", "&&", "(", "TARGET_64BIT", "||", "DEFAULT_ABI", "==", "ABI_V4", ")", ")", "{", "cum", "->", "escapes", "=", "call_ABI_of_interest", "(", "fndecl", ")", ";", "if", "(", "cum", "->", "escapes", ")", "{", "tree", "return_type", ";", "if", "(", "fntype", ")", "{", "return_type", "=", "TREE_TYPE", "(", "fntype", ")", ";", "return_mode", "=", "TYPE_MODE", "(", "return_type", ")", ";", "}", "else", "return_type", "=", "lang_hooks", ".", "types", ".", "type_for_mode", "(", "return_mode", ",", "0", ")", ";", "if", "(", "return_type", "!=", "NULL", ")", "{", "if", "(", "TREE_CODE", "(", "return_type", ")", "==", "RECORD_TYPE", "&&", "TYPE_TRANSPARENT_AGGR", "(", "return_type", ")", ")", "{", "return_type", "=", "TREE_TYPE", "(", "first_field", "(", "return_type", ")", ")", ";", "return_mode", "=", "TYPE_MODE", "(", "return_type", ")", ";", "}", "if", "(", "AGGREGATE_TYPE_P", "(", "return_type", ")", "&&", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "int_size_in_bytes", "(", "return_type", ")", "<=", "8", ")", ")", "rs6000_returns_struct", "=", "true", ";", "}", "if", "(", "SCALAR_FLOAT_MODE_P", "(", "return_mode", ")", ")", "{", "rs6000_passes_float", "=", "true", ";", "if", "(", "(", "HAVE_LD_PPC_GNU_ATTR_LONG_DOUBLE", "||", "TARGET_64BIT", ")", "&&", "(", "FLOAT128_IBM_P", "(", "return_mode", ")", "||", "FLOAT128_IEEE_P", "(", "return_mode", ")", "||", "(", "return_type", "!=", "NULL", "&&", "(", "TYPE_MAIN_VARIANT", "(", "return_type", ")", "==", "long_double_type_node", ")", ")", ")", ")", "rs6000_passes_long_double", "=", "true", ";", "}", "if", "(", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "return_mode", ")", "||", "PAIRED_VECTOR_MODE", "(", "return_mode", ")", ")", "rs6000_passes_vector", "=", "true", ";", "}", "}", "if", "(", "fntype", "&&", "!", "TARGET_ALTIVEC", "&&", "TARGET_ALTIVEC_ABI", "&&", "ALTIVEC_VECTOR_MODE", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "fntype", ")", ")", ")", ")", "{", "error", "(", "\"cannot return value in vector register because\"", "\" altivec instructions are disabled, use %qs\"", "\" to enable them\"", ",", "\"-maltivec\"", ")", ";", "}", "}", ""], "natrual_language": ["Handle", "the", "INIT_CUMULATIVE_ARGS", "macro", ".", "Initialize", "a", "variable", "CUM", "of", "type", "CUMULATIVE_ARGS", "for", "a", "call", "to", "a", "function", "whose", "data", "type", "is", "FNTYPE", ".", "For", "a", "library", "call", ",", "FNTYPE", "is", "0", "."], "TS_V_token": ["rs6000", "0", "0", "\"longcall\"", "\"shortcall\"", "\"\\ninit_cumulative_args:\"", "\" ret code = %s,\"", "\" longcall,\"", "\" proto = %d, nargs = %d\\n\"", "0", "8", "\"cannot return value in vector register because\"", "\" altivec instructions are disabled, use %qs\"", "\" to enable them\"", "\"-maltivec\""], "File": "rs60007", "Func": "init_cumulative_args", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12536, "Length": 476, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_emit_i387_tanh", "(", "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", "cst2", ",", "tmp", ";", "rtx_code_label", "*", "jump_label", "=", "gen_label_rtx", "(", ")", ";", "rtx_insn", "*", "insn", ";", "emit_insn", "(", "gen_fxamxf2_i387", "(", "scratch", ",", "op1", ")", ")", ";", "emit_insn", "(", "gen_addxf3", "(", "e2", ",", "op1", ",", "op1", ")", ")", ";", "emit_insn", "(", "gen_absxf2", "(", "e2", ",", "e2", ")", ")", ";", "emit_insn", "(", "gen_negxf2", "(", "e2", ",", "e2", ")", ")", ";", "emit_insn", "(", "gen_expm1xf2", "(", "e1", ",", "e2", ")", ")", ";", "cst2", "=", "force_reg", "(", "XFmode", ",", "CONST2_RTX", "(", "XFmode", ")", ")", ";", "emit_insn", "(", "gen_addxf3", "(", "e2", ",", "e1", ",", "cst2", ")", ")", ";", "emit_insn", "(", "gen_divxf3", "(", "e2", ",", "e1", ",", "e2", ")", ")", ";", "emit_insn", "(", "gen_testqi_ext_1_ccno", "(", "scratch", ",", "GEN_INT", "(", "0x02", ")", ")", ")", ";", "tmp", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "gen_rtx_NE", "(", "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", ";", "emit_move_insn", "(", "op0", ",", "e2", ")", ";", "}", ""], "natrual_language": ["Output", "code", "to", "perform", "an", "tanh", "XFmode", "calculation", "."], "TS_V_token": ["i386", "0x02", "50", "100", "1"], "File": "i386-expand", "Func": "ix86_emit_i387_tanh", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12537, "Length": 245, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "enablePostRAScheduler", "(", ")", "const", "override", "{", "return", "usePostRAScheduler", "(", ")", ";", "}", ""], "natrual_language": ["True", "if", "the", "subtarget", "should", "run", "a", "scheduler", "after", "register", "allocation", "."], "TS_V_token": ["AArch64"], "File": "AArch64Subtarget40", "Func": "enablePostRAScheduler", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12538, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "ParseInstruction", "(", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsAsmParser58", "Func": "ParseInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12539, "Length": 24, "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", ";", "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": "ARMBaseRegisterInfo5", "Func": "getCallPreservedMask", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12540, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_emit_int_order_test", "(", "enum", "rtx_code", "code", ",", "bool", "*", "invert_ptr", ",", "rtx", "target", ",", "rtx", "cmp0", ",", "rtx", "cmp1", ")", "{", "machine_mode", "mode", ";", "mode", "=", "GET_MODE", "(", "cmp0", ")", ";", "if", "(", "mips_canonicalize_int_order_test", "(", "&", "code", ",", "&", "cmp1", ",", "mode", ")", ")", "mips_emit_binary", "(", "code", ",", "target", ",", "cmp0", ",", "cmp1", ")", ";", "else", "{", "enum", "rtx_code", "inv_code", "=", "reverse_condition", "(", "code", ")", ";", "if", "(", "!", "mips_canonicalize_int_order_test", "(", "&", "inv_code", ",", "&", "cmp1", ",", "mode", ")", ")", "{", "cmp1", "=", "force_reg", "(", "mode", ",", "cmp1", ")", ";", "mips_emit_int_order_test", "(", "code", ",", "invert_ptr", ",", "target", ",", "cmp0", ",", "cmp1", ")", ";", "}", "else", "if", "(", "invert_ptr", "==", "0", ")", "{", "rtx", "inv_target", ";", "inv_target", "=", "mips_force_binary", "(", "GET_MODE", "(", "target", ")", ",", "inv_code", ",", "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", "ordering", "test", "CODE", "and", "store", "the", "result", "in", "TARGET", ".", "CMP0", "and", "TARGET", "are", "register_operands", ".", "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": "mips", "Func": "mips_emit_int_order_test", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12541, "Length": 167, "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", ";", "unsigned", "FltOpc", "=", "ARM", "::", "VSTMDDB_UPD", ";", "emitPushInst", "(", "MBB", ",", "MI", ",", "CSI", ",", "PushOpc", ",", "PushOneOpc", ",", "false", ",", "&", "isARMArea1Register", ",", "MachineInstr", "::", "FrameSetup", ")", ";", "emitPushInst", "(", "MBB", ",", "MI", ",", "CSI", ",", "PushOpc", ",", "PushOneOpc", ",", "false", ",", "&", "isARMArea2Register", ",", "MachineInstr", "::", "FrameSetup", ")", ";", "emitPushInst", "(", "MBB", ",", "MI", ",", "CSI", ",", "FltOpc", ",", "0", ",", "true", ",", "&", "isARMArea3Register", ",", "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": ["ARM", "ARM", "ARM", "ARM", "ARM::t2STMDB_UPD", "ARM::STMDB_UPD", "ARM::t2STR_PRE", "ARM::STR_PRE", "ARM::VSTMDDB_UPD", "ARM", "ARM", "0", "ARM"], "File": "ARMFrameLowering25", "Func": "spillCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12542, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "loongarch_small_data_pattern_1", "(", "rtx", "x", ")", "{", "subrtx_var_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX_VAR", "(", "iter", ",", "array", ",", "x", ",", "ALL", ")", "{", "rtx", "x", "=", "*", "iter", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "ASM_OPERANDS", ")", "iter", ".", "skip_subrtxes", "(", ")", ";", "else", "if", "(", "MEM_P", "(", "x", ")", ")", "{", "if", "(", "loongarch_small_data_pattern_1", "(", "XEXP", "(", "x", ",", "0", ")", ")", ")", "return", "true", ";", "iter", ".", "skip_subrtxes", "(", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "refers", "to", "small", "data", "symbols", "directly", "."], "TS_V_token": ["loongarch", "0"], "File": "loongarch", "Func": "loongarch_small_data_pattern_1", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12543, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "Cpu0TargetLowering", "::", "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", ")", ";", "}", "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": ["Cpu0", "Cpu0", "ISD::SDIVREM", "ISD::UDIVREM"], "File": "Cpu0ISelLowering", "Func": "PerformDAGCombine", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12544, "Length": 70, "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": 12545, "Length": 314, "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", "(", "Inst", ".", "getNumOperands", "(", ")", "==", "0", ")", "return", "false", ";", "if", "(", "Info", "->", "get", "(", "Inst", ".", "getOpcode", "(", ")", ")", ".", "OpInfo", "[", "0", "]", ".", "OperandType", "==", "MCOI", "::", "OPERAND_PCREL", ")", "{", "int64_t", "Imm", "=", "Inst", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "Target", "=", "Addr", "+", "Size", "+", "Imm", ";", "return", "true", ";", "}", "else", "{", "int64_t", "Imm", "=", "Inst", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "Imm", "==", "0", ")", "return", "false", ";", "Target", "=", "Imm", ";", "return", "true", ";", "}", "}", ""], "natrual_language": ["Given", "a", "branch", "instruction", "try", "to", "get", "the", "address", "the", "branch", "targets", "."], "TS_V_token": ["Lanai", "0", "0", "0", "0", "0"], "File": "LanaiMCTargetDesc", "Func": "evaluateBranch", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12546, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "UPTInstrInfo", "::", "isAsCheapAsAMove", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "return", "MI", ".", "isAsCheapAsAMove", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "instruction", "is", "as", "cheap", "as", "a", "move", "instruction", "."], "TS_V_token": ["UPT", "UPT"], "File": "UPTInstrInfo", "Func": "isAsCheapAsAMove", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12547, "Length": 20, "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": 12548, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMTargetLowering", "::", "ConstraintType", "ARMTargetLowering", "::", "getConstraintType", "(", "StringRef", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'l'", ":", "return", "C_RegisterClass", ";", "case", "'w'", ":", "return", "C_RegisterClass", ";", "case", "'h'", ":", "return", "C_RegisterClass", ";", "case", "'x'", ":", "return", "C_RegisterClass", ";", "case", "'t'", ":", "return", "C_RegisterClass", ";", "case", "'j'", ":", "return", "C_Other", ";", "case", "'Q'", ":", "return", "C_Memory", ";", "}", "}", "else", "if", "(", "Constraint", ".", "size", "(", ")", "==", "2", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'U'", ":", "return", "C_Memory", ";", "}", "}", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "."], "TS_V_token": ["ARM", "ARM", "ARM", "1", "0", "2", "0"], "File": "ARMISelLowering (2)2", "Func": "getConstraintType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12549, "Length": 120, "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", "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-mem4", "Func": "sh_expand_strlen", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12550, "Length": 440, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CSKYAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "MCP", "=", "MF", ".", "getConstantPool", "(", ")", ";", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MCSubtargetInfo", "&", "NewSTI", "=", "OutStreamer", "->", "getContext", "(", ")", ".", "getSubtargetCopy", "(", "*", "TM", ".", "getMCSubtargetInfo", "(", ")", ")", ";", "NewSTI", ".", "setFeatureBits", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getFeatureBits", "(", ")", ")", ";", "Subtarget", "=", "&", "NewSTI", ";", "return", "AsmPrinter", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["CSKY", "CSKY"], "File": "CSKYAsmPrinter1", "Func": "runOnMachineFunction", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12551, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_legitimize_address_displacement", "(", "rtx", "*", "disp", ",", "rtx", "*", "offs", ",", "machine_mode", "mode", ")", "{", "if", "(", "(", "TARGET_FPU_DOUBLE", "&&", "mode", "==", "DFmode", ")", "||", "(", "TARGET_SH2E", "&&", "mode", "==", "SFmode", ")", ")", "return", "false", ";", "struct", "disp_adjust", "adj", "=", "sh_find_mov_disp_adjust", "(", "mode", ",", "INTVAL", "(", "*", "disp", ")", ")", ";", "if", "(", "adj", ".", "offset_adjust", "!=", "NULL_RTX", "&&", "adj", ".", "mov_disp", "!=", "NULL_RTX", ")", "{", "*", "disp", "=", "adj", ".", "mov_disp", ";", "*", "offs", "=", "adj", ".", "offset_adjust", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "DISP", "can", "be", "legitimized", "."], "TS_V_token": ["sh"], "File": "sh6", "Func": "sh_legitimize_address_displacement", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12552, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createExecutionDependencyFixPass", "(", "&", "X86", "::", "VR128RegClass", ")", ")", ";", "if", "(", "UseVZeroUpper", ")", "addPass", "(", "createX86IssueVZeroUpperPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createX86FixupBWInsts", "(", ")", ")", ";", "addPass", "(", "createX86PadShortFunctions", "(", ")", ")", ";", "addPass", "(", "createX86FixupLEAs", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["X86", "X86", "X86::VR128RegClass", "X86", "X86", "X86", "X86"], "File": "X86TargetMachine10", "Func": "addPreEmitPass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12553, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMRelocator", "::", "Result", "none", "(", "Relocation", "&", "pReloc", ",", "ARMRelocator", "&", "pParent", ")", "{", "return", "Relocator", "::", "OK", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "none", "of", "the", "bits", "are", "set", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMRelocator", "Func": "none", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12554, "Length": 20, "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": 12555, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachinePointerInfo", "Cpu0MachineFunctionInfo", "::", "callPtrInfo", "(", "const", "GlobalValue", "*", "GV", ")", "{", "return", "MachinePointerInfo", "(", "MF", ".", "getPSVManager", "(", ")", ".", "getGlobalValueCallEntry", "(", "GV", ")", ")", ";", "}", ""], "natrual_language": ["Create", "a", "MachinePointerInfo", "that", "has", "a", "GlobalValuePseudoSourceValue", "object", "representing", "a", "GOT", "entry", "for", "a", "global", "function", "."], "TS_V_token": ["Cpu0", "Cpu0"], "File": "Cpu0MachineFunction", "Func": "callPtrInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12556, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "return", ";", "case", "SP", "::", "GETPCX", ":", "LowerGETPCXAndEmitMCInsts", "(", "MI", ",", "getSubtargetInfo", "(", ")", ")", ";", "return", ";", "}", "MachineBasicBlock", "::", "const_instr_iterator", "I", "=", "MI", ";", "MachineBasicBlock", "::", "const_instr_iterator", "E", "=", "MI", "->", "getParent", "(", ")", "->", "instr_end", "(", ")", ";", "do", "{", "MCInst", "TmpInst", ";", "LowerSparcMachineInstrToMCInst", "(", "I", ",", "TmpInst", ",", "*", "this", ")", ";", "EmitToStreamer", "(", "OutStreamer", ",", "TmpInst", ")", ";", "}", "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": ["Sparc", "Sparc", "SP::GETPCX", "Sparc"], "File": "SparcAsmPrinter10", "Func": "EmitInstruction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12557, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "shl_sext_kind", "(", "rtx", "left_rtx", ",", "rtx", "size_rtx", ",", "int", "*", "costp", ")", "{", "int", "left", ",", "size", ",", "insize", ",", "ext", ";", "int", "cost", "=", "0", ",", "best_cost", ";", "int", "kind", ";", "left", "=", "INTVAL", "(", "left_rtx", ")", ";", "size", "=", "INTVAL", "(", "size_rtx", ")", ";", "insize", "=", "size", "-", "left", ";", "gcc_assert", "(", "insize", ">", "0", ")", ";", "kind", "=", "0", ";", "best_cost", "=", "ashl_lshr_seq", "[", "32", "-", "insize", "]", ".", "insn_count", "+", "ashl_lshr_seq", "[", "32", "-", "size", "]", ".", "insn_count", ";", "if", "(", "size", "<=", "16", ")", "{", "cost", "=", "ashl_lshr_seq", "[", "16", "-", "insize", "]", ".", "insn_count", "+", "1", "+", "ashl_lshr_seq", "[", "16", "-", "size", "]", ".", "insn_count", ";", "if", "(", "cost", "<", "best_cost", ")", "{", "kind", "=", "5", ";", "best_cost", "=", "cost", ";", "}", "}", "for", "(", "ext", "=", "16", ";", "ext", ">=", "insize", ";", "ext", "-=", "8", ")", "{", "if", "(", "ext", "<=", "size", ")", "{", "cost", "=", "ext_ashl_lshr_seq", "[", "ext", "-", "insize", "]", ".", "insn_count", "+", "1", "+", "ashl_lshr_seq", "[", "size", "-", "ext", "]", ".", "insn_count", ";", "if", "(", "cost", "<", "best_cost", ")", "{", "kind", "=", "ext", "/", "(", "unsigned", ")", "8", ";", "best_cost", "=", "cost", ";", "}", "}", "if", "(", "EXT_SHIFT_SIGNED", "(", "size", "-", "ext", ")", ")", "cost", "=", "ext_ashl_lshr_seq", "[", "ext", "-", "insize", "]", ".", "insn_count", "+", "ext_ashl_lshr_seq", "[", "size", "-", "ext", "]", ".", "insn_count", "+", "1", ";", "else", "if", "(", "size", "<=", "16", ")", "cost", "=", "ext_ashl_lshr_seq", "[", "ext", "-", "insize", "]", ".", "insn_count", "+", "1", "+", "ext_ashl_lshr_seq", "[", "size", ">", "ext", "?", "size", "-", "ext", ":", "ext", "-", "size", "]", ".", "insn_count", "+", "1", ";", "else", "continue", ";", "if", "(", "cost", "<", "best_cost", ")", "{", "kind", "=", "ext", "/", "(", "unsigned", ")", "8", "+", "2", ";", "best_cost", "=", "cost", ";", "}", "}", "if", "(", "insize", "<", "8", ")", "{", "cost", "=", "3", "+", "ashl_lshr_seq", "[", "left", "]", ".", "insn_count", ";", "if", "(", "cost", "<", "best_cost", ")", "{", "kind", "=", "6", ";", "best_cost", "=", "cost", ";", "}", "if", "(", "left", "<", "31", ")", "{", "cost", "=", "3", "+", "ext_ashl_lshr_seq", "[", "left", "+", "1", "]", ".", "insn_count", "+", "1", ";", "if", "(", "cost", "<", "best_cost", ")", "{", "kind", "=", "7", ";", "best_cost", "=", "cost", ";", "}", "}", "}", "if", "(", "TARGET_DYNSHIFT", ")", "{", "cost", "=", "ashl_lshr_seq", "[", "32", "-", "insize", "]", ".", "insn_count", "+", "1", "+", "SH_DYNAMIC_SHIFT_COST", ";", "if", "(", "cost", "<", "best_cost", ")", "{", "kind", "=", "0", ";", "best_cost", "=", "cost", ";", "}", "}", "if", "(", "costp", ")", "*", "costp", "=", "cost", ";", "return", "kind", ";", "}", ""], "natrual_language": ["Try", "to", "find", "a", "good", "way", "to", "implement", "the", "combiner", "pattern", "[", "(", "set", "(", "match_operand", ":", "SI", "0", "``", "register_operand", "''", "``", "=r", "''", ")", "(", "sign_extract", ":", "SI", "(", "ashift", ":", "SI", "(", "match_operand", ":", "SI", "1", "``", "register_operand", "''", "``", "r", "''", ")", "(", "match_operand", ":", "SI", "2", "``", "const_int_operand", "''", "``", "n", "''", ")", "(", "match_operand", ":", "SI", "3", "``", "const_int_operand", "''", "``", "n", "''", ")", "(", "const_int", "0", ")", ")", ")", "(", "clobber", "(", "reg", ":", "SI", "T_REG", ")", ")", "]", "LEFT_RTX", "is", "operand", "2", "in", "the", "above", "pattern", ",", "and", "SIZE_RTX", "is", "operand", "3.", "return", "0", "for", "simple", "left", "/", "right", "shift", "combination", ".", "return", "1", "for", "left", "shift", "/", "8", "bit", "sign", "extend", "/", "left", "shift", ".", "return", "2", "for", "left", "shift", "/", "16", "bit", "sign", "extend", "/", "left", "shift", ".", "return", "3", "for", "left", "shift", "/", "8", "bit", "sign", "extend", "/", "shift", "/", "sign", "extend", ".", "return", "4", "for", "left", "shift", "/", "16", "bit", "sign", "extend", "/", "shift", "/", "sign", "extend", ".", "return", "5", "for", "left", "shift", "/", "16", "bit", "sign", "extend", "/", "right", "shift", "return", "6", "for", "<", "8", "bit", "sign", "extend", "/", "left", "shift", ".", "return", "7", "for", "<", "8", "bit", "sign", "extend", "/", "left", "shift", "/", "single", "right", "shift", ".", "If", "COSTP", "is", "nonzero", ",", "assign", "the", "calculated", "cost", "to", "*", "COSTP", "."], "TS_V_token": ["sh", "0", "0", "0", "32", "32", "16", "16", "1", "16", "5", "16", "8", "1", "8", "1", "16", "1", "1", "8", "2", "8", "3", "6", "31", "3", "1", "1", "7", "32", "1", "0"], "File": "sh", "Func": "shl_sext_kind", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12558, "Length": 417, "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": ["X86"], "File": "X86MCExpr (2)", "Func": "classof", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12559, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZPassConfig", "::", "addPreSched2", "(", ")", "{", "if", "(", "getSystemZTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "hasLoadStoreOnCond", "(", ")", ")", "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": ["SystemZ", "SystemZ", "SystemZ"], "File": "SystemZTargetMachine (2)", "Func": "addPreSched2", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12560, "Length": 31, "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": 12561, "Length": 27, "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": 12562, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "canInsertSelect", "(", "const", "MachineBasicBlock", "&", "MBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Pred", ",", "unsigned", "TrueReg", ",", "unsigned", "FalseReg", ",", "int", "&", "CondCycles", ",", "int", "&", "TrueCycles", ",", "int", "&", "FalseCycles", ")", "const", "{", "if", "(", "!", "STI", ".", "hasLoadStoreOnCond", "(", ")", ")", "return", "false", ";", "if", "(", "Pred", ".", "size", "(", ")", "!=", "2", ")", "return", "false", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "RI", ".", "getCommonSubClass", "(", "MRI", ".", "getRegClass", "(", "TrueReg", ")", ",", "MRI", ".", "getRegClass", "(", "FalseReg", ")", ")", ";", "if", "(", "!", "RC", ")", "return", "false", ";", "if", "(", "(", "STI", ".", "hasLoadStoreOnCond2", "(", ")", "&&", "SystemZ", "::", "GRX32BitRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "||", "SystemZ", "::", "GR32BitRegClass", ".", "hasSubClassEq", "(", "RC", ")", "||", "SystemZ", "::", "GR64BitRegClass", ".", "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": ["SystemZ", "SystemZ", "2", "SystemZ::GRX32BitRegClass", "SystemZ::GR32BitRegClass", "SystemZ::GR64BitRegClass", "2", "2", "2"], "File": "SystemZInstrInfo (2)2", "Func": "canInsertSelect", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12563, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"Thumb IT blocks insertion pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"Thumb IT blocks insertion pass\""], "File": "Thumb2ITBlockPass (2)", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12564, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "make_resolver_func", "(", "const", "tree", "default_decl", ",", "const", "tree", "ifunc_alias_decl", ",", "basic_block", "*", "empty_bb", ")", "{", "tree", "decl", ",", "type", ",", "t", ";", "tree", "decl_name", "=", "clone_function_name", "(", "default_decl", ",", "\"resolver\"", ")", ";", "const", "char", "*", "resolver_name", "=", "IDENTIFIER_POINTER", "(", "decl_name", ")", ";", "type", "=", "build_function_type_list", "(", "ptr_type_node", ",", "NULL_TREE", ")", ";", "decl", "=", "build_fn_decl", "(", "resolver_name", ",", "type", ")", ";", "SET_DECL_ASSEMBLER_NAME", "(", "decl", ",", "decl_name", ")", ";", "DECL_NAME", "(", "decl", ")", "=", "decl_name", ";", "TREE_USED", "(", "decl", ")", "=", "1", ";", "DECL_ARTIFICIAL", "(", "decl", ")", "=", "1", ";", "DECL_IGNORED_P", "(", "decl", ")", "=", "1", ";", "TREE_PUBLIC", "(", "decl", ")", "=", "0", ";", "DECL_UNINLINABLE", "(", "decl", ")", "=", "1", ";", "DECL_EXTERNAL", "(", "decl", ")", "=", "0", ";", "DECL_EXTERNAL", "(", "ifunc_alias_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", ")", ")", ";", "}", "else", "TREE_PUBLIC", "(", "ifunc_alias_decl", ")", "=", "0", ";", "t", "=", "build_decl", "(", "UNKNOWN_LOCATION", ",", "RESULT_DECL", ",", "NULL_TREE", ",", "ptr_type_node", ")", ";", "DECL_CONTEXT", "(", "t", ")", "=", "decl", ";", "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", ",", "profile_count", "::", "uninitialized", "(", ")", ")", ";", "cgraph_node", "::", "add_new_function", "(", "decl", ",", "true", ")", ";", "symtab", "->", "call_cgraph_insertion_hooks", "(", "cgraph_node", "::", "get_create", "(", "decl", ")", ")", ";", "pop_cfun", "(", ")", ";", "gcc_assert", "(", "ifunc_alias_decl", "!=", "NULL", ")", ";", "DECL_ATTRIBUTES", "(", "ifunc_alias_decl", ")", "=", "make_attribute", "(", "\"ifunc\"", ",", "resolver_name", ",", "DECL_ATTRIBUTES", "(", "ifunc_alias_decl", ")", ")", ";", "cgraph_node", "::", "create_same_body_alias", "(", "ifunc_alias_decl", ",", "decl", ")", ";", "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", "\"resolver\"", "1", "1", "1", "0", "1", "0", "0", "0", "1", "0", "1", "1", "\"ifunc\""], "File": "i386-features", "Func": "make_resolver_func", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12565, "Length": 320, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "section", "*", "rs6000_elf_select_rtx_section", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "unsigned", "HOST_WIDE_INT", "align", ")", "{", "if", "(", "ASM_OUTPUT_SPECIAL_POOL_ENTRY_P", "(", "x", ",", "mode", ")", ")", "return", "toc_section", ";", "else", "return", "default_elf_select_rtx_section", "(", "mode", ",", "x", ",", "align", ")", ";", "}", ""], "natrual_language": ["A", "C", "statement", "or", "statements", "to", "switch", "to", "the", "appropriate", "section", "for", "output", "of", "RTX", "in", "mode", "MODE", ".", "You", "can", "assume", "that", "RTX", "is", "some", "kind", "of", "constant", "in", "RTL", ".", "The", "argument", "MODE", "is", "redundant", "except", "in", "the", "case", "of", "a", "`", "const_int", "'", "rtx", ".", "Select", "the", "section", "by", "calling", "`", "text_section", "'", "or", "one", "of", "the", "alternatives", "for", "other", "sections", ".", "Do", "not", "define", "this", "macro", "if", "you", "put", "all", "constants", "in", "the", "read-only", "data", "section", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_elf_select_rtx_section", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12566, "Length": 40, "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": 12567, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "sh_max_mov_insn_displacement", "(", "machine_mode", "mode", ",", "bool", "consider_sh2a", ")", "{", "const", "int", "disp_scale", "=", "consider_sh2a", "?", "(", "4095", "/", "15", ")", ":", "1", ";", "if", "(", "!", "consider_sh2a", "&&", "TARGET_FPU_ANY", "&&", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", ")", "return", "0", ";", "else", "{", "const", "int", "mov_insn_sz", "=", "mov_insn_size", "(", "mode", ",", "consider_sh2a", ")", ";", "const", "int", "mode_sz", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "int", "r", "=", "15", "*", "mov_insn_sz", "*", "disp_scale", ";", "if", "(", "mode_sz", ">", "mov_insn_sz", ")", "r", "-=", "mode_sz", "-", "mov_insn_sz", ";", "return", "r", ";", "}", "}", ""], "natrual_language": ["Determine", "the", "maximum", "possible", "displacement", "for", "a", "move", "insn", "for", "the", "specified", "mode", "."], "TS_V_token": ["sh", "4095", "15", "1", "0", "15"], "File": "sh", "Func": "sh_max_mov_insn_displacement", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12568, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "LowerCall", "(", "SDValue", "Chain", ",", "SDValue", "Callee", ",", "unsigned", "CallConv", ",", "bool", "isVarArg", ",", "bool", "isTailCall", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "{", "if", "(", "PPCSubTarget", ".", "isSVR4ABI", "(", ")", "&&", "!", "PPCSubTarget", ".", "isPPC64", "(", ")", ")", "{", "return", "LowerCall_SVR4", "(", "Chain", ",", "Callee", ",", "CallConv", ",", "isVarArg", ",", "isTailCall", ",", "Outs", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";", "}", "else", "{", "return", "LowerCall_Darwin", "(", "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": ["PowerPC", "PPC", "ISD::OutputArg", "ISD::InputArg", "PPC", "PPC", "PPC"], "File": "PPCISelLowering70", "Func": "LowerCall", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12569, "Length": 124, "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": 12570, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "aarch64_simd_vector_alignment", "(", "const_tree", "type", ")", "{", "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", "128"], "File": "aarch642", "Func": "aarch64_simd_vector_alignment", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12571, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "csky_function_arg_advance", "(", "cumulative_args_t", "pcum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "pcum", "=", "get_cumulative_args", "(", "pcum_v", ")", ";", "int", "*", "reg", "=", "&", "pcum", "->", "reg", ";", "machine_mode", "mode", "=", "arg", ".", "mode", ";", "int", "param_size", "=", "csky_num_arg_regs", "(", "mode", ",", "arg", ".", "type", ",", "pcum", "->", "is_stdarg", ")", ";", "int", "param_regs_nums", "=", "CSKY_NPARM_REGS", ";", "if", "(", "FUNCTION_VARG_MODE_P", "(", "mode", ")", "&&", "!", "pcum", "->", "is_stdarg", ")", "{", "reg", "=", "&", "pcum", "->", "freg", ";", "param_regs_nums", "=", "CSKY_NPARM_FREGS", ";", "}", "if", "(", "*", "reg", "+", "param_size", ">", "param_regs_nums", ")", "*", "reg", "=", "param_regs_nums", ";", "else", "*", "reg", "+=", "param_size", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_ARG_ADVANCE", "."], "TS_V_token": ["csky"], "File": "csky", "Func": "csky_function_arg_advance", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12572, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "dump_minipool", "(", "rtx_insn", "*", "scan", ")", "{", "Mnode", "*", "mp", ";", "Mnode", "*", "nmp", ";", "int", "align64", "=", "0", ";", "if", "(", "ARM_DOUBLEWORD_ALIGN", ")", "for", "(", "mp", "=", "minipool_vector_head", ";", "mp", "!=", "NULL", ";", "mp", "=", "mp", "->", "next", ")", "if", "(", "mp", "->", "refcount", ">", "0", "&&", "mp", "->", "fix_size", ">=", "8", ")", "{", "align64", "=", "1", ";", "break", ";", "}", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\";; Emitting minipool after insn %u; address %ld; align %d (bytes)\\n\"", ",", "INSN_UID", "(", "scan", ")", ",", "(", "unsigned", "long", ")", "minipool_barrier", "->", "address", ",", "align64", "?", "8", ":", "4", ")", ";", "scan", "=", "emit_label_after", "(", "gen_label_rtx", "(", ")", ",", "scan", ")", ";", "scan", "=", "emit_insn_after", "(", "align64", "?", "gen_align_8", "(", ")", ":", "gen_align_4", "(", ")", ",", "scan", ")", ";", "scan", "=", "emit_label_after", "(", "minipool_vector_label", ",", "scan", ")", ";", "for", "(", "mp", "=", "minipool_vector_head", ";", "mp", "!=", "NULL", ";", "mp", "=", "nmp", ")", "{", "if", "(", "mp", "->", "refcount", ">", "0", ")", "{", "if", "(", "dump_file", ")", "{", "fprintf", "(", "dump_file", ",", "\";; Offset %u, min %ld, max %ld \"", ",", "(", "unsigned", ")", "mp", "->", "offset", ",", "(", "unsigned", "long", ")", "mp", "->", "min_address", ",", "(", "unsigned", "long", ")", "mp", "->", "max_address", ")", ";", "arm_print_value", "(", "dump_file", ",", "mp", "->", "value", ")", ";", "fputc", "(", "'\\n'", ",", "dump_file", ")", ";", "}", "switch", "(", "GET_MODE_SIZE", "(", "mp", "->", "mode", ")", ")", "{", "case", "1", ":", "scan", "=", "emit_insn_after", "(", "gen_consttable_1", "(", "mp", "->", "value", ")", ",", "scan", ")", ";", "break", ";", "case", "2", ":", "scan", "=", "emit_insn_after", "(", "gen_consttable_2", "(", "mp", "->", "value", ")", ",", "scan", ")", ";", "break", ";", "case", "4", ":", "scan", "=", "emit_insn_after", "(", "gen_consttable_4", "(", "mp", "->", "value", ")", ",", "scan", ")", ";", "break", ";", "case", "8", ":", "scan", "=", "emit_insn_after", "(", "gen_consttable_8", "(", "mp", "->", "value", ")", ",", "scan", ")", ";", "break", ";", "case", "16", ":", "scan", "=", "emit_insn_after", "(", "gen_consttable_16", "(", "mp", "->", "value", ")", ",", "scan", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "nmp", "=", "mp", "->", "next", ";", "free", "(", "mp", ")", ";", "}", "minipool_vector_head", "=", "minipool_vector_tail", "=", "NULL", ";", "scan", "=", "emit_insn_after", "(", "gen_consttable_end", "(", ")", ",", "scan", ")", ";", "scan", "=", "emit_barrier_after", "(", "scan", ")", ";", "}", ""], "natrual_language": ["Output", "the", "literal", "table"], "TS_V_token": ["arm", "0", "0", "8", "1", "\";; Emitting minipool after insn %u; address %ld; align %d (bytes)\\n\"", "8", "4", "0", "\";; Offset %u, min %ld, max %ld \"", "1", "2", "4", "8", "16"], "File": "arm4", "Func": "dump_minipool", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12573, "Length": 357, "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": 12574, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "VETargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "const", "SDLoc", "&", "DL", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "assert", "(", "!", "IsVarArg", "&&", "\"TODO implement var args\"", ")", ";", "assert", "(", "Ins", ".", "empty", "(", ")", "&&", "\"TODO implement input arguments\"", ")", ";", "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": ["VE", "VE", "ISD::InputArg", "\"TODO implement var args\"", "\"TODO implement input arguments\""], "File": "VEISelLowering16", "Func": "LowerFormalArguments", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12575, "Length": 67, "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": 12576, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "nds32_legitimize_argument", "(", "enum", "insn_code", "icode", ",", "int", "opnum", ",", "rtx", "arg", ")", "{", "enum", "machine_mode", "mode", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "opnum", "]", ".", "mode", ";", "if", "(", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "opnum", "]", ".", "predicate", ")", "(", "arg", ",", "mode", ")", ")", "return", "arg", ";", "else", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", "&&", "CONST_INT_P", "(", "arg", ")", ")", "{", "int", "nunits", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "int", "i", ",", "shift", "=", "0", ";", "rtvec", "v", "=", "rtvec_alloc", "(", "nunits", ")", ";", "int", "val", "=", "INTVAL", "(", "arg", ")", ";", "enum", "machine_mode", "val_mode", "=", "(", "mode", "==", "V4QImode", ")", "?", "QImode", ":", "HImode", ";", "int", "shift_acc", "=", "(", "val_mode", "==", "QImode", ")", "?", "8", ":", "16", ";", "int", "mask", "=", "(", "val_mode", "==", "QImode", ")", "?", "0xff", ":", "0xffff", ";", "int", "tmp_val", "=", "val", ";", "if", "(", "TARGET_BIG_ENDIAN", ")", "for", "(", "i", "=", "0", ";", "i", "<", "nunits", ";", "i", "++", ")", "{", "tmp_val", "=", "(", "val", ">>", "shift", ")", "&", "mask", ";", "RTVEC_ELT", "(", "v", ",", "nunits", "-", "i", "-", "1", ")", "=", "gen_int_mode", "(", "tmp_val", ",", "val_mode", ")", ";", "shift", "+=", "shift_acc", ";", "}", "else", "for", "(", "i", "=", "0", ";", "i", "<", "nunits", ";", "i", "++", ")", "{", "tmp_val", "=", "(", "val", ">>", "shift", ")", "&", "mask", ";", "RTVEC_ELT", "(", "v", ",", "i", ")", "=", "gen_int_mode", "(", "tmp_val", ",", "val_mode", ")", ";", "shift", "+=", "shift_acc", ";", "}", "return", "copy_to_mode_reg", "(", "mode", ",", "gen_rtx_CONST_VECTOR", "(", "mode", ",", "v", ")", ")", ";", "}", "else", "{", "rtx", "tmp_rtx", "=", "gen_reg_rtx", "(", "mode", ")", ";", "convert_move", "(", "tmp_rtx", ",", "arg", ",", "false", ")", ";", "return", "tmp_rtx", ";", "}", "}", ""], "natrual_language": ["Given", "that", "ARG", "is", "being", "passed", "as", "operand", "OPNUM", "to", "instruction", "ICODE", ",", "check", "whether", "ARG", "satisfies", "the", "operand", "'s", "constraints", ".", "If", "it", "does", "n't", ",", "copy", "ARG", "to", "a", "temporary", "register", "and", "return", "that", ".", "Otherwise", "return", "ARG", "itself", "."], "TS_V_token": ["nds32", "0", "8", "16", "0xff", "0xffff", "0", "1", "0"], "File": "nds32-intrinsic", "Func": "nds32_legitimize_argument", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12577, "Length": 279, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmBackend", "::", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCInstFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "return", "int64_t", "(", "Value", ")", "!=", "int64_t", "(", "int8_t", "(", "Value", ")", ")", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["X86", "X86"], "File": "X86AsmBackend20", "Func": "fixupNeedsRelaxation", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12578, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isPredicated", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "if", "(", "MI", "->", "isBundle", "(", ")", ")", "{", "MachineBasicBlock", "::", "const_instr_iterator", "I", "=", "MI", ";", "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)", "Func": "isPredicated", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12579, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_pad_arg_upward", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "const_tree", "type", ")", "{", "if", "(", "!", "TARGET_AAPCS_BASED", ")", "return", "DEFAULT_FUNCTION_ARG_PADDING", "(", "mode", ",", "type", ")", "==", "upward", ";", "if", "(", "type", "&&", "BYTES_BIG_ENDIAN", "&&", "INTEGRAL_TYPE_P", "(", "type", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["For", "use", "by", "FUNCTION_ARG_PADDING", "(", "MODE", ",", "TYPE", ")", ".", "Return", "true", "if", "an", "argument", "passed", "on", "the", "stack", "should", "be", "padded", "upwards", ",", "i.e", ".", "if", "the", "least-significant", "byte", "has", "useful", "data", ".", "For", "legacy", "APCS", "ABIs", "we", "use", "the", "default", ".", "For", "AAPCS", "based", "ABIs", "small", "aggregate", "types", "are", "placed", "in", "the", "lowest", "memory", "address", "."], "TS_V_token": ["arm"], "File": "arm4", "Func": "arm_pad_arg_upward", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12580, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "HOST_WIDE_INT", "aarch64_asan_shadow_offset", "(", "void", ")", "{", "if", "(", "TARGET_ILP32", ")", "return", "(", "HOST_WIDE_INT_1", "<<", "29", ")", ";", "else", "return", "(", "HOST_WIDE_INT_1", "<<", "36", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_ASAN_SHADOW_OFFSET", "hook", "."], "TS_V_token": ["aarch64", "29", "36"], "File": "aarch64", "Func": "aarch64_asan_shadow_offset", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12581, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_is_costly_dependence", "(", "dep_t", "dep", ",", "int", "cost", ",", "int", "distance", ")", "{", "rtx", "insn", ";", "rtx", "next", ";", "rtx", "load_mem", ",", "str_mem", ";", "if", "(", "rs6000_sched_costly_dep", "==", "no_dep_costly", ")", "return", "false", ";", "if", "(", "rs6000_sched_costly_dep", "==", "all_deps_costly", ")", "return", "true", ";", "insn", "=", "DEP_PRO", "(", "dep", ")", ";", "next", "=", "DEP_CON", "(", "dep", ")", ";", "if", "(", "rs6000_sched_costly_dep", "==", "store_to_load_dep_costly", "&&", "is_load_insn", "(", "next", ",", "&", "load_mem", ")", "&&", "is_store_insn", "(", "insn", ",", "&", "str_mem", ")", ")", "return", "true", ";", "if", "(", "rs6000_sched_costly_dep", "==", "true_store_to_load_dep_costly", "&&", "is_load_insn", "(", "next", ",", "&", "load_mem", ")", "&&", "is_store_insn", "(", "insn", ",", "&", "str_mem", ")", "&&", "DEP_TYPE", "(", "dep", ")", "==", "REG_DEP_TRUE", "&&", "mem_locations_overlap", "(", "str_mem", ",", "load_mem", ")", ")", "return", "true", ";", "if", "(", "rs6000_sched_costly_dep", "<=", "max_dep_latency", "&&", "(", "(", "cost", "-", "distance", ")", ">=", "(", "int", ")", "rs6000_sched_costly_dep", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "whether", "the", "dependence", "between", "INSN", "and", "NEXT", "is", "considered", "costly", "by", "the", "given", "target", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_is_costly_dependence", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12582, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_init_builtin_rsqrt", "(", "void", ")", "{", "tree", "fndecl", "=", "NULL", ";", "tree", "ftype", "=", "NULL", ";", "tree", "V2SF_type_node", "=", "build_vector_type", "(", "float_type_node", ",", "2", ")", ";", "tree", "V2DF_type_node", "=", "build_vector_type", "(", "double_type_node", ",", "2", ")", ";", "tree", "V4SF_type_node", "=", "build_vector_type", "(", "float_type_node", ",", "4", ")", ";", "struct", "builtin_decls_data", "{", "tree", "type_node", ";", "const", "char", "*", "builtin_name", ";", "int", "function_code", ";", "}", ";", "builtin_decls_data", "bdda", "[", "]", "=", "{", "{", "double_type_node", ",", "\"__builtin_aarch64_rsqrt_df\"", ",", "AARCH64_BUILTIN_RSQRT_DF", "}", ",", "{", "float_type_node", ",", "\"__builtin_aarch64_rsqrt_sf\"", ",", "AARCH64_BUILTIN_RSQRT_SF", "}", ",", "{", "V2DF_type_node", ",", "\"__builtin_aarch64_rsqrt_v2df\"", ",", "AARCH64_BUILTIN_RSQRT_V2DF", "}", ",", "{", "V2SF_type_node", ",", "\"__builtin_aarch64_rsqrt_v2sf\"", ",", "AARCH64_BUILTIN_RSQRT_V2SF", "}", ",", "{", "V4SF_type_node", ",", "\"__builtin_aarch64_rsqrt_v4sf\"", ",", "AARCH64_BUILTIN_RSQRT_V4SF", "}", "}", ";", "builtin_decls_data", "*", "bdd", "=", "bdda", ";", "builtin_decls_data", "*", "bdd_end", "=", "bdd", "+", "(", "sizeof", "(", "bdda", ")", "/", "sizeof", "(", "builtin_decls_data", ")", ")", ";", "for", "(", ";", "bdd", "<", "bdd_end", ";", "bdd", "++", ")", "{", "ftype", "=", "build_function_type_list", "(", "bdd", "->", "type_node", ",", "bdd", "->", "type_node", ",", "NULL_TREE", ")", ";", "tree", "attrs", "=", "aarch64_get_attributes", "(", "FLAG_FP", ",", "TYPE_MODE", "(", "bdd", "->", "type_node", ")", ")", ";", "fndecl", "=", "aarch64_general_add_builtin", "(", "bdd", "->", "builtin_name", ",", "ftype", ",", "bdd", "->", "function_code", ",", "attrs", ")", ";", "aarch64_builtin_decls", "[", "bdd", "->", "function_code", "]", "=", "fndecl", ";", "}", "}", ""], "natrual_language": ["Add", "builtins", "for", "reciprocal", "square", "root", "."], "TS_V_token": ["aarch64", "2", "2", "4", "\"__builtin_aarch64_rsqrt_df\"", "\"__builtin_aarch64_rsqrt_sf\"", "\"__builtin_aarch64_rsqrt_v2df\"", "\"__builtin_aarch64_rsqrt_v2sf\"", "\"__builtin_aarch64_rsqrt_v4sf\""], "File": "aarch64-builtins", "Func": "aarch64_init_builtin_rsqrt", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12583, "Length": 202, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rx_print_operand_address", "(", "FILE", "*", "file", ",", "machine_mode", ",", "rtx", "addr", ")", "{", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "REG", ":", "fprintf", "(", "file", ",", "\"[\"", ")", ";", "rx_print_operand", "(", "file", ",", "addr", ",", "0", ")", ";", "fprintf", "(", "file", ",", "\"]\"", ")", ";", "break", ";", "case", "PRE_DEC", ":", "fprintf", "(", "file", ",", "\"[-\"", ")", ";", "rx_print_operand", "(", "file", ",", "XEXP", "(", "addr", ",", "0", ")", ",", "0", ")", ";", "fprintf", "(", "file", ",", "\"]\"", ")", ";", "break", ";", "case", "POST_INC", ":", "fprintf", "(", "file", ",", "\"[\"", ")", ";", "rx_print_operand", "(", "file", ",", "XEXP", "(", "addr", ",", "0", ")", ",", "0", ")", ";", "fprintf", "(", "file", ",", "\"+]\"", ")", ";", "break", ";", "case", "PLUS", ":", "{", "rtx", "arg1", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "rtx", "arg2", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "rtx", "base", ",", "index", ";", "if", "(", "REG_P", "(", "arg1", ")", "&&", "RTX_OK_FOR_BASE", "(", "arg1", ",", "true", ")", ")", "base", "=", "arg1", ",", "index", "=", "arg2", ";", "else", "if", "(", "REG_P", "(", "arg2", ")", "&&", "RTX_OK_FOR_BASE", "(", "arg2", ",", "true", ")", ")", "base", "=", "arg2", ",", "index", "=", "arg1", ";", "else", "{", "rx_print_operand", "(", "file", ",", "arg1", ",", "0", ")", ";", "fprintf", "(", "file", ",", "\" + \"", ")", ";", "rx_print_operand", "(", "file", ",", "arg2", ",", "0", ")", ";", "break", ";", "}", "if", "(", "REG_P", "(", "index", ")", "||", "GET_CODE", "(", "index", ")", "==", "MULT", ")", "{", "fprintf", "(", "file", ",", "\"[\"", ")", ";", "rx_print_operand", "(", "file", ",", "index", ",", "'A'", ")", ";", "fprintf", "(", "file", ",", "\",\"", ")", ";", "}", "else", "{", "rx_print_operand", "(", "file", ",", "index", ",", "'A'", ")", ";", "fprintf", "(", "file", ",", "\"[\"", ")", ";", "}", "rx_print_operand", "(", "file", ",", "base", ",", "0", ")", ";", "fprintf", "(", "file", ",", "\"]\"", ")", ";", "break", ";", "}", "case", "CONST", ":", "if", "(", "GET_CODE", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "==", "UNSPEC", ")", "{", "addr", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "gcc_assert", "(", "XINT", "(", "addr", ",", "1", ")", "==", "UNSPEC_CONST", ")", ";", "addr", "=", "XVECEXP", "(", "addr", ",", "0", ",", "0", ")", ";", "gcc_assert", "(", "CONST_INT_P", "(", "addr", ")", ")", ";", "fprintf", "(", "file", ",", "\"#\"", ")", ";", "output_addr_const", "(", "file", ",", "addr", ")", ";", "break", ";", "}", "fprintf", "(", "file", ",", "\"#\"", ")", ";", "output_addr_const", "(", "file", ",", "XEXP", "(", "addr", ",", "0", ")", ")", ";", "break", ";", "case", "UNSPEC", ":", "addr", "=", "XVECEXP", "(", "addr", ",", "0", ",", "0", ")", ";", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":", "fprintf", "(", "file", ",", "\"#\"", ")", ";", "default", ":", "output_addr_const", "(", "file", ",", "addr", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["A", "C", "compound", "statement", "to", "output", "to", "stdio", "stream", "FILE", "the", "assembler", "syntax", "for", "an", "instruction", "operand", "that", "is", "a", "memory", "reference", "whose", "address", "is", "ADDR", "."], "TS_V_token": ["rx", "\"[\"", "0", "\"]\"", "\"[-\"", "0", "0", "\"]\"", "\"[\"", "0", "0", "\"+]\"", "0", "1", "0", "\" + \"", "0", "\"[\"", "\",\"", "\"[\"", "0", "\"]\"", "0", "0", "1", "0", "0", "\"#\"", "\"#\"", "0", "0", "0", "\"#\""], "File": "rx", "Func": "rx_print_operand_address", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12584, "Length": 433, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isZExtFree", "(", "SDValue", "Val", ",", "EVT", "VT2", ")", "const", "{", "EVT", "VT1", "=", "Val", ".", "getValueType", "(", ")", ";", "if", "(", "isZExtFree", "(", "VT1", ",", "VT2", ")", ")", "{", "return", "true", ";", "}", "if", "(", "Val", ".", "getOpcode", "(", ")", "!=", "ISD", "::", "LOAD", ")", "return", "false", ";", "return", "(", "VT1", ".", "isSimple", "(", ")", "&&", "!", "VT1", ".", "isVector", "(", ")", "&&", "VT1", ".", "isInteger", "(", ")", "&&", "VT2", ".", "isSimple", "(", ")", "&&", "!", "VT2", ".", "isVector", "(", ")", "&&", "VT2", ".", "isInteger", "(", ")", "&&", "VT1", ".", "getSizeInBits", "(", ")", "<=", "32", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "zero-extending", "the", "specific", "node", "Val", "to", "type", "VT2", "is", "free", "(", "either", "because", "it", "'s", "implicitly", "zero-extended", "such", "as", "ARM", "ldrb", "/", "ldrh", "or", "because", "it", "'s", "folded", "such", "as", "X86", "zero-extending", "loads", ")", "."], "TS_V_token": ["AArch64", "AArch64", "ISD::LOAD", "32"], "File": "AArch64ISelLowering (2)", "Func": "isZExtFree", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12585, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "if", "(", "STI", ".", "isTargetIOS", "(", ")", "||", "STI", ".", "isTargetWatchOS", "(", ")", ")", "return", "true", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "(", "(", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "&&", "MFI", ".", "hasCalls", "(", ")", ")", "||", "RegInfo", "->", "needsStackRealignment", "(", "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": "ARMFrameLowering39", "Func": "hasFP", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12586, "Length": 99, "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": ["Mips"], "File": "MipsDisassembler14", "Func": "getRegInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12587, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "aarch64_reduc_type", "(", "vec_info", "*", "vinfo", ",", "stmt_vec_info", "stmt_info", ")", "{", "if", "(", "loop_vec_info", "loop_vinfo", "=", "dyn_cast", "<", "loop_vec_info", ">", "(", "vinfo", ")", ")", "if", "(", "STMT_VINFO_REDUC_DEF", "(", "stmt_info", ")", ")", "{", "stmt_vec_info", "reduc_info", "=", "info_for_reduction", "(", "loop_vinfo", ",", "stmt_info", ")", ";", "return", "int", "(", "STMT_VINFO_REDUC_TYPE", "(", "reduc_info", ")", ")", ";", "}", "return", "-", "1", ";", "}", ""], "natrual_language": ["If", "STMT_INFO", "describes", "a", "reduction", ",", "return", "the", "type", "of", "reduction", "it", "describes", ",", "otherwise", "return", "-1", "."], "TS_V_token": ["aarch64", "1"], "File": "aarch641", "Func": "aarch64_reduc_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12588, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCAsmParser", "::", "validateTargetOperandClass", "(", "MCParsedAsmOperand", "&", "AsmOp", ",", "unsigned", "Kind", ")", "{", "int64_t", "ImmVal", ";", "switch", "(", "Kind", ")", "{", "case", "MCK_0", ":", "ImmVal", "=", "0", ";", "break", ";", "case", "MCK_1", ":", "ImmVal", "=", "1", ";", "break", ";", "case", "MCK_2", ":", "ImmVal", "=", "2", ";", "break", ";", "case", "MCK_3", ":", "ImmVal", "=", "3", ";", "break", ";", "default", ":", "return", "Match_InvalidOperand", ";", "}", "PPCOperand", "&", "Op", "=", "static_cast", "<", "PPCOperand", "&", ">", "(", "AsmOp", ")", ";", "if", "(", "Op", ".", "isImm", "(", ")", "&&", "Op", ".", "getImm", "(", ")", "==", "ImmVal", ")", "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": ["PowerPC", "PPC", "0", "1", "2", "3", "PPC", "PPC"], "File": "PPCAsmParser2", "Func": "validateTargetOperandClass", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12589, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_frame_pointer_required", "(", "void", ")", "{", "if", "(", "cfun", "->", "machine", "->", "accesses_prev_frame", ")", "return", "true", ";", "if", "(", "SUBTARGET_FRAME_POINTER_REQUIRED", ")", "return", "true", ";", "if", "(", "TARGET_32BIT_MS_ABI", "&&", "cfun", "->", "calls_setjmp", ")", "return", "true", ";", "if", "(", "TARGET_64BIT_MS_ABI", "&&", "ix86_get_frame_size", "(", ")", ">", "SEH_MAX_FRAME_SIZE", ")", "return", "true", ";", "if", "(", "TARGET_64BIT_MS_ABI", "&&", "ix86_incoming_stack_boundary", "<", "128", ")", "return", "true", ";", "if", "(", "TARGET_OMIT_LEAF_FRAME_POINTER", "&&", "(", "!", "crtl", "->", "is_leaf", "||", "ix86_current_function_calls_tls_descriptor", ")", ")", "return", "true", ";", "if", "(", "crtl", "->", "profile", "&&", "!", "flag_fentry", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Value", "should", "be", "nonzero", "if", "functions", "must", "have", "frame", "pointers", ".", "Zero", "means", "the", "frame", "pointer", "need", "not", "be", "set", "up", "(", "and", "parms", "may", "be", "accessed", "via", "the", "stack", "pointer", ")", "in", "functions", "that", "seem", "suitable", "."], "TS_V_token": ["i386", "128"], "File": "i386", "Func": "ix86_frame_pointer_required", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12590, "Length": 92, "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": 12591, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "csky_output_pic_addr_const", "(", "FILE", "*", "stream", ",", "rtx", "x", ",", "int", "code", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "!=", "UNSPEC", ")", "return", ";", "if", "(", "UNSPEC_TLS", "==", "XINT", "(", "x", ",", "1", ")", ")", "{", "return", ";", "}", "csky_print_operand", "(", "stream", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ",", "code", ")", ";", "switch", "(", "XINT", "(", "x", ",", "1", ")", ")", "{", "case", "UNSPEC_PIC_SYMBOL_GOTOFF", ":", "fputs", "(", "\"@GOTOFF\"", ",", "stream", ")", ";", "break", ";", "case", "UNSPEC_PIC_SYMBOL_PLT", ":", "fputs", "(", "\"@PLT\"", ",", "stream", ")", ";", "break", ";", "case", "UNSPEC_PIC_SYMBOL_GOT", ":", "fputs", "(", "\"@GOT\"", ",", "stream", ")", ";", "break", ";", "case", "UNSPEC_PIC_SYMBOL_GOTPC", ":", "fputs", "(", "\"@GOTPC\"", ",", "stream", ")", ";", "break", ";", "case", "UNSPEC_PIC_SYMBOL_BSR", ":", "break", ";", "default", ":", "break", ";", "}", "}", ""], "natrual_language": ["Print", "the", "UNSPEC", "operand", "in", "X", "to", "the", "STREAM", "."], "TS_V_token": ["csky", "1", "0", "0", "1", "\"@GOTOFF\"", "\"@PLT\"", "\"@GOT\"", "\"@GOTPC\""], "File": "csky", "Func": "csky_output_pic_addr_const", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12592, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "PPCDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "if", "(", "!", "GlobalBaseReg", ")", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "TM", ".", "getInstrInfo", "(", ")", ";", "MachineBasicBlock", "&", "FirstMBB", "=", "MF", "->", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "FirstMBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", ";", "if", "(", "PPCLowering", ".", "getPointerTy", "(", ")", "==", "MVT", "::", "i32", ")", "{", "GlobalBaseReg", "=", "RegInfo", "->", "createVirtualRegister", "(", "PPC", "::", "GPRCRegisterClass", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MovePCtoLR", ")", ",", "PPC", "::", "LR", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MFLR", ")", ",", "GlobalBaseReg", ")", ";", "}", "else", "{", "GlobalBaseReg", "=", "RegInfo", "->", "createVirtualRegister", "(", "PPC", "::", "G8RCRegisterClass", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MovePCtoLR8", ")", ",", "PPC", "::", "LR8", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MFLR8", ")", ",", "GlobalBaseReg", ")", ";", "}", "}", "return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "PPCLowering", ".", "getPointerTy", "(", ")", ")", ".", "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::GPRCRegisterClass", "PPC::MovePCtoLR", "PPC::LR", "PPC::MFLR", "PPC::G8RCRegisterClass", "PPC::MovePCtoLR8", "PPC::LR8", "PPC::MFLR8", "PPC"], "File": "PPCISelDAGToDAG12", "Func": "getGlobalBaseReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12593, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "ix86_generate_version_dispatcher_body", "(", "void", "*", "node_p", ")", "{", "tree", "resolver_decl", ";", "basic_block", "empty_bb", ";", "tree", "default_ver_decl", ";", "struct", "cgraph_node", "*", "versn", ";", "struct", "cgraph_node", "*", "node", ";", "struct", "cgraph_function_version_info", "*", "node_version_info", "=", "NULL", ";", "struct", "cgraph_function_version_info", "*", "versn_info", "=", "NULL", ";", "node", "=", "(", "cgraph_node", "*", ")", "node_p", ";", "node_version_info", "=", "node", "->", "function_version", "(", ")", ";", "gcc_assert", "(", "node", "->", "dispatcher_function", "&&", "node_version_info", "!=", "NULL", ")", ";", "if", "(", "node_version_info", "->", "dispatcher_resolver", ")", "return", "node_version_info", "->", "dispatcher_resolver", ";", "default_ver_decl", "=", "node_version_info", "->", "next", "->", "this_node", "->", "decl", ";", "node", "->", "definition", "=", "false", ";", "resolver_decl", "=", "make_resolver_func", "(", "default_ver_decl", ",", "node", "->", "decl", ",", "&", "empty_bb", ")", ";", "node_version_info", "->", "dispatcher_resolver", "=", "resolver_decl", ";", "push_cfun", "(", "DECL_STRUCT_FUNCTION", "(", "resolver_decl", ")", ")", ";", "auto_vec", "<", "tree", ",", "2", ">", "fn_ver_vec", ";", "for", "(", "versn_info", "=", "node_version_info", "->", "next", ";", "versn_info", ";", "versn_info", "=", "versn_info", "->", "next", ")", "{", "versn", "=", "versn_info", "->", "this_node", ";", "if", "(", "DECL_VINDEX", "(", "versn", "->", "decl", ")", ")", "sorry", "(", "\"virtual function multiversioning not supported\"", ")", ";", "fn_ver_vec", ".", "safe_push", "(", "versn", "->", "decl", ")", ";", "}", "dispatch_function_versions", "(", "resolver_decl", ",", "&", "fn_ver_vec", ",", "&", "empty_bb", ")", ";", "cgraph_edge", "::", "rebuild_edges", "(", ")", ";", "pop_cfun", "(", ")", ";", "return", "resolver_decl", ";", "}", ""], "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": ["i386", "2", "\"virtual function multiversioning not supported\""], "File": "i386-features", "Func": "ix86_generate_version_dispatcher_body", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12594, "Length": 203, "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": 12595, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "load_got_register", "(", "void", ")", "{", "if", "(", "!", "global_offset_table_rtx", ")", "global_offset_table_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "GLOBAL_OFFSET_TABLE_REGNUM", ")", ";", "if", "(", "TARGET_VXWORKS_RTP", ")", "emit_insn", "(", "gen_vxworks_load_got", "(", ")", ")", ";", "else", "{", "if", "(", "!", "got_helper_rtx", ")", "{", "char", "name", "[", "32", "]", ";", "get_pc_thunk_name", "(", "name", ",", "GLOBAL_OFFSET_TABLE_REGNUM", ")", ";", "got_helper_rtx", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "ggc_strdup", "(", "name", ")", ")", ";", "}", "emit_insn", "(", "gen_load_pcrel_sym", "(", "global_offset_table_rtx", ",", "sparc_got", "(", ")", ",", "got_helper_rtx", ",", "GEN_INT", "(", "GLOBAL_OFFSET_TABLE_REGNUM", ")", ")", ")", ";", "}", "emit_use", "(", "global_offset_table_rtx", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "load", "the", "GOT", "register", "."], "TS_V_token": ["sparc", "32"], "File": "sparc4", "Func": "load_got_register", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12596, "Length": 91, "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": 12597, "Length": 248, "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": 12598, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "addExpr", "(", "MCInst", "&", "Inst", ",", "const", "MCExpr", "*", "Expr", ")", "const", "{", "if", "(", "Expr", "==", "0", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "0", ")", ")", ";", "else", "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": ["Sparc", "0", "0"], "File": "SparcAsmParser11", "Func": "addExpr", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12599, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "recombine_lvx_pattern", "(", "rtx_insn", "*", "insn", ",", "del_info", "*", "to_delete", ")", "{", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "body", ")", "==", "SET", "&&", "GET_CODE", "(", "SET_SRC", "(", "body", ")", ")", "==", "VEC_SELECT", "&&", "GET_CODE", "(", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ")", "==", "MEM", ")", ";", "rtx", "mem", "=", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ";", "rtx", "base_reg", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "rtx", "and_operation", "=", "find_alignment_op", "(", "insn", ",", "base_reg", ")", ";", "if", "(", "and_operation", "!=", "0", ")", "{", "df_ref", "def", ";", "struct", "df_insn_info", "*", "insn_info", "=", "DF_INSN_INFO_GET", "(", "insn", ")", ";", "FOR_EACH_INSN_INFO_DEF", "(", "def", ",", "insn_info", ")", "{", "struct", "df_link", "*", "link", "=", "DF_REF_CHAIN", "(", "def", ")", ";", "if", "(", "!", "link", "||", "link", "->", "next", ")", "break", ";", "rtx_insn", "*", "swap_insn", "=", "DF_REF_INSN", "(", "link", "->", "ref", ")", ";", "if", "(", "!", "insn_is_swap_p", "(", "swap_insn", ")", "||", "insn_is_load_p", "(", "swap_insn", ")", "||", "insn_is_store_p", "(", "swap_insn", ")", ")", "break", ";", "to_delete", "[", "INSN_UID", "(", "swap_insn", ")", "]", ".", "replace", "=", "true", ";", "to_delete", "[", "INSN_UID", "(", "swap_insn", ")", "]", ".", "replace_insn", "=", "swap_insn", ";", "XEXP", "(", "mem", ",", "0", ")", "=", "and_operation", ";", "SET_SRC", "(", "body", ")", "=", "mem", ";", "INSN_CODE", "(", "insn", ")", "=", "-", "1", ";", "df_insn_rescan", "(", "insn", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"lvx opportunity found at %d\\n\"", ",", "INSN_UID", "(", "insn", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["If", "INSN", "is", "the", "load", "for", "an", "lvx", "pattern", ",", "put", "it", "in", "canonical", "form", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "0", "1", "\"lvx opportunity found at %d\\n\""], "File": "rs60006", "Func": "recombine_lvx_pattern", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12600, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VEFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "RegInfo", "->", "needsStackRealignment", "(", "MF", ")", "||", "MFI", ".", "hasVarSizedObjects", "(", ")", "||", "MFI", ".", "isFrameAddressTaken", "(", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["VE", "VE"], "File": "VEFrameLowering", "Func": "hasFP", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12601, "Length": 72, "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": 12602, "Length": 28, "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": 12603, "Length": 152, "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", "||", "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_P8_VECTOR", "&&", "(", "mode", "==", "SImode", ")", ")", "return", "1", ";", "if", "(", "TARGET_P9_VECTOR", "&&", "(", "mode", "==", "QImode", "||", "mode", "==", "HImode", ")", ")", "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", ")", ";", "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": ["rs6000", "1", "1", "0", "16", "0", "2", "0", "1", "1", "1", "1", "1", "0"], "File": "rs60007", "Func": "rs6000_hard_regno_mode_ok_uncached", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12604, "Length": 360, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "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", "=", "Old", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "Amount", "!=", "0", ")", "{", "unsigned", "Align", "=", "getStackAlignment", "(", ")", ";", "Amount", "=", "(", "Amount", "+", "Align", "-", "1", ")", "/", "Align", "*", "Align", ";", "unsigned", "Opc", "=", "Old", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "ARM", "::", "ADJCALLSTACKDOWN", "||", "Opc", "==", "ARM", "::", "tADJCALLSTACKDOWN", ")", "{", "emitSPUpdate", "(", "MBB", ",", "I", ",", "TII", ",", "dl", ",", "*", "RegInfo", ",", "-", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Opc", "==", "ARM", "::", "ADJCALLSTACKUP", "||", "Opc", "==", "ARM", "::", "tADJCALLSTACKUP", ")", ";", "emitSPUpdate", "(", "MBB", ",", "I", ",", "TII", ",", "dl", ",", "*", "RegInfo", ",", "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": ["ARM", "0", "0", "1", "ARM::ADJCALLSTACKDOWN", "ARM::tADJCALLSTACKDOWN", "ARM::ADJCALLSTACKUP", "ARM::tADJCALLSTACKUP"], "File": "Thumb1FrameLowering (2)", "Func": "eliminateCallFramePseudoInstr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12605, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isExtractSubvectorCheap", "(", "EVT", "ResVT", ",", "EVT", "SrcVT", ",", "unsigned", "Index", ")", "const", "{", "if", "(", "!", "isOperationLegalOrCustom", "(", "ISD", "::", "EXTRACT_SUBVECTOR", ",", "ResVT", ")", ")", "return", "false", ";", "return", "(", "Index", "==", "0", "||", "Index", "==", "ResVT", ".", "getVectorNumElements", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "EXTRACT_SUBVECTOR", "is", "cheap", "for", "this", "result", "type", "with", "this", "index", "."], "TS_V_token": ["ARM", "ARM", "ISD::EXTRACT_SUBVECTOR", "0"], "File": "ARMISelLowering (2)5", "Func": "isExtractSubvectorCheap", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12606, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mmix_asm_output_aligned_common", "(", "FILE", "*", "stream", ",", "const", "char", "*", "name", ",", "int", "size", ",", "int", "align", ")", "{", "fprintf", "(", "stream", ",", "\"\\t.comm\\t\"", ")", ";", "assemble_name", "(", "stream", ",", "name", ")", ";", "fprintf", "(", "stream", ",", "\",%u,%u ! mmixal-incompatible COMMON\\n\"", ",", "size", ",", "align", "/", "BITS_PER_UNIT", ")", ";", "}", ""], "natrual_language": ["ASM_OUTPUT_ALIGNED_COMMON", "."], "TS_V_token": ["mmix", "\"\\t.comm\\t\"", "\",%u,%u ! mmixal-incompatible COMMON\\n\""], "File": "mmix", "Func": "mmix_asm_output_aligned_common", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12607, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_popcount", "(", "rtx", "dst", ",", "rtx", "src", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "dst", ")", ";", "rtx", "tmp1", ",", "tmp2", ";", "if", "(", "TARGET_POPCNTD", ")", "{", "if", "(", "mode", "==", "SImode", ")", "emit_insn", "(", "gen_popcntdsi2", "(", "dst", ",", "src", ")", ")", ";", "else", "emit_insn", "(", "gen_popcntddi2", "(", "dst", ",", "src", ")", ")", ";", "return", ";", "}", "tmp1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "if", "(", "mode", "==", "SImode", ")", "{", "emit_insn", "(", "gen_popcntbsi2", "(", "tmp1", ",", "src", ")", ")", ";", "tmp2", "=", "expand_mult", "(", "SImode", ",", "tmp1", ",", "GEN_INT", "(", "0x01010101", ")", ",", "NULL_RTX", ",", "0", ")", ";", "tmp2", "=", "force_reg", "(", "SImode", ",", "tmp2", ")", ";", "emit_insn", "(", "gen_lshrsi3", "(", "dst", ",", "tmp2", ",", "GEN_INT", "(", "24", ")", ")", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_popcntbdi2", "(", "tmp1", ",", "src", ")", ")", ";", "tmp2", "=", "expand_mult", "(", "DImode", ",", "tmp1", ",", "GEN_INT", "(", "(", "HOST_WIDE_INT", ")", "0x01010101", "<<", "32", "|", "0x01010101", ")", ",", "NULL_RTX", ",", "0", ")", ";", "tmp2", "=", "force_reg", "(", "DImode", ",", "tmp2", ")", ";", "emit_insn", "(", "gen_lshrdi3", "(", "dst", ",", "tmp2", ",", "GEN_INT", "(", "56", ")", ")", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "popcount", "intrinsic", "on", "TARGET_POPCNTB", "(", "Power5", ")", "and", "TARGET_POPCNTD", "(", "Power7", ")", "targets", ".", "DST", "is", "the", "target", ",", "and", "SRC", "is", "the", "argument", "operand", "."], "TS_V_token": ["rs6000", "0x01010101", "0", "24", "0x01010101", "32", "0x01010101", "0", "56"], "File": "rs6000", "Func": "rs6000_emit_popcount", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12608, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "uint64_t", ">", "X86MCInstrAnalysis", "::", "evaluateMemoryOperandAddress", "(", "const", "MCInst", "&", "Inst", ",", "uint64_t", "Addr", ",", "uint64_t", "Size", ")", "const", "{", "const", "MCInstrDesc", "&", "MCID", "=", "Info", "->", "get", "(", "Inst", ".", "getOpcode", "(", ")", ")", ";", "int", "MemOpStart", "=", "X86II", "::", "getMemoryOperandNo", "(", "MCID", ".", "TSFlags", ")", ";", "if", "(", "MemOpStart", "==", "-", "1", ")", "return", "None", ";", "MemOpStart", "+=", "X86II", "::", "getOperandBias", "(", "MCID", ")", ";", "const", "MCOperand", "&", "SegReg", "=", "Inst", ".", "getOperand", "(", "MemOpStart", "+", "X86", "::", "AddrSegmentReg", ")", ";", "const", "MCOperand", "&", "BaseReg", "=", "Inst", ".", "getOperand", "(", "MemOpStart", "+", "X86", "::", "AddrBaseReg", ")", ";", "const", "MCOperand", "&", "IndexReg", "=", "Inst", ".", "getOperand", "(", "MemOpStart", "+", "X86", "::", "AddrIndexReg", ")", ";", "const", "MCOperand", "&", "ScaleAmt", "=", "Inst", ".", "getOperand", "(", "MemOpStart", "+", "X86", "::", "AddrScaleAmt", ")", ";", "const", "MCOperand", "&", "Disp", "=", "Inst", ".", "getOperand", "(", "MemOpStart", "+", "X86", "::", "AddrDisp", ")", ";", "if", "(", "SegReg", ".", "getReg", "(", ")", "!=", "0", "||", "IndexReg", ".", "getReg", "(", ")", "!=", "0", "||", "ScaleAmt", ".", "getImm", "(", ")", "!=", "1", "||", "!", "Disp", ".", "isImm", "(", ")", ")", "return", "None", ";", "if", "(", "BaseReg", ".", "getReg", "(", ")", "==", "X86", "::", "RIP", ")", "return", "Addr", "+", "Size", "+", "Disp", ".", "getImm", "(", ")", ";", "return", "None", ";", "}", ""], "natrual_language": ["Given", "an", "instruction", "tries", "to", "get", "the", "address", "of", "a", "memory", "operand", "."], "TS_V_token": ["X86", "X86", "X86II::getMemoryOperandNo", "1", "X86II::getOperandBias", "X86::AddrSegmentReg", "X86::AddrBaseReg", "X86::AddrIndexReg", "X86::AddrScaleAmt", "X86::AddrDisp", "0", "0", "1", "X86::RIP"], "File": "X86MCTargetDesc21", "Func": "evaluateMemoryOperandAddress", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12609, "Length": 211, "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": ["OR1K"], "File": "OR1KAsmBackend1", "Func": "mayNeedRelaxation", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12610, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiMemAluCombiner", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "DisableMemAluCombiner", ")", "return", "false", ";", "TII", "=", "MF", ".", "getSubtarget", "<", "LanaiSubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "Modified", "|=", "combineMemAluInBasicBlock", "(", "&", "MBB", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai"], "File": "LanaiMemAluCombiner3", "Func": "runOnMachineFunction", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12611, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "F2003fTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBR_CC", "(", "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", "::", "JumpTable", ":", "return", "LowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "default", ":", "llvm_unreachable", "(", "\"unimplemented operand\"", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["F2003f", "F2003f", "ISD::SELECT_CC", "ISD::BR_CC", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::ExternalSymbol", "ISD::JumpTable", "\"unimplemented operand\""], "File": "F2003fISelLowering", "Func": "LowerOperation", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12612, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isFunctionSafeToOutlineFrom", "(", "MachineFunction", "&", "MF", ")", "const", "{", "return", "MF", ".", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "Attribute", "::", "NoRedZone", ")", "&&", "!", "MF", ".", "getFunction", "(", ")", "->", "hasAddressTaken", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "function", "can", "safely", "be", "outlined", "from", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64InstrInfo35", "Func": "isFunctionSafeToOutlineFrom", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12613, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_emit_stack_push_multiple", "(", "unsigned", "Rb", ",", "unsigned", "Re", ",", "bool", "save_fp_p", ",", "bool", "save_gp_p", ",", "bool", "save_lp_p", ",", "bool", "vaarg_p", ")", "{", "unsigned", "regno", ";", "int", "extra_count", ";", "int", "num_use_regs", ";", "int", "par_index", ";", "int", "offset", ";", "rtx", "reg", ";", "rtx", "mem", ";", "rtx", "push_rtx", ";", "rtx", "adjust_sp_rtx", ";", "rtx", "parallel_insn", ";", "rtx", "dwarf", ";", "extra_count", "=", "0", ";", "if", "(", "save_fp_p", ")", "extra_count", "++", ";", "if", "(", "save_gp_p", ")", "extra_count", "++", ";", "if", "(", "save_lp_p", ")", "extra_count", "++", ";", "if", "(", "Rb", "==", "SP_REGNUM", "&&", "Re", "==", "SP_REGNUM", ")", "num_use_regs", "=", "extra_count", ";", "else", "num_use_regs", "=", "Re", "-", "Rb", "+", "1", "+", "extra_count", ";", "parallel_insn", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "num_use_regs", "+", "1", ")", ")", ";", "par_index", "=", "0", ";", "offset", "=", "-", "(", "num_use_regs", "*", "4", ")", ";", "for", "(", "regno", "=", "Rb", ";", "regno", "<=", "Re", ";", "regno", "++", ")", "{", "if", "(", "regno", "==", "SP_REGNUM", ")", "break", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "push_rtx", "=", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "0", ",", "par_index", ")", "=", "push_rtx", ";", "RTX_FRAME_RELATED_P", "(", "push_rtx", ")", "=", "1", ";", "offset", "=", "offset", "+", "4", ";", "par_index", "++", ";", "}", "if", "(", "save_fp_p", ")", "{", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "FP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "push_rtx", "=", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "0", ",", "par_index", ")", "=", "push_rtx", ";", "RTX_FRAME_RELATED_P", "(", "push_rtx", ")", "=", "1", ";", "offset", "=", "offset", "+", "4", ";", "par_index", "++", ";", "}", "if", "(", "save_gp_p", ")", "{", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "GP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "push_rtx", "=", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "0", ",", "par_index", ")", "=", "push_rtx", ";", "RTX_FRAME_RELATED_P", "(", "push_rtx", ")", "=", "1", ";", "offset", "=", "offset", "+", "4", ";", "par_index", "++", ";", "}", "if", "(", "save_lp_p", ")", "{", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "LP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "push_rtx", "=", "gen_rtx_SET", "(", "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", "(", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "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", ";", "if", "(", "vaarg_p", ")", "{", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_ADJUST_CFA", ",", "copy_rtx", "(", "adjust_sp_rtx", ")", ",", "NULL_RTX", ")", ";", "REG_NOTES", "(", "parallel_insn", ")", "=", "dwarf", ";", "}", "}", ""], "natrual_language": ["Function", "to", "create", "a", "parallel", "rtx", "pattern", "which", "presents", "stack", "push", "multiple", "behavior", ".", "The", "overall", "concept", "are", ":", "``", "push", "registers", "to", "memory", "''", ",", "``", "adjust", "stack", "pointer", "''", "."], "TS_V_token": ["nds32", "0", "1", "1", "0", "4", "0", "1", "4", "0", "1", "4", "0", "1", "4", "0", "1", "4", "4", "0", "1", "1"], "File": "nds32", "Func": "nds32_emit_stack_push_multiple", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12614, "Length": 503, "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": 12615, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "rest_of_insert_bti", "(", "void", ")", "{", "timevar_push", "(", "TV_MACH_DEP", ")", ";", "rtx", "bti_insn", ";", "rtx_insn", "*", "insn", ";", "basic_block", "bb", ";", "bb", "=", "0", ";", "FOR_EACH_BB_FN", "(", "bb", ",", "cfun", ")", "{", "for", "(", "insn", "=", "BB_HEAD", "(", "bb", ")", ";", "insn", "!=", "NEXT_INSN", "(", "BB_END", "(", "bb", ")", ")", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "if", "(", "LABEL_P", "(", "insn", ")", "&&", "(", "LABEL_PRESERVE_P", "(", "insn", ")", "||", "bb", "->", "flags", "&", "BB_NON_LOCAL_GOTO_TARGET", ")", ")", "{", "bti_insn", "=", "aarch_gen_bti_j", "(", ")", ";", "emit_insn_after", "(", "bti_insn", ",", "insn", ")", ";", "continue", ";", "}", "if", "(", "JUMP_P", "(", "insn", ")", ")", "{", "rtx_jump_table_data", "*", "table", ";", "if", "(", "tablejump_p", "(", "insn", ",", "NULL", ",", "&", "table", ")", ")", "{", "rtvec", "vec", "=", "table", "->", "get_labels", "(", ")", ";", "int", "j", ";", "rtx_insn", "*", "label", ";", "for", "(", "j", "=", "GET_NUM_ELEM", "(", "vec", ")", "-", "1", ";", "j", ">=", "0", ";", "--", "j", ")", "{", "label", "=", "as_a", "<", "rtx_insn", "*", ">", "(", "XEXP", "(", "RTVEC_ELT", "(", "vec", ",", "j", ")", ",", "0", ")", ")", ";", "rtx_insn", "*", "next", "=", "next_nonnote_nondebug_insn", "(", "label", ")", ";", "if", "(", "aarch_bti_j_insn_p", "(", "next", ")", ")", "continue", ";", "bti_insn", "=", "aarch_gen_bti_j", "(", ")", ";", "emit_insn_after", "(", "bti_insn", ",", "label", ")", ";", "}", "}", "}", "if", "(", "CALL_P", "(", "insn", ")", "&&", "(", "find_reg_note", "(", "insn", ",", "REG_SETJMP", ",", "NULL", ")", ")", ")", "{", "bti_insn", "=", "aarch_gen_bti_j", "(", ")", ";", "emit_insn_after", "(", "bti_insn", ",", "insn", ")", ";", "continue", ";", "}", "}", "}", "if", "(", "!", "cgraph_node", "::", "get", "(", "cfun", "->", "decl", ")", "->", "only_called_directly_p", "(", ")", ")", "{", "bb", "=", "ENTRY_BLOCK_PTR_FOR_FN", "(", "cfun", ")", "->", "next_bb", ";", "insn", "=", "BB_HEAD", "(", "bb", ")", ";", "if", "(", "!", "aarch_pac_insn_p", "(", "get_first_nonnote_insn", "(", ")", ")", ")", "{", "bti_insn", "=", "aarch_gen_bti_c", "(", ")", ";", "emit_insn_before", "(", "bti_insn", ",", "insn", ")", ";", "}", "}", "timevar_pop", "(", "TV_MACH_DEP", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["This", "is", "implemented", "as", "a", "late", "RTL", "pass", "that", "runs", "before", "branch", "shortening", "and", "does", "the", "following", "."], "TS_V_token": ["arm", "0", "1", "0", "0", "0"], "File": "aarch-bti-insert", "Func": "rest_of_insert_bti", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12616, "Length": 318, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_debug_can_change_mode_class", "(", "machine_mode", "from", ",", "machine_mode", "to", ",", "reg_class_t", "rclass", ")", "{", "bool", "ret", "=", "rs6000_can_change_mode_class", "(", "from", ",", "to", ",", "rclass", ")", ";", "fprintf", "(", "stderr", ",", "\"rs6000_can_change_mode_class, return %s, from = %s, \"", "\"to = %s, rclass = %s\\n\"", ",", "ret", "?", "\"true\"", ":", "\"false\"", ",", "GET_MODE_NAME", "(", "from", ")", ",", "GET_MODE_NAME", "(", "to", ")", ",", "reg_class_names", "[", "rclass", "]", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Debug", "version", "of", "rs6000_can_change_mode_class", "."], "TS_V_token": ["powerpcspe", "\"rs6000_can_change_mode_class, return %s, from = %s, \"", "\"to = %s, rclass = %s\\n\"", "\"true\"", "\"false\""], "File": "powerpcspe", "Func": "rs6000_debug_can_change_mode_class", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12617, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "MipsDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "unsigned", "GlobalBaseReg", "=", "MF", "->", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", "->", "getGlobalBaseReg", "(", ")", ";", "return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "getTargetLowering", "(", ")", "->", "getPointerTy", "(", ")", ")", ".", "getNode", "(", ")", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsISelDAGToDAG13", "Func": "getGlobalBaseReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12618, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "pa_attr_length_millicode_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", ")", "{", "if", "(", "!", "TARGET_LONG_CALLS", "&&", "distance", "<", "7600000", ")", "return", "8", ";", "return", "20", ";", "}", "else", "if", "(", "TARGET_PORTABLE_RUNTIME", ")", "return", "24", ";", "else", "{", "if", "(", "!", "TARGET_LONG_CALLS", "&&", "distance", "<", "MAX_PCREL17F_OFFSET", ")", "return", "8", ";", "if", "(", "!", "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", "pa_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", "8", "12", "24"], "File": "pa", "Func": "pa_attr_length_millicode_call", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12619, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SparcInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "SP", "::", "STri", "||", "MI", "->", "getOpcode", "(", ")", "==", "SP", "::", "STFri", "||", "MI", "->", "getOpcode", "(", ")", "==", "SP", "::", "STDFri", ")", "{", "if", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "isFI", "(", ")", "&&", "MI", "->", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", "&&", "MI", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "==", "0", ")", "{", "FrameIndex", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getIndex", "(", ")", ";", "return", "MI", "->", "getOperand", "(", "2", ")", ".", "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": ["Sparc", "Sparc", "SP::STri", "SP::STFri", "SP::STDFri", "0", "1", "1", "0", "0", "2", "0"], "File": "SparcInstrInfo16", "Func": "isStoreToStackSlot", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12620, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "x86_print_call_or_nop", "(", "FILE", "*", "file", ",", "const", "char", "*", "target", ")", "{", "if", "(", "flag_nop_mcount", ")", "fprintf", "(", "file", ",", "\"1:\\tnopl 0x00(%%eax,%%eax,1)\\n\"", ")", ";", "else", "fprintf", "(", "file", ",", "\"1:\\tcall\\t%s\\n\"", ",", "target", ")", ";", "}", ""], "natrual_language": ["Print", "call", "to", "TARGET", "to", "FILE", "."], "TS_V_token": ["i386", "\"1:\\tnopl 0x00(%%eax,%%eax,1)\\n\"", "\"1:\\tcall\\t%s\\n\""], "File": "i3864", "Func": "x86_print_call_or_nop", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12621, "Length": 36, "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", "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": "aarch642", "Func": "aarch64_split_simd_move", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12622, "Length": 146, "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", ":", "case", "VAR_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"], "File": "winnt", "Func": "i386_pe_encode_section_info", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12623, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "LanaiInstrInfo", "::", "isLoadFromStackSlotPostFE", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "Lanai", "::", "LDW_RI", ")", "{", "unsigned", "Reg", ";", "if", "(", "(", "Reg", "=", "isLoadFromStackSlot", "(", "MI", ",", "FrameIndex", ")", ")", ")", "return", "Reg", ";", "const", "MachineMemOperand", "*", "Dummy", ";", "return", "hasLoadFromStackSlot", "(", "MI", ",", "Dummy", ",", "FrameIndex", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["isLoadFromStackSlotPostFE", "-", "Check", "for", "post-frame", "ptr", "elimination", "stack", "locations", "as", "well", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai::LDW_RI", "0"], "File": "LanaiInstrInfo18", "Func": "isLoadFromStackSlotPostFE", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12624, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "reg_unused_after", "(", "rtx", "reg", ",", "rtx", "insn", ")", "{", "enum", "rtx_code", "code", ",", "prev_code", "=", "UNKNOWN", ";", "while", "(", "(", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", ")", "{", "if", "(", "prev_code", "==", "CALL_INSN", "&&", "call_used_regs", "[", "REGNO", "(", "reg", ")", "]", ")", "return", "1", ";", "code", "=", "GET_CODE", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "insn", ")", "==", "CODE_LABEL", ")", "return", "1", ";", "if", "(", "INSN_P", "(", "insn", ")", ")", "{", "rtx", "set", "=", "single_set", "(", "insn", ")", ";", "int", "in_src", "=", "set", "&&", "reg_overlap_mentioned_p", "(", "reg", ",", "SET_SRC", "(", "set", ")", ")", ";", "if", "(", "set", "&&", "in_src", ")", "return", "0", ";", "if", "(", "set", "&&", "reg_overlap_mentioned_p", "(", "reg", ",", "SET_DEST", "(", "set", ")", ")", ")", "return", "1", ";", "if", "(", "set", "==", "0", "&&", "reg_overlap_mentioned_p", "(", "reg", ",", "PATTERN", "(", "insn", ")", ")", ")", "return", "0", ";", "}", "prev_code", "=", "code", ";", "}", "return", "1", ";", "}", ""], "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": ["sparc", "1", "1", "0", "1", "0", "0", "1"], "File": "sparc3", "Func": "reg_unused_after", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12625, "Length": 152, "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", ")", "{", "tree", "expr", "=", "MEM_EXPR", "(", "this_arg", ")", ";", "if", "(", "expr", ")", "mark_addressable", "(", "expr", ")", ";", "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", ")", ")", ";", "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", "2", "2", "0", "0", "1", "1", "3", "0", "0", "1", "1", "2", "2", "0", "2", "0", "0", "1", "1", "1", "0", "0"], "File": "sparc4", "Func": "emit_soft_tfmode_libcall", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12626, "Length": 420, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SparcInstrInfo", "::", "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", ")", "&&", "\"Sparc branch conditions should have one component!\"", ")", ";", "assert", "(", "!", "BytesAdded", "&&", "\"code size not handled\"", ")", ";", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "assert", "(", "!", "FBB", "&&", "\"Unconditional branch with multiple successors!\"", ")", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "SP", "::", "BA", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "return", "1", ";", "}", "unsigned", "CC", "=", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ";", "if", "(", "IsIntegerCC", "(", "CC", ")", ")", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "SP", "::", "BCOND", ")", ")", ".", "addMBB", "(", "TBB", ")", ".", "addImm", "(", "CC", ")", ";", "else", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "SP", "::", "FBCOND", ")", ")", ".", "addMBB", "(", "TBB", ")", ".", "addImm", "(", "CC", ")", ";", "if", "(", "!", "FBB", ")", "return", "1", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "SP", "::", "BA", ")", ")", ".", "addMBB", "(", "FBB", ")", ";", "return", "2", ";", "}", ""], "natrual_language": ["Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "."], "TS_V_token": ["Sparc", "Sparc", "\"insertBranch must not be told to insert a fallthrough\"", "1", "0", "\"Sparc branch conditions should have one component!\"", "\"code size not handled\"", "\"Unconditional branch with multiple successors!\"", "SP::BA", "1", "0", "SP::BCOND", "SP::FBCOND", "1", "SP::BA", "2"], "File": "SparcInstrInfo1", "Func": "insertBranch", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12627, "Length": 215, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_split_stack_space_check", "(", "rtx", "size", ",", "rtx", "label", ")", "{", "rtx", "sp", "=", "gen_rtx_REG", "(", "Pmode", ",", "STACK_POINTER_REGNUM", ")", ";", "rtx", "limit", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "requested", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "cmp", "=", "gen_reg_rtx", "(", "CCUNSmode", ")", ";", "rtx", "jump", ";", "emit_insn", "(", "gen_load_split_stack_limit", "(", "limit", ")", ")", ";", "if", "(", "CONST_INT_P", "(", "size", ")", ")", "emit_insn", "(", "gen_add3_insn", "(", "requested", ",", "sp", ",", "GEN_INT", "(", "-", "INTVAL", "(", "size", ")", ")", ")", ")", ";", "else", "{", "size", "=", "force_reg", "(", "Pmode", ",", "size", ")", ";", "emit_move_insn", "(", "requested", ",", "gen_rtx_MINUS", "(", "Pmode", ",", "sp", ",", "size", ")", ")", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "cmp", ",", "gen_rtx_COMPARE", "(", "CCUNSmode", ",", "requested", ",", "limit", ")", ")", ")", ";", "jump", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "gen_rtx_GEU", "(", "VOIDmode", ",", "cmp", ",", "const0_rtx", ")", ",", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "label", ")", ",", "pc_rtx", ")", ";", "jump", "=", "emit_jump_insn", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "jump", ")", ")", ";", "JUMP_LABEL", "(", "jump", ")", "=", "label", ";", "}", ""], "natrual_language": ["Emit", "-fsplit-stack", "dynamic", "stack", "allocation", "space", "check", "."], "TS_V_token": ["rs6000"], "File": "rs6000-logue", "Func": "rs6000_split_stack_space_check", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12628, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "functionArgumentNeedsConsecutiveRegisters", "(", "Type", "*", "Ty", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ")", "const", "{", "if", "(", "getEffectiveCallingConv", "(", "CallConv", ",", "isVarArg", ")", "!=", "CallingConv", "::", "ARM_AAPCS_VFP", ")", "return", "false", ";", "HABaseType", "Base", "=", "HA_UNKNOWN", ";", "uint64_t", "Members", "=", "0", ";", "bool", "IsHA", "=", "isHomogeneousAggregate", "(", "Ty", ",", "Base", ",", "Members", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"isHA: \"", "<<", "IsHA", "<<", "\" \"", ";", "Ty", "->", "dump", "(", ")", ")", ";", "bool", "IsIntArray", "=", "Ty", "->", "isArrayTy", "(", ")", "&&", "Ty", "->", "getArrayElementType", "(", ")", "->", "isIntegerTy", "(", ")", ";", "return", "IsHA", "||", "IsIntArray", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "an", "argument", "of", "type", "Ty", "needs", "to", "be", "passed", "in", "a", "contiguous", "block", "of", "registers", "in", "calling", "convention", "CallConv", "."], "TS_V_token": ["ARM", "ARM", "ARM", "0", "\"isHA: \"", "\" \""], "File": "ARMISelLowering (2)2", "Func": "functionArgumentNeedsConsecutiveRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12629, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sparc_struct_value_rtx", "(", "tree", "fndecl", ",", "int", "incoming", ")", "{", "if", "(", "TARGET_ARCH64", ")", "return", "NULL_RTX", ";", "else", "{", "rtx", "mem", ";", "if", "(", "incoming", ")", "mem", "=", "gen_frame_mem", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "frame_pointer_rtx", ",", "STRUCT_VALUE_OFFSET", ")", ")", ";", "else", "mem", "=", "gen_frame_mem", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "STRUCT_VALUE_OFFSET", ")", ")", ";", "if", "(", "incoming", "==", "2", "&&", "sparc_std_struct_return", "&&", "TYPE_SIZE_UNIT", "(", "TREE_TYPE", "(", "fndecl", ")", ")", "&&", "TREE_CODE", "(", "TYPE_SIZE_UNIT", "(", "TREE_TYPE", "(", "fndecl", ")", ")", ")", "==", "INTEGER_CST", ")", "{", "rtx", "ret_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "RETURN_ADDR_REGNUM", ")", ";", "rtx", "scratch", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx_code_label", "*", "endlab", "=", "gen_label_rtx", "(", ")", ";", "tree", "size", "=", "TYPE_SIZE_UNIT", "(", "TREE_TYPE", "(", "fndecl", ")", ")", ";", "rtx", "size_rtx", "=", "GEN_INT", "(", "TREE_INT_CST_LOW", "(", "size", ")", "&", "0xfff", ")", ";", "rtx", "temp_val", "=", "assign_stack_local", "(", "Pmode", ",", "TREE_INT_CST_LOW", "(", "size", ")", ",", "0", ")", ";", "emit_move_insn", "(", "scratch", ",", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "ret_reg", ",", "8", ")", ")", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "ret_reg", ",", "ret_reg", ",", "GEN_INT", "(", "4", ")", ")", ")", ";", "emit_cmp_and_jump_insns", "(", "scratch", ",", "size_rtx", ",", "EQ", ",", "const0_rtx", ",", "SImode", ",", "0", ",", "endlab", ")", ";", "emit_insn", "(", "gen_sub3_insn", "(", "ret_reg", ",", "ret_reg", ",", "GEN_INT", "(", "4", ")", ")", ")", ";", "emit_move_insn", "(", "mem", ",", "XEXP", "(", "temp_val", ",", "0", ")", ")", ";", "emit_label", "(", "endlab", ")", ";", "}", "return", "mem", ";", "}", "}", ""], "natrual_language": ["Handle", "the", "TARGET_STRUCT_VALUE", "target", "hook", ".", "Return", "where", "to", "find", "the", "structure", "return", "value", "address", "."], "TS_V_token": ["sparc", "2", "0xfff", "0", "8", "4", "0", "4", "0"], "File": "sparc", "Func": "sparc_struct_value_rtx", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12630, "Length": 244, "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": 12631, "Length": 215, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isReg", "(", ")", "const", "override", "{", "return", "Kind", "==", "Register", ";", "}", ""], "natrual_language": ["isReg", "-", "Is", "this", "a", "register", "operand", "?"], "TS_V_token": ["CSKY"], "File": "CSKYAsmParser", "Func": "isReg", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12632, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineTraceMetrics", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineTraceMetrics", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AArch64"], "File": "AArch64StorePairSuppress", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12633, "Length": 43, "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": 12634, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isAbsolute", "(", "SDValue", "CmpOp", ",", "SDValue", "Pos", ",", "SDValue", "Neg", ")", "{", "return", "(", "Neg", ".", "getOpcode", "(", ")", "==", "ISD", "::", "SUB", "&&", "Neg", ".", "getOperand", "(", "0", ")", ".", "getOpcode", "(", ")", "==", "ISD", "::", "Constant", "&&", "cast", "<", "ConstantSDNode", ">", "(", "Neg", ".", "getOperand", "(", "0", ")", ")", "->", "getZExtValue", "(", ")", "==", "0", "&&", "Neg", ".", "getOperand", "(", "1", ")", "==", "Pos", "&&", "(", "Pos", "==", "CmpOp", "||", "(", "Pos", ".", "getOpcode", "(", ")", "==", "ISD", "::", "SIGN_EXTEND", "&&", "Pos", ".", "getOperand", "(", "0", ")", "==", "CmpOp", ")", ")", ")", ";", "}", ""], "natrual_language": ["Is", "this", "an", "absolute", "(", "as", "opposed", "to", "relocatable", ")", "value", "."], "TS_V_token": ["SystemZ", "ISD::SUB", "0", "ISD::Constant", "0", "0", "1", "ISD::SIGN_EXTEND", "0"], "File": "SystemZISelLowering (2)1", "Func": "isAbsolute", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12635, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "*", "aarch64_output_sve_mov_immediate", "(", "rtx", "const_vector", ")", "{", "static", "char", "templ", "[", "40", "]", ";", "struct", "simd_immediate_info", "info", ";", "char", "element_char", ";", "bool", "is_valid", "=", "aarch64_simd_valid_immediate", "(", "const_vector", ",", "&", "info", ")", ";", "gcc_assert", "(", "is_valid", ")", ";", "element_char", "=", "sizetochar", "(", "GET_MODE_BITSIZE", "(", "info", ".", "elt_mode", ")", ")", ";", "if", "(", "info", ".", "step", ")", "{", "snprintf", "(", "templ", ",", "sizeof", "(", "templ", ")", ",", "\"index\\t%%0.%c, #\"", "HOST_WIDE_INT_PRINT_DEC", "\", #\"", "HOST_WIDE_INT_PRINT_DEC", ",", "element_char", ",", "INTVAL", "(", "info", ".", "value", ")", ",", "INTVAL", "(", "info", ".", "step", ")", ")", ";", "return", "templ", ";", "}", "if", "(", "GET_MODE_CLASS", "(", "info", ".", "elt_mode", ")", "==", "MODE_FLOAT", ")", "{", "if", "(", "aarch64_float_const_zero_rtx_p", "(", "info", ".", "value", ")", ")", "info", ".", "value", "=", "GEN_INT", "(", "0", ")", ";", "else", "{", "const", "int", "buf_size", "=", "20", ";", "char", "float_buf", "[", "buf_size", "]", "=", "{", "}", ";", "real_to_decimal_for_mode", "(", "float_buf", ",", "CONST_DOUBLE_REAL_VALUE", "(", "info", ".", "value", ")", ",", "buf_size", ",", "buf_size", ",", "1", ",", "info", ".", "elt_mode", ")", ";", "snprintf", "(", "templ", ",", "sizeof", "(", "templ", ")", ",", "\"fmov\\t%%0.%c, #%s\"", ",", "element_char", ",", "float_buf", ")", ";", "return", "templ", ";", "}", "}", "snprintf", "(", "templ", ",", "sizeof", "(", "templ", ")", ",", "\"mov\\t%%0.%c, #\"", "HOST_WIDE_INT_PRINT_DEC", ",", "element_char", ",", "INTVAL", "(", "info", ".", "value", ")", ")", ";", "return", "templ", ";", "}", ""], "natrual_language": ["Return", "the", "output", "string", "to", "use", "for", "moving", "immediate", "CONST_VECTOR", "into", "an", "SVE", "register", "."], "TS_V_token": ["aarch64", "40", "\"index\\t%%0.%c, #\"", "\", #\"", "0", "20", "1", "\"fmov\\t%%0.%c, #%s\"", "\"mov\\t%%0.%c, #\""], "File": "aarch645", "Func": "aarch64_output_sve_mov_immediate", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12636, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "dispatch_group", "get_insn_group", "(", "rtx_insn", "*", "insn", ")", "{", "enum", "dispatch_group", "group", "=", "get_mem_group", "(", "insn", ")", ";", "if", "(", "group", ")", "return", "group", ";", "if", "(", "is_branch", "(", "insn", ")", ")", "return", "disp_branch", ";", "if", "(", "is_cmp", "(", "insn", ")", ")", "return", "disp_cmp", ";", "if", "(", "has_immediate", "(", "insn", ")", ")", "return", "disp_imm", ";", "if", "(", "is_prefetch", "(", "insn", ")", ")", "return", "disp_prefetch", ";", "return", "disp_no_group", ";", "}", ""], "natrual_language": ["Return", "insn", "dispatch", "group", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "get_insn_group", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12637, "Length": 70, "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", "(", ")", ";", "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": "Thumb2RegisterInfo11", "Func": "emitLoadConstPool", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12638, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "Register", "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": ["SystemZ", "SystemZ"], "File": "SystemZInstrInfo16", "Func": "storeRegToStackSlot", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12639, "Length": 100, "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": 12640, "Length": 157, "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": 12641, "Length": 257, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_block_arith_comp_libfuncs_for_mode", "(", "machine_mode", "mode", ")", "{", "set_optab_libfunc", "(", "add_optab", ",", "mode", ",", "NULL", ")", ";", "set_optab_libfunc", "(", "sdiv_optab", ",", "mode", ",", "NULL", ")", ";", "set_optab_libfunc", "(", "smul_optab", ",", "mode", ",", "NULL", ")", ";", "set_optab_libfunc", "(", "neg_optab", ",", "mode", ",", "NULL", ")", ";", "set_optab_libfunc", "(", "sub_optab", ",", "mode", ",", "NULL", ")", ";", "set_optab_libfunc", "(", "eq_optab", ",", "mode", ",", "NULL", ")", ";", "set_optab_libfunc", "(", "ne_optab", ",", "mode", ",", "NULL", ")", ";", "set_optab_libfunc", "(", "lt_optab", ",", "mode", ",", "NULL", ")", ";", "set_optab_libfunc", "(", "le_optab", ",", "mode", ",", "NULL", ")", ";", "set_optab_libfunc", "(", "ge_optab", ",", "mode", ",", "NULL", ")", ";", "set_optab_libfunc", "(", "gt_optab", ",", "mode", ",", "NULL", ")", ";", "set_optab_libfunc", "(", "unord_optab", ",", "mode", ",", "NULL", ")", ";", "}", ""], "natrual_language": ["Record", "that", "we", "have", "no", "arithmetic", "or", "comparison", "libfuncs", "for", "machine", "mode", "MODE", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_block_arith_comp_libfuncs_for_mode", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12642, "Length": 117, "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": 12643, "Length": 410, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_simd_emit_reg_reg_move", "(", "rtx", "*", "operands", ",", "enum", "machine_mode", "mode", ",", "unsigned", "int", "count", ")", "{", "unsigned", "int", "i", ";", "int", "rdest", "=", "REGNO", "(", "operands", "[", "0", "]", ")", ";", "int", "rsrc", "=", "REGNO", "(", "operands", "[", "1", "]", ")", ";", "if", "(", "!", "reg_overlap_mentioned_p", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ")", "||", "rdest", "<", "rsrc", ")", "for", "(", "i", "=", "0", ";", "i", "<", "count", ";", "i", "++", ")", "emit_move_insn", "(", "gen_rtx_REG", "(", "mode", ",", "rdest", "+", "i", ")", ",", "gen_rtx_REG", "(", "mode", ",", "rsrc", "+", "i", ")", ")", ";", "else", "for", "(", "i", "=", "0", ";", "i", "<", "count", ";", "i", "++", ")", "emit_move_insn", "(", "gen_rtx_REG", "(", "mode", ",", "rdest", "+", "count", "-", "i", "-", "1", ")", ",", "gen_rtx_REG", "(", "mode", ",", "rsrc", "+", "count", "-", "i", "-", "1", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "register", "copy", "from", "operand", "to", "operand", ",", "taking", "care", "not", "to", "early-clobber", "source", "registers", "in", "the", "process", ".", "COUNT", "is", "the", "number", "of", "components", "into", "which", "the", "copy", "needs", "to", "be", "decomposed", "."], "TS_V_token": ["aarch64", "0", "1", "0", "1", "0", "0", "1", "1"], "File": "aarch642", "Func": "aarch64_simd_emit_reg_reg_move", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12644, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "auto", "RegName", "=", "[", "]", "(", "unsigned", "Reg", ")", "{", "if", "(", "Reg", ")", "return", "CSKYInstPrinter", "::", "getRegisterName", "(", "Reg", ")", ";", "else", "return", "\"noreg\"", ";", "}", ";", "switch", "(", "Kind", ")", "{", "case", "CPOP", ":", "OS", "<<", "*", "getConstpoolOp", "(", ")", ";", "break", ";", "case", "Immediate", ":", "OS", "<<", "*", "getImm", "(", ")", ";", "break", ";", "case", "KindTy", "::", "Register", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "RegisterSeq", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "RegisterList", ":", "OS", "<<", "\""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["CSKY", "CSKY", "\"noreg\"", "\"\"", "\"\"", "\"", "static", "int", "rs6000_register_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "from", ",", "reg_class_t", "to", ")", "{", "int", "ret", ";", "if", "(", "TARGET_DEBUG_COST", ")", "dbg_cost_ctrl", "++", ";", "if", "(", "reg_classes_intersect_p", "(", "to", ",", "GENERAL_REGS", ")", "||", "reg_classes_intersect_p", "(", "from", ",", "GENERAL_REGS", ")", ")", "{", "reg_class_t", "rclass", "=", "from", ";", "if", "(", "!", "reg_classes_intersect_p", "(", "to", ",", "GENERAL_REGS", ")", ")", "rclass", "=", "to", ";", "if", "(", "rclass", "==", "FLOAT_REGS", "||", "rclass", "==", "ALTIVEC_REGS", "||", "rclass", "==", "VSX_REGS", ")", "ret", "=", "(", "rs6000_memory_move_cost", "(", "mode", ",", "rclass", ",", "false", ")", "+", "rs6000_memory_move_cost", "(", "mode", ",", "GENERAL_REGS", ",", "false", ")", ")", ";", "else", "if", "(", "rclass", "==", "CR_REGS", ")", "ret", "=", "4", ";", "else", "if", "(", "(", "rs6000_tune", "==", "PROCESSOR_POWER6", "||", "rs6000_tune", "==", "PROCESSOR_POWER7", "||", "rs6000_tune", "==", "PROCESSOR_POWER8", "||", "rs6000_tune", "==", "PROCESSOR_POWER9", ")", "&&", "reg_classes_intersect_p", "(", "rclass", ",", "LINK_OR_CTR_REGS", ")", ")", "ret", "=", "6", "*", "hard_regno_nregs", "(", "0", ",", "mode", ")", ";", "else", "ret", "=", "2", "*", "hard_regno_nregs", "(", "0", ",", "mode", ")", ";", "}", "else", "if", "(", "VECTOR_MEM_VSX_P", "(", "mode", ")", "&&", "reg_classes_intersect_p", "(", "to", ",", "VSX_REGS", ")", "&&", "reg_classes_intersect_p", "(", "from", ",", "VSX_REGS", ")", ")", "ret", "=", "2", "*", "hard_regno_nregs", "(", "FIRST_FPR_REGNO", ",", "mode", ")", ";", "else", "if", "(", "reg_classes_intersect_p", "(", "to", ",", "from", ")", ")", "ret", "=", "(", "FLOAT128_2REG_P", "(", "mode", ")", ")", "?", "4", ":", "2", ";", "else", "ret", "=", "(", "rs6000_register_move_cost", "(", "mode", ",", "GENERAL_REGS", ",", "to", ")", "+", "rs6000_register_move_cost", "(", "mode", ",", "from", ",", "GENERAL_REGS", ")", ")", ";", "if", "(", "TARGET_DEBUG_COST", ")", "{", "if", "(", "dbg_cost_ctrl", "==", "1", ")", "fprintf", "(", "stderr", ",", "\"rs6000_register_move_cost:, ret=%d, mode=%s, from=%s, to=%s\\n\"", ",", "ret", ",", "GET_MODE_NAME", "(", "mode", ")", ",", "reg_class_names", "[", "from", "]", ",", "reg_class_names", "[", "to", "]", ")", ";", "dbg_cost_ctrl", "--", ";", "}", "return", "ret", ";", "}", ""], "natrual_language": ["A", "C", "expression", "returning", "the", "cost", "of", "moving", "data", "from", "a", "register", "of", "class", "CLASS1", "to", "one", "of", "CLASS2", "."], "TS_V_token": ["rs6000", "4", "6", "0", "2", "0", "2", "4", "2", "1", "\"rs6000_register_move_cost:, ret=%d, mode=%s, from=%s, to=%s\\n\""], "File": "rs60007", "Func": "rs6000_register_move_cost", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12646, "Length": 281, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "SHUXIRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "return", "CC_Save_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["SHUXI", "SHUXI"], "File": "SHUXIRegisterInfo", "Func": "getCallPreservedMask", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12647, "Length": 23, "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", "->", "isAAPCS_ABI", "(", ")", "||", "Subtarget", "->", "isTargetMachO", "(", ")", "||", "Subtarget", "->", "isTargetWindows", "(", ")", ")", "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", "(", "DAG", ")", ";", "CLI", ".", "setDebugLoc", "(", "dl", ")", ".", "setChain", "(", "Chain", ")", ".", "setCallee", "(", "TLI", ".", "getLibcallCallingConv", "(", "RTLIB", "::", "MEMSET", ")", ",", "Type", "::", "getVoidTy", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ",", "DAG", ".", "getExternalSymbol", "(", "TLI", ".", "getLibcallName", "(", "RTLIB", "::", "MEMSET", ")", ",", "TLI", ".", "getPointerTy", "(", ")", ")", ",", "&", "Args", ",", "0", ")", ".", "setDiscardResult", "(", ")", ";", "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": "ARMSelectionDAGInfo22", "Func": "EmitTargetCodeForMemset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12648, "Length": 344, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "FeatureBitset", "&", "getFeatures", "(", ")", "const", "{", "return", "Features", ";", "}", ""], "natrual_language": ["Returns", "the", "vector", "of", "individual", "subtarget", "features", "."], "TS_V_token": ["Mips"], "File": "MipsAsmParser (2)4", "Func": "getFeatures", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12649, "Length": 12, "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\"", ",", "\"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\"", "\"fmodl\"", "\"log10l\"", "\"log2l\"", "\"logl\"", "\"nearbyintl\"", "\"powl\"", "\"rintl\"", "\"roundl\"", "\"sinl\"", "\"sqrtl\"", "\"truncl\"", "0"], "File": "MipsCCState", "Func": "isF128SoftLibCall", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12650, "Length": 190, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "DLXInstrInfo", "::", "reverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Condition", ")", "const", "{", "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": ["DLX", "DLX"], "File": "DLXInstrInfo", "Func": "reverseBranchCondition", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12651, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "FPGATargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "FPGAPassConfig", "(", "*", "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": ["FPGA", "FPGA", "FPGA"], "File": "FPGATargetMachine", "Func": "createPassConfig", "Target": "FPGA", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12652, "Length": 22, "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": 12653, "Length": 492, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "OR1KTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "NULL", ";", "case", "OR1KISD", "::", "ADJDYNALLOC", ":", "return", "\"OR1KISD::ADJDYNALLOC\"", ";", "case", "OR1KISD", "::", "RET_FLAG", ":", "return", "\"OR1KISD::RET_FLAG\"", ";", "case", "OR1KISD", "::", "CALL", ":", "return", "\"OR1KISD::CALL\"", ";", "case", "OR1KISD", "::", "SELECT_CC", ":", "return", "\"OR1KISD::SELECT_CC\"", ";", "case", "OR1KISD", "::", "SET_FLAG", ":", "return", "\"OR1KISD::SET_FLAG\"", ";", "case", "OR1KISD", "::", "BR_CC", ":", "return", "\"OR1KISD::BR_CC\"", ";", "case", "OR1KISD", "::", "Wrapper", ":", "return", "\"OR1KISD::Wrapper\"", ";", "case", "OR1KISD", "::", "FF1", ":", "return", "\"OR1KISD::FF1\"", ";", "case", "OR1KISD", "::", "FL1", ":", "return", "\"OR1KISD::FL1\"", ";", "case", "OR1KISD", "::", "HI", ":", "return", "\"OR1KISD::HI\"", ";", "case", "OR1KISD", "::", "LO", ":", "return", "\"OR1KISD::LO\"", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["OR1K", "OR1K", "OR1KISD::ADJDYNALLOC", "\"OR1KISD::ADJDYNALLOC\"", "OR1KISD::RET_FLAG", "\"OR1KISD::RET_FLAG\"", "OR1KISD::CALL", "\"OR1KISD::CALL\"", "OR1KISD::SELECT_CC", "\"OR1KISD::SELECT_CC\"", "OR1KISD::SET_FLAG", "\"OR1KISD::SET_FLAG\"", "OR1KISD::BR_CC", "\"OR1KISD::BR_CC\"", "OR1KISD::Wrapper", "\"OR1KISD::Wrapper\"", "OR1KISD::FF1", "\"OR1KISD::FF1\"", "OR1KISD::FL1", "\"OR1KISD::FL1\"", "OR1KISD::HI", "\"OR1KISD::HI\"", "OR1KISD::LO", "\"OR1KISD::LO\""], "File": "OR1KISelLowering", "Func": "getTargetNodeName", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12654, "Length": 112, "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": ["Construct", "a", "unary", "instruction", ",", "given", "the", "opcode", "and", "an", "operand", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC"], "File": "PPCMCExpr (2)", "Func": "Create", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12655, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "HOST_WIDE_INT", "aarch64_replicate_bitmask_imm", "(", "unsigned", "HOST_WIDE_INT", "val", ",", "machine_mode", "mode", ")", "{", "unsigned", "int", "size", "=", "GET_MODE_UNIT_PRECISION", "(", "mode", ")", ";", "while", "(", "size", "<", "64", ")", "{", "val", "&=", "(", "HOST_WIDE_INT_1U", "<<", "size", ")", "-", "1", ";", "val", "|=", "val", "<<", "size", ";", "size", "*=", "2", ";", "}", "return", "val", ";", "}", ""], "natrual_language": ["VAL", "is", "a", "value", "with", "the", "inner", "mode", "of", "MODE", ".", "Replicate", "it", "to", "fill", "a", "64-bit", "(", "DImode", ")", "integer", "."], "TS_V_token": ["aarch64", "64", "1", "2"], "File": "aarch64", "Func": "aarch64_replicate_bitmask_imm", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12656, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "function_builder", "::", "get_attributes", "(", "const", "function_instance", "&", "instance", ")", "{", "tree", "attrs", "=", "NULL_TREE", ";", "if", "(", "!", "instance", ".", "modifies_global_state_p", "(", ")", ")", "{", "if", "(", "instance", ".", "reads_global_state_p", "(", ")", ")", "attrs", "=", "add_attribute", "(", "\"pure\"", ",", "attrs", ")", ";", "else", "attrs", "=", "add_attribute", "(", "\"const\"", ",", "attrs", ")", ";", "}", "if", "(", "!", "flag_non_call_exceptions", "||", "!", "instance", ".", "could_trap_p", "(", ")", ")", "attrs", "=", "add_attribute", "(", "\"nothrow\"", ",", "attrs", ")", ";", "return", "add_attribute", "(", "\"leaf\"", ",", "attrs", ")", ";", "}", ""], "natrual_language": ["Return", "the", "appropriate", "function", "attributes", "for", "INSTANCE", "."], "TS_V_token": ["aarch64", "\"pure\"", "\"const\"", "\"nothrow\"", "\"leaf\""], "File": "aarch64-sve-builtins", "Func": "get_attributes", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12657, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "mips_canonicalize_move_class", "(", "reg_class_t", "rclass", ")", "{", "if", "(", "reg_class_subset_p", "(", "rclass", ",", "ACC_REGS", ")", ")", "rclass", "=", "ACC_REGS", ";", "if", "(", "TARGET_MIPS16", "&&", "reg_class_subset_p", "(", "rclass", ",", "M16_REGS", ")", ")", "rclass", "=", "M16_REGS", ";", "else", "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": ["mips"], "File": "mips", "Func": "mips_canonicalize_move_class", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12658, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseInstrInfo", "::", "getPartialRegUpdateClearance", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "!", "SwiftPartialUpdateClearance", "||", "!", "(", "Subtarget", ".", "isSwift", "(", ")", "||", "Subtarget", ".", "isCortexA15", "(", ")", ")", ")", "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", "=", "3", ";", "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", "3", "0", "1", "0", "0", "ARM::SPRRegClass", "ARM::ssub_0", "ARM::DPRRegClass", "0"], "File": "ARMBaseInstrInfo (2)", "Func": "getPartialRegUpdateClearance", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12659, "Length": 275, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "MCAsmParser", "&", "Parser", "=", "getParser", "(", ")", ";", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "if", "(", "IDVal", "==", "\".word\"", ")", "return", "ParseDirectiveWord", "(", "2", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "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", ".", "startswith", "(", "\".dwarf_addr_size\"", ")", ")", "{", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "getString", "(", ")", "!=", "\"4\"", ")", "return", "Error", "(", "DirectiveID", ".", "getLoc", "(", ")", ",", "\".dwarf_addr_size must be 4\"", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["X86", "X86", "\".word\"", "2", "\".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\"", "\".dwarf_addr_size\"", "\"4\"", "\".dwarf_addr_size must be 4\""], "File": "X86AsmParser100", "Func": "ParseDirective", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12660, "Length": 293, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_lshrsi_clobbers_t_reg_p", "(", "rtx", "shift_amount", ")", "{", "gcc_assert", "(", "CONST_INT_P", "(", "shift_amount", ")", ")", ";", "const", "int", "shift_amount_i", "=", "INTVAL", "(", "shift_amount", ")", "&", "31", ";", "if", "(", "shift_amount_i", "==", "31", ")", "return", "true", ";", "return", "(", "ashl_lshr_seq", "[", "shift_amount_i", "]", ".", "clobbers_t", "&", "LSHR_CLOBBERS_T", ")", "!=", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "logical", "right", "shift", "consisting", "of", "1/2/8/16", "shift", "instructions", "will", "clobber", "the", "T", "bit", "."], "TS_V_token": ["sh", "31", "31", "0"], "File": "sh4", "Func": "sh_lshrsi_clobbers_t_reg_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12661, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsSEInstrInfo", "::", "loadImmediate", "(", "int64_t", "Imm", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "II", ",", "DebugLoc", "DL", ",", "unsigned", "*", "NewImm", ")", "const", "{", "MipsAnalyzeImmediate", "AnalyzeImm", ";", "const", "MipsSubtarget", "&", "STI", "=", "Subtarget", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "unsigned", "Size", "=", "STI", ".", "isABI_N64", "(", ")", "?", "64", ":", "32", ";", "unsigned", "LUi", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "LUi64", ":", "Mips", "::", "LUi", ";", "unsigned", "ZEROReg", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "ZERO_64", ":", "Mips", "::", "ZERO", ";", "const", "TargetRegisterClass", "*", "RC", "=", "STI", ".", "isABI_N64", "(", ")", "?", "&", "Mips", "::", "GPR64RegClass", ":", "&", "Mips", "::", "GPR32RegClass", ";", "bool", "LastInstrIsADDiu", "=", "NewImm", ";", "const", "MipsAnalyzeImmediate", "::", "InstSeq", "&", "Seq", "=", "AnalyzeImm", ".", "Analyze", "(", "Imm", ",", "Size", ",", "LastInstrIsADDiu", ")", ";", "MipsAnalyzeImmediate", "::", "InstSeq", "::", "const_iterator", "Inst", "=", "Seq", ".", "begin", "(", ")", ";", "assert", "(", "Seq", ".", "size", "(", ")", "&&", "(", "!", "LastInstrIsADDiu", "||", "(", "Seq", ".", "size", "(", ")", ">", "1", ")", ")", ")", ";", "unsigned", "Reg", "=", "RegInfo", ".", "createVirtualRegister", "(", "RC", ")", ";", "if", "(", "Inst", "->", "Opc", "==", "LUi", ")", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "get", "(", "LUi", ")", ",", "Reg", ")", ".", "addImm", "(", "SignExtend64", "<", "16", ">", "(", "Inst", "->", "ImmOpnd", ")", ")", ";", "else", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "get", "(", "Inst", "->", "Opc", ")", ",", "Reg", ")", ".", "addReg", "(", "ZEROReg", ")", ".", "addImm", "(", "SignExtend64", "<", "16", ">", "(", "Inst", "->", "ImmOpnd", ")", ")", ";", "for", "(", "++", "Inst", ";", "Inst", "!=", "Seq", ".", "end", "(", ")", "-", "LastInstrIsADDiu", ";", "++", "Inst", ")", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "get", "(", "Inst", "->", "Opc", ")", ",", "Reg", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "SignExtend64", "<", "16", ">", "(", "Inst", "->", "ImmOpnd", ")", ")", ";", "if", "(", "LastInstrIsADDiu", ")", "*", "NewImm", "=", "Inst", "->", "ImmOpnd", ";", "return", "Reg", ";", "}", ""], "natrual_language": ["Emit", "a", "series", "of", "instructions", "to", "load", "an", "immediate", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "64", "32", "Mips::LUi64", "Mips::LUi", "Mips::ZERO_64", "Mips::ZERO", "Mips::GPR64RegClass", "Mips::GPR32RegClass", "Mips", "Mips", "1", "16", "16", "16"], "File": "MipsSEInstrInfo", "Func": "loadImmediate", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12662, "Length": 335, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ",", "unsigned", "&", "MemBytes", ")", "const", "{", "if", "(", "isFrameStoreOpcode", "(", "MI", ".", "getOpcode", "(", ")", ",", "MemBytes", ")", ")", "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)3", "Func": "isStoreToStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12663, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "AArch64_MachoTargetObjectFile", "::", "getIndirectSymViaGOTPCRel", "(", "const", "GlobalValue", "*", "GV", ",", "const", "MCSymbol", "*", "Sym", ",", "const", "MCValue", "&", "MV", ",", "int64_t", "Offset", ",", "MachineModuleInfo", "*", "MMI", ",", "MCStreamer", "&", "Streamer", ")", "const", "{", "assert", "(", "(", "Offset", "+", "MV", ".", "getConstant", "(", ")", "==", "0", ")", "&&", "\"Arch64 does not support GOT PC rel with extra offset\"", ")", ";", "const", "MCExpr", "*", "Res", "=", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "MCSymbolRefExpr", "::", "VK_GOT", ",", "getContext", "(", ")", ")", ";", "MCSymbol", "*", "PCSym", "=", "getContext", "(", ")", ".", "createTempSymbol", "(", ")", ";", "Streamer", ".", "EmitLabel", "(", "PCSym", ")", ";", "const", "MCExpr", "*", "PC", "=", "MCSymbolRefExpr", "::", "create", "(", "PCSym", ",", "getContext", "(", ")", ")", ";", "return", "MCBinaryExpr", "::", "createSub", "(", "Res", ",", "PC", ",", "getContext", "(", ")", ")", ";", "}", ""], "natrual_language": ["Get", "the", "target", "specific", "PC", "relative", "GOT", "entry", "relocation", "."], "TS_V_token": ["AArch64", "AArch64", "0", "\"Arch64 does not support GOT PC rel with extra offset\""], "File": "AArch64TargetObjectFile15", "Func": "getIndirectSymViaGOTPCRel", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12664, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "X86InstrInfo", "::", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "unsigned", ">", "&", "Ops", ",", "int", "FrameIndex", ")", "const", "{", "if", "(", "NoFusing", ")", "return", "nullptr", ";", "if", "(", "!", "MF", ".", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "OptimizeForSize", ")", "&&", "hasPartialRegUpdate", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", "return", "nullptr", ";", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "Size", "=", "MFI", "->", "getObjectSize", "(", "FrameIndex", ")", ";", "unsigned", "Alignment", "=", "MFI", "->", "getObjectAlignment", "(", "FrameIndex", ")", ";", "if", "(", "!", "RI", ".", "needsStackRealignment", "(", "MF", ")", ")", "Alignment", "=", "std", "::", "min", "(", "Alignment", ",", "Subtarget", ".", "getFrameLowering", "(", ")", "->", "getStackAlignment", "(", ")", ")", ";", "if", "(", "Ops", ".", "size", "(", ")", "==", "2", "&&", "Ops", "[", "0", "]", "==", "0", "&&", "Ops", "[", "1", "]", "==", "1", ")", "{", "unsigned", "NewOpc", "=", "0", ";", "unsigned", "RCSize", "=", "0", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "nullptr", ";", "case", "X86", "::", "TEST8rr", ":", "NewOpc", "=", "X86", "::", "CMP8ri", ";", "RCSize", "=", "1", ";", "break", ";", "case", "X86", "::", "TEST16rr", ":", "NewOpc", "=", "X86", "::", "CMP16ri8", ";", "RCSize", "=", "2", ";", "break", ";", "case", "X86", "::", "TEST32rr", ":", "NewOpc", "=", "X86", "::", "CMP32ri8", ";", "RCSize", "=", "4", ";", "break", ";", "case", "X86", "::", "TEST64rr", ":", "NewOpc", "=", "X86", "::", "CMP64ri8", ";", "RCSize", "=", "8", ";", "break", ";", "}", "if", "(", "Size", "<", "RCSize", ")", "return", "nullptr", ";", "MI", "->", "setDesc", "(", "get", "(", "NewOpc", ")", ")", ";", "MI", "->", "getOperand", "(", "1", ")", ".", "ChangeToImmediate", "(", "0", ")", ";", "}", "else", "if", "(", "Ops", ".", "size", "(", ")", "!=", "1", ")", "return", "nullptr", ";", "SmallVector", "<", "MachineOperand", ",", "4", ">", "MOs", ";", "MOs", ".", "push_back", "(", "MachineOperand", "::", "CreateFI", "(", "FrameIndex", ")", ")", ";", "return", "foldMemoryOperandImpl", "(", "MF", ",", "MI", ",", "Ops", "[", "0", "]", ",", "MOs", ",", "Size", ",", "Alignment", ",", "true", ")", ";", "}", ""], "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": ["X86", "X86", "2", "0", "0", "1", "1", "0", "0", "X86::TEST8rr", "X86::CMP8ri", "1", "X86::TEST16rr", "X86::CMP16ri8", "2", "X86::TEST32rr", "X86::CMP32ri8", "4", "X86::TEST64rr", "X86::CMP64ri8", "8", "1", "0", "1", "4", "0"], "File": "X86InstrInfo70", "Func": "foldMemoryOperandImpl", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12665, "Length": 336, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmPrinter", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "bool", "Result", "=", "AsmPrinter", "::", "doInitialization", "(", "M", ")", ";", "MMI", "=", "getAnalysisIfAvailable", "<", "MachineModuleInfo", ">", "(", ")", ";", "assert", "(", "MMI", ")", ";", "DW", "=", "getAnalysisIfAvailable", "<", "DwarfWriter", ">", "(", ")", ";", "assert", "(", "DW", "&&", "\"Dwarf Writer is not available\"", ")", ";", "DW", "->", "BeginModule", "(", "&", "M", ",", "MMI", ",", "O", ",", "this", ",", "TAI", ")", ";", "if", "(", "Subtarget", "->", "isTargetDarwin", "(", ")", ")", "Mang", "->", "setUseQuotes", "(", "true", ")", ";", "return", "Result", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["ARM", "ARM", "\"Dwarf Writer is not available\""], "File": "ARMAsmPrinter76", "Func": "doInitialization", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12666, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "aarch64_dbx_register_number", "(", "unsigned", "regno", ")", "{", "if", "(", "GP_REGNUM_P", "(", "regno", ")", ")", "return", "AARCH64_DWARF_R0", "+", "regno", "-", "R0_REGNUM", ";", "else", "if", "(", "regno", "==", "SP_REGNUM", ")", "return", "AARCH64_DWARF_SP", ";", "else", "if", "(", "FP_REGNUM_P", "(", "regno", ")", ")", "return", "AARCH64_DWARF_V0", "+", "regno", "-", "V0_REGNUM", ";", "else", "if", "(", "PR_REGNUM_P", "(", "regno", ")", ")", "return", "AARCH64_DWARF_P0", "+", "regno", "-", "P0_REGNUM", ";", "else", "if", "(", "regno", "==", "VG_REGNUM", ")", "return", "AARCH64_DWARF_VG", ";", "return", "DWARF_FRAME_REGISTERS", ";", "}", ""], "natrual_language": ["Provide", "a", "mapping", "from", "gcc", "register", "numbers", "to", "dwarf", "register", "numbers", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_dbx_register_number", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12667, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "vax_function_arg", "(", "cumulative_args_t", ",", "const", "function_arg_info", "&", ")", "{", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["On", "the", "VAX", "all", "args", "are", "pushed", "."], "TS_V_token": ["vax"], "File": "vax", "Func": "vax_function_arg", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12668, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "long", "arm_isr_value", "(", "tree", "argument", ")", "{", "const", "isr_attribute_arg", "*", "ptr", ";", "const", "char", "*", "arg", ";", "if", "(", "!", "arm_arch_notm", ")", "return", "ARM_FT_NORMAL", "|", "ARM_FT_STACKALIGN", ";", "if", "(", "argument", "==", "NULL_TREE", ")", "return", "ARM_FT_ISR", ";", "if", "(", "TREE_VALUE", "(", "argument", ")", "==", "NULL_TREE", "||", "TREE_CODE", "(", "TREE_VALUE", "(", "argument", ")", ")", "!=", "STRING_CST", ")", "return", "ARM_FT_UNKNOWN", ";", "arg", "=", "TREE_STRING_POINTER", "(", "TREE_VALUE", "(", "argument", ")", ")", ";", "for", "(", "ptr", "=", "isr_attribute_args", ";", "ptr", "->", "arg", "!=", "NULL", ";", "ptr", "++", ")", "if", "(", "streq", "(", "arg", ",", "ptr", "->", "arg", ")", ")", "return", "ptr", "->", "return_value", ";", "return", "ARM_FT_UNKNOWN", ";", "}", ""], "natrual_language": ["Returns", "the", "(", "interrupt", ")", "function", "type", "of", "the", "current", "function", ",", "or", "ARM_FT_UNKNOWN", "if", "the", "type", "can", "not", "be", "determined", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_isr_value", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12669, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Fast Tile Register Preconfigure\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"Fast Tile Register Preconfigure\""], "File": "X86FastPreTileConfig", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12670, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "machine_function", "*", "arm_init_machine_status", "(", "void", ")", "{", "struct", "machine_function", "*", "machine", ";", "machine", "=", "ggc_cleared_alloc", "<", "machine_function", ">", "(", ")", ";", "machine", "->", "func_type", "=", "ARM_FT_UNKNOWN", ";", "machine", "->", "static_chain_stack_bytes", "=", "-", "1", ";", "return", "machine", ";", "}", ""], "natrual_language": ["Functions", "to", "save", "and", "restore", "machine-specific", "function", "data", "."], "TS_V_token": ["arm", "1"], "File": "arm", "Func": "arm_init_machine_status", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12671, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "override", "{", "return", "createLEGELFObjectWriter", "(", "OS", ",", "OSABI", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["LEG", "LEG"], "File": "LEGAsmBackend", "Func": "createObjectWriter", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12672, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "insn_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", ")", ";", "if", "(", "tmp", "==", "NULL_RTX", ")", "return", "true", ";", "tmp", "=", "PATTERN", "(", "x", ")", ";", "note_stores", "(", "PATTERN", "(", "y", ")", ",", "insn_dependent_p_1", ",", "&", "tmp", ")", ";", "return", "(", "tmp", "==", "NULL_RTX", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "anything", "in", "insn", "X", "is", "(", "anti", ",", "output", ",", "true", ")", "dependent", "on", "anything", "in", "insn", "Y", "."], "TS_V_token": ["mt", "0"], "File": "mt", "Func": "insn_dependent_p", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12673, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "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", "(", ")", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "CCAssignFnForNode", "(", "CallConv", ")", ")", ";", "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", "(", ")", "&&", "\"Only register-returns should be created by PCS\"", ")", ";", "SDValue", "Arg", "=", "OutVals", "[", "i", "]", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown loc info\"", ")", ";", "case", "CCValAssign", "::", "Full", ":", "break", ";", "case", "CCValAssign", "::", "SExt", ":", "case", "CCValAssign", "::", "ZExt", ":", "case", "CCValAssign", "::", "AExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ANY_EXTEND", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "case", "CCValAssign", "::", "BCvt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "}", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "Arg", ",", "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", "(", "AArch64ISD", "::", "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": ["AArch64", "AArch64", "ISD::OutputArg", "16", "4", "1", "0", "\"Only register-returns should be created by PCS\"", "\"Unknown loc info\"", "ISD::ANY_EXTEND", "ISD::BITCAST", "1", "0", "AArch64ISD::Ret", "MVT::Other"], "File": "AArch64ISelLowering109", "Func": "LowerReturn", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12674, "Length": 341, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPreSched2", "(", ")", "{", "addPass", "(", "createAArch64ExpandPseudoPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "EnableLoadStoreOpt", ")", "addPass", "(", "createAArch64LoadStoreOptimizationPass", "(", ")", ")", ";", "if", "(", "EnableFalkorHWPFFix", ")", "addPass", "(", "createFalkorHWPFFixPass", "(", ")", ")", ";", "}", "}", ""], "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": "AArch64TargetMachine11", "Func": "addPreSched2", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12675, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_split_call", "(", "rtx", "insn", ",", "rtx", "call_pattern", ")", "{", "emit_call_insn", "(", "call_pattern", ")", ";", "if", "(", "!", "find_reg_note", "(", "insn", ",", "REG_NORETURN", ",", "0", ")", ")", "mips_restore_gp_from_cprestore_slot", "(", "gen_rtx_REG", "(", "Pmode", ",", "POST_CALL_TMP_REG", ")", ")", ";", "}", ""], "natrual_language": ["Split", "call", "instruction", "INSN", "into", "a", "$", "gp-clobbering", "call", "and", "(", "where", "necessary", ")", "an", "instruction", "to", "restore", "$", "gp", "from", "its", "save", "slot", ".", "CALL_PATTERN", "is", "the", "pattern", "of", "the", "new", "call", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips_split_call", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12676, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_probe_stack_range", "(", "HOST_WIDE_INT", "first", ",", "HOST_WIDE_INT", "size", ",", "const", "bool", "int_registers_saved", ")", "{", "const", "HOST_WIDE_INT", "probe_interval", "=", "get_probe_interval", "(", ")", ";", "if", "(", "size", "<=", "6", "*", "probe_interval", ")", "{", "HOST_WIDE_INT", "i", ";", "for", "(", "i", "=", "probe_interval", ";", "i", "<", "size", ";", "i", "+=", "probe_interval", ")", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "(", "first", "+", "i", ")", ")", ")", ";", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "(", "first", "+", "size", ")", ")", ")", ";", "}", "else", "{", "gcc_assert", "(", "int_registers_saved", ")", ";", "HOST_WIDE_INT", "rounded_size", ",", "last", ";", "struct", "scratch_reg", "sr", ";", "get_scratch_register_on_entry", "(", "&", "sr", ")", ";", "rounded_size", "=", "ROUND_DOWN", "(", "size", ",", "probe_interval", ")", ";", "emit_move_insn", "(", "sr", ".", "reg", ",", "GEN_INT", "(", "-", "first", ")", ")", ";", "last", "=", "first", "+", "rounded_size", ";", "emit_insn", "(", "gen_probe_stack_range", "(", "Pmode", ",", "sr", ".", "reg", ",", "sr", ".", "reg", ",", "GEN_INT", "(", "-", "last", ")", ")", ")", ";", "if", "(", "size", "!=", "rounded_size", ")", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "sr", ".", "reg", ")", ",", "rounded_size", "-", "size", ")", ")", ";", "release_scratch_register_on_entry", "(", "&", "sr", ",", "size", ",", "true", ")", ";", "}", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "probe", "a", "range", "of", "stack", "addresses", "from", "FIRST", "to", "FIRST+SIZE", ",", "inclusive", ".", "These", "are", "offsets", "from", "the", "current", "stack", "pointer", "."], "TS_V_token": ["i386", "6"], "File": "i386", "Func": "ix86_emit_probe_stack_range", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12677, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "or1k_pass_by_reference", "(", "cumulative_args_t", ",", "const", "function_arg_info", "&", "arg", ")", "{", "if", "(", "arg", ".", "aggregate_type_p", "(", ")", ")", "return", "true", ";", "HOST_WIDE_INT", "size", "=", "arg", ".", "type_size_in_bytes", "(", ")", ";", "return", "size", "<", "0", "||", "size", ">", "8", ";", "}", ""], "natrual_language": ["Worker", "for", "TARGET_PASS_BY_REFERENCE", ".", "Returns", "true", "if", "an", "argument", "of", "TYPE", "in", "MODE", "should", "be", "passed", "by", "reference", "as", "required", "by", "the", "OpenRISC", "ABI", ".", "On", "OpenRISC", "structures", ",", "unions", "and", "arguments", "larger", "than", "64-bits", "are", "passed", "by", "reference", "."], "TS_V_token": ["or1k", "0", "8"], "File": "or1k", "Func": "or1k_pass_by_reference", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12678, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "build", "(", "function_builder", "&", "b", ",", "const", "function_group_info", "&", "group", ")", "const", "OVERRIDE", "{", "b", ".", "add_overloaded_functions", "(", "group", ",", "MODE_none", ")", ";", "build_all", "(", "b", ",", "\"v0,vu0\"", ",", "group", ",", "MODE_none", ")", ";", "}", ""], "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": ["aarch64", "\"v0,vu0\""], "File": "aarch64-sve-builtins-shapes", "Func": "build", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12679, "Length": 36, "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", "(", ")", ")", "return", "X86II", "::", "MO_DLLIMPORT", ";", "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", ";", "}", "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_GOT", "X86II::MO_NO_FLAG", "X86II::MO_GOTPCREL", "X86II::MO_DARWIN_NONLAZY", "X86II::MO_DARWIN_NONLAZY_PIC_BASE", "X86II::MO_GOT"], "File": "X86Subtarget", "Func": "classifyGlobalReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12680, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MINA32AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "MCAsmParser", "&", "Parser", "=", "getParser", "(", ")", ";", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "\".ent\"", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "\".end\"", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "\".frame\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "\".set\"", ")", "{", "return", "parseDirectiveSet", "(", ")", ";", "}", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "\".fmask\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "\".mask\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "\".gpword\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["MINA32", "MINA32", "\".ent\"", "\".end\"", "\".frame\"", "\".set\"", "\".fmask\"", "\".mask\"", "\".gpword\""], "File": "MINA32AsmParser", "Func": "ParseDirective", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12681, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBlockPlacement", "::", "fixBackwardsWLS", "(", "MachineLoop", "*", "ML", ")", "{", "MachineInstr", "*", "WlsInstr", "=", "findWLS", "(", "ML", ")", ";", "if", "(", "!", "WlsInstr", ")", "return", "false", ";", "MachineBasicBlock", "*", "Predecessor", "=", "WlsInstr", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "*", "LoopExit", "=", "getWhileLoopStartTargetBB", "(", "*", "WlsInstr", ")", ";", "if", "(", "!", "LoopExit", "->", "getPrevNode", "(", ")", ")", "return", "false", ";", "if", "(", "blockIsBefore", "(", "Predecessor", ",", "LoopExit", ")", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "DEBUG_PREFIX", "<<", "\"Found a backwards WLS from \"", "<<", "Predecessor", "->", "getFullName", "(", ")", "<<", "\" to \"", "<<", "LoopExit", "->", "getFullName", "(", ")", "<<", "\"\\n\"", ")", ";", "for", "(", "auto", "It", "=", "++", "LoopExit", "->", "getIterator", "(", ")", ";", "It", "!=", "Predecessor", "->", "getIterator", "(", ")", ";", "++", "It", ")", "{", "MachineBasicBlock", "*", "MBB", "=", "&", "*", "It", ";", "for", "(", "auto", "&", "Terminator", ":", "MBB", "->", "terminators", "(", ")", ")", "{", "if", "(", "!", "isWhileLoopStart", "(", "Terminator", ")", ")", "continue", ";", "MachineBasicBlock", "*", "WLSTarget", "=", "getWhileLoopStartTargetBB", "(", "Terminator", ")", ";", "if", "(", "WLSTarget", "==", "Predecessor", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "DEBUG_PREFIX", "<<", "\"Can't move Predecessor block as \"", "<<", "\"it would convert a WLS from forward to a \"", "<<", "\"backwards branching WLS\\n\"", ")", ";", "RevertedWhileLoops", ".", "push_back", "(", "WlsInstr", ")", ";", "return", "false", ";", "}", "}", "}", "moveBasicBlock", "(", "Predecessor", ",", "LoopExit", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Checks", "if", "loop", "has", "a", "backwards", "branching", "WLS", ",", "and", "if", "possible", ",", "fixes", "it", "."], "TS_V_token": ["ARM", "ARM", "\"Found a backwards WLS from \"", "\" to \"", "\"\\n\"", "\"Can't move Predecessor block as \"", "\"it would convert a WLS from forward to a \"", "\"backwards branching WLS\\n\""], "File": "ARMBlockPlacement (2)", "Func": "fixBackwardsWLS", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12682, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZRegisterInfo", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "const", "TargetFrameInfo", "&", "TFI", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "SystemZMachineFunctionInfo", "*", "SystemZMFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "DL", "=", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "::", "getUnknownLoc", "(", ")", ")", ";", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "StackSize", "-=", "SystemZMFI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "uint64_t", "NumBytes", "=", "StackSize", "-", "TFI", ".", "getOffsetOfLocalArea", "(", ")", ";", "while", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", "&&", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "SystemZ", "::", "MOV64mr", "||", "MBBI", "->", "getOpcode", "(", ")", "==", "SystemZ", "::", "MOV64mrm", ")", ")", "++", "MBBI", ";", "if", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "StackSize", "||", "MFI", "->", "hasCalls", "(", ")", ")", "{", "assert", "(", "MF", ".", "getRegInfo", "(", ")", ".", "isPhysRegUsed", "(", "SystemZ", "::", "R15D", ")", "&&", "\"Invalid stack frame calculation!\"", ")", ";", "emitSPUpdate", "(", "MBB", ",", "MBBI", ",", "-", "(", "int64_t", ")", "NumBytes", ",", "TII", ")", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "SystemZ", "::", "MOV64rr", ")", ",", "SystemZ", "::", "R11D", ")", ".", "addReg", "(", "SystemZ", "::", "R15D", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "llvm", "::", "next", "(", "MF", ".", "begin", "(", ")", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "I", "->", "addLiveIn", "(", "SystemZ", "::", "R11D", ")", ";", "}", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ::MOV64mr", "SystemZ::MOV64mrm", "SystemZ::R15D", "\"Invalid stack frame calculation!\"", "SystemZ::MOV64rr", "SystemZ::R11D", "SystemZ::R15D", "SystemZ::R11D"], "File": "SystemZRegisterInfo29", "Func": "emitPrologue", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12683, "Length": 303, "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", "(", "AFI", "->", "shouldRestoreSPFromFP", "(", ")", ")", "{", "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", "(", "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", "ARM::R3", "ARM::tBX_RET_vararg", "ARM::R3"], "File": "Thumb1RegisterInfo7", "Func": "emitEpilogue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12684, "Length": 491, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ArrayRef", "<", "MCPhysReg", ">", "MipsABIInfo", "::", "GetByValArgRegs", "(", ")", "const", "{", "if", "(", "IsO32", "(", ")", ")", "return", "makeArrayRef", "(", "O32IntRegs", ")", ";", "if", "(", "IsN32", "(", ")", "||", "IsN64", "(", ")", ")", "return", "makeArrayRef", "(", "Mips64IntRegs", ")", ";", "llvm_unreachable", "(", "\"Unhandled ABI\"", ")", ";", "}", ""], "natrual_language": ["The", "registers", "to", "use", "for", "byval", "arguments", "."], "TS_V_token": ["Mips", "Mips", "Mips", "\"Unhandled ABI\""], "File": "MipsABIInfo15", "Func": "GetByValArgRegs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12685, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "materializeFrameBaseRegister", "(", "MachineBasicBlock", "*", "MBB", ",", "unsigned", "BaseReg", ",", "int", "FrameIdx", ",", "int64_t", "Offset", ")", "const", "{", "ARMFunctionInfo", "*", "AFI", "=", "MBB", "->", "getParent", "(", ")", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "unsigned", "ADDriOpc", "=", "!", "AFI", "->", "isThumbFunction", "(", ")", "?", "ARM", "::", "ADDri", ":", "(", "AFI", "->", "isThumb1OnlyFunction", "(", ")", "?", "ARM", "::", "tADDrSPi", ":", "ARM", "::", "t2ADDri", ")", ";", "MachineBasicBlock", "::", "iterator", "Ins", "=", "MBB", "->", "begin", "(", ")", ";", "DebugLoc", "DL", ";", "if", "(", "Ins", "!=", "MBB", "->", "end", "(", ")", ")", "DL", "=", "Ins", "->", "getDebugLoc", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "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": "ARMBaseRegisterInfo8", "Func": "materializeFrameBaseRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12686, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "ARMBaseRegisterInfo", "::", "getThisReturnPreservedMask", "(", "CallingConv", "::", "ID", ")", "const", "{", "return", "(", "STI", ".", "isTargetIOS", "(", ")", "&&", "!", "STI", ".", "isAAPCS_ABI", "(", ")", ")", "?", "CSR_iOS_ThisReturn_RegMask", ":", "CSR_AAPCS_ThisReturn_RegMask", ";", "}", ""], "natrual_language": ["getThisReturnPreservedMask", "-", "Returns", "a", "call", "preserved", "mask", "specific", "to", "the", "case", "that", "'returned", "'", "is", "on", "an", "i32", "first", "argument", "if", "the", "calling", "convention", "is", "one", "that", "can", "(", "partially", ")", "model", "this", "attribute", "with", "a", "preserved", "mask", "(", "i.e", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMBaseRegisterInfo6", "Func": "getThisReturnPreservedMask", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12687, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64RegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "AArch64FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "AArch64", "::", "GPR32RegClassID", ":", "case", "AArch64", "::", "GPR32spRegClassID", ":", "case", "AArch64", "::", "GPR32allRegClassID", ":", "case", "AArch64", "::", "GPR64spRegClassID", ":", "case", "AArch64", "::", "GPR64allRegClassID", ":", "case", "AArch64", "::", "GPR64RegClassID", ":", "case", "AArch64", "::", "GPR32commonRegClassID", ":", "case", "AArch64", "::", "GPR64commonRegClassID", ":", "return", "32", "-", "1", "-", "(", "TFI", "->", "hasFP", "(", "MF", ")", "||", "TT", ".", "isOSDarwin", "(", ")", ")", "-", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "getNumXRegisterReserved", "(", ")", "-", "hasBasePointer", "(", "MF", ")", ";", "case", "AArch64", "::", "FPR8RegClassID", ":", "case", "AArch64", "::", "FPR16RegClassID", ":", "case", "AArch64", "::", "FPR32RegClassID", ":", "case", "AArch64", "::", "FPR64RegClassID", ":", "case", "AArch64", "::", "FPR128RegClassID", ":", "return", "32", ";", "case", "AArch64", "::", "MatrixIndexGPR32_12_15RegClassID", ":", "return", "4", ";", "case", "AArch64", "::", "DDRegClassID", ":", "case", "AArch64", "::", "DDDRegClassID", ":", "case", "AArch64", "::", "DDDDRegClassID", ":", "case", "AArch64", "::", "QQRegClassID", ":", "case", "AArch64", "::", "QQQRegClassID", ":", "case", "AArch64", "::", "QQQQRegClassID", ":", "return", "32", ";", "case", "AArch64", "::", "FPR128_loRegClassID", ":", "case", "AArch64", "::", "FPR64_loRegClassID", ":", "case", "AArch64", "::", "FPR16_loRegClassID", ":", "return", "16", ";", "}", "}", ""], "natrual_language": ["Return", "the", "register", "pressure", "``", "high", "water", "mark", "''", "for", "the", "specific", "register", "class", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "0", "AArch64::GPR32RegClassID", "AArch64::GPR32spRegClassID", "AArch64::GPR32allRegClassID", "AArch64::GPR64spRegClassID", "AArch64::GPR64allRegClassID", "AArch64::GPR64RegClassID", "AArch64::GPR32commonRegClassID", "AArch64::GPR64commonRegClassID", "32", "1", "AArch64", "AArch64::FPR8RegClassID", "AArch64::FPR16RegClassID", "AArch64::FPR32RegClassID", "AArch64::FPR64RegClassID", "AArch64::FPR128RegClassID", "32", "AArch64::MatrixIndexGPR32_12_15RegClassID", "4", "AArch64::DDRegClassID", "AArch64::DDDRegClassID", "AArch64::DDDDRegClassID", "AArch64::QQRegClassID", "AArch64::QQQRegClassID", "AArch64::QQQQRegClassID", "32", "AArch64::FPR128_loRegClassID", "AArch64::FPR64_loRegClassID", "AArch64::FPR16_loRegClassID", "16"], "File": "AArch64RegisterInfo26", "Func": "getRegPressureLimit", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12688, "Length": 207, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "use_skip_p", "(", "rtx_insn", "*", "insn", ")", "{", "rtx_insn", "*", "jump_insn", "=", "next_active_insn", "(", "JUMP_LABEL_AS_INSN", "(", "insn", ")", ")", ";", "while", "(", "insn", ")", "{", "insn", "=", "next_active_insn", "(", "insn", ")", ";", "if", "(", "!", "insn", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "ASM_INPUT", "||", "asm_noperands", "(", "PATTERN", "(", "insn", ")", ")", ">=", "0", ")", "break", ";", "if", "(", "get_attr_length", "(", "insn", ")", "==", "4", "&&", "jump_insn", "==", "next_active_insn", "(", "insn", ")", ")", "return", "TRUE", ";", "if", "(", "get_attr_length", "(", "insn", ")", ">", "0", ")", "break", ";", "}", "return", "FALSE", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "INSN", ",", "a", "forward", "jump", "insn", ",", "can", "use", "nullification", "to", "skip", "the", "following", "instruction", ".", "This", "avoids", "an", "extra", "cycle", "due", "to", "a", "mis-predicted", "branch", "when", "we", "fall", "through", "."], "TS_V_token": ["pa", "0", "4", "0"], "File": "pa", "Func": "use_skip_p", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12689, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "AArch64TargetLowering", "::", "emitLoadLinked", "(", "IRBuilderBase", "&", "Builder", ",", "Type", "*", "ValueTy", ",", "Value", "*", "Addr", ",", "AtomicOrdering", "Ord", ")", "const", "{", "Module", "*", "M", "=", "Builder", ".", "GetInsertBlock", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "bool", "IsAcquire", "=", "isAcquireOrStronger", "(", "Ord", ")", ";", "if", "(", "ValueTy", "->", "getPrimitiveSizeInBits", "(", ")", "==", "128", ")", "{", "Intrinsic", "::", "ID", "Int", "=", "IsAcquire", "?", "Intrinsic", "::", "aarch64_ldaxp", ":", "Intrinsic", "::", "aarch64_ldxp", ";", "Function", "*", "Ldxr", "=", "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", ",", "ValueTy", ",", "\"lo64\"", ")", ";", "Hi", "=", "Builder", ".", "CreateZExt", "(", "Hi", ",", "ValueTy", ",", "\"hi64\"", ")", ";", "return", "Builder", ".", "CreateOr", "(", "Lo", ",", "Builder", ".", "CreateShl", "(", "Hi", ",", "ConstantInt", "::", "get", "(", "ValueTy", ",", "64", ")", ")", ",", "\"val64\"", ")", ";", "}", "const", "DataLayout", "&", "DL", "=", "M", "->", "getDataLayout", "(", ")", ";", "IntegerType", "*", "IntEltTy", "=", "Builder", ".", "getIntNTy", "(", "DL", ".", "getTypeSizeInBits", "(", "ValueTy", ")", ")", ";", "if", "(", "ValueTy", "->", "isPointerTy", "(", ")", ")", "Addr", "=", "Builder", ".", "CreatePointerCast", "(", "Addr", ",", "IntEltTy", "->", "getPointerTo", "(", "Addr", "->", "getType", "(", ")", "->", "getPointerAddressSpace", "(", ")", ")", ")", ";", "Type", "*", "Tys", "[", "]", "=", "{", "Addr", "->", "getType", "(", ")", "}", ";", "Intrinsic", "::", "ID", "Int", "=", "IsAcquire", "?", "Intrinsic", "::", "aarch64_ldaxr", ":", "Intrinsic", "::", "aarch64_ldxr", ";", "Function", "*", "Ldxr", "=", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "Int", ",", "Tys", ")", ";", "Value", "*", "Trunc", "=", "Builder", ".", "CreateTrunc", "(", "Builder", ".", "CreateCall", "(", "Ldxr", ",", "Addr", ")", ",", "IntEltTy", ")", ";", "assert", "(", "!", "DL", ".", "isFatPointer", "(", "ValueTy", ")", "&&", "\"Should not be handled here!\"", ")", ";", "if", "(", "ValueTy", "->", "isPointerTy", "(", ")", ")", "return", "Builder", ".", "CreateIntToPtr", "(", "Trunc", ",", "ValueTy", ")", ";", "return", "Builder", ".", "CreateBitCast", "(", "Trunc", ",", "ValueTy", ")", ";", "}", ""], "natrual_language": ["Perform", "a", "load-linked", "operation", "on", "Addr", ",", "returning", "a", "``", "Value", "*", "''", "with", "the", "corresponding", "pointee", "type", "."], "TS_V_token": ["AArch64", "AArch64", "128", "Intrinsic::ID", "Intrinsic::aarch64_ldaxp", "Intrinsic::aarch64_ldxp", "Intrinsic::getDeclaration", "\"lohi\"", "0", "\"lo\"", "1", "\"hi\"", "\"lo64\"", "\"hi64\"", "64", "\"val64\"", "Intrinsic::ID", "Intrinsic::aarch64_ldaxr", "Intrinsic::aarch64_ldxr", "Intrinsic::getDeclaration", "\"Should not be handled here!\""], "File": "AArch64ISelLowering89", "Func": "emitLoadLinked", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12690, "Length": 371, "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", ")", ";", "Reserved", ".", "set", "(", "SystemZ", "::", "A0", ")", ";", "Reserved", ".", "set", "(", "SystemZ", "::", "A1", ")", ";", "Reserved", ".", "set", "(", "SystemZ", "::", "FPC", ")", ";", "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", "SystemZ::A0", "SystemZ::A1", "SystemZ::FPC"], "File": "SystemZRegisterInfo15", "Func": "getReservedRegs", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12691, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMRange", "getLocRange", "(", ")", "const", "{", "return", "SMRange", "(", "StartLoc", ",", "EndLoc", ")", ";", "}", ""], "natrual_language": ["getLocRange", "-", "Get", "the", "range", "between", "the", "first", "and", "last", "token", "of", "this", "operand", "."], "TS_V_token": ["PowerPC"], "File": "PPCAsmParser (2)3", "Func": "getLocRange", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12692, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "dump", "(", ")", "{", "errs", "(", ")", "<<", "\"DCPU16ISelAddressMode \"", "<<", "this", "<<", "'\\n'", ";", "if", "(", "BaseType", "==", "RegBase", "&&", "Base", ".", "Reg", ".", "getNode", "(", ")", "!=", "0", ")", "{", "errs", "(", ")", "<<", "\"Base.Reg \"", ";", "Base", ".", "Reg", ".", "getNode", "(", ")", "->", "dump", "(", ")", ";", "}", "else", "if", "(", "BaseType", "==", "FrameIndexBase", ")", "{", "errs", "(", ")", "<<", "\" Base.FrameIndex \"", "<<", "Base", ".", "FrameIndex", "<<", "'\\n'", ";", "}", "errs", "(", ")", "<<", "\" Disp \"", "<<", "Disp", "<<", "'\\n'", ";", "if", "(", "GV", ")", "{", "errs", "(", ")", "<<", "\"GV \"", ";", "GV", "->", "dump", "(", ")", ";", "}", "else", "if", "(", "CP", ")", "{", "errs", "(", ")", "<<", "\" CP \"", ";", "CP", "->", "dump", "(", ")", ";", "errs", "(", ")", "<<", "\" Align\"", "<<", "Align", "<<", "'\\n'", ";", "}", "else", "if", "(", "ES", ")", "{", "errs", "(", ")", "<<", "\"ES \"", ";", "errs", "(", ")", "<<", "ES", "<<", "'\\n'", ";", "}", "else", "if", "(", "JT", "!=", "-", "1", ")", "errs", "(", ")", "<<", "\" JT\"", "<<", "JT", "<<", "\" Align\"", "<<", "Align", "<<", "'\\n'", ";", "}", ""], "natrual_language": ["Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "."], "TS_V_token": ["Dcpu16", "\"DCPU16ISelAddressMode \"", "0", "\"Base.Reg \"", "\" Base.FrameIndex \"", "\" Disp \"", "\"GV \"", "\" CP \"", "\" Align\"", "\"ES \"", "1", "\" JT\"", "\" Align\""], "File": "Dcpu16ISelDAGToDAG", "Func": "dump", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12693, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "DLXFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXFrameLowering", "Func": "emitEpilogue", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12694, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_sim_wait_reg", "(", "struct", "mips_sim", "*", "state", ",", "rtx", "insn", ",", "rtx", "reg", ")", "{", "unsigned", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "HARD_REGNO_NREGS", "(", "REGNO", "(", "reg", ")", ",", "GET_MODE", "(", "reg", ")", ")", ";", "i", "++", ")", "if", "(", "state", "->", "last_set", "[", "REGNO", "(", "reg", ")", "+", "i", "]", ".", "insn", "!=", "0", ")", "{", "unsigned", "int", "t", ";", "t", "=", "state", "->", "last_set", "[", "REGNO", "(", "reg", ")", "+", "i", "]", ".", "time", ";", "t", "+=", "insn_latency", "(", "state", "->", "last_set", "[", "REGNO", "(", "reg", ")", "+", "i", "]", ".", "insn", ",", "insn", ")", ";", "while", "(", "state", "->", "time", "<", "t", ")", "mips_sim_next_cycle", "(", "state", ")", ";", "}", "}", ""], "natrual_language": ["Advance", "simulation", "state", "STATE", "until", "instruction", "INSN", "can", "read", "register", "REG", "."], "TS_V_token": ["mips", "0", "0"], "File": "mips3", "Func": "mips_sim_wait_reg", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12695, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "std", "::", "unique_ptr", "<", "AArch64Operand", ">", "CreateReg", "(", "unsigned", "RegNum", ",", "RegKind", "Kind", ",", "unsigned", "ElementWidth", ",", "SMLoc", "S", ",", "SMLoc", "E", ",", "MCContext", "&", "Ctx", ")", "{", "auto", "Op", "=", "make_unique", "<", "AArch64Operand", ">", "(", "k_Register", ",", "Ctx", ")", ";", "Op", "->", "Reg", ".", "RegNum", "=", "RegNum", ";", "Op", "->", "Reg", ".", "ElementWidth", "=", "ElementWidth", ";", "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": "AArch64AsmParser18", "Func": "CreateReg", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12696, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "SystemZAddressingMode", "::", "AddrForm", "Form", ";", "SystemZAddressingMode", "::", "DispRange", "DispRange", ";", "SDValue", "Base", ",", "Disp", ",", "Index", ";", "switch", "(", "ConstraintID", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected asm memory constraint\"", ")", ";", "case", "InlineAsm", "::", "Constraint_i", ":", "case", "InlineAsm", "::", "Constraint_Q", ":", "Form", "=", "SystemZAddressingMode", "::", "FormBD", ";", "DispRange", "=", "SystemZAddressingMode", "::", "Disp12Only", ";", "break", ";", "case", "InlineAsm", "::", "Constraint_R", ":", "Form", "=", "SystemZAddressingMode", "::", "FormBDXNormal", ";", "DispRange", "=", "SystemZAddressingMode", "::", "Disp12Only", ";", "break", ";", "case", "InlineAsm", "::", "Constraint_S", ":", "Form", "=", "SystemZAddressingMode", "::", "FormBD", ";", "DispRange", "=", "SystemZAddressingMode", "::", "Disp20Only", ";", "break", ";", "case", "InlineAsm", "::", "Constraint_T", ":", "case", "InlineAsm", "::", "Constraint_m", ":", "Form", "=", "SystemZAddressingMode", "::", "FormBDXNormal", ";", "DispRange", "=", "SystemZAddressingMode", "::", "Disp20Only", ";", "break", ";", "}", "if", "(", "selectBDXAddr", "(", "Form", ",", "DispRange", ",", "Op", ",", "Base", ",", "Disp", ",", "Index", ")", ")", "{", "const", "TargetRegisterClass", "*", "TRC", "=", "Subtarget", "->", "getRegisterInfo", "(", ")", "->", "getPointerRegClass", "(", "*", "MF", ")", ";", "SDLoc", "DL", "(", "Base", ")", ";", "SDValue", "RC", "=", "CurDAG", "->", "getTargetConstant", "(", "TRC", "->", "getID", "(", ")", ",", "DL", ",", "MVT", "::", "i32", ")", ";", "if", "(", "Base", ".", "getOpcode", "(", ")", "!=", "ISD", "::", "TargetFrameIndex", "&&", "Base", ".", "getOpcode", "(", ")", "!=", "ISD", "::", "Register", ")", "{", "Base", "=", "SDValue", "(", "CurDAG", "->", "getMachineNode", "(", "TargetOpcode", "::", "COPY_TO_REGCLASS", ",", "DL", ",", "Base", ".", "getValueType", "(", ")", ",", "Base", ",", "RC", ")", ",", "0", ")", ";", "}", "if", "(", "Index", ".", "getOpcode", "(", ")", "!=", "ISD", "::", "Register", ")", "{", "Index", "=", "SDValue", "(", "CurDAG", "->", "getMachineNode", "(", "TargetOpcode", "::", "COPY_TO_REGCLASS", ",", "DL", ",", "Index", ".", "getValueType", "(", ")", ",", "Index", ",", "RC", ")", ",", "0", ")", ";", "}", "OutOps", ".", "push_back", "(", "Base", ")", ";", "OutOps", ".", "push_back", "(", "Disp", ")", ";", "OutOps", ".", "push_back", "(", "Index", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZAddressingMode::AddrForm", "SystemZAddressingMode::DispRange", "\"Unexpected asm memory constraint\"", "SystemZAddressingMode::FormBD", "SystemZAddressingMode::Disp12Only", "SystemZAddressingMode::FormBDXNormal", "SystemZAddressingMode::Disp12Only", "SystemZAddressingMode::FormBD", "SystemZAddressingMode::Disp20Only", "SystemZAddressingMode::FormBDXNormal", "SystemZAddressingMode::Disp20Only", "MVT::i32", "ISD::TargetFrameIndex", "ISD::Register", "0", "ISD::Register", "0"], "File": "SystemZISelDAGToDAG25", "Func": "SelectInlineAsmMemoryOperand", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12697, "Length": 323, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "find_mem_ref", "(", "rtx", "pat", ",", "rtx", "*", "mem_ref", ")", "{", "const", "char", "*", "fmt", ";", "int", "i", ",", "j", ";", "if", "(", "tie_operand", "(", "pat", ",", "VOIDmode", ")", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "MEM", ")", "{", "*", "mem_ref", "=", "pat", ";", "return", "true", ";", "}", "fmt", "=", "GET_RTX_FORMAT", "(", "GET_CODE", "(", "pat", ")", ")", ";", "for", "(", "i", "=", "GET_RTX_LENGTH", "(", "GET_CODE", "(", "pat", ")", ")", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "if", "(", "fmt", "[", "i", "]", "==", "'e'", ")", "{", "if", "(", "find_mem_ref", "(", "XEXP", "(", "pat", ",", "i", ")", ",", "mem_ref", ")", ")", "return", "true", ";", "}", "else", "if", "(", "fmt", "[", "i", "]", "==", "'E'", ")", "for", "(", "j", "=", "XVECLEN", "(", "pat", ",", "i", ")", "-", "1", ";", "j", ">=", "0", ";", "j", "--", ")", "{", "if", "(", "find_mem_ref", "(", "XVECEXP", "(", "pat", ",", "i", ",", "j", ")", ",", "mem_ref", ")", ")", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Determine", "if", "PAT", "refers", "to", "memory", ".", "If", "so", ",", "set", "MEM_REF", "to", "the", "MEM", "rtx", "and", "return", "true", "."], "TS_V_token": ["rs6000", "1", "0", "1", "0"], "File": "rs60004", "Func": "find_mem_ref", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12698, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SystemZSubtarget", "&", "SystemZSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "std", "::", "string", "CPUName", "=", "CPU", ";", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", "=", "\"generic\"", ";", "if", "(", "CPUName", "==", "\"generic\"", ")", "CPUName", "=", "sys", "::", "getHostCPUName", "(", ")", ";", "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\"", "\"generic\""], "File": "SystemZSubtarget10", "Func": "initializeSubtargetDependencies", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12699, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rid_int128", "(", "void", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "NUM_INT_N_ENTS", ";", "i", "++", ")", "if", "(", "int_n_enabled_p", "[", "i", "]", "&&", "int_n_data", "[", "i", "]", ".", "bitsize", "==", "128", ")", "return", "RID_INT_N_0", "+", "i", ";", "return", "RID_MAX", "+", "1", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "find", "out", "which", "RID_INT_N_", "*", "code", "is", "the", "one", "for", "__int128", ",", "if", "any", ".", "Returns", "RID_MAX+1", "if", "none", "apply", ",", "which", "is", "safe", "(", "for", "our", "purposes", ",", "since", "we", "always", "expect", "to", "have", "__int128", ")", "to", "compare", "against", "."], "TS_V_token": ["powerpcspe", "0", "128", "1"], "File": "powerpcspe-c", "Func": "rid_int128", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12700, "Length": 50, "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", "(", "GET_CODE", "(", "op", ")", "==", "SUBREG", ")", "{", "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": "i3864", "Func": "ix86_validate_address_register", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12701, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_function_value", "(", "const_tree", "valtype", ",", "const_tree", "fntype_or_decl", ",", "bool", ")", "{", "machine_mode", "mode", ",", "orig_mode", ";", "orig_mode", "=", "TYPE_MODE", "(", "valtype", ")", ";", "mode", "=", "type_natural_mode", "(", "valtype", ",", "NULL", ",", "true", ")", ";", "return", "ix86_function_value_1", "(", "valtype", ",", "fntype_or_decl", ",", "orig_mode", ",", "mode", ")", ";", "}", ""], "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", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_function_value", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12702, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "buildOutlinedFrame", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineFunction", "&", "MF", ",", "const", "outliner", "::", "TargetCostInfo", "&", "TCI", ")", "const", "{", "if", "(", "TCI", ".", "FrameConstructionID", "==", "MachineOutlinerTailCall", ")", "return", ";", "MachineInstr", "*", "retq", "=", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "X86", "::", "RETQ", ")", ")", ";", "MBB", ".", "insert", "(", "MBB", ".", "end", "(", ")", ",", "retq", ")", ";", "}", ""], "natrual_language": ["Insert", "a", "custom", "frame", "for", "outlined", "functions", "."], "TS_V_token": ["X86", "X86", "X86::RETQ"], "File": "X86InstrInfo102", "Func": "buildOutlinedFrame", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12703, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VETargetLowering", "::", "CanLowerReturn", "(", "CallingConv", "::", "ID", "CallConv", ",", "MachineFunction", "&", "MF", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "LLVMContext", "&", "Context", ")", "const", "{", "CCAssignFn", "*", "RetCC", "=", "getReturnCC", "(", "CallConv", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "RVLocs", ",", "Context", ")", ";", "return", "CCInfo", ".", "CheckReturn", "(", "Outs", ",", "RetCC", ")", ";", "}", ""], "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": ["VE", "VE", "ISD::OutputArg", "16"], "File": "VEISelLowering1", "Func": "CanLowerReturn", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12704, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetMachine", "::", "addPreRegAlloc", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "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": "MipsTargetMachine", "Func": "addPreRegAlloc", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12705, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmBackend", "::", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ")", "const", "{", "if", "(", "getRelaxedOpcodeBranch", "(", "Inst", ",", "false", ")", "!=", "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": ["X86", "X86", "1"], "File": "X86AsmBackend (2)", "Func": "mayNeedRelaxation", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12706, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "lookup_sve_type_attribute", "(", "const_tree", "type", ")", "{", "if", "(", "type", "==", "error_mark_node", ")", "return", "NULL_TREE", ";", "return", "lookup_attribute", "(", "\"SVE type\"", ",", "TYPE_ATTRIBUTES", "(", "type", ")", ")", ";", "}", ""], "natrual_language": ["If", "TYPE", "is", "an", "ABI-defined", "SVE", "type", ",", "return", "its", "attribute", "descriptor", ",", "otherwise", "return", "null", "."], "TS_V_token": ["aarch64", "\"SVE type\""], "File": "aarch64-sve-builtins", "Func": "lookup_sve_type_attribute", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12707, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_simd_dup_constant", "(", "rtx", "vals", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "vals", ")", ";", "machine_mode", "inner_mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "rtx", "x", ";", "if", "(", "!", "const_vec_duplicate_p", "(", "vals", ",", "&", "x", ")", ")", "return", "NULL_RTX", ";", "x", "=", "copy_to_mode_reg", "(", "inner_mode", ",", "x", ")", ";", "return", "gen_vec_duplicate", "(", "mode", ",", "x", ")", ";", "}", ""], "natrual_language": ["If", "VALS", "is", "a", "vector", "constant", "that", "can", "be", "loaded", "into", "a", "register", "using", "DUP", ",", "generate", "instructions", "to", "do", "so", "and", "return", "an", "RTX", "to", "assign", "to", "the", "register", ".", "Otherwise", "return", "NULL_RTX", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_simd_dup_constant", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12708, "Length": 59, "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", ";", "unsigned", "Flags", "=", "GV", "->", "hasDLLImportStorageClass", "(", ")", "?", "AArch64II", "::", "MO_DLLIMPORT", ":", "AArch64II", "::", "MO_NO_FLAG", ";", "if", "(", "!", "TM", ".", "shouldAssumeDSOLocal", "(", "*", "GV", "->", "getParent", "(", ")", ",", "GV", ")", ")", "return", "AArch64II", "::", "MO_GOT", "|", "Flags", ";", "if", "(", "(", "useSmallAddressing", "(", ")", "||", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Tiny", ")", "&&", "GV", "->", "hasExternalWeakLinkage", "(", ")", ")", "return", "AArch64II", "::", "MO_GOT", "|", "Flags", ";", "return", "Flags", ";", "}", ""], "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_DLLIMPORT", "AArch64II::MO_NO_FLAG", "AArch64II::MO_GOT", "AArch64II::MO_GOT"], "File": "AArch64Subtarget32", "Func": "ClassifyGlobalReference", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12709, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "&", "LiveRangeShrinkID", ")", ";", "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": "X86TargetMachine18", "Func": "addPreRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12710, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TeeRISCAsmPrinter", "::", "emitFrameDirective", "(", ")", "{", "if", "(", "!", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "return", ";", "const", "TargetRegisterInfo", "&", "RI", "=", "*", "TM", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "stkReg", "=", "RI", ".", "getFrameRegister", "(", "*", "MF", ")", ";", "unsigned", "retReg", "=", "RI", ".", "getRARegister", "(", ")", ";", "unsigned", "stkSze", "=", "MF", "->", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "\"\\t.frame\\t\"", "+", "Twine", "(", "TeeRISCInstPrinter", "::", "getRegisterName", "(", "stkReg", ")", ")", "+", "\", \"", "+", "Twine", "(", "stkSze", ")", "+", "\", \"", "+", "Twine", "(", "TeeRISCInstPrinter", "::", "getRegisterName", "(", "retReg", ")", ")", ")", ";", "}", ""], "natrual_language": ["Frame", "Directive", "."], "TS_V_token": ["TeeRISC", "TeeRISC", "\"\\t.frame\\t\"", "TeeRISC", "\", \"", "\", \"", "TeeRISC"], "File": "TeeRISCAsmPrinter", "Func": "emitFrameDirective", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12711, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "setKind", "(", "BaseKind", "K", ")", "{", "Kind", "=", "K", ";", "}", ""], "natrual_language": ["Setter", "for", "the", "kind", "of", "this", "node", "."], "TS_V_token": ["Mips"], "File": "MipsFastISel", "Func": "setKind", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12712, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0PassConfig", "::", "addPreEmitPass", "(", ")", "{", "Cpu0TargetMachine", "&", "TM", "=", "getCpu0TargetMachine", "(", ")", ";", "addPass", "(", "createCpu0LongBranchPass", "(", "TM", ")", ")", ";", "return", ";", "}", ""], "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"], "File": "Cpu0TargetMachine", "Func": "addPreEmitPass", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12713, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "DCPU16RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "DCPU16", "::", "J", ":", "DCPU16", "::", "SP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["Dcpu16", "DCPU16", "DCPU16::J", "DCPU16::SP"], "File": "Dcpu16RegisterInfo", "Func": "getFrameRegister", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12714, "Length": 44, "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", ":", "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", "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": "ARMBaseInstrInfo (2)", "Func": "isStoreToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12715, "Length": 355, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "pru_libcall_value", "(", "machine_mode", "mode", ",", "const_rtx", "fun", "ATTRIBUTE_UNUSED", ")", "{", "return", "gen_rtx_REG", "(", "mode", ",", "FIRST_RETVAL_REGNUM", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LIBCALL_VALUE", "."], "TS_V_token": ["pru"], "File": "pru", "Func": "pru_libcall_value", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12716, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1FrameInfo", "::", "hasReservedCallFrame", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "FFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "CFSize", "=", "FFI", "->", "getMaxCallFrameSize", "(", ")", ";", "if", "(", "CFSize", ">=", "(", "(", "1", "<<", "8", ")", "-", "1", ")", "*", "4", "/", "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", "1", "8", "1", "4", "2"], "File": "Thumb1FrameInfo", "Func": "hasReservedCallFrame", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12717, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsPreLegalizerCombiner", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "MF", ".", "getProperties", "(", ")", ".", "hasProperty", "(", "MachineFunctionProperties", "::", "Property", "::", "FailedISel", ")", ")", "return", "false", ";", "auto", "*", "TPC", "=", "&", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ";", "MipsPreLegalizerCombinerInfo", "PCInfo", ";", "Combiner", "C", "(", "PCInfo", ",", "TPC", ")", ";", "return", "C", ".", "combineMachineInstrs", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsPreLegalizerCombiner1", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12718, "Length": 62, "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": ["Mips"], "File": "MipsSubtarget (2)1", "Func": "getInstrItineraryData", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12719, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetObjectFile", "::", "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": ["Mips", "Mips", "\".sdata\"", "\".sbss\""], "File": "MipsTargetObjectFile13", "Func": "Initialize", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12720, "Length": 83, "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": 12721, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "do_load_for_compare", "(", "rtx", "reg", ",", "rtx", "mem", ",", "machine_mode", "mode", ")", "{", "switch", "(", "GET_MODE", "(", "reg", ")", ")", "{", "case", "E_DImode", ":", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "emit_insn", "(", "gen_zero_extendqidi2", "(", "reg", ",", "mem", ")", ")", ";", "break", ";", "case", "E_HImode", ":", "{", "rtx", "src", "=", "mem", ";", "if", "(", "!", "BYTES_BIG_ENDIAN", ")", "{", "src", "=", "gen_reg_rtx", "(", "HImode", ")", ";", "emit_insn", "(", "gen_bswaphi2", "(", "src", ",", "mem", ")", ")", ";", "}", "emit_insn", "(", "gen_zero_extendhidi2", "(", "reg", ",", "src", ")", ")", ";", "break", ";", "}", "case", "E_SImode", ":", "{", "rtx", "src", "=", "mem", ";", "if", "(", "!", "BYTES_BIG_ENDIAN", ")", "{", "src", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_bswapsi2", "(", "src", ",", "mem", ")", ")", ";", "}", "emit_insn", "(", "gen_zero_extendsidi2", "(", "reg", ",", "src", ")", ")", ";", "}", "break", ";", "case", "E_DImode", ":", "if", "(", "!", "BYTES_BIG_ENDIAN", ")", "emit_insn", "(", "gen_bswapdi2", "(", "reg", ",", "mem", ")", ")", ";", "else", "emit_insn", "(", "gen_movdi", "(", "reg", ",", "mem", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "break", ";", "case", "E_SImode", ":", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "emit_insn", "(", "gen_zero_extendqisi2", "(", "reg", ",", "mem", ")", ")", ";", "break", ";", "case", "E_HImode", ":", "{", "rtx", "src", "=", "mem", ";", "if", "(", "!", "BYTES_BIG_ENDIAN", ")", "{", "src", "=", "gen_reg_rtx", "(", "HImode", ")", ";", "emit_insn", "(", "gen_bswaphi2", "(", "src", ",", "mem", ")", ")", ";", "}", "emit_insn", "(", "gen_zero_extendhisi2", "(", "reg", ",", "src", ")", ")", ";", "break", ";", "}", "case", "E_SImode", ":", "if", "(", "!", "BYTES_BIG_ENDIAN", ")", "emit_insn", "(", "gen_bswapsi2", "(", "reg", ",", "mem", ")", ")", ";", "else", "emit_insn", "(", "gen_movsi", "(", "reg", ",", "mem", ")", ")", ";", "break", ";", "case", "E_DImode", ":", "gcc_unreachable", "(", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Figure", "out", "the", "correct", "instructions", "to", "generate", "to", "load", "data", "for", "block", "compare", ".", "MODE", "is", "used", "for", "the", "read", "from", "memory", ",", "and", "data", "is", "zero", "extended", "if", "REG", "is", "wider", "than", "MODE", ".", "If", "LE", "code", "is", "being", "generated", ",", "bswap", "loads", "are", "used", ".", "REG", "is", "the", "destination", "register", "to", "move", "the", "data", "into", ".", "MEM", "is", "the", "memory", "block", "being", "read", ".", "MODE", "is", "the", "mode", "of", "memory", "to", "use", "for", "the", "read", "."], "TS_V_token": ["rs6000"], "File": "rs6000-string2", "Func": "do_load_for_compare", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12722, "Length": 305, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createSparcDelaySlotFillerPass", "(", "getSparcTargetMachine", "(", ")", ")", ")", ";", "}", ""], "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"], "File": "SparcTargetMachine1", "Func": "addPreEmitPass", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12723, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "CAHPTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "TargetPassConfig", "(", "*", "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"], "File": "CAHPTargetMachine1", "Func": "createPassConfig", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12724, "Length": 22, "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": ["AArch64", "0", "0", "0", "1", "0", "1"], "File": "AArch64FrameLowering45", "Func": "estimateStackSize", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12725, "Length": 297, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LC2200AsmParser", "::", "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": ["LC2200", "LC2200", "\"Error Parsing Instruction\""], "File": "LC2200AsmParser", "Func": "MatchAndEmitInstruction", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12726, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "CSKYAsmParser", "::", "validateTargetOperandClass", "(", "MCParsedAsmOperand", "&", "AsmOp", ",", "unsigned", "Kind", ")", "{", "CSKYOperand", "&", "Op", "=", "static_cast", "<", "CSKYOperand", "&", ">", "(", "AsmOp", ")", ";", "if", "(", "!", "Op", ".", "isReg", "(", ")", ")", "return", "Match_InvalidOperand", ";", "MCRegister", "Reg", "=", "Op", ".", "getReg", "(", ")", ";", "if", "(", "CSKYMCRegisterClasses", "[", "CSKY", "::", "FPR32RegClassID", "]", ".", "contains", "(", "Reg", ")", ")", "{", "if", "(", "Kind", "==", "MCK_FPR64", "||", "Kind", "==", "MCK_sFPR64", ")", "{", "Op", ".", "Reg", ".", "RegNum", "=", "convertFPR32ToFPR64", "(", "Reg", ")", ";", "if", "(", "Kind", "==", "MCK_sFPR64", "&&", "(", "Op", ".", "Reg", ".", "RegNum", "<", "CSKY", "::", "F0_64", "||", "Op", ".", "Reg", ".", "RegNum", ">", "CSKY", "::", "F15_64", ")", ")", "return", "Match_InvalidRegOutOfRange", ";", "if", "(", "Kind", "==", "MCK_FPR64", "&&", "(", "Op", ".", "Reg", ".", "RegNum", "<", "CSKY", "::", "F0_64", "||", "Op", ".", "Reg", ".", "RegNum", ">", "CSKY", "::", "F31_64", ")", ")", "return", "Match_InvalidRegOutOfRange", ";", "return", "Match_Success", ";", "}", "}", "if", "(", "CSKYMCRegisterClasses", "[", "CSKY", "::", "GPRRegClassID", "]", ".", "contains", "(", "Reg", ")", ")", "{", "if", "(", "Kind", "==", "MCK_GPRPair", ")", "{", "Op", ".", "Reg", ".", "RegNum", "=", "MRI", "->", "getEncodingValue", "(", "Reg", ")", "+", "CSKY", "::", "R0_R1", ";", "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": ["CSKY", "CSKY", "CSKY", "CSKY", "CSKY", "CSKY::FPR32RegClassID", "CSKY::F0_64", "CSKY::F15_64", "CSKY::F0_64", "CSKY::F31_64", "CSKY", "CSKY::GPRRegClassID", "CSKY::R0_R1"], "File": "CSKYAsmParser4", "Func": "validateTargetOperandClass", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12727, "Length": 199, "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", "(", ")", ";", "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", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "SpillSlotOffset", "-=", "std", "::", "abs", "(", "SpillSlotOffset", ")", "%", "RC", "->", "getAlignment", "(", ")", ";", "SpillSlotOffset", "-=", "RC", "->", "getSize", "(", ")", ";", "int", "SlotIndex", "=", "MFI", "->", "CreateFixedSpillStackObject", "(", "RC", "->", "getSize", "(", ")", ",", "SpillSlotOffset", ")", ";", "CSI", "[", "i", "-", "1", "]", ".", "setFrameIdx", "(", "SlotIndex", ")", ";", "MFI", "->", "ensureMaxAlignment", "(", "RC", "->", "getAlignment", "(", ")", ")", ";", "}", "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", "0", "0", "1", "X86::GR64RegClass", "X86::GR32RegClass", "1", "X86", "0", "1", "X86::GR64RegClass", "X86::GR32RegClass", "1"], "File": "X86FrameLowering (2)4", "Func": "assignCalleeSavedSpillSlots", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12728, "Length": 384, "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": 12729, "Length": 286, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "mips_machine_reorg2", "(", "void", ")", "{", "mips_reorg_process_insns", "(", ")", ";", "if", "(", "!", "TARGET_MIPS16", "&&", "TARGET_EXPLICIT_RELOCS", "&&", "TUNE_MIPS4130", "&&", "TARGET_VR4130_ALIGN", ")", "vr4130_align_insns", "(", ")", ";", "if", "(", "mips_expand_ghost_gp_insns", "(", ")", ")", "mips_reorg_process_insns", "(", ")", ";", "mips16_split_long_branches", "(", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["We", "use", "a", "machine", "specific", "pass", "to", "do", "a", "second", "machine", "dependent", "reorg", "pass", "after", "delay", "branch", "scheduling", "."], "TS_V_token": ["mips", "0"], "File": "mips4", "Func": "mips_machine_reorg2", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12730, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "targetSchedulesPostRAScheduling", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["True", "if", "subtarget", "inserts", "the", "final", "scheduling", "pass", "on", "its", "own", "."], "TS_V_token": ["ARM"], "File": "ARMTargetMachine24", "Func": "targetSchedulesPostRAScheduling", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12731, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "push", "(", "struct", "unw_state_record", "*", "sr", ")", "{", "struct", "unw_reg_state", "*", "rs", "=", "alloc_reg_state", "(", ")", ";", "memcpy", "(", "rs", ",", "&", "sr", "->", "curr", ",", "sizeof", "(", "*", "rs", ")", ")", ";", "sr", "->", "curr", ".", "next", "=", "rs", ";", "}", ""], "natrual_language": ["Output", "RTL", "to", "push", "register", "RN", "onto", "the", "stack", "."], "TS_V_token": ["ia64"], "File": "unwind-ia64", "Func": "push", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12732, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86ExpandPseudo", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "STI", "=", "&", "static_cast", "<", "const", "X86Subtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "STI", "->", "getRegisterInfo", "(", ")", ";", "X86FI", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "X86FL", "=", "STI", "->", "getFrameLowering", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "Modified", "|=", "ExpandMBB", "(", "MBB", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86ExpandPseudo (2)1", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12733, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "reg_offset_addressing_ok_p", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "V16QImode", ":", "case", "V8HImode", ":", "case", "V4SFmode", ":", "case", "V4SImode", ":", "case", "V2DFmode", ":", "case", "V2DImode", ":", "case", "V1TImode", ":", "case", "TImode", ":", "case", "TFmode", ":", "case", "KFmode", ":", "if", "(", "VECTOR_MEM_ALTIVEC_OR_VSX_P", "(", "mode", ")", ")", "return", "mode_supports_vsx_dform_quad", "(", "mode", ")", ";", "break", ";", "case", "V4HImode", ":", "case", "V2SImode", ":", "case", "V1DImode", ":", "case", "V2SFmode", ":", "if", "(", "TARGET_PAIRED_FLOAT", ")", "return", "false", ";", "break", ";", "case", "SDmode", ":", "if", "(", "TARGET_NO_SDMODE_STACK", ")", "return", "false", ";", "break", ";", "default", ":", "break", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Subroutines", "of", "rs6000_legitimize_address", "and", "rs6000_legitimate_address_p", "."], "TS_V_token": ["rs6000"], "File": "rs60006", "Func": "reg_offset_addressing_ok_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12734, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "rounded_frame_size", "(", "int", "pushed", ")", "{", "HOST_WIDE_INT", "size", "=", "get_frame_size", "(", ")", ";", "HOST_WIDE_INT", "align", "=", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ";", "return", "(", "(", "size", "+", "pushed", "+", "align", "-", "1", ")", "&", "-", "align", ")", "-", "pushed", ";", "}", ""], "natrual_language": ["PUSHED", "is", "the", "number", "of", "bytes", "that", "are", "bing", "pushed", "on", "the", "stack", "for", "register", "saves", ".", "Return", "the", "frame", "size", ",", "padded", "appropriately", "so", "that", "the", "stack", "stays", "properly", "aligned", "."], "TS_V_token": ["sh", "1"], "File": "sh3", "Func": "rounded_frame_size", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12735, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_split_atomic_op", "(", "enum", "rtx_code", "code", ",", "rtx", "mem", ",", "rtx", "val", ",", "rtx", "before", ",", "rtx", "after", ",", "rtx", "scratch", ")", "{", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "rtx", "label", ",", "x", ",", "cond", "=", "gen_rtx_REG", "(", "CCmode", ",", "CR0_REGNO", ")", ";", "emit_insn", "(", "gen_memory_barrier", "(", ")", ")", ";", "label", "=", "gen_label_rtx", "(", ")", ";", "emit_label", "(", "label", ")", ";", "label", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "label", ")", ";", "if", "(", "before", "==", "NULL_RTX", ")", "before", "=", "scratch", ";", "emit_load_locked", "(", "mode", ",", "before", ",", "mem", ")", ";", "if", "(", "code", "==", "NOT", ")", "x", "=", "gen_rtx_AND", "(", "mode", ",", "gen_rtx_NOT", "(", "mode", ",", "before", ")", ",", "val", ")", ";", "else", "if", "(", "code", "==", "AND", ")", "x", "=", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "2", ",", "before", ",", "val", ")", ",", "UNSPEC_AND", ")", ";", "else", "x", "=", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "before", ",", "val", ")", ";", "if", "(", "after", "!=", "NULL_RTX", ")", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "after", ",", "copy_rtx", "(", "x", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "scratch", ",", "x", ")", ")", ";", "emit_store_conditional", "(", "mode", ",", "cond", ",", "mem", ",", "scratch", ")", ";", "x", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "cond", ",", "const0_rtx", ")", ";", "emit_unlikely_jump", "(", "x", ",", "label", ")", ";", "emit_insn", "(", "gen_isync", "(", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "an", "an", "atomic", "fetch-and-operate", "pattern", ".", "CODE", "is", "the", "binary", "operation", "to", "perform", ".", "MEM", "is", "the", "memory", "on", "which", "to", "operate", ".", "VAL", "is", "the", "second", "operand", "of", "the", "binary", "operator", ".", "BEFORE", "and", "AFTER", "are", "optional", "locations", "to", "return", "the", "value", "of", "MEM", "either", "before", "of", "after", "the", "operation", ".", "SCRATCH", "is", "a", "scratch", "register", "."], "TS_V_token": ["rs6000", "2"], "File": "rs60003", "Func": "rs6000_split_atomic_op", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12736, "Length": 223, "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": 12737, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86WinAllocaExpander", "::", "lower", "(", "MachineInstr", "*", "MI", ",", "Lowering", "L", ")", "{", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineBasicBlock", "*", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "*", "MI", ";", "int64_t", "Amount", "=", "getWinAllocaAmount", "(", "MI", ",", "MRI", ")", ";", "if", "(", "Amount", "==", "0", ")", "{", "MI", "->", "eraseFromParent", "(", ")", ";", "return", ";", "}", "bool", "Is64Bit", "=", "STI", "->", "is64Bit", "(", ")", ";", "assert", "(", "SlotSize", "==", "4", "||", "SlotSize", "==", "8", ")", ";", "unsigned", "RegA", "=", "(", "SlotSize", "==", "8", ")", "?", "X86", "::", "RAX", ":", "X86", "::", "EAX", ";", "switch", "(", "L", ")", "{", "case", "TouchAndSub", ":", "assert", "(", "Amount", ">=", "SlotSize", ")", ";", "BuildMI", "(", "*", "MBB", ",", "I", ",", "DL", ",", "TII", "->", "get", "(", "Is64Bit", "?", "X86", "::", "PUSH64r", ":", "X86", "::", "PUSH32r", ")", ")", ".", "addReg", "(", "RegA", ",", "RegState", "::", "Undef", ")", ";", "Amount", "-=", "SlotSize", ";", "if", "(", "!", "Amount", ")", "break", ";", "case", "Sub", ":", "assert", "(", "Amount", ">", "0", ")", ";", "if", "(", "Amount", "==", "SlotSize", ")", "{", "BuildMI", "(", "*", "MBB", ",", "I", ",", "DL", ",", "TII", "->", "get", "(", "Is64Bit", "?", "X86", "::", "PUSH64r", ":", "X86", "::", "PUSH32r", ")", ")", ".", "addReg", "(", "RegA", ",", "RegState", "::", "Undef", ")", ";", "}", "else", "{", "BuildMI", "(", "*", "MBB", ",", "I", ",", "DL", ",", "TII", "->", "get", "(", "getSubOpcode", "(", "Is64Bit", ",", "Amount", ")", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "break", ";", "case", "Probe", ":", "BuildMI", "(", "*", "MBB", ",", "MI", ",", "DL", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "RegA", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ";", "STI", "->", "getFrameLowering", "(", ")", "->", "emitStackProbe", "(", "*", "MBB", "->", "getParent", "(", ")", ",", "*", "MBB", ",", "MI", ",", "DL", ",", "false", ")", ";", "break", ";", "}", "unsigned", "AmountReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "for", "(", ";", ";", ")", "{", "if", "(", "!", "MRI", "->", "use_empty", "(", "AmountReg", ")", ")", "break", ";", "MachineInstr", "*", "AmountDef", "=", "MRI", "->", "getUniqueVRegDef", "(", "AmountReg", ")", ";", "if", "(", "!", "AmountDef", ")", "break", ";", "if", "(", "AmountDef", "->", "isCopy", "(", ")", "&&", "AmountDef", "->", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", ")", "AmountReg", "=", "AmountDef", "->", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", ";", "AmountDef", "->", "eraseFromParent", "(", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["The", "instruction", "is", "lowered", "."], "TS_V_token": ["X86", "X86", "0", "4", "8", "8", "X86::RAX", "X86::EAX", "X86::PUSH64r", "X86::PUSH32r", "0", "X86::PUSH64r", "X86::PUSH32r", "0", "0", "1", "1"], "File": "X86WinAllocaExpander1", "Func": "lower", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12738, "Length": 418, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "OR1KInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "if", "(", "OR1K", "::", "GPRRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "OR1K", "::", "ORI", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ".", "addImm", "(", "0", ")", ";", "else", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["OR1K", "OR1K", "OR1K::GPRRegClass", "OR1K::ORI", "0", "\"Impossible reg-to-reg copy\""], "File": "OR1KInstrInfo1", "Func": "copyPhysReg", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12739, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "empty", "(", ")", "const", "{", "return", "Edges", ".", "empty", "(", ")", ";", "}", ""], "natrual_language": ["Determine", "whether", "this", "version", "information", "is", "empty", "(", "e.g.", ",", "all", "version", "components", "are", "zero", ")", "."], "TS_V_token": ["X86"], "File": "X86DomainReassignment", "Func": "empty", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12740, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "iq2000_check_split", "(", "rtx", "address", ",", "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": "iq2000", "Func": "iq2000_check_split", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12741, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64Subtarget", "&", "AArch64Subtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "FS", ",", "StringRef", "CPUString", ")", "{", "if", "(", "CPUString", ".", "empty", "(", ")", ")", "CPUString", "=", "\"generic\"", ";", "ParseSubtargetFeatures", "(", "CPUString", ",", "CPUString", ",", "FS", ")", ";", "initializeProperties", "(", ")", ";", "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": ["AArch64", "AArch64", "AArch64", "\"generic\""], "File": "AArch64Subtarget (2)1", "Func": "initializeSubtargetDependencies", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12742, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMLoc", "getEndLoc", "(", ")", "const", "{", "return", "EndLoc", ";", "}", ""], "natrual_language": ["getEndLoc", "-", "Get", "the", "location", "of", "the", "last", "token", "of", "this", "operand", "."], "TS_V_token": ["OR1K"], "File": "OR1KAsmParser", "Func": "getEndLoc", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12743, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isProfitableToIfCvt", "(", "MachineBasicBlock", "&", "TMBB", ",", "unsigned", "TCycles", ",", "unsigned", "TExtra", ",", "MachineBasicBlock", "&", "FMBB", ",", "unsigned", "FCycles", ",", "unsigned", "FExtra", ",", "BranchProbability", "Probability", ")", "const", "{", "if", "(", "!", "TCycles", "||", "!", "FCycles", ")", "return", "false", ";", "const", "unsigned", "ScalingUpFactor", "=", "1024", ";", "unsigned", "TUnpredCost", "=", "Probability", ".", "scale", "(", "TCycles", "*", "ScalingUpFactor", ")", ";", "unsigned", "FUnpredCost", "=", "Probability", ".", "getCompl", "(", ")", ".", "scale", "(", "FCycles", "*", "ScalingUpFactor", ")", ";", "unsigned", "UnpredCost", "=", "TUnpredCost", "+", "FUnpredCost", ";", "UnpredCost", "+=", "1", "*", "ScalingUpFactor", ";", "UnpredCost", "+=", "Subtarget", ".", "getMispredictionPenalty", "(", ")", "*", "ScalingUpFactor", "/", "10", ";", "return", "(", "TCycles", "+", "FCycles", "+", "TExtra", "+", "FExtra", ")", "*", "ScalingUpFactor", "<=", "UnpredCost", ";", "}", ""], "natrual_language": ["Second", "variant", "of", "isProfitableToIfCvt", "."], "TS_V_token": ["ARM", "ARM", "1024", "1", "10"], "File": "ARMBaseInstrInfo (2)2", "Func": "isProfitableToIfCvt", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12744, "Length": 116, "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", "=", "std", "::", "make_unique", "<", "MipsSubtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "isLittle", ",", "*", "this", ",", "MaybeAlign", "(", "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": "MipsTargetMachine14", "Func": "getSubtargetImpl", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12745, "Length": 324, "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", ";", "}", "processInstruction", "(", "Inst", ",", "Operands", ")", ";", "forwardITPosition", "(", ")", ";", "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\"", ")", ";", "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!\"", ")", ";", "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": ["ARM", "ARM", "\"instruction requires a CPU feature not currently enabled\"", "0U", "\"too few operands for instruction\"", "ARM", "\"invalid operand for instruction\"", "\"invalid instruction\"", "\"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": "ARMAsmParser111", "Func": "MatchAndEmitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12746, "Length": 250, "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", ")", ")", "{", "ST", "=", "ST", ";", "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": "PPCISelLowering107", "Func": "getPreIndexedAddressParts", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12747, "Length": 244, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getLength", "(", ")", "{", "return", "CurType", ".", "Length", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "bytes", "of", "data", "in", "this", "stream", "."], "TS_V_token": ["X86"], "File": "X86AsmParser16", "Func": "getLength", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12748, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "nds32_expand_builtin_null_ftype_reg", "(", "enum", "insn_code", "icode", ",", "tree", "exp", ",", "rtx", "target", ")", "{", "struct", "expand_operand", "ops", "[", "1", "]", ";", "tree", "arg0", ";", "rtx", "value0", ";", "arg0", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "value0", "=", "expand_normal", "(", "arg0", ")", ";", "create_input_operand", "(", "&", "ops", "[", "0", "]", ",", "value0", ",", "TYPE_MODE", "(", "TREE_TYPE", "(", "arg0", ")", ")", ")", ";", "if", "(", "!", "maybe_expand_insn", "(", "icode", ",", "1", ",", "ops", ")", ")", "error", "(", "\"invalid argument to built-in function\"", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Function", "to", "expand", "builtin", "function", "for", "'", "[", "(", "unspec_volatile", "[", "(", "reg", ")", "]", ")", "]", "'", "."], "TS_V_token": ["nds32", "1", "0", "0", "1", "\"invalid argument to built-in function\""], "File": "nds32-intrinsic2", "Func": "nds32_expand_builtin_null_ftype_reg", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12749, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCRegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "const", "unsigned", "DefaultSafety", "=", "1", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "PPC", "::", "G8RC_NOX0RegClassID", ":", "case", "PPC", "::", "GPRC_NOR0RegClassID", ":", "case", "PPC", "::", "G8RCRegClassID", ":", "case", "PPC", "::", "GPRCRegClassID", ":", "{", "unsigned", "FP", "=", "TFI", "->", "hasFP", "(", "MF", ")", "?", "1", ":", "0", ";", "return", "32", "-", "FP", "-", "DefaultSafety", ";", "}", "case", "PPC", "::", "F8RCRegClassID", ":", "case", "PPC", "::", "F4RCRegClassID", ":", "case", "PPC", "::", "VRRCRegClassID", ":", "return", "32", "-", "DefaultSafety", ";", "case", "PPC", "::", "CRRCRegClassID", ":", "return", "8", "-", "DefaultSafety", ";", "}", "}", ""], "natrual_language": ["Return", "the", "register", "pressure", "``", "high", "water", "mark", "''", "for", "the", "specific", "register", "class", "."], "TS_V_token": ["PowerPC", "PPC", "1", "0", "PPC::G8RC_NOX0RegClassID", "PPC::GPRC_NOR0RegClassID", "PPC::G8RCRegClassID", "PPC::GPRCRegClassID", "1", "0", "32", "PPC::F8RCRegClassID", "PPC::F4RCRegClassID", "PPC::VRRCRegClassID", "32", "PPC::CRRCRegClassID", "8"], "File": "PPCRegisterInfo (2)", "Func": "getRegPressureLimit", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12750, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZMCAsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "const", "{", "for", "(", "uint64_t", "I", "=", "0", ";", "I", "!=", "Count", ";", "++", "I", ")", "OS", "<<", "'\\x7'", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["SystemZ", "SystemZ", "0"], "File": "SystemZMCAsmBackend10", "Func": "writeNopData", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12751, "Length": 41, "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": 12752, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "fixup_mova", "(", "rtx_insn", "*", "mova", ")", "{", "PUT_MODE", "(", "XEXP", "(", "MOVA_LABELREF", "(", "mova", ")", ",", "0", ")", ",", "QImode", ")", ";", "if", "(", "!", "flag_pic", ")", "{", "SET_SRC", "(", "PATTERN", "(", "mova", ")", ")", "=", "MOVA_LABELREF", "(", "mova", ")", ";", "INSN_CODE", "(", "mova", ")", "=", "-", "1", ";", "}", "else", "{", "rtx_insn", "*", "worker", "=", "mova", ";", "rtx_code_label", "*", "lab", "=", "gen_label_rtx", "(", ")", ";", "rtx", "wpat", ",", "wpat0", ",", "wpat1", ",", "wsrc", ",", "target", ",", "base", ",", "diff", ";", "do", "{", "worker", "=", "NEXT_INSN", "(", "worker", ")", ";", "gcc_assert", "(", "worker", "&&", "!", "LABEL_P", "(", "worker", ")", "&&", "!", "JUMP_P", "(", "worker", ")", ")", ";", "}", "while", "(", "NOTE_P", "(", "worker", ")", "||", "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", ";", "target", "=", "XVECEXP", "(", "SET_SRC", "(", "PATTERN", "(", "mova", ")", ")", ",", "0", ",", "0", ")", ";", "base", "=", "gen_rtx_LABEL_REF", "(", "Pmode", ",", "lab", ")", ";", "diff", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "2", ",", "target", ",", "base", ")", ",", "UNSPEC_SYMOFF", ")", ";", "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", "1", "0", "0", "0", "1", "0", "1", "0", "2", "0", "0", "1", "0", "0", "2", "1"], "File": "sh", "Func": "fixup_mova", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12753, "Length": 285, "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", "(", "as_a", "<", "rtx_insn", "*", ">", "(", "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": "sh", "Func": "fixup_addr_diff_vecs", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12754, "Length": 256, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_legitimize_const_move", "(", "machine_mode", "mode", ",", "rtx", "dest", ",", "rtx", "src", ")", "{", "rtx", "base", ",", "offset", ";", "if", "(", "splittable_const_int_operand", "(", "src", ",", "mode", ")", ")", "{", "mips_move_integer", "(", "dest", ",", "dest", ",", "INTVAL", "(", "src", ")", ")", ";", "return", ";", "}", "if", "(", "mips_split_symbol", "(", "dest", ",", "src", ",", "MAX_MACHINE_MODE", ",", "&", "src", ")", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "src", ")", ")", ";", "return", ";", "}", "if", "(", "mips_tls_symbol_p", "(", "src", ")", ")", "{", "mips_emit_move", "(", "dest", ",", "mips_legitimize_tls_address", "(", "src", ")", ")", ";", "return", ";", "}", "split_const", "(", "src", ",", "&", "base", ",", "&", "offset", ")", ";", "if", "(", "offset", "!=", "const0_rtx", "&&", "(", "targetm", ".", "cannot_force_const_mem", "(", "mode", ",", "src", ")", "||", "(", "!", "TARGET_MIPS16", "&&", "can_create_pseudo_p", "(", ")", ")", ")", ")", "{", "base", "=", "mips_force_temporary", "(", "dest", ",", "base", ")", ";", "mips_emit_move", "(", "dest", ",", "mips_add_offset", "(", "NULL", ",", "base", ",", "INTVAL", "(", "offset", ")", ")", ")", ";", "return", ";", "}", "src", "=", "force_const_mem", "(", "mode", ",", "src", ")", ";", "mips_split_symbol", "(", "dest", ",", "XEXP", "(", "src", ",", "0", ")", ",", "mode", ",", "&", "XEXP", "(", "src", ",", "0", ")", ")", ";", "mips_emit_move", "(", "dest", ",", "src", ")", ";", "}", ""], "natrual_language": ["Subroutine", "of", "mips_legitimize_move", ".", "Move", "constant", "SRC", "into", "register", "DEST", "given", "that", "SRC", "satisfies", "immediate_operand", "but", "does", "n't", "satisfy", "move_operand", "."], "TS_V_token": ["mips", "0", "0"], "File": "mips4", "Func": "mips_legitimize_const_move", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12755, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "builtin_quaternary_function_type", "(", "machine_mode", "mode_ret", ",", "machine_mode", "mode_arg0", ",", "machine_mode", "mode_arg1", ",", "machine_mode", "mode_arg2", ",", "machine_mode", "mode_arg3", ",", "enum", "rs6000_builtins", "builtin", ")", "{", "tree", "function_type", "=", "NULL", ";", "static", "tree", "v2udi_type", "=", "builtin_mode_to_type", "[", "V2DImode", "]", "[", "1", "]", ";", "static", "tree", "v16uqi_type", "=", "builtin_mode_to_type", "[", "V16QImode", "]", "[", "1", "]", ";", "static", "tree", "uchar_type", "=", "builtin_mode_to_type", "[", "QImode", "]", "[", "1", "]", ";", "static", "tree", "xxeval_type", "=", "build_function_type_list", "(", "v2udi_type", ",", "v2udi_type", ",", "v2udi_type", ",", "v2udi_type", ",", "uchar_type", ",", "NULL_TREE", ")", ";", "static", "tree", "xxpermx_type", "=", "build_function_type_list", "(", "v2udi_type", ",", "v2udi_type", ",", "v2udi_type", ",", "v16uqi_type", ",", "uchar_type", ",", "NULL_TREE", ")", ";", "switch", "(", "builtin", ")", "{", "case", "P10V_BUILTIN_XXEVAL", ":", "gcc_assert", "(", "(", "mode_ret", "==", "V2DImode", ")", "&&", "(", "mode_arg0", "==", "V2DImode", ")", "&&", "(", "mode_arg1", "==", "V2DImode", ")", "&&", "(", "mode_arg2", "==", "V2DImode", ")", "&&", "(", "mode_arg3", "==", "QImode", ")", ")", ";", "function_type", "=", "xxeval_type", ";", "break", ";", "case", "P10V_BUILTIN_VXXPERMX", ":", "gcc_assert", "(", "(", "mode_ret", "==", "V2DImode", ")", "&&", "(", "mode_arg0", "==", "V2DImode", ")", "&&", "(", "mode_arg1", "==", "V2DImode", ")", "&&", "(", "mode_arg2", "==", "V16QImode", ")", "&&", "(", "mode_arg3", "==", "QImode", ")", ")", ";", "function_type", "=", "xxpermx_type", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "function_type", ";", "}", ""], "natrual_language": ["Map", "types", "for", "builtin", "functions", "with", "an", "explicit", "return", "type", "and", "exactly", "4", "arguments", ".", "Functions", "with", "fewer", "than", "3", "arguments", "use", "builtin_function_type", ".", "The", "number", "of", "quaternary", "built-in", "functions", "is", "very", "small", ".", "Handle", "each", "case", "specially", "."], "TS_V_token": ["rs6000", "1", "1", "1"], "File": "rs6000-call1", "Func": "builtin_quaternary_function_type", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12756, "Length": 203, "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_FPImmediate", ":", "{", "assert", "(", "MO", ".", "getFPImm", "(", ")", "->", "isZero", "(", ")", "&&", "\"Only fp imm 0.0 is supported\"", ")", ";", "MCOp", "=", "MCOperand", "::", "CreateFPImm", "(", "0.0", ")", ";", "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", ",", "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!\"", "\"Only fp imm 0.0 is supported\"", "0.0"], "File": "AArch64MCInstLower25", "Func": "lowerOperand", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12757, "Length": 287, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PPCSubtarget", "&", "PPCSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "initializeEnvironment", "(", ")", ";", "resetSubtargetFeatures", "(", "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": ["PowerPC", "PPC", "PPC"], "File": "PPCSubtarget1", "Func": "initializeSubtargetDependencies", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12758, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isSplatValueForTargetNode", "(", "SDValue", "Op", ",", "const", "APInt", "&", "DemandedElts", ",", "APInt", "&", "UndefElts", ",", "unsigned", "Depth", ")", "const", "{", "unsigned", "NumElts", "=", "DemandedElts", ".", "getBitWidth", "(", ")", ";", "unsigned", "Opc", "=", "Op", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "case", "X86ISD", "::", "VBROADCAST", ":", "case", "X86ISD", "::", "VBROADCAST_LOAD", ":", "if", "(", "isTypeLegal", "(", "Op", ".", "getValueType", "(", ")", ".", "getVectorElementType", "(", ")", ")", ")", "{", "UndefElts", "=", "APInt", "::", "getNullValue", "(", "NumElts", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", "return", "TargetLowering", "::", "isSplatValueForTargetNode", "(", "Op", ",", "DemandedElts", ",", "UndefElts", ",", "Depth", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "vector", "Op", "has", "the", "same", "value", "across", "all", "DemandedElts", ",", "indicating", "any", "elements", "which", "may", "be", "undef", "in", "the", "output", "UndefElts", "."], "TS_V_token": ["X86", "X86", "X86ISD::VBROADCAST", "X86ISD::VBROADCAST_LOAD"], "File": "X86ISelLowering174", "Func": "isSplatValueForTargetNode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12759, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "getARMSubtarget", "(", ")", ".", "isThumb2", "(", ")", ")", "{", "if", "(", "!", "getARMSubtarget", "(", ")", ".", "prefers32BitThumb", "(", ")", ")", "PM", "->", "add", "(", "createThumb2SizeReductionPass", "(", ")", ")", ";", "addPass", "(", "UnpackMachineBundlesID", ")", ";", "}", "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", "ARM", "ARM"], "File": "ARMTargetMachine62", "Func": "addPreEmitPass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12760, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_conditional_register_usage", "(", "void", ")", "{", "if", "(", "!", "TARGET_DSP", ")", "{", "int", "regno", ";", "for", "(", "regno", "=", "DSP_ACC_REG_FIRST", ";", "regno", "<=", "DSP_ACC_REG_LAST", ";", "regno", "++", ")", "fixed_regs", "[", "regno", "]", "=", "call_used_regs", "[", "regno", "]", "=", "1", ";", "}", "if", "(", "!", "TARGET_HARD_FLOAT", ")", "{", "int", "regno", ";", "for", "(", "regno", "=", "FP_REG_FIRST", ";", "regno", "<=", "FP_REG_LAST", ";", "regno", "++", ")", "fixed_regs", "[", "regno", "]", "=", "call_used_regs", "[", "regno", "]", "=", "1", ";", "for", "(", "regno", "=", "ST_REG_FIRST", ";", "regno", "<=", "ST_REG_LAST", ";", "regno", "++", ")", "fixed_regs", "[", "regno", "]", "=", "call_used_regs", "[", "regno", "]", "=", "1", ";", "}", "else", "if", "(", "!", "ISA_HAS_8CC", ")", "{", "int", "regno", ";", "for", "(", "regno", "=", "ST_REG_FIRST", ";", "regno", "<=", "ST_REG_LAST", ";", "regno", "++", ")", "fixed_regs", "[", "regno", "]", "=", "call_used_regs", "[", "regno", "]", "=", "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", "(", "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", ")", "{", "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", ";", "}", "}", ""], "natrual_language": ["Implement", "CONDITIONAL_REGISTER_USAGE", "."], "TS_V_token": ["mips", "1", "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", "20", "24", "1", "21", "31", "2", "1"], "File": "mips3", "Func": "mips_conditional_register_usage", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12761, "Length": 333, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "fp_zero_operand", "(", "rtx", "op", ")", "{", "REAL_VALUE_TYPE", "r", ";", "if", "(", "GET_MODE", "(", "op", ")", "!=", "SFmode", ")", "return", "0", ";", "REAL_VALUE_FROM_CONST_DOUBLE", "(", "r", ",", "op", ")", ";", "return", "REAL_VALUES_EQUAL", "(", "r", ",", "dconst0", ")", "&&", "!", "REAL_VALUE_MINUS_ZERO", "(", "r", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "OP", "is", "a", "floating", "point", "value", "with", "value", "0.0", "."], "TS_V_token": ["sh", "0"], "File": "sh3", "Func": "fp_zero_operand", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12762, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Instruction", "*", "ARMTargetLowering", "::", "emitLeadingFence", "(", "IRBuilder", "<", ">", "&", "Builder", ",", "AtomicOrdering", "Ord", ",", "bool", "IsStore", ",", "bool", "IsLoad", ")", "const", "{", "if", "(", "!", "getInsertFencesForAtomic", "(", ")", ")", "return", "nullptr", ";", "switch", "(", "Ord", ")", "{", "case", "NotAtomic", ":", "case", "Unordered", ":", "llvm_unreachable", "(", "\"Invalid fence: unordered/non-atomic\"", ")", ";", "case", "Monotonic", ":", "case", "Acquire", ":", "return", "nullptr", ";", "case", "SequentiallyConsistent", ":", "if", "(", "!", "IsStore", ")", "return", "nullptr", ";", "case", "Release", ":", "case", "AcquireRelease", ":", "if", "(", "Subtarget", "->", "isSwift", "(", ")", ")", "return", "makeDMB", "(", "Builder", ",", "ARM_MB", "::", "ISHST", ")", ";", "else", "return", "makeDMB", "(", "Builder", ",", "ARM_MB", "::", "ISH", ")", ";", "}", "llvm_unreachable", "(", "\"Unknown fence ordering in emitLeadingFence\"", ")", ";", "}", ""], "natrual_language": ["Custom", "Lower", "{", "."], "TS_V_token": ["ARM", "ARM", "\"Invalid fence: unordered/non-atomic\"", "ARM_MB::ISHST", "ARM_MB::ISH", "\"Unknown fence ordering in emitLeadingFence\""], "File": "ARMISelLowering (2)2", "Func": "emitLeadingFence", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12763, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBank", "&", "AArch64RegisterBankInfo", "::", "getRegBankFromRegClass", "(", "const", "TargetRegisterClass", "&", "RC", ")", "const", "{", "switch", "(", "RC", ".", "getID", "(", ")", ")", "{", "case", "AArch64", "::", "FPR8RegClassID", ":", "case", "AArch64", "::", "FPR16RegClassID", ":", "case", "AArch64", "::", "FPR32RegClassID", ":", "case", "AArch64", "::", "FPR64RegClassID", ":", "case", "AArch64", "::", "FPR128RegClassID", ":", "case", "AArch64", "::", "FPR128_loRegClassID", ":", "case", "AArch64", "::", "DDRegClassID", ":", "case", "AArch64", "::", "DDDRegClassID", ":", "case", "AArch64", "::", "DDDDRegClassID", ":", "case", "AArch64", "::", "QQRegClassID", ":", "case", "AArch64", "::", "QQQRegClassID", ":", "case", "AArch64", "::", "QQQQRegClassID", ":", "return", "getRegBank", "(", "AArch64", "::", "FPRRegBankID", ")", ";", "case", "AArch64", "::", "GPR32commonRegClassID", ":", "case", "AArch64", "::", "GPR32RegClassID", ":", "case", "AArch64", "::", "GPR32spRegClassID", ":", "case", "AArch64", "::", "GPR32sponlyRegClassID", ":", "case", "AArch64", "::", "GPR32allRegClassID", ":", "case", "AArch64", "::", "GPR64commonRegClassID", ":", "case", "AArch64", "::", "GPR64RegClassID", ":", "case", "AArch64", "::", "GPR64spRegClassID", ":", "case", "AArch64", "::", "GPR64sponlyRegClassID", ":", "case", "AArch64", "::", "GPR64allRegClassID", ":", "case", "AArch64", "::", "tcGPR64RegClassID", ":", "case", "AArch64", "::", "WSeqPairsClassRegClassID", ":", "case", "AArch64", "::", "XSeqPairsClassRegClassID", ":", "return", "getRegBank", "(", "AArch64", "::", "GPRRegBankID", ")", ";", "case", "AArch64", "::", "CCRRegClassID", ":", "return", "getRegBank", "(", "AArch64", "::", "CCRegBankID", ")", ";", "default", ":", "llvm_unreachable", "(", "\"Register class not supported\"", ")", ";", "}", "}", ""], "natrual_language": ["Get", "a", "register", "bank", "that", "covers", "RC", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::FPR8RegClassID", "AArch64::FPR16RegClassID", "AArch64::FPR32RegClassID", "AArch64::FPR64RegClassID", "AArch64::FPR128RegClassID", "AArch64::FPR128_loRegClassID", "AArch64::DDRegClassID", "AArch64::DDDRegClassID", "AArch64::DDDDRegClassID", "AArch64::QQRegClassID", "AArch64::QQQRegClassID", "AArch64::QQQQRegClassID", "AArch64::FPRRegBankID", "AArch64::GPR32commonRegClassID", "AArch64::GPR32RegClassID", "AArch64::GPR32spRegClassID", "AArch64::GPR32sponlyRegClassID", "AArch64::GPR32allRegClassID", "AArch64::GPR64commonRegClassID", "AArch64::GPR64RegClassID", "AArch64::GPR64spRegClassID", "AArch64::GPR64sponlyRegClassID", "AArch64::GPR64allRegClassID", "AArch64::tcGPR64RegClassID", "AArch64::WSeqPairsClassRegClassID", "AArch64::XSeqPairsClassRegClassID", "AArch64::GPRRegBankID", "AArch64::CCRRegClassID", "AArch64::CCRegBankID", "\"Register class not supported\""], "File": "AArch64RegisterBankInfo22", "Func": "getRegBankFromRegClass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12764, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZHazardRecognizer", "::", "Reset", "(", ")", "{", "CurrGroupSize", "=", "0", ";", "clearProcResCounters", "(", ")", ";", "GrpCount", "=", "0", ";", "LastFPdOpCycleIdx", "=", "UINT_MAX", ";", "DEBUG", "(", "CurGroupDbg", "=", "\"\"", ";", ")", ";", "}", ""], "natrual_language": ["Reset", "the", "unwind", "opcode", "assembler", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "0", "\"\""], "File": "SystemZHazardRecognizer4", "Func": "Reset", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12765, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "arm_function_arg", "(", "CUMULATIVE_ARGS", "*", "pcum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "int", "named", ")", "{", "int", "nregs", ";", "if", "(", "TARGET_IWMMXT_ABI", "&&", "arm_vector_mode_supported_p", "(", "mode", ")", "&&", "pcum", "->", "named_count", ">", "pcum", "->", "nargs", "+", "1", ")", "{", "if", "(", "pcum", "->", "iwmmxt_nregs", "<=", "9", ")", "return", "gen_rtx_REG", "(", "mode", ",", "pcum", "->", "iwmmxt_nregs", "+", "FIRST_IWMMXT_REGNUM", ")", ";", "else", "{", "pcum", "->", "can_split", "=", "false", ";", "return", "NULL_RTX", ";", "}", "}", "if", "(", "pcum", "->", "nregs", "&", "1", "&&", "ARM_DOUBLEWORD_ALIGN", "&&", "arm_needs_doubleword_align", "(", "mode", ",", "type", ")", ")", "pcum", "->", "nregs", "++", ";", "if", "(", "mode", "==", "VOIDmode", ")", "return", "GEN_INT", "(", "pcum", "->", "call_cookie", ")", ";", "if", "(", "pcum", "->", "can_split", ")", "nregs", "=", "1", ";", "else", "nregs", "=", "ARM_NUM_REGS2", "(", "mode", ",", "type", ")", ";", "if", "(", "!", "named", "||", "pcum", "->", "nregs", "+", "nregs", ">", "NUM_ARG_REGS", ")", "return", "NULL_RTX", ";", "return", "gen_rtx_REG", "(", "mode", ",", "pcum", "->", "nregs", ")", ";", "}", ""], "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", ")", ".", "On", "the", "ARM", ",", "normally", "the", "first", "16", "bytes", "are", "passed", "in", "registers", "r0-r3", ";", "all", "other", "arguments", "are", "passed", "on", "the", "stack", ".", "If", "(", "NAMED", "==", "0", ")", "(", "which", "happens", "only", "in", "assign_parms", ",", "since", "TARGET_SETUP_INCOMING_VARARGS", "is", "defined", ")", ",", "say", "it", "is", "passed", "in", "the", "stack", "(", "function_prologue", "will", "indeed", "make", "it", "pass", "in", "the", "stack", "if", "necessary", ")", "."], "TS_V_token": ["arm", "1", "9", "1", "1"], "File": "arm3", "Func": "arm_function_arg", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12766, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "cpu_expand_builtin", "(", "enum", "rs6000_builtins", "fcode", ",", "tree", "exp", "ATTRIBUTE_UNUSED", ",", "rtx", "target", ")", "{", "if", "(", "fcode", "==", "RS6000_BUILTIN_CPU_INIT", ")", "return", "const0_rtx", ";", "if", "(", "target", "==", "0", "||", "GET_MODE", "(", "target", ")", "!=", "SImode", ")", "target", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "tree", "arg", "=", "TREE_OPERAND", "(", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ",", "0", ")", ";", "if", "(", "TREE_CODE", "(", "arg", ")", "!=", "STRING_CST", ")", "{", "error", "(", "\"builtin %s only accepts a string argument\"", ",", "rs6000_builtin_info", "[", "(", "size_t", ")", "fcode", "]", ".", "name", ")", ";", "return", "const0_rtx", ";", "}", "if", "(", "fcode", "==", "RS6000_BUILTIN_CPU_IS", ")", "{", "const", "char", "*", "cpu", "=", "TREE_STRING_POINTER", "(", "arg", ")", ";", "rtx", "cpuid", "=", "NULL_RTX", ";", "for", "(", "size_t", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "cpu_is_info", ")", ";", "i", "++", ")", "if", "(", "strcmp", "(", "cpu", ",", "cpu_is_info", "[", "i", "]", ".", "cpu", ")", "==", "0", ")", "{", "cpuid", "=", "GEN_INT", "(", "cpu_is_info", "[", "i", "]", ".", "cpuid", "+", "_DL_FIRST_PLATFORM", ")", ";", "break", ";", "}", "if", "(", "cpuid", "==", "NULL_RTX", ")", "{", "error", "(", "\"cpu %s is an invalid argument to builtin %s\"", ",", "cpu", ",", "rs6000_builtin_info", "[", "(", "size_t", ")", "fcode", "]", ".", "name", ")", ";", "return", "const0_rtx", ";", "}", "rtx", "platform", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx", "tcbmem", "=", "gen_const_mem", "(", "SImode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "gen_rtx_REG", "(", "Pmode", ",", "TLS_REGNUM", ")", ",", "GEN_INT", "(", "TCB_PLATFORM_OFFSET", ")", ")", ")", ";", "emit_move_insn", "(", "platform", ",", "tcbmem", ")", ";", "emit_insn", "(", "gen_eqsi3", "(", "target", ",", "platform", ",", "cpuid", ")", ")", ";", "}", "else", "if", "(", "fcode", "==", "RS6000_BUILTIN_CPU_SUPPORTS", ")", "{", "const", "char", "*", "hwcap", "=", "TREE_STRING_POINTER", "(", "arg", ")", ";", "rtx", "mask", "=", "NULL_RTX", ";", "int", "hwcap_offset", ";", "for", "(", "size_t", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "cpu_supports_info", ")", ";", "i", "++", ")", "if", "(", "strcmp", "(", "hwcap", ",", "cpu_supports_info", "[", "i", "]", ".", "hwcap", ")", "==", "0", ")", "{", "mask", "=", "GEN_INT", "(", "cpu_supports_info", "[", "i", "]", ".", "mask", ")", ";", "hwcap_offset", "=", "TCB_HWCAP_OFFSET", "(", "cpu_supports_info", "[", "i", "]", ".", "id", ")", ";", "break", ";", "}", "if", "(", "mask", "==", "NULL_RTX", ")", "{", "error", "(", "\"hwcap %s is an invalid argument to builtin %s\"", ",", "hwcap", ",", "rs6000_builtin_info", "[", "(", "size_t", ")", "fcode", "]", ".", "name", ")", ";", "return", "const0_rtx", ";", "}", "rtx", "tcb_hwcap", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx", "tcbmem", "=", "gen_const_mem", "(", "SImode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "gen_rtx_REG", "(", "Pmode", ",", "TLS_REGNUM", ")", ",", "GEN_INT", "(", "hwcap_offset", ")", ")", ")", ";", "emit_move_insn", "(", "tcb_hwcap", ",", "tcbmem", ")", ";", "rtx", "scratch1", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "scratch1", ",", "gen_rtx_AND", "(", "SImode", ",", "tcb_hwcap", ",", "mask", ")", ")", ")", ";", "rtx", "scratch2", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_eqsi3", "(", "scratch2", ",", "scratch1", ",", "const0_rtx", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "target", ",", "gen_rtx_XOR", "(", "SImode", ",", "scratch2", ",", "const1_rtx", ")", ")", ")", ";", "}", "cpu_builtin_p", "=", "true", ";", "emit_move_insn", "(", "target", ",", "GEN_INT", "(", "0", ")", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Expand", "the", "CPU", "builtin", "in", "FCODE", "and", "store", "the", "result", "in", "TARGET", "."], "TS_V_token": ["rs6000", "0", "0", "0", "\"builtin %s only accepts a string argument\"", "0", "0", "\"cpu %s is an invalid argument to builtin %s\"", "0", "0", "\"hwcap %s is an invalid argument to builtin %s\"", "0"], "File": "rs60005", "Func": "cpu_expand_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12767, "Length": 479, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64ConditionalCompares", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** AArch64 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": ["AArch64", "AArch64", "\"********** AArch64 Conditional Compares **********\\n\"", "\"********** Function: \""], "File": "AArch64ConditionalCompares", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12768, "Length": 179, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "isProfitableToHoist", "(", "Instruction", "*", "I", ")", "const", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "Instruction", "::", "FMul", ")", "return", "true", ";", "if", "(", "!", "I", "->", "hasOneUse", "(", ")", ")", "return", "true", ";", "Instruction", "*", "User", "=", "I", "->", "user_back", "(", ")", ";", "assert", "(", "User", "&&", "\"A single use instruction with no uses.\"", ")", ";", "if", "(", "User", "->", "getOpcode", "(", ")", "!=", "Instruction", "::", "FSub", "&&", "User", "->", "getOpcode", "(", ")", "!=", "Instruction", "::", "FAdd", ")", "return", "true", ";", "const", "TargetOptions", "&", "Options", "=", "getTargetMachine", "(", ")", ".", "Options", ";", "const", "Function", "*", "F", "=", "I", "->", "getFunction", "(", ")", ";", "const", "DataLayout", "&", "DL", "=", "F", "->", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "Type", "*", "Ty", "=", "User", "->", "getOperand", "(", "0", ")", "->", "getType", "(", ")", ";", "return", "!", "(", "isFMAFasterThanFMulAndFAdd", "(", "*", "F", ",", "Ty", ")", "&&", "isOperationLegalOrCustom", "(", "ISD", "::", "FMA", ",", "getValueType", "(", "DL", ",", "Ty", ")", ")", "&&", "(", "Options", ".", "AllowFPOpFusion", "==", "FPOpFusion", "::", "Fast", "||", "Options", ".", "UnsafeFPMath", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "profitable", "to", "hoist", "instruction", "in", "the", "then/else", "to", "before", "if", "."], "TS_V_token": ["PowerPC", "PPC", "\"A single use instruction with no uses.\"", "0", "ISD::FMA"], "File": "PPCISelLowering101", "Func": "isProfitableToHoist", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12769, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_check_zero_based_sve_index_immediate", "(", "rtx", "x", ")", "{", "rtx", "base", ",", "step", ";", "if", "(", "const_vec_series_p", "(", "x", ",", "&", "base", ",", "&", "step", ")", "&&", "base", "==", "const0_rtx", "&&", "aarch64_sve_index_immediate_p", "(", "step", ")", ")", "return", "step", ";", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Check", "whether", "X", "is", "a", "VEC_SERIES-like", "constant", "that", "starts", "at", "0", "and", "has", "a", "step", "in", "the", "range", "of", "INDEX", ".", "Return", "the", "index", "expression", "if", "so", ",", "otherwise", "return", "null", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_check_zero_based_sve_index_immediate", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12770, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "VETargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "(", "VEISD", "::", "NodeType", ")", "Opcode", ")", "{", "case", "VEISD", "::", "FIRST_NUMBER", ":", "break", ";", "case", "VEISD", "::", "RET_FLAG", ":", "return", "\"VEISD::RET_FLAG\"", ";", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["VE", "VE", "VEISD::NodeType", "VEISD::FIRST_NUMBER", "VEISD::RET_FLAG", "\"VEISD::RET_FLAG\""], "File": "VEISelLowering16", "Func": "getTargetNodeName", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12771, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "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", "CCRetInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCRetInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_PPC", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "RVLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "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", "::", "AExt", ":", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "TRUNCATE", ",", "dl", ",", "VA", ".", "getValVT", "(", ")", ",", "Val", ")", ";", "break", ";", "case", "CCValAssign", "::", "ZExt", ":", "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", ":", "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": ["PowerPC", "PPC", "ISD::InputArg", "16", "PPC", "0", "\"Can only return in registers!\"", "1", "2", "\"Unknown loc info!\"", "ISD::TRUNCATE", "ISD::AssertZext", "ISD::TRUNCATE", "ISD::AssertSext", "ISD::TRUNCATE"], "File": "PPCISelLowering105", "Func": "LowerCallResult", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12772, "Length": 360, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips16_insn_length", "(", "rtx", "insn", ")", "{", "if", "(", "JUMP_P", "(", "insn", ")", ")", "{", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "body", ")", "==", "ADDR_VEC", ")", "return", "GET_MODE_SIZE", "(", "GET_MODE", "(", "body", ")", ")", "*", "XVECLEN", "(", "body", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "body", ")", "==", "ADDR_DIFF_VEC", ")", "return", "GET_MODE_SIZE", "(", "GET_MODE", "(", "body", ")", ")", "*", "XVECLEN", "(", "body", ",", "1", ")", ";", "}", "return", "get_attr_length", "(", "insn", ")", ";", "}", ""], "natrual_language": ["Return", "the", "length", "of", "instruction", "INSN", "."], "TS_V_token": ["mips", "0", "1"], "File": "mips3", "Func": "mips16_insn_length", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12773, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "or1k_trampoline_init", "(", "rtx", "m_tramp", ",", "tree", "fndecl", ",", "rtx", "chain", ")", "{", "const", "unsigned", "movhi_r13", "=", "(", "0x06u", "<<", "26", ")", "|", "(", "13", "<<", "21", ")", ";", "const", "unsigned", "movhi_r11", "=", "(", "0x06u", "<<", "26", ")", "|", "(", "11", "<<", "21", ")", ";", "const", "unsigned", "ori_r13_r13", "=", "(", "0x2a", "<<", "26", ")", "|", "(", "13", "<<", "21", ")", "|", "(", "13", "<<", "16", ")", ";", "const", "unsigned", "ori_r11_r11", "=", "(", "0x2a", "<<", "26", ")", "|", "(", "11", "<<", "21", ")", "|", "(", "11", "<<", "16", ")", ";", "const", "unsigned", "jr_r13", "=", "(", "0x11", "<<", "26", ")", "|", "(", "13", "<<", "11", ")", ";", "rtx", "tramp", "[", "5", "]", ",", "fnaddr", ",", "f_hi", ",", "f_lo", ",", "c_hi", ",", "c_lo", ";", "fnaddr", "=", "force_operand", "(", "XEXP", "(", "DECL_RTL", "(", "fndecl", ")", ",", "0", ")", ",", "NULL", ")", ";", "f_hi", "=", "expand_binop", "(", "SImode", ",", "lshr_optab", ",", "fnaddr", ",", "GEN_INT", "(", "16", ")", ",", "NULL", ",", "true", ",", "OPTAB_DIRECT", ")", ";", "f_lo", "=", "expand_binop", "(", "SImode", ",", "and_optab", ",", "fnaddr", ",", "GEN_INT", "(", "0xffff", ")", ",", "NULL", ",", "true", ",", "OPTAB_DIRECT", ")", ";", "chain", "=", "force_operand", "(", "chain", ",", "NULL", ")", ";", "c_hi", "=", "expand_binop", "(", "SImode", ",", "lshr_optab", ",", "chain", ",", "GEN_INT", "(", "16", ")", ",", "NULL", ",", "true", ",", "OPTAB_DIRECT", ")", ";", "c_lo", "=", "expand_binop", "(", "SImode", ",", "and_optab", ",", "chain", ",", "GEN_INT", "(", "0xffff", ")", ",", "NULL", ",", "true", ",", "OPTAB_DIRECT", ")", ";", "tramp", "[", "0", "]", "=", "expand_binop", "(", "SImode", ",", "ior_optab", ",", "f_hi", ",", "gen_int_mode", "(", "movhi_r13", ",", "SImode", ")", ",", "f_hi", ",", "true", ",", "OPTAB_DIRECT", ")", ";", "tramp", "[", "1", "]", "=", "expand_binop", "(", "SImode", ",", "ior_optab", ",", "c_hi", ",", "gen_int_mode", "(", "movhi_r11", ",", "SImode", ")", ",", "c_hi", ",", "true", ",", "OPTAB_DIRECT", ")", ";", "tramp", "[", "2", "]", "=", "expand_binop", "(", "SImode", ",", "ior_optab", ",", "f_lo", ",", "gen_int_mode", "(", "ori_r13_r13", ",", "SImode", ")", ",", "f_lo", ",", "true", ",", "OPTAB_DIRECT", ")", ";", "tramp", "[", "4", "]", "=", "expand_binop", "(", "SImode", ",", "ior_optab", ",", "c_lo", ",", "gen_int_mode", "(", "ori_r11_r11", ",", "SImode", ")", ",", "c_lo", ",", "true", ",", "OPTAB_DIRECT", ")", ";", "tramp", "[", "3", "]", "=", "gen_int_mode", "(", "jr_r13", ",", "SImode", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "5", ";", "++", "i", ")", "{", "rtx", "mem", "=", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "i", "*", "4", ")", ";", "emit_move_insn", "(", "mem", ",", "tramp", "[", "i", "]", ")", ";", "}", "}", ""], "natrual_language": ["Worker", "for", "TARGET_TRAMPOLINE_INIT", ".", "This", "is", "called", "to", "initialize", "a", "trampoline", ".", "The", "argument", "M_TRAMP", "is", "an", "RTX", "for", "the", "memory", "block", "to", "be", "initialized", "with", "trampoline", "code", ".", "The", "argument", "FNDECL", "contains", "the", "definition", "of", "the", "nested", "function", "to", "be", "called", ",", "we", "use", "this", "to", "get", "the", "function", "'s", "address", ".", "The", "argument", "CHAIN", "is", "an", "RTX", "for", "the", "static", "chain", "value", "to", "be", "passed", "to", "the", "nested", "function", "."], "TS_V_token": ["or1k", "0x06u", "26", "13", "21", "0x06u", "26", "11", "21", "0x2a", "26", "13", "21", "13", "16", "0x2a", "26", "11", "21", "11", "16", "0x11", "26", "13", "11", "5", "0", "16", "0xffff", "16", "0xffff", "0", "1", "2", "4", "3", "0", "5", "4"], "File": "or1k", "Func": "or1k_trampoline_init", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12774, "Length": 397, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isFMAFasterThanFMulAndFAdd", "(", "const", "Function", "&", "F", ",", "Type", "*", "Ty", ")", "const", "{", "switch", "(", "Ty", "->", "getScalarType", "(", ")", "->", "getTypeID", "(", ")", ")", "{", "case", "Type", "::", "FloatTyID", ":", "case", "Type", "::", "DoubleTyID", ":", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "an", "FMA", "operation", "is", "faster", "than", "a", "pair", "of", "fmul", "and", "fadd", "instructions", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ISelLowering (2)2", "Func": "isFMAFasterThanFMulAndFAdd", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12775, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "SystemZTargetLowering", "::", "getRepRegClassFor", "(", "MVT", "VT", ")", "const", "{", "if", "(", "VT", "==", "MVT", "::", "Untyped", ")", "return", "&", "SystemZ", "::", "ADDR128BitRegClass", ";", "return", "TargetLowering", "::", "getRepRegClassFor", "(", "VT", ")", ";", "}", ""], "natrual_language": ["Return", "the", "'representative", "'", "register", "class", "for", "the", "specified", "value", "type", "."], "TS_V_token": ["SystemZ", "SystemZ", "MVT::Untyped", "SystemZ::ADDR128BitRegClass"], "File": "SystemZISelLowering (2)2", "Func": "getRepRegClassFor", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12776, "Length": 35, "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", "(", ")", ")", "{", "SectionKind", "Kind", "=", "CPE", ".", "getSectionKind", "(", "TM", ".", "getDataLayout", "(", ")", ")", ";", "const", "Constant", "*", "C", "=", "CPE", ".", "Val", ".", "ConstVal", ";", "const", "MCSectionCOFF", "*", "S", "=", "cast", "<", "MCSectionCOFF", ">", "(", "getObjFileLowering", "(", ")", ".", "getSectionForConstant", "(", "Kind", ",", "C", ")", ")", ";", "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": "X86AsmPrinter34", "Func": "GetCPISymbol", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12777, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isDesirableToCommuteWithShift", "(", "const", "SDNode", "*", "N", ",", "CombineLevel", "Level", ")", "const", "{", "N", "=", "N", "->", "getOperand", "(", "0", ")", ".", "getNode", "(", ")", ";", "EVT", "VT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "AND", "&&", "(", "VT", "==", "MVT", "::", "i32", "||", "VT", "==", "MVT", "::", "i64", ")", "&&", "isa", "<", "ConstantSDNode", ">", "(", "N", "->", "getOperand", "(", "1", ")", ")", ")", "{", "uint64_t", "TruncMask", "=", "N", "->", "getConstantOperandVal", "(", "1", ")", ";", "if", "(", "isMask_64", "(", "TruncMask", ")", "&&", "N", "->", "getOperand", "(", "0", ")", ".", "getOpcode", "(", ")", "==", "ISD", "::", "SRL", "&&", "isa", "<", "ConstantSDNode", ">", "(", "N", "->", "getOperand", "(", "0", ")", "->", "getOperand", "(", "1", ")", ")", ")", "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": ["AArch64", "AArch64", "0", "0", "ISD::AND", "MVT::i32", "MVT::i64", "1", "1", "0", "ISD::SRL", "0", "1"], "File": "AArch64ISelLowering (2)2", "Func": "isDesirableToCommuteWithShift", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12778, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCPassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAtomicExpandPass", "(", "&", "getPPCTargetMachine", "(", ")", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "Aggressive", "&&", "EnableGEPOpt", ")", "{", "addPass", "(", "createSeparateConstOffsetFromGEPPass", "(", "TM", ",", "true", ")", ")", ";", "addPass", "(", "createEarlyCSEPass", "(", ")", ")", ";", "addPass", "(", "createLICMPass", "(", ")", ")", ";", "}", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["PowerPC", "PPC", "PPC"], "File": "PPCTargetMachine27", "Func": "addIRPasses", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12779, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "load_pic_register", "(", "bool", "delay_pic_helper", ")", "{", "int", "orig_flag_pic", "=", "flag_pic", ";", "if", "(", "!", "pic_helper_symbol_name", "[", "0", "]", ")", "{", "ASM_GENERATE_INTERNAL_LABEL", "(", "pic_helper_symbol_name", ",", "\"LADDPC\"", ",", "0", ")", ";", "pic_helper_symbol", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "pic_helper_symbol_name", ")", ";", "global_offset_table", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"_GLOBAL_OFFSET_TABLE_\"", ")", ";", "}", "if", "(", "!", "delay_pic_helper", "&&", "!", "pic_helper_emitted_p", ")", "emit_pic_helper", "(", ")", ";", "flag_pic", "=", "0", ";", "if", "(", "TARGET_ARCH64", ")", "emit_insn", "(", "gen_load_pcrel_symdi", "(", "pic_offset_table_rtx", ",", "global_offset_table", ",", "pic_helper_symbol", ")", ")", ";", "else", "emit_insn", "(", "gen_load_pcrel_symsi", "(", "pic_offset_table_rtx", ",", "global_offset_table", ",", "pic_helper_symbol", ")", ")", ";", "flag_pic", "=", "orig_flag_pic", ";", "emit_insn", "(", "gen_rtx_USE", "(", "VOIDmode", ",", "pic_offset_table_rtx", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "load", "the", "PIC", "register", "."], "TS_V_token": ["sparc", "0", "\"LADDPC\"", "0", "\"_GLOBAL_OFFSET_TABLE_\"", "0"], "File": "sparc3", "Func": "load_pic_register", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12780, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "nds32_gen_dup_4_byte_to_word_value_aux", "(", "rtx", "value", ",", "rtx", "value4word", ")", "{", "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", "{", "if", "(", "NDS32_EXT_DSP_P", "(", ")", ")", "{", "rtx", "tmp", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "convert_move", "(", "tmp", ",", "value", ",", "true", ")", ";", "emit_insn", "(", "gen_insvsi_internal", "(", "tmp", ",", "gen_int_mode", "(", "0x8", ",", "SImode", ")", ",", "tmp", ")", ")", ";", "emit_insn", "(", "gen_pkbbsi_1", "(", "value4word", ",", "tmp", ",", "tmp", ")", ")", ";", "}", "else", "{", "rtx", "tmp1", ",", "tmp2", ",", "tmp3", ",", "tmp4", ";", "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", ")", ";", "emit_insn", "(", "gen_iorsi3", "(", "value4word", ",", "tmp3", ",", "tmp4", ")", ")", ";", "}", "}", "return", "value4word", ";", "}", ""], "natrual_language": ["Auxiliary", "function", "for", "expand", "setmem", "pattern", "."], "TS_V_token": ["nds32", "8", "16", "24", "0x8", "0xff", "0", "8", "0", "0", "16", "0"], "File": "nds32-memory-manipulation", "Func": "nds32_gen_dup_4_byte_to_word_value_aux", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12781, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "bool", "registered_function_hasher", "::", "equal", "(", "value_type", "value", ",", "const", "compare_type", "&", "key", ")", "{", "return", "value", "->", "instance", "==", "key", ";", "}", ""], "natrual_language": ["Compare", "H1", "and", "H2", "for", "equivalence", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "equal", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12782, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LEGInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "LEG", "::", "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": ["LEG", "LEG", "LEG::LDR", "0"], "File": "LEGInstrInfo", "Func": "loadRegFromStackSlot", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12783, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMConstantIslands", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "MachineConstantPool", "&", "MCP", "=", "*", "MF", ".", "getConstantPool", "(", ")", ";", "TII", "=", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "STI", "=", "&", "MF", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "isThumb", "=", "AFI", "->", "isThumbFunction", "(", ")", ";", "isThumb1", "=", "AFI", "->", "isThumb1OnlyFunction", "(", ")", ";", "isThumb2", "=", "AFI", "->", "isThumb2Function", "(", ")", ";", "HasFarJump", "=", "false", ";", "MF", ".", "RenumberBlocks", "(", ")", ";", "AFI", "->", "setAlign", "(", "isThumb1", "?", "1U", ":", "2U", ")", ";", "std", "::", "vector", "<", "MachineInstr", "*", ">", "CPEMIs", ";", "if", "(", "!", "MCP", ".", "isEmpty", "(", ")", ")", "{", "DoInitialPlacement", "(", "MF", ",", "CPEMIs", ")", ";", "if", "(", "isThumb1", ")", "AFI", "->", "setAlign", "(", "2U", ")", ";", "}", "AFI", "->", "initConstPoolEntryUId", "(", "CPEMIs", ".", "size", "(", ")", ")", ";", "InitialFunctionScan", "(", "MF", ",", "CPEMIs", ")", ";", "CPEMIs", ".", "clear", "(", ")", ";", "RemoveUnusedCPEntries", "(", ")", ";", "bool", "MadeChange", "=", "false", ";", "unsigned", "NoCPIters", "=", "0", ",", "NoBRIters", "=", "0", ";", "while", "(", "true", ")", "{", "bool", "CPChange", "=", "false", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CPUsers", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "CPChange", "|=", "HandleConstantPoolUser", "(", "MF", ",", "i", ")", ";", "if", "(", "CPChange", "&&", "++", "NoCPIters", ">", "30", ")", "llvm_unreachable", "(", "\"Constant Island pass failed to converge!\"", ")", ";", "DEBUG", "(", "dumpBBs", "(", ")", ")", ";", "bool", "BRChange", "=", "false", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "ImmBranches", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "BRChange", "|=", "FixUpImmediateBr", "(", "MF", ",", "ImmBranches", "[", "i", "]", ")", ";", "if", "(", "BRChange", "&&", "++", "NoBRIters", ">", "30", ")", "llvm_unreachable", "(", "\"Branch Fix Up pass failed to converge!\"", ")", ";", "DEBUG", "(", "dumpBBs", "(", ")", ")", ";", "if", "(", "!", "CPChange", "&&", "!", "BRChange", ")", "break", ";", "MadeChange", "=", "true", ";", "}", "if", "(", "isThumb2", ")", "MadeChange", "|=", "OptimizeThumb2Instructions", "(", "MF", ")", ";", "verify", "(", "MF", ")", ";", "if", "(", "isThumb", "&&", "!", "HasFarJump", "&&", "AFI", "->", "isLRSpilledForFarJump", "(", ")", ")", "MadeChange", "|=", "UndoLRSpillRestore", "(", ")", ";", "BBSizes", ".", "clear", "(", ")", ";", "BBOffsets", ".", "clear", "(", ")", ";", "WaterList", ".", "clear", "(", ")", ";", "CPUsers", ".", "clear", "(", ")", ";", "CPEntries", ".", "clear", "(", ")", ";", "ImmBranches", ".", "clear", "(", ")", ";", "PushPopMIs", ".", "clear", "(", ")", ";", "T2JumpTables", ".", "clear", "(", ")", ";", "return", "MadeChange", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "1U", "2U", "2U", "0", "0", "0", "30", "\"Constant Island pass failed to converge!\"", "0", "30", "\"Branch Fix Up pass failed to converge!\""], "File": "ARMConstantIslandPass11", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12784, "Length": 409, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCBranchCoalescing", "::", "initialize", "(", "MachineFunction", "&", "MF", ")", "{", "MDT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "MPDT", "=", "&", "getAnalysis", "<", "MachinePostDominatorTree", ">", "(", ")", ";", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "}", ""], "natrual_language": ["Initialize", "the", "strategy", "after", "building", "the", "DAG", "for", "a", "new", "region", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCBranchCoalescing", "Func": "initialize", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12785, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "X86TTIImpl", "::", "getIntImmCostInst", "(", "unsigned", "Opcode", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ",", "Instruction", "*", "Inst", ")", "{", "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", ")", ";", "InstructionCost", "Cost", "=", "X86TTIImpl", "::", "getIntImmCost", "(", "Imm", ",", "Ty", ",", "CostKind", ")", ";", "return", "(", "Cost", "<=", "NumConstants", "*", "TTI", "::", "TCC_Basic", ")", "?", "static_cast", "<", "int", ">", "(", "TTI", "::", "TCC_Free", ")", ":", "Cost", ";", "}", "return", "X86TTIImpl", "::", "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": ["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)1", "Func": "getIntImmCostInst", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12786, "Length": 447, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLSRCostLess", "(", "const", "TargetTransformInfo", "::", "LSRCost", "&", "C1", ",", "const", "TargetTransformInfo", "::", "LSRCost", "&", "C2", ")", "{", "return", "std", "::", "tie", "(", "C1", ".", "Insns", ",", "C1", ".", "NumRegs", ",", "C1", ".", "AddRecCost", ",", "C1", ".", "NumIVMuls", ",", "C1", ".", "NumBaseAdds", ",", "C1", ".", "ScaleCost", ",", "C1", ".", "ImmCost", ",", "C1", ".", "SetupCost", ")", "<", "std", "::", "tie", "(", "C2", ".", "Insns", ",", "C2", ".", "NumRegs", ",", "C2", ".", "AddRecCost", ",", "C2", ".", "NumIVMuls", ",", "C2", ".", "NumBaseAdds", ",", "C2", ".", "ScaleCost", ",", "C2", ".", "ImmCost", ",", "C2", ".", "SetupCost", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "LSR", "cost", "of", "C1", "is", "lower", "than", "C2", "."], "TS_V_token": ["X86", "X86"], "File": "X86TargetTransformInfo55", "Func": "isLSRCostLess", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12787, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumberOfRegisters", "(", "unsigned", "ClassID", ")", "const", "{", "bool", "Vector", "=", "(", "ClassID", "==", "1", ")", ";", "if", "(", "Vector", ")", "{", "if", "(", "ST", "->", "hasNEON", "(", ")", ")", "return", "16", ";", "if", "(", "ST", "->", "hasMVEIntegerOps", "(", ")", ")", "return", "8", ";", "return", "0", ";", "}", "if", "(", "ST", "->", "isThumb1Only", "(", ")", ")", "return", "8", ";", "return", "13", ";", "}", ""], "natrual_language": ["\ufffd", "?", "Vector", "TTI", "begin", "\ufffd", "?"], "TS_V_token": ["ARM", "1", "16", "8", "0", "8", "13"], "File": "ARMTargetTransformInfo (2)1", "Func": "getNumberOfRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12788, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_parse_override_string", "(", "const", "char", "*", "input_string", ",", "struct", "tune_params", "*", "tune", ")", "{", "const", "char", "separator", "=", "':'", ";", "size_t", "string_length", "=", "strlen", "(", "input_string", ")", "+", "1", ";", "char", "*", "string_root", "=", "(", "char", "*", ")", "xmalloc", "(", "sizeof", "(", "*", "string_root", ")", "*", "string_length", ")", ";", "char", "*", "string", "=", "string_root", ";", "strncpy", "(", "string", ",", "input_string", ",", "string_length", ")", ";", "string", "[", "string_length", "-", "1", "]", "=", "'\\0'", ";", "char", "*", "ntoken", "=", "string", ";", "while", "(", "(", "ntoken", "=", "strchr", "(", "string", ",", "separator", ")", ")", ")", "{", "size_t", "token_length", "=", "ntoken", "-", "string", ";", "*", "ntoken", "=", "'\\0'", ";", "aarch64_parse_one_override_token", "(", "string", ",", "token_length", ",", "tune", ")", ";", "string", "=", "++", "ntoken", ";", "}", "aarch64_parse_one_override_token", "(", "string", ",", "strlen", "(", "string", ")", ",", "tune", ")", ";", "free", "(", "string_root", ")", ";", "}", ""], "natrual_language": ["Parse", "STRING", "looking", "for", "options", "in", "the", "format", ":", "string", ":", ":", "option", ":", "string", "option", ":", ":", "name=substring", "name", ":", ":", "{", "a-z", "}", "substring", ":", ":", "defined", "by", "option", "."], "TS_V_token": ["aarch64", "1", "1"], "File": "aarch64", "Func": "aarch64_parse_override_string", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12789, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Inserter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "Cpu0FunctionInfo", "*", "Cpu0FI", "=", "F", ".", "getInfo", "<", "Cpu0FunctionInfo", ">", "(", ")", ";", "const", "TargetSubtargetInfo", "*", "STI", "=", "TM", ".", "getSubtargetImpl", "(", "*", "(", "F", ".", "getFunction", "(", ")", ")", ")", ";", "const", "TargetInstrInfo", "*", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "if", "(", "(", "TM", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", ")", "||", "(", "!", "Cpu0FI", "->", "globalBaseRegFixed", "(", ")", ")", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "int", "FI", "=", "Cpu0FI", "->", "getGPFI", "(", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "MFI", "=", "F", ".", "begin", "(", ")", ",", "MFE", "=", "F", ".", "end", "(", ")", ";", "MFI", "!=", "MFE", ";", "++", "MFI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MFI", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MFI", "->", "begin", "(", ")", ";", "if", "(", "MBB", ".", "isEHPad", "(", ")", ")", "{", "for", "(", ";", "I", "->", "getOpcode", "(", ")", "!=", "TargetOpcode", "::", "EH_LABEL", ";", "++", "I", ")", ";", "++", "I", ";", "DebugLoc", "dl", "=", "I", "!=", "MBB", ".", "end", "(", ")", "?", "I", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "TII", "->", "get", "(", "Cpu0", "::", "LD", ")", ",", "Cpu0", "::", "GP", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "Changed", "=", "true", ";", "}", "while", "(", "I", "!=", "MFI", "->", "end", "(", ")", ")", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "Cpu0", "::", "JALR", ")", "{", "++", "I", ";", "continue", ";", "}", "DebugLoc", "dl", "=", "I", "->", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "++", "I", ",", "dl", ",", "TII", "->", "get", "(", "Cpu0", "::", "LD", ")", ",", "Cpu0", "::", "GP", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "Changed", "=", "true", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0::LD", "Cpu0::GP", "0", "Cpu0::JALR", "Cpu0::LD", "Cpu0::GP", "0"], "File": "Cpu0EmitGPRestore", "Func": "runOnMachineFunction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12790, "Length": 309, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "pru_hard_regno_rename_ok", "(", "unsigned", "int", "old_reg", ",", "unsigned", "int", "new_reg", ")", "{", "if", "(", "(", "!", "reload_completed", "||", "frame_pointer_needed", ")", "&&", "(", "IN_RANGE", "(", "old_reg", ",", "HARD_FRAME_POINTER_REGNUM", ",", "HARD_FRAME_POINTER_REGNUM", "+", "3", ")", "||", "IN_RANGE", "(", "old_reg", ",", "FRAME_POINTER_REGNUM", ",", "FRAME_POINTER_REGNUM", "+", "3", ")", "||", "IN_RANGE", "(", "new_reg", ",", "HARD_FRAME_POINTER_REGNUM", ",", "HARD_FRAME_POINTER_REGNUM", "+", "3", ")", "||", "IN_RANGE", "(", "new_reg", ",", "FRAME_POINTER_REGNUM", ",", "FRAME_POINTER_REGNUM", "+", "3", ")", ")", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "`", "HARD_REGNO_RENAME_OK", "'", ".", "Return", "nonzero", "if", "register", "OLD_REG", "can", "be", "renamed", "to", "register", "NEW_REG", "."], "TS_V_token": ["pru", "3", "3", "3", "3", "0", "1"], "File": "pru", "Func": "pru_hard_regno_rename_ok", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12791, "Length": 74, "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", ")", ";", "DefinedInBB", ".", "init", "(", "*", "TRI", ")", ";", "bool", "Modified", "=", "false", ";", "bool", "enableNarrowZeroStOpt", "=", "!", "Subtarget", "->", "requiresStrictAlign", "(", ")", ";", "for", "(", "auto", "&", "MBB", ":", "Fn", ")", "{", "auto", "M", "=", "optimizeBlock", "(", "MBB", ",", "enableNarrowZeroStOpt", ")", ";", "Modified", "|=", "M", ";", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64LoadStoreOptimizer11", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12792, "Length": 146, "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": 12793, "Length": 64, "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", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "assert", "(", "(", "RC", "==", "ARM", "::", "tGPRRegisterClass", "||", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "DestReg", ")", "&&", "isARMLowRegister", "(", "DestReg", ")", ")", ")", "&&", "\"Unknown regclass!\"", ")", ";", "if", "(", "RC", "==", "ARM", "::", "tGPRRegisterClass", "||", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "DestReg", ")", "&&", "isARMLowRegister", "(", "DestReg", ")", ")", ")", "{", "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", "::", "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", "0", "ARM::tRestore", "0"], "File": "Thumb1InstrInfo2", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12794, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "CSKYInstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "MI", ".", "getDesc", "(", ")", ".", "getSize", "(", ")", ";", "case", "CSKY", "::", "CONSTPOOL_ENTRY", ":", "return", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "case", "CSKY", "::", "SPILL_CARRY", ":", "case", "CSKY", "::", "RESTORE_CARRY", ":", "case", "CSKY", "::", "PseudoTLSLA32", ":", "return", "8", ";", "case", "TargetOpcode", "::", "INLINEASM_BR", ":", "case", "TargetOpcode", "::", "INLINEASM", ":", "{", "const", "MachineFunction", "*", "MF", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "char", "*", "AsmStr", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getSymbolName", "(", ")", ";", "return", "getInlineAsmLength", "(", "AsmStr", ",", "*", "MF", "->", "getTarget", "(", ")", ".", "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": ["CSKY", "CSKY", "CSKY::CONSTPOOL_ENTRY", "2", "CSKY::SPILL_CARRY", "CSKY::RESTORE_CARRY", "CSKY::PseudoTLSLA32", "8", "0"], "File": "CSKYInstrInfo1", "Func": "getInstSizeInBytes", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12795, "Length": 131, "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", "=", "*", "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", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "bool", "IsLiveIn", "=", "MRI", ".", "isLiveIn", "(", "Reg", ")", ";", "if", "(", "!", "IsLiveIn", ")", "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", "{", "if", "(", "CSI", "[", "i", "]", ".", "isSpilledToReg", "(", ")", ")", "{", "NumPESpillVSR", "++", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "PPC", "::", "MTVSRD", ")", ",", "CSI", "[", "i", "]", ".", "getDstReg", "(", ")", ")", ".", "addReg", "(", "Reg", ",", "getKillRegState", "(", "true", ")", ")", ";", "}", "else", "{", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "TII", ".", "storeRegToStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "!", "IsLiveIn", ",", "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", "0", "PPC::VRSAVE", "PPC::CR2", "PPC::CR4", "PPC", "PPC", "PPC", "PPC::MFCR", "PPC::R12", "PPC::STW", "PPC::R12", "PPC::MTVSRD"], "File": "PPCFrameLowering33", "Func": "spillCalleeSavedRegisters", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12796, "Length": 438, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "ArrayRef", "<", "Register", ">>", "VRegs", ",", "FunctionLoweringInfo", "&", "FLI", ")", "const", "{", "auto", "&", "TLI", "=", "*", "getTLI", "<", "ARMTargetLowering", ">", "(", ")", ";", "auto", "Subtarget", "=", "TLI", ".", "getSubtarget", "(", ")", ";", "if", "(", "Subtarget", "->", "isThumb1Only", "(", ")", ")", "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", ";", "if", "(", "Arg", ".", "hasPassPointeeByValueCopyAttr", "(", ")", ")", "return", "false", ";", "}", "CCAssignFn", "*", "AssignFn", "=", "TLI", ".", "CCAssignFnForCall", "(", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ")", ";", "FormalArgHandler", "ArgHandler", "(", "MIRBuilder", ",", "MIRBuilder", ".", "getMF", "(", ")", ".", "getRegInfo", "(", ")", ",", "AssignFn", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "SplitArgInfos", ";", "unsigned", "Idx", "=", "0", ";", "for", "(", "auto", "&", "Arg", ":", "F", ".", "args", "(", ")", ")", "{", "ArgInfo", "OrigArgInfo", "(", "VRegs", "[", "Idx", "]", ",", "Arg", ".", "getType", "(", ")", ")", ";", "setArgFlags", "(", "OrigArgInfo", ",", "Idx", "+", "AttributeList", "::", "FirstArgIndex", ",", "DL", ",", "F", ")", ";", "splitToValueTypes", "(", "OrigArgInfo", ",", "SplitArgInfos", ",", "MF", ")", ";", "Idx", "++", ";", "}", "if", "(", "!", "MBB", ".", "empty", "(", ")", ")", "MIRBuilder", ".", "setInstr", "(", "*", "MBB", ".", "begin", "(", ")", ")", ";", "if", "(", "!", "handleAssignments", "(", "MIRBuilder", ",", "SplitArgInfos", ",", "ArgHandler", ")", ")", "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": ["ARM", "ARM", "ARM", "8", "0"], "File": "ARMCallLowering2", "Func": "lowerFormalArguments", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12797, "Length": 310, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_gen_compare_reg", "(", "RTX_CODE", "code", ",", "rtx", "x", ",", "rtx", "y", ")", "{", "machine_mode", "cmp_mode", "=", "GET_MODE", "(", "x", ")", ";", "machine_mode", "cc_mode", ";", "rtx", "cc_reg", ";", "if", "(", "cmp_mode", "==", "TImode", ")", "{", "gcc_assert", "(", "code", "==", "NE", ")", ";", "cc_mode", "=", "CCmode", ";", "cc_reg", "=", "gen_rtx_REG", "(", "cc_mode", ",", "CC_REGNUM", ")", ";", "rtx", "x_lo", "=", "operand_subword", "(", "x", ",", "0", ",", "0", ",", "TImode", ")", ";", "rtx", "y_lo", "=", "operand_subword", "(", "y", ",", "0", ",", "0", ",", "TImode", ")", ";", "emit_set_insn", "(", "cc_reg", ",", "gen_rtx_COMPARE", "(", "cc_mode", ",", "x_lo", ",", "y_lo", ")", ")", ";", "rtx", "x_hi", "=", "operand_subword", "(", "x", ",", "1", ",", "0", ",", "TImode", ")", ";", "rtx", "y_hi", "=", "operand_subword", "(", "y", ",", "1", ",", "0", ",", "TImode", ")", ";", "emit_insn", "(", "gen_ccmpccdi", "(", "cc_reg", ",", "cc_reg", ",", "x_hi", ",", "y_hi", ",", "gen_rtx_EQ", "(", "cc_mode", ",", "cc_reg", ",", "const0_rtx", ")", ",", "GEN_INT", "(", "AARCH64_EQ", ")", ")", ")", ";", "}", "else", "{", "cc_mode", "=", "SELECT_CC_MODE", "(", "code", ",", "x", ",", "y", ")", ";", "cc_reg", "=", "gen_rtx_REG", "(", "cc_mode", ",", "CC_REGNUM", ")", ";", "emit_set_insn", "(", "cc_reg", ",", "gen_rtx_COMPARE", "(", "cc_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", "0", "0", "0", "0", "1", "0", "1", "0"], "File": "aarch64", "Func": "aarch64_gen_compare_reg", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12798, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_variable_issue_1", "(", "rtx_insn", "*", "insn", ",", "int", "more", ")", "{", "last_scheduled_insn", "=", "insn", ";", "if", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "USE", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "CLOBBER", ")", "{", "cached_can_issue_more", "=", "more", ";", "return", "cached_can_issue_more", ";", "}", "if", "(", "insn_terminates_group_p", "(", "insn", ",", "current_group", ")", ")", "{", "cached_can_issue_more", "=", "0", ";", "return", "cached_can_issue_more", ";", "}", "if", "(", "recog_memoized", "(", "insn", ")", "<", "0", ")", "return", "more", ";", "if", "(", "rs6000_sched_groups", ")", "{", "if", "(", "is_microcoded_insn", "(", "insn", ")", ")", "cached_can_issue_more", "=", "0", ";", "else", "if", "(", "is_cracked_insn", "(", "insn", ")", ")", "cached_can_issue_more", "=", "more", ">", "2", "?", "more", "-", "2", ":", "0", ";", "else", "cached_can_issue_more", "=", "more", "-", "1", ";", "return", "cached_can_issue_more", ";", "}", "if", "(", "rs6000_cpu_attr", "==", "CPU_CELL", "&&", "is_nonpipeline_insn", "(", "insn", ")", ")", "return", "0", ";", "cached_can_issue_more", "=", "more", "-", "1", ";", "return", "cached_can_issue_more", ";", "}", ""], "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", "0", "0", "0", "2", "2", "0", "1", "0", "1"], "File": "powerpcspe", "Func": "rs6000_variable_issue_1", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12799, "Length": 148, "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": 12800, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "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_PPC", ")", ";", "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!\"", ")", ";", "SDValue", "Arg", "=", "OutVals", "[", "i", "]", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown loc info!\"", ")", ";", "case", "CCValAssign", "::", "Full", ":", "break", ";", "case", "CCValAssign", "::", "AExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ANY_EXTEND", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "case", "CCValAssign", "::", "ZExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ZERO_EXTEND", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "case", "CCValAssign", "::", "SExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "SIGN_EXTEND", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "}", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "Arg", ",", "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", "(", "PPCISD", "::", "RET_FLAG", ",", "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": ["PowerPC", "PPC", "ISD::OutputArg", "16", "PPC", "4", "1", "0", "\"Can only return in registers!\"", "\"Unknown loc info!\"", "ISD::ANY_EXTEND", "ISD::ZERO_EXTEND", "ISD::SIGN_EXTEND", "1", "0", "PPCISD::RET_FLAG", "MVT::Other", "0"], "File": "PPCISelLowering164", "Func": "LowerReturn", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12801, "Length": 362, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "{", "if", "(", "ExtraCode", "[", "1", "]", "!=", "0", ")", "return", "true", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "default", ":", "return", "true", ";", "case", "'a'", ":", "if", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "isReg", "(", ")", ")", "{", "O", "<<", "\"[\"", "<<", "TRI", "->", "getAsmName", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "getReg", "(", ")", ")", "<<", "\"]\"", ";", "return", "false", ";", "}", "case", "'c'", ":", "if", "(", "!", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "isImm", "(", ")", ")", "return", "true", ";", "printNoHashImmediate", "(", "MI", ",", "OpNum", ")", ";", "return", "false", ";", "case", "'P'", ":", "printOperand", "(", "MI", ",", "OpNum", ")", ";", "return", "false", ";", "case", "'Q'", ":", "if", "(", "TM", ".", "getTargetData", "(", ")", "->", "isLittleEndian", "(", ")", ")", "break", ";", "case", "'R'", ":", "if", "(", "TM", ".", "getTargetData", "(", ")", "->", "isBigEndian", "(", ")", ")", "break", ";", "case", "'H'", ":", "if", "(", "!", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "isReg", "(", ")", "||", "OpNum", "+", "1", "==", "MI", "->", "getNumOperands", "(", ")", "||", "!", "MI", "->", "getOperand", "(", "OpNum", "+", "1", ")", ".", "isReg", "(", ")", ")", "return", "true", ";", "++", "OpNum", ";", "}", "}", "printOperand", "(", "MI", ",", "OpNum", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["ARM", "ARM", "0", "1", "0", "0", "\"[\"", "\"]\"", "1", "1"], "File": "ARMAsmPrinter20", "Func": "PrintAsmOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12802, "Length": 237, "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", "=", "*", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "PPCFunctionInfo", "*", "FI", "=", "MF", "->", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", ";", "bool", "MustSaveTOC", "=", "FI", "->", "mustSaveTOC", "(", ")", ";", "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", ")", "continue", ";", "bool", "IsCRField", "=", "PPC", "::", "CR2", "<=", "Reg", "&&", "Reg", "<=", "PPC", "::", "CR4", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "bool", "IsLiveIn", "=", "MRI", ".", "isLiveIn", "(", "Reg", ")", ";", "if", "(", "!", "IsLiveIn", ")", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "if", "(", "CRSpilled", "&&", "IsCRField", ")", "{", "CRMIB", ".", "addReg", "(", "Reg", ",", "RegState", "::", "ImplicitKill", ")", ";", "continue", ";", "}", "if", "(", "(", "Reg", "==", "PPC", "::", "X2", "||", "Reg", "==", "PPC", "::", "R2", ")", "&&", "MustSaveTOC", ")", "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", "{", "if", "(", "CSI", "[", "i", "]", ".", "isSpilledToReg", "(", ")", ")", "{", "NumPESpillVSR", "++", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "PPC", "::", "MTVSRD", ")", ",", "CSI", "[", "i", "]", ".", "getDstReg", "(", ")", ")", ".", "addReg", "(", "Reg", ",", "getKillRegState", "(", "true", ")", ")", ";", "}", "else", "{", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "TII", ".", "storeRegToStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "!", "IsLiveIn", ",", "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", "PPC", "0", "PPC::VRSAVE", "PPC::CR2", "PPC::CR4", "PPC::X2", "PPC::R2", "PPC", "PPC", "PPC", "PPC::MFCR", "PPC::R12", "PPC::STW", "PPC::R12", "PPC::MTVSRD"], "File": "PPCFrameLowering93", "Func": "spillCalleeSavedRegisters", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12803, "Length": 473, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_save_reg_using_mov", "(", "machine_mode", "mode", ",", "unsigned", "int", "regno", ",", "HOST_WIDE_INT", "cfa_offset", ")", "{", "struct", "machine_function", "*", "m", "=", "cfun", "->", "machine", ";", "rtx", "reg", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "rtx", "mem", ",", "addr", ",", "base", ",", "insn", ";", "addr", "=", "choose_baseaddr", "(", "cfa_offset", ")", ";", "mem", "=", "gen_frame_mem", "(", "mode", ",", "addr", ")", ";", "set_mem_align", "(", "mem", ",", "GET_MODE_ALIGNMENT", "(", "mode", ")", ")", ";", "insn", "=", "emit_move_insn", "(", "mem", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "base", "=", "addr", ";", "if", "(", "GET_CODE", "(", "base", ")", "==", "PLUS", ")", "base", "=", "XEXP", "(", "base", ",", "0", ")", ";", "gcc_checking_assert", "(", "REG_P", "(", "base", ")", ")", ";", "if", "(", "m", "->", "fs", ".", "realigned", ")", "{", "gcc_checking_assert", "(", "stack_realign_drap", ")", ";", "if", "(", "regno", "==", "REGNO", "(", "crtl", "->", "drap_reg", ")", ")", "{", "gcc_checking_assert", "(", "cfun", "->", "machine", "->", "fs", ".", "fp_valid", ")", ";", "addr", "=", "plus_constant", "(", "Pmode", ",", "hard_frame_pointer_rtx", ",", "cfun", "->", "machine", "->", "fs", ".", "fp_offset", "-", "cfa_offset", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "mode", ",", "addr", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_DEF_CFA", ",", "mem", ")", ";", "}", "else", "{", "gcc_checking_assert", "(", "cfun", "->", "machine", "->", "fs", ".", "fp_valid", ")", ";", "addr", "=", "plus_constant", "(", "Pmode", ",", "hard_frame_pointer_rtx", ",", "cfun", "->", "machine", "->", "fs", ".", "fp_offset", "-", "cfa_offset", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "mode", ",", "addr", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_EXPRESSION", ",", "gen_rtx_SET", "(", "VOIDmode", ",", "mem", ",", "reg", ")", ")", ";", "}", "}", "else", "if", "(", "base", "!=", "m", "->", "fs", ".", "cfa_reg", ")", "{", "addr", "=", "plus_constant", "(", "Pmode", ",", "m", "->", "fs", ".", "cfa_reg", ",", "m", "->", "fs", ".", "cfa_offset", "-", "cfa_offset", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "mode", ",", "addr", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_OFFSET", ",", "gen_rtx_SET", "(", "VOIDmode", ",", "mem", ",", "reg", ")", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "a", "single", "register", "save", "at", "CFA", "-", "CFA_OFFSET", "."], "TS_V_token": ["i386", "1", "0"], "File": "i3864", "Func": "ix86_emit_save_reg_using_mov", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12804, "Length": 309, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_secondary_memory_needed", "(", "enum", "reg_class", "class1", ",", "enum", "reg_class", "class2", ",", "machine_mode", "mode", ")", "{", "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": "mips4", "Func": "mips_secondary_memory_needed", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12805, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_code_label", "*", "ix86_expand_aligntest", "(", "rtx", "variable", ",", "int", "value", ",", "bool", "epilogue", ")", "{", "rtx_code_label", "*", "label", "=", "gen_label_rtx", "(", ")", ";", "rtx", "tmpcount", "=", "gen_reg_rtx", "(", "GET_MODE", "(", "variable", ")", ")", ";", "if", "(", "GET_MODE", "(", "variable", ")", "==", "DImode", ")", "emit_insn", "(", "gen_anddi3", "(", "tmpcount", ",", "variable", ",", "GEN_INT", "(", "value", ")", ")", ")", ";", "else", "emit_insn", "(", "gen_andsi3", "(", "tmpcount", ",", "variable", ",", "GEN_INT", "(", "value", ")", ")", ")", ";", "emit_cmp_and_jump_insns", "(", "tmpcount", ",", "const0_rtx", ",", "EQ", ",", "0", ",", "GET_MODE", "(", "variable", ")", ",", "1", ",", "label", ")", ";", "if", "(", "epilogue", ")", "predict_jump", "(", "REG_BR_PROB_BASE", "*", "50", "/", "100", ")", ";", "else", "predict_jump", "(", "REG_BR_PROB_BASE", "*", "90", "/", "100", ")", ";", "return", "label", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "the", "string", "operations", "below", ".", "Dest", "VARIABLE", "whether", "it", "is", "aligned", "to", "VALUE", "bytes", ".", "If", "true", ",", "jump", "to", "the", "label", "."], "TS_V_token": ["i386", "0", "1", "50", "100", "90", "100"], "File": "i386-expand", "Func": "ix86_expand_aligntest", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12806, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"NaCl Rewrites\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"NaCl Rewrites\""], "File": "X86NaClRewritePass", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12807, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMSubtarget", "::", "ARMSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ")", ":", "ARMGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "ARMProcFamily", "(", "Others", ")", ",", "stackAlignment", "(", "4", ")", ",", "CPUString", "(", "CPU", ")", ",", "TargetTriple", "(", "TT", ")", ",", "TargetABI", "(", "ARM_ABI_APCS", ")", "{", "initializeEnvironment", "(", ")", ";", "resetSubtargetFeatures", "(", "CPU", ",", "FS", ")", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM", "4", "ARM"], "File": "ARMSubtarget1", "Func": "ARMSubtarget", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12808, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "MandarinRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "Reserved", ".", "set", "(", "MD", "::", "R30", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "MD", "::", "R31", ")", ";", "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": ["Mandarin", "MD::R30", "MD::R31"], "File": "MandarinRegisterInfo", "Func": "getReservedRegs", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12809, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SICTargetLowering", "::", "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_SIC", ")", ";", "}", ""], "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": ["SIC", "SIC", "ISD::OutputArg", "16", "SIC"], "File": "SICISelLowering", "Func": "CanLowerReturn", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12810, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCTargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "KnownBits", "&", "Known", ",", "const", "APInt", "&", "DemandedElts", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "Known", ".", "resetAll", "(", ")", ";", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "PPCISD", "::", "LBRX", ":", "{", "if", "(", "cast", "<", "VTSDNode", ">", "(", "Op", ".", "getOperand", "(", "2", ")", ")", "->", "getVT", "(", ")", "==", "MVT", "::", "i16", ")", "Known", ".", "Zero", "=", "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_vcmpequq_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_vcmpgtsq_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", ":", "case", "Intrinsic", "::", "ppc_altivec_vcmpgtuq_p", ":", "Known", ".", "Zero", "=", "~", "1U", ";", "break", ";", "}", "break", ";", "}", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "{", "switch", "(", "cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "1", ")", ")", "->", "getZExtValue", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Intrinsic", "::", "ppc_load2r", ":", "Known", ".", "Zero", "=", "0xFFFF0000", ";", "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": ["PowerPC", "PPC", "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_vcmpequq_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_vcmpgtsq_p", "Intrinsic::ppc_altivec_vcmpgtub_p", "Intrinsic::ppc_altivec_vcmpgtuh_p", "Intrinsic::ppc_altivec_vcmpgtuw_p", "Intrinsic::ppc_altivec_vcmpgtud_p", "Intrinsic::ppc_altivec_vcmpgtuq_p", "1U", "ISD::INTRINSIC_W_CHAIN", "1", "Intrinsic::ppc_load2r", "0xFFFF0000"], "File": "PPCISelLowering11", "Func": "computeKnownBitsForTargetNode", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12811, "Length": 272, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_unordered_fp_compare", "(", "enum", "rtx_code", "code", ")", "{", "if", "(", "!", "TARGET_IEEE_FP", ")", "return", "false", ";", "switch", "(", "code", ")", "{", "case", "LT", ":", "case", "LE", ":", "case", "GT", ":", "case", "GE", ":", "case", "LTGT", ":", "return", "false", ";", "case", "EQ", ":", "case", "NE", ":", "case", "UNORDERED", ":", "case", "ORDERED", ":", "case", "UNLT", ":", "case", "UNLE", ":", "case", "UNGT", ":", "case", "UNGE", ":", "case", "UNEQ", ":", "return", "true", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Figure", "out", "whether", "to", "use", "unordered", "fp", "comparisons", "."], "TS_V_token": ["i386"], "File": "i386-expand", "Func": "ix86_unordered_fp_compare", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12812, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SparcTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Should not custom lower this!\"", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "SDValue", "(", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "SDValue", "(", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "llvm_unreachable", "(", "\"TLS not implemented for Sparc.\"", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "LowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FP_TO_SINT", ":", "return", "LowerFP_TO_SINT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SINT_TO_FP", ":", "return", "LowerSINT_TO_FP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBR_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ",", "*", "this", ")", ";", "case", "ISD", "::", "VAARG", ":", "return", "LowerVAARG", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "LowerDYNAMIC_STACKALLOC", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Sparc", "Sparc", "\"Should not custom lower this!\"", "ISD::RETURNADDR", "ISD::FRAMEADDR", "ISD::GlobalTLSAddress", "\"TLS not implemented for Sparc.\"", "ISD::GlobalAddress", "ISD::ConstantPool", "ISD::FP_TO_SINT", "ISD::SINT_TO_FP", "ISD::BR_CC", "ISD::SELECT_CC", "ISD::VASTART", "ISD::VAARG", "ISD::DYNAMIC_STACKALLOC"], "File": "SparcISelLowering32", "Func": "LowerOperation", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12813, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ARMBaseInstrInfo", "::", "getOperandLatency", "(", "const", "InstrItineraryData", "*", "ItinData", ",", "const", "MachineInstr", "*", "DefMI", ",", "unsigned", "DefIdx", ",", "const", "MachineInstr", "*", "UseMI", ",", "unsigned", "UseIdx", ")", "const", "{", "if", "(", "!", "ItinData", "||", "ItinData", "->", "isEmpty", "(", ")", ")", "return", "-", "1", ";", "const", "MachineOperand", "&", "DefMO", "=", "DefMI", "->", "getOperand", "(", "DefIdx", ")", ";", "unsigned", "Reg", "=", "DefMO", ".", "getReg", "(", ")", ";", "const", "MCInstrDesc", "*", "DefMCID", "=", "&", "DefMI", "->", "getDesc", "(", ")", ";", "const", "MCInstrDesc", "*", "UseMCID", "=", "&", "UseMI", "->", "getDesc", "(", ")", ";", "unsigned", "DefAdj", "=", "0", ";", "if", "(", "DefMI", "->", "isBundle", "(", ")", ")", "{", "DefMI", "=", "getBundledDefMI", "(", "&", "getRegisterInfo", "(", ")", ",", "DefMI", ",", "Reg", ",", "DefIdx", ",", "DefAdj", ")", ";", "DefMCID", "=", "&", "DefMI", "->", "getDesc", "(", ")", ";", "}", "if", "(", "DefMI", "->", "isCopyLike", "(", ")", "||", "DefMI", "->", "isInsertSubreg", "(", ")", "||", "DefMI", "->", "isRegSequence", "(", ")", "||", "DefMI", "->", "isImplicitDef", "(", ")", ")", "{", "return", "1", ";", "}", "unsigned", "UseAdj", "=", "0", ";", "if", "(", "UseMI", "->", "isBundle", "(", ")", ")", "{", "unsigned", "NewUseIdx", ";", "const", "MachineInstr", "*", "NewUseMI", "=", "getBundledUseMI", "(", "&", "getRegisterInfo", "(", ")", ",", "UseMI", ",", "Reg", ",", "NewUseIdx", ",", "UseAdj", ")", ";", "if", "(", "!", "NewUseMI", ")", "return", "-", "1", ";", "UseMI", "=", "NewUseMI", ";", "UseIdx", "=", "NewUseIdx", ";", "UseMCID", "=", "&", "UseMI", "->", "getDesc", "(", ")", ";", "}", "if", "(", "Reg", "==", "ARM", "::", "CPSR", ")", "{", "if", "(", "DefMI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "FMSTAT", ")", "{", "return", "Subtarget", ".", "isLikeA9", "(", ")", "?", "1", ":", "20", ";", "}", "if", "(", "UseMI", "->", "isBranch", "(", ")", ")", "return", "0", ";", "unsigned", "Latency", "=", "getInstrLatency", "(", "ItinData", ",", "DefMI", ")", ";", "if", "(", "Latency", ">", "0", "&&", "Subtarget", ".", "isThumb2", "(", ")", ")", "{", "const", "MachineFunction", "*", "MF", "=", "DefMI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", "->", "getFnAttributes", "(", ")", ".", "hasAttribute", "(", "Attributes", "::", "OptimizeForSize", ")", ")", "--", "Latency", ";", "}", "return", "Latency", ";", "}", "if", "(", "DefMO", ".", "isImplicit", "(", ")", "||", "UseMI", "->", "getOperand", "(", "UseIdx", ")", ".", "isImplicit", "(", ")", ")", "return", "-", "1", ";", "unsigned", "DefAlign", "=", "DefMI", "->", "hasOneMemOperand", "(", ")", "?", "(", "*", "DefMI", "->", "memoperands_begin", "(", ")", ")", "->", "getAlignment", "(", ")", ":", "0", ";", "unsigned", "UseAlign", "=", "UseMI", "->", "hasOneMemOperand", "(", ")", "?", "(", "*", "UseMI", "->", "memoperands_begin", "(", ")", ")", "->", "getAlignment", "(", ")", ":", "0", ";", "int", "Latency", "=", "getOperandLatency", "(", "ItinData", ",", "*", "DefMCID", ",", "DefIdx", ",", "DefAlign", ",", "*", "UseMCID", ",", "UseIdx", ",", "UseAlign", ")", ";", "if", "(", "Latency", "<", "0", ")", "return", "Latency", ";", "int", "Adj", "=", "DefAdj", "+", "UseAdj", ";", "Adj", "+=", "adjustDefLatency", "(", "Subtarget", ",", "DefMI", ",", "DefMCID", ",", "DefAlign", ")", ";", "if", "(", "Adj", ">=", "0", "||", "(", "int", ")", "Latency", ">", "-", "Adj", ")", "{", "return", "Latency", "+", "Adj", ";", "}", "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", "1", "0", "1", "ARM::CPSR", "ARM::FMSTAT", "1", "20", "0", "0", "1", "0", "0", "0", "0"], "File": "ARMBaseInstrInfo101", "Func": "getOperandLatency", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12814, "Length": 483, "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", ",", "bool", "is64Bit", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "Options", ".", "StackAlignmentOverride", ",", "is64Bit", ")", ",", "FrameLowering", "(", "*", "this", ",", "Subtarget", ")", ",", "ELFWriterInfo", "(", "is64Bit", ",", "true", ")", ",", "InstrItins", "(", "Subtarget", ".", "getInstrItineraryData", "(", ")", ")", "{", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "RIPRel", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "isTargetCygMing", "(", ")", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "StubPIC", ")", ";", "else", "{", "assert", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "DynamicNoPIC", ")", ";", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "StubDynamicNoPIC", ")", ";", "}", "}", "else", "if", "(", "Subtarget", ".", "isTargetELF", "(", ")", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "GOT", ")", ";", "}", "if", "(", "Options", ".", "FloatABIType", "==", "FloatABI", "::", "Default", ")", "this", "->", "Options", ".", "FloatABIType", "=", "FloatABI", "::", "Hard", ";", "}", ""], "natrual_language": ["Create", "an", "X86", "target", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86TargetMachine103", "Func": "X86TargetMachine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12815, "Length": 255, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "AArch64FrameLowering", "::", "getNonLocalFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ")", "const", "{", "return", "getSEHFrameIndexOffset", "(", "MF", ",", "FI", ")", ";", "}", ""], "natrual_language": ["getNonLocalFrameIndexReference", "-", "This", "method", "returns", "the", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64FrameLowering100", "Func": "getNonLocalFrameIndexReference", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12816, "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": ["DLX"], "File": "DLXAsmParser", "Func": "getStartLoc", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12817, "Length": 11, "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": 12818, "Length": 383, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mmix_use_simple_return", "(", "void", ")", "{", "int", "regno", ";", "int", "stack_space_to_allocate", "=", "(", "crtl", "->", "outgoing_args_size", "+", "crtl", "->", "args", ".", "pretend_args_size", "+", "get_frame_size", "(", ")", "+", "7", ")", "&", "~", "7", ";", "if", "(", "!", "TARGET_USE_RETURN_INSN", "||", "!", "reload_completed", ")", "return", "0", ";", "for", "(", "regno", "=", "255", ";", "regno", ">=", "MMIX_FIRST_GLOBAL_REGNUM", ";", "regno", "--", ")", "if", "(", "(", "(", "(", "regno", "!=", "MMIX_FRAME_POINTER_REGNUM", "||", "!", "frame_pointer_needed", ")", "&&", "df_regs_ever_live_p", "(", "regno", ")", "&&", "!", "call_used_or_fixed_reg_p", "(", "regno", ")", ")", ")", "||", "IS_MMIX_EH_RETURN_DATA_REG", "(", "regno", ")", ")", "return", "0", ";", "if", "(", "frame_pointer_needed", ")", "stack_space_to_allocate", "+=", "8", ";", "if", "(", "MMIX_CFUN_HAS_LANDING_PAD", ")", "stack_space_to_allocate", "+=", "16", ";", "else", "if", "(", "MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS", ")", "stack_space_to_allocate", "+=", "8", ";", "return", "stack_space_to_allocate", "==", "0", ";", "}", ""], "natrual_language": ["Nonzero", "when", "the", "function", "epilogue", "is", "simple", "enough", "that", "a", "single", "``", "POP", "%", "d,0", "''", "should", "be", "used", "even", "within", "the", "function", "."], "TS_V_token": ["mmix", "7", "7", "0", "255", "0", "8", "16", "8", "0"], "File": "mmix", "Func": "mmix_use_simple_return", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12819, "Length": 122, "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", ";", "for", "(", "i", "=", "FIRST_ALTIVEC_REGNO", "+", "20", ";", "i", "<=", "LAST_ALTIVEC_REGNO", ";", "++", "i", ")", "if", "(", "regs_ever_live", "[", "i", "]", ")", "break", ";", "return", "i", ";", "}", ""], "natrual_language": ["Similar", ",", "for", "AltiVec", "regs", "."], "TS_V_token": ["rs6000", "1", "20"], "File": "rs60003", "Func": "first_altivec_reg_to_save", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12820, "Length": 48, "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": 12821, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "MachineFrameInfo", "*", "FFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineRegisterInfo", "&", "RI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "unsigned", "MaxAlign", "=", "calculateMaxStackAlignment", "(", "FFI", ")", ";", "for", "(", "unsigned", "RegNum", "=", "TargetRegisterInfo", "::", "FirstVirtualRegister", ";", "RegNum", "<", "RI", ".", "getLastVirtReg", "(", ")", ";", "++", "RegNum", ")", "MaxAlign", "=", "std", "::", "max", "(", "MaxAlign", ",", "RI", ".", "getRegClass", "(", "RegNum", ")", "->", "getAlignment", "(", ")", ")", ";", "if", "(", "FFI", "->", "getMaxAlignment", "(", ")", "==", "MaxAlign", ")", "return", "false", ";", "FFI", "->", "setMaxAlignment", "(", "MaxAlign", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86"], "File": "X86RegisterInfo41", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12822, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "rs6000_gen_le_vsx_permute", "(", "rtx", "source", ",", "machine_mode", "mode", ")", "{", "if", "(", "FLOAT128_VECTOR_P", "(", "mode", ")", "||", "mode", "==", "TImode", "||", "mode", "==", "V1TImode", ")", "return", "gen_rtx_ROTATE", "(", "mode", ",", "source", ",", "GEN_INT", "(", "64", ")", ")", ";", "else", "{", "rtx", "par", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rs6000_const_vec", "(", "mode", ")", ")", ";", "return", "gen_rtx_VEC_SELECT", "(", "mode", ",", "source", ",", "par", ")", ";", "}", "}", ""], "natrual_language": ["Generate", "a", "permute", "rtx", "that", "represents", "an", "lxvd2x", ",", "stxvd2x", ",", "or", "xxpermdi", "for", "a", "VSX", "load", "or", "store", "operation", "."], "TS_V_token": ["powerpcspe", "64"], "File": "powerpcspe", "Func": "rs6000_gen_le_vsx_permute", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12823, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", ",", "unsigned", ",", "MachineMemOperand", "::", "Flags", ",", "bool", "*", "Fast", ")", "const", "{", "if", "(", "DisablePPCUnaligned", ")", "return", "false", ";", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "if", "(", "VT", ".", "isFloatingPoint", "(", ")", "&&", "!", "VT", ".", "isVector", "(", ")", "&&", "!", "Subtarget", ".", "allowsUnalignedFPAccess", "(", ")", ")", "return", "false", ";", "if", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "isVector", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "hasVSX", "(", ")", ")", "{", "if", "(", "VT", "!=", "MVT", "::", "v2f64", "&&", "VT", "!=", "MVT", "::", "v2i64", "&&", "VT", "!=", "MVT", "::", "v4f32", "&&", "VT", "!=", "MVT", "::", "v4i32", ")", "return", "false", ";", "}", "else", "{", "return", "false", ";", "}", "}", "if", "(", "VT", "==", "MVT", "::", "ppcf128", ")", "return", "false", ";", "if", "(", "Fast", ")", "*", "Fast", "=", "true", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "MVT::v2f64", "MVT::v2i64", "MVT::v4f32", "MVT::v4i32", "MVT::ppcf128"], "File": "PPCISelLowering100", "Func": "allowsMisalignedMemoryAccesses", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12824, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isLegalT1ScaledAddressingMode", "(", "const", "AddrMode", "&", "AM", ",", "EVT", "VT", ")", "const", "{", "const", "int", "Scale", "=", "AM", ".", "Scale", ";", "if", "(", "Scale", "<", "0", ")", "return", "false", ";", "return", "(", "Scale", "==", "1", ")", "||", "(", "!", "AM", ".", "HasBaseReg", "&&", "Scale", "==", "2", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "addressing", "mode", "representing", "by", "AM", "is", "legal", "for", "the", "Thumb1", "target", ",", "for", "a", "load/store", "of", "the", "specified", "type", "."], "TS_V_token": ["ARM", "ARM", "0", "1", "2"], "File": "ARMISelLowering (2)5", "Func": "isLegalT1ScaledAddressingMode", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12825, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "machine_mode", "select_cc_mode", "(", "enum", "rtx_code", "op", ",", "rtx", "x", ",", "rtx", "y", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "x", ")", ")", "==", "MODE_FLOAT", ")", "{", "switch", "(", "op", ")", "{", "case", "EQ", ":", "case", "NE", ":", "case", "UNORDERED", ":", "case", "ORDERED", ":", "case", "UNLT", ":", "case", "UNLE", ":", "case", "UNGT", ":", "case", "UNGE", ":", "case", "UNEQ", ":", "case", "LTGT", ":", "return", "CCFPmode", ";", "case", "LT", ":", "case", "LE", ":", "case", "GT", ":", "case", "GE", ":", "return", "CCFPEmode", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "||", "GET_CODE", "(", "x", ")", "==", "MINUS", "||", "GET_CODE", "(", "x", ")", "==", "NEG", "||", "GET_CODE", "(", "x", ")", "==", "ASHIFT", ")", "{", "if", "(", "TARGET_ARCH64", "&&", "GET_MODE", "(", "x", ")", "==", "DImode", ")", "return", "CCX_NOOVmode", ";", "else", "return", "CC_NOOVmode", ";", "}", "else", "{", "if", "(", "TARGET_ARCH64", "&&", "GET_MODE", "(", "x", ")", "==", "DImode", ")", "return", "CCXmode", ";", "else", "return", "CCmode", ";", "}", "}", ""], "natrual_language": ["Given", "a", "comparison", "code", "(", "EQ", ",", "NE", ",", "etc", ".", ")", "and", "the", "first", "operand", "of", "a", "COMPARE", ",", "return", "the", "mode", "to", "be", "used", "for", "the", "comparison", ".", "For", "floating-point", ",", "CCFP", "[", "E", "]", "mode", "is", "used", ".", "CC_NOOVmode", "should", "be", "used", "when", "the", "first", "operand", "is", "a", "PLUS", ",", "MINUS", ",", "NEG", ",", "or", "ASHIFT", ".", "CCmode", "should", "be", "used", "when", "no", "special", "processing", "is", "needed", "."], "TS_V_token": ["sparc"], "File": "sparc4", "Func": "select_cc_mode", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12826, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addRequired", "<", "EdgeBundles", ">", "(", ")", ";", "AU", ".", "addPreservedID", "(", "MachineLoopInfoID", ")", ";", "AU", ".", "addPreservedID", "(", "MachineDominatorsID", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["X86"], "File": "X86FloatingPoint", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12827, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "rs6000_invalid_conversion", "(", "const_tree", "fromtype", ",", "const_tree", "totype", ")", "{", "if", "(", "TYPE_CANONICAL", "(", "fromtype", ")", "!=", "NULL_TREE", ")", "fromtype", "=", "TYPE_CANONICAL", "(", "fromtype", ")", ";", "if", "(", "TYPE_CANONICAL", "(", "totype", ")", "!=", "NULL_TREE", ")", "totype", "=", "TYPE_CANONICAL", "(", "totype", ")", ";", "machine_mode", "frommode", "=", "TYPE_MODE", "(", "fromtype", ")", ";", "machine_mode", "tomode", "=", "TYPE_MODE", "(", "totype", ")", ";", "if", "(", "frommode", "!=", "tomode", ")", "{", "if", "(", "frommode", "==", "XOmode", ")", "return", "N_", "(", "\"invalid conversion from type %<__vector_quad%>\"", ")", ";", "if", "(", "tomode", "==", "XOmode", ")", "return", "N_", "(", "\"invalid conversion to type %<__vector_quad%>\"", ")", ";", "if", "(", "frommode", "==", "OOmode", ")", "return", "N_", "(", "\"invalid conversion from type %<__vector_pair%>\"", ")", ";", "if", "(", "tomode", "==", "OOmode", ")", "return", "N_", "(", "\"invalid conversion to type %<__vector_pair%>\"", ")", ";", "}", "return", "NULL", ";", "}", ""], "natrual_language": ["Implement", "TARGET_INVALID_CONVERSION", "."], "TS_V_token": ["rs6000", "\"invalid conversion from type %<__vector_quad%>\"", "\"invalid conversion to type %<__vector_quad%>\"", "\"invalid conversion from type %<__vector_pair%>\"", "\"invalid conversion to type %<__vector_pair%>\""], "File": "rs60001", "Func": "rs6000_invalid_conversion", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12828, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_is_valid_2insn_and", "(", "rtx", "c", ",", "machine_mode", "mode", ")", "{", "if", "(", "rs6000_is_valid_mask", "(", "c", ",", "NULL", ",", "NULL", ",", "mode", ")", ")", "return", "true", ";", "unsigned", "HOST_WIDE_INT", "val", "=", "INTVAL", "(", "c", ")", ";", "unsigned", "HOST_WIDE_INT", "bit1", "=", "val", "&", "-", "val", ";", "unsigned", "HOST_WIDE_INT", "bit2", "=", "(", "val", "+", "bit1", ")", "&", "~", "val", ";", "unsigned", "HOST_WIDE_INT", "val1", "=", "(", "val", "+", "bit1", ")", "&", "val", ";", "unsigned", "HOST_WIDE_INT", "bit3", "=", "val1", "&", "-", "val1", ";", "return", "rs6000_is_valid_and_mask", "(", "GEN_INT", "(", "val", "+", "bit3", "-", "bit2", ")", ",", "mode", ")", ";", "}", ""], "natrual_language": ["Return", "whether", "an", "AND", "with", "C", "(", "a", "CONST_INT", ")", "in", "mode", "MODE", "can", "be", "done", "using", "two", "machine", "instructions", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_is_valid_2insn_and", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12829, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64AsmPrinter", "::", "emitEndOfAsmFile", "(", "Module", "&", "M", ")", "{", "EmitHwasanMemaccessSymbols", "(", "M", ")", ";", "const", "Triple", "&", "TT", "=", "TM", ".", "getTargetTriple", "(", ")", ";", "if", "(", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "{", "MachineModuleInfoMachO", "&", "MMIMacho", "=", "MMI", "->", "getObjFileInfo", "<", "MachineModuleInfoMachO", ">", "(", ")", ";", "auto", "Stubs", "=", "MMIMacho", ".", "getAuthGVStubList", "(", ")", ";", "if", "(", "!", "Stubs", ".", "empty", "(", ")", ")", "{", "OutStreamer", "->", "SwitchSection", "(", "OutContext", ".", "getMachOSection", "(", "\"__DATA\"", ",", "\"__auth_ptr\"", ",", "MachO", "::", "S_REGULAR", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ")", ";", "emitAlignment", "(", "Align", "(", "8", ")", ")", ";", "for", "(", "auto", "&", "Stub", ":", "Stubs", ")", "emitAuthenticatedPointer", "(", "*", "OutStreamer", ",", "Stub", ".", "first", ",", "Stub", ".", "second", ")", ";", "OutStreamer", "->", "AddBlankLine", "(", ")", ";", "}", "OutStreamer", "->", "emitAssemblerFlag", "(", "MCAF_SubsectionsViaSymbols", ")", ";", "}", "emitStackMaps", "(", "SM", ")", ";", "}", ""], "natrual_language": ["This", "virtual", "method", "can", "be", "overridden", "by", "targets", "that", "want", "to", "emit", "something", "at", "the", "end", "of", "their", "file", "."], "TS_V_token": ["AArch64", "AArch64", "\"__DATA\"", "\"__auth_ptr\"", "8"], "File": "AArch64AsmPrinter76", "Func": "emitEndOfAsmFile", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12830, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb1FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "Thumb1InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "Thumb1InstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "const", "Thumb1RegisterInfo", "*", "RegInfo", "=", "static_cast", "<", "const", "Thumb1RegisterInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "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", ";", "unsigned", "Opc", "=", "Old", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "ARM", "::", "ADJCALLSTACKDOWN", "||", "Opc", "==", "ARM", "::", "tADJCALLSTACKDOWN", ")", "{", "emitSPUpdate", "(", "MBB", ",", "I", ",", "TII", ",", "dl", ",", "*", "RegInfo", ",", "-", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Opc", "==", "ARM", "::", "ADJCALLSTACKUP", "||", "Opc", "==", "ARM", "::", "tADJCALLSTACKUP", ")", ";", "emitSPUpdate", "(", "MBB", ",", "I", ",", "TII", ",", "dl", ",", "*", "RegInfo", ",", "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": ["ARM", "0", "0", "1", "ARM::ADJCALLSTACKDOWN", "ARM::tADJCALLSTACKDOWN", "ARM::ADJCALLSTACKUP", "ARM::tADJCALLSTACKUP"], "File": "Thumb1FrameLowering57", "Func": "eliminateCallFramePseudoInstr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12831, "Length": 219, "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": 12832, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "MMIXRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "MMIX", "::", "r253", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["MMIX", "MMIX", "MMIX::r253"], "File": "MMIXRegisterInfo", "Func": "getFrameRegister", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12833, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "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": "ARMBaseRegisterInfo57", "Func": "getCalleeSavedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12834, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TargetLowering", "::", "getExceptionSelectorRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "{", "assert", "(", "!", "isFuncletEHPersonality", "(", "classifyEHPersonality", "(", "PersonalityFn", ")", ")", ")", ";", "return", "Subtarget", ".", "isTarget64BitLP64", "(", ")", "?", "X86", "::", "RDX", ":", "X86", "::", "EDX", ";", "}", ""], "natrual_language": ["If", "a", "physical", "register", ",", "this", "returns", "the", "register", "that", "receives", "the", "exception", "typeid", "on", "entry", "to", "a", "landing", "pad", "."], "TS_V_token": ["X86", "X86", "X86::RDX", "X86::EDX"], "File": "X86ISelLowering (2)6", "Func": "getExceptionSelectorRegister", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12835, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "init_builtins", "(", ")", "{", "sve_switcher", "sve", ";", "register_builtin_types", "(", ")", ";", "if", "(", "in_lto_p", ")", "handle_arm_sve_h", "(", ")", ";", "}", ""], "natrual_language": ["Initialize", "all", "compiler", "built-ins", "related", "to", "RVV", "that", "should", "be", "defined", "at", "start-up", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "init_builtins", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12836, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLegalMaskedStore", "(", "Type", "*", "DataType", ",", "Align", "Alignment", ")", "{", "return", "isLegalMaskedLoadStore", "(", "DataType", ",", "Alignment", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "store", "."], "TS_V_token": ["AArch64"], "File": "AArch64TargetTransformInfo", "Func": "isLegalMaskedStore", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12837, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMLoc", "getLoc", "(", ")", "const", "{", "return", "getParser", "(", ")", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "}", ""], "natrual_language": ["Get", "the", "source", "location", "of", "the", "point", "where", "the", "field", "was", "defined", "."], "TS_V_token": ["MMIX"], "File": "MMIXAsmParser", "Func": "getLoc", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12838, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "size", "(", ")", "const", "{", "return", "Insts", ".", "size", "(", ")", ";", "}", ""], "natrual_language": ["The", "number", "of", "name/type", "pairs", "is", "returned", "."], "TS_V_token": ["ARM"], "File": "ARMLowOverheadLoops", "Func": "size", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12839, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "ARMOperand", "*", "CreateReg", "(", "unsigned", "RegNum", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{", "ARMOperand", "*", "Op", "=", "new", "ARMOperand", "(", "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": ["ARM", "ARM", "ARM", "ARM"], "File": "ARMAsmParser (2)", "Func": "CreateReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12840, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "X86TargetLowering", "::", "getStackProbeSymbolName", "(", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"probe-stack\"", ")", ")", "return", "MF", ".", "getFunction", "(", ")", ".", "getFnAttribute", "(", "\"probe-stack\"", ")", ".", "getValueAsString", "(", ")", ";", "if", "(", "!", "Subtarget", ".", "isOSWindows", "(", ")", "||", "Subtarget", ".", "isTargetMachO", "(", ")", "||", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"no-stack-arg-probe\"", ")", ")", "return", "\"\"", ";", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "return", "Subtarget", ".", "isTargetCygMing", "(", ")", "?", "\"___chkstk_ms\"", ":", "\"__chkstk\"", ";", "return", "Subtarget", ".", "isTargetCygMing", "(", ")", "?", "\"_alloca\"", ":", "\"_chkstk\"", ";", "}", ""], "natrual_language": ["Returns", "the", "name", "of", "the", "symbol", "used", "to", "emit", "stack", "probes", "or", "the", "empty", "string", "if", "not", "applicable", "."], "TS_V_token": ["X86", "X86", "\"probe-stack\"", "\"probe-stack\"", "\"no-stack-arg-probe\"", "\"\"", "\"___chkstk_ms\"", "\"__chkstk\"", "\"_alloca\"", "\"_chkstk\""], "File": "X86ISelLowering (2)6", "Func": "getStackProbeSymbolName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12841, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "fixed_reg_p", "(", "int", "reg", ")", "{", "if", "(", "reg", "==", "RS6000_PIC_OFFSET_TABLE_REGNUM", "&&", "(", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "flag_pic", ")", "||", "(", "DEFAULT_ABI", "==", "ABI_DARWIN", "&&", "flag_pic", ")", "||", "(", "TARGET_TOC", "&&", "TARGET_MINIMAL_TOC", ")", ")", ")", "return", "false", ";", "return", "fixed_regs", "[", "reg", "]", ";", "}", ""], "natrual_language": ["Return", "whether", "REG", "is", "a", "global", "user", "reg", "or", "has", "been", "specifed", "by", "-ffixed-REG", ".", "We", "should", "not", "restore", "these", ",", "and", "so", "can", "not", "use", "lmw", "or", "out-of-line", "restore", "functions", "if", "there", "are", "any", ".", "We", "also", "ca", "n't", "save", "them", "(", "well", ",", "emit", "frame", "notes", "for", "them", ")", ",", "because", "frame", "unwinding", "during", "exception", "handling", "will", "restore", "saved", "registers", "."], "TS_V_token": ["rs6000"], "File": "rs6000-logue", "Func": "fixed_reg_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12842, "Length": 48, "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": ["X86"], "File": "X86Subtarget24", "Func": "getCallLowering", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12843, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "aarch64_builtin_decl", "(", "unsigned", "code", ",", "bool", "initialize_p", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "code", ">=", "AARCH64_BUILTIN_MAX", ")", "return", "error_mark_node", ";", "return", "aarch64_builtin_decls", "[", "code", "]", ";", "}", ""], "natrual_language": ["Implement", "TARGET_BUILTIN_DECL", "."], "TS_V_token": ["aarch64"], "File": "aarch64-builtins2", "Func": "aarch64_builtin_decl", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12844, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_pad_reg_upward", "(", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "first", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "BYTES_BIG_ENDIAN", "&&", "aarch64_composite_type_p", "(", "type", ",", "mode", ")", ")", "{", "HOST_WIDE_INT", "size", ";", "if", "(", "type", ")", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "else", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ".", "to_constant", "(", ")", ";", "if", "(", "size", "<", "2", "*", "UNITS_PER_WORD", ")", "return", "true", ";", "}", "return", "!", "BYTES_BIG_ENDIAN", ";", "}", ""], "natrual_language": ["Similarly", ",", "for", "use", "by", "BLOCK_REG_PADDING", "(", "MODE", ",", "TYPE", ",", "FIRST", ")", ".", "It", "specifies", "padding", "for", "the", "last", "(", "may", "also", "be", "the", "only", ")", "element", "of", "a", "block", "move", "between", "registers", "and", "memory", ".", "If", "assuming", "the", "block", "is", "in", "the", "memory", ",", "padding", "upward", "means", "that", "the", "last", "element", "is", "padded", "after", "its", "highest", "significant", "byte", ",", "while", "in", "downward", "padding", ",", "the", "last", "element", "is", "padded", "at", "the", "its", "least", "significant", "byte", "side", ".", "Small", "aggregates", "and", "small", "complex", "types", "are", "always", "padded", "upwards", ".", "We", "do", "n't", "need", "to", "worry", "about", "homogeneous", "floating-point", "or", "short-vector", "aggregates", ";", "their", "move", "is", "not", "affected", "by", "the", "padding", "direction", "determined", "here", ".", "Regardless", "of", "endianness", ",", "each", "element", "of", "such", "an", "aggregate", "is", "put", "in", "the", "least", "significant", "bits", "of", "a", "fp/simd", "register", ".", "Return", "!", "BYTES_BIG_ENDIAN", "if", "the", "least", "significant", "byte", "of", "the", "register", "has", "useful", "data", ",", "and", "return", "the", "opposite", "if", "the", "most", "significant", "byte", "does", "."], "TS_V_token": ["aarch64", "2"], "File": "aarch645", "Func": "aarch64_pad_reg_upward", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12845, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint32_t", "ARM64MCCodeEmitter", "::", "getBranchTargetOpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpIdx", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpIdx", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"Unexpected ADR target type!\"", ")", ";", "MCFixupKind", "Kind", "=", "MI", ".", "getOpcode", "(", ")", "==", "ARM64", "::", "BL", "?", "MCFixupKind", "(", "ARM64", "::", "fixup_arm64_pcrel_call26", ")", ":", "MCFixupKind", "(", "ARM64", "::", "fixup_arm64_pcrel_branch26", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "0", ",", "MO", ".", "getExpr", "(", ")", ",", "Kind", ",", "MI", ".", "getLoc", "(", ")", ")", ")", ";", "++", "MCNumFixups", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "."], "TS_V_token": ["ARM64", "ARM64", "\"Unexpected ADR target type!\"", "ARM64::BL", "ARM64::fixup_arm64_pcrel_call26", "ARM64::fixup_arm64_pcrel_branch26", "0", "0"], "File": "ARM64MCCodeEmitter", "Func": "getBranchTargetOpValue", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12846, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arm_expand_neon_builtin", "(", "int", "fcode", ",", "tree", "exp", ",", "rtx", "target", ")", "{", "neon_builtin_datum", "*", "d", "=", "&", "neon_builtin_data", "[", "fcode", "-", "ARM_BUILTIN_NEON_BASE", "]", ";", "enum", "insn_code", "icode", "=", "d", "->", "code", ";", "builtin_arg", "args", "[", "SIMD_MAX_BUILTIN_ARGS", "]", ";", "int", "num_args", "=", "insn_data", "[", "d", "->", "code", "]", ".", "n_operands", ";", "int", "is_void", "=", "0", ";", "int", "k", ";", "is_void", "=", "!", "!", "(", "d", "->", "qualifiers", "[", "0", "]", "&", "qualifier_void", ")", ";", "num_args", "+=", "is_void", ";", "for", "(", "k", "=", "1", ";", "k", "<", "num_args", ";", "k", "++", ")", "{", "int", "qualifiers_k", "=", "k", ";", "int", "operands_k", "=", "k", "-", "is_void", ";", "int", "expr_args_k", "=", "k", "-", "1", ";", "if", "(", "d", "->", "qualifiers", "[", "qualifiers_k", "]", "&", "qualifier_immediate", ")", "args", "[", "k", "]", "=", "NEON_ARG_CONSTANT", ";", "else", "if", "(", "d", "->", "qualifiers", "[", "qualifiers_k", "]", "&", "qualifier_maybe_immediate", ")", "{", "rtx", "arg", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "(", "expr_args_k", ")", ")", ")", ";", "bool", "op_const_int_p", "=", "(", "CONST_INT_P", "(", "arg", ")", "&&", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "operands_k", "]", ".", "predicate", ")", "(", "arg", ",", "insn_data", "[", "icode", "]", ".", "operand", "[", "operands_k", "]", ".", "mode", ")", ")", ";", "args", "[", "k", "]", "=", "op_const_int_p", "?", "NEON_ARG_CONSTANT", ":", "NEON_ARG_COPY_TO_REG", ";", "}", "else", "if", "(", "d", "->", "qualifiers", "[", "qualifiers_k", "]", "&", "qualifier_pointer", ")", "args", "[", "k", "]", "=", "NEON_ARG_MEMORY", ";", "else", "args", "[", "k", "]", "=", "NEON_ARG_COPY_TO_REG", ";", "}", "args", "[", "k", "]", "=", "NEON_ARG_STOP", ";", "return", "arm_expand_neon_args", "(", "target", ",", "d", "->", "mode", ",", "fcode", ",", "icode", ",", "!", "is_void", ",", "exp", ",", "args", "[", "1", "]", ",", "args", "[", "2", "]", ",", "args", "[", "3", "]", ",", "args", "[", "4", "]", ",", "NEON_ARG_STOP", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "Neon", "builtin", ",", "i.e", ".", "those", "registered", "only", "if", "TARGET_NEON", "holds", ".", "Most", "of", "these", "are", "``", "special", "''", "because", "they", "do", "n't", "have", "symbolic", "constants", "defined", "per-instruction", "or", "per", "instruction-variant", ".", "Instead", ",", "the", "required", "info", "is", "looked", "up", "in", "the", "table", "neon_builtin_data", "."], "TS_V_token": ["arm", "0", "0", "1", "1", "1", "2", "3", "4"], "File": "arm-builtins2", "Func": "arm_expand_neon_builtin", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12847, "Length": 287, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"AArch64 Indirect Thunks\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64", "\"AArch64 Indirect Thunks\""], "File": "AArch64SLSHardening", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12848, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_internal_arg_pointer", "(", "void", ")", "{", "return", "virtual_incoming_args_rtx", ";", "}", ""], "natrual_language": ["Handle", "the", "TARGET_INTERNAL_ARG_POINTER", "hook", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_internal_arg_pointer", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12849, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "getName", "(", ")", "{", "return", "DEBUG_TYPE", ";", "}", ""], "natrual_language": ["Return", "a", "string", "with", "the", "name", "of", "the", "plan", "and", "the", "applicable", "VFs", "and", "UFs", "."], "TS_V_token": ["PowerPC"], "File": "PPCInstructionSelector", "Func": "getName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12850, "Length": 12, "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", "=", "*", "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", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "bool", "IsLiveIn", "=", "MRI", ".", "isLiveIn", "(", "Reg", ")", ";", "if", "(", "!", "IsLiveIn", ")", "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", ",", "!", "IsLiveIn", ",", "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", "0", "PPC::VRSAVE", "PPC::CR2", "PPC::CR4", "PPC", "PPC", "PPC", "PPC::MFCR", "PPC::R12", "PPC::STW", "PPC::R12"], "File": "PPCFrameLowering21", "Func": "spillCalleeSavedRegisters", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12851, "Length": 382, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "LC2200RegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", ")", "const", "{", "return", "CC_Save_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["LC2200", "LC2200"], "File": "LC2200RegisterInfo", "Func": "getCallPreservedMask", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12852, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "RegImmPair", ">", "ARMBaseInstrInfo", "::", "isAddImmediate", "(", "const", "MachineInstr", "&", "MI", ",", "Register", "Reg", ")", "const", "{", "int", "Sign", "=", "1", ";", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "int64_t", "Offset", "=", "0", ";", "if", "(", "Reg", "!=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", "return", "None", ";", "if", "(", "Opcode", "==", "ARM", "::", "SUBri", ")", "Sign", "=", "-", "1", ";", "else", "if", "(", "Opcode", "!=", "ARM", "::", "ADDri", ")", "return", "None", ";", "if", "(", "!", "MI", ".", "getOperand", "(", "0", ")", ".", "isReg", "(", ")", "||", "!", "MI", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "||", "!", "MI", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", ")", "return", "None", ";", "Offset", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "*", "Sign", ";", "return", "RegImmPair", "{", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ",", "Offset", "}", ";", "}", ""], "natrual_language": ["If", "the", "specific", "machine", "instruction", "is", "an", "instruction", "that", "adds", "an", "immediate", "value", "and", "a", "register", ",", "and", "stores", "the", "result", "in", "the", "given", "register", "Reg", ",", "return", "a", "pair", "of", "the", "source", "register", "and", "the", "offset", "which", "has", "been", "added", "."], "TS_V_token": ["ARM", "ARM", "1", "0", "0", "ARM::SUBri", "1", "ARM::ADDri", "0", "1", "2", "2", "1"], "File": "ARMBaseInstrInfo78", "Func": "isAddImmediate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12853, "Length": 154, "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", "MipsRegisterInfo", "*", "RegInfo", "=", "static_cast", "<", "const", "MipsRegisterInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "const", "MipsSEInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "MipsSEInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "SP", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "SP_64", ":", "Mips", "::", "SP", ";", "unsigned", "FP", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "FP_64", ":", "Mips", "::", "FP", ";", "unsigned", "ZERO", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "ZERO_64", ":", "Mips", "::", "ZERO", ";", "unsigned", "ADDu", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "DADDu", ":", "Mips", "::", "ADDu", ";", "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", "(", "MipsFI", "->", "callsEhReturn", "(", ")", ")", "{", "const", "TargetRegisterClass", "*", "RC", "=", "STI", ".", "isABI_N64", "(", ")", "?", "&", "Mips", "::", "CPU64RegsRegClass", ":", "&", "Mips", "::", "CPURegsRegClass", ";", "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", ")", ",", "MipsFI", "->", "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": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::SP_64", "Mips::SP", "Mips::FP_64", "Mips::FP", "Mips::ZERO_64", "Mips::ZERO", "Mips::DADDu", "Mips::ADDu", "0", "Mips", "Mips::CPU64RegsRegClass", "Mips::CPURegsRegClass", "0", "0", "4", "Mips"], "File": "MipsSEFrameLowering26", "Func": "emitEpilogue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12854, "Length": 376, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_init_neon_builtins", "(", "void", ")", "{", "unsigned", "int", "i", ",", "fcode", "=", "ARM_BUILTIN_NEON_PATTERN_START", ";", "arm_init_simd_builtin_types", "(", ")", ";", "arm_init_simd_builtin_scalar_types", "(", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "neon_builtin_data", ")", ";", "i", "++", ",", "fcode", "++", ")", "{", "arm_builtin_datum", "*", "d", "=", "&", "neon_builtin_data", "[", "i", "]", ";", "arm_init_builtin", "(", "fcode", ",", "d", ",", "\"__builtin_neon\"", ")", ";", "}", "}", ""], "natrual_language": ["Set", "up", "all", "the", "NEON", "builtins", ",", "even", "builtins", "for", "instructions", "that", "are", "not", "in", "the", "current", "target", "ISA", "to", "allow", "the", "user", "to", "compile", "particular", "modules", "with", "different", "target", "specific", "options", "that", "differ", "from", "the", "command", "line", "options", ".", "Such", "builtins", "will", "be", "rejected", "in", "arm_expand_builtin", "."], "TS_V_token": ["arm", "0", "\"__builtin_neon\""], "File": "arm-builtins", "Func": "arm_init_neon_builtins", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12855, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "shouldFoldMaskToVariableShiftPair", "(", "SDValue", "Y", ")", "const", "{", "EVT", "VT", "=", "Y", ".", "getValueType", "(", ")", ";", "if", "(", "VT", ".", "isVector", "(", ")", ")", "return", "false", ";", "if", "(", "VT", "==", "MVT", "::", "i64", "&&", "!", "Subtarget", ".", "is64Bit", "(", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["There", "are", "two", "ways", "to", "clear", "extreme", "bits", "(", "either", "low", "or", "high", ")", ":", "Mask", ":", "x", "&", "(", "-1", "<", "<", "y", ")", "(", "the", "instcombine", "canonical", "form", ")", "Shifts", ":", "x", ">", ">", "y", "<", "<", "y", "Return", "true", "if", "the", "variant", "with", "2", "variable", "shifts", "is", "preferred", "."], "TS_V_token": ["X86", "X86", "MVT::i64"], "File": "X86ISelLowering (2)5", "Func": "shouldFoldMaskToVariableShiftPair", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12856, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "switch", "(", "Kind", ")", "{", "case", "IMMEDIATE", ":", "OS", "<<", "\"Imm: \"", "<<", "getImm", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "TOKEN", ":", "OS", "<<", "\"Token: \"", "<<", "getToken", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "REGISTER", ":", "OS", "<<", "\"Reg: %r\"", "<<", "getReg", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "MEMORY_IMM", ":", "OS", "<<", "\"MemImm: \"", "<<", "*", "getMemOffset", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "MEMORY_REG_IMM", ":", "OS", "<<", "\"MemRegImm: \"", "<<", "getMemBaseReg", "(", ")", "<<", "\"+\"", "<<", "*", "getMemOffset", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "MEMORY_REG_REG", ":", "assert", "(", "getMemOffset", "(", ")", "==", "nullptr", ")", ";", "OS", "<<", "\"MemRegReg: \"", "<<", "getMemBaseReg", "(", ")", "<<", "\"+\"", "<<", "\"%r\"", "<<", "getMemOffsetReg", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["Lanai", "\"Imm: \"", "\"\\n\"", "\"Token: \"", "\"\\n\"", "\"Reg: %r\"", "\"\\n\"", "\"MemImm: \"", "\"\\n\"", "\"MemRegImm: \"", "\"+\"", "\"\\n\"", "\"MemRegReg: \"", "\"+\"", "\"%r\"", "\"\\n\""], "File": "LanaiAsmParser (2)", "Func": "print", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12857, "Length": 132, "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", "::", "BlockAddress", ":", "return", "LowerBlockAddress", "(", "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", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBR_CC", "(", "Op", ",", "DAG", ")", ";", "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", "::", "MEMBARRIER", ":", "return", "LowerMEMBARRIER", "(", "Op", ",", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "FP16_TO_FP32", ":", "case", "ISD", "::", "SINT_TO_FP", ":", "case", "ISD", "::", "UINT_TO_FP", ":", "return", "LowerINT_TO_FP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FP32_TO_FP16", ":", "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_WO_CHAIN", ":", "return", "LowerINTRINSIC_WO_CHAIN", "(", "Op", ",", "DAG", ",", "Subtarget", ")", ";", "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", "::", "SHL_PARTS", ":", "return", "LowerShiftLeftParts", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SRL_PARTS", ":", "case", "ISD", "::", "SRA_PARTS", ":", "return", "LowerShiftRightParts", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "CTTZ", ":", "return", "LowerCTTZ", "(", "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", "::", "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::BlockAddress", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::SELECT_CC", "ISD::BR_CC", "ISD::BR_JT", "ISD::DYNAMIC_STACKALLOC", "ISD::VASTART", "ISD::MEMBARRIER", "ISD::FP16_TO_FP32", "ISD::SINT_TO_FP", "ISD::UINT_TO_FP", "ISD::FP32_TO_FP16", "ISD::FP_TO_SINT", "ISD::FP_TO_UINT", "ISD::FCOPYSIGN", "ISD::RETURNADDR", "ISD::FRAMEADDR", "ISD::GLOBAL_OFFSET_TABLE", "ISD::INTRINSIC_WO_CHAIN", "ISD::BIT_CONVERT", "ISD::SHL", "ISD::SRL", "ISD::SRA", "ISD::SHL_PARTS", "ISD::SRL_PARTS", "ISD::SRA_PARTS", "ISD::CTTZ", "ISD::VSETCC", "ISD::BUILD_VECTOR", "ISD::VECTOR_SHUFFLE", "ISD::EXTRACT_VECTOR_ELT", "ISD::CONCAT_VECTORS"], "File": "ARMISelLowering157", "Func": "LowerOperation", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12858, "Length": 451, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getMinPrefetchStride", "(", ")", "const", "{", "return", "MinPrefetchStride", ";", "}", ""], "natrual_language": ["Some", "HW", "prefetchers", "can", "handle", "accesses", "up", "to", "a", "certain", "constant", "stride", "."], "TS_V_token": ["AArch64"], "File": "AArch64Subtarget10", "Func": "getMinPrefetchStride", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12859, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "ARMTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "ADD", ":", "return", "PerformADDCombine", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SUB", ":", "return", "PerformSUBCombine", "(", "N", ",", "DCI", ")", ";", "case", "ARMISD", "::", "FMRRD", ":", "return", "PerformFMRRDCombine", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "PerformIntrinsicCombine", "(", "N", ",", "DCI", ".", "DAG", ")", ";", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SRL", ":", "return", "PerformShiftCombine", "(", "N", ",", "DCI", ".", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "case", "ISD", "::", "ZERO_EXTEND", ":", "case", "ISD", "::", "ANY_EXTEND", ":", "return", "PerformExtendCombine", "(", "N", ",", "DCI", ".", "DAG", ",", "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": ["ARM", "ARM", "ISD::ADD", "ISD::SUB", "ARMISD::FMRRD", "ISD::INTRINSIC_WO_CHAIN", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::SIGN_EXTEND", "ISD::ZERO_EXTEND", "ISD::ANY_EXTEND"], "File": "ARMISelLowering33", "Func": "PerformDAGCombine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12860, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToAddress", "(", "Register", "ValVReg", ",", "Register", "Addr", ",", "uint64_t", "Size", ",", "MachinePointerInfo", "&", "MPO", ",", "CCValAssign", "&", "VA", ")", "override", "{", "auto", "MMO", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getMachineMemOperand", "(", "MPO", ",", "MachineMemOperand", "::", "MOLoad", "|", "MachineMemOperand", "::", "MOInvariant", ",", "Size", ",", "1", ")", ";", "MIRBuilder", ".", "buildLoad", "(", "ValVReg", ",", "Addr", ",", "*", "MMO", ")", ";", "}", ""], "natrual_language": ["An", "overload", "which", "takes", "an", "ArgInfo", "if", "additional", "information", "about", "the", "arg", "is", "needed", "."], "TS_V_token": ["X86", "1"], "File": "X86CallLowering1", "Func": "assignValueToAddress", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12861, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "DCPU16TargetLowering", "::", "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", ";", "if", "(", "CallConv", "==", "CallingConv", "::", "DCPU16_INTR", "&&", "!", "Outs", ".", "empty", "(", ")", ")", "report_fatal_error", "(", "\"Interrupt handlers cannot return any value\"", ")", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_DCPU16", ")", ";", "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", "=", "(", "CallConv", "==", "CallingConv", "::", "DCPU16_INTR", "?", "DCPU16ISD", "::", "RETI_FLAG", ":", "DCPU16ISD", "::", "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": ["Dcpu16", "DCPU16", "ISD::OutputArg", "16", "DCPU16", "\"Interrupt handlers cannot return any value\"", "DCPU16", "0", "0", "\"Can only return in registers!\"", "1", "DCPU16", "DCPU16ISD::RETI_FLAG", "DCPU16ISD::RET_FLAG", "MVT::Other", "MVT::Other"], "File": "Dcpu16ISelLowering", "Func": "LowerReturn", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12862, "Length": 314, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "TOYInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "TOY", "::", "STORErr", ":", "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": ["TOY", "TOY", "TOY::STORErr", "1", "1", "0", "0"], "File": "TOYInstrInfo", "Func": "isStoreToStackSlot", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12863, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "altivec_expand_dst_builtin", "(", "tree", "exp", ",", "rtx", "target", "ATTRIBUTE_UNUSED", ",", "bool", "*", "expandedp", ")", "{", "tree", "fndecl", "=", "TREE_OPERAND", "(", "CALL_EXPR_FN", "(", "exp", ")", ",", "0", ")", ";", "enum", "rs6000_builtins", "fcode", "=", "(", "enum", "rs6000_builtins", ")", "DECL_FUNCTION_CODE", "(", "fndecl", ")", ";", "tree", "arg0", ",", "arg1", ",", "arg2", ";", "machine_mode", "mode0", ",", "mode1", ";", "rtx", "pat", ",", "op0", ",", "op1", ",", "op2", ";", "const", "struct", "builtin_description", "*", "d", ";", "size_t", "i", ";", "*", "expandedp", "=", "false", ";", "d", "=", "bdesc_dst", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "bdesc_dst", ")", ";", "i", "++", ",", "d", "++", ")", "if", "(", "d", "->", "code", "==", "fcode", ")", "{", "arg0", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "arg1", "=", "CALL_EXPR_ARG", "(", "exp", ",", "1", ")", ";", "arg2", "=", "CALL_EXPR_ARG", "(", "exp", ",", "2", ")", ";", "op0", "=", "expand_normal", "(", "arg0", ")", ";", "op1", "=", "expand_normal", "(", "arg1", ")", ";", "op2", "=", "expand_normal", "(", "arg2", ")", ";", "mode0", "=", "insn_data", "[", "d", "->", "icode", "]", ".", "operand", "[", "0", "]", ".", "mode", ";", "mode1", "=", "insn_data", "[", "d", "->", "icode", "]", ".", "operand", "[", "1", "]", ".", "mode", ";", "if", "(", "arg0", "==", "error_mark_node", "||", "arg1", "==", "error_mark_node", "||", "arg2", "==", "error_mark_node", ")", "return", "const0_rtx", ";", "*", "expandedp", "=", "true", ";", "STRIP_NOPS", "(", "arg2", ")", ";", "if", "(", "TREE_CODE", "(", "arg2", ")", "!=", "INTEGER_CST", "||", "TREE_INT_CST_LOW", "(", "arg2", ")", "&", "~", "0x3", ")", "{", "error", "(", "\"argument to %qs must be a 2-bit unsigned literal\"", ",", "d", "->", "name", ")", ";", "return", "const0_rtx", ";", "}", "if", "(", "!", "(", "*", "insn_data", "[", "d", "->", "icode", "]", ".", "operand", "[", "0", "]", ".", "predicate", ")", "(", "op0", ",", "mode0", ")", ")", "op0", "=", "copy_to_mode_reg", "(", "Pmode", ",", "op0", ")", ";", "if", "(", "!", "(", "*", "insn_data", "[", "d", "->", "icode", "]", ".", "operand", "[", "1", "]", ".", "predicate", ")", "(", "op1", ",", "mode1", ")", ")", "op1", "=", "copy_to_mode_reg", "(", "mode1", ",", "op1", ")", ";", "pat", "=", "GEN_FCN", "(", "d", "->", "icode", ")", "(", "op0", ",", "op1", ",", "op2", ")", ";", "if", "(", "pat", "!=", "0", ")", "emit_insn", "(", "pat", ")", ";", "return", "NULL_RTX", ";", "}", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Expand", "the", "dst", "builtins", "."], "TS_V_token": ["rs6000", "0", "0", "0", "1", "2", "0", "1", "0x3", "\"argument to %qs must be a 2-bit unsigned literal\"", "0", "1", "0"], "File": "rs60004", "Func": "altivec_expand_dst_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12864, "Length": 350, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_frame_barrier", "(", "void", ")", "{", "emit_clobber", "(", "gen_frame_mem", "(", "BLKmode", ",", "stack_pointer_rtx", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "optimisation", "barrier", "for", "accesses", "to", "the", "current", "frame", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_frame_barrier", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12865, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "neon_make_constant", "(", "rtx", "vals", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "vals", ")", ";", "rtx", "target", ";", "rtx", "const_vec", "=", "NULL_RTX", ";", "int", "n_elts", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "int", "n_const", "=", "0", ";", "int", "i", ";", "if", "(", "GET_CODE", "(", "vals", ")", "==", "CONST_VECTOR", ")", "const_vec", "=", "vals", ";", "else", "if", "(", "GET_CODE", "(", "vals", ")", "==", "PARALLEL", ")", "{", "for", "(", "i", "=", "0", ";", "i", "<", "n_elts", ";", "++", "i", ")", "{", "rtx", "x", "=", "XVECEXP", "(", "vals", ",", "0", ",", "i", ")", ";", "if", "(", "CONST_INT_P", "(", "x", ")", "||", "CONST_DOUBLE_P", "(", "x", ")", ")", "n_const", "++", ";", "}", "if", "(", "n_const", "==", "n_elts", ")", "const_vec", "=", "gen_rtx_CONST_VECTOR", "(", "mode", ",", "XVEC", "(", "vals", ",", "0", ")", ")", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "if", "(", "const_vec", "!=", "NULL", "&&", "neon_immediate_valid_for_move", "(", "const_vec", ",", "mode", ",", "NULL", ",", "NULL", ")", ")", "return", "const_vec", ";", "else", "if", "(", "(", "target", "=", "neon_vdup_constant", "(", "vals", ")", ")", "!=", "NULL_RTX", ")", "return", "target", ";", "else", "if", "(", "const_vec", "!=", "NULL_RTX", ")", "return", "const_vec", ";", "else", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Generate", "code", "to", "load", "VALS", ",", "which", "is", "a", "PARALLEL", "containing", "only", "constants", "(", "for", "vec_init", ")", "or", "CONST_VECTOR", ",", "efficiently", "into", "a", "register", ".", "Returns", "an", "RTX", "to", "copy", "into", "the", "register", ",", "or", "NULL_RTX", "for", "a", "PARALLEL", "that", "can", "not", "be", "converted", "into", "a", "CONST_VECTOR", "."], "TS_V_token": ["arm", "0", "0", "0", "0"], "File": "arm4", "Func": "neon_make_constant", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12866, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_handle_attr_isa_flags", "(", "char", "*", "str", ")", "{", "enum", "aarch64_parse_opt_result", "parse_res", ";", "uint64_t", "isa_flags", "=", "aarch64_isa_flags", ";", "if", "(", "strncmp", "(", "\"+nothing\"", ",", "str", ",", "8", ")", "==", "0", ")", "{", "isa_flags", "=", "0", ";", "str", "+=", "8", ";", "}", "std", "::", "string", "invalid_extension", ";", "parse_res", "=", "aarch64_parse_extension", "(", "str", ",", "&", "isa_flags", ",", "&", "invalid_extension", ")", ";", "if", "(", "parse_res", "==", "AARCH64_PARSE_OK", ")", "{", "aarch64_isa_flags", "=", "isa_flags", ";", "return", "true", ";", "}", "switch", "(", "parse_res", ")", "{", "case", "AARCH64_PARSE_MISSING_ARG", ":", "error", "(", "\"missing value in % pragma or attribute\"", ")", ";", "break", ";", "case", "AARCH64_PARSE_INVALID_FEATURE", ":", "error", "(", "\"invalid feature modifier %s of value (\\\"%s\\\") in \"", "\"% pragma or attribute\"", ",", "invalid_extension", ".", "c_str", "(", ")", ",", "str", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Parse", "an", "architecture", "extensions", "target", "attribute", "string", "specified", "in", "STR", ".", "For", "example", "``", "+fp+nosimd", "''", ".", "Show", "any", "errors", "if", "needed", ".", "Return", "TRUE", "if", "successful", ".", "Update", "aarch64_isa_flags", "to", "reflect", "the", "ISA", "features", "modified", ".", "PRAGMA_OR_ATTR", "is", "used", "in", "potential", "error", "messages", "."], "TS_V_token": ["aarch64", "\"+nothing\"", "8", "0", "0", "8", "\"missing value in % pragma or attribute\"", "\"invalid feature modifier %s of value (\\\"%s\\\") in \"", "\"% pragma or attribute\""], "File": "aarch64", "Func": "aarch64_handle_attr_isa_flags", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12867, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_override_options", "(", "void", ")", "{", "unsigned", "long", "cpu_isa", "=", "0", ";", "unsigned", "long", "arch_isa", "=", "0", ";", "aarch64_isa_flags", "=", "0", ";", "bool", "valid_cpu", "=", "true", ";", "bool", "valid_tune", "=", "true", ";", "bool", "valid_arch", "=", "true", ";", "selected_cpu", "=", "NULL", ";", "selected_arch", "=", "NULL", ";", "selected_tune", "=", "NULL", ";", "if", "(", "aarch64_cpu_string", ")", "valid_cpu", "=", "aarch64_validate_mcpu", "(", "aarch64_cpu_string", ",", "&", "selected_cpu", ",", "&", "cpu_isa", ")", ";", "if", "(", "aarch64_arch_string", ")", "valid_arch", "=", "aarch64_validate_march", "(", "aarch64_arch_string", ",", "&", "selected_arch", ",", "&", "arch_isa", ")", ";", "if", "(", "aarch64_tune_string", ")", "valid_tune", "=", "aarch64_validate_mtune", "(", "aarch64_tune_string", ",", "&", "selected_tune", ")", ";", "if", "(", "!", "selected_cpu", ")", "{", "if", "(", "selected_arch", ")", "{", "selected_cpu", "=", "&", "all_cores", "[", "selected_arch", "->", "ident", "]", ";", "aarch64_isa_flags", "=", "arch_isa", ";", "explicit_arch", "=", "selected_arch", "->", "arch", ";", "}", "else", "{", "selected_cpu", "=", "aarch64_get_tune_cpu", "(", "aarch64_none", ")", ";", "aarch64_isa_flags", "=", "TARGET_CPU_DEFAULT", ">>", "6", ";", "}", "if", "(", "selected_tune", ")", "explicit_tune_core", "=", "selected_tune", "->", "ident", ";", "}", "else", "if", "(", "selected_arch", ")", "{", "if", "(", "selected_arch", "->", "arch", "!=", "selected_cpu", "->", "arch", ")", "{", "warning", "(", "0", ",", "\"switch -mcpu=%s conflicts with -march=%s switch\"", ",", "all_architectures", "[", "selected_cpu", "->", "arch", "]", ".", "name", ",", "selected_arch", "->", "name", ")", ";", "}", "aarch64_isa_flags", "=", "arch_isa", ";", "explicit_arch", "=", "selected_arch", "->", "arch", ";", "explicit_tune_core", "=", "selected_tune", "?", "selected_tune", "->", "ident", ":", "selected_cpu", "->", "ident", ";", "}", "else", "{", "aarch64_isa_flags", "=", "cpu_isa", ";", "explicit_tune_core", "=", "selected_tune", "?", "selected_tune", "->", "ident", ":", "selected_cpu", "->", "ident", ";", "gcc_assert", "(", "selected_cpu", ")", ";", "selected_arch", "=", "&", "all_architectures", "[", "selected_cpu", "->", "arch", "]", ";", "explicit_arch", "=", "selected_arch", "->", "arch", ";", "}", "if", "(", "!", "selected_arch", ")", "{", "gcc_assert", "(", "selected_cpu", ")", ";", "selected_arch", "=", "&", "all_architectures", "[", "selected_cpu", "->", "arch", "]", ";", "}", "if", "(", "!", "selected_tune", ")", "selected_tune", "=", "selected_cpu", ";", "if", "(", "TARGET_ILP32", ")", "error", "(", "\"Assembler does not support -mabi=ilp32\"", ")", ";", "if", "(", "aarch64_ra_sign_scope", "!=", "AARCH64_FUNCTION_NONE", "&&", "TARGET_ILP32", ")", "sorry", "(", "\"Return address signing is only supported for -mabi=lp64\"", ")", ";", "if", "(", "(", "aarch64_cpu_string", "&&", "valid_cpu", ")", "||", "(", "aarch64_tune_string", "&&", "valid_tune", ")", ")", "gcc_assert", "(", "explicit_tune_core", "!=", "aarch64_none", ")", ";", "if", "(", "(", "aarch64_cpu_string", "&&", "valid_cpu", ")", "||", "(", "aarch64_arch_string", "&&", "valid_arch", ")", ")", "gcc_assert", "(", "explicit_arch", "!=", "aarch64_no_arch", ")", ";", "aarch64_override_options_internal", "(", "&", "global_options", ")", ";", "target_option_default_node", "=", "target_option_current_node", "=", "build_target_option_node", "(", "&", "global_options", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_OVERRIDE", "."], "TS_V_token": ["aarch64", "0", "0", "0", "6", "0", "\"switch -mcpu=%s conflicts with -march=%s switch\"", "\"Assembler does not support -mabi=ilp32\"", "\"Return address signing is only supported for -mabi=lp64\""], "File": "aarch644", "Func": "aarch64_override_options", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12868, "Length": 370, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "loongarch_valid_base_register_p", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "bool", "strict_p", ")", "{", "if", "(", "!", "strict_p", "&&", "SUBREG_P", "(", "x", ")", ")", "x", "=", "SUBREG_REG", "(", "x", ")", ";", "return", "(", "REG_P", "(", "x", ")", "&&", "loongarch_regno_mode_ok_for_base_p", "(", "REGNO", "(", "x", ")", ",", "mode", ",", "strict_p", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "valid", "base", "register", "for", "mode", "MODE", ".", "STRICT_P", "is", "true", "if", "REG_OK_STRICT", "is", "in", "effect", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_valid_base_register_p", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12869, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "branch_dest", "(", "rtx", "branch", ")", "{", "rtx", "dest", "=", "SET_SRC", "(", "PATTERN", "(", "branch", ")", ")", ";", "int", "dest_uid", ";", "if", "(", "GET_CODE", "(", "dest", ")", "==", "IF_THEN_ELSE", ")", "dest", "=", "XEXP", "(", "dest", ",", "1", ")", ";", "dest", "=", "XEXP", "(", "dest", ",", "0", ")", ";", "dest_uid", "=", "INSN_UID", "(", "dest", ")", ";", "return", "INSN_ADDRESSES", "(", "dest_uid", ")", ";", "}", ""], "natrual_language": ["Return", "the", "destination", "address", "of", "BRANCH", ".", "We", "need", "to", "use", "this", "instead", "of", "get_attr_length", ",", "because", "the", "cbranch_with_nops", "pattern", "conservatively", "sets", "its", "length", "to", "6", ",", "and", "we", "still", "prefer", "to", "use", "shorter", "sequences", "."], "TS_V_token": ["sh", "1", "0"], "File": "sh3", "Func": "branch_dest", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12870, "Length": 63, "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", ")", ";", "if", "(", "!", "TYPE_NO_NAMED_ARGS_STDARG_P", "(", "TREE_TYPE", "(", "current_function_decl", ")", ")", ")", "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": "loongarch1", "Func": "loongarch_setup_incoming_varargs", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12871, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "unsigned", "DestReg", ",", "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", "(", "LoadOpcode", ")", ",", "DestReg", ")", ",", "FrameIdx", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZInstrInfo (2)2", "Func": "loadRegFromStackSlot", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12872, "Length": 89, "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": 12873, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "func_fma_steering", "::", "execute_fma_steering", "(", ")", "{", "df_set_flags", "(", "DF_LR_RUN_DCE", ")", ";", "df_note_add_problem", "(", ")", ";", "df_analyze", "(", ")", ";", "df_set_flags", "(", "DF_DEFER_INSN_RESCAN", ")", ";", "regrename_init", "(", "true", ")", ";", "regrename_analyze", "(", "NULL", ")", ";", "this", "->", "analyze", "(", ")", ";", "this", "->", "rename_fma_trees", "(", ")", ";", "regrename_finish", "(", ")", ";", "}", ""], "natrual_language": ["Execute", "FMA", "steering", "pass", "."], "TS_V_token": ["aarch64"], "File": "cortex-a57-fma-steering", "Func": "execute_fma_steering", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12874, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "currently_supported_simd_type", "(", "tree", "t", ",", "tree", "b", ")", "{", "if", "(", "COMPLEX_FLOAT_TYPE_P", "(", "t", ")", ")", "return", "false", ";", "if", "(", "TYPE_SIZE", "(", "t", ")", "!=", "TYPE_SIZE", "(", "b", ")", ")", "return", "false", ";", "return", "supported_simd_type", "(", "t", ")", ";", "}", ""], "natrual_language": ["Return", "true", "for", "types", "that", "currently", "are", "supported", "as", "SIMD", "return", "or", "argument", "types", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "currently_supported_simd_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12875, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64AsmPrinter", "::", "emitFunctionEntryLabel", "(", ")", "{", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AArch64_VectorCall", "||", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AArch64_SVE_VectorCall", "||", "STI", "->", "getRegisterInfo", "(", ")", "->", "hasSVEArgsOrReturn", "(", "MF", ")", ")", "{", "auto", "*", "TS", "=", "static_cast", "<", "AArch64TargetStreamer", "*", ">", "(", "OutStreamer", "->", "getTargetStreamer", "(", ")", ")", ";", "TS", "->", "emitDirectiveVariantPCS", "(", "CurrentFnSym", ")", ";", "}", "return", "AsmPrinter", "::", "emitFunctionEntryLabel", "(", ")", ";", "}", ""], "natrual_language": ["EmitFunctionEntryLabel", "-", "Emit", "the", "label", "that", "is", "the", "entrypoint", "for", "the", "function", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64AsmPrinter1", "Func": "emitFunctionEntryLabel", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12876, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "Register", "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", "(", ")", "->", "getStackAlign", "(", ")", ">=", "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": "X86InstrInfo136", "Func": "loadRegFromStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12877, "Length": 127, "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", "(", "*", "this", ",", "*", "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": "X86TargetMachine36", "Func": "getSubtargetImpl", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12878, "Length": 314, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_function_specific_post_stream_in", "(", "struct", "cl_target_option", "*", "ptr", ")", "{", "if", "(", "flag_pic", ")", "switch", "(", "ptr", "->", "x_ix86_cmodel", ")", "{", "case", "CM_SMALL", ":", "ptr", "->", "x_ix86_cmodel", "=", "CM_SMALL_PIC", ";", "break", ";", "case", "CM_MEDIUM", ":", "ptr", "->", "x_ix86_cmodel", "=", "CM_MEDIUM_PIC", ";", "break", ";", "case", "CM_LARGE", ":", "ptr", "->", "x_ix86_cmodel", "=", "CM_LARGE_PIC", ";", "break", ";", "case", "CM_KERNEL", ":", "error", "(", "\"code model %s does not support PIC mode\"", ",", "\"kernel\"", ")", ";", "break", ";", "default", ":", "break", ";", "}", "else", "switch", "(", "ptr", "->", "x_ix86_cmodel", ")", "{", "case", "CM_SMALL_PIC", ":", "ptr", "->", "x_ix86_cmodel", "=", "CM_SMALL", ";", "break", ";", "case", "CM_MEDIUM_PIC", ":", "ptr", "->", "x_ix86_cmodel", "=", "CM_MEDIUM", ";", "break", ";", "case", "CM_LARGE_PIC", ":", "ptr", "->", "x_ix86_cmodel", "=", "CM_LARGE", ";", "break", ";", "default", ":", "break", ";", "}", "}", ""], "natrual_language": ["Adjust", "target", "options", "after", "streaming", "them", "in", ".", "This", "is", "mainly", "about", "reconciling", "them", "with", "global", "options", "."], "TS_V_token": ["i386", "\"code model %s does not support PIC mode\"", "\"kernel\""], "File": "i3864", "Func": "ix86_function_specific_post_stream_in", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12879, "Length": 118, "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", "::", "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::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": "AArch64InstrInfo109", "Func": "analyzeCompare", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12880, "Length": 273, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_split_atomic_op", "(", "enum", "rtx_code", "code", ",", "rtx", "old_out", ",", "rtx", "new_out", ",", "rtx", "mem", ",", "rtx", "value", ",", "rtx", "model_rtx", ",", "rtx", "cond", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "machine_mode", "wmode", "=", "(", "mode", "==", "DImode", "?", "DImode", ":", "SImode", ")", ";", "const", "enum", "memmodel", "model", "=", "memmodel_from_int", "(", "INTVAL", "(", "model_rtx", ")", ")", ";", "const", "bool", "is_sync", "=", "is_mm_sync", "(", "model", ")", ";", "rtx_code_label", "*", "label", ";", "rtx", "x", ";", "label", "=", "gen_label_rtx", "(", ")", ";", "emit_label", "(", "label", ")", ";", "if", "(", "new_out", ")", "new_out", "=", "gen_lowpart", "(", "wmode", ",", "new_out", ")", ";", "if", "(", "old_out", ")", "old_out", "=", "gen_lowpart", "(", "wmode", ",", "old_out", ")", ";", "else", "old_out", "=", "new_out", ";", "value", "=", "simplify_gen_subreg", "(", "wmode", ",", "value", ",", "mode", ",", "0", ")", ";", "if", "(", "is_sync", ")", "aarch64_emit_load_exclusive", "(", "mode", ",", "old_out", ",", "mem", ",", "GEN_INT", "(", "MEMMODEL_RELAXED", ")", ")", ";", "else", "aarch64_emit_load_exclusive", "(", "mode", ",", "old_out", ",", "mem", ",", "model_rtx", ")", ";", "switch", "(", "code", ")", "{", "case", "SET", ":", "new_out", "=", "value", ";", "break", ";", "case", "NOT", ":", "x", "=", "gen_rtx_AND", "(", "wmode", ",", "old_out", ",", "value", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "new_out", ",", "x", ")", ")", ";", "x", "=", "gen_rtx_NOT", "(", "wmode", ",", "new_out", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "new_out", ",", "x", ")", ")", ";", "break", ";", "case", "MINUS", ":", "if", "(", "CONST_INT_P", "(", "value", ")", ")", "{", "value", "=", "GEN_INT", "(", "-", "INTVAL", "(", "value", ")", ")", ";", "code", "=", "PLUS", ";", "}", "default", ":", "x", "=", "gen_rtx_fmt_ee", "(", "code", ",", "wmode", ",", "old_out", ",", "value", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "new_out", ",", "x", ")", ")", ";", "break", ";", "}", "aarch64_emit_store_exclusive", "(", "mode", ",", "cond", ",", "mem", ",", "gen_lowpart", "(", "mode", ",", "new_out", ")", ",", "model_rtx", ")", ";", "x", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "cond", ",", "const0_rtx", ")", ";", "x", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "x", ",", "gen_rtx_LABEL_REF", "(", "Pmode", ",", "label", ")", ",", "pc_rtx", ")", ";", "aarch64_emit_unlikely_jump", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "x", ")", ")", ";", "if", "(", "is_sync", ")", "aarch64_emit_post_barrier", "(", "model", ")", ";", "}", ""], "natrual_language": ["Split", "an", "atomic", "operation", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch643", "Func": "aarch64_split_atomic_op", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12881, "Length": 342, "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": 12882, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isProfitableToDupForIfCvt", "(", "MachineBasicBlock", "&", "MBB", ",", "unsigned", "NumCycles", ",", "BranchProbability", "Probability", ")", "const", "override", "{", "return", "NumCycles", "==", "1", ";", "}", ""], "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": ["ARM", "1"], "File": "ARMBaseInstrInfo (2)1", "Func": "isProfitableToDupForIfCvt", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12883, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_setup_incoming_varargs", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ",", "int", "*", ",", "int", "no_rtl", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "CUMULATIVE_ARGS", "next_cum", ";", "tree", "fntype", ";", "gcc_assert", "(", "!", "no_rtl", ")", ";", "if", "(", "!", "TARGET_64BIT", ")", "return", ";", "fntype", "=", "TREE_TYPE", "(", "current_function_decl", ")", ";", "next_cum", "=", "*", "cum", ";", "if", "(", "stdarg_p", "(", "fntype", ")", ")", "ix86_function_arg_advance", "(", "pack_cumulative_args", "(", "&", "next_cum", ")", ",", "arg", ")", ";", "if", "(", "cum", "->", "call_abi", "==", "MS_ABI", ")", "setup_incoming_varargs_ms_64", "(", "&", "next_cum", ")", ";", "else", "setup_incoming_varargs_64", "(", "&", "next_cum", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_setup_incoming_varargs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12884, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MandarinInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "if", "(", "MD", "::", "GenericRegsRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "MD", "::", "MOVrr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", "else", "if", "(", "MD", "::", "DoubleRegsRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "MD", "::", "MOV2rr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", "else", "if", "(", "MD", "::", "DoubleRegsRegClass", ".", "contains", "(", "DestReg", ")", "&&", "(", "SrcReg", "==", "MD", "::", "R0", "||", "SrcReg", "==", "MD", "::", "R2", ")", ")", "{", "printf", "(", "\"Registers are already there\\n\"", ")", ";", "}", "else", "if", "(", "MD", "::", "QuadRegsRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "MD", "::", "MOV4rr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", "else", "if", "(", "MD", "::", "QuadRegsRegClass", ".", "contains", "(", "DestReg", ")", "&&", "SrcReg", "==", "MD", "::", "R0", ")", "{", "printf", "(", "\"Registers are already there\\n\"", ")", ";", "}", "else", "{", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "}", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["Mandarin", "MD::GenericRegsRegClass", "MD::MOVrr", "MD::DoubleRegsRegClass", "MD::MOV2rr", "MD::DoubleRegsRegClass", "MD::R0", "MD::R2", "\"Registers are already there\\n\"", "MD::QuadRegsRegClass", "MD::MOV4rr", "MD::QuadRegsRegClass", "MD::R0", "\"Registers are already there\\n\"", "\"Impossible reg-to-reg copy\""], "File": "MandarinInstrInfo", "Func": "copyPhysReg", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12885, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_asm_function_prologue", "(", "FILE", "*", "file", ")", "{", "if", "(", "!", "TARGET_FLAT", ")", "gcc_assert", "(", "sparc_leaf_function_p", "==", "crtl", "->", "uses_only_leaf_regs", ")", ";", "sparc_output_scratch_registers", "(", "file", ")", ";", "}", ""], "natrual_language": ["This", "function", "generates", "the", "assembly", "code", "for", "function", "entry", ",", "which", "boils", "down", "to", "emitting", "the", "necessary", ".register", "directives", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "sparc_asm_function_prologue", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12886, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "SparcDAGToDAGISel", "::", "Select", "(", "SDValue", "Op", ")", "{", "SDNode", "*", "N", "=", "Op", ".", "getNode", "(", ")", ";", "DebugLoc", "dl", "=", "N", "->", "getDebugLoc", "(", ")", ";", "if", "(", "N", "->", "isMachineOpcode", "(", ")", ")", "return", "NULL", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "SDIV", ":", "case", "ISD", "::", "UDIV", ":", "{", "SDValue", "DivLHS", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "DivRHS", "=", "N", "->", "getOperand", "(", "1", ")", ";", "SDValue", "TopPart", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SDIV", ")", "{", "TopPart", "=", "SDValue", "(", "CurDAG", "->", "getTargetNode", "(", "SP", "::", "SRAri", ",", "dl", ",", "MVT", "::", "i32", ",", "DivLHS", ",", "CurDAG", "->", "getTargetConstant", "(", "31", ",", "MVT", "::", "i32", ")", ")", ",", "0", ")", ";", "}", "else", "{", "TopPart", "=", "CurDAG", "->", "getRegister", "(", "SP", "::", "G0", ",", "MVT", "::", "i32", ")", ";", "}", "TopPart", "=", "SDValue", "(", "CurDAG", "->", "getTargetNode", "(", "SP", "::", "WRYrr", ",", "dl", ",", "MVT", "::", "Flag", ",", "TopPart", ",", "CurDAG", "->", "getRegister", "(", "SP", "::", "G0", ",", "MVT", "::", "i32", ")", ")", ",", "0", ")", ";", "unsigned", "Opcode", "=", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SDIV", "?", "SP", "::", "SDIVrr", ":", "SP", "::", "UDIVrr", ";", "return", "CurDAG", "->", "SelectNodeTo", "(", "N", ",", "Opcode", ",", "MVT", "::", "i32", ",", "DivLHS", ",", "DivRHS", ",", "TopPart", ")", ";", "}", "case", "ISD", "::", "MULHU", ":", "case", "ISD", "::", "MULHS", ":", "{", "SDValue", "MulLHS", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "MulRHS", "=", "N", "->", "getOperand", "(", "1", ")", ";", "unsigned", "Opcode", "=", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "MULHU", "?", "SP", "::", "UMULrr", ":", "SP", "::", "SMULrr", ";", "SDNode", "*", "Mul", "=", "CurDAG", "->", "getTargetNode", "(", "Opcode", ",", "dl", ",", "MVT", "::", "i32", ",", "MVT", "::", "Flag", ",", "MulLHS", ",", "MulRHS", ")", ";", "return", "CurDAG", "->", "SelectNodeTo", "(", "N", ",", "SP", "::", "RDY", ",", "MVT", "::", "i32", ",", "SDValue", "(", "Mul", ",", "1", ")", ")", ";", "return", "NULL", ";", "}", "}", "return", "SelectCode", "(", "Op", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["Sparc", "Sparc", "ISD::SDIV", "ISD::UDIV", "0", "1", "ISD::SDIV", "SP::SRAri", "MVT::i32", "31", "MVT::i32", "0", "SP::G0", "MVT::i32", "SP::WRYrr", "MVT::Flag", "SP::G0", "MVT::i32", "0", "ISD::SDIV", "SP::SDIVrr", "SP::UDIVrr", "MVT::i32", "ISD::MULHU", "ISD::MULHS", "0", "1", "ISD::MULHU", "SP::UMULrr", "SP::SMULrr", "MVT::i32", "MVT::Flag", "SP::RDY", "MVT::i32", "1"], "File": "SparcISelDAGToDAG27", "Func": "Select", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12887, "Length": 345, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "select_block_compare_mode", "(", "unsigned", "HOST_WIDE_INT", "offset", ",", "unsigned", "HOST_WIDE_INT", "bytes", ",", "unsigned", "HOST_WIDE_INT", "align", ",", "bool", "word_mode_ok", ")", "{", "unsigned", "HOST_WIDE_INT", "maxread", "=", "ROUND_UP", "(", "bytes", ",", "align", ")", ";", "if", "(", "word_mode_ok", "&&", "bytes", ">=", "UNITS_PER_WORD", ")", "return", "word_mode", ";", "else", "if", "(", "bytes", "==", "GET_MODE_SIZE", "(", "SImode", ")", ")", "return", "SImode", ";", "else", "if", "(", "bytes", "==", "GET_MODE_SIZE", "(", "HImode", ")", ")", "return", "HImode", ";", "else", "if", "(", "bytes", "==", "GET_MODE_SIZE", "(", "QImode", ")", ")", "return", "QImode", ";", "else", "if", "(", "bytes", "<", "GET_MODE_SIZE", "(", "SImode", ")", "&&", "offset", ">=", "GET_MODE_SIZE", "(", "SImode", ")", "-", "bytes", ")", "return", "SImode", ";", "else", "if", "(", "word_mode_ok", "&&", "bytes", "<", "UNITS_PER_WORD", "&&", "offset", ">=", "UNITS_PER_WORD", "-", "bytes", ")", "return", "word_mode", ";", "else", "if", "(", "word_mode_ok", "&&", "maxread", ">=", "UNITS_PER_WORD", ")", "return", "word_mode", ";", "else", "if", "(", "maxread", ">=", "GET_MODE_SIZE", "(", "SImode", ")", ")", "return", "SImode", ";", "else", "if", "(", "bytes", ">", "GET_MODE_SIZE", "(", "SImode", ")", ")", "return", "SImode", ";", "else", "if", "(", "bytes", ">", "GET_MODE_SIZE", "(", "HImode", ")", ")", "return", "HImode", ";", "return", "QImode", ";", "}", ""], "natrual_language": ["Select", "the", "mode", "to", "be", "used", "for", "reading", "the", "next", "chunk", "of", "bytes", "in", "the", "compare", ".", "OFFSET", "is", "the", "current", "read", "offset", "from", "the", "beginning", "of", "the", "block", ".", "BYTES", "is", "the", "number", "of", "bytes", "remaining", "to", "be", "read", ".", "ALIGN", "is", "the", "minimum", "alignment", "of", "the", "memory", "blocks", "being", "compared", "in", "bytes", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "select_block_compare_mode", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12888, "Length": 176, "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", "(", "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": ["VE", "0"], "File": "VEAsmParser3", "Func": "addExpr", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12889, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCMCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "assert", "(", "(", "MI", ".", "getOpcode", "(", ")", "!=", "PPC", "::", "MTCRF", "&&", "MI", ".", "getOpcode", "(", ")", "!=", "PPC", "::", "MFOCRF", ")", "||", "MO", ".", "getReg", "(", ")", "<", "PPC", "::", "CR0", "||", "MO", ".", "getReg", "(", ")", ">", "PPC", "::", "CR7", ")", ";", "return", "CTX", ".", "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::MTCRF", "PPC::MFOCRF", "PPC::CR0", "PPC::CR7", "\"Relocation required in an instruction that we cannot encode!\""], "File": "PPCMCCodeEmitter45", "Func": "getMachineOpValue", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12890, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "classof", "(", "const", "MipsMCSymbolRefExpr", "*", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["Methods", "for", "support", "type", "inquiry", "through", "isa", ",", "cast", ",", "and", "dyn_cast", ":"], "TS_V_token": ["Mips", "Mips"], "File": "MipsMCSymbolRefExpr", "Func": "classof", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12891, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ARMTTIImpl", "::", "getIntImmCostInst", "(", "unsigned", "Opcode", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ",", "Instruction", "*", "Inst", ")", "{", "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", ";", "if", "(", "Inst", "&&", "(", "(", "ST", "->", "hasV6Ops", "(", ")", "&&", "!", "ST", "->", "isThumb", "(", ")", ")", "||", "ST", "->", "isThumb2", "(", ")", ")", "&&", "Ty", "->", "getIntegerBitWidth", "(", ")", "<=", "32", ")", "{", "if", "(", "isSSATMinMaxPattern", "(", "Inst", ",", "Imm", ")", "||", "(", "isa", "<", "ICmpInst", ">", "(", "Inst", ")", "&&", "Inst", "->", "hasOneUse", "(", ")", "&&", "isSSATMinMaxPattern", "(", "cast", "<", "Instruction", ">", "(", "*", "Inst", "->", "user_begin", "(", ")", ")", ",", "Imm", ")", ")", ")", "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", "32", "0"], "File": "ARMTargetTransformInfo29", "Func": "getIntImmCostInst", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12892, "Length": 325, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMTargetLowering", "::", "getABIAlignmentForCallingConv", "(", "Type", "*", "ArgTy", ",", "DataLayout", "DL", ")", "const", "{", "if", "(", "!", "ArgTy", "->", "isVectorTy", "(", ")", ")", "return", "DL", ".", "getABITypeAlignment", "(", "ArgTy", ")", ";", "return", "std", "::", "min", "(", "DL", ".", "getABITypeAlignment", "(", "ArgTy", ")", ",", "(", "unsigned", ")", "DL", ".", "getStackAlignment", "(", ")", ".", "value", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "correct", "alignment", "for", "the", "current", "calling", "convention", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMISelLowering101", "Func": "getABIAlignmentForCallingConv", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12893, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "xstormy16_handle_interrupt_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", "ATTRIBUTE_UNUSED", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add_attrs", ")", "{", "if", "(", "TREE_CODE", "(", "*", "node", ")", "!=", "FUNCTION_TYPE", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute only applies to functions\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "an", "``", "interrupt", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["stormy16", "\"%qE attribute only applies to functions\""], "File": "stormy16", "Func": "xstormy16_handle_interrupt_attribute", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12894, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isConstantSplat", "(", "SDValue", "Op", ",", "APInt", "&", "SplatVal", ")", "{", "APInt", "UndefElts", ";", "SmallVector", "<", "APInt", ",", "16", ">", "EltBits", ";", "if", "(", "getTargetConstantBitsFromNode", "(", "Op", ",", "Op", ".", "getScalarValueSizeInBits", "(", ")", ",", "UndefElts", ",", "EltBits", ",", "true", ",", "false", ")", ")", "{", "int", "SplatIndex", "=", "-", "1", ";", "for", "(", "int", "i", "=", "0", ",", "e", "=", "EltBits", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "if", "(", "UndefElts", "[", "i", "]", ")", "continue", ";", "if", "(", "0", "<=", "SplatIndex", "&&", "EltBits", "[", "i", "]", "!=", "EltBits", "[", "SplatIndex", "]", ")", "{", "SplatIndex", "=", "-", "1", ";", "break", ";", "}", "SplatIndex", "=", "i", ";", "}", "if", "(", "0", "<=", "SplatIndex", ")", "{", "SplatVal", "=", "EltBits", "[", "SplatIndex", "]", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Check", "if", "this", "is", "a", "constant", "splat", ",", "and", "if", "so", ",", "find", "the", "smallest", "element", "size", "that", "splats", "the", "vector", "."], "TS_V_token": ["X86", "16", "1", "0", "0", "1", "0"], "File": "X86ISelLowering (2)8", "Func": "isConstantSplat", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12895, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "ARM64Disassembler", "::", "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", "]", ";", "Size", "=", "0", ";", "if", "(", "Region", ".", "readBytes", "(", "Address", ",", "4", ",", "(", "uint8_t", "*", ")", "bytes", ")", "==", "-", "1", ")", "return", "Fail", ";", "Size", "=", "4", ";", "uint32_t", "insn", "=", "(", "bytes", "[", "3", "]", "<<", "24", ")", "|", "(", "bytes", "[", "2", "]", "<<", "16", ")", "|", "(", "bytes", "[", "1", "]", "<<", "8", ")", "|", "(", "bytes", "[", "0", "]", "<<", "0", ")", ";", "return", "decodeInstruction", "(", "DecoderTable32", ",", "MI", ",", "insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["ARM64", "ARM64", "4", "0", "4", "1", "4", "3", "24", "2", "16", "1", "8", "0", "0"], "File": "ARM64Disassembler1", "Func": "getInstruction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12896, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "ARMBaseRegisterInfo", "::", "getThisReturnPreservedMask", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "if", "(", "CC", "==", "CallingConv", "::", "GHC", ")", "return", "NULL", ";", "return", "(", "STI", ".", "isTargetIOS", "(", ")", "&&", "!", "STI", ".", "isAAPCS_ABI", "(", ")", ")", "?", "CSR_iOS_ThisReturn_RegMask", ":", "CSR_AAPCS_ThisReturn_RegMask", ";", "}", ""], "natrual_language": ["getThisReturnPreservedMask", "-", "Returns", "a", "call", "preserved", "mask", "specific", "to", "the", "case", "that", "'returned", "'", "is", "on", "an", "i32", "first", "argument", "if", "the", "calling", "convention", "is", "one", "that", "can", "(", "partially", ")", "model", "this", "attribute", "with", "a", "preserved", "mask", "(", "i.e", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMBaseRegisterInfo19", "Func": "getThisReturnPreservedMask", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12897, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ia64_single_set", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "x", "=", "PATTERN", "(", "insn", ")", ",", "ret", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "COND_EXEC", ")", "x", "=", "COND_EXEC_CODE", "(", "x", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "SET", ")", "return", "x", ";", "switch", "(", "recog_memoized", "(", "insn", ")", ")", "{", "case", "CODE_FOR_prologue_allocate_stack", ":", "case", "CODE_FOR_prologue_allocate_stack_pr", ":", "case", "CODE_FOR_epilogue_deallocate_stack", ":", "case", "CODE_FOR_epilogue_deallocate_stack_pr", ":", "ret", "=", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ";", "break", ";", "default", ":", "ret", "=", "single_set_2", "(", "insn", ",", "x", ")", ";", "break", ";", "}", "return", "ret", ";", "}", ""], "natrual_language": ["Helper", "function", "-", "like", "single_set", ",", "but", "look", "inside", "COND_EXEC", "."], "TS_V_token": ["ia64", "0", "0"], "File": "ia64", "Func": "ia64_single_set", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12898, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "ARM64TargetLowering", "::", "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": ["ARM64", "ARM64", "MVT::i32"], "File": "ARM64ISelLowering", "Func": "getSetCCResultType", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12899, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "const", "MCObjectFileInfo", "::", "Environment", "Format", "=", "getContext", "(", ")", ".", "getObjectFileInfo", "(", ")", "->", "getObjectFileType", "(", ")", ";", "bool", "IsMachO", "=", "Format", "==", "MCObjectFileInfo", "::", "IsMachO", ";", "auto", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ".", "lower", "(", ")", ";", "SMLoc", "Loc", "=", "DirectiveID", ".", "getLoc", "(", ")", ";", "if", "(", "IDVal", "==", "\".arch\"", ")", "parseDirectiveArch", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".cpu\"", ")", "parseDirectiveCPU", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".tlsdesccall\"", ")", "parseDirectiveTLSDescCall", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".ltorg\"", "||", "IDVal", "==", "\".pool\"", ")", "parseDirectiveLtorg", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".unreq\"", ")", "parseDirectiveUnreq", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".inst\"", ")", "parseDirectiveInst", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".cfi_negate_ra_state\"", ")", "parseDirectiveCFINegateRAState", "(", ")", ";", "else", "if", "(", "IDVal", "==", "\".cfi_b_key_frame\"", ")", "parseDirectiveCFIBKeyFrame", "(", ")", ";", "else", "if", "(", "IDVal", "==", "\".arch_extension\"", ")", "parseDirectiveArchExtension", "(", "Loc", ")", ";", "else", "if", "(", "IsMachO", ")", "{", "if", "(", "IDVal", "==", "MCLOHDirectiveName", "(", ")", ")", "parseDirectiveLOH", "(", "IDVal", ",", "Loc", ")", ";", "else", "return", "true", ";", "}", "else", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["AArch64", "AArch64", "\".arch\"", "\".cpu\"", "\".tlsdesccall\"", "\".ltorg\"", "\".pool\"", "\".unreq\"", "\".inst\"", "\".cfi_negate_ra_state\"", "\".cfi_b_key_frame\"", "\".arch_extension\""], "File": "AArch64AsmParser107", "Func": "ParseDirective", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12900, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "processBlock", "(", "MachineBasicBlock", "&", "MBB", ")", "{", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "if", "(", "!", "hasTOCLoReloc", "(", "MI", ")", ")", "continue", ";", "MI", ".", "addOperand", "(", "MachineOperand", "::", "CreateReg", "(", "PPC", "::", "X2", ",", "false", ",", "true", ")", ")", ";", "Changed", "=", "true", ";", "}", "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", "PPC::X2"], "File": "PPCTOCRegDeps", "Func": "processBlock", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12901, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "iq2000_legitimate_address_p", "(", "enum", "machine_mode", "mode", ",", "rtx", "xinsn", ",", "int", "strict", ")", "{", "if", "(", "TARGET_DEBUG_A_MODE", ")", "{", "GO_PRINTF2", "(", "\"\\n========== GO_IF_LEGITIMATE_ADDRESS, %sstrict\\n\"", ",", "strict", "?", "\"\"", ":", "\"not \"", ")", ";", "GO_DEBUG_RTX", "(", "xinsn", ")", ";", "}", "if", "(", "CONSTANT_ADDRESS_P", "(", "xinsn", ")", "&&", "!", "(", "iq2000_check_split", "(", "xinsn", ",", "mode", ")", ")", "&&", "!", "(", "GET_CODE", "(", "xinsn", ")", "==", "CONST_INT", "&&", "!", "SMALL_INT", "(", "xinsn", ")", ")", ")", "return", "1", ";", "while", "(", "GET_CODE", "(", "xinsn", ")", "==", "SUBREG", ")", "xinsn", "=", "SUBREG_REG", "(", "xinsn", ")", ";", "if", "(", "GET_CODE", "(", "xinsn", ")", "==", "REG", "&&", "iq2000_reg_mode_ok_for_base_p", "(", "xinsn", ",", "mode", ",", "strict", ")", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "xinsn", ")", "==", "LO_SUM", ")", "{", "rtx", "xlow0", "=", "XEXP", "(", "xinsn", ",", "0", ")", ";", "rtx", "xlow1", "=", "XEXP", "(", "xinsn", ",", "1", ")", ";", "while", "(", "GET_CODE", "(", "xlow0", ")", "==", "SUBREG", ")", "xlow0", "=", "SUBREG_REG", "(", "xlow0", ")", ";", "if", "(", "GET_CODE", "(", "xlow0", ")", "==", "REG", "&&", "iq2000_reg_mode_ok_for_base_p", "(", "xlow0", ",", "mode", ",", "strict", ")", "&&", "iq2000_check_split", "(", "xlow1", ",", "mode", ")", ")", "return", "1", ";", "}", "if", "(", "GET_CODE", "(", "xinsn", ")", "==", "PLUS", ")", "{", "rtx", "xplus0", "=", "XEXP", "(", "xinsn", ",", "0", ")", ";", "rtx", "xplus1", "=", "XEXP", "(", "xinsn", ",", "1", ")", ";", "enum", "rtx_code", "code0", ";", "enum", "rtx_code", "code1", ";", "while", "(", "GET_CODE", "(", "xplus0", ")", "==", "SUBREG", ")", "xplus0", "=", "SUBREG_REG", "(", "xplus0", ")", ";", "code0", "=", "GET_CODE", "(", "xplus0", ")", ";", "while", "(", "GET_CODE", "(", "xplus1", ")", "==", "SUBREG", ")", "xplus1", "=", "SUBREG_REG", "(", "xplus1", ")", ";", "code1", "=", "GET_CODE", "(", "xplus1", ")", ";", "if", "(", "code0", "==", "REG", "&&", "iq2000_reg_mode_ok_for_base_p", "(", "xplus0", ",", "mode", ",", "strict", ")", ")", "{", "if", "(", "code1", "==", "CONST_INT", "&&", "SMALL_INT", "(", "xplus1", ")", "&&", "SMALL_INT_UNSIGNED", "(", "xplus1", ")", ")", "return", "1", ";", "}", "}", "if", "(", "TARGET_DEBUG_A_MODE", ")", "GO_PRINTF", "(", "\"Not a legitimate address\\n\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "a", "nonzero", "value", "if", "XINSN", "is", "a", "legitimate", "address", "for", "a", "memory", "operand", "of", "the", "indicated", "MODE", ".", "STRICT", "is", "nonzero", "if", "this", "function", "is", "called", "during", "reload", "."], "TS_V_token": ["iq2000", "\"\\n========== GO_IF_LEGITIMATE_ADDRESS, %sstrict\\n\"", "\"\"", "\"not \"", "1", "1", "0", "1", "1", "0", "1", "1", "\"Not a legitimate address\\n\"", "0"], "File": "iq20002", "Func": "iq2000_legitimate_address_p", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12902, "Length": 318, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WinEHStatePass", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "StringRef", "WinEHParentName", "=", "F", ".", "getFnAttribute", "(", "\"wineh-parent\"", ")", ".", "getValueAsString", "(", ")", ";", "if", "(", "WinEHParentName", "!=", "F", ".", "getName", "(", ")", "&&", "!", "WinEHParentName", ".", "empty", "(", ")", ")", "return", "false", ";", "if", "(", "!", "F", ".", "hasPersonalityFn", "(", ")", ")", "return", "false", ";", "PersonalityFn", "=", "dyn_cast", "<", "Function", ">", "(", "F", ".", "getPersonalityFn", "(", ")", "->", "stripPointerCasts", "(", ")", ")", ";", "if", "(", "!", "PersonalityFn", ")", "return", "false", ";", "Personality", "=", "classifyEHPersonality", "(", "PersonalityFn", ")", ";", "if", "(", "!", "isMSVCEHPersonality", "(", "Personality", ")", ")", "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", "(", ")", ")", ";", "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", "\"wineh-parent\"", "\"no-frame-pointer-elim\"", "\"true\"", "\"unexpected personality function\"", "X86"], "File": "X86WinEHState28", "Func": "runOnFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12903, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCDispatchGroupSBHazardRecognizer", "::", "PreEmitNoops", "(", "SUnit", "*", "SU", ")", "{", "if", "(", "isLoadAfterStore", "(", "SU", ")", "&&", "CurSlots", "<", "6", ")", "{", "unsigned", "Directive", "=", "DAG", "->", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "getDarwinDirective", "(", ")", ";", "if", "(", "Directive", "==", "PPC", "::", "DIR_PWR6", "||", "Directive", "==", "PPC", "::", "DIR_PWR7", "||", "Directive", "==", "PPC", "::", "DIR_PWR8", ")", "return", "1", ";", "return", "5", "-", "CurSlots", ";", "}", "return", "ScoreboardHazardRecognizer", "::", "PreEmitNoops", "(", "SU", ")", ";", "}", ""], "natrual_language": ["PreEmitNoops", "-", "This", "callback", "is", "invoked", "prior", "to", "emitting", "an", "instruction", "."], "TS_V_token": ["PowerPC", "PPC", "6", "PPC", "PPC::DIR_PWR6", "PPC::DIR_PWR7", "PPC::DIR_PWR8", "1", "5"], "File": "PPCHazardRecognizers18", "Func": "PreEmitNoops", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12904, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_is_costly_dependence", "(", "dep_t", "dep", ",", "int", "cost", ",", "int", "distance", ")", "{", "rtx", "insn", ";", "rtx", "next", ";", "rtx", "load_mem", ",", "str_mem", ";", "if", "(", "rs6000_sched_costly_dep", "==", "no_dep_costly", ")", "return", "false", ";", "if", "(", "rs6000_sched_costly_dep", "==", "all_deps_costly", ")", "return", "true", ";", "insn", "=", "DEP_PRO", "(", "dep", ")", ";", "next", "=", "DEP_CON", "(", "dep", ")", ";", "if", "(", "rs6000_sched_costly_dep", "==", "store_to_load_dep_costly", "&&", "is_load_insn", "(", "next", ",", "&", "load_mem", ")", "&&", "is_store_insn", "(", "insn", ",", "&", "str_mem", ")", ")", "return", "true", ";", "if", "(", "rs6000_sched_costly_dep", "==", "true_store_to_load_dep_costly", "&&", "is_load_insn", "(", "next", ",", "&", "load_mem", ")", "&&", "is_store_insn", "(", "insn", ",", "&", "str_mem", ")", "&&", "DEP_TYPE", "(", "dep", ")", "==", "REG_DEP_TRUE", "&&", "mem_locations_overlap", "(", "str_mem", ",", "load_mem", ")", ")", "return", "true", ";", "if", "(", "rs6000_sched_costly_dep", "<=", "max_dep_latency", "&&", "(", "(", "cost", "-", "distance", ")", ">=", "(", "int", ")", "rs6000_sched_costly_dep", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "whether", "the", "dependence", "between", "INSN", "and", "NEXT", "is", "considered", "costly", "by", "the", "given", "target", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_is_costly_dependence", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12905, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesAll", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["X86"], "File": "X86FastTileConfig4", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12906, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rx_copy_reg_dead_or_unused_notes", "(", "rtx", "reg", ",", "const", "rtx_insn", "*", "src", ",", "rtx_insn", "*", "dst", ")", "{", "int", "regno", "=", "REGNO", "(", "SUBREG_P", "(", "reg", ")", "?", "SUBREG_REG", "(", "reg", ")", ":", "reg", ")", ";", "if", "(", "rtx", "note", "=", "find_regno_note", "(", "src", ",", "REG_DEAD", ",", "regno", ")", ")", "add_shallow_copy_of_reg_note", "(", "dst", ",", "note", ")", ";", "if", "(", "rtx", "note", "=", "find_regno_note", "(", "src", ",", "REG_UNUSED", ",", "regno", ")", ")", "add_shallow_copy_of_reg_note", "(", "dst", ",", "note", ")", ";", "}", ""], "natrual_language": ["Copy", "dead", "and", "unused", "notes", "from", "SRC", "to", "DST", "for", "the", "specified", "REGNO", "."], "TS_V_token": ["rx"], "File": "rx", "Func": "rx_copy_reg_dead_or_unused_notes", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12907, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "IA64AsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "this", "->", "MF", "=", "&", "MF", ";", "SetupMachineFunction", "(", "MF", ")", ";", "O", "<<", "\"\\n\\n\"", ";", "EmitConstantPool", "(", "MF", ".", "getConstantPool", "(", ")", ")", ";", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "SwitchToSection", "(", "TAI", "->", "SectionForGlobal", "(", "F", ")", ")", ";", "EmitAlignment", "(", "5", ")", ";", "O", "<<", "\"\\t.global\\t\"", "<<", "CurrentFnName", "<<", "'\\n'", ";", "printVisibility", "(", "CurrentFnName", ",", "F", "->", "getVisibility", "(", ")", ")", ";", "O", "<<", "\"\\t.type\\t\"", "<<", "CurrentFnName", "<<", "\", @function\\n\"", ";", "O", "<<", "CurrentFnName", "<<", "\":\\n\"", ";", "for", "(", "MachineFunction", "::", "const_iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "!", "I", "->", "pred_empty", "(", ")", ")", "{", "printBasicBlockLabel", "(", "I", ",", "true", ",", "true", ")", ";", "O", "<<", "'\\n'", ";", "}", "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": ["IA64", "IA64", "\"\\n\\n\"", "5", "\"\\t.global\\t\"", "\"\\t.type\\t\"", "\", @function\\n\"", "\":\\n\""], "File": "IA64AsmPrinter", "Func": "runOnMachineFunction", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12908, "Length": 187, "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": ["powerpcspe", "0", "0", "1"], "File": "powerpcspe", "Func": "rs6000_emit_int_cmove", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12909, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "getInsertSubregLikeInputs", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "DefIdx", ",", "RegSubRegPair", "&", "BaseReg", ",", "RegSubRegPairAndIdx", "&", "InsertedReg", ")", "const", "{", "assert", "(", "DefIdx", "<", "MI", ".", "getDesc", "(", ")", ".", "getNumDefs", "(", ")", "&&", "\"Invalid definition index\"", ")", ";", "assert", "(", "MI", ".", "isInsertSubregLike", "(", ")", "&&", "\"Invalid kind of instruction\"", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "ARM", "::", "VSETLNi32", ":", "case", "ARM", "::", "MVE_VMOV_to_lane_32", ":", "const", "MachineOperand", "&", "MOBaseReg", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "const", "MachineOperand", "&", "MOInsertedReg", "=", "MI", ".", "getOperand", "(", "2", ")", ";", "if", "(", "MOInsertedReg", ".", "isUndef", "(", ")", ")", "return", "false", ";", "const", "MachineOperand", "&", "MOIndex", "=", "MI", ".", "getOperand", "(", "3", ")", ";", "BaseReg", ".", "Reg", "=", "MOBaseReg", ".", "getReg", "(", ")", ";", "BaseReg", ".", "SubReg", "=", "MOBaseReg", ".", "getSubReg", "(", ")", ";", "InsertedReg", ".", "Reg", "=", "MOInsertedReg", ".", "getReg", "(", ")", ";", "InsertedReg", ".", "SubReg", "=", "MOInsertedReg", ".", "getSubReg", "(", ")", ";", "InsertedReg", ".", "SubIdx", "=", "ARM", "::", "ssub_0", "+", "MOIndex", ".", "getImm", "(", ")", ";", "return", "true", ";", "}", "llvm_unreachable", "(", "\"Target dependent opcode missing\"", ")", ";", "}", ""], "natrual_language": ["Target-dependent", "implementation", "of", "getInsertSubregInputs", "."], "TS_V_token": ["ARM", "ARM", "\"Invalid definition index\"", "\"Invalid kind of instruction\"", "ARM::VSETLNi32", "ARM::MVE_VMOV_to_lane_32", "1", "2", "3", "ARM::ssub_0", "\"Target dependent opcode missing\""], "File": "ARMBaseInstrInfo110", "Func": "getInsertSubregLikeInputs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12910, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isCopyInstrImpl", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "*", "&", "Src", ",", "const", "MachineOperand", "*", "&", "Dest", ")", "const", "{", "if", "(", "!", "MI", ".", "isMoveReg", "(", ")", "||", "(", "MI", ".", "getOpcode", "(", ")", "==", "ARM", "::", "VORRq", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "!=", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ")", "return", "false", ";", "Dest", "=", "&", "MI", ".", "getOperand", "(", "0", ")", ";", "Src", "=", "&", "MI", ".", "getOperand", "(", "1", ")", ";", "return", "true", ";", "}", ""], "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": ["ARM", "ARM", "ARM::VORRq", "1", "2", "0", "1"], "File": "ARMBaseInstrInfo1", "Func": "isCopyInstrImpl", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12911, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_convert_uns_didf_sse", "(", "rtx", "target", ",", "rtx", "input", ")", "{", "REAL_VALUE_TYPE", "bias_lo_rvt", ",", "bias_hi_rvt", ";", "rtx", "int_xmm", ",", "fp_xmm", ";", "rtx", "biases", ",", "exponents", ";", "rtx", "x", ";", "int_xmm", "=", "gen_reg_rtx", "(", "V4SImode", ")", ";", "if", "(", "TARGET_INTER_UNIT_MOVES_TO_VEC", ")", "emit_insn", "(", "gen_movdi_to_sse", "(", "int_xmm", ",", "input", ")", ")", ";", "else", "if", "(", "TARGET_SSE_SPLIT_REGS", ")", "{", "emit_clobber", "(", "int_xmm", ")", ";", "emit_move_insn", "(", "gen_lowpart", "(", "DImode", ",", "int_xmm", ")", ",", "input", ")", ";", "}", "else", "{", "x", "=", "gen_reg_rtx", "(", "V2DImode", ")", ";", "ix86_expand_vector_init_one_nonzero", "(", "false", ",", "V2DImode", ",", "x", ",", "input", ",", "0", ")", ";", "emit_move_insn", "(", "int_xmm", ",", "gen_lowpart", "(", "V4SImode", ",", "x", ")", ")", ";", "}", "x", "=", "gen_rtx_CONST_VECTOR", "(", "V4SImode", ",", "gen_rtvec", "(", "4", ",", "GEN_INT", "(", "0x43300000UL", ")", ",", "GEN_INT", "(", "0x45300000UL", ")", ",", "const0_rtx", ",", "const0_rtx", ")", ")", ";", "exponents", "=", "validize_mem", "(", "force_const_mem", "(", "V4SImode", ",", "x", ")", ")", ";", "emit_insn", "(", "gen_vec_interleave_lowv4si", "(", "int_xmm", ",", "int_xmm", ",", "exponents", ")", ")", ";", "fp_xmm", "=", "copy_to_mode_reg", "(", "V2DFmode", ",", "gen_lowpart", "(", "V2DFmode", ",", "int_xmm", ")", ")", ";", "real_ldexp", "(", "&", "bias_lo_rvt", ",", "&", "dconst1", ",", "52", ")", ";", "real_ldexp", "(", "&", "bias_hi_rvt", ",", "&", "dconst1", ",", "84", ")", ";", "biases", "=", "const_double_from_real_value", "(", "bias_lo_rvt", ",", "DFmode", ")", ";", "x", "=", "const_double_from_real_value", "(", "bias_hi_rvt", ",", "DFmode", ")", ";", "biases", "=", "gen_rtx_CONST_VECTOR", "(", "V2DFmode", ",", "gen_rtvec", "(", "2", ",", "biases", ",", "x", ")", ")", ";", "biases", "=", "validize_mem", "(", "force_const_mem", "(", "V2DFmode", ",", "biases", ")", ")", ";", "emit_insn", "(", "gen_subv2df3", "(", "fp_xmm", ",", "fp_xmm", ",", "biases", ")", ")", ";", "if", "(", "TARGET_SSE3", ")", "emit_insn", "(", "gen_sse3_haddv2df3", "(", "fp_xmm", ",", "fp_xmm", ",", "fp_xmm", ")", ")", ";", "else", "{", "x", "=", "copy_to_mode_reg", "(", "V2DFmode", ",", "fp_xmm", ")", ";", "emit_insn", "(", "gen_vec_interleave_highv2df", "(", "fp_xmm", ",", "fp_xmm", ",", "fp_xmm", ")", ")", ";", "emit_insn", "(", "gen_addv2df3", "(", "fp_xmm", ",", "fp_xmm", ",", "x", ")", ")", ";", "}", "ix86_expand_vector_extract", "(", "false", ",", "target", ",", "fp_xmm", ",", "0", ")", ";", "}", ""], "natrual_language": ["Convert", "an", "unsigned", "DImode", "value", "into", "a", "DFmode", ",", "using", "only", "SSE", ".", "Expects", "the", "64-bit", "DImode", "to", "be", "supplied", "in", "a", "pair", "of", "integral", "registers", ".", "Requires", "SSE2", ";", "will", "use", "SSE3", "if", "available", ".", "For", "x86_32", ",", "-mfpmath=sse", ",", "!", "optimize_size", "only", "."], "TS_V_token": ["i386", "0", "4", "0x43300000UL", "0x45300000UL", "52", "84", "2", "0"], "File": "i386-expand", "Func": "ix86_expand_convert_uns_didf_sse", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12912, "Length": 316, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "doMBBSchedRegionsTopDown", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["If", "this", "method", "returns", "true", ",", "handling", "of", "the", "scheduling", "regions", "themselves", "(", "in", "case", "of", "a", "scheduling", "boundary", "in", "MBB", ")", "will", "be", "done", "beginning", "with", "the", "topmost", "region", "of", "MBB", "."], "TS_V_token": ["SystemZ"], "File": "SystemZMachineScheduler", "Func": "doMBBSchedRegionsTopDown", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12913, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CSKYAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getString", "(", ")", ";", "if", "(", "IDVal", "==", "\".csky_attribute\"", ")", "return", "parseDirectiveAttribute", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["CSKY", "CSKY", "\".csky_attribute\""], "File": "CSKYAsmParser1", "Func": "ParseDirective", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12914, "Length": 33, "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": ["ARM64", "8"], "File": "ARM64AsmBackend", "Func": "getPointerSize", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12915, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TeeRISCPassConfig", "::", "addPreEmitPass", "(", ")", "{", "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": ["TeeRISC", "TeeRISC"], "File": "TeeRISCTargetMachine", "Func": "addPreEmitPass", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12916, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_cannot_change_mode_class", "(", "machine_mode", "from", ",", "machine_mode", "to", ",", "enum", "reg_class", "rclass", ")", "{", "if", "(", "to", "==", "SFmode", "&&", "VECTOR_MODE_P", "(", "from", ")", "&&", "GET_MODE_INNER", "(", "from", ")", "==", "SFmode", ")", "return", "optimize", "?", "(", "reg_classes_intersect_p", "(", "GENERAL_REGS", ",", "rclass", ")", ")", ":", "false", ";", "if", "(", "GET_MODE_SIZE", "(", "from", ")", "!=", "GET_MODE_SIZE", "(", "to", ")", ")", "{", "if", "(", "TARGET_LITTLE_ENDIAN", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "to", ")", "<", "8", "||", "GET_MODE_SIZE", "(", "from", ")", "<", "8", ")", "return", "reg_classes_intersect_p", "(", "DF_REGS", ",", "rclass", ")", ";", "}", "else", "{", "if", "(", "GET_MODE_SIZE", "(", "from", ")", "<", "8", ")", "return", "reg_classes_intersect_p", "(", "DF_REGS", ",", "rclass", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "the", "class", "of", "registers", "for", "which", "a", "mode", "change", "from", "FROM", "to", "TO", "is", "invalid", "."], "TS_V_token": ["sh", "8", "8", "8"], "File": "sh4", "Func": "sh_cannot_change_mode_class", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12917, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "expand_builtin", "(", "unsigned", "int", "code", ",", "tree", "exp", ",", "rtx", "target", ")", "{", "registered_function", "&", "rfn", "=", "*", "(", "*", "registered_functions", ")", "[", "code", "]", ";", "if", "(", "!", "check_required_extensions", "(", "EXPR_LOCATION", "(", "exp", ")", ",", "rfn", ".", "decl", ",", "rfn", ".", "required_extensions", ")", ")", "return", "target", ";", "return", "function_expander", "(", "rfn", ".", "instance", ",", "rfn", ".", "decl", ",", "exp", ",", "target", ")", ".", "expand", "(", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "call", "to", "the", "RVV", "function", "with", "subcode", "CODE", ".", "EXP", "is", "the", "call", "expression", "and", "TARGET", "is", "the", "preferred", "location", "for", "the", "result", ".", "Return", "the", "value", "of", "the", "lhs", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "expand_builtin", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12918, "Length": 70, "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", ";", "if", "(", "Is64Bit", ")", "{", "const", "X86FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "&&", "TFI", "->", "Uses64BitFramePtr", "?", "&", "X86", "::", "LOW32_ADDR_ACCESS_RBPRegClass", ":", "&", "X86", "::", "LOW32_ADDR_ACCESSRegClass", ";", "}", "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", "X86::LOW32_ADDR_ACCESS_RBPRegClass", "X86::LOW32_ADDR_ACCESSRegClass", "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)1", "Func": "getPointerRegClass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12919, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"MVE gather/scatter lowering\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"MVE gather/scatter lowering\""], "File": "MVEGatherScatterLowering (2)", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12920, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mark_constant_pool_use", "(", "rtx", "x", ")", "{", "rtx", "insn", ",", "lab", ",", "pattern", ";", "if", "(", "x", "==", "NULL", ")", "return", "x", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "LABEL_REF", ":", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "case", "CODE_LABEL", ":", "break", ";", "default", ":", "return", "x", ";", "}", "lab", "=", "x", ";", "for", "(", "insn", "=", "PREV_INSN", "(", "x", ")", ";", "insn", ";", "insn", "=", "PREV_INSN", "(", "insn", ")", ")", "{", "if", "(", "GET_CODE", "(", "insn", ")", "!=", "CODE_LABEL", "||", "LABEL_REFS", "(", "insn", ")", "!=", "NEXT_INSN", "(", "insn", ")", ")", "break", ";", "lab", "=", "insn", ";", "}", "for", "(", "insn", "=", "LABEL_REFS", "(", "lab", ")", ";", "insn", ";", "insn", "=", "LABEL_REFS", "(", "insn", ")", ")", "INSN_DELETED_P", "(", "insn", ")", "=", "1", ";", "for", "(", "insn", "=", "NEXT_INSN", "(", "x", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "if", "(", "GET_CODE", "(", "insn", ")", "!=", "INSN", ")", "continue", ";", "pattern", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pattern", ")", "!=", "UNSPEC_VOLATILE", ")", "continue", ";", "switch", "(", "XINT", "(", "pattern", ",", "1", ")", ")", "{", "case", "UNSPECV_CONST2", ":", "case", "UNSPECV_CONST4", ":", "case", "UNSPECV_CONST8", ":", "XVECEXP", "(", "pattern", ",", "0", ",", "1", ")", "=", "const1_rtx", ";", "break", ";", "case", "UNSPECV_WINDOW_END", ":", "if", "(", "XVECEXP", "(", "pattern", ",", "0", ",", "0", ")", "==", "x", ")", "return", "lab", ";", "break", ";", "case", "UNSPECV_CONST_END", ":", "return", "lab", ";", "default", ":", "break", ";", "}", "}", "return", "lab", ";", "}", ""], "natrual_language": ["Mark", "the", "use", "of", "a", "constant", "in", "the", "literal", "table", ".", "If", "the", "constant", "has", "multiple", "labels", ",", "make", "it", "unique", "."], "TS_V_token": ["sh", "0", "1", "1", "0", "1", "0", "0"], "File": "sh3", "Func": "mark_constant_pool_use", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12921, "Length": 246, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "ARMTargetLowering", "::", "getOptimalMemOpType", "(", "const", "MemOp", "&", "Op", ",", "const", "AttributeList", "&", "FuncAttributes", ")", "const", "{", "if", "(", "(", "Op", ".", "isMemcpy", "(", ")", "||", "Op", ".", "isZeroMemset", "(", ")", ")", "&&", "Subtarget", "->", "hasNEON", "(", ")", "&&", "!", "FuncAttributes", ".", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ")", "{", "bool", "Fast", ";", "if", "(", "Op", ".", "size", "(", ")", ">=", "16", "&&", "(", "Op", ".", "isAligned", "(", "Align", "(", "16", ")", ")", "||", "(", "allowsMisalignedMemoryAccesses", "(", "MVT", "::", "v2f64", ",", "0", ",", "Align", "(", "1", ")", ",", "MachineMemOperand", "::", "MONone", ",", "&", "Fast", ")", "&&", "Fast", ")", ")", ")", "{", "return", "MVT", "::", "v2f64", ";", "}", "else", "if", "(", "Op", ".", "size", "(", ")", ">=", "8", "&&", "(", "Op", ".", "isAligned", "(", "Align", "(", "8", ")", ")", "||", "(", "allowsMisalignedMemoryAccesses", "(", "MVT", "::", "f64", ",", "0", ",", "Align", "(", "1", ")", ",", "MachineMemOperand", "::", "MONone", ",", "&", "Fast", ")", "&&", "Fast", ")", ")", ")", "{", "return", "MVT", "::", "f64", ";", "}", "}", "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", "0", "1", "MVT::v2f64", "8", "8", "MVT::f64", "0", "1", "MVT::f64", "MVT::Other"], "File": "ARMISelLowering123", "Func": "getOptimalMemOpType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12922, "Length": 169, "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": 12923, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "MandarinTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "0", ";", "case", "MDISD", "::", "RET_FLAG", ":", "return", "\"MDISD::RET_FLAG\"", ";", "case", "MDISD", "::", "CMP", ":", "return", "\"MDISD::CMP\"", ";", "case", "MDISD", "::", "ICMP", ":", "return", "\"MDISD::ICMP\"", ";", "case", "MDISD", "::", "FCMP", ":", "return", "\"MDISD::FCMP\"", ";", "case", "MDISD", "::", "BR_CC", ":", "return", "\"MDISD::BR_CC\"", ";", "case", "MDISD", "::", "SELECT_CC", ":", "return", "\"MDISD::SELECT_CC\"", ";", "case", "MDISD", "::", "HIGH", ":", "return", "\"MDISD::HIGH\"", ";", "case", "MDISD", "::", "LOW", ":", "return", "\"MDISD::LOW\"", ";", "case", "MDISD", "::", "CALL", ":", "return", "\"MDISD::CALL\"", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["Mandarin", "0", "MDISD::RET_FLAG", "\"MDISD::RET_FLAG\"", "MDISD::CMP", "\"MDISD::CMP\"", "MDISD::ICMP", "\"MDISD::ICMP\"", "MDISD::FCMP", "\"MDISD::FCMP\"", "MDISD::BR_CC", "\"MDISD::BR_CC\"", "MDISD::SELECT_CC", "\"MDISD::SELECT_CC\"", "MDISD::HIGH", "\"MDISD::HIGH\"", "MDISD::LOW", "\"MDISD::LOW\"", "MDISD::CALL", "\"MDISD::CALL\""], "File": "MandarinISelLowering", "Func": "getTargetNodeName", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12924, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ArrayRef", "<", "std", "::", "pair", "<", "MachineMemOperand", "::", "Flags", ",", "const", "char", "*", ">>", "AArch64InstrInfo", "::", "getSerializableMachineMemOperandTargetFlags", "(", ")", "const", "{", "static", "const", "std", "::", "pair", "<", "MachineMemOperand", "::", "Flags", ",", "const", "char", "*", ">", "TargetFlags", "[", "]", "=", "{", "{", "MOSuppressPair", ",", "\"aarch64-suppress-pair\"", "}", ",", "{", "MOStridedAccess", ",", "\"aarch64-strided-access\"", "}", "}", ";", "return", "makeArrayRef", "(", "TargetFlags", ")", ";", "}", ""], "natrual_language": ["Return", "an", "array", "that", "contains", "the", "MMO", "target", "flag", "values", "and", "their", "names", "."], "TS_V_token": ["AArch64", "AArch64", "\"aarch64-suppress-pair\"", "\"aarch64-strided-access\""], "File": "AArch64InstrInfo (2)", "Func": "getSerializableMachineMemOperandTargetFlags", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12925, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_i387_mode_needed", "(", "int", "entity", ",", "rtx_insn", "*", "insn", ")", "{", "enum", "attr_i387_cw", "mode", ";", "if", "(", "CALL_P", "(", "insn", ")", "||", "(", "NONJUMP_INSN_P", "(", "insn", ")", "&&", "(", "asm_noperands", "(", "PATTERN", "(", "insn", ")", ")", ">=", "0", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "ASM_INPUT", ")", ")", ")", "return", "I387_CW_UNINITIALIZED", ";", "if", "(", "recog_memoized", "(", "insn", ")", "<", "0", ")", "return", "I387_CW_ANY", ";", "mode", "=", "get_attr_i387_cw", "(", "insn", ")", ";", "switch", "(", "entity", ")", "{", "case", "I387_ROUNDEVEN", ":", "if", "(", "mode", "==", "I387_CW_ROUNDEVEN", ")", "return", "mode", ";", "break", ";", "case", "I387_TRUNC", ":", "if", "(", "mode", "==", "I387_CW_TRUNC", ")", "return", "mode", ";", "break", ";", "case", "I387_FLOOR", ":", "if", "(", "mode", "==", "I387_CW_FLOOR", ")", "return", "mode", ";", "break", ";", "case", "I387_CEIL", ":", "if", "(", "mode", "==", "I387_CW_CEIL", ")", "return", "mode", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "I387_CW_ANY", ";", "}", ""], "natrual_language": ["Return", "mode", "that", "i387", "must", "be", "switched", "into", "prior", "to", "the", "execution", "of", "insn", "."], "TS_V_token": ["i386", "0", "0"], "File": "i386", "Func": "ix86_i387_mode_needed", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12926, "Length": 146, "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": "i3867", "Func": "ix86_function_arg_boundary", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12927, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_expand_call", "(", "rtx", "result", ",", "rtx", "mem", ",", "bool", "sibcall", ")", "{", "rtx", "call", ",", "callee", ",", "tmp", ";", "rtvec", "vec", ";", "machine_mode", "mode", ";", "gcc_assert", "(", "MEM_P", "(", "mem", ")", ")", ";", "callee", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "mode", "=", "GET_MODE", "(", "callee", ")", ";", "gcc_assert", "(", "mode", "==", "Pmode", ")", ";", "if", "(", "SYMBOL_REF_P", "(", "callee", ")", "?", "(", "aarch64_is_long_call_p", "(", "callee", ")", "||", "aarch64_is_noplt_call_p", "(", "callee", ")", ")", ":", "!", "REG_P", "(", "callee", ")", ")", "XEXP", "(", "mem", ",", "0", ")", "=", "force_reg", "(", "mode", ",", "callee", ")", ";", "call", "=", "gen_rtx_CALL", "(", "VOIDmode", ",", "mem", ",", "const0_rtx", ")", ";", "if", "(", "result", "!=", "NULL_RTX", ")", "call", "=", "gen_rtx_SET", "(", "result", ",", "call", ")", ";", "if", "(", "sibcall", ")", "tmp", "=", "ret_rtx", ";", "else", "tmp", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "Pmode", ",", "LR_REGNUM", ")", ")", ";", "vec", "=", "gen_rtvec", "(", "2", ",", "call", ",", "tmp", ")", ";", "call", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "vec", ")", ";", "aarch64_emit_call_insn", "(", "call", ")", ";", "}", ""], "natrual_language": ["This", "function", "is", "used", "by", "the", "call", "expanders", "of", "the", "machine", "description", ".", "RESULT", "is", "the", "register", "in", "which", "the", "result", "is", "returned", ".", "It", "'s", "NULL", "for", "``", "call", "''", "and", "``", "sibcall", "''", ".", "MEM", "is", "the", "location", "of", "the", "function", "call", ".", "SIBCALL", "indicates", "whether", "this", "function", "call", "is", "normal", "call", "or", "sibling", "call", ".", "It", "will", "generate", "different", "pattern", "accordingly", "."], "TS_V_token": ["aarch64", "0", "0", "2"], "File": "aarch645", "Func": "aarch64_expand_call", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12928, "Length": 171, "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": ["AArch64", "0", "0", "0", "1"], "File": "AArch64FrameLowering34", "Func": "estimateStackSize", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12929, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addRequired", "<", "EdgeBundles", ">", "(", ")", ";", "AU", ".", "addPreservedID", "(", "MachineLoopInfoID", ")", ";", "AU", ".", "addPreservedID", "(", "MachineDominatorsID", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["X86"], "File": "X86FloatingPoint14", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12930, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86WinAllocaExpander", "::", "lower", "(", "MachineInstr", "*", "MI", ",", "Lowering", "L", ")", "{", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineBasicBlock", "*", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "*", "MI", ";", "int64_t", "Amount", "=", "getWinAllocaAmount", "(", "MI", ",", "MRI", ")", ";", "if", "(", "Amount", "==", "0", ")", "{", "MI", "->", "eraseFromParent", "(", ")", ";", "return", ";", "}", "bool", "Is64Bit", "=", "STI", "->", "is64Bit", "(", ")", ";", "assert", "(", "SlotSize", "==", "4", "||", "SlotSize", "==", "8", ")", ";", "unsigned", "RegA", "=", "(", "SlotSize", "==", "8", ")", "?", "X86", "::", "RAX", ":", "X86", "::", "EAX", ";", "switch", "(", "L", ")", "{", "case", "TouchAndSub", ":", "assert", "(", "Amount", ">=", "SlotSize", ")", ";", "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", ")", "{", "BuildMI", "(", "*", "MBB", ",", "I", ",", "DL", ",", "TII", "->", "get", "(", "Is64Bit", "?", "X86", "::", "PUSH64r", ":", "X86", "::", "PUSH32r", ")", ")", ".", "addReg", "(", "RegA", ",", "RegState", "::", "Undef", ")", ";", "}", "else", "{", "BuildMI", "(", "*", "MBB", ",", "I", ",", "DL", ",", "TII", "->", "get", "(", "getSubOpcode", "(", "Is64Bit", ",", "Amount", ")", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "break", ";", "case", "Probe", ":", "if", "(", "!", "NoStackArgProbe", ")", "{", "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", "(", "Is64Bit", "?", "X86", "::", "SUB64rr", ":", "X86", "::", "SUB32rr", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ";", "}", "break", ";", "}", "unsigned", "AmountReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "for", "(", ";", ";", ")", "{", "if", "(", "!", "MRI", "->", "use_empty", "(", "AmountReg", ")", ")", "break", ";", "MachineInstr", "*", "AmountDef", "=", "MRI", "->", "getUniqueVRegDef", "(", "AmountReg", ")", ";", "if", "(", "!", "AmountDef", ")", "break", ";", "if", "(", "AmountDef", "->", "isCopy", "(", ")", "&&", "AmountDef", "->", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", ")", "AmountReg", "=", "AmountDef", "->", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", ";", "AmountDef", "->", "eraseFromParent", "(", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["The", "instruction", "is", "lowered", "."], "TS_V_token": ["X86", "X86", "0", "4", "8", "8", "X86::RAX", "X86::EAX", "X86::PUSH64r", "X86::PUSH32r", "0", "X86::PUSH64r", "X86::PUSH32r", "0", "X86::SUB64rr", "X86::SUB32rr", "0", "0", "1", "1"], "File": "X86WinAllocaExpander4", "Func": "lower", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12931, "Length": 476, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "MachineModuleInfo", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["Sparc"], "File": "SparcCodeEmitter", "Func": "getAnalysisUsage", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12932, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "AArch64InstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64TargetMachine", "Func": "getInstrInfo", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12933, "Length": 19, "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": 12934, "Length": 159, "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": 12935, "Length": 193, "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": 12936, "Length": 419, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0SEFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "Cpu0MachineFunctionInfo", "*", "Cpu0FI", "=", "MF", ".", "getInfo", "<", "Cpu0MachineFunctionInfo", ">", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "unsigned", "FP", "=", "Cpu0", "::", "FP", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "setAliasRegs", "(", "MF", ",", "SavedRegs", ",", "FP", ")", ";", "if", "(", "Cpu0FI", "->", "callsEhReturn", "(", ")", ")", "Cpu0FI", "->", "createEhDataRegsFI", "(", ")", ";", "if", "(", "MF", ".", "getFrameInfo", "(", ")", ".", "hasCalls", "(", ")", ")", "setAliasRegs", "(", "MF", ",", "SavedRegs", ",", "Cpu0", "::", "LR", ")", ";", "return", ";", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0::FP", "Cpu0", "Cpu0", "Cpu0::LR"], "File": "Cpu0SEFrameLowering", "Func": "determineCalleeSaves", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12937, "Length": 116, "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", ";", "}", "AttributesSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".ARM.attributes\"", ",", "ELF", "::", "SHT_ARM_ATTRIBUTES", ",", "0", ")", ";", "}", ""], "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", "\".ARM.attributes\"", "ARM", "0"], "File": "ARMTargetObjectFile18", "Func": "Initialize", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12938, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "get_free_reg", "(", "HARD_REG_SET", "regs_live", ")", "{", "if", "(", "!", "TEST_HARD_REG_BIT", "(", "regs_live", ",", "1", ")", ")", "return", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "gcc_assert", "(", "!", "TEST_HARD_REG_BIT", "(", "regs_live", ",", "7", ")", ")", ";", "return", "gen_rtx_REG", "(", "Pmode", ",", "7", ")", ";", "}", ""], "natrual_language": ["REGS_LIVE", "is", "the", "liveness", "information", "for", "the", "point", "for", "which", "we", "need", "this", "allocation", ".", "In", "some", "bare-bones", "exit", "blocks", ",", "r1", "is", "live", "at", "the", "start", ".", "We", "can", "even", "have", "all", "of", "r0", "..", "r3", "being", "live", ":", "__complex__", "long", "long", "f", "(", "double", "d", ")", "{", "if", "(", "d", "==", "0", ")", "return", "2", ";", "else", "return", "3", ";", "}", "INSN", "before", "which", "new", "insns", "are", "placed", "with", "will", "clobber", "the", "register", "we", "return", ".", "If", "a", "basic", "block", "consists", "only", "of", "setting", "the", "return", "value", "register", "to", "a", "pseudo", "and", "using", "that", "register", ",", "the", "return", "value", "is", "not", "live", "before", "or", "after", "this", "block", ",", "yet", "we", "we", "'ll", "insert", "our", "insns", "right", "in", "the", "middle", "."], "TS_V_token": ["sh", "1", "1", "7", "7"], "File": "sh", "Func": "get_free_reg", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12939, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mmix_function_outgoing_value", "(", "tree", "valtype", ",", "tree", "func", "ATTRIBUTE_UNUSED", ")", "{", "enum", "machine_mode", "mode", "=", "TYPE_MODE", "(", "valtype", ")", ";", "enum", "machine_mode", "cmode", ";", "int", "first_val_regnum", "=", "MMIX_OUTGOING_RETURN_VALUE_REGNUM", ";", "rtx", "vec", "[", "MMIX_MAX_REGS_FOR_VALUE", "]", ";", "int", "i", ";", "int", "nregs", ";", "if", "(", "TARGET_ABI_GNU", "||", "GET_MODE_BITSIZE", "(", "mode", ")", "<=", "BITS_PER_WORD", ")", "return", "gen_rtx_REG", "(", "mode", ",", "MMIX_OUTGOING_RETURN_VALUE_REGNUM", ")", ";", "if", "(", "COMPLEX_MODE_P", "(", "mode", ")", ")", "cmode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "valtype", ")", ")", ";", "else", "{", "if", "(", "mode", "!=", "TImode", ")", "sorry", "(", "\"support for mode %qs\"", ",", "GET_MODE_NAME", "(", "mode", ")", ")", ";", "cmode", "=", "DImode", ";", "}", "nregs", "=", "(", "(", "GET_MODE_BITSIZE", "(", "mode", ")", "+", "BITS_PER_WORD", "-", "1", ")", "/", "BITS_PER_WORD", ")", ";", "if", "(", "nregs", ">", "MMIX_MAX_REGS_FOR_VALUE", ")", "internal_error", "(", "\"too large function value type, needs %d registers,\\ have only %d registers for this\"", ",", "nregs", ",", "MMIX_MAX_REGS_FOR_VALUE", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nregs", "-", "1", ";", "i", "++", ")", "vec", "[", "i", "]", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "cmode", ",", "first_val_regnum", "+", "i", ")", ",", "GEN_INT", "(", "(", "i", "+", "1", ")", "*", "BITS_PER_UNIT", ")", ")", ";", "vec", "[", "nregs", "-", "1", "]", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "cmode", ",", "first_val_regnum", "+", "nregs", "-", "1", ")", ",", "const0_rtx", ")", ";", "return", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec_v", "(", "nregs", ",", "vec", ")", ")", ";", "}", ""], "natrual_language": ["FUNCTION_OUTGOING_VALUE", "."], "TS_V_token": ["mmix", "\"support for mode %qs\"", "1", "\"too large function value type, needs %d registers,\\ have only %d registers for this\"", "0", "1", "1", "1", "1"], "File": "mmix3", "Func": "mmix_function_outgoing_value", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12940, "Length": 216, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64FrameLowering", "::", "getWinEHFuncletFrameSize", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "unsigned", "CSSize", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", "->", "getCalleeSavedStackSize", "(", ")", ";", "return", "alignTo", "(", "CSSize", "+", "MF", ".", "getFrameInfo", "(", ")", ".", "getMaxCallFrameSize", "(", ")", ",", "getStackAlign", "(", ")", ")", ";", "}", ""], "natrual_language": ["Funclets", "only", "need", "to", "account", "for", "space", "for", "the", "callee", "saved", "registers", ",", "as", "the", "locals", "are", "accounted", "for", "in", "the", "parent", "'s", "stack", "frame", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64FrameLowering (2)1", "Func": "getWinEHFuncletFrameSize", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12941, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mmix_asm_output_internal_label", "(", "FILE", "*", "stream", ",", "const", "char", "*", "name", ")", "{", "assemble_name_raw", "(", "stream", ",", "name", ")", ";", "fprintf", "(", "stream", ",", "\"\\tIS @\\n\"", ")", ";", "}", ""], "natrual_language": ["ASM_OUTPUT_INTERNAL_LABEL", "."], "TS_V_token": ["mmix", "\"\\tIS @\\n\""], "File": "mmix", "Func": "mmix_asm_output_internal_label", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12942, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "add_compiler_branch_island", "(", "tree", "label_name", ",", "tree", "function_name", ",", "int", "line_number", ")", "{", "branch_island", "bi", "=", "{", "function_name", ",", "label_name", ",", "line_number", "}", ";", "vec_safe_push", "(", "branch_islands", ",", "bi", ")", ";", "}", ""], "natrual_language": ["Remember", "to", "generate", "a", "branch", "island", "for", "far", "calls", "to", "the", "given", "function", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "add_compiler_branch_island", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12943, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", "AddrSpace", "=", "0", ",", "unsigned", "Align", "=", "1", ",", "bool", "*", "Fast", "=", "nullptr", ")", "const", "override", "{", "if", "(", "RequireStrictAlign", ")", "return", "false", ";", "if", "(", "Fast", ")", "*", "Fast", "=", "true", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["AArch64", "0", "1"], "File": "AArch64ISelLowering107", "Func": "allowsMisalignedMemoryAccesses", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12944, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiSetflagAluCombiner", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "DisableSetflagAluCombiner", ")", "return", "false", ";", "bool", "Modified", "=", "false", ";", "MfIterator", "End", "=", "MF", ".", "end", "(", ")", ";", "for", "(", "MfIterator", "MFI", "=", "MF", ".", "begin", "(", ")", ";", "MFI", "!=", "End", ";", "++", "MFI", ")", "{", "Modified", "|=", "CombineSetflagAluInBasicBlock", "(", "&", "MF", ",", "&", "*", "MFI", ")", ";", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Lanai", "Lanai"], "File": "LanaiSetflagAluCombiner", "Func": "runOnMachineFunction", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12945, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isPairedLdSt", "(", "const", "MachineInstr", "&", "MI", ")", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "AArch64", "::", "LDPSi", ":", "case", "AArch64", "::", "LDPSWi", ":", "case", "AArch64", "::", "LDPDi", ":", "case", "AArch64", "::", "LDPQi", ":", "case", "AArch64", "::", "LDPWi", ":", "case", "AArch64", "::", "LDPXi", ":", "case", "AArch64", "::", "STPSi", ":", "case", "AArch64", "::", "STPDi", ":", "case", "AArch64", "::", "STPQi", ":", "case", "AArch64", "::", "STPWi", ":", "case", "AArch64", "::", "STPXi", ":", "case", "AArch64", "::", "STGPi", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Returns", "whether", "the", "instruction", "is", "a", "paired", "load/store", "."], "TS_V_token": ["AArch64", "AArch64::LDPSi", "AArch64::LDPSWi", "AArch64::LDPDi", "AArch64::LDPQi", "AArch64::LDPWi", "AArch64::LDPXi", "AArch64::STPSi", "AArch64::STPDi", "AArch64::STPQi", "AArch64::STPWi", "AArch64::STPXi", "AArch64::STGPi"], "File": "AArch64LoadStoreOptimizer (2)1", "Func": "isPairedLdSt", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12946, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "aarch64_general_add_builtin", "(", "const", "char", "*", "name", ",", "tree", "type", ",", "unsigned", "int", "code", ",", "tree", "attrs", "=", "NULL_TREE", ")", "{", "code", "=", "(", "code", "<<", "AARCH64_BUILTIN_SHIFT", ")", "|", "AARCH64_BUILTIN_GENERAL", ";", "return", "add_builtin_function", "(", "name", ",", "type", ",", "code", ",", "BUILT_IN_MD", ",", "NULL", ",", "attrs", ")", ";", "}", ""], "natrual_language": ["Wrapper", "around", "add_builtin_function", ".", "NAME", "is", "the", "name", "of", "the", "built-in", "function", ",", "TYPE", "is", "the", "function", "type", ",", "CODE", "is", "the", "function", "subcode", "(", "relative", "to", "AARCH64_BUILTIN_GENERAL", ")", ",", "and", "ATTRS", "is", "the", "function", "attributes", "."], "TS_V_token": ["aarch64"], "File": "aarch64-builtins", "Func": "aarch64_general_add_builtin", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12947, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "atomic_insn_for_leon3_p", "(", "rtx_insn", "*", "insn", ")", "{", "switch", "(", "INSN_CODE", "(", "insn", ")", ")", "{", "case", "CODE_FOR_swapsi", ":", "case", "CODE_FOR_ldstub", ":", "case", "CODE_FOR_atomic_compare_and_swap_leon3_1", ":", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["True", "if", "INSN", "is", "an", "atomic", "instruction", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "atomic_insn_for_leon3_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12948, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "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", "?", "TII", ".", "getFrameSize", "(", "*", "I", ")", ":", "0", ";", "uint64_t", "InternalAmt", "=", "(", "isDestroy", "||", "Amount", ")", "?", "TII", ".", "getFrameAdjustment", "(", "*", "I", ")", ":", "0", ";", "I", "=", "MBB", ".", "erase", "(", "I", ")", ";", "auto", "InsertPos", "=", "skipDebugInstructionsForward", "(", "I", ",", "MBB", ".", "end", "(", ")", ")", ";", "if", "(", "!", "reserveCallFrame", ")", "{", "unsigned", "StackAlign", "=", "getStackAlignment", "(", ")", ";", "Amount", "=", "alignTo", "(", "Amount", ",", "StackAlign", ")", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "bool", "WindowsCFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", "->", "usesWindowsCFI", "(", ")", ";", "bool", "DwarfCFI", "=", "!", "WindowsCFI", "&&", "(", "MMI", ".", "hasDebugInfo", "(", ")", "||", "F", ".", "needsUnwindTableEntry", "(", ")", ")", ";", "bool", "HasDwarfEHHandlers", "=", "!", "WindowsCFI", "&&", "!", "MF", ".", "getLandingPads", "(", ")", ".", "empty", "(", ")", ";", "if", "(", "HasDwarfEHHandlers", "&&", "!", "isDestroy", "&&", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "getHasPushSequences", "(", ")", ")", "BuildCFI", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "MCCFIInstruction", "::", "createGnuArgsSize", "(", "nullptr", ",", "Amount", ")", ")", ";", "if", "(", "Amount", "==", "0", ")", "return", "I", ";", "Amount", "-=", "InternalAmt", ";", "if", "(", "isDestroy", "&&", "InternalAmt", "&&", "DwarfCFI", "&&", "!", "hasFP", "(", "MF", ")", ")", "BuildCFI", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "MCCFIInstruction", "::", "createAdjustCfaOffset", "(", "nullptr", ",", "-", "InternalAmt", ")", ")", ";", "int64_t", "StackAdjustment", "=", "isDestroy", "?", "Amount", ":", "-", "Amount", ";", "int64_t", "CfaAdjustment", "=", "-", "StackAdjustment", ";", "if", "(", "StackAdjustment", ")", "{", "StackAdjustment", "+=", "mergeSPUpdates", "(", "MBB", ",", "InsertPos", ",", "true", ")", ";", "StackAdjustment", "+=", "mergeSPUpdates", "(", "MBB", ",", "InsertPos", ",", "false", ")", ";", "if", "(", "StackAdjustment", ")", "{", "if", "(", "!", "(", "F", ".", "optForMinSize", "(", ")", "&&", "adjustStackWithPops", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "StackAdjustment", ")", ")", ")", "BuildStackAdjustment", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "StackAdjustment", ",", "false", ")", ";", "}", "}", "if", "(", "DwarfCFI", "&&", "!", "hasFP", "(", "MF", ")", ")", "{", "if", "(", "CfaAdjustment", ")", "{", "BuildCFI", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "MCCFIInstruction", "::", "createAdjustCfaOffset", "(", "nullptr", ",", "CfaAdjustment", ")", ")", ";", "}", "}", "return", "I", ";", "}", "if", "(", "isDestroy", "&&", "InternalAmt", ")", "{", "MachineBasicBlock", "::", "iterator", "CI", "=", "I", ";", "MachineBasicBlock", "::", "iterator", "B", "=", "MBB", ".", "begin", "(", ")", ";", "while", "(", "CI", "!=", "B", "&&", "!", "std", "::", "prev", "(", "CI", ")", "->", "isCall", "(", ")", ")", "--", "CI", ";", "BuildStackAdjustment", "(", "MBB", ",", "CI", ",", "DL", ",", "-", "InternalAmt", ",", "false", ")", ";", "}", "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": ["X86", "X86", "0", "0", "X86", "0"], "File": "X86FrameLowering (2)2", "Func": "eliminateCallFramePseudoInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12949, "Length": 488, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "aarch64_sls_barrier", "(", "int", "mitigation_required", ")", "{", "return", "mitigation_required", "?", "(", "TARGET_SB", "?", "\"sb\"", ":", "\"dsb\\tsy\\n\\tisb\"", ")", ":", "\"\"", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "straight", "line", "speculation", ".", "Return", "what", "barrier", "should", "be", "emitted", "for", "straight", "line", "speculation", "mitigation", ".", "When", "not", "mitigating", "against", "straight", "line", "speculation", "this", "function", "returns", "an", "empty", "string", ".", "When", "mitigating", "against", "straight", "line", "speculation", ",", "use", ":", "*", "SB", "when", "the", "v8.5-A", "SB", "extension", "is", "enabled", ".", "*", "DSB+ISB", "otherwise", "."], "TS_V_token": ["aarch64", "\"sb\"", "\"dsb\\tsy\\n\\tisb\"", "\"\""], "File": "aarch641", "Func": "aarch64_sls_barrier", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12950, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_compute_pressure_classes", "(", "enum", "reg_class", "*", "pressure_classes", ")", "{", "int", "n", ";", "n", "=", "0", ";", "pressure_classes", "[", "n", "++", "]", "=", "GENERAL_REGS", ";", "if", "(", "TARGET_VSX", ")", "pressure_classes", "[", "n", "++", "]", "=", "VSX_REGS", ";", "else", "{", "if", "(", "TARGET_ALTIVEC", ")", "pressure_classes", "[", "n", "++", "]", "=", "ALTIVEC_REGS", ";", "if", "(", "TARGET_HARD_FLOAT", "&&", "TARGET_FPRS", ")", "pressure_classes", "[", "n", "++", "]", "=", "FLOAT_REGS", ";", "}", "pressure_classes", "[", "n", "++", "]", "=", "CR_REGS", ";", "pressure_classes", "[", "n", "++", "]", "=", "SPECIAL_REGS", ";", "return", "n", ";", "}", ""], "natrual_language": ["Compute", "register", "pressure", "classes", ".", "We", "implement", "the", "target", "hook", "to", "avoid", "IRA", "picking", "something", "like", "GEN_OR_FLOAT_REGS", "as", "a", "pressure", "class", ",", "which", "can", "lead", "to", "incorrect", "estimates", "of", "number", "of", "available", "registers", "and", "therefor", "increased", "register", "pressure/spill", "."], "TS_V_token": ["powerpcspe", "0"], "File": "powerpcspe", "Func": "rs6000_compute_pressure_classes", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12951, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isDesirableToTransformToIntegerOp", "(", "unsigned", "Opc", ",", "EVT", "VT", ")", "const", "override", "{", "if", "(", "Opc", "!=", "ISD", "::", "LOAD", "&&", "Opc", "!=", "ISD", "::", "STORE", ")", "return", "false", ";", "if", "(", "VT", "!=", "MVT", "::", "f32", "&&", "VT", "!=", "MVT", "::", "f64", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "profitable", "for", "dag", "combiner", "to", "transform", "a", "floating", "point", "op", "of", "specified", "opcode", "to", "a", "equivalent", "op", "of", "an", "integer", "type", "."], "TS_V_token": ["PowerPC", "ISD::LOAD", "ISD::STORE", "MVT::f32", "MVT::f64"], "File": "PPCISelLowering106", "Func": "isDesirableToTransformToIntegerOp", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12952, "Length": 50, "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": 12953, "Length": 56, "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": 12954, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "FoldImmediate", "(", "MachineInstr", "&", "UseMI", ",", "MachineInstr", "&", "DefMI", ",", "Register", "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", ";", "MCRegister", "ZeroReg", ";", "if", "(", "UseInfo", "->", "isLookupPtrRegClass", "(", ")", ")", "{", "bool", "isPPC64", "=", "Subtarget", ".", "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": "PPCInstrInfo17", "Func": "FoldImmediate", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12955, "Length": 339, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "ExpandInlineAsm", "(", "CallInst", "*", "CI", ")", "const", "{", "InlineAsm", "*", "IA", "=", "cast", "<", "InlineAsm", ">", "(", "CI", "->", "getCalledValue", "(", ")", ")", ";", "std", "::", "vector", "<", "InlineAsm", "::", "ConstraintInfo", ">", "Constraints", "=", "IA", "->", "ParseConstraints", "(", ")", ";", "std", "::", "string", "AsmStr", "=", "IA", "->", "getAsmString", "(", ")", ";", "std", "::", "vector", "<", "std", "::", "string", ">", "AsmPieces", ";", "SplitString", "(", "AsmStr", ",", "AsmPieces", ",", "\"\\n\"", ")", ";", "switch", "(", "AsmPieces", ".", "size", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "1", ":", "AsmStr", "=", "AsmPieces", "[", "0", "]", ";", "AsmPieces", ".", "clear", "(", ")", ";", "SplitString", "(", "AsmStr", ",", "AsmPieces", ",", "\" \\t\"", ")", ";", "if", "(", "AsmPieces", ".", "size", "(", ")", "==", "2", "&&", "(", "AsmPieces", "[", "0", "]", "==", "\"bswap\"", "||", "AsmPieces", "[", "0", "]", "==", "\"bswapq\"", "||", "AsmPieces", "[", "0", "]", "==", "\"bswapl\"", ")", "&&", "(", "AsmPieces", "[", "1", "]", "==", "\"$0\"", "||", "AsmPieces", "[", "1", "]", "==", "\"${0:q}\"", ")", ")", "{", "return", "LowerToBSwap", "(", "CI", ")", ";", "}", "if", "(", "CI", "->", "getType", "(", ")", "==", "Type", "::", "getInt16Ty", "(", "CI", "->", "getContext", "(", ")", ")", "&&", "AsmPieces", ".", "size", "(", ")", "==", "3", "&&", "AsmPieces", "[", "0", "]", "==", "\"rorw\"", "&&", "AsmPieces", "[", "1", "]", "==", "\"$$8,\"", "&&", "AsmPieces", "[", "2", "]", "==", "\"${0:w}\"", "&&", "IA", "->", "getConstraintString", "(", ")", "==", "\"=r,0,~{dirflag},~{fpsr},~{flags},~{cc}\"", ")", "{", "return", "LowerToBSwap", "(", "CI", ")", ";", "}", "break", ";", "case", "3", ":", "if", "(", "CI", "->", "getType", "(", ")", "==", "Type", "::", "getInt64Ty", "(", "CI", "->", "getContext", "(", ")", ")", "&&", "Constraints", ".", "size", "(", ")", ">=", "2", "&&", "Constraints", "[", "0", "]", ".", "Codes", ".", "size", "(", ")", "==", "1", "&&", "Constraints", "[", "0", "]", ".", "Codes", "[", "0", "]", "==", "\"A\"", "&&", "Constraints", "[", "1", "]", ".", "Codes", ".", "size", "(", ")", "==", "1", "&&", "Constraints", "[", "1", "]", ".", "Codes", "[", "0", "]", "==", "\"0\"", ")", "{", "std", "::", "vector", "<", "std", "::", "string", ">", "Words", ";", "SplitString", "(", "AsmPieces", "[", "0", "]", ",", "Words", ",", "\" \\t\"", ")", ";", "if", "(", "Words", ".", "size", "(", ")", "==", "2", "&&", "Words", "[", "0", "]", "==", "\"bswap\"", "&&", "Words", "[", "1", "]", "==", "\"%eax\"", ")", "{", "Words", ".", "clear", "(", ")", ";", "SplitString", "(", "AsmPieces", "[", "1", "]", ",", "Words", ",", "\" \\t\"", ")", ";", "if", "(", "Words", ".", "size", "(", ")", "==", "2", "&&", "Words", "[", "0", "]", "==", "\"bswap\"", "&&", "Words", "[", "1", "]", "==", "\"%edx\"", ")", "{", "Words", ".", "clear", "(", ")", ";", "SplitString", "(", "AsmPieces", "[", "2", "]", ",", "Words", ",", "\" \\t,\"", ")", ";", "if", "(", "Words", ".", "size", "(", ")", "==", "3", "&&", "Words", "[", "0", "]", "==", "\"xchgl\"", "&&", "Words", "[", "1", "]", "==", "\"%eax\"", "&&", "Words", "[", "2", "]", "==", "\"%edx\"", ")", "{", "return", "LowerToBSwap", "(", "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": ["X86", "X86", "\"\\n\"", "1", "0", "\" \\t\"", "2", "0", "\"bswap\"", "0", "\"bswapq\"", "0", "\"bswapl\"", "1", "\"$0\"", "1", "\"${0:q}\"", "3", "0", "\"rorw\"", "1", "\"$$8,\"", "2", "\"${0:w}\"", "\"=r,0,~{dirflag},~{fpsr},~{flags},~{cc}\"", "3", "2", "0", "1", "0", "0", "\"A\"", "1", "1", "1", "0", "\"0\"", "0", "\" \\t\"", "2", "0", "\"bswap\"", "1", "\"%eax\"", "1", "\" \\t\"", "2", "0", "\"bswap\"", "1", "\"%edx\"", "2", "\" \\t,\"", "3", "0", "\"xchgl\"", "1", "\"%eax\"", "2", "\"%edx\""], "File": "X86ISelLowering94", "Func": "ExpandInlineAsm", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12956, "Length": 473, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseRegisterInfo", "::", "canRealignStack", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "return", "(", "RealignStack", "&&", "!", "AFI", "->", "isThumb1OnlyFunction", "(", ")", "&&", "(", "!", "MFI", "->", "hasVarSizedObjects", "(", ")", "||", "EnableBasePointer", ")", ")", ";", "}", ""], "natrual_language": ["True", "if", "the", "stack", "can", "be", "realigned", "for", "the", "target", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "ARMBaseRegisterInfo29", "Func": "canRealignStack", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12957, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "dimode_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": "i3866", "Func": "replace_with_subreg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12958, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "LanaiInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "Lanai", "::", "LDW_RI", ")", "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": ["Lanai", "Lanai", "Lanai::LDW_RI", "1", "2", "2", "0", "1", "0", "0"], "File": "LanaiInstrInfo (2)", "Func": "isLoadFromStackSlot", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12959, "Length": 96, "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", ".", "getSubtargetImpl", "(", ")", "->", "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": "PPCMCInstLower48", "Func": "GetSymbolFromOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12960, "Length": 468, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBankInfo", "::", "InstructionMapping", "&", "X86RegisterBankInfo", "::", "getInstrMapping", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "auto", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "!", "isPreISelGenericOpcode", "(", "Opc", ")", "||", "Opc", "==", "TargetOpcode", "::", "G_PHI", ")", "{", "const", "InstructionMapping", "&", "Mapping", "=", "getInstrMappingImpl", "(", "MI", ")", ";", "if", "(", "Mapping", ".", "isValid", "(", ")", ")", "return", "Mapping", ";", "}", "switch", "(", "Opc", ")", "{", "case", "TargetOpcode", "::", "G_ADD", ":", "case", "TargetOpcode", "::", "G_SUB", ":", "return", "getSameOperandsMapping", "(", "MI", ",", "false", ")", ";", "break", ";", "case", "TargetOpcode", "::", "G_FADD", ":", "case", "TargetOpcode", "::", "G_FSUB", ":", "case", "TargetOpcode", "::", "G_FMUL", ":", "case", "TargetOpcode", "::", "G_FDIV", ":", "return", "getSameOperandsMapping", "(", "MI", ",", "true", ")", ";", "break", ";", "default", ":", "break", ";", "}", "unsigned", "NumOperands", "=", "MI", ".", "getNumOperands", "(", ")", ";", "SmallVector", "<", "PartialMappingIdx", ",", "4", ">", "OpRegBankIdx", "(", "NumOperands", ")", ";", "switch", "(", "Opc", ")", "{", "case", "TargetOpcode", "::", "G_FPEXT", ":", "case", "TargetOpcode", "::", "G_FCONSTANT", ":", "getInstrPartialMappingIdxs", "(", "MI", ",", "MRI", ",", "true", ",", "OpRegBankIdx", ")", ";", "break", ";", "default", ":", "getInstrPartialMappingIdxs", "(", "MI", ",", "MRI", ",", "false", ",", "OpRegBankIdx", ")", ";", "break", ";", "}", "SmallVector", "<", "const", "ValueMapping", "*", ",", "8", ">", "OpdsMapping", "(", "NumOperands", ")", ";", "if", "(", "!", "getInstrValueMapping", "(", "MI", ",", "OpRegBankIdx", ",", "OpdsMapping", ")", ")", "return", "getInvalidInstructionMapping", "(", ")", ";", "return", "getInstructionMapping", "(", "DefaultMappingID", ",", "1", ",", "getOperandsMapping", "(", "OpdsMapping", ")", ",", "NumOperands", ")", ";", "}", ""], "natrual_language": ["Get", "the", "mapping", "of", "the", "different", "operands", "of", "MI", "on", "the", "register", "bank", "."], "TS_V_token": ["X86", "X86", "4", "8", "1"], "File": "X86RegisterBankInfo11", "Func": "getInstrMapping", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12961, "Length": 259, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "const", "LanaiSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "LanaiSubtarget", ">", "(", ")", ";", "TII", "=", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "FI", "=", "MF", ".", "begin", "(", ")", ",", "FE", "=", "MF", ".", "end", "(", ")", ";", "FI", "!=", "FE", ";", "++", "FI", ")", "Changed", "|=", "runOnMachineBasicBlock", "(", "*", "FI", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai"], "File": "LanaiDelaySlotFiller", "Func": "runOnMachineFunction", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12962, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "tryAddingSymbolicOperand", "(", "uint64_t", "Address", ",", "int32_t", "Value", ",", "bool", "isBranch", ",", "uint64_t", "InstSize", ",", "MCInst", "&", "MI", ",", "const", "void", "*", "Decoder", ")", "{", "const", "MCDisassembler", "*", "Dis", "=", "static_cast", "<", "const", "MCDisassembler", "*", ">", "(", "Decoder", ")", ";", "return", "Dis", "->", "tryAddingSymbolicOperand", "(", "MI", ",", "(", "uint32_t", ")", "Value", ",", "Address", ",", "isBranch", ",", "0", ",", "InstSize", ")", ";", "}", ""], "natrual_language": ["Try", "to", "add", "a", "symbolic", "operand", "instead", "of", "Value", "to", "the", "MCInst", "."], "TS_V_token": ["ARM", "0"], "File": "ARMDisassembler (2)", "Func": "tryAddingSymbolicOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12963, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZTargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", ",", "unsigned", ",", "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": ["SystemZ", "SystemZ"], "File": "SystemZISelLowering (2)3", "Func": "allowsMisalignedMemoryAccesses", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12964, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_simd_scalar_immediate_valid_for_move", "(", "rtx", "op", ",", "scalar_int_mode", "mode", ")", "{", "machine_mode", "vmode", ";", "vmode", "=", "aarch64_simd_container_mode", "(", "mode", ",", "64", ")", ";", "rtx", "op_v", "=", "aarch64_simd_gen_const_vector_dup", "(", "vmode", ",", "INTVAL", "(", "op", ")", ")", ";", "return", "aarch64_simd_valid_immediate", "(", "op_v", ",", "NULL", ")", ";", "}", ""], "natrual_language": ["Check", "OP", "is", "a", "legal", "scalar", "immediate", "for", "the", "MOVI", "instruction", "."], "TS_V_token": ["aarch64", "64"], "File": "aarch64", "Func": "aarch64_simd_scalar_immediate_valid_for_move", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12965, "Length": 44, "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": 12966, "Length": 97, "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": 12967, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "SystemZRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "SystemZSubtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "SystemZSubtarget", ">", "(", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AnyReg", ")", "return", "Subtarget", ".", "hasVector", "(", ")", "?", "CSR_SystemZ_AllRegs_Vector_SaveList", ":", "CSR_SystemZ_AllRegs_SaveList", ";", "if", "(", "MF", "->", "getSubtarget", "(", ")", ".", "getTargetLowering", "(", ")", "->", "supportSwiftError", "(", ")", "&&", "MF", "->", "getFunction", "(", ")", ".", "getAttributes", "(", ")", ".", "hasAttrSomewhere", "(", "Attribute", "::", "SwiftError", ")", ")", "return", "CSR_SystemZ_SwiftError_SaveList", ";", "return", "CSR_SystemZ_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ"], "File": "SystemZRegisterInfo16", "Func": "getCalleeSavedRegs", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12968, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MINA32AsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "uint64_t", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "printMINA32Operands", "(", "Operands", ")", ";", "MCInst", "Inst", ";", "unsigned", "MatchResult", "=", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ";", "switch", "(", "MatchResult", ")", "{", "default", ":", "break", ";", "case", "Match_Success", ":", "{", "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", "=", "(", "(", "MINA32Operand", "&", ")", "*", "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": ["MINA32", "MINA32", "MINA32", "\"instruction requires a CPU feature not currently enabled\"", "0U", "\"too few operands for instruction\"", "MINA32", "\"invalid operand for instruction\"", "\"invalid instruction\""], "File": "MINA32AsmParser", "Func": "MatchAndEmitInstruction", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12969, "Length": 189, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "SparcELFTargetObjectFile", "::", "getTTypeGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "unsigned", "Encoding", ",", "Mangler", "&", "Mang", ",", "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\"", ",", "Mang", ",", "TM", ")", ";", "MachineModuleInfoImpl", "::", "StubValueTy", "&", "StubSym", "=", "ELFMMI", ".", "getGVStubEntry", "(", "SSym", ")", ";", "if", "(", "!", "StubSym", ".", "getPointer", "(", ")", ")", "{", "MCSymbol", "*", "Sym", "=", "TM", ".", "getSymbol", "(", "GV", ",", "Mang", ")", ";", "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", ",", "Mang", ",", "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": "SparcTargetObjectFile15", "Func": "getTTypeGlobalReference", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12970, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "IndirectTlsSegRefs", "=", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"indirect-tls-seg-refs\"", ")", ";", "OptForMinSize", "=", "MF", ".", "getFunction", "(", ")", ".", "hasMinSize", "(", ")", ";", "assert", "(", "(", "!", "OptForMinSize", "||", "MF", ".", "getFunction", "(", ")", ".", "hasOptSize", "(", ")", ")", "&&", "\"OptForMinSize implies OptForSize\"", ")", ";", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "\"indirect-tls-seg-refs\"", "\"OptForMinSize implies OptForSize\""], "File": "X86ISelDAGToDAG1", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12971, "Length": 77, "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", "(", ")", "<<", "\" MCSym \"", ";", "if", "(", "MCSym", ")", "dbgs", "(", ")", "<<", "MCSym", ";", "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\"", "\" MCSym \"", "\"nul\"", "\" JT\"", "\" Align\""], "File": "X86ISelDAGToDAG (2)", "Func": "dump", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12972, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_count_insn", "(", "basic_block", "bb", ")", "{", "edge", "e", ";", "edge_iterator", "ei", ";", "int", "min_prev_count", ";", "min_prev_count", "=", "4", ";", "FOR_EACH_EDGE", "(", "e", ",", "ei", ",", "bb", "->", "preds", ")", "{", "edge", "prev_e", ";", "edge_iterator", "prev_ei", ";", "if", "(", "e", "->", "src", "==", "ENTRY_BLOCK_PTR_FOR_FN", "(", "cfun", ")", ")", "{", "min_prev_count", "=", "0", ";", "break", ";", "}", "FOR_EACH_EDGE", "(", "prev_e", ",", "prev_ei", ",", "e", "->", "src", "->", "preds", ")", "{", "if", "(", "prev_e", "->", "src", "==", "ENTRY_BLOCK_PTR_FOR_FN", "(", "cfun", ")", ")", "{", "int", "count", "=", "ix86_count_insn_bb", "(", "e", "->", "src", ")", ";", "if", "(", "count", "<", "min_prev_count", ")", "min_prev_count", "=", "count", ";", "break", ";", "}", "}", "}", "if", "(", "min_prev_count", "<", "4", ")", "min_prev_count", "+=", "ix86_count_insn_bb", "(", "bb", ")", ";", "return", "min_prev_count", ";", "}", ""], "natrual_language": ["Count", "the", "minimum", "number", "of", "instructions", "in", "code", "path", "in", "BB", ".", "Return", "4", "if", "the", "number", "of", "instructions", ">", "=", "4", "."], "TS_V_token": ["i386", "4", "0", "4"], "File": "i386", "Func": "ix86_count_insn", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12973, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86Subtarget", "&", "X86Subtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "initSubtargetFeatures", "(", "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": ["X86", "X86", "X86"], "File": "X86Subtarget (2)3", "Func": "initializeSubtargetDependencies", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12974, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64ConditionalCompares", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** AArch64 Conditional Compares **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "SchedModel", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getSchedModel", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "DomTree", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "Loops", "=", "getAnalysisIfAvailable", "<", "MachineLoopInfo", ">", "(", ")", ";", "MBPI", "=", "&", "getAnalysis", "<", "MachineBranchProbabilityInfo", ">", "(", ")", ";", "Traces", "=", "&", "getAnalysis", "<", "MachineTraceMetrics", ">", "(", ")", ";", "MinInstr", "=", "nullptr", ";", "MinSize", "=", "MF", ".", "getFunction", "(", ")", ".", "hasMinSize", "(", ")", ";", "bool", "Changed", "=", "false", ";", "CmpConv", ".", "runOnMachineFunction", "(", "MF", ",", "MBPI", ")", ";", "for", "(", "auto", "*", "I", ":", "depth_first", "(", "DomTree", ")", ")", "if", "(", "tryConvert", "(", "I", "->", "getBlock", "(", ")", ")", ")", "Changed", "=", "true", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"********** AArch64 Conditional Compares **********\\n\"", "\"********** Function: \""], "File": "AArch64ConditionalCompares1", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12975, "Length": 187, "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": 12976, "Length": 256, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "AZPRTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "AZPRPassConfig", "(", "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": ["AZPR", "AZPR", "AZPR"], "File": "AZPRTargetMachine", "Func": "createPassConfig", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12977, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMFastISel", "::", "isTypeLegal", "(", "const", "Type", "*", "Ty", ",", "EVT", "&", "VT", ")", "{", "VT", "=", "TLI", ".", "getValueType", "(", "Ty", ",", "true", ")", ";", "if", "(", "VT", "==", "MVT", "::", "Other", "||", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "return", "TLI", ".", "isTypeLegal", "(", "VT", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "type", "is", "legal", "."], "TS_V_token": ["ARM", "ARM", "MVT::Other"], "File": "ARMFastISel23", "Func": "isTypeLegal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12978, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mmix_eh_return_handler_rtx", "(", "void", ")", "{", "return", "gen_rtx_REG", "(", "Pmode", ",", "MMIX_INCOMING_RETURN_ADDRESS_REGNUM", ")", ";", "}", ""], "natrual_language": ["EH_RETURN_HANDLER_RTX", "."], "TS_V_token": ["mmix"], "File": "mmix", "Func": "mmix_eh_return_handler_rtx", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12979, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sh_init_cumulative_args", "(", "CUMULATIVE_ARGS", "*", "pcum", ",", "tree", "fntype", ",", "rtx", "libname", "ATTRIBUTE_UNUSED", ",", "tree", "fndecl", ",", "signed", "int", "n_named_args", ",", "machine_mode", "mode", ")", "{", "pcum", "->", "arg_count", "[", "(", "int", ")", "SH_ARG_FLOAT", "]", "=", "0", ";", "pcum", "->", "free_single_fp_reg", "=", "0", ";", "pcum", "->", "stack_regs", "=", "0", ";", "pcum", "->", "byref_regs", "=", "0", ";", "pcum", "->", "byref", "=", "0", ";", "pcum", "->", "outgoing", "=", "(", "n_named_args", "==", "-", "1", ")", "?", "0", ":", "1", ";", "pcum", "->", "renesas_abi", "=", "sh_attr_renesas_p", "(", "fntype", ")", "?", "1", ":", "0", ";", "if", "(", "fntype", ")", "{", "pcum", "->", "force_mem", "=", "(", "(", "TARGET_HITACHI", "||", "pcum", "->", "renesas_abi", ")", "&&", "aggregate_value_p", "(", "TREE_TYPE", "(", "fntype", ")", ",", "fndecl", ")", ")", ";", "pcum", "->", "prototype_p", "=", "prototype_p", "(", "fntype", ")", ";", "pcum", "->", "arg_count", "[", "(", "int", ")", "SH_ARG_INT", "]", "=", "TARGET_SH5", "&&", "aggregate_value_p", "(", "TREE_TYPE", "(", "fntype", ")", ",", "fndecl", ")", ";", "pcum", "->", "call_cookie", "=", "CALL_COOKIE_RET_TRAMP", "(", "TARGET_SHCOMPACT", "&&", "pcum", "->", "arg_count", "[", "(", "int", ")", "SH_ARG_INT", "]", "==", "0", "&&", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "fntype", ")", ")", "==", "BLKmode", "?", "int_size_in_bytes", "(", "TREE_TYPE", "(", "fntype", ")", ")", ":", "GET_MODE_SIZE", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "fntype", ")", ")", ")", ")", ">", "4", "&&", "(", "BASE_RETURN_VALUE_REG", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "fntype", ")", ")", ")", "==", "FIRST_RET_REG", ")", ")", ";", "}", "else", "{", "pcum", "->", "arg_count", "[", "(", "int", ")", "SH_ARG_INT", "]", "=", "0", ";", "pcum", "->", "prototype_p", "=", "FALSE", ";", "if", "(", "mode", "!=", "VOIDmode", ")", "{", "pcum", "->", "call_cookie", "=", "CALL_COOKIE_RET_TRAMP", "(", "TARGET_SHCOMPACT", "&&", "GET_MODE_SIZE", "(", "mode", ")", ">", "4", "&&", "BASE_RETURN_VALUE_REG", "(", "mode", ")", "==", "FIRST_RET_REG", ")", ";", "pcum", "->", "force_mem", "=", "(", "TARGET_DEFAULT", "&", "MASK_HITACHI", ")", "&&", "(", "mode", "==", "BLKmode", "||", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "4", "&&", "!", "(", "mode", "==", "DFmode", "&&", "TARGET_FPU_DOUBLE", ")", ")", ")", ";", "}", "else", "{", "pcum", "->", "call_cookie", "=", "0", ";", "pcum", "->", "force_mem", "=", "FALSE", ";", "}", "}", "}", ""], "natrual_language": ["Initialize", "the", "CUMULATIVE_ARGS", "structure", "."], "TS_V_token": ["sh", "0", "0", "0", "0", "0", "1", "0", "1", "1", "0", "0", "4", "0", "4", "4", "0"], "File": "sh4", "Func": "sh_init_cumulative_args", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12980, "Length": 321, "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": 12981, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "get_bundle_name", "(", "int", "b", ")", "{", "return", "bundle_name", "[", "b", "]", ";", "}", ""], "natrual_language": ["Map", "a", "bundle", "number", "to", "its", "pseudo-op", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "get_bundle_name", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12982, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "VEPassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["VE", "VE"], "File": "VETargetMachine", "Func": "addIRPasses", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12983, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64BranchFixup", "::", "isBBInRange", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "DestBB", ",", "unsigned", "OffsetBits", ")", "{", "int64_t", "BrOffset", "=", "getOffsetOf", "(", "MI", ")", ";", "int64_t", "DestOffset", "=", "BBInfo", "[", "DestBB", "->", "getNumber", "(", ")", "]", ".", "Offset", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Branch of destination BB#\"", "<<", "DestBB", "->", "getNumber", "(", ")", "<<", "\" from BB#\"", "<<", "MI", "->", "getParent", "(", ")", "->", "getNumber", "(", ")", "<<", "\" bits available=\"", "<<", "OffsetBits", "<<", "\" from \"", "<<", "getOffsetOf", "(", "MI", ")", "<<", "\" to \"", "<<", "DestOffset", "<<", "\" offset \"", "<<", "int", "(", "DestOffset", "-", "BrOffset", ")", "<<", "\"\\t\"", "<<", "*", "MI", ")", ";", "return", "isIntN", "(", "OffsetBits", ",", "DestOffset", "-", "BrOffset", ")", ";", "}", ""], "natrual_language": ["isBBInRange", "-", "Returns", "true", "if", "the", "distance", "between", "specific", "MI", "and", "specific", "BB", "can", "fit", "in", "MI", "'s", "displacement", "field", "."], "TS_V_token": ["AArch64", "AArch64", "\"Branch of destination BB#\"", "\" from BB#\"", "\" bits available=\"", "\" from \"", "\" to \"", "\" offset \"", "\"\\t\""], "File": "AArch64BranchFixupPass1", "Func": "isBBInRange", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12984, "Length": 106, "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", ">", "(", ")", ".", "isCortexA53", "(", ")", "||", "TM", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isCortexA57", "(", ")", ")", "&&", "usingDefaultRegAlloc", "(", ")", ")", "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": "AArch64TargetMachine88", "Func": "addPostRegAlloc", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12985, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZPassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createSystemZElimComparePass", "(", "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"], "File": "SystemZTargetMachine (2)", "Func": "addPreEmitPass", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12986, "Length": 41, "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", "(", ")", ")", "{", "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", ")", ")", ";", "}", "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", "8", "AArch64", "AArch64", "4"], "File": "AArch64CallLowering20", "Func": "lowerFormalArguments", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12987, "Length": 430, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "rs6000_insn_for_shift_mask", "(", "machine_mode", "mode", ",", "rtx", "*", "operands", ",", "bool", "dot", ")", "{", "int", "nb", ",", "ne", ";", "if", "(", "!", "rs6000_is_valid_mask", "(", "operands", "[", "3", "]", ",", "&", "nb", ",", "&", "ne", ",", "mode", ")", ")", "gcc_unreachable", "(", ")", ";", "if", "(", "mode", "==", "DImode", "&&", "ne", "==", "0", ")", "{", "if", "(", "GET_CODE", "(", "operands", "[", "4", "]", ")", "==", "LSHIFTRT", "&&", "INTVAL", "(", "operands", "[", "2", "]", ")", ")", "operands", "[", "2", "]", "=", "GEN_INT", "(", "64", "-", "INTVAL", "(", "operands", "[", "2", "]", ")", ")", ";", "operands", "[", "3", "]", "=", "GEN_INT", "(", "63", "-", "nb", ")", ";", "if", "(", "dot", ")", "return", "\"rld%I2cl. %0,%1,%2,%3\"", ";", "return", "\"rld%I2cl %0,%1,%2,%3\"", ";", "}", "if", "(", "mode", "==", "DImode", "&&", "nb", "==", "63", ")", "{", "operands", "[", "3", "]", "=", "GEN_INT", "(", "63", "-", "ne", ")", ";", "if", "(", "dot", ")", "return", "\"rld%I2cr. %0,%1,%2,%3\"", ";", "return", "\"rld%I2cr %0,%1,%2,%3\"", ";", "}", "if", "(", "mode", "==", "DImode", "&&", "GET_CODE", "(", "operands", "[", "4", "]", ")", "!=", "LSHIFTRT", "&&", "CONST_INT_P", "(", "operands", "[", "2", "]", ")", "&&", "ne", "==", "INTVAL", "(", "operands", "[", "2", "]", ")", ")", "{", "operands", "[", "3", "]", "=", "GEN_INT", "(", "63", "-", "nb", ")", ";", "if", "(", "dot", ")", "return", "\"rld%I2c. %0,%1,%2,%3\"", ";", "return", "\"rld%I2c %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", "\"rlw%I2nm. %0,%1,%h2,%3,%4\"", ";", "return", "\"rlw%I2nm %0,%1,%h2,%3,%4\"", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "instruction", "template", "for", "a", "shift", "with", "mask", "in", "mode", "MODE", ",", "with", "operands", "OPERANDS", ".", "If", "DOT", "is", "true", ",", "make", "it", "a", "record-form", "instruction", "."], "TS_V_token": ["rs6000", "3", "0", "4", "2", "2", "64", "2", "3", "63", "\"rld%I2cl. %0,%1,%2,%3\"", "\"rld%I2cl %0,%1,%2,%3\"", "63", "3", "63", "\"rld%I2cr. %0,%1,%2,%3\"", "\"rld%I2cr %0,%1,%2,%3\"", "4", "2", "2", "3", "63", "\"rld%I2c. %0,%1,%2,%3\"", "\"rld%I2c %0,%1,%2,%3\"", "32", "32", "4", "2", "2", "32", "2", "3", "31", "4", "31", "\"rlw%I2nm. %0,%1,%h2,%3,%4\"", "\"rlw%I2nm %0,%1,%h2,%3,%4\""], "File": "rs6000", "Func": "rs6000_insn_for_shift_mask", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12988, "Length": 297, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "processBlock", "(", "MachineBasicBlock", "&", "MBB", ")", "{", "bool", "Changed", "=", "false", ";", "bool", "Is64Bit", "=", "TM", "->", "getSubtargetImpl", "(", ")", "->", "isPPC64", "(", ")", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ",", "IE", "=", "MBB", ".", "end", "(", ")", ";", "I", "!=", "IE", ";", "++", "I", ")", "{", "MachineInstr", "*", "MI", "=", "I", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "GETtlsADDR", "&&", "MI", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "GETtlsldADDR", "&&", "MI", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "GETtlsADDR32", "&&", "MI", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "GETtlsldADDR32", ")", "continue", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"TLS Dynamic Call Fixup:\\n \"", "<<", "*", "MI", ";", ")", ";", "unsigned", "OutReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "unsigned", "InReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "GPR3", "=", "Is64Bit", "?", "PPC", "::", "X3", ":", "PPC", "::", "R3", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "GPR3", ")", ".", "addReg", "(", "InReg", ")", ";", "MI", "->", "getOperand", "(", "0", ")", ".", "setReg", "(", "GPR3", ")", ";", "MI", "->", "getOperand", "(", "1", ")", ".", "setReg", "(", "GPR3", ")", ";", "BuildMI", "(", "MBB", ",", "++", "I", ",", "DL", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "OutReg", ")", ".", "addReg", "(", "GPR3", ")", ";", "Changed", "=", "true", ";", "}", "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", "PPC", "PPC::GETtlsADDR", "PPC::GETtlsldADDR", "PPC::GETtlsADDR32", "PPC::GETtlsldADDR32", "\"TLS Dynamic Call Fixup:\\n \"", "0", "1", "PPC::X3", "PPC::R3", "0", "1"], "File": "PPCTLSDynamicCall11", "Func": "processBlock", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12989, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LoongArchFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["LoongArch", "LoongArch"], "File": "LoongArchFrameLowering", "Func": "emitPrologue", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12990, "Length": 16, "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": 12991, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "csky_can_use_pushpop", "(", "unsigned", "int", "mask", ")", "{", "int", "i", ";", "int", "end_reg", ";", "if", "(", "!", "TARGET_PUSHPOP", ")", "return", "false", ";", "if", "(", "mask", "==", "0", ")", "return", "false", ";", "if", "(", "mask", "&", "0xeffc700f", ")", "return", "false", ";", "for", "(", "end_reg", "=", "0", ",", "i", "=", "11", ";", "i", ">=", "4", ";", "i", "--", ")", "{", "if", "(", "!", "end_reg", "&&", "(", "mask", "&", "(", "1", "<<", "i", ")", ")", ")", "end_reg", "=", "i", ";", "if", "(", "end_reg", "&&", "!", "(", "mask", "&", "(", "1", "<<", "i", ")", ")", ")", "return", "false", ";", "}", "for", "(", "end_reg", "=", "0", ",", "i", "=", "17", ";", "i", ">=", "16", ";", "i", "--", ")", "{", "if", "(", "!", "end_reg", "&&", "(", "mask", "&", "(", "1", "<<", "i", ")", ")", ")", "end_reg", "=", "i", ";", "if", "(", "end_reg", "&&", "!", "(", "mask", "&", "(", "1", "<<", "i", ")", ")", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "push/pop", "can", "be", "used", "to", "save/restore", "all", "the", "registers", "indicated", "by", "MASK", ".", "We", "currently", "do", "n't", "attempt", "to", "handle", "situations", "where", "some", "of", "the", "registers", "could", "be", "handled", "by", "push/pop", "and", "others", "saved", "and", "restored", "individually", "."], "TS_V_token": ["csky", "0", "0xeffc700f", "0", "11", "4", "1", "1", "0", "17", "16", "1", "1"], "File": "csky", "Func": "csky_can_use_pushpop", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12992, "Length": 157, "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": 12993, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mmix_data_alignment", "(", "tree", "type", "ATTRIBUTE_UNUSED", ",", "int", "basic_align", ")", "{", "if", "(", "basic_align", "<", "32", ")", "return", "32", ";", "return", "basic_align", ";", "}", ""], "natrual_language": ["DATA_ALIGNMENT", ".", "We", "have", "trouble", "getting", "the", "address", "of", "stuff", "that", "is", "located", "at", "other", "than", "32-bit", "alignments", "(", "GETA", "requirements", ")", ",", "so", "try", "to", "give", "everything", "at", "least", "32-bit", "alignment", "."], "TS_V_token": ["mmix", "32", "32"], "File": "mmix", "Func": "mmix_data_alignment", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12994, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isReg", "(", "RegisterKind", "RegKind", ")", "const", "{", "return", "Kind", "==", "KindReg", "&&", "Reg", ".", "Kind", "==", "RegKind", ";", "}", ""], "natrual_language": ["isReg", "-", "Is", "this", "a", "register", "operand", "?"], "TS_V_token": ["SystemZ"], "File": "SystemZAsmParser (2)", "Func": "isReg", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12995, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "LoongArchSubtarget", "&", "getSubtarget", "(", ")", "const", "{", "return", "Subtarget", ";", "}", ""], "natrual_language": ["getSubtarget", "-", "Return", "the", "subtarget", "for", "which", "this", "machine", "code", "is", "being", "compiled", "."], "TS_V_token": ["LoongArch", "LoongArch"], "File": "LoongArchISelLowering", "Func": "getSubtarget", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12996, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "MipsFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "unsigned", "SP", "=", "STI", ".", "getABI", "(", ")", ".", "IsN64", "(", ")", "?", "Mips", "::", "SP_64", ":", "Mips", "::", "SP", ";", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "int64_t", "Amount", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "Mips", "::", "ADJCALLSTACKDOWN", ")", "Amount", "=", "-", "Amount", ";", "STI", ".", "getInstrInfo", "(", ")", "->", "adjustStackPtr", "(", "SP", ",", "Amount", ",", "MBB", ",", "I", ")", ";", "}", "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": ["Mips", "Mips", "Mips::SP_64", "Mips::SP", "0", "Mips::ADJCALLSTACKDOWN"], "File": "MipsFrameLowering11", "Func": "eliminateCallFramePseudoInstr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12997, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "X86RegisterInfo", "::", "getCallPreservedMask", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "if", "(", "CC", "==", "CallingConv", "::", "GHC", ")", "return", "CSR_Ghc_RegMask", ";", "if", "(", "!", "Is64Bit", ")", "return", "CSR_32_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"], "File": "X86RegisterInfo101", "Func": "getCallPreservedMask", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12998, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_add_new_builtins", "(", "HOST_WIDE_INT", "isa", ",", "HOST_WIDE_INT", "isa2", ")", "{", "isa", "&=", "~", "OPTION_MASK_ISA_64BIT", ";", "if", "(", "(", "isa", "&", "deferred_isa_values", ")", "==", "0", "&&", "(", "isa2", "&", "deferred_isa_values2", ")", "==", "0", "&&", "(", "(", "deferred_isa_values", "&", "OPTION_MASK_ISA_MMX", ")", "==", "0", "||", "!", "(", "TARGET_64BIT", "&&", "(", "isa", "&", "OPTION_MASK_ISA_SSE2", ")", "!=", "0", ")", ")", ")", "return", ";", "deferred_isa_values", "&=", "~", "isa", ";", "deferred_isa_values2", "&=", "~", "isa2", ";", "if", "(", "TARGET_64BIT", "&&", "(", "isa", "&", "OPTION_MASK_ISA_SSE2", ")", "!=", "0", ")", "deferred_isa_values", "&=", "~", "OPTION_MASK_ISA_MMX", ";", "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", "]", ".", "isa", "&", "OPTION_MASK_ISA_MMX", ")", "!=", "0", "&&", "TARGET_64BIT", "&&", "(", "isa", "&", "OPTION_MASK_ISA_SSE2", ")", "!=", "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", ";", "}", "}", "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", "0", "0", "0", "0", "0", "1"], "File": "i386-builtins", "Func": "ix86_add_new_builtins", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 12999, "Length": 255, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86CallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "ArrayRef", "<", "Register", ">", "VRegs", ",", "FunctionLoweringInfo", "&", "FLI", ")", "const", "{", "assert", "(", "(", "(", "Val", "&&", "!", "VRegs", ".", "empty", "(", ")", ")", "||", "(", "!", "Val", "&&", "VRegs", ".", "empty", "(", ")", ")", ")", "&&", "\"Return value without a vreg\"", ")", ";", "auto", "MIB", "=", "MIRBuilder", ".", "buildInstrNoInsert", "(", "X86", "::", "RET", ")", ".", "addImm", "(", "0", ")", ";", "if", "(", "!", "VRegs", ".", "empty", "(", ")", ")", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "const", "DataLayout", "&", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "ArgInfo", "OrigRetInfo", "(", "VRegs", ",", "Val", "->", "getType", "(", ")", ")", ";", "setArgFlags", "(", "OrigRetInfo", ",", "AttributeList", "::", "ReturnIndex", ",", "DL", ",", "F", ")", ";", "SmallVector", "<", "ArgInfo", ",", "4", ">", "SplitRetInfos", ";", "splitToValueTypes", "(", "OrigRetInfo", ",", "SplitRetInfos", ",", "DL", ",", "F", ".", "getCallingConv", "(", ")", ")", ";", "X86OutgoingValueAssigner", "Assigner", "(", "RetCC_X86", ")", ";", "X86OutgoingValueHandler", "Handler", "(", "MIRBuilder", ",", "MRI", ",", "MIB", ")", ";", "if", "(", "!", "determineAndHandleAssignments", "(", "Handler", ",", "Assigner", ",", "SplitRetInfos", ",", "MIRBuilder", ",", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ")", ")", "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", "4", "X86", "X86", "X86"], "File": "X86CallLowering13", "Func": "lowerReturn", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13000, "Length": 229, "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": ["PowerPC"], "File": "PPCTargetMachine11", "Func": "getInstrItineraryData", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13001, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "pa_adjust_insn_length", "(", "rtx_insn", "*", "insn", ",", "int", "length", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "(", "unsigned", "int", ")", "length", ">=", "INT_MAX", ")", "{", "if", "(", "GET_CODE", "(", "pat", ")", "==", "SEQUENCE", ")", "insn", "=", "as_a", "<", "rtx_insn", "*", ">", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ")", ";", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_MILLI", ":", "length", "=", "pa_attr_length_millicode_call", "(", "insn", ")", ";", "break", ";", "case", "TYPE_CALL", ":", "length", "=", "pa_attr_length_call", "(", "insn", ",", "0", ")", ";", "break", ";", "case", "TYPE_SIBCALL", ":", "length", "=", "pa_attr_length_call", "(", "insn", ",", "1", ")", ";", "break", ";", "case", "TYPE_DYNCALL", ":", "length", "=", "pa_attr_length_indirect_call", "(", "insn", ")", ";", "break", ";", "case", "TYPE_SH_FUNC_ADRS", ":", "length", "=", "pa_attr_length_millicode_call", "(", "insn", ")", "+", "20", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "if", "(", "NONJUMP_INSN_P", "(", "insn", ")", "&&", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", "&&", "GET_CODE", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ")", "==", "SET", "&&", "GET_CODE", "(", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ",", "0", ")", ")", "==", "MEM", "&&", "GET_CODE", "(", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ",", "1", ")", ")", "==", "MEM", "&&", "GET_MODE", "(", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ",", "0", ")", ")", "==", "BLKmode", "&&", "GET_MODE", "(", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ",", "1", ")", ")", "==", "BLKmode", ")", "length", "+=", "compute_cpymem_length", "(", "insn", ")", "-", "4", ";", "else", "if", "(", "NONJUMP_INSN_P", "(", "insn", ")", "&&", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", "&&", "GET_CODE", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ")", "==", "SET", "&&", "GET_CODE", "(", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ",", "0", ")", ")", "==", "MEM", "&&", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ",", "1", ")", "==", "const0_rtx", "&&", "GET_MODE", "(", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ",", "0", ")", ")", "==", "BLKmode", ")", "length", "+=", "compute_clrmem_length", "(", "insn", ")", "-", "4", ";", "else", "if", "(", "JUMP_P", "(", "insn", ")", "&&", "!", "simplejump_p", "(", "insn", ")", ")", "{", "if", "(", "GET_CODE", "(", "pat", ")", "==", "SET", "&&", "length", "==", "4", "&&", "JUMP_LABEL", "(", "insn", ")", "!=", "NULL_RTX", "&&", "!", "forward_branch_p", "(", "insn", ")", ")", "length", "+=", "4", ";", "else", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", "&&", "get_attr_type", "(", "insn", ")", "==", "TYPE_PARALLEL_BRANCH", "&&", "length", "==", "4", ")", "length", "+=", "4", ";", "else", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", "&&", "GET_CODE", "(", "XVECEXP", "(", "pat", ",", "0", ",", "1", ")", ")", "==", "SET", "&&", "GET_CODE", "(", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "1", ")", ",", "0", ")", ")", "==", "REG", "&&", "!", "FP_REG_P", "(", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "1", ")", ",", "0", ")", ")", "&&", "length", "==", "4", "&&", "!", "forward_branch_p", "(", "insn", ")", ")", "length", "+=", "4", ";", "}", "return", "length", ";", "}", ""], "natrual_language": ["Return", "any", "length", "adjustment", "needed", "by", "INSN", "which", "already", "has", "its", "length", "computed", "as", "LENGTH", ".", "Return", "zero", "if", "no", "adjustment", "is", "necessary", ".", "For", "the", "PA", ":", "function", "calls", ",", "millicode", "calls", ",", "and", "backwards", "short", "conditional", "branches", "with", "unfilled", "delay", "slots", "need", "an", "adjustment", "by", "+1", "(", "to", "account", "for", "the", "NOP", "which", "will", "be", "inserted", "into", "the", "instruction", "stream", ")", ".", "Also", "compute", "the", "length", "of", "an", "inline", "block", "move", "here", "as", "it", "is", "too", "complicated", "to", "express", "as", "a", "length", "attribute", "in", "pa.md", "."], "TS_V_token": ["pa", "0", "0", "0", "1", "20", "0", "0", "0", "0", "0", "0", "0", "1", "0", "0", "0", "0", "0", "1", "4", "0", "0", "0", "0", "0", "0", "0", "1", "0", "0", "0", "4", "4", "4", "4", "4", "0", "1", "0", "1", "0", "0", "1", "0", "4", "4"], "File": "pa", "Func": "pa_adjust_insn_length", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13002, "Length": 494, "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", "(", ")", ";", "unsigned", "Offset", "=", "getTargetMachine", "(", ")", ".", "Options", ".", "StackProtectorGuardOffset", ";", "if", "(", "Offset", "==", "(", "unsigned", ")", "-", "1", ")", "Offset", "=", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "?", "0x28", ":", "0x14", ";", "auto", "GuardReg", "=", "getTargetMachine", "(", ")", ".", "Options", ".", "StackProtectorGuardReg", ";", "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", "1", "0x28", "0x14", "\"fs\"", "X86AS::FS", "\"gs\"", "X86AS::GS"], "File": "X86ISelLowering118", "Func": "getIRStackGuard", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13003, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "AARCH64_LOWER_HOMOGENEOUS_PROLOG_EPILOG_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64"], "File": "AArch64LowerHomogeneousPrologEpilog", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13004, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "emitFrameDirective", "(", ")", "{", "const", "TargetRegisterInfo", "&", "RI", "=", "*", "TM", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "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": "MipsAsmPrinter3", "Func": "emitFrameDirective", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13005, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mayNeedRelaxation", "(", "const", "MCInst", "&", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Check", "whether", "the", "given", "instruction", "may", "need", "relaxation", "."], "TS_V_token": ["Lanai"], "File": "LanaiAsmBackend", "Func": "mayNeedRelaxation", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13006, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "ia64_initial_elimination_offset", "(", "int", "from", ",", "int", "to", ")", "{", "HOST_WIDE_INT", "offset", ";", "ia64_compute_frame_size", "(", "get_frame_size", "(", ")", ")", ";", "switch", "(", "from", ")", "{", "case", "FRAME_POINTER_REGNUM", ":", "switch", "(", "to", ")", "{", "case", "HARD_FRAME_POINTER_REGNUM", ":", "if", "(", "current_function_is_leaf", ")", "offset", "=", "-", "current_frame_info", ".", "total_size", ";", "else", "offset", "=", "-", "(", "current_frame_info", ".", "total_size", "-", "current_function_outgoing_args_size", "-", "16", ")", ";", "break", ";", "case", "STACK_POINTER_REGNUM", ":", "if", "(", "current_function_is_leaf", ")", "offset", "=", "0", ";", "else", "offset", "=", "16", "+", "current_function_outgoing_args_size", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "break", ";", "case", "ARG_POINTER_REGNUM", ":", "switch", "(", "to", ")", "{", "case", "HARD_FRAME_POINTER_REGNUM", ":", "offset", "=", "16", "-", "current_function_pretend_args_size", ";", "break", ";", "case", "STACK_POINTER_REGNUM", ":", "offset", "=", "(", "current_frame_info", ".", "total_size", "+", "16", "-", "current_function_pretend_args_size", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "offset", ";", "}", ""], "natrual_language": ["Compute", "the", "initial", "difference", "between", "the", "specified", "pair", "of", "registers", "."], "TS_V_token": ["ia64", "16", "0", "16", "16", "16"], "File": "ia643", "Func": "ia64_initial_elimination_offset", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13007, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64LoadStoreOpt", "::", "isCandidateToMergeOrPair", "(", "MachineInstr", "*", "MI", ")", "{", "if", "(", "MI", "->", "hasOrderedMemoryRef", "(", ")", ")", "return", "false", ";", "if", "(", "!", "getLdStOffsetOp", "(", "MI", ")", ".", "isImm", "(", ")", ")", "return", "false", ";", "unsigned", "BaseReg", "=", "getLdStBaseOp", "(", "MI", ")", ".", "getReg", "(", ")", ";", "if", "(", "MI", "->", "modifiesRegister", "(", "BaseReg", ",", "TRI", ")", ")", "return", "false", ";", "if", "(", "TII", "->", "isLdStPairSuppressed", "(", "MI", ")", ")", "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"], "File": "AArch64LoadStoreOptimizer4", "Func": "isCandidateToMergeOrPair", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13008, "Length": 78, "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", ";", "wide_int", "w", ";", "rtx", "mask", ",", "v", ";", "switch", "(", "mode", ")", "{", "case", "E_V16SImode", ":", "case", "E_V16SFmode", ":", "case", "E_V8SImode", ":", "case", "E_V4SImode", ":", "case", "E_V8SFmode", ":", "case", "E_V4SFmode", ":", "case", "E_V2SFmode", ":", "vec_mode", "=", "mode", ";", "imode", "=", "SImode", ";", "break", ";", "case", "E_V8DImode", ":", "case", "E_V4DImode", ":", "case", "E_V2DImode", ":", "case", "E_V8DFmode", ":", "case", "E_V4DFmode", ":", "case", "E_V2DFmode", ":", "vec_mode", "=", "mode", ";", "imode", "=", "DImode", ";", "break", ";", "case", "E_TImode", ":", "case", "E_TFmode", ":", "vec_mode", "=", "VOIDmode", ";", "imode", "=", "TImode", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "machine_mode", "inner_mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "w", "=", "wi", "::", "set_bit_in_zero", "(", "GET_MODE_BITSIZE", "(", "inner_mode", ")", "-", "1", ",", "GET_MODE_BITSIZE", "(", "inner_mode", ")", ")", ";", "if", "(", "invert", ")", "w", "=", "wi", "::", "bit_not", "(", "w", ")", ";", "mask", "=", "immed_wide_int_const", "(", "w", ",", "imode", ")", ";", "mask", "=", "gen_lowpart", "(", "inner_mode", ",", "mask", ")", ";", "if", "(", "vec_mode", "==", "VOIDmode", ")", "return", "force_reg", "(", "inner_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", "1"], "File": "i3861", "Func": "ix86_build_signbit_mask", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13009, "Length": 205, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "{", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["Cpu0"], "File": "Cpu0AsmBackend1", "Func": "relaxInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13010, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MMIXFrameLowering", "::", "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": ["MMIX", "MMIX"], "File": "MMIXFrameLowering", "Func": "hasFP", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13011, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "F2003fMCAsmInfo", "::", "isValidUnquotedName", "(", "StringRef", "Name", ")", "const", "{", "if", "(", "Name", ".", "empty", "(", ")", ")", "return", "false", ";", "if", "(", "Name", ".", "size", "(", ")", "==", "2", ")", "{", "if", "(", "Name", "[", "0", "]", "==", "'f'", "&&", "Name", "[", "1", "]", ">=", "'0'", "&&", "Name", "[", "1", "]", "<=", "'7'", ")", "return", "false", ";", "if", "(", "Name", ".", "equals", "(", "\"xx\"", ")", ")", "return", "false", ";", "}", "if", "(", "Name", "[", "0", "]", "==", "'\\''", ")", "{", "return", "false", ";", "}", "bool", "hasNonNumericChar", "=", "false", ";", "for", "(", "char", "C", ":", "Name", ")", "{", "if", "(", "!", "hasNonNumericChar", "&&", "(", "C", "<=", "'0'", "||", "C", ">=", "'9'", ")", ")", "{", "hasNonNumericChar", "=", "true", ";", "}", "if", "(", "!", "isAcceptableChar", "(", "C", ")", ")", "return", "false", ";", "}", "return", "hasNonNumericChar", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "identifier", "Name", "does", "not", "need", "quotes", "to", "be", "syntactically", "correct", "."], "TS_V_token": ["F2003f", "F2003f", "2", "0", "1", "1", "\"xx\"", "0"], "File": "F2003fMCAsmInfo", "Func": "isValidUnquotedName", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13012, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_needs_doubleword_align", "(", "enum", "machine_mode", "mode", ",", "tree", "type", ")", "{", "return", "(", "GET_MODE_ALIGNMENT", "(", "mode", ")", ">", "PARM_BOUNDARY", "||", "(", "type", "&&", "TYPE_ALIGN", "(", "type", ")", ">", "PARM_BOUNDARY", ")", ")", ";", "}", ""], "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"], "File": "arm3", "Func": "arm_needs_doubleword_align", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13013, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addRequired", "<", "TargetPassConfig", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "LoopInfoWrapperPass", ">", "(", ")", ";", "FunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["ARM"], "File": "MVEGatherScatterLowering (2)", "Func": "getAnalysisUsage", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13014, "Length": 42, "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": 13015, "Length": 401, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_pic_call_symbol_from_set", "(", "df_ref", "def", ",", "rtx", "reg", ",", "bool", "recurse_p", ")", "{", "rtx_insn", "*", "def_insn", ";", "rtx", "set", ";", "if", "(", "DF_REF_IS_ARTIFICIAL", "(", "def", ")", ")", "return", "NULL_RTX", ";", "def_insn", "=", "DF_REF_INSN", "(", "def", ")", ";", "set", "=", "single_set", "(", "def_insn", ")", ";", "if", "(", "set", "&&", "rtx_equal_p", "(", "SET_DEST", "(", "set", ")", ",", "reg", ")", ")", "{", "rtx", "note", ",", "src", ",", "symbol", ";", "src", "=", "SET_SRC", "(", "set", ")", ";", "if", "(", "GET_CODE", "(", "src", ")", "==", "SYMBOL_REF", ")", "return", "src", ";", "symbol", "=", "mips_strip_unspec_call", "(", "src", ")", ";", "if", "(", "symbol", ")", "{", "gcc_assert", "(", "GET_CODE", "(", "symbol", ")", "==", "SYMBOL_REF", ")", ";", "return", "symbol", ";", "}", "note", "=", "find_reg_equal_equiv_note", "(", "def_insn", ")", ";", "if", "(", "note", "&&", "GET_CODE", "(", "XEXP", "(", "note", ",", "0", ")", ")", "==", "SYMBOL_REF", ")", "return", "XEXP", "(", "note", ",", "0", ")", ";", "if", "(", "recurse_p", "&&", "REG_P", "(", "src", ")", ")", "return", "mips_find_pic_call_symbol", "(", "def_insn", ",", "src", ",", "false", ")", ";", "}", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["REG", "is", "set", "in", "DEF", ".", "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", ".", "If", "RECURSE_P", "is", "true", ",", "use", "mips_find_pic_call_symbol", "to", "interpret", "the", "values", "of", "source", "registers", ",", "otherwise", "treat", "such", "registers", "as", "having", "an", "unknown", "value", "."], "TS_V_token": ["mips", "0", "0"], "File": "mips", "Func": "mips_pic_call_symbol_from_set", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13016, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_eax_live_at_start_p", "(", "void", ")", "{", "return", "REGNO_REG_SET_P", "(", "df_get_live_out", "(", "ENTRY_BLOCK_PTR_FOR_FN", "(", "cfun", ")", ")", ",", "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": "i386", "Func": "ix86_eax_live_at_start_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13017, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_output_function_prologue", "(", "FILE", "*", "file", ",", "HOST_WIDE_INT", "size", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "!", "cfun", "->", "is_thunk", ")", "rs6000_output_savres_externs", "(", "file", ")", ";", "if", "(", "rs6000_global_entry_point_needed_p", "(", ")", ")", "{", "const", "char", "*", "name", "=", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "current_function_decl", ")", ",", "0", ")", ",", "0", ")", ";", "(", "*", "targetm", ".", "asm_out", ".", "internal_label", ")", "(", "file", ",", "\"LCF\"", ",", "rs6000_pic_labelno", ")", ";", "if", "(", "TARGET_CMODEL", "!=", "CMODEL_LARGE", ")", "{", "char", "buf", "[", "256", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "buf", ",", "\"LCF\"", ",", "rs6000_pic_labelno", ")", ";", "fprintf", "(", "file", ",", "\"0:\\taddis 2,12,.TOC.-\"", ")", ";", "assemble_name", "(", "file", ",", "buf", ")", ";", "fprintf", "(", "file", ",", "\"@ha\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\taddi 2,2,.TOC.-\"", ")", ";", "assemble_name", "(", "file", ",", "buf", ")", ";", "fprintf", "(", "file", ",", "\"@l\\n\"", ")", ";", "}", "else", "{", "char", "buf", "[", "256", "]", ";", "fprintf", "(", "file", ",", "\"\\t.reloc .,R_PPC64_ENTRY\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\tld 2,\"", ")", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "buf", ",", "\"LCL\"", ",", "rs6000_pic_labelno", ")", ";", "assemble_name", "(", "file", ",", "buf", ")", ";", "fprintf", "(", "file", ",", "\"-\"", ")", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "buf", ",", "\"LCF\"", ",", "rs6000_pic_labelno", ")", ";", "assemble_name", "(", "file", ",", "buf", ")", ";", "fprintf", "(", "file", ",", "\"(12)\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\tadd 2,2,12\\n\"", ")", ";", "}", "fputs", "(", "\"\\t.localentry\\t\"", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "name", ")", ";", "fputs", "(", "\",.-\"", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "name", ")", ";", "fputs", "(", "\"\\n\"", ",", "file", ")", ";", "}", "if", "(", "TARGET_PROFILE_KERNEL", "&&", "crtl", "->", "profile", ")", "{", "gcc_assert", "(", "DEFAULT_ABI", "==", "ABI_AIX", "||", "DEFAULT_ABI", "==", "ABI_ELFv2", ")", ";", "gcc_assert", "(", "!", "TARGET_32BIT", ")", ";", "asm_fprintf", "(", "file", ",", "\"\\tmflr %s\\n\"", ",", "reg_names", "[", "0", "]", ")", ";", "if", "(", "DEFAULT_ABI", "!=", "ABI_ELFv2", "&&", "cfun", "->", "static_chain_decl", "!=", "NULL", ")", "{", "asm_fprintf", "(", "file", ",", "\"\\tstd %s,24(%s)\\n\"", ",", "reg_names", "[", "STATIC_CHAIN_REGNUM", "]", ",", "reg_names", "[", "1", "]", ")", ";", "fprintf", "(", "file", ",", "\"\\tbl %s\\n\"", ",", "RS6000_MCOUNT", ")", ";", "asm_fprintf", "(", "file", ",", "\"\\tld %s,24(%s)\\n\"", ",", "reg_names", "[", "STATIC_CHAIN_REGNUM", "]", ",", "reg_names", "[", "1", "]", ")", ";", "}", "else", "fprintf", "(", "file", ",", "\"\\tbl %s\\n\"", ",", "RS6000_MCOUNT", ")", ";", "}", "rs6000_pic_labelno", "++", ";", "}", ""], "natrual_language": ["Write", "function", "prologue", "."], "TS_V_token": ["rs6000", "0", "0", "\"LCF\"", "256", "\"LCF\"", "\"0:\\taddis 2,12,.TOC.-\"", "\"@ha\\n\"", "\"\\taddi 2,2,.TOC.-\"", "\"@l\\n\"", "256", "\"\\t.reloc .,R_PPC64_ENTRY\\n\"", "\"\\tld 2,\"", "\"LCL\"", "\"-\"", "\"LCF\"", "\"(12)\\n\"", "\"\\tadd 2,2,12\\n\"", "\"\\t.localentry\\t\"", "\",.-\"", "\"\\n\"", "\"\\tmflr %s\\n\"", "0", "\"\\tstd %s,24(%s)\\n\"", "1", "\"\\tbl %s\\n\"", "\"\\tld %s,24(%s)\\n\"", "1", "\"\\tbl %s\\n\""], "File": "rs60005", "Func": "rs6000_output_function_prologue", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13018, "Length": 355, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pa_function_value_regno_p", "(", "const", "unsigned", "int", "regno", ")", "{", "if", "(", "regno", "==", "28", "||", "(", "!", "TARGET_SOFT_FLOAT", "&&", "regno", "==", "32", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_FUNCTION_VALUE_REGNO_P", "hook", "."], "TS_V_token": ["pa", "28", "32"], "File": "pa", "Func": "pa_function_value_regno_p", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13019, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZHazardRecognizer", "::", "EmitInstruction", "(", "SUnit", "*", "SU", ")", "{", "const", "MCSchedClassDesc", "*", "SC", "=", "getSchedClass", "(", "SU", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"++ HazardRecognizer emitting \"", ";", "dumpSU", "(", "SU", ",", "dbgs", "(", ")", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ";", ")", ";", "LLVM_DEBUG", "(", "dumpCurrGroup", "(", "\"Decode group before emission\"", ")", ";", ")", ";", "if", "(", "!", "fitsIntoCurrentGroup", "(", "SU", ")", ")", "nextGroup", "(", ")", ";", "LLVM_DEBUG", "(", "raw_string_ostream", "cgd", "(", "CurGroupDbg", ")", ";", "if", "(", "CurGroupDbg", ".", "length", "(", ")", ")", "cgd", "<<", "\", \"", ";", "dumpSU", "(", "SU", ",", "cgd", ")", ";", ")", ";", "LastEmittedMI", "=", "SU", "->", "getInstr", "(", ")", ";", "if", "(", "SU", "->", "isCall", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"++ Clearing state after call.\\n\"", ";", ")", ";", "Reset", "(", ")", ";", "LastEmittedMI", "=", "SU", "->", "getInstr", "(", ")", ";", "return", ";", "}", "for", "(", "TargetSchedModel", "::", "ProcResIter", "PI", "=", "SchedModel", "->", "getWriteProcResBegin", "(", "SC", ")", ",", "PE", "=", "SchedModel", "->", "getWriteProcResEnd", "(", "SC", ")", ";", "PI", "!=", "PE", ";", "++", "PI", ")", "{", "if", "(", "SchedModel", "->", "getProcResource", "(", "PI", "->", "ProcResourceIdx", ")", "->", "BufferSize", "==", "1", ")", "continue", ";", "int", "&", "CurrCounter", "=", "ProcResourceCounters", "[", "PI", "->", "ProcResourceIdx", "]", ";", "CurrCounter", "+=", "PI", "->", "Cycles", ";", "if", "(", "(", "CurrCounter", ">", "ProcResCostLim", ")", "&&", "(", "CriticalResourceIdx", "==", "UINT_MAX", "||", "(", "PI", "->", "ProcResourceIdx", "!=", "CriticalResourceIdx", "&&", "CurrCounter", ">", "ProcResourceCounters", "[", "CriticalResourceIdx", "]", ")", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"++ New critical resource: \"", "<<", "SchedModel", "->", "getProcResource", "(", "PI", "->", "ProcResourceIdx", ")", "->", "Name", "<<", "\"\\n\"", ";", ")", ";", "CriticalResourceIdx", "=", "PI", "->", "ProcResourceIdx", ";", "}", "}", "if", "(", "SU", "->", "isUnbuffered", ")", "{", "LastFPdOpCycleIdx", "=", "getCurrCycleIdx", "(", "SU", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"++ Last FPd cycle index: \"", "<<", "LastFPdOpCycleIdx", "<<", "\"\\n\"", ";", ")", ";", "}", "CurrGroupSize", "+=", "getNumDecoderSlots", "(", "SU", ")", ";", "assert", "(", "CurrGroupSize", "<=", "3", ")", ";", "if", "(", "CurrGroupSize", "==", "3", "||", "SC", "->", "EndGroup", ")", "nextGroup", "(", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"++ HazardRecognizer emitting \"", "\"\\n\"", "\"Decode group before emission\"", "\", \"", "\"++ Clearing state after call.\\n\"", "1", "\"++ New critical resource: \"", "\"\\n\"", "\"++ Last FPd cycle index: \"", "\"\\n\"", "3", "3"], "File": "SystemZHazardRecognizer12", "Func": "EmitInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13020, "Length": 319, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "ARMBaseInstrInfo", "::", "optimizeSelect", "(", "MachineInstr", "&", "MI", ",", "SmallPtrSetImpl", "<", "MachineInstr", "*", ">", "&", "SeenMIs", ",", "bool", "PreferFalse", ")", "const", "{", "assert", "(", "(", "MI", ".", "getOpcode", "(", ")", "==", "ARM", "::", "MOVCCr", "||", "MI", ".", "getOpcode", "(", ")", "==", "ARM", "::", "t2MOVCCr", ")", "&&", "\"Unknown select instruction\"", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MachineInstr", "*", "DefMI", "=", "canFoldIntoMOVCC", "(", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ",", "MRI", ",", "this", ")", ";", "bool", "Invert", "=", "!", "DefMI", ";", "if", "(", "!", "DefMI", ")", "DefMI", "=", "canFoldIntoMOVCC", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ",", "MRI", ",", "this", ")", ";", "if", "(", "!", "DefMI", ")", "return", "nullptr", ";", "MachineOperand", "FalseReg", "=", "MI", ".", "getOperand", "(", "Invert", "?", "2", ":", "1", ")", ";", "unsigned", "DestReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "PreviousClass", "=", "MRI", ".", "getRegClass", "(", "FalseReg", ".", "getReg", "(", ")", ")", ";", "if", "(", "!", "MRI", ".", "constrainRegClass", "(", "DestReg", ",", "PreviousClass", ")", ")", "return", "nullptr", ";", "MachineInstrBuilder", "NewMI", "=", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "DefMI", "->", "getDesc", "(", ")", ",", "DestReg", ")", ";", "const", "MCInstrDesc", "&", "DefDesc", "=", "DefMI", "->", "getDesc", "(", ")", ";", "for", "(", "unsigned", "i", "=", "1", ",", "e", "=", "DefDesc", ".", "getNumOperands", "(", ")", ";", "i", "!=", "e", "&&", "!", "DefDesc", ".", "OpInfo", "[", "i", "]", ".", "isPredicate", "(", ")", ";", "++", "i", ")", "NewMI", ".", "add", "(", "DefMI", "->", "getOperand", "(", "i", ")", ")", ";", "unsigned", "CondCode", "=", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "if", "(", "Invert", ")", "NewMI", ".", "addImm", "(", "ARMCC", "::", "getOppositeCondition", "(", "ARMCC", "::", "CondCodes", "(", "CondCode", ")", ")", ")", ";", "else", "NewMI", ".", "addImm", "(", "CondCode", ")", ";", "NewMI", ".", "add", "(", "MI", ".", "getOperand", "(", "4", ")", ")", ";", "if", "(", "NewMI", "->", "hasOptionalDef", "(", ")", ")", "NewMI", ".", "add", "(", "condCodeOp", "(", ")", ")", ";", "FalseReg", ".", "setImplicit", "(", ")", ";", "NewMI", ".", "add", "(", "FalseReg", ")", ";", "NewMI", "->", "tieOperands", "(", "0", ",", "NewMI", "->", "getNumOperands", "(", ")", "-", "1", ")", ";", "SeenMIs", ".", "insert", "(", "NewMI", ")", ";", "SeenMIs", ".", "erase", "(", "DefMI", ")", ";", "if", "(", "DefMI", "->", "getParent", "(", ")", "!=", "MI", ".", "getParent", "(", ")", ")", "NewMI", "->", "clearKillInfo", "(", ")", ";", "DefMI", "->", "eraseFromParent", "(", ")", ";", "return", "NewMI", ";", "}", ""], "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": ["ARM", "ARM", "ARM::MOVCCr", "ARM::t2MOVCCr", "\"Unknown select instruction\"", "2", "1", "2", "1", "0", "1", "3", "ARMCC::getOppositeCondition", "ARMCC::CondCodes", "4", "0", "1"], "File": "ARMBaseInstrInfo1", "Func": "optimizeSelect", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13021, "Length": 418, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPreAllocLoadStoreOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "if", "(", "AssumeMisalignedLoadStores", "||", "skipFunction", "(", "Fn", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "TD", "=", "&", "Fn", ".", "getDataLayout", "(", ")", ";", "STI", "=", "&", "Fn", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "STI", "->", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "Fn", ".", "getRegInfo", "(", ")", ";", "DT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "MF", "=", "&", "Fn", ";", "AA", "=", "&", "getAnalysis", "<", "AAResultsWrapperPass", ">", "(", ")", ".", "getAAResults", "(", ")", ";", "bool", "Modified", "=", "DistributeIncrements", "(", ")", ";", "for", "(", "MachineBasicBlock", "&", "MFI", ":", "Fn", ")", "Modified", "|=", "RescheduleLoadStoreInstrs", "(", "&", "MFI", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMLoadStoreOptimizer50", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13022, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "core2i7_dfa_post_advance_cycle", "(", "void", ")", "{", "ix86_first_cycle_multipass_data_t", "data", "=", "ix86_first_cycle_multipass_data", ";", "gcc_assert", "(", "data", "->", "ifetch_block_n_insns", "<=", "core2i7_ifetch_block_max_insns", ")", ";", "data", "->", "ifetch_block_len", "=", "0", ";", "data", "->", "ifetch_block_n_insns", "=", "0", ";", "}", ""], "natrual_language": ["Advancing", "the", "cycle", ";", "reset", "ifetch", "block", "counts", "."], "TS_V_token": ["i386", "0", "0"], "File": "i3864", "Func": "core2i7_dfa_post_advance_cycle", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13023, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_secondary_reload_trace", "(", "int", "line", ",", "rtx", "reg", ",", "rtx", "mem", ",", "rtx", "scratch", ",", "bool", "store_p", ")", "{", "rtx", "set", ",", "clobber", ";", "gcc_assert", "(", "reg", "!=", "NULL_RTX", "&&", "mem", "!=", "NULL_RTX", "&&", "scratch", "!=", "NULL_RTX", ")", ";", "fprintf", "(", "stderr", ",", "\"rs6000_secondary_reload_inner:%d, type = %s\\n\"", ",", "line", ",", "store_p", "?", "\"store\"", ":", "\"load\"", ")", ";", "if", "(", "store_p", ")", "set", "=", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ";", "else", "set", "=", "gen_rtx_SET", "(", "reg", ",", "mem", ")", ";", "clobber", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "scratch", ")", ";", "debug_rtx", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "set", ",", "clobber", ")", ")", ")", ";", "}", ""], "natrual_language": ["Better", "tracing", "for", "rs6000_secondary_reload_inner", "."], "TS_V_token": ["powerpcspe", "\"rs6000_secondary_reload_inner:%d, type = %s\\n\"", "\"store\"", "\"load\"", "2"], "File": "powerpcspe", "Func": "rs6000_secondary_reload_trace", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13024, "Length": 105, "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": 13025, "Length": 459, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_output_function_prologue", "(", "FILE", "*", "file", ")", "{", "if", "(", "!", "cfun", "->", "is_thunk", ")", "rs6000_output_savres_externs", "(", "file", ")", ";", "if", "(", "rs6000_global_entry_point_needed_p", "(", ")", ")", "{", "const", "char", "*", "name", "=", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "current_function_decl", ")", ",", "0", ")", ",", "0", ")", ";", "(", "*", "targetm", ".", "asm_out", ".", "internal_label", ")", "(", "file", ",", "\"LCF\"", ",", "rs6000_pic_labelno", ")", ";", "if", "(", "TARGET_CMODEL", "!=", "CMODEL_LARGE", ")", "{", "char", "buf", "[", "256", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "buf", ",", "\"LCF\"", ",", "rs6000_pic_labelno", ")", ";", "fprintf", "(", "file", ",", "\"0:\\taddis 2,12,.TOC.-\"", ")", ";", "assemble_name", "(", "file", ",", "buf", ")", ";", "fprintf", "(", "file", ",", "\"@ha\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\taddi 2,2,.TOC.-\"", ")", ";", "assemble_name", "(", "file", ",", "buf", ")", ";", "fprintf", "(", "file", ",", "\"@l\\n\"", ")", ";", "}", "else", "{", "char", "buf", "[", "256", "]", ";", "fprintf", "(", "file", ",", "\"\\t.reloc .,R_PPC64_ENTRY\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\tld 2,\"", ")", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "buf", ",", "\"LCL\"", ",", "rs6000_pic_labelno", ")", ";", "assemble_name", "(", "file", ",", "buf", ")", ";", "fprintf", "(", "file", ",", "\"-\"", ")", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "buf", ",", "\"LCF\"", ",", "rs6000_pic_labelno", ")", ";", "assemble_name", "(", "file", ",", "buf", ")", ";", "fprintf", "(", "file", ",", "\"(12)\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\tadd 2,2,12\\n\"", ")", ";", "}", "fputs", "(", "\"\\t.localentry\\t\"", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "name", ")", ";", "fputs", "(", "\",.-\"", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "name", ")", ";", "fputs", "(", "\"\\n\"", ",", "file", ")", ";", "}", "if", "(", "TARGET_PROFILE_KERNEL", "&&", "crtl", "->", "profile", ")", "{", "gcc_assert", "(", "DEFAULT_ABI", "==", "ABI_AIX", "||", "DEFAULT_ABI", "==", "ABI_ELFv2", ")", ";", "gcc_assert", "(", "!", "TARGET_32BIT", ")", ";", "asm_fprintf", "(", "file", ",", "\"\\tmflr %s\\n\"", ",", "reg_names", "[", "0", "]", ")", ";", "if", "(", "DEFAULT_ABI", "!=", "ABI_ELFv2", "&&", "cfun", "->", "static_chain_decl", "!=", "NULL", ")", "{", "asm_fprintf", "(", "file", ",", "\"\\tstd %s,24(%s)\\n\"", ",", "reg_names", "[", "STATIC_CHAIN_REGNUM", "]", ",", "reg_names", "[", "1", "]", ")", ";", "fprintf", "(", "file", ",", "\"\\tbl %s\\n\"", ",", "RS6000_MCOUNT", ")", ";", "asm_fprintf", "(", "file", ",", "\"\\tld %s,24(%s)\\n\"", ",", "reg_names", "[", "STATIC_CHAIN_REGNUM", "]", ",", "reg_names", "[", "1", "]", ")", ";", "}", "else", "fprintf", "(", "file", ",", "\"\\tbl %s\\n\"", ",", "RS6000_MCOUNT", ")", ";", "}", "rs6000_pic_labelno", "++", ";", "}", ""], "natrual_language": ["Write", "function", "prologue", "."], "TS_V_token": ["rs6000", "0", "0", "\"LCF\"", "256", "\"LCF\"", "\"0:\\taddis 2,12,.TOC.-\"", "\"@ha\\n\"", "\"\\taddi 2,2,.TOC.-\"", "\"@l\\n\"", "256", "\"\\t.reloc .,R_PPC64_ENTRY\\n\"", "\"\\tld 2,\"", "\"LCL\"", "\"-\"", "\"LCF\"", "\"(12)\\n\"", "\"\\tadd 2,2,12\\n\"", "\"\\t.localentry\\t\"", "\",.-\"", "\"\\n\"", "\"\\tmflr %s\\n\"", "0", "\"\\tstd %s,24(%s)\\n\"", "1", "\"\\tbl %s\\n\"", "\"\\tld %s,24(%s)\\n\"", "1", "\"\\tbl %s\\n\""], "File": "rs60007", "Func": "rs6000_output_function_prologue", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13026, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "VETargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "unsigned", "Opcode", "=", "Op", ".", "getOpcode", "(", ")", ";", "if", "(", "ISD", "::", "isVPOpcode", "(", "Opcode", ")", ")", "return", "lowerToVVP", "(", "Op", ",", "DAG", ")", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Should not custom lower this!\"", ")", ";", "case", "ISD", "::", "ATOMIC_FENCE", ":", "return", "lowerATOMIC_FENCE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ATOMIC_SWAP", ":", "return", "lowerATOMIC_SWAP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "lowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "lowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "lowerDYNAMIC_STACKALLOC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EH_SJLJ_LONGJMP", ":", "return", "lowerEH_SJLJ_LONGJMP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EH_SJLJ_SETJMP", ":", "return", "lowerEH_SJLJ_SETJMP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EH_SJLJ_SETUP_DISPATCH", ":", "return", "lowerEH_SJLJ_SETUP_DISPATCH", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "lowerFRAMEADDR", "(", "Op", ",", "DAG", ",", "*", "this", ",", "Subtarget", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "lowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "return", "lowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "lowerINTRINSIC_WO_CHAIN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "JumpTable", ":", "return", "lowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "lowerLOAD", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "lowerRETURNADDR", "(", "Op", ",", "DAG", ",", "*", "this", ",", "Subtarget", ")", ";", "case", "ISD", "::", "BUILD_VECTOR", ":", "return", "lowerBUILD_VECTOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "lowerSTORE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "lowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VAARG", ":", "return", "lowerVAARG", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INSERT_VECTOR_ELT", ":", "return", "lowerINSERT_VECTOR_ELT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EXTRACT_VECTOR_ELT", ":", "return", "lowerEXTRACT_VECTOR_ELT", "(", "Op", ",", "DAG", ")", ";", "return", "lowerToVVP", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["VE", "VE", "ISD::isVPOpcode", "\"Should not custom lower this!\"", "ISD::ATOMIC_FENCE", "ISD::ATOMIC_SWAP", "ISD::BlockAddress", "ISD::ConstantPool", "ISD::DYNAMIC_STACKALLOC", "ISD::EH_SJLJ_LONGJMP", "ISD::EH_SJLJ_SETJMP", "ISD::EH_SJLJ_SETUP_DISPATCH", "ISD::FRAMEADDR", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::INTRINSIC_WO_CHAIN", "ISD::JumpTable", "ISD::LOAD", "ISD::RETURNADDR", "ISD::BUILD_VECTOR", "VE", "ISD::STORE", "ISD::VASTART", "ISD::VAARG", "ISD::INSERT_VECTOR_ELT", "VE", "ISD::EXTRACT_VECTOR_ELT", "VE"], "File": "VEISelLowering11", "Func": "LowerOperation", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13027, "Length": 345, "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": 13028, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "useAA", "(", ")", "const", "override", "{", "return", "UseAA", ";", "}", ""], "natrual_language": ["Enable", "use", "of", "alias", "analysis", "during", "code", "generation", "(", "during", "MI", "scheduling", ",", "DAGCombine", ",", "etc", ".", ")", "."], "TS_V_token": ["AArch64"], "File": "AArch64Subtarget10", "Func": "useAA", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13029, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"LC2200 DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["LC2200", "\"LC2200 DAG->DAG Pattern Instruction Selection\""], "File": "LC2200ISelDAGToDAG", "Func": "getPassName", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13030, "Length": 11, "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": 13031, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmParser", "::", "OmitRegisterFromClobberLists", "(", "unsigned", "RegNo", ")", "{", "return", "X86MCRegisterClasses", "[", "X86", "::", "SEGMENT_REGRegClassID", "]", ".", "contains", "(", "RegNo", ")", ";", "}", ""], "natrual_language": ["Allows", "targets", "to", "let", "registers", "opt", "out", "of", "clobber", "lists", "."], "TS_V_token": ["X86", "X86", "X86", "X86::SEGMENT_REGRegClassID"], "File": "X86AsmParser (2)3", "Func": "OmitRegisterFromClobberLists", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13032, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "getSubExpr", "(", ")", "const", "{", "return", "Expr", ";", "}", ""], "natrual_language": ["getSubExpr", "-", "Get", "the", "child", "of", "this", "expression", "."], "TS_V_token": ["SIC"], "File": "SICMCExpr", "Func": "getSubExpr", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13033, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "flow_dependent_p_1", "(", "rtx", "x", ",", "rtx", "pat", "ATTRIBUTE_UNUSED", ",", "void", "*", "data", ")", "{", "rtx", "*", "pinsn", "=", "(", "rtx", "*", ")", "data", ";", "if", "(", "*", "pinsn", "&&", "reg_referenced_p", "(", "x", ",", "*", "pinsn", ")", ")", "*", "pinsn", "=", "NULL_RTX", ";", "}", ""], "natrual_language": ["A", "helper", "function", "for", "flow_dependent_p", "called", "through", "note_stores", "."], "TS_V_token": ["sh"], "File": "sh3", "Func": "flow_dependent_p_1", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13034, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_xcoff_declare_function_name", "(", "FILE", "*", "file", ",", "const", "char", "*", "name", ",", "tree", "decl", ")", "{", "char", "*", "buffer", "=", "(", "char", "*", ")", "alloca", "(", "strlen", "(", "name", ")", "+", "1", ")", ";", "char", "*", "p", ";", "int", "dollar_inside", "=", "0", ";", "struct", "declare_alias_data", "data", "=", "{", "file", ",", "false", "}", ";", "strcpy", "(", "buffer", ",", "name", ")", ";", "p", "=", "strchr", "(", "buffer", ",", "'$'", ")", ";", "while", "(", "p", ")", "{", "*", "p", "=", "'_'", ";", "dollar_inside", "++", ";", "p", "=", "strchr", "(", "p", "+", "1", ",", "'$'", ")", ";", "}", "if", "(", "TREE_PUBLIC", "(", "decl", ")", ")", "{", "if", "(", "!", "RS6000_WEAK", "||", "!", "DECL_WEAK", "(", "decl", ")", ")", "{", "if", "(", "dollar_inside", ")", "{", "fprintf", "(", "file", ",", "\"\\t.rename .%s,\\\".%s\\\"\\n\"", ",", "buffer", ",", "name", ")", ";", "fprintf", "(", "file", ",", "\"\\t.rename %s,\\\"%s\\\"\\n\"", ",", "buffer", ",", "name", ")", ";", "}", "fputs", "(", "\"\\t.globl .\"", ",", "file", ")", ";", "RS6000_OUTPUT_BASENAME", "(", "file", ",", "buffer", ")", ";", "fputs", "(", "rs6000_xcoff_visibility", "(", "decl", ")", ",", "file", ")", ";", "putc", "(", "'\\n'", ",", "file", ")", ";", "}", "}", "else", "{", "if", "(", "dollar_inside", ")", "{", "fprintf", "(", "file", ",", "\"\\t.rename .%s,\\\".%s\\\"\\n\"", ",", "buffer", ",", "name", ")", ";", "fprintf", "(", "file", ",", "\"\\t.rename %s,\\\"%s\\\"\\n\"", ",", "buffer", ",", "name", ")", ";", "}", "fputs", "(", "\"\\t.lglobl .\"", ",", "file", ")", ";", "RS6000_OUTPUT_BASENAME", "(", "file", ",", "buffer", ")", ";", "putc", "(", "'\\n'", ",", "file", ")", ";", "}", "fputs", "(", "\"\\t.csect \"", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "buffer", ")", ";", "fputs", "(", "TARGET_32BIT", "?", "\"\\n\"", ":", "\",3\\n\"", ",", "file", ")", ";", "ASM_OUTPUT_LABEL", "(", "file", ",", "buffer", ")", ";", "symtab_node", "::", "get", "(", "decl", ")", "->", "call_for_symbol_and_aliases", "(", "rs6000_declare_alias", ",", "&", "data", ",", "true", ")", ";", "fputs", "(", "TARGET_32BIT", "?", "\"\\t.long .\"", ":", "\"\\t.llong .\"", ",", "file", ")", ";", "RS6000_OUTPUT_BASENAME", "(", "file", ",", "buffer", ")", ";", "fputs", "(", "\", TOC[tc0], 0\\n\"", ",", "file", ")", ";", "in_section", "=", "NULL", ";", "switch_to_section", "(", "function_section", "(", "decl", ")", ")", ";", "putc", "(", "'.'", ",", "file", ")", ";", "ASM_OUTPUT_LABEL", "(", "file", ",", "buffer", ")", ";", "data", ".", "function_descriptor", "=", "true", ";", "symtab_node", "::", "get", "(", "decl", ")", "->", "call_for_symbol_and_aliases", "(", "rs6000_declare_alias", ",", "&", "data", ",", "true", ")", ";", "if", "(", "!", "DECL_IGNORED_P", "(", "decl", ")", ")", "{", "if", "(", "write_symbols", "==", "DBX_DEBUG", "||", "write_symbols", "==", "XCOFF_DEBUG", ")", "xcoffout_declare_function", "(", "file", ",", "decl", ",", "buffer", ")", ";", "else", "if", "(", "dwarf_debuginfo_p", "(", ")", ")", "{", "name", "=", "(", "*", "targetm", ".", "strip_name_encoding", ")", "(", "name", ")", ";", "fprintf", "(", "file", ",", "\"\\t.function .%s,.%s,2,0\\n\"", ",", "name", ",", "name", ")", ";", "}", "}", "return", ";", "}", ""], "natrual_language": ["This", "macro", "produces", "the", "initial", "definition", "of", "a", "function", "name", ".", "On", "the", "RS/6000", ",", "we", "need", "to", "place", "an", "extra", "'", ".", "'", "in", "the", "function", "name", "and", "output", "the", "function", "descriptor", ".", "Dollar", "signs", "are", "converted", "to", "underscores", ".", "The", "csect", "for", "the", "function", "will", "have", "already", "been", "created", "when", "text_section", "was", "selected", ".", "We", "do", "have", "to", "go", "back", "to", "that", "csect", ",", "however", ".", "The", "third", "and", "fourth", "parameters", "to", "the", ".function", "pseudo-op", "(", "16", "and", "044", ")", "are", "placeholders", "which", "no", "longer", "have", "any", "use", ".", "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", "1", "0", "1", "\"\\t.rename .%s,\\\".%s\\\"\\n\"", "\"\\t.rename %s,\\\"%s\\\"\\n\"", "\"\\t.globl .\"", "\"\\t.rename .%s,\\\".%s\\\"\\n\"", "\"\\t.rename %s,\\\"%s\\\"\\n\"", "\"\\t.lglobl .\"", "\"\\t.csect \"", "\"\\n\"", "\",3\\n\"", "\"\\t.long .\"", "\"\\t.llong .\"", "\", TOC[tc0], 0\\n\"", "\"\\t.function .%s,.%s,2,0\\n\""], "File": "rs6000", "Func": "rs6000_xcoff_declare_function_name", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13035, "Length": 414, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "OutgoingValueHandler", "::", "getStackAddress", "(", "const", "CCValAssign", "&", "VA", ",", "MachineMemOperand", "*", "&", "MMO", ")", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFL", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "LLT", "p0", "=", "LLT", "::", "pointer", "(", "0", ",", "32", ")", ";", "LLT", "s32", "=", "LLT", "::", "scalar", "(", "32", ")", ";", "Register", "SPReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "p0", ")", ";", "MIRBuilder", ".", "buildCopy", "(", "SPReg", ",", "Register", "(", "Mips", "::", "SP", ")", ")", ";", "Register", "OffsetReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "s32", ")", ";", "unsigned", "Offset", "=", "VA", ".", "getLocMemOffset", "(", ")", ";", "MIRBuilder", ".", "buildConstant", "(", "OffsetReg", ",", "Offset", ")", ";", "Register", "AddrReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "p0", ")", ";", "MIRBuilder", ".", "buildPtrAdd", "(", "AddrReg", ",", "SPReg", ",", "OffsetReg", ")", ";", "MachinePointerInfo", "MPO", "=", "MachinePointerInfo", "::", "getStack", "(", "MIRBuilder", ".", "getMF", "(", ")", ",", "Offset", ")", ";", "unsigned", "Size", "=", "alignTo", "(", "VA", ".", "getValVT", "(", ")", ".", "getSizeInBits", "(", ")", ",", "8", ")", "/", "8", ";", "unsigned", "Align", "=", "MinAlign", "(", "TFL", "->", "getStackAlignment", "(", ")", ",", "Offset", ")", ";", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MPO", ",", "MachineMemOperand", "::", "MOStore", ",", "Size", ",", "Align", ")", ";", "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", "8", "8"], "File": "MipsCallLowering40", "Func": "getStackAddress", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13036, "Length": 207, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCLinuxAsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "const", "DataLayout", "*", "TD", "=", "TM", ".", "getDataLayout", "(", ")", ";", "bool", "isPPC64", "=", "TD", "->", "getPointerSizeInBits", "(", ")", "==", "64", ";", "PPCTargetStreamer", "&", "TS", "=", "static_cast", "<", "PPCTargetStreamer", "&", ">", "(", "*", "OutStreamer", ".", "getTargetStreamer", "(", ")", ")", ";", "if", "(", "!", "TOC", ".", "empty", "(", ")", ")", "{", "const", "MCSectionELF", "*", "Section", ";", "if", "(", "isPPC64", ")", "Section", "=", "OutStreamer", ".", "getContext", "(", ")", ".", "getELFSection", "(", "\".toc\"", ",", "ELF", "::", "SHT_PROGBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ")", ";", "else", "Section", "=", "OutStreamer", ".", "getContext", "(", ")", ".", "getELFSection", "(", "\".got2\"", ",", "ELF", "::", "SHT_PROGBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ")", ";", "OutStreamer", ".", "SwitchSection", "(", "Section", ")", ";", "for", "(", "MapVector", "<", "MCSymbol", "*", ",", "MCSymbol", "*", ">", "::", "iterator", "I", "=", "TOC", ".", "begin", "(", ")", ",", "E", "=", "TOC", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "OutStreamer", ".", "EmitLabel", "(", "I", "->", "second", ")", ";", "MCSymbol", "*", "S", "=", "I", "->", "first", ";", "if", "(", "isPPC64", ")", "TS", ".", "emitTCEntry", "(", "*", "S", ")", ";", "else", "OutStreamer", ".", "EmitSymbolValue", "(", "S", ",", "4", ")", ";", "}", "}", "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", ")", ";", "}", "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", "PPC", "PPC", "\".toc\"", "\".got2\"", "PPC", "4", "0", "PPC", "8", "4"], "File": "PPCAsmPrinter29", "Func": "doFinalization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13037, "Length": 338, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isZero", "(", "SDValue", "V", ")", "{", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "V", ")", ";", "return", "C", "&&", "C", "->", "isNullValue", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "expression", "is", "a", "constant", "zero", "."], "TS_V_token": ["X86"], "File": "X86ISelLowering (2)", "Func": "isZero", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13038, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_expand_vec_perm_const_1", "(", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ",", "unsigned", "char", "perm0", ",", "unsigned", "char", "perm1", ")", "{", "rtx", "x", ";", "if", "(", "(", "perm0", "&", "2", ")", "==", "(", "perm1", "&", "2", ")", ")", "{", "if", "(", "perm0", "&", "2", ")", "op0", "=", "op1", ";", "else", "op1", "=", "op0", ";", "}", "if", "(", "rtx_equal_p", "(", "op0", ",", "op1", ")", ")", "{", "perm0", "=", "perm0", "&", "1", ";", "perm1", "=", "(", "perm1", "&", "1", ")", "+", "2", ";", "}", "else", "if", "(", "perm0", "&", "2", ")", "{", "if", "(", "perm1", "&", "2", ")", "return", "false", ";", "perm0", "-=", "2", ";", "perm1", "+=", "2", ";", "std", "::", "swap", "(", "op0", ",", "op1", ")", ";", "}", "else", "if", "(", "(", "perm1", "&", "2", ")", "==", "0", ")", "return", "false", ";", "if", "(", "target", "!=", "NULL", ")", "{", "machine_mode", "vmode", ",", "dmode", ";", "rtvec", "v", ";", "vmode", "=", "GET_MODE", "(", "target", ")", ";", "gcc_assert", "(", "GET_MODE_NUNITS", "(", "vmode", ")", "==", "2", ")", ";", "dmode", "=", "mode_for_vector", "(", "GET_MODE_INNER", "(", "vmode", ")", ",", "4", ")", ".", "require", "(", ")", ";", "x", "=", "gen_rtx_VEC_CONCAT", "(", "dmode", ",", "op0", ",", "op1", ")", ";", "v", "=", "gen_rtvec", "(", "2", ",", "GEN_INT", "(", "perm0", ")", ",", "GEN_INT", "(", "perm1", ")", ")", ";", "x", "=", "gen_rtx_VEC_SELECT", "(", "vmode", ",", "x", ",", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "v", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "target", ",", "x", ")", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Expand", "a", "Paired", "Single", "or", "VSX", "Permute", "Doubleword", "constant", "permutation", ".", "Return", "true", "if", "we", "match", "an", "efficient", "implementation", "."], "TS_V_token": ["rs6000", "2", "2", "2", "1", "1", "2", "2", "2", "2", "2", "2", "0", "2", "4", "2"], "File": "rs6000", "Func": "rs6000_expand_vec_perm_const_1", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13039, "Length": 239, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsELFStreamer", "::", "EmitInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "MCELFStreamer", "::", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "MCContext", "&", "Context", "=", "getContext", "(", ")", ";", "const", "MCRegisterInfo", "*", "MCRegInfo", "=", "Context", ".", "getRegisterInfo", "(", ")", ";", "for", "(", "unsigned", "OpIndex", "=", "0", ";", "OpIndex", "<", "Inst", ".", "getNumOperands", "(", ")", ";", "++", "OpIndex", ")", "{", "const", "MCOperand", "&", "Op", "=", "Inst", ".", "getOperand", "(", "OpIndex", ")", ";", "if", "(", "!", "Op", ".", "isReg", "(", ")", ")", "continue", ";", "unsigned", "Reg", "=", "Op", ".", "getReg", "(", ")", ";", "RegInfoRecord", "->", "SetPhysRegUsed", "(", "Reg", ",", "MCRegInfo", ")", ";", "}", "createPendingLabelRelocs", "(", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["Mips", "Mips", "0"], "File": "MipsELFStreamer10", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13040, "Length": 110, "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", ",", "const", "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": "MipsISelLowering102", "Func": "LowerCallResult", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13041, "Length": 505, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcTargetLowering", "::", "useLoadStackGuardNode", "(", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "isTargetLinux", "(", ")", ")", "return", "TargetLowering", "::", "useLoadStackGuardNode", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["If", "this", "function", "returns", "true", ",", "SelectionDAGBuilder", "emits", "a", "LOAD_STACK_GUARD", "node", "when", "it", "is", "lowering", "Intrinsic", ":", ":stackprotector", "."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcISelLowering (2)2", "Func": "useLoadStackGuardNode", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13042, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_debug_rtx_costs", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "int", "outer_code", ",", "int", "opno", ",", "int", "*", "total", ",", "bool", "speed", ")", "{", "bool", "ret", "=", "rs6000_rtx_costs", "(", "x", ",", "mode", ",", "outer_code", ",", "opno", ",", "total", ",", "speed", ")", ";", "fprintf", "(", "stderr", ",", "\"\\nrs6000_rtx_costs, return = %s, mode = %s, outer_code = %s, \"", "\"opno = %d, total = %d, speed = %s, x:\\n\"", ",", "ret", "?", "\"complete\"", ":", "\"scan inner\"", ",", "GET_MODE_NAME", "(", "mode", ")", ",", "GET_RTX_NAME", "(", "outer_code", ")", ",", "opno", ",", "*", "total", ",", "speed", "?", "\"true\"", ":", "\"false\"", ")", ";", "debug_rtx", "(", "x", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Debug", "form", "of", "r6000_rtx_costs", "that", "is", "selected", "if", "-mdebug=cost", "."], "TS_V_token": ["powerpcspe", "\"\\nrs6000_rtx_costs, return = %s, mode = %s, outer_code = %s, \"", "\"opno = %d, total = %d, speed = %s, x:\\n\"", "\"complete\"", "\"scan inner\"", "\"true\"", "\"false\""], "File": "powerpcspe", "Func": "rs6000_debug_rtx_costs", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13043, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "AARCH64_ADVSIMD_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64"], "File": "AArch64AdvSIMDScalarPass1", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13044, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "getSqrtResultForDenormInput", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "if", "(", "VT", "!=", "MVT", "::", "f64", "&&", "(", "(", "VT", "!=", "MVT", "::", "v2f64", "&&", "VT", "!=", "MVT", "::", "v4f32", ")", "||", "!", "Subtarget", ".", "hasVSX", "(", ")", ")", ")", "return", "TargetLowering", "::", "getSqrtResultForDenormInput", "(", "Op", ",", "DAG", ")", ";", "return", "DAG", ".", "getNode", "(", "PPCISD", "::", "FSQRT", ",", "SDLoc", "(", "Op", ")", ",", "VT", ",", "Op", ")", ";", "}", ""], "natrual_language": ["Return", "a", "target-dependent", "result", "if", "the", "input", "operand", "is", "not", "suitable", "for", "use", "with", "a", "square", "root", "estimate", "calculation", "."], "TS_V_token": ["PowerPC", "PPC", "MVT::f64", "MVT::v2f64", "MVT::v4f32", "PPCISD::FSQRT"], "File": "PPCISelLowering109", "Func": "getSqrtResultForDenormInput", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13045, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "&", "LiveRangeShrinkID", ")", ";", "addPass", "(", "createX86FixupSetCC", "(", ")", ")", ";", "addPass", "(", "createX86OptimizeLEAs", "(", ")", ")", ";", "addPass", "(", "createX86CallFrameOptimization", "(", ")", ")", ";", "addPass", "(", "createX86AvoidStoreForwardingBlocks", "(", ")", ")", ";", "}", "addPass", "(", "createX86SpeculativeLoadHardeningPass", "(", ")", ")", ";", "addPass", "(", "createX86FlagsCopyLoweringPass", "(", ")", ")", ";", "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", "X86", "X86", "X86"], "File": "X86TargetMachine102", "Func": "addPreRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13046, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "functionArgumentNeedsConsecutiveRegisters", "(", "Type", "*", "Ty", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ")", "const", "{", "return", "Ty", "->", "isArrayTy", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "an", "argument", "of", "type", "Ty", "needs", "to", "be", "passed", "in", "a", "contiguous", "block", "of", "registers", "in", "calling", "convention", "CallConv", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ISelLowering (2)", "Func": "functionArgumentNeedsConsecutiveRegisters", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13047, "Length": 27, "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": 13048, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "pru_function_arg_size", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "HOST_WIDE_INT", "param_size", ";", "if", "(", "mode", "==", "BLKmode", ")", "param_size", "=", "int_size_in_bytes", "(", "type", ")", ";", "else", "param_size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "param_size", "=", "(", "UNITS_PER_WORD", "-", "1", "+", "param_size", ")", "/", "UNITS_PER_WORD", ";", "gcc_assert", "(", "param_size", ">=", "0", ")", ";", "return", "param_size", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "bytes", "needed", "for", "storing", "an", "argument", "with", "the", "given", "MODE", "and", "TYPE", "."], "TS_V_token": ["pru", "1", "0"], "File": "pru", "Func": "pru_function_arg_size", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13049, "Length": 58, "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": 13050, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_legitimate_constant_p", "(", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "if", "(", "SH_OFFSETS_MUST_BE_WITHIN_SECTIONS_P", ")", "{", "rtx", "base", ",", "offset", ";", "split_const", "(", "x", ",", "&", "base", ",", "&", "offset", ")", ";", "if", "(", "GET_CODE", "(", "base", ")", "==", "SYMBOL_REF", "&&", "!", "offset_within_block_p", "(", "base", ",", "INTVAL", "(", "offset", ")", ")", ")", "return", "false", ";", "}", "if", "(", "TARGET_FDPIC", "&&", "(", "SYMBOLIC_CONST_P", "(", "x", ")", "||", "(", "GET_CODE", "(", "x", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "PLUS", "&&", "SYMBOLIC_CONST_P", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ")", ")", ")", ")", "return", "false", ";", "return", "GET_CODE", "(", "x", ")", "!=", "CONST_DOUBLE", "||", "mode", "==", "DFmode", "||", "mode", "==", "SFmode", "||", "mode", "==", "DImode", "||", "GET_MODE", "(", "x", ")", "==", "VOIDmode", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LEGITIMATE_CONSTANT_P", "can_store_by_pieces", "constructs", "VOIDmode", "CONST_DOUBLEs", "."], "TS_V_token": ["sh", "0", "0", "0"], "File": "sh", "Func": "sh_legitimate_constant_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13051, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCFrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "ArrayRef", "<", "CalleeSavedInfo", ">", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "PPCInstrInfo", "&", "TII", "=", "*", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "PPCFunctionInfo", "*", "FI", "=", "MF", "->", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", ";", "bool", "MustSaveTOC", "=", "FI", "->", "mustSaveTOC", "(", ")", ";", "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", ")", "continue", ";", "bool", "IsCRField", "=", "PPC", "::", "CR2", "<=", "Reg", "&&", "Reg", "<=", "PPC", "::", "CR4", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "bool", "IsLiveIn", "=", "MRI", ".", "isLiveIn", "(", "Reg", ")", ";", "if", "(", "!", "IsLiveIn", ")", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "if", "(", "CRSpilled", "&&", "IsCRField", ")", "{", "CRMIB", ".", "addReg", "(", "Reg", ",", "RegState", "::", "ImplicitKill", ")", ";", "continue", ";", "}", "if", "(", "(", "Reg", "==", "PPC", "::", "X2", "||", "Reg", "==", "PPC", "::", "R2", ")", "&&", "MustSaveTOC", ")", "continue", ";", "if", "(", "IsCRField", ")", "{", "PPCFunctionInfo", "*", "FuncInfo", "=", "MF", "->", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", ";", "if", "(", "!", "Subtarget", ".", "is32BitELFABI", "(", ")", ")", "{", "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", "{", "if", "(", "CSI", "[", "i", "]", ".", "isSpilledToReg", "(", ")", ")", "{", "NumPESpillVSR", "++", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "PPC", "::", "MTVSRD", ")", ",", "CSI", "[", "i", "]", ".", "getDstReg", "(", ")", ")", ".", "addReg", "(", "Reg", ",", "getKillRegState", "(", "true", ")", ")", ";", "}", "else", "{", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "if", "(", "Subtarget", ".", "needsSwapsForVSXMemOps", "(", ")", "&&", "!", "MF", "->", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "NoUnwind", ")", ")", "TII", ".", "storeRegToStackSlotNoUpd", "(", "MBB", ",", "MI", ",", "Reg", ",", "!", "IsLiveIn", ",", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", ",", "RC", ",", "TRI", ")", ";", "else", "TII", ".", "storeRegToStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "!", "IsLiveIn", ",", "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", "PPC", "0", "PPC::VRSAVE", "PPC::CR2", "PPC::CR4", "PPC::X2", "PPC::R2", "PPC", "PPC", "PPC::MFCR", "PPC::R12", "PPC::STW", "PPC::R12", "PPC::MTVSRD"], "File": "PPCFrameLowering3", "Func": "spillCalleeSavedRegisters", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13052, "Length": 508, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_asm_output_dwarf_datarel", "(", "FILE", "*", "file", ",", "int", "size", ",", "const", "char", "*", "label", ")", "{", "fputs", "(", "integer_asm_op", "(", "size", ",", "FALSE", ")", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "label", ")", ";", "fputs", "(", "\"-__gcc_unwind_dbase\"", ",", "file", ")", ";", "}", ""], "natrual_language": ["Output", "a", "symbol", "offset", "relative", "to", "the", "dbase", "for", "the", "current", "object", ".", "We", "use", "__gcc_unwind_dbase", "as", "an", "arbitrary", "base", "for", "dbase", "and", "assume", "signed", "offsets", ".", "__gcc_unwind_dbase", "is", "embedded", "in", "all", "executables/libraries", "through", "libgcc/config/rs6000/crtdbase.S", "."], "TS_V_token": ["rs6000", "\"-__gcc_unwind_dbase\""], "File": "rs6000", "Func": "rs6000_asm_output_dwarf_datarel", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13053, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_option_valid_attribute_p", "(", "tree", "fndecl", ",", "tree", ",", "tree", "args", ",", "int", ")", "{", "struct", "cl_target_option", "cur_target", ";", "bool", "ret", ";", "tree", "old_optimize", ";", "tree", "new_target", ",", "new_optimize", ";", "tree", "existing_target", "=", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "fndecl", ")", ";", "if", "(", "!", "existing_target", "&&", "args", "==", "current_target_pragma", ")", "{", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "fndecl", ")", "=", "target_option_current_node", ";", "return", "true", ";", "}", "tree", "func_optimize", "=", "DECL_FUNCTION_SPECIFIC_OPTIMIZATION", "(", "fndecl", ")", ";", "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", ")", ";", "if", "(", "existing_target", ")", "{", "struct", "cl_target_option", "*", "existing_options", "=", "TREE_TARGET_OPTION", "(", "existing_target", ")", ";", "if", "(", "existing_options", ")", "cl_target_option_restore", "(", "&", "global_options", ",", "existing_options", ")", ";", "}", "else", "cl_target_option_restore", "(", "&", "global_options", ",", "TREE_TARGET_OPTION", "(", "target_option_current_node", ")", ")", ";", "ret", "=", "aarch64_process_target_attr", "(", "args", ")", ";", "if", "(", "ret", ")", "{", "aarch64_override_options_internal", "(", "&", "global_options", ")", ";", "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", ";", "}", "new_target", "=", "build_target_option_node", "(", "&", "global_options", ")", ";", "}", "else", "new_target", "=", "NULL", ";", "new_optimize", "=", "build_optimization_node", "(", "&", "global_options", ")", ";", "if", "(", "fndecl", "&&", "ret", ")", "{", "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": ["Implement", "TARGET_OPTION_VALID_ATTRIBUTE_P", ".", "This", "is", "used", "to", "process", "attribute", "(", "(", "target", "(", "``", "...", "''", ")", ")", ")", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_option_valid_attribute_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13054, "Length": 271, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "is_float128_p", "(", "tree", "t", ")", "{", "return", "(", "t", "==", "float128_type_node", "||", "(", "TARGET_IEEEQUAD", "&&", "TARGET_LONG_DOUBLE_128", "&&", "t", "==", "long_double_type_node", ")", ")", ";", "}", ""], "natrual_language": ["Check", "whether", "the", "type", "of", "an", "argument", ",", "T", ",", "is", "compatible", "with", "a", "type", "ID", "stored", "into", "a", "struct", "altivec_builtin_types", ".", "Integer", "types", "are", "considered", "compatible", ";", "otherwise", ",", "the", "language", "hook", "lang_hooks.types_compatible_p", "makes", "the", "decision", ".", "Also", "allow", "long", "double", "and", "_Float128", "to", "be", "compatible", "if", "-mabi=ieeelongdouble", "."], "TS_V_token": ["rs6000"], "File": "rs6000-c", "Func": "is_float128_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13055, "Length": 27, "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", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "X86Subtarget", "&", "STI", "=", "MF", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "bool", "hasGPR", "=", "false", ";", "unsigned", "FirstReg", "=", "0", ";", "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", ")", ";", "if", "(", "!", "MF", ".", "protectCSRs", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "else", "if", "(", "!", "hasGPR", ")", "{", "FirstReg", "=", "Reg", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ")", ".", "addReg", "(", "Reg", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "hasGPR", "=", "true", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ")", ".", "addReg", "(", "Reg", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "X86", "::", "ADD64rr", ")", ",", "FirstReg", ")", ".", "addReg", "(", "FirstReg", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "}", "if", "(", "MF", ".", "protectCSRs", "(", ")", "&&", "hasGPR", ")", "{", "assert", "(", "FirstReg", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ")", ".", "addReg", "(", "FirstReg", ",", "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", "X86", "0", "X86::PUSH64r", "X86::PUSH32r", "0", "1", "X86::GR64RegClass", "X86::GR32RegClass", "X86::ADD64rr", "0", "1", "X86::GR64RegClass", "X86::GR32RegClass", "1"], "File": "X86FrameLowering4", "Func": "spillCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13056, "Length": 508, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "ARMBaseRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "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": "ARMBaseRegisterInfo8", "Func": "getReservedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13057, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "report_non_ice", "(", "location_t", "location", ",", "tree", "fndecl", ",", "unsigned", "int", "argno", ")", "{", "error_at", "(", "location", ",", "\"argument %d of %qE must be an integer constant\"", "\" expression\"", ",", "argno", "+", "1", ",", "fndecl", ")", ";", "}", ""], "natrual_language": ["Report", "that", "LOCATION", "has", "a", "call", "to", "FNDECL", "in", "which", "argument", "ARGNO", "was", "not", "an", "integer", "constant", "expression", ".", "ARGNO", "counts", "from", "zero", "."], "TS_V_token": ["aarch64", "\"argument %d of %qE must be an integer constant\"", "\" expression\"", "1"], "File": "aarch64-sve-builtins", "Func": "report_non_ice", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13058, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "mayBeEmittedAsTailCall", "(", "CallInst", "*", "CI", ")", "const", "{", "auto", "Attr", "=", "CI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getFnAttribute", "(", "\"disable-tail-calls\"", ")", ";", "if", "(", "!", "CI", "->", "isTailCall", "(", ")", "||", "Attr", ".", "getValueAsString", "(", ")", "==", "\"true\"", ")", "return", "false", ";", "CallSite", "CS", "(", "CI", ")", ";", "CallingConv", "::", "ID", "CalleeCC", "=", "CS", ".", "getCallingConv", "(", ")", ";", "if", "(", "!", "IsTailCallConvention", "(", "CalleeCC", ")", "&&", "!", "IsCCallConvention", "(", "CalleeCC", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "may", "be", "able", "emit", "the", "call", "instruction", "as", "a", "tail", "call", "."], "TS_V_token": ["X86", "X86", "\"disable-tail-calls\"", "\"true\""], "File": "X86ISelLowering1", "Func": "mayBeEmittedAsTailCall", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13059, "Length": 87, "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", "=", "*", "DAG", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "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": "AArch64SelectionDAGInfo27", "Func": "EmitTargetCodeForMemset", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13060, "Length": 293, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CCAssignFn", "*", "X86FastISel", "::", "CCAssignFnForCall", "(", "CallingConv", "::", "ID", "CC", ",", "bool", "isTaillCall", ")", "{", "if", "(", "Subtarget", "->", "is64Bit", "(", ")", ")", "{", "if", "(", "CC", "==", "CallingConv", "::", "GHC", ")", "return", "CC_X86_64_GHC", ";", "else", "if", "(", "Subtarget", "->", "isTargetWin64", "(", ")", ")", "return", "CC_X86_Win64_C", ";", "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", "if", "(", "CC", "==", "CallingConv", "::", "GHC", ")", "return", "CC_X86_32_GHC", ";", "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", "X86"], "File": "X86FastISel117", "Func": "CCAssignFnForCall", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13061, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsFrameLowering", "::", "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": ["Mips", "Mips"], "File": "MipsFrameLowering (2)", "Func": "hasFP", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13062, "Length": 68, "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": 13063, "Length": 24, "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", "(", "auto", "MFI", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "MFI", "!=", "E", ";", "++", "MFI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MFI", ";", "for", "(", "auto", "MBBI", "=", "MBB", ".", "begin", "(", ")", ",", "E", "=", "MBB", ".", "end", "(", ")", ";", "MBBI", "!=", "E", ";", "++", "MBBI", ")", "{", "MachineInstr", "&", "MI", "=", "*", "MBBI", ";", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "MI", ".", "isInlineAsm", "(", ")", ")", "{", "std", "::", "string", "AsmString", "(", "MI", ".", "getOperand", "(", "InlineAsm", "::", "MIOp_AsmString", ")", ".", "getSymbolName", "(", ")", ")", ";", "std", "::", "string", "FSQRTDOpCode", "(", "\"fsqrtd\"", ")", ";", "std", "::", "string", "FDIVDOpCode", "(", "\"fdivd\"", ")", ";", "std", "::", "transform", "(", "AsmString", ".", "begin", "(", ")", ",", "AsmString", ".", "end", "(", ")", ",", "AsmString", ".", "begin", "(", ")", ",", "::", "tolower", ")", ";", "if", "(", "AsmString", ".", "find", "(", "FSQRTDOpCode", ")", "==", "0", ")", "{", "Opcode", "=", "SP", "::", "FSQRTD", ";", "}", "else", "if", "(", "AsmString", ".", "find", "(", "FDIVDOpCode", ")", "==", "0", ")", "{", "Opcode", "=", "SP", "::", "FDIVD", ";", "}", "}", "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", "\"fsqrtd\"", "\"fdivd\"", "0", "SP::FSQRTD", "0", "SP::FDIVD", "SP::FSQRTD", "SP::FDIVD", "0", "5", "SP::NOP", "0", "28", "SP::NOP"], "File": "LeonPasses12", "Func": "runOnMachineFunction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13064, "Length": 335, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCELFStreamer", "&", "CSKYTargetELFStreamer", "::", "getStreamer", "(", ")", "{", "return", "static_cast", "<", "MCELFStreamer", "&", ">", "(", "Streamer", ")", ";", "}", ""], "natrual_language": ["Return", "the", "output", "streamer", "for", "the", "assembler", "."], "TS_V_token": ["CSKY", "CSKY"], "File": "CSKYELFStreamer", "Func": "getStreamer", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13065, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "Cpu0RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "static", "const", "uint16_t", "ReservedCPURegs", "[", "]", "=", "{", "Cpu0", "::", "ZERO", ",", "Cpu0", "::", "AT", ",", "Cpu0", "::", "SP", ",", "Cpu0", "::", "LR", ",", "Cpu0", "::", "PC", "}", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "typedef", "TargetRegisterClass", "::", "iterator", "RegIter", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "ReservedCPURegs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedCPURegs", "[", "I", "]", ")", ";", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", "->", "hasFP", "(", "MF", ")", ")", "{", "Reserved", ".", "set", "(", "Cpu0", "::", "FP", ")", ";", "}", "const", "Cpu0FunctionInfo", "*", "Cpu0FI", "=", "MF", ".", "getInfo", "<", "Cpu0FunctionInfo", ">", "(", ")", ";", "if", "(", "Cpu0FI", "->", "globalBaseRegFixed", "(", ")", ")", "Reserved", ".", "set", "(", "Cpu0", "::", "GP", ")", ";", "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": ["Cpu0", "Cpu0", "Cpu0::ZERO", "Cpu0::AT", "Cpu0::SP", "Cpu0::LR", "Cpu0::PC", "0", "Cpu0::FP", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0::GP"], "File": "Cpu0RegisterInfo1", "Func": "getReservedRegs", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13066, "Length": 145, "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": 13067, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_modes_tieable_p", "(", "machine_mode", "mode1", ",", "machine_mode", "mode2", ")", "{", "if", "(", "mode1", "==", "PTImode", ")", "return", "mode2", "==", "PTImode", ";", "if", "(", "mode2", "==", "PTImode", ")", "return", "false", ";", "if", "(", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "mode1", ")", ")", "return", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "mode2", ")", ";", "if", "(", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "mode2", ")", ")", "return", "false", ";", "if", "(", "SCALAR_FLOAT_MODE_P", "(", "mode1", ")", ")", "return", "SCALAR_FLOAT_MODE_P", "(", "mode2", ")", ";", "if", "(", "SCALAR_FLOAT_MODE_P", "(", "mode2", ")", ")", "return", "false", ";", "if", "(", "GET_MODE_CLASS", "(", "mode1", ")", "==", "MODE_CC", ")", "return", "GET_MODE_CLASS", "(", "mode2", ")", "==", "MODE_CC", ";", "if", "(", "GET_MODE_CLASS", "(", "mode2", ")", "==", "MODE_CC", ")", "return", "false", ";", "if", "(", "SPE_VECTOR_MODE", "(", "mode1", ")", ")", "return", "SPE_VECTOR_MODE", "(", "mode2", ")", ";", "if", "(", "SPE_VECTOR_MODE", "(", "mode2", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MODES_TIEABLE_P", ".", "PTImode", "can", "not", "tie", "with", "other", "modes", "because", "PTImode", "is", "restricted", "to", "even", "GPR", "registers", ",", "and", "TImode", "can", "go", "in", "any", "GPR", "as", "well", "as", "VSX", "registers", "(", "PR", "57744", ")", ".", "Similarly", ",", "do", "n't", "allow", "OOmode", "(", "vector", "pair", ",", "restricted", "to", "even", "VSX", "registers", ")", "or", "XOmode", "(", "vector", "quad", ",", "restricted", "to", "FPR", "registers", "divisible", "by", "4", ")", "to", "tie", "with", "other", "modes", ".", "Altivec/VSX", "vector", "tests", "were", "moved", "ahead", "of", "scalar", "float", "mode", ",", "so", "that", "IEEE", "128-bit", "floating", "point", "on", "VSX", "systems", "ties", "with", "other", "vectors", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_modes_tieable_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13068, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "aarch_forward_to_shift_is_not_shifted_reg", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "rtx", "value", ",", "op", ";", "rtx", "early_op", ";", "if", "(", "!", "arm_get_set_operands", "(", "producer", ",", "consumer", ",", "&", "value", ",", "&", "op", ")", ")", "return", "0", ";", "if", "(", "(", "early_op", "=", "arm_find_shift_sub_rtx", "(", "op", ")", ")", ")", "{", "if", "(", "REG_P", "(", "early_op", ")", ")", "early_op", "=", "op", ";", "if", "(", "GET_CODE", "(", "early_op", ")", "==", "ASHIFT", ")", "return", "(", "!", "REG_P", "(", "XEXP", "(", "early_op", ",", "0", ")", ")", "||", "!", "REG_P", "(", "XEXP", "(", "early_op", ",", "1", ")", ")", ")", ";", "else", "return", "1", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "the", "CONSUMER", "instruction", "is", "some", "sort", "of", "arithmetic", "or", "logic", "+", "shift", "operation", ",", "and", "the", "register", "we", "are", "writing", "in", "PRODUCER", "is", "not", "used", "in", "a", "register", "shift", "by", "register", "operation", "."], "TS_V_token": ["arm", "0", "0", "1", "1", "0"], "File": "aarch-common3", "Func": "aarch_forward_to_shift_is_not_shifted_reg", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13069, "Length": 105, "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_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", "(", ")", ")", ";", "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_stackalign\"", "\".cv_fpo_endprologue\"", "\".cv_fpo_endproc\""], "File": "X86AsmParser113", "Func": "ParseDirective", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13070, "Length": 381, "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": 13071, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "save_entry", "*", "sh5_schedule_saves", "(", "HARD_REG_SET", "*", "live_regs_mask", ",", "save_schedule", "*", "schedule", ",", "int", "offset_base", ")", "{", "int", "align", ",", "i", ";", "save_entry", "*", "entry", "=", "schedule", "->", "entries", ";", "int", "tmpx", "=", "0", ";", "int", "offset", ";", "if", "(", "!", "current_function_interrupt", ")", "for", "(", "i", "=", "FIRST_GENERAL_REG", ";", "tmpx", "<", "MAX_TEMPS", "&&", "i", "<=", "LAST_GENERAL_REG", ";", "i", "++", ")", "if", "(", "call_really_used_regs", "[", "i", "]", "&&", "!", "fixed_regs", "[", "i", "]", "&&", "i", "!=", "PR_MEDIA_REG", "&&", "!", "FUNCTION_ARG_REGNO_P", "(", "i", ")", "&&", "i", "!=", "FIRST_RET_REG", "&&", "!", "(", "cfun", "->", "static_chain_decl", "!=", "NULL", "&&", "i", "==", "STATIC_CHAIN_REGNUM", ")", "&&", "!", "(", "crtl", "->", "calls_eh_return", "&&", "(", "i", "==", "EH_RETURN_STACKADJ_REGNO", "||", "(", "(", "unsigned", ")", "i", ">=", "EH_RETURN_DATA_REGNO", "(", "0", ")", "&&", "(", "unsigned", ")", "i", "<=", "EH_RETURN_DATA_REGNO", "(", "3", ")", ")", ")", ")", ")", "schedule", "->", "temps", "[", "tmpx", "++", "]", "=", "i", ";", "entry", "->", "reg", "=", "-", "1", ";", "entry", "->", "mode", "=", "VOIDmode", ";", "entry", "->", "offset", "=", "offset_base", ";", "entry", "++", ";", "offset", "=", "offset_base", ";", "for", "(", "align", "=", "1", ";", "align", ">=", "0", ";", "align", "--", ")", "{", "for", "(", "i", "=", "FIRST_PSEUDO_REGISTER", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "if", "(", "TEST_HARD_REG_BIT", "(", "*", "live_regs_mask", ",", "i", ")", ")", "{", "machine_mode", "mode", "=", "REGISTER_NATURAL_MODE", "(", "i", ")", ";", "int", "reg", "=", "i", ";", "if", "(", "current_function_interrupt", ")", "{", "if", "(", "TARGET_REGISTER_P", "(", "i", ")", ")", "continue", ";", "if", "(", "GENERAL_REGISTER_P", "(", "i", ")", ")", "mode", "=", "DImode", ";", "}", "if", "(", "mode", "==", "SFmode", "&&", "(", "i", "%", "2", ")", "==", "1", "&&", "!", "TARGET_FPU_SINGLE", "&&", "FP_REGISTER_P", "(", "i", ")", "&&", "(", "TEST_HARD_REG_BIT", "(", "*", "live_regs_mask", ",", "(", "i", "^", "1", ")", ")", ")", ")", "{", "mode", "=", "DFmode", ";", "i", "--", ";", "reg", "--", ";", "}", "if", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", "%", "(", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ")", "==", "0", ")", "!=", "align", ")", "continue", ";", "if", "(", "current_function_interrupt", "&&", "GENERAL_REGISTER_P", "(", "i", ")", "&&", "tmpx", "<", "MAX_TEMPS", ")", "schedule", "->", "temps", "[", "tmpx", "++", "]", "=", "i", ";", "offset", "-=", "GET_MODE_SIZE", "(", "mode", ")", ";", "entry", "->", "reg", "=", "i", ";", "entry", "->", "mode", "=", "mode", ";", "entry", "->", "offset", "=", "offset", ";", "entry", "++", ";", "}", "if", "(", "align", "&&", "current_function_interrupt", ")", "for", "(", "i", "=", "LAST_TARGET_REG", ";", "i", ">=", "FIRST_TARGET_REG", ";", "i", "--", ")", "if", "(", "TEST_HARD_REG_BIT", "(", "*", "live_regs_mask", ",", "i", ")", ")", "{", "offset", "-=", "GET_MODE_SIZE", "(", "DImode", ")", ";", "entry", "->", "reg", "=", "i", ";", "entry", "->", "mode", "=", "DImode", ";", "entry", "->", "offset", "=", "offset", ";", "entry", "++", ";", "}", "}", "entry", "->", "reg", "=", "-", "1", ";", "entry", "->", "mode", "=", "VOIDmode", ";", "entry", "->", "offset", "=", "offset", ";", "schedule", "->", "temps", "[", "tmpx", "]", "=", "-", "1", ";", "return", "entry", "-", "1", ";", "}", ""], "natrual_language": ["Fill", "in", "SCHEDULE", "according", "to", "LIVE_REGS_MASK", ".", "If", "RESTORE", "is", "nonzero", ",", "use", "reverse", "order", ".", "Returns", "the", "last", "entry", "written", "to", "(", "not", "counting", "the", "delimiter", ")", ".", "OFFSET_BASE", "is", "a", "number", "to", "be", "added", "to", "all", "offset", "entries", "."], "TS_V_token": ["sh", "0", "0", "3", "1", "1", "0", "1", "0", "2", "1", "1", "0", "1", "1", "1"], "File": "sh4", "Func": "sh5_schedule_saves", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13072, "Length": 466, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_setup_frame_addresses", "(", "void", ")", "{", "cfun", "->", "machine", "->", "accesses_prev_frame", "=", "1", ";", "}", ""], "natrual_language": ["Record", "that", "the", "current", "function", "accesses", "previous", "call", "frames", "."], "TS_V_token": ["i386", "1"], "File": "i386", "Func": "ix86_setup_frame_addresses", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13073, "Length": 15, "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": ["rs6000"], "File": "rs60005", "Func": "spe_func_has_64bit_regs_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13074, "Length": 132, "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", ";", "}", "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": "LanaiAsmParser1", "Func": "ParseInstruction", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13075, "Length": 345, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "const", "PPCSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "if", "(", "!", "STI", ".", "hasVSX", "(", ")", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "initialize", "(", "MF", ")", ";", "if", "(", "gatherVectorInstructions", "(", ")", ")", "{", "formWebs", "(", ")", ";", "recordUnoptimizableWebs", "(", ")", ";", "markSwapsForRemoval", "(", ")", ";", "Changed", "=", "removeSwaps", "(", ")", ";", "}", "delete", "EC", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC", "PPC", "PPC"], "File": "PPCVSXSwapRemoval", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13076, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "B", ":", "llvm", "::", "make_early_inc_range", "(", "MF", ")", ")", "if", "(", "processBlock", "(", "B", ")", ")", "Changed", "=", "true", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC"], "File": "PPCTOCRegDeps1", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13077, "Length": 42, "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": 13078, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_libc_has_function", "(", "enum", "function_class", "fn_class", ")", "{", "return", "targetm", ".", "libc_has_function", "(", "fn_class", ",", "NULL_TREE", ")", ";", "}", ""], "natrual_language": ["We", "add", "this", "as", "a", "workaround", "in", "order", "to", "use", "libc_has_function", "hook", "in", "i386.md", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_libc_has_function", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13079, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86ATTAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "this", "->", "MF", "=", "&", "MF", ";", "unsigned", "CC", "=", "F", "->", "getCallingConv", "(", ")", ";", "SetupMachineFunction", "(", "MF", ")", ";", "O", "<<", "\"\\n\\n\"", ";", "if", "(", "CC", "==", "CallingConv", "::", "X86_StdCall", "||", "CC", "==", "CallingConv", "::", "X86_FastCall", ")", "FunctionInfoMap", "[", "F", "]", "=", "*", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "EmitConstantPool", "(", "MF", ".", "getConstantPool", "(", ")", ")", ";", "if", "(", "F", "->", "hasDLLExportLinkage", "(", ")", ")", "DLLExportedFns", ".", "insert", "(", "Mang", "->", "getMangledName", "(", "F", ")", ")", ";", "emitFunctionHeader", "(", "MF", ")", ";", "if", "(", "TAI", "->", "doesSupportDebugInformation", "(", ")", "||", "TAI", "->", "doesSupportExceptionHandling", "(", ")", ")", "DW", "->", "BeginFunction", "(", "&", "MF", ")", ";", "bool", "hasAnyRealCode", "=", "false", ";", "for", "(", "MachineFunction", "::", "const_iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "!", "VerboseAsm", "&&", "(", "I", "->", "pred_empty", "(", ")", "||", "I", "->", "isOnlyReachableByFallthrough", "(", ")", ")", ")", "{", "}", "else", "{", "printBasicBlockLabel", "(", "I", ",", "true", ",", "true", ",", "VerboseAsm", ")", ";", "O", "<<", "'\\n'", ";", "}", "for", "(", "MachineBasicBlock", "::", "const_iterator", "II", "=", "I", "->", "begin", "(", ")", ",", "IE", "=", "I", "->", "end", "(", ")", ";", "II", "!=", "IE", ";", "++", "II", ")", "{", "if", "(", "!", "II", "->", "isLabel", "(", ")", ")", "hasAnyRealCode", "=", "true", ";", "printMachineInstruction", "(", "II", ")", ";", "}", "}", "if", "(", "Subtarget", "->", "isTargetDarwin", "(", ")", "&&", "!", "hasAnyRealCode", ")", "{", "O", "<<", "\"\\tnop\\n\"", ";", "}", "if", "(", "TAI", "->", "hasDotTypeDotSizeDirective", "(", ")", ")", "O", "<<", "\"\\t.size\\t\"", "<<", "CurrentFnName", "<<", "\", .-\"", "<<", "CurrentFnName", "<<", "'\\n'", ";", "if", "(", "TAI", "->", "doesSupportDebugInformation", "(", ")", "||", "TAI", "->", "doesSupportExceptionHandling", "(", ")", ")", "DW", "->", "EndFunction", "(", "&", "MF", ")", ";", "EmitJumpTableInfo", "(", "MF", ".", "getJumpTableInfo", "(", ")", ",", "MF", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "\"\\n\\n\"", "X86", "X86", "X86", "\"\\tnop\\n\"", "\"\\t.size\\t\"", "\", .-\""], "File": "X86ATTAsmPrinter2", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13080, "Length": 327, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_file_start", "(", "void", ")", "{", "size_t", "i", ";", "char", "buffer", "[", "80", "]", ";", "const", "char", "*", "start", "=", "buffer", ";", "struct", "rs6000_cpu_select", "*", "ptr", ";", "const", "char", "*", "default_cpu", "=", "TARGET_CPU_DEFAULT", ";", "FILE", "*", "file", "=", "asm_out_file", ";", "default_file_start", "(", ")", ";", "if", "(", "(", "TARGET_DEFAULT", "^", "target_flags", ")", "&", "MASK_64BIT", ")", "default_cpu", "=", "0", ";", "if", "(", "flag_verbose_asm", ")", "{", "sprintf", "(", "buffer", ",", "\"\\n%s rs6000/powerpc options:\"", ",", "ASM_COMMENT_START", ")", ";", "rs6000_select", "[", "0", "]", ".", "string", "=", "default_cpu", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "rs6000_select", ")", ";", "i", "++", ")", "{", "ptr", "=", "&", "rs6000_select", "[", "i", "]", ";", "if", "(", "ptr", "->", "string", "!=", "(", "char", "*", ")", "0", "&&", "ptr", "->", "string", "[", "0", "]", "!=", "'\\0'", ")", "{", "fprintf", "(", "file", ",", "\"%s %s%s\"", ",", "start", ",", "ptr", "->", "name", ",", "ptr", "->", "string", ")", ";", "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 \"", "HOST_WIDE_INT_PRINT_UNSIGNED", ",", "start", ",", "g_switch_value", ")", ";", "start", "=", "\"\"", ";", "}", "if", "(", "*", "start", "==", "'\\0'", ")", "putc", "(", "'\\n'", ",", "file", ")", ";", "}", "if", "(", "DEFAULT_ABI", "==", "ABI_AIX", "||", "(", "TARGET_ELF", "&&", "flag_pic", "==", "2", ")", ")", "{", "toc_section", "(", ")", ";", "text_section", "(", ")", ";", "}", "}", ""], "natrual_language": ["Do", "anything", "needed", "at", "the", "start", "of", "the", "asm", "file", "."], "TS_V_token": ["rs6000", "80", "0", "\"\\n%s rs6000/powerpc options:\"", "0", "0", "0", "0", "\"%s %s%s\"", "\"\"", "\"%s PPC405CR_ERRATUM77\"", "\"\"", "\"%s -msdata=none\"", "\"\"", "\"%s -msdata=data\"", "\"\"", "\"%s -msdata=sysv\"", "\"\"", "\"%s -msdata=eabi\"", "\"\"", "\"%s -G \"", "\"\"", "2"], "File": "rs60003", "Func": "rs6000_file_start", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13081, "Length": 313, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 Optimize Call Frame\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 Optimize Call Frame\""], "File": "X86CallFrameOptimization", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13082, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "expand_setmem_epilogue_via_loop", "(", "rtx", "destmem", ",", "rtx", "destptr", ",", "rtx", "value", ",", "rtx", "count", ",", "int", "max_size", ")", "{", "count", "=", "expand_simple_binop", "(", "counter_mode", "(", "count", ")", ",", "AND", ",", "count", ",", "GEN_INT", "(", "max_size", "-", "1", ")", ",", "count", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "expand_set_or_movmem_via_loop", "(", "destmem", ",", "NULL", ",", "destptr", ",", "NULL", ",", "gen_lowpart", "(", "QImode", ",", "value", ")", ",", "count", ",", "QImode", ",", "1", ",", "max_size", "/", "2", ",", "true", ")", ";", "}", ""], "natrual_language": ["Output", "code", "to", "set", "at", "most", "count", "&", "(", "max_size", "-", "1", ")", "bytes", "starting", "by", "DEST", "."], "TS_V_token": ["i386", "1", "1", "1", "2"], "File": "i3864", "Func": "expand_setmem_epilogue_via_loop", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13083, "Length": 78, "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": 13084, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "aarch64_host_wide_int_compare", "(", "const", "void", "*", "x", ",", "const", "void", "*", "y", ")", "{", "return", "wi", "::", "cmps", "(", "*", "(", "(", "const", "HOST_WIDE_INT", "*", ")", "x", ")", ",", "*", "(", "(", "const", "HOST_WIDE_INT", "*", ")", "y", ")", ")", ";", "}", ""], "natrual_language": ["Taking", "X", "and", "Y", "to", "be", "HOST_WIDE_INT", "pointers", ",", "return", "the", "result", "of", "a", "comparison", "between", "the", "two", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_host_wide_int_compare", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13085, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "cygwin_d_os_builtins", "(", "void", ")", "{", "d_add_builtin_version", "(", "\"Windows\"", ")", ";", "d_add_builtin_version", "(", "\"Cygwin\"", ")", ";", "d_add_builtin_version", "(", "\"Posix\"", ")", ";", "d_add_builtin_version", "(", "\"CRuntime_Newlib\"", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_D_OS_VERSIONS", "for", "Cygwin", "targets", "."], "TS_V_token": ["i386", "\"Windows\"", "\"Cygwin\"", "\"Posix\"", "\"CRuntime_Newlib\""], "File": "cygwin-d", "Func": "cygwin_d_os_builtins", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13086, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "call_properties", "(", "const", "function_instance", "&", ")", "const", "OVERRIDE", "{", "return", "0", ";", "}", ""], "natrual_language": ["Default", "implementation", "of", "function_base", ":", ":call_properties", ",", "with", "conservatively", "correct", "behavior", "for", "floating-point", "instructions", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64-sve-builtins-functions", "Func": "call_properties", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13087, "Length": 15, "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": 13088, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isIntDivCheap", "(", "EVT", ",", "AttributeList", ")", "const", "override", "{", "return", "false", ";", "}", ""], "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": ["VE"], "File": "VEISelLowering", "Func": "isIntDivCheap", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13089, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SystemZTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "ZERO_EXTEND", ":", "return", "combineZERO_EXTEND", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "return", "combineSIGN_EXTEND", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SIGN_EXTEND_INREG", ":", "return", "combineSIGN_EXTEND_INREG", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "MERGE_HIGH", ":", "case", "SystemZISD", "::", "MERGE_LOW", ":", "return", "combineMERGE", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "combineSTORE", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "EXTRACT_VECTOR_ELT", ":", "return", "combineEXTRACT_VECTOR_ELT", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "JOIN_DWORDS", ":", "return", "combineJOIN_DWORDS", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "FP_ROUND", ":", "return", "combineFP_ROUND", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "BSWAP", ":", "return", "combineBSWAP", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "BR_CCMASK", ":", "return", "combineBR_CCMASK", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "SELECT_CCMASK", ":", "return", "combineSELECT_CCMASK", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "GET_CCMASK", ":", "return", "combineGET_CCMASK", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SDIV", ":", "case", "ISD", "::", "UDIV", ":", "case", "ISD", "::", "SREM", ":", "case", "ISD", "::", "UREM", ":", "return", "combineIntDIVREM", "(", "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": ["SystemZ", "SystemZ", "ISD::ZERO_EXTEND", "ISD::SIGN_EXTEND", "ISD::SIGN_EXTEND_INREG", "SystemZISD::MERGE_HIGH", "SystemZISD::MERGE_LOW", "ISD::STORE", "ISD::EXTRACT_VECTOR_ELT", "SystemZISD::JOIN_DWORDS", "ISD::FP_ROUND", "ISD::BSWAP", "SystemZISD::BR_CCMASK", "SystemZISD::SELECT_CCMASK", "SystemZISD::GET_CCMASK", "ISD::SDIV", "ISD::UDIV", "ISD::SREM", "ISD::UREM"], "File": "SystemZISelLowering112", "Func": "PerformDAGCombine", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13090, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCSubtarget", "::", "enableMachinePipeliner", "(", ")", "const", "{", "return", "(", "DarwinDirective", "==", "PPC", "::", "DIR_PWR9", ")", "&&", "EnableMachinePipeliner", ";", "}", ""], "natrual_language": ["True", "if", "the", "subtarget", "should", "run", "MachinePipeliner", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::DIR_PWR9"], "File": "PPCSubtarget12", "Func": "enableMachinePipeliner", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13091, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb2InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "RC", "==", "ARM", "::", "GPRRegisterClass", "||", "RC", "==", "ARM", "::", "tGPRRegisterClass", "||", "RC", "==", "ARM", "::", "tcGPRRegisterClass", "||", "RC", "==", "ARM", "::", "rGPRRegisterClass", ")", "{", "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", "::", "t2LDRi12", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ")", ";", "return", ";", "}", "ARMBaseInstrInfo", "::", "loadRegFromStackSlot", "(", "MBB", ",", "I", ",", "DestReg", ",", "FI", ",", "RC", ",", "TRI", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM::GPRRegisterClass", "ARM::tGPRRegisterClass", "ARM::tcGPRRegisterClass", "ARM::rGPRRegisterClass", "ARM::t2LDRi12", "0", "ARM"], "File": "Thumb2InstrInfo2", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13092, "Length": 196, "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", "{", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "Mips", "::", "CPURegsRegisterClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Mips", "::", "SW", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addImm", "(", "0", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "else", "if", "(", "RC", "==", "Mips", "::", "FGR32RegisterClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Mips", "::", "SWC1", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addImm", "(", "0", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "else", "if", "(", "RC", "==", "Mips", "::", "AFGR64RegisterClass", ")", "{", "if", "(", "!", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "isMips1", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Mips", "::", "SDC1", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addImm", "(", "0", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "}", "else", "{", "const", "TargetRegisterInfo", "*", "TRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "const", "unsigned", "*", "SubSet", "=", "TRI", "->", "getSubRegisters", "(", "SrcReg", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Mips", "::", "SWC1", ")", ")", ".", "addReg", "(", "SubSet", "[", "0", "]", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addImm", "(", "0", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Mips", "::", "SWC1", ")", ")", ".", "addReg", "(", "SubSet", "[", "1", "]", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addImm", "(", "4", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "}", "}", "else", "llvm_unreachable", "(", "\"Register class not handled!\"", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["Mips", "Mips", "Mips::CPURegsRegisterClass", "Mips::SW", "0", "Mips::FGR32RegisterClass", "Mips::SWC1", "0", "Mips::AFGR64RegisterClass", "Mips", "Mips", "Mips::SDC1", "0", "Mips::SWC1", "0", "0", "Mips::SWC1", "1", "4", "\"Register class not handled!\""], "File": "MipsInstrInfo38", "Func": "storeRegToStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13093, "Length": 330, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "loongarch_emit_int_order_test", "(", "enum", "rtx_code", "code", ",", "bool", "*", "invert_ptr", ",", "rtx", "target", ",", "rtx", "cmp0", ",", "rtx", "cmp1", ")", "{", "machine_mode", "mode", ";", "mode", "=", "GET_MODE", "(", "cmp0", ")", ";", "if", "(", "loongarch_canonicalize_int_order_test", "(", "&", "code", ",", "&", "cmp1", ",", "mode", ")", ")", "loongarch_emit_binary", "(", "code", ",", "target", ",", "cmp0", ",", "cmp1", ")", ";", "else", "{", "enum", "rtx_code", "inv_code", "=", "reverse_condition", "(", "code", ")", ";", "if", "(", "!", "loongarch_canonicalize_int_order_test", "(", "&", "inv_code", ",", "&", "cmp1", ",", "mode", ")", ")", "{", "cmp1", "=", "force_reg", "(", "mode", ",", "cmp1", ")", ";", "loongarch_emit_int_order_test", "(", "code", ",", "invert_ptr", ",", "target", ",", "cmp0", ",", "cmp1", ")", ";", "}", "else", "if", "(", "invert_ptr", "==", "0", ")", "{", "rtx", "inv_target", ";", "inv_target", "=", "loongarch_force_binary", "(", "GET_MODE", "(", "target", ")", ",", "inv_code", ",", "cmp0", ",", "cmp1", ")", ";", "loongarch_emit_binary", "(", "XOR", ",", "target", ",", "inv_target", ",", "const1_rtx", ")", ";", "}", "else", "{", "*", "invert_ptr", "=", "!", "*", "invert_ptr", ";", "loongarch_emit_binary", "(", "inv_code", ",", "target", ",", "cmp0", ",", "cmp1", ")", ";", "}", "}", "}", ""], "natrual_language": ["Compare", "CMP0", "and", "CMP1", "using", "ordering", "test", "CODE", "and", "store", "the", "result", "in", "TARGET", ".", "CMP0", "and", "TARGET", "are", "register_operands", ".", "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": ["loongarch", "0"], "File": "loongarch", "Func": "loongarch_emit_int_order_test", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13094, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "areMemAccessesTriviallyDisjoint", "(", "const", "MachineInstr", "&", "MIa", ",", "const", "MachineInstr", "&", "MIb", ")", "const", "{", "const", "TargetRegisterInfo", "*", "TRI", "=", "&", "getRegisterInfo", "(", ")", ";", "const", "MachineOperand", "*", "BaseOpA", "=", "nullptr", ",", "*", "BaseOpB", "=", "nullptr", ";", "int64_t", "OffsetA", "=", "0", ",", "OffsetB", "=", "0", ";", "unsigned", "WidthA", "=", "0", ",", "WidthB", "=", "0", ";", "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", ";", "if", "(", "getMemOperandWithOffsetWidth", "(", "MIa", ",", "BaseOpA", ",", "OffsetA", ",", "WidthA", ",", "TRI", ")", "&&", "getMemOperandWithOffsetWidth", "(", "MIb", ",", "BaseOpB", ",", "OffsetB", ",", "WidthB", ",", "TRI", ")", ")", "{", "if", "(", "BaseOpA", "->", "isIdenticalTo", "(", "*", "BaseOpB", ")", ")", "{", "int", "LowOffset", "=", "OffsetA", "<", "OffsetB", "?", "OffsetA", ":", "OffsetB", ";", "int", "HighOffset", "=", "OffsetA", "<", "OffsetB", "?", "OffsetB", ":", "OffsetA", ";", "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": ["AArch64", "AArch64", "0", "0", "0", "0", "\"MIa must be a load or store.\"", "\"MIb must be a load or store.\""], "File": "AArch64InstrInfo104", "Func": "areMemAccessesTriviallyDisjoint", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13095, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "loongarch_save_libcall_count", "(", "unsigned", "mask", ")", "{", "for", "(", "unsigned", "n", "=", "GP_REG_LAST", ";", "n", ">", "GP_REG_FIRST", ";", "n", "--", ")", "if", "(", "BITSET_P", "(", "mask", ",", "n", ")", ")", "return", "CALLEE_SAVED_REG_NUMBER", "(", "n", ")", "+", "1", ";", "abort", "(", ")", ";", "}", ""], "natrual_language": ["Determine", "which", "GPR", "save/restore", "routine", "to", "call", "."], "TS_V_token": ["loongarch", "1"], "File": "loongarch", "Func": "loongarch_save_libcall_count", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13096, "Length": 44, "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", ">", "(", ")", ";", "assert", "(", "!", "AFI", "->", "isThumbFunction", "(", ")", ")", ";", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "LDR", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addReg", "(", "0", ")", ".", "addImm", "(", "0", ")", ")", ";", "}", "else", "if", "(", "RC", "==", "ARM", "::", "tGPRRegisterClass", ")", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "assert", "(", "AFI", "->", "isThumbFunction", "(", ")", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tRestore", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "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::LDR", "0", "0", "ARM::tGPRRegisterClass", "ARM", "ARM", "ARM::tRestore", "0", "ARM::DPRRegisterClass", "ARM::FLDD", "0", "ARM::SPRRegisterClass", "\"Unknown regclass!\"", "ARM::FLDS", "0"], "File": "ARMInstrInfo14", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13097, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86IntelAsmPrinter", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "bool", "Result", "=", "AsmPrinter", "::", "doInitialization", "(", "M", ")", ";", "Mang", "->", "markCharUnacceptable", "(", "'.'", ")", ";", "O", "<<", "\"\\t.686\\n\\t.MMX\\n\\t.XMM\\n\\t.model flat\\n\\n\"", ";", "for", "(", "Module", "::", "iterator", "I", "=", "M", ".", "begin", "(", ")", ",", "E", "=", "M", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "if", "(", "I", "->", "isDeclaration", "(", ")", ")", "{", "std", "::", "string", "Name", "=", "Mang", "->", "getMangledName", "(", "I", ")", ";", "decorateName", "(", "Name", ",", "I", ")", ";", "O", "<<", "\"\\tEXTERN \"", ";", "if", "(", "I", "->", "hasDLLImportLinkage", "(", ")", ")", "{", "O", "<<", "\"__imp_\"", ";", "}", "O", "<<", "Name", "<<", "\":near\\n\"", ";", "}", "for", "(", "Module", "::", "const_global_iterator", "I", "=", "M", ".", "global_begin", "(", ")", ",", "E", "=", "M", ".", "global_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "I", "->", "isDeclaration", "(", ")", ")", "{", "std", "::", "string", "Name", "=", "Mang", "->", "getMangledName", "(", "I", ")", ";", "O", "<<", "\"\\tEXTERN \"", ";", "if", "(", "I", "->", "hasDLLImportLinkage", "(", ")", ")", "{", "O", "<<", "\"__imp_\"", ";", "}", "O", "<<", "Name", "<<", "\":byte\\n\"", ";", "}", "}", "return", "Result", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["X86", "X86", "\"\\t.686\\n\\t.MMX\\n\\t.XMM\\n\\t.model flat\\n\\n\"", "\"\\tEXTERN \"", "\"__imp_\"", "\":near\\n\"", "\"\\tEXTERN \"", "\"__imp_\"", "\":byte\\n\""], "File": "X86IntelAsmPrinter2", "Func": "doInitialization", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13098, "Length": 192, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_code_label", "*", "mips16_add_constant", "(", "struct", "mips16_constant_pool", "*", "pool", ",", "rtx", "value", ",", "machine_mode", "mode", ")", "{", "struct", "mips16_constant", "*", "*", "p", ",", "*", "c", ";", "bool", "first_of_size_p", ";", "first_of_size_p", "=", "true", ";", "for", "(", "p", "=", "&", "pool", "->", "first", ";", "*", "p", "!=", "0", ";", "p", "=", "&", "(", "*", "p", ")", "->", "next", ")", "{", "if", "(", "mode", "==", "(", "*", "p", ")", "->", "mode", "&&", "rtx_equal_p", "(", "value", ",", "(", "*", "p", ")", "->", "value", ")", ")", "return", "(", "*", "p", ")", "->", "label", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "<", "GET_MODE_SIZE", "(", "(", "*", "p", ")", "->", "mode", ")", ")", "break", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "GET_MODE_SIZE", "(", "(", "*", "p", ")", "->", "mode", ")", ")", "first_of_size_p", "=", "false", ";", "}", "if", "(", "pool", "->", "first", "==", "0", ")", "pool", "->", "highest_address", "=", "pool", "->", "insn_address", "-", "(", "UNITS_PER_WORD", "-", "2", ")", "+", "0x8000", ";", "pool", "->", "highest_address", "-=", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "first_of_size_p", ")", "pool", "->", "highest_address", "-=", "GET_MODE_SIZE", "(", "mode", ")", "-", "1", ";", "c", "=", "XNEW", "(", "struct", "mips16_constant", ")", ";", "c", "->", "value", "=", "value", ";", "c", "->", "mode", "=", "mode", ";", "c", "->", "label", "=", "gen_label_rtx", "(", ")", ";", "c", "->", "next", "=", "*", "p", ";", "*", "p", "=", "c", ";", "return", "c", "->", "label", ";", "}", ""], "natrual_language": ["Add", "constant", "VALUE", "to", "POOL", "and", "return", "its", "label", ".", "MODE", "is", "the", "value", "'s", "mode", "(", "used", "for", "CONST_INTs", ",", "etc", ".", ")", "."], "TS_V_token": ["mips", "0", "0", "2", "0x8000", "1"], "File": "mips", "Func": "mips16_add_constant", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13099, "Length": 224, "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": 13100, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "X86Subtarget", "::", "classifyLocalReference", "(", "const", "GlobalValue", "*", "GV", ")", "const", "{", "if", "(", "is64Bit", "(", ")", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "if", "(", "!", "isPositionIndependent", "(", ")", ")", "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_NO_FLAG", "X86II::MO_NO_FLAG", "X86II::MO_NO_FLAG", "X86II::MO_DARWIN_NONLAZY_PIC_BASE", "X86II::MO_PIC_BASE_OFFSET", "X86II::MO_GOTOFF"], "File": "X86Subtarget109", "Func": "classifyLocalReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13101, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcAsmPrinter", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "Mang", "=", "new", "Mangler", "(", "M", ",", "\"\"", ",", "TAI", "->", "getPrivateGlobalPrefix", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["Sparc", "Sparc", "\"\""], "File": "SparcAsmPrinter32", "Func": "doInitialization", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13102, "Length": 30, "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": ["Cpu0", "\"RelaxInstruction() unimplemented\""], "File": "Cpu0AsmBackend", "Func": "fixupNeedsRelaxation", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13103, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", "&&", "\"Unexpected\"", ")", ";", "unsigned", "i", "=", "0", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "getIndex", "(", ")", ";", "unsigned", "BasePtr", ";", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "bool", "AfterFPPop", "=", "Opc", "==", "X86", "::", "TAILJMPm64", "||", "Opc", "==", "X86", "::", "TAILJMPm", ";", "if", "(", "needsStackRealignment", "(", "MF", ")", ")", "BasePtr", "=", "(", "FrameIndex", "<", "0", "?", "FramePtr", ":", "StackPtr", ")", ";", "else", "if", "(", "AfterFPPop", ")", "BasePtr", "=", "StackPtr", ";", "else", "BasePtr", "=", "(", "TFI", "->", "hasFP", "(", "MF", ")", "?", "FramePtr", ":", "StackPtr", ")", ";", "MI", ".", "getOperand", "(", "i", ")", ".", "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", "(", "MI", ".", "getOperand", "(", "i", "+", "3", ")", ".", "isImm", "(", ")", ")", "{", "int", "Imm", "=", "(", "int", ")", "(", "MI", ".", "getOperand", "(", "i", "+", "3", ")", ".", "getImm", "(", ")", ")", ";", "int", "Offset", "=", "FIOffset", "+", "Imm", ";", "assert", "(", "(", "!", "Is64Bit", "||", "isInt", "<", "32", ">", "(", "(", "long", "long", ")", "FIOffset", "+", "Imm", ")", ")", "&&", "\"Requesting 64-bit offset in 32-bit immediate!\"", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "3", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", "else", "{", "uint64_t", "Offset", "=", "FIOffset", "+", "(", "uint64_t", ")", "MI", ".", "getOperand", "(", "i", "+", "3", ")", ".", "getOffset", "(", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "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\"", "0", "\"Instr doesn't have FrameIndex operand!\"", "X86::TAILJMPm64", "X86::TAILJMPm", "0", "3", "3", "32", "\"Requesting 64-bit offset in 32-bit immediate!\"", "3", "3", "3"], "File": "X86RegisterInfo36", "Func": "eliminateFrameIndex", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13104, "Length": 370, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_return_in_msb", "(", "const_tree", "valtype", ")", "{", "machine_mode", "dummy_mode", ";", "int", "dummy_int", ";", "if", "(", "!", "BYTES_BIG_ENDIAN", ")", "return", "false", ";", "if", "(", "!", "aarch64_composite_type_p", "(", "valtype", ",", "TYPE_MODE", "(", "valtype", ")", ")", "||", "int_size_in_bytes", "(", "valtype", ")", "<=", "0", "||", "int_size_in_bytes", "(", "valtype", ")", ">", "16", ")", "return", "false", ";", "if", "(", "aarch64_vfp_is_call_or_return_candidate", "(", "TYPE_MODE", "(", "valtype", ")", ",", "valtype", ",", "&", "dummy_mode", ",", "&", "dummy_int", ",", "NULL", ",", "false", ")", ")", "return", "false", ";", "pure_scalable_type_info", "pst_info", ";", "if", "(", "pst_info", ".", "analyze_registers", "(", "valtype", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "VALTYPE", "is", "padded", "to", "its", "least", "significant", "bits", "."], "TS_V_token": ["aarch64", "0", "16"], "File": "aarch64", "Func": "aarch64_return_in_msb", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13105, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64AdvSIMDScalar", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "mf", ")", "{", "if", "(", "!", "AdvSIMDScalar", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** ARM64AdvSIMDScalar *****\\n\"", ")", ";", "const", "TargetMachine", "&", "TM", "=", "mf", ".", "getTarget", "(", ")", ";", "MRI", "=", "&", "mf", ".", "getRegInfo", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "ARM64InstrInfo", "*", ">", "(", "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": ["ARM64", "ARM64", "\"***** ARM64AdvSIMDScalar *****\\n\"", "ARM64"], "File": "ARM64AdvSIMDScalarPass", "Func": "runOnMachineFunction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13106, "Length": 111, "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": 13107, "Length": 114, "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", ";", "gcc_assert", "(", "INTVAL", "(", "cookie", ")", "==", "0", ")", ";", "if", "(", "global_tlsarg", ")", "tlsarg", "=", "global_tlsarg", ";", "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": "rs60001", "Func": "rs6000_sibcall_aix", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13108, "Length": 207, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_encode_section_info", "(", "tree", "decl", ",", "rtx", "rtl", ",", "int", "first", ")", "{", "default_encode_section_info", "(", "decl", ",", "rtl", ",", "first", ")", ";", "if", "(", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", "&&", "lookup_attribute", "(", "\"long_call\"", ",", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "decl", ")", ")", ")", ")", "{", "rtx", "symbol", "=", "XEXP", "(", "rtl", ",", "0", ")", ";", "SYMBOL_REF_FLAGS", "(", "symbol", ")", "|=", "SYMBOL_FLAG_LONG_CALL", ";", "}", "}", ""], "natrual_language": ["Set", "SYMBOL_REF_FLAGS", "for", "the", "SYMBOL_REF", "inside", "RTL", ",", "which", "belongs", "to", "DECL", ".", "FIRST", "is", "true", "if", "this", "is", "the", "first", "time", "handling", "this", "decl", "."], "TS_V_token": ["mips", "\"long_call\"", "0"], "File": "mips3", "Func": "mips_encode_section_info", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13109, "Length": 65, "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", "(", "x", "&&", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_TLS_MODEL", "(", "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": ["sparc", "0", "1", "0"], "File": "sparc3", "Func": "get_some_local_dynamic_name_1", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13110, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_emit_madd", "(", "rtx", "target", ",", "rtx", "m1", ",", "rtx", "m2", ",", "rtx", "a", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "target", ")", ";", "rtx", "dst", ";", "dst", "=", "expand_ternary_op", "(", "mode", ",", "fma_optab", ",", "m1", ",", "m2", ",", "a", ",", "target", ",", "0", ")", ";", "gcc_assert", "(", "dst", "!=", "NULL", ")", ";", "if", "(", "dst", "!=", "target", ")", "emit_move_insn", "(", "target", ",", "dst", ")", ";", "}", ""], "natrual_language": ["Generate", "an", "FMA", "instruction", "."], "TS_V_token": ["rs6000", "0"], "File": "rs6000", "Func": "rs6000_emit_madd", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13111, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_ashlsi_clobbers_t_reg_p", "(", "rtx", "shift_amount", ")", "{", "gcc_assert", "(", "CONST_INT_P", "(", "shift_amount", ")", ")", ";", "const", "int", "shift_amount_i", "=", "INTVAL", "(", "shift_amount", ")", "&", "31", ";", "if", "(", "shift_amount_i", "==", "31", ")", "return", "true", ";", "return", "(", "ashl_lshr_seq", "[", "shift_amount_i", "]", ".", "clobbers_t", "&", "ASHL_CLOBBERS_T", ")", "!=", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "shift", "left", "consisting", "of", "1/2/8/16", "shift", "instructions", "will", "clobber", "the", "T", "bit", "."], "TS_V_token": ["sh", "31", "31", "0"], "File": "sh", "Func": "sh_ashlsi_clobbers_t_reg_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13112, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "i386_pe_file_end", "(", "void", ")", "{", "struct", "extern_list", "*", "p", ";", "ix86_file_end", "(", ")", ";", "for", "(", "p", "=", "extern_head", ";", "p", "!=", "NULL", ";", "p", "=", "p", "->", "next", ")", "{", "tree", "decl", ";", "decl", "=", "p", "->", "decl", ";", "if", "(", "!", "TREE_ASM_WRITTEN", "(", "decl", ")", "&&", "TREE_SYMBOL_REFERENCED", "(", "DECL_ASSEMBLER_NAME", "(", "decl", ")", ")", ")", "{", "TREE_ASM_WRITTEN", "(", "decl", ")", "=", "1", ";", "i386_pe_declare_function_type", "(", "asm_out_file", ",", "p", "->", "name", ",", "TREE_PUBLIC", "(", "decl", ")", ")", ";", "}", "}", "if", "(", "export_head", ")", "{", "struct", "export_list", "*", "q", ";", "drectve_section", "(", ")", ";", "for", "(", "q", "=", "export_head", ";", "q", "!=", "NULL", ";", "q", "=", "q", "->", "next", ")", "{", "fprintf", "(", "asm_out_file", ",", "\"\\t.ascii \\\" -export:%s%s\\\"\\n\"", ",", "i386_pe_strip_name_encoding", "(", "q", "->", "name", ")", ",", "(", "q", "->", "is_data", ")", "?", "\",data\"", ":", "\"\"", ")", ";", "}", "}", "}", ""], "natrual_language": ["This", "is", "called", "at", "the", "end", "of", "assembly", ".", "For", "each", "external", "function", "which", "has", "not", "been", "defined", ",", "we", "output", "a", "declaration", "now", ".", "We", "also", "output", "the", ".drectve", "section", "."], "TS_V_token": ["i386", "1", "\"\\t.ascii \\\" -export:%s%s\\\"\\n\"", "\",data\"", "\"\""], "File": "winnt3", "Func": "i386_pe_file_end", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13113, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"XNCM DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["XNCM", "\"XNCM DAG->DAG Pattern Instruction Selection\""], "File": "XNCMISelDAGToDAG", "Func": "getPassName", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13114, "Length": 13, "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", "(", "MF", ".", "hasEHFunclets", "(", ")", ")", "return", "true", ";", "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", ";", "if", "(", "MF", ".", "hasLocalEscape", "(", ")", ")", "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": "AArch64FrameLowering26", "Func": "hasFP", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13115, "Length": 144, "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!\"", ")", ";", "FrameReg", "=", "TRI", "->", "getStackRegister", "(", ")", ";", "int", "Offset", "=", "MFI", ".", "getObjectOffset", "(", "FI", ")", "-", "getOffsetOfLocalArea", "(", ")", ";", "return", "Offset", "+", "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": "X86FrameLowering102", "Func": "getFrameIndexReferencePreferSP", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13116, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "class", "LLVM_LIBRARY_VISIBILITY", "SystemZMCInstLower", "{", "MCContext", "&", "Ctx", ";", "SystemZAsmPrinter", "&", "AsmPrinter", ";", "public", ":", "SystemZMCInstLower", "(", "MCContext", "&", "ctx", ",", "SystemZAsmPrinter", "&", "asmPrinter", ")", ";", "void", "lower", "(", "const", "MachineInstr", "*", "MI", ",", "MCInst", "&", "OutMI", ")", "const", ";", "MCOperand", "lowerOperand", "(", "const", "MachineOperand", "&", "MO", ")", "const", ";", "const", "MCExpr", "*", "getExpr", "(", "const", "MachineOperand", "&", "MO", ",", "MCSymbolRefExpr", "::", "VariantKind", "Kind", ")", "const", ";", "}", ""], "natrual_language": ["Implementation", "of", "the", "SCEVPredicate", "interface", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ"], "File": "SystemZMCInstLower12", "Func": "getExpr", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13117, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsFrameLowering", "::", "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": ["Mips", "Mips"], "File": "MipsFrameLowering", "Func": "hasFP", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13118, "Length": 50, "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": 13119, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "pcrel_opt_valid_mem_p", "(", "rtx", "reg", ",", "machine_mode", "mode", ",", "rtx", "mem", ")", "{", "enum", "non_prefixed_form", "non_prefixed", "=", "reg_to_non_prefixed", "(", "reg", ",", "mode", ")", ";", "if", "(", "non_prefixed", "==", "NON_PREFIXED_X", ")", "return", "false", ";", "rtx", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "enum", "insn_form", "iform", "=", "address_to_insn_form", "(", "addr", ",", "mode", ",", "non_prefixed", ")", ";", "return", "(", "iform", "==", "INSN_FORM_BASE_REG", "||", "iform", "==", "INSN_FORM_D", "||", "iform", "==", "INSN_FORM_DS", "||", "iform", "==", "INSN_FORM_DQ", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "an", "REG", "with", "a", "given", "MODE", "is", "loaded", "from", "or", "stored", "into", "a", "MEM", "location", "uses", "a", "non-prefixed", "D/DS/DQ-form", "address", ".", "This", "is", "used", "to", "validate", "the", "load", "or", "store", "with", "the", "PCREL_OPT", "optimization", "to", "make", "sure", "it", "is", "an", "instruction", "that", "can", "be", "optimized", ".", "We", "need", "to", "specify", "the", "MODE", "separately", "from", "the", "REG", "to", "allow", "for", "loads", "that", "include", "zero/sign/float", "extension", "."], "TS_V_token": ["rs6000", "0"], "File": "rs6000", "Func": "pcrel_opt_valid_mem_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13120, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "loongarch_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": ["loongarch", "0", "4", "2", "6"], "File": "loongarch", "Func": "loongarch_prefetch_cookie", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13121, "Length": 54, "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", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Customize", "the", "printer", "according", "to", "a", "command", "line", "option", "."], "TS_V_token": ["CSKY", "CSKY", "\"no-aliases\"", "\"numeric\""], "File": "CSKYInstPrinter", "Func": "applyTargetSpecificCLOption", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13122, "Length": 43, "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": 13123, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZTargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ",", "Instruction", "*", "I", ")", "const", "{", "if", "(", "AM", ".", "BaseGV", ")", "return", "false", ";", "if", "(", "!", "isInt", "<", "20", ">", "(", "AM", ".", "BaseOffs", ")", ")", "return", "false", ";", "AddressingMode", "SupportedAM", "(", "true", ",", "true", ")", ";", "if", "(", "I", "!=", "nullptr", ")", "SupportedAM", "=", "supportedAddressingMode", "(", "I", ",", "Subtarget", ".", "hasVector", "(", ")", ")", ";", "if", "(", "!", "SupportedAM", ".", "LongDisplacement", "&&", "!", "isUInt", "<", "12", ">", "(", "AM", ".", "BaseOffs", ")", ")", "return", "false", ";", "if", "(", "!", "SupportedAM", ".", "IndexReg", ")", "return", "AM", ".", "Scale", "==", "0", ";", "else", "return", "AM", ".", "Scale", "==", "0", "||", "AM", ".", "Scale", "==", "1", ";", "}", ""], "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": ["SystemZ", "SystemZ", "20", "12", "0", "0", "1"], "File": "SystemZISelLowering (2)2", "Func": "isLegalAddressingMode", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13124, "Length": 130, "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": 13125, "Length": 256, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["X86"], "File": "X86InstrInfo (2)", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13126, "Length": 33, "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": 13127, "Length": 39, "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", ")", ";", "const", "simd_vec_cost", "*", "simd_costs", "=", "aarch64_simd_vec_costs", "(", "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", "?", "simd_costs", "->", "fp_stmt_cost", ":", "simd_costs", "->", "int_stmt_cost", ";", "case", "vector_load", ":", "return", "simd_costs", "->", "align_load_cost", ";", "case", "vector_store", ":", "return", "simd_costs", "->", "store_cost", ";", "case", "vec_to_scalar", ":", "return", "simd_costs", "->", "vec_to_scalar_cost", ";", "case", "scalar_to_vec", ":", "return", "simd_costs", "->", "scalar_to_vec_cost", ";", "case", "unaligned_load", ":", "case", "vector_gather_load", ":", "return", "simd_costs", "->", "unalign_load_cost", ";", "case", "unaligned_store", ":", "case", "vector_scatter_store", ":", "return", "simd_costs", "->", "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", "simd_costs", "->", "permute_cost", ";", "case", "vec_promote_demote", ":", "return", "fp", "?", "simd_costs", "->", "fp_stmt_cost", ":", "simd_costs", "->", "int_stmt_cost", ";", "case", "vec_construct", ":", "elements", "=", "estimated_poly_value", "(", "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": "aarch641", "Func": "aarch64_builtin_vectorization_cost", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13128, "Length": 225, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "i386_pe_seh_cold_init", "(", "FILE", "*", "f", ",", "const", "char", "*", "name", ")", "{", "struct", "seh_frame_state", "*", "seh", ";", "HOST_WIDE_INT", "alloc_offset", ",", "offset", ";", "if", "(", "!", "TARGET_SEH", ")", "return", ";", "if", "(", "cfun", "->", "is_thunk", ")", "return", ";", "seh", "=", "cfun", "->", "machine", "->", "seh", ";", "fputs", "(", "\"\\t.seh_proc\\t\"", ",", "f", ")", ";", "assemble_name", "(", "f", ",", "name", ")", ";", "fputc", "(", "'\\n'", ",", "f", ")", ";", "if", "(", "crtl", "->", "accesses_prior_frames", ")", "alloc_offset", "=", "seh", "->", "cfa_offset", ";", "else", "alloc_offset", "=", "seh", "->", "sp_offset", ";", "offset", "=", "alloc_offset", "-", "INCOMING_FRAME_SP_OFFSET", ";", "if", "(", "offset", ">", "0", "&&", "offset", "<", "SEH_MAX_FRAME_SIZE", ")", "fprintf", "(", "f", ",", "\"\\t.seh_stackalloc\\t\"", "HOST_WIDE_INT_PRINT_DEC", "\"\\n\"", ",", "offset", ")", ";", "for", "(", "int", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "seh", "->", "reg_offset", "[", "regno", "]", ">", "0", ")", "{", "fputs", "(", "(", "SSE_REGNO_P", "(", "regno", ")", "?", "\"\\t.seh_savexmm\\t\"", ":", "GENERAL_REGNO_P", "(", "regno", ")", "?", "\"\\t.seh_savereg\\t\"", ":", "(", "gcc_unreachable", "(", ")", ",", "\"\"", ")", ")", ",", "f", ")", ";", "print_reg", "(", "gen_rtx_REG", "(", "DImode", ",", "regno", ")", ",", "0", ",", "f", ")", ";", "fprintf", "(", "f", ",", "\", \"", "HOST_WIDE_INT_PRINT_DEC", "\"\\n\"", ",", "alloc_offset", "-", "seh", "->", "reg_offset", "[", "regno", "]", ")", ";", "}", "if", "(", "seh", "->", "cfa_reg", "!=", "stack_pointer_rtx", ")", "{", "offset", "=", "alloc_offset", "-", "seh", "->", "cfa_offset", ";", "gcc_assert", "(", "(", "offset", "&", "15", ")", "==", "0", ")", ";", "gcc_assert", "(", "IN_RANGE", "(", "offset", ",", "0", ",", "240", ")", ")", ";", "fputs", "(", "\"\\t.seh_setframe\\t\"", ",", "f", ")", ";", "print_reg", "(", "seh", "->", "cfa_reg", ",", "0", ",", "f", ")", ";", "fprintf", "(", "f", ",", "\", \"", "HOST_WIDE_INT_PRINT_DEC", "\"\\n\"", ",", "offset", ")", ";", "}", "if", "(", "crtl", "->", "accesses_prior_frames", ")", "{", "offset", "=", "seh", "->", "sp_offset", "-", "alloc_offset", ";", "if", "(", "offset", ">", "0", "&&", "offset", "<", "SEH_MAX_FRAME_SIZE", ")", "fprintf", "(", "f", ",", "\"\\t.seh_stackalloc\\t\"", "HOST_WIDE_INT_PRINT_DEC", "\"\\n\"", ",", "offset", ")", ";", "}", "fputs", "(", "\"\\t.seh_endprologue\\n\"", ",", "f", ")", ";", "}", ""], "natrual_language": ["Emit", "assembler", "directives", "to", "reconstruct", "the", "SEH", "state", "."], "TS_V_token": ["i386", "\"\\t.seh_proc\\t\"", "0", "\"\\t.seh_stackalloc\\t\"", "\"\\n\"", "0", "0", "\"\\t.seh_savexmm\\t\"", "\"\\t.seh_savereg\\t\"", "\"\"", "0", "\", \"", "\"\\n\"", "15", "0", "0", "240", "\"\\t.seh_setframe\\t\"", "0", "\", \"", "\"\\n\"", "0", "\"\\t.seh_stackalloc\\t\"", "\"\\n\"", "\"\\t.seh_endprologue\\n\""], "File": "winnt7", "Func": "i386_pe_seh_cold_init", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13129, "Length": 316, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "unique_ptr", "<", "MCObjectWriter", ">", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "override", "{", "return", "createARMELFObjectWriter", "(", "OS", ",", "OSABI", ",", "isLittle", "(", ")", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMAsmBackendELF3", "Func": "createObjectWriter", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13130, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "*", "getAdjustedAnalysisPointer", "(", "const", "void", "*", "ID", ")", "{", "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": "ARMTargetTransformInfo", "Func": "getAdjustedAnalysisPointer", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13131, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86TargetLowering", "::", "ConstraintType", "X86TargetLowering", "::", "getConstraintType", "(", "StringRef", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'R'", ":", "case", "'q'", ":", "case", "'Q'", ":", "case", "'f'", ":", "case", "'t'", ":", "case", "'u'", ":", "case", "'y'", ":", "case", "'x'", ":", "case", "'v'", ":", "case", "'Y'", ":", "case", "'l'", ":", "case", "'k'", ":", "return", "C_RegisterClass", ";", "case", "'a'", ":", "case", "'b'", ":", "case", "'c'", ":", "case", "'d'", ":", "case", "'S'", ":", "case", "'D'", ":", "case", "'A'", ":", "return", "C_Register", ";", "case", "'I'", ":", "case", "'J'", ":", "case", "'K'", ":", "case", "'L'", ":", "case", "'M'", ":", "case", "'N'", ":", "case", "'G'", ":", "case", "'C'", ":", "case", "'e'", ":", "case", "'Z'", ":", "return", "C_Other", ";", "default", ":", "break", ";", "}", "}", "else", "if", "(", "Constraint", ".", "size", "(", ")", "==", "2", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'Y'", ":", "switch", "(", "Constraint", "[", "1", "]", ")", "{", "default", ":", "break", ";", "case", "'z'", ":", "case", "'0'", ":", "return", "C_Register", ";", "case", "'i'", ":", "case", "'m'", ":", "case", "'k'", ":", "case", "'t'", ":", "case", "'2'", ":", "return", "C_RegisterClass", ";", "}", "}", "}", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "."], "TS_V_token": ["X86", "X86", "X86", "1", "0", "2", "0", "1"], "File": "X86ISelLowering (2)8", "Func": "getConstraintType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13132, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_symbol_binds_local_p", "(", "const_rtx", "x", ")", "{", "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": ["mips"], "File": "mips", "Func": "mips_symbol_binds_local_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13133, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86ATTInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "markup", "(", "\"\"", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["X86", "X86", "\"\""], "File": "X86ATTInstPrinter (2)", "Func": "printRegName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13134, "Length": 34, "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": 13135, "Length": 62, "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", "{", "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": ["CSKY", "CSKY"], "File": "CSKYAsmBackend2", "Func": "applyFixup", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13136, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "Mips16InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "Mips16InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "0", "&&", "!", "MFI", "->", "adjustsStack", "(", ")", ")", "return", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "MCRegisterInfo", "*", "MRI", "=", "MMI", ".", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MachineLocation", "DstML", ",", "SrcML", ";", "TII", ".", "makeFrame", "(", "Mips", "::", "SP", ",", "StackSize", ",", "MBB", ",", "MBBI", ")", ";", "unsigned", "CFIIndex", "=", "MMI", ".", "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", "(", ")", ")", "{", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", "->", "getCalleeSavedInfo", "(", ")", ";", "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", "DReg", "=", "MRI", "->", "getDwarfRegNum", "(", "Reg", ",", "true", ")", ";", "unsigned", "CFIIndex", "=", "MMI", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createOffset", "(", "nullptr", ",", "DReg", ",", "Offset", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "}", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "MoveR3216", ")", ",", "Mips", "::", "S0", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "0", "Mips::SP", "Mips::MoveR3216", "Mips::S0", "Mips::SP"], "File": "Mips16FrameLowering", "Func": "emitPrologue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13137, "Length": 395, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPostRegAlloc", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableRedundantCopyElimination", ")", "addPass", "(", "createAArch64RedundantCopyEliminationPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableDeadRegisterElimination", ")", "addPass", "(", "createAArch64DeadRegisterDefinitions", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "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"], "File": "AArch64TargetMachine10", "Func": "addPostRegAlloc", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13138, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "emit_multi_reg_push", "(", "unsigned", "long", "mask", ",", "unsigned", "long", "dwarf_regs_mask", ")", "{", "int", "num_regs", "=", "0", ";", "int", "num_dwarf_regs", "=", "0", ";", "int", "i", ",", "j", ";", "rtx", "par", ";", "rtx", "dwarf", ";", "int", "dwarf_par_index", ";", "rtx", "tmp", ",", "reg", ";", "dwarf_regs_mask", "&=", "~", "(", "1", "<<", "PC_REGNUM", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<=", "LAST_ARM_REGNUM", ";", "i", "++", ")", "{", "if", "(", "mask", "&", "(", "1", "<<", "i", ")", ")", "num_regs", "++", ";", "if", "(", "dwarf_regs_mask", "&", "(", "1", "<<", "i", ")", ")", "num_dwarf_regs", "++", ";", "}", "gcc_assert", "(", "num_regs", "&&", "num_regs", "<=", "16", ")", ";", "gcc_assert", "(", "(", "dwarf_regs_mask", "&", "~", "mask", ")", "==", "0", ")", ";", "par", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "num_regs", ")", ")", ";", "dwarf", "=", "gen_rtx_SEQUENCE", "(", "VOIDmode", ",", "rtvec_alloc", "(", "num_dwarf_regs", "+", "1", ")", ")", ";", "dwarf_par_index", "=", "1", ";", "for", "(", "i", "=", "0", ";", "i", "<=", "LAST_ARM_REGNUM", ";", "i", "++", ")", "{", "if", "(", "mask", "&", "(", "1", "<<", "i", ")", ")", "{", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "i", ")", ";", "XVECEXP", "(", "par", ",", "0", ",", "0", ")", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_frame_mem", "(", "BLKmode", ",", "gen_rtx_PRE_MODIFY", "(", "Pmode", ",", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "4", "*", "num_regs", ")", ")", ")", ",", "gen_rtx_UNSPEC", "(", "BLKmode", ",", "gen_rtvec", "(", "1", ",", "reg", ")", ",", "UNSPEC_PUSH_MULT", ")", ")", ";", "if", "(", "dwarf_regs_mask", "&", "(", "1", "<<", "i", ")", ")", "{", "tmp", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_frame_mem", "(", "SImode", ",", "stack_pointer_rtx", ")", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "tmp", ")", "=", "1", ";", "XVECEXP", "(", "dwarf", ",", "0", ",", "dwarf_par_index", "++", ")", "=", "tmp", ";", "}", "break", ";", "}", "}", "for", "(", "j", "=", "1", ",", "i", "++", ";", "j", "<", "num_regs", ";", "i", "++", ")", "{", "if", "(", "mask", "&", "(", "1", "<<", "i", ")", ")", "{", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "i", ")", ";", "XVECEXP", "(", "par", ",", "0", ",", "j", ")", "=", "gen_rtx_USE", "(", "VOIDmode", ",", "reg", ")", ";", "if", "(", "dwarf_regs_mask", "&", "(", "1", "<<", "i", ")", ")", "{", "tmp", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "4", "*", "j", ")", ")", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "tmp", ")", "=", "1", ";", "XVECEXP", "(", "dwarf", ",", "0", ",", "dwarf_par_index", "++", ")", "=", "tmp", ";", "}", "j", "++", ";", "}", "}", "par", "=", "emit_insn", "(", "par", ")", ";", "tmp", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "4", "*", "num_regs", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "tmp", ")", "=", "1", ";", "XVECEXP", "(", "dwarf", ",", "0", ",", "0", ")", "=", "tmp", ";", "add_reg_note", "(", "par", ",", "REG_FRAME_RELATED_EXPR", ",", "dwarf", ")", ";", "return", "par", ";", "}", ""], "natrual_language": ["Generate", "and", "emit", "an", "insn", "that", "we", "will", "recognize", "as", "a", "push_multi", ".", "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", "0", "0", "1", "0", "1", "1", "16", "0", "1", "1", "0", "1", "0", "0", "4", "1", "1", "1", "0", "1", "1", "0", "1", "4", "1", "0", "4", "1", "0", "0"], "File": "arm4", "Func": "emit_multi_reg_push", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13139, "Length": 453, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "X86Subtarget", "::", "ClassifyGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "const", "TargetMachine", "&", "TM", ")", "const", "{", "if", "(", "GV", "->", "hasDLLImportStorageClass", "(", ")", ")", "return", "X86II", "::", "MO_DLLIMPORT", ";", "bool", "isDef", "=", "GV", "->", "isStrongDefinitionForLinker", "(", ")", ";", "if", "(", "isPICStyleRIPRel", "(", ")", ")", "{", "if", "(", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "if", "(", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "GV", "->", "hasDefaultVisibility", "(", ")", "&&", "!", "isDef", ")", "return", "X86II", "::", "MO_GOTPCREL", ";", "}", "else", "if", "(", "!", "isTargetWin64", "(", ")", ")", "{", "assert", "(", "isTargetELF", "(", ")", "&&", "\"Unknown rip-relative target\"", ")", ";", "if", "(", "!", "GV", "->", "hasLocalLinkage", "(", ")", "&&", "GV", "->", "hasDefaultVisibility", "(", ")", ")", "return", "X86II", "::", "MO_GOTPCREL", ";", "}", "return", "X86II", "::", "MO_NO_FLAG", ";", "}", "if", "(", "isPICStyleGOT", "(", ")", ")", "{", "if", "(", "GV", "->", "hasLocalLinkage", "(", ")", "||", "GV", "->", "hasHiddenVisibility", "(", ")", ")", "return", "X86II", "::", "MO_GOTOFF", ";", "return", "X86II", "::", "MO_GOT", ";", "}", "if", "(", "isPICStyleStubPIC", "(", ")", ")", "{", "if", "(", "isDef", ")", "return", "X86II", "::", "MO_PIC_BASE_OFFSET", ";", "if", "(", "!", "GV", "->", "hasHiddenVisibility", "(", ")", ")", "return", "X86II", "::", "MO_DARWIN_NONLAZY_PIC_BASE", ";", "if", "(", "GV", "->", "isDeclarationForLinker", "(", ")", "||", "GV", "->", "hasCommonLinkage", "(", ")", ")", "{", "return", "X86II", "::", "MO_DARWIN_HIDDEN_NONLAZY_PIC_BASE", ";", "}", "return", "X86II", "::", "MO_PIC_BASE_OFFSET", ";", "}", "if", "(", "isPICStyleStubNoDynamic", "(", ")", ")", "{", "if", "(", "isDef", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "if", "(", "!", "GV", "->", "hasHiddenVisibility", "(", ")", ")", "return", "X86II", "::", "MO_DARWIN_NONLAZY", ";", "return", "X86II", "::", "MO_NO_FLAG", ";", "}", "return", "X86II", "::", "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": ["X86", "X86", "X86II::MO_DLLIMPORT", "X86II::MO_NO_FLAG", "X86II::MO_GOTPCREL", "\"Unknown rip-relative target\"", "X86II::MO_GOTPCREL", "X86II::MO_NO_FLAG", "X86II::MO_GOTOFF", "X86II::MO_GOT", "X86II::MO_PIC_BASE_OFFSET", "X86II::MO_DARWIN_NONLAZY_PIC_BASE", "X86II::MO_DARWIN_HIDDEN_NONLAZY_PIC_BASE", "X86II::MO_PIC_BASE_OFFSET", "X86II::MO_NO_FLAG", "X86II::MO_DARWIN_NONLAZY", "X86II::MO_NO_FLAG", "X86II::MO_NO_FLAG"], "File": "X86Subtarget (2)", "Func": "ClassifyGlobalReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13140, "Length": 264, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "VETargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", ",", "LLVMContext", "&", ",", "EVT", "VT", ")", "const", "{", "return", "MVT", "::", "i32", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["VE", "VE", "MVT::i32"], "File": "VEISelLowering", "Func": "getSetCCResultType", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13141, "Length": 23, "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": 13142, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZFrameLowering", "::", "assignCalleeSavedSpillSlots", "(", "MachineFunction", "&", "MF", ",", "const", "TargetRegisterInfo", "*", "TRI", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "SystemZMachineFunctionInfo", "*", "ZFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "MachineFrameInfo", "&", "MFFrame", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "bool", "IsVarArg", "=", "MF", ".", "getFunction", "(", ")", ".", "isVarArg", "(", ")", ";", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "true", ";", "unsigned", "LowGPR", "=", "0", ";", "unsigned", "HighGPR", "=", "SystemZ", "::", "R15D", ";", "int", "StartSPOffset", "=", "SystemZMC", "::", "CallFrameSize", ";", "for", "(", "auto", "&", "CS", ":", "CSI", ")", "{", "unsigned", "Reg", "=", "CS", ".", "getReg", "(", ")", ";", "int", "Offset", "=", "getRegSpillOffset", "(", "MF", ",", "Reg", ")", ";", "if", "(", "Offset", ")", "{", "if", "(", "SystemZ", "::", "GR64BitRegClass", ".", "contains", "(", "Reg", ")", "&&", "StartSPOffset", ">", "Offset", ")", "{", "LowGPR", "=", "Reg", ";", "StartSPOffset", "=", "Offset", ";", "}", "Offset", "-=", "SystemZMC", "::", "CallFrameSize", ";", "int", "FrameIdx", "=", "MFFrame", ".", "CreateFixedSpillStackObject", "(", "8", ",", "Offset", ")", ";", "CS", ".", "setFrameIdx", "(", "FrameIdx", ")", ";", "}", "else", "CS", ".", "setFrameIdx", "(", "INT32_MAX", ")", ";", "}", "ZFI", "->", "setRestoreGPRRegs", "(", "LowGPR", ",", "HighGPR", ",", "StartSPOffset", ")", ";", "if", "(", "IsVarArg", ")", "{", "unsigned", "FirstGPR", "=", "ZFI", "->", "getVarArgsFirstGPR", "(", ")", ";", "if", "(", "FirstGPR", "<", "SystemZ", "::", "NumArgGPRs", ")", "{", "unsigned", "Reg", "=", "SystemZ", "::", "ArgGPRs", "[", "FirstGPR", "]", ";", "int", "Offset", "=", "getRegSpillOffset", "(", "MF", ",", "Reg", ")", ";", "if", "(", "StartSPOffset", ">", "Offset", ")", "{", "LowGPR", "=", "Reg", ";", "StartSPOffset", "=", "Offset", ";", "}", "}", "}", "ZFI", "->", "setSpillGPRRegs", "(", "LowGPR", ",", "HighGPR", ",", "StartSPOffset", ")", ";", "int", "CurrOffset", "=", "-", "SystemZMC", "::", "CallFrameSize", ";", "if", "(", "usePackedStack", "(", "MF", ")", ")", "CurrOffset", "+=", "StartSPOffset", ";", "for", "(", "auto", "&", "CS", ":", "CSI", ")", "{", "if", "(", "CS", ".", "getFrameIdx", "(", ")", "!=", "INT32_MAX", ")", "continue", ";", "unsigned", "Reg", "=", "CS", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "unsigned", "Size", "=", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", ";", "CurrOffset", "-=", "Size", ";", "assert", "(", "CurrOffset", "%", "8", "==", "0", "&&", "\"8-byte alignment required for for all register save slots\"", ")", ";", "int", "FrameIdx", "=", "MFFrame", ".", "CreateFixedSpillStackObject", "(", "Size", ",", "CurrOffset", ")", ";", "CS", ".", "setFrameIdx", "(", "FrameIdx", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["This", "function", "will", "assign", "callee", "saved", "gprs", "to", "volatile", "vector", "registers", "for", "prologue", "spills", "when", "applicable", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "0", "SystemZ::R15D", "SystemZMC::CallFrameSize", "SystemZ::GR64BitRegClass", "SystemZMC::CallFrameSize", "8", "SystemZ::NumArgGPRs", "SystemZ::ArgGPRs", "SystemZMC::CallFrameSize", "8", "0", "\"8-byte alignment required for for all register save slots\""], "File": "SystemZFrameLowering1", "Func": "assignCalleeSavedSpillSlots", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13143, "Length": 378, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MipsSubtarget", "&", "MipsSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetMachine", "&", "TM", ")", "{", "StringRef", "CPUName", "=", "MIPS_MC", "::", "selectMipsCPU", "(", "TM", ".", "getTargetTriple", "(", ")", ",", "CPU", ")", ";", "std", "::", "string", "CheriFeatures", ";", "if", "(", "TM", ".", "getTargetTriple", "(", ")", ".", "getEnvironment", "(", ")", "==", "llvm", "::", "Triple", "::", "CheriPurecap", ")", "{", "if", "(", "FS", ".", "empty", "(", ")", ")", "FS", "=", "\"+cheri128\"", ";", "else", "{", "CheriFeatures", "=", "FS", ".", "str", "(", ")", ";", "if", "(", "!", "FS", ".", "contains", "(", "\"+cheri256\"", ")", "&&", "!", "FS", ".", "contains", "(", "\"+cheri64\"", ")", ")", "CheriFeatures", "+=", "\",+cheri128\"", ";", "FS", "=", "CheriFeatures", ";", "}", "}", "ParseSubtargetFeatures", "(", "CPUName", ",", "CPUName", ",", "FS", ")", ";", "InstrItins", "=", "getInstrItineraryForCPU", "(", "CPUName", ")", ";", "if", "(", "InMips16Mode", "&&", "!", "IsSoftFloat", ")", "InMips16HardFloat", "=", "true", ";", "if", "(", "StackAlignOverride", ")", "stackAlignment", "=", "*", "StackAlignOverride", ";", "else", "if", "(", "isCheri", "(", ")", ")", "{", "if", "(", "isCheri256", "(", ")", ")", "stackAlignment", "=", "Align", "(", "32", ")", ";", "else", "stackAlignment", "=", "Align", "(", "16", ")", ";", "}", "else", "if", "(", "isABI_N32", "(", ")", "||", "isABI_N64", "(", ")", ")", "stackAlignment", "=", "Align", "(", "16", ")", ";", "else", "{", "assert", "(", "isABI_O32", "(", ")", "&&", "\"Unknown ABI for stack alignment!\"", ")", ";", "stackAlignment", "=", "Align", "(", "8", ")", ";", "}", "if", "(", "(", "isABI_N32", "(", ")", "||", "isABI_N64", "(", ")", ")", "&&", "!", "isGP64bit", "(", ")", ")", "report_fatal_error", "(", "\"64-bit code requested on a subtarget that doesn't \"", "\"support it!\"", ")", ";", "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_MC::selectMipsCPU", "\"+cheri128\"", "\"+cheri256\"", "\"+cheri64\"", "\",+cheri128\"", "Mips", "Mips", "32", "16", "16", "\"Unknown ABI for stack alignment!\"", "8", "\"64-bit code requested on a subtarget that doesn't \"", "\"support it!\""], "File": "MipsSubtarget37", "Func": "initializeSubtargetDependencies", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13144, "Length": 239, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_pwrite_stream", "&", "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": "SystemZMCAsmBackend", "Func": "createObjectWriter", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13145, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ")", "{", "if", "(", "!", "ST", "->", "isMClass", "(", ")", ")", "return", "BasicTTIImplBase", "::", "getUnrollingPreferences", "(", "L", ",", "SE", ",", "UP", ")", ";", "UP", ".", "OptSizeThreshold", "=", "0", ";", "UP", ".", "PartialOptSizeThreshold", "=", "0", ";", "if", "(", "L", "->", "getHeader", "(", ")", "->", "getParent", "(", ")", "->", "hasOptSize", "(", ")", ")", "return", ";", "if", "(", "!", "ST", "->", "isThumb2", "(", ")", ")", "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", ";", "unsigned", "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", ".", "UpperBound", "=", "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": "ARMTargetTransformInfo29", "Func": "getUnrollingPreferences", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13146, "Length": 364, "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", ",", "*", "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"], "File": "ia64", "Func": "ia64_expand_compare", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13147, "Length": 482, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintWeight", "PPCTargetLowering", "::", "getSingleConstraintMatchWeight", "(", "AsmOperandInfo", "&", "info", ",", "const", "char", "*", "constraint", ")", "const", "{", "ConstraintWeight", "weight", "=", "CW_Invalid", ";", "Value", "*", "CallOperandVal", "=", "info", ".", "CallOperandVal", ";", "if", "(", "CallOperandVal", "==", "NULL", ")", "return", "CW_Default", ";", "Type", "*", "type", "=", "CallOperandVal", "->", "getType", "(", ")", ";", "switch", "(", "*", "constraint", ")", "{", "default", ":", "weight", "=", "TargetLowering", "::", "getSingleConstraintMatchWeight", "(", "info", ",", "constraint", ")", ";", "break", ";", "case", "'b'", ":", "if", "(", "type", "->", "isIntegerTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'f'", ":", "if", "(", "type", "->", "isFloatTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'d'", ":", "if", "(", "type", "->", "isDoubleTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'v'", ":", "if", "(", "type", "->", "isVectorTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'y'", ":", "weight", "=", "CW_Register", ";", "break", ";", "}", "return", "weight", ";", "}", ""], "natrual_language": ["Examine", "constraint", "string", "and", "operand", "type", "and", "determine", "a", "weight", "value", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCISelLowering113", "Func": "getSingleConstraintMatchWeight", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13148, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createPPCPreEmitPeepholePass", "(", ")", ")", ";", "addPass", "(", "createPPCExpandISELPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createPPCEarlyReturnPass", "(", ")", ")", ";", "addPass", "(", "createPPCBranchSelectionPass", "(", ")", ")", ";", "}", ""], "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": "PPCTargetMachine5", "Func": "addPreEmitPass", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13149, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_split_dimode_const_store", "(", "rtx", "dst", ",", "rtx", "src", ")", "{", "rtx", "lo", "=", "gen_lowpart", "(", "SImode", ",", "src", ")", ";", "rtx", "hi", "=", "gen_highpart_mode", "(", "SImode", ",", "DImode", ",", "src", ")", ";", "bool", "size_p", "=", "optimize_function_for_size_p", "(", "cfun", ")", ";", "if", "(", "!", "rtx_equal_p", "(", "lo", ",", "hi", ")", ")", "return", "false", ";", "unsigned", "int", "orig_cost", "=", "aarch64_internal_mov_immediate", "(", "NULL_RTX", ",", "src", ",", "false", ",", "DImode", ")", ";", "unsigned", "int", "lo_cost", "=", "aarch64_internal_mov_immediate", "(", "NULL_RTX", ",", "lo", ",", "false", ",", "SImode", ")", ";", "if", "(", "size_p", "&&", "orig_cost", "<=", "lo_cost", ")", "return", "false", ";", "if", "(", "!", "size_p", "&&", "(", "orig_cost", "<=", "lo_cost", "+", "1", ")", ")", "return", "false", ";", "rtx", "mem_lo", "=", "adjust_address", "(", "dst", ",", "SImode", ",", "0", ")", ";", "if", "(", "!", "aarch64_mem_pair_operand", "(", "mem_lo", ",", "SImode", ")", ")", "return", "false", ";", "rtx", "tmp_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "aarch64_expand_mov_immediate", "(", "tmp_reg", ",", "lo", ")", ";", "rtx", "mem_hi", "=", "aarch64_move_pointer", "(", "mem_lo", ",", "GET_MODE_SIZE", "(", "SImode", ")", ")", ";", "emit_move_insn", "(", "mem_lo", ",", "tmp_reg", ")", ";", "emit_move_insn", "(", "mem_hi", ",", "tmp_reg", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Split", "a", "DImode", "store", "of", "a", "CONST_INT", "SRC", "to", "MEM", "DST", "as", "two", "SImode", "stores", ".", "Handle", "the", "case", "when", "the", "constant", "has", "identical", "bottom", "and", "top", "halves", ".", "This", "is", "beneficial", "when", "the", "two", "stores", "can", "be", "merged", "into", "an", "STP", "and", "we", "avoid", "synthesising", "potentially", "expensive", "immediates", "twice", ".", "Return", "true", "if", "such", "a", "split", "is", "possible", "."], "TS_V_token": ["aarch64", "1", "0"], "File": "aarch64", "Func": "aarch64_split_dimode_const_store", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13150, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "return", "createARMELFObjectWriter", "(", "OS", ",", "OSABI", ",", "isLittle", "(", ")", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMAsmBackend40", "Func": "createObjectWriter", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13151, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_rint", "(", "rtx", "operand0", ",", "rtx", "operand1", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "operand0", ")", ";", "rtx", "res", ",", "xa", ",", "TWO52", ",", "mask", ";", "rtx_code_label", "*", "label", ";", "TWO52", "=", "ix86_gen_TWO52", "(", "mode", ")", ";", "res", "=", "copy_to_reg", "(", "operand1", ")", ";", "xa", "=", "ix86_expand_sse_fabs", "(", "res", ",", "&", "mask", ")", ";", "label", "=", "ix86_expand_sse_compare_and_jump", "(", "UNLE", ",", "TWO52", ",", "xa", ",", "false", ")", ";", "if", "(", "flag_rounding_math", ")", "{", "ix86_sse_copysign_to_positive", "(", "TWO52", ",", "TWO52", ",", "res", ",", "mask", ")", ";", "xa", "=", "res", ";", "}", "xa", "=", "expand_simple_binop", "(", "mode", ",", "PLUS", ",", "xa", ",", "TWO52", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "xa", "=", "expand_simple_binop", "(", "mode", ",", "MINUS", ",", "xa", ",", "TWO52", ",", "xa", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "if", "(", "HONOR_SIGNED_ZEROS", "(", "mode", ")", "&&", "flag_rounding_math", ")", "xa", "=", "ix86_expand_sse_fabs", "(", "xa", ",", "NULL", ")", ";", "ix86_sse_copysign_to_positive", "(", "res", ",", "xa", ",", "res", ",", "mask", ")", ";", "emit_label", "(", "label", ")", ";", "LABEL_NUSES", "(", "label", ")", "=", "1", ";", "emit_move_insn", "(", "operand0", ",", "res", ")", ";", "}", ""], "natrual_language": ["Expand", "rint", "(", "IEEE", "round", "to", "nearest", ")", "rounding", "OPERAND1", "and", "storing", "the", "result", "in", "OPERAND0", "."], "TS_V_token": ["i386", "0", "0", "1"], "File": "i386-expand", "Func": "ix86_expand_rint", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13152, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "is_fast_interrupt_func", "(", "const_tree", "decl", ")", "{", "return", "has_func_attr", "(", "decl", ",", "\"fast_interrupt\"", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "provided", "function", "has", "the", "``", "fast_interrupt", "''", "attribute", "."], "TS_V_token": ["rx", "\"fast_interrupt\""], "File": "rx", "Func": "is_fast_interrupt_func", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13153, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "call_ABI_of_interest", "(", "tree", "fndecl", ")", "{", "if", "(", "rs6000_gnu_attr", "&&", "symtab", "->", "state", "==", "EXPANSION", ")", "{", "struct", "cgraph_node", "*", "c_node", ";", "if", "(", "fndecl", "==", "NULL_TREE", ")", "return", "true", ";", "if", "(", "DECL_EXTERNAL", "(", "fndecl", ")", ")", "return", "true", ";", "c_node", "=", "cgraph_node", "::", "get", "(", "fndecl", ")", ";", "c_node", "=", "c_node", "->", "ultimate_alias_target", "(", ")", ";", "return", "!", "c_node", "->", "only_called_directly_p", "(", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "a", "call", "to", "function", "FNDECL", "may", "be", "one", "that", "potentially", "affects", "the", "function", "calling", "ABI", "of", "the", "object", "file", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "call_ABI_of_interest", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13154, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "&", "MI", ",", "Register", "&", "SrcReg", ",", "Register", "&", "SrcReg2", ",", "int64_t", "&", "Mask", ",", "int64_t", "&", "Value", ")", "const", "{", "assert", "(", "MI", ".", "isCompare", "(", ")", "&&", "\"Caller should have checked for a comparison\"", ")", ";", "if", "(", "MI", ".", "getNumExplicitOperands", "(", ")", "==", "2", "&&", "MI", ".", "getOperand", "(", "0", ")", ".", "isReg", "(", ")", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", ")", "{", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "0", ";", "Value", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "Mask", "=", "~", "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": ["SystemZ", "SystemZ", "\"Caller should have checked for a comparison\"", "2", "0", "1", "0", "0", "1", "0"], "File": "SystemZInstrInfo16", "Func": "analyzeCompare", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13155, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86TargetLowering", "::", "getScalingFactorCost", "(", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ")", "const", "{", "if", "(", "isLegalAddressingMode", "(", "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": "X86ISelLowering171", "Func": "getScalingFactorCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13156, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcAsmPrinter", "::", "emitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "return", ";", "case", "SP", "::", "GETPCX", ":", "LowerGETPCXAndEmitMCInsts", "(", "MI", ",", "getSubtargetInfo", "(", ")", ")", ";", "return", ";", "}", "MachineBasicBlock", "::", "const_instr_iterator", "I", "=", "MI", "->", "getIterator", "(", ")", ";", "MachineBasicBlock", "::", "const_instr_iterator", "E", "=", "MI", "->", "getParent", "(", ")", "->", "instr_end", "(", ")", ";", "do", "{", "MCInst", "TmpInst", ";", "LowerSparcMachineInstrToMCInst", "(", "&", "*", "I", ",", "TmpInst", ",", "*", "this", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "TmpInst", ")", ";", "}", "while", "(", "(", "++", "I", "!=", "E", ")", "&&", "I", "->", "isInsideBundle", "(", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["Sparc", "Sparc", "SP::GETPCX", "Sparc"], "File": "SparcAsmPrinter17", "Func": "emitInstruction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13157, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "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", "(", "I", "->", "getOpcode", "(", ")", "==", "AArch64", "::", "SpeculationBarrierISBDSBEndBB", "||", "I", "->", "getOpcode", "(", ")", "==", "AArch64", "::", "SpeculationBarrierSBEndBB", ")", "{", "--", "I", ";", "}", "if", "(", "!", "isUnpredicatedTerminator", "(", "*", "I", ")", ")", "return", "false", ";", "MachineInstr", "*", "LastInst", "=", "&", "*", "I", ";", "unsigned", "LastOpc", "=", "LastInst", "->", "getOpcode", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", "||", "!", "isUnpredicatedTerminator", "(", "*", "--", "I", ")", ")", "{", "if", "(", "isUncondBranchOpcode", "(", "LastOpc", ")", ")", "{", "TBB", "=", "LastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "return", "false", ";", "}", "if", "(", "isCondBranchOpcode", "(", "LastOpc", ")", ")", "{", "parseCondBranch", "(", "LastInst", ",", "TBB", ",", "Cond", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", "MachineInstr", "*", "SecondLastInst", "=", "&", "*", "I", ";", "unsigned", "SecondLastOpc", "=", "SecondLastInst", "->", "getOpcode", "(", ")", ";", "if", "(", "AllowModify", "&&", "isUncondBranchOpcode", "(", "LastOpc", ")", ")", "{", "while", "(", "isUncondBranchOpcode", "(", "SecondLastOpc", ")", ")", "{", "LastInst", "->", "eraseFromParent", "(", ")", ";", "LastInst", "=", "SecondLastInst", ";", "LastOpc", "=", "LastInst", "->", "getOpcode", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", "||", "!", "isUnpredicatedTerminator", "(", "*", "--", "I", ")", ")", "{", "TBB", "=", "LastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "return", "false", ";", "}", "else", "{", "SecondLastInst", "=", "&", "*", "I", ";", "SecondLastOpc", "=", "SecondLastInst", "->", "getOpcode", "(", ")", ";", "}", "}", "}", "if", "(", "SecondLastInst", "&&", "I", "!=", "MBB", ".", "begin", "(", ")", "&&", "isUnpredicatedTerminator", "(", "*", "--", "I", ")", ")", "return", "true", ";", "if", "(", "isCondBranchOpcode", "(", "SecondLastOpc", ")", "&&", "isUncondBranchOpcode", "(", "LastOpc", ")", ")", "{", "parseCondBranch", "(", "SecondLastInst", ",", "TBB", ",", "Cond", ")", ";", "FBB", "=", "LastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "return", "false", ";", "}", "if", "(", "isUncondBranchOpcode", "(", "SecondLastOpc", ")", "&&", "isUncondBranchOpcode", "(", "LastOpc", ")", ")", "{", "TBB", "=", "SecondLastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "I", "=", "LastInst", ";", "if", "(", "AllowModify", ")", "I", "->", "eraseFromParent", "(", ")", ";", "return", "false", ";", "}", "if", "(", "isIndirectBranchOpcode", "(", "SecondLastOpc", ")", "&&", "isUncondBranchOpcode", "(", "LastOpc", ")", ")", "{", "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": ["AArch64", "AArch64", "AArch64::SpeculationBarrierISBDSBEndBB", "AArch64::SpeculationBarrierSBEndBB", "0", "0", "0", "0"], "File": "AArch64InstrInfo121", "Func": "analyzeBranch", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13158, "Length": 428, "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": 13159, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "standard_80387_constant_p", "(", "rtx", "x", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "x", ")", ";", "REAL_VALUE_TYPE", "r", ";", "if", "(", "!", "(", "X87_FLOAT_MODE_P", "(", "mode", ")", "&&", "(", "GET_CODE", "(", "x", ")", "==", "CONST_DOUBLE", ")", ")", ")", "return", "-", "1", ";", "if", "(", "x", "==", "CONST0_RTX", "(", "mode", ")", ")", "return", "1", ";", "if", "(", "x", "==", "CONST1_RTX", "(", "mode", ")", ")", "return", "2", ";", "REAL_VALUE_FROM_CONST_DOUBLE", "(", "r", ",", "x", ")", ";", "if", "(", "mode", "==", "XFmode", "&&", "(", "optimize_function_for_size_p", "(", "cfun", ")", "||", "TARGET_EXT_80387_CONSTANTS", ")", ")", "{", "int", "i", ";", "if", "(", "!", "ext_80387_constants_init", ")", "init_ext_80387_constants", "(", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "5", ";", "i", "++", ")", "if", "(", "real_identical", "(", "&", "r", ",", "&", "ext_80387_constants_table", "[", "i", "]", ")", ")", "return", "i", "+", "3", ";", "}", "if", "(", "real_isnegzero", "(", "&", "r", ")", ")", "return", "8", ";", "if", "(", "real_identical", "(", "&", "r", ",", "&", "dconstm1", ")", ")", "return", "9", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "constant", "is", "something", "that", "can", "be", "loaded", "with", "a", "special", "instruction", "."], "TS_V_token": ["i386", "1", "1", "2", "0", "5", "3", "8", "9", "0"], "File": "i3864", "Func": "standard_80387_constant_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13160, "Length": 162, "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", ")", "&&", "!", "HONOR_NANS", "(", "compare_mode", ")", "&&", "!", "HONOR_SIGNED_ZEROS", "(", "compare_mode", ")", ")", "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": ["rs6000", "0", "1", "0", "0", "0", "1"], "File": "rs6000", "Func": "rs6000_emit_p9_fp_minmax", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13161, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_cannot_copy_insn_p", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "recog_memoized", "(", "insn", ")", "==", "CODE_FOR_tlscall", ")", "return", "true", ";", "subrtx_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX", "(", "iter", ",", "array", ",", "PATTERN", "(", "insn", ")", ",", "ALL", ")", "{", "const_rtx", "x", "=", "*", "iter", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", "&&", "(", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_PIC_BASE", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_PIC_UNIFIED", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Must", "not", "copy", "any", "rtx", "that", "uses", "a", "pc-relative", "address", "."], "TS_V_token": ["arm", "1", "1"], "File": "arm4", "Func": "arm_cannot_copy_insn_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13162, "Length": 83, "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": 13163, "Length": 257, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "sbitmap", "rs6000_get_separate_components", "(", "void", ")", "{", "rs6000_stack_t", "*", "info", "=", "rs6000_stack_info", "(", ")", ";", "if", "(", "WORLD_SAVE_P", "(", "info", ")", ")", "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", ")", "&&", "save_reg_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", ")", ";", "}", "if", "(", "cfun", "->", "machine", "->", "save_toc_in_prologue", ")", "bitmap_set_bit", "(", "components", ",", "2", ")", ";", "return", "components", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SHRINK_WRAP_GET_SEPARATE_COMPONENTS", "."], "TS_V_token": ["rs6000", "64", "4", "8", "8", "32", "0x8000", "0x7fff", "1", "64", "0x8000", "0x7fff", "0x8000", "0x7fff", "0", "2"], "File": "rs6000-logue", "Func": "rs6000_get_separate_components", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13164, "Length": 426, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86EncodeLiteralsPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "Changed", "=", "false", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "TII", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "if", "(", "!", "EnableEncodeLiterals", ")", "return", "false", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "unsigned", "Index", "=", "0", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "MI", "=", "MBB", ".", "begin", "(", ")", ",", "E", "=", "MBB", ".", "end", "(", ")", ";", "MI", "!=", "E", ";", "++", "MI", ",", "++", "Index", ")", "{", "if", "(", "isStoreLocalValue", "(", "*", "MI", ")", ")", "{", "obfuscateLiteralOperand", "(", "MF", ",", "*", "MI", ",", "Index", ")", ";", "Changed", "=", "true", ";", "}", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "0"], "File": "X86EncodeLiterals", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13165, "Length": 138, "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", "::", "BteqzT8CmpX16", ":", "return", "Mips", "::", "BtnezT8CmpX16", ";", "case", "Mips", "::", "BteqzT8SltX16", ":", "return", "Mips", "::", "BtnezT8SltX16", ";", "case", "Mips", "::", "BteqzT8SltiX16", ":", "return", "Mips", "::", "BtnezT8SltiX16", ";", "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", "::", "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::BteqzT8CmpX16", "Mips::BtnezT8CmpX16", "Mips::BteqzT8SltX16", "Mips::BtnezT8SltX16", "Mips::BteqzT8SltiX16", "Mips::BtnezT8SltiX16", "Mips::BtnezX16", "Mips::BteqzX16", "Mips::BtnezT8CmpiX16", "Mips::BteqzT8CmpiX16", "Mips::BtnezT8SltuX16", "Mips::BteqzT8SltuX16", "Mips::BtnezT8SltiuX16", "Mips::BteqzT8SltiuX16", "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": "Mips16InstrInfo1", "Func": "getOppositeBranchOpc", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13166, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "aarch64_simd_vector_alignment", "(", "const_tree", "type", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "TYPE_MODE", "(", "type", ")", ")", "==", "MODE_VECTOR_BOOL", ")", "return", "16", ";", "widest_int", "min_size", "=", "constant_lower_bound", "(", "wi", "::", "to_poly_widest", "(", "TYPE_SIZE", "(", "type", ")", ")", ")", ";", "return", "wi", "::", "umin", "(", "min_size", ",", "128", ")", ".", "to_uhwi", "(", ")", ";", "}", ""], "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"], "File": "aarch64", "Func": "aarch64_simd_vector_alignment", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13167, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "KudeyarFrameLowering", "::", "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", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "if", "(", "CSI", ".", "size", "(", ")", ">", "1", ")", "{", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "Kudeyar", "::", "POPA", ")", ")", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "MIB", ".", "addReg", "(", "Reg", ",", "getDefRegState", "(", "true", ")", ")", ";", "}", "}", "else", "{", "unsigned", "Reg", "=", "CSI", "[", "0", "]", ".", "getReg", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "Kudeyar", "::", "POP_R", ")", ",", "Reg", ")", ";", "}", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "Kudeyar", "::", "POP_R", ")", ",", "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": ["Kudeyar", "Kudeyar", "1", "Kudeyar::POPA", "0", "1", "0", "Kudeyar::POP_R", "0", "Kudeyar::POP_R"], "File": "KudeyarFrameLowering", "Func": "restoreCalleeSavedRegisters", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13168, "Length": 257, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLoweringBase", "::", "LegalizeTypeAction", "X86TargetLowering", "::", "getPreferredVectorAction", "(", "EVT", "VT", ")", "const", "{", "if", "(", "ExperimentalVectorWideningLegalization", "&&", "VT", ".", "getVectorNumElements", "(", ")", "!=", "1", "&&", "VT", ".", "getVectorElementType", "(", ")", ".", "getSimpleVT", "(", ")", "!=", "MVT", "::", "i1", ")", "return", "TypeWidenVector", ";", "return", "TargetLoweringBase", "::", "getPreferredVectorAction", "(", "VT", ")", ";", "}", ""], "natrual_language": ["Customize", "the", "preferred", "legalization", "strategy", "for", "certain", "types", "."], "TS_V_token": ["X86", "X86", "1", "MVT::i1"], "File": "X86ISelLowering (2)", "Func": "getPreferredVectorAction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13169, "Length": 50, "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": 13170, "Length": 34, "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": ["AArch64"], "File": "AArch64AsmParser13", "Func": "isImm", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13171, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "emit_fusion_p9_load", "(", "rtx", "reg", ",", "rtx", "mem", ",", "rtx", "tmp_reg", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "reg", ")", ";", "rtx", "hi", ";", "rtx", "lo", ";", "rtx", "addr", ";", "const", "char", "*", "load_string", ";", "int", "r", ";", "if", "(", "GET_CODE", "(", "mem", ")", "==", "FLOAT_EXTEND", "||", "GET_CODE", "(", "mem", ")", "==", "ZERO_EXTEND", ")", "{", "mem", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "}", "if", "(", "GET_CODE", "(", "reg", ")", "==", "SUBREG", ")", "{", "gcc_assert", "(", "SUBREG_BYTE", "(", "reg", ")", "==", "0", ")", ";", "reg", "=", "SUBREG_REG", "(", "reg", ")", ";", "}", "if", "(", "!", "REG_P", "(", "reg", ")", ")", "fatal_insn", "(", "\"emit_fusion_p9_load, bad reg #1\"", ",", "reg", ")", ";", "r", "=", "REGNO", "(", "reg", ")", ";", "if", "(", "FP_REGNO_P", "(", "r", ")", ")", "{", "if", "(", "mode", "==", "SFmode", ")", "load_string", "=", "\"lfs\"", ";", "else", "if", "(", "mode", "==", "DFmode", "||", "mode", "==", "DImode", ")", "load_string", "=", "\"lfd\"", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "else", "if", "(", "ALTIVEC_REGNO_P", "(", "r", ")", "&&", "TARGET_P9_VECTOR", ")", "{", "if", "(", "mode", "==", "SFmode", ")", "load_string", "=", "\"lxssp\"", ";", "else", "if", "(", "mode", "==", "DFmode", "||", "mode", "==", "DImode", ")", "load_string", "=", "\"lxsd\"", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "else", "if", "(", "INT_REGNO_P", "(", "r", ")", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "load_string", "=", "\"lbz\"", ";", "break", ";", "case", "E_HImode", ":", "load_string", "=", "\"lhz\"", ";", "break", ";", "case", "E_SImode", ":", "case", "E_SFmode", ":", "load_string", "=", "\"lwz\"", ";", "break", ";", "case", "E_DImode", ":", "case", "E_DFmode", ":", "if", "(", "!", "TARGET_POWERPC64", ")", "gcc_unreachable", "(", ")", ";", "load_string", "=", "\"ld\"", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "fatal_insn", "(", "\"emit_fusion_p9_load, bad reg #2\"", ",", "reg", ")", ";", "if", "(", "!", "MEM_P", "(", "mem", ")", ")", "fatal_insn", "(", "\"emit_fusion_p9_load not MEM\"", ",", "mem", ")", ";", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "fusion_split_address", "(", "addr", ",", "&", "hi", ",", "&", "lo", ")", ";", "emit_fusion_addis", "(", "tmp_reg", ",", "hi", ")", ";", "emit_fusion_load_store", "(", "reg", ",", "tmp_reg", ",", "lo", ",", "load_string", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Return", "a", "string", "to", "fuse", "an", "addis", "instruction", "with", "a", "load", "using", "extended", "fusion", ".", "The", "address", "that", "is", "used", "is", "the", "logical", "address", "that", "was", "formed", "during", "peephole2", ":", "(", "lo_sum", "(", "high", ")", "(", "low-part", ")", ")", "The", "code", "is", "complicated", ",", "so", "we", "call", "output_asm_insn", "directly", ",", "and", "just", "return", "``", "''", "."], "TS_V_token": ["rs6000", "0", "0", "\"emit_fusion_p9_load, bad reg #1\"", "\"lfs\"", "\"lfd\"", "\"lxssp\"", "\"lxsd\"", "\"lbz\"", "\"lhz\"", "\"lwz\"", "\"ld\"", "\"emit_fusion_p9_load, bad reg #2\"", "\"emit_fusion_p9_load not MEM\"", "0", "\"\""], "File": "rs60007", "Func": "emit_fusion_p9_load", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13172, "Length": 343, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "shouldInsertFencesForAtomic", "(", "const", "Instruction", "*", "I", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Helper", "functions", "for", "atomic", "operations", "."], "TS_V_token": ["Mips"], "File": "MipsISelLowering100", "Func": "shouldInsertFencesForAtomic", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13173, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isValid", "(", ")", "const", "{", "return", "ScalableBytes", "%", "2", "==", "0", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "this", "iterator", "is", "still", "pointing", "at", "a", "valid", "entry", "."], "TS_V_token": ["AArch64", "2", "0"], "File": "AArch64StackOffset", "Func": "isValid", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13174, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64BranchFixup", "::", "verify", "(", ")", "{", "for", "(", "MachineFunction", "::", "iterator", "MBBI", "=", "MF", "->", "begin", "(", ")", ",", "E", "=", "MF", "->", "end", "(", ")", ";", "MBBI", "!=", "E", ";", "++", "MBBI", ")", "{", "MachineBasicBlock", "*", "MBB", "=", "MBBI", ";", "unsigned", "MBBId", "=", "MBB", "->", "getNumber", "(", ")", ";", "assert", "(", "!", "MBBId", "||", "BBInfo", "[", "MBBId", "-", "1", "]", ".", "postOffset", "(", ")", "<=", "BBInfo", "[", "MBBId", "]", ".", "Offset", ")", ";", "}", "}", ""], "natrual_language": ["Check", "if", "this", "register", "bank", "is", "valid", "."], "TS_V_token": ["AArch64", "AArch64", "1"], "File": "AArch64BranchFixupPass1", "Func": "verify", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13175, "Length": 77, "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": 13176, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86RetpolineThunks", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "getPassName", "(", ")", "<<", "'\\n'", ")", ";", "TM", "=", "&", "MF", ".", "getTarget", "(", ")", ";", ";", "STI", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "Is64Bit", "=", "TM", "->", "getTargetTriple", "(", ")", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ";", "MMI", "=", "&", "getAnalysis", "<", "MachineModuleInfoWrapperPass", ">", "(", ")", ".", "getMMI", "(", ")", ";", "Module", "&", "M", "=", "const_cast", "<", "Module", "&", ">", "(", "*", "MMI", "->", "getModule", "(", ")", ")", ";", "if", "(", "!", "MF", ".", "getName", "(", ")", ".", "startswith", "(", "ThunkNamePrefix", ")", ")", "{", "if", "(", "InsertedThunks", ")", "return", "false", ";", "if", "(", "(", "!", "STI", "->", "useRetpolineIndirectCalls", "(", ")", "&&", "!", "STI", "->", "useRetpolineIndirectBranches", "(", ")", ")", "||", "STI", "->", "useRetpolineExternalThunk", "(", ")", ")", "return", "false", ";", "if", "(", "Is64Bit", ")", "createThunkFunction", "(", "M", ",", "R11ThunkName", ")", ";", "else", "for", "(", "StringRef", "Name", ":", "{", "EAXThunkName", ",", "ECXThunkName", ",", "EDXThunkName", ",", "EDIThunkName", "}", ")", "createThunkFunction", "(", "M", ",", "Name", ")", ";", "InsertedThunks", "=", "true", ";", "return", "true", ";", "}", "if", "(", "Is64Bit", ")", "{", "assert", "(", "MF", ".", "getName", "(", ")", "==", "\"__llvm_retpoline_r11\"", "&&", "\"Should only have an r11 thunk on 64-bit targets\"", ")", ";", "populateThunk", "(", "MF", ",", "X86", "::", "R11", ")", ";", "}", "else", "{", "if", "(", "MF", ".", "getName", "(", ")", "==", "EAXThunkName", ")", "populateThunk", "(", "MF", ",", "X86", "::", "EAX", ")", ";", "else", "if", "(", "MF", ".", "getName", "(", ")", "==", "ECXThunkName", ")", "populateThunk", "(", "MF", ",", "X86", "::", "ECX", ")", ";", "else", "if", "(", "MF", ".", "getName", "(", ")", "==", "EDXThunkName", ")", "populateThunk", "(", "MF", ",", "X86", "::", "EDX", ")", ";", "else", "if", "(", "MF", ".", "getName", "(", ")", "==", "EDIThunkName", ")", "populateThunk", "(", "MF", ",", "X86", "::", "EDI", ")", ";", "else", "llvm_unreachable", "(", "\"Invalid thunk name on x86-32!\"", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "\"__llvm_retpoline_r11\"", "\"Should only have an r11 thunk on 64-bit targets\"", "X86::R11", "X86::EAX", "X86::ECX", "X86::EDX", "X86::EDI", "\"Invalid thunk name on x86-32!\""], "File": "X86RetpolineThunks11", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13177, "Length": 312, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["ARM"], "File": "ARMConstantIslandPass15", "Func": "getAnalysisUsage", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13178, "Length": 27, "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": 13179, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "for", "(", "MachineFunction", "::", "iterator", "bItr", "=", "MF", ".", "begin", "(", ")", ";", "bItr", "!=", "MF", ".", "end", "(", ")", ";", "++", "bItr", ")", "{", "bool", "foundTestFunc", "=", "false", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "iItr", "=", "bItr", "->", "begin", "(", ")", ";", "iItr", "!=", "bItr", "->", "end", "(", ")", ";", "++", "iItr", ")", "{", "if", "(", "foundTestFunc", ")", "{", "errs", "(", ")", "<<", "*", "iItr", "<<", "\"\\n\"", ";", "}", "if", "(", "iItr", "->", "isCall", "(", ")", ")", "{", "MachineOperand", "MO", "=", "iItr", "->", "getOperand", "(", "0", ")", ";", "const", "GlobalValue", "*", "GV", "=", "MO", ".", "getGlobal", "(", ")", ";", "std", "::", "string", "funcName", "=", "GV", "->", "getName", "(", ")", ";", "if", "(", "!", "compareCallToFunctionNames", "(", "funcName", ")", ")", "{", "foundTestFunc", "=", "false", ";", "}", "else", "{", "foundTestFunc", "=", "true", ";", "}", "}", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "\"\\n\"", "0"], "File": "X86StackPointerTester", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13180, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZTargetLowering", "::", "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", "Subtarget", ".", "hasVectorEnhancements1", "(", ")", ";", "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": ["SystemZ", "SystemZ", "MVT::f32", "MVT::f64", "MVT::f128"], "File": "SystemZISelLowering (2)2", "Func": "isFMAFasterThanFMulAndFAdd", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13181, "Length": 80, "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", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "MipsCC", "MipsCCInfo", "(", "CallConv", ",", "Subtarget", ".", "isABI_O32", "(", ")", ",", "Subtarget", ".", "isFP64bit", "(", ")", ",", "CCInfo", ")", ";", "MipsCCInfo", ".", "analyzeCallResult", "(", "Ins", ",", "Subtarget", ".", "abiUsesSoftFloat", "(", ")", ",", "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": "MipsISelLowering125", "Func": "LowerCallResult", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13182, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetLowering", "::", "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", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "Context", ")", ";", "return", "CCInfo", ".", "CheckReturn", "(", "Outs", ",", "RetCC_Mips", ")", ";", "}", ""], "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": ["Mips", "Mips", "ISD::OutputArg", "16", "Mips"], "File": "MipsISelLowering (2)", "Func": "CanLowerReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13183, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_ssecom_setcc", "(", "const", "enum", "rtx_code", "comparison", ",", "bool", "check_unordered", ",", "machine_mode", "mode", ",", "rtx", "set_dst", ",", "rtx", "target", ")", "{", "rtx_code_label", "*", "label", "=", "NULL", ";", "if", "(", "check_unordered", ")", "{", "gcc_assert", "(", "comparison", "==", "EQ", "||", "comparison", "==", "NE", ")", ";", "rtx", "flag", "=", "gen_rtx_REG", "(", "CCFPmode", ",", "FLAGS_REG", ")", ";", "label", "=", "gen_label_rtx", "(", ")", ";", "rtx", "tmp", "=", "gen_rtx_fmt_ee", "(", "UNORDERED", ",", "VOIDmode", ",", "flag", ",", "const0_rtx", ")", ";", "tmp", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "tmp", ",", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "label", ")", ",", "pc_rtx", ")", ";", "emit_jump_insn", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "tmp", ")", ")", ";", "}", "if", "(", "GET_MODE", "(", "set_dst", ")", "!=", "mode", ")", "{", "gcc_assert", "(", "mode", "==", "CCAmode", "||", "mode", "==", "CCCmode", "||", "mode", "==", "CCOmode", "||", "mode", "==", "CCPmode", "||", "mode", "==", "CCSmode", "||", "mode", "==", "CCZmode", ")", ";", "set_dst", "=", "gen_rtx_REG", "(", "mode", ",", "FLAGS_REG", ")", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "gen_rtx_STRICT_LOW_PART", "(", "VOIDmode", ",", "target", ")", ",", "gen_rtx_fmt_ee", "(", "comparison", ",", "QImode", ",", "set_dst", ",", "const0_rtx", ")", ")", ")", ";", "if", "(", "label", ")", "emit_label", "(", "label", ")", ";", "return", "SUBREG_REG", "(", "target", ")", ";", "}", ""], "natrual_language": ["Subroutine", "of", "ix86_sse_comi", "and", "ix86_sse_comi_round", "to", "take", "care", "of", "*", "ordered", "EQ", "or", "unordered", "NE", ",", "generate", "PF", "jump", "."], "TS_V_token": ["i386"], "File": "i386-expand1", "Func": "ix86_ssecom_setcc", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13184, "Length": 190, "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", ",", "SDLoc", "DL", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "MipsCC", "MipsCCInfo", "(", "CallConv", ",", "Subtarget", ".", "isABI_O32", "(", ")", ",", "Subtarget", ".", "isFP64bit", "(", ")", ",", "CCInfo", ")", ";", "MipsCCInfo", ".", "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", "=", "OutVals", "[", "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", "(", ")", ")", "{", "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", "(", ")", ")", ";", "unsigned", "V0", "=", "Subtarget", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "V0_64", ":", "Mips", "::", "V0", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "V0", ",", "Val", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "V0", ",", "getPointerTy", "(", ")", ")", ")", ";", "}", "RetOps", "[", "0", "]", "=", "Chain", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "RetOps", ".", "push_back", "(", "Flag", ")", ";", "return", "DAG", ".", "getNode", "(", "MipsISD", "::", "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": ["Mips", "Mips", "ISD::OutputArg", "16", "Mips", "Mips", "Mips", "4", "1", "0", "\"Can only return in registers!\"", "ISD::BITCAST", "1", "Mips", "Mips", "Mips", "Mips", "\"sret virtual register not created in the entry block\"", "Mips::V0_64", "Mips::V0", "1", "0", "MipsISD::Ret", "MVT::Other"], "File": "MipsISelLowering125", "Func": "LowerReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13185, "Length": 447, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "pcrel_opt_pass", "(", "function", "*", "fun", ")", "{", "basic_block", "bb", ";", "rtx_insn", "*", "insn", ",", "*", "curr_insn", "=", "0", ";", "memset", "(", "&", "counters", ",", "0", ",", "sizeof", "(", "counters", ")", ")", ";", "df_set_flags", "(", "DF_RD_PRUNE_DEAD_DEFS", ")", ";", "df_chain_add_problem", "(", "DF_DU_CHAIN", "+", "DF_UD_CHAIN", ")", ";", "df_note_add_problem", "(", ")", ";", "df_analyze", "(", ")", ";", "df_set_flags", "(", "DF_DEFER_INSN_RESCAN", "|", "DF_LR_RUN_DCE", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"\\n\"", ")", ";", "FOR_ALL_BB_FN", "(", "bb", ",", "fun", ")", "{", "FOR_BB_INSNS_SAFE", "(", "bb", ",", "insn", ",", "curr_insn", ")", "{", "if", "(", "NONJUMP_INSN_P", "(", "insn", ")", "&&", "single_set", "(", "insn", ")", "&&", "get_attr_loads_external_address", "(", "insn", ")", "==", "LOADS_EXTERNAL_ADDRESS_YES", ")", "pcrel_opt_address", "(", "insn", ")", ";", "}", "}", "if", "(", "dump_file", ")", "{", "fprintf", "(", "dump_file", ",", "\"\\n# of loads of an address of an external symbol = %lu\\n\"", ",", "counters", ".", "extern_addrs", ")", ";", "fprintf", "(", "dump_file", ",", "\"# of PCREL_OPT loads = %lu (adjacent %lu)\\n\"", ",", "counters", ".", "loads", ",", "counters", ".", "adjacent_loads", ")", ";", "if", "(", "counters", ".", "failed_loads", ")", "fprintf", "(", "dump_file", ",", "\"# of failed PCREL_OPT loads = %lu\\n\"", ",", "counters", ".", "failed_loads", ")", ";", "fprintf", "(", "dump_file", ",", "\"# of PCREL_OPT stores = %lu (adjacent %lu)\\n\"", ",", "counters", ".", "stores", ",", "counters", ".", "adjacent_stores", ")", ";", "if", "(", "counters", ".", "failed_stores", ")", "fprintf", "(", "dump_file", ",", "\"# of failed PCREL_OPT stores = %lu\\n\"", ",", "counters", ".", "failed_stores", ")", ";", "fprintf", "(", "dump_file", ",", "\"\\n\"", ")", ";", "}", "df_remove_problem", "(", "df_chain", ")", ";", "df_process_deferred_rescans", "(", ")", ";", "df_set_flags", "(", "DF_RD_PRUNE_DEAD_DEFS", "|", "DF_LR_RUN_DCE", ")", ";", "df_analyze", "(", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Optimize", "pcrel", "external", "variable", "references", "."], "TS_V_token": ["rs6000", "0", "0", "\"\\n\"", "\"\\n# of loads of an address of an external symbol = %lu\\n\"", "\"# of PCREL_OPT loads = %lu (adjacent %lu)\\n\"", "\"# of failed PCREL_OPT loads = %lu\\n\"", "\"# of PCREL_OPT stores = %lu (adjacent %lu)\\n\"", "\"# of failed PCREL_OPT stores = %lu\\n\"", "\"\\n\"", "0"], "File": "rs6000-pcrel-opt", "Func": "pcrel_opt_pass", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13186, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "AArch64RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "AArch64FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "SP", ")", ";", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "XZR", ")", ";", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "WSP", ")", ";", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "WZR", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", "||", "TT", ".", "isOSDarwin", "(", ")", ")", "{", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "FP", ")", ";", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "W29", ")", ";", "}", "if", "(", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isX18Reserved", "(", ")", ")", "{", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "X18", ")", ";", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "W18", ")", ";", "}", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "{", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "X19", ")", ";", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "W19", ")", ";", "}", "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": ["AArch64", "AArch64", "AArch64", "AArch64::SP", "AArch64::XZR", "AArch64::WSP", "AArch64::WZR", "AArch64::FP", "AArch64::W29", "AArch64", "AArch64::X18", "AArch64::W18", "AArch64::X19", "AArch64::W19"], "File": "AArch64RegisterInfo48", "Func": "getReservedRegs", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13187, "Length": 175, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "fixup_addr_diff_vecs", "(", "rtx", "first", ")", "{", "rtx", "insn", ";", "for", "(", "insn", "=", "first", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "rtx", "vec_lab", ",", "pat", ",", "prev", ",", "prevpat", ",", "x", ",", "braf_label", ";", "if", "(", "GET_CODE", "(", "insn", ")", "!=", "JUMP_INSN", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "ADDR_DIFF_VEC", ")", "continue", ";", "pat", "=", "PATTERN", "(", "insn", ")", ";", "vec_lab", "=", "XEXP", "(", "XEXP", "(", "pat", ",", "0", ")", ",", "0", ")", ";", "for", "(", "prev", "=", "vec_lab", ";", ";", "prev", "=", "PREV_INSN", "(", "prev", ")", ")", "{", "if", "(", "GET_CODE", "(", "prev", ")", "!=", "JUMP_INSN", ")", "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": "sh3", "Func": "fixup_addr_diff_vecs", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13188, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "unsigned", "*", "MipsRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "static", "const", "unsigned", "SingleFloatOnlyCalleeSavedRegs", "[", "]", "=", "{", "Mips", "::", "F31", ",", "Mips", "::", "F30", ",", "Mips", "::", "F29", ",", "Mips", "::", "F28", ",", "Mips", "::", "F27", ",", "Mips", "::", "F26", ",", "Mips", "::", "F25", ",", "Mips", "::", "F24", ",", "Mips", "::", "F23", ",", "Mips", "::", "F22", ",", "Mips", "::", "F21", ",", "Mips", "::", "F20", ",", "Mips", "::", "RA", ",", "Mips", "::", "FP", ",", "Mips", "::", "S7", ",", "Mips", "::", "S6", ",", "Mips", "::", "S5", ",", "Mips", "::", "S4", ",", "Mips", "::", "S3", ",", "Mips", "::", "S2", ",", "Mips", "::", "S1", ",", "Mips", "::", "S0", ",", "0", "}", ";", "static", "const", "unsigned", "Mips32CalleeSavedRegs", "[", "]", "=", "{", "Mips", "::", "D15", ",", "Mips", "::", "D14", ",", "Mips", "::", "D13", ",", "Mips", "::", "D12", ",", "Mips", "::", "D11", ",", "Mips", "::", "D10", ",", "Mips", "::", "RA", ",", "Mips", "::", "FP", ",", "Mips", "::", "S7", ",", "Mips", "::", "S6", ",", "Mips", "::", "S5", ",", "Mips", "::", "S4", ",", "Mips", "::", "S3", ",", "Mips", "::", "S2", ",", "Mips", "::", "S1", ",", "Mips", "::", "S0", ",", "0", "}", ";", "static", "const", "unsigned", "N32CalleeSavedRegs", "[", "]", "=", "{", "Mips", "::", "D31_64", ",", "Mips", "::", "D29_64", ",", "Mips", "::", "D27_64", ",", "Mips", "::", "D25_64", ",", "Mips", "::", "D23_64", ",", "Mips", "::", "D21_64", ",", "Mips", "::", "RA_64", ",", "Mips", "::", "FP_64", ",", "Mips", "::", "GP_64", ",", "Mips", "::", "S7_64", ",", "Mips", "::", "S6_64", ",", "Mips", "::", "S5_64", ",", "Mips", "::", "S4_64", ",", "Mips", "::", "S3_64", ",", "Mips", "::", "S2_64", ",", "Mips", "::", "S1_64", ",", "Mips", "::", "S0_64", ",", "0", "}", ";", "static", "const", "unsigned", "N64CalleeSavedRegs", "[", "]", "=", "{", "Mips", "::", "D31_64", ",", "Mips", "::", "D30_64", ",", "Mips", "::", "D29_64", ",", "Mips", "::", "D28_64", ",", "Mips", "::", "D27_64", ",", "Mips", "::", "D26_64", ",", "Mips", "::", "D25_64", ",", "Mips", "::", "D24_64", ",", "Mips", "::", "RA_64", ",", "Mips", "::", "FP_64", ",", "Mips", "::", "GP_64", ",", "Mips", "::", "S7_64", ",", "Mips", "::", "S6_64", ",", "Mips", "::", "S5_64", ",", "Mips", "::", "S4_64", ",", "Mips", "::", "S3_64", ",", "Mips", "::", "S2_64", ",", "Mips", "::", "S1_64", ",", "Mips", "::", "S0_64", ",", "0", "}", ";", "if", "(", "Subtarget", ".", "isSingleFloat", "(", ")", ")", "return", "SingleFloatOnlyCalleeSavedRegs", ";", "else", "if", "(", "!", "Subtarget", ".", "hasMips64", "(", ")", ")", "return", "Mips32CalleeSavedRegs", ";", "else", "if", "(", "Subtarget", ".", "isABI_N32", "(", ")", ")", "return", "N32CalleeSavedRegs", ";", "assert", "(", "Subtarget", ".", "isABI_N64", "(", ")", ")", ";", "return", "N64CalleeSavedRegs", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["Mips", "Mips", "Mips::F31", "Mips::F30", "Mips::F29", "Mips::F28", "Mips::F27", "Mips::F26", "Mips::F25", "Mips::F24", "Mips::F23", "Mips::F22", "Mips::F21", "Mips::F20", "Mips::RA", "Mips::FP", "Mips::S7", "Mips::S6", "Mips::S5", "Mips::S4", "Mips::S3", "Mips::S2", "Mips::S1", "Mips::S0", "0", "Mips", "Mips::D15", "Mips::D14", "Mips::D13", "Mips::D12", "Mips::D11", "Mips::D10", "Mips::RA", "Mips::FP", "Mips::S7", "Mips::S6", "Mips::S5", "Mips::S4", "Mips::S3", "Mips::S2", "Mips::S1", "Mips::S0", "0", "Mips::D31_64", "Mips::D29_64", "Mips::D27_64", "Mips::D25_64", "Mips::D23_64", "Mips::D21_64", "Mips::RA_64", "Mips::FP_64", "Mips::GP_64", "Mips::S7_64", "Mips::S6_64", "Mips::S5_64", "Mips::S4_64", "Mips::S3_64", "Mips::S2_64", "Mips::S1_64", "Mips::S0_64", "0", "Mips::D31_64", "Mips::D30_64", "Mips::D29_64", "Mips::D28_64", "Mips::D27_64", "Mips::D26_64", "Mips::D25_64", "Mips::D24_64", "Mips::RA_64", "Mips::FP_64", "Mips::GP_64", "Mips::S7_64", "Mips::S6_64", "Mips::S5_64", "Mips::S4_64", "Mips::S3_64", "Mips::S2_64", "Mips::S1_64", "Mips::S0_64", "0", "Mips", "Mips"], "File": "MipsRegisterInfo40", "Func": "getCalleeSavedRegs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13189, "Length": 403, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "ARMBaseInstrInfo", "::", "optimizeSelect", "(", "MachineInstr", "*", "MI", ",", "SmallPtrSetImpl", "<", "MachineInstr", "*", ">", "&", "SeenMIs", ",", "bool", "PreferFalse", ")", "const", "{", "assert", "(", "(", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "MOVCCr", "||", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2MOVCCr", ")", "&&", "\"Unknown select instruction\"", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MachineInstr", "*", "DefMI", "=", "canFoldIntoMOVCC", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ",", "MRI", ",", "this", ")", ";", "bool", "Invert", "=", "!", "DefMI", ";", "if", "(", "!", "DefMI", ")", "DefMI", "=", "canFoldIntoMOVCC", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ",", "MRI", ",", "this", ")", ";", "if", "(", "!", "DefMI", ")", "return", "nullptr", ";", "MachineOperand", "FalseReg", "=", "MI", "->", "getOperand", "(", "Invert", "?", "2", ":", "1", ")", ";", "unsigned", "DestReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "PreviousClass", "=", "MRI", ".", "getRegClass", "(", "FalseReg", ".", "getReg", "(", ")", ")", ";", "if", "(", "!", "MRI", ".", "constrainRegClass", "(", "DestReg", ",", "PreviousClass", ")", ")", "return", "nullptr", ";", "MachineInstrBuilder", "NewMI", "=", "BuildMI", "(", "*", "MI", "->", "getParent", "(", ")", ",", "MI", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "DefMI", "->", "getDesc", "(", ")", ",", "DestReg", ")", ";", "const", "MCInstrDesc", "&", "DefDesc", "=", "DefMI", "->", "getDesc", "(", ")", ";", "for", "(", "unsigned", "i", "=", "1", ",", "e", "=", "DefDesc", ".", "getNumOperands", "(", ")", ";", "i", "!=", "e", "&&", "!", "DefDesc", ".", "OpInfo", "[", "i", "]", ".", "isPredicate", "(", ")", ";", "++", "i", ")", "NewMI", ".", "addOperand", "(", "DefMI", "->", "getOperand", "(", "i", ")", ")", ";", "unsigned", "CondCode", "=", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "if", "(", "Invert", ")", "NewMI", ".", "addImm", "(", "ARMCC", "::", "getOppositeCondition", "(", "ARMCC", "::", "CondCodes", "(", "CondCode", ")", ")", ")", ";", "else", "NewMI", ".", "addImm", "(", "CondCode", ")", ";", "NewMI", ".", "addOperand", "(", "MI", "->", "getOperand", "(", "4", ")", ")", ";", "if", "(", "NewMI", "->", "hasOptionalDef", "(", ")", ")", "AddDefaultCC", "(", "NewMI", ")", ";", "FalseReg", ".", "setImplicit", "(", ")", ";", "NewMI", ".", "addOperand", "(", "FalseReg", ")", ";", "NewMI", "->", "tieOperands", "(", "0", ",", "NewMI", "->", "getNumOperands", "(", ")", "-", "1", ")", ";", "SeenMIs", ".", "insert", "(", "NewMI", ")", ";", "SeenMIs", ".", "erase", "(", "DefMI", ")", ";", "if", "(", "DefMI", "->", "getParent", "(", ")", "!=", "MI", "->", "getParent", "(", ")", ")", "NewMI", "->", "clearKillInfo", "(", ")", ";", "DefMI", "->", "eraseFromParent", "(", ")", ";", "return", "NewMI", ";", "}", ""], "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": ["ARM", "ARM", "ARM::MOVCCr", "ARM::t2MOVCCr", "\"Unknown select instruction\"", "2", "1", "2", "1", "0", "1", "3", "ARMCC::getOppositeCondition", "ARMCC::CondCodes", "4", "0", "1"], "File": "ARMBaseInstrInfo (2)3", "Func": "optimizeSelect", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13190, "Length": 414, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBankConflictHazardRecognizer", "::", "EmitInstruction", "(", "SUnit", "*", "SU", ")", "{", "MachineInstr", "&", "MI", "=", "*", "SU", "->", "getInstr", "(", ")", ";", "if", "(", "!", "MI", ".", "mayLoad", "(", ")", "||", "MI", ".", "mayStore", "(", ")", "||", "MI", ".", "getNumMemOperands", "(", ")", "!=", "1", ")", "return", ";", "auto", "MO", "=", "*", "MI", ".", "memoperands", "(", ")", ".", "begin", "(", ")", ";", "uint64_t", "Size1", "=", "MO", "->", "getSize", "(", ")", ";", "if", "(", "Size1", ">", "4", ")", "return", ";", "Accesses", ".", "push_back", "(", "&", "MI", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["ARM", "ARM", "1", "4"], "File": "ARMHazardRecognizer19", "Func": "EmitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13191, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_attr_length_move_neon", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "reg", ",", "mem", ",", "addr", ";", "int", "load", ";", "machine_mode", "mode", ";", "extract_insn_cached", "(", "insn", ")", ";", "if", "(", "REG_P", "(", "recog_data", ".", "operand", "[", "0", "]", ")", "&&", "REG_P", "(", "recog_data", ".", "operand", "[", "1", "]", ")", ")", "{", "mode", "=", "GET_MODE", "(", "recog_data", ".", "operand", "[", "0", "]", ")", ";", "switch", "(", "mode", ")", "{", "case", "E_EImode", ":", "case", "E_OImode", ":", "return", "8", ";", "case", "E_CImode", ":", "return", "12", ";", "case", "E_XImode", ":", "return", "16", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "load", "=", "REG_P", "(", "recog_data", ".", "operand", "[", "0", "]", ")", ";", "reg", "=", "recog_data", ".", "operand", "[", "!", "load", "]", ";", "mem", "=", "recog_data", ".", "operand", "[", "load", "]", ";", "gcc_assert", "(", "MEM_P", "(", "mem", ")", ")", ";", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "==", "PLUS", ")", "addr", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "if", "(", "LABEL_REF_P", "(", "addr", ")", "||", "GET_CODE", "(", "addr", ")", "==", "PLUS", ")", "{", "int", "insns", "=", "REG_NREGS", "(", "reg", ")", "/", "2", ";", "return", "insns", "*", "4", ";", "}", "else", "return", "4", ";", "}", ""], "natrual_language": ["Compute", "and", "return", "the", "length", "of", "neon_mov", "<", "mode", ">", ",", "where", "<", "mode", ">", "is", "one", "of", "VSTRUCT", "modes", ":", "EI", ",", "OI", ",", "CI", "or", "XI", "."], "TS_V_token": ["arm", "0", "1", "0", "8", "12", "16", "0", "0", "0", "0", "2", "4", "4"], "File": "arm", "Func": "arm_attr_length_move_neon", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13192, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "generate_6432_conversion", "(", "rtx", "target", ",", "rtx", "sub_result", ")", "{", "if", "(", "TARGET_64BIT", ")", "{", "rtx", "tmp_reg_ca", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "emit_insn", "(", "gen_subfdi3_carry_in_xx", "(", "tmp_reg_ca", ")", ")", ";", "rtx", "popcnt", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "emit_insn", "(", "gen_popcntddi2", "(", "popcnt", ",", "sub_result", ")", ")", ";", "rtx", "tmp2", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "emit_insn", "(", "gen_iordi3", "(", "tmp2", ",", "popcnt", ",", "tmp_reg_ca", ")", ")", ";", "emit_insn", "(", "gen_movsi", "(", "target", ",", "gen_lowpart", "(", "SImode", ",", "tmp2", ")", ")", ")", ";", "}", "else", "{", "rtx", "tmp_reg_ca", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_subfsi3_carry_in_xx", "(", "tmp_reg_ca", ")", ")", ";", "rtx", "popcnt", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_popcntdsi2", "(", "popcnt", ",", "sub_result", ")", ")", ";", "emit_insn", "(", "gen_iorsi3", "(", "target", ",", "popcnt", ",", "tmp_reg_ca", ")", ")", ";", "}", "}", ""], "natrual_language": ["Generate", "code", "to", "convert", "a", "DImode-plus-carry", "subtract", "result", "into", "a", "SImode", "result", "that", "has", "the", "same", "<", "0", "/", "==0", "/", ">", "0", "properties", "to", "produce", "the", "final", "result", "from", "memcmp", ".", "TARGET", "is", "the", "rtx", "for", "the", "register", "to", "receive", "the", "memcmp", "result", ".", "SUB_RESULT", "is", "the", "rtx", "for", "the", "register", "contining", "the", "subtract", "result", "."], "TS_V_token": ["rs6000"], "File": "rs6000-string", "Func": "generate_6432_conversion", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13193, "Length": 135, "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", ")", "||", "(", "(", "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)", "Func": "isShuffleMaskLegal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13194, "Length": 318, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "MipsSERegisterInfo", "::", "intRegClass", "(", "unsigned", "Size", ")", "const", "{", "if", "(", "Size", "==", "4", ")", "return", "&", "Mips", "::", "CPURegsRegClass", ";", "assert", "(", "Size", "==", "8", ")", ";", "return", "&", "Mips", "::", "CPU64RegsRegClass", ";", "}", ""], "natrual_language": ["Return", "GPR", "register", "class", "."], "TS_V_token": ["Mips", "Mips", "4", "Mips::CPURegsRegClass", "8", "Mips::CPU64RegsRegClass"], "File": "MipsSERegisterInfo1", "Func": "intRegClass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13195, "Length": 38, "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", "=", "0xe1a0000", ";", "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", "0xe1a0000", "ARM", "0xe320f000", "2", "0", "1", "0", "ARM", "ARM", "4", "0", "4", "1", "0", "2", "0", "3", "0", "0xa0"], "File": "ARMAsmBackend13", "Func": "writeNopData", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13196, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "crx_expand_prologue", "(", "void", ")", "{", "crx_compute_frame", "(", ")", ";", "crx_compute_save_regs", "(", ")", ";", "if", "(", "size_for_adjusting_sp", "+", "sum_regs", "==", "0", ")", "return", ";", "if", "(", "last_reg_to_save", "!=", "-", "1", ")", "emit_insn", "(", "gen_push_for_prologue", "(", "GEN_INT", "(", "sum_regs", ")", ")", ")", ";", "if", "(", "size_for_adjusting_sp", ">", "0", ")", "emit_insn", "(", "gen_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "size_for_adjusting_sp", ")", ")", ")", ";", "if", "(", "frame_pointer_needed", ")", "emit_move_insn", "(", "frame_pointer_rtx", ",", "stack_pointer_rtx", ")", ";", "}", ""], "natrual_language": ["CompactRISC", "CRX", "Architecture", "stack", "layout", ":", "0", "+", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "-", "|", ".", ".", "|", "+====================", "Sp", "(", "x", ")", "=Ap", "(", "x+1", ")", "A", "|", "Args", "for", "functions", "|", "|", "called", "by", "X", "and", "Dynamically", "|", "|", "Dynamic", "allocations", "allocated", "and", "|", "|", "(", "alloca", ",", "variable", "deallocated", "Stack", "|", "length", "arrays", ")", ".", "grows", "+", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "Fp", "(", "x", ")", "down|", "|", "Local", "variables", "of", "X", "ward|", "+", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "|", "|", "Regs", "saved", "for", "X-1", "|", "+====================", "Sp", "(", "x-1", ")", "=Ap", "(", "x", ")", "|", "Args", "for", "func", "X", "|", "pushed", "by", "X-1", "+", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "Fp", "(", "x-1", ")", "|", "|", "V"], "TS_V_token": ["crx", "0", "1", "0"], "File": "crx", "Func": "crx_expand_prologue", "Target": "crx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13197, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_i387_mode_needed", "(", "int", "entity", ",", "rtx_insn", "*", "insn", ")", "{", "enum", "attr_i387_cw", "mode", ";", "if", "(", "CALL_P", "(", "insn", ")", "||", "(", "NONJUMP_INSN_P", "(", "insn", ")", "&&", "(", "asm_noperands", "(", "PATTERN", "(", "insn", ")", ")", ">=", "0", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "ASM_INPUT", ")", ")", ")", "return", "I387_CW_UNINITIALIZED", ";", "if", "(", "recog_memoized", "(", "insn", ")", "<", "0", ")", "return", "I387_CW_ANY", ";", "mode", "=", "get_attr_i387_cw", "(", "insn", ")", ";", "switch", "(", "entity", ")", "{", "case", "I387_TRUNC", ":", "if", "(", "mode", "==", "I387_CW_TRUNC", ")", "return", "mode", ";", "break", ";", "case", "I387_FLOOR", ":", "if", "(", "mode", "==", "I387_CW_FLOOR", ")", "return", "mode", ";", "break", ";", "case", "I387_CEIL", ":", "if", "(", "mode", "==", "I387_CW_CEIL", ")", "return", "mode", ";", "break", ";", "case", "I387_MASK_PM", ":", "if", "(", "mode", "==", "I387_CW_MASK_PM", ")", "return", "mode", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "I387_CW_ANY", ";", "}", ""], "natrual_language": ["Return", "mode", "that", "i387", "must", "be", "switched", "into", "prior", "to", "the", "execution", "of", "insn", "."], "TS_V_token": ["i386", "0", "0"], "File": "i3864", "Func": "ix86_i387_mode_needed", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13198, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "VariantKind", "getKind", "(", ")", "const", "{", "return", "static_cast", "<", "VariantKind", ">", "(", "Kind", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "Kind", "of", "lane", "offset", "."], "TS_V_token": ["ARM64"], "File": "ARM64MCExpr", "Func": "getKind", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13199, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LanaiTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "MUL", ":", "return", "LowerMUL", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBR_CC", "(", "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", "::", "JumpTable", ":", "return", "LowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SETCC", ":", "return", "LowerSETCC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SETCCE", ":", "return", "LowerSETCCE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SHL_PARTS", ":", "return", "LowerSHL_PARTS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SRL_PARTS", ":", "return", "LowerSRL_PARTS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "LowerDYNAMIC_STACKALLOC", "(", "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": ["Lanai", "Lanai", "ISD::MUL", "ISD::BR_CC", "ISD::ConstantPool", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::JumpTable", "ISD::SELECT_CC", "ISD::SETCC", "ISD::SETCCE", "ISD::SHL_PARTS", "ISD::SRL_PARTS", "ISD::VASTART", "ISD::DYNAMIC_STACKALLOC", "ISD::RETURNADDR", "ISD::FRAMEADDR", "\"unimplemented operand\""], "File": "LanaiISelLowering10", "Func": "LowerOperation", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13200, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ia64_adjust_cost", "(", "rtx_insn", "*", "insn", ",", "int", "dep_type1", ",", "rtx_insn", "*", "dep_insn", ",", "int", "cost", ",", "dw_t", "dw", ")", "{", "enum", "reg_note", "dep_type", "=", "(", "enum", "reg_note", ")", "dep_type1", ";", "enum", "attr_itanium_class", "dep_class", ";", "enum", "attr_itanium_class", "insn_class", ";", "insn_class", "=", "ia64_safe_itanium_class", "(", "insn", ")", ";", "dep_class", "=", "ia64_safe_itanium_class", "(", "dep_insn", ")", ";", "if", "(", "dep_type", "==", "REG_DEP_TRUE", "&&", "(", "dep_class", "==", "ITANIUM_CLASS_ST", "||", "dep_class", "==", "ITANIUM_CLASS_STF", ")", "&&", "(", "insn_class", "==", "ITANIUM_CLASS_BR", "||", "insn_class", "==", "ITANIUM_CLASS_SCALL", ")", ")", "return", "0", ";", "if", "(", "dw", "==", "MIN_DEP_WEAK", ")", "return", "PARAM_VALUE", "(", "PARAM_SCHED_MEM_TRUE_DEP_COST", ")", ";", "else", "if", "(", "dw", ">", "MIN_DEP_WEAK", ")", "{", "if", "(", "mflag_sched_fp_mem_deps_zero_cost", "&&", "dep_class", "==", "ITANIUM_CLASS_STF", ")", "return", "0", ";", "else", "return", "cost", ";", "}", "if", "(", "dep_type", "!=", "REG_DEP_OUTPUT", ")", "return", "cost", ";", "if", "(", "dep_class", "==", "ITANIUM_CLASS_ST", "||", "dep_class", "==", "ITANIUM_CLASS_STF", "||", "insn_class", "==", "ITANIUM_CLASS_ST", "||", "insn_class", "==", "ITANIUM_CLASS_STF", ")", "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": ["ia64", "0", "0", "0"], "File": "ia646", "Func": "ia64_adjust_cost", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13201, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "move_to_end_of_ready", "(", "rtx_insn", "*", "*", "ready", ",", "int", "pos", ",", "int", "lastpos", ")", "{", "rtx_insn", "*", "tmp", ";", "int", "i", ";", "tmp", "=", "ready", "[", "pos", "]", ";", "for", "(", "i", "=", "pos", ";", "i", "<", "lastpos", ";", "i", "++", ")", "ready", "[", "i", "]", "=", "ready", "[", "i", "+", "1", "]", ";", "ready", "[", "lastpos", "]", "=", "tmp", ";", "}", ""], "natrual_language": ["Move", "instruction", "at", "POS", "to", "the", "end", "of", "the", "READY", "list", "."], "TS_V_token": ["rs6000", "1"], "File": "rs6000", "Func": "move_to_end_of_ready", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13202, "Length": 63, "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", ",", "Value", ",", "nullptr", ")", ";", "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": "AArch64AsmBackend25", "Func": "applyFixup", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13203, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCFrameLowering", "::", "getFramePointerSaveOffset", "(", ")", "const", "{", "return", "FramePointerSaveOffset", ";", "}", ""], "natrual_language": ["getFramePointerSaveOffset", "-", "Return", "the", "previous", "frame", "offset", "to", "save", "the", "frame", "pointer", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCFrameLowering3", "Func": "getFramePointerSaveOffset", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13204, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSection", "*", "X86ELFMCAsmInfo", "::", "getNonexecutableStackSection", "(", "MCContext", "&", "Ctx", ")", "const", "{", "return", "MCSectionELF", "::", "Create", "(", "\".note.GNU-stack\"", ",", "MCSectionELF", "::", "SHT_PROGBITS", ",", "0", ",", "SectionKind", "::", "getMetadata", "(", ")", ",", "false", ",", "Ctx", ")", ";", "}", ""], "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": ["X86", "X86", "\".note.GNU-stack\"", "0"], "File": "X86MCAsmInfo32", "Func": "getNonexecutableStackSection", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13205, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_float_const_representable_p", "(", "rtx", "x", ")", "{", "int", "point_pos", "=", "2", "*", "HOST_BITS_PER_WIDE_INT", "-", "1", ";", "int", "exponent", ";", "unsigned", "HOST_WIDE_INT", "mantissa", ",", "mask", ";", "REAL_VALUE_TYPE", "r", ",", "m", ";", "bool", "fail", ";", "if", "(", "!", "CONST_DOUBLE_P", "(", "x", ")", ")", "return", "false", ";", "if", "(", "GET_MODE", "(", "x", ")", "==", "VOIDmode", "||", "(", "GET_MODE", "(", "x", ")", "==", "HFmode", "&&", "!", "TARGET_FP_F16INST", ")", ")", "return", "false", ";", "r", "=", "*", "CONST_DOUBLE_REAL_VALUE", "(", "x", ")", ";", "if", "(", "REAL_VALUE_ISINF", "(", "r", ")", "||", "REAL_VALUE_ISNAN", "(", "r", ")", "||", "REAL_VALUE_MINUS_ZERO", "(", "r", ")", ")", "return", "false", ";", "r", "=", "real_value_abs", "(", "&", "r", ")", ";", "exponent", "=", "REAL_EXP", "(", "&", "r", ")", ";", "real_ldexp", "(", "&", "m", ",", "&", "r", ",", "point_pos", "-", "exponent", ")", ";", "wide_int", "w", "=", "real_to_integer", "(", "&", "m", ",", "&", "fail", ",", "HOST_BITS_PER_WIDE_INT", "*", "2", ")", ";", "if", "(", "w", ".", "ulow", "(", ")", "!=", "0", ")", "return", "false", ";", "mantissa", "=", "w", ".", "elt", "(", "1", ")", ";", "point_pos", "-=", "HOST_BITS_PER_WIDE_INT", ";", "mask", "=", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "1", "<<", "(", "point_pos", "-", "5", ")", ")", "-", "1", ";", "if", "(", "(", "mantissa", "&", "mask", ")", "!=", "0", ")", "return", "false", ";", "mantissa", ">>=", "point_pos", "-", "5", ";", "if", "(", "mantissa", "==", "0", ")", "return", "false", ";", "mantissa", "&=", "~", "(", "1", "<<", "4", ")", ";", "gcc_assert", "(", "mantissa", "<=", "15", ")", ";", "exponent", "=", "5", "-", "exponent", ";", "return", "(", "exponent", ">=", "0", "&&", "exponent", "<=", "7", ")", ";", "}", ""], "natrual_language": ["Return", "true", "iff", "X", "can", "be", "represented", "by", "a", "quarter-precision", "floating", "point", "immediate", "operand", "X", ".", "Note", ",", "we", "can", "not", "represent", "0.0", "."], "TS_V_token": ["aarch64", "2", "1", "2", "0", "1", "1", "5", "1", "0", "5", "0", "1", "4", "15", "5", "0", "7"], "File": "aarch646", "Func": "aarch64_float_const_representable_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13206, "Length": 247, "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": 13207, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isExtFreeImpl", "(", "const", "Instruction", "*", "Ext", ")", "const", "{", "if", "(", "isa", "<", "FPExtInst", ">", "(", "Ext", ")", ")", "return", "false", ";", "if", "(", "Ext", "->", "getType", "(", ")", "->", "isVectorTy", "(", ")", ")", "return", "false", ";", "for", "(", "const", "Use", "&", "U", ":", "Ext", "->", "uses", "(", ")", ")", "{", "const", "Instruction", "*", "Instr", "=", "cast", "<", "Instruction", ">", "(", "U", ".", "getUser", "(", ")", ")", ";", "switch", "(", "Instr", "->", "getOpcode", "(", ")", ")", "{", "case", "Instruction", "::", "Shl", ":", "if", "(", "!", "isa", "<", "ConstantInt", ">", "(", "Instr", "->", "getOperand", "(", "1", ")", ")", ")", "return", "false", ";", "break", ";", "case", "Instruction", "::", "GetElementPtr", ":", "{", "gep_type_iterator", "GTI", "=", "gep_type_begin", "(", "Instr", ")", ";", "auto", "&", "DL", "=", "Ext", "->", "getModule", "(", ")", "->", "getDataLayout", "(", ")", ";", "std", "::", "advance", "(", "GTI", ",", "U", ".", "getOperandNo", "(", ")", ")", ";", "Type", "*", "IdxTy", "=", "*", "GTI", ";", "uint64_t", "ShiftAmt", "=", "countTrailingZeros", "(", "DL", ".", "getTypeStoreSizeInBits", "(", "IdxTy", ")", ")", "-", "3", ";", "if", "(", "ShiftAmt", "==", "0", "||", "ShiftAmt", ">", "4", ")", "return", "false", ";", "break", ";", "}", "case", "Instruction", "::", "Trunc", ":", "if", "(", "Instr", "->", "getType", "(", ")", "==", "Ext", "->", "getOperand", "(", "0", ")", "->", "getType", "(", ")", ")", "continue", ";", "LLVM_FALLTHROUGH", ";", "default", ":", "return", "false", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "extension", "represented", "by", "I", "is", "free", "."], "TS_V_token": ["AArch64", "AArch64", "1", "3", "0", "4", "0"], "File": "AArch64ISelLowering130", "Func": "isExtFreeImpl", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13208, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sparc_function_arg_1", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ",", "bool", "incoming", ")", "{", "const", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "int", "regbase", "=", "(", "incoming", "?", "SPARC_INCOMING_INT_ARG_FIRST", ":", "SPARC_OUTGOING_INT_ARG_FIRST", ")", ";", "int", "slotno", ",", "regno", ",", "padding", ";", "enum", "mode_class", "mclass", "=", "GET_MODE_CLASS", "(", "mode", ")", ";", "slotno", "=", "function_arg_slotno", "(", "cum", ",", "mode", ",", "type", ",", "named", ",", "incoming", ",", "&", "regno", ",", "&", "padding", ")", ";", "if", "(", "slotno", "==", "-", "1", ")", "return", "0", ";", "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", "<=", "16", ")", ")", ";", "if", "(", "mode", "==", "BLKmode", ")", "return", "function_arg_vector_value", "(", "size", ",", "SPARC_FP_ARG_FIRST", "+", "2", "*", "slotno", ")", ";", "mclass", "=", "MODE_FLOAT", ";", "}", "if", "(", "TARGET_ARCH32", ")", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "if", "(", "type", "&&", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", ")", "{", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "gcc_assert", "(", "size", "<=", "16", ")", ";", "return", "function_arg_record_value", "(", "type", ",", "mode", ",", "slotno", ",", "named", ",", "regbase", ")", ";", "}", "else", "if", "(", "type", "&&", "TREE_CODE", "(", "type", ")", "==", "UNION_TYPE", ")", "{", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "gcc_assert", "(", "size", "<=", "16", ")", ";", "return", "function_arg_union_value", "(", "size", ",", "mode", ",", "slotno", ",", "regno", ")", ";", "}", "else", "if", "(", "(", "mclass", "==", "MODE_FLOAT", "||", "mclass", "==", "MODE_COMPLEX_FLOAT", ")", "&&", "SPARC_FP_REG_P", "(", "regno", ")", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "if", "(", "cum", "->", "prototype_p", "||", "cum", "->", "libcall_p", ")", "return", "reg", ";", "else", "{", "rtx", "v0", ",", "v1", ";", "if", "(", "(", "regno", "-", "SPARC_FP_ARG_FIRST", ")", "<", "SPARC_INT_ARG_MAX", "*", "2", ")", "{", "int", "intreg", ";", "if", "(", "incoming", ")", "return", "reg", ";", "intreg", "=", "(", "SPARC_OUTGOING_INT_ARG_FIRST", "+", "(", "regno", "-", "SPARC_FP_ARG_FIRST", ")", "/", "2", ")", ";", "v0", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "reg", ",", "const0_rtx", ")", ";", "v1", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "mode", ",", "intreg", ")", ",", "const0_rtx", ")", ";", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec", "(", "2", ",", "v0", ",", "v1", ")", ")", ";", "}", "else", "{", "v0", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "NULL_RTX", ",", "const0_rtx", ")", ";", "v1", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "reg", ",", "const0_rtx", ")", ";", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec", "(", "2", ",", "v0", ",", "v1", ")", ")", ";", "}", "}", "}", "else", "if", "(", "type", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "gcc_assert", "(", "size", "<=", "16", ")", ";", "mode", "=", "int_mode_for_size", "(", "size", "*", "BITS_PER_UNIT", ",", "0", ")", ".", "else_blk", "(", ")", ";", "}", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "}", ""], "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", ".", "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", "true", "if", "this", "argument", "is", "a", "named", "parameter", "(", "otherwise", "it", "is", "an", "extra", "parameter", "matching", "an", "ellipsis", ")", ".", "INCOMING_P", "is", "false", "for", "TARGET_FUNCTION_ARG", ",", "true", "for", "TARGET_FUNCTION_INCOMING_ARG", "."], "TS_V_token": ["sparc", "1", "0", "8", "16", "2", "16", "16", "2", "2", "2", "2", "16", "0"], "File": "sparc7", "Func": "sparc_function_arg_1", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13209, "Length": 467, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "set_reg_plus_d", "(", "int", "reg", ",", "int", "base", ",", "HOST_WIDE_INT", "disp", ",", "int", "note", ")", "{", "rtx_insn", "*", "insn", ";", "if", "(", "VAL_14_BITS_P", "(", "disp", ")", ")", "{", "insn", "=", "emit_move_insn", "(", "gen_rtx_REG", "(", "Pmode", ",", "reg", ")", ",", "plus_constant", "(", "Pmode", ",", "gen_rtx_REG", "(", "Pmode", ",", "base", ")", ",", "disp", ")", ")", ";", "}", "else", "if", "(", "TARGET_64BIT", "&&", "!", "VAL_32_BITS_P", "(", "disp", ")", ")", "{", "rtx", "basereg", "=", "gen_rtx_REG", "(", "Pmode", ",", "base", ")", ";", "rtx", "delta", "=", "GEN_INT", "(", "disp", ")", ";", "rtx", "tmpreg", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "emit_move_insn", "(", "tmpreg", ",", "delta", ")", ";", "insn", "=", "emit_move_insn", "(", "gen_rtx_REG", "(", "Pmode", ",", "reg", ")", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "tmpreg", ",", "basereg", ")", ")", ";", "if", "(", "DO_FRAME_NOTES", ")", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "tmpreg", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "basereg", ",", "delta", ")", ")", ")", ";", "}", "else", "{", "rtx", "basereg", "=", "gen_rtx_REG", "(", "Pmode", ",", "base", ")", ";", "rtx", "delta", "=", "GEN_INT", "(", "disp", ")", ";", "rtx", "tmpreg", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "emit_move_insn", "(", "tmpreg", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "basereg", ",", "gen_rtx_HIGH", "(", "Pmode", ",", "delta", ")", ")", ")", ";", "insn", "=", "emit_move_insn", "(", "gen_rtx_REG", "(", "Pmode", ",", "reg", ")", ",", "gen_rtx_LO_SUM", "(", "Pmode", ",", "tmpreg", ",", "delta", ")", ")", ";", "}", "if", "(", "DO_FRAME_NOTES", "&&", "note", ")", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", ""], "natrual_language": ["Emit", "RTL", "to", "set", "REG", "to", "the", "value", "specified", "by", "BASE+DISP", ".", "Handle", "case", "where", "DISP", ">", "8k", "by", "using", "the", "add_high_const", "patterns", ".", "Note", "in", "DISP", ">", "8k", "case", ",", "we", "will", "leave", "the", "high", "part", "of", "the", "address", "in", "%", "r1", ".", "There", "is", "code", "in", "expand_hppa_", "{", "prologue", ",", "epilogue", "}", "that", "knows", "this", "."], "TS_V_token": ["pa", "1", "1", "1"], "File": "pa", "Func": "set_reg_plus_d", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13210, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "div_sqrt_insn_p", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "SET", ")", "return", "false", ";", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_FPDIVS", ":", "case", "TYPE_FPSQRTS", ":", "case", "TYPE_FPDIVD", ":", "case", "TYPE_FPSQRTD", ":", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["True", "if", "INSN", "is", "a", "floating-point", "division", "or", "square-root", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "div_sqrt_insn_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13211, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_output_mi_thunk", "(", "FILE", "*", "file", ",", "tree", "thunk_fndecl", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", ",", "tree", "function", ")", "{", "rtx", "this", ",", "temp1", ",", "temp2", ",", "insn", ",", "fnaddr", ";", "no_new_pseudos", "=", "1", ";", "reload_completed", "=", "1", ";", "reset_block_changes", "(", ")", ";", "if", "(", "TARGET_ABICALLS", ")", "cfun", "->", "machine", "->", "global_pointer", "=", "REGNO", "(", "pic_offset_table_rtx", ")", "=", "TARGET_NEWABI", "?", "15", ":", "GLOBAL_POINTER_REGNUM", ";", "mips_emit_loadgp", "(", ")", ";", "temp1", "=", "gen_rtx_REG", "(", "Pmode", ",", "2", ")", ";", "temp2", "=", "gen_rtx_REG", "(", "Pmode", ",", "3", ")", ";", "if", "(", "aggregate_value_p", "(", "TREE_TYPE", "(", "TREE_TYPE", "(", "function", ")", ")", ",", "function", ")", ")", "this", "=", "gen_rtx_REG", "(", "Pmode", ",", "GP_ARG_FIRST", "+", "1", ")", ";", "else", "this", "=", "gen_rtx_REG", "(", "Pmode", ",", "GP_ARG_FIRST", ")", ";", "if", "(", "delta", "!=", "0", ")", "{", "rtx", "offset", "=", "GEN_INT", "(", "delta", ")", ";", "if", "(", "!", "SMALL_OPERAND", "(", "delta", ")", ")", "{", "emit_move_insn", "(", "temp1", ",", "offset", ")", ";", "offset", "=", "temp1", ";", "}", "emit_insn", "(", "gen_add3_insn", "(", "this", ",", "this", ",", "offset", ")", ")", ";", "}", "if", "(", "vcall_offset", "!=", "0", ")", "{", "rtx", "addr", ";", "emit_move_insn", "(", "temp1", ",", "gen_rtx_MEM", "(", "Pmode", ",", "this", ")", ")", ";", "addr", "=", "mips_add_offset", "(", "temp2", ",", "temp1", ",", "vcall_offset", ")", ";", "emit_move_insn", "(", "temp1", ",", "gen_rtx_MEM", "(", "Pmode", ",", "addr", ")", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "this", ",", "this", ",", "temp1", ")", ")", ";", "}", "fnaddr", "=", "XEXP", "(", "DECL_RTL", "(", "function", ")", ",", "0", ")", ";", "if", "(", "TARGET_MIPS16", "||", "TARGET_ABICALLS", "||", "TARGET_LONG_CALLS", ")", "{", "if", "(", "TARGET_ABICALLS", "&&", "!", "mips_dangerous_for_la25_p", "(", "fnaddr", ")", ")", "temp1", "=", "gen_rtx_REG", "(", "Pmode", ",", "PIC_FUNCTION_ADDR_REGNUM", ")", ";", "mips_load_call_address", "(", "temp1", ",", "fnaddr", ",", "true", ")", ";", "if", "(", "TARGET_ABICALLS", "&&", "REGNO", "(", "temp1", ")", "!=", "PIC_FUNCTION_ADDR_REGNUM", ")", "emit_move_insn", "(", "gen_rtx_REG", "(", "Pmode", ",", "PIC_FUNCTION_ADDR_REGNUM", ")", ",", "temp1", ")", ";", "emit_jump_insn", "(", "gen_indirect_jump", "(", "temp1", ")", ")", ";", "}", "else", "{", "insn", "=", "emit_call_insn", "(", "gen_sibcall_internal", "(", "fnaddr", ",", "const0_rtx", ")", ")", ";", "SIBLING_CALL_P", "(", "insn", ")", "=", "1", ";", "}", "insn", "=", "get_insns", "(", ")", ";", "insn_locators_initialize", "(", ")", ";", "split_all_insns_noflow", "(", ")", ";", "if", "(", "TARGET_MIPS16", ")", "mips16_lay_out_constants", "(", ")", ";", "shorten_branches", "(", "insn", ")", ";", "final_start_function", "(", "insn", ",", "file", ",", "1", ")", ";", "final", "(", "insn", ",", "file", ",", "1", ")", ";", "final_end_function", "(", ")", ";", "reload_completed", "=", "0", ";", "no_new_pseudos", "=", "0", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_OUTPUT_MI_THUNK", ".", "Generate", "rtl", "rather", "than", "asm", "text", "in", "order", "to", "avoid", "duplicating", "too", "much", "logic", "from", "elsewhere", "."], "TS_V_token": ["mips", "1", "1", "15", "2", "3", "1", "0", "0", "0", "1", "1", "1", "0", "0"], "File": "mips3", "Func": "mips_output_mi_thunk", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13212, "Length": 392, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isVectorLoadExtDesirable", "(", "SDValue", "ExtVal", ")", "const", "{", "EVT", "VT", "=", "ExtVal", ".", "getValueType", "(", ")", ";", "if", "(", "!", "isTypeLegal", "(", "VT", ")", ")", "return", "false", ";", "if", "(", "auto", "*", "Ld", "=", "dyn_cast", "<", "MaskedLoadSDNode", ">", "(", "ExtVal", ".", "getOperand", "(", "0", ")", ")", ")", "{", "if", "(", "Ld", "->", "isExpandingLoad", "(", ")", ")", "return", "false", ";", "}", "if", "(", "Subtarget", "->", "hasMVEIntegerOps", "(", ")", ")", "return", "true", ";", "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", "::", "VSHLIMM", ")", ")", "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", "0", "ISD::ADD", "ISD::SUB", "ISD::SHL", "ARMISD::VSHLIMM"], "File": "ARMISelLowering (2)5", "Func": "isVectorLoadExtDesirable", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13213, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "const", "SDLoc", "&", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "if", "(", "Subtarget", ".", "is64BitELFABI", "(", ")", ")", "return", "LowerFormalArguments_64SVR4", "(", "Chain", ",", "CallConv", ",", "isVarArg", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";", "else", "if", "(", "Subtarget", ".", "is32BitELFABI", "(", ")", ")", "return", "LowerFormalArguments_32SVR4", "(", "Chain", ",", "CallConv", ",", "isVarArg", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";", "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"], "File": "PPCISelLowering145", "Func": "LowerFormalArguments", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13214, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "*", "aarch64_output_sve_cnt_pat_immediate", "(", "const", "char", "*", "prefix", ",", "const", "char", "*", "operands", ",", "rtx", "*", "cnt_pat", ")", "{", "aarch64_svpattern", "pattern", "=", "(", "aarch64_svpattern", ")", "INTVAL", "(", "cnt_pat", "[", "0", "]", ")", ";", "unsigned", "int", "nelts_per_vq", "=", "INTVAL", "(", "cnt_pat", "[", "1", "]", ")", ";", "unsigned", "int", "factor", "=", "INTVAL", "(", "cnt_pat", "[", "2", "]", ")", "*", "nelts_per_vq", ";", "return", "aarch64_output_sve_cnt_immediate", "(", "prefix", ",", "operands", ",", "pattern", ",", "factor", ",", "nelts_per_vq", ")", ";", "}", ""], "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", ")", ".", "CNT_PAT", "[", "0", "..", "2", "]", "are", "the", "operands", "of", "the", "UNSPEC_SVE_CNT_PAT", ";", "see", "aarch64_sve_cnt_pat", "for", "details", "."], "TS_V_token": ["aarch64", "0", "1", "2"], "File": "aarch64", "Func": "aarch64_output_sve_cnt_pat_immediate", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13215, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_expand_sve_const_pred_eor", "(", "rtx", "target", ",", "rtx_vector_builder", "&", "builder", ",", "unsigned", "int", "elt_size", ")", "{", "rtx_vector_builder", "inv_builder", "(", "VNx16BImode", ",", "builder", ".", "npatterns", "(", ")", ",", "builder", ".", "nelts_per_pattern", "(", ")", ")", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "builder", ".", "encoded_nelts", "(", ")", ";", "++", "i", ")", "if", "(", "(", "i", "&", "(", "elt_size", "-", "1", ")", ")", "==", "0", "&&", "INTVAL", "(", "builder", ".", "elt", "(", "i", ")", ")", "==", "0", ")", "inv_builder", ".", "quick_push", "(", "const1_rtx", ")", ";", "else", "inv_builder", ".", "quick_push", "(", "const0_rtx", ")", ";", "inv_builder", ".", "finalize", "(", ")", ";", "rtx", "inv", "=", "aarch64_expand_sve_const_pred_1", "(", "NULL_RTX", ",", "inv_builder", ",", "false", ")", ";", "if", "(", "!", "inv", ")", "return", "NULL_RTX", ";", "rtx", "mask", "=", "aarch64_ptrue_all", "(", "elt_size", ")", ";", "mask", "=", "force_reg", "(", "VNx16BImode", ",", "mask", ")", ";", "inv", "=", "gen_lowpart", "(", "VNx16BImode", ",", "inv", ")", ";", "target", "=", "aarch64_target_reg", "(", "target", ",", "VNx16BImode", ")", ";", "emit_insn", "(", "gen_aarch64_pred_z", "(", "XOR", ",", "VNx16BImode", ",", "target", ",", "mask", ",", "inv", ",", "mask", ")", ")", ";", "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", "by", "inverting", "every", "element", "at", "a", "multiple", "of", "ELT_SIZE", "and", "EORing", "the", "result", "with", "an", "ELT_SIZE", "PTRUE", ".", "Return", "a", "register", "that", "contains", "the", "constant", "on", "success", ",", "otherwise", "return", "null", ".", "Use", "TARGET", "as", "the", "register", "if", "it", "is", "nonnull", "and", "convenient", "."], "TS_V_token": ["aarch64", "0", "1", "0", "0"], "File": "aarch64", "Func": "aarch64_expand_sve_const_pred_eor", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13216, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "rs6000_debugger_regno", "(", "unsigned", "int", "regno", ",", "unsigned", "int", "format", ")", "{", "if", "(", "(", "format", "==", "0", "&&", "dwarf_debuginfo_p", "(", ")", ")", "||", "format", "==", "1", ")", "{", "if", "(", "regno", "<=", "31", ")", "return", "regno", ";", "if", "(", "FP_REGNO_P", "(", "regno", ")", ")", "return", "regno", "-", "FIRST_FPR_REGNO", "+", "32", ";", "if", "(", "ALTIVEC_REGNO_P", "(", "regno", ")", ")", "return", "regno", "-", "FIRST_ALTIVEC_REGNO", "+", "1124", ";", "if", "(", "regno", "==", "LR_REGNO", ")", "return", "108", ";", "if", "(", "regno", "==", "CTR_REGNO", ")", "return", "109", ";", "if", "(", "regno", "==", "CA_REGNO", ")", "return", "101", ";", "if", "(", "format", "==", "1", "&&", "regno", "==", "CR2_REGNO", ")", "return", "64", ";", "if", "(", "CR_REGNO_P", "(", "regno", ")", ")", "return", "regno", "-", "CR0_REGNO", "+", "86", ";", "if", "(", "regno", "==", "VRSAVE_REGNO", ")", "return", "356", ";", "if", "(", "regno", "==", "VSCR_REGNO", ")", "return", "67", ";", "if", "(", "regno", "==", "FRAME_POINTER_REGNUM", ")", "return", "111", ";", "if", "(", "regno", "==", "ARG_POINTER_REGNUM", ")", "return", "67", ";", "if", "(", "regno", "==", "64", ")", "return", "100", ";", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "regno", "<=", "31", ")", "return", "regno", ";", "if", "(", "FP_REGNO_P", "(", "regno", ")", ")", "return", "regno", "-", "FIRST_FPR_REGNO", "+", "32", ";", "if", "(", "ALTIVEC_REGNO_P", "(", "regno", ")", ")", "return", "regno", "-", "FIRST_ALTIVEC_REGNO", "+", "77", ";", "if", "(", "regno", "==", "LR_REGNO", ")", "return", "65", ";", "if", "(", "regno", "==", "CTR_REGNO", ")", "return", "66", ";", "if", "(", "regno", "==", "CA_REGNO", ")", "return", "76", ";", "if", "(", "CR_REGNO_P", "(", "regno", ")", ")", "return", "regno", "-", "CR0_REGNO", "+", "68", ";", "if", "(", "regno", "==", "VRSAVE_REGNO", ")", "return", "109", ";", "if", "(", "regno", "==", "VSCR_REGNO", ")", "return", "110", ";", "if", "(", "regno", "==", "FRAME_POINTER_REGNUM", ")", "return", "111", ";", "if", "(", "regno", "==", "ARG_POINTER_REGNUM", ")", "return", "67", ";", "if", "(", "regno", "==", "64", ")", "return", "64", ";", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Map", "internal", "gcc", "register", "numbers", "to", "debug", "format", "register", "numbers", ".", "FORMAT", "specifies", "the", "type", "of", "debug", "register", "number", "to", "use", ":", "0", "--", "debug", "information", ",", "except", "for", "frame-related", "sections", "1", "--", "DWARF", ".debug_frame", "section", "2", "--", "DWARF", ".eh_frame", "section"], "TS_V_token": ["rs6000", "0", "1", "31", "32", "1124", "108", "109", "101", "1", "64", "86", "356", "67", "111", "67", "64", "100", "31", "32", "77", "65", "66", "76", "68", "109", "110", "111", "67", "64", "64"], "File": "rs60001", "Func": "rs6000_debugger_regno", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13217, "Length": 299, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "processBlock", "(", "MachineBasicBlock", "&", "MBB", ")", "{", "bool", "Changed", "=", "false", ";", "bool", "Is64Bit", "=", "MBB", ".", "getParent", "(", ")", "->", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "isPPC64", "(", ")", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ",", "IE", "=", "MBB", ".", "end", "(", ")", ";", "I", "!=", "IE", ";", "++", "I", ")", "{", "MachineInstr", "*", "MI", "=", "I", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "ADDItlsgdLADDR", "&&", "MI", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "ADDItlsldLADDR", "&&", "MI", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "ADDItlsgdLADDR32", "&&", "MI", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "ADDItlsldLADDR32", ")", "continue", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"TLS Dynamic Call Fixup:\\n \"", "<<", "*", "MI", ";", ")", ";", "unsigned", "OutReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "unsigned", "InReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "GPR3", "=", "Is64Bit", "?", "PPC", "::", "X3", ":", "PPC", "::", "R3", ";", "unsigned", "Opc1", ",", "Opc2", ";", "SmallVector", "<", "unsigned", ",", "4", ">", "OrigRegs", ";", "OrigRegs", ".", "push_back", "(", "OutReg", ")", ";", "OrigRegs", ".", "push_back", "(", "InReg", ")", ";", "OrigRegs", ".", "push_back", "(", "GPR3", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Opcode inconsistency error\"", ")", ";", "case", "PPC", "::", "ADDItlsgdLADDR", ":", "Opc1", "=", "PPC", "::", "ADDItlsgdL", ";", "Opc2", "=", "PPC", "::", "GETtlsADDR", ";", "break", ";", "case", "PPC", "::", "ADDItlsldLADDR", ":", "Opc1", "=", "PPC", "::", "ADDItlsldL", ";", "Opc2", "=", "PPC", "::", "GETtlsldADDR", ";", "break", ";", "case", "PPC", "::", "ADDItlsgdLADDR32", ":", "Opc1", "=", "PPC", "::", "ADDItlsgdL32", ";", "Opc2", "=", "PPC", "::", "GETtlsADDR32", ";", "break", ";", "case", "PPC", "::", "ADDItlsldLADDR32", ":", "Opc1", "=", "PPC", "::", "ADDItlsldL32", ";", "Opc2", "=", "PPC", "::", "GETtlsldADDR32", ";", "break", ";", "}", "MachineInstr", "*", "Addi", "=", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", "->", "get", "(", "Opc1", ")", ",", "GPR3", ")", ".", "addReg", "(", "InReg", ")", ";", "Addi", "->", "addOperand", "(", "MI", "->", "getOperand", "(", "2", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "First", "=", "I", ";", "--", "First", ";", "MachineInstr", "*", "Call", "=", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", "->", "get", "(", "Opc2", ")", ",", "GPR3", ")", ".", "addReg", "(", "GPR3", ")", ")", ";", "Call", "->", "addOperand", "(", "MI", "->", "getOperand", "(", "3", ")", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "OutReg", ")", ".", "addReg", "(", "GPR3", ")", ";", "MachineBasicBlock", "::", "iterator", "Last", "=", "I", ";", "--", "Last", ";", "++", "I", ";", "MI", "->", "removeFromParent", "(", ")", ";", "LIS", "->", "repairIntervalsInRange", "(", "&", "MBB", ",", "First", ",", "Last", ",", "OrigRegs", ")", ";", "Changed", "=", "true", ";", "}", "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", "PPC", "PPC", "PPC::ADDItlsgdLADDR", "PPC::ADDItlsldLADDR", "PPC::ADDItlsgdLADDR32", "PPC::ADDItlsldLADDR32", "\"TLS Dynamic Call Fixup:\\n \"", "0", "1", "PPC::X3", "PPC::R3", "4", "\"Opcode inconsistency error\"", "PPC::ADDItlsgdLADDR", "PPC::ADDItlsgdL", "PPC::GETtlsADDR", "PPC::ADDItlsldLADDR", "PPC::ADDItlsldL", "PPC::GETtlsldADDR", "PPC::ADDItlsgdLADDR32", "PPC::ADDItlsgdL32", "PPC::GETtlsADDR32", "PPC::ADDItlsldLADDR32", "PPC::ADDItlsldL32", "PPC::GETtlsldADDR32", "2", "3"], "File": "PPCTLSDynamicCall21", "Func": "processBlock", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13218, "Length": 459, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "register_svpattern", "(", ")", "{", "auto_vec", "<", "string_int_pair", ",", "32", ">", "values", ";", "values", ".", "quick_push", "(", "string_int_pair", "(", "\"SV_\"", "#", "UPPER", ",", "VALUE", ")", ")", ";", "AARCH64_FOR_SVPATTERN", "(", "PUSH", ")", "acle_svpattern", "=", "lang_hooks", ".", "types", ".", "simulate_enum_decl", "(", "input_location", ",", "\"svpattern\"", ",", "&", "values", ")", ";", "}", ""], "natrual_language": ["Register", "the", "svpattern", "enum", "."], "TS_V_token": ["aarch64", "32", "\"SV_\"", "\"svpattern\""], "File": "aarch64-sve-builtins2", "Func": "register_svpattern", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13219, "Length": 49, "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": 13220, "Length": 477, "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": 13221, "Length": 491, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "canMergeStoresTo", "(", "unsigned", "AddressSpace", ",", "EVT", "MemVT", ",", "const", "MachineFunction", "&", "MF", ")", "const", "override", "{", "bool", "NoFloat", "=", "MF", ".", "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": "AArch64ISelLowering (2)1", "Func": "canMergeStoresTo", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13222, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "d30v_build_va_list", "(", ")", "{", "tree", "f_arg_ptr", ",", "f_arg_num", ",", "record", ",", "type_decl", ";", "tree", "int_type_node", ";", "record", "=", "make_lang_type", "(", "RECORD_TYPE", ")", ";", "type_decl", "=", "build_decl", "(", "TYPE_DECL", ",", "get_identifier", "(", "\"__va_list_tag\"", ")", ",", "record", ")", ";", "int_type_node", "=", "make_signed_type", "(", "INT_TYPE_SIZE", ")", ";", "f_arg_ptr", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"__va_arg_ptr\"", ")", ",", "ptr_type_node", ")", ";", "f_arg_num", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"__va_arg_num\"", ")", ",", "int_type_node", ")", ";", "DECL_FIELD_CONTEXT", "(", "f_arg_ptr", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_arg_num", ")", "=", "record", ";", "TREE_CHAIN", "(", "record", ")", "=", "type_decl", ";", "TYPE_NAME", "(", "record", ")", "=", "type_decl", ";", "TYPE_FIELDS", "(", "record", ")", "=", "f_arg_ptr", ";", "TREE_CHAIN", "(", "f_arg_ptr", ")", "=", "f_arg_num", ";", "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": ["d30v", "\"__va_list_tag\"", "\"__va_arg_ptr\"", "\"__va_arg_num\""], "File": "d30v", "Func": "d30v_build_va_list", "Target": "d30v", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13223, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addIRPasses", "(", ")", "{", "if", "(", "getARMSubtarget", "(", ")", ".", "isTargetNaCl", "(", ")", ")", "addPass", "(", "createInsertDivideCheckPass", "(", ")", ")", ";", "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", "ARM"], "File": "ARMTargetMachine97", "Func": "addIRPasses", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13224, "Length": 85, "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": 13225, "Length": 280, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPostRegAlloc", "(", ")", "{", "addPass", "(", "createX86FloatingPointStackifierPass", "(", ")", ")", ";", "addPass", "(", "createX86LoadValueInjectionLoadHardeningPass", "(", ")", ")", ";", "}", ""], "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"], "File": "X86TargetMachine48", "Func": "addPostRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13226, "Length": 22, "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": "ARMAsmBackend53", "Func": "shouldForceRelocation", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13227, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MVEGatherScatterLowering", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "!", "EnableMaskedGatherScatters", ")", "return", "false", ";", "auto", "&", "TPC", "=", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ";", "auto", "&", "TM", "=", "TPC", ".", "getTM", "<", "TargetMachine", ">", "(", ")", ";", "auto", "*", "ST", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", "F", ")", ";", "if", "(", "!", "ST", "->", "hasMVEIntegerOps", "(", ")", ")", "return", "false", ";", "SmallVector", "<", "IntrinsicInst", "*", ",", "4", ">", "Gathers", ";", "SmallVector", "<", "IntrinsicInst", "*", ",", "4", ">", "Scatters", ";", "LoopInfo", "&", "LI", "=", "getAnalysis", "<", "LoopInfoWrapperPass", ">", "(", ")", ".", "getLoopInfo", "(", ")", ";", "for", "(", "BasicBlock", "&", "BB", ":", "F", ")", "{", "for", "(", "Instruction", "&", "I", ":", "BB", ")", "{", "IntrinsicInst", "*", "II", "=", "dyn_cast", "<", "IntrinsicInst", ">", "(", "&", "I", ")", ";", "if", "(", "II", "&&", "II", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "masked_gather", ")", "Gathers", ".", "push_back", "(", "II", ")", ";", "else", "if", "(", "II", "&&", "II", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "masked_scatter", ")", "Scatters", ".", "push_back", "(", "II", ")", ";", "}", "}", "bool", "Changed", "=", "false", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Gathers", ".", "size", "(", ")", ";", "i", "++", ")", "{", "IntrinsicInst", "*", "I", "=", "Gathers", "[", "i", "]", ";", "if", "(", "isa", "<", "GetElementPtrInst", ">", "(", "I", "->", "getArgOperand", "(", "0", ")", ")", ")", "optimiseOffsets", "(", "cast", "<", "Instruction", ">", "(", "I", "->", "getArgOperand", "(", "0", ")", ")", "->", "getOperand", "(", "1", ")", ",", "I", "->", "getParent", "(", ")", ",", "&", "LI", ")", ";", "Value", "*", "L", "=", "lowerGather", "(", "I", ")", ";", "if", "(", "L", "==", "nullptr", ")", "continue", ";", "SimplifyInstructionsInBlock", "(", "cast", "<", "Instruction", ">", "(", "L", ")", "->", "getParent", "(", ")", ")", ";", "Changed", "=", "true", ";", "}", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Scatters", ".", "size", "(", ")", ";", "i", "++", ")", "{", "IntrinsicInst", "*", "I", "=", "Scatters", "[", "i", "]", ";", "if", "(", "isa", "<", "GetElementPtrInst", ">", "(", "I", "->", "getArgOperand", "(", "1", ")", ")", ")", "optimiseOffsets", "(", "cast", "<", "Instruction", ">", "(", "I", "->", "getArgOperand", "(", "1", ")", ")", "->", "getOperand", "(", "1", ")", ",", "I", "->", "getParent", "(", ")", ",", "&", "LI", ")", ";", "Value", "*", "S", "=", "lowerScatter", "(", "I", ")", ";", "if", "(", "S", "==", "nullptr", ")", "continue", ";", "SimplifyInstructionsInBlock", "(", "cast", "<", "Instruction", ">", "(", "S", ")", "->", "getParent", "(", ")", ")", ";", "Changed", "=", "true", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["ARM", "ARM", "4", "4", "Intrinsic::masked_gather", "Intrinsic::masked_scatter", "0", "0", "0", "1", "0", "1", "1", "1"], "File": "MVEGatherScatterLowering1", "Func": "runOnFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13228, "Length": 407, "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": 13229, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CSKYRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", "&&", "\"Unexpected non-zero SPAdj value\"", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["CSKY", "CSKY", "0", "\"Unexpected non-zero SPAdj value\""], "File": "CSKYRegisterInfo", "Func": "eliminateFrameIndex", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13230, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetTransformInfo", "MipsTargetMachine", "::", "getTargetTransformInfo", "(", "const", "Function", "&", "F", ")", "{", "if", "(", "Subtarget", "->", "allowMixed16_32", "(", ")", ")", "{", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\"No Target Transform Info Pass Added\\n\"", ")", ";", "return", "TargetTransformInfo", "(", "F", ".", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ")", ";", "}", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\"Target Transform Info Pass Added\\n\"", ")", ";", "return", "TargetTransformInfo", "(", "BasicTTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetTransformInfo", "implementation", "for", "the", "target", "."], "TS_V_token": ["Mips", "Mips", "\"No Target Transform Info Pass Added\\n\"", "\"Target Transform Info Pass Added\\n\""], "File": "MipsTargetMachine14", "Func": "getTargetTransformInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13231, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "LanaiTargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "EVT", ",", "SelectionDAG", "&", ")", "const", "{", "unsigned", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "\"pc\"", ",", "Lanai", "::", "PC", ")", ".", "Case", "(", "\"sp\"", ",", "Lanai", "::", "SP", ")", ".", "Case", "(", "\"fp\"", ",", "Lanai", "::", "FP", ")", ".", "Case", "(", "\"rr1\"", ",", "Lanai", "::", "RR1", ")", ".", "Case", "(", "\"r10\"", ",", "Lanai", "::", "R10", ")", ".", "Case", "(", "\"rr2\"", ",", "Lanai", "::", "RR2", ")", ".", "Case", "(", "\"r11\"", ",", "Lanai", "::", "R11", ")", ".", "Case", "(", "\"rca\"", ",", "Lanai", "::", "RCA", ")", ".", "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": ["Lanai", "Lanai", "\"pc\"", "Lanai::PC", "\"sp\"", "Lanai::SP", "\"fp\"", "Lanai::FP", "\"rr1\"", "Lanai::RR1", "\"r10\"", "Lanai::R10", "\"rr2\"", "Lanai::RR2", "\"r11\"", "Lanai::R11", "\"rca\"", "Lanai::RCA", "0", "\"Invalid register name global variable\""], "File": "LanaiISelLowering1", "Func": "getRegisterByName", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13232, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "segv_crash_handler", "(", "int", "sig", "ATTRIBUTE_UNUSED", ")", "{", "internal_error", "(", "\"segmentation fault (code)\"", ")", ";", "}", ""], "natrual_language": ["On", "Darwin/powerpc", ",", "hitting", "the", "stack", "limit", "turns", "into", "a", "SIGSEGV", ".", "This", "code", "detects", "the", "difference", "between", "hitting", "the", "stack", "limit", "and", "a", "true", "wild", "pointer", "dereference", "by", "looking", "at", "the", "instruction", "that", "faulted", ";", "only", "a", "few", "kinds", "of", "instruction", "are", "used", "to", "access", "below", "the", "previous", "bottom", "of", "the", "stack", "."], "TS_V_token": ["rs6000", "\"segmentation fault (code)\""], "File": "host-darwin", "Func": "segv_crash_handler", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13233, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arm_find_sub_rtx_with_code", "(", "rtx", "pattern", ",", "rtx_code", "code", ",", "bool", "find_any_shift", ")", "{", "subrtx_var_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX_VAR", "(", "iter", ",", "array", ",", "pattern", ",", "NONCONST", ")", "{", "rtx", "x", "=", "*", "iter", ";", "if", "(", "find_any_shift", ")", "{", "if", "(", "arm_rtx_shift_left_p", "(", "x", ")", ")", "return", "x", ";", "else", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "shift_rtx_codes", ")", ";", "i", "++", ")", "if", "(", "GET_CODE", "(", "x", ")", "==", "shift_rtx_codes", "[", "i", "]", ")", "return", "x", ";", "}", "if", "(", "GET_CODE", "(", "x", ")", "==", "code", ")", "return", "x", ";", "}", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Traverse", "PATTERN", "looking", "for", "a", "sub-rtx", "with", "RTX_CODE", "CODE", ".", "If", "FIND_ANY_SHIFT", "then", "we", "are", "interested", "in", "anything", "which", "can", "reasonably", "be", "described", "as", "a", "SHIFT", "RTX", "."], "TS_V_token": ["arm", "0"], "File": "aarch-common", "Func": "arm_find_sub_rtx_with_code", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13234, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "int", "choose_baseaddr_len", "(", "unsigned", "int", "regno", ",", "HOST_WIDE_INT", "offset", ")", "{", "int", "len", "=", "4", ";", "if", "(", "offset", "==", "0", ")", "{", "len", "=", "(", "regno", "==", "BP_REG", "||", "regno", "==", "R13_REG", ")", ";", "}", "else", "if", "(", "IN_RANGE", "(", "offset", ",", "-", "128", ",", "127", ")", ")", "len", "=", "1", ";", "if", "(", "regno", "==", "SP_REG", "||", "regno", "==", "R12_REG", ")", "len", "++", ";", "return", "len", ";", "}", ""], "natrual_language": ["This", "is", "semi-inlined", "memory_address_length", ",", "but", "simplified", "since", "we", "know", "that", "we", "'re", "always", "dealing", "with", "reg+offset", ",", "and", "to", "avoid", "having", "to", "create", "and", "discard", "all", "that", "rtl", "."], "TS_V_token": ["i386", "4", "0", "128", "127", "1"], "File": "i386", "Func": "choose_baseaddr_len", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13235, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSection", "*", "X86WindowsTargetObjectFile", "::", "getSectionForConstant", "(", "SectionKind", "Kind", ",", "const", "Constant", "*", "C", ")", "const", "{", "if", "(", "Kind", ".", "isReadOnly", "(", ")", ")", "{", "if", "(", "C", ")", "{", "Type", "*", "Ty", "=", "C", "->", "getType", "(", ")", ";", "SmallString", "<", "32", ">", "COMDATSymName", ";", "if", "(", "Ty", "->", "isFloatTy", "(", ")", "||", "Ty", "->", "isDoubleTy", "(", ")", ")", "{", "COMDATSymName", "=", "\"__real@\"", ";", "COMDATSymName", "+=", "scalarConstantToHexString", "(", "C", ")", ";", "}", "else", "if", "(", "const", "auto", "*", "VTy", "=", "dyn_cast", "<", "VectorType", ">", "(", "Ty", ")", ")", "{", "uint64_t", "NumBits", "=", "VTy", "->", "getBitWidth", "(", ")", ";", "if", "(", "NumBits", "==", "128", "||", "NumBits", "==", "256", ")", "{", "COMDATSymName", "=", "NumBits", "==", "128", "?", "\"__xmm@\"", ":", "\"__ymm@\"", ";", "for", "(", "int", "I", "=", "VTy", "->", "getNumElements", "(", ")", "-", "1", ",", "E", "=", "-", "1", ";", "I", "!=", "E", ";", "--", "I", ")", "COMDATSymName", "+=", "scalarConstantToHexString", "(", "C", "->", "getAggregateElement", "(", "I", ")", ")", ";", "}", "}", "if", "(", "!", "COMDATSymName", ".", "empty", "(", ")", ")", "{", "unsigned", "Characteristics", "=", "COFF", "::", "IMAGE_SCN_CNT_INITIALIZED_DATA", "|", "COFF", "::", "IMAGE_SCN_MEM_READ", "|", "COFF", "::", "IMAGE_SCN_LNK_COMDAT", ";", "return", "getContext", "(", ")", ".", "getCOFFSection", "(", "\".rdata\"", ",", "Characteristics", ",", "Kind", ",", "COMDATSymName", ",", "COFF", "::", "IMAGE_COMDAT_SELECT_ANY", ")", ";", "}", "}", "}", "return", "TargetLoweringObjectFile", "::", "getSectionForConstant", "(", "Kind", ",", "C", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constant", "with", "the", "SectionKind", ",", "return", "a", "section", "that", "it", "should", "be", "placed", "in", "."], "TS_V_token": ["X86", "X86", "32", "\"__real@\"", "128", "256", "128", "\"__xmm@\"", "\"__ymm@\"", "1", "1", "\".rdata\""], "File": "X86TargetObjectFile31", "Func": "getSectionForConstant", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13236, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZLDCleanup", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "TII", "=", "static_cast", "<", "const", "SystemZInstrInfo", "*", ">", "(", "F", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MF", "=", "&", "F", ";", "SystemZMachineFunctionInfo", "*", "MFI", "=", "F", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "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": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "2", "0"], "File": "SystemZLDCleanup3", "Func": "runOnMachineFunction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13237, "Length": 88, "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", "(", "!", "Branch", "||", "!", "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", ")", ";", "++", "NumFused", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "DAG", "->", "MF", ".", "getName", "(", ")", "<<", "\"(): Macro fuse \"", ";", "SU", ".", "print", "(", "dbgs", "(", ")", ",", "DAG", ")", ";", "dbgs", "(", ")", "<<", "\" - ExitSU\"", "<<", "\" / \"", "<<", "DAG", "->", "TII", "->", "getName", "(", "Pred", ".", "getOpcode", "(", ")", ")", "<<", "\" - \"", "<<", "DAG", "->", "TII", "->", "getName", "(", "Branch", "->", "getOpcode", "(", ")", ")", "<<", "'\\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": "X86MacroFusion12", "Func": "apply", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13238, "Length": 295, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "vax_mode_dependent_address_p", "(", "const_rtx", "x", ",", "addr_space_t", "as", "ATTRIBUTE_UNUSED", ")", "{", "rtx", "xfoo0", ",", "xfoo1", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "PLUS", ")", "return", "false", ";", "xfoo0", "=", "XEXP", "(", "x", ",", "0", ")", ";", "xfoo1", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "CONST_INT_P", "(", "xfoo0", ")", "&&", "REG_P", "(", "xfoo1", ")", ")", "return", "false", ";", "if", "(", "CONST_INT_P", "(", "xfoo1", ")", "&&", "REG_P", "(", "xfoo0", ")", ")", "return", "false", ";", "if", "(", "!", "flag_pic", "&&", "CONSTANT_ADDRESS_P", "(", "xfoo0", ")", "&&", "REG_P", "(", "xfoo1", ")", ")", "return", "false", ";", "if", "(", "!", "flag_pic", "&&", "CONSTANT_ADDRESS_P", "(", "xfoo1", ")", "&&", "REG_P", "(", "xfoo0", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "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", "0", "1"], "File": "vax", "Func": "vax_mode_dependent_address_p", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13239, "Length": 117, "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", "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", "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": "pa4", "Func": "pa_output_global_address", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13240, "Length": 396, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "X86Subtarget", "::", "ClassifyGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "const", "TargetMachine", "&", "TM", ")", "const", "{", "if", "(", "GV", "->", "hasDLLImportStorageClass", "(", ")", ")", "return", "X86II", "::", "MO_DLLIMPORT", ";", "bool", "isDecl", "=", "GV", "->", "hasAvailableExternallyLinkage", "(", ")", ";", "if", "(", "GV", "->", "isDeclaration", "(", ")", "&&", "!", "GV", "->", "isMaterializable", "(", ")", ")", "isDecl", "=", "true", ";", "if", "(", "isPICStyleRIPRel", "(", ")", ")", "{", "if", "(", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "if", "(", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "GV", "->", "hasDefaultVisibility", "(", ")", "&&", "(", "isDecl", "||", "GV", "->", "isWeakForLinker", "(", ")", ")", ")", "return", "X86II", "::", "MO_GOTPCREL", ";", "}", "else", "if", "(", "!", "isTargetWin64", "(", ")", ")", "{", "assert", "(", "isTargetELF", "(", ")", "&&", "\"Unknown rip-relative target\"", ")", ";", "if", "(", "!", "GV", "->", "hasLocalLinkage", "(", ")", "&&", "GV", "->", "hasDefaultVisibility", "(", ")", ")", "return", "X86II", "::", "MO_GOTPCREL", ";", "}", "return", "X86II", "::", "MO_NO_FLAG", ";", "}", "if", "(", "isPICStyleGOT", "(", ")", ")", "{", "if", "(", "GV", "->", "hasLocalLinkage", "(", ")", "||", "GV", "->", "hasHiddenVisibility", "(", ")", ")", "return", "X86II", "::", "MO_GOTOFF", ";", "return", "X86II", "::", "MO_GOT", ";", "}", "if", "(", "isPICStyleStubPIC", "(", ")", ")", "{", "if", "(", "!", "isDecl", "&&", "!", "GV", "->", "isWeakForLinker", "(", ")", ")", "return", "X86II", "::", "MO_PIC_BASE_OFFSET", ";", "if", "(", "!", "GV", "->", "hasHiddenVisibility", "(", ")", ")", "return", "X86II", "::", "MO_DARWIN_NONLAZY_PIC_BASE", ";", "if", "(", "isDecl", "||", "GV", "->", "hasCommonLinkage", "(", ")", ")", "{", "return", "X86II", "::", "MO_DARWIN_HIDDEN_NONLAZY_PIC_BASE", ";", "}", "return", "X86II", "::", "MO_PIC_BASE_OFFSET", ";", "}", "if", "(", "isPICStyleStubNoDynamic", "(", ")", ")", "{", "if", "(", "!", "isDecl", "&&", "!", "GV", "->", "isWeakForLinker", "(", ")", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "if", "(", "!", "GV", "->", "hasHiddenVisibility", "(", ")", ")", "return", "X86II", "::", "MO_DARWIN_NONLAZY", ";", "return", "X86II", "::", "MO_NO_FLAG", ";", "}", "return", "X86II", "::", "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": ["X86", "X86", "X86II::MO_DLLIMPORT", "X86II::MO_NO_FLAG", "X86II::MO_GOTPCREL", "\"Unknown rip-relative target\"", "X86II::MO_GOTPCREL", "X86II::MO_NO_FLAG", "X86II::MO_GOTOFF", "X86II::MO_GOT", "X86II::MO_PIC_BASE_OFFSET", "X86II::MO_DARWIN_NONLAZY_PIC_BASE", "X86II::MO_DARWIN_HIDDEN_NONLAZY_PIC_BASE", "X86II::MO_PIC_BASE_OFFSET", "X86II::MO_NO_FLAG", "X86II::MO_DARWIN_NONLAZY", "X86II::MO_NO_FLAG", "X86II::MO_NO_FLAG"], "File": "X86Subtarget100", "Func": "ClassifyGlobalReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13241, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "AArch64FunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "if", "(", "AFI", "->", "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": "AArch64CleanupLocalDynamicTLSPass10", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13242, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_swdivsf", "(", "rtx", "res", ",", "rtx", "n", ",", "rtx", "d", ")", "{", "rtx", "x0", ",", "e0", ",", "e1", ",", "y1", ",", "u0", ",", "v0", ",", "one", ";", "x0", "=", "gen_reg_rtx", "(", "SFmode", ")", ";", "e0", "=", "gen_reg_rtx", "(", "SFmode", ")", ";", "e1", "=", "gen_reg_rtx", "(", "SFmode", ")", ";", "y1", "=", "gen_reg_rtx", "(", "SFmode", ")", ";", "u0", "=", "gen_reg_rtx", "(", "SFmode", ")", ";", "v0", "=", "gen_reg_rtx", "(", "SFmode", ")", ";", "one", "=", "force_reg", "(", "SFmode", ",", "CONST_DOUBLE_FROM_REAL_VALUE", "(", "dconst1", ",", "SFmode", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "x0", ",", "gen_rtx_UNSPEC", "(", "SFmode", ",", "gen_rtvec", "(", "1", ",", "d", ")", ",", "UNSPEC_FRES", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "e0", ",", "gen_rtx_MINUS", "(", "SFmode", ",", "one", ",", "gen_rtx_MULT", "(", "SFmode", ",", "d", ",", "x0", ")", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "e1", ",", "gen_rtx_PLUS", "(", "SFmode", ",", "gen_rtx_MULT", "(", "SFmode", ",", "e0", ",", "e0", ")", ",", "e0", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "y1", ",", "gen_rtx_PLUS", "(", "SFmode", ",", "gen_rtx_MULT", "(", "SFmode", ",", "e1", ",", "x0", ")", ",", "x0", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "u0", ",", "gen_rtx_MULT", "(", "SFmode", ",", "n", ",", "y1", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "v0", ",", "gen_rtx_MINUS", "(", "SFmode", ",", "n", ",", "gen_rtx_MULT", "(", "SFmode", ",", "d", ",", "u0", ")", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "res", ",", "gen_rtx_PLUS", "(", "SFmode", ",", "gen_rtx_MULT", "(", "SFmode", ",", "v0", ",", "y1", ")", ",", "u0", ")", ")", ")", ";", "}", ""], "natrual_language": ["Newton-Raphson", "approximation", "of", "single-precision", "floating", "point", "divide", "n/d", ".", "Assumes", "no", "trapping", "math", "and", "finite", "arguments", "."], "TS_V_token": ["rs6000", "1"], "File": "rs60003", "Func": "rs6000_emit_swdivsf", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13243, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiAsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", ",", "const", "MCSubtargetInfo", "*", ")", "const", "{", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "static_cast", "<", "unsigned", ">", "(", "Kind", ")", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "+", "7", ")", "/", "8", ";", "unsigned", "FullSize", "=", "4", ";", "uint64_t", "CurVal", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "(", "FullSize", "-", "1", "-", "i", ")", ";", "CurVal", "|=", "static_cast", "<", "uint64_t", ">", "(", "static_cast", "<", "uint8_t", ">", "(", "Data", "[", "Offset", "+", "Idx", "]", ")", ")", "<<", "(", "i", "*", "8", ")", ";", "}", "uint64_t", "Mask", "=", "(", "static_cast", "<", "uint64_t", ">", "(", "-", "1", ")", ">>", "(", "64", "-", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", ")", ";", "CurVal", "|=", "Value", "&", "Mask", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "(", "FullSize", "-", "1", "-", "i", ")", ";", "Data", "[", "Offset", "+", "Idx", "]", "=", "static_cast", "<", "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": ["Lanai", "Lanai", "7", "8", "4", "0", "0", "1", "8", "1", "64", "0", "1", "8", "0xff"], "File": "LanaiAsmBackend12", "Func": "applyFixup", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13244, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"AArch64 Redundant Copy Elimination\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64", "\"AArch64 Redundant Copy Elimination\""], "File": "AArch64RedundantCopyElimination8", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13245, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "AArch64RegisterInfo", "::", "getThisReturnPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "assert", "(", "CC", "!=", "CallingConv", "::", "GHC", "&&", "\"should not be GHC calling convention.\"", ")", ";", "if", "(", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isTargetDarwin", "(", ")", ")", "return", "CSR_Darwin_AArch64_AAPCS_ThisReturn_RegMask", ";", "return", "CSR_AArch64_AAPCS_ThisReturn_RegMask", ";", "}", ""], "natrual_language": ["getThisReturnPreservedMask", "-", "Returns", "a", "call", "preserved", "mask", "specific", "to", "the", "case", "that", "'returned", "'", "is", "on", "an", "i32", "first", "argument", "if", "the", "calling", "convention", "is", "one", "that", "can", "(", "partially", ")", "model", "this", "attribute", "with", "a", "preserved", "mask", "(", "i.e", "."], "TS_V_token": ["AArch64", "AArch64", "\"should not be GHC calling convention.\"", "AArch64", "AArch64", "AArch64"], "File": "AArch64RegisterInfo21", "Func": "getThisReturnPreservedMask", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13246, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0InstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ")", "{", "printInstruction", "(", "MI", ",", "O", ")", ";", "O", "<<", "\";\"", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["Cpu0", "Cpu0", "\";\""], "File": "Cpu0InstPrinter1", "Func": "printInst", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13247, "Length": 37, "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", "E_QImode", ":", "case", "E_HImode", ":", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "source", ")", ")", ";", "return", "true", ";", "case", "E_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", "E_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": ["powerpcspe", "0xffff", "0xffff", "0", "0", "32", "0xffffffff", "0x80000000", "0x80000000"], "File": "powerpcspe", "Func": "rs6000_emit_set_const", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13248, "Length": 272, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "OS", ")", "{", "if", "(", "ExtraCode", "&&", "*", "ExtraCode", "==", "'n'", ")", "{", "if", "(", "!", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isImm", "(", ")", ")", "return", "true", ";", "OS", "<<", "-", "int64_t", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", ")", ";", "}", "else", "{", "SystemZMCInstLower", "Lower", "(", "Mang", ",", "MF", "->", "getContext", "(", ")", ",", "*", "this", ")", ";", "MCOperand", "MO", "(", "Lower", ".", "lowerOperand", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ")", ")", ";", "SystemZInstPrinter", "::", "printOperand", "(", "MO", ",", "OS", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ"], "File": "SystemZAsmPrinter3", "Func": "PrintAsmOperand", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13249, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "initial_elimination_offset", "(", "int", "from", ",", "int", "to", ")", "{", "int", "regs_saved", ";", "int", "regs_saved_rounding", "=", "0", ";", "int", "total_saved_regs_space", ";", "int", "total_auto_space", ";", "int", "save_flags", "=", "target_flags", ";", "int", "copy_flags", ";", "HARD_REG_SET", "live_regs_mask", ";", "shmedia_space_reserved_for_target_registers", "=", "false", ";", "regs_saved", "=", "calc_live_regs", "(", "&", "live_regs_mask", ")", ";", "regs_saved", "+=", "SHMEDIA_REGS_STACK_ADJUST", "(", ")", ";", "if", "(", "shmedia_reserve_space_for_target_registers_p", "(", "regs_saved", ",", "&", "live_regs_mask", ")", ")", "{", "shmedia_space_reserved_for_target_registers", "=", "true", ";", "regs_saved", "+=", "shmedia_target_regs_stack_adjust", "(", "&", "live_regs_mask", ")", ";", "}", "if", "(", "TARGET_SH5", "&&", "regs_saved", "%", "(", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ")", ")", "regs_saved_rounding", "=", "(", "(", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ")", "-", "regs_saved", "%", "(", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ")", ")", ";", "total_auto_space", "=", "rounded_frame_size", "(", "regs_saved", ")", "-", "regs_saved_rounding", ";", "copy_flags", "=", "target_flags", ";", "target_flags", "=", "save_flags", ";", "total_saved_regs_space", "=", "regs_saved", "+", "regs_saved_rounding", ";", "if", "(", "from", "==", "ARG_POINTER_REGNUM", "&&", "to", "==", "HARD_FRAME_POINTER_REGNUM", ")", "return", "total_saved_regs_space", "+", "total_auto_space", "+", "crtl", "->", "args", ".", "info", ".", "byref_regs", "*", "8", ";", "if", "(", "from", "==", "ARG_POINTER_REGNUM", "&&", "to", "==", "STACK_POINTER_REGNUM", ")", "return", "total_saved_regs_space", "+", "total_auto_space", "+", "crtl", "->", "args", ".", "info", ".", "byref_regs", "*", "8", ";", "if", "(", "from", "==", "HARD_FRAME_POINTER_REGNUM", "&&", "to", "==", "STACK_POINTER_REGNUM", ")", "return", "0", ";", "if", "(", "from", "==", "FRAME_POINTER_REGNUM", "&&", "to", "==", "STACK_POINTER_REGNUM", ")", "return", "rounded_frame_size", "(", "0", ")", ";", "if", "(", "from", "==", "FRAME_POINTER_REGNUM", "&&", "to", "==", "HARD_FRAME_POINTER_REGNUM", ")", "return", "rounded_frame_size", "(", "0", ")", ";", "gcc_assert", "(", "from", "==", "RETURN_ADDRESS_POINTER_REGNUM", "&&", "(", "to", "==", "HARD_FRAME_POINTER_REGNUM", "||", "to", "==", "STACK_POINTER_REGNUM", ")", ")", ";", "if", "(", "TARGET_SH5", ")", "{", "int", "n", "=", "total_saved_regs_space", ";", "int", "pr_reg", "=", "TARGET_SHMEDIA", "?", "PR_MEDIA_REG", ":", "PR_REG", ";", "save_schedule", "schedule", ";", "save_entry", "*", "entry", ";", "n", "+=", "total_auto_space", ";", "if", "(", "!", "TEST_HARD_REG_BIT", "(", "live_regs_mask", ",", "pr_reg", ")", ")", "return", "n", ";", "target_flags", "=", "copy_flags", ";", "sh5_schedule_saves", "(", "&", "live_regs_mask", ",", "&", "schedule", ",", "n", ")", ";", "for", "(", "entry", "=", "&", "schedule", ".", "entries", "[", "1", "]", ";", "entry", "->", "mode", "!=", "VOIDmode", ";", "entry", "++", ")", "if", "(", "entry", "->", "reg", "==", "pr_reg", ")", "{", "target_flags", "=", "save_flags", ";", "return", "entry", "->", "offset", ";", "}", "gcc_unreachable", "(", ")", ";", "}", "else", "return", "total_auto_space", ";", "}", ""], "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": ["sh", "0", "8", "8", "0", "0", "0", "1"], "File": "sh4", "Func": "initial_elimination_offset", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13250, "Length": 350, "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": 13251, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSymbol", "*", "ARMAsmPrinter", "::", "GetCPISymbol", "(", "unsigned", "CPID", ")", "const", "{", "const", "DataLayout", "&", "DL", "=", "getDataLayout", "(", ")", ";", "return", "OutContext", ".", "getOrCreateSymbol", "(", "Twine", "(", "DL", ".", "getPrivateGlobalPrefix", "(", ")", ")", "+", "\"CPI\"", "+", "Twine", "(", "getFunctionNumber", "(", ")", ")", "+", "\"_\"", "+", "Twine", "(", "CPID", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "symbol", "for", "the", "specified", "constant", "pool", "entry", "."], "TS_V_token": ["ARM", "ARM", "\"CPI\"", "\"_\""], "File": "ARMAsmPrinter", "Func": "GetCPISymbol", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13252, "Length": 52, "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": 13253, "Length": 202, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86TTIImpl", "::", "getIntImmCost", "(", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", ")", "return", "~", "0U", ";", "if", "(", "BitSize", ">", "128", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "Imm", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "APInt", "ImmVal", "=", "Imm", ";", "if", "(", "BitSize", "%", "64", "!=", "0", ")", "ImmVal", "=", "Imm", ".", "sext", "(", "alignTo", "(", "BitSize", ",", "64", ")", ")", ";", "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": ["X86", "X86", "0", "0U", "128", "0", "64", "0", "64", "0", "0", "64", "64", "1"], "File": "X86TargetTransformInfo103", "Func": "getIntImmCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13254, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "mips16_set_fcsr_one_only_stub", "::", "get_name", "(", ")", "{", "return", "\"__mips16_set_fcsr\"", ";", "}", ""], "natrual_language": ["Return", "the", "overloaded", "or", "full", "function", "name", "for", "INSTANCE", ";", "OVERLOADED_P", "selects", "which", ".", "Allocate", "the", "string", "on", "m_string_obstack", ";", "the", "caller", "must", "use", "obstack_free", "to", "free", "it", "after", "use", "."], "TS_V_token": ["mips", "\"__mips16_set_fcsr\""], "File": "mips", "Func": "get_name", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13255, "Length": 13, "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", "(", "toc_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": "rs60005", "Func": "rs6000_xcoff_file_start", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13256, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "const", "TargetMachine", "&", "TM", "=", "MF", ".", "getTarget", "(", ")", ";", "if", "(", "MF", ".", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "Attribute", "::", "Naked", ")", ")", "return", "false", ";", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", ")", "return", "false", ";", "OR1KMachineFunctionInfo", "*", "OR1KFI", "=", "MF", ".", "getInfo", "<", "OR1KMachineFunctionInfo", ">", "(", ")", ";", "unsigned", "GlobalBaseReg", "=", "OR1KFI", "->", "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", "TargetInstrInfo", "*", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "unsigned", "Scratch1", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "OR1K", "::", "GPRRegClass", ")", ";", "unsigned", "Scratch2", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "OR1K", "::", "GPRRegClass", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "OR1K", "::", "GETPC", ")", ")", ".", "addImm", "(", "0", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "OR1K", "::", "MOVHI", ")", ",", "Scratch1", ")", ".", "addExternalSymbol", "(", "\"_GLOBAL_OFFSET_TABLE_\"", ",", "OR1KII", "::", "MO_GOTPCHI", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "OR1K", "::", "ORI", ")", ",", "Scratch2", ")", ".", "addReg", "(", "Scratch1", ")", ".", "addExternalSymbol", "(", "\"_GLOBAL_OFFSET_TABLE_\"", ",", "OR1KII", "::", "MO_GOTPCLO", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "OR1K", "::", "ADD", ")", ",", "GlobalBaseReg", ")", ".", "addReg", "(", "OR1K", "::", "R9", ")", ".", "addReg", "(", "Scratch2", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["OR1K", "OR1K", "OR1K", "OR1K", "OR1K", "0", "OR1K::GPRRegClass", "OR1K::GPRRegClass", "OR1K::GETPC", "0", "OR1K::MOVHI", "\"_GLOBAL_OFFSET_TABLE_\"", "OR1KII::MO_GOTPCHI", "OR1K::ORI", "\"_GLOBAL_OFFSET_TABLE_\"", "OR1KII::MO_GOTPCLO", "OR1K::ADD", "OR1K::R9"], "File": "OR1KInstrInfo1", "Func": "runOnMachineFunction", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13257, "Length": 288, "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", ".", "isDebugInstr", "(", ")", ")", "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", "++", ";", "}", "}", "}", "llvm", "::", "stable_sort", "(", "SortingObjects", ",", "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": "X86FrameLowering10", "Func": "orderFrameObjects", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13258, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "SystemZTTIImpl", "::", "getIntrinsicInstrCost", "(", "const", "IntrinsicCostAttributes", "&", "ICA", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "int", "Cost", "=", "getVectorIntrinsicInstrCost", "(", "ICA", ".", "getID", "(", ")", ",", "ICA", ".", "getReturnType", "(", ")", ")", ";", "if", "(", "Cost", "!=", "-", "1", ")", "return", "Cost", ";", "return", "BaseT", "::", "getIntrinsicInstrCost", "(", "ICA", ",", "CostKind", ")", ";", "}", ""], "natrual_language": ["Get", "intrinsic", "cost", "based", "on", "arguments", "."], "TS_V_token": ["SystemZ", "SystemZ", "1"], "File": "SystemZTargetTransformInfo", "Func": "getIntrinsicInstrCost", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13259, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "if", "(", "IDVal", "==", "\".word\"", ")", "return", "ParseDirectiveWord", "(", "2", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", ".", "startswith", "(", "\".code\"", ")", ")", "return", "ParseDirectiveCode", "(", "IDVal", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", ".", "startswith", "(", "\".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", "(", ")", ";", "}", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["X86", "X86", "\".word\"", "2", "\".code\"", "\".att_syntax\"", "0", "\".intel_syntax\"", "1", "\"noprefix\""], "File": "X86AsmParser (2)", "Func": "ParseDirective", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13260, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSEDAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "static_cast", "<", "const", "MipsSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "if", "(", "Subtarget", "->", "inMips16Mode", "(", ")", ")", "return", "false", ";", "return", "MipsDAGToDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsSEISelDAGToDAG (2)", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13261, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "shouldReduceLoadWidth", "(", "SDNode", "*", "Load", ",", "ISD", "::", "LoadExtType", "ExtTy", ",", "EVT", "NewVT", ")", "const", "{", "if", "(", "!", "TargetLoweringBase", "::", "shouldReduceLoadWidth", "(", "Load", ",", "ExtTy", ",", "NewVT", ")", ")", "return", "false", ";", "if", "(", "ExtTy", "!=", "ISD", "::", "NON_EXTLOAD", ")", "return", "true", ";", "MemSDNode", "*", "Mem", "=", "dyn_cast", "<", "MemSDNode", ">", "(", "Load", ")", ";", "assert", "(", "Mem", ")", ";", "const", "SDValue", "&", "Base", "=", "Mem", "->", "getBasePtr", "(", ")", ";", "if", "(", "Base", ".", "getOpcode", "(", ")", "==", "ISD", "::", "ADD", "&&", "Base", ".", "getOperand", "(", "1", ")", ".", "getOpcode", "(", ")", "==", "ISD", "::", "SHL", "&&", "Base", ".", "getOperand", "(", "1", ")", ".", "hasOneUse", "(", ")", "&&", "Base", ".", "getOperand", "(", "1", ")", ".", "getOperand", "(", "1", ")", ".", "getOpcode", "(", ")", "==", "ISD", "::", "Constant", ")", "{", "uint64_t", "ShiftAmount", "=", "Base", ".", "getOperand", "(", "1", ")", ".", "getConstantOperandVal", "(", "1", ")", ";", "uint64_t", "LoadBytes", "=", "Mem", "->", "getMemoryVT", "(", ")", ".", "getSizeInBits", "(", ")", "/", "8", ";", "if", "(", "ShiftAmount", "==", "Log2_32", "(", "LoadBytes", ")", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "believe", "it", "is", "correct", "and", "profitable", "to", "reduce", "the", "load", "node", "to", "a", "smaller", "type", "."], "TS_V_token": ["AArch64", "AArch64", "ISD::LoadExtType", "ISD::NON_EXTLOAD", "ISD::ADD", "1", "ISD::SHL", "1", "1", "1", "ISD::Constant", "1", "1", "8"], "File": "AArch64ISelLowering (2)2", "Func": "shouldReduceLoadWidth", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13262, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ix86_issue_rate", "(", "void", ")", "{", "switch", "(", "ix86_tune", ")", "{", "case", "PROCESSOR_PENTIUM", ":", "case", "PROCESSOR_LAKEMONT", ":", "case", "PROCESSOR_BONNELL", ":", "case", "PROCESSOR_SILVERMONT", ":", "case", "PROCESSOR_KNL", ":", "case", "PROCESSOR_KNM", ":", "case", "PROCESSOR_INTEL", ":", "case", "PROCESSOR_K6", ":", "case", "PROCESSOR_BTVER2", ":", "case", "PROCESSOR_PENTIUM4", ":", "case", "PROCESSOR_NOCONA", ":", "return", "2", ";", "case", "PROCESSOR_PENTIUMPRO", ":", "case", "PROCESSOR_ATHLON", ":", "case", "PROCESSOR_K8", ":", "case", "PROCESSOR_AMDFAM10", ":", "case", "PROCESSOR_BTVER1", ":", "case", "PROCESSOR_LUJIAZUI", ":", "return", "3", ";", "case", "PROCESSOR_BDVER1", ":", "case", "PROCESSOR_BDVER2", ":", "case", "PROCESSOR_BDVER3", ":", "case", "PROCESSOR_BDVER4", ":", "case", "PROCESSOR_ZNVER1", ":", "case", "PROCESSOR_ZNVER2", ":", "case", "PROCESSOR_ZNVER3", ":", "case", "PROCESSOR_ZNVER4", ":", "case", "PROCESSOR_CORE2", ":", "case", "PROCESSOR_NEHALEM", ":", "case", "PROCESSOR_SANDYBRIDGE", ":", "case", "PROCESSOR_HASWELL", ":", "case", "PROCESSOR_TREMONT", ":", "case", "PROCESSOR_SKYLAKE", ":", "case", "PROCESSOR_SKYLAKE_AVX512", ":", "case", "PROCESSOR_CASCADELAKE", ":", "case", "PROCESSOR_CANNONLAKE", ":", "case", "PROCESSOR_ALDERLAKE", ":", "case", "PROCESSOR_GENERIC", ":", "return", "4", ";", "case", "PROCESSOR_ICELAKE_CLIENT", ":", "case", "PROCESSOR_ICELAKE_SERVER", ":", "case", "PROCESSOR_TIGERLAKE", ":", "case", "PROCESSOR_COOPERLAKE", ":", "case", "PROCESSOR_ROCKETLAKE", ":", "return", "5", ";", "case", "PROCESSOR_SAPPHIRERAPIDS", ":", "return", "6", ";", "default", ":", "return", "1", ";", "}", "}", ""], "natrual_language": ["Return", "the", "maximum", "number", "of", "instructions", "a", "cpu", "can", "issue", "."], "TS_V_token": ["i386", "2", "3", "4", "5", "6", "1"], "File": "x86-tune-sched1", "Func": "ix86_issue_rate", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13263, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_signed_immediate_p", "(", "unsigned", "HOST_WIDE_INT", "x", ",", "int", "bits", ",", "int", "shift", "=", "0", ")", "{", "x", "+=", "1", "<<", "(", "bits", "+", "shift", "-", "1", ")", ";", "return", "mips_unsigned_immediate_p", "(", "x", ",", "bits", ",", "shift", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "fits", "within", "a", "signed", "field", "of", "BITS", "bits", "that", "is", "shifted", "left", "SHIFT", "bits", "before", "being", "used", "."], "TS_V_token": ["mips", "0", "1", "1"], "File": "mips", "Func": "mips_signed_immediate_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13264, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "ARM_EXPAND_PSEUDO_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMExpandPseudoInsts13", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13265, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "gen_ashift_hi", "(", "int", "type", ",", "int", "n", ",", "rtx", "reg", ")", "{", "if", "(", "n", "<", "0", ")", "{", "if", "(", "type", "==", "ASHIFT", ")", "type", "=", "LSHIFTRT", ";", "else", "type", "=", "ASHIFT", ";", "n", "=", "-", "n", ";", "}", "switch", "(", "type", ")", "{", "case", "ASHIFTRT", ":", "case", "LSHIFTRT", ":", "{", "int", "offset", "=", "0", ";", "if", "(", "GET_CODE", "(", "reg", ")", "==", "SUBREG", ")", "{", "offset", "=", "SUBREG_BYTE", "(", "reg", ")", ";", "reg", "=", "SUBREG_REG", "(", "reg", ")", ";", "}", "gen_ashift", "(", "type", ",", "n", ",", "gen_rtx_SUBREG", "(", "SImode", ",", "reg", ",", "offset", ")", ")", ";", "break", ";", "}", "case", "ASHIFT", ":", "emit_insn", "(", "gen_ashlhi3_k", "(", "reg", ",", "reg", ",", "GEN_INT", "(", "n", ")", ")", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Same", "for", "HImode"], "TS_V_token": ["sh", "0", "0"], "File": "sh3", "Func": "gen_ashift_hi", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13266, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ccr_bit", "(", "rtx", "op", ",", "int", "scc_p", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "op", ")", ";", "enum", "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": "rs60003", "Func": "ccr_bit", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13267, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "machine_mode", "ix86_cc_modes_compatible", "(", "enum", "machine_mode", "m1", ",", "enum", "machine_mode", "m2", ")", "{", "if", "(", "m1", "==", "m2", ")", "return", "m1", ";", "if", "(", "GET_MODE_CLASS", "(", "m1", ")", "!=", "MODE_CC", "||", "GET_MODE_CLASS", "(", "m2", ")", "!=", "MODE_CC", ")", "return", "VOIDmode", ";", "if", "(", "(", "m1", "==", "CCGCmode", "&&", "m2", "==", "CCGOCmode", ")", "||", "(", "m1", "==", "CCGOCmode", "&&", "m2", "==", "CCGCmode", ")", ")", "return", "CCGCmode", ";", "switch", "(", "m1", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "CCmode", ":", "case", "CCGCmode", ":", "case", "CCGOCmode", ":", "case", "CCNOmode", ":", "case", "CCZmode", ":", "switch", "(", "m2", ")", "{", "default", ":", "return", "VOIDmode", ";", "case", "CCmode", ":", "case", "CCGCmode", ":", "case", "CCGOCmode", ":", "case", "CCNOmode", ":", "case", "CCZmode", ":", "return", "CCmode", ";", "}", "case", "CCFPmode", ":", "case", "CCFPUmode", ":", "return", "VOIDmode", ";", "}", "}", ""], "natrual_language": ["If", "two", "condition", "code", "modes", "are", "compatible", ",", "return", "a", "condition", "code", "mode", "which", "is", "compatible", "with", "both", ".", "Otherwise", ",", "return", "VOIDmode", "."], "TS_V_token": ["i386"], "File": "i3863", "Func": "ix86_cc_modes_compatible", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13268, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isToken", "(", ")", "const", "{", "return", "Kind", "==", "Token", ";", "}", ""], "natrual_language": ["isToken", "-", "Is", "this", "a", "token", "operand", "?"], "TS_V_token": ["X86"], "File": "X86AsmParser (2)2", "Func": "isToken", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13269, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_call_properties", "(", "unsigned", "int", "flags", ",", "machine_mode", "mode", ")", "{", "if", "(", "!", "(", "flags", "&", "FLAG_AUTO_FP", ")", "&&", "FLOAT_MODE_P", "(", "mode", ")", ")", "flags", "|=", "FLAG_FP", ";", "if", "(", "!", "flag_trapping_math", ")", "flags", "&=", "~", "FLAG_RAISE_FP_EXCEPTIONS", ";", "return", "flags", ";", "}", ""], "natrual_language": ["Return", "a", "set", "of", "FLAG_", "*", "flags", "that", "describe", "what", "the", "function", "could", "do", ",", "taking", "the", "command-line", "flags", "into", "account", "."], "TS_V_token": ["aarch64"], "File": "aarch64-builtins", "Func": "aarch64_call_properties", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13270, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCSection", "*", "SystemZMCAsmInfo", "::", "getNonexecutableStackSection", "(", "MCContext", "&", "Ctx", ")", "const", "{", "return", "Ctx", ".", "getELFSection", "(", "\".note.GNU-stack\"", ",", "ELF", "::", "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": "SystemZMCAsmInfo28", "Func": "getNonexecutableStackSection", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13271, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_simd_clone_adjust", "(", "struct", "cgraph_node", "*", "node", ")", "{", "const", "char", "*", "str", "=", "NULL", ";", "if", "(", "!", "node", "->", "definition", ")", "return", ";", "gcc_assert", "(", "node", "->", "decl", "==", "cfun", "->", "decl", ")", ";", "switch", "(", "node", "->", "simdclone", "->", "vecsize_mangle", ")", "{", "case", "'b'", ":", "if", "(", "!", "TARGET_SSE2", ")", "str", "=", "\"sse2\"", ";", "break", ";", "case", "'c'", ":", "if", "(", "!", "TARGET_AVX", ")", "str", "=", "\"avx\"", ";", "break", ";", "case", "'d'", ":", "if", "(", "!", "TARGET_AVX2", ")", "str", "=", "\"avx2\"", ";", "break", ";", "case", "'e'", ":", "if", "(", "!", "TARGET_AVX512F", ")", "str", "=", "\"avx512f\"", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "str", "==", "NULL", ")", "return", ";", "push_cfun", "(", "NULL", ")", ";", "tree", "args", "=", "build_tree_list", "(", "NULL_TREE", ",", "build_string", "(", "strlen", "(", "str", ")", ",", "str", ")", ")", ";", "bool", "ok", "=", "ix86_valid_target_attribute_p", "(", "node", "->", "decl", ",", "NULL", ",", "args", ",", "0", ")", ";", "gcc_assert", "(", "ok", ")", ";", "pop_cfun", "(", ")", ";", "ix86_reset_previous_fndecl", "(", ")", ";", "ix86_set_current_function", "(", "node", "->", "decl", ")", ";", "}", ""], "natrual_language": ["Add", "target", "attribute", "to", "SIMD", "clone", "NODE", "if", "needed", "."], "TS_V_token": ["i386", "\"sse2\"", "\"avx\"", "\"avx2\"", "\"avx512f\"", "0"], "File": "i3868", "Func": "ix86_simd_clone_adjust", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13272, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTTIImpl", "::", "shouldBuildRelLookupTables", "(", ")", "const", "{", "const", "PPCTargetMachine", "&", "TM", "=", "ST", "->", "getTargetMachine", "(", ")", ";", "if", "(", "!", "TM", ".", "isELFv2ABI", "(", ")", ")", "return", "false", ";", "return", "BaseT", "::", "shouldBuildRelLookupTables", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "lookup", "tables", "should", "be", "turned", "into", "relative", "lookup", "tables", "."], "TS_V_token": ["PowerPC", "PPC", "PPC"], "File": "PPCTargetTransformInfo1", "Func": "shouldBuildRelLookupTables", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13273, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "F2003fPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createF2003fFiMalkrzPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["F2003f", "F2003f", "F2003f"], "File": "F2003fTargetMachine", "Func": "addPreEmitPass", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13274, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_save_reg_using_mov", "(", "machine_mode", "mode", ",", "unsigned", "int", "regno", ",", "HOST_WIDE_INT", "cfa_offset", ")", "{", "struct", "machine_function", "*", "m", "=", "cfun", "->", "machine", ";", "rtx", "reg", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "rtx", "mem", ",", "addr", ",", "base", ",", "insn", ";", "unsigned", "int", "align", "=", "GET_MODE_ALIGNMENT", "(", "mode", ")", ";", "addr", "=", "choose_baseaddr", "(", "cfa_offset", ",", "&", "align", ")", ";", "mem", "=", "gen_frame_mem", "(", "mode", ",", "addr", ")", ";", "align", "=", "MIN", "(", "GET_MODE_ALIGNMENT", "(", "mode", ")", ",", "align", ")", ";", "gcc_assert", "(", "!", "(", "cfa_offset", "&", "(", "align", "/", "BITS_PER_UNIT", "-", "1", ")", ")", ")", ";", "set_mem_align", "(", "mem", ",", "align", ")", ";", "insn", "=", "emit_insn", "(", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "base", "=", "addr", ";", "if", "(", "GET_CODE", "(", "base", ")", "==", "PLUS", ")", "base", "=", "XEXP", "(", "base", ",", "0", ")", ";", "gcc_checking_assert", "(", "REG_P", "(", "base", ")", ")", ";", "if", "(", "m", "->", "fs", ".", "realigned", ")", "{", "gcc_checking_assert", "(", "stack_realign_drap", ")", ";", "if", "(", "regno", "==", "REGNO", "(", "crtl", "->", "drap_reg", ")", ")", "{", "gcc_checking_assert", "(", "cfun", "->", "machine", "->", "fs", ".", "fp_valid", ")", ";", "addr", "=", "plus_constant", "(", "Pmode", ",", "hard_frame_pointer_rtx", ",", "cfun", "->", "machine", "->", "fs", ".", "fp_offset", "-", "cfa_offset", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "mode", ",", "addr", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_DEF_CFA", ",", "mem", ")", ";", "}", "else", "{", "gcc_checking_assert", "(", "cfun", "->", "machine", "->", "fs", ".", "fp_valid", ")", ";", "addr", "=", "plus_constant", "(", "Pmode", ",", "hard_frame_pointer_rtx", ",", "cfun", "->", "machine", "->", "fs", ".", "fp_offset", "-", "cfa_offset", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "mode", ",", "addr", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_EXPRESSION", ",", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ")", ";", "}", "}", "else", "if", "(", "base", "==", "stack_pointer_rtx", "&&", "m", "->", "fs", ".", "sp_realigned", "&&", "cfa_offset", ">=", "m", "->", "fs", ".", "sp_realigned_offset", ")", "{", "gcc_checking_assert", "(", "stack_realign_fp", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_EXPRESSION", ",", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ")", ";", "}", "else", "if", "(", "base", "!=", "m", "->", "fs", ".", "cfa_reg", ")", "{", "addr", "=", "plus_constant", "(", "Pmode", ",", "m", "->", "fs", ".", "cfa_reg", ",", "m", "->", "fs", ".", "cfa_offset", "-", "cfa_offset", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "mode", ",", "addr", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_OFFSET", ",", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "a", "single", "register", "save", "at", "CFA", "-", "CFA_OFFSET", "."], "TS_V_token": ["i386", "1", "1", "0"], "File": "i386", "Func": "ix86_emit_save_reg_using_mov", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13275, "Length": 387, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb2InstrInfo", "::", "isLegalToSplitMBBAt", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ")", "const", "{", "while", "(", "MBBI", "->", "isDebugValue", "(", ")", ")", "{", "++", "MBBI", ";", "if", "(", "MBBI", "==", "MBB", ".", "end", "(", ")", ")", "return", "false", ";", "}", "unsigned", "PredReg", "=", "0", ";", "return", "getITInstrPredicate", "(", "MBBI", ",", "PredReg", ")", "==", "ARMCC", "::", "AL", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "'s", "legal", "to", "split", "the", "given", "basic", "block", "at", "the", "specified", "instruction", "(", "i.e", "."], "TS_V_token": ["ARM", "0", "ARMCC::AL"], "File": "Thumb2InstrInfo (2)", "Func": "isLegalToSplitMBBAt", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13276, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "Mips", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_Mips_16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_Mips_REL32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_Mips_26\"", ",", "0", ",", "26", ",", "0", "}", ",", "{", "\"fixup_Mips_HI16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_LO16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_GPREL16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_LITERAL\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_GOT_Global\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_GOT_Local\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_PC16\"", ",", "0", ",", "16", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_Mips_CALL16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_GPREL32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_Mips_SHIFT5\"", ",", "6", ",", "5", ",", "0", "}", ",", "{", "\"fixup_Mips_SHIFT6\"", ",", "6", ",", "5", ",", "0", "}", ",", "{", "\"fixup_Mips_64\"", ",", "0", ",", "64", ",", "0", "}", ",", "{", "\"fixup_Mips_TLSGD\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_GOTTPREL\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_TPREL_HI\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_TPREL_LO\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_TLSLDM\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_DTPREL_HI\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_DTPREL_LO\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_Branch_PCRel\"", ",", "0", ",", "16", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_Mips_GPOFF_HI\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_GPOFF_LO\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_GOT_PAGE\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_GOT_OFST\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_GOT_DISP\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_HIGHER\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Mips_HIGHEST\"", ",", "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": ["Mips", "Mips::NumTargetFixupKinds", "\"fixup_Mips_16\"", "0", "16", "0", "\"fixup_Mips_32\"", "0", "32", "0", "\"fixup_Mips_REL32\"", "0", "32", "0", "\"fixup_Mips_26\"", "0", "26", "0", "\"fixup_Mips_HI16\"", "0", "16", "0", "\"fixup_Mips_LO16\"", "0", "16", "0", "\"fixup_Mips_GPREL16\"", "0", "16", "0", "\"fixup_Mips_LITERAL\"", "0", "16", "0", "\"fixup_Mips_GOT_Global\"", "0", "16", "0", "\"fixup_Mips_GOT_Local\"", "0", "16", "0", "\"fixup_Mips_PC16\"", "0", "16", "\"fixup_Mips_CALL16\"", "0", "16", "0", "\"fixup_Mips_GPREL32\"", "0", "32", "0", "\"fixup_Mips_SHIFT5\"", "6", "5", "0", "\"fixup_Mips_SHIFT6\"", "6", "5", "0", "\"fixup_Mips_64\"", "0", "64", "0", "\"fixup_Mips_TLSGD\"", "0", "16", "0", "\"fixup_Mips_GOTTPREL\"", "0", "16", "0", "\"fixup_Mips_TPREL_HI\"", "0", "16", "0", "\"fixup_Mips_TPREL_LO\"", "0", "16", "0", "\"fixup_Mips_TLSLDM\"", "0", "16", "0", "\"fixup_Mips_DTPREL_HI\"", "0", "16", "0", "\"fixup_Mips_DTPREL_LO\"", "0", "16", "0", "\"fixup_Mips_Branch_PCRel\"", "0", "16", "\"fixup_Mips_GPOFF_HI\"", "0", "16", "0", "\"fixup_Mips_GPOFF_LO\"", "0", "16", "0", "\"fixup_Mips_GOT_PAGE\"", "0", "16", "0", "\"fixup_Mips_GOT_OFST\"", "0", "16", "0", "\"fixup_Mips_GOT_DISP\"", "0", "16", "0", "\"fixup_Mips_HIGHER\"", "0", "16", "0", "\"fixup_Mips_HIGHEST\"", "0", "16", "0", "\"Invalid kind!\""], "File": "MipsAsmBackend52", "Func": "getFixupKindInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13277, "Length": 375, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "pa_output_parallel_addb", "(", "rtx", "*", "operands", ",", "rtx_insn", "*", "insn", ")", "{", "int", "length", "=", "get_attr_length", "(", "insn", ")", ";", "if", "(", "operands", "[", "0", "]", "==", "operands", "[", "1", "]", ")", "operands", "[", "1", "]", "=", "operands", "[", "2", "]", ";", "if", "(", "length", "==", "4", ")", "return", "\"add%I1b,tr %1,%0,%3\"", ";", "if", "(", "length", "==", "8", ")", "{", "if", "(", "dbr_sequence_length", "(", ")", "==", "0", ")", "return", "\"b %3\\n\\tadd%I1 %1,%0,%0\"", ";", "else", "return", "\"add%I1 %1,%0,%0\\n\\tb %3\"", ";", "}", "output_asm_insn", "(", "\"add%I1 %1,%0,%0\"", ",", "operands", ")", ";", "return", "pa_output_lbranch", "(", "operands", "[", "3", "]", ",", "insn", ",", "1", ")", ";", "}", ""], "natrual_language": ["Output", "an", "unconditional", "add", "and", "branch", "insn", "."], "TS_V_token": ["pa", "0", "1", "1", "2", "4", "\"add%I1b,tr %1,%0,%3\"", "8", "0", "\"b %3\\n\\tadd%I1 %1,%0,%0\"", "\"add%I1 %1,%0,%0\\n\\tb %3\"", "\"add%I1 %1,%0,%0\"", "3", "1"], "File": "pa", "Func": "pa_output_parallel_addb", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13278, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "rs6000_emit_eqne", "(", "machine_mode", "mode", ",", "rtx", "op1", ",", "rtx", "op2", ",", "rtx", "scratch", ")", "{", "if", "(", "op2", "==", "const0_rtx", ")", "return", "op1", ";", "if", "(", "GET_CODE", "(", "scratch", ")", "==", "SCRATCH", ")", "scratch", "=", "gen_reg_rtx", "(", "mode", ")", ";", "if", "(", "logical_operand", "(", "op2", ",", "mode", ")", ")", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "scratch", ",", "gen_rtx_XOR", "(", "mode", ",", "op1", ",", "op2", ")", ")", ")", ";", "else", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "scratch", ",", "gen_rtx_PLUS", "(", "mode", ",", "op1", ",", "negate_rtx", "(", "mode", ",", "op2", ")", ")", ")", ")", ";", "return", "scratch", ";", "}", ""], "natrual_language": ["Emit", "RTL", "that", "sets", "a", "register", "to", "zero", "if", "OP1", "and", "OP2", "are", "equal", ".", "SCRATCH", "can", "be", "used", "as", "that", "dest", "register", ".", "Return", "the", "dest", "register", "."], "TS_V_token": ["rs6000"], "File": "rs60004", "Func": "rs6000_emit_eqne", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13279, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "scalar_chain", "::", "convert", "(", ")", "{", "bitmap_iterator", "bi", ";", "unsigned", "id", ";", "int", "converted_insns", "=", "0", ";", "if", "(", "!", "dbg_cnt", "(", "stv_conversion", ")", ")", "return", "0", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Converting chain #%d...\\n\"", ",", "chain_id", ")", ";", "convert_registers", "(", ")", ";", "EXECUTE_IF_SET_IN_BITMAP", "(", "insns", ",", "0", ",", "id", ",", "bi", ")", "{", "convert_insn", "(", "DF_INSN_UID_GET", "(", "id", ")", "->", "insn", ")", ";", "converted_insns", "++", ";", "}", "return", "converted_insns", ";", "}", ""], "natrual_language": ["Convert", "whole", "chain", "creating", "required", "register", "conversions", "and", "copies", "."], "TS_V_token": ["i386", "0", "0", "\"Converting chain #%d...\\n\"", "0"], "File": "i386-features", "Func": "convert", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13280, "Length": 75, "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": 13281, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "Thumb1RegisterInfo", "::", "getLargestLegalSuperClass", "(", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "if", "(", "ARM", "::", "tGPRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "return", "&", "ARM", "::", "tGPRRegClass", ";", "return", "ARMBaseRegisterInfo", "::", "getLargestLegalSuperClass", "(", "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::tGPRRegClass", "ARM::tGPRRegClass", "ARM"], "File": "Thumb1RegisterInfo", "Func": "getLargestLegalSuperClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13282, "Length": 40, "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": 13283, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mmix_expand_epilogue", "(", "void", ")", "{", "HOST_WIDE_INT", "locals_size", "=", "get_frame_size", "(", ")", ";", "int", "regno", ";", "HOST_WIDE_INT", "stack_space_to_deallocate", "=", "(", "crtl", "->", "outgoing_args_size", "+", "crtl", "->", "args", ".", "pretend_args_size", "+", "locals_size", "+", "7", ")", "&", "~", "7", ";", "HOST_WIDE_INT", "offset", "=", "crtl", "->", "outgoing_args_size", ";", "for", "(", "regno", "=", "255", ";", "regno", ">=", "MMIX_FIRST_GLOBAL_REGNUM", ";", "regno", "--", ")", "if", "(", "(", "(", "regno", "!=", "MMIX_FRAME_POINTER_REGNUM", "||", "!", "frame_pointer_needed", ")", "&&", "df_regs_ever_live_p", "(", "regno", ")", "&&", "!", "call_used_or_fixed_reg_p", "(", "regno", ")", ")", "||", "IS_MMIX_EH_RETURN_DATA_REG", "(", "regno", ")", ")", "stack_space_to_deallocate", "+=", "8", ";", "if", "(", "MMIX_CFUN_HAS_LANDING_PAD", ")", "stack_space_to_deallocate", "+=", "16", ";", "else", "if", "(", "MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS", ")", "stack_space_to_deallocate", "+=", "8", ";", "if", "(", "frame_pointer_needed", ")", "stack_space_to_deallocate", "+=", "8", ";", "if", "(", "(", "stack_space_to_deallocate", "%", "8", ")", "!=", "0", ")", "internal_error", "(", "\"stack frame not a multiple of octabyte: %wd\"", ",", "stack_space_to_deallocate", ")", ";", "for", "(", "regno", "=", "MMIX_FIRST_GLOBAL_REGNUM", ";", "regno", "<=", "255", ";", "regno", "++", ")", "if", "(", "(", "(", "regno", "!=", "MMIX_FRAME_POINTER_REGNUM", "||", "!", "frame_pointer_needed", ")", "&&", "df_regs_ever_live_p", "(", "regno", ")", "&&", "!", "call_used_or_fixed_reg_p", "(", "regno", ")", ")", "||", "IS_MMIX_EH_RETURN_DATA_REG", "(", "regno", ")", ")", "{", "if", "(", "offset", ">", "255", ")", "{", "mmix_emit_sp_add", "(", "offset", ")", ";", "stack_space_to_deallocate", "-=", "offset", ";", "offset", "=", "0", ";", "}", "emit_move_insn", "(", "gen_rtx_REG", "(", "DImode", ",", "regno", ")", ",", "gen_rtx_MEM", "(", "DImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ")", ";", "offset", "+=", "8", ";", "}", "offset", "+=", "(", "locals_size", "+", "7", ")", "&", "~", "7", ";", "if", "(", "MMIX_CFUN_HAS_LANDING_PAD", ")", "offset", "+=", "16", ";", "else", "if", "(", "MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS", ")", "offset", "+=", "8", ";", "if", "(", "frame_pointer_needed", ")", "{", "if", "(", "offset", ">", "255", ")", "{", "mmix_emit_sp_add", "(", "offset", ")", ";", "stack_space_to_deallocate", "-=", "offset", ";", "offset", "=", "0", ";", "}", "emit_move_insn", "(", "hard_frame_pointer_rtx", ",", "gen_rtx_MEM", "(", "DImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ")", ";", "offset", "+=", "8", ";", "}", "if", "(", "stack_space_to_deallocate", "!=", "0", ")", "mmix_emit_sp_add", "(", "stack_space_to_deallocate", ")", ";", "if", "(", "crtl", "->", "calls_eh_return", ")", "emit_insn", "(", "gen_adddi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "gen_rtx_REG", "(", "DImode", ",", "MMIX_EH_RETURN_STACKADJ_REGNUM", ")", ")", ")", ";", "}", ""], "natrual_language": ["Expands", "the", "function", "epilogue", "into", "RTX", "."], "TS_V_token": ["mmix", "7", "7", "255", "8", "16", "8", "8", "8", "0", "\"stack frame not a multiple of octabyte: %wd\"", "255", "255", "0", "8", "7", "7", "16", "8", "255", "0", "8", "0"], "File": "mmix", "Func": "mmix_expand_epilogue", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13284, "Length": 339, "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": 13285, "Length": 89, "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", "-", "1", ";", "regno", "--", ">", "0", ";", ")", "if", "(", "!", "SSE_REGNO_P", "(", "regno", ")", "&&", "ix86_save_reg", "(", "regno", ",", "true", ")", ")", "{", "insn", "=", "emit_insn", "(", "gen_push", "(", "gen_rtx_REG", "(", "word_mode", ",", "regno", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "}", ""], "natrual_language": ["Emit", "code", "to", "save", "registers", "in", "the", "prologue", "."], "TS_V_token": ["i386", "1", "0", "1"], "File": "i3864", "Func": "ix86_emit_save_regs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13286, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "SystemZSelectionDAGInfo", "::", "EmitTargetCodeForMemchr", "(", "SelectionDAG", "&", "DAG", ",", "SDLoc", "DL", ",", "SDValue", "Chain", ",", "SDValue", "Src", ",", "SDValue", "Char", ",", "SDValue", "Length", ",", "MachinePointerInfo", "SrcPtrInfo", ")", "const", "{", "EVT", "PtrVT", "=", "Src", ".", "getValueType", "(", ")", ";", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "PtrVT", ",", "MVT", "::", "Other", ",", "MVT", "::", "Glue", ")", ";", "Length", "=", "DAG", ".", "getZExtOrTrunc", "(", "Length", ",", "DL", ",", "PtrVT", ")", ";", "Char", "=", "DAG", ".", "getZExtOrTrunc", "(", "Char", ",", "DL", ",", "MVT", "::", "i32", ")", ";", "Char", "=", "DAG", ".", "getNode", "(", "ISD", "::", "AND", ",", "DL", ",", "MVT", "::", "i32", ",", "Char", ",", "DAG", ".", "getConstant", "(", "255", ",", "MVT", "::", "i32", ")", ")", ";", "SDValue", "Limit", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ADD", ",", "DL", ",", "PtrVT", ",", "Src", ",", "Length", ")", ";", "SDValue", "End", "=", "DAG", ".", "getNode", "(", "SystemZISD", "::", "SEARCH_STRING", ",", "DL", ",", "VTs", ",", "Chain", ",", "Limit", ",", "Src", ",", "Char", ")", ";", "Chain", "=", "End", ".", "getValue", "(", "1", ")", ";", "SDValue", "Glue", "=", "End", ".", "getValue", "(", "2", ")", ";", "SmallVector", "<", "SDValue", ",", "5", ">", "Ops", ";", "Ops", ".", "push_back", "(", "End", ")", ";", "Ops", ".", "push_back", "(", "DAG", ".", "getConstant", "(", "0", ",", "PtrVT", ")", ")", ";", "Ops", ".", "push_back", "(", "DAG", ".", "getConstant", "(", "SystemZ", "::", "CCMASK_SRST", ",", "MVT", "::", "i32", ")", ")", ";", "Ops", ".", "push_back", "(", "DAG", ".", "getConstant", "(", "SystemZ", "::", "CCMASK_SRST_FOUND", ",", "MVT", "::", "i32", ")", ")", ";", "Ops", ".", "push_back", "(", "Glue", ")", ";", "VTs", "=", "DAG", ".", "getVTList", "(", "PtrVT", ",", "MVT", "::", "Glue", ")", ";", "End", "=", "DAG", ".", "getNode", "(", "SystemZISD", "::", "SELECT_CCMASK", ",", "DL", ",", "VTs", ",", "&", "Ops", "[", "0", "]", ",", "Ops", ".", "size", "(", ")", ")", ";", "return", "std", "::", "make_pair", "(", "End", ",", "Chain", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memchr", ",", "in", "cases", "where", "that", "is", "faster", "than", "a", "libcall", "."], "TS_V_token": ["SystemZ", "SystemZ", "MVT::Other", "MVT::Glue", "MVT::i32", "ISD::AND", "MVT::i32", "255", "MVT::i32", "ISD::ADD", "SystemZISD::SEARCH_STRING", "1", "2", "5", "0", "SystemZ::CCMASK_SRST", "MVT::i32", "SystemZ::CCMASK_SRST_FOUND", "MVT::i32", "MVT::Glue", "SystemZISD::SELECT_CCMASK", "0"], "File": "SystemZSelectionDAGInfo1", "Func": "EmitTargetCodeForMemchr", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13287, "Length": 307, "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", ")", "{", "if", "(", "aarch64_sve", "::", "builtin_type_p", "(", "type", ")", ")", "return", "false", ";", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "}", "else", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_INT", "||", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_FLOAT", ")", "{", "if", "(", "type", "&&", "aarch64_some_values_include_pst_objects_p", "(", "type", ")", ")", "gcc_assert", "(", "aarch64_sve_mode_p", "(", "mode", ")", ")", ";", "else", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "}", "if", "(", "known_eq", "(", "size", ",", "8", ")", "||", "known_eq", "(", "size", ",", "16", ")", ")", "{", "gcc_assert", "(", "!", "aarch64_sve_mode_p", "(", "mode", ")", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "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", "aarch64_sve::builtin_type_p", "8", "16"], "File": "aarch64", "Func": "aarch64_short_vector_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13288, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "MipsTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "MVT", "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": "MipsISelLowering35", "Func": "getRegForInlineAsmConstraint", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13289, "Length": 136, "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": ["AArch64"], "File": "AArch64RegisterInfo24", "Func": "requiresRegisterScavenging", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13290, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "machine_mode", "hfa_element_mode", "(", "tree", "type", ",", "bool", "nested", ")", "{", "enum", "machine_mode", "element_mode", "=", "VOIDmode", ";", "enum", "machine_mode", "mode", ";", "enum", "tree_code", "code", "=", "TREE_CODE", "(", "type", ")", ";", "int", "know_element_mode", "=", "0", ";", "tree", "t", ";", "if", "(", "!", "nested", "&&", "(", "!", "TYPE_SIZE", "(", "type", ")", "||", "integer_zerop", "(", "TYPE_SIZE", "(", "type", ")", ")", ")", ")", "return", "VOIDmode", ";", "switch", "(", "code", ")", "{", "case", "VOID_TYPE", ":", "case", "INTEGER_TYPE", ":", "case", "ENUMERAL_TYPE", ":", "case", "BOOLEAN_TYPE", ":", "case", "CHAR_TYPE", ":", "case", "POINTER_TYPE", ":", "case", "OFFSET_TYPE", ":", "case", "REFERENCE_TYPE", ":", "case", "METHOD_TYPE", ":", "case", "LANG_TYPE", ":", "case", "FUNCTION_TYPE", ":", "return", "VOIDmode", ";", "case", "COMPLEX_TYPE", ":", "if", "(", "GET_MODE_CLASS", "(", "TYPE_MODE", "(", "type", ")", ")", "==", "MODE_COMPLEX_FLOAT", "&&", "TYPE_MODE", "(", "type", ")", "!=", "TCmode", ")", "return", "GET_MODE_INNER", "(", "TYPE_MODE", "(", "type", ")", ")", ";", "else", "return", "VOIDmode", ";", "case", "REAL_TYPE", ":", "if", "(", "nested", "&&", "TYPE_MODE", "(", "type", ")", "!=", "TFmode", ")", "return", "TYPE_MODE", "(", "type", ")", ";", "else", "return", "VOIDmode", ";", "case", "ARRAY_TYPE", ":", "return", "hfa_element_mode", "(", "TREE_TYPE", "(", "type", ")", ",", "1", ")", ";", "case", "RECORD_TYPE", ":", "case", "UNION_TYPE", ":", "case", "QUAL_UNION_TYPE", ":", "for", "(", "t", "=", "TYPE_FIELDS", "(", "type", ")", ";", "t", ";", "t", "=", "TREE_CHAIN", "(", "t", ")", ")", "{", "if", "(", "TREE_CODE", "(", "t", ")", "!=", "FIELD_DECL", ")", "continue", ";", "mode", "=", "hfa_element_mode", "(", "TREE_TYPE", "(", "t", ")", ",", "1", ")", ";", "if", "(", "know_element_mode", ")", "{", "if", "(", "mode", "!=", "element_mode", ")", "return", "VOIDmode", ";", "}", "else", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_FLOAT", ")", "return", "VOIDmode", ";", "else", "{", "know_element_mode", "=", "1", ";", "element_mode", "=", "mode", ";", "}", "}", "return", "element_mode", ";", "default", ":", "return", "VOIDmode", ";", "}", "return", "VOIDmode", ";", "}", ""], "natrual_language": ["Check", "whether", "TYPE", "is", "a", "homogeneous", "floating", "point", "aggregate", ".", "If", "it", "is", ",", "return", "the", "mode", "of", "the", "floating", "point", "type", "that", "appears", "in", "all", "leafs", ".", "If", "it", "is", "not", ",", "return", "VOIDmode", ".", "An", "aggregate", "is", "a", "homogeneous", "floating", "point", "aggregate", "is", "if", "all", "fields/elements", "in", "it", "have", "the", "same", "floating", "point", "type", "(", "e.g", ",", "SFmode", ")", ".", "128-bit", "quad-precision", "floats", "are", "excluded", "."], "TS_V_token": ["ia64", "0", "1", "1", "1"], "File": "ia643", "Func": "hfa_element_mode", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13291, "Length": 281, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "MCSymbol", "*", "GetSymbolFromOperand", "(", "const", "MachineOperand", "&", "MO", ",", "AsmPrinter", "&", "AP", ")", "{", "MCContext", "&", "Ctx", "=", "AP", ".", "OutContext", ";", "SmallString", "<", "128", ">", "Name", ";", "if", "(", "!", "MO", ".", "isGlobal", "(", ")", ")", "{", "assert", "(", "MO", ".", "isSymbol", "(", ")", "&&", "\"Isn't a symbol reference\"", ")", ";", "Name", "+=", "AP", ".", "MAI", "->", "getGlobalPrefix", "(", ")", ";", "Name", "+=", "MO", ".", "getSymbolName", "(", ")", ";", "}", "else", "{", "const", "GlobalValue", "*", "GV", "=", "MO", ".", "getGlobal", "(", ")", ";", "bool", "isImplicitlyPrivate", "=", "false", ";", "if", "(", "MO", ".", "getTargetFlags", "(", ")", "==", "PPCII", "::", "MO_DARWIN_STUB", "||", "(", "MO", ".", "getTargetFlags", "(", ")", "&", "PPCII", "::", "MO_NLP_FLAG", ")", ")", "isImplicitlyPrivate", "=", "true", ";", "AP", ".", "Mang", "->", "getNameWithPrefix", "(", "Name", ",", "GV", ",", "isImplicitlyPrivate", ")", ";", "}", "if", "(", "MO", ".", "getTargetFlags", "(", ")", "==", "PPCII", "::", "MO_DARWIN_STUB", ")", "{", "Name", "+=", "\"$stub\"", ";", "const", "char", "*", "PGP", "=", "AP", ".", "MAI", "->", "getPrivateGlobalPrefix", "(", ")", ";", "const", "char", "*", "Prefix", "=", "\"\"", ";", "if", "(", "!", "Name", ".", "startswith", "(", "PGP", ")", ")", "{", "Prefix", "=", "PGP", ";", "}", "MCSymbol", "*", "Sym", "=", "Ctx", ".", "GetOrCreateSymbol", "(", "Twine", "(", "Prefix", ")", "+", "Twine", "(", "Name", ")", ")", ";", "MachineModuleInfoImpl", "::", "StubValueTy", "&", "StubSym", "=", "getMachOMMI", "(", "AP", ")", ".", "getFnStubEntry", "(", "Sym", ")", ";", "if", "(", "StubSym", ".", "getPointer", "(", ")", ")", "return", "Sym", ";", "if", "(", "MO", ".", "isGlobal", "(", ")", ")", "{", "StubSym", "=", "MachineModuleInfoImpl", "::", "StubValueTy", "(", "AP", ".", "Mang", "->", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ",", "!", "MO", ".", "getGlobal", "(", ")", "->", "hasInternalLinkage", "(", ")", ")", ";", "}", "else", "{", "Name", ".", "erase", "(", "Name", ".", "end", "(", ")", "-", "5", ",", "Name", ".", "end", "(", ")", ")", ";", "StubSym", "=", "MachineModuleInfoImpl", "::", "StubValueTy", "(", "Ctx", ".", "GetOrCreateSymbol", "(", "Name", ".", "str", "(", ")", ")", ",", "false", ")", ";", "}", "return", "Sym", ";", "}", "if", "(", "MO", ".", "getTargetFlags", "(", ")", "&", "PPCII", "::", "MO_NLP_FLAG", ")", "{", "Name", "+=", "\"$non_lazy_ptr\"", ";", "MCSymbol", "*", "Sym", "=", "Ctx", ".", "GetOrCreateSymbol", "(", "Name", ".", "str", "(", ")", ")", ";", "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", ".", "Mang", "->", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ",", "!", "MO", ".", "getGlobal", "(", ")", "->", "hasInternalLinkage", "(", ")", ")", ";", "}", "return", "Sym", ";", "}", "return", "Ctx", ".", "GetOrCreateSymbol", "(", "Name", ".", "str", "(", ")", ")", ";", "}", ""], "natrual_language": ["Lower", "an", "MO_GlobalAddress", "or", "MO_ExternalSymbol", "operand", "to", "an", "MCSymbol", "."], "TS_V_token": ["PowerPC", "128", "\"Isn't a symbol reference\"", "PPCII::MO_DARWIN_STUB", "PPCII::MO_NLP_FLAG", "PPCII::MO_DARWIN_STUB", "\"$stub\"", "\"\"", "5", "PPCII::MO_NLP_FLAG", "\"$non_lazy_ptr\"", "PPCII::MO_NLP_HIDDEN_FLAG", "0", "\"Extern symbol not handled yet\""], "File": "PPCMCInstLower3", "Func": "GetSymbolFromOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13292, "Length": 459, "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", "(", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RetLocs", ";", "CCState", "RetCCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "TM", ",", "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", ".", "data", "(", ")", ",", "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": ["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)", "Func": "LowerReturn", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13293, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "areLoadsFromSameBasePtr", "(", "SDNode", "*", "Load1", ",", "SDNode", "*", "Load2", ",", "int64_t", "&", "Offset1", ",", "int64_t", "&", "Offset2", ")", "const", "{", "if", "(", "Subtarget", ".", "isThumb1Only", "(", ")", ")", "return", "false", ";", "if", "(", "!", "Load1", "->", "isMachineOpcode", "(", ")", "||", "!", "Load2", "->", "isMachineOpcode", "(", ")", ")", "return", "false", ";", "switch", "(", "Load1", "->", "getMachineOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "ARM", "::", "LDR", ":", "case", "ARM", "::", "LDRB", ":", "case", "ARM", "::", "LDRD", ":", "case", "ARM", "::", "LDRH", ":", "case", "ARM", "::", "LDRSB", ":", "case", "ARM", "::", "LDRSH", ":", "case", "ARM", "::", "VLDRD", ":", "case", "ARM", "::", "VLDRS", ":", "case", "ARM", "::", "t2LDRi8", ":", "case", "ARM", "::", "t2LDRDi8", ":", "case", "ARM", "::", "t2LDRSHi8", ":", "case", "ARM", "::", "t2LDRi12", ":", "case", "ARM", "::", "t2LDRSHi12", ":", "break", ";", "}", "switch", "(", "Load2", "->", "getMachineOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "ARM", "::", "LDR", ":", "case", "ARM", "::", "LDRB", ":", "case", "ARM", "::", "LDRD", ":", "case", "ARM", "::", "LDRH", ":", "case", "ARM", "::", "LDRSB", ":", "case", "ARM", "::", "LDRSH", ":", "case", "ARM", "::", "VLDRD", ":", "case", "ARM", "::", "VLDRS", ":", "case", "ARM", "::", "t2LDRi8", ":", "case", "ARM", "::", "t2LDRDi8", ":", "case", "ARM", "::", "t2LDRSHi8", ":", "case", "ARM", "::", "t2LDRi12", ":", "case", "ARM", "::", "t2LDRSHi12", ":", "break", ";", "}", "if", "(", "Load1", "->", "getOperand", "(", "0", ")", "!=", "Load2", "->", "getOperand", "(", "0", ")", "||", "Load1", "->", "getOperand", "(", "4", ")", "!=", "Load2", "->", "getOperand", "(", "4", ")", ")", "return", "false", ";", "if", "(", "Load1", "->", "getOperand", "(", "3", ")", "!=", "Load2", "->", "getOperand", "(", "3", ")", ")", "return", "false", ";", "if", "(", "isa", "<", "ConstantSDNode", ">", "(", "Load1", "->", "getOperand", "(", "1", ")", ")", "&&", "isa", "<", "ConstantSDNode", ">", "(", "Load2", "->", "getOperand", "(", "1", ")", ")", ")", "{", "Offset1", "=", "cast", "<", "ConstantSDNode", ">", "(", "Load1", "->", "getOperand", "(", "1", ")", ")", "->", "getSExtValue", "(", ")", ";", "Offset2", "=", "cast", "<", "ConstantSDNode", ">", "(", "Load2", "->", "getOperand", "(", "1", ")", ")", "->", "getSExtValue", "(", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "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": ["ARM", "ARM", "ARM::LDR", "ARM::LDRB", "ARM::LDRD", "ARM::LDRH", "ARM::LDRSB", "ARM::LDRSH", "ARM::VLDRD", "ARM::VLDRS", "ARM::t2LDRi8", "ARM::t2LDRDi8", "ARM::t2LDRSHi8", "ARM::t2LDRi12", "ARM::t2LDRSHi12", "ARM::LDR", "ARM::LDRB", "ARM::LDRD", "ARM::LDRH", "ARM::LDRSB", "ARM::LDRSH", "ARM::VLDRD", "ARM::VLDRS", "ARM::t2LDRi8", "ARM::t2LDRDi8", "ARM::t2LDRSHi8", "ARM::t2LDRi12", "ARM::t2LDRSHi12", "0", "0", "4", "4", "3", "3", "1", "1", "1", "1"], "File": "ARMBaseInstrInfo43", "Func": "areLoadsFromSameBasePtr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13294, "Length": 344, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_output_mi_thunk", "(", "FILE", "*", "file", ",", "tree", "thunk_fndecl", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", ",", "tree", "function", ")", "{", "rtx", "this_rtx", ",", "temp1", ",", "temp2", ",", "fnaddr", ";", "rtx_insn", "*", "insn", ";", "bool", "use_sibcall_p", ";", "reload_completed", "=", "1", ";", "emit_note", "(", "NOTE_INSN_PROLOGUE_END", ")", ";", "fnaddr", "=", "XEXP", "(", "DECL_RTL", "(", "function", ")", ",", "0", ")", ";", "use_sibcall_p", "=", "(", "mips_function_ok_for_sibcall", "(", "function", ",", "NULL", ")", "&&", "const_call_insn_operand", "(", "fnaddr", ",", "Pmode", ")", ")", ";", "if", "(", "!", "use_sibcall_p", "&&", "(", "mips_got_symbol_type_p", "(", "mips_classify_symbol", "(", "fnaddr", ",", "SYMBOL_CONTEXT_LEA", ")", ")", ")", ")", "{", "cfun", "->", "machine", "->", "global_pointer", "=", "TARGET_CALL_SAVED_GP", "?", "15", ":", "GLOBAL_POINTER_REGNUM", ";", "cfun", "->", "machine", "->", "must_initialize_gp_p", "=", "true", ";", "SET_REGNO", "(", "pic_offset_table_rtx", ",", "cfun", "->", "machine", "->", "global_pointer", ")", ";", "mips_emit_loadgp", "(", ")", ";", "}", "temp1", "=", "gen_rtx_REG", "(", "Pmode", ",", "2", ")", ";", "temp2", "=", "gen_rtx_REG", "(", "Pmode", ",", "3", ")", ";", "if", "(", "aggregate_value_p", "(", "TREE_TYPE", "(", "TREE_TYPE", "(", "function", ")", ")", ",", "function", ")", ")", "this_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "GP_ARG_FIRST", "+", "1", ")", ";", "else", "this_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "GP_ARG_FIRST", ")", ";", "if", "(", "delta", "!=", "0", ")", "{", "rtx", "offset", "=", "GEN_INT", "(", "delta", ")", ";", "if", "(", "!", "SMALL_OPERAND", "(", "delta", ")", ")", "{", "mips_emit_move", "(", "temp1", ",", "offset", ")", ";", "offset", "=", "temp1", ";", "}", "emit_insn", "(", "gen_add3_insn", "(", "this_rtx", ",", "this_rtx", ",", "offset", ")", ")", ";", "}", "if", "(", "vcall_offset", "!=", "0", ")", "{", "rtx", "addr", ";", "mips_emit_move", "(", "temp1", ",", "gen_rtx_MEM", "(", "Pmode", ",", "this_rtx", ")", ")", ";", "addr", "=", "mips_add_offset", "(", "temp2", ",", "temp1", ",", "vcall_offset", ")", ";", "mips_emit_move", "(", "temp1", ",", "gen_rtx_MEM", "(", "Pmode", ",", "addr", ")", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "this_rtx", ",", "this_rtx", ",", "temp1", ")", ")", ";", "}", "if", "(", "use_sibcall_p", ")", "{", "insn", "=", "emit_call_insn", "(", "gen_sibcall_internal", "(", "fnaddr", ",", "const0_rtx", ")", ")", ";", "SIBLING_CALL_P", "(", "insn", ")", "=", "1", ";", "}", "else", "{", "if", "(", "TARGET_USE_PIC_FN_ADDR_REG", "&&", "!", "TARGET_MIPS16", "&&", "!", "mips_dangerous_for_la25_p", "(", "fnaddr", ")", ")", "temp1", "=", "gen_rtx_REG", "(", "Pmode", ",", "PIC_FUNCTION_ADDR_REGNUM", ")", ";", "mips_load_call_address", "(", "MIPS_CALL_SIBCALL", ",", "temp1", ",", "fnaddr", ")", ";", "if", "(", "TARGET_USE_PIC_FN_ADDR_REG", "&&", "REGNO", "(", "temp1", ")", "!=", "PIC_FUNCTION_ADDR_REGNUM", ")", "mips_emit_move", "(", "gen_rtx_REG", "(", "Pmode", ",", "PIC_FUNCTION_ADDR_REGNUM", ")", ",", "temp1", ")", ";", "emit_jump_insn", "(", "gen_indirect_jump", "(", "temp1", ")", ")", ";", "}", "insn", "=", "get_insns", "(", ")", ";", "split_all_insns_noflow", "(", ")", ";", "mips16_lay_out_constants", "(", "true", ")", ";", "shorten_branches", "(", "insn", ")", ";", "final_start_function", "(", "insn", ",", "file", ",", "1", ")", ";", "final", "(", "insn", ",", "file", ",", "1", ")", ";", "final_end_function", "(", ")", ";", "reload_completed", "=", "0", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_OUTPUT_MI_THUNK", ".", "Generate", "rtl", "rather", "than", "asm", "text", "in", "order", "to", "avoid", "duplicating", "too", "much", "logic", "from", "elsewhere", "."], "TS_V_token": ["mips", "1", "0", "15", "2", "3", "1", "0", "0", "1", "1", "1", "0"], "File": "mips4", "Func": "mips_output_mi_thunk", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13295, "Length": 429, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiAsmParser", "::", "ParseDirective", "(", "AsmToken", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["Lanai", "Lanai"], "File": "LanaiAsmParser (2)", "Func": "ParseDirective", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13296, "Length": 12, "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": 13297, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emitSPUpdate", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "int64_t", "NumBytes", ",", "const", "TargetInstrInfo", "&", "TII", ")", "{", "unsigned", "Opc", ";", "uint64_t", "Chunk", ";", "bool", "isSub", "=", "NumBytes", "<", "0", ";", "uint64_t", "Offset", "=", "isSub", "?", "-", "NumBytes", ":", "NumBytes", ";", "if", "(", "Offset", ">=", "(", "1LL", "<<", "15", ")", "-", "1", ")", "{", "Opc", "=", "SystemZ", "::", "ADD64ri32", ";", "Chunk", "=", "(", "1LL", "<<", "31", ")", "-", "1", ";", "}", "else", "{", "Opc", "=", "SystemZ", "::", "ADD64ri16", ";", "Chunk", "=", "(", "1LL", "<<", "15", ")", "-", "1", ";", "}", "DebugLoc", "DL", "=", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "::", "getUnknownLoc", "(", ")", ")", ";", "while", "(", "Offset", ")", "{", "uint64_t", "ThisVal", "=", "(", "Offset", ">", "Chunk", ")", "?", "Chunk", ":", "Offset", ";", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "SystemZ", "::", "R15D", ")", ".", "addReg", "(", "SystemZ", "::", "R15D", ")", ".", "addImm", "(", "(", "isSub", "?", "-", "(", "int64_t", ")", "ThisVal", ":", "ThisVal", ")", ")", ";", "MI", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "Offset", "-=", "ThisVal", ";", "}", "}", ""], "natrual_language": ["Emit", "a", "series", "of", "instructions", "to", "increment", "/", "decrement", "the", "stack", "pointer", "by", "a", "constant", "value", "."], "TS_V_token": ["SystemZ", "0", "1LL", "15", "1", "SystemZ::ADD64ri32", "1LL", "31", "1", "SystemZ::ADD64ri16", "1LL", "15", "1", "SystemZ::R15D", "SystemZ::R15D", "3"], "File": "SystemZRegisterInfo29", "Func": "emitSPUpdate", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13298, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "ARMBaseInstrInfo", "::", "insertOutlinedCall", "(", "Module", "&", "M", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "It", ",", "MachineFunction", "&", "MF", ",", "const", "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", ";", "}", "saveLROnStack", "(", "MBB", ",", "It", ")", ";", "if", "(", "!", "AFI", ".", "isLRSpilled", "(", ")", ")", "emitCFIForLRSaveOnStack", "(", "MBB", ",", "It", ")", ";", "CallPt", "=", "MBB", ".", "insert", "(", "It", ",", "CallMIB", ")", ";", "restoreLRFromStack", "(", "MBB", ",", "It", ")", ";", "if", "(", "!", "AFI", ".", "isLRSpilled", "(", ")", ")", "emitCFIForLRRestoreFromStack", "(", "MBB", ",", "It", ")", ";", "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"], "File": "ARMBaseInstrInfo15", "Func": "insertOutlinedCall", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13299, "Length": 436, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createLanaiISelDag", "(", "getLanaiTargetMachine", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai", "Lanai"], "File": "LanaiTargetMachine", "Func": "addInstSelector", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13300, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "PPCRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "TargetFrameInfo", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R0", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R1", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "RM", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R2", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R13", ")", ";", "}", "if", "(", "Subtarget", ".", "isDarwinABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R2", ")", ";", "}", "if", "(", "Subtarget", ".", "isPPC64", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R13", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R31", ")", ";", "if", "(", "!", "requiresRegisterScavenging", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "R0", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X0", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X1", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X13", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X31", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "X2", ")", ";", "}", "if", "(", "Subtarget", ".", "isDarwinABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "X2", ")", ";", "}", "}", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "R31", ")", ";", "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": ["PowerPC", "PPC", "PPC::R0", "PPC::R1", "PPC::LR", "PPC::LR8", "PPC::RM", "PPC::R2", "PPC::R13", "PPC::R2", "PPC", "PPC::R13", "PPC::R31", "PPC::R0", "PPC::X0", "PPC::X1", "PPC::X13", "PPC::X31", "PPC::X2", "PPC::X2", "PPC::R31"], "File": "PPCRegisterInfo31", "Func": "getReservedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13301, "Length": 268, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstrBuilder", "buildLoad", "(", "const", "DstOp", "&", "Res", ",", "Register", "Addr", ",", "uint64_t", "Size", ",", "MachinePointerInfo", "&", "MPO", ")", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "auto", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MPO", ",", "MachineMemOperand", "::", "MOLoad", ",", "Size", ",", "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": "ARMCallLowering", "Func": "buildLoad", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13302, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDEST_INT", "mmix_intval", "(", "rtx", "x", ")", "{", "unsigned", "HOST_WIDEST_INT", "retval", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST_INT", ")", "return", "INTVAL", "(", "x", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST_DOUBLE", "&&", "GET_MODE", "(", "x", ")", "==", "VOIDmode", ")", "{", "if", "(", "sizeof", "(", "HOST_WIDE_INT", ")", "<", "sizeof", "(", "HOST_WIDEST_INT", ")", ")", "{", "retval", "=", "(", "unsigned", ")", "CONST_DOUBLE_LOW", "(", "x", ")", "/", "2", ";", "retval", "*=", "2", ";", "retval", "|=", "CONST_DOUBLE_LOW", "(", "x", ")", "&", "1", ";", "retval", "|=", "(", "unsigned", "HOST_WIDEST_INT", ")", "CONST_DOUBLE_HIGH", "(", "x", ")", "<<", "(", "HOST_BITS_PER_LONG", ")", ";", "}", "else", "retval", "=", "CONST_DOUBLE_HIGH", "(", "x", ")", ";", "return", "retval", ";", "}", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST_DOUBLE", ")", "{", "REAL_VALUE_TYPE", "value", ";", "REAL_VALUE_FROM_CONST_DOUBLE", "(", "value", ",", "x", ")", ";", "if", "(", "GET_MODE", "(", "x", ")", "==", "DFmode", ")", "{", "long", "bits", "[", "2", "]", ";", "REAL_VALUE_TO_TARGET_DOUBLE", "(", "value", ",", "bits", ")", ";", "return", "(", "(", "unsigned", "HOST_WIDEST_INT", ")", "(", "unsigned", "long", ")", "bits", "[", "0", "]", "<<", "(", "unsigned", "HOST_WIDEST_INT", ")", "32U", ")", "|", "(", "unsigned", "HOST_WIDEST_INT", ")", "(", "unsigned", "long", ")", "bits", "[", "1", "]", ";", "}", "else", "if", "(", "GET_MODE", "(", "x", ")", "==", "SFmode", ")", "{", "long", "bits", ";", "REAL_VALUE_TO_TARGET_SINGLE", "(", "value", ",", "bits", ")", ";", "return", "(", "unsigned", "long", ")", "bits", ";", "}", "}", "fatal_insn", "(", "\"MMIX Internal: This is not a constant:\"", ",", "x", ")", ";", "}", ""], "natrual_language": ["Return", "the", "bit-value", "for", "a", "const_int", "or", "const_double", "."], "TS_V_token": ["mmix", "2", "2", "1", "2", "0", "32U", "1", "\"MMIX Internal: This is not a constant:\""], "File": "mmix3", "Func": "mmix_intval", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13303, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_vector_mode_supported_p", "(", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_PAIRED_FLOAT", "&&", "PAIRED_VECTOR_MODE", "(", "mode", ")", ")", "return", "true", ";", "else", "if", "(", "VECTOR_MEM_ALTIVEC_OR_VSX_P", "(", "mode", ")", "&&", "!", "FLOAT128_IEEE_P", "(", "mode", ")", ")", "return", "true", ";", "else", "return", "false", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "vector_mode_supported_p", "."], "TS_V_token": ["rs6000"], "File": "rs60007", "Func": "rs6000_vector_mode_supported_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13304, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsSEFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getFirstTerminator", "(", ")", ";", "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", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "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": "MipsSEFrameLowering (2)1", "Func": "emitEpilogue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13305, "Length": 381, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "AArch64TargetLowering", "::", "getOptimalMemOpType", "(", "const", "MemOp", "&", "Op", ",", "const", "AttributeList", "&", "FuncAttributes", ")", "const", "{", "bool", "CanImplicitFloat", "=", "!", "FuncAttributes", ".", "hasFnAttr", "(", "Attribute", "::", "NoImplicitFloat", ")", ";", "bool", "CanUseNEON", "=", "Subtarget", "->", "hasNEON", "(", ")", "&&", "CanImplicitFloat", ";", "bool", "CanUseFP", "=", "Subtarget", "->", "hasFPARMv8", "(", ")", "&&", "CanImplicitFloat", ";", "bool", "IsSmallMemset", "=", "Op", ".", "isMemset", "(", ")", "&&", "Op", ".", "size", "(", ")", "<", "32", ";", "auto", "AlignmentIsAcceptable", "=", "[", "&", "]", "(", "EVT", "VT", ",", "Align", "AlignCheck", ")", "{", "if", "(", "Op", ".", "isAligned", "(", "AlignCheck", ")", ")", "return", "true", ";", "bool", "Fast", ";", "return", "allowsMisalignedMemoryAccesses", "(", "VT", ",", "0", ",", "Align", "(", "1", ")", ",", "MachineMemOperand", "::", "MONone", ",", "&", "Fast", ")", "&&", "Fast", ";", "}", ";", "if", "(", "CanUseNEON", "&&", "Op", ".", "isMemset", "(", ")", "&&", "!", "IsSmallMemset", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "v16i8", ",", "Align", "(", "16", ")", ")", ")", "return", "MVT", "::", "v16i8", ";", "if", "(", "CanUseFP", "&&", "!", "IsSmallMemset", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "f128", ",", "Align", "(", "16", ")", ")", ")", "return", "MVT", "::", "f128", ";", "if", "(", "Op", ".", "size", "(", ")", ">=", "8", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "i64", ",", "Align", "(", "8", ")", ")", ")", "return", "MVT", "::", "i64", ";", "if", "(", "Op", ".", "size", "(", ")", ">=", "4", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "i32", ",", "Align", "(", "4", ")", ")", ")", "return", "MVT", "::", "i32", ";", "return", "MVT", "::", "Other", ";", "}", ""], "natrual_language": ["It", "returns", "EVT", ":", ":Other", "if", "the", "type", "should", "be", "determined", "using", "generic", "target-independent", "logic", "."], "TS_V_token": ["AArch64", "AArch64", "32", "0", "1", "MVT::v16i8", "16", "MVT::v16i8", "MVT::f128", "16", "MVT::f128", "8", "MVT::i64", "8", "MVT::i64", "4", "MVT::i32", "4", "MVT::i32", "MVT::Other"], "File": "AArch64ISelLowering (2)2", "Func": "getOptimalMemOpType", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13306, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_legitimate_address_p", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "bool", "strict_p", ",", "aarch64_addr_query_type", "type", ")", "{", "struct", "aarch64_address_info", "addr", ";", "return", "aarch64_classify_address", "(", "&", "addr", ",", "x", ",", "mode", ",", "strict_p", ",", "type", ")", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "X", "is", "a", "legitimate", "address", "for", "accessing", "memory", "in", "mode", "MODE", ".", "OUTER_CODE", "will", "be", "PARALLEL", "if", "this", "is", "a", "load/store", "pair", "operation", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_legitimate_address_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13307, "Length": 36, "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": 13308, "Length": 67, "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", ".", "pairedVectorMemops", "(", ")", ")", "return", "CSR_64_AllRegs_VSRP_RegMask", ";", "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", ")", "{", "if", "(", "TM", ".", "isPPC64", "(", ")", ")", "return", "Subtarget", ".", "pairedVectorMemops", "(", ")", "?", "CSR_SVR64_ColdCC_VSRP_RegMask", ":", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_SVR64_ColdCC_Altivec_RegMask", ":", "CSR_SVR64_ColdCC_RegMask", ")", ";", "else", "return", "Subtarget", ".", "pairedVectorMemops", "(", ")", "?", "CSR_SVR32_ColdCC_VSRP_RegMask", ":", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_SVR32_ColdCC_Altivec_RegMask", ":", "(", "Subtarget", ".", "hasSPE", "(", ")", "?", "CSR_SVR32_ColdCC_SPE_RegMask", ":", "CSR_SVR32_ColdCC_RegMask", ")", ")", ";", "}", "if", "(", "TM", ".", "isPPC64", "(", ")", ")", "return", "Subtarget", ".", "pairedVectorMemops", "(", ")", "?", "CSR_SVR464_VSRP_RegMask", ":", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_PPC64_Altivec_RegMask", ":", "CSR_PPC64_RegMask", ")", ";", "else", "return", "Subtarget", ".", "pairedVectorMemops", "(", ")", "?", "CSR_SVR432_VSRP_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": "PPCRegisterInfo (2)3", "Func": "getCallPreservedMask", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13309, "Length": 309, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "assign_fp_registers", "(", "const_tree", "field", ",", "int", "bitpos", ",", "assign_data_t", "*", "data", ")", "{", "int", "nregs", ";", "machine_mode", "mode", ";", "if", "(", "!", "compute_fp_layout", "(", "field", ",", "bitpos", ",", "data", ",", "&", "nregs", ",", "&", "mode", ")", ")", "return", ";", "const", "int", "this_slotno", "=", "data", "->", "slotno", "+", "bitpos", "/", "BITS_PER_WORD", ";", "int", "regno", "=", "SPARC_FP_ARG_FIRST", "+", "this_slotno", "*", "2", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "4", "&&", "(", "bitpos", "&", "32", ")", "!=", "0", ")", "regno", "++", ";", "int", "pos", "=", "bitpos", "/", "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", "(", "pos", ")", ")", ";", "data", "->", "nregs", "+=", "1", ";", "regno", "+=", "GET_MODE_SIZE", "(", "mode", ")", "/", "4", ";", "pos", "+=", "GET_MODE_SIZE", "(", "mode", ")", ";", "}", "while", "(", "--", "nregs", ">", "0", ")", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "function_arg_record_value", ".", "Assign", "FIELD", "at", "position", "BITPOS", "to", "FP", "registers", "."], "TS_V_token": ["sparc", "2", "4", "32", "0", "0", "1", "4", "0"], "File": "sparc", "Func": "assign_fp_registers", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13310, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLoweringBase", "::", "LegalizeTypeAction", "X86TargetLowering", "::", "getPreferredVectorAction", "(", "MVT", "VT", ")", "const", "{", "if", "(", "(", "VT", "==", "MVT", "::", "v32i1", "||", "VT", "==", "MVT", "::", "v64i1", ")", "&&", "Subtarget", ".", "hasAVX512", "(", ")", "&&", "!", "Subtarget", ".", "hasBWI", "(", ")", ")", "return", "TypeSplitVector", ";", "if", "(", "!", "VT", ".", "isScalableVector", "(", ")", "&&", "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", "MVT::v64i1", "1", "MVT::i1"], "File": "X86ISelLowering (2)5", "Func": "getPreferredVectorAction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13311, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "mips_autovectorize_vector_modes", "(", "vector_modes", "*", "modes", ",", "bool", ")", "{", "if", "(", "ISA_HAS_MSA", ")", "modes", "->", "safe_push", "(", "V16QImode", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VECTORIZE_AUTOVECTORIZE_VECTOR_MODES", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips_autovectorize_vector_modes", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13312, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_discover_homogeneous_aggregate", "(", "machine_mode", "mode", ",", "const_tree", "type", ",", "machine_mode", "*", "elt_mode", ",", "int", "*", "n_elts", ")", "{", "if", "(", "TARGET_HARD_FLOAT", "&&", "DEFAULT_ABI", "==", "ABI_ELFv2", "&&", "type", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "machine_mode", "field_mode", "=", "VOIDmode", ";", "int", "field_count", "=", "rs6000_aggregate_candidate", "(", "type", ",", "&", "field_mode", ")", ";", "if", "(", "field_count", ">", "0", ")", "{", "int", "reg_size", "=", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "field_mode", ")", "?", "16", ":", "8", ";", "int", "field_size", "=", "ROUND_UP", "(", "GET_MODE_SIZE", "(", "field_mode", ")", ",", "reg_size", ")", ";", "if", "(", "field_count", "*", "field_size", "<=", "AGGR_ARG_NUM_REG", "*", "reg_size", ")", "{", "if", "(", "elt_mode", ")", "*", "elt_mode", "=", "field_mode", ";", "if", "(", "n_elts", ")", "*", "n_elts", "=", "field_count", ";", "return", "true", ";", "}", "}", "}", "if", "(", "elt_mode", ")", "*", "elt_mode", "=", "mode", ";", "if", "(", "n_elts", ")", "*", "n_elts", "=", "1", ";", "return", "false", ";", "}", ""], "natrual_language": ["If", "an", "argument", ",", "whose", "type", "is", "described", "by", "TYPE", "and", "MODE", ",", "is", "a", "homogeneous", "float", "or", "vector", "aggregate", "that", "shall", "be", "passed", "in", "FP/vector", "registers", "according", "to", "the", "ELFv2", "ABI", ",", "return", "the", "homogeneous", "element", "mode", "in", "*", "ELT_MODE", "and", "the", "number", "of", "elements", "in", "*", "N_ELTS", ",", "and", "return", "TRUE", ".", "Otherwise", ",", "set", "*", "ELT_MODE", "to", "MODE", "and", "*", "N_ELTS", "to", "1", ",", "and", "return", "FALSE", "."], "TS_V_token": ["rs6000", "0", "16", "8", "1"], "File": "rs60008", "Func": "rs6000_discover_homogeneous_aggregate", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13313, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_dep_by_shift_count_body", "(", "const_rtx", "set_body", ",", "const_rtx", "use_body", ")", "{", "rtx", "set_dest", ";", "rtx", "shift_rtx", ";", "int", "i", ";", "switch", "(", "GET_CODE", "(", "set_body", ")", ")", "{", "case", "SET", ":", "set_dest", "=", "SET_DEST", "(", "set_body", ")", ";", "if", "(", "!", "set_dest", "||", "!", "REG_P", "(", "set_dest", ")", ")", "return", "false", ";", "break", ";", "case", "PARALLEL", ":", "for", "(", "i", "=", "XVECLEN", "(", "set_body", ",", "0", ")", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "if", "(", "ix86_dep_by_shift_count_body", "(", "XVECEXP", "(", "set_body", ",", "0", ",", "i", ")", ",", "use_body", ")", ")", "return", "true", ";", "default", ":", "return", "false", ";", "}", "switch", "(", "GET_CODE", "(", "use_body", ")", ")", "{", "case", "SET", ":", "shift_rtx", "=", "XEXP", "(", "use_body", ",", "1", ")", ";", "break", ";", "case", "PARALLEL", ":", "for", "(", "i", "=", "XVECLEN", "(", "use_body", ",", "0", ")", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "if", "(", "ix86_dep_by_shift_count_body", "(", "set_body", ",", "XVECEXP", "(", "use_body", ",", "0", ",", "i", ")", ")", ")", "return", "true", ";", "default", ":", "return", "false", ";", "}", "if", "(", "shift_rtx", "&&", "(", "GET_CODE", "(", "shift_rtx", ")", "==", "ASHIFT", "||", "GET_CODE", "(", "shift_rtx", ")", "==", "LSHIFTRT", "||", "GET_CODE", "(", "shift_rtx", ")", "==", "ASHIFTRT", "||", "GET_CODE", "(", "shift_rtx", ")", "==", "ROTATE", "||", "GET_CODE", "(", "shift_rtx", ")", "==", "ROTATERT", ")", ")", "{", "rtx", "shift_count", "=", "XEXP", "(", "shift_rtx", ",", "1", ")", ";", "if", "(", "REG_P", "(", "shift_count", ")", ")", "{", "if", "(", "reload_completed", "&&", "true_regnum", "(", "set_dest", ")", "==", "true_regnum", "(", "shift_count", ")", ")", "return", "true", ";", "else", "if", "(", "REGNO", "(", "set_dest", ")", "==", "REGNO", "(", "shift_count", ")", ")", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "destination", "reg", "of", "SET_BODY", "is", "shift", "count", "of", "USE_BODY", "."], "TS_V_token": ["i386", "0", "1", "0", "0", "1", "0", "1", "0", "0", "1"], "File": "i386", "Func": "ix86_dep_by_shift_count_body", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13314, "Length": 271, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "store_reg", "(", "int", "reg", ",", "HOST_WIDE_INT", "disp", ",", "int", "base", ")", "{", "rtx", "dest", ",", "src", ",", "basereg", ";", "rtx_insn", "*", "insn", ";", "src", "=", "gen_rtx_REG", "(", "word_mode", ",", "reg", ")", ";", "basereg", "=", "gen_rtx_REG", "(", "Pmode", ",", "base", ")", ";", "if", "(", "VAL_14_BITS_P", "(", "disp", ")", ")", "{", "dest", "=", "gen_rtx_MEM", "(", "word_mode", ",", "plus_constant", "(", "Pmode", ",", "basereg", ",", "disp", ")", ")", ";", "insn", "=", "emit_move_insn", "(", "dest", ",", "src", ")", ";", "}", "else", "if", "(", "TARGET_64BIT", "&&", "!", "VAL_32_BITS_P", "(", "disp", ")", ")", "{", "rtx", "delta", "=", "GEN_INT", "(", "disp", ")", ";", "rtx", "tmpreg", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "emit_move_insn", "(", "tmpreg", ",", "delta", ")", ";", "insn", "=", "emit_move_insn", "(", "tmpreg", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "tmpreg", ",", "basereg", ")", ")", ";", "if", "(", "DO_FRAME_NOTES", ")", "{", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "tmpreg", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "basereg", ",", "delta", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "dest", "=", "gen_rtx_MEM", "(", "word_mode", ",", "tmpreg", ")", ";", "insn", "=", "emit_move_insn", "(", "dest", ",", "src", ")", ";", "}", "else", "{", "rtx", "delta", "=", "GEN_INT", "(", "disp", ")", ";", "rtx", "high", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "basereg", ",", "gen_rtx_HIGH", "(", "Pmode", ",", "delta", ")", ")", ";", "rtx", "tmpreg", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "emit_move_insn", "(", "tmpreg", ",", "high", ")", ";", "dest", "=", "gen_rtx_MEM", "(", "word_mode", ",", "gen_rtx_LO_SUM", "(", "Pmode", ",", "tmpreg", ",", "delta", ")", ")", ";", "insn", "=", "emit_move_insn", "(", "dest", ",", "src", ")", ";", "if", "(", "DO_FRAME_NOTES", ")", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "gen_rtx_MEM", "(", "word_mode", ",", "gen_rtx_PLUS", "(", "word_mode", ",", "basereg", ",", "delta", ")", ")", ",", "src", ")", ")", ";", "}", "if", "(", "DO_FRAME_NOTES", ")", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", ""], "natrual_language": ["Emit", "RTL", "to", "store", "REG", "at", "the", "memory", "location", "specified", "by", "BASE+DISP", ".", "Handle", "case", "where", "DISP", ">", "8k", "by", "using", "the", "add_high_const", "patterns", ".", "Note", "in", "DISP", ">", "8k", "case", ",", "we", "will", "leave", "the", "high", "part", "of", "the", "address", "in", "%", "r1", ".", "There", "is", "code", "in", "expand_hppa_", "{", "prologue", ",", "epilogue", "}", "that", "knows", "this", "."], "TS_V_token": ["pa", "1", "1", "1", "1"], "File": "pa", "Func": "store_reg", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13315, "Length": 295, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseInstrInfo", "::", "getInstrLatency", "(", "const", "InstrItineraryData", "*", "ItinData", ",", "const", "MachineInstr", "&", "MI", ",", "unsigned", "*", "PredCost", ")", "const", "{", "if", "(", "MI", ".", "isCopyLike", "(", ")", "||", "MI", ".", "isInsertSubreg", "(", ")", "||", "MI", ".", "isRegSequence", "(", ")", "||", "MI", ".", "isImplicitDef", "(", ")", ")", "return", "1", ";", "if", "(", "MI", ".", "isBundle", "(", ")", ")", "{", "unsigned", "Latency", "=", "0", ";", "MachineBasicBlock", "::", "const_instr_iterator", "I", "=", "MI", ".", "getIterator", "(", ")", ";", "MachineBasicBlock", "::", "const_instr_iterator", "E", "=", "MI", ".", "getParent", "(", ")", "->", "instr_end", "(", ")", ";", "while", "(", "++", "I", "!=", "E", "&&", "I", "->", "isInsideBundle", "(", ")", ")", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "ARM", "::", "t2IT", ")", "Latency", "+=", "getInstrLatency", "(", "ItinData", ",", "*", "I", ",", "PredCost", ")", ";", "}", "return", "Latency", ";", "}", "const", "MCInstrDesc", "&", "MCID", "=", "MI", ".", "getDesc", "(", ")", ";", "if", "(", "PredCost", "&&", "(", "MCID", ".", "isCall", "(", ")", "||", "(", "MCID", ".", "hasImplicitDefOfPhysReg", "(", "ARM", "::", "CPSR", ")", "&&", "!", "Subtarget", ".", "cheapPredicableCPSRDef", "(", ")", ")", ")", ")", "{", "*", "PredCost", "=", "1", ";", "}", "if", "(", "!", "ItinData", ")", "return", "MI", ".", "mayLoad", "(", ")", "?", "3", ":", "1", ";", "unsigned", "Class", "=", "MCID", ".", "getSchedClass", "(", ")", ";", "if", "(", "!", "ItinData", "->", "isEmpty", "(", ")", "&&", "ItinData", "->", "getNumMicroOps", "(", "Class", ")", "<", "0", ")", "return", "getNumMicroOps", "(", "ItinData", ",", "MI", ")", ";", "unsigned", "Latency", "=", "ItinData", "->", "getStageLatency", "(", "Class", ")", ";", "unsigned", "DefAlign", "=", "MI", ".", "hasOneMemOperand", "(", ")", "?", "(", "*", "MI", ".", "memoperands_begin", "(", ")", ")", "->", "getAlignment", "(", ")", ":", "0", ";", "int", "Adj", "=", "adjustDefLatency", "(", "Subtarget", ",", "MI", ",", "MCID", ",", "DefAlign", ")", ";", "if", "(", "Adj", ">=", "0", "||", "(", "int", ")", "Latency", ">", "-", "Adj", ")", "{", "return", "Latency", "+", "Adj", ";", "}", "return", "Latency", ";", "}", ""], "natrual_language": ["Compute", "the", "instruction", "latency", "of", "a", "given", "instruction", "."], "TS_V_token": ["ARM", "ARM", "1", "0", "ARM::t2IT", "ARM::CPSR", "1", "3", "1", "0", "0", "0"], "File": "ARMBaseInstrInfo1", "Func": "getInstrLatency", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13316, "Length": 305, "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": 13317, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sh_atomic_assign_expand_fenv", "(", "tree", "*", "hold", ",", "tree", "*", "clear", ",", "tree", "*", "update", ")", "{", "const", "unsigned", "SH_FE_INVALID", "=", "64", ";", "const", "unsigned", "SH_FE_DIVBYZERO", "=", "32", ";", "const", "unsigned", "SH_FE_OVERFLOW", "=", "16", ";", "const", "unsigned", "SH_FE_UNDERFLOW", "=", "8", ";", "const", "unsigned", "SH_FE_INEXACT", "=", "4", ";", "const", "unsigned", "HOST_WIDE_INT", "SH_FE_ALL_EXCEPT", "=", "(", "SH_FE_INVALID", "|", "SH_FE_DIVBYZERO", "|", "SH_FE_OVERFLOW", "|", "SH_FE_UNDERFLOW", "|", "SH_FE_INEXACT", ")", ";", "const", "unsigned", "HOST_WIDE_INT", "SH_FE_EXCEPT_SHIFT", "=", "5", ";", "tree", "fenv_var", ",", "mask", ",", "ld_fenv", ",", "masked_fenv", ";", "tree", "new_fenv_var", ",", "reload_fenv", ",", "restore_fnenv", ";", "tree", "update_call", ",", "atomic_feraiseexcept", ",", "hold_fnclex", ";", "if", "(", "!", "TARGET_FPU_ANY", ")", "return", ";", "fenv_var", "=", "create_tmp_var_raw", "(", "unsigned_type_node", ")", ";", "mask", "=", "build_int_cst", "(", "unsigned_type_node", ",", "~", "(", "(", "SH_FE_ALL_EXCEPT", "<<", "SH_FE_EXCEPT_SHIFT", ")", "|", "SH_FE_ALL_EXCEPT", ")", ")", ";", "ld_fenv", "=", "build2", "(", "MODIFY_EXPR", ",", "unsigned_type_node", ",", "fenv_var", ",", "build_call_expr", "(", "sh_builtin_get_fpscr", ",", "0", ")", ")", ";", "masked_fenv", "=", "build2", "(", "BIT_AND_EXPR", ",", "unsigned_type_node", ",", "fenv_var", ",", "mask", ")", ";", "hold_fnclex", "=", "build_call_expr", "(", "sh_builtin_set_fpscr", ",", "1", ",", "masked_fenv", ")", ";", "fenv_var", "=", "build4", "(", "TARGET_EXPR", ",", "unsigned_type_node", ",", "fenv_var", ",", "build2", "(", "COMPOUND_EXPR", ",", "void_type_node", ",", "masked_fenv", ",", "ld_fenv", ")", ",", "NULL_TREE", ",", "NULL_TREE", ")", ";", "*", "hold", "=", "build2", "(", "COMPOUND_EXPR", ",", "void_type_node", ",", "fenv_var", ",", "hold_fnclex", ")", ";", "*", "clear", "=", "build_call_expr", "(", "sh_builtin_set_fpscr", ",", "1", ",", "masked_fenv", ")", ";", "new_fenv_var", "=", "create_tmp_var_raw", "(", "unsigned_type_node", ")", ";", "reload_fenv", "=", "build2", "(", "MODIFY_EXPR", ",", "unsigned_type_node", ",", "new_fenv_var", ",", "build_call_expr", "(", "sh_builtin_get_fpscr", ",", "0", ")", ")", ";", "restore_fnenv", "=", "build_call_expr", "(", "sh_builtin_set_fpscr", ",", "1", ",", "fenv_var", ")", ";", "atomic_feraiseexcept", "=", "builtin_decl_implicit", "(", "BUILT_IN_ATOMIC_FERAISEEXCEPT", ")", ";", "update_call", "=", "build_call_expr", "(", "atomic_feraiseexcept", ",", "1", ",", "fold_convert", "(", "integer_type_node", ",", "new_fenv_var", ")", ")", ";", "*", "update", "=", "build2", "(", "COMPOUND_EXPR", ",", "void_type_node", ",", "build2", "(", "COMPOUND_EXPR", ",", "void_type_node", ",", "reload_fenv", ",", "restore_fnenv", ")", ",", "update_call", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ATOMIC_ASSIGN_EXPAND_FENV", "."], "TS_V_token": ["sh", "64", "32", "16", "8", "4", "5", "0", "1", "1", "0", "1", "1"], "File": "sh", "Func": "sh_atomic_assign_expand_fenv", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13318, "Length": 303, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "ARMTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "EVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'l'", ":", "if", "(", "Subtarget", "->", "isThumb", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "ARM", "::", "tGPRRegisterClass", ")", ";", "else", "return", "std", "::", "make_pair", "(", "0U", ",", "ARM", "::", "GPRRegisterClass", ")", ";", "case", "'r'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "ARM", "::", "GPRRegisterClass", ")", ";", "case", "'w'", ":", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "ARM", "::", "SPRRegisterClass", ")", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "ARM", "::", "DPRRegisterClass", ")", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "128", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "ARM", "::", "QPRRegisterClass", ")", ";", "break", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["ARM", "ARM", "1", "0", "0U", "ARM::tGPRRegisterClass", "0U", "ARM::GPRRegisterClass", "0U", "ARM::GPRRegisterClass", "MVT::f32", "0U", "ARM::SPRRegisterClass", "64", "0U", "ARM::DPRRegisterClass", "128", "0U", "ARM::QPRRegisterClass"], "File": "ARMISelLowering109", "Func": "getRegForInlineAsmConstraint", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13319, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "unsigned", ">", "VRegs", ")", "const", "{", "if", "(", "F", ".", "arg_empty", "(", ")", ")", "return", "true", ";", "if", "(", "F", ".", "isVarArg", "(", ")", ")", "return", "false", ";", "auto", "DL", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getDataLayout", "(", ")", ";", "auto", "&", "TLI", "=", "*", "getTLI", "<", "ARMTargetLowering", ">", "(", ")", ";", "auto", "&", "Args", "=", "F", ".", "getArgumentList", "(", ")", ";", "unsigned", "ArgIdx", "=", "0", ";", "for", "(", "auto", "&", "Arg", ":", "Args", ")", "{", "ArgIdx", "++", ";", "if", "(", "!", "isSupportedType", "(", "DL", ",", "TLI", ",", "Arg", ".", "getType", "(", ")", ")", ")", "return", "false", ";", "if", "(", "ArgIdx", ">", "4", "&&", "Arg", ".", "getType", "(", ")", "->", "getIntegerBitWidth", "(", ")", "!=", "32", ")", "return", "false", ";", "}", "CCAssignFn", "*", "AssignFn", "=", "TLI", ".", "CCAssignFnForCall", "(", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "ArgInfos", ";", "unsigned", "Idx", "=", "0", ";", "for", "(", "auto", "&", "Arg", ":", "Args", ")", "{", "ArgInfo", "AInfo", "(", "VRegs", "[", "Idx", "]", ",", "Arg", ".", "getType", "(", ")", ")", ";", "setArgFlags", "(", "AInfo", ",", "Idx", "+", "1", ",", "DL", ",", "F", ")", ";", "ArgInfos", ".", "push_back", "(", "AInfo", ")", ";", "Idx", "++", ";", "}", "FormalArgHandler", "ArgHandler", "(", "MIRBuilder", ",", "MIRBuilder", ".", "getMF", "(", ")", ".", "getRegInfo", "(", ")", ")", ";", "return", "handleAssignments", "(", "MIRBuilder", ",", "AssignFn", ",", "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", "0", "4", "32", "8", "0", "1"], "File": "ARMCallLowering12", "Func": "lowerFormalArguments", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13320, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addPreSched2", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "EnableARMLoadStoreOpt", ")", "addPass", "(", "createARMLoadStoreOptimizationPass", "(", ")", ")", ";", "addPass", "(", "createExecutionDependencyFixPass", "(", "&", "ARM", "::", "DPRRegClass", ")", ")", ";", "}", "addPass", "(", "createARMExpandPseudoPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createThumb2SizeReductionPass", "(", "[", "this", "]", "(", "const", "Function", "&", "F", ")", "{", "return", "this", "->", "TM", "->", "getSubtarget", "<", "ARMSubtarget", ">", "(", "F", ")", ".", "restrictIT", "(", ")", ";", "}", ")", ")", ";", "addPass", "(", "createIfConverter", "(", "[", "this", "]", "(", "const", "Function", "&", "F", ")", "{", "return", "!", "this", "->", "TM", "->", "getSubtarget", "<", "ARMSubtarget", ">", "(", "F", ")", ".", "isThumb1Only", "(", ")", ";", "}", ")", ")", ";", "}", "addPass", "(", "createThumb2ITBlockPass", "(", ")", ")", ";", "}", ""], "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::DPRRegClass", "ARM", "ARM", "ARM"], "File": "ARMTargetMachine (2)1", "Func": "addPreSched2", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13321, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARM64RegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "ARM64", "::", "GPR32RegClassID", ":", "case", "ARM64", "::", "GPR32spRegClassID", ":", "case", "ARM64", "::", "GPR32allRegClassID", ":", "case", "ARM64", "::", "GPR64spRegClassID", ":", "case", "ARM64", "::", "GPR64allRegClassID", ":", "case", "ARM64", "::", "GPR64RegClassID", ":", "case", "ARM64", "::", "GPR32commonRegClassID", ":", "case", "ARM64", "::", "GPR64commonRegClassID", ":", "return", "32", "-", "1", "-", "(", "TFI", "->", "hasFP", "(", "MF", ")", "||", "STI", "->", "isTargetDarwin", "(", ")", ")", "-", "STI", "->", "isTargetDarwin", "(", ")", "-", "hasBasePointer", "(", "MF", ")", ";", "case", "ARM64", "::", "FPR8RegClassID", ":", "case", "ARM64", "::", "FPR16RegClassID", ":", "case", "ARM64", "::", "FPR32RegClassID", ":", "case", "ARM64", "::", "FPR64RegClassID", ":", "case", "ARM64", "::", "FPR128RegClassID", ":", "return", "32", ";", "case", "ARM64", "::", "DDRegClassID", ":", "case", "ARM64", "::", "DDDRegClassID", ":", "case", "ARM64", "::", "DDDDRegClassID", ":", "case", "ARM64", "::", "QQRegClassID", ":", "case", "ARM64", "::", "QQQRegClassID", ":", "case", "ARM64", "::", "QQQQRegClassID", ":", "return", "32", ";", "case", "ARM64", "::", "FPR128_loRegClassID", ":", "return", "16", ";", "}", "}", ""], "natrual_language": ["Return", "the", "register", "pressure", "``", "high", "water", "mark", "''", "for", "the", "specific", "register", "class", "."], "TS_V_token": ["ARM64", "ARM64", "0", "ARM64::GPR32RegClassID", "ARM64::GPR32spRegClassID", "ARM64::GPR32allRegClassID", "ARM64::GPR64spRegClassID", "ARM64::GPR64allRegClassID", "ARM64::GPR64RegClassID", "ARM64::GPR32commonRegClassID", "ARM64::GPR64commonRegClassID", "32", "1", "ARM64::FPR8RegClassID", "ARM64::FPR16RegClassID", "ARM64::FPR32RegClassID", "ARM64::FPR64RegClassID", "ARM64::FPR128RegClassID", "32", "ARM64::DDRegClassID", "ARM64::DDDRegClassID", "ARM64::DDDDRegClassID", "ARM64::QQRegClassID", "ARM64::QQQRegClassID", "ARM64::QQQQRegClassID", "32", "ARM64::FPR128_loRegClassID", "16"], "File": "ARM64RegisterInfo", "Func": "getRegPressureLimit", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13322, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "getUndefRegClearance", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "&", "OpNum", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "!", "hasUndefRegUpdate", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", "return", "0", ";", "OpNum", "=", "1", ";", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "if", "(", "MO", ".", "isUndef", "(", ")", "&&", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "MO", ".", "getReg", "(", ")", ")", ")", "{", "return", "16", ";", "}", "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", "1", "16", "0"], "File": "X86InstrInfo (2)", "Func": "getUndefRegClearance", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13323, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "X86Subtarget", "::", "classifyLocalReference", "(", "const", "GlobalValue", "*", "GV", ")", "const", "{", "if", "(", "is64Bit", "(", ")", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", ")", "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_NO_FLAG", "X86II::MO_NO_FLAG", "X86II::MO_NO_FLAG", "X86II::MO_DARWIN_NONLAZY_PIC_BASE", "X86II::MO_PIC_BASE_OFFSET", "X86II::MO_GOTOFF"], "File": "X86Subtarget64", "Func": "classifyLocalReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13324, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "vax_legitimate_address_p", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "bool", "strict", ")", "{", "rtx", "xfoo0", ",", "xfoo1", ";", "if", "(", "nonindexed_address_p", "(", "x", ",", "strict", ")", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "PLUS", ")", "return", "false", ";", "xfoo0", "=", "XEXP", "(", "x", ",", "0", ")", ";", "xfoo1", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "index_term_p", "(", "xfoo0", ",", "mode", ",", "strict", ")", "&&", "nonindexed_address_p", "(", "xfoo1", ",", "strict", ")", ")", "return", "true", ";", "if", "(", "index_term_p", "(", "xfoo1", ",", "mode", ",", "strict", ")", "&&", "nonindexed_address_p", "(", "xfoo0", ",", "strict", ")", ")", "return", "true", ";", "if", "(", "indexable_address_p", "(", "xfoo0", ",", "xfoo1", ",", "mode", ",", "strict", ")", "||", "indexable_address_p", "(", "xfoo1", ",", "xfoo0", ",", "mode", ",", "strict", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["legitimate_address_p", "returns", "true", "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": ["vax", "0", "1"], "File": "vax", "Func": "vax_legitimate_address_p", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13325, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "requiresFrameIndexScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "requires", "post", "PEI", "scavenging", "of", "registers", "for", "materializing", "frame", "index", "constants", "."], "TS_V_token": ["SystemZ"], "File": "SystemZRegisterInfo (2)", "Func": "requiresFrameIndexScavenging", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13326, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_option_override", "(", "void", ")", "{", "unsigned", "int", "i", ";", "cl_deferred_option", "*", "opt", ";", "vec", "<", "cl_deferred_option", ">", "*", "v", "=", "(", "vec", "<", "cl_deferred_option", ">", "*", ")", "ia64_deferred_options", ";", "if", "(", "v", ")", "FOR_EACH_VEC_ELT", "(", "*", "v", ",", "i", ",", "opt", ")", "{", "switch", "(", "opt", "->", "opt_index", ")", "{", "case", "OPT_mfixed_range_", ":", "fix_range", "(", "opt", "->", "arg", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "if", "(", "TARGET_AUTO_PIC", ")", "target_flags", "|=", "MASK_CONST_GP", ";", "if", "(", "optimize", ">=", "3", ")", "flag_ira_loop_pressure", "=", "1", ";", "ia64_section_threshold", "=", "(", "OPTION_SET_P", "(", "g_switch_value", ")", "?", "g_switch_value", ":", "IA64_DEFAULT_GVALUE", ")", ";", "init_machine_status", "=", "ia64_init_machine_status", ";", "if", "(", "flag_align_functions", "&&", "!", "str_align_functions", ")", "str_align_functions", "=", "\"64\"", ";", "if", "(", "flag_align_loops", "&&", "!", "str_align_loops", ")", "str_align_loops", "=", "\"32\"", ";", "if", "(", "TARGET_ABI_OPEN_VMS", ")", "flag_no_common", "=", "1", ";", "ia64_override_options_after_change", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_OVERRIDE", "."], "TS_V_token": ["ia64", "3", "1", "\"64\"", "\"32\"", "1"], "File": "ia64", "Func": "ia64_option_override", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13327, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_cmove", "(", "rtx", "dst", ",", "rtx", "src", ",", "enum", "rtx_code", "code", ",", "rtx", "op1", ",", "rtx", "op2", ")", "{", "rtx", "t", ";", "if", "(", "TARGET_CMOVE", ")", "{", "t", "=", "ix86_expand_compare", "(", "code", ",", "op1", ",", "op2", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dst", ",", "gen_rtx_IF_THEN_ELSE", "(", "GET_MODE", "(", "dst", ")", ",", "t", ",", "src", ",", "dst", ")", ")", ")", ";", "}", "else", "{", "rtx_code_label", "*", "nomove", "=", "gen_label_rtx", "(", ")", ";", "emit_cmp_and_jump_insns", "(", "op1", ",", "op2", ",", "reverse_condition", "(", "code", ")", ",", "const0_rtx", ",", "GET_MODE", "(", "op1", ")", ",", "1", ",", "nomove", ")", ";", "emit_move_insn", "(", "dst", ",", "src", ")", ";", "emit_label", "(", "nomove", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "conditional", "move", "of", "SRC", "to", "DST", "with", "condition", "OP1", "CODE", "OP2", "."], "TS_V_token": ["i386", "1"], "File": "i3865", "Func": "ix86_emit_cmove", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13328, "Length": 110, "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": ["powerpcspe"], "File": "powerpcspe", "Func": "emit_load_locked", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13329, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZPostRASchedStrategy", "::", "leaveMBB", "(", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"+++ Leaving MBB#\"", "<<", "MBB", "->", "getNumber", "(", ")", "<<", "\"\\n\"", ";", ")", ";", "advanceTo", "(", "MBB", "->", "getFirstTerminator", "(", ")", ")", ";", "}", ""], "natrual_language": ["Tell", "the", "strategy", "that", "current", "MBB", "is", "done", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"+++ Leaving MBB#\"", "\"\\n\""], "File": "SystemZMachineScheduler4", "Func": "leaveMBB", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13330, "Length": 35, "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": 13331, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "xstormy16_expand_move", "(", "machine_mode", "mode", ",", "rtx", "dest", ",", "rtx", "src", ")", "{", "if", "(", "MEM_P", "(", "dest", ")", "&&", "(", "GET_CODE", "(", "XEXP", "(", "dest", ",", "0", ")", ")", "==", "PRE_MODIFY", ")", ")", "{", "rtx", "pmv", "=", "XEXP", "(", "dest", ",", "0", ")", ";", "rtx", "dest_reg", "=", "XEXP", "(", "pmv", ",", "0", ")", ";", "rtx", "dest_mod", "=", "XEXP", "(", "pmv", ",", "1", ")", ";", "rtx", "set", "=", "gen_rtx_SET", "(", "Pmode", ",", "dest_reg", ",", "dest_mod", ")", ";", "rtx", "clobber", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "BImode", ",", "CARRY_REGNUM", ")", ")", ";", "dest", "=", "gen_rtx_MEM", "(", "mode", ",", "dest_reg", ")", ";", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "set", ",", "clobber", ")", ")", ")", ";", "}", "else", "if", "(", "MEM_P", "(", "src", ")", "&&", "(", "GET_CODE", "(", "XEXP", "(", "src", ",", "0", ")", ")", "==", "PRE_MODIFY", ")", ")", "{", "rtx", "pmv", "=", "XEXP", "(", "src", ",", "0", ")", ";", "rtx", "src_reg", "=", "XEXP", "(", "pmv", ",", "0", ")", ";", "rtx", "src_mod", "=", "XEXP", "(", "pmv", ",", "1", ")", ";", "rtx", "set", "=", "gen_rtx_SET", "(", "Pmode", ",", "src_reg", ",", "src_mod", ")", ";", "rtx", "clobber", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "BImode", ",", "CARRY_REGNUM", ")", ")", ";", "src", "=", "gen_rtx_MEM", "(", "mode", ",", "src_reg", ")", ";", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "set", ",", "clobber", ")", ")", ")", ";", "}", "if", "(", "!", "reload_in_progress", "&&", "!", "reload_completed", "&&", "MEM_P", "(", "dest", ")", "&&", "(", "!", "CONST_INT_P", "(", "XEXP", "(", "dest", ",", "0", ")", ")", "||", "!", "xstormy16_legitimate_address_p", "(", "mode", ",", "XEXP", "(", "dest", ",", "0", ")", ",", "0", ")", ")", "&&", "!", "xstormy16_below100_operand", "(", "dest", ",", "mode", ")", "&&", "!", "REG_P", "(", "src", ")", "&&", "GET_CODE", "(", "src", ")", "!=", "SUBREG", ")", "src", "=", "copy_to_mode_reg", "(", "mode", ",", "src", ")", ";", "if", "(", "reload_completed", "&&", "mode", "!=", "HImode", "&&", "mode", "!=", "QImode", ")", "{", "xstormy16_split_move", "(", "mode", ",", "dest", ",", "src", ")", ";", "return", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "src", ")", ")", ";", "}", ""], "natrual_language": ["Expander", "for", "the", "'move", "'", "patterns", ".", "Emit", "insns", "to", "copy", "a", "value", "of", "mode", "MODE", "from", "SRC", "to", "DEST", "."], "TS_V_token": ["stormy16", "0", "0", "0", "1", "2", "0", "0", "0", "1", "2", "0", "0", "0"], "File": "stormy164", "Func": "xstormy16_expand_move", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13332, "Length": 335, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "get_dest_uid", "(", "rtx", "label", ",", "int", "max_uid", ")", "{", "rtx_insn", "*", "dest", "=", "next_real_insn", "(", "label", ")", ";", "int", "dest_uid", ";", "if", "(", "!", "dest", ")", "return", "0", ";", "dest_uid", "=", "INSN_UID", "(", "dest", ")", ";", "while", "(", "dest_uid", ">=", "max_uid", ")", "{", "dest", "=", "NEXT_INSN", "(", "dest", ")", ";", "dest_uid", "=", "INSN_UID", "(", "dest", ")", ";", "}", "if", "(", "JUMP_P", "(", "dest", ")", "&&", "GET_CODE", "(", "PATTERN", "(", "dest", ")", ")", "==", "RETURN", ")", "return", "0", ";", "return", "dest_uid", ";", "}", ""], "natrual_language": ["Return", "the", "UID", "of", "the", "insn", "that", "follows", "the", "specified", "label", "."], "TS_V_token": ["sh", "0", "0"], "File": "sh4", "Func": "get_dest_uid", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13333, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "formatted_raw_ostream", "&", "getOStream", "(", ")", "{", "return", "OS", ";", "}", ""], "natrual_language": ["getOStream", "-", "Get", "the", "raw", "output", "stream", "into", "the", "graph", "file", "."], "TS_V_token": ["Cpu0"], "File": "Cpu0AsmStreamer", "Func": "getOStream", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13334, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "PPCTTIImpl", "::", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ",", "TTI", "::", "OperandValueKind", "Op1Info", ",", "TTI", "::", "OperandValueKind", "Op2Info", ",", "TTI", "::", "OperandValueProperties", "Opd1PropInfo", ",", "TTI", "::", "OperandValueProperties", "Opd2PropInfo", ",", "ArrayRef", "<", "const", "Value", "*", ">", "Args", ",", "const", "Instruction", "*", "CxtI", ")", "{", "assert", "(", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", "&&", "\"Invalid opcode\"", ")", ";", "int", "Cost", "=", "BaseT", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "CostKind", ",", "Op1Info", ",", "Op2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ")", ";", "return", "vectorCostAdjustment", "(", "Cost", ",", "Opcode", ",", "Ty", ",", "nullptr", ")", ";", "}", ""], "natrual_language": ["This", "is", "an", "approximation", "of", "reciprocal", "throughput", "of", "a", "math/logic", "op", "."], "TS_V_token": ["PowerPC", "PPC", "\"Invalid opcode\""], "File": "PPCTargetTransformInfo24", "Func": "getArithmeticInstrCost", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13335, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "pa_arg_partial_bytes", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "unsigned", "int", "max_arg_words", "=", "8", ";", "unsigned", "int", "offset", "=", "0", ";", "if", "(", "!", "TARGET_64BIT", ")", "return", "0", ";", "if", "(", "FUNCTION_ARG_SIZE", "(", "mode", ",", "type", ")", ">", "1", "&&", "(", "cum", "->", "words", "&", "1", ")", ")", "offset", "=", "1", ";", "if", "(", "cum", "->", "words", "+", "offset", "+", "FUNCTION_ARG_SIZE", "(", "mode", ",", "type", ")", "<=", "max_arg_words", ")", "return", "0", ";", "else", "if", "(", "cum", "->", "words", "+", "offset", ">=", "max_arg_words", ")", "return", "0", ";", "else", "return", "(", "max_arg_words", "-", "cum", "->", "words", "-", "offset", ")", "*", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["If", "this", "arg", "would", "be", "passed", "totally", "in", "registers", "or", "totally", "on", "the", "stack", ",", "then", "this", "routine", "should", "return", "zero", "."], "TS_V_token": ["pa", "8", "0", "0", "1", "1", "1", "0", "0"], "File": "pa4", "Func": "pa_arg_partial_bytes", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13336, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "MipsInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "MipsInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "0", "&&", "!", "MFI", "->", "adjustsStack", "(", ")", ")", "return", ";", "if", "(", "isInt", "<", "16", ">", "(", "-", "StackSize", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "SaveRaF16", ")", ")", ".", "addImm", "(", "StackSize", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "0", "16", "Mips::SaveRaF16"], "File": "Mips16FrameLowering26", "Func": "emitPrologue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13337, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_adjust_generic_arch_tuning", "(", "struct", "tune_params", "&", "current_tune", ")", "{", "if", "(", "TARGET_SVE2", ")", "current_tune", ".", "extra_tuning_flags", "&=", "~", "AARCH64_EXTRA_TUNE_CSE_SVE_VL_CONSTANTS", ";", "}", ""], "natrual_language": ["Adjust", "CURRENT_TUNE", "(", "a", "generic", "tuning", "struct", ")", "with", "settings", "that", "are", "best", "for", "a", "generic", "target", "with", "the", "currently-enabled", "architecture", "extensions", "."], "TS_V_token": ["aarch64"], "File": "aarch641", "Func": "aarch64_adjust_generic_arch_tuning", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13338, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_expand_builtin", "(", "tree", "exp", ",", "rtx", "target", ",", "rtx", "subtarget", "ATTRIBUTE_UNUSED", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "int", "ignore", "ATTRIBUTE_UNUSED", ")", "{", "tree", "fndecl", "=", "TREE_OPERAND", "(", "TREE_OPERAND", "(", "exp", ",", "0", ")", ",", "0", ")", ";", "tree", "arglist", "=", "TREE_OPERAND", "(", "exp", ",", "1", ")", ";", "unsigned", "int", "fcode", "=", "DECL_FUNCTION_CODE", "(", "fndecl", ")", ";", "struct", "builtin_description", "*", "d", ";", "size_t", "i", ";", "rtx", "ret", ";", "bool", "success", ";", "if", "(", "fcode", "==", "ALTIVEC_BUILTIN_MASK_FOR_LOAD", "||", "fcode", "==", "ALTIVEC_BUILTIN_MASK_FOR_STORE", ")", "{", "int", "icode", "=", "(", "int", ")", "CODE_FOR_altivec_lvsr", ";", "enum", "machine_mode", "tmode", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "mode", ";", "enum", "machine_mode", "mode", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "mode", ";", "tree", "arg", ";", "rtx", "op", ",", "addr", ",", "pat", ";", "gcc_assert", "(", "TARGET_ALTIVEC", ")", ";", "arg", "=", "TREE_VALUE", "(", "arglist", ")", ";", "gcc_assert", "(", "TREE_CODE", "(", "TREE_TYPE", "(", "arg", ")", ")", "==", "POINTER_TYPE", ")", ";", "op", "=", "expand_expr", "(", "arg", ",", "NULL_RTX", ",", "Pmode", ",", "EXPAND_NORMAL", ")", ";", "addr", "=", "memory_address", "(", "mode", ",", "op", ")", ";", "if", "(", "fcode", "==", "ALTIVEC_BUILTIN_MASK_FOR_STORE", ")", "op", "=", "addr", ";", "else", "{", "op", "=", "gen_reg_rtx", "(", "GET_MODE", "(", "addr", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "op", ",", "gen_rtx_NEG", "(", "GET_MODE", "(", "addr", ")", ",", "addr", ")", ")", ")", ";", "}", "op", "=", "gen_rtx_MEM", "(", "mode", ",", "op", ")", ";", "if", "(", "target", "==", "0", "||", "GET_MODE", "(", "target", ")", "!=", "tmode", "||", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "predicate", ")", "(", "target", ",", "tmode", ")", ")", "target", "=", "gen_reg_rtx", "(", "tmode", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op", ")", ";", "if", "(", "!", "pat", ")", "return", "0", ";", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "}", "if", "(", "TARGET_ALTIVEC", ")", "{", "ret", "=", "altivec_expand_builtin", "(", "exp", ",", "target", ",", "&", "success", ")", ";", "if", "(", "success", ")", "return", "ret", ";", "}", "if", "(", "TARGET_SPE", ")", "{", "ret", "=", "spe_expand_builtin", "(", "exp", ",", "target", ",", "&", "success", ")", ";", "if", "(", "success", ")", "return", "ret", ";", "}", "gcc_assert", "(", "TARGET_ALTIVEC", "||", "TARGET_SPE", ")", ";", "d", "=", "(", "struct", "builtin_description", "*", ")", "bdesc_1arg", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "bdesc_1arg", ")", ";", "i", "++", ",", "d", "++", ")", "if", "(", "d", "->", "code", "==", "fcode", ")", "return", "rs6000_expand_unop_builtin", "(", "d", "->", "icode", ",", "arglist", ",", "target", ")", ";", "d", "=", "(", "struct", "builtin_description", "*", ")", "bdesc_2arg", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "bdesc_2arg", ")", ";", "i", "++", ",", "d", "++", ")", "if", "(", "d", "->", "code", "==", "fcode", ")", "return", "rs6000_expand_binop_builtin", "(", "d", "->", "icode", ",", "arglist", ",", "target", ")", ";", "d", "=", "(", "struct", "builtin_description", "*", ")", "bdesc_3arg", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "bdesc_3arg", ")", ";", "i", "++", ",", "d", "++", ")", "if", "(", "d", "->", "code", "==", "fcode", ")", "return", "rs6000_expand_ternop_builtin", "(", "d", "->", "icode", ",", "arglist", ",", "target", ")", ";", "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", ".", "Use", "the", "new", "builtin", "infrastructure", "."], "TS_V_token": ["rs6000", "0", "0", "1", "0", "1", "0", "0", "0", "0", "0", "0"], "File": "rs60003", "Func": "rs6000_expand_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13339, "Length": 508, "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": ["SystemZ"], "File": "SystemZSubtarget16", "Func": "getDataLayout", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13340, "Length": 13, "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", "==", "GLOBAL_OFFSET_TABLE_REGNUM", "&&", "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": "sparc8", "Func": "save_local_or_in_reg_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13341, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_finish_stub", "(", "mips_one_only_stub", "*", "*", "stub_ptr", ")", "{", "mips_one_only_stub", "*", "stub", "=", "*", "stub_ptr", ";", "if", "(", "!", "stub", ")", "return", ";", "const", "char", "*", "name", "=", "stub", "->", "get_name", "(", ")", ";", "mips_start_unique_function", "(", "name", ")", ";", "mips_start_function_definition", "(", "name", ",", "false", ")", ";", "stub", "->", "output_body", "(", ")", ";", "mips_end_function_definition", "(", "name", ")", ";", "delete", "stub", ";", "*", "stub_ptr", "=", "0", ";", "}", ""], "natrual_language": ["If", "*", "STUB_PTR", "points", "to", "a", "stub", ",", "output", "a", "comdat-style", "definition", "for", "it", ",", "then", "free", "*", "STUB_PTR", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips_finish_stub", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13342, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "rs6000_emit_savres_rtx", "(", "rs6000_stack_t", "*", "info", ",", "rtx", "frame_reg_rtx", ",", "int", "save_area_offset", ",", "int", "lr_offset", ",", "machine_mode", "reg_mode", ",", "int", "sel", ")", "{", "int", "i", ";", "int", "offset", ",", "start_reg", ",", "end_reg", ",", "n_regs", ",", "use_reg", ";", "int", "reg_size", "=", "GET_MODE_SIZE", "(", "reg_mode", ")", ";", "rtx", "sym", ";", "rtvec", "p", ";", "rtx", "par", ";", "rtx_insn", "*", "insn", ";", "offset", "=", "0", ";", "start_reg", "=", "(", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_GPR", "?", "info", "->", "first_gp_reg_save", ":", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_FPR", "?", "info", "->", "first_fp_reg_save", ":", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_VR", "?", "info", "->", "first_altivec_reg_save", ":", "-", "1", ")", ";", "end_reg", "=", "(", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_GPR", "?", "32", ":", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_FPR", "?", "64", ":", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_VR", "?", "LAST_ALTIVEC_REGNO", "+", "1", ":", "-", "1", ")", ";", "n_regs", "=", "end_reg", "-", "start_reg", ";", "p", "=", "rtvec_alloc", "(", "3", "+", "(", "(", "sel", "&", "SAVRES_LR", ")", "?", "1", ":", "0", ")", "+", "(", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_VR", "?", "1", ":", "0", ")", "+", "n_regs", ")", ";", "if", "(", "!", "(", "sel", "&", "SAVRES_SAVE", ")", "&&", "(", "sel", "&", "SAVRES_LR", ")", ")", "RTVEC_ELT", "(", "p", ",", "offset", "++", ")", "=", "ret_rtx", ";", "RTVEC_ELT", "(", "p", ",", "offset", "++", ")", "=", "gen_hard_reg_clobber", "(", "Pmode", ",", "LR_REGNO", ")", ";", "sym", "=", "rs6000_savres_routine_sym", "(", "info", ",", "sel", ")", ";", "RTVEC_ELT", "(", "p", ",", "offset", "++", ")", "=", "gen_rtx_USE", "(", "VOIDmode", ",", "sym", ")", ";", "use_reg", "=", "ptr_regno_for_savres", "(", "sel", ")", ";", "if", "(", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_VR", ")", "{", "RTVEC_ELT", "(", "p", ",", "offset", "++", ")", "=", "gen_hard_reg_clobber", "(", "Pmode", ",", "use_reg", ")", ";", "RTVEC_ELT", "(", "p", ",", "offset", "++", ")", "=", "gen_rtx_USE", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ")", ";", "}", "else", "RTVEC_ELT", "(", "p", ",", "offset", "++", ")", "=", "gen_rtx_USE", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "Pmode", ",", "use_reg", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "end_reg", "-", "start_reg", ";", "i", "++", ")", "RTVEC_ELT", "(", "p", ",", "i", "+", "offset", ")", "=", "gen_frame_set", "(", "gen_rtx_REG", "(", "reg_mode", ",", "start_reg", "+", "i", ")", ",", "frame_reg_rtx", ",", "save_area_offset", "+", "reg_size", "*", "i", ",", "(", "sel", "&", "SAVRES_SAVE", ")", "!=", "0", ")", ";", "if", "(", "(", "sel", "&", "SAVRES_SAVE", ")", "&&", "(", "sel", "&", "SAVRES_LR", ")", ")", "RTVEC_ELT", "(", "p", ",", "i", "+", "offset", ")", "=", "gen_frame_store", "(", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ",", "frame_reg_rtx", ",", "lr_offset", ")", ";", "par", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "p", ")", ";", "if", "(", "!", "(", "sel", "&", "SAVRES_SAVE", ")", "&&", "(", "sel", "&", "SAVRES_LR", ")", ")", "{", "insn", "=", "emit_jump_insn", "(", "par", ")", ";", "JUMP_LABEL", "(", "insn", ")", "=", "ret_rtx", ";", "}", "else", "insn", "=", "emit_insn", "(", "par", ")", ";", "return", "insn", ";", "}", ""], "natrual_language": ["Construct", "a", "parallel", "rtx", "describing", "the", "effect", "of", "a", "call", "to", "an", "out-of-line", "register", "save/restore", "routine", ",", "and", "emit", "the", "insn", "or", "jump_insn", "as", "appropriate", "."], "TS_V_token": ["rs6000", "0", "1", "32", "64", "1", "1", "3", "1", "0", "1", "0", "0", "0", "0", "0"], "File": "rs6000-logue", "Func": "rs6000_emit_savres_rtx", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13343, "Length": 467, "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": 13344, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "function_resolver", "::", "require_vector_or_scalar_type", "(", "unsigned", "int", "argno", ")", "{", "tree", "actual", "=", "get_argument_type", "(", "argno", ")", ";", "if", "(", "actual", "==", "error_mark_node", ")", "return", "false", ";", "if", "(", "!", "scalar_argument_p", "(", "argno", ")", "&&", "!", "VECTOR_TYPE_P", "(", "actual", ")", ")", "{", "error_at", "(", "location", ",", "\"passing %qT to argument %d of %qE, which\"", "\" expects a vector or scalar type\"", ",", "actual", ",", "argno", "+", "1", ",", "fndecl", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Require", "argument", "ARGNO", "to", "be", "a", "vector", "or", "scalar", "argument", ".", "Return", "true", "if", "it", "is", ",", "otherwise", "report", "an", "appropriate", "error", "."], "TS_V_token": ["aarch64", "\"passing %qT to argument %d of %qE, which\"", "\" expects a vector or scalar type\"", "1"], "File": "aarch64-sve-builtins", "Func": "require_vector_or_scalar_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13345, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ARMBaseRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "getSubtargetImpl", "(", ")", "->", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMTargetMachine5", "Func": "getRegisterInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13346, "Length": 19, "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": 13347, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "finish_bundle_states", "(", "void", ")", "{", "struct", "bundle_state", "*", "curr_state", ",", "*", "next_state", ";", "for", "(", "curr_state", "=", "allocated_bundle_states_chain", ";", "curr_state", "!=", "NULL", ";", "curr_state", "=", "next_state", ")", "{", "next_state", "=", "curr_state", "->", "allocated_states_chain", ";", "free", "(", "curr_state", "->", "dfa_state", ")", ";", "free", "(", "curr_state", ")", ";", "}", "}", ""], "natrual_language": ["Finish", "work", "with", "abstract", "data", "`", "bundle", "states", "'", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "finish_bundle_states", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13348, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "or1k_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", ")", "{", "if", "(", "!", "flag_pic", ")", "return", "true", ";", "if", "(", "decl", "==", "NULL", ")", "return", "true", ";", "return", "targetm", ".", "binds_local_p", "(", "decl", ")", ";", "}", ""], "natrual_language": ["Worker", "for", "TARGET_FUNCTION_OK_FOR_SIBCALL", ".", "Returns", "true", "if", "the", "function", "declared", "by", "DECL", "is", "ok", "for", "calling", "as", "a", "nested", "function", "."], "TS_V_token": ["or1k"], "File": "or1k", "Func": "or1k_function_ok_for_sibcall", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13349, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ARMBaseInstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "InstrInfo", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMSubtarget (2)1", "Func": "getInstrInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13350, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "getRecipEstimate", "(", "SDValue", "Operand", ",", "DAGCombinerInfo", "&", "DCI", ",", "unsigned", "&", "RefinementSteps", ")", "const", "{", "EVT", "VT", "=", "Operand", ".", "getValueType", "(", ")", ";", "if", "(", "(", "VT", "==", "MVT", "::", "f32", "&&", "Subtarget", ".", "hasFRES", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "f64", "&&", "Subtarget", ".", "hasFRE", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "v4f32", "&&", "Subtarget", ".", "hasAltivec", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "v2f64", "&&", "Subtarget", ".", "hasVSX", "(", ")", ")", ")", "{", "RefinementSteps", "=", "Subtarget", ".", "hasRecipPrec", "(", ")", "?", "1", ":", "3", ";", "if", "(", "VT", ".", "getScalarType", "(", ")", "==", "MVT", "::", "f64", ")", "++", "RefinementSteps", ";", "return", "DCI", ".", "DAG", ".", "getNode", "(", "PPCISD", "::", "FRE", ",", "SDLoc", "(", "Operand", ")", ",", "VT", ",", "Operand", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Return", "a", "reciprocal", "estimate", "value", "for", "the", "input", "operand", "."], "TS_V_token": ["PowerPC", "PPC", "MVT::f32", "MVT::f64", "MVT::v4f32", "MVT::v2f64", "1", "3", "MVT::f64", "PPCISD::FRE"], "File": "PPCISelLowering167", "Func": "getRecipEstimate", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13351, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "RCPair", "ARMTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "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", ")", "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::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", "0U", "ARM::SPRRegClass", "\"{cc}\"", "ARM::CPSR", "ARM::CCRRegClass"], "File": "ARMISelLowering (2)3", "Func": "getRegForInlineAsmConstraint", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13352, "Length": 345, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sparc_got", "(", "void", ")", "{", "if", "(", "!", "sparc_got_symbol", ")", "sparc_got_symbol", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"_GLOBAL_OFFSET_TABLE_\"", ")", ";", "return", "sparc_got_symbol", ";", "}", ""], "natrual_language": ["Return", "the", "SYMBOL_REF", "for", "the", "Global", "Offset", "Table", "."], "TS_V_token": ["sparc", "\"_GLOBAL_OFFSET_TABLE_\""], "File": "sparc4", "Func": "sparc_got", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13353, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"ARM64 Address Type Promotion\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM64", "\"ARM64 Address Type Promotion\""], "File": "ARM64AddressTypePromotion1", "Func": "getPassName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13354, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CondBrTuning", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** AArch64 Conditional Branch Tuning **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "bool", "LocalChange", "=", "false", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "getFirstTerminator", "(", ")", ",", "E", "=", "MBB", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "MachineInstr", "&", "MI", "=", "*", "I", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "AArch64", "::", "CBZW", ":", "case", "AArch64", "::", "CBZX", ":", "case", "AArch64", "::", "CBNZW", ":", "case", "AArch64", "::", "CBNZX", ":", "case", "AArch64", "::", "TBZW", ":", "case", "AArch64", "::", "TBZX", ":", "case", "AArch64", "::", "TBNZW", ":", "case", "AArch64", "::", "TBNZX", ":", "MachineInstr", "*", "DefMI", "=", "getOperandDef", "(", "MI", ".", "getOperand", "(", "0", ")", ")", ";", "LocalChange", "=", "(", "DefMI", "&&", "tryToTuneBranch", "(", "MI", ",", "*", "DefMI", ")", ")", ";", "break", ";", "}", "if", "(", "LocalChange", ")", "{", "Changed", "=", "true", ";", "break", ";", "}", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"********** AArch64 Conditional Branch Tuning **********\\n\"", "\"********** Function: \"", "AArch64", "AArch64::CBZW", "AArch64::CBZX", "AArch64::CBNZW", "AArch64::CBNZX", "AArch64::TBZW", "AArch64::TBZX", "AArch64::TBNZW", "AArch64::TBNZX", "0"], "File": "AArch64CondBrTuning12", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13355, "Length": 242, "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", ".", "getTypeSizeInBits", "(", "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": "AArch64ISelLowering (2)", "Func": "lowerInterleavedStore", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13356, "Length": 410, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "rtx_code", "ix86_prepare_fp_compare_args", "(", "enum", "rtx_code", "code", ",", "rtx", "*", "pop0", ",", "rtx", "*", "pop1", ")", "{", "machine_mode", "fpcmp_mode", "=", "ix86_fp_compare_mode", "(", "code", ")", ";", "rtx", "op0", "=", "*", "pop0", ",", "op1", "=", "*", "pop1", ";", "machine_mode", "op_mode", "=", "GET_MODE", "(", "op0", ")", ";", "int", "is_sse", "=", "TARGET_SSE_MATH", "&&", "SSE_FLOAT_MODE_P", "(", "op_mode", ")", ";", "if", "(", "!", "is_sse", "&&", "(", "fpcmp_mode", "==", "CCFPUmode", "||", "(", "op_mode", "==", "XFmode", "&&", "!", "(", "standard_80387_constant_p", "(", "op0", ")", "==", "1", "||", "standard_80387_constant_p", "(", "op1", ")", "==", "1", ")", "&&", "GET_CODE", "(", "op1", ")", "!=", "FLOAT", ")", "||", "ix86_fp_comparison_strategy", "(", "code", ")", "==", "IX86_FPCMP_COMI", ")", ")", "{", "op0", "=", "force_reg", "(", "op_mode", ",", "op0", ")", ";", "op1", "=", "force_reg", "(", "op_mode", ",", "op1", ")", ";", "}", "else", "{", "if", "(", "standard_80387_constant_p", "(", "op0", ")", "==", "0", "||", "(", "MEM_P", "(", "op0", ")", "&&", "!", "(", "standard_80387_constant_p", "(", "op1", ")", "==", "0", "||", "MEM_P", "(", "op1", ")", ")", ")", ")", "{", "enum", "rtx_code", "new_code", "=", "ix86_fp_swap_condition", "(", "code", ")", ";", "if", "(", "new_code", "!=", "UNKNOWN", ")", "{", "std", "::", "swap", "(", "op0", ",", "op1", ")", ";", "code", "=", "new_code", ";", "}", "}", "if", "(", "!", "REG_P", "(", "op0", ")", ")", "op0", "=", "force_reg", "(", "op_mode", ",", "op0", ")", ";", "if", "(", "CONSTANT_P", "(", "op1", ")", ")", "{", "int", "tmp", "=", "standard_80387_constant_p", "(", "op1", ")", ";", "if", "(", "tmp", "==", "0", ")", "op1", "=", "validize_mem", "(", "force_const_mem", "(", "op_mode", ",", "op1", ")", ")", ";", "else", "if", "(", "tmp", "==", "1", ")", "{", "if", "(", "TARGET_CMOVE", ")", "op1", "=", "force_reg", "(", "op_mode", ",", "op1", ")", ";", "}", "else", "op1", "=", "force_reg", "(", "op_mode", ",", "op1", ")", ";", "}", "}", "if", "(", "ix86_fp_comparison_cost", "(", "code", ")", ">", "ix86_fp_comparison_cost", "(", "swap_condition", "(", "code", ")", ")", "&&", "(", "REG_P", "(", "op1", ")", "||", "can_create_pseudo_p", "(", ")", ")", ")", "{", "std", "::", "swap", "(", "op0", ",", "op1", ")", ";", "code", "=", "swap_condition", "(", "code", ")", ";", "if", "(", "!", "REG_P", "(", "op0", ")", ")", "op0", "=", "force_reg", "(", "op_mode", ",", "op0", ")", ";", "}", "*", "pop0", "=", "op0", ";", "*", "pop1", "=", "op1", ";", "return", "code", ";", "}", ""], "natrual_language": ["Swap", ",", "force", "into", "registers", ",", "or", "otherwise", "massage", "the", "two", "operands", "to", "a", "fp", "comparison", ".", "The", "operands", "are", "updated", "in", "place", ";", "the", "new", "comparsion", "code", "is", "returned", "."], "TS_V_token": ["i386", "1", "1", "0", "0", "0", "1"], "File": "i3864", "Func": "ix86_prepare_fp_compare_args", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13357, "Length": 348, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "epilogue_renumber", "(", "rtx", "*", "where", ",", "int", "test", ")", "{", "const", "char", "*", "fmt", ";", "int", "i", ";", "enum", "rtx_code", "code", ";", "if", "(", "*", "where", "==", "0", ")", "return", "0", ";", "code", "=", "GET_CODE", "(", "*", "where", ")", ";", "switch", "(", "code", ")", "{", "case", "REG", ":", "if", "(", "REGNO", "(", "*", "where", ")", ">=", "8", "&&", "REGNO", "(", "*", "where", ")", "<", "24", ")", "return", "1", ";", "if", "(", "!", "test", "&&", "REGNO", "(", "*", "where", ")", ">=", "24", "&&", "REGNO", "(", "*", "where", ")", "<", "32", ")", "*", "where", "=", "gen_rtx_REG", "(", "GET_MODE", "(", "*", "where", ")", ",", "OUTGOING_REGNO", "(", "REGNO", "(", "*", "where", ")", ")", ")", ";", "case", "SCRATCH", ":", "case", "CC0", ":", "case", "PC", ":", "case", "CONST_INT", ":", "case", "CONST_WIDE_INT", ":", "case", "CONST_DOUBLE", ":", "return", "0", ";", "case", "PLUS", ":", "if", "(", "GET_CODE", "(", "XEXP", "(", "*", "where", ",", "0", ")", ")", "==", "REG", "&&", "REGNO", "(", "XEXP", "(", "*", "where", ",", "0", ")", ")", "==", "HARD_FRAME_POINTER_REGNUM", "&&", "(", "GET_CODE", "(", "XEXP", "(", "*", "where", ",", "1", ")", ")", "!=", "CONST_INT", "||", "INTVAL", "(", "XEXP", "(", "*", "where", ",", "1", ")", ")", "<", "SPARC_STACK_BIAS", ")", ")", "return", "1", ";", "break", ";", "case", "MEM", ":", "if", "(", "SPARC_STACK_BIAS", "&&", "GET_CODE", "(", "XEXP", "(", "*", "where", ",", "0", ")", ")", "==", "REG", "&&", "REGNO", "(", "XEXP", "(", "*", "where", ",", "0", ")", ")", "==", "HARD_FRAME_POINTER_REGNUM", ")", "return", "1", ";", "break", ";", "default", ":", "break", ";", "}", "fmt", "=", "GET_RTX_FORMAT", "(", "code", ")", ";", "for", "(", "i", "=", "GET_RTX_LENGTH", "(", "code", ")", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "if", "(", "fmt", "[", "i", "]", "==", "'E'", ")", "{", "int", "j", ";", "for", "(", "j", "=", "XVECLEN", "(", "*", "where", ",", "i", ")", "-", "1", ";", "j", ">=", "0", ";", "j", "--", ")", "if", "(", "epilogue_renumber", "(", "&", "(", "XVECEXP", "(", "*", "where", ",", "i", ",", "j", ")", ")", ",", "test", ")", ")", "return", "1", ";", "}", "else", "if", "(", "fmt", "[", "i", "]", "==", "'e'", "&&", "epilogue_renumber", "(", "&", "(", "XEXP", "(", "*", "where", ",", "i", ")", ")", ",", "test", ")", ")", "return", "1", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "1", ",", "if", "any", "of", "the", "registers", "of", "the", "instruction", "are", "%", "l", "[", "0-7", "]", "or", "%", "o", "[", "0-7", "]", ".", "Such", "instructions", "can", "not", "be", "used", "in", "the", "delay", "slot", "of", "return", "insn", "on", "v9", ".", "If", "TEST", "is", "0", ",", "also", "rename", "all", "%", "i", "[", "0-7", "]", "registers", "to", "their", "%", "o", "[", "0-7", "]", "counterparts", "."], "TS_V_token": ["sparc", "0", "0", "8", "24", "1", "24", "32", "0", "0", "0", "1", "1", "1", "0", "0", "1", "1", "0", "1", "0", "1", "1", "0"], "File": "sparc1", "Func": "epilogue_renumber", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13358, "Length": 359, "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": 13359, "Length": 287, "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", "(", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "MCID", ".", "getSize", "(", ")", ";", "case", "TargetOpcode", "::", "BUNDLE", ":", "return", "getInstBundleLength", "(", "MI", ")", ";", "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", "::", "SPACE", ":", "return", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "case", "ARM", "::", "INLINEASM", ":", "case", "ARM", "::", "INLINEASM_BR", ":", "{", "unsigned", "Size", "=", "getInlineAsmLength", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getSymbolName", "(", ")", ",", "*", "MAI", ")", ";", "if", "(", "!", "MF", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", "->", "isThumbFunction", "(", ")", ")", "Size", "=", "alignTo", "(", "Size", ",", "4", ")", ";", "return", "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": ["ARM", "ARM", "ARM::CONSTPOOL_ENTRY", "ARM::JUMPTABLE_INSTS", "ARM::JUMPTABLE_ADDRS", "ARM::JUMPTABLE_TBB", "ARM::JUMPTABLE_TBH", "2", "ARM::SPACE", "1", "ARM::INLINEASM", "ARM::INLINEASM_BR", "0", "ARM", "4"], "File": "ARMBaseInstrInfo70", "Func": "getInstSizeInBytes", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13360, "Length": 206, "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": 13361, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "HOST_WIDE_INT", "loongarch_asan_shadow_offset", "(", "void", ")", "{", "return", "TARGET_64BIT", "?", "(", "HOST_WIDE_INT_1", "<<", "46", ")", ":", "0", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_ASAN_SHADOW_OFFSET", "hook", "."], "TS_V_token": ["loongarch", "46", "0"], "File": "loongarch1", "Func": "loongarch_asan_shadow_offset", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13362, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0PassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createCpu0SEISelDAG", "(", "getCpu0TargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0", "Cpu0"], "File": "Cpu0TargetMachine4", "Func": "addInstSelector", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13363, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FixupLEAPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "const", "X86Subtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "bool", "IsSlowLEA", "=", "ST", ".", "slowLEA", "(", ")", ";", "bool", "IsSlow3OpsLEA", "=", "ST", ".", "slow3OpsLEA", "(", ")", ";", "bool", "LEAUsesAG", "=", "ST", ".", "LEAusesAG", "(", ")", ";", "bool", "OptIncDec", "=", "!", "ST", ".", "slowIncDec", "(", ")", "||", "MF", ".", "getFunction", "(", ")", ".", "hasOptSize", "(", ")", ";", "bool", "UseLEAForSP", "=", "ST", ".", "useLeaForSP", "(", ")", ";", "TSM", ".", "init", "(", "&", "ST", ")", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "ST", ".", "getRegisterInfo", "(", ")", ";", "auto", "*", "PSI", "=", "&", "getAnalysis", "<", "ProfileSummaryInfoWrapperPass", ">", "(", ")", ".", "getPSI", "(", ")", ";", "auto", "*", "MBFI", "=", "(", "PSI", "&&", "PSI", "->", "hasProfileSummary", "(", ")", ")", "?", "&", "getAnalysis", "<", "LazyMachineBlockFrequencyInfoPass", ">", "(", ")", ".", "getBFI", "(", ")", ":", "nullptr", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Start X86FixupLEAs\\n\"", ";", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "bool", "OptIncDecPerBB", "=", "OptIncDec", "||", "llvm", "::", "shouldOptimizeForSize", "(", "&", "MBB", ",", "PSI", ",", "MBFI", ")", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ";", "I", "!=", "MBB", ".", "end", "(", ")", ";", "++", "I", ")", "{", "if", "(", "!", "isLEA", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "continue", ";", "if", "(", "optTwoAddrLEA", "(", "I", ",", "MBB", ",", "OptIncDecPerBB", ",", "UseLEAForSP", ")", ")", "continue", ";", "if", "(", "IsSlowLEA", ")", "processInstructionForSlowLEA", "(", "I", ",", "MBB", ")", ";", "else", "if", "(", "IsSlow3OpsLEA", ")", "processInstrForSlow3OpLEA", "(", "I", ",", "MBB", ",", "OptIncDecPerBB", ")", ";", "}", "if", "(", "LEAUsesAG", ")", "{", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ";", "I", "!=", "MBB", ".", "end", "(", ")", ";", "++", "I", ")", "processInstruction", "(", "I", ",", "MBB", ")", ";", "}", "}", "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": "X86FixupLEAs17", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13364, "Length": 330, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "SparcDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "DebugLoc", "dl", "=", "N", "->", "getDebugLoc", "(", ")", ";", "if", "(", "N", "->", "isMachineOpcode", "(", ")", ")", "return", "NULL", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "SPISD", "::", "GLOBAL_BASE_REG", ":", "return", "getGlobalBaseReg", "(", ")", ";", "case", "ISD", "::", "SDIV", ":", "case", "ISD", "::", "UDIV", ":", "{", "SDValue", "DivLHS", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "DivRHS", "=", "N", "->", "getOperand", "(", "1", ")", ";", "SDValue", "TopPart", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SDIV", ")", "{", "TopPart", "=", "SDValue", "(", "CurDAG", "->", "getMachineNode", "(", "SP", "::", "SRAri", ",", "dl", ",", "MVT", "::", "i32", ",", "DivLHS", ",", "CurDAG", "->", "getTargetConstant", "(", "31", ",", "MVT", "::", "i32", ")", ")", ",", "0", ")", ";", "}", "else", "{", "TopPart", "=", "CurDAG", "->", "getRegister", "(", "SP", "::", "G0", ",", "MVT", "::", "i32", ")", ";", "}", "TopPart", "=", "SDValue", "(", "CurDAG", "->", "getMachineNode", "(", "SP", "::", "WRYrr", ",", "dl", ",", "MVT", "::", "Glue", ",", "TopPart", ",", "CurDAG", "->", "getRegister", "(", "SP", "::", "G0", ",", "MVT", "::", "i32", ")", ")", ",", "0", ")", ";", "unsigned", "Opcode", "=", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SDIV", "?", "SP", "::", "SDIVrr", ":", "SP", "::", "UDIVrr", ";", "return", "CurDAG", "->", "SelectNodeTo", "(", "N", ",", "Opcode", ",", "MVT", "::", "i32", ",", "DivLHS", ",", "DivRHS", ",", "TopPart", ")", ";", "}", "case", "ISD", "::", "MULHU", ":", "case", "ISD", "::", "MULHS", ":", "{", "SDValue", "MulLHS", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "MulRHS", "=", "N", "->", "getOperand", "(", "1", ")", ";", "unsigned", "Opcode", "=", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "MULHU", "?", "SP", "::", "UMULrr", ":", "SP", "::", "SMULrr", ";", "SDNode", "*", "Mul", "=", "CurDAG", "->", "getMachineNode", "(", "Opcode", ",", "dl", ",", "MVT", "::", "i32", ",", "MVT", "::", "Glue", ",", "MulLHS", ",", "MulRHS", ")", ";", "return", "CurDAG", "->", "SelectNodeTo", "(", "N", ",", "SP", "::", "RDY", ",", "MVT", "::", "i32", ",", "SDValue", "(", "Mul", ",", "1", ")", ")", ";", "}", "}", "return", "SelectCode", "(", "N", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["Sparc", "Sparc", "SPISD::GLOBAL_BASE_REG", "ISD::SDIV", "ISD::UDIV", "0", "1", "ISD::SDIV", "SP::SRAri", "MVT::i32", "31", "MVT::i32", "0", "SP::G0", "MVT::i32", "SP::WRYrr", "MVT::Glue", "SP::G0", "MVT::i32", "0", "ISD::SDIV", "SP::SDIVrr", "SP::UDIVrr", "MVT::i32", "ISD::MULHU", "ISD::MULHS", "0", "1", "ISD::MULHU", "SP::UMULrr", "SP::SMULrr", "MVT::i32", "MVT::Glue", "SP::RDY", "MVT::i32", "1"], "File": "SparcISelDAGToDAG16", "Func": "Select", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13365, "Length": 343, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZFrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "std", "::", "vector", "<", "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", "IsVarArg", "=", "MF", ".", "getFunction", "(", ")", ".", "isVarArg", "(", ")", ";", "DebugLoc", "DL", ";", "SystemZ", "::", "GPRRegs", "SpillGPRs", "=", "ZFI", "->", "getSpillGPRRegs", "(", ")", ";", "if", "(", "SpillGPRs", ".", "LowGPR", ")", "{", "assert", "(", "SpillGPRs", ".", "LowGPR", "!=", "SpillGPRs", ".", "HighGPR", "&&", "\"Should be saving %r15 and something else\"", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "SystemZ", "::", "STMG", ")", ")", ";", "addSavedGPR", "(", "MBB", ",", "MIB", ",", "SpillGPRs", ".", "LowGPR", ",", "false", ")", ";", "addSavedGPR", "(", "MBB", ",", "MIB", ",", "SpillGPRs", ".", "HighGPR", ",", "false", ")", ";", "MIB", ".", "addReg", "(", "SystemZ", "::", "R15D", ")", ".", "addImm", "(", "SpillGPRs", ".", "GPROffset", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "CSI", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "I", "]", ".", "getReg", "(", ")", ";", "if", "(", "SystemZ", "::", "GR64BitRegClass", ".", "contains", "(", "Reg", ")", ")", "addSavedGPR", "(", "MBB", ",", "MIB", ",", "Reg", ",", "true", ")", ";", "}", "if", "(", "IsVarArg", ")", "for", "(", "unsigned", "I", "=", "ZFI", "->", "getVarArgsFirstGPR", "(", ")", ";", "I", "<", "SystemZ", "::", "NumArgGPRs", ";", "++", "I", ")", "addSavedGPR", "(", "MBB", ",", "MIB", ",", "SystemZ", "::", "ArgGPRs", "[", "I", "]", ",", "true", ")", ";", "}", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "CSI", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "I", "]", ".", "getReg", "(", ")", ";", "if", "(", "SystemZ", "::", "FP64BitRegClass", ".", "contains", "(", "Reg", ")", ")", "{", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "TII", "->", "storeRegToStackSlot", "(", "MBB", ",", "MBBI", ",", "Reg", ",", "true", ",", "CSI", "[", "I", "]", ".", "getFrameIdx", "(", ")", ",", "&", "SystemZ", "::", "FP64BitRegClass", ",", "TRI", ")", ";", "}", "if", "(", "SystemZ", "::", "VR128BitRegClass", ".", "contains", "(", "Reg", ")", ")", "{", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "TII", "->", "storeRegToStackSlot", "(", "MBB", ",", "MBBI", ",", "Reg", ",", "true", ",", "CSI", "[", "I", "]", ".", "getFrameIdx", "(", ")", ",", "&", "SystemZ", "::", "VR128BitRegClass", ",", "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": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ::GPRRegs", "\"Should be saving %r15 and something else\"", "SystemZ::STMG", "SystemZ::R15D", "0", "SystemZ::GR64BitRegClass", "SystemZ::NumArgGPRs", "SystemZ::ArgGPRs", "0", "SystemZ::FP64BitRegClass", "SystemZ::FP64BitRegClass", "SystemZ::VR128BitRegClass", "SystemZ::VR128BitRegClass"], "File": "SystemZFrameLowering30", "Func": "spillCalleeSavedRegisters", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13366, "Length": 428, "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", "]", ";", "rtx", "xops", "[", "3", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "loop_lab", ",", "\"LPSRL\"", ",", "labelno", "++", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "loop_lab", ")", ";", "xops", "[", "0", "]", "=", "reg", ";", "xops", "[", "1", "]", "=", "GEN_INT", "(", "get_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", ")", ";", "xops", "[", "0", "]", "=", "reg", ";", "xops", "[", "1", "]", "=", "end", ";", "output_asm_insn", "(", "\"cmp%z0\\t{%1, %0|%0, %1}\"", ",", "xops", ")", ";", "fputs", "(", "\"\\tjne\\t\"", ",", "asm_out_file", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "loop_lab", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Wrapper", "around", "the", "output_probe_stack_range", "routines", "."], "TS_V_token": ["i386", "0", "32", "3", "\"LPSRL\"", "0", "1", "\"sub%z0\\t{%1, %0|%0, %1}\"", "0", "1", "2", "\"or%z0\\t{%2, (%0,%1)|DWORD PTR [%0+%1], %2}\"", "0", "1", "\"cmp%z0\\t{%1, %0|%0, %1}\"", "\"\\tjne\\t\"", "\"\""], "File": "i386", "Func": "output_probe_stack_range", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13367, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "AArch64AsmParser", "::", "tryParseRegister", "(", ")", "{", "MCAsmParser", "&", "Parser", "=", "getParser", "(", ")", ";", "const", "AsmToken", "&", "Tok", "=", "Parser", ".", "getTok", "(", ")", ";", "assert", "(", "Tok", ".", "is", "(", "AsmToken", "::", "Identifier", ")", "&&", "\"Token is not an Identifier\"", ")", ";", "std", "::", "string", "lowerCase", "=", "Tok", ".", "getString", "(", ")", ".", "lower", "(", ")", ";", "unsigned", "RegNum", "=", "matchRegisterNameAlias", "(", "lowerCase", ",", "false", ")", ";", "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", "\"Token is not an Identifier\"", "0", "\"fp\"", "AArch64::FP", "\"lr\"", "AArch64::LR", "\"x31\"", "AArch64::XZR", "\"w31\"", "AArch64::WZR", "0", "0", "1"], "File": "AArch64AsmParser (2)1", "Func": "tryParseRegister", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13368, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "mips_promote_function_mode", "(", "const_tree", "type", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ",", "int", "*", "punsignedp", "ATTRIBUTE_UNUSED", ",", "const_tree", "fntype", "ATTRIBUTE_UNUSED", ",", "int", "for_return", "ATTRIBUTE_UNUSED", ")", "{", "int", "unsignedp", ";", "if", "(", "type", "!=", "NULL_TREE", ")", "return", "promote_mode", "(", "type", ",", "mode", ",", "punsignedp", ")", ";", "unsignedp", "=", "*", "punsignedp", ";", "PROMOTE_MODE", "(", "mode", ",", "unsignedp", ",", "type", ")", ";", "*", "punsignedp", "=", "unsignedp", ";", "return", "mode", ";", "}", ""], "natrual_language": ["This", "function", "is", "equivalent", "to", "default_promote_function_mode_always_promote", "except", "that", "it", "returns", "a", "promoted", "mode", "even", "if", "type", "is", "NULL_TREE", ".", "This", "is", "needed", "by", "libcalls", "which", "have", "no", "type", "(", "only", "a", "mode", ")", "such", "as", "fixed", "conversion", "routines", "that", "take", "a", "signed", "or", "unsigned", "char/short", "argument", "and", "convert", "it", "to", "a", "fixed", "type", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_promote_function_mode", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13369, "Length": 67, "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": ["powerpcspe", "0", "16", "3", "3", "3", "2", "8", "3"], "File": "powerpcspe", "Func": "rs6000_secondary_reload_direct_move", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13370, "Length": 244, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCRegisterInfo", "::", "hasReservedSpillSlot", "(", "const", "MachineFunction", "&", "MF", ",", "Register", "Reg", ",", "int", "&", "FrameIdx", ")", "const", "{", "if", "(", "PPC", "::", "CR2", "<=", "Reg", "&&", "Reg", "<=", "PPC", "::", "CR4", ")", "{", "FrameIdx", "=", "MF", ".", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", "->", "getCRSpillFrameIndex", "(", ")", ";", "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": ["PowerPC", "PPC", "PPC::CR2", "PPC::CR4", "PPC"], "File": "PPCRegisterInfo (2)3", "Func": "hasReservedSpillSlot", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13371, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "pa_output_block_clear", "(", "rtx", "*", "operands", ",", "int", "size_is_constant", "ATTRIBUTE_UNUSED", ")", "{", "int", "align", "=", "INTVAL", "(", "operands", "[", "3", "]", ")", ";", "unsigned", "long", "n_bytes", "=", "INTVAL", "(", "operands", "[", "2", "]", ")", ";", "if", "(", "align", ">", "(", "TARGET_64BIT", "?", "8", ":", "4", ")", ")", "align", "=", "(", "TARGET_64BIT", "?", "8", ":", "4", ")", ";", "switch", "(", "align", ")", "{", "case", "8", ":", "operands", "[", "2", "]", "=", "GEN_INT", "(", "n_bytes", "-", "16", ")", ";", "output_asm_insn", "(", "\"ldi %2,%1\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"std,ma %%r0,8(%0)\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"addib,>= -16,%1,.-4\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"std,ma %%r0,8(%0)\"", ",", "operands", ")", ";", "if", "(", "n_bytes", "%", "16", "!=", "0", ")", "{", "operands", "[", "2", "]", "=", "GEN_INT", "(", "n_bytes", "%", "8", ")", ";", "if", "(", "n_bytes", "%", "16", ">=", "8", ")", "output_asm_insn", "(", "\"std,ma %%r0,8(%0)\"", ",", "operands", ")", ";", "if", "(", "n_bytes", "%", "8", "!=", "0", ")", "output_asm_insn", "(", "\"stdby,e %%r0,%2(%0)\"", ",", "operands", ")", ";", "}", "return", "\"\"", ";", "case", "4", ":", "operands", "[", "2", "]", "=", "GEN_INT", "(", "n_bytes", "-", "8", ")", ";", "output_asm_insn", "(", "\"ldi %2,%1\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"{stws|stw},ma %%r0,4(%0)\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"addib,>= -8,%1,.-4\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"{stws|stw},ma %%r0,4(%0)\"", ",", "operands", ")", ";", "if", "(", "n_bytes", "%", "8", "!=", "0", ")", "{", "operands", "[", "2", "]", "=", "GEN_INT", "(", "n_bytes", "%", "4", ")", ";", "if", "(", "n_bytes", "%", "8", ">=", "4", ")", "output_asm_insn", "(", "\"{stws|stw},ma %%r0,4(%0)\"", ",", "operands", ")", ";", "if", "(", "n_bytes", "%", "4", "!=", "0", ")", "output_asm_insn", "(", "\"{stbys|stby},e %%r0,%2(%0)\"", ",", "operands", ")", ";", "}", "return", "\"\"", ";", "case", "2", ":", "operands", "[", "2", "]", "=", "GEN_INT", "(", "n_bytes", "-", "4", ")", ";", "output_asm_insn", "(", "\"ldi %2,%1\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"{sths|sth},ma %%r0,2(%0)\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"addib,>= -4,%1,.-4\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"{sths|sth},ma %%r0,2(%0)\"", ",", "operands", ")", ";", "if", "(", "n_bytes", "%", "4", "!=", "0", ")", "{", "if", "(", "n_bytes", "%", "4", ">=", "2", ")", "output_asm_insn", "(", "\"{sths|sth},ma %%r0,2(%0)\"", ",", "operands", ")", ";", "if", "(", "n_bytes", "%", "2", "!=", "0", ")", "output_asm_insn", "(", "\"stb %%r0,0(%0)\"", ",", "operands", ")", ";", "}", "return", "\"\"", ";", "case", "1", ":", "operands", "[", "2", "]", "=", "GEN_INT", "(", "n_bytes", "-", "2", ")", ";", "output_asm_insn", "(", "\"ldi %2,%1\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"{stbs|stb},ma %%r0,1(%0)\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"addib,>= -2,%1,.-4\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"{stbs|stb},ma %%r0,1(%0)\"", ",", "operands", ")", ";", "if", "(", "n_bytes", "%", "2", "!=", "0", ")", "output_asm_insn", "(", "\"stb %%r0,0(%0)\"", ",", "operands", ")", ";", "return", "\"\"", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "code", "to", "perform", "a", "block", "clear", ".", "OPERANDS", "[", "0", "]", "is", "the", "destination", "pointer", "as", "a", "REG", ",", "clobbered", ".", "OPERANDS", "[", "1", "]", "is", "a", "register", "for", "temporary", "storage", ".", "OPERANDS", "[", "2", "]", "is", "the", "size", "as", "a", "CONST_INT", "OPERANDS", "[", "3", "]", "is", "the", "alignment", "safe", "to", "use", ",", "as", "a", "CONST_INT", "."], "TS_V_token": ["pa", "3", "2", "8", "4", "8", "4", "8", "2", "16", "\"ldi %2,%1\"", "\"std,ma %%r0,8(%0)\"", "\"addib,>= -16,%1,.-4\"", "\"std,ma %%r0,8(%0)\"", "16", "0", "2", "8", "16", "8", "\"std,ma %%r0,8(%0)\"", "8", "0", "\"stdby,e %%r0,%2(%0)\"", "\"\"", "4", "2", "8", "\"ldi %2,%1\"", "\"{stws|stw},ma %%r0,4(%0)\"", "\"addib,>= -8,%1,.-4\"", "\"{stws|stw},ma %%r0,4(%0)\"", "8", "0", "2", "4", "8", "4", "\"{stws|stw},ma %%r0,4(%0)\"", "4", "0", "\"{stbys|stby},e %%r0,%2(%0)\"", "\"\"", "2", "2", "4", "\"ldi %2,%1\"", "\"{sths|sth},ma %%r0,2(%0)\"", "\"addib,>= -4,%1,.-4\"", "\"{sths|sth},ma %%r0,2(%0)\"", "4", "0", "4", "2", "\"{sths|sth},ma %%r0,2(%0)\"", "2", "0", "\"stb %%r0,0(%0)\"", "\"\"", "1", "2", "2", "\"ldi %2,%1\"", "\"{stbs|stb},ma %%r0,1(%0)\"", "\"addib,>= -2,%1,.-4\"", "\"{stbs|stb},ma %%r0,1(%0)\"", "2", "0", "\"stb %%r0,0(%0)\"", "\"\""], "File": "pa", "Func": "pa_output_block_clear", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13372, "Length": 415, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "MachineModuleInfo", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["Mips"], "File": "MipsCodeEmitter", "Func": "getAnalysisUsage", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13373, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZPassConfig", "::", "addIRPasses", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createSystemZTDCPass", "(", ")", ")", ";", "addPass", "(", "createLoopDataPrefetchPass", "(", ")", ")", ";", "}", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ"], "File": "SystemZTargetMachine10", "Func": "addIRPasses", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13374, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "parse_field", "(", "const", "char", "*", "field", ")", "{", "const", "char", "*", "rest", "=", "strchr", "(", "field", ",", "':'", ")", ";", "char", "*", "after", ";", "unsigned", "fint", "=", "strtol", "(", "rest", "+", "1", ",", "&", "after", ",", "16", ")", ";", "if", "(", "after", "==", "rest", "+", "1", ")", "return", "-", "1", ";", "return", "fint", ";", "}", ""], "natrual_language": ["Returns", "the", "hex", "integer", "that", "is", "after", "'", ":", "'", "for", "the", "FIELD", ".", "Returns", "-1", "is", "returned", "if", "there", "was", "problem", "parsing", "the", "integer", "."], "TS_V_token": ["aarch64", "1", "16", "1", "1"], "File": "driver-aarch64", "Func": "parse_field", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13375, "Length": 57, "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", "::", "WrapperLarge", ":", "return", "\"AArch64ISD::WrapperLarge\"", ";", "case", "AArch64ISD", "::", "WrapperSmall", ":", "return", "\"AArch64ISD::WrapperSmall\"", ";", "case", "AArch64ISD", "::", "NEON_BSL", ":", "return", "\"AArch64ISD::NEON_BSL\"", ";", "case", "AArch64ISD", "::", "NEON_MOVIMM", ":", "return", "\"AArch64ISD::NEON_MOVIMM\"", ";", "case", "AArch64ISD", "::", "NEON_MVNIMM", ":", "return", "\"AArch64ISD::NEON_MVNIMM\"", ";", "case", "AArch64ISD", "::", "NEON_FMOVIMM", ":", "return", "\"AArch64ISD::NEON_FMOVIMM\"", ";", "case", "AArch64ISD", "::", "NEON_CMP", ":", "return", "\"AArch64ISD::NEON_CMP\"", ";", "case", "AArch64ISD", "::", "NEON_CMPZ", ":", "return", "\"AArch64ISD::NEON_CMPZ\"", ";", "case", "AArch64ISD", "::", "NEON_TST", ":", "return", "\"AArch64ISD::NEON_TST\"", ";", "case", "AArch64ISD", "::", "NEON_DUPIMM", ":", "return", "\"AArch64ISD::NEON_DUPIMM\"", ";", "case", "AArch64ISD", "::", "NEON_QSHLs", ":", "return", "\"AArch64ISD::NEON_QSHLs\"", ";", "case", "AArch64ISD", "::", "NEON_QSHLu", ":", "return", "\"AArch64ISD::NEON_QSHLu\"", ";", "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::WrapperLarge", "\"AArch64ISD::WrapperLarge\"", "AArch64ISD::WrapperSmall", "\"AArch64ISD::WrapperSmall\"", "AArch64ISD::NEON_BSL", "\"AArch64ISD::NEON_BSL\"", "AArch64ISD::NEON_MOVIMM", "\"AArch64ISD::NEON_MOVIMM\"", "AArch64ISD::NEON_MVNIMM", "\"AArch64ISD::NEON_MVNIMM\"", "AArch64ISD::NEON_FMOVIMM", "\"AArch64ISD::NEON_FMOVIMM\"", "AArch64ISD::NEON_CMP", "\"AArch64ISD::NEON_CMP\"", "AArch64ISD::NEON_CMPZ", "\"AArch64ISD::NEON_CMPZ\"", "AArch64ISD::NEON_TST", "\"AArch64ISD::NEON_TST\"", "AArch64ISD::NEON_DUPIMM", "\"AArch64ISD::NEON_DUPIMM\"", "AArch64ISD::NEON_QSHLs", "\"AArch64ISD::NEON_QSHLs\"", "AArch64ISD::NEON_QSHLu", "\"AArch64ISD::NEON_QSHLu\""], "File": "AArch64ISelLowering31", "Func": "getTargetNodeName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13376, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "getLargestLegalSuperClass", "(", "const", "TargetRegisterClass", "*", "RC", ")", "const", "override", "{", "if", "(", "RC", "==", "&", "AArch64", "::", "tcGPR64RegClass", ")", "return", "&", "AArch64", "::", "GPR64RegClass", ";", "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": ["AArch64", "AArch64::tcGPR64RegClass", "AArch64::GPR64RegClass"], "File": "AArch64RegisterInfo24", "Func": "getLargestLegalSuperClass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13377, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_darwin64_record_arg_advance_recurse", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "tree", "type", ",", "HOST_WIDE_INT", "startbitpos", ")", "{", "tree", "f", ";", "for", "(", "f", "=", "TYPE_FIELDS", "(", "type", ")", ";", "f", ";", "f", "=", "TREE_CHAIN", "(", "f", ")", ")", "if", "(", "TREE_CODE", "(", "f", ")", "==", "FIELD_DECL", ")", "{", "HOST_WIDE_INT", "bitpos", "=", "startbitpos", ";", "tree", "ftype", "=", "TREE_TYPE", "(", "f", ")", ";", "enum", "machine_mode", "mode", "=", "TYPE_MODE", "(", "ftype", ")", ";", "if", "(", "DECL_SIZE", "(", "f", ")", "!=", "0", "&&", "host_integerp", "(", "bit_position", "(", "f", ")", ",", "1", ")", ")", "bitpos", "+=", "int_bit_position", "(", "f", ")", ";", "if", "(", "TREE_CODE", "(", "ftype", ")", "==", "RECORD_TYPE", ")", "rs6000_darwin64_record_arg_advance_recurse", "(", "cum", ",", "ftype", ",", "bitpos", ")", ";", "else", "if", "(", "USE_FP_FOR_ARG_P", "(", "cum", ",", "mode", ",", "ftype", ")", ")", "{", "rs6000_darwin64_record_arg_advance_flush", "(", "cum", ",", "bitpos", ")", ";", "cum", "->", "fregno", "+=", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "7", ")", ">>", "3", ";", "cum", "->", "words", "+=", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "7", ")", ">>", "3", ";", "}", "else", "if", "(", "USE_ALTIVEC_FOR_ARG_P", "(", "cum", ",", "mode", ",", "type", ",", "1", ")", ")", "{", "rs6000_darwin64_record_arg_advance_flush", "(", "cum", ",", "bitpos", ")", ";", "cum", "->", "vregno", "++", ";", "cum", "->", "words", "+=", "2", ";", "}", "else", "if", "(", "cum", "->", "intoffset", "==", "-", "1", ")", "cum", "->", "intoffset", "=", "bitpos", ";", "}", "}", ""], "natrual_language": ["The", "darwin64", "ABI", "calls", "for", "us", "to", "recurse", "down", "through", "structs", ",", "looking", "for", "elements", "passed", "in", "registers", ".", "Unfortunately", ",", "we", "have", "to", "track", "int", "register", "count", "here", "also", "because", "of", "misalignments", "in", "powerpc", "alignment", "mode", "."], "TS_V_token": ["rs6000", "0", "1", "7", "3", "7", "3", "1", "2", "1"], "File": "rs60003", "Func": "rs6000_darwin64_record_arg_advance_recurse", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13378, "Length": 215, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_hard_regno_mode_ok_p", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "unsigned", "int", "size", ";", "enum", "mode_class", "mclass", ";", "if", "(", "mode", "==", "CCV2mode", ")", "return", "(", "ISA_HAS_8CC", "&&", "ST_REG_P", "(", "regno", ")", "&&", "(", "regno", "-", "ST_REG_FIRST", ")", "%", "2", "==", "0", ")", ";", "if", "(", "mode", "==", "CCV4mode", ")", "return", "(", "ISA_HAS_8CC", "&&", "ST_REG_P", "(", "regno", ")", "&&", "(", "regno", "-", "ST_REG_FIRST", ")", "%", "4", "==", "0", ")", ";", "if", "(", "mode", "==", "CCmode", ")", "return", "ISA_HAS_8CC", "?", "ST_REG_P", "(", "regno", ")", ":", "regno", "==", "FPSW_REGNUM", ";", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "mclass", "=", "GET_MODE_CLASS", "(", "mode", ")", ";", "if", "(", "GP_REG_P", "(", "regno", ")", "&&", "mode", "!=", "CCFmode", "&&", "!", "MSA_SUPPORTED_MODE_P", "(", "mode", ")", ")", "return", "(", "(", "regno", "-", "GP_REG_FIRST", ")", "&", "1", ")", "==", "0", "||", "size", "<=", "UNITS_PER_WORD", ";", "if", "(", "FP_REG_P", "(", "regno", ")", "&&", "MSA_SUPPORTED_MODE_P", "(", "mode", ")", ")", "return", "true", ";", "if", "(", "FP_REG_P", "(", "regno", ")", "&&", "(", "(", "(", "regno", "-", "FP_REG_FIRST", ")", "%", "MAX_FPRS_PER_FMT", ")", "==", "0", "||", "(", "MIN_FPRS_PER_FMT", "==", "1", "&&", "size", "<=", "UNITS_PER_FPREG", ")", ")", ")", "{", "if", "(", "TARGET_O32_FP64A_ABI", "&&", "size", "<=", "4", "&&", "(", "regno", "&", "1", ")", "!=", "0", ")", "return", "false", ";", "if", "(", "mode", "==", "CCFmode", ")", "return", "!", "(", "TARGET_FLOATXX", "&&", "(", "regno", "&", "1", ")", "!=", "0", ")", ";", "if", "(", "TARGET_LOONGSON_VECTORS", "&&", "(", "mode", "==", "V2SImode", "||", "mode", "==", "V4HImode", "||", "mode", "==", "V8QImode", "||", "mode", "==", "DImode", ")", ")", "return", "true", ";", "if", "(", "mclass", "==", "MODE_FLOAT", "||", "mclass", "==", "MODE_COMPLEX_FLOAT", "||", "mclass", "==", "MODE_VECTOR_FLOAT", ")", "return", "size", "<=", "UNITS_PER_FPVALUE", ";", "if", "(", "mclass", "==", "MODE_INT", ")", "return", "size", ">=", "MIN_UNITS_PER_WORD", "&&", "size", "<=", "UNITS_PER_FPREG", ";", "}", "if", "(", "ACC_REG_P", "(", "regno", ")", "&&", "!", "VECTOR_MODE_P", "(", "mode", ")", "&&", "(", "INTEGRAL_MODE_P", "(", "mode", ")", "||", "ALL_FIXED_POINT_MODE_P", "(", "mode", ")", ")", ")", "{", "if", "(", "MD_REG_P", "(", "regno", ")", ")", "{", "if", "(", "size", "<=", "UNITS_PER_WORD", "*", "2", ")", "return", "regno", "==", "(", "size", "<=", "UNITS_PER_WORD", "?", "LO_REGNUM", ":", "MD_REG_FIRST", ")", ";", "}", "else", "{", "if", "(", "size", "<=", "UNITS_PER_WORD", ")", "return", "true", ";", "if", "(", "size", "<=", "UNITS_PER_WORD", "*", "2", "&&", "(", "(", "regno", "-", "DSP_ACC_REG_FIRST", ")", "&", "1", ")", "==", "0", ")", "return", "true", ";", "}", "}", "if", "(", "ALL_COP_REG_P", "(", "regno", ")", ")", "return", "mclass", "==", "MODE_INT", "&&", "size", "<=", "UNITS_PER_WORD", ";", "if", "(", "regno", "==", "GOT_VERSION_REGNUM", ")", "return", "mode", "==", "SImode", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "register", "REGNO", "can", "store", "a", "value", "of", "mode", "MODE", ".", "The", "result", "of", "this", "function", "is", "cached", "in", "mips_hard_regno_mode_ok", "."], "TS_V_token": ["mips", "2", "0", "4", "0", "1", "0", "0", "1", "4", "1", "0", "1", "0", "2", "2", "1", "0"], "File": "mips6", "Func": "mips_hard_regno_mode_ok_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13379, "Length": 407, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_truncdf_32", "(", "rtx", "operand0", ",", "rtx", "operand1", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "operand0", ")", ";", "rtx", "xa", ",", "xa2", ",", "TWO52", ",", "tmp", ",", "one", ",", "res", ",", "mask", ";", "rtx_code_label", "*", "label", ";", "TWO52", "=", "ix86_gen_TWO52", "(", "mode", ")", ";", "res", "=", "copy_to_reg", "(", "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", ")", ";", "one", "=", "force_reg", "(", "mode", ",", "const_double_from_real_value", "(", "dconst1", ",", "mode", ")", ")", ";", "tmp", "=", "ix86_expand_sse_compare_mask", "(", "UNGT", ",", "xa2", ",", "xa", ",", "false", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "tmp", ",", "gen_rtx_AND", "(", "mode", ",", "one", ",", "tmp", ")", ")", ")", ";", "tmp", "=", "expand_simple_binop", "(", "mode", ",", "MINUS", ",", "xa2", ",", "tmp", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "if", "(", "HONOR_SIGNED_ZEROS", "(", "mode", ")", "&&", "flag_rounding_math", ")", "tmp", "=", "ix86_expand_sse_fabs", "(", "tmp", ",", "NULL", ")", ";", "ix86_sse_copysign_to_positive", "(", "res", ",", "tmp", ",", "res", ",", "mask", ")", ";", "emit_label", "(", "label", ")", ";", "LABEL_NUSES", "(", "label", ")", "=", "1", ";", "emit_move_insn", "(", "operand0", ",", "res", ")", ";", "}", ""], "natrual_language": ["Expand", "SSE", "sequence", "for", "computing", "trunc", "from", "OPERAND1", "storing", "into", "OPERAND0", "."], "TS_V_token": ["i386", "0", "0", "0", "1"], "File": "i386-expand", "Func": "ix86_expand_truncdf_32", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13380, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CJGFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", ")", "const", "{", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "int", "FrameIdx", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "CreateFixedObject", "(", "4", ",", "-", "4", ",", "true", ")", ";", "(", "void", ")", "FrameIdx", ";", "assert", "(", "FrameIdx", "==", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectIndexBegin", "(", ")", "&&", "\"Slot for FP 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": ["CJG", "CJG", "4", "4", "\"Slot for FP register must be last in order to be found!\""], "File": "CJGFrameLowering", "Func": "processFunctionBeforeFrameFinalized", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13381, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_function_value", "(", "const_tree", "valtype", ",", "const_tree", "fn_decl_or_type", ",", "bool", "outgoing", "ATTRIBUTE_UNUSED", ")", "{", "return", "mips_function_value_1", "(", "valtype", ",", "fn_decl_or_type", ",", "VOIDmode", ")", ";", "}", ""], "natrual_language": ["Implement", "FUNCTION_VALUE", "and", "LIBCALL_VALUE", ".", "For", "normal", "calls", ",", "VALTYPE", "is", "the", "return", "type", "and", "MODE", "is", "VOIDmode", ".", "For", "libcalls", ",", "VALTYPE", "is", "null", "and", "MODE", "is", "the", "mode", "of", "the", "return", "value", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_function_value", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13382, "Length": 26, "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", ";", "for", "(", "i", "=", "2", ";", "i", "<=", "copies", ";", "i", "*=", "2", ")", "{", "HOST_WIDE_INT", "small_val", ";", "bitsize", "/=", "2", ";", "small_val", "=", "splat_val", ">>", "bitsize", ";", "mask", ">>=", "bitsize", ";", "if", "(", "splat_val", "!=", "(", "(", "small_val", "<<", "bitsize", ")", "|", "(", "small_val", "&", "mask", ")", ")", ")", "return", "false", ";", "splat_val", "=", "small_val", ";", "}", "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", ")", ")", ";", "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", "2", "2", "2", "0", "1", "1", "1", "1", "1", "0"], "File": "rs60004", "Func": "vspltis_constant", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13383, "Length": 297, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "aarch64_simd_attr_length_rglist", "(", "enum", "machine_mode", "mode", ")", "{", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "/", "UNITS_PER_VREG", ")", "*", "4", ";", "}", ""], "natrual_language": ["Compute", "and", "return", "the", "length", "of", "aarch64_simd_reglist", "<", "mode", ">", ",", "where", "<", "mode", ">", "is", "one", "of", "VSTRUCT", "modes", ":", "OI", ",", "CI", ",", "EI", ",", "or", "XI", "."], "TS_V_token": ["aarch64", "4"], "File": "aarch642", "Func": "aarch64_simd_attr_length_rglist", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13384, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "const", "TargetMachine", "&", "TM", "=", "getTargetMachine", "(", ")", ";", "SDLoc", "dl", "(", "N", ")", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Do not know how to custom type legalize this operation!\"", ")", ";", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "{", "if", "(", "cast", "<", "ConstantSDNode", ">", "(", "N", "->", "getOperand", "(", "1", ")", ")", "->", "getZExtValue", "(", ")", "!=", "Intrinsic", "::", "ppc_is_decremented_ctr_nonzero", ")", "break", ";", "assert", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i1", "&&", "\"Unexpected result type for CTR decrement intrinsic\"", ")", ";", "EVT", "SVT", "=", "getSetCCResultType", "(", "*", "DAG", ".", "getContext", "(", ")", ",", "N", "->", "getValueType", "(", "0", ")", ")", ";", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "SVT", ",", "MVT", "::", "Other", ")", ";", "SDValue", "NewInt", "=", "DAG", ".", "getNode", "(", "N", "->", "getOpcode", "(", ")", ",", "dl", ",", "VTs", ",", "N", "->", "getOperand", "(", "0", ")", ",", "N", "->", "getOperand", "(", "1", ")", ")", ";", "Results", ".", "push_back", "(", "NewInt", ")", ";", "Results", ".", "push_back", "(", "NewInt", ".", "getValue", "(", "1", ")", ")", ";", "break", ";", "}", "case", "ISD", "::", "VAARG", ":", "{", "if", "(", "!", "TM", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "isSVR4ABI", "(", ")", "||", "TM", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "isPPC64", "(", ")", ")", "return", ";", "EVT", "VT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "if", "(", "VT", "==", "MVT", "::", "i64", ")", "{", "SDValue", "NewNode", "=", "LowerVAARG", "(", "SDValue", "(", "N", ",", "1", ")", ",", "DAG", ",", "PPCSubTarget", ")", ";", "Results", ".", "push_back", "(", "NewNode", ")", ";", "Results", ".", "push_back", "(", "NewNode", ".", "getValue", "(", "1", ")", ")", ";", "}", "return", ";", "}", "case", "ISD", "::", "FP_ROUND_INREG", ":", "{", "assert", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "ppcf128", ")", ";", "assert", "(", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", "==", "MVT", "::", "ppcf128", ")", ";", "SDValue", "Lo", "=", "DAG", ".", "getNode", "(", "ISD", "::", "EXTRACT_ELEMENT", ",", "dl", ",", "MVT", "::", "f64", ",", "N", "->", "getOperand", "(", "0", ")", ",", "DAG", ".", "getIntPtrConstant", "(", "0", ")", ")", ";", "SDValue", "Hi", "=", "DAG", ".", "getNode", "(", "ISD", "::", "EXTRACT_ELEMENT", ",", "dl", ",", "MVT", "::", "f64", ",", "N", "->", "getOperand", "(", "0", ")", ",", "DAG", ".", "getIntPtrConstant", "(", "1", ")", ")", ";", "SDValue", "FPreg", "=", "DAG", ".", "getNode", "(", "PPCISD", "::", "FADDRTZ", ",", "dl", ",", "MVT", "::", "f64", ",", "Lo", ",", "Hi", ")", ";", "Results", ".", "push_back", "(", "DAG", ".", "getNode", "(", "ISD", "::", "BUILD_PAIR", ",", "dl", ",", "MVT", "::", "ppcf128", ",", "FPreg", ",", "FPreg", ")", ")", ";", "return", ";", "}", "case", "ISD", "::", "FP_TO_SINT", ":", "Results", ".", "push_back", "(", "LowerFP_TO_INT", "(", "SDValue", "(", "N", ",", "0", ")", ",", "DAG", ",", "dl", ")", ")", ";", "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": ["PowerPC", "PPC", "\"Do not know how to custom type legalize this operation!\"", "ISD::INTRINSIC_W_CHAIN", "1", "Intrinsic::ppc_is_decremented_ctr_nonzero", "0", "MVT::i1", "\"Unexpected result type for CTR decrement intrinsic\"", "0", "MVT::Other", "0", "1", "1", "ISD::VAARG", "PPC", "PPC", "PPC", "0", "MVT::i64", "1", "PPC", "1", "ISD::FP_ROUND_INREG", "0", "MVT::ppcf128", "0", "MVT::ppcf128", "ISD::EXTRACT_ELEMENT", "MVT::f64", "0", "0", "ISD::EXTRACT_ELEMENT", "MVT::f64", "0", "1", "PPCISD::FADDRTZ", "MVT::f64", "ISD::BUILD_PAIR", "MVT::ppcf128", "ISD::FP_TO_SINT", "0"], "File": "PPCISelLowering173", "Func": "ReplaceNodeResults", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13385, "Length": 463, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_bti_j_insn_p", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "!", "insn", "||", "!", "INSN_P", "(", "insn", ")", ")", "return", "false", ";", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "return", "GET_CODE", "(", "pat", ")", "==", "UNSPEC_VOLATILE", "&&", "XINT", "(", "pat", ",", "1", ")", "==", "UNSPECV_BTI_J", ";", "}", ""], "natrual_language": ["Check", "if", "INSN", "is", "a", "BTI", "J", "insn", "."], "TS_V_token": ["aarch64", "1"], "File": "aarch64-bti-insert", "Func": "aarch64_bti_j_insn_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13386, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "X86Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "const", "X86RegisterInfo", "&", "RegInfo", "=", "*", "STI", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "StackPtr", "=", "RegInfo", ".", "getStackRegister", "(", ")", ";", "bool", "reserveCallFrame", "=", "hasReservedCallFrame", "(", "MF", ")", ";", "int", "Opcode", "=", "I", "->", "getOpcode", "(", ")", ";", "bool", "isDestroy", "=", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ";", "bool", "IsLP64", "=", "STI", ".", "isTarget64BitLP64", "(", ")", ";", "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", ")", ";", "MachineInstr", "*", "New", "=", "nullptr", ";", "Amount", "-=", "InternalAmt", ";", "if", "(", "Amount", ")", "{", "if", "(", "Opcode", "==", "TII", ".", "getCallFrameSetupOpcode", "(", ")", ")", "{", "New", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "getSUBriOpcode", "(", "IsLP64", ",", "Amount", ")", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ")", ";", "unsigned", "Opc", "=", "getADDriOpcode", "(", "IsLP64", ",", "Amount", ")", ";", "New", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "}", "if", "(", "New", ")", "{", "New", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "return", ";", "}", "if", "(", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", "&&", "InternalAmt", ")", "{", "unsigned", "Opc", "=", "getSUBriOpcode", "(", "IsLP64", ",", "InternalAmt", ")", ";", "MachineInstr", "*", "New", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "InternalAmt", ")", ";", "New", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "B", "=", "MBB", ".", "begin", "(", ")", ";", "while", "(", "I", "!=", "B", "&&", "!", "std", "::", "prev", "(", "I", ")", "->", "isCall", "(", ")", ")", "--", "I", ";", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "}", ""], "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", "X86", "X86", "X86", "0", "0", "1", "0", "0", "3", "3"], "File": "X86FrameLowering48", "Func": "eliminateCallFramePseudoInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13387, "Length": 442, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "const", "AArch64InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "int", "Opcode", "=", "MI", "->", "getOpcode", "(", ")", ";", "bool", "IsDestroy", "=", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ";", "uint64_t", "CalleePopAmount", "=", "IsDestroy", "?", "MI", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ":", "0", ";", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "unsigned", "Align", "=", "getStackAlignment", "(", ")", ";", "int64_t", "Amount", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "Amount", "=", "RoundUpToAlignment", "(", "Amount", ",", "Align", ")", ";", "if", "(", "!", "IsDestroy", ")", "Amount", "=", "-", "Amount", ";", "if", "(", "CalleePopAmount", "==", "0", ")", "{", "assert", "(", "Amount", ">", "-", "0xfff", "&&", "Amount", "<", "0xfff", "&&", "\"call frame too large\"", ")", ";", "emitSPUpdate", "(", "MBB", ",", "MI", ",", "dl", ",", "TII", ",", "AArch64", "::", "NoRegister", ",", "Amount", ")", ";", "}", "}", "else", "if", "(", "CalleePopAmount", "!=", "0", ")", "{", "assert", "(", "CalleePopAmount", "<", "0xfff", "&&", "\"call frame too large\"", ")", ";", "emitSPUpdate", "(", "MBB", ",", "MI", ",", "dl", ",", "TII", ",", "AArch64", "::", "NoRegister", ",", "-", "CalleePopAmount", ")", ";", "}", "MBB", ".", "erase", "(", "MI", ")", ";", "}", ""], "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": ["AArch64", "AArch64", "AArch64", "AArch64", "1", "0", "0", "0", "0xfff", "0xfff", "\"call frame too large\"", "AArch64::NoRegister", "0", "0xfff", "\"call frame too large\"", "AArch64::NoRegister"], "File": "AArch64FrameLowering1", "Func": "eliminateCallFramePseudoInstr", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13388, "Length": 224, "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": 13389, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmBackend", "::", "shouldForceRelocation", "(", "const", "MCAssembler", "&", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", ")", "{", "return", "Fixup", ".", "getKind", "(", ")", "==", "FK_NONE", ";", "}", ""], "natrual_language": ["Hook", "to", "check", "if", "a", "relocation", "is", "needed", "for", "some", "target", "specific", "reason", "."], "TS_V_token": ["X86", "X86"], "File": "X86AsmBackend (2)2", "Func": "shouldForceRelocation", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13390, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "X86TargetLowering", "::", "getExceptionPointerRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "{", "if", "(", "classifyEHPersonality", "(", "PersonalityFn", ")", "==", "EHPersonality", "::", "CoreCLR", ")", "return", "Subtarget", ".", "isTarget64BitLP64", "(", ")", "?", "X86", "::", "RDX", ":", "X86", "::", "EDX", ";", "return", "Subtarget", ".", "isTarget64BitLP64", "(", ")", "?", "X86", "::", "RAX", ":", "X86", "::", "EAX", ";", "}", ""], "natrual_language": ["If", "a", "physical", "register", ",", "this", "returns", "the", "register", "that", "receives", "the", "exception", "address", "on", "entry", "to", "an", "EH", "pad", "."], "TS_V_token": ["X86", "X86", "X86::RDX", "X86::EDX", "X86::RAX", "X86::EAX"], "File": "X86ISelLowering (2)5", "Func": "getExceptionPointerRegister", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13391, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "ARMTargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "IsMemset", ",", "bool", "ZeroMemset", ",", "bool", "MemcpyStrSrc", ",", "const", "AttributeList", "&", "FuncAttributes", ")", "const", "{", "if", "(", "(", "!", "IsMemset", "||", "ZeroMemset", ")", "&&", "Subtarget", "->", "hasNEON", "(", ")", "&&", "!", "FuncAttributes", ".", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ")", "{", "bool", "Fast", ";", "if", "(", "Size", ">=", "16", "&&", "(", "memOpAlign", "(", "SrcAlign", ",", "DstAlign", ",", "16", ")", "||", "(", "allowsMisalignedMemoryAccesses", "(", "MVT", "::", "v2f64", ",", "0", ",", "1", ",", "&", "Fast", ")", "&&", "Fast", ")", ")", ")", "{", "return", "MVT", "::", "v2f64", ";", "}", "else", "if", "(", "Size", ">=", "8", "&&", "(", "memOpAlign", "(", "SrcAlign", ",", "DstAlign", ",", "8", ")", "||", "(", "allowsMisalignedMemoryAccesses", "(", "MVT", "::", "f64", ",", "0", ",", "1", ",", "&", "Fast", ")", "&&", "Fast", ")", ")", ")", "{", "return", "MVT", "::", "f64", ";", "}", "}", "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", "0", "1", "MVT::v2f64", "8", "8", "MVT::f64", "0", "1", "MVT::f64", "MVT::Other"], "File": "ARMISelLowering122", "Func": "getOptimalMemOpType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13392, "Length": 151, "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": ["X86"], "File": "X86Subtarget104", "Func": "getDataLayout", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13393, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CCAssignFn", "*", "MipsTargetLowering", "::", "CCAssignFnForReturn", "(", ")", "const", "{", "return", "RetCC_Mips", ";", "}", ""], "natrual_language": ["Selects", "the", "correct", "CCAssignFn", "for", "a", "given", "CallingConvention", "value", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsISelLowering (2)4", "Func": "CCAssignFnForReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13394, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmPrinter", "::", "emitStartOfAsmFile", "(", "Module", "&", "M", ")", "{", "const", "Triple", "&", "TT", "=", "TM", ".", "getTargetTriple", "(", ")", ";", "if", "(", "TT", ".", "isOSBinFormatELF", "(", ")", ")", "{", "unsigned", "FeatureFlagsAnd", "=", "0", ";", "if", "(", "M", ".", "getModuleFlag", "(", "\"cf-protection-branch\"", ")", ")", "FeatureFlagsAnd", "|=", "ELF", "::", "GNU_PROPERTY_X86_FEATURE_1_IBT", ";", "if", "(", "M", ".", "getModuleFlag", "(", "\"cf-protection-return\"", ")", ")", "FeatureFlagsAnd", "|=", "ELF", "::", "GNU_PROPERTY_X86_FEATURE_1_SHSTK", ";", "if", "(", "FeatureFlagsAnd", ")", "{", "if", "(", "!", "TT", ".", "isArch32Bit", "(", ")", "&&", "!", "TT", ".", "isArch64Bit", "(", ")", ")", "llvm_unreachable", "(", "\"CFProtection used on invalid architecture!\"", ")", ";", "MCSection", "*", "Cur", "=", "OutStreamer", "->", "getCurrentSectionOnly", "(", ")", ";", "MCSection", "*", "Nt", "=", "MMI", "->", "getContext", "(", ")", ".", "getELFSection", "(", "\".note.gnu.property\"", ",", "ELF", "::", "SHT_NOTE", ",", "ELF", "::", "SHF_ALLOC", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "Nt", ")", ";", "const", "int", "WordSize", "=", "TT", ".", "isArch64Bit", "(", ")", "&&", "!", "TT", ".", "isX32", "(", ")", "?", "8", ":", "4", ";", "emitAlignment", "(", "WordSize", "==", "4", "?", "Align", "(", "4", ")", ":", "Align", "(", "8", ")", ")", ";", "OutStreamer", "->", "emitIntValue", "(", "4", ",", "4", ")", ";", "OutStreamer", "->", "emitIntValue", "(", "8", "+", "WordSize", ",", "4", ")", ";", "OutStreamer", "->", "emitIntValue", "(", "ELF", "::", "NT_GNU_PROPERTY_TYPE_0", ",", "4", ")", ";", "OutStreamer", "->", "emitBytes", "(", "StringRef", "(", "\"GNU\"", ",", "4", ")", ")", ";", "OutStreamer", "->", "emitInt32", "(", "ELF", "::", "GNU_PROPERTY_X86_FEATURE_1_AND", ")", ";", "OutStreamer", "->", "emitInt32", "(", "4", ")", ";", "OutStreamer", "->", "emitInt32", "(", "FeatureFlagsAnd", ")", ";", "emitAlignment", "(", "WordSize", "==", "4", "?", "Align", "(", "4", ")", ":", "Align", "(", "8", ")", ")", ";", "OutStreamer", "->", "endSection", "(", "Nt", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "Cur", ")", ";", "}", "}", "if", "(", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "OutStreamer", "->", "SwitchSection", "(", "getObjFileLowering", "(", ")", ".", "getTextSection", "(", ")", ")", ";", "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", "(", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86", ")", "{", "Feat00Flags", "|=", "1", ";", "}", "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", "(", ")", ")", ")", ";", "}", "OutStreamer", "->", "emitSyntaxDirective", "(", ")", ";", "bool", "is16", "=", "TT", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "CODE16", ";", "if", "(", "M", ".", "getModuleInlineAsm", "(", ")", ".", "empty", "(", ")", "&&", "is16", ")", "OutStreamer", "->", "emitAssemblerFlag", "(", "MCAF_Code16", ")", ";", "}", ""], "natrual_language": ["This", "virtual", "method", "can", "be", "overridden", "by", "targets", "that", "want", "to", "emit", "something", "at", "the", "start", "of", "their", "file", "."], "TS_V_token": ["X86", "X86", "0", "\"cf-protection-branch\"", "X86", "\"cf-protection-return\"", "X86", "\"CFProtection used on invalid architecture!\"", "\".note.gnu.property\"", "8", "4", "4", "4", "8", "4", "4", "8", "4", "4", "\"GNU\"", "4", "X86", "4", "4", "4", "8", "\"@feat.00\"", "0", "1", "\"cfguard\"", "0x800", "\"ehcontguard\"", "0x4000"], "File": "X86AsmPrinter50", "Func": "emitStartOfAsmFile", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13395, "Length": 471, "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": ["TOY"], "File": "TOYAsmBackend", "Func": "mayNeedRelaxation", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13396, "Length": 14, "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": 13397, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64DeadRegisterDefinitions", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** AArch64DeadRegisterDefinitions *****\\n\"", ")", ";", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "if", "(", "processMachineBasicBlock", "(", "MBB", ")", ")", "Changed", "=", "true", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"***** AArch64DeadRegisterDefinitions *****\\n\""], "File": "AArch64DeadRegisterDefinitionsPass14", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13398, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "chain_already_loaded", "(", "rtx_insn", "*", "last", ")", "{", "for", "(", ";", "last", "!=", "NULL", ";", "last", "=", "PREV_INSN", "(", "last", ")", ")", "{", "if", "(", "NONJUMP_INSN_P", "(", "last", ")", ")", "{", "rtx", "patt", "=", "PATTERN", "(", "last", ")", ";", "if", "(", "GET_CODE", "(", "patt", ")", "==", "SET", ")", "{", "rtx", "lhs", "=", "XEXP", "(", "patt", ",", "0", ")", ";", "if", "(", "REG_P", "(", "lhs", ")", "&&", "REGNO", "(", "lhs", ")", "==", "STATIC_CHAIN_REGNUM", ")", "return", "true", ";", "}", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "TRUE", "iff", "the", "sequence", "ending", "in", "LAST", "sets", "the", "static", "chain", "."], "TS_V_token": ["rs6000", "0"], "File": "rs6000", "Func": "chain_already_loaded", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13399, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "sh_register_move_cost", "(", "enum", "machine_mode", "mode", ",", "enum", "reg_class", "srcclass", ",", "enum", "reg_class", "dstclass", ")", "{", "if", "(", "dstclass", "==", "T_REGS", "||", "dstclass", "==", "PR_REGS", ")", "return", "10", ";", "if", "(", "dstclass", "==", "MAC_REGS", "&&", "srcclass", "==", "MAC_REGS", ")", "return", "4", ";", "if", "(", "mode", "==", "SImode", "&&", "!", "TARGET_SHMEDIA", "&&", "TARGET_FMOVD", "&&", "REGCLASS_HAS_FP_REG", "(", "srcclass", ")", "&&", "REGCLASS_HAS_FP_REG", "(", "dstclass", ")", ")", "return", "4", ";", "if", "(", "REGCLASS_HAS_FP_REG", "(", "dstclass", ")", "&&", "srcclass", "==", "T_REGS", ")", "return", "(", "(", "TARGET_HARD_SH4", "&&", "!", "optimize_size", ")", "?", "10", ":", "7", ")", ";", "if", "(", "(", "REGCLASS_HAS_FP_REG", "(", "dstclass", ")", "&&", "srcclass", "==", "MAC_REGS", ")", "||", "(", "dstclass", "==", "MAC_REGS", "&&", "REGCLASS_HAS_FP_REG", "(", "srcclass", ")", ")", ")", "return", "9", ";", "if", "(", "(", "REGCLASS_HAS_FP_REG", "(", "dstclass", ")", "&&", "REGCLASS_HAS_GENERAL_REG", "(", "srcclass", ")", ")", "||", "(", "REGCLASS_HAS_GENERAL_REG", "(", "dstclass", ")", "&&", "REGCLASS_HAS_FP_REG", "(", "srcclass", ")", ")", ")", "return", "(", "(", "TARGET_SHMEDIA", "?", "4", ":", "TARGET_FMOVD", "?", "8", ":", "12", ")", "*", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "7", ")", "/", "8U", ")", ")", ";", "if", "(", "(", "dstclass", "==", "FPUL_REGS", "&&", "REGCLASS_HAS_GENERAL_REG", "(", "srcclass", ")", ")", "||", "(", "srcclass", "==", "FPUL_REGS", "&&", "REGCLASS_HAS_GENERAL_REG", "(", "dstclass", ")", ")", ")", "return", "5", ";", "if", "(", "(", "dstclass", "==", "FPUL_REGS", "&&", "(", "srcclass", "==", "PR_REGS", "||", "srcclass", "==", "MAC_REGS", "||", "srcclass", "==", "T_REGS", ")", ")", "||", "(", "srcclass", "==", "FPUL_REGS", "&&", "(", "dstclass", "==", "PR_REGS", "||", "dstclass", "==", "MAC_REGS", ")", ")", ")", "return", "7", ";", "if", "(", "(", "srcclass", "==", "TARGET_REGS", "&&", "!", "REGCLASS_HAS_GENERAL_REG", "(", "dstclass", ")", ")", "||", "(", "(", "dstclass", ")", "==", "TARGET_REGS", "&&", "!", "REGCLASS_HAS_GENERAL_REG", "(", "srcclass", ")", ")", ")", "return", "20", ";", "if", "(", "TARGET_SHMEDIA", "&&", "(", "(", "srcclass", ")", "==", "TARGET_REGS", "||", "(", "srcclass", ")", "==", "SIBCALL_REGS", ")", ")", "{", "if", "(", "sh_gettrcost", ">=", "0", ")", "return", "sh_gettrcost", ";", "else", "if", "(", "!", "TARGET_PT_FIXED", ")", "return", "100", ";", "}", "if", "(", "(", "srcclass", "==", "FPSCR_REGS", "&&", "!", "REGCLASS_HAS_GENERAL_REG", "(", "dstclass", ")", ")", "||", "(", "dstclass", "==", "FPSCR_REGS", "&&", "!", "REGCLASS_HAS_GENERAL_REG", "(", "srcclass", ")", ")", ")", "return", "4", ";", "if", "(", "TARGET_SHMEDIA", "||", "(", "TARGET_FMOVD", "&&", "!", "REGCLASS_HAS_GENERAL_REG", "(", "srcclass", ")", "&&", "!", "REGCLASS_HAS_GENERAL_REG", "(", "dstclass", ")", ")", ")", "return", "2", "*", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "7", ")", "/", "8U", ")", ";", "return", "2", "*", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "3", ")", "/", "4U", ")", ";", "}", ""], "natrual_language": ["If", "SECONDARY", "*", "_RELOAD_CLASS", "says", "something", "about", "the", "src/dst", "pair", ",", "regclass", "uses", "this", "information", ".", "Hence", ",", "the", "general", "register", "<", "-", ">", "floating", "point", "register", "information", "here", "is", "not", "used", "for", "SFmode", "."], "TS_V_token": ["sh", "10", "4", "4", "10", "7", "9", "4", "8", "12", "7", "8U", "5", "7", "20", "0", "100", "4", "2", "7", "8U", "2", "3", "4U"], "File": "sh3", "Func": "sh_register_move_cost", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13400, "Length": 391, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "Cpu0TargetLowering", "*", "Cpu0TargetLowering", "::", "create", "(", "const", "Cpu0TargetMachine", "&", "TM", ",", "const", "Cpu0Subtarget", "&", "STI", ")", "{", "return", "llvm", "::", "createCpu0SETargetLowering", "(", "TM", ",", "STI", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0"], "File": "Cpu0ISelLowering", "Func": "create", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13401, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "convert_int_to_float128", "(", "rtx", "*", "operands", ",", "enum", "rtx_code", "code", ")", "{", "rtx", "dest", "=", "operands", "[", "0", "]", ";", "rtx", "src", "=", "operands", "[", "1", "]", ";", "rtx", "tmp", "=", "operands", "[", "2", "]", ";", "rtx", "cvt", ";", "rtvec", "cvt_vec", ";", "rtx", "cvt_unspec", ";", "rtvec", "move_vec", ";", "rtx", "move_unspec", ";", "rtx", "unsigned_flag", ";", "if", "(", "GET_CODE", "(", "tmp", ")", "==", "SCRATCH", ")", "tmp", "=", "gen_reg_rtx", "(", "V2DImode", ")", ";", "if", "(", "MEM_P", "(", "src", ")", ")", "src", "=", "rs6000_address_for_fpconvert", "(", "src", ")", ";", "if", "(", "GET_MODE", "(", "src", ")", "==", "SImode", ")", "{", "unsigned_flag", "=", "(", "code", "==", "UNSIGNED_FLOAT", ")", "?", "const1_rtx", ":", "const0_rtx", ";", "move_vec", "=", "gen_rtvec", "(", "2", ",", "src", ",", "unsigned_flag", ")", ";", "}", "else", "move_vec", "=", "gen_rtvec", "(", "1", ",", "src", ")", ";", "move_unspec", "=", "gen_rtx_UNSPEC", "(", "V2DImode", ",", "move_vec", ",", "UNSPEC_IEEE128_MOVE", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "tmp", ",", "move_unspec", ")", ")", ";", "cvt_vec", "=", "gen_rtvec", "(", "1", ",", "tmp", ")", ";", "cvt_unspec", "=", "gen_rtx_UNSPEC", "(", "DImode", ",", "cvt_vec", ",", "UNSPEC_IEEE128_CONVERT", ")", ";", "cvt", "=", "gen_rtx_fmt_e", "(", "code", ",", "GET_MODE", "(", "dest", ")", ",", "cvt_unspec", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "cvt", ")", ")", ";", "}", ""], "natrual_language": ["Split", "a", "conversion", "from", "an", "integer", "type", "to", "__float128", "into", "separate", "insns", ".", "OPERANDS", "points", "to", "the", "destination", ",", "source", ",", "and", "V2DI", "temporary", "register", ".", "CODE", "is", "either", "FLOAT", "or", "UNSIGNED_FLOAT", "."], "TS_V_token": ["rs6000", "0", "1", "2", "2", "1", "1"], "File": "rs60005", "Func": "convert_int_to_float128", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13402, "Length": 194, "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": "ARMBaseInstrInfo120", "Func": "getExecutionDomain", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13403, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCRegisterInfo", "::", "resolveFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "I", ";", "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", ")", ";", "}", ""], "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 (2)", "Func": "resolveFrameIndex", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13404, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_array_mode_supported_p", "(", "machine_mode", "mode", ",", "unsigned", "HOST_WIDE_INT", "nelems", ")", "{", "if", "(", "TARGET_SIMD", "&&", "AARCH64_VALID_SIMD_QREG_MODE", "(", "mode", ")", "&&", "(", "nelems", ">=", "2", "&&", "nelems", "<=", "4", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "target", "hook", "TARGET_ARRAY_MODE_SUPPORTED_P", "."], "TS_V_token": ["aarch64", "2", "4"], "File": "aarch642", "Func": "aarch64_array_mode_supported_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13405, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CAHPAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "Operands", ".", "push_back", "(", "CAHPOperand", "::", "createToken", "(", "Name", ",", "NameLoc", ")", ")", ";", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "return", "false", ";", "if", "(", "parseOperand", "(", "Operands", ")", ")", "return", "true", ";", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "getLexer", "(", ")", ".", "Lex", "(", ")", ";", "if", "(", "parseOperand", "(", "Operands", ")", ")", "return", "true", ";", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "getParser", "(", ")", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token\"", ")", ";", "}", "getParser", "(", ")", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["CAHP", "CAHP", "CAHPOperand::createToken", "\"unexpected token\""], "File": "CAHPAsmParser", "Func": "ParseInstruction", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13406, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "loongarch_subword", "(", "rtx", "op", ",", "bool", "high_p", ")", "{", "unsigned", "int", "byte", ";", "machine_mode", "mode", ";", "byte", "=", "high_p", "?", "UNITS_PER_WORD", ":", "0", ";", "mode", "=", "GET_MODE", "(", "op", ")", ";", "if", "(", "mode", "==", "VOIDmode", ")", "mode", "=", "TARGET_64BIT", "?", "TImode", ":", "DImode", ";", "if", "(", "FP_REG_RTX_P", "(", "op", ")", ")", "return", "gen_rtx_REG", "(", "word_mode", ",", "REGNO", "(", "op", ")", "+", "high_p", ")", ";", "if", "(", "MEM_P", "(", "op", ")", ")", "return", "loongarch_rewrite_small_data", "(", "adjust_address", "(", "op", ",", "word_mode", ",", "byte", ")", ")", ";", "return", "simplify_gen_subreg", "(", "word_mode", ",", "op", ",", "mode", ",", "byte", ")", ";", "}", ""], "natrual_language": ["Return", "one", "word", "of", "double-word", "value", "OP", ",", "taking", "into", "account", "the", "fixed", "endianness", "of", "certain", "registers", ".", "HIGH_P", "is", "true", "to", "select", "the", "high", "part", ",", "false", "to", "select", "the", "low", "part", "."], "TS_V_token": ["loongarch", "0"], "File": "loongarch", "Func": "loongarch_subword", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13407, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LC3bTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "SDLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "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": ["LC3b", "LC3b", "ISD::InputArg"], "File": "LC3bISelLowering", "Func": "LowerFormalArguments", "Target": "LC3b", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13408, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "isUnpredicatedTerminator", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "const", "TargetInstrDesc", "&", "TID", "=", "MI", "->", "getDesc", "(", ")", ";", "if", "(", "!", "TID", ".", "isTerminator", "(", ")", ")", "return", "false", ";", "if", "(", "TID", ".", "isBranch", "(", ")", "&&", "!", "TID", ".", "isBarrier", "(", ")", ")", "return", "true", ";", "if", "(", "!", "TID", ".", "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": ["SystemZ", "SystemZ"], "File": "SystemZInstrInfo25", "Func": "isUnpredicatedTerminator", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13409, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSEInstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", "->", "getParent", "(", ")", ";", "switch", "(", "MI", "->", "getDesc", "(", ")", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Mips", "::", "RetRA", ":", "ExpandRetRA", "(", "MBB", ",", "MI", ",", "Mips", "::", "RET", ")", ";", "break", ";", "case", "Mips", "::", "BuildPairF64", ":", "ExpandBuildPairF64", "(", "MBB", ",", "MI", ")", ";", "break", ";", "case", "Mips", "::", "ExtractElementF64", ":", "ExpandExtractElementF64", "(", "MBB", ",", "MI", ")", ";", "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::RetRA", "Mips::RET", "Mips::BuildPairF64", "Mips::ExtractElementF64", "Mips::MIPSeh_return32", "Mips::MIPSeh_return64"], "File": "MipsSEInstrInfo1", "Func": "expandPostRAPseudo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13410, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "&", "SrcReg", ",", "unsigned", "&", "SrcReg2", ",", "int", "&", "CmpMask", ",", "int", "&", "CmpValue", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "X86", "::", "CMP64ri32", ":", "case", "X86", "::", "CMP64ri8", ":", "case", "X86", "::", "CMP32ri", ":", "case", "X86", "::", "CMP32ri8", ":", "case", "X86", "::", "CMP16ri", ":", "case", "X86", "::", "CMP16ri8", ":", "case", "X86", "::", "CMP8ri", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "0", ";", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", ")", "{", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "}", "else", "{", "CmpMask", "=", "CmpValue", "=", "0", ";", "}", "return", "true", ";", "case", "X86", "::", "SUB64rm", ":", "case", "X86", "::", "SUB32rm", ":", "case", "X86", "::", "SUB16rm", ":", "case", "X86", "::", "SUB8rm", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "0", ";", "CmpMask", "=", "0", ";", "CmpValue", "=", "0", ";", "return", "true", ";", "case", "X86", "::", "SUB64rr", ":", "case", "X86", "::", "SUB32rr", ":", "case", "X86", "::", "SUB16rr", ":", "case", "X86", "::", "SUB8rr", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "CmpMask", "=", "0", ";", "CmpValue", "=", "0", ";", "return", "true", ";", "case", "X86", "::", "SUB64ri32", ":", "case", "X86", "::", "SUB64ri8", ":", "case", "X86", "::", "SUB32ri", ":", "case", "X86", "::", "SUB32ri8", ":", "case", "X86", "::", "SUB16ri", ":", "case", "X86", "::", "SUB16ri8", ":", "case", "X86", "::", "SUB8ri", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "0", ";", "if", "(", "MI", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", ")", "{", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "}", "else", "{", "CmpMask", "=", "CmpValue", "=", "0", ";", "}", "return", "true", ";", "case", "X86", "::", "CMP64rr", ":", "case", "X86", "::", "CMP32rr", ":", "case", "X86", "::", "CMP16rr", ":", "case", "X86", "::", "CMP8rr", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "CmpMask", "=", "0", ";", "CmpValue", "=", "0", ";", "return", "true", ";", "case", "X86", "::", "TEST8rr", ":", "case", "X86", "::", "TEST16rr", ":", "case", "X86", "::", "TEST32rr", ":", "case", "X86", "::", "TEST64rr", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "!=", "SrcReg", ")", "return", "false", ";", "SrcReg2", "=", "0", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "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": ["X86", "X86", "X86::CMP64ri32", "X86::CMP64ri8", "X86::CMP32ri", "X86::CMP32ri8", "X86::CMP16ri", "X86::CMP16ri8", "X86::CMP8ri", "0", "0", "1", "0", "1", "0", "X86::SUB64rm", "X86::SUB32rm", "X86::SUB16rm", "X86::SUB8rm", "1", "0", "0", "0", "X86::SUB64rr", "X86::SUB32rr", "X86::SUB16rr", "X86::SUB8rr", "1", "2", "0", "0", "X86::SUB64ri32", "X86::SUB64ri8", "X86::SUB32ri", "X86::SUB32ri8", "X86::SUB16ri", "X86::SUB16ri8", "X86::SUB8ri", "1", "0", "2", "0", "2", "0", "X86::CMP64rr", "X86::CMP32rr", "X86::CMP16rr", "X86::CMP8rr", "0", "1", "0", "0", "X86::TEST8rr", "X86::TEST16rr", "X86::TEST32rr", "X86::TEST64rr", "0", "1", "0", "0", "0"], "File": "X86InstrInfo", "Func": "analyzeCompare", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13411, "Length": 469, "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", ")", ";", "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", "(", ")", ";", "Opcode", "=", "NewOpcode", ";", "TmpInst", ".", "setOpcode", "(", "NewOpcode", ")", ";", "Binary", "=", "getBinaryCodeForInstr", "(", "TmpInst", ",", "Fixups", ",", "STI", ")", ";", "}", "}", "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", "\"Desc.getSize() returns 0\""], "File": "MipsMCCodeEmitter17", "Func": "encodeInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13412, "Length": 373, "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": 13413, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "X86RegisterInfo", "::", "getLargestLegalSuperClass", "(", "const", "TargetRegisterClass", "*", "RC", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "RC", "==", "&", "X86", "::", "GR8_NOREXRegClass", ")", "return", "RC", ";", "const", "X86Subtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "const", "TargetRegisterClass", "*", "Super", "=", "RC", ";", "TargetRegisterClass", "::", "sc_iterator", "I", "=", "RC", "->", "getSuperClasses", "(", ")", ";", "do", "{", "switch", "(", "Super", "->", "getID", "(", ")", ")", "{", "case", "X86", "::", "FR32RegClassID", ":", "case", "X86", "::", "FR64RegClassID", ":", "if", "(", "!", "Subtarget", ".", "hasAVX512", "(", ")", "&&", "Super", "->", "getSize", "(", ")", "==", "RC", "->", "getSize", "(", ")", ")", "return", "Super", ";", "break", ";", "case", "X86", "::", "VR128RegClassID", ":", "case", "X86", "::", "VR256RegClassID", ":", "if", "(", "!", "Subtarget", ".", "hasVLX", "(", ")", "&&", "Super", "->", "getSize", "(", ")", "==", "RC", "->", "getSize", "(", ")", ")", "return", "Super", ";", "break", ";", "case", "X86", "::", "FR32XRegClassID", ":", "case", "X86", "::", "FR64XRegClassID", ":", "if", "(", "!", "Subtarget", ".", "hasVLX", "(", ")", ")", "break", ";", "LLVM_FALLTHROUGH", ";", "case", "X86", "::", "VR128XRegClassID", ":", "case", "X86", "::", "VR256XRegClassID", ":", "if", "(", "!", "Subtarget", ".", "hasAVX512", "(", ")", ")", "break", ";", "LLVM_FALLTHROUGH", ";", "case", "X86", "::", "GR8RegClassID", ":", "case", "X86", "::", "GR16RegClassID", ":", "case", "X86", "::", "GR32RegClassID", ":", "case", "X86", "::", "GR64RegClassID", ":", "case", "X86", "::", "RFP32RegClassID", ":", "case", "X86", "::", "RFP64RegClassID", ":", "case", "X86", "::", "RFP80RegClassID", ":", "case", "X86", "::", "VR512RegClassID", ":", "if", "(", "Super", "->", "getSize", "(", ")", "==", "RC", "->", "getSize", "(", ")", ")", "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": ["X86", "X86", "X86::GR8_NOREXRegClass", "X86", "X86", "X86::FR32RegClassID", "X86::FR64RegClassID", "X86::VR128RegClassID", "X86::VR256RegClassID", "X86::FR32XRegClassID", "X86::FR64XRegClassID", "X86::VR128XRegClassID", "X86::VR256XRegClassID", "X86::GR8RegClassID", "X86::GR16RegClassID", "X86::GR32RegClassID", "X86::GR64RegClassID", "X86::RFP32RegClassID", "X86::RFP64RegClassID", "X86::RFP80RegClassID", "X86::VR512RegClassID"], "File": "X86RegisterInfo82", "Func": "getLargestLegalSuperClass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13414, "Length": 266, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86ATTAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "this", "->", "MF", "=", "&", "MF", ";", "unsigned", "CC", "=", "F", "->", "getCallingConv", "(", ")", ";", "SetupMachineFunction", "(", "MF", ")", ";", "O", "<<", "\"\\n\\n\"", ";", "if", "(", "CC", "==", "CallingConv", "::", "X86_StdCall", "||", "CC", "==", "CallingConv", "::", "X86_FastCall", ")", "FunctionInfoMap", "[", "F", "]", "=", "*", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "EmitConstantPool", "(", "MF", ".", "getConstantPool", "(", ")", ")", ";", "if", "(", "F", "->", "hasDLLExportLinkage", "(", ")", ")", "DLLExportedFns", ".", "insert", "(", "Mang", "->", "makeNameProper", "(", "F", "->", "getName", "(", ")", ",", "\"\"", ")", ")", ";", "emitFunctionHeader", "(", "MF", ")", ";", "if", "(", "TAI", "->", "doesSupportDebugInformation", "(", ")", "||", "TAI", "->", "doesSupportExceptionHandling", "(", ")", ")", "DW", "->", "BeginFunction", "(", "&", "MF", ")", ";", "bool", "hasAnyRealCode", "=", "false", ";", "for", "(", "MachineFunction", "::", "const_iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "!", "VerboseAsm", "&&", "(", "I", "->", "pred_empty", "(", ")", "||", "I", "->", "isOnlyReachableByFallthrough", "(", ")", ")", ")", "{", "}", "else", "{", "printBasicBlockLabel", "(", "I", ",", "true", ",", "true", ",", "VerboseAsm", ")", ";", "O", "<<", "'\\n'", ";", "}", "for", "(", "MachineBasicBlock", "::", "const_iterator", "II", "=", "I", "->", "begin", "(", ")", ",", "IE", "=", "I", "->", "end", "(", ")", ";", "II", "!=", "IE", ";", "++", "II", ")", "{", "if", "(", "!", "II", "->", "isLabel", "(", ")", ")", "hasAnyRealCode", "=", "true", ";", "printMachineInstruction", "(", "II", ")", ";", "}", "}", "if", "(", "Subtarget", "->", "isTargetDarwin", "(", ")", "&&", "!", "hasAnyRealCode", ")", "{", "O", "<<", "\"\\tnop\\n\"", ";", "}", "if", "(", "TAI", "->", "hasDotTypeDotSizeDirective", "(", ")", ")", "O", "<<", "\"\\t.size\\t\"", "<<", "CurrentFnName", "<<", "\", .-\"", "<<", "CurrentFnName", "<<", "'\\n'", ";", "if", "(", "TAI", "->", "doesSupportDebugInformation", "(", ")", ")", "DW", "->", "EndFunction", "(", "&", "MF", ")", ";", "EmitJumpTableInfo", "(", "MF", ".", "getJumpTableInfo", "(", ")", ",", "MF", ")", ";", "O", ".", "flush", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "\"\\n\\n\"", "X86", "X86", "X86", "\"\"", "\"\\tnop\\n\"", "\"\\t.size\\t\"", "\", .-\""], "File": "X86ATTAsmPrinter", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13415, "Length": 333, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "iq2000_pass_by_reference", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "int", "size", ";", "if", "(", "cum", "&&", "targetm", ".", "calls", ".", "must_pass_in_stack", "(", "mode", ",", "type", ")", ")", "{", "CUMULATIVE_ARGS", "temp", ";", "temp", "=", "*", "cum", ";", "if", "(", "FUNCTION_ARG", "(", "temp", ",", "mode", ",", "type", ",", "named", ")", "!=", "0", ")", "return", "1", ";", "}", "if", "(", "type", "==", "NULL_TREE", "||", "mode", "==", "DImode", "||", "mode", "==", "DFmode", ")", "return", "0", ";", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "return", "size", "==", "-", "1", "||", "size", ">", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Return", "true", "when", "an", "argument", "must", "be", "passed", "by", "reference", "."], "TS_V_token": ["iq2000", "0", "1", "0", "1"], "File": "iq20002", "Func": "iq2000_pass_by_reference", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13416, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AvoidSFBPass", "::", "buildCopy", "(", "MachineInstr", "*", "LoadInst", ",", "unsigned", "NLoadOpcode", ",", "int64_t", "LoadDisp", ",", "MachineInstr", "*", "StoreInst", ",", "unsigned", "NStoreOpcode", ",", "int64_t", "StoreDisp", ",", "unsigned", "Size", ",", "int64_t", "LMMOffset", ",", "int64_t", "SMMOffset", ")", "{", "MachineOperand", "&", "LoadBase", "=", "getBaseOperand", "(", "LoadInst", ")", ";", "MachineOperand", "&", "StoreBase", "=", "getBaseOperand", "(", "StoreInst", ")", ";", "MachineBasicBlock", "*", "MBB", "=", "LoadInst", "->", "getParent", "(", ")", ";", "MachineMemOperand", "*", "LMMO", "=", "*", "LoadInst", "->", "memoperands_begin", "(", ")", ";", "MachineMemOperand", "*", "SMMO", "=", "*", "StoreInst", "->", "memoperands_begin", "(", ")", ";", "unsigned", "Reg1", "=", "MRI", "->", "createVirtualRegister", "(", "TII", "->", "getRegClass", "(", "TII", "->", "get", "(", "NLoadOpcode", ")", ",", "0", ",", "TRI", ",", "*", "(", "MBB", "->", "getParent", "(", ")", ")", ")", ")", ";", "MachineInstr", "*", "NewLoad", "=", "BuildMI", "(", "*", "MBB", ",", "LoadInst", ",", "LoadInst", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "NLoadOpcode", ")", ",", "Reg1", ")", ".", "add", "(", "LoadBase", ")", ".", "addImm", "(", "1", ")", ".", "addReg", "(", "X86", "::", "NoRegister", ")", ".", "addImm", "(", "LoadDisp", ")", ".", "addReg", "(", "X86", "::", "NoRegister", ")", ".", "addMemOperand", "(", "MBB", "->", "getParent", "(", ")", "->", "getMachineMemOperand", "(", "LMMO", ",", "LMMOffset", ",", "Size", ")", ")", ";", "if", "(", "LoadBase", ".", "isReg", "(", ")", ")", "getBaseOperand", "(", "NewLoad", ")", ".", "setIsKill", "(", "false", ")", ";", "LLVM_DEBUG", "(", "NewLoad", "->", "dump", "(", ")", ")", ";", "MachineInstr", "*", "StInst", "=", "StoreInst", ";", "auto", "PrevInstrIt", "=", "skipDebugInstructionsBackward", "(", "std", "::", "prev", "(", "MachineBasicBlock", "::", "instr_iterator", "(", "StoreInst", ")", ")", ",", "MBB", "->", "instr_begin", "(", ")", ")", ";", "if", "(", "PrevInstrIt", ".", "getNodePtr", "(", ")", "==", "LoadInst", ")", "StInst", "=", "LoadInst", ";", "MachineInstr", "*", "NewStore", "=", "BuildMI", "(", "*", "MBB", ",", "StInst", ",", "StInst", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "NStoreOpcode", ")", ")", ".", "add", "(", "StoreBase", ")", ".", "addImm", "(", "1", ")", ".", "addReg", "(", "X86", "::", "NoRegister", ")", ".", "addImm", "(", "StoreDisp", ")", ".", "addReg", "(", "X86", "::", "NoRegister", ")", ".", "addReg", "(", "Reg1", ")", ".", "addMemOperand", "(", "MBB", "->", "getParent", "(", ")", "->", "getMachineMemOperand", "(", "SMMO", ",", "SMMOffset", ",", "Size", ")", ")", ";", "if", "(", "StoreBase", ".", "isReg", "(", ")", ")", "getBaseOperand", "(", "NewStore", ")", ".", "setIsKill", "(", "false", ")", ";", "MachineOperand", "&", "StoreSrcVReg", "=", "StoreInst", "->", "getOperand", "(", "X86", "::", "AddrNumOperands", ")", ";", "assert", "(", "StoreSrcVReg", ".", "isReg", "(", ")", "&&", "\"Expected virtual register\"", ")", ";", "NewStore", "->", "getOperand", "(", "X86", "::", "AddrNumOperands", ")", ".", "setIsKill", "(", "StoreSrcVReg", ".", "isKill", "(", ")", ")", ";", "LLVM_DEBUG", "(", "NewStore", "->", "dump", "(", ")", ")", ";", "}", ""], "natrual_language": ["Build", "and", "insert", "Res", "=", "COPY", "Op", "."], "TS_V_token": ["X86", "X86", "0", "1", "X86::NoRegister", "X86::NoRegister", "1", "X86::NoRegister", "X86::NoRegister", "X86::AddrNumOperands", "\"Expected virtual register\"", "X86::AddrNumOperands"], "File": "X86AvoidStoreForwardingBlocks11", "Func": "buildCopy", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13417, "Length": 410, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCScoreboardHazardRecognizer", "::", "Reset", "(", ")", "{", "ScoreboardHazardRecognizer", "::", "Reset", "(", ")", ";", "}", ""], "natrual_language": ["Reset", "the", "unwind", "opcode", "assembler", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCHazardRecognizers26", "Func": "Reset", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13418, "Length": 14, "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", "(", "VOIDmode", ",", "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": "sh4", "Func": "sh_emit_scc_to_t", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13419, "Length": 215, "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", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "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": "PPCFrameLowering79", "Func": "determineFrameLayout", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13420, "Length": 292, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "stv_expand_builtin", "(", "insn_code", "icode", ",", "rtx", "*", "op", ",", "machine_mode", "tmode", ",", "machine_mode", "smode", ")", "{", "op", "[", "2", "]", "=", "copy_to_mode_reg", "(", "Pmode", ",", "op", "[", "2", "]", ")", ";", "if", "(", "icode", "==", "CODE_FOR_altivec_stvx_v2df", "||", "icode", "==", "CODE_FOR_altivec_stvx_v2di", "||", "icode", "==", "CODE_FOR_altivec_stvx_v4sf", "||", "icode", "==", "CODE_FOR_altivec_stvx_v4si", "||", "icode", "==", "CODE_FOR_altivec_stvx_v8hi", "||", "icode", "==", "CODE_FOR_altivec_stvx_v16qi", ")", "{", "rtx", "rawaddr", ";", "if", "(", "op", "[", "1", "]", "==", "const0_rtx", ")", "rawaddr", "=", "op", "[", "2", "]", ";", "else", "{", "op", "[", "1", "]", "=", "copy_to_mode_reg", "(", "Pmode", ",", "op", "[", "1", "]", ")", ";", "rawaddr", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "op", "[", "2", "]", ",", "op", "[", "1", "]", ")", ";", "}", "rtx", "addr", "=", "gen_rtx_AND", "(", "Pmode", ",", "rawaddr", ",", "gen_rtx_CONST_INT", "(", "Pmode", ",", "-", "16", ")", ")", ";", "addr", "=", "gen_rtx_MEM", "(", "tmode", ",", "addr", ")", ";", "op", "[", "0", "]", "=", "copy_to_mode_reg", "(", "tmode", ",", "op", "[", "0", "]", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "addr", ",", "op", "[", "0", "]", ")", ")", ";", "}", "else", "if", "(", "icode", "==", "CODE_FOR_vsx_stxvrbx", "||", "icode", "==", "CODE_FOR_vsx_stxvrhx", "||", "icode", "==", "CODE_FOR_vsx_stxvrwx", "||", "icode", "==", "CODE_FOR_vsx_stxvrdx", ")", "{", "rtx", "truncrtx", "=", "gen_rtx_TRUNCATE", "(", "tmode", ",", "op", "[", "0", "]", ")", ";", "op", "[", "0", "]", "=", "copy_to_mode_reg", "(", "E_TImode", ",", "truncrtx", ")", ";", "rtx", "addr", ";", "if", "(", "op", "[", "1", "]", "==", "const0_rtx", ")", "addr", "=", "gen_rtx_MEM", "(", "Pmode", ",", "op", "[", "2", "]", ")", ";", "else", "{", "op", "[", "1", "]", "=", "copy_to_mode_reg", "(", "Pmode", ",", "op", "[", "1", "]", ")", ";", "addr", "=", "gen_rtx_MEM", "(", "tmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "op", "[", "2", "]", ",", "op", "[", "1", "]", ")", ")", ";", "}", "rtx", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "addr", ",", "op", "[", "0", "]", ")", ";", "if", "(", "pat", ")", "emit_insn", "(", "pat", ")", ";", "}", "else", "{", "if", "(", "!", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "predicate", "(", "op", "[", "0", "]", ",", "smode", ")", ")", "op", "[", "0", "]", "=", "copy_to_mode_reg", "(", "smode", ",", "op", "[", "0", "]", ")", ";", "rtx", "addr", ";", "if", "(", "op", "[", "1", "]", "==", "const0_rtx", ")", "addr", "=", "gen_rtx_MEM", "(", "tmode", ",", "op", "[", "2", "]", ")", ";", "else", "{", "op", "[", "1", "]", "=", "copy_to_mode_reg", "(", "Pmode", ",", "op", "[", "1", "]", ")", ";", "addr", "=", "gen_rtx_MEM", "(", "tmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "op", "[", "2", "]", ",", "op", "[", "1", "]", ")", ")", ";", "}", "rtx", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "addr", ",", "op", "[", "0", "]", ")", ";", "if", "(", "pat", ")", "emit_insn", "(", "pat", ")", ";", "}", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Expand", "an", "AltiVec", "vector", "store", "builtin", ",", "and", "return", "the", "expanded", "rtx", "."], "TS_V_token": ["rs6000", "2", "2", "1", "2", "1", "1", "2", "1", "16", "0", "0", "0", "0", "0", "1", "2", "1", "1", "2", "1", "0", "1", "0", "0", "0", "1", "2", "1", "1", "2", "1", "0"], "File": "rs6000-builtin", "Func": "stv_expand_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13421, "Length": 439, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FrameLowering", "::", "canUseAsPrologue", "(", "const", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "AArch64Subtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ";", "const", "AArch64RegisterInfo", "*", "RegInfo", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "return", "!", "RegInfo", "->", "needsStackRealignment", "(", "*", "MF", ")", ";", "}", ""], "natrual_language": ["Check", "whether", "or", "not", "the", "given", "MBB", "can", "be", "used", "as", "a", "prologue", "for", "the", "target", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64FrameLowering27", "Func": "canUseAsPrologue", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13422, "Length": 59, "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": 13423, "Length": 148, "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": 13424, "Length": 28, "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", "(", ")", ")", ")", "{", "std", "::", "cout", "<<", "\"X86TargetMachine --->> In the constructor class !! \\n\"", ";", "if", "(", "(", "TT", ".", "isOSWindows", "(", ")", "&&", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", "||", "TT", ".", "isPS4", "(", ")", "||", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "{", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "this", "->", "Options", ".", "NoTrapAfterNoreturn", "=", "TT", ".", "isOSBinFormatMachO", "(", ")", ";", "}", "if", "(", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", "setMachineOutliner", "(", "true", ")", ";", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "X86", "target", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "\"X86TargetMachine --->> In the constructor class !! \\n\""], "File": "X86TargetMachine102", "Func": "X86TargetMachine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13425, "Length": 188, "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": ["powerpcspe", "3", "0", "0", "1", "2", "1", "0"], "File": "powerpcspe", "Func": "rs6000_split_logical", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13426, "Length": 310, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "requiresFrameIndexScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "requires", "post", "PEI", "scavenging", "of", "registers", "for", "materializing", "frame", "index", "constants", "."], "TS_V_token": ["PowerPC"], "File": "PPCRegisterInfo (2)1", "Func": "requiresFrameIndexScavenging", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13427, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_split_combinev16qi", "(", "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", "=", "HARD_REGNO_NREGS", "(", "src1", ",", "halfmode", ")", ";", "rtx", "destlo", ",", "desthi", ";", "gcc_assert", "(", "halfmode", "==", "V16QImode", ")", ";", "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", "(", "reg_overlap_mentioned_p", "(", "operands", "[", "2", "]", ",", "destlo", ")", "&&", "reg_overlap_mentioned_p", "(", "operands", "[", "1", "]", ",", "desthi", ")", ")", "{", "emit_insn", "(", "gen_xorv16qi3", "(", "operands", "[", "1", "]", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ")", ";", "emit_insn", "(", "gen_xorv16qi3", "(", "operands", "[", "2", "]", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ")", ";", "emit_insn", "(", "gen_xorv16qi3", "(", "operands", "[", "1", "]", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ")", ";", "}", "else", "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": ["aarch64", "3", "0", "1", "2", "1", "0", "0", "0", "2", "1", "1", "1", "2", "2", "1", "2", "1", "1", "2", "2", "1", "2", "2", "1"], "File": "aarch642", "Func": "aarch64_split_combinev16qi", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13428, "Length": 313, "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_arch5t", "&&", "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", "&&", "IS_CMSE_ENTRY", "(", "func_type", ")", ")", "return", "0", ";", "if", "(", "saved_int_regs", "&&", "!", "(", "saved_int_regs", "&", "(", "1", "<<", "LR_REGNUM", ")", ")", ")", "return", "0", ";", "if", "(", "TARGET_HARD_FLOAT", ")", "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", "0", "1", "0", "0", "0", "1"], "File": "arm8", "Func": "use_return_insn", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13429, "Length": 404, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstPrinterCommon", "::", "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", "{", "Op", ".", "getExpr", "(", ")", "->", "print", "(", "O", ",", "&", "MAI", ")", ";", "}", "}", "}", ""], "natrual_language": ["value", "(", "e.g", "."], "TS_V_token": ["X86", "X86", "\"unknown pcrel immediate operand\""], "File": "X86InstPrinterCommon1", "Func": "printPCRelImm", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13430, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "PPCIncomingValueHandler", "::", "getStackAddress", "(", "uint64_t", "Size", ",", "int64_t", "Offset", ",", "MachinePointerInfo", "&", "MPO", ",", "ISD", "::", "ArgFlagsTy", "Flags", ")", "{", "auto", "&", "MFI", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getFrameInfo", "(", ")", ";", "const", "bool", "IsImmutable", "=", "!", "Flags", ".", "isByVal", "(", ")", ";", "int", "FI", "=", "MFI", ".", "CreateFixedObject", "(", "Size", ",", "Offset", ",", "IsImmutable", ")", ";", "MPO", "=", "MachinePointerInfo", "::", "getFixedStack", "(", "MIRBuilder", ".", "getMF", "(", ")", ",", "FI", ")", ";", "llvm", "::", "LLT", "FramePtr", "=", "LLT", "::", "pointer", "(", "0", ",", "MIRBuilder", ".", "getMF", "(", ")", ".", "getDataLayout", "(", ")", ".", "getPointerSizeInBits", "(", ")", ")", ";", "MachineInstrBuilder", "AddrReg", "=", "MIRBuilder", ".", "buildFrameIndex", "(", "FramePtr", ",", "FI", ")", ";", "StackUsed", "=", "std", "::", "max", "(", "StackUsed", ",", "Size", "+", "Offset", ")", ";", "return", "AddrReg", ".", "getReg", "(", "0", ")", ";", "}", ""], "natrual_language": ["Materialize", "a", "VReg", "containing", "the", "address", "of", "the", "specified", "stack-based", "object", "."], "TS_V_token": ["PowerPC", "PPC", "ISD::ArgFlagsTy", "0", "0"], "File": "PPCCallLowering", "Func": "getStackAddress", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13431, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "RegImmPair", ">", "MipsInstrInfo", "::", "isAddImmediate", "(", "const", "MachineInstr", "&", "MI", ",", "Register", "Reg", ")", "const", "{", "const", "MachineOperand", "&", "Op0", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "if", "(", "!", "Op0", ".", "isReg", "(", ")", "||", "Reg", "!=", "Op0", ".", "getReg", "(", ")", ")", "return", "None", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "Mips", "::", "ADDiu", ":", "case", "Mips", "::", "DADDiu", ":", "{", "const", "MachineOperand", "&", "Dop", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "const", "MachineOperand", "&", "Sop1", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "const", "MachineOperand", "&", "Sop2", "=", "MI", ".", "getOperand", "(", "2", ")", ";", "if", "(", "Dop", ".", "isReg", "(", ")", "&&", "Sop1", ".", "isReg", "(", ")", "&&", "Sop2", ".", "isImm", "(", ")", ")", "return", "RegImmPair", "{", "Sop1", ".", "getReg", "(", ")", ",", "Sop2", ".", "getImm", "(", ")", "}", ";", "}", "}", "return", "None", ";", "}", ""], "natrual_language": ["If", "the", "specific", "machine", "instruction", "is", "an", "instruction", "that", "adds", "an", "immediate", "value", "and", "a", "register", ",", "and", "stores", "the", "result", "in", "the", "given", "register", "Reg", ",", "return", "a", "pair", "of", "the", "source", "register", "and", "the", "offset", "which", "has", "been", "added", "."], "TS_V_token": ["Mips", "Mips", "0", "Mips::ADDiu", "Mips::DADDiu", "0", "1", "2"], "File": "MipsInstrInfo28", "Func": "isAddImmediate", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13432, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMTargetLowering", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "ARM", "::", "tGPRRegClassID", ":", "return", "RegInfo", "->", "hasFP", "(", "MF", ")", "?", "4", ":", "5", ";", "case", "ARM", "::", "GPRRegClassID", ":", "{", "unsigned", "FP", "=", "RegInfo", "->", "hasFP", "(", "MF", ")", "?", "1", ":", "0", ";", "return", "10", "-", "FP", "-", "(", "Subtarget", "->", "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": "ARMISelLowering54", "Func": "getRegPressureLimit", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13433, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LC3bFrameLowering", "::", "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": ["LC3b", "LC3b"], "File": "LC3bFrameLowering", "Func": "hasFP", "Target": "LC3b", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13434, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTTIImpl", "::", "getPeelingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "PeelingPreferences", "&", "PP", ")", "{", "BaseT", "::", "getPeelingPreferences", "(", "L", ",", "SE", ",", "PP", ")", ";", "}", ""], "natrual_language": ["Get", "target-customized", "preferences", "for", "the", "generic", "loop", "peeling", "transformation", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMTargetTransformInfo14", "Func": "getPeelingPreferences", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13435, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_const_vector_bitimm_set_p", "(", "rtx", "op", ",", "machine_mode", "mode", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "==", "CONST_VECTOR", "&&", "op", "!=", "CONST0_RTX", "(", "mode", ")", ")", "{", "unsigned", "HOST_WIDE_INT", "val", "=", "UINTVAL", "(", "CONST_VECTOR_ELT", "(", "op", ",", "0", ")", ")", ";", "int", "vlog2", "=", "exact_log2", "(", "val", "&", "GET_MODE_MASK", "(", "GET_MODE_INNER", "(", "mode", ")", ")", ")", ";", "if", "(", "vlog2", "!=", "-", "1", ")", "{", "gcc_assert", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_INT", ")", ";", "gcc_assert", "(", "vlog2", ">=", "0", "&&", "vlog2", "<=", "GET_MODE_UNIT_BITSIZE", "(", "mode", ")", "-", "1", ")", ";", "return", "mips_const_vector_same_val_p", "(", "op", ",", "mode", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "is", "a", "constant", "vector", "with", "the", "number", "of", "units", "in", "MODE", ",", "and", "each", "unit", "has", "the", "same", "bit", "set", "."], "TS_V_token": ["mips", "0", "1", "0", "1"], "File": "mips", "Func": "mips_const_vector_bitimm_set_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13436, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCFrameLowering", "::", "assignCalleeSavedSpillSlots", "(", "MachineFunction", "&", "MF", ",", "const", "TargetRegisterInfo", "*", "TRI", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "true", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "if", "(", "!", "EnablePEVectorSpills", "||", "MFI", ".", "hasCalls", "(", ")", "||", "!", "Subtarget", ".", "hasP9Vector", "(", ")", ")", "return", "false", ";", "BitVector", "BVAllocatable", "=", "TRI", "->", "getAllocatableSet", "(", "MF", ")", ";", "BitVector", "BVCalleeSaved", "(", "TRI", "->", "getNumRegs", "(", ")", ")", ";", "const", "PPCRegisterInfo", "*", "RegInfo", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "const", "MCPhysReg", "*", "CSRegs", "=", "RegInfo", "->", "getCalleeSavedRegs", "(", "&", "MF", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "CSRegs", "[", "i", "]", ";", "++", "i", ")", "BVCalleeSaved", ".", "set", "(", "CSRegs", "[", "i", "]", ")", ";", "for", "(", "unsigned", "Reg", ":", "BVAllocatable", ".", "set_bits", "(", ")", ")", "{", "if", "(", "BVCalleeSaved", "[", "Reg", "]", "||", "(", "!", "PPC", "::", "F8RCRegClass", ".", "contains", "(", "Reg", ")", "&&", "!", "PPC", "::", "VFRCRegClass", ".", "contains", "(", "Reg", ")", ")", "||", "(", "MF", ".", "getRegInfo", "(", ")", ".", "isPhysRegUsed", "(", "Reg", ")", ")", ")", "BVAllocatable", ".", "reset", "(", "Reg", ")", ";", "}", "bool", "AllSpilledToReg", "=", "true", ";", "for", "(", "auto", "&", "CS", ":", "CSI", ")", "{", "if", "(", "BVAllocatable", ".", "none", "(", ")", ")", "return", "false", ";", "unsigned", "Reg", "=", "CS", ".", "getReg", "(", ")", ";", "if", "(", "!", "PPC", "::", "G8RCRegClass", ".", "contains", "(", "Reg", ")", "&&", "!", "PPC", "::", "GPRCRegClass", ".", "contains", "(", "Reg", ")", ")", "{", "AllSpilledToReg", "=", "false", ";", "continue", ";", "}", "unsigned", "VolatileVFReg", "=", "BVAllocatable", ".", "find_first", "(", ")", ";", "if", "(", "VolatileVFReg", "<", "BVAllocatable", ".", "size", "(", ")", ")", "{", "CS", ".", "setDstReg", "(", "VolatileVFReg", ")", ";", "BVAllocatable", ".", "reset", "(", "VolatileVFReg", ")", ";", "}", "else", "{", "AllSpilledToReg", "=", "false", ";", "}", "}", "return", "AllSpilledToReg", ";", "}", ""], "natrual_language": ["This", "function", "will", "assign", "callee", "saved", "gprs", "to", "volatile", "vector", "registers", "for", "prologue", "spills", "when", "applicable", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "0", "PPC::F8RCRegClass", "PPC::VFRCRegClass", "PPC::G8RCRegClass", "PPC::GPRCRegClass"], "File": "PPCFrameLowering3", "Func": "assignCalleeSavedSpillSlots", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13437, "Length": 309, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "aarch64_simd_builtin_type", "(", "enum", "machine_mode", "mode", ",", "bool", "unsigned_p", ",", "bool", "poly_p", ")", "{", "if", "(", "poly_p", ")", "return", "aarch64_lookup_simd_builtin_type", "(", "mode", ",", "qualifier_poly", ")", ";", "else", "if", "(", "unsigned_p", ")", "return", "aarch64_lookup_simd_builtin_type", "(", "mode", ",", "qualifier_unsigned", ")", ";", "else", "return", "aarch64_lookup_simd_builtin_type", "(", "mode", ",", "qualifier_none", ")", ";", "}", ""], "natrual_language": ["Return", "a", "type", "for", "an", "operand", "with", "specified", "mode", "and", "qualifiers", "."], "TS_V_token": ["aarch64"], "File": "aarch64-builtins2", "Func": "aarch64_simd_builtin_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13438, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "ix86_cc_modes_compatible", "(", "machine_mode", "m1", ",", "machine_mode", "m2", ")", "{", "if", "(", "m1", "==", "m2", ")", "return", "m1", ";", "if", "(", "GET_MODE_CLASS", "(", "m1", ")", "!=", "MODE_CC", "||", "GET_MODE_CLASS", "(", "m2", ")", "!=", "MODE_CC", ")", "return", "VOIDmode", ";", "if", "(", "(", "m1", "==", "CCGCmode", "&&", "m2", "==", "CCGOCmode", ")", "||", "(", "m1", "==", "CCGOCmode", "&&", "m2", "==", "CCGCmode", ")", ")", "return", "CCGCmode", ";", "if", "(", "m1", "==", "CCZmode", "&&", "(", "m2", "==", "CCGCmode", "||", "m2", "==", "CCGOCmode", ")", ")", "return", "m2", ";", "else", "if", "(", "m2", "==", "CCZmode", "&&", "(", "m1", "==", "CCGCmode", "||", "m1", "==", "CCGOCmode", ")", ")", "return", "m1", ";", "switch", "(", "m1", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "CCmode", ":", "case", "CCGCmode", ":", "case", "CCGOCmode", ":", "case", "CCNOmode", ":", "case", "CCAmode", ":", "case", "CCCmode", ":", "case", "CCOmode", ":", "case", "CCPmode", ":", "case", "CCSmode", ":", "case", "CCZmode", ":", "switch", "(", "m2", ")", "{", "default", ":", "return", "VOIDmode", ";", "case", "CCmode", ":", "case", "CCGCmode", ":", "case", "CCGOCmode", ":", "case", "CCNOmode", ":", "case", "CCAmode", ":", "case", "CCCmode", ":", "case", "CCOmode", ":", "case", "CCPmode", ":", "case", "CCSmode", ":", "case", "CCZmode", ":", "return", "CCmode", ";", "}", "case", "CCFPmode", ":", "case", "CCFPUmode", ":", "return", "VOIDmode", ";", "}", "}", ""], "natrual_language": ["If", "two", "condition", "code", "modes", "are", "compatible", ",", "return", "a", "condition", "code", "mode", "which", "is", "compatible", "with", "both", ".", "Otherwise", ",", "return", "VOIDmode", "."], "TS_V_token": ["i386"], "File": "i3865", "Func": "ix86_cc_modes_compatible", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13439, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "PPCInstrInfo", "::", "commuteInstruction", "(", "MachineInstr", "*", "MI", ",", "bool", "NewMI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "RLWIMI", ")", "return", "TargetInstrInfoImpl", "::", "commuteInstruction", "(", "MI", ",", "NewMI", ")", ";", "if", "(", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "!=", "0", ")", "return", "0", ";", "unsigned", "Reg0", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "unsigned", "Reg1", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "unsigned", "Reg2", "=", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "bool", "Reg1IsKill", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "isKill", "(", ")", ";", "bool", "Reg2IsKill", "=", "MI", "->", "getOperand", "(", "2", ")", ".", "isKill", "(", ")", ";", "bool", "ChangeReg0", "=", "false", ";", "if", "(", "Reg0", "==", "Reg1", ")", "{", "assert", "(", "MI", "->", "getDesc", "(", ")", ".", "getOperandConstraint", "(", "0", ",", "TOI", "::", "TIED_TO", ")", "&&", "\"Expecting a two-address instruction!\"", ")", ";", "Reg2IsKill", "=", "false", ";", "ChangeReg0", "=", "true", ";", "}", "unsigned", "MB", "=", "MI", "->", "getOperand", "(", "4", ")", ".", "getImm", "(", ")", ";", "unsigned", "ME", "=", "MI", "->", "getOperand", "(", "5", ")", ".", "getImm", "(", ")", ";", "if", "(", "NewMI", ")", "{", "unsigned", "Reg0", "=", "ChangeReg0", "?", "Reg2", ":", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "bool", "Reg0IsDead", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "isDead", "(", ")", ";", "return", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "MI", "->", "getDesc", "(", ")", ")", ".", "addReg", "(", "Reg0", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "Reg0IsDead", ")", ")", ".", "addReg", "(", "Reg2", ",", "getKillRegState", "(", "Reg2IsKill", ")", ")", ".", "addReg", "(", "Reg1", ",", "getKillRegState", "(", "Reg1IsKill", ")", ")", ".", "addImm", "(", "(", "ME", "+", "1", ")", "&", "31", ")", ".", "addImm", "(", "(", "MB", "-", "1", ")", "&", "31", ")", ";", "}", "if", "(", "ChangeReg0", ")", "MI", "->", "getOperand", "(", "0", ")", ".", "setReg", "(", "Reg2", ")", ";", "MI", "->", "getOperand", "(", "2", ")", ".", "setReg", "(", "Reg1", ")", ";", "MI", "->", "getOperand", "(", "1", ")", ".", "setReg", "(", "Reg2", ")", ";", "MI", "->", "getOperand", "(", "2", ")", ".", "setIsKill", "(", "Reg1IsKill", ")", ";", "MI", "->", "getOperand", "(", "1", ")", ".", "setIsKill", "(", "Reg2IsKill", ")", ";", "MI", "->", "getOperand", "(", "4", ")", ".", "setImm", "(", "(", "ME", "+", "1", ")", "&", "31", ")", ";", "MI", "->", "getOperand", "(", "5", ")", ".", "setImm", "(", "(", "MB", "-", "1", ")", "&", "31", ")", ";", "return", "MI", ";", "}", ""], "natrual_language": ["This", "method", "commutes", "the", "operands", "of", "the", "given", "machine", "instruction", "MI", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::RLWIMI", "3", "0", "0", "0", "1", "2", "1", "2", "0", "\"Expecting a two-address instruction!\"", "4", "5", "0", "0", "1", "31", "1", "31", "0", "2", "1", "2", "1", "4", "1", "31", "5", "1", "31"], "File": "PPCInstrInfo22", "Func": "commuteInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13440, "Length": 425, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "getSqrtEstimate", "(", "SDValue", "Operand", ",", "SelectionDAG", "&", "DAG", ",", "int", "Enabled", ",", "int", "&", "RefinementSteps", ",", "bool", "&", "UseOneConstNR", ",", "bool", "Reciprocal", ")", "const", "{", "EVT", "VT", "=", "Operand", ".", "getValueType", "(", ")", ";", "if", "(", "(", "VT", "==", "MVT", "::", "f32", "&&", "Subtarget", ".", "hasFRSQRTES", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "f64", "&&", "Subtarget", ".", "hasFRSQRTE", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "v4f32", "&&", "Subtarget", ".", "hasAltivec", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "v2f64", "&&", "Subtarget", ".", "hasVSX", "(", ")", ")", ")", "{", "if", "(", "RefinementSteps", "==", "ReciprocalEstimate", "::", "Unspecified", ")", "RefinementSteps", "=", "getEstimateRefinementSteps", "(", "VT", ",", "Subtarget", ")", ";", "UseOneConstNR", "=", "!", "Subtarget", ".", "needsTwoConstNR", "(", ")", ";", "return", "DAG", ".", "getNode", "(", "PPCISD", "::", "FRSQRTE", ",", "SDLoc", "(", "Operand", ")", ",", "VT", ",", "Operand", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Hooks", "for", "building", "estimates", "in", "place", "of", "slower", "divisions", "and", "square", "roots", "."], "TS_V_token": ["PowerPC", "PPC", "MVT::f32", "MVT::f64", "MVT::v4f32", "MVT::v2f64", "PPCISD::FRSQRTE"], "File": "PPCISelLowering100", "Func": "getSqrtEstimate", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13441, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb2InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "if", "(", "!", "ARM", "::", "GPRRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "return", "ARMBaseInstrInfo", "::", "copyPhysReg", "(", "MBB", ",", "I", ",", "DL", ",", "DestReg", ",", "SrcReg", ",", "KillSrc", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tMOVr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["ARM", "ARM::GPRRegClass", "ARM", "ARM::tMOVr", "ARMCC::AL"], "File": "Thumb2InstrInfo (2)1", "Func": "copyPhysReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13442, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_test_cpu_arch_data", "(", "void", ")", "{", "const", "arch_option", "*", "arch", ";", "const", "cpu_option", "*", "cpu", ";", "auto_sbitmap", "target_isa", "(", "isa_num_bits", ")", ";", "auto_sbitmap", "isa1", "(", "isa_num_bits", ")", ";", "auto_sbitmap", "isa2", "(", "isa_num_bits", ")", ";", "for", "(", "arch", "=", "all_architectures", ";", "arch", "->", "common", ".", "name", "!=", "NULL", ";", "++", "arch", ")", "{", "const", "cpu_arch_extension", "*", "ext1", ",", "*", "ext2", ";", "if", "(", "arch", "->", "common", ".", "extensions", "==", "NULL", ")", "continue", ";", "arm_initialize_isa", "(", "target_isa", ",", "arch", "->", "common", ".", "isa_bits", ")", ";", "for", "(", "ext1", "=", "arch", "->", "common", ".", "extensions", ";", "ext1", "->", "name", "!=", "NULL", ";", "++", "ext1", ")", "{", "if", "(", "ext1", "->", "alias", ")", "continue", ";", "arm_initialize_isa", "(", "isa1", ",", "ext1", "->", "isa_bits", ")", ";", "for", "(", "ext2", "=", "ext1", "+", "1", ";", "ext2", "->", "name", "!=", "NULL", ";", "++", "ext2", ")", "{", "if", "(", "ext2", "->", "alias", "||", "ext1", "->", "remove", "!=", "ext2", "->", "remove", ")", "continue", ";", "arm_initialize_isa", "(", "isa2", ",", "ext2", "->", "isa_bits", ")", ";", "ASSERT_TRUE", "(", "!", "bitmap_subset_p", "(", "isa2", ",", "isa1", ")", ")", ";", "ASSERT_TRUE", "(", "!", "bitmap_intersect_p", "(", "isa2", ",", "target_isa", ")", ")", ";", "}", "}", "}", "for", "(", "cpu", "=", "all_cores", ";", "cpu", "->", "common", ".", "name", "!=", "NULL", ";", "++", "cpu", ")", "{", "const", "cpu_arch_extension", "*", "ext1", ",", "*", "ext2", ";", "if", "(", "cpu", "->", "common", ".", "extensions", "==", "NULL", ")", "continue", ";", "arm_initialize_isa", "(", "target_isa", ",", "arch", "->", "common", ".", "isa_bits", ")", ";", "for", "(", "ext1", "=", "cpu", "->", "common", ".", "extensions", ";", "ext1", "->", "name", "!=", "NULL", ";", "++", "ext1", ")", "{", "if", "(", "ext1", "->", "alias", ")", "continue", ";", "arm_initialize_isa", "(", "isa1", ",", "ext1", "->", "isa_bits", ")", ";", "for", "(", "ext2", "=", "ext1", "+", "1", ";", "ext2", "->", "name", "!=", "NULL", ";", "++", "ext2", ")", "{", "if", "(", "ext2", "->", "alias", "||", "ext1", "->", "remove", "!=", "ext2", "->", "remove", ")", "continue", ";", "arm_initialize_isa", "(", "isa2", ",", "ext2", "->", "isa_bits", ")", ";", "ASSERT_TRUE", "(", "!", "bitmap_subset_p", "(", "isa2", ",", "isa1", ")", ")", ";", "ASSERT_TRUE", "(", "!", "bitmap_intersect_p", "(", "isa2", ",", "target_isa", ")", ")", ";", "}", "}", "}", "}", ""], "natrual_language": ["Scan", "the", "static", "data", "tables", "generated", "by", "parsecpu.awk", "looking", "for", "potential", "issues", "with", "the", "data", ".", "We", "primarily", "check", "for", "inconsistencies", "in", "the", "option", "extensions", "at", "present", "(", "extensions", "that", "duplicate", "others", "but", "are", "n't", "marked", "as", "aliases", ")", ".", "Furthermore", ",", "for", "correct", "canonicalization", "later", "options", "must", "never", "be", "a", "subset", "of", "an", "earlier", "option", ".", "Any", "extension", "should", "also", "only", "specify", "other", "feature", "bits", "and", "never", "an", "architecture", "bit", ".", "The", "architecture", "is", "inferred", "from", "the", "declaration", "of", "the", "extension", "."], "TS_V_token": ["arm", "1", "1"], "File": "arm", "Func": "arm_test_cpu_arch_data", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13443, "Length": 344, "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": ["X86"], "File": "X86LowerAMXType10", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13444, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getElementSize", "(", ")", "{", "return", "CurType", ".", "ElementSize", ";", "}", ""], "natrual_language": ["Return", "the", "size", "of", "an", "element", "read", "or", "written", "by", "Inst", "."], "TS_V_token": ["X86"], "File": "X86AsmParser16", "Func": "getElementSize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13445, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARM64AppleInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ")", "{", "unsigned", "Opcode", "=", "MI", "->", "getOpcode", "(", ")", ";", "StringRef", "Layout", ",", "Mnemonic", ";", "bool", "IsTbx", ";", "if", "(", "isTblTbxInstruction", "(", "MI", "->", "getOpcode", "(", ")", ",", "Layout", ",", "IsTbx", ")", ")", "{", "O", "<<", "\"\\t\"", "<<", "(", "IsTbx", "?", "\"tbx\"", ":", "\"tbl\"", ")", "<<", "Layout", "<<", "'\\t'", "<<", "getRegisterName", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "ARM64", "::", "vreg", ")", "<<", "\", \"", ";", "unsigned", "ListOpNum", "=", "IsTbx", "?", "2", ":", "1", ";", "printVectorList", "(", "MI", ",", "ListOpNum", ",", "O", ",", "\"\"", ")", ";", "O", "<<", "\", \"", "<<", "getRegisterName", "(", "MI", "->", "getOperand", "(", "ListOpNum", "+", "1", ")", ".", "getReg", "(", ")", ",", "ARM64", "::", "vreg", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "return", ";", "}", "if", "(", "LdStNInstrDesc", "*", "LdStDesc", "=", "getLdStNInstrDesc", "(", "Opcode", ")", ")", "{", "O", "<<", "\"\\t\"", "<<", "LdStDesc", "->", "Mnemonic", "<<", "LdStDesc", "->", "Layout", "<<", "'\\t'", ";", "printVectorList", "(", "MI", ",", "0", ",", "O", ",", "\"\"", ")", ";", "if", "(", "LdStDesc", "->", "LaneOperand", "!=", "0", ")", "O", "<<", "'['", "<<", "MI", "->", "getOperand", "(", "LdStDesc", "->", "LaneOperand", ")", ".", "getImm", "(", ")", "<<", "']'", ";", "unsigned", "AddrOpNum", "=", "LdStDesc", "->", "LaneOperand", "+", "1", ";", "unsigned", "AddrReg", "=", "MI", "->", "getOperand", "(", "AddrOpNum", ")", ".", "getReg", "(", ")", ";", "O", "<<", "\", [\"", "<<", "getRegisterName", "(", "AddrReg", ")", "<<", "']'", ";", "if", "(", "LdStDesc", "->", "NaturalOffset", "!=", "0", ")", "{", "unsigned", "Reg", "=", "MI", "->", "getOperand", "(", "AddrOpNum", "+", "1", ")", ".", "getReg", "(", ")", ";", "if", "(", "Reg", "!=", "ARM64", "::", "XZR", ")", "O", "<<", "\", \"", "<<", "getRegisterName", "(", "Reg", ")", ";", "else", "{", "assert", "(", "LdStDesc", "->", "NaturalOffset", "&&", "\"no offset on post-inc instruction?\"", ")", ";", "O", "<<", "\", #\"", "<<", "LdStDesc", "->", "NaturalOffset", ";", "}", "}", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "return", ";", "}", "ARM64InstPrinter", "::", "printInst", "(", "MI", ",", "O", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["ARM64", "ARM64", "\"\\t\"", "\"tbx\"", "\"tbl\"", "0", "ARM64::vreg", "\", \"", "2", "1", "\"\"", "\", \"", "1", "ARM64::vreg", "\"\\t\"", "0", "\"\"", "0", "1", "\", [\"", "0", "1", "ARM64::XZR", "\", \"", "\"no offset on post-inc instruction?\"", "\", #\"", "ARM64"], "File": "ARM64InstPrinter", "Func": "printInst", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13446, "Length": 324, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsFunctionInfo", "::", "getGlobalBaseReg", "(", ")", "{", "if", "(", "GlobalBaseReg", ")", "return", "GlobalBaseReg", ";", "const", "MipsSubtarget", "&", "ST", "=", "MF", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "if", "(", "FixGlobalBaseReg", ")", "return", "GlobalBaseReg", "=", "ST", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "GP_64", ":", "Mips", "::", "GP", ";", "const", "TargetRegisterClass", "*", "RC", ";", "RC", "=", "ST", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "CPU64RegsRegisterClass", ":", "Mips", "::", "CPURegsRegisterClass", ";", "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::GP_64", "Mips::GP", "Mips::CPU64RegsRegisterClass", "Mips::CPURegsRegisterClass"], "File": "MipsMachineFunction47", "Func": "getGlobalBaseReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13447, "Length": 89, "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": 13448, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "function_resolver", "::", "resolve", "(", ")", "{", "return", "shape", "->", "resolve", "(", "*", "this", ")", ";", "}", ""], "natrual_language": ["If", "the", "call", "is", "erroneous", ",", "report", "an", "appropriate", "error", "and", "return", "error_mark_node", ".", "Otherwise", ",", "if", "the", "function", "is", "overloaded", ",", "return", "the", "decl", "of", "the", "non-overloaded", "function", ".", "Return", "NULL_TREE", "otherwise", ",", "indicating", "that", "the", "call", "should", "be", "processed", "in", "the", "normal", "way", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "resolve", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13449, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcRegisterInfo", "::", "canRealignStack", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "!", "TargetRegisterInfo", "::", "canRealignStack", "(", "MF", ")", ")", "return", "false", ";", "if", "(", "getFrameLowering", "(", "MF", ")", "->", "hasReservedCallFrame", "(", "MF", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["True", "if", "the", "stack", "can", "be", "realigned", "for", "the", "target", "."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcRegisterInfo (2)", "Func": "canRealignStack", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13450, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ")", "{", "if", "(", "requestsDoubleOperand", "(", "Name", ")", ")", "{", "setFpFormat", "(", "FP_FORMAT_D", ")", ";", "Operands", ".", "push_back", "(", "MipsOperand", "::", "CreateToken", "(", "Name", ",", "NameLoc", ")", ")", ";", "}", "else", "{", "setDefaultFpFormat", "(", ")", ";", "size_t", "Start", "=", "0", ",", "Next", "=", "Name", ".", "find", "(", "'.'", ")", ";", "StringRef", "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", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "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", ",", "Name", ")", ")", "{", "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\"", "MipsOperand::CreateImm", "MipsOperand::CreateToken", "\"unexpected token in argument list\"", "\"unexpected token in argument list\"", "\"unexpected token in argument list\""], "File": "MipsAsmParser33", "Func": "ParseInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13451, "Length": 451, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalNTLoad", "(", "Type", "*", "DataType", ",", "Align", "Alignment", ")", "{", "unsigned", "DataSize", "=", "DL", ".", "getTypeStoreSize", "(", "DataType", ")", ";", "if", "(", "Alignment", ">=", "DataSize", "&&", "(", "DataSize", "==", "16", "||", "DataSize", "==", "32", ")", ")", "return", "DataSize", "==", "16", "?", "ST", "->", "hasSSE1", "(", ")", ":", "ST", "->", "hasAVX2", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "nontemporal", "load", "."], "TS_V_token": ["X86", "X86", "16", "32", "16"], "File": "X86TargetTransformInfo (2)1", "Func": "isLegalNTLoad", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13452, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "MVT", "getShiftAmountTy", "(", "EVT", "LHSTy", ")", "const", "{", "return", "MVT", "::", "i32", ";", "}", ""], "natrual_language": ["Returns", "the", "type", "for", "the", "shift", "amount", "of", "a", "shift", "opcode", "."], "TS_V_token": ["Kudeyar", "MVT::i32"], "File": "KudeyarISelLowering", "Func": "getShiftAmountTy", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13453, "Length": 15, "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", ")", ",", "AllowMixed16_32", "(", "Mixed16_32", "|", "Mips_Os16", ")", ",", "Os16", "(", "Mips_Os16", ")", ",", "HasMSA", "(", "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", "(", ")", "||", "isABI_EABI", "(", ")", ")", ")", "||", "(", "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", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "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": "MipsSubtarget43", "Func": "MipsSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13454, "Length": 455, "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": 13455, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "SparcFrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "FrameReg", ")", "const", "{", "const", "SparcSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "SparcSubtarget", ">", "(", ")", ";", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "SparcRegisterInfo", "*", "RegInfo", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "const", "SparcMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "SparcMachineFunctionInfo", ">", "(", ")", ";", "bool", "isFixed", "=", "MFI", "->", "isFixedObjectIndex", "(", "FI", ")", ";", "bool", "UseFP", ";", "if", "(", "FuncInfo", "->", "isLeafProc", "(", ")", ")", "{", "UseFP", "=", "false", ";", "}", "else", "if", "(", "isFixed", ")", "{", "UseFP", "=", "true", ";", "}", "else", "if", "(", "RegInfo", "->", "needsStackRealignment", "(", "MF", ")", ")", "{", "UseFP", "=", "false", ";", "}", "else", "{", "UseFP", "=", "true", ";", "}", "int64_t", "FrameOffset", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FI", ")", "+", "Subtarget", ".", "getStackPointerBias", "(", ")", ";", "if", "(", "UseFP", ")", "{", "FrameReg", "=", "RegInfo", "->", "getFrameRegister", "(", "MF", ")", ";", "return", "FrameOffset", ";", "}", "else", "{", "FrameReg", "=", "SP", "::", "O6", ";", "return", "FrameOffset", "+", "MF", ".", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "}", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "SP::O6"], "File": "SparcFrameLowering (2)", "Func": "getFrameIndexReference", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13456, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "MipsInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsTargetMachine25", "Func": "getInstrInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13457, "Length": 13, "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", ";", "const", "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": "X86VZeroUpper45", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13458, "Length": 225, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TOYInstrInfo", "::", "expandPostRAPseudo", "(", "MachineInstr", "&", "MI", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["TOY", "TOY"], "File": "TOYInstrInfo1", "Func": "expandPostRAPseudo", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13459, "Length": 15, "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": 13460, "Length": 186, "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", ";", "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", ";", "}", "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", ")", ")", ";", "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": ["powerpcspe", "1", "0", "0", "0", "1", "2", "2", "2", "0", "1", "1", "1", "1", "1", "0"], "File": "powerpcspe", "Func": "vspltis_constant", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13461, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_legitimate_constant_p", "(", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "if", "(", "CONST_INT_P", "(", "x", ")", "||", "(", "CONST_DOUBLE_P", "(", "x", ")", "&&", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", ")", ")", "return", "true", ";", "if", "(", "!", "GET_MODE_SIZE", "(", "mode", ")", ".", "is_constant", "(", ")", ")", "return", "aarch64_simd_valid_immediate", "(", "x", ",", "NULL", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST_VECTOR", ")", "return", "!", "targetm", ".", "cannot_force_const_mem", "(", "mode", ",", "x", ")", ";", "unsigned", "int", "vec_flags", "=", "aarch64_classify_vector_mode", "(", "mode", ")", ";", "if", "(", "vec_flags", "==", "(", "VEC_ADVSIMD", "|", "VEC_STRUCT", ")", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "HIGH", ")", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "poly_int64", "offset", ";", "if", "(", "poly_int_rtx_p", "(", "x", ",", "&", "offset", ")", ")", "return", "aarch64_offset_temporaries", "(", "false", ",", "offset", ")", "<=", "1", ";", "x", "=", "strip_offset_and_salt", "(", "x", ",", "&", "offset", ")", ";", "if", "(", "!", "offset", ".", "is_constant", "(", ")", "&&", "aarch64_offset_temporaries", "(", "true", ",", "offset", ")", ">", "0", ")", "return", "false", ";", "if", "(", "maybe_ne", "(", "offset", ",", "0", ")", "&&", "SYMBOL_REF_P", "(", "x", ")", "&&", "SYMBOL_REF_ANCHOR_P", "(", "x", ")", ")", "return", "false", ";", "if", "(", "SYMBOL_REF_P", "(", "x", ")", "&&", "!", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", ")", "return", "true", ";", "if", "(", "LABEL_REF_P", "(", "x", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LEGITIMATE_CONSTANT_P", "hook", ".", "Return", "true", "for", "constants", "that", "should", "be", "rematerialized", "rather", "than", "spilled", "."], "TS_V_token": ["aarch64", "0", "1", "0", "0"], "File": "aarch641", "Func": "aarch64_legitimate_constant_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13462, "Length": 221, "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", ",", "unsigned", "MIFlags", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "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", ")", ".", "setMIFlags", "(", "MIFlags", ")", ";", "}", ""], "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": "Thumb2RegisterInfo", "Func": "emitLoadConstPool", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13463, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "calling_abi", "ix86_function_type_abi", "(", "const_tree", "fntype", ")", "{", "if", "(", "fntype", "!=", "NULL_TREE", "&&", "TYPE_ATTRIBUTES", "(", "fntype", ")", "!=", "NULL_TREE", ")", "{", "enum", "calling_abi", "abi", "=", "ix86_abi", ";", "if", "(", "abi", "==", "SYSV_ABI", ")", "{", "if", "(", "lookup_attribute", "(", "\"ms_abi\"", ",", "TYPE_ATTRIBUTES", "(", "fntype", ")", ")", ")", "{", "if", "(", "TARGET_X32", ")", "{", "static", "bool", "warned", "=", "false", ";", "if", "(", "!", "warned", ")", "{", "error", "(", "\"X32 does not support ms_abi attribute\"", ")", ";", "warned", "=", "true", ";", "}", "}", "abi", "=", "MS_ABI", ";", "}", "}", "else", "if", "(", "lookup_attribute", "(", "\"sysv_abi\"", ",", "TYPE_ATTRIBUTES", "(", "fntype", ")", ")", ")", "abi", "=", "SYSV_ABI", ";", "return", "abi", ";", "}", "return", "ix86_abi", ";", "}", ""], "natrual_language": ["Returns", "value", "SYSV_ABI", ",", "MS_ABI", "dependent", "on", "fntype", ",", "specifying", "the", "call", "abi", "used", "."], "TS_V_token": ["i386", "\"ms_abi\"", "\"X32 does not support ms_abi attribute\"", "\"sysv_abi\""], "File": "i3864", "Func": "ix86_function_type_abi", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13464, "Length": 107, "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", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "for", "(", "auto", "RPII", "=", "RegPairs", ".", "rbegin", "(", ")", ",", "RPIE", "=", "RegPairs", ".", "rend", "(", ")", ";", "RPII", "!=", "RPIE", ";", "++", "RPII", ")", "{", "RegPairInfo", "RPI", "=", "*", "RPII", ";", "unsigned", "Reg1", "=", "RPI", ".", "Reg1", ";", "unsigned", "Reg2", "=", "RPI", ".", "Reg2", ";", "unsigned", "StrOpc", ";", "if", "(", "RPI", ".", "IsGPR", ")", "StrOpc", "=", "RPI", ".", "isPaired", "(", ")", "?", "AArch64", "::", "STPXi", ":", "AArch64", "::", "STRXui", ";", "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\"", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "StrOpc", ")", ")", ";", "if", "(", "!", "MRI", ".", "isReserved", "(", "Reg1", ")", ")", "MBB", ".", "addLiveIn", "(", "Reg1", ")", ";", "if", "(", "RPI", ".", "isPaired", "(", ")", ")", "{", "if", "(", "!", "MRI", ".", "isReserved", "(", "Reg2", ")", ")", "MBB", ".", "addLiveIn", "(", "Reg2", ")", ";", "MIB", ".", "addReg", "(", "Reg2", ",", "getPrologueDeath", "(", "MF", ",", "Reg2", ")", ")", ";", "MIB", ".", "addMemOperand", "(", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "RPI", ".", "FrameIdx", "+", "1", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "8", ",", "8", ")", ")", ";", "}", "MIB", ".", "addReg", "(", "Reg1", ",", "getPrologueDeath", "(", "MF", ",", "Reg1", ")", ")", ".", "addReg", "(", "AArch64", "::", "SP", ")", ".", "addImm", "(", "RPI", ".", "Offset", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "MIB", ".", "addMemOperand", "(", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "RPI", ".", "FrameIdx", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "8", ",", "8", ")", ")", ";", "}", "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::STPXi", "AArch64::STRXui", "AArch64::STPDi", "AArch64::STRDui", "\"CSR spill: (\"", "\", \"", "\") -> fi#(\"", "\", \"", "1", "\")\\n\"", "1", "8", "8", "AArch64::SP", "8", "8"], "File": "AArch64FrameLowering19", "Func": "spillCalleeSavedRegisters", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13465, "Length": 430, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCTargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "KnownBits", "&", "Known", ",", "const", "APInt", "&", "DemandedElts", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "Known", ".", "resetAll", "(", ")", ";", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "PPCISD", "::", "LBRX", ":", "{", "if", "(", "cast", "<", "VTSDNode", ">", "(", "Op", ".", "getOperand", "(", "2", ")", ")", "->", "getVT", "(", ")", "==", "MVT", "::", "i16", ")", "Known", ".", "Zero", "=", "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", ":", "Known", ".", "Zero", "=", "~", "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", "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)7", "Func": "computeKnownBitsForTargetNode", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13466, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "size_t", "ARMELFAttributeData", "::", "emit", "(", "char", "*", "pBuf", ")", "const", "{", "char", "*", "buffer", "=", "pBuf", ";", "const", "ELFAttributeValue", "&", "attr_conformance", "=", "m_Attrs", "[", "Tag_conformance", "]", ";", "if", "(", "attr_conformance", ".", "shouldEmit", "(", ")", ")", "{", "if", "(", "!", "ELFAttributeData", "::", "WriteAttribute", "(", "Tag_conformance", ",", "attr_conformance", ",", "buffer", ")", ")", "{", "return", "0", ";", "}", "}", "const", "ELFAttributeValue", "&", "attr_nodefaults", "=", "m_Attrs", "[", "Tag_nodefaults", "]", ";", "if", "(", "attr_nodefaults", ".", "shouldEmit", "(", ")", ")", "{", "if", "(", "!", "ELFAttributeData", "::", "WriteAttribute", "(", "Tag_nodefaults", ",", "attr_nodefaults", ",", "buffer", ")", ")", "{", "return", "0", ";", "}", "}", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Tag_nodefaults", ";", "++", "i", ")", "{", "TagType", "tag", "=", "static_cast", "<", "TagType", ">", "(", "i", ")", ";", "const", "ELFAttributeValue", "&", "value", "=", "m_Attrs", "[", "tag", "]", ";", "if", "(", "value", ".", "shouldEmit", "(", ")", "&&", "!", "ELFAttributeData", "::", "WriteAttribute", "(", "tag", ",", "value", ",", "buffer", ")", ")", "{", "return", "0", ";", "}", "}", "for", "(", "unsigned", "i", "=", "(", "Tag_nodefaults", "+", "1", ")", ";", "i", "<=", "Tag_Max", ";", "++", "i", ")", "{", "TagType", "tag", "=", "static_cast", "<", "TagType", ">", "(", "i", ")", ";", "const", "ELFAttributeValue", "&", "value", "=", "m_Attrs", "[", "tag", "]", ";", "if", "(", "value", ".", "shouldEmit", "(", ")", "&&", "(", "i", "!=", "Tag_conformance", ")", "&&", "!", "ELFAttributeData", "::", "WriteAttribute", "(", "tag", ",", "value", ",", "buffer", ")", ")", "{", "return", "0", ";", "}", "}", "for", "(", "UnknownAttrsMap", "::", "const_iterator", "unknown_attr_it", "=", "m_UnknownAttrs", ".", "begin", "(", ")", ",", "unknown_attr_end", "=", "m_UnknownAttrs", ".", "end", "(", ")", ";", "unknown_attr_it", "!=", "unknown_attr_end", ";", "++", "unknown_attr_it", ")", "{", "TagType", "tag", "=", "unknown_attr_it", "->", "first", ";", "const", "ELFAttributeValue", "&", "value", "=", "unknown_attr_it", "->", "second", ";", "if", "(", "value", ".", "shouldEmit", "(", ")", "&&", "!", "ELFAttributeData", "::", "WriteAttribute", "(", "tag", ",", "value", ",", "buffer", ")", ")", "{", "return", "0", ";", "}", "}", "return", "(", "buffer", "-", "pBuf", ")", ";", "}", ""], "natrual_language": ["Output", "the", "remark", "via", "the", "diagnostic", "handler", "and", "to", "the", "optimization", "record", "file", "."], "TS_V_token": ["ARM", "ARM", "0", "0", "0", "0", "1", "0", "0"], "File": "ARMELFAttributeData", "Func": "emit", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13467, "Length": 308, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "sh_find_equiv_gbr_addr", "(", "rtx_insn", "*", "insn", ",", "rtx", "mem", ")", "{", "if", "(", "!", "MEM_P", "(", "mem", ")", "||", "gbr_address_mem", "(", "mem", ",", "GET_MODE", "(", "mem", ")", ")", ")", "return", "NULL_RTX", ";", "if", "(", "side_effects_p", "(", "XEXP", "(", "mem", ",", "0", ")", ")", ")", "return", "NULL_RTX", ";", "if", "(", "df", "==", "NULL", ")", "return", "NULL_RTX", ";", "base_reg_disp", "gbr_disp", "=", "sh_find_base_reg_disp", "(", "insn", ",", "XEXP", "(", "mem", ",", "0", ")", ")", ";", "if", "(", "gbr_disp", ".", "is_reg", "(", ")", "&&", "REGNO", "(", "gbr_disp", ".", "reg", "(", ")", ")", "==", "GBR_REG", ")", "{", "for", "(", "df_ref", "d", "=", "DF_REG_DEF_CHAIN", "(", "GBR_REG", ")", ";", "d", "!=", "NULL", ";", "d", "=", "DF_REF_NEXT_REG", "(", "d", ")", ")", "{", "if", "(", "CALL_P", "(", "DF_REF_INSN", "(", "d", ")", ")", ")", "{", "if", "(", "TEST_HARD_REG_BIT", "(", "regs_invalidated_by_call", ",", "GBR_REG", ")", ")", "return", "NULL_RTX", ";", "else", "continue", ";", "}", "else", "return", "NULL_RTX", ";", "}", "rtx", "disp", "=", "GEN_INT", "(", "gbr_disp", ".", "disp", "(", ")", ")", ";", "if", "(", "gbr_displacement", "(", "disp", ",", "GET_MODE", "(", "mem", ")", ")", ")", "return", "gen_rtx_PLUS", "(", "SImode", ",", "gen_rtx_REG", "(", "SImode", ",", "GBR_REG", ")", ",", "disp", ")", ";", "}", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Given", "an", "insn", "and", "a", "memory", "operand", ",", "try", "to", "find", "an", "equivalent", "GBR", "based", "memory", "address", "and", "return", "the", "corresponding", "new", "memory", "address", ".", "Return", "NULL_RTX", "if", "not", "found", "."], "TS_V_token": ["sh", "0", "0"], "File": "sh", "Func": "sh_find_equiv_gbr_addr", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13468, "Length": 189, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "TLSCLEANUP_PASS_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64"], "File": "AArch64CleanupLocalDynamicTLSPass10", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13469, "Length": 11, "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": 13470, "Length": 294, "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": 13471, "Length": 281, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_function_value_regno_p", "(", "const", "unsigned", "int", "regno", ")", "{", "switch", "(", "regno", ")", "{", "case", "AX_REG", ":", "return", "true", ";", "case", "DX_REG", ":", "return", "(", "!", "TARGET_64BIT", "||", "ix86_cfun_abi", "(", ")", "!=", "MS_ABI", ")", ";", "case", "DI_REG", ":", "case", "SI_REG", ":", "return", "TARGET_64BIT", "&&", "ix86_cfun_abi", "(", ")", "!=", "MS_ABI", ";", "case", "BND0_REG", ":", "case", "BND1_REG", ":", "return", "chkp_function_instrumented_p", "(", "current_function_decl", ")", ";", "case", "ST0_REG", ":", "case", "ST1_REG", ":", "if", "(", "TARGET_64BIT", "&&", "ix86_cfun_abi", "(", ")", "==", "MS_ABI", ")", "return", "false", ";", "return", "TARGET_FLOAT_RETURNS_IN_80387", ";", "case", "XMM0_REG", ":", "case", "XMM1_REG", ":", "return", "TARGET_SSE", ";", "case", "MM0_REG", ":", "if", "(", "TARGET_MACHO", "||", "TARGET_64BIT", ")", "return", "false", ";", "return", "TARGET_MMX", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "N", "is", "a", "possible", "register", "number", "of", "function", "value", "."], "TS_V_token": ["i386"], "File": "i3865", "Func": "ix86_function_value_regno_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13472, "Length": 114, "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_TRUNC", ":", "case", "G_ADD", ":", "case", "G_SUB", ":", "case", "G_LOAD", ":", "case", "G_STORE", ":", "case", "G_ZEXTLOAD", ":", "case", "G_SEXTLOAD", ":", "case", "G_GEP", ":", "case", "G_AND", ":", "case", "G_OR", ":", "case", "G_XOR", ":", "case", "G_SHL", ":", "case", "G_ASHR", ":", "case", "G_LSHR", ":", "case", "G_SDIV", ":", "case", "G_UDIV", ":", "case", "G_SREM", ":", "case", "G_UREM", ":", "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", ";", "case", "G_SELECT", ":", "OperandsMapping", "=", "getOperandsMapping", "(", "{", "&", "Mips", "::", "ValueMappings", "[", "Mips", "::", "GPRIdx", "]", ",", "&", "Mips", "::", "ValueMappings", "[", "Mips", "::", "GPRIdx", "]", ",", "&", "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", "Mips::ValueMappings", "Mips::GPRIdx", "Mips::ValueMappings", "Mips::GPRIdx", "Mips::ValueMappings", "Mips::GPRIdx", "Mips::ValueMappings", "Mips::GPRIdx", "1"], "File": "MipsRegisterBankInfo29", "Func": "getInstrMapping", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13473, "Length": 296, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMFrameLowering", "::", "enableShrinkWrapping", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "STI", ".", "hasV8_1MMainlineOps", "(", ")", "&&", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", "->", "isCmseNSEntryFunction", "(", ")", ")", "return", "false", ";", "if", "(", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", "->", "shouldSignReturnAddress", "(", "true", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "will", "correctly", "handle", "shrink", "wrapping", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "ARMFrameLowering3", "Func": "enableShrinkWrapping", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13474, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_ptrue_all", "(", "unsigned", "int", "elt_size", ")", "{", "rtx_vector_builder", "builder", "(", "VNx16BImode", ",", "elt_size", ",", "1", ")", ";", "builder", ".", "quick_push", "(", "const1_rtx", ")", ";", "for", "(", "unsigned", "int", "i", "=", "1", ";", "i", "<", "elt_size", ";", "++", "i", ")", "builder", ".", "quick_push", "(", "const0_rtx", ")", ";", "return", "builder", ".", "build", "(", ")", ";", "}", ""], "natrual_language": ["Return", "a", "VNx16BImode", "constant", "in", "which", "every", "sequence", "of", "ELT_SIZE", "bits", "has", "the", "lowest", "bit", "set", "and", "the", "upper", "bits", "clear", ".", "This", "is", "the", "VNx16BImode", "equivalent", "of", "a", "PTRUE", "for", "controlling", "elements", "of", "ELT_SIZE", "bytes", ".", "However", ",", "because", "the", "constant", "is", "VNx16BImode", ",", "all", "bits", "are", "significant", ",", "even", "the", "upper", "zeros", "."], "TS_V_token": ["aarch64", "1", "1"], "File": "aarch64", "Func": "aarch64_ptrue_all", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13475, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "const", "TargetRegisterClass", "*", ",", "uint8_t", ">", "AArch64TargetLowering", "::", "findRepresentativeClass", "(", "MVT", "VT", ")", "const", "{", "const", "TargetRegisterClass", "*", "RRC", "=", "nullptr", ";", "uint8_t", "Cost", "=", "1", ";", "switch", "(", "VT", ".", "SimpleTy", ")", "{", "default", ":", "return", "TargetLowering", "::", "findRepresentativeClass", "(", "VT", ")", ";", "case", "MVT", "::", "v4i64", ":", "RRC", "=", "&", "AArch64", "::", "QPairRegClass", ";", "Cost", "=", "2", ";", "break", ";", "case", "MVT", "::", "v8i64", ":", "RRC", "=", "&", "AArch64", "::", "QQuadRegClass", ";", "Cost", "=", "4", ";", "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": ["AArch64", "AArch64", "1", "MVT::v4i64", "AArch64::QPairRegClass", "2", "MVT::v8i64", "AArch64::QQuadRegClass", "4"], "File": "AArch64ISelLowering109", "Func": "findRepresentativeClass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13476, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZRegisterInfo", "::", "saveScavengerRegister", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "SaveMBBI", ",", "MachineBasicBlock", "::", "iterator", "&", "UseMBBI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "unsigned", "Reg", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "SystemZInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "SystemZInstrInfo", "*", ">", "(", "TM", ".", "getInstrInfo", "(", ")", ")", ";", "const", "SystemZFrameLowering", "*", "TFI", "=", "static_cast", "<", "const", "SystemZFrameLowering", "*", ">", "(", "TM", ".", "getFrameLowering", "(", ")", ")", ";", "unsigned", "Base", "=", "getFrameRegister", "(", "MF", ")", ";", "uint64_t", "Offset", "=", "TFI", "->", "getEmergencySpillSlotOffset", "(", "MF", ")", ";", "DebugLoc", "DL", ";", "unsigned", "LoadOpcode", ",", "StoreOpcode", ";", "TII", ".", "getLoadStoreOpcodes", "(", "RC", ",", "LoadOpcode", ",", "StoreOpcode", ")", ";", "BuildMI", "(", "MBB", ",", "SaveMBBI", ",", "DL", ",", "TII", ".", "get", "(", "StoreOpcode", ")", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "Base", ")", ".", "addImm", "(", "Offset", ")", ".", "addReg", "(", "0", ")", ";", "BuildMI", "(", "MBB", ",", "UseMBBI", ",", "DL", ",", "TII", ".", "get", "(", "LoadOpcode", ")", ",", "Reg", ")", ".", "addReg", "(", "Base", ")", ".", "addImm", "(", "Offset", ")", ".", "addReg", "(", "0", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Spill", "the", "register", "so", "it", "can", "be", "used", "by", "the", "register", "scavenger", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "0", "0"], "File": "SystemZRegisterInfo55", "Func": "saveScavengerRegister", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13477, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "ix86_handle_shared_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", ",", "int", ",", "bool", "*", "no_add_attrs", ")", "{", "if", "(", "TREE_CODE", "(", "*", "node", ")", "!=", "VAR_DECL", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute only applies to variables\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "a", "``", "shared", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["i386", "\"%qE attribute only applies to variables\""], "File": "winnt", "Func": "ix86_handle_shared_attribute", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13478, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_evpc_rev_local", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "HOST_WIDE_INT", "diff", ";", "unsigned", "int", "i", ",", "size", ",", "unspec", ";", "machine_mode", "pred_mode", ";", "if", "(", "d", "->", "vec_flags", "==", "VEC_SVE_PRED", "||", "!", "d", "->", "one_vector_p", "||", "!", "d", "->", "perm", "[", "0", "]", ".", "is_constant", "(", "&", "diff", ")", ")", "return", "false", ";", "size", "=", "(", "diff", "+", "1", ")", "*", "GET_MODE_UNIT_SIZE", "(", "d", "->", "vmode", ")", ";", "if", "(", "size", "==", "8", ")", "{", "unspec", "=", "UNSPEC_REV64", ";", "pred_mode", "=", "VNx2BImode", ";", "}", "else", "if", "(", "size", "==", "4", ")", "{", "unspec", "=", "UNSPEC_REV32", ";", "pred_mode", "=", "VNx4BImode", ";", "}", "else", "if", "(", "size", "==", "2", ")", "{", "unspec", "=", "UNSPEC_REV16", ";", "pred_mode", "=", "VNx8BImode", ";", "}", "else", "return", "false", ";", "unsigned", "int", "step", "=", "diff", "+", "1", ";", "for", "(", "i", "=", "0", ";", "i", "<", "step", ";", "++", "i", ")", "if", "(", "!", "d", "->", "perm", ".", "series_p", "(", "i", ",", "step", ",", "diff", "-", "i", ",", "step", ")", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "rtx", "src", "=", "gen_rtx_UNSPEC", "(", "d", "->", "vmode", ",", "gen_rtvec", "(", "1", ",", "d", "->", "op0", ")", ",", "unspec", ")", ";", "if", "(", "d", "->", "vec_flags", "==", "VEC_SVE_DATA", ")", "{", "rtx", "pred", "=", "force_reg", "(", "pred_mode", ",", "CONSTM1_RTX", "(", "pred_mode", ")", ")", ";", "src", "=", "gen_rtx_UNSPEC", "(", "d", "->", "vmode", ",", "gen_rtvec", "(", "2", ",", "pred", ",", "src", ")", ",", "UNSPEC_MERGE_PTRUE", ")", ";", "}", "emit_set_insn", "(", "d", "->", "target", ",", "src", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "for", "the", "REV", "{", "64,32,16", "}", "insns", ",", "which", "reverse", "elements", "within", "each", "64-bit", ",", "32-bit", "or", "16-bit", "granule", "."], "TS_V_token": ["aarch64", "0", "1", "8", "4", "2", "1", "0", "1", "2"], "File": "aarch645", "Func": "aarch64_evpc_rev_local", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13479, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "branch_dest", "(", "rtx", "branch", ")", "{", "rtx", "dest", "=", "SET_SRC", "(", "PATTERN", "(", "branch", ")", ")", ";", "if", "(", "GET_CODE", "(", "dest", ")", "==", "IF_THEN_ELSE", ")", "dest", "=", "XEXP", "(", "dest", ",", "1", ")", ";", "return", "INSN_ADDRESSES", "(", "INSN_UID", "(", "XEXP", "(", "dest", ",", "0", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "destination", "address", "of", "BRANCH", ".", "We", "need", "to", "use", "this", "instead", "of", "get_attr_length", ",", "because", "the", "cbranch_with_nops", "pattern", "conservatively", "sets", "its", "length", "to", "6", ",", "and", "we", "still", "prefer", "to", "use", "shorter", "sequences", "."], "TS_V_token": ["sh", "1", "0"], "File": "sh", "Func": "branch_dest", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13480, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "thumb2_expand_return", "(", "bool", "simple_return", ")", "{", "int", "i", ",", "num_regs", ";", "unsigned", "long", "saved_regs_mask", ";", "arm_stack_offsets", "*", "offsets", ";", "offsets", "=", "arm_get_frame_offsets", "(", ")", ";", "saved_regs_mask", "=", "offsets", "->", "saved_regs_mask", ";", "for", "(", "i", "=", "0", ",", "num_regs", "=", "0", ";", "i", "<=", "LAST_ARM_REGNUM", ";", "i", "++", ")", "if", "(", "saved_regs_mask", "&", "(", "1", "<<", "i", ")", ")", "num_regs", "++", ";", "if", "(", "!", "simple_return", "&&", "saved_regs_mask", ")", "{", "if", "(", "num_regs", "==", "1", ")", "{", "rtx", "par", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "2", ")", ")", ";", "rtx", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "PC_REGNUM", ")", ";", "rtx", "addr", "=", "gen_rtx_MEM", "(", "SImode", ",", "gen_rtx_POST_INC", "(", "SImode", ",", "stack_pointer_rtx", ")", ")", ";", "set_mem_alias_set", "(", "addr", ",", "get_frame_alias_set", "(", ")", ")", ";", "XVECEXP", "(", "par", ",", "0", ",", "0", ")", "=", "ret_rtx", ";", "XVECEXP", "(", "par", ",", "0", ",", "1", ")", "=", "gen_rtx_SET", "(", "reg", ",", "addr", ")", ";", "RTX_FRAME_RELATED_P", "(", "XVECEXP", "(", "par", ",", "0", ",", "1", ")", ")", "=", "1", ";", "emit_jump_insn", "(", "par", ")", ";", "}", "else", "{", "saved_regs_mask", "&=", "~", "(", "1", "<<", "LR_REGNUM", ")", ";", "saved_regs_mask", "|=", "(", "1", "<<", "PC_REGNUM", ")", ";", "arm_emit_multi_reg_pop", "(", "saved_regs_mask", ")", ";", "}", "}", "else", "{", "emit_jump_insn", "(", "simple_return_rtx", ")", ";", "}", "}", ""], "natrual_language": ["Generate", "pattern", "*", "pop_multiple_with_stack_update_and_return", "if", "single", "POP", "instruction", "can", "be", "generated", ".", "LR", "should", "be", "replaced", "by", "PC", ".", "All", "the", "checks", "required", "are", "already", "done", "by", "USE_RETURN_INSN", "(", ")", ".", "Hence", ",", "all", "we", "really", "need", "to", "check", "here", "is", "if", "single", "register", "is", "to", "be", "returned", ",", "or", "multiple", "register", "return", "."], "TS_V_token": ["arm", "0", "0", "1", "1", "2", "0", "0", "0", "1", "0", "1", "1", "1", "1"], "File": "arm5", "Func": "thumb2_expand_return", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13481, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_set_sched_context", "(", "void", "*", "_sc", ")", "{", "rs6000_sched_context_t", "sc", "=", "(", "rs6000_sched_context_t", ")", "_sc", ";", "gcc_assert", "(", "sc", "!=", "NULL", ")", ";", "cached_can_issue_more", "=", "sc", "->", "cached_can_issue_more", ";", "last_scheduled_insn", "=", "sc", "->", "last_scheduled_insn", ";", "load_store_pendulum", "=", "sc", "->", "load_store_pendulum", ";", "divide_cnt", "=", "sc", "->", "divide_cnt", ";", "vec_pairing", "=", "sc", "->", "vec_pairing", ";", "}", ""], "natrual_language": ["Sets", "the", "global", "scheduling", "context", "to", "the", "one", "pointed", "to", "by", "_SC", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_set_sched_context", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13482, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "shouldExpandAtomicStoreInIR", "(", "StoreInst", "*", "SI", ")", "const", "{", "Type", "*", "MemType", "=", "SI", "->", "getValueOperand", "(", ")", "->", "getType", "(", ")", ";", "bool", "NoImplicitFloatOps", "=", "SI", "->", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ";", "if", "(", "MemType", "->", "getPrimitiveSizeInBits", "(", ")", "==", "64", "&&", "!", "Subtarget", ".", "is64Bit", "(", ")", "&&", "!", "Subtarget", ".", "useSoftFloat", "(", ")", "&&", "!", "NoImplicitFloatOps", "&&", "(", "Subtarget", ".", "hasSSE1", "(", ")", "||", "Subtarget", ".", "hasX87", "(", ")", ")", ")", "return", "false", ";", "return", "needsCmpXchgNb", "(", "MemType", ")", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "(", "atomic", ")", "store", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "into", "."], "TS_V_token": ["X86", "X86", "64"], "File": "X86ISelLowering (2)5", "Func": "shouldExpandAtomicStoreInIR", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13483, "Length": 92, "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", "(", "ExperimentalVectorWideningLegalization", "&&", "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)8", "Func": "getPreferredVectorAction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13484, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "insn_code", "aarch64_constant_pool_reload_icode", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "SFmode", ":", "return", "CODE_FOR_aarch64_reload_movcpsfdi", ";", "case", "DFmode", ":", "return", "CODE_FOR_aarch64_reload_movcpdfdi", ";", "case", "TFmode", ":", "return", "CODE_FOR_aarch64_reload_movcptfdi", ";", "case", "V8QImode", ":", "return", "CODE_FOR_aarch64_reload_movcpv8qidi", ";", "case", "V16QImode", ":", "return", "CODE_FOR_aarch64_reload_movcpv16qidi", ";", "case", "V4HImode", ":", "return", "CODE_FOR_aarch64_reload_movcpv4hidi", ";", "case", "V8HImode", ":", "return", "CODE_FOR_aarch64_reload_movcpv8hidi", ";", "case", "V2SImode", ":", "return", "CODE_FOR_aarch64_reload_movcpv2sidi", ";", "case", "V4SImode", ":", "return", "CODE_FOR_aarch64_reload_movcpv4sidi", ";", "case", "V2DImode", ":", "return", "CODE_FOR_aarch64_reload_movcpv2didi", ";", "case", "V2DFmode", ":", "return", "CODE_FOR_aarch64_reload_movcpv2dfdi", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "reload", "icode", "required", "for", "a", "constant", "pool", "in", "mode", "."], "TS_V_token": ["aarch64"], "File": "aarch643", "Func": "aarch64_constant_pool_reload_icode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13485, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "unique_ptr", "<", "CSEConfigBase", ">", "AArch64PassConfig", "::", "getCSEConfig", "(", ")", "const", "{", "return", "getStandardCSEConfigForOpt", "(", "TM", "->", "getOptLevel", "(", ")", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "CSEConfig", "object", "to", "use", "for", "the", "current", "optimization", "level", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64TargetMachine1", "Func": "getCSEConfig", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13486, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "execute", "(", "function", "*", ")", "final", "override", "{", "return", "remove_partial_avx_dependency", "(", ")", ";", "}", ""], "natrual_language": ["Main", "entry", "point", "for", "this", "pass", "."], "TS_V_token": ["i386"], "File": "i386-features1", "Func": "execute", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13487, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64RegisterBankInfo", "::", "copyCost", "(", "const", "RegisterBank", "&", "A", ",", "const", "RegisterBank", "&", "B", ")", "const", "{", "return", "0", ";", "}", ""], "natrual_language": ["Get", "the", "cost", "of", "a", "copy", "from", "B", "to", "A", ",", "or", "put", "differently", ",", "get", "the", "cost", "of", "A", "=", "COPY", "B", "."], "TS_V_token": ["AArch64", "AArch64", "0"], "File": "AArch64RegisterBankInfo27", "Func": "copyCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13488, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "PPCRegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "if", "(", "Subtarget", ".", "isPPC64", "(", ")", ")", "return", "&", "PPC", "::", "G8RCRegClass", ";", "return", "&", "PPC", "::", "GPRCRegClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::G8RCRegClass", "PPC::GPRCRegClass"], "File": "PPCRegisterInfo14", "Func": "getPointerRegClass", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13489, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getFramePointerSaveOffset", "(", ")", "const", "{", "return", "FramePointerSaveOffset", ";", "}", ""], "natrual_language": ["getFramePointerSaveOffset", "-", "Return", "the", "previous", "frame", "offset", "to", "save", "the", "frame", "pointer", "."], "TS_V_token": ["PowerPC"], "File": "PPCFrameLowering (2)", "Func": "getFramePointerSaveOffset", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13490, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetObjectFile", "::", "IsGlobalInSmallSection", "(", "const", "GlobalValue", "*", "GV", ",", "const", "TargetMachine", "&", "TM", ",", "SectionKind", "Kind", ")", "const", "{", "return", "(", "IsGlobalInSmallSectionImpl", "(", "GV", ",", "TM", ")", "&&", "(", "Kind", ".", "isDataRel", "(", ")", "||", "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": "MipsTargetObjectFile16", "Func": "IsGlobalInSmallSection", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13491, "Length": 51, "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": 13492, "Length": 369, "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": 13493, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsCallEntry", "::", "printCustom", "(", "raw_ostream", "&", "O", ")", "const", "{", "O", "<<", "\"MipsCallEntry: \"", ";", "if", "(", "Val", ")", "O", "<<", "Val", "->", "getName", "(", ")", ";", "else", "O", "<<", "Name", ";", "}", ""], "natrual_language": ["Implement", "printing", "for", "PseudoSourceValue", "."], "TS_V_token": ["Mips", "Mips", "\"MipsCallEntry: \""], "File": "MipsMachineFunction", "Func": "printCustom", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13494, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcInstrInfo", "::", "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", "==", "&", "SP", "::", "I64RegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDXri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "IntRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "FPRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDFri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "DFPRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDDFri", ")", ",", "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": ["Sparc", "Sparc", "SP::I64RegsRegClass", "SP::LDXri", "0", "SP::IntRegsRegClass", "SP::LDri", "0", "SP::FPRegsRegClass", "SP::LDFri", "0", "SP::DFPRegsRegClass", "SP::LDDFri", "0", "\"Can't load this register from stack slot\""], "File": "SparcInstrInfo52", "Func": "loadRegFromStackSlot", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13495, "Length": 211, "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", ")", ";", "rtx", "(", "*", "load_unaligned", ")", "(", "rtx", ",", "rtx", ")", ";", "rtx", "(", "*", "store_unaligned", ")", "(", "rtx", ",", "rtx", ")", ";", "machine_mode", "mode", ";", "switch", "(", "GET_MODE", "(", "op0", ")", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "V32QImode", ":", "extract", "=", "gen_avx_vextractf128v32qi", ";", "load_unaligned", "=", "gen_avx_loaddquv32qi", ";", "store_unaligned", "=", "gen_avx_storedquv32qi", ";", "mode", "=", "V16QImode", ";", "break", ";", "case", "V8SFmode", ":", "extract", "=", "gen_avx_vextractf128v8sf", ";", "load_unaligned", "=", "gen_avx_loadups256", ";", "store_unaligned", "=", "gen_avx_storeups256", ";", "mode", "=", "V4SFmode", ";", "break", ";", "case", "V4DFmode", ":", "extract", "=", "gen_avx_vextractf128v4df", ";", "load_unaligned", "=", "gen_avx_loadupd256", ";", "store_unaligned", "=", "gen_avx_storeupd256", ";", "mode", "=", "V2DFmode", ";", "break", ";", "}", "if", "(", "MEM_P", "(", "op1", ")", ")", "{", "if", "(", "TARGET_AVX256_SPLIT_UNALIGNED_LOAD", "&&", "optimize_insn_for_speed_p", "(", ")", ")", "{", "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", "(", "misaligned_operand", "(", "op1", ",", "GET_MODE", "(", "op1", ")", ")", ")", "emit_insn", "(", "gen_rtx_SET", "(", "op0", ",", "op1", ")", ")", ";", "else", "emit_insn", "(", "load_unaligned", "(", "op0", ",", "op1", ")", ")", ";", "}", "else", "if", "(", "MEM_P", "(", "op0", ")", ")", "{", "if", "(", "TARGET_AVX256_SPLIT_UNALIGNED_STORE", "&&", "optimize_insn_for_speed_p", "(", ")", ")", "{", "m", "=", "adjust_address", "(", "op0", ",", "mode", ",", "0", ")", ";", "emit_insn", "(", "extract", "(", "m", ",", "op1", ",", "const0_rtx", ")", ")", ";", "m", "=", "adjust_address", "(", "op0", ",", "mode", ",", "16", ")", ";", "emit_insn", "(", "extract", "(", "m", ",", "op1", ",", "const1_rtx", ")", ")", ";", "}", "else", "emit_insn", "(", "store_unaligned", "(", "op0", ",", "op1", ")", ")", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Split", "32-byte", "AVX", "unaligned", "load", "and", "store", "if", "needed", "."], "TS_V_token": ["i386", "0", "16", "0", "16"], "File": "i3865", "Func": "ix86_avx256_split_vector_move_misalign", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13496, "Length": 324, "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": 13497, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "TOYTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "getTargetMachine", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "CC_TOY", ")", ";", "SDValue", "ArgValue", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "ArgLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "i", "]", ";", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "EVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", ";", "if", "(", "RegVT", "==", "MVT", "::", "i32", ")", "RC", "=", "&", "TOY", "::", "GRRegsRegClass", ";", "else", "llvm_unreachable", "(", "\"LowerFormalArgments: Other types are not Implemented\\n\"", ")", ";", "unsigned", "Reg", "=", "MF", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "RC", ")", ";", "ArgValue", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "Reg", ",", "RegVT", ")", ";", "InVals", ".", "push_back", "(", "ArgValue", ")", ";", "}", "else", "{", "unsigned", "Offset", "=", "VA", ".", "getLocMemOffset", "(", ")", ";", "int", "FI", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "CreateFixedObject", "(", "4", ",", "Offset", ",", "true", ")", ";", "SDValue", "FIPtr", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "getPointerTy", "(", ")", ")", ";", "SDValue", "Load", ";", "if", "(", "VA", ".", "getValVT", "(", ")", "==", "MVT", "::", "i32", ")", "{", "Load", "=", "DAG", ".", "getLoad", "(", "VA", ".", "getValVT", "(", ")", ",", "dl", ",", "Chain", ",", "FIPtr", ",", "MachinePointerInfo", "(", ")", ",", "false", ",", "false", ",", "false", ",", "4", ")", ";", "}", "else", "{", "llvm_unreachable", "(", "\"Other types in stack are not supported yet!\"", ")", ";", "}", "InVals", ".", "push_back", "(", "Load", ")", ";", "}", "}", "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": ["TOY", "TOY", "ISD::InputArg", "16", "TOY", "0", "MVT::i32", "TOY::GRRegsRegClass", "\"LowerFormalArgments: Other types are not Implemented\\n\"", "4", "MVT::i32", "4", "\"Other types in stack are not supported yet!\""], "File": "TOYISelLowering", "Func": "LowerFormalArguments", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13498, "Length": 326, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "OR1KDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "unsigned", "Opcode", "=", "Node", "->", "getOpcode", "(", ")", ";", "SDLoc", "dl", "(", "Node", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"Selecting: \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"== \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "Node", "->", "setNodeId", "(", "-", "1", ")", ";", "return", ";", "}", "switch", "(", "Opcode", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "FrameIndex", ":", "{", "SDValue", "imm", "=", "CurDAG", "->", "getTargetConstant", "(", "0", ",", "dl", ",", "MVT", "::", "i32", ")", ";", "int", "FI", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "Node", ")", "->", "getIndex", "(", ")", ";", "EVT", "VT", "=", "Node", "->", "getValueType", "(", "0", ")", ";", "SDValue", "TFI", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "VT", ")", ";", "unsigned", "Opc", "=", "OR1K", "::", "ADDI", ";", "if", "(", "Node", "->", "hasOneUse", "(", ")", ")", "CurDAG", "->", "SelectNodeTo", "(", "Node", ",", "Opc", ",", "VT", ",", "TFI", ",", "imm", ")", ";", "else", "ReplaceNode", "(", "Node", ",", "CurDAG", "->", "getMachineNode", "(", "Opc", ",", "dl", ",", "VT", ",", "TFI", ",", "imm", ")", ")", ";", "return", ";", "}", "}", "SelectCode", "(", "Node", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["OR1K", "OR1K", "\"Selecting: \"", "\"\\n\"", "\"== \"", "\"\\n\"", "1", "ISD::FrameIndex", "0", "MVT::i32", "0", "OR1K::ADDI"], "File": "OR1KISelDAGToDAG1", "Func": "Select", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13499, "Length": 218, "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", "{", "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", "\"Impossible reg-to-reg copy from \"", "\" to \"", "\"\\n\"", "\"Impossible reg-to-reg copy\""], "File": "VEInstrInfo1", "Func": "copyPhysReg", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13500, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nds32_reg_base_load_store_p", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "mem_src", "=", "NULL_RTX", ";", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_LOAD", ":", "mem_src", "=", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ";", "break", ";", "case", "TYPE_STORE", ":", "mem_src", "=", "SET_DEST", "(", "PATTERN", "(", "insn", ")", ")", ";", "break", ";", "default", ":", "break", ";", "}", "if", "(", "mem_src", "!=", "NULL_RTX", ")", "{", "if", "(", "(", "GET_CODE", "(", "mem_src", ")", "==", "ZERO_EXTEND", ")", "||", "(", "GET_CODE", "(", "mem_src", ")", "==", "SIGN_EXTEND", ")", ")", "mem_src", "=", "XEXP", "(", "mem_src", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "mem_src", ",", "0", ")", ")", "==", "REG", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "is", "load/store", "with", "REG", "addressing", "mode", "and", "memory", "mode", "is", "SImode", "."], "TS_V_token": ["nds32", "0", "0"], "File": "nds32-relax-opt", "Func": "nds32_reg_base_load_store_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13501, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "rs6000_libcall_value", "(", "machine_mode", "mode", ")", "{", "unsigned", "int", "regno", ";", "if", "(", "TARGET_32BIT", "&&", "TARGET_POWERPC64", "&&", "mode", "==", "DImode", ")", "return", "rs6000_parallel_return", "(", "mode", ",", "2", ",", "SImode", ",", "GP_ARG_RETURN", ",", "1", ")", ";", "if", "(", "DECIMAL_FLOAT_MODE_P", "(", "mode", ")", "&&", "TARGET_HARD_FLOAT", ")", "regno", "=", "(", "mode", "==", "TDmode", ")", "?", "FP_ARG_RETURN", "+", "1", ":", "FP_ARG_RETURN", ";", "else", "if", "(", "SCALAR_FLOAT_MODE_NOT_VECTOR_P", "(", "mode", ")", "&&", "TARGET_HARD_FLOAT", "&&", "(", "(", "TARGET_SINGLE_FLOAT", "&&", "mode", "==", "SFmode", ")", "||", "TARGET_DOUBLE_FLOAT", ")", ")", "regno", "=", "FP_ARG_RETURN", ";", "else", "if", "(", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "mode", ")", "&&", "TARGET_ALTIVEC", "&&", "TARGET_ALTIVEC_ABI", ")", "regno", "=", "ALTIVEC_ARG_RETURN", ";", "else", "if", "(", "COMPLEX_MODE_P", "(", "mode", ")", "&&", "targetm", ".", "calls", ".", "split_complex_arg", ")", "return", "rs6000_complex_function_value", "(", "mode", ")", ";", "else", "regno", "=", "GP_ARG_RETURN", ";", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "}", ""], "natrual_language": ["Define", "how", "to", "find", "the", "value", "returned", "by", "a", "library", "function", "assuming", "the", "value", "has", "mode", "MODE", "."], "TS_V_token": ["rs6000", "2", "1", "1"], "File": "rs60007", "Func": "rs6000_libcall_value", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13502, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZTargetLowering", "::", "isLegalAddressingMode", "(", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ")", "const", "{", "if", "(", "AM", ".", "BaseGV", ")", "return", "false", ";", "if", "(", "!", "isInt", "<", "20", ">", "(", "AM", ".", "BaseOffs", ")", ")", "return", "false", ";", "return", "AM", ".", "Scale", "==", "0", "||", "AM", ".", "Scale", "==", "1", ";", "}", ""], "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": ["SystemZ", "SystemZ", "20", "0", "1"], "File": "SystemZISelLowering (2)", "Func": "isLegalAddressingMode", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13503, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "X86TargetMachine", "*", "TM", "=", "static_cast", "<", "const", "X86TargetMachine", "*", ">", "(", "&", "MF", ".", "getTarget", "(", ")", ")", ";", "const", "X86RegisterInfo", "*", "X86RI", "=", "TM", "->", "getRegisterInfo", "(", ")", ";", "MachineRegisterInfo", "&", "RI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "X86MachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "unsigned", "StackAlignment", "=", "X86RI", "->", "getStackAlignment", "(", ")", ";", "for", "(", "unsigned", "RegNum", "=", "TargetRegisterInfo", "::", "FirstVirtualRegister", ";", "RegNum", "<", "RI", ".", "getLastVirtReg", "(", ")", ";", "++", "RegNum", ")", "if", "(", "RI", ".", "getRegClass", "(", "RegNum", ")", "->", "getAlignment", "(", ")", ">", "StackAlignment", ")", "{", "FuncInfo", "->", "setReserveFP", "(", "true", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86RegisterInfo11", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13504, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSymbol", "*", "OR1KMCInstLower", "::", "GetBlockAddressSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "return", "Printer", ".", "GetBlockAddressSymbol", "(", "MO", ".", "getBlockAddress", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "MCSymbol", "used", "to", "satisfy", "BlockAddress", "uses", "of", "the", "specified", "basic", "block", "."], "TS_V_token": ["OR1K", "OR1K"], "File": "OR1KMCInstLower", "Func": "GetBlockAddressSymbol", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13505, "Length": 26, "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": 13506, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "def_builtin", "(", "const", "char", "*", "name", ",", "tree", "type", ",", "enum", "rs6000_builtins", "code", ")", "{", "tree", "t", ";", "unsigned", "classify", "=", "rs6000_builtin_info", "[", "(", "int", ")", "code", "]", ".", "attr", ";", "const", "char", "*", "attr_string", "=", "\"\"", ";", "gcc_assert", "(", "name", "!=", "NULL", ")", ";", "gcc_assert", "(", "IN_RANGE", "(", "(", "int", ")", "code", ",", "0", ",", "(", "int", ")", "RS6000_BUILTIN_COUNT", ")", ")", ";", "if", "(", "rs6000_builtin_decls", "[", "(", "int", ")", "code", "]", ")", "fatal_error", "(", "input_location", ",", "\"internal error: builtin function %s already processed\"", ",", "name", ")", ";", "rs6000_builtin_decls", "[", "(", "int", ")", "code", "]", "=", "t", "=", "add_builtin_function", "(", "name", ",", "type", ",", "(", "int", ")", "code", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "if", "(", "(", "classify", "&", "RS6000_BTC_CONST", ")", "!=", "0", ")", "{", "TREE_READONLY", "(", "t", ")", "=", "1", ";", "TREE_NOTHROW", "(", "t", ")", "=", "1", ";", "attr_string", "=", "\", const\"", ";", "}", "else", "if", "(", "(", "classify", "&", "RS6000_BTC_PURE", ")", "!=", "0", ")", "{", "DECL_PURE_P", "(", "t", ")", "=", "1", ";", "TREE_NOTHROW", "(", "t", ")", "=", "1", ";", "attr_string", "=", "\", pure\"", ";", "}", "else", "if", "(", "(", "classify", "&", "RS6000_BTC_FP", ")", "!=", "0", ")", "{", "TREE_NOTHROW", "(", "t", ")", "=", "1", ";", "if", "(", "flag_rounding_math", ")", "{", "DECL_PURE_P", "(", "t", ")", "=", "1", ";", "DECL_IS_NOVOPS", "(", "t", ")", "=", "1", ";", "attr_string", "=", "\", fp, pure\"", ";", "}", "else", "{", "TREE_READONLY", "(", "t", ")", "=", "1", ";", "attr_string", "=", "\", fp, const\"", ";", "}", "}", "else", "if", "(", "(", "classify", "&", "RS6000_BTC_ATTR_MASK", ")", "!=", "0", ")", "gcc_unreachable", "(", ")", ";", "if", "(", "TARGET_DEBUG_BUILTIN", ")", "fprintf", "(", "stderr", ",", "\"rs6000_builtin, code = %4d, %s%s\\n\"", ",", "(", "int", ")", "code", ",", "name", ",", "attr_string", ")", ";", "}", ""], "natrual_language": ["Add", "a", "SPARC", "builtin", "function", "with", "NAME", ",", "ICODE", ",", "CODE", "and", "TYPE", ".", "Return", "the", "function", "decl", "or", "NULL_TREE", "if", "the", "builtin", "was", "not", "added", "."], "TS_V_token": ["rs6000", "\"\"", "0", "\"internal error: builtin function %s already processed\"", "0", "1", "1", "\", const\"", "0", "1", "1", "\", pure\"", "0", "1", "1", "1", "\", fp, pure\"", "1", "\", fp, const\"", "0", "\"rs6000_builtin, code = %4d, %s%s\\n\""], "File": "rs60006", "Func": "def_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13507, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "ForCodeSize", "=", "MF", ".", "getFunction", "(", ")", ".", "optForSize", "(", ")", ";", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ";", "return", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ISelDAGToDAG18", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13508, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_swsqrt", "(", "rtx", "dst", ",", "rtx", "src", ",", "bool", "recip", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "src", ")", ";", "rtx", "e", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rtx", "g", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rtx", "h", "=", "gen_reg_rtx", "(", "mode", ")", ";", "int", "passes", "=", "(", "TARGET_RECIP_PRECISION", ")", "?", "1", ":", "3", ";", "if", "(", "mode", "==", "DFmode", "||", "mode", "==", "V2DFmode", ")", "passes", "++", ";", "int", "i", ";", "rtx", "mhalf", ";", "enum", "insn_code", "code", "=", "optab_handler", "(", "smul_optab", ",", "mode", ")", ";", "insn_gen_fn", "gen_mul", "=", "GEN_FCN", "(", "code", ")", ";", "gcc_assert", "(", "code", "!=", "CODE_FOR_nothing", ")", ";", "mhalf", "=", "rs6000_load_constant_and_splat", "(", "mode", ",", "dconsthalf", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "e", ",", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "1", ",", "src", ")", ",", "UNSPEC_RSQRT", ")", ")", ")", ";", "if", "(", "!", "recip", ")", "{", "rtx", "zero", "=", "force_reg", "(", "mode", ",", "CONST0_RTX", "(", "mode", ")", ")", ";", "if", "(", "mode", "==", "SFmode", ")", "{", "rtx", "target", "=", "emit_conditional_move", "(", "e", ",", "GT", ",", "src", ",", "zero", ",", "mode", ",", "e", ",", "zero", ",", "mode", ",", "0", ")", ";", "if", "(", "target", "!=", "e", ")", "emit_move_insn", "(", "e", ",", "target", ")", ";", "}", "else", "{", "rtx", "cond", "=", "gen_rtx_GT", "(", "VOIDmode", ",", "e", ",", "zero", ")", ";", "rs6000_emit_vector_cond_expr", "(", "e", ",", "e", ",", "zero", ",", "cond", ",", "src", ",", "zero", ")", ";", "}", "}", "emit_insn", "(", "gen_mul", "(", "g", ",", "e", ",", "src", ")", ")", ";", "emit_insn", "(", "gen_mul", "(", "h", ",", "e", ",", "mhalf", ")", ")", ";", "if", "(", "recip", ")", "{", "if", "(", "passes", "==", "1", ")", "{", "rtx", "t", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rs6000_emit_nmsub", "(", "t", ",", "g", ",", "h", ",", "mhalf", ")", ";", "rs6000_emit_madd", "(", "dst", ",", "e", ",", "t", ",", "e", ")", ";", "}", "else", "{", "for", "(", "i", "=", "0", ";", "i", "<", "passes", ";", "i", "++", ")", "{", "rtx", "t1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rtx", "g1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rtx", "h1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rs6000_emit_nmsub", "(", "t1", ",", "g", ",", "h", ",", "mhalf", ")", ";", "rs6000_emit_madd", "(", "g1", ",", "g", ",", "t1", ",", "g", ")", ";", "rs6000_emit_madd", "(", "h1", ",", "h", ",", "t1", ",", "h", ")", ";", "g", "=", "g1", ";", "h", "=", "h1", ";", "}", "emit_insn", "(", "gen_add3_insn", "(", "dst", ",", "h", ",", "h", ")", ")", ";", "}", "}", "else", "{", "rtx", "t", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rs6000_emit_nmsub", "(", "t", ",", "g", ",", "h", ",", "mhalf", ")", ";", "rs6000_emit_madd", "(", "dst", ",", "g", ",", "t", ",", "g", ")", ";", "}", "return", ";", "}", ""], "natrual_language": ["Goldschmidt", "'s", "Algorithm", "for", "single/double-precision", "floating", "point", "sqrt", "and", "rsqrt", ".", "Assumes", "no", "trapping", "math", "and", "finite", "arguments", "."], "TS_V_token": ["powerpcspe", "1", "3", "1", "0", "1", "0"], "File": "powerpcspe", "Func": "rs6000_emit_swsqrt", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13509, "Length": 426, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_takes_arguments_in_sve_regs_p", "(", "const_tree", "fntype", ")", "{", "CUMULATIVE_ARGS", "args_so_far_v", ";", "aarch64_init_cumulative_args", "(", "&", "args_so_far_v", ",", "NULL_TREE", ",", "NULL_RTX", ",", "NULL_TREE", ",", "0", ",", "true", ")", ";", "cumulative_args_t", "args_so_far", "=", "pack_cumulative_args", "(", "&", "args_so_far_v", ")", ";", "for", "(", "tree", "chain", "=", "TYPE_ARG_TYPES", "(", "fntype", ")", ";", "chain", "&&", "chain", "!=", "void_list_node", ";", "chain", "=", "TREE_CHAIN", "(", "chain", ")", ")", "{", "tree", "arg_type", "=", "TREE_VALUE", "(", "chain", ")", ";", "if", "(", "arg_type", "==", "error_mark_node", ")", "return", "false", ";", "function_arg_info", "arg", "(", "arg_type", ",", "true", ")", ";", "apply_pass_by_reference_rules", "(", "&", "args_so_far_v", ",", "arg", ")", ";", "pure_scalable_type_info", "pst_info", ";", "if", "(", "pst_info", ".", "analyze_registers", "(", "arg", ".", "type", ")", ")", "{", "unsigned", "int", "end_zr", "=", "args_so_far_v", ".", "aapcs_nvrn", "+", "pst_info", ".", "num_zr", "(", ")", ";", "unsigned", "int", "end_pr", "=", "args_so_far_v", ".", "aapcs_nprn", "+", "pst_info", ".", "num_pr", "(", ")", ";", "gcc_assert", "(", "end_zr", "<=", "NUM_FP_ARG_REGS", "&&", "end_pr", "<=", "NUM_PR_ARG_REGS", ")", ";", "return", "true", ";", "}", "targetm", ".", "calls", ".", "function_arg_advance", "(", "args_so_far", ",", "arg", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "function", "with", "type", "FNTYPE", "takes", "arguments", "in", "SVE", "vector", "or", "predicate", "registers", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64", "Func": "aarch64_takes_arguments_in_sve_regs_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13510, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "applyMnemonicAliases", "(", "Name", ",", "getAvailableFeatures", "(", ")", ",", "0", ")", ";", "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", "(", "parseOperand", "(", "Operands", ",", "Name", ")", ")", "{", "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": ["SystemZ", "SystemZ", "0", "SystemZ", "\"unexpected token in argument list\""], "File": "SystemZAsmParser31", "Func": "ParseInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13511, "Length": 153, "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", "{", "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": "MipsAsmPrinter24", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13512, "Length": 103, "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": 13513, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ")", "{", "unsigned", "Opcode", "=", "MI", "->", "getOpcode", "(", ")", ";", "if", "(", "Opcode", "==", "ARM", "::", "MOVs", ")", "{", "const", "MCOperand", "&", "Dst", "=", "MI", "->", "getOperand", "(", "0", ")", ";", "const", "MCOperand", "&", "MO1", "=", "MI", "->", "getOperand", "(", "1", ")", ";", "const", "MCOperand", "&", "MO2", "=", "MI", "->", "getOperand", "(", "2", ")", ";", "const", "MCOperand", "&", "MO3", "=", "MI", "->", "getOperand", "(", "3", ")", ";", "O", "<<", "'\\t'", "<<", "ARM_AM", "::", "getShiftOpcStr", "(", "ARM_AM", "::", "getSORegShOp", "(", "MO3", ".", "getImm", "(", ")", ")", ")", ";", "printSBitModifierOperand", "(", "MI", ",", "6", ",", "O", ")", ";", "printPredicateOperand", "(", "MI", ",", "4", ",", "O", ")", ";", "O", "<<", "'\\t'", "<<", "getRegisterName", "(", "Dst", ".", "getReg", "(", ")", ")", "<<", "\", \"", "<<", "getRegisterName", "(", "MO1", ".", "getReg", "(", ")", ")", ";", "if", "(", "ARM_AM", "::", "getSORegShOp", "(", "MO3", ".", "getImm", "(", ")", ")", "==", "ARM_AM", "::", "rrx", ")", "return", ";", "O", "<<", "\", \"", ";", "if", "(", "MO2", ".", "getReg", "(", ")", ")", "{", "O", "<<", "getRegisterName", "(", "MO2", ".", "getReg", "(", ")", ")", ";", "assert", "(", "ARM_AM", "::", "getSORegOffset", "(", "MO3", ".", "getImm", "(", ")", ")", "==", "0", ")", ";", "}", "else", "{", "O", "<<", "\"#\"", "<<", "ARM_AM", "::", "getSORegOffset", "(", "MO3", ".", "getImm", "(", ")", ")", ";", "}", "return", ";", "}", "if", "(", "(", "Opcode", "==", "ARM", "::", "STMDB_UPD", "||", "Opcode", "==", "ARM", "::", "t2STMDB_UPD", ")", "&&", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "ARM", "::", "SP", ")", "{", "O", "<<", "'\\t'", "<<", "\"push\"", ";", "printPredicateOperand", "(", "MI", ",", "2", ",", "O", ")", ";", "if", "(", "Opcode", "==", "ARM", "::", "t2STMDB_UPD", ")", "O", "<<", "\".w\"", ";", "O", "<<", "'\\t'", ";", "printRegisterList", "(", "MI", ",", "4", ",", "O", ")", ";", "return", ";", "}", "if", "(", "(", "Opcode", "==", "ARM", "::", "LDMIA_UPD", "||", "Opcode", "==", "ARM", "::", "t2LDMIA_UPD", ")", "&&", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "ARM", "::", "SP", ")", "{", "O", "<<", "'\\t'", "<<", "\"pop\"", ";", "printPredicateOperand", "(", "MI", ",", "2", ",", "O", ")", ";", "if", "(", "Opcode", "==", "ARM", "::", "t2LDMIA_UPD", ")", "O", "<<", "\".w\"", ";", "O", "<<", "'\\t'", ";", "printRegisterList", "(", "MI", ",", "4", ",", "O", ")", ";", "return", ";", "}", "if", "(", "(", "Opcode", "==", "ARM", "::", "VSTMSDB_UPD", "||", "Opcode", "==", "ARM", "::", "VSTMDDB_UPD", ")", "&&", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "ARM", "::", "SP", ")", "{", "O", "<<", "'\\t'", "<<", "\"vpush\"", ";", "printPredicateOperand", "(", "MI", ",", "2", ",", "O", ")", ";", "O", "<<", "'\\t'", ";", "printRegisterList", "(", "MI", ",", "4", ",", "O", ")", ";", "return", ";", "}", "if", "(", "(", "Opcode", "==", "ARM", "::", "VLDMSIA_UPD", "||", "Opcode", "==", "ARM", "::", "VLDMDIA_UPD", ")", "&&", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "ARM", "::", "SP", ")", "{", "O", "<<", "'\\t'", "<<", "\"vpop\"", ";", "printPredicateOperand", "(", "MI", ",", "2", ",", "O", ")", ";", "O", "<<", "'\\t'", ";", "printRegisterList", "(", "MI", ",", "4", ",", "O", ")", ";", "return", ";", "}", "printInstruction", "(", "MI", ",", "O", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["ARM", "ARM", "ARM::MOVs", "0", "1", "2", "3", "ARM_AM::getShiftOpcStr", "ARM_AM::getSORegShOp", "6", "4", "\", \"", "ARM_AM::getSORegShOp", "ARM_AM::rrx", "\", \"", "ARM_AM::getSORegOffset", "0", "\"#\"", "ARM_AM::getSORegOffset", "ARM::STMDB_UPD", "ARM::t2STMDB_UPD", "0", "ARM::SP", "\"push\"", "2", "ARM::t2STMDB_UPD", "\".w\"", "4", "ARM::LDMIA_UPD", "ARM::t2LDMIA_UPD", "0", "ARM::SP", "\"pop\"", "2", "ARM::t2LDMIA_UPD", "\".w\"", "4", "ARM::VSTMSDB_UPD", "ARM::VSTMDDB_UPD", "0", "ARM::SP", "\"vpush\"", "2", "4", "ARM::VLDMSIA_UPD", "ARM::VLDMDIA_UPD", "0", "ARM::SP", "\"vpop\"", "2", "4"], "File": "ARMInstPrinter16", "Func": "printInst", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13514, "Length": 508, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_emit_probe_stack_range", "(", "HOST_WIDE_INT", "first", ",", "poly_int64", "poly_size", ")", "{", "HOST_WIDE_INT", "size", ";", "if", "(", "!", "poly_size", ".", "is_constant", "(", "&", "size", ")", ")", "{", "sorry", "(", "\"stack probes for SVE frames\"", ")", ";", "return", ";", "}", "rtx", "reg1", "=", "gen_rtx_REG", "(", "Pmode", ",", "PROBE_STACK_FIRST_REG", ")", ";", "gcc_assert", "(", "(", "first", "%", "ARITH_FACTOR", ")", "==", "0", ")", ";", "if", "(", "size", "<=", "PROBE_INTERVAL", ")", "{", "const", "HOST_WIDE_INT", "base", "=", "ROUND_UP", "(", "size", ",", "ARITH_FACTOR", ")", ";", "emit_set_insn", "(", "reg1", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "(", "first", "+", "base", ")", ")", ")", ";", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "reg1", ",", "base", "-", "size", ")", ")", ";", "}", "else", "if", "(", "size", "<=", "4", "*", "PROBE_INTERVAL", ")", "{", "HOST_WIDE_INT", "i", ",", "rem", ";", "emit_set_insn", "(", "reg1", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "(", "first", "+", "PROBE_INTERVAL", ")", ")", ")", ";", "emit_stack_probe", "(", "reg1", ")", ";", "for", "(", "i", "=", "2", "*", "PROBE_INTERVAL", ";", "i", "<", "size", ";", "i", "+=", "PROBE_INTERVAL", ")", "{", "emit_set_insn", "(", "reg1", ",", "plus_constant", "(", "Pmode", ",", "reg1", ",", "-", "PROBE_INTERVAL", ")", ")", ";", "emit_stack_probe", "(", "reg1", ")", ";", "}", "rem", "=", "size", "-", "(", "i", "-", "PROBE_INTERVAL", ")", ";", "if", "(", "rem", ">", "256", ")", "{", "const", "HOST_WIDE_INT", "base", "=", "ROUND_UP", "(", "rem", ",", "ARITH_FACTOR", ")", ";", "emit_set_insn", "(", "reg1", ",", "plus_constant", "(", "Pmode", ",", "reg1", ",", "-", "base", ")", ")", ";", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "reg1", ",", "base", "-", "rem", ")", ")", ";", "}", "else", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "reg1", ",", "-", "rem", ")", ")", ";", "}", "else", "{", "rtx", "reg2", "=", "gen_rtx_REG", "(", "Pmode", ",", "PROBE_STACK_SECOND_REG", ")", ";", "HOST_WIDE_INT", "rounded_size", "=", "size", "&", "-", "PROBE_INTERVAL", ";", "emit_set_insn", "(", "reg1", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "first", ")", ")", ";", "HOST_WIDE_INT", "adjustment", "=", "-", "(", "first", "+", "rounded_size", ")", ";", "if", "(", "!", "aarch64_uimm12_shift", "(", "adjustment", ")", ")", "{", "aarch64_internal_mov_immediate", "(", "reg2", ",", "GEN_INT", "(", "adjustment", ")", ",", "true", ",", "Pmode", ")", ";", "emit_set_insn", "(", "reg2", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "reg2", ")", ")", ";", "}", "else", "emit_set_insn", "(", "reg2", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "adjustment", ")", ")", ";", "emit_insn", "(", "gen_probe_stack_range", "(", "reg1", ",", "reg1", ",", "reg2", ")", ")", ";", "if", "(", "size", "!=", "rounded_size", ")", "{", "HOST_WIDE_INT", "rem", "=", "size", "-", "rounded_size", ";", "if", "(", "rem", ">", "256", ")", "{", "const", "HOST_WIDE_INT", "base", "=", "ROUND_UP", "(", "rem", ",", "ARITH_FACTOR", ")", ";", "emit_set_insn", "(", "reg2", ",", "plus_constant", "(", "Pmode", ",", "reg2", ",", "-", "base", ")", ")", ";", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "reg2", ",", "base", "-", "rem", ")", ")", ";", "}", "else", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "reg2", ",", "-", "rem", ")", ")", ";", "}", "}", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "probe", "a", "range", "of", "stack", "addresses", "from", "FIRST", "to", "FIRST+SIZE", ",", "inclusive", ".", "These", "are", "offsets", "from", "the", "current", "stack", "pointer", "."], "TS_V_token": ["aarch64", "\"stack probes for SVE frames\"", "0", "4", "2", "256", "256"], "File": "aarch64", "Func": "aarch64_emit_probe_stack_range", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13515, "Length": 453, "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": ["rs6000", "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": "rs60007", "Func": "swap_selector_for_mode", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13516, "Length": 284, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMConstantPoolValue", "::", "hasSameValue", "(", "ARMConstantPoolValue", "*", "ACPV", ")", "{", "if", "(", "ACPV", "->", "Kind", "==", "Kind", "&&", "ACPV", "->", "CVal", "==", "CVal", "&&", "ACPV", "->", "PCAdjust", "==", "PCAdjust", "&&", "(", "ACPV", "->", "S", "==", "S", "||", "strcmp", "(", "ACPV", "->", "S", ",", "S", ")", "==", "0", ")", "&&", "(", "ACPV", "->", "Modifier", "==", "Modifier", "||", "strcmp", "(", "ACPV", "->", "Modifier", ",", "Modifier", ")", "==", "0", ")", ")", "{", "if", "(", "ACPV", "->", "LabelId", "==", "LabelId", ")", "return", "true", ";", "if", "(", "Kind", "==", "ARMCP", "::", "CPValue", "||", "Kind", "==", "ARMCP", "::", "CPExtSymbol", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["hasSameValue", "-", "Return", "true", "if", "this", "ARM", "constpool", "value", "can", "share", "the", "same", "constantpool", "entry", "as", "another", "ARM", "constpool", "value", "."], "TS_V_token": ["ARM", "ARM", "ARM", "0", "0", "ARMCP::CPValue", "ARMCP::CPExtSymbol"], "File": "ARMConstantPoolValue3", "Func": "hasSameValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13517, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "get_scratch_register_on_entry", "(", "struct", "scratch_reg", "*", "sr", ")", "{", "int", "regno", ";", "sr", "->", "saved", "=", "false", ";", "if", "(", "TARGET_64BIT", ")", "{", "regno", "=", "R11_REG", ";", "}", "else", "{", "tree", "decl", "=", "current_function_decl", ",", "fntype", "=", "TREE_TYPE", "(", "decl", ")", ";", "bool", "fastcall_p", "=", "lookup_attribute", "(", "\"fastcall\"", ",", "TYPE_ATTRIBUTES", "(", "fntype", ")", ")", "!=", "NULL_TREE", ";", "bool", "thiscall_p", "=", "lookup_attribute", "(", "\"thiscall\"", ",", "TYPE_ATTRIBUTES", "(", "fntype", ")", ")", "!=", "NULL_TREE", ";", "bool", "static_chain_p", "=", "DECL_STATIC_CHAIN", "(", "decl", ")", ";", "int", "regparm", "=", "ix86_function_regparm", "(", "fntype", ",", "decl", ")", ";", "int", "drap_regno", "=", "crtl", "->", "drap_reg", "?", "REGNO", "(", "crtl", "->", "drap_reg", ")", ":", "INVALID_REGNUM", ";", "if", "(", "(", "regparm", "<", "1", "||", "(", "fastcall_p", "&&", "!", "static_chain_p", ")", ")", "&&", "drap_regno", "!=", "AX_REG", ")", "regno", "=", "AX_REG", ";", "else", "if", "(", "thiscall_p", "&&", "!", "static_chain_p", "&&", "drap_regno", "!=", "AX_REG", ")", "regno", "=", "AX_REG", ";", "else", "if", "(", "regparm", "<", "2", "&&", "!", "thiscall_p", "&&", "drap_regno", "!=", "DX_REG", ")", "regno", "=", "DX_REG", ";", "else", "if", "(", "regparm", "<", "3", "&&", "!", "fastcall_p", "&&", "!", "thiscall_p", "&&", "!", "static_chain_p", "&&", "drap_regno", "!=", "CX_REG", ")", "regno", "=", "CX_REG", ";", "else", "if", "(", "ix86_save_reg", "(", "BX_REG", ",", "true", ")", ")", "regno", "=", "BX_REG", ";", "else", "if", "(", "!", "(", "regparm", "==", "3", "&&", "static_chain_p", ")", "&&", "ix86_save_reg", "(", "SI_REG", ",", "true", ")", ")", "regno", "=", "SI_REG", ";", "else", "if", "(", "ix86_save_reg", "(", "DI_REG", ",", "true", ")", ")", "regno", "=", "DI_REG", ";", "else", "{", "regno", "=", "(", "drap_regno", "==", "AX_REG", "?", "DX_REG", ":", "AX_REG", ")", ";", "sr", "->", "saved", "=", "true", ";", "}", "}", "sr", "->", "reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "regno", ")", ";", "if", "(", "sr", "->", "saved", ")", "{", "rtx", "insn", "=", "emit_insn", "(", "gen_push", "(", "sr", "->", "reg", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "}", ""], "natrual_language": ["Return", "a", "short-lived", "scratch", "register", "for", "use", "on", "function", "entry", ".", "In", "32-bit", "mode", ",", "it", "is", "valid", "only", "after", "the", "registers", "are", "saved", "in", "the", "prologue", ".", "This", "register", "must", "be", "released", "by", "means", "of", "release_scratch_register_on_entry", "once", "it", "is", "dead", "."], "TS_V_token": ["i386", "\"fastcall\"", "\"thiscall\"", "1", "2", "3", "3", "1"], "File": "i3864", "Func": "get_scratch_register_on_entry", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13518, "Length": 301, "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", "E_V16QImode", ":", "case", "E_V8HImode", ":", "case", "E_V4SImode", ":", "case", "E_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", "E_V4SFmode", ":", "case", "E_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": "mips", "Func": "mips_expand_msa_cmp", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13519, "Length": 365, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isCheapToSpeculateCtlz", "(", ")", "const", "{", "return", "Subtarget", ".", "hasLZCNT", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "cheap", "to", "speculate", "a", "call", "to", "intrinsic", "ctlz", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering (2)5", "Func": "isCheapToSpeculateCtlz", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13520, "Length": 16, "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": 13521, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "X86_64MachoTargetObjectFile", "::", "getTTypeGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "unsigned", "Encoding", ",", "Mangler", "&", "Mang", ",", "const", "TargetMachine", "&", "TM", ",", "MachineModuleInfo", "*", "MMI", ",", "MCStreamer", "&", "Streamer", ")", "const", "{", "if", "(", "(", "Encoding", "&", "DW_EH_PE_indirect", ")", "&&", "(", "Encoding", "&", "DW_EH_PE_pcrel", ")", ")", "{", "const", "MCSymbol", "*", "Sym", "=", "TM", ".", "getSymbol", "(", "GV", ",", "Mang", ")", ";", "const", "MCExpr", "*", "Res", "=", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "MCSymbolRefExpr", "::", "VK_GOTPCREL", ",", "getContext", "(", ")", ")", ";", "const", "MCExpr", "*", "Four", "=", "MCConstantExpr", "::", "create", "(", "4", ",", "getContext", "(", ")", ")", ";", "return", "MCBinaryExpr", "::", "createAdd", "(", "Res", ",", "Four", ",", "getContext", "(", ")", ")", ";", "}", "return", "TargetLoweringObjectFileMachO", "::", "getTTypeGlobalReference", "(", "GV", ",", "Encoding", ",", "Mang", ",", "TM", ",", "MMI", ",", "Streamer", ")", ";", "}", ""], "natrual_language": ["The", "mach-o", "version", "of", "this", "method", "defaults", "to", "returning", "a", "stub", "reference", "."], "TS_V_token": ["X86", "X86", "4"], "File": "X86TargetObjectFile2", "Func": "getTTypeGlobalReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13522, "Length": 133, "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", "(", "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": "X86RegisterInfo24", "Func": "getCallPreservedMask", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13523, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseTargetMachine", "::", "addPreISel", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", ")", "PM", ".", "add", "(", "createARMGlobalMergePass", "(", "getTargetLowering", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMTargetMachine23", "Func": "addPreISel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13524, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "unsigned", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "unsigned", "MatchResult", ";", "MatchResult", "=", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ";", "switch", "(", "MatchResult", ")", "{", "default", ":", "break", ";", "case", "Match_Success", ":", "if", "(", "validateInstruction", "(", "Inst", ",", "Operands", ")", ")", "{", "forwardITPosition", "(", ")", ";", "return", "true", ";", "}", "{", "bool", "wasInITBlock", "=", "inITBlock", "(", ")", ";", "while", "(", "processInstruction", "(", "Inst", ",", "Operands", ")", ")", ";", "if", "(", "wasInITBlock", "&&", "hasV8Ops", "(", ")", "&&", "isThumb", "(", ")", "&&", "!", "isV8EligibleForIT", "(", "&", "Inst", ")", ")", "{", "Warning", "(", "IDLoc", ",", "\"deprecated instruction in IT block\"", ")", ";", "}", "}", "forwardITPosition", "(", ")", ";", "if", "(", "Inst", ".", "getOpcode", "(", ")", "==", "ARM", "::", "ITasm", ")", "return", "false", ";", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "Out", ".", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "return", "false", ";", "case", "Match_MissingFeature", ":", "{", "assert", "(", "ErrorInfo", "&&", "\"Unknown missing feature!\"", ")", ";", "std", "::", "string", "Msg", "=", "\"instruction requires:\"", ";", "unsigned", "Mask", "=", "1", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "(", "sizeof", "(", "ErrorInfo", ")", "*", "8", "-", "1", ")", ";", "++", "i", ")", "{", "if", "(", "ErrorInfo", "&", "Mask", ")", "{", "Msg", "+=", "\" \"", ";", "Msg", "+=", "getSubtargetFeatureName", "(", "ErrorInfo", "&", "Mask", ")", ";", "}", "Mask", "<<=", "1", ";", "}", "return", "Error", "(", "IDLoc", ",", "Msg", ")", ";", "}", "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_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\"", ")", ";", "case", "Match_ImmRange0_15", ":", "{", "SMLoc", "ErrorLoc", "=", "(", "(", "ARMOperand", "*", ")", "Operands", "[", "ErrorInfo", "]", ")", "->", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "return", "Error", "(", "ErrorLoc", ",", "\"immediate operand must be in the range [0,15]\"", ")", ";", "}", "case", "Match_ImmRange0_239", ":", "{", "SMLoc", "ErrorLoc", "=", "(", "(", "ARMOperand", "*", ")", "Operands", "[", "ErrorInfo", "]", ")", "->", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "return", "Error", "(", "ErrorLoc", ",", "\"immediate operand must be in the range [0,239]\"", ")", ";", "}", "}", "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", "\"deprecated instruction in IT block\"", "ARM::ITasm", "\"Unknown missing feature!\"", "\"instruction requires:\"", "1", "0", "8", "1", "\" \"", "1", "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\"", "ARM", "\"immediate operand must be in the range [0,15]\"", "ARM", "\"immediate operand must be in the range [0,239]\"", "\"Implement any new match types added!\""], "File": "ARMAsmParser (2)", "Func": "MatchAndEmitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13525, "Length": 485, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64TargetLowering", "::", "finalizeLowering", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "if", "(", "MFI", ".", "hasStackProtectorIndex", "(", ")", ")", "{", "for", "(", "unsigned", "int", "i", "=", "0", ",", "e", "=", "MFI", ".", "getObjectIndexEnd", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "if", "(", "MFI", ".", "getStackID", "(", "i", ")", "==", "TargetStackID", "::", "ScalableVector", "&&", "MFI", ".", "getObjectSSPLayout", "(", "i", ")", "!=", "MachineFrameInfo", "::", "SSPLK_None", ")", "{", "MFI", ".", "setStackID", "(", "MFI", ".", "getStackProtectorIndex", "(", ")", ",", "TargetStackID", "::", "ScalableVector", ")", ";", "MFI", ".", "setObjectAlignment", "(", "MFI", ".", "getStackProtectorIndex", "(", ")", ",", "Align", "(", "16", ")", ")", ";", "break", ";", "}", "}", "}", "MFI", ".", "computeMaxCallFrameSize", "(", "MF", ")", ";", "TargetLoweringBase", "::", "finalizeLowering", "(", "MF", ")", ";", "}", ""], "natrual_language": ["Execute", "target", "specific", "actions", "to", "finalize", "target", "lowering", "."], "TS_V_token": ["AArch64", "AArch64", "0", "16"], "File": "AArch64ISelLowering168", "Func": "finalizeLowering", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13526, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstrBuilder", "MipsInstrInfo", "::", "genInstrWithNewOpc", "(", "unsigned", "NewOpc", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "MachineInstrBuilder", "MIB", ";", "int", "ZeroOperandPosition", "=", "-", "1", ";", "bool", "BranchWithZeroOperand", "=", "false", ";", "if", "(", "I", "->", "isBranch", "(", ")", "&&", "!", "I", "->", "isPseudo", "(", ")", ")", "{", "auto", "TRI", "=", "I", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "ZeroOperandPosition", "=", "I", "->", "findRegisterUseOperandIdx", "(", "Mips", "::", "ZERO", ",", "false", ",", "TRI", ")", ";", "BranchWithZeroOperand", "=", "ZeroOperandPosition", "!=", "-", "1", ";", "}", "if", "(", "BranchWithZeroOperand", ")", "{", "switch", "(", "NewOpc", ")", "{", "case", "Mips", "::", "BEQC", ":", "NewOpc", "=", "Mips", "::", "BEQZC", ";", "break", ";", "case", "Mips", "::", "BNEC", ":", "NewOpc", "=", "Mips", "::", "BNEZC", ";", "break", ";", "case", "Mips", "::", "BGEC", ":", "NewOpc", "=", "Mips", "::", "BGEZC", ";", "break", ";", "case", "Mips", "::", "BLTC", ":", "NewOpc", "=", "Mips", "::", "BLTZC", ";", "break", ";", "case", "Mips", "::", "BEQC64", ":", "NewOpc", "=", "Mips", "::", "BEQZC64", ";", "break", ";", "case", "Mips", "::", "BNEC64", ":", "NewOpc", "=", "Mips", "::", "BNEZC64", ";", "break", ";", "}", "}", "MIB", "=", "BuildMI", "(", "*", "I", "->", "getParent", "(", ")", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "NewOpc", ")", ")", ";", "if", "(", "NewOpc", "==", "Mips", "::", "JIC", "||", "NewOpc", "==", "Mips", "::", "JIALC", "||", "NewOpc", "==", "Mips", "::", "JIC64", "||", "NewOpc", "==", "Mips", "::", "JIALC64", ")", "{", "if", "(", "NewOpc", "==", "Mips", "::", "JIALC", "||", "NewOpc", "==", "Mips", "::", "JIALC64", ")", "MIB", "->", "RemoveOperand", "(", "0", ")", ";", "for", "(", "unsigned", "J", "=", "0", ",", "E", "=", "I", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", ";", "J", "<", "E", ";", "++", "J", ")", "{", "MIB", ".", "add", "(", "I", "->", "getOperand", "(", "J", ")", ")", ";", "}", "MIB", ".", "addImm", "(", "0", ")", ";", "}", "else", "{", "for", "(", "unsigned", "J", "=", "0", ",", "E", "=", "I", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", ";", "J", "<", "E", ";", "++", "J", ")", "{", "if", "(", "BranchWithZeroOperand", "&&", "(", "unsigned", ")", "ZeroOperandPosition", "==", "J", ")", "continue", ";", "MIB", ".", "add", "(", "I", "->", "getOperand", "(", "J", ")", ")", ";", "}", "}", "MIB", ".", "copyImplicitOps", "(", "*", "I", ")", ";", "MIB", ".", "cloneMemRefs", "(", "*", "I", ")", ";", "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", "1", "Mips::ZERO", "1", "Mips::BEQC", "Mips::BEQZC", "Mips::BNEC", "Mips::BNEZC", "Mips::BGEC", "Mips::BGEZC", "Mips::BLTC", "Mips::BLTZC", "Mips::BEQC64", "Mips::BEQZC64", "Mips::BNEC64", "Mips::BNEZC64", "Mips::JIC", "Mips::JIALC", "Mips::JIC64", "Mips::JIALC64", "Mips::JIALC", "Mips::JIALC64", "0", "0", "0", "0"], "File": "MipsInstrInfo9", "Func": "genInstrWithNewOpc", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13527, "Length": 376, "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": "SystemZInstrInfo18", "Func": "isStackSlotCopy", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13528, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "unsigned", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "SmallVector", "<", "MCInst", ",", "8", ">", "Instructions", ";", "unsigned", "MatchResult", "=", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ";", "switch", "(", "MatchResult", ")", "{", "default", ":", "break", ";", "case", "Match_Success", ":", "{", "if", "(", "processInstruction", "(", "Inst", ",", "IDLoc", ",", "Instructions", ")", ")", "return", "true", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Instructions", ".", "size", "(", ")", ";", "i", "++", ")", "Out", ".", "EmitInstruction", "(", "Instructions", "[", "i", "]", ",", "STI", ")", ";", "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", "=", "(", "(", "MipsOperand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "\"invalid operand for instruction\"", ")", ";", "}", "case", "Match_MnemonicFail", ":", "return", "Error", "(", "IDLoc", ",", "\"invalid instruction\"", ")", ";", "case", "Match_RequiresDifferentSrcAndDst", ":", "return", "Error", "(", "IDLoc", ",", "\"source and destination must be different\"", ")", ";", "}", "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", "8", "0", "\"instruction requires a CPU feature not currently enabled\"", "0U", "\"too few operands for instruction\"", "Mips", "\"invalid operand for instruction\"", "\"invalid instruction\"", "\"source and destination must be different\""], "File": "MipsAsmParser1", "Func": "MatchAndEmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13529, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_legitimate_constant_p", "(", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "return", "(", "TARGET_SHMEDIA", "?", "(", "(", "mode", "!=", "DFmode", "&&", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_VECTOR_FLOAT", ")", "||", "x", "==", "CONST0_RTX", "(", "mode", ")", "||", "!", "TARGET_SHMEDIA_FPU", "||", "TARGET_SHMEDIA64", ")", ":", "(", "GET_CODE", "(", "x", ")", "!=", "CONST_DOUBLE", "||", "mode", "==", "DFmode", "||", "mode", "==", "SFmode", "||", "mode", "==", "DImode", "||", "GET_MODE", "(", "x", ")", "==", "VOIDmode", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LEGITIMATE_CONSTANT_P", "can_store_by_pieces", "constructs", "VOIDmode", "CONST_DOUBLEs", "."], "TS_V_token": ["sh"], "File": "sh4", "Func": "sh_legitimate_constant_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13530, "Length": 72, "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", "IsPCRel", ")", "const", "override", "{", "Value", "=", "adjustFixupValue", "(", "Fixup", ".", "getKind", "(", ")", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "4", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittleEndian", "?", "i", ":", "3", "-", "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": ["Sparc", "0", "4", "3", "8", "0xff"], "File": "SparcAsmBackend8", "Func": "applyFixup", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13531, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "emit_fusion_p9_store", "(", "rtx", "mem", ",", "rtx", "reg", ",", "rtx", "tmp_reg", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "reg", ")", ";", "rtx", "hi", ";", "rtx", "lo", ";", "rtx", "addr", ";", "const", "char", "*", "store_string", ";", "int", "r", ";", "if", "(", "GET_CODE", "(", "reg", ")", "==", "SUBREG", ")", "{", "gcc_assert", "(", "SUBREG_BYTE", "(", "reg", ")", "==", "0", ")", ";", "reg", "=", "SUBREG_REG", "(", "reg", ")", ";", "}", "if", "(", "!", "REG_P", "(", "reg", ")", ")", "fatal_insn", "(", "\"emit_fusion_p9_store, bad reg #1\"", ",", "reg", ")", ";", "r", "=", "REGNO", "(", "reg", ")", ";", "if", "(", "FP_REGNO_P", "(", "r", ")", ")", "{", "if", "(", "mode", "==", "SFmode", ")", "store_string", "=", "\"stfs\"", ";", "else", "if", "(", "mode", "==", "DFmode", ")", "store_string", "=", "\"stfd\"", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "else", "if", "(", "ALTIVEC_REGNO_P", "(", "r", ")", "&&", "TARGET_P9_VECTOR", ")", "{", "if", "(", "mode", "==", "SFmode", ")", "store_string", "=", "\"stxssp\"", ";", "else", "if", "(", "mode", "==", "DFmode", "||", "mode", "==", "DImode", ")", "store_string", "=", "\"stxsd\"", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "else", "if", "(", "INT_REGNO_P", "(", "r", ")", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "store_string", "=", "\"stb\"", ";", "break", ";", "case", "E_HImode", ":", "store_string", "=", "\"sth\"", ";", "break", ";", "case", "E_SImode", ":", "case", "E_SFmode", ":", "store_string", "=", "\"stw\"", ";", "break", ";", "case", "E_DImode", ":", "case", "E_DFmode", ":", "if", "(", "!", "TARGET_POWERPC64", ")", "gcc_unreachable", "(", ")", ";", "store_string", "=", "\"std\"", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "fatal_insn", "(", "\"emit_fusion_p9_store, bad reg #2\"", ",", "reg", ")", ";", "if", "(", "!", "MEM_P", "(", "mem", ")", ")", "fatal_insn", "(", "\"emit_fusion_p9_store not MEM\"", ",", "mem", ")", ";", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "fusion_split_address", "(", "addr", ",", "&", "hi", ",", "&", "lo", ")", ";", "emit_fusion_addis", "(", "tmp_reg", ",", "hi", ")", ";", "emit_fusion_load_store", "(", "reg", ",", "tmp_reg", ",", "lo", ",", "store_string", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Return", "a", "string", "to", "fuse", "an", "addis", "instruction", "with", "a", "store", "using", "extended", "fusion", ".", "The", "address", "that", "is", "used", "is", "the", "logical", "address", "that", "was", "formed", "during", "peephole2", ":", "(", "lo_sum", "(", "high", ")", "(", "low-part", ")", ")", "The", "code", "is", "complicated", ",", "so", "we", "call", "output_asm_insn", "directly", ",", "and", "just", "return", "``", "''", "."], "TS_V_token": ["rs6000", "0", "\"emit_fusion_p9_store, bad reg #1\"", "\"stfs\"", "\"stfd\"", "\"stxssp\"", "\"stxsd\"", "\"stb\"", "\"sth\"", "\"stw\"", "\"std\"", "\"emit_fusion_p9_store, bad reg #2\"", "\"emit_fusion_p9_store not MEM\"", "0", "\"\""], "File": "rs60007", "Func": "emit_fusion_p9_store", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13532, "Length": 305, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_cmp", "(", "rtx_insn", "*", "insn", ")", "{", "enum", "attr_type", "type", ";", "type", "=", "get_attr_type", "(", "insn", ")", ";", "return", "(", "type", "==", "TYPE_TEST", "||", "type", "==", "TYPE_ICMP", "||", "type", "==", "TYPE_FCMP", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "COMPARE", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "insn", "is", "a", "compare", "instruction", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "is_cmp", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13533, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SHUXIPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createSHUXIISelDag", "(", "getSHUXITargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["SHUXI", "SHUXI", "SHUXI", "SHUXI"], "File": "SHUXITargetMachine", "Func": "addInstSelector", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13534, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "thumb_expand_cpymemqi", "(", "rtx", "*", "operands", ")", "{", "rtx", "out", "=", "copy_to_mode_reg", "(", "SImode", ",", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ")", ";", "rtx", "in", "=", "copy_to_mode_reg", "(", "SImode", ",", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ")", ";", "HOST_WIDE_INT", "len", "=", "INTVAL", "(", "operands", "[", "2", "]", ")", ";", "HOST_WIDE_INT", "offset", "=", "0", ";", "while", "(", "len", ">=", "12", ")", "{", "emit_insn", "(", "gen_cpymem12b", "(", "out", ",", "in", ",", "out", ",", "in", ")", ")", ";", "len", "-=", "12", ";", "}", "if", "(", "len", ">=", "8", ")", "{", "emit_insn", "(", "gen_cpymem8b", "(", "out", ",", "in", ",", "out", ",", "in", ")", ")", ";", "len", "-=", "8", ";", "}", "if", "(", "len", ">=", "4", ")", "{", "rtx", "reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_movsi", "(", "reg", ",", "gen_rtx_MEM", "(", "SImode", ",", "in", ")", ")", ")", ";", "emit_insn", "(", "gen_movsi", "(", "gen_rtx_MEM", "(", "SImode", ",", "out", ")", ",", "reg", ")", ")", ";", "len", "-=", "4", ";", "offset", "+=", "4", ";", "}", "if", "(", "len", ">=", "2", ")", "{", "rtx", "reg", "=", "gen_reg_rtx", "(", "HImode", ")", ";", "emit_insn", "(", "gen_movhi", "(", "reg", ",", "gen_rtx_MEM", "(", "HImode", ",", "plus_constant", "(", "Pmode", ",", "in", ",", "offset", ")", ")", ")", ")", ";", "emit_insn", "(", "gen_movhi", "(", "gen_rtx_MEM", "(", "HImode", ",", "plus_constant", "(", "Pmode", ",", "out", ",", "offset", ")", ")", ",", "reg", ")", ")", ";", "len", "-=", "2", ";", "offset", "+=", "2", ";", "}", "if", "(", "len", ")", "{", "rtx", "reg", "=", "gen_reg_rtx", "(", "QImode", ")", ";", "emit_insn", "(", "gen_movqi", "(", "reg", ",", "gen_rtx_MEM", "(", "QImode", ",", "plus_constant", "(", "Pmode", ",", "in", ",", "offset", ")", ")", ")", ")", ";", "emit_insn", "(", "gen_movqi", "(", "gen_rtx_MEM", "(", "QImode", ",", "plus_constant", "(", "Pmode", ",", "out", ",", "offset", ")", ")", ",", "reg", ")", ")", ";", "}", "}", ""], "natrual_language": ["Routines", "for", "generating", "rtl", "."], "TS_V_token": ["arm", "0", "0", "1", "0", "2", "0", "12", "12", "8", "8", "4", "4", "4", "2", "2", "2"], "File": "arm", "Func": "thumb_expand_cpymemqi", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13535, "Length": 293, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "CreateMem", "(", "OwningPtr", "<", "ARMOperand", ">", "&", "Op", ",", "unsigned", "BaseRegNum", ",", "bool", "OffsetIsReg", ",", "const", "MCExpr", "*", "Offset", ",", "unsigned", "OffsetRegNum", ",", "bool", "OffsetRegShifted", ",", "enum", "ShiftType", "ShiftType", ",", "const", "MCExpr", "*", "ShiftAmount", ",", "bool", "Preindexed", ",", "bool", "Postindexed", ",", "bool", "Negative", ",", "bool", "Writeback", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{", "Op", ".", "reset", "(", "new", "ARMOperand", ")", ";", "Op", "->", "Kind", "=", "Memory", ";", "Op", "->", "Mem", ".", "BaseRegNum", "=", "BaseRegNum", ";", "Op", "->", "Mem", ".", "OffsetIsReg", "=", "OffsetIsReg", ";", "Op", "->", "Mem", ".", "Offset", "=", "Offset", ";", "Op", "->", "Mem", ".", "OffsetRegNum", "=", "OffsetRegNum", ";", "Op", "->", "Mem", ".", "OffsetRegShifted", "=", "OffsetRegShifted", ";", "Op", "->", "Mem", ".", "ShiftType", "=", "ShiftType", ";", "Op", "->", "Mem", ".", "ShiftAmount", "=", "ShiftAmount", ";", "Op", "->", "Mem", ".", "Preindexed", "=", "Preindexed", ";", "Op", "->", "Mem", ".", "Postindexed", "=", "Postindexed", ";", "Op", "->", "Mem", ".", "Negative", "=", "Negative", ";", "Op", "->", "Mem", ".", "Writeback", "=", "Writeback", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "E", ";", "}", ""], "natrual_language": ["Create", "a", "generalized", "memory", "operand", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMAsmParser13", "Func": "CreateMem", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13536, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "SystemZXPLINK64Registers", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "return", "CSR_SystemZ_XPLINK64_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["SystemZ", "SystemZXPLINK64Registers::getCalleeSavedRegs", "SystemZ"], "File": "SystemZRegisterInfo21", "Func": "getCalleeSavedRegs", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13537, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ix86_attr_length_address_default", "(", "rtx", "insn", ")", "{", "int", "i", ";", "if", "(", "get_attr_type", "(", "insn", ")", "==", "TYPE_LEA", ")", "{", "rtx", "set", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "set", ")", "==", "PARALLEL", ")", "set", "=", "XVECEXP", "(", "set", ",", "0", ",", "0", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "set", ")", "==", "SET", ")", ";", "return", "memory_address_length", "(", "SET_SRC", "(", "set", ")", ")", ";", "}", "extract_insn_cached", "(", "insn", ")", ";", "for", "(", "i", "=", "recog_data", ".", "n_operands", "-", "1", ";", "i", ">=", "0", ";", "--", "i", ")", "if", "(", "GET_CODE", "(", "recog_data", ".", "operand", "[", "i", "]", ")", "==", "MEM", ")", "{", "return", "memory_address_length", "(", "XEXP", "(", "recog_data", ".", "operand", "[", "i", "]", ",", "0", ")", ")", ";", "break", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Compute", "default", "value", "for", "``", "length_address", "''", "attribute", "."], "TS_V_token": ["i386", "0", "0", "1", "0", "0", "0"], "File": "i3863", "Func": "ix86_attr_length_address_default", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13538, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "X86TargetLowering", "::", "LowerXConstraint", "(", "EVT", "ConstraintVT", ")", "const", "{", "if", "(", "ConstraintVT", ".", "isFloatingPoint", "(", ")", ")", "{", "if", "(", "Subtarget", "->", "hasXMMInt", "(", ")", ")", "return", "\"Y\"", ";", "if", "(", "Subtarget", "->", "hasXMM", "(", ")", ")", "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": "X86ISelLowering170", "Func": "LowerXConstraint", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13539, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_use_ins_ext_p", "(", "rtx", "op", ",", "rtx", "size", ",", "rtx", "position", ")", "{", "HOST_WIDE_INT", "len", ",", "pos", ";", "if", "(", "!", "ISA_HAS_EXT_INS", "||", "!", "register_operand", "(", "op", ",", "VOIDmode", ")", "||", "GET_MODE_BITSIZE", "(", "GET_MODE", "(", "op", ")", ")", ">", "BITS_PER_WORD", ")", "return", "false", ";", "len", "=", "INTVAL", "(", "size", ")", ";", "pos", "=", "INTVAL", "(", "position", ")", ";", "if", "(", "len", "<=", "0", "||", "len", ">=", "GET_MODE_BITSIZE", "(", "GET_MODE", "(", "op", ")", ")", "||", "pos", "<", "0", "||", "pos", "+", "len", ">", "GET_MODE_BITSIZE", "(", "GET_MODE", "(", "op", ")", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "(", "zero_extract", "OP", "SIZE", "POSITION", ")", "can", "be", "used", "as", "the", "source", "of", "an", "``", "ext", "''", "instruction", "or", "the", "destination", "of", "an", "``", "ins", "''", "instruction", ".", "OP", "must", "be", "a", "register", "operand", "and", "the", "following", "conditions", "must", "hold", ":", "0", "<", "=", "POSITION", "<", "GET_MODE_BITSIZE", "(", "GET_MODE", "(", "op", ")", ")", "0", "<", "SIZE", "<", "=", "GET_MODE_BITSIZE", "(", "GET_MODE", "(", "op", ")", ")", "0", "<", "POSITION", "+", "SIZE", "<", "=", "GET_MODE_BITSIZE", "(", "GET_MODE", "(", "op", ")", ")", "Also", "reject", "lengths", "equal", "to", "a", "word", "as", "they", "are", "better", "handled", "by", "the", "move", "patterns", "."], "TS_V_token": ["mips", "0", "0"], "File": "mips3", "Func": "mips_use_ins_ext_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13540, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "getHashValue", "(", "const", "TOCKey", "&", "PairVal", ")", "{", "return", "detail", "::", "combineHashValue", "(", "DenseMapInfo", "<", "const", "MCSymbol", "*", ">", "::", "getHashValue", "(", "PairVal", ".", "first", ")", ",", "DenseMapInfo", "<", "int", ">", "::", "getHashValue", "(", "PairVal", ".", "second", ")", ")", ";", "}", ""], "natrual_language": ["Using", "name", "and", "line", "to", "get", "hash", "value", ".", "It", "should", "already", "be", "mostly", "unique", "."], "TS_V_token": ["PowerPC"], "File": "PPCAsmPrinter (2)3", "Func": "getHashValue", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13541, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_unspec_cond_code", "(", "rtx_code", "code", ")", "{", "switch", "(", "code", ")", "{", "case", "NE", ":", "return", "UNSPEC_COND_NE", ";", "case", "EQ", ":", "return", "UNSPEC_COND_EQ", ";", "case", "LT", ":", "return", "UNSPEC_COND_LT", ";", "case", "GT", ":", "return", "UNSPEC_COND_GT", ";", "case", "LE", ":", "return", "UNSPEC_COND_LE", ";", "case", "GE", ":", "return", "UNSPEC_COND_GE", ";", "case", "LTU", ":", "return", "UNSPEC_COND_LO", ";", "case", "GTU", ":", "return", "UNSPEC_COND_HI", ";", "case", "LEU", ":", "return", "UNSPEC_COND_LS", ";", "case", "GEU", ":", "return", "UNSPEC_COND_HS", ";", "case", "UNORDERED", ":", "return", "UNSPEC_COND_UO", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "UNSPEC_COND_", "*", "code", "for", "comparison", "CODE", "."], "TS_V_token": ["aarch64"], "File": "aarch645", "Func": "aarch64_unspec_cond_code", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13542, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "Mips16InstrInfo", "::", "getInlineAsmLength", "(", "const", "char", "*", "Str", ",", "const", "MCAsmInfo", "&", "MAI", ")", "const", "{", "bool", "atInsnStart", "=", "true", ";", "unsigned", "Length", "=", "0", ";", "for", "(", ";", "*", "Str", ";", "++", "Str", ")", "{", "if", "(", "*", "Str", "==", "'\\n'", "||", "strncmp", "(", "Str", ",", "MAI", ".", "getSeparatorString", "(", ")", ",", "strlen", "(", "MAI", ".", "getSeparatorString", "(", ")", ")", ")", "==", "0", ")", "atInsnStart", "=", "true", ";", "if", "(", "atInsnStart", "&&", "!", "std", "::", "isspace", "(", "static_cast", "<", "unsigned", "char", ">", "(", "*", "Str", ")", ")", ")", "{", "if", "(", "strncmp", "(", "Str", ",", "\".space\"", ",", "6", ")", "==", "0", ")", "{", "char", "*", "EStr", ";", "int", "Sz", ";", "Sz", "=", "strtol", "(", "Str", "+", "6", ",", "&", "EStr", ",", "10", ")", ";", "while", "(", "isspace", "(", "*", "EStr", ")", ")", "++", "EStr", ";", "if", "(", "*", "EStr", "==", "'\\0'", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"parsed .space \"", "<<", "Sz", "<<", "'\\n'", ")", ";", "return", "Sz", ";", "}", "}", "Length", "+=", "MAI", ".", "getMaxInstLength", "(", ")", ";", "atInsnStart", "=", "false", ";", "}", "if", "(", "atInsnStart", "&&", "strncmp", "(", "Str", ",", "MAI", ".", "getCommentString", "(", ")", ",", "strlen", "(", "MAI", ".", "getCommentString", "(", ")", ")", ")", "==", "0", ")", "atInsnStart", "=", "false", ";", "}", "return", "Length", ";", "}", ""], "natrual_language": ["Measure", "the", "specified", "inline", "asm", "to", "determine", "an", "approximation", "of", "its", "length", "."], "TS_V_token": ["Mips", "Mips", "0", "0", "\".space\"", "6", "0", "6", "10", "\"parsed .space \"", "0"], "File": "Mips16InstrInfo (2)", "Func": "getInlineAsmLength", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13543, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print_operand_address", "(", "FILE", "*", "file", ",", "rtx", "x", ")", "{", "if", "(", "REG_P", "(", "x", ")", ")", "fprintf", "(", "file", ",", "\"0(%s)\"", ",", "reg_names", "[", "REGNO", "(", "x", ")", "]", ")", ";", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "x", ")", "==", "CONST", "||", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", ")", "{", "output_addr_const", "(", "file", ",", "x", ")", ";", "if", "(", "small_data_operand", "(", "x", ",", "GET_MODE", "(", "x", ")", ")", ")", "fprintf", "(", "file", ",", "\"@%s(%s)\"", ",", "SMALL_DATA_RELOC", ",", "reg_names", "[", "SMALL_DATA_REG", "]", ")", ";", "else", "gcc_assert", "(", "!", "TARGET_TOC", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "{", "if", "(", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "0", ")", "fprintf", "(", "file", ",", "\"%s,%s\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "1", ")", ")", "]", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "else", "fprintf", "(", "file", ",", "\"%s,%s\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "1", ")", ")", "]", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "CONST_INT", ")", "fprintf", "(", "file", ",", "HOST_WIDE_INT_PRINT_DEC", "\"(%s)\"", ",", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "LO_SUM", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "CONSTANT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "{", "fprintf", "(", "file", ",", "\"lo16(\"", ")", ";", "output_addr_const", "(", "file", ",", "XEXP", "(", "x", ",", "1", ")", ")", ";", "fprintf", "(", "file", ",", "\")(%s)\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "LO_SUM", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "CONSTANT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "{", "output_addr_const", "(", "file", ",", "XEXP", "(", "x", ",", "1", ")", ")", ";", "fprintf", "(", "file", ",", "\"@l(%s)\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "}", "else", "if", "(", "toc_relative_expr_p", "(", "x", ",", "false", ")", ")", "{", "output_addr_const", "(", "file", ",", "CONST_CAST_RTX", "(", "tocrel_base", ")", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "LO_SUM", ")", "fprintf", "(", "file", ",", "\"@l(%s)\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "else", "fprintf", "(", "file", ",", "\"(%s)\"", ",", "reg_names", "[", "REGNO", "(", "XVECEXP", "(", "tocrel_base", ",", "0", ",", "1", ")", ")", "]", ")", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Print", "the", "operand", "address", "represented", "by", "the", "rtx", "addr"], "TS_V_token": ["rs6000", "\"0(%s)\"", "\"@%s(%s)\"", "0", "1", "0", "0", "\"%s,%s\"", "1", "0", "\"%s,%s\"", "0", "1", "0", "1", "\"(%s)\"", "1", "0", "0", "1", "\"lo16(\"", "1", "\")(%s)\"", "0", "0", "1", "1", "\"@l(%s)\"", "0", "\"@l(%s)\"", "0", "\"(%s)\"", "0", "1"], "File": "rs60004", "Func": "print_operand_address", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13544, "Length": 490, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "direct_return", "(", "void", ")", "{", "return", "(", "reload_completed", "&&", "xstormy16_compute_stack_layout", "(", ")", ".", "frame_size", "==", "0", "&&", "!", "xstormy16_interrupt_function_p", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "non-zero", "if", "this", "function", "is", "known", "to", "have", "a", "null", "epilogue", "."], "TS_V_token": ["stormy16", "0"], "File": "stormy16", "Func": "direct_return", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13545, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "split_double_mode", "(", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ",", "int", "num", ",", "rtx", "lo_half", "[", "]", ",", "rtx", "hi_half", "[", "]", ")", "{", "machine_mode", "half_mode", ";", "unsigned", "int", "byte", ";", "rtx", "mem_op", "=", "NULL_RTX", ";", "int", "mem_num", "=", "0", ";", "switch", "(", "mode", ")", "{", "case", "E_TImode", ":", "half_mode", "=", "DImode", ";", "break", ";", "case", "E_DImode", ":", "half_mode", "=", "SImode", ";", "break", ";", "case", "E_P2HImode", ":", "half_mode", "=", "HImode", ";", "break", ";", "case", "E_P2QImode", ":", "half_mode", "=", "QImode", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "byte", "=", "GET_MODE_SIZE", "(", "half_mode", ")", ";", "while", "(", "num", "--", ")", "{", "rtx", "op", "=", "operands", "[", "num", "]", ";", "if", "(", "MEM_P", "(", "op", ")", ")", "{", "if", "(", "mem_op", "&&", "rtx_equal_p", "(", "op", ",", "mem_op", ")", ")", "{", "lo_half", "[", "num", "]", "=", "lo_half", "[", "mem_num", "]", ";", "hi_half", "[", "num", "]", "=", "hi_half", "[", "mem_num", "]", ";", "}", "else", "{", "mem_op", "=", "op", ";", "mem_num", "=", "num", ";", "lo_half", "[", "num", "]", "=", "adjust_address", "(", "op", ",", "half_mode", ",", "0", ")", ";", "hi_half", "[", "num", "]", "=", "adjust_address", "(", "op", ",", "half_mode", ",", "byte", ")", ";", "}", "}", "else", "{", "lo_half", "[", "num", "]", "=", "simplify_gen_subreg", "(", "half_mode", ",", "op", ",", "GET_MODE", "(", "op", ")", "==", "VOIDmode", "?", "mode", ":", "GET_MODE", "(", "op", ")", ",", "0", ")", ";", "rtx", "tmp", "=", "simplify_gen_subreg", "(", "half_mode", ",", "op", ",", "GET_MODE", "(", "op", ")", "==", "VOIDmode", "?", "mode", ":", "GET_MODE", "(", "op", ")", ",", "byte", ")", ";", "hi_half", "[", "num", "]", "=", "tmp", "?", "tmp", ":", "gen_reg_rtx", "(", "half_mode", ")", ";", "}", "}", "}", ""], "natrual_language": ["Split", "one", "or", "more", "double-mode", "RTL", "references", "into", "pairs", "of", "half-mode", "references", ".", "The", "RTL", "can", "be", "REG", ",", "offsettable", "MEM", ",", "integer", "constant", ",", "or", "CONST_DOUBLE", ".", "``", "operands", "''", "is", "a", "pointer", "to", "an", "array", "of", "double-mode", "RTLs", "to", "split", "and", "``", "num", "''", "is", "its", "length", ".", "lo_half", "and", "hi_half", "are", "output", "arrays", "that", "parallel", "``", "operands", "''", "."], "TS_V_token": ["i386", "0", "0", "0"], "File": "i386-expand", "Func": "split_double_mode", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13546, "Length": 265, "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", "(", "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", ")", ")", ")", "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", "(", "arm_disable_literal_pool", "&&", "code", "==", "SYMBOL_REF", "&&", "CONSTANT_POOL_ADDRESS_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": "arm6", "Func": "thumb2_legitimate_address_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13547, "Length": 468, "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", ")", "{", "argstr", "=", "NULL", ";", "if", "(", "!", "strcmp", "(", "q", ",", "\"thumb\"", ")", ")", "opts", "->", "x_target_flags", "|=", "MASK_THUMB", ";", "else", "if", "(", "!", "strcmp", "(", "q", ",", "\"arm\"", ")", ")", "opts", "->", "x_target_flags", "&=", "~", "MASK_THUMB", ";", "else", "if", "(", "!", "strcmp", "(", "q", ",", "\"general-regs-only\"", ")", ")", "opts", "->", "x_target_flags", "|=", "MASK_GENERAL_REGS_ONLY", ";", "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\"", "\"arm\"", "\"general-regs-only\"", "\"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": "arm8", "Func": "arm_valid_target_attribute_rec", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13548, "Length": 359, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "loongarch_got_load_tls_ld", "(", "rtx", "dest", ",", "rtx", "sym", ")", "{", "return", "gen_got_load_tls_ld", "(", "Pmode", ",", "dest", ",", "sym", ")", ";", "}", ""], "natrual_language": ["Load", "an", "entry", "from", "the", "GOT", "for", "a", "TLS", "LD", "access", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_got_load_tls_ld", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13549, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_avx_u128_mode_needed", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "CALL_P", "(", "insn", ")", ")", "{", "rtx", "link", ";", "for", "(", "link", "=", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ";", "link", ";", "link", "=", "XEXP", "(", "link", ",", "1", ")", ")", "{", "if", "(", "GET_CODE", "(", "XEXP", "(", "link", ",", "0", ")", ")", "==", "USE", ")", "{", "rtx", "arg", "=", "XEXP", "(", "XEXP", "(", "link", ",", "0", ")", ",", "0", ")", ";", "if", "(", "ix86_check_avx_upper_register", "(", "arg", ")", ")", "return", "AVX_U128_DIRTY", ";", "}", "}", "return", "AVX_U128_CLEAN", ";", "}", "subrtx_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX", "(", "iter", ",", "array", ",", "PATTERN", "(", "insn", ")", ",", "NONCONST", ")", "if", "(", "ix86_check_avx_upper_register", "(", "*", "iter", ")", ")", "return", "AVX_U128_DIRTY", ";", "return", "AVX_U128_ANY", ";", "}", ""], "natrual_language": ["Return", "needed", "mode", "for", "entity", "in", "optimize_mode_switching", "pass", "."], "TS_V_token": ["i386", "1", "0", "0", "0"], "File": "i3867", "Func": "ix86_avx_u128_mode_needed", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13550, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "EnableA53Fix835769", ")", "addPass", "(", "createAArch64A53Fix835769", "(", ")", ")", ";", "if", "(", "BranchRelaxation", ")", "addPass", "(", "&", "BranchRelaxationPassID", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableCollectLOH", "&&", "TM", "->", "getTargetTriple", "(", ")", ".", "isOSBinFormatMachO", "(", ")", ")", "addPass", "(", "createAArch64CollectLOHPass", "(", ")", ")", ";", "}", ""], "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"], "File": "AArch64TargetMachine11", "Func": "addPreEmitPass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13551, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TOYFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "MF", ".", "getFrameInfo", "(", ")", ".", "hasVarSizedObjects", "(", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["TOY", "TOY"], "File": "TOYFrameLowering1", "Func": "hasFP", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13552, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "EmitInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "EmitA64MappingSymbol", "(", ")", ";", "MCELFStreamer", "::", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["AArch64"], "File": "AArch64ELFStreamer14", "Func": "EmitInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13553, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "quad_address_p", "(", "rtx", "addr", ",", "machine_mode", "mode", ",", "bool", "strict", ")", "{", "rtx", "op0", ",", "op1", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "!=", "16", ")", "return", "false", ";", "if", "(", "legitimate_indirect_address_p", "(", "addr", ",", "strict", ")", ")", "return", "true", ";", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", "&&", "!", "mode_supports_vsx_dform_quad", "(", "mode", ")", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "addr", ")", "!=", "PLUS", ")", "return", "false", ";", "op0", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "if", "(", "!", "REG_P", "(", "op0", ")", "||", "!", "INT_REG_OK_FOR_BASE_P", "(", "op0", ",", "strict", ")", ")", "return", "false", ";", "op1", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "if", "(", "!", "CONST_INT_P", "(", "op1", ")", ")", "return", "false", ";", "return", "quad_address_offset_p", "(", "INTVAL", "(", "op1", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "ADDR", "is", "an", "acceptable", "address", "for", "a", "quad", "memory", "operation", "of", "mode", "MODE", "(", "either", "LQ/STQ", "for", "general", "purpose", "registers", ",", "or", "LXV/STXV", "for", "vector", "registers", "under", "ISA", "3.0", ".", "GPR_P", "is", "true", "if", "this", "address", "is", "intended", "for", "LQ/STQ", ".", "If", "it", "is", "false", ",", "the", "address", "is", "intended", "for", "the", "ISA", "3.0", "LXV/STXV", "instruction", "."], "TS_V_token": ["rs6000", "16", "0", "1"], "File": "rs60006", "Func": "quad_address_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13554, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiTargetObjectFile", "::", "isGlobalInSmallSection", "(", "const", "GlobalValue", "*", "GV", ",", "const", "TargetMachine", "&", "TM", ",", "SectionKind", "Kind", ")", "const", "{", "return", "(", "isGlobalInSmallSectionImpl", "(", "GV", ",", "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": ["Lanai", "Lanai"], "File": "LanaiTargetObjectFile12", "Func": "isGlobalInSmallSection", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13555, "Length": 51, "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", "&&", "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": "i386", "Func": "ix86_excess_precision", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13556, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "pru_asm_regname", "(", "rtx", "op", ")", "{", "static", "char", "canon_reg_names", "[", "3", "]", "[", "LAST_GP_REGNUM", "]", "[", "8", "]", ";", "int", "speci", ",", "regi", ";", "gcc_assert", "(", "REG_P", "(", "op", ")", ")", ";", "if", "(", "!", "canon_reg_names", "[", "0", "]", "[", "0", "]", "[", "0", "]", ")", "{", "for", "(", "regi", "=", "0", ";", "regi", "<", "LAST_GP_REGNUM", ";", "regi", "++", ")", "for", "(", "speci", "=", "0", ";", "speci", "<", "3", ";", "speci", "++", ")", "{", "const", "int", "sz", "=", "(", "speci", "==", "0", ")", "?", "1", ":", "(", "(", "speci", "==", "1", ")", "?", "2", ":", "4", ")", ";", "if", "(", "(", "regi", "+", "sz", ")", ">", "(", "32", "*", "4", ")", ")", "continue", ";", "const", "char", "*", "suffix", "=", "\"\"", ";", "switch", "(", "(", "sz", "<<", "8", ")", "|", "(", "regi", "%", "4", ")", ")", "{", "case", "(", "1", "<<", "8", ")", "|", "0", ":", "suffix", "=", "\".b0\"", ";", "break", ";", "case", "(", "1", "<<", "8", ")", "|", "1", ":", "suffix", "=", "\".b1\"", ";", "break", ";", "case", "(", "1", "<<", "8", ")", "|", "2", ":", "suffix", "=", "\".b2\"", ";", "break", ";", "case", "(", "1", "<<", "8", ")", "|", "3", ":", "suffix", "=", "\".b3\"", ";", "break", ";", "case", "(", "2", "<<", "8", ")", "|", "0", ":", "suffix", "=", "\".w0\"", ";", "break", ";", "case", "(", "2", "<<", "8", ")", "|", "1", ":", "suffix", "=", "\".w1\"", ";", "break", ";", "case", "(", "2", "<<", "8", ")", "|", "2", ":", "suffix", "=", "\".w2\"", ";", "break", ";", "case", "(", "4", "<<", "8", ")", "|", "0", ":", "suffix", "=", "\"\"", ";", "break", ";", "default", ":", "continue", ";", "}", "sprintf", "(", "&", "canon_reg_names", "[", "speci", "]", "[", "regi", "]", "[", "0", "]", ",", "\"r%d%s\"", ",", "regi", "/", "4", ",", "suffix", ")", ";", "}", "}", "switch", "(", "GET_MODE_SIZE", "(", "GET_MODE", "(", "op", ")", ")", ")", "{", "case", "1", ":", "speci", "=", "0", ";", "break", ";", "case", "2", ":", "speci", "=", "1", ";", "break", ";", "case", "4", ":", "speci", "=", "2", ";", "break", ";", "case", "8", ":", "speci", "=", "2", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "regi", "=", "REGNO", "(", "op", ")", ";", "gcc_assert", "(", "regi", "<", "LAST_GP_REGNUM", ")", ";", "gcc_assert", "(", "canon_reg_names", "[", "speci", "]", "[", "regi", "]", "[", "0", "]", ")", ";", "return", "&", "canon_reg_names", "[", "speci", "]", "[", "regi", "]", "[", "0", "]", ";", "}", ""], "natrual_language": ["Translate", "between", "the", "MachineDescription", "notion", "of", "8-bit", "consecutive", "registers", ",", "to", "the", "PRU", "assembler", "syntax", "of", "REGWORD", "[", ".SUBREG", "]", "."], "TS_V_token": ["pru", "3", "8", "0", "0", "0", "0", "0", "3", "0", "1", "1", "2", "4", "32", "4", "\"\"", "8", "4", "1", "8", "0", "\".b0\"", "1", "8", "1", "\".b1\"", "1", "8", "2", "\".b2\"", "1", "8", "3", "\".b3\"", "2", "8", "0", "\".w0\"", "2", "8", "1", "\".w1\"", "2", "8", "2", "\".w2\"", "4", "8", "0", "\"\"", "0", "\"r%d%s\"", "4", "1", "0", "2", "1", "4", "2", "8", "2", "0", "0"], "File": "pru", "Func": "pru_asm_regname", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13557, "Length": 386, "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_EXT_PERF", "&&", "(", "one_bit_count", "==", "1", ")", ")", ";", "}", ""], "natrual_language": ["Function", "to", "check", "if", "'bset", "'", "instruction", "can", "be", "used", "with", "IVAL", "."], "TS_V_token": ["nds32", "1"], "File": "nds32-predicates5", "Func": "nds32_can_use_bset_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13558, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_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_ix86_isa_flags", "&", "callee_opts", "->", "x_ix86_isa_flags", ")", "!=", "callee_opts", "->", "x_ix86_isa_flags", ")", "||", "(", "(", "caller_opts", "->", "x_ix86_isa_flags2", "&", "callee_opts", "->", "x_ix86_isa_flags2", ")", "!=", "callee_opts", "->", "x_ix86_isa_flags2", ")", ")", "ret", "=", "false", ";", "else", "if", "(", "caller_opts", "->", "x_target_flags", "!=", "callee_opts", "->", "x_target_flags", ")", "ret", "=", "false", ";", "else", "if", "(", "caller_opts", "->", "arch", "!=", "callee_opts", "->", "arch", ")", "ret", "=", "false", ";", "else", "if", "(", "caller_opts", "->", "tune", "!=", "callee_opts", "->", "tune", ")", "ret", "=", "false", ";", "else", "if", "(", "caller_opts", "->", "x_ix86_fpmath", "!=", "callee_opts", "->", "x_ix86_fpmath", ")", "ret", "=", "false", ";", "else", "if", "(", "caller_opts", "->", "branch_cost", "!=", "callee_opts", "->", "branch_cost", ")", "ret", "=", "false", ";", "else", "ret", "=", "true", ";", "}", "return", "ret", ";", "}", ""], "natrual_language": ["Hook", "to", "determine", "if", "one", "function", "can", "safely", "inline", "another", "."], "TS_V_token": ["i386"], "File": "i3866", "Func": "ix86_can_inline_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13559, "Length": 196, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "shouldReduceLoadWidth", "(", "SDNode", "*", "Load", ",", "ISD", "::", "LoadExtType", "ExtTy", ",", "EVT", "NewVT", ")", "const", "{", "if", "(", "ExtTy", "!=", "ISD", "::", "NON_EXTLOAD", ")", "return", "true", ";", "MemSDNode", "*", "Mem", "=", "dyn_cast", "<", "MemSDNode", ">", "(", "Load", ")", ";", "assert", "(", "Mem", ")", ";", "const", "SDValue", "&", "Base", "=", "Mem", "->", "getBasePtr", "(", ")", ";", "if", "(", "Base", ".", "getOpcode", "(", ")", "==", "ISD", "::", "ADD", "&&", "Base", ".", "getOperand", "(", "1", ")", ".", "getOpcode", "(", ")", "==", "ISD", "::", "SHL", "&&", "Base", ".", "getOperand", "(", "1", ")", ".", "hasOneUse", "(", ")", "&&", "Base", ".", "getOperand", "(", "1", ")", ".", "getOperand", "(", "1", ")", ".", "getOpcode", "(", ")", "==", "ISD", "::", "Constant", ")", "{", "uint64_t", "ShiftAmount", "=", "Base", ".", "getOperand", "(", "1", ")", ".", "getConstantOperandVal", "(", "1", ")", ";", "uint64_t", "LoadBytes", "=", "Mem", "->", "getMemoryVT", "(", ")", ".", "getSizeInBits", "(", ")", "/", "8", ";", "if", "(", "ShiftAmount", "==", "Log2_32", "(", "LoadBytes", ")", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "believe", "it", "is", "correct", "and", "profitable", "to", "reduce", "the", "load", "node", "to", "a", "smaller", "type", "."], "TS_V_token": ["AArch64", "AArch64", "ISD::LoadExtType", "ISD::NON_EXTLOAD", "ISD::ADD", "1", "ISD::SHL", "1", "1", "1", "ISD::Constant", "1", "1", "8"], "File": "AArch64ISelLowering", "Func": "shouldReduceLoadWidth", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13560, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Warning", "(", "SMLoc", "L", ",", "const", "Twine", "&", "Msg", ")", "{", "getParser", "(", ")", ".", "Warning", "(", "L", ",", "Msg", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "warning", "at", "the", "location", "L", ",", "with", "the", "message", "Msg", "."], "TS_V_token": ["AArch64"], "File": "AArch64AsmParser (2)1", "Func": "Warning", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13561, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LoongArchAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "Operands", ".", "push_back", "(", "LoongArchOperand", "::", "createToken", "(", "Name", ",", "NameLoc", ")", ")", ";", "if", "(", "parseOptionalToken", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "return", "false", ";", "if", "(", "parseOperand", "(", "Operands", ",", "Name", ")", ")", "return", "true", ";", "while", "(", "parseOptionalToken", "(", "AsmToken", "::", "Comma", ")", ")", "if", "(", "parseOperand", "(", "Operands", ",", "Name", ")", ")", "return", "true", ";", "if", "(", "parseOptionalToken", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "return", "false", ";", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "getParser", "(", ")", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token\"", ")", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["LoongArch", "LoongArch", "LoongArchOperand::createToken", "\"unexpected token\""], "File": "LoongArchAsmParser", "Func": "ParseInstruction", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13562, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "gw_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": "gw_consumed_by_ex_dep_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13563, "Length": 258, "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": 13564, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_store_conditional", "(", "enum", "machine_mode", "mode", ",", "rtx", "res", ",", "rtx", "mem", ",", "rtx", "val", ")", "{", "rtx", "(", "*", "fn", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", "=", "NULL", ";", "if", "(", "mode", "==", "SImode", ")", "fn", "=", "gen_store_conditional_si", ";", "else", "if", "(", "mode", "==", "DImode", ")", "fn", "=", "gen_store_conditional_di", ";", "if", "(", "PPC405_ERRATUM77", ")", "emit_insn", "(", "gen_memory_barrier", "(", ")", ")", ";", "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": "rs60003", "Func": "emit_store_conditional", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13565, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsPassConfig", "::", "addIRPasses", "(", ")", "{", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "if", "(", "getMipsSubtarget", "(", ")", ".", "os16", "(", ")", ")", "addPass", "(", "createMipsOs16Pass", "(", ")", ")", ";", "if", "(", "getMipsSubtarget", "(", ")", ".", "inMips16HardFloat", "(", ")", ")", "addPass", "(", "createMips16HardFloatPass", "(", ")", ")", ";", "if", "(", "getMipsSubtarget", "(", ")", ".", "isCheri", "(", ")", ")", "{", "addPass", "(", "createCheriLoopPointerDecanonicalize", "(", ")", ")", ";", "addPass", "(", "createAggressiveDCEPass", "(", ")", ")", ";", "addPass", "(", "createCheriRangeChecker", "(", ")", ")", ";", "addPass", "(", "createCheriBoundAllocasPass", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsTargetMachine55", "Func": "addIRPasses", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13566, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_rtx_arith_op_extract_p", "(", "rtx", "x", ",", "machine_mode", "mode", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "SIGN_EXTRACT", "||", "GET_CODE", "(", "x", ")", "==", "ZERO_EXTRACT", ")", "{", "rtx", "op0", "=", "XEXP", "(", "x", ",", "0", ")", ";", "rtx", "op1", "=", "XEXP", "(", "x", ",", "1", ")", ";", "rtx", "op2", "=", "XEXP", "(", "x", ",", "2", ")", ";", "if", "(", "GET_CODE", "(", "op0", ")", "==", "MULT", "&&", "CONST_INT_P", "(", "op1", ")", "&&", "op2", "==", "const0_rtx", "&&", "CONST_INT_P", "(", "XEXP", "(", "op0", ",", "1", ")", ")", "&&", "aarch64_is_extend_from_extract", "(", "mode", ",", "XEXP", "(", "op0", ",", "1", ")", ",", "op1", ")", ")", "{", "return", "true", ";", "}", "}", "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", "1", "2", "1", "1"], "File": "aarch642", "Func": "aarch64_rtx_arith_op_extract_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13567, "Length": 110, "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", ":", "case", "ARM", "::", "VLDR_P0_off", ":", "case", "ARM", "::", "MVE_VLDRWU32", ":", "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", "::", "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", "ARM::VLDR_P0_off", "ARM::MVE_VLDRWU32", "1", "2", "2", "0", "1", "0", "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": "ARMBaseInstrInfo30", "Func": "isLoadFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13568, "Length": 395, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emitSPUpdate", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "int", "NumBytes", ",", "ARMCC", "::", "CondCodes", "Pred", ",", "unsigned", "PredReg", ",", "bool", "isThumb", ",", "const", "TargetInstrInfo", "&", "TII", ",", "const", "ARMRegisterInfo", "&", "MRI", ",", "DebugLoc", "dl", ")", "{", "if", "(", "isThumb", ")", "emitThumbRegPlusImmediate", "(", "MBB", ",", "MBBI", ",", "ARM", "::", "SP", ",", "ARM", "::", "SP", ",", "NumBytes", ",", "TII", ",", "MRI", ",", "dl", ")", ";", "else", "emitARMRegPlusImmediate", "(", "MBB", ",", "MBBI", ",", "ARM", "::", "SP", ",", "ARM", "::", "SP", ",", "NumBytes", ",", "Pred", ",", "PredReg", ",", "TII", ",", "dl", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "series", "of", "instructions", "to", "increment", "/", "decrement", "the", "stack", "pointer", "by", "a", "constant", "value", "."], "TS_V_token": ["ARM", "ARMCC::CondCodes", "ARM", "ARM::SP", "ARM::SP", "ARM", "ARM::SP", "ARM::SP"], "File": "ARMRegisterInfo13", "Func": "emitSPUpdate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13569, "Length": 96, "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", "(", "VOIDmode", ",", "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", "(", "VOIDmode", ",", "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": "arm4", "Func": "arm_emit_vfp_multi_reg_pop", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13570, "Length": 296, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "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", ")", ";", "return", "components", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SHRINK_WRAP_COMPONENTS_FOR_BB", "."], "TS_V_token": ["powerpcspe", "32", "64", "0"], "File": "powerpcspe", "Func": "rs6000_components_for_bb", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13571, "Length": 189, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMFrameLowering", "::", "assignCalleeSavedSpillSlots", "(", "MachineFunction", "&", "MF", ",", "const", "TargetRegisterInfo", "*", "TRI", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "if", "(", "STI", ".", "hasV8_1MMainlineOps", "(", ")", "&&", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", "->", "isCmseNSEntryFunction", "(", ")", ")", "{", "CSI", ".", "emplace_back", "(", "ARM", "::", "FPCXTNS", ")", ";", "CSI", ".", "back", "(", ")", ".", "setRestored", "(", "false", ")", ";", "}", "const", "auto", "&", "AFI", "=", "*", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "if", "(", "AFI", ".", "shouldSignReturnAddress", "(", ")", ")", "{", "CSI", ".", "insert", "(", "find_if", "(", "CSI", ",", "[", "=", "]", "(", "const", "auto", "&", "CS", ")", "{", "unsigned", "Reg", "=", "CS", ".", "getReg", "(", ")", ";", "return", "Reg", "==", "ARM", "::", "R10", "||", "Reg", "==", "ARM", "::", "R11", "||", "Reg", "==", "ARM", "::", "R8", "||", "Reg", "==", "ARM", "::", "R9", "||", "ARM", "::", "DPRRegClass", ".", "contains", "(", "Reg", ")", ";", "}", ")", ",", "CalleeSavedInfo", "(", "ARM", "::", "R12", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "will", "assign", "callee", "saved", "gprs", "to", "volatile", "vector", "registers", "for", "prologue", "spills", "when", "applicable", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM::FPCXTNS", "ARM", "ARM::R10", "ARM::R11", "ARM::R8", "ARM::R9", "ARM::DPRRegClass", "ARM::R12"], "File": "ARMFrameLowering100", "Func": "assignCalleeSavedSpillSlots", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13572, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_finish_atomic_subword", "(", "rtx", "narrow", ",", "rtx", "wide", ",", "rtx", "shift", ")", "{", "wide", "=", "expand_simple_binop", "(", "SImode", ",", "LSHIFTRT", ",", "wide", ",", "shift", ",", "wide", ",", "1", ",", "OPTAB_LIB_WIDEN", ")", ";", "emit_move_insn", "(", "narrow", ",", "gen_lowpart", "(", "GET_MODE", "(", "narrow", ")", ",", "wide", ")", ")", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "the", "various", "atomic", "expanders", ".", "For", "sub-word", "operands", ",", "extract", "WIDE", "to", "NARROW", "via", "SHIFT", "."], "TS_V_token": ["powerpcspe", "1"], "File": "powerpcspe", "Func": "rs6000_finish_atomic_subword", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13573, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CAHPAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "uint64_t", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "unsigned", "Res", "=", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ";", "switch", "(", "Res", ")", "{", "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", ":", "{", "SMLoc", "ErrorLoc", "=", "IDLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "0U", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "ErrorLoc", ",", "\"too few operands for instruction\"", ")", ";", "ErrorLoc", "=", "(", "(", "CAHPOperand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "\"invalid operand for instruction\"", ")", ";", "}", "}", "CAHPOperand", "&", "Operand", "=", "(", "CAHPOperand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ";", "if", "(", "!", "Operand", ".", "isImm", "(", ")", ")", "return", "Error", "(", "Operand", ".", "getStartLoc", "(", ")", ",", "\"invalid operand for instruction\"", ")", ";", "switch", "(", "Res", ")", "{", "case", "Match_InvalidSImm", "##", "nbits", ":", "\\", "return", "generateImmOutOfRangeError", "(", "\\", "Operands", ",", "ErrorInfo", ",", "-", "(", "1", "<<", "(", "nbits", "-", "1", ")", ")", ",", "(", "1", "<<", "(", "nbits", "-", "1", ")", ")", "-", "1", ")", ";", "case", "Match_InvalidUImm", "##", "nbits", ":", "\\", "return", "generateImmOutOfRangeError", "(", "Operands", ",", "ErrorInfo", ",", "0", ",", "(", "1", "<<", "nbits", ")", "-", "1", ")", ";", "case", "Match_InvalidSImm", "##", "nbits", "##", "Lsb0", ":", "\\", "return", "generateImmOutOfRangeError", "(", "\\", "Operands", ",", "ErrorInfo", ",", "-", "(", "1", "<<", "(", "nbits", "-", "1", ")", ")", ",", "(", "1", "<<", "(", "nbits", "-", "1", ")", ")", "-", "2", ",", "\\", "\"immediate must be a multiple of 2 bytes in the range\"", ")", ";", "case", "Match_InvalidUImm", "##", "nbits", "##", "Lsb0", ":", "\\", "return", "generateImmOutOfRangeError", "(", "\\", "Operands", ",", "ErrorInfo", ",", "0", ",", "(", "1", "<<", "nbits", ")", "-", "2", ",", "\\", "\"immediate must be a multiple of 2 bytes in the range\"", ")", ";", "CASE_MATCH_INVALID_UIMM", "(", "4", ")", ";", "CASE_MATCH_INVALID_SIMM", "(", "11", ")", ";", "CASE_MATCH_INVALID_UIMM_LSB0", "(", "7", ")", ";", "case", "Match_InvalidSImm6", ":", "return", "generateImmOutOfRangeError", "(", "Operands", ",", "ErrorInfo", ",", "-", "(", "1", "<<", "5", ")", ",", "(", "1", "<<", "5", ")", "-", "1", ",", "\"operand must be a symbol with %hi modifier or an integer in \"", "\"the range\"", ")", ";", "case", "Match_InvalidSImm10", ":", "return", "generateImmOutOfRangeError", "(", "Operands", ",", "ErrorInfo", ",", "-", "(", "1", "<<", "9", ")", ",", "(", "1", "<<", "9", ")", "-", "1", ",", "\"operand must be a symbol with %lo modifier or an integer in \"", "\"the range\"", ")", ";", "}", "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": ["CAHP", "CAHP", "\"instruction use requires an option to be enabled\"", "\"unrecognized instruction mnemonic\"", "0U", "\"too few operands for instruction\"", "CAHP", "\"invalid operand for instruction\"", "CAHP", "CAHP", "\"invalid operand for instruction\"", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "2", "\"immediate must be a multiple of 2 bytes in the range\"", "0", "1", "2", "\"immediate must be a multiple of 2 bytes in the range\"", "4", "11", "7", "1", "5", "1", "5", "1", "\"operand must be a symbol with %hi modifier or an integer in \"", "\"the range\"", "1", "9", "1", "9", "1", "\"operand must be a symbol with %lo modifier or an integer in \"", "\"the range\"", "\"Unknown match type detected!\""], "File": "CAHPAsmParser", "Func": "MatchAndEmitInstruction", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13574, "Length": 431, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "PPCDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "if", "(", "!", "GlobalBaseReg", ")", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "PPCSubTarget", "->", "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", "(", "PPCSubTarget", "->", "isTargetELF", "(", ")", ")", "{", "GlobalBaseReg", "=", "PPC", "::", "R30", ";", "if", "(", "!", "PPCSubTarget", "->", "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", "PPC", "MVT::i32", "PPC", "PPC::R30", "PPC", "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": "PPCISelDAGToDAG103", "Func": "getGlobalBaseReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13575, "Length": 420, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "nds32_legitimize_tls_address", "(", "rtx", "x", ")", "{", "rtx", "tmp_reg", ";", "rtx", "tp_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "TP_REGNUM", ")", ";", "rtx", "pat", ",", "insns", ",", "reg0", ";", "int", "relax_group_id", "=", "nds32_alloc_relax_group_id", "(", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", ")", "switch", "(", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", ")", "{", "case", "TLS_MODEL_GLOBAL_DYNAMIC", ":", "case", "TLS_MODEL_LOCAL_DYNAMIC", ":", "if", "(", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", "==", "TLS_MODEL_GLOBAL_DYNAMIC", ")", "pat", "=", "gen_rtx_UNSPEC", "(", "SImode", ",", "gen_rtvec", "(", "1", ",", "x", ")", ",", "UNSPEC_TLSGD", ")", ";", "else", "pat", "=", "gen_rtx_UNSPEC", "(", "SImode", ",", "gen_rtvec", "(", "1", ",", "x", ")", ",", "UNSPEC_TLSLD", ")", ";", "pat", "=", "gen_rtx_CONST", "(", "SImode", ",", "pat", ")", ";", "reg0", "=", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ";", "insns", "=", "emit_call_insn", "(", "gen_tls_desc", "(", "pat", ",", "GEN_INT", "(", "relax_group_id", ")", ")", ")", ";", "use_reg", "(", "&", "CALL_INSN_FUNCTION_USAGE", "(", "insns", ")", ",", "pic_offset_table_rtx", ")", ";", "RTL_CONST_CALL_P", "(", "insns", ")", "=", "1", ";", "tmp_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_move_insn", "(", "tmp_reg", ",", "reg0", ")", ";", "x", "=", "tmp_reg", ";", "break", ";", "case", "TLS_MODEL_INITIAL_EXEC", ":", "pat", "=", "gen_rtx_UNSPEC", "(", "SImode", ",", "gen_rtvec", "(", "1", ",", "x", ")", ",", "UNSPEC_TLSIE", ")", ";", "tmp_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "pat", "=", "gen_rtx_CONST", "(", "SImode", ",", "pat", ")", ";", "emit_insn", "(", "gen_tls_ie", "(", "tmp_reg", ",", "pat", ",", "GEN_INT", "(", "relax_group_id", ")", ")", ")", ";", "if", "(", "flag_pic", ")", "emit_use", "(", "pic_offset_table_rtx", ")", ";", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "tmp_reg", ",", "tp_reg", ")", ";", "break", ";", "case", "TLS_MODEL_LOCAL_EXEC", ":", "tmp_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "pat", "=", "gen_rtx_UNSPEC", "(", "SImode", ",", "gen_rtvec", "(", "1", ",", "x", ")", ",", "UNSPEC_TLSLE", ")", ";", "pat", "=", "gen_rtx_CONST", "(", "SImode", ",", "pat", ")", ";", "emit_insn", "(", "gen_tls_le", "(", "tmp_reg", ",", "pat", ",", "GEN_INT", "(", "relax_group_id", ")", ")", ")", ";", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "tmp_reg", ",", "tp_reg", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST", ")", "{", "rtx", "base", ",", "addend", ";", "split_const", "(", "x", ",", "&", "base", ",", "&", "addend", ")", ";", "if", "(", "SYMBOL_REF_TLS_MODEL", "(", "base", ")", "==", "TLS_MODEL_LOCAL_EXEC", ")", "{", "tmp_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "pat", "=", "gen_rtx_UNSPEC", "(", "SImode", ",", "gen_rtvec", "(", "1", ",", "base", ")", ",", "UNSPEC_TLSLE", ")", ";", "pat", "=", "gen_rtx_PLUS", "(", "SImode", ",", "pat", ",", "addend", ")", ";", "pat", "=", "gen_rtx_CONST", "(", "SImode", ",", "pat", ")", ";", "emit_insn", "(", "gen_tls_le", "(", "tmp_reg", ",", "pat", ",", "GEN_INT", "(", "relax_group_id", ")", ")", ")", ";", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "tmp_reg", ",", "tp_reg", ")", ";", "}", "}", "return", "x", ";", "}", ""], "natrual_language": ["ADDR", "contains", "a", "thread-local", "SYMBOL_REF", ".", "Generate", "code", "to", "compute", "this", "(", "thread-local", ")", "address", "."], "TS_V_token": ["nds32", "1", "1", "0", "1", "1", "1", "1"], "File": "nds32-md-auxiliary", "Func": "nds32_legitimize_tls_address", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13576, "Length": 424, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "get_pc_thunk_name", "(", "char", "name", "[", "32", "]", ",", "unsigned", "int", "regno", ")", "{", "if", "(", "USE_HIDDEN_LINKONCE", ")", "sprintf", "(", "name", ",", "\"__i686.get_pc_thunk.%s\"", ",", "reg_names", "[", "regno", "]", ")", ";", "else", "ASM_GENERATE_INTERNAL_LABEL", "(", "name", ",", "\"LPR\"", ",", "regno", ")", ";", "}", ""], "natrual_language": ["Fills", "in", "the", "label", "name", "that", "should", "be", "used", "for", "a", "pc", "thunk", "for", "the", "given", "register", "."], "TS_V_token": ["i386", "32", "\"__i686.get_pc_thunk.%s\"", "\"LPR\""], "File": "i3863", "Func": "get_pc_thunk_name", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13577, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_vector_mode_supported_p", "(", "machine_mode", "mode", ")", "{", "if", "(", "VECTOR_MEM_ALTIVEC_OR_VSX_P", "(", "mode", ")", "&&", "!", "FLOAT128_IEEE_P", "(", "mode", ")", ")", "return", "true", ";", "else", "return", "false", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "vector_mode_supported_p", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_vector_mode_supported_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13578, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "SystemZMCCodeEmitter", "::", "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", "<", "uint64_t", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "llvm_unreachable", "(", "\"Unexpected operand type!\"", ")", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"Unexpected operand type!\""], "File": "SystemZMCCodeEmitter1", "Func": "getMachineOpValue", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13579, "Length": 80, "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", ")", ";", "this", "->", "TM", "=", "&", "static_cast", "<", "const", "Cpu0TargetMachine", "&", ">", "(", "TM", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["Cpu0", "Cpu0", "\".sdata\"", "\".sbss\"", "Cpu0"], "File": "Cpu0TargetObjectFile4", "Func": "Initialize", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13580, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "loongarch_move_integer", "(", "rtx", "temp", ",", "rtx", "dest", ",", "unsigned", "HOST_WIDE_INT", "value", ")", "{", "struct", "loongarch_integer_op", "codes", "[", "LARCH_MAX_INTEGER_OPS", "]", ";", "machine_mode", "mode", ";", "unsigned", "int", "i", ",", "num_ops", ";", "rtx", "x", ";", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "num_ops", "=", "loongarch_build_integer", "(", "codes", ",", "value", ")", ";", "x", "=", "GEN_INT", "(", "codes", "[", "0", "]", ".", "value", ")", ";", "for", "(", "i", "=", "1", ";", "i", "<", "num_ops", ";", "i", "++", ")", "{", "if", "(", "!", "can_create_pseudo_p", "(", ")", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "temp", ",", "x", ")", ")", ";", "x", "=", "temp", ";", "}", "else", "x", "=", "force_reg", "(", "mode", ",", "x", ")", ";", "set_unique_reg_note", "(", "get_last_insn", "(", ")", ",", "REG_EQUAL", ",", "GEN_INT", "(", "codes", "[", "i", "-", "1", "]", ".", "curr_value", ")", ")", ";", "switch", "(", "codes", "[", "i", "]", ".", "method", ")", "{", "case", "METHOD_NORMAL", ":", "x", "=", "gen_rtx_fmt_ee", "(", "codes", "[", "i", "]", ".", "code", ",", "mode", ",", "x", ",", "GEN_INT", "(", "codes", "[", "i", "]", ".", "value", ")", ")", ";", "break", ";", "case", "METHOD_LU32I", ":", "gcc_assert", "(", "mode", "==", "DImode", ")", ";", "x", "=", "gen_rtx_IOR", "(", "DImode", ",", "gen_rtx_ZERO_EXTEND", "(", "DImode", ",", "gen_rtx_SUBREG", "(", "SImode", ",", "x", ",", "0", ")", ")", ",", "GEN_INT", "(", "codes", "[", "i", "]", ".", "value", ")", ")", ";", "break", ";", "case", "METHOD_LU52I", ":", "gcc_assert", "(", "mode", "==", "DImode", ")", ";", "x", "=", "gen_rtx_IOR", "(", "DImode", ",", "gen_rtx_AND", "(", "DImode", ",", "x", ",", "GEN_INT", "(", "0xfffffffffffff", ")", ")", ",", "GEN_INT", "(", "codes", "[", "i", "]", ".", "value", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "x", ")", ")", ";", "}", ""], "natrual_language": ["Load", "VALUE", "into", "DEST", ".", "TEMP", "is", "as", "for", "loongarch_force_temporary", "."], "TS_V_token": ["loongarch", "0", "1", "1", "0", "0xfffffffffffff"], "File": "loongarch1", "Func": "loongarch_move_integer", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13581, "Length": 273, "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", "::", "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": "ARMISelLowering (3)", "Func": "isFPImmLegal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13582, "Length": 101, "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": 13583, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "TargetFrameInfo", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", ";", "if", "(", "!", "TFI", "->", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "MachineInstr", "*", "Old", "=", "I", ";", "DebugLoc", "dl", "=", "Old", "->", "getDebugLoc", "(", ")", ";", "unsigned", "Amount", "=", "Old", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "Amount", "!=", "0", ")", "{", "unsigned", "Align", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", "->", "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", ",", "Pred", ",", "PredReg", ")", ";", "}", "else", "{", "unsigned", "PredReg", "=", "Old", "->", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", ";", "assert", "(", "Opc", "==", "ARM", "::", "ADJCALLSTACKUP", "||", "Opc", "==", "ARM", "::", "tADJCALLSTACKUP", ")", ";", "emitSPUpdate", "(", "isARM", ",", "MBB", ",", "I", ",", "dl", ",", "TII", ",", "Amount", ",", "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", "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": "ARMBaseRegisterInfo36", "Func": "eliminateCallFramePseudoInstr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13584, "Length": 309, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "optimizeCondBranch", "(", "MachineInstr", "*", "MI", ")", "const", "{", "bool", "IsNegativeBranch", "=", "false", ";", "bool", "IsTestAndBranch", "=", "false", ";", "unsigned", "TargetBBInMI", "=", "0", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown branch instruction?\"", ")", ";", "case", "AArch64", "::", "Bcc", ":", "return", "false", ";", "case", "AArch64", "::", "CBZW", ":", "case", "AArch64", "::", "CBZX", ":", "TargetBBInMI", "=", "1", ";", "break", ";", "case", "AArch64", "::", "CBNZW", ":", "case", "AArch64", "::", "CBNZX", ":", "TargetBBInMI", "=", "1", ";", "IsNegativeBranch", "=", "true", ";", "break", ";", "case", "AArch64", "::", "TBZW", ":", "case", "AArch64", "::", "TBZX", ":", "TargetBBInMI", "=", "2", ";", "IsTestAndBranch", "=", "true", ";", "break", ";", "case", "AArch64", "::", "TBNZW", ":", "case", "AArch64", "::", "TBNZX", ":", "TargetBBInMI", "=", "2", ";", "IsNegativeBranch", "=", "true", ";", "IsTestAndBranch", "=", "true", ";", "break", ";", "}", "if", "(", "IsTestAndBranch", "&&", "MI", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ")", "return", "false", ";", "assert", "(", "MI", "->", "getParent", "(", ")", "&&", "\"Incomplete machine instruciton\\n\"", ")", ";", "MachineBasicBlock", "*", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "MachineFunction", "*", "MF", "=", "MBB", "->", "getParent", "(", ")", ";", "MachineRegisterInfo", "*", "MRI", "=", "&", "MF", "->", "getRegInfo", "(", ")", ";", "unsigned", "VReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "if", "(", "!", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "VReg", ")", ")", "return", "false", ";", "MachineInstr", "*", "DefMI", "=", "MRI", "->", "getVRegDef", "(", "VReg", ")", ";", "if", "(", "!", "(", "DefMI", "->", "getOpcode", "(", ")", "==", "AArch64", "::", "CSINCWr", "&&", "DefMI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "AArch64", "::", "WZR", "&&", "DefMI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", "==", "AArch64", "::", "WZR", ")", "&&", "!", "(", "DefMI", "->", "getOpcode", "(", ")", "==", "AArch64", "::", "CSINCXr", "&&", "DefMI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "AArch64", "::", "XZR", "&&", "DefMI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", "==", "AArch64", "::", "XZR", ")", ")", "return", "false", ";", "if", "(", "DefMI", "->", "findRegisterDefOperandIdx", "(", "AArch64", "::", "NZCV", ",", "true", ")", "!=", "-", "1", ")", "return", "false", ";", "AArch64CC", "::", "CondCode", "CC", "=", "(", "AArch64CC", "::", "CondCode", ")", "DefMI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "bool", "CheckOnlyCCWrites", "=", "true", ";", "if", "(", "modifiesConditionCode", "(", "DefMI", ",", "MI", ",", "CheckOnlyCCWrites", ",", "&", "getRegisterInfo", "(", ")", ")", ")", "return", "false", ";", "MachineBasicBlock", "&", "RefToMBB", "=", "*", "MBB", ";", "MachineBasicBlock", "*", "TBB", "=", "MI", "->", "getOperand", "(", "TargetBBInMI", ")", ".", "getMBB", "(", ")", ";", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "IsNegativeBranch", ")", "CC", "=", "AArch64CC", "::", "getInvertedCondCode", "(", "CC", ")", ";", "BuildMI", "(", "RefToMBB", ",", "MI", ",", "DL", ",", "get", "(", "AArch64", "::", "Bcc", ")", ")", ".", "addImm", "(", "CC", ")", ".", "addMBB", "(", "TBB", ")", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Replace", "csincr-branch", "sequence", "by", "simple", "conditional", "branch", "."], "TS_V_token": ["AArch64", "AArch64", "0", "\"Unknown branch instruction?\"", "AArch64::Bcc", "AArch64::CBZW", "AArch64::CBZX", "1", "AArch64::CBNZW", "AArch64::CBNZX", "1", "AArch64::TBZW", "AArch64::TBZX", "2", "AArch64::TBNZW", "AArch64::TBNZX", "2", "1", "\"Incomplete machine instruciton\\n\"", "0", "AArch64::CSINCWr", "1", "AArch64::WZR", "2", "AArch64::WZR", "AArch64::CSINCXr", "1", "AArch64::XZR", "2", "AArch64::XZR", "AArch64::NZCV", "1", "AArch64CC::CondCode", "AArch64CC::CondCode", "3", "AArch64CC::getInvertedCondCode", "AArch64::Bcc"], "File": "AArch64InstrInfo1", "Func": "optimizeCondBranch", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13585, "Length": 464, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isLegalAddressingMode", "(", "const", "AddrMode", "&", "AM", ",", "const", "Type", "*", "Ty", ")", "const", "{", "MVT", "VT", "=", "getValueType", "(", "Ty", ",", "true", ")", ";", "if", "(", "!", "isLegalAddressImmediate", "(", "AM", ".", "BaseOffs", ",", "VT", ",", "Subtarget", ")", ")", "return", "false", ";", "if", "(", "AM", ".", "BaseGV", ")", "return", "false", ";", "switch", "(", "AM", ".", "Scale", ")", "{", "case", "0", ":", "break", ";", "case", "1", ":", "if", "(", "Subtarget", "->", "isThumb", "(", ")", ")", "return", "false", ";", "default", ":", "if", "(", "AM", ".", "BaseOffs", ")", "return", "false", ";", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "int", "Scale", "=", "AM", ".", "Scale", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "MVT", "::", "i1", ":", "case", "MVT", "::", "i8", ":", "case", "MVT", "::", "i32", ":", "case", "MVT", "::", "i64", ":", "if", "(", "Scale", "<", "0", ")", "Scale", "=", "-", "Scale", ";", "if", "(", "Scale", "==", "1", ")", "return", "true", ";", "return", "isPowerOf2_32", "(", "Scale", "&", "~", "1", ")", ";", "case", "MVT", "::", "i16", ":", "if", "(", "(", "(", "unsigned", ")", "AM", ".", "HasBaseReg", "+", "Scale", ")", "<=", "2", ")", "return", "true", ";", "return", "false", ";", "case", "MVT", "::", "isVoid", ":", "if", "(", "AM", ".", "Scale", "&", "1", ")", "return", "false", ";", "return", "isPowerOf2_32", "(", "AM", ".", "Scale", ")", ";", "}", "break", ";", "}", "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": ["ARM", "ARM", "0", "1", "MVT::i1", "MVT::i8", "MVT::i32", "MVT::i64", "0", "1", "1", "MVT::i16", "2", "MVT::isVoid", "1"], "File": "ARMISelLowering57", "Func": "isLegalAddressingMode", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13586, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_hard_regno_rename_ok", "(", "unsigned", "int", "old_reg", "ATTRIBUTE_UNUSED", ",", "unsigned", "int", "new_reg", ")", "{", "if", "(", "cfun", "->", "machine", "->", "interrupt_handler_p", "&&", "!", "df_regs_ever_live_p", "(", "new_reg", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "register", "OLD_REG", "can", "be", "renamed", "to", "register", "NEW_REG", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_hard_regno_rename_ok", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13587, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "init_cumulative_args", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "tree", "fntype", ",", "rtx", "libname", "ATTRIBUTE_UNUSED", ")", "{", "static", "CUMULATIVE_ARGS", "zero_cum", ";", "tree", "param", ";", "tree", "next_param", ";", "if", "(", "TARGET_DEBUG_D_MODE", ")", "{", "fprintf", "(", "stderr", ",", "\"\\ninit_cumulative_args, fntype = 0x%.8lx\"", ",", "(", "long", ")", "fntype", ")", ";", "if", "(", "!", "fntype", ")", "fputc", "(", "'\\n'", ",", "stderr", ")", ";", "else", "{", "tree", "ret_type", "=", "TREE_TYPE", "(", "fntype", ")", ";", "fprintf", "(", "stderr", ",", "\", fntype code = %s, ret code = %s\\n\"", ",", "get_tree_code_name", "(", "TREE_CODE", "(", "fntype", ")", ")", ",", "get_tree_code_name", "(", "TREE_CODE", "(", "ret_type", ")", ")", ")", ";", "}", "}", "*", "cum", "=", "zero_cum", ";", "for", "(", "param", "=", "fntype", "?", "TYPE_ARG_TYPES", "(", "fntype", ")", ":", "0", ";", "param", "!=", "0", ";", "param", "=", "next_param", ")", "{", "next_param", "=", "TREE_CHAIN", "(", "param", ")", ";", "if", "(", "next_param", "==", "0", "&&", "TREE_VALUE", "(", "param", ")", "!=", "void_type_node", ")", "cum", "->", "gp_reg_found", "=", "1", ";", "}", "}", ""], "natrual_language": ["Handle", "the", "INIT_CUMULATIVE_ARGS", "macro", ".", "Initialize", "a", "variable", "CUM", "of", "type", "CUMULATIVE_ARGS", "for", "a", "call", "to", "a", "function", "whose", "data", "type", "is", "FNTYPE", ".", "For", "a", "library", "call", ",", "FNTYPE", "is", "0", "."], "TS_V_token": ["iq2000", "\"\\ninit_cumulative_args, fntype = 0x%.8lx\"", "\", fntype code = %s, ret code = %s\\n\"", "0", "0", "0", "1"], "File": "iq2000", "Func": "init_cumulative_args", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13588, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "push_minipool_barrier", "(", "rtx", "insn", ",", "HOST_WIDE_INT", "address", ")", "{", "Mfix", "*", "fix", "=", "(", "Mfix", "*", ")", "obstack_alloc", "(", "&", "minipool_obstack", ",", "sizeof", "(", "*", "fix", ")", ")", ";", "fix", "->", "insn", "=", "insn", ";", "fix", "->", "address", "=", "address", ";", "fix", "->", "next", "=", "NULL", ";", "if", "(", "minipool_fix_head", "!=", "NULL", ")", "minipool_fix_tail", "->", "next", "=", "fix", ";", "else", "minipool_fix_head", "=", "fix", ";", "minipool_fix_tail", "=", "fix", ";", "}", ""], "natrual_language": ["Record", "that", "there", "is", "a", "natural", "barrier", "in", "the", "insn", "stream", "at", "ADDRESS", "."], "TS_V_token": ["arm"], "File": "arm3", "Func": "push_minipool_barrier", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13589, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "X86RegisterInfo", "::", "getLargestLegalSuperClass", "(", "const", "TargetRegisterClass", "*", "RC", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "RC", "==", "&", "X86", "::", "GR8_NOREXRegClass", ")", "return", "RC", ";", "const", "X86Subtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "const", "TargetRegisterClass", "*", "Super", "=", "RC", ";", "TargetRegisterClass", "::", "sc_iterator", "I", "=", "RC", "->", "getSuperClasses", "(", ")", ";", "do", "{", "switch", "(", "Super", "->", "getID", "(", ")", ")", "{", "case", "X86", "::", "FR32RegClassID", ":", "case", "X86", "::", "FR64RegClassID", ":", "if", "(", "!", "Subtarget", ".", "hasAVX512", "(", ")", "&&", "Super", "->", "getSize", "(", ")", "==", "RC", "->", "getSize", "(", ")", ")", "return", "Super", ";", "break", ";", "case", "X86", "::", "VR128RegClassID", ":", "case", "X86", "::", "VR256RegClassID", ":", "if", "(", "!", "Subtarget", ".", "hasVLX", "(", ")", "&&", "Super", "->", "getSize", "(", ")", "==", "RC", "->", "getSize", "(", ")", ")", "return", "Super", ";", "break", ";", "case", "X86", "::", "VR128XRegClassID", ":", "case", "X86", "::", "VR256XRegClassID", ":", "if", "(", "Subtarget", ".", "hasVLX", "(", ")", "&&", "Super", "->", "getSize", "(", ")", "==", "RC", "->", "getSize", "(", ")", ")", "return", "Super", ";", "break", ";", "case", "X86", "::", "FR32XRegClassID", ":", "case", "X86", "::", "FR64XRegClassID", ":", "if", "(", "Subtarget", ".", "hasAVX512", "(", ")", "&&", "Super", "->", "getSize", "(", ")", "==", "RC", "->", "getSize", "(", ")", ")", "return", "Super", ";", "break", ";", "case", "X86", "::", "GR8RegClassID", ":", "case", "X86", "::", "GR16RegClassID", ":", "case", "X86", "::", "GR32RegClassID", ":", "case", "X86", "::", "GR64RegClassID", ":", "case", "X86", "::", "RFP32RegClassID", ":", "case", "X86", "::", "RFP64RegClassID", ":", "case", "X86", "::", "RFP80RegClassID", ":", "case", "X86", "::", "VR512RegClassID", ":", "if", "(", "Super", "->", "getSize", "(", ")", "==", "RC", "->", "getSize", "(", ")", ")", "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": ["X86", "X86", "X86::GR8_NOREXRegClass", "X86", "X86", "X86::FR32RegClassID", "X86::FR64RegClassID", "X86::VR128RegClassID", "X86::VR256RegClassID", "X86::VR128XRegClassID", "X86::VR256XRegClassID", "X86::FR32XRegClassID", "X86::FR64XRegClassID", "X86::GR8RegClassID", "X86::GR16RegClassID", "X86::GR32RegClassID", "X86::GR64RegClassID", "X86::RFP32RegClassID", "X86::RFP64RegClassID", "X86::RFP80RegClassID", "X86::VR512RegClassID"], "File": "X86RegisterInfo100", "Func": "getLargestLegalSuperClass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13590, "Length": 290, "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": 13591, "Length": 363, "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": 13592, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_optab_supported_p", "(", "int", "op", ",", "machine_mode", "mode1", ",", "machine_mode", ",", "optimization_type", "opt_type", ")", "{", "switch", "(", "op", ")", "{", "case", "rsqrt_optab", ":", "return", "opt_type", "==", "OPTIMIZE_FOR_SPEED", "&&", "use_rsqrt_p", "(", "mode1", ")", ";", "default", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Implement", "the", "TARGET_OPTAB_SUPPORTED_P", "hook", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_optab_supported_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13593, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "rs6000_xcoff_strip_name_encoding", "(", "const", "char", "*", "name", ")", "{", "size_t", "len", ";", "if", "(", "*", "name", "==", "'*'", ")", "name", "++", ";", "len", "=", "strlen", "(", "name", ")", ";", "if", "(", "name", "[", "len", "-", "1", "]", "==", "']'", ")", "return", "ggc_alloc_string", "(", "name", ",", "len", "-", "4", ")", ";", "else", "return", "name", ";", "}", ""], "natrual_language": ["Remove", "any", "trailing", "[", "DS", "]", "or", "the", "like", "from", "the", "symbol", "name", "."], "TS_V_token": ["powerpcspe", "1", "4"], "File": "powerpcspe", "Func": "rs6000_xcoff_strip_name_encoding", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13594, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "FISCRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["FISC", "FISC"], "File": "FISCSubtarget", "Func": "getRegisterInfo", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13595, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isKZeroMasked", "(", ")", "const", "{", "return", "(", "Attributes", "&", "X86FMA3KZeroMasked", ")", "!=", "0", ";", "}", ""], "natrual_language": ["Returns", "true", "iff", "the", "group", "of", "FMA", "opcodes", "holds", "k-zero-masked", "opcodes", "."], "TS_V_token": ["X86", "X86", "0"], "File": "X86InstrFMA3Info", "Func": "isKZeroMasked", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13596, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMAsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", "const", "{", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ",", "IsPCRel", ",", "nullptr", ",", "IsLittleEndian", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "assert", "(", "Offset", "+", "NumBytes", "<=", "DataSize", "&&", "\"Invalid fixup offset!\"", ")", ";", "unsigned", "FullSizeBytes", ";", "if", "(", "!", "IsLittleEndian", ")", "{", "FullSizeBytes", "=", "getFixupKindContainerSizeBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "assert", "(", "(", "Offset", "+", "FullSizeBytes", ")", "<=", "DataSize", "&&", "\"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": "ARMAsmBackend14", "Func": "applyFixup", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13597, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "convertSelectOfConstantsToMath", "(", "EVT", "VT", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "select", "of", "constants", "(", "select", "Cond", ",", "C1", ",", "C2", ")", "should", "be", "transformed", "into", "simple", "math", "ops", "with", "the", "condition", "value", "."], "TS_V_token": ["PowerPC"], "File": "PPCISelLowering (2)2", "Func": "convertSelectOfConstantsToMath", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13598, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "MipsTargetLowering", "::", "getTypeForExtReturn", "(", "LLVMContext", "&", "Context", ",", "EVT", "VT", ",", "ISD", "::", "NodeType", ")", "const", "{", "bool", "Cond", "=", "!", "Subtarget", ".", "isABI_O32", "(", ")", "&&", "VT", ".", "getSizeInBits", "(", ")", "==", "32", ";", "EVT", "MinVT", "=", "getRegisterType", "(", "Context", ",", "Cond", "?", "MVT", "::", "i64", ":", "MVT", "::", "i32", ")", ";", "return", "VT", ".", "bitsLT", "(", "MinVT", ")", "?", "MinVT", ":", "VT", ";", "}", ""], "natrual_language": ["Return", "the", "type", "that", "should", "be", "used", "to", "zero", "or", "sign", "extend", "a", "zeroext/signext", "integer", "return", "value", "."], "TS_V_token": ["Mips", "Mips", "ISD::NodeType", "32", "MVT::i64", "MVT::i32"], "File": "MipsISelLowering (2)4", "Func": "getTypeForExtReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13599, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86CallFrameOptimization", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "STI", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "TFL", "=", "STI", "->", "getFrameLowering", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "if", "(", "!", "isLegal", "(", "MF", ")", ")", "return", "false", ";", "unsigned", "FrameSetupOpcode", "=", "TII", "->", "getCallFrameSetupOpcode", "(", ")", ";", "bool", "Changed", "=", "false", ";", "ContextVector", "CallSeqVector", ";", "for", "(", "MachineFunction", "::", "iterator", "BB", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "BB", "!=", "E", ";", "++", "BB", ")", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "BB", "->", "begin", "(", ")", ";", "I", "!=", "BB", "->", "end", "(", ")", ";", "++", "I", ")", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "FrameSetupOpcode", ")", "{", "CallContext", "Context", ";", "collectCallInfo", "(", "MF", ",", "*", "BB", ",", "I", ",", "Context", ")", ";", "CallSeqVector", ".", "push_back", "(", "Context", ")", ";", "}", "if", "(", "!", "isProfitable", "(", "MF", ",", "CallSeqVector", ")", ")", "return", "false", ";", "for", "(", "auto", "CC", ":", "CallSeqVector", ")", "if", "(", "CC", ".", "UsePush", ")", "Changed", "|=", "adjustCallSequence", "(", "MF", ",", "CC", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86CallFrameOptimization2", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13600, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "aarch64_add_offset_temporaries", "(", "rtx", "x", ")", "{", "poly_int64", "offset", ";", "if", "(", "!", "poly_int_rtx_p", "(", "x", ",", "&", "offset", ")", ")", "return", "-", "1", ";", "return", "aarch64_offset_temporaries", "(", "true", ",", "offset", ")", ";", "}", ""], "natrual_language": ["If", "X", "can", "be", "represented", "as", "a", "poly_int64", ",", "return", "the", "number", "of", "temporaries", "that", "are", "required", "to", "add", "it", "to", "a", "register", ".", "Return", "-1", "otherwise", "."], "TS_V_token": ["aarch64", "1"], "File": "aarch64", "Func": "aarch64_add_offset_temporaries", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13601, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1InstrInfo", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "ARM", "::", "tPUSH", ")", ")", ";", "AddDefaultPred", "(", "MIB", ")", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "MIB", ".", "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": ["ARM", "ARM::tPUSH", "0", "1"], "File": "Thumb1InstrInfo15", "Func": "spillCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13602, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1FrameInfo", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "DebugLoc", "DL", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "ARM", "::", "tPUSH", ")", ")", ";", "AddDefaultPred", "(", "MIB", ")", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "bool", "isKill", "=", "true", ";", "if", "(", "Reg", "==", "ARM", "::", "LR", ")", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "if", "(", "MF", ".", "getFrameInfo", "(", ")", "->", "isReturnAddressTaken", "(", ")", "&&", "MF", ".", "getRegInfo", "(", ")", ".", "isLiveIn", "(", "Reg", ")", ")", "isKill", "=", "false", ";", "}", "if", "(", "isKill", ")", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "MIB", ".", "addReg", "(", "Reg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "}", "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::tPUSH", "0", "1", "ARM::LR"], "File": "Thumb1FrameInfo", "Func": "spillCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13603, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ")", "{", "Operands", ".", "push_back", "(", "SparcOperand", "::", "CreateToken", "(", "Name", ",", "NameLoc", ")", ")", ";", "applyMnemonicAliases", "(", "Name", ",", "getAvailableFeatures", "(", ")", ",", "0", ")", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "if", "(", "parseBranchModifiers", "(", "Operands", ")", "!=", "MatchOperand_Success", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token\"", ")", ";", "}", "}", "if", "(", "parseOperand", "(", "Operands", ",", "Name", ")", "!=", "MatchOperand_Success", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token\"", ")", ";", "}", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "parseOperand", "(", "Operands", ",", "Name", ")", "!=", "MatchOperand_Success", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token\"", ")", ";", "}", "}", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token\"", ")", ";", "}", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["Sparc", "Sparc", "SparcOperand::CreateToken", "0", "\"unexpected token\"", "\"unexpected token\"", "\"unexpected token\"", "\"unexpected token\""], "File": "SparcAsmParser11", "Func": "ParseInstruction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13604, "Length": 262, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "replaceBranchWithTailCall", "(", "MachineBasicBlock", "&", "MBB", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "BranchCond", ",", "const", "MachineInstr", "&", "TailCall", ")", "const", "{", "assert", "(", "canMakeTailCallConditional", "(", "BranchCond", ",", "TailCall", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "end", "(", ")", ";", "while", "(", "I", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "--", "I", ";", "if", "(", "I", "->", "isDebugInstr", "(", ")", ")", "continue", ";", "if", "(", "!", "I", "->", "isBranch", "(", ")", ")", "assert", "(", "0", "&&", "\"Can't find the branch to replace!\"", ")", ";", "X86", "::", "CondCode", "CC", "=", "X86", "::", "getCondFromBranch", "(", "*", "I", ")", ";", "assert", "(", "BranchCond", ".", "size", "(", ")", "==", "1", ")", ";", "if", "(", "CC", "!=", "BranchCond", "[", "0", "]", ".", "getImm", "(", ")", ")", "continue", ";", "break", ";", "}", "unsigned", "Opc", "=", "TailCall", ".", "getOpcode", "(", ")", "==", "X86", "::", "TCRETURNdi", "?", "X86", "::", "TCRETURNdicc", ":", "X86", "::", "TCRETURNdi64cc", ";", "auto", "MIB", "=", "BuildMI", "(", "MBB", ",", "I", ",", "MBB", ".", "findDebugLoc", "(", "I", ")", ",", "get", "(", "Opc", ")", ")", ";", "MIB", "->", "addOperand", "(", "TailCall", ".", "getOperand", "(", "0", ")", ")", ";", "MIB", ".", "addImm", "(", "0", ")", ";", "MIB", "->", "addOperand", "(", "BranchCond", "[", "0", "]", ")", ";", "MIB", ".", "copyImplicitOps", "(", "TailCall", ")", ";", "LivePhysRegs", "LiveRegs", "(", "getRegisterInfo", "(", ")", ")", ";", "LiveRegs", ".", "addLiveOuts", "(", "MBB", ")", ";", "SmallVector", "<", "std", "::", "pair", "<", "MCPhysReg", ",", "const", "MachineOperand", "*", ">", ",", "8", ">", "Clobbers", ";", "LiveRegs", ".", "stepForward", "(", "*", "MIB", ",", "Clobbers", ")", ";", "for", "(", "const", "auto", "&", "C", ":", "Clobbers", ")", "{", "MIB", ".", "addReg", "(", "C", ".", "first", ",", "RegState", "::", "Implicit", ")", ";", "MIB", ".", "addReg", "(", "C", ".", "first", ",", "RegState", "::", "Implicit", "|", "RegState", "::", "Define", ")", ";", "}", "I", "->", "eraseFromParent", "(", ")", ";", "}", ""], "natrual_language": ["Replace", "the", "conditional", "branch", "in", "MBB", "with", "a", "conditional", "tail", "call", "."], "TS_V_token": ["X86", "X86", "0", "\"Can't find the branch to replace!\"", "X86::CondCode", "X86::getCondFromBranch", "1", "0", "X86::TCRETURNdi", "X86::TCRETURNdicc", "X86::TCRETURNdi64cc", "0", "0", "0", "8"], "File": "X86InstrInfo (2)3", "Func": "replaceBranchWithTailCall", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13605, "Length": 295, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "loongarch_unspec_address", "(", "rtx", "address", ",", "enum", "loongarch_symbol_type", "symbol_type", ")", "{", "rtx", "base", ",", "offset", ";", "split_const", "(", "address", ",", "&", "base", ",", "&", "offset", ")", ";", "return", "loongarch_unspec_address_offset", "(", "base", ",", "offset", ",", "symbol_type", ")", ";", "}", ""], "natrual_language": ["Return", "an", "UNSPEC", "address", "with", "underlying", "address", "ADDRESS", "and", "symbol", "type", "SYMBOL_TYPE", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_unspec_address", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13606, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64TargetMachine", "::", "AArch64TargetMachine", "(", "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", ",", "bool", "LittleEndian", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "Options", ".", "MCOptions", ",", "LittleEndian", ")", ",", "TT", ",", "computeDefaultCPU", "(", "TT", ",", "CPU", ")", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "TT", ",", "RM", ")", ",", "getEffectiveAArch64CodeModel", "(", "TT", ",", "CM", ",", "JIT", ")", ",", "OL", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", ",", "isLittle", "(", "LittleEndian", ")", "{", "initAsmInfo", "(", ")", ";", "if", "(", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "{", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "this", "->", "Options", ".", "NoTrapAfterNoreturn", "=", "true", ";", "}", "if", "(", "getMCAsmInfo", "(", ")", "->", "usesWindowsCFI", "(", ")", ")", "{", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "}", "if", "(", "getOptLevel", "(", ")", "<=", "EnableGlobalISelAtO", "&&", "TT", ".", "getArch", "(", ")", "!=", "Triple", "::", "aarch64_32", "&&", "TT", ".", "getArchName", "(", ")", "!=", "\"arm64e\"", "&&", "!", "(", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", "&&", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", ")", "{", "setGlobalISel", "(", "true", ")", ";", "setGlobalISelAbort", "(", "GlobalISelAbortMode", "::", "Disable", ")", ";", "}", "setMachineOutliner", "(", "true", ")", ";", "setSupportsDefaultOutlining", "(", "true", ")", ";", "setSupportsDebugEntryValues", "(", "true", ")", ";", "}", ""], "natrual_language": ["Create", "an", "AArch64", "architecture", "model", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "\"arm64e\""], "File": "AArch64TargetMachine90", "Func": "AArch64TargetMachine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13607, "Length": 238, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "OR1KSubtarget", "*", "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": ["OR1K", "OR1K"], "File": "OR1KTargetMachine", "Func": "getSubtargetImpl", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13608, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "num_occurences_in_str", "(", "char", "c", ",", "char", "*", "str", ")", "{", "unsigned", "int", "res", "=", "0", ";", "while", "(", "*", "str", "!=", "'\\0'", ")", "{", "if", "(", "*", "str", "==", "c", ")", "res", "++", ";", "str", "++", ";", "}", "return", "res", ";", "}", ""], "natrual_language": ["Count", "how", "many", "times", "the", "character", "C", "appears", "in", "NULL-terminated", "string", "STR", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64", "Func": "num_occurences_in_str", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13609, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_print_operand_address", "(", "FILE", "*", "f", ",", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "if", "(", "!", "aarch64_print_address_internal", "(", "f", ",", "mode", ",", "x", ",", "ADDR_QUERY_ANY", ")", ")", "output_addr_const", "(", "f", ",", "x", ")", ";", "}", ""], "natrual_language": ["Print", "address", "'", "x", "'", "of", "a", "memory", "access", "with", "mode", "'mode", "'", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_print_operand_address", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13610, "Length": 37, "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": 13611, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86WinCOFFStreamer", "::", "emitCVFPOData", "(", "const", "MCSymbol", "*", "ProcSym", ",", "SMLoc", "Loc", ")", "{", "X86TargetStreamer", "*", "XTS", "=", "static_cast", "<", "X86TargetStreamer", "*", ">", "(", "getTargetStreamer", "(", ")", ")", ";", "XTS", "->", "emitFPOData", "(", "ProcSym", ",", "Loc", ")", ";", "}", ""], "natrual_language": ["This", "implements", "the", "CodeView", "'.cv_fpo_data", "'", "assembler", "directive", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86WinCOFFStreamer13", "Func": "emitCVFPOData", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13612, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalMaskedLoad", "(", "Type", "*", "DataTy", ",", "Align", "Alignment", ")", "{", "if", "(", "!", "ST", "->", "hasAVX", "(", ")", ")", "return", "false", ";", "if", "(", "isa", "<", "VectorType", ">", "(", "DataTy", ")", "&&", "cast", "<", "FixedVectorType", ">", "(", "DataTy", ")", "->", "getNumElements", "(", ")", "==", "1", ")", "return", "false", ";", "Type", "*", "ScalarTy", "=", "DataTy", "->", "getScalarType", "(", ")", ";", "if", "(", "ScalarTy", "->", "isPointerTy", "(", ")", ")", "return", "true", ";", "if", "(", "ScalarTy", "->", "isFloatTy", "(", ")", "||", "ScalarTy", "->", "isDoubleTy", "(", ")", ")", "return", "true", ";", "if", "(", "ScalarTy", "->", "isHalfTy", "(", ")", "&&", "ST", "->", "hasBWI", "(", ")", "&&", "ST", "->", "hasFP16", "(", ")", ")", "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": "X86TargetTransformInfo (2)1", "Func": "isLegalMaskedLoad", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13613, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_expand_vec_perm_const", "(", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ",", "rtx", "sel", ")", "{", "struct", "expand_vec_perm_d", "d", ";", "int", "i", ",", "nelt", ",", "which", ";", "d", ".", "target", "=", "target", ";", "d", ".", "op0", "=", "op0", ";", "d", ".", "op1", "=", "op1", ";", "d", ".", "vmode", "=", "GET_MODE", "(", "target", ")", ";", "gcc_assert", "(", "VECTOR_MODE_P", "(", "d", ".", "vmode", ")", ")", ";", "d", ".", "nelt", "=", "nelt", "=", "GET_MODE_NUNITS", "(", "d", ".", "vmode", ")", ";", "d", ".", "testing_p", "=", "false", ";", "for", "(", "i", "=", "which", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "{", "rtx", "e", "=", "XVECEXP", "(", "sel", ",", "0", ",", "i", ")", ";", "int", "ei", "=", "INTVAL", "(", "e", ")", "&", "(", "2", "*", "nelt", "-", "1", ")", ";", "which", "|=", "(", "ei", "<", "nelt", "?", "1", ":", "2", ")", ";", "d", ".", "perm", "[", "i", "]", "=", "ei", ";", "}", "switch", "(", "which", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "3", ":", "d", ".", "one_vector_p", "=", "false", ";", "if", "(", "!", "rtx_equal_p", "(", "op0", ",", "op1", ")", ")", "break", ";", "case", "2", ":", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "d", ".", "perm", "[", "i", "]", "&=", "nelt", "-", "1", ";", "d", ".", "op0", "=", "op1", ";", "d", ".", "one_vector_p", "=", "true", ";", "break", ";", "case", "1", ":", "d", ".", "op1", "=", "op0", ";", "d", ".", "one_vector_p", "=", "true", ";", "break", ";", "}", "return", "arm_expand_vec_perm_const_1", "(", "&", "d", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "vec_perm_const", "pattern", "."], "TS_V_token": ["arm", "0", "0", "2", "1", "1", "2", "3", "2", "0", "1", "1"], "File": "arm4", "Func": "arm_expand_vec_perm_const", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13614, "Length": 248, "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", "(", ")", ";", "if", "(", "CC", "==", "CallingConv", "::", "Mono", "&&", "IsWin64", ")", "CC", "=", "CallingConv", "::", "Win64", ";", "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", "::", "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", "X86", "X86"], "File": "X86RegisterInfo26", "Func": "getCallPreservedMask", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13615, "Length": 424, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCRegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "if", "(", "PerformTailCallOpt", "&&", "I", "->", "getOpcode", "(", ")", "==", "PPC", "::", "ADJCALLSTACKUP", ")", "{", "if", "(", "int", "CalleeAmt", "=", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ")", "{", "bool", "is64Bit", "=", "Subtarget", ".", "isPPC64", "(", ")", ";", "CalleeAmt", "*=", "-", "1", ";", "unsigned", "StackReg", "=", "is64Bit", "?", "PPC", "::", "X1", ":", "PPC", "::", "R1", ";", "unsigned", "TmpReg", "=", "is64Bit", "?", "PPC", "::", "X0", ":", "PPC", "::", "R0", ";", "unsigned", "ADDIInstr", "=", "is64Bit", "?", "PPC", "::", "ADDI8", ":", "PPC", "::", "ADDI", ";", "unsigned", "ADDInstr", "=", "is64Bit", "?", "PPC", "::", "ADD8", ":", "PPC", "::", "ADD4", ";", "unsigned", "LISInstr", "=", "is64Bit", "?", "PPC", "::", "LIS8", ":", "PPC", "::", "LIS", ";", "unsigned", "ORIInstr", "=", "is64Bit", "?", "PPC", "::", "ORI8", ":", "PPC", "::", "ORI", ";", "MachineInstr", "*", "MI", "=", "I", ";", "DebugLoc", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "isInt16", "(", "CalleeAmt", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "TII", ".", "get", "(", "ADDIInstr", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addImm", "(", "CalleeAmt", ")", ";", "}", "else", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "I", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "LISInstr", ")", ",", "TmpReg", ")", ".", "addImm", "(", "CalleeAmt", ">>", "16", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ORIInstr", ")", ",", "TmpReg", ")", ".", "addReg", "(", "TmpReg", ",", "false", ",", "false", ",", "true", ")", ".", "addImm", "(", "CalleeAmt", "&", "0xFFFF", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ADDInstr", ")", ")", ".", "addReg", "(", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addReg", "(", "TmpReg", ")", ";", "}", "}", "}", "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": ["PowerPC", "PPC", "PPC::ADJCALLSTACKUP", "1", "PPC", "1", "PPC::X1", "PPC::R1", "PPC::X0", "PPC::R0", "PPC::ADDI8", "PPC::ADDI", "PPC::ADD8", "PPC::ADD4", "PPC::LIS8", "PPC::LIS", "PPC::ORI8", "PPC::ORI", "16", "0xFFFF"], "File": "PPCRegisterInfo62", "Func": "eliminateCallFramePseudoInstr", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13616, "Length": 308, "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": "SystemZElimCompare (2)1", "Func": "processBlock", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13617, "Length": 168, "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": 13618, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "SystemZSubtarget", "*", "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": ["SystemZ", "SystemZ"], "File": "SystemZTargetMachine12", "Func": "getSubtargetImpl", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13619, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCFragment", "*", "AArch64MCExpr", "::", "findAssociatedFragment", "(", ")", "const", "{", "llvm_unreachable", "(", "\"FIXME: what goes here?\"", ")", ";", "}", ""], "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": ["AArch64", "AArch64", "\"FIXME: what goes here?\""], "File": "AArch64MCExpr (2)1", "Func": "findAssociatedFragment", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13620, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "DLXTargetLowering", "*", "getTLI", "(", ")", "const", "{", "return", "TLI", ";", "}", ""], "natrual_language": ["Getter", "for", "generic", "TargetLowering", "class", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXTargetTransformInfo", "Func": "getTLI", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13621, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 Fixup SetCC\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 Fixup SetCC\""], "File": "X86FixupSetCC3", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13622, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_additional_allocno_class_p", "(", "reg_class_t", "cl", ")", "{", "return", "cl", "==", "MOD4_SSE_REGS", ";", "}", ""], "natrual_language": ["Return", "true", "if", "register", "class", "CL", "should", "be", "an", "additional", "allocno", "class", "."], "TS_V_token": ["i386"], "File": "i3866", "Func": "ix86_additional_allocno_class_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13623, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pru_dump_frame_layout", "(", "FILE", "*", "file", ")", "{", "fprintf", "(", "file", ",", "\"\\t%s Current Frame Info\\n\"", ",", "ASM_COMMENT_START", ")", ";", "fprintf", "(", "file", ",", "\"\\t%s total_size = %d\\n\"", ",", "ASM_COMMENT_START", ",", "cfun", "->", "machine", "->", "total_size", ")", ";", "fprintf", "(", "file", ",", "\"\\t%s var_size = %d\\n\"", ",", "ASM_COMMENT_START", ",", "cfun", "->", "machine", "->", "var_size", ")", ";", "fprintf", "(", "file", ",", "\"\\t%s out_args_size = %d\\n\"", ",", "ASM_COMMENT_START", ",", "cfun", "->", "machine", "->", "out_args_size", ")", ";", "fprintf", "(", "file", ",", "\"\\t%s save_reg_size = %d\\n\"", ",", "ASM_COMMENT_START", ",", "cfun", "->", "machine", "->", "save_reg_size", ")", ";", "fprintf", "(", "file", ",", "\"\\t%s initialized = %d\\n\"", ",", "ASM_COMMENT_START", ",", "cfun", "->", "machine", "->", "initialized", ")", ";", "fprintf", "(", "file", ",", "\"\\t%s save_regs_offset = %d\\n\"", ",", "ASM_COMMENT_START", ",", "cfun", "->", "machine", "->", "save_regs_offset", ")", ";", "fprintf", "(", "file", ",", "\"\\t%s is_leaf = %d\\n\"", ",", "ASM_COMMENT_START", ",", "crtl", "->", "is_leaf", ")", ";", "fprintf", "(", "file", ",", "\"\\t%s frame_pointer_needed = %d\\n\"", ",", "ASM_COMMENT_START", ",", "frame_pointer_needed", ")", ";", "fprintf", "(", "file", ",", "\"\\t%s pretend_args_size = %d\\n\"", ",", "ASM_COMMENT_START", ",", "crtl", "->", "args", ".", "pretend_args_size", ")", ";", "}", ""], "natrual_language": ["Dump", "stack", "layout", "."], "TS_V_token": ["pru", "\"\\t%s Current Frame Info\\n\"", "\"\\t%s total_size = %d\\n\"", "\"\\t%s var_size = %d\\n\"", "\"\\t%s out_args_size = %d\\n\"", "\"\\t%s save_reg_size = %d\\n\"", "\"\\t%s initialized = %d\\n\"", "\"\\t%s save_regs_offset = %d\\n\"", "\"\\t%s is_leaf = %d\\n\"", "\"\\t%s frame_pointer_needed = %d\\n\"", "\"\\t%s pretend_args_size = %d\\n\""], "File": "pru", "Func": "pru_dump_frame_layout", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13624, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mmix_pass_by_reference", "(", "const", "CUMULATIVE_ARGS", "*", "argsp", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "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": "mmix3", "Func": "mmix_pass_by_reference", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13625, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 CondBr Folding\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 CondBr Folding\""], "File": "X86CondBrFolding", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13626, "Length": 11, "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": 13627, "Length": 343, "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": ["powerpcspe", "0"], "File": "powerpcspe", "Func": "rs6000_emit_le_vsx_store", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13628, "Length": 120, "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": 13629, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "scalar_chain", "::", "convert", "(", ")", "{", "bitmap_iterator", "bi", ";", "unsigned", "id", ";", "int", "converted_insns", "=", "0", ";", "if", "(", "!", "dbg_cnt", "(", "stv_conversion", ")", ")", "return", "0", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Converting chain #%d...\\n\"", ",", "chain_id", ")", ";", "EXECUTE_IF_SET_IN_BITMAP", "(", "defs", ",", "0", ",", "id", ",", "bi", ")", "convert_reg", "(", "id", ")", ";", "EXECUTE_IF_AND_COMPL_IN_BITMAP", "(", "defs_conv", ",", "defs", ",", "0", ",", "id", ",", "bi", ")", "make_vector_copies", "(", "id", ")", ";", "EXECUTE_IF_SET_IN_BITMAP", "(", "insns", ",", "0", ",", "id", ",", "bi", ")", "{", "convert_insn", "(", "DF_INSN_UID_GET", "(", "id", ")", "->", "insn", ")", ";", "converted_insns", "++", ";", "}", "return", "converted_insns", ";", "}", ""], "natrual_language": ["Convert", "whole", "chain", "creating", "required", "register", "conversions", "and", "copies", "."], "TS_V_token": ["i386", "0", "0", "\"Converting chain #%d...\\n\"", "0", "0", "0"], "File": "i3865", "Func": "convert", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13630, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LEGInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "LEG", "::", "MOVrr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["LEG", "LEG", "LEG::MOVrr"], "File": "LEGInstrInfo1", "Func": "copyPhysReg", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13631, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "PPCRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "const", "PPCFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "ZERO", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "FP", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "BP", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "CTR", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "CTR8", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R1", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "LR", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "LR8", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "RM", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "VRSAVE", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "const", "PPCFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", ";", "if", "(", "!", "TM", ".", "isPPC64", "(", ")", "||", "FuncInfo", "->", "usesTOCBasePtr", "(", ")", "||", "MF", ".", "hasInlineAsm", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R2", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R13", ")", ";", "}", "if", "(", "Subtarget", ".", "isAIXABI", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R2", ")", ";", "if", "(", "TM", ".", "isPPC64", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R13", ")", ";", "if", "(", "TFI", "->", "needsFP", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R31", ")", ";", "bool", "IsPositionIndependent", "=", "TM", ".", "isPositionIndependent", "(", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "{", "if", "(", "Subtarget", ".", "is32BitELFABI", "(", ")", "&&", "IsPositionIndependent", ")", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R29", ")", ";", "else", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R30", ")", ";", "}", "if", "(", "Subtarget", ".", "is32BitELFABI", "(", ")", "&&", "IsPositionIndependent", ")", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R30", ")", ";", "if", "(", "!", "Subtarget", ".", "hasAltivec", "(", ")", ")", "for", "(", "TargetRegisterClass", "::", "iterator", "I", "=", "PPC", "::", "VRRCRegClass", ".", "begin", "(", ")", ",", "IE", "=", "PPC", "::", "VRRCRegClass", ".", "end", "(", ")", ";", "I", "!=", "IE", ";", "++", "I", ")", "markSuperRegs", "(", "Reserved", ",", "*", "I", ")", ";", "if", "(", "Subtarget", ".", "isAIXABI", "(", ")", "&&", "Subtarget", ".", "hasAltivec", "(", ")", "&&", "!", "TM", ".", "getAIXExtendedAltivecABI", "(", ")", ")", "{", "for", "(", "auto", "Reg", ":", "CSR_Altivec_SaveList", ")", "{", "if", "(", "Reg", "==", "0", ")", "break", ";", "markSuperRegs", "(", "Reserved", ",", "Reg", ")", ";", "for", "(", "MCRegAliasIterator", "AS", "(", "Reg", ",", "this", ",", "true", ")", ";", "AS", ".", "isValid", "(", ")", ";", "++", "AS", ")", "{", "Reserved", ".", "set", "(", "*", "AS", ")", ";", "}", "}", "}", "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": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC::ZERO", "PPC::FP", "PPC::BP", "PPC::CTR", "PPC::CTR8", "PPC::R1", "PPC::LR", "PPC::LR8", "PPC::RM", "PPC::VRSAVE", "PPC", "PPC", "PPC", "PPC::R2", "PPC::R13", "PPC::R2", "PPC", "PPC::R13", "PPC::R31", "PPC::R29", "PPC::R30", "PPC::R30", "PPC::VRRCRegClass", "PPC::VRRCRegClass", "0"], "File": "PPCRegisterInfo (2)3", "Func": "getReservedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13632, "Length": 454, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "Register", "DestReg", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "RC", "->", "getID", "(", ")", "==", "X86", "::", "TILERegClassID", ")", "{", "unsigned", "Opc", "=", "X86", "::", "TILELOADD", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "Register", "VirtReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "X86", "::", "GR64_NOSPRegClass", ")", ";", "MachineInstr", "*", "NewMI", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DebugLoc", "(", ")", ",", "get", "(", "X86", "::", "MOV64ri", ")", ",", "VirtReg", ")", ".", "addImm", "(", "64", ")", ";", "NewMI", "=", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "MI", ",", "DebugLoc", "(", ")", ",", "get", "(", "Opc", ")", ",", "DestReg", ")", ",", "FrameIdx", ")", ";", "MachineOperand", "&", "MO", "=", "NewMI", "->", "getOperand", "(", "3", ")", ";", "MO", ".", "setReg", "(", "VirtReg", ")", ";", "MO", ".", "setIsKill", "(", "true", ")", ";", "}", "else", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "Alignment", "=", "std", "::", "max", "<", "uint32_t", ">", "(", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", ",", "16", ")", ";", "bool", "isAligned", "=", "(", "Subtarget", ".", "getFrameLowering", "(", ")", "->", "getStackAlign", "(", ")", ">=", "Alignment", ")", "||", "(", "RI", ".", "canRealignStack", "(", "MF", ")", "&&", "!", "MFI", ".", "isFixedObjectIndex", "(", "FrameIdx", ")", ")", ";", "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", "X86::TILERegClassID", "X86::TILELOADD", "X86::GR64_NOSPRegClass", "X86::MOV64ri", "64", "3", "16"], "File": "X86InstrInfo (2)3", "Func": "loadRegFromStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13633, "Length": 278, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "MipsTargetObjectFile", "::", "getDebugThreadLocalSymbol", "(", "const", "MCSymbol", "*", "Sym", ")", "const", "{", "const", "MCExpr", "*", "Expr", "=", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "MCSymbolRefExpr", "::", "VK_None", ",", "getContext", "(", ")", ")", ";", "return", "MCBinaryExpr", "::", "createAdd", "(", "Expr", ",", "MCConstantExpr", "::", "create", "(", "0x8000", ",", "getContext", "(", ")", ")", ",", "getContext", "(", ")", ")", ";", "}", ""], "natrual_language": ["Describe", "a", "TLS", "variable", "address", "within", "debug", "info", "."], "TS_V_token": ["Mips", "Mips", "0x8000"], "File": "MipsTargetObjectFile10", "Func": "getDebugThreadLocalSymbol", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13634, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "emitLoadConstPool", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "DebugLoc", "dl", ",", "unsigned", "DestReg", ",", "unsigned", "SubIdx", ",", "int", "Val", ",", "ARMCC", "::", "CondCodes", "Pred", ",", "unsigned", "PredReg", ",", "unsigned", "MIFlags", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "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", ")", ".", "addImm", "(", "Pred", ")", ".", "addReg", "(", "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": "ARMBaseRegisterInfo1", "Func": "emitLoadConstPool", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13635, "Length": 156, "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": 13636, "Length": 118, "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", ")", ";", "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": "X86CmovConversion1", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13637, "Length": 357, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64TTI", "::", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "OperandValueKind", "Opd1Info", ",", "OperandValueKind", "Opd2Info", ",", "OperandValueProperties", "Opd1PropInfo", ",", "OperandValueProperties", "Opd2PropInfo", ")", "const", "{", "std", "::", "pair", "<", "unsigned", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "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", "TargetTransformInfo", "::", "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": "AArch64TargetTransformInfo68", "Func": "getArithmeticInstrCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13638, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CSKYAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "CSKYSubtarget", ">", "(", ")", ";", "return", "AsmPrinter", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["CSKY", "CSKY", "CSKY"], "File": "CSKYAsmPrinter", "Func": "runOnMachineFunction", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13639, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZTargetLowering", "::", "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", "Subtarget", ".", "hasVectorEnhancements1", "(", ")", ";", "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": ["SystemZ", "SystemZ", "MVT::f32", "MVT::f64", "MVT::f128"], "File": "SystemZISelLowering", "Func": "isFMAFasterThanFMulAndFAdd", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13640, "Length": 75, "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", "(", "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": ["ARM", "0"], "File": "ARMAsmParser (2)2", "Func": "addExpr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13641, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ARMSubtarget", "*", "ARMBaseTargetMachine", "::", "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", ".", "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", "<", "ARMSubtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "*", "this", ",", "isLittle", ")", ";", "GISelAccessor", "*", "GISel", "=", "new", "GISelAccessor", "(", ")", ";", "ARMGISelActualAccessor", "*", "GISel", "=", "new", "ARMGISelActualAccessor", "(", ")", ";", "GISel", "->", "CallLoweringInfo", ".", "reset", "(", "new", "ARMCallLowering", "(", "*", "I", "->", "getTargetLowering", "(", ")", ")", ")", ";", "GISel", "->", "Legalizer", ".", "reset", "(", "new", "ARMLegalizerInfo", "(", "*", "I", ")", ")", ";", "auto", "*", "RBI", "=", "new", "ARMRegisterBankInfo", "(", "*", "I", "->", "getRegisterInfo", "(", ")", ")", ";", "GISel", "->", "InstSelector", ".", "reset", "(", "new", "ARMInstructionSelector", "(", "*", "I", ",", "*", "RBI", ")", ")", ";", "GISel", "->", "RegBankInfo", ".", "reset", "(", "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": ["ARM", "ARM", "ARM", "\"target-cpu\"", "\"target-features\"", "\"use-soft-float\"", "\"true\"", "\"+soft-float\"", "\",+soft-float\"", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM"], "File": "ARMTargetMachine108", "Func": "getSubtargetImpl", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13642, "Length": 271, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "loongarch_prepare_builtin_arg", "(", "struct", "expand_operand", "*", "op", ",", "tree", "exp", ",", "unsigned", "int", "argno", ")", "{", "tree", "arg", ";", "rtx", "value", ";", "arg", "=", "CALL_EXPR_ARG", "(", "exp", ",", "argno", ")", ";", "value", "=", "expand_normal", "(", "arg", ")", ";", "create_input_operand", "(", "op", ",", "value", ",", "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": ["loongarch"], "File": "loongarch-builtins", "Func": "loongarch_prepare_builtin_arg", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13643, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_sve_index_immediate_p", "(", "rtx", "base_or_step", ")", "{", "return", "(", "CONST_INT_P", "(", "base_or_step", ")", "&&", "IN_RANGE", "(", "INTVAL", "(", "base_or_step", ")", ",", "-", "16", ",", "15", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "BASE_OR_STEP", "is", "a", "valid", "immediate", "operand", "for", "an", "SVE", "INDEX", "instruction", "."], "TS_V_token": ["aarch64", "16", "15"], "File": "aarch64", "Func": "aarch64_sve_index_immediate_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13644, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "erasingInstr", "(", "MachineInstr", "&", "MI", ")", "override", "{", "}", ""], "natrual_language": ["An", "instruction", "is", "about", "to", "be", "erased", "."], "TS_V_token": ["Mips"], "File": "MipsRegisterBankInfo10", "Func": "erasingInstr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13645, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"ARM constant island placement and branch shortening pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"ARM constant island placement and branch shortening pass\""], "File": "ARMConstantIslandPass10", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13646, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "invalid_e500_subreg", "(", "rtx", "op", ",", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_E500_DOUBLE", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "==", "SUBREG", "&&", "(", "mode", "==", "SImode", "||", "mode", "==", "DImode", "||", "mode", "==", "TImode", "||", "mode", "==", "DDmode", "||", "mode", "==", "TDmode", "||", "mode", "==", "PTImode", ")", "&&", "REG_P", "(", "SUBREG_REG", "(", "op", ")", ")", "&&", "(", "GET_MODE", "(", "SUBREG_REG", "(", "op", ")", ")", "==", "DFmode", "||", "GET_MODE", "(", "SUBREG_REG", "(", "op", ")", ")", "==", "TFmode", "||", "GET_MODE", "(", "SUBREG_REG", "(", "op", ")", ")", "==", "IFmode", "||", "GET_MODE", "(", "SUBREG_REG", "(", "op", ")", ")", "==", "KFmode", ")", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "SUBREG", "&&", "(", "mode", "==", "DFmode", "||", "mode", "==", "TFmode", "||", "mode", "==", "IFmode", "||", "mode", "==", "KFmode", ")", "&&", "REG_P", "(", "SUBREG_REG", "(", "op", ")", ")", "&&", "(", "GET_MODE", "(", "SUBREG_REG", "(", "op", ")", ")", "==", "DImode", "||", "GET_MODE", "(", "SUBREG_REG", "(", "op", ")", ")", "==", "TImode", "||", "GET_MODE", "(", "SUBREG_REG", "(", "op", ")", ")", "==", "PTImode", "||", "GET_MODE", "(", "SUBREG_REG", "(", "op", ")", ")", "==", "DDmode", "||", "GET_MODE", "(", "SUBREG_REG", "(", "op", ")", ")", "==", "TDmode", ")", ")", "return", "true", ";", "}", "if", "(", "TARGET_SPE", "&&", "GET_CODE", "(", "op", ")", "==", "SUBREG", "&&", "mode", "==", "SImode", "&&", "REG_P", "(", "SUBREG_REG", "(", "op", ")", ")", "&&", "SPE_VECTOR_MODE", "(", "GET_MODE", "(", "SUBREG_REG", "(", "op", ")", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "OP", "is", "an", "invalid", "SUBREG", "operation", "on", "the", "e500", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "invalid_e500_subreg", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13647, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_and_bitmask_imm", "(", "unsigned", "HOST_WIDE_INT", "val_in", ",", "machine_mode", "mode", ")", "{", "if", "(", "aarch64_bitmask_imm", "(", "val_in", ",", "mode", ")", ")", "return", "false", ";", "if", "(", "aarch64_move_imm", "(", "val_in", ",", "mode", ")", ")", "return", "false", ";", "unsigned", "HOST_WIDE_INT", "imm2", "=", "aarch64_and_split_imm2", "(", "val_in", ")", ";", "return", "aarch64_bitmask_imm", "(", "imm2", ",", "mode", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "VAL_IN", "is", "a", "valid", "'and", "'", "bitmask", "immediate", "."], "TS_V_token": ["aarch64"], "File": "aarch644", "Func": "aarch64_and_bitmask_imm", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13648, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_split_compare_and_swap", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "rval", ",", "mem", ",", "oldval", ",", "newval", ",", "scratch", ";", "machine_mode", "mode", ";", "bool", "is_weak", ";", "rtx_code_label", "*", "label1", ",", "*", "label2", ";", "rtx", "x", ",", "cond", ";", "enum", "memmodel", "model", ";", "rtx", "model_rtx", ";", "rval", "=", "operands", "[", "0", "]", ";", "mem", "=", "operands", "[", "1", "]", ";", "oldval", "=", "operands", "[", "2", "]", ";", "newval", "=", "operands", "[", "3", "]", ";", "is_weak", "=", "(", "operands", "[", "4", "]", "!=", "const0_rtx", ")", ";", "model_rtx", "=", "operands", "[", "5", "]", ";", "scratch", "=", "operands", "[", "7", "]", ";", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "model", "=", "memmodel_from_int", "(", "INTVAL", "(", "model_rtx", ")", ")", ";", "bool", "strong_zero_p", "=", "!", "is_weak", "&&", "oldval", "==", "const0_rtx", ";", "label1", "=", "NULL", ";", "if", "(", "!", "is_weak", ")", "{", "label1", "=", "gen_label_rtx", "(", ")", ";", "emit_label", "(", "label1", ")", ";", "}", "label2", "=", "gen_label_rtx", "(", ")", ";", "if", "(", "is_mm_sync", "(", "model", ")", ")", "aarch64_emit_load_exclusive", "(", "mode", ",", "rval", ",", "mem", ",", "GEN_INT", "(", "MEMMODEL_RELAXED", ")", ")", ";", "else", "aarch64_emit_load_exclusive", "(", "mode", ",", "rval", ",", "mem", ",", "model_rtx", ")", ";", "if", "(", "strong_zero_p", ")", "{", "x", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "rval", ",", "const0_rtx", ")", ";", "x", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "x", ",", "gen_rtx_LABEL_REF", "(", "Pmode", ",", "label2", ")", ",", "pc_rtx", ")", ";", "aarch64_emit_unlikely_jump", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "x", ")", ")", ";", "}", "else", "{", "cond", "=", "aarch64_gen_compare_reg", "(", "NE", ",", "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", ")", ";", "aarch64_emit_unlikely_jump", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "x", ")", ")", ";", "}", "aarch64_emit_store_exclusive", "(", "mode", ",", "scratch", ",", "mem", ",", "newval", ",", "model_rtx", ")", ";", "if", "(", "!", "is_weak", ")", "{", "x", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "scratch", ",", "const0_rtx", ")", ";", "x", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "x", ",", "gen_rtx_LABEL_REF", "(", "Pmode", ",", "label1", ")", ",", "pc_rtx", ")", ";", "aarch64_emit_unlikely_jump", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "x", ")", ")", ";", "}", "else", "{", "cond", "=", "gen_rtx_REG", "(", "CCmode", ",", "CC_REGNUM", ")", ";", "x", "=", "gen_rtx_COMPARE", "(", "CCmode", ",", "scratch", ",", "const0_rtx", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "cond", ",", "x", ")", ")", ";", "}", "emit_label", "(", "label2", ")", ";", "if", "(", "strong_zero_p", ")", "{", "cond", "=", "gen_rtx_REG", "(", "CCmode", ",", "CC_REGNUM", ")", ";", "x", "=", "gen_rtx_COMPARE", "(", "CCmode", ",", "rval", ",", "const0_rtx", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "cond", ",", "x", ")", ")", ";", "}", "if", "(", "is_mm_sync", "(", "model", ")", ")", "aarch64_emit_post_barrier", "(", "model", ")", ";", "}", ""], "natrual_language": ["Split", "a", "compare", "and", "swap", "pattern", "."], "TS_V_token": ["aarch64", "0", "1", "2", "3", "4", "5", "7"], "File": "aarch645", "Func": "aarch64_split_compare_and_swap", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13649, "Length": 430, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_call_mem", "(", "rtx", "*", "operands", ")", "{", "gcc_assert", "(", "!", "arm_arch5", ")", ";", "if", "(", "TARGET_INTERWORK", ")", "{", "output_asm_insn", "(", "\"ldr%?\\t%|ip, %0\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"mov%?\\t%|lr, %|pc\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"bx%?\\t%|ip\"", ",", "operands", ")", ";", "}", "else", "if", "(", "regno_use_in", "(", "LR_REGNUM", ",", "operands", "[", "0", "]", ")", ")", "{", "output_asm_insn", "(", "\"ldr%?\\t%|ip, %0\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"mov%?\\t%|lr, %|pc\"", ",", "operands", ")", ";", "if", "(", "arm_arch4t", ")", "output_asm_insn", "(", "\"bx%?\\t%|ip\"", ",", "operands", ")", ";", "else", "output_asm_insn", "(", "\"mov%?\\t%|pc, %|ip\"", ",", "operands", ")", ";", "}", "else", "{", "output_asm_insn", "(", "\"mov%?\\t%|lr, %|pc\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"ldr%?\\t%|pc, %0\"", ",", "operands", ")", ";", "}", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "a", "'call", "'", "insn", "that", "is", "a", "reference", "in", "memory", ".", "This", "is", "disabled", "for", "ARMv5", "and", "we", "prefer", "a", "blx", "instead", "because", "otherwise", "there", "'s", "a", "significant", "performance", "overhead", "."], "TS_V_token": ["arm", "\"ldr%?\\t%|ip, %0\"", "\"mov%?\\t%|lr, %|pc\"", "\"bx%?\\t%|ip\"", "0", "\"ldr%?\\t%|ip, %0\"", "\"mov%?\\t%|lr, %|pc\"", "\"bx%?\\t%|ip\"", "\"mov%?\\t%|pc, %|ip\"", "\"mov%?\\t%|lr, %|pc\"", "\"ldr%?\\t%|pc, %0\"", "\"\""], "File": "arm4", "Func": "output_call_mem", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13650, "Length": 112, "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", "GPRspRegClassID", ":", "case", "tGPR_and_tcGPRRegClassID", ":", "case", "tGPRRegClassID", ":", "return", "getRegBank", "(", "ARM", "::", "GPRRegBankID", ")", ";", "case", "SPR_8RegClassID", ":", "case", "SPRRegClassID", ":", "case", "DPR_8RegClassID", ":", "case", "DPRRegClassID", ":", "return", "getRegBank", "(", "ARM", "::", "FPRRegBankID", ")", ";", "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", "ARM::FPRRegBankID", "\"Unsupported register kind\"", "\"Switch should handle all register classes\""], "File": "ARMRegisterBankInfo1", "Func": "getRegBankFromRegClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13651, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86CondBrFolding", "::", "analyzeCompare", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "&", "SrcReg", ",", "int", "&", "CmpValue", ")", "{", "unsigned", "SrcRegIndex", "=", "0", ";", "unsigned", "ValueIndex", "=", "0", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "X86", "::", "CMP64ri32", ":", "case", "X86", "::", "CMP64ri8", ":", "case", "X86", "::", "CMP32ri", ":", "case", "X86", "::", "CMP32ri8", ":", "case", "X86", "::", "CMP16ri", ":", "case", "X86", "::", "CMP16ri8", ":", "case", "X86", "::", "CMP8ri", ":", "SrcRegIndex", "=", "0", ";", "ValueIndex", "=", "1", ";", "break", ";", "case", "X86", "::", "SUB64ri32", ":", "case", "X86", "::", "SUB64ri8", ":", "case", "X86", "::", "SUB32ri", ":", "case", "X86", "::", "SUB32ri8", ":", "case", "X86", "::", "SUB16ri", ":", "case", "X86", "::", "SUB16ri8", ":", "case", "X86", "::", "SUB8ri", ":", "SrcRegIndex", "=", "1", ";", "ValueIndex", "=", "2", ";", "break", ";", "}", "SrcReg", "=", "MI", ".", "getOperand", "(", "SrcRegIndex", ")", ".", "getReg", "(", ")", ";", "if", "(", "!", "MI", ".", "getOperand", "(", "ValueIndex", ")", ".", "isImm", "(", ")", ")", "return", "false", ";", "CmpValue", "=", "MI", ".", "getOperand", "(", "ValueIndex", ")", ".", "getImm", "(", ")", ";", "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": ["X86", "X86", "0", "0", "X86::CMP64ri32", "X86::CMP64ri8", "X86::CMP32ri", "X86::CMP32ri8", "X86::CMP16ri", "X86::CMP16ri8", "X86::CMP8ri", "0", "1", "X86::SUB64ri32", "X86::SUB64ri8", "X86::SUB32ri", "X86::SUB32ri8", "X86::SUB16ri", "X86::SUB16ri8", "X86::SUB8ri", "1", "2"], "File": "X86CondBrFolding", "Func": "analyzeCompare", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13652, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "PredicateInstruction", "(", "MachineInstr", "&", "MI", ",", "ArrayRef", "<", "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", "(", "Opcode", "==", "SystemZ", "::", "Trap", ")", "{", "MI", ".", "setDesc", "(", "get", "(", "SystemZ", "::", "CondTrap", ")", ")", ";", "MachineInstrBuilder", "(", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ".", "addImm", "(", "CCValid", ")", ".", "addImm", "(", "CCMask", ")", ".", "addReg", "(", "SystemZ", "::", "CC", ",", "RegState", "::", "Implicit", ")", ";", "return", "true", ";", "}", "if", "(", "Opcode", "==", "SystemZ", "::", "Return", ")", "{", "MI", ".", "setDesc", "(", "get", "(", "SystemZ", "::", "CondReturn", ")", ")", ";", "MachineInstrBuilder", "(", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ".", "addImm", "(", "CCValid", ")", ".", "addImm", "(", "CCMask", ")", ".", "addReg", "(", "SystemZ", "::", "CC", ",", "RegState", "::", "Implicit", ")", ";", "return", "true", ";", "}", "if", "(", "Opcode", "==", "SystemZ", "::", "CallJG", ")", "{", "MachineOperand", "FirstOp", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "const", "uint32_t", "*", "RegMask", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getRegMask", "(", ")", ";", "MI", ".", "RemoveOperand", "(", "1", ")", ";", "MI", ".", "RemoveOperand", "(", "0", ")", ";", "MI", ".", "setDesc", "(", "get", "(", "SystemZ", "::", "CallBRCL", ")", ")", ";", "MachineInstrBuilder", "(", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ".", "addImm", "(", "CCValid", ")", ".", "addImm", "(", "CCMask", ")", ".", "add", "(", "FirstOp", ")", ".", "addRegMask", "(", "RegMask", ")", ".", "addReg", "(", "SystemZ", "::", "CC", ",", "RegState", "::", "Implicit", ")", ";", "return", "true", ";", "}", "if", "(", "Opcode", "==", "SystemZ", "::", "CallBR", ")", "{", "MachineOperand", "Target", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "const", "uint32_t", "*", "RegMask", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getRegMask", "(", ")", ";", "MI", ".", "RemoveOperand", "(", "1", ")", ";", "MI", ".", "RemoveOperand", "(", "0", ")", ";", "MI", ".", "setDesc", "(", "get", "(", "SystemZ", "::", "CallBCR", ")", ")", ";", "MachineInstrBuilder", "(", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ".", "addImm", "(", "CCValid", ")", ".", "addImm", "(", "CCMask", ")", ".", "add", "(", "Target", ")", ".", "addRegMask", "(", "RegMask", ")", ".", "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::Trap", "SystemZ::CondTrap", "SystemZ::CC", "SystemZ::Return", "SystemZ::CondReturn", "SystemZ::CC", "SystemZ::CallJG", "0", "1", "1", "0", "SystemZ::CallBRCL", "SystemZ::CC", "SystemZ::CallBR", "0", "1", "1", "0", "SystemZ::CallBCR", "SystemZ::CC"], "File": "SystemZInstrInfo16", "Func": "PredicateInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13653, "Length": 428, "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", ",", "cmp_mode", ";", "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", ")", "cmp_mode", "=", "E_SImode", ";", "else", "cmp_mode", "=", "CC_Zmode", ";", "bdst", "=", "TARGET_THUMB1", "?", "bval", ":", "gen_rtx_REG", "(", "CC_Zmode", ",", "CC_REGNUM", ")", ";", "emit_insn", "(", "gen_atomic_compare_and_swap_1", "(", "cmp_mode", ",", "mode", ",", "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": "arm", "Func": "arm_expand_compare_and_swap", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13654, "Length": 333, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "{", "return", "5", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["X86", "5"], "File": "X86MCCodeEmitter17", "Func": "getNumFixupKinds", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13655, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "uint64_t", "Address", ",", "StringRef", "Annotation", ",", "const", "MCSubtargetInfo", "&", ",", "raw_ostream", "&", "OS", ")", "{", "if", "(", "!", "printAlias", "(", "MI", ",", "OS", ")", "&&", "!", "printAliasInstr", "(", "MI", ",", "Address", ",", "OS", ")", ")", "printInstruction", "(", "MI", ",", "Address", ",", "OS", ")", ";", "printAnnotation", "(", "OS", ",", "Annotation", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["Lanai", "Lanai"], "File": "LanaiInstPrinter2", "Func": "printInst", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13656, "Length": 62, "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": 13657, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "machine_mode", "loongarch_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": ["loongarch"], "File": "loongarch", "Func": "loongarch_hard_regno_caller_save_mode", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13658, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Sched", "::", "Preference", "ARMTargetLowering", "::", "getSchedulingPreference", "(", "SDNode", "*", "N", ")", "const", "{", "unsigned", "NumVals", "=", "N", "->", "getNumValues", "(", ")", ";", "if", "(", "!", "NumVals", ")", "return", "Sched", "::", "RegPressure", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumVals", ";", "++", "i", ")", "{", "EVT", "VT", "=", "N", "->", "getValueType", "(", "i", ")", ";", "if", "(", "VT", ".", "isFloatingPoint", "(", ")", "||", "VT", ".", "isVector", "(", ")", ")", "return", "Sched", "::", "Latency", ";", "}", "if", "(", "!", "N", "->", "isMachineOpcode", "(", ")", ")", "return", "Sched", "::", "RegPressure", ";", "const", "TargetInstrInfo", "*", "TII", "=", "getTargetMachine", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "TargetInstrDesc", "&", "TID", "=", "TII", "->", "get", "(", "N", "->", "getMachineOpcode", "(", ")", ")", ";", "if", "(", "TID", ".", "mayLoad", "(", ")", ")", "return", "Sched", "::", "Latency", ";", "const", "InstrItineraryData", "&", "Itins", "=", "getTargetMachine", "(", ")", ".", "getInstrItineraryData", "(", ")", ";", "if", "(", "!", "Itins", ".", "isEmpty", "(", ")", "&&", "Itins", ".", "getStageLatency", "(", "TID", ".", "getSchedClass", "(", ")", ")", ">", "2", ")", "return", "Sched", "::", "Latency", ";", "return", "Sched", "::", "RegPressure", ";", "}", ""], "natrual_language": ["Some", "scheduler", ",", "e.g", "."], "TS_V_token": ["ARM", "ARM", "0", "2"], "File": "ARMISelLowering54", "Func": "getSchedulingPreference", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13659, "Length": 179, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "AArch64TargetLowering", "::", "shouldExpandAtomicLoadInIR", "(", "LoadInst", "*", "LI", ")", "const", "{", "unsigned", "Size", "=", "LI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "Size", "!=", "128", "||", "isOpSuitableForLDPSTP", "(", "LI", ")", ")", "return", "AtomicExpansionKind", "::", "None", ";", "if", "(", "getTargetMachine", "(", ")", ".", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ")", "return", "AtomicExpansionKind", "::", "CmpXChg", ";", "return", "AtomicExpansionKind", "::", "LLSC", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "(", "atomic", ")", "load", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "."], "TS_V_token": ["AArch64", "AArch64", "128"], "File": "AArch64ISelLowering (2)2", "Func": "shouldExpandAtomicLoadInIR", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13660, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "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", "?", "TII", ".", "getFrameSize", "(", "*", "I", ")", ":", "0", ";", "uint64_t", "InternalAmt", "=", "(", "isDestroy", "||", "Amount", ")", "?", "TII", ".", "getFrameAdjustment", "(", "*", "I", ")", ":", "0", ";", "I", "=", "MBB", ".", "erase", "(", "I", ")", ";", "auto", "InsertPos", "=", "skipDebugInstructionsForward", "(", "I", ",", "MBB", ".", "end", "(", ")", ")", ";", "if", "(", "!", "reserveCallFrame", ")", "{", "unsigned", "StackAlign", "=", "getStackAlignment", "(", ")", ";", "Amount", "=", "alignTo", "(", "Amount", ",", "StackAlign", ")", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "bool", "WindowsCFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", "->", "usesWindowsCFI", "(", ")", ";", "bool", "DwarfCFI", "=", "!", "WindowsCFI", "&&", "(", "MMI", ".", "hasDebugInfo", "(", ")", "||", "F", ".", "needsUnwindTableEntry", "(", ")", ")", ";", "bool", "HasDwarfEHHandlers", "=", "!", "WindowsCFI", "&&", "!", "MF", ".", "getLandingPads", "(", ")", ".", "empty", "(", ")", ";", "if", "(", "HasDwarfEHHandlers", "&&", "!", "isDestroy", "&&", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "getHasPushSequences", "(", ")", ")", "BuildCFI", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "MCCFIInstruction", "::", "createGnuArgsSize", "(", "nullptr", ",", "Amount", ")", ")", ";", "if", "(", "Amount", "==", "0", ")", "return", "I", ";", "Amount", "-=", "InternalAmt", ";", "if", "(", "isDestroy", "&&", "InternalAmt", "&&", "DwarfCFI", "&&", "!", "hasFP", "(", "MF", ")", ")", "BuildCFI", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "MCCFIInstruction", "::", "createAdjustCfaOffset", "(", "nullptr", ",", "-", "InternalAmt", ")", ")", ";", "int64_t", "StackAdjustment", "=", "isDestroy", "?", "Amount", ":", "-", "Amount", ";", "if", "(", "StackAdjustment", ")", "{", "StackAdjustment", "+=", "mergeSPUpdates", "(", "MBB", ",", "InsertPos", ",", "true", ")", ";", "StackAdjustment", "+=", "mergeSPUpdates", "(", "MBB", ",", "InsertPos", ",", "false", ")", ";", "if", "(", "StackAdjustment", ")", "{", "if", "(", "!", "(", "F", ".", "optForMinSize", "(", ")", "&&", "adjustStackWithPops", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "StackAdjustment", ")", ")", ")", "BuildStackAdjustment", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "StackAdjustment", ",", "false", ")", ";", "}", "}", "if", "(", "DwarfCFI", "&&", "!", "hasFP", "(", "MF", ")", ")", "{", "int64_t", "CfaAdjustment", "=", "-", "StackAdjustment", ";", "if", "(", "CfaAdjustment", ")", "{", "BuildCFI", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "MCCFIInstruction", "::", "createAdjustCfaOffset", "(", "nullptr", ",", "CfaAdjustment", ")", ")", ";", "}", "}", "return", "I", ";", "}", "if", "(", "isDestroy", "&&", "InternalAmt", ")", "{", "MachineBasicBlock", "::", "iterator", "CI", "=", "I", ";", "MachineBasicBlock", "::", "iterator", "B", "=", "MBB", ".", "begin", "(", ")", ";", "while", "(", "CI", "!=", "B", "&&", "!", "std", "::", "prev", "(", "CI", ")", "->", "isCall", "(", ")", ")", "--", "CI", ";", "BuildStackAdjustment", "(", "MBB", ",", "CI", ",", "DL", ",", "-", "InternalAmt", ",", "false", ")", ";", "}", "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": ["X86", "X86", "0", "0", "X86", "0"], "File": "X86FrameLowering105", "Func": "eliminateCallFramePseudoInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13661, "Length": 488, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isProfitableToHoist", "(", "Instruction", "*", "I", ")", "const", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "Instruction", "::", "FMul", ")", "return", "true", ";", "if", "(", "!", "I", "->", "hasOneUse", "(", ")", ")", "return", "true", ";", "Instruction", "*", "User", "=", "I", "->", "user_back", "(", ")", ";", "if", "(", "User", "&&", "!", "(", "User", "->", "getOpcode", "(", ")", "==", "Instruction", "::", "FSub", "||", "User", "->", "getOpcode", "(", ")", "==", "Instruction", "::", "FAdd", ")", ")", "return", "true", ";", "const", "TargetOptions", "&", "Options", "=", "getTargetMachine", "(", ")", ".", "Options", ";", "const", "Function", "*", "F", "=", "I", "->", "getFunction", "(", ")", ";", "const", "DataLayout", "&", "DL", "=", "F", "->", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "Type", "*", "Ty", "=", "User", "->", "getOperand", "(", "0", ")", "->", "getType", "(", ")", ";", "return", "!", "(", "isFMAFasterThanFMulAndFAdd", "(", "*", "F", ",", "Ty", ")", "&&", "isOperationLegalOrCustom", "(", "ISD", "::", "FMA", ",", "getValueType", "(", "DL", ",", "Ty", ")", ")", "&&", "(", "Options", ".", "AllowFPOpFusion", "==", "FPOpFusion", "::", "Fast", "||", "Options", ".", "UnsafeFPMath", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "profitable", "to", "hoist", "instruction", "in", "the", "then/else", "to", "before", "if", "."], "TS_V_token": ["AArch64", "AArch64", "0", "ISD::FMA"], "File": "AArch64ISelLowering (2)2", "Func": "isProfitableToHoist", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13662, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "shouldForceRelocation", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ")", "override", "{", "if", "(", "Fixup", ".", "getKind", "(", ")", ">=", "FirstLiteralRelocationKind", ")", "return", "true", ";", "switch", "(", "(", "Sparc", "::", "Fixups", ")", "Fixup", ".", "getKind", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Sparc", "::", "fixup_sparc_wplt30", ":", "if", "(", "Target", ".", "getSymA", "(", ")", "->", "getSymbol", "(", ")", ".", "isTemporary", "(", ")", ")", "return", "false", ";", "LLVM_FALLTHROUGH", ";", "case", "Sparc", "::", "fixup_sparc_tls_gd_hi22", ":", "case", "Sparc", "::", "fixup_sparc_tls_gd_lo10", ":", "case", "Sparc", "::", "fixup_sparc_tls_gd_add", ":", "case", "Sparc", "::", "fixup_sparc_tls_gd_call", ":", "case", "Sparc", "::", "fixup_sparc_tls_ldm_hi22", ":", "case", "Sparc", "::", "fixup_sparc_tls_ldm_lo10", ":", "case", "Sparc", "::", "fixup_sparc_tls_ldm_add", ":", "case", "Sparc", "::", "fixup_sparc_tls_ldm_call", ":", "case", "Sparc", "::", "fixup_sparc_tls_ldo_hix22", ":", "case", "Sparc", "::", "fixup_sparc_tls_ldo_lox10", ":", "case", "Sparc", "::", "fixup_sparc_tls_ldo_add", ":", "case", "Sparc", "::", "fixup_sparc_tls_ie_hi22", ":", "case", "Sparc", "::", "fixup_sparc_tls_ie_lo10", ":", "case", "Sparc", "::", "fixup_sparc_tls_ie_ld", ":", "case", "Sparc", "::", "fixup_sparc_tls_ie_ldx", ":", "case", "Sparc", "::", "fixup_sparc_tls_ie_add", ":", "case", "Sparc", "::", "fixup_sparc_tls_le_hix22", ":", "case", "Sparc", "::", "fixup_sparc_tls_le_lox10", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Hook", "to", "check", "if", "a", "relocation", "is", "needed", "for", "some", "target", "specific", "reason", "."], "TS_V_token": ["Sparc", "Sparc::Fixups", "Sparc::fixup_sparc_wplt30", "Sparc::fixup_sparc_tls_gd_hi22", "Sparc::fixup_sparc_tls_gd_lo10", "Sparc::fixup_sparc_tls_gd_add", "Sparc::fixup_sparc_tls_gd_call", "Sparc::fixup_sparc_tls_ldm_hi22", "Sparc::fixup_sparc_tls_ldm_lo10", "Sparc::fixup_sparc_tls_ldm_add", "Sparc::fixup_sparc_tls_ldm_call", "Sparc::fixup_sparc_tls_ldo_hix22", "Sparc::fixup_sparc_tls_ldo_lox10", "Sparc::fixup_sparc_tls_ldo_add", "Sparc::fixup_sparc_tls_ie_hi22", "Sparc::fixup_sparc_tls_ie_lo10", "Sparc::fixup_sparc_tls_ie_ld", "Sparc::fixup_sparc_tls_ie_ldx", "Sparc::fixup_sparc_tls_ie_add", "Sparc::fixup_sparc_tls_le_hix22", "Sparc::fixup_sparc_tls_le_lox10"], "File": "SparcAsmBackend14", "Func": "shouldForceRelocation", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13663, "Length": 173, "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_V16BFmode", ":", "extract", "=", "gen_avx_vextractf128v16bf", ";", "mode", "=", "V8BFmode", ";", "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-expand1", "Func": "ix86_avx256_split_vector_move_misalign", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13664, "Length": 386, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FastISel", "::", "fastSelectInstruction", "(", "const", "Instruction", "*", "I", ")", "{", "switch", "(", "I", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Instruction", "::", "Load", ":", "return", "X86SelectLoad", "(", "I", ")", ";", "case", "Instruction", "::", "Store", ":", "return", "X86SelectStore", "(", "I", ")", ";", "case", "Instruction", "::", "Ret", ":", "return", "X86SelectRet", "(", "I", ")", ";", "case", "Instruction", "::", "ICmp", ":", "case", "Instruction", "::", "FCmp", ":", "return", "X86SelectCmp", "(", "I", ")", ";", "case", "Instruction", "::", "ZExt", ":", "return", "X86SelectZExt", "(", "I", ")", ";", "case", "Instruction", "::", "SExt", ":", "return", "X86SelectSExt", "(", "I", ")", ";", "case", "Instruction", "::", "Br", ":", "return", "X86SelectBranch", "(", "I", ")", ";", "case", "Instruction", "::", "LShr", ":", "case", "Instruction", "::", "AShr", ":", "case", "Instruction", "::", "Shl", ":", "return", "X86SelectShift", "(", "I", ")", ";", "case", "Instruction", "::", "SDiv", ":", "case", "Instruction", "::", "UDiv", ":", "case", "Instruction", "::", "SRem", ":", "case", "Instruction", "::", "URem", ":", "return", "X86SelectDivRem", "(", "I", ")", ";", "case", "Instruction", "::", "Select", ":", "return", "X86SelectSelect", "(", "I", ")", ";", "case", "Instruction", "::", "Trunc", ":", "return", "X86SelectTrunc", "(", "I", ")", ";", "case", "Instruction", "::", "FPExt", ":", "return", "X86SelectFPExt", "(", "I", ")", ";", "case", "Instruction", "::", "FPTrunc", ":", "return", "X86SelectFPTrunc", "(", "I", ")", ";", "case", "Instruction", "::", "SIToFP", ":", "return", "X86SelectSIToFP", "(", "I", ")", ";", "case", "Instruction", "::", "UIToFP", ":", "return", "X86SelectUIToFP", "(", "I", ")", ";", "case", "Instruction", "::", "IntToPtr", ":", "case", "Instruction", "::", "PtrToInt", ":", "{", "EVT", "SrcVT", "=", "TLI", ".", "getValueType", "(", "DL", ",", "I", "->", "getOperand", "(", "0", ")", "->", "getType", "(", ")", ")", ";", "EVT", "DstVT", "=", "TLI", ".", "getValueType", "(", "DL", ",", "I", "->", "getType", "(", ")", ")", ";", "if", "(", "DstVT", ".", "bitsGT", "(", "SrcVT", ")", ")", "return", "X86SelectZExt", "(", "I", ")", ";", "if", "(", "DstVT", ".", "bitsLT", "(", "SrcVT", ")", ")", "return", "X86SelectTrunc", "(", "I", ")", ";", "unsigned", "Reg", "=", "getRegForValue", "(", "I", "->", "getOperand", "(", "0", ")", ")", ";", "if", "(", "Reg", "==", "0", ")", "return", "false", ";", "updateValueMap", "(", "I", ",", "Reg", ")", ";", "return", "true", ";", "}", "case", "Instruction", "::", "BitCast", ":", "{", "if", "(", "!", "Subtarget", "->", "hasSSE2", "(", ")", ")", "return", "false", ";", "MVT", "SrcVT", ",", "DstVT", ";", "if", "(", "!", "isTypeLegal", "(", "I", "->", "getOperand", "(", "0", ")", "->", "getType", "(", ")", ",", "SrcVT", ")", "||", "!", "isTypeLegal", "(", "I", "->", "getType", "(", ")", ",", "DstVT", ")", ")", "return", "false", ";", "if", "(", "!", "SrcVT", ".", "isVector", "(", ")", "||", "!", "DstVT", ".", "isVector", "(", ")", "||", "SrcVT", ".", "getVectorElementType", "(", ")", "==", "MVT", "::", "i1", "||", "DstVT", ".", "getVectorElementType", "(", ")", "==", "MVT", "::", "i1", ")", "return", "false", ";", "unsigned", "Reg", "=", "getRegForValue", "(", "I", "->", "getOperand", "(", "0", ")", ")", ";", "if", "(", "Reg", "==", "0", ")", "return", "false", ";", "updateValueMap", "(", "I", ",", "Reg", ")", ";", "return", "true", ";", "}", "}", "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": ["X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "0", "X86", "X86", "0", "0", "0", "MVT::i1", "MVT::i1", "0", "0"], "File": "X86FastISel121", "Func": "fastSelectInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13665, "Length": 464, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "PPC", "::", "STD", ":", "case", "PPC", "::", "STW", ":", "case", "PPC", "::", "STFS", ":", "case", "PPC", "::", "STFD", ":", "case", "PPC", "::", "SPILL_CR", ":", "case", "PPC", "::", "SPILL_CRBIT", ":", "case", "PPC", "::", "STVX", ":", "case", "PPC", "::", "STXVD2X", ":", "case", "PPC", "::", "QVSTFDX", ":", "case", "PPC", "::", "QVSTFSXs", ":", "case", "PPC", "::", "QVSTFDXb", ":", "case", "PPC", "::", "SPILL_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": ["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": ["PowerPC", "PPC", "PPC::STD", "PPC::STW", "PPC::STFS", "PPC::STFD", "PPC::SPILL_CR", "PPC::SPILL_CRBIT", "PPC::STVX", "PPC::STXVD2X", "PPC::QVSTFDX", "PPC::QVSTFSXs", "PPC::QVSTFDXb", "PPC::SPILL_VRSAVE", "1", "1", "2", "2", "0", "0"], "File": "PPCInstrInfo (3)", "Func": "isStoreToStackSlot", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13666, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMFastISel", "::", "fastEmitInst_r", "(", "unsigned", "MachineInstOpcode", ",", "const", "TargetRegisterClass", "*", "RC", ",", "unsigned", "Op0", ",", "bool", "Op0IsKill", ")", "{", "Register", "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": "ARMFastISel11", "Func": "fastEmitInst_r", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13667, "Length": 170, "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": 13668, "Length": 11, "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", "{", "HOST_WIDE_INT", "caller_isa", ";", "struct", "cl_target_option", "*", "callee_opts", "=", "TREE_TARGET_OPTION", "(", "callee_tree", ")", ";", "HOST_WIDE_INT", "callee_isa", "=", "callee_opts", "->", "x_rs6000_isa_flags", ";", "HOST_WIDE_INT", "explicit_isa", "=", "callee_opts", "->", "x_rs6000_isa_flags_explicit", ";", "if", "(", "caller_tree", ")", "caller_isa", "=", "TREE_TARGET_OPTION", "(", "caller_tree", ")", "->", "x_rs6000_isa_flags", ";", "else", "caller_isa", "=", "rs6000_isa_flags", ";", "cgraph_node", "*", "callee_node", "=", "cgraph_node", "::", "get", "(", "callee", ")", ";", "if", "(", "ipa_fn_summaries", "&&", "ipa_fn_summaries", "->", "get", "(", "callee_node", ")", "!=", "NULL", ")", "{", "unsigned", "int", "info", "=", "ipa_fn_summaries", "->", "get", "(", "callee_node", ")", "->", "target_info", ";", "if", "(", "(", "info", "&", "RS6000_FN_TARGET_INFO_HTM", ")", "==", "0", ")", "{", "callee_isa", "&=", "~", "OPTION_MASK_HTM", ";", "explicit_isa", "&=", "~", "OPTION_MASK_HTM", ";", "}", "}", "callee_isa", "&=", "~", "(", "OPTION_MASK_P8_FUSION", "|", "OPTION_MASK_P10_FUSION", ")", ";", "explicit_isa", "&=", "~", "(", "OPTION_MASK_P8_FUSION", "|", "OPTION_MASK_P10_FUSION", ")", ";", "if", "(", "(", "(", "caller_isa", "&", "callee_isa", ")", "==", "callee_isa", ")", "&&", "(", "caller_isa", "&", "explicit_isa", ")", "==", "(", "callee_isa", "&", "explicit_isa", ")", ")", "ret", "=", "true", ";", "}", "if", "(", "TARGET_DEBUG_TARGET", ")", "fprintf", "(", "stderr", ",", "\"rs6000_can_inline_p:, caller %s, callee %s, %s inline\\n\"", ",", "get_decl_name", "(", "caller", ")", ",", "get_decl_name", "(", "callee", ")", ",", "(", "ret", "?", "\"can\"", ":", "\"cannot\"", ")", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Hook", "to", "determine", "if", "one", "function", "can", "safely", "inline", "another", "."], "TS_V_token": ["rs6000", "0", "\"rs6000_can_inline_p:, caller %s, callee %s, %s inline\\n\"", "\"can\"", "\"cannot\""], "File": "rs60001", "Func": "rs6000_can_inline_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13669, "Length": 229, "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", "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": "ARMRegisterBankInfo21", "Func": "getRegBankFromRegClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13670, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "PPCDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "CS", ")", "const", "{", "auto", "*", "ReadFunc", "=", "IsLittleEndian", "?", "support", "::", "endian", "::", "read32le", ":", "support", "::", "endian", "::", "read32be", ";", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "PPC", "::", "FeaturePrefixInstrs", "]", "&&", "Bytes", ".", "size", "(", ")", ">=", "8", ")", "{", "uint32_t", "Prefix", "=", "ReadFunc", "(", "Bytes", ".", "data", "(", ")", ")", ";", "uint32_t", "BaseInst", "=", "ReadFunc", "(", "Bytes", ".", "data", "(", ")", "+", "4", ")", ";", "uint64_t", "Inst", "=", "BaseInst", "|", "(", "uint64_t", ")", "Prefix", "<<", "32", ";", "DecodeStatus", "result", "=", "decodeInstruction", "(", "DecoderTable64", ",", "MI", ",", "Inst", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "Size", "=", "8", ";", "return", "result", ";", "}", "}", "Size", "=", "4", ";", "if", "(", "Bytes", ".", "size", "(", ")", "<", "4", ")", "{", "Size", "=", "0", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "uint64_t", "Inst", "=", "ReadFunc", "(", "Bytes", ".", "data", "(", ")", ")", ";", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "PPC", "::", "FeatureSPE", "]", ")", "{", "DecodeStatus", "result", "=", "decodeInstruction", "(", "DecoderTableSPE32", ",", "MI", ",", "Inst", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "result", "!=", "MCDisassembler", "::", "Fail", ")", "return", "result", ";", "}", "return", "decodeInstruction", "(", "DecoderTable32", ",", "MI", ",", "Inst", ",", "Address", ",", "this", ",", "STI", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["PowerPC", "PPC", "support::endian", "support::endian", "PPC::FeaturePrefixInstrs", "8", "4", "32", "8", "4", "4", "0", "PPC::FeatureSPE"], "File": "PPCDisassembler15", "Func": "getInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13671, "Length": 240, "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", ":", "{", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "Instructions", ".", "push_back", "(", "Inst", ")", ";", "break", ";", "case", "SP", "::", "SET", ":", "expandSET", "(", "Inst", ",", "IDLoc", ",", "Instructions", ")", ";", "break", ";", "}", "for", "(", "const", "MCInst", "&", "I", ":", "Instructions", ")", "{", "Out", ".", "EmitInstruction", "(", "I", ",", "getSTI", "(", ")", ")", ";", "}", "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", "SP::SET", "\"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": "SparcAsmParser26", "Func": "MatchAndEmitInstruction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13672, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "Register", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "override", "{", "storeRegToStack", "(", "MBB", ",", "MBBI", ",", "SrcReg", ",", "isKill", ",", "FrameIndex", ",", "RC", ",", "TRI", ",", "0", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["Mips", "0"], "File": "MipsInstrInfo19", "Func": "storeRegToStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13673, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ARMTTIImpl", "::", "getIntImmCost", "(", "unsigned", "Opcode", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "{", "if", "(", "(", "Opcode", "==", "Instruction", "::", "SDiv", "||", "Opcode", "==", "Instruction", "::", "UDiv", "||", "Opcode", "==", "Instruction", "::", "SRem", "||", "Opcode", "==", "Instruction", "::", "URem", ")", "&&", "Idx", "==", "1", ")", "return", "0", ";", "return", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["ARM", "ARM", "1", "0"], "File": "ARMTargetTransformInfo16", "Func": "getIntImmCost", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13674, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isSchedulingBoundary", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineBasicBlock", "*", "MBB", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "MI", ".", "isDebugInstr", "(", ")", ")", "return", "false", ";", "if", "(", "MI", ".", "isTerminator", "(", ")", "||", "MI", ".", "isPosition", "(", ")", ")", "return", "true", ";", "MachineBasicBlock", "::", "const_iterator", "I", "=", "MI", ";", "while", "(", "++", "I", "!=", "MBB", "->", "end", "(", ")", "&&", "I", "->", "isDebugInstr", "(", ")", ")", ";", "if", "(", "I", "!=", "MBB", "->", "end", "(", ")", "&&", "I", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2IT", ")", "return", "true", ";", "if", "(", "!", "MI", ".", "isCall", "(", ")", "&&", "MI", ".", "definesRegister", "(", "ARM", "::", "SP", ")", ")", "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": ["ARM", "ARM", "ARM::t2IT", "ARM::SP"], "File": "ARMBaseInstrInfo1", "Func": "isSchedulingBoundary", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13675, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_unlikely_jump", "(", "rtx", "insn", ")", "{", "rtx_insn", "*", "jump", "=", "emit_jump_insn", "(", "insn", ")", ";", "add_reg_br_prob_note", "(", "jump", ",", "profile_probability", "::", "very_unlikely", "(", ")", ")", ";", "}", ""], "natrual_language": ["Mark", "the", "previous", "jump", "instruction", "as", "unlikely", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "emit_unlikely_jump", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13676, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "pa_output_lbranch", "(", "rtx", "dest", ",", "rtx_insn", "*", "insn", ",", "int", "xdelay", ")", "{", "rtx", "xoperands", "[", "4", "]", ";", "xoperands", "[", "0", "]", "=", "dest", ";", "if", "(", "xdelay", "&&", "dbr_sequence_length", "(", ")", "!=", "0", ")", "{", "gcc_assert", "(", "!", "JUMP_P", "(", "NEXT_INSN", "(", "insn", ")", ")", ")", ";", "final_scan_insn", "(", "NEXT_INSN", "(", "insn", ")", ",", "asm_out_file", ",", "optimize", ",", "0", ",", "NULL", ")", ";", "SET_INSN_DELETED", "(", "NEXT_INSN", "(", "insn", ")", ")", ";", "}", "if", "(", "TARGET_64BIT", ")", "{", "if", "(", "actual_fsize", "==", "0", "&&", "!", "df_regs_ever_live_p", "(", "2", ")", ")", "output_asm_insn", "(", "\"std %%r1,-16(%%r30)\"", ",", "xoperands", ")", ";", "else", "output_asm_insn", "(", "\"std %%r1,-40(%%r30)\"", ",", "xoperands", ")", ";", "}", "else", "{", "if", "(", "actual_fsize", "==", "0", "&&", "!", "df_regs_ever_live_p", "(", "2", ")", ")", "output_asm_insn", "(", "\"stw %%r1,-20(%%r30)\"", ",", "xoperands", ")", ";", "else", "output_asm_insn", "(", "\"stw %%r1,-12(%%r30)\"", ",", "xoperands", ")", ";", "}", "if", "(", "TARGET_PORTABLE_RUNTIME", ")", "{", "output_asm_insn", "(", "\"ldil L'%0,%%r1\"", ",", "xoperands", ")", ";", "output_asm_insn", "(", "\"ldo R'%0(%%r1),%%r1\"", ",", "xoperands", ")", ";", "output_asm_insn", "(", "\"bv %%r0(%%r1)\"", ",", "xoperands", ")", ";", "}", "else", "if", "(", "flag_pic", ")", "{", "xoperands", "[", "1", "]", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "xoperands", "[", "2", "]", "=", "xoperands", "[", "1", "]", ";", "pa_output_pic_pcrel_sequence", "(", "xoperands", ")", ";", "output_asm_insn", "(", "\"bv %%r0(%%r1)\"", ",", "xoperands", ")", ";", "}", "else", "output_asm_insn", "(", "\"ldil L'%l0,%%r1\\n\\tbe R'%l0(%%sr4,%%r1)\"", ",", "xoperands", ")", ";", "if", "(", "TARGET_64BIT", ")", "{", "if", "(", "actual_fsize", "==", "0", "&&", "!", "df_regs_ever_live_p", "(", "2", ")", ")", "return", "\"ldd -16(%%r30),%%r1\"", ";", "else", "return", "\"ldd -40(%%r30),%%r1\"", ";", "}", "else", "{", "if", "(", "actual_fsize", "==", "0", "&&", "!", "df_regs_ever_live_p", "(", "2", ")", ")", "return", "\"ldw -20(%%r30),%%r1\"", ";", "else", "return", "\"ldw -12(%%r30),%%r1\"", ";", "}", "}", ""], "natrual_language": ["This", "routine", "handles", "output", "of", "long", "unconditional", "branches", "that", "exceed", "the", "maximum", "range", "of", "a", "simple", "branch", "instruction", ".", "Since", "we", "do", "n't", "have", "a", "register", "available", "for", "the", "branch", ",", "we", "save", "register", "%", "r1", "in", "the", "frame", "marker", ",", "load", "the", "branch", "destination", "DEST", "into", "%", "r1", ",", "execute", "the", "branch", ",", "and", "restore", "%", "r1", "in", "the", "delay", "slot", "of", "the", "branch", ".", "Since", "long", "branches", "may", "have", "an", "insn", "in", "the", "delay", "slot", "and", "the", "delay", "slot", "is", "used", "to", "restore", "%", "r1", ",", "we", "in", "general", "need", "to", "extract", "this", "insn", "and", "execute", "it", "before", "the", "branch", ".", "However", ",", "to", "facilitate", "use", "of", "this", "function", "by", "conditional", "branches", ",", "we", "also", "provide", "an", "option", "to", "not", "extract", "the", "delay", "insn", "so", "that", "it", "will", "be", "emitted", "after", "the", "long", "branch", ".", "So", ",", "if", "there", "is", "an", "insn", "in", "the", "delay", "slot", ",", "it", "is", "extracted", "if", "XDELAY", "is", "nonzero", ".", "The", "lengths", "of", "the", "various", "long-branch", "sequences", "are", "20", ",", "16", "and", "24", "bytes", "for", "the", "portable", "runtime", ",", "non-PIC", "and", "PIC", "cases", ",", "respectively", "."], "TS_V_token": ["pa", "4", "0", "0", "0", "0", "2", "\"std %%r1,-16(%%r30)\"", "\"std %%r1,-40(%%r30)\"", "0", "2", "\"stw %%r1,-20(%%r30)\"", "\"stw %%r1,-12(%%r30)\"", "\"ldil L'%0,%%r1\"", "\"ldo R'%0(%%r1),%%r1\"", "\"bv %%r0(%%r1)\"", "1", "1", "2", "1", "\"bv %%r0(%%r1)\"", "\"ldil L'%l0,%%r1\\n\\tbe R'%l0(%%sr4,%%r1)\"", "0", "2", "\"ldd -16(%%r30),%%r1\"", "\"ldd -40(%%r30),%%r1\"", "0", "2", "\"ldw -20(%%r30),%%r1\"", "\"ldw -12(%%r30),%%r1\""], "File": "pa", "Func": "pa_output_lbranch", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13677, "Length": 264, "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", ",", "FuncArgs", ",", "Func", ")", ";", "CCState", "::", "AnalyzeCallOperands", "(", "Outs", ",", "Fn", ")", ";", "OriginalArgWasF128", ".", "clear", "(", ")", ";", "OriginalArgWasFloat", ".", "clear", "(", ")", ";", "OriginalArgWasFloatVector", ".", "clear", "(", ")", ";", "CallOperandIsFixed", ".", "clear", "(", ")", ";", "}", ""], "natrual_language": ["AnalyzeCallOperands", "-", "Same", "as", "above", "except", "it", "takes", "vectors", "of", "types", "and", "argument", "flags", "."], "TS_V_token": ["Mips", "ISD::OutputArg"], "File": "MipsCCState12", "Func": "AnalyzeCallOperands", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13678, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "nds32_expand_movmemqi", "(", "rtx", "dstmem", ",", "rtx", "srcmem", ",", "rtx", "total_bytes", ",", "rtx", "alignment", ")", "{", "HOST_WIDE_INT", "in_words", ",", "out_words", ";", "rtx", "dst_base_reg", ",", "src_base_reg", ";", "int", "maximum_bytes", ";", "if", "(", "TARGET_REDUCED_REGS", ")", "maximum_bytes", "=", "16", ";", "else", "maximum_bytes", "=", "32", ";", "if", "(", "GET_CODE", "(", "total_bytes", ")", "!=", "CONST_INT", "||", "GET_CODE", "(", "alignment", ")", "!=", "CONST_INT", "||", "INTVAL", "(", "total_bytes", ")", ">", "maximum_bytes", "||", "INTVAL", "(", "total_bytes", ")", "&", "3", "||", "INTVAL", "(", "alignment", ")", "&", "3", ")", "return", "0", ";", "dst_base_reg", "=", "copy_to_mode_reg", "(", "SImode", ",", "XEXP", "(", "dstmem", ",", "0", ")", ")", ";", "src_base_reg", "=", "copy_to_mode_reg", "(", "SImode", ",", "XEXP", "(", "srcmem", ",", "0", ")", ")", ";", "out_words", "=", "in_words", "=", "INTVAL", "(", "total_bytes", ")", "/", "UNITS_PER_WORD", ";", "emit_insn", "(", "nds32_expand_load_multiple", "(", "0", ",", "in_words", ",", "src_base_reg", ",", "srcmem", ")", ")", ";", "emit_insn", "(", "nds32_expand_store_multiple", "(", "0", ",", "out_words", ",", "dst_base_reg", ",", "dstmem", ")", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Function", "to", "move", "block", "memory", "content", "by", "using", "load_multiple", "and", "store_multiple", ".", "This", "is", "auxiliary", "extern", "function", "to", "help", "create", "rtx", "template", ".", "Check", "nds32-multiple.md", "file", "for", "the", "patterns", "."], "TS_V_token": ["nds32", "16", "32", "3", "3", "0", "0", "0", "0", "0", "1"], "File": "nds32-memory-manipulation2", "Func": "nds32_expand_movmemqi", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13679, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_fp_comparison_fcomi_cost", "(", "enum", "rtx_code", "code", ")", "{", "enum", "rtx_code", "bypass_code", ",", "first_code", ",", "second_code", ";", "if", "(", "!", "TARGET_CMOVE", ")", "return", "1024", ";", "ix86_fp_comparison_codes", "(", "code", ",", "&", "bypass_code", ",", "&", "first_code", ",", "&", "second_code", ")", ";", "return", "(", "bypass_code", "!=", "UNKNOWN", "||", "second_code", "!=", "UNKNOWN", ")", "+", "2", ";", "}", ""], "natrual_language": ["Return", "cost", "of", "comparison", "done", "using", "fcomi", "operation", ".", "See", "ix86_fp_comparison_arithmetics_cost", "for", "the", "metrics", "."], "TS_V_token": ["i386", "1024", "2"], "File": "i3863", "Func": "ix86_fp_comparison_fcomi_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13680, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FixupLEAPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Func", ")", "{", "MF", "=", "&", "Func", ";", "TM", "=", "&", "Func", ".", "getTarget", "(", ")", ";", "const", "X86Subtarget", "&", "ST", "=", "TM", "->", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "ST", ".", "LEAusesAG", "(", ")", "&&", "!", "ST", ".", "slowLEA", "(", ")", ")", "return", "false", ";", "TII", "=", "static_cast", "<", "const", "X86InstrInfo", "*", ">", "(", "TM", "->", "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", "X86", "\"Start X86FixupLEAs\\n\"", "\"End X86FixupLEAs\\n\""], "File": "X86FixupLEAs4", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13681, "Length": 132, "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": 13682, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "SystemZSelectionDAGInfo", "::", "EmitTargetCodeForStrcpy", "(", "SelectionDAG", "&", "DAG", ",", "const", "SDLoc", "&", "DL", ",", "SDValue", "Chain", ",", "SDValue", "Dest", ",", "SDValue", "Src", ",", "MachinePointerInfo", "DestPtrInfo", ",", "MachinePointerInfo", "SrcPtrInfo", ",", "bool", "isStpcpy", ")", "const", "{", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "Dest", ".", "getValueType", "(", ")", ",", "MVT", "::", "Other", ")", ";", "SDValue", "EndDest", "=", "DAG", ".", "getNode", "(", "SystemZISD", "::", "STPCPY", ",", "DL", ",", "VTs", ",", "Chain", ",", "Dest", ",", "Src", ",", "DAG", ".", "getConstant", "(", "0", ",", "DL", ",", "MVT", "::", "i32", ")", ")", ";", "return", "std", "::", "make_pair", "(", "isStpcpy", "?", "EndDest", ":", "Dest", ",", "EndDest", ".", "getValue", "(", "1", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "strcpy", "or", "stpcpy", ",", "in", "cases", "where", "that", "is", "faster", "than", "a", "libcall", "."], "TS_V_token": ["SystemZ", "SystemZ", "MVT::Other", "SystemZISD::STPCPY", "0", "MVT::i32", "1"], "File": "SystemZSelectionDAGInfo", "Func": "EmitTargetCodeForStrcpy", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13683, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "functionArgumentNeedsConsecutiveRegisters", "(", "Type", "*", "Ty", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ")", "const", "{", "if", "(", "getEffectiveCallingConv", "(", "CallConv", ",", "isVarArg", ")", "!=", "CallingConv", "::", "ARM_AAPCS_VFP", ")", "return", "false", ";", "HABaseType", "Base", "=", "HA_UNKNOWN", ";", "uint64_t", "Members", "=", "0", ";", "bool", "IsHA", "=", "isHomogeneousAggregate", "(", "Ty", ",", "Base", ",", "Members", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"isHA: \"", "<<", "IsHA", "<<", "\" \"", ";", "Ty", "->", "dump", "(", ")", ")", ";", "bool", "IsIntArray", "=", "Ty", "->", "isArrayTy", "(", ")", "&&", "Ty", "->", "getArrayElementType", "(", ")", "->", "isIntegerTy", "(", ")", ";", "return", "IsHA", "||", "IsIntArray", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "an", "argument", "of", "type", "Ty", "needs", "to", "be", "passed", "in", "a", "contiguous", "block", "of", "registers", "in", "calling", "convention", "CallConv", "."], "TS_V_token": ["ARM", "ARM", "ARM", "0", "\"isHA: \"", "\" \""], "File": "ARMISelLowering (2)6", "Func": "functionArgumentNeedsConsecutiveRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13684, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "branch_to_delay_slot_p", "(", "rtx_insn", "*", "insn", ")", "{", "rtx_insn", "*", "jump_insn", ";", "if", "(", "dbr_sequence_length", "(", ")", ")", "return", "FALSE", ";", "jump_insn", "=", "next_active_insn", "(", "JUMP_LABEL", "(", "insn", ")", ")", ";", "while", "(", "insn", ")", "{", "insn", "=", "next_active_insn", "(", "insn", ")", ";", "if", "(", "jump_insn", "==", "insn", ")", "return", "TRUE", ";", "if", "(", "!", "insn", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "ASM_INPUT", "||", "extract_asm_operands", "(", "PATTERN", "(", "insn", ")", ")", "!=", "NULL_RTX", "||", "get_attr_length", "(", "insn", ")", ">", "0", ")", "break", ";", "}", "return", "FALSE", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "INSN", ",", "a", "jump", "insn", ",", "has", "an", "unfilled", "delay", "slot", "and", "it", "branches", "into", "the", "delay", "slot", ".", "Otherwise", ",", "return", "FALSE", "."], "TS_V_token": ["pa", "0"], "File": "pa4", "Func": "branch_to_delay_slot_p", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13685, "Length": 92, "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": 13686, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isEqualTo", "(", "const", "MCExpr", "*", "X", ")", "const", "override", "{", "if", "(", "auto", "*", "E", "=", "dyn_cast", "<", "X86MCExpr", ">", "(", "X", ")", ")", "return", "getRegNo", "(", ")", "==", "E", "->", "getRegNo", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Test", "whether", "two", "SDValues", "are", "known", "to", "compare", "equal", "."], "TS_V_token": ["X86", "X86"], "File": "X86MCExpr (2)", "Func": "isEqualTo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13687, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_vectorize_builtin_scatter", "(", "const_tree", "vectype", ",", "const_tree", "index_type", ",", "int", "scale", ")", "{", "bool", "si", ";", "enum", "ix86_builtins", "code", ";", "if", "(", "!", "TARGET_AVX512F", ")", "return", "NULL_TREE", ";", "if", "(", "(", "TREE_CODE", "(", "index_type", ")", "!=", "INTEGER_TYPE", "&&", "!", "POINTER_TYPE_P", "(", "index_type", ")", ")", "||", "(", "TYPE_MODE", "(", "index_type", ")", "!=", "SImode", "&&", "TYPE_MODE", "(", "index_type", ")", "!=", "DImode", ")", ")", "return", "NULL_TREE", ";", "if", "(", "TYPE_PRECISION", "(", "index_type", ")", ">", "POINTER_SIZE", ")", "return", "NULL_TREE", ";", "if", "(", "TYPE_PRECISION", "(", "index_type", ")", "<", "POINTER_SIZE", "&&", "TYPE_UNSIGNED", "(", "index_type", ")", ")", "return", "NULL_TREE", ";", "if", "(", "scale", "<=", "0", "||", "scale", ">", "8", "||", "(", "scale", "&", "(", "scale", "-", "1", ")", ")", "!=", "0", ")", "return", "NULL_TREE", ";", "si", "=", "TYPE_MODE", "(", "index_type", ")", "==", "SImode", ";", "switch", "(", "TYPE_MODE", "(", "vectype", ")", ")", "{", "case", "E_V8DFmode", ":", "code", "=", "si", "?", "IX86_BUILTIN_SCATTERALTSIV8DF", ":", "IX86_BUILTIN_SCATTERDIV8DF", ";", "break", ";", "case", "E_V8DImode", ":", "code", "=", "si", "?", "IX86_BUILTIN_SCATTERALTSIV8DI", ":", "IX86_BUILTIN_SCATTERDIV8DI", ";", "break", ";", "case", "E_V16SFmode", ":", "code", "=", "si", "?", "IX86_BUILTIN_SCATTERSIV16SF", ":", "IX86_BUILTIN_SCATTERALTDIV16SF", ";", "break", ";", "case", "E_V16SImode", ":", "code", "=", "si", "?", "IX86_BUILTIN_SCATTERSIV16SI", ":", "IX86_BUILTIN_SCATTERALTDIV16SI", ";", "break", ";", "case", "E_V4DFmode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_SCATTERALTSIV4DF", ":", "IX86_BUILTIN_SCATTERDIV4DF", ";", "else", "return", "NULL_TREE", ";", "break", ";", "case", "E_V4DImode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_SCATTERALTSIV4DI", ":", "IX86_BUILTIN_SCATTERDIV4DI", ";", "else", "return", "NULL_TREE", ";", "break", ";", "case", "E_V8SFmode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_SCATTERSIV8SF", ":", "IX86_BUILTIN_SCATTERALTDIV8SF", ";", "else", "return", "NULL_TREE", ";", "break", ";", "case", "E_V8SImode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_SCATTERSIV8SI", ":", "IX86_BUILTIN_SCATTERALTDIV8SI", ";", "else", "return", "NULL_TREE", ";", "break", ";", "case", "E_V2DFmode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_SCATTERALTSIV2DF", ":", "IX86_BUILTIN_SCATTERDIV2DF", ";", "else", "return", "NULL_TREE", ";", "break", ";", "case", "E_V2DImode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_SCATTERALTSIV2DI", ":", "IX86_BUILTIN_SCATTERDIV2DI", ";", "else", "return", "NULL_TREE", ";", "break", ";", "case", "E_V4SFmode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_SCATTERSIV4SF", ":", "IX86_BUILTIN_SCATTERALTDIV4SF", ";", "else", "return", "NULL_TREE", ";", "break", ";", "case", "E_V4SImode", ":", "if", "(", "TARGET_AVX512VL", ")", "code", "=", "si", "?", "IX86_BUILTIN_SCATTERSIV4SI", ":", "IX86_BUILTIN_SCATTERALTDIV4SI", ";", "else", "return", "NULL_TREE", ";", "break", ";", "default", ":", "return", "NULL_TREE", ";", "}", "return", "get_ix86_builtin", "(", "code", ")", ";", "}", ""], "natrual_language": ["Returns", "a", "decl", "of", "a", "function", "that", "implements", "scatter", "store", "with", "register", "type", "VECTYPE", "and", "index", "type", "INDEX_TYPE", "and", "SCALE", ".", "Return", "NULL_TREE", "if", "it", "is", "not", "available", "."], "TS_V_token": ["i386", "0", "8", "1", "0"], "File": "i386", "Func": "ix86_vectorize_builtin_scatter", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13688, "Length": 369, "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": ["MINA32"], "File": "MINA32InstPrinter", "Func": "printPCRelImm", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13689, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCAIXAsmPrinter", "::", "emitGlobalVariable", "(", "const", "GlobalVariable", "*", "GV", ")", "{", "ValidateGV", "(", "GV", ")", ";", "if", "(", "isSpecialLLVMGlobalArrayForStaticInit", "(", "GV", ")", ")", "return", ";", "MCSymbolXCOFF", "*", "GVSym", "=", "cast", "<", "MCSymbolXCOFF", ">", "(", "getSymbol", "(", "GV", ")", ")", ";", "GVSym", "->", "setStorageClass", "(", "TargetLoweringObjectFileXCOFF", "::", "getStorageClassForGlobal", "(", "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", "(", ")", ")", ";", "if", "(", "GVKind", ".", "isBSSLocal", "(", ")", ")", "OutStreamer", "->", "emitXCOFFLocalCommonSymbol", "(", "OutContext", ".", "getOrCreateSymbol", "(", "GVSym", "->", "getUnqualifiedName", "(", ")", ")", ",", "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", ")", ";", "emitGlobalConstant", "(", "GV", "->", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ",", "GV", "->", "getInitializer", "(", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "specified", "global", "variable", "to", "the", ".s", "file", "."], "TS_V_token": ["PowerPC", "PPC", "\"Encountered a global variable kind that is \"", "\"not supported yet.\""], "File": "PPCAsmPrinter121", "Func": "emitGlobalVariable", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13690, "Length": 309, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "arm_stack_offsets", "*", "arm_get_frame_offsets", "(", "void", ")", "{", "struct", "arm_stack_offsets", "*", "offsets", ";", "offsets", "=", "&", "cfun", "->", "machine", "->", "stack_offsets", ";", "return", "offsets", ";", "}", ""], "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"], "File": "arm", "Func": "arm_get_frame_offsets", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13691, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasFusion", "(", ")", "const", "{", "return", "hasArithmeticBccFusion", "(", ")", "||", "hasArithmeticCbzFusion", "(", ")", "||", "hasFuseAES", "(", ")", "||", "hasFuseArithmeticLogic", "(", ")", "||", "hasFuseCCSelect", "(", ")", "||", "hasFuseLiterals", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "CPU", "supports", "any", "kind", "of", "instruction", "fusion", "."], "TS_V_token": ["AArch64"], "File": "AArch64Subtarget (2)1", "Func": "hasFusion", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13692, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FrameLowering", "::", "canUseRedZone", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "!", "EnableRedZone", ")", "return", "false", ";", "if", "(", "MF", ".", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "Attribute", "::", "NoRedZone", ")", ")", "return", "false", ";", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "AArch64FunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "unsigned", "NumBytes", "=", "AFI", "->", "getLocalStackSize", "(", ")", ";", "return", "!", "(", "MFI", "->", "hasCalls", "(", ")", "||", "hasFP", "(", "MF", ")", "||", "NumBytes", ">", "128", ")", ";", "}", ""], "natrual_language": ["Can", "this", "function", "use", "the", "red", "zone", "for", "local", "allocations", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "128"], "File": "AArch64FrameLowering55", "Func": "canUseRedZone", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13693, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "{", "llvm_unreachable", "(", "\"unimplemented!\"", ")", ";", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["FISC", "\"unimplemented!\""], "File": "FISCAsmParser", "Func": "print", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13694, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ia64_function_arg_advance", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "int", "named", ")", "{", "int", "words", "=", "ia64_function_arg_words", "(", "type", ",", "mode", ")", ";", "int", "offset", "=", "ia64_function_arg_offset", "(", "cum", ",", "type", ",", "words", ")", ";", "enum", "machine_mode", "hfa_mode", "=", "VOIDmode", ";", "if", "(", "cum", "->", "words", ">=", "MAX_ARGUMENT_SLOTS", ")", "return", ";", "cum", "->", "words", "+=", "words", "+", "offset", ";", "if", "(", "type", ")", "hfa_mode", "=", "hfa_element_mode", "(", "type", ",", "0", ")", ";", "if", "(", "hfa_mode", "!=", "VOIDmode", "&&", "(", "!", "cum", "->", "prototype", "||", "named", ")", ")", "{", "int", "fp_regs", "=", "cum", "->", "fp_regs", ";", "int", "int_regs", "=", "cum", "->", "words", "-", "words", ";", "int", "hfa_size", "=", "GET_MODE_SIZE", "(", "hfa_mode", ")", ";", "int", "byte_size", ";", "int", "args_byte_size", ";", "byte_size", "=", "(", "(", "mode", "==", "BLKmode", ")", "?", "int_size_in_bytes", "(", "type", ")", ":", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "args_byte_size", "=", "int_regs", "*", "UNITS_PER_WORD", ";", "offset", "=", "0", ";", "for", "(", ";", "(", "offset", "<", "byte_size", "&&", "fp_regs", "<", "MAX_ARGUMENT_SLOTS", "&&", "args_byte_size", "<", "(", "MAX_ARGUMENT_SLOTS", "*", "UNITS_PER_WORD", ")", ")", ";", ")", "{", "offset", "+=", "hfa_size", ";", "args_byte_size", "+=", "hfa_size", ";", "fp_regs", "++", ";", "}", "cum", "->", "fp_regs", "=", "fp_regs", ";", "}", "else", "if", "(", "mode", "==", "TFmode", "||", "mode", "==", "TCmode", "||", "(", "!", "FLOAT_MODE_P", "(", "mode", ")", "||", "cum", "->", "fp_regs", "==", "MAX_ARGUMENT_SLOTS", ")", ")", "cum", "->", "int_regs", "=", "cum", "->", "words", ";", "else", "if", "(", "cum", "->", "prototype", ")", "{", "if", "(", "!", "named", ")", "cum", "->", "int_regs", "=", "cum", "->", "words", ";", "else", "cum", "->", "fp_regs", "+=", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_FLOAT", "?", "2", ":", "1", ")", ";", "}", "else", "{", "cum", "->", "fp_regs", "+=", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_FLOAT", "?", "2", ":", "1", ")", ";", "cum", "->", "int_regs", "=", "cum", "->", "words", ";", "}", "}", ""], "natrual_language": ["Update", "CUM", "to", "point", "after", "this", "argument", ".", "This", "is", "patterned", "after", "ia64_function_arg", "."], "TS_V_token": ["ia64", "0", "0", "2", "1", "2", "1"], "File": "ia643", "Func": "ia64_function_arg_advance", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13695, "Length": 297, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToReg", "(", "unsigned", "ValVReg", ",", "unsigned", "PhysReg", ",", "CCValAssign", "&", "VA", ")", "override", "{", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Value shouldn't be assigned to reg\"", ")", ";", "assert", "(", "VA", ".", "getLocReg", "(", ")", "==", "PhysReg", "&&", "\"Assigning to the wrong reg?\"", ")", ";", "assert", "(", "VA", ".", "getValVT", "(", ")", ".", "getSizeInBits", "(", ")", "<=", "32", "&&", "\"Unsupported value size\"", ")", ";", "assert", "(", "VA", ".", "getLocVT", "(", ")", ".", "getSizeInBits", "(", ")", "==", "32", "&&", "\"Unsupported location size\"", ")", ";", "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": ["ARM", "\"Value shouldn't be assigned to reg\"", "\"Assigning to the wrong reg?\"", "32", "\"Unsupported value size\"", "32", "\"Unsupported location size\""], "File": "ARMCallLowering11", "Func": "assignValueToReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13696, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_hard_regno_call_part_clobbered", "(", "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": "mips7", "Func": "mips_hard_regno_call_part_clobbered", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13697, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "recombine_stvx_pattern", "(", "rtx_insn", "*", "insn", ",", "del_info", "*", "to_delete", ")", "{", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "body", ")", "==", "SET", "&&", "GET_CODE", "(", "SET_DEST", "(", "body", ")", ")", "==", "MEM", "&&", "GET_CODE", "(", "SET_SRC", "(", "body", ")", ")", "==", "VEC_SELECT", ")", ";", "rtx", "mem", "=", "SET_DEST", "(", "body", ")", ";", "rtx", "base_reg", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "rtx", "and_operation", "=", "find_alignment_op", "(", "insn", ",", "base_reg", ")", ";", "if", "(", "and_operation", "!=", "0", ")", "{", "rtx", "src_reg", "=", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ";", "df_ref", "src_use", ";", "struct", "df_insn_info", "*", "insn_info", "=", "DF_INSN_INFO_GET", "(", "insn", ")", ";", "FOR_EACH_INSN_INFO_USE", "(", "src_use", ",", "insn_info", ")", "{", "if", "(", "!", "rtx_equal_p", "(", "DF_REF_REG", "(", "src_use", ")", ",", "src_reg", ")", ")", "continue", ";", "struct", "df_link", "*", "link", "=", "DF_REF_CHAIN", "(", "src_use", ")", ";", "if", "(", "!", "link", "||", "link", "->", "next", ")", "break", ";", "rtx_insn", "*", "swap_insn", "=", "DF_REF_INSN", "(", "link", "->", "ref", ")", ";", "if", "(", "!", "insn_is_swap_p", "(", "swap_insn", ")", "||", "insn_is_load_p", "(", "swap_insn", ")", "||", "insn_is_store_p", "(", "swap_insn", ")", ")", "break", ";", "to_delete", "[", "INSN_UID", "(", "swap_insn", ")", "]", ".", "replace", "=", "true", ";", "to_delete", "[", "INSN_UID", "(", "swap_insn", ")", "]", ".", "replace_insn", "=", "swap_insn", ";", "XEXP", "(", "mem", ",", "0", ")", "=", "and_operation", ";", "SET_SRC", "(", "body", ")", "=", "src_reg", ";", "INSN_CODE", "(", "insn", ")", "=", "-", "1", ";", "df_insn_rescan", "(", "insn", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"stvx opportunity found at %d\\n\"", ",", "INSN_UID", "(", "insn", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["If", "INSN", "is", "the", "store", "for", "an", "stvx", "pattern", ",", "put", "it", "in", "canonical", "form", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "1", "\"stvx opportunity found at %d\\n\""], "File": "rs60006", "Func": "recombine_stvx_pattern", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13698, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "canMergeStoresTo", "(", "unsigned", "AddressSpace", ",", "EVT", "MemVT", ",", "const", "SelectionDAG", "&", "DAG", ")", "const", "{", "bool", "NoFloat", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ";", "if", "(", "NoFloat", ")", "{", "unsigned", "MaxIntSize", "=", "Subtarget", ".", "is64Bit", "(", ")", "?", "64", ":", "32", ";", "return", "(", "MemVT", ".", "getSizeInBits", "(", ")", "<=", "MaxIntSize", ")", ";", "}", "if", "(", "MemVT", ".", "getSizeInBits", "(", ")", ">", "Subtarget", ".", "getPreferVectorWidth", "(", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "if", "it", "'s", "reasonable", "to", "merge", "stores", "to", "MemVT", "size", "."], "TS_V_token": ["X86", "X86", "64", "32"], "File": "X86ISelLowering (2)6", "Func": "canMergeStoresTo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13699, "Length": 89, "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": "ARMGlobalMerge2", "Func": "runOnFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13700, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "arm_compute_initial_elimination_offset", "(", "unsigned", "int", "from", ",", "unsigned", "int", "to", ")", "{", "arm_stack_offsets", "*", "offsets", ";", "offsets", "=", "arm_get_frame_offsets", "(", ")", ";", "switch", "(", "from", ")", "{", "case", "ARG_POINTER_REGNUM", ":", "switch", "(", "to", ")", "{", "case", "THUMB_HARD_FRAME_POINTER_REGNUM", ":", "return", "0", ";", "case", "FRAME_POINTER_REGNUM", ":", "return", "offsets", "->", "soft_frame", "-", "offsets", "->", "saved_args", ";", "case", "ARM_HARD_FRAME_POINTER_REGNUM", ":", "if", "(", "offsets", "->", "frame", "==", "offsets", "->", "saved_regs", ")", "return", "0", ";", "return", "(", "frame_pointer_needed", "&&", "cfun", "->", "static_chain_decl", "!=", "NULL", "&&", "!", "cfun", "->", "machine", "->", "uses_anonymous_args", ")", "?", "4", ":", "0", ";", "case", "STACK_POINTER_REGNUM", ":", "return", "offsets", "->", "outgoing_args", "-", "(", "offsets", "->", "saved_args", "+", "4", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "gcc_unreachable", "(", ")", ";", "case", "FRAME_POINTER_REGNUM", ":", "switch", "(", "to", ")", "{", "case", "THUMB_HARD_FRAME_POINTER_REGNUM", ":", "return", "0", ";", "case", "ARM_HARD_FRAME_POINTER_REGNUM", ":", "return", "offsets", "->", "frame", "-", "offsets", "->", "soft_frame", ";", "case", "STACK_POINTER_REGNUM", ":", "return", "offsets", "->", "outgoing_args", "-", "offsets", "->", "soft_frame", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "gcc_unreachable", "(", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Compute", "the", "distance", "from", "register", "FROM", "to", "register", "TO", ".", "These", "can", "be", "the", "arg", "pointer", "(", "26", ")", ",", "the", "soft", "frame", "pointer", "(", "25", ")", ",", "the", "stack", "pointer", "(", "13", ")", "or", "the", "hard", "frame", "pointer", "(", "11", ")", ".", "Typical", "stack", "layout", "looks", "like", "this", ":", "old", "stack", "pointer", "-", ">", "|", "|", "--", "--", "|", "|", "\\", "|", "|", "saved", "arguments", "for", "|", "|", "vararg", "functions", "|", "|", "/", "--", "hard", "FP", "&", "arg", "pointer", "-", ">", "|", "|", "\\", "|", "|", "stack", "|", "|", "frame", "|", "|", "/", "--", "|", "|", "\\", "|", "|", "call", "saved", "|", "|", "registers", "soft", "frame", "pointer", "-", ">", "|", "|", "/", "--", "|", "|", "\\", "|", "|", "local", "|", "|", "variables", "|", "|", "/", "--", "|", "|", "\\", "|", "|", "outgoing", "|", "|", "arguments", "current", "stack", "pointer", "-", ">", "|", "|", "/", "--", "For", "a", "given", "funciton", "some", "or", "all", "of", "these", "stack", "compomnents", "may", "not", "be", "needed", ",", "giving", "rise", "to", "the", "possibility", "of", "eliminating", "some", "of", "the", "registers", ".", "The", "values", "returned", "by", "this", "function", "must", "reflect", "the", "behaviour", "of", "arm_expand_prologue", "(", ")", "and", "arm_compute_save_reg_mask", "(", ")", ".", "The", "sign", "of", "the", "number", "returned", "reflects", "the", "direction", "of", "stack", "growth", ",", "so", "the", "values", "are", "positive", "for", "all", "eliminations", "except", "from", "the", "soft", "frame", "pointer", "to", "the", "hard", "frame", "pointer", "."], "TS_V_token": ["arm", "0", "0", "4", "0", "4", "0"], "File": "arm3", "Func": "arm_compute_initial_elimination_offset", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13701, "Length": 175, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "function_arg_advance_32", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "HOST_WIDE_INT", "bytes", ",", "HOST_WIDE_INT", "words", ")", "{", "int", "res", "=", "0", ";", "bool", "error_p", "=", "false", ";", "if", "(", "TARGET_IAMCU", ")", "{", "if", "(", "!", "VECTOR_MODE_P", "(", "mode", ")", "&&", "bytes", "<=", "8", ")", "goto", "pass_in_reg", ";", "return", "res", ";", "}", "switch", "(", "mode", ")", "{", "default", ":", "break", ";", "case", "E_BLKmode", ":", "if", "(", "bytes", "<", "0", ")", "break", ";", "case", "E_DImode", ":", "case", "E_SImode", ":", "case", "E_HImode", ":", "case", "E_QImode", ":", "pass_in_reg", ":", "cum", "->", "words", "+=", "words", ";", "cum", "->", "nregs", "-=", "words", ";", "cum", "->", "regno", "+=", "words", ";", "if", "(", "cum", "->", "nregs", ">=", "0", ")", "res", "=", "words", ";", "if", "(", "cum", "->", "nregs", "<=", "0", ")", "{", "cum", "->", "nregs", "=", "0", ";", "cfun", "->", "machine", "->", "arg_reg_available", "=", "false", ";", "cum", "->", "regno", "=", "0", ";", "}", "break", ";", "case", "E_OImode", ":", "gcc_unreachable", "(", ")", ";", "case", "E_DFmode", ":", "if", "(", "cum", "->", "float_in_sse", "==", "-", "1", ")", "error_p", "=", "true", ";", "if", "(", "cum", "->", "float_in_sse", "<", "2", ")", "break", ";", "case", "E_SFmode", ":", "if", "(", "cum", "->", "float_in_sse", "==", "-", "1", ")", "error_p", "=", "true", ";", "if", "(", "cum", "->", "float_in_sse", "<", "1", ")", "break", ";", "case", "E_V16HFmode", ":", "case", "E_V8SFmode", ":", "case", "E_V8SImode", ":", "case", "E_V64QImode", ":", "case", "E_V32HImode", ":", "case", "E_V16SImode", ":", "case", "E_V8DImode", ":", "case", "E_V32HFmode", ":", "case", "E_V16SFmode", ":", "case", "E_V8DFmode", ":", "case", "E_V32QImode", ":", "case", "E_V16HImode", ":", "case", "E_V4DFmode", ":", "case", "E_V4DImode", ":", "case", "E_TImode", ":", "case", "E_V16QImode", ":", "case", "E_V8HImode", ":", "case", "E_V4SImode", ":", "case", "E_V2DImode", ":", "case", "E_V8HFmode", ":", "case", "E_V4SFmode", ":", "case", "E_V2DFmode", ":", "if", "(", "!", "type", "||", "!", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "cum", "->", "sse_words", "+=", "words", ";", "cum", "->", "sse_nregs", "-=", "1", ";", "cum", "->", "sse_regno", "+=", "1", ";", "if", "(", "cum", "->", "sse_nregs", "<=", "0", ")", "{", "cum", "->", "sse_nregs", "=", "0", ";", "cum", "->", "sse_regno", "=", "0", ";", "}", "}", "break", ";", "case", "E_V8QImode", ":", "case", "E_V4HImode", ":", "case", "E_V4HFmode", ":", "case", "E_V2SImode", ":", "case", "E_V2SFmode", ":", "case", "E_V1TImode", ":", "case", "E_V1DImode", ":", "if", "(", "!", "type", "||", "!", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "cum", "->", "mmx_words", "+=", "words", ";", "cum", "->", "mmx_nregs", "-=", "1", ";", "cum", "->", "mmx_regno", "+=", "1", ";", "if", "(", "cum", "->", "mmx_nregs", "<=", "0", ")", "{", "cum", "->", "mmx_nregs", "=", "0", ";", "cum", "->", "mmx_regno", "=", "0", ";", "}", "}", "break", ";", "}", "if", "(", "error_p", ")", "{", "cum", "->", "float_in_sse", "=", "0", ";", "error", "(", "\"calling %qD with SSE calling convention without \"", "\"SSE/SSE2 enabled\"", ",", "cum", "->", "decl", ")", ";", "sorry", "(", "\"this is a GCC bug that can be worked around by adding \"", "\"attribute used to function called\"", ")", ";", "}", "return", "res", ";", "}", ""], "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", ".", ")", "Return", "a", "number", "of", "integer", "regsiters", "advanced", "over", "."], "TS_V_token": ["i386", "0", "8", "0", "0", "0", "0", "0", "1", "2", "1", "1", "1", "1", "0", "0", "0", "1", "1", "0", "0", "0", "0", "\"calling %qD with SSE calling convention without \"", "\"SSE/SSE2 enabled\"", "\"this is a GCC bug that can be worked around by adding \"", "\"attribute used to function called\""], "File": "i386", "Func": "function_arg_advance_32", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13702, "Length": 440, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mips_class_max_nregs", "(", "enum", "reg_class", "rclass", ",", "machine_mode", "mode", ")", "{", "int", "size", ";", "HARD_REG_SET", "left", ";", "size", "=", "0x8000", ";", "COPY_HARD_REG_SET", "(", "left", ",", "reg_class_contents", "[", "(", "int", ")", "rclass", "]", ")", ";", "if", "(", "hard_reg_set_intersect_p", "(", "left", ",", "reg_class_contents", "[", "(", "int", ")", "ST_REGS", "]", ")", ")", "{", "if", "(", "HARD_REGNO_MODE_OK", "(", "ST_REG_FIRST", ",", "mode", ")", ")", "size", "=", "MIN", "(", "size", ",", "4", ")", ";", "AND_COMPL_HARD_REG_SET", "(", "left", ",", "reg_class_contents", "[", "(", "int", ")", "ST_REGS", "]", ")", ";", "}", "if", "(", "hard_reg_set_intersect_p", "(", "left", ",", "reg_class_contents", "[", "(", "int", ")", "FP_REGS", "]", ")", ")", "{", "if", "(", "HARD_REGNO_MODE_OK", "(", "FP_REG_FIRST", ",", "mode", ")", ")", "size", "=", "MIN", "(", "size", ",", "UNITS_PER_FPREG", ")", ";", "AND_COMPL_HARD_REG_SET", "(", "left", ",", "reg_class_contents", "[", "(", "int", ")", "FP_REGS", "]", ")", ";", "}", "if", "(", "!", "hard_reg_set_empty_p", "(", "left", ")", ")", "size", "=", "MIN", "(", "size", ",", "UNITS_PER_WORD", ")", ";", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "size", "-", "1", ")", "/", "size", ";", "}", ""], "natrual_language": ["Implement", "CLASS_MAX_NREGS", ".", "Usually", "all", "registers", "are", "word-sized", ".", "The", "only", "supported", "exception", "is", "-mgp64", "-msingle-float", ",", "which", "has", "64-bit", "words", "but", "32-bit", "float", "registers", ".", "A", "word-based", "calculation", "is", "correct", "even", "in", "that", "case", ",", "since", "-msingle-float", "disallows", "multi-FPR", "values", ".", "The", "FP", "status", "registers", "are", "an", "exception", "to", "this", "rule", ".", "They", "are", "always", "4", "bytes", "wide", "as", "they", "only", "hold", "condition", "code", "modes", ",", "and", "CCmode", "is", "always", "considered", "to", "be", "4", "bytes", "wide", "."], "TS_V_token": ["mips", "0x8000", "4", "1"], "File": "mips4", "Func": "mips_class_max_nregs", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13703, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsFastISel", "::", "isTypeLegal", "(", "Type", "*", "Ty", ",", "MVT", "&", "VT", ")", "{", "EVT", "evt", "=", "TLI", ".", "getValueType", "(", "DL", ",", "Ty", ",", "true", ")", ";", "if", "(", "evt", "==", "MVT", "::", "Other", "||", "!", "evt", ".", "isSimple", "(", ")", ")", "return", "false", ";", "VT", "=", "evt", ".", "getSimpleVT", "(", ")", ";", "return", "TLI", ".", "isTypeLegal", "(", "VT", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "type", "is", "legal", "."], "TS_V_token": ["Mips", "Mips", "MVT::Other"], "File": "MipsFastISel", "Func": "isTypeLegal", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13704, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0SETargetLowering", "::", "isEligibleForTailCallOptimization", "(", "const", "Cpu0CC", "&", "Cpu0CCInfo", ",", "unsigned", "NextStackOffset", ",", "const", "Cpu0MachineFunctionInfo", "&", "FI", ")", "const", "{", "if", "(", "!", "EnableCpu0TailCalls", ")", "return", "false", ";", "if", "(", "Cpu0CCInfo", ".", "hasByValArg", "(", ")", "||", "FI", ".", "hasByvalArg", "(", ")", ")", "return", "false", ";", "return", "NextStackOffset", "<=", "FI", ".", "getIncomingArgSize", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "call", "can", "be", "lowered", "as", "a", "tail", "call", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0"], "File": "Cpu0SEISelLowering", "Func": "isEligibleForTailCallOptimization", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13705, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "PPCTargetLowering", "::", "getExceptionPointerRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "{", "return", "Subtarget", ".", "isPPC64", "(", ")", "?", "PPC", "::", "X3", ":", "PPC", "::", "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": ["PowerPC", "PPC", "PPC", "PPC::X3", "PPC::R3"], "File": "PPCISelLowering100", "Func": "getExceptionPointerRegister", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13706, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleDAGInstrs", "*", "createPostMachineScheduler", "(", "MachineSchedContext", "*", "C", ")", "const", "override", "{", "const", "PPCSubtarget", "&", "ST", "=", "C", "->", "MF", "->", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "if", "(", "ST", ".", "usePPCPostRASchedStrategy", "(", ")", ")", "return", "createPPCPostMachineScheduler", "(", "C", ")", ";", "return", "nullptr", ";", "}", ""], "natrual_language": ["Similar", "to", "createMachineScheduler", "but", "used", "when", "postRA", "machine", "scheduling", "is", "enabled", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC"], "File": "PPCTargetMachine68", "Func": "createPostMachineScheduler", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13707, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "OR1KRegisterInfo", "::", "getRARegister", "(", ")", "const", "{", "return", "OR1K", "::", "R9", ";", "}", ""], "natrual_language": ["This", "method", "should", "return", "the", "register", "where", "the", "return", "address", "can", "be", "found", "."], "TS_V_token": ["OR1K", "OR1K", "OR1K::R9"], "File": "OR1KRegisterInfo", "Func": "getRARegister", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13708, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_const_double_by_parts", "(", "rtx", "val", ")", "{", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "val", ")", ";", "rtx", "part", ";", "if", "(", "optimize_size", "||", "arm_ld_sched", ")", "return", "true", ";", "if", "(", "mode", "==", "VOIDmode", ")", "mode", "=", "DImode", ";", "part", "=", "gen_highpart_mode", "(", "SImode", ",", "mode", ",", "val", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "part", ")", "==", "CONST_INT", ")", ";", "if", "(", "const_ok_for_arm", "(", "INTVAL", "(", "part", ")", ")", "||", "const_ok_for_arm", "(", "~", "INTVAL", "(", "part", ")", ")", ")", "return", "true", ";", "part", "=", "gen_lowpart", "(", "SImode", ",", "val", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "part", ")", "==", "CONST_INT", ")", ";", "if", "(", "const_ok_for_arm", "(", "INTVAL", "(", "part", ")", ")", "||", "const_ok_for_arm", "(", "~", "INTVAL", "(", "part", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "worthwhile", "to", "split", "a", "64-bit", "constant", "into", "two", "32-bit", "operations", ".", "This", "is", "the", "case", "if", "optimizing", "for", "size", ",", "or", "if", "we", "have", "load", "delay", "slots", ",", "or", "if", "one", "32-bit", "part", "can", "be", "done", "with", "a", "single", "data", "operation", "."], "TS_V_token": ["arm"], "File": "arm3", "Func": "arm_const_double_by_parts", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13709, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_copysign", "(", "rtx", "operands", "[", "]", ")", "{", "machine_mode", "mode", ",", "vmode", ";", "rtx", "dest", ",", "op0", ",", "op1", ",", "mask", ",", "nmask", ";", "dest", "=", "operands", "[", "0", "]", ";", "op0", "=", "operands", "[", "1", "]", ";", "op1", "=", "operands", "[", "2", "]", ";", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "if", "(", "mode", "==", "SFmode", ")", "vmode", "=", "V4SFmode", ";", "else", "if", "(", "mode", "==", "DFmode", ")", "vmode", "=", "V2DFmode", ";", "else", "vmode", "=", "mode", ";", "if", "(", "CONST_DOUBLE_P", "(", "op0", ")", ")", "{", "rtx", "(", "*", "copysign_insn", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "if", "(", "real_isneg", "(", "CONST_DOUBLE_REAL_VALUE", "(", "op0", ")", ")", ")", "op0", "=", "simplify_unary_operation", "(", "ABS", ",", "mode", ",", "op0", ",", "mode", ")", ";", "if", "(", "mode", "==", "SFmode", "||", "mode", "==", "DFmode", ")", "{", "if", "(", "op0", "==", "CONST0_RTX", "(", "mode", ")", ")", "op0", "=", "CONST0_RTX", "(", "vmode", ")", ";", "else", "{", "rtx", "v", "=", "ix86_build_const_vector", "(", "vmode", ",", "false", ",", "op0", ")", ";", "op0", "=", "force_reg", "(", "vmode", ",", "v", ")", ";", "}", "}", "else", "if", "(", "op0", "!=", "CONST0_RTX", "(", "mode", ")", ")", "op0", "=", "force_reg", "(", "mode", ",", "op0", ")", ";", "mask", "=", "ix86_build_signbit_mask", "(", "vmode", ",", "0", ",", "0", ")", ";", "if", "(", "mode", "==", "SFmode", ")", "copysign_insn", "=", "gen_copysignsf3_const", ";", "else", "if", "(", "mode", "==", "DFmode", ")", "copysign_insn", "=", "gen_copysigndf3_const", ";", "else", "copysign_insn", "=", "gen_copysigntf3_const", ";", "emit_insn", "(", "copysign_insn", "(", "dest", ",", "op0", ",", "op1", ",", "mask", ")", ")", ";", "}", "else", "{", "rtx", "(", "*", "copysign_insn", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "nmask", "=", "ix86_build_signbit_mask", "(", "vmode", ",", "0", ",", "1", ")", ";", "mask", "=", "ix86_build_signbit_mask", "(", "vmode", ",", "0", ",", "0", ")", ";", "if", "(", "mode", "==", "SFmode", ")", "copysign_insn", "=", "gen_copysignsf3_var", ";", "else", "if", "(", "mode", "==", "DFmode", ")", "copysign_insn", "=", "gen_copysigndf3_var", ";", "else", "copysign_insn", "=", "gen_copysigntf3_var", ";", "emit_insn", "(", "copysign_insn", "(", "dest", ",", "NULL_RTX", ",", "op0", ",", "op1", ",", "nmask", ",", "mask", ")", ")", ";", "}", "}", ""], "natrual_language": ["Expand", "a", "copysign", "operation", ".", "Special", "case", "operand", "0", "being", "a", "constant", "."], "TS_V_token": ["i386", "0", "1", "2", "0", "0", "0", "1", "0", "0"], "File": "i3865", "Func": "ix86_expand_copysign", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13710, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_mov128_immediate", "(", "rtx", "imm", ")", "{", "if", "(", "CONST_INT_P", "(", "imm", ")", ")", "return", "true", ";", "gcc_assert", "(", "CONST_WIDE_INT_NUNITS", "(", "imm", ")", "==", "2", ")", ";", "rtx", "lo", "=", "GEN_INT", "(", "CONST_WIDE_INT_ELT", "(", "imm", ",", "0", ")", ")", ";", "rtx", "hi", "=", "GEN_INT", "(", "CONST_WIDE_INT_ELT", "(", "imm", ",", "1", ")", ")", ";", "return", "aarch64_internal_mov_immediate", "(", "NULL_RTX", ",", "lo", ",", "false", ",", "DImode", ")", "+", "aarch64_internal_mov_immediate", "(", "NULL_RTX", ",", "hi", ",", "false", ",", "DImode", ")", "<=", "4", ";", "}", ""], "natrual_language": ["Return", "whether", "imm", "is", "a", "128-bit", "immediate", "which", "is", "simple", "enough", "to", "expand", "inline", "."], "TS_V_token": ["aarch64", "2", "0", "1", "4"], "File": "aarch641", "Func": "aarch64_mov128_immediate", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13711, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "shouldForceRelocation", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ")", "override", "{", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "switch", "(", "(", "unsigned", ")", "Kind", ")", "{", "default", ":", "return", "Kind", ">=", "FirstLiteralRelocationKind", ";", "case", "PPC", "::", "fixup_ppc_br24", ":", "case", "PPC", "::", "fixup_ppc_br24abs", ":", "case", "PPC", "::", "fixup_ppc_br24_notoc", ":", "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::fixup_ppc_br24", "PPC::fixup_ppc_br24abs", "PPC::fixup_ppc_br24_notoc", "2", "PPC", "0"], "File": "PPCAsmBackend10", "Func": "shouldForceRelocation", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13712, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "FISCInstrInfo", "::", "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": ["FISC", "FISC", "0"], "File": "FISCInstrInfo", "Func": "isLoadFromStackSlot", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13713, "Length": 20, "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": 13714, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_valid_base_register_p", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "bool", "strict_p", ")", "{", "if", "(", "!", "strict_p", "&&", "GET_CODE", "(", "x", ")", "==", "SUBREG", ")", "x", "=", "SUBREG_REG", "(", "x", ")", ";", "return", "(", "REG_P", "(", "x", ")", "&&", "mips_regno_mode_ok_for_base_p", "(", "REGNO", "(", "x", ")", ",", "mode", ",", "strict_p", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "valid", "base", "register", "for", "the", "given", "mode", ".", "Allow", "only", "hard", "registers", "if", "STRICT", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_valid_base_register_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13715, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SystemZTargetLowering", "::", "LowerCall", "(", "SDValue", "Chain", ",", "SDValue", "Callee", ",", "unsigned", "CallConv", ",", "bool", "isVarArg", ",", "bool", "isTailCall", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "{", "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": "SystemZISelLowering42", "Func": "LowerCall", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13716, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sh_print_operand_address", "(", "FILE", "*", "stream", ",", "rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "REG", ":", "case", "SUBREG", ":", "fprintf", "(", "stream", ",", "\"@%s\"", ",", "reg_names", "[", "true_regnum", "(", "x", ")", "]", ")", ";", "break", ";", "case", "PLUS", ":", "{", "rtx", "base", "=", "XEXP", "(", "x", ",", "0", ")", ";", "rtx", "index", "=", "XEXP", "(", "x", ",", "1", ")", ";", "switch", "(", "GET_CODE", "(", "index", ")", ")", "{", "case", "CONST_INT", ":", "fprintf", "(", "stream", ",", "\"@(%d,%s)\"", ",", "(", "int", ")", "INTVAL", "(", "index", ")", ",", "reg_names", "[", "true_regnum", "(", "base", ")", "]", ")", ";", "break", ";", "case", "REG", ":", "case", "SUBREG", ":", "{", "int", "base_num", "=", "true_regnum", "(", "base", ")", ";", "int", "index_num", "=", "true_regnum", "(", "index", ")", ";", "fprintf", "(", "stream", ",", "\"@(r0,%s)\"", ",", "reg_names", "[", "MAX", "(", "base_num", ",", "index_num", ")", "]", ")", ";", "break", ";", "}", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "break", ";", "case", "PRE_DEC", ":", "fprintf", "(", "stream", ",", "\"@-%s\"", ",", "reg_names", "[", "true_regnum", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "break", ";", "case", "POST_INC", ":", "fprintf", "(", "stream", ",", "\"@%s+\"", ",", "reg_names", "[", "true_regnum", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "break", ";", "default", ":", "x", "=", "mark_constant_pool_use", "(", "x", ")", ";", "output_addr_const", "(", "stream", ",", "x", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Print", "the", "operand", "address", "in", "x", "to", "the", "stream", "."], "TS_V_token": ["sh", "\"@%s\"", "0", "1", "\"@(%d,%s)\"", "\"@(r0,%s)\"", "\"@-%s\"", "0", "\"@%s+\"", "0"], "File": "sh4", "Func": "sh_print_operand_address", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13717, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "LanaiMCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCOperand", "&", "MCOp", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "SubtargetInfo", ")", "const", "{", "if", "(", "MCOp", ".", "isReg", "(", ")", ")", "return", "getLanaiRegisterNumbering", "(", "MCOp", ".", "getReg", "(", ")", ")", ";", "if", "(", "MCOp", ".", "isImm", "(", ")", ")", "<", "unsigned", ">", "(", "MCOp", ".", "getImm", "(", ")", ")", ";", "assert", "(", "MCOp", ".", "isExpr", "(", ")", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MCOp", ".", "getExpr", "(", ")", ";", "if", "(", "Expr", "->", "getKind", "(", ")", "==", "MCExpr", "::", "Binary", ")", "{", "const", "MCBinaryExpr", "*", "BinaryExpr", "=", "static_cast", "<", "const", "MCBinaryExpr", "*", ">", "(", "Expr", ")", ";", "Expr", "=", "BinaryExpr", "->", "getLHS", "(", ")", ";", "}", "assert", "(", "isa", "<", "LanaiMCExpr", ">", "(", "Expr", ")", "||", "Expr", "->", "getKind", "(", ")", "==", "MCExpr", "::", "SymbolRef", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "MCOp", ".", "getExpr", "(", ")", ",", "MCFixupKind", "(", "FixupKind", "(", "Expr", ")", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai", "Lanai", "0", "0"], "File": "LanaiMCCodeEmitter2", "Func": "getMachineOpValue", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13718, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsHazardSchedule", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "MipsSubtarget", "*", "STI", "=", "&", "static_cast", "<", "const", "MipsSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "if", "(", "!", "STI", "->", "hasMips32r6", "(", ")", "||", "STI", "->", "inMicroMipsMode", "(", ")", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "const", "MipsInstrInfo", "*", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "FI", "=", "MF", ".", "begin", "(", ")", ";", "FI", "!=", "MF", ".", "end", "(", ")", ";", "++", "FI", ")", "{", "for", "(", "Iter", "I", "=", "FI", "->", "begin", "(", ")", ";", "I", "!=", "FI", "->", "end", "(", ")", ";", "++", "I", ")", "{", "if", "(", "!", "TII", "->", "HasForbiddenSlot", "(", "*", "I", ")", ")", "continue", ";", "bool", "InsertNop", "=", "false", ";", "if", "(", "std", "::", "next", "(", "I", ")", "!=", "FI", "->", "end", "(", ")", "&&", "!", "TII", "->", "SafeInForbiddenSlot", "(", "*", "getNextMachineInstr", "(", "std", "::", "next", "(", "I", ")", ")", ")", ")", "{", "InsertNop", "=", "true", ";", "}", "else", "{", "for", "(", "auto", "*", "Succ", ":", "FI", "->", "successors", "(", ")", ")", "{", "if", "(", "FI", "->", "isLayoutSuccessor", "(", "Succ", ")", "&&", "getNextMachineInstr", "(", "Succ", "->", "begin", "(", ")", ")", "!=", "Succ", "->", "end", "(", ")", "&&", "!", "TII", "->", "SafeInForbiddenSlot", "(", "*", "getNextMachineInstr", "(", "Succ", "->", "begin", "(", ")", ")", ")", ")", "{", "InsertNop", "=", "true", ";", "break", ";", "}", "}", "}", "if", "(", "InsertNop", ")", "{", "Changed", "=", "true", ";", "MIBundleBuilder", "(", "I", ")", ".", "append", "(", "BuildMI", "(", "MF", ",", "I", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "Mips", "::", "NOP", ")", ")", ")", ";", "NumInsertedNops", "++", ";", "}", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::NOP"], "File": "MipsHazardSchedule2", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13719, "Length": 280, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCAsmParser", "::", "validateTargetOperandClass", "(", "MCParsedAsmOperand", "&", "AsmOp", ",", "unsigned", "Kind", ")", "{", "int64_t", "ImmVal", ";", "switch", "(", "Kind", ")", "{", "case", "MCK_0", ":", "ImmVal", "=", "0", ";", "break", ";", "case", "MCK_1", ":", "ImmVal", "=", "1", ";", "break", ";", "case", "MCK_2", ":", "ImmVal", "=", "2", ";", "break", ";", "case", "MCK_3", ":", "ImmVal", "=", "3", ";", "break", ";", "case", "MCK_4", ":", "ImmVal", "=", "4", ";", "break", ";", "case", "MCK_5", ":", "ImmVal", "=", "5", ";", "break", ";", "case", "MCK_6", ":", "ImmVal", "=", "6", ";", "break", ";", "case", "MCK_7", ":", "ImmVal", "=", "7", ";", "break", ";", "default", ":", "return", "Match_InvalidOperand", ";", "}", "PPCOperand", "&", "Op", "=", "static_cast", "<", "PPCOperand", "&", ">", "(", "AsmOp", ")", ";", "if", "(", "Op", ".", "isU3Imm", "(", ")", "&&", "Op", ".", "getImm", "(", ")", "==", "ImmVal", ")", "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": ["PowerPC", "PPC", "0", "1", "2", "3", "4", "5", "6", "7", "PPC", "PPC"], "File": "PPCAsmParser12", "Func": "validateTargetOperandClass", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13720, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDLoc", "dl", "(", "N", ")", ";", "RTLIB", "::", "Libcall", "libCall", "=", "RTLIB", "::", "UNKNOWN_LIBCALL", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Do not know how to custom type legalize this operation!\"", ")", ";", "case", "ISD", "::", "FP_TO_SINT", ":", "case", "ISD", "::", "FP_TO_UINT", ":", "if", "(", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", "!=", "MVT", "::", "f128", "||", "N", "->", "getValueType", "(", "0", ")", "!=", "MVT", "::", "i64", ")", "return", ";", "libCall", "=", "(", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_TO_SINT", ")", "?", "RTLIB", "::", "FPTOSINT_F128_I64", ":", "RTLIB", "::", "FPTOUINT_F128_I64", ")", ";", "Results", ".", "push_back", "(", "LowerF128Op", "(", "SDValue", "(", "N", ",", "0", ")", ",", "DAG", ",", "getLibcallName", "(", "libCall", ")", ",", "1", ")", ")", ";", "return", ";", "case", "ISD", "::", "SINT_TO_FP", ":", "case", "ISD", "::", "UINT_TO_FP", ":", "if", "(", "N", "->", "getValueType", "(", "0", ")", "!=", "MVT", "::", "f128", "||", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", "!=", "MVT", "::", "i64", ")", "return", ";", "libCall", "=", "(", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SINT_TO_FP", ")", "?", "RTLIB", "::", "SINTTOFP_I64_F128", ":", "RTLIB", "::", "UINTTOFP_I64_F128", ")", ";", "Results", ".", "push_back", "(", "LowerF128Op", "(", "SDValue", "(", "N", ",", "0", ")", ",", "DAG", ",", "getLibcallName", "(", "libCall", ")", ",", "1", ")", ")", ";", "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": ["Sparc", "Sparc", "\"Do not know how to custom type legalize this operation!\"", "ISD::FP_TO_SINT", "ISD::FP_TO_UINT", "0", "MVT::f128", "0", "MVT::i64", "ISD::FP_TO_SINT", "0", "1", "ISD::SINT_TO_FP", "ISD::UINT_TO_FP", "0", "MVT::f128", "0", "MVT::i64", "ISD::SINT_TO_FP", "0", "1"], "File": "SparcISelLowering18", "Func": "ReplaceNodeResults", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13721, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rs6000_stack_protect_fail", "(", "void", ")", "{", "return", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "TARGET_SECURE_PLT", "&&", "flag_pic", ")", "?", "default_hidden_stack_protect_fail", "(", ")", ":", "default_external_stack_protect_fail", "(", ")", ";", "}", ""], "natrual_language": ["For", "TARGET_SECURE_PLT", "32-bit", "PIC", "code", "we", "can", "save", "PIC", "register", "setup", "by", "using", "__stack_chk_fail_local", "hidden", "function", "instead", "of", "calling", "__stack_chk_fail", "directly", ".", "Otherwise", "it", "is", "better", "to", "call", "__stack_chk_fail", "directly", "."], "TS_V_token": ["rs6000"], "File": "rs60003", "Func": "rs6000_stack_protect_fail", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13722, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_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", ")", ")", ";", "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", ")", "{", "if", "(", "is_function_default_version", "(", "default_version_info", "->", "this_node", "->", "decl", ")", ")", "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", ";", "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": ["i386", "1", "1", "\"multiversioning needs ifunc which is not supported \"", "\"on this target\""], "File": "i3864", "Func": "ix86_get_function_versions_dispatcher", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13723, "Length": 355, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "emitFrameDirective", "(", ")", "{", "const", "TargetRegisterInfo", "&", "RI", "=", "*", "TM", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "stackReg", "=", "RI", ".", "getFrameRegister", "(", "*", "MF", ")", ";", "unsigned", "returnReg", "=", "RI", ".", "getRARegister", "(", ")", ";", "unsigned", "stackSize", "=", "MF", "->", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "\"\\t.frame\\t$\"", "+", "Twine", "(", "LowercaseString", "(", "getRegisterName", "(", "stackReg", ")", ")", ")", "+", "\",\"", "+", "Twine", "(", "stackSize", ")", "+", "\",$\"", "+", "Twine", "(", "LowercaseString", "(", "getRegisterName", "(", "returnReg", ")", ")", ")", ")", ";", "}", ""], "natrual_language": ["Frame", "Directive", "."], "TS_V_token": ["Mips", "Mips", "\"\\t.frame\\t$\"", "\",\"", "\",$\""], "File": "MipsAsmPrinter19", "Func": "emitFrameDirective", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13724, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_invalid_builtin", "(", "enum", "rs6000_builtins", "fncode", ")", "{", "size_t", "uns_fncode", "=", "(", "size_t", ")", "fncode", ";", "const", "char", "*", "name", "=", "rs6000_builtin_info", "[", "uns_fncode", "]", ".", "name", ";", "HOST_WIDE_INT", "fnmask", "=", "rs6000_builtin_info", "[", "uns_fncode", "]", ".", "mask", ";", "gcc_assert", "(", "name", "!=", "NULL", ")", ";", "if", "(", "(", "fnmask", "&", "RS6000_BTM_CELL", ")", "!=", "0", ")", "error", "(", "\"%qs is only valid for the cell processor\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_VSX", ")", "!=", "0", ")", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"-mvsx\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_HTM", ")", "!=", "0", ")", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"-mhtm\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_ALTIVEC", ")", "!=", "0", ")", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"-maltivec\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "(", "RS6000_BTM_DFP", "|", "RS6000_BTM_P8_VECTOR", ")", ")", "==", "(", "RS6000_BTM_DFP", "|", "RS6000_BTM_P8_VECTOR", ")", ")", "error", "(", "\"%qs requires the %qs and %qs options\"", ",", "name", ",", "\"-mhard-dfp\"", ",", "\"-mpower8-vector\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_DFP", ")", "!=", "0", ")", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"-mhard-dfp\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_P8_VECTOR", ")", "!=", "0", ")", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"-mpower8-vector\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "(", "RS6000_BTM_P9_VECTOR", "|", "RS6000_BTM_64BIT", ")", ")", "==", "(", "RS6000_BTM_P9_VECTOR", "|", "RS6000_BTM_64BIT", ")", ")", "error", "(", "\"%qs requires the %qs and %qs options\"", ",", "name", ",", "\"-mcpu=power9\"", ",", "\"-m64\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_P9_VECTOR", ")", "!=", "0", ")", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"-mcpu=power9\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "(", "RS6000_BTM_P9_MISC", "|", "RS6000_BTM_64BIT", ")", ")", "==", "(", "RS6000_BTM_P9_MISC", "|", "RS6000_BTM_64BIT", ")", ")", "error", "(", "\"%qs requires the %qs and %qs options\"", ",", "name", ",", "\"-mcpu=power9\"", ",", "\"-m64\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_P9_MISC", ")", "==", "RS6000_BTM_P9_MISC", ")", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"-mcpu=power9\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_P10", ")", "!=", "0", ")", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"-mcpu=power10\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_MMA", ")", "!=", "0", ")", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"-mmma\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_LDBL128", ")", "==", "RS6000_BTM_LDBL128", ")", "{", "if", "(", "!", "TARGET_HARD_FLOAT", ")", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"-mhard-float\"", ")", ";", "else", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "TARGET_IEEEQUAD", "?", "\"-mabi=ibmlongdouble\"", ":", "\"-mlong-double-128\"", ")", ";", "}", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_HARD_FLOAT", ")", "!=", "0", ")", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"-mhard-float\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_FLOAT128_HW", ")", "!=", "0", ")", "error", "(", "\"%qs requires ISA 3.0 IEEE 128-bit floating point\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_FLOAT128", ")", "!=", "0", ")", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"%<-mfloat128%>\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "(", "RS6000_BTM_POPCNTD", "|", "RS6000_BTM_POWERPC64", ")", ")", "==", "(", "RS6000_BTM_POPCNTD", "|", "RS6000_BTM_POWERPC64", ")", ")", "error", "(", "\"%qs requires the %qs (or newer), and %qs or %qs options\"", ",", "name", ",", "\"-mcpu=power7\"", ",", "\"-m64\"", ",", "\"-mpowerpc64\"", ")", ";", "else", "error", "(", "\"%qs is not supported with the current options\"", ",", "name", ")", ";", "}", ""], "natrual_language": ["Raise", "an", "error", "message", "for", "a", "builtin", "function", "that", "is", "called", "without", "the", "appropriate", "target", "options", "being", "set", "."], "TS_V_token": ["rs6000", "0", "\"%qs is only valid for the cell processor\"", "0", "\"%qs requires the %qs option\"", "\"-mvsx\"", "0", "\"%qs requires the %qs option\"", "\"-mhtm\"", "0", "\"%qs requires the %qs option\"", "\"-maltivec\"", "\"%qs requires the %qs and %qs options\"", "\"-mhard-dfp\"", "\"-mpower8-vector\"", "0", "\"%qs requires the %qs option\"", "\"-mhard-dfp\"", "0", "\"%qs requires the %qs option\"", "\"-mpower8-vector\"", "\"%qs requires the %qs and %qs options\"", "\"-mcpu=power9\"", "\"-m64\"", "0", "\"%qs requires the %qs option\"", "\"-mcpu=power9\"", "\"%qs requires the %qs and %qs options\"", "\"-mcpu=power9\"", "\"-m64\"", "\"%qs requires the %qs option\"", "\"-mcpu=power9\"", "0", "\"%qs requires the %qs option\"", "\"-mcpu=power10\"", "0", "\"%qs requires the %qs option\"", "\"-mmma\"", "\"%qs requires the %qs option\"", "\"-mhard-float\"", "\"%qs requires the %qs option\"", "\"-mabi=ibmlongdouble\"", "\"-mlong-double-128\"", "0", "\"%qs requires the %qs option\"", "\"-mhard-float\"", "0", "\"%qs requires ISA 3.0 IEEE 128-bit floating point\"", "0", "\"%qs requires the %qs option\"", "\"%<-mfloat128%>\"", "\"%qs requires the %qs (or newer), and %qs or %qs options\"", "\"-mcpu=power7\"", "\"-m64\"", "\"-mpowerpc64\"", "\"%qs is not supported with the current options\""], "File": "rs6000-call1", "Func": "rs6000_invalid_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13725, "Length": 473, "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", "(", ")", ";", "assert", "(", "!", "RegInfo", "->", "needsStackRealignment", "(", "MF", ")", "&&", "\"No stack realignment on AArch64!\"", ")", ";", "return", "(", "MFI", "->", "hasCalls", "(", ")", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", "||", "MFI", "->", "isFrameAddressTaken", "(", ")", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["AArch64", "AArch64", "\"No stack realignment on AArch64!\""], "File": "AArch64FrameLowering96", "Func": "hasFP", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13726, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_expand_atomic_exchange", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "retval", ",", "mem", ",", "val", ",", "cond", ";", "machine_mode", "mode", ";", "enum", "memmodel", "model", ";", "rtx", "label", ",", "x", ",", "mask", ",", "shift", ";", "retval", "=", "operands", "[", "0", "]", ";", "mem", "=", "operands", "[", "1", "]", ";", "val", "=", "operands", "[", "2", "]", ";", "model", "=", "memmodel_base", "(", "INTVAL", "(", "operands", "[", "3", "]", ")", ")", ";", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "mask", "=", "shift", "=", "NULL_RTX", ";", "if", "(", "!", "TARGET_SYNC_HI_QI", "&&", "(", "mode", "==", "QImode", "||", "mode", "==", "HImode", ")", ")", "{", "mem", "=", "rs6000_adjust_atomic_subword", "(", "mem", ",", "&", "shift", ",", "&", "mask", ")", ";", "val", "=", "convert_modes", "(", "SImode", ",", "mode", ",", "val", ",", "1", ")", ";", "val", "=", "expand_simple_binop", "(", "SImode", ",", "ASHIFT", ",", "val", ",", "shift", ",", "NULL_RTX", ",", "1", ",", "OPTAB_LIB_WIDEN", ")", ";", "retval", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "mode", "=", "SImode", ";", "}", "mem", "=", "rs6000_pre_atomic_barrier", "(", "mem", ",", "model", ")", ";", "label", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "gen_label_rtx", "(", ")", ")", ";", "emit_label", "(", "XEXP", "(", "label", ",", "0", ")", ")", ";", "emit_load_locked", "(", "mode", ",", "retval", ",", "mem", ")", ";", "x", "=", "val", ";", "if", "(", "mask", ")", "x", "=", "rs6000_mask_atomic_subword", "(", "retval", ",", "val", ",", "mask", ")", ";", "cond", "=", "gen_reg_rtx", "(", "CCmode", ")", ";", "emit_store_conditional", "(", "mode", ",", "cond", ",", "mem", ",", "x", ")", ";", "x", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "cond", ",", "const0_rtx", ")", ";", "emit_unlikely_jump", "(", "x", ",", "label", ")", ";", "rs6000_post_atomic_barrier", "(", "model", ")", ";", "if", "(", "shift", ")", "rs6000_finish_atomic_subword", "(", "operands", "[", "0", "]", ",", "retval", ",", "shift", ")", ";", "}", ""], "natrual_language": ["Expand", "an", "atomic", "exchange", "operation", "."], "TS_V_token": ["powerpcspe", "0", "1", "2", "3", "1", "1", "0", "0"], "File": "powerpcspe", "Func": "rs6000_expand_atomic_exchange", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13727, "Length": 270, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pru_reorg", "(", "void", ")", "{", "rtx_insn", "*", "insns", "=", "get_insns", "(", ")", ";", "compute_bb_for_insn", "(", ")", ";", "df_analyze", "(", ")", ";", "shorten_branches", "(", "get_insns", "(", ")", ")", ";", "pru_reorg_loop", "(", "insns", ")", ";", "df_finish_pass", "(", "false", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MACHINE_DEPENDENT_REORG", "."], "TS_V_token": ["pru"], "File": "pru", "Func": "pru_reorg", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13728, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "X86TargetLowering", "::", "getOptimalMemOpType", "(", "const", "MemOp", "&", "Op", ",", "const", "AttributeList", "&", "FuncAttributes", ")", "const", "{", "if", "(", "!", "FuncAttributes", ".", "hasFnAttr", "(", "Attribute", "::", "NoImplicitFloat", ")", ")", "{", "if", "(", "Op", ".", "size", "(", ")", ">=", "16", "&&", "(", "!", "Subtarget", ".", "isUnalignedMem16Slow", "(", ")", "||", "Op", ".", "isAligned", "(", "Align", "(", "16", ")", ")", ")", ")", "{", "if", "(", "Op", ".", "size", "(", ")", ">=", "64", "&&", "Subtarget", ".", "hasAVX512", "(", ")", "&&", "(", "Subtarget", ".", "getPreferVectorWidth", "(", ")", ">=", "512", ")", ")", "{", "return", "Subtarget", ".", "hasBWI", "(", ")", "?", "MVT", "::", "v64i8", ":", "MVT", "::", "v16i32", ";", "}", "if", "(", "Op", ".", "size", "(", ")", ">=", "32", "&&", "Subtarget", ".", "hasAVX", "(", ")", "&&", "(", "Subtarget", ".", "getPreferVectorWidth", "(", ")", ">=", "256", ")", ")", "{", "return", "MVT", "::", "v32i8", ";", "}", "if", "(", "Subtarget", ".", "hasSSE2", "(", ")", "&&", "(", "Subtarget", ".", "getPreferVectorWidth", "(", ")", ">=", "128", ")", ")", "return", "MVT", "::", "v16i8", ";", "if", "(", "Subtarget", ".", "hasSSE1", "(", ")", "&&", "(", "Subtarget", ".", "is64Bit", "(", ")", "||", "Subtarget", ".", "hasX87", "(", ")", ")", "&&", "(", "Subtarget", ".", "getPreferVectorWidth", "(", ")", ">=", "128", ")", ")", "return", "MVT", "::", "v4f32", ";", "}", "else", "if", "(", "(", "(", "Op", ".", "isMemcpy", "(", ")", "&&", "!", "Op", ".", "isMemcpyStrSrc", "(", ")", ")", "||", "Op", ".", "isZeroMemset", "(", ")", ")", "&&", "Op", ".", "size", "(", ")", ">=", "8", "&&", "!", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Subtarget", ".", "hasSSE2", "(", ")", ")", "{", "return", "MVT", "::", "f64", ";", "}", "}", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Op", ".", "size", "(", ")", ">=", "8", ")", "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": ["X86", "X86", "16", "16", "64", "512", "MVT::v64i8", "MVT::v16i32", "32", "256", "MVT::v32i8", "128", "MVT::v16i8", "128", "MVT::v4f32", "8", "MVT::f64", "8", "MVT::i64", "MVT::i32"], "File": "X86ISelLowering (2)5", "Func": "getOptimalMemOpType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13729, "Length": 279, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Initialize", "(", "const", "MachineFunction", "&", "MF", ",", "bool", "isPIC", ",", "bool", "isLittleEndian", ")", "{", "IsPIC", "=", "isPIC", ";", "IsLittleEndian", "=", "isLittleEndian", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["Mips"], "File": "MipsJITInfo", "Func": "Initialize", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13730, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "SystemZTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "EVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'r'", ":", "if", "(", "VT", "==", "MVT", "::", "i32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "SystemZ", "::", "GR32RegisterClass", ")", ";", "else", "if", "(", "VT", "==", "MVT", "::", "i128", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "SystemZ", "::", "GR128RegisterClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "SystemZ", "::", "GR64RegisterClass", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["SystemZ", "SystemZ", "1", "0", "MVT::i32", "0U", "SystemZ::GR32RegisterClass", "MVT::i128", "0U", "SystemZ::GR128RegisterClass", "0U", "SystemZ::GR64RegisterClass"], "File": "SystemZISelLowering101", "Func": "getRegForInlineAsmConstraint", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13731, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_function_specific_restore", "(", "struct", "gcc_options", "*", "opts", ",", "struct", "cl_target_option", "*", "ptr", ")", "{", "enum", "processor_type", "old_tune", "=", "ix86_tune", ";", "enum", "processor_type", "old_arch", "=", "ix86_arch", ";", "unsigned", "HOST_WIDE_INT", "ix86_arch_mask", ";", "int", "i", ";", "opts", "->", "x_flag_pic", "=", "flag_pic", ";", "ix86_arch", "=", "(", "enum", "processor_type", ")", "ptr", "->", "arch", ";", "ix86_schedule", "=", "(", "enum", "attr_cpu", ")", "ptr", "->", "schedule", ";", "ix86_tune", "=", "(", "enum", "processor_type", ")", "ptr", "->", "tune", ";", "x86_prefetch_sse", "=", "ptr", "->", "prefetch_sse", ";", "opts", "->", "x_ix86_branch_cost", "=", "ptr", "->", "branch_cost", ";", "ix86_tune_defaulted", "=", "ptr", "->", "tune_defaulted", ";", "ix86_arch_specified", "=", "ptr", "->", "arch_specified", ";", "opts", "->", "x_ix86_isa_flags_explicit", "=", "ptr", "->", "x_ix86_isa_flags_explicit", ";", "opts", "->", "x_ix86_isa_flags2_explicit", "=", "ptr", "->", "x_ix86_isa_flags2_explicit", ";", "opts", "->", "x_recip_mask_explicit", "=", "ptr", "->", "x_recip_mask_explicit", ";", "opts", "->", "x_ix86_arch_string", "=", "ptr", "->", "x_ix86_arch_string", ";", "opts", "->", "x_ix86_tune_string", "=", "ptr", "->", "x_ix86_tune_string", ";", "opts", "->", "x_ix86_cmodel", "=", "ptr", "->", "x_ix86_cmodel", ";", "opts", "->", "x_ix86_abi", "=", "ptr", "->", "x_ix86_abi", ";", "opts", "->", "x_ix86_asm_dialect", "=", "ptr", "->", "x_ix86_asm_dialect", ";", "opts", "->", "x_ix86_branch_cost", "=", "ptr", "->", "x_ix86_branch_cost", ";", "opts", "->", "x_ix86_dump_tunes", "=", "ptr", "->", "x_ix86_dump_tunes", ";", "opts", "->", "x_ix86_force_align_arg_pointer", "=", "ptr", "->", "x_ix86_force_align_arg_pointer", ";", "opts", "->", "x_ix86_force_drap", "=", "ptr", "->", "x_ix86_force_drap", ";", "opts", "->", "x_ix86_incoming_stack_boundary_arg", "=", "ptr", "->", "x_ix86_incoming_stack_boundary_arg", ";", "opts", "->", "x_ix86_pmode", "=", "ptr", "->", "x_ix86_pmode", ";", "opts", "->", "x_ix86_preferred_stack_boundary_arg", "=", "ptr", "->", "x_ix86_preferred_stack_boundary_arg", ";", "opts", "->", "x_ix86_recip_name", "=", "ptr", "->", "x_ix86_recip_name", ";", "opts", "->", "x_ix86_regparm", "=", "ptr", "->", "x_ix86_regparm", ";", "opts", "->", "x_ix86_section_threshold", "=", "ptr", "->", "x_ix86_section_threshold", ";", "opts", "->", "x_ix86_sse2avx", "=", "ptr", "->", "x_ix86_sse2avx", ";", "opts", "->", "x_ix86_stack_protector_guard", "=", "ptr", "->", "x_ix86_stack_protector_guard", ";", "opts", "->", "x_ix86_stringop_alg", "=", "ptr", "->", "x_ix86_stringop_alg", ";", "opts", "->", "x_ix86_tls_dialect", "=", "ptr", "->", "x_ix86_tls_dialect", ";", "opts", "->", "x_ix86_tune_ctrl_string", "=", "ptr", "->", "x_ix86_tune_ctrl_string", ";", "opts", "->", "x_ix86_tune_memcpy_strategy", "=", "ptr", "->", "x_ix86_tune_memcpy_strategy", ";", "opts", "->", "x_ix86_tune_memset_strategy", "=", "ptr", "->", "x_ix86_tune_memset_strategy", ";", "opts", "->", "x_ix86_tune_no_default", "=", "ptr", "->", "x_ix86_tune_no_default", ";", "opts", "->", "x_ix86_veclibabi_type", "=", "ptr", "->", "x_ix86_veclibabi_type", ";", "ix86_tune_cost", "=", "processor_cost_table", "[", "ix86_tune", "]", ";", "if", "(", "opts", "->", "x_optimize_size", ")", "ix86_cost", "=", "&", "ix86_size_cost", ";", "else", "ix86_cost", "=", "ix86_tune_cost", ";", "if", "(", "old_arch", "!=", "ix86_arch", ")", "{", "ix86_arch_mask", "=", "HOST_WIDE_INT_1U", "<<", "ix86_arch", ";", "for", "(", "i", "=", "0", ";", "i", "<", "X86_ARCH_LAST", ";", "++", "i", ")", "ix86_arch_features", "[", "i", "]", "=", "!", "!", "(", "initial_ix86_arch_features", "[", "i", "]", "&", "ix86_arch_mask", ")", ";", "}", "if", "(", "old_tune", "!=", "ix86_tune", ")", "set_ix86_tune_features", "(", "ix86_tune", ",", "false", ")", ";", "}", ""], "natrual_language": ["Restore", "the", "current", "options"], "TS_V_token": ["i386", "0"], "File": "i3868", "Func": "ix86_function_specific_restore", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13732, "Length": 392, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "loongarch_output_probe_stack_range", "(", "rtx", "reg1", ",", "rtx", "reg2", ",", "rtx", "reg3", ")", "{", "static", "int", "labelno", "=", "0", ";", "char", "loop_lab", "[", "32", "]", ",", "tmp", "[", "64", "]", ";", "rtx", "xops", "[", "3", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "loop_lab", ",", "\"LPSRL\"", ",", "labelno", "++", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "loop_lab", ")", ";", "xops", "[", "0", "]", "=", "reg1", ";", "xops", "[", "1", "]", "=", "GEN_INT", "(", "-", "PROBE_INTERVAL", ")", ";", "xops", "[", "2", "]", "=", "reg3", ";", "if", "(", "TARGET_64BIT", ")", "output_asm_insn", "(", "\"sub.d\\t%0,%0,%2\"", ",", "xops", ")", ";", "else", "output_asm_insn", "(", "\"sub.w\\t%0,%0,%2\"", ",", "xops", ")", ";", "xops", "[", "1", "]", "=", "reg2", ";", "strcpy", "(", "tmp", ",", "\"bne\\t%0,%1,\"", ")", ";", "if", "(", "TARGET_64BIT", ")", "output_asm_insn", "(", "\"st.d\\t$r0,%0,0\"", ",", "xops", ")", ";", "else", "output_asm_insn", "(", "\"st.w\\t$r0,%0,0\"", ",", "xops", ")", ";", "output_asm_insn", "(", "strcat", "(", "tmp", ",", "&", "loop_lab", "[", "1", "]", ")", ",", "xops", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Probe", "a", "range", "of", "stack", "addresses", "from", "REG1", "to", "REG2", "inclusive", ".", "These", "are", "absolute", "addresses", "."], "TS_V_token": ["loongarch", "0", "32", "64", "3", "\"LPSRL\"", "0", "1", "2", "\"sub.d\\t%0,%0,%2\"", "\"sub.w\\t%0,%0,%2\"", "1", "\"bne\\t%0,%1,\"", "\"st.d\\t$r0,%0,0\"", "\"st.w\\t$r0,%0,0\"", "1", "\"\""], "File": "loongarch", "Func": "loongarch_output_probe_stack_range", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13733, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "unsigned", ">", "AArch64InstrInfo", "::", "getUnscaledLdSt", "(", "unsigned", "Opc", ")", "{", "switch", "(", "Opc", ")", "{", "default", ":", "return", "{", "}", ";", "case", "AArch64", "::", "PRFMui", ":", "return", "AArch64", "::", "PRFUMi", ";", "case", "AArch64", "::", "LDRXui", ":", "return", "AArch64", "::", "LDURXi", ";", "case", "AArch64", "::", "LDRWui", ":", "return", "AArch64", "::", "LDURWi", ";", "case", "AArch64", "::", "LDRBui", ":", "return", "AArch64", "::", "LDURBi", ";", "case", "AArch64", "::", "LDRHui", ":", "return", "AArch64", "::", "LDURHi", ";", "case", "AArch64", "::", "LDRSui", ":", "return", "AArch64", "::", "LDURSi", ";", "case", "AArch64", "::", "LDRDui", ":", "return", "AArch64", "::", "LDURDi", ";", "case", "AArch64", "::", "LDRQui", ":", "return", "AArch64", "::", "LDURQi", ";", "case", "AArch64", "::", "LDRBBui", ":", "return", "AArch64", "::", "LDURBBi", ";", "case", "AArch64", "::", "LDRHHui", ":", "return", "AArch64", "::", "LDURHHi", ";", "case", "AArch64", "::", "LDRSBXui", ":", "return", "AArch64", "::", "LDURSBXi", ";", "case", "AArch64", "::", "LDRSBWui", ":", "return", "AArch64", "::", "LDURSBWi", ";", "case", "AArch64", "::", "LDRSHXui", ":", "return", "AArch64", "::", "LDURSHXi", ";", "case", "AArch64", "::", "LDRSHWui", ":", "return", "AArch64", "::", "LDURSHWi", ";", "case", "AArch64", "::", "LDRSWui", ":", "return", "AArch64", "::", "LDURSWi", ";", "case", "AArch64", "::", "STRXui", ":", "return", "AArch64", "::", "STURXi", ";", "case", "AArch64", "::", "STRWui", ":", "return", "AArch64", "::", "STURWi", ";", "case", "AArch64", "::", "STRBui", ":", "return", "AArch64", "::", "STURBi", ";", "case", "AArch64", "::", "STRHui", ":", "return", "AArch64", "::", "STURHi", ";", "case", "AArch64", "::", "STRSui", ":", "return", "AArch64", "::", "STURSi", ";", "case", "AArch64", "::", "STRDui", ":", "return", "AArch64", "::", "STURDi", ";", "case", "AArch64", "::", "STRQui", ":", "return", "AArch64", "::", "STURQi", ";", "case", "AArch64", "::", "STRBBui", ":", "return", "AArch64", "::", "STURBBi", ";", "case", "AArch64", "::", "STRHHui", ":", "return", "AArch64", "::", "STURHHi", ";", "}", "}", ""], "natrual_language": ["Returns", "the", "unscaled", "load/store", "for", "the", "scaled", "load/store", "opcode", ",", "if", "there", "is", "a", "corresponding", "unscaled", "variant", "available", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::PRFMui", "AArch64::PRFUMi", "AArch64::LDRXui", "AArch64::LDURXi", "AArch64::LDRWui", "AArch64::LDURWi", "AArch64::LDRBui", "AArch64::LDURBi", "AArch64::LDRHui", "AArch64::LDURHi", "AArch64::LDRSui", "AArch64::LDURSi", "AArch64::LDRDui", "AArch64::LDURDi", "AArch64::LDRQui", "AArch64::LDURQi", "AArch64::LDRBBui", "AArch64::LDURBBi", "AArch64::LDRHHui", "AArch64::LDURHHi", "AArch64::LDRSBXui", "AArch64::LDURSBXi", "AArch64::LDRSBWui", "AArch64::LDURSBWi", "AArch64::LDRSHXui", "AArch64::LDURSHXi", "AArch64::LDRSHWui", "AArch64::LDURSHWi", "AArch64::LDRSWui", "AArch64::LDURSWi", "AArch64::STRXui", "AArch64::STURXi", "AArch64::STRWui", "AArch64::STURWi", "AArch64::STRBui", "AArch64::STURBi", "AArch64::STRHui", "AArch64::STURHi", "AArch64::STRSui", "AArch64::STURSi", "AArch64::STRDui", "AArch64::STURDi", "AArch64::STRQui", "AArch64::STURQi", "AArch64::STRBBui", "AArch64::STURBBi", "AArch64::STRHHui", "AArch64::STURHHi"], "File": "AArch64InstrInfo10", "Func": "getUnscaledLdSt", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13734, "Length": 265, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameInfo", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "Mips", "::", "FP", ":", "Mips", "::", "SP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["Mips", "Mips", "Mips::FP", "Mips::SP"], "File": "MipsRegisterInfo24", "Func": "getFrameRegister", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13735, "Length": 44, "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": 13736, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "FISCRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "FISC", "::", "SP", ")", ";", "Reserved", ".", "set", "(", "FISC", "::", "LR", ")", ";", "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": ["FISC", "FISC", "FISC::SP", "FISC::LR"], "File": "FISCRegisterInfo", "Func": "getReservedRegs", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13737, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "size", "(", ")", "const", "{", "return", "AllValues", ".", "size", "(", ")", ";", "}", ""], "natrual_language": ["The", "number", "of", "name/type", "pairs", "is", "returned", "."], "TS_V_token": ["ARM"], "File": "ARMParallelDSP", "Func": "size", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13738, "Length": 14, "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": 13739, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "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": ["AArch64", "AArch64", "0", "32", "64"], "File": "AArch64ISelLowering (2)", "Func": "hasPairedLoad", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13740, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitBytes", "(", "StringRef", "Data", ")", "override", "{", "emitDataMappingSymbol", "(", ")", ";", "MCELFStreamer", "::", "emitBytes", "(", "Data", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "bytes", "in", "Data", "into", "the", "output", "."], "TS_V_token": ["AArch64"], "File": "AArch64ELFStreamer11", "Func": "emitBytes", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13741, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "MachineModuleInfo", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["Sparc"], "File": "SparcCodeEmitter3", "Func": "getAnalysisUsage", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13742, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseTargetMachine", "::", "addPreISel", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "EnableGlobalMerge", ")", "PM", ".", "add", "(", "createARMGlobalMergePass", "(", "getTargetLowering", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMTargetMachine87", "Func": "addPreISel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13743, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "DLXSelectionDAGInfo", "::", "EmitTargetCodeForMemcpy", "(", "SelectionDAG", "&", ",", "const", "SDLoc", "&", ",", "SDValue", ",", "SDValue", ",", "SDValue", ",", "SDValue", "Size", ",", "unsigned", ",", "bool", ",", "bool", ",", "MachinePointerInfo", ",", "MachinePointerInfo", ")", "const", "{", "ConstantSDNode", "*", "ConstantSize", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Size", ")", ";", "if", "(", "!", "ConstantSize", ")", "return", "SDValue", "(", ")", ";", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memcpy", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXSelectionDAGInfo", "Func": "EmitTargetCodeForMemcpy", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13744, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_use_pseudo_pic_reg", "(", "void", ")", "{", "return", "aarch64_cmodel", "==", "AARCH64_CMODEL_SMALL_SPIC", ";", "}", ""], "natrual_language": ["Return", "1", "if", "pseudo", "register", "should", "be", "created", "and", "used", "to", "hold", "GOT", "address", "for", "PIC", "code", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_use_pseudo_pic_reg", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13745, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "isPPC64", "(", ")", ")", "return", "hasFP", "(", "MF", ")", "?", "PPC", "::", "R31", ":", "PPC", "::", "R1", ";", "else", "return", "hasFP", "(", "MF", ")", "?", "PPC", "::", "X31", ":", "PPC", "::", "X1", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::R31", "PPC::R1", "PPC::X31", "PPC::X1"], "File": "PPCRegisterInfo21", "Func": "getFrameRegister", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13746, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mmix_asm_trampoline_template", "(", "FILE", "*", "stream", ")", "{", "fprintf", "(", "stream", ",", "\"\\tGETA $255,1F\\n\\t\"", ")", ";", "fprintf", "(", "stream", ",", "\"LDOU %s,$255,0\\n\\t\"", ",", "reg_names", "[", "MMIX_STATIC_CHAIN_REGNUM", "]", ")", ";", "fprintf", "(", "stream", ",", "\"LDOU $255,$255,8\\n\\t\"", ")", ";", "fprintf", "(", "stream", ",", "\"GO $255,$255,0\\n\"", ")", ";", "fprintf", "(", "stream", ",", "\"1H\\tOCTA 0\\n\\t\"", ")", ";", "fprintf", "(", "stream", ",", "\"OCTA 0\\n\"", ")", ";", "}", ""], "natrual_language": ["TARGET_ASM_TRAMPOLINE_TEMPLATE", "."], "TS_V_token": ["mmix", "\"\\tGETA $255,1F\\n\\t\"", "\"LDOU %s,$255,0\\n\\t\"", "\"LDOU $255,$255,8\\n\\t\"", "\"GO $255,$255,0\\n\"", "\"1H\\tOCTA 0\\n\\t\"", "\"OCTA 0\\n\""], "File": "mmix", "Func": "mmix_asm_trampoline_template", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13747, "Length": 57, "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": 13748, "Length": 124, "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": 13749, "Length": 225, "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": ["X86"], "File": "X86Subtarget24", "Func": "getRegBankInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13750, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "loongarch_modes_tieable_p", "(", "machine_mode", "mode1", ",", "machine_mode", "mode2", ")", "{", "return", "(", "mode1", "==", "mode2", "||", "(", "!", "loongarch_mode_ok_for_mov_fmt_p", "(", "mode1", ")", "&&", "!", "loongarch_mode_ok_for_mov_fmt_p", "(", "mode2", ")", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MODES_TIEABLE_P", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_modes_tieable_p", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13751, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint32_t", "AArch64MCCodeEmitter", "::", "getBranchTargetOpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpIdx", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpIdx", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"Unexpected ADR target type!\"", ")", ";", "MCFixupKind", "Kind", "=", "MI", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "BL", "?", "MCFixupKind", "(", "AArch64", "::", "fixup_aarch64_pcrel_call26", ")", ":", "MCFixupKind", "(", "AArch64", "::", "fixup_aarch64_pcrel_branch26", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "MO", ".", "getExpr", "(", ")", ",", "Kind", ",", "MI", ".", "getLoc", "(", ")", ")", ")", ";", "++", "MCNumFixups", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "."], "TS_V_token": ["AArch64", "AArch64", "\"Unexpected ADR target type!\"", "AArch64::BL", "AArch64::fixup_aarch64_pcrel_call26", "AArch64::fixup_aarch64_pcrel_branch26", "0", "0"], "File": "AArch64MCCodeEmitter (2)", "Func": "getBranchTargetOpValue", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13752, "Length": 125, "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", "(", ")", ")", ";", "TRI", "=", "ST", ".", "getRegisterInfo", "(", ")", ";", "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": "ARMLowOverheadLoops10", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13753, "Length": 207, "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": 13754, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "UPTDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "LLVM_DEBUG", "(", "outs", "(", ")", "<<", "\"Selecting: \"", ";", "N", "->", "dump", "(", "CurDAG", ")", ";", "outs", "(", ")", "<<", "\"\\n\"", ")", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "Constant", ":", "if", "(", "SelectMoveImmediate", "(", "N", ")", ")", "return", ";", "break", ";", "case", "ISD", "::", "BR_CC", ":", "if", "(", "SelectConditionalBranch", "(", "N", ")", ")", "return", ";", "break", ";", "}", "SelectCode", "(", "N", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["UPT", "UPT", "\"Selecting: \"", "\"\\n\"", "ISD::Constant", "ISD::BR_CC"], "File": "UPTISelDAGToDAG", "Func": "Select", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13755, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZPostRASchedStrategy", "::", "leaveMBB", "(", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"+++ Leaving \"", "<<", "printMBBReference", "(", "*", "MBB", ")", "<<", "\"\\n\"", ";", ")", ";", "advanceTo", "(", "MBB", "->", "getFirstTerminator", "(", ")", ")", ";", "}", ""], "natrual_language": ["Tell", "the", "strategy", "that", "current", "MBB", "is", "done", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"+++ Leaving \"", "\"\\n\""], "File": "SystemZMachineScheduler14", "Func": "leaveMBB", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13756, "Length": 35, "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": 13757, "Length": 22, "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": "ARMBaseRegisterInfo10", "Func": "needsFrameBaseReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13758, "Length": 322, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mmix_function_arg_1", "(", "const", "cumulative_args_t", "argsp_v", ",", "const", "function_arg_info", "&", "arg", ",", "bool", "incoming", ")", "{", "CUMULATIVE_ARGS", "*", "argsp", "=", "get_cumulative_args", "(", "argsp_v", ")", ";", "machine_mode", "mode", "=", "arg", ".", "mode", "==", "VOIDmode", "?", "DImode", ":", "arg", ".", "mode", ";", "if", "(", "arg", ".", "end_marker_p", "(", ")", ")", "return", "(", "argsp", "->", "regs", "<", "MMIX_MAX_ARGS_IN_REGS", ")", "?", "gen_rtx_REG", "(", "mode", ",", "(", "incoming", "?", "MMIX_FIRST_INCOMING_ARG_REGNUM", ":", "MMIX_FIRST_ARG_REGNUM", ")", "+", "argsp", "->", "regs", ")", ":", "NULL_RTX", ";", "return", "(", "argsp", "->", "regs", "<", "MMIX_MAX_ARGS_IN_REGS", "&&", "!", "targetm", ".", "calls", ".", "must_pass_in_stack", "(", "arg", ")", "&&", "(", "GET_MODE_BITSIZE", "(", "mode", ")", "<=", "64", "||", "argsp", "->", "lib", "||", "TARGET_LIBFUNC", ")", ")", "?", "gen_rtx_REG", "(", "mode", ",", "(", "incoming", "?", "MMIX_FIRST_INCOMING_ARG_REGNUM", ":", "MMIX_FIRST_ARG_REGNUM", ")", "+", "argsp", "->", "regs", ")", ":", "NULL_RTX", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "mmix_function_arg", "and", "mmix_function_incoming_arg", "."], "TS_V_token": ["mmix", "64"], "File": "mmix", "Func": "mmix_function_arg_1", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13759, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addCodeGenPrepare", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createTypePromotionPass", "(", ")", ")", ";", "TargetPassConfig", "::", "addCodeGenPrepare", "(", ")", ";", "}", ""], "natrual_language": ["Add", "pass", "to", "prepare", "the", "LLVM", "IR", "for", "code", "generation", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMTargetMachine1", "Func": "addCodeGenPrepare", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13760, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "SparcTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "StringRef", "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": "SparcISelLowering69", "Func": "getRegForInlineAsmConstraint", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13761, "Length": 257, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "SDLoc", "dl", "(", "N", ")", ";", "if", "(", "N", "->", "isMachineOpcode", "(", ")", ")", "{", "N", "->", "setNodeId", "(", "-", "1", ")", ";", "return", ";", "}", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "INLINEASM", ":", "{", "if", "(", "tryInlineAsm", "(", "N", ")", ")", "return", ";", "break", ";", "}", "case", "SPISD", "::", "GLOBAL_BASE_REG", ":", "ReplaceNode", "(", "N", ",", "getGlobalBaseReg", "(", ")", ")", ";", "return", ";", "case", "ISD", "::", "SDIV", ":", "case", "ISD", "::", "UDIV", ":", "{", "if", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i64", ")", "break", ";", "SDValue", "DivLHS", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "DivRHS", "=", "N", "->", "getOperand", "(", "1", ")", ";", "SDValue", "TopPart", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SDIV", ")", "{", "TopPart", "=", "SDValue", "(", "CurDAG", "->", "getMachineNode", "(", "SP", "::", "SRAri", ",", "dl", ",", "MVT", "::", "i32", ",", "DivLHS", ",", "CurDAG", "->", "getTargetConstant", "(", "31", ",", "dl", ",", "MVT", "::", "i32", ")", ")", ",", "0", ")", ";", "}", "else", "{", "TopPart", "=", "CurDAG", "->", "getRegister", "(", "SP", "::", "G0", ",", "MVT", "::", "i32", ")", ";", "}", "TopPart", "=", "CurDAG", "->", "getCopyToReg", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "dl", ",", "SP", "::", "Y", ",", "TopPart", ",", "SDValue", "(", ")", ")", ".", "getValue", "(", "1", ")", ";", "unsigned", "Opcode", "=", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SDIV", "?", "SP", "::", "SDIVrr", ":", "SP", "::", "UDIVrr", ";", "CurDAG", "->", "SelectNodeTo", "(", "N", ",", "Opcode", ",", "MVT", "::", "i32", ",", "DivLHS", ",", "DivRHS", ",", "TopPart", ")", ";", "return", ";", "}", "}", "SelectCode", "(", "N", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["Sparc", "Sparc", "1", "ISD::INLINEASM", "SPISD::GLOBAL_BASE_REG", "ISD::SDIV", "ISD::UDIV", "0", "MVT::i64", "0", "1", "ISD::SDIV", "SP::SRAri", "MVT::i32", "31", "MVT::i32", "0", "SP::G0", "MVT::i32", "SP::Y", "1", "ISD::SDIV", "SP::SDIVrr", "SP::UDIVrr", "MVT::i32"], "File": "SparcISelDAGToDAG (2)1", "Func": "Select", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13762, "Length": 281, "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", "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": "ARMISelLowering", "Func": "lowerInterleavedStore", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13763, "Length": 427, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "TOYSubtarget", ">", "(", ")", ";", "return", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["TOY", "TOY"], "File": "TOYISelDAGToDAG1", "Func": "runOnMachineFunction", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13764, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequiredID", "(", "LoopSimplifyID", ")", ";", "AU", ".", "addRequired", "<", "LoopInfoWrapperPass", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AArch64"], "File": "SVEAddressingModes", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13765, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64RegisterInfo", "::", "isFrameOffsetLegal", "(", "const", "MachineInstr", "*", "MI", ",", "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": "AArch64RegisterInfo1", "Func": "isFrameOffsetLegal", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13766, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "AArch64TTIImpl", "::", "getIntImmCost", "(", "Intrinsic", "::", "ID", "IID", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "IID", ">=", "Intrinsic", "::", "aarch64_addg", "&&", "IID", "<=", "Intrinsic", "::", "aarch64_udiv", ")", "return", "AArch64TTIImpl", "::", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "switch", "(", "IID", ")", "{", "default", ":", "return", "TTI", "::", "TCC_Free", ";", "case", "Intrinsic", "::", "sadd_with_overflow", ":", "case", "Intrinsic", "::", "uadd_with_overflow", ":", "case", "Intrinsic", "::", "ssub_with_overflow", ":", "case", "Intrinsic", "::", "usub_with_overflow", ":", "case", "Intrinsic", "::", "smul_with_overflow", ":", "case", "Intrinsic", "::", "umul_with_overflow", ":", "if", "(", "Idx", "==", "1", ")", "{", "int", "NumConstants", "=", "(", "BitSize", "+", "63", ")", "/", "64", ";", "int", "Cost", "=", "AArch64TTIImpl", "::", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "return", "(", "Cost", "<=", "NumConstants", "*", "TTI", "::", "TCC_Basic", ")", "?", "static_cast", "<", "int", ">", "(", "TTI", "::", "TCC_Free", ")", ":", "Cost", ";", "}", "break", ";", "case", "Intrinsic", "::", "experimental_stackmap", ":", "if", "(", "(", "Idx", "<", "2", ")", "||", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", "&&", "isInt", "<", "64", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "break", ";", "case", "Intrinsic", "::", "experimental_patchpoint_void", ":", "case", "Intrinsic", "::", "experimental_patchpoint_i64", ":", "if", "(", "(", "Idx", "<", "4", ")", "||", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", "&&", "isInt", "<", "64", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "break", ";", "}", "return", "AArch64TTIImpl", "::", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["AArch64", "AArch64", "Intrinsic::ID", "0", "Intrinsic::aarch64_addg", "Intrinsic::aarch64_udiv", "AArch64", "Intrinsic::sadd_with_overflow", "Intrinsic::uadd_with_overflow", "Intrinsic::ssub_with_overflow", "Intrinsic::usub_with_overflow", "Intrinsic::smul_with_overflow", "Intrinsic::umul_with_overflow", "1", "63", "64", "AArch64", "Intrinsic::experimental_stackmap", "2", "64", "64", "Intrinsic::experimental_patchpoint_void", "Intrinsic::experimental_patchpoint_i64", "4", "64", "64", "AArch64"], "File": "AArch64TargetTransformInfo70", "Func": "getIntImmCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13767, "Length": 275, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SparcRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "SP", "::", "I6", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["Sparc", "Sparc", "SP::I6"], "File": "SparcRegisterInfo (2)", "Func": "getFrameRegister", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13768, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "MipsDAGToDAGISel", "::", "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\"", ")", ";", "Node", "->", "setNodeId", "(", "-", "1", ")", ";", "return", "nullptr", ";", "}", "std", "::", "pair", "<", "bool", ",", "SDNode", "*", ">", "Ret", "=", "selectNode", "(", "Node", ")", ";", "if", "(", "Ret", ".", "first", ")", "return", "Ret", ".", "second", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "GLOBAL_OFFSET_TABLE", ":", "return", "getGlobalBaseReg", "(", ")", ";", "case", "ISD", "::", "LOAD", ":", "case", "ISD", "::", "STORE", ":", "assert", "(", "(", "Subtarget", "->", "systemSupportsUnalignedAccess", "(", ")", "||", "cast", "<", "MemSDNode", ">", "(", "Node", ")", "->", "getMemoryVT", "(", ")", ".", "getSizeInBits", "(", ")", "/", "8", "<=", "cast", "<", "MemSDNode", ">", "(", "Node", ")", "->", "getAlignment", "(", ")", ")", "&&", "\"Unexpected unaligned loads/stores.\"", ")", ";", "break", ";", "}", "SDNode", "*", "ResNode", "=", "SelectCode", "(", "Node", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"=> \"", ")", ";", "if", "(", "ResNode", "==", "nullptr", "||", "ResNode", "==", "Node", ")", "DEBUG", "(", "Node", "->", "dump", "(", "CurDAG", ")", ")", ";", "else", "DEBUG", "(", "ResNode", "->", "dump", "(", "CurDAG", ")", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "return", "ResNode", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["Mips", "Mips", "\"Selecting: \"", "\"\\n\"", "\"== \"", "\"\\n\"", "1", "ISD::GLOBAL_OFFSET_TABLE", "ISD::LOAD", "ISD::STORE", "8", "\"Unexpected unaligned loads/stores.\"", "\"=> \"", "\"\\n\""], "File": "MipsISelDAGToDAG (2)", "Func": "Select", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13769, "Length": 249, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "scan_record_type", "(", "const_tree", "type", ",", "int", "*", "intregs_p", ",", "int", "*", "fpregs_p", ",", "int", "*", "packed_p", ")", "{", "tree", "field", ";", "for", "(", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";", "field", ";", "field", "=", "DECL_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": "sparc4", "Func": "scan_record_type", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13770, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MINA32RegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["MINA32", "MINA32"], "File": "MINA32InstrInfo", "Func": "getRegisterInfo", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13771, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_mode_exit", "(", "int", "entity", ")", "{", "switch", "(", "entity", ")", "{", "case", "AVX_U128", ":", "return", "ix86_avx_u128_mode_exit", "(", ")", ";", "case", "I387_TRUNC", ":", "case", "I387_FLOOR", ":", "case", "I387_CEIL", ":", "case", "I387_MASK_PM", ":", "return", "I387_CW_ANY", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "a", "mode", "that", "ENTITY", "is", "assumed", "to", "be", "switched", "to", "at", "function", "exit", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_mode_exit", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13772, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nds32_ict_const_p", "(", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST", ")", "{", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "return", "nds32_indirect_call_referenced_p", "(", "x", ")", ";", "}", "return", "FALSE", ";", "}", ""], "natrual_language": ["Return", "true", "if", "x", "is", "const", "and", "the", "referance", "is", "ict", "symbol", "."], "TS_V_token": ["nds32", "0"], "File": "nds32-relax-opt", "Func": "nds32_ict_const_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13773, "Length": 38, "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": 13774, "Length": 388, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_swap_binary_operands_p", "(", "enum", "rtx_code", "code", ",", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ")", "{", "rtx", "dst", "=", "operands", "[", "0", "]", ";", "rtx", "src1", "=", "operands", "[", "1", "]", ";", "rtx", "src2", "=", "operands", "[", "2", "]", ";", "if", "(", "GET_RTX_CLASS", "(", "code", ")", "!=", "RTX_COMM_ARITH", "&&", "GET_RTX_CLASS", "(", "code", ")", "!=", "RTX_COMM_COMPARE", ")", "return", "false", ";", "if", "(", "rtx_equal_p", "(", "dst", ",", "src1", ")", ")", "return", "false", ";", "if", "(", "rtx_equal_p", "(", "dst", ",", "src2", ")", ")", "return", "true", ";", "if", "(", "immediate_operand", "(", "src2", ",", "mode", ")", ")", "return", "false", ";", "if", "(", "immediate_operand", "(", "src1", ",", "mode", ")", ")", "return", "true", ";", "if", "(", "MEM_P", "(", "src2", ")", ")", "return", "false", ";", "if", "(", "MEM_P", "(", "src1", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Helper", "function", "of", "ix86_fixup_binary_operands", "to", "canonicalize", "operand", "order", ".", "Returns", "true", "if", "the", "operands", "should", "be", "swapped", "."], "TS_V_token": ["i386", "0", "1", "2"], "File": "i386-expand", "Func": "ix86_swap_binary_operands_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13775, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSection", "*", "LanaiTargetObjectFile", "::", "getSectionForConstant", "(", "const", "DataLayout", "&", "DL", ",", "SectionKind", "Kind", ",", "const", "Constant", "*", "C", ",", "Align", "&", "Alignment", ")", "const", "{", "if", "(", "isConstantInSmallSection", "(", "DL", ",", "C", ")", ")", "return", "SmallDataSection", ";", "return", "TargetLoweringObjectFileELF", "::", "getSectionForConstant", "(", "DL", ",", "Kind", ",", "C", ",", "Alignment", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constant", "with", "the", "SectionKind", ",", "return", "a", "section", "that", "it", "should", "be", "placed", "in", "."], "TS_V_token": ["Lanai", "Lanai"], "File": "LanaiTargetObjectFile11", "Func": "getSectionForConstant", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13776, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ThumbDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "const", "MemoryObject", "&", "Region", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "os", ")", "const", "{", "unsigned", "insn", "=", "0", ";", "uint16_t", "insn1", "=", "0", ";", "uint8_t", "bytes", "[", "2", "]", ";", "if", "(", "Region", ".", "readBytes", "(", "Address", ",", "2", ",", "(", "uint8_t", "*", ")", "bytes", ",", "NULL", ")", "==", "-", "1", ")", "return", "false", ";", "insn", "=", "(", "bytes", "[", "1", "]", "<<", "8", ")", "|", "bytes", "[", "0", "]", ";", "unsigned", "bits15_11", "=", "slice", "(", "insn", ",", "15", ",", "11", ")", ";", "bool", "IsThumb2", "=", "false", ";", "if", "(", "bits15_11", "==", "0x1D", "||", "bits15_11", "==", "0x1E", "||", "bits15_11", "==", "0x1F", ")", "{", "IsThumb2", "=", "true", ";", "if", "(", "Region", ".", "readBytes", "(", "Address", "+", "2", ",", "2", ",", "(", "uint8_t", "*", ")", "bytes", ",", "NULL", ")", "==", "-", "1", ")", "return", "false", ";", "insn1", "=", "(", "bytes", "[", "1", "]", "<<", "8", ")", "|", "bytes", "[", "0", "]", ";", "insn", "=", "(", "insn", "<<", "16", "|", "insn1", ")", ";", "}", "unsigned", "Opcode", "=", "decodeThumbSideEffect", "(", "IsThumb2", ",", "insn", ")", ";", "ARMFormat", "Format", "=", "ARMFormats", "[", "Opcode", "]", ";", "Size", "=", "IsThumb2", "?", "4", ":", "2", ";", "DEBUG", "(", "{", "errs", "(", ")", "<<", "\"Opcode=\"", "<<", "Opcode", "<<", "\" Name=\"", "<<", "ARMUtils", "::", "OpcodeName", "(", "Opcode", ")", "<<", "\" Format=\"", "<<", "stringForARMFormat", "(", "Format", ")", "<<", "'('", "<<", "(", "int", ")", "Format", "<<", "\")\\n\"", ";", "showBitVector", "(", "errs", "(", ")", ",", "insn", ")", ";", "}", ")", ";", "ARMBasicMCBuilder", "*", "Builder", "=", "CreateMCBuilder", "(", "Opcode", ",", "Format", ")", ";", "if", "(", "!", "Builder", ")", "return", "false", ";", "Builder", "->", "SetSession", "(", "const_cast", "<", "Session", "*", ">", "(", "&", "SO", ")", ")", ";", "if", "(", "!", "Builder", "->", "Build", "(", "MI", ",", "insn", ")", ")", "return", "false", ";", "delete", "Builder", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["ARM", "0", "0", "2", "2", "1", "1", "8", "0", "15", "11", "0x1D", "0x1E", "0x1F", "2", "2", "1", "1", "8", "0", "16", "ARM", "ARM", "4", "2", "\"Opcode=\"", "\" Name=\"", "ARMUtils::OpcodeName", "\" Format=\"", "ARM", "\")\\n\"", "ARM"], "File": "ARMDisassembler20", "Func": "getInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13777, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "make_cpu_type_builtin", "(", "const", "char", "*", "name", ",", "int", "code", ",", "enum", "ix86_builtin_func_type", "ftype", ",", "bool", "is_const", ")", "{", "tree", "decl", ";", "tree", "type", ";", "type", "=", "ix86_get_builtin_func_type", "(", "ftype", ")", ";", "decl", "=", "add_builtin_function", "(", "name", ",", "type", ",", "code", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "gcc_assert", "(", "decl", "!=", "NULL_TREE", ")", ";", "ix86_builtins", "[", "(", "int", ")", "code", "]", "=", "decl", ";", "TREE_READONLY", "(", "decl", ")", "=", "is_const", ";", "}", ""], "natrual_language": ["Make", "builtins", "to", "detect", "cpu", "type", "and", "features", "supported", ".", "NAME", "is", "the", "builtin", "name", ",", "CODE", "is", "the", "builtin", "code", ",", "and", "FTYPE", "is", "the", "function", "type", "of", "the", "builtin", "."], "TS_V_token": ["i386"], "File": "i386-builtins", "Func": "make_cpu_type_builtin", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13778, "Length": 75, "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", "->", "isThumb1OnlyFunction", "(", ")", ")", "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": "NEONMoveFix1", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13779, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["TOY"], "File": "TOYPreEmit", "Func": "getAnalysisUsage", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13780, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_add_bundle_selector_before", "(", "int", "template0", ",", "rtx_insn", "*", "insn", ")", "{", "rtx", "b", "=", "gen_bundle_selector", "(", "GEN_INT", "(", "template0", ")", ")", ";", "ia64_emit_insn_before", "(", "b", ",", "insn", ")", ";", "if", "(", "(", "template0", "==", "4", "||", "template0", "==", "5", ")", "&&", "ia64_except_unwind_info", "(", "&", "global_options", ")", "==", "UI_TARGET", ")", "{", "int", "i", ";", "rtx", "note", "=", "NULL_RTX", ";", "insn", "=", "PREV_INSN", "(", "insn", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "3", ";", "i", "++", ")", "{", "do", "insn", "=", "next_active_insn", "(", "insn", ")", ";", "while", "(", "NONJUMP_INSN_P", "(", "insn", ")", "&&", "get_attr_empty", "(", "insn", ")", "==", "EMPTY_YES", ")", ";", "if", "(", "CALL_P", "(", "insn", ")", ")", "note", "=", "find_reg_note", "(", "insn", ",", "REG_EH_REGION", ",", "NULL_RTX", ")", ";", "else", "if", "(", "note", ")", "{", "int", "code", ";", "gcc_assert", "(", "(", "code", "=", "recog_memoized", "(", "insn", ")", ")", "==", "CODE_FOR_nop", "||", "code", "==", "CODE_FOR_nop_b", ")", ";", "if", "(", "find_reg_note", "(", "insn", ",", "REG_EH_REGION", ",", "NULL_RTX", ")", ")", "note", "=", "NULL_RTX", ";", "else", "add_reg_note", "(", "insn", ",", "REG_EH_REGION", ",", "XEXP", "(", "note", ",", "0", ")", ")", ";", "}", "}", "}", "}", ""], "natrual_language": ["Add", "a", "bundle", "selector", "TEMPLATE0", "before", "INSN", "."], "TS_V_token": ["ia64", "4", "5", "0", "3", "0"], "File": "ia64", "Func": "ia64_add_bundle_selector_before", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13781, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips16e_build_save_restore", "(", "bool", "restore_p", ",", "unsigned", "int", "*", "mask_ptr", ",", "HOST_WIDE_INT", "*", "offset_ptr", ",", "unsigned", "int", "nargs", ",", "HOST_WIDE_INT", "size", ")", "{", "rtx", "pattern", ",", "set", ";", "HOST_WIDE_INT", "offset", ",", "top_offset", ";", "unsigned", "int", "i", ",", "regno", ";", "int", "n", ";", "gcc_assert", "(", "cfun", "->", "machine", "->", "frame", ".", "num_fp", "==", "0", ")", ";", "n", "=", "1", "+", "nargs", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "mips16e_save_restore_regs", ")", ";", "i", "++", ")", "if", "(", "BITSET_P", "(", "*", "mask_ptr", ",", "mips16e_save_restore_regs", "[", "i", "]", ")", ")", "n", "++", ";", "pattern", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "n", ")", ")", ";", "n", "=", "0", ";", "set", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "restore_p", "?", "size", ":", "-", "size", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "set", ")", "=", "1", ";", "XVECEXP", "(", "pattern", ",", "0", ",", "n", "++", ")", "=", "set", ";", "top_offset", "=", "restore_p", "?", "size", ":", "0", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nargs", ";", "i", "++", ")", "{", "offset", "=", "top_offset", "+", "i", "*", "UNITS_PER_WORD", ";", "set", "=", "mips16e_save_restore_reg", "(", "restore_p", ",", "true", ",", "offset", ",", "GP_ARG_FIRST", "+", "i", ")", ";", "XVECEXP", "(", "pattern", ",", "0", ",", "n", "++", ")", "=", "set", ";", "}", "offset", "=", "top_offset", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "mips16e_save_restore_regs", ")", ";", "i", "++", ")", "{", "regno", "=", "mips16e_save_restore_regs", "[", "i", "]", ";", "if", "(", "BITSET_P", "(", "*", "mask_ptr", ",", "regno", ")", ")", "{", "offset", "-=", "UNITS_PER_WORD", ";", "set", "=", "mips16e_save_restore_reg", "(", "restore_p", ",", "false", ",", "offset", ",", "regno", ")", ";", "XVECEXP", "(", "pattern", ",", "0", ",", "n", "++", ")", "=", "set", ";", "*", "mask_ptr", "&=", "~", "(", "1", "<<", "regno", ")", ";", "}", "}", "*", "offset_ptr", "=", "size", "+", "(", "offset", "-", "top_offset", ")", ";", "gcc_assert", "(", "n", "==", "XVECLEN", "(", "pattern", ",", "0", ")", ")", ";", "return", "pattern", ";", "}", ""], "natrual_language": ["Return", "RTL", "for", "a", "MIPS16e", "SAVE", "or", "RESTORE", "instruction", ";", "RESTORE_P", "says", "which", ".", "The", "instruction", "must", ":", "-", "Allocate", "or", "deallocate", "SIZE", "bytes", "in", "total", ";", "SIZE", "is", "known", "to", "be", "nonzero", ".", "-", "Save", "or", "restore", "as", "many", "registers", "in", "*", "MASK_PTR", "as", "possible", ".", "The", "instruction", "saves", "the", "first", "registers", "at", "the", "top", "of", "the", "allocated", "area", ",", "with", "the", "other", "registers", "below", "it", ".", "-", "Save", "NARGS", "argument", "registers", "above", "the", "allocated", "area", ".", "(", "NARGS", "is", "always", "zero", "if", "RESTORE_P", ".", ")", "The", "SAVE", "and", "RESTORE", "instructions", "can", "not", "save", "and", "restore", "all", "general", "registers", ",", "so", "there", "may", "be", "some", "registers", "left", "over", "for", "the", "caller", "to", "handle", ".", "Destructively", "modify", "*", "MASK_PTR", "so", "that", "it", "contains", "the", "registers", "that", "still", "need", "to", "be", "saved", "or", "restored", ".", "The", "caller", "can", "save", "these", "registers", "in", "the", "memory", "immediately", "below", "*", "OFFSET_PTR", ",", "which", "is", "a", "byte", "offset", "from", "the", "bottom", "of", "the", "allocated", "stack", "area", "."], "TS_V_token": ["mips", "0", "1", "0", "0", "1", "0", "0", "0", "0", "0", "0", "1", "0"], "File": "mips4", "Func": "mips16e_build_save_restore", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13782, "Length": 317, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCRegisterInfo", "::", "materializeFrameBaseRegister", "(", "MachineBasicBlock", "*", "MBB", ",", "unsigned", "BaseReg", ",", "int", "FrameIdx", ",", "int64_t", "Offset", ")", "const", "{", "unsigned", "ADDriOpc", "=", "TM", ".", "isPPC64", "(", ")", "?", "PPC", "::", "ADDI8", ":", "PPC", "::", "ADDI", ";", "MachineBasicBlock", "::", "iterator", "Ins", "=", "MBB", "->", "begin", "(", ")", ";", "DebugLoc", "DL", ";", "if", "(", "Ins", "!=", "MBB", "->", "end", "(", ")", ")", "DL", "=", "Ins", "->", "getDebugLoc", "(", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", "->", "getParent", "(", ")", ";", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "TII", ".", "get", "(", "ADDriOpc", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MBB", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MRI", ".", "constrainRegClass", "(", "BaseReg", ",", "TII", ".", "getRegClass", "(", "MCID", ",", "0", ",", "this", ",", "MF", ")", ")", ";", "BuildMI", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "MCID", ",", "BaseReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "Offset", ")", ";", "}", ""], "natrual_language": ["Insert", "defining", "instruction", "(", "s", ")", "for", "a", "pointer", "to", "FrameIdx", "before", "insertion", "point", "I", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::ADDI8", "PPC::ADDI", "PPC", "PPC", "0"], "File": "PPCRegisterInfo (2)1", "Func": "materializeFrameBaseRegister", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13783, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsMCCodeEmitter", "::", "getBranchTargetOpValueLsl2MMR6", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ">>", "2", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"getBranchTargetOpValueLsl2MMR6 expects only expressions or immediates\"", ")", ";", "const", "MCExpr", "*", "FixupExpression", "=", "MCBinaryExpr", "::", "createAdd", "(", "MO", ".", "getExpr", "(", ")", ",", "MCConstantExpr", "::", "create", "(", "-", "4", ",", "Ctx", ")", ",", "Ctx", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "FixupExpression", ",", "MCFixupKind", "(", "Mips", "::", "fixup_Mips_PC16", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTargetOpValueLsl2MMR6", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "."], "TS_V_token": ["Mips", "Mips", "2", "\"getBranchTargetOpValueLsl2MMR6 expects only expressions or immediates\"", "4", "0", "Mips::fixup_Mips_PC16", "0"], "File": "MipsMCCodeEmitter (2)2", "Func": "getBranchTargetOpValueLsl2MMR6", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13784, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZAsmPrinter", "::", "emitEndOfAsmFile", "(", "Module", "&", "M", ")", "{", "emitStackMaps", "(", "SM", ")", ";", "}", ""], "natrual_language": ["This", "virtual", "method", "can", "be", "overridden", "by", "targets", "that", "want", "to", "emit", "something", "at", "the", "end", "of", "their", "file", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZAsmPrinter11", "Func": "emitEndOfAsmFile", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13785, "Length": 16, "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", ";", "if", "(", "PR_REGNUM_P", "(", "regno", ")", ")", "return", "PR_LO_REGNUM_P", "(", "regno", ")", "?", "PR_LO_REGS", ":", "PR_HI_REGS", ";", "return", "NO_REGS", ";", "}", ""], "natrual_language": ["Implement", "REGNO_REG_CLASS", "."], "TS_V_token": ["aarch64"], "File": "aarch645", "Func": "aarch64_regno_regclass", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13786, "Length": 78, "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": 13787, "Length": 168, "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": 13788, "Length": 266, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "hasAndNot", "(", "SDValue", "Y", ")", "const", "{", "EVT", "VT", "=", "Y", ".", "getValueType", "(", ")", ";", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "hasAndNotCompare", "(", "Y", ")", ";", "if", "(", "!", "Subtarget", ".", "hasSSE1", "(", ")", "||", "VT", ".", "getSizeInBits", "(", ")", "<", "128", ")", "return", "false", ";", "if", "(", "VT", "==", "MVT", "::", "v4i32", ")", "return", "true", ";", "return", "Subtarget", ".", "hasSSE2", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "has", "a", "bitwise", "and-not", "operation", ":", "X", "=", "~A", "&", "B", "This", "can", "be", "used", "to", "simplify", "select", "or", "other", "instructions", "."], "TS_V_token": ["X86", "X86", "128", "MVT::v4i32"], "File": "X86ISelLowering (2)5", "Func": "hasAndNot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13789, "Length": 73, "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": 13790, "Length": 333, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "rtx_code", "ix86_prepare_sse_fp_compare_args", "(", "rtx", "dest", ",", "enum", "rtx_code", "code", ",", "rtx", "*", "pop0", ",", "rtx", "*", "pop1", ")", "{", "switch", "(", "code", ")", "{", "case", "LTGT", ":", "case", "UNEQ", ":", "if", "(", "TARGET_AVX", ")", "break", ";", "return", "UNKNOWN", ";", "case", "LT", ":", "case", "LE", ":", "case", "UNGT", ":", "case", "UNGE", ":", "break", ";", "case", "EQ", ":", "case", "NE", ":", "case", "UNORDERED", ":", "case", "ORDERED", ":", "if", "(", "TARGET_AVX", ")", "break", ";", "if", "(", "!", "dest", "||", "!", "rtx_equal_p", "(", "dest", ",", "*", "pop1", ")", ")", "break", ";", "case", "GE", ":", "case", "GT", ":", "case", "UNLE", ":", "case", "UNLT", ":", "std", "::", "swap", "(", "*", "pop0", ",", "*", "pop1", ")", ";", "code", "=", "swap_condition", "(", "code", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "code", ";", "}", ""], "natrual_language": ["Swap", ",", "force", "into", "registers", ",", "or", "otherwise", "massage", "the", "two", "operands", "to", "an", "sse", "comparison", "with", "a", "mask", "result", ".", "Thus", "we", "differ", "a", "bit", "from", "ix86_prepare_fp_compare_args", "which", "expects", "to", "produce", "a", "flags", "result", ".", "The", "DEST", "operand", "exists", "to", "help", "determine", "whether", "to", "commute", "commutative", "operators", ".", "The", "POP0/POP1", "operands", "are", "updated", "in", "place", ".", "The", "new", "comparison", "code", "is", "returned", ",", "or", "UNKNOWN", "if", "not", "implementable", "."], "TS_V_token": ["i386"], "File": "i386-expand", "Func": "ix86_prepare_sse_fp_compare_args", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13791, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_near_type_p", "(", "const_tree", "type", ")", "{", "return", "(", "lookup_attribute", "(", "\"short_call\"", ",", "TYPE_ATTRIBUTES", "(", "type", ")", ")", "!=", "NULL", "||", "lookup_attribute", "(", "\"near\"", ",", "TYPE_ATTRIBUTES", "(", "type", ")", ")", "!=", "NULL", ")", ";", "}", ""], "natrual_language": ["Predicates", "to", "test", "for", "presence", "of", "``", "near", "''", "and", "``", "far", "''", "/", "''", "long_call", "''", "attributes", "on", "the", "given", "TYPE", "."], "TS_V_token": ["mips", "\"short_call\"", "\"near\""], "File": "mips", "Func": "mips_near_type_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13792, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "getStackAddress", "(", "uint64_t", "Size", ",", "int64_t", "Offset", ",", "MachinePointerInfo", "&", "MPO", ")", "override", "{", "auto", "&", "MFI", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getFrameInfo", "(", ")", ";", "int", "FI", "=", "MFI", ".", "CreateFixedObject", "(", "Size", ",", "Offset", ",", "true", ")", ";", "MPO", "=", "MachinePointerInfo", "::", "getFixedStack", "(", "MIRBuilder", ".", "getMF", "(", ")", ",", "FI", ")", ";", "unsigned", "AddrReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "LLT", "::", "pointer", "(", "0", ",", "DL", ".", "getPointerSizeInBits", "(", "0", ")", ")", ")", ";", "MIRBuilder", ".", "buildFrameIndex", "(", "AddrReg", ",", "FI", ")", ";", "return", "AddrReg", ";", "}", ""], "natrual_language": ["Materialize", "a", "VReg", "containing", "the", "address", "of", "the", "specified", "stack-based", "object", "."], "TS_V_token": ["X86", "0", "0"], "File": "X86CallLowering1", "Func": "getStackAddress", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13793, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "Mips16InstrInfo", "::", "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": ["Mips", "Mips", "0"], "File": "Mips16InstrInfo10", "Func": "isLoadFromStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13794, "Length": 20, "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": 13795, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMSubtarget", "::", "ARMSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ")", ":", "ARMGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "ARMProcFamily", "(", "Others", ")", ",", "HasV4TOps", "(", "false", ")", ",", "HasV5TOps", "(", "false", ")", ",", "HasV5TEOps", "(", "false", ")", ",", "HasV6Ops", "(", "false", ")", ",", "HasV6T2Ops", "(", "false", ")", ",", "HasV7Ops", "(", "false", ")", ",", "HasVFPv2", "(", "false", ")", ",", "HasVFPv3", "(", "false", ")", ",", "HasVFPv4", "(", "false", ")", ",", "HasNEON", "(", "false", ")", ",", "UseNEONForSinglePrecisionFP", "(", "false", ")", ",", "UseMulOps", "(", "UseFusedMulOps", ")", ",", "SlowFPVMLx", "(", "false", ")", ",", "HasVMLxForwarding", "(", "false", ")", ",", "SlowFPBrcc", "(", "false", ")", ",", "InThumbMode", "(", "false", ")", ",", "HasThumb2", "(", "false", ")", ",", "IsMClass", "(", "false", ")", ",", "NoARM", "(", "false", ")", ",", "PostRAScheduler", "(", "false", ")", ",", "IsR9Reserved", "(", "ReserveR9", ")", ",", "UseMovt", "(", "false", ")", ",", "SupportsTailCall", "(", "false", ")", ",", "HasFP16", "(", "false", ")", ",", "HasD16", "(", "false", ")", ",", "HasHardwareDivide", "(", "false", ")", ",", "HasHardwareDivideInARM", "(", "false", ")", ",", "HasT2ExtractPack", "(", "false", ")", ",", "HasDataBarrier", "(", "false", ")", ",", "Pref32BitThumb", "(", "false", ")", ",", "AvoidCPSRPartialUpdate", "(", "false", ")", ",", "AvoidMOVsShifterOperand", "(", "false", ")", ",", "HasRAS", "(", "false", ")", ",", "HasMPExtension", "(", "false", ")", ",", "FPOnlySP", "(", "false", ")", ",", "AllowsUnalignedMem", "(", "false", ")", ",", "Thumb2DSP", "(", "false", ")", ",", "stackAlignment", "(", "4", ")", ",", "CPUString", "(", "CPU", ")", ",", "TargetTriple", "(", "TT", ")", ",", "TargetABI", "(", "ARM_ABI_APCS", ")", "{", "if", "(", "CPUString", ".", "empty", "(", ")", ")", "CPUString", "=", "\"generic\"", ";", "std", "::", "string", "ArchFS", "=", "ARM_MC", "::", "ParseARMTriple", "(", "TT", ",", "CPUString", ")", ";", "if", "(", "!", "FS", ".", "empty", "(", ")", ")", "{", "if", "(", "!", "ArchFS", ".", "empty", "(", ")", ")", "ArchFS", "=", "ArchFS", "+", "\",\"", "+", "FS", ";", "else", "ArchFS", "=", "FS", ";", "}", "ParseSubtargetFeatures", "(", "CPUString", ",", "ArchFS", ")", ";", "if", "(", "!", "HasV6T2Ops", "&&", "hasThumb2", "(", ")", ")", "HasV4TOps", "=", "HasV5TOps", "=", "HasV5TEOps", "=", "HasV6Ops", "=", "HasV6T2Ops", "=", "true", ";", "SchedModel", "=", "getSchedModelForCPU", "(", "CPUString", ")", ";", "InstrItins", "=", "getInstrItineraryForCPU", "(", "CPUString", ")", ";", "if", "(", "(", "TT", ".", "find", "(", "\"eabi\"", ")", "!=", "std", "::", "string", "::", "npos", ")", "||", "(", "isTargetIOS", "(", ")", "&&", "isMClass", "(", ")", ")", ")", "TargetABI", "=", "ARM_ABI_AAPCS", ";", "if", "(", "isAAPCS_ABI", "(", ")", ")", "stackAlignment", "=", "8", ";", "if", "(", "!", "isTargetIOS", "(", ")", ")", "UseMovt", "=", "hasV6T2Ops", "(", ")", ";", "else", "{", "IsR9Reserved", "=", "ReserveR9", "|", "!", "HasV6Ops", ";", "UseMovt", "=", "DarwinUseMOVT", "&&", "hasV6T2Ops", "(", ")", ";", "SupportsTailCall", "=", "!", "getTargetTriple", "(", ")", ".", "isOSVersionLT", "(", "5", ",", "0", ")", ";", "}", "if", "(", "!", "isThumb", "(", ")", "||", "hasThumb2", "(", ")", ")", "PostRAScheduler", "=", "true", ";", "if", "(", "!", "StrictAlign", "&&", "hasV6Ops", "(", ")", "&&", "isTargetDarwin", "(", ")", ")", "AllowsUnalignedMem", "=", "true", ";", "}", ""], "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", "4", "ARM", "\"generic\"", "ARM", "ARM", "\",\"", "\"eabi\"", "ARM", "8", "5", "0"], "File": "ARMSubtarget36", "Func": "ARMSubtarget", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13796, "Length": 465, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_split_128bit_move", "(", "rtx", "dst", ",", "rtx", "src", ")", "{", "rtx", "dst_lo", ",", "dst_hi", ";", "rtx", "src_lo", ",", "src_hi", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "dst", ")", ";", "gcc_assert", "(", "mode", "==", "TImode", "||", "mode", "==", "TFmode", ")", ";", "gcc_assert", "(", "!", "(", "side_effects_p", "(", "src", ")", "||", "side_effects_p", "(", "dst", ")", ")", ")", ";", "gcc_assert", "(", "mode", "==", "GET_MODE", "(", "src", ")", "||", "GET_MODE", "(", "src", ")", "==", "VOIDmode", ")", ";", "if", "(", "REG_P", "(", "dst", ")", "&&", "REG_P", "(", "src", ")", ")", "{", "int", "src_regno", "=", "REGNO", "(", "src", ")", ";", "int", "dst_regno", "=", "REGNO", "(", "dst", ")", ";", "if", "(", "FP_REGNUM_P", "(", "dst_regno", ")", "&&", "GP_REGNUM_P", "(", "src_regno", ")", ")", "{", "src_lo", "=", "gen_lowpart", "(", "word_mode", ",", "src", ")", ";", "src_hi", "=", "gen_highpart", "(", "word_mode", ",", "src", ")", ";", "if", "(", "mode", "==", "TImode", ")", "{", "emit_insn", "(", "gen_aarch64_movtilow_di", "(", "dst", ",", "src_lo", ")", ")", ";", "emit_insn", "(", "gen_aarch64_movtihigh_di", "(", "dst", ",", "src_hi", ")", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_aarch64_movtflow_di", "(", "dst", ",", "src_lo", ")", ")", ";", "emit_insn", "(", "gen_aarch64_movtfhigh_di", "(", "dst", ",", "src_hi", ")", ")", ";", "}", "return", ";", "}", "else", "if", "(", "GP_REGNUM_P", "(", "dst_regno", ")", "&&", "FP_REGNUM_P", "(", "src_regno", ")", ")", "{", "dst_lo", "=", "gen_lowpart", "(", "word_mode", ",", "dst", ")", ";", "dst_hi", "=", "gen_highpart", "(", "word_mode", ",", "dst", ")", ";", "if", "(", "mode", "==", "TImode", ")", "{", "emit_insn", "(", "gen_aarch64_movdi_tilow", "(", "dst_lo", ",", "src", ")", ")", ";", "emit_insn", "(", "gen_aarch64_movdi_tihigh", "(", "dst_hi", ",", "src", ")", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_aarch64_movdi_tflow", "(", "dst_lo", ",", "src", ")", ")", ";", "emit_insn", "(", "gen_aarch64_movdi_tfhigh", "(", "dst_hi", ",", "src", ")", ")", ";", "}", "return", ";", "}", "}", "dst_lo", "=", "gen_lowpart", "(", "word_mode", ",", "dst", ")", ";", "dst_hi", "=", "gen_highpart", "(", "word_mode", ",", "dst", ")", ";", "src_lo", "=", "gen_lowpart", "(", "word_mode", ",", "src", ")", ";", "src_hi", "=", "gen_highpart_mode", "(", "word_mode", ",", "mode", ",", "src", ")", ";", "if", "(", "reg_overlap_mentioned_p", "(", "dst_lo", ",", "src_hi", ")", ")", "{", "aarch64_emit_move", "(", "dst_hi", ",", "src_hi", ")", ";", "aarch64_emit_move", "(", "dst_lo", ",", "src_lo", ")", ";", "}", "else", "{", "aarch64_emit_move", "(", "dst_lo", ",", "src_lo", ")", ";", "aarch64_emit_move", "(", "dst_hi", ",", "src_hi", ")", ";", "}", "}", ""], "natrual_language": ["Split", "a", "128-bit", "move", "operation", "into", "two", "64-bit", "move", "operations", ",", "taking", "care", "to", "handle", "partial", "overlap", "of", "register", "to", "register", "copies", ".", "Special", "cases", "are", "needed", "when", "moving", "between", "GP", "regs", "and", "FP", "regs", ".", "SRC", "can", "be", "a", "register", ",", "constant", "or", "memory", ";", "DST", "a", "register", "or", "memory", ".", "If", "either", "operand", "is", "memory", "it", "must", "not", "have", "any", "side", "effects", "."], "TS_V_token": ["aarch64"], "File": "aarch642", "Func": "aarch64_split_128bit_move", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13797, "Length": 354, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "isPredicated", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "instruction", "is", "already", "predicated", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCInstrInfo (2)2", "Func": "isPredicated", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13798, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "setPreservesAll", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineModuleInfo", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "DwarfWriter", ">", "(", ")", ";", "AsmPrinter", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["X86"], "File": "X86AsmPrinter30", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13799, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsInstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsTargetMachine19", "Func": "getInstrInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13800, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "needs_frame_header_p", "(", "function", "*", "fn", ")", "{", "tree", "t", ";", "if", "(", "fn", "->", "decl", "==", "NULL", ")", "return", "true", ";", "if", "(", "fn", "->", "stdarg", ")", "return", "true", ";", "for", "(", "t", "=", "DECL_ARGUMENTS", "(", "fn", "->", "decl", ")", ";", "t", ";", "t", "=", "TREE_CHAIN", "(", "t", ")", ")", "{", "if", "(", "!", "use_register_for_decl", "(", "t", ")", ")", "return", "true", ";", "if", "(", "DECL_MODE", "(", "t", ")", "!=", "SImode", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "function", "will", "use", "the", "stack", "space", "allocated", "by", "its", "caller", "or", "if", "we", "can", "not", "determine", "for", "certain", "that", "it", "does", "not", "."], "TS_V_token": ["mips"], "File": "frame-header-opt", "Func": "needs_frame_header_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13801, "Length": 81, "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", "::", "IntRegsRegisterClass", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["Sparc", "Sparc", "1", "0", "0U", "SP::IntRegsRegisterClass"], "File": "SparcISelLowering74", "Func": "getRegForInlineAsmConstraint", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13802, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isNoopAddrSpaceCast", "(", "unsigned", "SrcAS", ",", "unsigned", "DestAS", ")", "const", "{", "assert", "(", "SrcAS", "!=", "DestAS", "&&", "\"Expected different address spaces!\"", ")", ";", "const", "TargetMachine", "&", "TM", "=", "getTargetMachine", "(", ")", ";", "if", "(", "TM", ".", "getPointerSize", "(", "SrcAS", ")", "!=", "TM", ".", "getPointerSize", "(", "DestAS", ")", ")", "return", "false", ";", "return", "SrcAS", "<", "256", "&&", "DestAS", "<", "256", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "a", "cast", "between", "SrcAS", "and", "DestAS", "is", "a", "noop", "."], "TS_V_token": ["X86", "X86", "\"Expected different address spaces!\"", "256", "256"], "File": "X86ISelLowering (2)6", "Func": "isNoopAddrSpaceCast", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13803, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rx_mode_dependent_address_p", "(", "const_rtx", "addr", ",", "addr_space_t", "as", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "GET_CODE", "(", "addr", ")", "==", "CONST", ")", "addr", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "PRE_DEC", ":", "case", "POST_INC", ":", "return", "true", ";", "case", "MINUS", ":", "case", "PLUS", ":", "if", "(", "!", "REG_P", "(", "XEXP", "(", "addr", ",", "0", ")", ")", ")", "return", "true", ";", "addr", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "REG", ":", "return", "true", ";", "case", "CONST_INT", ":", "if", "(", "(", "(", "INTVAL", "(", "addr", ")", "&", "3", ")", "==", "0", ")", "&&", "IN_RANGE", "(", "INTVAL", "(", "addr", ")", ",", "4", ",", "0xfffc", ")", ")", "return", "false", ";", "return", "true", ";", "case", "SYMBOL_REF", ":", "case", "LABEL_REF", ":", "return", "true", ";", "case", "MULT", ":", "gcc_assert", "(", "REG_P", "(", "XEXP", "(", "addr", ",", "0", ")", ")", ")", ";", "gcc_assert", "(", "CONST_INT_P", "(", "XEXP", "(", "addr", ",", "1", ")", ")", ")", ";", "return", "true", ";", "default", ":", "return", "true", ";", "}", "case", "CONST_INT", ":", "case", "SYMBOL_REF", ":", "case", "LABEL_REF", ":", "case", "REG", ":", "return", "false", ";", "default", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_MODE_DEPENDENT_ADDRESS_P", "."], "TS_V_token": ["rx", "0", "0", "1", "3", "0", "4", "0xfffc", "0", "1"], "File": "rx2", "Func": "rx_mode_dependent_address_p", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13804, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "forceScalarizeMaskedGather", "(", "VectorType", "*", "VTy", ",", "Align", "Alignment", ")", "{", "unsigned", "NumElts", "=", "cast", "<", "FixedVectorType", ">", "(", "VTy", ")", "->", "getNumElements", "(", ")", ";", "return", "NumElts", "==", "1", "||", "(", "ST", "->", "hasAVX512", "(", ")", "&&", "(", "NumElts", "==", "2", "||", "(", "NumElts", "==", "4", "&&", "!", "ST", "->", "hasVLX", "(", ")", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "forces", "scalarizing", "of", "llvm.masked.gather", "intrinsics", "."], "TS_V_token": ["X86", "X86", "1", "2", "4"], "File": "X86TargetTransformInfo10", "Func": "forceScalarizeMaskedGather", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13805, "Length": 61, "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_fadd", ":", "return", "instCombineSVEVectorFAdd", "(", "IC", ",", "II", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_fsub", ":", "return", "instCombineSVEVectorBinOp", "(", "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", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_ld1_gather_index", ":", "return", "instCombineLD1GatherIndex", "(", "IC", ",", "II", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_st1_scatter_index", ":", "return", "instCombineST1ScatterIndex", "(", "IC", ",", "II", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_ld1", ":", "return", "instCombineSVELD1", "(", "IC", ",", "II", ",", "DL", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_st1", ":", "return", "instCombineSVEST1", "(", "IC", ",", "II", ",", "DL", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_sdiv", ":", "return", "instCombineSVESDIV", "(", "IC", ",", "II", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_sel", ":", "return", "instCombineSVESel", "(", "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_fadd", "Intrinsic::aarch64_sve_fsub", "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", "Intrinsic::aarch64_sve_ld1_gather_index", "Intrinsic::aarch64_sve_st1_scatter_index", "Intrinsic::aarch64_sve_ld1", "Intrinsic::aarch64_sve_st1", "Intrinsic::aarch64_sve_sdiv", "Intrinsic::aarch64_sve_sel"], "File": "AArch64TargetTransformInfo24", "Func": "instCombineIntrinsic", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13806, "Length": 413, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsInstructionSelector", "::", "select", "(", "MachineInstr", "&", "I", ",", "CodeGenCoverage", "&", "CoverageInfo", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "I", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "if", "(", "!", "isPreISelGenericOpcode", "(", "I", ".", "getOpcode", "(", ")", ")", ")", "{", "if", "(", "I", ".", "isCopy", "(", ")", ")", "return", "selectCopy", "(", "I", ",", "TII", ",", "MRI", ",", "TRI", ",", "RBI", ")", ";", "return", "true", ";", "}", "if", "(", "selectImpl", "(", "I", ",", "CoverageInfo", ")", ")", "{", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Select", "the", "(", "possibly", "generic", ")", "instruction", "I", "to", "only", "use", "target-specific", "opcodes", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsInstructionSelector6", "Func": "select", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13807, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_register_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "from", ",", "reg_class_t", "to", ")", "{", "int", "ret", ";", "if", "(", "TARGET_DEBUG_COST", ")", "dbg_cost_ctrl", "++", ";", "if", "(", "reg_classes_intersect_p", "(", "to", ",", "GENERAL_REGS", ")", "||", "reg_classes_intersect_p", "(", "from", ",", "GENERAL_REGS", ")", ")", "{", "reg_class_t", "rclass", "=", "from", ";", "if", "(", "!", "reg_classes_intersect_p", "(", "to", ",", "GENERAL_REGS", ")", ")", "rclass", "=", "to", ";", "if", "(", "rclass", "==", "FLOAT_REGS", "||", "rclass", "==", "ALTIVEC_REGS", "||", "rclass", "==", "VSX_REGS", ")", "ret", "=", "(", "rs6000_memory_move_cost", "(", "mode", ",", "rclass", ",", "false", ")", "+", "rs6000_memory_move_cost", "(", "mode", ",", "GENERAL_REGS", ",", "false", ")", ")", ";", "else", "if", "(", "rclass", "==", "CR_REGS", ")", "ret", "=", "4", ";", "else", "if", "(", "(", "rs6000_cpu", "==", "PROCESSOR_POWER6", "||", "rs6000_cpu", "==", "PROCESSOR_POWER7", "||", "rs6000_cpu", "==", "PROCESSOR_POWER8", "||", "rs6000_cpu", "==", "PROCESSOR_POWER9", ")", "&&", "reg_classes_intersect_p", "(", "rclass", ",", "LINK_OR_CTR_REGS", ")", ")", "ret", "=", "6", "*", "hard_regno_nregs", "[", "0", "]", "[", "mode", "]", ";", "else", "ret", "=", "2", "*", "hard_regno_nregs", "[", "0", "]", "[", "mode", "]", ";", "}", "else", "if", "(", "VECTOR_MEM_VSX_P", "(", "mode", ")", "&&", "reg_classes_intersect_p", "(", "to", ",", "VSX_REGS", ")", "&&", "reg_classes_intersect_p", "(", "from", ",", "VSX_REGS", ")", ")", "ret", "=", "2", "*", "hard_regno_nregs", "[", "32", "]", "[", "mode", "]", ";", "else", "if", "(", "reg_classes_intersect_p", "(", "to", ",", "from", ")", ")", "ret", "=", "(", "FLOAT128_2REG_P", "(", "mode", ")", ")", "?", "4", ":", "2", ";", "else", "ret", "=", "(", "rs6000_register_move_cost", "(", "mode", ",", "GENERAL_REGS", ",", "to", ")", "+", "rs6000_register_move_cost", "(", "mode", ",", "from", ",", "GENERAL_REGS", ")", ")", ";", "if", "(", "TARGET_DEBUG_COST", ")", "{", "if", "(", "dbg_cost_ctrl", "==", "1", ")", "fprintf", "(", "stderr", ",", "\"rs6000_register_move_cost:, ret=%d, mode=%s, from=%s, to=%s\\n\"", ",", "ret", ",", "GET_MODE_NAME", "(", "mode", ")", ",", "reg_class_names", "[", "from", "]", ",", "reg_class_names", "[", "to", "]", ")", ";", "dbg_cost_ctrl", "--", ";", "}", "return", "ret", ";", "}", ""], "natrual_language": ["A", "C", "expression", "returning", "the", "cost", "of", "moving", "data", "from", "a", "register", "of", "class", "CLASS1", "to", "one", "of", "CLASS2", "."], "TS_V_token": ["rs6000", "4", "6", "0", "2", "0", "2", "32", "4", "2", "1", "\"rs6000_register_move_cost:, ret=%d, mode=%s, from=%s, to=%s\\n\""], "File": "rs60005", "Func": "rs6000_register_move_cost", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13808, "Length": 284, "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", "]", ")", "{", "if", "(", "ExtraCode", "[", "1", "]", "!=", "0", ")", "return", "true", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "default", ":", "return", "true", ";", "case", "'y'", ":", "{", "const", "char", "*", "RegName", "=", "\"r0\"", ";", "if", "(", "!", "Subtarget", ".", "isDarwin", "(", ")", ")", "RegName", "=", "stripRegisterPrefix", "(", "RegName", ")", ";", "O", "<<", "RegName", "<<", "\", \"", ";", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "}", "case", "'U'", ":", "case", "'X'", ":", "{", "assert", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isReg", "(", ")", ")", ";", "return", "false", ";", "}", "}", "}", "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", "1", "0", "0", "\"r0\"", "\", \"", "\"0(\"", "\")\""], "File": "PPCAsmPrinter103", "Func": "PrintAsmMemoryOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13809, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "section", "*", "iq2000_select_section", "(", "tree", "decl", ",", "int", "reloc", "ATTRIBUTE_UNUSED", ",", "unsigned", "HOST_WIDE_INT", "align", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_EMBEDDED_DATA", ")", "{", "if", "(", "(", "TREE_CODE", "(", "decl", ")", "==", "VAR_DECL", "&&", "TREE_READONLY", "(", "decl", ")", "&&", "!", "TREE_SIDE_EFFECTS", "(", "decl", ")", "&&", "DECL_INITIAL", "(", "decl", ")", "&&", "(", "DECL_INITIAL", "(", "decl", ")", "==", "error_mark_node", "||", "TREE_CONSTANT", "(", "DECL_INITIAL", "(", "decl", ")", ")", ")", ")", "||", "TREE_CODE", "(", "decl", ")", "!=", "VAR_DECL", ")", "return", "readonly_data_section", ";", "else", "return", "data_section", ";", "}", "else", "{", "if", "(", "(", "TREE_CODE", "(", "decl", ")", "==", "VAR_DECL", "&&", "TREE_READONLY", "(", "decl", ")", "&&", "!", "TREE_SIDE_EFFECTS", "(", "decl", ")", "&&", "DECL_INITIAL", "(", "decl", ")", "&&", "(", "DECL_INITIAL", "(", "decl", ")", "==", "error_mark_node", "||", "TREE_CONSTANT", "(", "DECL_INITIAL", "(", "decl", ")", ")", ")", ")", "||", "TREE_CODE", "(", "decl", ")", "!=", "VAR_DECL", ")", "return", "readonly_data_section", ";", "else", "return", "data_section", ";", "}", "}", ""], "natrual_language": ["Choose", "the", "section", "to", "use", "for", "DECL", ".", "RELOC", "is", "true", "if", "its", "value", "contains", "any", "relocatable", "expression", ".", "Some", "of", "the", "logic", "used", "here", "needs", "to", "be", "replicated", "in", "ENCODE_SECTION_INFO", "in", "iq2000.h", "so", "that", "references", "to", "these", "symbols", "are", "done", "correctly", "."], "TS_V_token": ["iq2000"], "File": "iq20003", "Func": "iq2000_select_section", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13810, "Length": 144, "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": 13811, "Length": 82, "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": 13812, "Length": 52, "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", ")", ")", ";", "Register", "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": "X86FastISel104", "Func": "fastMaterializeAlloca", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13813, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "SystemZTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "SystemZPassConfig", "(", "*", "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": ["SystemZ", "SystemZ", "SystemZ"], "File": "SystemZTargetMachine10", "Func": "createPassConfig", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13814, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LEGPassConfig", "::", "addPreISel", "(", ")", "{", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["LEG", "LEG"], "File": "LEGTargetMachine", "Func": "addPreISel", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13815, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "OS", ")", "{", "SystemZInstPrinter", "::", "printAddress", "(", "MAI", ",", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", ",", "MCOperand", "::", "createImm", "(", "MI", "->", "getOperand", "(", "OpNo", "+", "1", ")", ".", "getImm", "(", ")", ")", ",", "MI", "->", "getOperand", "(", "OpNo", "+", "2", ")", ".", "getReg", "(", ")", ",", "OS", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "1", "2"], "File": "SystemZAsmPrinter11", "Func": "PrintAsmMemoryOperand", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13816, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleDAGInstrs", "*", "createMachineScheduler", "(", "MachineSchedContext", "*", "C", ")", "const", "override", "{", "ScheduleDAGMILive", "*", "DAG", "=", "createGenericSchedLive", "(", "C", ")", ";", "DAG", "->", "addMutation", "(", "createX86MacroFusionDAGMutation", "(", ")", ")", ";", "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": ["X86", "X86"], "File": "X86TargetMachine101", "Func": "createMachineScheduler", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13817, "Length": 33, "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": 13818, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86RegisterInfo", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ")", "const", "{", "X86MachineFunctionInfo", "*", "X86FI", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "int32_t", "TailCallReturnAddrDelta", "=", "X86FI", "->", "getTCReturnAddrDelta", "(", ")", ";", "if", "(", "TailCallReturnAddrDelta", "<", "0", ")", "{", "MF", ".", "getFrameInfo", "(", ")", "->", "CreateFixedObject", "(", "-", "TailCallReturnAddrDelta", ",", "(", "-", "1", "*", "SlotSize", ")", "+", "TailCallReturnAddrDelta", ")", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "assert", "(", "(", "TailCallReturnAddrDelta", "<=", "0", ")", "&&", "\"The Delta should always be zero or negative\"", ")", ";", "int", "FrameIdx", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "CreateFixedObject", "(", "SlotSize", ",", "(", "int", ")", "SlotSize", "*", "-", "2", "+", "TailCallReturnAddrDelta", ")", ";", "assert", "(", "FrameIdx", "==", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectIndexBegin", "(", ")", "&&", "\"Slot for EBP register must be last in order to be found!\"", ")", ";", "FrameIdx", "=", "0", ";", "}", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86", "0", "1", "0", "\"The Delta should always be zero or negative\"", "2", "\"Slot for EBP register must be last in order to be found!\"", "0"], "File": "X86RegisterInfo33", "Func": "processFunctionBeforeFrameFinalized", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13819, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "PPCTargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "IsMemset", ",", "bool", "ZeroMemset", ",", "bool", "MemcpyStrSrc", ",", "const", "AttributeList", "&", "FuncAttributes", ")", "const", "{", "if", "(", "getTargetMachine", "(", ")", ".", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "Subtarget", ".", "hasQPX", "(", ")", "&&", "Size", ">=", "32", "&&", "(", "!", "IsMemset", "||", "Size", ">=", "64", ")", "&&", "(", "!", "SrcAlign", "||", "SrcAlign", ">=", "32", ")", "&&", "(", "!", "DstAlign", "||", "DstAlign", ">=", "32", ")", "&&", "!", "FuncAttributes", ".", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ")", "{", "return", "MVT", "::", "v4f64", ";", "}", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", "&&", "Size", ">=", "16", "&&", "(", "(", "(", "!", "SrcAlign", "||", "SrcAlign", ">=", "16", ")", "&&", "(", "!", "DstAlign", "||", "DstAlign", ">=", "16", ")", ")", "||", "(", "(", "IsMemset", "&&", "Subtarget", ".", "hasVSX", "(", ")", ")", "||", "Subtarget", ".", "hasP8Vector", "(", ")", ")", ")", ")", "return", "MVT", "::", "v4i32", ";", "}", "if", "(", "Subtarget", ".", "isPPC64", "(", ")", ")", "{", "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": ["PowerPC", "PPC", "32", "64", "32", "32", "MVT::v4f64", "16", "16", "16", "MVT::v4i32", "PPC", "MVT::i64", "MVT::i32"], "File": "PPCISelLowering103", "Func": "getOptimalMemOpType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13820, "Length": 180, "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", ",", "CodeModel", "::", "Small", ")", ",", "OL", ")", ",", "TargetABI", "(", "computeTargetABI", "(", "TT", ",", "CPU", ",", "Options", ")", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", ",", "isLittle", "(", "isLittle", ")", "{", "if", "(", "Options", ".", "FloatABIType", "==", "FloatABI", "::", "Default", ")", "{", "if", "(", "isTargetHardFloat", "(", ")", ")", "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", ";", "}", "setSupportsDebugEntryValues", "(", "true", ")", ";", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "ARM", "architecture", "model", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMTargetMachine102", "Func": "ARMBaseTargetMachine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13821, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "std", "::", "unique_ptr", "<", "SparcOperand", ">", "CreateReg", "(", "unsigned", "RegNum", ",", "unsigned", "Kind", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{", "auto", "Op", "=", "std", "::", "make_unique", "<", "SparcOperand", ">", "(", "k_Register", ")", ";", "Op", "->", "Reg", ".", "RegNum", "=", "RegNum", ";", "Op", "->", "Reg", ".", "Kind", "=", "(", "SparcOperand", "::", "RegisterKind", ")", "Kind", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "E", ";", "return", "Op", ";", "}", ""], "natrual_language": ["CreateReg", "-", "Allocate", "a", "single", "virtual", "register", "for", "the", "given", "type", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "SparcOperand::RegisterKind"], "File": "SparcAsmParser1", "Func": "CreateReg", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13822, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PartialReduction", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "auto", "*", "TPC", "=", "getAnalysisIfAvailable", "<", "TargetPassConfig", ">", "(", ")", ";", "if", "(", "!", "TPC", ")", "return", "false", ";", "auto", "&", "TM", "=", "TPC", "->", "getTM", "<", "X86TargetMachine", ">", "(", ")", ";", "ST", "=", "TM", ".", "getSubtargetImpl", "(", "F", ")", ";", "DL", "=", "&", "F", ".", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "bool", "MadeChange", "=", "false", ";", "for", "(", "auto", "&", "BB", ":", "F", ")", "{", "for", "(", "auto", "&", "I", ":", "BB", ")", "{", "auto", "*", "EE", "=", "dyn_cast", "<", "ExtractElementInst", ">", "(", "&", "I", ")", ";", "if", "(", "!", "EE", ")", "continue", ";", "bool", "ReduceInOneBB", ";", "Value", "*", "Root", "=", "matchAddReduction", "(", "*", "EE", ",", "ReduceInOneBB", ")", ";", "if", "(", "!", "Root", ")", "continue", ";", "SmallVector", "<", "Instruction", "*", ",", "8", ">", "Leaves", ";", "collectLeaves", "(", "Root", ",", "Leaves", ")", ";", "for", "(", "Instruction", "*", "I", ":", "Leaves", ")", "{", "if", "(", "tryMAddReplacement", "(", "I", ",", "ReduceInOneBB", ")", ")", "{", "MadeChange", "=", "true", ";", "continue", ";", "}", "if", "(", "I", "!=", "Root", "&&", "trySADReplacement", "(", "I", ")", ")", "MadeChange", "=", "true", ";", "}", "}", "}", "return", "MadeChange", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["X86", "X86", "X86", "8"], "File": "X86PartialReduction", "Func": "runOnFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13823, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "i386_pe_strip_name_encoding", "(", "const", "char", "*", "str", ")", "{", "if", "(", "strncmp", "(", "str", ",", "DLL_IMPORT_PREFIX", ",", "strlen", "(", "DLL_IMPORT_PREFIX", ")", ")", "==", "0", ")", "str", "+=", "strlen", "(", "DLL_IMPORT_PREFIX", ")", ";", "else", "if", "(", "strncmp", "(", "str", ",", "DLL_EXPORT_PREFIX", ",", "strlen", "(", "DLL_EXPORT_PREFIX", ")", ")", "==", "0", ")", "str", "+=", "strlen", "(", "DLL_EXPORT_PREFIX", ")", ";", "if", "(", "*", "str", "==", "'*'", ")", "str", "+=", "1", ";", "return", "str", ";", "}", ""], "natrual_language": ["Strip", "only", "the", "leading", "encoding", ",", "leaving", "the", "stdcall", "suffix", "and", "fastcall", "prefix", "if", "it", "exists", "."], "TS_V_token": ["i386", "0", "0", "1"], "File": "winnt3", "Func": "i386_pe_strip_name_encoding", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13824, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCRegisterInfo", "::", "isCallerPreservedPhysReg", "(", "MCRegister", "PhysReg", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "assert", "(", "Register", "::", "isPhysicalRegister", "(", "PhysReg", ")", ")", ";", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "if", "(", "!", "Subtarget", ".", "is64BitELFABI", "(", ")", "&&", "!", "Subtarget", ".", "isAIXABI", "(", ")", ")", "return", "false", ";", "if", "(", "PhysReg", "==", "Subtarget", ".", "getTOCPointerRegister", "(", ")", ")", "return", "(", "getReservedRegs", "(", "MF", ")", ".", "test", "(", "PhysReg", ")", ")", ";", "if", "(", "StackPtrConst", "&&", "PhysReg", "==", "Subtarget", ".", "getStackPointerRegister", "(", ")", "&&", "!", "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"], "File": "PPCRegisterInfo (2)3", "Func": "isCallerPreservedPhysReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13825, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{", "return", "createMipsELFObjectWriter", "(", "OS", ",", "OSType", ",", "IsLittle", ",", "Is64Bit", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsAsmBackend31", "Func": "createObjectWriter", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13826, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsConstantIslands", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "mf", ")", "{", "MF", "=", "&", "mf", ";", "MCP", "=", "mf", ".", "getConstantPool", "(", ")", ";", "STI", "=", "&", "mf", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "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)1", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13827, "Length": 418, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_expand_strlen", "(", "rtx", "result", ",", "rtx", "str", ",", "rtx", "target_char", ",", "rtx", "align", "ATTRIBUTE_UNUSED", ")", "{", "rtx", "base_reg", ",", "backup_base_reg", ";", "rtx", "ffb_result", ";", "rtx", "target_char_ptr", ",", "length", ";", "rtx", "loop_label", ",", "tmp", ";", "if", "(", "optimize_size", "||", "optimize", "<", "3", ")", "return", "false", ";", "gcc_assert", "(", "MEM_P", "(", "str", ")", ")", ";", "gcc_assert", "(", "CONST_INT_P", "(", "target_char", ")", "||", "REG_P", "(", "target_char", ")", ")", ";", "base_reg", "=", "copy_to_mode_reg", "(", "SImode", ",", "XEXP", "(", "str", ",", "0", ")", ")", ";", "loop_label", "=", "gen_label_rtx", "(", ")", ";", "ffb_result", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "tmp", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "backup_base_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_move_insn", "(", "backup_base_reg", ",", "base_reg", ")", ";", "emit_label", "(", "loop_label", ")", ";", "emit_insn", "(", "gen_unaligned_load_update_base_w", "(", "base_reg", ",", "tmp", ",", "base_reg", ")", ")", ";", "emit_insn", "(", "gen_unspec_ffb", "(", "ffb_result", ",", "tmp", ",", "target_char", ")", ")", ";", "emit_cmp_and_jump_insns", "(", "ffb_result", ",", "const0_rtx", ",", "EQ", ",", "NULL", ",", "SImode", ",", "1", ",", "loop_label", ")", ";", "target_char_ptr", "=", "expand_binop", "(", "Pmode", ",", "add_optab", ",", "base_reg", ",", "ffb_result", ",", "NULL_RTX", ",", "0", ",", "OPTAB_WIDEN", ")", ";", "length", "=", "expand_binop", "(", "Pmode", ",", "sub_optab", ",", "target_char_ptr", ",", "backup_base_reg", ",", "NULL_RTX", ",", "0", ",", "OPTAB_WIDEN", ")", ";", "emit_move_insn", "(", "result", ",", "length", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Auxiliary", "function", "for", "expand", "strlen", "pattern", "."], "TS_V_token": ["nds32", "3", "0", "1", "0", "0"], "File": "nds32-memory-manipulation", "Func": "nds32_expand_strlen", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13828, "Length": 210, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "unique_ptr", "<", "PBQPRAConstraint", ">", "AArch64Subtarget", "::", "getCustomPBQPConstraints", "(", ")", "const", "{", "return", "balanceFPOps", "(", ")", "?", "std", "::", "make_unique", "<", "A57ChainingConstraint", ">", "(", ")", ":", "nullptr", ";", "}", ""], "natrual_language": ["Return", "PBQPConstraint", "(", "s", ")", "for", "the", "target", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64Subtarget (2)1", "Func": "getCustomPBQPConstraints", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13829, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "rs6000_emit_vector_cond_expr", "(", "rtx", "dest", ",", "rtx", "op_true", ",", "rtx", "op_false", ",", "rtx", "cond", ",", "rtx", "cc_op0", ",", "rtx", "cc_op1", ")", "{", "machine_mode", "dest_mode", "=", "GET_MODE", "(", "dest", ")", ";", "machine_mode", "mask_mode", "=", "GET_MODE", "(", "cc_op0", ")", ";", "enum", "rtx_code", "rcode", "=", "GET_CODE", "(", "cond", ")", ";", "rtx", "mask", ";", "bool", "invert_move", "=", "false", ";", "if", "(", "VECTOR_UNIT_NONE_P", "(", "dest_mode", ")", ")", "return", "0", ";", "gcc_assert", "(", "GET_MODE_SIZE", "(", "dest_mode", ")", "==", "GET_MODE_SIZE", "(", "mask_mode", ")", "&&", "GET_MODE_NUNITS", "(", "dest_mode", ")", "==", "GET_MODE_NUNITS", "(", "mask_mode", ")", ")", ";", "switch", "(", "rcode", ")", "{", "case", "NE", ":", "case", "UNLE", ":", "case", "UNLT", ":", "case", "UNGE", ":", "case", "UNGT", ":", "invert_move", "=", "true", ";", "rcode", "=", "reverse_condition_maybe_unordered", "(", "rcode", ")", ";", "if", "(", "rcode", "==", "UNKNOWN", ")", "return", "0", ";", "break", ";", "case", "GE", ":", "case", "LE", ":", "if", "(", "GET_MODE_CLASS", "(", "mask_mode", ")", "==", "MODE_VECTOR_INT", ")", "{", "invert_move", "=", "true", ";", "rcode", "=", "reverse_condition", "(", "rcode", ")", ";", "}", "break", ";", "case", "GTU", ":", "case", "GEU", ":", "case", "LTU", ":", "case", "LEU", ":", "if", "(", "rcode", "==", "GEU", "||", "rcode", "==", "LEU", ")", "{", "invert_move", "=", "true", ";", "rcode", "=", "reverse_condition", "(", "rcode", ")", ";", "}", "break", ";", "default", ":", "break", ";", "}", "mask", "=", "rs6000_emit_vector_compare", "(", "rcode", ",", "cc_op0", ",", "cc_op1", ",", "mask_mode", ")", ";", "if", "(", "!", "mask", ")", "return", "0", ";", "if", "(", "mask_mode", "!=", "dest_mode", ")", "mask", "=", "simplify_gen_subreg", "(", "dest_mode", ",", "mask", ",", "mask_mode", ",", "0", ")", ";", "if", "(", "invert_move", ")", "std", "::", "swap", "(", "op_true", ",", "op_false", ")", ";", "if", "(", "GET_MODE_CLASS", "(", "dest_mode", ")", "==", "MODE_VECTOR_INT", "&&", "(", "GET_CODE", "(", "op_true", ")", "==", "CONST_VECTOR", "||", "GET_CODE", "(", "op_false", ")", "==", "CONST_VECTOR", ")", ")", "{", "rtx", "constant_0", "=", "CONST0_RTX", "(", "dest_mode", ")", ";", "rtx", "constant_m1", "=", "CONSTM1_RTX", "(", "dest_mode", ")", ";", "if", "(", "op_true", "==", "constant_m1", "&&", "op_false", "==", "constant_0", ")", "{", "emit_move_insn", "(", "dest", ",", "mask", ")", ";", "return", "1", ";", "}", "else", "if", "(", "op_true", "==", "constant_0", "&&", "op_false", "==", "constant_m1", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "gen_rtx_NOT", "(", "dest_mode", ",", "mask", ")", ")", ")", ";", "return", "1", ";", "}", "if", "(", "op_true", "==", "constant_m1", ")", "op_true", "=", "mask", ";", "if", "(", "op_false", "==", "constant_0", ")", "op_false", "=", "mask", ";", "}", "if", "(", "!", "REG_P", "(", "op_true", ")", "&&", "!", "SUBREG_P", "(", "op_true", ")", ")", "op_true", "=", "force_reg", "(", "dest_mode", ",", "op_true", ")", ";", "if", "(", "!", "REG_P", "(", "op_false", ")", "&&", "!", "SUBREG_P", "(", "op_false", ")", ")", "op_false", "=", "force_reg", "(", "dest_mode", ",", "op_false", ")", ";", "rtx", "tmp", "=", "gen_rtx_IOR", "(", "dest_mode", ",", "gen_rtx_AND", "(", "dest_mode", ",", "gen_rtx_NOT", "(", "dest_mode", ",", "mask", ")", ",", "op_false", ")", ",", "gen_rtx_AND", "(", "dest_mode", ",", "mask", ",", "op_true", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "tmp", ")", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Emit", "vector", "conditional", "expression", ".", "DEST", "is", "destination", ".", "OP1", "and", "OP2", "are", "two", "VEC_COND_EXPR", "operands", ".", "CC_OP0", "and", "CC_OP1", "are", "the", "two", "operands", "for", "the", "relation", "operation", "COND", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "1", "1", "1"], "File": "rs6000", "Func": "rs6000_emit_vector_cond_expr", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13830, "Length": 462, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "is_interrupt_func", "(", "const_tree", "decl", ")", "{", "return", "has_func_attr", "(", "decl", ",", "\"interrupt\"", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "provided", "function", "has", "the", "``", "interrupt", "''", "attribute", "."], "TS_V_token": ["rx", "\"interrupt\""], "File": "rx2", "Func": "is_interrupt_func", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13831, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "ix86_get_multilib_abi_name", "(", "void", ")", "{", "if", "(", "!", "(", "TARGET_64BIT_P", "(", "ix86_isa_flags", ")", ")", ")", "return", "\"i386\"", ";", "else", "if", "(", "TARGET_X32_P", "(", "ix86_isa_flags", ")", ")", "return", "\"x32\"", ";", "else", "return", "\"x86_64\"", ";", "}", ""], "natrual_language": ["This", "hook", "returns", "name", "of", "multilib", "ABI", "."], "TS_V_token": ["i386", "\"i386\"", "\"x32\"", "\"x86_64\""], "File": "i386", "Func": "ix86_get_multilib_abi_name", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13832, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsMCCodeEmitter", "::", "getBranchTarget21OpValueMM", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ">>", "1", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"getBranchTarget21OpValueMM expects only expressions or immediates\"", ")", ";", "const", "MCExpr", "*", "FixupExpression", "=", "MCBinaryExpr", "::", "createAdd", "(", "MO", ".", "getExpr", "(", ")", ",", "MCConstantExpr", "::", "create", "(", "-", "4", ",", "Ctx", ")", ",", "Ctx", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "FixupExpression", ",", "MCFixupKind", "(", "Mips", "::", "fixup_MICROMIPS_PC21_S1", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTarget21OpValueMM", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "for", "microMIPS", "."], "TS_V_token": ["Mips", "Mips", "1", "\"getBranchTarget21OpValueMM expects only expressions or immediates\"", "4", "0", "Mips::fixup_MICROMIPS_PC21_S1", "0"], "File": "MipsMCCodeEmitter (2)", "Func": "getBranchTarget21OpValueMM", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13833, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsInstrInfo", "*", "MipsInstrInfo", "::", "create", "(", "MipsSubtarget", "&", "STI", ")", "{", "return", "llvm", "::", "createMipsSEInstrInfo", "(", "STI", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsInstrInfo31", "Func": "create", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13834, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "crx_init_cumulative_args", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "tree", "fntype", ",", "rtx", "libfunc", "ATTRIBUTE_UNUSED", ")", "{", "tree", "param", ",", "next_param", ";", "cum", "->", "ints", "=", "0", ";", "for", "(", "param", "=", "(", "fntype", ")", "?", "TYPE_ARG_TYPES", "(", "fntype", ")", ":", "0", ";", "param", "!=", "(", "tree", ")", "0", ";", "param", "=", "next_param", ")", "{", "next_param", "=", "TREE_CHAIN", "(", "param", ")", ";", "if", "(", "next_param", "==", "(", "tree", ")", "0", "&&", "TREE_VALUE", "(", "param", ")", "!=", "void_type_node", ")", "{", "cum", "->", "ints", "=", "-", "1", ";", "return", ";", "}", "}", "}", ""], "natrual_language": ["Implements", "the", "macro", "INIT_CUMULATIVE_ARGS", "defined", "in", "crx.h", "."], "TS_V_token": ["crx", "0", "0", "0", "0", "1"], "File": "crx", "Func": "crx_init_cumulative_args", "Target": "crx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13835, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "tree", "def_builtin_const", "(", "HOST_WIDE_INT", "mask", ",", "const", "char", "*", "name", ",", "enum", "ix86_builtin_func_type", "tcode", ",", "enum", "ix86_builtins", "code", ")", "{", "tree", "decl", "=", "def_builtin", "(", "mask", ",", "name", ",", "tcode", ",", "code", ")", ";", "if", "(", "decl", ")", "TREE_READONLY", "(", "decl", ")", "=", "1", ";", "else", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "const_p", "=", "true", ";", "return", "decl", ";", "}", ""], "natrual_language": ["Likewise", ",", "but", "also", "marks", "the", "function", "as", "``", "const", "''", "."], "TS_V_token": ["i386", "1"], "File": "i3864", "Func": "def_builtin_const", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13836, "Length": 64, "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": ["rs6000", "0", "1", "2", "3", "4", "5", "6", "1", "1"], "File": "rs60006", "Func": "rs6000_split_v4si_init", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13837, "Length": 198, "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": ["SystemZ"], "File": "SystemZAsmParser (2)", "Func": "getEndLoc", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13838, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "mips_get_compress_on_flags", "(", "tree", "attributes", ")", "{", "unsigned", "int", "flags", "=", "0", ";", "if", "(", "lookup_attribute", "(", "\"mips16\"", ",", "attributes", ")", "!=", "NULL", ")", "flags", "|=", "MASK_MIPS16", ";", "if", "(", "lookup_attribute", "(", "\"micromips\"", ",", "attributes", ")", "!=", "NULL", ")", "flags", "|=", "MASK_MICROMIPS", ";", "return", "flags", ";", "}", ""], "natrual_language": ["Return", "the", "set", "of", "compression", "modes", "that", "are", "explicitly", "required", "by", "the", "attributes", "in", "ATTRIBUTES", "."], "TS_V_token": ["mips", "0", "\"mips16\"", "\"micromips\""], "File": "mips", "Func": "mips_get_compress_on_flags", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13839, "Length": 49, "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": 13840, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pa_som_asm_init_sections", "(", "void", ")", "{", "text_section", "=", "get_unnamed_section", "(", "0", ",", "som_output_text_section_asm_op", ",", "NULL", ")", ";", "som_readonly_data_section", "=", "get_unnamed_section", "(", "0", ",", "output_section_asm_op", ",", "\"\\t.SPACE $TEXT$\\n\\t.SUBSPA $LIT$\"", ")", ";", "som_one_only_readonly_data_section", "=", "get_unnamed_section", "(", "0", ",", "som_output_comdat_data_section_asm_op", ",", "\"\\t.SPACE $TEXT$\\n\"", "\"\\t.NSUBSPA $LIT$,QUAD=0,ALIGN=8,\"", "\"ACCESS=0x2c,SORT=16,COMDAT\"", ")", ";", "som_one_only_data_section", "=", "get_unnamed_section", "(", "SECTION_WRITE", ",", "som_output_comdat_data_section_asm_op", ",", "\"\\t.SPACE $PRIVATE$\\n\"", "\"\\t.NSUBSPA $DATA$,QUAD=1,ALIGN=8,\"", "\"ACCESS=31,SORT=24,COMDAT\"", ")", ";", "if", "(", "flag_tm", ")", "som_tm_clone_table_section", "=", "get_unnamed_section", "(", "0", ",", "output_section_asm_op", ",", "\"\\t.SPACE $PRIVATE$\\n\\t.SUBSPA $TM_CLONE_TABLE$\"", ")", ";", "readonly_data_section", "=", "som_readonly_data_section", ";", "exception_section", "=", "data_section", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_INITIALIZE_SECTIONS"], "TS_V_token": ["pa", "0", "0", "\"\\t.SPACE $TEXT$\\n\\t.SUBSPA $LIT$\"", "0", "\"\\t.SPACE $TEXT$\\n\"", "\"\\t.NSUBSPA $LIT$,QUAD=0,ALIGN=8,\"", "\"ACCESS=0x2c,SORT=16,COMDAT\"", "\"\\t.SPACE $PRIVATE$\\n\"", "\"\\t.NSUBSPA $DATA$,QUAD=1,ALIGN=8,\"", "\"ACCESS=31,SORT=24,COMDAT\"", "0", "\"\\t.SPACE $PRIVATE$\\n\\t.SUBSPA $TM_CLONE_TABLE$\""], "File": "pa", "Func": "pa_som_asm_init_sections", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13841, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "canInsertSelect", "(", "const", "MachineBasicBlock", "&", "MBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Pred", ",", "Register", "DstReg", ",", "Register", "TrueReg", ",", "Register", "FalseReg", ",", "int", "&", "CondCycles", ",", "int", "&", "TrueCycles", ",", "int", "&", "FalseCycles", ")", "const", "{", "if", "(", "!", "STI", ".", "hasLoadStoreOnCond", "(", ")", ")", "return", "false", ";", "if", "(", "Pred", ".", "size", "(", ")", "!=", "2", ")", "return", "false", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "RI", ".", "getCommonSubClass", "(", "MRI", ".", "getRegClass", "(", "TrueReg", ")", ",", "MRI", ".", "getRegClass", "(", "FalseReg", ")", ")", ";", "if", "(", "!", "RC", ")", "return", "false", ";", "if", "(", "(", "STI", ".", "hasLoadStoreOnCond2", "(", ")", "&&", "SystemZ", "::", "GRX32BitRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "||", "SystemZ", "::", "GR32BitRegClass", ".", "hasSubClassEq", "(", "RC", ")", "||", "SystemZ", "::", "GR64BitRegClass", ".", "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": ["SystemZ", "SystemZ", "2", "SystemZ::GRX32BitRegClass", "SystemZ::GR32BitRegClass", "SystemZ::GR64BitRegClass", "2", "2", "2"], "File": "SystemZInstrInfo16", "Func": "canInsertSelect", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13842, "Length": 169, "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": 13843, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_loop_align_max_skip", "(", "rtx_insn", "*", "label", ")", "{", "return", "(", "1", "<<", "rs6000_loop_align", "(", "label", ")", ")", "-", "1", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LOOP_ALIGN_MAX_SKIP", "."], "TS_V_token": ["rs6000", "1", "1"], "File": "rs60004", "Func": "rs6000_loop_align_max_skip", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13844, "Length": 22, "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": 13845, "Length": 345, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "X86FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "FramePtr", ":", "StackPtr", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86RegisterInfo (2)", "Func": "getFrameRegister", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13846, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "rs6000_emit_allocate_stack_1", "(", "HOST_WIDE_INT", "size_int", ",", "rtx", "orig_sp", ")", "{", "rtx_insn", "*", "insn", ";", "rtx", "size_rtx", "=", "GEN_INT", "(", "-", "size_int", ")", ";", "if", "(", "size_int", ">", "32767", ")", "{", "rtx", "tmp_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ";", "if", "(", "get_last_insn", "(", ")", "==", "NULL_RTX", ")", "emit_note", "(", "NOTE_INSN_DELETED", ")", ";", "insn", "=", "emit_move_insn", "(", "tmp_reg", ",", "size_rtx", ")", ";", "try_split", "(", "PATTERN", "(", "insn", ")", ",", "insn", ",", "0", ")", ";", "size_rtx", "=", "tmp_reg", ";", "}", "if", "(", "TARGET_32BIT", ")", "insn", "=", "emit_insn", "(", "gen_movsi_update_stack", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "size_rtx", ",", "orig_sp", ")", ")", ";", "else", "insn", "=", "emit_insn", "(", "gen_movdi_update_stack", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "size_rtx", ",", "orig_sp", ")", ")", ";", "rtx", "par", "=", "PATTERN", "(", "insn", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "par", ")", "==", "PARALLEL", ")", ";", "rtx", "set", "=", "XVECEXP", "(", "par", ",", "0", ",", "0", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "set", ")", "==", "SET", ")", ";", "rtx", "mem", "=", "SET_DEST", "(", "set", ")", ";", "gcc_assert", "(", "MEM_P", "(", "mem", ")", ")", ";", "MEM_NOTRAP_P", "(", "mem", ")", "=", "1", ";", "set_mem_alias_set", "(", "mem", ",", "get_frame_alias_set", "(", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "size_int", ")", ")", ")", ")", ";", "if", "(", "flag_stack_clash_protection", ")", "{", "add_reg_note", "(", "insn", ",", "REG_STACK_CHECK", ",", "const0_rtx", ")", ";", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", "return", "insn", ";", "}", ""], "natrual_language": ["Allocate", "SIZE_INT", "bytes", "on", "the", "stack", "using", "a", "store", "with", "update", "style", "insn", "and", "set", "the", "appropriate", "attributes", "for", "the", "generated", "insn", ".", "Return", "the", "first", "insn", "which", "adjusts", "the", "stack", "pointer", "or", "the", "last", "insn", "before", "the", "stack", "adjustment", "loop", ".", "SIZE_INT", "is", "used", "to", "create", "the", "CFI", "note", "for", "the", "allocation", ".", "SIZE_RTX", "is", "an", "rtx", "containing", "the", "size", "of", "the", "adjustment", ".", "Note", "that", "since", "stacks", "grow", "to", "lower", "addresses", "its", "runtime", "value", "is", "-SIZE_INT", ".", "ORIG_SP", "contains", "the", "backchain", "value", "that", "must", "be", "stored", "at", "*", "sp", "."], "TS_V_token": ["rs6000", "32767", "0", "0", "0", "0", "1", "1"], "File": "rs6000-logue", "Func": "rs6000_emit_allocate_stack_1", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13847, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_function_arg", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "omode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "machine_mode", "mode", "=", "omode", ";", "HOST_WIDE_INT", "bytes", ",", "words", ";", "rtx", "arg", ";", "if", "(", "(", "type", "&&", "POINTER_BOUNDS_TYPE_P", "(", "type", ")", ")", "||", "POINTER_BOUNDS_MODE_P", "(", "mode", ")", ")", "{", "if", "(", "cum", "->", "bnds_in_bt", ")", "arg", "=", "NULL", ";", "else", "if", "(", "cum", "->", "bnd_regno", "<=", "LAST_BND_REG", ")", "arg", "=", "gen_rtx_REG", "(", "BNDmode", ",", "cum", "->", "bnd_regno", ")", ";", "else", "arg", "=", "GEN_INT", "(", "cum", "->", "bnd_regno", "-", "LAST_BND_REG", "-", "1", ")", ";", "return", "arg", ";", "}", "if", "(", "mode", "==", "BLKmode", ")", "bytes", "=", "int_size_in_bytes", "(", "type", ")", ";", "else", "bytes", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "words", "=", "CEIL", "(", "bytes", ",", "UNITS_PER_WORD", ")", ";", "if", "(", "type", "&&", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", ")", "mode", "=", "type_natural_mode", "(", "type", ",", "cum", ",", "false", ")", ";", "if", "(", "TARGET_64BIT", ")", "{", "enum", "calling_abi", "call_abi", "=", "cum", "?", "cum", "->", "call_abi", ":", "ix86_abi", ";", "if", "(", "call_abi", "==", "MS_ABI", ")", "arg", "=", "function_arg_ms_64", "(", "cum", ",", "mode", ",", "omode", ",", "named", ",", "bytes", ")", ";", "else", "arg", "=", "function_arg_64", "(", "cum", ",", "mode", ",", "omode", ",", "type", ",", "named", ")", ";", "}", "else", "arg", "=", "function_arg_32", "(", "cum", ",", "mode", ",", "omode", ",", "type", ",", "bytes", ",", "words", ")", ";", "return", "arg", ";", "}", ""], "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", "1"], "File": "i3865", "Func": "ix86_function_arg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13848, "Length": 233, "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", "(", ")", ")", ";", "if", "(", "MMI", ")", "{", "MachineModuleInfoMachO", "&", "MMIMacho", "=", "MMI", "->", "getObjFileInfo", "<", "MachineModuleInfoMachO", ">", "(", ")", ";", "if", "(", "MAI", "->", "doesSupportExceptionHandling", "(", ")", ")", "{", "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", ")", ";", "}", "}", "}", "MachineModuleInfoMachO", "::", "SymbolListTy", "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", "(", ")", ";", "}", "}", "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"], "File": "PPCAsmPrinter100", "Func": "doFinalization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13849, "Length": 306, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LC3InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "LC3", "::", "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": ["LC3", "LC3", "LC3::LDR", "0"], "File": "LC3InstrInfo", "Func": "loadRegFromStackSlot", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13850, "Length": 65, "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", "=", "Ord", "==", "Release", "||", "Ord", "==", "AcquireRelease", "||", "Ord", "==", "SequentiallyConsistent", ";", "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", ".", "CreateCall3", "(", "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", ".", "CreateCall2", "(", "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)", "Func": "emitStoreConditional", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13851, "Length": 279, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "ix86_output_indirect_function_return", "(", "rtx", "ret_op", ")", "{", "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", ")", ";", "unsigned", "int", "regno", "=", "REGNO", "(", "ret_op", ")", ";", "gcc_assert", "(", "regno", "==", "CX_REG", ")", ";", "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", ",", "regno", ",", "need_prefix", ",", "true", ")", ";", "if", "(", "need_prefix", "==", "indirect_thunk_prefix_bnd", ")", "{", "if", "(", "need_thunk", ")", "{", "indirect_return_via_cx_bnd", "=", "true", ";", "indirect_thunks_bnd_used", "|=", "1", "<<", "CX_REG", ";", "}", "fprintf", "(", "asm_out_file", ",", "\"\\tbnd jmp\\t%s\\n\"", ",", "thunk_name", ")", ";", "}", "else", "{", "if", "(", "need_thunk", ")", "{", "indirect_return_via_cx", "=", "true", ";", "indirect_thunks_used", "|=", "1", "<<", "CX_REG", ";", "}", "fprintf", "(", "asm_out_file", ",", "\"\\tjmp\\t%s\\n\"", ",", "thunk_name", ")", ";", "}", "}", "else", "output_indirect_thunk", "(", "need_prefix", ",", "regno", ")", ";", "return", "\"\"", ";", "}", "else", "return", "\"%!jmp\\t%A0\"", ";", "}", ""], "natrual_language": ["Output", "indirect", "function", "return", ".", "RET_OP", "is", "the", "function", "return", "target", "."], "TS_V_token": ["i386", "32", "1", "\"\\tbnd jmp\\t%s\\n\"", "1", "\"\\tjmp\\t%s\\n\"", "\"\"", "\"%!jmp\\t%A0\""], "File": "i3867", "Func": "ix86_output_indirect_function_return", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13852, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "addInstSelector", "(", ")", "override", "{", "addPass", "(", "createUPTISelDag", "(", "getUPTTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["UPT", "UPT", "UPT"], "File": "UPTTargetMachine", "Func": "addInstSelector", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13853, "Length": 24, "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", "=", "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", ")", ";", "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": "Thumb1InstrInfo38", "Func": "restoreCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13854, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "nds32_adjust_insn_length", "(", "rtx_insn", "*", "insn", ",", "int", "length", ")", "{", "rtx", "src", ",", "dst", ";", "switch", "(", "recog_memoized", "(", "insn", ")", ")", "{", "case", "CODE_FOR_move_df", ":", "case", "CODE_FOR_move_di", ":", "src", "=", "XEXP", "(", "PATTERN", "(", "insn", ")", ",", "1", ")", ";", "dst", "=", "XEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ")", ";", "if", "(", "REG_P", "(", "src", ")", "&&", "REG_P", "(", "dst", ")", "&&", "(", "REGNO", "(", "src", ")", "%", "2", ")", "==", "0", "&&", "(", "REGNO", "(", "dst", ")", "%", "2", ")", "==", "0", ")", "length", "=", "2", ";", "break", ";", "default", ":", "break", ";", "}", "return", "length", ";", "}", ""], "natrual_language": ["Computing", "the", "Length", "of", "an", "Insn", ".", "Modifies", "the", "length", "assigned", "to", "instruction", "INSN", ".", "LEN", "is", "the", "initially", "computed", "length", "of", "the", "insn", "."], "TS_V_token": ["nds32", "1", "0", "2", "0", "2", "0", "2"], "File": "nds322", "Func": "nds32_adjust_insn_length", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13855, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "loongarch_strip_unspec_address", "(", "rtx", "op", ")", "{", "rtx", "base", ",", "offset", ";", "split_const", "(", "op", ",", "&", "base", ",", "&", "offset", ")", ";", "if", "(", "UNSPEC_ADDRESS_P", "(", "base", ")", ")", "op", "=", "plus_constant", "(", "Pmode", ",", "UNSPEC_ADDRESS", "(", "base", ")", ",", "INTVAL", "(", "offset", ")", ")", ";", "return", "op", ";", "}", ""], "natrual_language": ["If", "OP", "is", "an", "UNSPEC", "address", ",", "return", "the", "address", "to", "which", "it", "refers", ",", "otherwise", "return", "OP", "itself", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_strip_unspec_address", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13856, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LC3InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "LC3", "::", "ADDrr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ".", "addImm", "(", "0", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["LC3", "LC3", "LC3::ADDrr", "0"], "File": "LC3InstrInfo", "Func": "copyPhysReg", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13857, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_float_const_rtx_p", "(", "rtx", "x", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "x", ")", ";", "if", "(", "mode", "==", "VOIDmode", ")", "return", "false", ";", "unsigned", "HOST_WIDE_INT", "ival", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST_DOUBLE", "&&", "SCALAR_FLOAT_MODE_P", "(", "mode", ")", "&&", "aarch64_reinterpret_float_as_int", "(", "x", ",", "&", "ival", ")", ")", "{", "scalar_int_mode", "imode", "=", "(", "mode", "==", "HFmode", "?", "SImode", ":", "int_mode_for_mode", "(", "mode", ")", ".", "require", "(", ")", ")", ";", "int", "num_instr", "=", "aarch64_internal_mov_immediate", "(", "NULL_RTX", ",", "gen_int_mode", "(", "ival", ",", "imode", ")", ",", "false", ",", "imode", ")", ";", "return", "num_instr", "<", "3", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "rtx", "X", "is", "an", "immediate", "constant", "that", "can", "be", "moved", "using", "a", "single", "MOV", "(", "+MOVK", ")", "followed", "by", "an", "FMOV", "."], "TS_V_token": ["aarch64", "3"], "File": "aarch64", "Func": "aarch64_float_const_rtx_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13858, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SHUXIInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "O", ",", "unsigned", "RegNo", ")", "const", "{", "O", "<<", "StringRef", "(", "getRegisterName", "(", "RegNo", ")", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["SHUXI", "SHUXI"], "File": "SHUXIInstPrinter", "Func": "printRegName", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13859, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_debug_secondary_memory_needed", "(", "machine_mode", "mode", ",", "reg_class_t", "from_class", ",", "reg_class_t", "to_class", ")", "{", "bool", "ret", "=", "rs6000_secondary_memory_needed", "(", "mode", ",", "from_class", ",", "to_class", ")", ";", "fprintf", "(", "stderr", ",", "\"rs6000_secondary_memory_needed, return: %s, from_class = %s, \"", "\"to_class = %s, mode = %s\\n\"", ",", "ret", "?", "\"true\"", ":", "\"false\"", ",", "reg_class_names", "[", "from_class", "]", ",", "reg_class_names", "[", "to_class", "]", ",", "GET_MODE_NAME", "(", "mode", ")", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Debug", "version", "of", "rs6000_secondary_memory_needed", "."], "TS_V_token": ["rs6000", "\"rs6000_secondary_memory_needed, return: %s, from_class = %s, \"", "\"to_class = %s, mode = %s\\n\"", "\"true\"", "\"false\""], "File": "rs6000", "Func": "rs6000_debug_secondary_memory_needed", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13860, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "X86TargetLowering", "::", "hasFastEqualityCompare", "(", "unsigned", "NumBits", ")", "const", "{", "MVT", "VT", "=", "MVT", "::", "getIntegerVT", "(", "NumBits", ")", ";", "if", "(", "isTypeLegal", "(", "VT", ")", ")", "return", "VT", ";", "if", "(", "NumBits", "==", "128", "&&", "isTypeLegal", "(", "MVT", "::", "v16i8", ")", ")", "return", "MVT", "::", "v16i8", ";", "if", "(", "NumBits", "==", "256", "&&", "isTypeLegal", "(", "MVT", "::", "v32i8", ")", ")", "return", "MVT", "::", "v32i8", ";", "return", "MVT", "::", "INVALID_SIMPLE_VALUE_TYPE", ";", "}", ""], "natrual_language": ["Vector-sized", "comparisons", "are", "fast", "using", "PCMPEQ", "+", "PMOVMSK", "or", "PTEST", "."], "TS_V_token": ["X86", "X86", "MVT::getIntegerVT", "128", "MVT::v16i8", "MVT::v16i8", "256", "MVT::v32i8", "MVT::v32i8", "MVT::INVALID_SIMPLE_VALUE_TYPE"], "File": "X86ISelLowering (2)5", "Func": "hasFastEqualityCompare", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13861, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "OR1K", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["OR1K", "OR1K::NumTargetFixupKinds"], "File": "OR1KAsmBackend1", "Func": "getNumFixupKinds", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13862, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "unsigned", "int", "execute", "(", "function", "*", "fun", ")", "{", "return", "rs6000_analyze_swaps", "(", "fun", ")", ";", "}", ""], "natrual_language": ["Main", "entry", "point", "for", "this", "pass", "."], "TS_V_token": ["rs6000"], "File": "rs6000-p8swap", "Func": "execute", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13863, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "complete_base_type", "(", "typeinfo", "*", "typeptr", ",", "char", "*", "buf", ",", "int", "*", "bufi", ")", "{", "switch", "(", "typeptr", "->", "base", ")", "{", "case", "BT_CHAR", ":", "memcpy", "(", "&", "buf", "[", "*", "bufi", "]", ",", "\"qi\"", ",", "2", ")", ";", "break", ";", "case", "BT_SHORT", ":", "memcpy", "(", "&", "buf", "[", "*", "bufi", "]", ",", "\"hi\"", ",", "2", ")", ";", "break", ";", "case", "BT_INT", ":", "memcpy", "(", "&", "buf", "[", "*", "bufi", "]", ",", "\"si\"", ",", "2", ")", ";", "break", ";", "case", "BT_LONG", ":", "memcpy", "(", "&", "buf", "[", "*", "bufi", "]", ",", "\"lg\"", ",", "2", ")", ";", "break", ";", "case", "BT_LONGLONG", ":", "memcpy", "(", "&", "buf", "[", "*", "bufi", "]", ",", "\"di\"", ",", "2", ")", ";", "break", ";", "case", "BT_FLOAT", ":", "memcpy", "(", "&", "buf", "[", "*", "bufi", "]", ",", "\"sf\"", ",", "2", ")", ";", "break", ";", "case", "BT_DOUBLE", ":", "memcpy", "(", "&", "buf", "[", "*", "bufi", "]", ",", "\"df\"", ",", "2", ")", ";", "break", ";", "case", "BT_LONGDOUBLE", ":", "memcpy", "(", "&", "buf", "[", "*", "bufi", "]", ",", "\"ld\"", ",", "2", ")", ";", "break", ";", "case", "BT_INT128", ":", "memcpy", "(", "&", "buf", "[", "*", "bufi", "]", ",", "\"ti\"", ",", "2", ")", ";", "break", ";", "case", "BT_FLOAT128", ":", "memcpy", "(", "&", "buf", "[", "*", "bufi", "]", ",", "\"tf\"", ",", "2", ")", ";", "break", ";", "case", "BT_BOOL", ":", "memcpy", "(", "&", "buf", "[", "*", "bufi", "]", ",", "\"bi\"", ",", "2", ")", ";", "break", ";", "case", "BT_STRING", ":", "memcpy", "(", "&", "buf", "[", "*", "bufi", "]", ",", "\"st\"", ",", "2", ")", ";", "break", ";", "case", "BT_DECIMAL32", ":", "memcpy", "(", "&", "buf", "[", "*", "bufi", "]", ",", "\"sd\"", ",", "2", ")", ";", "break", ";", "case", "BT_DECIMAL64", ":", "memcpy", "(", "&", "buf", "[", "*", "bufi", "]", ",", "\"dd\"", ",", "2", ")", ";", "break", ";", "case", "BT_DECIMAL128", ":", "memcpy", "(", "&", "buf", "[", "*", "bufi", "]", ",", "\"td\"", ",", "2", ")", ";", "break", ";", "case", "BT_IBM128", ":", "memcpy", "(", "&", "buf", "[", "*", "bufi", "]", ",", "\"if\"", ",", "2", ")", ";", "break", ";", "default", ":", "diag", "(", "pos", ",", "\"unhandled basetype %d.\\n\"", ",", "typeptr", "->", "base", ")", ";", "exit", "(", "1", ")", ";", "}", "*", "bufi", "+=", "2", ";", "}", ""], "natrual_language": ["Convert", "a", "base", "type", "into", "a", "mode", "string", "."], "TS_V_token": ["rs6000", "\"qi\"", "2", "\"hi\"", "2", "\"si\"", "2", "\"lg\"", "2", "\"di\"", "2", "\"sf\"", "2", "\"df\"", "2", "\"ld\"", "2", "\"ti\"", "2", "\"tf\"", "2", "\"bi\"", "2", "\"st\"", "2", "\"sd\"", "2", "\"dd\"", "2", "\"td\"", "2", "\"if\"", "2", "\"unhandled basetype %d.\\n\"", "1", "2"], "File": "rs6000-gen-builtins", "Func": "complete_base_type", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13864, "Length": 353, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "adjacent_mem_locations", "(", "rtx", "mem1", ",", "rtx", "mem2", ")", "{", "rtx", "reg1", ",", "reg2", ";", "HOST_WIDE_INT", "off1", ",", "size1", ",", "off2", ",", "size2", ";", "if", "(", "MEM_P", "(", "mem1", ")", "&&", "MEM_P", "(", "mem2", ")", "&&", "get_memref_parts", "(", "mem1", ",", "&", "reg1", ",", "&", "off1", ",", "&", "size1", ")", "&&", "get_memref_parts", "(", "mem2", ",", "&", "reg2", ",", "&", "off2", ",", "&", "size2", ")", "&&", "REGNO", "(", "reg1", ")", "==", "REGNO", "(", "reg2", ")", ")", "{", "if", "(", "off1", "+", "size1", "==", "off2", ")", "return", "mem1", ";", "else", "if", "(", "off2", "+", "size2", "==", "off1", ")", "return", "mem2", ";", "}", "return", "NULL_RTX", ";", "}", ""], "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": ["rs6000"], "File": "rs6000", "Func": "adjacent_mem_locations", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13865, "Length": 104, "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": 13866, "Length": 476, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiAsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", ",", "MCContext", "&", ")", "const", "{", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "static_cast", "<", "unsigned", ">", "(", "Kind", ")", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "+", "7", ")", "/", "8", ";", "unsigned", "FullSize", "=", "4", ";", "uint64_t", "CurVal", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "(", "FullSize", "-", "1", "-", "i", ")", ";", "CurVal", "|=", "static_cast", "<", "uint64_t", ">", "(", "static_cast", "<", "uint8_t", ">", "(", "Data", "[", "Offset", "+", "Idx", "]", ")", ")", "<<", "(", "i", "*", "8", ")", ";", "}", "uint64_t", "Mask", "=", "(", "static_cast", "<", "uint64_t", ">", "(", "-", "1", ")", ">>", "(", "64", "-", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", ")", ";", "CurVal", "|=", "Value", "&", "Mask", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "(", "FullSize", "-", "1", "-", "i", ")", ";", "Data", "[", "Offset", "+", "Idx", "]", "=", "static_cast", "<", "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": ["Lanai", "Lanai", "7", "8", "4", "0", "0", "1", "8", "1", "64", "0", "1", "8", "0xff"], "File": "LanaiAsmBackend1", "Func": "applyFixup", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13867, "Length": 230, "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", ")", ";", "rtx", "(", "*", "load_unaligned", ")", "(", "rtx", ",", "rtx", ")", ";", "rtx", "(", "*", "store_unaligned", ")", "(", "rtx", ",", "rtx", ")", ";", "machine_mode", "mode", ";", "switch", "(", "GET_MODE", "(", "op0", ")", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "V32QImode", ":", "extract", "=", "gen_avx_vextractf128v32qi", ";", "load_unaligned", "=", "gen_avx_loaddquv32qi", ";", "store_unaligned", "=", "gen_avx_storedquv32qi", ";", "mode", "=", "V16QImode", ";", "break", ";", "case", "V8SFmode", ":", "extract", "=", "gen_avx_vextractf128v8sf", ";", "load_unaligned", "=", "gen_avx_loadups256", ";", "store_unaligned", "=", "gen_avx_storeups256", ";", "mode", "=", "V4SFmode", ";", "break", ";", "case", "V4DFmode", ":", "extract", "=", "gen_avx_vextractf128v4df", ";", "load_unaligned", "=", "gen_avx_loadupd256", ";", "store_unaligned", "=", "gen_avx_storeupd256", ";", "mode", "=", "V2DFmode", ";", "break", ";", "}", "if", "(", "MEM_P", "(", "op1", ")", ")", "{", "if", "(", "TARGET_AVX256_SPLIT_UNALIGNED_LOAD", "&&", "optimize_insn_for_speed_p", "(", ")", ")", "{", "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", "(", "misaligned_operand", "(", "op1", ",", "GET_MODE", "(", "op1", ")", ")", ")", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "op0", ",", "op1", ")", ")", ";", "else", "emit_insn", "(", "load_unaligned", "(", "op0", ",", "op1", ")", ")", ";", "}", "else", "if", "(", "MEM_P", "(", "op0", ")", ")", "{", "if", "(", "TARGET_AVX256_SPLIT_UNALIGNED_STORE", "&&", "optimize_insn_for_speed_p", "(", ")", ")", "{", "m", "=", "adjust_address", "(", "op0", ",", "mode", ",", "0", ")", ";", "emit_insn", "(", "extract", "(", "m", ",", "op1", ",", "const0_rtx", ")", ")", ";", "m", "=", "adjust_address", "(", "op0", ",", "mode", ",", "16", ")", ";", "emit_insn", "(", "extract", "(", "m", ",", "op1", ",", "const1_rtx", ")", ")", ";", "}", "else", "emit_insn", "(", "store_unaligned", "(", "op0", ",", "op1", ")", ")", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Split", "32-byte", "AVX", "unaligned", "load", "and", "store", "if", "needed", "."], "TS_V_token": ["i386", "0", "16", "0", "16"], "File": "i3864", "Func": "ix86_avx256_split_vector_move_misalign", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13868, "Length": 326, "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": 13869, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ")", "const", "{", "Value", "=", "adjustFixupValue", "(", "Fixup", ".", "getKind", "(", ")", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "Data", "[", "Offset", "+", "i", "]", "|=", "uint8_t", "(", "(", "Value", ">>", "(", "(", "NumBytes", "-", "i", "-", "1", ")", "*", "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", "1", "8", "0xff"], "File": "PPCAsmBackend1", "Func": "applyFixup", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13870, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_expand_vec_perm_const_1", "(", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ",", "unsigned", "char", "perm0", ",", "unsigned", "char", "perm1", ")", "{", "rtx", "x", ";", "if", "(", "(", "perm0", "&", "2", ")", "==", "(", "perm1", "&", "2", ")", ")", "{", "if", "(", "perm0", "&", "2", ")", "op0", "=", "op1", ";", "else", "op1", "=", "op0", ";", "}", "if", "(", "rtx_equal_p", "(", "op0", ",", "op1", ")", ")", "{", "perm0", "=", "perm0", "&", "1", ";", "perm1", "=", "(", "perm1", "&", "1", ")", "+", "2", ";", "}", "else", "if", "(", "perm0", "&", "2", ")", "{", "if", "(", "perm1", "&", "2", ")", "return", "false", ";", "perm0", "-=", "2", ";", "perm1", "+=", "2", ";", "std", "::", "swap", "(", "op0", ",", "op1", ")", ";", "}", "else", "if", "(", "(", "perm1", "&", "2", ")", "==", "0", ")", "return", "false", ";", "if", "(", "target", "!=", "NULL", ")", "{", "machine_mode", "vmode", ",", "dmode", ";", "rtvec", "v", ";", "vmode", "=", "GET_MODE", "(", "target", ")", ";", "gcc_assert", "(", "GET_MODE_NUNITS", "(", "vmode", ")", "==", "2", ")", ";", "dmode", "=", "mode_for_vector", "(", "GET_MODE_INNER", "(", "vmode", ")", ",", "4", ")", ";", "x", "=", "gen_rtx_VEC_CONCAT", "(", "dmode", ",", "op0", ",", "op1", ")", ";", "v", "=", "gen_rtvec", "(", "2", ",", "GEN_INT", "(", "perm0", ")", ",", "GEN_INT", "(", "perm1", ")", ")", ";", "x", "=", "gen_rtx_VEC_SELECT", "(", "vmode", ",", "x", ",", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "v", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "target", ",", "x", ")", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Expand", "a", "Paired", "Single", "or", "VSX", "Permute", "Doubleword", "constant", "permutation", ".", "Return", "true", "if", "we", "match", "an", "efficient", "implementation", "."], "TS_V_token": ["rs6000", "2", "2", "2", "1", "1", "2", "2", "2", "2", "2", "2", "0", "2", "4", "2"], "File": "rs60005", "Func": "rs6000_expand_vec_perm_const_1", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13871, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "vax_output_function_prologue", "(", "FILE", "*", "file", ",", "HOST_WIDE_INT", "size", ")", "{", "int", "regno", ";", "int", "mask", "=", "0", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "regs_ever_live", "[", "regno", "]", "&&", "!", "call_used_regs", "[", "regno", "]", ")", "mask", "|=", "1", "<<", "regno", ";", "fprintf", "(", "file", ",", "\"\\t.word 0x%x\\n\"", ",", "mask", ")", ";", "if", "(", "dwarf2out_do_frame", "(", ")", ")", "{", "const", "char", "*", "label", "=", "dwarf2out_cfi_label", "(", ")", ";", "int", "offset", "=", "0", ";", "for", "(", "regno", "=", "FIRST_PSEUDO_REGISTER", "-", "1", ";", "regno", ">=", "0", ";", "--", "regno", ")", "if", "(", "regs_ever_live", "[", "regno", "]", "&&", "!", "call_used_regs", "[", "regno", "]", ")", "dwarf2out_reg_save", "(", "label", ",", "regno", ",", "offset", "-=", "4", ")", ";", "dwarf2out_reg_save", "(", "label", ",", "PC_REGNUM", ",", "offset", "-=", "4", ")", ";", "dwarf2out_reg_save", "(", "label", ",", "FRAME_POINTER_REGNUM", ",", "offset", "-=", "4", ")", ";", "dwarf2out_reg_save", "(", "label", ",", "ARG_POINTER_REGNUM", ",", "offset", "-=", "4", ")", ";", "dwarf2out_def_cfa", "(", "label", ",", "FRAME_POINTER_REGNUM", ",", "-", "(", "offset", "-", "4", ")", ")", ";", "}", "size", "-=", "STARTING_FRAME_OFFSET", ";", "if", "(", "size", ">=", "64", ")", "asm_fprintf", "(", "file", ",", "\"\\tmovab %wd(%Rsp),%Rsp\\n\"", ",", "-", "size", ")", ";", "else", "if", "(", "size", ")", "asm_fprintf", "(", "file", ",", "\"\\tsubl2 $%wd,%Rsp\\n\"", ",", "size", ")", ";", "}", ""], "natrual_language": ["Generate", "the", "assembly", "code", "for", "function", "entry", ".", "FILE", "is", "a", "stdio", "stream", "to", "output", "the", "code", "to", ".", "SIZE", "is", "an", "int", ":", "how", "many", "units", "of", "temporary", "storage", "to", "allocate", ".", "Refer", "to", "the", "array", "`", "regs_ever_live", "'", "to", "determine", "which", "registers", "to", "save", ";", "`", "regs_ever_live", "[", "I", "]", "'", "is", "nonzero", "if", "register", "number", "I", "is", "ever", "used", "in", "the", "function", ".", "This", "function", "is", "responsible", "for", "knowing", "which", "registers", "should", "not", "be", "saved", "even", "if", "used", "."], "TS_V_token": ["vax", "0", "0", "1", "\"\\t.word 0x%x\\n\"", "0", "1", "0", "4", "4", "4", "4", "4", "64", "\"\\tmovab %wd(%Rsp),%Rsp\\n\"", "\"\\tsubl2 $%wd,%Rsp\\n\""], "File": "vax3", "Func": "vax_output_function_prologue", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13872, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ia64_vectorize_vec_perm_const", "(", "machine_mode", "vmode", ",", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ",", "const", "vec_perm_indices", "&", "sel", ")", "{", "struct", "expand_vec_perm_d", "d", ";", "unsigned", "char", "perm", "[", "MAX_VECT_LEN", "]", ";", "unsigned", "int", "i", ",", "nelt", ",", "which", ";", "d", ".", "target", "=", "target", ";", "if", "(", "op0", ")", "{", "rtx", "nop0", "=", "force_reg", "(", "vmode", ",", "op0", ")", ";", "if", "(", "op0", "==", "op1", ")", "op1", "=", "nop0", ";", "op0", "=", "nop0", ";", "}", "if", "(", "op1", ")", "op1", "=", "force_reg", "(", "vmode", ",", "op1", ")", ";", "d", ".", "op0", "=", "op0", ";", "d", ".", "op1", "=", "op1", ";", "d", ".", "vmode", "=", "vmode", ";", "gcc_assert", "(", "VECTOR_MODE_P", "(", "d", ".", "vmode", ")", ")", ";", "d", ".", "nelt", "=", "nelt", "=", "GET_MODE_NUNITS", "(", "d", ".", "vmode", ")", ";", "d", ".", "testing_p", "=", "!", "target", ";", "gcc_assert", "(", "sel", ".", "length", "(", ")", "==", "nelt", ")", ";", "gcc_checking_assert", "(", "sizeof", "(", "d", ".", "perm", ")", "==", "sizeof", "(", "perm", ")", ")", ";", "for", "(", "i", "=", "which", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "{", "unsigned", "int", "ei", "=", "sel", "[", "i", "]", "&", "(", "2", "*", "nelt", "-", "1", ")", ";", "which", "|=", "(", "ei", "<", "nelt", "?", "1", ":", "2", ")", ";", "d", ".", "perm", "[", "i", "]", "=", "ei", ";", "perm", "[", "i", "]", "=", "ei", ";", "}", "switch", "(", "which", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "3", ":", "if", "(", "d", ".", "testing_p", "||", "!", "rtx_equal_p", "(", "d", ".", "op0", ",", "d", ".", "op1", ")", ")", "{", "d", ".", "one_operand_p", "=", "false", ";", "break", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "if", "(", "d", ".", "perm", "[", "i", "]", ">=", "nelt", ")", "d", ".", "perm", "[", "i", "]", "-=", "nelt", ";", "case", "1", ":", "d", ".", "op1", "=", "d", ".", "op0", ";", "d", ".", "one_operand_p", "=", "true", ";", "break", ";", "case", "2", ":", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "d", ".", "perm", "[", "i", "]", "-=", "nelt", ";", "d", ".", "op0", "=", "d", ".", "op1", ";", "d", ".", "one_operand_p", "=", "true", ";", "break", ";", "}", "if", "(", "d", ".", "testing_p", ")", "{", "d", ".", "target", "=", "gen_raw_REG", "(", "d", ".", "vmode", ",", "LAST_VIRTUAL_REGISTER", "+", "1", ")", ";", "d", ".", "op1", "=", "d", ".", "op0", "=", "gen_raw_REG", "(", "d", ".", "vmode", ",", "LAST_VIRTUAL_REGISTER", "+", "2", ")", ";", "if", "(", "!", "d", ".", "one_operand_p", ")", "d", ".", "op1", "=", "gen_raw_REG", "(", "d", ".", "vmode", ",", "LAST_VIRTUAL_REGISTER", "+", "3", ")", ";", "start_sequence", "(", ")", ";", "bool", "ret", "=", "ia64_expand_vec_perm_const_1", "(", "&", "d", ")", ";", "end_sequence", "(", ")", ";", "return", "ret", ";", "}", "if", "(", "ia64_expand_vec_perm_const_1", "(", "&", "d", ")", ")", "return", "true", ";", "if", "(", "which", "==", "3", "&&", "d", ".", "one_operand_p", ")", "{", "memcpy", "(", "d", ".", "perm", ",", "perm", ",", "sizeof", "(", "perm", ")", ")", ";", "d", ".", "one_operand_p", "=", "false", ";", "return", "ia64_expand_vec_perm_const_1", "(", "&", "d", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VECTORIZE_VEC_PERM_CONST", "."], "TS_V_token": ["ia64", "0", "2", "1", "1", "2", "3", "0", "1", "2", "0", "1", "2", "3", "3"], "File": "ia64", "Func": "ia64_vectorize_vec_perm_const", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13873, "Length": 500, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "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": "SparcISelLowering19", "Func": "getExceptionSelectorRegister", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13874, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmBackend", "::", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "static", "const", "uint8_t", "Nops", "[", "10", "]", "[", "10", "]", "=", "{", "{", "0x90", "}", ",", "{", "0x66", ",", "0x90", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x40", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x44", ",", "0x00", ",", "0x00", "}", ",", "{", "0x66", ",", "0x0f", ",", "0x1f", ",", "0x44", ",", "0x00", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x80", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x84", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "{", "0x66", ",", "0x0f", ",", "0x1f", ",", "0x84", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "{", "0x66", ",", "0x2e", ",", "0x0f", ",", "0x1f", ",", "0x84", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "}", ";", "if", "(", "!", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "FeatureNOPL", "]", ")", "{", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "<", "Count", ";", "++", "i", ")", "OW", "->", "write8", "(", "0x90", ")", ";", "return", "true", ";", "}", "uint64_t", "MaxNopLength", "=", "10", ";", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "ProcIntelSLM", "]", ")", "MaxNopLength", "=", "7", ";", "else", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "FeatureFast15ByteNOP", "]", ")", "MaxNopLength", "=", "15", ";", "else", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "FeatureFast11ByteNOP", "]", ")", "MaxNopLength", "=", "11", ";", "do", "{", "const", "uint8_t", "ThisNopLength", "=", "(", "uint8_t", ")", "std", "::", "min", "(", "Count", ",", "MaxNopLength", ")", ";", "const", "uint8_t", "Prefixes", "=", "ThisNopLength", "<=", "10", "?", "0", ":", "ThisNopLength", "-", "10", ";", "for", "(", "uint8_t", "i", "=", "0", ";", "i", "<", "Prefixes", ";", "i", "++", ")", "OW", "->", "write8", "(", "0x66", ")", ";", "const", "uint8_t", "Rest", "=", "ThisNopLength", "-", "Prefixes", ";", "for", "(", "uint8_t", "i", "=", "0", ";", "i", "<", "Rest", ";", "i", "++", ")", "OW", "->", "write8", "(", "Nops", "[", "Rest", "-", "1", "]", "[", "i", "]", ")", ";", "Count", "-=", "ThisNopLength", ";", "}", "while", "(", "Count", "!=", "0", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["X86", "X86", "10", "10", "0x90", "0x66", "0x90", "0x0f", "0x1f", "0x00", "0x0f", "0x1f", "0x40", "0x00", "0x0f", "0x1f", "0x44", "0x00", "0x00", "0x66", "0x0f", "0x1f", "0x44", "0x00", "0x00", "0x0f", "0x1f", "0x80", "0x00", "0x00", "0x00", "0x00", "0x0f", "0x1f", "0x84", "0x00", "0x00", "0x00", "0x00", "0x00", "0x66", "0x0f", "0x1f", "0x84", "0x00", "0x00", "0x00", "0x00", "0x00", "0x66", "0x2e", "0x0f", "0x1f", "0x84", "0x00", "0x00", "0x00", "0x00", "0x00", "X86::FeatureNOPL", "0", "0x90", "10", "X86::ProcIntelSLM", "7", "X86::FeatureFast15ByteNOP", "15", "X86::FeatureFast11ByteNOP", "11", "10", "0", "10", "0", "0x66", "0", "1", "0"], "File": "X86AsmBackend61", "Func": "writeNopData", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13875, "Length": 362, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMFastISel", "::", "fastEmitInst_r", "(", "unsigned", "MachineInstOpcode", ",", "const", "TargetRegisterClass", "*", "RC", ",", "unsigned", "Op0", ")", "{", "Register", "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", ")", ")", ";", "}", "else", "{", "AddOptionalDefs", "(", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "II", ")", ".", "addReg", "(", "Op0", ")", ")", ";", "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": "ARMFastISel24", "Func": "fastEmitInst_r", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13876, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "arm_invalid_binary_op", "(", "int", "op", "ATTRIBUTE_UNUSED", ",", "const_tree", "type1", ",", "const_tree", "type2", ")", "{", "if", "(", "element_mode", "(", "type1", ")", "==", "BFmode", "||", "element_mode", "(", "type2", ")", "==", "BFmode", ")", "return", "N_", "(", "\"operation not permitted on type %\"", ")", ";", "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": ["arm", "\"operation not permitted on type %\""], "File": "arm", "Func": "arm_invalid_binary_op", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13877, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isUnspillableTerminatorImpl", "(", "const", "MachineInstr", "*", "MI", ")", "const", "override", "{", "return", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2LoopEndDec", "||", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2DoLoopStartTP", "||", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2WhileLoopStartLR", "||", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2WhileLoopStartTP", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "given", "terminator", "MI", "is", "not", "expected", "to", "spill", "."], "TS_V_token": ["ARM", "ARM::t2LoopEndDec", "ARM::t2DoLoopStartTP", "ARM::t2WhileLoopStartLR", "ARM::t2WhileLoopStartTP"], "File": "ARMBaseInstrInfo (2)2", "Func": "isUnspillableTerminatorImpl", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13878, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "LC3RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "LC3", "::", "SP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["LC3", "LC3", "LC3::SP"], "File": "LC3RegisterInfo", "Func": "getFrameRegister", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13879, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "EVT", "VT", ")", "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": "X86ISelLowering (2)", "Func": "getRegisterByName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13880, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "CAHPRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "RegInfo", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["CAHP", "CAHP"], "File": "CAHPSubtarget", "Func": "getRegisterInfo", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13881, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "ia64_initial_elimination_offset", "(", "int", "from", ",", "int", "to", ")", "{", "HOST_WIDE_INT", "offset", ";", "ia64_compute_frame_size", "(", "get_frame_size", "(", ")", ")", ";", "switch", "(", "from", ")", "{", "case", "FRAME_POINTER_REGNUM", ":", "switch", "(", "to", ")", "{", "case", "HARD_FRAME_POINTER_REGNUM", ":", "offset", "=", "-", "current_frame_info", ".", "total_size", ";", "if", "(", "!", "crtl", "->", "is_leaf", "||", "cfun", "->", "calls_alloca", ")", "offset", "+=", "16", "+", "crtl", "->", "outgoing_args_size", ";", "break", ";", "case", "STACK_POINTER_REGNUM", ":", "offset", "=", "0", ";", "if", "(", "!", "crtl", "->", "is_leaf", "||", "cfun", "->", "calls_alloca", ")", "offset", "+=", "16", "+", "crtl", "->", "outgoing_args_size", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "break", ";", "case", "ARG_POINTER_REGNUM", ":", "switch", "(", "to", ")", "{", "case", "HARD_FRAME_POINTER_REGNUM", ":", "offset", "=", "16", "-", "crtl", "->", "args", ".", "pretend_args_size", ";", "break", ";", "case", "STACK_POINTER_REGNUM", ":", "offset", "=", "(", "current_frame_info", ".", "total_size", "+", "16", "-", "crtl", "->", "args", ".", "pretend_args_size", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "offset", ";", "}", ""], "natrual_language": ["Compute", "the", "initial", "difference", "between", "the", "specified", "pair", "of", "registers", "."], "TS_V_token": ["ia64", "16", "0", "16", "16", "16"], "File": "ia64", "Func": "ia64_initial_elimination_offset", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13882, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_nsaved_regs", "(", "void", ")", "{", "int", "nregs", "=", "0", ";", "int", "regno", ";", "for", "(", "regno", "=", "FIRST_PSEUDO_REGISTER", "-", "1", ";", "regno", ">=", "0", ";", "regno", "--", ")", "if", "(", "ix86_save_reg", "(", "regno", ",", "true", ")", ")", "nregs", "++", ";", "return", "nregs", ";", "}", ""], "natrual_language": ["Return", "number", "of", "registers", "to", "be", "saved", "on", "the", "stack", "."], "TS_V_token": ["i386", "0", "1", "0"], "File": "i3863", "Func": "ix86_nsaved_regs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13883, "Length": 46, "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", "=", "CALL_USED_REGISTERS_MASK", "(", "TARGET_64BIT_MS_ABI", ")", ";", "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", "\"\"", "0", "1", "0", "1", "\"\"", "0", "1", "\"\"", "0", "1", "\"\"", "1", "\"\"", "1", "\"\"", "1", "\"\""], "File": "i3865", "Func": "ix86_conditional_register_usage", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13884, "Length": 475, "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": "X86FastISel (2)", "Func": "getTargetMachine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13885, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_expand_vector_init", "(", "rtx", "target", ",", "rtx", "vals", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "target", ")", ";", "machine_mode", "inner_mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "int", "n_elts", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "int", "n_var", "=", "0", ";", "rtx", "any_const", "=", "NULL_RTX", ";", "rtx", "v0", "=", "XVECEXP", "(", "vals", ",", "0", ",", "0", ")", ";", "bool", "all_same", "=", "true", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "n_elts", ";", "++", "i", ")", "{", "rtx", "x", "=", "XVECEXP", "(", "vals", ",", "0", ",", "i", ")", ";", "if", "(", "!", "(", "CONST_INT_P", "(", "x", ")", "||", "CONST_DOUBLE_P", "(", "x", ")", ")", ")", "++", "n_var", ";", "else", "any_const", "=", "x", ";", "all_same", "&=", "rtx_equal_p", "(", "x", ",", "v0", ")", ";", "}", "if", "(", "n_var", "==", "0", ")", "{", "rtx", "constant", "=", "aarch64_simd_make_constant", "(", "vals", ")", ";", "if", "(", "constant", "!=", "NULL_RTX", ")", "{", "emit_move_insn", "(", "target", ",", "constant", ")", ";", "return", ";", "}", "}", "if", "(", "all_same", ")", "{", "rtx", "x", "=", "copy_to_mode_reg", "(", "inner_mode", ",", "v0", ")", ";", "aarch64_emit_move", "(", "target", ",", "gen_rtx_VEC_DUPLICATE", "(", "mode", ",", "x", ")", ")", ";", "return", ";", "}", "if", "(", "n_var", "!=", "n_elts", ")", "{", "rtx", "copy", "=", "copy_rtx", "(", "vals", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "n_elts", ";", "i", "++", ")", "{", "rtx", "x", "=", "XVECEXP", "(", "vals", ",", "0", ",", "i", ")", ";", "if", "(", "CONST_INT_P", "(", "x", ")", "||", "CONST_DOUBLE_P", "(", "x", ")", ")", "continue", ";", "rtx", "subst", "=", "any_const", ";", "for", "(", "int", "bit", "=", "n_elts", "/", "2", ";", "bit", ">", "0", ";", "bit", "/=", "2", ")", "{", "rtx", "test", "=", "XVECEXP", "(", "copy", ",", "0", ",", "i", "^", "bit", ")", ";", "if", "(", "CONST_INT_P", "(", "test", ")", "||", "CONST_DOUBLE_P", "(", "test", ")", ")", "{", "subst", "=", "test", ";", "break", ";", "}", "}", "XVECEXP", "(", "copy", ",", "0", ",", "i", ")", "=", "subst", ";", "}", "aarch64_expand_vector_init", "(", "target", ",", "copy", ")", ";", "}", "enum", "insn_code", "icode", "=", "optab_handler", "(", "vec_set_optab", ",", "mode", ")", ";", "gcc_assert", "(", "icode", "!=", "CODE_FOR_nothing", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "n_elts", ";", "i", "++", ")", "{", "rtx", "x", "=", "XVECEXP", "(", "vals", ",", "0", ",", "i", ")", ";", "if", "(", "CONST_INT_P", "(", "x", ")", "||", "CONST_DOUBLE_P", "(", "x", ")", ")", "continue", ";", "x", "=", "copy_to_mode_reg", "(", "inner_mode", ",", "x", ")", ";", "emit_insn", "(", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "x", ",", "GEN_INT", "(", "i", ")", ")", ")", ";", "}", "}", ""], "natrual_language": ["Expand", "a", "vector", "initialisation", "sequence", ",", "such", "that", "TARGET", "is", "initialised", "to", "contain", "VALS", "."], "TS_V_token": ["aarch64", "0", "0", "0", "0", "0", "0", "0", "0", "2", "0", "2", "0", "0", "0", "0"], "File": "aarch643", "Func": "aarch64_expand_vector_init", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13886, "Length": 406, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSymbol", "*", "ARMMCInstLower", "::", "GetExternalSymbolSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "switch", "(", "MO", ".", "getTargetFlags", "(", ")", ")", "{", "default", ":", "assert", "(", "0", "&&", "\"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": ["ARM", "ARM", "0", "\"Unknown target flag on GV operand\"", "0"], "File": "ARMMCInstLower2", "Func": "GetExternalSymbolSymbol", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13887, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64RegisterInfo", "::", "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", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "TII", "->", "get", "(", "AArch64", "::", "ADDXri", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MBB", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", "->", "getParent", "(", ")", ";", "MRI", ".", "constrainRegClass", "(", "BaseReg", ",", "TII", "->", "getRegClass", "(", "MCID", ",", "0", ",", "this", ",", "MF", ")", ")", ";", "unsigned", "Shifter", "=", "AArch64_AM", "::", "getShifterImm", "(", "AArch64_AM", "::", "LSL", ",", "0", ")", ";", "BuildMI", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "MCID", ",", "BaseReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "Offset", ")", ".", "addImm", "(", "Shifter", ")", ";", "}", ""], "natrual_language": ["Insert", "defining", "instruction", "(", "s", ")", "for", "a", "pointer", "to", "FrameIdx", "before", "insertion", "point", "I", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::ADDXri", "0", "AArch64_AM::getShifterImm", "AArch64_AM::LSL", "0"], "File": "AArch64RegisterInfo1", "Func": "materializeFrameBaseRegister", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13888, "Length": 156, "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": 13889, "Length": 325, "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": "AArch64ISelLowering (2)2", "Func": "canMergeStoresTo", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13890, "Length": 56, "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": 13891, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mep_jmp_return_reorg", "(", "rtx_insn", "*", "insns", ")", "{", "rtx_insn", "*", "insn", ",", "*", "label", ",", "*", "ret", ";", "int", "ret_code", ";", "for", "(", "insn", "=", "insns", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "if", "(", "simplejump_p", "(", "insn", ")", ")", "{", "label", "=", "ret", "=", "safe_as_a", "<", "rtx_insn", "*", ">", "(", "JUMP_LABEL", "(", "insn", ")", ")", ";", "while", "(", "ret", "&&", "(", "NOTE_P", "(", "ret", ")", "||", "LABEL_P", "(", "ret", ")", "||", "GET_CODE", "(", "PATTERN", "(", "ret", ")", ")", "==", "USE", ")", ")", "ret", "=", "NEXT_INSN", "(", "ret", ")", ";", "if", "(", "ret", ")", "{", "ret_code", "=", "recog_memoized", "(", "ret", ")", ";", "if", "(", "ret_code", "==", "CODE_FOR_return_internal", "||", "ret_code", "==", "CODE_FOR_eh_return_internal", ")", "{", "LABEL_NUSES", "(", "label", ")", "--", ";", "if", "(", "LABEL_NUSES", "(", "label", ")", "==", "0", ")", "delete_insn", "(", "label", ")", ";", "PATTERN", "(", "insn", ")", "=", "copy_rtx", "(", "PATTERN", "(", "ret", ")", ")", ";", "INSN_CODE", "(", "insn", ")", "=", "-", "1", ";", "}", "}", "}", "}", ""], "natrual_language": ["Replace", "a", "jump", "to", "a", "return", ",", "with", "a", "copy", "of", "the", "return", ".", "GCC", "does", "n't", "always", "do", "this", "on", "its", "own", "."], "TS_V_token": ["mep", "0", "1"], "File": "mep", "Func": "mep_jmp_return_reorg", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13892, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMConstantPoolValue", "::", "dump", "(", ")", "const", "{", "cerr", "<<", "\" \"", "<<", "*", "this", ";", "}", ""], "natrual_language": ["Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "."], "TS_V_token": ["ARM", "ARM", "\" \""], "File": "ARMConstantPoolValue25", "Func": "dump", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13893, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_vector_alignment_reachable", "(", "const_tree", "type", "ATTRIBUTE_UNUSED", ",", "bool", "is_packed", ")", "{", "if", "(", "is_packed", ")", "return", "false", ";", "if", "(", "TARGET_32BIT", ")", "{", "if", "(", "rs6000_alignment_flags", "==", "MASK_ALIGN_NATURAL", ")", "return", "true", ";", "if", "(", "rs6000_alignment_flags", "==", "MASK_ALIGN_POWER", ")", "return", "true", ";", "return", "false", ";", "}", "else", "{", "if", "(", "TARGET_MACHO", ")", "return", "false", ";", "return", "true", ";", "}", "}", ""], "natrual_language": ["Return", "true", "iff", ",", "data", "reference", "of", "TYPE", "can", "reach", "vector", "alignment", "(", "16", ")", "after", "applying", "N", "number", "of", "iterations", ".", "This", "routine", "does", "not", "determine", "how", "may", "iterations", "are", "required", "to", "reach", "desired", "alignment", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_vector_alignment_reachable", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13894, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "mayBeEmittedAsTailCall", "(", "const", "CallInst", "*", "CI", ")", "const", "{", "if", "(", "!", "CI", "->", "isTailCall", "(", ")", ")", "return", "false", ";", "CallingConv", "::", "ID", "CalleeCC", "=", "CI", "->", "getCallingConv", "(", ")", ";", "if", "(", "!", "mayTailCallThisCC", "(", "CalleeCC", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "may", "be", "able", "emit", "the", "call", "instruction", "as", "a", "tail", "call", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering (2)5", "Func": "mayBeEmittedAsTailCall", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13895, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "MipsTargetStreamer", "&", "TS", "=", "getTargetStreamer", "(", ")", ";", "TS", ".", "forbidModuleDirective", "(", ")", ";", "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", "->", "getOpcode", "(", ")", "==", "Mips", "::", "PseudoReturn", "||", "I", "->", "getOpcode", "(", ")", "==", "Mips", "::", "PseudoReturn64", "||", "I", "->", "getOpcode", "(", ")", "==", "Mips", "::", "PseudoIndirectBranch", "||", "I", "->", "getOpcode", "(", ")", "==", "Mips", "::", "PseudoIndirectBranch64", ")", "{", "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::PseudoReturn", "Mips::PseudoReturn64", "Mips::PseudoIndirectBranch", "Mips::PseudoIndirectBranch64", "Mips", "\"Pseudo opcode found in EmitInstruction()\""], "File": "MipsAsmPrinter20", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13896, "Length": 361, "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", "=", "isAtLeastAcquire", "(", "Ord", ")", ";", "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)2", "Func": "emitLoadLinked", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13897, "Length": 322, "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": 13898, "Length": 121, "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": 13899, "Length": 33, "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", ".", "hasAttribute", "(", "Attribute", "::", "None", ")", "?", "CPUAttr", ".", "getValueAsString", "(", ")", ".", "str", "(", ")", ":", "TargetCPU", ";", "std", "::", "string", "FS", "=", "!", "FSAttr", ".", "hasAttribute", "(", "Attribute", "::", "None", ")", "?", "FSAttr", ".", "getValueAsString", "(", ")", ".", "str", "(", ")", ":", "TargetFS", ";", "bool", "SoftFloat", "=", "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", "<", "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\"", "\"true\"", "\"+soft-float\"", "\",+soft-float\"", "PPC"], "File": "PPCTargetMachine63", "Func": "getSubtargetImpl", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13900, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Mips Constant Islands\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"Mips Constant Islands\""], "File": "MipsConstantIslandPass12", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13901, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createSparcDelaySlotFillerPass", "(", "getSparcTargetMachine", "(", ")", ")", ")", ";", "if", "(", "this", "->", "getSparcTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "insertNOPLoad", "(", ")", ")", "{", "addPass", "(", "new", "InsertNOPLoad", "(", "getSparcTargetMachine", "(", ")", ")", ")", ";", "}", "if", "(", "this", "->", "getSparcTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "fixFSMULD", "(", ")", ")", "{", "addPass", "(", "new", "FixFSMULD", "(", "getSparcTargetMachine", "(", ")", ")", ")", ";", "}", "if", "(", "this", "->", "getSparcTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "replaceFMULS", "(", ")", ")", "{", "addPass", "(", "new", "ReplaceFMULS", "(", "getSparcTargetMachine", "(", ")", ")", ")", ";", "}", "if", "(", "this", "->", "getSparcTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "detectRoundChange", "(", ")", ")", "{", "addPass", "(", "new", "DetectRoundChange", "(", "getSparcTargetMachine", "(", ")", ")", ")", ";", "}", "if", "(", "this", "->", "getSparcTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "fixAllFDIVSQRT", "(", ")", ")", "{", "addPass", "(", "new", "FixAllFDIVSQRT", "(", "getSparcTargetMachine", "(", ")", ")", ")", ";", "}", "}", ""], "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", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc"], "File": "SparcTargetMachine16", "Func": "addPreEmitPass", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13902, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "thumb2_legitimate_index_p", "(", "machine_mode", "mode", ",", "rtx", "index", ",", "int", "strict_p", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "index", ")", ";", "if", "(", "TARGET_HARD_FLOAT", "&&", "TARGET_VFP", "&&", "(", "mode", "==", "SFmode", "||", "mode", "==", "DFmode", ")", ")", "return", "(", "code", "==", "CONST_INT", "&&", "INTVAL", "(", "index", ")", "<", "1024", "&&", "INTVAL", "(", "index", ")", ">", "-", "256", "&&", "(", "INTVAL", "(", "index", ")", "&", "3", ")", "==", "0", ")", ";", "if", "(", "TARGET_REALLY_IWMMXT", "&&", "VALID_IWMMXT_REG_MODE", "(", "mode", ")", ")", "{", "if", "(", "!", "TARGET_LDRD", "||", "mode", "!=", "DImode", ")", "return", "(", "code", "==", "CONST_INT", "&&", "INTVAL", "(", "index", ")", "<", "1024", "&&", "INTVAL", "(", "index", ")", ">", "-", "1024", "&&", "(", "INTVAL", "(", "index", ")", "&", "3", ")", "==", "0", ")", ";", "}", "if", "(", "TARGET_NEON", "&&", "VALID_NEON_QREG_MODE", "(", "mode", ")", ")", "return", "(", "code", "==", "CONST_INT", "&&", "INTVAL", "(", "index", ")", "<", "1016", "&&", "INTVAL", "(", "index", ")", ">", "-", "1024", "&&", "(", "INTVAL", "(", "index", ")", "&", "3", ")", "==", "0", ")", ";", "if", "(", "TARGET_NEON", "&&", "VALID_NEON_DREG_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", ")", ";", "return", "val", ">", "-", "256", "&&", "val", "<", "256", "&&", "(", "val", "&", "3", ")", "==", "0", ";", "}", "else", "return", "0", ";", "}", "if", "(", "code", "==", "MULT", ")", "{", "rtx", "xiop0", "=", "XEXP", "(", "index", ",", "0", ")", ";", "rtx", "xiop1", "=", "XEXP", "(", "index", ",", "1", ")", ";", "return", "(", "(", "arm_address_register_rtx_p", "(", "xiop0", ",", "strict_p", ")", "&&", "thumb2_index_mul_operand", "(", "xiop1", ")", ")", "||", "(", "arm_address_register_rtx_p", "(", "xiop1", ",", "strict_p", ")", "&&", "thumb2_index_mul_operand", "(", "xiop0", ")", ")", ")", ";", "}", "else", "if", "(", "code", "==", "ASHIFT", ")", "{", "rtx", "op", "=", "XEXP", "(", "index", ",", "1", ")", ";", "return", "(", "arm_address_register_rtx_p", "(", "XEXP", "(", "index", ",", "0", ")", ",", "strict_p", ")", "&&", "CONST_INT_P", "(", "op", ")", "&&", "INTVAL", "(", "op", ")", ">", "0", "&&", "INTVAL", "(", "op", ")", "<=", "3", ")", ";", "}", "return", "(", "code", "==", "CONST_INT", "&&", "INTVAL", "(", "index", ")", "<", "4096", "&&", "INTVAL", "(", "index", ")", ">", "-", "256", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "INDEX", "is", "a", "valid", "Thumb-2", "address", "index", "operand", "."], "TS_V_token": ["arm", "1024", "256", "3", "0", "1024", "1024", "3", "0", "1016", "1024", "3", "0", "1024", "1024", "3", "0", "4", "1", "256", "256", "3", "0", "0", "0", "1", "1", "0", "0", "3", "4096", "256"], "File": "arm4", "Func": "thumb2_legitimate_index_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13903, "Length": 415, "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", ",", "ARMCC", "::", "CondCodes", "Pred", "=", "ARMCC", "::", "AL", ",", "unsigned", "PredReg", "=", "0", ")", "{", "if", "(", "isARM", ")", "emitARMRegPlusImmediate", "(", "MBB", ",", "MBBI", ",", "dl", ",", "ARM", "::", "SP", ",", "ARM", "::", "SP", ",", "NumBytes", ",", "Pred", ",", "PredReg", ",", "TII", ")", ";", "else", "emitT2RegPlusImmediate", "(", "MBB", ",", "MBBI", ",", "dl", ",", "ARM", "::", "SP", ",", "ARM", "::", "SP", ",", "NumBytes", ",", "Pred", ",", "PredReg", ",", "TII", ")", ";", "}", ""], "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": "ARMBaseRegisterInfo1", "Func": "emitSPUpdate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13904, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "X86_REGISTER_ALLOCATOR_PASS_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "X86"], "File": "regAlloc", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13905, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_expand_strlen", "(", "rtx", "out", ",", "rtx", "src", ",", "rtx", "eoschar", ",", "rtx", "align", ")", "{", "if", "(", "TARGET_UNROLL_STRLEN", "&&", "TARGET_INLINE_ALL_STRINGOPS", "&&", "eoschar", "==", "const0_rtx", "&&", "optimize", ">", "1", ")", "{", "rtx", "addr", "=", "force_reg", "(", "Pmode", ",", "XEXP", "(", "src", ",", "0", ")", ")", ";", "emit_move_insn", "(", "out", ",", "addr", ")", ";", "ix86_expand_strlensi_unroll_1", "(", "out", ",", "src", ",", "align", ")", ";", "emit_insn", "(", "gen_sub2_insn", "(", "out", ",", "addr", ")", ")", ";", "return", "true", ";", "}", "else", "return", "false", ";", "}", ""], "natrual_language": ["Expand", "strlen", "."], "TS_V_token": ["i386", "1", "0"], "File": "i386-expand", "Func": "ix86_expand_strlen", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13906, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "isAssociativeAndCommutative", "(", "const", "MachineInstr", "&", "Inst", ")", "const", "{", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "case", "PPC", "::", "FADD", ":", "case", "PPC", "::", "FADDS", ":", "case", "PPC", "::", "FMUL", ":", "case", "PPC", "::", "FMULS", ":", "case", "PPC", "::", "VADDFP", ":", "case", "PPC", "::", "XSADDDP", ":", "case", "PPC", "::", "XVADDDP", ":", "case", "PPC", "::", "XVADDSP", ":", "case", "PPC", "::", "XSADDSP", ":", "case", "PPC", "::", "XSMULDP", ":", "case", "PPC", "::", "XVMULDP", ":", "case", "PPC", "::", "XVMULSP", ":", "case", "PPC", "::", "XSMULSP", ":", "return", "Inst", ".", "getFlag", "(", "MachineInstr", "::", "MIFlag", "::", "FmReassoc", ")", "&&", "Inst", ".", "getFlag", "(", "MachineInstr", "::", "MIFlag", "::", "FmNsz", ")", ";", "case", "PPC", "::", "MULHD", ":", "case", "PPC", "::", "MULLD", ":", "case", "PPC", "::", "MULHW", ":", "case", "PPC", "::", "MULLW", ":", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Return", "true", "when", "\\P", "Inst", "is", "both", "associative", "and", "commutative", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::FADD", "PPC::FADDS", "PPC::FMUL", "PPC::FMULS", "PPC::VADDFP", "PPC::XSADDDP", "PPC::XVADDDP", "PPC::XVADDSP", "PPC::XSADDSP", "PPC::XSMULDP", "PPC::XVMULDP", "PPC::XVMULSP", "PPC::XSMULSP", "PPC::MULHD", "PPC::MULLD", "PPC::MULHW", "PPC::MULLW"], "File": "PPCInstrInfo", "Func": "isAssociativeAndCommutative", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13907, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Note", "(", "SMLoc", "L", ",", "const", "Twine", "&", "Msg", ",", "ArrayRef", "<", "SMRange", ">", "Ranges", "=", "None", ")", "{", "return", "Parser", ".", "Note", "(", "L", ",", "Msg", ",", "Ranges", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "note", "at", "the", "location", "L", ",", "with", "the", "message", "Msg", "."], "TS_V_token": ["ARM"], "File": "ARMAsmParser (2)", "Func": "Note", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13908, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "&", "ARMBaseInstrInfo", "::", "duplicate", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "InsertBefore", ",", "const", "MachineInstr", "&", "Orig", ")", "const", "{", "MachineInstr", "&", "Cloned", "=", "TargetInstrInfo", "::", "duplicate", "(", "MBB", ",", "InsertBefore", ",", "Orig", ")", ";", "MachineBasicBlock", "::", "instr_iterator", "I", "=", "Cloned", ".", "getIterator", "(", ")", ";", "for", "(", ";", ";", ")", "{", "switch", "(", "I", "->", "getOpcode", "(", ")", ")", "{", "case", "ARM", "::", "tLDRpci_pic", ":", "case", "ARM", "::", "t2LDRpci_pic", ":", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "unsigned", "CPI", "=", "I", "->", "getOperand", "(", "1", ")", ".", "getIndex", "(", ")", ";", "unsigned", "PCLabelId", "=", "duplicateCPV", "(", "MF", ",", "CPI", ")", ";", "I", "->", "getOperand", "(", "1", ")", ".", "setIndex", "(", "CPI", ")", ";", "I", "->", "getOperand", "(", "2", ")", ".", "setImm", "(", "PCLabelId", ")", ";", "break", ";", "}", "}", "if", "(", "!", "I", "->", "isBundledWithSucc", "(", ")", ")", "break", ";", "++", "I", ";", "}", "return", "Cloned", ";", "}", ""], "natrual_language": ["Clones", "instruction", "or", "the", "whole", "instruction", "bundle", "Orig", "and", "insert", "into", "MBB", "before", "InsertBefore", "."], "TS_V_token": ["ARM", "ARM", "ARM::tLDRpci_pic", "ARM::t2LDRpci_pic", "1", "1", "2"], "File": "ARMBaseInstrInfo1", "Func": "duplicate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13909, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "loongarch_adjust_block_mem", "(", "rtx", "mem", ",", "HOST_WIDE_INT", "length", ",", "rtx", "*", "loop_reg", ",", "rtx", "*", "loop_mem", ")", "{", "*", "loop_reg", "=", "copy_addr_to_reg", "(", "XEXP", "(", "mem", ",", "0", ")", ")", ";", "*", "loop_mem", "=", "change_address", "(", "mem", ",", "BLKmode", ",", "*", "loop_reg", ")", ";", "set_mem_align", "(", "*", "loop_mem", ",", "MIN", "(", "MEM_ALIGN", "(", "mem", ")", ",", "length", "*", "BITS_PER_UNIT", ")", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "doing", "a", "loop-based", "block", "operation", "on", "memory", "reference", "MEM", ".", "Each", "iteration", "of", "the", "loop", "will", "operate", "on", "LENGTH", "bytes", "of", "MEM", ".", "Create", "a", "new", "base", "register", "for", "use", "within", "the", "loop", "and", "point", "it", "to", "the", "start", "of", "MEM", ".", "Create", "a", "new", "memory", "reference", "that", "uses", "this", "register", ".", "Store", "them", "in", "*", "LOOP_REG", "and", "*", "LOOP_MEM", "respectively", "."], "TS_V_token": ["loongarch", "0"], "File": "loongarch", "Func": "loongarch_adjust_block_mem", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13910, "Length": 64, "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": 13911, "Length": 171, "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": 13912, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "DCPU16Peephole", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "QII", "=", "static_cast", "<", "const", "DCPU16InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "QRI", "=", "static_cast", "<", "const", "DCPU16RegisterInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "if", "(", "DisableDCPU16Peephole", ")", "return", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "mbbIter", "=", "MF", ".", "begin", "(", ")", ";", "mbbIter", "!=", "MF", ".", "end", "(", ")", ";", "++", "mbbIter", ")", "{", "MachineBasicBlock", "*", "mbb", "=", "mbbIter", ";", "if", "(", "!", "DisableOptBrcc", ")", "runOptBrcc", "(", "mbb", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Dcpu16", "DCPU16", "DCPU16", "DCPU16", "DCPU16"], "File": "DCPU16Peephole", "Func": "runOnMachineFunction", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13913, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "thumb1_base_register_rtx_p", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "int", "strict_p", ")", "{", "int", "regno", ";", "if", "(", "!", "REG_P", "(", "x", ")", ")", "return", "0", ";", "regno", "=", "REGNO", "(", "x", ")", ";", "if", "(", "strict_p", ")", "return", "THUMB1_REGNO_MODE_OK_FOR_BASE_P", "(", "regno", ",", "mode", ")", ";", "return", "(", "regno", "<=", "LAST_LO_REGNUM", "||", "regno", ">", "LAST_VIRTUAL_REGISTER", "||", "regno", "==", "FRAME_POINTER_REGNUM", "||", "(", "GET_MODE_SIZE", "(", "mode", ")", ">=", "4", "&&", "(", "regno", "==", "STACK_POINTER_REGNUM", "||", "regno", ">=", "FIRST_PSEUDO_REGISTER", "||", "x", "==", "hard_frame_pointer_rtx", "||", "x", "==", "arg_pointer_rtx", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "X", "is", "valid", "as", "a", "16-bit", "Thumb", "state", "base", "register", "."], "TS_V_token": ["arm", "0", "4"], "File": "arm", "Func": "thumb1_base_register_rtx_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13914, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZRegisterInfo", "::", "saveScavengerRegister", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "SaveMBBI", ",", "MachineBasicBlock", "::", "iterator", "&", "UseMBBI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "unsigned", "Reg", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "SystemZFrameLowering", "*", "TFI", "=", "static_cast", "<", "const", "SystemZFrameLowering", "*", ">", "(", "TM", ".", "getFrameLowering", "(", ")", ")", ";", "unsigned", "Base", "=", "getFrameRegister", "(", "MF", ")", ";", "uint64_t", "Offset", "=", "TFI", "->", "getEmergencySpillSlotOffset", "(", "MF", ")", ";", "DebugLoc", "DL", ";", "unsigned", "LoadOpcode", ",", "StoreOpcode", ";", "TII", ".", "getLoadStoreOpcodes", "(", "RC", ",", "LoadOpcode", ",", "StoreOpcode", ")", ";", "BuildMI", "(", "MBB", ",", "SaveMBBI", ",", "DL", ",", "TII", ".", "get", "(", "StoreOpcode", ")", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "Base", ")", ".", "addImm", "(", "Offset", ")", ".", "addReg", "(", "0", ")", ";", "BuildMI", "(", "MBB", ",", "UseMBBI", ",", "DL", ",", "TII", ".", "get", "(", "LoadOpcode", ")", ",", "Reg", ")", ".", "addReg", "(", "Base", ")", ".", "addImm", "(", "Offset", ")", ".", "addReg", "(", "0", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Spill", "the", "register", "so", "it", "can", "be", "used", "by", "the", "register", "scavenger", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "0", "0"], "File": "SystemZRegisterInfo24", "Func": "saveScavengerRegister", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13915, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mayAlias", "(", "MachineInstr", "&", "MIa", ",", "SmallVectorImpl", "<", "MachineInstr", "*", ">", "&", "MemInsns", ",", "AliasAnalysis", "*", "AA", ")", "{", "for", "(", "MachineInstr", "*", "MIb", ":", "MemInsns", ")", "if", "(", "MIa", ".", "mayAlias", "(", "AA", ",", "*", "MIb", ",", "false", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "this", "instruction", "'s", "memory", "access", "aliases", "the", "memory", "access", "of", "Other", "."], "TS_V_token": ["AArch64"], "File": "AArch64LoadStoreOptimizer (2)1", "Func": "mayAlias", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13916, "Length": 50, "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": 13917, "Length": 38, "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": 13918, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCDispatchGroupSBHazardRecognizer", "::", "EmitNoop", "(", ")", "{", "unsigned", "Directive", "=", "DAG", "->", "TM", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "getDarwinDirective", "(", ")", ";", "if", "(", "Directive", "==", "PPC", "::", "DIR_PWR6", "||", "Directive", "==", "PPC", "::", "DIR_PWR7", "||", "CurSlots", "==", "6", ")", "{", "CurGroup", ".", "clear", "(", ")", ";", "CurSlots", "=", "CurBranches", "=", "0", ";", "}", "else", "{", "CurGroup", ".", "push_back", "(", "nullptr", ")", ";", "++", "CurSlots", ";", "}", "}", ""], "natrual_language": ["EmitNoop", "-", "This", "callback", "is", "invoked", "when", "a", "noop", "was", "added", "to", "the", "instruction", "stream", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::DIR_PWR6", "PPC::DIR_PWR7", "6", "0"], "File": "PPCHazardRecognizers16", "Func": "EmitNoop", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13919, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sparc_function_value_1", "(", "const_tree", "type", ",", "machine_mode", "mode", ",", "bool", "outgoing", ")", "{", "int", "regbase", "=", "(", "outgoing", "?", "SPARC_INCOMING_INT_ARG_FIRST", ":", "SPARC_OUTGOING_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", ",", "SPARC_FP_ARG_FIRST", ")", ";", "mclass", "=", "MODE_FLOAT", ";", "}", "if", "(", "TARGET_ARCH64", "&&", "type", ")", "{", "if", "(", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", ")", "{", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "gcc_assert", "(", "size", "<=", "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", "(", "mclass", "==", "MODE_FLOAT", "||", "mclass", "==", "MODE_COMPLEX_FLOAT", ")", ";", "else", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "gcc_assert", "(", "size", "<=", "32", ")", ";", "mode", "=", "mode_for_size", "(", "size", "*", "BITS_PER_UNIT", ",", "MODE_INT", ",", "0", ")", ";", "if", "(", "mode", "==", "BLKmode", ")", "return", "function_arg_union_value", "(", "size", ",", "mode", ",", "0", ",", "regbase", ")", ";", "else", "mclass", "=", "MODE_INT", ";", "}", "else", "if", "(", "mclass", "==", "MODE_INT", "&&", "GET_MODE_SIZE", "(", "mode", ")", "<", "UNITS_PER_WORD", ")", "mode", "=", "word_mode", ";", "}", "else", "if", "(", "TARGET_ARCH32", "&&", "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", "TARGET_FUNCTION_VALUE", ",", "and", "TARGET_LIBCALL_VALUE", "target", "hook", ".", "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": "sparc4", "Func": "sparc_function_value_1", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13920, "Length": 325, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "LanaiFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "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": ["Lanai", "Lanai"], "File": "LanaiFrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13921, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WaitInsert", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "!", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "StrictFP", ")", ")", "return", "false", ";", "const", "X86Subtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "const", "X86InstrInfo", "*", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "MachineBasicBlock", "::", "iterator", "MI", "=", "MBB", ".", "begin", "(", ")", ";", "MI", "!=", "MBB", ".", "end", "(", ")", ";", "++", "MI", ")", "{", "if", "(", "!", "isX87Instruction", "(", "*", "MI", ")", ")", "continue", ";", "if", "(", "!", "(", "MI", "->", "mayRaiseFPException", "(", ")", "||", "MI", "->", "mayLoadOrStore", "(", ")", ")", "||", "isX87ControlInstruction", "(", "*", "MI", ")", ")", "continue", ";", "MachineBasicBlock", "::", "iterator", "AfterMI", "=", "std", "::", "next", "(", "MI", ")", ";", "if", "(", "AfterMI", "!=", "MBB", ".", "end", "(", ")", "&&", "isX87Instruction", "(", "*", "AfterMI", ")", "&&", "!", "isX87NonWaitingControlInstruction", "(", "*", "AfterMI", ")", ")", "continue", ";", "BuildMI", "(", "MBB", ",", "AfterMI", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "X86", "::", "WAIT", ")", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\nInsert wait after:\\t\"", "<<", "*", "MI", ")", ";", "++", "MI", ";", "Changed", "=", "true", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86::WAIT", "\"\\nInsert wait after:\\t\""], "File": "X86InsertWait3", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13922, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_vector_mode_supported_p", "(", "enum", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_SPE", "&&", "SPE_VECTOR_MODE", "(", "mode", ")", ")", "return", "true", ";", "else", "if", "(", "TARGET_ALTIVEC", "&&", "ALTIVEC_VECTOR_MODE", "(", "mode", ")", ")", "return", "true", ";", "else", "return", "false", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "vector_mode_supported_p", "."], "TS_V_token": ["rs6000"], "File": "rs60003", "Func": "rs6000_vector_mode_supported_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13923, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isProfitableToDupForIfCvt", "(", "MachineBasicBlock", "&", "MBB", ",", "unsigned", "NumCycles", ",", "BranchProbability", "Probability", ")", "const", "override", "{", "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": ["PowerPC"], "File": "PPCInstrInfo (2)2", "Func": "isProfitableToDupForIfCvt", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13924, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StackOffset", "(", "const", "StackOffset", "&", "Other", ")", ":", "Bytes", "(", "Other", ".", "Bytes", ")", ",", "ScalableBytes", "(", "Other", ".", "ScalableBytes", ")", "{", "}", ""], "natrual_language": ["Offset", "from", "the", "stack", "pointer", "."], "TS_V_token": ["AArch64"], "File": "AArch64StackOffset", "Func": "StackOffset", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13925, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_epilogue_uses", "(", "int", "regno", ")", "{", "return", "(", "epilogue_completed", "&&", "cfun", "->", "machine", "->", "no_caller_saved_registers", "&&", "!", "fixed_regs", "[", "regno", "]", "&&", "!", "STACK_REGNO_P", "(", "regno", ")", "&&", "!", "MMX_REGNO_P", "(", "regno", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "REGNO", "is", "used", "by", "the", "epilogue", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_epilogue_uses", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13926, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addRequired", "<", "TargetPassConfig", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "TargetLibraryInfoWrapperPass", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["X86"], "File": "X86LowerAMXType", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13927, "Length": 35, "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", "*", ">", "(", "Subtarget", ".", "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": "PPCFrameLowering (2)", "Func": "restoreCalleeSavedRegisters", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13928, "Length": 421, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "PPCTargetLowering", "::", "getRegisterTypeForCallingConv", "(", "LLVMContext", "&", "Context", ",", "EVT", "VT", ")", "const", "{", "if", "(", "Subtarget", ".", "hasSPE", "(", ")", "&&", "VT", "==", "MVT", "::", "f64", ")", "return", "MVT", "::", "i32", ";", "return", "PPCTargetLowering", "::", "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": ["PowerPC", "PPC", "MVT::f64", "MVT::i32", "PPC"], "File": "PPCISelLowering124", "Func": "getRegisterTypeForCallingConv", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13929, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "iq2000_select_rtx_section", "(", "enum", "machine_mode", "mode", ",", "rtx", "x", "ATTRIBUTE_UNUSED", ",", "unsigned", "HOST_WIDE_INT", "align", ")", "{", "mergeable_constant_section", "(", "mode", ",", "align", ",", "0", ")", ";", "}", ""], "natrual_language": ["Choose", "the", "section", "to", "use", "for", "the", "constant", "rtx", "expression", "X", "that", "has", "mode", "MODE", "."], "TS_V_token": ["iq2000", "0"], "File": "iq20002", "Func": "iq2000_select_rtx_section", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13930, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "CAHPRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "markSuperRegs", "(", "Reserved", ",", "CAHP", "::", "X0", ")", ";", "markSuperRegs", "(", "Reserved", ",", "CAHP", "::", "X1", ")", ";", "markSuperRegs", "(", "Reserved", ",", "CAHP", "::", "X2", ")", ";", "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": ["CAHP", "CAHP", "CAHP::X0", "CAHP::X1", "CAHP::X2"], "File": "CAHPRegisterInfo", "Func": "getReservedRegs", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13931, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "optimizeCompareInstr", "(", "MachineInstr", "&", "CmpInstr", ",", "Register", "SrcReg", ",", "Register", "SrcReg2", ",", "int", "CmpMask", ",", "int", "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", ")", ";", "assert", "(", "(", "CmpValue", "==", "0", "||", "CmpValue", "==", "1", ")", "&&", "\"CmpValue must be 0 or 1!\"", ")", ";", "if", "(", "CmpValue", "!=", "0", "||", "SrcReg2", "!=", "0", ")", "return", "false", ";", "if", "(", "!", "MRI", "->", "use_nodbg_empty", "(", "CmpInstr", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", "return", "false", ";", "return", "substituteCmpToZero", "(", "CmpInstr", ",", "SrcReg", ",", "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", "1", "\"CmpValue must be 0 or 1!\"", "0", "0", "0"], "File": "AArch64InstrInfo107", "Func": "optimizeCompareInstr", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13932, "Length": 255, "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": 13933, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "Mips16InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "Mips16InstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "0", "&&", "!", "MFI", ".", "adjustsStack", "(", ")", ")", "return", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "MCRegisterInfo", "*", "MRI", "=", "MMI", ".", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "TII", ".", "makeFrame", "(", "Mips", "::", "SP", ",", "StackSize", ",", "MBB", ",", "MBBI", ")", ";", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "cfiDefCfaOffset", "(", "nullptr", ",", "StackSize", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "if", "(", "!", "CSI", ".", "empty", "(", ")", ")", "{", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "for", "(", "const", "CalleeSavedInfo", "&", "I", ":", "CSI", ")", "{", "int64_t", "Offset", "=", "MFI", ".", "getObjectOffset", "(", "I", ".", "getFrameIdx", "(", ")", ")", ";", "unsigned", "Reg", "=", "I", ".", "getReg", "(", ")", ";", "unsigned", "DReg", "=", "MRI", "->", "getDwarfRegNum", "(", "Reg", ",", "true", ")", ";", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createOffset", "(", "nullptr", ",", "DReg", ",", "Offset", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "}", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "MoveR3216", ")", ",", "Mips", "::", "S0", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "0", "Mips::SP", "Mips::MoveR3216", "Mips::S0", "Mips::SP"], "File": "Mips16FrameLowering35", "Func": "emitPrologue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13934, "Length": 338, "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": 13935, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "if", "(", "IDVal", "==", "\".insn\"", ")", "return", "ParseDirectiveInsn", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "if", "(", "IDVal", "==", "\".machine\"", ")", "return", "ParseDirectiveMachine", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["SystemZ", "SystemZ", "\".insn\"", "\".machine\""], "File": "SystemZAsmParser1", "Func": "ParseDirective", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13936, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "'$'", "<<", "LowercaseString", "(", "getRegisterName", "(", "RegNo", ")", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsInstPrinter35", "Func": "printRegName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13937, "Length": 27, "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": 13938, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "gen_lvx_v4si_move", "(", "rtx", "dest", ",", "rtx", "src", ")", "{", "gcc_assert", "(", "MEM_P", "(", "dest", ")", "^", "MEM_P", "(", "src", ")", ")", ";", "gcc_assert", "(", "GET_MODE", "(", "dest", ")", "==", "V4SImode", "&&", "GET_MODE", "(", "src", ")", "==", "V4SImode", ")", ";", "if", "(", "MEM_P", "(", "dest", ")", ")", "return", "gen_altivec_stvx_v4si_internal", "(", "dest", ",", "src", ")", ";", "else", "return", "gen_altivec_lvx_v4si_internal", "(", "dest", ",", "src", ")", ";", "}", ""], "natrual_language": ["Generate", "loads", "and", "stores", "for", "a", "move", "of", "v4si", "mode", "using", "lvx/stvx", ".", "This", "uses", "altivec_", "{", "l", ",", "st", "}", "vx_", "<", "mode", ">", "_internal", "which", "use", "unspecs", "to", "keep", "combine", "from", "changing", "what", "instruction", "gets", "used", ".", "DEST", "is", "the", "destination", "for", "the", "data", ".", "SRC", "is", "the", "source", "of", "the", "data", "for", "the", "move", "."], "TS_V_token": ["rs6000"], "File": "rs6000-string", "Func": "gen_lvx_v4si_move", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13939, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "loongarch_debugger_offset", "(", "rtx", "addr", ",", "HOST_WIDE_INT", "offset", ")", "{", "rtx", "offset2", "=", "const0_rtx", ";", "rtx", "reg", "=", "eliminate_constant_term", "(", "addr", ",", "&", "offset2", ")", ";", "if", "(", "offset", "==", "0", ")", "offset", "=", "INTVAL", "(", "offset2", ")", ";", "if", "(", "reg", "==", "stack_pointer_rtx", "||", "reg", "==", "frame_pointer_rtx", "||", "reg", "==", "hard_frame_pointer_rtx", ")", "{", "offset", "-=", "cfun", "->", "machine", "->", "frame", ".", "total_size", ";", "if", "(", "reg", "==", "hard_frame_pointer_rtx", ")", "offset", "+=", "cfun", "->", "machine", "->", "frame", ".", "hard_frame_pointer_offset", ";", "}", "return", "offset", ";", "}", ""], "natrual_language": ["The", "LoongArch", "debug", "format", "wants", "all", "automatic", "variables", "and", "arguments", "to", "be", "in", "terms", "of", "the", "virtual", "frame", "pointer", "(", "stack", "pointer", "before", "any", "adjustment", "in", "the", "function", ")", ",", "while", "the", "LoongArch", "linker", "wants", "the", "frame", "pointer", "to", "be", "the", "stack", "pointer", "after", "the", "initial", "adjustment", ".", "So", ",", "we", "do", "the", "adjustment", "here", ".", "The", "arg", "pointer", "(", "which", "is", "eliminated", ")", "points", "to", "the", "virtual", "frame", "pointer", ",", "while", "the", "frame", "pointer", "(", "which", "may", "be", "eliminated", ")", "points", "to", "the", "stack", "pointer", "after", "the", "initial", "adjustments", "."], "TS_V_token": ["loongarch", "0"], "File": "loongarch", "Func": "loongarch_debugger_offset", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13940, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "legitimate_constant_p", "(", "rtx", "x", "ATTRIBUTE_UNUSED", ")", "{", "return", "1", ";", "}", ""], "natrual_language": ["Nonzero", "if", "the", "constant", "value", "X", "is", "a", "legitimate", "general", "operand", ".", "It", "is", "given", "that", "X", "satisfies", "CONSTANT_P", "or", "is", "a", "CONST_DOUBLE", "."], "TS_V_token": ["vax", "1"], "File": "vax3", "Func": "legitimate_constant_p", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13941, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0InstPrinter", "::", "PrintSpecial", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "const", "char", "*", "Code", ")", "const", "{", "assert", "(", "strcmp", "(", "Code", ",", "\"arguments\"", ")", "==", "0", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "MI", "->", "getNumOperands", "(", ")", "-", "1", ";", "i", "++", ")", "{", "if", "(", "i", "!=", "0", ")", "{", "O", "<<", "\", \"", ";", "}", "O", "<<", "\"$r\"", "<<", "i", "<<", "\"|0\"", ";", "}", "}", ""], "natrual_language": ["Print", "information", "related", "to", "the", "specified", "machine", "instr", "that", "is", "independent", "of", "the", "operand", ",", "and", "may", "be", "independent", "of", "the", "instr", "itself", "."], "TS_V_token": ["Cpu0", "Cpu0", "\"arguments\"", "0", "0", "1", "0", "\", \"", "\"$r\"", "\"|0\""], "File": "Cpu0InstPrinter1", "Func": "PrintSpecial", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13942, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "setKind", "(", "BaseKind", "K", ")", "{", "Kind", "=", "K", ";", "}", ""], "natrual_language": ["Setter", "for", "the", "kind", "of", "this", "node", "."], "TS_V_token": ["AArch64"], "File": "AArch64FastISel (2)", "Func": "setKind", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13943, "Length": 12, "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": 13944, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "get_arm_sve_vector_bits_attributes", "(", "tree", "old_attrs", ",", "tree", "new_sve_type_args", ")", "{", "tree", "new_attrs", "=", "NULL_TREE", ";", "tree", "*", "ptr", "=", "&", "new_attrs", ";", "for", "(", "tree", "attr", "=", "old_attrs", ";", "attr", ";", "attr", "=", "TREE_CHAIN", "(", "attr", ")", ")", "{", "tree", "name", "=", "get_attribute_name", "(", "attr", ")", ";", "if", "(", "is_attribute_p", "(", "\"SVE sizeless type\"", ",", "name", ")", ")", "continue", ";", "tree", "args", "=", "TREE_VALUE", "(", "attr", ")", ";", "if", "(", "is_attribute_p", "(", "\"SVE type\"", ",", "name", ")", ")", "args", "=", "new_sve_type_args", ";", "*", "ptr", "=", "tree_cons", "(", "TREE_PURPOSE", "(", "attr", ")", ",", "args", ",", "NULL_TREE", ")", ";", "ptr", "=", "&", "TREE_CHAIN", "(", "*", "ptr", ")", ";", "}", "return", "new_attrs", ";", "}", ""], "natrual_language": ["ATTRS", "is", "the", "attribute", "list", "for", "a", "sizeless", "SVE", "type", ".", "Return", "the", "attributes", "of", "the", "associated", "fixed-length", "SVE", "type", ",", "taking", "the", "``", "SVE", "type", "''", "attributes", "from", "NEW_SVE_TYPE_ARGS", "."], "TS_V_token": ["aarch64", "\"SVE sizeless type\"", "\"SVE type\""], "File": "aarch64-sve-builtins1", "Func": "get_arm_sve_vector_bits_attributes", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13945, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "callees_functions_use_frame_header", "(", "function", "*", "fn", ")", "{", "basic_block", "bb", ";", "gimple_stmt_iterator", "gsi", ";", "gimple", "*", "stmt", ";", "tree", "called_fn_tree", ";", "function", "*", "called_fn", ";", "if", "(", "fn", "->", "cfg", "==", "NULL", ")", "return", "true", ";", "FOR_EACH_BB_FN", "(", "bb", ",", "fn", ")", "{", "for", "(", "gsi", "=", "gsi_start_bb", "(", "bb", ")", ";", "!", "gsi_end_p", "(", "gsi", ")", ";", "gsi_next", "(", "&", "gsi", ")", ")", "{", "stmt", "=", "gsi_stmt", "(", "gsi", ")", ";", "if", "(", "is_gimple_call", "(", "stmt", ")", ")", "{", "called_fn_tree", "=", "gimple_call_fndecl", "(", "stmt", ")", ";", "if", "(", "called_fn_tree", "!=", "NULL", ")", "{", "called_fn", "=", "DECL_STRUCT_FUNCTION", "(", "called_fn_tree", ")", ";", "if", "(", "called_fn", "==", "NULL", "||", "DECL_WEAK", "(", "called_fn_tree", ")", "||", "has_inlined_assembly", "(", "called_fn", ")", "||", "!", "is_leaf_function", "(", "called_fn", ")", "||", "!", "called_fn", "->", "machine", "->", "does_not_use_frame_header", ")", "return", "true", ";", "}", "else", "return", "true", ";", "}", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "argument", "stack", "space", "allocated", "by", "function", "FN", "is", "used", ".", "Return", "false", "if", "the", "space", "is", "needed", "or", "if", "the", "need", "for", "the", "space", "can", "not", "be", "determined", "."], "TS_V_token": ["mips"], "File": "frame-header-opt", "Func": "callees_functions_use_frame_header", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13946, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getOffsetReg", "(", ")", "const", "{", "assert", "(", "isRegBase", "(", ")", "&&", "\"Invalid offset register access!\"", ")", ";", "return", "OffsetReg", ";", "}", ""], "natrual_language": ["Get", "the", "offset", "register", "of", "the", "pointer", "value", "."], "TS_V_token": ["AArch64", "\"Invalid offset register access!\""], "File": "AArch64FastISel29", "Func": "getOffsetReg", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13947, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LoongArchInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "O", ",", "unsigned", "RegNo", ")", "const", "{", "O", "<<", "'$'", "<<", "getRegisterName", "(", "RegNo", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["LoongArch", "LoongArch"], "File": "LoongArchInstPrinter", "Func": "printRegName", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13948, "Length": 24, "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": 13949, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "UPTInstrInfo", "::", "expandPostRAPseudo", "(", "MachineInstr", "&", "MI", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "UPT", "::", "MOVi32", ":", "{", "DebugLoc", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "const", "unsigned", "DstReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "const", "bool", "DstIsDead", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "isDead", "(", ")", ";", "const", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "auto", "LO16", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "UPT", "::", "MOVLOi16", ")", ",", "DstReg", ")", ";", "auto", "HI16", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "UPT", "::", "MOVHIi16", ")", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ")", ";", "const", "GlobalValue", "*", "GV", "=", "MO", ".", "getGlobal", "(", ")", ";", "const", "unsigned", "TF", "=", "MO", ".", "getTargetFlags", "(", ")", ";", "LO16", "=", "LO16", ".", "addGlobalAddress", "(", "GV", ",", "MO", ".", "getOffset", "(", ")", ",", "TF", "|", "UPTII", "::", "MO_LO16", ")", ";", "HI16", "=", "HI16", ".", "addGlobalAddress", "(", "GV", ",", "MO", ".", "getOffset", "(", ")", ",", "TF", "|", "UPTII", "::", "MO_HI16", ")", ";", "MBB", ".", "erase", "(", "MI", ")", ";", "return", "true", ";", "}", "}", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["UPT", "UPT", "UPT::MOVi32", "0", "0", "1", "UPT::MOVLOi16", "UPT::MOVHIi16", "UPTII::MO_LO16", "UPTII::MO_HI16"], "File": "UPTInstrInfo", "Func": "expandPostRAPseudo", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13950, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCLinuxAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "if", "(", "!", "Subtarget", "->", "isPPC64", "(", ")", ")", "return", "PPCAsmPrinter", "::", "EmitInstruction", "(", "MI", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "PPCAsmPrinter", "::", "EmitInstruction", "(", "MI", ")", ";", "case", "TargetOpcode", "::", "PATCHABLE_FUNCTION_ENTER", ":", "{", "MCSymbol", "*", "BeginOfSled", "=", "OutContext", ".", "createTempSymbol", "(", ")", ";", "MCSymbol", "*", "EndOfSled", "=", "OutContext", ".", "createTempSymbol", "(", ")", ";", "OutStreamer", "->", "EmitLabel", "(", "BeginOfSled", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "MCInstBuilder", "(", "PPC", "::", "B", ")", ".", "addExpr", "(", "MCSymbolRefExpr", "::", "create", "(", "EndOfSled", ",", "OutContext", ")", ")", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "MCInstBuilder", "(", "PPC", "::", "NOP", ")", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "MCInstBuilder", "(", "PPC", "::", "STD", ")", ".", "addReg", "(", "PPC", "::", "X0", ")", ".", "addImm", "(", "-", "8", ")", ".", "addReg", "(", "PPC", "::", "X1", ")", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "MCInstBuilder", "(", "PPC", "::", "MFLR8", ")", ".", "addReg", "(", "PPC", "::", "X0", ")", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "MCInstBuilder", "(", "PPC", "::", "BL8_NOP", ")", ".", "addExpr", "(", "MCSymbolRefExpr", "::", "create", "(", "OutContext", ".", "getOrCreateSymbol", "(", "\"__xray_FunctionEntry\"", ")", ",", "OutContext", ")", ")", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "MCInstBuilder", "(", "PPC", "::", "MTLR8", ")", ".", "addReg", "(", "PPC", "::", "X0", ")", ")", ";", "OutStreamer", "->", "EmitLabel", "(", "EndOfSled", ")", ";", "recordSled", "(", "BeginOfSled", ",", "*", "MI", ",", "SledKind", "::", "FUNCTION_ENTER", ")", ";", "break", ";", "}", "case", "TargetOpcode", "::", "PATCHABLE_FUNCTION_EXIT", ":", "{", "const", "MachineInstr", "*", "Next", "=", "[", "&", "]", "{", "MachineBasicBlock", "::", "const_iterator", "It", "(", "MI", ")", ";", "assert", "(", "It", "!=", "MI", "->", "getParent", "(", ")", "->", "end", "(", ")", ")", ";", "++", "It", ";", "assert", "(", "It", "->", "isReturn", "(", ")", ")", ";", "return", "&", "*", "It", ";", "}", "(", ")", ";", "OutStreamer", "->", "EmitCodeAlignment", "(", "8", ")", ";", "MCSymbol", "*", "BeginOfSled", "=", "OutContext", ".", "createTempSymbol", "(", ")", ";", "OutStreamer", "->", "EmitLabel", "(", "BeginOfSled", ")", ";", "MCInst", "TmpInst", ";", "LowerPPCMachineInstrToMCInst", "(", "Next", ",", "TmpInst", ",", "*", "this", ",", "false", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "TmpInst", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "MCInstBuilder", "(", "PPC", "::", "NOP", ")", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "MCInstBuilder", "(", "PPC", "::", "STD", ")", ".", "addReg", "(", "PPC", "::", "X0", ")", ".", "addImm", "(", "-", "8", ")", ".", "addReg", "(", "PPC", "::", "X1", ")", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "MCInstBuilder", "(", "PPC", "::", "MFLR8", ")", ".", "addReg", "(", "PPC", "::", "X0", ")", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "MCInstBuilder", "(", "PPC", "::", "BL8_NOP", ")", ".", "addExpr", "(", "MCSymbolRefExpr", "::", "create", "(", "OutContext", ".", "getOrCreateSymbol", "(", "\"__xray_FunctionExit\"", ")", ",", "OutContext", ")", ")", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "MCInstBuilder", "(", "PPC", "::", "MTLR8", ")", ".", "addReg", "(", "PPC", "::", "X0", ")", ")", ";", "recordSled", "(", "BeginOfSled", ",", "*", "MI", ",", "SledKind", "::", "FUNCTION_EXIT", ")", ";", "break", ";", "}", "case", "TargetOpcode", "::", "PATCHABLE_TAIL_CALL", ":", "case", "TargetOpcode", "::", "PATCHABLE_RET", ":", "llvm_unreachable", "(", "\"Tail call is handled in the normal case. See comments\"", "\"around this assert.\"", ")", ";", "}", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC::B", "PPC::NOP", "PPC::STD", "PPC::X0", "8", "PPC::X1", "PPC::MFLR8", "PPC::X0", "PPC::BL8_NOP", "\"__xray_FunctionEntry\"", "PPC::MTLR8", "PPC::X0", "8", "PPC", "PPC::NOP", "PPC::STD", "PPC::X0", "8", "PPC::X1", "PPC::MFLR8", "PPC::X0", "PPC::BL8_NOP", "\"__xray_FunctionExit\"", "PPC::MTLR8", "PPC::X0", "\"Tail call is handled in the normal case. See comments\"", "\"around this assert.\""], "File": "PPCAsmPrinter106", "Func": "EmitInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13951, "Length": 498, "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", "(", "int", "i", "=", "2", ",", "e", "=", "MI", ".", "getNumOperands", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "if", "(", "MI", ".", "getOperand", "(", "i", ")", ".", "isImplicit", "(", ")", "||", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isReg", "(", ")", ")", "continue", ";", "Register", "Reg", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "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", ";", "}", "}", "}", "}", "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\""], "File": "ARMBaseInstrInfo116", "Func": "verifyInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13952, "Length": 274, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_cmp_autovec_modes", "(", "machine_mode", "sve_m", ",", "machine_mode", "asimd_m", ")", "{", "bool", "only_asimd_p", "=", "aarch64_autovec_preference", "==", "1", ";", "bool", "only_sve_p", "=", "aarch64_autovec_preference", "==", "2", ";", "if", "(", "only_asimd_p", ")", "return", "false", ";", "if", "(", "only_sve_p", ")", "return", "true", ";", "bool", "prefer_asimd", "=", "aarch64_autovec_preference", "==", "3", ";", "bool", "prefer_sve", "=", "aarch64_autovec_preference", "==", "4", ";", "aarch64_sve_vector_bits_enum", "tune_width", "=", "aarch64_tune_params", ".", "sve_width", ";", "poly_int64", "nunits_sve", "=", "GET_MODE_NUNITS", "(", "sve_m", ")", ";", "poly_int64", "nunits_asimd", "=", "GET_MODE_NUNITS", "(", "asimd_m", ")", ";", "if", "(", "tune_width", "==", "SVE_SCALABLE", "&&", "!", "prefer_asimd", "&&", "!", "prefer_sve", ")", "return", "maybe_gt", "(", "nunits_sve", ",", "nunits_asimd", ")", ";", "HOST_WIDE_INT", "est_sve", "=", "estimated_poly_value", "(", "nunits_sve", ")", ";", "HOST_WIDE_INT", "est_asimd", "=", "estimated_poly_value", "(", "nunits_asimd", ")", ";", "if", "(", "prefer_sve", ")", "return", "est_sve", ">=", "est_asimd", ";", "if", "(", "prefer_asimd", ")", "return", "est_sve", ">", "est_asimd", ";", "return", "est_sve", ">", "est_asimd", ";", "}", ""], "natrual_language": ["Compare", "an", "SVE", "mode", "SVE_M", "and", "an", "Advanced", "SIMD", "mode", "ASIMD_M", "and", "return", "whether", "the", "SVE", "mode", "should", "be", "preferred", "over", "the", "Advanced", "SIMD", "one", "in", "aarch64_autovectorize_vector_modes", "."], "TS_V_token": ["aarch64", "1", "2", "3", "4"], "File": "aarch641", "Func": "aarch64_cmp_autovec_modes", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13953, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nds32_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", "ATTRIBUTE_UNUSED", ")", "{", "return", "(", "!", "TARGET_V3PUSH", "&&", "(", "cfun", "->", "machine", "->", "va_args_size", "==", "0", ")", "&&", "decl", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "ok", "to", "do", "sibling", "call", "optimization", "."], "TS_V_token": ["nds32", "0"], "File": "nds325", "Func": "nds32_function_ok_for_sibcall", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13954, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "enableShrinkWrapping", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "bool", "CompactUnwind", "=", "MF", ".", "getMMI", "(", ")", ".", "getContext", "(", ")", ".", "getObjectFileInfo", "(", ")", "->", "getCompactUnwindSection", "(", ")", "!=", "nullptr", ";", "return", "(", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "NoUnwind", ")", "||", "hasFP", "(", "MF", ")", "||", "!", "CompactUnwind", ")", "&&", "MF", ".", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "!=", "CallingConv", "::", "HiPE", "&&", "!", "MF", ".", "shouldSplitStack", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "will", "correctly", "handle", "shrink", "wrapping", "."], "TS_V_token": ["X86", "X86"], "File": "X86FrameLowering (2)3", "Func": "enableShrinkWrapping", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13955, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_debug_cannot_change_mode_class", "(", "machine_mode", "from", ",", "machine_mode", "to", ",", "enum", "reg_class", "rclass", ")", "{", "bool", "ret", "=", "rs6000_cannot_change_mode_class", "(", "from", ",", "to", ",", "rclass", ")", ";", "fprintf", "(", "stderr", ",", "\"rs6000_cannot_change_mode_class, return %s, from = %s, \"", "\"to = %s, rclass = %s\\n\"", ",", "ret", "?", "\"true\"", ":", "\"false\"", ",", "GET_MODE_NAME", "(", "from", ")", ",", "GET_MODE_NAME", "(", "to", ")", ",", "reg_class_names", "[", "rclass", "]", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Debug", "version", "of", "rs6000_cannot_change_mode_class", "."], "TS_V_token": ["rs6000", "\"rs6000_cannot_change_mode_class, return %s, from = %s, \"", "\"to = %s, rclass = %s\\n\"", "\"true\"", "\"false\""], "File": "rs60004", "Func": "rs6000_debug_cannot_change_mode_class", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13956, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_expand_rng_builtin", "(", "tree", "exp", ",", "rtx", "target", ",", "int", "fcode", ",", "int", "ignore", ")", "{", "rtx", "pat", ";", "enum", "insn_code", "icode", ";", "if", "(", "fcode", "==", "AARCH64_BUILTIN_RNG_RNDR", ")", "icode", "=", "CODE_FOR_aarch64_rndr", ";", "else", "if", "(", "fcode", "==", "AARCH64_BUILTIN_RNG_RNDRRS", ")", "icode", "=", "CODE_FOR_aarch64_rndrrs", ";", "else", "gcc_unreachable", "(", ")", ";", "rtx", "rand", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "rand", ")", ";", "if", "(", "!", "pat", ")", "return", "NULL_RTX", ";", "tree", "arg0", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "rtx", "res_addr", "=", "expand_normal", "(", "arg0", ")", ";", "res_addr", "=", "convert_memory_address", "(", "Pmode", ",", "res_addr", ")", ";", "rtx", "res_mem", "=", "gen_rtx_MEM", "(", "DImode", ",", "res_addr", ")", ";", "emit_insn", "(", "pat", ")", ";", "emit_move_insn", "(", "res_mem", ",", "rand", ")", ";", "if", "(", "ignore", ")", "return", "target", ";", "rtx", "cc_reg", "=", "gen_rtx_REG", "(", "CC_Zmode", ",", "CC_REGNUM", ")", ";", "rtx", "cmp_rtx", "=", "gen_rtx_fmt_ee", "(", "EQ", ",", "SImode", ",", "cc_reg", ",", "const0_rtx", ")", ";", "emit_insn", "(", "gen_aarch64_cstoresi", "(", "target", ",", "cmp_rtx", ",", "cc_reg", ")", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Expand", "a", "random", "number", "builtin", "EXP", "with", "code", "FCODE", ",", "putting", "the", "result", "int", "TARGET", ".", "If", "IGNORE", "is", "true", "the", "return", "value", "is", "ignored", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64-builtins", "Func": "aarch64_expand_rng_builtin", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13957, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ia64_skip_rtx_p", "(", "const_rtx", "x", ")", "{", "return", "get_spec_unspec_code", "(", "x", ")", "!=", "-", "1", ";", "}", ""], "natrual_language": ["Implement", "skip_rtx_p", "hook", "."], "TS_V_token": ["ia64", "1"], "File": "ia64", "Func": "ia64_skip_rtx_p", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13958, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsCallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "ArrayRef", "<", "Register", ">", "VRegs", ")", "const", "{", "MachineInstrBuilder", "Ret", "=", "MIRBuilder", ".", "buildInstrNoInsert", "(", "Mips", "::", "RetRA", ")", ";", "if", "(", "Val", "!=", "nullptr", "&&", "!", "isSupportedReturnType", "(", "Val", "->", "getType", "(", ")", ")", ")", "return", "false", ";", "if", "(", "!", "VRegs", ".", "empty", "(", ")", ")", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "const", "DataLayout", "&", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "const", "MipsTargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "MipsTargetLowering", ">", "(", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "RetInfos", ";", "SmallVector", "<", "unsigned", ",", "8", ">", "OrigArgIndices", ";", "ArgInfo", "ArgRetInfo", "(", "VRegs", ",", "Val", "->", "getType", "(", ")", ")", ";", "setArgFlags", "(", "ArgRetInfo", ",", "AttributeList", "::", "ReturnIndex", ",", "DL", ",", "F", ")", ";", "splitToValueTypes", "(", "DL", ",", "ArgRetInfo", ",", "0", ",", "RetInfos", ",", "OrigArgIndices", ")", ";", "SmallVector", "<", "ISD", "::", "OutputArg", ",", "8", ">", "Outs", ";", "subTargetRegTypeForCallingConv", "(", "F", ",", "RetInfos", ",", "OrigArgIndices", ",", "Outs", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "MipsCCState", "CCInfo", "(", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ",", "MF", ",", "ArgLocs", ",", "F", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "TLI", ".", "CCAssignFnForReturn", "(", ")", ")", ";", "setLocInfo", "(", "ArgLocs", ",", "Outs", ")", ";", "MipsOutgoingValueHandler", "RetHandler", "(", "MIRBuilder", ",", "MF", ".", "getRegInfo", "(", ")", ",", "Ret", ")", ";", "if", "(", "!", "RetHandler", ".", "handle", "(", "ArgLocs", ",", "RetInfos", ")", ")", "{", "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": ["Mips", "Mips", "Mips::RetRA", "Mips", "Mips", "8", "8", "0", "ISD::OutputArg", "8", "16", "Mips", "Mips"], "File": "MipsCallLowering21", "Func": "lowerReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13959, "Length": 280, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsRegisterInfo", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "prior", "(", "MBB", ".", "end", "(", ")", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MipsFunctionInfo", "*", "MipsFI", "=", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "int", "NumBytes", "=", "(", "int", ")", "MFI", "->", "getStackSize", "(", ")", ";", "int", "FPOffset", "=", "MipsFI", "->", "getFPStackOffset", "(", ")", ";", "int", "RAOffset", "=", "MipsFI", "->", "getRAStackOffset", "(", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "ADDu", ")", ",", "Mips", "::", "SP", ")", ".", "addReg", "(", "Mips", "::", "FP", ")", ".", "addReg", "(", "Mips", "::", "ZERO", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "LW", ")", ",", "Mips", "::", "FP", ")", ".", "addImm", "(", "FPOffset", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ";", "}", "if", "(", "MFI", "->", "adjustsStack", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "LW", ")", ",", "Mips", "::", "RA", ")", ".", "addImm", "(", "RAOffset", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ";", "}", "if", "(", "NumBytes", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "ADDiu", ")", ",", "Mips", "::", "SP", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ".", "addImm", "(", "NumBytes", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::ADDu", "Mips::SP", "Mips::FP", "Mips::ZERO", "Mips::LW", "Mips::FP", "Mips::SP", "Mips::LW", "Mips::RA", "Mips::SP", "Mips::ADDiu", "Mips::SP", "Mips::SP"], "File": "MipsRegisterInfo17", "Func": "emitEpilogue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13960, "Length": 255, "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": 13961, "Length": 151, "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", ";", "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", "{", "assert", "(", "isInt", "<", "32", ">", "(", "Value", ")", "&&", "\"Huge values not handled yet\"", ")", ";", "Opcode", "=", "SystemZ", "::", "LGFI", ";", "}", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "Opcode", ")", ",", "Reg", ")", ".", "addImm", "(", "Value", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "series", "of", "instructions", "to", "load", "an", "immediate", "."], "TS_V_token": ["SystemZ", "SystemZ", "16", "SystemZ::LGHI", "SystemZ::isImmLL", "SystemZ::LLILL", "SystemZ::isImmLH", "SystemZ::LLILH", "16", "32", "\"Huge values not handled yet\"", "SystemZ::LGFI"], "File": "SystemZInstrInfo (2)", "Func": "loadImmediate", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13962, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_load_pcrel_sym", "(", "rtx", "*", "operands", ")", "{", "if", "(", "flag_delayed_branch", ")", "{", "output_asm_insn", "(", "\"sethi\\t%%hi(%a1-4), %0\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"call\\t%a2\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\" add\\t%0, %%lo(%a1+4), %0\"", ",", "operands", ")", ";", "}", "else", "{", "output_asm_insn", "(", "\"sethi\\t%%hi(%a1-8), %0\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"add\\t%0, %%lo(%a1-4), %0\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"call\\t%a2\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\" nop\"", ",", "NULL", ")", ";", "}", "if", "(", "operands", "[", "2", "]", "==", "got_helper_rtx", ")", "got_helper_needed", "=", "true", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "the", "load_pcrel_sym", "pattern", "."], "TS_V_token": ["sparc", "\"sethi\\t%%hi(%a1-4), %0\"", "\"call\\t%a2\"", "\" add\\t%0, %%lo(%a1+4), %0\"", "\"sethi\\t%%hi(%a1-8), %0\"", "\"add\\t%0, %%lo(%a1-4), %0\"", "\"call\\t%a2\"", "\" nop\"", "2", "\"\""], "File": "sparc", "Func": "output_load_pcrel_sym", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13963, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLittleEndian", "(", ")", "const", "{", "return", "isLittle", ";", "}", ""], "natrual_language": ["Tests", "whether", "the", "target", "triple", "is", "little", "endian", "."], "TS_V_token": ["ARM"], "File": "ARMTargetMachine (2)", "Func": "isLittleEndian", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13964, "Length": 10, "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": 13965, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "csky_rtx_costs", "(", "rtx", "x", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "int", "outer_code", ",", "int", "opno", "ATTRIBUTE_UNUSED", ",", "int", "*", "total", ",", "bool", "speed", ")", "{", "int", "code", "=", "GET_CODE", "(", "x", ")", ";", "if", "(", "CSKY_TARGET_ARCH", "(", "CK802", ")", "||", "CSKY_TARGET_ARCH", "(", "CK801", ")", ")", "return", "ck802_ck801_rtx_costs", "(", "x", ",", "code", ",", "outer_code", ",", "total", ",", "speed", ")", ";", "else", "if", "(", "CSKY_TARGET_ARCH", "(", "CK803", ")", ")", "return", "ck803_rtx_costs", "(", "x", ",", "code", ",", "outer_code", ",", "total", ",", "speed", ")", ";", "else", "if", "(", "CSKY_TARGET_ARCH", "(", "CK807", ")", "||", "CSKY_TARGET_ARCH", "(", "CK810", ")", ")", "return", "ck807_ck810_rtx_costs", "(", "x", ",", "code", ",", "outer_code", ",", "total", ",", "speed", ")", ";", "else", "if", "(", "CSKY_TARGET_ARCH", "(", "CK860", ")", ")", "return", "ck860_rtx_costs", "(", "x", ",", "code", ",", "mode", ",", "outer_code", ",", "total", ",", "speed", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_RTX_COSTS", ",", "to", "compute", "a", "(", "partial", ")", "cost", "for", "rtx", "X", ".", "Return", "true", "if", "the", "complete", "cost", "has", "been", "computed", ",", "and", "false", "if", "subexpressions", "should", "be", "scanned", ".", "In", "either", "case", ",", "*", "TOTAL", "contains", "the", "cost", "result", "."], "TS_V_token": ["csky"], "File": "csky", "Func": "csky_rtx_costs", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13966, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "altivec_expand_dst_builtin", "(", "tree", "exp", ",", "rtx", "target", "ATTRIBUTE_UNUSED", ",", "bool", "*", "expandedp", ")", "{", "tree", "fndecl", "=", "TREE_OPERAND", "(", "TREE_OPERAND", "(", "exp", ",", "0", ")", ",", "0", ")", ";", "tree", "arglist", "=", "TREE_OPERAND", "(", "exp", ",", "1", ")", ";", "unsigned", "int", "fcode", "=", "DECL_FUNCTION_CODE", "(", "fndecl", ")", ";", "tree", "arg0", ",", "arg1", ",", "arg2", ";", "enum", "machine_mode", "mode0", ",", "mode1", ",", "mode2", ";", "rtx", "pat", ",", "op0", ",", "op1", ",", "op2", ";", "struct", "builtin_description", "*", "d", ";", "size_t", "i", ";", "*", "expandedp", "=", "false", ";", "d", "=", "(", "struct", "builtin_description", "*", ")", "bdesc_dst", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "bdesc_dst", ")", ";", "i", "++", ",", "d", "++", ")", "if", "(", "d", "->", "code", "==", "fcode", ")", "{", "arg0", "=", "TREE_VALUE", "(", "arglist", ")", ";", "arg1", "=", "TREE_VALUE", "(", "TREE_CHAIN", "(", "arglist", ")", ")", ";", "arg2", "=", "TREE_VALUE", "(", "TREE_CHAIN", "(", "TREE_CHAIN", "(", "arglist", ")", ")", ")", ";", "op0", "=", "expand_expr", "(", "arg0", ",", "NULL_RTX", ",", "VOIDmode", ",", "0", ")", ";", "op1", "=", "expand_expr", "(", "arg1", ",", "NULL_RTX", ",", "VOIDmode", ",", "0", ")", ";", "op2", "=", "expand_expr", "(", "arg2", ",", "NULL_RTX", ",", "VOIDmode", ",", "0", ")", ";", "mode0", "=", "insn_data", "[", "d", "->", "icode", "]", ".", "operand", "[", "0", "]", ".", "mode", ";", "mode1", "=", "insn_data", "[", "d", "->", "icode", "]", ".", "operand", "[", "1", "]", ".", "mode", ";", "mode2", "=", "insn_data", "[", "d", "->", "icode", "]", ".", "operand", "[", "2", "]", ".", "mode", ";", "if", "(", "arg0", "==", "error_mark_node", "||", "arg1", "==", "error_mark_node", "||", "arg2", "==", "error_mark_node", ")", "return", "const0_rtx", ";", "*", "expandedp", "=", "true", ";", "STRIP_NOPS", "(", "arg2", ")", ";", "if", "(", "TREE_CODE", "(", "arg2", ")", "!=", "INTEGER_CST", "||", "TREE_INT_CST_LOW", "(", "arg2", ")", "&", "~", "0x3", ")", "{", "error", "(", "\"argument to %qs must be a 2-bit unsigned literal\"", ",", "d", "->", "name", ")", ";", "return", "const0_rtx", ";", "}", "if", "(", "!", "(", "*", "insn_data", "[", "d", "->", "icode", "]", ".", "operand", "[", "0", "]", ".", "predicate", ")", "(", "op0", ",", "mode0", ")", ")", "op0", "=", "copy_to_mode_reg", "(", "Pmode", ",", "op0", ")", ";", "if", "(", "!", "(", "*", "insn_data", "[", "d", "->", "icode", "]", ".", "operand", "[", "1", "]", ".", "predicate", ")", "(", "op1", ",", "mode1", ")", ")", "op1", "=", "copy_to_mode_reg", "(", "mode1", ",", "op1", ")", ";", "pat", "=", "GEN_FCN", "(", "d", "->", "icode", ")", "(", "op0", ",", "op1", ",", "op2", ")", ";", "if", "(", "pat", "!=", "0", ")", "emit_insn", "(", "pat", ")", ";", "return", "NULL_RTX", ";", "}", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Expand", "the", "dst", "builtins", "."], "TS_V_token": ["rs6000", "0", "0", "1", "0", "0", "0", "0", "0", "1", "2", "0x3", "\"argument to %qs must be a 2-bit unsigned literal\"", "0", "1", "0"], "File": "rs60003", "Func": "altivec_expand_dst_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13967, "Length": 402, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "loongarch_spill_class", "(", "reg_class_t", "rclass", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "return", "NO_REGS", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SPILL_CLASS", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_spill_class", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13968, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "getFeatures", "(", ")", "const", "{", "return", "Features", ";", "}", ""], "natrual_language": ["Returns", "the", "vector", "of", "individual", "subtarget", "features", "."], "TS_V_token": ["Mips"], "File": "MipsAsmParser19", "Func": "getFeatures", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13969, "Length": 10, "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", ";", "for", "(", "reg", "=", "LAST_IWMMXT_REGNUM", ";", "reg", ">=", "FIRST_IWMMXT_REGNUM", ";", "reg", "--", ")", "if", "(", "df_regs_ever_live_p", "(", "reg", ")", "&&", "!", "call_used_regs", "[", "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_HARD_FLOAT", ")", "{", "start_reg", "=", "FIRST_VFP_REGNUM", ";", "for", "(", "reg", "=", "FIRST_VFP_REGNUM", ";", "reg", "<", "LAST_VFP_REGNUM", ";", "reg", "+=", "2", ")", "{", "if", "(", "(", "!", "df_regs_ever_live_p", "(", "reg", ")", "||", "call_used_regs", "[", "reg", "]", ")", "&&", "(", "!", "df_regs_ever_live_p", "(", "reg", "+", "1", ")", "||", "call_used_regs", "[", "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", "1", "2", "2", "2"], "File": "arm6", "Func": "arm_save_coproc_regs", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13970, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_split_add_offset", "(", "scalar_int_mode", "mode", ",", "rtx", "dest", ",", "rtx", "src", ",", "rtx", "offset_rtx", ",", "rtx", "temp1", ",", "rtx", "temp2", ")", "{", "aarch64_add_offset", "(", "mode", ",", "dest", ",", "src", ",", "rtx_to_poly_int64", "(", "offset_rtx", ")", ",", "temp1", ",", "temp2", ",", "false", ")", ";", "}", ""], "natrual_language": ["Like", "aarch64_add_offset", ",", "but", "the", "offset", "is", "given", "as", "an", "rtx", "rather", "than", "a", "poly_int64", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_split_add_offset", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13971, "Length": 43, "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_fadd", ":", "case", "Intrinsic", "::", "aarch64_sve_fsub", ":", "return", "instCombineSVEVectorBinOp", "(", "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_fadd", "Intrinsic::aarch64_sve_fsub", "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": "AArch64TargetTransformInfo", "Func": "instCombineIntrinsic", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13972, "Length": 323, "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": 13973, "Length": 419, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "shouldConvertPhiType", "(", "Type", "*", "From", ",", "Type", "*", "To", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "is64Bit", "(", ")", ")", "return", "false", ";", "return", "TargetLowering", "::", "shouldConvertPhiType", "(", "From", ",", "To", ")", ";", "}", ""], "natrual_language": ["Given", "a", "set", "in", "interconnected", "phis", "of", "type", "'From", "'", "that", "are", "loaded/stored", "or", "bitcast", "to", "type", "'To", "'", ",", "return", "true", "if", "the", "set", "should", "be", "converted", "to", "'To", "'", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering (2)5", "Func": "shouldConvertPhiType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13974, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mingw32_gt_pch_use_address", "(", "void", "*", "&", "addr", ",", "size_t", "size", ",", "int", "fd", ",", "size_t", "offset", ")", "{", "void", "*", "mmap_addr", ";", "HANDLE", "mmap_handle", ";", "char", "*", "object_name", "=", "NULL", ";", "OSVERSIONINFO", "version_info", ";", "int", "r", ";", "version_info", ".", "dwOSVersionInfoSize", "=", "sizeof", "(", "version_info", ")", ";", "if", "(", "size", "==", "0", ")", "return", "0", ";", "if", "(", "(", "offset", "&", "(", "va_granularity", "-", "1", ")", ")", "!=", "0", "||", "size", ">", "pch_VA_max_size", ")", "return", "-", "1", ";", "GetVersionEx", "(", "&", "version_info", ")", ";", "char", "local_object_name", "[", "sizeof", "(", "OBJECT_NAME_FMT", ")", "+", "sizeof", "(", "DWORD", ")", "*", "2", "]", ";", "if", "(", "version_info", ".", "dwMajorVersion", ">", "4", ")", "{", "snprintf", "(", "local_object_name", ",", "sizeof", "(", "local_object_name", ")", ",", "OBJECT_NAME_FMT", "\"%lx\"", ",", "GetCurrentProcessId", "(", ")", ")", ";", "object_name", "=", "local_object_name", ";", "}", "mmap_handle", "=", "CreateFileMappingA", "(", "(", "HANDLE", ")", "_get_osfhandle", "(", "fd", ")", ",", "NULL", ",", "PAGE_WRITECOPY", "|", "SEC_COMMIT", ",", "0", ",", "0", ",", "object_name", ")", ";", "if", "(", "mmap_handle", "==", "NULL", ")", "{", "w32_error", "(", "__FUNCTION__", ",", "__FILE__", ",", "__LINE__", ",", "\"CreateFileMapping\"", ")", ";", "return", "-", "1", ";", "}", "for", "(", "r", "=", "0", ";", "r", "<", "5", ";", "r", "++", ")", "{", "mmap_addr", "=", "MapViewOfFileEx", "(", "mmap_handle", ",", "FILE_MAP_COPY", ",", "0", ",", "offset", ",", "size", ",", "addr", ")", ";", "if", "(", "mmap_addr", "==", "addr", ")", "break", ";", "if", "(", "r", "!=", "4", ")", "Sleep", "(", "500", ")", ";", "}", "if", "(", "mmap_addr", "!=", "addr", ")", "{", "w32_error", "(", "__FUNCTION__", ",", "__FILE__", ",", "__LINE__", ",", "\"MapViewOfFileEx\"", ")", ";", "CloseHandle", "(", "mmap_handle", ")", ";", "return", "-", "1", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["ADDR", "is", "an", "address", "returned", "by", "gt_pch_get_address", ".", "Attempt", "to", "allocate", "SIZE", "bytes", "at", "the", "same", "address", "and", "load", "it", "with", "the", "data", "from", "FD", "at", "OFFSET", ".", "Return", "-1", "if", "we", "could", "n't", "allocate", "memory", "at", "ADDR", ",", "return", "0", "if", "the", "memory", "is", "allocated", "but", "the", "data", "not", "loaded", ",", "return", "1", "if", "done", "."], "TS_V_token": ["i386", "0", "0", "1", "0", "1", "2", "4", "\"%lx\"", "0", "0", "\"CreateFileMapping\"", "1", "0", "5", "0", "4", "500", "\"MapViewOfFileEx\"", "1", "1"], "File": "host-mingw32", "Func": "mingw32_gt_pch_use_address", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13975, "Length": 262, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "machine_function", "*", "or1k_init_machine_status", "(", "void", ")", "{", "return", "ggc_cleared_alloc", "<", "machine_function", ">", "(", ")", ";", "}", ""], "natrual_language": ["Zero", "initialization", "is", "OK", "for", "all", "current", "fields", "."], "TS_V_token": ["or1k"], "File": "or1k", "Func": "or1k_init_machine_status", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13976, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{", "return", "createTOYELFObjectWriter", "(", "OS", ",", "MCELFObjectTargetWriter", "::", "getOSABI", "(", "OSType", ")", ",", "IsLittle", ",", "Is64Bit", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["TOY", "TOY"], "File": "TOYAsmBackend", "Func": "createObjectWriter", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13977, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "isUnpredicatedTerminator", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "const", "MCInstrDesc", "&", "MCID", "=", "MI", "->", "getDesc", "(", ")", ";", "if", "(", "!", "MCID", ".", "isTerminator", "(", ")", ")", "return", "false", ";", "if", "(", "MCID", ".", "isBranch", "(", ")", "&&", "!", "MCID", ".", "isBarrier", "(", ")", ")", "return", "true", ";", "if", "(", "!", "MCID", ".", "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": "X86InstrInfo132", "Func": "isUnpredicatedTerminator", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13978, "Length": 73, "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", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "!=", "ARM", "::", "CPSR", ")", "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", ":", "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", "::", "createFPImm", "(", "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\"", "ARM::CPSR", "\"Subregs should be eliminated!\"", "ARM"], "File": "ARMMCInstLower14", "Func": "lowerOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13979, "Length": 325, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "ARM64TargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "MI", "->", "dump", "(", ")", ";", "assert", "(", "0", "&&", "\"Unexpected instruction for custom inserter!\"", ")", ";", "break", ";", "case", "ARM64", "::", "F128CSEL", ":", "return", "EmitF128CSEL", "(", "MI", ",", "BB", ")", ";", "case", "TargetOpcode", "::", "STACKMAP", ":", "case", "TargetOpcode", "::", "PATCHPOINT", ":", "return", "emitPatchPoint", "(", "MI", ",", "BB", ")", ";", "}", "llvm_unreachable", "(", "\"Unexpected instruction for custom inserter!\"", ")", ";", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["ARM64", "ARM64", "0", "\"Unexpected instruction for custom inserter!\"", "ARM64::F128CSEL", "\"Unexpected instruction for custom inserter!\""], "File": "ARM64ISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13980, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCDisassembler", "::", "DecodeStatus", "X86GenericDisassembler", "::", "getInstruction", "(", "MCInst", "&", "instr", ",", "uint64_t", "&", "size", ",", "const", "MemoryObject", "&", "region", ",", "uint64_t", "address", ",", "raw_ostream", "&", "vStream", ",", "raw_ostream", "&", "cStream", ")", "const", "{", "CommentStream", "=", "&", "cStream", ";", "InternalInstruction", "internalInstr", ";", "dlog_t", "loggerFn", "=", "logger", ";", "if", "(", "&", "vStream", "==", "&", "nulls", "(", ")", ")", "loggerFn", "=", "nullptr", ";", "int", "ret", "=", "decodeInstruction", "(", "&", "internalInstr", ",", "regionReader", ",", "(", "const", "void", "*", ")", "&", "region", ",", "loggerFn", ",", "(", "void", "*", ")", "&", "vStream", ",", "(", "const", "void", "*", ")", "MII", ".", "get", "(", ")", ",", "address", ",", "fMode", ")", ";", "if", "(", "ret", ")", "{", "size", "=", "internalInstr", ".", "readerCursor", "-", "address", ";", "return", "Fail", ";", "}", "else", "{", "size", "=", "internalInstr", ".", "length", ";", "return", "(", "!", "translateInstruction", "(", "instr", ",", "internalInstr", ",", "this", ")", ")", "?", "Success", ":", "Fail", ";", "}", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["X86", "X86"], "File": "X86Disassembler", "Func": "getInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13981, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "OR1KAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "Operands", ".", "push_back", "(", "OR1KOperand", "::", "CreateToken", "(", "Name", ",", "NameLoc", ")", ")", ";", "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", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "return", "Error", "(", "getLexer", "(", ")", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ",", "\"unexpected token in operand list\"", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["OR1K", "OR1K", "OR1KOperand::CreateToken", "\"unexpected token in operand list\""], "File": "OR1KAsmParser1", "Func": "ParseInstruction", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13982, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "gen_gpr_to_xmm_move_src", "(", "enum", "machine_mode", "vmode", ",", "rtx", "gpr", ")", "{", "switch", "(", "GET_MODE_NUNITS", "(", "vmode", ")", ")", "{", "case", "1", ":", "gcc_unreachable", "(", ")", ";", "case", "2", ":", "return", "gen_rtx_VEC_CONCAT", "(", "vmode", ",", "gpr", ",", "CONST0_RTX", "(", "GET_MODE_INNER", "(", "vmode", ")", ")", ")", ";", "default", ":", "return", "gen_rtx_VEC_MERGE", "(", "vmode", ",", "gen_rtx_VEC_DUPLICATE", "(", "vmode", ",", "gpr", ")", ",", "CONST0_RTX", "(", "vmode", ")", ",", "GEN_INT", "(", "HOST_WIDE_INT_1U", ")", ")", ";", "}", "}", ""], "natrual_language": ["Generate", "the", "canonical", "SET_SRC", "to", "move", "GPR", "to", "a", "VMODE", "vector", "register", ",", "zeroing", "the", "upper", "parts", "."], "TS_V_token": ["i386", "1", "2"], "File": "i386-features", "Func": "gen_gpr_to_xmm_move_src", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13983, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_pop_regs", "(", "unsigned", "regno1", ",", "unsigned", "regno2", ",", "HOST_WIDE_INT", "adjustment", ",", "rtx", "*", "cfi_ops", ")", "{", "machine_mode", "mode", "=", "aarch64_reg_save_mode", "(", "regno1", ")", ";", "rtx", "reg1", "=", "gen_rtx_REG", "(", "mode", ",", "regno1", ")", ";", "*", "cfi_ops", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg1", ",", "*", "cfi_ops", ")", ";", "if", "(", "regno2", "==", "INVALID_REGNUM", ")", "{", "rtx", "mem", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "adjustment", ")", ";", "mem", "=", "gen_rtx_POST_MODIFY", "(", "Pmode", ",", "stack_pointer_rtx", ",", "mem", ")", ";", "emit_move_insn", "(", "reg1", ",", "gen_frame_mem", "(", "mode", ",", "mem", ")", ")", ";", "}", "else", "{", "rtx", "reg2", "=", "gen_rtx_REG", "(", "mode", ",", "regno2", ")", ";", "*", "cfi_ops", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg2", ",", "*", "cfi_ops", ")", ";", "emit_insn", "(", "aarch64_gen_loadwb_pair", "(", "mode", ",", "stack_pointer_rtx", ",", "reg1", ",", "reg2", ",", "adjustment", ")", ")", ";", "}", "}", ""], "natrual_language": ["Pop", "the", "two", "registers", "numbered", "REGNO1", ",", "REGNO2", "from", "the", "stack", ",", "adjusting", "it", "afterwards", "by", "ADJUSTMENT", "and", "writing", "the", "appropriate", "REG_CFA_RESTORE", "notes", "into", "CFI_OPS", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_pop_regs", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13984, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "analyzeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "&", "TBB", ",", "MachineBasicBlock", "*", "&", "FBB", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "bool", "AllowModify", ")", "const", "{", "TBB", "=", "nullptr", ";", "FBB", "=", "nullptr", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "end", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", ")", "return", "false", ";", "--", "I", ";", "while", "(", "isPredicated", "(", "*", "I", ")", "||", "I", "->", "isTerminator", "(", ")", "||", "I", "->", "isDebugValue", "(", ")", ")", "{", "bool", "CantAnalyze", "=", "false", ";", "while", "(", "I", "->", "isDebugInstr", "(", ")", "||", "!", "I", "->", "isTerminator", "(", ")", ")", "{", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", ")", "return", "false", ";", "--", "I", ";", "}", "if", "(", "isIndirectBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", "||", "isJumpTableBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "{", "CantAnalyze", "=", "true", ";", "}", "else", "if", "(", "isUncondBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "{", "TBB", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "}", "else", "if", "(", "isCondBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "{", "if", "(", "!", "Cond", ".", "empty", "(", ")", ")", "return", "true", ";", "assert", "(", "!", "FBB", "&&", "\"FBB should have been null.\"", ")", ";", "FBB", "=", "TBB", ";", "TBB", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "Cond", ".", "push_back", "(", "I", "->", "getOperand", "(", "1", ")", ")", ";", "Cond", ".", "push_back", "(", "I", "->", "getOperand", "(", "2", ")", ")", ";", "}", "else", "if", "(", "I", "->", "isReturn", "(", ")", ")", "{", "CantAnalyze", "=", "!", "isPredicated", "(", "*", "I", ")", ";", "}", "else", "{", "return", "true", ";", "}", "if", "(", "!", "isPredicated", "(", "*", "I", ")", "&&", "(", "isUncondBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", "||", "isIndirectBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", "||", "isJumpTableBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", "||", "I", "->", "isReturn", "(", ")", ")", ")", "{", "Cond", ".", "clear", "(", ")", ";", "FBB", "=", "nullptr", ";", "if", "(", "AllowModify", ")", "{", "MachineBasicBlock", "::", "iterator", "DI", "=", "std", "::", "next", "(", "I", ")", ";", "while", "(", "DI", "!=", "MBB", ".", "end", "(", ")", ")", "{", "MachineInstr", "&", "InstToDelete", "=", "*", "DI", ";", "++", "DI", ";", "InstToDelete", ".", "eraseFromParent", "(", ")", ";", "}", "}", "}", "if", "(", "CantAnalyze", ")", "return", "true", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", ")", "return", "false", ";", "--", "I", ";", "}", "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": ["ARM", "ARM", "0", "\"FBB should have been null.\"", "0", "1", "2"], "File": "ARMBaseInstrInfo1", "Func": "analyzeBranch", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13985, "Length": 409, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARM64FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "assert", "(", "MBBI", "->", "isReturn", "(", ")", "&&", "\"Can only insert epilog into returning blocks\"", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "ARM64InstrInfo", "*", "TII", "=", "static_cast", "<", "const", "ARM64InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "const", "ARM64RegisterInfo", "*", "RegInfo", "=", "static_cast", "<", "const", "ARM64RegisterInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "int", "NumBytes", "=", "MFI", "->", "getStackSize", "(", ")", ";", "unsigned", "NumRestores", "=", "0", ";", "MachineBasicBlock", "::", "iterator", "LastPopI", "=", "MBBI", ";", "const", "MCPhysReg", "*", "CSRegs", "=", "RegInfo", "->", "getCalleeSavedRegs", "(", "&", "MF", ")", ";", "if", "(", "LastPopI", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "do", "{", "++", "NumRestores", ";", "--", "LastPopI", ";", "}", "while", "(", "LastPopI", "!=", "MBB", ".", "begin", "(", ")", "&&", "isCSRestore", "(", "LastPopI", ",", "CSRegs", ")", ")", ";", "if", "(", "!", "isCSRestore", "(", "LastPopI", ",", "CSRegs", ")", ")", "{", "++", "LastPopI", ";", "--", "NumRestores", ";", "}", "}", "NumBytes", "-=", "NumRestores", "*", "16", ";", "assert", "(", "NumBytes", ">=", "0", "&&", "\"Negative stack allocation size!?\"", ")", ";", "if", "(", "!", "hasFP", "(", "MF", ")", ")", "{", "if", "(", "!", "canUseRedZone", "(", "MF", ")", ")", "emitFrameOffset", "(", "MBB", ",", "LastPopI", ",", "DL", ",", "ARM64", "::", "SP", ",", "ARM64", "::", "SP", ",", "NumBytes", ",", "TII", ")", ";", "return", ";", "}", "if", "(", "NumBytes", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", ")", "emitFrameOffset", "(", "MBB", ",", "LastPopI", ",", "DL", ",", "ARM64", "::", "SP", ",", "ARM64", "::", "FP", ",", "-", "(", "NumRestores", "-", "1", ")", "*", "16", ",", "TII", ",", "MachineInstr", "::", "NoFlags", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["ARM64", "ARM64", "\"Can only insert epilog into returning blocks\"", "ARM64", "ARM64", "ARM64", "ARM64", "0", "16", "0", "\"Negative stack allocation size!?\"", "ARM64::SP", "ARM64::SP", "ARM64::SP", "ARM64::FP", "1", "16"], "File": "ARM64FrameLowering", "Func": "emitEpilogue", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13986, "Length": 292, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "shouldExpandAtomicStoreInIR", "(", "StoreInst", "*", "SI", ")", "const", "{", "unsigned", "Size", "=", "SI", "->", "getValueOperand", "(", ")", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "return", "Size", "==", "128", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "(", "atomic", ")", "store", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "into", "."], "TS_V_token": ["AArch64", "AArch64", "128"], "File": "AArch64ISelLowering (2)", "Func": "shouldExpandAtomicStoreInIR", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13987, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_avx_u128_mode_after", "(", "int", "mode", ",", "rtx_insn", "*", "insn", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "vzeroupper_pattern", "(", "pat", ",", "VOIDmode", ")", "||", "vzeroall_pattern", "(", "pat", ",", "VOIDmode", ")", ")", "return", "AVX_U128_CLEAN", ";", "if", "(", "CALL_P", "(", "insn", ")", ")", "{", "bool", "avx_upper_reg_found", "=", "false", ";", "note_stores", "(", "insn", ",", "ix86_check_avx_upper_stores", ",", "&", "avx_upper_reg_found", ")", ";", "return", "avx_upper_reg_found", "?", "AVX_U128_DIRTY", ":", "AVX_U128_CLEAN", ";", "}", "return", "mode", ";", "}", ""], "natrual_language": ["Calculate", "mode", "of", "upper", "128bit", "AVX", "registers", "after", "the", "insn", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_avx_u128_mode_after", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13988, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_pass_in_reg_p", "(", "const", "CUMULATIVE_ARGS", "&", "cum", ",", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "return", "(", "(", "type", "==", "0", "||", "(", "!", "TREE_ADDRESSABLE", "(", "type", ")", "&&", "(", "!", "(", "TARGET_HITACHI", "||", "cum", ".", "renesas_abi", ")", "||", "!", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "||", "(", "!", "TARGET_FPU_ANY", "&&", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", "&&", "GET_MODE_SIZE", "(", "mode", ")", ">", "GET_MODE_SIZE", "(", "SFmode", ")", ")", ")", ")", ")", ")", ")", "&&", "!", "cum", ".", "force_mem", "&&", "(", "TARGET_SH2E", "?", "(", "(", "mode", ")", "==", "BLKmode", "?", "(", "(", "cum", ".", "arg_count", "[", "(", "int", ")", "SH_ARG_INT", "]", "*", "UNITS_PER_WORD", "+", "int_size_in_bytes", "(", "type", ")", ")", "<=", "NPARM_REGS", "(", "SImode", ")", "*", "UNITS_PER_WORD", ")", ":", "(", "(", "sh_round_reg", "(", "cum", ",", "mode", ")", "+", "sh_hard_regno_nregs", "(", "BASE_ARG_REG", "(", "mode", ")", ",", "mode", ")", ")", "<=", "NPARM_REGS", "(", "mode", ")", ")", ")", ":", "sh_round_reg", "(", "cum", ",", "mode", ")", "<", "NPARM_REGS", "(", "mode", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "arg", "of", "the", "specified", "mode", "should", "be", "be", "passed", "in", "a", "register", "or", "false", "otherwise", "."], "TS_V_token": ["sh", "0"], "File": "sh", "Func": "sh_pass_in_reg_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13989, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "AArch64_MachoTargetObjectFile", "::", "getIndirectSymViaGOTPCRel", "(", "const", "GlobalValue", "*", "GV", ",", "const", "MCSymbol", "*", "Sym", ",", "const", "MCValue", "&", "MV", ",", "int64_t", "Offset", ",", "MachineModuleInfo", "*", "MMI", ",", "MCStreamer", "&", "Streamer", ")", "const", "{", "assert", "(", "(", "Offset", "+", "MV", ".", "getConstant", "(", ")", "==", "0", ")", "&&", "\"Arch64 does not support GOT PC rel with extra offset\"", ")", ";", "const", "MCExpr", "*", "Res", "=", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "MCSymbolRefExpr", "::", "VK_GOT", ",", "getContext", "(", ")", ")", ";", "MCSymbol", "*", "PCSym", "=", "getContext", "(", ")", ".", "createTempSymbol", "(", ")", ";", "Streamer", ".", "emitLabel", "(", "PCSym", ")", ";", "const", "MCExpr", "*", "PC", "=", "MCSymbolRefExpr", "::", "create", "(", "PCSym", ",", "getContext", "(", ")", ")", ";", "return", "MCBinaryExpr", "::", "createSub", "(", "Res", ",", "PC", ",", "getContext", "(", ")", ")", ";", "}", ""], "natrual_language": ["Get", "the", "target", "specific", "PC", "relative", "GOT", "entry", "relocation", "."], "TS_V_token": ["AArch64", "AArch64", "0", "\"Arch64 does not support GOT PC rel with extra offset\""], "File": "AArch64TargetObjectFile10", "Func": "getIndirectSymViaGOTPCRel", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13990, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_libcall_value", "(", "machine_mode", "mode", ",", "const_rtx", "fun", "ATTRIBUTE_UNUSED", ")", "{", "return", "mips_function_value_1", "(", "NULL_TREE", ",", "NULL_TREE", ",", "mode", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LIBCALL_VALUE", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_libcall_value", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13991, "Length": 23, "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": 13992, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_sched_can_speculate_insn", "(", "rtx_insn", "*", "insn", ")", "{", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_SDIV", ":", "case", "TYPE_UDIV", ":", "case", "TYPE_FDIVS", ":", "case", "TYPE_FDIVD", ":", "case", "TYPE_FSQRTS", ":", "case", "TYPE_FSQRTD", ":", "case", "TYPE_NEON_FP_SQRT_S", ":", "case", "TYPE_NEON_FP_SQRT_D", ":", "case", "TYPE_NEON_FP_SQRT_S_Q", ":", "case", "TYPE_NEON_FP_SQRT_D_Q", ":", "case", "TYPE_NEON_FP_DIV_S", ":", "case", "TYPE_NEON_FP_DIV_D", ":", "case", "TYPE_NEON_FP_DIV_S_Q", ":", "case", "TYPE_NEON_FP_DIV_D_Q", ":", "return", "false", ";", "default", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_SCHED_CAN_SPECULATE_INSN", ".", "Return", "true", "if", "INSN", "can", "be", "scheduled", "for", "speculative", "execution", ".", "Reject", "the", "long-running", "division", "and", "square-root", "instructions", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_sched_can_speculate_insn", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13993, "Length": 69, "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": 13994, "Length": 462, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_split_128bit_move", "(", "rtx", "dest", ",", "rtx", "src", ")", "{", "int", "byte", ",", "index", ";", "rtx", "low_dest", ",", "low_src", ",", "d", ",", "s", ";", "if", "(", "FP_REG_RTX_P", "(", "dest", ")", ")", "{", "gcc_assert", "(", "!", "MEM_P", "(", "src", ")", ")", ";", "rtx", "new_dest", "=", "dest", ";", "if", "(", "!", "TARGET_64BIT", ")", "{", "if", "(", "GET_MODE", "(", "dest", ")", "!=", "V4SImode", ")", "new_dest", "=", "simplify_gen_subreg", "(", "V4SImode", ",", "dest", ",", "GET_MODE", "(", "dest", ")", ",", "0", ")", ";", "}", "else", "{", "if", "(", "GET_MODE", "(", "dest", ")", "!=", "V2DImode", ")", "new_dest", "=", "simplify_gen_subreg", "(", "V2DImode", ",", "dest", ",", "GET_MODE", "(", "dest", ")", ",", "0", ")", ";", "}", "for", "(", "byte", "=", "0", ",", "index", "=", "0", ";", "byte", "<", "GET_MODE_SIZE", "(", "TImode", ")", ";", "byte", "+=", "UNITS_PER_WORD", ",", "index", "++", ")", "{", "s", "=", "mips_subword_at_byte", "(", "src", ",", "byte", ")", ";", "if", "(", "!", "TARGET_64BIT", ")", "emit_insn", "(", "gen_msa_insert_w", "(", "new_dest", ",", "s", ",", "new_dest", ",", "GEN_INT", "(", "1", "<<", "index", ")", ")", ")", ";", "else", "emit_insn", "(", "gen_msa_insert_d", "(", "new_dest", ",", "s", ",", "new_dest", ",", "GEN_INT", "(", "1", "<<", "index", ")", ")", ")", ";", "}", "}", "else", "if", "(", "FP_REG_RTX_P", "(", "src", ")", ")", "{", "gcc_assert", "(", "!", "MEM_P", "(", "dest", ")", ")", ";", "rtx", "new_src", "=", "src", ";", "if", "(", "!", "TARGET_64BIT", ")", "{", "if", "(", "GET_MODE", "(", "src", ")", "!=", "V4SImode", ")", "new_src", "=", "simplify_gen_subreg", "(", "V4SImode", ",", "src", ",", "GET_MODE", "(", "src", ")", ",", "0", ")", ";", "}", "else", "{", "if", "(", "GET_MODE", "(", "src", ")", "!=", "V2DImode", ")", "new_src", "=", "simplify_gen_subreg", "(", "V2DImode", ",", "src", ",", "GET_MODE", "(", "src", ")", ",", "0", ")", ";", "}", "for", "(", "byte", "=", "0", ",", "index", "=", "0", ";", "byte", "<", "GET_MODE_SIZE", "(", "TImode", ")", ";", "byte", "+=", "UNITS_PER_WORD", ",", "index", "++", ")", "{", "d", "=", "mips_subword_at_byte", "(", "dest", ",", "byte", ")", ";", "if", "(", "!", "TARGET_64BIT", ")", "emit_insn", "(", "gen_msa_copy_s_w", "(", "d", ",", "new_src", ",", "GEN_INT", "(", "index", ")", ")", ")", ";", "else", "emit_insn", "(", "gen_msa_copy_s_d", "(", "d", ",", "new_src", ",", "GEN_INT", "(", "index", ")", ")", ")", ";", "}", "}", "else", "{", "low_dest", "=", "mips_subword_at_byte", "(", "dest", ",", "0", ")", ";", "low_src", "=", "mips_subword_at_byte", "(", "src", ",", "0", ")", ";", "gcc_assert", "(", "REG_P", "(", "low_dest", ")", "&&", "REG_P", "(", "low_src", ")", ")", ";", "if", "(", "REGNO", "(", "low_dest", ")", "<=", "REGNO", "(", "low_src", ")", ")", "{", "for", "(", "byte", "=", "0", ";", "byte", "<", "GET_MODE_SIZE", "(", "TImode", ")", ";", "byte", "+=", "UNITS_PER_WORD", ")", "{", "d", "=", "mips_subword_at_byte", "(", "dest", ",", "byte", ")", ";", "s", "=", "mips_subword_at_byte", "(", "src", ",", "byte", ")", ";", "mips_emit_move", "(", "d", ",", "s", ")", ";", "}", "}", "else", "{", "for", "(", "byte", "=", "GET_MODE_SIZE", "(", "TImode", ")", "-", "UNITS_PER_WORD", ";", "byte", ">=", "0", ";", "byte", "-=", "UNITS_PER_WORD", ")", "{", "d", "=", "mips_subword_at_byte", "(", "dest", ",", "byte", ")", ";", "s", "=", "mips_subword_at_byte", "(", "src", ",", "byte", ")", ";", "mips_emit_move", "(", "d", ",", "s", ")", ";", "}", "}", "}", "}", ""], "natrual_language": ["Split", "a", "128-bit", "move", "from", "SRC", "to", "DEST", "."], "TS_V_token": ["mips", "0", "0", "0", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0"], "File": "mips", "Func": "mips_split_128bit_move", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13995, "Length": 483, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "Operands", ".", "push_back", "(", "SparcOperand", "::", "CreateToken", "(", "Name", ",", "NameLoc", ")", ")", ";", "applyMnemonicAliases", "(", "Name", ",", "getAvailableFeatures", "(", ")", ",", "0", ")", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "if", "(", "parseBranchModifiers", "(", "Operands", ")", "!=", "MatchOperand_Success", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token\"", ")", ";", "}", "}", "if", "(", "parseOperand", "(", "Operands", ",", "Name", ")", "!=", "MatchOperand_Success", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token\"", ")", ";", "}", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "parseOperand", "(", "Operands", ",", "Name", ")", "!=", "MatchOperand_Success", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token\"", ")", ";", "}", "}", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token\"", ")", ";", "}", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["Sparc", "Sparc", "SparcOperand::CreateToken", "0", "\"unexpected token\"", "\"unexpected token\"", "\"unexpected token\"", "\"unexpected token\""], "File": "SparcAsmParser", "Func": "ParseInstruction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13996, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86MCCodeEmitter", "::", "emitPrefix", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "Opcode", ")", ";", "uint64_t", "TSFlags", "=", "Desc", ".", "TSFlags", ";", "if", "(", "(", "TSFlags", "&", "X86II", "::", "FormMask", ")", "==", "X86II", "::", "Pseudo", ")", "return", ";", "unsigned", "CurOp", "=", "X86II", "::", "getOperandBias", "(", "Desc", ")", ";", "unsigned", "CurByte", "=", "0", ";", "bool", "Rex", "=", "false", ";", "emitPrefixImpl", "(", "TSFlags", ",", "CurOp", ",", "CurByte", ",", "Rex", ",", "MI", ",", "Desc", ",", "STI", ",", "OS", ")", ";", "}", ""], "natrual_language": ["Append", "the", "prefixes", "of", "given", "instruction", "to", "the", "code", "buffer", "."], "TS_V_token": ["X86", "X86", "X86II::FormMask", "X86II::Pseudo", "X86II::getOperandBias", "0"], "File": "X86MCCodeEmitter40", "Func": "emitPrefix", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13997, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0AsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Cpu0FI", "=", "MF", ".", "getInfo", "<", "Cpu0MachineFunctionInfo", ">", "(", ")", ";", "AsmPrinter", "::", "runOnMachineFunction", "(", "MF", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0", "Cpu0"], "File": "Cpu0AsmPrinter", "Func": "runOnMachineFunction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 13998, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_add_constant_internal", "(", "machine_mode", "mode", ",", "int", "regnum", ",", "int", "scratchreg", ",", "HOST_WIDE_INT", "delta", ",", "bool", "frame_related_p", ",", "bool", "emit_move_imm", ")", "{", "HOST_WIDE_INT", "mdelta", "=", "abs_hwi", "(", "delta", ")", ";", "rtx", "this_rtx", "=", "gen_rtx_REG", "(", "mode", ",", "regnum", ")", ";", "rtx_insn", "*", "insn", ";", "if", "(", "!", "mdelta", ")", "return", ";", "if", "(", "aarch64_uimm12_shift", "(", "mdelta", ")", ")", "{", "insn", "=", "emit_insn", "(", "gen_add2_insn", "(", "this_rtx", ",", "GEN_INT", "(", "delta", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "frame_related_p", ";", "return", ";", "}", "if", "(", "mdelta", "<", "0x1000000", "&&", "!", "aarch64_move_imm", "(", "mdelta", ",", "mode", ")", ")", "{", "HOST_WIDE_INT", "low_off", "=", "mdelta", "&", "0xfff", ";", "low_off", "=", "delta", "<", "0", "?", "-", "low_off", ":", "low_off", ";", "insn", "=", "emit_insn", "(", "gen_add2_insn", "(", "this_rtx", ",", "GEN_INT", "(", "low_off", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "frame_related_p", ";", "insn", "=", "emit_insn", "(", "gen_add2_insn", "(", "this_rtx", ",", "GEN_INT", "(", "delta", "-", "low_off", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "frame_related_p", ";", "return", ";", "}", "rtx", "scratch_rtx", "=", "gen_rtx_REG", "(", "mode", ",", "scratchreg", ")", ";", "if", "(", "emit_move_imm", ")", "aarch64_internal_mov_immediate", "(", "scratch_rtx", ",", "GEN_INT", "(", "mdelta", ")", ",", "true", ",", "mode", ")", ";", "insn", "=", "emit_insn", "(", "delta", "<", "0", "?", "gen_sub2_insn", "(", "this_rtx", ",", "scratch_rtx", ")", ":", "gen_add2_insn", "(", "this_rtx", ",", "scratch_rtx", ")", ")", ";", "if", "(", "frame_related_p", ")", "{", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "frame_related_p", ";", "rtx", "adj", "=", "plus_constant", "(", "mode", ",", "this_rtx", ",", "delta", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_ADJUST_CFA", ",", "gen_rtx_SET", "(", "this_rtx", ",", "adj", ")", ")", ";", "}", "}", ""], "natrual_language": ["Add", "DELTA", "to", "REGNUM", "in", "mode", "MODE", ".", "SCRATCHREG", "can", "be", "used", "to", "hold", "a", "temporary", "value", "if", "necessary", ".", "FRAME_RELATED_P", "should", "be", "true", "if", "the", "RTX_FRAME_RELATED", "flag", "should", "be", "set", "and", "CFA", "adjustments", "added", "to", "the", "generated", "instructions", ".", "If", "SCRATCHREG", "is", "known", "to", "hold", "abs", "(", "delta", ")", ",", "EMIT_MOVE_IMM", "can", "be", "set", "to", "false", "to", "avoid", "emitting", "the", "immediate", "again", ".", "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", "0x1000000", "0xfff", "0", "0"], "File": "aarch644", "Func": "aarch64_add_constant_internal", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 13999, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isSchedulingBoundary", "(", "const", "MachineInstr", "*", "MI", ",", "const", "MachineBasicBlock", "*", "MBB", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "MI", "->", "isDebugValue", "(", ")", ")", "return", "false", ";", "if", "(", "MI", "->", "isTerminator", "(", ")", "||", "MI", "->", "isPosition", "(", ")", ")", "return", "true", ";", "MachineBasicBlock", "::", "const_iterator", "I", "=", "MI", ";", "while", "(", "++", "I", "!=", "MBB", "->", "end", "(", ")", "&&", "I", "->", "isDebugValue", "(", ")", ")", ";", "if", "(", "I", "!=", "MBB", "->", "end", "(", ")", "&&", "I", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2IT", ")", "return", "true", ";", "if", "(", "!", "MI", "->", "isCall", "(", ")", "&&", "MI", "->", "definesRegister", "(", "ARM", "::", "SP", ")", ")", "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": ["ARM", "ARM", "ARM::t2IT", "ARM::SP"], "File": "ARMBaseInstrInfo (2)", "Func": "isSchedulingBoundary", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14000, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SHUXIAsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsResolved", ")", "const", "{", "if", "(", "!", "Value", ")", "{", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ")", ";", "return", ";", "}", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "assert", "(", "Value", "%", "4", "==", "0", "&&", "\"The destination address is not aligned to a word\"", ")", ";", "Data", "[", "Offset", "]", "=", "Value", "&", "0xFF", ";", "Data", "[", "Offset", "+", "1", "]", "=", "uint8_t", "(", "(", "Value", ">>", "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": ["SHUXI", "SHUXI", "4", "0", "\"The destination address is not aligned to a word\"", "0xFF", "1", "8", "0xFF"], "File": "SHUXIAsmBackend", "Func": "applyFixup", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14001, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86InstrInfo", "::", "getSPAdjust", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "const", "MachineFunction", "*", "MF", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", "->", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "if", "(", "isFrameInstr", "(", "MI", ")", ")", "{", "int", "SPAdj", "=", "alignTo", "(", "getFrameSize", "(", "MI", ")", ",", "TFI", "->", "getStackAlign", "(", ")", ")", ";", "SPAdj", "-=", "getFrameAdjustment", "(", "MI", ")", ";", "if", "(", "!", "isFrameSetup", "(", "MI", ")", ")", "SPAdj", "=", "-", "SPAdj", ";", "return", "SPAdj", ";", "}", "if", "(", "MI", ".", "isCall", "(", ")", ")", "{", "const", "MachineBasicBlock", "*", "MBB", "=", "MI", ".", "getParent", "(", ")", ";", "auto", "I", "=", "++", "MachineBasicBlock", "::", "const_iterator", "(", "MI", ")", ";", "for", "(", "auto", "E", "=", "MBB", "->", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "getCallFrameDestroyOpcode", "(", ")", "||", "I", "->", "isCall", "(", ")", ")", "break", ";", "}", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "getCallFrameDestroyOpcode", "(", ")", ")", "return", "0", ";", "return", "-", "(", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ")", ";", "}", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "X86", "::", "PUSH32i8", ":", "case", "X86", "::", "PUSH32r", ":", "case", "X86", "::", "PUSH32rmm", ":", "case", "X86", "::", "PUSH32rmr", ":", "case", "X86", "::", "PUSHi32", ":", "return", "4", ";", "case", "X86", "::", "PUSH64i8", ":", "case", "X86", "::", "PUSH64r", ":", "case", "X86", "::", "PUSH64rmm", ":", "case", "X86", "::", "PUSH64rmr", ":", "case", "X86", "::", "PUSH64i32", ":", "return", "8", ";", "}", "}", ""], "natrual_language": ["getSPAdjust", "-", "This", "returns", "the", "stack", "pointer", "adjustment", "made", "by", "this", "instruction", "."], "TS_V_token": ["X86", "X86", "0", "1", "0", "X86::PUSH32i8", "X86::PUSH32r", "X86::PUSH32rmm", "X86::PUSH32rmr", "X86::PUSHi32", "4", "X86::PUSH64i8", "X86::PUSH64r", "X86::PUSH64rmm", "X86::PUSH64rmr", "X86::PUSH64i32", "8"], "File": "X86InstrInfo (2)3", "Func": "getSPAdjust", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14002, "Length": 265, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MandarinAsmPrinter", "::", "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": ["Mandarin", "0"], "File": "MandarinAsmPrinter", "Func": "PrintAsmMemoryOperand", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14003, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64MIPeepholeOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "static_cast", "<", "const", "AArch64RegisterInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "MLI", "=", "&", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "assert", "(", "MRI", "->", "isSSA", "(", ")", "&&", "\"Expected to be run on SSA form!\"", ")", ";", "bool", "Changed", "=", "false", ";", "SmallSetVector", "<", "MachineInstr", "*", ",", "8", ">", "ToBeRemoved", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "AArch64", "::", "ANDWrr", ":", "Changed", "=", "visitAND", "<", "uint32_t", ">", "(", "AArch64", "::", "ANDWri", ",", "MI", ",", "ToBeRemoved", ")", ";", "break", ";", "case", "AArch64", "::", "ANDXrr", ":", "Changed", "=", "visitAND", "<", "uint64_t", ">", "(", "AArch64", "::", "ANDXri", ",", "MI", ",", "ToBeRemoved", ")", ";", "break", ";", "case", "AArch64", "::", "ORRWrs", ":", "Changed", "=", "visitORR", "(", "MI", ",", "ToBeRemoved", ")", ";", "break", ";", "case", "AArch64", "::", "ADDWrr", ":", "Changed", "=", "visitADDSUB", "<", "uint32_t", ">", "(", "AArch64", "::", "ADDWri", ",", "AArch64", "::", "SUBWri", ",", "MI", ",", "ToBeRemoved", ")", ";", "break", ";", "case", "AArch64", "::", "SUBWrr", ":", "Changed", "=", "visitADDSUB", "<", "uint32_t", ">", "(", "AArch64", "::", "SUBWri", ",", "AArch64", "::", "ADDWri", ",", "MI", ",", "ToBeRemoved", ")", ";", "break", ";", "case", "AArch64", "::", "ADDXrr", ":", "Changed", "=", "visitADDSUB", "<", "uint64_t", ">", "(", "AArch64", "::", "ADDXri", ",", "AArch64", "::", "SUBXri", ",", "MI", ",", "ToBeRemoved", ")", ";", "break", ";", "case", "AArch64", "::", "SUBXrr", ":", "Changed", "=", "visitADDSUB", "<", "uint64_t", ">", "(", "AArch64", "::", "SUBXri", ",", "AArch64", "::", "ADDXri", ",", "MI", ",", "ToBeRemoved", ")", ";", "break", ";", "case", "AArch64", "::", "ADDSWrr", ":", "Changed", "=", "visitADDSSUBS", "<", "uint32_t", ">", "(", "{", "AArch64", "::", "ADDWri", ",", "AArch64", "::", "ADDSWri", "}", ",", "{", "AArch64", "::", "SUBWri", ",", "AArch64", "::", "SUBSWri", "}", ",", "MI", ",", "ToBeRemoved", ")", ";", "break", ";", "case", "AArch64", "::", "SUBSWrr", ":", "Changed", "=", "visitADDSSUBS", "<", "uint32_t", ">", "(", "{", "AArch64", "::", "SUBWri", ",", "AArch64", "::", "SUBSWri", "}", ",", "{", "AArch64", "::", "ADDWri", ",", "AArch64", "::", "ADDSWri", "}", ",", "MI", ",", "ToBeRemoved", ")", ";", "break", ";", "case", "AArch64", "::", "ADDSXrr", ":", "Changed", "=", "visitADDSSUBS", "<", "uint64_t", ">", "(", "{", "AArch64", "::", "ADDXri", ",", "AArch64", "::", "ADDSXri", "}", ",", "{", "AArch64", "::", "SUBXri", ",", "AArch64", "::", "SUBSXri", "}", ",", "MI", ",", "ToBeRemoved", ")", ";", "break", ";", "case", "AArch64", "::", "SUBSXrr", ":", "Changed", "=", "visitADDSSUBS", "<", "uint64_t", ">", "(", "{", "AArch64", "::", "SUBXri", ",", "AArch64", "::", "SUBSXri", "}", ",", "{", "AArch64", "::", "ADDXri", ",", "AArch64", "::", "ADDSXri", "}", ",", "MI", ",", "ToBeRemoved", ")", ";", "break", ";", "}", "}", "}", "for", "(", "MachineInstr", "*", "MI", ":", "ToBeRemoved", ")", "MI", "->", "eraseFromParent", "(", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "\"Expected to be run on SSA form!\"", "8", "AArch64::ANDWrr", "AArch64::ANDWri", "AArch64::ANDXrr", "AArch64::ANDXri", "AArch64::ORRWrs", "AArch64::ADDWrr", "AArch64::ADDWri", "AArch64::SUBWri", "AArch64::SUBWrr", "AArch64::SUBWri", "AArch64::ADDWri", "AArch64::ADDXrr", "AArch64::ADDXri", "AArch64::SUBXri", "AArch64::SUBXrr", "AArch64::SUBXri", "AArch64::ADDXri", "AArch64::ADDSWrr", "AArch64::ADDWri", "AArch64::ADDSWri", "AArch64::SUBWri", "AArch64::SUBSWri", "AArch64::SUBSWrr", "AArch64::SUBWri", "AArch64::SUBSWri", "AArch64::ADDWri", "AArch64::ADDSWri", "AArch64::ADDSXrr", "AArch64::ADDXri", "AArch64::ADDSXri", "AArch64::SUBXri", "AArch64::SUBSXri", "AArch64::SUBSXrr", "AArch64::SUBXri", "AArch64::SUBSXri", "AArch64::ADDXri", "AArch64::ADDSXri"], "File": "AArch64MIPeepholeOpt1", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14004, "Length": 486, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPC64LinuxTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCTargetObjectFile16", "Func": "Initialize", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14005, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "SelectAddressRegReg", "(", "SDValue", "N", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Index", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "short", "imm", "=", "0", ";", "if", "(", "N", ".", "getOpcode", "(", ")", "==", "ISD", "::", "ADD", ")", "{", "if", "(", "isIntS16Immediate", "(", "N", ".", "getOperand", "(", "1", ")", ",", "imm", ")", ")", "return", "false", ";", "if", "(", "N", ".", "getOperand", "(", "1", ")", ".", "getOpcode", "(", ")", "==", "PPCISD", "::", "Lo", ")", "return", "false", ";", "Base", "=", "N", ".", "getOperand", "(", "0", ")", ";", "Index", "=", "N", ".", "getOperand", "(", "1", ")", ";", "return", "true", ";", "}", "else", "if", "(", "N", ".", "getOpcode", "(", ")", "==", "ISD", "::", "OR", ")", "{", "if", "(", "isIntS16Immediate", "(", "N", ".", "getOperand", "(", "1", ")", ",", "imm", ")", ")", "return", "false", ";", "APInt", "LHSKnownZero", ",", "LHSKnownOne", ";", "APInt", "RHSKnownZero", ",", "RHSKnownOne", ";", "DAG", ".", "ComputeMaskedBits", "(", "N", ".", "getOperand", "(", "0", ")", ",", "LHSKnownZero", ",", "LHSKnownOne", ")", ";", "if", "(", "LHSKnownZero", ".", "getBoolValue", "(", ")", ")", "{", "DAG", ".", "ComputeMaskedBits", "(", "N", ".", "getOperand", "(", "1", ")", ",", "RHSKnownZero", ",", "RHSKnownOne", ")", ";", "if", "(", "~", "(", "LHSKnownZero", "|", "RHSKnownZero", ")", "==", "0", ")", "{", "Base", "=", "N", ".", "getOperand", "(", "0", ")", ";", "Index", "=", "N", ".", "getOperand", "(", "1", ")", ";", "return", "true", ";", "}", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["SelectAddressRegReg", "-", "Given", "the", "specified", "addressed", ",", "check", "to", "see", "if", "it", "can", "be", "more", "efficiently", "represented", "as", "[", "r+imm", "]", "."], "TS_V_token": ["PowerPC", "PPC", "0", "ISD::ADD", "1", "1", "PPCISD::Lo", "0", "1", "ISD::OR", "1", "0", "1", "0", "0", "1"], "File": "PPCISelLowering (2)", "Func": "SelectAddressRegReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14006, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "mips_builtin_vectorized_function", "(", "unsigned", "int", "fn", ",", "tree", "type_out", ",", "tree", "type_in", ")", "{", "machine_mode", "in_mode", ",", "out_mode", ";", "int", "in_n", ",", "out_n", ";", "if", "(", "TREE_CODE", "(", "type_out", ")", "!=", "VECTOR_TYPE", "||", "TREE_CODE", "(", "type_in", ")", "!=", "VECTOR_TYPE", "||", "!", "ISA_HAS_MSA", ")", "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", ")", ";", "mips_builtin_decls", "[", "mips_get_builtin_decl_index", "[", "CODE_FOR_", "##", "INSN", "]", "]", "switch", "(", "fn", ")", "{", "case", "BUILT_IN_SQRT", ":", "if", "(", "out_mode", "==", "DFmode", "&&", "out_n", "==", "2", "&&", "in_mode", "==", "DFmode", "&&", "in_n", "==", "2", ")", "return", "MIPS_GET_BUILTIN", "(", "msa_fsqrt_d", ")", ";", "break", ";", "case", "BUILT_IN_SQRTF", ":", "if", "(", "out_mode", "==", "SFmode", "&&", "out_n", "==", "4", "&&", "in_mode", "==", "SFmode", "&&", "in_n", "==", "4", ")", "return", "MIPS_GET_BUILTIN", "(", "msa_fsqrt_w", ")", ";", "break", ";", "default", ":", "break", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION", "."], "TS_V_token": ["mips", "2", "2", "4", "4"], "File": "mips", "Func": "mips_builtin_vectorized_function", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14007, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsTargetLowering", "::", "getJumpTableEncoding", "(", ")", "const", "{", "if", "(", "ABI", ".", "IsN64", "(", ")", "&&", "isPositionIndependent", "(", ")", ")", "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)4", "Func": "getJumpTableEncoding", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14008, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMAsmBackend", "::", "handleAssemblerFlag", "(", "MCAssemblerFlag", "Flag", ")", "{", "switch", "(", "Flag", ")", "{", "default", ":", "break", ";", "case", "MCAF_Code16", ":", "setIsThumb", "(", "true", ")", ";", "break", ";", "case", "MCAF_Code32", ":", "setIsThumb", "(", "false", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Handle", "any", "target-specific", "assembler", "flags", ".", "By", "default", ",", "do", "nothing", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMAsmBackend (2)1", "Func": "handleAssemblerFlag", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14009, "Length": 40, "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": 14010, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_insert_attributes", "(", "tree", "decl", ",", "tree", "*", "attributes", ")", "{", "if", "(", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", ")", "{", "tree", "func_attrs", ";", "tree", "intr", ",", "excp", ",", "reset", ";", "func_attrs", "=", "*", "attributes", ";", "nds32_check_isr_attrs_conflict", "(", "decl", ",", "func_attrs", ")", ";", "intr", "=", "lookup_attribute", "(", "\"interrupt\"", ",", "func_attrs", ")", ";", "excp", "=", "lookup_attribute", "(", "\"exception\"", ",", "func_attrs", ")", ";", "reset", "=", "lookup_attribute", "(", "\"reset\"", ",", "func_attrs", ")", ";", "if", "(", "intr", "||", "excp", ")", "{", "tree", "id_list", ";", "unsigned", "int", "lower_bound", ",", "upper_bound", ";", "lower_bound", "=", "(", "intr", ")", "?", "(", "0", ")", ":", "(", "1", ")", ";", "upper_bound", "=", "(", "intr", ")", "?", "(", "63", ")", ":", "(", "8", ")", ";", "id_list", "=", "(", "intr", ")", "?", "(", "TREE_VALUE", "(", "intr", ")", ")", ":", "(", "TREE_VALUE", "(", "excp", ")", ")", ";", "while", "(", "id_list", ")", "{", "tree", "id", ";", "id", "=", "TREE_VALUE", "(", "id_list", ")", ";", "if", "(", "TREE_CODE", "(", "id", ")", "!=", "INTEGER_CST", "||", "wi", "::", "ltu_p", "(", "id", ",", "lower_bound", ")", "||", "wi", "::", "gtu_p", "(", "id", ",", "upper_bound", ")", ")", "error", "(", "\"invalid id value for interrupt/exception attribute\"", ")", ";", "id_list", "=", "TREE_CHAIN", "(", "id_list", ")", ";", "}", "}", "else", "if", "(", "reset", ")", "{", "tree", "id_list", ";", "tree", "id", ";", "tree", "nmi", ",", "warm", ";", "unsigned", "int", "lower_bound", ";", "unsigned", "int", "upper_bound", ";", "id_list", "=", "TREE_VALUE", "(", "reset", ")", ";", "id", "=", "TREE_VALUE", "(", "id_list", ")", ";", "lower_bound", "=", "0", ";", "upper_bound", "=", "64", ";", "if", "(", "TREE_CODE", "(", "id", ")", "!=", "INTEGER_CST", "||", "wi", "::", "ltu_p", "(", "id", ",", "lower_bound", ")", "||", "wi", "::", "gtu_p", "(", "id", ",", "upper_bound", ")", ")", "error", "(", "\"invalid id value for reset attribute\"", ")", ";", "nmi", "=", "lookup_attribute", "(", "\"nmi\"", ",", "func_attrs", ")", ";", "warm", "=", "lookup_attribute", "(", "\"warm\"", ",", "func_attrs", ")", ";", "if", "(", "nmi", "!=", "NULL_TREE", ")", "{", "tree", "nmi_func_list", ";", "tree", "nmi_func", ";", "nmi_func_list", "=", "TREE_VALUE", "(", "nmi", ")", ";", "nmi_func", "=", "TREE_VALUE", "(", "nmi_func_list", ")", ";", "if", "(", "TREE_CODE", "(", "nmi_func", ")", "!=", "IDENTIFIER_NODE", ")", "error", "(", "\"invalid nmi function for reset attribute\"", ")", ";", "}", "if", "(", "warm", "!=", "NULL_TREE", ")", "{", "tree", "warm_func_list", ";", "tree", "warm_func", ";", "warm_func_list", "=", "TREE_VALUE", "(", "warm", ")", ";", "warm_func", "=", "TREE_VALUE", "(", "warm_func_list", ")", ";", "if", "(", "TREE_CODE", "(", "warm_func", ")", "!=", "IDENTIFIER_NODE", ")", "error", "(", "\"invalid warm function for reset attribute\"", ")", ";", "}", "}", "else", "{", "return", ";", "}", "}", "}", ""], "natrual_language": ["Add", "some", "checking", "when", "inserting", "attributes", "."], "TS_V_token": ["nds32", "\"interrupt\"", "\"exception\"", "\"reset\"", "0", "1", "63", "8", "\"invalid id value for interrupt/exception attribute\"", "0", "64", "\"invalid id value for reset attribute\"", "\"nmi\"", "\"warm\"", "\"invalid nmi function for reset attribute\"", "\"invalid warm function for reset attribute\""], "File": "nds322", "Func": "nds32_insert_attributes", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14011, "Length": 380, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_vector_duplicate_value", "(", "machine_mode", "mode", ",", "rtx", "target", ",", "rtx", "val", ")", "{", "bool", "ok", ";", "rtx_insn", "*", "insn", ";", "rtx", "dup", ";", "dup", "=", "gen_rtx_VEC_DUPLICATE", "(", "mode", ",", "val", ")", ";", "insn", "=", "emit_insn", "(", "gen_rtx_SET", "(", "target", ",", "dup", ")", ")", ";", "if", "(", "recog_memoized", "(", "insn", ")", "<", "0", ")", "{", "rtx_insn", "*", "seq", ";", "machine_mode", "innermode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "rtx", "reg", ";", "start_sequence", "(", ")", ";", "reg", "=", "force_reg", "(", "innermode", ",", "val", ")", ";", "if", "(", "GET_MODE", "(", "reg", ")", "!=", "innermode", ")", "reg", "=", "gen_lowpart", "(", "innermode", ",", "reg", ")", ";", "XEXP", "(", "dup", ",", "0", ")", "=", "reg", ";", "seq", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "if", "(", "seq", ")", "emit_insn_before", "(", "seq", ",", "insn", ")", ";", "ok", "=", "recog_memoized", "(", "insn", ")", ">=", "0", ";", "gcc_assert", "(", "ok", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "ix86_expand_vector_init_duplicate", ".", "Tries", "to", "fill", "target", "with", "val", "via", "vec_duplicate", "."], "TS_V_token": ["i386", "0", "0", "0"], "File": "i3866", "Func": "ix86_vector_duplicate_value", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14012, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "unsigned", "Opcode", "=", "Node", "->", "getOpcode", "(", ")", ";", "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", "\"== \"", "\"\\n\"", "0", "ISD::Constant", "MVT::i32", "Lanai::R0", "MVT::i32", "Lanai::R1", "MVT::i32", "ISD::FrameIndex"], "File": "LanaiISelDAGToDAG3", "Func": "Select", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14013, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FastISel", "*", "PPC", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "FuncInfo", ",", "const", "TargetLibraryInfo", "*", "LibInfo", ")", "{", "const", "TargetMachine", "&", "TM", "=", "FuncInfo", ".", "MF", "->", "getTarget", "(", ")", ";", "const", "PPCSubtarget", "*", "Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "if", "(", "Subtarget", "->", "isPPC64", "(", ")", "&&", "Subtarget", "->", "isSVR4ABI", "(", ")", ")", "return", "new", "PPCFastISel", "(", "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": ["PowerPC", "PPC::createFastISel", "PPC", "PPC", "PPC", "PPC"], "File": "PPCFastISel1", "Func": "createFastISel", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14014, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0MCCodeEmitter", "::", "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", "Cpu0", "0", "8", "1", "8", "0xff"], "File": "Cpu0MCCodeEmitter", "Func": "EmitInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14015, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "DLXAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "{", "if", "(", "ExtraCode", "[", "1", "]", ")", "return", "true", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "case", "'H'", ":", "{", "if", "(", "OpNo", "==", "0", ")", "return", "true", ";", "const", "MachineOperand", "&", "FlagsOP", "=", "MI", "->", "getOperand", "(", "OpNo", "-", "1", ")", ";", "if", "(", "!", "FlagsOP", ".", "isImm", "(", ")", ")", "return", "true", ";", "unsigned", "Flags", "=", "FlagsOP", ".", "getImm", "(", ")", ";", "unsigned", "NumVals", "=", "InlineAsm", "::", "getNumOperandRegisters", "(", "Flags", ")", ";", "if", "(", "NumVals", "!=", "2", ")", "return", "true", ";", "unsigned", "RegOp", "=", "OpNo", "+", "1", ";", "if", "(", "RegOp", ">=", "MI", "->", "getNumOperands", "(", ")", ")", "return", "true", ";", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "RegOp", ")", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", ")", "return", "true", ";", "unsigned", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "O", "<<", "DLXInstPrinter", "::", "getRegisterName", "(", "Reg", ")", ";", "return", "false", ";", "}", "default", ":", "return", "true", ";", "}", "}", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["DLX", "DLX", "0", "1", "0", "0", "1", "2", "1", "DLX"], "File": "DLXAsmPrinter", "Func": "PrintAsmOperand", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14016, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_mode_rep_extended", "(", "scalar_int_mode", "mode", ",", "scalar_int_mode", "mode_rep", ")", "{", "if", "(", "TARGET_64BIT", "&&", "mode", "==", "SImode", "&&", "mode_rep", "==", "DImode", ")", "return", "SIGN_EXTEND", ";", "return", "UNKNOWN", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MODE_REP_EXTENDED", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_mode_rep_extended", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14017, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsMCCodeEmitter", "::", "getBranchTarget26OpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ">>", "2", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"getBranchTarget26OpValue expects only expressions or immediates\"", ")", ";", "const", "MCExpr", "*", "FixupExpression", "=", "MCBinaryExpr", "::", "createAdd", "(", "MO", ".", "getExpr", "(", ")", ",", "MCConstantExpr", "::", "create", "(", "-", "4", ",", "Ctx", ")", ",", "Ctx", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "FixupExpression", ",", "MCFixupKind", "(", "Mips", "::", "fixup_MIPS_PC26_S2", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTarget26OpValue", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "."], "TS_V_token": ["Mips", "Mips", "2", "\"getBranchTarget26OpValue expects only expressions or immediates\"", "4", "0", "Mips::fixup_MIPS_PC26_S2", "0"], "File": "MipsMCCodeEmitter (2)", "Func": "getBranchTarget26OpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14018, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "{", "SDValue", "Res", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Don't know how to custom expand this!\"", ")", ";", "break", ";", "case", "ISD", "::", "BIT_CONVERT", ":", "Res", "=", "ExpandBIT_CONVERT", "(", "N", ",", "DAG", ")", ";", "break", ";", "case", "ISD", "::", "SRL", ":", "case", "ISD", "::", "SRA", ":", "Res", "=", "LowerShift", "(", "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::BIT_CONVERT", "ISD::SRL", "ISD::SRA"], "File": "ARMISelLowering17", "Func": "ReplaceNodeResults", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14019, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mmix_legitimate_constant_p", "(", "rtx", "x", ")", "{", "RTX_CODE", "code", "=", "GET_CODE", "(", "x", ")", ";", "if", "(", "code", "==", "CONST_INT", "||", "code", "==", "CONST_DOUBLE", ")", "return", "1", ";", "return", "CONSTANT_ADDRESS_P", "(", "x", ")", ";", "}", ""], "natrual_language": ["LEGITIMATE_CONSTANT_P", "."], "TS_V_token": ["mmix", "1"], "File": "mmix3", "Func": "mmix_legitimate_constant_p", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14020, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ATTRIBUTE_UNUSED", "static", "section", "*", "x86_64_elf_select_section", "(", "tree", "decl", ",", "int", "reloc", ",", "unsigned", "HOST_WIDE_INT", "align", ")", "{", "if", "(", "ix86_in_large_data_p", "(", "decl", ")", ")", "{", "const", "char", "*", "sname", "=", "NULL", ";", "unsigned", "int", "flags", "=", "SECTION_WRITE", ";", "switch", "(", "categorize_decl_for_section", "(", "decl", ",", "reloc", ")", ")", "{", "case", "SECCAT_DATA", ":", "sname", "=", "\".ldata\"", ";", "break", ";", "case", "SECCAT_DATA_REL", ":", "sname", "=", "\".ldata.rel\"", ";", "break", ";", "case", "SECCAT_DATA_REL_LOCAL", ":", "sname", "=", "\".ldata.rel.local\"", ";", "break", ";", "case", "SECCAT_DATA_REL_RO", ":", "sname", "=", "\".ldata.rel.ro\"", ";", "break", ";", "case", "SECCAT_DATA_REL_RO_LOCAL", ":", "sname", "=", "\".ldata.rel.ro.local\"", ";", "break", ";", "case", "SECCAT_BSS", ":", "sname", "=", "\".lbss\"", ";", "flags", "|=", "SECTION_BSS", ";", "break", ";", "case", "SECCAT_RODATA", ":", "case", "SECCAT_RODATA_MERGE_STR", ":", "case", "SECCAT_RODATA_MERGE_STR_INIT", ":", "case", "SECCAT_RODATA_MERGE_CONST", ":", "sname", "=", "\".lrodata\"", ";", "flags", "=", "0", ";", "break", ";", "case", "SECCAT_SRODATA", ":", "case", "SECCAT_SDATA", ":", "case", "SECCAT_SBSS", ":", "gcc_unreachable", "(", ")", ";", "case", "SECCAT_TEXT", ":", "case", "SECCAT_TDATA", ":", "case", "SECCAT_TBSS", ":", "break", ";", "}", "if", "(", "sname", ")", "{", "if", "(", "!", "DECL_P", "(", "decl", ")", ")", "return", "get_section", "(", "sname", ",", "flags", ",", "NULL", ")", ";", "return", "get_named_section", "(", "decl", ",", "sname", ",", "reloc", ")", ";", "}", "}", "return", "default_elf_select_section", "(", "decl", ",", "reloc", ",", "align", ")", ";", "}", ""], "natrual_language": ["switch", "to", "the", "appropriate", "section", "for", "output", "of", "DECL", ".", "DECL", "is", "either", "a", "`", "VAR_DECL", "'", "node", "or", "a", "constant", "of", "some", "sort", ".", "RELOC", "indicates", "whether", "forming", "the", "initial", "value", "of", "DECL", "requires", "link-time", "relocations", "."], "TS_V_token": ["i386", "\".ldata\"", "\".ldata.rel\"", "\".ldata.rel.local\"", "\".ldata.rel.ro\"", "\".ldata.rel.ro.local\"", "\".lbss\"", "\".lrodata\"", "0"], "File": "i3864", "Func": "x86_64_elf_select_section", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14021, "Length": 199, "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", "(", ")", ";", "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\"", ")", ";", "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!\"", ")", ";", "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": ["ARM", "ARM", "\"instruction requires a CPU feature not currently enabled\"", "0U", "\"too few operands for instruction\"", "ARM", "\"invalid operand for instruction\"", "\"invalid instruction\"", "\"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": "ARMAsmParser114", "Func": "MatchAndEmitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14022, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "const", "{", "static", "const", "char", "Nops32Bit", "[", "10", "]", "[", "11", "]", "=", "{", "\"\\x90\"", ",", "\"\\x66\\x90\"", ",", "\"\\x0f\\x1f\\x00\"", ",", "\"\\x0f\\x1f\\x40\\x00\"", ",", "\"\\x0f\\x1f\\x44\\x00\\x00\"", ",", "\"\\x66\\x0f\\x1f\\x44\\x00\\x00\"", ",", "\"\\x0f\\x1f\\x80\\x00\\x00\\x00\\x00\"", ",", "\"\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", ",", "\"\\x66\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", ",", "\"\\x66\\x2e\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", ",", "}", ";", "static", "const", "char", "Nops16Bit", "[", "4", "]", "[", "11", "]", "=", "{", "\"\\x90\"", ",", "\"\\x66\\x90\"", ",", "\"\\x8d\\x74\\x00\"", ",", "\"\\x8d\\xb4\\x00\\x00\"", ",", "}", ";", "const", "char", "(", "*", "Nops", ")", "[", "11", "]", "=", "STI", "->", "getFeatureBits", "(", ")", "[", "X86", "::", "Mode16Bit", "]", "?", "Nops16Bit", ":", "Nops32Bit", ";", "uint64_t", "MaxNopLength", "=", "(", "uint64_t", ")", "getMaximumNopSize", "(", "*", "STI", ")", ";", "do", "{", "const", "uint8_t", "ThisNopLength", "=", "(", "uint8_t", ")", "std", "::", "min", "(", "Count", ",", "MaxNopLength", ")", ";", "const", "uint8_t", "Prefixes", "=", "ThisNopLength", "<=", "10", "?", "0", ":", "ThisNopLength", "-", "10", ";", "for", "(", "uint8_t", "i", "=", "0", ";", "i", "<", "Prefixes", ";", "i", "++", ")", "OS", "<<", "'\\x66'", ";", "const", "uint8_t", "Rest", "=", "ThisNopLength", "-", "Prefixes", ";", "if", "(", "Rest", "!=", "0", ")", "OS", ".", "write", "(", "Nops", "[", "Rest", "-", "1", "]", ",", "Rest", ")", ";", "Count", "-=", "ThisNopLength", ";", "}", "while", "(", "Count", "!=", "0", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["X86", "X86", "10", "11", "\"\\x90\"", "\"\\x66\\x90\"", "\"\\x0f\\x1f\\x00\"", "\"\\x0f\\x1f\\x40\\x00\"", "\"\\x0f\\x1f\\x44\\x00\\x00\"", "\"\\x66\\x0f\\x1f\\x44\\x00\\x00\"", "\"\\x0f\\x1f\\x80\\x00\\x00\\x00\\x00\"", "\"\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", "\"\\x66\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", "\"\\x66\\x2e\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", "4", "11", "\"\\x90\"", "\"\\x66\\x90\"", "\"\\x8d\\x74\\x00\"", "\"\\x8d\\xb4\\x00\\x00\"", "11", "X86::Mode16Bit", "10", "0", "10", "0", "0", "1", "0"], "File": "X86AsmBackend", "Func": "writeNopData", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14023, "Length": 206, "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", ")", ";", "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": "ARMBaseInstrInfo (2)", "Func": "hasHighOperandLatency", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14024, "Length": 154, "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": 14025, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "getNegatedExpression", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ",", "bool", "LegalOps", ",", "bool", "OptForSize", ",", "NegatibleCost", "&", "Cost", ",", "unsigned", "Depth", ")", "const", "{", "if", "(", "Depth", ">", "SelectionDAG", "::", "MaxRecursionDepth", ")", "return", "SDValue", "(", ")", ";", "unsigned", "Opc", "=", "Op", ".", "getOpcode", "(", ")", ";", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "SDNodeFlags", "Flags", "=", "Op", ".", "getNode", "(", ")", "->", "getFlags", "(", ")", ";", "switch", "(", "Opc", ")", "{", "case", "PPCISD", "::", "FNMSUB", ":", "if", "(", "!", "Op", ".", "hasOneUse", "(", ")", "||", "!", "isTypeLegal", "(", "VT", ")", "||", "Subtarget", ".", "hasQPX", "(", ")", ")", "break", ";", "const", "TargetOptions", "&", "Options", "=", "getTargetMachine", "(", ")", ".", "Options", ";", "SDValue", "N0", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "SDValue", "N1", "=", "Op", ".", "getOperand", "(", "1", ")", ";", "SDValue", "N2", "=", "Op", ".", "getOperand", "(", "2", ")", ";", "SDLoc", "Loc", "(", "Op", ")", ";", "NegatibleCost", "N2Cost", "=", "NegatibleCost", "::", "Expensive", ";", "SDValue", "NegN2", "=", "getNegatedExpression", "(", "N2", ",", "DAG", ",", "LegalOps", ",", "OptForSize", ",", "N2Cost", ",", "Depth", "+", "1", ")", ";", "if", "(", "!", "NegN2", ")", "return", "SDValue", "(", ")", ";", "if", "(", "Flags", ".", "hasNoSignedZeros", "(", ")", "||", "Options", ".", "NoSignedZerosFPMath", ")", "{", "NegatibleCost", "N0Cost", "=", "NegatibleCost", "::", "Expensive", ";", "SDValue", "NegN0", "=", "getNegatedExpression", "(", "N0", ",", "DAG", ",", "LegalOps", ",", "OptForSize", ",", "N0Cost", ",", "Depth", "+", "1", ")", ";", "NegatibleCost", "N1Cost", "=", "NegatibleCost", "::", "Expensive", ";", "SDValue", "NegN1", "=", "getNegatedExpression", "(", "N1", ",", "DAG", ",", "LegalOps", ",", "OptForSize", ",", "N1Cost", ",", "Depth", "+", "1", ")", ";", "if", "(", "NegN0", "&&", "N0Cost", "<=", "N1Cost", ")", "{", "Cost", "=", "std", "::", "min", "(", "N0Cost", ",", "N2Cost", ")", ";", "return", "DAG", ".", "getNode", "(", "Opc", ",", "Loc", ",", "VT", ",", "NegN0", ",", "N1", ",", "NegN2", ",", "Flags", ")", ";", "}", "else", "if", "(", "NegN1", ")", "{", "Cost", "=", "std", "::", "min", "(", "N1Cost", ",", "N2Cost", ")", ";", "return", "DAG", ".", "getNode", "(", "Opc", ",", "Loc", ",", "VT", ",", "N0", ",", "NegN1", ",", "NegN2", ",", "Flags", ")", ";", "}", "}", "if", "(", "isOperationLegal", "(", "ISD", "::", "FMA", ",", "VT", ")", ")", "{", "Cost", "=", "N2Cost", ";", "return", "DAG", ".", "getNode", "(", "ISD", "::", "FMA", ",", "Loc", ",", "VT", ",", "N0", ",", "N1", ",", "NegN2", ",", "Flags", ")", ";", "}", "break", ";", "}", "return", "TargetLowering", "::", "getNegatedExpression", "(", "Op", ",", "DAG", ",", "LegalOps", ",", "OptForSize", ",", "Cost", ",", "Depth", ")", ";", "}", ""], "natrual_language": ["Return", "the", "newly", "negated", "expression", "if", "the", "cost", "is", "not", "expensive", "and", "set", "the", "cost", "in", "Cost", "to", "indicate", "that", "if", "it", "is", "cheaper", "or", "neutral", "to", "do", "the", "negation", "."], "TS_V_token": ["PowerPC", "PPC", "PPCISD::FNMSUB", "0", "1", "2", "1", "1", "1", "ISD::FMA", "ISD::FMA"], "File": "PPCISelLowering146", "Func": "getNegatedExpression", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14026, "Length": 396, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isGPRCopy", "(", "const", "MachineInstr", "&", "MI", ")", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "TargetOpcode", "::", "COPY", ":", "{", "unsigned", "DstReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "return", "(", "AArch64", "::", "GPR32RegClass", ".", "contains", "(", "DstReg", ")", "||", "AArch64", "::", "GPR64RegClass", ".", "contains", "(", "DstReg", ")", ")", ";", "}", "case", "AArch64", "::", "ORRXrs", ":", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "AArch64", "::", "XZR", ")", "{", "assert", "(", "MI", ".", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", "==", "4", "&&", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "==", "0", "&&", "\"invalid ORRrs operands\"", ")", ";", "return", "true", ";", "}", "break", ";", "case", "AArch64", "::", "ADDXri", ":", "if", "(", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "0", ")", "{", "assert", "(", "MI", ".", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", "==", "4", "&&", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "==", "0", "&&", "\"invalid ADDXri operands\"", ")", ";", "return", "true", ";", "}", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Does", "this", "instruction", "rename", "a", "GPR", "without", "modifying", "bits", "?"], "TS_V_token": ["AArch64", "AArch64", "0", "AArch64::GPR32RegClass", "AArch64::GPR64RegClass", "AArch64::ORRXrs", "1", "AArch64::XZR", "4", "3", "0", "\"invalid ORRrs operands\"", "AArch64::ADDXri", "2", "0", "4", "3", "0", "\"invalid ADDXri operands\""], "File": "AArch64InstrInfo (2)1", "Func": "isGPRCopy", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14027, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_elf_asm_out_constructor", "(", "rtx", "symbol", ",", "int", "priority", ")", "{", "const", "char", "*", "section", "=", "\".ctors\"", ";", "char", "buf", "[", "18", "]", ";", "if", "(", "priority", "!=", "DEFAULT_INIT_PRIORITY", ")", "{", "sprintf", "(", "buf", ",", "\".ctors.%.5u\"", ",", "MAX_INIT_PRIORITY", "-", "priority", ")", ";", "section", "=", "buf", ";", "}", "switch_to_section", "(", "get_section", "(", "section", ",", "SECTION_WRITE", ",", "NULL", ")", ")", ";", "assemble_align", "(", "POINTER_SIZE", ")", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "(", "TARGET_RELOCATABLE", "||", "flag_pic", ">", "1", ")", ")", "{", "fputs", "(", "\"\\t.long (\"", ",", "asm_out_file", ")", ";", "output_addr_const", "(", "asm_out_file", ",", "symbol", ")", ";", "fputs", "(", "\")@fixup\\n\"", ",", "asm_out_file", ")", ";", "}", "else", "assemble_integer", "(", "symbol", ",", "POINTER_SIZE", "/", "BITS_PER_UNIT", ",", "POINTER_SIZE", ",", "1", ")", ";", "}", ""], "natrual_language": ["Record", "an", "element", "in", "the", "table", "of", "global", "constructors", ".", "SYMBOL", "is", "a", "SYMBOL_REF", "of", "the", "function", "to", "be", "called", ";", "PRIORITY", "is", "a", "number", "between", "0", "and", "MAX_INIT_PRIORITY", ".", "This", "differs", "from", "default_named_section_asm_out_constructor", "in", "that", "we", "have", "special", "handling", "for", "-mrelocatable", "."], "TS_V_token": ["rs6000", "\".ctors\"", "18", "\".ctors.%.5u\"", "1", "\"\\t.long (\"", "\")@fixup\\n\"", "1"], "File": "rs6000", "Func": "rs6000_elf_asm_out_constructor", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14028, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZAsmPrinter", "::", "emitMachineConstantPoolValue", "(", "MachineConstantPoolValue", "*", "MCPV", ")", "{", "auto", "*", "ZCPV", "=", "static_cast", "<", "SystemZConstantPoolValue", "*", ">", "(", "MCPV", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MCSymbolRefExpr", "::", "create", "(", "getSymbol", "(", "ZCPV", "->", "getGlobalValue", "(", ")", ")", ",", "getModifierVariantKind", "(", "ZCPV", "->", "getModifier", "(", ")", ")", ",", "OutContext", ")", ";", "uint64_t", "Size", "=", "getDataLayout", "(", ")", ".", "getTypeAllocSize", "(", "ZCPV", "->", "getType", "(", ")", ")", ";", "OutStreamer", "->", "emitValue", "(", "Expr", ",", "Size", ")", ";", "}", ""], "natrual_language": ["EmitMachineConstantPoolValue", "-", "Print", "a", "machine", "constantpool", "value", "to", "the", ".s", "file", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ"], "File": "SystemZAsmPrinter11", "Func": "emitMachineConstantPoolValue", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14029, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FPGASubtarget", "&", "FPGASubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "initializeEnvironment", "(", ")", ";", "initSubtargetFeatures", "(", "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": ["FPGA", "FPGA", "FPGA"], "File": "FPGASubtarget", "Func": "initializeSubtargetDependencies", "Target": "FPGA", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14030, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mips_class_max_nregs", "(", "enum", "reg_class", "rclass", ",", "machine_mode", "mode", ")", "{", "int", "size", ";", "HARD_REG_SET", "left", ";", "size", "=", "0x8000", ";", "left", "=", "reg_class_contents", "[", "rclass", "]", ";", "if", "(", "hard_reg_set_intersect_p", "(", "left", ",", "reg_class_contents", "[", "(", "int", ")", "ST_REGS", "]", ")", ")", "{", "if", "(", "mips_hard_regno_mode_ok", "(", "ST_REG_FIRST", ",", "mode", ")", ")", "size", "=", "MIN", "(", "size", ",", "4", ")", ";", "left", "&=", "~", "reg_class_contents", "[", "ST_REGS", "]", ";", "}", "if", "(", "hard_reg_set_intersect_p", "(", "left", ",", "reg_class_contents", "[", "(", "int", ")", "FP_REGS", "]", ")", ")", "{", "if", "(", "mips_hard_regno_mode_ok", "(", "FP_REG_FIRST", ",", "mode", ")", ")", "{", "if", "(", "MSA_SUPPORTED_MODE_P", "(", "mode", ")", ")", "size", "=", "MIN", "(", "size", ",", "UNITS_PER_MSA_REG", ")", ";", "else", "size", "=", "MIN", "(", "size", ",", "UNITS_PER_FPREG", ")", ";", "}", "left", "&=", "~", "reg_class_contents", "[", "FP_REGS", "]", ";", "}", "if", "(", "!", "hard_reg_set_empty_p", "(", "left", ")", ")", "size", "=", "MIN", "(", "size", ",", "UNITS_PER_WORD", ")", ";", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "size", "-", "1", ")", "/", "size", ";", "}", ""], "natrual_language": ["Implement", "CLASS_MAX_NREGS", ".", "Usually", "all", "registers", "are", "word-sized", ".", "The", "only", "supported", "exception", "is", "-mgp64", "-msingle-float", ",", "which", "has", "64-bit", "words", "but", "32-bit", "float", "registers", ".", "A", "word-based", "calculation", "is", "correct", "even", "in", "that", "case", ",", "since", "-msingle-float", "disallows", "multi-FPR", "values", ".", "The", "FP", "status", "registers", "are", "an", "exception", "to", "this", "rule", ".", "They", "are", "always", "4", "bytes", "wide", "as", "they", "only", "hold", "condition", "code", "modes", ",", "and", "CCmode", "is", "always", "considered", "to", "be", "4", "bytes", "wide", "."], "TS_V_token": ["mips", "0x8000", "4", "1"], "File": "mips", "Func": "mips_class_max_nregs", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14031, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arm_expand_neon_builtin", "(", "int", "fcode", ",", "tree", "exp", ",", "rtx", "target", ")", "{", "if", "(", "fcode", ">=", "ARM_BUILTIN_NEON_BASE", "&&", "!", "TARGET_NEON", ")", "{", "fatal_error", "(", "input_location", ",", "\"You must enable NEON instructions\"", "\" (e.g. -mfloat-abi=softfp -mfpu=neon)\"", "\" to use these intrinsics.\"", ")", ";", "return", "const0_rtx", ";", "}", "if", "(", "fcode", "==", "ARM_BUILTIN_NEON_LANE_CHECK", ")", "{", "tree", "nlanes", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "gcc_assert", "(", "TREE_CODE", "(", "nlanes", ")", "==", "INTEGER_CST", ")", ";", "rtx", "lane_idx", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "1", ")", ")", ";", "if", "(", "CONST_INT_P", "(", "lane_idx", ")", ")", "neon_lane_bounds", "(", "lane_idx", ",", "0", ",", "TREE_INT_CST_LOW", "(", "nlanes", ")", ",", "exp", ")", ";", "else", "error", "(", "\"%Klane index must be a constant immediate\"", ",", "exp", ")", ";", "return", "const0_rtx", ";", "}", "arm_builtin_datum", "*", "d", "=", "&", "neon_builtin_data", "[", "fcode", "-", "ARM_BUILTIN_NEON_PATTERN_START", "]", ";", "return", "arm_expand_builtin_1", "(", "fcode", ",", "exp", ",", "target", ",", "d", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "Neon", "builtin", ",", "i.e", ".", "those", "registered", "only", "if", "TARGET_NEON", "holds", ".", "Most", "of", "these", "are", "``", "special", "''", "because", "they", "do", "n't", "have", "symbolic", "constants", "defined", "per-instruction", "or", "per", "instruction-variant", ".", "Instead", ",", "the", "required", "info", "is", "looked", "up", "in", "the", "table", "neon_builtin_data", "."], "TS_V_token": ["arm", "\"You must enable NEON instructions\"", "\" (e.g. -mfloat-abi=softfp -mfpu=neon)\"", "\" to use these intrinsics.\"", "0", "1", "0", "\"%Klane index must be a constant immediate\""], "File": "arm-builtins4", "Func": "arm_expand_neon_builtin", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14032, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "OR1KAsmPrinter", "::", "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": ["OR1K", "OR1K"], "File": "OR1KAsmPrinter", "Func": "EmitInstruction", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14033, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetStreamer", "::", "finish", "(", ")", "{", "ConstantPools", "->", "emitAll", "(", "Streamer", ")", ";", "}", ""], "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": ["ARM", "ARM"], "File": "ARMTargetStreamer (2)", "Func": "finish", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14034, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addPreserved", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "LoopInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "TargetPassConfig", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["X86"], "File": "X86LowerAMXIntrinsics", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14035, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetObjectFile", "::", "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", ",", "SectionKind", "::", "getDataRel", "(", ")", ")", ";", "SmallBSSSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".sbss\"", ",", "ELF", "::", "SHT_NOBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getBSS", "(", ")", ")", ";", "const", "MipsSubtarget", "&", "Subtarget", "=", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "if", "(", "Subtarget", ".", "isTargetNaCl", "(", ")", ")", "{", "StaticCtorSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".init_array\"", ",", "ELF", "::", "SHT_INIT_ARRAY", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getDataRel", "(", ")", ")", ";", "StaticDtorSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".fini_array\"", ",", "ELF", "::", "SHT_FINI_ARRAY", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getDataRel", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["Mips", "Mips", "\".sdata\"", "\".sbss\"", "Mips", "Mips", "\".init_array\"", "\".fini_array\""], "File": "MipsTargetObjectFile42", "Func": "Initialize", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14036, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_expand_epilogue", "(", "int", "sibcall_p", ")", "{", "HOST_WIDE_INT", "step1", ",", "step2", ";", "rtx", "base", ",", "target", ";", "if", "(", "!", "sibcall_p", "&&", "mips_can_use_return_insn", "(", ")", ")", "{", "emit_jump_insn", "(", "gen_return", "(", ")", ")", ";", "return", ";", "}", "step1", "=", "cfun", "->", "machine", "->", "frame", ".", "total_size", ";", "step2", "=", "0", ";", "if", "(", "!", "frame_pointer_needed", ")", "base", "=", "stack_pointer_rtx", ";", "else", "{", "base", "=", "hard_frame_pointer_rtx", ";", "if", "(", "TARGET_MIPS16", ")", "step1", "-=", "cfun", "->", "machine", "->", "frame", ".", "args_size", ";", "}", "if", "(", "(", "cfun", "->", "machine", "->", "frame", ".", "mask", "|", "cfun", "->", "machine", "->", "frame", ".", "fmask", ")", "!=", "0", ")", "{", "step2", "=", "MIN", "(", "step1", ",", "MIPS_MAX_FIRST_STACK_STEP", ")", ";", "step1", "-=", "step2", ";", "}", "target", "=", "base", ";", "if", "(", "step1", ">", "0", ")", "{", "rtx", "adjust", ";", "adjust", "=", "GEN_INT", "(", "step1", ")", ";", "if", "(", "!", "SMALL_OPERAND", "(", "step1", ")", ")", "{", "emit_move_insn", "(", "MIPS_EPILOGUE_TEMP", "(", "Pmode", ")", ",", "adjust", ")", ";", "adjust", "=", "MIPS_EPILOGUE_TEMP", "(", "Pmode", ")", ";", "}", "if", "(", "!", "TARGET_MIPS16", ")", "target", "=", "stack_pointer_rtx", ";", "emit_insn", "(", "gen_add3_insn", "(", "target", ",", "base", ",", "adjust", ")", ")", ";", "}", "if", "(", "target", "!=", "stack_pointer_rtx", ")", "emit_move_insn", "(", "stack_pointer_rtx", ",", "target", ")", ";", "if", "(", "TARGET_ABICALLS", "&&", "TARGET_NEWABI", "&&", "!", "TARGET_EXPLICIT_RELOCS", ")", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "mips_for_each_saved_reg", "(", "cfun", "->", "machine", "->", "frame", ".", "total_size", "-", "step2", ",", "mips_restore_reg", ")", ";", "if", "(", "step2", ">", "0", ")", "emit_insn", "(", "gen_add3_insn", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "step2", ")", ")", ")", ";", "if", "(", "current_function_calls_eh_return", ")", "{", "if", "(", "TARGET_MIPS16", ")", "{", "emit_move_insn", "(", "MIPS_EPILOGUE_TEMP", "(", "Pmode", ")", ",", "stack_pointer_rtx", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "MIPS_EPILOGUE_TEMP", "(", "Pmode", ")", ",", "MIPS_EPILOGUE_TEMP", "(", "Pmode", ")", ",", "EH_RETURN_STACKADJ_RTX", ")", ")", ";", "emit_move_insn", "(", "stack_pointer_rtx", ",", "MIPS_EPILOGUE_TEMP", "(", "Pmode", ")", ")", ";", "}", "else", "emit_insn", "(", "gen_add3_insn", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "EH_RETURN_STACKADJ_RTX", ")", ")", ";", "}", "if", "(", "!", "sibcall_p", ")", "{", "if", "(", "TARGET_MIPS16", "&&", "(", "cfun", "->", "machine", "->", "frame", ".", "mask", "&", "RA_MASK", ")", "!=", "0", ")", "emit_jump_insn", "(", "gen_return_internal", "(", "gen_rtx_REG", "(", "Pmode", ",", "GP_REG_FIRST", "+", "7", ")", ")", ")", ";", "else", "emit_jump_insn", "(", "gen_return_internal", "(", "gen_rtx_REG", "(", "Pmode", ",", "GP_REG_FIRST", "+", "31", ")", ")", ")", ";", "}", "}", ""], "natrual_language": ["Expand", "the", "epilogue", "into", "a", "bunch", "of", "separate", "insns", ".", "SIBCALL_P", "is", "true", "if", "this", "epilogue", "precedes", "a", "sibling", "call", ",", "false", "if", "it", "is", "for", "a", "normal", "``", "epilogue", "''", "pattern", "."], "TS_V_token": ["mips", "0", "0", "0", "0", "0", "7", "31"], "File": "mips3", "Func": "mips_expand_epilogue", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14037, "Length": 373, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "rs6000_emit_allocate_stack", "(", "HOST_WIDE_INT", "size", ",", "rtx", "copy_reg", ",", "int", "copy_off", ")", "{", "rtx_insn", "*", "insn", ";", "rtx", "stack_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "STACK_POINTER_REGNUM", ")", ";", "rtx", "tmp_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ";", "rtx", "todec", "=", "gen_int_mode", "(", "-", "size", ",", "Pmode", ")", ";", "rtx", "par", ",", "set", ",", "mem", ";", "if", "(", "INTVAL", "(", "todec", ")", "!=", "-", "size", ")", "{", "warning", "(", "0", ",", "\"stack frame too large\"", ")", ";", "emit_insn", "(", "gen_trap", "(", ")", ")", ";", "return", "0", ";", "}", "if", "(", "crtl", "->", "limit_stack", ")", "{", "if", "(", "REG_P", "(", "stack_limit_rtx", ")", "&&", "REGNO", "(", "stack_limit_rtx", ")", ">", "1", "&&", "REGNO", "(", "stack_limit_rtx", ")", "<=", "31", ")", "{", "emit_insn", "(", "gen_add3_insn", "(", "tmp_reg", ",", "stack_limit_rtx", ",", "GEN_INT", "(", "size", ")", ")", ")", ";", "emit_insn", "(", "gen_cond_trap", "(", "LTU", ",", "stack_reg", ",", "tmp_reg", ",", "const0_rtx", ")", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "stack_limit_rtx", ")", "==", "SYMBOL_REF", "&&", "TARGET_32BIT", "&&", "DEFAULT_ABI", "==", "ABI_V4", ")", "{", "rtx", "toload", "=", "gen_rtx_CONST", "(", "VOIDmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_limit_rtx", ",", "GEN_INT", "(", "size", ")", ")", ")", ";", "emit_insn", "(", "gen_elf_high", "(", "tmp_reg", ",", "toload", ")", ")", ";", "emit_insn", "(", "gen_elf_low", "(", "tmp_reg", ",", "tmp_reg", ",", "toload", ")", ")", ";", "emit_insn", "(", "gen_cond_trap", "(", "LTU", ",", "stack_reg", ",", "tmp_reg", ",", "const0_rtx", ")", ")", ";", "}", "else", "warning", "(", "0", ",", "\"stack limit expression is not supported\"", ")", ";", "}", "if", "(", "copy_reg", ")", "{", "if", "(", "copy_off", "!=", "0", ")", "emit_insn", "(", "gen_add3_insn", "(", "copy_reg", ",", "stack_reg", ",", "GEN_INT", "(", "copy_off", ")", ")", ")", ";", "else", "emit_move_insn", "(", "copy_reg", ",", "stack_reg", ")", ";", "}", "if", "(", "size", ">", "32767", ")", "{", "if", "(", "get_last_insn", "(", ")", "==", "NULL_RTX", ")", "emit_note", "(", "NOTE_INSN_DELETED", ")", ";", "insn", "=", "emit_move_insn", "(", "tmp_reg", ",", "todec", ")", ";", "try_split", "(", "PATTERN", "(", "insn", ")", ",", "insn", ",", "0", ")", ";", "todec", "=", "tmp_reg", ";", "}", "insn", "=", "emit_insn", "(", "TARGET_32BIT", "?", "gen_movsi_update_stack", "(", "stack_reg", ",", "stack_reg", ",", "todec", ",", "stack_reg", ")", ":", "gen_movdi_di_update_stack", "(", "stack_reg", ",", "stack_reg", ",", "todec", ",", "stack_reg", ")", ")", ";", "par", "=", "PATTERN", "(", "insn", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "par", ")", "==", "PARALLEL", ")", ";", "set", "=", "XVECEXP", "(", "par", ",", "0", ",", "0", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "set", ")", "==", "SET", ")", ";", "mem", "=", "SET_DEST", "(", "set", ")", ";", "gcc_assert", "(", "MEM_P", "(", "mem", ")", ")", ";", "MEM_NOTRAP_P", "(", "mem", ")", "=", "1", ";", "set_mem_alias_set", "(", "mem", ",", "get_frame_alias_set", "(", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "stack_reg", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_reg", ",", "GEN_INT", "(", "-", "size", ")", ")", ")", ")", ";", "return", "insn", ";", "}", ""], "natrual_language": ["Emit", "the", "correct", "code", "for", "allocating", "stack", "space", ",", "as", "insns", ".", "If", "COPY_R12", ",", "make", "sure", "a", "copy", "of", "the", "old", "frame", "is", "left", "in", "r12", ".", "The", "generated", "code", "may", "use", "hard", "register", "0", "as", "a", "temporary", "."], "TS_V_token": ["rs6000", "0", "0", "\"stack frame too large\"", "0", "1", "31", "0", "\"stack limit expression is not supported\"", "0", "32767", "0", "0", "0", "1", "1"], "File": "rs60005", "Func": "rs6000_emit_allocate_stack", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14038, "Length": 443, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZRegisterInfo", "::", "getRegAllocationHints", "(", "unsigned", "VirtReg", ",", "ArrayRef", "<", "MCPhysReg", ">", "Order", ",", "SmallVectorImpl", "<", "MCPhysReg", ">", "&", "Hints", ",", "const", "MachineFunction", "&", "MF", ",", "const", "VirtRegMap", "*", "VRM", ",", "const", "LiveRegMatrix", "*", "Matrix", ")", "const", "{", "const", "MachineRegisterInfo", "*", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "bool", "BaseImplRetVal", "=", "TargetRegisterInfo", "::", "getRegAllocationHints", "(", "VirtReg", ",", "Order", ",", "Hints", ",", "MF", ",", "VRM", ",", "Matrix", ")", ";", "if", "(", "MRI", "->", "getRegClass", "(", "VirtReg", ")", "==", "&", "SystemZ", "::", "GRX32BitRegClass", ")", "{", "SmallVector", "<", "unsigned", ",", "8", ">", "Worklist", ";", "SmallSet", "<", "unsigned", ",", "4", ">", "DoneRegs", ";", "Worklist", ".", "push_back", "(", "VirtReg", ")", ";", "while", "(", "Worklist", ".", "size", "(", ")", ")", "{", "unsigned", "Reg", "=", "Worklist", ".", "pop_back_val", "(", ")", ";", "if", "(", "!", "DoneRegs", ".", "insert", "(", "Reg", ")", ".", "second", ")", "continue", ";", "for", "(", "auto", "&", "Use", ":", "MRI", "->", "use_instructions", "(", "Reg", ")", ")", "{", "if", "(", "Use", ".", "getOpcode", "(", ")", "==", "SystemZ", "::", "LOCRMux", ")", "{", "MachineOperand", "&", "TrueMO", "=", "Use", ".", "getOperand", "(", "1", ")", ";", "MachineOperand", "&", "FalseMO", "=", "Use", ".", "getOperand", "(", "2", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getCommonSubClass", "(", "getRC32", "(", "FalseMO", ",", "VRM", ",", "MRI", ")", ",", "getRC32", "(", "TrueMO", ",", "VRM", ",", "MRI", ")", ")", ";", "if", "(", "RC", "&&", "RC", "!=", "&", "SystemZ", "::", "GRX32BitRegClass", ")", "{", "addHints", "(", "Order", ",", "Hints", ",", "RC", ",", "MRI", ")", ";", "return", "true", ";", "}", "unsigned", "OtherReg", "=", "(", "TrueMO", ".", "getReg", "(", ")", "==", "Reg", "?", "FalseMO", ".", "getReg", "(", ")", ":", "TrueMO", ".", "getReg", "(", ")", ")", ";", "if", "(", "MRI", "->", "getRegClass", "(", "OtherReg", ")", "==", "&", "SystemZ", "::", "GRX32BitRegClass", ")", "Worklist", ".", "push_back", "(", "OtherReg", ")", ";", "}", "else", "if", "(", "Use", ".", "getOpcode", "(", ")", "==", "SystemZ", "::", "CHIMux", "||", "Use", ".", "getOpcode", "(", ")", "==", "SystemZ", "::", "CFIMux", ")", "{", "if", "(", "Use", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "==", "0", ")", "{", "bool", "OnlyLMuxes", "=", "true", ";", "for", "(", "MachineInstr", "&", "DefMI", ":", "MRI", "->", "def_instructions", "(", "VirtReg", ")", ")", "if", "(", "DefMI", ".", "getOpcode", "(", ")", "!=", "SystemZ", "::", "LMux", ")", "OnlyLMuxes", "=", "false", ";", "if", "(", "OnlyLMuxes", ")", "{", "addHints", "(", "Order", ",", "Hints", ",", "&", "SystemZ", "::", "GR32BitRegClass", ",", "MRI", ")", ";", "return", "false", ";", "}", "}", "}", "}", "}", "}", "return", "BaseImplRetVal", ";", "}", ""], "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": ["SystemZ", "SystemZ", "SystemZ::GRX32BitRegClass", "8", "4", "SystemZ::LOCRMux", "1", "2", "SystemZ::GRX32BitRegClass", "SystemZ::GRX32BitRegClass", "SystemZ::CHIMux", "SystemZ::CFIMux", "1", "0", "SystemZ::LMux", "SystemZ::GR32BitRegClass"], "File": "SystemZRegisterInfo34", "Func": "getRegAllocationHints", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14039, "Length": 412, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "PPC", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["PowerPC", "PPC::NumTargetFixupKinds"], "File": "PPCAsmBackend (2)1", "Func": "getNumFixupKinds", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14040, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetTransformInfo", "LanaiTargetMachine", "::", "getTargetTransformInfo", "(", "const", "Function", "&", "F", ")", "const", "{", "return", "TargetTransformInfo", "(", "LanaiTTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetTransformInfo", "implementation", "for", "the", "target", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai"], "File": "LanaiTargetMachine3", "Func": "getTargetTransformInfo", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14041, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "sparc_arg_partial_bytes", "(", "cumulative_args_t", "cum", ",", "const", "function_arg_info", "&", "arg", ")", "{", "int", "slotno", ",", "regno", ",", "padding", ";", "slotno", "=", "function_arg_slotno", "(", "get_cumulative_args", "(", "cum", ")", ",", "arg", ".", "mode", ",", "arg", ".", "type", ",", "arg", ".", "named", ",", "false", ",", "&", "regno", ",", "&", "padding", ")", ";", "if", "(", "slotno", "==", "-", "1", ")", "return", "0", ";", "if", "(", "TARGET_ARCH32", ")", "{", "const", "int", "size", "=", "GET_MODE_SIZE", "(", "arg", ".", "mode", ")", ";", "if", "(", "size", ">", "UNITS_PER_WORD", "&&", "slotno", "==", "SPARC_INT_ARG_MAX", "-", "1", ")", "return", "UNITS_PER_WORD", ";", "}", "else", "{", "if", "(", "arg", ".", "aggregate_type_p", "(", ")", ")", "{", "const", "int", "size", "=", "int_size_in_bytes", "(", "arg", ".", "type", ")", ";", "if", "(", "size", ">", "UNITS_PER_WORD", "&&", "(", "slotno", "==", "SPARC_INT_ARG_MAX", "-", "1", "||", "slotno", "==", "SPARC_FP_ARG_MAX", "-", "1", ")", ")", "return", "UNITS_PER_WORD", ";", "}", "else", "if", "(", "GET_MODE_CLASS", "(", "arg", ".", "mode", ")", "==", "MODE_COMPLEX_INT", "||", "(", "(", "GET_MODE_CLASS", "(", "arg", ".", "mode", ")", "==", "MODE_COMPLEX_FLOAT", "||", "(", "arg", ".", "type", "&&", "VECTOR_TYPE_P", "(", "arg", ".", "type", ")", ")", ")", "&&", "!", "(", "TARGET_FPU", "&&", "arg", ".", "named", ")", ")", ")", "{", "const", "int", "size", "=", "(", "arg", ".", "type", "&&", "VECTOR_FLOAT_TYPE_P", "(", "arg", ".", "type", ")", ")", "?", "int_size_in_bytes", "(", "arg", ".", "type", ")", ":", "GET_MODE_SIZE", "(", "arg", ".", "mode", ")", ";", "if", "(", "size", ">", "UNITS_PER_WORD", "&&", "slotno", "==", "SPARC_INT_ARG_MAX", "-", "1", ")", "return", "UNITS_PER_WORD", ";", "}", "else", "if", "(", "GET_MODE_CLASS", "(", "arg", ".", "mode", ")", "==", "MODE_COMPLEX_FLOAT", "||", "(", "arg", ".", "type", "&&", "VECTOR_TYPE_P", "(", "arg", ".", "type", ")", ")", ")", "{", "const", "int", "size", "=", "(", "arg", ".", "type", "&&", "VECTOR_FLOAT_TYPE_P", "(", "arg", ".", "type", ")", ")", "?", "int_size_in_bytes", "(", "arg", ".", "type", ")", ":", "GET_MODE_SIZE", "(", "arg", ".", "mode", ")", ";", "if", "(", "size", ">", "UNITS_PER_WORD", "&&", "slotno", "==", "SPARC_FP_ARG_MAX", "-", "1", ")", "return", "UNITS_PER_WORD", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["For", "an", "arg", "passed", "partly", "in", "registers", "and", "partly", "in", "memory", ",", "this", "is", "the", "number", "of", "bytes", "of", "registers", "used", ".", "For", "args", "passed", "entirely", "in", "registers", "or", "entirely", "in", "memory", ",", "zero", ".", "Any", "arg", "that", "starts", "in", "the", "first", "6", "regs", "but", "wo", "n't", "entirely", "fit", "in", "them", "needs", "partial", "registers", "on", "v8", ".", "On", "v9", ",", "structures", "with", "integer", "values", "in", "arg", "slots", "5,6", "will", "be", "passed", "in", "%", "o5", "and", "SP+176", ",", "and", "complex", "fp", "values", "that", "begin", "in", "the", "last", "fp", "reg", "[", "where", "``", "last", "fp", "reg", "''", "varies", "with", "the", "mode", "]", "will", "be", "split", "between", "that", "reg", "and", "memory", "."], "TS_V_token": ["sparc", "1", "0", "1", "1", "1", "1", "1", "0"], "File": "sparc", "Func": "sparc_arg_partial_bytes", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14042, "Length": 311, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "DLXTargetObjectFile", "::", "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": ["DLX", "DLX", "\".sdata\"", "\".sbss\""], "File": "DLXTargetObjectFile", "Func": "Initialize", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14043, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "section", "*", "aarch64_select_rtx_section", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "unsigned", "HOST_WIDE_INT", "align", ")", "{", "if", "(", "aarch64_can_use_per_function_literal_pools_p", "(", ")", ")", "return", "function_section", "(", "current_function_decl", ")", ";", "return", "default_elf_select_rtx_section", "(", "mode", ",", "x", ",", "align", ")", ";", "}", ""], "natrual_language": ["Select", "appropriate", "section", "for", "constants", "depending", "on", "where", "we", "place", "literal", "pools", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_select_rtx_section", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14044, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "canInsertSelect", "(", "const", "MachineBasicBlock", "&", "MBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "unsigned", "DstReg", ",", "unsigned", "TrueReg", ",", "unsigned", "FalseReg", ",", "int", "&", "CondCycles", ",", "int", "&", "TrueCycles", ",", "int", "&", "FalseCycles", ")", "const", "{", "const", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "RI", ".", "getCommonSubClass", "(", "MRI", ".", "getRegClass", "(", "TrueReg", ")", ",", "MRI", ".", "getRegClass", "(", "FalseReg", ")", ")", ";", "if", "(", "!", "RC", ")", "return", "false", ";", "if", "(", "!", "RI", ".", "getCommonSubClass", "(", "RC", ",", "MRI", ".", "getRegClass", "(", "DstReg", ")", ")", ")", "return", "false", ";", "unsigned", "ExtraCondLat", "=", "Cond", ".", "size", "(", ")", "!=", "1", ";", "if", "(", "AArch64", "::", "GPR64allRegClass", ".", "hasSubClassEq", "(", "RC", ")", "||", "AArch64", "::", "GPR32allRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "CondCycles", "=", "1", "+", "ExtraCondLat", ";", "TrueCycles", "=", "FalseCycles", "=", "1", ";", "if", "(", "canFoldIntoCSel", "(", "MRI", ",", "TrueReg", ")", ")", "TrueCycles", "=", "0", ";", "else", "if", "(", "canFoldIntoCSel", "(", "MRI", ",", "FalseReg", ")", ")", "FalseCycles", "=", "0", ";", "return", "true", ";", "}", "if", "(", "AArch64", "::", "FPR64RegClass", ".", "hasSubClassEq", "(", "RC", ")", "||", "AArch64", "::", "FPR32RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "CondCycles", "=", "5", "+", "ExtraCondLat", ";", "TrueCycles", "=", "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": ["AArch64", "AArch64", "1", "AArch64::GPR64allRegClass", "AArch64::GPR32allRegClass", "1", "1", "0", "0", "AArch64::FPR64RegClass", "AArch64::FPR32RegClass", "5", "2"], "File": "AArch64InstrInfo120", "Func": "canInsertSelect", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14045, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_function_arg_advance", "(", "cumulative_args_t", "pcum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "CUMULATIVE_ARGS", "*", "pcum", "=", "get_cumulative_args", "(", "pcum_v", ")", ";", "if", "(", "pcum", "->", "pcs_variant", "<=", "ARM_PCS_AAPCS_LOCAL", ")", "{", "aapcs_layout_arg", "(", "pcum", ",", "mode", ",", "type", ",", "named", ")", ";", "if", "(", "pcum", "->", "aapcs_cprc_slot", ">=", "0", ")", "{", "aapcs_cp_arg_layout", "[", "pcum", "->", "aapcs_cprc_slot", "]", ".", "advance", "(", "pcum", ",", "mode", ",", "type", ")", ";", "pcum", "->", "aapcs_cprc_slot", "=", "-", "1", ";", "}", "pcum", "->", "aapcs_arg_processed", "=", "false", ";", "pcum", "->", "aapcs_ncrn", "=", "pcum", "->", "aapcs_next_ncrn", ";", "pcum", "->", "aapcs_reg", "=", "NULL_RTX", ";", "pcum", "->", "aapcs_partial", "=", "0", ";", "}", "else", "{", "pcum", "->", "nargs", "+=", "1", ";", "if", "(", "arm_vector_mode_supported_p", "(", "mode", ")", "&&", "pcum", "->", "named_count", ">", "pcum", "->", "nargs", "&&", "TARGET_IWMMXT_ABI", ")", "pcum", "->", "iwmmxt_nregs", "+=", "1", ";", "else", "pcum", "->", "nregs", "+=", "ARM_NUM_REGS2", "(", "mode", ",", "type", ")", ";", "}", "}", ""], "natrual_language": ["Update", "the", "data", "in", "PCUM", "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": ["arm", "0", "1", "0", "1", "1"], "File": "arm4", "Func": "arm_function_arg_advance", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14046, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_expand_vector_compare", "(", "rtx", "target", ",", "rtx_code", "code", ",", "rtx", "op0", ",", "rtx", "op1", ",", "bool", "can_invert", ")", "{", "machine_mode", "cmp_result_mode", "=", "GET_MODE", "(", "target", ")", ";", "machine_mode", "cmp_mode", "=", "GET_MODE", "(", "op0", ")", ";", "bool", "inverted", ";", "switch", "(", "code", ")", "{", "case", "UNORDERED", ":", "case", "UNLT", ":", "case", "UNLE", ":", "case", "UNGT", ":", "case", "UNGE", ":", "case", "UNEQ", ":", "case", "NE", ":", "code", "=", "reverse_condition_maybe_unordered", "(", "code", ")", ";", "if", "(", "!", "can_invert", ")", "{", "rtx", "tmp", "=", "gen_reg_rtx", "(", "cmp_result_mode", ")", ";", "if", "(", "arm_expand_vector_compare", "(", "tmp", ",", "code", ",", "op0", ",", "op1", ",", "true", ")", ")", "gcc_unreachable", "(", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "target", ",", "gen_rtx_NOT", "(", "cmp_result_mode", ",", "tmp", ")", ")", ")", ";", "return", "false", ";", "}", "inverted", "=", "true", ";", "break", ";", "default", ":", "inverted", "=", "false", ";", "break", ";", "}", "switch", "(", "code", ")", "{", "case", "LE", ":", "case", "LT", ":", "if", "(", "op1", "!=", "CONST0_RTX", "(", "cmp_mode", ")", ")", "{", "code", "=", "swap_condition", "(", "code", ")", ";", "std", "::", "swap", "(", "op0", ",", "op1", ")", ";", "}", "case", "EQ", ":", "case", "GE", ":", "case", "GT", ":", "emit_insn", "(", "gen_neon_vc", "(", "code", ",", "cmp_mode", ",", "target", ",", "op0", ",", "op1", ")", ")", ";", "return", "inverted", ";", "case", "GEU", ":", "case", "GTU", ":", "emit_insn", "(", "gen_neon_vc", "(", "code", ",", "cmp_mode", ",", "target", ",", "op0", ",", "force_reg", "(", "cmp_mode", ",", "op1", ")", ")", ")", ";", "return", "inverted", ";", "case", "LEU", ":", "case", "LTU", ":", "emit_insn", "(", "gen_neon_vc", "(", "swap_condition", "(", "code", ")", ",", "cmp_mode", ",", "target", ",", "force_reg", "(", "cmp_mode", ",", "op1", ")", ",", "op0", ")", ")", ";", "return", "inverted", ";", "case", "LTGT", ":", "case", "ORDERED", ":", "{", "rtx", "gt_res", "=", "gen_reg_rtx", "(", "cmp_result_mode", ")", ";", "rtx", "alt_res", "=", "gen_reg_rtx", "(", "cmp_result_mode", ")", ";", "rtx_code", "alt_code", "=", "(", "code", "==", "LTGT", "?", "LT", ":", "LE", ")", ";", "if", "(", "arm_expand_vector_compare", "(", "gt_res", ",", "GT", ",", "op0", ",", "op1", ",", "true", ")", "||", "arm_expand_vector_compare", "(", "alt_res", ",", "alt_code", ",", "op0", ",", "op1", ",", "true", ")", ")", "gcc_unreachable", "(", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "target", ",", "gen_rtx_IOR", "(", "cmp_result_mode", ",", "gt_res", ",", "alt_res", ")", ")", ")", ";", "return", "inverted", ";", "}", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Expand", "code", "to", "compare", "vectors", "OP0", "and", "OP1", "using", "condition", "CODE", ".", "If", "CAN_INVERT", ",", "store", "either", "the", "result", "or", "its", "inverse", "in", "TARGET", "and", "return", "true", "if", "TARGET", "contains", "the", "inverse", ".", "If", "!", "CAN_INVERT", ",", "always", "store", "the", "result", "in", "TARGET", ",", "never", "its", "inverse", ".", "Note", "that", "the", "handling", "of", "floating-point", "comparisons", "is", "not", "IEEE", "compliant", "."], "TS_V_token": ["arm"], "File": "arm1", "Func": "arm_expand_vector_compare", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14047, "Length": 364, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_adjust_stack_and_probe", "(", "rtx", "reg", ")", "{", "static", "int", "labelno", "=", "0", ";", "char", "loop_lab", "[", "32", "]", ",", "end_lab", "[", "32", "]", ";", "rtx", "xops", "[", "2", "]", ";", "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", "]", "=", "stack_pointer_rtx", ";", "xops", "[", "1", "]", "=", "reg", ";", "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", "[", "1", "]", "=", "const0_rtx", ";", "output_asm_insn", "(", "\"or%z0\\t{%1, (%0)|DWORD PTR [%0], %1}\"", ",", "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": ["Adjust", "the", "stack", "pointer", "up", "to", "REG", "while", "probing", "it", "."], "TS_V_token": ["i386", "0", "32", "32", "2", "\"LPSRL\"", "\"LPSRE\"", "0", "1", "\"cmp%z0\\t{%1, %0|%0, %1}\"", "\"\\tje\\t\"", "1", "\"sub%z0\\t{%1, %0|%0, %1}\"", "1", "\"or%z0\\t{%1, (%0)|DWORD PTR [%0], %1}\"", "\"\\tjmp\\t\"", "\"\""], "File": "i3864", "Func": "output_adjust_stack_and_probe", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14048, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_setup_incoming_varargs", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "tree", "type", "ATTRIBUTE_UNUSED", ",", "int", "*", "pretend_size", ",", "int", "second_time", "ATTRIBUTE_UNUSED", ")", "{", "cfun", "->", "machine", "->", "uses_anonymous_args", "=", "1", ";", "if", "(", "cum", "->", "nregs", "<", "NUM_ARG_REGS", ")", "*", "pretend_size", "=", "(", "NUM_ARG_REGS", "-", "cum", "->", "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"], "File": "arm3", "Func": "arm_setup_incoming_varargs", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14049, "Length": 56, "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", "(", ")", ";", "Align", "TargetAlign", "=", "getStackAlign", "(", ")", ";", "Align", "MaxAlign", "=", "MFI", ".", "getMaxAlign", "(", ")", ";", "Align", "Alignment", "=", "std", "::", "max", "(", "TargetAlign", ",", "MaxAlign", ")", ";", "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", "=", "alignTo", "(", "maxCallFrameSize", ",", "Alignment", ")", ";", "if", "(", "NewMaxCallFrameSize", ")", "*", "NewMaxCallFrameSize", "=", "maxCallFrameSize", ";", "FrameSize", "+=", "maxCallFrameSize", ";", "FrameSize", "=", "alignTo", "(", "FrameSize", ",", "Alignment", ")", ";", "return", "FrameSize", ";", "}", ""], "natrual_language": ["Determine", "the", "frame", "layout", "but", "do", "not", "update", "the", "machine", "function", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "0"], "File": "PPCFrameLowering3", "Func": "determineFrameLayout", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14050, "Length": 261, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "csky_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", "(", "V_REGS", ",", "rclass", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CAN_CHANGE_MODE_CLASS", ".", "V_REG", "registers", "ca", "n't", "do", "subreg", "as", "all", "values", "are", "reformatted", "to", "internal", "precision", "."], "TS_V_token": ["csky"], "File": "csky", "Func": "csky_can_change_mode_class", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14051, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mt_set_memflags_1", "(", "rtx", "x", ",", "int", "in_struct_p", ",", "int", "volatile_p", ")", "{", "int", "i", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "SEQUENCE", ":", "case", "PARALLEL", ":", "for", "(", "i", "=", "XVECLEN", "(", "x", ",", "0", ")", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "mt_set_memflags_1", "(", "XVECEXP", "(", "x", ",", "0", ",", "i", ")", ",", "in_struct_p", ",", "volatile_p", ")", ";", "break", ";", "case", "INSN", ":", "mt_set_memflags_1", "(", "PATTERN", "(", "x", ")", ",", "in_struct_p", ",", "volatile_p", ")", ";", "break", ";", "case", "SET", ":", "mt_set_memflags_1", "(", "SET_DEST", "(", "x", ")", ",", "in_struct_p", ",", "volatile_p", ")", ";", "mt_set_memflags_1", "(", "SET_SRC", "(", "x", ")", ",", "in_struct_p", ",", "volatile_p", ")", ";", "break", ";", "case", "MEM", ":", "MEM_IN_STRUCT_P", "(", "x", ")", "=", "in_struct_p", ";", "MEM_VOLATILE_P", "(", "x", ")", "=", "volatile_p", ";", "break", ";", "default", ":", "break", ";", "}", "}", ""], "natrual_language": ["Subfunction", "of", "the", "following", "function", ".", "Update", "the", "flags", "of", "any", "MEM", "found", "in", "part", "of", "X", "."], "TS_V_token": ["mt", "0", "1", "0", "0"], "File": "mt", "Func": "mt_set_memflags_1", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14052, "Length": 140, "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", "::", "VACOPY", ":", "return", "LowerVACOPY", "(", "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", "::", "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", "::", "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::VACOPY", "PPC", "ISD::STACKRESTORE", "PPC", "ISD::DYNAMIC_STACKALLOC", "PPC", "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::MUL", "ISD::INTRINSIC_W_CHAIN", "ISD::RETURNADDR", "ISD::FRAMEADDR"], "File": "PPCISelLowering (2)", "Func": "LowerOperation", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14053, "Length": 483, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Emitter", "<", "CodeEmitter", ">", "::", "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", "\"JIT relocation model must be set to static or default!\"", "0"], "File": "PPCCodeEmitter5", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14054, "Length": 123, "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", ":", "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", ":", "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", "return", "max", "(", "2", ",", "TYPE_VECTOR_SUBPARTS", "(", "vectype", ")", "-", "1", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.builtin_vectorization_cost", "."], "TS_V_token": ["rs6000", "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", "2", "1"], "File": "rs60006", "Func": "rs6000_builtin_vectorization_cost", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14055, "Length": 314, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "PPCDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "if", "(", "!", "GlobalBaseReg", ")", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "TM", ".", "getInstrInfo", "(", ")", ";", "MachineBasicBlock", "&", "FirstMBB", "=", "MF", "->", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "FirstMBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", ";", "if", "(", "PPCLowering", ".", "getPointerTy", "(", ")", "==", "MVT", "::", "i32", ")", "{", "GlobalBaseReg", "=", "RegInfo", "->", "createVirtualRegister", "(", "&", "PPC", "::", "GPRCRegClass", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MovePCtoLR", ")", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MFLR", ")", ",", "GlobalBaseReg", ")", ";", "}", "else", "{", "GlobalBaseReg", "=", "RegInfo", "->", "createVirtualRegister", "(", "&", "PPC", "::", "G8RCRegClass", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MovePCtoLR8", ")", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MFLR8", ")", ",", "GlobalBaseReg", ")", ";", "}", "}", "return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "PPCLowering", ".", "getPointerTy", "(", ")", ")", ".", "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::GPRCRegClass", "PPC::MovePCtoLR", "PPC::MFLR", "PPC::G8RCRegClass", "PPC::MovePCtoLR8", "PPC::MFLR8", "PPC"], "File": "PPCISelDAGToDAG106", "Func": "getGlobalBaseReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14056, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "MachineInstr", "*", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "Register", "SrcReg", ",", "unsigned", "BitSize", ",", "int", "FrameIdx", ",", "int", "Offset", ",", "const", "TargetInstrInfo", "*", "TII", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "{", "unsigned", "SubIdx", "=", "(", "BitSize", "==", "8", ")", "?", "X86", "::", "sub_8bit", ":", "X86", "::", "sub_16bit", ";", "unsigned", "Opc", "=", "(", "BitSize", "==", "8", ")", "?", "X86", "::", "MOV8mr", ":", "X86", "::", "MOV16mr", ";", "if", "(", "BitSize", "==", "TRI", "->", "getRegSizeInBits", "(", "*", "RC", ")", ")", "SubIdx", "=", "0", ";", "MachineInstr", "*", "NewMI", "=", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "MI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "Opc", ")", ")", ",", "FrameIdx", ",", "Offset", ")", ".", "addReg", "(", "SrcReg", ",", "0", ",", "SubIdx", ")", ";", "return", "NewMI", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["X86", "8", "X86::sub_8bit", "X86::sub_16bit", "8", "X86::MOV8mr", "X86::MOV16mr", "0", "0"], "File": "X86TileConfig1", "Func": "storeRegToStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14057, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "classof", "(", "const", "VEMCExpr", "*", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["Methods", "for", "support", "type", "inquiry", "through", "isa", ",", "cast", ",", "and", "dyn_cast", ":"], "TS_V_token": ["VE", "VE"], "File": "VEMCExpr", "Func": "classof", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14058, "Length": 13, "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": ["Digital"], "File": "DigitalTargetMachine", "Func": "getObjFileLowering", "Target": "Digital", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14059, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLoweringBase", "::", "AtomicRMWExpansionKind", "ARMTargetLowering", "::", "shouldExpandAtomicRMWInIR", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "unsigned", "Size", "=", "AI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "return", "(", "Size", "<=", "(", "Subtarget", "->", "isMClass", "(", ")", "?", "32U", ":", "64U", ")", ")", "?", "AtomicRMWExpansionKind", "::", "LLSC", ":", "AtomicRMWExpansionKind", "::", "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": "ARMISelLowering132", "Func": "shouldExpandAtomicRMWInIR", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14060, "Length": 52, "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": 14061, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "AArch64RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "assert", "(", "MF", "&&", "\"Invalid MachineFunction pointer.\"", ")", ";", "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", "::", "CXX_FAST_TLS", ")", "return", "MF", "->", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", "->", "isSplitCSR", "(", ")", "?", "CSR_AArch64_CXX_TLS_Darwin_PE_SaveList", ":", "CSR_AArch64_CXX_TLS_Darwin_SaveList", ";", "else", "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"], "File": "AArch64RegisterInfo (2)", "Func": "getCalleeSavedRegs", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14062, "Length": 98, "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", "<<", "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", "<<", "\"0x\"", ";", "O", ".", "write_hex", "(", "Address", ")", ";", "}", "else", "{", "O", "<<", "*", "Op", ".", "getExpr", "(", ")", ";", "}", "}", "}", ""], "natrual_language": ["value", "(", "e.g", "."], "TS_V_token": ["X86", "X86", "\"unknown pcrel immediate operand\"", "\"0x\""], "File": "X86IntelInstPrinter19", "Func": "printPCRelImm", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14063, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pattern_is_rotate64", "(", "rtx", "pat", ")", "{", "rtx", "rot", "=", "SET_SRC", "(", "pat", ")", ";", "if", "(", "GET_CODE", "(", "rot", ")", "==", "ROTATE", "&&", "CONST_INT_P", "(", "XEXP", "(", "rot", ",", "1", ")", ")", "&&", "INTVAL", "(", "XEXP", "(", "rot", ",", "1", ")", ")", "==", "64", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "1", "iff", "PAT", "(", "a", "SINGLE_SET", ")", "is", "a", "rotate", "64", "bit", "expression", ";", "else", "return", "0", "."], "TS_V_token": ["rs6000", "1", "1", "64"], "File": "rs6000-p8swap", "Func": "pattern_is_rotate64", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14064, "Length": 54, "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": 14065, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_sim_wait_regs_1", "(", "rtx", "*", "x", ",", "void", "*", "data", ")", "{", "for_each_rtx", "(", "x", ",", "mips_sim_wait_regs_2", ",", "data", ")", ";", "}", ""], "natrual_language": ["Call", "mips_sim_wait_regs_2", "(", "R", ",", "DATA", ")", "for", "each", "register", "R", "mentioned", "in", "*", "X", "."], "TS_V_token": ["mips"], "File": "mips3", "Func": "mips_sim_wait_regs_1", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14066, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "x86_function_profiler", "(", "FILE", "*", "file", ",", "int", "labelno", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "cfun", "->", "machine", "->", "insn_queued_at_entrance", ")", "{", "if", "(", "cfun", "->", "machine", "->", "insn_queued_at_entrance", "==", "TYPE_ENDBR", ")", "fprintf", "(", "file", ",", "\"\\t%s\\n\"", ",", "TARGET_64BIT", "?", "\"endbr64\"", ":", "\"endbr32\"", ")", ";", "unsigned", "int", "patch_area_size", "=", "crtl", "->", "patch_area_size", "-", "crtl", "->", "patch_area_entry", ";", "if", "(", "patch_area_size", ")", "ix86_output_patchable_area", "(", "patch_area_size", ",", "crtl", "->", "patch_area_entry", "==", "0", ")", ";", "}", "const", "char", "*", "mcount_name", "=", "MCOUNT_NAME", ";", "if", "(", "current_fentry_name", "(", "&", "mcount_name", ")", ")", ";", "else", "if", "(", "fentry_name", ")", "mcount_name", "=", "fentry_name", ";", "else", "if", "(", "flag_fentry", ")", "mcount_name", "=", "MCOUNT_NAME_BEFORE_PROLOGUE", ";", "if", "(", "TARGET_64BIT", ")", "{", "fprintf", "(", "file", ",", "\"\\tleaq\\t%sP%d(%%rip),%%r11\\n\"", ",", "LPREFIX", ",", "labelno", ")", ";", "if", "(", "!", "TARGET_PECOFF", ")", "{", "switch", "(", "ix86_cmodel", ")", "{", "case", "CM_LARGE", ":", "fprintf", "(", "file", ",", "\"1:\\tmovabsq\\t$%s, %%r10\\n\\tcall\\t*%%r10\\n\"", ",", "mcount_name", ")", ";", "break", ";", "case", "CM_LARGE_PIC", ":", "fprintf", "(", "file", ",", "\"1:\\tmovabsq\\t$_GLOBAL_OFFSET_TABLE_-1b, %%r11\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\tleaq\\t1b(%%rip), %%r10\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\taddq\\t%%r11, %%r10\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\tmovabsq\\t$%s@PLTOFF, %%r11\\n\"", ",", "mcount_name", ")", ";", "fprintf", "(", "file", ",", "\"\\taddq\\t%%r11, %%r10\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\tcall\\t*%%r10\\n\"", ")", ";", "sorry", "(", "\"profiling %<-mcmodel=large%> with PIC is not supported\"", ")", ";", "break", ";", "case", "CM_SMALL_PIC", ":", "case", "CM_MEDIUM_PIC", ":", "fprintf", "(", "file", ",", "\"1:\\tcall\\t*%s@GOTPCREL(%%rip)\\n\"", ",", "mcount_name", ")", ";", "break", ";", "default", ":", "x86_print_call_or_nop", "(", "file", ",", "mcount_name", ")", ";", "break", ";", "}", "}", "else", "x86_print_call_or_nop", "(", "file", ",", "mcount_name", ")", ";", "}", "else", "if", "(", "flag_pic", ")", "{", "fprintf", "(", "file", ",", "\"\\tleal\\t%sP%d@GOTOFF(%%ebx),%%\"", "PROFILE_COUNT_REGISTER", "\"\\n\"", ",", "LPREFIX", ",", "labelno", ")", ";", "fprintf", "(", "file", ",", "\"1:\\tcall\\t*%s@GOT(%%ebx)\\n\"", ",", "mcount_name", ")", ";", "}", "else", "{", "fprintf", "(", "file", ",", "\"\\tmovl\\t$%sP%d,%%\"", "PROFILE_COUNT_REGISTER", "\"\\n\"", ",", "LPREFIX", ",", "labelno", ")", ";", "x86_print_call_or_nop", "(", "file", ",", "mcount_name", ")", ";", "}", "if", "(", "flag_record_mcount", "||", "lookup_attribute", "(", "\"fentry_section\"", ",", "DECL_ATTRIBUTES", "(", "current_function_decl", ")", ")", ")", "{", "const", "char", "*", "sname", "=", "\"__mcount_loc\"", ";", "if", "(", "current_fentry_section", "(", "&", "sname", ")", ")", ";", "else", "if", "(", "fentry_section", ")", "sname", "=", "fentry_section", ";", "fprintf", "(", "file", ",", "\"\\t.section %s, \\\"a\\\",@progbits\\n\"", ",", "sname", ")", ";", "fprintf", "(", "file", ",", "\"\\t.%s 1b\\n\"", ",", "TARGET_64BIT", "?", "\"quad\"", ":", "\"long\"", ")", ";", "fprintf", "(", "file", ",", "\"\\t.previous\\n\"", ")", ";", "}", "}", ""], "natrual_language": ["Output", "assembler", "code", "to", "FILE", "to", "increment", "profiler", "label", "#", "LABELNO", "for", "profiling", "a", "function", "entry", "."], "TS_V_token": ["i386", "\"\\t%s\\n\"", "\"endbr64\"", "\"endbr32\"", "0", "\"\\tleaq\\t%sP%d(%%rip),%%r11\\n\"", "\"1:\\tmovabsq\\t$%s, %%r10\\n\\tcall\\t*%%r10\\n\"", "\"1:\\tmovabsq\\t$_GLOBAL_OFFSET_TABLE_-1b, %%r11\\n\"", "\"\\tleaq\\t1b(%%rip), %%r10\\n\"", "\"\\taddq\\t%%r11, %%r10\\n\"", "\"\\tmovabsq\\t$%s@PLTOFF, %%r11\\n\"", "\"\\taddq\\t%%r11, %%r10\\n\"", "\"\\tcall\\t*%%r10\\n\"", "\"profiling %<-mcmodel=large%> with PIC is not supported\"", "\"1:\\tcall\\t*%s@GOTPCREL(%%rip)\\n\"", "\"\\tleal\\t%sP%d@GOTOFF(%%ebx),%%\"", "\"\\n\"", "\"1:\\tcall\\t*%s@GOT(%%ebx)\\n\"", "\"\\tmovl\\t$%sP%d,%%\"", "\"\\n\"", "\"fentry_section\"", "\"__mcount_loc\"", "\"\\t.section %s, \\\"a\\\",@progbits\\n\"", "\"\\t.%s 1b\\n\"", "\"quad\"", "\"long\"", "\"\\t.previous\\n\""], "File": "i386", "Func": "x86_function_profiler", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14067, "Length": 363, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasFP", "(", "const", "MachineFunction", "&", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["DLX"], "File": "DLXFrameLowering", "Func": "hasFP", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14068, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "scalar_chain", "::", "scalar_chain", "(", "enum", "machine_mode", "smode_", ",", "enum", "machine_mode", "vmode_", ")", "{", "smode", "=", "smode_", ";", "vmode", "=", "vmode_", ";", "chain_id", "=", "++", "max_id", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Created a new instruction chain #%d\\n\"", ",", "chain_id", ")", ";", "bitmap_obstack_initialize", "(", "NULL", ")", ";", "insns", "=", "BITMAP_ALLOC", "(", "NULL", ")", ";", "defs", "=", "BITMAP_ALLOC", "(", "NULL", ")", ";", "defs_conv", "=", "BITMAP_ALLOC", "(", "NULL", ")", ";", "queue", "=", "NULL", ";", "}", ""], "natrual_language": ["Initialize", "new", "chain", "."], "TS_V_token": ["i386", "\"Created a new instruction chain #%d\\n\""], "File": "i386-features", "Func": "scalar_chain", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14069, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_adjust_atomic_subword", "(", "rtx", "orig_mem", ",", "rtx", "*", "pshift", ",", "rtx", "*", "pmask", ")", "{", "rtx", "addr", ",", "align", ",", "shift", ",", "mask", ",", "mem", ";", "HOST_WIDE_INT", "shift_mask", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "orig_mem", ")", ";", "shift_mask", "=", "(", "mode", "==", "QImode", "?", "0x18", ":", "0x10", ")", ";", "addr", "=", "XEXP", "(", "orig_mem", ",", "0", ")", ";", "addr", "=", "force_reg", "(", "GET_MODE", "(", "addr", ")", ",", "addr", ")", ";", "align", "=", "expand_simple_binop", "(", "Pmode", ",", "AND", ",", "addr", ",", "GEN_INT", "(", "-", "4", ")", ",", "NULL_RTX", ",", "1", ",", "OPTAB_LIB_WIDEN", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "SImode", ",", "align", ")", ";", "MEM_VOLATILE_P", "(", "mem", ")", "=", "MEM_VOLATILE_P", "(", "orig_mem", ")", ";", "if", "(", "MEM_ALIAS_SET", "(", "orig_mem", ")", "==", "ALIAS_SET_MEMORY_BARRIER", ")", "set_mem_alias_set", "(", "mem", ",", "ALIAS_SET_MEMORY_BARRIER", ")", ";", "shift", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "addr", "=", "gen_lowpart", "(", "SImode", ",", "addr", ")", ";", "emit_insn", "(", "gen_rlwinm", "(", "shift", ",", "addr", ",", "GEN_INT", "(", "3", ")", ",", "GEN_INT", "(", "shift_mask", ")", ")", ")", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "shift", "=", "expand_simple_binop", "(", "SImode", ",", "XOR", ",", "shift", ",", "GEN_INT", "(", "shift_mask", ")", ",", "shift", ",", "1", ",", "OPTAB_LIB_WIDEN", ")", ";", "*", "pshift", "=", "shift", ";", "mask", "=", "expand_simple_binop", "(", "SImode", ",", "ASHIFT", ",", "GEN_INT", "(", "GET_MODE_MASK", "(", "mode", ")", ")", ",", "shift", ",", "NULL_RTX", ",", "1", ",", "OPTAB_LIB_WIDEN", ")", ";", "*", "pmask", "=", "mask", ";", "return", "mem", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "the", "various", "atomic", "expanders", ".", "For", "sub-word", "operations", ",", "we", "must", "adjust", "things", "to", "operate", "on", "SImode", ".", "Given", "the", "original", "MEM", ",", "return", "a", "new", "aligned", "memory", ".", "Also", "build", "and", "return", "the", "quantities", "by", "which", "to", "shift", "and", "mask", "."], "TS_V_token": ["rs6000", "0x18", "0x10", "0", "4", "1", "3", "1", "1"], "File": "rs60004", "Func": "rs6000_adjust_atomic_subword", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14070, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "FIXUPBW_DESC", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86"], "File": "X86FixupBWInsts1", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14071, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SparcTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "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", "Func": "LowerFormalArguments", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14072, "Length": 87, "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", ">", "(", ")", ";", "const", "ARMFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "if", "(", "MF", ".", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "\"no-realign-stack\"", ")", ")", "return", "false", ";", "if", "(", "AFI", "->", "isThumb1OnlyFunction", "(", ")", ")", "return", "false", ";", "if", "(", "!", "MRI", "->", "canReserveReg", "(", "getFramePointerReg", "(", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ")", ")", ")", "return", "false", ";", "if", "(", "TFI", "->", "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", "ARM", "\"no-realign-stack\"", "ARM"], "File": "ARMBaseRegisterInfo5", "Func": "canRealignStack", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14073, "Length": 119, "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": 14074, "Length": 35, "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", ";", "bool", "isLoad", "=", "true", ";", "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", "(", ")", ";", "isLoad", "=", "false", ";", "}", "else", "return", "false", ";", "if", "(", "isLoad", "&&", "usePartialVectorLoads", "(", "N", ",", "Subtarget", ")", ")", "{", "return", "false", ";", "}", "if", "(", "VT", ".", "isVector", "(", ")", ")", "{", "if", "(", "!", "Subtarget", ".", "hasQPX", "(", ")", "||", "(", "VT", "!=", "MVT", "::", "v4f64", "&&", "VT", "!=", "MVT", "::", "v4f32", ")", ")", "{", "return", "false", ";", "}", "else", "if", "(", "SelectAddressRegRegOnly", "(", "Ptr", ",", "Offset", ",", "Base", ",", "DAG", ")", ")", "{", "AM", "=", "ISD", "::", "PRE_INC", ";", "return", "true", ";", "}", "}", "if", "(", "SelectAddressRegReg", "(", "Ptr", ",", "Base", ",", "Offset", ",", "DAG", ")", ")", "{", "bool", "Swap", "=", "false", ";", "if", "(", "isa", "<", "FrameIndexSDNode", ">", "(", "Base", ")", "||", "isa", "<", "RegisterSDNode", ">", "(", "Base", ")", ")", "Swap", "=", "true", ";", "else", "if", "(", "!", "isLoad", ")", "{", "SDValue", "Val", "=", "cast", "<", "StoreSDNode", ">", "(", "N", ")", "->", "getValue", "(", ")", ";", "if", "(", "Val", "==", "Base", "||", "Base", ".", "getNode", "(", ")", "->", "isPredecessorOf", "(", "Val", ".", "getNode", "(", ")", ")", ")", "Swap", "=", "true", ";", "}", "if", "(", "Swap", ")", "std", "::", "swap", "(", "Base", ",", "Offset", ")", ";", "AM", "=", "ISD", "::", "PRE_INC", ";", "return", "true", ";", "}", "if", "(", "VT", "!=", "MVT", "::", "i64", ")", "{", "if", "(", "!", "SelectAddressRegImm", "(", "Ptr", ",", "Offset", ",", "Base", ",", "DAG", ",", "None", ")", ")", "return", "false", ";", "}", "else", "{", "if", "(", "Alignment", "<", "4", ")", "return", "false", ";", "if", "(", "!", "SelectAddressRegImm", "(", "Ptr", ",", "Offset", ",", "Base", ",", "DAG", ",", "Align", "(", "4", ")", ")", ")", "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::v4f64", "MVT::v4f32", "ISD::PRE_INC", "ISD::PRE_INC", "MVT::i64", "4", "4", "0", "MVT::i64", "MVT::i32", "ISD::SEXTLOAD", "ISD::PRE_INC"], "File": "PPCISelLowering146", "Func": "getPreIndexedAddressParts", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14075, "Length": 463, "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", "::", "GlobalAddress", ":", "return", "lowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "return", "lowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "lowerBlockAddress", "(", "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", "::", "FRAMEADDR", ":", "return", "lowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "lowerRETURNADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EH_RETURN", ":", "return", "lowerEH_RETURN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ADD", ":", "return", "lowerADD", "(", "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": ["Cpu0", "Cpu0", "ISD::BRCOND", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::BlockAddress", "ISD::JumpTable", "ISD::SELECT", "ISD::VASTART", "ISD::FRAMEADDR", "ISD::RETURNADDR", "ISD::EH_RETURN", "ISD::ADD", "ISD::ATOMIC_FENCE"], "File": "Cpu0ISelLowering", "Func": "LowerOperation", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14076, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_shift_rotate_cost", "(", "const", "struct", "processor_costs", "*", "cost", ",", "enum", "rtx_code", "code", ",", "enum", "machine_mode", "mode", ",", "bool", "constant_op1", ",", "HOST_WIDE_INT", "op1_val", ",", "bool", "speed", ",", "bool", "and_in_op1", ",", "bool", "shift_and_truncate", ",", "bool", "*", "skip_op0", ",", "bool", "*", "skip_op1", ")", "{", "if", "(", "skip_op0", ")", "*", "skip_op0", "=", "*", "skip_op1", "=", "false", ";", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_INT", ")", "{", "if", "(", "mode", "==", "V16QImode", "||", "mode", "==", "V32QImode", ")", "{", "int", "count", "=", "11", ";", "if", "(", "TARGET_XOP", "&&", "mode", "==", "V16QImode", ")", "{", "if", "(", "constant_op1", ")", "{", "if", "(", "skip_op1", ")", "*", "skip_op1", "=", "true", ";", "return", "ix86_vec_cost", "(", "mode", ",", "cost", "->", "sse_op", "+", "(", "speed", "?", "2", ":", "COSTS_N_BYTES", "(", "GET_MODE_UNIT_SIZE", "(", "mode", ")", ")", ")", ")", ";", "}", "count", "=", "3", ";", "}", "else", "if", "(", "TARGET_SSSE3", ")", "count", "=", "7", ";", "return", "ix86_vec_cost", "(", "mode", ",", "cost", "->", "sse_op", "*", "count", ")", ";", "}", "else", "if", "(", "code", "==", "ASHIFTRT", "&&", "(", "mode", "==", "V2DImode", "||", "mode", "==", "V4DImode", ")", "&&", "!", "TARGET_XOP", "&&", "!", "TARGET_AVX512VL", ")", "{", "int", "count", "=", "4", ";", "if", "(", "constant_op1", "&&", "op1_val", "==", "63", "&&", "TARGET_SSE4_2", ")", "count", "=", "2", ";", "else", "if", "(", "constant_op1", ")", "count", "=", "3", ";", "return", "ix86_vec_cost", "(", "mode", ",", "cost", "->", "sse_op", "*", "count", ")", ";", "}", "else", "return", "ix86_vec_cost", "(", "mode", ",", "cost", "->", "sse_op", ")", ";", "}", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "UNITS_PER_WORD", ")", "{", "if", "(", "constant_op1", ")", "{", "if", "(", "op1_val", ">", "32", ")", "return", "cost", "->", "shift_const", "+", "COSTS_N_INSNS", "(", "2", ")", ";", "else", "return", "cost", "->", "shift_const", "*", "2", ";", "}", "else", "{", "if", "(", "and_in_op1", ")", "return", "cost", "->", "shift_var", "*", "2", ";", "else", "return", "cost", "->", "shift_var", "*", "6", "+", "COSTS_N_INSNS", "(", "2", ")", ";", "}", "}", "else", "{", "if", "(", "constant_op1", ")", "return", "cost", "->", "shift_const", ";", "else", "if", "(", "shift_and_truncate", ")", "{", "if", "(", "skip_op0", ")", "*", "skip_op0", "=", "*", "skip_op1", "=", "true", ";", "return", "cost", "->", "shift_var", ";", "}", "else", "return", "cost", "->", "shift_var", ";", "}", "}", ""], "natrual_language": ["Return", "cost", "of", "shift", "in", "MODE", ".", "If", "CONSTANT_OP1", "is", "true", ",", "the", "op1", "value", "is", "known", "and", "set", "in", "OP1_VAL", ".", "AND_IN_OP1", "specify", "in", "op1", "is", "result", "of", "AND", "and", "SHIFT_AND_TRUNCATE", "if", "op1", "is", "a", "result", "of", "subreg", ".", "SKIP_OP0/1", "is", "set", "to", "true", "if", "cost", "of", "OP0/1", "should", "be", "ignored", "."], "TS_V_token": ["i386", "11", "2", "3", "7", "4", "63", "2", "3", "32", "2", "2", "2", "6", "2"], "File": "i386", "Func": "ix86_shift_rotate_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14077, "Length": 343, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64FrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "if", "(", "!", "MF", ".", "hasEHFunclets", "(", ")", ")", "return", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "WinEHFuncInfo", "&", "EHInfo", "=", "*", "MF", ".", "getWinEHFuncInfo", "(", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "auto", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "while", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", "&&", "MBBI", "->", "getFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ")", "++", "MBBI", ";", "if", "(", "MBBI", "->", "isTerminator", "(", ")", ")", "return", ";", "int", "UnwindHelpFI", "=", "MFI", ".", "CreateStackObject", "(", "8", ",", "16", ",", "false", ")", ";", "EHInfo", ".", "UnwindHelpFrameIdx", "=", "UnwindHelpFI", ";", "DebugLoc", "DL", ";", "RS", "->", "enterBasicBlock", "(", "MBB", ")", ";", "unsigned", "DstReg", "=", "RS", "->", "scavengeRegister", "(", "&", "AArch64", "::", "GPR64RegClass", ",", "MBBI", ",", "0", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "AArch64", "::", "MOVi64imm", ")", ",", "DstReg", ")", ".", "addImm", "(", "-", "2", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "AArch64", "::", "STURXi", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "true", ")", ")", ".", "addFrameIndex", "(", "UnwindHelpFI", ")", ".", "addImm", "(", "0", ")", ";", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["AArch64", "AArch64", "8", "16", "AArch64::GPR64RegClass", "0", "AArch64::MOVi64imm", "2", "AArch64::STURXi", "0"], "File": "AArch64FrameLowering105", "Func": "processFunctionBeforeFrameFinalized", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14078, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "X86TargetLowering", "::", "getRegisterTypeForCallingConv", "(", "LLVMContext", "&", "Context", ",", "CallingConv", "::", "ID", "CC", ",", "EVT", "VT", ")", "const", "{", "if", "(", "VT", "==", "MVT", "::", "v32i1", "&&", "Subtarget", ".", "hasAVX512", "(", ")", "&&", "!", "Subtarget", ".", "hasBWI", "(", ")", ")", "return", "MVT", "::", "v32i8", ";", "if", "(", "(", "VT", "==", "MVT", "::", "v32i16", "||", "VT", "==", "MVT", "::", "v64i8", ")", "&&", "Subtarget", ".", "hasAVX512", "(", ")", "&&", "!", "Subtarget", ".", "hasBWI", "(", ")", "&&", "!", "EnableOldKNLABI", ")", "return", "MVT", "::", "v16i32", ";", "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": ["X86", "X86", "MVT::v32i1", "MVT::v32i8", "MVT::v32i16", "MVT::v64i8", "MVT::v16i32"], "File": "X86ISelLowering151", "Func": "getRegisterTypeForCallingConv", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14079, "Length": 95, "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": 14080, "Length": 318, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "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": ["powerpcspe"], "File": "powerpcspe-c", "Func": "fully_fold_convert", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14081, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isNoopAddrSpaceCast", "(", "unsigned", "SrcAS", ",", "unsigned", "DestAS", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "a", "cast", "between", "SrcAS", "and", "DestAS", "is", "a", "noop", "."], "TS_V_token": ["PowerPC"], "File": "PPCISelLowering (2)2", "Func": "isNoopAddrSpaceCast", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14082, "Length": 16, "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": ["powerpcspe", "4", "1", "1", "12", "2", "0", "0", "0", "1"], "File": "powerpcspe", "Func": "rs6000_call_aix", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14083, "Length": 508, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "getExceptionSelectorRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "override", "{", "return", "ABI", ".", "IsN64", "(", ")", "?", "Mips", "::", "A1_64", ":", "Mips", "::", "A1", ";", "}", ""], "natrual_language": ["If", "a", "physical", "register", ",", "this", "returns", "the", "register", "that", "receives", "the", "exception", "typeid", "on", "entry", "to", "a", "landing", "pad", "."], "TS_V_token": ["Mips", "Mips::A1_64", "Mips::A1"], "File": "MipsISelLowering32", "Func": "getExceptionSelectorRegister", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14084, "Length": 27, "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": 14085, "Length": 209, "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": ["powerpcspe", "1000", "1000", "1000", "\"--param l1-cache-size=%u\"", "\"--param l1-cache-line-size=%u\"", "\"--param l2-cache-size=%u\"", "\" \"", "\" \"", "\" \""], "File": "driver-powerpcspe", "Func": "describe_cache", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14086, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "mips_autovectorize_vector_sizes", "(", "void", ")", "{", "return", "ISA_HAS_MSA", "?", "16", ":", "0", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VECTORIZE_AUTOVECTORIZE_VECTOR_SIZES", "."], "TS_V_token": ["mips", "16", "0"], "File": "mips6", "Func": "mips_autovectorize_vector_sizes", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14087, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nds32_expand_movmemsi_loop_unknown_size", "(", "rtx", "dstmem", ",", "rtx", "srcmem", ",", "rtx", "size", ",", "rtx", "alignment", ")", "{", "rtx", "dst_base_reg", ",", "src_base_reg", ";", "rtx", "dst_itr", ",", "src_itr", ";", "rtx", "dstmem_m", ",", "srcmem_m", ",", "dst_itr_m", ",", "src_itr_m", ";", "rtx", "dst_end", ";", "rtx", "size_least_3_bit", ";", "rtx", "double_word_end", ";", "rtx", "double_word_mode_loop", ",", "byte_mode_entry", ",", "byte_mode_loop", ",", "end_label", ";", "rtx", "tmp", ";", "rtx", "mask_least_3_bit", ";", "int", "start_regno", ";", "bool", "align_to_4_bytes", "=", "(", "INTVAL", "(", "alignment", ")", "&", "3", ")", "==", "0", ";", "if", "(", "TARGET_ISA_V3M", "&&", "!", "align_to_4_bytes", ")", "return", "0", ";", "if", "(", "TARGET_REDUCED_REGS", ")", "start_regno", "=", "2", ";", "else", "start_regno", "=", "16", ";", "dst_itr", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "src_itr", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "dst_end", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "tmp", "=", "gen_reg_rtx", "(", "QImode", ")", ";", "mask_least_3_bit", "=", "GEN_INT", "(", "~", "7", ")", ";", "double_word_mode_loop", "=", "gen_label_rtx", "(", ")", ";", "byte_mode_entry", "=", "gen_label_rtx", "(", ")", ";", "byte_mode_loop", "=", "gen_label_rtx", "(", ")", ";", "end_label", "=", "gen_label_rtx", "(", ")", ";", "dst_base_reg", "=", "copy_to_mode_reg", "(", "Pmode", ",", "XEXP", "(", "dstmem", ",", "0", ")", ")", ";", "src_base_reg", "=", "copy_to_mode_reg", "(", "Pmode", ",", "XEXP", "(", "srcmem", ",", "0", ")", ")", ";", "size_least_3_bit", "=", "expand_binop", "(", "SImode", ",", "and_optab", ",", "size", ",", "mask_least_3_bit", ",", "NULL_RTX", ",", "0", ",", "OPTAB_WIDEN", ")", ";", "dst_end", "=", "expand_binop", "(", "Pmode", ",", "add_optab", ",", "dst_base_reg", ",", "size", ",", "NULL_RTX", ",", "0", ",", "OPTAB_WIDEN", ")", ";", "emit_move_insn", "(", "dst_itr", ",", "dst_base_reg", ")", ";", "emit_move_insn", "(", "src_itr", ",", "src_base_reg", ")", ";", "emit_cmp_and_jump_insns", "(", "size_least_3_bit", ",", "const0_rtx", ",", "EQ", ",", "NULL", ",", "SImode", ",", "1", ",", "byte_mode_entry", ")", ";", "double_word_end", "=", "expand_binop", "(", "Pmode", ",", "add_optab", ",", "dst_base_reg", ",", "size_least_3_bit", ",", "NULL_RTX", ",", "0", ",", "OPTAB_WIDEN", ")", ";", "emit_label", "(", "double_word_mode_loop", ")", ";", "src_itr_m", "=", "src_itr", ";", "dst_itr_m", "=", "dst_itr", ";", "srcmem_m", "=", "srcmem", ";", "dstmem_m", "=", "dstmem", ";", "nds32_emit_mem_move_block", "(", "start_regno", ",", "2", ",", "&", "dst_itr_m", ",", "&", "dstmem_m", ",", "&", "src_itr_m", ",", "&", "srcmem_m", ",", "true", ")", ";", "emit_move_insn", "(", "dst_itr", ",", "dst_itr_m", ")", ";", "emit_move_insn", "(", "src_itr", ",", "src_itr_m", ")", ";", "emit_cmp_and_jump_insns", "(", "double_word_end", ",", "dst_itr", ",", "NE", ",", "NULL", ",", "Pmode", ",", "1", ",", "double_word_mode_loop", ")", ";", "emit_label", "(", "byte_mode_entry", ")", ";", "emit_cmp_and_jump_insns", "(", "dst_itr", ",", "dst_end", ",", "EQ", ",", "NULL", ",", "Pmode", ",", "1", ",", "end_label", ")", ";", "emit_label", "(", "byte_mode_loop", ")", ";", "nds32_emit_post_inc_load_store", "(", "tmp", ",", "src_itr", ",", "QImode", ",", "true", ")", ";", "nds32_emit_post_inc_load_store", "(", "tmp", ",", "dst_itr", ",", "QImode", ",", "false", ")", ";", "emit_cmp_and_jump_insns", "(", "dst_itr", ",", "dst_end", ",", "NE", ",", "NULL", ",", "SImode", ",", "1", ",", "byte_mode_loop", ")", ";", "emit_label", "(", "end_label", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Auxiliary", "function", "for", "expand", "movmem", "pattern", "."], "TS_V_token": ["nds32", "3", "0", "0", "2", "16", "7", "0", "0", "0", "0", "1", "0", "2", "1", "1", "1"], "File": "nds32-memory-manipulation5", "Func": "nds32_expand_movmemsi_loop_unknown_size", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14088, "Length": 424, "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", "*", "barrier", ";", "rtx_insn", "*", "from", "=", "fix", "->", "insn", ";", "rtx_insn", "*", "selected", "=", "NULL", ";", "int", "selected_cost", ";", "HOST_WIDE_INT", "selected_address", ";", "Mfix", "*", "new_fix", ";", "HOST_WIDE_INT", "max_count", "=", "max_address", "-", "fix", "->", "address", ";", "rtx_code_label", "*", "label", "=", "gen_label_rtx", "(", ")", ";", "selected_cost", "=", "arm_barrier_cost", "(", "from", ")", ";", "selected_address", "=", "fix", "->", "address", ";", "while", "(", "from", "&&", "count", "<", "max_count", ")", "{", "rtx_jump_table_data", "*", "tmp", ";", "int", "new_cost", ";", "gcc_assert", "(", "!", "BARRIER_P", "(", "from", ")", ")", ";", "if", "(", "LABEL_P", "(", "from", ")", ")", "count", "+=", "get_label_padding", "(", "from", ")", ";", "else", "count", "+=", "get_attr_length", "(", "from", ")", ";", "if", "(", "tablejump_p", "(", "from", ",", "NULL", ",", "&", "tmp", ")", ")", "{", "count", "+=", "get_jump_table_size", "(", "tmp", ")", ";", "new_cost", "=", "arm_barrier_cost", "(", "from", ")", ";", "if", "(", "count", "<", "max_count", "&&", "(", "!", "selected", "||", "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", "&&", "(", "!", "selected", "||", "new_cost", "<=", "selected_cost", ")", ")", "{", "selected", "=", "from", ";", "selected_cost", "=", "new_cost", ";", "selected_address", "=", "fix", "->", "address", "+", "count", ";", "}", "from", "=", "NEXT_INSN", "(", "from", ")", ";", "}", "gcc_assert", "(", "selected", ")", ";", "if", "(", "CALL_P", "(", "selected", ")", ")", "{", "rtx_insn", "*", "next", "=", "NEXT_INSN", "(", "selected", ")", ";", "if", "(", "next", "&&", "NOTE_P", "(", "next", ")", "&&", "NOTE_KIND", "(", "next", ")", "==", "NOTE_INSN_CALL_ARG_LOCATION", ")", "selected", "=", "next", ";", "}", "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": "arm4", "Func": "create_fix_barrier", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14089, "Length": 365, "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", ")", ">=", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", "&&", "\"Stack slot too small for store\"", ")", ";", "unsigned", "Alignment", "=", "std", "::", "max", "<", "uint32_t", ">", "(", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", ",", "16", ")", ";", "bool", "isAligned", "=", "(", "Subtarget", ".", "getFrameLowering", "(", ")", "->", "getStackAlignment", "(", ")", ">=", "Alignment", ")", "||", "RI", ".", "canRealignStack", "(", "MF", ")", ";", "unsigned", "Opc", "=", "getStoreRegOpcode", "(", "SrcReg", ",", "RC", ",", "isAligned", ",", "Subtarget", ")", ";", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "MI", ",", "DebugLoc", "(", ")", ",", "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\"", "16"], "File": "X86InstrInfo1", "Func": "storeRegToStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14090, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64PassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableAdvSIMDScalar", ")", "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": "ARM64TargetMachine1", "Func": "addPreRegAlloc", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14091, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86RegisterInfo", "::", "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", "(", "getSUBriOpcode", "(", "Is64Bit", ",", "Amount", ")", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Old", "->", "getOpcode", "(", ")", "==", "getCallFrameDestroyOpcode", "(", ")", ")", ";", "uint64_t", "CalleeAmt", "=", "Old", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "Amount", "-=", "CalleeAmt", ";", "if", "(", "Amount", ")", "{", "unsigned", "Opc", "=", "getADDriOpcode", "(", "Is64Bit", ",", "Amount", ")", ";", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "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", "(", ")", ")", "{", "unsigned", "Opc", "=", "getSUBriOpcode", "(", "Is64Bit", ",", "CalleeAmt", ")", ";", "MachineInstr", "*", "Old", "=", "I", ";", "MachineInstr", "*", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "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": ["X86", "X86", "0", "0", "1", "0", "1", "3", "1", "3"], "File": "X86RegisterInfo31", "Func": "eliminateCallFramePseudoInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14092, "Length": 348, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "shouldSinkOperands", "(", "Instruction", "*", "I", ",", "SmallVectorImpl", "<", "Use", "*", ">", "&", "Ops", ")", "const", "{", "if", "(", "!", "I", "->", "getType", "(", ")", "->", "isVectorTy", "(", ")", ")", "return", "false", ";", "if", "(", "Subtarget", "->", "hasNEON", "(", ")", ")", "{", "switch", "(", "I", "->", "getOpcode", "(", ")", ")", "{", "case", "Instruction", "::", "Sub", ":", "case", "Instruction", "::", "Add", ":", "{", "if", "(", "!", "areExtractExts", "(", "I", "->", "getOperand", "(", "0", ")", ",", "I", "->", "getOperand", "(", "1", ")", ")", ")", "return", "false", ";", "Ops", ".", "push_back", "(", "&", "I", "->", "getOperandUse", "(", "0", ")", ")", ";", "Ops", ".", "push_back", "(", "&", "I", "->", "getOperandUse", "(", "1", ")", ")", ";", "return", "true", ";", "}", "default", ":", "return", "false", ";", "}", "}", "if", "(", "!", "Subtarget", "->", "hasMVEIntegerOps", "(", ")", ")", "return", "false", ";", "auto", "IsSinker", "=", "[", "]", "(", "Instruction", "*", "I", ",", "int", "Operand", ")", "{", "switch", "(", "I", "->", "getOpcode", "(", ")", ")", "{", "case", "Instruction", "::", "Add", ":", "case", "Instruction", "::", "Mul", ":", "case", "Instruction", "::", "ICmp", ":", "return", "true", ";", "case", "Instruction", "::", "Sub", ":", "case", "Instruction", "::", "Shl", ":", "case", "Instruction", "::", "LShr", ":", "case", "Instruction", "::", "AShr", ":", "return", "Operand", "==", "1", ";", "default", ":", "return", "false", ";", "}", "}", ";", "int", "Op", "=", "0", ";", "if", "(", "!", "isa", "<", "ShuffleVectorInst", ">", "(", "I", "->", "getOperand", "(", "Op", ")", ")", ")", "Op", "=", "1", ";", "if", "(", "!", "IsSinker", "(", "I", ",", "Op", ")", ")", "return", "false", ";", "if", "(", "!", "match", "(", "I", "->", "getOperand", "(", "Op", ")", ",", "m_ShuffleVector", "(", "m_InsertElement", "(", "m_Undef", "(", ")", ",", "m_Value", "(", ")", ",", "m_ZeroInt", "(", ")", ")", ",", "m_Undef", "(", ")", ",", "m_Zero", "(", ")", ")", ")", ")", "{", "return", "false", ";", "}", "Instruction", "*", "Shuffle", "=", "cast", "<", "Instruction", ">", "(", "I", "->", "getOperand", "(", "Op", ")", ")", ";", "for", "(", "Use", "&", "U", ":", "Shuffle", "->", "uses", "(", ")", ")", "{", "Instruction", "*", "Insn", "=", "cast", "<", "Instruction", ">", "(", "U", ".", "getUser", "(", ")", ")", ";", "if", "(", "!", "IsSinker", "(", "Insn", ",", "U", ".", "getOperandNo", "(", ")", ")", ")", "return", "false", ";", "}", "Ops", ".", "push_back", "(", "&", "Shuffle", "->", "getOperandUse", "(", "0", ")", ")", ";", "Ops", ".", "push_back", "(", "&", "I", "->", "getOperandUse", "(", "Op", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "sinking", "I", "'s", "operands", "to", "the", "same", "basic", "block", "as", "I", "is", "profitable", ",", "e.g", "."], "TS_V_token": ["ARM", "ARM", "0", "1", "0", "1", "1", "0", "1", "0"], "File": "ARMISelLowering105", "Func": "shouldSinkOperands", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14093, "Length": 386, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTargetLowering", "::", "getByValTypeAlignment", "(", "const", "Type", "*", "Ty", ")", "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": "PPCISelLowering107", "Func": "getByValTypeAlignment", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14094, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arm_expand_builtin_1", "(", "int", "fcode", ",", "tree", "exp", ",", "rtx", "target", ",", "arm_builtin_datum", "*", "d", ")", "{", "enum", "insn_code", "icode", "=", "d", "->", "code", ";", "builtin_arg", "args", "[", "SIMD_MAX_BUILTIN_ARGS", "+", "1", "]", ";", "int", "num_args", "=", "insn_data", "[", "d", "->", "code", "]", ".", "n_operands", ";", "int", "is_void", "=", "0", ";", "int", "k", ";", "bool", "neon", "=", "false", ";", "if", "(", "IN_RANGE", "(", "fcode", ",", "ARM_BUILTIN_VFP_BASE", ",", "ARM_BUILTIN_ACLE_BASE", "-", "1", ")", ")", "neon", "=", "true", ";", "is_void", "=", "!", "!", "(", "d", "->", "qualifiers", "[", "0", "]", "&", "qualifier_void", ")", ";", "num_args", "+=", "is_void", ";", "for", "(", "k", "=", "1", ";", "k", "<", "num_args", ";", "k", "++", ")", "{", "int", "qualifiers_k", "=", "k", ";", "int", "operands_k", "=", "k", "-", "is_void", ";", "int", "expr_args_k", "=", "k", "-", "1", ";", "if", "(", "d", "->", "qualifiers", "[", "qualifiers_k", "]", "&", "qualifier_lane_index", ")", "args", "[", "k", "]", "=", "ARG_BUILTIN_LANE_INDEX", ";", "else", "if", "(", "d", "->", "qualifiers", "[", "qualifiers_k", "]", "&", "qualifier_lane_pair_index", ")", "args", "[", "k", "]", "=", "ARG_BUILTIN_LANE_PAIR_INDEX", ";", "else", "if", "(", "d", "->", "qualifiers", "[", "qualifiers_k", "]", "&", "qualifier_struct_load_store_lane_index", ")", "args", "[", "k", "]", "=", "ARG_BUILTIN_STRUCT_LOAD_STORE_LANE_INDEX", ";", "else", "if", "(", "d", "->", "qualifiers", "[", "qualifiers_k", "]", "&", "qualifier_immediate", ")", "args", "[", "k", "]", "=", "ARG_BUILTIN_CONSTANT", ";", "else", "if", "(", "d", "->", "qualifiers", "[", "qualifiers_k", "]", "&", "qualifier_maybe_immediate", ")", "{", "rtx", "arg", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "(", "expr_args_k", ")", ")", ")", ";", "bool", "op_const_int_p", "=", "(", "CONST_INT_P", "(", "arg", ")", "&&", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "operands_k", "]", ".", "predicate", ")", "(", "arg", ",", "insn_data", "[", "icode", "]", ".", "operand", "[", "operands_k", "]", ".", "mode", ")", ")", ";", "args", "[", "k", "]", "=", "op_const_int_p", "?", "ARG_BUILTIN_CONSTANT", ":", "ARG_BUILTIN_COPY_TO_REG", ";", "}", "else", "if", "(", "d", "->", "qualifiers", "[", "qualifiers_k", "]", "&", "qualifier_pointer", ")", "{", "if", "(", "neon", ")", "args", "[", "k", "]", "=", "ARG_BUILTIN_NEON_MEMORY", ";", "else", "args", "[", "k", "]", "=", "ARG_BUILTIN_MEMORY", ";", "}", "else", "args", "[", "k", "]", "=", "ARG_BUILTIN_COPY_TO_REG", ";", "}", "args", "[", "k", "]", "=", "ARG_BUILTIN_STOP", ";", "return", "arm_expand_builtin_args", "(", "target", ",", "d", "->", "mode", ",", "fcode", ",", "icode", ",", "!", "is_void", ",", "exp", ",", "&", "args", "[", "1", "]", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "builtin", ".", "These", "builtins", "are", "``", "special", "''", "because", "they", "do", "n't", "have", "symbolic", "constants", "defined", "per-instruction", "or", "per", "instruction-variant", ".", "Instead", ",", "the", "required", "info", "is", "looked", "up", "in", "the", "ARM_BUILTIN_DATA", "record", "that", "is", "passed", "into", "the", "function", "."], "TS_V_token": ["arm", "1", "0", "1", "0", "1", "1", "1"], "File": "arm-builtins6", "Func": "arm_expand_builtin_1", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14095, "Length": 358, "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", "||", "mode", "==", "V4BFmode", "||", "mode", "==", "V8BFmode", ")", ")", "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", ";", "if", "(", "TARGET_HAVE_MVE", "&&", "(", "VALID_MVE_SI_MODE", "(", "mode", ")", "||", "VALID_MVE_PRED_MODE", "(", "mode", ")", ")", ")", "return", "true", ";", "if", "(", "TARGET_HAVE_MVE_FLOAT", "&&", "(", "mode", "==", "V2DFmode", "||", "mode", "==", "V4SFmode", "||", "mode", "==", "V8HFmode", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implements", "target", "hook", "vector_mode_supported_p", "."], "TS_V_token": ["arm"], "File": "arm1", "Func": "arm_vector_mode_supported_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14096, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "SparcRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "G1", ")", ";", "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::G1", "SP::G2", "SP::G3", "SP::G4", "SP::O6", "SP::I6", "SP::I7", "SP::G0", "SP::G5", "SP::G6", "SP::G7"], "File": "SparcRegisterInfo16", "Func": "getReservedRegs", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14097, "Length": 123, "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", "&&", "GET_CODE", "(", "XEXP", "(", "address", ",", "0", ")", ")", "==", "CODE_LABEL", ")", "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": "sh3", "Func": "sh_mark_label", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14098, "Length": 91, "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": 14099, "Length": 380, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "addPass", "(", "createMipsOptimizePICCallPass", "(", ")", ")", ";", "if", "(", "getMipsSubtarget", "(", ")", ".", "isCheri", "(", ")", ")", "{", "addPass", "(", "createCheriAddressingModeFolder", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "Level", "::", "None", ")", "addPass", "(", "&", "DeadMachineInstructionElimID", ")", ";", "addPass", "(", "createCheri128FailHardPass", "(", ")", ")", ";", "}", "}", ""], "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": "MipsTargetMachine55", "Func": "addPreRegAlloc", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14100, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "altivec_expand_st_builtin", "(", "tree", "exp", ",", "rtx", "target", "ATTRIBUTE_UNUSED", ",", "bool", "*", "expandedp", ")", "{", "tree", "fndecl", "=", "TREE_OPERAND", "(", "CALL_EXPR_FN", "(", "exp", ")", ",", "0", ")", ";", "unsigned", "int", "fcode", "=", "DECL_FUNCTION_CODE", "(", "fndecl", ")", ";", "tree", "arg0", ",", "arg1", ";", "machine_mode", "mode0", ",", "mode1", ";", "rtx", "pat", ",", "op0", ",", "op1", ";", "enum", "insn_code", "icode", ";", "switch", "(", "fcode", ")", "{", "case", "ALTIVEC_BUILTIN_ST_INTERNAL_16qi", ":", "icode", "=", "CODE_FOR_vector_altivec_store_v16qi", ";", "break", ";", "case", "ALTIVEC_BUILTIN_ST_INTERNAL_8hi", ":", "icode", "=", "CODE_FOR_vector_altivec_store_v8hi", ";", "break", ";", "case", "ALTIVEC_BUILTIN_ST_INTERNAL_4si", ":", "icode", "=", "CODE_FOR_vector_altivec_store_v4si", ";", "break", ";", "case", "ALTIVEC_BUILTIN_ST_INTERNAL_4sf", ":", "icode", "=", "CODE_FOR_vector_altivec_store_v4sf", ";", "break", ";", "case", "ALTIVEC_BUILTIN_ST_INTERNAL_2df", ":", "icode", "=", "CODE_FOR_vector_altivec_store_v2df", ";", "break", ";", "case", "ALTIVEC_BUILTIN_ST_INTERNAL_2di", ":", "icode", "=", "CODE_FOR_vector_altivec_store_v2di", ";", "break", ";", "case", "ALTIVEC_BUILTIN_ST_INTERNAL_1ti", ":", "icode", "=", "CODE_FOR_vector_altivec_store_v1ti", ";", "break", ";", "default", ":", "*", "expandedp", "=", "false", ";", "return", "NULL_RTX", ";", "}", "arg0", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "arg1", "=", "CALL_EXPR_ARG", "(", "exp", ",", "1", ")", ";", "op0", "=", "expand_normal", "(", "arg0", ")", ";", "op1", "=", "expand_normal", "(", "arg1", ")", ";", "mode0", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "mode", ";", "mode1", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "mode", ";", "if", "(", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "predicate", ")", "(", "op0", ",", "mode0", ")", ")", "op0", "=", "gen_rtx_MEM", "(", "mode0", ",", "copy_to_mode_reg", "(", "Pmode", ",", "op0", ")", ")", ";", "if", "(", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "predicate", ")", "(", "op1", ",", "mode1", ")", ")", "op1", "=", "copy_to_mode_reg", "(", "mode1", ",", "op1", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op0", ",", "op1", ")", ";", "if", "(", "pat", ")", "emit_insn", "(", "pat", ")", ";", "*", "expandedp", "=", "true", ";", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Expand", "the", "stvx", "builtins", "."], "TS_V_token": ["powerpcspe", "0", "0", "1", "0", "1", "0", "1"], "File": "powerpcspe", "Func": "altivec_expand_st_builtin", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14101, "Length": 297, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "doInitialization", "(", "Module", "&", "Mod", ")", "override", "{", "M", "=", "&", "Mod", ";", "TD", "=", "std", "::", "make_unique", "<", "DataLayout", ">", "(", "M", ")", ";", "SizeTy", "=", "IntegerType", "::", "get", "(", "M", "->", "getContext", "(", ")", ",", "TD", "->", "getIndexSizeInBits", "(", "200", ")", ")", ";", "CapPtrTy", "=", "PointerType", "::", "get", "(", "IntegerType", "::", "get", "(", "M", "->", "getContext", "(", ")", ",", "8", ")", ",", "200", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["Mips", "200", "8", "200"], "File": "CheriRangeChecker", "Func": "doInitialization", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14102, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "std", "::", "vector", "<", "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", ";", "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", ")", ".", "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", "X86::POP64r", "X86::POP32r", "0", "X86::GR64RegClass", "X86::GR32RegClass"], "File": "X86FrameLowering (2)2", "Func": "restoreCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14103, "Length": 337, "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", "(", ")", ";", "bundleCFG", "(", "MF", ")", ";", "StackTop", "=", "0", ";", "SmallPtrSet", "<", "MachineBasicBlock", "*", ",", "8", ">", "Processed", ";", "MachineBasicBlock", "*", "Entry", "=", "MF", ".", "begin", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "*", "BB", ":", "depth_first_ext", "(", "Entry", ",", "Processed", ")", ")", "Changed", "|=", "processBasicBlock", "(", "MF", ",", "*", "BB", ")", ";", "if", "(", "MF", ".", "size", "(", ")", "!=", "Processed", ".", "size", "(", ")", ")", "for", "(", "MachineFunction", "::", "iterator", "BB", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "BB", "!=", "E", ";", "++", "BB", ")", "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", "8"], "File": "X86FloatingPoint", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14104, "Length": 236, "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": 14105, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "APInt", "&", "KnownZero", ",", "APInt", "&", "KnownOne", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "unsigned", "BitWidth", "=", "KnownOne", ".", "getBitWidth", "(", ")", ";", "KnownZero", "=", "KnownOne", "=", "APInt", "(", "BitWidth", ",", "0", ")", ";", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ARMISD", "::", "ADDC", ":", "case", "ARMISD", "::", "ADDE", ":", "case", "ARMISD", "::", "SUBC", ":", "case", "ARMISD", "::", "SUBE", ":", "if", "(", "Op", ".", "getResNo", "(", ")", "==", "0", ")", "break", ";", "KnownZero", "|=", "APInt", "::", "getHighBitsSet", "(", "BitWidth", ",", "BitWidth", "-", "1", ")", ";", "break", ";", "case", "ARMISD", "::", "CMOV", ":", "{", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "0", ")", ",", "KnownZero", ",", "KnownOne", ",", "Depth", "+", "1", ")", ";", "if", "(", "KnownZero", "==", "0", "&&", "KnownOne", "==", "0", ")", "return", ";", "APInt", "KnownZeroRHS", ",", "KnownOneRHS", ";", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "1", ")", ",", "KnownZeroRHS", ",", "KnownOneRHS", ",", "Depth", "+", "1", ")", ";", "KnownZero", "&=", "KnownZeroRHS", ";", "KnownOne", "&=", "KnownOneRHS", ";", "return", ";", "}", "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", "::", "arm_ldaex", ":", "case", "Intrinsic", "::", "arm_ldrex", ":", "{", "EVT", "VT", "=", "cast", "<", "MemIntrinsicSDNode", ">", "(", "Op", ")", "->", "getMemoryVT", "(", ")", ";", "unsigned", "MemBits", "=", "VT", ".", "getScalarSizeInBits", "(", ")", ";", "KnownZero", "|=", "APInt", "::", "getHighBitsSet", "(", "BitWidth", ",", "BitWidth", "-", "MemBits", ")", ";", "return", ";", "}", "}", "}", "}", "}", ""], "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": ["ARM", "ARM", "0", "ARMISD::ADDC", "ARMISD::ADDE", "ARMISD::SUBC", "ARMISD::SUBE", "0", "1", "ARMISD::CMOV", "0", "1", "0", "0", "1", "1", "ISD::INTRINSIC_W_CHAIN", "1", "Intrinsic::ID", "Intrinsic::ID", "Intrinsic::arm_ldaex", "Intrinsic::arm_ldrex"], "File": "ARMISelLowering134", "Func": "computeKnownBitsForTargetNode", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14106, "Length": 287, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_hard_regno_mode_ok", "(", "int", "regno", ",", "machine_mode", "mode", ")", "{", "int", "last_regno", "=", "regno", "+", "rs6000_hard_regno_nregs", "[", "mode", "]", "[", "regno", "]", "-", "1", ";", "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", ")", "||", "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", "(", "SCALAR_FLOAT_MODE_P", "(", "mode", ")", "&&", "(", "mode", "!=", "TDmode", "||", "(", "regno", "%", "2", ")", "==", "0", ")", "&&", "FP_REGNO_P", "(", "last_regno", ")", ")", "return", "1", ";", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_INT", "&&", "GET_MODE_SIZE", "(", "mode", ")", "==", "UNITS_PER_FP_WORD", ")", "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": ["rs6000", "1", "1", "0", "16", "0", "2", "0", "1", "1", "1", "0", "1"], "File": "rs60004", "Func": "rs6000_hard_regno_mode_ok", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14107, "Length": 318, "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", ")", ";", "}", ""], "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"], "File": "rs60007", "Func": "toc_relative_expr_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14108, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "MCFixupKind", ">", "getFixupKind", "(", "StringRef", "Name", ")", "const", "override", "{", "return", "StringSwitch", "<", "Optional", "<", "MCFixupKind", ">>", "(", "Name", ")", ".", "Case", "(", "\"dir32\"", ",", "FK_Data_4", ")", ".", "Case", "(", "\"secrel32\"", ",", "FK_SecRel_4", ")", ".", "Case", "(", "\"secidx\"", ",", "FK_SecRel_2", ")", ".", "Default", "(", "MCAsmBackend", "::", "getFixupKind", "(", "Name", ")", ")", ";", "}", ""], "natrual_language": ["getFixupKind", "-", "Get", "the", "fixup", "kind", "of", "this", "expression", "."], "TS_V_token": ["X86", "\"dir32\"", "\"secrel32\"", "\"secidx\""], "File": "X86AsmBackend (2)", "Func": "getFixupKind", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14109, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_function_regparm", "(", "const_tree", "type", ",", "const_tree", "decl", ")", "{", "tree", "attr", ";", "int", "regparm", ";", "unsigned", "int", "ccvt", ";", "if", "(", "TARGET_64BIT", ")", "return", "(", "ix86_function_type_abi", "(", "type", ")", "==", "SYSV_ABI", "?", "X86_64_REGPARM_MAX", ":", "X86_64_MS_REGPARM_MAX", ")", ";", "ccvt", "=", "ix86_get_callcvt", "(", "type", ")", ";", "regparm", "=", "ix86_regparm", ";", "if", "(", "(", "ccvt", "&", "IX86_CALLCVT_REGPARM", ")", "!=", "0", ")", "{", "attr", "=", "lookup_attribute", "(", "\"regparm\"", ",", "TYPE_ATTRIBUTES", "(", "type", ")", ")", ";", "if", "(", "attr", ")", "{", "regparm", "=", "TREE_INT_CST_LOW", "(", "TREE_VALUE", "(", "TREE_VALUE", "(", "attr", ")", ")", ")", ";", "return", "regparm", ";", "}", "}", "else", "if", "(", "(", "ccvt", "&", "IX86_CALLCVT_FASTCALL", ")", "!=", "0", ")", "return", "2", ";", "else", "if", "(", "(", "ccvt", "&", "IX86_CALLCVT_THISCALL", ")", "!=", "0", ")", "return", "1", ";", "if", "(", "decl", "&&", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", ")", "{", "cgraph_node", "*", "target", "=", "cgraph_node", "::", "get", "(", "decl", ")", ";", "if", "(", "target", ")", "target", "=", "target", "->", "function_symbol", "(", ")", ";", "if", "(", "target", "&&", "opt_for_fn", "(", "target", "->", "decl", ",", "optimize", ")", "&&", "!", "(", "profile_flag", "&&", "!", "flag_fentry", ")", ")", "{", "cgraph_local_info", "*", "i", "=", "&", "target", "->", "local", ";", "if", "(", "i", "&&", "i", "->", "local", "&&", "i", "->", "can_change_signature", ")", "{", "int", "local_regparm", ",", "globals", "=", "0", ",", "regno", ";", "for", "(", "local_regparm", "=", "0", ";", "local_regparm", "<", "REGPARM_MAX", ";", "local_regparm", "++", ")", "if", "(", "fixed_regs", "[", "local_regparm", "]", ")", "break", ";", "if", "(", "local_regparm", "==", "3", "&&", "DECL_STATIC_CHAIN", "(", "target", "->", "decl", ")", ")", "local_regparm", "=", "2", ";", "if", "(", "local_regparm", "==", "3", "&&", "flag_split_stack", ")", "local_regparm", "=", "2", ";", "for", "(", "regno", "=", "AX_REG", ";", "regno", "<=", "DI_REG", ";", "regno", "++", ")", "if", "(", "fixed_regs", "[", "regno", "]", ")", "globals", "++", ";", "local_regparm", "=", "globals", "<", "local_regparm", "?", "local_regparm", "-", "globals", ":", "0", ";", "if", "(", "local_regparm", ">", "regparm", ")", "regparm", "=", "local_regparm", ";", "}", "}", "}", "return", "regparm", ";", "}", ""], "natrual_language": ["Return", "the", "regparm", "value", "for", "a", "function", "with", "the", "indicated", "TYPE", "and", "DECL", ".", "DECL", "may", "be", "NULL", "when", "calling", "function", "indirectly", "or", "considering", "a", "libcall", "."], "TS_V_token": ["i386", "0", "\"regparm\"", "0", "2", "0", "1", "0", "0", "3", "2", "3", "2", "0"], "File": "i3864", "Func": "ix86_function_regparm", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14110, "Length": 315, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "csky_valid_fpuv2_mem_operand", "(", "rtx", "op", ")", "{", "struct", "csky_address", "addr", ";", "if", "(", "GET_CODE", "(", "op", ")", "!=", "MEM", ")", "return", "false", ";", "if", "(", "!", "decompose_csky_address", "(", "XEXP", "(", "op", ",", "0", ")", ",", "&", "addr", ")", ")", "return", "false", ";", "if", "(", "!", "is_csky_address_register_rtx_p", "(", "addr", ".", "base", ",", "0", ")", ")", "return", "false", ";", "if", "(", "addr", ".", "index", ")", "{", "if", "(", "!", "is_csky_address_register_rtx_p", "(", "addr", ".", "index", ",", "0", ")", ")", "return", "false", ";", "if", "(", "addr", ".", "scale", "==", "1", "||", "addr", ".", "scale", "==", "2", "||", "addr", ".", "scale", "==", "4", "||", "addr", ".", "scale", "==", "8", ")", "return", "true", ";", "return", "false", ";", "}", "else", "if", "(", "addr", ".", "disp", ")", "{", "rtx", "disp", "=", "addr", ".", "disp", ";", "if", "(", "!", "CONST_INT_P", "(", "disp", ")", ")", "return", "false", ";", "if", "(", "(", "(", "unsigned", ")", "INTVAL", "(", "disp", ")", "%", "4", ")", "==", "0", "&&", "(", "unsigned", ")", "INTVAL", "(", "disp", ")", "<=", "(", "unsigned", ")", "1020", ")", "return", "true", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Support", "for", "the", "Q", "memory", "constraint", ".", "Returns", "true", "if", "OP", "is", "a", "MEM", "RTX", "with", "an", "address", "consisting", "of", "base", "+", "index", "or", "base", "+", "displacement", "."], "TS_V_token": ["csky", "0", "0", "0", "1", "2", "4", "8", "4", "0", "1020"], "File": "csky", "Func": "csky_valid_fpuv2_mem_operand", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14111, "Length": 178, "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": 14112, "Length": 434, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mark_constant_pool_use", "(", "rtx", "x", ")", "{", "if", "(", "x", "==", "NULL_RTX", ")", "return", "x", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "LABEL_REF", ":", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "case", "CODE_LABEL", ":", "break", ";", "default", ":", "return", "x", ";", "}", "rtx_insn", "*", "lab", "=", "as_a", "<", "rtx_insn", "*", ">", "(", "x", ")", ";", "for", "(", "rtx_insn", "*", "insn", "=", "PREV_INSN", "(", "lab", ")", ";", "insn", ";", "insn", "=", "PREV_INSN", "(", "insn", ")", ")", "{", "if", "(", "!", "LABEL_P", "(", "insn", ")", "||", "LABEL_REFS", "(", "insn", ")", "!=", "NEXT_INSN", "(", "insn", ")", ")", "break", ";", "lab", "=", "insn", ";", "}", "for", "(", "rtx", "insn", "=", "LABEL_REFS", "(", "lab", ")", ";", "insn", ";", "insn", "=", "LABEL_REFS", "(", "insn", ")", ")", "as_a", "<", "rtx_insn", "*", ">", "(", "insn", ")", "->", "set_deleted", "(", ")", ";", "for", "(", "rtx_insn", "*", "insn", "=", "NEXT_INSN", "(", "as_a", "<", "rtx_insn", "*", ">", "(", "x", ")", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "if", "(", "!", "NONJUMP_INSN_P", "(", "insn", ")", ")", "continue", ";", "rtx", "pattern", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pattern", ")", "!=", "UNSPEC_VOLATILE", ")", "continue", ";", "switch", "(", "XINT", "(", "pattern", ",", "1", ")", ")", "{", "case", "UNSPECV_CONST2", ":", "case", "UNSPECV_CONST4", ":", "case", "UNSPECV_CONST8", ":", "XVECEXP", "(", "pattern", ",", "0", ",", "1", ")", "=", "const1_rtx", ";", "break", ";", "case", "UNSPECV_WINDOW_END", ":", "if", "(", "XVECEXP", "(", "pattern", ",", "0", ",", "0", ")", "==", "x", ")", "return", "lab", ";", "break", ";", "case", "UNSPECV_CONST_END", ":", "return", "lab", ";", "default", ":", "break", ";", "}", "}", "return", "lab", ";", "}", ""], "natrual_language": ["Mark", "the", "use", "of", "a", "constant", "in", "the", "literal", "table", ".", "If", "the", "constant", "has", "multiple", "labels", ",", "make", "it", "unique", "."], "TS_V_token": ["sh", "0", "1", "0", "1", "0", "0"], "File": "sh", "Func": "mark_constant_pool_use", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14113, "Length": 265, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_veclibabi_acml", "(", "combined_fn", "fn", ",", "tree", "type_out", ",", "tree", "type_in", ")", "{", "char", "name", "[", "20", "]", "=", "\"__vr.._\"", ";", "tree", "fntype", ",", "new_fndecl", ",", "args", ";", "unsigned", "arity", ";", "const", "char", "*", "bname", ";", "machine_mode", "el_mode", ",", "in_mode", ";", "int", "n", ",", "in_n", ";", "if", "(", "!", "TARGET_64BIT", "||", "!", "flag_unsafe_math_optimizations", ")", "return", "NULL_TREE", ";", "el_mode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "type_out", ")", ")", ";", "n", "=", "TYPE_VECTOR_SUBPARTS", "(", "type_out", ")", ";", "in_mode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "type_in", ")", ")", ";", "in_n", "=", "TYPE_VECTOR_SUBPARTS", "(", "type_in", ")", ";", "if", "(", "el_mode", "!=", "in_mode", "||", "n", "!=", "in_n", ")", "return", "NULL_TREE", ";", "switch", "(", "fn", ")", "{", "CASE_CFN_SIN", ":", "CASE_CFN_COS", ":", "CASE_CFN_EXP", ":", "CASE_CFN_LOG", ":", "CASE_CFN_LOG2", ":", "CASE_CFN_LOG10", ":", "if", "(", "el_mode", "==", "DFmode", "&&", "n", "==", "2", ")", "{", "name", "[", "4", "]", "=", "'d'", ";", "name", "[", "5", "]", "=", "'2'", ";", "}", "else", "if", "(", "el_mode", "==", "SFmode", "&&", "n", "==", "4", ")", "{", "name", "[", "4", "]", "=", "'s'", ";", "name", "[", "5", "]", "=", "'4'", ";", "}", "else", "return", "NULL_TREE", ";", "break", ";", "default", ":", "return", "NULL_TREE", ";", "}", "tree", "fndecl", "=", "mathfn_built_in", "(", "TREE_TYPE", "(", "type_in", ")", ",", "fn", ")", ";", "bname", "=", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "fndecl", ")", ")", ";", "sprintf", "(", "name", "+", "7", ",", "\"%s\"", ",", "bname", "+", "10", ")", ";", "arity", "=", "0", ";", "for", "(", "args", "=", "DECL_ARGUMENTS", "(", "fndecl", ")", ";", "args", ";", "args", "=", "TREE_CHAIN", "(", "args", ")", ")", "arity", "++", ";", "if", "(", "arity", "==", "1", ")", "fntype", "=", "build_function_type_list", "(", "type_out", ",", "type_in", ",", "NULL", ")", ";", "else", "fntype", "=", "build_function_type_list", "(", "type_out", ",", "type_in", ",", "type_in", ",", "NULL", ")", ";", "new_fndecl", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FUNCTION_DECL", ",", "get_identifier", "(", "name", ")", ",", "fntype", ")", ";", "TREE_PUBLIC", "(", "new_fndecl", ")", "=", "1", ";", "DECL_EXTERNAL", "(", "new_fndecl", ")", "=", "1", ";", "DECL_IS_NOVOPS", "(", "new_fndecl", ")", "=", "1", ";", "TREE_READONLY", "(", "new_fndecl", ")", "=", "1", ";", "return", "new_fndecl", ";", "}", ""], "natrual_language": ["Handler", "for", "an", "ACML-style", "interface", "to", "a", "library", "with", "vectorized", "intrinsics", "."], "TS_V_token": ["i386", "20", "\"__vr.._\"", "2", "4", "5", "4", "4", "5", "7", "\"%s\"", "10", "0", "1", "1", "1", "1", "1"], "File": "i3865", "Func": "ix86_veclibabi_acml", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14114, "Length": 327, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "pa_output_addr_vec", "(", "rtx", "lab", ",", "rtx", "body", ")", "{", "int", "idx", ",", "vlen", "=", "XVECLEN", "(", "body", ",", "0", ")", ";", "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", "\"L\"", "\"\\t.begin_brtab\\n\"", "0", "0", "0", "\"\\t.end_brtab\\n\""], "File": "pa5", "Func": "pa_output_addr_vec", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14115, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isLegalAddImmediate", "(", "int64_t", "Immed", ")", "const", "{", "return", "(", "(", "Immed", ">>", "12", ")", "==", "0", "||", "(", "(", "Immed", "&", "0xfff", ")", "==", "0", "&&", "Immed", ">>", "24", "==", "0", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "immediate", "is", "legal", "add", "immediate", ",", "that", "is", "the", "target", "has", "add", "instructions", "which", "can", "add", "a", "register", "and", "the", "immediate", "without", "having", "to", "materialize", "the", "immediate", "into", "a", "register", "."], "TS_V_token": ["AArch64", "AArch64", "12", "0", "0xfff", "0", "24", "0"], "File": "AArch64ISelLowering102", "Func": "isLegalAddImmediate", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14116, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "isPredicable", "(", "MachineInstr", "*", "MI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", "->", "getOpcode", "(", ")", ";", "return", "STI", ".", "hasLoadStoreOnCond", "(", ")", "&&", "getConditionalMove", "(", "Opcode", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "instruction", "can", "be", "predicated", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZInstrInfo47", "Func": "isPredicable", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14117, "Length": 33, "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", "(", "MI", "!=", "MBB", ".", "end", "(", ")", "&&", "isFuncletReturnInstr", "(", "*", "MI", ")", "&&", "STI", ".", "isOSWindows", "(", ")", ")", "{", "if", "(", "STI", ".", "is32Bit", "(", ")", ")", "return", "true", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "X86", "::", "CATCHRET", ")", "{", "const", "Function", "*", "Func", "=", "MBB", ".", "getParent", "(", ")", "->", "getFunction", "(", ")", ";", "bool", "IsSEH", "=", "isAsynchronousEHPersonality", "(", "classifyEHPersonality", "(", "Func", "->", "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", ";", "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", ")", ".", "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", "X86::POP64r", "X86::POP32r", "0", "X86::GR64RegClass", "X86::GR32RegClass"], "File": "X86FrameLowering102", "Func": "restoreCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14118, "Length": 338, "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", "::", "VLD1q64Pseudo", ":", "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::VLD1q64Pseudo", "1", "0", "0", "1", "0", "ARM::VLDMQIA", "1", "0", "0", "1", "0", "0"], "File": "ARMBaseInstrInfo108", "Func": "isLoadFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14119, "Length": 345, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseInstrInfo", "::", "removeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "int", "*", "BytesRemoved", ")", "const", "{", "assert", "(", "!", "BytesRemoved", "&&", "\"code size not handled\"", ")", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "end", "(", ")", ")", "return", "0", ";", "if", "(", "!", "isUncondBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", "&&", "!", "isCondBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "return", "0", ";", "I", "->", "eraseFromParent", "(", ")", ";", "I", "=", "MBB", ".", "end", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", ")", "return", "1", ";", "--", "I", ";", "if", "(", "!", "isCondBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "return", "1", ";", "I", "->", "eraseFromParent", "(", ")", ";", "return", "2", ";", "}", ""], "natrual_language": ["Remove", "the", "branching", "code", "at", "the", "end", "of", "the", "specific", "MBB", "."], "TS_V_token": ["ARM", "ARM", "\"code size not handled\"", "0", "0", "1", "1", "2"], "File": "ARMBaseInstrInfo1", "Func": "removeBranch", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14120, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_issue_rate", "(", ")", "{", "switch", "(", "rs6000_cpu_attr", ")", "{", "case", "CPU_RIOS1", ":", "case", "CPU_RS64A", ":", "case", "CPU_PPC601", ":", "case", "CPU_PPC7450", ":", "return", "3", ";", "case", "CPU_PPC603", ":", "case", "CPU_PPC750", ":", "case", "CPU_PPC7400", ":", "return", "2", ";", "case", "CPU_RIOS2", ":", "case", "CPU_PPC604", ":", "case", "CPU_PPC604E", ":", "case", "CPU_PPC620", ":", "case", "CPU_PPC630", ":", "return", "4", ";", "default", ":", "return", "1", ";", "}", "}", ""], "natrual_language": ["Return", "how", "many", "instructions", "the", "machine", "can", "issue", "per", "cycle", "."], "TS_V_token": ["rs6000", "3", "2", "4", "1"], "File": "rs60002", "Func": "rs6000_issue_rate", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14121, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "ARMBaseRegisterInfo", "::", "getCrossCopyRegClass", "(", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "if", "(", "RC", "==", "&", "ARM", "::", "CCRRegClass", ")", "return", "0", ";", "return", "RC", ";", "}", ""], "natrual_language": ["getCrossCopyRegClass", "-", "Returns", "a", "legal", "register", "class", "to", "copy", "a", "register", "in", "the", "specified", "class", "to", "or", "from", "."], "TS_V_token": ["ARM", "ARM", "ARM::CCRRegClass", "0"], "File": "ARMBaseRegisterInfo1", "Func": "getCrossCopyRegClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14122, "Length": 30, "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": 14123, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "SparcMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "SparcMachineFunctionInfo", ">", "(", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "SparcInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "SparcInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "int", "NumBytes", "=", "(", "int", ")", "MFI", "->", "getStackSize", "(", ")", ";", "unsigned", "SAVEri", "=", "SP", "::", "SAVEri", ";", "unsigned", "SAVErr", "=", "SP", "::", "SAVErr", ";", "if", "(", "FuncInfo", "->", "isLeafProc", "(", ")", ")", "{", "if", "(", "NumBytes", "==", "0", ")", "return", ";", "SAVEri", "=", "SP", "::", "ADDri", ";", "SAVErr", "=", "SP", "::", "ADDrr", ";", "}", "NumBytes", "=", "-", "SubTarget", ".", "getAdjustedFrameSize", "(", "NumBytes", ")", ";", "emitSPAdjustment", "(", "MF", ",", "MBB", ",", "MBBI", ",", "NumBytes", ",", "SAVErr", ",", "SAVEri", ")", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "MCRegisterInfo", "*", "MRI", "=", "MMI", ".", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "regFP", "=", "MRI", "->", "getDwarfRegNum", "(", "SP", "::", "I6", ",", "true", ")", ";", "unsigned", "CFIIndex", "=", "MMI", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createDefCfaRegister", "(", "nullptr", ",", "regFP", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "CFIIndex", "=", "MMI", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createWindowSave", "(", "nullptr", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "unsigned", "regInRA", "=", "MRI", "->", "getDwarfRegNum", "(", "SP", "::", "I7", ",", "true", ")", ";", "unsigned", "regOutRA", "=", "MRI", "->", "getDwarfRegNum", "(", "SP", "::", "O7", ",", "true", ")", ";", "CFIIndex", "=", "MMI", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createRegister", "(", "nullptr", ",", "regOutRA", ",", "regInRA", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "SP::SAVEri", "SP::SAVErr", "0", "SP::ADDri", "SP::ADDrr", "SP", "SP::I6", "SP::CFI_INSTRUCTION", "SP::CFI_INSTRUCTION", "SP::I7", "SP::O7", "SP::CFI_INSTRUCTION"], "File": "SparcFrameLowering26", "Func": "emitPrologue", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14124, "Length": 367, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "isCoalescableExtInstr", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "&", "SrcReg", ",", "unsigned", "&", "DstReg", ",", "unsigned", "&", "SubIdx", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "PPC", "::", "EXTSW", ":", "case", "PPC", "::", "EXTSW_32_64", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "DstReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SubIdx", "=", "PPC", "::", "sub_32", ";", "return", "true", ";", "}", "}", ""], "natrual_language": ["isCoalescableExtInstr", "-", "Return", "true", "if", "the", "instruction", "is", "a", "``", "coalescable", "''", "extension", "instruction", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::EXTSW", "PPC::EXTSW_32_64", "1", "0", "PPC::sub_32"], "File": "PPCInstrInfo (2)", "Func": "isCoalescableExtInstr", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14125, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "IA64RegisterInfo", "::", "getRARegister", "(", ")", "const", "{", "assert", "(", "0", "&&", "\"What is the return address register\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["This", "method", "should", "return", "the", "register", "where", "the", "return", "address", "can", "be", "found", "."], "TS_V_token": ["IA64", "IA64", "0", "\"What is the return address register\"", "0"], "File": "IA64RegisterInfo", "Func": "getRARegister", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14126, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "do_isel", "(", "rtx", "dest", ",", "rtx", "cmp", ",", "rtx", "src_t", ",", "rtx", "src_f", ",", "rtx", "cr", ")", "{", "if", "(", "GET_MODE", "(", "dest", ")", "==", "DImode", ")", "emit_insn", "(", "gen_isel_signed_di", "(", "dest", ",", "cmp", ",", "src_t", ",", "src_f", ",", "cr", ")", ")", ";", "else", "emit_insn", "(", "gen_isel_signed_si", "(", "dest", ",", "cmp", ",", "src_t", ",", "src_f", ",", "cr", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "isel", "of", "the", "proper", "mode", "for", "DEST", ".", "DEST", "is", "the", "isel", "destination", "register", ".", "SRC1", "is", "the", "isel", "source", "if", "CR", "is", "true", ".", "SRC2", "is", "the", "isel", "source", "if", "CR", "is", "false", ".", "CR", "is", "the", "condition", "for", "the", "isel", "."], "TS_V_token": ["rs6000"], "File": "rs6000-string", "Func": "do_isel", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14127, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARM64_ELFTargetObjectFile", "::", "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": ["ARM64", "ARM64"], "File": "ARM64TargetObjectFile", "Func": "Initialize", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14128, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsTargetLowering", "::", "getNumRegistersForCallingConv", "(", "LLVMContext", "&", "Context", ",", "CallingConv", "::", "ID", "CC", ",", "EVT", "VT", ")", "const", "{", "if", "(", "VT", ".", "isVector", "(", ")", ")", "return", "std", "::", "max", "(", "(", "(", "unsigned", ")", "VT", ".", "getSizeInBits", "(", ")", "/", "(", "Subtarget", ".", "isABI_O32", "(", ")", "?", "32", ":", "64", ")", ")", ",", "1U", ")", ";", "return", "MipsTargetLowering", "::", "getNumRegisters", "(", "Context", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Certain", "targets", "require", "unusual", "breakdowns", "of", "certain", "types", "."], "TS_V_token": ["Mips", "Mips", "32", "64", "1U", "Mips"], "File": "MipsISelLowering (2)4", "Func": "getNumRegistersForCallingConv", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14129, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "OR1KInstrInfo", "*", "getInstrInfo", "(", ")", "{", "return", "getTargetMachine", "(", ")", ".", "getInstrInfo", "(", ")", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["OR1K", "OR1K"], "File": "OR1KISelDAGToDAG", "Func": "getInstrInfo", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14130, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "insn_uses_reg_p", "(", "rtx_insn", "*", "insn", ",", "unsigned", "int", "reg", ")", "{", "extract_insn", "(", "insn", ")", ";", "return", "(", "(", "REG_P", "(", "recog_data", ".", "operand", "[", "1", "]", ")", "&&", "REGNO", "(", "recog_data", ".", "operand", "[", "1", "]", ")", "==", "reg", ")", "||", "(", "recog_data", ".", "n_operands", "==", "3", "&&", "REG_P", "(", "recog_data", ".", "operand", "[", "2", "]", ")", "&&", "REGNO", "(", "recog_data", ".", "operand", "[", "2", "]", ")", "==", "reg", ")", ")", ";", "}", ""], "natrual_language": ["True", "if", "any", "of", "INSN", "'s", "source", "register", "(", "s", ")", "is", "REG", "."], "TS_V_token": ["sparc", "1", "1", "3", "2", "2"], "File": "sparc", "Func": "insn_uses_reg_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14131, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Sparc", "::", "Fixups", "SparcMCExpr", "::", "getFixupKind", "(", "SparcMCExpr", "::", "VariantKind", "Kind", ")", "{", "switch", "(", "Kind", ")", "{", "default", ":", "assert", "(", "0", "&&", "\"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_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_WPLT30", ":", "return", "Sparc", "::", "fixup_sparc_wplt30", ";", "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", "0", "\"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_pc22", "Sparc", "Sparc::fixup_sparc_pc10", "Sparc", "Sparc::fixup_sparc_got22", "Sparc", "Sparc::fixup_sparc_got10", "Sparc", "Sparc::fixup_sparc_wplt30", "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": "SparcMCExpr1", "Func": "getFixupKind", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14132, "Length": 269, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCELFStreamer", "&", "VETargetELFStreamer", "::", "getStreamer", "(", ")", "{", "return", "static_cast", "<", "MCELFStreamer", "&", ">", "(", "Streamer", ")", ";", "}", ""], "natrual_language": ["Return", "the", "output", "streamer", "for", "the", "assembler", "."], "TS_V_token": ["VE", "VE"], "File": "VETargetStreamer", "Func": "getStreamer", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14133, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "X86Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "const", "X86RegisterInfo", "&", "RegInfo", "=", "*", "STI", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "StackPtr", "=", "RegInfo", ".", "getStackRegister", "(", ")", ";", "bool", "reserveCallFrame", "=", "hasReservedCallFrame", "(", "MF", ")", ";", "int", "Opcode", "=", "I", "->", "getOpcode", "(", ")", ";", "bool", "isDestroy", "=", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ";", "const", "bool", "Uses64BitStackPtr", "=", "STI", ".", "isTarget64BitLP64", "(", ")", "||", "STI", ".", "isTargetNaCl64", "(", ")", ";", "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", ")", ";", "MachineInstr", "*", "New", "=", "nullptr", ";", "Amount", "-=", "InternalAmt", ";", "if", "(", "Amount", ")", "{", "if", "(", "Opcode", "==", "TII", ".", "getCallFrameSetupOpcode", "(", ")", ")", "{", "New", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "getSUBriOpcode", "(", "Uses64BitStackPtr", ",", "Amount", ")", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ")", ";", "unsigned", "Opc", "=", "getADDriOpcode", "(", "Uses64BitStackPtr", ",", "Amount", ")", ";", "New", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "}", "if", "(", "New", ")", "{", "New", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "return", ";", "}", "if", "(", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", "&&", "InternalAmt", ")", "{", "unsigned", "Opc", "=", "getSUBriOpcode", "(", "Uses64BitStackPtr", ",", "InternalAmt", ")", ";", "MachineInstr", "*", "New", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "InternalAmt", ")", ";", "New", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "B", "=", "MBB", ".", "begin", "(", ")", ";", "while", "(", "I", "!=", "B", "&&", "!", "std", "::", "prev", "(", "I", ")", "->", "isCall", "(", ")", ")", "--", "I", ";", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "}", ""], "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", "X86", "X86", "X86", "0", "0", "1", "0", "0", "3", "3"], "File": "X86FrameLowering109", "Func": "eliminateCallFramePseudoInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14134, "Length": 449, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "getInsertSubregLikeInputs", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "DefIdx", ",", "RegSubRegPair", "&", "BaseReg", ",", "RegSubRegPairAndIdx", "&", "InsertedReg", ")", "const", "{", "assert", "(", "DefIdx", "<", "MI", ".", "getDesc", "(", ")", ".", "getNumDefs", "(", ")", "&&", "\"Invalid definition index\"", ")", ";", "assert", "(", "MI", ".", "isInsertSubregLike", "(", ")", "&&", "\"Invalid kind of instruction\"", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "ARM", "::", "VSETLNi32", ":", "const", "MachineOperand", "&", "MOBaseReg", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "const", "MachineOperand", "&", "MOInsertedReg", "=", "MI", ".", "getOperand", "(", "2", ")", ";", "if", "(", "MOInsertedReg", ".", "isUndef", "(", ")", ")", "return", "false", ";", "const", "MachineOperand", "&", "MOIndex", "=", "MI", ".", "getOperand", "(", "3", ")", ";", "BaseReg", ".", "Reg", "=", "MOBaseReg", ".", "getReg", "(", ")", ";", "BaseReg", ".", "SubReg", "=", "MOBaseReg", ".", "getSubReg", "(", ")", ";", "InsertedReg", ".", "Reg", "=", "MOInsertedReg", ".", "getReg", "(", ")", ";", "InsertedReg", ".", "SubReg", "=", "MOInsertedReg", ".", "getSubReg", "(", ")", ";", "InsertedReg", ".", "SubIdx", "=", "MOIndex", ".", "getImm", "(", ")", "==", "0", "?", "ARM", "::", "ssub_0", ":", "ARM", "::", "ssub_1", ";", "return", "true", ";", "}", "llvm_unreachable", "(", "\"Target dependent opcode missing\"", ")", ";", "}", ""], "natrual_language": ["Target-dependent", "implementation", "of", "getInsertSubregInputs", "."], "TS_V_token": ["ARM", "ARM", "\"Invalid definition index\"", "\"Invalid kind of instruction\"", "ARM::VSETLNi32", "1", "2", "3", "0", "ARM::ssub_0", "ARM::ssub_1", "\"Target dependent opcode missing\""], "File": "ARMBaseInstrInfo1", "Func": "getInsertSubregLikeInputs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14135, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mmix_override_options", "(", ")", "{", "if", "(", "flag_pic", ")", "{", "warning", "(", "\"-f%s not supported: ignored\"", ",", "(", "flag_pic", ">", "1", ")", "?", "\"PIC\"", ":", "\"pic\"", ")", ";", "flag_pic", "=", "0", ";", "}", "ggc_add_rtx_root", "(", "&", "mmix_compare_op0", ",", "1", ")", ";", "ggc_add_rtx_root", "(", "&", "mmix_compare_op1", ",", "1", ")", ";", "}", ""], "natrual_language": ["OVERRIDE_OPTIONS", "."], "TS_V_token": ["mmix", "\"-f%s not supported: ignored\"", "1", "\"PIC\"", "\"pic\"", "0", "1", "1"], "File": "mmix2", "Func": "mmix_override_options", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14136, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "find_drap_reg", "(", "void", ")", "{", "tree", "decl", "=", "cfun", "->", "decl", ";", "if", "(", "TARGET_64BIT", ")", "{", "if", "(", "DECL_STATIC_CHAIN", "(", "decl", ")", "||", "crtl", "->", "tail_call_emit", ")", "return", "R13_REG", ";", "return", "R10_REG", ";", "}", "else", "{", "if", "(", "DECL_STATIC_CHAIN", "(", "decl", ")", "||", "crtl", "->", "tail_call_emit", ")", "return", "DI_REG", ";", "if", "(", "ix86_function_regparm", "(", "TREE_TYPE", "(", "decl", ")", ",", "decl", ")", "<=", "2", ")", "{", "unsigned", "int", "ccvt", "=", "ix86_get_callcvt", "(", "TREE_TYPE", "(", "decl", ")", ")", ";", "if", "(", "(", "ccvt", "&", "(", "IX86_CALLCVT_FASTCALL", "|", "IX86_CALLCVT_THISCALL", ")", ")", "==", "0", ")", "return", "CX_REG", ";", "}", "return", "DI_REG", ";", "}", "}", ""], "natrual_language": ["Find", "an", "available", "register", "to", "be", "used", "as", "dynamic", "realign", "argument", "pointer", "regsiter", ".", "Such", "a", "register", "will", "be", "written", "in", "prologue", "and", "used", "in", "begin", "of", "body", ",", "so", "it", "must", "not", "be", "1.", "parameter", "passing", "register", ".", "2", ".", "GOT", "pointer", ".", "We", "reuse", "static-chain", "register", "if", "it", "is", "available", ".", "Otherwise", ",", "we", "use", "DI", "for", "i386", "and", "R13", "for", "x86-64", ".", "We", "chose", "R13", "since", "it", "has", "shorter", "encoding", ".", "Return", ":", "the", "regno", "of", "chosen", "register", "."], "TS_V_token": ["i386", "2", "0"], "File": "i3864", "Func": "find_drap_reg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14137, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitInst", "(", "uint32_t", "Inst", ")", "{", "char", "Buffer", "[", "4", "]", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "4", ";", "++", "I", ")", "{", "Buffer", "[", "I", "]", "=", "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", "0", "4", "8", "4"], "File": "AArch64ELFStreamer27", "Func": "emitInst", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14138, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmBackend", "::", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "static", "const", "uint8_t", "Nops", "[", "10", "]", "[", "10", "]", "=", "{", "{", "0x90", "}", ",", "{", "0x66", ",", "0x90", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x40", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x44", ",", "0x00", ",", "0x00", "}", ",", "{", "0x66", ",", "0x0f", ",", "0x1f", ",", "0x44", ",", "0x00", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x80", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x84", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "{", "0x66", ",", "0x0f", ",", "0x1f", ",", "0x84", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "{", "0x66", ",", "0x2e", ",", "0x0f", ",", "0x1f", ",", "0x84", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "}", ";", "if", "(", "CPU", "==", "\"geode\"", ")", "{", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "<", "Count", ";", "++", "i", ")", "OW", "->", "Write8", "(", "0x90", ")", ";", "return", "true", ";", "}", "const", "uint64_t", "OptimalCount", "=", "(", "Count", "<", "16", ")", "?", "Count", ":", "15", ";", "const", "uint64_t", "Prefixes", "=", "OptimalCount", "<=", "10", "?", "0", ":", "OptimalCount", "-", "10", ";", "for", "(", "uint64_t", "i", "=", "0", ",", "e", "=", "Prefixes", ";", "i", "!=", "e", ";", "i", "++", ")", "OW", "->", "Write8", "(", "0x66", ")", ";", "const", "uint64_t", "Rest", "=", "OptimalCount", "-", "Prefixes", ";", "for", "(", "uint64_t", "i", "=", "0", ",", "e", "=", "Rest", ";", "i", "!=", "e", ";", "i", "++", ")", "OW", "->", "Write8", "(", "Nops", "[", "Rest", "-", "1", "]", "[", "i", "]", ")", ";", "for", "(", "uint64_t", "i", "=", "OptimalCount", ",", "e", "=", "Count", ";", "i", "!=", "e", ";", "++", "i", ")", "OW", "->", "Write8", "(", "0x90", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["X86", "X86", "10", "10", "0x90", "0x66", "0x90", "0x0f", "0x1f", "0x00", "0x0f", "0x1f", "0x40", "0x00", "0x0f", "0x1f", "0x44", "0x00", "0x00", "0x66", "0x0f", "0x1f", "0x44", "0x00", "0x00", "0x0f", "0x1f", "0x80", "0x00", "0x00", "0x00", "0x00", "0x0f", "0x1f", "0x84", "0x00", "0x00", "0x00", "0x00", "0x00", "0x66", "0x0f", "0x1f", "0x84", "0x00", "0x00", "0x00", "0x00", "0x00", "0x66", "0x2e", "0x0f", "0x1f", "0x84", "0x00", "0x00", "0x00", "0x00", "0x00", "\"geode\"", "0", "0x90", "16", "15", "10", "0", "10", "0", "0x66", "0", "1", "0x90"], "File": "X86AsmBackend45", "Func": "writeNopData", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14139, "Length": 313, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "SystemZ", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["SystemZ", "SystemZ::NumTargetFixupKinds"], "File": "SystemZMCAsmBackend", "Func": "getNumFixupKinds", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14140, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "expand_vec_perm_pblendv", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "i", ",", "which", ",", "nelt", "=", "d", "->", "nelt", ";", "struct", "expand_vec_perm_d", "dcopy", ",", "dcopy1", ";", "machine_mode", "vmode", "=", "d", "->", "vmode", ";", "bool", "ok", ";", "if", "(", "d", "->", "one_operand_p", ")", "return", "false", ";", "if", "(", "TARGET_AVX2", "&&", "GET_MODE_SIZE", "(", "vmode", ")", "==", "32", ")", ";", "else", "if", "(", "TARGET_AVX", "&&", "(", "vmode", "==", "V4DFmode", "||", "vmode", "==", "V8SFmode", ")", ")", ";", "else", "if", "(", "TARGET_SSE4_1", "&&", "(", "GET_MODE_SIZE", "(", "vmode", ")", "==", "4", "||", "GET_MODE_SIZE", "(", "vmode", ")", "==", "8", "||", "GET_MODE_SIZE", "(", "vmode", ")", "==", "16", ")", ")", ";", "else", "return", "false", ";", "for", "(", "i", "=", "0", ",", "which", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "{", "unsigned", "e", "=", "d", "->", "perm", "[", "i", "]", ";", "if", "(", "e", "!=", "i", ")", "which", "|=", "(", "e", "<", "nelt", "?", "1", ":", "2", ")", ";", "}", "if", "(", "which", "!=", "1", "&&", "which", "!=", "2", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", "&&", "GET_MODE_SIZE", "(", "vmode", ")", "==", "16", ")", "return", "true", ";", "dcopy", "=", "*", "d", ";", "if", "(", "which", "==", "2", ")", "dcopy", ".", "op0", "=", "dcopy", ".", "op1", "=", "d", "->", "op1", ";", "else", "dcopy", ".", "op0", "=", "dcopy", ".", "op1", "=", "d", "->", "op0", ";", "if", "(", "!", "d", "->", "testing_p", ")", "dcopy", ".", "target", "=", "gen_reg_rtx", "(", "vmode", ")", ";", "dcopy", ".", "one_operand_p", "=", "true", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "dcopy", ".", "perm", "[", "i", "]", "=", "d", "->", "perm", "[", "i", "]", "&", "(", "nelt", "-", "1", ")", ";", "ok", "=", "expand_vec_perm_1", "(", "&", "dcopy", ")", ";", "if", "(", "GET_MODE_SIZE", "(", "vmode", ")", "!=", "16", "&&", "!", "ok", ")", "return", "false", ";", "else", "gcc_assert", "(", "ok", ")", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "dcopy1", "=", "*", "d", ";", "if", "(", "which", "==", "2", ")", "dcopy1", ".", "op1", "=", "dcopy", ".", "target", ";", "else", "dcopy1", ".", "op0", "=", "dcopy", ".", "target", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "dcopy1", ".", "perm", "[", "i", "]", "=", "(", "(", "d", "->", "perm", "[", "i", "]", ">=", "nelt", ")", "?", "(", "nelt", "+", "i", ")", ":", "i", ")", ";", "ok", "=", "expand_vec_perm_blend", "(", "&", "dcopy1", ")", ";", "gcc_assert", "(", "ok", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "ix86_expand_vec_perm_const_1", ".", "Try", "to", "simplify", "the", "permutation", "using", "the", "SSE4_1", "pblendv", "instruction", ".", "Potentially", "reduces", "permutation", "from", "2", "pshufb", "and", "or", "to", "1", "pshufb", "and", "pblendv", "."], "TS_V_token": ["i386", "32", "4", "8", "16", "0", "0", "1", "2", "1", "2", "16", "2", "0", "1", "16", "2", "0"], "File": "i386-expand", "Func": "expand_vec_perm_pblendv", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14141, "Length": 398, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_gimple_fold_builtin", "(", "gimple_stmt_iterator", "*", "gsi", ")", "{", "gcall", "*", "stmt", "=", "as_a", "<", "gcall", "*", ">", "(", "gsi_stmt", "(", "*", "gsi", ")", ")", ";", "tree", "fndecl", "=", "gimple_call_fndecl", "(", "stmt", ")", ";", "unsigned", "int", "code", "=", "DECL_MD_FUNCTION_CODE", "(", "fndecl", ")", ";", "unsigned", "int", "subcode", "=", "code", ">>", "AARCH64_BUILTIN_SHIFT", ";", "gimple", "*", "new_stmt", "=", "NULL", ";", "switch", "(", "code", "&", "AARCH64_BUILTIN_CLASS", ")", "{", "case", "AARCH64_BUILTIN_GENERAL", ":", "new_stmt", "=", "aarch64_general_gimple_fold_builtin", "(", "subcode", ",", "stmt", ")", ";", "break", ";", "case", "AARCH64_BUILTIN_SVE", ":", "new_stmt", "=", "aarch64_sve", "::", "gimple_fold_builtin", "(", "subcode", ",", "gsi", ",", "stmt", ")", ";", "break", ";", "}", "if", "(", "!", "new_stmt", ")", "return", "false", ";", "gsi_replace", "(", "gsi", ",", "new_stmt", ",", "true", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_GIMPLE_FOLD_BUILTIN", "."], "TS_V_token": ["aarch64", "aarch64_sve::gimple_fold_builtin"], "File": "aarch64", "Func": "aarch64_gimple_fold_builtin", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14142, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_needs_frame_chain", "(", "void", ")", "{", "if", "(", "frame_pointer_needed", "||", "crtl", "->", "calls_eh_return", ")", "return", "true", ";", "bool", "is_leaf", "=", "crtl", "->", "is_leaf", "&&", "!", "df_regs_ever_live_p", "(", "LR_REGNUM", ")", ";", "if", "(", "flag_omit_leaf_frame_pointer", "&&", "is_leaf", ")", "return", "false", ";", "return", "aarch64_use_frame_pointer", ";", "}", ""], "natrual_language": ["Determine", "whether", "a", "frame", "chain", "needs", "to", "be", "generated", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_needs_frame_chain", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14143, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "initializePPCVSXFMAMutatePass", "(", "*", "PassRegistry", "::", "getPassRegistry", "(", ")", ")", ";", "insertPass", "(", "VSXFMAMutateEarly", "?", "&", "RegisterCoalescerID", ":", "&", "MachineSchedulerID", ",", "&", "PPCVSXFMAMutateID", ")", ";", "addPass", "(", "createPPCTLSDynamicCallPass", "(", ")", ")", ";", "}", ""], "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"], "File": "PPCTargetMachine49", "Func": "addPreRegAlloc", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14144, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isExtendLikelyToBeFolded", "(", "MachineInstr", "&", "ExtMI", ",", "MachineRegisterInfo", "&", "MRI", ")", "const", "{", "assert", "(", "ExtMI", ".", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "G_SEXT", "||", "ExtMI", ".", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "G_ZEXT", "||", "ExtMI", ".", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "G_ANYEXT", ")", ";", "if", "(", "ExtMI", ".", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "G_ANYEXT", ")", "return", "true", ";", "Register", "DefReg", "=", "ExtMI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "if", "(", "!", "MRI", ".", "hasOneNonDBGUse", "(", "DefReg", ")", ")", "return", "false", ";", "auto", "*", "UserMI", "=", "&", "*", "MRI", ".", "use_instr_nodbg_begin", "(", "DefReg", ")", ";", "return", "UserMI", "->", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "G_PTR_ADD", ";", "}", ""], "natrual_language": ["Given", "the", "generic", "extension", "instruction", "ExtMI", ",", "returns", "true", "if", "this", "extension", "is", "a", "likely", "candidate", "for", "being", "folded", "into", "an", "another", "instruction", "."], "TS_V_token": ["AArch64", "AArch64", "0"], "File": "AArch64InstrInfo105", "Func": "isExtendLikelyToBeFolded", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14145, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "findCommutedOpIndices", "(", "MachineInstr", "*", "MI", ",", "unsigned", "&", "SrcOpIdx1", ",", "unsigned", "&", "SrcOpIdx2", ")", "const", "{", "int", "AltOpc", "=", "PPC", "::", "getAltVSXFMAOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "if", "(", "AltOpc", "==", "-", "1", ")", "return", "TargetInstrInfo", "::", "findCommutedOpIndices", "(", "MI", ",", "SrcOpIdx1", ",", "SrcOpIdx2", ")", ";", "return", "fixCommutedOpIndices", "(", "SrcOpIdx1", ",", "SrcOpIdx2", ",", "2", ",", "3", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "iff", "the", "routine", "could", "find", "two", "commutable", "operands", "in", "the", "given", "machine", "instruction", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::getAltVSXFMAOpcode", "1", "2", "3"], "File": "PPCInstrInfo (3)", "Func": "findCommutedOpIndices", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14146, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PPCSubtarget", "::", "PPCSubtarget", "(", "const", "TargetMachine", "&", "tm", ",", "const", "Module", "&", "M", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "is64Bit", ")", ":", "TM", "(", "tm", ")", ",", "StackAlignment", "(", "16", ")", ",", "DarwinDirective", "(", "PPC", "::", "DIR_NONE", ")", ",", "IsGigaProcessor", "(", "false", ")", ",", "Has64BitSupport", "(", "false", ")", ",", "Use64BitRegs", "(", "false", ")", ",", "IsPPC64", "(", "is64Bit", ")", ",", "HasAltivec", "(", "false", ")", ",", "HasFSQRT", "(", "false", ")", ",", "HasSTFIWX", "(", "false", ")", ",", "HasLazyResolverStubs", "(", "false", ")", ",", "DarwinVers", "(", "0", ")", "{", "std", "::", "string", "CPU", "=", "\"generic\"", ";", "CPU", "=", "GetCurrentPowerPCCPU", "(", ")", ";", "ParseSubtargetFeatures", "(", "FS", ",", "CPU", ")", ";", "if", "(", "is64Bit", ")", "{", "Has64BitSupport", "=", "true", ";", "Use64BitRegs", "=", "true", ";", "}", "if", "(", "use64BitRegs", "(", ")", "&&", "!", "has64BitSupport", "(", ")", ")", "Use64BitRegs", "=", "false", ";", "const", "std", "::", "string", "&", "TT", "=", "M", ".", "getTargetTriple", "(", ")", ";", "if", "(", "TT", ".", "length", "(", ")", ">", "7", ")", "{", "size_t", "DarwinPos", "=", "TT", ".", "find", "(", "\"-darwin\"", ")", ";", "if", "(", "DarwinPos", "!=", "std", "::", "string", "::", "npos", ")", "{", "if", "(", "isdigit", "(", "TT", "[", "DarwinPos", "+", "7", "]", ")", ")", "DarwinVers", "=", "atoi", "(", "&", "TT", "[", "DarwinPos", "+", "7", "]", ")", ";", "else", "DarwinVers", "=", "8", ";", "}", "}", "else", "if", "(", "TT", ".", "empty", "(", ")", ")", "{", "DarwinVers", "=", "9", ";", "DarwinVers", "=", "8", ";", "}", "if", "(", "isDarwin", "(", ")", ")", "{", "HasLazyResolverStubs", "=", "true", ";", "AsmFlavor", "=", "NewMnemonic", ";", "}", "else", "{", "AsmFlavor", "=", "OldMnemonic", ";", "}", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "16", "PPC::DIR_NONE", "PPC", "0", "\"generic\"", "7", "\"-darwin\"", "7", "7", "8", "9", "8"], "File": "PPCSubtarget52", "Func": "PPCSubtarget", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14147, "Length": 256, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "offset_4bit_signed_scaled_p", "(", "machine_mode", "mode", ",", "poly_int64", "offset", ")", "{", "HOST_WIDE_INT", "multiple", ";", "return", "(", "constant_multiple_p", "(", "offset", ",", "GET_MODE_SIZE", "(", "mode", ")", ",", "&", "multiple", ")", "&&", "IN_RANGE", "(", "multiple", ",", "-", "8", ",", "7", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OFFSET", "is", "a", "signed", "4-bit", "value", "multiplied", "by", "the", "size", "of", "MODE", "."], "TS_V_token": ["aarch64", "8", "7"], "File": "aarch64", "Func": "offset_4bit_signed_scaled_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14148, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTTIImpl", "::", "isHardwareLoopProfitable", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "AssumptionCache", "&", "AC", ",", "TargetLibraryInfo", "*", "LibInfo", ",", "HardwareLoopInfo", "&", "HWLoopInfo", ")", "{", "const", "PPCTargetMachine", "&", "TM", "=", "ST", "->", "getTargetMachine", "(", ")", ";", "TargetSchedModel", "SchedModel", ";", "SchedModel", ".", "init", "(", "ST", ")", ";", "unsigned", "ConstTripCount", "=", "SE", ".", "getSmallConstantTripCount", "(", "L", ")", ";", "if", "(", "ConstTripCount", "&&", "ConstTripCount", "<", "SmallCTRLoopThreshold", ")", "{", "SmallPtrSet", "<", "const", "Value", "*", ",", "32", ">", "EphValues", ";", "CodeMetrics", "::", "collectEphemeralValues", "(", "L", ",", "&", "AC", ",", "EphValues", ")", ";", "CodeMetrics", "Metrics", ";", "for", "(", "BasicBlock", "*", "BB", ":", "L", "->", "blocks", "(", ")", ")", "Metrics", ".", "analyzeBasicBlock", "(", "BB", ",", "*", "this", ",", "EphValues", ")", ";", "if", "(", "Metrics", ".", "NumInsts", "<=", "(", "6", "*", "SchedModel", ".", "getIssueWidth", "(", ")", ")", ")", "return", "false", ";", "}", "SmallPtrSet", "<", "const", "Value", "*", ",", "4", ">", "Visited", ";", "for", "(", "Loop", "::", "block_iterator", "I", "=", "L", "->", "block_begin", "(", ")", ",", "IE", "=", "L", "->", "block_end", "(", ")", ";", "I", "!=", "IE", ";", "++", "I", ")", "if", "(", "mightUseCTR", "(", "*", "I", ",", "LibInfo", ",", "Visited", ")", ")", "return", "false", ";", "SmallVector", "<", "BasicBlock", "*", ",", "4", ">", "ExitingBlocks", ";", "L", "->", "getExitingBlocks", "(", "ExitingBlocks", ")", ";", "for", "(", "auto", "&", "BB", ":", "ExitingBlocks", ")", "{", "Instruction", "*", "TI", "=", "BB", "->", "getTerminator", "(", ")", ";", "if", "(", "!", "TI", ")", "continue", ";", "if", "(", "BranchInst", "*", "BI", "=", "dyn_cast", "<", "BranchInst", ">", "(", "TI", ")", ")", "{", "uint64_t", "TrueWeight", "=", "0", ",", "FalseWeight", "=", "0", ";", "if", "(", "!", "BI", "->", "isConditional", "(", ")", "||", "!", "BI", "->", "extractProfMetadata", "(", "TrueWeight", ",", "FalseWeight", ")", ")", "continue", ";", "bool", "TrueIsExit", "=", "!", "L", "->", "contains", "(", "BI", "->", "getSuccessor", "(", "0", ")", ")", ";", "if", "(", "(", "TrueIsExit", "&&", "FalseWeight", "<", "TrueWeight", ")", "||", "(", "!", "TrueIsExit", "&&", "FalseWeight", ">", "TrueWeight", ")", ")", "return", "false", ";", "}", "}", "LLVMContext", "&", "C", "=", "L", "->", "getHeader", "(", ")", "->", "getContext", "(", ")", ";", "HWLoopInfo", ".", "CountType", "=", "TM", ".", "isPPC64", "(", ")", "?", "Type", "::", "getInt64Ty", "(", "C", ")", ":", "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": ["PowerPC", "PPC", "PPC", "32", "6", "4", "4", "0", "0", "0", "PPC", "1"], "File": "PPCTargetTransformInfo24", "Func": "isHardwareLoopProfitable", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14149, "Length": 372, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAbiFlags", "::", "merge", "(", "const", "Input", "&", "pInput", ",", "MipsAbiFlags", "&", "oldFlags", ",", "const", "MipsAbiFlags", "&", "newFlags", ")", "{", "if", "(", "oldFlags", ".", "m_IsaLevel", "==", "0", ")", "{", "oldFlags", "=", "newFlags", ";", "return", "true", ";", "}", "if", "(", "newFlags", ".", "m_IsaLevel", ">", "oldFlags", ".", "m_IsaLevel", ")", "oldFlags", ".", "m_IsaLevel", "=", "newFlags", ".", "m_IsaLevel", ";", "oldFlags", ".", "m_IsaRev", "=", "std", "::", "max", "(", "oldFlags", ".", "m_IsaRev", ",", "newFlags", ".", "m_IsaRev", ")", ";", "oldFlags", ".", "m_GprSize", "=", "std", "::", "max", "(", "oldFlags", ".", "m_GprSize", ",", "newFlags", ".", "m_GprSize", ")", ";", "oldFlags", ".", "m_Cpr1Size", "=", "std", "::", "max", "(", "oldFlags", ".", "m_Cpr1Size", ",", "newFlags", ".", "m_Cpr1Size", ")", ";", "oldFlags", ".", "m_Cpr2Size", "=", "std", "::", "max", "(", "oldFlags", ".", "m_Cpr2Size", ",", "newFlags", ".", "m_Cpr2Size", ")", ";", "oldFlags", ".", "m_Ases", "|=", "newFlags", ".", "m_Ases", ";", "oldFlags", ".", "m_Flags1", "|=", "newFlags", ".", "m_Flags1", ";", "if", "(", "oldFlags", ".", "m_FpAbi", "==", "newFlags", ".", "m_FpAbi", ")", "return", "true", ";", "if", "(", "isFpGreater", "(", "newFlags", ".", "m_FpAbi", ",", "oldFlags", ".", "m_FpAbi", ")", ")", "{", "oldFlags", ".", "m_FpAbi", "=", "newFlags", ".", "m_FpAbi", ";", "return", "true", ";", "}", "if", "(", "isFpGreater", "(", "oldFlags", ".", "m_FpAbi", ",", "newFlags", ".", "m_FpAbi", ")", ")", "return", "true", ";", "llvm", "::", "StringRef", "oldAbiName", "=", "getFpAbiName", "(", "oldFlags", ".", "m_FpAbi", ")", ";", "llvm", "::", "StringRef", "newAbiName", "=", "getFpAbiName", "(", "newFlags", ".", "m_FpAbi", ")", ";", "warning", "(", "diag", "::", "warn_Mips_fp_abi_incompatible", ")", "<<", "oldAbiName", "<<", "newAbiName", "<<", "pInput", ".", "name", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Merge", "target", "triples", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "0", "Mips"], "File": "MipsAbiFlags", "Func": "merge", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14150, "Length": 239, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86IndirectThunks", "::", "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": ["X86", "X86"], "File": "X86IndirectThunks", "Func": "doInitialization", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14151, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86RegisterInfo", "::", "canRealignStack", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "MF", ".", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "\"no-realign-stack\"", ")", ")", "return", "false", ";", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "MachineRegisterInfo", "*", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "if", "(", "!", "MRI", "->", "canReserveReg", "(", "FramePtr", ")", ")", "return", "false", ";", "if", "(", "MFI", "->", "hasVarSizedObjects", "(", ")", ")", "return", "MRI", "->", "canReserveReg", "(", "BasePtr", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["True", "if", "the", "stack", "can", "be", "realigned", "for", "the", "target", "."], "TS_V_token": ["X86", "X86", "\"no-realign-stack\""], "File": "X86RegisterInfo2", "Func": "canRealignStack", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14152, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1FrameLowering", "::", "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", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "bool", "isVarArg", "=", "AFI", "->", "getArgRegsSaveSize", "(", ")", ">", "0", ";", "DebugLoc", "DL", "=", "MI", "!=", "MBB", ".", "end", "(", ")", "?", "MI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "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", "&&", "MBB", ".", "succ_empty", "(", ")", ")", "{", "if", "(", "isVarArg", ")", "continue", ";", "if", "(", "STI", ".", "hasV4TOps", "(", ")", "&&", "!", "STI", ".", "hasV5TOps", "(", ")", ")", "continue", ";", "Reg", "=", "ARM", "::", "PC", ";", "(", "*", "MIB", ")", ".", "setDesc", "(", "TII", ".", "get", "(", "ARM", "::", "tPOP_RET", ")", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "MIB", ".", "copyImplicitOps", "(", "&", "*", "MI", ")", ";", "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": "Thumb1FrameLowering35", "Func": "restoreCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14153, "Length": 306, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMSubtarget", "::", "enableMachineScheduler", "(", ")", "const", "{", "return", "getSchedModel", "(", ")", ".", "isOutOfOrder", "(", ")", "&&", "isSwift", "(", ")", ";", "}", ""], "natrual_language": ["Enable", "the", "MachineScheduler", "pass", "for", "all", "X86", "subtargets", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMSubtarget13", "Func": "enableMachineScheduler", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14154, "Length": 22, "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": 14155, "Length": 487, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmPrinter", "::", "PrintAsmMemoryOperand", "(", "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", "'b'", ":", "case", "'h'", ":", "case", "'w'", ":", "case", "'k'", ":", "case", "'q'", ":", "break", ";", "case", "'P'", ":", "printMemReference", "(", "MI", ",", "OpNo", ",", "\"no-rip\"", ")", ";", "return", "false", ";", "}", "}", "printMemReference", "(", "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": ["X86", "X86", "0", "1", "0", "0", "\"no-rip\""], "File": "X86AsmPrinter58", "Func": "PrintAsmMemoryOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14156, "Length": 102, "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", ",", "false", ")", ";", "else", "return", "mode", ";", "}", ""], "natrual_language": ["Implement", "HARD_REGNO_CALLER_SAVE_MODE", "."], "TS_V_token": ["mips"], "File": "mips4", "Func": "mips_hard_regno_caller_save_mode", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14157, "Length": 36, "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", "::", "BITCAST", ":", "Res", "=", "ExpandBITCAST", "(", "N", ",", "DAG", ")", ";", "break", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "case", "ISD", "::", "ZERO_EXTEND", ":", "Res", "=", "ExpandVectorExtension", "(", "N", ",", "DAG", ")", ";", "break", ";", "case", "ISD", "::", "SRL", ":", "case", "ISD", "::", "SRA", ":", "Res", "=", "Expand64BitShift", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "break", ";", "case", "ISD", "::", "READCYCLECOUNTER", ":", "ReplaceREADCYCLECOUNTER", "(", "N", ",", "Results", ",", "DAG", ",", "Subtarget", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_STORE", ":", "case", "ISD", "::", "ATOMIC_LOAD", ":", "case", "ISD", "::", "ATOMIC_LOAD_ADD", ":", "case", "ISD", "::", "ATOMIC_LOAD_AND", ":", "case", "ISD", "::", "ATOMIC_LOAD_NAND", ":", "case", "ISD", "::", "ATOMIC_LOAD_OR", ":", "case", "ISD", "::", "ATOMIC_LOAD_SUB", ":", "case", "ISD", "::", "ATOMIC_LOAD_XOR", ":", "case", "ISD", "::", "ATOMIC_SWAP", ":", "case", "ISD", "::", "ATOMIC_CMP_SWAP", ":", "case", "ISD", "::", "ATOMIC_LOAD_MIN", ":", "case", "ISD", "::", "ATOMIC_LOAD_UMIN", ":", "case", "ISD", "::", "ATOMIC_LOAD_MAX", ":", "case", "ISD", "::", "ATOMIC_LOAD_UMAX", ":", "ReplaceATOMIC_OP_64", "(", "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::BITCAST", "ISD::SIGN_EXTEND", "ISD::ZERO_EXTEND", "ISD::SRL", "ISD::SRA", "ISD::READCYCLECOUNTER", "ISD::ATOMIC_STORE", "ISD::ATOMIC_LOAD", "ISD::ATOMIC_LOAD_ADD", "ISD::ATOMIC_LOAD_AND", "ISD::ATOMIC_LOAD_NAND", "ISD::ATOMIC_LOAD_OR", "ISD::ATOMIC_LOAD_SUB", "ISD::ATOMIC_LOAD_XOR", "ISD::ATOMIC_SWAP", "ISD::ATOMIC_CMP_SWAP", "ISD::ATOMIC_LOAD_MIN", "ISD::ATOMIC_LOAD_UMIN", "ISD::ATOMIC_LOAD_MAX", "ISD::ATOMIC_LOAD_UMAX"], "File": "ARMISelLowering150", "Func": "ReplaceNodeResults", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14158, "Length": 217, "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", "||", "flag_stack_clash_protection", ")", "{", "if", "(", "crtl", "->", "is_leaf", "&&", "!", "cfun", "->", "calls_alloca", ")", "{", "if", "(", "size", ">", "PROBE_INTERVAL", "&&", "size", ">", "get_stack_check_protect", "(", ")", ")", "sparc_emit_probe_stack_range", "(", "get_stack_check_protect", "(", ")", ",", "size", "-", "get_stack_check_protect", "(", ")", ")", ";", "}", "else", "if", "(", "size", ">", "0", ")", "sparc_emit_probe_stack_range", "(", "get_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_frame_blockage", "(", ")", ")", ";", "if", "(", "frame_pointer_needed", ")", "{", "insn", "=", "emit_insn", "(", "gen_rtx_SET", "(", "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", "(", "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", "(", "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", ")", ";", "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": "sparc1", "Func": "sparc_flat_expand_prologue", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14159, "Length": 429, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "hasReservedCallFrame", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "!", "MF", ".", "getFrameInfo", "(", ")", ".", "hasVarSizedObjects", "(", ")", "&&", "!", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "getHasPushSequences", "(", ")", "&&", "!", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "hasPreallocatedCall", "(", ")", ";", "}", ""], "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": ["X86", "X86", "X86", "X86"], "File": "X86FrameLowering (2)3", "Func": "hasReservedCallFrame", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14160, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "TOYFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "TOY", "::", "ADJCALLSTACKUP", "||", "I", "->", "getOpcode", "(", ")", "==", "TOY", "::", "ADJCALLSTACKDOWN", ")", "{", "return", "MBB", ".", "erase", "(", "I", ")", ";", "}", "return", "MBB", ".", "end", "(", ")", ";", "}", ""], "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": ["TOY", "TOY", "TOY::ADJCALLSTACKUP", "TOY::ADJCALLSTACKDOWN"], "File": "TOYFrameLowering1", "Func": "eliminateCallFramePseudoInstr", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14161, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pa_hpux_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_iterate", "(", "extern_symbol", ",", "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_symbol", ",", "gc", ",", "extern_symbols", ")", ";", "}", ""], "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": "pa3", "Func": "pa_hpux_file_end", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14162, "Length": 99, "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": ["ARM"], "File": "ARMTargetMachine11", "Func": "getInstrItineraryData", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14163, "Length": 12, "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": 14164, "Length": 120, "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": 14165, "Length": 234, "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": 14166, "Length": 416, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "direct_return", "(", ")", "{", "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": "rs60002", "Func": "direct_return", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14167, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_hard_regno_rename_ok", "(", "unsigned", "int", "old_reg", "ATTRIBUTE_UNUSED", ",", "unsigned", "int", "new_reg", ")", "{", "if", "(", "sh_cfun_interrupt_handler_p", "(", ")", "&&", "!", "df_regs_ever_live_p", "(", "new_reg", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "register", "old_reg", "can", "be", "renamed", "to", "register", "new_reg", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "sh_hard_regno_rename_ok", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14168, "Length": 32, "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": 14169, "Length": 325, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "SystemZDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "OS", ",", "raw_ostream", "&", "CS", ")", "const", "{", "Size", "=", "0", ";", "if", "(", "Bytes", ".", "size", "(", ")", "<", "2", ")", "return", "MCDisassembler", "::", "Fail", ";", "const", "uint8_t", "*", "Table", ";", "if", "(", "Bytes", "[", "0", "]", "<", "0x40", ")", "{", "Size", "=", "2", ";", "Table", "=", "DecoderTable16", ";", "}", "else", "if", "(", "Bytes", "[", "0", "]", "<", "0xc0", ")", "{", "Size", "=", "4", ";", "Table", "=", "DecoderTable32", ";", "}", "else", "{", "Size", "=", "6", ";", "Table", "=", "DecoderTable48", ";", "}", "if", "(", "Bytes", ".", "size", "(", ")", "<", "Size", ")", "return", "MCDisassembler", "::", "Fail", ";", "uint64_t", "Inst", "=", "0", ";", "for", "(", "uint64_t", "I", "=", "0", ";", "I", "<", "Size", ";", "++", "I", ")", "Inst", "=", "(", "Inst", "<<", "8", ")", "|", "Bytes", "[", "I", "]", ";", "return", "decodeInstruction", "(", "Table", ",", "MI", ",", "Inst", ",", "Address", ",", "this", ",", "STI", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "2", "0", "0x40", "2", "0", "0xc0", "4", "6", "0", "0", "8"], "File": "SystemZDisassembler (2)1", "Func": "getInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14170, "Length": 170, "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": 14171, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "AARCH64_VECTOR_BY_ELEMENT_OPT_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64"], "File": "AArch64SIMDInstrOpt (2)", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14172, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "EVT", "VT", ")", "const", "{", "bool", "isPPC64", "=", "Subtarget", ".", "isPPC64", "(", ")", ";", "bool", "isDarwinABI", "=", "Subtarget", ".", "isDarwinABI", "(", ")", ";", "if", "(", "(", "isPPC64", "&&", "VT", "!=", "MVT", "::", "i64", "&&", "VT", "!=", "MVT", "::", "i32", ")", "||", "(", "!", "isPPC64", "&&", "VT", "!=", "MVT", "::", "i32", ")", ")", "report_fatal_error", "(", "\"Invalid register global variable type\"", ")", ";", "bool", "is64Bit", "=", "isPPC64", "&&", "VT", "==", "MVT", "::", "i64", ";", "unsigned", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "\"r1\"", ",", "is64Bit", "?", "PPC", "::", "X1", ":", "PPC", "::", "R1", ")", ".", "Case", "(", "\"r2\"", ",", "isDarwinABI", "?", "0", ":", "(", "is64Bit", "?", "PPC", "::", "X2", ":", "PPC", "::", "R2", ")", ")", ".", "Case", "(", "\"r13\"", ",", "(", "!", "isPPC64", "&&", "isDarwinABI", ")", "?", "0", ":", "(", "is64Bit", "?", "PPC", "::", "X13", ":", "PPC", "::", "R13", ")", ")", ".", "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": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "MVT::i64", "MVT::i32", "PPC", "MVT::i32", "\"Invalid register global variable type\"", "PPC", "MVT::i64", "\"r1\"", "PPC::X1", "PPC::R1", "\"r2\"", "0", "PPC::X2", "PPC::R2", "\"r13\"", "PPC", "0", "PPC::X13", "PPC::R13", "0", "\"Invalid register name global variable\""], "File": "PPCISelLowering148", "Func": "getRegisterByName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14173, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "VETargetLowering", "::", "withTargetFlags", "(", "SDValue", "Op", ",", "unsigned", "TF", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "const", "GlobalAddressSDNode", "*", "GA", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetGlobalAddress", "(", "GA", "->", "getGlobal", "(", ")", ",", "SDLoc", "(", "GA", ")", ",", "GA", "->", "getValueType", "(", "0", ")", ",", "GA", "->", "getOffset", "(", ")", ",", "TF", ")", ";", "if", "(", "const", "BlockAddressSDNode", "*", "BA", "=", "dyn_cast", "<", "BlockAddressSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetBlockAddress", "(", "BA", "->", "getBlockAddress", "(", ")", ",", "Op", ".", "getValueType", "(", ")", ",", "0", ",", "TF", ")", ";", "if", "(", "const", "ExternalSymbolSDNode", "*", "ES", "=", "dyn_cast", "<", "ExternalSymbolSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetExternalSymbol", "(", "ES", "->", "getSymbol", "(", ")", ",", "ES", "->", "getValueType", "(", "0", ")", ",", "TF", ")", ";", "llvm_unreachable", "(", "\"Unhandled address SDNode\"", ")", ";", "}", ""], "natrual_language": ["}", "Custom", "DAGCombine"], "TS_V_token": ["VE", "VE", "0", "0", "0", "\"Unhandled address SDNode\""], "File": "VEISelLowering", "Func": "withTargetFlags", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14174, "Length": 143, "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", "(", "(", "!", "regs_ever_live", "[", "regno", "]", "||", "call_used_regs", "[", "regno", "]", ")", "&&", "(", "!", "regs_ever_live", "[", "regno", "+", "1", "]", "||", "call_used_regs", "[", "regno", "+", "1", "]", ")", ")", "{", "if", "(", "count", ">", "0", ")", "{", "if", "(", "count", "==", "2", "&&", "!", "arm_arch6", ")", "count", "++", ";", "saved", "+=", "count", "*", "8", "+", "4", ";", "}", "count", "=", "0", ";", "}", "else", "count", "++", ";", "}", "if", "(", "count", ">", "0", ")", "{", "if", "(", "count", "==", "2", "&&", "!", "arm_arch6", ")", "count", "++", ";", "saved", "+=", "count", "*", "8", "+", "4", ";", "}", "}", "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", "4", "0", "0", "2", "8", "4"], "File": "arm3", "Func": "arm_get_vfp_saved_size", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14175, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "analyzeSelect", "(", "const", "MachineInstr", "&", "MI", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "unsigned", "&", "TrueOp", ",", "unsigned", "&", "FalseOp", ",", "bool", "&", "Optimizable", ")", "const", "{", "assert", "(", "(", "MI", ".", "getOpcode", "(", ")", "==", "ARM", "::", "MOVCCr", "||", "MI", ".", "getOpcode", "(", ")", "==", "ARM", "::", "t2MOVCCr", ")", "&&", "\"Unknown select instruction\"", ")", ";", "TrueOp", "=", "1", ";", "FalseOp", "=", "2", ";", "Cond", ".", "push_back", "(", "MI", ".", "getOperand", "(", "3", ")", ")", ";", "Cond", ".", "push_back", "(", "MI", ".", "getOperand", "(", "4", ")", ")", ";", "Optimizable", "=", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Analyze", "the", "given", "select", "instruction", ",", "returning", "true", "if", "it", "can", "not", "be", "understood", "."], "TS_V_token": ["ARM", "ARM", "ARM::MOVCCr", "ARM::t2MOVCCr", "\"Unknown select instruction\"", "1", "2", "3", "4"], "File": "ARMBaseInstrInfo (2)2", "Func": "analyzeSelect", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14176, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isNoopAddrSpaceCast", "(", "unsigned", "SrcAS", ",", "unsigned", "DestAS", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "a", "cast", "between", "SrcAS", "and", "DestAS", "is", "a", "noop", "."], "TS_V_token": ["ARM64"], "File": "ARM64ISelLowering", "Func": "isNoopAddrSpaceCast", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14177, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "ARM64TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "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", ",", "&", "ARM64", "::", "GPR64commonRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "ARM64", "::", "GPR32commonRegClass", ")", ";", "case", "'w'", ":", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "ARM64", "::", "FPR32RegClass", ")", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "ARM64", "::", "FPR64RegClass", ")", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "128", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "ARM64", "::", "FPR128RegClass", ")", ";", "break", ";", "case", "'x'", ":", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "128", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "ARM64", "::", "FPR128_loRegClass", ")", ";", "break", ";", "}", "}", "if", "(", "StringRef", "(", "\"{cc}\"", ")", ".", "equals_lower", "(", "Constraint", ")", ")", "return", "std", "::", "make_pair", "(", "unsigned", "(", "ARM64", "::", "CPSR", ")", ",", "&", "ARM64", "::", "CCRRegClass", ")", ";", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "Res", ";", "Res", "=", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "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", "=", "ARM64", "::", "FPR128RegClass", ".", "getRegister", "(", "RegNo", ")", ";", "Res", ".", "second", "=", "&", "ARM64", "::", "FPR128RegClass", ";", "}", "}", "}", "return", "Res", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["ARM64", "ARM64", "1", "0", "64", "0U", "ARM64::GPR64commonRegClass", "0U", "ARM64::GPR32commonRegClass", "MVT::f32", "0U", "ARM64::FPR32RegClass", "64", "0U", "ARM64::FPR64RegClass", "128", "0U", "ARM64::FPR128RegClass", "128", "0U", "ARM64::FPR128_loRegClass", "\"{cc}\"", "ARM64::CPSR", "ARM64::CCRRegClass", "4", "5", "0", "1", "1", "2", "1", "0", "31", "ARM64::FPR128RegClass", "ARM64::FPR128RegClass"], "File": "ARM64ISelLowering", "Func": "getRegForInlineAsmConstraint", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14178, "Length": 372, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"ParseInstruction\\n\"", ")", ";", "getTargetStreamer", "(", ")", ".", "forbidModuleDirective", "(", ")", ";", "if", "(", "!", "mnemonicIsValid", "(", "Name", ",", "0", ")", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "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", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "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", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "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", "(", ")", ";", "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", "\"ParseInstruction\\n\"", "0", "\"unknown instruction\"", "MipsOperand::CreateToken", "\"unexpected token in argument list\"", "\"unexpected token in argument list\"", "\"unexpected token in argument list\""], "File": "MipsAsmParser32", "Func": "ParseInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14179, "Length": 312, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "symbolic_reference_mentioned_p", "(", "rtx", "op", ")", "{", "const", "char", "*", "fmt", ";", "int", "i", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "op", ")", "==", "LABEL_REF", ")", "return", "1", ";", "fmt", "=", "GET_RTX_FORMAT", "(", "GET_CODE", "(", "op", ")", ")", ";", "for", "(", "i", "=", "GET_RTX_LENGTH", "(", "GET_CODE", "(", "op", ")", ")", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "if", "(", "fmt", "[", "i", "]", "==", "'E'", ")", "{", "int", "j", ";", "for", "(", "j", "=", "XVECLEN", "(", "op", ",", "i", ")", "-", "1", ";", "j", ">=", "0", ";", "j", "--", ")", "if", "(", "symbolic_reference_mentioned_p", "(", "XVECEXP", "(", "op", ",", "i", ",", "j", ")", ")", ")", "return", "1", ";", "}", "else", "if", "(", "fmt", "[", "i", "]", "==", "'e'", "&&", "symbolic_reference_mentioned_p", "(", "XEXP", "(", "op", ",", "i", ")", ")", ")", "return", "1", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "contains", "a", "symbol", "reference"], "TS_V_token": ["i386", "1", "1", "0", "1", "0", "1", "1", "0"], "File": "i3863", "Func": "symbolic_reference_mentioned_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14180, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcCodeEmitter", "::", "emitInstruction", "(", "MachineBasicBlock", "::", "instr_iterator", "MI", ",", "MachineBasicBlock", "&", "MBB", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"JIT: \"", "<<", "(", "void", "*", ")", "MCE", ".", "getCurrentPCValue", "(", ")", "<<", "\":\\t\"", "<<", "*", "MI", ")", ";", "MCE", ".", "processDebugLoc", "(", "MI", "->", "getDebugLoc", "(", ")", ",", "true", ")", ";", "++", "NumEmitted", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "{", "emitWord", "(", "getBinaryCodeForInstr", "(", "*", "MI", ")", ")", ";", "break", ";", "}", "case", "TargetOpcode", "::", "INLINEASM", ":", "{", "if", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getSymbolName", "(", ")", "[", "0", "]", ")", "{", "report_fatal_error", "(", "\"JIT does not support inline asm!\"", ")", ";", "}", "break", ";", "}", "case", "TargetOpcode", "::", "CFI_INSTRUCTION", ":", "break", ";", "case", "TargetOpcode", "::", "EH_LABEL", ":", "{", "MCE", ".", "emitLabel", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getMCSymbol", "(", ")", ")", ";", "break", ";", "}", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "KILL", ":", "{", "break", ";", "}", "case", "SP", "::", "GETPCX", ":", "{", "report_fatal_error", "(", "\"JIT does not support pseudo instruction GETPCX yet!\"", ")", ";", "break", ";", "}", "}", "MCE", ".", "processDebugLoc", "(", "MI", "->", "getDebugLoc", "(", ")", ",", "false", ")", ";", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["Sparc", "Sparc", "\"JIT: \"", "\":\\t\"", "0", "0", "\"JIT does not support inline asm!\"", "0", "SP::GETPCX", "\"JIT does not support pseudo instruction GETPCX yet!\""], "File": "SparcCodeEmitter", "Func": "emitInstruction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14181, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SystemZTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "ZERO_EXTEND", ":", "return", "combineZERO_EXTEND", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "return", "combineSIGN_EXTEND", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SIGN_EXTEND_INREG", ":", "return", "combineSIGN_EXTEND_INREG", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "MERGE_HIGH", ":", "case", "SystemZISD", "::", "MERGE_LOW", ":", "return", "combineMERGE", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "combineLOAD", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "combineSTORE", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "VECTOR_SHUFFLE", ":", "return", "combineVECTOR_SHUFFLE", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "EXTRACT_VECTOR_ELT", ":", "return", "combineEXTRACT_VECTOR_ELT", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "JOIN_DWORDS", ":", "return", "combineJOIN_DWORDS", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "STRICT_FP_ROUND", ":", "case", "ISD", "::", "FP_ROUND", ":", "return", "combineFP_ROUND", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "STRICT_FP_EXTEND", ":", "case", "ISD", "::", "FP_EXTEND", ":", "return", "combineFP_EXTEND", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SINT_TO_FP", ":", "case", "ISD", "::", "UINT_TO_FP", ":", "return", "combineINT_TO_FP", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "BSWAP", ":", "return", "combineBSWAP", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "BR_CCMASK", ":", "return", "combineBR_CCMASK", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "SELECT_CCMASK", ":", "return", "combineSELECT_CCMASK", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "GET_CCMASK", ":", "return", "combineGET_CCMASK", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SDIV", ":", "case", "ISD", "::", "UDIV", ":", "case", "ISD", "::", "SREM", ":", "case", "ISD", "::", "UREM", ":", "return", "combineIntDIVREM", "(", "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": ["SystemZ", "SystemZ", "ISD::ZERO_EXTEND", "ISD::SIGN_EXTEND", "ISD::SIGN_EXTEND_INREG", "SystemZISD::MERGE_HIGH", "SystemZISD::MERGE_LOW", "ISD::LOAD", "ISD::STORE", "ISD::VECTOR_SHUFFLE", "ISD::EXTRACT_VECTOR_ELT", "SystemZISD::JOIN_DWORDS", "ISD::STRICT_FP_ROUND", "ISD::FP_ROUND", "ISD::STRICT_FP_EXTEND", "ISD::FP_EXTEND", "ISD::SINT_TO_FP", "ISD::UINT_TO_FP", "ISD::BSWAP", "SystemZISD::BR_CCMASK", "SystemZISD::SELECT_CCMASK", "SystemZISD::GET_CCMASK", "ISD::SDIV", "ISD::UDIV", "ISD::SREM", "ISD::UREM"], "File": "SystemZISelLowering16", "Func": "PerformDAGCombine", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14182, "Length": 291, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmBackend", "::", "allowAutoPadding", "(", ")", "const", "{", "return", "(", "AlignBoundary", "!=", "Align", "::", "None", "(", ")", "&&", "AlignBranchType", "!=", "X86", "::", "AlignBranchNone", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "target", "might", "automatically", "pad", "instructions", "and", "thus", "need", "to", "emit", "padding", "enable/disable", "directives", "around", "sensative", "code", "."], "TS_V_token": ["X86", "X86", "X86::AlignBranchNone"], "File": "X86AsmBackend17", "Func": "allowAutoPadding", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14183, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"LoongArch DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["LoongArch", "\"LoongArch DAG->DAG Pattern Instruction Selection\""], "File": "LoongArchISelDAGToDAG", "Func": "getPassName", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14184, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MMIXInstPrinter", "::", "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": ["MMIX", "MMIX"], "File": "MMIXInstPrinter", "Func": "printInst", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14185, "Length": 38, "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": 14186, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsDAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "bool", "Ret", "=", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "processFunctionAfterISel", "(", "MF", ")", ";", "return", "Ret", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsISelDAGToDAG34", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14187, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_expand_builtin", "(", "tree", "exp", ",", "rtx", "target", ",", "rtx", ",", "machine_mode", ",", "int", "ignore", ")", "{", "tree", "fndecl", "=", "TREE_OPERAND", "(", "CALL_EXPR_FN", "(", "exp", ")", ",", "0", ")", ";", "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_expand_builtin", "(", "subcode", ",", "exp", ",", "target", ",", "ignore", ")", ";", "case", "AARCH64_BUILTIN_SVE", ":", "return", "aarch64_sve", "::", "expand_builtin", "(", "subcode", ",", "exp", ",", "target", ")", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_EXPAND_BUILTIN", "."], "TS_V_token": ["aarch64", "0", "aarch64_sve::expand_builtin"], "File": "aarch64", "Func": "aarch64_expand_builtin", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14188, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "stackAlignment", "(", ")", "const", "{", "return", "hasMips64", "(", ")", "?", "16", ":", "8", ";", "}", ""], "natrual_language": ["The", "minimum", "alignment", "known", "to", "hold", "of", "the", "stack", "frame", "on", "entry", "to", "the", "function", "and", "which", "must", "be", "maintained", "by", "every", "function", "."], "TS_V_token": ["Mips", "Mips", "16", "8"], "File": "MipsSubtarget (2)", "Func": "stackAlignment", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14189, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "pru_can_use_return_insn", "(", "void", ")", "{", "if", "(", "!", "reload_completed", "||", "crtl", "->", "profile", ")", "return", "0", ";", "return", "cfun", "->", "machine", "->", "total_size", "==", "0", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "this", "function", "is", "known", "to", "have", "a", "null", "epilogue", ".", "This", "allows", "the", "optimizer", "to", "omit", "jumps", "to", "jumps", "if", "no", "stack", "was", "created", "."], "TS_V_token": ["pru", "0", "0"], "File": "pru", "Func": "pru_can_use_return_insn", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14190, "Length": 28, "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": 14191, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64Subtarget", "::", "AArch64Subtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "TargetMachine", "&", "TM", ",", "bool", "LittleEndian", ")", ":", "AArch64GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "ARMProcFamily", "(", "Others", ")", ",", "HasFPARMv8", "(", "false", ")", ",", "HasNEON", "(", "false", ")", ",", "HasCrypto", "(", "false", ")", ",", "HasCRC", "(", "false", ")", ",", "HasZeroCycleRegMove", "(", "false", ")", ",", "HasZeroCycleZeroing", "(", "false", ")", ",", "CPUString", "(", "CPU", ")", ",", "TargetTriple", "(", "TT", ")", ",", "DL", "(", "isTargetMachO", "(", ")", "?", "\"e-m:o-i64:64-i128:128-n32:64-S128\"", ":", "(", "LittleEndian", "?", "\"e-m:e-i64:64-i128:128-n32:64-S128\"", ":", "\"E-m:e-i64:64-i128:128-n32:64-S128\"", ")", ")", ",", "FrameLowering", "(", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "FS", ")", ")", ",", "TSInfo", "(", "&", "DL", ")", ",", "TLInfo", "(", "TM", ")", "{", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "\"e-m:o-i64:64-i128:128-n32:64-S128\"", "\"e-m:e-i64:64-i128:128-n32:64-S128\"", "\"E-m:e-i64:64-i128:128-n32:64-S128\""], "File": "AArch64Subtarget2", "Func": "AArch64Subtarget", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14192, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "size_t", "THMToARMStub", "::", "size", "(", ")", "const", "{", "return", "m_Size", ";", "}", ""], "natrual_language": ["The", "number", "of", "name/type", "pairs", "is", "returned", "."], "TS_V_token": ["ARM", "ARM"], "File": "THMToARMStub", "Func": "size", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14193, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "machine_mode", "mmix_select_cc_mode", "(", "RTX_CODE", "op", ",", "rtx", "x", ",", "rtx", "y", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "x", ")", ")", "==", "MODE_FLOAT", ")", "{", "if", "(", "op", "==", "ORDERED", "||", "op", "==", "UNORDERED", "||", "op", "==", "UNGE", "||", "op", "==", "UNGT", "||", "op", "==", "UNLE", "||", "op", "==", "UNLT", ")", "return", "CC_FUNmode", ";", "if", "(", "op", "==", "EQ", "||", "op", "==", "NE", ")", "return", "CC_FPEQmode", ";", "return", "CC_FPmode", ";", "}", "if", "(", "op", "==", "GTU", "||", "op", "==", "LTU", "||", "op", "==", "GEU", "||", "op", "==", "LEU", ")", "return", "CC_UNSmode", ";", "return", "CCmode", ";", "}", ""], "natrual_language": ["SELECT_CC_MODE", "."], "TS_V_token": ["mmix"], "File": "mmix3", "Func": "mmix_select_cc_mode", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14194, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mep_vliw_jmp_match", "(", "rtx", "tgt", ")", "{", "bool", "src_vliw", "=", "mep_vliw_function_p", "(", "cfun", "->", "decl", ")", ";", "bool", "tgt_vliw", "=", "INTVAL", "(", "tgt", ")", ";", "if", "(", "mep_section_tag", "(", "DECL_RTL", "(", "cfun", "->", "decl", ")", ")", "==", "'f'", ")", "return", "false", ";", "return", "src_vliw", "==", "tgt_vliw", ";", "}", ""], "natrual_language": ["Like", "the", "above", ",", "but", "also", "test", "for", "near/far", "mismatches", "."], "TS_V_token": ["mep"], "File": "mep", "Func": "mep_vliw_jmp_match", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14195, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "AArch64RegisterInfo", "::", "getWindowsStackProbePreservedMask", "(", ")", "const", "{", "return", "CSR_AArch64_StackProbe_Windows_RegMask", ";", "}", ""], "natrual_language": ["Stack", "probing", "calls", "preserve", "different", "CSRs", "to", "the", "normal", "CC", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64RegisterInfo", "Func": "getWindowsStackProbePreservedMask", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14196, "Length": 14, "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\"", ")", ")", "{", "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", "==", "\".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", "(", ")", ")", ";", "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_stackalign\"", "\".cv_fpo_endprologue\"", "\".cv_fpo_endproc\""], "File": "X86AsmParser1", "Func": "ParseDirective", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14197, "Length": 363, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMLoadStoreOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "const", "TargetMachine", "&", "TM", "=", "Fn", ".", "getTarget", "(", ")", ";", "AFI", "=", "Fn", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "TII", "=", "TM", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "TM", ".", "getRegisterInfo", "(", ")", ";", "RS", "=", "new", "RegScavenger", "(", ")", ";", "isThumb2", "=", "AFI", "->", "isThumb2Function", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "MFI", "=", "Fn", ".", "begin", "(", ")", ",", "E", "=", "Fn", ".", "end", "(", ")", ";", "MFI", "!=", "E", ";", "++", "MFI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MFI", ";", "Modified", "|=", "LoadStoreMultipleOpti", "(", "MBB", ")", ";", "Modified", "|=", "MergeReturnIntoLDM", "(", "MBB", ")", ";", "}", "delete", "RS", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMLoadStoreOptimizer25", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14198, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsMCCodeEmitter", "::", "getBranchTarget26OpValueMM", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ">>", "1", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"getBranchTarget26OpValueMM expects only expressions or immediates\"", ")", ";", "const", "MCExpr", "*", "FixupExpression", "=", "MCBinaryExpr", "::", "createAdd", "(", "MO", ".", "getExpr", "(", ")", ",", "MCConstantExpr", "::", "create", "(", "-", "4", ",", "Ctx", ")", ",", "Ctx", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "FixupExpression", ",", "MCFixupKind", "(", "Mips", "::", "fixup_MICROMIPS_PC26_S1", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTarget26OpValueMM", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "."], "TS_V_token": ["Mips", "Mips", "1", "\"getBranchTarget26OpValueMM expects only expressions or immediates\"", "4", "0", "Mips::fixup_MICROMIPS_PC26_S1", "0"], "File": "MipsMCCodeEmitter (2)", "Func": "getBranchTarget26OpValueMM", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14199, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mep_make_parallel", "(", "rtx_insn", "*", "insn1", ",", "rtx_insn", "*", "insn2", ")", "{", "rtx", "expr", ";", "if", "(", "RTX_FRAME_RELATED_P", "(", "insn2", ")", ")", "{", "expr", "=", "mep_frame_expr", "(", "insn2", ")", ";", "if", "(", "RTX_FRAME_RELATED_P", "(", "insn1", ")", ")", "expr", "=", "gen_rtx_SEQUENCE", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "mep_frame_expr", "(", "insn1", ")", ",", "expr", ")", ")", ";", "set_unique_reg_note", "(", "insn1", ",", "REG_FRAME_RELATED_EXPR", ",", "expr", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn1", ")", "=", "1", ";", "}", "PATTERN", "(", "insn1", ")", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "PATTERN", "(", "insn1", ")", ",", "PATTERN", "(", "insn2", ")", ")", ")", ";", "INSN_CODE", "(", "insn1", ")", "=", "-", "1", ";", "}", ""], "natrual_language": ["Merge", "instructions", "INSN1", "and", "INSN2", "using", "a", "PARALLEL", ".", "Store", "the", "new", "pattern", "in", "INSN1", ";", "INSN2", "will", "be", "deleted", "by", "the", "caller", "."], "TS_V_token": ["mep", "2", "1", "2", "1"], "File": "mep", "Func": "mep_make_parallel", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14200, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SystemZInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "SystemZ", "::", "MOV32rm", ":", "case", "SystemZ", "::", "MOV32rmy", ":", "case", "SystemZ", "::", "MOV64rm", ":", "case", "SystemZ", "::", "MOVSX32rm8", ":", "case", "SystemZ", "::", "MOVSX32rm16y", ":", "case", "SystemZ", "::", "MOVSX64rm8", ":", "case", "SystemZ", "::", "MOVSX64rm16", ":", "case", "SystemZ", "::", "MOVSX64rm32", ":", "case", "SystemZ", "::", "MOVZX32rm8", ":", "case", "SystemZ", "::", "MOVZX32rm16", ":", "case", "SystemZ", "::", "MOVZX64rm8", ":", "case", "SystemZ", "::", "MOVZX64rm16", ":", "case", "SystemZ", "::", "MOVZX64rm32", ":", "case", "SystemZ", "::", "FMOV32rm", ":", "case", "SystemZ", "::", "FMOV32rmy", ":", "case", "SystemZ", "::", "FMOV64rm", ":", "case", "SystemZ", "::", "FMOV64rmy", ":", "case", "SystemZ", "::", "MOV64Prm", ":", "case", "SystemZ", "::", "MOV64Prmy", ":", "case", "SystemZ", "::", "MOV128rm", ":", "if", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "isFI", "(", ")", "&&", "MI", "->", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", "&&", "MI", "->", "getOperand", "(", "3", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "0", "&&", "MI", "->", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", "==", "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": ["SystemZ", "SystemZ", "SystemZ::MOV32rm", "SystemZ::MOV32rmy", "SystemZ::MOV64rm", "SystemZ::MOVSX32rm8", "SystemZ::MOVSX32rm16y", "SystemZ::MOVSX64rm8", "SystemZ::MOVSX64rm16", "SystemZ::MOVSX64rm32", "SystemZ::MOVZX32rm8", "SystemZ::MOVZX32rm16", "SystemZ::MOVZX64rm8", "SystemZ::MOVZX64rm16", "SystemZ::MOVZX64rm32", "SystemZ::FMOV32rm", "SystemZ::FMOV32rmy", "SystemZ::FMOV64rm", "SystemZ::FMOV64rmy", "SystemZ::MOV64Prm", "SystemZ::MOV64Prmy", "SystemZ::MOV128rm", "1", "2", "3", "2", "0", "3", "0", "1", "0", "0"], "File": "SystemZInstrInfo25", "Func": "isLoadFromStackSlot", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14201, "Length": 224, "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": 14202, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_function_arg_alignment", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "if", "(", "!", "type", ")", "return", "GET_MODE_ALIGNMENT", "(", "mode", ")", ";", "if", "(", "integer_zerop", "(", "TYPE_SIZE", "(", "type", ")", ")", ")", "return", "0", ";", "gcc_assert", "(", "TYPE_MODE", "(", "type", ")", "==", "mode", ")", ";", "if", "(", "!", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "return", "TYPE_ALIGN", "(", "TYPE_MAIN_VARIANT", "(", "type", ")", ")", ";", "if", "(", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", ")", "return", "TYPE_ALIGN", "(", "TREE_TYPE", "(", "type", ")", ")", ";", "unsigned", "int", "alignment", "=", "0", ";", "for", "(", "tree", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";", "field", ";", "field", "=", "DECL_CHAIN", "(", "field", ")", ")", "if", "(", "TREE_CODE", "(", "field", ")", "==", "FIELD_DECL", ")", "alignment", "=", "std", "::", "max", "(", "alignment", ",", "DECL_ALIGN", "(", "field", ")", ")", ";", "return", "alignment", ";", "}", ""], "natrual_language": ["Given", "MODE", "and", "TYPE", "of", "a", "function", "argument", ",", "return", "the", "alignment", "in", "bits", ".", "The", "idea", "is", "to", "suppress", "any", "stronger", "alignment", "requested", "by", "the", "user", "and", "opt", "for", "the", "natural", "alignment", "(", "specified", "in", "AAPCS64", "\\S", "4.1", ")", ".", "This", "is", "a", "helper", "function", "for", "local", "use", "only", "."], "TS_V_token": ["aarch64", "0", "0"], "File": "aarch644", "Func": "aarch64_function_arg_alignment", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14203, "Length": 133, "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": 14204, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "switch", "(", "Kind", ")", "{", "case", "k_Immediate", ":", "OS", "<<", "\"Imm<\"", ";", "Imm", ".", "Val", "->", "print", "(", "OS", ")", ";", "OS", "<<", "\">\"", ";", "break", ";", "case", "k_Memory", ":", "OS", "<<", "\"Mem<\"", ";", "Mem", ".", "Base", "->", "print", "(", "OS", ")", ";", "OS", "<<", "\", \"", ";", "Mem", ".", "Off", "->", "print", "(", "OS", ")", ";", "OS", "<<", "\">\"", ";", "break", ";", "case", "k_PhysRegister", ":", "OS", "<<", "\"PhysReg<\"", "<<", "PhysReg", ".", "Num", "<<", "\">\"", ";", "break", ";", "case", "k_RegisterIndex", ":", "OS", "<<", "\"RegIdx<\"", "<<", "RegIdx", ".", "Index", "<<", "\":\"", "<<", "RegIdx", ".", "Kind", "<<", "\">\"", ";", "break", ";", "case", "k_Token", ":", "OS", "<<", "Tok", ".", "Data", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["Mips", "\"Imm<\"", "\">\"", "\"Mem<\"", "\", \"", "\">\"", "\"PhysReg<\"", "\">\"", "\"RegIdx<\"", "\":\"", "\">\""], "File": "MipsAsmParser1", "Func": "print", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14205, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isTruncateFree", "(", "const", "Type", "*", "Ty1", ",", "const", "Type", "*", "Ty2", ")", "const", "{", "if", "(", "!", "Ty1", "->", "isIntegerTy", "(", ")", "||", "!", "Ty2", "->", "isIntegerTy", "(", ")", ")", "return", "false", ";", "unsigned", "NumBits1", "=", "Ty1", "->", "getPrimitiveSizeInBits", "(", ")", ";", "unsigned", "NumBits2", "=", "Ty2", "->", "getPrimitiveSizeInBits", "(", ")", ";", "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": ["X86", "X86"], "File": "X86ISelLowering144", "Func": "isTruncateFree", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14206, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "AArch64TargetLowering", "::", "emitStoreConditional", "(", "IRBuilderBase", "&", "Builder", ",", "Value", "*", "Val", ",", "Value", "*", "Addr", ",", "AtomicOrdering", "Ord", ")", "const", "{", "Module", "*", "M", "=", "Builder", ".", "GetInsertBlock", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "bool", "IsRelease", "=", "isReleaseOrStronger", "(", "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", ";", "const", "DataLayout", "&", "DL", "=", "M", "->", "getDataLayout", "(", ")", ";", "IntegerType", "*", "IntValTy", "=", "Builder", ".", "getIntNTy", "(", "DL", ".", "getTypeSizeInBits", "(", "Val", "->", "getType", "(", ")", ")", ")", ";", "if", "(", "Val", "->", "getType", "(", ")", "->", "isPointerTy", "(", ")", ")", "Addr", "=", "Builder", ".", "CreatePointerCast", "(", "Addr", ",", "IntValTy", "->", "getPointerTo", "(", "Addr", "->", "getType", "(", ")", "->", "getPointerAddressSpace", "(", ")", ")", ")", ";", "Type", "*", "Tys", "[", "]", "=", "{", "Addr", "->", "getType", "(", ")", "}", ";", "Function", "*", "Stxr", "=", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "Int", ",", "Tys", ")", ";", "assert", "(", "!", "DL", ".", "isFatPointer", "(", "Val", "->", "getType", "(", ")", ")", "&&", "\"Should not be handled here!\"", ")", ";", "if", "(", "Val", "->", "getType", "(", ")", "->", "isPointerTy", "(", ")", ")", "Val", "=", "Builder", ".", "CreatePtrToInt", "(", "Val", ",", "IntValTy", ")", ";", "else", "Val", "=", "Builder", ".", "CreateBitCast", "(", "Val", ",", "IntValTy", ")", ";", "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", "\"Should not be handled here!\"", "0"], "File": "AArch64ISelLowering89", "Func": "emitStoreConditional", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14207, "Length": 375, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "LanaiAsmBackend", "::", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "{", "return", "createLanaiELFObjectWriter", "(", "OS", ",", "MCELFObjectTargetWriter", "::", "getOSABI", "(", "OSType", ")", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai"], "File": "LanaiAsmBackend1", "Func": "createObjectWriter", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14208, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_hard_regno_call_part_clobbered", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "return", "FP_REGNUM_P", "(", "regno", ")", "&&", "maybe_gt", "(", "GET_MODE_SIZE", "(", "mode", ")", ",", "8", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_CALL_PART_CLOBBERED", ".", "The", "callee", "only", "saves", "the", "lower", "64", "bits", "of", "a", "128-bit", "register", ".", "Tell", "the", "compiler", "the", "callee", "clobbers", "the", "top", "64", "bits", "when", "restoring", "the", "bottom", "64", "bits", "."], "TS_V_token": ["aarch64", "8"], "File": "aarch645", "Func": "aarch64_hard_regno_call_part_clobbered", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14209, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsInstrInfo", "::", "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", "==", "Mips", "::", "CPURegsRegisterClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Mips", "::", "LW", ")", ",", "DestReg", ")", ".", "addImm", "(", "0", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "else", "if", "(", "RC", "==", "Mips", "::", "FGR32RegisterClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Mips", "::", "LWC1", ")", ",", "DestReg", ")", ".", "addImm", "(", "0", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "else", "if", "(", "RC", "==", "Mips", "::", "AFGR64RegisterClass", ")", "{", "if", "(", "!", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "isMips1", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Mips", "::", "LDC1", ")", ",", "DestReg", ")", ".", "addImm", "(", "0", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "}", "else", "{", "const", "TargetRegisterInfo", "*", "TRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "const", "unsigned", "*", "SubSet", "=", "TRI", "->", "getSubRegisters", "(", "DestReg", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Mips", "::", "LWC1", ")", ",", "SubSet", "[", "0", "]", ")", ".", "addImm", "(", "0", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Mips", "::", "LWC1", ")", ",", "SubSet", "[", "1", "]", ")", ".", "addImm", "(", "4", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "}", "}", "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": ["Mips", "Mips", "Mips::CPURegsRegisterClass", "Mips::LW", "0", "Mips::FGR32RegisterClass", "Mips::LWC1", "0", "Mips::AFGR64RegisterClass", "Mips", "Mips", "Mips::LDC1", "0", "Mips::LWC1", "0", "0", "Mips::LWC1", "1", "4", "\"Register class not handled!\""], "File": "MipsInstrInfo15", "Func": "loadRegFromStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14210, "Length": 286, "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", "DImode", ":", "case", "SCmode", ":", "case", "DCmode", ":", "case", "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", "&&", "TARGET_FPRS", ")", "regno", "=", "(", "mode", "==", "TDmode", ")", "?", "FP_ARG_RETURN", "+", "1", ":", "FP_ARG_RETURN", ";", "else", "if", "(", "SCALAR_FLOAT_MODE_NOT_VECTOR_P", "(", "mode", ")", "&&", "TARGET_HARD_FLOAT", "&&", "TARGET_FPRS", "&&", "(", "(", "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", "if", "(", "TARGET_E500_DOUBLE", "&&", "TARGET_HARD_FLOAT", "&&", "(", "mode", "==", "DFmode", "||", "mode", "==", "DCmode", "||", "FLOAT128_IBM_P", "(", "mode", ")", "||", "mode", "==", "TCmode", ")", ")", "return", "spe_build_register_parallel", "(", "mode", ",", "GP_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": "rs60005", "Func": "rs6000_function_value", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14211, "Length": 422, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "DLXInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "return", "1", ";", "}", ""], "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": ["DLX", "DLX", "1"], "File": "DLXInstrInfo", "Func": "isStoreToStackSlot", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14212, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SystemZTTIImpl", "::", "getMinPrefetchStride", "(", "unsigned", "NumMemAccesses", ",", "unsigned", "NumStridedMemAccesses", ",", "unsigned", "NumPrefetches", ",", "bool", "HasCall", ")", "const", "{", "if", "(", "NumPrefetches", ">", "16", ")", "return", "UINT_MAX", ";", "if", "(", "NumStridedMemAccesses", ">", "32", "&&", "NumStridedMemAccesses", "==", "NumMemAccesses", "&&", "!", "HasCall", ")", "return", "1", ";", "return", "ST", "->", "hasMiscellaneousExtensions3", "(", ")", "?", "8192", ":", "2048", ";", "}", ""], "natrual_language": ["Some", "HW", "prefetchers", "can", "handle", "accesses", "up", "to", "a", "certain", "constant", "stride", "."], "TS_V_token": ["SystemZ", "SystemZ", "16", "32", "1", "8192", "2048"], "File": "SystemZTargetTransformInfo", "Func": "getMinPrefetchStride", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14213, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LoongArchTargetLowering", "::", "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", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "analyzeOutputArgs", "(", "CCInfo", ",", "Outs", ",", "CC_LoongArch", ")", ";", "SDValue", "Glue", ";", "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", "]", ",", "Glue", ")", ";", "Glue", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "}", "RetOps", "[", "0", "]", "=", "Chain", ";", "if", "(", "Glue", ".", "getNode", "(", ")", ")", "RetOps", ".", "push_back", "(", "Glue", ")", ";", "return", "DAG", ".", "getNode", "(", "LoongArchISD", "::", "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": ["LoongArch", "LoongArch", "ISD::OutputArg", "LoongArch", "4", "1", "0", "\"Can only return in registers!\"", "1", "0", "LoongArchISD::RET", "MVT::Other"], "File": "LoongArchISelLowering1", "Func": "LowerReturn", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14214, "Length": 239, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_le_vsx_load", "(", "rtx", "dest", ",", "rtx", "source", ",", "machine_mode", "mode", ")", "{", "if", "(", "mode", "==", "TImode", "||", "mode", "==", "V1TImode", ")", "{", "mode", "=", "V2DImode", ";", "dest", "=", "gen_lowpart", "(", "V2DImode", ",", "dest", ")", ";", "source", "=", "adjust_address", "(", "source", ",", "V2DImode", ",", "0", ")", ";", "}", "rtx", "tmp", "=", "can_create_pseudo_p", "(", ")", "?", "gen_reg_rtx_and_attrs", "(", "dest", ")", ":", "dest", ";", "rs6000_emit_le_vsx_permute", "(", "tmp", ",", "source", ",", "mode", ")", ";", "rs6000_emit_le_vsx_permute", "(", "dest", ",", "tmp", ",", "mode", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "little-endian", "load", "from", "vector", "memory", "location", "SOURCE", "to", "VSX", "register", "DEST", "in", "mode", "MODE", ".", "The", "load", "is", "done", "with", "two", "permuting", "insn", "'s", "that", "represent", "an", "lxvd2x", "and", "xxpermdi", "."], "TS_V_token": ["rs6000", "0"], "File": "rs6000", "Func": "rs6000_emit_le_vsx_load", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14215, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "std", "::", "string", "getEdgeAttributes", "(", "NodeRef", ",", "ChildIteratorType", "E", ",", "GraphType", "*", ")", "{", "int", "EdgeVal", "=", "(", "*", "E", ".", "getCurrent", "(", ")", ")", ".", "getValue", "(", ")", ";", "return", "EdgeVal", ">=", "0", "?", "\"label = \"", "+", "std", "::", "to_string", "(", "EdgeVal", ")", ":", "\"color = red, style = \\\"dashed\\\"\"", ";", "}", ""], "natrual_language": ["If", "you", "want", "to", "override", "the", "dot", "attributes", "printed", "for", "a", "particular", "edge", ",", "override", "this", "method", "."], "TS_V_token": ["X86", "0", "\"label = \"", "\"color = red, style = \\\"dashed\\\"\""], "File": "X86LoadValueInjectionLoadHardening", "Func": "getEdgeAttributes", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14216, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_gen_storewb_pair", "(", "machine_mode", "mode", ",", "rtx", "base", ",", "rtx", "reg", ",", "rtx", "reg2", ",", "HOST_WIDE_INT", "adjustment", ")", "{", "switch", "(", "mode", ")", "{", "case", "DImode", ":", "return", "gen_storewb_pairdi_di", "(", "base", ",", "base", ",", "reg", ",", "reg2", ",", "GEN_INT", "(", "-", "adjustment", ")", ",", "GEN_INT", "(", "UNITS_PER_WORD", "-", "adjustment", ")", ")", ";", "case", "DFmode", ":", "return", "gen_storewb_pairdf_di", "(", "base", ",", "base", ",", "reg", ",", "reg2", ",", "GEN_INT", "(", "-", "adjustment", ")", ",", "GEN_INT", "(", "UNITS_PER_WORD", "-", "adjustment", ")", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Generate", "and", "return", "an", "instruction", "to", "store", "the", "pair", "of", "registers", "REG", "and", "REG2", "of", "mode", "MODE", "to", "location", "BASE", "with", "write-back", "adjusting", "the", "stack", "location", "BASE", "by", "ADJUSTMENT", "."], "TS_V_token": ["aarch64"], "File": "aarch642", "Func": "aarch64_gen_storewb_pair", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14217, "Length": 89, "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", ")", ",", "TargetTriple", "(", "TT", ")", "{", "std", "::", "string", "CPUName", "=", "CPU", ";", "CPUName", "=", "selectMipsCPU", "(", "TT", ",", "CPUName", ")", ";", "ParseSubtargetFeatures", "(", "CPUName", ",", "FS", ")", ";", "if", "(", "InMips16Mode", "&&", "!", "TM", "->", "Options", ".", "UseSoftFloat", ")", "{", "TM", "->", "Options", ".", "UseSoftFloat", "=", "true", ";", "TM", "->", "Options", ".", "FloatABIType", "=", "FloatABI", "::", "Soft", ";", "InMips16HardFloat", "=", "true", ";", "}", "PreviousInMips16Mode", "=", "InMips16Mode", ";", "InstrItins", "=", "getInstrItineraryForCPU", "(", "CPUName", ")", ";", "assert", "(", "MipsABI", "!=", "UnknownABI", ")", ";", "assert", "(", "(", "(", "(", "getFeatureBits", "(", ")", "&", "Mips", "::", "FeatureO32", ")", "!=", "0", ")", "+", "(", "(", "getFeatureBits", "(", ")", "&", "Mips", "::", "FeatureEABI", ")", "!=", "0", ")", "+", "(", "(", "getFeatureBits", "(", ")", "&", "Mips", "::", "FeatureN32", ")", "!=", "0", ")", "+", "(", "(", "getFeatureBits", "(", ")", "&", "Mips", "::", "FeatureN64", ")", "!=", "0", ")", ")", "==", "1", ")", ";", "assert", "(", "(", "(", "!", "hasMips64", "(", ")", "&&", "(", "isABI_O32", "(", ")", "||", "isABI_EABI", "(", ")", ")", ")", "||", "(", "hasMips64", "(", ")", "&&", "(", "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", "(", "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", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::FeatureO32", "0", "Mips::FeatureEABI", "0", "Mips::FeatureN32", "0", "Mips::FeatureN64", "0", "1", "Mips", "Mips", "\"Invalid Arch & ABI pair.\"", "\"MSA requires a 64-bit FPU register file (FR=1 mode). \"", "\"See -mattr=+fp64.\"", "\"linux\"", "Mips"], "File": "MipsSubtarget16", "Func": "MipsSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14218, "Length": 415, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", ")", "{", "tree", "fntype", ";", "if", "(", "CALL_EXPR_STATIC_CHAIN", "(", "exp", ")", ")", "return", "false", ";", "if", "(", "decl", ")", "fntype", "=", "TREE_TYPE", "(", "decl", ")", ";", "else", "fntype", "=", "TREE_TYPE", "(", "TREE_TYPE", "(", "CALL_EXPR_FN", "(", "exp", ")", ")", ")", ";", "if", "(", "TARGET_ALTIVEC_ABI", "&&", "TARGET_ALTIVEC_VRSAVE", "&&", "!", "(", "decl", "&&", "decl", "==", "current_function_decl", ")", ")", "{", "function_args_iterator", "args_iter", ";", "tree", "type", ";", "int", "nvreg", "=", "0", ";", "FOREACH_FUNCTION_ARGS", "(", "fntype", ",", "type", ",", "args_iter", ")", "if", "(", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", "&&", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "TYPE_MODE", "(", "type", ")", ")", ")", "nvreg", "++", ";", "FOREACH_FUNCTION_ARGS", "(", "TREE_TYPE", "(", "current_function_decl", ")", ",", "type", ",", "args_iter", ")", "if", "(", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", "&&", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "TYPE_MODE", "(", "type", ")", ")", ")", "nvreg", "--", ";", "if", "(", "nvreg", ">", "0", ")", "return", "false", ";", "}", "if", "(", "rs6000_decl_ok_for_sibcall", "(", "decl", ")", ")", "{", "tree", "attr_list", "=", "TYPE_ATTRIBUTES", "(", "fntype", ")", ";", "if", "(", "!", "lookup_attribute", "(", "\"longcall\"", ",", "attr_list", ")", "||", "lookup_attribute", "(", "\"shortcall\"", ",", "attr_list", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Say", "whether", "a", "function", "is", "a", "candidate", "for", "sibcall", "handling", "or", "not", ".", "We", "do", "not", "allow", "indirect", "calls", "to", "be", "optimized", "into", "sibling", "calls", ".", "Also", ",", "we", "ca", "n't", "do", "it", "if", "there", "are", "any", "vector", "parameters", ";", "there", "'s", "nowhere", "to", "put", "the", "VRsave", "code", "so", "it", "works", ";", "note", "that", "functions", "with", "vector", "parameters", "are", "required", "to", "have", "a", "prototype", ",", "so", "the", "argument", "type", "info", "must", "be", "available", "here", ".", "(", "The", "tail", "recursion", "case", "can", "work", "with", "vector", "parameters", ",", "but", "there", "'s", "no", "way", "to", "distinguish", "here", ".", ")"], "TS_V_token": ["rs6000", "0", "0", "\"longcall\"", "\"shortcall\""], "File": "rs6000-logue", "Func": "rs6000_function_ok_for_sibcall", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14219, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "expand_vec_perm_pshuflw_pshufhw", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "char", "perm2", "[", "MAX_VECT_LEN", "]", ";", "unsigned", "i", ";", "bool", "ok", ";", "if", "(", "d", "->", "vmode", "!=", "V8HImode", "||", "!", "d", "->", "one_operand_p", ")", "return", "false", ";", "for", "(", "i", "=", "0", ";", "i", "<", "4", ";", "++", "i", ")", "if", "(", "d", "->", "perm", "[", "i", "]", ">=", "4", ")", "return", "false", ";", "for", "(", "i", "=", "4", ";", "i", "<", "8", ";", "++", "i", ")", "if", "(", "d", "->", "perm", "[", "i", "]", "<", "4", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "memcpy", "(", "perm2", ",", "d", "->", "perm", ",", "4", ")", ";", "for", "(", "i", "=", "4", ";", "i", "<", "8", ";", "++", "i", ")", "perm2", "[", "i", "]", "=", "i", ";", "ok", "=", "expand_vselect", "(", "d", "->", "target", ",", "d", "->", "op0", ",", "perm2", ",", "8", ",", "d", "->", "testing_p", ")", ";", "gcc_assert", "(", "ok", ")", ";", "memcpy", "(", "perm2", "+", "4", ",", "d", "->", "perm", "+", "4", ",", "4", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "4", ";", "++", "i", ")", "perm2", "[", "i", "]", "=", "i", ";", "ok", "=", "expand_vselect", "(", "d", "->", "target", ",", "d", "->", "target", ",", "perm2", ",", "8", ",", "d", "->", "testing_p", ")", ";", "gcc_assert", "(", "ok", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "ix86_expand_vec_perm_builtin_1", ".", "Try", "to", "implement", "D", "in", "terms", "of", "a", "pair", "of", "pshuflw", "+", "pshufhw", "instructions", "."], "TS_V_token": ["i386", "0", "4", "4", "4", "8", "4", "4", "4", "8", "8", "4", "4", "4", "0", "4", "8"], "File": "i386-expand", "Func": "expand_vec_perm_pshuflw_pshufhw", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14220, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "machine_mode", "aarch64_sve_int_mode", "(", "machine_mode", "mode", ")", "{", "scalar_int_mode", "int_mode", "=", "aarch64_sve_element_int_mode", "(", "mode", ")", ";", "return", "aarch64_sve_data_mode", "(", "int_mode", ",", "GET_MODE_NUNITS", "(", "mode", ")", ")", ".", "require", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "integer", "vector", "mode", "associated", "with", "SVE", "mode", "MODE", ".", "Unlike", "related_int_vector_mode", ",", "this", "can", "handle", "the", "case", "in", "which", "MODE", "is", "a", "predicate", "(", "and", "thus", "has", "a", "different", "total", "size", ")", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_sve_int_mode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14221, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LEGFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "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", "::", "SUBrr", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addReg", "(", "OffsetReg", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "LEG", "::", "SUBri", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addImm", "(", "StackSize", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["LEG", "LEG", "LEG::SP", "LEG::SUBrr", "LEG::SUBri"], "File": "LEGFrameLowering2", "Func": "emitPrologue", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14222, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_tls_referenced_p", "(", "rtx", "x", ")", "{", "if", "(", "!", "TARGET_HAVE_TLS", ")", "return", "false", ";", "subrtx_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX", "(", "iter", ",", "array", ",", "x", ",", "ALL", ")", "{", "const_rtx", "x", "=", "*", "iter", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", "!=", "0", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", "&&", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_TLS", ")", "iter", ".", "skip_subrtxes", "(", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "X", "contains", "any", "TLS", "symbol", "references", "."], "TS_V_token": ["arm", "0", "1"], "File": "arm4", "Func": "arm_tls_referenced_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14223, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCInstrInfo", "::", "reduceLoopCount", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "&", "PreHeader", ",", "MachineInstr", "*", "IndVar", ",", "MachineInstr", "&", "Cmp", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "SmallVectorImpl", "<", "MachineInstr", "*", ">", "&", "PrevInsts", ",", "unsigned", "Iter", ",", "unsigned", "MaxIter", ")", "const", "{", "assert", "(", "(", "!", "IndVar", ")", "&&", "isBDNZ", "(", "Cmp", ".", "getOpcode", "(", ")", ")", "&&", "\"Expecting a CTR loop\"", ")", ";", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "DebugLoc", "DL", "=", "Cmp", ".", "getDebugLoc", "(", ")", ";", "MachineInstr", "*", "Loop", "=", "findLoopInstr", "(", "PreHeader", ")", ";", "if", "(", "!", "Loop", ")", "return", "0", ";", "Register", "LoopCountReg", "=", "Loop", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "MachineInstr", "*", "LoopCount", "=", "MRI", ".", "getUniqueVRegDef", "(", "LoopCountReg", ")", ";", "if", "(", "!", "LoopCount", ")", "return", "0", ";", "if", "(", "LoopCount", "->", "getOpcode", "(", ")", "==", "PPC", "::", "LI8", "||", "LoopCount", "->", "getOpcode", "(", ")", "==", "PPC", "::", "LI", ")", "{", "int64_t", "Offset", "=", "LoopCount", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "Offset", "<=", "1", ")", "{", "LoopCount", "->", "eraseFromParent", "(", ")", ";", "Loop", "->", "eraseFromParent", "(", ")", ";", "return", "0", ";", "}", "LoopCount", "->", "getOperand", "(", "1", ")", ".", "setImm", "(", "Offset", "-", "1", ")", ";", "return", "Offset", "-", "1", ";", "}", "Cond", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "0", ")", ")", ";", "Cond", ".", "push_back", "(", "MachineOperand", "::", "CreateReg", "(", "Subtarget", ".", "isPPC64", "(", ")", "?", "PPC", "::", "CTR8", ":", "PPC", "::", "CTR", ",", "true", ")", ")", ";", "return", "LoopCountReg", ";", "}", ""], "natrual_language": ["Generate", "code", "to", "reduce", "the", "loop", "iteration", "by", "one", "and", "check", "if", "the", "loop", "is", "finished", "."], "TS_V_token": ["PowerPC", "PPC", "\"Expecting a CTR loop\"", "0", "0", "0", "PPC::LI8", "PPC::LI", "1", "1", "0", "1", "1", "1", "0", "PPC", "PPC::CTR8", "PPC::CTR"], "File": "PPCInstrInfo118", "Func": "reduceLoopCount", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14224, "Length": 264, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCELFStreamer", "::", "emitInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "PPCMCCodeEmitter", "*", "Emitter", "=", "static_cast", "<", "PPCMCCodeEmitter", "*", ">", "(", "getAssembler", "(", ")", ".", "getEmitterPtr", "(", ")", ")", ";", "Optional", "<", "bool", ">", "IsPartOfGOTToPCRelPair", "=", "isPartOfGOTToPCRelPair", "(", "Inst", ",", "STI", ")", ";", "if", "(", "IsPartOfGOTToPCRelPair", ".", "hasValue", "(", ")", "&&", "!", "IsPartOfGOTToPCRelPair", ".", "getValue", "(", ")", ")", "emitGOTToPCRelReloc", "(", "Inst", ")", ";", "if", "(", "!", "Emitter", "->", "isPrefixedInstruction", "(", "Inst", ")", ")", "{", "MCELFStreamer", "::", "emitInstruction", "(", "Inst", ",", "STI", ")", ";", "return", ";", "}", "emitPrefixedInstruction", "(", "Inst", ",", "STI", ")", ";", "if", "(", "IsPartOfGOTToPCRelPair", ".", "hasValue", "(", ")", "&&", "IsPartOfGOTToPCRelPair", ".", "getValue", "(", ")", ")", "emitGOTToPCRelLabel", "(", "Inst", ")", ";", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC"], "File": "PPCELFStreamer", "Func": "emitInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14225, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "Cpu0AnalyzeImmediate", "::", "InstSeq", "&", "Cpu0AnalyzeImmediate", "::", "Analyze", "(", "uint64_t", "Imm", ",", "unsigned", "Size", ",", "bool", "LastInstrIsADDiu", ")", "{", "this", "->", "Size", "=", "Size", ";", "ADDiu", "=", "Cpu0", "::", "ADDiu", ";", "ORi", "=", "Cpu0", "::", "ORi", ";", "SHL", "=", "Cpu0", "::", "SHL", ";", "LUi", "=", "Cpu0", "::", "LUi", ";", "InstSeqLs", "SeqLs", ";", "if", "(", "LastInstrIsADDiu", "|", "!", "Imm", ")", "GetInstSeqLsADDiu", "(", "Imm", ",", "Size", ",", "SeqLs", ")", ";", "else", "GetInstSeqLs", "(", "Imm", ",", "Size", ",", "SeqLs", ")", ";", "GetShortestSeq", "(", "SeqLs", ",", "Insts", ")", ";", "return", "Insts", ";", "}", ""], "natrual_language": ["Analyze", "-", "Get", "an", "instruction", "sequence", "to", "load", "immediate", "Imm", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0", "Cpu0::ADDiu", "Cpu0::ORi", "Cpu0::SHL", "Cpu0::LUi"], "File": "Cpu0AnalyzeImmediate", "Func": "Analyze", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14226, "Length": 89, "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": 14227, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86FrameLowering", "::", "getWinEHFuncletFrameSize", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "unsigned", "CSSize", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "getCalleeSavedFrameSize", "(", ")", ";", "unsigned", "MaxCallSize", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getMaxCallFrameSize", "(", ")", ";", "unsigned", "FrameSizeMinusRBP", "=", "RoundUpToAlignment", "(", "CSSize", "+", "MaxCallSize", ",", "getStackAlignment", "(", ")", ")", ";", "return", "FrameSizeMinusRBP", "-", "CSSize", ";", "}", ""], "natrual_language": ["Funclets", "only", "need", "to", "account", "for", "space", "for", "the", "callee", "saved", "registers", ",", "as", "the", "locals", "are", "accounted", "for", "in", "the", "parent", "'s", "stack", "frame", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86FrameLowering76", "Func": "getWinEHFuncletFrameSize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14228, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_dfa_post_advance_cycle", "(", "void", ")", "{", "if", "(", "TUNE_LOONGSON_2EF", ")", "mips_ls2_dfa_post_advance_cycle", "(", "curr_state", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SCHED_DFA_POST_ADVANCE_CYCLE", ".", "This", "hook", "is", "being", "called", "at", "the", "start", "of", "each", "cycle", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_dfa_post_advance_cycle", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14229, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ix86_issue_rate", "(", "void", ")", "{", "switch", "(", "ix86_tune", ")", "{", "case", "PROCESSOR_PENTIUM", ":", "case", "PROCESSOR_LAKEMONT", ":", "case", "PROCESSOR_BONNELL", ":", "case", "PROCESSOR_SILVERMONT", ":", "case", "PROCESSOR_KNL", ":", "case", "PROCESSOR_KNM", ":", "case", "PROCESSOR_INTEL", ":", "case", "PROCESSOR_K6", ":", "case", "PROCESSOR_BTVER2", ":", "case", "PROCESSOR_PENTIUM4", ":", "case", "PROCESSOR_NOCONA", ":", "return", "2", ";", "case", "PROCESSOR_PENTIUMPRO", ":", "case", "PROCESSOR_ATHLON", ":", "case", "PROCESSOR_K8", ":", "case", "PROCESSOR_AMDFAM10", ":", "case", "PROCESSOR_BTVER1", ":", "return", "3", ";", "case", "PROCESSOR_BDVER1", ":", "case", "PROCESSOR_BDVER2", ":", "case", "PROCESSOR_BDVER3", ":", "case", "PROCESSOR_BDVER4", ":", "case", "PROCESSOR_ZNVER1", ":", "case", "PROCESSOR_CORE2", ":", "case", "PROCESSOR_NEHALEM", ":", "case", "PROCESSOR_SANDYBRIDGE", ":", "case", "PROCESSOR_HASWELL", ":", "case", "PROCESSOR_GENERIC", ":", "return", "4", ";", "default", ":", "return", "1", ";", "}", "}", ""], "natrual_language": ["Return", "the", "maximum", "number", "of", "instructions", "a", "cpu", "can", "issue", "."], "TS_V_token": ["i386", "2", "3", "4", "1"], "File": "x86-tune-sched2", "Func": "ix86_issue_rate", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14230, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "PPC64LinuxTargetObjectFile", "::", "getDebugThreadLocalSymbol", "(", "const", "MCSymbol", "*", "Sym", ")", "const", "{", "const", "MCExpr", "*", "Expr", "=", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "MCSymbolRefExpr", "::", "VK_DTPREL", ",", "getContext", "(", ")", ")", ";", "return", "MCBinaryExpr", "::", "createAdd", "(", "Expr", ",", "MCConstantExpr", "::", "create", "(", "0x8000", ",", "getContext", "(", ")", ")", ",", "getContext", "(", ")", ")", ";", "}", ""], "natrual_language": ["Describe", "a", "TLS", "variable", "address", "within", "debug", "info", "."], "TS_V_token": ["PowerPC", "PPC", "0x8000"], "File": "PPCTargetObjectFile12", "Func": "getDebugThreadLocalSymbol", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14231, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "create_bif_order", "(", "void", ")", "{", "bif_order", "=", "(", "int", "*", ")", "malloc", "(", "(", "curr_bif", "+", "1", ")", "*", "sizeof", "(", "int", ")", ")", ";", "rbt_inorder_callback", "(", "&", "bifo_rbt", ",", "bifo_rbt", ".", "rbt_root", ",", "set_bif_order", ")", ";", "}", ""], "natrual_language": ["Create", "a", "mapping", "from", "function", "IDs", "in", "their", "final", "order", "to", "the", "order", "they", "appear", "in", "the", "built-in", "function", "file", "."], "TS_V_token": ["rs6000", "1"], "File": "rs6000-gen-builtins", "Func": "create_bif_order", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14232, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "do_load_for_compare", "(", "rtx", "reg", ",", "rtx", "mem", ",", "machine_mode", "mode", ")", "{", "switch", "(", "GET_MODE", "(", "reg", ")", ")", "{", "case", "E_V16QImode", ":", "switch", "(", "mode", ")", "{", "case", "E_V16QImode", ":", "if", "(", "!", "BYTES_BIG_ENDIAN", ")", "{", "if", "(", "TARGET_P9_VECTOR", ")", "emit_insn", "(", "gen_vsx_ld_elemrev_v16qi_internal", "(", "reg", ",", "mem", ")", ")", ";", "else", "{", "rtx", "reg_v2di", "=", "simplify_gen_subreg", "(", "V2DImode", ",", "reg", ",", "V16QImode", ",", "0", ")", ";", "gcc_assert", "(", "MEM_P", "(", "mem", ")", ")", ";", "rtx", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "rtx", "mem_v2di", "=", "gen_rtx_MEM", "(", "V2DImode", ",", "addr", ")", ";", "MEM_COPY_ATTRIBUTES", "(", "mem_v2di", ",", "mem", ")", ";", "set_mem_size", "(", "mem", ",", "GET_MODE_SIZE", "(", "V2DImode", ")", ")", ";", "emit_insn", "(", "gen_vsx_ld_elemrev_v2di", "(", "reg_v2di", ",", "mem_v2di", ")", ")", ";", "}", "}", "else", "emit_insn", "(", "gen_vsx_movv2di_64bit", "(", "reg", ",", "mem", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "break", ";", "case", "E_DImode", ":", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "emit_insn", "(", "gen_zero_extendqidi2", "(", "reg", ",", "mem", ")", ")", ";", "break", ";", "case", "E_HImode", ":", "{", "rtx", "src", "=", "mem", ";", "if", "(", "!", "BYTES_BIG_ENDIAN", ")", "{", "src", "=", "gen_reg_rtx", "(", "HImode", ")", ";", "emit_insn", "(", "gen_bswaphi2", "(", "src", ",", "mem", ")", ")", ";", "}", "emit_insn", "(", "gen_zero_extendhidi2", "(", "reg", ",", "src", ")", ")", ";", "break", ";", "}", "case", "E_SImode", ":", "{", "rtx", "src", "=", "mem", ";", "if", "(", "!", "BYTES_BIG_ENDIAN", ")", "{", "src", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_bswapsi2", "(", "src", ",", "mem", ")", ")", ";", "}", "emit_insn", "(", "gen_zero_extendsidi2", "(", "reg", ",", "src", ")", ")", ";", "}", "break", ";", "case", "E_DImode", ":", "if", "(", "!", "BYTES_BIG_ENDIAN", ")", "emit_insn", "(", "gen_bswapdi2", "(", "reg", ",", "mem", ")", ")", ";", "else", "emit_insn", "(", "gen_movdi", "(", "reg", ",", "mem", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "break", ";", "case", "E_SImode", ":", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "emit_insn", "(", "gen_zero_extendqisi2", "(", "reg", ",", "mem", ")", ")", ";", "break", ";", "case", "E_HImode", ":", "{", "rtx", "src", "=", "mem", ";", "if", "(", "!", "BYTES_BIG_ENDIAN", ")", "{", "src", "=", "gen_reg_rtx", "(", "HImode", ")", ";", "emit_insn", "(", "gen_bswaphi2", "(", "src", ",", "mem", ")", ")", ";", "}", "emit_insn", "(", "gen_zero_extendhisi2", "(", "reg", ",", "src", ")", ")", ";", "break", ";", "}", "case", "E_SImode", ":", "if", "(", "!", "BYTES_BIG_ENDIAN", ")", "emit_insn", "(", "gen_bswapsi2", "(", "reg", ",", "mem", ")", ")", ";", "else", "emit_insn", "(", "gen_movsi", "(", "reg", ",", "mem", ")", ")", ";", "break", ";", "case", "E_DImode", ":", "gcc_unreachable", "(", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "break", ";", "case", "E_QImode", ":", "gcc_assert", "(", "mode", "==", "E_QImode", ")", ";", "emit_move_insn", "(", "reg", ",", "mem", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Figure", "out", "the", "correct", "instructions", "to", "generate", "to", "load", "data", "for", "block", "compare", ".", "MODE", "is", "used", "for", "the", "read", "from", "memory", ",", "and", "data", "is", "zero", "extended", "if", "REG", "is", "wider", "than", "MODE", ".", "If", "LE", "code", "is", "being", "generated", ",", "bswap", "loads", "are", "used", ".", "REG", "is", "the", "destination", "register", "to", "move", "the", "data", "into", ".", "MEM", "is", "the", "memory", "block", "being", "read", ".", "MODE", "is", "the", "mode", "of", "memory", "to", "use", "for", "the", "read", "."], "TS_V_token": ["rs6000", "0", "0"], "File": "rs6000-string", "Func": "do_load_for_compare", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14233, "Length": 450, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMSubtarget", "::", "enableAtomicExpand", "(", ")", "const", "{", "return", "hasAnyDataBarrier", "(", ")", "&&", "(", "!", "isThumb", "(", ")", "||", "hasV8MBaselineOps", "(", ")", ")", ";", "}", ""], "natrual_language": ["True", "if", "the", "subtarget", "should", "run", "the", "atomic", "expansion", "pass", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMSubtarget52", "Func": "enableAtomicExpand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14234, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiAsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", "const", "{", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "static_cast", "<", "unsigned", ">", "(", "Kind", ")", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "+", "7", ")", "/", "8", ";", "unsigned", "FullSize", "=", "4", ";", "uint64_t", "CurVal", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "(", "FullSize", "-", "1", "-", "i", ")", ";", "CurVal", "|=", "static_cast", "<", "uint64_t", ">", "(", "static_cast", "<", "uint8_t", ">", "(", "Data", "[", "Offset", "+", "Idx", "]", ")", ")", "<<", "(", "i", "*", "8", ")", ";", "}", "uint64_t", "Mask", "=", "(", "static_cast", "<", "uint64_t", ">", "(", "-", "1", ")", ">>", "(", "64", "-", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", ")", ";", "CurVal", "|=", "Value", "&", "Mask", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "(", "FullSize", "-", "1", "-", "i", ")", ";", "Data", "[", "Offset", "+", "Idx", "]", "=", "static_cast", "<", "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": ["Lanai", "Lanai", "7", "8", "4", "0", "0", "1", "8", "1", "64", "0", "1", "8", "0xff"], "File": "LanaiAsmBackend18", "Func": "applyFixup", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14235, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64TargetMachine", "::", "AArch64TargetMachine", "(", "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", ",", "bool", "LittleEndian", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "Options", ".", "MCOptions", ",", "LittleEndian", ")", ",", "TT", ",", "computeDefaultCPU", "(", "TT", ",", "CPU", ")", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "TT", ",", "RM", ")", ",", "getEffectiveAArch64CodeModel", "(", "TT", ",", "CM", ",", "JIT", ")", ",", "OL", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", ",", "isLittle", "(", "LittleEndian", ")", "{", "initAsmInfo", "(", ")", ";", "if", "(", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "{", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "this", "->", "Options", ".", "NoTrapAfterNoreturn", "=", "true", ";", "}", "if", "(", "getMCAsmInfo", "(", ")", "->", "usesWindowsCFI", "(", ")", ")", "{", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "}", "if", "(", "this", "->", "Options", ".", "TLSSize", "==", "0", ")", "this", "->", "Options", ".", "TLSSize", "=", "24", ";", "if", "(", "(", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Small", "||", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Kernel", ")", "&&", "this", "->", "Options", ".", "TLSSize", ">", "32", ")", "this", "->", "Options", ".", "TLSSize", "=", "32", ";", "else", "if", "(", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Tiny", "&&", "this", "->", "Options", ".", "TLSSize", ">", "24", ")", "this", "->", "Options", ".", "TLSSize", "=", "24", ";", "if", "(", "getOptLevel", "(", ")", "<=", "EnableGlobalISelAtO", "&&", "TT", ".", "getArch", "(", ")", "!=", "Triple", "::", "aarch64_32", "&&", "TT", ".", "getArchName", "(", ")", "!=", "\"arm64e\"", "&&", "TT", ".", "getEnvironment", "(", ")", "!=", "Triple", "::", "GNUILP32", "&&", "!", "(", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", "&&", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", ")", "{", "setGlobalISel", "(", "true", ")", ";", "setGlobalISelAbort", "(", "GlobalISelAbortMode", "::", "Disable", ")", ";", "}", "setMachineOutliner", "(", "true", ")", ";", "setSupportsDefaultOutlining", "(", "true", ")", ";", "setSupportsDebugEntryValues", "(", "true", ")", ";", "}", ""], "natrual_language": ["Create", "an", "AArch64", "architecture", "model", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "0", "24", "32", "32", "24", "24", "\"arm64e\""], "File": "AArch64TargetMachine47", "Func": "AArch64TargetMachine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14236, "Length": 329, "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": 14237, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcTargetMachine", "::", "SparcTargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "bool", "is64bit", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "RM", ",", "CM", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "is64bit", ")", ",", "DataLayout", "(", "Subtarget", ".", "getDataLayout", "(", ")", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "InstrInfo", "(", "Subtarget", ")", ",", "FrameLowering", "(", "Subtarget", ")", "{", "}", ""], "natrual_language": ["Create", "an", "ILP32", "architecture", "model", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc"], "File": "SparcTargetMachine", "Func": "SparcTargetMachine", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14238, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isAsCheapAsAMove", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "hasCustomCheapAsMoveHandling", "(", ")", ")", "return", "MI", ".", "isAsCheapAsAMove", "(", ")", ";", "if", "(", "Subtarget", ".", "getProcFamily", "(", ")", "==", "AArch64Subtarget", "::", "ExynosM1", "&&", "isExynosShiftLeftFast", "(", "MI", ")", ")", "return", "true", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "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", ")", ";", "case", "AArch64", "::", "FMOVH0", ":", "case", "AArch64", "::", "FMOVS0", ":", "case", "AArch64", "::", "FMOVD0", ":", "return", "Subtarget", ".", "hasZeroCycleZeroing", "(", ")", ";", "case", "TargetOpcode", "::", "COPY", ":", "return", "(", "Subtarget", ".", "hasZeroCycleZeroing", "(", ")", "&&", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "AArch64", "::", "WZR", "||", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "AArch64", "::", "XZR", ")", ")", ";", "}", "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", "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", "AArch64::FMOVH0", "AArch64::FMOVS0", "AArch64::FMOVD0", "1", "AArch64::WZR", "1", "AArch64::XZR", "\"Unknown opcode to check as cheap as a move!\""], "File": "AArch64InstrInfo (2)", "Func": "isAsCheapAsAMove", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14239, "Length": 295, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCInst", "PPCInstrInfo", "::", "getNop", "(", ")", "const", "{", "MCInst", "Nop", ";", "Nop", ".", "setOpcode", "(", "PPC", "::", "NOP", ")", ";", "return", "Nop", ";", "}", ""], "natrual_language": ["Return", "the", "noop", "instruction", "to", "use", "for", "a", "noop", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::NOP"], "File": "PPCInstrInfo", "Func": "getNop", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14240, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "csky_reorg", "(", "void", ")", "{", "if", "(", "TARGET_CONSTANT_POOL", ")", "csky_emit_constant_pools", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MACHINE_DEPENDENT_REORG", ".", "This", "handles", "-mconstpool", "output", "."], "TS_V_token": ["csky"], "File": "csky", "Func": "csky_reorg", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14241, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_final_prescan_insn", "(", "rtx_insn", "*", "insn", ",", "rtx", "*", "operand", "ATTRIBUTE_UNUSED", ",", "int", "num_operands", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "rs6000_warn_cell_microcode", ")", "{", "const", "char", "*", "temp", ";", "int", "insn_code_number", "=", "recog_memoized", "(", "insn", ")", ";", "location_t", "location", "=", "INSN_LOCATION", "(", "insn", ")", ";", "if", "(", "insn_code_number", "<", "0", ")", "return", ";", "struct", "recog_data_d", "recog_data_save", "=", "recog_data", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "recog_data", ".", "n_operands", ";", "i", "++", ")", "recog_data", ".", "operand", "[", "i", "]", "=", "copy_rtx", "(", "recog_data", ".", "operand", "[", "i", "]", ")", ";", "temp", "=", "get_insn_template", "(", "insn_code_number", ",", "insn", ")", ";", "recog_data", "=", "recog_data_save", ";", "if", "(", "get_attr_cell_micro", "(", "insn", ")", "==", "CELL_MICRO_ALWAYS", ")", "warning_at", "(", "location", ",", "OPT_mwarn_cell_microcode", ",", "\"emitting microcode insn %s\\t[%s] #%d\"", ",", "temp", ",", "insn_data", "[", "INSN_CODE", "(", "insn", ")", "]", ".", "name", ",", "INSN_UID", "(", "insn", ")", ")", ";", "else", "if", "(", "get_attr_cell_micro", "(", "insn", ")", "==", "CELL_MICRO_CONDITIONAL", ")", "warning_at", "(", "location", ",", "OPT_mwarn_cell_microcode", ",", "\"emitting conditional microcode insn %s\\t[%s] #%d\"", ",", "temp", ",", "insn_data", "[", "INSN_CODE", "(", "insn", ")", "]", ".", "name", ",", "INSN_UID", "(", "insn", ")", ")", ";", "}", "}", ""], "natrual_language": ["Define", "FINAL_PRESCAN_INSN", "if", "some", "processing", "needs", "to", "be", "done", "before", "outputting", "the", "assembler", "code", ".", "On", "the", "PowerPC", ",", "we", "remember", "if", "the", "current", "insn", "is", "a", "prefixed", "insn", "where", "we", "need", "to", "emit", "a", "'", "p", "'", "before", "the", "insn", ".", "In", "addition", ",", "if", "the", "insn", "is", "part", "of", "a", "PC-relative", "reference", "to", "an", "external", "label", "optimization", ",", "this", "is", "recorded", "also", "."], "TS_V_token": ["rs6000", "0", "0", "\"emitting microcode insn %s\\t[%s] #%d\"", "\"emitting conditional microcode insn %s\\t[%s] #%d\""], "File": "rs60006", "Func": "rs6000_final_prescan_insn", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14242, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64RegisterInfo", "::", "isConstantPhysReg", "(", "unsigned", "PhysReg", ")", "const", "{", "return", "PhysReg", "==", "AArch64", "::", "WZR", "||", "PhysReg", "==", "AArch64", "::", "XZR", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "PhysReg", "is", "unallocatable", "and", "constant", "throughout", "the", "function", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::WZR", "AArch64::XZR"], "File": "AArch64RegisterInfo", "Func": "isConstantPhysReg", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14243, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsOutgoingValueHandler", "::", "assignValueToAddress", "(", "Register", "ValVReg", ",", "Register", "Addr", ",", "LLT", "MemTy", ",", "MachinePointerInfo", "&", "MPO", ",", "CCValAssign", "&", "VA", ")", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "uint64_t", "LocMemOffset", "=", "VA", ".", "getLocMemOffset", "(", ")", ";", "auto", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MPO", ",", "MachineMemOperand", "::", "MOStore", ",", "MemTy", ",", "commonAlignment", "(", "STI", ".", "getStackAlignment", "(", ")", ",", "LocMemOffset", ")", ")", ";", "Register", "ExtReg", "=", "extendRegister", "(", "ValVReg", ",", "VA", ")", ";", "MIRBuilder", ".", "buildStore", "(", "ExtReg", ",", "Addr", ",", "*", "MMO", ")", ";", "}", ""], "natrual_language": ["An", "overload", "which", "takes", "an", "ArgInfo", "if", "additional", "information", "about", "the", "arg", "is", "needed", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsCallLowering (2)", "Func": "assignValueToAddress", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14244, "Length": 92, "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", ")", "?", "E_DImode", ":", "E_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": "aarch645", "Func": "aarch64_push_regs", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14245, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_sched_can_speculate_insn", "(", "rtx_insn", "*", "insn", ")", "{", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_SDIV", ":", "case", "TYPE_UDIV", ":", "case", "TYPE_FDIVS", ":", "case", "TYPE_FDIVD", ":", "case", "TYPE_FSQRTS", ":", "case", "TYPE_FSQRTD", ":", "case", "TYPE_NEON_FP_SQRT_S", ":", "case", "TYPE_NEON_FP_SQRT_D", ":", "case", "TYPE_NEON_FP_SQRT_S_Q", ":", "case", "TYPE_NEON_FP_SQRT_D_Q", ":", "case", "TYPE_NEON_FP_DIV_S", ":", "case", "TYPE_NEON_FP_DIV_D", ":", "case", "TYPE_NEON_FP_DIV_S_Q", ":", "case", "TYPE_NEON_FP_DIV_D_Q", ":", "return", "false", ";", "default", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_SCHED_CAN_SPECULATE_INSN", ".", "Return", "true", "if", "INSN", "can", "be", "scheduled", "for", "speculative", "execution", ".", "Reject", "the", "long-running", "division", "and", "square-root", "instructions", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_sched_can_speculate_insn", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14246, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmParser", "::", "EmitInstruction", "(", "MCInst", "&", "Inst", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "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": "X86AsmParser55", "Func": "EmitInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14247, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "unsigned", "DestReg", ",", "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", "(", "LoadOpcode", ")", ",", "DestReg", ")", ",", "FrameIdx", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZInstrInfo (2)", "Func": "loadRegFromStackSlot", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14248, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isLegalStoreImmediate", "(", "int64_t", "Imm", ")", "const", "{", "return", "isInt", "<", "32", ">", "(", "Imm", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "immediate", "is", "legal", "for", "the", "value", "input", "of", "a", "store", "instruction", "."], "TS_V_token": ["X86", "X86", "32"], "File": "X86ISelLowering (2)5", "Func": "isLegalStoreImmediate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14249, "Length": 20, "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", ";", "v2mode", "=", "GET_MODE_2XWIDER_MODE", "(", "GET_MODE", "(", "op0", ")", ")", ";", "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": "mips4", "Func": "mips_expand_vselect_vconcat", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14250, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LanaiTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "MUL", ":", "return", "LowerMUL", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBR_CC", "(", "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", "::", "JumpTable", ":", "return", "LowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SETCC", ":", "return", "LowerSETCC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SHL_PARTS", ":", "return", "LowerSHL_PARTS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SRL_PARTS", ":", "return", "LowerSRL_PARTS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "LowerDYNAMIC_STACKALLOC", "(", "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": ["Lanai", "Lanai", "ISD::MUL", "ISD::BR_CC", "ISD::ConstantPool", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::JumpTable", "ISD::SELECT_CC", "ISD::SETCC", "ISD::SHL_PARTS", "ISD::SRL_PARTS", "ISD::VASTART", "ISD::DYNAMIC_STACKALLOC", "ISD::RETURNADDR", "ISD::FRAMEADDR", "\"unimplemented operand\""], "File": "LanaiISelLowering", "Func": "LowerOperation", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14251, "Length": 214, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64DAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "switch", "(", "ConstraintID", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected asm memory constraint\"", ")", ";", "case", "InlineAsm", "::", "Constraint_i", ":", "case", "InlineAsm", "::", "Constraint_m", ":", "case", "InlineAsm", "::", "Constraint_Q", ":", "const", "TargetRegisterInfo", "*", "TRI", "=", "Subtarget", "->", "getRegisterInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "TRC", "=", "TRI", "->", "getPointerRegClass", "(", "*", "MF", ")", ";", "SDLoc", "dl", "(", "Op", ")", ";", "SDValue", "RC", "=", "CurDAG", "->", "getTargetConstant", "(", "TRC", "->", "getID", "(", ")", ",", "dl", ",", "MVT", "::", "i64", ")", ";", "SDValue", "NewOp", "=", "SDValue", "(", "CurDAG", "->", "getMachineNode", "(", "TargetOpcode", "::", "COPY_TO_REGCLASS", ",", "dl", ",", "Op", ".", "getValueType", "(", ")", ",", "Op", ",", "RC", ")", ",", "0", ")", ";", "OutOps", ".", "push_back", "(", "NewOp", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["AArch64", "AArch64", "\"Unexpected asm memory constraint\"", "MVT::i64", "0"], "File": "AArch64ISelDAGToDAG (2)2", "Func": "SelectInlineAsmMemoryOperand", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14252, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_legitimate_address_hook_p", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "bool", "strict_p", ")", "{", "struct", "aarch64_address_info", "addr", ";", "return", "aarch64_classify_address", "(", "&", "addr", ",", "x", ",", "mode", ",", "strict_p", ")", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "X", "is", "a", "legitimate", "address", "for", "accessing", "memory", "in", "mode", "MODE", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_legitimate_address_hook_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14253, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getSlotSize", "(", ")", "const", "{", "return", "SlotSize", ";", "}", ""], "natrual_language": ["getSlotSize", "-", "Stack", "slot", "size", "in", "bytes", "."], "TS_V_token": ["X86"], "File": "X86RegisterInfo (2)", "Func": "getSlotSize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14254, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSection", "*", "X86WindowsTargetObjectFile", "::", "getSectionForConstant", "(", "const", "DataLayout", "&", "DL", ",", "SectionKind", "Kind", ",", "const", "Constant", "*", "C", ",", "unsigned", "&", "Align", ")", "const", "{", "if", "(", "Kind", ".", "isMergeableConst", "(", ")", "&&", "C", ")", "{", "const", "unsigned", "Characteristics", "=", "COFF", "::", "IMAGE_SCN_CNT_INITIALIZED_DATA", "|", "COFF", "::", "IMAGE_SCN_MEM_READ", "|", "COFF", "::", "IMAGE_SCN_MEM_WRITE", "|", "COFF", "::", "IMAGE_SCN_LNK_COMDAT", ";", "std", "::", "string", "COMDATSymName", ";", "if", "(", "Kind", ".", "isMergeableConst4", "(", ")", ")", "{", "if", "(", "Align", "<=", "4", ")", "{", "COMDATSymName", "=", "\"__real@\"", "+", "scalarConstantToHexString", "(", "C", ")", ";", "Align", "=", "4", ";", "}", "}", "else", "if", "(", "Kind", ".", "isMergeableConst8", "(", ")", ")", "{", "if", "(", "Align", "<=", "8", ")", "{", "COMDATSymName", "=", "\"__real@\"", "+", "scalarConstantToHexString", "(", "C", ")", ";", "Align", "=", "8", ";", "}", "}", "else", "if", "(", "Kind", ".", "isMergeableConst16", "(", ")", ")", "{", "if", "(", "Align", "<=", "16", ")", "{", "COMDATSymName", "=", "\"__xmm@\"", "+", "scalarConstantToHexString", "(", "C", ")", ";", "Align", "=", "16", ";", "}", "}", "else", "if", "(", "Kind", ".", "isMergeableConst32", "(", ")", ")", "{", "if", "(", "Align", "<=", "32", ")", "{", "COMDATSymName", "=", "\"__ymm@\"", "+", "scalarConstantToHexString", "(", "C", ")", ";", "Align", "=", "32", ";", "}", "}", "if", "(", "!", "COMDATSymName", ".", "empty", "(", ")", ")", "return", "getContext", "(", ")", ".", "getCOFFSection", "(", "\"sgxg_pub\"", ",", "Characteristics", ",", "Kind", ",", "COMDATSymName", ",", "COFF", "::", "IMAGE_COMDAT_SELECT_ANY", ")", ";", "}", "return", "TargetLoweringObjectFile", "::", "getSectionForConstant", "(", "DL", ",", "Kind", ",", "C", ",", "Align", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constant", "with", "the", "SectionKind", ",", "return", "a", "section", "that", "it", "should", "be", "placed", "in", "."], "TS_V_token": ["X86", "X86", "4", "\"__real@\"", "4", "8", "\"__real@\"", "8", "16", "\"__xmm@\"", "16", "32", "\"__ymm@\"", "32", "\"sgxg_pub\""], "File": "X86TargetObjectFile2", "Func": "getSectionForConstant", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14255, "Length": 233, "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": "X86ISelDAGToDAG132", "Func": "dump", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14256, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "section", "*", "loongarch_function_rodata_section", "(", "tree", "decl", ",", "bool", ")", "{", "return", "default_function_rodata_section", "(", "decl", ",", "false", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_FUNCTION_RODATA_SECTION", ".", "The", "complication", "here", "is", "that", "jump", "tables", "will", "use", "absolute", "addresses", ",", "and", "should", "therefore", "not", "be", "included", "in", "the", "read-only", "part", "of", "a", "DSO", ".", "Handle", "such", "cases", "by", "selecting", "a", "normal", "data", "section", "instead", "of", "a", "read-only", "one", ".", "The", "logic", "apes", "that", "in", "default_function_rodata_section", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_function_rodata_section", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14257, "Length": 20, "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", ")", ";", "}", "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"], "File": "X86TargetMachine109", "Func": "getSubtargetImpl", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14258, "Length": 210, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "OptimizePICCall", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "if", "(", "static_cast", "<", "const", "MipsSubtarget", "&", ">", "(", "F", ".", "getSubtarget", "(", ")", ")", ".", "inMips16Mode", "(", ")", ")", "return", "false", ";", "MachineDominatorTree", "*", "MDT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "bool", "Changed", "=", "false", ";", "SmallVector", "<", "MBBInfo", ",", "8", ">", "WorkList", "(", "1", ",", "MBBInfo", "(", "MDT", "->", "getRootNode", "(", ")", ")", ")", ";", "while", "(", "!", "WorkList", ".", "empty", "(", ")", ")", "{", "MBBInfo", "&", "MBBI", "=", "WorkList", ".", "back", "(", ")", ";", "if", "(", "MBBI", ".", "isVisited", "(", ")", ")", "{", "MBBI", ".", "postVisit", "(", ")", ";", "WorkList", ".", "pop_back", "(", ")", ";", "continue", ";", "}", "MBBI", ".", "preVisit", "(", "ScopedHT", ")", ";", "Changed", "|=", "visitNode", "(", "MBBI", ")", ";", "const", "MachineDomTreeNode", "*", "Node", "=", "MBBI", ".", "getNode", "(", ")", ";", "const", "std", "::", "vector", "<", "MachineDomTreeNode", "*", ">", "&", "Children", "=", "Node", "->", "getChildren", "(", ")", ";", "WorkList", ".", "append", "(", "Children", ".", "begin", "(", ")", ",", "Children", ".", "end", "(", ")", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "8", "1"], "File": "MipsOptimizePICCall", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14259, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64Subtarget", "::", "AArch64Subtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "LittleEndian", ")", ":", "AArch64GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "ARMProcFamily", "(", "Others", ")", ",", "HasFPARMv8", "(", "false", ")", ",", "HasNEON", "(", "false", ")", ",", "HasCrypto", "(", "false", ")", ",", "HasCRC", "(", "false", ")", ",", "HasZeroCycleRegMove", "(", "false", ")", ",", "HasZeroCycleZeroing", "(", "false", ")", ",", "CPUString", "(", "CPU", ")", ",", "TargetTriple", "(", "TT", ")", ",", "IsLittleEndian", "(", "LittleEndian", ")", "{", "if", "(", "CPUString", ".", "empty", "(", ")", ")", "CPUString", "=", "\"generic\"", ";", "ParseSubtargetFeatures", "(", "CPUString", ",", "FS", ")", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "\"generic\""], "File": "AArch64Subtarget41", "Func": "AArch64Subtarget", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14260, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BaseKind", "getKind", "(", ")", "const", "{", "return", "Kind", ";", "}", ""], "natrual_language": ["Returns", "the", "Kind", "of", "lane", "offset", "."], "TS_V_token": ["Mips"], "File": "MipsFastISel", "Func": "getKind", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14261, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "getOpcodeAfterMemoryUnfold", "(", "unsigned", "Opc", ",", "bool", "UnfoldLoad", ",", "bool", "UnfoldStore", ",", "unsigned", "*", "LoadRegIndex", ")", "const", "{", "auto", "I", "=", "MemOp2RegOpTable", ".", "find", "(", "Opc", ")", ";", "if", "(", "I", "==", "MemOp2RegOpTable", ".", "end", "(", ")", ")", "return", "0", ";", "bool", "FoldedLoad", "=", "I", "->", "second", ".", "second", "&", "TB_FOLDED_LOAD", ";", "bool", "FoldedStore", "=", "I", "->", "second", ".", "second", "&", "TB_FOLDED_STORE", ";", "if", "(", "UnfoldLoad", "&&", "!", "FoldedLoad", ")", "return", "0", ";", "if", "(", "UnfoldStore", "&&", "!", "FoldedStore", ")", "return", "0", ";", "if", "(", "LoadRegIndex", ")", "*", "LoadRegIndex", "=", "I", "->", "second", ".", "second", "&", "TB_INDEX_MASK", ";", "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", "0", "0"], "File": "X86InstrInfo (2)1", "Func": "getOpcodeAfterMemoryUnfold", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14262, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_expand_vec_series", "(", "rtx", "dest", ",", "rtx", "base", ",", "rtx", "step", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "scalar_mode", "inner", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "if", "(", "!", "aarch64_sve_index_immediate_p", "(", "base", ")", ")", "base", "=", "force_reg", "(", "inner", ",", "base", ")", ";", "if", "(", "!", "aarch64_sve_index_immediate_p", "(", "step", ")", ")", "step", "=", "force_reg", "(", "inner", ",", "step", ")", ";", "emit_set_insn", "(", "dest", ",", "gen_rtx_VEC_SERIES", "(", "mode", ",", "base", ",", "step", ")", ")", ";", "}", ""], "natrual_language": ["Set", "DEST", "to", "(", "vec_series", "BASE", "STEP", ")", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_expand_vec_series", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14263, "Length": 79, "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", "(", "MF", ".", "hasEHFunclets", "(", ")", ")", "return", "true", ";", "if", "(", "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": "AArch64FrameLowering100", "Func": "hasFP", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14264, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "MipsTargetLowering", "::", "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": ["Mips", "Mips", "MVT::i32"], "File": "MipsISelLowering (2)", "Func": "getSetCCResultType", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14265, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "small_data_operand", "(", "rtx", "op", "ATTRIBUTE_UNUSED", ",", "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", "||", "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": "rs60007", "Func": "small_data_operand", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14266, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "arm_output_iwmmxt_tinsr", "(", "rtx", "*", "operands", ")", "{", "int", "mask", "=", "INTVAL", "(", "operands", "[", "3", "]", ")", ";", "int", "i", ";", "char", "templ", "[", "50", "]", ";", "int", "units", "=", "mode_nunits", "[", "GET_MODE", "(", "operands", "[", "0", "]", ")", "]", ";", "gcc_assert", "(", "(", "mask", "&", "(", "mask", "-", "1", ")", ")", "==", "0", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "units", ";", "++", "i", ")", "{", "if", "(", "(", "mask", "&", "0x01", ")", "==", "1", ")", "{", "break", ";", "}", "mask", ">>=", "1", ";", "}", "gcc_assert", "(", "i", "<", "units", ")", ";", "{", "switch", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", ")", "{", "case", "V8QImode", ":", "sprintf", "(", "templ", ",", "\"tinsrb%%?\\t%%0, %%2, #%d\"", ",", "i", ")", ";", "break", ";", "case", "V4HImode", ":", "sprintf", "(", "templ", ",", "\"tinsrh%%?\\t%%0, %%2, #%d\"", ",", "i", ")", ";", "break", ";", "case", "V2SImode", ":", "sprintf", "(", "templ", ",", "\"tinsrw%%?\\t%%0, %%2, #%d\"", ",", "i", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "break", ";", "}", "output_asm_insn", "(", "templ", ",", "operands", ")", ";", "}", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "assembly", "for", "a", "WMMX", "tinsr", "instruction", "."], "TS_V_token": ["arm", "3", "50", "0", "1", "0", "0", "0x01", "1", "1", "0", "\"tinsrb%%?\\t%%0, %%2, #%d\"", "\"tinsrh%%?\\t%%0, %%2, #%d\"", "\"tinsrw%%?\\t%%0, %%2, #%d\"", "\"\""], "File": "arm4", "Func": "arm_output_iwmmxt_tinsr", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14267, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ArrayRef", "<", "MCPhysReg", ">", "MipsABIInfo", "::", "GetVarArgRegs", "(", ")", "const", "{", "if", "(", "IsO32", "(", ")", ")", "return", "makeArrayRef", "(", "O32IntRegs", ")", ";", "if", "(", "IsN32", "(", ")", "||", "IsN64", "(", ")", ")", "return", "makeArrayRef", "(", "Mips64IntRegs", ")", ";", "llvm_unreachable", "(", "\"Unhandled ABI\"", ")", ";", "}", ""], "natrual_language": ["The", "registers", "to", "use", "for", "the", "variable", "argument", "list", "."], "TS_V_token": ["Mips", "Mips", "Mips", "\"Unhandled ABI\""], "File": "MipsABIInfo15", "Func": "GetVarArgRegs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14268, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ARM", "::", "STR", ":", "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", "::", "FSTD", ":", "case", "ARM", "::", "FSTS", ":", "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", "::", "tSpill", ":", "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", ";", "}", "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::STR", "1", "2", "3", "2", "0", "3", "0", "1", "0", "ARM::FSTD", "ARM::FSTS", "1", "2", "2", "0", "1", "0", "ARM::tSpill", "1", "2", "2", "0", "1", "0", "0"], "File": "ARMInstrInfo14", "Func": "isStoreToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14269, "Length": 276, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "breakPartialRegDependency", "(", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "OpNum", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "unsigned", "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", ")", ")", "{", "unsigned", "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", ")", ";", "}", "}", ""], "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"], "File": "X86InstrInfo (2)5", "Func": "breakPartialRegDependency", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14270, "Length": 225, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "aarch64_uxt_size", "(", "int", "shift", ",", "HOST_WIDE_INT", "mask", ")", "{", "if", "(", "shift", ">=", "0", "&&", "shift", "<=", "3", ")", "{", "int", "size", ";", "for", "(", "size", "=", "8", ";", "size", "<=", "32", ";", "size", "*=", "2", ")", "{", "HOST_WIDE_INT", "bits", "=", "(", "(", "HOST_WIDE_INT", ")", "1U", "<<", "size", ")", "-", "1", ";", "if", "(", "mask", "==", "bits", "<<", "shift", ")", "return", "size", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "size", "in", "bits", "of", "an", "arithmetic", "operand", "which", "is", "shifted/scaled", "and", "masked", "such", "that", "it", "is", "suitable", "for", "a", "UXTB", ",", "UXTH", ",", "or", "UXTW", "extend", "operator", "."], "TS_V_token": ["aarch64", "0", "3", "8", "32", "2", "1U", "1", "0"], "File": "aarch64", "Func": "aarch64_uxt_size", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14271, "Length": 70, "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": 14272, "Length": 240, "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", "{", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "if", "(", "Kind", ">=", "FirstLiteralRelocationKind", ")", "return", ";", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Kind", ")", ";", "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": "AArch64AsmBackend31", "Func": "applyFixup", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14273, "Length": 354, "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": ["Cpu0"], "File": "Cpu0Subtarget", "Func": "getInstrItineraryData", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14274, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMSubtarget", "::", "ARMSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ")", ":", "ARMGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "ARMProcFamily", "(", "Others", ")", ",", "HasV4TOps", "(", "false", ")", ",", "HasV5TOps", "(", "false", ")", ",", "HasV5TEOps", "(", "false", ")", ",", "HasV6Ops", "(", "false", ")", ",", "HasV6T2Ops", "(", "false", ")", ",", "HasV7Ops", "(", "false", ")", ",", "HasVFPv2", "(", "false", ")", ",", "HasVFPv3", "(", "false", ")", ",", "HasVFPv4", "(", "false", ")", ",", "HasNEON", "(", "false", ")", ",", "UseNEONForSinglePrecisionFP", "(", "false", ")", ",", "SlowFPVMLx", "(", "false", ")", ",", "HasVMLxForwarding", "(", "false", ")", ",", "SlowFPBrcc", "(", "false", ")", ",", "InThumbMode", "(", "false", ")", ",", "HasThumb2", "(", "false", ")", ",", "IsMClass", "(", "false", ")", ",", "NoARM", "(", "false", ")", ",", "PostRAScheduler", "(", "false", ")", ",", "IsR9Reserved", "(", "ReserveR9", ")", ",", "UseMovt", "(", "false", ")", ",", "SupportsTailCall", "(", "false", ")", ",", "HasFP16", "(", "false", ")", ",", "HasD16", "(", "false", ")", ",", "HasHardwareDivide", "(", "false", ")", ",", "HasT2ExtractPack", "(", "false", ")", ",", "HasDataBarrier", "(", "false", ")", ",", "Pref32BitThumb", "(", "false", ")", ",", "AvoidCPSRPartialUpdate", "(", "false", ")", ",", "HasMPExtension", "(", "false", ")", ",", "FPOnlySP", "(", "false", ")", ",", "AllowsUnalignedMem", "(", "false", ")", ",", "Thumb2DSP", "(", "false", ")", ",", "stackAlignment", "(", "4", ")", ",", "CPUString", "(", "CPU", ")", ",", "TargetTriple", "(", "TT", ")", ",", "TargetABI", "(", "ARM_ABI_APCS", ")", "{", "if", "(", "CPUString", ".", "empty", "(", ")", ")", "CPUString", "=", "\"generic\"", ";", "std", "::", "string", "ArchFS", "=", "ARM_MC", "::", "ParseARMTriple", "(", "TT", ")", ";", "if", "(", "!", "FS", ".", "empty", "(", ")", ")", "{", "if", "(", "!", "ArchFS", ".", "empty", "(", ")", ")", "ArchFS", "=", "ArchFS", "+", "\",\"", "+", "FS", ";", "else", "ArchFS", "=", "FS", ";", "}", "ParseSubtargetFeatures", "(", "CPUString", ",", "ArchFS", ")", ";", "if", "(", "!", "HasV6T2Ops", "&&", "hasThumb2", "(", ")", ")", "HasV4TOps", "=", "HasV5TOps", "=", "HasV5TEOps", "=", "HasV6Ops", "=", "HasV6T2Ops", "=", "true", ";", "InstrItins", "=", "getInstrItineraryForCPU", "(", "CPUString", ")", ";", "computeIssueWidth", "(", ")", ";", "if", "(", "TT", ".", "find", "(", "\"eabi\"", ")", "!=", "std", "::", "string", "::", "npos", ")", "TargetABI", "=", "ARM_ABI_AAPCS", ";", "if", "(", "isAAPCS_ABI", "(", ")", ")", "stackAlignment", "=", "8", ";", "if", "(", "!", "isTargetIOS", "(", ")", ")", "UseMovt", "=", "hasV6T2Ops", "(", ")", ";", "else", "{", "IsR9Reserved", "=", "ReserveR9", "|", "!", "HasV6Ops", ";", "UseMovt", "=", "DarwinUseMOVT", "&&", "hasV6T2Ops", "(", ")", ";", "SupportsTailCall", "=", "!", "getTargetTriple", "(", ")", ".", "isOSVersionLT", "(", "5", ",", "0", ")", ";", "}", "if", "(", "!", "isThumb", "(", ")", "||", "hasThumb2", "(", ")", ")", "PostRAScheduler", "=", "true", ";", "if", "(", "!", "StrictAlign", "&&", "hasV6Ops", "(", ")", "&&", "isTargetDarwin", "(", ")", ")", "AllowsUnalignedMem", "=", "true", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "4", "ARM", "\"generic\"", "ARM", "ARM", "\",\"", "\"eabi\"", "ARM", "8", "5", "0"], "File": "ARMSubtarget12", "Func": "ARMSubtarget", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14275, "Length": 428, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64TargetMachine", "::", "AArch64TargetMachine", "(", "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", ",", "bool", "LittleEndian", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "Options", ".", "MCOptions", ",", "LittleEndian", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "TT", ",", "RM", ")", ",", "getEffectiveCodeModel", "(", "TT", ",", "CM", ",", "JIT", ")", ",", "OL", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", ",", "isLittle", "(", "LittleEndian", ")", "{", "initAsmInfo", "(", ")", ";", "if", "(", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "if", "(", "getOptLevel", "(", ")", "<=", "EnableGlobalISelAtO", ")", "setGlobalISel", "(", "true", ")", ";", "}", ""], "natrual_language": ["Create", "an", "AArch64", "architecture", "model", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine23", "Func": "AArch64TargetMachine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14276, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "OS", ")", "{", "SystemZInstPrinter", "::", "printAddress", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", ",", "MI", "->", "getOperand", "(", "OpNo", "+", "1", ")", ".", "getImm", "(", ")", ",", "MI", "->", "getOperand", "(", "OpNo", "+", "2", ")", ".", "getReg", "(", ")", ",", "OS", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "1", "2"], "File": "SystemZAsmPrinter (2)", "Func": "PrintAsmMemoryOperand", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14277, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_register_saved_on_entry", "(", "int", "regno", ")", "{", "return", "cfun", "->", "machine", "->", "frame", ".", "reg_offset", "[", "regno", "]", ">=", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "register", "REGNO", "is", "saved", "on", "entry", "to", "the", "current", "function", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch642", "Func": "aarch64_register_saved_on_entry", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14278, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_emit_call_insn", "(", "rtx", "pat", ",", "rtx", "addr", ",", "bool", "sibcall", ")", "{", "rtx", "insn", ";", "insn", "=", "emit_call_insn", "(", "pat", ")", ";", "if", "(", "TARGET_VXWORKS_RTP", "&&", "flag_pic", "&&", "!", "sibcall", "&&", "SYMBOL_REF_P", "(", "addr", ")", "&&", "(", "SYMBOL_REF_DECL", "(", "addr", ")", "?", "!", "targetm", ".", "binds_local_p", "(", "SYMBOL_REF_DECL", "(", "addr", ")", ")", ":", "!", "SYMBOL_REF_LOCAL_P", "(", "addr", ")", ")", ")", "{", "require_pic_register", "(", "NULL_RTX", ",", "false", ")", ";", "use_reg", "(", "&", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ",", "cfun", "->", "machine", "->", "pic_reg", ")", ";", "}", "if", "(", "TARGET_FDPIC", ")", "{", "rtx", "fdpic_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "FDPIC_REGNUM", ")", ";", "use_reg", "(", "&", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ",", "fdpic_reg", ")", ";", "}", "if", "(", "TARGET_AAPCS_BASED", ")", "{", "rtx", "*", "fusage", "=", "&", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ";", "clobber_reg", "(", "fusage", ",", "gen_rtx_REG", "(", "word_mode", ",", "IP_REGNUM", ")", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "a", "call", "instruction", "with", "pattern", "PAT", ".", "ADDR", "is", "the", "address", "of", "the", "call", "target", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_emit_call_insn", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14279, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiInstrInfo", "::", "reverseBranchCondition", "(", "SmallVectorImpl", "<", "llvm", "::", "MachineOperand", ">", "&", "Condition", ")", "const", "{", "assert", "(", "(", "Condition", ".", "size", "(", ")", "==", "1", ")", "&&", "\"Lanai branch conditions should have one component.\"", ")", ";", "LPCC", "::", "CondCode", "BranchCond", "=", "static_cast", "<", "LPCC", "::", "CondCode", ">", "(", "Condition", "[", "0", "]", ".", "getImm", "(", ")", ")", ";", "Condition", "[", "0", "]", ".", "setImm", "(", "getOppositeCondition", "(", "BranchCond", ")", ")", ";", "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": ["Lanai", "Lanai", "1", "\"Lanai branch conditions should have one component.\"", "0", "0"], "File": "LanaiInstrInfo (2)", "Func": "reverseBranchCondition", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14280, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "report_neither_nor", "(", "location_t", "location", ",", "tree", "fndecl", ",", "unsigned", "int", "argno", ",", "HOST_WIDE_INT", "actual", ",", "HOST_WIDE_INT", "value0", ",", "HOST_WIDE_INT", "value1", ")", "{", "error_at", "(", "location", ",", "\"passing %wd to argument %d of %qE, which expects\"", "\" either %wd or %wd\"", ",", "actual", ",", "argno", "+", "1", ",", "fndecl", ",", "value0", ",", "value1", ")", ";", "}", ""], "natrual_language": ["Report", "that", "LOCATION", "has", "a", "call", "to", "FNDECL", "in", "which", "argument", "ARGNO", "has", "the", "value", "ACTUAL", ",", "whereas", "the", "function", "requires", "either", "VALUE0", "or", "VALUE1", ".", "ARGNO", "counts", "from", "zero", "."], "TS_V_token": ["aarch64", "\"passing %wd to argument %d of %qE, which expects\"", "\" either %wd or %wd\"", "1"], "File": "aarch64-sve-builtins", "Func": "report_neither_nor", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14281, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZELFFrameLowering", "::", "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", "(", "const", "CalleeSavedInfo", "&", "I", ":", "CSI", ")", "{", "unsigned", "Reg", "=", "I", ".", "getReg", "(", ")", ";", "if", "(", "SystemZ", "::", "FP64BitRegClass", ".", "contains", "(", "Reg", ")", ")", "TII", "->", "loadRegFromStackSlot", "(", "MBB", ",", "MBBI", ",", "Reg", ",", "I", ".", "getFrameIdx", "(", ")", ",", "&", "SystemZ", "::", "FP64BitRegClass", ",", "TRI", ")", ";", "if", "(", "SystemZ", "::", "VR128BitRegClass", ".", "contains", "(", "Reg", ")", ")", "TII", "->", "loadRegFromStackSlot", "(", "MBB", ",", "MBBI", ",", "Reg", ",", "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", "(", "const", "CalleeSavedInfo", "&", "I", ":", "CSI", ")", "{", "unsigned", "Reg", "=", "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", "SystemZ::FP64BitRegClass", "SystemZ::FP64BitRegClass", "SystemZ::VR128BitRegClass", "SystemZ::VR128BitRegClass", "SystemZ::GPRRegs", "\"Should be loading %r15 and something else\"", "SystemZ::LMG", "SystemZ::R11D", "SystemZ::R15D", "SystemZ::GR64BitRegClass"], "File": "SystemZFrameLowering14", "Func": "restoreCalleeSavedRegisters", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14282, "Length": 357, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZMCAsmInfoGOFF", "::", "isAcceptableChar", "(", "char", "C", ")", "const", "{", "return", "MCAsmInfo", "::", "isAcceptableChar", "(", "C", ")", "||", "C", "==", "'#'", ";", "}", ""], "natrual_language": ["Return", "true", "if", "C", "is", "an", "acceptable", "character", "inside", "a", "symbol", "name", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZMCAsmInfo6", "Func": "isAcceptableChar", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14283, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "OperandMatchResultTy", "CSKYAsmParser", "::", "tryParseRegister", "(", "unsigned", "&", "RegNo", ",", "SMLoc", "&", "StartLoc", ",", "SMLoc", "&", "EndLoc", ")", "{", "const", "AsmToken", "&", "Tok", "=", "getParser", "(", ")", ".", "getTok", "(", ")", ";", "StartLoc", "=", "Tok", ".", "getLoc", "(", ")", ";", "EndLoc", "=", "Tok", ".", "getEndLoc", "(", ")", ";", "StringRef", "Name", "=", "getLexer", "(", ")", ".", "getTok", "(", ")", ".", "getIdentifier", "(", ")", ";", "if", "(", "matchRegisterNameHelper", "(", "(", "MCRegister", "&", ")", "RegNo", ",", "Name", ")", ")", "return", "MatchOperand_NoMatch", ";", "getParser", "(", ")", ".", "Lex", "(", ")", ";", "return", "MatchOperand_Success", ";", "}", ""], "natrual_language": ["tryParseRegister", "-", "parse", "one", "register", "if", "possible"], "TS_V_token": ["CSKY", "CSKY"], "File": "CSKYAsmParser6", "Func": "tryParseRegister", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14284, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "unsigned", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "switch", "(", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ")", "{", "default", ":", "break", ";", "case", "Match_Success", ":", "ProcessInstruction", "(", "Inst", ",", "Operands", ")", ";", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "Out", ".", "EmitInstruction", "(", "Inst", ")", ";", "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", ":", "{", "SMLoc", "ErrorLoc", "=", "IDLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "0U", ")", "{", "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\"", "\"unrecognized instruction mnemonic\"", "0U", "\"too few operands for instruction\"", "PPC", "\"invalid operand for instruction\"", "\"Implement any new match types added!\""], "File": "PPCAsmParser1", "Func": "MatchAndEmitInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14285, "Length": 183, "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", "::", "BRFCC", ":", "return", "\"SPISD::BRFCC\"", ";", "case", "SPISD", "::", "SELECT_ICC", ":", "return", "\"SPISD::SELECT_ICC\"", ";", "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\"", ";", "}", "}", ""], "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::BRFCC", "\"SPISD::BRFCC\"", "SPISD::SELECT_ICC", "\"SPISD::SELECT_ICC\"", "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\""], "File": "SparcISelLowering1", "Func": "getTargetNodeName", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14286, "Length": 136, "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": 14287, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "aarch64_can_use_per_function_literal_pools_p", "(", "void", ")", "{", "return", "(", "aarch64_pcrelative_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": "aarch64", "Func": "aarch64_can_use_per_function_literal_pools_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14288, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "void", "atomic_free", "(", "unsigned", "int", "*", "mask", ",", "int", "bit", ")", "{", "__sync_xor_and_fetch", "(", "mask", ",", "1", "<<", "bit", ")", ";", "}", ""], "natrual_language": ["Similarly", ",", "free", "an", "emergency", "buffer", "."], "TS_V_token": ["ia64", "1"], "File": "unwind-ia64", "Func": "atomic_free", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14289, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_emit_vector_compare_inner", "(", "enum", "rtx_code", "code", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "rtx", "mask", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "op0", ")", ";", "switch", "(", "code", ")", "{", "default", ":", "break", ";", "case", "GE", ":", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_INT", ")", "return", "NULL_RTX", ";", "case", "EQ", ":", "case", "GT", ":", "case", "GTU", ":", "case", "ORDERED", ":", "case", "UNORDERED", ":", "case", "UNEQ", ":", "case", "LTGT", ":", "mask", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "mask", ",", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "op0", ",", "op1", ")", ")", ")", ";", "return", "mask", ";", "}", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Return", "insn", "for", "VSX", "or", "Altivec", "comparisons", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_emit_vector_compare_inner", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14290, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "getMachineCombinerPatterns", "(", "MachineInstr", "&", "Root", ",", "SmallVectorImpl", "<", "MachineCombinerPattern", ">", "&", "Patterns", ")", "const", "{", "if", "(", "getMaddPatterns", "(", "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": "AArch64InstrInfo18", "Func": "getMachineCombinerPatterns", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14291, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "buildLoad", "(", "unsigned", "Val", ",", "unsigned", "Addr", ",", "uint64_t", "Size", ",", "unsigned", "Alignment", ",", "MachinePointerInfo", "&", "MPO", ")", "{", "auto", "MMO", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getMachineMemOperand", "(", "MPO", ",", "MachineMemOperand", "::", "MOLoad", ",", "Size", ",", "Alignment", ")", ";", "MIRBuilder", ".", "buildLoad", "(", "Val", ",", "Addr", ",", "*", "MMO", ")", ";", "}", ""], "natrual_language": ["Build", "and", "insert", "a", "G_LOAD", "instruction", ",", "while", "constructing", "the", "MachineMemOperand", "."], "TS_V_token": ["ARM"], "File": "ARMCallLowering (2)", "Func": "buildLoad", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14292, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasFusion", "(", ")", "const", "{", "return", "hasArithmeticBccFusion", "(", ")", "||", "hasArithmeticCbzFusion", "(", ")", "||", "hasFuseAES", "(", ")", "||", "hasFuseLiterals", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "CPU", "supports", "any", "kind", "of", "instruction", "fusion", "."], "TS_V_token": ["AArch64"], "File": "AArch64Subtarget103", "Func": "hasFusion", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14293, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "getOffset", "(", ")", "const", "{", "return", "Offset", ";", "}", ""], "natrual_language": ["Get", "the", "offest", "of", "a", "string", "in", "the", "string", "table", "."], "TS_V_token": ["Mips"], "File": "MipsMCSymbolRefExpr", "Func": "getOffset", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14294, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isGPRZero", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "AArch64", "::", "MOVZWi", ":", "case", "AArch64", "::", "MOVZXi", ":", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "==", "0", ")", "{", "assert", "(", "MI", ".", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", "==", "3", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "0", "&&", "\"invalid MOVZi operands\"", ")", ";", "return", "true", ";", "}", "break", ";", "case", "AArch64", "::", "ANDWri", ":", "return", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "AArch64", "::", "WZR", ";", "case", "AArch64", "::", "ANDXri", ":", "return", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "AArch64", "::", "XZR", ";", "case", "TargetOpcode", "::", "COPY", ":", "return", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "AArch64", "::", "WZR", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Does", "this", "instruction", "set", "its", "full", "destination", "register", "to", "zero", "?"], "TS_V_token": ["AArch64", "AArch64", "AArch64::MOVZWi", "AArch64::MOVZXi", "1", "1", "0", "3", "2", "0", "\"invalid MOVZi operands\"", "AArch64::ANDWri", "1", "AArch64::WZR", "AArch64::ANDXri", "1", "AArch64::XZR", "1", "AArch64::WZR"], "File": "AArch64InstrInfo (2)", "Func": "isGPRZero", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14295, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "OR1KPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createOR1KISelDag", "(", "getOR1KTargetMachine", "(", ")", ")", ")", ";", "addPass", "(", "createOR1KGlobalBaseRegPass", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["OR1K", "OR1K", "OR1K", "OR1K", "OR1K"], "File": "OR1KTargetMachine", "Func": "addInstSelector", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14296, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rx_mode_dependent_address_p", "(", "const_rtx", "addr", ",", "addr_space_t", "as", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "GET_CODE", "(", "addr", ")", "==", "CONST", ")", "addr", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "PRE_DEC", ":", "case", "POST_INC", ":", "return", "true", ";", "case", "MINUS", ":", "case", "PLUS", ":", "if", "(", "!", "REG_P", "(", "XEXP", "(", "addr", ",", "0", ")", ")", ")", "return", "true", ";", "addr", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "REG", ":", "return", "true", ";", "case", "CONST_INT", ":", "if", "(", "(", "(", "INTVAL", "(", "addr", ")", "&", "3", ")", "==", "0", ")", "&&", "IN_RANGE", "(", "INTVAL", "(", "addr", ")", ",", "4", ",", "0xfffc", ")", ")", "return", "false", ";", "return", "true", ";", "case", "SYMBOL_REF", ":", "case", "LABEL_REF", ":", "return", "true", ";", "case", "MULT", ":", "return", "true", ";", "default", ":", "return", "true", ";", "}", "case", "CONST_INT", ":", "case", "SYMBOL_REF", ":", "case", "LABEL_REF", ":", "case", "REG", ":", "return", "false", ";", "default", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_MODE_DEPENDENT_ADDRESS_P", "."], "TS_V_token": ["rx", "0", "0", "1", "3", "0", "4", "0xfffc"], "File": "rx", "Func": "rx_mode_dependent_address_p", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14297, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "AArch64TTIImpl", "::", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "TTI", "::", "OperandValueKind", "Opd1Info", ",", "TTI", "::", "OperandValueKind", "Opd2Info", ",", "TTI", "::", "OperandValueProperties", "Opd1PropInfo", ",", "TTI", "::", "OperandValueProperties", "Opd2PropInfo", ",", "ArrayRef", "<", "const", "Value", "*", ">", "Args", ",", "const", "Instruction", "*", "CxtI", ")", "{", "std", "::", "pair", "<", "int", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "Ty", ")", ";", "int", "Cost", "=", "0", ";", "if", "(", "isWideningInstruction", "(", "Ty", ",", "Opcode", ",", "Args", ")", ")", "Cost", "+=", "ST", "->", "getWideningBaseCost", "(", ")", ";", "int", "ISD", "=", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", ";", "switch", "(", "ISD", ")", "{", "default", ":", "return", "Cost", "+", "BaseT", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "Opd1Info", ",", "Opd2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ")", ";", "case", "ISD", "::", "SDIV", ":", "if", "(", "Opd2Info", "==", "TargetTransformInfo", "::", "OK_UniformConstantValue", "&&", "Opd2PropInfo", "==", "TargetTransformInfo", "::", "OP_PowerOf2", ")", "{", "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", ";", "}", "LLVM_FALLTHROUGH", ";", "case", "ISD", "::", "UDIV", ":", "if", "(", "Opd2Info", "==", "TargetTransformInfo", "::", "OK_UniformConstantValue", ")", "{", "auto", "VT", "=", "TLI", "->", "getValueType", "(", "DL", ",", "Ty", ")", ";", "if", "(", "TLI", "->", "isOperationLegalOrCustom", "(", "ISD", "::", "MULHU", ",", "VT", ")", ")", "{", "int", "MulCost", "=", "getArithmeticInstrCost", "(", "Instruction", "::", "Mul", ",", "Ty", ",", "Opd1Info", ",", "Opd2Info", ",", "TargetTransformInfo", "::", "OP_None", ",", "TargetTransformInfo", "::", "OP_None", ")", ";", "int", "AddCost", "=", "getArithmeticInstrCost", "(", "Instruction", "::", "Add", ",", "Ty", ",", "Opd1Info", ",", "Opd2Info", ",", "TargetTransformInfo", "::", "OP_None", ",", "TargetTransformInfo", "::", "OP_None", ")", ";", "int", "ShrCost", "=", "getArithmeticInstrCost", "(", "Instruction", "::", "AShr", ",", "Ty", ",", "Opd1Info", ",", "Opd2Info", ",", "TargetTransformInfo", "::", "OP_None", ",", "TargetTransformInfo", "::", "OP_None", ")", ";", "return", "MulCost", "*", "2", "+", "AddCost", "*", "2", "+", "ShrCost", "*", "2", "+", "1", ";", "}", "}", "Cost", "+=", "BaseT", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "Opd1Info", ",", "Opd2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ")", ";", "if", "(", "Ty", "->", "isVectorTy", "(", ")", ")", "{", "Cost", "+=", "getArithmeticInstrCost", "(", "Instruction", "::", "ExtractElement", ",", "Ty", ",", "Opd1Info", ",", "Opd2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ")", ";", "Cost", "+=", "getArithmeticInstrCost", "(", "Instruction", "::", "InsertElement", ",", "Ty", ",", "Opd1Info", ",", "Opd2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ")", ";", "Cost", "+=", "Cost", ";", "}", "return", "Cost", ";", "case", "ISD", "::", "ADD", ":", "case", "ISD", "::", "MUL", ":", "case", "ISD", "::", "XOR", ":", "case", "ISD", "::", "OR", ":", "case", "ISD", "::", "AND", ":", "return", "(", "Cost", "+", "1", ")", "*", "LT", ".", "first", ";", "}", "}", ""], "natrual_language": ["This", "is", "an", "approximation", "of", "reciprocal", "throughput", "of", "a", "math/logic", "op", "."], "TS_V_token": ["AArch64", "AArch64", "0", "ISD::SDIV", "ISD::UDIV", "ISD::MULHU", "2", "2", "2", "1", "ISD::ADD", "ISD::MUL", "ISD::XOR", "ISD::OR", "ISD::AND", "1"], "File": "AArch64TargetTransformInfo41", "Func": "getArithmeticInstrCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14298, "Length": 485, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "rtx_code", "pru_noteq_condition", "(", "enum", "rtx_code", "code", ")", "{", "switch", "(", "code", ")", "{", "case", "GT", ":", "return", "GT", ";", "case", "GTU", ":", "return", "GTU", ";", "case", "GE", ":", "return", "GT", ";", "case", "GEU", ":", "return", "GTU", ";", "case", "LT", ":", "return", "LT", ";", "case", "LTU", ":", "return", "LTU", ";", "case", "LE", ":", "return", "LT", ";", "case", "LEU", ":", "return", "LTU", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Given", "a", "comparison", "CODE", ",", "return", "a", "similar", "comparison", "but", "without", "the", "``", "equals", "''", "condition", ".", "In", "other", "words", ",", "it", "strips", "GE/GEU/LE/LEU", "and", "instead", "returns", "GT/GTU/LT/LTU", "."], "TS_V_token": ["pru"], "File": "pru1", "Func": "pru_noteq_condition", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14299, "Length": 70, "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": 14300, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "bool", "Changed", "=", "false", ";", "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": "DelaySlotFiller1", "Func": "runOnMachineFunction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14301, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "LLVM_OVERRIDE", "{", "return", "\"ARM Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"ARM Assembly Printer\""], "File": "ARMAsmPrinter17", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14302, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 Insert Cache Prefetches\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 Insert Cache Prefetches\""], "File": "X86InsertPrefetch (2)", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14303, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMCodeEmitter", "::", "getMachineOpValue", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "&", "MO", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "II", "->", "getRegisterInfo", "(", ")", ".", "getEncodingValue", "(", "MO", ".", "getReg", "(", ")", ")", ";", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "else", "if", "(", "MO", ".", "isFPImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getFPImm", "(", ")", "->", "getValueAPF", "(", ")", ".", "bitcastToAPInt", "(", ")", ".", "getHiBits", "(", "32", ")", ".", "getLimitedValue", "(", ")", ")", ";", "else", "if", "(", "MO", ".", "isGlobal", "(", ")", ")", "emitGlobalAddress", "(", "MO", ".", "getGlobal", "(", ")", ",", "ARM", "::", "reloc_arm_branch", ",", "true", ",", "false", ")", ";", "else", "if", "(", "MO", ".", "isSymbol", "(", ")", ")", "emitExternalSymbolAddress", "(", "MO", ".", "getSymbolName", "(", ")", ",", "ARM", "::", "reloc_arm_branch", ")", ";", "else", "if", "(", "MO", ".", "isCPI", "(", ")", ")", "{", "const", "MCInstrDesc", "&", "MCID", "=", "MI", ".", "getDesc", "(", ")", ";", "unsigned", "Reloc", "=", "(", "(", "MCID", ".", "TSFlags", "&", "ARMII", "::", "FormMask", ")", "==", "ARMII", "::", "VFPLdStFrm", ")", "?", "ARM", "::", "reloc_arm_vfp_cp_entry", ":", "ARM", "::", "reloc_arm_cp_entry", ";", "emitConstPoolAddress", "(", "MO", ".", "getIndex", "(", ")", ",", "Reloc", ")", ";", "}", "else", "if", "(", "MO", ".", "isJTI", "(", ")", ")", "emitJumpTableAddress", "(", "MO", ".", "getIndex", "(", ")", ",", "ARM", "::", "reloc_arm_relative", ")", ";", "else", "if", "(", "MO", ".", "isMBB", "(", ")", ")", "emitMachineBasicBlock", "(", "MO", ".", "getMBB", "(", ")", ",", "ARM", "::", "reloc_arm_branch", ")", ";", "else", "llvm_unreachable", "(", "\"Unable to encode MachineOperand!\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["ARM", "ARM", "32", "ARM::reloc_arm_branch", "ARM::reloc_arm_branch", "ARMII::FormMask", "ARMII::VFPLdStFrm", "ARM::reloc_arm_vfp_cp_entry", "ARM::reloc_arm_cp_entry", "ARM::reloc_arm_relative", "ARM::reloc_arm_branch", "\"Unable to encode MachineOperand!\"", "0"], "File": "ARMCodeEmitter", "Func": "getMachineOpValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14304, "Length": 264, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "getMemOperandsWithOffsetWidth", "(", "const", "MachineInstr", "&", "MemOp", ",", "SmallVectorImpl", "<", "const", "MachineOperand", "*", ">", "&", "BaseOps", ",", "int64_t", "&", "Offset", ",", "bool", "&", "OffsetIsScalable", ",", "unsigned", "&", "Width", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "const", "MCInstrDesc", "&", "Desc", "=", "MemOp", ".", "getDesc", "(", ")", ";", "int", "MemRefBegin", "=", "X86II", "::", "getMemoryOperandNo", "(", "Desc", ".", "TSFlags", ")", ";", "if", "(", "MemRefBegin", "<", "0", ")", "return", "false", ";", "MemRefBegin", "+=", "X86II", "::", "getOperandBias", "(", "Desc", ")", ";", "const", "MachineOperand", "*", "BaseOp", "=", "&", "MemOp", ".", "getOperand", "(", "MemRefBegin", "+", "X86", "::", "AddrBaseReg", ")", ";", "if", "(", "!", "BaseOp", "->", "isReg", "(", ")", ")", "return", "false", ";", "if", "(", "MemOp", ".", "getOperand", "(", "MemRefBegin", "+", "X86", "::", "AddrScaleAmt", ")", ".", "getImm", "(", ")", "!=", "1", ")", "return", "false", ";", "if", "(", "MemOp", ".", "getOperand", "(", "MemRefBegin", "+", "X86", "::", "AddrIndexReg", ")", ".", "getReg", "(", ")", "!=", "X86", "::", "NoRegister", ")", "return", "false", ";", "const", "MachineOperand", "&", "DispMO", "=", "MemOp", ".", "getOperand", "(", "MemRefBegin", "+", "X86", "::", "AddrDisp", ")", ";", "if", "(", "!", "DispMO", ".", "isImm", "(", ")", ")", "return", "false", ";", "Offset", "=", "DispMO", ".", "getImm", "(", ")", ";", "if", "(", "!", "BaseOp", "->", "isReg", "(", ")", ")", "return", "false", ";", "OffsetIsScalable", "=", "false", ";", "Width", "=", "!", "MemOp", ".", "memoperands_empty", "(", ")", "?", "MemOp", ".", "memoperands", "(", ")", ".", "front", "(", ")", "->", "getSize", "(", ")", ":", "0", ";", "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": ["X86", "X86", "X86II::getMemoryOperandNo", "0", "X86II::getOperandBias", "X86::AddrBaseReg", "X86::AddrScaleAmt", "1", "X86::AddrIndexReg", "X86::NoRegister", "X86::AddrDisp", "0"], "File": "X86InstrInfo (2)3", "Func": "getMemOperandsWithOffsetWidth", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14305, "Length": 242, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "F2003fInstPrinter", "::", "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": ["F2003f", "F2003f"], "File": "F2003fInstPrinter", "Func": "printInst", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14306, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "const_ok_for_op", "(", "HOST_WIDE_INT", "i", ",", "enum", "rtx_code", "code", ")", "{", "if", "(", "const_ok_for_arm", "(", "i", ")", ")", "return", "1", ";", "switch", "(", "code", ")", "{", "case", "SET", ":", "if", "(", "arm_arch_thumb2", "&&", "(", "i", "&", "0xffff0000", ")", "==", "0", ")", "return", "1", ";", "else", "return", "const_ok_for_arm", "(", "ARM_SIGN_EXTEND", "(", "~", "i", ")", ")", ";", "case", "PLUS", ":", "if", "(", "TARGET_THUMB2", "&&", "(", "(", "i", "&", "0xfffff000", ")", "==", "0", "||", "(", "(", "-", "i", ")", "&", "0xfffff000", ")", "==", "0", ")", ")", "return", "1", ";", "case", "COMPARE", ":", "case", "EQ", ":", "case", "NE", ":", "case", "GT", ":", "case", "LE", ":", "case", "LT", ":", "case", "GE", ":", "case", "GEU", ":", "case", "LTU", ":", "case", "GTU", ":", "case", "LEU", ":", "case", "UNORDERED", ":", "case", "ORDERED", ":", "case", "UNEQ", ":", "case", "UNGE", ":", "case", "UNLT", ":", "case", "UNGT", ":", "case", "UNLE", ":", "return", "const_ok_for_arm", "(", "ARM_SIGN_EXTEND", "(", "-", "i", ")", ")", ";", "case", "MINUS", ":", "case", "XOR", ":", "return", "0", ";", "case", "IOR", ":", "if", "(", "TARGET_THUMB2", ")", "return", "const_ok_for_arm", "(", "ARM_SIGN_EXTEND", "(", "~", "i", ")", ")", ";", "return", "0", ";", "case", "AND", ":", "return", "const_ok_for_arm", "(", "ARM_SIGN_EXTEND", "(", "~", "i", ")", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "I", "is", "a", "valid", "constant", "for", "the", "operation", "CODE", "."], "TS_V_token": ["arm", "1", "0xffff0000", "0", "1", "0xfffff000", "0", "0xfffff000", "0", "1", "0", "0"], "File": "arm4", "Func": "const_ok_for_op", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14307, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc_expand_compare_and_swap", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "bval", ",", "retval", ",", "mem", ",", "oldval", ",", "newval", ";", "machine_mode", "mode", ";", "enum", "memmodel", "model", ";", "bval", "=", "operands", "[", "0", "]", ";", "retval", "=", "operands", "[", "1", "]", ";", "mem", "=", "operands", "[", "2", "]", ";", "oldval", "=", "operands", "[", "3", "]", ";", "newval", "=", "operands", "[", "4", "]", ";", "model", "=", "(", "enum", "memmodel", ")", "INTVAL", "(", "operands", "[", "6", "]", ")", ";", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "sparc_emit_membar_for_model", "(", "model", ",", "3", ",", "1", ")", ";", "if", "(", "reg_overlap_mentioned_p", "(", "retval", ",", "oldval", ")", ")", "oldval", "=", "copy_to_reg", "(", "oldval", ")", ";", "if", "(", "mode", "==", "QImode", "||", "mode", "==", "HImode", ")", "sparc_expand_compare_and_swap_12", "(", "bval", ",", "retval", ",", "mem", ",", "oldval", ",", "newval", ")", ";", "else", "{", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "rtx", "x", ";", "if", "(", "mode", "==", "SImode", ")", "gen", "=", "gen_atomic_compare_and_swapsi_1", ";", "else", "gen", "=", "gen_atomic_compare_and_swapdi_1", ";", "emit_insn", "(", "gen", "(", "retval", ",", "mem", ",", "oldval", ",", "newval", ")", ")", ";", "x", "=", "emit_store_flag", "(", "bval", ",", "EQ", ",", "retval", ",", "oldval", ",", "mode", ",", "1", ",", "1", ")", ";", "if", "(", "x", "!=", "bval", ")", "convert_move", "(", "bval", ",", "x", ",", "1", ")", ";", "}", "sparc_emit_membar_for_model", "(", "model", ",", "3", ",", "2", ")", ";", "}", ""], "natrual_language": ["Expand", "code", "to", "perform", "a", "compare-and-swap", "."], "TS_V_token": ["sparc", "0", "1", "2", "3", "4", "6", "3", "1", "1", "1", "1", "3", "2"], "File": "sparc", "Func": "sparc_expand_compare_and_swap", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14308, "Length": 225, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMELFStreamer", "::", "reset", "(", ")", "{", "MCTargetStreamer", "&", "TS", "=", "*", "getTargetStreamer", "(", ")", ";", "ARMTargetStreamer", "&", "ATS", "=", "static_cast", "<", "ARMTargetStreamer", "&", ">", "(", "TS", ")", ";", "ATS", ".", "reset", "(", ")", ";", "MappingSymbolCounter", "=", "0", ";", "MCELFStreamer", "::", "reset", "(", ")", ";", "getAssembler", "(", ")", ".", "setELFHeaderEFlags", "(", "ELF", "::", "EF_ARM_EABI_VER5", ")", ";", "}", ""], "natrual_language": ["Reset", "an", "existing", "scalar", "value", "for", "Def", "and", "a", "given", "Instance", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "0", "ARM"], "File": "ARMELFStreamer11", "Func": "reset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14309, "Length": 57, "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", ".", "getTarget", "(", ")", ".", "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": "X86FrameLowering115", "Func": "restoreCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14310, "Length": 290, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "TargetSubtargetInfo", "*", "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": ["CJG"], "File": "CJGTargetMachine", "Func": "getSubtargetImpl", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14311, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "PPCTargetLowering", "::", "emitMaskedAtomicRMWIntrinsic", "(", "IRBuilderBase", "&", "Builder", ",", "AtomicRMWInst", "*", "AI", ",", "Value", "*", "AlignedAddr", ",", "Value", "*", "Incr", ",", "Value", "*", "Mask", ",", "Value", "*", "ShiftAmt", ",", "AtomicOrdering", "Ord", ")", "const", "{", "assert", "(", "EnableQuadwordAtomics", "&&", "Subtarget", ".", "hasQuadwordAtomics", "(", ")", "&&", "\"Only support quadword now\"", ")", ";", "Module", "*", "M", "=", "Builder", ".", "GetInsertBlock", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "Type", "*", "ValTy", "=", "AlignedAddr", "->", "getType", "(", ")", "->", "getPointerElementType", "(", ")", ";", "assert", "(", "ValTy", "->", "getPrimitiveSizeInBits", "(", ")", "==", "128", ")", ";", "Function", "*", "RMW", "=", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "getIntrinsicForAtomicRMWBinOp128", "(", "AI", "->", "getOperation", "(", ")", ")", ")", ";", "Type", "*", "Int64Ty", "=", "Type", "::", "getInt64Ty", "(", "M", "->", "getContext", "(", ")", ")", ";", "Value", "*", "IncrLo", "=", "Builder", ".", "CreateTrunc", "(", "Incr", ",", "Int64Ty", ",", "\"incr_lo\"", ")", ";", "Value", "*", "IncrHi", "=", "Builder", ".", "CreateTrunc", "(", "Builder", ".", "CreateLShr", "(", "Incr", ",", "64", ")", ",", "Int64Ty", ",", "\"incr_hi\"", ")", ";", "Value", "*", "Addr", "=", "Builder", ".", "CreateBitCast", "(", "AlignedAddr", ",", "Type", "::", "getInt8PtrTy", "(", "M", "->", "getContext", "(", ")", ")", ")", ";", "Value", "*", "LoHi", "=", "Builder", ".", "CreateCall", "(", "RMW", ",", "{", "Addr", ",", "IncrLo", ",", "IncrHi", "}", ")", ";", "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\"", ")", ";", "}", ""], "natrual_language": ["Perform", "a", "masked", "atomicrmw", "using", "a", "target-specific", "intrinsic", "."], "TS_V_token": ["PowerPC", "PPC", "\"Only support quadword now\"", "128", "Intrinsic::getDeclaration", "\"incr_lo\"", "64", "\"incr_hi\"", "0", "\"lo\"", "1", "\"hi\"", "\"lo64\"", "\"hi64\"", "64", "\"val64\""], "File": "PPCISelLowering44", "Func": "emitMaskedAtomicRMWIntrinsic", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14312, "Length": 287, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "const", "MCObjectFileInfo", "::", "Environment", "Format", "=", "getContext", "(", ")", ".", "getObjectFileInfo", "(", ")", "->", "getObjectFileType", "(", ")", ";", "bool", "IsMachO", "=", "Format", "==", "MCObjectFileInfo", "::", "IsMachO", ";", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "SMLoc", "Loc", "=", "DirectiveID", ".", "getLoc", "(", ")", ";", "if", "(", "IDVal", "==", "\".arch\"", ")", "parseDirectiveArch", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".cpu\"", ")", "parseDirectiveCPU", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".tlsdesccall\"", ")", "parseDirectiveTLSDescCall", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".ltorg\"", "||", "IDVal", "==", "\".pool\"", ")", "parseDirectiveLtorg", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".unreq\"", ")", "parseDirectiveUnreq", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".inst\"", ")", "parseDirectiveInst", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".cfi_negate_ra_state\"", ")", "parseDirectiveCFINegateRAState", "(", ")", ";", "else", "if", "(", "IsMachO", ")", "{", "if", "(", "IDVal", "==", "MCLOHDirectiveName", "(", ")", ")", "parseDirectiveLOH", "(", "IDVal", ",", "Loc", ")", ";", "else", "return", "true", ";", "}", "else", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["AArch64", "AArch64", "\".arch\"", "\".cpu\"", "\".tlsdesccall\"", "\".ltorg\"", "\".pool\"", "\".unreq\"", "\".inst\"", "\".cfi_negate_ra_state\""], "File": "AArch64AsmParser3", "Func": "ParseDirective", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14313, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_split_fp_absneg_operator", "(", "enum", "rtx_code", "code", ",", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ")", "{", "enum", "rtx_code", "absneg_op", ";", "rtx", "dst", ",", "set", ";", "gcc_assert", "(", "operands_match_p", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ")", ")", ";", "switch", "(", "mode", ")", "{", "case", "E_SFmode", ":", "dst", "=", "gen_lowpart", "(", "SImode", ",", "operands", "[", "0", "]", ")", ";", "if", "(", "code", "==", "ABS", ")", "{", "set", "=", "gen_int_mode", "(", "0x7fffffff", ",", "SImode", ")", ";", "absneg_op", "=", "AND", ";", "}", "else", "{", "set", "=", "gen_int_mode", "(", "0x80000000", ",", "SImode", ")", ";", "absneg_op", "=", "XOR", ";", "}", "set", "=", "gen_rtx_fmt_ee", "(", "absneg_op", ",", "SImode", ",", "dst", ",", "set", ")", ";", "break", ";", "case", "E_DFmode", ":", "if", "(", "TARGET_64BIT", ")", "{", "dst", "=", "gen_lowpart", "(", "DImode", ",", "operands", "[", "0", "]", ")", ";", "dst", "=", "gen_rtx_ZERO_EXTRACT", "(", "DImode", ",", "dst", ",", "const1_rtx", ",", "GEN_INT", "(", "63", ")", ")", ";", "if", "(", "code", "==", "ABS", ")", "set", "=", "const0_rtx", ";", "else", "set", "=", "gen_rtx_NOT", "(", "DImode", ",", "dst", ")", ";", "}", "else", "{", "dst", "=", "gen_highpart", "(", "SImode", ",", "operands", "[", "0", "]", ")", ";", "if", "(", "code", "==", "ABS", ")", "{", "set", "=", "gen_int_mode", "(", "0x7fffffff", ",", "SImode", ")", ";", "absneg_op", "=", "AND", ";", "}", "else", "{", "set", "=", "gen_int_mode", "(", "0x80000000", ",", "SImode", ")", ";", "absneg_op", "=", "XOR", ";", "}", "set", "=", "gen_rtx_fmt_ee", "(", "absneg_op", ",", "SImode", ",", "dst", ",", "set", ")", ";", "}", "break", ";", "case", "E_XFmode", ":", "dst", "=", "gen_rtx_REG", "(", "SImode", ",", "REGNO", "(", "operands", "[", "0", "]", ")", "+", "(", "TARGET_64BIT", "?", "1", ":", "2", ")", ")", ";", "if", "(", "code", "==", "ABS", ")", "{", "set", "=", "GEN_INT", "(", "0x7fff", ")", ";", "absneg_op", "=", "AND", ";", "}", "else", "{", "set", "=", "GEN_INT", "(", "0x8000", ")", ";", "absneg_op", "=", "XOR", ";", "}", "set", "=", "gen_rtx_fmt_ee", "(", "absneg_op", ",", "SImode", ",", "dst", ",", "set", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "set", "=", "gen_rtx_SET", "(", "dst", ",", "set", ")", ";", "rtx", "clob", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "CCmode", ",", "FLAGS_REG", ")", ")", ";", "rtvec", "par", "=", "gen_rtvec", "(", "2", ",", "set", ",", "clob", ")", ";", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "par", ")", ")", ";", "}", ""], "natrual_language": ["Deconstruct", "a", "floating", "point", "ABS", "or", "NEG", "operation", "with", "integer", "registers", "into", "integer", "operations", "."], "TS_V_token": ["i386", "0", "1", "0", "0x7fffffff", "0x80000000", "0", "63", "0", "0x7fffffff", "0x80000000", "0", "1", "2", "0x7fff", "0x8000", "2"], "File": "i386-expand", "Func": "ix86_split_fp_absneg_operator", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14314, "Length": 365, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "if", "(", "IDVal", "==", "\".word\"", ")", "return", "parseDirectiveWord", "(", "4", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".thumb\"", ")", "return", "parseDirectiveThumb", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".arm\"", ")", "return", "parseDirectiveARM", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".thumb_func\"", ")", "return", "parseDirectiveThumbFunc", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".code\"", ")", "return", "parseDirectiveCode", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".syntax\"", ")", "return", "parseDirectiveSyntax", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".unreq\"", ")", "return", "parseDirectiveUnreq", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".arch\"", ")", "return", "parseDirectiveArch", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".eabi_attribute\"", ")", "return", "parseDirectiveEabiAttr", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".fnstart\"", ")", "return", "parseDirectiveFnStart", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".fnend\"", ")", "return", "parseDirectiveFnEnd", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".cantunwind\"", ")", "return", "parseDirectiveCantUnwind", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".personality\"", ")", "return", "parseDirectivePersonality", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".handlerdata\"", ")", "return", "parseDirectiveHandlerData", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".setfp\"", ")", "return", "parseDirectiveSetFP", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".pad\"", ")", "return", "parseDirectivePad", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".save\"", ")", "return", "parseDirectiveRegSave", "(", "DirectiveID", ".", "getLoc", "(", ")", ",", "false", ")", ";", "else", "if", "(", "IDVal", "==", "\".vsave\"", ")", "return", "parseDirectiveRegSave", "(", "DirectiveID", ".", "getLoc", "(", ")", ",", "true", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["ARM", "ARM", "\".word\"", "4", "\".thumb\"", "\".arm\"", "ARM", "\".thumb_func\"", "\".code\"", "\".syntax\"", "\".unreq\"", "\".arch\"", "\".eabi_attribute\"", "\".fnstart\"", "\".fnend\"", "\".cantunwind\"", "\".personality\"", "\".handlerdata\"", "\".setfp\"", "\".pad\"", "\".save\"", "\".vsave\""], "File": "ARMAsmParser (2)1", "Func": "ParseDirective", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14315, "Length": 333, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "verifyInstruction", "(", "const", "MachineInstr", "&", "MI", ",", "StringRef", "&", "ErrInfo", ")", "const", "{", "const", "MCInstrDesc", "&", "MCID", "=", "MI", ".", "getDesc", "(", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "MI", ".", "getNumOperands", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "I", ">=", "MCID", ".", "getNumOperands", "(", ")", ")", "break", ";", "const", "MachineOperand", "&", "Op", "=", "MI", ".", "getOperand", "(", "I", ")", ";", "const", "MCOperandInfo", "&", "MCOI", "=", "MCID", ".", "OpInfo", "[", "I", "]", ";", "if", "(", "MCOI", ".", "OperandType", "==", "MCOI", "::", "OPERAND_MEMORY", "&&", "(", "(", "MCOI", ".", "RegClass", "!=", "-", "1", "&&", "!", "Op", ".", "isReg", "(", ")", "&&", "!", "Op", ".", "isFI", "(", ")", ")", "||", "(", "MCOI", ".", "RegClass", "==", "-", "1", "&&", "!", "Op", ".", "isImm", "(", ")", ")", ")", ")", "{", "ErrInfo", "=", "\"Addressing mode operands corrupt!\"", ";", "return", "false", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Perform", "target-specific", "instruction", "verification", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "1", "1", "\"Addressing mode operands corrupt!\""], "File": "SystemZInstrInfo16", "Func": "verifyInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14316, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "MCObjectFormat", "&", "getObjectFormat", "(", ")", "const", "{", "return", "Format", ";", "}", ""], "natrual_language": ["Get", "the", "object", "format", "for", "this", "triple", "."], "TS_V_token": ["ARM"], "File": "ARMAsmBackend28", "Func": "getObjectFormat", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14317, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "sh_address_cost", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "addr_space_t", "as", "ATTRIBUTE_UNUSED", ",", "bool", "speed", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "REG_P", "(", "x", ")", "&&", "REGNO", "(", "x", ")", "==", "GBR_REG", ")", "return", "2", ";", "if", "(", "REG_P", "(", "x", ")", "||", "GET_CODE", "(", "x", ")", "==", "POST_INC", "||", "GET_CODE", "(", "x", ")", "==", "PRE_DEC", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "{", "if", "(", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "GBR_REG", "&&", "gbr_displacement", "(", "XEXP", "(", "x", ",", "1", ")", ",", "mode", ")", ")", "return", "2", ";", "const", "HOST_WIDE_INT", "offset", "=", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ";", "if", "(", "offset", "==", "0", ")", "return", "1", ";", "if", "(", "offset", ">", "0", "&&", "offset", "<=", "sh_max_mov_insn_displacement", "(", "mode", ",", "false", ")", ")", "return", "(", "mode", "==", "HImode", "||", "mode", "==", "QImode", ")", "?", "2", ":", "1", ";", "if", "(", "TARGET_SH2A", "&&", "offset", ">", "0", "&&", "offset", "<=", "sh_max_mov_insn_displacement", "(", "mode", ",", "true", ")", ")", "return", "2", ";", "return", "3", ";", "}", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "!", "CONSTANT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "return", "3", ";", "return", "10", ";", "}", ""], "natrual_language": ["Compute", "the", "cost", "of", "an", "address", ".", "For", "the", "SH", ",", "all", "valid", "addresses", "are", "the", "same", "cost", ".", "Use", "a", "slightly", "higher", "cost", "for", "reg", "+", "reg", "addressing", ",", "since", "it", "increases", "pressure", "on", "r0", "."], "TS_V_token": ["sh", "2", "1", "0", "1", "0", "1", "2", "1", "0", "1", "0", "2", "1", "0", "2", "3", "1", "3", "10"], "File": "sh", "Func": "sh_address_cost", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14318, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "isZExtFree", "(", "SDValue", "Val", ",", "EVT", "VT2", ")", "const", "{", "if", "(", "LoadSDNode", "*", "LD", "=", "dyn_cast", "<", "LoadSDNode", ">", "(", "Val", ")", ")", "{", "EVT", "MemVT", "=", "LD", "->", "getMemoryVT", "(", ")", ";", "if", "(", "(", "MemVT", "==", "MVT", "::", "i1", "||", "MemVT", "==", "MVT", "::", "i8", "||", "MemVT", "==", "MVT", "::", "i16", "||", "(", "Subtarget", ".", "isPPC64", "(", ")", "&&", "MemVT", "==", "MVT", "::", "i32", ")", ")", "&&", "(", "LD", "->", "getExtensionType", "(", ")", "==", "ISD", "::", "NON_EXTLOAD", "||", "LD", "->", "getExtensionType", "(", ")", "==", "ISD", "::", "ZEXTLOAD", ")", ")", "return", "true", ";", "}", "return", "TargetLowering", "::", "isZExtFree", "(", "Val", ",", "VT2", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "zero-extending", "the", "specific", "node", "Val", "to", "type", "VT2", "is", "free", "(", "either", "because", "it", "'s", "implicitly", "zero-extended", "such", "as", "ARM", "ldrb", "/", "ldrh", "or", "because", "it", "'s", "folded", "such", "as", "X86", "zero-extending", "loads", ")", "."], "TS_V_token": ["PowerPC", "PPC", "MVT::i1", "MVT::i8", "MVT::i16", "PPC", "MVT::i32", "ISD::NON_EXTLOAD", "ISD::ZEXTLOAD"], "File": "PPCISelLowering (2)2", "Func": "isZExtFree", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14319, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_v1ti_shift", "(", "enum", "rtx_code", "code", ",", "rtx", "operands", "[", "]", ")", "{", "rtx", "op1", "=", "force_reg", "(", "V1TImode", ",", "operands", "[", "1", "]", ")", ";", "if", "(", "!", "CONST_INT_P", "(", "operands", "[", "2", "]", ")", ")", "{", "rtx", "tmp1", "=", "ix86_expand_v1ti_to_ti", "(", "op1", ")", ";", "rtx", "tmp2", "=", "gen_reg_rtx", "(", "TImode", ")", ";", "rtx", "(", "*", "shift", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", "=", "(", "code", "==", "ASHIFT", ")", "?", "gen_ashlti3", ":", "gen_lshrti3", ";", "emit_insn", "(", "shift", "(", "tmp2", ",", "tmp1", ",", "operands", "[", "2", "]", ")", ")", ";", "rtx", "tmp3", "=", "ix86_expand_ti_to_v1ti", "(", "tmp2", ")", ";", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "tmp3", ")", ";", "return", ";", "}", "HOST_WIDE_INT", "bits", "=", "INTVAL", "(", "operands", "[", "2", "]", ")", "&", "127", ";", "if", "(", "bits", "==", "0", ")", "{", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "op1", ")", ";", "return", ";", "}", "if", "(", "(", "bits", "&", "7", ")", "==", "0", ")", "{", "rtx", "tmp", "=", "gen_reg_rtx", "(", "V1TImode", ")", ";", "if", "(", "code", "==", "ASHIFT", ")", "emit_insn", "(", "gen_sse2_ashlv1ti3", "(", "tmp", ",", "op1", ",", "GEN_INT", "(", "bits", ")", ")", ")", ";", "else", "emit_insn", "(", "gen_sse2_lshrv1ti3", "(", "tmp", ",", "op1", ",", "GEN_INT", "(", "bits", ")", ")", ")", ";", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "tmp", ")", ";", "return", ";", "}", "rtx", "tmp1", "=", "gen_reg_rtx", "(", "V1TImode", ")", ";", "if", "(", "code", "==", "ASHIFT", ")", "emit_insn", "(", "gen_sse2_ashlv1ti3", "(", "tmp1", ",", "op1", ",", "GEN_INT", "(", "64", ")", ")", ")", ";", "else", "emit_insn", "(", "gen_sse2_lshrv1ti3", "(", "tmp1", ",", "op1", ",", "GEN_INT", "(", "64", ")", ")", ")", ";", "rtx", "tmp2", "=", "force_reg", "(", "V2DImode", ",", "gen_lowpart", "(", "V2DImode", ",", "tmp1", ")", ")", ";", "rtx", "tmp3", "=", "gen_reg_rtx", "(", "V2DImode", ")", ";", "if", "(", "bits", ">", "64", ")", "{", "if", "(", "code", "==", "ASHIFT", ")", "emit_insn", "(", "gen_ashlv2di3", "(", "tmp3", ",", "tmp2", ",", "GEN_INT", "(", "bits", "-", "64", ")", ")", ")", ";", "else", "emit_insn", "(", "gen_lshrv2di3", "(", "tmp3", ",", "tmp2", ",", "GEN_INT", "(", "bits", "-", "64", ")", ")", ")", ";", "}", "else", "{", "rtx", "tmp4", "=", "force_reg", "(", "V2DImode", ",", "gen_lowpart", "(", "V2DImode", ",", "op1", ")", ")", ";", "rtx", "tmp5", "=", "gen_reg_rtx", "(", "V2DImode", ")", ";", "if", "(", "code", "==", "ASHIFT", ")", "emit_insn", "(", "gen_ashlv2di3", "(", "tmp5", ",", "tmp4", ",", "GEN_INT", "(", "bits", ")", ")", ")", ";", "else", "emit_insn", "(", "gen_lshrv2di3", "(", "tmp5", ",", "tmp4", ",", "GEN_INT", "(", "bits", ")", ")", ")", ";", "rtx", "tmp6", "=", "gen_reg_rtx", "(", "V2DImode", ")", ";", "if", "(", "code", "==", "ASHIFT", ")", "emit_insn", "(", "gen_lshrv2di3", "(", "tmp6", ",", "tmp2", ",", "GEN_INT", "(", "64", "-", "bits", ")", ")", ")", ";", "else", "emit_insn", "(", "gen_ashlv2di3", "(", "tmp6", ",", "tmp2", ",", "GEN_INT", "(", "64", "-", "bits", ")", ")", ")", ";", "emit_insn", "(", "gen_iorv2di3", "(", "tmp3", ",", "tmp5", ",", "tmp6", ")", ")", ";", "}", "rtx", "tmp7", "=", "force_reg", "(", "V1TImode", ",", "gen_lowpart", "(", "V1TImode", ",", "tmp3", ")", ")", ";", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "tmp7", ")", ";", "}", ""], "natrual_language": ["Expand", "V1TI", "mode", "shift", "(", "of", "rtx_code", "CODE", ")", "by", "constant", "."], "TS_V_token": ["i386", "1", "2", "2", "0", "2", "127", "0", "0", "7", "0", "0", "64", "64", "64", "64", "64", "64", "64", "0"], "File": "i386-expand", "Func": "ix86_expand_v1ti_shift", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14320, "Length": 482, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "SystemZInstrInfo", "::", "commuteInstructionImpl", "(", "MachineInstr", "&", "MI", ",", "bool", "NewMI", ",", "unsigned", "OpIdx1", ",", "unsigned", "OpIdx2", ")", "const", "{", "auto", "cloneIfNew", "=", "[", "NewMI", "]", "(", "MachineInstr", "&", "MI", ")", "->", "MachineInstr", "&", "{", "if", "(", "NewMI", ")", "return", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "CloneMachineInstr", "(", "&", "MI", ")", ";", "return", "MI", ";", "}", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "SystemZ", "::", "SELRMux", ":", "case", "SystemZ", "::", "SELFHR", ":", "case", "SystemZ", "::", "SELR", ":", "case", "SystemZ", "::", "SELGR", ":", "case", "SystemZ", "::", "LOCRMux", ":", "case", "SystemZ", "::", "LOCFHR", ":", "case", "SystemZ", "::", "LOCR", ":", "case", "SystemZ", "::", "LOCGR", ":", "{", "auto", "&", "WorkingMI", "=", "cloneIfNew", "(", "MI", ")", ";", "unsigned", "CCValid", "=", "WorkingMI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "unsigned", "CCMask", "=", "WorkingMI", ".", "getOperand", "(", "4", ")", ".", "getImm", "(", ")", ";", "WorkingMI", ".", "getOperand", "(", "4", ")", ".", "setImm", "(", "CCMask", "^", "CCValid", ")", ";", "return", "TargetInstrInfo", "::", "commuteInstructionImpl", "(", "WorkingMI", ",", "false", ",", "OpIdx1", ",", "OpIdx2", ")", ";", "}", "default", ":", "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": ["SystemZ", "SystemZ", "SystemZ::SELRMux", "SystemZ::SELFHR", "SystemZ::SELR", "SystemZ::SELGR", "SystemZ::LOCRMux", "SystemZ::LOCFHR", "SystemZ::LOCR", "SystemZ::LOCGR", "3", "4", "4"], "File": "SystemZInstrInfo16", "Func": "commuteInstructionImpl", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14321, "Length": 197, "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", "NumOps", "=", "Inst", ".", "getNumOperands", "(", ")", ";", "if", "(", "NumOps", "==", "0", ")", "return", "false", ";", "switch", "(", "Info", "->", "get", "(", "Inst", ".", "getOpcode", "(", ")", ")", ".", "OpInfo", "[", "NumOps", "-", "1", "]", ".", "OperandType", ")", "{", "case", "MCOI", "::", "OPERAND_UNKNOWN", ":", "case", "MCOI", "::", "OPERAND_IMMEDIATE", ":", "{", "uint64_t", "Region", "=", "Addr", "&", "~", "uint64_t", "(", "0xfffffff", ")", ";", "Target", "=", "Region", "+", "Inst", ".", "getOperand", "(", "NumOps", "-", "1", ")", ".", "getImm", "(", ")", ";", "return", "true", ";", "}", "case", "MCOI", "::", "OPERAND_PCREL", ":", "Target", "=", "Addr", "+", "Inst", ".", "getOperand", "(", "NumOps", "-", "1", ")", ".", "getImm", "(", ")", ";", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Given", "a", "branch", "instruction", "try", "to", "get", "the", "address", "the", "branch", "targets", "."], "TS_V_token": ["Mips", "0", "1", "0xfffffff", "1", "1"], "File": "MipsMCTargetDesc (2)1", "Func": "evaluateBranch", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14322, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isShift", "(", "MachineInstr", "*", "MI", ",", "int", "Opcode", ",", "int64_t", "Imm", ")", "{", "return", "(", "MI", "->", "getOpcode", "(", ")", "==", "Opcode", "&&", "!", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "==", "Imm", ")", ";", "}", ""], "natrual_language": ["Determine", "if", "the", "Opcode", "is", "one", "of", "the", "shift", "instructions", "."], "TS_V_token": ["SystemZ", "2", "3"], "File": "SystemZInstrInfo11", "Func": "isShift", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14323, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "*", "aarch64_output_simd_mov_immediate", "(", "rtx", "const_vector", ",", "machine_mode", "mode", ",", "unsigned", "width", ")", "{", "bool", "is_valid", ";", "static", "char", "templ", "[", "40", "]", ";", "const", "char", "*", "mnemonic", ";", "const", "char", "*", "shift_op", ";", "unsigned", "int", "lane_count", "=", "0", ";", "char", "element_char", ";", "struct", "simd_immediate_info", "info", "=", "{", "NULL_RTX", ",", "0", ",", "0", ",", "false", ",", "false", "}", ";", "is_valid", "=", "aarch64_simd_valid_immediate", "(", "const_vector", ",", "mode", ",", "false", ",", "&", "info", ")", ";", "gcc_assert", "(", "is_valid", ")", ";", "element_char", "=", "sizetochar", "(", "info", ".", "element_width", ")", ";", "lane_count", "=", "width", "/", "info", ".", "element_width", ";", "mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "if", "(", "mode", "==", "SFmode", "||", "mode", "==", "DFmode", ")", "{", "gcc_assert", "(", "info", ".", "shift", "==", "0", "&&", "!", "info", ".", "mvn", ")", ";", "if", "(", "aarch64_float_const_zero_rtx_p", "(", "info", ".", "value", ")", ")", "info", ".", "value", "=", "GEN_INT", "(", "0", ")", ";", "else", "{", "REAL_VALUE_TYPE", "r", ";", "REAL_VALUE_FROM_CONST_DOUBLE", "(", "r", ",", "info", ".", "value", ")", ";", "char", "float_buf", "[", "buf_size", "]", "=", "{", "'\\0'", "}", ";", "real_to_decimal_for_mode", "(", "float_buf", ",", "&", "r", ",", "buf_size", ",", "buf_size", ",", "1", ",", "mode", ")", ";", "if", "(", "lane_count", "==", "1", ")", "snprintf", "(", "templ", ",", "sizeof", "(", "templ", ")", ",", "\"fmov\\t%%d0, %s\"", ",", "float_buf", ")", ";", "else", "snprintf", "(", "templ", ",", "sizeof", "(", "templ", ")", ",", "\"fmov\\t%%0.%d%c, %s\"", ",", "lane_count", ",", "element_char", ",", "float_buf", ")", ";", "return", "templ", ";", "}", "}", "mnemonic", "=", "info", ".", "mvn", "?", "\"mvni\"", ":", "\"movi\"", ";", "shift_op", "=", "info", ".", "msl", "?", "\"msl\"", ":", "\"lsl\"", ";", "if", "(", "lane_count", "==", "1", ")", "snprintf", "(", "templ", ",", "sizeof", "(", "templ", ")", ",", "\"%s\\t%%d0, \"", "HOST_WIDE_INT_PRINT_HEX", ",", "mnemonic", ",", "UINTVAL", "(", "info", ".", "value", ")", ")", ";", "else", "if", "(", "info", ".", "shift", ")", "snprintf", "(", "templ", ",", "sizeof", "(", "templ", ")", ",", "\"%s\\t%%0.%d%c, \"", "HOST_WIDE_INT_PRINT_HEX", "\", %s %d\"", ",", "mnemonic", ",", "lane_count", ",", "element_char", ",", "UINTVAL", "(", "info", ".", "value", ")", ",", "shift_op", ",", "info", ".", "shift", ")", ";", "else", "snprintf", "(", "templ", ",", "sizeof", "(", "templ", ")", ",", "\"%s\\t%%0.%d%c, \"", "HOST_WIDE_INT_PRINT_HEX", ",", "mnemonic", ",", "lane_count", ",", "element_char", ",", "UINTVAL", "(", "info", ".", "value", ")", ")", ";", "return", "templ", ";", "}", ""], "natrual_language": ["Returns", "the", "string", "with", "the", "instruction", "for", "AdvSIMD", "MOVI", ",", "MVNI", ",", "ORR", "or", "BIC", "immediate", "with", "a", "CONST_VECTOR", "of", "MODE", "and", "WIDTH", ".", "WHICH", "selects", "whether", "to", "output", "MOVI/MVNI", ",", "ORR", "or", "BIC", "immediate", "."], "TS_V_token": ["aarch64", "40", "0", "0", "0", "0", "0", "1", "1", "\"fmov\\t%%d0, %s\"", "\"fmov\\t%%0.%d%c, %s\"", "\"mvni\"", "\"movi\"", "\"msl\"", "\"lsl\"", "1", "\"%s\\t%%d0, \"", "\"%s\\t%%0.%d%c, \"", "\", %s %d\"", "\"%s\\t%%0.%d%c, \""], "File": "aarch642", "Func": "aarch64_output_simd_mov_immediate", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14324, "Length": 348, "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", "(", "Inst", ".", "getNumOperands", "(", ")", "==", "0", "||", "Info", "->", "get", "(", "Inst", ".", "getOpcode", "(", ")", ")", ".", "OpInfo", "[", "0", "]", ".", "OperandType", "!=", "MCOI", "::", "OPERAND_PCREL", ")", "return", "false", ";", "int64_t", "Imm", "=", "Inst", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", "*", "4", ";", "Target", "=", "Addr", "+", "Imm", ";", "return", "true", ";", "}", ""], "natrual_language": ["Given", "a", "branch", "instruction", "try", "to", "get", "the", "address", "the", "branch", "targets", "."], "TS_V_token": ["AArch64", "0", "0", "0", "4"], "File": "AArch64MCTargetDesc28", "Func": "evaluateBranch", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14325, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "zero_all_st_registers", "(", "HARD_REG_SET", "need_zeroed_hardregs", ")", "{", "if", "(", "!", "(", "TARGET_80387", "||", "TARGET_FLOAT_RETURNS_IN_80387", ")", ")", "return", "0", ";", "unsigned", "int", "num_of_st", "=", "0", ";", "for", "(", "unsigned", "int", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "(", "STACK_REGNO_P", "(", "regno", ")", "||", "MMX_REGNO_P", "(", "regno", ")", ")", "&&", "TEST_HARD_REG_BIT", "(", "need_zeroed_hardregs", ",", "regno", ")", ")", "{", "num_of_st", "++", ";", "break", ";", "}", "if", "(", "num_of_st", "==", "0", ")", "return", "0", ";", "bool", "return_with_x87", "=", "false", ";", "return_with_x87", "=", "(", "crtl", "->", "return_rtx", "&&", "(", "STACK_REG_P", "(", "crtl", "->", "return_rtx", ")", ")", ")", ";", "bool", "complex_return", "=", "false", ";", "complex_return", "=", "(", "crtl", "->", "return_rtx", "&&", "COMPLEX_MODE_P", "(", "GET_MODE", "(", "crtl", "->", "return_rtx", ")", ")", ")", ";", "if", "(", "return_with_x87", ")", "if", "(", "complex_return", ")", "num_of_st", "=", "6", ";", "else", "num_of_st", "=", "7", ";", "else", "num_of_st", "=", "8", ";", "rtx", "st_reg", "=", "gen_rtx_REG", "(", "XFmode", ",", "FIRST_STACK_REG", ")", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "num_of_st", ";", "i", "++", ")", "emit_insn", "(", "gen_rtx_SET", "(", "st_reg", ",", "CONST0_RTX", "(", "XFmode", ")", ")", ")", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "num_of_st", ";", "i", "++", ")", "{", "rtx", "insn", ";", "insn", "=", "emit_insn", "(", "gen_rtx_SET", "(", "st_reg", ",", "st_reg", ")", ")", ";", "add_reg_note", "(", "insn", ",", "REG_DEAD", ",", "st_reg", ")", ";", "}", "return", "num_of_st", ";", "}", ""], "natrual_language": ["Generate", "insns", "to", "zero", "all", "st", "registers", "together", ".", "Return", "true", "when", "zeroing", "instructions", "are", "generated", ".", "Assume", "the", "number", "of", "st", "registers", "that", "are", "zeroed", "is", "num_of_st", ",", "we", "will", "emit", "the", "following", "sequence", "to", "zero", "them", "together", ":", "fldz", ";", "\\", "fldz", ";", "\\", "...", "fldz", ";", "\\", "fstp", "%", "%", "st", "(", "0", ")", ";", "\\", "fstp", "%", "%", "st", "(", "0", ")", ";", "\\", "...", "fstp", "%", "%", "st", "(", "0", ")", ";", "i.e.", ",", "num_of_st", "fldz", "followed", "by", "num_of_st", "fstp", "to", "clear", "the", "stack", "mark", "stack", "slots", "empty", ".", "How", "to", "compute", "the", "num_of_st", ":", "There", "is", "no", "direct", "mapping", "from", "stack", "registers", "to", "hard", "register", "numbers", ".", "If", "one", "stack", "register", "needs", "to", "be", "cleared", ",", "we", "do", "n't", "know", "where", "in", "the", "stack", "the", "value", "remains", ".", "So", ",", "if", "any", "stack", "register", "needs", "to", "be", "cleared", ",", "the", "whole", "stack", "should", "be", "cleared", ".", "However", ",", "x87", "stack", "registers", "that", "hold", "the", "return", "value", "should", "be", "excluded", ".", "x87", "returns", "in", "the", "top", "(", "two", "for", "complex", "values", ")", "register", ",", "so", "num_of_st", "should", "be", "7/6", "when", "x87", "returns", ",", "otherwise", "it", "will", "be", "8", "."], "TS_V_token": ["i386", "0", "0", "0", "0", "0", "6", "7", "8", "0", "0"], "File": "i386", "Func": "zero_all_st_registers", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14326, "Length": 228, "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": 14327, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "neon_vdup_constant", "(", "rtx", "vals", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "vals", ")", ";", "machine_mode", "inner_mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "rtx", "x", ";", "if", "(", "GET_CODE", "(", "vals", ")", "!=", "CONST_VECTOR", "||", "GET_MODE_SIZE", "(", "inner_mode", ")", ">", "4", ")", "return", "NULL_RTX", ";", "if", "(", "!", "const_vec_duplicate_p", "(", "vals", ",", "&", "x", ")", ")", "return", "NULL_RTX", ";", "x", "=", "copy_to_mode_reg", "(", "inner_mode", ",", "x", ")", ";", "return", "gen_rtx_VEC_DUPLICATE", "(", "mode", ",", "x", ")", ";", "}", ""], "natrual_language": ["Return", "a", "non-NULL", "RTX", "iff", "VALS", "is", "a", "vector", "constant", "that", "can", "be", "loaded", "into", "a", "register", "using", "VDUP", ".", "If", "this", "is", "the", "case", ",", "and", "GENERATE", "is", "set", ",", "we", "also", "generate", "instructions", "to", "do", "this", "and", "return", "an", "RTX", "to", "assign", "to", "the", "register", "."], "TS_V_token": ["arm", "4"], "File": "arm5", "Func": "neon_vdup_constant", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14328, "Length": 78, "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": 14329, "Length": 279, "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", "&&", "!", "is_complex_IBM_long_double", "(", "mode", ")", "&&", "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": "rs60006", "Func": "rs6000_function_arg_boundary", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14330, "Length": 266, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pa_init_libfuncs", "(", "void", ")", "{", "if", "(", "HPUX_LONG_DOUBLE_LIBRARY", ")", "{", "set_optab_libfunc", "(", "add_optab", ",", "TFmode", ",", "\"_U_Qfadd\"", ")", ";", "set_optab_libfunc", "(", "sub_optab", ",", "TFmode", ",", "\"_U_Qfsub\"", ")", ";", "set_optab_libfunc", "(", "smul_optab", ",", "TFmode", ",", "\"_U_Qfmpy\"", ")", ";", "set_optab_libfunc", "(", "sdiv_optab", ",", "TFmode", ",", "\"_U_Qfdiv\"", ")", ";", "set_optab_libfunc", "(", "smin_optab", ",", "TFmode", ",", "\"_U_Qmin\"", ")", ";", "set_optab_libfunc", "(", "smax_optab", ",", "TFmode", ",", "\"_U_Qfmax\"", ")", ";", "set_optab_libfunc", "(", "sqrt_optab", ",", "TFmode", ",", "\"_U_Qfsqrt\"", ")", ";", "set_optab_libfunc", "(", "abs_optab", ",", "TFmode", ",", "\"_U_Qfabs\"", ")", ";", "set_optab_libfunc", "(", "neg_optab", ",", "TFmode", ",", "\"_U_Qfneg\"", ")", ";", "set_optab_libfunc", "(", "eq_optab", ",", "TFmode", ",", "\"_U_Qfeq\"", ")", ";", "set_optab_libfunc", "(", "ne_optab", ",", "TFmode", ",", "\"_U_Qfne\"", ")", ";", "set_optab_libfunc", "(", "gt_optab", ",", "TFmode", ",", "\"_U_Qfgt\"", ")", ";", "set_optab_libfunc", "(", "ge_optab", ",", "TFmode", ",", "\"_U_Qfge\"", ")", ";", "set_optab_libfunc", "(", "lt_optab", ",", "TFmode", ",", "\"_U_Qflt\"", ")", ";", "set_optab_libfunc", "(", "le_optab", ",", "TFmode", ",", "\"_U_Qfle\"", ")", ";", "set_optab_libfunc", "(", "unord_optab", ",", "TFmode", ",", "\"_U_Qfunord\"", ")", ";", "set_conv_libfunc", "(", "sext_optab", ",", "TFmode", ",", "SFmode", ",", "\"_U_Qfcnvff_sgl_to_quad\"", ")", ";", "set_conv_libfunc", "(", "sext_optab", ",", "TFmode", ",", "DFmode", ",", "\"_U_Qfcnvff_dbl_to_quad\"", ")", ";", "set_conv_libfunc", "(", "trunc_optab", ",", "SFmode", ",", "TFmode", ",", "\"_U_Qfcnvff_quad_to_sgl\"", ")", ";", "set_conv_libfunc", "(", "trunc_optab", ",", "DFmode", ",", "TFmode", ",", "\"_U_Qfcnvff_quad_to_dbl\"", ")", ";", "set_conv_libfunc", "(", "sfix_optab", ",", "SImode", ",", "TFmode", ",", "TARGET_64BIT", "?", "\"__U_Qfcnvfxt_quad_to_sgl\"", ":", "\"_U_Qfcnvfxt_quad_to_sgl\"", ")", ";", "set_conv_libfunc", "(", "sfix_optab", ",", "DImode", ",", "TFmode", ",", "\"_U_Qfcnvfxt_quad_to_dbl\"", ")", ";", "set_conv_libfunc", "(", "ufix_optab", ",", "SImode", ",", "TFmode", ",", "\"_U_Qfcnvfxt_quad_to_usgl\"", ")", ";", "set_conv_libfunc", "(", "ufix_optab", ",", "DImode", ",", "TFmode", ",", "\"_U_Qfcnvfxt_quad_to_udbl\"", ")", ";", "set_conv_libfunc", "(", "sfloat_optab", ",", "TFmode", ",", "SImode", ",", "\"_U_Qfcnvxf_sgl_to_quad\"", ")", ";", "set_conv_libfunc", "(", "sfloat_optab", ",", "TFmode", ",", "DImode", ",", "\"_U_Qfcnvxf_dbl_to_quad\"", ")", ";", "set_conv_libfunc", "(", "ufloat_optab", ",", "TFmode", ",", "SImode", ",", "\"_U_Qfcnvxf_usgl_to_quad\"", ")", ";", "set_conv_libfunc", "(", "ufloat_optab", ",", "TFmode", ",", "DImode", ",", "\"_U_Qfcnvxf_udbl_to_quad\"", ")", ";", "}", "if", "(", "TARGET_SYNC_LIBCALLS", ")", "init_sync_libfuncs", "(", "MAX_SYNC_LIBFUNC_SIZE", ")", ";", "}", ""], "natrual_language": ["Initialize", "optabs", "to", "point", "to", "emulation", "routines", "."], "TS_V_token": ["pa", "\"_U_Qfadd\"", "\"_U_Qfsub\"", "\"_U_Qfmpy\"", "\"_U_Qfdiv\"", "\"_U_Qmin\"", "\"_U_Qfmax\"", "\"_U_Qfsqrt\"", "\"_U_Qfabs\"", "\"_U_Qfneg\"", "\"_U_Qfeq\"", "\"_U_Qfne\"", "\"_U_Qfgt\"", "\"_U_Qfge\"", "\"_U_Qflt\"", "\"_U_Qfle\"", "\"_U_Qfunord\"", "\"_U_Qfcnvff_sgl_to_quad\"", "\"_U_Qfcnvff_dbl_to_quad\"", "\"_U_Qfcnvff_quad_to_sgl\"", "\"_U_Qfcnvff_quad_to_dbl\"", "\"__U_Qfcnvfxt_quad_to_sgl\"", "\"_U_Qfcnvfxt_quad_to_sgl\"", "\"_U_Qfcnvfxt_quad_to_dbl\"", "\"_U_Qfcnvfxt_quad_to_usgl\"", "\"_U_Qfcnvfxt_quad_to_udbl\"", "\"_U_Qfcnvxf_sgl_to_quad\"", "\"_U_Qfcnvxf_dbl_to_quad\"", "\"_U_Qfcnvxf_usgl_to_quad\"", "\"_U_Qfcnvxf_udbl_to_quad\""], "File": "pa1", "Func": "pa_init_libfuncs", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14331, "Length": 303, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "pru_get_ctable_base_offset", "(", "unsigned", "HOST_WIDE_INT", "caddr", ")", "{", "int", "i", ";", "i", "=", "pru_get_ctable_base_index", "(", "caddr", ")", ";", "gcc_assert", "(", "i", ">=", "0", ")", ";", "return", "caddr", "-", "pru_ctable", "[", "i", "]", ".", "base", ";", "}", ""], "natrual_language": ["Return", "the", "offset", "from", "some", "CTABLE", "base", "for", "this", "address", "."], "TS_V_token": ["pru", "0"], "File": "pru", "Func": "pru_get_ctable_base_offset", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14332, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMSubtarget", "::", "ARMSubtarget", "(", "const", "Module", "&", "M", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "isThumb", ")", ":", "ARMArchVersion", "(", "V4T", ")", ",", "ARMFPUType", "(", "None", ")", ",", "IsThumb", "(", "isThumb", ")", ",", "ThumbMode", "(", "Thumb1", ")", ",", "UseThumbBacktraces", "(", "false", ")", ",", "IsR9Reserved", "(", "false", ")", ",", "stackAlignment", "(", "4", ")", ",", "CPUString", "(", "\"generic\"", ")", ",", "TargetType", "(", "isELF", ")", ",", "TargetABI", "(", "ARM_ABI_APCS", ")", "{", "CPUString", "=", "ParseSubtargetFeatures", "(", "FS", ",", "CPUString", ")", ";", "const", "std", "::", "string", "&", "TT", "=", "M", ".", "getTargetTriple", "(", ")", ";", "unsigned", "Len", "=", "TT", ".", "length", "(", ")", ";", "unsigned", "Idx", "=", "0", ";", "if", "(", "Len", ">=", "5", "&&", "TT", ".", "substr", "(", "0", ",", "4", ")", "==", "\"armv\"", ")", "Idx", "=", "4", ";", "else", "if", "(", "Len", ">=", "6", "&&", "TT", ".", "substr", "(", "0", ",", "6", ")", "==", "\"thumb\"", ")", "{", "IsThumb", "=", "true", ";", "if", "(", "Len", ">=", "7", "&&", "TT", "[", "5", "]", "==", "'v'", ")", "Idx", "=", "6", ";", "}", "if", "(", "Idx", ")", "{", "unsigned", "SubVer", "=", "TT", "[", "Idx", "]", ";", "if", "(", "SubVer", ">", "'4'", "&&", "SubVer", "<=", "'9'", ")", "{", "if", "(", "SubVer", ">=", "'7'", ")", "ARMArchVersion", "=", "V7A", ";", "else", "if", "(", "SubVer", "==", "'6'", ")", "ARMArchVersion", "=", "V6", ";", "else", "if", "(", "SubVer", "==", "'5'", ")", "{", "ARMArchVersion", "=", "V5T", ";", "if", "(", "Len", ">=", "Idx", "+", "3", "&&", "TT", "[", "Idx", "+", "1", "]", "==", "'t'", "&&", "TT", "[", "Idx", "+", "2", "]", "==", "'e'", ")", "ARMArchVersion", "=", "V5TE", ";", "}", "}", "}", "if", "(", "Len", ">=", "10", ")", "{", "if", "(", "TT", ".", "find", "(", "\"-darwin\"", ")", "!=", "std", "::", "string", "::", "npos", ")", "TargetType", "=", "isDarwin", ";", "}", "else", "if", "(", "TT", ".", "empty", "(", ")", ")", "{", "TargetType", "=", "isDarwin", ";", "}", "if", "(", "TT", ".", "find", "(", "\"eabi\"", ")", "!=", "std", "::", "string", "::", "npos", ")", "TargetABI", "=", "ARM_ABI_AAPCS", ";", "if", "(", "isAAPCS_ABI", "(", ")", ")", "stackAlignment", "=", "8", ";", "if", "(", "isTargetDarwin", "(", ")", ")", "{", "UseThumbBacktraces", "=", "true", ";", "IsR9Reserved", "=", "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", "0", "5", "0", "4", "\"armv\"", "4", "6", "0", "6", "\"thumb\"", "7", "5", "6", "ARM", "ARM", "ARM", "3", "1", "2", "ARM", "10", "\"-darwin\"", "\"eabi\"", "ARM", "8"], "File": "ARMSubtarget25", "Func": "ARMSubtarget", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14333, "Length": 346, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "X86FrameLowering", "::", "emitStackProbe", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "DebugLoc", "&", "DL", ",", "bool", "InProlog", ")", "const", "{", "const", "X86Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "STI", ".", "isTargetWindowsCoreCLR", "(", ")", ")", "{", "if", "(", "InProlog", ")", "{", "return", "emitStackProbeInlineStub", "(", "MF", ",", "MBB", ",", "MBBI", ",", "DL", ",", "true", ")", ";", "}", "else", "{", "return", "emitStackProbeInline", "(", "MF", ",", "MBB", ",", "MBBI", ",", "DL", ",", "false", ")", ";", "}", "}", "else", "{", "return", "emitStackProbeCall", "(", "MF", ",", "MBB", ",", "MBBI", ",", "DL", ",", "InProlog", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "target", "stack", "probe", "code", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86FrameLowering102", "Func": "emitStackProbe", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14334, "Length": 108, "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", ".", "isOSWindows", "(", ")", "&&", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", "||", "TT", ".", "isPS4", "(", ")", "||", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "{", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "this", "->", "Options", ".", "NoTrapAfterNoreturn", "=", "TT", ".", "isOSBinFormatMachO", "(", ")", ";", "}", "if", "(", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", "setMachineOutliner", "(", "true", ")", ";", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "X86", "target", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86TargetMachine105", "Func": "X86TargetMachine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14335, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "long", "arm_compute_func_type", "(", "void", ")", "{", "unsigned", "long", "type", "=", "ARM_FT_UNKNOWN", ";", "tree", "a", ";", "tree", "attr", ";", "gcc_assert", "(", "TREE_CODE", "(", "current_function_decl", ")", "==", "FUNCTION_DECL", ")", ";", "if", "(", "optimize", ">", "0", "&&", "(", "TREE_NOTHROW", "(", "current_function_decl", ")", "||", "!", "(", "flag_unwind_tables", "||", "(", "flag_exceptions", "&&", "!", "USING_SJLJ_EXCEPTIONS", ")", ")", ")", "&&", "TREE_THIS_VOLATILE", "(", "current_function_decl", ")", ")", "type", "|=", "ARM_FT_VOLATILE", ";", "if", "(", "cfun", "->", "static_chain_decl", "!=", "NULL", ")", "type", "|=", "ARM_FT_NESTED", ";", "attr", "=", "DECL_ATTRIBUTES", "(", "current_function_decl", ")", ";", "a", "=", "lookup_attribute", "(", "\"naked\"", ",", "attr", ")", ";", "if", "(", "a", "!=", "NULL_TREE", ")", "type", "|=", "ARM_FT_NAKED", ";", "a", "=", "lookup_attribute", "(", "\"isr\"", ",", "attr", ")", ";", "if", "(", "a", "==", "NULL_TREE", ")", "a", "=", "lookup_attribute", "(", "\"interrupt\"", ",", "attr", ")", ";", "if", "(", "a", "==", "NULL_TREE", ")", "type", "|=", "TARGET_INTERWORK", "?", "ARM_FT_INTERWORKED", ":", "ARM_FT_NORMAL", ";", "else", "type", "|=", "arm_isr_value", "(", "TREE_VALUE", "(", "a", ")", ")", ";", "return", "type", ";", "}", ""], "natrual_language": ["Computes", "the", "type", "of", "the", "current", "function", "."], "TS_V_token": ["arm", "0", "\"naked\"", "\"isr\"", "\"interrupt\""], "File": "arm3", "Func": "arm_compute_func_type", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14336, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "machine_function", "*", "ix86_init_machine_status", "(", "void", ")", "{", "struct", "machine_function", "*", "f", ";", "f", "=", "ggc_cleared_alloc", "<", "machine_function", ">", "(", ")", ";", "f", "->", "call_abi", "=", "ix86_abi", ";", "return", "f", ";", "}", ""], "natrual_language": ["Clear", "stack", "slot", "assignments", "remembered", "from", "previous", "functions", ".", "This", "is", "called", "from", "INIT_EXPANDERS", "once", "before", "RTL", "is", "emitted", "for", "each", "function", "."], "TS_V_token": ["i386"], "File": "i3867", "Func": "ix86_init_machine_status", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14337, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LC3RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineOperand", "&", "FIOp", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ";", "unsigned", "FI", "=", "FIOp", ".", "getIndex", "(", ")", ";", "unsigned", "ImmOpIdx", "=", "0", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", ";", "case", "LC3", "::", "LDR", ":", "case", "LC3", "::", "STR", ":", "ImmOpIdx", "=", "FIOperandNum", "+", "1", ";", "break", ";", "}", "MachineOperand", "&", "ImmOp", "=", "MI", ".", "getOperand", "(", "ImmOpIdx", ")", ";", "int", "Offset", "=", "MFI", "->", "getObjectOffset", "(", "FI", ")", "+", "MFI", "->", "getStackSize", "(", ")", "+", "ImmOp", ".", "getImm", "(", ")", ";", "FIOp", ".", "ChangeToRegister", "(", "LC3", "::", "SP", ",", "false", ")", ";", "ImmOp", ".", "setImm", "(", "Offset", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["LC3", "LC3", "0", "LC3::LDR", "LC3::STR", "1", "LC3::SP"], "File": "LC3RegisterInfo", "Func": "eliminateFrameIndex", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14338, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16RegisterInfo", "::", "saveScavengerRegister", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "MachineBasicBlock", "::", "iterator", "&", "UseMI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "unsigned", "Reg", ")", "const", "{", "DebugLoc", "DL", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MBB", ".", "getParent", "(", ")", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "TII", ".", "copyPhysReg", "(", "MBB", ",", "I", ",", "DL", ",", "Mips", "::", "T0", ",", "Reg", ",", "true", ")", ";", "TII", ".", "copyPhysReg", "(", "MBB", ",", "UseMI", ",", "DL", ",", "Reg", ",", "Mips", "::", "T0", ",", "true", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Spill", "the", "register", "so", "it", "can", "be", "used", "by", "the", "register", "scavenger", "."], "TS_V_token": ["Mips", "Mips", "Mips::T0", "Mips::T0"], "File": "Mips16RegisterInfo16", "Func": "saveScavengerRegister", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14339, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "crx_interrupt_function_p", "(", "void", ")", "{", "tree", "attributes", ";", "attributes", "=", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "current_function_decl", ")", ")", ";", "return", "lookup_attribute", "(", "\"interrupt\"", ",", "attributes", ")", "!=", "NULL_TREE", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "the", "current", "function", "being", "compiled", "is", "an", "interrupt", "*", "function", "as", "specified", "by", "the", "``", "interrupt", "''", "attribute", "."], "TS_V_token": ["crx", "\"interrupt\""], "File": "crx", "Func": "crx_interrupt_function_p", "Target": "crx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14340, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseTargetMachine", "::", "addInstSelector", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "PM", ".", "add", "(", "createARMISelDag", "(", "*", "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": ["ARM", "ARM", "ARM"], "File": "ARMTargetMachine23", "Func": "addInstSelector", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14341, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "AArch64RegisterInfo", "::", "getThisReturnPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "assert", "(", "CC", "!=", "CallingConv", "::", "GHC", "&&", "\"should not be GHC calling convention.\"", ")", ";", "if", "(", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isTargetDarwin", "(", ")", ")", "return", "CSR_Darwin_AArch64_AAPCS_ThisReturn_RegMask", ";", "else", "return", "CSR_AArch64_AAPCS_ThisReturn_RegMask", ";", "}", ""], "natrual_language": ["getThisReturnPreservedMask", "-", "Returns", "a", "call", "preserved", "mask", "specific", "to", "the", "case", "that", "'returned", "'", "is", "on", "an", "i32", "first", "argument", "if", "the", "calling", "convention", "is", "one", "that", "can", "(", "partially", ")", "model", "this", "attribute", "with", "a", "preserved", "mask", "(", "i.e", "."], "TS_V_token": ["AArch64", "AArch64", "\"should not be GHC calling convention.\"", "AArch64", "AArch64", "AArch64"], "File": "AArch64RegisterInfo67", "Func": "getThisReturnPreservedMask", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14342, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_emit_approx_sqrt", "(", "rtx", "dst", ",", "rtx", "src", ",", "bool", "recp", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "dst", ")", ";", "if", "(", "GET_MODE_INNER", "(", "mode", ")", "==", "HFmode", ")", "{", "gcc_assert", "(", "!", "recp", ")", ";", "return", "false", ";", "}", "if", "(", "!", "recp", ")", "{", "if", "(", "!", "(", "flag_mlow_precision_sqrt", "||", "(", "aarch64_tune_params", ".", "approx_modes", "->", "sqrt", "&", "AARCH64_APPROX_MODE", "(", "mode", ")", ")", ")", ")", "return", "false", ";", "if", "(", "flag_finite_math_only", "||", "flag_trapping_math", "||", "!", "flag_unsafe_math_optimizations", "||", "optimize_function_for_size_p", "(", "cfun", ")", ")", "return", "false", ";", "}", "else", "gcc_assert", "(", "use_rsqrt_p", "(", "mode", ")", ")", ";", "machine_mode", "mmsk", "=", "mode_for_int_vector", "(", "mode", ")", ".", "require", "(", ")", ";", "rtx", "xmsk", "=", "gen_reg_rtx", "(", "mmsk", ")", ";", "if", "(", "!", "recp", ")", "emit_insn", "(", "gen_rtx_SET", "(", "xmsk", ",", "gen_rtx_NEG", "(", "mmsk", ",", "gen_rtx_EQ", "(", "mmsk", ",", "src", ",", "CONST0_RTX", "(", "mode", ")", ")", ")", ")", ")", ";", "rtx", "xdst", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "(", "*", "get_rsqrte_type", "(", "mode", ")", ")", "(", "xdst", ",", "src", ")", ")", ";", "int", "iterations", "=", "(", "GET_MODE_INNER", "(", "mode", ")", "==", "DFmode", ")", "?", "3", ":", "2", ";", "if", "(", "(", "recp", "&&", "flag_mrecip_low_precision_sqrt", ")", "||", "(", "!", "recp", "&&", "flag_mlow_precision_sqrt", ")", ")", "iterations", "--", ";", "rtx", "x1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "while", "(", "iterations", "--", ")", "{", "rtx", "x2", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_set_insn", "(", "x2", ",", "gen_rtx_MULT", "(", "mode", ",", "xdst", ",", "xdst", ")", ")", ";", "emit_insn", "(", "(", "*", "get_rsqrts_type", "(", "mode", ")", ")", "(", "x1", ",", "src", ",", "x2", ")", ")", ";", "if", "(", "iterations", ">", "0", ")", "emit_set_insn", "(", "xdst", ",", "gen_rtx_MULT", "(", "mode", ",", "xdst", ",", "x1", ")", ")", ";", "}", "if", "(", "!", "recp", ")", "{", "rtx", "xtmp", "=", "gen_reg_rtx", "(", "mmsk", ")", ";", "emit_set_insn", "(", "xtmp", ",", "gen_rtx_AND", "(", "mmsk", ",", "gen_rtx_NOT", "(", "mmsk", ",", "xmsk", ")", ",", "gen_rtx_SUBREG", "(", "mmsk", ",", "xdst", ",", "0", ")", ")", ")", ";", "emit_move_insn", "(", "xdst", ",", "gen_rtx_SUBREG", "(", "mode", ",", "xtmp", ",", "0", ")", ")", ";", "emit_set_insn", "(", "xdst", ",", "gen_rtx_MULT", "(", "mode", ",", "xdst", ",", "src", ")", ")", ";", "}", "emit_set_insn", "(", "dst", ",", "gen_rtx_MULT", "(", "mode", ",", "xdst", ",", "x1", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Emit", "instruction", "sequence", "to", "compute", "either", "the", "approximate", "square", "root", "or", "its", "approximate", "reciprocal", ",", "depending", "on", "the", "flag", "RECP", ",", "and", "return", "whether", "the", "sequence", "was", "emitted", "or", "not", "."], "TS_V_token": ["aarch64", "3", "2", "0", "0", "0"], "File": "aarch645", "Func": "aarch64_emit_approx_sqrt", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14343, "Length": 367, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "LC3bTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "LC3bPassConfig", "(", "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": ["LC3b", "LC3b", "LC3b"], "File": "LC3bTargetMachine", "Func": "createPassConfig", "Target": "LC3b", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14344, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CCAssignFn", "*", "CSKYTargetLowering", "::", "CCAssignFnForReturn", "(", "CallingConv", "::", "ID", "CC", ",", "bool", "IsVarArg", ")", "const", "{", "if", "(", "IsVarArg", "||", "!", "Subtarget", ".", "useHardFloatABI", "(", ")", ")", "return", "RetCC_CSKY_ABIV2_SOFT", ";", "else", "return", "RetCC_CSKY_ABIV2_FP", ";", "}", ""], "natrual_language": ["Selects", "the", "correct", "CCAssignFn", "for", "a", "given", "CallingConvention", "value", "."], "TS_V_token": ["CSKY", "CSKY", "CSKY", "CSKY"], "File": "CSKYISelLowering", "Func": "CCAssignFnForReturn", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14345, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getOffsetReg", "(", ")", "const", "{", "return", "OffsetReg", ";", "}", ""], "natrual_language": ["Get", "the", "offset", "register", "of", "the", "pointer", "value", "."], "TS_V_token": ["AArch64"], "File": "AArch64FastISel (2)", "Func": "getOffsetReg", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14346, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "LegalizerInfo", "*", "ARMSubtarget", "::", "getLegalizerInfo", "(", ")", "const", "{", "return", "Legalizer", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Expose", "LegalizerInfo", "so", "the", "clients", "can", "re-use", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMSubtarget", "Func": "getLegalizerInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14347, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_asm_output_addr_const_extra", "(", "FILE", "*", "file", ",", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", ")", "{", "switch", "(", "XINT", "(", "x", ",", "1", ")", ")", "{", "case", "UNSPEC_PIC", ":", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "break", ";", "case", "UNSPEC_GOT", ":", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "fputs", "(", "\"@GOT\"", ",", "file", ")", ";", "break", ";", "case", "UNSPEC_GOTOFF", ":", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "fputs", "(", "\"@GOTOFF\"", ",", "file", ")", ";", "break", ";", "case", "UNSPEC_PLT", ":", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "fputs", "(", "\"@PLT\"", ",", "file", ")", ";", "break", ";", "case", "UNSPEC_GOTPLT", ":", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "fputs", "(", "\"@GOTPLT\"", ",", "file", ")", ";", "break", ";", "case", "UNSPEC_PCREL", ":", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "fputs", "(", "\"@PCREL\"", ",", "file", ")", ";", "break", ";", "case", "UNSPEC_DTPOFF", ":", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "fputs", "(", "\"@DTPOFF\"", ",", "file", ")", ";", "break", ";", "case", "UNSPEC_GOTTPOFF", ":", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "fputs", "(", "\"@GOTTPOFF\"", ",", "file", ")", ";", "break", ";", "case", "UNSPEC_TPOFF", ":", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "fputs", "(", "\"@TPOFF\"", ",", "file", ")", ";", "break", ";", "case", "UNSPEC_CALLER", ":", "{", "char", "name", "[", "32", "]", ";", "targetm", ".", "asm_out", ".", "generate_internal_label", "(", "name", ",", "\"LPCS\"", ",", "INTVAL", "(", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ")", ";", "assemble_name", "(", "file", ",", "name", ")", ";", "}", "break", ";", "case", "UNSPEC_SYMOFF", ":", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "fputc", "(", "'-'", ",", "file", ")", ";", "if", "(", "GET_CODE", "(", "XVECEXP", "(", "x", ",", "0", ",", "1", ")", ")", "==", "CONST", ")", "{", "fputc", "(", "'('", ",", "file", ")", ";", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "1", ")", ")", ";", "fputc", "(", "')'", ",", "file", ")", ";", "}", "else", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "1", ")", ")", ";", "break", ";", "case", "UNSPEC_PCREL_SYMOFF", ":", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "fputs", "(", "\"-(\"", ",", "file", ")", ";", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "1", ")", ")", ";", "fputs", "(", "\"-.)\"", ",", "file", ")", ";", "break", ";", "case", "UNSPEC_GOTFUNCDESC", ":", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "fputs", "(", "\"@GOTFUNCDESC\"", ",", "file", ")", ";", "break", ";", "case", "UNSPEC_GOTOFFFUNCDESC", ":", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "fputs", "(", "\"@GOTOFFFUNCDESC\"", ",", "file", ")", ";", "break", ";", "default", ":", "return", "false", ";", "}", "return", "true", ";", "}", "else", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA", "."], "TS_V_token": ["sh", "1", "0", "0", "0", "0", "\"@GOT\"", "0", "0", "\"@GOTOFF\"", "0", "0", "\"@PLT\"", "0", "0", "\"@GOTPLT\"", "0", "0", "\"@PCREL\"", "0", "0", "\"@DTPOFF\"", "0", "0", "\"@GOTTPOFF\"", "0", "0", "\"@TPOFF\"", "32", "\"LPCS\"", "0", "0", "0", "0", "0", "1", "0", "1", "0", "1", "0", "0", "\"-(\"", "0", "1", "\"-.)\"", "0", "0", "\"@GOTFUNCDESC\"", "0", "0", "\"@GOTOFFFUNCDESC\""], "File": "sh", "Func": "sh_asm_output_addr_const_extra", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14348, "Length": 503, "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", ";", "Attribute", "SFAttr", "=", "F", ".", "getFnAttribute", "(", "\"use-soft-float\"", ")", ";", "bool", "SoftFloat", "=", "!", "SFAttr", ".", "hasAttribute", "(", "Attribute", "::", "None", ")", "?", "SFAttr", ".", "getValueAsString", "(", ")", "==", "\"true\"", ":", "Options", ".", "UseSoftFloat", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "CPU", "+", "FS", "+", "(", "SoftFloat", "?", "\"use-soft-float=true\"", ":", "\"use-soft-float=false\"", ")", "]", ";", "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\"", "\"true\"", "\"use-soft-float=true\"", "\"use-soft-float=false\"", "X86"], "File": "X86TargetMachine117", "Func": "getSubtargetImpl", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14349, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "runOnFunction", "(", "Function", "&", "Fn", ")", "{", "GlobalBaseReg", "=", "0", ";", "SelectionDAGISel", "::", "runOnFunction", "(", "Fn", ")", ";", "InsertVRSaveCode", "(", "Fn", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["PowerPC", "0"], "File": "PPCISelDAGToDAG76", "Func": "runOnFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14350, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_sched_reorder2", "(", "FILE", "*", "dump", ",", "int", "sched_verbose", ",", "rtx_insn", "*", "*", "ready", ",", "int", "*", "pn_ready", ",", "int", "clock_var", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "sched_verbose", ")", "fprintf", "(", "dump", ",", "\"// rs6000_sched_reorder2 :\\n\"", ")", ";", "if", "(", "rs6000_tune", "==", "PROCESSOR_POWER6", "&&", "last_scheduled_insn", ")", "return", "power6_sched_reorder2", "(", "ready", ",", "*", "pn_ready", "-", "1", ")", ";", "if", "(", "rs6000_tune", "==", "PROCESSOR_POWER9", "&&", "last_scheduled_insn", "&&", "recog_memoized", "(", "last_scheduled_insn", ")", ">=", "0", ")", "return", "power9_sched_reorder2", "(", "ready", ",", "*", "pn_ready", "-", "1", ")", ";", "if", "(", "rs6000_tune", "==", "PROCESSOR_POWER10", "&&", "last_scheduled_insn", ")", "return", "power10_sched_reorder", "(", "ready", ",", "*", "pn_ready", "-", "1", ")", ";", "return", "cached_can_issue_more", ";", "}", ""], "natrual_language": ["Like", "rs6000_sched_reorder", ",", "but", "called", "after", "issuing", "each", "insn", "."], "TS_V_token": ["rs6000", "\"// rs6000_sched_reorder2 :\\n\"", "1", "0", "1", "1"], "File": "rs6000", "Func": "rs6000_sched_reorder2", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14351, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "MipsRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "MipsSubtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "const", "Function", "*", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "if", "(", "F", "->", "hasFnAttribute", "(", "\"interrupt\"", ")", ")", "{", "if", "(", "Subtarget", ".", "hasMips64", "(", ")", ")", "return", "Subtarget", ".", "hasMips64r6", "(", ")", "?", "CSR_Interrupt_64R6_SaveList", ":", "CSR_Interrupt_64_SaveList", ";", "else", "return", "Subtarget", ".", "hasMips32r6", "(", ")", "?", "CSR_Interrupt_32R6_SaveList", ":", "CSR_Interrupt_32_SaveList", ";", "}", "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", ";", "if", "(", "Subtarget", ".", "isFPXX", "(", ")", ")", "return", "CSR_O32_FPXX_SaveList", ";", "return", "CSR_O32_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "\"interrupt\"", "Mips", "Mips", "Mips"], "File": "MipsRegisterInfo (2)1", "Func": "getCalleeSavedRegs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14352, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMHazardRecognizer", "::", "EmitInstruction", "(", "SUnit", "*", "SU", ")", "{", "MachineInstr", "*", "MI", "=", "SU", "->", "getInstr", "(", ")", ";", "if", "(", "!", "MI", "->", "isDebugInstr", "(", ")", ")", "{", "LastMI", "=", "MI", ";", "FpMLxStalls", "=", "0", ";", "}", "ScoreboardHazardRecognizer", "::", "EmitInstruction", "(", "SU", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["ARM", "ARM", "0"], "File": "ARMHazardRecognizer (2)", "Func": "EmitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14353, "Length": 47, "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)1", "Func": "isUnpredicatedTerminator", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14354, "Length": 62, "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", ";", "break", ";", "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": ["powerpcspe", "0", "0", "0", "1", "0", "0", "1", "0"], "File": "powerpcspe", "Func": "altivec_expand_ld_builtin", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14355, "Length": 289, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "int64_t", "Amount", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "Mips", "::", "ADJCALLSTACKDOWN", ")", "Amount", "=", "-", "Amount", ";", "const", "Mips16InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "Mips16InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TII", ".", "adjustStackPtr", "(", "Mips", "::", "SP", ",", "Amount", ",", "MBB", ",", "I", ")", ";", "}", "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": ["Mips", "Mips", "0", "Mips::ADJCALLSTACKDOWN", "Mips", "Mips", "Mips::SP"], "File": "Mips16FrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14356, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MipsFunctionInfo", "*", "MipsFI", "=", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "const", "MipsInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "MipsInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "int", "NumBytes", "=", "(", "int", ")", "MFI", "->", "getStackSize", "(", ")", ";", "int", "FPOffset", "=", "MipsFI", "->", "getFPStackOffset", "(", ")", ";", "int", "RAOffset", "=", "MipsFI", "->", "getRAStackOffset", "(", ")", ";", "unsigned", "NewReg", "=", "0", ";", "int", "NewImm", "=", "0", ";", "bool", "ATUsed", "=", "false", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "ADDu", ")", ",", "Mips", "::", "SP", ")", ".", "addReg", "(", "Mips", "::", "FP", ")", ".", "addReg", "(", "Mips", "::", "ZERO", ")", ";", "ATUsed", "=", "expandRegLargeImmPair", "(", "Mips", "::", "SP", ",", "FPOffset", ",", "NewReg", ",", "NewImm", ",", "MBB", ",", "MBBI", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "LW", ")", ",", "Mips", "::", "FP", ")", ".", "addImm", "(", "NewImm", ")", ".", "addReg", "(", "NewReg", ")", ";", "if", "(", "ATUsed", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "ATMACRO", ")", ")", ";", "}", "if", "(", "MFI", "->", "adjustsStack", "(", ")", ")", "{", "expandRegLargeImmPair", "(", "Mips", "::", "SP", ",", "RAOffset", ",", "NewReg", ",", "NewImm", ",", "MBB", ",", "MBBI", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "LW", ")", ",", "Mips", "::", "RA", ")", ".", "addImm", "(", "NewImm", ")", ".", "addReg", "(", "NewReg", ")", ";", "if", "(", "ATUsed", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "ATMACRO", ")", ")", ";", "}", "if", "(", "NumBytes", ")", "{", "expandRegLargeImmPair", "(", "Mips", "::", "SP", ",", "NumBytes", ",", "NewReg", ",", "NewImm", ",", "MBB", ",", "MBBI", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "ADDiu", ")", ",", "Mips", "::", "SP", ")", ".", "addReg", "(", "NewReg", ")", ".", "addImm", "(", "NewImm", ")", ";", "if", "(", "ATUsed", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "ATMACRO", ")", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "0", "0", "Mips::ADDu", "Mips::SP", "Mips::FP", "Mips::ZERO", "Mips::SP", "Mips::LW", "Mips::FP", "Mips::ATMACRO", "Mips::SP", "Mips::LW", "Mips::RA", "Mips::ATMACRO", "Mips::SP", "Mips::ADDiu", "Mips::SP", "Mips::ATMACRO"], "File": "MipsFrameLowering29", "Func": "emitEpilogue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14357, "Length": 404, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCDispatchGroupSBHazardRecognizer", "::", "EmitInstruction", "(", "SUnit", "*", "SU", ")", "{", "const", "MCInstrDesc", "*", "MCID", "=", "DAG", "->", "getInstrDesc", "(", "SU", ")", ";", "if", "(", "MCID", ")", "{", "if", "(", "CurSlots", "==", "5", "||", "(", "MCID", "->", "isBranch", "(", ")", "&&", "CurBranches", "==", "1", ")", ")", "{", "CurGroup", ".", "clear", "(", ")", ";", "CurSlots", "=", "CurBranches", "=", "0", ";", "}", "else", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"**** Adding to dispatch group: \"", ")", ";", "LLVM_DEBUG", "(", "DAG", "->", "dumpNode", "(", "*", "SU", ")", ")", ";", "unsigned", "NSlots", ";", "bool", "MustBeFirst", "=", "mustComeFirst", "(", "MCID", ",", "NSlots", ")", ";", "if", "(", "MustBeFirst", "&&", "CurSlots", ")", "{", "CurSlots", "=", "CurBranches", "=", "0", ";", "CurGroup", ".", "clear", "(", ")", ";", "}", "CurSlots", "+=", "NSlots", ";", "CurGroup", ".", "push_back", "(", "SU", ")", ";", "if", "(", "MCID", "->", "isBranch", "(", ")", ")", "++", "CurBranches", ";", "}", "}", "return", "ScoreboardHazardRecognizer", "::", "EmitInstruction", "(", "SU", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["PowerPC", "PPC", "5", "1", "0", "\"**** Adding to dispatch group: \"", "0"], "File": "PPCHazardRecognizers20", "Func": "EmitInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14358, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ThumbRegisterInfo", "::", "resolveFrameIndex", "(", "MachineInstr", "&", "MI", ",", "Register", "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": "ThumbRegisterInfo10", "Func": "resolveFrameIndex", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14359, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "&", "MI", ",", "Register", "&", "SrcReg", ",", "Register", "&", "SrcReg2", ",", "int", "&", "CmpMask", ",", "int", "&", "CmpValue", ")", "const", "{", "assert", "(", "MI", ".", "getNumOperands", "(", ")", ">=", "2", "&&", "\"All AArch64 cmps should have 2 operands\"", ")", ";", "if", "(", "!", "MI", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", ")", "return", "false", ";", "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", "2", "\"All AArch64 cmps should have 2 operands\"", "1", "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": "AArch64InstrInfo107", "Func": "analyzeCompare", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14360, "Length": 346, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "ThumbRegisterInfo", "::", "getLargestLegalSuperClass", "(", "const", "TargetRegisterClass", "*", "RC", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "!", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "isThumb1Only", "(", ")", ")", "return", "ARMBaseRegisterInfo", "::", "getLargestLegalSuperClass", "(", "RC", ",", "MF", ")", ";", "if", "(", "ARM", "::", "tGPRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "return", "&", "ARM", "::", "tGPRRegClass", ";", "return", "ARMBaseRegisterInfo", "::", "getLargestLegalSuperClass", "(", "RC", ",", "MF", ")", ";", "}", ""], "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", "ARM::tGPRRegClass", "ARM::tGPRRegClass", "ARM"], "File": "ThumbRegisterInfo (2)1", "Func": "getLargestLegalSuperClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14361, "Length": 73, "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", ".", "getSubtarget", "(", ")", ".", "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", ")", ";", "if", "(", "Opc", "==", "X86", "::", "LEA64_32r", "&&", "X86", "::", "GR32RegClass", ".", "contains", "(", "BasePtr", ")", ")", "BasePtr", "=", "getX86SubSuperRegister", "(", "BasePtr", ",", "MVT", "::", "i64", ",", "false", ")", ";", "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", "X86::LEA64_32r", "X86::GR32RegClass", "X86", "MVT::i64", "\"Expected the FP as base register\"", "1", "1", "3", "3", "32", "\"Requesting 64-bit offset in 32-bit immediate!\"", "3", "3", "3"], "File": "X86RegisterInfo90", "Func": "eliminateFrameIndex", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14362, "Length": 447, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "rs6000_loop_unroll_adjust", "(", "unsigned", "nunroll", ",", "struct", "loop", "*", "loop", ")", "{", "if", "(", "unroll_only_small_loops", ")", "{", "if", "(", "loop", "->", "ninsns", "<=", "6", ")", "return", "MIN", "(", "4", ",", "nunroll", ")", ";", "if", "(", "loop", "->", "ninsns", "<=", "10", ")", "return", "MIN", "(", "2", ",", "nunroll", ")", ";", "return", "0", ";", "}", "return", "nunroll", ";", "}", ""], "natrual_language": ["Implement", "targetm.loop_unroll_adjust", "."], "TS_V_token": ["rs6000", "6", "4", "10", "2", "0"], "File": "rs6000", "Func": "rs6000_loop_unroll_adjust", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14363, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "rs6000_gen_stvx", "(", "enum", "machine_mode", "mode", ",", "rtx", "dest_exp", ",", "rtx", "src_exp", ")", "{", "rtx", "stvx", ";", "if", "(", "mode", "==", "V16QImode", ")", "stvx", "=", "gen_altivec_stvx_v16qi", "(", "src_exp", ",", "dest_exp", ")", ";", "else", "if", "(", "mode", "==", "V8HImode", ")", "stvx", "=", "gen_altivec_stvx_v8hi", "(", "src_exp", ",", "dest_exp", ")", ";", "else", "if", "(", "mode", "==", "V8HFmode", ")", "stvx", "=", "gen_altivec_stvx_v8hf", "(", "src_exp", ",", "dest_exp", ")", ";", "else", "if", "(", "mode", "==", "V4SImode", ")", "stvx", "=", "gen_altivec_stvx_v4si", "(", "src_exp", ",", "dest_exp", ")", ";", "else", "if", "(", "mode", "==", "V4SFmode", ")", "stvx", "=", "gen_altivec_stvx_v4sf", "(", "src_exp", ",", "dest_exp", ")", ";", "else", "if", "(", "mode", "==", "V2DImode", ")", "stvx", "=", "gen_altivec_stvx_v2di", "(", "src_exp", ",", "dest_exp", ")", ";", "else", "if", "(", "mode", "==", "V2DFmode", ")", "stvx", "=", "gen_altivec_stvx_v2df", "(", "src_exp", ",", "dest_exp", ")", ";", "else", "if", "(", "mode", "==", "V1TImode", ")", "stvx", "=", "gen_altivec_stvx_v1ti", "(", "src_exp", ",", "dest_exp", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "rtx", "new_mem_exp", "=", "SET_DEST", "(", "PATTERN", "(", "stvx", ")", ")", ";", "mimic_memory_attributes_and_flags", "(", "new_mem_exp", ",", "dest_exp", ")", ";", "return", "stvx", ";", "}", ""], "natrual_language": ["Generate", "an", "rtx", "expression", "to", "represent", "use", "of", "the", "stvx", "insn", "to", "store", "the", "value", "represented", "by", "register", "SRC_EXP", "into", "the", "memory", "at", "address", "DEST_EXP", ",", "with", "vector", "mode", "MODE", "."], "TS_V_token": ["rs6000"], "File": "rs6000-p8swap", "Func": "rs6000_gen_stvx", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14364, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToAddress", "(", "unsigned", "ValVReg", ",", "unsigned", "Addr", ",", "uint64_t", "Size", ",", "MachinePointerInfo", "&", "MPO", ",", "CCValAssign", "&", "VA", ")", "override", "{", "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", "0"], "File": "AArch64CallLowering (2)", "Func": "assignValueToAddress", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14365, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "setSpecialOperandAttr", "(", "MachineInstr", "&", "OldMI1", ",", "MachineInstr", "&", "OldMI2", ",", "MachineInstr", "&", "NewMI1", ",", "MachineInstr", "&", "NewMI2", ")", "const", "{", "if", "(", "OldMI1", ".", "getNumOperands", "(", ")", "!=", "4", "||", "OldMI2", ".", "getNumOperands", "(", ")", "!=", "4", ")", "return", ";", "assert", "(", "NewMI1", ".", "getNumOperands", "(", ")", "==", "4", "&&", "NewMI2", ".", "getNumOperands", "(", ")", "==", "4", "&&", "\"Unexpected instruction type for reassociation\"", ")", ";", "MachineOperand", "&", "OldOp1", "=", "OldMI1", ".", "getOperand", "(", "3", ")", ";", "MachineOperand", "&", "OldOp2", "=", "OldMI2", ".", "getOperand", "(", "3", ")", ";", "MachineOperand", "&", "NewOp1", "=", "NewMI1", ".", "getOperand", "(", "3", ")", ";", "MachineOperand", "&", "NewOp2", "=", "NewMI2", ".", "getOperand", "(", "3", ")", ";", "assert", "(", "OldOp1", ".", "isReg", "(", ")", "&&", "OldOp1", ".", "getReg", "(", ")", "==", "X86", "::", "EFLAGS", "&&", "OldOp1", ".", "isDead", "(", ")", "&&", "\"Must have dead EFLAGS operand in reassociable instruction\"", ")", ";", "assert", "(", "OldOp2", ".", "isReg", "(", ")", "&&", "OldOp2", ".", "getReg", "(", ")", "==", "X86", "::", "EFLAGS", "&&", "OldOp2", ".", "isDead", "(", ")", "&&", "\"Must have dead EFLAGS operand in reassociable instruction\"", ")", ";", "(", "void", ")", "OldOp1", ";", "(", "void", ")", "OldOp2", ";", "assert", "(", "NewOp1", ".", "isReg", "(", ")", "&&", "NewOp1", ".", "getReg", "(", ")", "==", "X86", "::", "EFLAGS", "&&", "\"Unexpected operand in reassociable instruction\"", ")", ";", "assert", "(", "NewOp2", ".", "isReg", "(", ")", "&&", "NewOp2", ".", "getReg", "(", ")", "==", "X86", "::", "EFLAGS", "&&", "\"Unexpected operand in reassociable instruction\"", ")", ";", "NewOp1", ".", "setIsDead", "(", ")", ";", "NewOp2", ".", "setIsDead", "(", ")", ";", "}", ""], "natrual_language": ["This", "is", "an", "architecture-specific", "helper", "function", "of", "reassociateOps", "."], "TS_V_token": ["X86", "X86", "4", "4", "4", "4", "\"Unexpected instruction type for reassociation\"", "3", "3", "3", "3", "X86::EFLAGS", "\"Must have dead EFLAGS operand in reassociable instruction\"", "X86::EFLAGS", "\"Must have dead EFLAGS operand in reassociable instruction\"", "X86::EFLAGS", "\"Unexpected operand in reassociable instruction\"", "X86::EFLAGS", "\"Unexpected operand in reassociable instruction\""], "File": "X86InstrInfo (2)1", "Func": "setSpecialOperandAttr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14366, "Length": 227, "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", "(", ")", ";", "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", "1", "AArch64"], "File": "AArch64TargetMachine27", "Func": "addIRPasses", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14367, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "xstormy16_rtx_costs", "(", "rtx", "x", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "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", ":", "if", "(", "INTVAL", "(", "x", ")", "<", "16", "&&", "INTVAL", "(", "x", ")", ">=", "0", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", "/", "2", ";", "else", "if", "(", "INTVAL", "(", "x", ")", "<", "256", "&&", "INTVAL", "(", "x", ")", ">=", "0", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", ";", "else", "*", "total", "=", "COSTS_N_INSNS", "(", "2", ")", ";", "return", "true", ";", "case", "CONST_DOUBLE", ":", "case", "CONST", ":", "case", "SYMBOL_REF", ":", "case", "LABEL_REF", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "2", ")", ";", "return", "true", ";", "case", "MULT", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "35", "+", "6", ")", ";", "return", "true", ";", "case", "DIV", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "51", "-", "6", ")", ";", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Compute", "a", "(", "partial", ")", "cost", "for", "rtx", "X", ".", "Return", "true", "if", "the", "complete", "cost", "has", "been", "computed", ",", "and", "false", "if", "subexpressions", "should", "be", "scanned", ".", "In", "either", "case", ",", "*", "TOTAL", "contains", "the", "cost", "result", "."], "TS_V_token": ["stormy16", "16", "0", "1", "2", "256", "0", "1", "2", "2", "35", "6", "51", "6"], "File": "stormy16", "Func": "xstormy16_rtx_costs", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14368, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "initializePass", "(", ")", "override", "{", "pushTTIStack", "(", "this", ")", ";", "}", ""], "natrual_language": ["initializePass", "-", "This", "method", "may", "be", "overriden", "by", "immutable", "passes", "to", "allow", "them", "to", "perform", "various", "initialization", "actions", "they", "require", "."], "TS_V_token": ["AArch64"], "File": "AArch64TargetTransformInfo1", "Func": "initializePass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14369, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "this", "->", "MF", "=", "&", "MF", ";", "SetupMachineFunction", "(", "MF", ")", ";", "EmitConstantPool", "(", "MF", ".", "getConstantPool", "(", ")", ")", ";", "static", "unsigned", "BBNumber", "=", "0", ";", "O", "<<", "\"\\n\\n\"", ";", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "SwitchToSection", "(", "TAI", "->", "SectionForGlobal", "(", "F", ")", ")", ";", "EmitAlignment", "(", "4", ",", "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", "0", "\"\\n\\n\"", "4", "\"\\t.globl\\t\"", "\"\\t.type\\t\"", "\", #function\\n\"", "\":\\n\""], "File": "SparcAsmPrinter32", "Func": "runOnMachineFunction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14370, "Length": 247, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "PPCDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "if", "(", "!", "GlobalBaseReg", ")", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "PPCSubTarget", "->", "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", "(", "PPCSubTarget", "->", "isTargetELF", "(", ")", ")", "{", "GlobalBaseReg", "=", "PPC", "::", "R30", ";", "if", "(", "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", ")", ";", "unsigned", "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", "{", "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", "PPC", "MVT::i32", "PPC", "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::G8RC_and_G8RC_NOX0RegClass", "PPC::MovePCtoLR8", "PPC::MFLR8", "PPC"], "File": "PPCISelDAGToDAG (2)2", "Func": "getGlobalBaseReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14371, "Length": 399, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "unsigned", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "unsigned", "MatchResult", ";", "MatchResult", "=", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ";", "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", ":", "{", "assert", "(", "ErrorInfo", "&&", "\"Unknown missing feature!\"", ")", ";", "std", "::", "string", "Msg", "=", "\"instruction requires:\"", ";", "unsigned", "Mask", "=", "1", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "(", "sizeof", "(", "ErrorInfo", ")", "*", "8", "-", "1", ")", ";", "++", "i", ")", "{", "if", "(", "ErrorInfo", "&", "Mask", ")", "{", "Msg", "+=", "\" \"", ";", "Msg", "+=", "getSubtargetFeatureName", "(", "ErrorInfo", "&", "Mask", ")", ";", "}", "Mask", "<<=", "1", ";", "}", "return", "Error", "(", "IDLoc", ",", "Msg", ")", ";", "}", "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_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\"", ")", ";", "case", "Match_ImmRange0_4", ":", "{", "SMLoc", "ErrorLoc", "=", "(", "(", "ARMOperand", "*", ")", "Operands", "[", "ErrorInfo", "]", ")", "->", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "return", "Error", "(", "ErrorLoc", ",", "\"immediate operand must be in the range [0,4]\"", ")", ";", "}", "case", "Match_ImmRange0_15", ":", "{", "SMLoc", "ErrorLoc", "=", "(", "(", "ARMOperand", "*", ")", "Operands", "[", "ErrorInfo", "]", ")", "->", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "return", "Error", "(", "ErrorLoc", ",", "\"immediate operand must be in the range [0,15]\"", ")", ";", "}", "}", "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", "\"Unknown missing feature!\"", "\"instruction requires:\"", "1", "0", "8", "1", "\" \"", "1", "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\"", "ARM", "\"immediate operand must be in the range [0,4]\"", "ARM", "\"immediate operand must be in the range [0,15]\"", "\"Implement any new match types added!\""], "File": "ARMAsmParser (2)1", "Func": "MatchAndEmitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14372, "Length": 446, "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": 14373, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "!", "getARMSubtarget", "(", ")", ".", "isThumb1Only", "(", ")", ")", "PM", ".", "add", "(", "createARMLoadStoreOptimizationPass", "(", "true", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "getARMSubtarget", "(", ")", ".", "isCortexA9", "(", ")", ")", "PM", ".", "add", "(", "createMLxExpansionPass", "(", ")", ")", ";", "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"], "File": "ARMTargetMachine109", "Func": "addPreRegAlloc", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14374, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emitSPUpdate", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "unsigned", "StackPtr", ",", "int64_t", "NumBytes", ",", "bool", "Is64Bit", ",", "bool", "UseLEA", ",", "const", "TargetInstrInfo", "&", "TII", ",", "const", "TargetRegisterInfo", "&", "TRI", ")", "{", "bool", "isSub", "=", "NumBytes", "<", "0", ";", "uint64_t", "Offset", "=", "isSub", "?", "-", "NumBytes", ":", "NumBytes", ";", "unsigned", "Opc", ";", "if", "(", "UseLEA", ")", "Opc", "=", "getLEArOpcode", "(", "Is64Bit", ")", ";", "else", "Opc", "=", "isSub", "?", "getSUBriOpcode", "(", "Is64Bit", ",", "Offset", ")", ":", "getADDriOpcode", "(", "Is64Bit", ",", "Offset", ")", ";", "uint64_t", "Chunk", "=", "(", "1LL", "<<", "31", ")", "-", "1", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MBBI", ")", ";", "while", "(", "Offset", ")", "{", "uint64_t", "ThisVal", "=", "(", "Offset", ">", "Chunk", ")", "?", "Chunk", ":", "Offset", ";", "if", "(", "ThisVal", "==", "(", "Is64Bit", "?", "8", ":", "4", ")", ")", "{", "unsigned", "Reg", "=", "isSub", "?", "(", "unsigned", ")", "(", "Is64Bit", "?", "X86", "::", "RAX", ":", "X86", "::", "EAX", ")", ":", "findDeadCallerSavedReg", "(", "MBB", ",", "MBBI", ",", "TRI", ",", "Is64Bit", ")", ";", "if", "(", "Reg", ")", "{", "Opc", "=", "isSub", "?", "(", "Is64Bit", "?", "X86", "::", "PUSH64r", ":", "X86", "::", "PUSH32r", ")", ":", "(", "Is64Bit", "?", "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", "=", "NULL", ";", "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": "X86FrameLowering100", "Func": "emitSPUpdate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14375, "Length": 369, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "MipsRegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "return", "Subtarget", ".", "isABI_N64", "(", ")", "?", "&", "Mips", "::", "GPR64RegClass", ":", "&", "Mips", "::", "GPR32RegClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["Mips", "Mips", "Mips::GPR64RegClass", "Mips::GPR32RegClass"], "File": "MipsRegisterInfo", "Func": "getPointerRegClass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14376, "Length": 35, "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": 14377, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{", "return", "createMachObjectWriter", "(", "OS", ",", "false", ",", "object", "::", "mach", "::", "CTM_ARM", ",", "object", "::", "mach", "::", "CSARM_V7", ",", "true", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMAsmBackend28", "Func": "createObjectWriter", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14378, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "machine_function", "*", "rs6000_init_machine_status", "(", "void", ")", "{", "return", "ggc_alloc_cleared", "(", "sizeof", "(", "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"], "File": "rs60003", "Func": "rs6000_init_machine_status", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14379, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ARM64AsmParser", "::", "tryParseRegister", "(", ")", "{", "const", "AsmToken", "&", "Tok", "=", "Parser", ".", "getTok", "(", ")", ";", "assert", "(", "Tok", ".", "is", "(", "AsmToken", "::", "Identifier", ")", "&&", "\"Token is not an Identifier\"", ")", ";", "std", "::", "string", "lowerCase", "=", "Tok", ".", "getString", "(", ")", ".", "lower", "(", ")", ";", "unsigned", "RegNum", "=", "MatchRegisterName", "(", "lowerCase", ")", ";", "if", "(", "RegNum", "==", "0", ")", "RegNum", "=", "StringSwitch", "<", "unsigned", ">", "(", "lowerCase", ")", ".", "Case", "(", "\"fp\"", ",", "ARM64", "::", "FP", ")", ".", "Case", "(", "\"lr\"", ",", "ARM64", "::", "LR", ")", ".", "Case", "(", "\"x31\"", ",", "ARM64", "::", "XZR", ")", ".", "Case", "(", "\"w31\"", ",", "ARM64", "::", "WZR", ")", ".", "Default", "(", "0", ")", ";", "if", "(", "RegNum", "==", "0", ")", "return", "-", "1", ";", "Parser", ".", "Lex", "(", ")", ";", "return", "RegNum", ";", "}", ""], "natrual_language": ["tryParseRegister", "-", "parse", "one", "register", "if", "possible"], "TS_V_token": ["ARM64", "ARM64", "\"Token is not an Identifier\"", "0", "\"fp\"", "ARM64::FP", "\"lr\"", "ARM64::LR", "\"x31\"", "ARM64::XZR", "\"w31\"", "ARM64::WZR", "0", "0", "1"], "File": "ARM64AsmParser", "Func": "tryParseRegister", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14380, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getPrefetchDistance", "(", ")", "const", "override", "{", "return", "PrefetchDistance", ";", "}", ""], "natrual_language": ["Return", "the", "preferred", "prefetch", "distance", "in", "terms", "of", "instructions", "."], "TS_V_token": ["AArch64"], "File": "AArch64Subtarget (2)1", "Func": "getPrefetchDistance", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14381, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_move_integer", "(", "rtx", "dest", ",", "unsigned", "HOST_WIDE_INT", "value", ")", "{", "struct", "mips_integer_op", "codes", "[", "MIPS_MAX_INTEGER_OPS", "]", ";", "enum", "machine_mode", "mode", ";", "unsigned", "int", "i", ",", "cost", ";", "rtx", "x", ";", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "cost", "=", "mips_build_integer", "(", "codes", ",", "value", ")", ";", "x", "=", "GEN_INT", "(", "codes", "[", "0", "]", ".", "value", ")", ";", "for", "(", "i", "=", "1", ";", "i", "<", "cost", ";", "i", "++", ")", "{", "if", "(", "no_new_pseudos", ")", "emit_move_insn", "(", "dest", ",", "x", ")", ",", "x", "=", "dest", ";", "else", "x", "=", "force_reg", "(", "mode", ",", "x", ")", ";", "x", "=", "gen_rtx_fmt_ee", "(", "codes", "[", "i", "]", ".", "code", ",", "mode", ",", "x", ",", "GEN_INT", "(", "codes", "[", "i", "]", ".", "value", ")", ")", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "x", ")", ")", ";", "}", ""], "natrual_language": ["Move", "VALUE", "into", "register", "DEST", "."], "TS_V_token": ["mips", "0", "1"], "File": "mips3", "Func": "mips_move_integer", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14382, "Length": 139, "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": 14383, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "AARCH64_LOAD_STORE_OPT_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64"], "File": "AArch64LoadStoreOptimizer (2)1", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14384, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "loongarch_got_load_tls_ie", "(", "rtx", "dest", ",", "rtx", "sym", ")", "{", "return", "gen_got_load_tls_ie", "(", "Pmode", ",", "dest", ",", "sym", ")", ";", "}", ""], "natrual_language": ["Load", "an", "entry", "from", "the", "GOT", "for", "a", "TLS", "IE", "access", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_got_load_tls_ie", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14385, "Length": 22, "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": 14386, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mmix_reversible_cc_mode", "(", "enum", "machine_mode", "mode", ")", "{", "return", "mode", "!=", "CC_FPmode", ";", "}", ""], "natrual_language": ["REVERSIBLE_CC_MODE", "."], "TS_V_token": ["mmix"], "File": "mmix3", "Func": "mmix_reversible_cc_mode", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14387, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "reg_class", "nds32_regno_reg_class", "(", "int", "regno", ")", "{", "if", "(", "regno", ">=", "0", "&&", "regno", "<=", "7", ")", "return", "LOW_REGS", ";", "else", "if", "(", "regno", ">=", "8", "&&", "regno", "<=", "11", ")", "return", "MIDDLE_REGS", ";", "else", "if", "(", "regno", ">=", "12", "&&", "regno", "<=", "14", ")", "return", "HIGH_REGS", ";", "else", "if", "(", "regno", "==", "15", ")", "return", "R15_TA_REG", ";", "else", "if", "(", "regno", ">=", "16", "&&", "regno", "<=", "19", ")", "return", "MIDDLE_REGS", ";", "else", "if", "(", "regno", ">=", "20", "&&", "regno", "<=", "31", ")", "return", "HIGH_REGS", ";", "else", "if", "(", "regno", "==", "32", "||", "regno", "==", "33", ")", "{", "return", "GENERAL_REGS", ";", "}", "else", "if", "(", "regno", ">=", "34", "&&", "regno", "<=", "97", ")", "return", "FP_REGS", ";", "else", "return", "NO_REGS", ";", "}", ""], "natrual_language": ["Register", "Classes", "."], "TS_V_token": ["nds32", "0", "7", "8", "11", "12", "14", "15", "16", "19", "20", "31", "32", "33", "34", "97"], "File": "nds32", "Func": "nds32_regno_reg_class", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14388, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "MandarinSubtarget", "*", "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": ["Mandarin"], "File": "MandarinTargetMachine", "Func": "getSubtargetImpl", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14389, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCRegisterInfo", "::", "isAsmClobberable", "(", "const", "MachineFunction", "&", "MF", ",", "MCRegister", "PhysReg", ")", "const", "{", "return", "PhysReg", "!=", "PPC", "::", "R1", "&&", "PhysReg", "!=", "PPC", "::", "X1", ";", "}", ""], "natrual_language": ["Returns", "false", "if", "we", "ca", "n't", "guarantee", "that", "Physreg", ",", "specified", "as", "an", "IR", "asm", "clobber", "constraint", ",", "will", "be", "preserved", "across", "the", "statement", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::R1", "PPC::X1"], "File": "PPCRegisterInfo (2)3", "Func": "isAsmClobberable", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14390, "Length": 29, "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", ")", ";", "bool", "IsInstFixup", "=", "(", "Kind", ">=", "FirstTargetFixupKind", ")", ";", "if", "(", "IsLittleEndian", "&&", "IsInstFixup", "&&", "(", "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": "CSKYAsmBackend", "Func": "applyFixup", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14391, "Length": 299, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "getScalarShiftAmountTy", "(", "const", "DataLayout", "&", ",", "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": ["Mips", "MVT::i32"], "File": "MipsISelLowering (2)", "Func": "getScalarShiftAmountTy", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14392, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "isProfitableToIfCvt", "(", "MachineBasicBlock", "&", "TMBB", ",", "unsigned", "NumT", ",", "unsigned", "ExtraT", ",", "MachineBasicBlock", "&", "FMBB", ",", "unsigned", "NumF", ",", "unsigned", "ExtraF", ",", "const", "BranchProbability", "&", "Probability", ")", "const", "{", "return", "!", "(", "MBBDefinesCTR", "(", "TMBB", ")", "&&", "MBBDefinesCTR", "(", "FMBB", ")", ")", ";", "}", ""], "natrual_language": ["Second", "variant", "of", "isProfitableToIfCvt", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCInstrInfo (2)", "Func": "isProfitableToIfCvt", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14393, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "&", "UnpackMachineBundlesID", ")", ";", "addPass", "(", "createAArch64BranchFixupPass", "(", ")", ")", ";", "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"], "File": "AArch64TargetMachine26", "Func": "addPreEmitPass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14394, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "ArrayRef", "<", "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", "(", "const", "CalleeSavedInfo", "&", "I", ":", "llvm", "::", "reverse", "(", "CSI", ")", ")", "{", "Register", "Reg", "=", "I", ".", "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", "(", "const", "CalleeSavedInfo", "&", "I", ":", "llvm", "::", "reverse", "(", "CSI", ")", ")", "{", "Register", "Reg", "=", "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", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ",", "VT", ")", ";", "TII", ".", "storeRegToStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "true", ",", "I", ".", "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", "X86::GR64RegClass", "X86::GR32RegClass", "X86::GR64RegClass", "X86::GR32RegClass", "MVT::Other", "X86::VK16RegClass", "MVT::v64i1", "MVT::v16i1"], "File": "X86FrameLowering (2)3", "Func": "spillCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14395, "Length": 401, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "addPreEmitPass", "(", ")", "{", "bool", "ShouldPrint", "=", "false", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "getX86Subtarget", "(", ")", ".", "hasSSE2", "(", ")", ")", "{", "addPass", "(", "createExecutionDependencyFixPass", "(", "&", "X86", "::", "VR128RegClass", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "if", "(", "getX86Subtarget", "(", ")", ".", "hasAVX", "(", ")", "&&", "UseVZeroUpper", ")", "{", "addPass", "(", "createX86IssueVZeroUpperPass", "(", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "return", "ShouldPrint", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["X86", "X86", "X86", "X86::VR128RegClass", "X86", "X86"], "File": "X86TargetMachine103", "Func": "addPreEmitPass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14396, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_must_pass_in_stack", "(", "const", "function_arg_info", "&", "arg", ")", "{", "if", "(", "must_pass_in_stack_var_size_or_pad", "(", "arg", ")", ")", "return", "true", ";", "return", "(", "!", "TARGET_64BIT", "&&", "arg", ".", "mode", "==", "TImode", "&&", "arg", ".", "type", "&&", "TREE_CODE", "(", "arg", ".", "type", ")", "!=", "VECTOR_TYPE", ")", ";", "}", ""], "natrual_language": ["Return", "if", "we", "do", "not", "know", "how", "to", "pass", "TYPE", "solely", "in", "registers", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_must_pass_in_stack", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14397, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSEInstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "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", ":", "Opc", "=", "isMicroMips", "?", "Mips", "::", "MFHI16_MM", ":", "Mips", "::", "MFHI", ";", "expandPseudoMFHiLo", "(", "MBB", ",", "MI", ",", "Opc", ")", ";", "break", ";", "case", "Mips", "::", "PseudoMFLO", ":", "Opc", "=", "isMicroMips", "?", "Mips", "::", "MFLO16_MM", ":", "Mips", "::", "MFLO", ";", "expandPseudoMFHiLo", "(", "MBB", ",", "MI", ",", "Opc", ")", ";", "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", ":", "expandCvtFPInt", "(", "MBB", ",", "MI", ",", "Mips", "::", "CVT_D32_W", ",", "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", ":", "expandCvtFPInt", "(", "MBB", ",", "MI", ",", "Mips", "::", "CVT_D64_W", ",", "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", ",", "false", ")", ";", "break", ";", "case", "Mips", "::", "BuildPairF64_64", ":", "expandBuildPairF64", "(", "MBB", ",", "MI", ",", "true", ")", ";", "break", ";", "case", "Mips", "::", "ExtractElementF64", ":", "expandExtractElementF64", "(", "MBB", ",", "MI", ",", "false", ")", ";", "break", ";", "case", "Mips", "::", "ExtractElementF64_64", ":", "expandExtractElementF64", "(", "MBB", ",", "MI", ",", "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", "Mips::MFHI16_MM", "Mips::MFHI", "Mips::PseudoMFLO", "Mips", "Mips::MFLO16_MM", "Mips::MFLO", "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::CVT_D32_W", "Mips::MTC1", "Mips::PseudoCVT_S_L", "Mips::CVT_S_L", "Mips::DMTC1", "Mips::PseudoCVT_D64_W", "Mips::CVT_D64_W", "Mips::MTC1", "Mips::PseudoCVT_D64_L", "Mips::CVT_D64_L", "Mips::DMTC1", "Mips::BuildPairF64", "Mips::BuildPairF64_64", "Mips::ExtractElementF64", "Mips::ExtractElementF64_64", "Mips::MIPSeh_return32", "Mips::MIPSeh_return64"], "File": "MipsSEInstrInfo32", "Func": "expandPostRAPseudo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14398, "Length": 460, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "OR1KInstrInfo", "::", "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", "->", "isDebugValue", "(", ")", ")", "continue", ";", "if", "(", "!", "isUnpredicatedTerminator", "(", "*", "I", ")", ")", "break", ";", "if", "(", "!", "I", "->", "isBranch", "(", ")", ")", "return", "true", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "OR1K", "::", "JR", ")", "return", "true", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "OR1K", "::", "J", ")", "{", "if", "(", "!", "AllowModify", ")", "{", "TBB", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "continue", ";", "}", "while", "(", "std", "::", "next", "(", "I", ")", "!=", "MBB", ".", "end", "(", ")", ")", "std", "::", "next", "(", "I", ")", "->", "eraseFromParent", "(", ")", ";", "Cond", ".", "clear", "(", ")", ";", "FBB", "=", "0", ";", "if", "(", "MBB", ".", "isLayoutSuccessor", "(", "I", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ")", ")", "{", "TBB", "=", "0", ";", "I", "->", "eraseFromParent", "(", ")", ";", "I", "=", "MBB", ".", "end", "(", ")", ";", "continue", ";", "}", "TBB", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "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": ["OR1K", "OR1K", "OR1K::JR", "OR1K::J", "0", "0", "0", "0", "0"], "File": "OR1KInstrInfo1", "Func": "analyzeBranch", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14399, "Length": 239, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCPassConfig", "::", "addMachineSSAOptimization", "(", ")", "{", "TargetPassConfig", "::", "addMachineSSAOptimization", "(", ")", ";", "if", "(", "TM", "->", "getTargetTriple", "(", ")", ".", "getArch", "(", ")", "==", "Triple", "::", "ppc64le", "&&", "!", "DisableVSXSwapRemoval", ")", "addPass", "(", "createPPCVSXSwapRemovalPass", "(", ")", ")", ";", "}", ""], "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"], "File": "PPCTargetMachine61", "Func": "addMachineSSAOptimization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14400, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "x86_elf_aligned_common", "(", "FILE", "*", "file", ",", "const", "char", "*", "name", ",", "unsigned", "HOST_WIDE_INT", "size", ",", "int", "align", ")", "{", "if", "(", "(", "ix86_cmodel", "==", "CM_MEDIUM", "||", "ix86_cmodel", "==", "CM_MEDIUM_PIC", ")", "&&", "size", ">", "(", "unsigned", "int", ")", "ix86_section_threshold", ")", "fprintf", "(", "file", ",", "\".largecomm\\t\"", ")", ";", "else", "fprintf", "(", "file", ",", "\"%s\"", ",", "COMMON_ASM_OP", ")", ";", "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", "opcode", "for", "large", "objects", "."], "TS_V_token": ["i386", "\".largecomm\\t\"", "\"%s\"", "\",\"", "\",%u\\n\""], "File": "i3863", "Func": "x86_elf_aligned_common", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14401, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsRegisterInfo", "::", "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\"", "<<", "\"alignment : \"", "<<", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectAlignment", "(", "FrameIndex", ")", "<<", "\"\\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": ["Mips", "Mips", "\"\\nFunction : \"", "\"\\n\"", "\"<--------->\\n\"", "\"FrameIndex : \"", "\"\\n\"", "\"spOffset : \"", "\"\\n\"", "\"stackSize : \"", "\"\\n\"", "\"alignment : \"", "\"\\n\""], "File": "MipsRegisterInfo16", "Func": "eliminateFrameIndex", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14402, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_expand_vec_perm_const", "(", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ",", "rtx", "sel", ")", "{", "struct", "expand_vec_perm_d", "d", ";", "int", "i", ",", "nelt", ",", "which", ";", "d", ".", "target", "=", "target", ";", "d", ".", "op0", "=", "op0", ";", "d", ".", "op1", "=", "op1", ";", "d", ".", "vmode", "=", "GET_MODE", "(", "target", ")", ";", "gcc_assert", "(", "VECTOR_MODE_P", "(", "d", ".", "vmode", ")", ")", ";", "d", ".", "nelt", "=", "nelt", "=", "GET_MODE_NUNITS", "(", "d", ".", "vmode", ")", ";", "d", ".", "testing_p", "=", "false", ";", "for", "(", "i", "=", "which", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "{", "rtx", "e", "=", "XVECEXP", "(", "sel", ",", "0", ",", "i", ")", ";", "int", "ei", "=", "INTVAL", "(", "e", ")", "&", "(", "2", "*", "nelt", "-", "1", ")", ";", "which", "|=", "(", "ei", "<", "nelt", "?", "1", ":", "2", ")", ";", "d", ".", "perm", "[", "i", "]", "=", "ei", ";", "}", "switch", "(", "which", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "3", ":", "d", ".", "one_vector_p", "=", "false", ";", "if", "(", "!", "rtx_equal_p", "(", "op0", ",", "op1", ")", ")", "break", ";", "case", "2", ":", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "d", ".", "perm", "[", "i", "]", "&=", "nelt", "-", "1", ";", "d", ".", "op0", "=", "op1", ";", "d", ".", "one_vector_p", "=", "true", ";", "break", ";", "case", "1", ":", "d", ".", "op1", "=", "op0", ";", "d", ".", "one_vector_p", "=", "true", ";", "break", ";", "}", "return", "aarch64_expand_vec_perm_const_1", "(", "&", "d", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "vec_perm_const", "pattern", "."], "TS_V_token": ["aarch64", "0", "0", "2", "1", "1", "2", "3", "2", "0", "1", "1"], "File": "aarch642", "Func": "aarch64_expand_vec_perm_const", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14403, "Length": 248, "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", ")", ")", "{", "Lexer", ".", "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": "LanaiAsmParser12", "Func": "ParseInstruction", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14404, "Length": 303, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isMulAddWithConstProfitable", "(", "const", "SDValue", "&", "AddNode", ",", "const", "SDValue", "&", "ConstNode", ")", "const", "{", "const", "EVT", "VT", "=", "AddNode", ".", "getValueType", "(", ")", ";", "if", "(", "VT", ".", "isVector", "(", ")", "||", "VT", ".", "getScalarSizeInBits", "(", ")", ">", "64", ")", "return", "true", ";", "const", "ConstantSDNode", "*", "C1Node", "=", "cast", "<", "ConstantSDNode", ">", "(", "AddNode", ".", "getOperand", "(", "1", ")", ")", ";", "const", "ConstantSDNode", "*", "C2Node", "=", "cast", "<", "ConstantSDNode", ">", "(", "ConstNode", ")", ";", "const", "int64_t", "C1", "=", "C1Node", "->", "getSExtValue", "(", ")", ";", "const", "APInt", "C1C2", "=", "C1Node", "->", "getAPIntValue", "(", ")", "*", "C2Node", "->", "getAPIntValue", "(", ")", ";", "if", "(", "!", "isLegalAddImmediate", "(", "C1", ")", "||", "isLegalAddImmediate", "(", "C1C2", ".", "getSExtValue", "(", ")", ")", ")", "return", "true", ";", "SmallVector", "<", "AArch64_IMM", "::", "ImmInsnModel", ",", "4", ">", "Insn", ";", "AArch64_IMM", "::", "expandMOVImm", "(", "C1C2", ".", "getZExtValue", "(", ")", ",", "VT", ".", "getSizeInBits", "(", ")", ",", "Insn", ")", ";", "if", "(", "Insn", ".", "size", "(", ")", ">", "1", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "may", "be", "profitable", "to", "transform", "(", "mul", "(", "add", "x", ",", "c1", ")", ",", "c2", ")", "-", ">", "(", "add", "(", "mul", "x", ",", "c2", ")", ",", "c1", "*", "c2", ")", "."], "TS_V_token": ["AArch64", "AArch64", "64", "1", "AArch64", "4", "AArch64", "1"], "File": "AArch64ISelLowering (2)2", "Func": "isMulAddWithConstProfitable", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14405, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "SICRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "return", "CSR_O32_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["SIC", "SIC"], "File": "SICRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14406, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "canMakeTailCallConditional", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "BranchCond", ",", "const", "MachineInstr", "&", "TailCall", ")", "const", "{", "if", "(", "TailCall", ".", "getOpcode", "(", ")", "!=", "X86", "::", "TCRETURNdi", "&&", "TailCall", ".", "getOpcode", "(", ")", "!=", "X86", "::", "TCRETURNdi64", ")", "{", "return", "false", ";", "}", "const", "MachineFunction", "*", "MF", "=", "TailCall", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "if", "(", "Subtarget", ".", "isTargetWin64", "(", ")", "&&", "MF", "->", "hasWinCFI", "(", ")", ")", "{", "return", "false", ";", "}", "assert", "(", "BranchCond", ".", "size", "(", ")", "==", "1", ")", ";", "if", "(", "BranchCond", "[", "0", "]", ".", "getImm", "(", ")", ">", "X86", "::", "LAST_VALID_COND", ")", "{", "return", "false", ";", "}", "const", "X86MachineFunctionInfo", "*", "X86FI", "=", "MF", "->", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "if", "(", "X86FI", "->", "getTCReturnAddrDelta", "(", ")", "!=", "0", "||", "TailCall", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "!=", "0", ")", "{", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "tail", "call", "can", "be", "made", "conditional", "on", "BranchCond", "."], "TS_V_token": ["X86", "X86", "X86::TCRETURNdi", "X86::TCRETURNdi64", "1", "0", "X86::LAST_VALID_COND", "X86", "X86", "X86", "X86", "0", "1", "0"], "File": "X86InstrInfo (2)3", "Func": "canMakeTailCallConditional", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14407, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "getAddr", "(", "NodeTy", "*", "N", ",", "SelectionDAG", "&", "DAG", ",", "unsigned", "Flags", ")", "const", "{", "LLVM_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": "AArch64ISelLowering (2)2", "Func": "getAddr", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14408, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"Mips Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"Mips Assembly Printer\""], "File": "MipsAsmPrinter", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14409, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_set_current_function", "(", "tree", "fndecl", ")", "{", "tree", "old_tree", "=", "(", "rs6000_previous_fndecl", "?", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "rs6000_previous_fndecl", ")", ":", "NULL_TREE", ")", ";", "tree", "new_tree", "=", "(", "fndecl", "?", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "fndecl", ")", ":", "NULL_TREE", ")", ";", "if", "(", "TARGET_DEBUG_TARGET", ")", "{", "bool", "print_final", "=", "false", ";", "fprintf", "(", "stderr", ",", "\"\\n==================== rs6000_set_current_function\"", ")", ";", "if", "(", "fndecl", ")", "fprintf", "(", "stderr", ",", "\", fndecl %s (%p)\"", ",", "(", "DECL_NAME", "(", "fndecl", ")", "?", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "fndecl", ")", ")", ":", "\"\"", ")", ",", "(", "void", "*", ")", "fndecl", ")", ";", "if", "(", "rs6000_previous_fndecl", ")", "fprintf", "(", "stderr", ",", "\", prev_fndecl (%p)\"", ",", "(", "void", "*", ")", "rs6000_previous_fndecl", ")", ";", "fprintf", "(", "stderr", ",", "\"\\n\"", ")", ";", "if", "(", "new_tree", ")", "{", "fprintf", "(", "stderr", ",", "\"\\nnew fndecl target specific options:\\n\"", ")", ";", "debug_tree", "(", "new_tree", ")", ";", "print_final", "=", "true", ";", "}", "if", "(", "old_tree", ")", "{", "fprintf", "(", "stderr", ",", "\"\\nold fndecl target specific options:\\n\"", ")", ";", "debug_tree", "(", "old_tree", ")", ";", "print_final", "=", "true", ";", "}", "if", "(", "print_final", ")", "fprintf", "(", "stderr", ",", "\"--------------------\\n\"", ")", ";", "}", "if", "(", "fndecl", "&&", "fndecl", "!=", "rs6000_previous_fndecl", ")", "{", "rs6000_previous_fndecl", "=", "fndecl", ";", "if", "(", "old_tree", "==", "new_tree", ")", ";", "else", "if", "(", "new_tree", "&&", "new_tree", "!=", "target_option_default_node", ")", "{", "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", "TREE_TARGET_GLOBALS", "(", "new_tree", ")", "=", "save_target_globals_default_opts", "(", ")", ";", "}", "else", "if", "(", "old_tree", "&&", "old_tree", "!=", "target_option_default_node", ")", "{", "new_tree", "=", "target_option_current_node", ";", "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", "(", ")", ";", "}", "}", "}", ""], "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": ["powerpcspe", "\"\\n==================== rs6000_set_current_function\"", "\", fndecl %s (%p)\"", "\"\"", "\", prev_fndecl (%p)\"", "\"\\n\"", "\"\\nnew fndecl target specific options:\\n\"", "\"\\nold fndecl target specific options:\\n\"", "\"--------------------\\n\""], "File": "powerpcspe", "Func": "rs6000_set_current_function", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14410, "Length": 300, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "PPCDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "if", "(", "!", "GlobalBaseReg", ")", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "TM", ".", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ";", "MachineBasicBlock", "&", "FirstMBB", "=", "MF", "->", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "FirstMBB", ".", "begin", "(", ")", ";", "const", "Module", "*", "M", "=", "MF", "->", "getFunction", "(", ")", "->", "getParent", "(", ")", ";", "DebugLoc", "dl", ";", "if", "(", "PPCLowering", "->", "getPointerTy", "(", ")", "==", "MVT", "::", "i32", ")", "{", "if", "(", "PPCSubTarget", "->", "isTargetELF", "(", ")", ")", "{", "GlobalBaseReg", "=", "PPC", "::", "R30", ";", "if", "(", "M", "->", "getPICLevel", "(", ")", "==", "PICLevel", "::", "Small", ")", "{", "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", ")", ";", "unsigned", "TempReg", "=", "RegInfo", "->", "createVirtualRegister", "(", "&", "PPC", "::", "GPRCRegClass", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "UpdateGBR", ")", ")", ".", "addReg", "(", "GlobalBaseReg", ")", ".", "addReg", "(", "TempReg", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "GlobalBaseReg", ")", ";", "MF", "->", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", "->", "setUsesPICBase", "(", "true", ")", ";", "}", "}", "else", "{", "GlobalBaseReg", "=", "RegInfo", "->", "createVirtualRegister", "(", "&", "PPC", "::", "GPRC_NOR0RegClass", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MovePCtoLR", ")", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MFLR", ")", ",", "GlobalBaseReg", ")", ";", "}", "}", "else", "{", "GlobalBaseReg", "=", "RegInfo", "->", "createVirtualRegister", "(", "&", "PPC", "::", "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", "(", ")", ")", ".", "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", "PPC::R30", "PPC::MoveGOTtoLR", "PPC::MFLR", "PPC", "PPC::MovePCtoLR", "PPC::MFLR", "PPC::GPRCRegClass", "PPC::UpdateGBR", "PPC", "PPC::GPRC_NOR0RegClass", "PPC::MovePCtoLR", "PPC::MFLR", "PPC::G8RC_NOX0RegClass", "PPC::MovePCtoLR8", "PPC::MFLR8", "PPC"], "File": "PPCISelDAGToDAG91", "Func": "getGlobalBaseReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14411, "Length": 396, "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": 14412, "Length": 50, "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": 14413, "Length": 421, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "altivec_expand_stvx_be", "(", "rtx", "op0", ",", "rtx", "op1", ",", "machine_mode", "mode", ",", "unsigned", "unspec", ")", "{", "rtx", "tmp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rtx", "store", "=", "gen_rtx_SET", "(", "op0", ",", "tmp", ")", ";", "rtx", "stvx", "=", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "1", ",", "const0_rtx", ")", ",", "unspec", ")", ";", "rtx", "par", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec", "(", "2", ",", "store", ",", "stvx", ")", ")", ";", "rtx", "sel", "=", "swap_selector_for_mode", "(", "mode", ")", ";", "rtx", "vperm", ";", "gcc_assert", "(", "REG_P", "(", "op1", ")", ")", ";", "vperm", "=", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "3", ",", "op1", ",", "op1", ",", "sel", ")", ",", "UNSPEC_VPERM", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "tmp", ",", "vperm", ")", ")", ";", "emit_insn", "(", "par", ")", ";", "}", ""], "natrual_language": ["Generate", "code", "for", "a", "``", "stvx", "''", "or", "``", "stvxl", "''", "built-in", "for", "a", "little", "endian", "target", "with", "-maltivec=be", "specified", ".", "Issue", "the", "store", "preceded", "by", "an", "element-reversing", "permute", "."], "TS_V_token": ["rs6000", "1", "2", "3"], "File": "rs60005", "Func": "altivec_expand_stvx_be", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14414, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sparc_tls_referenced_p", "(", "rtx", "x", ")", "{", "if", "(", "!", "TARGET_HAVE_TLS", ")", "return", "false", ";", "return", "for_each_rtx", "(", "&", "x", ",", "&", "sparc_tls_symbol_ref_1", ",", "0", ")", ";", "}", ""], "natrual_language": ["Return", "1", "if", "X", "contains", "a", "thread-local", "symbol", "."], "TS_V_token": ["sparc", "0"], "File": "sparc3", "Func": "sparc_tls_referenced_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14415, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "aarch64_unspec_may_trap_p", "(", "const_rtx", "x", ",", "unsigned", "flags", ")", "{", "switch", "(", "XINT", "(", "x", ",", "1", ")", ")", "{", "case", "UNSPEC_GOTSMALLPIC", ":", "case", "UNSPEC_GOTSMALLPIC28K", ":", "case", "UNSPEC_GOTTINYPIC", ":", "return", "0", ";", "default", ":", "break", ";", "}", "return", "default_unspec_may_trap_p", "(", "x", ",", "flags", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_UNSPEC_MAY_TRAP_P", "."], "TS_V_token": ["aarch64", "1", "0"], "File": "aarch64", "Func": "aarch64_unspec_may_trap_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14416, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "loongarch_pass_by_reference", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "HOST_WIDE_INT", "size", "=", "arg", ".", "type_size_in_bytes", "(", ")", ";", "struct", "loongarch_arg_info", "info", ";", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "if", "(", "cum", "!=", "NULL", ")", "{", "loongarch_get_arg_info", "(", "&", "info", ",", "cum", ",", "arg", ".", "mode", ",", "arg", ".", "type", ",", "arg", ".", "named", ",", "false", ")", ";", "if", "(", "info", ".", "num_fprs", ")", "return", "false", ";", "}", "return", "!", "IN_RANGE", "(", "size", ",", "0", ",", "2", "*", "UNITS_PER_WORD", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PASS_BY_REFERENCE", "."], "TS_V_token": ["loongarch", "0", "2"], "File": "loongarch", "Func": "loongarch_pass_by_reference", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14417, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "aarch64_reg_save_mode", "(", "unsigned", "int", "regno", ")", "{", "if", "(", "GP_REGNUM_P", "(", "regno", ")", ")", "return", "DImode", ";", "if", "(", "FP_REGNUM_P", "(", "regno", ")", ")", "switch", "(", "crtl", "->", "abi", "->", "id", "(", ")", ")", "{", "case", "ARM_PCS_AAPCS64", ":", "return", "DFmode", ";", "case", "ARM_PCS_SIMD", ":", "return", "TFmode", ";", "case", "ARM_PCS_SVE", ":", "if", "(", "aarch64_emit_cfi_for_reg_p", "(", "regno", ")", ")", "return", "VNx2DImode", ";", "return", "VNx16QImode", ";", "case", "ARM_PCS_TLSDESC", ":", "case", "ARM_PCS_UNKNOWN", ":", "break", ";", "}", "if", "(", "PR_REGNUM_P", "(", "regno", ")", ")", "return", "VNx16BImode", ";", "gcc_unreachable", "(", ")", ";", "}", ""], "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": "aarch64", "Func": "aarch64_reg_save_mode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14418, "Length": 89, "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", ",", "bool", "MustPreserveCheriCapabilities", ",", "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": "SystemZSelectionDAGInfo17", "Func": "EmitTargetCodeForMemcpy", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14419, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_file_start", "(", "void", ")", "{", "default_file_start", "(", ")", ";", "if", "(", "!", "TARGET_IRIX", ")", "{", "const", "char", "*", "abi_string", "=", "NULL", ";", "switch", "(", "mips_abi", ")", "{", "case", "ABI_32", ":", "abi_string", "=", "\"abi32\"", ";", "break", ";", "case", "ABI_N32", ":", "abi_string", "=", "\"abiN32\"", ";", "break", ";", "case", "ABI_64", ":", "abi_string", "=", "\"abi64\"", ";", "break", ";", "case", "ABI_O64", ":", "abi_string", "=", "\"abiO64\"", ";", "break", ";", "case", "ABI_EABI", ":", "abi_string", "=", "TARGET_64BIT", "?", "\"eabi64\"", ":", "\"eabi32\"", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "fprintf", "(", "asm_out_file", ",", "\"\\t.section .mdebug.%s\\n\"", ",", "abi_string", ")", ";", "if", "(", "mips_abi", "==", "ABI_EABI", ")", "fprintf", "(", "asm_out_file", ",", "\"\\t.section .gcc_compiled_long%d\\n\"", ",", "TARGET_LONG64", "?", "64", ":", "32", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.previous\\n\"", ")", ";", "}", "if", "(", "TARGET_ABICALLS", ")", "fprintf", "(", "asm_out_file", ",", "\"\\t.abicalls\\n\"", ")", ";", "if", "(", "TARGET_MIPS16", ")", "fprintf", "(", "asm_out_file", ",", "\"\\t.set\\tmips16\\n\"", ")", ";", "if", "(", "flag_verbose_asm", ")", "fprintf", "(", "asm_out_file", ",", "\"\\n%s -G value = %d, Arch = %s, ISA = %d\\n\"", ",", "ASM_COMMENT_START", ",", "mips_section_threshold", ",", "mips_arch_info", "->", "name", ",", "mips_isa", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_FILE_START", "."], "TS_V_token": ["mips", "\"abi32\"", "\"abiN32\"", "\"abi64\"", "\"abiO64\"", "\"eabi64\"", "\"eabi32\"", "\"\\t.section .mdebug.%s\\n\"", "\"\\t.section .gcc_compiled_long%d\\n\"", "64", "32", "\"\\t.previous\\n\"", "\"\\t.abicalls\\n\"", "\"\\t.set\\tmips16\\n\"", "\"\\n%s -G value = %d, Arch = %s, ISA = %d\\n\""], "File": "mips3", "Func": "mips_file_start", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14420, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "hasLowDefLatency", "(", "const", "TargetSchedModel", "&", "SchedModel", ",", "const", "MachineInstr", "*", "DefMI", ",", "unsigned", "DefIdx", ")", "const", "{", "const", "InstrItineraryData", "*", "ItinData", "=", "SchedModel", ".", "getInstrItineraries", "(", ")", ";", "if", "(", "!", "ItinData", "||", "ItinData", "->", "isEmpty", "(", ")", ")", "return", "false", ";", "unsigned", "DDomain", "=", "DefMI", "->", "getDesc", "(", ")", ".", "TSFlags", "&", "ARMII", "::", "DomainMask", ";", "if", "(", "DDomain", "==", "ARMII", "::", "DomainGeneral", ")", "{", "unsigned", "DefClass", "=", "DefMI", "->", "getDesc", "(", ")", ".", "getSchedClass", "(", ")", ";", "int", "DefCycle", "=", "ItinData", "->", "getOperandCycle", "(", "DefClass", ",", "DefIdx", ")", ";", "return", "(", "DefCycle", "!=", "-", "1", "&&", "DefCycle", "<=", "2", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Compute", "operand", "latency", "of", "a", "def", "of", "'Reg", "'", "."], "TS_V_token": ["ARM", "ARM", "ARMII::DomainMask", "ARMII::DomainGeneral", "1", "2"], "File": "ARMBaseInstrInfo (2)3", "Func": "hasLowDefLatency", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14421, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getLinkageSize", "(", ")", "const", "{", "return", "LinkageSize", ";", "}", ""], "natrual_language": ["getLinkageSize", "-", "Return", "the", "size", "of", "the", "PowerPC", "ABI", "linkage", "area", "."], "TS_V_token": ["PowerPC"], "File": "PPCFrameLowering (2)", "Func": "getLinkageSize", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14422, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_const_vector_same_bytes_p", "(", "rtx", "op", ",", "machine_mode", "mode", ")", "{", "int", "i", ",", "bytes", ";", "HOST_WIDE_INT", "val", ",", "first_byte", ";", "rtx", "first", ";", "if", "(", "!", "mips_const_vector_same_val_p", "(", "op", ",", "mode", ")", ")", "return", "false", ";", "first", "=", "CONST_VECTOR_ELT", "(", "op", ",", "0", ")", ";", "bytes", "=", "GET_MODE_UNIT_SIZE", "(", "mode", ")", ";", "val", "=", "INTVAL", "(", "first", ")", ";", "first_byte", "=", "val", "&", "0xff", ";", "for", "(", "i", "=", "1", ";", "i", "<", "bytes", ";", "i", "++", ")", "{", "val", ">>=", "8", ";", "if", "(", "(", "val", "&", "0xff", ")", "!=", "first_byte", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "is", "a", "constant", "vector", "with", "the", "number", "of", "units", "in", "MODE", ",", "and", "each", "unit", "has", "the", "same", "value", "as", "well", "as", "replicated", "bytes", "in", "the", "value", "."], "TS_V_token": ["mips", "0", "0xff", "1", "8", "0xff"], "File": "mips", "Func": "mips_const_vector_same_bytes_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14423, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "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": "PPCEarlyReturn1", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14424, "Length": 86, "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": ["LC2200", "0"], "File": "LC2200AsmParser", "Func": "addExpr", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14425, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "offset_6bit_signed_scaled_p", "(", "machine_mode", "mode", ",", "poly_int64", "offset", ")", "{", "HOST_WIDE_INT", "multiple", ";", "return", "(", "constant_multiple_p", "(", "offset", ",", "GET_MODE_SIZE", "(", "mode", ")", ",", "&", "multiple", ")", "&&", "IN_RANGE", "(", "multiple", ",", "-", "32", ",", "31", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OFFSET", "is", "a", "signed", "6-bit", "value", "multiplied", "by", "the", "size", "of", "MODE", "."], "TS_V_token": ["aarch64", "32", "31"], "File": "aarch641", "Func": "offset_6bit_signed_scaled_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14426, "Length": 42, "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": ["Sparc"], "File": "SparcAsmParser", "Func": "isReg", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14427, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_debug_adjust_cost", "(", "rtx_insn", "*", "insn", ",", "rtx", "link", ",", "rtx_insn", "*", "dep_insn", ",", "int", "cost", ")", "{", "int", "ret", "=", "rs6000_adjust_cost", "(", "insn", ",", "link", ",", "dep_insn", ",", "cost", ")", ";", "if", "(", "ret", "!=", "cost", ")", "{", "const", "char", "*", "dep", ";", "switch", "(", "REG_NOTE_KIND", "(", "link", ")", ")", "{", "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": "rs60004", "Func": "rs6000_debug_adjust_cost", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14428, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "get_next_active_insn", "(", "rtx_insn", "*", "insn", ",", "rtx_insn", "*", "tail", ")", "{", "if", "(", "insn", "==", "NULL_RTX", "||", "insn", "==", "tail", ")", "return", "NULL", ";", "while", "(", "1", ")", "{", "insn", "=", "NEXT_INSN", "(", "insn", ")", ";", "if", "(", "insn", "==", "NULL_RTX", "||", "insn", "==", "tail", ")", "return", "NULL", ";", "if", "(", "CALL_P", "(", "insn", ")", "||", "JUMP_P", "(", "insn", ")", "||", "JUMP_TABLE_DATA_P", "(", "insn", ")", "||", "(", "NONJUMP_INSN_P", "(", "insn", ")", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "USE", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "CLOBBER", "&&", "INSN_CODE", "(", "insn", ")", "!=", "CODE_FOR_stack_tie", ")", ")", "break", ";", "}", "return", "insn", ";", "}", ""], "natrual_language": ["Return", "the", "next", "insn", "after", "INSN", "that", "is", "found", "before", "TAIL", "is", "reached", ",", "skipping", "any", "``", "non-active", "''", "insns", "-", "insns", "that", "will", "not", "actually", "occupy", "an", "issue", "slot", ".", "Return", "NULL_RTX", "if", "such", "an", "insn", "is", "not", "found", "."], "TS_V_token": ["powerpcspe", "1"], "File": "powerpcspe", "Func": "get_next_active_insn", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14429, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_scalar_mode_supported_p", "(", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_32BIT", "&&", "mode", "==", "TImode", ")", "return", "false", ";", "if", "(", "DECIMAL_FLOAT_MODE_P", "(", "mode", ")", ")", "return", "default_decimal_float_supported_p", "(", ")", ";", "else", "if", "(", "TARGET_FLOAT128", "&&", "(", "mode", "==", "KFmode", "||", "mode", "==", "IFmode", ")", ")", "return", "true", ";", "else", "return", "default_scalar_mode_supported_p", "(", "mode", ")", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "scalar_mode_supported_p", "."], "TS_V_token": ["rs6000"], "File": "rs60005", "Func": "rs6000_scalar_mode_supported_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14430, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSEInstrInfo", "::", "isCopyInstrImpl", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "*", "&", "Src", ",", "const", "MachineOperand", "*", "&", "Dest", ")", "const", "{", "bool", "isDSPControlWrite", "=", "false", ";", "if", "(", "isReadOrWriteToDSPReg", "(", "MI", ",", "isDSPControlWrite", ")", ")", "{", "if", "(", "!", "MI", ".", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", "||", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "!=", "(", "1", "<<", "4", ")", ")", "return", "false", ";", "else", "if", "(", "isDSPControlWrite", ")", "{", "Src", "=", "&", "MI", ".", "getOperand", "(", "0", ")", ";", "Dest", "=", "&", "MI", ".", "getOperand", "(", "2", ")", ";", "}", "else", "{", "Dest", "=", "&", "MI", ".", "getOperand", "(", "0", ")", ";", "Src", "=", "&", "MI", ".", "getOperand", "(", "2", ")", ";", "}", "return", "true", ";", "}", "else", "if", "(", "MI", ".", "isMoveReg", "(", ")", "||", "isORCopyInst", "(", "MI", ")", ")", "{", "Dest", "=", "&", "MI", ".", "getOperand", "(", "0", ")", ";", "Src", "=", "&", "MI", ".", "getOperand", "(", "1", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "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": ["Mips", "Mips", "1", "1", "1", "4", "0", "2", "0", "2", "0", "1"], "File": "MipsSEInstrInfo37", "Func": "isCopyInstrImpl", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14431, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_float_const_representable_p", "(", "rtx", "x", ")", "{", "int", "point_pos", "=", "2", "*", "HOST_BITS_PER_WIDE_INT", "-", "1", ";", "int", "exponent", ";", "unsigned", "HOST_WIDE_INT", "mantissa", ",", "mask", ";", "REAL_VALUE_TYPE", "r", ",", "m", ";", "bool", "fail", ";", "if", "(", "!", "CONST_DOUBLE_P", "(", "x", ")", ")", "return", "false", ";", "if", "(", "GET_MODE", "(", "x", ")", "==", "VOIDmode", "||", "GET_MODE", "(", "x", ")", "==", "HFmode", ")", "return", "false", ";", "r", "=", "*", "CONST_DOUBLE_REAL_VALUE", "(", "x", ")", ";", "if", "(", "REAL_VALUE_ISINF", "(", "r", ")", "||", "REAL_VALUE_ISNAN", "(", "r", ")", "||", "REAL_VALUE_MINUS_ZERO", "(", "r", ")", ")", "return", "false", ";", "r", "=", "real_value_abs", "(", "&", "r", ")", ";", "exponent", "=", "REAL_EXP", "(", "&", "r", ")", ";", "real_ldexp", "(", "&", "m", ",", "&", "r", ",", "point_pos", "-", "exponent", ")", ";", "wide_int", "w", "=", "real_to_integer", "(", "&", "m", ",", "&", "fail", ",", "HOST_BITS_PER_WIDE_INT", "*", "2", ")", ";", "if", "(", "w", ".", "ulow", "(", ")", "!=", "0", ")", "return", "false", ";", "mantissa", "=", "w", ".", "elt", "(", "1", ")", ";", "point_pos", "-=", "HOST_BITS_PER_WIDE_INT", ";", "mask", "=", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "1", "<<", "(", "point_pos", "-", "5", ")", ")", "-", "1", ";", "if", "(", "(", "mantissa", "&", "mask", ")", "!=", "0", ")", "return", "false", ";", "mantissa", ">>=", "point_pos", "-", "5", ";", "if", "(", "mantissa", "==", "0", ")", "return", "false", ";", "mantissa", "&=", "~", "(", "1", "<<", "4", ")", ";", "gcc_assert", "(", "mantissa", "<=", "15", ")", ";", "exponent", "=", "5", "-", "exponent", ";", "return", "(", "exponent", ">=", "0", "&&", "exponent", "<=", "7", ")", ";", "}", ""], "natrual_language": ["Return", "true", "iff", "X", "can", "be", "represented", "by", "a", "quarter-precision", "floating", "point", "immediate", "operand", "X", ".", "Note", ",", "we", "can", "not", "represent", "0.0", "."], "TS_V_token": ["aarch64", "2", "1", "2", "0", "1", "1", "5", "1", "0", "5", "0", "1", "4", "15", "5", "0", "7"], "File": "aarch644", "Func": "aarch64_float_const_representable_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14432, "Length": 242, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "allocateScavengingFrameIndexesNearIncomingSP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Control", "the", "placement", "of", "special", "register", "scavenging", "spill", "slots", "when", "allocating", "a", "stack", "frame", "."], "TS_V_token": ["Mips"], "File": "MipsFrameLowering21", "Func": "allocateScavengingFrameIndexesNearIncomingSP", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14433, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FastISel", "::", "tryToFoldLoadIntoMI", "(", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "LoadInst", "*", "LI", ")", "{", "const", "Value", "*", "Ptr", "=", "LI", "->", "getPointerOperand", "(", ")", ";", "X86AddressMode", "AM", ";", "if", "(", "!", "X86SelectAddress", "(", "Ptr", ",", "AM", ")", ")", "return", "false", ";", "const", "X86InstrInfo", "&", "XII", "=", "(", "const", "X86InstrInfo", "&", ")", "TII", ";", "unsigned", "Size", "=", "DL", ".", "getTypeAllocSize", "(", "LI", "->", "getType", "(", ")", ")", ";", "unsigned", "Alignment", "=", "LI", "->", "getAlignment", "(", ")", ";", "if", "(", "Alignment", "==", "0", ")", "Alignment", "=", "DL", ".", "getABITypeAlignment", "(", "LI", "->", "getType", "(", ")", ")", ";", "SmallVector", "<", "MachineOperand", ",", "8", ">", "AddrOps", ";", "AM", ".", "getFullAddress", "(", "AddrOps", ")", ";", "MachineInstr", "*", "Result", "=", "XII", ".", "foldMemoryOperandImpl", "(", "*", "FuncInfo", ".", "MF", ",", "*", "MI", ",", "OpNo", ",", "AddrOps", ",", "FuncInfo", ".", "InsertPt", ",", "Size", ",", "Alignment", ",", "true", ")", ";", "if", "(", "!", "Result", ")", "return", "false", ";", "unsigned", "OperandNo", "=", "0", ";", "for", "(", "MachineInstr", "::", "mop_iterator", "I", "=", "Result", "->", "operands_begin", "(", ")", ",", "E", "=", "Result", "->", "operands_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ",", "++", "OperandNo", ")", "{", "MachineOperand", "&", "MO", "=", "*", "I", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", "||", "MO", ".", "isDef", "(", ")", "||", "MO", ".", "getReg", "(", ")", "!=", "AM", ".", "IndexReg", ")", "continue", ";", "unsigned", "IndexReg", "=", "constrainOperandRegClass", "(", "Result", "->", "getDesc", "(", ")", ",", "MO", ".", "getReg", "(", ")", ",", "OperandNo", ")", ";", "if", "(", "IndexReg", "==", "MO", ".", "getReg", "(", ")", ")", "continue", ";", "MO", ".", "setReg", "(", "IndexReg", ")", ";", "}", "Result", "->", "addMemOperand", "(", "*", "FuncInfo", ".", "MF", ",", "createMachineMemOperandFor", "(", "LI", ")", ")", ";", "Result", "->", "cloneInstrSymbols", "(", "*", "FuncInfo", ".", "MF", ",", "*", "MI", ")", ";", "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": ["X86", "X86", "X86", "X86", "X86", "X86", "0", "8", "0"], "File": "X86FastISel102", "Func": "tryToFoldLoadIntoMI", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14434, "Length": 316, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintWeight", "PPCTargetLowering", "::", "getSingleConstraintMatchWeight", "(", "AsmOperandInfo", "&", "info", ",", "const", "char", "*", "constraint", ")", "const", "{", "ConstraintWeight", "weight", "=", "CW_Invalid", ";", "Value", "*", "CallOperandVal", "=", "info", ".", "CallOperandVal", ";", "if", "(", "!", "CallOperandVal", ")", "return", "CW_Default", ";", "Type", "*", "type", "=", "CallOperandVal", "->", "getType", "(", ")", ";", "if", "(", "StringRef", "(", "constraint", ")", "==", "\"wc\"", "&&", "type", "->", "isIntegerTy", "(", "1", ")", ")", "return", "CW_Register", ";", "else", "if", "(", "(", "StringRef", "(", "constraint", ")", "==", "\"wa\"", "||", "StringRef", "(", "constraint", ")", "==", "\"wd\"", "||", "StringRef", "(", "constraint", ")", "==", "\"wf\"", ")", "&&", "type", "->", "isVectorTy", "(", ")", ")", "return", "CW_Register", ";", "else", "if", "(", "StringRef", "(", "constraint", ")", "==", "\"ws\"", "&&", "type", "->", "isDoubleTy", "(", ")", ")", "return", "CW_Register", ";", "else", "if", "(", "StringRef", "(", "constraint", ")", "==", "\"wi\"", "&&", "type", "->", "isIntegerTy", "(", "64", ")", ")", "return", "CW_Register", ";", "switch", "(", "*", "constraint", ")", "{", "default", ":", "weight", "=", "TargetLowering", "::", "getSingleConstraintMatchWeight", "(", "info", ",", "constraint", ")", ";", "break", ";", "case", "'b'", ":", "if", "(", "type", "->", "isIntegerTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'f'", ":", "if", "(", "type", "->", "isFloatTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'d'", ":", "if", "(", "type", "->", "isDoubleTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'v'", ":", "if", "(", "type", "->", "isVectorTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'y'", ":", "weight", "=", "CW_Register", ";", "break", ";", "case", "'Z'", ":", "weight", "=", "CW_Memory", ";", "break", ";", "}", "return", "weight", ";", "}", ""], "natrual_language": ["Examine", "constraint", "string", "and", "operand", "type", "and", "determine", "a", "weight", "value", "."], "TS_V_token": ["PowerPC", "PPC", "\"wc\"", "1", "\"wa\"", "\"wd\"", "\"wf\"", "\"ws\"", "\"wi\"", "64"], "File": "PPCISelLowering (2)7", "Func": "getSingleConstraintMatchWeight", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14435, "Length": 254, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "DetectRoundChange", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "SparcSubtarget", ">", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "auto", "MFI", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "MFI", "!=", "E", ";", "++", "MFI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MFI", ";", "for", "(", "auto", "MBBI", "=", "MBB", ".", "begin", "(", ")", ",", "E", "=", "MBB", ".", "end", "(", ")", ";", "MBBI", "!=", "E", ";", "++", "MBBI", ")", "{", "MachineInstr", "&", "MI", "=", "*", "MBBI", ";", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "Opcode", "==", "SP", "::", "CALL", "&&", "MI", ".", "getNumOperands", "(", ")", ">", "0", ")", "{", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "if", "(", "MO", ".", "isGlobal", "(", ")", ")", "{", "StringRef", "FuncName", "=", "MO", ".", "getGlobal", "(", ")", "->", "getName", "(", ")", ";", "if", "(", "FuncName", ".", "compare_insensitive", "(", "\"fesetround\"", ")", "==", "0", ")", "{", "errs", "(", ")", "<<", "\"Error: You are using the detectroundchange \"", "\"option to detect rounding changes that will \"", "\"cause LEON errata. The only way to fix this \"", "\"is to remove the call to fesetround from \"", "\"the source code.\\n\"", ";", "}", "}", "}", "}", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Sparc", "Sparc", "SP::CALL", "0", "0", "\"fesetround\"", "0", "\"Error: You are using the detectroundchange \"", "\"option to detect rounding changes that will \"", "\"cause LEON errata. The only way to fix this \"", "\"is to remove the call to fesetround from \"", "\"the source code.\\n\""], "File": "LeonPasses4", "Func": "runOnMachineFunction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14436, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnFunction", "(", "Function", "&", "F", ")", "override", "{", "if", "(", "DisableParallelDSP", ")", "return", "false", ";", "if", "(", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "SE", "=", "&", "getAnalysis", "<", "ScalarEvolutionWrapperPass", ">", "(", ")", ".", "getSE", "(", ")", ";", "AA", "=", "&", "getAnalysis", "<", "AAResultsWrapperPass", ">", "(", ")", ".", "getAAResults", "(", ")", ";", "TLI", "=", "&", "getAnalysis", "<", "TargetLibraryInfoWrapperPass", ">", "(", ")", ".", "getTLI", "(", ")", ";", "DT", "=", "&", "getAnalysis", "<", "DominatorTreeWrapperPass", ">", "(", ")", ".", "getDomTree", "(", ")", ";", "auto", "&", "TPC", "=", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ";", "M", "=", "F", ".", "getParent", "(", ")", ";", "DL", "=", "&", "M", "->", "getDataLayout", "(", ")", ";", "auto", "&", "TM", "=", "TPC", ".", "getTM", "<", "TargetMachine", ">", "(", ")", ";", "auto", "*", "ST", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", "F", ")", ";", "if", "(", "!", "ST", "->", "allowsUnalignedMem", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Unaligned memory access not supported: not \"", "\"running pass ARMParallelDSP\\n\"", ")", ";", "return", "false", ";", "}", "if", "(", "!", "ST", "->", "hasDSP", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"DSP extension not enabled: not running pass \"", "\"ARMParallelDSP\\n\"", ")", ";", "return", "false", ";", "}", "if", "(", "!", "ST", "->", "isLittle", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Only supporting little endian: not running pass \"", "<<", "\"ARMParallelDSP\\n\"", ")", ";", "return", "false", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\n== Parallel DSP pass ==\\n\"", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\" - \"", "<<", "F", ".", "getName", "(", ")", "<<", "\"\\n\\n\"", ")", ";", "bool", "Changes", "=", "MatchSMLAD", "(", "F", ")", ";", "return", "Changes", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["ARM", "ARM", "\"Unaligned memory access not supported: not \"", "\"running pass ARMParallelDSP\\n\"", "\"DSP extension not enabled: not running pass \"", "\"ARMParallelDSP\\n\"", "\"Only supporting little endian: not running pass \"", "\"ARMParallelDSP\\n\"", "\"\\n== Parallel DSP pass ==\\n\"", "\" - \"", "\"\\n\\n\""], "File": "ARMParallelDSP1", "Func": "runOnFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14437, "Length": 249, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "KudeyarTargetMachine", "&", "getTargetMachine", "(", ")", "{", "return", "static_cast", "<", "const", "KudeyarTargetMachine", "&", ">", "(", "TM", ")", ";", "}", ""], "natrual_language": ["Return", "the", "target", "machine", "(", "if", "available", ")", "."], "TS_V_token": ["Kudeyar", "Kudeyar", "Kudeyar"], "File": "KudeyarISelDAGToDAG", "Func": "getTargetMachine", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14438, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "aarch64_symbol_type", "aarch64_classify_symbolic_expression", "(", "rtx", "x", ",", "enum", "aarch64_symbol_context", "context", ")", "{", "rtx", "offset", ";", "split_const", "(", "x", ",", "&", "x", ",", "&", "offset", ")", ";", "return", "aarch64_classify_symbol", "(", "x", ",", "offset", ",", "context", ")", ";", "}", ""], "natrual_language": ["Classify", "the", "base", "of", "symbolic", "expression", "X", ",", "given", "that", "X", "appears", "in", "context", "CONTEXT", "."], "TS_V_token": ["aarch64"], "File": "aarch642", "Func": "aarch64_classify_symbolic_expression", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14439, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCFrameLowering", "::", "enableShrinkWrapping", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "MF", ".", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", "->", "shrinkWrapDisabled", "(", ")", ")", "return", "false", ";", "return", "!", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "is32BitELFABI", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "will", "correctly", "handle", "shrink", "wrapping", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC"], "File": "PPCFrameLowering16", "Func": "enableShrinkWrapping", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14440, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "OpenRISCFrameLowering", "::", "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": ["OpenRISC", "OpenRISC"], "File": "OpenRISCFrameLowering", "Func": "hasFP", "Target": "OpenRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14441, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "classof", "(", "const", "ARMConstantPoolValue", "*", "ACPV", ")", "{", "return", "ACPV", "->", "isMachineBasicBlock", "(", ")", ";", "}", ""], "natrual_language": ["Methods", "for", "support", "type", "inquiry", "through", "isa", ",", "cast", ",", "and", "dyn_cast", ":"], "TS_V_token": ["ARM", "ARM"], "File": "ARMConstantPoolValue", "Func": "classof", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14442, "Length": 18, "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": ["CSKY"], "File": "CSKYTargetMachine (2)", "Func": "getObjFileLowering", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14443, "Length": 16, "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", "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": "i3865", "Func": "ix86_loop_unroll_adjust", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14444, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_sse2_abs", "(", "rtx", "target", ",", "rtx", "input", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "target", ")", ";", "rtx", "tmp0", ",", "tmp1", ",", "x", ";", "switch", "(", "mode", ")", "{", "case", "V4SImode", ":", "tmp0", "=", "expand_simple_binop", "(", "mode", ",", "ASHIFTRT", ",", "input", ",", "GEN_INT", "(", "GET_MODE_UNIT_BITSIZE", "(", "mode", ")", "-", "1", ")", ",", "NULL", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "tmp1", "=", "expand_simple_binop", "(", "mode", ",", "XOR", ",", "tmp0", ",", "input", ",", "NULL", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "x", "=", "expand_simple_binop", "(", "mode", ",", "MINUS", ",", "tmp1", ",", "tmp0", ",", "target", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "break", ";", "case", "V8HImode", ":", "tmp0", "=", "expand_unop", "(", "mode", ",", "neg_optab", ",", "input", ",", "NULL_RTX", ",", "0", ")", ";", "x", "=", "expand_simple_binop", "(", "mode", ",", "SMAX", ",", "tmp0", ",", "input", ",", "target", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "break", ";", "case", "V16QImode", ":", "tmp0", "=", "expand_unop", "(", "mode", ",", "neg_optab", ",", "input", ",", "NULL_RTX", ",", "0", ")", ";", "x", "=", "expand_simple_binop", "(", "V16QImode", ",", "UMIN", ",", "tmp0", ",", "input", ",", "target", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "x", "!=", "target", ")", "emit_move_insn", "(", "target", ",", "x", ")", ";", "}", ""], "natrual_language": ["Calculate", "integer", "abs", "(", ")", "using", "only", "SSE2", "instructions", "."], "TS_V_token": ["i386", "1", "0", "0", "0", "0", "0", "0", "0"], "File": "i3865", "Func": "ix86_expand_sse2_abs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14445, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "MipsRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", ")", "const", "{", "const", "MipsSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "if", "(", "Subtarget", ".", "isSingleFloat", "(", ")", ")", "return", "CSR_SingleFloatOnly_RegMask", ";", "if", "(", "Subtarget", ".", "isABI_N64", "(", ")", ")", "return", "CSR_N64_RegMask", ";", "if", "(", "Subtarget", ".", "isABI_N32", "(", ")", ")", "return", "CSR_N32_RegMask", ";", "if", "(", "Subtarget", ".", "isFP64bit", "(", ")", ")", "return", "CSR_O32_FP64_RegMask", ";", "if", "(", "Subtarget", ".", "isFPXX", "(", ")", ")", "return", "CSR_O32_FPXX_RegMask", ";", "return", "CSR_O32_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips"], "File": "MipsRegisterInfo (2)1", "Func": "getCallPreservedMask", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14446, "Length": 91, "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": 14447, "Length": 127, "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": 14448, "Length": 25, "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", ";", "bool", "hasAVX2", "=", "Subtarget", ".", "hasAVX2", "(", ")", ";", "uint16_t", "validDomains", "=", "0", ";", "if", "(", "domain", "&&", "lookup", "(", "MI", ".", "getOpcode", "(", ")", ",", "domain", ")", ")", "validDomains", "=", "0xe", ";", "else", "if", "(", "domain", "&&", "lookupAVX2", "(", "MI", ".", "getOpcode", "(", ")", ",", "domain", ")", ")", "validDomains", "=", "hasAVX2", "?", "0xe", ":", "0x6", ";", "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"], "File": "X86InstrInfo (2)1", "Func": "getExecutionDomain", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14449, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isBlockOnlyReachableByFallthrough", "(", "const", "MachineBasicBlock", "*", "MBB", ")", "const", "{", "const", "MachineBasicBlock", "*", "Pred", "=", "*", "MBB", "->", "pred_begin", "(", ")", ";", "if", "(", "const", "BasicBlock", "*", "bb", "=", "Pred", "->", "getBasicBlock", "(", ")", ")", "if", "(", "isa", "<", "SwitchInst", ">", "(", "bb", "->", "getTerminator", "(", ")", ")", ")", "return", "false", ";", "if", "(", "!", "AsmPrinterisBlockOnlyReachableByFallthrough", "(", "MBB", ")", ")", "return", "false", ";", "MachineBasicBlock", "::", "const_iterator", "I", "=", "Pred", "->", "end", "(", ")", ";", "while", "(", "I", "!=", "Pred", "->", "begin", "(", ")", "&&", "!", "(", "--", "I", ")", "->", "isTerminator", "(", ")", ")", ";", "return", "!", "I", "->", "isBarrier", "(", ")", ";", "}", ""], "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": ["OR1K"], "File": "NEMESIS", "Func": "isBlockOnlyReachableByFallthrough", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14450, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_pic_register_p", "(", "rtx", "x", ")", "{", "if", "(", "!", "REG_P", "(", "x", ")", "||", "!", "pic_offset_table_rtx", ")", "return", "false", ";", "if", "(", "x", "==", "pic_offset_table_rtx", ")", "return", "true", ";", "if", "(", "!", "HARD_REGISTER_P", "(", "pic_offset_table_rtx", ")", "&&", "(", "HARD_REGISTER_P", "(", "x", ")", "||", "lra_in_progress", "||", "reload_in_progress", ")", "&&", "ORIGINAL_REGNO", "(", "x", ")", "==", "REGNO", "(", "pic_offset_table_rtx", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "representation", "of", "the", "PIC", "register", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "sparc_pic_register_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14451, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createMipsModuleISelDag", "(", "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": "MipsTargetMachine28", "Func": "addInstSelector", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14452, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64TargetMachine", "::", "AArch64TargetMachine", "(", "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", ",", "bool", "LittleEndian", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "Options", ".", "MCOptions", ",", "LittleEndian", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "TT", ",", "RM", ")", ",", "getEffectiveCodeModel", "(", "TT", ",", "CM", ",", "JIT", ")", ",", "OL", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", ",", "isLittle", "(", "LittleEndian", ")", "{", "initAsmInfo", "(", ")", ";", "if", "(", "getOptLevel", "(", ")", "<=", "EnableGlobalISelAtO", ")", "setGlobalISel", "(", "true", ")", ";", "}", ""], "natrual_language": ["Create", "an", "AArch64", "architecture", "model", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine11", "Func": "AArch64TargetMachine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14453, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_reset_previous_fndecl", "(", "void", ")", "{", "tree", "new_tree", "=", "target_option_current_node", ";", "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", "(", ")", ";", "ix86_previous_fndecl", "=", "NULL_TREE", ";", "}", ""], "natrual_language": ["Set", "targets", "globals", "to", "the", "default", "(", "or", "current", "#", "pragma", "GCC", "target", "if", "active", ")", ".", "Invalidate", "ix86_previous_fndecl", "cache", "."], "TS_V_token": ["i386"], "File": "i386-options", "Func": "ix86_reset_previous_fndecl", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14454, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86TTIImpl", "::", "getGatherScatterOpCost", "(", "unsigned", "Opcode", ",", "Type", "*", "SrcVTy", ",", "Value", "*", "Ptr", ",", "bool", "VariableMask", ",", "unsigned", "Alignment", ")", "{", "assert", "(", "SrcVTy", "->", "isVectorTy", "(", ")", "&&", "\"Unexpected data type for Gather/Scatter\"", ")", ";", "unsigned", "VF", "=", "SrcVTy", "->", "getVectorNumElements", "(", ")", ";", "PointerType", "*", "PtrTy", "=", "dyn_cast", "<", "PointerType", ">", "(", "Ptr", "->", "getType", "(", ")", ")", ";", "if", "(", "!", "PtrTy", "&&", "Ptr", "->", "getType", "(", ")", "->", "isVectorTy", "(", ")", ")", "PtrTy", "=", "dyn_cast", "<", "PointerType", ">", "(", "Ptr", "->", "getType", "(", ")", "->", "getVectorElementType", "(", ")", ")", ";", "assert", "(", "PtrTy", "&&", "\"Unexpected type for Ptr argument\"", ")", ";", "unsigned", "AddressSpace", "=", "PtrTy", "->", "getAddressSpace", "(", ")", ";", "bool", "Scalarize", "=", "false", ";", "if", "(", "(", "Opcode", "==", "Instruction", "::", "Load", "&&", "!", "isLegalMaskedGather", "(", "SrcVTy", ")", ")", "||", "(", "Opcode", "==", "Instruction", "::", "Store", "&&", "!", "isLegalMaskedScatter", "(", "SrcVTy", ")", ")", ")", "Scalarize", "=", "true", ";", "if", "(", "VF", "==", "2", "||", "(", "VF", "==", "4", "&&", "!", "ST", "->", "hasVLX", "(", ")", ")", ")", "Scalarize", "=", "true", ";", "if", "(", "Scalarize", ")", "return", "getGSScalarCost", "(", "Opcode", ",", "SrcVTy", ",", "VariableMask", ",", "Alignment", ",", "AddressSpace", ")", ";", "return", "getGSVectorCost", "(", "Opcode", ",", "SrcVTy", ",", "Ptr", ",", "Alignment", ",", "AddressSpace", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "Gather", "/", "Scatter", "operation", "."], "TS_V_token": ["X86", "X86", "\"Unexpected data type for Gather/Scatter\"", "\"Unexpected type for Ptr argument\"", "2", "4"], "File": "X86TargetTransformInfo105", "Func": "getGatherScatterOpCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14455, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "nds32_expand_priority_builtin", "(", "enum", "insn_code", "icode", ",", "tree", "exp", ",", "rtx", "target", ",", "const", "char", "*", "name", ")", "{", "rtx", "pat", ";", "rtx", "op0", "=", "nds32_read_argument", "(", "exp", ",", "0", ")", ";", "rtx", "op1", "=", "nds32_read_argument", "(", "exp", ",", "1", ")", ";", "if", "(", "!", "nds32_check_constant_argument", "(", "icode", ",", "0", ",", "op0", ",", "name", ")", ")", "return", "NULL_RTX", ";", "if", "(", "!", "nds32_check_constant_argument", "(", "icode", ",", "1", ",", "op1", ",", "name", ")", ")", "return", "NULL_RTX", ";", "op0", "=", "nds32_legitimize_argument", "(", "icode", ",", "0", ",", "op0", ")", ";", "op1", "=", "nds32_legitimize_argument", "(", "icode", ",", "1", ",", "op1", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op0", ",", "op1", ")", ";", "if", "(", "!", "pat", ")", "return", "NULL_RTX", ";", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Expand", "set", "int", "priority", "builtins", "."], "TS_V_token": ["nds32", "0", "1", "0", "1", "0", "1"], "File": "nds32-intrinsic", "Func": "nds32_expand_priority_builtin", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14456, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_return_in_msb", "(", "const_tree", "valtype", ")", "{", "machine_mode", "dummy_mode", ";", "int", "dummy_int", ";", "if", "(", "!", "BYTES_BIG_ENDIAN", ")", "return", "false", ";", "if", "(", "!", "aarch64_composite_type_p", "(", "valtype", ",", "TYPE_MODE", "(", "valtype", ")", ")", "||", "int_size_in_bytes", "(", "valtype", ")", "<=", "0", "||", "int_size_in_bytes", "(", "valtype", ")", ">", "16", ")", "return", "false", ";", "if", "(", "aarch64_vfp_is_call_or_return_candidate", "(", "TYPE_MODE", "(", "valtype", ")", ",", "valtype", ",", "&", "dummy_mode", ",", "&", "dummy_int", ",", "NULL", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "VALTYPE", "is", "padded", "to", "its", "least", "significant", "bits", "."], "TS_V_token": ["aarch64", "0", "16"], "File": "aarch642", "Func": "aarch64_return_in_msb", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14457, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "A57ChainingConstraint", "::", "apply", "(", "PBQPRAGraph", "&", "G", ")", "{", "const", "MachineFunction", "&", "MF", "=", "G", ".", "getMetadata", "(", ")", ".", "MF", ";", "LiveIntervals", "&", "LIs", "=", "G", ".", "getMetadata", "(", ")", ".", "LIS", ";", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "LLVM_DEBUG", "(", "MF", ".", "dump", "(", ")", ")", ";", "for", "(", "const", "auto", "&", "MBB", ":", "MF", ")", "{", "Chains", ".", "clear", "(", ")", ";", "for", "(", "const", "auto", "&", "MI", ":", "MBB", ")", "{", "for", "(", "auto", "r", ":", "Chains", ")", "{", "SmallVector", "<", "unsigned", ",", "8", ">", "toDel", ";", "if", "(", "regJustKilledBefore", "(", "LIs", ",", "r", ",", "MI", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Killing chain \"", "<<", "printReg", "(", "r", ",", "TRI", ")", "<<", "\" at \"", ";", "MI", ".", "print", "(", "dbgs", "(", ")", ")", ";", ")", ";", "toDel", ".", "push_back", "(", "r", ")", ";", "}", "while", "(", "!", "toDel", ".", "empty", "(", ")", ")", "{", "Chains", ".", "remove", "(", "toDel", ".", "back", "(", ")", ")", ";", "toDel", ".", "pop_back", "(", ")", ";", "}", "}", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "AArch64", "::", "FMSUBSrrr", ":", "case", "AArch64", "::", "FMADDSrrr", ":", "case", "AArch64", "::", "FNMSUBSrrr", ":", "case", "AArch64", "::", "FNMADDSrrr", ":", "case", "AArch64", "::", "FMSUBDrrr", ":", "case", "AArch64", "::", "FMADDDrrr", ":", "case", "AArch64", "::", "FNMSUBDrrr", ":", "case", "AArch64", "::", "FNMADDDrrr", ":", "{", "Register", "Rd", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "Register", "Ra", "=", "MI", ".", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", ";", "if", "(", "addIntraChainConstraint", "(", "G", ",", "Rd", ",", "Ra", ")", ")", "addInterChainConstraint", "(", "G", ",", "Rd", ",", "Ra", ")", ";", "break", ";", "}", "case", "AArch64", "::", "FMLAv2f32", ":", "case", "AArch64", "::", "FMLSv2f32", ":", "{", "Register", "Rd", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "addInterChainConstraint", "(", "G", ",", "Rd", ",", "Rd", ")", ";", "break", ";", "}", "default", ":", "break", ";", "}", "}", "}", "}", ""], "natrual_language": ["Apply", "the", "profile", "inference", "algorithm", "for", "a", "given", "function", "."], "TS_V_token": ["AArch64", "8", "\"Killing chain \"", "\" at \"", "AArch64::FMSUBSrrr", "AArch64::FMADDSrrr", "AArch64::FNMSUBSrrr", "AArch64::FNMADDSrrr", "AArch64::FMSUBDrrr", "AArch64::FMADDDrrr", "AArch64::FNMSUBDrrr", "AArch64::FNMADDDrrr", "0", "3", "AArch64::FMLAv2f32", "AArch64::FMLSv2f32", "0"], "File": "AArch64PBQPRegAlloc16", "Func": "apply", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14458, "Length": 321, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86ATTInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "OS", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "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", ")", ")", "printInstruction", "(", "MI", ",", "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": "X86ATTInstPrinter1", "Func": "printInst", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14459, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "crx_address_cost", "(", "rtx", "addr", ")", "{", "enum", "crx_addrtype", "addrtype", ";", "struct", "crx_address", "address", ";", "int", "cost", "=", "2", ";", "addrtype", "=", "crx_decompose_address", "(", "addr", ",", "&", "address", ")", ";", "gcc_assert", "(", "addrtype", "!=", "CRX_INVALID", ")", ";", "if", "(", "addrtype", "==", "CRX_ABSOLUTE", ")", "cost", "+=", "2", ";", "if", "(", "addrtype", "==", "CRX_POST_INC", ")", "cost", "-=", "2", ";", "if", "(", "address", ".", "base", ")", "cost", "++", ";", "if", "(", "address", ".", "index", "&&", "address", ".", "scale", "==", "1", ")", "cost", "+=", "5", ";", "if", "(", "address", ".", "disp", "&&", "!", "INT_CST4", "(", "INTVAL", "(", "address", ".", "disp", ")", ")", ")", "cost", "+=", "2", ";", "if", "(", "TARGET_DEBUG_ADDR", ")", "{", "fprintf", "(", "stderr", ",", "\"\\n======\\nTARGET_ADDRESS_COST = %d\\n\"", ",", "cost", ")", ";", "debug_rtx", "(", "addr", ")", ";", "}", "return", "cost", ";", "}", ""], "natrual_language": ["Return", "cost", "of", "the", "memory", "address", "x", "."], "TS_V_token": ["crx", "2", "2", "2", "1", "5", "2", "\"\\n======\\nTARGET_ADDRESS_COST = %d\\n\""], "File": "crx", "Func": "crx_address_cost", "Target": "crx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14460, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isProfitableToIfCvt", "(", "MachineBasicBlock", "&", "TBB", ",", "unsigned", "TCycles", ",", "unsigned", "TExtra", ",", "MachineBasicBlock", "&", "FBB", ",", "unsigned", "FCycles", ",", "unsigned", "FExtra", ",", "BranchProbability", "Probability", ")", "const", "{", "if", "(", "!", "TCycles", ")", "return", "false", ";", "const", "unsigned", "ScalingUpFactor", "=", "1024", ";", "unsigned", "PredCost", "=", "(", "TCycles", "+", "FCycles", "+", "TExtra", "+", "FExtra", ")", "*", "ScalingUpFactor", ";", "unsigned", "UnpredCost", ";", "if", "(", "!", "Subtarget", ".", "hasBranchPredictor", "(", ")", ")", "{", "unsigned", "NotTakenBranchCost", "=", "1", ";", "unsigned", "TakenBranchCost", "=", "Subtarget", ".", "getMispredictionPenalty", "(", ")", ";", "unsigned", "TUnpredCycles", ",", "FUnpredCycles", ";", "if", "(", "!", "FCycles", ")", "{", "TUnpredCycles", "=", "TCycles", "+", "NotTakenBranchCost", ";", "FUnpredCycles", "=", "TakenBranchCost", ";", "}", "else", "{", "TUnpredCycles", "=", "TCycles", "+", "TakenBranchCost", ";", "FUnpredCycles", "=", "FCycles", "+", "NotTakenBranchCost", ";", "}", "unsigned", "TUnpredCost", "=", "Probability", ".", "scale", "(", "TUnpredCycles", "*", "ScalingUpFactor", ")", ";", "unsigned", "FUnpredCost", "=", "Probability", ".", "getCompl", "(", ")", ".", "scale", "(", "FUnpredCycles", "*", "ScalingUpFactor", ")", ";", "UnpredCost", "=", "TUnpredCost", "+", "FUnpredCost", ";", "if", "(", "Subtarget", ".", "isThumb2", "(", ")", "&&", "TCycles", "+", "FCycles", ">", "4", ")", "{", "PredCost", "+=", "(", "(", "TCycles", "+", "FCycles", "-", "4", ")", "/", "4", ")", "*", "ScalingUpFactor", ";", "}", "}", "else", "{", "unsigned", "TUnpredCost", "=", "Probability", ".", "scale", "(", "TCycles", "*", "ScalingUpFactor", ")", ";", "unsigned", "FUnpredCost", "=", "Probability", ".", "getCompl", "(", ")", ".", "scale", "(", "FCycles", "*", "ScalingUpFactor", ")", ";", "UnpredCost", "=", "TUnpredCost", "+", "FUnpredCost", ";", "UnpredCost", "+=", "1", "*", "ScalingUpFactor", ";", "UnpredCost", "+=", "Subtarget", ".", "getMispredictionPenalty", "(", ")", "*", "ScalingUpFactor", "/", "10", ";", "}", "return", "PredCost", "<=", "UnpredCost", ";", "}", ""], "natrual_language": ["Second", "variant", "of", "isProfitableToIfCvt", "."], "TS_V_token": ["ARM", "ARM", "1024", "1", "4", "4", "4", "1", "10"], "File": "ARMBaseInstrInfo37", "Func": "isProfitableToIfCvt", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14461, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createPPCBranchSelectionPass", "(", ")", ")", ";", "return", "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"], "File": "PPCTargetMachine18", "Func": "addPreEmitPass", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14462, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "vax_address_cost", "(", "rtx", "x", ")", "{", "return", "(", "1", "+", "(", "GET_CODE", "(", "x", ")", "==", "REG", "?", "0", ":", "vax_address_cost_1", "(", "x", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "in", "cycles", "of", "a", "memory", "address", ",", "relative", "to", "register", "indirect", ".", "Each", "of", "the", "following", "adds", "the", "indicated", "number", "of", "cycles", ":", "1", "-", "symbolic", "address", "1", "-", "pre-decrement", "1", "-", "indexing", "and/or", "offset", "(", "register", ")", "2", "-", "indirect"], "TS_V_token": ["vax", "1", "0"], "File": "vax3", "Func": "vax_address_cost", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14463, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "addPreEmitPass", "(", ")", "{", "bool", "ShouldPrint", "=", "false", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "getX86Subtarget", "(", ")", ".", "hasSSE2", "(", ")", ")", "{", "addPass", "(", "createExecutionDependencyFixPass", "(", "&", "X86", "::", "VR128RegClass", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "if", "(", "getX86Subtarget", "(", ")", ".", "hasAVX", "(", ")", "&&", "UseVZeroUpper", ")", "{", "addPass", "(", "createX86IssueVZeroUpperPass", "(", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "getX86Subtarget", "(", ")", ".", "padShortFunctions", "(", ")", ")", "{", "addPass", "(", "createX86PadShortFunctions", "(", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "return", "ShouldPrint", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["X86", "X86", "X86", "X86::VR128RegClass", "X86", "X86", "X86", "X86"], "File": "X86TargetMachine25", "Func": "addPreEmitPass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14464, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMELFStreamer", "::", "Reset", "(", ")", "{", "ExTab", "=", "NULL", ";", "FnStart", "=", "NULL", ";", "Personality", "=", "NULL", ";", "PersonalityIndex", "=", "NUM_PERSONALITY_INDEX", ";", "FPReg", "=", "ARM", "::", "SP", ";", "FPOffset", "=", "0", ";", "SPOffset", "=", "0", ";", "PendingOffset", "=", "0", ";", "UsedFP", "=", "false", ";", "CantUnwind", "=", "false", ";", "Opcodes", ".", "clear", "(", ")", ";", "UnwindOpAsm", ".", "Reset", "(", ")", ";", "}", ""], "natrual_language": ["Reset", "the", "unwind", "opcode", "assembler", "."], "TS_V_token": ["ARM", "ARM", "ARM::SP", "0", "0", "0"], "File": "ARMELFStreamer3", "Func": "Reset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14465, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsLongBranch", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "const", "MipsSubtarget", "&", "STI", "=", "static_cast", "<", "const", "MipsSubtarget", "&", ">", "(", "F", ".", "getSubtarget", "(", ")", ")", ";", "const", "MipsInstrInfo", "*", "TII", "=", "static_cast", "<", "const", "MipsInstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "const", "TargetMachine", "&", "TM", "=", "F", ".", "getTarget", "(", ")", ";", "IsPIC", "=", "TM", ".", "isPositionIndependent", "(", ")", ";", "ABI", "=", "static_cast", "<", "const", "MipsTargetMachine", "&", ">", "(", "TM", ")", ".", "getABI", "(", ")", ";", "LongBranchSeqSize", "=", "!", "IsPIC", "?", "2", ":", "(", "ABI", ".", "IsN64", "(", ")", "?", "10", ":", "(", "!", "STI", ".", "isTargetNaCl", "(", ")", "?", "9", ":", "10", ")", ")", ";", "if", "(", "STI", ".", "inMips16Mode", "(", ")", "||", "!", "STI", ".", "enableLongBranchPass", "(", ")", ")", "return", "false", ";", "if", "(", "IsPIC", "&&", "static_cast", "<", "const", "MipsTargetMachine", "&", ">", "(", "TM", ")", ".", "getABI", "(", ")", ".", "IsO32", "(", ")", "&&", "F", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", "->", "globalBaseRegSet", "(", ")", ")", "emitGPDisp", "(", "F", ",", "TII", ")", ";", "if", "(", "SkipLongBranch", ")", "return", "true", ";", "MF", "=", "&", "F", ";", "initMBBInfo", "(", ")", ";", "SmallVectorImpl", "<", "MBBInfo", ">", "::", "iterator", "I", ",", "E", "=", "MBBInfos", ".", "end", "(", ")", ";", "bool", "EverMadeChange", "=", "false", ",", "MadeChange", "=", "true", ";", "while", "(", "MadeChange", ")", "{", "MadeChange", "=", "false", ";", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "!", "I", "->", "Br", "||", "I", "->", "HasLongBranch", ")", "continue", ";", "int", "ShVal", "=", "STI", ".", "inMicroMipsMode", "(", ")", "?", "2", ":", "4", ";", "int64_t", "Offset", "=", "computeOffset", "(", "I", "->", "Br", ")", "/", "ShVal", ";", "if", "(", "STI", ".", "isTargetNaCl", "(", ")", ")", "{", "Offset", "*=", "2", ";", "}", "if", "(", "!", "ForceLongBranch", "&&", "isInt", "<", "16", ">", "(", "Offset", ")", ")", "continue", ";", "I", "->", "HasLongBranch", "=", "true", ";", "I", "->", "Size", "+=", "LongBranchSeqSize", "*", "4", ";", "++", "LongBranches", ";", "EverMadeChange", "=", "MadeChange", "=", "true", ";", "}", "}", "if", "(", "!", "EverMadeChange", ")", "return", "true", ";", "if", "(", "IsPIC", ")", "{", "uint64_t", "Address", "=", "0", ";", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "Address", "+=", "I", "->", "Size", ",", "++", "I", ")", "I", "->", "Address", "=", "Address", ";", "}", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "if", "(", "I", "->", "HasLongBranch", ")", "expandToLongBranch", "(", "*", "I", ")", ";", "MF", "->", "RenumberBlocks", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "2", "10", "9", "10", "Mips", "Mips", "Mips", "Mips", "2", "4", "2", "16", "4", "0"], "File": "MipsLongBranch21", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14466, "Length": 420, "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", "::", "BlockAddress", ":", "return", "LowerBlockAddress", "(", "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", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBR_CC", "(", "Op", ",", "DAG", ")", ";", "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", "::", "MEMBARRIER", ":", "return", "LowerMEMBARRIER", "(", "Op", ",", "DAG", ",", "Subtarget", ")", ";", "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_WO_CHAIN", ":", "return", "LowerINTRINSIC_WO_CHAIN", "(", "Op", ",", "DAG", ",", "Subtarget", ")", ";", "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", "::", "SHL_PARTS", ":", "return", "LowerShiftLeftParts", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SRL_PARTS", ":", "case", "ISD", "::", "SRA_PARTS", ":", "return", "LowerShiftRightParts", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "CTTZ", ":", "return", "LowerCTTZ", "(", "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", "::", "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::BlockAddress", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::SELECT_CC", "ISD::BR_CC", "ISD::BR_JT", "ISD::DYNAMIC_STACKALLOC", "ISD::VASTART", "ISD::MEMBARRIER", "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_WO_CHAIN", "ISD::BIT_CONVERT", "ISD::SHL", "ISD::SRL", "ISD::SRA", "ISD::SHL_PARTS", "ISD::SRL_PARTS", "ISD::SRA_PARTS", "ISD::CTTZ", "ISD::VSETCC", "ISD::BUILD_VECTOR", "ISD::VECTOR_SHUFFLE", "ISD::EXTRACT_VECTOR_ELT", "ISD::CONCAT_VECTORS"], "File": "ARMISelLowering109", "Func": "LowerOperation", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14467, "Length": 441, "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": 14468, "Length": 349, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "loongarch_address_insns", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "bool", "might_split_p", ")", "{", "struct", "loongarch_address_info", "addr", ";", "int", "factor", ";", "if", "(", "!", "loongarch_classify_address", "(", "&", "addr", ",", "x", ",", "mode", ",", "false", ")", ")", "return", "0", ";", "if", "(", "mode", "!=", "BLKmode", "&&", "might_split_p", ")", "factor", "=", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "else", "factor", "=", "1", ";", "if", "(", "loongarch_classify_address", "(", "&", "addr", ",", "x", ",", "mode", ",", "false", ")", ")", "switch", "(", "addr", ".", "type", ")", "{", "case", "ADDRESS_REG", ":", "case", "ADDRESS_REG_REG", ":", "case", "ADDRESS_CONST_INT", ":", "return", "factor", ";", "case", "ADDRESS_LO_SUM", ":", "return", "factor", "+", "1", ";", "case", "ADDRESS_SYMBOLIC", ":", "return", "factor", "*", "loongarch_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", "address", "X", ".", "Return", "0", "if", "X", "is", "n't", "valid", "for", "MODE", ".", "Assume", "that", "multiword", "moves", "may", "need", "to", "be", "split", "into", "word", "moves", "if", "MIGHT_SPLIT_P", ",", "otherwise", "assume", "that", "a", "single", "load", "or", "store", "is", "enough", "."], "TS_V_token": ["loongarch", "0", "1", "1", "1", "0"], "File": "loongarch1", "Func": "loongarch_address_insns", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14469, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCPassConfig", "::", "addIRPasses", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createPPCBoolRetToIntPass", "(", ")", ")", ";", "addPass", "(", "createAtomicExpandPass", "(", "&", "getPPCTargetMachine", "(", ")", ")", ")", ";", "bool", "UsePrefetching", "=", "TM", "->", "getTargetTriple", "(", ")", ".", "getVendor", "(", ")", "==", "Triple", "::", "BGQ", "&&", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ";", "if", "(", "EnablePrefetch", ".", "getNumOccurrences", "(", ")", ">", "0", ")", "UsePrefetching", "=", "EnablePrefetch", ";", "if", "(", "UsePrefetching", ")", "addPass", "(", "createLoopDataPrefetchPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "Aggressive", "&&", "EnableGEPOpt", ")", "{", "addPass", "(", "createSeparateConstOffsetFromGEPPass", "(", "TM", ",", "true", ")", ")", ";", "addPass", "(", "createEarlyCSEPass", "(", ")", ")", ";", "addPass", "(", "createLICMPass", "(", ")", ")", ";", "}", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "0"], "File": "PPCTargetMachine8", "Func": "addIRPasses", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14470, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "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": "MipsAsmPrinter20", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14471, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", ",", "Align", "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", "::", "v16i1", "||", "Ty", "==", "MVT", "::", "v8i1", "||", "Ty", "==", "MVT", "::", "v4i1", ")", ")", "{", "if", "(", "Fast", ")", "*", "Fast", "=", "true", ";", "return", "true", ";", "}", "if", "(", "(", "Ty", "==", "MVT", "::", "v4i8", "||", "Ty", "==", "MVT", "::", "v8i8", "||", "Ty", "==", "MVT", "::", "v4i16", ")", "&&", "Alignment", ">=", "VT", ".", "getScalarSizeInBits", "(", ")", "/", "8", ")", "{", "if", "(", "Fast", ")", "*", "Fast", "=", "true", ";", "return", "true", ";", "}", "if", "(", "Ty", "==", "MVT", "::", "v16i8", "||", "Ty", "==", "MVT", "::", "v8i16", "||", "Ty", "==", "MVT", "::", "v8f16", "||", "Ty", "==", "MVT", "::", "v4i32", "||", "Ty", "==", "MVT", "::", "v4f32", "||", "Ty", "==", "MVT", "::", "v2i64", "||", "Ty", "==", "MVT", "::", "v2f64", ")", "{", "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::v16i1", "MVT::v8i1", "MVT::v4i1", "MVT::v4i8", "MVT::v8i8", "MVT::v4i16", "8", "MVT::v16i8", "MVT::v8i16", "MVT::v8f16", "MVT::v4i32", "MVT::v4f32", "MVT::v2i64", "MVT::v2f64"], "File": "ARMISelLowering (2)5", "Func": "allowsMisalignedMemoryAccesses", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14472, "Length": 303, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MandarinTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDLoc", "dl", "(", "N", ")", ";", "RTLIB", "::", "Libcall", "libCall", "=", "RTLIB", "::", "UNKNOWN_LIBCALL", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Do not know how to custom type legalize this operation!\"", ")", ";", "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": ["Mandarin", "\"Do not know how to custom type legalize this operation!\""], "File": "MandarinISelLowering", "Func": "ReplaceNodeResults", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14473, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "StringRef", "(", "getRegisterName", "(", "RegNo", ")", ")", ".", "lower", "(", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["Lanai", "Lanai"], "File": "LanaiInstPrinter", "Func": "printRegName", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14474, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "KudeyarRegisterInfo", "&", "KudeyarInstrInfo", "::", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Kudeyar", "Kudeyar", "Kudeyar"], "File": "KudeyarInstrInfo", "Func": "getRegisterInfo", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14475, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_compute_static_chain_stack_bytes", "(", "void", ")", "{", "if", "(", "IS_NESTED", "(", "arm_current_func_type", "(", ")", ")", "&&", "(", "(", "TARGET_APCS_FRAME", "&&", "frame_pointer_needed", "&&", "TARGET_ARM", ")", "||", "(", "flag_stack_check", "==", "STATIC_BUILTIN_STACK_CHECK", "&&", "!", "df_regs_ever_live_p", "(", "LR_REGNUM", ")", ")", ")", "&&", "arm_r3_live_at_start_p", "(", ")", "&&", "crtl", "->", "args", ".", "pretend_args_size", "==", "0", ")", "return", "4", ";", "return", "0", ";", "}", ""], "natrual_language": ["Compute", "the", "number", "of", "bytes", "used", "to", "store", "the", "static", "chain", "register", "on", "the", "stack", ",", "above", "the", "stack", "frame", ".", "We", "need", "to", "know", "this", "accurately", "to", "get", "the", "alignment", "of", "the", "rest", "of", "the", "stack", "frame", "correct", "."], "TS_V_token": ["arm", "0", "4", "0"], "File": "arm5", "Func": "arm_compute_static_chain_stack_bytes", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14476, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSEInstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", "->", "getParent", "(", ")", ";", "switch", "(", "MI", "->", "getDesc", "(", ")", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Mips", "::", "RetRA", ":", "expandRetRA", "(", "MBB", ",", "MI", ",", "Mips", "::", "RET", ")", ";", "break", ";", "case", "Mips", "::", "PseudoCVT_S_W", ":", "expandCvtFPInt", "(", "MBB", ",", "MI", ",", "Mips", "::", "CVT_S_W", ",", "Mips", "::", "MTC1", ",", "false", ")", ";", "break", ";", "case", "Mips", "::", "PseudoCVT_D32_W", ":", "expandCvtFPInt", "(", "MBB", ",", "MI", ",", "Mips", "::", "CVT_D32_W", ",", "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", ":", "expandCvtFPInt", "(", "MBB", ",", "MI", ",", "Mips", "::", "CVT_D64_W", ",", "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", ",", "false", ")", ";", "break", ";", "case", "Mips", "::", "BuildPairF64_64", ":", "expandBuildPairF64", "(", "MBB", ",", "MI", ",", "true", ")", ";", "break", ";", "case", "Mips", "::", "ExtractElementF64", ":", "expandExtractElementF64", "(", "MBB", ",", "MI", ",", "false", ")", ";", "break", ";", "case", "Mips", "::", "ExtractElementF64_64", ":", "expandExtractElementF64", "(", "MBB", ",", "MI", ",", "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::RetRA", "Mips::RET", "Mips::PseudoCVT_S_W", "Mips::CVT_S_W", "Mips::MTC1", "Mips::PseudoCVT_D32_W", "Mips::CVT_D32_W", "Mips::MTC1", "Mips::PseudoCVT_S_L", "Mips::CVT_S_L", "Mips::DMTC1", "Mips::PseudoCVT_D64_W", "Mips::CVT_D64_W", "Mips::MTC1", "Mips::PseudoCVT_D64_L", "Mips::CVT_D64_L", "Mips::DMTC1", "Mips::BuildPairF64", "Mips::BuildPairF64_64", "Mips::ExtractElementF64", "Mips::ExtractElementF64_64", "Mips::MIPSeh_return32", "Mips::MIPSeh_return64"], "File": "MipsSEInstrInfo8", "Func": "expandPostRAPseudo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14477, "Length": 274, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_cannot_copy_insn_p", "(", "rtx", "insn", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", "&&", "GET_CODE", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ")", "==", "SET", ")", "{", "rtx", "rhs", "=", "SET_SRC", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ")", ";", "if", "(", "GET_CODE", "(", "rhs", ")", "==", "UNSPEC", "&&", "XINT", "(", "rhs", ",", "1", ")", "==", "UNSPEC_PIC_BASE", ")", "return", "TRUE", ";", "if", "(", "GET_CODE", "(", "rhs", ")", "==", "MEM", "&&", "GET_CODE", "(", "XEXP", "(", "rhs", ",", "0", ")", ")", "==", "UNSPEC", "&&", "XINT", "(", "XEXP", "(", "rhs", ",", "0", ")", ",", "1", ")", "==", "UNSPEC_PIC_BASE", ")", "return", "TRUE", ";", "}", "return", "FALSE", ";", "}", ""], "natrual_language": ["Must", "not", "copy", "any", "rtx", "that", "uses", "a", "pc-relative", "address", "."], "TS_V_token": ["arm", "0", "0", "0", "0", "1", "0", "0", "1"], "File": "arm3", "Func": "arm_cannot_copy_insn_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14478, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_issue_rate", "(", "void", ")", "{", "switch", "(", "mips_tune", ")", "{", "case", "PROCESSOR_74KC", ":", "case", "PROCESSOR_74KF2_1", ":", "case", "PROCESSOR_74KF1_1", ":", "case", "PROCESSOR_74KF3_2", ":", "case", "PROCESSOR_R10000", ":", "return", "4", ";", "case", "PROCESSOR_20KC", ":", "case", "PROCESSOR_R4130", ":", "case", "PROCESSOR_R5400", ":", "case", "PROCESSOR_R5500", ":", "case", "PROCESSOR_R5900", ":", "case", "PROCESSOR_R7000", ":", "case", "PROCESSOR_R9000", ":", "case", "PROCESSOR_OCTEON", ":", "case", "PROCESSOR_OCTEON2", ":", "case", "PROCESSOR_OCTEON3", ":", "case", "PROCESSOR_I6400", ":", "return", "2", ";", "case", "PROCESSOR_SB1", ":", "case", "PROCESSOR_SB1A", ":", "return", "3", ";", "case", "PROCESSOR_LOONGSON_2E", ":", "case", "PROCESSOR_LOONGSON_2F", ":", "case", "PROCESSOR_LOONGSON_3A", ":", "case", "PROCESSOR_P5600", ":", "return", "4", ";", "case", "PROCESSOR_XLP", ":", "return", "(", "reload_completed", "?", "4", ":", "3", ")", ";", "default", ":", "return", "1", ";", "}", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "that", "can", "be", "issued", "per", "cycle", "."], "TS_V_token": ["mips", "4", "2", "3", "4", "4", "3", "1"], "File": "mips5", "Func": "mips_issue_rate", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14479, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "altivec_expand_lvx_be", "(", "rtx", "op0", ",", "rtx", "op1", ",", "machine_mode", "mode", ",", "unsigned", "unspec", ")", "{", "rtx", "tmp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rtx", "load", "=", "gen_rtx_SET", "(", "tmp", ",", "op1", ")", ";", "rtx", "lvx", "=", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "1", ",", "const0_rtx", ")", ",", "unspec", ")", ";", "rtx", "par", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec", "(", "2", ",", "load", ",", "lvx", ")", ")", ";", "rtx", "sel", "=", "swap_selector_for_mode", "(", "mode", ")", ";", "rtx", "vperm", "=", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "3", ",", "tmp", ",", "tmp", ",", "sel", ")", ",", "UNSPEC_VPERM", ")", ";", "gcc_assert", "(", "REG_P", "(", "op0", ")", ")", ";", "emit_insn", "(", "par", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "op0", ",", "vperm", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "code", "for", "an", "``", "lvx", "''", ",", "``", "lvxl", "''", ",", "or", "``", "lve", "*", "x", "''", "built-in", "for", "a", "little", "endian", "target", "with", "-maltivec=be", "specified", ".", "Issue", "the", "load", "followed", "by", "an", "element-reversing", "permute", "."], "TS_V_token": ["powerpcspe", "1", "2", "3"], "File": "powerpcspe", "Func": "altivec_expand_lvx_be", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14480, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMMachOTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFileMachO", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "LSDASection", "=", "getMachOSection", "(", "\"__TEXT\"", ",", "\"__gcc_except_tab\"", ",", "0", ",", "SectionKind", "::", "getReadOnlyWithRel", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["ARM", "ARM", "\"__TEXT\"", "\"__gcc_except_tab\"", "0"], "File": "ARMTargetObjectFile33", "Func": "Initialize", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14481, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "materializeFrameBaseRegister", "(", "MachineBasicBlock", "*", "MBB", ",", "unsigned", "BaseReg", ",", "int", "FrameIdx", ",", "int64_t", "Offset", ")", "const", "{", "ARMFunctionInfo", "*", "AFI", "=", "MBB", "->", "getParent", "(", ")", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "unsigned", "ADDriOpc", "=", "!", "AFI", "->", "isThumbFunction", "(", ")", "?", "ARM", "::", "ADDri", ":", "(", "AFI", "->", "isThumb1OnlyFunction", "(", ")", "?", "ARM", "::", "tADDrSPi", ":", "ARM", "::", "t2ADDri", ")", ";", "MachineBasicBlock", "::", "iterator", "Ins", "=", "MBB", "->", "begin", "(", ")", ";", "DebugLoc", "DL", ";", "if", "(", "Ins", "!=", "MBB", "->", "end", "(", ")", ")", "DL", "=", "Ins", "->", "getDebugLoc", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "TII", ".", "get", "(", "ADDriOpc", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MBB", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MRI", ".", "constrainRegClass", "(", "BaseReg", ",", "TII", ".", "getRegClass", "(", "MCID", ",", "0", ",", "this", ")", ")", ";", "MachineInstrBuilder", "MIB", "=", "AddDefaultPred", "(", "BuildMI", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "MCID", ",", "BaseReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "Offset", ")", ")", ";", "if", "(", "!", "AFI", "->", "isThumb1OnlyFunction", "(", ")", ")", "AddDefaultCC", "(", "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", "0"], "File": "ARMBaseRegisterInfo1", "Func": "materializeFrameBaseRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14482, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsAsmParser", "::", "checkEarlyTargetMatchPredicate", "(", "MCInst", "&", "Inst", ",", "const", "OperandVector", "&", "Operands", ")", "{", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "Match_Success", ";", "case", "Mips", "::", "DATI", ":", "case", "Mips", "::", "DAHI", ":", "case", "Mips", "::", "DATI_MM64R6", ":", "case", "Mips", "::", "DAHI_MM64R6", ":", "if", "(", "static_cast", "<", "MipsOperand", "&", ">", "(", "*", "Operands", "[", "1", "]", ")", ".", "isValidForTie", "(", "static_cast", "<", "MipsOperand", "&", ">", "(", "*", "Operands", "[", "2", "]", ")", ")", ")", "return", "Match_Success", ";", "return", "Match_RequiresSameSrcAndDst", ";", "}", "}", ""], "natrual_language": ["Validate", "the", "instruction", "match", "against", "any", "complex", "target", "predicates", "before", "rendering", "any", "operands", "to", "it", "."], "TS_V_token": ["Mips", "Mips", "Mips::DATI", "Mips::DAHI", "Mips::DATI_MM64R6", "Mips::DAHI_MM64R6", "Mips", "1", "Mips", "2"], "File": "MipsAsmParser104", "Func": "checkEarlyTargetMatchPredicate", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14483, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_assemble_visibility", "(", "tree", "decl", ",", "int", "vis", ")", "{", "if", "(", "TARGET_XCOFF", ")", "return", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_AIX", "&&", "DOT_SYMBOLS", "&&", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", ")", "{", "static", "const", "char", "*", "const", "visibility_types", "[", "]", "=", "{", "NULL", ",", "\"protected\"", ",", "\"hidden\"", ",", "\"internal\"", "}", ";", "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", "\"protected\"", "\"hidden\"", "\"internal\"", "\"\\t.%s\\t%s\\n\"", "\"\\t.%s\\t.%s\\n\""], "File": "rs6000", "Func": "rs6000_assemble_visibility", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14484, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64RegisterInfo", "::", "useFPForScavengingIndex", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "MFI", "->", "hasVarSizedObjects", "(", ")", "&&", "!", "hasBasePointer", "(", "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": ["ARM64", "ARM64"], "File": "ARM64RegisterInfo", "Func": "useFPForScavengingIndex", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14485, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "this", "->", "MF", "=", "&", "MF", ";", "SetupMachineFunction", "(", "MF", ")", ";", "EmitConstantPool", "(", "MF", ".", "getConstantPool", "(", ")", ")", ";", "EmitJumpTableInfo", "(", "MF", ".", "getJumpTableInfo", "(", ")", ",", "MF", ")", ";", "O", "<<", "\"\\n\\n\"", ";", "emitFunctionStart", "(", "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", ")", "{", "printInstruction", "(", "II", ")", ";", "++", "EmittedInsts", ";", "}", "O", "<<", "'\\n'", ";", "}", "emitFunctionEnd", "(", "MF", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "\"\\n\\n\""], "File": "MipsAsmPrinter31", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14486, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsLongBranch", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "const", "MipsInstrInfo", "*", "TII", "=", "static_cast", "<", "const", "MipsInstrInfo", "*", ">", "(", "TM", ".", "getInstrInfo", "(", ")", ")", ";", "if", "(", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "inMips16Mode", "(", ")", ")", "return", "false", ";", "if", "(", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "&&", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "isABI_O32", "(", ")", "&&", "F", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", "->", "globalBaseRegSet", "(", ")", ")", "emitGPDisp", "(", "F", ",", "TII", ")", ";", "if", "(", "SkipLongBranch", ")", "return", "true", ";", "MF", "=", "&", "F", ";", "initMBBInfo", "(", ")", ";", "SmallVectorImpl", "<", "MBBInfo", ">", "::", "iterator", "I", ",", "E", "=", "MBBInfos", ".", "end", "(", ")", ";", "bool", "EverMadeChange", "=", "false", ",", "MadeChange", "=", "true", ";", "while", "(", "MadeChange", ")", "{", "MadeChange", "=", "false", ";", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "!", "I", "->", "Br", "||", "I", "->", "HasLongBranch", ")", "continue", ";", "if", "(", "!", "ForceLongBranch", "&&", "isInt", "<", "16", ">", "(", "computeOffset", "(", "I", "->", "Br", ")", "/", "4", ")", ")", "continue", ";", "I", "->", "HasLongBranch", "=", "true", ";", "I", "->", "Size", "+=", "LongBranchSeqSize", "*", "4", ";", "++", "LongBranches", ";", "EverMadeChange", "=", "MadeChange", "=", "true", ";", "}", "}", "if", "(", "!", "EverMadeChange", ")", "return", "true", ";", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "{", "uint64_t", "Address", "=", "0", ";", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "Address", "+=", "I", "->", "Size", ",", "++", "I", ")", "I", "->", "Address", "=", "Address", ";", "}", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "if", "(", "I", "->", "HasLongBranch", ")", "expandToLongBranch", "(", "*", "I", ")", ";", "MF", "->", "RenumberBlocks", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "16", "4", "4", "0"], "File": "MipsLongBranch3", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14487, "Length": 317, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16RegisterInfo", "::", "saveScavengerRegister", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "MachineBasicBlock", "::", "iterator", "&", "UseMI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "Register", "Reg", ")", "const", "{", "DebugLoc", "DL", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MBB", ".", "getParent", "(", ")", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "TII", ".", "copyPhysReg", "(", "MBB", ",", "I", ",", "DL", ",", "Mips", "::", "T0", ",", "Reg", ",", "true", ")", ";", "TII", ".", "copyPhysReg", "(", "MBB", ",", "UseMI", ",", "DL", ",", "Reg", ",", "Mips", "::", "T0", ",", "true", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Spill", "the", "register", "so", "it", "can", "be", "used", "by", "the", "register", "scavenger", "."], "TS_V_token": ["Mips", "Mips", "Mips::T0", "Mips::T0"], "File": "Mips16RegisterInfo13", "Func": "saveScavengerRegister", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14488, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86RegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "X86FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "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", "X86", "1", "0", "0", "X86::GR32RegClassID", "4", "X86::GR64RegClassID", "12", "X86::VR128RegClassID", "10", "4", "X86::VR64RegClassID", "4"], "File": "X86RegisterInfo (2)", "Func": "getRegPressureLimit", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14489, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_is_logical_t_store_expr", "(", "rtx", "op", ",", "rtx_insn", "*", "insn", ")", "{", "if", "(", "!", "logical_operator", "(", "op", ",", "SImode", ")", ")", "return", "false", ";", "rtx", "ops", "[", "2", "]", "=", "{", "XEXP", "(", "op", ",", "0", ")", ",", "XEXP", "(", "op", ",", "1", ")", "}", ";", "int", "op_is_t_count", "=", "0", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "2", ";", "++", "i", ")", "{", "if", "(", "t_reg_operand", "(", "ops", "[", "i", "]", ",", "VOIDmode", ")", "||", "negt_reg_operand", "(", "ops", "[", "i", "]", ",", "VOIDmode", ")", ")", "op_is_t_count", "++", ";", "else", "{", "set_of_reg", "op_set", "=", "sh_find_set_of_reg", "(", "ops", "[", "i", "]", ",", "insn", ",", "prev_nonnote_nondebug_insn_bb", ")", ";", "if", "(", "op_set", ".", "set_src", "==", "NULL_RTX", ")", "continue", ";", "if", "(", "t_reg_operand", "(", "op_set", ".", "set_src", ",", "VOIDmode", ")", "||", "negt_reg_operand", "(", "op_set", ".", "set_src", ",", "VOIDmode", ")", "||", "sh_is_logical_t_store_expr", "(", "op_set", ".", "set_src", ",", "op_set", ".", "insn", ")", ")", "op_is_t_count", "++", ";", "}", "}", "return", "op_is_t_count", "==", "2", ";", "}", ""], "natrual_language": ["Given", "an", "op", "rtx", "and", "an", "insn", ",", "try", "to", "find", "out", "whether", "the", "result", "of", "the", "specified", "op", "consists", "only", "of", "logical", "operations", "on", "T", "bit", "stores", "."], "TS_V_token": ["sh", "2", "0", "1", "0", "0", "2", "2"], "File": "sh", "Func": "sh_is_logical_t_store_expr", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14490, "Length": 160, "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": "X86FrameLowering118", "Func": "orderFrameObjects", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14491, "Length": 314, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_return_in_memory", "(", "tree", "type", ",", "tree", "fndecl", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_OLDABI", ")", "return", "(", "TYPE_MODE", "(", "type", ")", "==", "BLKmode", ")", ";", "else", "return", "(", "(", "int_size_in_bytes", "(", "type", ")", ">", "(", "2", "*", "UNITS_PER_WORD", ")", ")", "||", "(", "int_size_in_bytes", "(", "type", ")", "==", "-", "1", ")", ")", ";", "}", ""], "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", "2", "1"], "File": "mips3", "Func": "mips_return_in_memory", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14492, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "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", ")", "return", "true", ";", "}", "bool", "DummyBool", ";", "int", "DummyInt", ";", "unsigned", "DummyUnsigned", ";", "return", "(", "ShuffleVectorSDNode", "::", "isSplatMask", "(", "&", "M", "[", "0", "]", ",", "VT", ")", "||", "isREVMask", "(", "M", ",", "VT", ",", "64", ")", "||", "isREVMask", "(", "M", ",", "VT", ",", "32", ")", "||", "isREVMask", "(", "M", ",", "VT", ",", "16", ")", "||", "isEXTMask", "(", "M", ",", "VT", ",", "DummyBool", ",", "DummyUnsigned", ")", "||", "isTRNMask", "(", "M", ",", "VT", ",", "DummyUnsigned", ")", "||", "isUZPMask", "(", "M", ",", "VT", ",", "DummyUnsigned", ")", "||", "isZIPMask", "(", "M", ",", "VT", ",", "DummyUnsigned", ")", "||", "isTRN_v_undef_Mask", "(", "M", ",", "VT", ",", "DummyUnsigned", ")", "||", "isUZP_v_undef_Mask", "(", "M", ",", "VT", ",", "DummyUnsigned", ")", "||", "isZIP_v_undef_Mask", "(", "M", ",", "VT", ",", "DummyUnsigned", ")", "||", "isINSMask", "(", "M", ",", "VT", ".", "getVectorNumElements", "(", ")", ",", "DummyBool", ",", "DummyInt", ")", "||", "isConcatMask", "(", "M", ",", "VT", ",", "VT", ".", "getSizeInBits", "(", ")", "==", "128", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "can", "use", "this", "to", "indicate", "that", "they", "only", "support", "some", "VECTOR_SHUFFLE", "operations", ",", "those", "with", "specific", "masks", "."], "TS_V_token": ["AArch64", "AArch64", "4", "4", "0", "4", "0", "8", "0", "9", "9", "9", "1", "9", "9", "2", "9", "3", "30", "4", "0", "64", "32", "16", "128"], "File": "AArch64ISelLowering (2)3", "Func": "isShuffleMaskLegal", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14493, "Length": 300, "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\"", ";", "case", "PPCISD", "::", "ADDIS_TOC_HA", ":", "return", "\"PPCISD::ADDIS_TOC_HA\"", ";", "case", "PPCISD", "::", "LD_TOC_L", ":", "return", "\"PPCISD::LD_TOC_L\"", ";", "case", "PPCISD", "::", "ADDI_TOC_L", ":", "return", "\"PPCISD::ADDI_TOC_L\"", ";", "}", "}", ""], "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\"", "PPCISD::ADDIS_TOC_HA", "\"PPCISD::ADDIS_TOC_HA\"", "PPCISD::LD_TOC_L", "\"PPCISD::LD_TOC_L\"", "PPCISD::ADDI_TOC_L", "\"PPCISD::ADDI_TOC_L\""], "File": "PPCISelLowering141", "Func": "getTargetNodeName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14494, "Length": 408, "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": 14495, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_gen_unlikely_cbranch", "(", "enum", "rtx_code", "code", ",", "machine_mode", "cc_mode", ",", "rtx", "label_ref", ")", "{", "rtx", "x", ";", "x", "=", "gen_rtx_fmt_ee", "(", "code", ",", "VOIDmode", ",", "gen_rtx_REG", "(", "cc_mode", ",", "CC_REGNUM", ")", ",", "const0_rtx", ")", ";", "x", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "x", ",", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "label_ref", ")", ",", "pc_rtx", ")", ";", "aarch64_emit_unlikely_jump", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "x", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "RTL", "for", "a", "conditional", "branch", "with", "rtx", "comparison", "CODE", "in", "mode", "CC_MODE", ".", "The", "destination", "of", "the", "unlikely", "conditional", "branch", "is", "LABEL_REF", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_gen_unlikely_cbranch", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14496, "Length": 64, "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": "AArch64AsmPrinter14", "Func": "emitFunctionBodyEnd", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14497, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "nds32_expand_load_multiple", "(", "int", "base_regno", ",", "int", "count", ",", "rtx", "base_addr", ",", "rtx", "basemem", ",", "bool", "update_base_reg_p", ",", "rtx", "*", "update_base_reg", ")", "{", "int", "par_index", ";", "int", "offset", ";", "int", "start_idx", ";", "rtx", "result", ";", "rtx", "new_addr", ",", "mem", ",", "reg", ";", "if", "(", "count", "==", "1", ")", "{", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "base_regno", ")", ";", "if", "(", "update_base_reg_p", ")", "{", "*", "update_base_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "return", "gen_unaligned_load_update_base_w", "(", "*", "update_base_reg", ",", "reg", ",", "base_addr", ")", ";", "}", "else", "return", "gen_unaligned_load_w", "(", "reg", ",", "gen_rtx_MEM", "(", "SImode", ",", "base_addr", ")", ")", ";", "}", "if", "(", "update_base_reg_p", ")", "{", "result", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "count", "+", "1", ")", ")", ";", "start_idx", "=", "1", ";", "}", "else", "{", "result", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "count", ")", ")", ";", "start_idx", "=", "0", ";", "}", "if", "(", "update_base_reg_p", ")", "{", "offset", "=", "count", "*", "4", ";", "new_addr", "=", "plus_constant", "(", "Pmode", ",", "base_addr", ",", "offset", ")", ";", "*", "update_base_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "XVECEXP", "(", "result", ",", "0", ",", "0", ")", "=", "gen_rtx_SET", "(", "*", "update_base_reg", ",", "new_addr", ")", ";", "}", "for", "(", "par_index", "=", "0", ";", "par_index", "<", "count", ";", "par_index", "++", ")", "{", "offset", "=", "par_index", "*", "4", ";", "new_addr", "=", "plus_constant", "(", "Pmode", ",", "base_addr", ",", "offset", ")", ";", "mem", "=", "adjust_automodify_address_nv", "(", "basemem", ",", "SImode", ",", "new_addr", ",", "offset", ")", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "base_regno", "+", "par_index", ")", ";", "XVECEXP", "(", "result", ",", "0", ",", "(", "par_index", "+", "start_idx", ")", ")", "=", "gen_rtx_SET", "(", "reg", ",", "mem", ")", ";", "}", "return", "result", ";", "}", ""], "natrual_language": ["Functions", "to", "expand", "load_multiple", "and", "store_multiple", ".", "They", "are", "auxiliary", "extern", "functions", "to", "help", "create", "rtx", "template", ".", "Check", "nds32-multiple.md", "file", "for", "the", "patterns", "."], "TS_V_token": ["nds32", "1", "1", "1", "0", "4", "0", "0", "0", "4", "0"], "File": "nds32-memory-manipulation", "Func": "nds32_expand_load_multiple", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14498, "Length": 269, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "nds32_register_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "from", ",", "reg_class_t", "to", ")", "{", "if", "(", "TARGET_PIPELINE_GRAYWOLF", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "8", ")", "{", "if", "(", "from", "==", "FP_REGS", "&&", "to", "!=", "FP_REGS", ")", "return", "3", ";", "if", "(", "from", "!=", "FP_REGS", "&&", "to", "==", "FP_REGS", ")", "return", "2", ";", "}", "else", "{", "if", "(", "(", "from", "==", "FP_REGS", "&&", "to", "!=", "FP_REGS", ")", "||", "(", "from", "!=", "FP_REGS", "&&", "to", "==", "FP_REGS", ")", ")", "return", "2", ";", "}", "}", "if", "(", "(", "from", "==", "FP_REGS", "&&", "to", "!=", "FP_REGS", ")", "||", "(", "from", "!=", "FP_REGS", "&&", "to", "==", "FP_REGS", ")", ")", "return", "3", ";", "else", "if", "(", "from", "==", "HIGH_REGS", "||", "to", "==", "HIGH_REGS", ")", "return", "optimize_size", "?", "6", ":", "2", ";", "else", "return", "2", ";", "}", ""], "natrual_language": ["Describing", "Relative", "Costs", "of", "Operations", "."], "TS_V_token": ["nds32", "8", "3", "2", "2", "3", "6", "2", "2"], "File": "nds32", "Func": "nds32_register_move_cost", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14499, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "forward_branch_p", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "lab", "=", "JUMP_LABEL", "(", "insn", ")", ";", "gcc_assert", "(", "lab", "!=", "NULL_RTX", ")", ";", "if", "(", "INSN_ADDRESSES_SET_P", "(", ")", ")", "return", "INSN_ADDRESSES", "(", "INSN_UID", "(", "lab", ")", ")", ">", "INSN_ADDRESSES", "(", "INSN_UID", "(", "insn", ")", ")", ";", "while", "(", "insn", ")", "{", "if", "(", "insn", "==", "lab", ")", "return", "true", ";", "else", "insn", "=", "NEXT_INSN", "(", "insn", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "1", "if", "INSN", "branches", "forward", ".", "Should", "be", "using", "insn_addresses", "to", "avoid", "walking", "through", "all", "the", "insns", "..."], "TS_V_token": ["pa"], "File": "pa", "Func": "forward_branch_p", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14500, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_expand_int_compare", "(", "enum", "rtx_code", "code", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "machine_mode", "cmpmode", ";", "rtx", "tmp", ",", "flags", ";", "cmpmode", "=", "SELECT_CC_MODE", "(", "code", ",", "op0", ",", "op1", ")", ";", "flags", "=", "gen_rtx_REG", "(", "cmpmode", ",", "FLAGS_REG", ")", ";", "tmp", "=", "gen_rtx_COMPARE", "(", "cmpmode", ",", "op0", ",", "op1", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "flags", ",", "tmp", ")", ")", ";", "return", "gen_rtx_fmt_ee", "(", "code", ",", "VOIDmode", ",", "flags", ",", "const0_rtx", ")", ";", "}", ""], "natrual_language": ["Generate", "insn", "patterns", "to", "do", "an", "integer", "compare", "of", "OPERANDS", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_expand_int_compare", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14501, "Length": 79, "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": 14502, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "final_prescan_insn", "(", "rtx_insn", "*", "insn", ",", "rtx", "*", "opvec", "ATTRIBUTE_UNUSED", ",", "int", "noperands", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_DUMPISIZE", ")", "fprintf", "(", "asm_out_file", ",", "\"\\n! at %04x\\n\"", ",", "INSN_ADDRESSES", "(", "INSN_UID", "(", "insn", ")", ")", ")", ";", "if", "(", "TARGET_RELAX", ")", "{", "if", "(", "rtx", "note", "=", "find_reg_note", "(", "insn", ",", "REG_LABEL_OPERAND", ",", "NULL_RTX", ")", ")", "{", "rtx", "pattern", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pattern", ")", "==", "PARALLEL", ")", "pattern", "=", "XVECEXP", "(", "pattern", ",", "0", ",", "0", ")", ";", "switch", "(", "GET_CODE", "(", "pattern", ")", ")", "{", "case", "SET", ":", "if", "(", "GET_CODE", "(", "SET_SRC", "(", "pattern", ")", ")", "!=", "CALL", "&&", "get_attr_type", "(", "insn", ")", "!=", "TYPE_SFUNC", ")", "{", "targetm", ".", "asm_out", ".", "internal_label", "(", "asm_out_file", ",", "\"L\"", ",", "CODE_LABEL_NUMBER", "(", "XEXP", "(", "note", ",", "0", ")", ")", ")", ";", "break", ";", "}", "case", "CALL", ":", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t.uses %LL%d\\n\"", ",", "CODE_LABEL_NUMBER", "(", "XEXP", "(", "note", ",", "0", ")", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "}", "}", ""], "natrual_language": ["If", "defined", ",", "a", "C", "statement", "to", "be", "executed", "just", "prior", "to", "the", "output", "of", "assembler", "code", "for", "INSN", ",", "to", "modify", "the", "extracted", "operands", "so", "they", "will", "be", "output", "differently", ".", "Here", "the", "argument", "OPVEC", "is", "the", "vector", "containing", "the", "operands", "extracted", "from", "INSN", ",", "and", "NOPERANDS", "is", "the", "number", "of", "elements", "of", "the", "vector", "which", "contain", "meaningful", "data", "for", "this", "insn", ".", "The", "contents", "of", "this", "vector", "are", "what", "will", "be", "used", "to", "convert", "the", "insn", "template", "into", "assembler", "code", ",", "so", "you", "can", "change", "the", "assembler", "output", "by", "changing", "the", "contents", "of", "the", "vector", ".", "We", "use", "it", "to", "check", "if", "the", "current", "insn", "needs", "a", "nop", "in", "front", "of", "it", "because", "of", "load", "delays", ",", "and", "also", "to", "update", "the", "delay", "slot", "statistics", "."], "TS_V_token": ["sh", "\"\\n! at %04x\\n\"", "0", "0", "\"L\"", "0", "\"\\t.uses %LL%d\\n\"", "0"], "File": "sh", "Func": "final_prescan_insn", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14503, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_vector_mode_supported_p", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "return", "false", ";", "}", ""], "natrual_language": ["Implements", "target", "hook", "vector_mode_supported_p", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "sh_vector_mode_supported_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14504, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsCodeEmitter", "::", "getMachineOpValue", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "&", "MO", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "MipsRegisterInfo", "::", "getRegisterNumbering", "(", "MO", ".", "getReg", "(", ")", ")", ";", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "else", "if", "(", "MO", ".", "isGlobal", "(", ")", ")", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "Mips", "::", "ULW", "||", "MI", ".", "getOpcode", "(", ")", "==", "Mips", "::", "USW", "||", "MI", ".", "getOpcode", "(", ")", "==", "Mips", "::", "ULH", "||", "MI", ".", "getOpcode", "(", ")", "==", "Mips", "::", "ULHu", ")", "emitGlobalAddressUnaligned", "(", "MO", ".", "getGlobal", "(", ")", ",", "getRelocation", "(", "MI", ",", "MO", ")", ",", "4", ")", ";", "else", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "Mips", "::", "USH", ")", "emitGlobalAddressUnaligned", "(", "MO", ".", "getGlobal", "(", ")", ",", "getRelocation", "(", "MI", ",", "MO", ")", ",", "8", ")", ";", "else", "emitGlobalAddress", "(", "MO", ".", "getGlobal", "(", ")", ",", "getRelocation", "(", "MI", ",", "MO", ")", ",", "true", ")", ";", "}", "else", "if", "(", "MO", ".", "isSymbol", "(", ")", ")", "emitExternalSymbolAddress", "(", "MO", ".", "getSymbolName", "(", ")", ",", "getRelocation", "(", "MI", ",", "MO", ")", ")", ";", "else", "if", "(", "MO", ".", "isCPI", "(", ")", ")", "emitConstPoolAddress", "(", "MO", ".", "getIndex", "(", ")", ",", "getRelocation", "(", "MI", ",", "MO", ")", ")", ";", "else", "if", "(", "MO", ".", "isJTI", "(", ")", ")", "emitJumpTableAddress", "(", "MO", ".", "getIndex", "(", ")", ",", "getRelocation", "(", "MI", ",", "MO", ")", ")", ";", "else", "if", "(", "MO", ".", "isMBB", "(", ")", ")", "emitMachineBasicBlock", "(", "MO", ".", "getMBB", "(", ")", ",", "getRelocation", "(", "MI", ",", "MO", ")", ")", ";", "else", "llvm_unreachable", "(", "\"Unable to encode MachineOperand!\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips::ULW", "Mips::USW", "Mips::ULH", "Mips::ULHu", "4", "Mips::USH", "8", "\"Unable to encode MachineOperand!\"", "0"], "File": "MipsCodeEmitter21", "Func": "getMachineOpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14505, "Length": 290, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSIWithSVE", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "DL", ";", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "CSI", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "CSIWithSVE", ".", "size", "(", ")", ";", "++", "i", ")", "{", "if", "(", "MFI", "->", "getStackRegionToHandleCSR", "(", "CSIWithSVE", "[", "i", "]", ".", "getReg", "(", ")", ")", "!=", "nullptr", ")", "continue", ";", "CSI", ".", "push_back", "(", "CSIWithSVE", "[", "i", "]", ")", ";", "}", "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", ";", "if", "(", "RPI", ".", "IsGPR", ")", "StrOpc", "=", "RPI", ".", "isPaired", "(", ")", "?", "AArch64", "::", "STPXi", ":", "AArch64", "::", "STRXui", ";", "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\"", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "StrOpc", ")", ")", ";", "MBB", ".", "addLiveIn", "(", "Reg1", ")", ";", "if", "(", "RPI", ".", "isPaired", "(", ")", ")", "{", "MBB", ".", "addLiveIn", "(", "Reg2", ")", ";", "MIB", ".", "addReg", "(", "Reg2", ",", "getPrologueDeath", "(", "MF", ",", "Reg2", ")", ")", ";", "MIB", ".", "addMemOperand", "(", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "RPI", ".", "FrameIdx", "+", "1", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "8", ",", "8", ")", ")", ";", "}", "MIB", ".", "addReg", "(", "Reg1", ",", "getPrologueDeath", "(", "MF", ",", "Reg1", ")", ")", ".", "addReg", "(", "AArch64", "::", "SP", ")", ".", "addImm", "(", "RPI", ".", "Offset", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "MIB", ".", "addMemOperand", "(", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "RPI", ".", "FrameIdx", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "8", ",", "8", ")", ")", ";", "}", "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", "0", "8", "AArch64::STPXi", "AArch64::STRXui", "AArch64::STPDi", "AArch64::STRDui", "\"CSR spill: (\"", "\", \"", "\") -> fi#(\"", "\", \"", "1", "\")\\n\"", "1", "8", "8", "AArch64::SP", "8", "8"], "File": "AArch64FrameLowering62", "Func": "spillCalleeSavedRegisters", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14506, "Length": 467, "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", ";", "bool", "isLiveIn", "=", "MF", ".", "getRegInfo", "(", ")", ".", "isLiveIn", "(", "Reg", ")", ";", "if", "(", "!", "isLiveIn", ")", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "bool", "isKill", "=", "!", "isLiveIn", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ")", ".", "addReg", "(", "Reg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "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": "X86FrameLowering112", "Func": "spillCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14507, "Length": 338, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "CJGRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "CJG", "::", "SR", ")", ";", "Reserved", ".", "set", "(", "CJG", "::", "PC", ")", ";", "Reserved", ".", "set", "(", "CJG", "::", "SP", ")", ";", "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": ["CJG", "CJG", "CJG::SR", "CJG::PC", "CJG::SP"], "File": "CJGRegisterInfo", "Func": "getReservedRegs", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14508, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mmix_gen_compare_reg", "(", "RTX_CODE", "code", ",", "rtx", "x", ",", "rtx", "y", ")", "{", "enum", "machine_mode", "ccmode", "=", "SELECT_CC_MODE", "(", "code", ",", "x", ",", "y", ")", ";", "rtx", "cc_reg", ";", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "x", ")", "==", "VOIDmode", "?", "GET_MODE", "(", "y", ")", ":", "GET_MODE_CLASS", "(", "GET_MODE", "(", "x", ")", ")", "==", "MODE_FLOAT", "?", "DFmode", ":", "DImode", ";", "if", "(", "!", "mmix_valid_comparison", "(", "code", ",", "mode", ",", "x", ")", ")", "return", "NULL_RTX", ";", "cc_reg", "=", "gen_reg_rtx", "(", "ccmode", ")", ";", "if", "(", "!", "REG_P", "(", "x", ")", "&&", "!", "REG_P", "(", "y", ")", ")", "x", "=", "force_reg", "(", "mode", ",", "x", ")", ";", "if", "(", "!", "REG_P", "(", "y", ")", "&&", "(", "GET_CODE", "(", "y", ")", "!=", "CONST_INT", "||", "!", "CONST_OK_FOR_LETTER_P", "(", "INTVAL", "(", "y", ")", ",", "'I'", ")", ")", ")", "y", "=", "force_reg", "(", "mode", ",", "y", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "cc_reg", ",", "gen_rtx_COMPARE", "(", "ccmode", ",", "x", ",", "y", ")", ")", ")", ";", "return", "cc_reg", ";", "}", ""], "natrual_language": ["X", "and", "Y", "are", "two", "things", "to", "compare", "using", "CODE", ".", "Emit", "a", "compare", "insn", "if", "possible", "and", "return", "the", "rtx", "for", "the", "cc-reg", "in", "the", "proper", "mode", ",", "or", "NULL_RTX", "if", "this", "is", "not", "a", "valid", "comparison", "."], "TS_V_token": ["mmix"], "File": "mmix3", "Func": "mmix_gen_compare_reg", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14509, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LEGMCCodeEmitter", "::", "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": ["LEG", "LEG", "4", "\"Unexpected instruction size!\""], "File": "LEGMCCodeEmitter", "Func": "encodeInstruction", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14510, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "ScalarEvolutionWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "LoopInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "TargetPassConfig", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "TargetTransformInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "TargetLibraryInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "LoopInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "setPreservesCFG", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["ARM"], "File": "MVETailPredication", "Func": "getAnalysisUsage", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14511, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "altivec_expand_ld_builtin", "(", "tree", "exp", ",", "rtx", "target", ",", "bool", "*", "expandedp", ")", "{", "tree", "fndecl", "=", "TREE_OPERAND", "(", "TREE_OPERAND", "(", "exp", ",", "0", ")", ",", "0", ")", ";", "tree", "arglist", "=", "TREE_OPERAND", "(", "exp", ",", "1", ")", ";", "unsigned", "int", "fcode", "=", "DECL_FUNCTION_CODE", "(", "fndecl", ")", ";", "tree", "arg0", ";", "enum", "machine_mode", "tmode", ",", "mode0", ";", "rtx", "pat", ",", "op0", ";", "enum", "insn_code", "icode", ";", "switch", "(", "fcode", ")", "{", "case", "ALTIVEC_BUILTIN_LD_INTERNAL_16qi", ":", "icode", "=", "CODE_FOR_altivec_lvx_v16qi", ";", "break", ";", "case", "ALTIVEC_BUILTIN_LD_INTERNAL_8hi", ":", "icode", "=", "CODE_FOR_altivec_lvx_v8hi", ";", "break", ";", "case", "ALTIVEC_BUILTIN_LD_INTERNAL_4si", ":", "icode", "=", "CODE_FOR_altivec_lvx_v4si", ";", "break", ";", "case", "ALTIVEC_BUILTIN_LD_INTERNAL_4sf", ":", "icode", "=", "CODE_FOR_altivec_lvx_v4sf", ";", "break", ";", "default", ":", "*", "expandedp", "=", "false", ";", "return", "NULL_RTX", ";", "}", "*", "expandedp", "=", "true", ";", "arg0", "=", "TREE_VALUE", "(", "arglist", ")", ";", "op0", "=", "expand_expr", "(", "arg0", ",", "NULL_RTX", ",", "VOIDmode", ",", "0", ")", ";", "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", "1", "0", "0", "1", "0", "0", "1", "0"], "File": "rs60003", "Func": "altivec_expand_ld_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14512, "Length": 279, "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": 14513, "Length": 415, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "MipsFI", "=", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "if", "(", "Subtarget", "->", "inMips16Mode", "(", ")", ")", "for", "(", "std", "::", "map", "<", "const", "char", "*", ",", "const", "Mips16HardFloatInfo", "::", "FuncSignature", "*", ">", "::", "const_iterator", "it", "=", "MipsFI", "->", "StubsNeeded", ".", "begin", "(", ")", ";", "it", "!=", "MipsFI", "->", "StubsNeeded", ".", "end", "(", ")", ";", "++", "it", ")", "{", "const", "char", "*", "Symbol", "=", "it", "->", "first", ";", "const", "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", ")", ";", "emitXRayTable", "(", ")", ";", "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": "MipsAsmPrinter (2)1", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14514, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsSETargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "DCI", ".", "DAG", ";", "SDValue", "Val", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "ADDE", ":", "return", "performADDECombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "AND", ":", "Val", "=", "performANDCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "break", ";", "case", "ISD", "::", "OR", ":", "Val", "=", "performORCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "break", ";", "case", "ISD", "::", "SUBE", ":", "return", "performSUBECombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "MUL", ":", "return", "performMULCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "this", ")", ";", "case", "ISD", "::", "SHL", ":", "return", "performSHLCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SRA", ":", "return", "performSRACombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SRL", ":", "return", "performSRLCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "VSELECT", ":", "return", "performVSELECTCombine", "(", "N", ",", "DAG", ")", ";", "case", "ISD", "::", "XOR", ":", "Val", "=", "performXORCombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "break", ";", "case", "ISD", "::", "SETCC", ":", "Val", "=", "performSETCCCombine", "(", "N", ",", "DAG", ")", ";", "break", ";", "}", "if", "(", "Val", ".", "getNode", "(", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\nMipsSE DAG Combine:\\n\"", ";", "N", "->", "printrWithDepth", "(", "dbgs", "(", ")", ",", "&", "DAG", ")", ";", "dbgs", "(", ")", "<<", "\"\\n=> \\n\"", ";", "Val", ".", "getNode", "(", ")", "->", "printrWithDepth", "(", "dbgs", "(", ")", ",", "&", "DAG", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "return", "Val", ";", "}", "return", "MipsTargetLowering", "::", "PerformDAGCombine", "(", "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": ["Mips", "Mips", "ISD::ADDE", "ISD::AND", "ISD::OR", "ISD::SUBE", "ISD::MUL", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::VSELECT", "ISD::XOR", "ISD::SETCC", "\"\\nMipsSE DAG Combine:\\n\"", "\"\\n=> \\n\"", "\"\\n\"", "Mips"], "File": "MipsSEISelLowering (2)", "Func": "PerformDAGCombine", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14515, "Length": 298, "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": 14516, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"ARM64 pseudo instruction expansion pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM64", "\"ARM64 pseudo instruction expansion pass\""], "File": "ARM64ExpandPseudoInsts", "Func": "getPassName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14517, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_align_anon_bitfield", "(", "void", ")", "{", "return", "TARGET_AAPCS_BASED", ";", "}", ""], "natrual_language": ["AAPCS", "requires", "that", "anonymous", "bitfields", "affect", "structure", "alignment", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_align_anon_bitfield", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14518, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMAsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", "const", "{", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ",", "IsPCRel", ",", "nullptr", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "assert", "(", "Offset", "+", "NumBytes", "<=", "DataSize", "&&", "\"Invalid fixup offset!\"", ")", ";", "unsigned", "FullSizeBytes", ";", "if", "(", "!", "IsLittleEndian", ")", "FullSizeBytes", "=", "getFixupKindContainerSizeBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "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!\"", "0", "1", "8", "0xff"], "File": "ARMAsmBackend40", "Func": "applyFixup", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14519, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_evpc_zip", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "int", "i", ",", "high", ",", "mask", ",", "nelt", "=", "d", "->", "nelt", ";", "rtx", "out", ",", "in0", ",", "in1", ",", "x", ";", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "machine_mode", "vmode", "=", "d", "->", "vmode", ";", "if", "(", "GET_MODE_UNIT_SIZE", "(", "vmode", ")", ">", "8", ")", "return", "false", ";", "high", "=", "nelt", "/", "2", ";", "if", "(", "d", "->", "perm", "[", "0", "]", "==", "high", ")", ";", "else", "if", "(", "d", "->", "perm", "[", "0", "]", "==", "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", "=", "(", "i", "+", "high", ")", "&", "mask", ";", "if", "(", "d", "->", "perm", "[", "i", "*", "2", "]", "!=", "elt", ")", "return", "false", ";", "elt", "=", "(", "elt", "+", "nelt", ")", "&", "mask", ";", "if", "(", "d", "->", "perm", "[", "i", "*", "2", "+", "1", "]", "!=", "elt", ")", "return", "false", ";", "}", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "in0", "=", "d", "->", "op0", ";", "in1", "=", "d", "->", "op1", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "{", "x", "=", "in0", ",", "in0", "=", "in1", ",", "in1", "=", "x", ";", "high", "=", "!", "high", ";", "}", "out", "=", "d", "->", "target", ";", "if", "(", "high", ")", "{", "switch", "(", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_aarch64_zip2v16qi", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_aarch64_zip2v8qi", ";", "break", ";", "case", "V8HImode", ":", "gen", "=", "gen_aarch64_zip2v8hi", ";", "break", ";", "case", "V4HImode", ":", "gen", "=", "gen_aarch64_zip2v4hi", ";", "break", ";", "case", "V4SImode", ":", "gen", "=", "gen_aarch64_zip2v4si", ";", "break", ";", "case", "V2SImode", ":", "gen", "=", "gen_aarch64_zip2v2si", ";", "break", ";", "case", "V2DImode", ":", "gen", "=", "gen_aarch64_zip2v2di", ";", "break", ";", "case", "V4HFmode", ":", "gen", "=", "gen_aarch64_zip2v4hf", ";", "break", ";", "case", "V8HFmode", ":", "gen", "=", "gen_aarch64_zip2v8hf", ";", "break", ";", "case", "V4SFmode", ":", "gen", "=", "gen_aarch64_zip2v4sf", ";", "break", ";", "case", "V2SFmode", ":", "gen", "=", "gen_aarch64_zip2v2sf", ";", "break", ";", "case", "V2DFmode", ":", "gen", "=", "gen_aarch64_zip2v2df", ";", "break", ";", "default", ":", "return", "false", ";", "}", "}", "else", "{", "switch", "(", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_aarch64_zip1v16qi", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_aarch64_zip1v8qi", ";", "break", ";", "case", "V8HImode", ":", "gen", "=", "gen_aarch64_zip1v8hi", ";", "break", ";", "case", "V4HImode", ":", "gen", "=", "gen_aarch64_zip1v4hi", ";", "break", ";", "case", "V4SImode", ":", "gen", "=", "gen_aarch64_zip1v4si", ";", "break", ";", "case", "V2SImode", ":", "gen", "=", "gen_aarch64_zip1v2si", ";", "break", ";", "case", "V2DImode", ":", "gen", "=", "gen_aarch64_zip1v2di", ";", "break", ";", "case", "V4HFmode", ":", "gen", "=", "gen_aarch64_zip1v4hf", ";", "break", ";", "case", "V8HFmode", ":", "gen", "=", "gen_aarch64_zip1v8hf", ";", "break", ";", "case", "V4SFmode", ":", "gen", "=", "gen_aarch64_zip1v4sf", ";", "break", ";", "case", "V2SFmode", ":", "gen", "=", "gen_aarch64_zip1v2sf", ";", "break", ";", "case", "V2DFmode", ":", "gen", "=", "gen_aarch64_zip1v2df", ";", "break", ";", "default", ":", "return", "false", ";", "}", "}", "emit_insn", "(", "gen", "(", "out", ",", "in0", ",", "in1", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "suitable", "for", "the", "ZIP", "instructions", "."], "TS_V_token": ["aarch64", "8", "2", "0", "0", "0", "0", "1", "2", "1", "0", "2", "2", "2", "1"], "File": "aarch644", "Func": "aarch64_evpc_zip", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14520, "Length": 506, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"CSKY Constant Islands\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["CSKY", "\"CSKY Constant Islands\""], "File": "CSKYConstantIslandPass", "Func": "getPassName", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14521, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mep_cannot_change_mode_class", "(", "machine_mode", "from", ",", "machine_mode", "to", ",", "enum", "reg_class", "regclass", ")", "{", "if", "(", "from", "==", "to", ")", "return", "false", ";", "if", "(", "TARGET_64BIT_CR_REGS", "&&", "(", "regclass", "==", "CR_REGS", "||", "regclass", "==", "LOADABLE_CR_REGS", ")", "&&", "(", "GET_MODE_SIZE", "(", "to", ")", "<", "8", "||", "GET_MODE_SIZE", "(", "from", ")", "<", "8", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "registers", "in", "CLASS", "can", "not", "represent", "the", "change", "from", "modes", "FROM", "to", "TO", "."], "TS_V_token": ["mep", "8", "8"], "File": "mep", "Func": "mep_cannot_change_mode_class", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14522, "Length": 60, "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": ["ARM64", "\"Invalid access!\""], "File": "ARM64AsmParser", "Func": "getReg", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14523, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "arm_cond_code", "get_arm_condition_code", "(", "rtx", "comparison", ")", "{", "enum", "arm_cond_code", "code", "=", "maybe_get_arm_condition_code", "(", "comparison", ")", ";", "gcc_assert", "(", "code", "!=", "ARM_NV", ")", ";", "return", "code", ";", "}", ""], "natrual_language": ["Returns", "the", "index", "of", "the", "ARM", "condition", "code", "string", "in", "`", "arm_condition_codes", "'", ".", "COMPARISON", "should", "be", "an", "rtx", "like", "`", "(", "eq", "(", "...", ")", "(", "...", ")", ")", "'", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "get_arm_condition_code", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14524, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createX86ISelDag", "(", "getX86TargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "if", "(", "Triple", "(", "TM", "->", "getTargetTriple", "(", ")", ")", ".", "isOSBinFormatELF", "(", ")", "&&", "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"], "File": "X86TargetMachine117", "Func": "addInstSelector", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14525, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "arm_gimplify_va_arg_expr", "(", "tree", "valist", ",", "tree", "type", ",", "gimple_seq", "*", "pre_p", ",", "gimple_seq", "*", "post_p", ")", "{", "valist", "=", "arm_extract_valist_ptr", "(", "valist", ")", ";", "return", "std_gimplify_va_arg_expr", "(", "valist", ",", "type", ",", "pre_p", ",", "post_p", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_GIMPLIFY_VA_ARG_EXPR", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_gimplify_va_arg_expr", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14526, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_use_lea_for_mov", "(", "rtx_insn", "*", "insn", ",", "rtx", "operands", "[", "]", ")", "{", "unsigned", "int", "regno0", ",", "regno1", ";", "if", "(", "!", "TARGET_OPT_AGU", "||", "optimize_function_for_size_p", "(", "cfun", ")", ")", "return", "false", ";", "if", "(", "!", "REG_P", "(", "operands", "[", "0", "]", ")", "||", "!", "REG_P", "(", "operands", "[", "1", "]", ")", ")", "return", "false", ";", "regno0", "=", "true_regnum", "(", "operands", "[", "0", "]", ")", ";", "regno1", "=", "true_regnum", "(", "operands", "[", "1", "]", ")", ";", "return", "ix86_lea_outperforms", "(", "insn", ",", "regno0", ",", "regno1", ",", "INVALID_REGNUM", ",", "0", ",", "false", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "should", "emit", "lea", "instruction", "instead", "of", "mov", "instruction", "."], "TS_V_token": ["i386", "0", "1", "0", "1", "0"], "File": "i386", "Func": "ix86_use_lea_for_mov", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14527, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MipsInstrInfo", "::", "BranchType", "MipsInstrInfo", "::", "analyzeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "&", "TBB", ",", "MachineBasicBlock", "*", "&", "FBB", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "bool", "AllowModify", ",", "SmallVectorImpl", "<", "MachineInstr", "*", ">", "&", "BranchInstrs", ")", "const", "{", "MachineBasicBlock", "::", "reverse_iterator", "I", "=", "MBB", ".", "rbegin", "(", ")", ",", "REnd", "=", "MBB", ".", "rend", "(", ")", ";", "while", "(", "I", "!=", "REnd", "&&", "I", "->", "isDebugValue", "(", ")", ")", "++", "I", ";", "if", "(", "I", "==", "REnd", "||", "!", "isUnpredicatedTerminator", "(", "*", "I", ")", ")", "{", "TBB", "=", "FBB", "=", "nullptr", ";", "return", "BT_NoBranch", ";", "}", "MachineInstr", "*", "LastInst", "=", "&", "*", "I", ";", "unsigned", "LastOpc", "=", "LastInst", "->", "getOpcode", "(", ")", ";", "BranchInstrs", ".", "push_back", "(", "LastInst", ")", ";", "if", "(", "!", "getAnalyzableBrOpc", "(", "LastOpc", ")", ")", "return", "LastInst", "->", "isIndirectBranch", "(", ")", "?", "BT_Indirect", ":", "BT_None", ";", "unsigned", "SecondLastOpc", "=", "0", ";", "MachineInstr", "*", "SecondLastInst", "=", "nullptr", ";", "if", "(", "++", "I", "!=", "REnd", ")", "{", "SecondLastInst", "=", "&", "*", "I", ";", "SecondLastOpc", "=", "getAnalyzableBrOpc", "(", "SecondLastInst", "->", "getOpcode", "(", ")", ")", ";", "if", "(", "isUnpredicatedTerminator", "(", "*", "SecondLastInst", ")", "&&", "!", "SecondLastOpc", ")", "return", "BT_None", ";", "}", "if", "(", "!", "SecondLastOpc", ")", "{", "if", "(", "LastInst", "->", "isUnconditionalBranch", "(", ")", ")", "{", "TBB", "=", "LastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "return", "BT_Uncond", ";", "}", "AnalyzeCondBr", "(", "LastInst", ",", "LastOpc", ",", "TBB", ",", "Cond", ")", ";", "return", "BT_Cond", ";", "}", "if", "(", "++", "I", "!=", "REnd", "&&", "isUnpredicatedTerminator", "(", "*", "I", ")", ")", "return", "BT_None", ";", "BranchInstrs", ".", "insert", "(", "BranchInstrs", ".", "begin", "(", ")", ",", "SecondLastInst", ")", ";", "if", "(", "SecondLastInst", "->", "isUnconditionalBranch", "(", ")", ")", "{", "if", "(", "!", "AllowModify", ")", "return", "BT_None", ";", "TBB", "=", "SecondLastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "LastInst", "->", "eraseFromParent", "(", ")", ";", "BranchInstrs", ".", "pop_back", "(", ")", ";", "return", "BT_Uncond", ";", "}", "if", "(", "!", "LastInst", "->", "isUnconditionalBranch", "(", ")", ")", "return", "BT_None", ";", "AnalyzeCondBr", "(", "SecondLastInst", ",", "SecondLastOpc", ",", "TBB", ",", "Cond", ")", ";", "FBB", "=", "LastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "return", "BT_CondUncond", ";", "}", ""], "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": ["Mips", "Mips", "Mips", "0", "0", "0", "0"], "File": "MipsInstrInfo (2)", "Func": "analyzeBranch", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14528, "Length": 355, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_cannot_force_const_mem", "(", "rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "CONST_INT", ":", "case", "CONST_DOUBLE", ":", "case", "CONST_VECTOR", ":", "return", "false", ";", "case", "LABEL_REF", ":", "return", "flag_pic", "!=", "0", ";", "case", "SYMBOL_REF", ":", "if", "(", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", ")", "return", "true", ";", "else", "return", "flag_pic", "!=", "0", ";", "case", "CONST", ":", "return", "sparc_cannot_force_const_mem", "(", "XEXP", "(", "x", ",", "0", ")", ")", ";", "case", "PLUS", ":", "case", "MINUS", ":", "return", "sparc_cannot_force_const_mem", "(", "XEXP", "(", "x", ",", "0", ")", ")", "||", "sparc_cannot_force_const_mem", "(", "XEXP", "(", "x", ",", "1", ")", ")", ";", "case", "UNSPEC", ":", "return", "true", ";", "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": ["sparc", "0", "0", "0", "0", "1"], "File": "sparc3", "Func": "sparc_cannot_force_const_mem", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14529, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "vectors_per_tuple", "(", ")", "const", "override", "{", "return", "m_vectors_per_tuple", ";", "}", ""], "natrual_language": ["If", "the", "function", "operates", "on", "tuples", "of", "vectors", ",", "return", "the", "number", "of", "vectors", "in", "the", "tuples", ",", "otherwise", "return", "1", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins-functions3", "Func": "vectors_per_tuple", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14530, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_function_arg_regno_p", "(", "int", "regno", ")", "{", "int", "i", ";", "enum", "calling_abi", "call_abi", ";", "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", ";", "call_abi", "=", "ix86_cfun_abi", "(", ")", ";", "if", "(", "call_abi", "==", "SYSV_ABI", "&&", "regno", "==", "AX_REG", ")", "return", "true", ";", "if", "(", "call_abi", "==", "MS_ABI", ")", "parm_regs", "=", "x86_64_ms_abi_int_parameter_registers", ";", "else", "parm_regs", "=", "x86_64_int_parameter_registers", ";", "for", "(", "i", "=", "0", ";", "i", "<", "(", "call_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": "i3865", "Func": "ix86_function_arg_regno_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14531, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_push", "(", "enum", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "rtx", "tmp", ";", "tmp", "=", "expand_simple_binop", "(", "Pmode", ",", "PLUS", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "GET_MODE_SIZE", "(", "mode", ")", ")", ",", "stack_pointer_rtx", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "if", "(", "tmp", "!=", "stack_pointer_rtx", ")", "emit_move_insn", "(", "stack_pointer_rtx", ",", "tmp", ")", ";", "tmp", "=", "gen_rtx_MEM", "(", "mode", ",", "stack_pointer_rtx", ")", ";", "emit_move_insn", "(", "tmp", ",", "x", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "push", "in", "MODE", ".", "This", "is", "some", "mode", "for", "which", "we", "do", "not", "support", "proper", "push", "instructions", ",", "at", "least", "from", "the", "registers", "that", "we", "expect", "the", "value", "to", "live", "in", "."], "TS_V_token": ["i386", "1"], "File": "i3863", "Func": "ix86_expand_push", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14532, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_expand_vpc_loongson_pshufh", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "i", ",", "mask", ";", "rtx", "rmask", ";", "if", "(", "!", "(", "TARGET_HARD_FLOAT", "&&", "TARGET_LOONGSON_VECTORS", ")", ")", "return", "false", ";", "if", "(", "d", "->", "vmode", "!=", "V4HImode", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "for", "(", "i", "=", "mask", "=", "0", ";", "i", "<", "4", ";", "i", "++", ")", "mask", "|=", "(", "d", "->", "perm", "[", "i", "]", "&", "3", ")", "<<", "(", "i", "*", "2", ")", ";", "rmask", "=", "force_reg", "(", "SImode", ",", "GEN_INT", "(", "mask", ")", ")", ";", "if", "(", "d", "->", "one_vector_p", ")", "emit_insn", "(", "gen_loongson_pshufh", "(", "d", "->", "target", ",", "d", "->", "op0", ",", "rmask", ")", ")", ";", "else", "{", "rtx", "t0", ",", "t1", ",", "x", ",", "merge", ",", "rmerge", "[", "4", "]", ";", "t0", "=", "gen_reg_rtx", "(", "V4HImode", ")", ";", "t1", "=", "gen_reg_rtx", "(", "V4HImode", ")", ";", "emit_insn", "(", "gen_loongson_pshufh", "(", "t1", ",", "d", "->", "op1", ",", "rmask", ")", ")", ";", "emit_insn", "(", "gen_loongson_pshufh", "(", "t0", ",", "d", "->", "op0", ",", "rmask", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "4", ";", "++", "i", ")", "rmerge", "[", "i", "]", "=", "(", "d", "->", "perm", "[", "i", "]", "&", "4", "?", "constm1_rtx", ":", "const0_rtx", ")", ";", "merge", "=", "gen_rtx_CONST_VECTOR", "(", "V4HImode", ",", "gen_rtvec_v", "(", "4", ",", "rmerge", ")", ")", ";", "merge", "=", "force_reg", "(", "V4HImode", ",", "merge", ")", ";", "x", "=", "gen_rtx_AND", "(", "V4HImode", ",", "merge", ",", "t1", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "t1", ",", "x", ")", ")", ";", "x", "=", "gen_rtx_NOT", "(", "V4HImode", ",", "merge", ")", ";", "x", "=", "gen_rtx_AND", "(", "V4HImode", ",", "x", ",", "t0", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "t0", ",", "x", ")", ")", ";", "x", "=", "gen_rtx_IOR", "(", "V4HImode", ",", "t0", ",", "t1", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "d", "->", "target", ",", "x", ")", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "for", "the", "Loongson", "PSHUFH", "instruction", "."], "TS_V_token": ["mips", "0", "4", "3", "2", "4", "0", "4", "4", "4"], "File": "mips4", "Func": "mips_expand_vpc_loongson_pshufh", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14533, "Length": 317, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "increase_distance", "(", "rtx_insn", "*", "prev", ",", "rtx_insn", "*", "next", ",", "unsigned", "int", "distance", ")", "{", "df_ref", "def", ",", "use", ";", "if", "(", "!", "prev", "||", "!", "next", ")", "return", "distance", "+", "(", "distance", "&", "1", ")", "+", "2", ";", "if", "(", "!", "DF_INSN_USES", "(", "next", ")", "||", "!", "DF_INSN_DEFS", "(", "prev", ")", ")", "return", "distance", "+", "1", ";", "FOR_EACH_INSN_USE", "(", "use", ",", "next", ")", "FOR_EACH_INSN_DEF", "(", "def", ",", "prev", ")", "if", "(", "!", "DF_REF_IS_ARTIFICIAL", "(", "def", ")", "&&", "DF_REF_REGNO", "(", "use", ")", "==", "DF_REF_REGNO", "(", "def", ")", ")", "return", "distance", "+", "(", "distance", "&", "1", ")", "+", "2", ";", "return", "distance", "+", "1", ";", "}", ""], "natrual_language": ["Increase", "given", "DISTANCE", "in", "half-cycles", "according", "to", "dependencies", "between", "PREV", "and", "NEXT", "instructions", ".", "Add", "1", "half-cycle", "if", "there", "is", "no", "dependency", "and", "go", "to", "next", "cycle", "if", "there", "is", "some", "dependecy", "."], "TS_V_token": ["i386", "1", "2", "1", "1", "2", "1"], "File": "i386", "Func": "increase_distance", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14534, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_handle_force_align_arg_pointer_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", ";", "}", ""], "natrual_language": ["Handle", "a", "``", "force_align_arg_pointer", "''", "attribute", "."], "TS_V_token": ["i386", "\"%qE attribute only applies to functions\""], "File": "i386-options", "Func": "ix86_handle_force_align_arg_pointer_attribute", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14535, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86DAGToDAGISel", "::", "PostprocessISelDAG", "(", ")", "{", "if", "(", "TM", ".", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ")", "return", ";", "SelectionDAG", "::", "allnodes_iterator", "Position", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "bool", "MadeChange", "=", "false", ";", "while", "(", "Position", "!=", "CurDAG", "->", "allnodes_begin", "(", ")", ")", "{", "SDNode", "*", "N", "=", "&", "*", "--", "Position", ";", "if", "(", "N", "->", "use_empty", "(", ")", "||", "!", "N", "->", "isMachineOpcode", "(", ")", ")", "continue", ";", "if", "(", "tryOptimizeRem8Extend", "(", "N", ")", ")", "{", "MadeChange", "=", "true", ";", "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", ")", ")", ";", "MadeChange", "=", "true", ";", "}", "if", "(", "MadeChange", ")", "CurDAG", "->", "RemoveDeadNodes", "(", ")", ";", "}", ""], "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": "X86ISelDAGToDAG141", "Func": "PostprocessISelDAG", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14536, "Length": 434, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "X86_64Relocator", "::", "getName", "(", "Relocation", "::", "Type", "pType", ")", "const", "{", "return", "X86_64ApplyFunctions", "[", "pType", "]", ".", "name", ";", "}", ""], "natrual_language": ["Return", "a", "string", "with", "the", "name", "of", "the", "plan", "and", "the", "applicable", "VFs", "and", "UFs", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86Relocator", "Func": "getName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14537, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "get_thread_pointer", "(", "int", "to_reg", ")", "{", "rtx", "tp", ",", "reg", ",", "insn", ";", "tp", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "const0_rtx", ")", ",", "UNSPEC_TP", ")", ";", "if", "(", "!", "to_reg", ")", "return", "tp", ";", "reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "insn", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "reg", ",", "tp", ")", ";", "insn", "=", "emit_insn", "(", "insn", ")", ";", "return", "reg", ";", "}", ""], "natrual_language": ["Load", "the", "thread", "pointer", ".", "If", "TO_REG", "is", "true", ",", "force", "it", "into", "a", "register", "."], "TS_V_token": ["i386", "1"], "File": "i3863", "Func": "get_thread_pointer", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14538, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SparcMCExpr", "*", "SparcMCExpr", "::", "Create", "(", "VariantKind", "Kind", ",", "const", "MCExpr", "*", "Expr", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "SparcMCExpr", "(", "Kind", ",", "Expr", ")", ";", "}", ""], "natrual_language": ["Construct", "a", "unary", "instruction", ",", "given", "the", "opcode", "and", "an", "operand", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc"], "File": "SparcMCExpr1", "Func": "Create", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14539, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "getSqrtEstimate", "(", "SDValue", "Operand", ",", "SelectionDAG", "&", "DAG", ",", "int", "Enabled", ",", "int", "&", "ExtraSteps", ",", "bool", "&", "UseOneConst", ",", "bool", "Reciprocal", ")", "const", "{", "if", "(", "Enabled", "==", "ReciprocalEstimate", "::", "Enabled", "||", "(", "Enabled", "==", "ReciprocalEstimate", "::", "Unspecified", "&&", "Subtarget", "->", "useRSqrt", "(", ")", ")", ")", "if", "(", "SDValue", "Estimate", "=", "getEstimate", "(", "Subtarget", ",", "AArch64ISD", "::", "FRSQRTE", ",", "Operand", ",", "DAG", ",", "ExtraSteps", ")", ")", "{", "SDLoc", "DL", "(", "Operand", ")", ";", "EVT", "VT", "=", "Operand", ".", "getValueType", "(", ")", ";", "SDNodeFlags", "Flags", ";", "Flags", ".", "setAllowReassociation", "(", "true", ")", ";", "for", "(", "int", "i", "=", "ExtraSteps", ";", "i", ">", "0", ";", "--", "i", ")", "{", "SDValue", "Step", "=", "DAG", ".", "getNode", "(", "ISD", "::", "FMUL", ",", "DL", ",", "VT", ",", "Estimate", ",", "Estimate", ",", "Flags", ")", ";", "Step", "=", "DAG", ".", "getNode", "(", "AArch64ISD", "::", "FRSQRTS", ",", "DL", ",", "VT", ",", "Operand", ",", "Step", ",", "Flags", ")", ";", "Estimate", "=", "DAG", ".", "getNode", "(", "ISD", "::", "FMUL", ",", "DL", ",", "VT", ",", "Estimate", ",", "Step", ",", "Flags", ")", ";", "}", "if", "(", "!", "Reciprocal", ")", "{", "EVT", "CCVT", "=", "getSetCCResultType", "(", "DAG", ".", "getDataLayout", "(", ")", ",", "*", "DAG", ".", "getContext", "(", ")", ",", "VT", ")", ";", "SDValue", "FPZero", "=", "DAG", ".", "getConstantFP", "(", "0.0", ",", "DL", ",", "VT", ")", ";", "SDValue", "Eq", "=", "DAG", ".", "getSetCC", "(", "DL", ",", "CCVT", ",", "Operand", ",", "FPZero", ",", "ISD", "::", "SETEQ", ")", ";", "Estimate", "=", "DAG", ".", "getNode", "(", "ISD", "::", "FMUL", ",", "DL", ",", "VT", ",", "Operand", ",", "Estimate", ",", "Flags", ")", ";", "Estimate", "=", "DAG", ".", "getNode", "(", "VT", ".", "isVector", "(", ")", "?", "ISD", "::", "VSELECT", ":", "ISD", "::", "SELECT", ",", "DL", ",", "VT", ",", "Eq", ",", "Operand", ",", "Estimate", ")", ";", "}", "ExtraSteps", "=", "0", ";", "return", "Estimate", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Hooks", "for", "building", "estimates", "in", "place", "of", "slower", "divisions", "and", "square", "roots", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64ISD::FRSQRTE", "0", "ISD::FMUL", "AArch64ISD::FRSQRTS", "ISD::FMUL", "0.0", "ISD::SETEQ", "ISD::FMUL", "ISD::VSELECT", "ISD::SELECT", "0"], "File": "AArch64ISelLowering (2)3", "Func": "getSqrtEstimate", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14540, "Length": 304, "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": 14541, "Length": 252, "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": 14542, "Length": 490, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arm_libcall_value", "(", "machine_mode", "mode", ",", "const_rtx", "libcall", ")", "{", "if", "(", "TARGET_AAPCS_BASED", "&&", "arm_pcs_default", "!=", "ARM_PCS_AAPCS", "&&", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", ")", "{", "if", "(", "arm_libcall_uses_aapcs_base", "(", "libcall", ")", ")", "return", "gen_rtx_REG", "(", "mode", ",", "ARG_REGISTER", "(", "1", ")", ")", ";", "}", "return", "arm_libcall_value_1", "(", "mode", ")", ";", "}", ""], "natrual_language": ["Define", "how", "to", "find", "the", "value", "returned", "by", "a", "library", "function", "assuming", "the", "value", "has", "mode", "MODE", "."], "TS_V_token": ["arm", "1"], "File": "arm", "Func": "arm_libcall_value", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14543, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "fma_node", "::", "get_parity", "(", ")", "{", "return", "this", "->", "m_head", "->", "regno", "%", "2", ";", "}", ""], "natrual_language": ["Return", "the", "parity", "of", "the", "destination", "register", "of", "the", "instruction", "represented", "by", "this", "node", "."], "TS_V_token": ["aarch64", "2"], "File": "cortex-a57-fma-steering", "Func": "get_parity", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14544, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ia64_expand_vecint_minmax", "(", "enum", "rtx_code", "code", ",", "enum", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ")", "{", "rtx", "xops", "[", "6", "]", ";", "if", "(", "mode", "==", "V8QImode", "&&", "(", "code", "==", "UMIN", "||", "code", "==", "UMAX", ")", ")", "return", "false", ";", "if", "(", "mode", "==", "V4HImode", "&&", "(", "code", "==", "SMIN", "||", "code", "==", "SMAX", ")", ")", "return", "false", ";", "if", "(", "mode", "==", "V4HImode", "&&", "code", "==", "UMAX", ")", "{", "rtx", "x", ",", "tmp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "x", "=", "gen_rtx_US_MINUS", "(", "mode", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "tmp", ",", "x", ")", ")", ";", "emit_insn", "(", "gen_addv4hi3", "(", "operands", "[", "0", "]", ",", "tmp", ",", "operands", "[", "2", "]", ")", ")", ";", "return", "true", ";", "}", "xops", "[", "0", "]", "=", "operands", "[", "0", "]", ";", "xops", "[", "4", "]", "=", "xops", "[", "1", "]", "=", "operands", "[", "1", "]", ";", "xops", "[", "5", "]", "=", "xops", "[", "2", "]", "=", "operands", "[", "2", "]", ";", "switch", "(", "code", ")", "{", "case", "UMIN", ":", "code", "=", "LTU", ";", "break", ";", "case", "UMAX", ":", "code", "=", "GTU", ";", "break", ";", "case", "SMIN", ":", "code", "=", "LT", ";", "break", ";", "case", "SMAX", ":", "code", "=", "GT", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "xops", "[", "3", "]", "=", "gen_rtx_fmt_ee", "(", "code", ",", "VOIDmode", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ";", "ia64_expand_vecint_cmov", "(", "xops", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Emit", "an", "integral", "vector", "min", "or", "max", "operation", ".", "Return", "true", "if", "all", "done", "."], "TS_V_token": ["ia64", "6", "1", "2", "0", "2", "0", "0", "4", "1", "1", "5", "2", "2", "3", "1", "2"], "File": "ia643", "Func": "ia64_expand_vecint_minmax", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14545, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "pad_direction", "rs6000_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", "PAD_DOWNWARD", ";", "}", "return", "PAD_UPWARD", ";", "}", "if", "(", "AGGREGATES_PAD_UPWARD_ALWAYS", ")", "{", "if", "(", "type", "!=", "0", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "return", "PAD_UPWARD", ";", "}", "return", "default_function_arg_padding", "(", "mode", ",", "type", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_ARG_PADDING", ".", "For", "the", "AIX", "ABI", "structs", "are", "always", "stored", "left", "shifted", "in", "their", "argument", "slot", "."], "TS_V_token": ["rs6000", "0", "1", "2", "4", "0"], "File": "rs6000-call", "Func": "rs6000_function_arg_padding", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14546, "Length": 114, "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": 14547, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isLegalAddressingMode", "(", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ")", "const", "{", "EVT", "VT", "=", "getValueType", "(", "Ty", ",", "true", ")", ";", "if", "(", "!", "isLegalAddressImmediate", "(", "AM", ".", "BaseOffs", ",", "VT", ",", "Subtarget", ")", ")", "return", "false", ";", "if", "(", "AM", ".", "BaseGV", ")", "return", "false", ";", "switch", "(", "AM", ".", "Scale", ")", "{", "case", "0", ":", "break", ";", "case", "1", ":", "if", "(", "Subtarget", "->", "isThumb1Only", "(", ")", ")", "return", "false", ";", "default", ":", "if", "(", "AM", ".", "BaseOffs", ")", "return", "false", ";", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "if", "(", "Subtarget", "->", "isThumb2", "(", ")", ")", "return", "isLegalT2ScaledAddressingMode", "(", "AM", ",", "VT", ")", ";", "int", "Scale", "=", "AM", ".", "Scale", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "return", "false", ";", "case", "MVT", "::", "i1", ":", "case", "MVT", "::", "i8", ":", "case", "MVT", "::", "i32", ":", "if", "(", "Scale", "<", "0", ")", "Scale", "=", "-", "Scale", ";", "if", "(", "Scale", "==", "1", ")", "return", "true", ";", "return", "isPowerOf2_32", "(", "Scale", "&", "~", "1", ")", ";", "case", "MVT", "::", "i16", ":", "case", "MVT", "::", "i64", ":", "if", "(", "(", "(", "unsigned", ")", "AM", ".", "HasBaseReg", "+", "Scale", ")", "<=", "2", ")", "return", "true", ";", "return", "false", ";", "case", "MVT", "::", "isVoid", ":", "if", "(", "Scale", "&", "1", ")", "return", "false", ";", "return", "isPowerOf2_32", "(", "Scale", ")", ";", "}", "break", ";", "}", "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": ["ARM", "ARM", "0", "1", "MVT::i1", "MVT::i8", "MVT::i32", "0", "1", "1", "MVT::i16", "MVT::i64", "2", "MVT::isVoid", "1"], "File": "ARMISelLowering152", "Func": "isLegalAddressingMode", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14548, "Length": 243, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCSection", "*", "X86WindowsTargetObjectFile", "::", "getSectionForConstant", "(", "SectionKind", "Kind", ",", "const", "Constant", "*", "C", ")", "const", "{", "if", "(", "Kind", ".", "isReadOnly", "(", ")", ")", "{", "if", "(", "C", ")", "{", "Type", "*", "Ty", "=", "C", "->", "getType", "(", ")", ";", "SmallString", "<", "32", ">", "COMDATSymName", ";", "if", "(", "Ty", "->", "isFloatTy", "(", ")", "||", "Ty", "->", "isDoubleTy", "(", ")", ")", "{", "COMDATSymName", "=", "\"__real@\"", ";", "COMDATSymName", "+=", "scalarConstantToHexString", "(", "C", ")", ";", "}", "else", "if", "(", "const", "auto", "*", "VTy", "=", "dyn_cast", "<", "VectorType", ">", "(", "Ty", ")", ")", "{", "uint64_t", "NumBits", "=", "VTy", "->", "getBitWidth", "(", ")", ";", "if", "(", "NumBits", "==", "128", "||", "NumBits", "==", "256", ")", "{", "COMDATSymName", "=", "NumBits", "==", "128", "?", "\"__xmm@\"", ":", "\"__ymm@\"", ";", "for", "(", "int", "I", "=", "VTy", "->", "getNumElements", "(", ")", "-", "1", ",", "E", "=", "-", "1", ";", "I", "!=", "E", ";", "--", "I", ")", "COMDATSymName", "+=", "scalarConstantToHexString", "(", "C", "->", "getAggregateElement", "(", "I", ")", ")", ";", "}", "}", "if", "(", "!", "COMDATSymName", ".", "empty", "(", ")", ")", "{", "unsigned", "Characteristics", "=", "COFF", "::", "IMAGE_SCN_CNT_INITIALIZED_DATA", "|", "COFF", "::", "IMAGE_SCN_MEM_READ", "|", "COFF", "::", "IMAGE_SCN_LNK_COMDAT", ";", "return", "getContext", "(", ")", ".", "getCOFFSection", "(", "\".rdata\"", ",", "Characteristics", ",", "Kind", ",", "COMDATSymName", ",", "COFF", "::", "IMAGE_COMDAT_SELECT_ANY", ")", ";", "}", "}", "}", "return", "TargetLoweringObjectFile", "::", "getSectionForConstant", "(", "Kind", ",", "C", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constant", "with", "the", "SectionKind", ",", "return", "a", "section", "that", "it", "should", "be", "placed", "in", "."], "TS_V_token": ["X86", "X86", "32", "\"__real@\"", "128", "256", "128", "\"__xmm@\"", "\"__ymm@\"", "1", "1", "\".rdata\""], "File": "X86TargetObjectFile1", "Func": "getSectionForConstant", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14549, "Length": 219, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMFrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "ArrayRef", "<", "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", "(", ")", ";", "if", "(", "llvm", "::", "any_of", "(", "CSI", ",", "[", "]", "(", "const", "CalleeSavedInfo", "&", "C", ")", "{", "return", "C", ".", "getReg", "(", ")", "==", "ARM", "::", "FPCXTNS", ";", "}", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DebugLoc", "(", ")", ",", "STI", ".", "getInstrInfo", "(", ")", "->", "get", "(", "ARM", "::", "VSTR_FPCXTNS_pre", ")", ",", "ARM", "::", "SP", ")", ".", "addReg", "(", "ARM", "::", "SP", ")", ".", "addImm", "(", "-", "4", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "}", "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::FPCXTNS", "ARM::VSTR_FPCXTNS_pre", "ARM::SP", "ARM::SP", "4", "ARMCC::AL", "ARM", "0", "ARM", "0", "0", "ARM"], "File": "ARMFrameLowering103", "Func": "spillCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14550, "Length": 289, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "CSKYInstrInfo", "::", "insertBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "TBB", ",", "MachineBasicBlock", "*", "FBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "const", "DebugLoc", "&", "DL", ",", "int", "*", "BytesAdded", ")", "const", "{", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "=", "0", ";", "assert", "(", "TBB", "&&", "\"insertBranch must not be told to insert a fallthrough\"", ")", ";", "assert", "(", "(", "Cond", ".", "size", "(", ")", "==", "2", "||", "Cond", ".", "size", "(", ")", "==", "0", ")", "&&", "\"CSKY branch conditions have two components!\"", ")", ";", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "MachineInstr", "&", "MI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "CSKY", "::", "BR32", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "getInstSizeInBytes", "(", "MI", ")", ";", "return", "1", ";", "}", "unsigned", "Opc", "=", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ";", "MachineInstr", "&", "CondMI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "Opc", ")", ")", ".", "add", "(", "Cond", "[", "1", "]", ")", ".", "addMBB", "(", "TBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "getInstSizeInBytes", "(", "CondMI", ")", ";", "if", "(", "!", "FBB", ")", "return", "1", ";", "MachineInstr", "&", "MI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "CSKY", "::", "BR32", ")", ")", ".", "addMBB", "(", "FBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "getInstSizeInBytes", "(", "MI", ")", ";", "return", "2", ";", "}", ""], "natrual_language": ["Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "."], "TS_V_token": ["CSKY", "CSKY", "0", "\"insertBranch must not be told to insert a fallthrough\"", "2", "0", "\"CSKY branch conditions have two components!\"", "CSKY::BR32", "1", "0", "1", "1", "CSKY::BR32", "2"], "File": "CSKYInstrInfo1", "Func": "insertBranch", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14551, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ready_reorder", "(", "rtx", "*", "ready", ",", "int", "nready", ")", "{", "SCHED_REORDER", "(", "ready", ",", "nready", ")", ";", "}", ""], "natrual_language": ["Sort", "the", "ready", "list", "READY", "by", "ascending", "priority", ",", "using", "the", "SCHED_REORDER", "macro", "."], "TS_V_token": ["sh"], "File": "sh3", "Func": "ready_reorder", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14552, "Length": 20, "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", "::", "VXORPSrr", ":", "X86", "::", "XORPSrr", ")", ")", ";", "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::VXORPSrr", "X86::XORPSrr", "X86::TEST8ri_NOREX", "X86::TEST8ri"], "File": "X86InstrInfo19", "Func": "expandPostRAPseudo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14553, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "function_resolver", "::", "require_integer_immediate", "(", "unsigned", "int", "argno", ")", "{", "if", "(", "!", "scalar_argument_p", "(", "argno", ")", ")", "{", "report_non_ice", "(", "location", ",", "fndecl", ",", "argno", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Require", "argument", "ARGNO", "to", "be", "suitable", "for", "an", "integer", "constant", "expression", ".", "Return", "true", "if", "it", "is", ",", "otherwise", "report", "an", "appropriate", "error", ".", "function_checker", "checks", "whether", "the", "argument", "is", "actually", "constant", "and", "has", "a", "suitable", "range", ".", "The", "reason", "for", "distinguishing", "immediate", "arguments", "here", "is", "because", "it", "provides", "more", "consistent", "error", "messages", "than", "require_scalar_type", "would", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "require_integer_immediate", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14554, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_emit_stack_reset", "(", "rs6000_stack_t", "*", "info", ",", "rtx", "frame_reg_rtx", ",", "HOST_WIDE_INT", "frame_off", ",", "unsigned", "updt_regno", ")", "{", "if", "(", "frame_off", "==", "0", "&&", "REGNO", "(", "frame_reg_rtx", ")", "==", "updt_regno", ")", "return", "NULL_RTX", ";", "rtx", "updt_reg_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "updt_regno", ")", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", "||", "(", "TARGET_SPE_ABI", "&&", "info", "->", "spe_64bit_regs_used", "!=", "0", "&&", "info", "->", "first_gp_reg_save", "!=", "32", ")", ")", "return", "emit_insn", "(", "gen_stack_restore_tie", "(", "updt_reg_rtx", ",", "frame_reg_rtx", ",", "GEN_INT", "(", "frame_off", ")", ")", ")", ";", "if", "(", "frame_off", "!=", "0", ")", "return", "emit_insn", "(", "gen_add3_insn", "(", "updt_reg_rtx", ",", "frame_reg_rtx", ",", "GEN_INT", "(", "frame_off", ")", ")", ")", ";", "else", "return", "emit_move_insn", "(", "updt_reg_rtx", ",", "frame_reg_rtx", ")", ";", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Emit", "a", "sequence", "of", "insns", ",", "including", "a", "stack", "tie", "if", "needed", ",", "for", "resetting", "the", "stack", "pointer", ".", "If", "UPDT_REGNO", "is", "not", "1", ",", "then", "do", "n't", "reset", "the", "stack", "pointer", ",", "but", "move", "the", "base", "of", "the", "frame", "into", "reg", "UPDT_REGNO", "for", "use", "by", "out-of-line", "register", "restore", "routines", "."], "TS_V_token": ["powerpcspe", "0", "0", "32", "0"], "File": "powerpcspe", "Func": "rs6000_emit_stack_reset", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14555, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "crx_print_operand_address", "(", "FILE", "*", "file", ",", "rtx", "addr", ")", "{", "enum", "crx_addrtype", "addrtype", ";", "struct", "crx_address", "address", ";", "int", "offset", ";", "addrtype", "=", "crx_decompose_address", "(", "addr", ",", "&", "address", ")", ";", "if", "(", "address", ".", "disp", ")", "offset", "=", "INTVAL", "(", "address", ".", "disp", ")", ";", "else", "offset", "=", "0", ";", "switch", "(", "addrtype", ")", "{", "case", "CRX_REG_REL", ":", "fprintf", "(", "file", ",", "\"%d(%s)\"", ",", "offset", ",", "reg_names", "[", "REGNO", "(", "address", ".", "base", ")", "]", ")", ";", "return", ";", "case", "CRX_POST_INC", ":", "switch", "(", "GET_CODE", "(", "address", ".", "side_effect", ")", ")", "{", "case", "PLUS", ":", "break", ";", "case", "MINUS", ":", "offset", "=", "-", "offset", ";", "break", ";", "case", "POST_INC", ":", "offset", "=", "GET_MODE_SIZE", "(", "output_memory_reference_mode", ")", ";", "break", ";", "case", "POST_DEC", ":", "offset", "=", "-", "GET_MODE_SIZE", "(", "output_memory_reference_mode", ")", ";", "break", ";", "default", ":", "abort", "(", ")", ";", "}", "fprintf", "(", "file", ",", "\"%d(%s)+\"", ",", "offset", ",", "reg_names", "[", "REGNO", "(", "address", ".", "base", ")", "]", ")", ";", "return", ";", "case", "CRX_SCALED_INDX", ":", "fprintf", "(", "file", ",", "\"%d(%s, %s, %d)\"", ",", "offset", ",", "reg_names", "[", "REGNO", "(", "address", ".", "base", ")", "]", ",", "reg_names", "[", "REGNO", "(", "address", ".", "index", ")", "]", ",", "address", ".", "scale", ")", ";", "return", ";", "case", "CRX_ABSOLUTE", ":", "output_addr_const", "(", "file", ",", "address", ".", "disp", ")", ";", "return", ";", "default", ":", "abort", "(", ")", ";", "}", "}", ""], "natrual_language": ["Implements", "the", "macro", "PRINT_OPERAND_ADDRESS", "defined", "in", "crx.h", "."], "TS_V_token": ["crx", "0", "\"%d(%s)\"", "\"%d(%s)+\"", "\"%d(%s, %s, %d)\""], "File": "crx", "Func": "crx_print_operand_address", "Target": "crx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14556, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCFrameLowering", "::", "determineFrameLayout", "(", "const", "MachineFunction", "&", "MF", ",", "bool", "UseEstimate", ",", "unsigned", "*", "NewMaxCallFrameSize", ")", "const", "{", "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", ")", "{", "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", "1", "PPC", "0"], "File": "PPCFrameLowering60", "Func": "determineFrameLayout", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14557, "Length": 246, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcFrameLowering18", "Func": "emitPrologue", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14558, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86TTIImpl", "::", "getGatherScatterOpCost", "(", "unsigned", "Opcode", ",", "Type", "*", "SrcVTy", ",", "Value", "*", "Ptr", ",", "bool", "VariableMask", ",", "unsigned", "Alignment", ")", "{", "assert", "(", "SrcVTy", "->", "isVectorTy", "(", ")", "&&", "\"Unexpected data type for Gather/Scatter\"", ")", ";", "unsigned", "VF", "=", "SrcVTy", "->", "getVectorNumElements", "(", ")", ";", "PointerType", "*", "PtrTy", "=", "dyn_cast", "<", "PointerType", ">", "(", "Ptr", "->", "getType", "(", ")", ")", ";", "if", "(", "!", "PtrTy", "&&", "Ptr", "->", "getType", "(", ")", "->", "isVectorTy", "(", ")", ")", "PtrTy", "=", "dyn_cast", "<", "PointerType", ">", "(", "Ptr", "->", "getType", "(", ")", "->", "getVectorElementType", "(", ")", ")", ";", "assert", "(", "PtrTy", "&&", "\"Unexpected type for Ptr argument\"", ")", ";", "unsigned", "AddressSpace", "=", "PtrTy", "->", "getAddressSpace", "(", ")", ";", "bool", "Scalarize", "=", "false", ";", "if", "(", "(", "Opcode", "==", "Instruction", "::", "Load", "&&", "!", "isLegalMaskedGather", "(", "SrcVTy", ",", "MaybeAlign", "(", "Alignment", ")", ")", ")", "||", "(", "Opcode", "==", "Instruction", "::", "Store", "&&", "!", "isLegalMaskedScatter", "(", "SrcVTy", ",", "MaybeAlign", "(", "Alignment", ")", ")", ")", ")", "Scalarize", "=", "true", ";", "if", "(", "ST", "->", "hasAVX512", "(", ")", "&&", "(", "VF", "==", "2", "||", "(", "VF", "==", "4", "&&", "!", "ST", "->", "hasVLX", "(", ")", ")", ")", ")", "Scalarize", "=", "true", ";", "if", "(", "Scalarize", ")", "return", "getGSScalarCost", "(", "Opcode", ",", "SrcVTy", ",", "VariableMask", ",", "Alignment", ",", "AddressSpace", ")", ";", "return", "getGSVectorCost", "(", "Opcode", ",", "SrcVTy", ",", "Ptr", ",", "Alignment", ",", "AddressSpace", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "Gather", "/", "Scatter", "operation", "."], "TS_V_token": ["X86", "X86", "\"Unexpected data type for Gather/Scatter\"", "\"Unexpected type for Ptr argument\"", "2", "4"], "File": "X86TargetTransformInfo119", "Func": "getGatherScatterOpCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14559, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "getStackAddress", "(", "uint64_t", "Size", ",", "int64_t", "Offset", ",", "MachinePointerInfo", "&", "MPO", ")", "override", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "LLT", "p0", "=", "LLT", "::", "pointer", "(", "0", ",", "64", ")", ";", "LLT", "s64", "=", "LLT", "::", "scalar", "(", "64", ")", ";", "if", "(", "IsTailCall", ")", "{", "Offset", "+=", "FPDiff", ";", "int", "FI", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "CreateFixedObject", "(", "Size", ",", "Offset", ",", "true", ")", ";", "Register", "FIReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "p0", ")", ";", "MIRBuilder", ".", "buildFrameIndex", "(", "FIReg", ",", "FI", ")", ";", "MPO", "=", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ";", "return", "FIReg", ";", "}", "if", "(", "!", "SPReg", ")", "SPReg", "=", "MIRBuilder", ".", "buildCopy", "(", "p0", ",", "Register", "(", "AArch64", "::", "SP", ")", ")", ".", "getReg", "(", "0", ")", ";", "Register", "OffsetReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "s64", ")", ";", "MIRBuilder", ".", "buildConstant", "(", "OffsetReg", ",", "Offset", ")", ";", "Register", "AddrReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "p0", ")", ";", "MIRBuilder", ".", "buildPtrAdd", "(", "AddrReg", ",", "SPReg", ",", "OffsetReg", ")", ";", "MPO", "=", "MachinePointerInfo", "::", "getStack", "(", "MF", ",", "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", "0"], "File": "AArch64CallLowering56", "Func": "getStackAddress", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14560, "Length": 189, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LC3InstPrinter", "::", "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": ["LC3", "LC3"], "File": "LC3InstPrinter", "Func": "printInst", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14561, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMem", "(", ")", "const", "override", "{", "return", "Kind", "==", "k_Memory", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["Cpu0"], "File": "Cpu0AsmParser", "Func": "isMem", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14562, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LC3MCInstLower", "::", "Initialize", "(", "Mangler", "*", "M", ",", "MCContext", "*", "C", ")", "{", "Mang", "=", "M", ";", "Ctx", "=", "C", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["LC3", "LC3"], "File": "LC3MCInstLower", "Func": "Initialize", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14563, "Length": 23, "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": 14564, "Length": 287, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", ",", "llvm", "::", "MCInst", "&", ")", "const", "override", "{", "llvm_unreachable", "(", "\"Cannot relax instructions\"", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["AArch64", "\"Cannot relax instructions\""], "File": "AArch64AsmBackend37", "Func": "relaxInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14565, "Length": 21, "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", ")", "||", "!", "PBInst", "->", "hasOneMemOperand", "(", ")", ")", "continue", ";", "int64_t", "PBstDispImm", "=", "getDispOperand", "(", "PBInst", ")", ".", "getImm", "(", ")", ";", "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", "\"Blocked load and store instructions: \\n\"", "\"Replaced with:\\n\"", "\"End X86AvoidStoreForwardBlocks\\n\""], "File": "X86AvoidStoreForwardingBlocks10", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14566, "Length": 404, "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", "AArch64InstrInfo", "*", "TII", "=", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "AArch64FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "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", ",", "false", ")", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "getImm", "(", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "FrameReg", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "return", ";", "}", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "LOCAL_ESCAPE", ")", "{", "MachineOperand", "&", "FI", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ";", "Offset", "=", "TFI", "->", "getNonLocalFrameIndexReference", "(", "MF", ",", "FrameIndex", ")", ";", "FI", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "return", ";", "}", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "TAGPstack", ")", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "AArch64FunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "FrameReg", "=", "MI", ".", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", ";", "Offset", "=", "MFI", ".", "getObjectOffset", "(", "FrameIndex", ")", "+", "AFI", "->", "getTaggedBasePointerOffset", "(", ")", ";", "}", "else", "{", "Offset", "=", "TFI", "->", "resolveFrameIndexReference", "(", "MF", ",", "FrameIndex", ",", "FrameReg", ",", "false", ",", "true", ")", ";", "}", "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", "AArch64", "1", "1", "AArch64::TAGPstack", "AArch64", "AArch64", "3", "AArch64", "\"Emergency spill slot is out of reach\"", "AArch64::GPR64RegClass"], "File": "AArch64RegisterInfo58", "Func": "eliminateFrameIndex", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14567, "Length": 424, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMem", "(", ")", "const", "override", "{", "return", "isMemImm", "(", ")", "||", "isMemRegImm", "(", ")", "||", "isMemRegReg", "(", ")", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["Lanai"], "File": "LanaiAsmParser (2)", "Func": "isMem", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14568, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "rx_maybe_pidify_operand", "(", "rtx", "op", ",", "int", "copy_to_reg", ")", "{", "if", "(", "rx_pid_data_operand", "(", "op", ")", "==", "PID_UNENCODED", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "==", "MEM", ")", "{", "rtx", "a", "=", "gen_pid_addr", "(", "gen_rtx_REG", "(", "SImode", ",", "rx_pid_base_regnum", "(", ")", ")", ",", "XEXP", "(", "op", ",", "0", ")", ")", ";", "op", "=", "replace_equiv_address", "(", "op", ",", "a", ")", ";", "}", "else", "{", "op", "=", "gen_pid_addr", "(", "gen_rtx_REG", "(", "SImode", ",", "rx_pid_base_regnum", "(", ")", ")", ",", "op", ")", ";", "}", "if", "(", "copy_to_reg", ")", "op", "=", "copy_to_mode_reg", "(", "GET_MODE", "(", "op", ")", ",", "op", ")", ";", "}", "return", "op", ";", "}", ""], "natrual_language": ["Maybe", "convert", "an", "operand", "into", "its", "PID", "format", "."], "TS_V_token": ["rx", "0"], "File": "rx", "Func": "rx_maybe_pidify_operand", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14569, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "AArch64_MachoTargetObjectFile", "::", "getTTypeGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "unsigned", "Encoding", ",", "const", "TargetMachine", "&", "TM", ",", "MachineModuleInfo", "*", "MMI", ",", "MCStreamer", "&", "Streamer", ")", "const", "{", "if", "(", "Encoding", "&", "(", "DW_EH_PE_indirect", "|", "DW_EH_PE_pcrel", ")", ")", "{", "const", "MCSymbol", "*", "Sym", "=", "TM", ".", "getSymbol", "(", "GV", ")", ";", "const", "MCExpr", "*", "Res", "=", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "MCSymbolRefExpr", "::", "VK_GOT", ",", "getContext", "(", ")", ")", ";", "MCSymbol", "*", "PCSym", "=", "getContext", "(", ")", ".", "createTempSymbol", "(", ")", ";", "Streamer", ".", "EmitLabel", "(", "PCSym", ")", ";", "const", "MCExpr", "*", "PC", "=", "MCSymbolRefExpr", "::", "create", "(", "PCSym", ",", "getContext", "(", ")", ")", ";", "return", "MCBinaryExpr", "::", "createSub", "(", "Res", ",", "PC", ",", "getContext", "(", ")", ")", ";", "}", "return", "TargetLoweringObjectFileMachO", "::", "getTTypeGlobalReference", "(", "GV", ",", "Encoding", ",", "TM", ",", "MMI", ",", "Streamer", ")", ";", "}", ""], "natrual_language": ["The", "mach-o", "version", "of", "this", "method", "defaults", "to", "returning", "a", "stub", "reference", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64TargetObjectFile (2)", "Func": "getTTypeGlobalReference", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14570, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "ARMBaseRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "ARM", "::", "SP", ")", ";", "Reserved", ".", "set", "(", "ARM", "::", "PC", ")", ";", "Reserved", ".", "set", "(", "ARM", "::", "FPSCR", ")", ";", "if", "(", "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": "ARMBaseRegisterInfo29", "Func": "getReservedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14571, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "return", "true", ";", "O", "<<", "'['", ";", "printMemOperand", "(", "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": ["Sparc", "Sparc", "0"], "File": "SparcAsmPrinter15", "Func": "PrintAsmMemoryOperand", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14572, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", ">=", "CodeGenOpt", "::", "Aggressive", "&&", "EnableLoadStoreOpt", ")", "addPass", "(", "createAArch64LoadStoreOptimizationPass", "(", ")", ")", ";", "if", "(", "EnableA53Fix835769", ")", "addPass", "(", "createAArch64A53Fix835769", "(", ")", ")", ";", "if", "(", "EnableBranchTargets", ")", "addPass", "(", "createAArch64BranchTargetsPass", "(", ")", ")", ";", "if", "(", "BranchRelaxation", ")", "addPass", "(", "&", "BranchRelaxationPassID", ")", ";", "if", "(", "TM", "->", "getTargetTriple", "(", ")", ".", "isOSWindows", "(", ")", ")", "{", "addPass", "(", "createCFGuardLongjmpPass", "(", ")", ")", ";", "addPass", "(", "createEHContGuardCatchretPass", "(", ")", ")", ";", "}", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableCompressJumpTables", ")", "addPass", "(", "createAArch64CompressJumpTablesPass", "(", ")", ")", ";", "addPass", "(", "createAArch64ExpandHardenedPseudosPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableCollectLOH", "&&", "TM", "->", "getTargetTriple", "(", ")", ".", "isOSBinFormatMachO", "(", ")", ")", "addPass", "(", "createAArch64CollectLOHPass", "(", ")", ")", ";", "}", ""], "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", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine47", "Func": "addPreEmitPass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14573, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "X86InstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["X86", "X86"], "File": "X86Subtarget1", "Func": "getInstrInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14574, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "recombine_lvx_pattern", "(", "rtx_insn", "*", "insn", ",", "del_info", "*", "to_delete", ")", "{", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "body", ")", "==", "SET", "&&", "GET_CODE", "(", "SET_SRC", "(", "body", ")", ")", "==", "VEC_SELECT", "&&", "GET_CODE", "(", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ")", "==", "MEM", ")", ";", "rtx", "mem", "=", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ";", "rtx", "base_reg", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "rtx", "and_operation", "=", "find_alignment_op", "(", "insn", ",", "base_reg", ")", ";", "if", "(", "and_operation", "!=", "0", ")", "{", "df_ref", "def", ";", "struct", "df_insn_info", "*", "insn_info", "=", "DF_INSN_INFO_GET", "(", "insn", ")", ";", "FOR_EACH_INSN_INFO_DEF", "(", "def", ",", "insn_info", ")", "{", "struct", "df_link", "*", "link", "=", "DF_REF_CHAIN", "(", "def", ")", ";", "if", "(", "!", "link", "||", "link", "->", "next", ")", "break", ";", "rtx_insn", "*", "swap_insn", "=", "DF_REF_INSN", "(", "link", "->", "ref", ")", ";", "if", "(", "!", "insn_is_swap_p", "(", "swap_insn", ")", "||", "insn_is_load_p", "(", "swap_insn", ")", "||", "insn_is_store_p", "(", "swap_insn", ")", ")", "break", ";", "to_delete", "[", "INSN_UID", "(", "swap_insn", ")", "]", ".", "replace", "=", "true", ";", "to_delete", "[", "INSN_UID", "(", "swap_insn", ")", "]", ".", "replace_insn", "=", "swap_insn", ";", "XEXP", "(", "mem", ",", "0", ")", "=", "and_operation", ";", "SET_SRC", "(", "body", ")", "=", "mem", ";", "INSN_CODE", "(", "insn", ")", "=", "-", "1", ";", "df_insn_rescan", "(", "insn", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"lvx opportunity found at %d\\n\"", ",", "INSN_UID", "(", "insn", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["If", "INSN", "is", "the", "load", "for", "an", "lvx", "pattern", ",", "put", "it", "in", "canonical", "form", "."], "TS_V_token": ["powerpcspe", "0", "0", "0", "0", "0", "1", "\"lvx opportunity found at %d\\n\""], "File": "powerpcspe", "Func": "recombine_lvx_pattern", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14575, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "aarch64_simd_container_mode", "(", "scalar_mode", "mode", ",", "poly_int64", "width", ")", "{", "if", "(", "TARGET_SVE", "&&", "maybe_ne", "(", "width", ",", "128", ")", "&&", "known_eq", "(", "width", ",", "BITS_PER_SVE_VECTOR", ")", ")", "return", "aarch64_full_sve_mode", "(", "mode", ")", ".", "else_mode", "(", "word_mode", ")", ";", "gcc_assert", "(", "known_eq", "(", "width", ",", "64", ")", "||", "known_eq", "(", "width", ",", "128", ")", ")", ";", "if", "(", "TARGET_SIMD", ")", "{", "if", "(", "known_eq", "(", "width", ",", "128", ")", ")", "return", "aarch64_vq_mode", "(", "mode", ")", ".", "else_mode", "(", "word_mode", ")", ";", "else", "switch", "(", "mode", ")", "{", "case", "E_SFmode", ":", "return", "V2SFmode", ";", "case", "E_HFmode", ":", "return", "V4HFmode", ";", "case", "E_BFmode", ":", "return", "V4BFmode", ";", "case", "E_SImode", ":", "return", "V2SImode", ";", "case", "E_HImode", ":", "return", "V4HImode", ";", "case", "E_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", "128", "64", "128", "128"], "File": "aarch64", "Func": "aarch64_simd_container_mode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14576, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips16_load_branch_target", "(", "rtx", "dest", ",", "rtx", "src", ")", "{", "if", "(", "TARGET_ABICALLS", "&&", "!", "TARGET_ABSOLUTE_ABICALLS", ")", "{", "rtx", "page", ",", "low", ";", "if", "(", "mips_cfun_has_cprestore_slot_p", "(", ")", ")", "mips_emit_move", "(", "dest", ",", "mips_cprestore_slot", "(", "dest", ",", "true", ")", ")", ";", "else", "mips_emit_move", "(", "dest", ",", "pic_offset_table_rtx", ")", ";", "page", "=", "mips_unspec_address", "(", "src", ",", "SYMBOL_GOTOFF_PAGE", ")", ";", "low", "=", "mips_unspec_address", "(", "src", ",", "SYMBOL_GOT_PAGE_OFST", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "PMODE_INSN", "(", "gen_unspec_got", ",", "(", "dest", ",", "page", ")", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "gen_rtx_LO_SUM", "(", "Pmode", ",", "dest", ",", "low", ")", ")", ")", ";", "}", "else", "{", "src", "=", "mips_unspec_address", "(", "src", ",", "SYMBOL_ABSOLUTE", ")", ";", "mips_emit_move", "(", "dest", ",", "src", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "code", "to", "load", "LABEL_REF", "SRC", "into", "MIPS16", "register", "DEST", ".", "This", "is", "called", "very", "late", "in", "mips_reorg", ",", "but", "the", "caller", "is", "required", "to", "run", "mips16_lay_out_constants", "on", "the", "result", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips16_load_branch_target", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14577, "Length": 125, "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", ")", ";", "case", "ISD", "::", "ADD", ":", "return", "performADDCombine", "(", "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", "ISD::ADD"], "File": "MipsISelLowering (2)", "Func": "PerformDAGCombine", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14578, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isUnconditionalBranch", "(", "unsigned", "int", "Opcode", ")", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "false", ";", "case", "Mips", "::", "Bimm16", ":", "case", "Mips", "::", "BimmX16", ":", "case", "Mips", "::", "JalB16", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "this", "is", "a", "branch", "which", "always", "transfers", "control", "flow", "to", "some", "other", "block", "."], "TS_V_token": ["Mips", "Mips::Bimm16", "Mips::BimmX16", "Mips::JalB16"], "File": "MipsConstantIslandPass", "Func": "isUnconditionalBranch", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14579, "Length": 39, "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": 14580, "Length": 238, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_can_follow_jump", "(", "const", "rtx_insn", "*", "branch1", ",", "const", "rtx_insn", "*", "branch2", ")", "{", "if", "(", "flag_reorder_blocks_and_partition", "&&", "simplejump_p", "(", "branch2", ")", "&&", "CROSSING_JUMP_P", "(", "branch2", ")", ")", "return", "false", ";", "if", "(", "flag_expensive_optimizations", "&&", "simplejump_p", "(", "branch2", ")", ")", "{", "rtx", "dest", "=", "XEXP", "(", "SET_SRC", "(", "single_set", "(", "branch2", ")", ")", ",", "0", ")", ";", "rtx_insn", "*", "insn", ";", "int", "distance", ";", "for", "(", "distance", "=", "0", ",", "insn", "=", "NEXT_INSN", "(", "branch1", ")", ";", "insn", "&&", "distance", "<", "256", ";", "insn", "=", "PREV_INSN", "(", "insn", ")", ")", "{", "if", "(", "insn", "==", "dest", ")", "return", "true", ";", "else", "distance", "+=", "get_attr_length", "(", "insn", ")", ";", "}", "for", "(", "distance", "=", "0", ",", "insn", "=", "NEXT_INSN", "(", "branch1", ")", ";", "insn", "&&", "distance", "<", "256", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "if", "(", "insn", "==", "dest", ")", "return", "true", ";", "else", "distance", "+=", "get_attr_length", "(", "insn", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "'s", "possible", "to", "redirect", "BRANCH1", "to", "the", "destination", "of", "an", "unconditional", "jump", "BRANCH2", ".", "We", "only", "want", "to", "do", "this", "if", "the", "resulting", "branch", "will", "have", "a", "short", "displacement", "."], "TS_V_token": ["sh", "0", "0", "256", "0", "256"], "File": "sh", "Func": "sh_can_follow_jump", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14581, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isMaskAndCmp0FoldingBeneficial", "(", "const", "Instruction", "&", "AndI", ")", "const", "{", "ConstantInt", "*", "Mask", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "AndI", ".", "getOperand", "(", "1", ")", ")", ";", "if", "(", "!", "Mask", ")", "return", "false", ";", "return", "Mask", "->", "getUniqueInteger", "(", ")", ".", "isPowerOf2", "(", ")", ";", "}", ""], "natrual_language": ["Return", "if", "the", "target", "supports", "combining", "a", "chain", "like", ":"], "TS_V_token": ["AArch64", "AArch64", "1"], "File": "AArch64ISelLowering105", "Func": "isMaskAndCmp0FoldingBeneficial", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14582, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sh_legitimize_address", "(", "rtx", "x", ",", "rtx", "oldx", ",", "machine_mode", "mode", ")", "{", "if", "(", "flag_pic", ")", "x", "=", "legitimize_pic_address", "(", "oldx", ",", "mode", ",", "NULL_RTX", ")", ";", "if", "(", "TARGET_SHMEDIA", ")", "return", "x", ";", "if", "(", "(", "(", "TARGET_SH4", "||", "TARGET_SH2A_DOUBLE", ")", "&&", "mode", "==", "DFmode", ")", "||", "(", "TARGET_SH2E", "&&", "mode", "==", "SFmode", ")", ")", "return", "x", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", "&&", "BASE_REGISTER_RTX_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", ")", "{", "struct", "disp_adjust", "adj", "=", "sh_find_mov_disp_adjust", "(", "mode", ",", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", ";", "if", "(", "adj", ".", "offset_adjust", "!=", "NULL_RTX", "&&", "adj", ".", "mov_disp", "!=", "NULL_RTX", ")", "{", "rtx", "sum", "=", "expand_binop", "(", "Pmode", ",", "add_optab", ",", "XEXP", "(", "x", ",", "0", ")", ",", "adj", ".", "offset_adjust", ",", "NULL_RTX", ",", "0", ",", "OPTAB_LIB_WIDEN", ")", ";", "return", "gen_rtx_PLUS", "(", "Pmode", ",", "sum", ",", "adj", ".", "mov_disp", ")", ";", "}", "}", "return", "x", ";", "}", ""], "natrual_language": ["Try", "to", "modify", "an", "illegitimate", "address", "and", "make", "it", "legitimate", ".", "If", "we", "find", "one", ",", "return", "the", "new", ",", "valid", "address", ".", "Otherwise", ",", "return", "the", "original", "address", "."], "TS_V_token": ["sh", "1", "0", "1", "0", "0"], "File": "sh4", "Func": "sh_legitimize_address", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14583, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "lowerOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCOperand", "&", "MCOp", ")", "const", "{", "return", "MCInstLowering", ".", "lowerOperand", "(", "MO", ",", "MCOp", ")", ";", "}", ""], "natrual_language": ["Wrapper", "for", "MCInstLowering.lowerOperand", "(", ")", "for", "the", "tblgen'erated", "pseudo", "lowering", "."], "TS_V_token": ["ARM64"], "File": "ARM64AsmPrinter", "Func": "lowerOperand", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14584, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", ",", "uint64_t", ",", "const", "MCRelaxableFragment", "*", ",", "const", "MCAsmLayout", "&", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["DLX"], "File": "DLXAsmBackend", "Func": "fixupNeedsRelaxation", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14585, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnFunction", "(", "Function", "&", "F", ")", "override", "{", "Casts", ".", "clear", "(", ")", ";", "ConstantCasts", ".", "clear", "(", ")", ";", "visit", "(", "F", ")", ";", "if", "(", "!", "(", "Casts", ".", "empty", "(", ")", "&&", "ConstantCasts", ".", "empty", "(", ")", ")", ")", "{", "Intrinsic", "::", "ID", "SetLength", "=", "Intrinsic", "::", "cheri_cap_bounds_set", ";", "SetLengthFn", "=", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "SetLength", ",", "SizeTy", ")", ";", "Value", "*", "BitCast", "=", "0", ";", "for", "(", "auto", "*", "i", "=", "Casts", ".", "begin", "(", ")", ",", "*", "e", "=", "Casts", ".", "end", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "Instruction", "*", "I2P", "=", "i", "->", "second", ";", "auto", "InsertPt", "=", "I2P", "->", "getParent", "(", ")", "->", "begin", "(", ")", ";", "while", "(", "&", "(", "*", "InsertPt", ")", "!=", "I2P", ")", "{", "++", "InsertPt", ";", "}", "++", "InsertPt", ";", "Value", "*", "New", "=", "RangeCheckedValue", "(", "&", "*", "InsertPt", ",", "i", "->", "first", ",", "I2P", ",", "BitCast", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Replacing \"", ";", "I2P", "->", "dump", "(", ")", ";", "dbgs", "(", ")", "<<", "\" with \"", ";", "New", "->", "dump", "(", ")", ")", ";", "I2P", "->", "replaceAllUsesWith", "(", "New", ")", ";", "RecursivelyDeleteTriviallyDeadInstructions", "(", "I2P", ")", ";", "}", "for", "(", "pair", "<", "AllocOperands", ",", "ConstantCast", ">", "*", "i", "=", "ConstantCasts", ".", "begin", "(", ")", ",", "*", "e", "=", "ConstantCasts", ".", "end", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "Value", "*", "I2P", "=", "i", "->", "second", ".", "Instr", "->", "getOperand", "(", "i", "->", "second", ".", "OpNo", ")", ";", "Value", "*", "New", "=", "RangeCheckedValue", "(", "i", "->", "second", ".", "Instr", ",", "i", "->", "first", ",", "I2P", ",", "BitCast", ")", ";", "i", "->", "second", ".", "Instr", "->", "setOperand", "(", "i", "->", "second", ".", "OpNo", ",", "New", ")", ";", "}", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["Mips", "Intrinsic::ID", "Intrinsic::cheri_cap_bounds_set", "Intrinsic::getDeclaration", "0", "\"Replacing \"", "\" with \""], "File": "CheriRangeChecker", "Func": "runOnFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14586, "Length": 299, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ArrayRef", "<", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">>", "AArch64InstrInfo", "::", "getSerializableBitmaskMachineOperandTargetFlags", "(", ")", "const", "{", "using", "namespace", "AArch64II", ";", "static", "const", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">", "TargetFlags", "[", "]", "=", "{", "{", "MO_GOT", ",", "\"aarch64-got\"", "}", ",", "{", "MO_NC", ",", "\"aarch64-nc\"", "}", ",", "{", "MO_TLS", ",", "\"aarch64-tls\"", "}", ",", "{", "MO_CONSTPOOL", ",", "\"aarch64-constant-pool\"", "}", "}", ";", "return", "makeArrayRef", "(", "TargetFlags", ")", ";", "}", ""], "natrual_language": ["Return", "an", "array", "that", "contains", "the", "bitmask", "target", "flag", "values", "and", "their", "names", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "\"aarch64-got\"", "\"aarch64-nc\"", "\"aarch64-tls\"", "\"aarch64-constant-pool\""], "File": "AArch64InstrInfo1", "Func": "getSerializableBitmaskMachineOperandTargetFlags", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14587, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mep_insn_dependent_p", "(", "rtx", "x", ",", "rtx", "y", ")", "{", "rtx", "tmp", ";", "gcc_assert", "(", "INSN_P", "(", "x", ")", ")", ";", "gcc_assert", "(", "INSN_P", "(", "y", ")", ")", ";", "tmp", "=", "PATTERN", "(", "y", ")", ";", "note_stores", "(", "PATTERN", "(", "x", ")", ",", "mep_insn_dependent_p_1", ",", "&", "tmp", ")", ";", "if", "(", "tmp", "==", "NULL_RTX", ")", "return", "1", ";", "tmp", "=", "PATTERN", "(", "x", ")", ";", "note_stores", "(", "PATTERN", "(", "y", ")", ",", "mep_insn_dependent_p_1", ",", "&", "tmp", ")", ";", "if", "(", "tmp", "==", "NULL_RTX", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "anything", "in", "insn", "X", "is", "(", "anti", ",", "output", ",", "true", ")", "dependent", "on", "anything", "in", "insn", "Y", "."], "TS_V_token": ["mep", "1", "1", "0"], "File": "mep", "Func": "mep_insn_dependent_p", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14588, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "PPCTargetLowering", "::", "shouldExpandAtomicCmpXchgInIR", "(", "AtomicCmpXchgInst", "*", "AI", ")", "const", "{", "unsigned", "Size", "=", "AI", "->", "getPointerOperand", "(", ")", "->", "getType", "(", ")", "->", "getPointerElementType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "EnableQuadwordAtomics", "&&", "Subtarget", ".", "hasQuadwordAtomics", "(", ")", "&&", "Size", "==", "128", ")", "return", "AtomicExpansionKind", "::", "MaskedIntrinsic", ";", "return", "TargetLowering", "::", "shouldExpandAtomicCmpXchgInIR", "(", "AI", ")", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "atomic", "cmpxchg", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "."], "TS_V_token": ["PowerPC", "PPC", "128"], "File": "PPCISelLowering109", "Func": "shouldExpandAtomicCmpXchgInIR", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14589, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "ArrayRef", "<", "Register", ">>", "VRegs", ",", "FunctionLoweringInfo", "&", "FLI", ")", "const", "{", "auto", "&", "TLI", "=", "*", "getTLI", "<", "ARMTargetLowering", ">", "(", ")", ";", "auto", "Subtarget", "=", "TLI", ".", "getSubtarget", "(", ")", ";", "if", "(", "Subtarget", "->", "isThumb1Only", "(", ")", ")", "return", "false", ";", "if", "(", "F", ".", "arg_empty", "(", ")", ")", "return", "true", ";", "if", "(", "F", ".", "isVarArg", "(", ")", ")", "return", "false", ";", "auto", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "auto", "&", "MBB", "=", "MIRBuilder", ".", "getMBB", "(", ")", ";", "const", "auto", "&", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "for", "(", "auto", "&", "Arg", ":", "F", ".", "args", "(", ")", ")", "{", "if", "(", "!", "isSupportedType", "(", "DL", ",", "TLI", ",", "Arg", ".", "getType", "(", ")", ")", ")", "return", "false", ";", "if", "(", "Arg", ".", "hasPassPointeeByValueCopyAttr", "(", ")", ")", "return", "false", ";", "}", "CCAssignFn", "*", "AssignFn", "=", "TLI", ".", "CCAssignFnForCall", "(", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ")", ";", "OutgoingValueAssigner", "ArgAssigner", "(", "AssignFn", ")", ";", "FormalArgHandler", "ArgHandler", "(", "MIRBuilder", ",", "MIRBuilder", ".", "getMF", "(", ")", ".", "getRegInfo", "(", ")", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "SplitArgInfos", ";", "unsigned", "Idx", "=", "0", ";", "for", "(", "auto", "&", "Arg", ":", "F", ".", "args", "(", ")", ")", "{", "ArgInfo", "OrigArgInfo", "(", "VRegs", "[", "Idx", "]", ",", "Arg", ".", "getType", "(", ")", ",", "Idx", ")", ";", "setArgFlags", "(", "OrigArgInfo", ",", "Idx", "+", "AttributeList", "::", "FirstArgIndex", ",", "DL", ",", "F", ")", ";", "splitToValueTypes", "(", "OrigArgInfo", ",", "SplitArgInfos", ",", "DL", ",", "F", ".", "getCallingConv", "(", ")", ")", ";", "Idx", "++", ";", "}", "if", "(", "!", "MBB", ".", "empty", "(", ")", ")", "MIRBuilder", ".", "setInstr", "(", "*", "MBB", ".", "begin", "(", ")", ")", ";", "if", "(", "!", "determineAndHandleAssignments", "(", "ArgHandler", ",", "ArgAssigner", ",", "SplitArgInfos", ",", "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": ["ARM", "ARM", "ARM", "8", "0"], "File": "ARMCallLowering14", "Func": "lowerFormalArguments", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14590, "Length": 338, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ")", "const", "LLVM_OVERRIDE", "{", "return", "false", ";", "}", ""], "natrual_language": ["Check", "whether", "the", "given", "instruction", "may", "need", "relaxation", "."], "TS_V_token": ["SystemZ"], "File": "SystemZMCAsmBackend29", "Func": "mayNeedRelaxation", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14591, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_function_value_regno_p", "(", "const", "unsigned", "int", "regno", ")", "{", "return", "(", "regno", "==", "8", "||", "(", "TARGET_FPU", "&&", "regno", "==", "32", ")", ")", ";", "}", ""], "natrual_language": ["Handle", "FUNCTION_VALUE_REGNO_P", ".", "On", "the", "SPARC", ",", "the", "first", "``", "output", "''", "reg", "is", "used", "for", "integer", "values", ",", "and", "the", "first", "floating", "point", "register", "is", "used", "for", "floating", "point", "values", "."], "TS_V_token": ["sparc", "8", "32"], "File": "sparc", "Func": "sparc_function_value_regno_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14592, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitFill", "(", "const", "MCExpr", "&", "NumBytes", ",", "uint64_t", "FillValue", ",", "SMLoc", "Loc", ")", "override", "{", "emitDataMappingSymbol", "(", ")", ";", "MCObjectStreamer", "::", "emitFill", "(", "NumBytes", ",", "FillValue", ",", "Loc", ")", ";", "}", ""], "natrual_language": ["Emit", "Size", "bytes", "worth", "of", "the", "value", "specified", "by", "FillValue", "."], "TS_V_token": ["ARM"], "File": "ARMELFStreamer22", "Func": "emitFill", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14593, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_support_tinfos", "(", "emit_support_tinfos_callback", "callback", ")", "{", "extern", "tree", "ix86_float16_type_node", ";", "extern", "tree", "ix86_bf16_type_node", ";", "if", "(", "!", "TARGET_SSE2", ")", "{", "gcc_checking_assert", "(", "!", "float16_type_node", "&&", "!", "bfloat16_type_node", ")", ";", "float16_type_node", "=", "ix86_float16_type_node", ";", "bfloat16_type_node", "=", "ix86_bf16_type_node", ";", "callback", "(", "float16_type_node", ")", ";", "callback", "(", "bfloat16_type_node", ")", ";", "float16_type_node", "=", "NULL_TREE", ";", "bfloat16_type_node", "=", "NULL_TREE", ";", "}", "}", ""], "natrual_language": ["Create", "C++", "tinfo", "symbols", "for", "only", "conditionally", "available", "fundamental", "types", "."], "TS_V_token": ["i386"], "File": "i3861", "Func": "ix86_emit_support_tinfos", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14594, "Length": 59, "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_NLP_FLAG", ",", "\"ppc-nlp\"", "}", ",", "{", "MO_NLP_HIDDEN_FLAG", ",", "\"ppc-nlp-hidden\"", "}", "}", ";", "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-nlp\"", "\"ppc-nlp-hidden\""], "File": "PPCInstrInfo (2)2", "Func": "getSerializableBitmaskMachineOperandTargetFlags", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14595, "Length": 72, "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", ")", ";", "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", ")", ";", "}", "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"], "File": "ARMISelLowering20", "Func": "ReplaceNodeResults", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14596, "Length": 261, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCDispatchGroupSBHazardRecognizer", "::", "PreEmitNoops", "(", "SUnit", "*", "SU", ")", "{", "if", "(", "isLoadAfterStore", "(", "SU", ")", "&&", "CurSlots", "<", "6", ")", "{", "unsigned", "Directive", "=", "DAG", "->", "TM", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "getDarwinDirective", "(", ")", ";", "if", "(", "Directive", "==", "PPC", "::", "DIR_PWR6", "||", "Directive", "==", "PPC", "::", "DIR_PWR7", "||", "Directive", "==", "PPC", "::", "DIR_PWR8", ")", "return", "1", ";", "return", "5", "-", "CurSlots", ";", "}", "return", "ScoreboardHazardRecognizer", "::", "PreEmitNoops", "(", "SU", ")", ";", "}", ""], "natrual_language": ["PreEmitNoops", "-", "This", "callback", "is", "invoked", "prior", "to", "emitting", "an", "instruction", "."], "TS_V_token": ["PowerPC", "PPC", "6", "PPC", "PPC::DIR_PWR6", "PPC::DIR_PWR7", "PPC::DIR_PWR8", "1", "5"], "File": "PPCHazardRecognizers29", "Func": "PreEmitNoops", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14597, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "d30v_expand_prologue", "(", ")", "{", "rtx", "sp", "=", "stack_pointer_rtx", ";", "d30v_stack_t", "*", "info", "=", "d30v_stack_info", "(", ")", ";", "int", "i", ";", "rtx", "mem_di", "=", "NULL_RTX", ";", "rtx", "mem_si", "=", "NULL_RTX", ";", "int", "num_memrefs", "=", "(", "info", "->", "memrefs_2words", "+", "info", "->", "memrefs_1word", "+", "info", "->", "memrefs_varargs", ")", ";", "if", "(", "TARGET_DEBUG_STACK", ")", "debug_stack_info", "(", "info", ")", ";", "if", "(", "info", "->", "total_size", ")", "emit_insn", "(", "gen_addsi3", "(", "sp", ",", "sp", ",", "GEN_INT", "(", "-", "info", "->", "total_size", ")", ")", ")", ";", "if", "(", "num_memrefs", ">", "1", ")", "{", "rtx", "save_tmp", "=", "gen_rtx", "(", "REG", ",", "Pmode", ",", "GPR_STACK_TMP", ")", ";", "rtx", "post_inc", "=", "gen_rtx", "(", "POST_INC", ",", "Pmode", ",", "save_tmp", ")", ";", "mem_di", "=", "gen_rtx", "(", "MEM", ",", "DImode", ",", "post_inc", ")", ";", "mem_si", "=", "gen_rtx", "(", "MEM", ",", "SImode", ",", "post_inc", ")", ";", "emit_insn", "(", "gen_addsi3", "(", "save_tmp", ",", "sp", ",", "GEN_INT", "(", "info", "->", "save_offset", ")", ")", ")", ";", "}", "else", "if", "(", "num_memrefs", "==", "1", ")", "{", "rtx", "addr", "=", "plus_constant", "(", "sp", ",", "info", "->", "save_offset", ")", ";", "mem_di", "=", "gen_rtx", "(", "MEM", ",", "DImode", ",", "addr", ")", ";", "mem_si", "=", "gen_rtx", "(", "MEM", ",", "SImode", ",", "addr", ")", ";", "}", "for", "(", "i", "=", "ACCUM_FIRST", ";", "i", "<=", "ACCUM_LAST", ";", "i", "++", ")", "if", "(", "info", "->", "save_p", "[", "i", "]", ")", "{", "rtx", "acc_tmp", "=", "gen_rtx", "(", "REG", ",", "DImode", ",", "GPR_ATMP_FIRST", ")", ";", "emit_insn", "(", "gen_movdi", "(", "acc_tmp", ",", "gen_rtx", "(", "REG", ",", "DImode", ",", "i", ")", ")", ")", ";", "emit_insn", "(", "gen_movdi", "(", "mem_di", ",", "acc_tmp", ")", ")", ";", "}", "for", "(", "i", "=", "GPR_FIRST", ";", "i", "<=", "GPR_LAST", ";", "i", "+=", "2", ")", "if", "(", "info", "->", "save_p", "[", "i", "]", "==", "2", ")", "emit_insn", "(", "gen_movdi", "(", "mem_di", ",", "gen_rtx", "(", "REG", ",", "DImode", ",", "i", ")", ")", ")", ";", "for", "(", "i", "=", "GPR_FIRST", ";", "i", "<=", "GPR_LAST", ";", "i", "++", ")", "if", "(", "info", "->", "save_p", "[", "i", "]", "==", "1", ")", "emit_insn", "(", "gen_movsi", "(", "mem_si", ",", "gen_rtx", "(", "REG", ",", "SImode", ",", "i", ")", ")", ")", ";", "if", "(", "info", "->", "varargs_p", ")", "{", "if", "(", "(", "info", "->", "memrefs_1word", "&", "1", ")", "!=", "0", ")", "{", "rtx", "save_tmp", "=", "XEXP", "(", "XEXP", "(", "mem_si", ",", "0", ")", ",", "0", ")", ";", "emit_insn", "(", "gen_addsi3", "(", "save_tmp", ",", "save_tmp", ",", "GEN_INT", "(", "UNITS_PER_WORD", ")", ")", ")", ";", "}", "for", "(", "i", "=", "GPR_ARG_FIRST", ";", "i", "<=", "GPR_ARG_LAST", ";", "i", "+=", "2", ")", "emit_insn", "(", "gen_movdi", "(", "mem_di", ",", "gen_rtx", "(", "REG", ",", "DImode", ",", "i", ")", ")", ")", ";", "}", "if", "(", "frame_pointer_needed", ")", "emit_move_insn", "(", "frame_pointer_rtx", ",", "sp", ")", ";", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", ""], "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", "output_function_prologue", "(", ")", ",", "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": ["d30v", "1", "1", "2", "2", "1", "1", "0", "0", "0", "2"], "File": "d30v", "Func": "d30v_expand_prologue", "Target": "d30v", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14598, "Length": 443, "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", "(", "Info", "->", "get", "(", "Inst", ".", "getOpcode", "(", ")", ")", ".", "OpInfo", "[", "0", "]", ".", "OperandType", "!=", "MCOI", "::", "OPERAND_PCREL", ")", "return", "false", ";", "int64_t", "Imm", "=", "Inst", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "Target", "=", "Addr", "+", "Imm", "+", "4", ";", "return", "true", ";", "}", ""], "natrual_language": ["Given", "a", "branch", "instruction", "try", "to", "get", "the", "address", "the", "branch", "targets", "."], "TS_V_token": ["ARM", "0", "0", "4"], "File": "ARMMCTargetDesc13", "Func": "evaluateBranch", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14599, "Length": 74, "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": 14600, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "machine_mode", "rs6000_promote_function_mode", "(", "const_tree", "type", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ",", "int", "*", "punsignedp", "ATTRIBUTE_UNUSED", ",", "const_tree", ",", "int", "for_return", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_INT", "&&", "GET_MODE_SIZE", "(", "mode", ")", "<", "(", "TARGET_32BIT", "?", "4", ":", "8", ")", ")", "mode", "=", "TARGET_32BIT", "?", "SImode", ":", "DImode", ";", "return", "mode", ";", "}", ""], "natrual_language": ["On", "rs6000", ",", "function", "arguments", "are", "promoted", ",", "as", "are", "function", "return", "values", "."], "TS_V_token": ["rs6000", "4", "8"], "File": "rs6000-call", "Func": "rs6000_promote_function_mode", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14601, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetMachine", "::", "addPreEmitPass", "(", "PassManagerBase", "&", "PM", ")", "{", "bool", "ShouldPrint", "=", "false", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "Subtarget", ".", "hasXMMInt", "(", ")", ")", "{", "PM", ".", "add", "(", "createExecutionDependencyFixPass", "(", "&", "X86", "::", "VR128RegClass", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "if", "(", "Subtarget", ".", "hasAVX", "(", ")", "&&", "UseVZeroUpper", ")", "{", "PM", ".", "add", "(", "createX86IssueVZeroUpperPass", "(", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "return", "ShouldPrint", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["X86", "X86", "X86::VR128RegClass", "X86"], "File": "X86TargetMachine116", "Func": "addPreEmitPass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14602, "Length": 79, "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": 14603, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "shouldReduceLoadWidth", "(", "SDNode", "*", "Load", ",", "ISD", "::", "LoadExtType", "ExtTy", ",", "EVT", "NewVT", ")", "const", "{", "if", "(", "!", "TargetLoweringBase", "::", "shouldReduceLoadWidth", "(", "Load", ",", "ExtTy", ",", "NewVT", ")", ")", "return", "false", ";", "if", "(", "ExtTy", "!=", "ISD", "::", "NON_EXTLOAD", ")", "return", "true", ";", "MemSDNode", "*", "Mem", "=", "dyn_cast", "<", "MemSDNode", ">", "(", "Load", ")", ";", "assert", "(", "Mem", ")", ";", "const", "SDValue", "&", "Base", "=", "Mem", "->", "getBasePtr", "(", ")", ";", "if", "(", "Base", ".", "getOpcode", "(", ")", "==", "ISD", "::", "ADD", "&&", "Base", ".", "getOperand", "(", "1", ")", ".", "getOpcode", "(", ")", "==", "ISD", "::", "SHL", "&&", "Base", ".", "getOperand", "(", "1", ")", ".", "hasOneUse", "(", ")", "&&", "Base", ".", "getOperand", "(", "1", ")", ".", "getOperand", "(", "1", ")", ".", "getOpcode", "(", ")", "==", "ISD", "::", "Constant", ")", "{", "if", "(", "Mem", "->", "getMemoryVT", "(", ")", ".", "isScalableVector", "(", ")", ")", "return", "false", ";", "uint64_t", "ShiftAmount", "=", "Base", ".", "getOperand", "(", "1", ")", ".", "getConstantOperandVal", "(", "1", ")", ";", "uint64_t", "LoadBytes", "=", "Mem", "->", "getMemoryVT", "(", ")", ".", "getSizeInBits", "(", ")", "/", "8", ";", "if", "(", "ShiftAmount", "==", "Log2_32", "(", "LoadBytes", ")", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "believe", "it", "is", "correct", "and", "profitable", "to", "reduce", "the", "load", "node", "to", "a", "smaller", "type", "."], "TS_V_token": ["AArch64", "AArch64", "ISD::LoadExtType", "ISD::NON_EXTLOAD", "ISD::ADD", "1", "ISD::SHL", "1", "1", "1", "ISD::Constant", "1", "1", "8"], "File": "AArch64ISelLowering168", "Func": "shouldReduceLoadWidth", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14604, "Length": 196, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createInterleavedAccessPass", "(", ")", ")", ";", "addPass", "(", "createIndirectBrExpandPass", "(", ")", ")", ";", "const", "Triple", "&", "TT", "=", "TM", "->", "getTargetTriple", "(", ")", ";", "if", "(", "TT", ".", "isOSWindows", "(", ")", ")", "{", "if", "(", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", "{", "addPass", "(", "createCFGuardDispatchPass", "(", ")", ")", ";", "}", "else", "{", "addPass", "(", "createCFGuardCheckPass", "(", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["X86", "X86"], "File": "X86TargetMachine130", "Func": "addIRPasses", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14605, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "ix86_mangle_fundamental_type", "(", "tree", "type", ")", "{", "switch", "(", "TYPE_MODE", "(", "type", ")", ")", "{", "case", "TFmode", ":", "return", "\"g\"", ";", "case", "XFmode", ":", "return", "\"e\"", ";", "default", ":", "return", "NULL", ";", "}", "}", ""], "natrual_language": ["Return", "the", "mangling", "of", "TYPE", "if", "it", "is", "an", "extended", "fundamental", "type", "."], "TS_V_token": ["i386", "\"g\"", "\"e\""], "File": "i3863", "Func": "ix86_mangle_fundamental_type", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14606, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "X86TTIImpl", "::", "getGatherScatterOpCost", "(", "unsigned", "Opcode", ",", "Type", "*", "SrcVTy", ",", "const", "Value", "*", "Ptr", ",", "bool", "VariableMask", ",", "Align", "Alignment", ",", "TTI", "::", "TargetCostKind", "CostKind", ",", "const", "Instruction", "*", "I", "=", "nullptr", ")", "{", "if", "(", "CostKind", "!=", "TTI", "::", "TCK_RecipThroughput", ")", "{", "if", "(", "(", "Opcode", "==", "Instruction", "::", "Load", "&&", "isLegalMaskedGather", "(", "SrcVTy", ",", "Align", "(", "Alignment", ")", ")", ")", "||", "(", "Opcode", "==", "Instruction", "::", "Store", "&&", "isLegalMaskedScatter", "(", "SrcVTy", ",", "Align", "(", "Alignment", ")", ")", ")", ")", "return", "1", ";", "return", "BaseT", "::", "getGatherScatterOpCost", "(", "Opcode", ",", "SrcVTy", ",", "Ptr", ",", "VariableMask", ",", "Alignment", ",", "CostKind", ",", "I", ")", ";", "}", "assert", "(", "SrcVTy", "->", "isVectorTy", "(", ")", "&&", "\"Unexpected data type for Gather/Scatter\"", ")", ";", "unsigned", "VF", "=", "cast", "<", "FixedVectorType", ">", "(", "SrcVTy", ")", "->", "getNumElements", "(", ")", ";", "PointerType", "*", "PtrTy", "=", "dyn_cast", "<", "PointerType", ">", "(", "Ptr", "->", "getType", "(", ")", ")", ";", "if", "(", "!", "PtrTy", "&&", "Ptr", "->", "getType", "(", ")", "->", "isVectorTy", "(", ")", ")", "PtrTy", "=", "dyn_cast", "<", "PointerType", ">", "(", "cast", "<", "VectorType", ">", "(", "Ptr", "->", "getType", "(", ")", ")", "->", "getElementType", "(", ")", ")", ";", "assert", "(", "PtrTy", "&&", "\"Unexpected type for Ptr argument\"", ")", ";", "unsigned", "AddressSpace", "=", "PtrTy", "->", "getAddressSpace", "(", ")", ";", "bool", "Scalarize", "=", "false", ";", "if", "(", "(", "Opcode", "==", "Instruction", "::", "Load", "&&", "!", "isLegalMaskedGather", "(", "SrcVTy", ",", "Align", "(", "Alignment", ")", ")", ")", "||", "(", "Opcode", "==", "Instruction", "::", "Store", "&&", "!", "isLegalMaskedScatter", "(", "SrcVTy", ",", "Align", "(", "Alignment", ")", ")", ")", ")", "Scalarize", "=", "true", ";", "if", "(", "ST", "->", "hasAVX512", "(", ")", "&&", "(", "VF", "==", "2", "||", "(", "VF", "==", "4", "&&", "!", "ST", "->", "hasVLX", "(", ")", ")", ")", ")", "Scalarize", "=", "true", ";", "if", "(", "Scalarize", ")", "return", "getGSScalarCost", "(", "Opcode", ",", "SrcVTy", ",", "VariableMask", ",", "Alignment", ",", "AddressSpace", ")", ";", "return", "getGSVectorCost", "(", "Opcode", ",", "SrcVTy", ",", "Ptr", ",", "Alignment", ",", "AddressSpace", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "Gather", "/", "Scatter", "operation", "."], "TS_V_token": ["X86", "X86", "1", "\"Unexpected data type for Gather/Scatter\"", "\"Unexpected type for Ptr argument\"", "2", "4"], "File": "X86TargetTransformInfo46", "Func": "getGatherScatterOpCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14607, "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": 14608, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isExtractSubvectorCheap", "(", "EVT", "ResVT", ",", "unsigned", "Index", ")", "const", "{", "if", "(", "!", "isOperationLegalOrCustom", "(", "ISD", "::", "EXTRACT_SUBVECTOR", ",", "ResVT", ")", ")", "return", "false", ";", "return", "(", "Index", "==", "0", "||", "Index", "==", "ResVT", ".", "getVectorNumElements", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "EXTRACT_SUBVECTOR", "is", "cheap", "for", "this", "result", "type", "with", "this", "index", "."], "TS_V_token": ["ARM", "ARM", "ISD::EXTRACT_SUBVECTOR", "0"], "File": "ARMISelLowering117", "Func": "isExtractSubvectorCheap", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14609, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "pa_attr_length_call", "(", "rtx_insn", "*", "insn", ",", "int", "sibcall", ")", "{", "int", "local_call", ";", "rtx", "call", ",", "call_dest", ";", "tree", "call_decl", ";", "int", "length", "=", "0", ";", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "unsigned", "long", "distance", "=", "-", "1", ";", "gcc_assert", "(", "CALL_P", "(", "insn", ")", ")", ";", "if", "(", "INSN_ADDRESSES_SET_P", "(", ")", ")", "{", "unsigned", "long", "total", ";", "total", "=", "IN_NAMED_SECTION_P", "(", "cfun", "->", "decl", ")", "?", "0", ":", "total_code_bytes", ";", "distance", "=", "(", "total", "+", "insn_current_reference_address", "(", "insn", ")", ")", ";", "if", "(", "distance", "<", "total", ")", "distance", "=", "-", "1", ";", "}", "gcc_assert", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", ")", ";", "call", "=", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "call", ")", "==", "SET", ")", "call", "=", "SET_SRC", "(", "call", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "call", ")", "==", "CALL", ")", ";", "call_dest", "=", "XEXP", "(", "XEXP", "(", "call", ",", "0", ")", ",", "0", ")", ";", "call_decl", "=", "SYMBOL_REF_DECL", "(", "call_dest", ")", ";", "local_call", "=", "call_decl", "&&", "targetm", ".", "binds_local_p", "(", "call_decl", ")", ";", "if", "(", "!", "TARGET_LONG_CALLS", "&&", "(", "(", "TARGET_PA_20", "&&", "!", "sibcall", "&&", "distance", "<", "7600000", ")", "||", "distance", "<", "MAX_PCREL17F_OFFSET", ")", ")", "length", "+=", "8", ";", "else", "if", "(", "TARGET_64BIT", "&&", "!", "local_call", ")", "length", "+=", "sibcall", "?", "28", ":", "24", ";", "else", "if", "(", "(", "TARGET_LONG_ABS_CALL", "||", "local_call", ")", "&&", "!", "flag_pic", ")", "length", "+=", "12", ";", "else", "if", "(", "TARGET_LONG_PIC_SDIFF_CALL", "||", "(", "TARGET_GAS", "&&", "!", "TARGET_SOM", "&&", "local_call", ")", ")", "{", "length", "+=", "20", ";", "if", "(", "!", "TARGET_PA_20", "&&", "!", "TARGET_NO_SPACE_REGS", "&&", "(", "!", "local_call", "||", "flag_pic", ")", ")", "length", "+=", "8", ";", "}", "else", "{", "length", "+=", "32", ";", "if", "(", "TARGET_SOM", ")", "length", "+=", "length_fp_args", "(", "insn", ")", ";", "if", "(", "flag_pic", ")", "length", "+=", "4", ";", "if", "(", "!", "TARGET_PA_20", ")", "{", "if", "(", "!", "sibcall", ")", "length", "+=", "8", ";", "if", "(", "!", "TARGET_NO_SPACE_REGS", "&&", "(", "!", "local_call", "||", "flag_pic", ")", ")", "length", "+=", "8", ";", "}", "}", "return", "length", ";", "}", ""], "natrual_language": ["Return", "the", "attribute", "length", "of", "the", "call", "instruction", "INSN", ".", "The", "SIBCALL", "flag", "indicates", "whether", "INSN", "is", "a", "regular", "call", "or", "a", "sibling", "call", ".", "The", "length", "returned", "must", "be", "longer", "than", "the", "code", "actually", "generated", "by", "pa_output_call", ".", "Since", "branch", "shortening", "is", "done", "before", "delay", "branch", "sequencing", ",", "there", "is", "no", "way", "to", "determine", "whether", "or", "not", "the", "delay", "slot", "will", "be", "filled", "during", "branch", "shortening", ".", "Even", "when", "the", "delay", "slot", "is", "filled", ",", "we", "may", "have", "to", "add", "a", "nop", "if", "the", "delay", "slot", "contains", "a", "branch", "that", "ca", "n't", "reach", "its", "target", ".", "Thus", ",", "we", "always", "have", "to", "include", "the", "delay", "slot", "in", "the", "length", "estimate", ".", "This", "used", "to", "be", "done", "in", "pa_adjust_insn_length", "but", "we", "do", "it", "here", "now", "as", "some", "sequences", "always", "fill", "the", "delay", "slot", "and", "we", "can", "save", "four", "bytes", "in", "the", "estimate", "for", "these", "sequences", "."], "TS_V_token": ["pa", "0", "1", "0", "1", "0", "0", "0", "0", "7600000", "8", "28", "24", "12", "20", "8", "32", "4", "8", "8"], "File": "pa6", "Func": "pa_attr_length_call", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14610, "Length": 335, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "i386_pe_determine_dllimport_p", "(", "tree", "decl", ")", "{", "tree", "assoc", ";", "if", "(", "TREE_CODE", "(", "decl", ")", "!=", "VAR_DECL", "&&", "TREE_CODE", "(", "decl", ")", "!=", "FUNCTION_DECL", ")", "return", "false", ";", "if", "(", "DECL_DLLIMPORT_P", "(", "decl", ")", ")", "return", "true", ";", "assoc", "=", "associated_type", "(", "decl", ")", ";", "if", "(", "assoc", "&&", "lookup_attribute", "(", "\"dllimport\"", ",", "TYPE_ATTRIBUTES", "(", "assoc", ")", ")", "&&", "TREE_CODE", "(", "decl", ")", "==", "VAR_DECL", "&&", "TREE_STATIC", "(", "decl", ")", "&&", "TREE_PUBLIC", "(", "decl", ")", "&&", "!", "DECL_EXTERNAL", "(", "decl", ")", "&&", "!", "DECL_VIRTUAL_P", "(", "decl", ")", ")", "error", "(", "\"definition of static data member %q+D of \"", "\"dllimport%'d class\"", ",", "decl", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "DECL", "should", "be", "a", "dllimport", "'d", "object", "."], "TS_V_token": ["i386", "\"dllimport\"", "\"definition of static data member %q+D of \"", "\"dllimport%'d class\""], "File": "winnt", "Func": "i386_pe_determine_dllimport_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14611, "Length": 102, "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", "(", "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", "0", "3", "1", "6", "3", "1", "6"], "File": "AArch64AsmBackend18", "Func": "applyFixup", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14612, "Length": 336, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZOperand", "::", "print", "(", "raw_ostream", "&", "OS", ")", "const", "{", "switch", "(", "Kind", ")", "{", "case", "KindToken", ":", "OS", "<<", "\"Token:\"", "<<", "getToken", "(", ")", ";", "break", ";", "case", "KindReg", ":", "OS", "<<", "\"Reg:\"", "<<", "SystemZInstPrinter", "::", "getRegisterName", "(", "getReg", "(", ")", ")", ";", "break", ";", "case", "KindImm", ":", "OS", "<<", "\"Imm:\"", ";", "printMCExpr", "(", "getImm", "(", ")", ",", "OS", ")", ";", "break", ";", "case", "KindImmTLS", ":", "OS", "<<", "\"ImmTLS:\"", ";", "printMCExpr", "(", "getImmTLS", "(", ")", ".", "Imm", ",", "OS", ")", ";", "if", "(", "getImmTLS", "(", ")", ".", "Sym", ")", "{", "OS", "<<", "\", \"", ";", "printMCExpr", "(", "getImmTLS", "(", ")", ".", "Sym", ",", "OS", ")", ";", "}", "break", ";", "case", "KindMem", ":", "{", "const", "MemOp", "&", "Op", "=", "getMem", "(", ")", ";", "OS", "<<", "\"Mem:\"", "<<", "*", "cast", "<", "MCConstantExpr", ">", "(", "Op", ".", "Disp", ")", ";", "if", "(", "Op", ".", "Base", ")", "{", "OS", "<<", "\"(\"", ";", "if", "(", "Op", ".", "MemKind", "==", "BDLMem", ")", "OS", "<<", "*", "cast", "<", "MCConstantExpr", ">", "(", "Op", ".", "Length", ".", "Imm", ")", "<<", "\",\"", ";", "else", "if", "(", "Op", ".", "MemKind", "==", "BDRMem", ")", "OS", "<<", "SystemZInstPrinter", "::", "getRegisterName", "(", "Op", ".", "Length", ".", "Reg", ")", "<<", "\",\"", ";", "if", "(", "Op", ".", "Index", ")", "OS", "<<", "SystemZInstPrinter", "::", "getRegisterName", "(", "Op", ".", "Index", ")", "<<", "\",\"", ";", "OS", "<<", "SystemZInstPrinter", "::", "getRegisterName", "(", "Op", ".", "Base", ")", ";", "OS", "<<", "\")\"", ";", "}", "break", ";", "}", "case", "KindInvalid", ":", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"Token:\"", "\"Reg:\"", "SystemZ", "\"Imm:\"", "\"ImmTLS:\"", "\", \"", "\"Mem:\"", "\"(\"", "\",\"", "SystemZ", "\",\"", "SystemZ", "\",\"", "SystemZ", "\")\""], "File": "SystemZAsmParser (2)1", "Func": "print", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14613, "Length": 243, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "MCAsmInfo", "*", "createMCAsmInfo", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ")", "{", "Triple", "TheTriple", "(", "TT", ")", ";", "switch", "(", "TheTriple", ".", "getOS", "(", ")", ")", "{", "case", "Triple", "::", "Darwin", ":", "return", "new", "X86MCAsmInfoDarwin", "(", "TheTriple", ")", ";", "case", "Triple", "::", "MinGW32", ":", "case", "Triple", "::", "MinGW64", ":", "case", "Triple", "::", "Cygwin", ":", "case", "Triple", "::", "Win32", ":", "return", "new", "X86MCAsmInfoCOFF", "(", "TheTriple", ")", ";", "default", ":", "return", "new", "X86ELFMCAsmInfo", "(", "TheTriple", ")", ";", "}", "}", ""], "natrual_language": ["createMCAsmInfo", "-", "Create", "a", "MCAsmInfo", "implementation", "for", "the", "specified", "target", "triple", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86TargetMachine37", "Func": "createMCAsmInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14614, "Length": 79, "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", "::", "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", "Expand2AddrUndef", "(", "MIB", ",", "get", "(", "X86", "::", "KXORWrr", ")", ")", ";", "case", "X86", "::", "KSET1B", ":", "case", "X86", "::", "KSET1W", ":", "return", "Expand2AddrUndef", "(", "MIB", ",", "get", "(", "X86", "::", "KXNORWrr", ")", ")", ";", "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::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::KSET1B", "X86::KSET1W", "X86::KXNORWrr"], "File": "X86InstrInfo109", "Func": "expandPostRAPseudo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14615, "Length": 343, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "ARMOperand", "CreateMem", "(", "unsigned", "BaseRegNum", ",", "bool", "OffsetIsReg", ",", "const", "MCExpr", "*", "Offset", ",", "unsigned", "OffsetRegNum", ",", "bool", "OffsetRegShifted", ",", "enum", "ShiftType", "ShiftType", ",", "const", "MCExpr", "*", "ShiftAmount", ",", "bool", "Preindexed", ",", "bool", "Postindexed", ",", "bool", "Negative", ",", "bool", "Writeback", ")", "{", "ARMOperand", "Res", ";", "Res", ".", "Kind", "=", "Memory", ";", "Res", ".", "Mem", ".", "BaseRegNum", "=", "BaseRegNum", ";", "Res", ".", "Mem", ".", "OffsetIsReg", "=", "OffsetIsReg", ";", "Res", ".", "Mem", ".", "Offset", "=", "Offset", ";", "Res", ".", "Mem", ".", "OffsetRegNum", "=", "OffsetRegNum", ";", "Res", ".", "Mem", ".", "OffsetRegShifted", "=", "OffsetRegShifted", ";", "Res", ".", "Mem", ".", "ShiftType", "=", "ShiftType", ";", "Res", ".", "Mem", ".", "ShiftAmount", "=", "ShiftAmount", ";", "Res", ".", "Mem", ".", "Preindexed", "=", "Preindexed", ";", "Res", ".", "Mem", ".", "Postindexed", "=", "Postindexed", ";", "Res", ".", "Mem", ".", "Negative", "=", "Negative", ";", "Res", ".", "Mem", ".", "Writeback", "=", "Writeback", ";", "return", "Res", ";", "}", ""], "natrual_language": ["Create", "a", "generalized", "memory", "operand", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMAsmParser79", "Func": "CreateMem", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14616, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_lfs_stfs_insn", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "pattern", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pattern", ")", "!=", "PARALLEL", ")", "return", "false", ";", "if", "(", "XVECLEN", "(", "pattern", ",", "0", ")", "!=", "2", ")", "return", "false", ";", "rtx", "set", "=", "XVECEXP", "(", "pattern", ",", "0", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "set", ")", "!=", "SET", ")", "return", "false", ";", "rtx", "clobber", "=", "XVECEXP", "(", "pattern", ",", "0", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "clobber", ")", "!=", "CLOBBER", ")", "return", "false", ";", "rtx", "dest", "=", "SET_DEST", "(", "set", ")", ";", "rtx", "src", "=", "SET_SRC", "(", "set", ")", ";", "rtx", "scratch", "=", "SET_DEST", "(", "clobber", ")", ";", "if", "(", "GET_CODE", "(", "src", ")", "!=", "UNSPEC", ")", "return", "false", ";", "if", "(", "XINT", "(", "src", ",", "1", ")", "==", "UNSPEC_SI_FROM_SF", "&&", "GET_CODE", "(", "dest", ")", "==", "MEM", "&&", "GET_MODE", "(", "dest", ")", "==", "SImode", "&&", "GET_CODE", "(", "scratch", ")", "==", "SCRATCH", "&&", "GET_MODE", "(", "scratch", ")", "==", "V4SFmode", ")", "return", "true", ";", "if", "(", "XINT", "(", "src", ",", "1", ")", "==", "UNSPEC_SF_FROM_SI", "&&", "GET_CODE", "(", "dest", ")", "==", "REG", "&&", "GET_MODE", "(", "dest", ")", "==", "SFmode", "&&", "GET_CODE", "(", "scratch", ")", "==", "SCRATCH", "&&", "GET_MODE", "(", "scratch", ")", "==", "DImode", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "see", "if", "we", "'re", "potentially", "looking", "at", "lfs/stfs", ".", "-", "PARALLEL", "containing", "a", "SET", "and", "a", "CLOBBER", "-", "stfs", ":", "-", "SET", "is", "from", "UNSPEC_SI_FROM_SF", "to", "MEM", ":", "SI", "-", "CLOBBER", "is", "a", "V4SF", "-", "lfs", ":", "-", "SET", "is", "from", "UNSPEC_SF_FROM_SI", "to", "REG", ":", "SF", "-", "CLOBBER", "is", "a", "DI"], "TS_V_token": ["rs6000", "0", "2", "0", "0", "0", "1", "1", "1"], "File": "rs6000", "Func": "is_lfs_stfs_insn", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14617, "Length": 215, "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", ")", "{", "tree", "tem", "=", "fn1", ";", "fn1", "=", "fn2", ";", "fn2", "=", "tem", ";", "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": "i3864", "Func": "ix86_function_versions", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14618, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "shouldSink", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "isPredicated", "(", "MI", ")", ")", "return", "true", ";", "MachineBasicBlock", "::", "const_iterator", "Next", "=", "&", "MI", ";", "++", "Next", ";", "Register", "SrcReg", ",", "SrcReg2", ";", "int64_t", "CmpMask", ",", "CmpValue", ";", "bool", "IsThumb1", ";", "if", "(", "Next", "!=", "MI", ".", "getParent", "(", ")", "->", "end", "(", ")", "&&", "analyzeCompare", "(", "*", "Next", ",", "SrcReg", ",", "SrcReg2", ",", "CmpMask", ",", "CmpValue", ")", "&&", "isRedundantFlagInstr", "(", "&", "*", "Next", ",", "SrcReg", ",", "SrcReg2", ",", "CmpValue", ",", "&", "MI", ",", "IsThumb1", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "instruction", "should", "be", "sunk", "by", "MachineSink", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMBaseInstrInfo110", "Func": "shouldSink", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14619, "Length": 99, "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": 14620, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCallLowering", "::", "lowerCall", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "CallingConv", "::", "ID", "CallConv", ",", "const", "MachineOperand", "&", "Callee", ",", "const", "ArgInfo", "&", "OrigRet", ",", "ArrayRef", "<", "ArgInfo", ">", "OrigArgs", ")", "const", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "auto", "&", "TLI", "=", "*", "getTLI", "<", "ARMTargetLowering", ">", "(", ")", ";", "const", "auto", "&", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "if", "(", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "genLongCalls", "(", ")", ")", "return", "false", ";", "auto", "CallSeqStart", "=", "MIRBuilder", ".", "buildInstr", "(", "ARM", "::", "ADJCALLSTACKDOWN", ")", ";", "auto", "MIB", "=", "MIRBuilder", ".", "buildInstrNoInsert", "(", "ARM", "::", "BLX", ")", ".", "add", "(", "Callee", ")", ".", "addRegMask", "(", "TRI", "->", "getCallPreservedMask", "(", "MF", ",", "CallConv", ")", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "ArgInfos", ";", "for", "(", "auto", "Arg", ":", "OrigArgs", ")", "{", "if", "(", "!", "isSupportedType", "(", "DL", ",", "TLI", ",", "Arg", ".", "Ty", ")", ")", "return", "false", ";", "if", "(", "!", "Arg", ".", "IsFixed", ")", "return", "false", ";", "splitToValueTypes", "(", "Arg", ",", "ArgInfos", ",", "DL", ",", "MRI", ")", ";", "}", "auto", "ArgAssignFn", "=", "TLI", ".", "CCAssignFnForCall", "(", "CallConv", ",", "false", ")", ";", "OutgoingValueHandler", "ArgHandler", "(", "MIRBuilder", ",", "MRI", ",", "MIB", ",", "ArgAssignFn", ")", ";", "if", "(", "!", "handleAssignments", "(", "MIRBuilder", ",", "ArgInfos", ",", "ArgHandler", ")", ")", "return", "false", ";", "MIRBuilder", ".", "insertInstr", "(", "MIB", ")", ";", "if", "(", "!", "OrigRet", ".", "Ty", "->", "isVoidTy", "(", ")", ")", "{", "if", "(", "!", "isSupportedType", "(", "DL", ",", "TLI", ",", "OrigRet", ".", "Ty", ")", ")", "return", "false", ";", "ArgInfos", ".", "clear", "(", ")", ";", "splitToValueTypes", "(", "OrigRet", ",", "ArgInfos", ",", "DL", ",", "MRI", ")", ";", "auto", "RetAssignFn", "=", "TLI", ".", "CCAssignFnForReturn", "(", "CallConv", ",", "false", ")", ";", "CallReturnHandler", "RetHandler", "(", "MIRBuilder", ",", "MRI", ",", "MIB", ",", "RetAssignFn", ")", ";", "if", "(", "!", "handleAssignments", "(", "MIRBuilder", ",", "ArgInfos", ",", "RetHandler", ")", ")", "return", "false", ";", "}", "CallSeqStart", ".", "addImm", "(", "ArgHandler", ".", "StackSize", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "MIRBuilder", ".", "buildInstr", "(", "ARM", "::", "ADJCALLSTACKUP", ")", ".", "addImm", "(", "ArgHandler", ".", "StackSize", ")", ".", "addImm", "(", "0", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "given", "call", "instruction", ",", "including", "argument", "and", "return", "value", "marshalling", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM::ADJCALLSTACKDOWN", "ARM::BLX", "8", "ARMCC::AL", "ARM::ADJCALLSTACKUP", "0", "ARMCC::AL"], "File": "ARMCallLowering34", "Func": "lowerCall", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14621, "Length": 391, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZPostRASchedStrategy", "::", "enterMBB", "(", "MachineBasicBlock", "*", "NextMBB", ")", "{", "assert", "(", "(", "SchedStates", ".", "find", "(", "NextMBB", ")", "==", "SchedStates", ".", "end", "(", ")", ")", "&&", "\"Entering MBB twice?\"", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"+++ Entering MBB#\"", "<<", "NextMBB", "->", "getNumber", "(", ")", ")", ";", "MBB", "=", "NextMBB", ";", "HazardRec", "=", "SchedStates", "[", "MBB", "]", "=", "new", "SystemZHazardRecognizer", "(", "TII", ",", "&", "SchedModel", ")", ";", "DEBUG", "(", "const", "MachineLoop", "*", "Loop", "=", "MLI", "->", "getLoopFor", "(", "MBB", ")", ";", "if", "(", "Loop", "&&", "Loop", "->", "getHeader", "(", ")", "==", "MBB", ")", "dbgs", "(", ")", "<<", "\" (Loop header)\"", ";", "dbgs", "(", ")", "<<", "\":\\n\"", ";", ")", ";", "MachineBasicBlock", "*", "SinglePredMBB", "=", "getSingleSchedPred", "(", "MBB", ",", "MLI", "->", "getLoopFor", "(", "MBB", ")", ")", ";", "if", "(", "SinglePredMBB", "==", "nullptr", "||", "SchedStates", ".", "find", "(", "SinglePredMBB", ")", "==", "SchedStates", ".", "end", "(", ")", ")", "return", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"+++ Continued scheduling from MBB#\"", "<<", "SinglePredMBB", "->", "getNumber", "(", ")", "<<", "\"\\n\"", ";", ")", ";", "HazardRec", "->", "copyState", "(", "SchedStates", "[", "SinglePredMBB", "]", ")", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "SinglePredMBB", "->", "getFirstTerminator", "(", ")", ";", "I", "!=", "SinglePredMBB", "->", "end", "(", ")", ";", "I", "++", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"+++ Emitting incoming branch: \"", ";", "I", "->", "dump", "(", ")", ";", ")", ";", "bool", "TakenBranch", "=", "(", "I", "->", "isBranch", "(", ")", "&&", "(", "TII", "->", "getBranchInfo", "(", "*", "I", ")", ".", "Target", "->", "isReg", "(", ")", "||", "TII", "->", "getBranchInfo", "(", "*", "I", ")", ".", "Target", "->", "getMBB", "(", ")", "==", "MBB", ")", ")", ";", "HazardRec", "->", "emitInstruction", "(", "&", "*", "I", ",", "TakenBranch", ")", ";", "if", "(", "TakenBranch", ")", "break", ";", "}", "}", ""], "natrual_language": ["Tell", "the", "strategy", "that", "MBB", "is", "about", "to", "be", "processed", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"Entering MBB twice?\"", "\"+++ Entering MBB#\"", "SystemZ", "\" (Loop header)\"", "\":\\n\"", "\"+++ Continued scheduling from MBB#\"", "\"\\n\"", "\"+++ Emitting incoming branch: \""], "File": "SystemZMachineScheduler4", "Func": "enterMBB", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14622, "Length": 273, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64FastISel", "::", "getRegForGEPIndex", "(", "const", "Value", "*", "Idx", ")", "{", "unsigned", "IdxN", "=", "getRegForValue", "(", "Idx", ")", ";", "if", "(", "IdxN", "==", "0", ")", "return", "0", ";", "MVT", "PtrVT", "=", "TLI", ".", "getPointerTy", "(", "DL", ")", ";", "EVT", "IdxVT", "=", "EVT", "::", "getEVT", "(", "Idx", "->", "getType", "(", ")", ",", "false", ")", ";", "if", "(", "IdxVT", ".", "bitsLT", "(", "PtrVT", ")", ")", "{", "IdxN", "=", "emitIntExt", "(", "IdxVT", ".", "getSimpleVT", "(", ")", ",", "IdxN", ",", "PtrVT", ",", "false", ")", ";", "}", "else", "if", "(", "IdxVT", ".", "bitsGT", "(", "PtrVT", ")", ")", "llvm_unreachable", "(", "\"AArch64 FastISel doesn't support types larger than i64\"", ")", ";", "return", "IdxN", ";", "}", ""], "natrual_language": ["This", "is", "a", "wrapper", "around", "getRegForValue", "that", "also", "takes", "care", "of", "truncating", "or", "sign-extending", "the", "given", "getelementptr", "index", "value", "."], "TS_V_token": ["AArch64", "AArch64", "0", "0", "\"AArch64 FastISel doesn't support types larger than i64\""], "File": "AArch64FastISel21", "Func": "getRegForGEPIndex", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14623, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "DLXInstrInfo", "::", "analyzeSelect", "(", "const", "MachineInstr", "&", "MI", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "unsigned", "&", "TrueOp", ",", "unsigned", "&", "FalseOp", ",", "bool", "&", "Optimizable", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Analyze", "the", "given", "select", "instruction", ",", "returning", "true", "if", "it", "can", "not", "be", "understood", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXInstrInfo", "Func": "analyzeSelect", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14624, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "ia64_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": ["ia64"], "File": "ia64", "Func": "ia64_c_mode_for_suffix", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14625, "Length": 30, "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", ";", "emitPushInst", "(", "MBB", ",", "MI", ",", "CSI", ",", "PushOpc", ",", "PushOneOpc", ",", "false", ",", "&", "isARMArea1Register", ",", "MachineInstr", "::", "FrameSetup", ")", ";", "emitPushInst", "(", "MBB", ",", "MI", ",", "CSI", ",", "PushOpc", ",", "PushOneOpc", ",", "false", ",", "&", "isARMArea2Register", ",", "MachineInstr", "::", "FrameSetup", ")", ";", "emitPushInst", "(", "MBB", ",", "MI", ",", "CSI", ",", "FltOpc", ",", "0", ",", "true", ",", "&", "isARMArea3Register", ",", "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": ["ARM", "ARM", "ARM", "ARM", "ARM::t2STMDB_UPD", "ARM::STMDB_UPD", "ARM::t2STR_PRE", "ARM::STR_PRE_IMM", "ARM::VSTMDDB_UPD", "ARM", "ARM", "0", "ARM"], "File": "ARMFrameLowering84", "Func": "spillCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14626, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MandarinFrameLowering", "::", "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": ["Mandarin"], "File": "MandarinFrameLowering", "Func": "hasReservedCallFrame", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14627, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLittleEndian", "(", ")", "const", "{", "return", "isLittle", ";", "}", ""], "natrual_language": ["Tests", "whether", "the", "target", "triple", "is", "little", "endian", "."], "TS_V_token": ["Mips"], "File": "MipsTargetMachine (2)1", "Func": "isLittleEndian", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14628, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "isHighLatencyDef", "(", "int", "opc", ")", "const", "{", "switch", "(", "opc", ")", "{", "default", ":", "return", "false", ";", "case", "X86", "::", "DIVSDrm", ":", "case", "X86", "::", "DIVSDrm_Int", ":", "case", "X86", "::", "DIVSDrr", ":", "case", "X86", "::", "DIVSDrr_Int", ":", "case", "X86", "::", "DIVSSrm", ":", "case", "X86", "::", "DIVSSrm_Int", ":", "case", "X86", "::", "DIVSSrr", ":", "case", "X86", "::", "DIVSSrr_Int", ":", "case", "X86", "::", "SQRTPDm", ":", "case", "X86", "::", "SQRTPDr", ":", "case", "X86", "::", "SQRTPSm", ":", "case", "X86", "::", "SQRTPSr", ":", "case", "X86", "::", "SQRTSDm", ":", "case", "X86", "::", "SQRTSDm_Int", ":", "case", "X86", "::", "SQRTSDr", ":", "case", "X86", "::", "SQRTSDr_Int", ":", "case", "X86", "::", "SQRTSSm", ":", "case", "X86", "::", "SQRTSSm_Int", ":", "case", "X86", "::", "SQRTSSr", ":", "case", "X86", "::", "SQRTSSr_Int", ":", "case", "X86", "::", "VDIVSDrm", ":", "case", "X86", "::", "VDIVSDrm_Int", ":", "case", "X86", "::", "VDIVSDrr", ":", "case", "X86", "::", "VDIVSDrr_Int", ":", "case", "X86", "::", "VDIVSSrm", ":", "case", "X86", "::", "VDIVSSrm_Int", ":", "case", "X86", "::", "VDIVSSrr", ":", "case", "X86", "::", "VDIVSSrr_Int", ":", "case", "X86", "::", "VSQRTPDm", ":", "case", "X86", "::", "VSQRTPDr", ":", "case", "X86", "::", "VSQRTPSm", ":", "case", "X86", "::", "VSQRTPSr", ":", "case", "X86", "::", "VSQRTSDm", ":", "case", "X86", "::", "VSQRTSDm_Int", ":", "case", "X86", "::", "VSQRTSDr", ":", "case", "X86", "::", "VSQRTSSm", ":", "case", "X86", "::", "VSQRTSSm_Int", ":", "case", "X86", "::", "VSQRTSSr", ":", "case", "X86", "::", "VSQRTPDZrm", ":", "case", "X86", "::", "VSQRTPDZrr", ":", "case", "X86", "::", "VSQRTPSZrm", ":", "case", "X86", "::", "VSQRTPSZrr", ":", "case", "X86", "::", "VSQRTSDZm", ":", "case", "X86", "::", "VSQRTSDZm_Int", ":", "case", "X86", "::", "VSQRTSDZr", ":", "case", "X86", "::", "VSQRTSSZm_Int", ":", "case", "X86", "::", "VSQRTSSZr", ":", "case", "X86", "::", "VSQRTSSZm", ":", "case", "X86", "::", "VDIVSDZrm", ":", "case", "X86", "::", "VDIVSDZrr", ":", "case", "X86", "::", "VDIVSSZrm", ":", "case", "X86", "::", "VDIVSSZrr", ":", "case", "X86", "::", "VGATHERQPSZrm", ":", "case", "X86", "::", "VGATHERQPDZrm", ":", "case", "X86", "::", "VGATHERDPDZrm", ":", "case", "X86", "::", "VGATHERDPSZrm", ":", "case", "X86", "::", "VPGATHERQDZrm", ":", "case", "X86", "::", "VPGATHERQQZrm", ":", "case", "X86", "::", "VPGATHERDDZrm", ":", "case", "X86", "::", "VPGATHERDQZrm", ":", "case", "X86", "::", "VSCATTERQPDZmr", ":", "case", "X86", "::", "VSCATTERQPSZmr", ":", "case", "X86", "::", "VSCATTERDPDZmr", ":", "case", "X86", "::", "VSCATTERDPSZmr", ":", "case", "X86", "::", "VPSCATTERQDZmr", ":", "case", "X86", "::", "VPSCATTERQQZmr", ":", "case", "X86", "::", "VPSCATTERDDZmr", ":", "case", "X86", "::", "VPSCATTERDQZmr", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "this", "opcode", "has", "high", "latency", "to", "its", "result", "."], "TS_V_token": ["X86", "X86", "X86::DIVSDrm", "X86::DIVSDrm_Int", "X86::DIVSDrr", "X86::DIVSDrr_Int", "X86::DIVSSrm", "X86::DIVSSrm_Int", "X86::DIVSSrr", "X86::DIVSSrr_Int", "X86::SQRTPDm", "X86::SQRTPDr", "X86::SQRTPSm", "X86::SQRTPSr", "X86::SQRTSDm", "X86::SQRTSDm_Int", "X86::SQRTSDr", "X86::SQRTSDr_Int", "X86::SQRTSSm", "X86::SQRTSSm_Int", "X86::SQRTSSr", "X86::SQRTSSr_Int", "X86::VDIVSDrm", "X86::VDIVSDrm_Int", "X86::VDIVSDrr", "X86::VDIVSDrr_Int", "X86::VDIVSSrm", "X86::VDIVSSrm_Int", "X86::VDIVSSrr", "X86::VDIVSSrr_Int", "X86::VSQRTPDm", "X86::VSQRTPDr", "X86::VSQRTPSm", "X86::VSQRTPSr", "X86::VSQRTSDm", "X86::VSQRTSDm_Int", "X86::VSQRTSDr", "X86::VSQRTSSm", "X86::VSQRTSSm_Int", "X86::VSQRTSSr", "X86::VSQRTPDZrm", "X86::VSQRTPDZrr", "X86::VSQRTPSZrm", "X86::VSQRTPSZrr", "X86::VSQRTSDZm", "X86::VSQRTSDZm_Int", "X86::VSQRTSDZr", "X86::VSQRTSSZm_Int", "X86::VSQRTSSZr", "X86::VSQRTSSZm", "X86::VDIVSDZrm", "X86::VDIVSDZrr", "X86::VDIVSSZrm", "X86::VDIVSSZrr", "X86::VGATHERQPSZrm", "X86::VGATHERQPDZrm", "X86::VGATHERDPDZrm", "X86::VGATHERDPSZrm", "X86::VPGATHERQDZrm", "X86::VPGATHERQQZrm", "X86::VPGATHERDDZrm", "X86::VPGATHERDQZrm", "X86::VSCATTERQPDZmr", "X86::VSCATTERQPSZmr", "X86::VSCATTERDPDZmr", "X86::VSCATTERDPSZmr", "X86::VPSCATTERQDZmr", "X86::VPSCATTERQQZmr", "X86::VPSCATTERDDZmr", "X86::VPSCATTERDQZmr"], "File": "X86InstrInfo (2)", "Func": "isHighLatencyDef", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14629, "Length": 365, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FastISel", "*", "X86", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "funcInfo", ")", "{", "return", "new", "X86FastISel", "(", "funcInfo", ")", ";", "}", ""], "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::createFastISel", "X86"], "File": "X86FastISel17", "Func": "createFastISel", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14630, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "getStackSize", "(", ")", "{", "return", "StackSize", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "bytes", "that", "must", "be", "allocated", "to", "hold", "all", "of", "the", "fixed", "size", "frame", "objects", "."], "TS_V_token": ["X86"], "File": "X86CallLowering", "Func": "getStackSize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14631, "Length": 9, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_emit_binop", "(", "enum", "rtx_code", "code", ",", "machine_mode", "mode", ",", "rtx", "dst", ",", "rtx", "src", ")", "{", "rtx", "op", ",", "clob", ";", "op", "=", "gen_rtx_SET", "(", "dst", ",", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "dst", ",", "src", ")", ")", ";", "clob", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "CCmode", ",", "FLAGS_REG", ")", ")", ";", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "op", ",", "clob", ")", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "x86", "binary", "operand", "CODE", "in", "mode", "MODE", ",", "where", "the", "first", "operand", "matches", "destination", ".", "RTX", "includes", "clobber", "of", "FLAGS_REG", "."], "TS_V_token": ["i386", "2"], "File": "i386-expand", "Func": "ix86_emit_binop", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14632, "Length": 72, "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": 14633, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "VETargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "LLT", "VT", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "Register", "Reg", "=", "StringSwitch", "<", "Register", ">", "(", "RegName", ")", ".", "Case", "(", "\"sp\"", ",", "VE", "::", "SX11", ")", ".", "Case", "(", "\"fp\"", ",", "VE", "::", "SX9", ")", ".", "Case", "(", "\"sl\"", ",", "VE", "::", "SX8", ")", ".", "Case", "(", "\"lr\"", ",", "VE", "::", "SX10", ")", ".", "Case", "(", "\"tp\"", ",", "VE", "::", "SX14", ")", ".", "Case", "(", "\"outer\"", ",", "VE", "::", "SX12", ")", ".", "Case", "(", "\"info\"", ",", "VE", "::", "SX17", ")", ".", "Case", "(", "\"got\"", ",", "VE", "::", "SX15", ")", ".", "Case", "(", "\"plt\"", ",", "VE", "::", "SX16", ")", ".", "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": ["VE", "VE", "\"sp\"", "VE::SX11", "\"fp\"", "VE::SX9", "\"sl\"", "VE::SX8", "\"lr\"", "VE::SX10", "\"tp\"", "VE::SX14", "\"outer\"", "VE::SX12", "\"info\"", "VE::SX17", "\"got\"", "VE::SX15", "\"plt\"", "VE::SX16", "0", "\"Invalid register name global variable\""], "File": "VEISelLowering", "Func": "getRegisterByName", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14634, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_fusable_store", "(", "rtx_insn", "*", "insn", ",", "rtx", "*", "str_mem", ")", "{", "if", "(", "is_store_insn", "(", "insn", ",", "str_mem", ")", "&&", "get_attr_prefixed", "(", "insn", ")", "==", "PREFIXED_NO", "&&", "get_attr_update", "(", "insn", ")", "==", "UPDATE_NO", "&&", "get_attr_indexed", "(", "insn", ")", "==", "INDEXED_NO", ")", "{", "if", "(", "!", "MEM_SIZE_KNOWN_P", "(", "*", "str_mem", ")", ")", "return", "false", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "*", "str_mem", ")", ";", "HOST_WIDE_INT", "size", "=", "MEM_SIZE", "(", "*", "str_mem", ")", ";", "if", "(", "INTEGRAL_MODE_P", "(", "mode", ")", ")", "return", "(", "size", "==", "4", "||", "size", "==", "8", ")", ";", "else", "if", "(", "FLOAT_MODE_P", "(", "mode", ")", ")", "return", "(", "size", "==", "8", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Determine", "if", "INSN", "is", "a", "store", "to", "memory", "that", "can", "be", "fused", "with", "a", "similar", "adjacent", "store", "."], "TS_V_token": ["rs6000", "4", "8", "8"], "File": "rs6000", "Func": "is_fusable_store", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14635, "Length": 112, "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", "&&", "std", "::", "find", "(", "Order", ".", "begin", "(", ")", ",", "Order", ".", "end", "(", ")", ",", "PairedPhys", ")", "!=", "Order", ".", "end", "(", ")", ")", "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": "ARMBaseRegisterInfo13", "Func": "getRegAllocationHints", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14636, "Length": 305, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_output_dwarf_dtprel", "(", "FILE", "*", "file", ",", "int", "size", ",", "rtx", "x", ")", "{", "switch", "(", "size", ")", "{", "case", "4", ":", "fputs", "(", "\"\\t.long\\t\"", ",", "file", ")", ";", "break", ";", "case", "8", ":", "fputs", "(", "DOUBLE_INT_ASM_OP", ",", "file", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "output_addr_const", "(", "file", ",", "x", ")", ";", "if", "(", "TARGET_ELF", ")", "fputs", "(", "\"@dtprel+0x8000\"", ",", "file", ")", ";", "}", ""], "natrual_language": ["This", "is", "called", "from", "dwarf2out.c", "via", "TARGET_ASM_OUTPUT_DWARF_DTPREL", ".", "We", "need", "to", "emit", "DTP-relative", "relocations", "."], "TS_V_token": ["rs6000", "4", "\"\\t.long\\t\"", "8", "\"@dtprel+0x8000\""], "File": "rs6000", "Func": "rs6000_output_dwarf_dtprel", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14637, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "ARMBaseRegisterInfo", "::", "getMatchingSuperRegClass", "(", "const", "TargetRegisterClass", "*", "A", ",", "const", "TargetRegisterClass", "*", "B", ",", "unsigned", "SubIdx", ")", "const", "{", "switch", "(", "SubIdx", ")", "{", "default", ":", "return", "0", ";", "case", "1", ":", "case", "2", ":", "case", "3", ":", "case", "4", ":", "if", "(", "A", "->", "getSize", "(", ")", "==", "8", ")", "{", "if", "(", "B", "==", "&", "ARM", "::", "SPR_8RegClass", ")", "return", "&", "ARM", "::", "DPR_8RegClass", ";", "assert", "(", "B", "==", "&", "ARM", "::", "SPRRegClass", "&&", "\"Expecting SPR register class!\"", ")", ";", "if", "(", "A", "==", "&", "ARM", "::", "DPR_8RegClass", ")", "return", "A", ";", "return", "&", "ARM", "::", "DPR_VFP2RegClass", ";", "}", "assert", "(", "A", "->", "getSize", "(", ")", "==", "16", "&&", "\"Expecting a Q register class!\"", ")", ";", "if", "(", "B", "==", "&", "ARM", "::", "SPR_8RegClass", ")", "return", "&", "ARM", "::", "QPR_8RegClass", ";", "return", "&", "ARM", "::", "QPR_VFP2RegClass", ";", "case", "5", ":", "case", "6", ":", "if", "(", "B", "==", "&", "ARM", "::", "DPR_VFP2RegClass", ")", "return", "&", "ARM", "::", "QPR_VFP2RegClass", ";", "if", "(", "B", "==", "&", "ARM", "::", "DPR_8RegClass", ")", "return", "&", "ARM", "::", "QPR_8RegClass", ";", "return", "A", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["getMatchingSuperRegClass", "-", "Return", "a", "subclass", "of", "the", "specified", "register", "class", "A", "so", "that", "each", "register", "in", "it", "has", "a", "sub-register", "of", "the", "specified", "sub-register", "index", "which", "is", "in", "the", "specified", "register", "class", "B", "."], "TS_V_token": ["ARM", "ARM", "0", "1", "2", "3", "4", "8", "ARM::SPR_8RegClass", "ARM::DPR_8RegClass", "ARM::SPRRegClass", "\"Expecting SPR register class!\"", "ARM::DPR_8RegClass", "ARM::DPR_VFP2RegClass", "16", "\"Expecting a Q register class!\"", "ARM::SPR_8RegClass", "ARM::QPR_8RegClass", "ARM::QPR_VFP2RegClass", "5", "6", "ARM::DPR_VFP2RegClass", "ARM::QPR_VFP2RegClass", "ARM::DPR_8RegClass", "ARM::QPR_8RegClass", "0"], "File": "ARMBaseRegisterInfo12", "Func": "getMatchingSuperRegClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14638, "Length": 179, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineFrameInfo", "&", "MFFrame", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "uint64_t", "MaxReach", "=", "(", "MFFrame", ".", "estimateStackSize", "(", "MF", ")", "+", "SystemZMC", "::", "CallFrameSize", "*", "2", ")", ";", "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", "2", "12", "8", "8", "8", "8"], "File": "SystemZFrameLowering17", "Func": "processFunctionBeforeFrameFinalized", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14639, "Length": 89, "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": 14640, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_function_rodata_section", "(", "tree", "decl", ")", "{", "if", "(", "!", "TARGET_ABICALLS", "||", "TARGET_GPWORD", ")", "default_function_rodata_section", "(", "decl", ")", ";", "else", "if", "(", "decl", "&&", "DECL_SECTION_NAME", "(", "decl", ")", ")", "{", "const", "char", "*", "name", "=", "TREE_STRING_POINTER", "(", "DECL_SECTION_NAME", "(", "decl", ")", ")", ";", "if", "(", "DECL_ONE_ONLY", "(", "decl", ")", "&&", "strncmp", "(", "name", ",", "\".gnu.linkonce.t.\"", ",", "16", ")", "==", "0", ")", "{", "char", "*", "rname", "=", "ASTRDUP", "(", "name", ")", ";", "rname", "[", "14", "]", "=", "'d'", ";", "named_section_real", "(", "rname", ",", "SECTION_LINKONCE", "|", "SECTION_WRITE", ",", "decl", ")", ";", "}", "else", "if", "(", "flag_function_sections", "&&", "flag_data_sections", "&&", "strncmp", "(", "name", ",", "\".text.\"", ",", "6", ")", "==", "0", ")", "{", "char", "*", "rname", "=", "ASTRDUP", "(", "name", ")", ";", "memcpy", "(", "rname", "+", "1", ",", "\"data\"", ",", "4", ")", ";", "named_section_flags", "(", "rname", ",", "SECTION_WRITE", ")", ";", "}", "else", "data_section", "(", ")", ";", "}", "else", "data_section", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_FUNCTION_RODATA_SECTION", ".", "The", "complication", "here", "is", "that", ",", "with", "the", "combination", "TARGET_ABICALLS", "&", "&", "!", "TARGET_GPWORD", ",", "jump", "tables", "will", "use", "absolute", "addresses", ",", "and", "should", "therefore", "not", "be", "included", "in", "the", "read-only", "part", "of", "a", "DSO", ".", "Handle", "such", "cases", "by", "selecting", "a", "normal", "data", "section", "instead", "of", "a", "read-only", "one", ".", "The", "logic", "apes", "that", "in", "default_function_rodata_section", "."], "TS_V_token": ["mips", "\".gnu.linkonce.t.\"", "16", "0", "14", "\".text.\"", "6", "0", "1", "\"data\"", "4"], "File": "mips3", "Func": "mips_function_rodata_section", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14641, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsInstructionSelector", "::", "select", "(", "MachineInstr", "&", "I", ",", "CodeGenCoverage", "&", "CoverageInfo", ")", "const", "{", "if", "(", "!", "isPreISelGenericOpcode", "(", "I", ".", "getOpcode", "(", ")", ")", ")", "{", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Select", "the", "(", "possibly", "generic", ")", "instruction", "I", "to", "only", "use", "target-specific", "opcodes", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsInstructionSelector21", "Func": "select", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14642, "Length": 36, "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", "(", ")", ";", "int", "Offset", "=", "getTargetMachine", "(", ")", ".", "Options", ".", "StackProtectorGuardOffset", ";", "if", "(", "Offset", "==", "INT_MAX", ")", "Offset", "=", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "?", "0x28", ":", "0x14", ";", "const", "auto", "&", "GuardReg", "=", "getTargetMachine", "(", ")", ".", "Options", ".", "StackProtectorGuardReg", ";", "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": "X86ISelLowering159", "Func": "getIRStackGuard", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14643, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_emit_stack_v3pop", "(", "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", "pop_rtx", ";", "rtx", "adjust_sp_rtx", ";", "rtx", "parallel_insn", ";", "rtx", "dwarf", "=", "NULL_RTX", ";", "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", "=", "0", ";", "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", ")", ")", ";", "pop_rtx", "=", "gen_rtx_SET", "(", "reg", ",", "mem", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "0", ",", "par_index", ")", "=", "pop_rtx", ";", "RTX_FRAME_RELATED_P", "(", "pop_rtx", ")", "=", "1", ";", "offset", "=", "offset", "+", "4", ";", "par_index", "++", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "dwarf", ")", ";", "}", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "FP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "pop_rtx", "=", "gen_rtx_SET", "(", "reg", ",", "mem", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "0", ",", "par_index", ")", "=", "pop_rtx", ";", "RTX_FRAME_RELATED_P", "(", "pop_rtx", ")", "=", "1", ";", "offset", "=", "offset", "+", "4", ";", "par_index", "++", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "dwarf", ")", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "GP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "pop_rtx", "=", "gen_rtx_SET", "(", "reg", ",", "mem", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "0", ",", "par_index", ")", "=", "pop_rtx", ";", "RTX_FRAME_RELATED_P", "(", "pop_rtx", ")", "=", "1", ";", "offset", "=", "offset", "+", "4", ";", "par_index", "++", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "dwarf", ")", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "LP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "pop_rtx", "=", "gen_rtx_SET", "(", "reg", ",", "mem", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "0", ",", "par_index", ")", "=", "pop_rtx", ";", "RTX_FRAME_RELATED_P", "(", "pop_rtx", ")", "=", "1", ";", "offset", "=", "offset", "+", "4", ";", "par_index", "++", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "dwarf", ")", ";", "adjust_sp_rtx", "=", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", "+", "INTVAL", "(", "imm8u", ")", ")", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "0", ",", "par_index", ")", "=", "adjust_sp_rtx", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_ADJUST_CFA", ",", "copy_rtx", "(", "adjust_sp_rtx", ")", ",", "dwarf", ")", ";", "parallel_insn", "=", "emit_insn", "(", "parallel_insn", ")", ";", "RTX_FRAME_RELATED_P", "(", "parallel_insn", ")", "=", "1", ";", "REG_NOTES", "(", "parallel_insn", ")", "=", "dwarf", ";", "}", ""], "natrual_language": ["Function", "to", "create", "a", "parallel", "rtx", "pattern", "which", "presents", "stack", "v3pop", "behavior", ".", "The", "overall", "concept", "are", ":", "``", "pop", "registers", "from", "memory", "''", ",", "``", "adjust", "stack", "pointer", "''", "."], "TS_V_token": ["nds32", "1", "3", "1", "0", "0", "0", "1", "4", "0", "1", "4", "0", "1", "4", "0", "1", "4", "0", "1"], "File": "nds323", "Func": "nds32_emit_stack_v3pop", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14644, "Length": 468, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "FISCFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "FISC", "::", "ADJCALLSTACKUP", "||", "I", "->", "getOpcode", "(", ")", "==", "FISC", "::", "ADJCALLSTACKDOWN", ")", "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": ["FISC", "FISC", "FISC::ADJCALLSTACKUP", "FISC::ADJCALLSTACKDOWN"], "File": "FISCFrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14645, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_modes_tieable_p", "(", "machine_mode", "mode1", ",", "machine_mode", "mode2", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "mode1", ")", "==", "GET_MODE_CLASS", "(", "mode2", ")", ")", "return", "true", ";", "if", "(", "TARGET_SIMD", "&&", "aarch64_vector_mode_p", "(", "mode1", ")", "&&", "aarch64_vector_mode_p", "(", "mode2", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "MODES_TIEABLE_P", ".", "In", "principle", "we", "should", "always", "return", "true", ".", "However", "due", "to", "issues", "with", "register", "allocation", "it", "is", "preferable", "to", "avoid", "tieing", "integer", "scalar", "and", "FP", "scalar", "modes", ".", "Executing", "integer", "operations", "in", "general", "registers", "is", "better", "than", "treating", "them", "as", "scalar", "vector", "operations", ".", "This", "reduces", "latency", "and", "avoids", "redundant", "int", "<", "-", ">", "FP", "moves", ".", "So", "tie", "modes", "if", "they", "are", "either", "the", "same", "class", ",", "or", "vector", "modes", "with", "other", "vector", "modes", ",", "vector", "structs", "or", "any", "scalar", "mode", "."], "TS_V_token": ["aarch64"], "File": "aarch642", "Func": "aarch64_modes_tieable_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14646, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "X86MCInstLower", "MCInstLowering", "(", "Mang", ",", "*", "MF", ",", "*", "this", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "if", "(", "isVerbose", "(", ")", "&&", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "{", "std", "::", "string", "TmpStr", ";", "raw_string_ostream", "OS", "(", "TmpStr", ")", ";", "PrintDebugValueComment", "(", "MI", ",", "OS", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "StringRef", "(", "OS", ".", "str", "(", ")", ")", ")", ";", "}", "return", ";", "case", "X86", "::", "Int_MemBarrier", ":", "if", "(", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "OutStreamer", ".", "EmitRawText", "(", "StringRef", "(", "\"\\t#MEMBARRIER\"", ")", ")", ";", "return", ";", "case", "X86", "::", "EH_RETURN", ":", "case", "X86", "::", "EH_RETURN64", ":", "{", "unsigned", "Reg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "OutStreamer", ".", "AddComment", "(", "StringRef", "(", "\"eh_return, addr: %\"", ")", "+", "X86ATTInstPrinter", "::", "getRegisterName", "(", "Reg", ")", ")", ";", "break", ";", "}", "case", "X86", "::", "TAILJMPr", ":", "case", "X86", "::", "TAILJMPd", ":", "case", "X86", "::", "TAILJMPd64", ":", "OutStreamer", ".", "AddComment", "(", "\"TAILCALL\"", ")", ";", "break", ";", "case", "X86", "::", "TLS_addr32", ":", "case", "X86", "::", "TLS_addr64", ":", "case", "X86", "::", "TLS_base_addr32", ":", "case", "X86", "::", "TLS_base_addr64", ":", "return", "LowerTlsAddr", "(", "OutStreamer", ",", "MCInstLowering", ",", "*", "MI", ")", ";", "case", "X86", "::", "MOVPC32r", ":", "{", "MCSymbol", "*", "PICBase", "=", "MF", "->", "getPICBaseSymbol", "(", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "MCInstBuilder", "(", "X86", "::", "CALLpcrel32", ")", ".", "addExpr", "(", "MCSymbolRefExpr", "::", "Create", "(", "PICBase", ",", "OutContext", ")", ")", ")", ";", "OutStreamer", ".", "EmitLabel", "(", "PICBase", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "MCInstBuilder", "(", "X86", "::", "POP32r", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", ";", "return", ";", "}", "case", "X86", "::", "ADD32ri", ":", "{", "if", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getTargetFlags", "(", ")", "!=", "X86II", "::", "MO_GOT_ABSOLUTE_ADDRESS", ")", "break", ";", "MCSymbol", "*", "DotSym", "=", "OutContext", ".", "CreateTempSymbol", "(", ")", ";", "OutStreamer", ".", "EmitLabel", "(", "DotSym", ")", ";", "MCSymbol", "*", "OpSym", "=", "MCInstLowering", ".", "GetSymbolFromOperand", "(", "MI", "->", "getOperand", "(", "2", ")", ")", ";", "const", "MCExpr", "*", "DotExpr", "=", "MCSymbolRefExpr", "::", "Create", "(", "DotSym", ",", "OutContext", ")", ";", "const", "MCExpr", "*", "PICBase", "=", "MCSymbolRefExpr", "::", "Create", "(", "MF", "->", "getPICBaseSymbol", "(", ")", ",", "OutContext", ")", ";", "DotExpr", "=", "MCBinaryExpr", "::", "CreateSub", "(", "DotExpr", ",", "PICBase", ",", "OutContext", ")", ";", "DotExpr", "=", "MCBinaryExpr", "::", "CreateAdd", "(", "MCSymbolRefExpr", "::", "Create", "(", "OpSym", ",", "OutContext", ")", ",", "DotExpr", ",", "OutContext", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "MCInstBuilder", "(", "X86", "::", "ADD32ri", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ".", "addExpr", "(", "DotExpr", ")", ")", ";", "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": ["X86", "X86", "X86", "X86::Int_MemBarrier", "\"\\t#MEMBARRIER\"", "X86::EH_RETURN", "X86::EH_RETURN64", "0", "\"eh_return, addr: %\"", "X86", "X86::TAILJMPr", "X86::TAILJMPd", "X86::TAILJMPd64", "\"TAILCALL\"", "X86::TLS_addr32", "X86::TLS_addr64", "X86::TLS_base_addr32", "X86::TLS_base_addr64", "X86::MOVPC32r", "X86::CALLpcrel32", "X86::POP32r", "0", "X86::ADD32ri", "2", "X86II::MO_GOT_ABSOLUTE_ADDRESS", "2", "X86::ADD32ri", "0", "1"], "File": "X86MCInstLower102", "Func": "EmitInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14647, "Length": 478, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86FastISel", "::", "fastMaterializeFloatZero", "(", "const", "ConstantFP", "*", "CF", ")", "{", "MVT", "VT", ";", "if", "(", "!", "isTypeLegal", "(", "CF", "->", "getType", "(", ")", ",", "VT", ")", ")", "return", "0", ";", "bool", "HasAVX512", "=", "Subtarget", "->", "hasAVX512", "(", ")", ";", "unsigned", "Opc", "=", "0", ";", "switch", "(", "VT", ".", "SimpleTy", ")", "{", "default", ":", "return", "0", ";", "case", "MVT", "::", "f32", ":", "if", "(", "X86ScalarSSEf32", ")", "Opc", "=", "HasAVX512", "?", "X86", "::", "AVX512_FsFLD0SS", ":", "X86", "::", "FsFLD0SS", ";", "else", "Opc", "=", "X86", "::", "LD_Fp032", ";", "break", ";", "case", "MVT", "::", "f64", ":", "if", "(", "X86ScalarSSEf64", ")", "Opc", "=", "HasAVX512", "?", "X86", "::", "AVX512_FsFLD0SD", ":", "X86", "::", "FsFLD0SD", ";", "else", "Opc", "=", "X86", "::", "LD_Fp064", ";", "break", ";", "case", "MVT", "::", "f80", ":", "return", "0", ";", "}", "unsigned", "ResultReg", "=", "createResultReg", "(", "TLI", ".", "getRegClassFor", "(", "VT", ")", ")", ";", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "TII", ".", "get", "(", "Opc", ")", ",", "ResultReg", ")", ";", "return", "ResultReg", ";", "}", ""], "natrual_language": ["Emit", "the", "floating-point", "constant", "+0.0", "in", "a", "register", "using", "target-", "specific", "logic", "."], "TS_V_token": ["X86", "X86", "0", "0", "0", "MVT::f32", "X86", "X86::AVX512_FsFLD0SS", "X86::FsFLD0SS", "X86::LD_Fp032", "MVT::f64", "X86", "X86::AVX512_FsFLD0SD", "X86::FsFLD0SD", "X86::LD_Fp064", "MVT::f80", "0"], "File": "X86FastISel102", "Func": "fastMaterializeFloatZero", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14648, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "moxie_return_in_memory", "(", "const_tree", "type", ",", "const_tree", "fntype", "ATTRIBUTE_UNUSED", ")", "{", "const", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "return", "(", "size", "==", "-", "1", "||", "size", ">", "2", "*", "UNITS_PER_WORD", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_RETURN_IN_MEMORY", "."], "TS_V_token": ["moxie", "1", "2"], "File": "moxie", "Func": "moxie_return_in_memory", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14649, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "aarch64_parse_opt_result", "aarch64_parse_cpu", "(", "const", "char", "*", "to_parse", ",", "const", "struct", "processor", "*", "*", "res", ",", "unsigned", "long", "*", "isa_flags", ",", "std", "::", "string", "*", "invalid_extension", ")", "{", "const", "char", "*", "ext", ";", "const", "struct", "processor", "*", "cpu", ";", "size_t", "len", ";", "ext", "=", "strchr", "(", "to_parse", ",", "'+'", ")", ";", "if", "(", "ext", "!=", "NULL", ")", "len", "=", "ext", "-", "to_parse", ";", "else", "len", "=", "strlen", "(", "to_parse", ")", ";", "if", "(", "len", "==", "0", ")", "return", "AARCH64_PARSE_MISSING_ARG", ";", "for", "(", "cpu", "=", "all_cores", ";", "cpu", "->", "name", "!=", "NULL", ";", "cpu", "++", ")", "{", "if", "(", "strlen", "(", "cpu", "->", "name", ")", "==", "len", "&&", "strncmp", "(", "cpu", "->", "name", ",", "to_parse", ",", "len", ")", "==", "0", ")", "{", "unsigned", "long", "isa_temp", "=", "cpu", "->", "flags", ";", "if", "(", "ext", "!=", "NULL", ")", "{", "enum", "aarch64_parse_opt_result", "ext_res", "=", "aarch64_parse_extension", "(", "ext", ",", "&", "isa_temp", ",", "invalid_extension", ")", ";", "if", "(", "ext_res", "!=", "AARCH64_PARSE_OK", ")", "return", "ext_res", ";", "}", "*", "res", "=", "cpu", ";", "*", "isa_flags", "=", "isa_temp", ";", "return", "AARCH64_PARSE_OK", ";", "}", "}", "return", "AARCH64_PARSE_INVALID_ARG", ";", "}", ""], "natrual_language": ["Parse", "the", "TO_PARSE", "string", "and", "put", "the", "result", "tuning", "in", "RES", "and", "the", "architecture", "flags", "in", "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", "0", "0"], "File": "aarch646", "Func": "aarch64_parse_cpu", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14650, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "gen_easy_altivec_constant", "(", "rtx", "op", ")", "{", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "op", ")", ";", "int", "nunits", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "rtx", "last", "=", "CONST_VECTOR_ELT", "(", "op", ",", "nunits", "-", "1", ")", ";", "unsigned", "step", "=", "nunits", "/", "4", ";", "unsigned", "copies", "=", "1", ";", "if", "(", "vspltis_constant", "(", "op", ",", "step", ",", "copies", ")", ")", "return", "gen_rtx_VEC_DUPLICATE", "(", "V4SImode", ",", "gen_lowpart", "(", "SImode", ",", "last", ")", ")", ";", "if", "(", "step", "==", "1", ")", "copies", "<<=", "1", ";", "else", "step", ">>=", "1", ";", "if", "(", "vspltis_constant", "(", "op", ",", "step", ",", "copies", ")", ")", "return", "gen_rtx_VEC_DUPLICATE", "(", "V8HImode", ",", "gen_lowpart", "(", "HImode", ",", "last", ")", ")", ";", "if", "(", "step", "==", "1", ")", "copies", "<<=", "1", ";", "else", "step", ">>=", "1", ";", "if", "(", "vspltis_constant", "(", "op", ",", "step", ",", "copies", ")", ")", "return", "gen_rtx_VEC_DUPLICATE", "(", "V16QImode", ",", "gen_lowpart", "(", "QImode", ",", "last", ")", ")", ";", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Generate", "a", "VEC_DUPLICATE", "representing", "a", "vspltis", "[", "bhw", "]", "instruction", "whose", "result", "is", "OP", ".", "Abort", "if", "it", "is", "not", "possible", "."], "TS_V_token": ["rs6000", "1", "4", "1", "1", "1", "1", "1", "1", "1"], "File": "rs60003", "Func": "gen_easy_altivec_constant", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14651, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ARMSubtarget", "*", "ARMBaseTargetMachine", "::", "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", ".", "getFnAttribute", "(", "\"use-soft-float\"", ")", ".", "getValueAsString", "(", ")", "==", "\"true\"", ";", "if", "(", "SoftFloat", ")", "FS", "+=", "FS", ".", "empty", "(", ")", "?", "\"+soft-float\"", ":", "\",+soft-float\"", ";", "std", "::", "string", "Key", "=", "CPU", "+", "FS", ";", "if", "(", "F", ".", "hasMinSize", "(", ")", ")", "Key", "+=", "\"+minsize\"", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "Key", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "llvm", "::", "make_unique", "<", "ARMSubtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "*", "this", ",", "isLittle", ",", "F", ".", "hasMinSize", "(", ")", ")", ";", "if", "(", "!", "I", "->", "isThumb", "(", ")", "&&", "!", "I", "->", "hasARMOps", "(", ")", ")", "F", ".", "getContext", "(", ")", ".", "emitError", "(", "\"Function '\"", "+", "F", ".", "getName", "(", ")", "+", "\"' uses ARM \"", "\"instructions, but the target does not support ARM mode execution.\"", ")", ";", "}", "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": ["ARM", "ARM", "ARM", "\"target-cpu\"", "\"target-features\"", "\"use-soft-float\"", "\"true\"", "\"+soft-float\"", "\",+soft-float\"", "\"+minsize\"", "ARM", "ARM", "\"Function '\"", "\"' uses ARM \"", "\"instructions, but the target does not support ARM mode execution.\""], "File": "ARMTargetMachine101", "Func": "getSubtargetImpl", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14652, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "canInsertSelect", "(", "const", "MachineBasicBlock", "&", "MBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Pred", ",", "unsigned", "DstReg", ",", "unsigned", "TrueReg", ",", "unsigned", "FalseReg", ",", "int", "&", "CondCycles", ",", "int", "&", "TrueCycles", ",", "int", "&", "FalseCycles", ")", "const", "{", "if", "(", "!", "STI", ".", "hasLoadStoreOnCond", "(", ")", ")", "return", "false", ";", "if", "(", "Pred", ".", "size", "(", ")", "!=", "2", ")", "return", "false", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "RI", ".", "getCommonSubClass", "(", "MRI", ".", "getRegClass", "(", "TrueReg", ")", ",", "MRI", ".", "getRegClass", "(", "FalseReg", ")", ")", ";", "if", "(", "!", "RC", ")", "return", "false", ";", "if", "(", "(", "STI", ".", "hasLoadStoreOnCond2", "(", ")", "&&", "SystemZ", "::", "GRX32BitRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "||", "SystemZ", "::", "GR32BitRegClass", ".", "hasSubClassEq", "(", "RC", ")", "||", "SystemZ", "::", "GR64BitRegClass", ".", "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": ["SystemZ", "SystemZ", "2", "SystemZ::GRX32BitRegClass", "SystemZ::GR32BitRegClass", "SystemZ::GR64BitRegClass", "2", "2", "2"], "File": "SystemZInstrInfo42", "Func": "canInsertSelect", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14653, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ia64_direct_return", "(", "void", ")", "{", "if", "(", "reload_completed", "&&", "!", "frame_pointer_needed", ")", "{", "ia64_compute_frame_size", "(", "get_frame_size", "(", ")", ")", ";", "return", "(", "current_frame_info", ".", "total_size", "==", "0", "&&", "current_frame_info", ".", "n_spilled", "==", "0", "&&", "current_frame_info", ".", "reg_save_b0", "==", "0", "&&", "current_frame_info", ".", "reg_save_pr", "==", "0", "&&", "current_frame_info", ".", "reg_save_ar_pfs", "==", "0", "&&", "current_frame_info", ".", "reg_save_ar_unat", "==", "0", "&&", "current_frame_info", ".", "reg_save_ar_lc", "==", "0", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "1", "if", "br.ret", "can", "do", "all", "the", "work", "required", "to", "return", "from", "a", "function", "."], "TS_V_token": ["ia64", "0", "0", "0", "0", "0", "0", "0", "0"], "File": "ia643", "Func": "ia64_direct_return", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14654, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "hasHighOperandLatency", "(", "const", "TargetSchedModel", "&", "SchedModel", ",", "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", ";", "unsigned", "Latency", "=", "SchedModel", ".", "computeOperandLatency", "(", "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)3", "Func": "hasHighOperandLatency", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14655, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Mips Native Client Rewrite Pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"Mips Native Client Rewrite Pass\""], "File": "MipsNaClRewritePass", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14656, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getReg", "(", ")", "const", "override", "{", "assert", "(", "Kind", "==", "k_Register", "&&", "\"Invalid access!\"", ")", ";", "return", "Reg", ".", "RegNum", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["ARM64", "\"Invalid access!\""], "File": "ARM64AsmParser1", "Func": "getReg", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14657, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "loongarch_signed_immediate_p", "(", "unsigned", "HOST_WIDE_INT", "x", ",", "int", "bits", ",", "int", "shift", "=", "0", ")", "{", "x", "+=", "1", "<<", "(", "bits", "+", "shift", "-", "1", ")", ";", "return", "loongarch_unsigned_immediate_p", "(", "x", ",", "bits", ",", "shift", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "fits", "within", "a", "signed", "field", "of", "BITS", "bits", "that", "is", "shifted", "left", "SHIFT", "bits", "before", "being", "used", "."], "TS_V_token": ["loongarch", "0", "1", "1"], "File": "loongarch", "Func": "loongarch_signed_immediate_p", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14658, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "SICTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "SICPassConfig", "(", "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": ["SIC", "SIC", "SIC"], "File": "SICTargetMachine", "Func": "createPassConfig", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14659, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZHazardRecognizer", "::", "copyState", "(", "SystemZHazardRecognizer", "*", "Incoming", ")", "{", "CurrGroupSize", "=", "Incoming", "->", "CurrGroupSize", ";", "DEBUG", "(", "CurGroupDbg", "=", "Incoming", "->", "CurGroupDbg", ";", ")", ";", "ProcResourceCounters", "=", "Incoming", "->", "ProcResourceCounters", ";", "CriticalResourceIdx", "=", "Incoming", "->", "CriticalResourceIdx", ";", "LastFPdOpCycleIdx", "=", "Incoming", "->", "LastFPdOpCycleIdx", ";", "GrpCount", "=", "Incoming", "->", "GrpCount", ";", "}", ""], "natrual_language": ["Copy", "counters", "from", "end", "of", "single", "predecessor", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ"], "File": "SystemZHazardRecognizer10", "Func": "copyState", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14660, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "LoongArchDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "CS", ")", "const", "{", "uint32_t", "Insn", ";", "DecodeStatus", "Result", ";", "if", "(", "Bytes", ".", "size", "(", ")", "<", "4", ")", "{", "Size", "=", "0", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "Insn", "=", "support", "::", "endian", "::", "read32le", "(", "Bytes", ".", "data", "(", ")", ")", ";", "Result", "=", "decodeInstruction", "(", "DecoderTable32", ",", "MI", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "Size", "=", "4", ";", "return", "Result", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["LoongArch", "LoongArch", "4", "0", "support::endian", "4"], "File": "LoongArchDisassembler", "Func": "getInstruction", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14661, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64RegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "AArch64", "::", "GPR32RegClassID", ":", "case", "AArch64", "::", "GPR32spRegClassID", ":", "case", "AArch64", "::", "GPR32allRegClassID", ":", "case", "AArch64", "::", "GPR64spRegClassID", ":", "case", "AArch64", "::", "GPR64allRegClassID", ":", "case", "AArch64", "::", "GPR64RegClassID", ":", "case", "AArch64", "::", "GPR32commonRegClassID", ":", "case", "AArch64", "::", "GPR64commonRegClassID", ":", "return", "32", "-", "1", "-", "(", "TFI", "->", "hasFP", "(", "MF", ")", "||", "STI", "->", "isTargetDarwin", "(", ")", ")", "-", "STI", "->", "isTargetDarwin", "(", ")", "-", "hasBasePointer", "(", "MF", ")", ";", "case", "AArch64", "::", "FPR8RegClassID", ":", "case", "AArch64", "::", "FPR16RegClassID", ":", "case", "AArch64", "::", "FPR32RegClassID", ":", "case", "AArch64", "::", "FPR64RegClassID", ":", "case", "AArch64", "::", "FPR128RegClassID", ":", "return", "32", ";", "case", "AArch64", "::", "DDRegClassID", ":", "case", "AArch64", "::", "DDDRegClassID", ":", "case", "AArch64", "::", "DDDDRegClassID", ":", "case", "AArch64", "::", "QQRegClassID", ":", "case", "AArch64", "::", "QQQRegClassID", ":", "case", "AArch64", "::", "QQQQRegClassID", ":", "return", "32", ";", "case", "AArch64", "::", "FPR128_loRegClassID", ":", "return", "16", ";", "}", "}", ""], "natrual_language": ["Return", "the", "register", "pressure", "``", "high", "water", "mark", "''", "for", "the", "specific", "register", "class", "."], "TS_V_token": ["AArch64", "AArch64", "0", "AArch64::GPR32RegClassID", "AArch64::GPR32spRegClassID", "AArch64::GPR32allRegClassID", "AArch64::GPR64spRegClassID", "AArch64::GPR64allRegClassID", "AArch64::GPR64RegClassID", "AArch64::GPR32commonRegClassID", "AArch64::GPR64commonRegClassID", "32", "1", "AArch64::FPR8RegClassID", "AArch64::FPR16RegClassID", "AArch64::FPR32RegClassID", "AArch64::FPR64RegClassID", "AArch64::FPR128RegClassID", "32", "AArch64::DDRegClassID", "AArch64::DDDRegClassID", "AArch64::DDDDRegClassID", "AArch64::QQRegClassID", "AArch64::QQQRegClassID", "AArch64::QQQQRegClassID", "32", "AArch64::FPR128_loRegClassID", "16"], "File": "AArch64RegisterInfo1", "Func": "getRegPressureLimit", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14662, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMCodeEmitter", "::", "getMachineOpValue", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "&", "MO", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "getARMRegisterNumbering", "(", "MO", ".", "getReg", "(", ")", ")", ";", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "else", "if", "(", "MO", ".", "isGlobal", "(", ")", ")", "emitGlobalAddress", "(", "MO", ".", "getGlobal", "(", ")", ",", "ARM", "::", "reloc_arm_branch", ",", "true", ",", "false", ")", ";", "else", "if", "(", "MO", ".", "isSymbol", "(", ")", ")", "emitExternalSymbolAddress", "(", "MO", ".", "getSymbolName", "(", ")", ",", "ARM", "::", "reloc_arm_branch", ")", ";", "else", "if", "(", "MO", ".", "isCPI", "(", ")", ")", "{", "const", "MCInstrDesc", "&", "MCID", "=", "MI", ".", "getDesc", "(", ")", ";", "unsigned", "Reloc", "=", "(", "(", "MCID", ".", "TSFlags", "&", "ARMII", "::", "FormMask", ")", "==", "ARMII", "::", "VFPLdStFrm", ")", "?", "ARM", "::", "reloc_arm_vfp_cp_entry", ":", "ARM", "::", "reloc_arm_cp_entry", ";", "emitConstPoolAddress", "(", "MO", ".", "getIndex", "(", ")", ",", "Reloc", ")", ";", "}", "else", "if", "(", "MO", ".", "isJTI", "(", ")", ")", "emitJumpTableAddress", "(", "MO", ".", "getIndex", "(", ")", ",", "ARM", "::", "reloc_arm_relative", ")", ";", "else", "if", "(", "MO", ".", "isMBB", "(", ")", ")", "emitMachineBasicBlock", "(", "MO", ".", "getMBB", "(", ")", ",", "ARM", "::", "reloc_arm_branch", ")", ";", "else", "llvm_unreachable", "(", "\"Unable to encode MachineOperand!\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM::reloc_arm_branch", "ARM::reloc_arm_branch", "ARMII::FormMask", "ARMII::VFPLdStFrm", "ARM::reloc_arm_vfp_cp_entry", "ARM::reloc_arm_cp_entry", "ARM::reloc_arm_relative", "ARM::reloc_arm_branch", "\"Unable to encode MachineOperand!\"", "0"], "File": "ARMCodeEmitter12", "Func": "getMachineOpValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14663, "Length": 219, "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", "{", "Value", "=", "adjustFixupValue", "(", "Fixup", ".", "getKind", "(", ")", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "4", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "Endian", "==", "support", "::", "little", "?", "i", ":", "3", "-", "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": ["Sparc", "0", "4", "support::little", "3", "8", "0xff"], "File": "SparcAsmBackend11", "Func": "applyFixup", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14664, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86LoadValueInjectionLoadHardeningUnoptimizedPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** \"", "<<", "getPassName", "(", ")", "<<", "\" : \"", "<<", "MF", ".", "getName", "(", ")", "<<", "\" *****\\n\"", ")", ";", "const", "X86Subtarget", "*", "STI", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "STI", "->", "useLVILoadHardening", "(", ")", ")", "return", "false", ";", "if", "(", "!", "STI", "->", "is64Bit", "(", ")", ")", "report_fatal_error", "(", "\"LVI load hardening is only supported on 64-bit\"", ",", "false", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "!", "F", ".", "hasOptNone", "(", ")", "&&", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "bool", "Modified", "=", "false", ";", "++", "NumFunctionsConsidered", ";", "const", "TargetInstrInfo", "*", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "if", "(", "!", "MI", ".", "mayLoad", "(", ")", "||", "MI", ".", "getOpcode", "(", ")", "==", "X86", "::", "LFENCE", "||", "MI", ".", "getOpcode", "(", ")", "==", "X86", "::", "MFENCE", ")", "continue", ";", "MachineBasicBlock", "::", "iterator", "InsertionPt", "=", "MI", ".", "getNextNode", "(", ")", "?", "MI", ".", "getNextNode", "(", ")", ":", "MBB", ".", "end", "(", ")", ";", "BuildMI", "(", "MBB", ",", "InsertionPt", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "X86", "::", "LFENCE", ")", ")", ";", "++", "NumFences", ";", "Modified", "=", "true", ";", "}", "}", "if", "(", "Modified", ")", "++", "NumFunctionsMitigated", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "\"***** \"", "\" : \"", "\" *****\\n\"", "X86", "X86", "\"LVI load hardening is only supported on 64-bit\"", "X86::LFENCE", "X86::MFENCE", "X86::LFENCE"], "File": "X86LoadValueInjectionLoadHardening2", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14665, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCMCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "assert", "(", "(", "MI", ".", "getOpcode", "(", ")", "!=", "PPC", "::", "MTCRF", "&&", "MI", ".", "getOpcode", "(", ")", "!=", "PPC", "::", "MFOCRF", ")", "||", "MO", ".", "getReg", "(", ")", "<", "PPC", "::", "CR0", "||", "MO", ".", "getReg", "(", ")", ">", "PPC", "::", "CR7", ")", ";", "return", "getPPCRegisterNumbering", "(", "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": "PPCMCCodeEmitter11", "Func": "getMachineOpValue", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14666, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SparcSubtarget", "*", "SparcTargetMachine", "::", "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", "(", ")", "?", "\"+soft-float\"", ":", "\",+soft-float\"", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "CPU", "+", "FS", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "std", "::", "make_unique", "<", "SparcSubtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "*", "this", ",", "this", "->", "is64Bit", ")", ";", "}", "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": ["Sparc", "Sparc", "Sparc", "\"target-cpu\"", "\"target-features\"", "\"use-soft-float\"", "\"+soft-float\"", "\",+soft-float\"", "Sparc"], "File": "SparcTargetMachine (2)1", "Func": "getSubtargetImpl", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14667, "Length": 164, "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", "]", "=", "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": "sh", "Func": "sh_fix_range", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14668, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_evpc_sve_tbl", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "HOST_WIDE_INT", "nelt", ";", "if", "(", "!", "d", "->", "one_vector_p", "&&", "!", "d", "->", "perm", ".", "length", "(", ")", ".", "is_constant", "(", "&", "nelt", ")", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "machine_mode", "sel_mode", "=", "mode_for_int_vector", "(", "d", "->", "vmode", ")", ".", "require", "(", ")", ";", "rtx", "sel", "=", "vec_perm_indices_to_rtx", "(", "sel_mode", ",", "d", "->", "perm", ")", ";", "aarch64_expand_sve_vec_perm", "(", "d", "->", "target", ",", "d", "->", "op0", ",", "d", "->", "op1", ",", "sel", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Try", "to", "implement", "D", "using", "an", "SVE", "TBL", "instruction", "."], "TS_V_token": ["aarch64"], "File": "aarch645", "Func": "aarch64_evpc_sve_tbl", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14669, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "isUnconditionalTailCall", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "X86", "::", "TCRETURNdi", ":", "case", "X86", "::", "TCRETURNri", ":", "case", "X86", "::", "TCRETURNmi", ":", "case", "X86", "::", "TCRETURNdi64", ":", "case", "X86", "::", "TCRETURNri64", ":", "case", "X86", "::", "TCRETURNmi64", ":", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Returns", "true", "if", "MI", "is", "an", "unconditional", "tail", "call", "."], "TS_V_token": ["X86", "X86", "X86::TCRETURNdi", "X86::TCRETURNri", "X86::TCRETURNmi", "X86::TCRETURNdi64", "X86::TCRETURNri64", "X86::TCRETURNmi64"], "File": "X86InstrInfo (2)3", "Func": "isUnconditionalTailCall", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14670, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86RegisterInfo", "::", "getSEHRegNum", "(", "unsigned", "i", ")", "const", "{", "int", "reg", "=", "X86_MC", "::", "getX86RegNum", "(", "i", ")", ";", "switch", "(", "i", ")", "{", "case", "X86", "::", "R8", ":", "case", "X86", "::", "R8D", ":", "case", "X86", "::", "R8W", ":", "case", "X86", "::", "R8B", ":", "case", "X86", "::", "R9", ":", "case", "X86", "::", "R9D", ":", "case", "X86", "::", "R9W", ":", "case", "X86", "::", "R9B", ":", "case", "X86", "::", "R10", ":", "case", "X86", "::", "R10D", ":", "case", "X86", "::", "R10W", ":", "case", "X86", "::", "R10B", ":", "case", "X86", "::", "R11", ":", "case", "X86", "::", "R11D", ":", "case", "X86", "::", "R11W", ":", "case", "X86", "::", "R11B", ":", "case", "X86", "::", "R12", ":", "case", "X86", "::", "R12D", ":", "case", "X86", "::", "R12W", ":", "case", "X86", "::", "R12B", ":", "case", "X86", "::", "R13", ":", "case", "X86", "::", "R13D", ":", "case", "X86", "::", "R13W", ":", "case", "X86", "::", "R13B", ":", "case", "X86", "::", "R14", ":", "case", "X86", "::", "R14D", ":", "case", "X86", "::", "R14W", ":", "case", "X86", "::", "R14B", ":", "case", "X86", "::", "R15", ":", "case", "X86", "::", "R15D", ":", "case", "X86", "::", "R15W", ":", "case", "X86", "::", "R15B", ":", "case", "X86", "::", "XMM8", ":", "case", "X86", "::", "XMM9", ":", "case", "X86", "::", "XMM10", ":", "case", "X86", "::", "XMM11", ":", "case", "X86", "::", "XMM12", ":", "case", "X86", "::", "XMM13", ":", "case", "X86", "::", "XMM14", ":", "case", "X86", "::", "XMM15", ":", "case", "X86", "::", "YMM8", ":", "case", "X86", "::", "YMM9", ":", "case", "X86", "::", "YMM10", ":", "case", "X86", "::", "YMM11", ":", "case", "X86", "::", "YMM12", ":", "case", "X86", "::", "YMM13", ":", "case", "X86", "::", "YMM14", ":", "case", "X86", "::", "YMM15", ":", "reg", "+=", "8", ";", "}", "return", "reg", ";", "}", ""], "natrual_language": ["Map", "a", "target", "register", "to", "an", "equivalent", "SEH", "register", "number", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86::R8", "X86::R8D", "X86::R8W", "X86::R8B", "X86::R9", "X86::R9D", "X86::R9W", "X86::R9B", "X86::R10", "X86::R10D", "X86::R10W", "X86::R10B", "X86::R11", "X86::R11D", "X86::R11W", "X86::R11B", "X86::R12", "X86::R12D", "X86::R12W", "X86::R12B", "X86::R13", "X86::R13D", "X86::R13W", "X86::R13B", "X86::R14", "X86::R14D", "X86::R14W", "X86::R14B", "X86::R15", "X86::R15D", "X86::R15W", "X86::R15B", "X86::XMM8", "X86::XMM9", "X86::XMM10", "X86::XMM11", "X86::XMM12", "X86::XMM13", "X86::XMM14", "X86::XMM15", "X86::YMM8", "X86::YMM9", "X86::YMM10", "X86::YMM11", "X86::YMM12", "X86::YMM13", "X86::YMM14", "X86::YMM15", "8"], "File": "X86RegisterInfo101", "Func": "getSEHRegNum", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14671, "Length": 274, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ia64_cannot_force_const_mem", "(", "rtx", "x", ")", "{", "return", "tls_symbolic_operand_type", "(", "x", ")", "!=", "0", ";", "}", ""], "natrual_language": ["Do", "n't", "allow", "TLS", "addresses", "to", "get", "spilled", "to", "memory", "."], "TS_V_token": ["ia64", "0"], "File": "ia643", "Func": "ia64_cannot_force_const_mem", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14672, "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": 14673, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "useLoadStackGuardNode", "(", ")", "const", "{", "if", "(", "Subtarget", "->", "isTargetAndroid", "(", ")", "||", "Subtarget", "->", "isTargetFuchsia", "(", ")", ")", "return", "TargetLowering", "::", "useLoadStackGuardNode", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["If", "this", "function", "returns", "true", ",", "SelectionDAGBuilder", "emits", "a", "LOAD_STACK_GUARD", "node", "when", "it", "is", "lowering", "Intrinsic", ":", ":stackprotector", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ISelLowering (2)2", "Func": "useLoadStackGuardNode", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14674, "Length": 33, "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", ")", ")", "&&", "rs6000_reg_live_or_pic_offset_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": ["powerpcspe", "13", "31", "0"], "File": "powerpcspe", "Func": "first_reg_to_save", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14675, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiInstrInfo", "::", "getMemOperandWithOffsetWidth", "(", "const", "MachineInstr", "&", "LdSt", ",", "const", "MachineOperand", "*", "&", "BaseOp", ",", "int64_t", "&", "Offset", ",", "unsigned", "&", "Width", ",", "const", "TargetRegisterInfo", "*", ")", "const", "{", "if", "(", "LdSt", ".", "getNumOperands", "(", ")", "!=", "4", ")", "return", "false", ";", "if", "(", "!", "LdSt", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "||", "!", "LdSt", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", "||", "!", "(", "LdSt", ".", "getOperand", "(", "3", ")", ".", "isImm", "(", ")", "&&", "LdSt", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "==", "LPAC", "::", "ADD", ")", ")", "return", "false", ";", "switch", "(", "LdSt", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Lanai", "::", "LDW_RI", ":", "case", "Lanai", "::", "LDW_RR", ":", "case", "Lanai", "::", "SW_RR", ":", "case", "Lanai", "::", "SW_RI", ":", "Width", "=", "4", ";", "break", ";", "case", "Lanai", "::", "LDHs_RI", ":", "case", "Lanai", "::", "LDHz_RI", ":", "case", "Lanai", "::", "STH_RI", ":", "Width", "=", "2", ";", "break", ";", "case", "Lanai", "::", "LDBs_RI", ":", "case", "Lanai", "::", "LDBz_RI", ":", "case", "Lanai", "::", "STB_RI", ":", "Width", "=", "1", ";", "break", ";", "}", "BaseOp", "=", "&", "LdSt", ".", "getOperand", "(", "1", ")", ";", "Offset", "=", "LdSt", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "assert", "(", "BaseOp", "->", "isReg", "(", ")", "&&", "\"getMemOperandWithOffset only supports base \"", "\"operands of type register.\"", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "get", "the", "base", "operand", ",", "byte", "offset", "of", "an", "instruction", "and", "the", "memory", "width", "."], "TS_V_token": ["Lanai", "Lanai", "4", "1", "2", "3", "3", "Lanai::LDW_RI", "Lanai::LDW_RR", "Lanai::SW_RR", "Lanai::SW_RI", "4", "Lanai::LDHs_RI", "Lanai::LDHz_RI", "Lanai::STH_RI", "2", "Lanai::LDBs_RI", "Lanai::LDBz_RI", "Lanai::STB_RI", "1", "1", "2", "\"getMemOperandWithOffset only supports base \"", "\"operands of type register.\""], "File": "LanaiInstrInfo10", "Func": "getMemOperandWithOffsetWidth", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14676, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcInstrInfo", "::", "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", "==", "SP", "::", "IntRegsRegisterClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "else", "if", "(", "RC", "==", "SP", "::", "FPRegsRegisterClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDFri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "else", "if", "(", "RC", "==", "SP", "::", "DFPRegsRegisterClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDDFri", ")", ",", "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": ["Sparc", "Sparc", "SP::IntRegsRegisterClass", "SP::LDri", "0", "SP::FPRegsRegisterClass", "SP::LDFri", "0", "SP::DFPRegsRegisterClass", "SP::LDDFri", "0", "\"Can't load this register from stack slot\""], "File": "SparcInstrInfo22", "Func": "loadRegFromStackSlot", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14677, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "STI", ".", "isTargetDarwin", "(", ")", "||", "hasFP", "(", "MF", ")", ")", "return", "FramePtr", ";", "return", "ARM", "::", "SP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["ARM", "ARM", "ARM::SP"], "File": "ARMBaseRegisterInfo12", "Func": "getFrameRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14678, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"PowerPC QPX Load Splat Simplification\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["PowerPC", "\"PowerPC QPX Load Splat Simplification\""], "File": "PPCQPXLoadSplat5", "Func": "getPassName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14679, "Length": 13, "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": "LeonPasses11", "Func": "getPassName", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14680, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FastISel", "::", "tryToFoldLoadIntoMI", "(", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "LoadInst", "*", "LI", ")", "{", "const", "Value", "*", "Ptr", "=", "LI", "->", "getPointerOperand", "(", ")", ";", "X86AddressMode", "AM", ";", "if", "(", "!", "X86SelectAddress", "(", "Ptr", ",", "AM", ")", ")", "return", "false", ";", "const", "X86InstrInfo", "&", "XII", "=", "(", "const", "X86InstrInfo", "&", ")", "TII", ";", "unsigned", "Size", "=", "DL", ".", "getTypeAllocSize", "(", "LI", "->", "getType", "(", ")", ")", ";", "unsigned", "Alignment", "=", "LI", "->", "getAlignment", "(", ")", ";", "if", "(", "Alignment", "==", "0", ")", "Alignment", "=", "DL", ".", "getABITypeAlignment", "(", "LI", "->", "getType", "(", ")", ")", ";", "SmallVector", "<", "MachineOperand", ",", "8", ">", "AddrOps", ";", "AM", ".", "getFullAddress", "(", "AddrOps", ")", ";", "MachineInstr", "*", "Result", "=", "XII", ".", "foldMemoryOperandImpl", "(", "*", "FuncInfo", ".", "MF", ",", "MI", ",", "OpNo", ",", "AddrOps", ",", "Size", ",", "Alignment", ")", ";", "if", "(", "!", "Result", ")", "return", "false", ";", "Result", "->", "addMemOperand", "(", "*", "FuncInfo", ".", "MF", ",", "createMachineMemOperandFor", "(", "LI", ")", ")", ";", "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", "X86", "X86", "0", "8"], "File": "X86FastISel (2)1", "Func": "tryToFoldLoadIntoMI", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14681, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "ix86_builtin_decl", "(", "unsigned", "code", ",", "bool", ")", "{", "if", "(", "code", ">=", "IX86_BUILTIN_MAX", ")", "return", "error_mark_node", ";", "return", "ix86_builtins", "[", "code", "]", ";", "}", ""], "natrual_language": ["Return", "the", "ix86", "builtin", "for", "CODE", "."], "TS_V_token": ["i386"], "File": "i386-builtins", "Func": "ix86_builtin_decl", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14682, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Align", "X86TargetLowering", "::", "getPrefLoopAlignment", "(", "MachineLoop", "*", "ML", ")", "const", "{", "if", "(", "ML", "->", "isInnermost", "(", ")", "&&", "ExperimentalPrefInnermostLoopAlignment", ".", "getNumOccurrences", "(", ")", ")", "return", "Align", "(", "1ULL", "<<", "ExperimentalPrefInnermostLoopAlignment", ")", ";", "return", "TargetLowering", "::", "getPrefLoopAlignment", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "preferred", "loop", "alignment", "."], "TS_V_token": ["X86", "X86", "1ULL"], "File": "X86ISelLowering (2)5", "Func": "getPrefLoopAlignment", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14683, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "unsafe_rename_p", "(", "unsigned", "regno", ")", "{", "if", "(", "regno", "<=", "R8_REGNUM", "||", "(", "regno", ">=", "V0_REGNUM", "&&", "regno", "<", "V8_REGNUM", ")", ")", "return", "true", ";", "switch", "(", "regno", ")", "{", "case", "LR_REGNUM", ":", "case", "HARD_FRAME_POINTER_REGNUM", ":", "case", "FRAME_POINTER_REGNUM", ":", "case", "STACK_POINTER_REGNUM", ":", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "REGNO", "is", "not", "safe", "to", "rename", "."], "TS_V_token": ["aarch64"], "File": "falkor-tag-collision-avoidance", "Func": "unsafe_rename_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14684, "Length": 52, "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", ":", "case", "Mips", "::", "DSLL_MM64R6", ":", "case", "Mips", "::", "DSRL_MM64R6", ":", "case", "Mips", "::", "DSRA_MM64R6", ":", "case", "Mips", "::", "DROTR_MM64R6", ":", "LowerLargeShift", "(", "TmpInst", ")", ";", "break", ";", "case", "Mips", "::", "DINS", ":", "LowerDins", "(", "TmpInst", ")", ";", "break", ";", "case", "Mips", "::", "BEQC", ":", "case", "Mips", "::", "BNEC", ":", "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", ")", ";", "unsigned", "Opcode", "=", "TmpInst", ".", "getOpcode", "(", ")", ";", "if", "(", "(", "Opcode", "!=", "Mips", "::", "NOP", ")", "&&", "(", "Opcode", "!=", "Mips", "::", "SLL", ")", "&&", "(", "Opcode", "!=", "Mips", "::", "SLL_MM", ")", "&&", "!", "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", "(", ")", ";", "Opcode", "=", "NewOpcode", ";", "TmpInst", ".", "setOpcode", "(", "NewOpcode", ")", ";", "Binary", "=", "getBinaryCodeForInstr", "(", "TmpInst", ",", "Fixups", ",", "STI", ")", ";", "}", "}", "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::DSLL_MM64R6", "Mips::DSRL_MM64R6", "Mips::DSRA_MM64R6", "Mips::DROTR_MM64R6", "Mips::DINS", "Mips::BEQC", "Mips::BNEC", "Mips::BOVC", "Mips::BOVC_MMR6", "Mips::BNVC", "Mips::BNVC_MMR6", "Mips::NOP", "Mips::SLL", "Mips::SLL_MM", "\"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", "\"Desc.getSize() returns 0\""], "File": "MipsMCCodeEmitter (2)", "Func": "encodeInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14685, "Length": 387, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isReg", "(", ")", "const", "override", "{", "return", "Kind", "==", "Register", ";", "}", ""], "natrual_language": ["isReg", "-", "Is", "this", "a", "register", "operand", "?"], "TS_V_token": ["MMIX"], "File": "MMIXAsmParser", "Func": "isReg", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14686, "Length": 13, "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", "(", "!", "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"], "File": "PPCTargetMachine25", "Func": "addMachineSSAOptimization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14687, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "SystemZAddressingMode", "::", "AddrForm", "Form", ";", "SystemZAddressingMode", "::", "DispRange", "DispRange", ";", "SDValue", "Base", ",", "Disp", ",", "Index", ";", "switch", "(", "ConstraintID", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected asm memory constraint\"", ")", ";", "case", "InlineAsm", "::", "Constraint_i", ":", "case", "InlineAsm", "::", "Constraint_Q", ":", "case", "InlineAsm", "::", "Constraint_ZQ", ":", "Form", "=", "SystemZAddressingMode", "::", "FormBD", ";", "DispRange", "=", "SystemZAddressingMode", "::", "Disp12Only", ";", "break", ";", "case", "InlineAsm", "::", "Constraint_R", ":", "case", "InlineAsm", "::", "Constraint_ZR", ":", "Form", "=", "SystemZAddressingMode", "::", "FormBDXNormal", ";", "DispRange", "=", "SystemZAddressingMode", "::", "Disp12Only", ";", "break", ";", "case", "InlineAsm", "::", "Constraint_S", ":", "case", "InlineAsm", "::", "Constraint_ZS", ":", "Form", "=", "SystemZAddressingMode", "::", "FormBD", ";", "DispRange", "=", "SystemZAddressingMode", "::", "Disp20Only", ";", "break", ";", "case", "InlineAsm", "::", "Constraint_T", ":", "case", "InlineAsm", "::", "Constraint_m", ":", "case", "InlineAsm", "::", "Constraint_o", ":", "case", "InlineAsm", "::", "Constraint_p", ":", "case", "InlineAsm", "::", "Constraint_ZT", ":", "Form", "=", "SystemZAddressingMode", "::", "FormBDXNormal", ";", "DispRange", "=", "SystemZAddressingMode", "::", "Disp20Only", ";", "break", ";", "}", "if", "(", "selectBDXAddr", "(", "Form", ",", "DispRange", ",", "Op", ",", "Base", ",", "Disp", ",", "Index", ")", ")", "{", "const", "TargetRegisterClass", "*", "TRC", "=", "Subtarget", "->", "getRegisterInfo", "(", ")", "->", "getPointerRegClass", "(", "*", "MF", ")", ";", "SDLoc", "DL", "(", "Base", ")", ";", "SDValue", "RC", "=", "CurDAG", "->", "getTargetConstant", "(", "TRC", "->", "getID", "(", ")", ",", "DL", ",", "MVT", "::", "i32", ")", ";", "if", "(", "Base", ".", "getOpcode", "(", ")", "!=", "ISD", "::", "TargetFrameIndex", "&&", "Base", ".", "getOpcode", "(", ")", "!=", "ISD", "::", "Register", ")", "{", "Base", "=", "SDValue", "(", "CurDAG", "->", "getMachineNode", "(", "TargetOpcode", "::", "COPY_TO_REGCLASS", ",", "DL", ",", "Base", ".", "getValueType", "(", ")", ",", "Base", ",", "RC", ")", ",", "0", ")", ";", "}", "if", "(", "Index", ".", "getOpcode", "(", ")", "!=", "ISD", "::", "Register", ")", "{", "Index", "=", "SDValue", "(", "CurDAG", "->", "getMachineNode", "(", "TargetOpcode", "::", "COPY_TO_REGCLASS", ",", "DL", ",", "Index", ".", "getValueType", "(", ")", ",", "Index", ",", "RC", ")", ",", "0", ")", ";", "}", "OutOps", ".", "push_back", "(", "Base", ")", ";", "OutOps", ".", "push_back", "(", "Disp", ")", ";", "OutOps", ".", "push_back", "(", "Index", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZAddressingMode::AddrForm", "SystemZAddressingMode::DispRange", "\"Unexpected asm memory constraint\"", "SystemZAddressingMode::FormBD", "SystemZAddressingMode::Disp12Only", "SystemZAddressingMode::FormBDXNormal", "SystemZAddressingMode::Disp12Only", "SystemZAddressingMode::FormBD", "SystemZAddressingMode::Disp20Only", "SystemZAddressingMode::FormBDXNormal", "SystemZAddressingMode::Disp20Only", "MVT::i32", "ISD::TargetFrameIndex", "ISD::Register", "0", "ISD::Register", "0"], "File": "SystemZISelDAGToDAG28", "Func": "SelectInlineAsmMemoryOperand", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14688, "Length": 353, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_delegitimize_address", "(", "rtx", "orig_x", ")", "{", "rtx", "x", ",", "y", ",", "offset", ";", "orig_x", "=", "delegitimize_mem_from_attrs", "(", "orig_x", ")", ";", "x", "=", "orig_x", ";", "if", "(", "MEM_P", "(", "x", ")", ")", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "y", "=", "x", ";", "if", "(", "TARGET_CMODEL", "!=", "CMODEL_SMALL", "&&", "GET_CODE", "(", "y", ")", "==", "LO_SUM", ")", "y", "=", "XEXP", "(", "y", ",", "1", ")", ";", "offset", "=", "NULL_RTX", ";", "if", "(", "GET_CODE", "(", "y", ")", "==", "PLUS", "&&", "GET_MODE", "(", "y", ")", "==", "Pmode", "&&", "CONST_INT_P", "(", "XEXP", "(", "y", ",", "1", ")", ")", ")", "{", "offset", "=", "XEXP", "(", "y", ",", "1", ")", ";", "y", "=", "XEXP", "(", "y", ",", "0", ")", ";", "}", "if", "(", "GET_CODE", "(", "y", ")", "==", "UNSPEC", "&&", "XINT", "(", "y", ",", "1", ")", "==", "UNSPEC_TOCREL", ")", "{", "y", "=", "XVECEXP", "(", "y", ",", "0", ",", "0", ")", ";", "if", "(", "TARGET_XCOFF", "&&", "GET_CODE", "(", "y", ")", "==", "SYMBOL_REF", "&&", "CONSTANT_POOL_ADDRESS_P", "(", "y", ")", "&&", "rs6000_real_tls_symbol_ref_p", "(", "get_pool_constant", "(", "y", ")", ")", ")", "return", "orig_x", ";", "if", "(", "offset", "!=", "NULL_RTX", ")", "y", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "y", ",", "offset", ")", ";", "if", "(", "!", "MEM_P", "(", "orig_x", ")", ")", "return", "y", ";", "else", "return", "replace_equiv_address_nv", "(", "orig_x", ",", "y", ")", ";", "}", "if", "(", "TARGET_MACHO", "&&", "GET_CODE", "(", "orig_x", ")", "==", "LO_SUM", "&&", "GET_CODE", "(", "XEXP", "(", "orig_x", ",", "1", ")", ")", "==", "CONST", ")", "{", "y", "=", "XEXP", "(", "XEXP", "(", "orig_x", ",", "1", ")", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "y", ")", "==", "UNSPEC", "&&", "XINT", "(", "y", ",", "1", ")", "==", "UNSPEC_MACHOPIC_OFFSET", ")", "return", "XVECEXP", "(", "y", ",", "0", ",", "0", ")", ";", "}", "return", "orig_x", ";", "}", ""], "natrual_language": ["In", "the", "name", "of", "slightly", "smaller", "debug", "output", ",", "and", "to", "cater", "to", "general", "assembler", "lossage", ",", "recognize", "various", "UNSPEC", "sequences", "and", "turn", "them", "back", "into", "a", "direct", "symbol", "reference", "."], "TS_V_token": ["powerpcspe", "0", "1", "1", "1", "0", "1", "0", "0", "1", "1", "0", "1", "0", "0"], "File": "powerpcspe", "Func": "rs6000_delegitimize_address", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14689, "Length": 284, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPreGlobalInstructionSelect", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ")", "addPass", "(", "new", "Localizer", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "the", "(", "global", ")", "instruction", "selection", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64TargetMachine (2)3", "Func": "addPreGlobalInstructionSelect", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14690, "Length": 28, "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": 14691, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "recombine_lvx_pattern", "(", "rtx_insn", "*", "insn", ",", "del_info", "*", "to_delete", ")", "{", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "body", ")", "==", "SET", "&&", "GET_CODE", "(", "SET_SRC", "(", "body", ")", ")", "==", "VEC_SELECT", "&&", "GET_CODE", "(", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ")", "==", "MEM", ")", ";", "rtx", "mem", "=", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ";", "rtx", "base_reg", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "rtx_insn", "*", "and_insn", ";", "rtx", "and_operation", "=", "find_alignment_op", "(", "insn", ",", "base_reg", ",", "&", "and_insn", ")", ";", "if", "(", "and_operation", "!=", "0", ")", "{", "df_ref", "def", ";", "struct", "df_insn_info", "*", "insn_info", "=", "DF_INSN_INFO_GET", "(", "insn", ")", ";", "FOR_EACH_INSN_INFO_DEF", "(", "def", ",", "insn_info", ")", "{", "struct", "df_link", "*", "link", "=", "DF_REF_CHAIN", "(", "def", ")", ";", "if", "(", "!", "link", "||", "link", "->", "next", ")", "break", ";", "rtx_insn", "*", "swap_insn", "=", "DF_REF_INSN", "(", "link", "->", "ref", ")", ";", "if", "(", "!", "insn_is_swap_p", "(", "swap_insn", ")", "||", "insn_is_load_p", "(", "swap_insn", ")", "||", "insn_is_store_p", "(", "swap_insn", ")", ")", "break", ";", "to_delete", "[", "INSN_UID", "(", "swap_insn", ")", "]", ".", "replace", "=", "true", ";", "to_delete", "[", "INSN_UID", "(", "swap_insn", ")", "]", ".", "replace_insn", "=", "swap_insn", ";", "rtx", "and_base", "=", "XEXP", "(", "and_operation", ",", "0", ")", ";", "rtx", "new_reg", "=", "gen_reg_rtx", "(", "GET_MODE", "(", "and_base", ")", ")", ";", "rtx", "copy", "=", "gen_rtx_SET", "(", "new_reg", ",", "and_base", ")", ";", "rtx_insn", "*", "new_insn", "=", "emit_insn_after", "(", "copy", ",", "and_insn", ")", ";", "set_block_for_insn", "(", "new_insn", ",", "BLOCK_FOR_INSN", "(", "and_insn", ")", ")", ";", "df_insn_rescan", "(", "new_insn", ")", ";", "XEXP", "(", "mem", ",", "0", ")", "=", "gen_rtx_AND", "(", "GET_MODE", "(", "and_base", ")", ",", "new_reg", ",", "XEXP", "(", "and_operation", ",", "1", ")", ")", ";", "SET_SRC", "(", "body", ")", "=", "mem", ";", "INSN_CODE", "(", "insn", ")", "=", "-", "1", ";", "df_insn_rescan", "(", "insn", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"lvx opportunity found at %d\\n\"", ",", "INSN_UID", "(", "insn", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["If", "INSN", "is", "the", "load", "for", "an", "lvx", "pattern", ",", "put", "it", "in", "canonical", "form", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "0", "0", "1", "1", "\"lvx opportunity found at %d\\n\""], "File": "rs6000-p8swap2", "Func": "recombine_lvx_pattern", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14692, "Length": 319, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcPassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcTargetMachine (2)1", "Func": "addIRPasses", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14693, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86SpeculativeExecutionSideEffectSuppression", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "auto", "&", "OptLevel", "=", "MF", ".", "getTarget", "(", ")", ".", "getOptLevel", "(", ")", ";", "const", "X86Subtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "EnableSpeculativeExecutionSideEffectSuppression", "&&", "!", "(", "Subtarget", ".", "useLVILoadHardening", "(", ")", "&&", "OptLevel", "==", "CodeGenOpt", "::", "None", ")", "&&", "!", "Subtarget", ".", "useSpeculativeExecutionSideEffectSuppression", "(", ")", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** \"", "<<", "getPassName", "(", ")", "<<", "\" : \"", "<<", "MF", ".", "getName", "(", ")", "<<", "\" **********\\n\"", ")", ";", "bool", "Modified", "=", "false", ";", "const", "X86InstrInfo", "*", "TII", "=", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "MachineInstr", "*", "FirstTerminator", "=", "nullptr", ";", "bool", "PrevInstIsLFENCE", "=", "false", ";", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "X86", "::", "LFENCE", ")", "{", "PrevInstIsLFENCE", "=", "true", ";", "continue", ";", "}", "if", "(", "MI", ".", "mayLoadOrStore", "(", ")", "&&", "!", "MI", ".", "isTerminator", "(", ")", ")", "{", "if", "(", "!", "PrevInstIsLFENCE", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "X86", "::", "LFENCE", ")", ")", ";", "NumLFENCEsInserted", "++", ";", "Modified", "=", "true", ";", "}", "if", "(", "OneLFENCEPerBasicBlock", ")", "break", ";", "}", "if", "(", "MI", ".", "isTerminator", "(", ")", "&&", "FirstTerminator", "==", "nullptr", ")", "FirstTerminator", "=", "&", "MI", ";", "if", "(", "!", "MI", ".", "isBranch", "(", ")", "||", "OmitBranchLFENCEs", ")", "{", "PrevInstIsLFENCE", "=", "false", ";", "continue", ";", "}", "if", "(", "OnlyLFENCENonConst", "&&", "hasConstantAddressingMode", "(", "MI", ")", ")", "{", "PrevInstIsLFENCE", "=", "false", ";", "continue", ";", "}", "if", "(", "!", "PrevInstIsLFENCE", ")", "{", "assert", "(", "FirstTerminator", "&&", "\"Unknown terminator instruction\"", ")", ";", "BuildMI", "(", "MBB", ",", "FirstTerminator", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "X86", "::", "LFENCE", ")", ")", ";", "NumLFENCEsInserted", "++", ";", "Modified", "=", "true", ";", "}", "break", ";", "}", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "\"********** \"", "\" : \"", "\" **********\\n\"", "X86", "X86::LFENCE", "X86::LFENCE", "\"Unknown terminator instruction\"", "X86::LFENCE"], "File": "X86SpeculativeExecutionSideEffectSuppression2", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14694, "Length": 316, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "SubsumesPredicate", "(", "ArrayRef", "<", "MachineOperand", ">", "Pred1", ",", "ArrayRef", "<", "MachineOperand", ">", "Pred2", ")", "const", "{", "assert", "(", "Pred1", ".", "size", "(", ")", "==", "2", "&&", "\"Invalid PPC first predicate\"", ")", ";", "assert", "(", "Pred2", ".", "size", "(", ")", "==", "2", "&&", "\"Invalid PPC second predicate\"", ")", ";", "if", "(", "Pred1", "[", "1", "]", ".", "getReg", "(", ")", "==", "PPC", "::", "CTR8", "||", "Pred1", "[", "1", "]", ".", "getReg", "(", ")", "==", "PPC", "::", "CTR", ")", "return", "false", ";", "if", "(", "Pred2", "[", "1", "]", ".", "getReg", "(", ")", "==", "PPC", "::", "CTR8", "||", "Pred2", "[", "1", "]", ".", "getReg", "(", ")", "==", "PPC", "::", "CTR", ")", "return", "false", ";", "if", "(", "Pred1", "[", "1", "]", ".", "getReg", "(", ")", "!=", "Pred2", "[", "1", "]", ".", "getReg", "(", ")", ")", "return", "false", ";", "PPC", "::", "Predicate", "P1", "=", "(", "PPC", "::", "Predicate", ")", "Pred1", "[", "0", "]", ".", "getImm", "(", ")", ";", "PPC", "::", "Predicate", "P2", "=", "(", "PPC", "::", "Predicate", ")", "Pred2", "[", "0", "]", ".", "getImm", "(", ")", ";", "if", "(", "P1", "==", "P2", ")", "return", "true", ";", "if", "(", "P1", "==", "PPC", "::", "PRED_LE", "&&", "(", "P2", "==", "PPC", "::", "PRED_LT", "||", "P2", "==", "PPC", "::", "PRED_EQ", ")", ")", "return", "true", ";", "if", "(", "P1", "==", "PPC", "::", "PRED_GE", "&&", "(", "P2", "==", "PPC", "::", "PRED_GT", "||", "P2", "==", "PPC", "::", "PRED_EQ", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "first", "specified", "predicate", "subsumes", "the", "second", ",", "e.g", "."], "TS_V_token": ["PowerPC", "PPC", "2", "\"Invalid PPC first predicate\"", "2", "\"Invalid PPC second predicate\"", "1", "PPC::CTR8", "1", "PPC::CTR", "1", "PPC::CTR8", "1", "PPC::CTR", "1", "1", "PPC::Predicate", "PPC::Predicate", "0", "PPC::Predicate", "PPC::Predicate", "0", "PPC::PRED_LE", "PPC::PRED_LT", "PPC::PRED_EQ", "PPC::PRED_GE", "PPC::PRED_GT", "PPC::PRED_EQ"], "File": "PPCInstrInfo (2)2", "Func": "SubsumesPredicate", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14695, "Length": 231, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InsertPrefetch", "::", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "setPreservesAll", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineModuleInfoWrapperPass", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["X86", "X86"], "File": "X86InsertPrefetch6", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14696, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCRegisterInfo", "::", "hasReservedSpillSlot", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Reg", ",", "int", "&", "FrameIdx", ")", "const", "{", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", "&&", "PPC", "::", "CR2", "<=", "Reg", "&&", "Reg", "<=", "PPC", "::", "CR4", ")", "{", "if", "(", "Subtarget", ".", "isPPC64", "(", ")", ")", "{", "FrameIdx", "=", "0", ";", "}", "else", "if", "(", "CRSpillFrameIdx", ")", "{", "FrameIdx", "=", "CRSpillFrameIdx", ";", "}", "else", "{", "MachineFrameInfo", "*", "MFI", "=", "(", "const_cast", "<", "MachineFunction", "&", ">", "(", "MF", ")", ")", ".", "getFrameInfo", "(", ")", ";", "FrameIdx", "=", "MFI", "->", "CreateFixedObject", "(", "(", "uint64_t", ")", "4", ",", "(", "int64_t", ")", "-", "4", ",", "true", ")", ";", "CRSpillFrameIdx", "=", "FrameIdx", ";", "}", "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": ["PowerPC", "PPC", "PPC::CR2", "PPC::CR4", "PPC", "0", "4", "4"], "File": "PPCRegisterInfo14", "Func": "hasReservedSpillSlot", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14697, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "AArch64TargetStreamer", "::", "addConstantPoolEntry", "(", "const", "MCExpr", "*", "Expr", ",", "unsigned", "Size", ",", "SMLoc", "Loc", ")", "{", "return", "ConstantPools", "->", "addEntry", "(", "Streamer", ",", "Expr", ",", "Size", ",", "Loc", ")", ";", "}", ""], "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": "AArch64TargetStreamer10", "Func": "addConstantPoolEntry", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14698, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "unsigned", "VReg", ")", "const", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "auto", "MIB", "=", "MIRBuilder", ".", "buildInstrNoInsert", "(", "AArch64", "::", "RET_ReallyLR", ")", ";", "assert", "(", "(", "(", "Val", "&&", "VReg", ")", "||", "(", "!", "Val", "&&", "!", "VReg", ")", ")", "&&", "\"Return value without a vreg\"", ")", ";", "bool", "Success", "=", "true", ";", "if", "(", "VReg", ")", "{", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "if", "(", "MRI", ".", "getType", "(", "VReg", ")", ".", "getSizeInBits", "(", ")", "==", "1", ")", "VReg", "=", "MIRBuilder", ".", "buildZExt", "(", "LLT", "::", "scalar", "(", "8", ")", ",", "VReg", ")", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "const", "AArch64TargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "AArch64TargetLowering", ">", "(", ")", ";", "CCAssignFn", "*", "AssignFn", "=", "TLI", ".", "CCAssignFnForReturn", "(", "F", ".", "getCallingConv", "(", ")", ")", ";", "auto", "&", "DL", "=", "F", ".", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "ArgInfo", "OrigArg", "{", "VReg", ",", "Val", "->", "getType", "(", ")", "}", ";", "setArgFlags", "(", "OrigArg", ",", "AttributeList", "::", "ReturnIndex", ",", "DL", ",", "F", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "SplitArgs", ";", "splitToValueTypes", "(", "OrigArg", ",", "SplitArgs", ",", "DL", ",", "MRI", ",", "F", ".", "getCallingConv", "(", ")", ",", "[", "&", "]", "(", "unsigned", "Reg", ",", "uint64_t", "Offset", ")", "{", "MIRBuilder", ".", "buildExtract", "(", "Reg", ",", "VReg", ",", "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\"", "1", "8", "0", "AArch64", "AArch64", "8"], "File": "AArch64CallLowering32", "Func": "lowerReturn", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14699, "Length": 286, "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", "(", "hasMips64", "(", ")", "?", "&", "Mips", "::", "CPU64RegsRegClass", ":", "&", "Mips", "::", "CPURegsRegClass", ")", ";", "return", "OptLevel", ">=", "CodeGenOpt", "::", "Aggressive", ";", "}", ""], "natrual_language": ["True", "if", "the", "subtarget", "should", "run", "a", "scheduler", "after", "register", "allocation", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips::CPU64RegsRegClass", "Mips::CPURegsRegClass"], "File": "MipsSubtarget10", "Func": "enablePostRAScheduler", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14700, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "MMIXTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "MMIXPassConfig", "(", "*", "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": ["MMIX", "MMIX", "MMIX"], "File": "MMIXTargetMachine", "Func": "createPassConfig", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14701, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "fits_dispatch_window", "(", "rtx_insn", "*", "insn", ")", "{", "dispatch_windows", "*", "window_list", "=", "dispatch_window_list", ";", "dispatch_windows", "*", "window_list_next", "=", "dispatch_window_list", "->", "next", ";", "unsigned", "int", "num_restrict", ";", "enum", "dispatch_group", "group", "=", "get_insn_group", "(", "insn", ")", ";", "enum", "insn_path", "path", "=", "get_insn_path", "(", "insn", ")", ";", "int", "sum", ";", "if", "(", "group", "==", "disp_jcc", "||", "group", "==", "disp_cmp", ")", "return", "false", ";", "if", "(", "group", "==", "disp_no_group", "||", "group", "==", "disp_branch", ")", "return", "true", ";", "if", "(", "window_list_next", ")", "window_list", "=", "window_list_next", ";", "if", "(", "window_list", "->", "window_num", "==", "1", ")", "{", "sum", "=", "window_list", "->", "prev", "->", "window_size", "+", "window_list", "->", "window_size", ";", "if", "(", "sum", "==", "32", "||", "(", "ix86_min_insn_size", "(", "insn", ")", "+", "sum", ")", ">=", "48", ")", "return", "true", ";", "}", "num_restrict", "=", "count_num_restricted", "(", "insn", ",", "window_list", ")", ";", "if", "(", "num_restrict", ">", "num_allowable_groups", "[", "group", "]", ")", "return", "false", ";", "if", "(", "window_list", "->", "window_num", "==", "0", ")", "{", "if", "(", "path", "==", "path_double", "&&", "(", "window_list", "->", "num_uops", "+", "2", ")", ">", "MAX_INSN", ")", "return", "false", ";", "else", "if", "(", "path", "!=", "path_single", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["This", "function", "returns", "true", "if", "insn", "satisfies", "dispatch", "rules", "on", "the", "last", "window", "scheduled", "."], "TS_V_token": ["i386", "1", "32", "48", "0", "2"], "File": "x86-tune-sched-bd", "Func": "fits_dispatch_window", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14702, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsInstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", "->", "getParent", "(", ")", ";", "switch", "(", "MI", "->", "getDesc", "(", ")", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Mips", "::", "RetRA", ":", "ExpandRetRA", "(", "MBB", ",", "MI", ",", "Mips", "::", "RET", ")", ";", "break", ";", "case", "Mips", "::", "RetRA16", ":", "ExpandRetRA", "(", "MBB", ",", "MI", ",", "Mips", "::", "RET16", ")", ";", "break", ";", "case", "Mips", "::", "BuildPairF64", ":", "ExpandBuildPairF64", "(", "MBB", ",", "MI", ")", ";", "break", ";", "case", "Mips", "::", "ExtractElementF64", ":", "ExpandExtractElementF64", "(", "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::RetRA", "Mips::RET", "Mips::RetRA16", "Mips::RET16", "Mips::BuildPairF64", "Mips::ExtractElementF64"], "File": "MipsInstrInfo25", "Func": "expandPostRAPseudo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14703, "Length": 117, "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", "(", "this", ",", "nullptr", ",", "SawStore", ")", ")", "return", "nullptr", ";", "unsigned", "IdxEnd", "=", "(", "MI", "->", "isCommutable", "(", ")", ")", "?", "2", ":", "1", ";", "for", "(", "unsigned", "Idx", "=", "0", ";", "Idx", "<", "IdxEnd", ";", "Idx", "++", ")", "{", "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", ";", "SmallVector", "<", "unsigned", ",", "8", ">", "Ops", ";", "Ops", ".", "push_back", "(", "SrcOperandId", ")", ";", "MachineInstr", "*", "FoldMI", "=", "foldMemoryOperand", "(", "MI", ",", "Ops", ",", "DefMI", ")", ";", "if", "(", "FoldMI", ")", "{", "FoldAsLoadDefReg", "=", "0", ";", "return", "FoldMI", ";", "}", "if", "(", "Idx", "==", "1", ")", "{", "commuteInstruction", "(", "MI", ",", "false", ")", ";", "return", "nullptr", ";", "}", "if", "(", "MI", "->", "isCommutable", "(", ")", ")", "{", "MachineInstr", "*", "NewMI", "=", "commuteInstruction", "(", "MI", ",", "false", ")", ";", "if", "(", "!", "NewMI", ")", "return", "nullptr", ";", "if", "(", "NewMI", "!=", "MI", ")", "{", "NewMI", "->", "eraseFromParent", "(", ")", ";", "return", "nullptr", ";", "}", "}", "}", "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", "2", "1", "0", "0", "0", "8", "0", "1"], "File": "X86InstrInfo125", "Func": "optimizeLoadInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14704, "Length": 340, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "function_symbol", "(", "rtx", "target", ",", "const", "char", "*", "name", ",", "enum", "sh_function_kind", "kind", ")", "{", "rtx", "sym", ";", "if", "(", "kind", "!=", "FUNCTION_ORDINARY", ")", "name", "=", "IDENTIFIER_POINTER", "(", "get_identifier", "(", "name", ")", ")", ";", "sym", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "name", ")", ";", "SYMBOL_REF_FLAGS", "(", "sym", ")", "=", "SYMBOL_FLAG_FUNCTION", ";", "if", "(", "flag_pic", ")", "switch", "(", "kind", ")", "{", "case", "FUNCTION_ORDINARY", ":", "break", ";", "case", "SFUNC_GOT", ":", "{", "rtx", "reg", "=", "target", "?", "target", ":", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_symGOT2reg", "(", "reg", ",", "sym", ")", ")", ";", "sym", "=", "reg", ";", "break", ";", "}", "case", "SFUNC_STATIC", ":", "{", "rtx", "reg", "=", "target", "?", "target", ":", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_symGOTOFF2reg", "(", "reg", ",", "sym", ")", ")", ";", "sym", "=", "reg", ";", "break", ";", "}", "}", "if", "(", "target", "&&", "sym", "!=", "target", ")", "{", "emit_move_insn", "(", "target", ",", "sym", ")", ";", "return", "target", ";", "}", "return", "sym", ";", "}", ""], "natrual_language": ["Return", "an", "RTX", "pair", "for", "the", "address", "and", "call", "site", "label", "of", "a", "function", "NAME", "of", "kind", "KIND", ",", "placing", "the", "result", "in", "TARGET", "if", "not", "NULL", ".", "For", "SFUNC_STATIC", ",", "if", "FDPIC", ",", "the", "LAB", "member", "of", "result", "will", "be", "set", "to", "(", "const_int", "0", ")", "if", "jsr", "should", "be", "used", ",", "or", "a", "label_ref", "if", "bsrf", "should", "be", "used", ".", "For", "FDPIC", ",", "both", "SFUNC_GOT", "and", "SFUNC_STATIC", "will", "return", "the", "address", "of", "the", "function", "itself", ",", "not", "a", "function", "descriptor", ",", "so", "they", "can", "only", "be", "used", "with", "functions", "not", "using", "the", "FDPIC", "register", "that", "are", "known", "to", "be", "called", "directory", "without", "a", "PLT", "entry", "."], "TS_V_token": ["sh"], "File": "sh3", "Func": "function_symbol", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14705, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SDValue", "&", "getIndex", "(", ")", "const", "{", "return", "getOperand", "(", "4", ")", ";", "}", ""], "natrual_language": ["Get", "the", "index", "built", "by", "pass", "."], "TS_V_token": ["X86", "4"], "File": "X86ISelLowering", "Func": "getIndex", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14706, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "doInitialization", "(", "Module", "&", "M", ")", "{", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["X86"], "File": "X86IndirectThunks3", "Func": "doInitialization", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14707, "Length": 9, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mingw32_gt_pch_use_address", "(", "void", "*", "addr", ",", "size_t", "size", ",", "int", "fd", ",", "size_t", "offset", ")", "{", "void", "*", "mmap_addr", ";", "static", "HANDLE", "mmap_handle", ";", "if", "(", "size", "==", "0", ")", "return", "0", ";", "if", "(", "(", "offset", "&", "(", "va_granularity", "-", "1", ")", ")", "!=", "0", "||", "size", ">", "pch_VA_max_size", ")", "return", "-", "1", ";", "mmap_handle", "=", "CreateFileMapping", "(", "(", "HANDLE", ")", "_get_osfhandle", "(", "fd", ")", ",", "NULL", ",", "PAGE_WRITECOPY", "|", "SEC_COMMIT", ",", "0", ",", "0", ",", "NULL", ")", ";", "if", "(", "mmap_handle", "==", "NULL", ")", "{", "w32_error", "(", "__FUNCTION__", ",", "__FILE__", ",", "__LINE__", ",", "\"CreateFileMapping\"", ")", ";", "return", "-", "1", ";", "}", "mmap_addr", "=", "MapViewOfFileEx", "(", "mmap_handle", ",", "FILE_MAP_COPY", ",", "0", ",", "offset", ",", "size", ",", "addr", ")", ";", "if", "(", "mmap_addr", "!=", "addr", ")", "{", "w32_error", "(", "__FUNCTION__", ",", "__FILE__", ",", "__LINE__", ",", "\"MapViewOfFileEx\"", ")", ";", "CloseHandle", "(", "mmap_handle", ")", ";", "return", "-", "1", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["ADDR", "is", "an", "address", "returned", "by", "gt_pch_get_address", ".", "Attempt", "to", "allocate", "SIZE", "bytes", "at", "the", "same", "address", "and", "load", "it", "with", "the", "data", "from", "FD", "at", "OFFSET", ".", "Return", "-1", "if", "we", "could", "n't", "allocate", "memory", "at", "ADDR", ",", "return", "0", "if", "the", "memory", "is", "allocated", "but", "the", "data", "not", "loaded", ",", "return", "1", "if", "done", "."], "TS_V_token": ["i386", "0", "0", "1", "0", "1", "0", "0", "\"CreateFileMapping\"", "1", "0", "\"MapViewOfFileEx\"", "1", "1"], "File": "host-mingw322", "Func": "mingw32_gt_pch_use_address", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14708, "Length": 154, "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", ":", "Opc", "=", "isMicroMips", "?", "Mips", "::", "MFHI16_MM", ":", "Mips", "::", "MFHI", ";", "expandPseudoMFHiLo", "(", "MBB", ",", "MI", ",", "Opc", ")", ";", "break", ";", "case", "Mips", "::", "PseudoMFLO", ":", "Opc", "=", "isMicroMips", "?", "Mips", "::", "MFLO16_MM", ":", "Mips", "::", "MFLO", ";", "expandPseudoMFHiLo", "(", "MBB", ",", "MI", ",", "Opc", ")", ";", "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", "Mips::MFHI16_MM", "Mips::MFHI", "Mips::PseudoMFLO", "Mips", "Mips::MFLO16_MM", "Mips::MFLO", "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": "MipsSEInstrInfo11", "Func": "expandPostRAPseudo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14709, "Length": 487, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMRange", "getLocRange", "(", ")", "const", "{", "return", "SMRange", "(", "StartLoc", ",", "EndLoc", ")", ";", "}", ""], "natrual_language": ["getLocRange", "-", "Get", "the", "range", "between", "the", "first", "and", "last", "token", "of", "this", "operand", "."], "TS_V_token": ["SystemZ"], "File": "SystemZAsmParser (2)1", "Func": "getLocRange", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14710, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_sve_ld1rq_ld1ro_operand_p", "(", "rtx", "op", ",", "machine_mode", "mode", ",", "scalar_mode", "elem_mode", ")", "{", "struct", "aarch64_address_info", "addr", ";", "if", "(", "!", "MEM_P", "(", "op", ")", "||", "!", "aarch64_classify_address", "(", "&", "addr", ",", "XEXP", "(", "op", ",", "0", ")", ",", "elem_mode", ",", "false", ")", ")", "return", "false", ";", "if", "(", "addr", ".", "type", "==", "ADDRESS_REG_IMM", ")", "return", "offset_4bit_signed_scaled_p", "(", "mode", ",", "addr", ".", "const_offset", ")", ";", "if", "(", "addr", ".", "type", "==", "ADDRESS_REG_REG", ")", "return", "(", "1U", "<<", "addr", ".", "shift", ")", "==", "GET_MODE_SIZE", "(", "elem_mode", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "is", "a", "valid", "MEM", "operand", "for", "an", "SVE", "LD1R", "{", "Q", ",", "O", "}", "instruction", "where", "the", "size", "of", "the", "read", "data", "is", "specified", "by", "`", "mode", "`", "and", "the", "size", "of", "the", "vector", "elements", "are", "specified", "by", "`", "elem_mode", "`", "."], "TS_V_token": ["aarch64", "0", "1U"], "File": "aarch64", "Func": "aarch64_sve_ld1rq_ld1ro_operand_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14711, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "avx_vperm2f128_parallel", "(", "rtx", "par", ",", "machine_mode", "mode", ")", "{", "unsigned", "i", ",", "nelt", "=", "GET_MODE_NUNITS", "(", "mode", ")", ",", "nelt2", "=", "nelt", "/", "2", ";", "unsigned", "mask", "=", "0", ";", "unsigned", "char", "ipar", "[", "8", "]", "=", "{", "}", ";", "if", "(", "XVECLEN", "(", "par", ",", "0", ")", "!=", "(", "int", ")", "nelt", ")", "return", "0", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "{", "rtx", "er", "=", "XVECEXP", "(", "par", ",", "0", ",", "i", ")", ";", "unsigned", "HOST_WIDE_INT", "ei", ";", "if", "(", "!", "CONST_INT_P", "(", "er", ")", ")", "return", "0", ";", "ei", "=", "INTVAL", "(", "er", ")", ";", "if", "(", "ei", ">=", "2", "*", "nelt", ")", "return", "0", ";", "ipar", "[", "i", "]", "=", "ei", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "nelt2", "-", "1", ";", "++", "i", ")", "if", "(", "ipar", "[", "i", "]", "+", "1", "!=", "ipar", "[", "i", "+", "1", "]", ")", "return", "0", ";", "for", "(", "i", "=", "nelt2", ";", "i", "<", "nelt", "-", "1", ";", "++", "i", ")", "if", "(", "ipar", "[", "i", "]", "+", "1", "!=", "ipar", "[", "i", "+", "1", "]", ")", "return", "0", ";", "for", "(", "i", "=", "0", ";", "i", "<", "2", ";", "++", "i", ")", "{", "unsigned", "e", "=", "ipar", "[", "i", "*", "nelt2", "]", ";", "if", "(", "e", "%", "nelt2", ")", "return", "0", ";", "e", "/=", "nelt2", ";", "mask", "|=", "e", "<<", "(", "i", "*", "4", ")", ";", "}", "return", "mask", "+", "1", ";", "}", ""], "natrual_language": ["Helper", "for", "avx_vperm2f128_v4df_operand", "et", "al", ".", "This", "is", "also", "used", "by", "the", "expansion", "functions", "to", "turn", "the", "parallel", "back", "into", "a", "mask", ".", "The", "return", "value", "is", "0", "for", "no", "match", "and", "the", "imm8+1", "for", "a", "match", "."], "TS_V_token": ["i386", "2", "0", "8", "0", "0", "0", "0", "0", "2", "0", "0", "1", "1", "1", "0", "1", "1", "1", "0", "0", "2", "0", "4", "1"], "File": "i386", "Func": "avx_vperm2f128_parallel", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14712, "Length": 247, "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": 14713, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_set_compression_mode", "(", "unsigned", "int", "compression_mode", ")", "{", "if", "(", "compression_mode", "==", "old_compression_mode", ")", "return", ";", "target_flags", "=", "mips_base_target_flags", ";", "flag_schedule_insns", "=", "mips_base_schedule_insns", ";", "flag_reorder_blocks_and_partition", "=", "mips_base_reorder_blocks_and_partition", ";", "flag_move_loop_invariants", "=", "mips_base_move_loop_invariants", ";", "align_loops", "=", "mips_base_align_loops", ";", "align_jumps", "=", "mips_base_align_jumps", ";", "align_functions", "=", "mips_base_align_functions", ";", "target_flags", "&=", "~", "(", "MASK_MIPS16", "|", "MASK_MICROMIPS", ")", ";", "target_flags", "|=", "compression_mode", ";", "if", "(", "compression_mode", "&", "MASK_MIPS16", ")", "{", "target_flags", "|=", "MASK_MIPS16", ";", "target_flags", "&=", "~", "MASK_SYNCI", ";", "flag_schedule_insns", "=", "0", ";", "flag_reorder_blocks_and_partition", "=", "0", ";", "flag_move_loop_invariants", "=", "0", ";", "target_flags", "|=", "MASK_EXPLICIT_RELOCS", ";", "targetm", ".", "min_anchor_offset", "=", "0", ";", "targetm", ".", "max_anchor_offset", "=", "127", ";", "targetm", ".", "const_anchor", "=", "0", ";", "target_flags", "&=", "~", "MASK_RELAX_PIC_CALLS", ";", "target_flags", "&=", "~", "MASK_FIX_R4000", ";", "if", "(", "flag_pic", "&&", "!", "TARGET_OLDABI", ")", "sorry", "(", "\"MIPS16 PIC for ABIs other than o32 and o64\"", ")", ";", "if", "(", "TARGET_XGOT", ")", "sorry", "(", "\"MIPS16 -mxgot code\"", ")", ";", "if", "(", "TARGET_HARD_FLOAT_ABI", "&&", "!", "TARGET_OLDABI", ")", "sorry", "(", "\"hard-float MIPS16 code for ABIs other than o32 and o64\"", ")", ";", "}", "else", "{", "if", "(", "TARGET_MICROMIPS", ")", "target_flags", "&=", "~", "MASK_BRANCHLIKELY", ";", "if", "(", "TARGET_64BIT", ")", "{", "if", "(", "align_loops", "==", "0", ")", "align_loops", "=", "8", ";", "if", "(", "align_jumps", "==", "0", ")", "align_jumps", "=", "8", ";", "if", "(", "align_functions", "==", "0", ")", "align_functions", "=", "8", ";", "}", "targetm", ".", "min_anchor_offset", "=", "-", "32768", ";", "targetm", ".", "max_anchor_offset", "=", "32767", ";", "targetm", ".", "const_anchor", "=", "0x8000", ";", "}", "mips_init_relocs", "(", ")", ";", "if", "(", "compression_mode", "&", "MASK_MIPS16", ")", "{", "if", "(", "!", "mips16_globals", ")", "mips16_globals", "=", "save_target_globals_default_opts", "(", ")", ";", "else", "restore_target_globals", "(", "mips16_globals", ")", ";", "}", "else", "restore_target_globals", "(", "&", "default_target_globals", ")", ";", "old_compression_mode", "=", "compression_mode", ";", "}", ""], "natrual_language": ["Set", "up", "the", "target-dependent", "global", "state", "for", "ISA", "mode", "COMPRESSION_MODE", ",", "which", "is", "either", "MASK_MIPS16", "or", "MASK_MICROMIPS", "."], "TS_V_token": ["mips", "0", "0", "0", "0", "127", "0", "\"MIPS16 PIC for ABIs other than o32 and o64\"", "\"MIPS16 -mxgot code\"", "\"hard-float MIPS16 code for ABIs other than o32 and o64\"", "0", "8", "0", "8", "0", "8", "32768", "32767", "0x8000"], "File": "mips4", "Func": "mips_set_compression_mode", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14714, "Length": 260, "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": 14715, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FastISel", "*", "MipsTargetLowering", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "funcInfo", ",", "const", "TargetLibraryInfo", "*", "libInfo", ")", "const", "{", "const", "MipsTargetMachine", "&", "TM", "=", "static_cast", "<", "const", "MipsTargetMachine", "&", ">", "(", "funcInfo", ".", "MF", "->", "getTarget", "(", ")", ")", ";", "bool", "UseFastISel", "=", "TM", ".", "Options", ".", "EnableFastISel", "&&", "Subtarget", ".", "hasMips32", "(", ")", "&&", "!", "Subtarget", ".", "hasMips32r6", "(", ")", "&&", "!", "Subtarget", ".", "inMips16Mode", "(", ")", "&&", "!", "Subtarget", ".", "inMicroMipsMode", "(", ")", ";", "if", "(", "!", "TM", ".", "isPositionIndependent", "(", ")", "||", "!", "TM", ".", "getABI", "(", ")", ".", "IsO32", "(", ")", "||", "LargeGOT", ")", "UseFastISel", "=", "false", ";", "return", "UseFastISel", "?", "Mips", "::", "createFastISel", "(", "funcInfo", ",", "libInfo", ")", ":", "nullptr", ";", "}", ""], "natrual_language": ["This", "method", "returns", "a", "target", "specific", "FastISel", "object", ",", "or", "null", "if", "the", "target", "does", "not", "support", "``", "fast", "''", "ISel", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::createFastISel"], "File": "MipsISelLowering10", "Func": "createFastISel", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14716, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsTargetLowering", "::", "getJumpTableEncoding", "(", ")", "const", "{", "if", "(", "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": "MipsISelLowering62", "Func": "getJumpTableEncoding", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14717, "Length": 27, "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": 14718, "Length": 491, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MandarinAsmPrinter", "::", "isBlockOnlyReachableByFallthrough", "(", "const", "MachineBasicBlock", "*", "MBB", ")", "const", "{", "if", "(", "MBB", "->", "isLandingPad", "(", ")", "||", "MBB", "->", "pred_empty", "(", ")", ")", "return", "false", ";", "MachineBasicBlock", "::", "const_pred_iterator", "PI", "=", "MBB", "->", "pred_begin", "(", ")", ",", "PI2", "=", "PI", ";", "++", "PI2", ";", "if", "(", "PI2", "!=", "MBB", "->", "pred_end", "(", ")", ")", "return", "false", ";", "const", "MachineBasicBlock", "*", "Pred", "=", "*", "PI", ";", "if", "(", "!", "Pred", "->", "isLayoutSuccessor", "(", "MBB", ")", ")", "return", "false", ";", "MachineBasicBlock", "::", "const_iterator", "I", "=", "Pred", "->", "end", "(", ")", ";", "while", "(", "I", "!=", "Pred", "->", "begin", "(", ")", "&&", "!", "(", "--", "I", ")", "->", "isTerminator", "(", ")", ")", ";", "return", "I", "==", "Pred", "->", "end", "(", ")", "||", "!", "I", "->", "isBarrier", "(", ")", ";", "}", ""], "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": ["Mandarin"], "File": "MandarinAsmPrinter", "Func": "isBlockOnlyReachableByFallthrough", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14719, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "canInsertSelect", "(", "const", "MachineBasicBlock", "&", "MBB", ",", "const", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "unsigned", "TrueReg", ",", "unsigned", "FalseReg", ",", "int", "&", "CondCycles", ",", "int", "&", "TrueCycles", ",", "int", "&", "FalseCycles", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "hasISEL", "(", ")", ")", "return", "false", ";", "if", "(", "Cond", ".", "size", "(", ")", "!=", "2", ")", "return", "false", ";", "if", "(", "Cond", "[", "1", "]", ".", "getReg", "(", ")", "==", "PPC", "::", "CTR", "||", "Cond", "[", "1", "]", ".", "getReg", "(", ")", "==", "PPC", "::", "CTR8", ")", "return", "false", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "RI", ".", "getCommonSubClass", "(", "MRI", ".", "getRegClass", "(", "TrueReg", ")", ",", "MRI", ".", "getRegClass", "(", "FalseReg", ")", ")", ";", "if", "(", "!", "RC", ")", "return", "false", ";", "if", "(", "!", "PPC", "::", "GPRCRegClass", ".", "hasSubClassEq", "(", "RC", ")", "&&", "!", "PPC", "::", "GPRC_NOR0RegClass", ".", "hasSubClassEq", "(", "RC", ")", "&&", "!", "PPC", "::", "G8RCRegClass", ".", "hasSubClassEq", "(", "RC", ")", "&&", "!", "PPC", "::", "G8RC_NOX0RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "return", "false", ";", "CondCycles", "=", "1", ";", "TrueCycles", "=", "1", ";", "FalseCycles", "=", "1", ";", "return", "true", ";", "}", ""], "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": ["PowerPC", "PPC", "2", "1", "PPC::CTR", "1", "PPC::CTR8", "PPC::GPRCRegClass", "PPC::GPRC_NOR0RegClass", "PPC::G8RCRegClass", "PPC::G8RC_NOX0RegClass", "1", "1", "1"], "File": "PPCInstrInfo1", "Func": "canInsertSelect", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14720, "Length": 202, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TOYMCInstLower", "::", "Initialize", "(", "Mangler", "*", "M", ",", "MCContext", "*", "C", ")", "{", "Mang", "=", "M", ";", "Ctx", "=", "C", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["TOY", "TOY"], "File": "TOYMCInstLower1", "Func": "Initialize", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14721, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_coproc_builtin_available", "(", "enum", "unspecv", "builtin", ")", "{", "if", "(", "TARGET_THUMB1", ")", "return", "false", ";", "switch", "(", "builtin", ")", "{", "case", "VUNSPEC_CDP", ":", "case", "VUNSPEC_LDC", ":", "case", "VUNSPEC_LDCL", ":", "case", "VUNSPEC_STC", ":", "case", "VUNSPEC_STCL", ":", "case", "VUNSPEC_MCR", ":", "case", "VUNSPEC_MRC", ":", "if", "(", "arm_arch4", ")", "return", "true", ";", "break", ";", "case", "VUNSPEC_CDP2", ":", "case", "VUNSPEC_LDC2", ":", "case", "VUNSPEC_LDC2L", ":", "case", "VUNSPEC_STC2", ":", "case", "VUNSPEC_STC2L", ":", "case", "VUNSPEC_MCR2", ":", "case", "VUNSPEC_MRC2", ":", "if", "(", "arm_arch5t", ")", "return", "true", ";", "break", ";", "case", "VUNSPEC_MCRR", ":", "case", "VUNSPEC_MRRC", ":", "if", "(", "arm_arch6", "||", "arm_arch5te", ")", "return", "true", ";", "break", ";", "case", "VUNSPEC_MCRR2", ":", "case", "VUNSPEC_MRRC2", ":", "if", "(", "arm_arch6", ")", "return", "true", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "checks", "for", "the", "availability", "of", "the", "coprocessor", "builtin", "passed", "in", "BUILTIN", "for", "the", "current", "target", ".", "Returns", "true", "if", "it", "is", "available", "and", "false", "otherwise", ".", "If", "a", "BUILTIN", "is", "passed", "for", "which", "this", "function", "has", "not", "been", "implemented", "it", "will", "cause", "an", "exception", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_coproc_builtin_available", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14722, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "StackPU2TargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "StackPU2PassConfig", "(", "*", "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": ["StackPU2", "StackPU2", "StackPU2"], "File": "StackPU2TargetMachine", "Func": "createPassConfig", "Target": "StackPU2", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14723, "Length": 22, "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", "(", "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": ["Sparc", "0"], "File": "SparcAsmParser", "Func": "addExpr", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14724, "Length": 77, "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": 14725, "Length": 314, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSEInstrInfo", "::", "isReallyTriviallyReMaterializable", "(", "const", "MachineInstr", "&", "MI", ",", "AAResults", "*", "AA", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "Mips", "::", "CheriBoundedStackPseudoImm", ":", "assert", "(", "MI", ".", "getOperand", "(", "3", ")", ".", "isImm", "(", ")", ")", ";", "return", "true", ";", "case", "Mips", "::", "CIncOffsetImm", ":", "case", "Mips", "::", "CMove", ":", "case", "Mips", "::", "COPY", ":", "return", "MI", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "Mips", "::", "CNULL", ";", "case", "Mips", "::", "LUi64", ":", "{", "auto", "Flags", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getTargetFlags", "(", ")", ";", "if", "(", "Flags", "==", "MipsII", "::", "MO_CAPTABLE_OFF_HI", ")", "{", "return", "true", ";", "}", "return", "false", ";", "}", "default", ":", "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": ["Mips", "Mips", "Mips::CheriBoundedStackPseudoImm", "3", "Mips::CIncOffsetImm", "Mips::CMove", "Mips::COPY", "1", "1", "Mips::CNULL", "Mips::LUi64", "1", "MipsII::MO_CAPTABLE_OFF_HI"], "File": "MipsSEInstrInfo30", "Func": "isReallyTriviallyReMaterializable", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14726, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Instruction", "*", "PPCTargetLowering", "::", "emitLeadingFence", "(", "IRBuilder", "<", ">", "&", "Builder", ",", "AtomicOrdering", "Ord", ",", "bool", "IsStore", ",", "bool", "IsLoad", ")", "const", "{", "if", "(", "Ord", "==", "AtomicOrdering", "::", "SequentiallyConsistent", ")", "return", "callIntrinsic", "(", "Builder", ",", "Intrinsic", "::", "ppc_sync", ")", ";", "if", "(", "isReleaseOrStronger", "(", "Ord", ")", ")", "return", "callIntrinsic", "(", "Builder", ",", "Intrinsic", "::", "ppc_lwsync", ")", ";", "return", "nullptr", ";", "}", ""], "natrual_language": ["Custom", "Lower", "{", "."], "TS_V_token": ["PowerPC", "PPC", "Intrinsic::ppc_sync", "Intrinsic::ppc_lwsync"], "File": "PPCISelLowering10", "Func": "emitLeadingFence", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14727, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_unwind_emit_set", "(", "FILE", "*", "out_file", ",", "rtx", "p", ")", "{", "rtx", "e0", ";", "rtx", "e1", ";", "unsigned", "reg", ";", "e0", "=", "XEXP", "(", "p", ",", "0", ")", ";", "e1", "=", "XEXP", "(", "p", ",", "1", ")", ";", "switch", "(", "GET_CODE", "(", "e0", ")", ")", "{", "case", "MEM", ":", "if", "(", "GET_CODE", "(", "XEXP", "(", "e0", ",", "0", ")", ")", "!=", "PRE_DEC", "||", "!", "REG_P", "(", "XEXP", "(", "XEXP", "(", "e0", ",", "0", ")", ",", "0", ")", ")", "||", "REGNO", "(", "XEXP", "(", "XEXP", "(", "e0", ",", "0", ")", ",", "0", ")", ")", "!=", "SP_REGNUM", ")", "abort", "(", ")", ";", "asm_fprintf", "(", "out_file", ",", "\"\\t.save \"", ")", ";", "if", "(", "IS_VFP_REGNUM", "(", "REGNO", "(", "e1", ")", ")", ")", "asm_fprintf", "(", "out_file", ",", "\"{d%d}\\n\"", ",", "(", "REGNO", "(", "e1", ")", "-", "FIRST_VFP_REGNUM", ")", "/", "2", ")", ";", "else", "asm_fprintf", "(", "out_file", ",", "\"{%r}\\n\"", ",", "REGNO", "(", "e1", ")", ")", ";", "break", ";", "case", "REG", ":", "if", "(", "REGNO", "(", "e0", ")", "==", "SP_REGNUM", ")", "{", "if", "(", "GET_CODE", "(", "e1", ")", "!=", "PLUS", "||", "!", "REG_P", "(", "XEXP", "(", "e1", ",", "0", ")", ")", "||", "REGNO", "(", "XEXP", "(", "e1", ",", "0", ")", ")", "!=", "SP_REGNUM", "||", "!", "CONST_INT_P", "(", "XEXP", "(", "e1", ",", "1", ")", ")", ")", "abort", "(", ")", ";", "asm_fprintf", "(", "out_file", ",", "\"\\t.pad #%wd\\n\"", ",", "-", "INTVAL", "(", "XEXP", "(", "e1", ",", "1", ")", ")", ")", ";", "}", "else", "if", "(", "REGNO", "(", "e0", ")", "==", "HARD_FRAME_POINTER_REGNUM", ")", "{", "HOST_WIDE_INT", "offset", ";", "if", "(", "GET_CODE", "(", "e1", ")", "==", "PLUS", ")", "{", "if", "(", "!", "REG_P", "(", "XEXP", "(", "e1", ",", "0", ")", ")", "||", "!", "CONST_INT_P", "(", "XEXP", "(", "e1", ",", "1", ")", ")", ")", "abort", "(", ")", ";", "reg", "=", "REGNO", "(", "XEXP", "(", "e1", ",", "0", ")", ")", ";", "offset", "=", "INTVAL", "(", "XEXP", "(", "e1", ",", "1", ")", ")", ";", "asm_fprintf", "(", "out_file", ",", "\"\\t.setfp %r, %r, #%wd\\n\"", ",", "HARD_FRAME_POINTER_REGNUM", ",", "reg", ",", "offset", ")", ";", "}", "else", "if", "(", "REG_P", "(", "e1", ")", ")", "{", "reg", "=", "REGNO", "(", "e1", ")", ";", "asm_fprintf", "(", "out_file", ",", "\"\\t.setfp %r, %r\\n\"", ",", "HARD_FRAME_POINTER_REGNUM", ",", "reg", ")", ";", "}", "else", "abort", "(", ")", ";", "}", "else", "if", "(", "REG_P", "(", "e1", ")", "&&", "REGNO", "(", "e1", ")", "==", "SP_REGNUM", ")", "{", "asm_fprintf", "(", "out_file", ",", "\"\\t.movsp %r\\n\"", ",", "REGNO", "(", "e0", ")", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "e1", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "e1", ",", "0", ")", ")", "&&", "REGNO", "(", "XEXP", "(", "e1", ",", "0", ")", ")", "==", "SP_REGNUM", "&&", "CONST_INT_P", "(", "XEXP", "(", "e1", ",", "1", ")", ")", ")", "{", "asm_fprintf", "(", "out_file", ",", "\"\\t.movsp %r, #%d\\n\"", ",", "REGNO", "(", "e0", ")", ",", "(", "int", ")", "INTVAL", "(", "XEXP", "(", "e1", ",", "1", ")", ")", ")", ";", "}", "else", "if", "(", "REGNO", "(", "e0", ")", "==", "IP_REGNUM", "&&", "arm_current_function_pac_enabled_p", "(", ")", ")", "{", "if", "(", "cfun", "->", "machine", "->", "pacspval_needed", ")", "asm_fprintf", "(", "out_file", ",", "\"\\t.pacspval\\n\"", ")", ";", "}", "else", "abort", "(", ")", ";", "break", ";", "default", ":", "abort", "(", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "unwind", "directives", "for", "a", "SET", "."], "TS_V_token": ["arm", "0", "1", "0", "0", "0", "0", "0", "\"\\t.save \"", "\"{d%d}\\n\"", "2", "\"{%r}\\n\"", "0", "0", "1", "\"\\t.pad #%wd\\n\"", "1", "0", "1", "0", "1", "\"\\t.setfp %r, %r, #%wd\\n\"", "\"\\t.setfp %r, %r\\n\"", "\"\\t.movsp %r\\n\"", "0", "0", "1", "\"\\t.movsp %r, #%d\\n\"", "1", "\"\\t.pacspval\\n\""], "File": "arm1", "Func": "arm_unwind_emit_set", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14728, "Length": 498, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SICInstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "InstrInfo", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["SIC", "SIC"], "File": "SICSubtarget", "Func": "getInstrInfo", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14729, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FalkorMarkStridedAccesses", "::", "run", "(", ")", "{", "bool", "MadeChange", "=", "false", ";", "for", "(", "Loop", "*", "I", ":", "LI", ")", "for", "(", "auto", "L", "=", "df_begin", "(", "I", ")", ",", "LE", "=", "df_end", "(", "I", ")", ";", "L", "!=", "LE", ";", "++", "L", ")", "MadeChange", "|=", "runOnLoop", "(", "*", "L", ")", ";", "return", "MadeChange", ";", "}", ""], "natrual_language": ["Run", "the", "analysis", "pass", "over", "a", "function", "and", "produce", "a", "dominator", "tree", "."], "TS_V_token": ["AArch64"], "File": "AArch64FalkorHWPFFix14", "Func": "run", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14730, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc_expand_vcond", "(", "machine_mode", "mode", ",", "rtx", "*", "operands", ",", "int", "ccode", ",", "int", "fcode", ")", "{", "rtx", "mask", ",", "cop0", ",", "cop1", ",", "fcmp", ",", "cmask", ",", "bshuf", ",", "gsr", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "operands", "[", "3", "]", ")", ";", "mask", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "cop0", "=", "operands", "[", "4", "]", ";", "cop1", "=", "operands", "[", "5", "]", ";", "if", "(", "code", "==", "LT", "||", "code", "==", "GE", ")", "{", "rtx", "t", ";", "code", "=", "swap_condition", "(", "code", ")", ";", "t", "=", "cop0", ";", "cop0", "=", "cop1", ";", "cop1", "=", "t", ";", "}", "gsr", "=", "gen_rtx_REG", "(", "DImode", ",", "SPARC_GSR_REG", ")", ";", "fcmp", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "cop0", ",", "cop1", ")", ")", ",", "fcode", ")", ";", "cmask", "=", "gen_rtx_UNSPEC", "(", "DImode", ",", "gen_rtvec", "(", "2", ",", "mask", ",", "gsr", ")", ",", "ccode", ")", ";", "bshuf", "=", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "3", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ",", "gsr", ")", ",", "UNSPEC_BSHUFFLE", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "mask", ",", "fcmp", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "gsr", ",", "cmask", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "operands", "[", "0", "]", ",", "bshuf", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "conditionally", "move", "a", "combination", "of", "OPERANDS", "[", "1", "]", "and", "OPERANDS", "[", "2", "]", "into", "OPERANDS", "[", "0", "]", "in", "MODE", ",", "depending", "on", "the", "outcome", "of", "the", "comparison", "of", "OPERANDS", "[", "4", "]", "and", "OPERANDS", "[", "5", "]", ".", "OPERANDS", "[", "3", "]", "is", "the", "operator", "of", "the", "condition", ".", "FCODE", "is", "the", "machine", "code", "to", "be", "used", "for", "OPERANDS", "[", "3", "]", "and", "CCODE", "the", "machine", "code", "to", "be", "used", "for", "the", "condition", "mask", "."], "TS_V_token": ["sparc", "3", "4", "5", "1", "2", "3", "1", "2", "0"], "File": "sparc", "Func": "sparc_expand_vcond", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14731, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isAssociativeAndCommutative", "(", "unsigned", "Opcode", ")", "{", "switch", "(", "Opcode", ")", "{", "case", "PPC", "::", "FADD", ":", "case", "PPC", "::", "FADDS", ":", "case", "PPC", "::", "FMUL", ":", "case", "PPC", "::", "FMULS", ":", "case", "PPC", "::", "VADDFP", ":", "case", "PPC", "::", "XSADDDP", ":", "case", "PPC", "::", "XVADDDP", ":", "case", "PPC", "::", "XVADDSP", ":", "case", "PPC", "::", "XSADDSP", ":", "case", "PPC", "::", "XSMULDP", ":", "case", "PPC", "::", "XVMULDP", ":", "case", "PPC", "::", "XVMULSP", ":", "case", "PPC", "::", "XSMULSP", ":", "case", "PPC", "::", "QVFADD", ":", "case", "PPC", "::", "QVFADDS", ":", "case", "PPC", "::", "QVFADDSs", ":", "case", "PPC", "::", "QVFMUL", ":", "case", "PPC", "::", "QVFMULS", ":", "case", "PPC", "::", "QVFMULSs", ":", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Return", "true", "when", "\\P", "Inst", "is", "both", "associative", "and", "commutative", "."], "TS_V_token": ["PowerPC", "PPC::FADD", "PPC::FADDS", "PPC::FMUL", "PPC::FMULS", "PPC::VADDFP", "PPC::XSADDDP", "PPC::XVADDDP", "PPC::XVADDSP", "PPC::XSADDSP", "PPC::XSMULDP", "PPC::XVMULDP", "PPC::XVMULSP", "PPC::XSMULSP", "PPC::QVFADD", "PPC::QVFADDS", "PPC::QVFADDSs", "PPC::QVFMUL", "PPC::QVFMULS", "PPC::QVFMULSs"], "File": "PPCInstrInfo103", "Func": "isAssociativeAndCommutative", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14732, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "produceSameValue", "(", "const", "MachineInstr", "*", "MI0", ",", "const", "MachineInstr", "*", "MI1", ")", "const", "{", "int", "Opcode", "=", "MI0", "->", "getOpcode", "(", ")", ";", "if", "(", "Opcode", "==", "ARM", "::", "t2LDRpci", "||", "Opcode", "==", "ARM", "::", "t2LDRpci_pic", "||", "Opcode", "==", "ARM", "::", "tLDRpci", "||", "Opcode", "==", "ARM", "::", "tLDRpci_pic", ")", "{", "if", "(", "MI1", "->", "getOpcode", "(", ")", "!=", "Opcode", ")", "return", "false", ";", "if", "(", "MI0", "->", "getNumOperands", "(", ")", "!=", "MI1", "->", "getNumOperands", "(", ")", ")", "return", "false", ";", "const", "MachineOperand", "&", "MO0", "=", "MI0", "->", "getOperand", "(", "1", ")", ";", "const", "MachineOperand", "&", "MO1", "=", "MI1", "->", "getOperand", "(", "1", ")", ";", "if", "(", "MO0", ".", "getOffset", "(", ")", "!=", "MO1", ".", "getOffset", "(", ")", ")", "return", "false", ";", "const", "MachineFunction", "*", "MF", "=", "MI0", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "MachineConstantPool", "*", "MCP", "=", "MF", "->", "getConstantPool", "(", ")", ";", "int", "CPI0", "=", "MO0", ".", "getIndex", "(", ")", ";", "int", "CPI1", "=", "MO1", ".", "getIndex", "(", ")", ";", "const", "MachineConstantPoolEntry", "&", "MCPE0", "=", "MCP", "->", "getConstants", "(", ")", "[", "CPI0", "]", ";", "const", "MachineConstantPoolEntry", "&", "MCPE1", "=", "MCP", "->", "getConstants", "(", ")", "[", "CPI1", "]", ";", "ARMConstantPoolValue", "*", "ACPV0", "=", "static_cast", "<", "ARMConstantPoolValue", "*", ">", "(", "MCPE0", ".", "Val", ".", "MachineCPVal", ")", ";", "ARMConstantPoolValue", "*", "ACPV1", "=", "static_cast", "<", "ARMConstantPoolValue", "*", ">", "(", "MCPE1", ".", "Val", ".", "MachineCPVal", ")", ";", "return", "ACPV0", "->", "hasSameValue", "(", "ACPV1", ")", ";", "}", "return", "MI0", "->", "isIdenticalTo", "(", "MI1", ",", "MachineInstr", "::", "IgnoreVRegDefs", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "two", "machine", "instructions", "would", "produce", "identical", "values", "."], "TS_V_token": ["ARM", "ARM", "ARM::t2LDRpci", "ARM::t2LDRpci_pic", "ARM::tLDRpci", "ARM::tLDRpci_pic", "1", "1", "ARM", "ARM", "ARM", "ARM"], "File": "ARMBaseInstrInfo114", "Func": "produceSameValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14733, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isLegalAddImmediate", "(", "int64_t", "Imm", ")", "const", "{", "return", "isInt", "<", "32", ">", "(", "Imm", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "immediate", "is", "legal", "add", "immediate", ",", "that", "is", "the", "target", "has", "add", "instructions", "which", "can", "add", "a", "register", "and", "the", "immediate", "without", "having", "to", "materialize", "the", "immediate", "into", "a", "register", "."], "TS_V_token": ["X86", "X86", "32"], "File": "X86ISelLowering (2)", "Func": "isLegalAddImmediate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14734, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_report_sve_required", "(", "void", ")", "{", "static", "bool", "reported_p", "=", "false", ";", "if", "(", "reported_p", ")", "return", ";", "error", "(", "\"this operation requires the SVE ISA extension\"", ")", ";", "inform", "(", "input_location", ",", "\"you can enable SVE 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", "SVE", "when", "SVE", "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": ["aarch64", "\"this operation requires the SVE ISA extension\"", "\"you can enable SVE using the command-line\"", "\" option %<-march%>, or by using the %\"", "\" attribute or pragma\""], "File": "aarch64", "Func": "aarch64_report_sve_required", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14735, "Length": 38, "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", "->", "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": "X86FrameLowering11", "Func": "findDeadCallerSavedReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14736, "Length": 308, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsMCCodeEmitter", "::", "emitInstruction", "(", "uint64_t", "Val", ",", "unsigned", "Size", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "raw_ostream", "&", "OS", ")", "const", "{", "if", "(", "IsLittleEndian", "&&", "Size", "==", "4", "&&", "isMicroMips", "(", "STI", ")", ")", "{", "emitInstruction", "(", "Val", ">>", "16", ",", "2", ",", "STI", ",", "OS", ")", ";", "emitInstruction", "(", "Val", ",", "2", ",", "STI", ",", "OS", ")", ";", "}", "else", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Size", ";", "++", "i", ")", "{", "unsigned", "Shift", "=", "IsLittleEndian", "?", "i", "*", "8", ":", "(", "Size", "-", "1", "-", "i", ")", "*", "8", ";", "EmitByte", "(", "(", "Val", ">>", "Shift", ")", "&", "0xff", ",", "OS", ")", ";", "}", "}", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["Mips", "Mips", "4", "Mips", "16", "2", "2", "0", "8", "1", "8", "0xff"], "File": "MipsMCCodeEmitter (2)2", "Func": "emitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14737, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "release_options_strings", "(", "char", "*", "*", "option_strings", ")", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "IX86_FUNCTION_SPECIFIC_MAX", ";", "i", "++", ")", "free", "(", "option_strings", "[", "i", "]", ")", ";", "}", ""], "natrual_language": ["Release", "allocated", "strings", "."], "TS_V_token": ["i386", "0"], "File": "i386-options", "Func": "release_options_strings", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14738, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VEFrameLowering", "::", "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": ["VE", "VE"], "File": "VEFrameLowering5", "Func": "hasFP", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14739, "Length": 72, "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", "::", "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", ";", "}", "}", ""], "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::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"], "File": "MipsSEInstrInfo33", "Func": "getOppositeBranchOpc", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14740, "Length": 264, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64InstrInfo", "::", "getLoadStoreImmIdx", "(", "unsigned", "Opc", ")", "{", "switch", "(", "Opc", ")", "{", "default", ":", "return", "2", ";", "case", "AArch64", "::", "LDPXi", ":", "case", "AArch64", "::", "LDPDi", ":", "case", "AArch64", "::", "STPXi", ":", "case", "AArch64", "::", "STPDi", ":", "case", "AArch64", "::", "LDNPXi", ":", "case", "AArch64", "::", "LDNPDi", ":", "case", "AArch64", "::", "STNPXi", ":", "case", "AArch64", "::", "STNPDi", ":", "case", "AArch64", "::", "LDPQi", ":", "case", "AArch64", "::", "STPQi", ":", "case", "AArch64", "::", "LDNPQi", ":", "case", "AArch64", "::", "STNPQi", ":", "case", "AArch64", "::", "LDPWi", ":", "case", "AArch64", "::", "LDPSi", ":", "case", "AArch64", "::", "STPWi", ":", "case", "AArch64", "::", "STPSi", ":", "case", "AArch64", "::", "LDNPWi", ":", "case", "AArch64", "::", "LDNPSi", ":", "case", "AArch64", "::", "STNPWi", ":", "case", "AArch64", "::", "STNPSi", ":", "return", "3", ";", "}", "}", ""], "natrual_language": ["Returns", "the", "index", "for", "the", "immediate", "for", "a", "given", "instruction", "."], "TS_V_token": ["AArch64", "AArch64", "2", "AArch64::LDPXi", "AArch64::LDPDi", "AArch64::STPXi", "AArch64::STPDi", "AArch64::LDNPXi", "AArch64::LDNPDi", "AArch64::STNPXi", "AArch64::STNPDi", "AArch64::LDPQi", "AArch64::STPQi", "AArch64::LDNPQi", "AArch64::STNPQi", "AArch64::LDPWi", "AArch64::LDPSi", "AArch64::STPWi", "AArch64::STPSi", "AArch64::LDNPWi", "AArch64::LDNPSi", "AArch64::STNPWi", "AArch64::STNPSi", "3"], "File": "AArch64InstrInfo106", "Func": "getLoadStoreImmIdx", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14741, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsPassConfig", "::", "addInstSelector", "(", ")", "{", "if", "(", "getMipsSubtarget", "(", ")", ".", "allowMixed16_32", "(", ")", ")", "{", "addPass", "(", "createMipsModuleISelDag", "(", "getMipsTargetMachine", "(", ")", ")", ")", ";", "addPass", "(", "createMips16ISelDag", "(", "getMipsTargetMachine", "(", ")", ")", ")", ";", "addPass", "(", "createMipsSEISelDag", "(", "getMipsTargetMachine", "(", ")", ")", ")", ";", "}", "else", "{", "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", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsTargetMachine11", "Func": "addInstSelector", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14742, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ARMRegisterInfo", "::", "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": "ARMRegisterInfo13", "Func": "getDwarfRegNum", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14743, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MMIXDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "unsigned", "Opcode", "=", "Node", "->", "getOpcode", "(", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"== \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "Node", "->", "setNodeId", "(", "-", "1", ")", ";", "return", ";", "}", "if", "(", "Opcode", "==", "ISD", "::", "FrameIndex", ")", "{", "SDLoc", "DL", "(", "Node", ")", ";", "SDValue", "Imm", "=", "CurDAG", "->", "getTargetConstant", "(", "0", ",", "DL", ",", "MVT", "::", "i64", ")", ";", "int", "FI", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "Node", ")", "->", "getIndex", "(", ")", ";", "EVT", "VT", "=", "Node", "->", "getValueType", "(", "0", ")", ";", "SDValue", "TFI", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "VT", ")", ";", "ReplaceNode", "(", "Node", ",", "CurDAG", "->", "getMachineNode", "(", "MMIX", "::", "ADD_I", ",", "DL", ",", "VT", ",", "TFI", ",", "Imm", ")", ")", ";", "return", ";", "}", "SelectCode", "(", "Node", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["MMIX", "MMIX", "\"== \"", "\"\\n\"", "1", "ISD::FrameIndex", "0", "MVT::i64", "0", "MMIX::ADD_I"], "File": "MMIXISelDAGToDAG", "Func": "Select", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14744, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_epilogue_uses", "(", "unsigned", "int", "regno", ")", "{", "if", "(", "regno", "==", "RETURN_ADDR_REGNUM", ")", "return", "true", ";", "if", "(", "TARGET_USE_GOT", "&&", "(", "regno", ")", "==", "GOT_VERSION_REGNUM", ")", "return", "true", ";", "if", "(", "cfun", "->", "machine", "->", "interrupt_handler_p", "&&", "mips_interrupt_extra_call_saved_reg_p", "(", "regno", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "EPILOGUE_USES", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_epilogue_uses", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14745, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["Mips"], "File": "MipsAsmBackend21", "Func": "writeNopData", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14746, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "unsigned", "Opcode", "=", "Node", "->", "getOpcode", "(", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "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": "MipsISelDAGToDAG21", "Func": "Select", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14747, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "AArch64Subtarget", "*", "AArch64TargetMachine", "::", "getSubtargetImpl", "(", "const", "Function", "&", "F", ")", "const", "{", "Attribute", "CPUAttr", "=", "F", ".", "getFnAttribute", "(", "\"target-cpu\"", ")", ";", "Attribute", "TuneAttr", "=", "F", ".", "getFnAttribute", "(", "\"tune-cpu\"", ")", ";", "Attribute", "FSAttr", "=", "F", ".", "getFnAttribute", "(", "\"target-features\"", ")", ";", "std", "::", "string", "CPU", "=", "CPUAttr", ".", "isValid", "(", ")", "?", "CPUAttr", ".", "getValueAsString", "(", ")", ".", "str", "(", ")", ":", "TargetCPU", ";", "std", "::", "string", "TuneCPU", "=", "TuneAttr", ".", "isValid", "(", ")", "?", "TuneAttr", ".", "getValueAsString", "(", ")", ".", "str", "(", ")", ":", "CPU", ";", "std", "::", "string", "FS", "=", "FSAttr", ".", "isValid", "(", ")", "?", "FSAttr", ".", "getValueAsString", "(", ")", ".", "str", "(", ")", ":", "TargetFS", ";", "SmallString", "<", "512", ">", "Key", ";", "unsigned", "MinSVEVectorSize", "=", "0", ";", "unsigned", "MaxSVEVectorSize", "=", "0", ";", "Attribute", "VScaleRangeAttr", "=", "F", ".", "getFnAttribute", "(", "Attribute", "::", "VScaleRange", ")", ";", "if", "(", "VScaleRangeAttr", ".", "isValid", "(", ")", ")", "{", "std", "::", "tie", "(", "MinSVEVectorSize", ",", "MaxSVEVectorSize", ")", "=", "VScaleRangeAttr", ".", "getVScaleRangeArgs", "(", ")", ";", "MinSVEVectorSize", "*=", "128", ";", "MaxSVEVectorSize", "*=", "128", ";", "}", "else", "{", "MinSVEVectorSize", "=", "SVEVectorBitsMinOpt", ";", "MaxSVEVectorSize", "=", "SVEVectorBitsMaxOpt", ";", "}", "assert", "(", "MinSVEVectorSize", "%", "128", "==", "0", "&&", "\"SVE requires vector length in multiples of 128!\"", ")", ";", "assert", "(", "MaxSVEVectorSize", "%", "128", "==", "0", "&&", "\"SVE requires vector length in multiples of 128!\"", ")", ";", "assert", "(", "(", "MaxSVEVectorSize", ">=", "MinSVEVectorSize", "||", "MaxSVEVectorSize", "==", "0", ")", "&&", "\"Minimum SVE vector size should not be larger than its maximum!\"", ")", ";", "if", "(", "MaxSVEVectorSize", "==", "0", ")", "MinSVEVectorSize", "=", "(", "MinSVEVectorSize", "/", "128", ")", "*", "128", ";", "else", "{", "MinSVEVectorSize", "=", "(", "std", "::", "min", "(", "MinSVEVectorSize", ",", "MaxSVEVectorSize", ")", "/", "128", ")", "*", "128", ";", "MaxSVEVectorSize", "=", "(", "std", "::", "max", "(", "MinSVEVectorSize", ",", "MaxSVEVectorSize", ")", "/", "128", ")", "*", "128", ";", "}", "Key", "+=", "\"SVEMin\"", ";", "Key", "+=", "std", "::", "to_string", "(", "MinSVEVectorSize", ")", ";", "Key", "+=", "\"SVEMax\"", ";", "Key", "+=", "std", "::", "to_string", "(", "MaxSVEVectorSize", ")", ";", "Key", "+=", "CPU", ";", "Key", "+=", "TuneCPU", ";", "Key", "+=", "FS", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "Key", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "std", "::", "make_unique", "<", "AArch64Subtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "TuneCPU", ",", "FS", ",", "*", "this", ",", "isLittle", ",", "MinSVEVectorSize", ",", "MaxSVEVectorSize", ")", ";", "}", "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": ["AArch64", "AArch64", "AArch64", "\"target-cpu\"", "\"tune-cpu\"", "\"target-features\"", "512", "0", "0", "128", "128", "128", "0", "\"SVE requires vector length in multiples of 128!\"", "128", "0", "\"SVE requires vector length in multiples of 128!\"", "0", "\"Minimum SVE vector size should not be larger than its maximum!\"", "0", "128", "128", "128", "128", "128", "128", "\"SVEMin\"", "\"SVEMax\"", "AArch64"], "File": "AArch64TargetMachine1", "Func": "getSubtargetImpl", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14748, "Length": 369, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "emitCalleeSavedFrameMovesFullCFA", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "if", "(", "!", "hasFP", "(", "MF", ")", ")", "{", "emitCalleeSavedFrameMoves", "(", "MBB", ",", "MBBI", ",", "DebugLoc", "{", "}", ",", "true", ")", ";", "return", ";", "}", "const", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "MCRegisterInfo", "*", "MRI", "=", "MMI", ".", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "const", "Register", "FramePtr", "=", "TRI", "->", "getFrameRegister", "(", "MF", ")", ";", "const", "Register", "MachineFramePtr", "=", "STI", ".", "isTarget64BitILP32", "(", ")", "?", "Register", "(", "getX86SubSuperRegister", "(", "FramePtr", ",", "64", ")", ")", ":", "FramePtr", ";", "unsigned", "DwarfReg", "=", "MRI", "->", "getDwarfRegNum", "(", "MachineFramePtr", ",", "true", ")", ";", "unsigned", "Offset", "=", "(", "Is64Bit", "?", "8", ":", "4", ")", "+", "(", "Uses64BitFramePtr", "?", "8", ":", "4", ")", ";", "BuildCFI", "(", "MBB", ",", "MBBI", ",", "DebugLoc", "{", "}", ",", "MCCFIInstruction", "::", "createOffset", "(", "nullptr", ",", "DwarfReg", ",", "-", "Offset", ")", ")", ";", "emitCalleeSavedFrameMoves", "(", "MBB", ",", "MBBI", ",", "DebugLoc", "{", "}", ",", "true", ")", ";", "}", ""], "natrual_language": ["Emits", "Dwarf", "Info", "specifying", "offsets", "of", "callee", "saved", "registers", "and", "frame", "pointer", "."], "TS_V_token": ["X86", "X86", "X86", "64", "8", "4", "8", "4"], "File": "X86FrameLowering (2)3", "Func": "emitCalleeSavedFrameMovesFullCFA", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14749, "Length": 179, "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", "::", "FRE", ":", "return", "\"PPCISD::FRE\"", ";", "case", "PPCISD", "::", "FRSQRTE", ":", "return", "\"PPCISD::FRSQRTE\"", ";", "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", "::", "CALL", ":", "return", "\"PPCISD::CALL\"", ";", "case", "PPCISD", "::", "CALL_NOP", ":", "return", "\"PPCISD::CALL_NOP\"", ";", "case", "PPCISD", "::", "MTCTR", ":", "return", "\"PPCISD::MTCTR\"", ";", "case", "PPCISD", "::", "BCTRL", ":", "return", "\"PPCISD::BCTRL\"", ";", "case", "PPCISD", "::", "RET_FLAG", ":", "return", "\"PPCISD::RET_FLAG\"", ";", "case", "PPCISD", "::", "EH_SJLJ_SETJMP", ":", "return", "\"PPCISD::EH_SJLJ_SETJMP\"", ";", "case", "PPCISD", "::", "EH_SJLJ_LONGJMP", ":", "return", "\"PPCISD::EH_SJLJ_LONGJMP\"", ";", "case", "PPCISD", "::", "MFOCRF", ":", "return", "\"PPCISD::MFOCRF\"", ";", "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", "::", "BDNZ", ":", "return", "\"PPCISD::BDNZ\"", ";", "case", "PPCISD", "::", "BDZ", ":", "return", "\"PPCISD::BDZ\"", ";", "case", "PPCISD", "::", "MFFS", ":", "return", "\"PPCISD::MFFS\"", ";", "case", "PPCISD", "::", "FADDRTZ", ":", "return", "\"PPCISD::FADDRTZ\"", ";", "case", "PPCISD", "::", "TC_RETURN", ":", "return", "\"PPCISD::TC_RETURN\"", ";", "case", "PPCISD", "::", "CR6SET", ":", "return", "\"PPCISD::CR6SET\"", ";", "case", "PPCISD", "::", "CR6UNSET", ":", "return", "\"PPCISD::CR6UNSET\"", ";", "case", "PPCISD", "::", "ADDIS_TOC_HA", ":", "return", "\"PPCISD::ADDIS_TOC_HA\"", ";", "case", "PPCISD", "::", "LD_TOC_L", ":", "return", "\"PPCISD::LD_TOC_L\"", ";", "case", "PPCISD", "::", "ADDI_TOC_L", ":", "return", "\"PPCISD::ADDI_TOC_L\"", ";", "case", "PPCISD", "::", "PPC32_GOT", ":", "return", "\"PPCISD::PPC32_GOT\"", ";", "case", "PPCISD", "::", "ADDIS_GOT_TPREL_HA", ":", "return", "\"PPCISD::ADDIS_GOT_TPREL_HA\"", ";", "case", "PPCISD", "::", "LD_GOT_TPREL_L", ":", "return", "\"PPCISD::LD_GOT_TPREL_L\"", ";", "case", "PPCISD", "::", "ADD_TLS", ":", "return", "\"PPCISD::ADD_TLS\"", ";", "case", "PPCISD", "::", "ADDIS_TLSGD_HA", ":", "return", "\"PPCISD::ADDIS_TLSGD_HA\"", ";", "case", "PPCISD", "::", "ADDI_TLSGD_L", ":", "return", "\"PPCISD::ADDI_TLSGD_L\"", ";", "case", "PPCISD", "::", "GET_TLS_ADDR", ":", "return", "\"PPCISD::GET_TLS_ADDR\"", ";", "case", "PPCISD", "::", "ADDIS_TLSLD_HA", ":", "return", "\"PPCISD::ADDIS_TLSLD_HA\"", ";", "case", "PPCISD", "::", "ADDI_TLSLD_L", ":", "return", "\"PPCISD::ADDI_TLSLD_L\"", ";", "case", "PPCISD", "::", "GET_TLSLD_ADDR", ":", "return", "\"PPCISD::GET_TLSLD_ADDR\"", ";", "case", "PPCISD", "::", "ADDIS_DTPREL_HA", ":", "return", "\"PPCISD::ADDIS_DTPREL_HA\"", ";", "case", "PPCISD", "::", "ADDI_DTPREL_L", ":", "return", "\"PPCISD::ADDI_DTPREL_L\"", ";", "case", "PPCISD", "::", "VADD_SPLAT", ":", "return", "\"PPCISD::VADD_SPLAT\"", ";", "case", "PPCISD", "::", "SC", ":", "return", "\"PPCISD::SC\"", ";", "}", "}", ""], "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::FRE", "\"PPCISD::FRE\"", "PPCISD::FRSQRTE", "\"PPCISD::FRSQRTE\"", "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::CALL", "\"PPCISD::CALL\"", "PPCISD::CALL_NOP", "\"PPCISD::CALL_NOP\"", "PPCISD::MTCTR", "\"PPCISD::MTCTR\"", "PPCISD::BCTRL", "\"PPCISD::BCTRL\"", "PPCISD::RET_FLAG", "\"PPCISD::RET_FLAG\"", "PPCISD::EH_SJLJ_SETJMP", "\"PPCISD::EH_SJLJ_SETJMP\"", "PPCISD::EH_SJLJ_LONGJMP", "\"PPCISD::EH_SJLJ_LONGJMP\"", "PPCISD::MFOCRF", "\"PPCISD::MFOCRF\"", "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::BDNZ", "\"PPCISD::BDNZ\"", "PPCISD::BDZ", "\"PPCISD::BDZ\"", "PPCISD::MFFS", "\"PPCISD::MFFS\"", "PPCISD::FADDRTZ", "\"PPCISD::FADDRTZ\"", "PPCISD::TC_RETURN", "\"PPCISD::TC_RETURN\"", "PPCISD::CR6SET", "\"PPCISD::CR6SET\"", "PPCISD::CR6UNSET", "\"PPCISD::CR6UNSET\"", "PPCISD::ADDIS_TOC_HA", "\"PPCISD::ADDIS_TOC_HA\"", "PPCISD::LD_TOC_L", "\"PPCISD::LD_TOC_L\"", "PPCISD::ADDI_TOC_L", "\"PPCISD::ADDI_TOC_L\"", "PPCISD::PPC32_GOT", "\"PPCISD::PPC32_GOT\"", "PPCISD::ADDIS_GOT_TPREL_HA", "\"PPCISD::ADDIS_GOT_TPREL_HA\"", "PPCISD::LD_GOT_TPREL_L", "\"PPCISD::LD_GOT_TPREL_L\"", "PPCISD::ADD_TLS", "\"PPCISD::ADD_TLS\"", "PPCISD::ADDIS_TLSGD_HA", "\"PPCISD::ADDIS_TLSGD_HA\"", "PPCISD::ADDI_TLSGD_L", "\"PPCISD::ADDI_TLSGD_L\"", "PPCISD::GET_TLS_ADDR", "\"PPCISD::GET_TLS_ADDR\"", "PPCISD::ADDIS_TLSLD_HA", "\"PPCISD::ADDIS_TLSLD_HA\"", "PPCISD::ADDI_TLSLD_L", "\"PPCISD::ADDI_TLSLD_L\"", "PPCISD::GET_TLSLD_ADDR", "\"PPCISD::GET_TLSLD_ADDR\"", "PPCISD::ADDIS_DTPREL_HA", "\"PPCISD::ADDIS_DTPREL_HA\"", "PPCISD::ADDI_DTPREL_L", "\"PPCISD::ADDI_DTPREL_L\"", "PPCISD::VADD_SPLAT", "\"PPCISD::VADD_SPLAT\"", "PPCISD::SC", "\"PPCISD::SC\""], "File": "PPCISelLowering (2)", "Func": "getTargetNodeName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14750, "Length": 504, "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": 14751, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getPrefFunctionAlignment", "(", ")", "const", "{", "return", "PrefFunctionAlignment", ";", "}", ""], "natrual_language": ["Return", "the", "preferred", "function", "alignment", "."], "TS_V_token": ["AArch64"], "File": "AArch64Subtarget10", "Func": "getPrefFunctionAlignment", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14752, "Length": 10, "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": 14753, "Length": 30, "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_size", "==", "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": "rs6000", "Func": "direct_return", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14754, "Length": 70, "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": 14755, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "DLXTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"unimplemented operand\"", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["DLX", "DLX", "\"unimplemented operand\""], "File": "DLXISelLowering", "Func": "LowerOperation", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14756, "Length": 32, "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", ";", "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", "(", "VOIDmode", ",", "tmp", ",", "permute_src", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "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": "rs60004", "Func": "rs6000_emit_le_vsx_store", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14757, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "ix86_libcall_value", "(", "enum", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_64BIT", ")", "{", "switch", "(", "mode", ")", "{", "case", "SFmode", ":", "case", "SCmode", ":", "case", "DFmode", ":", "case", "DCmode", ":", "case", "TFmode", ":", "return", "gen_rtx_REG", "(", "mode", ",", "FIRST_SSE_REG", ")", ";", "case", "XFmode", ":", "case", "XCmode", ":", "return", "gen_rtx_REG", "(", "mode", ",", "FIRST_FLOAT_REG", ")", ";", "case", "TCmode", ":", "return", "NULL", ";", "default", ":", "return", "gen_rtx_REG", "(", "mode", ",", "0", ")", ";", "}", "}", "else", "return", "gen_rtx_REG", "(", "mode", ",", "ix86_value_regno", "(", "mode", ",", "NULL", ",", "NULL", ")", ")", ";", "}", ""], "natrual_language": ["Define", "how", "to", "find", "the", "value", "returned", "by", "a", "library", "function", "assuming", "the", "value", "has", "mode", "MODE", "."], "TS_V_token": ["i386", "0"], "File": "i3863", "Func": "ix86_libcall_value", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14758, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMachineVerifierClean", "(", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "is", "expected", "to", "pass", "all", "machine", "verifier", "checks", "."], "TS_V_token": ["VE"], "File": "VETargetMachine", "Func": "isMachineVerifierClean", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14759, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsSubtarget", "*", "getSubtargetImpl", "(", ")", "const", "override", "{", "if", "(", "Subtarget", ")", "return", "Subtarget", ";", "return", "&", "DefaultSubtarget", ";", "}", ""], "natrual_language": ["Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsTargetMachine13", "Func": "getSubtargetImpl", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14760, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_strip_extend", "(", "rtx", "x", ",", "bool", "strip_shift", ")", "{", "scalar_int_mode", "mode", ";", "rtx", "op", "=", "x", ";", "if", "(", "!", "is_a", "<", "scalar_int_mode", ">", "(", "GET_MODE", "(", "op", ")", ",", "&", "mode", ")", ")", "return", "op", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "AND", "&&", "GET_CODE", "(", "XEXP", "(", "op", ",", "0", ")", ")", "==", "MULT", "&&", "CONST_INT_P", "(", "XEXP", "(", "XEXP", "(", "op", ",", "0", ")", ",", "1", ")", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "op", ",", "1", ")", ")", "&&", "aarch64_uxt_size", "(", "exact_log2", "(", "INTVAL", "(", "XEXP", "(", "XEXP", "(", "op", ",", "0", ")", ",", "1", ")", ")", ")", ",", "INTVAL", "(", "XEXP", "(", "op", ",", "1", ")", ")", ")", "!=", "0", ")", "return", "XEXP", "(", "XEXP", "(", "op", ",", "0", ")", ",", "0", ")", ";", "if", "(", "strip_shift", "&&", "GET_CODE", "(", "op", ")", "==", "ASHIFT", "&&", "CONST_INT_P", "(", "XEXP", "(", "op", ",", "1", ")", ")", "&&", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "INTVAL", "(", "XEXP", "(", "op", ",", "1", ")", ")", ")", "<=", "4", ")", "op", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "ZERO_EXTEND", "||", "GET_CODE", "(", "op", ")", "==", "SIGN_EXTEND", ")", "op", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "op", "!=", "x", ")", "return", "op", ";", "return", "x", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "rtx", "cost", "calculation", ".", "Strip", "an", "extend", "expression", "from", "X", ".", "Returns", "the", "inner", "operand", "if", "successful", ",", "or", "the", "original", "expression", "on", "failure", ".", "We", "deal", "with", "a", "number", "of", "possible", "canonicalization", "variations", "here", "."], "TS_V_token": ["aarch64", "0", "0", "1", "1", "0", "1", "1", "0", "0", "0", "1", "1", "4", "0", "0"], "File": "aarch641", "Func": "aarch64_strip_extend", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14761, "Length": 217, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1FrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "DebugLoc", "DL", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "ARM", "::", "tPUSH", ")", ")", ";", "AddDefaultPred", "(", "MIB", ")", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "bool", "isKill", "=", "true", ";", "if", "(", "Reg", "==", "ARM", "::", "LR", ")", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "if", "(", "MF", ".", "getFrameInfo", "(", ")", "->", "isReturnAddressTaken", "(", ")", "&&", "MF", ".", "getRegInfo", "(", ")", ".", "isLiveIn", "(", "Reg", ")", ")", "isKill", "=", "false", ";", "}", "if", "(", "isKill", ")", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "MIB", ".", "addReg", "(", "Reg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "}", "MIB", ".", "setMIFlags", "(", "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": ["ARM", "ARM::tPUSH", "0", "1", "ARM::LR"], "File": "Thumb1FrameLowering1", "Func": "spillCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14762, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "function_expander", "::", "prepare_prefetch_operands", "(", ")", "{", "unsigned", "int", "prfop", "=", "INTVAL", "(", "args", ".", "last", "(", ")", ")", ";", "args", ".", "quick_push", "(", "GEN_INT", "(", "(", "prfop", "&", "8", ")", "!=", "0", ")", ")", ";", "args", ".", "quick_push", "(", "GEN_INT", "(", "(", "(", "prfop", ">>", "1", ")", "&", "3", ")", "+", "1", ")", ")", ";", "}", ""], "natrual_language": ["The", "final", "argument", "is", "an", "immediate", "svprfop", "value", ".", "Add", "two", "fake", "arguments", "to", "represent", "the", "rw", "and", "locality", "operands", "of", "a", "PREFETCH", "rtx", "."], "TS_V_token": ["aarch64", "8", "0", "1", "3", "1"], "File": "aarch64-sve-builtins", "Func": "prepare_prefetch_operands", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14763, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getFirstTerminator", "(", ")", ";", "bool", "IsEHFuncletEpilogue", "=", "MBBI", "==", "MBB", ".", "end", "(", ")", "?", "false", ":", "isFuncletReturnInstr", "(", "*", "MBBI", ")", ";", "const", "X86FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "getIndex", "(", ")", ";", "int", "FIOffset", ";", "Register", "BasePtr", ";", "if", "(", "MI", ".", "isReturn", "(", ")", ")", "{", "assert", "(", "(", "!", "needsStackRealignment", "(", "MF", ")", "||", "MF", ".", "getFrameInfo", "(", ")", ".", "isFixedObjectIndex", "(", "FrameIndex", ")", ")", "&&", "\"Return instruction can only reference SP relative frame objects\"", ")", ";", "FIOffset", "=", "TFI", "->", "getFrameIndexReferenceSP", "(", "MF", ",", "FrameIndex", ",", "BasePtr", ",", "0", ")", ".", "getFixed", "(", ")", ";", "}", "else", "if", "(", "TFI", "->", "Is64Bit", "&&", "(", "MBB", ".", "isEHFuncletEntry", "(", ")", "||", "IsEHFuncletEpilogue", ")", ")", "{", "FIOffset", "=", "TFI", "->", "getWin64EHFrameIndexRef", "(", "MF", ",", "FrameIndex", ",", "BasePtr", ")", ";", "}", "else", "{", "FIOffset", "=", "TFI", "->", "getFrameIndexReference", "(", "MF", ",", "FrameIndex", ",", "BasePtr", ")", ".", "getFixed", "(", ")", ";", "}", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "TargetOpcode", "::", "LOCAL_ESCAPE", ")", "{", "MachineOperand", "&", "FI", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ";", "FI", ".", "ChangeToImmediate", "(", "FIOffset", ")", ";", "return", ";", "}", "Register", "MachineBasePtr", "=", "BasePtr", ";", "if", "(", "Opc", "==", "X86", "::", "LEA64_32r", "&&", "X86", "::", "GR32RegClass", ".", "contains", "(", "BasePtr", ")", ")", "MachineBasePtr", "=", "getX86SubSuperRegister", "(", "BasePtr", ",", "64", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "MachineBasePtr", ",", "false", ")", ";", "if", "(", "BasePtr", "==", "StackPtr", ")", "FIOffset", "+=", "SPAdj", ";", "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!\"", ")", ";", "if", "(", "Offset", "!=", "0", "||", "!", "tryOptimizeLEAtoMOV", "(", "II", ")", ")", "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", "X86", "\"Return instruction can only reference SP relative frame objects\"", "0", "X86::LEA64_32r", "X86::GR32RegClass", "X86", "64", "\"Expected the FP as base register\"", "1", "1", "3", "3", "32", "\"Requesting 64-bit offset in 32-bit immediate!\"", "0", "3", "3", "3"], "File": "X86RegisterInfo10", "Func": "eliminateFrameIndex", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14764, "Length": 503, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "function_expander", "::", "add_integer_operand", "(", "HOST_WIDE_INT", "x", ")", "{", "m_ops", ".", "safe_grow", "(", "m_ops", ".", "length", "(", ")", "+", "1", ",", "true", ")", ";", "create_integer_operand", "(", "&", "m_ops", ".", "last", "(", ")", ",", "x", ")", ";", "}", ""], "natrual_language": ["Add", "an", "integer", "operand", "X", "."], "TS_V_token": ["aarch64", "1"], "File": "aarch64-sve-builtins1", "Func": "add_integer_operand", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14765, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "arm_identify_fpu_from_isa", "(", "sbitmap", "isa", ")", "{", "auto_sbitmap", "fpubits", "(", "isa_num_bits", ")", ";", "auto_sbitmap", "cand_fpubits", "(", "isa_num_bits", ")", ";", "bitmap_and", "(", "fpubits", ",", "isa", ",", "isa_all_fpubits", ")", ";", "if", "(", "bitmap_empty_p", "(", "fpubits", ")", ")", "return", "\"softvfp\"", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "TARGET_FPU_auto", ";", "i", "++", ")", "{", "arm_initialize_isa", "(", "cand_fpubits", ",", "all_fpus", "[", "i", "]", ".", "isa_bits", ")", ";", "if", "(", "bitmap_equal_p", "(", "fpubits", ",", "cand_fpubits", ")", ")", "return", "all_fpus", "[", "i", "]", ".", "name", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Match", "an", "ISA", "feature", "bitmap", "to", "a", "named", "FPU", ".", "We", "always", "use", "the", "first", "entry", "that", "exactly", "matches", "the", "feature", "set", ",", "so", "that", "we", "effectively", "canonicalize", "the", "FPU", "name", "for", "the", "assembler", "."], "TS_V_token": ["arm", "\"softvfp\"", "0"], "File": "arm7", "Func": "arm_identify_fpu_from_isa", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14766, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZTargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ")", "const", "{", "if", "(", "AM", ".", "BaseGV", ")", "return", "false", ";", "if", "(", "!", "isInt", "<", "20", ">", "(", "AM", ".", "BaseOffs", ")", ")", "return", "false", ";", "return", "AM", ".", "Scale", "==", "0", "||", "AM", ".", "Scale", "==", "1", ";", "}", ""], "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": ["SystemZ", "SystemZ", "20", "0", "1"], "File": "SystemZISelLowering (2)1", "Func": "isLegalAddressingMode", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14767, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "loongarch_build_integer", "(", "struct", "loongarch_integer_op", "*", "codes", ",", "HOST_WIDE_INT", "value", ")", "{", "unsigned", "int", "cost", "=", "0", ";", "HOST_WIDE_INT", "low_part", "=", "TARGET_64BIT", "?", "value", "<<", "32", ">>", "32", ":", "value", ";", "if", "(", "IMM12_OPERAND", "(", "low_part", ")", "||", "IMM12_OPERAND_UNSIGNED", "(", "low_part", ")", ")", "{", "codes", "[", "0", "]", ".", "code", "=", "UNKNOWN", ";", "codes", "[", "0", "]", ".", "method", "=", "METHOD_NORMAL", ";", "codes", "[", "0", "]", ".", "value", "=", "low_part", ";", "cost", "++", ";", "}", "else", "{", "codes", "[", "0", "]", ".", "code", "=", "UNKNOWN", ";", "codes", "[", "0", "]", ".", "method", "=", "METHOD_NORMAL", ";", "codes", "[", "0", "]", ".", "value", "=", "low_part", "&", "~", "(", "IMM_REACH", "-", "1", ")", ";", "cost", "++", ";", "HOST_WIDE_INT", "iorv", "=", "low_part", "&", "(", "IMM_REACH", "-", "1", ")", ";", "if", "(", "iorv", "!=", "0", ")", "{", "codes", "[", "1", "]", ".", "code", "=", "IOR", ";", "codes", "[", "1", "]", ".", "method", "=", "METHOD_NORMAL", ";", "codes", "[", "1", "]", ".", "value", "=", "iorv", ";", "cost", "++", ";", "}", "}", "if", "(", "TARGET_64BIT", ")", "{", "bool", "lu32i", "[", "2", "]", "=", "{", "(", "value", "&", "LU32I_B", ")", "==", "0", ",", "(", "value", "&", "LU32I_B", ")", "==", "LU32I_B", "}", ";", "bool", "lu52i", "[", "2", "]", "=", "{", "(", "value", "&", "LU52I_B", ")", "==", "0", ",", "(", "value", "&", "LU52I_B", ")", "==", "LU52I_B", "}", ";", "int", "sign31", "=", "(", "value", "&", "(", "1UL", "<<", "31", ")", ")", ">>", "31", ";", "if", "(", "lu32i", "[", "sign31", "]", "&&", "lu52i", "[", "sign31", "]", ")", "return", "cost", ";", "else", "if", "(", "lu32i", "[", "sign31", "]", ")", "{", "codes", "[", "cost", "]", ".", "method", "=", "METHOD_LU52I", ";", "codes", "[", "cost", "]", ".", "value", "=", "(", "value", ">>", "52", ")", "<<", "52", ";", "return", "cost", "+", "1", ";", "}", "codes", "[", "cost", "]", ".", "method", "=", "METHOD_LU32I", ";", "codes", "[", "cost", "]", ".", "value", "=", "(", "(", "value", "<<", "12", ")", ">>", "44", ")", "<<", "32", ";", "cost", "++", ";", "if", "(", "!", "lu52i", "[", "(", "value", "&", "(", "1ULL", "<<", "51", ")", ")", ">>", "51", "]", ")", "{", "codes", "[", "cost", "]", ".", "method", "=", "METHOD_LU52I", ";", "codes", "[", "cost", "]", ".", "value", "=", "(", "value", ">>", "52", ")", "<<", "52", ";", "cost", "++", ";", "}", "}", "gcc_assert", "(", "cost", "<=", "LARCH_MAX_INTEGER_OPS", ")", ";", "return", "cost", ";", "}", ""], "natrual_language": ["Fill", "CODES", "with", "a", "sequence", "of", "rtl", "operations", "to", "load", "VALUE", ".", "Return", "the", "number", "of", "operations", "needed", "."], "TS_V_token": ["loongarch", "0", "32", "32", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "1", "1", "2", "0", "2", "0", "1UL", "31", "31", "52", "52", "1", "12", "44", "32", "1ULL", "51", "51", "52", "52"], "File": "loongarch", "Func": "loongarch_build_integer", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14768, "Length": 378, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CallLowering", "::", "isEligibleForTailCallOptimization", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "CallLoweringInfo", "&", "Info", ",", "SmallVectorImpl", "<", "ArgInfo", ">", "&", "InArgs", ",", "SmallVectorImpl", "<", "ArgInfo", ">", "&", "OutArgs", ")", "const", "{", "if", "(", "!", "Info", ".", "IsTailCall", ")", "return", "false", ";", "CallingConv", "::", "ID", "CalleeCC", "=", "Info", ".", "CallConv", ";", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "Function", "&", "CallerF", "=", "MF", ".", "getFunction", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Attempting to lower call as tail call\\n\"", ")", ";", "if", "(", "Info", ".", "SwiftErrorVReg", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"... Cannot handle tail calls with swifterror yet.\\n\"", ")", ";", "return", "false", ";", "}", "if", "(", "!", "mayTailCallThisCC", "(", "CalleeCC", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"... Calling convention cannot be tail called.\\n\"", ")", ";", "return", "false", ";", "}", "if", "(", "any_of", "(", "CallerF", ".", "args", "(", ")", ",", "[", "]", "(", "const", "Argument", "&", "A", ")", "{", "return", "A", ".", "hasByValAttr", "(", ")", "||", "A", ".", "hasInRegAttr", "(", ")", "||", "A", ".", "hasSwiftErrorAttr", "(", ")", ";", "}", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"... Cannot tail call from callers with byval, \"", "\"inreg, or swifterror arguments\\n\"", ")", ";", "return", "false", ";", "}", "if", "(", "Info", ".", "Callee", ".", "isGlobal", "(", ")", ")", "{", "const", "GlobalValue", "*", "GV", "=", "Info", ".", "Callee", ".", "getGlobal", "(", ")", ";", "const", "Triple", "&", "TT", "=", "MF", ".", "getTarget", "(", ")", ".", "getTargetTriple", "(", ")", ";", "if", "(", "GV", "->", "hasExternalWeakLinkage", "(", ")", "&&", "(", "!", "TT", ".", "isOSWindows", "(", ")", "||", "TT", ".", "isOSBinFormatELF", "(", ")", "||", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"... Cannot tail call externally-defined function \"", "\"with weak linkage for this OS.\\n\"", ")", ";", "return", "false", ";", "}", "}", "if", "(", "canGuaranteeTCO", "(", "CalleeCC", ",", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "GuaranteedTailCallOpt", ")", ")", "return", "CalleeCC", "==", "CallerF", ".", "getCallingConv", "(", ")", ";", "assert", "(", "(", "!", "Info", ".", "IsVarArg", "||", "CalleeCC", "==", "CallingConv", "::", "C", ")", "&&", "\"Unexpected variadic calling convention\"", ")", ";", "if", "(", "!", "doCallerAndCalleePassArgsTheSameWay", "(", "Info", ",", "MF", ",", "InArgs", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"... Caller and callee have incompatible calling conventions.\\n\"", ")", ";", "return", "false", ";", "}", "if", "(", "!", "areCalleeOutgoingArgsTailCallable", "(", "Info", ",", "MF", ",", "OutArgs", ")", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"... Call is eligible for tail call optimization.\\n\"", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "call", "can", "be", "lowered", "as", "a", "tail", "call", "."], "TS_V_token": ["AArch64", "AArch64", "\"Attempting to lower call as tail call\\n\"", "\"... Cannot handle tail calls with swifterror yet.\\n\"", "\"... Calling convention cannot be tail called.\\n\"", "\"... Cannot tail call from callers with byval, \"", "\"inreg, or swifterror arguments\\n\"", "\"... Cannot tail call externally-defined function \"", "\"with weak linkage for this OS.\\n\"", "\"Unexpected variadic calling convention\"", "\"... Caller and callee have incompatible calling conventions.\\n\"", "\"... Call is eligible for tail call optimization.\\n\""], "File": "AArch64CallLowering13", "Func": "isEligibleForTailCallOptimization", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14769, "Length": 358, "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": 14770, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isSubregFoldable", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Check", "whether", "the", "target", "can", "fold", "a", "load", "that", "feeds", "a", "subreg", "operand", "(", "or", "a", "subreg", "operand", "that", "feeds", "a", "store", ")", "."], "TS_V_token": ["X86"], "File": "X86InstrInfo (2)2", "Func": "isSubregFoldable", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14771, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "void", "desc_abi", "(", "unsigned", "char", "abi", "__attribute__", "(", "(", "unused", ")", ")", ",", "unsigned", "char", "context", "__attribute__", "(", "(", "unused", ")", ")", ",", "struct", "unw_state_record", "*", "sr", "__attribute__", "(", "(", "unused", ")", ")", ")", "{", "}", ""], "natrual_language": ["Prologue", "descriptors", "."], "TS_V_token": ["ia64"], "File": "unwind-ia64", "Func": "desc_abi", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14772, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "OR1KMCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "getOR1KRegisterNumbering", "(", "MO", ".", "getReg", "(", ")", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", ")", ";", "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", ")", ";", "OR1K", "::", "Fixups", "FixupKind", "=", "OR1K", "::", "Fixups", "(", "0", ")", ";", "switch", "(", "cast", "<", "MCSymbolRefExpr", ">", "(", "Expr", ")", "->", "getKind", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown fixup kind!\"", ")", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_None", ":", "switch", "(", "InstrInfo", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ".", "TSFlags", ")", "{", "case", "OR1KII", "::", "AFrm", ":", "FixupKind", "=", "OR1K", "::", "fixup_OR1K_LO16_INSN", ";", "break", ";", "case", "OR1KII", "::", "JFrm", ":", "FixupKind", "=", "OR1K", "::", "fixup_OR1K_REL26", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Unsupported expression operand in assembly source\"", ")", ";", "}", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_OR1K_ABS_HI", ":", "FixupKind", "=", "OR1K", "::", "fixup_OR1K_HI16_INSN", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_OR1K_ABS_LO", ":", "FixupKind", "=", "OR1K", "::", "fixup_OR1K_LO16_INSN", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_OR1K_PLT", ":", "FixupKind", "=", "OR1K", "::", "fixup_OR1K_PLT26", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_OR1K_GOTPCHI", ":", "FixupKind", "=", "OR1K", "::", "fixup_OR1K_GOTPC_HI16", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_OR1K_GOTPCLO", ":", "FixupKind", "=", "OR1K", "::", "fixup_OR1K_GOTPC_LO16", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_OR1K_GOTOFFHI", ":", "FixupKind", "=", "OR1K", "::", "fixup_OR1K_GOTOFF_HI16", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_OR1K_GOTOFFLO", ":", "FixupKind", "=", "OR1K", "::", "fixup_OR1K_GOTOFF_LO16", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_OR1K_GOT", ":", "FixupKind", "=", "OR1K", "::", "fixup_OR1K_GOT16", ";", "break", ";", "}", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "MO", ".", "getExpr", "(", ")", ",", "MCFixupKind", "(", "FixupKind", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["OR1K", "OR1K", "OR1K", "OR1K::Fixups", "OR1K::Fixups", "0", "\"Unknown fixup kind!\"", "OR1KII::AFrm", "OR1K::fixup_OR1K_LO16_INSN", "OR1KII::JFrm", "OR1K::fixup_OR1K_REL26", "\"Unsupported expression operand in assembly source\"", "OR1K", "OR1K::fixup_OR1K_HI16_INSN", "OR1K", "OR1K::fixup_OR1K_LO16_INSN", "OR1K", "OR1K::fixup_OR1K_PLT26", "OR1K", "OR1K::fixup_OR1K_GOTPC_HI16", "OR1K", "OR1K::fixup_OR1K_GOTPC_LO16", "OR1K", "OR1K::fixup_OR1K_GOTOFF_HI16", "OR1K", "OR1K::fixup_OR1K_GOTOFF_LO16", "OR1K", "OR1K::fixup_OR1K_GOT16", "0", "0"], "File": "OR1KMCCodeEmitter1", "Func": "getMachineOpValue", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14773, "Length": 367, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsRegisterInfo", "&", "MipsSEInstrInfo", "::", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsSEInstrInfo", "Func": "getRegisterInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14774, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ia64_speculate_insn", "(", "rtx_insn", "*", "insn", ",", "ds_t", "ts", ",", "rtx", "*", "new_pat", ")", "{", "int", "mode_no", ";", "int", "res", ";", "gcc_assert", "(", "!", "(", "ts", "&", "~", "SPECULATIVE", ")", ")", ";", "if", "(", "ia64_spec_check_p", "(", "insn", ")", ")", "return", "-", "1", ";", "if", "(", "(", "ts", "&", "BE_IN_SPEC", ")", "&&", "!", "insn_can_be_in_speculative_p", "(", "insn", ",", "ts", ")", ")", "return", "-", "1", ";", "mode_no", "=", "get_mode_no_for_insn", "(", "insn", ")", ";", "if", "(", "mode_no", "!=", "SPEC_MODE_INVALID", ")", "{", "if", "(", "ia64_get_insn_spec_ds", "(", "insn", ")", "==", "ds_get_speculation_types", "(", "ts", ")", ")", "res", "=", "0", ";", "else", "{", "res", "=", "1", ";", "*", "new_pat", "=", "ia64_gen_spec_load", "(", "insn", ",", "ts", ",", "mode_no", ")", ";", "}", "}", "else", "res", "=", "-", "1", ";", "return", "res", ";", "}", ""], "natrual_language": ["Implement", "targetm.sched.speculate_insn", "hook", ".", "Check", "if", "the", "INSN", "can", "be", "TS", "speculative", ".", "If", "'no", "'", "-", "return", "-1", ".", "If", "'yes", "'", "-", "generate", "speculative", "pattern", "in", "the", "NEW_PAT", "and", "return", "1", ".", "If", "current", "pattern", "of", "the", "INSN", "already", "provides", "TS", "speculation", ",", "return", "0", "."], "TS_V_token": ["ia64", "1", "1", "0", "1", "1"], "File": "ia64", "Func": "ia64_speculate_insn", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14775, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsRegisterInfo", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MipsFunctionInfo", "*", "MipsFI", "=", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "bool", "isPIC", "=", "(", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", ";", "adjustMipsStackFrame", "(", "MF", ")", ";", "unsigned", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "0", "&&", "!", "MFI", "->", "adjustsStack", "(", ")", ")", "return", ";", "int", "FPOffset", "=", "MipsFI", "->", "getFPStackOffset", "(", ")", ";", "int", "RAOffset", "=", "MipsFI", "->", "getRAStackOffset", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "NOREORDER", ")", ")", ";", "if", "(", "isPIC", "&&", "Subtarget", ".", "isABI_O32", "(", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "CPLOAD", ")", ")", ".", "addReg", "(", "getPICCallReg", "(", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "NOMACRO", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "ADDiu", ")", ",", "Mips", "::", "SP", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ".", "addImm", "(", "-", "StackSize", ")", ";", "if", "(", "MFI", "->", "adjustsStack", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "SW", ")", ")", ".", "addReg", "(", "Mips", "::", "RA", ")", ".", "addImm", "(", "RAOffset", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "SW", ")", ")", ".", "addReg", "(", "Mips", "::", "FP", ")", ".", "addImm", "(", "FPOffset", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "ADDu", ")", ",", "Mips", "::", "FP", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ".", "addReg", "(", "Mips", "::", "ZERO", ")", ";", "}", "if", "(", "MipsFI", "->", "needGPSaveRestore", "(", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "CPRESTORE", ")", ")", ".", "addImm", "(", "MipsFI", "->", "getGPStackOffset", "(", ")", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "0", "Mips", "Mips", "Mips::NOREORDER", "Mips::CPLOAD", "Mips::NOMACRO", "Mips::ADDiu", "Mips::SP", "Mips::SP", "Mips::SW", "Mips::RA", "Mips::SP", "Mips::SW", "Mips::FP", "Mips::SP", "Mips::ADDu", "Mips::FP", "Mips::SP", "Mips::ZERO", "Mips", "Mips::CPRESTORE", "Mips"], "File": "MipsRegisterInfo17", "Func": "emitPrologue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14776, "Length": 413, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64TargetLowering", "::", "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", "{", "if", "(", "isVarArg", "&&", "!", "Outs", ".", "empty", "(", ")", ")", "return", "false", ";", "if", "(", "isCalleeStructRet", "||", "isCallerStructRet", ")", "return", "false", ";", "if", "(", "!", "Outs", ".", "empty", "(", ")", ")", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CalleeCC", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "getTargetMachine", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCAssignFn", "*", "AssignFn", "=", "CCAssignFnForCall", "(", "CalleeCC", ",", "false", ")", ";", "CCInfo", ".", "AnalyzeCallOperands", "(", "Outs", ",", "AssignFn", ")", ";", "if", "(", "CCInfo", ".", "getNextStackOffset", "(", ")", ")", "{", "for", "(", "unsigned", "i", "=", "0", ",", "realArgIdx", "=", "0", ",", "e", "=", "ArgLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ",", "++", "realArgIdx", ")", "{", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "i", "]", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "Indirect", ")", "return", "false", ";", "if", "(", "VA", ".", "needsCustom", "(", ")", ")", "{", "return", "false", ";", "}", "else", "if", "(", "!", "VA", ".", "isRegLoc", "(", ")", ")", "{", "return", "false", ";", "}", "}", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "call", "can", "be", "lowered", "as", "a", "tail", "call", "."], "TS_V_token": ["ARM64", "ARM64", "ISD::OutputArg", "ISD::InputArg", "16", "0", "0"], "File": "ARM64ISelLowering", "Func": "isEligibleForTailCallOptimization", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14777, "Length": 242, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "insn_is_swappable_p", "(", "swap_web_entry", "*", "insn_entry", ",", "rtx", "insn", ",", "unsigned", "int", "*", "special", ")", "{", "if", "(", "GET_CODE", "(", "insn", ")", "==", "CALL_INSN", ")", "return", "0", ";", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "int", "i", "=", "INSN_UID", "(", "insn", ")", ";", "if", "(", "insn_entry", "[", "i", "]", ".", "is_load", ")", "{", "if", "(", "GET_CODE", "(", "body", ")", "==", "SET", ")", "{", "*", "special", "=", "SH_NOSWAP_LD", ";", "return", "1", ";", "}", "else", "return", "0", ";", "}", "if", "(", "insn_entry", "[", "i", "]", ".", "is_store", ")", "{", "if", "(", "GET_CODE", "(", "body", ")", "==", "SET", "&&", "GET_CODE", "(", "SET_SRC", "(", "body", ")", ")", "!=", "UNSPEC", ")", "{", "*", "special", "=", "SH_NOSWAP_ST", ";", "return", "1", ";", "}", "else", "return", "0", ";", "}", "return", "rtx_is_swappable_p", "(", "body", ",", "special", ")", ";", "}", ""], "natrual_language": ["Return", "1", "iff", "INSN", "is", "an", "operand", "that", "will", "not", "be", "affected", "by", "having", "vector", "doublewords", "swapped", "in", "memory", "(", "in", "which", "case", "*", "SPECIAL", "is", "unchanged", ")", ",", "or", "that", "can", "be", "modified", "to", "be", "correct", "if", "vector", "doublewords", "are", "swapped", "in", "memory", "(", "in", "which", "case", "*", "SPECIAL", "is", "changed", "to", "a", "value", "indicating", "how", ")", "."], "TS_V_token": ["rs6000", "0", "1", "0", "1", "0"], "File": "rs60004", "Func": "insn_is_swappable_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14778, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_builtin_support_vector_misalignment", "(", "machine_mode", "mode", ",", "const_tree", "type", ",", "int", "misalignment", ",", "bool", "is_packed", ")", "{", "if", "(", "TARGET_VSX", ")", "{", "if", "(", "TARGET_EFFICIENT_UNALIGNED_VSX", ")", "return", "true", ";", "if", "(", "optab_handler", "(", "movmisalign_optab", ",", "mode", ")", "==", "CODE_FOR_nothing", ")", "return", "false", ";", "if", "(", "misalignment", "==", "-", "1", ")", "{", "if", "(", "rs6000_vector_alignment_reachable", "(", "type", ",", "is_packed", ")", ")", "{", "int", "element_size", "=", "TREE_INT_CST_LOW", "(", "TYPE_SIZE", "(", "type", ")", ")", ";", "if", "(", "element_size", "==", "64", "||", "element_size", "==", "32", ")", "return", "true", ";", "}", "return", "false", ";", "}", "if", "(", "misalignment", "%", "4", "==", "0", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "vector", "misalignment", "factor", "is", "supported", "by", "the", "target", "."], "TS_V_token": ["powerpcspe", "1", "64", "32", "4", "0"], "File": "powerpcspe", "Func": "rs6000_builtin_support_vector_misalignment", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14779, "Length": 106, "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": 14780, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "xstormy16_mode_dependent_address_p", "(", "rtx", "x", ")", "{", "if", "(", "LEGITIMATE_ADDRESS_CONST_INT_P", "(", "x", ",", "0", ")", "&&", "!", "LEGITIMATE_ADDRESS_CONST_INT_P", "(", "x", ",", "6", ")", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "LEGITIMATE_ADDRESS_INTEGER_P", "(", "XEXP", "(", "x", ",", "1", ")", ",", "0", ")", "&&", "!", "LEGITIMATE_ADDRESS_INTEGER_P", "(", "XEXP", "(", "x", ",", "1", ")", ",", "6", ")", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "POST_INC", "||", "GET_CODE", "(", "x", ")", "==", "PRE_DEC", ")", "return", "1", ";", "return", "0", ";", "}", ""], "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", "1", "0", "1", "6", "1", "0", "1", "0"], "File": "stormy163", "Func": "xstormy16_mode_dependent_address_p", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14781, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "moxie_print_operand_address", "(", "FILE", "*", "file", ",", "rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "REG", ":", "fprintf", "(", "file", ",", "\"(%s)\"", ",", "reg_names", "[", "REGNO", "(", "x", ")", "]", ")", ";", "break", ";", "case", "PLUS", ":", "switch", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "{", "case", "CONST_INT", ":", "fprintf", "(", "file", ",", "\"%ld(%s)\"", ",", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "break", ";", "case", "SYMBOL_REF", ":", "output_addr_const", "(", "file", ",", "XEXP", "(", "x", ",", "1", ")", ")", ";", "fprintf", "(", "file", ",", "\"(%s)\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "break", ";", "case", "CONST", ":", "{", "rtx", "plus", "=", "XEXP", "(", "XEXP", "(", "x", ",", "1", ")", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "plus", ",", "0", ")", ")", "==", "SYMBOL_REF", "&&", "CONST_INT_P", "(", "XEXP", "(", "plus", ",", "1", ")", ")", ")", "{", "output_addr_const", "(", "file", ",", "XEXP", "(", "plus", ",", "0", ")", ")", ";", "fprintf", "(", "file", ",", "\"+%ld(%s)\"", ",", "INTVAL", "(", "XEXP", "(", "plus", ",", "1", ")", ")", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "}", "else", "abort", "(", ")", ";", "}", "break", ";", "default", ":", "abort", "(", ")", ";", "}", "break", ";", "default", ":", "output_addr_const", "(", "file", ",", "x", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["The", "PRINT_OPERAND_ADDRESS", "worker", "."], "TS_V_token": ["moxie", "\"(%s)\"", "1", "\"%ld(%s)\"", "1", "0", "1", "\"(%s)\"", "0", "1", "0", "0", "1", "0", "\"+%ld(%s)\"", "1", "0"], "File": "moxie2", "Func": "moxie_print_operand_address", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14782, "Length": 244, "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", ")", ".", "addImm", "(", "ARMCC", "::", "AL", ")", ".", "addReg", "(", "0", ")", ";", "else", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "BOpc", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "}", "else", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "BccOpc", ")", ")", ".", "addMBB", "(", "TBB", ")", ".", "addImm", "(", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ")", ".", "addOperand", "(", "Cond", "[", "1", "]", ")", ";", "return", "1", ";", "}", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "BccOpc", ")", ")", ".", "addMBB", "(", "TBB", ")", ".", "addImm", "(", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ")", ".", "addOperand", "(", "Cond", "[", "1", "]", ")", ";", "if", "(", "isThumb", ")", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "BOpc", ")", ")", ".", "addMBB", "(", "FBB", ")", ".", "addImm", "(", "ARMCC", "::", "AL", ")", ".", "addReg", "(", "0", ")", ";", "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", "0", "1", "1", "0", "1", "ARMCC::AL", "0", "2"], "File": "ARMBaseInstrInfo97", "Func": "insertBranch", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14783, "Length": 371, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mep_expand_setcc_1", "(", "enum", "rtx_code", "code", ",", "rtx", "dest", ",", "rtx", "op1", ",", "rtx", "op2", ")", "{", "rtx", "tmp", ";", "switch", "(", "code", ")", "{", "case", "GT", ":", "case", "GTU", ":", "tmp", "=", "op1", ",", "op1", "=", "op2", ",", "op2", "=", "tmp", ";", "code", "=", "swap_condition", "(", "code", ")", ";", "case", "LT", ":", "case", "LTU", ":", "op1", "=", "force_reg", "(", "SImode", ",", "op1", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "gen_rtx_fmt_ee", "(", "code", ",", "SImode", ",", "op1", ",", "op2", ")", ")", ")", ";", "return", "true", ";", "case", "EQ", ":", "if", "(", "op2", "!=", "const0_rtx", ")", "op1", "=", "expand_binop", "(", "SImode", ",", "sub_optab", ",", "op1", ",", "op2", ",", "NULL", ",", "1", ",", "OPTAB_WIDEN", ")", ";", "mep_expand_setcc_1", "(", "LTU", ",", "dest", ",", "op1", ",", "const1_rtx", ")", ";", "return", "true", ";", "case", "NE", ":", "if", "(", "optimize_size", "&&", "op2", "!=", "const0_rtx", ")", "return", "false", ";", "if", "(", "op2", "!=", "const0_rtx", ")", "op1", "=", "expand_binop", "(", "SImode", ",", "sub_optab", ",", "op1", ",", "op2", ",", "NULL", ",", "1", ",", "OPTAB_WIDEN", ")", ";", "op2", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "mep_expand_setcc_1", "(", "LTU", ",", "op2", ",", "op1", ",", "const1_rtx", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "gen_rtx_XOR", "(", "SImode", ",", "op2", ",", "const1_rtx", ")", ")", ")", ";", "return", "true", ";", "case", "LE", ":", "if", "(", "GET_CODE", "(", "op2", ")", "!=", "CONST_INT", "||", "INTVAL", "(", "op2", ")", "==", "0x7ffffff", ")", "return", "false", ";", "op2", "=", "GEN_INT", "(", "INTVAL", "(", "op2", ")", "+", "1", ")", ";", "return", "mep_expand_setcc_1", "(", "LT", ",", "dest", ",", "op1", ",", "op2", ")", ";", "case", "LEU", ":", "if", "(", "GET_CODE", "(", "op2", ")", "!=", "CONST_INT", "||", "INTVAL", "(", "op2", ")", "==", "-", "1", ")", "return", "false", ";", "op2", "=", "GEN_INT", "(", "trunc_int_for_mode", "(", "INTVAL", "(", "op2", ")", "+", "1", ",", "SImode", ")", ")", ";", "return", "mep_expand_setcc_1", "(", "LTU", ",", "dest", ",", "op1", ",", "op2", ")", ";", "case", "GE", ":", "if", "(", "GET_CODE", "(", "op2", ")", "!=", "CONST_INT", "||", "INTVAL", "(", "op2", ")", "==", "trunc_int_for_mode", "(", "0x80000000", ",", "SImode", ")", ")", "return", "false", ";", "op2", "=", "GEN_INT", "(", "INTVAL", "(", "op2", ")", "-", "1", ")", ";", "return", "mep_expand_setcc_1", "(", "GT", ",", "dest", ",", "op1", ",", "op2", ")", ";", "case", "GEU", ":", "if", "(", "GET_CODE", "(", "op2", ")", "!=", "CONST_INT", "||", "op2", "==", "const0_rtx", ")", "return", "false", ";", "op2", "=", "GEN_INT", "(", "trunc_int_for_mode", "(", "INTVAL", "(", "op2", ")", "-", "1", ",", "SImode", ")", ")", ";", "return", "mep_expand_setcc_1", "(", "GTU", ",", "dest", ",", "op1", ",", "op2", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "a", "setcc", "instruction", "in", "its", "entirity", "."], "TS_V_token": ["mep", "1", "1", "0x7ffffff", "1", "1", "1", "0x80000000", "1", "1"], "File": "mep1", "Func": "mep_expand_setcc_1", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14784, "Length": 412, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "setPreservesAll", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["X86"], "File": "SSEDomainFix", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14785, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "set_of_reg", "rx_find_set_of_reg", "(", "rtx", "reg", ",", "rtx_insn", "*", "insn", ",", "F", "stepfunc", ",", "bool", "ignore_reg_reg_copies", "=", "false", ")", "{", "set_of_reg", "result", ";", "result", ".", "insn", "=", "insn", ";", "result", ".", "set_rtx", "=", "NULL_RTX", ";", "result", ".", "set_src", "=", "NULL_RTX", ";", "if", "(", "!", "REG_P", "(", "reg", ")", "||", "insn", "==", "NULL_RTX", ")", "return", "result", ";", "for", "(", "rtx_insn", "*", "i", "=", "stepfunc", "(", "insn", ")", ";", "i", "!=", "NULL_RTX", ";", "i", "=", "stepfunc", "(", "i", ")", ")", "{", "if", "(", "BARRIER_P", "(", "i", ")", ")", "break", ";", "if", "(", "!", "INSN_P", "(", "i", ")", "||", "DEBUG_INSN_P", "(", "i", ")", ")", "continue", ";", "if", "(", "reg_set_p", "(", "reg", ",", "i", ")", ")", "{", "if", "(", "CALL_P", "(", "i", ")", ")", "break", ";", "result", ".", "insn", "=", "i", ";", "result", ".", "set_rtx", "=", "set_of", "(", "reg", ",", "i", ")", ";", "if", "(", "result", ".", "set_rtx", "==", "NULL_RTX", "||", "GET_CODE", "(", "result", ".", "set_rtx", ")", "!=", "SET", ")", "break", ";", "result", ".", "set_src", "=", "XEXP", "(", "result", ".", "set_rtx", ",", "1", ")", ";", "if", "(", "ignore_reg_reg_copies", "&&", "REG_P", "(", "result", ".", "set_src", ")", ")", "{", "reg", "=", "result", ".", "set_src", ";", "continue", ";", "}", "if", "(", "ignore_reg_reg_copies", "&&", "SUBREG_P", "(", "result", ".", "set_src", ")", "&&", "REG_P", "(", "SUBREG_REG", "(", "result", ".", "set_src", ")", ")", ")", "{", "reg", "=", "SUBREG_REG", "(", "result", ".", "set_src", ")", ";", "continue", ";", "}", "break", ";", "}", "}", "if", "(", "result", ".", "set_src", "!=", "NULL", "&&", "result", ".", "set_rtx", "==", "NULL", ")", "result", ".", "set_src", "=", "NULL", ";", "return", "result", ";", "}", ""], "natrual_language": ["FIXME", ":", "Copy-pasta", "from", "SH", ".", "Move", "to", "rtl.h", ".", "Given", "a", "reg", "rtx", "and", "a", "start", "insn", ",", "try", "to", "find", "the", "insn", "that", "sets", "the", "specified", "reg", "by", "using", "the", "specified", "insn", "stepping", "function", ",", "such", "as", "'prev_nonnote_nondebug_insn_bb", "'", ".", "When", "the", "insn", "is", "found", ",", "try", "to", "extract", "the", "rtx", "of", "the", "reg", "set", "."], "TS_V_token": ["rx", "1"], "File": "rx-protos", "Func": "rx_find_set_of_reg", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14786, "Length": 254, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "HOST_WIDE_INT", "ix86_memmodel_check", "(", "unsigned", "HOST_WIDE_INT", "val", ")", "{", "enum", "memmodel", "model", "=", "memmodel_from_int", "(", "val", ")", ";", "bool", "strong", ";", "if", "(", "val", "&", "~", "(", "unsigned", "HOST_WIDE_INT", ")", "(", "IX86_HLE_ACQUIRE", "|", "IX86_HLE_RELEASE", "|", "MEMMODEL_MASK", ")", "||", "(", "(", "val", "&", "IX86_HLE_ACQUIRE", ")", "&&", "(", "val", "&", "IX86_HLE_RELEASE", ")", ")", ")", "{", "warning", "(", "OPT_Winvalid_memory_model", ",", "\"Unknown architecture specific memory model\"", ")", ";", "return", "MEMMODEL_SEQ_CST", ";", "}", "strong", "=", "(", "is_mm_acq_rel", "(", "model", ")", "||", "is_mm_seq_cst", "(", "model", ")", ")", ";", "if", "(", "val", "&", "IX86_HLE_ACQUIRE", "&&", "!", "(", "is_mm_acquire", "(", "model", ")", "||", "strong", ")", ")", "{", "warning", "(", "OPT_Winvalid_memory_model", ",", "\"HLE_ACQUIRE not used with ACQUIRE or stronger memory model\"", ")", ";", "return", "MEMMODEL_SEQ_CST", "|", "IX86_HLE_ACQUIRE", ";", "}", "if", "(", "val", "&", "IX86_HLE_RELEASE", "&&", "!", "(", "is_mm_release", "(", "model", ")", "||", "strong", ")", ")", "{", "warning", "(", "OPT_Winvalid_memory_model", ",", "\"HLE_RELEASE not used with RELEASE or stronger memory model\"", ")", ";", "return", "MEMMODEL_SEQ_CST", "|", "IX86_HLE_RELEASE", ";", "}", "return", "val", ";", "}", ""], "natrual_language": ["Validate", "target", "specific", "memory", "model", "bits", "in", "VAL", "."], "TS_V_token": ["i386", "\"Unknown architecture specific memory model\"", "\"HLE_ACQUIRE not used with ACQUIRE or stronger memory model\"", "\"HLE_RELEASE not used with RELEASE or stronger memory model\""], "File": "i3865", "Func": "ix86_memmodel_check", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14787, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isProfitableToHoist", "(", "Instruction", "*", "I", ")", "const", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "Instruction", "::", "FMul", ")", "return", "true", ";", "if", "(", "I", "->", "getNumUses", "(", ")", "!=", "1", ")", "return", "true", ";", "Instruction", "*", "User", "=", "I", "->", "user_back", "(", ")", ";", "if", "(", "User", "&&", "!", "(", "User", "->", "getOpcode", "(", ")", "==", "Instruction", "::", "FSub", "||", "User", "->", "getOpcode", "(", ")", "==", "Instruction", "::", "FAdd", ")", ")", "return", "true", ";", "const", "TargetOptions", "&", "Options", "=", "getTargetMachine", "(", ")", ".", "Options", ";", "EVT", "VT", "=", "getValueType", "(", "User", "->", "getOperand", "(", "0", ")", "->", "getType", "(", ")", ")", ";", "if", "(", "isFMAFasterThanFMulAndFAdd", "(", "VT", ")", "&&", "isOperationLegalOrCustom", "(", "ISD", "::", "FMA", ",", "VT", ")", "&&", "(", "Options", ".", "AllowFPOpFusion", "==", "FPOpFusion", "::", "Fast", "||", "Options", ".", "UnsafeFPMath", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "profitable", "to", "hoist", "instruction", "in", "the", "then/else", "to", "before", "if", "."], "TS_V_token": ["AArch64", "AArch64", "1", "0", "ISD::FMA"], "File": "AArch64ISelLowering116", "Func": "isProfitableToHoist", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14788, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MINA32AsmBackend", "::", "shouldForceRelocation", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ")", "{", "switch", "(", "(", "unsigned", ")", "Fixup", ".", "getKind", "(", ")", ")", "{", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Hook", "to", "check", "if", "a", "relocation", "is", "needed", "for", "some", "target", "specific", "reason", "."], "TS_V_token": ["MINA32", "MINA32"], "File": "MINA32AsmBackend", "Func": "shouldForceRelocation", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14789, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "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": ["Mips"], "File": "MipsSubtarget1", "Func": "getStackAlignment", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14790, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mep_can_eliminate", "(", "const", "int", "from", ",", "const", "int", "to", ")", "{", "return", "(", "from", "==", "ARG_POINTER_REGNUM", "&&", "to", "==", "STACK_POINTER_REGNUM", "?", "!", "frame_pointer_needed", ":", "true", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_CAN_ELIMINATE", "."], "TS_V_token": ["mep"], "File": "mep", "Func": "mep_can_eliminate", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14791, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "targetHandlesStackFrameRounding", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["targetHandlesStackFrameRounding", "-", "Returns", "true", "if", "the", "target", "is", "responsible", "for", "rounding", "up", "the", "stack", "frame", "(", "probably", "at", "emitPrologue", "time", ")", "."], "TS_V_token": ["PowerPC"], "File": "PPCFrameLowering (2)", "Func": "targetHandlesStackFrameRounding", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14792, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseRegisterInfo", "::", "canRealignStack", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "(", "RealignStack", "&&", "(", "!", "MFI", "->", "hasVarSizedObjects", "(", ")", "||", "EnableBasePointer", ")", ")", ";", "}", ""], "natrual_language": ["True", "if", "the", "stack", "can", "be", "realigned", "for", "the", "target", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMBaseRegisterInfo1", "Func": "canRealignStack", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14793, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "has_dispatch", "(", "rtx_insn", "*", "insn", ",", "int", "action", ")", "{", "if", "(", "(", "TARGET_BDVER1", "||", "TARGET_BDVER2", "||", "TARGET_BDVER3", "||", "TARGET_BDVER4", ")", "&&", "flag_dispatch_scheduler", ")", "switch", "(", "action", ")", "{", "default", ":", "return", "false", ";", "case", "IS_DISPATCH_ON", ":", "return", "true", ";", "break", ";", "case", "IS_CMP", ":", "return", "is_cmp", "(", "insn", ")", ";", "case", "DISPATCH_VIOLATION", ":", "return", "dispatch_violation", "(", ")", ";", "case", "FITS_DISPATCH_WINDOW", ":", "return", "fits_dispatch_window", "(", "insn", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "Dispatch", "Scheduling", "is", "supported", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "has_dispatch", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14794, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isSafeMemOpType", "(", "MVT", "VT", ")", "const", "{", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "Subtarget", ".", "hasSSE1", "(", ")", ";", "if", "(", "VT", "==", "MVT", "::", "f64", ")", "return", "Subtarget", ".", "hasSSE2", "(", ")", ";", "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", "MVT::f64"], "File": "X86ISelLowering100", "Func": "isSafeMemOpType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14795, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "getReg", "(", "const", "void", "*", "D", ",", "unsigned", "RC", ",", "unsigned", "RegNo", ")", "{", "const", "MipsDisassemblerBase", "*", "Dis", "=", "static_cast", "<", "const", "MipsDisassemblerBase", "*", ">", "(", "D", ")", ";", "return", "*", "(", "Dis", "->", "getRegInfo", "(", ")", "->", "getRegClass", "(", "RC", ")", ".", "begin", "(", ")", "+", "RegNo", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsDisassembler14", "Func": "getReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14796, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "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", "(", "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", ")", ".", "addReg", "(", "0", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "Pred", ")", ".", "addReg", "(", "PredReg", ")", ";", "}", ""], "natrual_language": ["emitLoadConstPool", "-", "Emits", "a", "load", "from", "constpool", "to", "materialize", "the", "specified", "immediate", "."], "TS_V_token": ["ARM", "ARM", "ARMCC::CondCodes", "4", "ARM::LDRcp", "0", "0"], "File": "ARMBaseRegisterInfo12", "Func": "emitLoadConstPool", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14797, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "]", "=", "{", "{", "\"fixup_ppc_br24\"", ",", "6", ",", "24", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_ppc_brcond14\"", ",", "16", ",", "14", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_ppc_lo16\"", ",", "16", ",", "16", ",", "0", "}", ",", "{", "\"fixup_ppc_ha16\"", ",", "16", ",", "16", ",", "0", "}", ",", "{", "\"fixup_ppc_lo14\"", ",", "16", ",", "14", ",", "0", "}", "}", ";", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "return", "MCCodeEmitter", "::", "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", "\"fixup_ppc_br24\"", "6", "24", "\"fixup_ppc_brcond14\"", "16", "14", "\"fixup_ppc_lo16\"", "16", "16", "0", "\"fixup_ppc_ha16\"", "16", "16", "0", "\"fixup_ppc_lo14\"", "16", "14", "0", "\"Invalid kind!\""], "File": "PPCMCCodeEmitter23", "Func": "getFixupKindInfo", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14798, "Length": 112, "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": 14799, "Length": 394, "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": 14800, "Length": 32, "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", "(", "(", "Subtarget", ".", "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\"", "3", "\"256-bit vector operations only available in AVX2\"", "\"Cannot change domain\"", "1"], "File": "X86InstrInfo (2)1", "Func": "setExecutionDomain", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14801, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_sCOND", "(", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ")", "{", "rtx", "condition_rtx", ";", "machine_mode", "op_mode", ";", "enum", "rtx_code", "cond_code", ";", "rtx", "result", "=", "operands", "[", "0", "]", ";", "condition_rtx", "=", "rs6000_generate_compare", "(", "operands", "[", "1", "]", ",", "mode", ")", ";", "cond_code", "=", "GET_CODE", "(", "condition_rtx", ")", ";", "if", "(", "FLOAT_MODE_P", "(", "mode", ")", "&&", "!", "TARGET_FPRS", "&&", "TARGET_HARD_FLOAT", ")", "{", "rtx", "t", ";", "PUT_MODE", "(", "condition_rtx", ",", "SImode", ")", ";", "t", "=", "XEXP", "(", "condition_rtx", ",", "0", ")", ";", "gcc_assert", "(", "cond_code", "==", "NE", "||", "cond_code", "==", "EQ", ")", ";", "if", "(", "cond_code", "==", "NE", ")", "emit_insn", "(", "gen_e500_flip_gt_bit", "(", "t", ",", "t", ")", ")", ";", "emit_insn", "(", "gen_move_from_CR_gt_bit", "(", "result", ",", "t", ")", ")", ";", "return", ";", "}", "if", "(", "cond_code", "==", "NE", "||", "cond_code", "==", "GE", "||", "cond_code", "==", "LE", "||", "cond_code", "==", "GEU", "||", "cond_code", "==", "LEU", "||", "cond_code", "==", "ORDERED", "||", "cond_code", "==", "UNGE", "||", "cond_code", "==", "UNLE", ")", "{", "rtx", "not_result", "=", "gen_reg_rtx", "(", "CCEQmode", ")", ";", "rtx", "not_op", ",", "rev_cond_rtx", ";", "machine_mode", "cc_mode", ";", "cc_mode", "=", "GET_MODE", "(", "XEXP", "(", "condition_rtx", ",", "0", ")", ")", ";", "rev_cond_rtx", "=", "gen_rtx_fmt_ee", "(", "rs6000_reverse_condition", "(", "cc_mode", ",", "cond_code", ")", ",", "SImode", ",", "XEXP", "(", "condition_rtx", ",", "0", ")", ",", "const0_rtx", ")", ";", "not_op", "=", "gen_rtx_COMPARE", "(", "CCEQmode", ",", "rev_cond_rtx", ",", "const0_rtx", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "not_result", ",", "not_op", ")", ")", ";", "condition_rtx", "=", "gen_rtx_EQ", "(", "VOIDmode", ",", "not_result", ",", "const0_rtx", ")", ";", "}", "op_mode", "=", "GET_MODE", "(", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ")", ";", "if", "(", "op_mode", "==", "VOIDmode", ")", "op_mode", "=", "GET_MODE", "(", "XEXP", "(", "operands", "[", "1", "]", ",", "1", ")", ")", ";", "if", "(", "TARGET_POWERPC64", "&&", "(", "op_mode", "==", "DImode", "||", "FLOAT_MODE_P", "(", "mode", ")", ")", ")", "{", "PUT_MODE", "(", "condition_rtx", ",", "DImode", ")", ";", "convert_move", "(", "result", ",", "condition_rtx", ",", "0", ")", ";", "}", "else", "{", "PUT_MODE", "(", "condition_rtx", ",", "SImode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "result", ",", "condition_rtx", ")", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "the", "RTL", "for", "an", "sCOND", "pattern", "."], "TS_V_token": ["rs6000", "0", "1", "0", "0", "0", "1", "0", "1", "1", "0"], "File": "rs60004", "Func": "rs6000_emit_sCOND", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14802, "Length": 334, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ",", "MCContext", "&", "Ctx", ")", "const", "override", "{", "unsigned", "Size", "=", "1", "<<", "getFixupKindLog2Size", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "assert", "(", "Fixup", ".", "getOffset", "(", ")", "+", "Size", "<=", "DataSize", "&&", "\"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": "X86AsmBackend18", "Func": "applyFixup", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14803, "Length": 110, "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_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", "DImode", ":", "case", "SCmode", ":", "case", "DCmode", ":", "case", "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", "&&", "TARGET_FPRS", ")", "regno", "=", "(", "mode", "==", "TDmode", ")", "?", "FP_ARG_RETURN", "+", "1", ":", "FP_ARG_RETURN", ";", "else", "if", "(", "SCALAR_FLOAT_TYPE_P", "(", "valtype", ")", "&&", "TARGET_HARD_FLOAT", "&&", "TARGET_FPRS", "&&", "(", "(", "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", "&&", "TARGET_ALTIVEC", "&&", "TARGET_ALTIVEC_ABI", "&&", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "mode", ")", ")", "regno", "=", "ALTIVEC_ARG_RETURN", ";", "else", "if", "(", "TARGET_E500_DOUBLE", "&&", "TARGET_HARD_FLOAT", "&&", "(", "mode", "==", "DFmode", "||", "mode", "==", "DCmode", "||", "mode", "==", "TFmode", "||", "mode", "==", "TCmode", ")", ")", "return", "spe_build_register_parallel", "(", "mode", ",", "GP_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": "rs60004", "Func": "rs6000_function_value", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14804, "Length": 414, "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": ["ARM"], "File": "ARMAsmParser (2)1", "Func": "isReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14805, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsPassConfig", "::", "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": ["Mips", "Mips"], "File": "MipsTargetMachine (2)1", "Func": "addIRTranslator", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14806, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "parse_codes", "parse_bif_entry", "(", "void", ")", "{", "pos", "=", "0", ";", "consume_whitespace", "(", ")", ";", "if", "(", "linebuf", "[", "pos", "]", "==", "'['", ")", "return", "PC_EOSTANZA", ";", "if", "(", "num_bifs", ">=", "MAXBIFS", "-", "1", ")", "{", "diag", "(", "pos", ",", "\"too many built-in functions.\\n\"", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "curr_bif", "=", "num_bifs", "++", ";", "bifs", "[", "curr_bif", "]", ".", "stanza", "=", "curr_bif_stanza", ";", "consume_whitespace", "(", ")", ";", "int", "oldpos", "=", "pos", ";", "char", "*", "token", "=", "match_identifier", "(", ")", ";", "if", "(", "!", "token", ")", "{", "diag", "(", "oldpos", ",", "\"malformed entry.\\n\"", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "if", "(", "!", "strcmp", "(", "token", ",", "\"const\"", ")", ")", "bifs", "[", "curr_bif", "]", ".", "kind", "=", "FNK_CONST", ";", "else", "if", "(", "!", "strcmp", "(", "token", ",", "\"pure\"", ")", ")", "bifs", "[", "curr_bif", "]", ".", "kind", "=", "FNK_PURE", ";", "else", "if", "(", "!", "strcmp", "(", "token", ",", "\"fpmath\"", ")", ")", "bifs", "[", "curr_bif", "]", ".", "kind", "=", "FNK_FPMATH", ";", "else", "{", "pos", "=", "oldpos", ";", "bifs", "[", "curr_bif", "]", ".", "kind", "=", "FNK_NONE", ";", "}", "if", "(", "parse_prototype", "(", "&", "bifs", "[", "curr_bif", "]", ".", "proto", ")", "==", "PC_PARSEFAIL", ")", "return", "PC_PARSEFAIL", ";", "bifs", "[", "curr_bif", "]", ".", "fndecl", "=", "construct_fntype_id", "(", "&", "bifs", "[", "curr_bif", "]", ".", "proto", ")", ";", "if", "(", "!", "advance_line", "(", "bif_file", ")", ")", "{", "diag", "(", "pos", ",", "\"unexpected EOF.\\n\"", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "pos", "=", "0", ";", "consume_whitespace", "(", ")", ";", "oldpos", "=", "pos", ";", "bifs", "[", "curr_bif", "]", ".", "idname", "=", "match_identifier", "(", ")", ";", "if", "(", "!", "bifs", "[", "curr_bif", "]", ".", "idname", ")", "{", "diag", "(", "pos", ",", "\"missing builtin id.\\n\"", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "diag", "(", "0", ",", "\"ID name is '%s'.\\n\"", ",", "bifs", "[", "curr_bif", "]", ".", "idname", ")", ";", "if", "(", "!", "rbt_insert", "(", "&", "bif_rbt", ",", "bifs", "[", "curr_bif", "]", ".", "idname", ")", ")", "{", "diag", "(", "oldpos", ",", "\"duplicate function ID '%s'.\\n\"", ",", "bifs", "[", "curr_bif", "]", ".", "idname", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "int", "orig_len", "=", "strlen", "(", "bifs", "[", "curr_bif", "]", ".", "idname", ")", ";", "char", "*", "buf", "=", "(", "char", "*", ")", "malloc", "(", "orig_len", "+", "7", ")", ";", "sprintf", "(", "buf", ",", "\"%s:%05d\"", ",", "bifs", "[", "curr_bif", "]", ".", "idname", ",", "curr_bif", ")", ";", "if", "(", "!", "rbt_insert", "(", "&", "bifo_rbt", ",", "buf", ")", ")", "{", "diag", "(", "pos", ",", "\"internal error inserting '%s' in bifo_rbt\\n\"", ",", "buf", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "consume_whitespace", "(", ")", ";", "bifs", "[", "curr_bif", "]", ".", "patname", "=", "match_identifier", "(", ")", ";", "if", "(", "!", "bifs", "[", "curr_bif", "]", ".", "patname", ")", "{", "diag", "(", "pos", ",", "\"missing pattern name.\\n\"", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "diag", "(", "0", ",", "\"pattern name is '%s'.\\n\"", ",", "bifs", "[", "curr_bif", "]", ".", "patname", ")", ";", "return", "parse_bif_attrs", "(", "&", "bifs", "[", "curr_bif", "]", ".", "attrs", ")", ";", "}", ""], "natrual_language": ["Parse", "a", "two-line", "entry", "for", "a", "built-in", "function", "."], "TS_V_token": ["rs6000", "0", "1", "\"too many built-in functions.\\n\"", "\"malformed entry.\\n\"", "\"const\"", "\"pure\"", "\"fpmath\"", "\"unexpected EOF.\\n\"", "0", "\"missing builtin id.\\n\"", "0", "\"ID name is '%s'.\\n\"", "\"duplicate function ID '%s'.\\n\"", "7", "\"%s:%05d\"", "\"internal error inserting '%s' in bifo_rbt\\n\"", "\"missing pattern name.\\n\"", "0", "\"pattern name is '%s'.\\n\""], "File": "rs6000-gen-builtins", "Func": "parse_bif_entry", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14807, "Length": 453, "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", "::", "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", ";", "case", "ISD", "::", "FP_TO_SINT_SAT", ":", "case", "ISD", "::", "FP_TO_UINT_SAT", ":", "Res", "=", "LowerFP_TO_INT_SAT", "(", "SDValue", "(", "N", ",", "0", ")", ",", "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::LOAD", "ISD::TRUNCATE", "ISD::SIGN_EXTEND", "ISD::ZERO_EXTEND", "ISD::FP_TO_SINT_SAT", "ISD::FP_TO_UINT_SAT", "0"], "File": "ARMISelLowering12", "Func": "ReplaceNodeResults", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14808, "Length": 422, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseRegisterInfo", "::", "requiresVirtualBaseRegisters", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "wants", "the", "LocalStackAllocation", "pass", "to", "be", "run", "and", "virtual", "base", "registers", "used", "for", "more", "efficient", "stack", "access", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMBaseRegisterInfo", "Func": "requiresVirtualBaseRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14809, "Length": 16, "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": 14810, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "AArch64TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "StringRef", "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", "(", "!", "Subtarget", "->", "hasFPARMv8", "(", ")", ")", "break", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "16", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AArch64", "::", "FPR16RegClass", ")", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "32", ")", "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", "(", "!", "Subtarget", "->", "hasFPARMv8", "(", ")", ")", "break", ";", "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", "]", "==", "'}'", ")", "{", "int", "RegNo", ";", "bool", "Failed", "=", "Constraint", ".", "slice", "(", "2", ",", "Size", "-", "1", ")", ".", "getAsInteger", "(", "10", ",", "RegNo", ")", ";", "if", "(", "!", "Failed", "&&", "RegNo", ">=", "0", "&&", "RegNo", "<=", "31", ")", "{", "if", "(", "VT", "!=", "MVT", "::", "Other", "&&", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "{", "Res", ".", "first", "=", "AArch64", "::", "FPR64RegClass", ".", "getRegister", "(", "RegNo", ")", ";", "Res", ".", "second", "=", "&", "AArch64", "::", "FPR64RegClass", ";", "}", "else", "{", "Res", ".", "first", "=", "AArch64", "::", "FPR128RegClass", ".", "getRegister", "(", "RegNo", ")", ";", "Res", ".", "second", "=", "&", "AArch64", "::", "FPR128RegClass", ";", "}", "}", "}", "}", "if", "(", "Res", ".", "second", "&&", "!", "Subtarget", "->", "hasFPARMv8", "(", ")", "&&", "!", "AArch64", "::", "GPR32allRegClass", ".", "hasSubClassEq", "(", "Res", ".", "second", ")", "&&", "!", "AArch64", "::", "GPR64allRegClass", ".", "hasSubClassEq", "(", "Res", ".", "second", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "nullptr", ")", ";", "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", "16", "0U", "AArch64::FPR16RegClass", "32", "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", "10", "0", "31", "MVT::Other", "64", "AArch64::FPR64RegClass", "AArch64::FPR64RegClass", "AArch64::FPR128RegClass", "AArch64::FPR128RegClass", "AArch64::GPR32allRegClass", "AArch64::GPR64allRegClass", "0U"], "File": "AArch64ISelLowering11", "Func": "getRegForInlineAsmConstraint", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14811, "Length": 502, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "long", "arm_compute_func_type", "(", ")", "{", "unsigned", "long", "type", "=", "ARM_FT_UNKNOWN", ";", "tree", "a", ";", "tree", "attr", ";", "if", "(", "TREE_CODE", "(", "current_function_decl", ")", "!=", "FUNCTION_DECL", ")", "abort", "(", ")", ";", "if", "(", "optimize", ">", "0", "&&", "current_function_nothrow", "&&", "TREE_THIS_VOLATILE", "(", "current_function_decl", ")", ")", "type", "|=", "ARM_FT_VOLATILE", ";", "if", "(", "current_function_needs_context", ")", "type", "|=", "ARM_FT_NESTED", ";", "attr", "=", "DECL_ATTRIBUTES", "(", "current_function_decl", ")", ";", "a", "=", "lookup_attribute", "(", "\"naked\"", ",", "attr", ")", ";", "if", "(", "a", "!=", "NULL_TREE", ")", "type", "|=", "ARM_FT_NAKED", ";", "if", "(", "cfun", "->", "machine", "->", "eh_epilogue_sp_ofs", "!=", "NULL_RTX", ")", "type", "|=", "ARM_FT_EXCEPTION_HANDLER", ";", "else", "{", "a", "=", "lookup_attribute", "(", "\"isr\"", ",", "attr", ")", ";", "if", "(", "a", "==", "NULL_TREE", ")", "a", "=", "lookup_attribute", "(", "\"interrupt\"", ",", "attr", ")", ";", "if", "(", "a", "==", "NULL_TREE", ")", "type", "|=", "TARGET_INTERWORK", "?", "ARM_FT_INTERWORKED", ":", "ARM_FT_NORMAL", ";", "else", "type", "|=", "arm_isr_value", "(", "TREE_VALUE", "(", "a", ")", ")", ";", "}", "return", "type", ";", "}", ""], "natrual_language": ["Computes", "the", "type", "of", "the", "current", "function", "."], "TS_V_token": ["arm", "0", "\"naked\"", "\"isr\"", "\"interrupt\""], "File": "arm2", "Func": "arm_compute_func_type", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14812, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_match_ccmode", "(", "rtx", "insn", ",", "machine_mode", "req_mode", ")", "{", "rtx", "set", ";", "machine_mode", "set_mode", ";", "set", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "set", ")", "==", "PARALLEL", ")", "set", "=", "XVECEXP", "(", "set", ",", "0", ",", "0", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "set", ")", "==", "SET", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "SET_SRC", "(", "set", ")", ")", "==", "COMPARE", ")", ";", "set_mode", "=", "GET_MODE", "(", "SET_DEST", "(", "set", ")", ")", ";", "switch", "(", "set_mode", ")", "{", "case", "CCNOmode", ":", "if", "(", "req_mode", "!=", "CCNOmode", "&&", "(", "req_mode", "!=", "CCmode", "||", "XEXP", "(", "SET_SRC", "(", "set", ")", ",", "1", ")", "!=", "const0_rtx", ")", ")", "return", "false", ";", "break", ";", "case", "CCmode", ":", "if", "(", "req_mode", "==", "CCGCmode", ")", "return", "false", ";", "case", "CCGCmode", ":", "if", "(", "req_mode", "==", "CCGOCmode", "||", "req_mode", "==", "CCNOmode", ")", "return", "false", ";", "case", "CCGOCmode", ":", "if", "(", "req_mode", "==", "CCZmode", ")", "return", "false", ";", "case", "CCZmode", ":", "break", ";", "case", "CCAmode", ":", "case", "CCCmode", ":", "case", "CCOmode", ":", "case", "CCSmode", ":", "if", "(", "set_mode", "!=", "req_mode", ")", "return", "false", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "GET_MODE", "(", "SET_SRC", "(", "set", ")", ")", "==", "set_mode", ";", "}", ""], "natrual_language": ["Return", "TRUE", "or", "FALSE", "depending", "on", "whether", "the", "first", "SET", "in", "INSN", "has", "source", "and", "destination", "with", "matching", "CC", "modes", ",", "and", "that", "the", "CC", "mode", "is", "at", "least", "as", "constrained", "as", "REQ_MODE", "."], "TS_V_token": ["i386", "0", "0", "1"], "File": "i3864", "Func": "ix86_match_ccmode", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14813, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "UPTInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "unsigned", "Opc", "=", "0", ",", "ZeroReg", "=", "0", ";", "Opc", "=", "UPT", "::", "ADDR", ",", "ZeroReg", "=", "UPT", "::", "ZERO", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "UPT", "::", "ADDR", ")", ")", ";", "if", "(", "DestReg", ")", "MIB", ".", "addReg", "(", "DestReg", ",", "RegState", "::", "Define", ")", ";", "if", "(", "ZeroReg", ")", "MIB", ".", "addReg", "(", "UPT", "::", "ZERO", ")", ";", "if", "(", "SrcReg", ")", "MIB", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["UPT", "UPT", "0", "0", "UPT::ADDR", "UPT::ZERO", "UPT::ADDR", "UPT::ZERO"], "File": "UPTInstrInfo", "Func": "copyPhysReg", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14814, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_return_in_memory", "(", "const_tree", "type", ",", "const_tree", "fntype", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_MACHO", "&&", "rs6000_darwin64_abi", "&&", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", "&&", "int_size_in_bytes", "(", "type", ")", ">", "0", ")", "{", "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", ",", "type", ",", "true", ",", "true", ")", ";", "if", "(", "valret", ")", "return", "false", ";", "}", "if", "(", "rs6000_discover_homogeneous_aggregate", "(", "TYPE_MODE", "(", "type", ")", ",", "type", ",", "NULL", ",", "NULL", ")", ")", "return", "false", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_ELFv2", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "(", "unsigned", "HOST_WIDE_INT", ")", "int_size_in_bytes", "(", "type", ")", "<=", "16", ")", "return", "false", ";", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "(", "aix_struct_return", "||", "(", "unsigned", "HOST_WIDE_INT", ")", "int_size_in_bytes", "(", "type", ")", ">", "8", ")", ")", "return", "true", ";", "if", "(", "TARGET_32BIT", "&&", "!", "TARGET_ALTIVEC_ABI", "&&", "ALTIVEC_VECTOR_MODE", "(", "TYPE_MODE", "(", "type", ")", ")", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", "&&", "int_size_in_bytes", "(", "type", ")", ">", "(", "TARGET_ALTIVEC_ABI", "?", "16", ":", "8", ")", ")", "{", "static", "bool", "warned_for_return_big_vectors", "=", "false", ";", "if", "(", "!", "warned_for_return_big_vectors", ")", "{", "warning", "(", "OPT_Wpsabi", ",", "\"GCC vector returned by reference: \"", "\"non-standard ABI extension with no compatibility guarantee\"", ")", ";", "warned_for_return_big_vectors", "=", "true", ";", "}", "return", "true", ";", "}", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "TARGET_IEEEQUAD", "&&", "FLOAT128_IEEE_P", "(", "TYPE_MODE", "(", "type", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "a", "nonzero", "value", "to", "say", "to", "return", "the", "function", "value", "in", "memory", ",", "just", "as", "large", "structures", "are", "always", "returned", ".", "TYPE", "will", "be", "the", "data", "type", "of", "the", "value", ",", "and", "FNTYPE", "will", "be", "the", "type", "of", "the", "function", "doing", "the", "returning", ",", "or", "@", "code", "{", "NULL", "}", "for", "libcalls", ".", "The", "AIX", "ABI", "for", "the", "RS/6000", "specifies", "that", "all", "structures", "are", "returned", "in", "memory", ".", "The", "Darwin", "ABI", "does", "the", "same", ".", "The", "SVR4", "ABI", "specifies", "that", "structures", "<", "=", "8", "bytes", "are", "returned", "in", "r3/r4", ",", "but", "a", "draft", "put", "them", "in", "memory", ",", "and", "GCC", "used", "to", "implement", "the", "draft", "instead", "of", "the", "final", "standard", ".", "Therefore", ",", "aix_struct_return", "controls", "this", "instead", "of", "DEFAULT_ABI", ";", "V.4", "targets", "needing", "backward", "compatibility", "can", "change", "DRAFT_V4_STRUCT_RET", "to", "override", "the", "default", ",", "and", "-m", "switches", "get", "the", "final", "word", ".", "See", "rs6000_override_options", "for", "more", "details", ".", "The", "PPC32", "SVR4", "ABI", "uses", "IEEE", "double", "extended", "for", "long", "double", ",", "if", "128-bit", "long", "double", "support", "is", "enabled", ".", "These", "values", "are", "returned", "in", "memory", ".", "int_size_in_bytes", "returns", "-1", "for", "variable", "size", "objects", ",", "which", "go", "in", "memory", "always", ".", "The", "cast", "to", "unsigned", "makes", "-1", ">", "8", "."], "TS_V_token": ["powerpcspe", "0", "0", "16", "8", "16", "8", "\"GCC vector returned by reference: \"", "\"non-standard ABI extension with no compatibility guarantee\""], "File": "powerpcspe", "Func": "rs6000_return_in_memory", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14815, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "ARMBaseInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "InstrInfo", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMTargetMachine", "Func": "getInstrInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14816, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Comet2PassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createComet2ISelDag", "(", "getComet2TargetMachine", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["Comet2", "Comet2", "Comet2", "Comet2"], "File": "Comet2TargetMachine", "Func": "addInstSelector", "Target": "Comet2", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14817, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "MemOpKey", "getTombstoneKey", "(", ")", "{", "return", "MemOpKey", "(", "PtrInfo", "::", "getTombstoneKey", "(", ")", ",", "PtrInfo", "::", "getTombstoneKey", "(", ")", ",", "PtrInfo", "::", "getTombstoneKey", "(", ")", ",", "PtrInfo", "::", "getTombstoneKey", "(", ")", ",", "PtrInfo", "::", "getTombstoneKey", "(", ")", ")", ";", "}", ""], "natrual_language": ["Difference", "in", "tombstone", "is", "that", "the", "Optional", "is", "meaningful", "."], "TS_V_token": ["X86"], "File": "X86OptimizeLEAs", "Func": "getTombstoneKey", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14818, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86FrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "FrameReg", ")", "const", "{", "const", "X86RegisterInfo", "*", "RegInfo", "=", "static_cast", "<", "const", "X86RegisterInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "if", "(", "RegInfo", "->", "hasBasePointer", "(", "MF", ")", ")", "FrameReg", "=", "RegInfo", "->", "getBaseRegister", "(", ")", ";", "else", "if", "(", "RegInfo", "->", "needsStackRealignment", "(", "MF", ")", ")", "FrameReg", "=", "RegInfo", "->", "getStackRegister", "(", ")", ";", "else", "FrameReg", "=", "RegInfo", "->", "getFrameRegister", "(", "MF", ")", ";", "return", "getFrameIndexOffset", "(", "MF", ",", "FI", ")", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86FrameLowering106", "Func": "getFrameIndexReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14819, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsTargetLowering", "*", "MipsTargetLowering", "::", "create", "(", "const", "MipsTargetMachine", "&", "TM", ",", "const", "MipsSubtarget", "&", "STI", ")", "{", "if", "(", "STI", ".", "inMips16Mode", "(", ")", ")", "return", "createMips16TargetLowering", "(", "TM", ",", "STI", ")", ";", "return", "createMipsSETargetLowering", "(", "TM", ",", "STI", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsISelLowering10", "Func": "create", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14820, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "nds32_spilt_doubleword", "(", "rtx", "*", "operands", ",", "bool", "load_p", ")", "{", "int", "reg", "=", "load_p", "?", "0", ":", "1", ";", "int", "mem", "=", "load_p", "?", "1", ":", "0", ";", "rtx", "reg_rtx", "=", "load_p", "?", "operands", "[", "0", "]", ":", "operands", "[", "1", "]", ";", "rtx", "mem_rtx", "=", "load_p", "?", "operands", "[", "1", "]", ":", "operands", "[", "0", "]", ";", "rtx", "low_part", "[", "2", "]", ",", "high_part", "[", "2", "]", ";", "rtx", "sub_mem", "=", "XEXP", "(", "mem_rtx", ",", "0", ")", ";", "low_part", "[", "reg", "]", "=", "simplify_gen_subreg", "(", "SImode", ",", "reg_rtx", ",", "GET_MODE", "(", "reg_rtx", ")", ",", "0", ")", ";", "high_part", "[", "reg", "]", "=", "simplify_gen_subreg", "(", "SImode", ",", "reg_rtx", ",", "GET_MODE", "(", "reg_rtx", ")", ",", "4", ")", ";", "if", "(", "GET_CODE", "(", "sub_mem", ")", "==", "POST_DEC", ")", "{", "sub_mem", "=", "XEXP", "(", "sub_mem", ",", "0", ")", ";", "low_part", "[", "mem", "]", "=", "gen_rtx_MEM", "(", "SImode", ",", "gen_rtx_POST_MODIFY", "(", "Pmode", ",", "sub_mem", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "sub_mem", ",", "GEN_INT", "(", "4", ")", ")", ")", ")", ";", "high_part", "[", "mem", "]", "=", "gen_rtx_MEM", "(", "SImode", ",", "gen_rtx_POST_MODIFY", "(", "Pmode", ",", "sub_mem", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "sub_mem", ",", "GEN_INT", "(", "-", "12", ")", ")", ")", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "sub_mem", ")", "==", "POST_INC", ")", "{", "sub_mem", "=", "XEXP", "(", "sub_mem", ",", "0", ")", ";", "low_part", "[", "mem", "]", "=", "gen_rtx_MEM", "(", "SImode", ",", "gen_rtx_POST_INC", "(", "Pmode", ",", "sub_mem", ")", ")", ";", "high_part", "[", "mem", "]", "=", "gen_rtx_MEM", "(", "SImode", ",", "gen_rtx_POST_INC", "(", "Pmode", ",", "sub_mem", ")", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "sub_mem", ")", "==", "POST_MODIFY", ")", "{", "rtx", "post_mem", "=", "XEXP", "(", "sub_mem", ",", "0", ")", ";", "rtx", "plus_op", "=", "XEXP", "(", "sub_mem", ",", "1", ")", ";", "rtx", "post_val", "=", "XEXP", "(", "plus_op", ",", "1", ")", ";", "low_part", "[", "mem", "]", "=", "gen_rtx_MEM", "(", "SImode", ",", "gen_rtx_POST_MODIFY", "(", "Pmode", ",", "post_mem", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "post_mem", ",", "post_val", ")", ")", ")", ";", "high_part", "[", "mem", "]", "=", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "post_mem", ",", "4", ")", ")", ";", "}", "else", "{", "low_part", "[", "mem", "]", "=", "adjust_address", "(", "mem_rtx", ",", "SImode", ",", "0", ")", ";", "high_part", "[", "mem", "]", "=", "adjust_address", "(", "mem_rtx", ",", "SImode", ",", "4", ")", ";", "}", "if", "(", "(", "load_p", "&&", "reg_overlap_mentioned_p", "(", "low_part", "[", "0", "]", ",", "high_part", "[", "1", "]", ")", ")", "||", "GET_CODE", "(", "sub_mem", ")", "==", "POST_MODIFY", ")", "{", "operands", "[", "2", "]", "=", "high_part", "[", "0", "]", ";", "operands", "[", "3", "]", "=", "high_part", "[", "1", "]", ";", "operands", "[", "4", "]", "=", "low_part", "[", "0", "]", ";", "operands", "[", "5", "]", "=", "low_part", "[", "1", "]", ";", "}", "else", "{", "operands", "[", "2", "]", "=", "low_part", "[", "0", "]", ";", "operands", "[", "3", "]", "=", "low_part", "[", "1", "]", ";", "operands", "[", "4", "]", "=", "high_part", "[", "0", "]", ";", "operands", "[", "5", "]", "=", "high_part", "[", "1", "]", ";", "}", "}", ""], "natrual_language": ["Spilt", "a", "doubleword", "instrucion", "to", "two", "single", "word", "instructions", "."], "TS_V_token": ["nds32", "0", "1", "1", "0", "0", "1", "1", "0", "2", "2", "0", "0", "4", "0", "4", "12", "0", "0", "1", "1", "4", "0", "4", "0", "1", "2", "0", "3", "1", "4", "0", "5", "1", "2", "0", "3", "1", "4", "0", "5", "1"], "File": "nds32-md-auxiliary", "Func": "nds32_spilt_doubleword", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14821, "Length": 482, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "OR1KPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createOR1KDelaySlotFillerPass", "(", "getOR1KTargetMachine", "(", ")", ")", ")", ";", "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": ["OR1K", "OR1K", "OR1K", "OR1K"], "File": "OR1KTargetMachine", "Func": "addPreEmitPass", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14822, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "AArch64TargetLowering", "::", "emitLoadLinked", "(", "IRBuilder", "<", ">", "&", "Builder", ",", "Value", "*", "Addr", ",", "AtomicOrdering", "Ord", ")", "const", "{", "Module", "*", "M", "=", "Builder", ".", "GetInsertBlock", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "Type", "*", "ValTy", "=", "cast", "<", "PointerType", ">", "(", "Addr", "->", "getType", "(", ")", ")", "->", "getElementType", "(", ")", ";", "bool", "IsAcquire", "=", "isAcquireOrStronger", "(", "Ord", ")", ";", "if", "(", "ValTy", "->", "getPrimitiveSizeInBits", "(", ")", "==", "128", ")", "{", "Intrinsic", "::", "ID", "Int", "=", "IsAcquire", "?", "Intrinsic", "::", "aarch64_ldaxp", ":", "Intrinsic", "::", "aarch64_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", "::", "aarch64_ldaxr", ":", "Intrinsic", "::", "aarch64_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": ["AArch64", "AArch64", "128", "Intrinsic::ID", "Intrinsic::aarch64_ldaxp", "Intrinsic::aarch64_ldxp", "Intrinsic::getDeclaration", "\"lohi\"", "0", "\"lo\"", "1", "\"hi\"", "\"lo64\"", "\"hi64\"", "64", "\"val64\"", "Intrinsic::ID", "Intrinsic::aarch64_ldaxr", "Intrinsic::aarch64_ldxr", "Intrinsic::getDeclaration"], "File": "AArch64ISelLowering (2)", "Func": "emitLoadLinked", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14823, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_emit_fp16_const", "(", "rtx", "c", ")", "{", "REAL_VALUE_TYPE", "r", ";", "long", "bits", ";", "REAL_VALUE_FROM_CONST_DOUBLE", "(", "r", ",", "c", ")", ";", "bits", "=", "real_to_target", "(", "NULL", ",", "&", "r", ",", "HFmode", ")", ";", "if", "(", "WORDS_BIG_ENDIAN", ")", "assemble_zeros", "(", "2", ")", ";", "assemble_integer", "(", "GEN_INT", "(", "bits", ")", ",", "2", ",", "BITS_PER_WORD", ",", "1", ")", ";", "if", "(", "!", "WORDS_BIG_ENDIAN", ")", "assemble_zeros", "(", "2", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "fp16", "constant", "appropriately", "padded", "to", "occupy", "a", "4-byte", "word", ".", "HFmode", "constant", "pool", "entries", "are", "actually", "loaded", "with", "ldr", "."], "TS_V_token": ["arm", "2", "2", "1", "2"], "File": "arm4", "Func": "arm_emit_fp16_const", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14824, "Length": 66, "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", "(", ")", ";", "const", "LegalizerInfo", "&", "LegInfo", "=", "*", "MF", "->", "getSubtarget", "(", ")", ".", "getLegalizerInfo", "(", ")", ";", "InstManager", "NewInstrObserver", "(", "NewInstrs", ")", ";", "GISelObserverWrapper", "WrapperObserver", "(", "&", "NewInstrObserver", ")", ";", "LegalizerHelper", "Helper", "(", "*", "MF", ",", "WrapperObserver", ",", "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", "(", "NewMI", "->", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "G_UNMERGE_VALUES", ")", "combineAwayG_UNMERGE_VALUES", "(", "ArtCombiner", ",", "*", "NewMI", ")", ";", "else", "if", "(", "NewMI", "->", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "G_MERGE_VALUES", ")", "continue", ";", "else", "setRegBank", "(", "*", "NewMI", ",", "MRI", ")", ";", "}", "return", ";", "}", "case", "TargetOpcode", "::", "G_UNMERGE_VALUES", ":", "combineAwayG_UNMERGE_VALUES", "(", "ArtCombiner", ",", "MI", ")", ";", "return", ";", "default", ":", "break", ";", "}", "return", "applyDefaultMapping", "(", "OpdMapper", ")", ";", "}", ""], "natrual_language": ["See", "RegisterBankInfo", ":", ":applyMapping", "."], "TS_V_token": ["Mips", "Mips", "0", "32"], "File": "MipsRegisterBankInfo16", "Func": "applyMappingImpl", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14825, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_sve_container_bits", "(", "machine_mode", "mode", ")", "{", "unsigned", "int", "vec_flags", "=", "aarch64_classify_vector_mode", "(", "mode", ")", ";", "poly_uint64", "vector_bits", "=", "(", "vec_flags", "&", "(", "VEC_PARTIAL", "|", "VEC_SVE_PRED", ")", "?", "BITS_PER_SVE_VECTOR", ":", "GET_MODE_BITSIZE", "(", "mode", ")", ")", ";", "return", "vector_element_size", "(", "vector_bits", ",", "GET_MODE_NUNITS", "(", "mode", ")", ")", ";", "}", ""], "natrual_language": ["MODE", "is", "some", "form", "of", "SVE", "vector", "mode", ".", "For", "data", "modes", ",", "return", "the", "number", "of", "vector", "register", "bits", "that", "each", "element", "of", "MODE", "occupies", ",", "such", "as", "64", "for", "both", "VNx2DImode", "and", "VNx2SImode", "(", "where", "each", "32-bit", "value", "is", "stored", "in", "a", "64-bit", "container", ")", ".", "For", "predicate", "modes", ",", "return", "the", "number", "of", "data", "bits", "controlled", "by", "each", "significant", "predicate", "bit", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_sve_container_bits", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14826, "Length": 50, "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": 14827, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "UPTFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "UPT", "::", "ADJCALLSTACKUP", "||", "I", "->", "getOpcode", "(", ")", "==", "UPT", "::", "ADJCALLSTACKDOWN", ")", "{", "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": ["UPT", "UPT", "UPT::ADJCALLSTACKUP", "UPT::ADJCALLSTACKDOWN"], "File": "UPTFrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14828, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleDAGInstrs", "*", "createMachineScheduler", "(", "MachineSchedContext", "*", "C", ")", "const", "override", "{", "ScheduleDAGMILive", "*", "DAG", "=", "createGenericSchedLive", "(", "C", ")", ";", "DAG", "->", "addMutation", "(", "createLoadClusterDAGMutation", "(", "DAG", "->", "TII", ",", "DAG", "->", "TRI", ")", ")", ";", "DAG", "->", "addMutation", "(", "createStoreClusterDAGMutation", "(", "DAG", "->", "TII", ",", "DAG", "->", "TRI", ")", ")", ";", "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"], "File": "AArch64TargetMachine20", "Func": "createMachineScheduler", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14829, "Length": 65, "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": 14830, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "altivec_expand_vec_ext_builtin", "(", "tree", "exp", ",", "rtx", "target", ")", "{", "machine_mode", "tmode", ",", "mode0", ";", "tree", "arg0", ",", "arg1", ";", "rtx", "op0", ";", "rtx", "op1", ";", "arg0", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "arg1", "=", "CALL_EXPR_ARG", "(", "exp", ",", "1", ")", ";", "op0", "=", "expand_normal", "(", "arg0", ")", ";", "op1", "=", "expand_normal", "(", "arg1", ")", ";", "if", "(", "TREE_CODE", "(", "arg1", ")", "==", "INTEGER_CST", ")", "(", "void", ")", "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", ")", ";", "rs6000_expand_vector_extract", "(", "target", ",", "op0", ",", "op1", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Expand", "vec_ext", "builtin", "."], "TS_V_token": ["rs6000", "0", "1"], "File": "rs60006", "Func": "altivec_expand_vec_ext_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14831, "Length": 156, "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": 14832, "Length": 449, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WinEHStatePass", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "StringRef", "WinEHParentName", "=", "F", ".", "getFnAttribute", "(", "\"wineh-parent\"", ")", ".", "getValueAsString", "(", ")", ";", "if", "(", "WinEHParentName", "!=", "F", ".", "getName", "(", ")", "&&", "!", "WinEHParentName", ".", "empty", "(", ")", ")", "return", "false", ";", "if", "(", "!", "F", ".", "hasPersonalityFn", "(", ")", ")", "return", "false", ";", "PersonalityFn", "=", "dyn_cast", "<", "Function", ">", "(", "F", ".", "getPersonalityFn", "(", ")", "->", "stripPointerCasts", "(", ")", ")", ";", "if", "(", "!", "PersonalityFn", ")", "return", "false", ";", "Personality", "=", "classifyEHPersonality", "(", "PersonalityFn", ")", ";", "if", "(", "!", "isMSVCEHPersonality", "(", "Personality", ")", ")", "return", "false", ";", "F", ".", "addFnAttr", "(", "\"no-frame-pointer-elim\"", ",", "\"true\"", ")", ";", "emitExceptionRegistrationRecord", "(", "&", "F", ")", ";", "auto", "*", "MMIPtr", "=", "getAnalysisIfAvailable", "<", "MachineModuleInfo", ">", "(", ")", ";", "assert", "(", "MMIPtr", "&&", "\"MachineModuleInfo should always be available\"", ")", ";", "MachineModuleInfo", "&", "MMI", "=", "*", "MMIPtr", ";", "switch", "(", "Personality", ")", "{", "default", ":", "llvm_unreachable", "(", "\"unexpected personality function\"", ")", ";", "case", "EHPersonality", "::", "MSVC_CXX", ":", "addCXXStateStores", "(", "F", ",", "MMI", ")", ";", "break", ";", "case", "EHPersonality", "::", "MSVC_X86SEH", ":", "addSEHStateStores", "(", "F", ",", "MMI", ")", ";", "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", "\"wineh-parent\"", "\"no-frame-pointer-elim\"", "\"true\"", "\"MachineModuleInfo should always be available\"", "\"unexpected personality function\"", "X86"], "File": "X86WinEHState21", "Func": "runOnFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14833, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "SystemZMCInstLower", "::", "getExpr", "(", "const", "MachineOperand", "&", "MO", ",", "MCSymbolRefExpr", "::", "VariantKind", "Kind", ")", "const", "{", "const", "MCSymbol", "*", "Symbol", ";", "bool", "HasOffset", "=", "true", ";", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "Symbol", "=", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ";", "HasOffset", "=", "false", ";", "break", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "Symbol", "=", "Mang", "->", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "Symbol", "=", "AsmPrinter", ".", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "Symbol", "=", "AsmPrinter", ".", "GetJTISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ";", "HasOffset", "=", "false", ";", "break", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "Symbol", "=", "AsmPrinter", ".", "GetCPISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_BlockAddress", ":", "Symbol", "=", "AsmPrinter", ".", "GetBlockAddressSymbol", "(", "MO", ".", "getBlockAddress", "(", ")", ")", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"unknown operand type\"", ")", ";", "}", "const", "MCExpr", "*", "Expr", "=", "MCSymbolRefExpr", "::", "Create", "(", "Symbol", ",", "Kind", ",", "Ctx", ")", ";", "if", "(", "HasOffset", ")", "if", "(", "int64_t", "Offset", "=", "MO", ".", "getOffset", "(", ")", ")", "{", "const", "MCExpr", "*", "OffsetExpr", "=", "MCConstantExpr", "::", "Create", "(", "Offset", ",", "Ctx", ")", ";", "Expr", "=", "MCBinaryExpr", "::", "CreateAdd", "(", "Expr", ",", "OffsetExpr", ",", "Ctx", ")", ";", "}", "return", "Expr", ";", "}", ""], "natrual_language": ["Implementation", "of", "the", "SCEVPredicate", "interface", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"unknown operand type\""], "File": "SystemZMCInstLower14", "Func": "getExpr", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14834, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_sls_emit_blr_function_thunks", "(", "FILE", "*", "out_file", ")", "{", "if", "(", "!", "aarch64_harden_sls_blr_p", "(", ")", ")", "return", ";", "bool", "any_functions_emitted", "=", "false", ";", "section", "*", "save_text_section", "=", "in_section", ";", "switch_to_section", "(", "function_section", "(", "current_function_decl", ")", ")", ";", "for", "(", "int", "regnum", "=", "0", ";", "regnum", "<", "30", ";", "++", "regnum", ")", "{", "rtx", "specu_label", "=", "cfun", "->", "machine", "->", "call_via", "[", "regnum", "]", ";", "if", "(", "specu_label", "==", "NULL", ")", "continue", ";", "targetm", ".", "asm_out", ".", "print_operand", "(", "out_file", ",", "specu_label", ",", "0", ")", ";", "asm_fprintf", "(", "out_file", ",", "\":\\n\"", ")", ";", "aarch64_sls_emit_function_stub", "(", "out_file", ",", "regnum", ")", ";", "any_functions_emitted", "=", "true", ";", "}", "if", "(", "any_functions_emitted", ")", "asm_fprintf", "(", "out_file", ",", "\"\\t%s\\n\"", ",", "aarch64_sls_barrier", "(", "true", ")", ")", ";", "switch_to_section", "(", "save_text_section", ")", ";", "}", ""], "natrual_language": ["Emit", "all", "BLR", "stubs", "for", "this", "particular", "function", ".", "Here", "we", "emit", "all", "the", "BLR", "stubs", "needed", "for", "the", "current", "function", ".", "Since", "we", "emit", "these", "stubs", "in", "a", "consecutive", "block", "we", "know", "there", "will", "be", "no", "speculation", "gadgets", "between", "each", "stub", ",", "and", "hence", "we", "only", "emit", "a", "speculation", "barrier", "at", "the", "end", "of", "the", "stub", "sequences", ".", "This", "is", "called", "in", "the", "TARGET_ASM_FUNCTION_EPILOGUE", "hook", "."], "TS_V_token": ["aarch64", "0", "30", "0", "\":\\n\"", "\"\\t%s\\n\""], "File": "aarch641", "Func": "aarch64_sls_emit_blr_function_thunks", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14835, "Length": 125, "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", "(", "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": ["Sparc", "0"], "File": "SparcAsmParser14", "Func": "addExpr", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14836, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "CAHPInstrInfo", "::", "insertBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "TBB", ",", "MachineBasicBlock", "*", "FBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "const", "DebugLoc", "&", "DL", ",", "int", "*", "BytesAdded", ")", "const", "{", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "=", "0", ";", "assert", "(", "TBB", "&&", "\"InsertBranch must not be told to insert a fallthrough\"", ")", ";", "assert", "(", "(", "Cond", ".", "size", "(", ")", "==", "3", "||", "Cond", ".", "size", "(", ")", "==", "0", ")", "&&", "\"CAHP branch conditions have two components!\"", ")", ";", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "MachineInstr", "&", "MI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "CAHP", "::", "JS", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "=", "getInstSizeInBytes", "(", "MI", ")", ";", "return", "1", ";", "}", "unsigned", "Opc", "=", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ";", "MachineInstr", "&", "CondMI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "Opc", ")", ")", ".", "add", "(", "Cond", "[", "1", "]", ")", ".", "add", "(", "Cond", "[", "2", "]", ")", ".", "addMBB", "(", "TBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "getInstSizeInBytes", "(", "CondMI", ")", ";", "if", "(", "!", "FBB", ")", "return", "1", ";", "MachineInstr", "&", "MI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "CAHP", "::", "JS", ")", ")", ".", "addMBB", "(", "FBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "getInstSizeInBytes", "(", "MI", ")", ";", "return", "2", ";", "}", ""], "natrual_language": ["Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "."], "TS_V_token": ["CAHP", "CAHP", "0", "\"InsertBranch must not be told to insert a fallthrough\"", "3", "0", "\"CAHP branch conditions have two components!\"", "CAHP::JS", "1", "0", "1", "2", "1", "CAHP::JS", "2"], "File": "CAHPInstrInfo", "Func": "insertBranch", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14837, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FrameLowering", "::", "assignCalleeSavedSpillSlots", "(", "MachineFunction", "&", "MF", ",", "const", "TargetRegisterInfo", "*", "RegInfo", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "unsigned", "&", "MinCSFrameIndex", ",", "unsigned", "&", "MaxCSFrameIndex", ")", "const", "{", "bool", "NeedsWinCFI", "=", "needsWinCFI", "(", "MF", ")", ";", "if", "(", "NeedsWinCFI", ")", "std", "::", "reverse", "(", "CSI", ".", "begin", "(", ")", ",", "CSI", ".", "end", "(", ")", ")", ";", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "true", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "auto", "AFI", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "for", "(", "auto", "&", "CS", ":", "CSI", ")", "{", "unsigned", "Reg", "=", "CS", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "RegInfo", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "int", "FrameIdx", ";", "unsigned", "Size", "=", "RegInfo", "->", "getSpillSize", "(", "*", "RC", ")", ";", "Align", "Alignment", "(", "RegInfo", "->", "getSpillAlignment", "(", "*", "RC", ")", ")", ";", "FrameIdx", "=", "MFI", ".", "CreateStackObject", "(", "Size", ",", "Alignment", ",", "true", ")", ";", "CS", ".", "setFrameIdx", "(", "FrameIdx", ")", ";", "if", "(", "(", "unsigned", ")", "FrameIdx", "<", "MinCSFrameIndex", ")", "MinCSFrameIndex", "=", "FrameIdx", ";", "if", "(", "(", "unsigned", ")", "FrameIdx", ">", "MaxCSFrameIndex", ")", "MaxCSFrameIndex", "=", "FrameIdx", ";", "if", "(", "hasFP", "(", "MF", ")", "&&", "AFI", "->", "hasSwiftAsyncContext", "(", ")", "&&", "Reg", "==", "AArch64", "::", "FP", ")", "{", "FrameIdx", "=", "MFI", ".", "CreateStackObject", "(", "8", ",", "Alignment", ",", "true", ")", ";", "AFI", "->", "setSwiftAsyncContextFrameIdx", "(", "FrameIdx", ")", ";", "if", "(", "(", "unsigned", ")", "FrameIdx", "<", "MinCSFrameIndex", ")", "MinCSFrameIndex", "=", "FrameIdx", ";", "if", "(", "(", "unsigned", ")", "FrameIdx", ">", "MaxCSFrameIndex", ")", "MaxCSFrameIndex", "=", "FrameIdx", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["This", "function", "will", "assign", "callee", "saved", "gprs", "to", "volatile", "vector", "registers", "for", "prologue", "spills", "when", "applicable", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64::FP", "8"], "File": "AArch64FrameLowering101", "Func": "assignCalleeSavedSpillSlots", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14838, "Length": 269, "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_TLSGDM_FLAG", ",", "\"ppc-tlsgdm\"", "}", ",", "{", "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-tlsgdm\"", "\"ppc-got-tlsgd-pcrel\"", "\"ppc-got-tlsld-pcrel\"", "\"ppc-got-tprel-pcrel\""], "File": "PPCInstrInfo", "Func": "getSerializableBitmaskMachineOperandTargetFlags", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14839, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "section", "*", "mips_function_rodata_section", "(", "tree", "decl", ",", "bool", ")", "{", "if", "(", "!", "TARGET_ABICALLS", "||", "TARGET_ABSOLUTE_ABICALLS", "||", "TARGET_GPWORD", ")", "return", "default_function_rodata_section", "(", "decl", ",", "false", ")", ";", "if", "(", "decl", "&&", "DECL_SECTION_NAME", "(", "decl", ")", ")", "{", "const", "char", "*", "name", "=", "DECL_SECTION_NAME", "(", "decl", ")", ";", "if", "(", "DECL_COMDAT_GROUP", "(", "decl", ")", "&&", "strncmp", "(", "name", ",", "\".gnu.linkonce.t.\"", ",", "16", ")", "==", "0", ")", "{", "char", "*", "rname", "=", "ASTRDUP", "(", "name", ")", ";", "rname", "[", "14", "]", "=", "'d'", ";", "return", "get_section", "(", "rname", ",", "SECTION_LINKONCE", "|", "SECTION_WRITE", ",", "decl", ")", ";", "}", "else", "if", "(", "flag_function_sections", "&&", "flag_data_sections", "&&", "strncmp", "(", "name", ",", "\".text.\"", ",", "6", ")", "==", "0", ")", "{", "char", "*", "rname", "=", "ASTRDUP", "(", "name", ")", ";", "memcpy", "(", "rname", "+", "1", ",", "\"data\"", ",", "4", ")", ";", "return", "get_section", "(", "rname", ",", "SECTION_WRITE", ",", "decl", ")", ";", "}", "}", "return", "data_section", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_FUNCTION_RODATA_SECTION", ".", "The", "complication", "here", "is", "that", ",", "with", "the", "combination", "TARGET_ABICALLS", "&", "&", "!", "TARGET_GPWORD", ",", "jump", "tables", "will", "use", "absolute", "addresses", ",", "and", "should", "therefore", "not", "be", "included", "in", "the", "read-only", "part", "of", "a", "DSO", ".", "Handle", "such", "cases", "by", "selecting", "a", "normal", "data", "section", "instead", "of", "a", "read-only", "one", ".", "The", "logic", "apes", "that", "in", "default_function_rodata_section", "."], "TS_V_token": ["mips", "\".gnu.linkonce.t.\"", "16", "0", "14", "\".text.\"", "6", "0", "1", "\"data\"", "4"], "File": "mips1", "Func": "mips_function_rodata_section", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14840, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "unsigned", ">", "VRegs", ")", "const", "{", "if", "(", "F", ".", "arg_empty", "(", ")", ")", "return", "true", ";", "if", "(", "F", ".", "isVarArg", "(", ")", ")", "return", "false", ";", "auto", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "auto", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "auto", "&", "TLI", "=", "*", "getTLI", "<", "ARMTargetLowering", ">", "(", ")", ";", "auto", "Subtarget", "=", "TLI", ".", "getSubtarget", "(", ")", ";", "if", "(", "Subtarget", "->", "isThumb", "(", ")", ")", "return", "false", ";", "if", "(", "Subtarget", "->", "useSoftFloat", "(", ")", "||", "!", "Subtarget", "->", "hasVFP2", "(", ")", ")", "return", "false", ";", "for", "(", "auto", "&", "Arg", ":", "F", ".", "args", "(", ")", ")", "if", "(", "!", "isSupportedType", "(", "DL", ",", "TLI", ",", "Arg", ".", "getType", "(", ")", ")", ")", "return", "false", ";", "CCAssignFn", "*", "AssignFn", "=", "TLI", ".", "CCAssignFnForCall", "(", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "ArgInfos", ";", "unsigned", "Idx", "=", "0", ";", "for", "(", "auto", "&", "Arg", ":", "F", ".", "args", "(", ")", ")", "{", "ArgInfo", "AInfo", "(", "VRegs", "[", "Idx", "]", ",", "Arg", ".", "getType", "(", ")", ")", ";", "setArgFlags", "(", "AInfo", ",", "Idx", "+", "1", ",", "DL", ",", "F", ")", ";", "splitToValueTypes", "(", "AInfo", ",", "ArgInfos", ",", "DL", ",", "MF", ".", "getRegInfo", "(", ")", ")", ";", "Idx", "++", ";", "}", "FormalArgHandler", "ArgHandler", "(", "MIRBuilder", ",", "MIRBuilder", ".", "getMF", "(", ")", ".", "getRegInfo", "(", ")", ",", "AssignFn", ")", ";", "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", "0", "1"], "File": "ARMCallLowering38", "Func": "lowerFormalArguments", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14841, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_save_or_restore_local_in_regs", "(", "rtx", "base", ",", "int", "offset", ",", "sorr_act_t", "action", ")", "{", "if", "(", "offset", "<", "-", "4096", "||", "offset", "+", "16", "*", "UNITS_PER_WORD", ">", "4095", ")", "{", "base", "=", "emit_adjust_base_to_offset", "(", "base", ",", "offset", ")", ";", "offset", "=", "0", ";", "}", "emit_save_or_restore_regs", "(", "16", ",", "32", ",", "base", ",", "offset", ",", "sparc_leaf_function_p", ",", "save_local_or_in_reg_p", ",", "action", ",", "SORR_ADVANCE", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "save/restore", "call-saved", "local", "and", "in", "registers", "."], "TS_V_token": ["sparc", "4096", "16", "4095", "0", "16", "32"], "File": "sparc", "Func": "emit_save_or_restore_local_in_regs", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14842, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "IsDesirableToPromoteOp", "(", "SDValue", "Op", ",", "EVT", "&", "PVT", ")", "const", "{", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "if", "(", "VT", "!=", "MVT", "::", "i16", ")", "return", "false", ";", "auto", "IsFoldableRMW", "=", "[", "]", "(", "SDValue", "Load", ",", "SDValue", "Op", ")", "{", "if", "(", "!", "Op", ".", "hasOneUse", "(", ")", ")", "return", "false", ";", "SDNode", "*", "User", "=", "*", "Op", "->", "use_begin", "(", ")", ";", "if", "(", "!", "ISD", "::", "isNormalStore", "(", "User", ")", ")", "return", "false", ";", "auto", "*", "Ld", "=", "cast", "<", "LoadSDNode", ">", "(", "Load", ")", ";", "auto", "*", "St", "=", "cast", "<", "StoreSDNode", ">", "(", "User", ")", ";", "return", "Ld", "->", "getBasePtr", "(", ")", "==", "St", "->", "getBasePtr", "(", ")", ";", "}", ";", "auto", "IsFoldableAtomicRMW", "=", "[", "]", "(", "SDValue", "Load", ",", "SDValue", "Op", ")", "{", "if", "(", "!", "Load", ".", "hasOneUse", "(", ")", "||", "Load", ".", "getOpcode", "(", ")", "!=", "ISD", "::", "ATOMIC_LOAD", ")", "return", "false", ";", "if", "(", "!", "Op", ".", "hasOneUse", "(", ")", ")", "return", "false", ";", "SDNode", "*", "User", "=", "*", "Op", "->", "use_begin", "(", ")", ";", "if", "(", "User", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "ATOMIC_STORE", ")", "return", "false", ";", "auto", "*", "Ld", "=", "cast", "<", "AtomicSDNode", ">", "(", "Load", ")", ";", "auto", "*", "St", "=", "cast", "<", "AtomicSDNode", ">", "(", "User", ")", ";", "return", "Ld", "->", "getBasePtr", "(", ")", "==", "St", "->", "getBasePtr", "(", ")", ";", "}", ";", "bool", "Commute", "=", "false", ";", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "case", "ISD", "::", "ZERO_EXTEND", ":", "case", "ISD", "::", "ANY_EXTEND", ":", "break", ";", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRL", ":", "{", "SDValue", "N0", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "if", "(", "MayFoldLoad", "(", "N0", ")", "&&", "IsFoldableRMW", "(", "N0", ",", "Op", ")", ")", "return", "false", ";", "break", ";", "}", "case", "ISD", "::", "ADD", ":", "case", "ISD", "::", "MUL", ":", "case", "ISD", "::", "AND", ":", "case", "ISD", "::", "OR", ":", "case", "ISD", "::", "XOR", ":", "Commute", "=", "true", ";", "LLVM_FALLTHROUGH", ";", "case", "ISD", "::", "SUB", ":", "{", "SDValue", "N0", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "SDValue", "N1", "=", "Op", ".", "getOperand", "(", "1", ")", ";", "if", "(", "MayFoldLoad", "(", "N1", ")", "&&", "(", "!", "Commute", "||", "!", "isa", "<", "ConstantSDNode", ">", "(", "N0", ")", "||", "(", "Op", ".", "getOpcode", "(", ")", "!=", "ISD", "::", "MUL", "&&", "IsFoldableRMW", "(", "N1", ",", "Op", ")", ")", ")", ")", "return", "false", ";", "if", "(", "MayFoldLoad", "(", "N0", ")", "&&", "(", "(", "Commute", "&&", "!", "isa", "<", "ConstantSDNode", ">", "(", "N1", ")", ")", "||", "(", "Op", ".", "getOpcode", "(", ")", "!=", "ISD", "::", "MUL", "&&", "IsFoldableRMW", "(", "N0", ",", "Op", ")", ")", ")", ")", "return", "false", ";", "if", "(", "IsFoldableAtomicRMW", "(", "N0", ",", "Op", ")", "||", "(", "Commute", "&&", "IsFoldableAtomicRMW", "(", "N1", ",", "Op", ")", ")", ")", "return", "false", ";", "}", "}", "PVT", "=", "MVT", "::", "i32", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "has", "native", "support", "for", "the", "specified", "value", "type", "and", "it", "is", "'desirable", "'", "to", "use", "the", "type", "."], "TS_V_token": ["X86", "X86", "MVT::i16", "ISD::isNormalStore", "ISD::ATOMIC_LOAD", "ISD::ATOMIC_STORE", "ISD::SIGN_EXTEND", "ISD::ZERO_EXTEND", "ISD::ANY_EXTEND", "ISD::SHL", "ISD::SRL", "0", "ISD::ADD", "ISD::MUL", "ISD::AND", "ISD::OR", "ISD::XOR", "ISD::SUB", "0", "1", "ISD::MUL", "ISD::MUL", "MVT::i32"], "File": "X86ISelLowering", "Func": "IsDesirableToPromoteOp", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14843, "Length": 490, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "assert", "(", "!", "RegInfo", "->", "needsStackRealignment", "(", "MF", ")", "&&", "\"No stack realignment on AArch64!\"", ")", ";", "return", "(", "MFI", "->", "hasCalls", "(", ")", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", "||", "MFI", "->", "isFrameAddressTaken", "(", ")", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["AArch64", "AArch64", "\"No stack realignment on AArch64!\""], "File": "AArch64FrameLowering44", "Func": "hasFP", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14844, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "tryAddingPcLoadReferenceComment", "(", "uint64_t", "Address", ",", "uint64_t", "Value", ",", "const", "void", "*", "Decoder", ")", "{", "const", "MCDisassembler", "*", "Dis", "=", "static_cast", "<", "const", "MCDisassembler", "*", ">", "(", "Decoder", ")", ";", "Dis", "->", "tryAddingPcLoadReferenceComment", "(", "Value", ",", "Address", ")", ";", "}", ""], "natrual_language": ["Try", "to", "add", "a", "comment", "on", "the", "PC-relative", "load", "."], "TS_V_token": ["X86"], "File": "X86Disassembler (2)1", "Func": "tryAddingPcLoadReferenceComment", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14845, "Length": 41, "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": 14846, "Length": 118, "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": 14847, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "char", "*", "find_target_compiler", "(", "const", "char", "*", "name", ")", "{", "bool", "found", "=", "false", ";", "char", "*", "*", "paths", "=", "NULL", ";", "unsigned", "n_paths", ",", "i", ";", "char", "*", "target_compiler", ";", "const", "char", "*", "collect_gcc", "=", "getenv", "(", "\"COLLECT_GCC\"", ")", ";", "const", "char", "*", "gcc_path", "=", "dirname", "(", "ASTRDUP", "(", "collect_gcc", ")", ")", ";", "const", "char", "*", "gcc_exec", "=", "basename", "(", "ASTRDUP", "(", "collect_gcc", ")", ")", ";", "if", "(", "strcmp", "(", "gcc_exec", ",", "collect_gcc", ")", "==", "0", ")", "{", "target_compiler", "=", "XDUPVEC", "(", "char", ",", "name", ",", "strlen", "(", "name", ")", "+", "1", ")", ";", "found", "=", "true", ";", "goto", "out", ";", "}", "target_compiler", "=", "concat", "(", "gcc_path", ",", "\"/\"", ",", "name", ",", "NULL", ")", ";", "if", "(", "access_check", "(", "target_compiler", ",", "X_OK", ")", "==", "0", ")", "{", "found", "=", "true", ";", "goto", "out", ";", "}", "n_paths", "=", "parse_env_var", "(", "getenv", "(", "\"COMPILER_PATH\"", ")", ",", "&", "paths", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n_paths", ";", "i", "++", ")", "{", "size_t", "len", "=", "strlen", "(", "paths", "[", "i", "]", ")", "+", "1", "+", "strlen", "(", "name", ")", "+", "1", ";", "target_compiler", "=", "XRESIZEVEC", "(", "char", ",", "target_compiler", ",", "len", ")", ";", "sprintf", "(", "target_compiler", ",", "\"%s/%s\"", ",", "paths", "[", "i", "]", ",", "name", ")", ";", "if", "(", "access_check", "(", "target_compiler", ",", "X_OK", ")", "==", "0", ")", "{", "found", "=", "true", ";", "break", ";", "}", "}", "out", ":", "free_array_of_ptrs", "(", "(", "void", "*", "*", ")", "paths", ",", "n_paths", ")", ";", "return", "found", "?", "target_compiler", ":", "NULL", ";", "}", ""], "natrual_language": ["Find", "target", "compiler", "using", "a", "path", "from", "COLLECT_GCC", "or", "COMPILER_PATH", "."], "TS_V_token": ["i386", "\"COLLECT_GCC\"", "0", "1", "\"/\"", "0", "\"COMPILER_PATH\"", "0", "1", "1", "\"%s/%s\"", "0"], "File": "intelmic-mkoffload", "Func": "find_target_compiler", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14848, "Length": 251, "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", ",", "i", "}", ";", "setArgFlags", "(", "OrigArg", ",", "i", "+", "AttributeList", "::", "FirstArgIndex", ",", "DL", ",", "F", ")", ";", "if", "(", "Arg", ".", "hasAttribute", "(", "Attribute", "::", "SwiftAsync", ")", ")", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", "->", "setHasSwiftAsyncContext", "(", "true", ")", ";", "splitToValueTypes", "(", "OrigArg", ",", "SplitArgs", ",", "DL", ",", "F", ".", "getCallingConv", "(", ")", ")", ";", "++", "i", ";", "}", "if", "(", "!", "MBB", ".", "empty", "(", ")", ")", "MIRBuilder", ".", "setInstr", "(", "*", "MBB", ".", "begin", "(", ")", ")", ";", "const", "AArch64TargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "AArch64TargetLowering", ">", "(", ")", ";", "CCAssignFn", "*", "AssignFn", "=", "TLI", ".", "CCAssignFnForCall", "(", "F", ".", "getCallingConv", "(", ")", ",", "false", ")", ";", "AArch64IncomingValueAssigner", "Assigner", "(", "AssignFn", ",", "AssignFn", ")", ";", "FormalArgHandler", "Handler", "(", "MIRBuilder", ",", "MRI", ")", ";", "if", "(", "!", "determineAndHandleAssignments", "(", "Handler", ",", "Assigner", ",", "SplitArgs", ",", "MIRBuilder", ",", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ")", ")", "return", "false", ";", "AArch64FunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "uint64_t", "StackOffset", "=", "Assigner", ".", "StackOffset", ";", "if", "(", "F", ".", "isVarArg", "(", ")", ")", "{", "auto", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ";", "if", "(", "!", "Subtarget", ".", "isTargetDarwin", "(", ")", ")", "{", "return", "false", ";", "}", "StackOffset", "=", "alignTo", "(", "Assigner", ".", "StackOffset", ",", "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", "AArch64", "4", "8", "4", "16", "AArch64"], "File": "AArch64CallLowering13", "Func": "lowerFormalArguments", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14849, "Length": 487, "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_neon_fmaxnm", ":", "case", "Intrinsic", "::", "aarch64_neon_fminnm", ":", "return", "instCombineMaxMinNM", "(", "IC", ",", "II", ")", ";", "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_fadd", ":", "return", "instCombineSVEVectorFAdd", "(", "IC", ",", "II", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_fsub", ":", "return", "instCombineSVEVectorBinOp", "(", "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", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_ld1_gather_index", ":", "return", "instCombineLD1GatherIndex", "(", "IC", ",", "II", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_st1_scatter_index", ":", "return", "instCombineST1ScatterIndex", "(", "IC", ",", "II", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_ld1", ":", "return", "instCombineSVELD1", "(", "IC", ",", "II", ",", "DL", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_st1", ":", "return", "instCombineSVEST1", "(", "IC", ",", "II", ",", "DL", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_sdiv", ":", "return", "instCombineSVESDIV", "(", "IC", ",", "II", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_sel", ":", "return", "instCombineSVESel", "(", "IC", ",", "II", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_srshl", ":", "return", "instCombineSVESrshl", "(", "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_neon_fmaxnm", "Intrinsic::aarch64_neon_fminnm", "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_fadd", "Intrinsic::aarch64_sve_fsub", "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", "Intrinsic::aarch64_sve_ld1_gather_index", "Intrinsic::aarch64_sve_st1_scatter_index", "Intrinsic::aarch64_sve_ld1", "Intrinsic::aarch64_sve_st1", "Intrinsic::aarch64_sve_sdiv", "Intrinsic::aarch64_sve_sel", "Intrinsic::aarch64_sve_srshl"], "File": "AArch64TargetTransformInfo35", "Func": "instCombineIntrinsic", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14850, "Length": 444, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTargetLowering", "::", "getByValTypeAlignment", "(", "Type", "*", "Ty", ")", "const", "{", "if", "(", "PPCSubTarget", ".", "isDarwin", "(", ")", ")", "return", "4", ";", "unsigned", "Align", "=", "PPCSubTarget", ".", "isPPC64", "(", ")", "?", "8", ":", "4", ";", "if", "(", "PPCSubTarget", ".", "hasAltivec", "(", ")", "||", "PPCSubTarget", ".", "hasQPX", "(", ")", ")", "getMaxByValAlign", "(", "Ty", ",", "Align", ",", "PPCSubTarget", ".", "hasQPX", "(", ")", "?", "32", ":", "16", ")", ";", "return", "Align", ";", "}", ""], "natrual_language": ["Return", "the", "desired", "alignment", "for", "ByVal", "aggregate", "function", "arguments", "in", "the", "caller", "parameter", "area", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "4", "PPC", "PPC", "8", "4", "PPC", "PPC", "PPC", "32", "16"], "File": "PPCISelLowering (2)", "Func": "getByValTypeAlignment", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14851, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "switch", "(", "ConstraintID", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected asm memory constraint\"", ")", ";", "case", "InlineAsm", "::", "Constraint_m", ":", "case", "InlineAsm", "::", "Constraint_o", ":", "case", "InlineAsm", "::", "Constraint_Q", ":", "case", "InlineAsm", "::", "Constraint_Um", ":", "case", "InlineAsm", "::", "Constraint_Un", ":", "case", "InlineAsm", "::", "Constraint_Uq", ":", "case", "InlineAsm", "::", "Constraint_Us", ":", "case", "InlineAsm", "::", "Constraint_Ut", ":", "case", "InlineAsm", "::", "Constraint_Uv", ":", "case", "InlineAsm", "::", "Constraint_Uy", ":", "OutOps", ".", "push_back", "(", "Op", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["ARM", "ARM", "\"Unexpected asm memory constraint\""], "File": "ARMISelDAGToDAG10", "Func": "SelectInlineAsmMemoryOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14852, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "ARMBaseRegisterInfo", "::", "materializeFrameBaseRegister", "(", "MachineBasicBlock", "*", "MBB", ",", "int", "FrameIdx", ",", "int64_t", "Offset", ")", "const", "{", "ARMFunctionInfo", "*", "AFI", "=", "MBB", "->", "getParent", "(", ")", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "unsigned", "ADDriOpc", "=", "!", "AFI", "->", "isThumbFunction", "(", ")", "?", "ARM", "::", "ADDri", ":", "(", "AFI", "->", "isThumb1OnlyFunction", "(", ")", "?", "ARM", "::", "tADDframe", ":", "ARM", "::", "t2ADDri", ")", ";", "MachineBasicBlock", "::", "iterator", "Ins", "=", "MBB", "->", "begin", "(", ")", ";", "DebugLoc", "DL", ";", "if", "(", "Ins", "!=", "MBB", "->", "end", "(", ")", ")", "DL", "=", "Ins", "->", "getDebugLoc", "(", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", "->", "getParent", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MBB", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "TII", ".", "get", "(", "ADDriOpc", ")", ";", "Register", "BaseReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "ARM", "::", "GPRRegClass", ")", ";", "MRI", ".", "constrainRegClass", "(", "BaseReg", ",", "TII", ".", "getRegClass", "(", "MCID", ",", "0", ",", "this", ",", "MF", ")", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "MCID", ",", "BaseReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "Offset", ")", ";", "if", "(", "!", "AFI", "->", "isThumb1OnlyFunction", "(", ")", ")", "MIB", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ".", "add", "(", "condCodeOp", "(", ")", ")", ";", "return", "BaseReg", ";", "}", ""], "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::tADDframe", "ARM::t2ADDri", "ARM::GPRRegClass", "0", "ARMCC::AL"], "File": "ARMBaseRegisterInfo", "Func": "materializeFrameBaseRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14853, "Length": 242, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mt_legitimate_address_p", "(", "enum", "machine_mode", "mode", ",", "rtx", "xinsn", ",", "int", "strict", ")", "{", "if", "(", "mt_legitimate_simple_address_p", "(", "mode", ",", "xinsn", ",", "strict", ")", ")", "return", "1", ";", "if", "(", "(", "mode", ")", "==", "SImode", "&&", "GET_CODE", "(", "xinsn", ")", "==", "AND", "&&", "GET_CODE", "(", "XEXP", "(", "xinsn", ",", "1", ")", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "XEXP", "(", "xinsn", ",", "1", ")", ")", "==", "-", "3", ")", "return", "mt_legitimate_simple_address_p", "(", "mode", ",", "XEXP", "(", "xinsn", ",", "0", ")", ",", "strict", ")", ";", "else", "return", "0", ";", "}", ""], "natrual_language": ["Helper", "function", "of", "GO_IF_LEGITIMATE_ADDRESS", ".", "Return", "non-zero", "if", "XINSN", "is", "a", "legitimate", "address", "on", "MT", "."], "TS_V_token": ["mt", "1", "1", "1", "3", "0", "0"], "File": "mt", "Func": "mt_legitimate_address_p", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14854, "Length": 88, "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", ";", "if", "(", "GET_MODE", "(", "rs6000_compare_op0", ")", "!=", "SImode", ")", "return", "0", ";", "condition_rtx", "=", "rs6000_generate_compare", "(", "GET_CODE", "(", "op", ")", ")", ";", "cr", "=", "XEXP", "(", "condition_rtx", ",", "0", ")", ";", "if", "(", "GET_MODE", "(", "cr", ")", "==", "CCmode", ")", "emit_insn", "(", "gen_isel_signed", "(", "dest", ",", "condition_rtx", ",", "true_cond", ",", "false_cond", ",", "cr", ")", ")", ";", "else", "emit_insn", "(", "gen_isel_unsigned", "(", "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": "rs60003", "Func": "rs6000_emit_int_cmove", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14855, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "rs6000_special_adjust_field_align", "(", "tree", "type", ",", "unsigned", "int", "computed", ")", "{", "if", "(", "computed", "<=", "32", "||", "TYPE_PACKED", "(", "type", ")", ")", "return", "computed", ";", "while", "(", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", ")", "type", "=", "TREE_TYPE", "(", "type", ")", ";", "while", "(", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "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", "computed", ";", "type", "=", "TREE_TYPE", "(", "field", ")", ";", "while", "(", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", ")", "type", "=", "TREE_TYPE", "(", "type", ")", ";", "}", "if", "(", "!", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "type", "!=", "error_mark_node", "&&", "(", "TYPE_MODE", "(", "type", ")", "==", "DFmode", "||", "TYPE_MODE", "(", "type", ")", "==", "DCmode", ")", ")", "computed", "=", "MIN", "(", "computed", ",", "32", ")", ";", "return", "computed", ";", "}", ""], "natrual_language": ["AIX", "word-aligns", "FP", "doubles", "but", "doubleword-aligns", "64-bit", "ints", "."], "TS_V_token": ["rs6000", "32", "32"], "File": "rs6000", "Func": "rs6000_special_adjust_field_align", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14856, "Length": 167, "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": 14857, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "contains_core_p", "(", "unsigned", "*", "arr", ",", "unsigned", "core", ")", "{", "if", "(", "arr", "[", "0", "]", "!=", "INVALID_CORE", ")", "{", "if", "(", "arr", "[", "0", "]", "==", "core", ")", "return", "true", ";", "if", "(", "arr", "[", "1", "]", "!=", "INVALID_CORE", ")", "return", "arr", "[", "1", "]", "==", "core", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "iff", "ARR", "contains", "CORE", ",", "in", "either", "of", "the", "two", "elements", "."], "TS_V_token": ["aarch64", "0", "0", "1", "1"], "File": "driver-aarch64", "Func": "contains_core_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14858, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMAsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", "const", "{", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "MCContext", "&", "Ctx", "=", "Asm", ".", "getContext", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "Asm", ",", "Fixup", ",", "Target", ",", "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": "ARMAsmBackend19", "Func": "applyFixup", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14859, "Length": 209, "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", "]", ")", "{", "if", "(", "ExtraCode", "[", "1", "]", "!=", "0", ")", "return", "true", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "default", ":", "return", "true", ";", "case", "'y'", ":", "{", "const", "char", "*", "RegName", "=", "\"r0\"", ";", "if", "(", "!", "Subtarget", ".", "isDarwin", "(", ")", ")", "RegName", "=", "stripRegisterPrefix", "(", "RegName", ")", ";", "O", "<<", "RegName", "<<", "\", \"", ";", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "}", "}", "}", "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", "1", "0", "0", "\"r0\"", "\", \"", "\"0(\"", "\")\""], "File": "PPCAsmPrinter (2)", "Func": "PrintAsmMemoryOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14860, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_validate_march", "(", "const", "char", "*", "str", ",", "const", "struct", "processor", "*", "*", "res", ",", "unsigned", "long", "*", "isa_flags", ")", "{", "enum", "aarch64_parse_opt_result", "parse_res", "=", "aarch64_parse_arch", "(", "str", ",", "res", ",", "isa_flags", ")", ";", "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 in %<-march=%s%>\"", ",", "str", ")", ";", "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 in %<-march=%s%>\""], "File": "aarch644", "Func": "aarch64_validate_march", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14861, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "mips_multi_member", "*", "mips_multi_add", "(", "void", ")", "{", "mips_multi_member", "empty", ";", "memset", "(", "&", "empty", ",", "0", ",", "sizeof", "(", "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", "0"], "File": "mips", "Func": "mips_multi_add", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14862, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "GlobalBaseReg", "=", "0", ";", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "PPCLowering", "=", "Subtarget", "->", "getTargetLowering", "(", ")", ";", "if", "(", "Subtarget", "->", "hasROPProtect", "(", ")", ")", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "PPCFunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", ";", "const", "int", "Result", "=", "MFI", ".", "CreateStackObject", "(", "8", ",", "Align", "(", "8", ")", ",", "false", ")", ";", "FI", "->", "setROPProtectionHashSaveIndex", "(", "Result", ")", ";", "}", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC", "0", "PPC", "PPC", "PPC", "PPC", "8", "8"], "File": "PPCISelDAGToDAG1", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14863, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "aarch64_symbol_type", "aarch64_classify_symbolic_expression", "(", "rtx", "x", ")", "{", "rtx", "offset", ";", "split_const", "(", "x", ",", "&", "x", ",", "&", "offset", ")", ";", "return", "aarch64_classify_symbol", "(", "x", ",", "INTVAL", "(", "offset", ")", ")", ";", "}", ""], "natrual_language": ["Classify", "the", "base", "of", "symbolic", "expression", "X", ",", "given", "that", "X", "appears", "in", "context", "CONTEXT", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_classify_symbolic_expression", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14864, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "addLOHDirective", "(", "MCLOHType", "Kind", ",", "const", "MILOHArgs", "&", "Args", ")", "{", "LOHContainerSet", ".", "push_back", "(", "MILOHDirective", "(", "Kind", ",", "Args", ")", ")", ";", "LOHRelated", ".", "insert", "(", "Args", ".", "begin", "(", ")", ",", "Args", ".", "end", "(", ")", ")", ";", "}", ""], "natrual_language": ["Add", "a", "LOH", "directive", "of", "this", "Kind", "and", "this", "Args", "."], "TS_V_token": ["ARM64"], "File": "ARM64MachineFunctionInfo", "Func": "addLOHDirective", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14865, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "shouldScheduleLoadsNear", "(", "SDNode", "*", "Load1", ",", "SDNode", "*", "Load2", ",", "int64_t", "Offset1", ",", "int64_t", "Offset2", ",", "unsigned", "NumLoads", ")", "const", "{", "assert", "(", "Offset2", ">", "Offset1", ")", ";", "if", "(", "(", "Offset2", "-", "Offset1", ")", "/", "8", ">", "64", ")", "return", "false", ";", "unsigned", "Opc1", "=", "Load1", "->", "getMachineOpcode", "(", ")", ";", "unsigned", "Opc2", "=", "Load2", "->", "getMachineOpcode", "(", ")", ";", "if", "(", "Opc1", "!=", "Opc2", ")", "return", "false", ";", "switch", "(", "Opc1", ")", "{", "default", ":", "break", ";", "case", "X86", "::", "LD_Fp32m", ":", "case", "X86", "::", "LD_Fp64m", ":", "case", "X86", "::", "LD_Fp80m", ":", "case", "X86", "::", "MMX_MOVD64rm", ":", "case", "X86", "::", "MMX_MOVQ64rm", ":", "return", "false", ";", "}", "EVT", "VT", "=", "Load1", "->", "getValueType", "(", "0", ")", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "if", "(", "TM", ".", "getSubtargetImpl", "(", ")", "->", "is64Bit", "(", ")", ")", "{", "if", "(", "NumLoads", ">=", "3", ")", "return", "false", ";", "}", "else", "if", "(", "NumLoads", ")", "{", "return", "false", ";", "}", "break", ";", "case", "MVT", "::", "i8", ":", "case", "MVT", "::", "i16", ":", "case", "MVT", "::", "i32", ":", "case", "MVT", "::", "i64", ":", "case", "MVT", "::", "f32", ":", "case", "MVT", "::", "f64", ":", "if", "(", "NumLoads", ")", "return", "false", ";", "break", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["shouldScheduleLoadsNear", "-", "This", "is", "a", "used", "by", "the", "pre-regalloc", "scheduler", "to", "determine", "(", "in", "conjunction", "with", "areLoadsFromSameBasePtr", ")", "if", "two", "loads", "should", "be", "scheduled", "togther", "."], "TS_V_token": ["X86", "X86", "8", "64", "X86::LD_Fp32m", "X86::LD_Fp64m", "X86::LD_Fp80m", "X86::MMX_MOVD64rm", "X86::MMX_MOVQ64rm", "0", "3", "MVT::i8", "MVT::i16", "MVT::i32", "MVT::i64", "MVT::f32", "MVT::f64"], "File": "X86InstrInfo (2)", "Func": "shouldScheduleLoadsNear", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14866, "Length": 213, "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", "::", "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::F128RegClass", "VE::sub_even", "VE::sub_odd", "2", "VE::ORri", "\"Impossible reg-to-reg copy from \"", "\" to \"", "\"\\n\"", "\"Impossible reg-to-reg copy\""], "File": "VEInstrInfo12", "Func": "copyPhysReg", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14867, "Length": 189, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "DLXAsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", ",", "const", "MCSubtargetInfo", "*", ")", "const", "{", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "static_cast", "<", "unsigned", ">", "(", "Kind", ")", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "+", "7", ")", "/", "8", ";", "unsigned", "FullSize", "=", "4", ";", "uint64_t", "CurVal", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "(", "FullSize", "-", "1", "-", "i", ")", ";", "CurVal", "|=", "static_cast", "<", "uint64_t", ">", "(", "static_cast", "<", "uint8_t", ">", "(", "Data", "[", "Offset", "+", "Idx", "]", ")", ")", "<<", "(", "i", "*", "8", ")", ";", "}", "uint64_t", "Mask", "=", "(", "static_cast", "<", "uint64_t", ">", "(", "-", "1", ")", ">>", "(", "64", "-", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", ")", ";", "CurVal", "|=", "Value", "&", "Mask", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "(", "FullSize", "-", "1", "-", "i", ")", ";", "Data", "[", "Offset", "+", "Idx", "]", "=", "static_cast", "<", "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": ["DLX", "DLX", "7", "8", "4", "0", "0", "1", "8", "1", "64", "0", "1", "8", "0xff"], "File": "DLXAsmBackend", "Func": "applyFixup", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14868, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_push_asm_switch_1", "(", "struct", "mips_asm_switch", "*", "asm_switch", ",", "const", "char", "*", "prefix", ",", "const", "char", "*", "suffix", ")", "{", "if", "(", "asm_switch", "->", "nesting_level", "==", "0", ")", "fprintf", "(", "asm_out_file", ",", "\"%s.set\\tno%s%s\"", ",", "prefix", ",", "asm_switch", "->", "name", ",", "suffix", ")", ";", "asm_switch", "->", "nesting_level", "++", ";", "}", ""], "natrual_language": ["Start", "a", "new", "block", "with", "the", "given", "asm", "switch", "enabled", ".", "If", "we", "need", "to", "print", "a", "directive", ",", "emit", "PREFIX", "before", "it", "and", "SUFFIX", "after", "it", "."], "TS_V_token": ["mips", "0", "\"%s.set\\tno%s%s\""], "File": "mips", "Func": "mips_push_asm_switch_1", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14869, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_is_valid_insert_mask", "(", "rtx", "mask", ",", "rtx", "shift", ",", "machine_mode", "mode", ")", "{", "int", "nb", ",", "ne", ";", "if", "(", "!", "rs6000_is_valid_mask", "(", "mask", ",", "&", "nb", ",", "&", "ne", ",", "mode", ")", ")", "return", "false", ";", "int", "n", "=", "GET_MODE_PRECISION", "(", "mode", ")", ";", "int", "sh", "=", "INTVAL", "(", "XEXP", "(", "shift", ",", "1", ")", ")", ";", "if", "(", "sh", "<", "0", "||", "sh", ">=", "n", ")", "return", "false", ";", "rtx_code", "code", "=", "GET_CODE", "(", "shift", ")", ";", "if", "(", "sh", "==", "0", ")", "code", "=", "ROTATE", ";", "if", "(", "code", "==", "ROTATE", "&&", "sh", ">=", "0", "&&", "nb", ">=", "ne", "&&", "ne", ">=", "sh", ")", "code", "=", "ASHIFT", ";", "if", "(", "code", "==", "ROTATE", "&&", "sh", ">=", "0", "&&", "nb", ">=", "ne", "&&", "nb", "<", "sh", ")", "{", "code", "=", "LSHIFTRT", ";", "sh", "=", "n", "-", "sh", ";", "}", "if", "(", "mode", "==", "DImode", "&&", "code", "==", "ROTATE", ")", "return", "(", "ne", "==", "sh", ")", ";", "if", "(", "mode", "==", "SImode", "&&", "code", "==", "ROTATE", ")", "return", "(", "nb", "<", "32", "&&", "ne", "<", "32", "&&", "sh", "<", "32", ")", ";", "if", "(", "ne", ">", "nb", ")", "return", "false", ";", "if", "(", "code", "==", "ASHIFT", "&&", "ne", "<", "sh", ")", "return", "false", ";", "if", "(", "nb", "<", "32", "&&", "ne", "<", "32", "&&", "sh", "<", "32", "&&", "!", "(", "code", "==", "LSHIFTRT", "&&", "nb", ">=", "32", "-", "sh", ")", ")", "return", "true", ";", "if", "(", "code", "==", "LSHIFTRT", ")", "sh", "=", "64", "-", "sh", ";", "if", "(", "ne", "==", "sh", ")", "return", "!", "(", "code", "==", "LSHIFTRT", "&&", "nb", ">=", "sh", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "whether", "MASK", "(", "a", "CONST_INT", ")", "is", "a", "valid", "mask", "for", "any", "rlwimi", "or", "rldimi", "instruction", ",", "to", "implement", "an", "insert", "with", "shift", "SHIFT", "(", "a", "ROTATE", ",", "ASHIFT", ",", "or", "LSHIFTRT", ")", "in", "mode", "MODE", "."], "TS_V_token": ["rs6000", "1", "0", "0", "0", "0", "32", "32", "32", "32", "32", "32", "32", "64"], "File": "rs6000", "Func": "rs6000_is_valid_insert_mask", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14870, "Length": 269, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "pa_asm_output_aligned_common", "(", "FILE", "*", "stream", ",", "const", "char", "*", "name", ",", "unsigned", "HOST_WIDE_INT", "size", ",", "unsigned", "int", "align", ")", "{", "unsigned", "int", "max_common_align", ";", "max_common_align", "=", "TARGET_64BIT", "?", "128", ":", "(", "size", ">=", "4096", "?", "256", ":", "64", ")", ";", "if", "(", "align", ">", "max_common_align", ")", "{", "warning", "(", "0", ",", "\"alignment (%u) for %s exceeds maximum alignment \"", "\"for global common data. Using %u\"", ",", "align", "/", "BITS_PER_UNIT", ",", "name", ",", "max_common_align", "/", "BITS_PER_UNIT", ")", ";", "align", "=", "max_common_align", ";", "}", "switch_to_section", "(", "bss_section", ")", ";", "assemble_name", "(", "stream", ",", "name", ")", ";", "fprintf", "(", "stream", ",", "\"\\t.comm \"", "HOST_WIDE_INT_PRINT_UNSIGNED", "\"\\n\"", ",", "MAX", "(", "size", ",", "align", "/", "BITS_PER_UNIT", ")", ")", ";", "}", ""], "natrual_language": ["Both", "the", "HP", "and", "GNU", "assemblers", "under", "HP-UX", "provide", "a", ".comm", "directive", "that", "does", "n't", "allow", "the", "alignment", "of", "global", "common", "storage", "to", "be", "directly", "specified", ".", "The", "SOM", "linker", "aligns", "common", "storage", "based", "on", "the", "rounded", "value", "of", "the", "NUM_BYTES", "parameter", "in", "the", ".comm", "directive", ".", "It", "'s", "not", "possible", "to", "use", "the", ".align", "directive", "as", "it", "does", "n't", "affect", "the", "alignment", "of", "the", "label", "associated", "with", "a", ".comm", "directive", "."], "TS_V_token": ["pa", "128", "4096", "256", "64", "0", "\"alignment (%u) for %s exceeds maximum alignment \"", "\"for global common data. Using %u\"", "\"\\t.comm \"", "\"\\n\""], "File": "pa4", "Func": "pa_asm_output_aligned_common", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14871, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCInstrInfo", "::", "insertSelect", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "DebugLoc", "dl", ",", "unsigned", "DestReg", ",", "const", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "unsigned", "TrueReg", ",", "unsigned", "FalseReg", ")", "const", "{", "assert", "(", "Cond", ".", "size", "(", ")", "==", "2", "&&", "\"PPC branch conditions have two components!\"", ")", ";", "assert", "(", "TM", ".", "getSubtargetImpl", "(", ")", "->", "hasISEL", "(", ")", "&&", "\"Cannot insert select on target without ISEL support\"", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "RI", ".", "getCommonSubClass", "(", "MRI", ".", "getRegClass", "(", "TrueReg", ")", ",", "MRI", ".", "getRegClass", "(", "FalseReg", ")", ")", ";", "assert", "(", "RC", "&&", "\"TrueReg and FalseReg must have overlapping register classes\"", ")", ";", "bool", "Is64Bit", "=", "PPC", "::", "G8RCRegClass", ".", "hasSubClassEq", "(", "RC", ")", "||", "PPC", "::", "G8RC_NOX0RegClass", ".", "hasSubClassEq", "(", "RC", ")", ";", "assert", "(", "(", "Is64Bit", "||", "PPC", "::", "GPRCRegClass", ".", "hasSubClassEq", "(", "RC", ")", "||", "PPC", "::", "GPRC_NOR0RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "&&", "\"isel is for regular integer GPRs only\"", ")", ";", "unsigned", "OpCode", "=", "Is64Bit", "?", "PPC", "::", "ISEL8", ":", "PPC", "::", "ISEL", ";", "unsigned", "SelectPred", "=", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ";", "unsigned", "SubIdx", ";", "bool", "SwapOps", ";", "switch", "(", "SelectPred", ")", "{", "default", ":", "llvm_unreachable", "(", "\"invalid predicate for isel\"", ")", ";", "case", "PPC", "::", "PRED_EQ", ":", "SubIdx", "=", "PPC", "::", "sub_eq", ";", "SwapOps", "=", "false", ";", "break", ";", "case", "PPC", "::", "PRED_NE", ":", "SubIdx", "=", "PPC", "::", "sub_eq", ";", "SwapOps", "=", "true", ";", "break", ";", "case", "PPC", "::", "PRED_LT", ":", "SubIdx", "=", "PPC", "::", "sub_lt", ";", "SwapOps", "=", "false", ";", "break", ";", "case", "PPC", "::", "PRED_GE", ":", "SubIdx", "=", "PPC", "::", "sub_lt", ";", "SwapOps", "=", "true", ";", "break", ";", "case", "PPC", "::", "PRED_GT", ":", "SubIdx", "=", "PPC", "::", "sub_gt", ";", "SwapOps", "=", "false", ";", "break", ";", "case", "PPC", "::", "PRED_LE", ":", "SubIdx", "=", "PPC", "::", "sub_gt", ";", "SwapOps", "=", "true", ";", "break", ";", "case", "PPC", "::", "PRED_UN", ":", "SubIdx", "=", "PPC", "::", "sub_un", ";", "SwapOps", "=", "false", ";", "break", ";", "case", "PPC", "::", "PRED_NU", ":", "SubIdx", "=", "PPC", "::", "sub_un", ";", "SwapOps", "=", "true", ";", "break", ";", "}", "unsigned", "FirstReg", "=", "SwapOps", "?", "FalseReg", ":", "TrueReg", ",", "SecondReg", "=", "SwapOps", "?", "TrueReg", ":", "FalseReg", ";", "if", "(", "MRI", ".", "getRegClass", "(", "FirstReg", ")", "->", "contains", "(", "PPC", "::", "R0", ")", "||", "MRI", ".", "getRegClass", "(", "FirstReg", ")", "->", "contains", "(", "PPC", "::", "X0", ")", ")", "{", "const", "TargetRegisterClass", "*", "FirstRC", "=", "MRI", ".", "getRegClass", "(", "FirstReg", ")", "->", "contains", "(", "PPC", "::", "X0", ")", "?", "&", "PPC", "::", "G8RC_NOX0RegClass", ":", "&", "PPC", "::", "GPRC_NOR0RegClass", ";", "unsigned", "OldFirstReg", "=", "FirstReg", ";", "FirstReg", "=", "MRI", ".", "createVirtualRegister", "(", "FirstRC", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "dl", ",", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "FirstReg", ")", ".", "addReg", "(", "OldFirstReg", ")", ";", "}", "BuildMI", "(", "MBB", ",", "MI", ",", "dl", ",", "get", "(", "OpCode", ")", ",", "DestReg", ")", ".", "addReg", "(", "FirstReg", ")", ".", "addReg", "(", "SecondReg", ")", ".", "addReg", "(", "Cond", "[", "1", "]", ".", "getReg", "(", ")", ",", "0", ",", "SubIdx", ")", ";", "}", ""], "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": ["PowerPC", "PPC", "2", "\"PPC branch conditions have two components!\"", "\"Cannot insert select on target without ISEL support\"", "\"TrueReg and FalseReg must have overlapping register classes\"", "PPC::G8RCRegClass", "PPC::G8RC_NOX0RegClass", "PPC::GPRCRegClass", "PPC::GPRC_NOR0RegClass", "\"isel is for regular integer GPRs only\"", "PPC::ISEL8", "PPC::ISEL", "0", "\"invalid predicate for isel\"", "PPC::PRED_EQ", "PPC::sub_eq", "PPC::PRED_NE", "PPC::sub_eq", "PPC::PRED_LT", "PPC::sub_lt", "PPC::PRED_GE", "PPC::sub_lt", "PPC::PRED_GT", "PPC::sub_gt", "PPC::PRED_LE", "PPC::sub_gt", "PPC::PRED_UN", "PPC::sub_un", "PPC::PRED_NU", "PPC::sub_un", "PPC::R0", "PPC::X0", "PPC::X0", "PPC::G8RC_NOX0RegClass", "PPC::GPRC_NOR0RegClass", "1", "0"], "File": "PPCInstrInfo108", "Func": "insertSelect", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14872, "Length": 495, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc_split_reg_reg", "(", "rtx", "dest", ",", "rtx", "src", ",", "machine_mode", "mode", ")", "{", "rtx", "dest1", "=", "gen_highpart", "(", "mode", ",", "dest", ")", ";", "rtx", "dest2", "=", "gen_lowpart", "(", "mode", ",", "dest", ")", ";", "rtx", "src1", "=", "gen_highpart", "(", "mode", ",", "src", ")", ";", "rtx", "src2", "=", "gen_lowpart", "(", "mode", ",", "src", ")", ";", "if", "(", "reg_overlap_mentioned_p", "(", "dest1", ",", "src2", ")", ")", "{", "emit_move_insn_1", "(", "dest2", ",", "src2", ")", ";", "emit_move_insn_1", "(", "dest1", ",", "src1", ")", ";", "}", "else", "{", "emit_move_insn_1", "(", "dest1", ",", "src1", ")", ";", "emit_move_insn_1", "(", "dest2", ",", "src2", ")", ";", "}", "}", ""], "natrual_language": ["Split", "a", "REG", "<", "--", ">", "REG", "move", "into", "a", "pair", "of", "moves", "in", "MODE", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "sparc_split_reg_reg", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14873, "Length": 96, "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", "::", "LD", ")", "||", "(", "Opc", "==", "Mips", "::", "LWC1", ")", "||", "(", "Opc", "==", "Mips", "::", "LDC1", ")", "||", "(", "Opc", "==", "Mips", "::", "LDC164", ")", ")", "{", "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::LD", "Mips::LWC1", "Mips::LDC1", "Mips::LDC164", "1", "2", "2", "1", "0", "0"], "File": "MipsSEInstrInfo10", "Func": "isLoadFromStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14874, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mep_reorg_noframe", "(", "rtx_insn", "*", "insns", ")", "{", "rtx_insn", "*", "start_frame_insn", ";", "rtx_insn", "*", "end_frame_insn", "=", "0", ";", "int", "sp_adjust", ",", "sp2", ";", "rtx", "sp", ";", "while", "(", "insns", "&&", "!", "INSN_P", "(", "insns", ")", ")", "insns", "=", "NEXT_INSN", "(", "insns", ")", ";", "if", "(", "!", "insns", ")", "return", ";", "sp_adjust", "=", "add_sp_insn_p", "(", "insns", ")", ";", "if", "(", "sp_adjust", "==", "0", ")", "return", ";", "start_frame_insn", "=", "insns", ";", "sp", "=", "SET_DEST", "(", "PATTERN", "(", "start_frame_insn", ")", ")", ";", "insns", "=", "next_real_insn", "(", "insns", ")", ";", "while", "(", "insns", ")", "{", "rtx_insn", "*", "next", "=", "next_real_insn", "(", "insns", ")", ";", "if", "(", "!", "next", ")", "break", ";", "sp2", "=", "add_sp_insn_p", "(", "insns", ")", ";", "if", "(", "sp2", ")", "{", "if", "(", "end_frame_insn", ")", "return", ";", "end_frame_insn", "=", "insns", ";", "if", "(", "sp2", "!=", "-", "sp_adjust", ")", "return", ";", "}", "else", "if", "(", "mep_mentioned_p", "(", "insns", ",", "sp", ",", "0", ")", ")", "return", ";", "else", "if", "(", "CALL_P", "(", "insns", ")", ")", "return", ";", "insns", "=", "next", ";", "}", "if", "(", "end_frame_insn", ")", "{", "delete_insn", "(", "start_frame_insn", ")", ";", "delete_insn", "(", "end_frame_insn", ")", ";", "}", "}", ""], "natrual_language": ["Check", "for", "trivial", "functions", "that", "set", "up", "an", "unneeded", "stack", "frame", "."], "TS_V_token": ["mep", "0", "0", "0"], "File": "mep", "Func": "mep_reorg_noframe", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14875, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "adjust_xxpermdi", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "set", "=", "PATTERN", "(", "insn", ")", ";", "rtx", "select", "=", "XEXP", "(", "set", ",", "1", ")", ";", "rtx", "concat", "=", "XEXP", "(", "select", ",", "0", ")", ";", "rtx", "src0", "=", "XEXP", "(", "concat", ",", "0", ")", ";", "XEXP", "(", "concat", ",", "0", ")", "=", "XEXP", "(", "concat", ",", "1", ")", ";", "XEXP", "(", "concat", ",", "1", ")", "=", "src0", ";", "rtx", "parallel", "=", "XEXP", "(", "select", ",", "1", ")", ";", "int", "lane0", "=", "INTVAL", "(", "XVECEXP", "(", "parallel", ",", "0", ",", "0", ")", ")", ";", "int", "lane1", "=", "INTVAL", "(", "XVECEXP", "(", "parallel", ",", "0", ",", "1", ")", ")", ";", "int", "new_lane0", "=", "3", "-", "lane1", ";", "int", "new_lane1", "=", "3", "-", "lane0", ";", "XVECEXP", "(", "parallel", ",", "0", ",", "0", ")", "=", "GEN_INT", "(", "new_lane0", ")", ";", "XVECEXP", "(", "parallel", ",", "0", ",", "1", ")", "=", "GEN_INT", "(", "new_lane1", ")", ";", "INSN_CODE", "(", "insn", ")", "=", "-", "1", ";", "df_insn_rescan", "(", "insn", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Changing lanes for xxpermdi %d\\n\"", ",", "INSN_UID", "(", "insn", ")", ")", ";", "}", ""], "natrual_language": ["Given", "OP", "that", "contains", "an", "XXPERMDI", "operation", "(", "that", "is", "not", "a", "doubleword", "swap", ")", ",", "reverse", "the", "order", "of", "the", "source", "operands", "and", "adjust", "the", "indices", "of", "the", "source", "lanes", "to", "account", "for", "doubleword", "reversal", "."], "TS_V_token": ["rs6000", "1", "0", "0", "0", "1", "1", "1", "0", "0", "0", "1", "3", "3", "0", "0", "0", "1", "1", "\"Changing lanes for xxpermdi %d\\n\""], "File": "rs6000-p8swap", "Func": "adjust_xxpermdi", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14876, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_trampoline_init", "(", "rtx", "m_tramp", ",", "tree", "fndecl", ",", "rtx", "cxt", ")", "{", "int", "regsize", "=", "(", "TARGET_32BIT", ")", "?", "4", ":", "8", ";", "rtx", "fnaddr", "=", "XEXP", "(", "DECL_RTL", "(", "fndecl", ")", ",", "0", ")", ";", "rtx", "ctx_reg", "=", "force_reg", "(", "Pmode", ",", "cxt", ")", ";", "rtx", "addr", "=", "force_reg", "(", "Pmode", ",", "XEXP", "(", "m_tramp", ",", "0", ")", ")", ";", "switch", "(", "DEFAULT_ABI", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "ABI_AIX", ":", "{", "rtx", "fnmem", ",", "fn_reg", ",", "toc_reg", ";", "if", "(", "!", "TARGET_POINTERS_TO_NESTED_FUNCTIONS", ")", "error", "(", "\"you cannot take the address of a nested function if you use \"", "\"the %qs option\"", ",", "\"-mno-pointers-to-nested-functions\"", ")", ";", "fnmem", "=", "gen_const_mem", "(", "Pmode", ",", "force_reg", "(", "Pmode", ",", "fnaddr", ")", ")", ";", "fn_reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "toc_reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "m_tramp", "=", "replace_equiv_address", "(", "m_tramp", ",", "addr", ")", ";", "emit_move_insn", "(", "fn_reg", ",", "MEM_PLUS", "(", "fnmem", ",", "0", ")", ")", ";", "emit_move_insn", "(", "toc_reg", ",", "MEM_PLUS", "(", "fnmem", ",", "regsize", ")", ")", ";", "emit_move_insn", "(", "MEM_PLUS", "(", "m_tramp", ",", "0", ")", ",", "fn_reg", ")", ";", "emit_move_insn", "(", "MEM_PLUS", "(", "m_tramp", ",", "regsize", ")", ",", "toc_reg", ")", ";", "emit_move_insn", "(", "MEM_PLUS", "(", "m_tramp", ",", "2", "*", "regsize", ")", ",", "ctx_reg", ")", ";", "}", "break", ";", "case", "ABI_ELFv2", ":", "case", "ABI_DARWIN", ":", "case", "ABI_V4", ":", "emit_library_call", "(", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"__trampoline_setup\"", ")", ",", "LCT_NORMAL", ",", "VOIDmode", ",", "addr", ",", "Pmode", ",", "GEN_INT", "(", "rs6000_trampoline_size", "(", ")", ")", ",", "SImode", ",", "fnaddr", ",", "Pmode", ",", "ctx_reg", ",", "Pmode", ")", ";", "break", ";", "}", "}", ""], "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", "0", "0", "\"you cannot take the address of a nested function if you use \"", "\"the %qs option\"", "\"-mno-pointers-to-nested-functions\"", "0", "0", "2", "\"__trampoline_setup\""], "File": "rs6000", "Func": "rs6000_trampoline_init", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14877, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sh_setup_incoming_varargs", "(", "CUMULATIVE_ARGS", "*", "ca", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "int", "*", "pretend_arg_size", ",", "int", "second_time", "ATTRIBUTE_UNUSED", ")", "{", "gcc_assert", "(", "current_function_stdarg", ")", ";", "if", "(", "TARGET_VARARGS_PRETEND_ARGS", "(", "current_function_decl", ")", ")", "{", "int", "named_parm_regs", ",", "anon_parm_regs", ";", "named_parm_regs", "=", "(", "ROUND_REG", "(", "*", "ca", ",", "mode", ")", "+", "(", "mode", "==", "BLKmode", "?", "ROUND_ADVANCE", "(", "int_size_in_bytes", "(", "type", ")", ")", ":", "ROUND_ADVANCE", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", ")", ")", ";", "anon_parm_regs", "=", "NPARM_REGS", "(", "SImode", ")", "-", "named_parm_regs", ";", "if", "(", "anon_parm_regs", ">", "0", ")", "*", "pretend_arg_size", "=", "anon_parm_regs", "*", "4", ";", "}", "}", ""], "natrual_language": ["We", "actually", "emit", "the", "code", "in", "sh_expand_prologue", ".", "We", "used", "to", "use", "a", "static", "variable", "to", "flag", "that", "we", "need", "to", "emit", "this", "code", ",", "but", "that", "does", "n't", "when", "inlining", ",", "when", "functions", "are", "deferred", "and", "then", "emitted", "later", ".", "Fortunately", ",", "we", "already", "have", "two", "flags", "that", "are", "part", "of", "struct", "function", "that", "tell", "if", "a", "function", "uses", "varargs", "or", "stdarg", "."], "TS_V_token": ["sh", "0", "4"], "File": "sh3", "Func": "sh_setup_incoming_varargs", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14878, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CSKYPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createCSKYISelDag", "(", "getCSKYTargetMachine", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["CSKY", "CSKY", "CSKY", "CSKY"], "File": "CSKYTargetMachine (2)", "Func": "addInstSelector", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14879, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "legitimate_constant_p", "(", "rtx", "x", ")", "{", "rtx", "inner", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "SYMBOL_REF", ":", "if", "(", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", ")", "return", "false", ";", "break", ";", "case", "CONST", ":", "inner", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "inner", ")", "==", "PLUS", "&&", "SPARC_SYMBOL_REF_TLS_P", "(", "XEXP", "(", "inner", ",", "0", ")", ")", ")", "return", "false", ";", "break", ";", "case", "CONST_DOUBLE", ":", "if", "(", "GET_MODE", "(", "x", ")", "==", "VOIDmode", ")", "return", "true", ";", "if", "(", "TARGET_VIS", "&&", "SCALAR_FLOAT_MODE_P", "(", "GET_MODE", "(", "x", ")", ")", "&&", "const_zero_operand", "(", "x", ",", "GET_MODE", "(", "x", ")", ")", ")", "return", "true", ";", "return", "false", ";", "case", "CONST_VECTOR", ":", "if", "(", "TARGET_VIS", "&&", "const_zero_operand", "(", "x", ",", "GET_MODE", "(", "x", ")", ")", ")", "return", "true", ";", "return", "false", ";", "default", ":", "break", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Nonzero", "if", "the", "constant", "value", "X", "is", "a", "legitimate", "general", "operand", ".", "It", "is", "given", "that", "X", "satisfies", "CONSTANT_P", "or", "is", "a", "CONST_DOUBLE", "."], "TS_V_token": ["sparc", "0", "0"], "File": "sparc3", "Func": "legitimate_constant_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14880, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_pragma_target_parse", "(", "tree", "args", ",", "tree", "pop_target", ")", "{", "tree", "prev_tree", "=", "build_target_option_node", "(", "&", "global_options", ",", "&", "global_options_set", ")", ";", "tree", "cur_tree", ";", "struct", "cl_target_option", "*", "prev_opt", ";", "struct", "cl_target_option", "*", "cur_opt", ";", "HOST_WIDE_INT", "prev_isa", ";", "HOST_WIDE_INT", "cur_isa", ";", "HOST_WIDE_INT", "diff_isa", ";", "HOST_WIDE_INT", "prev_isa2", ";", "HOST_WIDE_INT", "cur_isa2", ";", "HOST_WIDE_INT", "diff_isa2", ";", "enum", "processor_type", "prev_arch", ";", "enum", "processor_type", "prev_tune", ";", "enum", "processor_type", "cur_arch", ";", "enum", "processor_type", "cur_tune", ";", "if", "(", "!", "args", ")", "{", "cur_tree", "=", "(", "pop_target", "?", "pop_target", ":", "target_option_default_node", ")", ";", "cl_target_option_restore", "(", "&", "global_options", ",", "&", "global_options_set", ",", "TREE_TARGET_OPTION", "(", "cur_tree", ")", ")", ";", "}", "else", "{", "cur_tree", "=", "ix86_valid_target_attribute_tree", "(", "NULL_TREE", ",", "args", ",", "&", "global_options", ",", "&", "global_options_set", ",", "0", ")", ";", "if", "(", "!", "cur_tree", "||", "cur_tree", "==", "error_mark_node", ")", "{", "cl_target_option_restore", "(", "&", "global_options", ",", "&", "global_options_set", ",", "TREE_TARGET_OPTION", "(", "prev_tree", ")", ")", ";", "return", "false", ";", "}", "}", "target_option_current_node", "=", "cur_tree", ";", "ix86_reset_previous_fndecl", "(", ")", ";", "prev_opt", "=", "TREE_TARGET_OPTION", "(", "prev_tree", ")", ";", "cur_opt", "=", "TREE_TARGET_OPTION", "(", "cur_tree", ")", ";", "prev_isa", "=", "prev_opt", "->", "x_ix86_isa_flags", ";", "cur_isa", "=", "cur_opt", "->", "x_ix86_isa_flags", ";", "diff_isa", "=", "(", "prev_isa", "^", "cur_isa", ")", ";", "prev_isa2", "=", "prev_opt", "->", "x_ix86_isa_flags2", ";", "cur_isa2", "=", "cur_opt", "->", "x_ix86_isa_flags2", ";", "diff_isa2", "=", "(", "prev_isa2", "^", "cur_isa2", ")", ";", "prev_arch", "=", "(", "enum", "processor_type", ")", "prev_opt", "->", "arch", ";", "prev_tune", "=", "(", "enum", "processor_type", ")", "prev_opt", "->", "tune", ";", "cur_arch", "=", "(", "enum", "processor_type", ")", "cur_opt", "->", "arch", ";", "cur_tune", "=", "(", "enum", "processor_type", ")", "cur_opt", "->", "tune", ";", "if", "(", "cur_arch", "==", "prev_arch", ")", "cur_arch", "=", "prev_arch", "=", "PROCESSOR_max", ";", "if", "(", "cur_tune", "==", "prev_tune", ")", "cur_tune", "=", "prev_tune", "=", "PROCESSOR_max", ";", "ix86_target_macros_internal", "(", "prev_isa", "&", "diff_isa", ",", "prev_isa2", "&", "diff_isa2", ",", "prev_arch", ",", "prev_tune", ",", "(", "enum", "fpmath_unit", ")", "prev_opt", "->", "x_ix86_fpmath", ",", "cpp_undef", ")", ";", "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", ";", "ix86_target_macros_internal", "(", "cur_isa", "&", "diff_isa", ",", "cur_isa2", "&", "diff_isa2", ",", "cur_arch", ",", "cur_tune", ",", "(", "enum", "fpmath_unit", ")", "cur_opt", "->", "x_ix86_fpmath", ",", "cpp_define", ")", ";", "cpp_opts", "->", "warn_unused_macros", "=", "saved_warn_unused_macros", ";", "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": ["i386", "0", "0"], "File": "i386-c1", "Func": "ix86_pragma_target_parse", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14881, "Length": 358, "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", "=", "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": "AArch64AsmParser (2)2", "Func": "CreateReg", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14882, "Length": 143, "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", "(", "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": ["VE", "0"], "File": "VEAsmParser (2)", "Func": "addExpr", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14883, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_gen_load_pair", "(", "machine_mode", "mode", ",", "rtx", "reg1", ",", "rtx", "mem1", ",", "rtx", "reg2", ",", "rtx", "mem2", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_DImode", ":", "return", "gen_load_pairdi", "(", "reg1", ",", "mem1", ",", "reg2", ",", "mem2", ")", ";", "case", "E_DFmode", ":", "return", "gen_load_pairdf", "(", "reg1", ",", "mem1", ",", "reg2", ",", "mem2", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Generate", "and", "regurn", "a", "load", "pair", "isntruction", "of", "mode", "MODE", "to", "load", "register", "REG1", "from", "MEM1", "and", "register", "REG2", "from", "MEM2", "."], "TS_V_token": ["aarch64"], "File": "aarch645", "Func": "aarch64_gen_load_pair", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14884, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "SparcDisassembler", "::", "getInstruction", "(", "MCInst", "&", "Instr", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "CStream", ")", "const", "{", "uint32_t", "Insn", ";", "bool", "isLittleEndian", "=", "getContext", "(", ")", ".", "getAsmInfo", "(", ")", "->", "isLittleEndian", "(", ")", ";", "DecodeStatus", "Result", "=", "readInstruction32", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn", ",", "isLittleEndian", ")", ";", "if", "(", "Result", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "Sparc", "::", "FeatureV9", "]", ")", "{", "Result", "=", "decodeInstruction", "(", "DecoderTableSparcV932", ",", "Instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "}", "else", "{", "Result", "=", "decodeInstruction", "(", "DecoderTableSparcV832", ",", "Instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "}", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "return", "Result", ";", "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::FeatureV9", "Sparc", "Sparc", "Sparc", "4"], "File": "SparcDisassembler (2)1", "Func": "getInstruction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14885, "Length": 178, "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", ",", "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": "SystemZISelLowering27", "Func": "LowerReturn", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14886, "Length": 379, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "machine_function", "*", "iq2000_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": ["iq2000"], "File": "iq2000", "Func": "iq2000_init_machine_status", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14887, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1RegisterInfo", "::", "saveScavengerRegister", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "MachineBasicBlock", "::", "iterator", "&", "UseMI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "unsigned", "Reg", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MBB", ".", "getParent", "(", ")", "->", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "DL", ";", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", ".", "get", "(", "ARM", "::", "tMOVr", ")", ")", ".", "addReg", "(", "ARM", "::", "R12", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ")", ";", "bool", "done", "=", "false", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "II", "=", "I", ";", "!", "done", "&&", "II", "!=", "UseMI", ";", "++", "II", ")", "{", "if", "(", "II", "->", "isDebugValue", "(", ")", ")", "continue", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "II", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "const", "MachineOperand", "&", "MO", "=", "II", "->", "getOperand", "(", "i", ")", ";", "if", "(", "MO", ".", "isRegMask", "(", ")", "&&", "MO", ".", "clobbersPhysReg", "(", "ARM", "::", "R12", ")", ")", "{", "UseMI", "=", "II", ";", "done", "=", "true", ";", "break", ";", "}", "if", "(", "!", "MO", ".", "isReg", "(", ")", "||", "MO", ".", "isUndef", "(", ")", "||", "!", "MO", ".", "getReg", "(", ")", "||", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "MO", ".", "getReg", "(", ")", ")", ")", "continue", ";", "if", "(", "MO", ".", "getReg", "(", ")", "==", "ARM", "::", "R12", ")", "{", "UseMI", "=", "II", ";", "done", "=", "true", ";", "break", ";", "}", "}", "}", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "UseMI", ",", "DL", ",", "TII", ".", "get", "(", "ARM", "::", "tMOVr", ")", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "ARM", "::", "R12", ",", "RegState", "::", "Kill", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Spill", "the", "register", "so", "it", "can", "be", "used", "by", "the", "register", "scavenger", "."], "TS_V_token": ["ARM", "ARM::tMOVr", "ARM::R12", "0", "ARM::R12", "ARM::R12", "ARM::tMOVr", "ARM::R12"], "File": "Thumb1RegisterInfo1", "Func": "saveScavengerRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14888, "Length": 299, "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": ["rs6000", "\"U6__boolc\"", "\"U6__bools\"", "\"u7__pixel\"", "\"U6__booli\"", "\"U6__booll\"", "\"U10__float128\"", "\"g\"", "\"U10__float128\"", "\"g\"", "\"g\""], "File": "rs60006", "Func": "rs6000_mangle_type", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14889, "Length": 159, "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": 14890, "Length": 445, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "::", "HazardType", "PPCHazardRecognizer970", "::", "getHazardType", "(", "SUnit", "*", "SU", ")", "{", "const", "SDNode", "*", "Node", "=", "SU", "->", "getNode", "(", ")", "->", "getFlaggedMachineNode", "(", ")", ";", "bool", "isFirst", ",", "isSingle", ",", "isCracked", ",", "isLoad", ",", "isStore", ";", "PPCII", "::", "PPC970_Unit", "InstrType", "=", "GetInstrType", "(", "Node", "->", "getOpcode", "(", ")", ",", "isFirst", ",", "isSingle", ",", "isCracked", ",", "isLoad", ",", "isStore", ")", ";", "if", "(", "InstrType", "==", "PPCII", "::", "PPC970_Pseudo", ")", "return", "NoHazard", ";", "unsigned", "Opcode", "=", "Node", "->", "getMachineOpcode", "(", ")", ";", "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", ")", "{", "unsigned", "LoadSize", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown load!\"", ")", ";", "case", "PPC", "::", "LBZ", ":", "case", "PPC", "::", "LBZU", ":", "case", "PPC", "::", "LBZX", ":", "case", "PPC", "::", "LBZ8", ":", "case", "PPC", "::", "LBZU8", ":", "case", "PPC", "::", "LBZX8", ":", "case", "PPC", "::", "LVEBX", ":", "LoadSize", "=", "1", ";", "break", ";", "case", "PPC", "::", "LHA", ":", "case", "PPC", "::", "LHAU", ":", "case", "PPC", "::", "LHAX", ":", "case", "PPC", "::", "LHZ", ":", "case", "PPC", "::", "LHZU", ":", "case", "PPC", "::", "LHZX", ":", "case", "PPC", "::", "LVEHX", ":", "case", "PPC", "::", "LHBRX", ":", "case", "PPC", "::", "LHA8", ":", "case", "PPC", "::", "LHAU8", ":", "case", "PPC", "::", "LHAX8", ":", "case", "PPC", "::", "LHZ8", ":", "case", "PPC", "::", "LHZU8", ":", "case", "PPC", "::", "LHZX8", ":", "LoadSize", "=", "2", ";", "break", ";", "case", "PPC", "::", "LFS", ":", "case", "PPC", "::", "LFSU", ":", "case", "PPC", "::", "LFSX", ":", "case", "PPC", "::", "LWZ", ":", "case", "PPC", "::", "LWZU", ":", "case", "PPC", "::", "LWZX", ":", "case", "PPC", "::", "LWA", ":", "case", "PPC", "::", "LWAX", ":", "case", "PPC", "::", "LVEWX", ":", "case", "PPC", "::", "LWBRX", ":", "case", "PPC", "::", "LWZ8", ":", "case", "PPC", "::", "LWZX8", ":", "LoadSize", "=", "4", ";", "break", ";", "case", "PPC", "::", "LFD", ":", "case", "PPC", "::", "LFDU", ":", "case", "PPC", "::", "LFDX", ":", "case", "PPC", "::", "LD", ":", "case", "PPC", "::", "LDU", ":", "case", "PPC", "::", "LDX", ":", "LoadSize", "=", "8", ";", "break", ";", "case", "PPC", "::", "LVX", ":", "case", "PPC", "::", "LVXL", ":", "LoadSize", "=", "16", ";", "break", ";", "}", "if", "(", "isLoadOfStoredAddress", "(", "LoadSize", ",", "Node", "->", "getOperand", "(", "0", ")", ",", "Node", "->", "getOperand", "(", "1", ")", ")", ")", "return", "NoopHazard", ";", "}", "return", "NoHazard", ";", "}", ""], "natrual_language": ["getHazardType", "-", "Return", "the", "hazard", "type", "of", "emitting", "this", "node", "."], "TS_V_token": ["PowerPC", "PPC", "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", "\"Unknown load!\"", "PPC::LBZ", "PPC::LBZU", "PPC::LBZX", "PPC::LBZ8", "PPC::LBZU8", "PPC::LBZX8", "PPC::LVEBX", "1", "PPC::LHA", "PPC::LHAU", "PPC::LHAX", "PPC::LHZ", "PPC::LHZU", "PPC::LHZX", "PPC::LVEHX", "PPC::LHBRX", "PPC::LHA8", "PPC::LHAU8", "PPC::LHAX8", "PPC::LHZ8", "PPC::LHZU8", "PPC::LHZX8", "2", "PPC::LFS", "PPC::LFSU", "PPC::LFSX", "PPC::LWZ", "PPC::LWZU", "PPC::LWZX", "PPC::LWA", "PPC::LWAX", "PPC::LVEWX", "PPC::LWBRX", "PPC::LWZ8", "PPC::LWZX8", "4", "PPC::LFD", "PPC::LFDU", "PPC::LFDX", "PPC::LD", "PPC::LDU", "PPC::LDX", "8", "PPC::LVX", "PPC::LVXL", "16", "0", "1"], "File": "PPCHazardRecognizers12", "Func": "getHazardType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14891, "Length": 488, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "setSpecialOperandAttr", "(", "MachineInstr", "&", "OldMI1", ",", "MachineInstr", "&", "OldMI2", ",", "MachineInstr", "&", "NewMI1", ",", "MachineInstr", "&", "NewMI2", ")", "{", "if", "(", "OldMI1", ".", "getNumOperands", "(", ")", "!=", "4", "||", "OldMI2", ".", "getNumOperands", "(", ")", "!=", "4", ")", "return", ";", "assert", "(", "NewMI1", ".", "getNumOperands", "(", ")", "==", "4", "&&", "NewMI2", ".", "getNumOperands", "(", ")", "==", "4", "&&", "\"Unexpected instruction type for reassociation\"", ")", ";", "MachineOperand", "&", "OldOp1", "=", "OldMI1", ".", "getOperand", "(", "3", ")", ";", "MachineOperand", "&", "OldOp2", "=", "OldMI2", ".", "getOperand", "(", "3", ")", ";", "MachineOperand", "&", "NewOp1", "=", "NewMI1", ".", "getOperand", "(", "3", ")", ";", "MachineOperand", "&", "NewOp2", "=", "NewMI2", ".", "getOperand", "(", "3", ")", ";", "assert", "(", "OldOp1", ".", "isReg", "(", ")", "&&", "OldOp1", ".", "getReg", "(", ")", "==", "X86", "::", "EFLAGS", "&&", "OldOp1", ".", "isDead", "(", ")", "&&", "\"Must have dead EFLAGS operand in reassociable instruction\"", ")", ";", "assert", "(", "OldOp2", ".", "isReg", "(", ")", "&&", "OldOp2", ".", "getReg", "(", ")", "==", "X86", "::", "EFLAGS", "&&", "OldOp2", ".", "isDead", "(", ")", "&&", "\"Must have dead EFLAGS operand in reassociable instruction\"", ")", ";", "(", "void", ")", "OldOp1", ";", "(", "void", ")", "OldOp2", ";", "assert", "(", "NewOp1", ".", "isReg", "(", ")", "&&", "NewOp1", ".", "getReg", "(", ")", "==", "X86", "::", "EFLAGS", "&&", "\"Unexpected operand in reassociable instruction\"", ")", ";", "assert", "(", "NewOp2", ".", "isReg", "(", ")", "&&", "NewOp2", ".", "getReg", "(", ")", "==", "X86", "::", "EFLAGS", "&&", "\"Unexpected operand in reassociable instruction\"", ")", ";", "NewOp1", ".", "setIsDead", "(", ")", ";", "NewOp2", ".", "setIsDead", "(", ")", ";", "}", ""], "natrual_language": ["This", "is", "an", "architecture-specific", "helper", "function", "of", "reassociateOps", "."], "TS_V_token": ["X86", "4", "4", "4", "4", "\"Unexpected instruction type for reassociation\"", "3", "3", "3", "3", "X86::EFLAGS", "\"Must have dead EFLAGS operand in reassociable instruction\"", "X86::EFLAGS", "\"Must have dead EFLAGS operand in reassociable instruction\"", "X86::EFLAGS", "\"Unexpected operand in reassociable instruction\"", "X86::EFLAGS", "\"Unexpected operand in reassociable instruction\""], "File": "X86InstrInfo123", "Func": "setSpecialOperandAttr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14892, "Length": 225, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "isPredicable", "(", "MachineInstr", "*", "MI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", "->", "getOpcode", "(", ")", ";", "if", "(", "STI", ".", "hasLoadStoreOnCond", "(", ")", "&&", "getConditionalMove", "(", "Opcode", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "instruction", "can", "be", "predicated", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZInstrInfo", "Func": "isPredicable", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14893, "Length": 40, "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": 14894, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "DLXInstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXSubtarget", "Func": "getInstrInfo", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14895, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_lra_p", "(", "void", ")", "{", "return", "rs6000_lra_flag", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "use", "LRA", "instead", "of", "reload", "pass", "."], "TS_V_token": ["rs6000"], "File": "rs60004", "Func": "rs6000_lra_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14896, "Length": 11, "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": 14897, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isVectorClearMaskLegal", "(", "const", "std", "::", "vector", "<", "SDValue", ">", "&", "BVOps", ",", "MVT", "EVT", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "unsigned", "NumElts", "=", "BVOps", ".", "size", "(", ")", ";", "if", "(", "EVT", ".", "getSizeInBits", "(", ")", "*", "NumElts", "==", "64", ")", "return", "false", ";", "if", "(", "NumElts", "==", "2", ")", "return", "true", ";", "if", "(", "NumElts", "==", "4", ")", "{", "return", "(", "isMOVLMask", "(", "&", "BVOps", "[", "0", "]", ",", "4", ")", "||", "isCommutedMOVL", "(", "&", "BVOps", "[", "0", "]", ",", "4", ",", "true", ")", "||", "isSHUFPMask", "(", "&", "BVOps", "[", "0", "]", ",", "4", ")", "||", "isCommutedSHUFP", "(", "&", "BVOps", "[", "0", "]", ",", "4", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Similar", "to", "isShuffleMaskLegal", "."], "TS_V_token": ["X86", "X86", "64", "2", "4", "0", "4", "0", "4", "0", "4", "0", "4"], "File": "X86ISelLowering160", "Func": "isVectorClearMaskLegal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14898, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "machreg_t", "inet_makeaddr", "(", "machreg_t", "net", ",", "machreg_t", "lna", ")", "{", "return", "_inet_makeaddr", "(", "net", ",", "lna", ")", ">>", "SHIFT_BITS", ";", "}", ""], "natrual_language": ["<", "arpa/inet.h", ">", "has", "struct", "in_addr", "inet_makeaddr", "(", "int", ",", "int", ")", ";", "(", "IRIX", "6.2", ")", "struct", "in_addr", "inet_makeaddr", "(", "in_addr_t", ",", "in_addr_t", ")", ";", "(", "IRIX", "6.5", ")"], "TS_V_token": ["mips"], "File": "irix6-libc-compat", "Func": "inet_makeaddr", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14899, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_valid_pointer_mode", "(", "enum", "machine_mode", "mode", ")", "{", "return", "(", "mode", "==", "SImode", "||", "(", "TARGET_64BIT", "&&", "mode", "==", "DImode", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VALID_POINTER_MODE", "."], "TS_V_token": ["mips"], "File": "mips3", "Func": "mips_valid_pointer_mode", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14900, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_setup_incoming_varargs", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "int", "*", "pretend_size", "ATTRIBUTE_UNUSED", ",", "int", "no_rtl", ")", "{", "CUMULATIVE_ARGS", "local_cum", ";", "int", "gp_saved", ",", "fp_saved", ";", "local_cum", "=", "*", "cum", ";", "FUNCTION_ARG_ADVANCE", "(", "local_cum", ",", "mode", ",", "type", ",", "1", ")", ";", "gp_saved", "=", "MAX_ARGS_IN_REGISTERS", "-", "local_cum", ".", "num_gprs", ";", "fp_saved", "=", "(", "EABI_FLOAT_VARARGS_P", "?", "MAX_ARGS_IN_REGISTERS", "-", "local_cum", ".", "num_fprs", ":", "0", ")", ";", "if", "(", "!", "no_rtl", ")", "{", "if", "(", "gp_saved", ">", "0", ")", "{", "rtx", "ptr", ",", "mem", ";", "ptr", "=", "plus_constant", "(", "virtual_incoming_args_rtx", ",", "REG_PARM_STACK_SPACE", "(", "cfun", "->", "decl", ")", "-", "gp_saved", "*", "UNITS_PER_WORD", ")", ";", "mem", "=", "gen_rtx_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", "(", "fp_saved", ">", "0", ")", "{", "enum", "machine_mode", "mode", ";", "int", "off", ",", "i", ";", "off", "=", "-", "gp_saved", "*", "UNITS_PER_WORD", ";", "off", "&=", "~", "(", "UNITS_PER_FPVALUE", "-", "1", ")", ";", "off", "-=", "fp_saved", "*", "UNITS_PER_FPREG", ";", "mode", "=", "TARGET_SINGLE_FLOAT", "?", "SFmode", ":", "DFmode", ";", "for", "(", "i", "=", "local_cum", ".", "num_fprs", ";", "i", "<", "MAX_ARGS_IN_REGISTERS", ";", "i", "+=", "FP_INC", ")", "{", "rtx", "ptr", ",", "mem", ";", "ptr", "=", "plus_constant", "(", "virtual_incoming_args_rtx", ",", "off", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "mode", ",", "ptr", ")", ";", "set_mem_alias_set", "(", "mem", ",", "get_varargs_alias_set", "(", ")", ")", ";", "emit_move_insn", "(", "mem", ",", "gen_rtx_REG", "(", "mode", ",", "FP_ARG_FIRST", "+", "i", ")", ")", ";", "off", "+=", "UNITS_PER_HWFPVALUE", ";", "}", "}", "}", "if", "(", "REG_PARM_STACK_SPACE", "(", "cfun", "->", "decl", ")", "==", "0", ")", "cfun", "->", "machine", "->", "varargs_size", "=", "(", "gp_saved", "*", "UNITS_PER_WORD", "+", "fp_saved", "*", "UNITS_PER_FPREG", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["mips", "1", "0", "0", "0", "1", "0"], "File": "mips3", "Func": "mips_setup_incoming_varargs", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14901, "Length": 282, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsMCCodeEmitter", "::", "getBranchTarget7OpValueMM", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ">>", "1", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"getBranchTargetOpValueMM expects only expressions or immediates\"", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "0", ",", "Expr", ",", "MCFixupKind", "(", "Mips", "::", "fixup_MICROMIPS_PC7_S1", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTarget7OpValueMM", "-", "Return", "binary", "encoding", "of", "the", "microMIPS", "branch", "target", "operand", "."], "TS_V_token": ["Mips", "Mips", "1", "\"getBranchTargetOpValueMM expects only expressions or immediates\"", "0", "Mips::fixup_MICROMIPS_PC7_S1", "0"], "File": "MipsMCCodeEmitter23", "Func": "getBranchTarget7OpValueMM", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14902, "Length": 103, "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": ["Sparc"], "File": "SparcAsmParser", "Func": "getEndLoc", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14903, "Length": 11, "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", "&", "OS", ",", "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", ")", ";", "return", "decodeInstruction", "(", "DecoderTable32", ",", "MI", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "}", ""], "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"], "File": "AArch64Disassembler (2)2", "Func": "getInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14904, "Length": 114, "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": ["AArch64"], "File": "AArch64ISelLowering (2)", "Func": "supportSplitCSR", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14905, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "function_checker", "::", "require_immediate", "(", "unsigned", "int", "argno", ",", "HOST_WIDE_INT", "&", "value_out", ")", "{", "gcc_assert", "(", "argno", "<", "m_nargs", ")", ";", "tree", "arg", "=", "m_args", "[", "argno", "]", ";", "if", "(", "!", "tree_fits_uhwi_p", "(", "arg", ")", ")", "{", "report_non_ice", "(", "location", ",", "fndecl", ",", "argno", ")", ";", "return", "false", ";", "}", "value_out", "=", "tree_to_uhwi", "(", "arg", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Check", "that", "argument", "ARGNO", "is", "an", "integer", "constant", "expression", "and", "store", "its", "value", "in", "VALUE_OUT", "if", "so", ".", "The", "caller", "should", "first", "check", "that", "argument", "ARGNO", "exists", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "require_immediate", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14906, "Length": 62, "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": ["ARM"], "File": "ARMInstrInfo11", "Func": "getAnalysisUsage", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14907, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetLowering", "::", "shouldSignExtendTypeInLibCall", "(", "EVT", "Type", ",", "bool", "IsSigned", ")", "const", "{", "if", "(", "Subtarget", ".", "hasMips3", "(", ")", "&&", "Subtarget", ".", "abiUsesSoftFloat", "(", ")", ")", "{", "if", "(", "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", "Mips", "MVT::i32"], "File": "MipsISelLowering114", "Func": "shouldSignExtendTypeInLibCall", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14908, "Length": 44, "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", "(", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "getBrCond", "(", "CC", ")", ")", ".", "addMBB", "(", "copy1MBB", ")", ";", "F", "->", "insert", "(", "I", ",", "copy0MBB", ")", ";", "F", "->", "insert", "(", "I", ",", "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": "SystemZISelLowering42", "Func": "EmitInstrWithCustomInserter", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14909, "Length": 313, "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": ["AArch64"], "File": "AArch64AsmParser13", "Func": "isReg", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14910, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "(", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "TRI", "->", "hasStackRealignment", "(", "MF", ")", "||", "MFI", ".", "hasVarSizedObjects", "(", ")", "||", "MFI", ".", "isFrameAddressTaken", "(", ")", "||", "MFI", ".", "hasOpaqueSPAdjustment", "(", ")", "||", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "getForceFramePointer", "(", ")", "||", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "hasPreallocatedCall", "(", ")", "||", "MF", ".", "callsUnwindInit", "(", ")", "||", "MF", ".", "hasEHFunclets", "(", ")", "||", "MF", ".", "callsEHReturn", "(", ")", "||", "MFI", ".", "hasStackMap", "(", ")", "||", "MFI", ".", "hasPatchPoint", "(", ")", "||", "MFI", ".", "hasCopyImplyingStackAdjustment", "(", ")", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86FrameLowering1", "Func": "hasFP", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14911, "Length": 127, "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", ">", "(", ")", ";", "AArch64PreLegalizerCombinerInfo", "PCInfo", ";", "Combiner", "C", "(", "PCInfo", ",", "TPC", ")", ";", "return", "C", ".", "combineMachineInstrs", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64PreLegalizerCombiner24", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14912, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "expand_set_or_cpymem_prologue", "(", "rtx", "destmem", ",", "rtx", "srcmem", ",", "rtx", "destptr", ",", "rtx", "srcptr", ",", "rtx", "value", ",", "rtx", "vec_value", ",", "rtx", "count", ",", "int", "align", ",", "int", "desired_alignment", ",", "bool", "issetmem", ")", "{", "int", "i", ";", "for", "(", "i", "=", "1", ";", "i", "<", "desired_alignment", ";", "i", "<<=", "1", ")", "{", "if", "(", "align", "<=", "i", ")", "{", "rtx_code_label", "*", "label", "=", "ix86_expand_aligntest", "(", "destptr", ",", "i", ",", "false", ")", ";", "if", "(", "issetmem", ")", "{", "if", "(", "vec_value", "&&", "i", ">", "GET_MODE_SIZE", "(", "GET_MODE", "(", "value", ")", ")", ")", "destmem", "=", "emit_memset", "(", "destmem", ",", "destptr", ",", "vec_value", ",", "i", ")", ";", "else", "destmem", "=", "emit_memset", "(", "destmem", ",", "destptr", ",", "value", ",", "i", ")", ";", "}", "else", "destmem", "=", "emit_memmov", "(", "destmem", ",", "&", "srcmem", ",", "destptr", ",", "srcptr", ",", "i", ")", ";", "ix86_adjust_counter", "(", "count", ",", "i", ")", ";", "emit_label", "(", "label", ")", ";", "LABEL_NUSES", "(", "label", ")", "=", "1", ";", "set_mem_align", "(", "destmem", ",", "i", "*", "2", "*", "BITS_PER_UNIT", ")", ";", "}", "}", "return", "destmem", ";", "}", ""], "natrual_language": ["Depending", "on", "ISSETMEM", ",", "copy", "enough", "from", "SRCMEM", "to", "DESTMEM", "or", "set", "enough", "to", "DESTMEM", "to", "align", "it", "to", "DESIRED_ALIGNMENT", ".", "Original", "alignment", "is", "ALIGN", ".", "Depending", "on", "ISSETMEM", ",", "either", "arguments", "SRCMEM/SRCPTR", "or", "VALUE/VEC_VALUE", "are", "ignored", ".", "Return", "value", "is", "updated", "DESTMEM", "."], "TS_V_token": ["i386", "1", "1", "1", "2"], "File": "i386-expand", "Func": "expand_set_or_cpymem_prologue", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14913, "Length": 173, "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": 14914, "Length": 277, "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": 14915, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isFunctionSafeToOutlineFrom", "(", "MachineFunction", "&", "MF", ",", "bool", "OutlineFromLinkOnceODRs", ")", "const", "{", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "!", "OutlineFromLinkOnceODRs", "&&", "F", ".", "hasLinkOnceODRLinkage", "(", ")", ")", "return", "false", ";", "if", "(", "F", ".", "hasSection", "(", ")", ")", "return", "false", ";", "AArch64FunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "if", "(", "!", "AFI", "||", "AFI", "->", "hasRedZone", "(", ")", ".", "getValueOr", "(", "true", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "function", "can", "safely", "be", "outlined", "from", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64InstrInfo (2)1", "Func": "isFunctionSafeToOutlineFrom", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14916, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arm_trampoline_adjust_address", "(", "rtx", "addr", ")", "{", "if", "(", "TARGET_THUMB", ")", "addr", "=", "expand_simple_binop", "(", "Pmode", ",", "IOR", ",", "addr", ",", "const1_rtx", ",", "NULL", ",", "0", ",", "OPTAB_LIB_WIDEN", ")", ";", "return", "addr", ";", "}", ""], "natrual_language": ["Thumb", "trampolines", "should", "be", "entered", "in", "thumb", "mode", ",", "so", "set", "the", "bottom", "bit", "of", "the", "address", "."], "TS_V_token": ["arm", "0"], "File": "arm4", "Func": "arm_trampoline_adjust_address", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14917, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "AArch64TargetLowering", "::", "emitLoadLinked", "(", "IRBuilder", "<", ">", "&", "Builder", ",", "Value", "*", "Addr", ",", "AtomicOrdering", "Ord", ")", "const", "{", "Module", "*", "M", "=", "Builder", ".", "GetInsertBlock", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "Type", "*", "ValTy", "=", "cast", "<", "PointerType", ">", "(", "Addr", "->", "getType", "(", ")", ")", "->", "getElementType", "(", ")", ";", "bool", "IsAcquire", "=", "isAcquireOrStronger", "(", "Ord", ")", ";", "if", "(", "ValTy", "->", "getPrimitiveSizeInBits", "(", ")", "==", "128", ")", "{", "Intrinsic", "::", "ID", "Int", "=", "IsAcquire", "?", "Intrinsic", "::", "aarch64_ldaxp", ":", "Intrinsic", "::", "aarch64_ldxp", ";", "Function", "*", "Ldxr", "=", "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", "::", "aarch64_ldaxr", ":", "Intrinsic", "::", "aarch64_ldxr", ";", "Function", "*", "Ldxr", "=", "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": ["AArch64", "AArch64", "128", "Intrinsic::ID", "Intrinsic::aarch64_ldaxp", "Intrinsic::aarch64_ldxp", "Intrinsic::getDeclaration", "\"lohi\"", "0", "\"lo\"", "1", "\"hi\"", "\"lo64\"", "\"hi64\"", "64", "\"val64\"", "Intrinsic::ID", "Intrinsic::aarch64_ldaxr", "Intrinsic::aarch64_ldxr", "Intrinsic::getDeclaration"], "File": "AArch64ISelLowering", "Func": "emitLoadLinked", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14918, "Length": 300, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "SparcRegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "return", "Subtarget", ".", "is64Bit", "(", ")", "?", "&", "SP", "::", "I64RegsRegClass", ":", "&", "SP", "::", "IntRegsRegClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["Sparc", "Sparc", "SP::I64RegsRegClass", "SP::IntRegsRegClass"], "File": "SparcRegisterInfo", "Func": "getPointerRegClass", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14919, "Length": 35, "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": 14920, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_const_vector_same_val_p", "(", "rtx", "op", ",", "machine_mode", "mode", ")", "{", "int", "i", ",", "nunits", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "rtx", "first", ";", "if", "(", "GET_CODE", "(", "op", ")", "!=", "CONST_VECTOR", "||", "GET_MODE", "(", "op", ")", "!=", "mode", ")", "return", "false", ";", "first", "=", "CONST_VECTOR_ELT", "(", "op", ",", "0", ")", ";", "for", "(", "i", "=", "1", ";", "i", "<", "nunits", ";", "i", "++", ")", "if", "(", "!", "rtx_equal_p", "(", "first", ",", "CONST_VECTOR_ELT", "(", "op", ",", "i", ")", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "is", "a", "constant", "vector", "with", "the", "number", "of", "units", "in", "MODE", ",", "and", "each", "unit", "has", "the", "same", "value", "."], "TS_V_token": ["mips", "0", "1"], "File": "mips", "Func": "mips_const_vector_same_val_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14921, "Length": 86, "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\"", ")", ";", "auto", "&", "MLI", "=", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "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": "ARMLowOverheadLoops35", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14922, "Length": 189, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "TOYRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "static", "const", "uint16_t", "CalleeSavedRegs", "[", "]", "=", "{", "TOY", "::", "R4", ",", "TOY", "::", "R5", ",", "TOY", "::", "R6", ",", "TOY", "::", "R7", ",", "TOY", "::", "R8", ",", "TOY", "::", "R9", ",", "0", "}", ";", "return", "CalleeSavedRegs", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["TOY", "TOY", "TOY::R4", "TOY::R5", "TOY::R6", "TOY::R7", "TOY::R8", "TOY::R9", "0"], "File": "TOYRegisterInfo1", "Func": "getCalleeSavedRegs", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14923, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mep_function_arg", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", "ATTRIBUTE_UNUSED", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "if", "(", "mode", "==", "VOIDmode", ")", "return", "GEN_INT", "(", "cum", "->", "vliw", ")", ";", "if", "(", "cum", "->", "nregs", "<", "4", ")", "{", "if", "(", "type", "&&", "TARGET_IVC2", "&&", "VECTOR_TYPE_P", "(", "type", ")", ")", "return", "gen_rtx_REG", "(", "mode", ",", "cum", "->", "nregs", "+", "49", ")", ";", "else", "return", "gen_rtx_REG", "(", "mode", ",", "cum", "->", "nregs", "+", "1", ")", ";", "}", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["The", "ABI", "is", "thus", ":", "Arguments", "are", "in", "$", "1", ",", "$", "2", ",", "$", "3", ",", "$", "4", ",", "stack", ".", "Arguments", "larger", "than", "4", "bytes", "are", "passed", "indirectly", ".", "Return", "value", "in", "0", ",", "unless", "bigger", "than", "4", "bytes", ",", "then", "the", "caller", "passes", "a", "pointer", "as", "the", "first", "arg", ".", "For", "varargs", ",", "we", "copy", "$", "1", "..", "$", "4", "to", "the", "stack", "."], "TS_V_token": ["mep", "4", "49", "1"], "File": "mep", "Func": "mep_function_arg", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14924, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "vax_function_arg_advance", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "*", "cum", "+=", "(", "arg", ".", "promoted_size_in_bytes", "(", ")", "+", "3", ")", "&", "~", "3", ";", "}", ""], "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": ["vax", "3", "3"], "File": "vax", "Func": "vax_function_arg_advance", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14925, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64TTIImpl", "::", "getMaxPrefetchIterationsAhead", "(", ")", "{", "return", "ST", "->", "getMaxPrefetchIterationsAhead", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "maximum", "prefetch", "distance", "in", "terms", "of", "loop", "iterations", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64TargetTransformInfo10", "Func": "getMaxPrefetchIterationsAhead", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14926, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "PPCTargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "Align", ",", "bool", "isSrcConst", ",", "bool", "isSrcStr", ",", "SelectionDAG", "&", "DAG", ")", "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": "PPCISelLowering107", "Func": "getOptimalMemOpType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14927, "Length": 49, "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": 14928, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "shouldClusterMemOps", "(", "const", "MachineOperand", "&", "BaseOp1", ",", "const", "MachineOperand", "&", "BaseOp2", ",", "unsigned", "NumLoads", ")", "const", "{", "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", ">", "1", ")", "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", "\"Only base registers and frame indices are supported.\"", "1", "2", "2", "63", "64", "\"Caller should have ordered offsets.\"", "\"Caller should have ordered offsets.\"", "1"], "File": "AArch64InstrInfo120", "Func": "shouldClusterMemOps", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14929, "Length": 346, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rs6000_builtin_vectorized_libmass", "(", "combined_fn", "fn", ",", "tree", "type_out", ",", "tree", "type_in", ")", "{", "char", "name", "[", "32", "]", ";", "const", "char", "*", "suffix", "=", "NULL", ";", "tree", "fntype", ",", "new_fndecl", ",", "bdecl", "=", "NULL_TREE", ";", "int", "n_args", "=", "1", ";", "const", "char", "*", "bname", ";", "machine_mode", "el_mode", ",", "in_mode", ";", "int", "n", ",", "in_n", ";", "if", "(", "!", "flag_unsafe_math_optimizations", "||", "!", "TARGET_VSX", ")", "return", "NULL_TREE", ";", "el_mode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "type_out", ")", ")", ";", "n", "=", "TYPE_VECTOR_SUBPARTS", "(", "type_out", ")", ";", "in_mode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "type_in", ")", ")", ";", "in_n", "=", "TYPE_VECTOR_SUBPARTS", "(", "type_in", ")", ";", "if", "(", "el_mode", "!=", "in_mode", "||", "n", "!=", "in_n", ")", "return", "NULL_TREE", ";", "switch", "(", "fn", ")", "{", "CASE_CFN_ATAN2", ":", "CASE_CFN_HYPOT", ":", "CASE_CFN_POW", ":", "n_args", "=", "2", ";", "gcc_fallthrough", "(", ")", ";", "CASE_CFN_ACOS", ":", "CASE_CFN_ACOSH", ":", "CASE_CFN_ASIN", ":", "CASE_CFN_ASINH", ":", "CASE_CFN_ATAN", ":", "CASE_CFN_ATANH", ":", "CASE_CFN_CBRT", ":", "CASE_CFN_COS", ":", "CASE_CFN_COSH", ":", "CASE_CFN_ERF", ":", "CASE_CFN_ERFC", ":", "CASE_CFN_EXP2", ":", "CASE_CFN_EXP", ":", "CASE_CFN_EXPM1", ":", "CASE_CFN_LGAMMA", ":", "CASE_CFN_LOG10", ":", "CASE_CFN_LOG1P", ":", "CASE_CFN_LOG2", ":", "CASE_CFN_LOG", ":", "CASE_CFN_SIN", ":", "CASE_CFN_SINH", ":", "CASE_CFN_SQRT", ":", "CASE_CFN_TAN", ":", "CASE_CFN_TANH", ":", "if", "(", "el_mode", "==", "DFmode", "&&", "n", "==", "2", ")", "{", "bdecl", "=", "mathfn_built_in", "(", "double_type_node", ",", "fn", ")", ";", "suffix", "=", "\"d2\"", ";", "}", "else", "if", "(", "el_mode", "==", "SFmode", "&&", "n", "==", "4", ")", "{", "bdecl", "=", "mathfn_built_in", "(", "float_type_node", ",", "fn", ")", ";", "suffix", "=", "\"4\"", ";", "}", "else", "return", "NULL_TREE", ";", "if", "(", "!", "bdecl", ")", "return", "NULL_TREE", ";", "break", ";", "default", ":", "return", "NULL_TREE", ";", "}", "gcc_assert", "(", "suffix", "!=", "NULL", ")", ";", "bname", "=", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "bdecl", ")", ")", ";", "if", "(", "!", "bname", ")", "return", "NULL_TREE", ";", "strcpy", "(", "name", ",", "bname", "+", "sizeof", "(", "\"__builtin_\"", ")", "-", "1", ")", ";", "strcat", "(", "name", ",", "suffix", ")", ";", "if", "(", "n_args", "==", "1", ")", "fntype", "=", "build_function_type_list", "(", "type_out", ",", "type_in", ",", "NULL", ")", ";", "else", "if", "(", "n_args", "==", "2", ")", "fntype", "=", "build_function_type_list", "(", "type_out", ",", "type_in", ",", "type_in", ",", "NULL", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "new_fndecl", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FUNCTION_DECL", ",", "get_identifier", "(", "name", ")", ",", "fntype", ")", ";", "TREE_PUBLIC", "(", "new_fndecl", ")", "=", "1", ";", "DECL_EXTERNAL", "(", "new_fndecl", ")", "=", "1", ";", "DECL_IS_NOVOPS", "(", "new_fndecl", ")", "=", "1", ";", "TREE_READONLY", "(", "new_fndecl", ")", "=", "1", ";", "return", "new_fndecl", ";", "}", ""], "natrual_language": ["Handler", "for", "the", "Mathematical", "Acceleration", "Subsystem", "(", "mass", ")", "interface", "to", "a", "library", "with", "vectorized", "intrinsics", "."], "TS_V_token": ["powerpcspe", "32", "1", "2", "2", "\"d2\"", "4", "\"4\"", "\"__builtin_\"", "1", "1", "2", "1", "1", "1", "1"], "File": "powerpcspe", "Func": "rs6000_builtin_vectorized_libmass", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14930, "Length": 388, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "PPCTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'b'", ":", "if", "(", "VT", "==", "MVT", "::", "i64", "&&", "Subtarget", ".", "isPPC64", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "G8RC_NOX0RegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "GPRC_NOR0RegClass", ")", ";", "case", "'r'", ":", "if", "(", "VT", "==", "MVT", "::", "i64", "&&", "Subtarget", ".", "isPPC64", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "G8RCRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "GPRCRegClass", ")", ";", "case", "'f'", ":", "if", "(", "VT", "==", "MVT", "::", "f32", "||", "VT", "==", "MVT", "::", "i32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "F4RCRegClass", ")", ";", "if", "(", "VT", "==", "MVT", "::", "f64", "||", "VT", "==", "MVT", "::", "i64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "F8RCRegClass", ")", ";", "break", ";", "case", "'v'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "VRRCRegClass", ")", ";", "case", "'y'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "CRRCRegClass", ")", ";", "}", "}", "else", "if", "(", "Constraint", "==", "\"wc\"", ")", "{", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "CRBITRCRegClass", ")", ";", "}", "else", "if", "(", "Constraint", "==", "\"wa\"", "||", "Constraint", "==", "\"wd\"", "||", "Constraint", "==", "\"wf\"", ")", "{", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "VSRCRegClass", ")", ";", "}", "else", "if", "(", "Constraint", "==", "\"ws\"", ")", "{", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "VSFRCRegClass", ")", ";", "}", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "R", "=", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "if", "(", "R", ".", "first", "&&", "VT", "==", "MVT", "::", "i64", "&&", "Subtarget", ".", "isPPC64", "(", ")", "&&", "PPC", "::", "GPRCRegClass", ".", "contains", "(", "R", ".", "first", ")", ")", "{", "const", "TargetRegisterInfo", "*", "TRI", "=", "getTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "getRegisterInfo", "(", ")", ";", "return", "std", "::", "make_pair", "(", "TRI", "->", "getMatchingSuperReg", "(", "R", ".", "first", ",", "PPC", "::", "sub_32", ",", "&", "PPC", "::", "G8RCRegClass", ")", ",", "&", "PPC", "::", "G8RCRegClass", ")", ";", "}", "return", "R", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["PowerPC", "PPC", "1", "0", "MVT::i64", "PPC", "0U", "PPC::G8RC_NOX0RegClass", "0U", "PPC::GPRC_NOR0RegClass", "MVT::i64", "PPC", "0U", "PPC::G8RCRegClass", "0U", "PPC::GPRCRegClass", "MVT::f32", "MVT::i32", "0U", "PPC::F4RCRegClass", "MVT::f64", "MVT::i64", "0U", "PPC::F8RCRegClass", "0U", "PPC::VRRCRegClass", "0U", "PPC::CRRCRegClass", "\"wc\"", "0U", "PPC::CRBITRCRegClass", "\"wa\"", "\"wd\"", "\"wf\"", "0U", "PPC::VSRCRegClass", "\"ws\"", "0U", "PPC::VSFRCRegClass", "MVT::i64", "PPC", "PPC::GPRCRegClass", "PPC::sub_32", "PPC::G8RCRegClass", "PPC::G8RCRegClass"], "File": "PPCISelLowering148", "Func": "getRegForInlineAsmConstraint", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14931, "Length": 400, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ia64_cannot_force_const_mem", "(", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "if", "(", "mode", "==", "RFmode", ")", "return", "true", ";", "return", "tls_symbolic_operand_type", "(", "x", ")", "!=", "0", ";", "}", ""], "natrual_language": ["Do", "n't", "allow", "TLS", "addresses", "to", "get", "spilled", "to", "memory", "."], "TS_V_token": ["ia64", "0"], "File": "ia64", "Func": "ia64_cannot_force_const_mem", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14932, "Length": 29, "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": 14933, "Length": 466, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mt_legitimate_simple_address_p", "(", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "xinsn", ",", "int", "strict", ")", "{", "if", "(", "TARGET_DEBUG", ")", "{", "fprintf", "(", "stderr", ",", "\"\\n========== GO_IF_LEGITIMATE_ADDRESS, %sstrict\\n\"", ",", "strict", "?", "\"\"", ":", "\"not \"", ")", ";", "debug_rtx", "(", "xinsn", ")", ";", "}", "if", "(", "GET_CODE", "(", "xinsn", ")", "==", "REG", "&&", "mt_reg_ok_for_base_p", "(", "xinsn", ",", "strict", ")", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "xinsn", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "xinsn", ",", "0", ")", ")", "==", "REG", "&&", "mt_reg_ok_for_base_p", "(", "XEXP", "(", "xinsn", ",", "0", ")", ",", "strict", ")", "&&", "GET_CODE", "(", "XEXP", "(", "xinsn", ",", "1", ")", ")", "==", "CONST_INT", "&&", "SMALL_INT", "(", "XEXP", "(", "xinsn", ",", "1", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Helper", "function", "of", "mt_legitimate_address_p", ".", "Return", "true", "if", "XINSN", "is", "a", "simple", "address", ",", "otherwise", "false", "."], "TS_V_token": ["mt", "\"\\n========== GO_IF_LEGITIMATE_ADDRESS, %sstrict\\n\"", "\"\"", "\"not \"", "0", "0", "1", "1"], "File": "mt", "Func": "mt_legitimate_simple_address_p", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14934, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"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": 14935, "Length": 361, "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": 14936, "Length": 104, "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", ":", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "IsWin64", "||", "(", "F", "&&", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "X86_64_Win64", ")", ")", "return", "&", "X86", "::", "GR64_TCW64RegClass", ";", "else", "if", "(", "Is64Bit", ")", "return", "&", "X86", "::", "GR64_TCRegClass", ";", "bool", "hasHipeCC", "=", "(", "F", "?", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "HiPE", ":", "false", ")", ";", "if", "(", "hasHipeCC", ")", "return", "&", "X86", "::", "GR32RegClass", ";", "return", "&", "X86", "::", "GR32_TCRegClass", ";", "}", "}", ""], "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", "X86::GR64_TCW64RegClass", "X86::GR64_TCRegClass", "X86::GR32RegClass", "X86::GR32_TCRegClass"], "File": "X86RegisterInfo71", "Func": "getPointerRegClass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14937, "Length": 175, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_simd_clone_adjust", "(", "struct", "cgraph_node", "*", "node", ")", "{", "const", "char", "*", "str", "=", "NULL", ";", "gcc_assert", "(", "node", "->", "decl", "==", "cfun", "->", "decl", ")", ";", "switch", "(", "node", "->", "simdclone", "->", "vecsize_mangle", ")", "{", "case", "'b'", ":", "if", "(", "!", "TARGET_SSE2", ")", "str", "=", "\"sse2\"", ";", "break", ";", "case", "'c'", ":", "if", "(", "!", "TARGET_AVX", ")", "str", "=", "\"avx\"", ";", "break", ";", "case", "'d'", ":", "if", "(", "!", "TARGET_AVX2", ")", "str", "=", "\"avx2\"", ";", "break", ";", "case", "'e'", ":", "if", "(", "!", "TARGET_AVX512F", ")", "str", "=", "\"avx512f\"", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "str", "==", "NULL", ")", "return", ";", "push_cfun", "(", "NULL", ")", ";", "tree", "args", "=", "build_tree_list", "(", "NULL_TREE", ",", "build_string", "(", "strlen", "(", "str", ")", ",", "str", ")", ")", ";", "bool", "ok", "=", "ix86_valid_target_attribute_p", "(", "node", "->", "decl", ",", "NULL", ",", "args", ",", "0", ")", ";", "gcc_assert", "(", "ok", ")", ";", "pop_cfun", "(", ")", ";", "ix86_reset_previous_fndecl", "(", ")", ";", "ix86_set_current_function", "(", "node", "->", "decl", ")", ";", "}", ""], "natrual_language": ["Add", "target", "attribute", "to", "SIMD", "clone", "NODE", "if", "needed", "."], "TS_V_token": ["i386", "\"sse2\"", "\"avx\"", "\"avx2\"", "\"avx512f\"", "0"], "File": "i3865", "Func": "ix86_simd_clone_adjust", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14938, "Length": 168, "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", "==", "NULL", ")", "return", "CW_Default", ";", "const", "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", "(", "type", "->", "isFloatTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "}", "return", "weight", ";", "}", ""], "natrual_language": ["Examine", "constraint", "string", "and", "operand", "type", "and", "determine", "a", "weight", "value", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsISelLowering36", "Func": "getSingleConstraintMatchWeight", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14939, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "AArch64RegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "if", "(", "CC", "==", "CallingConv", "::", "GHC", ")", "return", "CSR_AArch64_NoRegs_RegMask", ";", "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", "AArch64"], "File": "AArch64RegisterInfo3", "Func": "getCallPreservedMask", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14940, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "llvm", "::", "FastISel", "*", "X86", "::", "createFastISel", "(", "MachineFunction", "&", "mf", ",", "DenseMap", "<", "const", "Value", "*", ",", "unsigned", ">", "&", "vm", ",", "DenseMap", "<", "const", "BasicBlock", "*", ",", "MachineBasicBlock", "*", ">", "&", "bm", ",", "DenseMap", "<", "const", "AllocaInst", "*", ",", "int", ">", "&", "am", ",", "SmallSet", "<", "const", "Instruction", "*", ",", "8", ">", "&", "cil", ")", "{", "return", "new", "X86FastISel", "(", "mf", ",", "vm", ",", "bm", ",", "am", ",", "cil", ")", ";", "}", ""], "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::createFastISel", "8", "X86"], "File": "X86FastISel13", "Func": "createFastISel", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14941, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "csky_function_arg", "(", "cumulative_args_t", "pcum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "pcum", "=", "get_cumulative_args", "(", "pcum_v", ")", ";", "int", "reg", "=", "pcum", "->", "reg", ";", "machine_mode", "mode", "=", "arg", ".", "mode", ";", "if", "(", "FUNCTION_VARG_MODE_P", "(", "mode", ")", "&&", "!", "pcum", "->", "is_stdarg", ")", "{", "reg", "=", "pcum", "->", "freg", ";", "if", "(", "reg", "<", "CSKY_NPARM_FREGS", ")", "return", "gen_rtx_REG", "(", "mode", ",", "CSKY_FIRST_VFP_REGNUM", "+", "reg", ")", ";", "else", "return", "NULL_RTX", ";", "}", "if", "(", "reg", "<", "CSKY_NPARM_REGS", ")", "return", "gen_rtx_REG", "(", "mode", ",", "CSKY_FIRST_PARM_REGNUM", "+", "reg", ")", ";", "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": "csky", "Func": "csky_function_arg", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14942, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "requiresFrameIndexScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "requires", "post", "PEI", "scavenging", "of", "registers", "for", "materializing", "frame", "index", "constants", "."], "TS_V_token": ["CAHP"], "File": "CAHPRegisterInfo", "Func": "requiresFrameIndexScavenging", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14943, "Length": 15, "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", ".", "hasOptNone", "(", ")", ")", "OptimizationGoal", "=", "6", ";", "else", "if", "(", "F", ".", "hasMinSize", "(", ")", ")", "OptimizationGoal", "=", "4", ";", "else", "if", "(", "F", ".", "hasOptSize", "(", ")", ")", "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", "(", "Align", "(", "2", ")", ")", ";", "for", "(", "std", "::", "pair", "<", "unsigned", ",", "MCSymbol", "*", ">", "&", "TIP", ":", "ThumbIndirectPads", ")", "{", "OutStreamer", "->", "emitLabel", "(", "TIP", ".", "second", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "MCInstBuilder", "(", "ARM", "::", "tBX", ")", ".", "addReg", "(", "TIP", ".", "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", "2", "ARM::tBX", "ARMCC::AL", "0"], "File": "ARMAsmPrinter", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14944, "Length": 367, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "isBDNZ", "(", "unsigned", "Opcode", ")", "const", "{", "return", "(", "Opcode", "==", "(", "Subtarget", ".", "isPPC64", "(", ")", "?", "PPC", "::", "BDNZ8", ":", "PPC", "::", "BDNZ", ")", ")", ";", "}", ""], "natrual_language": ["Check", "Opcode", "is", "BDNZ", "(", "Decrement", "CTR", "and", "branch", "if", "it", "is", "still", "nonzero", ")", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::BDNZ8", "PPC::BDNZ"], "File": "PPCInstrInfo", "Func": "isBDNZ", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14945, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "X86SelectionDAGInfo", "::", "EmitTargetCodeForMemcpy", "(", "SelectionDAG", "&", "DAG", ",", "const", "SDLoc", "&", "dl", ",", "SDValue", "Chain", ",", "SDValue", "Dst", ",", "SDValue", "Src", ",", "SDValue", "Size", ",", "Align", "Alignment", ",", "bool", "isVolatile", ",", "bool", "AlwaysInline", ",", "bool", ",", "MachinePointerInfo", "DstPtrInfo", ",", "MachinePointerInfo", "SrcPtrInfo", ")", "const", "{", "if", "(", "DstPtrInfo", ".", "getAddrSpace", "(", ")", ">=", "256", "||", "SrcPtrInfo", ".", "getAddrSpace", "(", ")", ">=", "256", ")", "return", "SDValue", "(", ")", ";", "const", "MCPhysReg", "ClobberSet", "[", "]", "=", "{", "X86", "::", "RCX", ",", "X86", "::", "RSI", ",", "X86", "::", "RDI", ",", "X86", "::", "ECX", ",", "X86", "::", "ESI", ",", "X86", "::", "EDI", "}", ";", "if", "(", "isBaseRegConflictPossible", "(", "DAG", ",", "ClobberSet", ")", ")", "return", "SDValue", "(", ")", ";", "const", "X86Subtarget", "&", "Subtarget", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "UseFSRMForMemcpy", "&&", "Subtarget", ".", "hasFSRM", "(", ")", ")", "return", "emitRepmovs", "(", "Subtarget", ",", "DAG", ",", "dl", ",", "Chain", ",", "Dst", ",", "Src", ",", "Size", ",", "MVT", "::", "i8", ")", ";", "if", "(", "ConstantSDNode", "*", "ConstantSize", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Size", ")", ")", "return", "emitConstantSizeRepmov", "(", "DAG", ",", "Subtarget", ",", "dl", ",", "Chain", ",", "Dst", ",", "Src", ",", "ConstantSize", "->", "getZExtValue", "(", ")", ",", "Size", ".", "getValueType", "(", ")", ",", "Alignment", ".", "value", "(", ")", ",", "isVolatile", ",", "AlwaysInline", ",", "DstPtrInfo", ",", "SrcPtrInfo", ")", ";", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memcpy", "."], "TS_V_token": ["X86", "X86", "256", "256", "X86::RCX", "X86::RSI", "X86::RDI", "X86::ECX", "X86::ESI", "X86::EDI", "X86", "X86", "MVT::i8"], "File": "X86SelectionDAGInfo33", "Func": "EmitTargetCodeForMemcpy", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14946, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86FastISel", "::", "fastMaterializeConstant", "(", "const", "Constant", "*", "C", ")", "{", "EVT", "CEVT", "=", "TLI", ".", "getValueType", "(", "DL", ",", "C", "->", "getType", "(", ")", ",", "true", ")", ";", "if", "(", "!", "CEVT", ".", "isSimple", "(", ")", ")", "return", "0", ";", "MVT", "VT", "=", "CEVT", ".", "getSimpleVT", "(", ")", ";", "if", "(", "const", "auto", "*", "CI", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "C", ")", ")", "return", "X86MaterializeInt", "(", "CI", ",", "VT", ")", ";", "else", "if", "(", "const", "ConstantFP", "*", "CFP", "=", "dyn_cast", "<", "ConstantFP", ">", "(", "C", ")", ")", "return", "X86MaterializeFP", "(", "CFP", ",", "VT", ")", ";", "else", "if", "(", "const", "GlobalValue", "*", "GV", "=", "dyn_cast", "<", "GlobalValue", ">", "(", "C", ")", ")", "return", "X86MaterializeGV", "(", "GV", ",", "VT", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Emit", "a", "constant", "in", "a", "register", "using", "target-specific", "logic", ",", "such", "as", "constant", "pool", "loads", "."], "TS_V_token": ["X86", "X86", "0", "X86", "X86", "X86", "0"], "File": "X86FastISel (2)4", "Func": "fastMaterializeConstant", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14947, "Length": 125, "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", "::", "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::ADDIStocHA", "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": "PPCInstrInfo12", "Func": "isReallyTriviallyReMaterializable", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14948, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_pad_returns", "(", "void", ")", "{", "edge", "e", ";", "edge_iterator", "ei", ";", "FOR_EACH_EDGE", "(", "e", ",", "ei", ",", "EXIT_BLOCK_PTR", "->", "preds", ")", "{", "basic_block", "bb", "=", "e", "->", "src", ";", "rtx", "ret", "=", "BB_END", "(", "bb", ")", ";", "rtx", "prev", ";", "bool", "replace", "=", "false", ";", "if", "(", "GET_CODE", "(", "ret", ")", "!=", "JUMP_INSN", "||", "GET_CODE", "(", "PATTERN", "(", "ret", ")", ")", "!=", "RETURN", "||", "!", "maybe_hot_bb_p", "(", "bb", ")", ")", "continue", ";", "for", "(", "prev", "=", "PREV_INSN", "(", "ret", ")", ";", "prev", ";", "prev", "=", "PREV_INSN", "(", "prev", ")", ")", "if", "(", "active_insn_p", "(", "prev", ")", "||", "GET_CODE", "(", "prev", ")", "==", "CODE_LABEL", ")", "break", ";", "if", "(", "prev", "&&", "GET_CODE", "(", "prev", ")", "==", "CODE_LABEL", ")", "{", "edge", "e", ";", "edge_iterator", "ei", ";", "FOR_EACH_EDGE", "(", "e", ",", "ei", ",", "bb", "->", "preds", ")", "if", "(", "EDGE_FREQUENCY", "(", "e", ")", "&&", "e", "->", "src", "->", "index", ">=", "0", "&&", "!", "(", "e", "->", "flags", "&", "EDGE_FALLTHRU", ")", ")", "replace", "=", "true", ";", "}", "if", "(", "!", "replace", ")", "{", "prev", "=", "prev_active_insn", "(", "ret", ")", ";", "if", "(", "prev", "&&", "(", "(", "GET_CODE", "(", "prev", ")", "==", "JUMP_INSN", "&&", "any_condjump_p", "(", "prev", ")", ")", "||", "GET_CODE", "(", "prev", ")", "==", "CALL_INSN", ")", ")", "replace", "=", "true", ";", "if", "(", "!", "prev", "&&", "cfun", "->", "function_frequency", ">", "FUNCTION_FREQUENCY_UNLIKELY_EXECUTED", ")", "replace", "=", "true", ";", "}", "if", "(", "replace", ")", "{", "emit_insn_before", "(", "gen_return_internal_long", "(", ")", ",", "ret", ")", ";", "delete_insn", "(", "ret", ")", ";", "}", "}", "}", ""], "natrual_language": ["AMD", "Athlon", "works", "faster", "when", "RET", "is", "not", "destination", "of", "conditional", "jump", "or", "directly", "preceded", "by", "other", "jump", "instruction", ".", "We", "avoid", "the", "penalty", "by", "inserting", "NOP", "just", "before", "the", "RET", "instructions", "in", "such", "cases", "."], "TS_V_token": ["i386", "0"], "File": "i3863", "Func": "ix86_pad_returns", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14949, "Length": 247, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "getIntImmCost", "(", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "BitSize", ">", "64", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "Imm", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "isInt", "<", "16", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Basic", ";", "if", "(", "isInt", "<", "21", ">", "(", "Imm", ".", "getZExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Basic", ";", "if", "(", "isInt", "<", "32", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "{", "if", "(", "(", "Imm", ".", "getSExtValue", "(", ")", "&", "0xFFFF", ")", "==", "0", ")", "return", "TTI", "::", "TCC_Basic", ";", "return", "2", "*", "TTI", "::", "TCC_Basic", ";", "}", "return", "4", "*", "TTI", "::", "TCC_Basic", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["Lanai", "0", "64", "0", "16", "21", "32", "0xFFFF", "0", "2", "4"], "File": "LanaiTargetTransformInfo12", "Func": "getIntImmCost", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14950, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "override", "{", "return", "4U", ";", "}", ""], "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": ["LC2200", "4U"], "File": "LC2200InstrInfo", "Func": "getInstSizeInBytes", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14951, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "SparcTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "EVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'r'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "SP", "::", "IntRegsRegisterClass", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["Sparc", "Sparc", "1", "0", "0U", "SP::IntRegsRegisterClass"], "File": "SparcISelLowering103", "Func": "getRegForInlineAsmConstraint", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14952, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "altivec_expand_vec_perm_le", "(", "rtx", "operands", "[", "4", "]", ")", "{", "rtx", "notx", ",", "iorx", ",", "unspec", ";", "rtx", "target", "=", "operands", "[", "0", "]", ";", "rtx", "op0", "=", "operands", "[", "1", "]", ";", "rtx", "op1", "=", "operands", "[", "2", "]", ";", "rtx", "sel", "=", "operands", "[", "3", "]", ";", "rtx", "tmp", "=", "target", ";", "rtx", "norreg", "=", "gen_reg_rtx", "(", "V16QImode", ")", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "target", ")", ";", "if", "(", "!", "REG_P", "(", "op0", ")", ")", "op0", "=", "force_reg", "(", "mode", ",", "op0", ")", ";", "if", "(", "!", "REG_P", "(", "op1", ")", ")", "op1", "=", "force_reg", "(", "mode", ",", "op1", ")", ";", "if", "(", "!", "REG_P", "(", "sel", ")", ")", "sel", "=", "force_reg", "(", "V16QImode", ",", "sel", ")", ";", "if", "(", "!", "REG_P", "(", "target", ")", ")", "tmp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "notx", "=", "gen_rtx_NOT", "(", "V16QImode", ",", "sel", ")", ";", "iorx", "=", "(", "TARGET_P8_VECTOR", "?", "gen_rtx_IOR", "(", "V16QImode", ",", "notx", ",", "notx", ")", ":", "gen_rtx_AND", "(", "V16QImode", ",", "notx", ",", "notx", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "norreg", ",", "iorx", ")", ")", ";", "unspec", "=", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "3", ",", "op1", ",", "op0", ",", "norreg", ")", ",", "UNSPEC_VPERM", ")", ";", "if", "(", "!", "REG_P", "(", "target", ")", ")", "{", "emit_move_insn", "(", "tmp", ",", "unspec", ")", ";", "unspec", "=", "tmp", ";", "}", "emit_move_insn", "(", "target", ",", "unspec", ")", ";", "}", ""], "natrual_language": ["Similarly", "to", "altivec_expand_vec_perm_const_le", ",", "we", "must", "adjust", "the", "permute", "control", "vector", ".", "But", "here", "it", "'s", "not", "a", "constant", ",", "so", "we", "must", "generate", "a", "vector", "NAND", "or", "NOR", "to", "do", "the", "adjustment", "."], "TS_V_token": ["rs6000", "4", "0", "1", "2", "3", "3"], "File": "rs60005", "Func": "altivec_expand_vec_perm_le", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14953, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_pass_by_reference", "(", "cumulative_args_t", "cum", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_ARCH32", ")", "return", "(", "(", "type", "&&", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "||", "VECTOR_FLOAT_TYPE_P", "(", "type", ")", ")", ")", "||", "mode", "==", "SCmode", "||", "GET_MODE_SIZE", "(", "mode", ")", ">", "8", "||", "(", "type", "&&", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", "&&", "(", "unsigned", "HOST_WIDE_INT", ")", "int_size_in_bytes", "(", "type", ")", ">", "8", ")", ")", ";", "else", "return", "(", "(", "type", "&&", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "||", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", ")", "&&", "(", "unsigned", "HOST_WIDE_INT", ")", "int_size_in_bytes", "(", "type", ")", ">", "16", ")", "||", "GET_MODE_SIZE", "(", "mode", ")", ">", "16", ")", ";", "}", ""], "natrual_language": ["Handle", "the", "TARGET_PASS_BY_REFERENCE", "target", "hook", ".", "Specify", "whether", "to", "pass", "the", "argument", "by", "reference", "."], "TS_V_token": ["sparc", "8", "8", "16", "16"], "File": "sparc4", "Func": "sparc_pass_by_reference", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14954, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Darwin PPC Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["PowerPC", "\"Darwin PPC Assembly Printer\""], "File": "PPCAsmPrinter100", "Func": "getPassName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14955, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_use_new_vector_costs_p", "(", ")", "{", "return", "(", "aarch64_tune_params", ".", "extra_tuning_flags", "&", "AARCH64_EXTRA_TUNE_USE_NEW_VECTOR_COSTS", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "current", "CPU", "should", "use", "the", "new", "costs", "defined", "in", "GCC", "11", ".", "This", "should", "be", "removed", "for", "GCC", "12", "and", "above", ",", "with", "the", "costs", "applying", "to", "all", "CPUs", "instead", "."], "TS_V_token": ["aarch64"], "File": "aarch641", "Func": "aarch64_use_new_vector_costs_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14956, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "AArch64Subtarget", "*", "AArch64TargetMachine", "::", "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", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "CPU", "+", "FS", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "std", "::", "make_unique", "<", "AArch64Subtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "*", "this", ",", "isLittle", ")", ";", "}", "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": ["AArch64", "AArch64", "AArch64", "\"target-cpu\"", "\"target-features\"", "AArch64"], "File": "AArch64TargetMachine14", "Func": "getSubtargetImpl", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14957, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_load_pic_register", "(", "unsigned", "long", "saved_regs", "ATTRIBUTE_UNUSED", ",", "rtx", "pic_reg", ")", "{", "rtx", "l1", ",", "labelno", ",", "pic_tmp", ",", "pic_rtx", ";", "if", "(", "crtl", "->", "uses_pic_offset_table", "==", "0", "||", "TARGET_SINGLE_PIC_BASE", "||", "TARGET_FDPIC", ")", "return", ";", "gcc_assert", "(", "flag_pic", ")", ";", "if", "(", "pic_reg", "==", "NULL_RTX", ")", "pic_reg", "=", "cfun", "->", "machine", "->", "pic_reg", ";", "if", "(", "TARGET_VXWORKS_RTP", ")", "{", "pic_rtx", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "VXWORKS_GOTT_BASE", ")", ";", "pic_rtx", "=", "gen_rtx_CONST", "(", "Pmode", ",", "pic_rtx", ")", ";", "emit_insn", "(", "gen_pic_load_addr_32bit", "(", "pic_reg", ",", "pic_rtx", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "pic_reg", ",", "gen_rtx_MEM", "(", "Pmode", ",", "pic_reg", ")", ")", ")", ";", "pic_tmp", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "VXWORKS_GOTT_INDEX", ")", ";", "emit_insn", "(", "gen_pic_offset_arm", "(", "pic_reg", ",", "pic_reg", ",", "pic_tmp", ")", ")", ";", "}", "else", "{", "labelno", "=", "GEN_INT", "(", "pic_labelno", "++", ")", ";", "l1", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "labelno", ")", ",", "UNSPEC_PIC_LABEL", ")", ";", "l1", "=", "gen_rtx_CONST", "(", "VOIDmode", ",", "l1", ")", ";", "pic_rtx", "=", "plus_constant", "(", "Pmode", ",", "l1", ",", "TARGET_ARM", "?", "8", ":", "4", ")", ";", "pic_rtx", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "pic_rtx", ")", ",", "UNSPEC_GOTSYM_OFF", ")", ";", "pic_rtx", "=", "gen_rtx_CONST", "(", "Pmode", ",", "pic_rtx", ")", ";", "if", "(", "TARGET_32BIT", ")", "{", "emit_insn", "(", "gen_pic_load_addr_unified", "(", "pic_reg", ",", "pic_rtx", ",", "labelno", ")", ")", ";", "}", "else", "{", "if", "(", "arm_pic_register", "!=", "INVALID_REGNUM", "&&", "REGNO", "(", "pic_reg", ")", ">", "LAST_LO_REGNUM", ")", "{", "pic_tmp", "=", "gen_rtx_REG", "(", "SImode", ",", "thumb_find_work_register", "(", "saved_regs", ")", ")", ";", "emit_insn", "(", "gen_pic_load_addr_thumb1", "(", "pic_tmp", ",", "pic_rtx", ")", ")", ";", "emit_insn", "(", "gen_movsi", "(", "pic_offset_table_rtx", ",", "pic_tmp", ")", ")", ";", "emit_insn", "(", "gen_pic_add_dot_plus_four", "(", "pic_reg", ",", "pic_reg", ",", "labelno", ")", ")", ";", "}", "else", "if", "(", "arm_pic_register", "!=", "INVALID_REGNUM", "&&", "arm_pic_register", ">", "LAST_LO_REGNUM", "&&", "REGNO", "(", "pic_reg", ")", "<=", "LAST_LO_REGNUM", ")", "{", "emit_insn", "(", "gen_pic_load_addr_unified", "(", "pic_reg", ",", "pic_rtx", ",", "labelno", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_REG", "(", "Pmode", ",", "arm_pic_register", ")", ",", "pic_reg", ")", ";", "emit_use", "(", "gen_rtx_REG", "(", "Pmode", ",", "arm_pic_register", ")", ")", ";", "}", "else", "emit_insn", "(", "gen_pic_load_addr_unified", "(", "pic_reg", ",", "pic_rtx", ",", "labelno", ")", ")", ";", "}", "}", "emit_use", "(", "pic_reg", ")", ";", "}", ""], "natrual_language": ["Generate", "code", "to", "load", "the", "PIC", "register", ".", "In", "thumb", "mode", "SCRATCH", "is", "a", "low", "register", "."], "TS_V_token": ["arm", "0", "1", "8", "4", "1"], "File": "arm", "Func": "arm_load_pic_register", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14958, "Length": 353, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Finish", "(", ")", "{", "const", "size_t", "VendorHeaderSize", "=", "4", "+", "CurrentVendor", ".", "size", "(", ")", "+", "1", ";", "const", "size_t", "TagHeaderSize", "=", "1", "+", "4", ";", "Streamer", ".", "EmitIntValue", "(", "VendorHeaderSize", "+", "TagHeaderSize", "+", "ContentsSize", ",", "4", ")", ";", "Streamer", ".", "EmitBytes", "(", "CurrentVendor", ",", "0", ")", ";", "Streamer", ".", "EmitIntValue", "(", "0", ",", "1", ")", ";", "Streamer", ".", "EmitIntValue", "(", "ARMBuildAttrs", "::", "File", ",", "1", ")", ";", "Streamer", ".", "EmitIntValue", "(", "TagHeaderSize", "+", "ContentsSize", ",", "4", ")", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "Contents", ".", "size", "(", ")", ";", "++", "i", ")", "{", "AttributeItemType", "item", "=", "Contents", "[", "i", "]", ";", "Streamer", ".", "EmitULEB128IntValue", "(", "item", ".", "Tag", ",", "0", ")", ";", "switch", "(", "item", ".", "Type", ")", "{", "case", "AttributeItemType", "::", "NumericAttribute", ":", "Streamer", ".", "EmitULEB128IntValue", "(", "item", ".", "IntValue", ",", "0", ")", ";", "break", ";", "case", "AttributeItemType", "::", "TextAttribute", ":", "Streamer", ".", "EmitBytes", "(", "UppercaseString", "(", "item", ".", "StringValue", ")", ",", "0", ")", ";", "Streamer", ".", "EmitIntValue", "(", "0", ",", "1", ")", ";", "break", ";", "default", ":", "assert", "(", "0", "&&", "\"Invalid attribute type\"", ")", ";", "}", "}", "Contents", ".", "clear", "(", ")", ";", "}", ""], "natrual_language": ["Finish", "-", "Do", "final", "processing", "and", "write", "the", "object", "to", "the", "output", "stream", "."], "TS_V_token": ["ARM", "4", "1", "1", "4", "4", "0", "0", "1", "ARMBuildAttrs::File", "1", "4", "0", "0", "0", "0", "0", "1", "0", "\"Invalid attribute type\""], "File": "ARMAsmPrinter96", "Func": "Finish", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14959, "Length": 192, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBlockPlacement", "::", "processPostOrderLoops", "(", "MachineLoop", "*", "ML", ")", "{", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "*", "InnerML", ":", "*", "ML", ")", "Changed", "|=", "processPostOrderLoops", "(", "InnerML", ")", ";", "return", "Changed", "|", "fixBackwardsWLS", "(", "ML", ")", ";", "}", ""], "natrual_language": ["Updates", "ordering", "(", "of", "WLS", "BB", "and", "their", "loopExits", ")", "in", "inner", "loops", "first", "Returns", "true", "if", "any", "change", "was", "made", "in", "any", "of", "the", "loops", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMBlockPlacement (2)", "Func": "processPostOrderLoops", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14960, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16InstrInfo", "::", "isCopyInstr", "(", "const", "MachineInstr", "&", "MI", ",", "MachineOperand", "&", "Src", ",", "MachineOperand", "&", "Dest", ")", "const", "{", "if", "(", "MI", ".", "isMoveReg", "(", ")", ")", "{", "Dest", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "Src", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "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": ["Mips", "Mips", "0", "1"], "File": "Mips16InstrInfo15", "Func": "isCopyInstr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14961, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_elf_encode_section_info", "(", "tree", "decl", ",", "rtx", "rtl", ",", "int", "first", ")", "{", "default_encode_section_info", "(", "decl", ",", "rtl", ",", "first", ")", ";", "if", "(", "first", "&&", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", "&&", "!", "TARGET_AIX", "&&", "DEFAULT_ABI", "==", "ABI_AIX", ")", "{", "rtx", "sym_ref", "=", "XEXP", "(", "rtl", ",", "0", ")", ";", "size_t", "len", "=", "strlen", "(", "XSTR", "(", "sym_ref", ",", "0", ")", ")", ";", "char", "*", "str", "=", "alloca", "(", "len", "+", "2", ")", ";", "str", "[", "0", "]", "=", "'.'", ";", "memcpy", "(", "str", "+", "1", ",", "XSTR", "(", "sym_ref", ",", "0", ")", ",", "len", "+", "1", ")", ";", "XSTR", "(", "sym_ref", ",", "0", ")", "=", "ggc_alloc_string", "(", "str", ",", "len", "+", "1", ")", ";", "}", "}", ""], "natrual_language": ["For", "a", "SYMBOL_REF", ",", "set", "generic", "flags", "and", "then", "perform", "some", "target-specific", "processing", ".", "When", "the", "AIX", "ABI", "is", "requested", "on", "a", "non-AIX", "system", ",", "replace", "the", "function", "name", "with", "the", "real", "name", "(", "with", "a", "leading", ".", ")", "rather", "than", "the", "function", "descriptor", "name", ".", "This", "saves", "a", "lot", "of", "overriding", "code", "to", "read", "the", "prefixes", "."], "TS_V_token": ["rs6000", "0", "0", "2", "0", "1", "0", "1", "0", "1"], "File": "rs60003", "Func": "rs6000_elf_encode_section_info", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14962, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_option_print", "(", "FILE", "*", "file", ",", "int", "indent", ",", "struct", "cl_target_option", "*", "ptr", ")", "{", "int", "flags", "=", "ptr", "->", "x_target_flags", ";", "const", "char", "*", "fpu_name", ";", "fpu_name", "=", "(", "ptr", "->", "x_arm_fpu_index", "==", "TARGET_FPU_auto", "?", "\"auto\"", ":", "all_fpus", "[", "ptr", "->", "x_arm_fpu_index", "]", ".", "name", ")", ";", "fprintf", "(", "file", ",", "\"%*sselected isa %s\\n\"", ",", "indent", ",", "\"\"", ",", "TARGET_THUMB2_P", "(", "flags", ")", "?", "\"thumb2\"", ":", "TARGET_THUMB_P", "(", "flags", ")", "?", "\"thumb1\"", ":", "\"arm\"", ")", ";", "if", "(", "ptr", "->", "x_arm_arch_string", ")", "fprintf", "(", "file", ",", "\"%*sselected architecture %s\\n\"", ",", "indent", ",", "\"\"", ",", "ptr", "->", "x_arm_arch_string", ")", ";", "if", "(", "ptr", "->", "x_arm_cpu_string", ")", "fprintf", "(", "file", ",", "\"%*sselected CPU %s\\n\"", ",", "indent", ",", "\"\"", ",", "ptr", "->", "x_arm_cpu_string", ")", ";", "if", "(", "ptr", "->", "x_arm_tune_string", ")", "fprintf", "(", "file", ",", "\"%*sselected tune %s\\n\"", ",", "indent", ",", "\"\"", ",", "ptr", "->", "x_arm_tune_string", ")", ";", "fprintf", "(", "file", ",", "\"%*sselected fpu %s\\n\"", ",", "indent", ",", "\"\"", ",", "fpu_name", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_PRINT", "."], "TS_V_token": ["arm", "\"auto\"", "\"%*sselected isa %s\\n\"", "\"\"", "\"thumb2\"", "\"thumb1\"", "\"arm\"", "\"%*sselected architecture %s\\n\"", "\"\"", "\"%*sselected CPU %s\\n\"", "\"\"", "\"%*sselected tune %s\\n\"", "\"\"", "\"%*sselected fpu %s\\n\"", "\"\""], "File": "arm", "Func": "arm_option_print", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14963, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "csky_legitimize_tls_address", "(", "rtx", "x", ",", "rtx", "reg", ")", "{", "rtx", "dest", ",", "tp", ",", "label", ",", "labelno", ",", "unspec", ",", "ret", ",", "eqv", ",", "addend", ",", "tmp", ";", "rtx_insn", "*", "insns", ";", "unsigned", "int", "model", "=", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", ";", "if", "(", "!", "reg", ")", "reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "switch", "(", "model", ")", "{", "case", "TLS_MODEL_GLOBAL_DYNAMIC", ":", "insns", "=", "csky_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", ":", "insns", "=", "csky_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", ",", "addend", ")", ";", "return", "gen_rtx_PLUS", "(", "Pmode", ",", "dest", ",", "addend", ")", ";", "case", "TLS_MODEL_INITIAL_EXEC", ":", "labelno", "=", "GEN_INT", "(", "tls_labelno", "++", ")", ";", "label", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "labelno", ")", ",", "UNSPEC_TLS_LABEL", ")", ";", "unspec", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "3", ",", "x", ",", "GEN_INT", "(", "TLS_IE32", ")", ",", "label", ")", ",", "UNSPEC_TLS", ")", ";", "tmp", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_move_insn", "(", "reg", ",", "unspec", ")", ";", "emit_move_insn", "(", "tmp", ",", "label", ")", ";", "emit_insn", "(", "gen_addsi3", "(", "reg", ",", "reg", ",", "tmp", ")", ")", ";", "emit_move_insn", "(", "reg", ",", "gen_const_mem", "(", "Pmode", ",", "reg", ")", ")", ";", "tp", "=", "gen_rtx_REG", "(", "SImode", ",", "CSKY_TLS_REGNUM", ")", ";", "return", "gen_rtx_PLUS", "(", "Pmode", ",", "tp", ",", "reg", ")", ";", "case", "TLS_MODEL_LOCAL_EXEC", ":", "unspec", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "2", ",", "x", ",", "GEN_INT", "(", "TLS_LE32", ")", ")", ",", "UNSPEC_TLS", ")", ";", "emit_move_insn", "(", "reg", ",", "unspec", ")", ";", "tp", "=", "gen_rtx_REG", "(", "SImode", ",", "CSKY_TLS_REGNUM", ")", ";", "return", "gen_rtx_PLUS", "(", "Pmode", ",", "tp", ",", "reg", ")", ";", "default", ":", "abort", "(", ")", ";", "}", "}", ""], "natrual_language": ["Helper", "function", "for", "csky_legitimize_address", ",", "to", "handle", "the", "TLS", "cases", ".", "REG", "is", "a", "scratch", "register", "and", "may", "be", "null", "."], "TS_V_token": ["csky", "1", "2", "1", "3", "2"], "File": "csky", "Func": "csky_legitimize_tls_address", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14964, "Length": 360, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "evaluateBranch", "(", "const", "MCInst", "&", "Inst", ",", "uint64_t", "Addr", ",", "uint64_t", "Size", ",", "uint64_t", "&", "Target", ")", "const", "override", "{", "const", "auto", "&", "Desc", "=", "Info", "->", "get", "(", "Inst", ".", "getOpcode", "(", ")", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "Inst", ".", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "i", "++", ")", "{", "if", "(", "Desc", ".", "OpInfo", "[", "i", "]", ".", "OperandType", "==", "MCOI", "::", "OPERAND_PCREL", ")", "{", "int64_t", "Imm", "=", "Inst", ".", "getOperand", "(", "i", ")", ".", "getImm", "(", ")", "*", "4", ";", "Target", "=", "Addr", "+", "Imm", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Given", "a", "branch", "instruction", "try", "to", "get", "the", "address", "the", "branch", "targets", "."], "TS_V_token": ["AArch64", "0", "4"], "File": "AArch64MCTargetDesc (2)1", "Func": "evaluateBranch", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14965, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "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": ["Mandarin"], "File": "MandarinISelLowering", "Func": "isShuffleMaskLegal", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14966, "Length": 19, "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": 14967, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCRegisterInfo", "::", "materializeFrameBaseRegister", "(", "MachineBasicBlock", "*", "MBB", ",", "Register", "BaseReg", ",", "int", "FrameIdx", ",", "int64_t", "Offset", ")", "const", "{", "unsigned", "ADDriOpc", "=", "TM", ".", "isPPC64", "(", ")", "?", "PPC", "::", "ADDI8", ":", "PPC", "::", "ADDI", ";", "MachineBasicBlock", "::", "iterator", "Ins", "=", "MBB", "->", "begin", "(", ")", ";", "DebugLoc", "DL", ";", "if", "(", "Ins", "!=", "MBB", "->", "end", "(", ")", ")", "DL", "=", "Ins", "->", "getDebugLoc", "(", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", "->", "getParent", "(", ")", ";", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "TII", ".", "get", "(", "ADDriOpc", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MBB", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MRI", ".", "constrainRegClass", "(", "BaseReg", ",", "TII", ".", "getRegClass", "(", "MCID", ",", "0", ",", "this", ",", "MF", ")", ")", ";", "BuildMI", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "MCID", ",", "BaseReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "Offset", ")", ";", "}", ""], "natrual_language": ["Insert", "defining", "instruction", "(", "s", ")", "for", "a", "pointer", "to", "FrameIdx", "before", "insertion", "point", "I", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::ADDI8", "PPC::ADDI", "PPC", "PPC", "0"], "File": "PPCRegisterInfo10", "Func": "materializeFrameBaseRegister", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14968, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMSubtarget", "::", "ARMSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ")", ":", "ARMGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "ARMProcFamily", "(", "Others", ")", ",", "HasV4TOps", "(", "false", ")", ",", "HasV5TOps", "(", "false", ")", ",", "HasV5TEOps", "(", "false", ")", ",", "HasV6Ops", "(", "false", ")", ",", "HasV6T2Ops", "(", "false", ")", ",", "HasV7Ops", "(", "false", ")", ",", "HasVFPv2", "(", "false", ")", ",", "HasVFPv3", "(", "false", ")", ",", "HasVFPv4", "(", "false", ")", ",", "HasNEON", "(", "false", ")", ",", "HasNEON2", "(", "false", ")", ",", "UseNEONForSinglePrecisionFP", "(", "false", ")", ",", "SlowFPVMLx", "(", "false", ")", ",", "HasVMLxForwarding", "(", "false", ")", ",", "SlowFPBrcc", "(", "false", ")", ",", "InThumbMode", "(", "false", ")", ",", "HasThumb2", "(", "false", ")", ",", "IsMClass", "(", "false", ")", ",", "NoARM", "(", "false", ")", ",", "PostRAScheduler", "(", "false", ")", ",", "IsR9Reserved", "(", "ReserveR9", ")", ",", "UseMovt", "(", "false", ")", ",", "SupportsTailCall", "(", "false", ")", ",", "HasFP16", "(", "false", ")", ",", "HasD16", "(", "false", ")", ",", "HasHardwareDivide", "(", "false", ")", ",", "HasT2ExtractPack", "(", "false", ")", ",", "HasDataBarrier", "(", "false", ")", ",", "Pref32BitThumb", "(", "false", ")", ",", "AvoidCPSRPartialUpdate", "(", "false", ")", ",", "HasMPExtension", "(", "false", ")", ",", "FPOnlySP", "(", "false", ")", ",", "AllowsUnalignedMem", "(", "false", ")", ",", "Thumb2DSP", "(", "false", ")", ",", "stackAlignment", "(", "4", ")", ",", "CPUString", "(", "CPU", ")", ",", "TargetTriple", "(", "TT", ")", ",", "TargetABI", "(", "ARM_ABI_APCS", ")", "{", "if", "(", "CPUString", ".", "empty", "(", ")", ")", "CPUString", "=", "\"generic\"", ";", "std", "::", "string", "ArchFS", "=", "ARM_MC", "::", "ParseARMTriple", "(", "TT", ")", ";", "if", "(", "!", "FS", ".", "empty", "(", ")", ")", "{", "if", "(", "!", "ArchFS", ".", "empty", "(", ")", ")", "ArchFS", "=", "ArchFS", "+", "\",\"", "+", "FS", ";", "else", "ArchFS", "=", "FS", ";", "}", "ParseSubtargetFeatures", "(", "CPUString", ",", "ArchFS", ")", ";", "if", "(", "!", "HasV6T2Ops", "&&", "hasThumb2", "(", ")", ")", "HasV4TOps", "=", "HasV5TOps", "=", "HasV5TEOps", "=", "HasV6Ops", "=", "HasV6T2Ops", "=", "true", ";", "InstrItins", "=", "getInstrItineraryForCPU", "(", "CPUString", ")", ";", "computeIssueWidth", "(", ")", ";", "if", "(", "TT", ".", "find", "(", "\"eabi\"", ")", "!=", "std", "::", "string", "::", "npos", ")", "TargetABI", "=", "ARM_ABI_AAPCS", ";", "if", "(", "isAAPCS_ABI", "(", ")", ")", "stackAlignment", "=", "8", ";", "if", "(", "!", "isTargetIOS", "(", ")", ")", "UseMovt", "=", "hasV6T2Ops", "(", ")", ";", "else", "{", "IsR9Reserved", "=", "ReserveR9", "|", "!", "HasV6Ops", ";", "UseMovt", "=", "DarwinUseMOVT", "&&", "hasV6T2Ops", "(", ")", ";", "SupportsTailCall", "=", "!", "getTargetTriple", "(", ")", ".", "isOSVersionLT", "(", "5", ",", "0", ")", ";", "}", "if", "(", "!", "isThumb", "(", ")", "||", "hasThumb2", "(", ")", ")", "PostRAScheduler", "=", "true", ";", "if", "(", "!", "StrictAlign", "&&", "hasV6Ops", "(", ")", "&&", "isTargetDarwin", "(", ")", ")", "AllowsUnalignedMem", "=", "true", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "4", "ARM", "\"generic\"", "ARM", "ARM", "\",\"", "\"eabi\"", "ARM", "8", "5", "0"], "File": "ARMSubtarget9", "Func": "ARMSubtarget", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14969, "Length": 433, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "ARMTargetLowering", "::", "BuildSDIVPow2", "(", "SDNode", "*", "N", ",", "const", "APInt", "&", "Divisor", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDNode", "*", ">", "&", "Created", ")", "const", "{", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "SDIV", ")", "return", "SDValue", "(", ")", ";", "const", "auto", "&", "ST", "=", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "DAG", ".", "getSubtarget", "(", ")", ")", ";", "const", "bool", "MinSize", "=", "ST", ".", "optForMinSize", "(", ")", ";", "const", "bool", "HasDivide", "=", "ST", ".", "isThumb", "(", ")", "?", "ST", ".", "hasDivideInThumbMode", "(", ")", ":", "ST", ".", "hasDivideInARMMode", "(", ")", ";", "if", "(", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", ".", "isVector", "(", ")", ")", "return", "SDValue", "(", ")", ";", "if", "(", "!", "(", "MinSize", "&&", "HasDivide", ")", ")", "return", "SDValue", "(", ")", ";", "if", "(", "!", "ST", ".", "isThumb", "(", ")", ")", "return", "SDValue", "(", "N", ",", "0", ")", ";", "if", "(", "Divisor", ".", "sgt", "(", "128", ")", ")", "return", "SDValue", "(", ")", ";", "return", "SDValue", "(", "N", ",", "0", ")", ";", "}", ""], "natrual_language": ["Targets", "may", "override", "this", "function", "to", "provide", "custom", "SDIV", "lowering", "for", "power-of-2", "denominators", "."], "TS_V_token": ["ARM", "ARM", "ISD::SDIV", "ARM", "ARM", "0", "0", "128", "0"], "File": "ARMISelLowering158", "Func": "BuildSDIVPow2", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14970, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getString", "(", ")", ";", "if", "(", "IDVal", "==", "\".ent\"", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".end\"", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".frame\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".set\"", ")", "{", "return", "parseDirectiveSet", "(", ")", ";", "}", "if", "(", "IDVal", "==", "\".fmask\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".mask\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".gpword\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".word\"", ")", "{", "parseDirectiveWord", "(", "4", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["Mips", "Mips", "\".ent\"", "\".end\"", "\".frame\"", "\".set\"", "\".fmask\"", "\".mask\"", "\".gpword\"", "\".word\"", "4"], "File": "MipsAsmParser102", "Func": "ParseDirective", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14971, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_add_reg_usage_to_vzeroupper", "(", "rtx_insn", "*", "insn", ",", "bitmap", "live_regs", ")", "{", "rtx", "pattern", "=", "PATTERN", "(", "insn", ")", ";", "unsigned", "int", "nregs", "=", "TARGET_64BIT", "?", "16", ":", "8", ";", "unsigned", "int", "npats", "=", "nregs", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "nregs", ";", "++", "i", ")", "{", "unsigned", "int", "regno", "=", "GET_SSE_REGNO", "(", "i", ")", ";", "if", "(", "!", "bitmap_bit_p", "(", "live_regs", ",", "regno", ")", ")", "npats", "--", ";", "}", "if", "(", "npats", "==", "0", ")", "return", ";", "rtvec", "vec", "=", "rtvec_alloc", "(", "npats", "+", "1", ")", ";", "RTVEC_ELT", "(", "vec", ",", "0", ")", "=", "XVECEXP", "(", "pattern", ",", "0", ",", "0", ")", ";", "for", "(", "unsigned", "int", "i", "=", "0", ",", "j", "=", "0", ";", "i", "<", "nregs", ";", "++", "i", ")", "{", "unsigned", "int", "regno", "=", "GET_SSE_REGNO", "(", "i", ")", ";", "if", "(", "!", "bitmap_bit_p", "(", "live_regs", ",", "regno", ")", ")", "continue", ";", "rtx", "reg", "=", "gen_rtx_REG", "(", "V2DImode", ",", "regno", ")", ";", "++", "j", ";", "RTVEC_ELT", "(", "vec", ",", "j", ")", "=", "gen_rtx_SET", "(", "reg", ",", "reg", ")", ";", "}", "XVEC", "(", "pattern", ",", "0", ")", "=", "vec", ";", "INSN_CODE", "(", "insn", ")", "=", "-", "1", ";", "df_insn_rescan", "(", "insn", ")", ";", "}", ""], "natrual_language": ["Modify", "the", "vzeroupper", "pattern", "in", "INSN", "so", "that", "it", "describes", "the", "effect", "that", "the", "instruction", "has", "on", "the", "SSE", "registers", ".", "LIVE_REGS", "are", "the", "set", "of", "registers", "that", "are", "live", "across", "the", "instruction", ".", "For", "a", "live", "register", "R", "we", "use", ":", "(", "set", "(", "reg", ":", "V2DF", "R", ")", "(", "reg", ":", "V2DF", "R", ")", ")", "which", "preserves", "the", "low", "128", "bits", "but", "clobbers", "the", "upper", "bits", "."], "TS_V_token": ["i386", "16", "8", "0", "0", "1", "0", "0", "0", "0", "0", "0", "1"], "File": "i386-features", "Func": "ix86_add_reg_usage_to_vzeroupper", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14972, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "useLoadStackGuardNode", "(", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "isTargetLinux", "(", ")", ")", "return", "TargetLowering", "::", "useLoadStackGuardNode", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["If", "this", "function", "returns", "true", ",", "SelectionDAGBuilder", "emits", "a", "LOAD_STACK_GUARD", "node", "when", "it", "is", "lowering", "Intrinsic", ":", ":stackprotector", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCISelLowering (2)7", "Func": "useLoadStackGuardNode", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14973, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "ix86_hard_regno_nregs", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "GENERAL_REGNO_P", "(", "regno", ")", ")", "{", "if", "(", "mode", "==", "XFmode", ")", "return", "TARGET_64BIT", "?", "2", ":", "3", ";", "if", "(", "mode", "==", "XCmode", ")", "return", "TARGET_64BIT", "?", "4", ":", "6", ";", "return", "CEIL", "(", "GET_MODE_SIZE", "(", "mode", ")", ",", "UNITS_PER_WORD", ")", ";", "}", "if", "(", "COMPLEX_MODE_P", "(", "mode", ")", ")", "return", "2", ";", "if", "(", "mode", "==", "P2QImode", "||", "mode", "==", "P2HImode", ")", "return", "2", ";", "if", "(", "mode", "==", "V64SFmode", "||", "mode", "==", "V64SImode", ")", "return", "4", ";", "return", "1", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_NREGS", ".", "This", "is", "ordinarily", "the", "length", "in", "words", "of", "a", "value", "of", "mode", "MODE", "but", "can", "be", "less", "for", "certain", "modes", "in", "special", "long", "registers", ".", "Actually", "there", "are", "no", "two", "word", "move", "instructions", "for", "consecutive", "registers", ".", "And", "only", "registers", "0-3", "may", "have", "mov", "byte", "instructions", "applied", "to", "them", "."], "TS_V_token": ["i386", "2", "3", "4", "6", "2", "2", "4", "1"], "File": "i386", "Func": "ix86_hard_regno_nregs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14974, "Length": 99, "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", "(", ")", ";", "assert", "(", "TRI", "->", "trackLivenessAfterRegAlloc", "(", "Fn", ")", "&&", "\"Register liveness not available!\"", ")", ";", "MachineLoopInfo", "&", "LI", "=", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "Modified", "=", "false", ";", "for", "(", "MachineLoop", "*", "I", ":", "LI", ")", "for", "(", "auto", "L", "=", "df_begin", "(", "I", ")", ",", "LE", "=", "df_end", "(", "I", ")", ";", "L", "!=", "LE", ";", "++", "L", ")", "if", "(", "L", "->", "empty", "(", ")", ")", "runOnLoop", "(", "*", "*", "L", ",", "Fn", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "\"Register liveness not available!\""], "File": "AArch64FalkorHWPFFix13", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14975, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_block_set_unaligned_non_vect", "(", "rtx", "dstbase", ",", "unsigned", "HOST_WIDE_INT", "length", ",", "unsigned", "HOST_WIDE_INT", "value", ",", "unsigned", "HOST_WIDE_INT", "align", ")", "{", "unsigned", "int", "i", ";", "rtx", "dst", ",", "addr", ",", "mem", ";", "rtx", "val_exp", ",", "val_reg", ",", "reg", ";", "machine_mode", "mode", ";", "HOST_WIDE_INT", "v", "=", "value", ";", "gcc_assert", "(", "align", "==", "1", "||", "align", "==", "2", ")", ";", "if", "(", "align", "==", "2", ")", "v", "|=", "(", "value", "<<", "BITS_PER_UNIT", ")", ";", "v", "=", "sext_hwi", "(", "v", ",", "BITS_PER_WORD", ")", ";", "val_exp", "=", "GEN_INT", "(", "v", ")", ";", "if", "(", "!", "arm_block_set_non_vect_profit_p", "(", "val_exp", ",", "length", ",", "align", ",", "true", ",", "false", ")", ")", "return", "false", ";", "dst", "=", "copy_addr_to_reg", "(", "XEXP", "(", "dstbase", ",", "0", ")", ")", ";", "mode", "=", "(", "align", "==", "2", "?", "HImode", ":", "QImode", ")", ";", "val_reg", "=", "force_reg", "(", "SImode", ",", "val_exp", ")", ";", "reg", "=", "gen_lowpart", "(", "mode", ",", "val_reg", ")", ";", "for", "(", "i", "=", "0", ";", "(", "i", "+", "GET_MODE_SIZE", "(", "mode", ")", "<=", "length", ")", ";", "i", "+=", "GET_MODE_SIZE", "(", "mode", ")", ")", "{", "addr", "=", "plus_constant", "(", "Pmode", ",", "dst", ",", "i", ")", ";", "mem", "=", "adjust_automodify_address", "(", "dstbase", ",", "mode", ",", "addr", ",", "i", ")", ";", "emit_move_insn", "(", "mem", ",", "reg", ")", ";", "}", "if", "(", "i", "+", "1", "==", "length", ")", "{", "reg", "=", "gen_lowpart", "(", "QImode", ",", "val_reg", ")", ";", "addr", "=", "plus_constant", "(", "Pmode", ",", "dst", ",", "i", ")", ";", "mem", "=", "adjust_automodify_address", "(", "dstbase", ",", "QImode", ",", "addr", ",", "i", ")", ";", "emit_move_insn", "(", "mem", ",", "reg", ")", ";", "i", "++", ";", "}", "gcc_assert", "(", "i", "==", "length", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Set", "a", "block", "of", "memory", "using", "plain", "strh/strb", "instructions", ",", "only", "using", "instructions", "allowed", "by", "ALIGN", "on", "processor", ".", "We", "fill", "the", "first", "LENGTH", "bytes", "of", "the", "memory", "area", "starting", "from", "DSTBASE", "with", "byte", "constant", "VALUE", ".", "ALIGN", "is", "the", "alignment", "requirement", "of", "memory", "."], "TS_V_token": ["arm", "1", "2", "2", "0", "2", "0", "1"], "File": "arm", "Func": "arm_block_set_unaligned_non_vect", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14976, "Length": 269, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_split_128bit_move_p", "(", "rtx", "dst", ",", "rtx", "src", ")", "{", "if", "(", "FP_REGNUM_P", "(", "REGNO", "(", "dst", ")", ")", ")", "return", "REG_P", "(", "src", ")", "&&", "!", "FP_REGNUM_P", "(", "REGNO", "(", "src", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "should", "split", "a", "move", "from", "128-bit", "value", "SRC", "to", "128-bit", "register", "DEST", "."], "TS_V_token": ["aarch64"], "File": "aarch641", "Func": "aarch64_split_128bit_move_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14977, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "sh_symbian_associated_type", "(", "tree", "decl", ")", "{", "tree", "t", "=", "NULL_TREE", ";", "if", "(", "TREE_CODE", "(", "TREE_TYPE", "(", "decl", ")", ")", "==", "METHOD_TYPE", ")", "return", "t", ";", "if", "(", "DECL_CONTEXT", "(", "decl", ")", "&&", "TYPE_P", "(", "DECL_CONTEXT", "(", "decl", ")", ")", ")", "t", "=", "DECL_CONTEXT", "(", "decl", ")", ";", "return", "t", ";", "}", ""], "natrual_language": ["Return", "the", "type", "that", "we", "should", "use", "to", "determine", "if", "DECL", "is", "imported", "or", "exported", "."], "TS_V_token": ["sh"], "File": "symbian", "Func": "sh_symbian_associated_type", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14978, "Length": 54, "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", "(", ")", ";", "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", "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", "ARM", "ARM", "4", "8", "ARM", "ARM", "\"_GLOBAL_OFFSET_TABLE_\"", "ARM", "ARM", "ARM::t2LDRpci", "ARM::LDRcp", "ARM::LDRcp", "0"], "File": "ARMInstrInfo4", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14979, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "Cpu0ABIInfo", "Unknown", "(", ")", "{", "return", "Cpu0ABIInfo", "(", "ABI", "::", "Unknown", ")", ";", "}", ""], "natrual_language": ["The", "kind", "of", "location", "description", "being", "produced", ".", "More", "..."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0", "ABI::Unknown"], "File": "Cpu0ABIInfo", "Func": "Unknown", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14980, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MipsRegisterInfo", "*", "RegInfo", "=", "static_cast", "<", "const", "MipsRegisterInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "RegInfo", "->", "processFunctionBeforeFrameFinalized", "(", "MF", ")", ";", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips"], "File": "MipsFrameLowering29", "Func": "processFunctionBeforeFrameFinalized", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14981, "Length": 42, "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": ["AArch64"], "File": "AArch64RegisterInfo19", "Func": "requiresFrameIndexScavenging", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14982, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "AArch64FrameLowering", "::", "getFrameIndexReferencePreferSP", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "FrameReg", ",", "bool", "IgnoreSPUpdates", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Offset from the SP for \"", "<<", "FI", "<<", "\" is \"", "<<", "MFI", ".", "getObjectOffset", "(", "FI", ")", "<<", "\"\\n\"", ")", ";", "FrameReg", "=", "AArch64", "::", "SP", ";", "return", "MFI", ".", "getObjectOffset", "(", "FI", ")", ";", "}", ""], "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": "AArch64FrameLowering103", "Func": "getFrameIndexReferencePreferSP", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14983, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "iq2000_initial_elimination_offset", "(", "int", "from", ",", "int", "to", "ATTRIBUTE_UNUSED", ")", "{", "int", "offset", ";", "compute_frame_size", "(", "get_frame_size", "(", ")", ")", ";", "if", "(", "(", "from", ")", "==", "FRAME_POINTER_REGNUM", ")", "(", "offset", ")", "=", "0", ";", "else", "if", "(", "(", "from", ")", "==", "ARG_POINTER_REGNUM", ")", "(", "offset", ")", "=", "(", "cfun", "->", "machine", "->", "total_size", ")", ";", "else", "if", "(", "(", "from", ")", "==", "RETURN_ADDRESS_POINTER_REGNUM", ")", "{", "if", "(", "leaf_function_p", "(", ")", ")", "(", "offset", ")", "=", "0", ";", "else", "(", "offset", ")", "=", "cfun", "->", "machine", "->", "gp_sp_offset", "+", "(", "(", "UNITS_PER_WORD", "-", "(", "POINTER_SIZE", "/", "BITS_PER_UNIT", ")", ")", "*", "(", "BYTES_BIG_ENDIAN", "!=", "0", ")", ")", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "return", "offset", ";", "}", ""], "natrual_language": ["Implement", "INITIAL_ELIMINATION_OFFSET", ".", "FROM", "is", "either", "the", "frame", "pointer", ",", "argument", "pointer", ",", "or", "return", "address", "pointer", ".", "TO", "is", "either", "the", "stack", "pointer", "or", "hard", "frame", "pointer", "."], "TS_V_token": ["iq2000", "0", "0", "0"], "File": "iq2000", "Func": "iq2000_initial_elimination_offset", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14984, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getLength", "(", ")", "const", "{", "return", "CurType", ".", "Length", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "bytes", "of", "data", "in", "this", "stream", "."], "TS_V_token": ["X86"], "File": "X86AsmParser (2)4", "Func": "getLength", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14985, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "getSubExpr", "(", ")", "const", "{", "return", "Expr", ";", "}", ""], "natrual_language": ["getSubExpr", "-", "Get", "the", "child", "of", "this", "expression", "."], "TS_V_token": ["DLX"], "File": "DLXMCExpr", "Func": "getSubExpr", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14986, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["PowerPC"], "File": "PPCCTRLoops", "Func": "getAnalysisUsage", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14987, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "maybe_unlink", "(", "const", "char", "*", "file", ")", "{", "if", "(", "!", "save_temps", ")", "{", "if", "(", "unlink_if_ordinary", "(", "file", ")", "&&", "errno", "!=", "ENOENT", ")", "fatal_error", "(", "input_location", ",", "\"deleting file %s: %m\"", ",", "file", ")", ";", "}", "else", "if", "(", "verbose", ")", "fprintf", "(", "stderr", ",", "\"[Leaving %s]\\n\"", ",", "file", ")", ";", "}", ""], "natrual_language": ["Unlink", "a", "temporary", "file", "unless", "requested", "otherwise", "."], "TS_V_token": ["i386", "\"deleting file %s: %m\"", "\"[Leaving %s]\\n\""], "File": "intelmic-mkoffload", "Func": "maybe_unlink", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14988, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_prepare_pch_save", "(", "void", ")", "{", "mips_set_compression_mode", "(", "0", ")", ";", "mips16_globals", "=", "0", ";", "micromips_globals", "=", "0", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PREPARE_PCH_SAVE", "."], "TS_V_token": ["mips", "0", "0", "0"], "File": "mips", "Func": "mips_prepare_pch_save", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14989, "Length": 21, "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": 14990, "Length": 384, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MipsInstrInfo", "::", "BranchType", "MipsInstrInfo", "::", "analyzeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "&", "TBB", ",", "MachineBasicBlock", "*", "&", "FBB", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "bool", "AllowModify", ",", "SmallVectorImpl", "<", "MachineInstr", "*", ">", "&", "BranchInstrs", ")", "const", "{", "MachineBasicBlock", "::", "reverse_iterator", "I", "=", "MBB", ".", "rbegin", "(", ")", ",", "REnd", "=", "MBB", ".", "rend", "(", ")", ";", "while", "(", "I", "!=", "REnd", "&&", "I", "->", "isDebugValue", "(", ")", ")", "++", "I", ";", "if", "(", "I", "==", "REnd", "||", "!", "isUnpredicatedTerminator", "(", "*", "I", ")", ")", "{", "TBB", "=", "FBB", "=", "nullptr", ";", "return", "BT_NoBranch", ";", "}", "MachineInstr", "*", "LastInst", "=", "&", "*", "I", ";", "unsigned", "LastOpc", "=", "LastInst", "->", "getOpcode", "(", ")", ";", "BranchInstrs", ".", "push_back", "(", "LastInst", ")", ";", "if", "(", "!", "getAnalyzableBrOpc", "(", "LastOpc", ")", ")", "return", "LastInst", "->", "isIndirectBranch", "(", ")", "?", "BT_Indirect", ":", "BT_None", ";", "unsigned", "SecondLastOpc", "=", "0", ";", "MachineInstr", "*", "SecondLastInst", "=", "nullptr", ";", "++", "I", ";", "while", "(", "I", "!=", "REnd", "&&", "I", "->", "isDebugValue", "(", ")", ")", "++", "I", ";", "if", "(", "I", "!=", "REnd", ")", "{", "SecondLastInst", "=", "&", "*", "I", ";", "SecondLastOpc", "=", "getAnalyzableBrOpc", "(", "SecondLastInst", "->", "getOpcode", "(", ")", ")", ";", "if", "(", "isUnpredicatedTerminator", "(", "*", "SecondLastInst", ")", "&&", "!", "SecondLastOpc", ")", "return", "BT_None", ";", "}", "if", "(", "!", "SecondLastOpc", ")", "{", "if", "(", "LastInst", "->", "isUnconditionalBranch", "(", ")", ")", "{", "TBB", "=", "LastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "return", "BT_Uncond", ";", "}", "AnalyzeCondBr", "(", "LastInst", ",", "LastOpc", ",", "TBB", ",", "Cond", ")", ";", "return", "BT_Cond", ";", "}", "if", "(", "++", "I", "!=", "REnd", "&&", "isUnpredicatedTerminator", "(", "*", "I", ")", ")", "return", "BT_None", ";", "BranchInstrs", ".", "insert", "(", "BranchInstrs", ".", "begin", "(", ")", ",", "SecondLastInst", ")", ";", "if", "(", "SecondLastInst", "->", "isUnconditionalBranch", "(", ")", ")", "{", "if", "(", "!", "AllowModify", ")", "return", "BT_None", ";", "TBB", "=", "SecondLastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "LastInst", "->", "eraseFromParent", "(", ")", ";", "BranchInstrs", ".", "pop_back", "(", ")", ";", "return", "BT_Uncond", ";", "}", "if", "(", "!", "LastInst", "->", "isUnconditionalBranch", "(", ")", ")", "return", "BT_None", ";", "AnalyzeCondBr", "(", "SecondLastInst", ",", "SecondLastOpc", ",", "TBB", ",", "Cond", ")", ";", "FBB", "=", "LastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "return", "BT_CondUncond", ";", "}", ""], "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": ["Mips", "Mips", "Mips", "0", "0", "0", "0"], "File": "MipsInstrInfo37", "Func": "analyzeBranch", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14991, "Length": 372, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "X86RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "RSP", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "ESP", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "SP", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "SPL", ")", ";", "if", "(", "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::RBP", "X86::EBP", "X86::BP", "X86::BPL", "X86::ST0", "X86::ST1", "X86::ST2", "X86::ST3", "X86::ST4", "X86::ST5", "X86::ST6", "X86::ST7"], "File": "X86RegisterInfo33", "Func": "getReservedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14992, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VEAsmPrinter", "::", "PrintAsmOperand", "(", "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", "AsmPrinter", "::", "PrintAsmOperand", "(", "MI", ",", "OpNo", ",", "ExtraCode", ",", "O", ")", ";", "case", "'r'", ":", "case", "'v'", ":", "break", ";", "}", "}", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["VE", "VE", "0", "1", "0", "0"], "File": "VEAsmPrinter3", "Func": "PrintAsmOperand", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14993, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "_Unwind_Control_Block", "*", "unwind_UCB_from_context", "(", "_Unwind_Context", "*", "context", ")", "{", "return", "(", "_Unwind_Control_Block", "*", ")", "_Unwind_GetGR", "(", "context", ",", "R_IP", ")", ";", "}", ""], "natrual_language": ["Get", "the", "_Unwind_Control_Block", "from", "an", "_Unwind_Context", "."], "TS_V_token": ["arm"], "File": "pr-support", "Func": "unwind_UCB_from_context", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14994, "Length": 24, "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", ";", "if", "(", "GV", "&&", "GV", "->", "isAbsoluteSymbolRef", "(", ")", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "if", "(", "TM", ".", "shouldAssumeDSOLocal", "(", "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_NO_FLAG", "X86II::MO_DLLIMPORT", "X86II::MO_GOTPCREL", "X86II::MO_DARWIN_NONLAZY", "X86II::MO_DARWIN_NONLAZY_PIC_BASE", "X86II::MO_GOT"], "File": "X86Subtarget83", "Func": "classifyGlobalReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14995, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "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"], "File": "AArch64RegisterInfo19", "Func": "requiresRegisterScavenging", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14996, "Length": 14, "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": 14997, "Length": 484, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "AArch64RegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "if", "(", "CC", "==", "CallingConv", "::", "GHC", ")", "return", "CSR_AArch64_NoRegs_RegMask", ";", "if", "(", "CC", "==", "CallingConv", "::", "AnyReg", ")", "return", "CSR_AArch64_AllRegs_RegMask", ";", "if", "(", "CC", "==", "CallingConv", "::", "CXX_FAST_TLS", ")", "return", "CSR_AArch64_CXX_TLS_Darwin_RegMask", ";", "if", "(", "CC", "==", "CallingConv", "::", "AArch64_SVE_VectorCall", ")", "return", "CSR_AArch64_SVE_AAPCS_RegMask", ";", "if", "(", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "getTargetLowering", "(", ")", "->", "supportSwiftError", "(", ")", "&&", "MF", ".", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ".", "hasAttrSomewhere", "(", "Attribute", "::", "SwiftError", ")", ")", "return", "CSR_AArch64_AAPCS_SwiftError_RegMask", ";", "if", "(", "CC", "==", "CallingConv", "::", "PreserveMost", ")", "return", "CSR_AArch64_RT_MostRegs_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", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64RegisterInfo41", "Func": "getCallPreservedMask", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 14998, "Length": 118, "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", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "TARGET_IEEEQUAD", "&&", "mode", "==", "TFmode", ")", "{", "if", "(", "TARGET_DEBUG_ARG", ")", "fprintf", "(", "stderr", ",", "\"function_arg_pass_by_reference: V4 long double\\n\"", ")", ";", "return", "1", ";", "}", "if", "(", "!", "type", ")", "return", "0", ";", "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", "(", "0", ",", "\"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", "\"function_arg_pass_by_reference: V4 long double\\n\"", "1", "0", "\"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\"", "0", "\"GCC vector passed by reference: \"", "\"non-standard ABI extension with no compatibility guarantee\"", "1", "0"], "File": "rs60004", "Func": "rs6000_pass_by_reference", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14999, "Length": 202, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86IndirectBranchTrackingPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "X86Subtarget", "&", "SubTarget", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "Metadata", "*", "isCFProtectionSupported", "=", "MF", ".", "getMMI", "(", ")", ".", "getModule", "(", ")", "->", "getModuleFlag", "(", "\"cf-protection-branch\"", ")", ";", "if", "(", "!", "isCFProtectionSupported", "&&", "!", "IndirectBranchTracking", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "TII", "=", "SubTarget", ".", "getInstrInfo", "(", ")", ";", "EndbrOpcode", "=", "SubTarget", ".", "is64Bit", "(", ")", "?", "X86", "::", "ENDBR64", ":", "X86", "::", "ENDBR32", ";", "if", "(", "(", "MF", ".", "getFunction", "(", ")", ".", "hasAddressTaken", "(", ")", "||", "!", "MF", ".", "getFunction", "(", ")", ".", "hasLocalLinkage", "(", ")", ")", "&&", "!", "MF", ".", "getFunction", "(", ")", ".", "doesNoCfCheck", "(", ")", ")", "{", "auto", "MBB", "=", "MF", ".", "begin", "(", ")", ";", "Changed", "|=", "addENDBR", "(", "*", "MBB", ",", "MBB", "->", "begin", "(", ")", ")", ";", "}", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "if", "(", "MBB", ".", "hasAddressTaken", "(", ")", ")", "Changed", "|=", "addENDBR", "(", "MBB", ",", "MBB", ".", "begin", "(", ")", ")", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ";", "I", "!=", "MBB", ".", "end", "(", ")", ";", "++", "I", ")", "{", "if", "(", "!", "I", "->", "isCall", "(", ")", ")", "continue", ";", "if", "(", "IsCallReturnTwice", "(", "I", "->", "getOperand", "(", "0", ")", ")", ")", "Changed", "|=", "addENDBR", "(", "MBB", ",", "std", "::", "next", "(", "I", ")", ")", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "\"cf-protection-branch\"", "X86::ENDBR64", "X86::ENDBR32", "0"], "File": "X86IndirectBranchTracking16", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15000, "Length": 242, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_scalar_mode_supported_p", "(", "scalar_mode", "mode", ")", "{", "return", "(", "mode", "==", "HFmode", "?", "true", ":", "default_scalar_mode_supported_p", "(", "mode", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SCALAR_MODE_SUPPORTED_P", "-", "return", "TRUE", "if", "MODE", "is", "HFmode", ",", "and", "punt", "to", "the", "generic", "implementation", "otherwise", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_scalar_mode_supported_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15001, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "Cpu0TargetLowering", "::", "getTargetNode", "(", "JumpTableSDNode", "*", "N", ",", "EVT", "Ty", ",", "SelectionDAG", "&", "DAG", ",", "unsigned", "Flag", ")", "const", "{", "return", "DAG", ".", "getTargetJumpTable", "(", "N", "->", "getIndex", "(", ")", ",", "Ty", ",", "Flag", ")", ";", "}", ""], "natrual_language": ["Retrieve", "the", "target", "node", "this", "edge", "connects", "to", "."], "TS_V_token": ["Cpu0", "Cpu0"], "File": "Cpu0ISelLowering", "Func": "getTargetNode", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15002, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mep_mul_hilo_bypass_p", "(", "rtx_insn", "*", "prev", ",", "rtx_insn", "*", "insn", ")", "{", "rtx", "pat", ";", "pat", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", ")", "pat", "=", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "!=", "SET", ")", "return", "false", ";", "subrtx_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX", "(", "iter", ",", "array", ",", "SET_SRC", "(", "pat", ")", ",", "NONCONST", ")", "{", "const_rtx", "x", "=", "*", "iter", ";", "if", "(", "REG_P", "(", "x", ")", "&&", "REGNO", "(", "x", ")", "!=", "LO_REGNO", "&&", "REGNO", "(", "x", ")", "!=", "HI_REGNO", "&&", "reg_set_p", "(", "x", ",", "prev", ")", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", ",", "apart", "from", "HI/LO", ",", "there", "are", "no", "true", "dependencies", "between", "multiplication", "instructions", "PREV", "and", "INSN", "."], "TS_V_token": ["mep", "0", "0"], "File": "mep", "Func": "mep_mul_hilo_bypass_p", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15003, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "handle_arm_sve_vector_bits_attribute", "(", "tree", "*", "node", ",", "tree", ",", "tree", "args", ",", "int", ",", "bool", "*", "no_add_attrs", ")", "{", "*", "no_add_attrs", "=", "true", ";", "tree", "type", "=", "*", "node", ";", "tree", "attr", "=", "lookup_sve_type_attribute", "(", "type", ")", ";", "if", "(", "!", "attr", ")", "{", "error", "(", "\"%qs applied to non-SVE type %qT\"", ",", "\"arm_sve_vector_bits\"", ",", "type", ")", ";", "return", "NULL_TREE", ";", "}", "if", "(", "!", "VECTOR_TYPE_P", "(", "type", ")", ")", "{", "error", "(", "\"%qs applied to non-vector type %qT\"", ",", "\"arm_sve_vector_bits\"", ",", "type", ")", ";", "return", "NULL_TREE", ";", "}", "if", "(", "!", "sizeless_type_p", "(", "type", ")", ")", "{", "error", "(", "\"%qs applied to type %qT, which already has a size\"", ",", "\"arm_sve_vector_bits\"", ",", "type", ")", ";", "return", "NULL_TREE", ";", "}", "tree", "size", "=", "TREE_VALUE", "(", "args", ")", ";", "if", "(", "TREE_CODE", "(", "size", ")", "!=", "INTEGER_CST", ")", "{", "error", "(", "\"%qs requires an integer constant expression\"", ",", "\"arm_sve_vector_bits\"", ")", ";", "return", "NULL_TREE", ";", "}", "unsigned", "HOST_WIDE_INT", "value", "=", "tree_to_uhwi", "(", "size", ")", ";", "if", "(", "maybe_ne", "(", "value", ",", "BITS_PER_SVE_VECTOR", ")", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"unsupported SVE vector size\"", ")", ";", "return", "NULL_TREE", ";", "}", "tree", "new_sve_type_args", "=", "copy_list", "(", "TREE_VALUE", "(", "attr", ")", ")", ";", "tree", "mangled_name_node", "=", "chain_index", "(", "2", ",", "new_sve_type_args", ")", ";", "const", "char", "*", "old_mangled_name", "=", "IDENTIFIER_POINTER", "(", "TREE_VALUE", "(", "mangled_name_node", ")", ")", ";", "char", "*", "new_mangled_name", "=", "xasprintf", "(", "\"9__SVE_VLSI%sLj%dEE\"", ",", "old_mangled_name", ",", "(", "int", ")", "value", ")", ";", "TREE_VALUE", "(", "mangled_name_node", ")", "=", "get_identifier", "(", "new_mangled_name", ")", ";", "free", "(", "new_mangled_name", ")", ";", "tree", "new_type", ";", "tree", "base_type", "=", "TYPE_MAIN_VARIANT", "(", "type", ")", ";", "if", "(", "lang_GNU_C", "(", ")", "&&", "VECTOR_BOOLEAN_TYPE_P", "(", "type", ")", ")", "new_type", "=", "build_variant_type_copy", "(", "base_type", ")", ";", "else", "new_type", "=", "build_distinct_type_copy", "(", "base_type", ")", ";", "tree", "acle_name_node", "=", "TREE_CHAIN", "(", "mangled_name_node", ")", ";", "const", "char", "*", "old_type_name", "=", "IDENTIFIER_POINTER", "(", "TREE_VALUE", "(", "acle_name_node", ")", ")", ";", "char", "*", "new_type_name", "=", "xasprintf", "(", "\"%s __attribute__((arm_sve_vector_bits(%d)))\"", ",", "old_type_name", ",", "(", "int", ")", "value", ")", ";", "tree", "decl", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "TYPE_DECL", ",", "get_identifier", "(", "new_type_name", ")", ",", "new_type", ")", ";", "DECL_ARTIFICIAL", "(", "decl", ")", "=", "1", ";", "TYPE_NAME", "(", "new_type", ")", "=", "decl", ";", "free", "(", "new_type_name", ")", ";", "if", "(", "!", "VECTOR_BOOLEAN_TYPE_P", "(", "new_type", ")", ")", "TYPE_INDIVISIBLE_P", "(", "new_type", ")", "=", "0", ";", "TYPE_ATTRIBUTES", "(", "new_type", ")", "=", "get_arm_sve_vector_bits_attributes", "(", "TYPE_ATTRIBUTES", "(", "new_type", ")", ",", "new_sve_type_args", ")", ";", "if", "(", "TYPE_ATTRIBUTES", "(", "base_type", ")", "!=", "TYPE_ATTRIBUTES", "(", "type", ")", "||", "TYPE_QUALS", "(", "base_type", ")", "!=", "TYPE_QUALS", "(", "type", ")", ")", "{", "tree", "attrs", "=", "get_arm_sve_vector_bits_attributes", "(", "TYPE_ATTRIBUTES", "(", "type", ")", ",", "new_sve_type_args", ")", ";", "new_type", "=", "build_type_attribute_qual_variant", "(", "new_type", ",", "attrs", ",", "TYPE_QUALS", "(", "type", ")", ")", ";", "}", "if", "(", "TYPE_ALIGN", "(", "base_type", ")", "!=", "TYPE_ALIGN", "(", "type", ")", ")", "new_type", "=", "build_aligned_type", "(", "new_type", ",", "TYPE_ALIGN", "(", "type", ")", ")", ";", "*", "node", "=", "new_type", ";", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["An", "attribute", "callback", "for", "the", "``", "arm_sve_vector_bits", "''", "attribute", "."], "TS_V_token": ["aarch64", "\"%qs applied to non-SVE type %qT\"", "\"arm_sve_vector_bits\"", "\"%qs applied to non-vector type %qT\"", "\"arm_sve_vector_bits\"", "\"%qs applied to type %qT, which already has a size\"", "\"arm_sve_vector_bits\"", "\"%qs requires an integer constant expression\"", "\"arm_sve_vector_bits\"", "\"unsupported SVE vector size\"", "2", "\"9__SVE_VLSI%sLj%dEE\"", "\"%s __attribute__((arm_sve_vector_bits(%d)))\"", "1", "0"], "File": "aarch64-sve-builtins1", "Func": "handle_arm_sve_vector_bits_attribute", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15004, "Length": 449, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMSubtarget", "::", "enablePostRAScheduler", "(", "CodeGenOpt", "::", "Level", "OptLevel", ",", "TargetSubtargetInfo", "::", "AntiDepBreakMode", "&", "Mode", ",", "RegClassVector", "&", "CriticalPathRCs", ")", "const", "{", "Mode", "=", "TargetSubtargetInfo", "::", "ANTIDEP_CRITICAL", ";", "CriticalPathRCs", ".", "clear", "(", ")", ";", "CriticalPathRCs", ".", "push_back", "(", "&", "ARM", "::", "GPRRegClass", ")", ";", "return", "PostRAScheduler", "&&", "OptLevel", ">=", "CodeGenOpt", "::", "Default", ";", "}", ""], "natrual_language": ["True", "if", "the", "subtarget", "should", "run", "a", "scheduler", "after", "register", "allocation", "."], "TS_V_token": ["ARM", "ARM", "ARM::GPRRegClass"], "File": "ARMSubtarget1", "Func": "enablePostRAScheduler", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15005, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "isSafeToMoveRegClassDefs", "(", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "return", "!", "(", "RC", "==", "&", "X86", "::", "CCRRegClass", "||", "RC", "==", "&", "X86", "::", "RFP32RegClass", "||", "RC", "==", "&", "X86", "::", "RFP64RegClass", "||", "RC", "==", "&", "X86", "::", "RFP80RegClass", ")", ";", "}", ""], "natrual_language": ["isSafeToMoveRegClassDefs", "-", "Return", "true", "if", "it", "'s", "safe", "to", "move", "a", "machine", "instruction", "that", "defines", "the", "specified", "register", "class", "."], "TS_V_token": ["X86", "X86", "X86::CCRRegClass", "X86::RFP32RegClass", "X86::RFP64RegClass", "X86::RFP80RegClass"], "File": "X86InstrInfo (2)", "Func": "isSafeToMoveRegClassDefs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15006, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mips_unspec_address", "(", "rtx", "address", ",", "enum", "mips_symbol_type", "symbol_type", ")", "{", "rtx", "base", ",", "offset", ";", "split_const", "(", "address", ",", "&", "base", ",", "&", "offset", ")", ";", "return", "mips_unspec_address_offset", "(", "base", ",", "offset", ",", "symbol_type", ")", ";", "}", ""], "natrual_language": ["Return", "an", "UNSPEC", "address", "with", "underlying", "address", "ADDRESS", "and", "symbol", "type", "SYMBOL_TYPE", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_unspec_address", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15007, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCDisassembler", "::", "DecodeStatus", "X86GenericDisassembler", "::", "getInstruction", "(", "MCInst", "&", "instr", ",", "uint64_t", "&", "size", ",", "const", "MemoryObject", "&", "region", ",", "uint64_t", "address", ",", "raw_ostream", "&", "vStream", ",", "raw_ostream", "&", "cStream", ")", "const", "{", "CommentStream", "=", "&", "cStream", ";", "InternalInstruction", "internalInstr", ";", "dlog_t", "loggerFn", "=", "logger", ";", "if", "(", "&", "vStream", "==", "&", "nulls", "(", ")", ")", "loggerFn", "=", "0", ";", "int", "ret", "=", "decodeInstruction", "(", "&", "internalInstr", ",", "regionReader", ",", "(", "const", "void", "*", ")", "&", "region", ",", "loggerFn", ",", "(", "void", "*", ")", "&", "vStream", ",", "(", "const", "void", "*", ")", "MII", ",", "address", ",", "fMode", ")", ";", "if", "(", "ret", ")", "{", "size", "=", "internalInstr", ".", "readerCursor", "-", "address", ";", "return", "Fail", ";", "}", "else", "{", "size", "=", "internalInstr", ".", "length", ";", "return", "(", "!", "translateInstruction", "(", "instr", ",", "internalInstr", ",", "this", ")", ")", "?", "Success", ":", "Fail", ";", "}", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["X86", "X86", "0"], "File": "X86Disassembler1", "Func": "getInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15008, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_le_vsx_move", "(", "rtx", "dest", ",", "rtx", "source", ",", "machine_mode", "mode", ")", "{", "gcc_assert", "(", "!", "BYTES_BIG_ENDIAN", "&&", "VECTOR_MEM_VSX_P", "(", "mode", ")", "&&", "!", "TARGET_P9_VECTOR", "&&", "!", "gpr_or_gpr_p", "(", "dest", ",", "source", ")", "&&", "(", "MEM_P", "(", "source", ")", "^", "MEM_P", "(", "dest", ")", ")", ")", ";", "if", "(", "MEM_P", "(", "source", ")", ")", "{", "gcc_assert", "(", "REG_P", "(", "dest", ")", "||", "SUBREG_P", "(", "dest", ")", ")", ";", "rs6000_emit_le_vsx_load", "(", "dest", ",", "source", ",", "mode", ")", ";", "}", "else", "{", "if", "(", "!", "REG_P", "(", "source", ")", ")", "source", "=", "force_reg", "(", "mode", ",", "source", ")", ";", "rs6000_emit_le_vsx_store", "(", "dest", ",", "source", ",", "mode", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "a", "sequence", "representing", "a", "little-endian", "VSX", "load", "or", "store", ",", "moving", "data", "from", "SOURCE", "to", "DEST", "in", "mode", "MODE", ".", "This", "is", "done", "separately", "from", "rs6000_emit_move", "to", "ensure", "it", "is", "called", "only", "during", "expand", ".", "LE", "VSX", "loads", "and", "stores", "introduced", "later", "are", "handled", "with", "a", "split", ".", "The", "expand-time", "RTL", "generation", "allows", "us", "to", "optimize", "away", "redundant", "pairs", "of", "register-permutes", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_emit_le_vsx_move", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15009, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isCandidateToMergeOrPair", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "bool", "IsPreLdSt", "=", "isPreLdSt", "(", "MI", ")", ";", "if", "(", "MI", ".", "hasOrderedMemoryRef", "(", ")", ")", "return", "false", ";", "assert", "(", "(", "MI", ".", "getOperand", "(", "IsPreLdSt", "?", "2", ":", "1", ")", ".", "isReg", "(", ")", "||", "MI", ".", "getOperand", "(", "IsPreLdSt", "?", "2", ":", "1", ")", ".", "isFI", "(", ")", ")", "&&", "\"Expected a reg or frame index operand.\"", ")", ";", "bool", "IsImmPreLdSt", "=", "IsPreLdSt", "&&", "MI", ".", "getOperand", "(", "3", ")", ".", "isImm", "(", ")", ";", "if", "(", "!", "MI", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", "&&", "!", "IsImmPreLdSt", ")", "return", "false", ";", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "&&", "!", "IsPreLdSt", ")", "{", "Register", "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", "2", "1", "2", "1", "\"Expected a reg or frame index operand.\"", "3", "2", "1", "1", "AArch64::LDURQi", "AArch64::STURQi", "AArch64::LDRQui", "AArch64::STRQui"], "File": "AArch64InstrInfo105", "Func": "isCandidateToMergeOrPair", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15010, "Length": 290, "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": 15011, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getReg", "(", ")", "const", "override", "{", "assert", "(", "Kind", "==", "k_Register", "&&", "\"Invalid access!\"", ")", ";", "return", "Reg", ".", "Num", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["OR1K", "\"Invalid access!\""], "File": "OR1KAsmParser1", "Func": "getReg", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15012, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "TeeRISCDisassembler", "::", "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", "(", "DecoderTableTeeRISC32", ",", "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": ["TeeRISC", "TeeRISC", "TeeRISC", "4"], "File": "TeeRISCDisassembler", "Func": "getInstruction", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15013, "Length": 101, "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": ["DLX"], "File": "DLXMCExpr", "Func": "classof", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15014, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_emit_i387_log1p", "(", "rtx", "op0", ",", "rtx", "op1", ")", "{", "rtx_code_label", "*", "label1", "=", "gen_label_rtx", "(", ")", ";", "rtx_code_label", "*", "label2", "=", "gen_label_rtx", "(", ")", ";", "rtx", "tmp", "=", "gen_reg_rtx", "(", "XFmode", ")", ";", "rtx", "tmp2", "=", "gen_reg_rtx", "(", "XFmode", ")", ";", "rtx", "test", ";", "emit_insn", "(", "gen_absxf2", "(", "tmp", ",", "op1", ")", ")", ";", "test", "=", "gen_rtx_GE", "(", "VOIDmode", ",", "tmp", ",", "CONST_DOUBLE_FROM_REAL_VALUE", "(", "REAL_VALUE_ATOF", "(", "\"0.29289321881345247561810596348408353\"", ",", "XFmode", ")", ",", "XFmode", ")", ")", ";", "emit_jump_insn", "(", "gen_cbranchxf4", "(", "test", ",", "XEXP", "(", "test", ",", "0", ")", ",", "XEXP", "(", "test", ",", "1", ")", ",", "label1", ")", ")", ";", "emit_move_insn", "(", "tmp2", ",", "standard_80387_constant_rtx", "(", "4", ")", ")", ";", "emit_insn", "(", "gen_fyl2xp1xf3_i387", "(", "op0", ",", "op1", ",", "tmp2", ")", ")", ";", "emit_jump", "(", "label2", ")", ";", "emit_label", "(", "label1", ")", ";", "emit_move_insn", "(", "tmp", ",", "CONST1_RTX", "(", "XFmode", ")", ")", ";", "emit_insn", "(", "gen_addxf3", "(", "tmp", ",", "op1", ",", "tmp", ")", ")", ";", "emit_move_insn", "(", "tmp2", ",", "standard_80387_constant_rtx", "(", "4", ")", ")", ";", "emit_insn", "(", "gen_fyl2xxf3_i387", "(", "op0", ",", "tmp", ",", "tmp2", ")", ")", ";", "emit_label", "(", "label2", ")", ";", "}", ""], "natrual_language": ["Output", "code", "to", "perform", "a", "log1p", "XFmode", "calculation", "."], "TS_V_token": ["i386", "\"0.29289321881345247561810596348408353\"", "0", "1", "4", "4"], "File": "i3864", "Func": "ix86_emit_i387_log1p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15015, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isReg", "(", ")", "const", "override", "{", "return", "Kind", "==", "REGISTER", ";", "}", ""], "natrual_language": ["isReg", "-", "Is", "this", "a", "register", "operand", "?"], "TS_V_token": ["Lanai"], "File": "LanaiAsmParser (2)", "Func": "isReg", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15016, "Length": 13, "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": 15017, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "or1k_return_addr", "(", "int", ",", "rtx", "frame", ")", "{", "return", "gen_frame_mem", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "frame", ",", "-", "UNITS_PER_WORD", ")", ")", ";", "}", ""], "natrual_language": ["Worker", "for", "RETURN_ADDR_RTX", ".", "Returns", "the", "RTX", "representing", "the", "address", "of", "where", "the", "link", "register", "may", "be", "stored", "on", "the", "stack", "."], "TS_V_token": ["or1k"], "File": "or1k", "Func": "or1k_return_addr", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15018, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "shouldExpandAtomicLoadInIR", "(", "LoadInst", "*", "SI", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "(", "atomic", ")", "load", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering188", "Func": "shouldExpandAtomicLoadInIR", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15019, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mips_loongson_ext2_prefetch_cookie", "(", "rtx", "write", ",", "rtx", ")", "{", "if", "(", "INTVAL", "(", "write", ")", "==", "1", ")", "return", "GEN_INT", "(", "INTVAL", "(", "write", ")", ")", ";", "if", "(", "INTVAL", "(", "write", ")", "==", "0", ")", "return", "GEN_INT", "(", "INTVAL", "(", "write", ")", ")", ";", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Loongson", "EXT2", "only", "implements", "pref", "hint=0", "(", "prefetch", "for", "load", ")", "and", "hint=1", "(", "prefetch", "for", "store", ")", ",", "other", "hint", "just", "scale", "to", "hint", "=", "0", "and", "hint", "=", "1", "."], "TS_V_token": ["mips", "1", "0"], "File": "mips", "Func": "mips_loongson_ext2_prefetch_cookie", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15020, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintWeight", "DLXTargetLowering", "::", "getSingleConstraintMatchWeight", "(", "AsmOperandInfo", "&", "Info", ",", "const", "char", "*", "Constraint", ")", "const", "{", "ConstraintWeight", "Weight", "=", "CW_Invalid", ";", "return", "Weight", ";", "}", ""], "natrual_language": ["Examine", "constraint", "string", "and", "operand", "type", "and", "determine", "a", "weight", "value", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXISelLowering", "Func": "getSingleConstraintMatchWeight", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15021, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "i386_pe_seh_end_prologue", "(", "FILE", "*", "f", ")", "{", "struct", "seh_frame_state", "*", "seh", ";", "if", "(", "!", "TARGET_SEH", ")", "return", ";", "if", "(", "cfun", "->", "is_thunk", ")", "return", ";", "seh", "=", "cfun", "->", "machine", "->", "seh", ";", "XDELETE", "(", "seh", ")", ";", "cfun", "->", "machine", "->", "seh", "=", "NULL", ";", "fputs", "(", "\"\\t.seh_endprologue\\n\"", ",", "f", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "assembler", "directive", "for", "the", "end", "of", "the", "prologue", "."], "TS_V_token": ["i386", "\"\\t.seh_endprologue\\n\""], "File": "winnt4", "Func": "i386_pe_seh_end_prologue", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15022, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSEInstrInfo", "::", "isBranchWithImm", "(", "unsigned", "Opc", ")", "const", "{", "switch", "(", "Opc", ")", "{", "default", ":", "return", "false", ";", "case", "Mips", "::", "BBIT0", ":", "case", "Mips", "::", "BBIT1", ":", "case", "Mips", "::", "BBIT032", ":", "case", "Mips", "::", "BBIT132", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["isBranchWithImm", "-", "Return", "true", "if", "the", "branch", "contains", "an", "immediate", "operand", "("], "TS_V_token": ["Mips", "Mips", "Mips::BBIT0", "Mips::BBIT1", "Mips::BBIT032", "Mips::BBIT132"], "File": "MipsSEInstrInfo23", "Func": "isBranchWithImm", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15023, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Instruction", "*", "VETargetLowering", "::", "emitLeadingFence", "(", "IRBuilderBase", "&", "Builder", ",", "Instruction", "*", "Inst", ",", "AtomicOrdering", "Ord", ")", "const", "{", "switch", "(", "Ord", ")", "{", "case", "AtomicOrdering", "::", "NotAtomic", ":", "case", "AtomicOrdering", "::", "Unordered", ":", "llvm_unreachable", "(", "\"Invalid fence: unordered/non-atomic\"", ")", ";", "case", "AtomicOrdering", "::", "Monotonic", ":", "case", "AtomicOrdering", "::", "Acquire", ":", "return", "nullptr", ";", "case", "AtomicOrdering", "::", "Release", ":", "case", "AtomicOrdering", "::", "AcquireRelease", ":", "return", "Builder", ".", "CreateFence", "(", "AtomicOrdering", "::", "Release", ")", ";", "case", "AtomicOrdering", "::", "SequentiallyConsistent", ":", "if", "(", "!", "Inst", "->", "hasAtomicStore", "(", ")", ")", "return", "nullptr", ";", "return", "Builder", ".", "CreateFence", "(", "AtomicOrdering", "::", "SequentiallyConsistent", ")", ";", "}", "llvm_unreachable", "(", "\"Unknown fence ordering in emitLeadingFence\"", ")", ";", "}", ""], "natrual_language": ["Custom", "Lower", "{", "."], "TS_V_token": ["VE", "VE", "\"Invalid fence: unordered/non-atomic\"", "\"Unknown fence ordering in emitLeadingFence\""], "File": "VEISelLowering18", "Func": "emitLeadingFence", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15024, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "set_of_reg", "sh_find_set_of_reg", "(", "rtx", "reg", ",", "rtx_insn", "*", "insn", ",", "F", "stepfunc", ",", "bool", "ignore_reg_reg_copies", "=", "false", ")", "{", "set_of_reg", "result", ";", "result", ".", "insn", "=", "insn", ";", "result", ".", "set_rtx", "=", "NULL_RTX", ";", "result", ".", "set_src", "=", "NULL_RTX", ";", "if", "(", "!", "REG_P", "(", "reg", ")", "||", "insn", "==", "NULL_RTX", ")", "return", "result", ";", "for", "(", "rtx_insn", "*", "i", "=", "stepfunc", "(", "insn", ")", ";", "i", "!=", "NULL_RTX", ";", "i", "=", "stepfunc", "(", "i", ")", ")", "{", "if", "(", "BARRIER_P", "(", "i", ")", ")", "break", ";", "if", "(", "!", "INSN_P", "(", "i", ")", "||", "DEBUG_INSN_P", "(", "i", ")", ")", "continue", ";", "if", "(", "reg_set_p", "(", "reg", ",", "i", ")", ")", "{", "if", "(", "CALL_P", "(", "i", ")", ")", "break", ";", "result", ".", "insn", "=", "i", ";", "result", ".", "set_rtx", "=", "set_of", "(", "reg", ",", "i", ")", ";", "if", "(", "result", ".", "set_rtx", "==", "NULL_RTX", "||", "GET_CODE", "(", "result", ".", "set_rtx", ")", "!=", "SET", ")", "break", ";", "result", ".", "set_src", "=", "XEXP", "(", "result", ".", "set_rtx", ",", "1", ")", ";", "if", "(", "ignore_reg_reg_copies", "&&", "REG_P", "(", "result", ".", "set_src", ")", ")", "{", "reg", "=", "result", ".", "set_src", ";", "continue", ";", "}", "if", "(", "ignore_reg_reg_copies", "&&", "SUBREG_P", "(", "result", ".", "set_src", ")", "&&", "REG_P", "(", "SUBREG_REG", "(", "result", ".", "set_src", ")", ")", ")", "{", "reg", "=", "SUBREG_REG", "(", "result", ".", "set_src", ")", ";", "continue", ";", "}", "break", ";", "}", "}", "if", "(", "result", ".", "set_src", "!=", "NULL", ")", "gcc_assert", "(", "result", ".", "insn", "!=", "NULL", "&&", "result", ".", "set_rtx", "!=", "NULL", ")", ";", "return", "result", ";", "}", ""], "natrual_language": ["Given", "a", "reg", "rtx", "and", "a", "start", "insn", ",", "try", "to", "find", "the", "insn", "that", "sets", "the", "specified", "reg", "by", "using", "the", "specified", "insn", "stepping", "function", ",", "such", "as", "'prev_nonnote_insn_bb", "'", ".", "When", "the", "insn", "is", "found", ",", "try", "to", "extract", "the", "rtx", "of", "the", "reg", "set", "."], "TS_V_token": ["sh", "1"], "File": "sh-protos7", "Func": "sh_find_set_of_reg", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15025, "Length": 257, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "canMergeStoresTo", "(", "unsigned", "AddressSpace", ",", "EVT", "MemVT", ",", "const", "SelectionDAG", "&", "DAG", ")", "const", "{", "bool", "NoFloat", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ";", "if", "(", "NoFloat", ")", "{", "unsigned", "MaxIntSize", "=", "Subtarget", ".", "is64Bit", "(", ")", "?", "64", ":", "32", ";", "return", "(", "MemVT", ".", "getSizeInBits", "(", ")", "<=", "MaxIntSize", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "if", "it", "'s", "reasonable", "to", "merge", "stores", "to", "MemVT", "size", "."], "TS_V_token": ["X86", "X86", "64", "32"], "File": "X86ISelLowering (2)8", "Func": "canMergeStoresTo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15026, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCPassConfig", "::", "addPreISel", "(", ")", "{", "if", "(", "!", "DisablePreIncPrep", "&&", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createPPCLoopPreIncPrepPass", "(", "getPPCTargetMachine", "(", ")", ")", ")", ";", "if", "(", "!", "DisableCTRLoops", "&&", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createPPCCTRLoops", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC"], "File": "PPCTargetMachine14", "Func": "addPreISel", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15027, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CSKYConstantIslands", "::", "isBBInRange", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "DestBB", ",", "unsigned", "MaxDisp", ")", "{", "unsigned", "BrOffset", "=", "getOffsetOf", "(", "MI", ")", ";", "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": ["CSKY", "CSKY", "\"Branch of destination \"", "\" from \"", "\" max delta=\"", "\" from \"", "\" to \"", "\" offset \"", "\"\\t\""], "File": "CSKYConstantIslandPass", "Func": "isBBInRange", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15028, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "mips_starting_frame_offset", "(", "void", ")", "{", "if", "(", "FRAME_GROWS_DOWNWARD", ")", "return", "0", ";", "return", "crtl", "->", "outgoing_args_size", "+", "MIPS_GP_SAVE_AREA_SIZE", ";", "}", ""], "natrual_language": ["Implement", "TARGET_STARTING_FRAME_OFFSET", ".", "See", "mips_compute_frame_info", "for", "details", "about", "the", "frame", "layout", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips_starting_frame_offset", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15029, "Length": 22, "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", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "PPCFunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", ";", "unsigned", "LR", "=", "RegInfo", "->", "getRARegister", "(", ")", ";", "FI", "->", "setMustSaveLR", "(", "MustSaveLR", "(", "MF", ",", "LR", ")", ")", ";", "SavedRegs", ".", "reset", "(", "LR", ")", ";", "int", "FPSI", "=", "FI", "->", "getFramePointerSaveIndex", "(", ")", ";", "const", "bool", "isPPC64", "=", "Subtarget", ".", "isPPC64", "(", ")", ";", "const", "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", "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": "PPCFrameLowering64", "Func": "determineCalleeSaves", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15030, "Length": 423, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Cpu0Subtarget", "&", "Cpu0Subtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetMachine", "&", "TM", ")", "{", "if", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "cpu0", "||", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "cpu0el", ")", "{", "if", "(", "CPU", ".", "empty", "(", ")", "||", "CPU", "==", "\"generic\"", ")", "{", "CPU", "=", "\"cpu032II\"", ";", "}", "else", "if", "(", "CPU", "==", "\"help\"", ")", "{", "CPU", "=", "\"\"", ";", "return", "*", "this", ";", "}", "else", "if", "(", "CPU", "!=", "\"cpu032I\"", "&&", "CPU", "!=", "\"cpu032II\"", ")", "{", "CPU", "=", "\"cpu032II\"", ";", "}", "}", "else", "{", "errs", "(", ")", "<<", "\"!!!Error, TargetTriple.getArch() = \"", "<<", "TargetTriple", ".", "getArch", "(", ")", "<<", "\"CPU = \"", "<<", "CPU", "<<", "\"\\n\"", ";", "exit", "(", "0", ")", ";", "}", "if", "(", "CPU", "==", "\"cpu032I\"", ")", "Cpu0ArchVersion", "=", "Cpu032I", ";", "else", "if", "(", "CPU", "==", "\"cpu032II\"", ")", "Cpu0ArchVersion", "=", "Cpu032II", ";", "if", "(", "isCpu032I", "(", ")", ")", "{", "HasCmp", "=", "true", ";", "HasSlt", "=", "false", ";", "}", "else", "if", "(", "isCpu032II", "(", ")", ")", "{", "HasCmp", "=", "true", ";", "HasSlt", "=", "true", ";", "}", "else", "{", "errs", "(", ")", "<<", "\"-mcpu must be empty(default:cpu032II), cpu032I or cpu032II\"", "<<", "\"\\n\"", ";", "}", "ParseSubtargetFeatures", "(", "CPU", ",", "FS", ")", ";", "InstrItins", "=", "getInstrItineraryForCPU", "(", "CPU", ")", ";", "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": ["Cpu0", "Cpu0", "Cpu0", "\"generic\"", "\"cpu032II\"", "\"help\"", "\"\"", "\"cpu032I\"", "\"cpu032II\"", "\"cpu032II\"", "\"!!!Error, TargetTriple.getArch() = \"", "\"CPU = \"", "\"\\n\"", "0", "\"cpu032I\"", "Cpu0", "Cpu0", "\"cpu032II\"", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "\"-mcpu must be empty(default:cpu032II), cpu032I or cpu032II\"", "\"\\n\""], "File": "Cpu0Subtarget", "Func": "initializeSubtargetDependencies", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15031, "Length": 204, "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": 15032, "Length": 312, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CollectLOH", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** AArch64 Collect LOH **********\\n\"", "<<", "\"Looking in function \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "LOHInfo", "LOHInfos", "[", "N_GPR_REGS", "]", ";", "AArch64FunctionInfo", "&", "AFI", "=", "*", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "for", "(", "const", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "memset", "(", "LOHInfos", ",", "0", ",", "sizeof", "(", "LOHInfos", ")", ")", ";", "for", "(", "const", "MachineBasicBlock", "*", "Succ", ":", "MBB", ".", "successors", "(", ")", ")", "{", "for", "(", "const", "auto", "&", "LI", ":", "Succ", "->", "liveins", "(", ")", ")", "{", "int", "RegIdx", "=", "mapRegToGPRIndex", "(", "LI", ".", "PhysReg", ")", ";", "if", "(", "RegIdx", ">=", "0", ")", "LOHInfos", "[", "RegIdx", "]", ".", "OneUser", "=", "true", ";", "}", "}", "for", "(", "const", "MachineInstr", "&", "MI", ":", "make_range", "(", "MBB", ".", "rbegin", "(", ")", ",", "MBB", ".", "rend", "(", ")", ")", ")", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "case", "AArch64", "::", "ADDXri", ":", "case", "AArch64", "::", "LDRXui", ":", "if", "(", "canDefBePartOfLOH", "(", "MI", ")", ")", "{", "const", "MachineOperand", "&", "Def", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "const", "MachineOperand", "&", "Op", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "assert", "(", "Def", ".", "isReg", "(", ")", "&&", "Def", ".", "isDef", "(", ")", "&&", "\"Expected reg def\"", ")", ";", "assert", "(", "Op", ".", "isReg", "(", ")", "&&", "Op", ".", "isUse", "(", ")", "&&", "\"Expected reg use\"", ")", ";", "int", "DefIdx", "=", "mapRegToGPRIndex", "(", "Def", ".", "getReg", "(", ")", ")", ";", "int", "OpIdx", "=", "mapRegToGPRIndex", "(", "Op", ".", "getReg", "(", ")", ")", ";", "if", "(", "DefIdx", ">=", "0", "&&", "OpIdx", ">=", "0", "&&", "handleMiddleInst", "(", "MI", ",", "LOHInfos", "[", "DefIdx", "]", ",", "LOHInfos", "[", "OpIdx", "]", ")", ")", "continue", ";", "}", "break", ";", "case", "AArch64", "::", "ADRP", ":", "const", "MachineOperand", "&", "Op0", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "int", "Idx", "=", "mapRegToGPRIndex", "(", "Op0", ".", "getReg", "(", ")", ")", ";", "if", "(", "Idx", ">=", "0", ")", "{", "handleADRP", "(", "MI", ",", "AFI", ",", "LOHInfos", "[", "Idx", "]", ")", ";", "continue", ";", "}", "break", ";", "}", "handleNormalInst", "(", "MI", ",", "LOHInfos", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"********** AArch64 Collect LOH **********\\n\"", "\"Looking in function \"", "AArch64", "AArch64", "0", "0", "AArch64::ADDXri", "AArch64::LDRXui", "0", "1", "\"Expected reg def\"", "\"Expected reg use\"", "0", "0", "AArch64::ADRP", "0", "0"], "File": "AArch64CollectLOH19", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15033, "Length": 375, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_progress_pointer", "(", "rtx", "pointer", ")", "{", "return", "aarch64_move_pointer", "(", "pointer", ",", "GET_MODE_SIZE", "(", "GET_MODE", "(", "pointer", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "a", "new", "RTX", "holding", "the", "result", "of", "moving", "POINTER", "forward", "by", "the", "size", "of", "the", "mode", "it", "points", "to", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_progress_pointer", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15034, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToAddress", "(", "Register", "ValVReg", ",", "Register", "Addr", ",", "uint64_t", "Size", ",", "MachinePointerInfo", "&", "MPO", ",", "CCValAssign", "&", "VA", ")", "override", "{", "assert", "(", "(", "Size", "==", "1", "||", "Size", "==", "2", "||", "Size", "==", "4", "||", "Size", "==", "8", ")", "&&", "\"Unsupported size\"", ")", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "SExt", "||", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "ZExt", ")", "{", "Size", "=", "4", ";", "assert", "(", "MRI", ".", "getType", "(", "ValVReg", ")", ".", "isScalar", "(", ")", "&&", "\"Only scalars supported atm\"", ")", ";", "auto", "LoadVReg", "=", "buildLoad", "(", "LLT", "::", "scalar", "(", "32", ")", ",", "Addr", ",", "Size", ",", "1", ",", "MPO", ")", ";", "MIRBuilder", ".", "buildTrunc", "(", "ValVReg", ",", "LoadVReg", ")", ";", "}", "else", "{", "buildLoad", "(", "ValVReg", ",", "Addr", ",", "Size", ",", "1", ",", "MPO", ")", ";", "}", "}", ""], "natrual_language": ["An", "overload", "which", "takes", "an", "ArgInfo", "if", "additional", "information", "about", "the", "arg", "is", "needed", "."], "TS_V_token": ["ARM", "1", "2", "4", "8", "\"Unsupported size\"", "4", "\"Only scalars supported atm\"", "32", "1", "1"], "File": "ARMCallLowering22", "Func": "assignValueToAddress", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15035, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTTIImpl", "::", "getIntImmCost", "(", "unsigned", "Opcode", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "{", "if", "(", "DisablePPCConstHoist", ")", "return", "BaseT", "::", "getIntImmCost", "(", "Opcode", ",", "Idx", ",", "Imm", ",", "Ty", ")", ";", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", ")", "return", "~", "0U", ";", "unsigned", "ImmIdx", "=", "~", "0U", ";", "bool", "ShiftedFree", "=", "false", ",", "RunFree", "=", "false", ",", "UnsignedFree", "=", "false", ",", "ZeroFree", "=", "false", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "TTI", "::", "TCC_Free", ";", "case", "Instruction", "::", "GetElementPtr", ":", "if", "(", "Idx", "==", "0", ")", "return", "2", "*", "TTI", "::", "TCC_Basic", ";", "return", "TTI", "::", "TCC_Free", ";", "case", "Instruction", "::", "And", ":", "RunFree", "=", "true", ";", "case", "Instruction", "::", "Add", ":", "case", "Instruction", "::", "Or", ":", "case", "Instruction", "::", "Xor", ":", "ShiftedFree", "=", "true", ";", "case", "Instruction", "::", "Sub", ":", "case", "Instruction", "::", "Mul", ":", "case", "Instruction", "::", "Shl", ":", "case", "Instruction", "::", "LShr", ":", "case", "Instruction", "::", "AShr", ":", "ImmIdx", "=", "1", ";", "break", ";", "case", "Instruction", "::", "ICmp", ":", "UnsignedFree", "=", "true", ";", "ImmIdx", "=", "1", ";", "case", "Instruction", "::", "Select", ":", "ZeroFree", "=", "true", ";", "break", ";", "case", "Instruction", "::", "PHI", ":", "case", "Instruction", "::", "Call", ":", "case", "Instruction", "::", "Ret", ":", "case", "Instruction", "::", "Load", ":", "case", "Instruction", "::", "Store", ":", "break", ";", "}", "if", "(", "ZeroFree", "&&", "Imm", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "Idx", "==", "ImmIdx", "&&", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", ")", "{", "if", "(", "isInt", "<", "16", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "RunFree", ")", "{", "if", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "32", "&&", "(", "isShiftedMask_32", "(", "Imm", ".", "getZExtValue", "(", ")", ")", "||", "isShiftedMask_32", "(", "~", "Imm", ".", "getZExtValue", "(", ")", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "ST", "->", "isPPC64", "(", ")", "&&", "(", "isShiftedMask_64", "(", "Imm", ".", "getZExtValue", "(", ")", ")", "||", "isShiftedMask_64", "(", "~", "Imm", ".", "getZExtValue", "(", ")", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "}", "if", "(", "UnsignedFree", "&&", "isUInt", "<", "16", ">", "(", "Imm", ".", "getZExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "ShiftedFree", "&&", "(", "Imm", ".", "getZExtValue", "(", ")", "&", "0xFFFF", ")", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "}", "return", "PPCTTIImpl", "::", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "0", "0U", "0U", "0", "2", "1", "1", "0", "64", "16", "32", "PPC", "16", "0xFFFF", "0", "PPC"], "File": "PPCTargetTransformInfo19", "Func": "getIntImmCost", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15036, "Length": 413, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "CAHPTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "StringRef", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'r'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "CAHP", "::", "GPRRegClass", ")", ";", "default", ":", "break", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "TRI", ",", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["CAHP", "CAHP", "1", "0", "0U", "CAHP::GPRRegClass"], "File": "CAHPISelLowering", "Func": "getRegForInlineAsmConstraint", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15037, "Length": 81, "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": 15038, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "UPTInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "O", ")", ")", "printInstruction", "(", "MI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["UPT", "UPT"], "File": "UPTInstPrinter", "Func": "printInst", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15039, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_modes_tieable_p", "(", "machine_mode", "mode1", ",", "machine_mode", "mode2", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "mode1", ")", "==", "GET_MODE_CLASS", "(", "mode2", ")", ")", "return", "true", ";", "if", "(", "aarch64_vector_mode_p", "(", "mode1", ")", "&&", "aarch64_vector_mode_p", "(", "mode2", ")", ")", "return", "true", ";", "if", "(", "aarch64_vector_mode_supported_p", "(", "mode1", ")", "||", "aarch64_vector_mode_supported_p", "(", "mode2", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "MODES_TIEABLE_P", ".", "In", "principle", "we", "should", "always", "return", "true", ".", "However", "due", "to", "issues", "with", "register", "allocation", "it", "is", "preferable", "to", "avoid", "tieing", "integer", "scalar", "and", "FP", "scalar", "modes", ".", "Executing", "integer", "operations", "in", "general", "registers", "is", "better", "than", "treating", "them", "as", "scalar", "vector", "operations", ".", "This", "reduces", "latency", "and", "avoids", "redundant", "int", "<", "-", ">", "FP", "moves", ".", "So", "tie", "modes", "if", "they", "are", "either", "the", "same", "class", ",", "or", "vector", "modes", "with", "other", "vector", "modes", ",", "vector", "structs", "or", "any", "scalar", "mode", "."], "TS_V_token": ["aarch64"], "File": "aarch644", "Func": "aarch64_modes_tieable_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15040, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64TargetMachine", "::", "AArch64TargetMachine", "(", "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", ",", "bool", "LittleEndian", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "Options", ".", "MCOptions", ",", "LittleEndian", ")", ",", "TT", ",", "computeDefaultCPU", "(", "TT", ",", "CPU", ")", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "TT", ",", "RM", ")", ",", "getEffectiveAArch64CodeModel", "(", "TT", ",", "CM", ",", "JIT", ")", ",", "OL", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", ",", "isLittle", "(", "LittleEndian", ")", "{", "initAsmInfo", "(", ")", ";", "if", "(", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "{", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "this", "->", "Options", ".", "NoTrapAfterNoreturn", "=", "true", ";", "}", "if", "(", "getMCAsmInfo", "(", ")", "->", "usesWindowsCFI", "(", ")", ")", "{", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "}", "if", "(", "this", "->", "Options", ".", "TLSSize", "==", "0", ")", "this", "->", "Options", ".", "TLSSize", "=", "24", ";", "if", "(", "(", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Small", "||", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Kernel", ")", "&&", "this", "->", "Options", ".", "TLSSize", ">", "32", ")", "this", "->", "Options", ".", "TLSSize", "=", "32", ";", "else", "if", "(", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Tiny", "&&", "this", "->", "Options", ".", "TLSSize", ">", "24", ")", "this", "->", "Options", ".", "TLSSize", "=", "24", ";", "if", "(", "getOptLevel", "(", ")", "<=", "EnableGlobalISelAtO", "&&", "TT", ".", "getArch", "(", ")", "!=", "Triple", "::", "aarch64_32", "&&", "TT", ".", "getEnvironment", "(", ")", "!=", "Triple", "::", "GNUILP32", "&&", "!", "(", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", "&&", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", ")", "{", "setGlobalISel", "(", "true", ")", ";", "setGlobalISelAbort", "(", "GlobalISelAbortMode", "::", "Disable", ")", ";", "}", "setMachineOutliner", "(", "true", ")", ";", "setSupportsDefaultOutlining", "(", "true", ")", ";", "setSupportsDebugEntryValues", "(", "true", ")", ";", "}", ""], "natrual_language": ["Create", "an", "AArch64", "architecture", "model", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "0", "24", "32", "32", "24", "24"], "File": "AArch64TargetMachine1", "Func": "AArch64TargetMachine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15041, "Length": 321, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PLTEntryBase", "*", "X86PLT", "::", "create", "(", ")", "{", "if", "(", "LinkerConfig", "::", "DynObj", "==", "m_Config", ".", "codeGenType", "(", ")", ")", "return", "new", "X86_32DynPLT1", "(", "*", "m_pSectionData", ")", ";", "else", "return", "new", "X86_32ExecPLT1", "(", "*", "m_pSectionData", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86PLT", "Func": "create", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15042, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "raw_ostream", "&", "Out", ")", "const", "{", "R", ".", "print", "(", "Out", ")", ";", "Out", "<<", "\", Matched=\"", "<<", "Matched", ";", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["Mips", "\", Matched=\""], "File": "MipsELFObjectWriter", "Func": "print", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15043, "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": ["LEG"], "File": "LEGSubtarget1", "Func": "getDataLayout", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15044, "Length": 14, "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", "GPRwithAPSRRegClassID", ":", "case", "GPRnopcRegClassID", ":", "case", "rGPRRegClassID", ":", "case", "GPRspRegClassID", ":", "case", "tGPR_and_tcGPRRegClassID", ":", "case", "tcGPRRegClassID", ":", "case", "tGPRRegClassID", ":", "case", "tGPREvenRegClassID", ":", "case", "tGPROddRegClassID", ":", "case", "tGPR_and_tGPREvenRegClassID", ":", "case", "tGPR_and_tGPROddRegClassID", ":", "case", "tGPREven_and_tcGPRRegClassID", ":", "case", "tGPREven_and_tGPR_and_tcGPRRegClassID", ":", "case", "tGPROdd_and_tcGPRRegClassID", ":", "return", "getRegBank", "(", "ARM", "::", "GPRRegBankID", ")", ";", "case", "HPRRegClassID", ":", "case", "SPR_8RegClassID", ":", "case", "SPRRegClassID", ":", "case", "DPR_8RegClassID", ":", "case", "DPRRegClassID", ":", "case", "QPRRegClassID", ":", "return", "getRegBank", "(", "ARM", "::", "FPRRegBankID", ")", ";", "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", "ARM::FPRRegBankID", "\"Unsupported register kind\"", "\"Switch should handle all register classes\""], "File": "ARMRegisterBankInfo15", "Func": "getRegBankFromRegClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15045, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsExpandPseudo", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "const", "MipsInstrInfo", "*", "TII", "=", "static_cast", "<", "const", "MipsInstrInfo", "*", ">", "(", "TM", ".", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ")", ";", "const", "MipsSubtarget", "&", "STI", "=", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "mbbi", "=", "F", ".", "begin", "(", ")", ",", "mbbe", "=", "F", ".", "end", "(", ")", ";", "mbbi", "!=", "mbbe", ";", "++", "mbbi", ")", "{", "for", "(", "MachineBasicBlock", "::", "iterator", "mi", "=", "mbbi", "->", "begin", "(", ")", ",", "me", "=", "mbbi", "->", "end", "(", ")", ";", "mi", "!=", "me", ";", ")", "{", "MachineBasicBlock", "::", "iterator", "MI", "=", "mi", ";", "MachineBasicBlock", "*", "MBB", "=", "mbbi", ";", "++", "mi", ";", "if", "(", "MI", "->", "getDesc", "(", ")", ".", "getOpcode", "(", ")", "==", "Mips", "::", "LOAD_IMM_PSEUDO", ")", "{", "expandLoadImm", "(", "*", "MBB", ",", "MI", ",", "TII", ")", ";", "MBB", "->", "erase", "(", "MI", ")", ";", "++", "ExpandPseudo", ";", "continue", ";", "}", "if", "(", "MI", "->", "getDesc", "(", ")", ".", "getOpcode", "(", ")", "==", "Mips", "::", "IJMP_PSEUDO", ")", "{", "expandIJmp", "(", "*", "MBB", ",", "MI", ",", "TII", ")", ";", "MBB", "->", "erase", "(", "MI", ")", ";", "++", "ExpandPseudo", ";", "}", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::LOAD_IMM_PSEUDO", "Mips::IJMP_PSEUDO"], "File": "MipsExpandPseudo9", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15046, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "materializeFrameBaseRegister", "(", "MachineBasicBlock", "*", "MBB", ",", "Register", "BaseReg", ",", "int", "FrameIdx", ",", "int64_t", "Offset", ")", "const", "{", "ARMFunctionInfo", "*", "AFI", "=", "MBB", "->", "getParent", "(", ")", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "unsigned", "ADDriOpc", "=", "!", "AFI", "->", "isThumbFunction", "(", ")", "?", "ARM", "::", "ADDri", ":", "(", "AFI", "->", "isThumb1OnlyFunction", "(", ")", "?", "ARM", "::", "tADDframe", ":", "ARM", "::", "t2ADDri", ")", ";", "MachineBasicBlock", "::", "iterator", "Ins", "=", "MBB", "->", "begin", "(", ")", ";", "DebugLoc", "DL", ";", "if", "(", "Ins", "!=", "MBB", "->", "end", "(", ")", ")", "DL", "=", "Ins", "->", "getDebugLoc", "(", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", "->", "getParent", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MBB", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "TII", ".", "get", "(", "ADDriOpc", ")", ";", "MRI", ".", "constrainRegClass", "(", "BaseReg", ",", "TII", ".", "getRegClass", "(", "MCID", ",", "0", ",", "this", ",", "MF", ")", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "MCID", ",", "BaseReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "Offset", ")", ";", "if", "(", "!", "AFI", "->", "isThumb1OnlyFunction", "(", ")", ")", "MIB", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ".", "add", "(", "condCodeOp", "(", ")", ")", ";", "}", ""], "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::tADDframe", "ARM::t2ADDri", "0", "ARMCC::AL"], "File": "ARMBaseRegisterInfo11", "Func": "materializeFrameBaseRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15047, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "ARMSelectionDAGInfo", "::", "EmitTargetCodeForMemset", "(", "SelectionDAG", "&", "DAG", ",", "const", "SDLoc", "&", "dl", ",", "SDValue", "Chain", ",", "SDValue", "Dst", ",", "SDValue", "Src", ",", "SDValue", "Size", ",", "Align", "Alignment", ",", "bool", "isVolatile", ",", "MachinePointerInfo", "DstPtrInfo", ")", "const", "{", "return", "EmitSpecializedLibcall", "(", "DAG", ",", "dl", ",", "Chain", ",", "Dst", ",", "Src", ",", "Size", ",", "Alignment", ".", "value", "(", ")", ",", "RTLIB", "::", "MEMSET", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memset", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMSelectionDAGInfo18", "Func": "EmitTargetCodeForMemset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15048, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "shifter_op_p", "(", "rtx", "op", ",", "rtx", "*", "shift_reg", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "op", ")", ";", "if", "(", "code", "==", "MULT", "&&", "CONST_INT_P", "(", "XEXP", "(", "op", ",", "1", ")", ")", "&&", "exact_log2", "(", "INTVAL", "(", "XEXP", "(", "op", ",", "1", ")", ")", ")", ">", "0", ")", "return", "XEXP", "(", "op", ",", "0", ")", ";", "else", "if", "(", "code", "==", "ROTATE", "&&", "CONST_INT_P", "(", "XEXP", "(", "op", ",", "1", ")", ")", ")", "return", "XEXP", "(", "op", ",", "0", ")", ";", "else", "if", "(", "code", "==", "ROTATERT", "||", "code", "==", "ASHIFT", "||", "code", "==", "LSHIFTRT", "||", "code", "==", "ASHIFTRT", ")", "{", "if", "(", "!", "CONST_INT_P", "(", "XEXP", "(", "op", ",", "1", ")", ")", ")", "*", "shift_reg", "=", "XEXP", "(", "op", ",", "1", ")", ";", "return", "XEXP", "(", "op", ",", "0", ")", ";", "}", "return", "NULL", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "arm_rtx_costs", ".", "If", "the", "operand", "is", "a", "valid", "shift", "operand", ",", "then", "return", "the", "operand", "that", "is", "being", "shifted", ".", "If", "the", "shift", "is", "not", "by", "a", "constant", ",", "then", "set", "SHIFT_REG", "to", "point", "to", "the", "operand", ".", "Return", "NULL", "if", "OP", "is", "not", "a", "shifter", "operand", "."], "TS_V_token": ["arm", "1", "1", "0", "0", "1", "0", "1", "1", "0"], "File": "arm", "Func": "shifter_op_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15049, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_expand_sve_vec_cmp_float", "(", "rtx", "target", ",", "rtx_code", "code", ",", "rtx", "op0", ",", "rtx", "op1", ",", "bool", "can_invert_p", ")", "{", "machine_mode", "pred_mode", "=", "GET_MODE", "(", "target", ")", ";", "machine_mode", "data_mode", "=", "GET_MODE", "(", "op0", ")", ";", "rtx", "ptrue", "=", "aarch64_ptrue_reg", "(", "pred_mode", ")", ";", "switch", "(", "code", ")", "{", "case", "UNORDERED", ":", "op1", "=", "force_reg", "(", "data_mode", ",", "op1", ")", ";", "case", "LT", ":", "case", "LE", ":", "case", "GT", ":", "case", "GE", ":", "case", "EQ", ":", "case", "NE", ":", "{", "aarch64_emit_sve_fp_cond", "(", "target", ",", "code", ",", "ptrue", ",", "true", ",", "op0", ",", "op1", ")", ";", "return", "false", ";", "}", "case", "LTGT", ":", "aarch64_emit_sve_or_fp_conds", "(", "target", ",", "LT", ",", "GT", ",", "ptrue", ",", "true", ",", "op0", ",", "op1", ")", ";", "return", "false", ";", "case", "UNEQ", ":", "if", "(", "!", "flag_trapping_math", ")", "{", "op1", "=", "force_reg", "(", "data_mode", ",", "op1", ")", ";", "aarch64_emit_sve_or_fp_conds", "(", "target", ",", "UNORDERED", ",", "EQ", ",", "ptrue", ",", "true", ",", "op0", ",", "op1", ")", ";", "return", "false", ";", "}", "case", "UNLT", ":", "case", "UNLE", ":", "case", "UNGT", ":", "case", "UNGE", ":", "if", "(", "flag_trapping_math", ")", "{", "rtx", "ordered", "=", "gen_reg_rtx", "(", "pred_mode", ")", ";", "op1", "=", "force_reg", "(", "data_mode", ",", "op1", ")", ";", "aarch64_emit_sve_invert_fp_cond", "(", "ordered", ",", "UNORDERED", ",", "ptrue", ",", "true", ",", "op0", ",", "op1", ")", ";", "if", "(", "code", "==", "UNEQ", ")", "code", "=", "NE", ";", "else", "code", "=", "reverse_condition_maybe_unordered", "(", "code", ")", ";", "if", "(", "can_invert_p", ")", "{", "aarch64_emit_sve_fp_cond", "(", "target", ",", "code", ",", "ordered", ",", "false", ",", "op0", ",", "op1", ")", ";", "return", "true", ";", "}", "aarch64_emit_sve_invert_fp_cond", "(", "target", ",", "code", ",", "ordered", ",", "false", ",", "op0", ",", "op1", ")", ";", "return", "false", ";", "}", "break", ";", "case", "ORDERED", ":", "op1", "=", "force_reg", "(", "data_mode", ",", "op1", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "code", "=", "reverse_condition_maybe_unordered", "(", "code", ")", ";", "if", "(", "can_invert_p", ")", "{", "aarch64_emit_sve_fp_cond", "(", "target", ",", "code", ",", "ptrue", ",", "true", ",", "op0", ",", "op1", ")", ";", "return", "true", ";", "}", "aarch64_emit_sve_invert_fp_cond", "(", "target", ",", "code", ",", "ptrue", ",", "true", ",", "op0", ",", "op1", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Expand", "an", "SVE", "floating-point", "comparison", ":", "TARGET", "=", "CODE", "(", "OP0", ",", "OP1", ")", "If", "CAN_INVERT_P", "is", "true", ",", "the", "caller", "can", "also", "handle", "inverted", "results", ";", "return", "true", "if", "the", "result", "is", "in", "fact", "inverted", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_expand_sve_vec_cmp_float", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15050, "Length": 343, "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", ";", "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", "X86II::MO_DARWIN_NONLAZY", "X86II::MO_DARWIN_NONLAZY_PIC_BASE", "X86II::MO_NO_FLAG", "X86II::MO_GOT"], "File": "X86Subtarget3", "Func": "classifyGlobalReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15051, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getReg", "(", ")", "const", "override", "{", "assert", "(", "isReg", "(", ")", "&&", "\"Invalid type access!\"", ")", ";", "return", "Reg", ".", "RegNum", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["DLX", "\"Invalid type access!\""], "File": "DLXAsmParser", "Func": "getReg", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15052, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsSETargetLowering", "::", "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", "{", "Ops", ".", "push_back", "(", "Callee", ")", ";", "MipsTargetLowering", "::", "getOpndList", "(", "Ops", ",", "RegsToPass", ",", "IsPICCall", ",", "GlobalOrExternal", ",", "InternalLinkage", ",", "IsCallReloc", ",", "CLI", ",", "Callee", ",", "Chain", ")", ";", "}", ""], "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"], "File": "MipsSEISelLowering (2)4", "Func": "getOpndList", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15053, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "]", "=", "{", "{", "\"reloc_pcrel_4byte\"", ",", "0", ",", "4", "*", "8", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_pcrel_1byte\"", ",", "0", ",", "1", "*", "8", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_pcrel_2byte\"", ",", "0", ",", "2", "*", "8", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_riprel_4byte\"", ",", "0", ",", "4", "*", "8", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_riprel_4byte_movq_load\"", ",", "0", ",", "4", "*", "8", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", "}", ";", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "return", "MCCodeEmitter", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "assert", "(", "unsigned", "(", "Kind", "-", "FirstTargetFixupKind", ")", "<", "getNumFixupKinds", "(", ")", "&&", "\"Invalid kind!\"", ")", ";", "return", "Infos", "[", "Kind", "-", "FirstTargetFixupKind", "]", ";", "}", ""], "natrual_language": ["Get", "information", "on", "a", "fixup", "kind", "."], "TS_V_token": ["X86", "\"reloc_pcrel_4byte\"", "0", "4", "8", "\"reloc_pcrel_1byte\"", "0", "1", "8", "\"reloc_pcrel_2byte\"", "0", "2", "8", "\"reloc_riprel_4byte\"", "0", "4", "8", "\"reloc_riprel_4byte_movq_load\"", "0", "4", "8", "\"Invalid kind!\""], "File": "X86MCCodeEmitter17", "Func": "getFixupKindInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15054, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_sched_init_global", "(", "FILE", "*", ",", "int", ",", "int", ")", "{", "switch", "(", "ix86_tune", ")", "{", "case", "PROCESSOR_CORE2", ":", "case", "PROCESSOR_NEHALEM", ":", "case", "PROCESSOR_SANDYBRIDGE", ":", "case", "PROCESSOR_HASWELL", ":", "if", "(", "reload_completed", ")", "{", "targetm", ".", "sched", ".", "dfa_post_advance_cycle", "=", "core2i7_dfa_post_advance_cycle", ";", "targetm", ".", "sched", ".", "first_cycle_multipass_init", "=", "core2i7_first_cycle_multipass_init", ";", "targetm", ".", "sched", ".", "first_cycle_multipass_begin", "=", "core2i7_first_cycle_multipass_begin", ";", "targetm", ".", "sched", ".", "first_cycle_multipass_issue", "=", "core2i7_first_cycle_multipass_issue", ";", "targetm", ".", "sched", ".", "first_cycle_multipass_backtrack", "=", "core2i7_first_cycle_multipass_backtrack", ";", "targetm", ".", "sched", ".", "first_cycle_multipass_end", "=", "core2i7_first_cycle_multipass_end", ";", "targetm", ".", "sched", ".", "first_cycle_multipass_fini", "=", "core2i7_first_cycle_multipass_fini", ";", "core2i7_secondary_decoder_max_insn_size", "=", "8", ";", "core2i7_ifetch_block_size", "=", "16", ";", "core2i7_ifetch_block_max_insns", "=", "6", ";", "break", ";", "}", "default", ":", "targetm", ".", "sched", ".", "dfa_post_advance_cycle", "=", "NULL", ";", "targetm", ".", "sched", ".", "first_cycle_multipass_init", "=", "NULL", ";", "targetm", ".", "sched", ".", "first_cycle_multipass_begin", "=", "NULL", ";", "targetm", ".", "sched", ".", "first_cycle_multipass_issue", "=", "NULL", ";", "targetm", ".", "sched", ".", "first_cycle_multipass_backtrack", "=", "NULL", ";", "targetm", ".", "sched", ".", "first_cycle_multipass_end", "=", "NULL", ";", "targetm", ".", "sched", ".", "first_cycle_multipass_fini", "=", "NULL", ";", "break", ";", "}", "}", ""], "natrual_language": ["Prepare", "for", "scheduling", "pass", "."], "TS_V_token": ["i386", "8", "16", "6"], "File": "i3864", "Func": "ix86_sched_init_global", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15055, "Length": 167, "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": 15056, "Length": 256, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "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", ")", ";", "EmitXRayTable", "(", ")", ";", "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": "MipsAsmPrinter18", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15057, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "no_previous_def", "(", "tree", "function_name", ")", "{", "branch_island", "*", "bi", ";", "unsigned", "ix", ";", "FOR_EACH_VEC_SAFE_ELT", "(", "branch_islands", ",", "ix", ",", "bi", ")", "if", "(", "function_name", "==", "bi", "->", "function_name", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["NO_PREVIOUS_DEF", "checks", "in", "the", "link", "list", "whether", "the", "function", "name", "is", "already", "there", "or", "not", "."], "TS_V_token": ["rs6000", "0", "1"], "File": "rs6000", "Func": "no_previous_def", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15058, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VEFrameLowering", "::", "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": ["VE", "VE"], "File": "VEFrameLowering1", "Func": "hasReservedCallFrame", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15059, "Length": 25, "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", ";", "sbitmap", "components", "=", "sbitmap_alloc", "(", "32", ")", ";", "bitmap_clear", "(", "components", ")", ";", "gcc_assert", "(", "!", "(", "info", "->", "savres_strategy", "&", "SAVE_MULTIPLE", ")", "&&", "!", "(", "info", "->", "savres_strategy", "&", "REST_MULTIPLE", ")", ")", ";", "if", "(", "(", "info", "->", "savres_strategy", "&", "SAVE_INLINE_GPRS", ")", "&&", "(", "info", "->", "savres_strategy", "&", "REST_INLINE_GPRS", ")", ")", "{", "int", "reg_size", "=", "TARGET_32BIT", "?", "4", ":", "8", ";", "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", "->", "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": ["rs6000", "32", "4", "8", "32", "0x8000", "0x7fff", "1", "0x8000", "0x7fff", "0"], "File": "rs60006", "Func": "rs6000_get_separate_components", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15060, "Length": 317, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mep_use_post_modify_p", "(", "rtx_insn", "*", "insn", ",", "rtx", "reg", ",", "rtx", "offset", ")", "{", "bool", "result", "=", "mep_use_post_modify_p_1", "(", "insn", ",", "reg", ",", "offset", ")", ";", "extract_insn", "(", "insn", ")", ";", "return", "result", ";", "}", ""], "natrual_language": ["A", "wrapper", "around", "mep_use_post_modify_p_1", "that", "preserves", "recog_data", "."], "TS_V_token": ["mep"], "File": "mep", "Func": "mep_use_post_modify_p", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15061, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZInstrInfo", "::", "insertSelect", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "DL", ",", "Register", "DstReg", ",", "ArrayRef", "<", "MachineOperand", ">", "Pred", ",", "Register", "TrueReg", ",", "Register", "FalseReg", ")", "const", "{", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "MRI", ".", "getRegClass", "(", "DstReg", ")", ";", "assert", "(", "Pred", ".", "size", "(", ")", "==", "2", "&&", "\"Invalid condition\"", ")", ";", "unsigned", "CCValid", "=", "Pred", "[", "0", "]", ".", "getImm", "(", ")", ";", "unsigned", "CCMask", "=", "Pred", "[", "1", "]", ".", "getImm", "(", ")", ";", "unsigned", "Opc", ";", "if", "(", "SystemZ", "::", "GRX32BitRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "if", "(", "STI", ".", "hasMiscellaneousExtensions3", "(", ")", ")", "Opc", "=", "SystemZ", "::", "SELRMux", ";", "else", "if", "(", "STI", ".", "hasLoadStoreOnCond2", "(", ")", ")", "Opc", "=", "SystemZ", "::", "LOCRMux", ";", "else", "{", "Opc", "=", "SystemZ", "::", "LOCR", ";", "MRI", ".", "constrainRegClass", "(", "DstReg", ",", "&", "SystemZ", "::", "GR32BitRegClass", ")", ";", "Register", "TReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "SystemZ", "::", "GR32BitRegClass", ")", ";", "Register", "FReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "SystemZ", "::", "GR32BitRegClass", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "TReg", ")", ".", "addReg", "(", "TrueReg", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "FReg", ")", ".", "addReg", "(", "FalseReg", ")", ";", "TrueReg", "=", "TReg", ";", "FalseReg", "=", "FReg", ";", "}", "}", "else", "if", "(", "SystemZ", "::", "GR64BitRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "if", "(", "STI", ".", "hasMiscellaneousExtensions3", "(", ")", ")", "Opc", "=", "SystemZ", "::", "SELGR", ";", "else", "Opc", "=", "SystemZ", "::", "LOCGR", ";", "}", "else", "llvm_unreachable", "(", "\"Invalid register class\"", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DstReg", ")", ".", "addReg", "(", "FalseReg", ")", ".", "addReg", "(", "TrueReg", ")", ".", "addImm", "(", "CCValid", ")", ".", "addImm", "(", "CCMask", ")", ";", "}", ""], "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": ["SystemZ", "SystemZ", "2", "\"Invalid condition\"", "0", "1", "SystemZ::GRX32BitRegClass", "SystemZ::SELRMux", "SystemZ::LOCRMux", "SystemZ::LOCR", "SystemZ::GR32BitRegClass", "SystemZ::GR32BitRegClass", "SystemZ::GR32BitRegClass", "SystemZ::GR64BitRegClass", "SystemZ::SELGR", "SystemZ::LOCGR", "\"Invalid register class\""], "File": "SystemZInstrInfo16", "Func": "insertSelect", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15062, "Length": 323, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCAIXAsmPrinter", "::", "emitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "PPC", "::", "BL8", ":", "case", "PPC", "::", "BL", ":", "case", "PPC", "::", "BL8_NOP", ":", "case", "PPC", "::", "BL_NOP", ":", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "0", ")", ";", "if", "(", "MO", ".", "isSymbol", "(", ")", ")", "{", "MCSymbolXCOFF", "*", "S", "=", "cast", "<", "MCSymbolXCOFF", ">", "(", "OutContext", ".", "getOrCreateSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ")", ";", "if", "(", "!", "S", "->", "hasRepresentedCsectSet", "(", ")", ")", "{", "MCSectionXCOFF", "*", "Sec", "=", "OutContext", ".", "getXCOFFSection", "(", "S", "->", "getName", "(", ")", ",", "XCOFF", "::", "XMC_PR", ",", "XCOFF", "::", "XTY_ER", ",", "XCOFF", "::", "C_EXT", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "S", "->", "setRepresentedCsect", "(", "Sec", ")", ";", "}", "ExtSymSDNodeSymbols", ".", "insert", "(", "S", ")", ";", "}", "}", "break", ";", "case", "PPC", "::", "BL_TLS", ":", "case", "PPC", "::", "BL8_TLS", ":", "case", "PPC", "::", "BL8_TLS_", ":", "case", "PPC", "::", "BL8_NOP_TLS", ":", "report_fatal_error", "(", "\"TLS call not yet implemented\"", ")", ";", "case", "PPC", "::", "TAILB", ":", "case", "PPC", "::", "TAILB8", ":", "case", "PPC", "::", "TAILBA", ":", "case", "PPC", "::", "TAILBA8", ":", "case", "PPC", "::", "TAILBCTR", ":", "case", "PPC", "::", "TAILBCTR8", ":", "if", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "isSymbol", "(", ")", ")", "report_fatal_error", "(", "\"Tail call for extern symbol not yet supported.\"", ")", ";", "break", ";", "}", "return", "PPCAsmPrinter", "::", "emitInstruction", "(", "MI", ")", ";", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::BL8", "PPC::BL", "PPC::BL8_NOP", "PPC::BL_NOP", "0", "PPC::BL_TLS", "PPC::BL8_TLS", "PPC::BL8_TLS_", "PPC::BL8_NOP_TLS", "\"TLS call not yet implemented\"", "PPC::TAILB", "PPC::TAILB8", "PPC::TAILBA", "PPC::TAILBA8", "PPC::TAILBCTR", "PPC::TAILBCTR8", "0", "\"Tail call for extern symbol not yet supported.\"", "PPC"], "File": "PPCAsmPrinter59", "Func": "emitInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15063, "Length": 234, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsLongBranch", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "const", "MipsSubtarget", "&", "STI", "=", "static_cast", "<", "const", "MipsSubtarget", "&", ">", "(", "F", ".", "getSubtarget", "(", ")", ")", ";", "const", "MipsInstrInfo", "*", "TII", "=", "static_cast", "<", "const", "MipsInstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "const", "TargetMachine", "&", "TM", "=", "F", ".", "getTarget", "(", ")", ";", "IsPIC", "=", "TM", ".", "isPositionIndependent", "(", ")", ";", "ABI", "=", "static_cast", "<", "const", "MipsTargetMachine", "&", ">", "(", "TM", ")", ".", "getABI", "(", ")", ";", "LongBranchSeqSize", "=", "IsPIC", "?", "(", "(", "ABI", ".", "IsN64", "(", ")", "||", "STI", ".", "isTargetNaCl", "(", ")", ")", "?", "10", ":", "9", ")", ":", "(", "STI", ".", "hasMips32r6", "(", ")", "?", "1", ":", "2", ")", ";", "if", "(", "STI", ".", "inMips16Mode", "(", ")", "||", "!", "STI", ".", "enableLongBranchPass", "(", ")", ")", "return", "false", ";", "if", "(", "IsPIC", "&&", "static_cast", "<", "const", "MipsTargetMachine", "&", ">", "(", "TM", ")", ".", "getABI", "(", ")", ".", "IsO32", "(", ")", "&&", "F", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", "->", "globalBaseRegSet", "(", ")", ")", "emitGPDisp", "(", "F", ",", "TII", ")", ";", "if", "(", "SkipLongBranch", ")", "return", "true", ";", "MF", "=", "&", "F", ";", "initMBBInfo", "(", ")", ";", "SmallVectorImpl", "<", "MBBInfo", ">", "::", "iterator", "I", ",", "E", "=", "MBBInfos", ".", "end", "(", ")", ";", "bool", "EverMadeChange", "=", "false", ",", "MadeChange", "=", "true", ";", "while", "(", "MadeChange", ")", "{", "MadeChange", "=", "false", ";", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "!", "I", "->", "Br", "||", "I", "->", "HasLongBranch", ")", "continue", ";", "int", "ShVal", "=", "STI", ".", "inMicroMipsMode", "(", ")", "?", "2", ":", "4", ";", "int64_t", "Offset", "=", "computeOffset", "(", "I", "->", "Br", ")", "/", "ShVal", ";", "if", "(", "STI", ".", "isTargetNaCl", "(", ")", ")", "{", "Offset", "*=", "2", ";", "}", "if", "(", "!", "ForceLongBranch", "&&", "isInt", "<", "16", ">", "(", "Offset", ")", ")", "continue", ";", "I", "->", "HasLongBranch", "=", "true", ";", "I", "->", "Size", "+=", "LongBranchSeqSize", "*", "4", ";", "++", "LongBranches", ";", "EverMadeChange", "=", "MadeChange", "=", "true", ";", "}", "}", "if", "(", "!", "EverMadeChange", ")", "return", "true", ";", "if", "(", "IsPIC", ")", "{", "uint64_t", "Address", "=", "0", ";", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "Address", "+=", "I", "->", "Size", ",", "++", "I", ")", "I", "->", "Address", "=", "Address", ";", "}", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "if", "(", "I", "->", "HasLongBranch", ")", "expandToLongBranch", "(", "*", "I", ")", ";", "MF", "->", "RenumberBlocks", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "10", "9", "Mips", "1", "2", "Mips", "Mips", "Mips", "Mips", "2", "4", "2", "16", "4", "0"], "File": "MipsLongBranch26", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15064, "Length": 426, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XNCMPassConfig", "::", "addPreEmitPass", "(", ")", "{", "return", "false", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["XNCM", "XNCM"], "File": "XNCMTargetMachine", "Func": "addPreEmitPass", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15065, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint32_t", "AArch64MCCodeEmitter", "::", "getBranchTargetOpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpIdx", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpIdx", ")", ";", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "unsigned", "NumOperands", "=", "MI", ".", "getNumOperands", "(", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"Unexpected ADR target type!\"", ")", ";", "MCFixupKind", "Kind", "=", "MI", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "BL", "?", "MCFixupKind", "(", "AArch64", "::", "fixup_aarch64_pcrel_call26", ")", ":", "MCFixupKind", "(", "AArch64", "::", "fixup_aarch64_pcrel_branch26", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "MO", ".", "getExpr", "(", ")", ",", "Kind", ",", "MI", ".", "getLoc", "(", ")", ")", ")", ";", "++", "MCNumFixups", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "."], "TS_V_token": ["AArch64", "AArch64", "\"Unexpected ADR target type!\"", "AArch64::BL", "AArch64::fixup_aarch64_pcrel_call26", "AArch64::fixup_aarch64_pcrel_branch26", "0", "0"], "File": "AArch64MCCodeEmitter5", "Func": "getBranchTargetOpValue", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15066, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZMCAsmBackend", "::", "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", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "BitSize", "=", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ";", "unsigned", "Size", "=", "(", "BitSize", "+", "7", ")", "/", "8", ";", "assert", "(", "Offset", "+", "Size", "<=", "Data", ".", "size", "(", ")", "&&", "\"Invalid fixup offset!\"", ")", ";", "Value", "=", "extractBitsForFixup", "(", "Kind", ",", "Value", ",", "Fixup", ",", "Asm", ".", "getContext", "(", ")", ")", ";", "if", "(", "BitSize", "<", "64", ")", "Value", "&=", "(", "(", "uint64_t", ")", "1", "<<", "BitSize", ")", "-", "1", ";", "unsigned", "ShiftValue", "=", "(", "Size", "*", "8", ")", "-", "8", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "!=", "Size", ";", "++", "I", ")", "{", "Data", "[", "Offset", "+", "I", "]", "|=", "uint8_t", "(", "Value", ">>", "ShiftValue", ")", ";", "ShiftValue", "-=", "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": ["SystemZ", "SystemZ", "7", "8", "\"Invalid fixup offset!\"", "64", "1", "1", "8", "8", "0", "8"], "File": "SystemZMCAsmBackend10", "Func": "applyFixup", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15067, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AsmPrinter", "::", "getAnalysisUsage", "(", "AU", ")", ";", "AU", ".", "setPreservesAll", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineModuleInfo", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "DwarfWriter", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["ARM"], "File": "ARMAsmPrinter100", "Func": "getAnalysisUsage", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15068, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "if", "(", "IDVal", "==", "\".word\"", ")", "return", "parseDirectiveWord", "(", "4", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".thumb\"", ")", "return", "parseDirectiveThumb", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".arm\"", ")", "return", "parseDirectiveARM", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".thumb_func\"", ")", "return", "parseDirectiveThumbFunc", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".code\"", ")", "return", "parseDirectiveCode", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".syntax\"", ")", "return", "parseDirectiveSyntax", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".unreq\"", ")", "return", "parseDirectiveUnreq", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".arch\"", ")", "return", "parseDirectiveArch", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".eabi_attribute\"", ")", "return", "parseDirectiveEabiAttr", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["ARM", "ARM", "\".word\"", "4", "\".thumb\"", "\".arm\"", "ARM", "\".thumb_func\"", "\".code\"", "\".syntax\"", "\".unreq\"", "\".arch\"", "\".eabi_attribute\""], "File": "ARMAsmParser", "Func": "ParseDirective", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15069, "Length": 176, "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", ")", ",", "ReserveX18", "(", "TT", ".", "isOSDarwin", "(", ")", ")", ",", "IsLittle", "(", "LittleEndian", ")", ",", "TargetTriple", "(", "TT", ")", ",", "FrameLowering", "(", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "FS", ",", "CPU", ")", ")", ",", "TSInfo", "(", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", ",", "GISel", "(", ")", "{", "GISelAccessor", "*", "AArch64GISel", "=", "new", "GISelAccessor", "(", ")", ";", "AArch64GISelActualAccessor", "*", "AArch64GISel", "=", "new", "AArch64GISelActualAccessor", "(", ")", ";", "AArch64GISel", "->", "CallLoweringInfo", ".", "reset", "(", "new", "AArch64CallLowering", "(", "*", "getTargetLowering", "(", ")", ")", ")", ";", "AArch64GISel", "->", "Legalizer", ".", "reset", "(", "new", "AArch64LegalizerInfo", "(", ")", ")", ";", "auto", "*", "RBI", "=", "new", "AArch64RegisterBankInfo", "(", "*", "getRegisterInfo", "(", ")", ")", ";", "AArch64GISel", "->", "InstSelector", ".", "reset", "(", "createAArch64InstructionSelector", "(", "*", "static_cast", "<", "const", "AArch64TargetMachine", "*", ">", "(", "&", "TM", ")", ",", "*", "this", ",", "*", "RBI", ")", ")", ";", "AArch64GISel", "->", "RegBankInfo", ".", "reset", "(", "RBI", ")", ";", "setGISelAccessor", "(", "*", "AArch64GISel", ")", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64Subtarget16", "Func": "AArch64Subtarget", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15070, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "static", "const", "LoadStoreMethod", "PossibleClasses", "[", "]", "=", "{", "{", "&", "AArch64", "::", "GPR64RegClass", ",", "AArch64", "::", "LSPair64_STR", ",", "AArch64", "::", "LS64_STR", "}", ",", "{", "&", "AArch64", "::", "FPR64RegClass", ",", "AArch64", "::", "LSFPPair64_STR", ",", "AArch64", "::", "LSFP64_STR", "}", ",", "}", ";", "const", "unsigned", "NumClasses", "=", "llvm", "::", "array_lengthof", "(", "PossibleClasses", ")", ";", "emitFrameMemOps", "(", "true", ",", "MBB", ",", "MBBI", ",", "CSI", ",", "TRI", ",", "PossibleClasses", ",", "NumClasses", ")", ";", "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", "AArch64::GPR64RegClass", "AArch64::LSPair64_STR", "AArch64::LS64_STR", "AArch64::FPR64RegClass", "AArch64::LSFPPair64_STR", "AArch64::LSFP64_STR"], "File": "AArch64FrameLowering24", "Func": "spillCalleeSavedRegisters", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15071, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AZPRAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\">> AZPRAsmPinter::EmitInstruction <<\\n\"", ")", ";", "DEBUG", "(", "MI", "->", "dump", "(", ")", ")", ";", "AZPRMCInstLower", "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": ["AZPR", "AZPR", "\">> AZPRAsmPinter::EmitInstruction <<\\n\"", "AZPR"], "File": "AZPRAsmPrinter", "Func": "EmitInstruction", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15072, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "swap_top_of_ready_list", "(", "rtx_insn", "*", "*", "ready", ",", "int", "n_ready", ")", "{", "rtx_insn", "*", "top", "=", "ready", "[", "n_ready", "-", "1", "]", ";", "rtx_insn", "*", "next", "=", "ready", "[", "n_ready", "-", "2", "]", ";", "rtx", "set", ";", "sd_iterator_def", "sd_it", ";", "dep_t", "dep", ";", "int", "clock1", "=", "-", "1", ";", "int", "clock2", "=", "-", "1", ";", "if", "(", "!", "TARGET_CPU_P", "(", "SILVERMONT", ")", "&&", "!", "TARGET_CPU_P", "(", "INTEL", ")", ")", "return", "false", ";", "if", "(", "!", "NONDEBUG_INSN_P", "(", "top", ")", ")", "return", "false", ";", "if", "(", "!", "NONJUMP_INSN_P", "(", "top", ")", ")", "return", "false", ";", "if", "(", "!", "NONDEBUG_INSN_P", "(", "next", ")", ")", "return", "false", ";", "if", "(", "!", "NONJUMP_INSN_P", "(", "next", ")", ")", "return", "false", ";", "set", "=", "single_set", "(", "top", ")", ";", "if", "(", "!", "set", ")", "return", "false", ";", "set", "=", "single_set", "(", "next", ")", ";", "if", "(", "!", "set", ")", "return", "false", ";", "if", "(", "INSN_PRIORITY_KNOWN", "(", "top", ")", "&&", "INSN_PRIORITY_KNOWN", "(", "next", ")", ")", "{", "if", "(", "INSN_PRIORITY", "(", "top", ")", "!=", "INSN_PRIORITY", "(", "next", ")", ")", "return", "false", ";", "FOR_EACH_DEP", "(", "top", ",", "SD_LIST_RES_BACK", ",", "sd_it", ",", "dep", ")", "{", "rtx", "pro", ";", "pro", "=", "DEP_PRO", "(", "dep", ")", ";", "if", "(", "!", "NONDEBUG_INSN_P", "(", "pro", ")", ")", "continue", ";", "if", "(", "INSN_TICK", "(", "pro", ")", ">", "clock1", ")", "clock1", "=", "INSN_TICK", "(", "pro", ")", ";", "}", "FOR_EACH_DEP", "(", "next", ",", "SD_LIST_RES_BACK", ",", "sd_it", ",", "dep", ")", "{", "rtx", "pro", ";", "pro", "=", "DEP_PRO", "(", "dep", ")", ";", "if", "(", "!", "NONDEBUG_INSN_P", "(", "pro", ")", ")", "continue", ";", "if", "(", "INSN_TICK", "(", "pro", ")", ">", "clock2", ")", "clock2", "=", "INSN_TICK", "(", "pro", ")", ";", "}", "if", "(", "clock1", "==", "clock2", ")", "{", "enum", "attr_memory", "memory1", ",", "memory2", ";", "memory1", "=", "get_attr_memory", "(", "top", ")", ";", "memory2", "=", "get_attr_memory", "(", "next", ")", ";", "if", "(", "memory2", "==", "MEMORY_LOAD", "&&", "memory1", "!=", "MEMORY_LOAD", ")", "return", "true", ";", "}", "return", "(", "bool", ")", "(", "clock2", "<", "clock1", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Try", "to", "find", "the", "best", "candidate", "on", "the", "top", "of", "ready", "list", "if", "two", "insns", "have", "the", "same", "priority", "-", "candidate", "is", "best", "if", "its", "dependees", "were", "scheduled", "earlier", ".", "Applied", "for", "Silvermont", "only", ".", "Return", "true", "if", "top", "2", "insns", "must", "be", "interchanged", "."], "TS_V_token": ["i386", "1", "2", "1", "1"], "File": "x86-tune-sched-atom", "Func": "swap_top_of_ready_list", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15073, "Length": 327, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86DAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "OptForSize", "=", "MF", "->", "getFunction", "(", ")", "->", "hasFnAttr", "(", "Attribute", "::", "OptimizeForSize", ")", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "I", "++", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", "||", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "TC_RETURN", ")", ")", "{", "bool", "HasCallSeq", "=", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", ";", "SDValue", "Chain", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Load", "=", "N", "->", "getOperand", "(", "1", ")", ";", "if", "(", "!", "isCalleeLoad", "(", "Load", ",", "Chain", ",", "HasCallSeq", ")", ")", "continue", ";", "MoveBelowOrigChain", "(", "CurDAG", ",", "Load", ",", "SDValue", "(", "N", ",", "0", ")", ",", "Chain", ")", ";", "++", "NumLoadMoved", ";", "continue", ";", "}", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_ROUND", "&&", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "EVT", "SrcVT", "=", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", ";", "EVT", "DstVT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "bool", "SrcIsSSE", "=", "X86Lowering", ".", "isScalarFPTypeInSSEReg", "(", "SrcVT", ")", ";", "bool", "DstIsSSE", "=", "X86Lowering", ".", "isScalarFPTypeInSSEReg", "(", "DstVT", ")", ";", "if", "(", "SrcIsSSE", "&&", "DstIsSSE", ")", "continue", ";", "if", "(", "!", "SrcIsSSE", "&&", "!", "DstIsSSE", ")", "{", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "if", "(", "N", "->", "getConstantOperandVal", "(", "1", ")", ")", "continue", ";", "}", "EVT", "MemVT", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_ROUND", ")", "MemVT", "=", "DstVT", ";", "else", "MemVT", "=", "SrcIsSSE", "?", "SrcVT", ":", "DstVT", ";", "SDValue", "MemTmp", "=", "CurDAG", "->", "CreateStackTemporary", "(", "MemVT", ")", ";", "DebugLoc", "dl", "=", "N", "->", "getDebugLoc", "(", ")", ";", "SDValue", "Store", "=", "CurDAG", "->", "getTruncStore", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "dl", ",", "N", "->", "getOperand", "(", "0", ")", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "SDValue", "Result", "=", "CurDAG", "->", "getExtLoad", "(", "ISD", "::", "EXTLOAD", ",", "DstVT", ",", "dl", ",", "Store", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "--", "I", ";", "CurDAG", "->", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "0", ")", ",", "Result", ")", ";", "++", "I", ";", "CurDAG", "->", "DeleteNode", "(", "N", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["X86", "X86", "X86ISD::CALL", "X86ISD::TC_RETURN", "X86ISD::CALL", "0", "1", "0", "ISD::FP_ROUND", "ISD::FP_EXTEND", "0", "0", "X86", "X86", "ISD::FP_EXTEND", "1", "ISD::FP_ROUND", "0", "0", "ISD::EXTLOAD", "0", "0"], "File": "X86ISelDAGToDAG55", "Func": "PreprocessISelDAG", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15074, "Length": 412, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "const_ok_for_dimode_op", "(", "HOST_WIDE_INT", "i", ",", "enum", "rtx_code", "code", ")", "{", "HOST_WIDE_INT", "hi_val", "=", "(", "i", ">>", "32", ")", "&", "0xFFFFFFFF", ";", "HOST_WIDE_INT", "lo_val", "=", "i", "&", "0xFFFFFFFF", ";", "rtx", "hi", "=", "GEN_INT", "(", "hi_val", ")", ";", "rtx", "lo", "=", "GEN_INT", "(", "lo_val", ")", ";", "if", "(", "TARGET_THUMB1", ")", "return", "0", ";", "switch", "(", "code", ")", "{", "case", "AND", ":", "case", "IOR", ":", "case", "XOR", ":", "return", "const_ok_for_op", "(", "hi_val", ",", "code", ")", "||", "hi_val", "==", "0xFFFFFFFF", "||", "const_ok_for_op", "(", "lo_val", ",", "code", ")", "||", "lo_val", "==", "0xFFFFFFFF", ";", "case", "PLUS", ":", "return", "arm_not_operand", "(", "hi", ",", "SImode", ")", "&&", "arm_add_operand", "(", "lo", ",", "SImode", ")", ";", "default", ":", "return", "0", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "I", "is", "a", "valid", "di", "mode", "constant", "for", "the", "operation", "CODE", "."], "TS_V_token": ["arm", "32", "0xFFFFFFFF", "0xFFFFFFFF", "0", "0xFFFFFFFF", "0xFFFFFFFF", "0"], "File": "arm", "Func": "const_ok_for_dimode_op", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15075, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMTTI", "::", "getIntImmCost", "(", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "const", "{", "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", ";", "}", "else", "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", ";", "}", "else", "{", "if", "(", "SImmVal", ">=", "0", "&&", "SImmVal", "<", "256", ")", "return", "1", ";", "if", "(", "(", "~", "ZImmVal", "<", "256", ")", "||", "ARM_AM", "::", "isThumbImmShiftedVal", "(", "ZImmVal", ")", ")", "return", "2", ";", "return", "3", ";", "}", "return", "2", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["ARM", "ARMTTI::getIntImmCost", "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", "2"], "File": "ARMTargetTransformInfo", "Func": "getIntImmCost", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15076, "Length": 231, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "*", "mingw32_gt_pch_get_address", "(", "size_t", "size", ",", "int", ")", "{", "void", "*", "res", ";", "size", "=", "(", "size", "+", "va_granularity", "-", "1", ")", "&", "~", "(", "va_granularity", "-", "1", ")", ";", "if", "(", "size", ">", "pch_VA_max_size", ")", "return", "NULL", ";", "res", "=", "VirtualAlloc", "(", "NULL", ",", "pch_VA_max_size", ",", "MEM_RESERVE", "|", "MEM_TOP_DOWN", ",", "PAGE_NOACCESS", ")", ";", "if", "(", "!", "res", ")", "w32_error", "(", "__FUNCTION__", ",", "__FILE__", ",", "__LINE__", ",", "\"VirtualAlloc\"", ")", ";", "else", "VirtualFree", "(", "res", ",", "0", ",", "MEM_RELEASE", ")", ";", "return", "res", ";", "}", ""], "natrual_language": ["Identify", "an", "address", "that", "'s", "likely", "to", "be", "free", "in", "a", "subsequent", "invocation", "of", "the", "compiler", ".", "The", "area", "should", "be", "able", "to", "hold", "SIZE", "bytes", ".", "FD", "is", "an", "open", "file", "descriptor", "if", "the", "host", "would", "like", "to", "probe", "with", "mmap", "."], "TS_V_token": ["i386", "1", "1", "\"VirtualAlloc\"", "0"], "File": "host-mingw32", "Func": "mingw32_gt_pch_get_address", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15077, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSIWithSVE", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "CSI", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "CSIWithSVE", ".", "size", "(", ")", ";", "++", "i", ")", "{", "if", "(", "MFI", "->", "getStackRegionToHandleCSR", "(", "CSIWithSVE", "[", "i", "]", ".", "getReg", "(", ")", ")", "!=", "nullptr", ")", "continue", ";", "CSI", ".", "push_back", "(", "CSIWithSVE", "[", "i", "]", ")", ";", "}", "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", ";", "if", "(", "MFI", "->", "getStackRegionToHandleCSR", "(", "Reg1", ")", ")", "continue", ";", "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", "0", "8", "AArch64::LDPXi", "AArch64::LDRXui", "AArch64::LDPDi", "AArch64::LDRDui", "\"CSR restore: (\"", "\", \"", "\") -> fi#(\"", "\", \"", "1", "\")\\n\"", "1", "8", "8", "AArch64::SP", "8", "8"], "File": "AArch64FrameLowering62", "Func": "restoreCalleeSavedRegisters", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15078, "Length": 478, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pa_output_function_prologue", "(", "FILE", "*", "file", ")", "{", "ASM_OUTPUT_LABEL", "(", "file", ",", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "current_function_decl", ")", ",", "0", ")", ",", "0", ")", ")", ";", "fputs", "(", "\"\\t.PROC\\n\"", ",", "file", ")", ";", "fprintf", "(", "file", ",", "\"\\t.CALLINFO FRAME=\"", "HOST_WIDE_INT_PRINT_DEC", ",", "actual_fsize", ")", ";", "if", "(", "crtl", "->", "is_leaf", ")", "fputs", "(", "\",NO_CALLS\"", ",", "file", ")", ";", "else", "fputs", "(", "\",CALLS\"", ",", "file", ")", ";", "if", "(", "rp_saved", ")", "fputs", "(", "\",SAVE_RP\"", ",", "file", ")", ";", "if", "(", "frame_pointer_needed", ")", "fputs", "(", "\",SAVE_SP\"", ",", "file", ")", ";", "if", "(", "gr_saved", ")", "fprintf", "(", "file", ",", "\",ENTRY_GR=%d\"", ",", "gr_saved", "+", "2", ")", ";", "if", "(", "fr_saved", ")", "fprintf", "(", "file", ",", "\",ENTRY_FR=%d\"", ",", "fr_saved", "+", "11", ")", ";", "fputs", "(", "\"\\n\\t.ENTRY\\n\"", ",", "file", ")", ";", "remove_useless_addtr_insns", "(", "0", ")", ";", "}", ""], "natrual_language": ["On", "HP-PA", ",", "move-double", "insns", "between", "fpu", "and", "cpu", "need", "an", "8-byte", "block", "of", "memory", ".", "If", "any", "fpu", "reg", "is", "used", "in", "the", "function", ",", "we", "allocate", "such", "a", "block", "here", ",", "at", "the", "bottom", "of", "the", "frame", ",", "just", "in", "case", "it", "'s", "needed", ".", "If", "this", "function", "is", "a", "leaf", "procedure", ",", "then", "we", "may", "choose", "not", "to", "do", "a", "``", "save", "''", "insn", ".", "The", "decision", "about", "whether", "or", "not", "to", "do", "this", "is", "made", "in", "regclass.c", "."], "TS_V_token": ["pa", "0", "0", "\"\\t.PROC\\n\"", "\"\\t.CALLINFO FRAME=\"", "\",NO_CALLS\"", "\",CALLS\"", "\",SAVE_RP\"", "\",SAVE_SP\"", "\",ENTRY_GR=%d\"", "2", "\",ENTRY_FR=%d\"", "11", "\"\\n\\t.ENTRY\\n\"", "0"], "File": "pa7", "Func": "pa_output_function_prologue", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15079, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_hard_regno_mode_ok", "(", "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": ["rs6000", "1", "1", "0", "16", "0", "2", "0", "1", "1", "1", "1", "1", "0", "1"], "File": "rs60006", "Func": "rs6000_hard_regno_mode_ok", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15080, "Length": 383, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "nds32_output_float_store", "(", "rtx", "*", "operands", ")", "{", "char", "buff", "[", "100", "]", ";", "const", "char", "*", "pattern", ";", "rtx", "addr", ",", "addr_op0", ",", "addr_op1", ";", "int", "dp", "=", "GET_MODE_SIZE", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", ")", "==", "8", ";", "addr", "=", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ";", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "REG", ":", "pattern", "=", "\"fs%ci\\t%%1, %%0\"", ";", "break", ";", "case", "PLUS", ":", "addr_op0", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "addr_op1", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "if", "(", "REG_P", "(", "addr_op0", ")", "&&", "REG_P", "(", "addr_op1", ")", ")", "pattern", "=", "\"fs%c\\t%%1, %%0\"", ";", "else", "if", "(", "REG_P", "(", "addr_op0", ")", "&&", "CONST_INT_P", "(", "addr_op1", ")", ")", "pattern", "=", "\"fs%ci\\t%%1, %%0\"", ";", "else", "if", "(", "GET_CODE", "(", "addr_op0", ")", "==", "MULT", "&&", "REG_P", "(", "addr_op1", ")", "&&", "REG_P", "(", "XEXP", "(", "addr_op0", ",", "0", ")", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "addr_op0", ",", "1", ")", ")", ")", "pattern", "=", "\"fs%c\\t%%1, %%0\"", ";", "else", "gcc_unreachable", "(", ")", ";", "break", ";", "case", "POST_MODIFY", ":", "addr_op0", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "addr_op1", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "if", "(", "REG_P", "(", "addr_op0", ")", "&&", "GET_CODE", "(", "addr_op1", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "addr_op1", ",", "1", ")", ")", ")", "pattern", "=", "\"fs%c.bi\\t%%1, %%0\"", ";", "else", "if", "(", "REG_P", "(", "addr_op0", ")", "&&", "GET_CODE", "(", "addr_op1", ")", "==", "PLUS", "&&", "CONST_INT_P", "(", "XEXP", "(", "addr_op1", ",", "1", ")", ")", ")", "pattern", "=", "\"fs%ci.bi\\t%%1, %%0\"", ";", "else", "gcc_unreachable", "(", ")", ";", "break", ";", "case", "POST_INC", ":", "if", "(", "REG_P", "(", "XEXP", "(", "addr", ",", "0", ")", ")", ")", "{", "if", "(", "dp", ")", "pattern", "=", "\"fs%ci.bi\\t%%1, %%0, 8\"", ";", "else", "pattern", "=", "\"fs%ci.bi\\t%%1, %%0, 4\"", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "break", ";", "case", "POST_DEC", ":", "if", "(", "REG_P", "(", "XEXP", "(", "addr", ",", "0", ")", ")", ")", "{", "if", "(", "dp", ")", "pattern", "=", "\"fs%ci.bi\\t%%1, %%0, -8\"", ";", "else", "pattern", "=", "\"fs%ci.bi\\t%%1, %%0, -4\"", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "sprintf", "(", "buff", ",", "pattern", ",", "dp", "?", "'d'", ":", "'s'", ")", ";", "output_asm_insn", "(", "buff", ",", "operands", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["output", "a", "float", "store", "instruction"], "TS_V_token": ["nds32", "100", "0", "8", "0", "0", "\"fs%ci\\t%%1, %%0\"", "0", "1", "\"fs%c\\t%%1, %%0\"", "\"fs%ci\\t%%1, %%0\"", "0", "1", "\"fs%c\\t%%1, %%0\"", "0", "1", "1", "\"fs%c.bi\\t%%1, %%0\"", "1", "\"fs%ci.bi\\t%%1, %%0\"", "0", "\"fs%ci.bi\\t%%1, %%0, 8\"", "\"fs%ci.bi\\t%%1, %%0, 4\"", "0", "\"fs%ci.bi\\t%%1, %%0, -8\"", "\"fs%ci.bi\\t%%1, %%0, -4\"", "\"\""], "File": "nds32-md-auxiliary", "Func": "nds32_output_float_store", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15081, "Length": 363, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasFusion", "(", ")", "const", "{", "return", "hasArithmeticBccFusion", "(", ")", "||", "hasArithmeticCbzFusion", "(", ")", "||", "hasFuseAES", "(", ")", "||", "hasFuseCCSelect", "(", ")", "||", "hasFuseLiterals", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "CPU", "supports", "any", "kind", "of", "instruction", "fusion", "."], "TS_V_token": ["AArch64"], "File": "AArch64Subtarget12", "Func": "hasFusion", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15082, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "CAHPTargetLowering", "::", "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", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", ".", "getRegInfo", "(", ")", ";", "if", "(", "IsVarArg", ")", "report_fatal_error", "(", "\"VarArg not supported\"", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "CC_CAHP", ")", ";", "for", "(", "auto", "&", "VA", ":", "ArgLocs", ")", "{", "SDValue", "ArgVal", ";", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "EVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "if", "(", "RegVT", "!=", "MVT", "::", "i16", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"LowerFormalArguments Unhandled argument type: \"", "<<", "RegVT", ".", "getEVTString", "(", ")", "<<", "\"\\n\"", ")", ";", "report_fatal_error", "(", "\"unhandled argument type\"", ")", ";", "}", "const", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "CAHP", "::", "GPRRegClass", ")", ";", "RegInfo", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "VReg", ")", ";", "ArgVal", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "VReg", ",", "RegVT", ")", ";", "}", "else", "{", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "assert", "(", "VA", ".", "getValVT", "(", ")", "==", "MVT", "::", "i16", ")", ";", "assert", "(", "VA", ".", "getLocVT", "(", ")", "==", "MVT", "::", "i16", ")", ";", "int", "FI", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "CreateFixedObject", "(", "2", ",", "VA", ".", "getLocMemOffset", "(", ")", ",", "true", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "MVT", "::", "i16", ")", ";", "ArgVal", "=", "DAG", ".", "getLoad", "(", "VA", ".", "getLocVT", "(", ")", ",", "DL", ",", "Chain", ",", "FIN", ",", "MachinePointerInfo", "::", "getFixedStack", "(", "DAG", ".", "getMachineFunction", "(", ")", ",", "FI", ")", ")", ";", "}", "InVals", ".", "push_back", "(", "ArgVal", ")", ";", "}", "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": ["CAHP", "CAHP", "ISD::InputArg", "\"Unsupported calling convention\"", "\"VarArg not supported\"", "16", "CAHP", "MVT::i16", "\"LowerFormalArguments Unhandled argument type: \"", "\"\\n\"", "\"unhandled argument type\"", "CAHP::GPRRegClass", "MVT::i16", "MVT::i16", "2", "MVT::i16"], "File": "CAHPISelLowering", "Func": "LowerFormalArguments", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15083, "Length": 357, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "fold_mergehl_helper", "(", "gimple_stmt_iterator", "*", "gsi", ",", "gimple", "*", "stmt", ",", "int", "use_high", ")", "{", "tree", "arg0", "=", "gimple_call_arg", "(", "stmt", ",", "0", ")", ";", "tree", "arg1", "=", "gimple_call_arg", "(", "stmt", ",", "1", ")", ";", "tree", "lhs", "=", "gimple_call_lhs", "(", "stmt", ")", ";", "tree", "lhs_type", "=", "TREE_TYPE", "(", "lhs", ")", ";", "tree", "lhs_type_type", "=", "TREE_TYPE", "(", "lhs_type", ")", ";", "int", "n_elts", "=", "TYPE_VECTOR_SUBPARTS", "(", "lhs_type", ")", ";", "int", "midpoint", "=", "n_elts", "/", "2", ";", "int", "offset", "=", "0", ";", "if", "(", "use_high", "==", "1", ")", "offset", "=", "midpoint", ";", "tree_vector_builder", "elts", "(", "lhs_type", ",", "VECTOR_CST_NELTS", "(", "arg0", ")", ",", "1", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "midpoint", ";", "i", "++", ")", "{", "elts", ".", "safe_push", "(", "build_int_cst", "(", "lhs_type_type", ",", "offset", "+", "i", ")", ")", ";", "elts", ".", "safe_push", "(", "build_int_cst", "(", "lhs_type_type", ",", "offset", "+", "n_elts", "+", "i", ")", ")", ";", "}", "tree", "permute", "=", "elts", ".", "build", "(", ")", ";", "gimple", "*", "g", "=", "gimple_build_assign", "(", "lhs", ",", "VEC_PERM_EXPR", ",", "arg0", ",", "arg1", ",", "permute", ")", ";", "gimple_set_location", "(", "g", ",", "gimple_location", "(", "stmt", ")", ")", ";", "gsi_replace", "(", "gsi", ",", "g", ",", "true", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "handle", "the", "vector", "merge", "[", "hl", "]", "built-ins", ".", "The", "implementation", "difference", "between", "h", "and", "l", "versions", "for", "this", "code", "are", "in", "the", "values", "used", "when", "building", "of", "the", "permute", "vector", "for", "high", "word", "versus", "low", "word", "merge", ".", "The", "variance", "is", "keyed", "off", "the", "use_high", "parameter", "."], "TS_V_token": ["rs6000", "0", "1", "2", "0", "1", "1", "0"], "File": "rs60007", "Func": "fold_mergehl_helper", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15084, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "bool", "GPRDest", "=", "ARM", "::", "GPRRegClass", ".", "contains", "(", "DestReg", ")", ";", "bool", "GPRSrc", "=", "ARM", "::", "GPRRegClass", ".", "contains", "(", "SrcReg", ")", ";", "if", "(", "GPRDest", "&&", "GPRSrc", ")", "{", "AddDefaultCC", "(", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "MOVr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ")", ")", ";", "return", ";", "}", "bool", "SPRDest", "=", "ARM", "::", "SPRRegClass", ".", "contains", "(", "DestReg", ")", ";", "bool", "SPRSrc", "=", "ARM", "::", "SPRRegClass", ".", "contains", "(", "SrcReg", ")", ";", "unsigned", "Opc", "=", "0", ";", "if", "(", "SPRDest", "&&", "SPRSrc", ")", "Opc", "=", "ARM", "::", "VMOVS", ";", "else", "if", "(", "GPRDest", "&&", "SPRSrc", ")", "Opc", "=", "ARM", "::", "VMOVRS", ";", "else", "if", "(", "SPRDest", "&&", "GPRSrc", ")", "Opc", "=", "ARM", "::", "VMOVSR", ";", "else", "if", "(", "ARM", "::", "DPRRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "ARM", "::", "VMOVD", ";", "else", "if", "(", "ARM", "::", "QPRRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "ARM", "::", "VORRq", ";", "if", "(", "Opc", ")", "{", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DestReg", ")", ";", "MIB", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "if", "(", "Opc", "==", "ARM", "::", "VORRq", ")", "MIB", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "AddDefaultPred", "(", "MIB", ")", ";", "return", ";", "}", "if", "(", "ARM", "::", "QQPRRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", "||", "ARM", "::", "QQQQPRRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "const", "TargetRegisterInfo", "*", "TRI", "=", "&", "getRegisterInfo", "(", ")", ";", "assert", "(", "ARM", "::", "qsub_0", "+", "3", "==", "ARM", "::", "qsub_3", "&&", "\"Expected contiguous enum.\"", ")", ";", "unsigned", "EndSubReg", "=", "ARM", "::", "QQPRRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", "?", "ARM", "::", "qsub_1", ":", "ARM", "::", "qsub_3", ";", "for", "(", "unsigned", "i", "=", "ARM", "::", "qsub_0", ",", "e", "=", "EndSubReg", "+", "1", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Dst", "=", "TRI", "->", "getSubReg", "(", "DestReg", ",", "i", ")", ";", "unsigned", "Src", "=", "TRI", "->", "getSubReg", "(", "SrcReg", ",", "i", ")", ";", "MachineInstrBuilder", "Mov", "=", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "ARM", "::", "VORRq", ")", ")", ".", "addReg", "(", "Dst", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "Src", ",", "getKillRegState", "(", "KillSrc", ")", ")", ".", "addReg", "(", "Src", ",", "getKillRegState", "(", "KillSrc", ")", ")", ")", ";", "if", "(", "i", "==", "EndSubReg", ")", "{", "Mov", "->", "addRegisterDefined", "(", "DestReg", ",", "TRI", ")", ";", "if", "(", "KillSrc", ")", "Mov", "->", "addRegisterKilled", "(", "SrcReg", ",", "TRI", ")", ";", "}", "}", "return", ";", "}", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["ARM", "ARM", "ARM::GPRRegClass", "ARM::GPRRegClass", "ARM::MOVr", "ARM::SPRRegClass", "ARM::SPRRegClass", "0", "ARM::VMOVS", "ARM::VMOVRS", "ARM::VMOVSR", "ARM::DPRRegClass", "ARM::VMOVD", "ARM::QPRRegClass", "ARM::VORRq", "ARM::VORRq", "ARM::QQPRRegClass", "ARM::QQQQPRRegClass", "ARM::qsub_0", "3", "ARM::qsub_3", "\"Expected contiguous enum.\"", "ARM::QQPRRegClass", "ARM::qsub_1", "ARM::qsub_3", "ARM::qsub_0", "1", "ARM::VORRq", "\"Impossible reg-to-reg copy\""], "File": "ARMBaseInstrInfo108", "Func": "copyPhysReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15085, "Length": 481, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_simd_call_p", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "symbol", ";", "rtx", "call", ";", "tree", "fndecl", ";", "gcc_assert", "(", "CALL_P", "(", "insn", ")", ")", ";", "call", "=", "get_call_rtx_from", "(", "insn", ")", ";", "symbol", "=", "XEXP", "(", "XEXP", "(", "call", ",", "0", ")", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "symbol", ")", "!=", "SYMBOL_REF", ")", "return", "false", ";", "fndecl", "=", "SYMBOL_REF_DECL", "(", "symbol", ")", ";", "if", "(", "!", "fndecl", ")", "return", "false", ";", "return", "aarch64_simd_decl_p", "(", "fndecl", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "instruction", "is", "a", "call", "to", "a", "SIMD", "function", ",", "false", "if", "it", "is", "not", "a", "SIMD", "function", "or", "if", "we", "do", "not", "know", "anything", "about", "the", "function", "."], "TS_V_token": ["aarch64", "0", "0"], "File": "aarch646", "Func": "aarch64_simd_call_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15086, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "mips_mult_zero_zero_cost", "(", "struct", "mips_sim", "*", "state", ",", "bool", "setting", ")", "{", "mips_tuning_info", ".", "fast_mult_zero_zero_p", "=", "setting", ";", "start_sequence", "(", ")", ";", "machine_mode", "dword_mode", "=", "TARGET_64BIT", "?", "TImode", ":", "DImode", ";", "rtx", "hilo", "=", "gen_rtx_REG", "(", "dword_mode", ",", "MD_REG_FIRST", ")", ";", "mips_emit_move_or_split", "(", "hilo", ",", "const0_rtx", ",", "SPLIT_FOR_SPEED", ")", ";", "if", "(", "dword_mode", "==", "DImode", "&&", "HAVE_maddsidi4", ")", "{", "rtx", "gpr", "=", "gen_rtx_REG", "(", "SImode", ",", "GP_REG_FIRST", "+", "4", ")", ";", "emit_insn", "(", "gen_maddsidi4", "(", "hilo", ",", "gpr", ",", "gpr", ",", "hilo", ")", ")", ";", "}", "unsigned", "int", "time", "=", "mips_seq_time", "(", "state", ",", "get_insns", "(", ")", ")", ";", "end_sequence", "(", ")", ";", "return", "time", ";", "}", ""], "natrual_language": ["Return", "the", "execution-time", "cost", "of", "mips_tuning_info.fast_mult_zero_zero_p", "setting", "SETTING", ",", "using", "STATE", "to", "simulate", "instruction", "sequences", "."], "TS_V_token": ["mips", "4"], "File": "mips", "Func": "mips_mult_zero_zero_cost", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15087, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RegDefsUses", "::", "init", "(", "const", "MachineInstr", "&", "MI", ")", "{", "update", "(", "MI", ",", "0", ",", "MI", ".", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", ")", ";", "if", "(", "MI", ".", "isCall", "(", ")", ")", "{", "assert", "(", "MI", ".", "getDesc", "(", ")", ".", "getNumImplicitDefs", "(", ")", "<=", "2", "&&", "\"Expected one implicit def for call instruction\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "MI", ".", "getDesc", "(", ")", ".", "getNumImplicitDefs", "(", ")", ";", "i", "++", ")", "{", "MCPhysReg", "Reg", "=", "MI", ".", "getDesc", "(", ")", ".", "getImplicitDefs", "(", ")", "[", "i", "]", ";", "if", "(", "Reg", "==", "Mips", "::", "C26", ")", "continue", ";", "Defs", ".", "set", "(", "Reg", ")", ";", "}", "}", "if", "(", "MI", ".", "isBranch", "(", ")", ")", "{", "update", "(", "MI", ",", "MI", ".", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", ",", "MI", ".", "getNumOperands", "(", ")", ")", ";", "Defs", ".", "reset", "(", "Mips", "::", "AT", ")", ";", "}", "}", ""], "natrual_language": ["Initialize", "the", "machine", "model", "for", "instruction", "scheduling", "."], "TS_V_token": ["Mips", "0", "2", "\"Expected one implicit def for call instruction\"", "0", "Mips::C26", "Mips::AT"], "File": "MipsDelaySlotFiller35", "Func": "init", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15088, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "X86TargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "X86PassConfig", "(", "this", ",", "PM", ",", "Subtarget", ".", "is64Bit", "(", ")", ")", ";", "}", ""], "natrual_language": ["Create", "a", "pass", "configuration", "object", "to", "be", "used", "by", "addPassToEmitX", "methods", "for", "generating", "a", "pipeline", "of", "CodeGen", "passes", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86TargetMachine115", "Func": "createPassConfig", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15089, "Length": 27, "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": 15090, "Length": 74, "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", ";", "if", "(", "TM", ".", "shouldAssumeDSOLocal", "(", "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": "X86Subtarget45", "Func": "classifyGlobalReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15091, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FlagsCopyLoweringPass", "::", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["X86", "X86"], "File": "X86FlagsCopyLowering", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15092, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mt_emit_save_fp", "(", "enum", "save_direction", "direction", ",", "struct", "mt_frame_info", "info", ")", "{", "rtx", "base_reg", ";", "int", "reg_mask", "=", "info", ".", "reg_mask", "&", "~", "(", "FP_MASK", "|", "LINK_MASK", ")", ";", "int", "offset", "=", "info", ".", "total_size", ";", "int", "stack_offset", "=", "info", ".", "total_size", ";", "if", "(", "!", "info", ".", "save_fp", "&&", "!", "info", ".", "save_lr", "&&", "!", "reg_mask", ")", "return", ";", "if", "(", "CONST_OK_FOR_LETTER_P", "(", "offset", ",", "'O'", ")", ")", "base_reg", "=", "stack_pointer_rtx", ";", "else", "{", "base_reg", "=", "gen_rtx_REG", "(", "SImode", ",", "GPR_R9", ")", ";", "offset", "=", "0", ";", "}", "if", "(", "info", ".", "save_fp", ")", "{", "offset", "-=", "UNITS_PER_WORD", ";", "stack_offset", "-=", "UNITS_PER_WORD", ";", "mt_emit_save_restore", "(", "direction", ",", "gen_rtx_REG", "(", "SImode", ",", "GPR_FP", ")", ",", "gen_rtx_MEM", "(", "SImode", ",", "gen_rtx_PLUS", "(", "SImode", ",", "base_reg", ",", "GEN_INT", "(", "offset", ")", ")", ")", ",", "stack_offset", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "code", "to", "save", "the", "frame", "pointer", "in", "the", "prologue", "and", "restore", "frame", "pointer", "in", "epilogue", "."], "TS_V_token": ["mt", "0"], "File": "mt", "Func": "mt_emit_save_fp", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15093, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "MBBI", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "MBBI", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "case", "AArch64", "::", "TLSDESC_BLRx", ":", "{", "MachineInstr", "*", "NewMI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "TLSDESCCALL", ")", ")", ".", "addOperand", "(", "MI", ".", "getOperand", "(", "1", ")", ")", ";", "MI", ".", "setDesc", "(", "get", "(", "AArch64", "::", "BLRx", ")", ")", ";", "llvm", "::", "finalizeBundle", "(", "MBB", ",", "NewMI", ",", "*", "++", "MBBI", ")", ";", "return", "true", ";", "}", "default", ":", "return", "false", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::TLSDESC_BLRx", "AArch64::TLSDESCCALL", "1", "AArch64::BLRx"], "File": "AArch64InstrInfo101", "Func": "expandPostRAPseudo", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15094, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_CC", ")", "return", "(", "regno", "==", "CC_REGNUM", "||", "(", "TARGET_VFP_BASE", "&&", "regno", "==", "VFPCC_REGNUM", ")", ")", ";", "if", "(", "regno", "==", "CC_REGNUM", "&&", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_CC", ")", "return", "false", ";", "if", "(", "IS_VPR_REGNUM", "(", "regno", ")", ")", "return", "VALID_MVE_PRED_MODE", "(", "mode", ")", ";", "if", "(", "TARGET_THUMB1", ")", "return", "(", "ARM_NUM_REGS", "(", "mode", ")", "<", "2", ")", "||", "(", "regno", "<", "LAST_LO_REGNUM", ")", ";", "if", "(", "TARGET_VFP_BASE", "&&", "IS_VFP_REGNUM", "(", "regno", ")", ")", "{", "if", "(", "mode", "==", "DFmode", "||", "mode", "==", "DImode", ")", "return", "VFP_REGNO_OK_FOR_DOUBLE", "(", "regno", ")", ";", "if", "(", "mode", "==", "HFmode", "||", "mode", "==", "BFmode", "||", "mode", "==", "HImode", "||", "mode", "==", "SFmode", "||", "mode", "==", "SImode", ")", "return", "VFP_REGNO_OK_FOR_SINGLE", "(", "regno", ")", ";", "if", "(", "TARGET_NEON", ")", "return", "(", "VALID_NEON_DREG_MODE", "(", "mode", ")", "&&", "VFP_REGNO_OK_FOR_DOUBLE", "(", "regno", ")", ")", "||", "(", "VALID_NEON_QREG_MODE", "(", "mode", ")", "&&", "NEON_REGNO_OK_FOR_QUAD", "(", "regno", ")", ")", "||", "(", "mode", "==", "TImode", "&&", "NEON_REGNO_OK_FOR_NREGS", "(", "regno", ",", "2", ")", ")", "||", "(", "mode", "==", "EImode", "&&", "NEON_REGNO_OK_FOR_NREGS", "(", "regno", ",", "3", ")", ")", "||", "(", "mode", "==", "OImode", "&&", "NEON_REGNO_OK_FOR_NREGS", "(", "regno", ",", "4", ")", ")", "||", "(", "mode", "==", "CImode", "&&", "NEON_REGNO_OK_FOR_NREGS", "(", "regno", ",", "6", ")", ")", "||", "(", "mode", "==", "XImode", "&&", "NEON_REGNO_OK_FOR_NREGS", "(", "regno", ",", "8", ")", ")", ";", "if", "(", "TARGET_HAVE_MVE", ")", "return", "(", "(", "VALID_MVE_MODE", "(", "mode", ")", "&&", "NEON_REGNO_OK_FOR_QUAD", "(", "regno", ")", ")", "||", "(", "mode", "==", "OImode", "&&", "NEON_REGNO_OK_FOR_NREGS", "(", "regno", ",", "4", ")", ")", "||", "(", "mode", "==", "XImode", "&&", "NEON_REGNO_OK_FOR_NREGS", "(", "regno", ",", "8", ")", ")", ")", ";", "return", "false", ";", "}", "if", "(", "TARGET_REALLY_IWMMXT", ")", "{", "if", "(", "IS_IWMMXT_GR_REGNUM", "(", "regno", ")", ")", "return", "mode", "==", "SImode", ";", "if", "(", "IS_IWMMXT_REGNUM", "(", "regno", ")", ")", "return", "VALID_IWMMXT_REG_MODE", "(", "mode", ")", ";", "}", "if", "(", "regno", "<=", "LAST_ARM_REGNUM", ")", "{", "if", "(", "ARM_NUM_REGS", "(", "mode", ")", ">", "4", ")", "return", "false", ";", "if", "(", "TARGET_THUMB2", "&&", "!", "(", "TARGET_HAVE_MVE", "||", "TARGET_CDE", ")", ")", "return", "true", ";", "return", "!", "(", "(", "TARGET_LDRD", "||", "TARGET_CDE", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", ">", "4", "&&", "(", "regno", "&", "1", ")", "!=", "0", ")", ";", "}", "if", "(", "regno", "==", "FRAME_POINTER_REGNUM", "||", "regno", "==", "ARG_POINTER_REGNUM", ")", "return", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_INT", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "REGNO", "is", "a", "valid", "register", "for", "holding", "a", "quantity", "of", "type", "MODE", "."], "TS_V_token": ["arm", "2", "2", "3", "4", "6", "8", "4", "8", "4", "4", "1", "0"], "File": "arm1", "Func": "arm_hard_regno_mode_ok", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15095, "Length": 394, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_split_fp_branch", "(", "enum", "rtx_code", "code", ",", "rtx", "op1", ",", "rtx", "op2", ",", "rtx", "target1", ",", "rtx", "target2", ",", "rtx", "tmp", ")", "{", "rtx", "condition", ";", "rtx_insn", "*", "i", ";", "if", "(", "target2", "!=", "pc_rtx", ")", "{", "std", "::", "swap", "(", "target1", ",", "target2", ")", ";", "code", "=", "reverse_condition_maybe_unordered", "(", "code", ")", ";", "}", "condition", "=", "ix86_expand_fp_compare", "(", "code", ",", "op1", ",", "op2", ",", "tmp", ")", ";", "i", "=", "emit_jump_insn", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "condition", ",", "target1", ",", "target2", ")", ")", ")", ";", "if", "(", "split_branch_probability", ">=", "0", ")", "add_int_reg_note", "(", "i", ",", "REG_BR_PROB", ",", "split_branch_probability", ")", ";", "}", ""], "natrual_language": ["Split", "branch", "based", "on", "floating", "point", "condition", "."], "TS_V_token": ["i386", "0"], "File": "i3866", "Func": "ix86_split_fp_branch", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15096, "Length": 104, "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": 15097, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_expand_zeroop_builtin", "(", "enum", "insn_code", "icode", ",", "rtx", "target", ")", "{", "rtx", "pat", ";", "machine_mode", "tmode", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "mode", ";", "if", "(", "icode", "==", "CODE_FOR_nothing", ")", "return", "0", ";", "if", "(", "icode", "==", "CODE_FOR_rs6000_mffsl", "&&", "rs6000_isa_flags", "&", "OPTION_MASK_SOFT_FLOAT", ")", "{", "error", "(", "\"%<__builtin_mffsl%> not supported with %<-msoft-float%>\"", ")", ";", "return", "const0_rtx", ";", "}", "if", "(", "target", "==", "0", "||", "GET_MODE", "(", "target", ")", "!=", "tmode", "||", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "predicate", ")", "(", "target", ",", "tmode", ")", ")", "target", "=", "gen_reg_rtx", "(", "tmode", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ")", ";", "if", "(", "!", "pat", ")", "return", "0", ";", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Expand", "an", "expression", "EXP", "that", "calls", "a", "builtin", "without", "arguments", "."], "TS_V_token": ["rs6000", "0", "0", "\"%<__builtin_mffsl%> not supported with %<-msoft-float%>\"", "0", "0", "0"], "File": "rs6000-call", "Func": "rs6000_expand_zeroop_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15098, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_emit_sve_fp_cond", "(", "rtx", "target", ",", "rtx_code", "code", ",", "rtx", "pred", ",", "bool", "known_ptrue_p", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "rtx", "flag", "=", "gen_int_mode", "(", "known_ptrue_p", ",", "SImode", ")", ";", "rtx", "unspec", "=", "gen_rtx_UNSPEC", "(", "GET_MODE", "(", "pred", ")", ",", "gen_rtvec", "(", "4", ",", "pred", ",", "flag", ",", "op0", ",", "op1", ")", ",", "aarch64_unspec_cond_code", "(", "code", ")", ")", ";", "emit_set_insn", "(", "target", ",", "unspec", ")", ";", "}", ""], "natrual_language": ["Emit", ":", "(", "set", "TARGET", "(", "unspec", "[", "PRED", "KNOWN_PTRUE_P", "OP0", "OP1", "]", "UNSPEC_COND_", "<", "X", ">", ")", ")", "where", "<", "X", ">", "is", "the", "operation", "associated", "with", "comparison", "CODE", ".", "KNOWN_PTRUE_P", "is", "true", "if", "PRED", "is", "known", "to", "be", "a", "PTRUE", "."], "TS_V_token": ["aarch64", "4"], "File": "aarch64", "Func": "aarch64_emit_sve_fp_cond", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15099, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "mips_output_probe_stack_range", "(", "rtx", "reg1", ",", "rtx", "reg2", ")", "{", "static", "int", "labelno", "=", "0", ";", "char", "loop_lab", "[", "32", "]", ",", "tmp", "[", "64", "]", ";", "rtx", "xops", "[", "2", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "loop_lab", ",", "\"LPSRL\"", ",", "labelno", "++", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "loop_lab", ")", ";", "xops", "[", "0", "]", "=", "reg1", ";", "xops", "[", "1", "]", "=", "GEN_INT", "(", "-", "PROBE_INTERVAL", ")", ";", "if", "(", "TARGET_64BIT", "&&", "TARGET_LONG64", ")", "output_asm_insn", "(", "\"daddiu\\t%0,%0,%1\"", ",", "xops", ")", ";", "else", "output_asm_insn", "(", "\"addiu\\t%0,%0,%1\"", ",", "xops", ")", ";", "xops", "[", "1", "]", "=", "reg2", ";", "strcpy", "(", "tmp", ",", "\"%(%"], "natrual_language": ["Probe", "a", "range", "of", "stack", "addresses", "from", "REG1", "to", "REG2", "inclusive", ".", "These", "are", "absolute", "addresses", "."], "TS_V_token": ["mips", "0", "32", "64", "2", "\"LPSRL\"", "0", "1", "\"daddiu\\t%0,%0,%1\"", "\"addiu\\t%0,%0,%1\"", "1", "\"%(%", "bool", "X86TargetLowering", "::", "areJTsAllowed", "(", "const", "Function", "*", "Fn", ")", "const", "{", "if", "(", "Subtarget", ".", "useIndirectThunkBranches", "(", ")", ")", "return", "false", ";", "return", "TargetLowering", "::", "areJTsAllowed", "(", "Fn", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "lowering", "to", "a", "jump", "table", "is", "allowed", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering (2)5", "Func": "areJTsAllowed", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15101, "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", ";", "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": "i3863", "Func": "x86_order_regs_for_local_alloc", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15102, "Length": 210, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_legitimate_constant_p_1", "(", "machine_mode", ",", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST_VECTOR", "&&", "!", "neon_make_constant", "(", "x", ",", "false", ")", ")", "return", "false", ";", "return", "flag_pic", "||", "!", "label_mentioned_p", "(", "x", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LEGITIMATE_CONSTANT_P", ".", "On", "the", "ARM", ",", "allow", "any", "integer", "(", "invalid", "ones", "are", "removed", "later", "by", "insn", "patterns", ")", ",", "nice", "doubles", "and", "symbol_refs", "which", "refer", "to", "the", "function", "'s", "constant", "pool", "XXX", ".", "When", "generating", "pic", "allow", "anything", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_legitimate_constant_p_1", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15103, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_mixed_function_arg", "(", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "int", "align_words", ")", "{", "int", "n_units", ";", "int", "i", ",", "k", ";", "rtx", "rvec", "[", "GP_ARG_NUM_REG", "+", "1", "]", ";", "if", "(", "align_words", ">=", "GP_ARG_NUM_REG", ")", "return", "NULL_RTX", ";", "n_units", "=", "rs6000_arg_size", "(", "mode", ",", "type", ")", ";", "if", "(", "n_units", "==", "0", "||", "(", "n_units", "==", "1", "&&", "mode", "!=", "BLKmode", ")", ")", "return", "gen_rtx_REG", "(", "mode", ",", "GP_ARG_MIN_REG", "+", "align_words", ")", ";", "k", "=", "0", ";", "if", "(", "align_words", "+", "n_units", ">", "GP_ARG_NUM_REG", ")", "rvec", "[", "k", "++", "]", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "NULL_RTX", ",", "const0_rtx", ")", ";", "i", "=", "0", ";", "do", "{", "rtx", "r", "=", "gen_rtx_REG", "(", "SImode", ",", "GP_ARG_MIN_REG", "+", "align_words", ")", ";", "rtx", "off", "=", "GEN_INT", "(", "i", "++", "*", "4", ")", ";", "rvec", "[", "k", "++", "]", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "r", ",", "off", ")", ";", "}", "while", "(", "++", "align_words", "<", "GP_ARG_NUM_REG", "&&", "--", "n_units", "!=", "0", ")", ";", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec_v", "(", "k", ",", "rvec", ")", ")", ";", "}", ""], "natrual_language": ["Determine", "where", "to", "place", "an", "argument", "in", "64-bit", "mode", "with", "32-bit", "ABI", "."], "TS_V_token": ["rs6000", "1", "0", "1", "0", "0", "4", "0"], "File": "rs60003", "Func": "rs6000_mixed_function_arg", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15104, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addPreservedID", "(", "MachineLoopInfoID", ")", ";", "AU", ".", "addPreservedID", "(", "MachineDominatorsID", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["X86"], "File": "X86ExpandPseudo (2)1", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15105, "Length": 38, "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": 15106, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CondBrTuning", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** AArch64 Conditional Branch Tuning **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "bool", "LocalChange", "=", "false", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "getFirstTerminator", "(", ")", ",", "E", "=", "MBB", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "MachineInstr", "&", "MI", "=", "*", "I", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "AArch64", "::", "CBZW", ":", "case", "AArch64", "::", "CBZX", ":", "case", "AArch64", "::", "CBNZW", ":", "case", "AArch64", "::", "CBNZX", ":", "case", "AArch64", "::", "TBZW", ":", "case", "AArch64", "::", "TBZX", ":", "case", "AArch64", "::", "TBNZW", ":", "case", "AArch64", "::", "TBNZX", ":", "MachineInstr", "*", "DefMI", "=", "getOperandDef", "(", "MI", ".", "getOperand", "(", "0", ")", ")", ";", "LocalChange", "=", "(", "DefMI", "&&", "tryToTuneBranch", "(", "MI", ",", "*", "DefMI", ")", ")", ";", "break", ";", "}", "if", "(", "LocalChange", ")", "{", "Changed", "=", "true", ";", "break", ";", "}", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"********** AArch64 Conditional Branch Tuning **********\\n\"", "\"********** Function: \"", "AArch64", "AArch64::CBZW", "AArch64::CBZX", "AArch64::CBNZW", "AArch64::CBNZX", "AArch64::TBZW", "AArch64::TBZX", "AArch64::TBNZW", "AArch64::TBNZX", "0"], "File": "AArch64CondBrTuning", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15107, "Length": 241, "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", "::", "NumArgGPRs", ";", "++", "I", ")", "SavedRegs", ".", "set", "(", "SystemZ", "::", "ArgGPRs", "[", "I", "]", ")", ";", "if", "(", "!", "MF", ".", "getMMI", "(", ")", ".", "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::NumArgGPRs", "SystemZ::ArgGPRs", "SystemZ::R6D", "SystemZ::R7D", "SystemZ::R11D", "SystemZ::R14D", "0", "SystemZ::GR64BitRegClass", "SystemZ::R15D"], "File": "SystemZFrameLowering2", "Func": "determineCalleeSaves", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15108, "Length": 262, "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", "::", "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", "::", "MOV32ri64", ":", "MI", "->", "setDesc", "(", "get", "(", "X86", "::", "MOV32ri", ")", ")", ";", "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::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::MOV32ri64", "X86::MOV32ri", "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": "X86InstrInfo131", "Func": "expandPostRAPseudo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15109, "Length": 491, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "X86Subtarget", "::", "ClassifyGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "const", "TargetMachine", "&", "TM", ")", "const", "{", "if", "(", "GV", "->", "hasDLLImportLinkage", "(", ")", ")", "return", "X86II", "::", "MO_DLLIMPORT", ";", "bool", "isDecl", "=", "GV", "->", "isDeclaration", "(", ")", "&&", "!", "GV", "->", "isMaterializable", "(", ")", ";", "if", "(", "isPICStyleRIPRel", "(", ")", ")", "{", "if", "(", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "if", "(", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "GV", "->", "hasDefaultVisibility", "(", ")", "&&", "(", "isDecl", "||", "GV", "->", "isWeakForLinker", "(", ")", ")", ")", "return", "X86II", "::", "MO_GOTPCREL", ";", "}", "else", "{", "assert", "(", "isTargetELF", "(", ")", "&&", "\"Unknown rip-relative target\"", ")", ";", "if", "(", "!", "GV", "->", "hasLocalLinkage", "(", ")", "&&", "GV", "->", "hasDefaultVisibility", "(", ")", ")", "return", "X86II", "::", "MO_GOTPCREL", ";", "}", "return", "X86II", "::", "MO_NO_FLAG", ";", "}", "if", "(", "isPICStyleGOT", "(", ")", ")", "{", "if", "(", "GV", "->", "hasLocalLinkage", "(", ")", "||", "GV", "->", "hasHiddenVisibility", "(", ")", ")", "return", "X86II", "::", "MO_GOTOFF", ";", "return", "X86II", "::", "MO_GOT", ";", "}", "if", "(", "isPICStyleStubPIC", "(", ")", ")", "{", "if", "(", "!", "isDecl", "&&", "!", "GV", "->", "isWeakForLinker", "(", ")", ")", "return", "X86II", "::", "MO_PIC_BASE_OFFSET", ";", "if", "(", "!", "GV", "->", "hasHiddenVisibility", "(", ")", ")", "return", "X86II", "::", "MO_DARWIN_NONLAZY_PIC_BASE", ";", "if", "(", "isDecl", "||", "GV", "->", "hasCommonLinkage", "(", ")", ")", "{", "return", "X86II", "::", "MO_DARWIN_HIDDEN_NONLAZY_PIC_BASE", ";", "}", "return", "X86II", "::", "MO_PIC_BASE_OFFSET", ";", "}", "if", "(", "isPICStyleStubNoDynamic", "(", ")", ")", "{", "if", "(", "!", "isDecl", "&&", "!", "GV", "->", "isWeakForLinker", "(", ")", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "if", "(", "!", "GV", "->", "hasHiddenVisibility", "(", ")", ")", "return", "X86II", "::", "MO_DARWIN_NONLAZY", ";", "return", "X86II", "::", "MO_NO_FLAG", ";", "}", "return", "X86II", "::", "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": ["X86", "X86", "X86II::MO_DLLIMPORT", "X86II::MO_NO_FLAG", "X86II::MO_GOTPCREL", "\"Unknown rip-relative target\"", "X86II::MO_GOTPCREL", "X86II::MO_NO_FLAG", "X86II::MO_GOTOFF", "X86II::MO_GOT", "X86II::MO_PIC_BASE_OFFSET", "X86II::MO_DARWIN_NONLAZY_PIC_BASE", "X86II::MO_DARWIN_HIDDEN_NONLAZY_PIC_BASE", "X86II::MO_PIC_BASE_OFFSET", "X86II::MO_NO_FLAG", "X86II::MO_DARWIN_NONLAZY", "X86II::MO_NO_FLAG", "X86II::MO_NO_FLAG"], "File": "X86Subtarget10", "Func": "ClassifyGlobalReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15110, "Length": 283, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "ArrayRef", "<", "Register", ">>", "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", ")", ";", "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", ";", "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": "AArch64CallLowering14", "Func": "lowerFormalArguments", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15111, "Length": 367, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"Windows 32-bit x86 EH state insertion\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"Windows 32-bit x86 EH state insertion\""], "File": "X86WinEHState (2)", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15112, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_fp_absneg_operator", "(", "enum", "rtx_code", "code", ",", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ")", "{", "rtx", "set", ",", "dst", ",", "src", ";", "bool", "use_sse", "=", "false", ";", "bool", "vector_mode", "=", "VECTOR_MODE_P", "(", "mode", ")", ";", "machine_mode", "vmode", "=", "mode", ";", "rtvec", "par", ";", "if", "(", "vector_mode", "||", "mode", "==", "TFmode", "||", "mode", "==", "HFmode", ")", "{", "use_sse", "=", "true", ";", "if", "(", "mode", "==", "HFmode", ")", "vmode", "=", "V8HFmode", ";", "}", "else", "if", "(", "TARGET_SSE_MATH", ")", "{", "use_sse", "=", "SSE_FLOAT_MODE_P", "(", "mode", ")", ";", "if", "(", "mode", "==", "SFmode", ")", "vmode", "=", "V4SFmode", ";", "else", "if", "(", "mode", "==", "DFmode", ")", "vmode", "=", "V2DFmode", ";", "}", "dst", "=", "operands", "[", "0", "]", ";", "src", "=", "operands", "[", "1", "]", ";", "set", "=", "gen_rtx_fmt_e", "(", "code", ",", "mode", ",", "src", ")", ";", "set", "=", "gen_rtx_SET", "(", "dst", ",", "set", ")", ";", "if", "(", "use_sse", ")", "{", "rtx", "mask", ",", "use", ",", "clob", ";", "mask", "=", "ix86_build_signbit_mask", "(", "vmode", ",", "vector_mode", ",", "code", "==", "ABS", ")", ";", "use", "=", "gen_rtx_USE", "(", "VOIDmode", ",", "mask", ")", ";", "if", "(", "vector_mode", "||", "mode", "==", "TFmode", ")", "par", "=", "gen_rtvec", "(", "2", ",", "set", ",", "use", ")", ";", "else", "{", "clob", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "CCmode", ",", "FLAGS_REG", ")", ")", ";", "par", "=", "gen_rtvec", "(", "3", ",", "set", ",", "use", ",", "clob", ")", ";", "}", "}", "else", "{", "rtx", "clob", ";", "clob", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "CCmode", ",", "FLAGS_REG", ")", ")", ";", "par", "=", "gen_rtvec", "(", "2", ",", "set", ",", "clob", ")", ";", "}", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "par", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "code", "for", "floating", "point", "ABS", "or", "NEG", "."], "TS_V_token": ["i386", "0", "1", "2", "3", "2"], "File": "i386-expand", "Func": "ix86_expand_fp_absneg_operator", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15113, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Function: \"", ";", "MF", ".", "dump", "(", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "initialize", "(", "MF", ")", ";", "if", "(", "!", "collectISELInstructions", "(", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"No ISEL instructions in this function\\n\"", ")", ";", "return", "false", ";", "}", "DumpISELInstructions", "(", ")", ";", "expandAndMergeISELs", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC", "\"Function: \"", "\"\\n\"", "\"No ISEL instructions in this function\\n\""], "File": "PPCExpandISEL8", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15114, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "getExtractSubregLikeInputs", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "DefIdx", ",", "RegSubRegPairAndIdx", "&", "InputReg", ")", "const", "{", "assert", "(", "DefIdx", "<", "MI", ".", "getDesc", "(", ")", ".", "getNumDefs", "(", ")", "&&", "\"Invalid definition index\"", ")", ";", "assert", "(", "MI", ".", "isExtractSubregLike", "(", ")", "&&", "\"Invalid kind of instruction\"", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "ARM", "::", "VMOVRRD", ":", "const", "MachineOperand", "&", "MOReg", "=", "MI", ".", "getOperand", "(", "2", ")", ";", "if", "(", "MOReg", ".", "isUndef", "(", ")", ")", "return", "false", ";", "InputReg", ".", "Reg", "=", "MOReg", ".", "getReg", "(", ")", ";", "InputReg", ".", "SubReg", "=", "MOReg", ".", "getSubReg", "(", ")", ";", "InputReg", ".", "SubIdx", "=", "DefIdx", "==", "0", "?", "ARM", "::", "ssub_0", ":", "ARM", "::", "ssub_1", ";", "return", "true", ";", "}", "llvm_unreachable", "(", "\"Target dependent opcode missing\"", ")", ";", "}", ""], "natrual_language": ["Target-dependent", "implementation", "of", "getExtractSubregInputs", "."], "TS_V_token": ["ARM", "ARM", "\"Invalid definition index\"", "\"Invalid kind of instruction\"", "ARM::VMOVRRD", "2", "0", "ARM::ssub_0", "ARM::ssub_1", "\"Target dependent opcode missing\""], "File": "ARMBaseInstrInfo1", "Func": "getExtractSubregLikeInputs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15115, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"AArch64 Compress Jump Tables\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64", "\"AArch64 Compress Jump Tables\""], "File": "AArch64CompressJumpTables", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15116, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "PPCTargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "IsMemset", ",", "bool", "ZeroMemset", ",", "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": "PPCISelLowering (2)", "Func": "getOptimalMemOpType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15117, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SystemZInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "getTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZISelDAGToDAG42", "Func": "getInstrInfo", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15118, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "classof", "(", "const", "AArch64MCExpr", "*", "E", ")", "{", "return", "E", "->", "getKind", "(", ")", "==", "VK_AUTH", "||", "E", "->", "getKind", "(", ")", "==", "VK_AUTHADDR", ";", "}", ""], "natrual_language": ["Methods", "for", "support", "type", "inquiry", "through", "isa", ",", "cast", ",", "and", "dyn_cast", ":"], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64MCExpr16", "Func": "classof", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15119, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CSKYAsmBackend", "::", "relaxInstruction", "(", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "llvm_unreachable", "(", "\"CSKYAsmBackend::relaxInstruction() unimplemented\"", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["CSKY", "CSKY", "\"CSKYAsmBackend::relaxInstruction() unimplemented\""], "File": "CSKYAsmBackend1", "Func": "relaxInstruction", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15120, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "Check", "(", "DecodeStatus", "&", "Out", ",", "DecodeStatus", "In", ")", "{", "switch", "(", "In", ")", "{", "case", "MCDisassembler", "::", "Success", ":", "return", "true", ";", "case", "MCDisassembler", "::", "SoftFail", ":", "Out", "=", "In", ";", "return", "true", ";", "case", "MCDisassembler", "::", "Fail", ":", "Out", "=", "In", ";", "return", "false", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Matches", "check", "string", "and", "its", "``", "not", "strings", "''", "and/or", "``", "dag", "strings", "''", "."], "TS_V_token": ["ARM"], "File": "ARMDisassembler13", "Func": "Check", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15121, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64PassConfig", "::", "addPreSched2", "(", ")", "{", "addPass", "(", "createARM64ExpandPseudoPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableLoadStoreOpt", ")", "addPass", "(", "createARM64LoadStoreOptimizationPass", "(", ")", ")", ";", "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": ["ARM64", "ARM64", "ARM64", "ARM64"], "File": "ARM64TargetMachine1", "Func": "addPreSched2", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15122, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "X86InstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["X86", "X86"], "File": "X86TargetMachine13", "Func": "getInstrInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15123, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "rx_function_arg_size", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "unsigned", "int", "num_bytes", ";", "num_bytes", "=", "(", "mode", "==", "BLKmode", ")", "?", "int_size_in_bytes", "(", "type", ")", ":", "GET_MODE_SIZE", "(", "mode", ")", ";", "return", "rx_round_up", "(", "num_bytes", ",", "UNITS_PER_WORD", ")", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "bytes", "in", "the", "argument", "registers", "occupied", "by", "an", "argument", "of", "type", "TYPE", "and", "mode", "MODE", "."], "TS_V_token": ["rx"], "File": "rx", "Func": "rx_function_arg_size", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15124, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isFPVectorizationPotentiallyUnsafe", "(", ")", "{", "return", "!", "ST", "->", "isTargetDarwin", "(", ")", "&&", "!", "ST", "->", "hasMVEFloatOps", "(", ")", ";", "}", ""], "natrual_language": ["Indicate", "that", "it", "is", "potentially", "unsafe", "to", "automatically", "vectorize", "floating-point", "operations", "because", "the", "semantics", "of", "vector", "and", "scalar", "floating-point", "semantics", "may", "differ", "."], "TS_V_token": ["ARM"], "File": "ARMTargetTransformInfo (2)1", "Func": "isFPVectorizationPotentiallyUnsafe", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15125, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16DAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "if", "(", "!", "Subtarget", "->", "inMips16Mode", "(", ")", ")", "return", "false", ";", "return", "MipsDAGToDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips"], "File": "Mips16ISelDAGToDAG17", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15126, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "PPCFrameLowering", "::", "determineFrameLayoutAndUpdate", "(", "MachineFunction", "&", "MF", ",", "bool", "UseEstimate", ")", "const", "{", "unsigned", "NewMaxCallFrameSize", "=", "0", ";", "uint64_t", "FrameSize", "=", "determineFrameLayout", "(", "MF", ",", "UseEstimate", ",", "&", "NewMaxCallFrameSize", ")", ";", "MF", ".", "getFrameInfo", "(", ")", ".", "setStackSize", "(", "FrameSize", ")", ";", "MF", ".", "getFrameInfo", "(", ")", ".", "setMaxCallFrameSize", "(", "NewMaxCallFrameSize", ")", ";", "return", "FrameSize", ";", "}", ""], "natrual_language": ["Determine", "the", "frame", "layout", "and", "update", "the", "machine", "function", "."], "TS_V_token": ["PowerPC", "PPC", "0"], "File": "PPCFrameLowering16", "Func": "determineFrameLayoutAndUpdate", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15127, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_expand_sse_fp_minmax", "(", "rtx", "dest", ",", "enum", "rtx_code", "code", ",", "rtx", "cmp_op0", ",", "rtx", "cmp_op1", ",", "rtx", "if_true", ",", "rtx", "if_false", ")", "{", "machine_mode", "mode", ";", "bool", "is_min", ";", "rtx", "tmp", ";", "if", "(", "code", "==", "LT", ")", ";", "else", "if", "(", "code", "==", "UNGE", ")", "std", "::", "swap", "(", "if_true", ",", "if_false", ")", ";", "else", "return", "false", ";", "if", "(", "rtx_equal_p", "(", "cmp_op0", ",", "if_true", ")", "&&", "rtx_equal_p", "(", "cmp_op1", ",", "if_false", ")", ")", "is_min", "=", "true", ";", "else", "if", "(", "rtx_equal_p", "(", "cmp_op1", ",", "if_true", ")", "&&", "rtx_equal_p", "(", "cmp_op0", ",", "if_false", ")", ")", "is_min", "=", "false", ";", "else", "return", "false", ";", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "if", "(", "!", "flag_finite_math_only", "||", "!", "flag_unsafe_math_optimizations", ")", "{", "int", "u", "=", "is_min", "?", "UNSPEC_IEEE_MIN", ":", "UNSPEC_IEEE_MAX", ";", "rtvec", "v", ";", "if_true", "=", "force_reg", "(", "mode", ",", "if_true", ")", ";", "v", "=", "gen_rtvec", "(", "2", ",", "if_true", ",", "if_false", ")", ";", "tmp", "=", "gen_rtx_UNSPEC", "(", "mode", ",", "v", ",", "u", ")", ";", "}", "else", "{", "code", "=", "is_min", "?", "SMIN", ":", "SMAX", ";", "tmp", "=", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "if_true", ",", "if_false", ")", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "tmp", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Detect", "conditional", "moves", "that", "exactly", "match", "min/max", "operational", "semantics", ".", "Note", "that", "this", "is", "IEEE", "safe", ",", "as", "long", "as", "we", "do", "n't", "interchange", "the", "operands", ".", "Returns", "FALSE", "if", "this", "conditional", "move", "does", "n't", "match", "a", "MIN/MAX", ",", "and", "TRUE", "if", "the", "operation", "is", "successful", "and", "instructions", "are", "emitted", "."], "TS_V_token": ["i386", "2"], "File": "i3864", "Func": "ix86_expand_sse_fp_minmax", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15128, "Length": 205, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_address_offset_is_imm", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "mem", ",", "addr", ";", "extract_insn_cached", "(", "insn", ")", ";", "if", "(", "REG_P", "(", "recog_data", ".", "operand", "[", "0", "]", ")", ")", "return", "0", ";", "mem", "=", "recog_data", ".", "operand", "[", "0", "]", ";", "gcc_assert", "(", "MEM_P", "(", "mem", ")", ")", ";", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "if", "(", "REG_P", "(", "addr", ")", "||", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "addr", ",", "1", ")", ")", ")", ")", "return", "1", ";", "else", "return", "0", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "the", "offset", "in", "the", "address", "is", "an", "immediate", ".", "Otherwise", ",", "return", "zero", "."], "TS_V_token": ["arm", "0", "0", "0", "0", "0", "1", "1", "0"], "File": "arm", "Func": "arm_address_offset_is_imm", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15129, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_check_movabs", "(", "rtx", "insn", ",", "int", "opnum", ")", "{", "rtx", "set", ",", "mem", ";", "set", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "set", ")", "==", "PARALLEL", ")", "set", "=", "XVECEXP", "(", "set", ",", "0", ",", "0", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "set", ")", "==", "SET", ")", ";", "mem", "=", "XEXP", "(", "set", ",", "opnum", ")", ";", "while", "(", "GET_CODE", "(", "mem", ")", "==", "SUBREG", ")", "mem", "=", "SUBREG_REG", "(", "mem", ")", ";", "gcc_assert", "(", "MEM_P", "(", "mem", ")", ")", ";", "return", "volatile_ok", "||", "!", "MEM_VOLATILE_P", "(", "mem", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "OPNUM", "'s", "MEM", "should", "be", "matched", "in", "movabs", "*", "patterns", "."], "TS_V_token": ["i386", "0", "0"], "File": "i3864", "Func": "ix86_check_movabs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15130, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiRegisterInfo", "::", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "live-ins", "should", "be", "tracked", "after", "register", "allocation", "."], "TS_V_token": ["Lanai", "Lanai"], "File": "LanaiRegisterInfo (2)1", "Func": "trackLivenessAfterRegAlloc", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15131, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLegalNTStore", "(", "Type", "*", "DataType", ",", "Align", "Alignment", ")", "{", "if", "(", "auto", "*", "DataTypeVTy", "=", "dyn_cast", "<", "VectorType", ">", "(", "DataType", ")", ")", "{", "unsigned", "NumElements", "=", "DataTypeVTy", "->", "getNumElements", "(", ")", ";", "unsigned", "EltSize", "=", "DataTypeVTy", "->", "getElementType", "(", ")", "->", "getScalarSizeInBits", "(", ")", ";", "return", "NumElements", ">", "1", "&&", "isPowerOf2_64", "(", "NumElements", ")", "&&", "EltSize", ">=", "8", "&&", "EltSize", "<=", "128", "&&", "isPowerOf2_64", "(", "EltSize", ")", ";", "}", "return", "BaseT", "::", "isLegalNTStore", "(", "DataType", ",", "Alignment", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "nontemporal", "store", "."], "TS_V_token": ["AArch64", "1", "8", "128"], "File": "AArch64TargetTransformInfo1", "Func": "isLegalNTStore", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15132, "Length": 83, "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", "TARGET_64BIT", "&&", "from", "==", "DImode", "&&", "to", "==", "SImode", ";", "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": "pa", "Func": "pa_can_change_mode_class", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15133, "Length": 124, "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", "(", ")", ")", "{", "Register", "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": "AArch64InstrInfo104", "Func": "isCandidateToMergeOrPair", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15134, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_parallel_addb", "(", "rtx", "*", "operands", ",", "int", "length", ")", "{", "if", "(", "operands", "[", "0", "]", "==", "operands", "[", "1", "]", ")", "operands", "[", "1", "]", "=", "operands", "[", "2", "]", ";", "if", "(", "length", "==", "4", ")", "return", "\"add%I1b,tr %1,%0,%3\"", ";", "if", "(", "dbr_sequence_length", "(", ")", "==", "0", ")", "{", "return", "\"b %3\\n\\tadd%I1 %1,%0,%0\"", ";", "}", "else", "{", "return", "\"add%I1 %1,%0,%0\\n\\tb %3\"", ";", "}", "}", ""], "natrual_language": ["Output", "an", "unconditional", "add", "and", "branch", "insn", "."], "TS_V_token": ["pa", "0", "1", "1", "2", "4", "\"add%I1b,tr %1,%0,%3\"", "0", "\"b %3\\n\\tadd%I1 %1,%0,%0\"", "\"add%I1 %1,%0,%0\\n\\tb %3\""], "File": "pa3", "Func": "output_parallel_addb", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15135, "Length": 64, "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", "(", ")", ")", ";", "}", ""], "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": "X86TargetMachine21", "Func": "addPreEmitPass2", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15136, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Bucket", "(", "const", "SCEV", "*", "B", ",", "Instruction", "*", "I", ")", ":", "BaseSCEV", "(", "B", ")", ",", "Elements", "(", "1", ",", "BucketElement", "(", "I", ")", ")", "{", "ChainSize", "=", "0", ";", "}", ""], "natrual_language": ["The", "bucket", "assigned", "by", "balanced", "partitioning", "."], "TS_V_token": ["PowerPC", "1", "0"], "File": "PPCLoopInstrFormPrep", "Func": "Bucket", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15137, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "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", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "bool", "isKill", "=", "true", ";", "if", "(", "Reg", "==", "ARM", "::", "LR", ")", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "if", "(", "MF", ".", "getFrameInfo", "(", ")", "->", "isReturnAddressTaken", "(", ")", "&&", "MF", ".", "getRegInfo", "(", ")", ".", "isLiveIn", "(", "Reg", ")", ")", "isKill", "=", "false", ";", "}", "if", "(", "isKill", ")", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "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": ["ARM", "ARM", "0", "ARM::LR"], "File": "ARMBaseInstrInfo43", "Func": "spillCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15138, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "attr_length_save_restore_dltp", "(", "rtx", "insn", ")", "{", "if", "(", "find_reg_note", "(", "insn", ",", "REG_NORETURN", ",", "NULL_RTX", ")", ")", "return", "0", ";", "return", "8", ";", "}", ""], "natrual_language": ["Return", "the", "total", "length", "of", "the", "save", "and", "restore", "instructions", "needed", "for", "the", "data", "linkage", "table", "pointer", "(", "i.e.", ",", "the", "PIC", "register", ")", "across", "the", "call", "instruction", "INSN", ".", "No-return", "calls", "do", "not", "require", "a", "save", "and", "restore", ".", "In", "addition", ",", "we", "may", "be", "able", "to", "avoid", "the", "save", "and", "restore", "for", "calls", "within", "the", "same", "translation", "unit", "."], "TS_V_token": ["pa", "0", "8"], "File": "pa3", "Func": "attr_length_save_restore_dltp", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15139, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "OpenRISCInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "unsigned", "Opc", ";", "if", "(", "OpenRISC", "::", "GR32RegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "OpenRISC", "::", "OR32rr", ";", "else", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["OpenRISC", "OpenRISC", "OpenRISC::GR32RegClass", "OpenRISC::OR32rr", "\"Impossible reg-to-reg copy\""], "File": "OpenRISCInstrInfo", "Func": "copyPhysReg", "Target": "OpenRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15140, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToReg", "(", "unsigned", "ValVReg", ",", "unsigned", "PhysReg", ",", "CCValAssign", "&", "VA", ")", "override", "{", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Value shouldn't be assigned to reg\"", ")", ";", "assert", "(", "VA", ".", "getLocReg", "(", ")", "==", "PhysReg", "&&", "\"Assigning to the wrong reg?\"", ")", ";", "assert", "(", "VA", ".", "getValVT", "(", ")", ".", "getSizeInBits", "(", ")", "<=", "64", "&&", "\"Unsupported value size\"", ")", ";", "assert", "(", "VA", ".", "getLocVT", "(", ")", ".", "getSizeInBits", "(", ")", "<=", "64", "&&", "\"Unsupported location size\"", ")", ";", "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": ["ARM", "\"Value shouldn't be assigned to reg\"", "\"Assigning to the wrong reg?\"", "64", "\"Unsupported value size\"", "64", "\"Unsupported location size\""], "File": "ARMCallLowering18", "Func": "assignValueToReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15141, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MVEVPTBlock", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "const", "ARMSubtarget", "&", "STI", "=", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "Fn", ".", "getSubtarget", "(", ")", ")", ";", "if", "(", "!", "STI", ".", "isThumb2", "(", ")", "||", "!", "STI", ".", "hasMVEIntegerOps", "(", ")", ")", "return", "false", ";", "TII", "=", "static_cast", "<", "const", "Thumb2InstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** ARM MVE VPT BLOCKS **********\\n\"", "<<", "\"********** Function: \"", "<<", "Fn", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "Fn", ")", "Modified", "|=", "InsertVPTBlocks", "(", "MBB", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"**************************************\\n\"", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "\"********** ARM MVE VPT BLOCKS **********\\n\"", "\"********** Function: \"", "\"**************************************\\n\""], "File": "MVEVPTBlockPass", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15142, "Length": 124, "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", "(", "Subtarget", ".", "isTargetWin64", "(", ")", ")", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "this", "->", "Options", ".", "Reciprocals", ".", "setDefaults", "(", "\"all\"", ",", "false", ",", "1", ")", ";", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "X86", "target", "."], "TS_V_token": ["X86", "X86", "X86", "\"all\"", "1"], "File": "X86TargetMachine99", "Func": "X86TargetMachine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15143, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsFastISel", "::", "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", "(", "UnsupportedFPMode", ")", "?", "0", ":", "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", "0"], "File": "MipsFastISel10", "Func": "fastMaterializeConstant", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15144, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_mode_needed", "(", "int", "entity", ",", "rtx_insn", "*", "insn", ")", "{", "switch", "(", "entity", ")", "{", "case", "AVX_U128", ":", "return", "ix86_avx_u128_mode_needed", "(", "insn", ")", ";", "case", "I387_TRUNC", ":", "case", "I387_FLOOR", ":", "case", "I387_CEIL", ":", "case", "I387_MASK_PM", ":", "return", "ix86_i387_mode_needed", "(", "entity", ",", "insn", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "needed", "mode", "for", "entity", "in", "optimize_mode_switching", "pass", "."], "TS_V_token": ["i386", "0"], "File": "i3864", "Func": "ix86_mode_needed", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15145, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "&", "SrcReg", ",", "unsigned", "&", "SrcReg2", ",", "int", "&", "CmpMask", ",", "int", "&", "CmpValue", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "X86", "::", "CMP64ri32", ":", "case", "X86", "::", "CMP64ri8", ":", "case", "X86", "::", "CMP32ri", ":", "case", "X86", "::", "CMP32ri8", ":", "case", "X86", "::", "CMP16ri", ":", "case", "X86", "::", "CMP16ri8", ":", "case", "X86", "::", "CMP8ri", ":", "SrcReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "0", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "return", "true", ";", "case", "X86", "::", "SUB64rm", ":", "case", "X86", "::", "SUB32rm", ":", "case", "X86", "::", "SUB16rm", ":", "case", "X86", "::", "SUB8rm", ":", "SrcReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "0", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "0", ";", "return", "true", ";", "case", "X86", "::", "SUB64rr", ":", "case", "X86", "::", "SUB32rr", ":", "case", "X86", "::", "SUB16rr", ":", "case", "X86", "::", "SUB8rr", ":", "SrcReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "0", ";", "return", "true", ";", "case", "X86", "::", "SUB64ri32", ":", "case", "X86", "::", "SUB64ri8", ":", "case", "X86", "::", "SUB32ri", ":", "case", "X86", "::", "SUB32ri8", ":", "case", "X86", "::", "SUB16ri", ":", "case", "X86", "::", "SUB16ri8", ":", "case", "X86", "::", "SUB8ri", ":", "SrcReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "0", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "return", "true", ";", "case", "X86", "::", "CMP64rr", ":", "case", "X86", "::", "CMP32rr", ":", "case", "X86", "::", "CMP16rr", ":", "case", "X86", "::", "CMP8rr", ":", "SrcReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "0", ";", "return", "true", ";", "case", "X86", "::", "TEST8rr", ":", "case", "X86", "::", "TEST16rr", ":", "case", "X86", "::", "TEST32rr", ":", "case", "X86", "::", "TEST64rr", ":", "SrcReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "if", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "!=", "SrcReg", ")", "return", "false", ";", "SrcReg2", "=", "0", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "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": ["X86", "X86", "X86::CMP64ri32", "X86::CMP64ri8", "X86::CMP32ri", "X86::CMP32ri8", "X86::CMP16ri", "X86::CMP16ri8", "X86::CMP8ri", "0", "0", "0", "1", "X86::SUB64rm", "X86::SUB32rm", "X86::SUB16rm", "X86::SUB8rm", "1", "0", "0", "0", "X86::SUB64rr", "X86::SUB32rr", "X86::SUB16rr", "X86::SUB8rr", "1", "2", "0", "0", "X86::SUB64ri32", "X86::SUB64ri8", "X86::SUB32ri", "X86::SUB32ri8", "X86::SUB16ri", "X86::SUB16ri8", "X86::SUB8ri", "1", "0", "0", "2", "X86::CMP64rr", "X86::CMP32rr", "X86::CMP16rr", "X86::CMP8rr", "0", "1", "0", "0", "X86::TEST8rr", "X86::TEST16rr", "X86::TEST32rr", "X86::TEST64rr", "0", "1", "0", "0", "0"], "File": "X86InstrInfo (2)", "Func": "analyzeCompare", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15146, "Length": 424, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{", "bool", "is64", "=", "getPointerSize", "(", ")", "==", "8", ";", "return", "createMachObjectWriter", "(", "OS", ",", "is64", ",", "(", "is64", "?", "object", "::", "mach", "::", "CTM_PowerPC64", ":", "object", "::", "mach", "::", "CTM_PowerPC", ")", ",", "object", "::", "mach", "::", "CSPPC_ALL", ",", "false", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["PowerPC", "8", "PPC"], "File": "PPCAsmBackend26", "Func": "createObjectWriter", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15147, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_assemble_integer", "(", "rtx", "x", ",", "unsigned", "int", "size", ",", "int", "aligned_p", ")", "{", "machine_mode", "mode", ";", "if", "(", "size", "==", "UNITS_PER_WORD", "&&", "aligned_p", ")", "{", "fputs", "(", "\"\\t.word\\t\"", ",", "asm_out_file", ")", ";", "output_addr_const", "(", "asm_out_file", ",", "x", ")", ";", "if", "(", "NEED_GOT_RELOC", "&&", "flag_pic", "&&", "making_const_table", "&&", "(", "SYMBOL_REF_P", "(", "x", ")", "||", "LABEL_REF_P", "(", "x", ")", ")", ")", "{", "if", "(", "!", "arm_pic_data_is_text_relative", "||", "(", "SYMBOL_REF_P", "(", "x", ")", "&&", "(", "!", "SYMBOL_REF_LOCAL_P", "(", "x", ")", "||", "(", "SYMBOL_REF_DECL", "(", "x", ")", "?", "DECL_WEAK", "(", "SYMBOL_REF_DECL", "(", "x", ")", ")", ":", "0", ")", "||", "(", "SYMBOL_REF_FUNCTION_P", "(", "x", ")", "&&", "!", "arm_fdpic_local_funcdesc_p", "(", "x", ")", ")", ")", ")", ")", "{", "if", "(", "TARGET_FDPIC", "&&", "SYMBOL_REF_FUNCTION_P", "(", "x", ")", ")", "fputs", "(", "\"(GOTFUNCDESC)\"", ",", "asm_out_file", ")", ";", "else", "fputs", "(", "\"(GOT)\"", ",", "asm_out_file", ")", ";", "}", "else", "{", "if", "(", "TARGET_FDPIC", "&&", "SYMBOL_REF_FUNCTION_P", "(", "x", ")", ")", "fputs", "(", "\"(GOTOFFFUNCDESC)\"", ",", "asm_out_file", ")", ";", "else", "{", "bool", "is_readonly", ";", "if", "(", "!", "TARGET_FDPIC", "||", "arm_is_segment_info_known", "(", "x", ",", "&", "is_readonly", ")", ")", "fputs", "(", "\"(GOTOFF)\"", ",", "asm_out_file", ")", ";", "else", "fputs", "(", "\"(GOT)\"", ",", "asm_out_file", ")", ";", "}", "}", "}", "if", "(", "TARGET_FDPIC", "&&", "!", "making_const_table", "&&", "SYMBOL_REF_P", "(", "x", ")", "&&", "SYMBOL_REF_FUNCTION_P", "(", "x", ")", ")", "fputs", "(", "\"(FUNCDESC)\"", ",", "asm_out_file", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "return", "true", ";", "}", "mode", "=", "GET_MODE", "(", "x", ")", ";", "if", "(", "arm_vector_mode_supported_p", "(", "mode", ")", ")", "{", "int", "i", ",", "units", ";", "gcc_assert", "(", "GET_CODE", "(", "x", ")", "==", "CONST_VECTOR", ")", ";", "units", "=", "CONST_VECTOR_NUNITS", "(", "x", ")", ";", "size", "=", "GET_MODE_UNIT_SIZE", "(", "mode", ")", ";", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_INT", ")", "for", "(", "i", "=", "0", ";", "i", "<", "units", ";", "i", "++", ")", "{", "rtx", "elt", "=", "CONST_VECTOR_ELT", "(", "x", ",", "i", ")", ";", "assemble_integer", "(", "elt", ",", "size", ",", "i", "==", "0", "?", "BIGGEST_ALIGNMENT", ":", "size", "*", "BITS_PER_UNIT", ",", "1", ")", ";", "}", "else", "for", "(", "i", "=", "0", ";", "i", "<", "units", ";", "i", "++", ")", "{", "rtx", "elt", "=", "CONST_VECTOR_ELT", "(", "x", ",", "i", ")", ";", "assemble_real", "(", "*", "CONST_DOUBLE_REAL_VALUE", "(", "elt", ")", ",", "as_a", "<", "scalar_float_mode", ">", "(", "GET_MODE_INNER", "(", "mode", ")", ")", ",", "i", "==", "0", "?", "BIGGEST_ALIGNMENT", ":", "size", "*", "BITS_PER_UNIT", ")", ";", "}", "return", "true", ";", "}", "return", "default_assemble_integer", "(", "x", ",", "size", ",", "aligned_p", ")", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "assembling", "integer", "objects", ".", "The", "ARM", "version", "needs", "to", "handle", "word-sized", "values", "specially", "."], "TS_V_token": ["arm", "\"\\t.word\\t\"", "0", "\"(GOTFUNCDESC)\"", "\"(GOT)\"", "\"(GOTOFFFUNCDESC)\"", "\"(GOTOFF)\"", "\"(GOT)\"", "\"(FUNCDESC)\"", "0", "0", "1", "0", "0"], "File": "arm", "Func": "arm_assemble_integer", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15148, "Length": 395, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86MCInstrAnalysis", "::", "isDependencyBreaking", "(", "const", "MCSubtargetInfo", "&", "STI", ",", "const", "MCInst", "&", "Inst", ")", "const", "{", "if", "(", "STI", ".", "getCPU", "(", ")", "==", "\"btver2\"", ")", "{", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "X86", "::", "SUB32rr", ":", "case", "X86", "::", "SUB64rr", ":", "case", "X86", "::", "SBB32rr", ":", "case", "X86", "::", "SBB64rr", ":", "case", "X86", "::", "XOR32rr", ":", "case", "X86", "::", "XOR64rr", ":", "case", "X86", "::", "XORPSrr", ":", "case", "X86", "::", "XORPDrr", ":", "case", "X86", "::", "VXORPSrr", ":", "case", "X86", "::", "VXORPDrr", ":", "case", "X86", "::", "ANDNPSrr", ":", "case", "X86", "::", "VANDNPSrr", ":", "case", "X86", "::", "ANDNPDrr", ":", "case", "X86", "::", "VANDNPDrr", ":", "case", "X86", "::", "PXORrr", ":", "case", "X86", "::", "VPXORrr", ":", "case", "X86", "::", "PANDNrr", ":", "case", "X86", "::", "VPANDNrr", ":", "case", "X86", "::", "PSUBBrr", ":", "case", "X86", "::", "PSUBWrr", ":", "case", "X86", "::", "PSUBDrr", ":", "case", "X86", "::", "PSUBQrr", ":", "case", "X86", "::", "VPSUBBrr", ":", "case", "X86", "::", "VPSUBWrr", ":", "case", "X86", "::", "VPSUBDrr", ":", "case", "X86", "::", "VPSUBQrr", ":", "case", "X86", "::", "PCMPEQBrr", ":", "case", "X86", "::", "PCMPEQWrr", ":", "case", "X86", "::", "PCMPEQDrr", ":", "case", "X86", "::", "PCMPEQQrr", ":", "case", "X86", "::", "VPCMPEQBrr", ":", "case", "X86", "::", "VPCMPEQWrr", ":", "case", "X86", "::", "VPCMPEQDrr", ":", "case", "X86", "::", "VPCMPEQQrr", ":", "case", "X86", "::", "PCMPGTBrr", ":", "case", "X86", "::", "PCMPGTWrr", ":", "case", "X86", "::", "PCMPGTDrr", ":", "case", "X86", "::", "PCMPGTQrr", ":", "case", "X86", "::", "VPCMPGTBrr", ":", "case", "X86", "::", "VPCMPGTWrr", ":", "case", "X86", "::", "VPCMPGTDrr", ":", "case", "X86", "::", "VPCMPGTQrr", ":", "case", "X86", "::", "MMX_PXORirr", ":", "case", "X86", "::", "MMX_PANDNirr", ":", "case", "X86", "::", "MMX_PSUBBirr", ":", "case", "X86", "::", "MMX_PSUBDirr", ":", "case", "X86", "::", "MMX_PSUBQirr", ":", "case", "X86", "::", "MMX_PSUBWirr", ":", "case", "X86", "::", "MMX_PCMPGTBirr", ":", "case", "X86", "::", "MMX_PCMPGTDirr", ":", "case", "X86", "::", "MMX_PCMPGTWirr", ":", "case", "X86", "::", "MMX_PCMPEQBirr", ":", "case", "X86", "::", "MMX_PCMPEQDirr", ":", "case", "X86", "::", "MMX_PCMPEQWirr", ":", "return", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "Inst", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "case", "X86", "::", "CMP32rr", ":", "case", "X86", "::", "CMP64rr", ":", "return", "Inst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "MI", "is", "a", "dependency", "breaking", "instruction", "for", "the", "subtarget", "."], "TS_V_token": ["X86", "X86", "\"btver2\"", "X86::SUB32rr", "X86::SUB64rr", "X86::SBB32rr", "X86::SBB64rr", "X86::XOR32rr", "X86::XOR64rr", "X86::XORPSrr", "X86::XORPDrr", "X86::VXORPSrr", "X86::VXORPDrr", "X86::ANDNPSrr", "X86::VANDNPSrr", "X86::ANDNPDrr", "X86::VANDNPDrr", "X86::PXORrr", "X86::VPXORrr", "X86::PANDNrr", "X86::VPANDNrr", "X86::PSUBBrr", "X86::PSUBWrr", "X86::PSUBDrr", "X86::PSUBQrr", "X86::VPSUBBrr", "X86::VPSUBWrr", "X86::VPSUBDrr", "X86::VPSUBQrr", "X86::PCMPEQBrr", "X86::PCMPEQWrr", "X86::PCMPEQDrr", "X86::PCMPEQQrr", "X86::VPCMPEQBrr", "X86::VPCMPEQWrr", "X86::VPCMPEQDrr", "X86::VPCMPEQQrr", "X86::PCMPGTBrr", "X86::PCMPGTWrr", "X86::PCMPGTDrr", "X86::PCMPGTQrr", "X86::VPCMPGTBrr", "X86::VPCMPGTWrr", "X86::VPCMPGTDrr", "X86::VPCMPGTQrr", "X86::MMX_PXORirr", "X86::MMX_PANDNirr", "X86::MMX_PSUBBirr", "X86::MMX_PSUBDirr", "X86::MMX_PSUBQirr", "X86::MMX_PSUBWirr", "X86::MMX_PCMPGTBirr", "X86::MMX_PCMPGTDirr", "X86::MMX_PCMPGTWirr", "X86::MMX_PCMPEQBirr", "X86::MMX_PCMPEQDirr", "X86::MMX_PCMPEQWirr", "1", "2", "X86::CMP32rr", "X86::CMP64rr", "0", "1"], "File": "X86MCTargetDesc23", "Func": "isDependencyBreaking", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15149, "Length": 374, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_valid_floating_const", "(", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "if", "(", "!", "CONST_DOUBLE_P", "(", "x", ")", ")", "return", "false", ";", "if", "(", "!", "(", "mode", "==", "SFmode", "||", "mode", "==", "DFmode", ")", ")", "return", "false", ";", "if", "(", "aarch64_float_const_zero_rtx_p", "(", "x", ")", ")", "return", "true", ";", "return", "aarch64_float_const_representable_p", "(", "x", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "holds", "either", "a", "quarter-precision", "or", "floating-point", "+0.0", "constant", "."], "TS_V_token": ["aarch64"], "File": "aarch642", "Func": "aarch64_valid_floating_const", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15150, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "AArch64MCExpr", "::", "getVariantKindName", "(", ")", "const", "{", "switch", "(", "static_cast", "<", "uint32_t", ">", "(", "getKind", "(", ")", ")", ")", "{", "case", "VK_CALL", ":", "return", "\"\"", ";", "case", "VK_LO12", ":", "return", "\":lo12:\"", ";", "case", "VK_ABS_G3", ":", "return", "\":abs_g3:\"", ";", "case", "VK_ABS_G2", ":", "return", "\":abs_g2:\"", ";", "case", "VK_ABS_G2_S", ":", "return", "\":abs_g2_s:\"", ";", "case", "VK_ABS_G2_NC", ":", "return", "\":abs_g2_nc:\"", ";", "case", "VK_ABS_G1", ":", "return", "\":abs_g1:\"", ";", "case", "VK_ABS_G1_S", ":", "return", "\":abs_g1_s:\"", ";", "case", "VK_ABS_G1_NC", ":", "return", "\":abs_g1_nc:\"", ";", "case", "VK_ABS_G0", ":", "return", "\":abs_g0:\"", ";", "case", "VK_ABS_G0_S", ":", "return", "\":abs_g0_s:\"", ";", "case", "VK_ABS_G0_NC", ":", "return", "\":abs_g0_nc:\"", ";", "case", "VK_PREL_G3", ":", "return", "\":prel_g3:\"", ";", "case", "VK_PREL_G2", ":", "return", "\":prel_g2:\"", ";", "case", "VK_PREL_G2_NC", ":", "return", "\":prel_g2_nc:\"", ";", "case", "VK_PREL_G1", ":", "return", "\":prel_g1:\"", ";", "case", "VK_PREL_G1_NC", ":", "return", "\":prel_g1_nc:\"", ";", "case", "VK_PREL_G0", ":", "return", "\":prel_g0:\"", ";", "case", "VK_PREL_G0_NC", ":", "return", "\":prel_g0_nc:\"", ";", "case", "VK_DTPREL_G2", ":", "return", "\":dtprel_g2:\"", ";", "case", "VK_DTPREL_G1", ":", "return", "\":dtprel_g1:\"", ";", "case", "VK_DTPREL_G1_NC", ":", "return", "\":dtprel_g1_nc:\"", ";", "case", "VK_DTPREL_G0", ":", "return", "\":dtprel_g0:\"", ";", "case", "VK_DTPREL_G0_NC", ":", "return", "\":dtprel_g0_nc:\"", ";", "case", "VK_DTPREL_HI12", ":", "return", "\":dtprel_hi12:\"", ";", "case", "VK_DTPREL_LO12", ":", "return", "\":dtprel_lo12:\"", ";", "case", "VK_DTPREL_LO12_NC", ":", "return", "\":dtprel_lo12_nc:\"", ";", "case", "VK_TPREL_G2", ":", "return", "\":tprel_g2:\"", ";", "case", "VK_TPREL_G1", ":", "return", "\":tprel_g1:\"", ";", "case", "VK_TPREL_G1_NC", ":", "return", "\":tprel_g1_nc:\"", ";", "case", "VK_TPREL_G0", ":", "return", "\":tprel_g0:\"", ";", "case", "VK_TPREL_G0_NC", ":", "return", "\":tprel_g0_nc:\"", ";", "case", "VK_TPREL_HI12", ":", "return", "\":tprel_hi12:\"", ";", "case", "VK_TPREL_LO12", ":", "return", "\":tprel_lo12:\"", ";", "case", "VK_TPREL_LO12_NC", ":", "return", "\":tprel_lo12_nc:\"", ";", "case", "VK_TLSDESC_LO12", ":", "return", "\":tlsdesc_lo12:\"", ";", "case", "VK_ABS_PAGE", ":", "return", "\"\"", ";", "case", "VK_ABS_PAGE_NC", ":", "return", "\":pg_hi21_nc:\"", ";", "case", "VK_GOT", ":", "return", "\":got:\"", ";", "case", "VK_GOT_PAGE", ":", "return", "\":got:\"", ";", "case", "VK_GOT_LO12", ":", "return", "\":got_lo12:\"", ";", "case", "VK_GOTTPREL", ":", "return", "\":gottprel:\"", ";", "case", "VK_GOTTPREL_PAGE", ":", "return", "\":gottprel:\"", ";", "case", "VK_GOTTPREL_LO12_NC", ":", "return", "\":gottprel_lo12:\"", ";", "case", "VK_GOTTPREL_G1", ":", "return", "\":gottprel_g1:\"", ";", "case", "VK_GOTTPREL_G0_NC", ":", "return", "\":gottprel_g0_nc:\"", ";", "case", "VK_TLSDESC", ":", "return", "\"\"", ";", "case", "VK_TLSDESC_PAGE", ":", "return", "\":tlsdesc:\"", ";", "case", "VK_SECREL_LO12", ":", "return", "\":secrel_lo12:\"", ";", "case", "VK_SECREL_HI12", ":", "return", "\":secrel_hi12:\"", ";", "default", ":", "llvm_unreachable", "(", "\"Invalid ELF symbol kind\"", ")", ";", "}", "}", ""], "natrual_language": ["Convert", "the", "variant", "kind", "into", "an", "ELF-appropriate", "modifier", "(", "e.g", "."], "TS_V_token": ["AArch64", "AArch64", "\"\"", "\":lo12:\"", "\":abs_g3:\"", "\":abs_g2:\"", "\":abs_g2_s:\"", "\":abs_g2_nc:\"", "\":abs_g1:\"", "\":abs_g1_s:\"", "\":abs_g1_nc:\"", "\":abs_g0:\"", "\":abs_g0_s:\"", "\":abs_g0_nc:\"", "\":prel_g3:\"", "\":prel_g2:\"", "\":prel_g2_nc:\"", "\":prel_g1:\"", "\":prel_g1_nc:\"", "\":prel_g0:\"", "\":prel_g0_nc:\"", "\":dtprel_g2:\"", "\":dtprel_g1:\"", "\":dtprel_g1_nc:\"", "\":dtprel_g0:\"", "\":dtprel_g0_nc:\"", "\":dtprel_hi12:\"", "\":dtprel_lo12:\"", "\":dtprel_lo12_nc:\"", "\":tprel_g2:\"", "\":tprel_g1:\"", "\":tprel_g1_nc:\"", "\":tprel_g0:\"", "\":tprel_g0_nc:\"", "\":tprel_hi12:\"", "\":tprel_lo12:\"", "\":tprel_lo12_nc:\"", "\":tlsdesc_lo12:\"", "\"\"", "\":pg_hi21_nc:\"", "\":got:\"", "\":got:\"", "\":got_lo12:\"", "\":gottprel:\"", "\":gottprel:\"", "\":gottprel_lo12:\"", "\":gottprel_g1:\"", "\":gottprel_g0_nc:\"", "\"\"", "\":tlsdesc:\"", "\":secrel_lo12:\"", "\":secrel_hi12:\"", "\"Invalid ELF symbol kind\""], "File": "AArch64MCExpr24", "Func": "getVariantKindName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15151, "Length": 330, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_function_arg_boundary", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "unsigned", "int", "alignment", "=", "aarch64_function_arg_alignment", "(", "mode", ",", "type", ")", ";", "return", "MIN", "(", "MAX", "(", "alignment", ",", "PARM_BOUNDARY", ")", ",", "STACK_BOUNDARY", ")", ";", "}", ""], "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"], "File": "aarch644", "Func": "aarch64_function_arg_boundary", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15152, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsPassConfig", "::", "addPreEmitPass", "(", ")", "{", "MipsTargetMachine", "&", "TM", "=", "getMipsTargetMachine", "(", ")", ";", "addPass", "(", "createMipsDelaySlotFillerPass", "(", "TM", ")", ")", ";", "addPass", "(", "createMipsLongBranchPass", "(", "TM", ")", ")", ";", "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"], "File": "MipsTargetMachine35", "Func": "addPreEmitPass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15153, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_pad_reg_upward", "(", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "tree", "type", ",", "int", "first", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_AAPCS_BASED", "&&", "BYTES_BIG_ENDIAN", "&&", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "||", "TREE_CODE", "(", "type", ")", "==", "COMPLEX_TYPE", ")", "&&", "int_size_in_bytes", "(", "type", ")", "<=", "4", ")", "return", "true", ";", "return", "!", "BYTES_BIG_ENDIAN", ";", "}", ""], "natrual_language": ["Similarly", ",", "for", "use", "by", "BLOCK_REG_PADDING", "(", "MODE", ",", "TYPE", ",", "FIRST", ")", ".", "For", "non-AAPCS", ",", "return", "!", "BYTES_BIG_ENDIAN", "if", "the", "least", "significant", "byte", "of", "the", "register", "has", "useful", "data", ",", "and", "return", "the", "opposite", "if", "the", "most", "significant", "byte", "does", ".", "For", "AAPCS", ",", "small", "aggregates", "and", "small", "complex", "types", "are", "always", "padded", "upwards", "."], "TS_V_token": ["arm", "4"], "File": "arm3", "Func": "arm_pad_reg_upward", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15154, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsPassConfig", "::", "addPreEmitPass", "(", ")", "{", "PM", ".", "add", "(", "createMipsDelaySlotFillerPass", "(", "getMipsTargetMachine", "(", ")", ")", ")", ";", "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"], "File": "MipsTargetMachine86", "Func": "addPreEmitPass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15155, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb1InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "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": "Thumb1InstrInfo28", "Func": "copyPhysReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15156, "Length": 189, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "WidenVector", "(", "SelectionDAG", "&", "DAG", ")", ":", "DAG", "(", "DAG", ")", "{", "}", ""], "natrual_language": ["Widen", "the", "vector", "up", "to", "the", "next", "power", "of", "two", "using", "INSERT_SUBVECTOR", "."], "TS_V_token": ["AArch64"], "File": "AArch64ISelDAGToDAG (2)2", "Func": "WidenVector", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15157, "Length": 13, "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": ["LoongArch"], "File": "LoongArchAsmParser", "Func": "getEndLoc", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15158, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isPTestLikeOpcode", "(", "unsigned", "Opc", ")", "const", "{", "return", "get", "(", "Opc", ")", ".", "TSFlags", "&", "AArch64", "::", "InstrFlagIsPTestLike", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "opcode", "is", "for", "an", "SVE", "instruction", "that", "sets", "the", "condition", "codes", "as", "if", "it", "'s", "results", "had", "been", "fed", "to", "a", "PTEST", "instruction", "along", "with", "the", "same", "general", "predicate", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::InstrFlagIsPTestLike"], "File": "AArch64InstrInfo105", "Func": "isPTestLikeOpcode", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15159, "Length": 23, "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": 15160, "Length": 494, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FastISel", "::", "fastSelectInstruction", "(", "const", "Instruction", "*", "I", ")", "{", "switch", "(", "I", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Instruction", "::", "Load", ":", "return", "X86SelectLoad", "(", "I", ")", ";", "case", "Instruction", "::", "Store", ":", "return", "X86SelectStore", "(", "I", ")", ";", "case", "Instruction", "::", "Ret", ":", "return", "X86SelectRet", "(", "I", ")", ";", "case", "Instruction", "::", "ICmp", ":", "case", "Instruction", "::", "FCmp", ":", "return", "X86SelectCmp", "(", "I", ")", ";", "case", "Instruction", "::", "ZExt", ":", "return", "X86SelectZExt", "(", "I", ")", ";", "case", "Instruction", "::", "SExt", ":", "return", "X86SelectSExt", "(", "I", ")", ";", "case", "Instruction", "::", "Br", ":", "return", "X86SelectBranch", "(", "I", ")", ";", "case", "Instruction", "::", "LShr", ":", "case", "Instruction", "::", "AShr", ":", "case", "Instruction", "::", "Shl", ":", "return", "X86SelectShift", "(", "I", ")", ";", "case", "Instruction", "::", "SDiv", ":", "case", "Instruction", "::", "UDiv", ":", "case", "Instruction", "::", "SRem", ":", "case", "Instruction", "::", "URem", ":", "return", "X86SelectDivRem", "(", "I", ")", ";", "case", "Instruction", "::", "Select", ":", "return", "X86SelectSelect", "(", "I", ")", ";", "case", "Instruction", "::", "Trunc", ":", "return", "X86SelectTrunc", "(", "I", ")", ";", "case", "Instruction", "::", "FPExt", ":", "return", "X86SelectFPExt", "(", "I", ")", ";", "case", "Instruction", "::", "FPTrunc", ":", "return", "X86SelectFPTrunc", "(", "I", ")", ";", "case", "Instruction", "::", "SIToFP", ":", "return", "X86SelectSIToFP", "(", "I", ")", ";", "case", "Instruction", "::", "UIToFP", ":", "return", "X86SelectUIToFP", "(", "I", ")", ";", "case", "Instruction", "::", "IntToPtr", ":", "case", "Instruction", "::", "PtrToInt", ":", "{", "EVT", "SrcVT", "=", "TLI", ".", "getValueType", "(", "DL", ",", "I", "->", "getOperand", "(", "0", ")", "->", "getType", "(", ")", ")", ";", "EVT", "DstVT", "=", "TLI", ".", "getValueType", "(", "DL", ",", "I", "->", "getType", "(", ")", ")", ";", "if", "(", "DstVT", ".", "bitsGT", "(", "SrcVT", ")", ")", "return", "X86SelectZExt", "(", "I", ")", ";", "if", "(", "DstVT", ".", "bitsLT", "(", "SrcVT", ")", ")", "return", "X86SelectTrunc", "(", "I", ")", ";", "Register", "Reg", "=", "getRegForValue", "(", "I", "->", "getOperand", "(", "0", ")", ")", ";", "if", "(", "Reg", "==", "0", ")", "return", "false", ";", "updateValueMap", "(", "I", ",", "Reg", ")", ";", "return", "true", ";", "}", "case", "Instruction", "::", "BitCast", ":", "{", "if", "(", "!", "Subtarget", "->", "hasSSE2", "(", ")", ")", "return", "false", ";", "MVT", "SrcVT", ",", "DstVT", ";", "if", "(", "!", "isTypeLegal", "(", "I", "->", "getOperand", "(", "0", ")", "->", "getType", "(", ")", ",", "SrcVT", ")", "||", "!", "isTypeLegal", "(", "I", "->", "getType", "(", ")", ",", "DstVT", ")", ")", "return", "false", ";", "if", "(", "!", "SrcVT", ".", "isVector", "(", ")", "||", "!", "DstVT", ".", "isVector", "(", ")", "||", "SrcVT", ".", "getVectorElementType", "(", ")", "==", "MVT", "::", "i1", "||", "DstVT", ".", "getVectorElementType", "(", ")", "==", "MVT", "::", "i1", ")", "return", "false", ";", "Register", "Reg", "=", "getRegForValue", "(", "I", "->", "getOperand", "(", "0", ")", ")", ";", "if", "(", "Reg", "==", "0", ")", "return", "false", ";", "updateValueMap", "(", "I", ",", "Reg", ")", ";", "return", "true", ";", "}", "}", "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": ["X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "0", "X86", "X86", "0", "0", "0", "MVT::i1", "MVT::i1", "0", "0"], "File": "X86FastISel6", "Func": "fastSelectInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15161, "Length": 464, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ARMInstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMTargetMachine15", "Func": "getInstrInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15162, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86FastISel", "::", "fastMaterializeFloatZero", "(", "const", "ConstantFP", "*", "CF", ")", "{", "MVT", "VT", ";", "if", "(", "!", "isTypeLegal", "(", "CF", "->", "getType", "(", ")", ",", "VT", ")", ")", "return", "0", ";", "bool", "HasAVX512", "=", "Subtarget", "->", "hasAVX512", "(", ")", ";", "unsigned", "Opc", "=", "0", ";", "switch", "(", "VT", ".", "SimpleTy", ")", "{", "default", ":", "return", "0", ";", "case", "MVT", "::", "f32", ":", "if", "(", "X86ScalarSSEf32", ")", "Opc", "=", "HasAVX512", "?", "X86", "::", "AVX512_FsFLD0SS", ":", "X86", "::", "FsFLD0SS", ";", "else", "Opc", "=", "X86", "::", "LD_Fp032", ";", "break", ";", "case", "MVT", "::", "f64", ":", "if", "(", "X86ScalarSSEf64", ")", "Opc", "=", "HasAVX512", "?", "X86", "::", "AVX512_FsFLD0SD", ":", "X86", "::", "FsFLD0SD", ";", "else", "Opc", "=", "X86", "::", "LD_Fp064", ";", "break", ";", "case", "MVT", "::", "f80", ":", "return", "0", ";", "}", "Register", "ResultReg", "=", "createResultReg", "(", "TLI", ".", "getRegClassFor", "(", "VT", ")", ")", ";", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "TII", ".", "get", "(", "Opc", ")", ",", "ResultReg", ")", ";", "return", "ResultReg", ";", "}", ""], "natrual_language": ["Emit", "the", "floating-point", "constant", "+0.0", "in", "a", "register", "using", "target-", "specific", "logic", "."], "TS_V_token": ["X86", "X86", "0", "0", "0", "MVT::f32", "X86", "X86::AVX512_FsFLD0SS", "X86::FsFLD0SS", "X86::LD_Fp032", "MVT::f64", "X86", "X86::AVX512_FsFLD0SD", "X86::FsFLD0SD", "X86::LD_Fp064", "MVT::f80", "0"], "File": "X86FastISel104", "Func": "fastMaterializeFloatZero", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15163, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "xlogue_layout", "::", "get_stub_rtx", "(", "enum", "xlogue_stub", "stub", ")", "{", "const", "unsigned", "n_extra_regs", "=", "cfun", "->", "machine", "->", "call_ms2sysv_extra_regs", ";", "gcc_checking_assert", "(", "n_extra_regs", "<=", "MAX_EXTRA_REGS", ")", ";", "gcc_assert", "(", "stub", "<", "XLOGUE_STUB_COUNT", ")", ";", "gcc_assert", "(", "crtl", "->", "stack_realign_finalized", ")", ";", "return", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "get_stub_name", "(", "stub", ",", "n_extra_regs", ")", ")", ";", "}", ""], "natrual_language": ["Return", "rtx", "of", "a", "symbol", "ref", "for", "the", "entry", "point", "(", "based", "upon", "cfun-", ">", "machine-", ">", "call_ms2sysv_extra_regs", ")", "of", "the", "specified", "stub", "."], "TS_V_token": ["i386"], "File": "i386-features", "Func": "get_stub_rtx", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15164, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "getTOCSaveOffset", "(", "void", ")", "{", "return", "40", ";", "}", ""], "natrual_language": ["getTOCSaveOffset", "-", "Return", "the", "previous", "frame", "offset", "to", "save", "the", "TOC", "register", "\ufffd", "?", "64-bit", "SVR4", "ABI", "only", "."], "TS_V_token": ["PowerPC", "40"], "File": "PPCFrameLowering", "Func": "getTOCSaveOffset", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15165, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "function_expander", "::", "use_unpred_insn", "(", "insn_code", "icode", ")", "{", "gcc_assert", "(", "pred", "==", "PRED_x", "||", "pred", "==", "PRED_none", ")", ";", "unsigned", "int", "nops", "=", "insn_data", "[", "icode", "]", ".", "n_operands", "-", "1", ";", "unsigned", "int", "bias", "=", "(", "pred", "==", "PRED_x", "?", "1", ":", "0", ")", ";", "unsigned", "int", "i", "=", "0", ";", "add_output_operand", "(", "icode", ")", ";", "for", "(", ";", "i", "<", "nops", ";", "++", "i", ")", "add_input_operand", "(", "icode", ",", "args", "[", "i", "+", "bias", "]", ")", ";", "return", "generate_insn", "(", "icode", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "call", "using", "instruction", "ICODE", ",", "which", "does", "not", "use", "a", "governing", "predicate", ".", "We", "must", "therefore", "drop", "the", "GP", "from", "an", "_x", "call", "."], "TS_V_token": ["aarch64", "1", "1", "0", "0"], "File": "aarch64-sve-builtins", "Func": "use_unpred_insn", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15166, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isSwiftFastImmShift", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "if", "(", "MI", "->", "getNumOperands", "(", ")", "<", "4", ")", "return", "true", ";", "unsigned", "ShOpVal", "=", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "unsigned", "ShImm", "=", "ARM_AM", "::", "getSORegOffset", "(", "ShOpVal", ")", ";", "if", "(", "(", "ShImm", "==", "1", "&&", "ARM_AM", "::", "getSORegShOp", "(", "ShOpVal", ")", "==", "ARM_AM", "::", "lsr", ")", "||", "(", "(", "ShImm", "==", "1", "||", "ShImm", "==", "2", ")", "&&", "ARM_AM", "::", "getSORegShOp", "(", "ShOpVal", ")", "==", "ARM_AM", "::", "lsl", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "instruction", "has", "a", "shift", "by", "immediate", "that", "can", "be", "executed", "in", "one", "cycle", "less", "."], "TS_V_token": ["ARM", "ARM", "4", "3", "ARM_AM::getSORegOffset", "1", "ARM_AM::getSORegShOp", "ARM_AM::lsr", "1", "2", "ARM_AM::getSORegShOp", "ARM_AM::lsl"], "File": "ARMBaseInstrInfo (2)", "Func": "isSwiftFastImmShift", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15167, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "AArch64TargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", ",", "LLVMContext", "&", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "MVT", "::", "i32", ";", "if", "(", "VT", ".", "isScalableVector", "(", ")", ")", "return", "MVT", "::", "getVectorVT", "(", "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::getVectorVT", "MVT::i1"], "File": "AArch64ISelLowering102", "Func": "getSetCCResultType", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15168, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmPrinter", "::", "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", ".", "isGlobal", "(", ")", "||", "MO", ".", "isCPI", "(", ")", "||", "MO", ".", "isJTI", "(", ")", "||", "MO", ".", "isSymbol", "(", ")", ")", "{", "printSymbolOperand", "(", "MO", ")", ";", "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": "X86AsmPrinter58", "Func": "PrintAsmOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15169, "Length": 351, "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": 15170, "Length": 364, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86ATTAsmPrinter", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "bool", "Result", "=", "AsmPrinter", "::", "doInitialization", "(", "M", ")", ";", "if", "(", "TAI", "->", "doesSupportDebugInformation", "(", ")", ")", "{", "MMI", "=", "getAnalysisIfAvailable", "<", "MachineModuleInfo", ">", "(", ")", ";", "DW", "=", "getAnalysisIfAvailable", "<", "DwarfWriter", ">", "(", ")", ";", "DW", "->", "BeginModule", "(", "&", "M", ",", "MMI", ",", "O", ",", "this", ",", "TAI", ")", ";", "}", "if", "(", "Subtarget", "->", "isTargetDarwin", "(", ")", ")", "Mang", "->", "setUseQuotes", "(", "true", ")", ";", "return", "Result", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["X86", "X86"], "File": "X86ATTAsmPrinter", "Func": "doInitialization", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15171, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCOperand", "::", "print", "(", "raw_ostream", "&", "OS", ")", "const", "{", "switch", "(", "Kind", ")", "{", "case", "Token", ":", "OS", "<<", "\"'\"", "<<", "getToken", "(", ")", "<<", "\"'\"", ";", "break", ";", "case", "Immediate", ":", "case", "ContextImmediate", ":", "OS", "<<", "getImm", "(", ")", ";", "break", ";", "case", "Expression", ":", "getExpr", "(", ")", "->", "print", "(", "OS", ")", ";", "break", ";", "case", "TLSRegister", ":", "getTLSReg", "(", ")", "->", "print", "(", "OS", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["PowerPC", "PPC", "\"'\"", "\"'\""], "File": "PPCAsmParser47", "Func": "print", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15172, "Length": 75, "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", "::", "tLDRspi", ")", ",", "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::tLDRspi", "0"], "File": "Thumb1InstrInfo41", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15173, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMELFStreamer", "::", "EmitRegSave", "(", "const", "SmallVectorImpl", "<", "unsigned", ">", "&", "RegList", ",", "bool", "IsVector", ")", "{", "unsigned", "Count", "=", "0", ";", "uint32_t", "Mask", "=", "0", ";", "const", "MCRegisterInfo", "*", "MRI", "=", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "for", "(", "size_t", "i", "=", "0", ";", "i", "<", "RegList", ".", "size", "(", ")", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "MRI", "->", "getEncodingValue", "(", "RegList", "[", "i", "]", ")", ";", "assert", "(", "Reg", "<", "(", "IsVector", "?", "32U", ":", "16U", ")", "&&", "\"Register out of range\"", ")", ";", "unsigned", "Bit", "=", "(", "1u", "<<", "Reg", ")", ";", "if", "(", "(", "Mask", "&", "Bit", ")", "==", "0", ")", "{", "Mask", "|=", "Bit", ";", "++", "Count", ";", "}", "}", "SPOffset", "-=", "Count", "*", "(", "IsVector", "?", "8", ":", "4", ")", ";", "FlushPendingOffset", "(", ")", ";", "if", "(", "IsVector", ")", "UnwindOpAsm", ".", "EmitVFPRegSave", "(", "Mask", ")", ";", "else", "UnwindOpAsm", ".", "EmitRegSave", "(", "Mask", ")", ";", "}", ""], "natrual_language": ["Emit", "unwind", "opcodes", "for", ".save", "directives", "."], "TS_V_token": ["ARM", "ARM", "0", "0", "0", "32U", "16U", "\"Register out of range\"", "1u", "0", "8", "4"], "File": "ARMELFStreamer3", "Func": "EmitRegSave", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15174, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TOYPassConfig", "::", "addPreEmitPass", "(", ")", "{", "return", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["TOY", "TOY"], "File": "TOYTargetMachine1", "Func": "addPreEmitPass", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15175, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCPassConfig", "::", "addIRPasses", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createPPCBoolRetToIntPass", "(", ")", ")", ";", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "bool", "UsePrefetching", "=", "TM", "->", "getTargetTriple", "(", ")", ".", "getVendor", "(", ")", "==", "Triple", "::", "BGQ", "&&", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ";", "if", "(", "EnablePrefetch", ".", "getNumOccurrences", "(", ")", ">", "0", ")", "UsePrefetching", "=", "EnablePrefetch", ";", "if", "(", "UsePrefetching", ")", "addPass", "(", "createLoopDataPrefetchPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", ">=", "CodeGenOpt", "::", "Default", "&&", "EnableGEPOpt", ")", "{", "addPass", "(", "createSeparateConstOffsetFromGEPPass", "(", "true", ")", ")", ";", "addPass", "(", "createEarlyCSEPass", "(", ")", ")", ";", "addPass", "(", "createLICMPass", "(", ")", ")", ";", "}", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "0"], "File": "PPCTargetMachine1", "Func": "addIRPasses", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15176, "Length": 128, "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", "(", "cast", "<", "FixedVectorType", ">", "(", "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)2", "Func": "isLegalInterleavedAccessType", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15177, "Length": 92, "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": 15178, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MF", ".", "setHasWinCFI", "(", "false", ")", ";", "const", "Function", "*", "Fn", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "!", "STI", ".", "is64Bit", "(", ")", "||", "!", "MF", ".", "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": "X86FrameLowering11", "Func": "processFunctionBeforeFrameFinalized", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15179, "Length": 324, "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": 15180, "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": ["PowerPC"], "File": "PPCRegisterInfo (2)1", "Func": "requiresRegisterScavenging", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15181, "Length": 15, "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", "::", "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", ";", "return", "IsVarArg", "?", "CC_AArch64_DarwinPCS_VarArg", ":", "CC_AArch64_DarwinPCS", ";", "case", "CallingConv", "::", "Win64", ":", "return", "IsVarArg", "?", "CC_AArch64_Win64_VarArg", ":", "CC_AArch64_AAPCS", ";", "case", "CallingConv", "::", "Mono", ":", "if", "(", "Subtarget", "->", "isTargetDarwin", "(", ")", ")", "return", "CC_AArch64_Mono_DarwinPCS", ";", "else", "if", "(", "Subtarget", "->", "isTargetWindows", "(", ")", ")", "report_fatal_error", "(", "\"Unsupported calling convention.\"", ")", ";", "else", "return", "CC_AArch64_Mono_AAPCS", ";", "}", "}", ""], "natrual_language": ["Selects", "the", "correct", "CCAssignFn", "for", "a", "given", "CallingConvention", "value", "."], "TS_V_token": ["AArch64", "AArch64", "\"Unsupported calling convention.\"", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "\"Unsupported calling convention.\"", "AArch64"], "File": "AArch64ISelLowering38", "Func": "CCAssignFnForCall", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15182, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_evpc_sve_tbl", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "HOST_WIDE_INT", "nelt", ";", "if", "(", "!", "d", "->", "one_vector_p", "&&", "!", "d", "->", "perm", ".", "length", "(", ")", ".", "is_constant", "(", "&", "nelt", ")", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "machine_mode", "sel_mode", "=", "related_int_vector_mode", "(", "d", "->", "vmode", ")", ".", "require", "(", ")", ";", "rtx", "sel", "=", "vec_perm_indices_to_rtx", "(", "sel_mode", ",", "d", "->", "perm", ")", ";", "if", "(", "d", "->", "one_vector_p", ")", "emit_unspec2", "(", "d", "->", "target", ",", "UNSPEC_TBL", ",", "d", "->", "op0", ",", "force_reg", "(", "sel_mode", ",", "sel", ")", ")", ";", "else", "aarch64_expand_sve_vec_perm", "(", "d", "->", "target", ",", "d", "->", "op0", ",", "d", "->", "op1", ",", "sel", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Try", "to", "implement", "D", "using", "an", "SVE", "TBL", "instruction", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_evpc_sve_tbl", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15183, "Length": 122, "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": 15184, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mem_ref", "(", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "SIGN_EXTEND", "||", "GET_CODE", "(", "x", ")", "==", "ZERO_EXTEND", ")", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "MEM_P", "(", "x", ")", ")", "return", "x", ";", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Return", "the", "memory", "reference", "contained", "in", "X", "if", "any", ",", "zero", "otherwise", "."], "TS_V_token": ["sparc", "0"], "File": "sparc", "Func": "mem_ref", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15185, "Length": 47, "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", ".", "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", "<", "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\"", "\"use-soft-float\"", "\"true\"", "\"+soft-float\"", "\",+soft-float\"", "PPC"], "File": "PPCTargetMachine13", "Func": "getSubtargetImpl", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15186, "Length": 188, "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": 15187, "Length": 276, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcTargetMachine", "::", "SparcTargetMachine", "(", "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", ",", "bool", "is64bit", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "is64bit", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "RM", ")", ",", "getEffectiveSparcCodeModel", "(", "CM", ",", "getEffectiveRelocModel", "(", "RM", ")", ",", "is64bit", ",", "JIT", ")", ",", "OL", ")", ",", "TLOF", "(", "make_unique", "<", "SparcELFTargetObjectFile", ">", "(", ")", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ",", "is64bit", ")", ",", "is64Bit", "(", "is64bit", ")", "{", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "ILP32", "architecture", "model", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc", "Sparc"], "File": "SparcTargetMachine17", "Func": "SparcTargetMachine", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15188, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", ">=", "CodeGenOpt", "::", "Aggressive", "&&", "EnableLoadStoreOpt", ")", "addPass", "(", "createAArch64LoadStoreOptimizationPass", "(", ")", ")", ";", "if", "(", "EnableA53Fix835769", ")", "addPass", "(", "createAArch64A53Fix835769", "(", ")", ")", ";", "if", "(", "EnableBranchTargets", ")", "addPass", "(", "createAArch64BranchTargetsPass", "(", ")", ")", ";", "if", "(", "BranchRelaxation", ")", "addPass", "(", "&", "BranchRelaxationPassID", ")", ";", "if", "(", "TM", "->", "getTargetTriple", "(", ")", ".", "isOSWindows", "(", ")", ")", "{", "addPass", "(", "createCFGuardLongjmpPass", "(", ")", ")", ";", "addPass", "(", "createEHContGuardCatchretPass", "(", ")", ")", ";", "}", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableCompressJumpTables", ")", "addPass", "(", "createAArch64CompressJumpTablesPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableCollectLOH", "&&", "TM", "->", "getTargetTriple", "(", ")", ".", "isOSBinFormatMachO", "(", ")", ")", "addPass", "(", "createAArch64CollectLOHPass", "(", ")", ")", ";", "}", ""], "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", "AArch64", "AArch64"], "File": "AArch64TargetMachine1", "Func": "addPreEmitPass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15189, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mips_const_insns", "(", "rtx", "x", ")", "{", "struct", "mips_integer_op", "codes", "[", "MIPS_MAX_INTEGER_OPS", "]", ";", "enum", "mips_symbol_type", "symbol_type", ";", "rtx", "offset", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "HIGH", ":", "if", "(", "!", "mips_symbolic_constant_p", "(", "XEXP", "(", "x", ",", "0", ")", ",", "SYMBOL_CONTEXT_LEA", ",", "&", "symbol_type", ")", "||", "!", "mips_split_p", "[", "symbol_type", "]", ")", "return", "0", ";", "return", "TARGET_MIPS16", "?", "4", ":", "1", ";", "case", "CONST_INT", ":", "if", "(", "TARGET_MIPS16", ")", "return", "(", "IN_RANGE", "(", "INTVAL", "(", "x", ")", ",", "0", ",", "255", ")", "?", "1", ":", "SMALL_OPERAND_UNSIGNED", "(", "INTVAL", "(", "x", ")", ")", "?", "2", ":", "IN_RANGE", "(", "-", "INTVAL", "(", "x", ")", ",", "0", ",", "255", ")", "?", "2", ":", "SMALL_OPERAND_UNSIGNED", "(", "-", "INTVAL", "(", "x", ")", ")", "?", "3", ":", "0", ")", ";", "return", "mips_build_integer", "(", "codes", ",", "INTVAL", "(", "x", ")", ")", ";", "case", "CONST_VECTOR", ":", "if", "(", "MSA_SUPPORTED_MODE_P", "(", "GET_MODE", "(", "x", ")", ")", "&&", "mips_const_vector_same_int_p", "(", "x", ",", "GET_MODE", "(", "x", ")", ",", "-", "512", ",", "511", ")", ")", "return", "1", ";", "case", "CONST_DOUBLE", ":", "return", "!", "TARGET_MIPS16", "&&", "x", "==", "CONST0_RTX", "(", "GET_MODE", "(", "x", ")", ")", "?", "1", ":", "0", ";", "case", "CONST", ":", "if", "(", "CONST_GP_P", "(", "x", ")", ")", "return", "1", ";", "if", "(", "mips_symbolic_constant_p", "(", "x", ",", "SYMBOL_CONTEXT_LEA", ",", "&", "symbol_type", ")", ")", "return", "mips_symbol_insns", "(", "symbol_type", ",", "MAX_MACHINE_MODE", ")", ";", "split_const", "(", "x", ",", "&", "x", ",", "&", "offset", ")", ";", "if", "(", "offset", "!=", "0", ")", "{", "int", "n", "=", "mips_const_insns", "(", "x", ")", ";", "if", "(", "n", "!=", "0", ")", "{", "if", "(", "SMALL_INT", "(", "offset", ")", ")", "return", "n", "+", "1", ";", "else", "if", "(", "!", "targetm", ".", "cannot_force_const_mem", "(", "GET_MODE", "(", "x", ")", ",", "x", ")", ")", "return", "n", "+", "1", "+", "mips_build_integer", "(", "codes", ",", "INTVAL", "(", "offset", ")", ")", ";", "}", "}", "return", "0", ";", "case", "SYMBOL_REF", ":", "case", "LABEL_REF", ":", "return", "mips_symbol_insns", "(", "mips_classify_symbol", "(", "x", ",", "SYMBOL_CONTEXT_LEA", ")", ",", "MAX_MACHINE_MODE", ")", ";", "default", ":", "return", "0", ";", "}", "}", ""], "natrual_language": ["Likewise", "for", "constant", "X", "."], "TS_V_token": ["mips", "0", "0", "4", "1", "0", "255", "1", "2", "0", "255", "2", "3", "0", "512", "511", "1", "1", "0", "1", "0", "0", "1", "1", "0", "0"], "File": "mips", "Func": "mips_const_insns", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15190, "Length": 331, "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", "||", "constant_pool_empty_p", "(", ")", ":", "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": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_can_eliminate", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15191, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Sched", "::", "Preference", "ARMTargetLowering", "::", "getSchedulingPreference", "(", "SDNode", "*", "N", ")", "const", "{", "unsigned", "NumVals", "=", "N", "->", "getNumValues", "(", ")", ";", "if", "(", "!", "NumVals", ")", "return", "Sched", "::", "RegPressure", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumVals", ";", "++", "i", ")", "{", "EVT", "VT", "=", "N", "->", "getValueType", "(", "i", ")", ";", "if", "(", "VT", "==", "MVT", "::", "Glue", "||", "VT", "==", "MVT", "::", "Other", ")", "continue", ";", "if", "(", "VT", ".", "isFloatingPoint", "(", ")", "||", "VT", ".", "isVector", "(", ")", ")", "return", "Sched", "::", "Latency", ";", "}", "if", "(", "!", "N", "->", "isMachineOpcode", "(", ")", ")", "return", "Sched", "::", "RegPressure", ";", "const", "TargetInstrInfo", "*", "TII", "=", "getTargetMachine", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "TargetInstrDesc", "&", "TID", "=", "TII", "->", "get", "(", "N", "->", "getMachineOpcode", "(", ")", ")", ";", "if", "(", "TID", ".", "getNumDefs", "(", ")", "==", "0", ")", "return", "Sched", "::", "RegPressure", ";", "if", "(", "!", "Itins", "->", "isEmpty", "(", ")", "&&", "Itins", "->", "getOperandCycle", "(", "TID", ".", "getSchedClass", "(", ")", ",", "0", ")", ">", "2", ")", "return", "Sched", "::", "Latency", ";", "return", "Sched", "::", "RegPressure", ";", "}", ""], "natrual_language": ["Some", "scheduler", ",", "e.g", "."], "TS_V_token": ["ARM", "ARM", "0", "MVT::Glue", "MVT::Other", "0", "0", "2"], "File": "ARMISelLowering131", "Func": "getSchedulingPreference", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15192, "Length": 186, "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": ["AArch64", "\"Local Dynamic TLS Access Clean-up\""], "File": "AArch64InstrInfo101", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15193, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_asm_function_prologue", "(", "FILE", "*", "file", ",", "HOST_WIDE_INT", "size", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "!", "TARGET_FLAT", ")", "gcc_assert", "(", "sparc_leaf_function_p", "==", "crtl", "->", "uses_only_leaf_regs", ")", ";", "sparc_output_scratch_registers", "(", "file", ")", ";", "}", ""], "natrual_language": ["This", "function", "generates", "the", "assembly", "code", "for", "function", "entry", ",", "which", "boils", "down", "to", "emitting", "the", "necessary", ".register", "directives", "."], "TS_V_token": ["sparc"], "File": "sparc4", "Func": "sparc_asm_function_prologue", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15194, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "stackSlotSize", "(", ")", "{", "return", "4", ";", "}", ""], "natrual_language": ["Stack", "slot", "size", "(", "4", "bytes", ")"], "TS_V_token": ["LEG", "4"], "File": "LEGFrameLowering", "Func": "stackSlotSize", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15195, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", "AddrSpace", ",", "unsigned", "Align", ",", "bool", "*", "Fast", ")", "const", "{", "if", "(", "Subtarget", "->", "requiresStrictAlign", "(", ")", ")", "return", "false", ";", "if", "(", "Fast", ")", "{", "*", "Fast", "=", "!", "Subtarget", "->", "isCyclone", "(", ")", "||", "VT", ".", "getStoreSize", "(", ")", "!=", "16", "||", "Align", "<=", "2", "||", "VT", "==", "MVT", "::", "v2i64", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["AArch64", "AArch64", "16", "2", "MVT::v2i64"], "File": "AArch64ISelLowering (2)1", "Func": "allowsMisalignedMemoryAccesses", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15196, "Length": 69, "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": 15197, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "TeeRISCMCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "getTeeRISCRegisterNumbering", "(", "MO", ".", "getReg", "(", ")", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "if", "(", "MO", ".", "isExpr", "(", ")", ")", "return", "0", ";", "errs", "(", ")", "<<", "MO", ";", "llvm_unreachable", "(", "0", ")", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["TeeRISC", "TeeRISC", "TeeRISC", "0", "0"], "File": "TeeRISCMCCodeEmitter", "Func": "getMachineOpValue", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15198, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToAddress", "(", "unsigned", "ValVReg", ",", "unsigned", "Addr", ",", "uint64_t", "Size", ",", "MachinePointerInfo", "&", "MPO", ",", "CCValAssign", "&", "VA", ")", "override", "{", "auto", "MMO", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getMachineMemOperand", "(", "MPO", ",", "MachineMemOperand", "::", "MOLoad", "|", "MachineMemOperand", "::", "MOInvariant", ",", "Size", ",", "0", ")", ";", "MIRBuilder", ".", "buildLoad", "(", "ValVReg", ",", "Addr", ",", "*", "MMO", ")", ";", "}", ""], "natrual_language": ["An", "overload", "which", "takes", "an", "ArgInfo", "if", "additional", "information", "about", "the", "arg", "is", "needed", "."], "TS_V_token": ["X86", "0"], "File": "X86CallLowering", "Func": "assignValueToAddress", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15199, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "computeKnownBits", "(", "SelectionDAG", "&", "DAG", ",", "SDValue", "Op", ",", "APInt", "&", "KnownZero", ",", "APInt", "&", "KnownOne", ")", "{", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "ARMISD", "::", "BFI", ")", "{", "computeKnownBits", "(", "DAG", ",", "Op", ".", "getOperand", "(", "0", ")", ",", "KnownZero", ",", "KnownOne", ")", ";", "ConstantSDNode", "*", "CI", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "2", ")", ")", ";", "const", "APInt", "&", "Mask", "=", "CI", "->", "getAPIntValue", "(", ")", ";", "KnownZero", "&=", "Mask", ";", "KnownOne", "&=", "Mask", ";", "return", ";", "}", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "ARMISD", "::", "CMOV", ")", "{", "APInt", "KZ2", "(", "KnownZero", ".", "getBitWidth", "(", ")", ",", "0", ")", ";", "APInt", "KO2", "(", "KnownOne", ".", "getBitWidth", "(", ")", ",", "0", ")", ";", "computeKnownBits", "(", "DAG", ",", "Op", ".", "getOperand", "(", "1", ")", ",", "KnownZero", ",", "KnownOne", ")", ";", "computeKnownBits", "(", "DAG", ",", "Op", ".", "getOperand", "(", "2", ")", ",", "KZ2", ",", "KO2", ")", ";", "KnownZero", "&=", "KZ2", ";", "KnownOne", "&=", "KO2", ";", "return", ";", "}", "return", "DAG", ".", "computeKnownBits", "(", "Op", ",", "KnownZero", ",", "KnownOne", ")", ";", "}", ""], "natrual_language": ["Determine", "which", "bits", "of", "Op", "are", "known", "to", "be", "either", "zero", "or", "one", "and", "return", "them", "in", "Known", "."], "TS_V_token": ["ARM", "ARMISD::BFI", "0", "2", "ARMISD::CMOV", "0", "0", "1", "2"], "File": "ARMISelLowering11", "Func": "computeKnownBits", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15200, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "FISCInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "FISC", "::", "STR", ")", ")", ".", "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": ["FISC", "FISC", "FISC::STR", "0"], "File": "FISCInstrInfo", "Func": "storeRegToStackSlot", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15201, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mmix_conditional_register_usage", "(", "void", ")", "{", "int", "i", ";", "if", "(", "TARGET_ABI_GNU", ")", "{", "static", "const", "int", "gnu_abi_reg_alloc_order", "[", "]", "=", "MMIX_GNU_ABI_REG_ALLOC_ORDER", ";", "for", "(", "i", "=", "0", ";", "i", "<", "FIRST_PSEUDO_REGISTER", ";", "i", "++", ")", "reg_alloc_order", "[", "i", "]", "=", "gnu_abi_reg_alloc_order", "[", "i", "]", ";", "for", "(", "i", "=", "15", ";", "i", "<=", "30", ";", "i", "++", ")", "call_used_regs", "[", "i", "]", "=", "0", ";", "for", "(", "i", "=", "MMIX_RESERVED_GNU_ARG_0_REGNUM", ";", "i", "<", "MMIX_RESERVED_GNU_ARG_0_REGNUM", "+", "MMIX_MAX_ARGS_IN_REGS", ";", "i", "++", ")", "fixed_regs", "[", "i", "]", "=", "0", ";", "}", "if", "(", "!", "TARGET_TOPLEVEL_SYMBOLS", ")", "for", "(", "i", "=", "0", ";", "i", "<", "FIRST_PSEUDO_REGISTER", ";", "i", "++", ")", "if", "(", "reg_names", "[", "i", "]", "[", "0", "]", "==", "':'", ")", "reg_names", "[", "i", "]", "++", ";", "}", ""], "natrual_language": ["CONDITIONAL_REGISTER_USAGE", "."], "TS_V_token": ["mmix", "0", "15", "30", "0", "0", "0", "0"], "File": "mmix", "Func": "mmix_conditional_register_usage", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15202, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Inserter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "Cpu0FunctionInfo", "*", "Cpu0FI", "=", "F", ".", "getInfo", "<", "Cpu0FunctionInfo", ">", "(", ")", ";", "if", "(", "(", "TM", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", ")", "||", "(", "!", "Cpu0FI", "->", "globalBaseRegFixed", "(", ")", ")", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "int", "FI", "=", "Cpu0FI", "->", "getGPFI", "(", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "MFI", "=", "F", ".", "begin", "(", ")", ",", "MFE", "=", "F", ".", "end", "(", ")", ";", "MFI", "!=", "MFE", ";", "++", "MFI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MFI", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MFI", "->", "begin", "(", ")", ";", "if", "(", "MBB", ".", "isLandingPad", "(", ")", ")", "{", "for", "(", ";", "I", "->", "getOpcode", "(", ")", "!=", "TargetOpcode", "::", "EH_LABEL", ";", "++", "I", ")", ";", "++", "I", ";", "DebugLoc", "dl", "=", "I", "!=", "MBB", ".", "end", "(", ")", "?", "I", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "TII", "->", "get", "(", "Cpu0", "::", "LD", ")", ",", "Cpu0", "::", "GP", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "Changed", "=", "true", ";", "}", "while", "(", "I", "!=", "MFI", "->", "end", "(", ")", ")", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "Cpu0", "::", "JALR", ")", "{", "++", "I", ";", "continue", ";", "}", "DebugLoc", "dl", "=", "I", "->", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "++", "I", ",", "dl", ",", "TII", "->", "get", "(", "Cpu0", "::", "LD", ")", ",", "Cpu0", "::", "GP", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "Changed", "=", "true", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0::LD", "Cpu0::GP", "0", "Cpu0::JALR", "Cpu0::LD", "Cpu0::GP", "0"], "File": "Cpu0EmitGPRestore1", "Func": "runOnMachineFunction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15203, "Length": 279, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 Byte/Word Instruction Fixup\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 Byte/Word Instruction Fixup\""], "File": "X86FixupBWInsts3", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15204, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsPassConfig", "::", "addIRPasses", "(", ")", "{", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "if", "(", "getMipsSubtarget", "(", ")", ".", "os16", "(", ")", ")", "addPass", "(", "createMipsOs16", "(", "getMipsTargetMachine", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsTargetMachine31", "Func": "addIRPasses", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15205, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "isConditionalBranch", "(", "const", "MCInst", "&", "Inst", ")", "const", "{", "if", "(", "Inst", ".", "getOpcode", "(", ")", "==", "ARM", "::", "Bcc", "&&", "Inst", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "==", "ARMCC", "::", "AL", ")", "return", "false", ";", "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": ["ARM", "ARM::Bcc", "1", "ARMCC::AL"], "File": "ARMMCTargetDesc1", "Func": "isConditionalBranch", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15206, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "LC3bAsmPrinter", "::", "getCurrentABIString", "(", ")", "const", "{", "llvm_unreachable", "(", "\"Unknown LC3b ABI\"", ")", ";", ";", "}", ""], "natrual_language": ["Emit", "Set", "directives", "."], "TS_V_token": ["LC3b", "LC3b", "\"Unknown LC3b ABI\""], "File": "LC3bAsmPrinter", "Func": "getCurrentABIString", "Target": "LC3b", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15207, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86DAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "OptForSize", "=", "MF", "->", "getFunction", "(", ")", "->", "optForSize", "(", ")", ";", "OptForMinSize", "=", "MF", "->", "getFunction", "(", ")", "->", "optForMinSize", "(", ")", ";", "assert", "(", "(", "!", "OptForMinSize", "||", "OptForSize", ")", "&&", "\"OptForMinSize implies OptForSize\"", ")", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "&", "*", "I", "++", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "(", "(", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", "||", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CPS_CALL", ")", "&&", "!", "Subtarget", "->", "callRegIndirect", "(", ")", ")", "||", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "TC_RETURN", "&&", "(", "Subtarget", "->", "is64Bit", "(", ")", "||", "!", "getTargetMachine", "(", ")", ".", "isPositionIndependent", "(", ")", ")", ")", ")", ")", "{", "bool", "HasCallSeq", "=", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", "||", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CPS_CALL", ";", "SDValue", "Chain", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Load", "=", "N", "->", "getOperand", "(", "1", ")", ";", "if", "(", "!", "isCalleeLoad", "(", "Load", ",", "Chain", ",", "HasCallSeq", ")", ")", "continue", ";", "moveBelowOrigChain", "(", "CurDAG", ",", "Load", ",", "SDValue", "(", "N", ",", "0", ")", ",", "Chain", ")", ";", "++", "NumLoadMoved", ";", "continue", ";", "}", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_ROUND", "&&", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "MVT", "SrcVT", "=", "N", "->", "getOperand", "(", "0", ")", ".", "getSimpleValueType", "(", ")", ";", "MVT", "DstVT", "=", "N", "->", "getSimpleValueType", "(", "0", ")", ";", "if", "(", "SrcVT", ".", "isVector", "(", ")", "||", "DstVT", ".", "isVector", "(", ")", ")", "continue", ";", "const", "X86TargetLowering", "*", "X86Lowering", "=", "static_cast", "<", "const", "X86TargetLowering", "*", ">", "(", "TLI", ")", ";", "bool", "SrcIsSSE", "=", "X86Lowering", "->", "isScalarFPTypeInSSEReg", "(", "SrcVT", ")", ";", "bool", "DstIsSSE", "=", "X86Lowering", "->", "isScalarFPTypeInSSEReg", "(", "DstVT", ")", ";", "if", "(", "SrcIsSSE", "&&", "DstIsSSE", ")", "continue", ";", "if", "(", "!", "SrcIsSSE", "&&", "!", "DstIsSSE", ")", "{", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "if", "(", "N", "->", "getConstantOperandVal", "(", "1", ")", ")", "continue", ";", "}", "MVT", "MemVT", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_ROUND", ")", "MemVT", "=", "DstVT", ";", "else", "MemVT", "=", "SrcIsSSE", "?", "SrcVT", ":", "DstVT", ";", "SDValue", "MemTmp", "=", "CurDAG", "->", "CreateStackTemporary", "(", "MemVT", ")", ";", "SDLoc", "dl", "(", "N", ")", ";", "SDValue", "Store", "=", "CurDAG", "->", "getTruncStore", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "dl", ",", "N", "->", "getOperand", "(", "0", ")", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ")", ";", "SDValue", "Result", "=", "CurDAG", "->", "getExtLoad", "(", "ISD", "::", "EXTLOAD", ",", "dl", ",", "DstVT", ",", "Store", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ")", ";", "--", "I", ";", "CurDAG", "->", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "0", ")", ",", "Result", ")", ";", "++", "I", ";", "CurDAG", "->", "DeleteNode", "(", "N", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["X86", "X86", "\"OptForMinSize implies OptForSize\"", "X86ISD::CALL", "X86ISD::CPS_CALL", "X86ISD::TC_RETURN", "X86ISD::CALL", "X86ISD::CPS_CALL", "0", "1", "0", "ISD::FP_ROUND", "ISD::FP_EXTEND", "0", "0", "X86", "X86", "X86", "X86", "X86", "ISD::FP_EXTEND", "1", "ISD::FP_ROUND", "0", "ISD::EXTLOAD", "0"], "File": "X86ISelDAGToDAG25", "Func": "PreprocessISelDAG", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15208, "Length": 501, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "updateRegAllocHint", "(", "Register", "Reg", ",", "Register", "NewReg", ",", "MachineFunction", "&", "MF", ")", "const", "{", "MachineRegisterInfo", "*", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "std", "::", "pair", "<", "Register", ",", "Register", ">", "Hint", "=", "MRI", "->", "getRegAllocationHint", "(", "Reg", ")", ";", "if", "(", "(", "Hint", ".", "first", "==", "ARMRI", "::", "RegPairOdd", "||", "Hint", ".", "first", "==", "ARMRI", "::", "RegPairEven", ")", "&&", "Hint", ".", "second", ".", "isVirtual", "(", ")", ")", "{", "Register", "OtherReg", "=", "Hint", ".", "second", ";", "Hint", "=", "MRI", "->", "getRegAllocationHint", "(", "OtherReg", ")", ";", "if", "(", "Hint", ".", "second", "==", "Reg", ")", "{", "MRI", "->", "setRegAllocationHint", "(", "OtherReg", ",", "Hint", ".", "first", ",", "NewReg", ")", ";", "if", "(", "Register", "::", "isVirtualRegister", "(", "NewReg", ")", ")", "MRI", "->", "setRegAllocationHint", "(", "NewReg", ",", "Hint", ".", "first", "==", "ARMRI", "::", "RegPairOdd", "?", "ARMRI", "::", "RegPairEven", ":", "ARMRI", "::", "RegPairOdd", ",", "OtherReg", ")", ";", "}", "}", "}", ""], "natrual_language": ["A", "callback", "to", "allow", "target", "a", "chance", "to", "update", "register", "allocation", "hints", "when", "a", "register", "is", "``", "changed", "''", "(", "e.g", "."], "TS_V_token": ["ARM", "ARM", "ARMRI::RegPairOdd", "ARMRI::RegPairEven", "ARMRI::RegPairOdd", "ARMRI::RegPairEven", "ARMRI::RegPairOdd"], "File": "ARMBaseRegisterInfo", "Func": "updateRegAllocHint", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15209, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "emit_memset", "(", "rtx", "destmem", ",", "rtx", "destptr", ",", "rtx", "promoted_val", ",", "HOST_WIDE_INT", "size_to_move", ")", "{", "rtx", "dst", "=", "destmem", ",", "adjust", ";", "enum", "insn_code", "code", ";", "machine_mode", "move_mode", ";", "int", "piece_size", ",", "i", ";", "move_mode", "=", "GET_MODE", "(", "promoted_val", ")", ";", "if", "(", "move_mode", "==", "VOIDmode", ")", "move_mode", "=", "QImode", ";", "if", "(", "size_to_move", "<", "GET_MODE_SIZE", "(", "move_mode", ")", ")", "{", "move_mode", "=", "mode_for_size", "(", "size_to_move", "*", "BITS_PER_UNIT", ",", "MODE_INT", ",", "0", ")", ";", "promoted_val", "=", "gen_lowpart", "(", "move_mode", ",", "promoted_val", ")", ";", "}", "piece_size", "=", "GET_MODE_SIZE", "(", "move_mode", ")", ";", "code", "=", "optab_handler", "(", "mov_optab", ",", "move_mode", ")", ";", "gcc_assert", "(", "code", "!=", "CODE_FOR_nothing", "&&", "promoted_val", "!=", "NULL_RTX", ")", ";", "dst", "=", "adjust_automodify_address_nv", "(", "dst", ",", "move_mode", ",", "destptr", ",", "0", ")", ";", "gcc_assert", "(", "size_to_move", "%", "piece_size", "==", "0", ")", ";", "adjust", "=", "GEN_INT", "(", "piece_size", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "size_to_move", ";", "i", "+=", "piece_size", ")", "{", "if", "(", "piece_size", "<=", "GET_MODE_SIZE", "(", "word_mode", ")", ")", "{", "emit_insn", "(", "gen_strset", "(", "destptr", ",", "dst", ",", "promoted_val", ")", ")", ";", "dst", "=", "adjust_automodify_address_nv", "(", "dst", ",", "move_mode", ",", "destptr", ",", "piece_size", ")", ";", "continue", ";", "}", "emit_insn", "(", "GEN_FCN", "(", "code", ")", "(", "dst", ",", "promoted_val", ")", ")", ";", "emit_move_insn", "(", "destptr", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "copy_rtx", "(", "destptr", ")", ",", "adjust", ")", ")", ";", "dst", "=", "adjust_automodify_address_nv", "(", "dst", ",", "move_mode", ",", "destptr", ",", "piece_size", ")", ";", "}", "return", "dst", ";", "}", ""], "natrual_language": ["This", "function", "emits", "moves", "to", "fill", "SIZE_TO_MOVE", "bytes", "starting", "from", "DESTMEM", "with", "value", "PROMOTED_VAL", ".", "SRC", "is", "passed", "by", "pointer", "to", "be", "updated", "on", "return", ".", "Return", "value", "is", "updated", "DST", "."], "TS_V_token": ["i386", "0", "0", "0", "0"], "File": "i3864", "Func": "emit_memset", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15210, "Length": 243, "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", ")", "&&", "arm_needs_doubleword_align", "(", "mode", ",", "type", ")", ")", "nregs", "++", ";", "}", "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"], "File": "arm4", "Func": "arm_setup_incoming_varargs", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15211, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "do_isel", "(", "rtx", "dest", ",", "rtx", "cmp", ",", "rtx", "src_t", ",", "rtx", "src_f", ",", "rtx", "cr", ")", "{", "if", "(", "GET_MODE", "(", "dest", ")", "==", "DImode", ")", "emit_insn", "(", "gen_isel_cc_di", "(", "dest", ",", "cmp", ",", "src_t", ",", "src_f", ",", "cr", ")", ")", ";", "else", "emit_insn", "(", "gen_isel_cc_si", "(", "dest", ",", "cmp", ",", "src_t", ",", "src_f", ",", "cr", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "isel", "of", "the", "proper", "mode", "for", "DEST", ".", "DEST", "is", "the", "isel", "destination", "register", ".", "SRC1", "is", "the", "isel", "source", "if", "CR", "is", "true", ".", "SRC2", "is", "the", "isel", "source", "if", "CR", "is", "false", ".", "CR", "is", "the", "condition", "for", "the", "isel", "."], "TS_V_token": ["rs6000"], "File": "rs6000-string1", "Func": "do_isel", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15212, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_in_recog_treg_set_expr", "(", "void", ")", "{", "return", "sh_recog_treg_set_expr_reent_count", ">", "0", ";", "}", ""], "natrual_language": ["Returns", "true", "when", "recog", "of", "a", "'treg_set_expr", "'", "is", "currently", "in", "progress", ".", "This", "can", "be", "used", "as", "a", "condition", "for", "insn/split", "patterns", "to", "allow", "certain", "T", "bit", "setting", "patters", "only", "to", "be", "matched", "as", "sub", "expressions", "of", "other", "patterns", "."], "TS_V_token": ["sh", "0"], "File": "sh", "Func": "sh_in_recog_treg_set_expr", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15213, "Length": 12, "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": 15214, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CSKYFrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "MutableArrayRef", "<", "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", ":", "reverse", "(", "CSI", ")", ")", "{", "Register", "Reg", "=", "CS", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "TII", ".", "loadRegFromStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "CS", ".", "getFrameIdx", "(", ")", ",", "RC", ",", "TRI", ")", ";", "assert", "(", "MI", "!=", "MBB", ".", "begin", "(", ")", "&&", "\"loadRegFromStackSlot didn't insert any code!\"", ")", ";", "}", "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": ["CSKY", "CSKY", "\"loadRegFromStackSlot didn't insert any code!\""], "File": "CSKYFrameLowering1", "Func": "restoreCalleeSavedRegisters", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15215, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{", "return", "createX86MachObjectWriter", "(", "OS", ",", "true", ",", "object", "::", "mach", "::", "CTM_x86_64", ",", "object", "::", "mach", "::", "CSX86_ALL", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86AsmBackend20", "Func": "createObjectWriter", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15216, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmBackend", "::", "isMicroMips", "(", "const", "MCSymbol", "*", "Sym", ")", "const", "{", "if", "(", "const", "auto", "*", "ElfSym", "=", "dyn_cast", "<", "const", "MCSymbolELF", ">", "(", "Sym", ")", ")", "{", "if", "(", "ElfSym", "->", "getOther", "(", ")", "&", "ELF", "::", "STO_MIPS_MICROMIPS", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Check", "whether", "a", "given", "symbol", "has", "been", "flagged", "with", "MICROMIPS", "flag", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsAsmBackend16", "Func": "isMicroMips", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15217, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "scalar_chain", "::", "convert_reg", "(", "unsigned", "regno", ")", "{", "bool", "scalar_copy", "=", "bitmap_bit_p", "(", "defs_conv", ",", "regno", ")", ";", "rtx", "reg", "=", "regno_reg_rtx", "[", "regno", "]", ";", "rtx", "scopy", "=", "NULL_RTX", ";", "df_ref", "ref", ";", "bitmap", "conv", ";", "conv", "=", "BITMAP_ALLOC", "(", "NULL", ")", ";", "bitmap_copy", "(", "conv", ",", "insns", ")", ";", "if", "(", "scalar_copy", ")", "scopy", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "for", "(", "ref", "=", "DF_REG_DEF_CHAIN", "(", "regno", ")", ";", "ref", ";", "ref", "=", "DF_REF_NEXT_REG", "(", "ref", ")", ")", "{", "rtx_insn", "*", "insn", "=", "DF_REF_INSN", "(", "ref", ")", ";", "rtx", "def_set", "=", "single_set", "(", "insn", ")", ";", "rtx", "src", "=", "SET_SRC", "(", "def_set", ")", ";", "rtx", "reg", "=", "DF_REF_REG", "(", "ref", ")", ";", "if", "(", "!", "MEM_P", "(", "src", ")", ")", "{", "replace_with_subreg_in_insn", "(", "insn", ",", "reg", ",", "reg", ")", ";", "bitmap_clear_bit", "(", "conv", ",", "INSN_UID", "(", "insn", ")", ")", ";", "}", "if", "(", "scalar_copy", ")", "{", "rtx", "vcopy", "=", "gen_reg_rtx", "(", "V2DImode", ")", ";", "start_sequence", "(", ")", ";", "if", "(", "TARGET_INTER_UNIT_MOVES_FROM_VEC", ")", "{", "emit_move_insn", "(", "vcopy", ",", "gen_rtx_SUBREG", "(", "V2DImode", ",", "reg", ",", "0", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_SUBREG", "(", "SImode", ",", "scopy", ",", "0", ")", ",", "gen_rtx_SUBREG", "(", "SImode", ",", "vcopy", ",", "0", ")", ")", ";", "emit_move_insn", "(", "vcopy", ",", "gen_rtx_LSHIFTRT", "(", "V2DImode", ",", "vcopy", ",", "GEN_INT", "(", "32", ")", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_SUBREG", "(", "SImode", ",", "scopy", ",", "4", ")", ",", "gen_rtx_SUBREG", "(", "SImode", ",", "vcopy", ",", "0", ")", ")", ";", "}", "else", "{", "rtx", "tmp", "=", "assign_386_stack_local", "(", "DImode", ",", "SLOT_TEMP", ")", ";", "emit_move_insn", "(", "tmp", ",", "reg", ")", ";", "emit_move_insn", "(", "gen_rtx_SUBREG", "(", "SImode", ",", "scopy", ",", "0", ")", ",", "adjust_address", "(", "tmp", ",", "SImode", ",", "0", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_SUBREG", "(", "SImode", ",", "scopy", ",", "4", ")", ",", "adjust_address", "(", "tmp", ",", "SImode", ",", "4", ")", ")", ";", "}", "rtx_insn", "*", "seq", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "emit_conversion_insns", "(", "seq", ",", "insn", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\" Copied r%d to a scalar register r%d for insn %d\\n\"", ",", "regno", ",", "REGNO", "(", "scopy", ")", ",", "INSN_UID", "(", "insn", ")", ")", ";", "}", "}", "for", "(", "ref", "=", "DF_REG_USE_CHAIN", "(", "regno", ")", ";", "ref", ";", "ref", "=", "DF_REF_NEXT_REG", "(", "ref", ")", ")", "if", "(", "bitmap_bit_p", "(", "insns", ",", "DF_REF_INSN_UID", "(", "ref", ")", ")", ")", "{", "if", "(", "bitmap_bit_p", "(", "conv", ",", "DF_REF_INSN_UID", "(", "ref", ")", ")", ")", "{", "rtx", "def_set", "=", "single_set", "(", "DF_REF_INSN", "(", "ref", ")", ")", ";", "if", "(", "!", "MEM_P", "(", "SET_DEST", "(", "def_set", ")", ")", "||", "!", "REG_P", "(", "SET_SRC", "(", "def_set", ")", ")", ")", "replace_with_subreg_in_insn", "(", "DF_REF_INSN", "(", "ref", ")", ",", "reg", ",", "reg", ")", ";", "bitmap_clear_bit", "(", "conv", ",", "DF_REF_INSN_UID", "(", "ref", ")", ")", ";", "}", "}", "else", "if", "(", "DF_REF_CHAIN", "(", "ref", ")", "&&", "NONDEBUG_INSN_P", "(", "DF_REF_INSN", "(", "ref", ")", ")", ")", "{", "gcc_assert", "(", "scopy", ")", ";", "replace_rtx", "(", "DF_REF_INSN", "(", "ref", ")", ",", "reg", ",", "scopy", ")", ";", "df_insn_rescan", "(", "DF_REF_INSN", "(", "ref", ")", ")", ";", "}", "BITMAP_FREE", "(", "conv", ")", ";", "}", ""], "natrual_language": ["Convert", "all", "definitions", "of", "register", "REGNO", "and", "fix", "its", "uses", ".", "Scalar", "copies", "may", "be", "created", "in", "case", "register", "is", "used", "in", "not", "convertible", "insn", "."], "TS_V_token": ["i386", "0", "0", "0", "32", "4", "0", "0", "0", "4", "4", "\" Copied r%d to a scalar register r%d for insn %d\\n\""], "File": "i3865", "Func": "convert_reg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15218, "Length": 494, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "size_t", "Mips64GOT", "::", "getEntrySize", "(", ")", "const", "{", "return", "Mips64GOTEntry", "::", "EntrySize", ";", "}", ""], "natrual_language": ["getEntrySize", "-", "Return", "the", "size", "of", "each", "entry", "in", "the", "jump", "table", "."], "TS_V_token": ["Mips", "Mips", "Mips64GOTEntry::EntrySize"], "File": "MipsGOT", "Func": "getEntrySize", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15219, "Length": 14, "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": 15220, "Length": 12, "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": 15221, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "SMShadowTracker", ".", "startFunction", "(", "MF", ")", ";", "CodeEmitter", ".", "reset", "(", "TM", ".", "getTarget", "(", ")", ".", "createMCCodeEmitter", "(", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ",", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ",", "MF", ".", "getContext", "(", ")", ")", ")", ";", "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": "X86AsmPrinter94", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15222, "Length": 148, "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": 15223, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "store_insn_p", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "SET", ")", "return", "false", ";", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_STORE", ":", "case", "TYPE_FPSTORE", ":", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["True", "if", "INSN", "is", "a", "store", "instruction", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "store_insn_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15224, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "canMergeStoresTo", "(", "EVT", "MemVT", ")", "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": "ARMISelLowering109", "Func": "canMergeStoresTo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15225, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsSETargetLowering", "::", "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", "{", "Ops", ".", "push_back", "(", "Callee", ")", ";", "MipsTargetLowering", "::", "getOpndList", "(", "Ops", ",", "RegsToPass", ",", "IsPICCall", ",", "GlobalOrExternal", ",", "InternalLinkage", ",", "IsCallReloc", ",", "CLI", ",", "Callee", ",", "Chain", ")", ";", "}", ""], "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"], "File": "MipsSEISelLowering15", "Func": "getOpndList", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15226, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "def_builtin", "(", "const", "char", "*", "name", ",", "tree", "type", ",", "enum", "rs6000_builtins", "code", ")", "{", "tree", "t", ";", "unsigned", "classify", "=", "rs6000_builtin_info", "[", "(", "int", ")", "code", "]", ".", "attr", ";", "const", "char", "*", "attr_string", "=", "\"\"", ";", "if", "(", "type", "==", "NULL_TREE", ")", "return", ";", "gcc_assert", "(", "name", "!=", "NULL", ")", ";", "gcc_assert", "(", "IN_RANGE", "(", "(", "int", ")", "code", ",", "0", ",", "(", "int", ")", "RS6000_BUILTIN_COUNT", ")", ")", ";", "if", "(", "rs6000_builtin_decls", "[", "(", "int", ")", "code", "]", ")", "fatal_error", "(", "input_location", ",", "\"internal error: builtin function %qs already processed\"", ",", "name", ")", ";", "rs6000_builtin_decls", "[", "(", "int", ")", "code", "]", "=", "t", "=", "add_builtin_function", "(", "name", ",", "type", ",", "(", "int", ")", "code", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "if", "(", "(", "classify", "&", "RS6000_BTC_CONST", ")", "!=", "0", ")", "{", "TREE_READONLY", "(", "t", ")", "=", "1", ";", "TREE_NOTHROW", "(", "t", ")", "=", "1", ";", "attr_string", "=", "\", const\"", ";", "}", "else", "if", "(", "(", "classify", "&", "RS6000_BTC_PURE", ")", "!=", "0", ")", "{", "DECL_PURE_P", "(", "t", ")", "=", "1", ";", "TREE_NOTHROW", "(", "t", ")", "=", "1", ";", "attr_string", "=", "\", pure\"", ";", "}", "else", "if", "(", "(", "classify", "&", "RS6000_BTC_FP", ")", "!=", "0", ")", "{", "TREE_NOTHROW", "(", "t", ")", "=", "1", ";", "if", "(", "flag_rounding_math", ")", "{", "DECL_PURE_P", "(", "t", ")", "=", "1", ";", "DECL_IS_NOVOPS", "(", "t", ")", "=", "1", ";", "attr_string", "=", "\", fp, pure\"", ";", "}", "else", "{", "TREE_READONLY", "(", "t", ")", "=", "1", ";", "attr_string", "=", "\", fp, const\"", ";", "}", "}", "else", "if", "(", "(", "classify", "&", "RS6000_BTC_ATTR_MASK", ")", "!=", "0", ")", "gcc_unreachable", "(", ")", ";", "if", "(", "TARGET_DEBUG_BUILTIN", ")", "fprintf", "(", "stderr", ",", "\"rs6000_builtin, code = %4d, %s%s\\n\"", ",", "(", "int", ")", "code", ",", "name", ",", "attr_string", ")", ";", "}", ""], "natrual_language": ["Add", "a", "SPARC", "builtin", "function", "with", "NAME", ",", "ICODE", ",", "CODE", "and", "TYPE", ".", "Return", "the", "function", "decl", "or", "NULL_TREE", "if", "the", "builtin", "was", "not", "added", "."], "TS_V_token": ["rs6000", "\"\"", "0", "\"internal error: builtin function %qs already processed\"", "0", "1", "1", "\", const\"", "0", "1", "1", "\", pure\"", "0", "1", "1", "1", "\", fp, pure\"", "1", "\", fp, const\"", "0", "\"rs6000_builtin, code = %4d, %s%s\\n\""], "File": "rs6000-call", "Func": "def_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15227, "Length": 275, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsResolved", ")", "const", "{", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "MCContext", "&", "Ctx", "=", "Asm", ".", "getContext", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "+", "7", ")", "/", "8", ";", "unsigned", "FullSize", ";", "switch", "(", "(", "unsigned", ")", "Kind", ")", "{", "case", "FK_Data_2", ":", "case", "Mips", "::", "fixup_Mips_16", ":", "case", "Mips", "::", "fixup_MICROMIPS_PC10_S1", ":", "FullSize", "=", "2", ";", "break", ";", "case", "FK_Data_8", ":", "case", "Mips", "::", "fixup_Mips_64", ":", "FullSize", "=", "8", ";", "break", ";", "case", "FK_Data_4", ":", "default", ":", "FullSize", "=", "4", ";", "break", ";", "}", "uint64_t", "CurVal", "=", "0", ";", "bool", "microMipsLEByteOrder", "=", "needsMMLEByteOrder", "(", "(", "unsigned", ")", "Kind", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittle", "?", "(", "microMipsLEByteOrder", "?", "calculateMMLEIndex", "(", "i", ")", ":", "i", ")", ":", "(", "FullSize", "-", "1", "-", "i", ")", ";", "CurVal", "|=", "(", "uint64_t", ")", "(", "(", "uint8_t", ")", "Data", "[", "Offset", "+", "Idx", "]", ")", "<<", "(", "i", "*", "8", ")", ";", "}", "uint64_t", "Mask", "=", "(", "(", "uint64_t", ")", "(", "-", "1", ")", ">>", "(", "64", "-", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", ")", ";", "CurVal", "|=", "Value", "&", "Mask", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittle", "?", "(", "microMipsLEByteOrder", "?", "calculateMMLEIndex", "(", "i", ")", ":", "i", ")", ":", "(", "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": ["Mips", "Mips", "7", "8", "Mips::fixup_Mips_16", "Mips::fixup_MICROMIPS_PC10_S1", "2", "Mips::fixup_Mips_64", "8", "4", "0", "Mips", "0", "Mips", "1", "8", "1", "64", "0", "Mips", "1", "8", "0xff"], "File": "MipsAsmBackend17", "Func": "applyFixup", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15228, "Length": 326, "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": 15229, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "PPCDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "if", "(", "!", "GlobalBaseReg", ")", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "TM", ".", "getInstrInfo", "(", ")", ";", "MachineBasicBlock", "&", "FirstMBB", "=", "MF", "->", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "FirstMBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", ";", "if", "(", "PPCLowering", ".", "getPointerTy", "(", ")", "==", "MVT", "::", "i32", ")", "{", "GlobalBaseReg", "=", "RegInfo", "->", "createVirtualRegister", "(", "PPC", "::", "GPRCRegisterClass", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MovePCtoLR", ")", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MFLR", ")", ",", "GlobalBaseReg", ")", ";", "}", "else", "{", "GlobalBaseReg", "=", "RegInfo", "->", "createVirtualRegister", "(", "PPC", "::", "G8RCRegisterClass", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MovePCtoLR8", ")", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MFLR8", ")", ",", "GlobalBaseReg", ")", ";", "}", "}", "return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "PPCLowering", ".", "getPointerTy", "(", ")", ")", ".", "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::GPRCRegisterClass", "PPC::MovePCtoLR", "PPC::MFLR", "PPC::G8RCRegisterClass", "PPC::MovePCtoLR8", "PPC::MFLR8", "PPC"], "File": "PPCISelDAGToDAG69", "Func": "getGlobalBaseReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15230, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64MCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "return", "Ctx", ".", "getRegisterInfo", "(", ")", "->", "getEncodingValue", "(", "MO", ".", "getReg", "(", ")", ")", ";", "}", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "}", "llvm_unreachable", "(", "\"Unable to encode MCOperand!\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["AArch64", "AArch64", "\"Unable to encode MCOperand!\"", "0"], "File": "AArch64MCCodeEmitter3", "Func": "getMachineOpValue", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15231, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "selectBinaryOp", "(", "unsigned", "GenericOpc", ",", "unsigned", "RegBankID", ",", "unsigned", "OpSize", ")", "{", "switch", "(", "RegBankID", ")", "{", "case", "AArch64", "::", "GPRRegBankID", ":", "if", "(", "OpSize", "==", "32", ")", "{", "switch", "(", "GenericOpc", ")", "{", "case", "TargetOpcode", "::", "G_SHL", ":", "return", "AArch64", "::", "LSLVWr", ";", "case", "TargetOpcode", "::", "G_LSHR", ":", "return", "AArch64", "::", "LSRVWr", ";", "case", "TargetOpcode", "::", "G_ASHR", ":", "return", "AArch64", "::", "ASRVWr", ";", "default", ":", "return", "GenericOpc", ";", "}", "}", "else", "if", "(", "OpSize", "==", "64", ")", "{", "switch", "(", "GenericOpc", ")", "{", "case", "TargetOpcode", "::", "G_GEP", ":", "return", "AArch64", "::", "ADDXrr", ";", "case", "TargetOpcode", "::", "G_SHL", ":", "return", "AArch64", "::", "LSLVXr", ";", "case", "TargetOpcode", "::", "G_LSHR", ":", "return", "AArch64", "::", "LSRVXr", ";", "case", "TargetOpcode", "::", "G_ASHR", ":", "return", "AArch64", "::", "ASRVXr", ";", "default", ":", "return", "GenericOpc", ";", "}", "}", "break", ";", "case", "AArch64", "::", "FPRRegBankID", ":", "switch", "(", "OpSize", ")", "{", "case", "32", ":", "switch", "(", "GenericOpc", ")", "{", "case", "TargetOpcode", "::", "G_FADD", ":", "return", "AArch64", "::", "FADDSrr", ";", "case", "TargetOpcode", "::", "G_FSUB", ":", "return", "AArch64", "::", "FSUBSrr", ";", "case", "TargetOpcode", "::", "G_FMUL", ":", "return", "AArch64", "::", "FMULSrr", ";", "case", "TargetOpcode", "::", "G_FDIV", ":", "return", "AArch64", "::", "FDIVSrr", ";", "default", ":", "return", "GenericOpc", ";", "}", "case", "64", ":", "switch", "(", "GenericOpc", ")", "{", "case", "TargetOpcode", "::", "G_FADD", ":", "return", "AArch64", "::", "FADDDrr", ";", "case", "TargetOpcode", "::", "G_FSUB", ":", "return", "AArch64", "::", "FSUBDrr", ";", "case", "TargetOpcode", "::", "G_FMUL", ":", "return", "AArch64", "::", "FMULDrr", ";", "case", "TargetOpcode", "::", "G_FDIV", ":", "return", "AArch64", "::", "FDIVDrr", ";", "case", "TargetOpcode", "::", "G_OR", ":", "return", "AArch64", "::", "ORRv8i8", ";", "default", ":", "return", "GenericOpc", ";", "}", "}", "break", ";", "}", "return", "GenericOpc", ";", "}", ""], "natrual_language": ["Select", "and", "emit", "code", "for", "a", "binary", "operator", "instruction", ",", "which", "has", "an", "opcode", "which", "directly", "corresponds", "to", "the", "given", "ISD", "opcode", "."], "TS_V_token": ["AArch64", "AArch64::GPRRegBankID", "32", "AArch64::LSLVWr", "AArch64::LSRVWr", "AArch64::ASRVWr", "64", "AArch64::ADDXrr", "AArch64::LSLVXr", "AArch64::LSRVXr", "AArch64::ASRVXr", "AArch64::FPRRegBankID", "32", "AArch64::FADDSrr", "AArch64::FSUBSrr", "AArch64::FMULSrr", "AArch64::FDIVSrr", "64", "AArch64::FADDDrr", "AArch64::FSUBDrr", "AArch64::FMULDrr", "AArch64::FDIVDrr", "AArch64::ORRv8i8"], "File": "AArch64InstructionSelector", "Func": "selectBinaryOp", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15232, "Length": 271, "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": ["ARM"], "File": "ARMISelLowering", "Func": "supportSplitCSR", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15233, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "reg_class", "secondary_reload_class", "(", "enum", "reg_class", "class", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "in", ")", "{", "int", "regno", ";", "if", "(", "TARGET_ELF", "||", "(", "DEFAULT_ABI", "==", "ABI_DARWIN", "&&", "MACHOPIC_INDIRECT", ")", ")", "{", "if", "(", "class", "!=", "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", "(", "class", "==", "GENERAL_REGS", "||", "class", "==", "BASE_REGS", "||", "(", "regno", ">=", "0", "&&", "INT_REGNO_P", "(", "regno", ")", ")", ")", "return", "NO_REGS", ";", "if", "(", "(", "regno", "==", "-", "1", "||", "FP_REGNO_P", "(", "regno", ")", ")", "&&", "(", "class", "==", "FLOAT_REGS", "||", "class", "==", "NON_SPECIAL_REGS", ")", ")", "return", "NO_REGS", ";", "if", "(", "(", "regno", "==", "-", "1", "||", "ALTIVEC_REGNO_P", "(", "regno", ")", ")", "&&", "class", "==", "ALTIVEC_REGS", ")", "return", "NO_REGS", ";", "if", "(", "(", "class", "==", "CR_REGS", "||", "class", "==", "CR0_REGS", ")", "&&", "regno", ">=", "0", "&&", "CR_REGNO_P", "(", "regno", ")", ")", "return", "NO_REGS", ";", "return", "GENERAL_REGS", ";", "}", ""], "natrual_language": ["Return", "the", "class", "of", "any", "secondary", "reload", "register", "that", "is", "needed", "to", "move", "IN", "into", "a", "register", "in", "class", "CLASS", "using", "mode", "MODE", ".", "Profiling", "has", "showed", "this", "routine", "and", "its", "descendants", "account", "for", "a", "significant", "amount", "of", "compile", "time", "(", "~7", "%", ")", ".", "So", "it", "has", "been", "optimized", "to", "reduce", "redundant", "computations", "and", "eliminate", "useless", "function", "calls", ".", "It", "might", "be", "worthwhile", "to", "try", "and", "make", "this", "a", "leaf", "function", "too", "."], "TS_V_token": ["rs6000", "1", "1", "1", "0", "1", "1", "0"], "File": "rs60003", "Func": "secondary_reload_class", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15234, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64DeadRegisterDefinitions", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** AArch64DeadRegisterDefinitions *****\\n\"", ")", ";", "Changed", "=", "false", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "processMachineBasicBlock", "(", "MBB", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"***** AArch64DeadRegisterDefinitions *****\\n\""], "File": "AArch64DeadRegisterDefinitionsPass (2)1", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15235, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SHUXIDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"Selecting: \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"== \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "Node", "->", "setNodeId", "(", "-", "1", ")", ";", "return", ";", "}", "SDLoc", "dl", "(", "Node", ")", ";", "switch", "(", "Node", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "FrameIndex", ":", "{", "assert", "(", "Node", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i32", ")", ";", "int", "FI", "=", "cast", "<", "FrameIndexSDNode", ">", "(", "Node", ")", "->", "getIndex", "(", ")", ";", "SDValue", "TFI", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "MVT", "::", "i32", ")", ";", "if", "(", "Node", "->", "hasOneUse", "(", ")", ")", "{", "CurDAG", "->", "SelectNodeTo", "(", "Node", ",", "SHUXI", "::", "ADDri", ",", "MVT", "::", "i32", ",", "TFI", ",", "CurDAG", "->", "getTargetConstant", "(", "0", ",", "dl", ",", "MVT", "::", "i32", ")", ")", ";", "return", ";", "}", "ReplaceNode", "(", "Node", ",", "CurDAG", "->", "getMachineNode", "(", "SHUXI", "::", "ADDri", ",", "dl", ",", "MVT", "::", "i32", ",", "TFI", ",", "CurDAG", "->", "getTargetConstant", "(", "0", ",", "dl", ",", "MVT", "::", "i32", ")", ")", ")", ";", "return", ";", "}", "}", "SelectCode", "(", "Node", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["SHUXI", "SHUXI", "\"Selecting: \"", "\"\\n\"", "\"== \"", "\"\\n\"", "1", "ISD::FrameIndex", "0", "MVT::i32", "MVT::i32", "SHUXI::ADDri", "MVT::i32", "0", "MVT::i32", "SHUXI::ADDri", "MVT::i32", "0", "MVT::i32"], "File": "SHUXIISelDAGToDAG", "Func": "Select", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15236, "Length": 229, "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", ".", "getSubtarget", "(", ")", ".", "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": "PPCRegisterInfo68", "Func": "resolveFrameIndex", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15237, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb2SizeReduce", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "STI", "=", "&", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "if", "(", "STI", "->", "isThumb1Only", "(", ")", "||", "STI", "->", "prefers32BitThumb", "(", ")", ")", "return", "false", ";", "TII", "=", "static_cast", "<", "const", "Thumb2InstrInfo", "*", ">", "(", "STI", "->", "getInstrInfo", "(", ")", ")", ";", "OptimizeSize", "=", "MF", ".", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "Attribute", "::", "OptimizeForSize", ")", ";", "MinimizeSize", "=", "MF", ".", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "Attribute", "::", "MinSize", ")", ";", "BlockInfo", ".", "clear", "(", ")", ";", "BlockInfo", ".", "resize", "(", "MF", ".", "getNumBlockIDs", "(", ")", ")", ";", "ReversePostOrderTraversal", "<", "MachineFunction", "*", ">", "RPOT", "(", "&", "MF", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "ReversePostOrderTraversal", "<", "MachineFunction", "*", ">", "::", "rpo_iterator", "I", "=", "RPOT", ".", "begin", "(", ")", ",", "E", "=", "RPOT", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Modified", "|=", "ReduceMBB", "(", "*", "*", "I", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM"], "File": "Thumb2SizeReduction44", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15238, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "empty_delay_slot", "(", "rtx", "insn", ")", "{", "rtx", "seq", ";", "if", "(", "PREV_INSN", "(", "insn", ")", "==", "NULL", ")", "return", "1", ";", "seq", "=", "NEXT_INSN", "(", "PREV_INSN", "(", "insn", ")", ")", ";", "if", "(", "GET_CODE", "(", "PATTERN", "(", "seq", ")", ")", "==", "SEQUENCE", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "non-zero", "if", "a", "branch", "or", "call", "instruction", "will", "be", "emitting", "a", "nop", "into", "its", "delay", "slot", "."], "TS_V_token": ["sparc", "1", "0", "1"], "File": "sparc3", "Func": "empty_delay_slot", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15239, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "Cpu0FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "}", ""], "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": ["Cpu0", "Cpu0"], "File": "Cpu0FrameLowering3", "Func": "eliminateCallFramePseudoInstr", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15240, "Length": 22, "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", "||", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "SrcReg", ")", "&&", "isARMLowRegister", "(", "SrcReg", ")", ")", ")", "{", "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", "::", "tSpill", ")", ")", ".", "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", "0", "ARM::tSpill", "0"], "File": "Thumb1InstrInfo22", "Func": "storeRegToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15241, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_convert_sign_didf_sse", "(", "rtx", "target", ",", "rtx", "input", ")", "{", "REAL_VALUE_TYPE", "TWO32r", ";", "rtx", "fp_lo", ",", "fp_hi", ",", "x", ";", "fp_lo", "=", "gen_reg_rtx", "(", "DFmode", ")", ";", "fp_hi", "=", "gen_reg_rtx", "(", "DFmode", ")", ";", "emit_insn", "(", "gen_floatsidf2", "(", "fp_hi", ",", "gen_highpart", "(", "SImode", ",", "input", ")", ")", ")", ";", "real_ldexp", "(", "&", "TWO32r", ",", "&", "dconst1", ",", "32", ")", ";", "x", "=", "const_double_from_real_value", "(", "TWO32r", ",", "DFmode", ")", ";", "fp_hi", "=", "expand_simple_binop", "(", "DFmode", ",", "MULT", ",", "fp_hi", ",", "x", ",", "fp_hi", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "ix86_expand_convert_uns_sidf_sse", "(", "fp_lo", ",", "gen_lowpart", "(", "SImode", ",", "input", ")", ")", ";", "x", "=", "expand_simple_binop", "(", "DFmode", ",", "PLUS", ",", "fp_hi", ",", "fp_lo", ",", "target", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "if", "(", "x", "!=", "target", ")", "emit_move_insn", "(", "target", ",", "x", ")", ";", "}", ""], "natrual_language": ["Convert", "a", "signed", "DImode", "value", "into", "a", "DFmode", ".", "Only", "used", "for", "SSE", "in", "32-bit", "mode", ";", "otherwise", "we", "have", "a", "direct", "convert", "instruction", "."], "TS_V_token": ["i386", "32", "0", "0"], "File": "i386-expand", "Func": "ix86_expand_convert_sign_didf_sse", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15242, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "macho_branch_islands", "(", "void", ")", "{", "char", "tmp_buf", "[", "512", "]", ";", "tree", "branch_island", ";", "for", "(", "branch_island", "=", "branch_island_list", ";", "branch_island", ";", "branch_island", "=", "TREE_CHAIN", "(", "branch_island", ")", ")", "{", "const", "char", "*", "label", "=", "IDENTIFIER_POINTER", "(", "BRANCH_ISLAND_LABEL_NAME", "(", "branch_island", ")", ")", ";", "const", "char", "*", "name", "=", "IDENTIFIER_POINTER", "(", "BRANCH_ISLAND_FUNCTION_NAME", "(", "branch_island", ")", ")", ";", "char", "name_buf", "[", "512", "]", ";", "if", "(", "name", "[", "0", "]", "==", "'*'", "||", "name", "[", "0", "]", "==", "'&'", ")", "strcpy", "(", "name_buf", ",", "name", "+", "1", ")", ";", "else", "{", "name_buf", "[", "0", "]", "=", "'_'", ";", "strcpy", "(", "name_buf", "+", "1", ",", "name", ")", ";", "}", "strcpy", "(", "tmp_buf", ",", "\"\\n\"", ")", ";", "strcat", "(", "tmp_buf", ",", "label", ")", ";", "if", "(", "write_symbols", "==", "DBX_DEBUG", "||", "write_symbols", "==", "XCOFF_DEBUG", ")", "dbxout_stabd", "(", "N_SLINE", ",", "BRANCH_ISLAND_LINE_NUMBER", "(", "branch_island", ")", ")", ";", "if", "(", "flag_pic", ")", "{", "strcat", "(", "tmp_buf", ",", "\":\\n\\tmflr r0\\n\\tbcl 20,31,\"", ")", ";", "strcat", "(", "tmp_buf", ",", "label", ")", ";", "strcat", "(", "tmp_buf", ",", "\"_pic\\n\"", ")", ";", "strcat", "(", "tmp_buf", ",", "label", ")", ";", "strcat", "(", "tmp_buf", ",", "\"_pic:\\n\\tmflr r11\\n\"", ")", ";", "strcat", "(", "tmp_buf", ",", "\"\\taddis r11,r11,ha16(\"", ")", ";", "strcat", "(", "tmp_buf", ",", "name_buf", ")", ";", "strcat", "(", "tmp_buf", ",", "\" - \"", ")", ";", "strcat", "(", "tmp_buf", ",", "label", ")", ";", "strcat", "(", "tmp_buf", ",", "\"_pic)\\n\"", ")", ";", "strcat", "(", "tmp_buf", ",", "\"\\tmtlr r0\\n\"", ")", ";", "strcat", "(", "tmp_buf", ",", "\"\\taddi r12,r11,lo16(\"", ")", ";", "strcat", "(", "tmp_buf", ",", "name_buf", ")", ";", "strcat", "(", "tmp_buf", ",", "\" - \"", ")", ";", "strcat", "(", "tmp_buf", ",", "label", ")", ";", "strcat", "(", "tmp_buf", ",", "\"_pic)\\n\"", ")", ";", "strcat", "(", "tmp_buf", ",", "\"\\tmtctr r12\\n\\tbctr\\n\"", ")", ";", "}", "else", "{", "strcat", "(", "tmp_buf", ",", "\":\\nlis r12,hi16(\"", ")", ";", "strcat", "(", "tmp_buf", ",", "name_buf", ")", ";", "strcat", "(", "tmp_buf", ",", "\")\\n\\tori r12,r12,lo16(\"", ")", ";", "strcat", "(", "tmp_buf", ",", "name_buf", ")", ";", "strcat", "(", "tmp_buf", ",", "\")\\n\\tmtctr r12\\n\\tbctr\"", ")", ";", "}", "output_asm_insn", "(", "tmp_buf", ",", "0", ")", ";", "if", "(", "write_symbols", "==", "DBX_DEBUG", "||", "write_symbols", "==", "XCOFF_DEBUG", ")", "dbxout_stabd", "(", "N_SLINE", ",", "BRANCH_ISLAND_LINE_NUMBER", "(", "branch_island", ")", ")", ";", "}", "branch_island_list", "=", "0", ";", "}", ""], "natrual_language": ["Generate", "far-jump", "branch", "islands", "for", "everything", "on", "the", "branch_island_list", ".", "Invoked", "immediately", "after", "the", "last", "instruction", "of", "the", "epilogue", "has", "been", "emitted", ";", "the", "branch-islands", "must", "be", "appended", "to", ",", "and", "contiguous", "with", ",", "the", "function", "body", ".", "Mach-O", "stubs", "are", "generated", "in", "machopic_output_stub", "(", ")", "."], "TS_V_token": ["rs6000", "512", "512", "0", "0", "1", "0", "1", "\"\\n\"", "\":\\n\\tmflr r0\\n\\tbcl 20,31,\"", "\"_pic\\n\"", "\"_pic:\\n\\tmflr r11\\n\"", "\"\\taddis r11,r11,ha16(\"", "\" - \"", "\"_pic)\\n\"", "\"\\tmtlr r0\\n\"", "\"\\taddi r12,r11,lo16(\"", "\" - \"", "\"_pic)\\n\"", "\"\\tmtctr r12\\n\\tbctr\\n\"", "\":\\nlis r12,hi16(\"", "\")\\n\\tori r12,r12,lo16(\"", "\")\\n\\tmtctr r12\\n\\tbctr\"", "0", "0"], "File": "rs60003", "Func": "macho_branch_islands", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15243, "Length": 338, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "X86TargetLowering", "::", "getSetCCResultType", "(", "LLVMContext", "&", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "MVT", "::", "i8", ";", "const", "TargetMachine", "&", "TM", "=", "getTargetMachine", "(", ")", ";", "if", "(", "!", "TM", ".", "Options", ".", "UseSoftFloat", "&&", "Subtarget", "->", "hasAVX512", "(", ")", ")", "switch", "(", "VT", ".", "getVectorNumElements", "(", ")", ")", "{", "case", "8", ":", "return", "MVT", "::", "v8i1", ";", "case", "16", ":", "return", "MVT", "::", "v16i1", ";", "}", "return", "VT", ".", "changeVectorElementTypeToInteger", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["X86", "X86", "MVT::i8", "8", "MVT::v8i1", "16", "MVT::v16i1"], "File": "X86ISelLowering176", "Func": "getSetCCResultType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15244, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "thumb2_final_prescan_insn", "(", "rtx_insn", "*", "insn", ")", "{", "rtx_insn", "*", "first_insn", "=", "insn", ";", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "rtx", "predicate", ";", "enum", "arm_cond_code", "code", ";", "int", "n", ";", "int", "mask", ";", "int", "max", ";", "max", "=", "MAX_INSN_PER_IT_BLOCK", ";", "if", "(", "arm_condexec_count", ")", "arm_condexec_count", "--", ";", "if", "(", "arm_condexec_count", ")", "return", ";", "if", "(", "GET_CODE", "(", "body", ")", "!=", "COND_EXEC", ")", "return", ";", "if", "(", "JUMP_P", "(", "insn", ")", ")", "return", ";", "predicate", "=", "COND_EXEC_TEST", "(", "body", ")", ";", "arm_current_cc", "=", "get_arm_condition_code", "(", "predicate", ")", ";", "n", "=", "get_attr_ce_count", "(", "insn", ")", ";", "arm_condexec_count", "=", "1", ";", "arm_condexec_mask", "=", "(", "1", "<<", "n", ")", "-", "1", ";", "arm_condexec_masklen", "=", "n", ";", "for", "(", ";", ";", ")", "{", "insn", "=", "next_nonnote_insn", "(", "insn", ")", ";", "if", "(", "!", "NONJUMP_INSN_P", "(", "insn", ")", "&&", "!", "JUMP_P", "(", "insn", ")", ")", "break", ";", "body", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "body", ")", "==", "USE", "||", "GET_CODE", "(", "body", ")", "==", "CLOBBER", ")", "continue", ";", "if", "(", "GET_CODE", "(", "body", ")", "!=", "COND_EXEC", ")", "break", ";", "n", "=", "get_attr_ce_count", "(", "insn", ")", ";", "if", "(", "arm_condexec_masklen", "+", "n", ">", "max", ")", "break", ";", "predicate", "=", "COND_EXEC_TEST", "(", "body", ")", ";", "code", "=", "get_arm_condition_code", "(", "predicate", ")", ";", "mask", "=", "(", "1", "<<", "n", ")", "-", "1", ";", "if", "(", "arm_current_cc", "==", "code", ")", "arm_condexec_mask", "|=", "(", "mask", "<<", "arm_condexec_masklen", ")", ";", "else", "if", "(", "arm_current_cc", "!=", "ARM_INVERSE_CONDITION_CODE", "(", "code", ")", ")", "break", ";", "arm_condexec_count", "++", ";", "arm_condexec_masklen", "+=", "n", ";", "if", "(", "JUMP_P", "(", "insn", ")", ")", "break", ";", "}", "extract_constrain_insn_cached", "(", "first_insn", ")", ";", "}", ""], "natrual_language": ["Tell", "arm_asm_output_opcode", "to", "output", "IT", "blocks", "for", "conditionally", "executed", "instructions", "."], "TS_V_token": ["arm", "1", "1", "1", "1", "1"], "File": "arm", "Func": "thumb2_final_prescan_insn", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15245, "Length": 269, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMHazardRecognizer", "::", "AdvanceCycle", "(", ")", "{", "if", "(", "FpMLxStalls", "&&", "--", "FpMLxStalls", "==", "0", ")", "LastMI", "=", "0", ";", "ScoreboardHazardRecognizer", "::", "AdvanceCycle", "(", ")", ";", "}", ""], "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": ["ARM", "ARM", "0", "0"], "File": "ARMHazardRecognizer16", "Func": "AdvanceCycle", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15246, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VETargetLowering", "::", "CanLowerReturn", "(", "CallingConv", "::", "ID", "CallConv", ",", "MachineFunction", "&", "MF", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "LLVMContext", "&", "Context", ")", "const", "{", "CCAssignFn", "*", "RetCC", "=", "RetCC_VE", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "RVLocs", ",", "Context", ")", ";", "return", "CCInfo", ".", "CheckReturn", "(", "Outs", ",", "RetCC", ")", ";", "}", ""], "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": ["VE", "VE", "ISD::OutputArg", "VE", "16"], "File": "VEISelLowering", "Func": "CanLowerReturn", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15247, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_add_cfa_expression", "(", "rtx_insn", "*", "insn", ",", "rtx", "reg", ",", "rtx", "base", ",", "poly_int64", "offset", ")", "{", "rtx", "mem", "=", "gen_frame_mem", "(", "GET_MODE", "(", "reg", ")", ",", "plus_constant", "(", "Pmode", ",", "base", ",", "offset", ")", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_EXPRESSION", ",", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ")", ";", "}", ""], "natrual_language": ["Add", "a", "REG_CFA_EXPRESSION", "note", "to", "INSN", "to", "say", "that", "register", "REG", "is", "saved", "at", "BASE", "+", "OFFSET", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_add_cfa_expression", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15248, "Length": 53, "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": 15249, "Length": 13, "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": 15250, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LC3AsmPrinter", "::", "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": ["LC3", "LC3"], "File": "LC3AsmPrinter", "Func": "EmitInstruction", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15251, "Length": 32, "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", ":", "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", "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": "ARMBaseInstrInfo (2)2", "Func": "isStoreToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15252, "Length": 355, "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", ".", "init", "(", "*", "TRI", ")", ";", "DomBBUsedRegs", ".", "init", "(", "*", "TRI", ")", ";", "OptBBClobberedRegs", ".", "init", "(", "*", "TRI", ")", ";", "OptBBUsedRegs", ".", "init", "(", "*", "TRI", ")", ";", "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": "AArch64RedundantCopyElimination10", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15253, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcSubtarget", "&", "SparcSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "UseSoftMulDiv", "=", "false", ";", "IsV9", "=", "false", ";", "IsLeon", "=", "false", ";", "V8DeprecatedInsts", "=", "false", ";", "IsVIS", "=", "false", ";", "IsVIS2", "=", "false", ";", "IsVIS3", "=", "false", ";", "HasHardQuad", "=", "false", ";", "UsePopc", "=", "false", ";", "UseSoftFloat", "=", "false", ";", "HasNoFSMULD", "=", "false", ";", "HasNoFMULS", "=", "false", ";", "HasLeonCasa", "=", "false", ";", "HasUmacSmac", "=", "false", ";", "HasPWRPSR", "=", "false", ";", "InsertNOPLoad", "=", "false", ";", "FixAllFDIVSQRT", "=", "false", ";", "DetectRoundChange", "=", "false", ";", "HasLeonCycleCounter", "=", "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": "SparcSubtarget21", "Func": "initializeSubtargetDependencies", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15254, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMSubtarget", "::", "isGVIndirectSymbol", "(", "const", "GlobalValue", "*", "GV", ")", "const", "{", "if", "(", "!", "TM", ".", "shouldAssumeDSOLocal", "(", "*", "GV", "->", "getParent", "(", ")", ",", "GV", ")", ")", "return", "true", ";", "if", "(", "isTargetDarwin", "(", ")", "&&", "TM", ".", "isPositionIndependent", "(", ")", "&&", "(", "GV", "->", "isDeclarationForLinker", "(", ")", "||", "GV", "->", "hasCommonLinkage", "(", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["True", "if", "the", "GV", "will", "be", "accessed", "via", "an", "indirect", "symbol", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMSubtarget68", "Func": "isGVIndirectSymbol", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15255, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AddressTypePromotion", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "if", "(", "!", "EnableAddressTypePromotion", "||", "F", ".", "isDeclaration", "(", ")", ")", "return", "false", ";", "Func", "=", "&", "F", ";", "ConsideredSExtType", "=", "Type", "::", "getInt64Ty", "(", "Func", "->", "getContext", "(", ")", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"*** \"", "<<", "getPassName", "(", ")", "<<", "\": \"", "<<", "Func", "->", "getName", "(", ")", "<<", "'\\n'", ")", ";", "Instructions", "SExtInsts", ";", "analyzeSExtension", "(", "SExtInsts", ")", ";", "return", "propagateSignExtension", "(", "SExtInsts", ")", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["AArch64", "AArch64", "\"*** \"", "\": \""], "File": "AArch64AddressTypePromotion7", "Func": "runOnFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15256, "Length": 90, "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": 15257, "Length": 426, "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", ")", ",", "ARMProcFamily", "(", "Others", ")", ",", "HasV8_1aOps", "(", "false", ")", ",", "HasV8_2aOps", "(", "false", ")", ",", "HasFPARMv8", "(", "false", ")", ",", "HasNEON", "(", "false", ")", ",", "HasCrypto", "(", "false", ")", ",", "HasCRC", "(", "false", ")", ",", "HasPerfMon", "(", "false", ")", ",", "HasFullFP16", "(", "false", ")", ",", "HasZeroCycleRegMove", "(", "false", ")", ",", "HasZeroCycleZeroing", "(", "false", ")", ",", "StrictAlign", "(", "false", ")", ",", "ReserveX18", "(", "TT", ".", "isOSDarwin", "(", ")", ")", ",", "IsLittle", "(", "LittleEndian", ")", ",", "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": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64Subtarget13", "Func": "AArch64Subtarget", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15258, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_sCOND", "(", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ")", "{", "rtx", "condition_rtx", ";", "machine_mode", "op_mode", ";", "enum", "rtx_code", "cond_code", ";", "rtx", "result", "=", "operands", "[", "0", "]", ";", "condition_rtx", "=", "rs6000_generate_compare", "(", "operands", "[", "1", "]", ",", "mode", ")", ";", "cond_code", "=", "GET_CODE", "(", "condition_rtx", ")", ";", "if", "(", "FLOAT_MODE_P", "(", "mode", ")", "&&", "!", "TARGET_FPRS", "&&", "TARGET_HARD_FLOAT", ")", "{", "rtx", "t", ";", "PUT_MODE", "(", "condition_rtx", ",", "SImode", ")", ";", "t", "=", "XEXP", "(", "condition_rtx", ",", "0", ")", ";", "gcc_assert", "(", "cond_code", "==", "NE", "||", "cond_code", "==", "EQ", ")", ";", "if", "(", "cond_code", "==", "NE", ")", "emit_insn", "(", "gen_e500_flip_gt_bit", "(", "t", ",", "t", ")", ")", ";", "emit_insn", "(", "gen_move_from_CR_gt_bit", "(", "result", ",", "t", ")", ")", ";", "return", ";", "}", "if", "(", "cond_code", "==", "NE", "||", "cond_code", "==", "GE", "||", "cond_code", "==", "LE", "||", "cond_code", "==", "GEU", "||", "cond_code", "==", "LEU", "||", "cond_code", "==", "ORDERED", "||", "cond_code", "==", "UNGE", "||", "cond_code", "==", "UNLE", ")", "{", "rtx", "not_result", "=", "gen_reg_rtx", "(", "CCEQmode", ")", ";", "rtx", "not_op", ",", "rev_cond_rtx", ";", "machine_mode", "cc_mode", ";", "cc_mode", "=", "GET_MODE", "(", "XEXP", "(", "condition_rtx", ",", "0", ")", ")", ";", "rev_cond_rtx", "=", "gen_rtx_fmt_ee", "(", "rs6000_reverse_condition", "(", "cc_mode", ",", "cond_code", ")", ",", "SImode", ",", "XEXP", "(", "condition_rtx", ",", "0", ")", ",", "const0_rtx", ")", ";", "not_op", "=", "gen_rtx_COMPARE", "(", "CCEQmode", ",", "rev_cond_rtx", ",", "const0_rtx", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "not_result", ",", "not_op", ")", ")", ";", "condition_rtx", "=", "gen_rtx_EQ", "(", "VOIDmode", ",", "not_result", ",", "const0_rtx", ")", ";", "}", "op_mode", "=", "GET_MODE", "(", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ")", ";", "if", "(", "op_mode", "==", "VOIDmode", ")", "op_mode", "=", "GET_MODE", "(", "XEXP", "(", "operands", "[", "1", "]", ",", "1", ")", ")", ";", "if", "(", "TARGET_POWERPC64", "&&", "(", "op_mode", "==", "DImode", "||", "FLOAT_MODE_P", "(", "mode", ")", ")", ")", "{", "PUT_MODE", "(", "condition_rtx", ",", "DImode", ")", ";", "convert_move", "(", "result", ",", "condition_rtx", ",", "0", ")", ";", "}", "else", "{", "PUT_MODE", "(", "condition_rtx", ",", "SImode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "result", ",", "condition_rtx", ")", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "the", "RTL", "for", "an", "sCOND", "pattern", "."], "TS_V_token": ["powerpcspe", "0", "1", "0", "0", "0", "1", "0", "1", "1", "0"], "File": "powerpcspe", "Func": "rs6000_emit_sCOND", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15259, "Length": 330, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "mips_output_order_conditional_branch", "(", "rtx_insn", "*", "insn", ",", "rtx", "*", "operands", ",", "bool", "inverted_p", ")", "{", "const", "char", "*", "branch", "[", "2", "]", ";", "switch", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", ")", "{", "case", "LEU", ":", "inverted_p", "=", "!", "inverted_p", ";", "case", "GTU", ":", "branch", "[", "!", "inverted_p", "]", "=", "MIPS_BRANCH", "(", "\"bne\"", ",", "\"%2,%.,%0\"", ")", ";", "branch", "[", "inverted_p", "]", "=", "MIPS_BRANCH", "(", "\"beq\"", ",", "\"%2,%.,%0\"", ")", ";", "break", ";", "case", "LTU", ":", "inverted_p", "=", "!", "inverted_p", ";", "case", "GEU", ":", "branch", "[", "!", "inverted_p", "]", "=", "MIPS_BRANCH", "(", "\"beq\"", ",", "\"%.,%.,%0\"", ")", ";", "branch", "[", "inverted_p", "]", "=", "MIPS_BRANCH", "(", "\"bne\"", ",", "\"%.,%.,%0\"", ")", ";", "break", ";", "default", ":", "branch", "[", "!", "inverted_p", "]", "=", "MIPS_BRANCH", "(", "\"b%C1z\"", ",", "\"%2,%0\"", ")", ";", "branch", "[", "inverted_p", "]", "=", "MIPS_BRANCH", "(", "\"b%N1z\"", ",", "\"%2,%0\"", ")", ";", "break", ";", "}", "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", "ordering", "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", ";", "its", "second", "is", "always", "zero", "."], "TS_V_token": ["mips", "2", "1", "\"bne\"", "\"%2,%.,%0\"", "\"beq\"", "\"%2,%.,%0\"", "\"beq\"", "\"%.,%.,%0\"", "\"bne\"", "\"%.,%.,%0\"", "\"b%C1z\"", "\"%2,%0\"", "\"b%N1z\"", "\"%2,%0\"", "1", "0"], "File": "mips4", "Func": "mips_output_order_conditional_branch", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15260, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "get_prev_label", "(", "tree", "function_name", ")", "{", "branch_island", "*", "bi", ";", "unsigned", "ix", ";", "FOR_EACH_VEC_SAFE_ELT", "(", "branch_islands", ",", "ix", ",", "bi", ")", "if", "(", "function_name", "==", "bi", "->", "function_name", ")", "return", "bi", "->", "label_name", ";", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["GET_PREV_LABEL", "gets", "the", "label", "name", "from", "the", "previous", "definition", "of", "the", "function", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "get_prev_label", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15261, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ia64_vms_common_object_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add_attrs", ")", "{", "tree", "decl", "=", "*", "node", ";", "tree", "id", ";", "gcc_assert", "(", "DECL_P", "(", "decl", ")", ")", ";", "DECL_COMMON", "(", "decl", ")", "=", "1", ";", "id", "=", "TREE_VALUE", "(", "args", ")", ";", "if", "(", "TREE_CODE", "(", "id", ")", "!=", "IDENTIFIER_NODE", "&&", "TREE_CODE", "(", "id", ")", "!=", "STRING_CST", ")", "{", "error", "(", "\"%qE attribute requires a string constant argument\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "return", "NULL_TREE", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Part", "of", "the", "low", "level", "implementation", "of", "DEC", "Ada", "pragma", "Common_Object", "which", "enables", "the", "shared", "use", "of", "variables", "stored", "in", "overlaid", "linker", "areas", "corresponding", "to", "the", "use", "of", "Fortran", "COMMON", "."], "TS_V_token": ["ia64", "1", "\"%qE attribute requires a string constant argument\""], "File": "ia64", "Func": "ia64_vms_common_object_attribute", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15262, "Length": 91, "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": 15263, "Length": 478, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"ARM A15 S->D optimizer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"ARM A15 S->D optimizer\""], "File": "A15SDOptimizer (2)", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15264, "Length": 13, "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": 15265, "Length": 263, "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": 15266, "Length": 291, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Emitter", "<", "CodeEmitter", ">", "::", "emitInstruction", "(", "const", "MachineInstr", "&", "MI", ")", "{", "DOUT", "<<", "\"JIT: \"", "<<", "(", "void", "*", ")", "MCE", ".", "getCurrentPCValue", "(", ")", "<<", "\":\\t\"", "<<", "MI", ";", "NumEmitted", "++", ";", "switch", "(", "MI", ".", "getDesc", "(", ")", ".", "TSFlags", "&", "ARMII", "::", "FormMask", ")", "{", "default", ":", "{", "assert", "(", "0", "&&", "\"Unhandled instruction encoding format!\"", ")", ";", "break", ";", "}", "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", "::", "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", ";", "}", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["ARM", "\"JIT: \"", "\":\\t\"", "ARMII::FormMask", "0", "\"Unhandled instruction encoding format!\"", "ARMII::Pseudo", "ARMII::DPFrm", "ARMII::DPSoRegFrm", "ARMII::LdFrm", "ARMII::StFrm", "ARMII::LdMiscFrm", "ARMII::StMiscFrm", "ARMII::LdStMulFrm", "ARMII::MulFrm", "ARMII::ExtFrm", "ARMII::ArithMiscFrm", "ARMII::BrFrm", "ARMII::BrMiscFrm", "ARMII::VFPUnaryFrm", "ARMII::VFPBinaryFrm", "ARMII::VFPConv1Frm", "ARMII::VFPConv2Frm", "ARMII::VFPConv3Frm", "ARMII::VFPConv4Frm", "ARMII::VFPConv5Frm", "ARMII::VFPLdStFrm", "ARMII::VFPLdStMulFrm", "ARMII::VFPMiscFrm"], "File": "ARMCodeEmitter7", "Func": "emitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15267, "Length": 285, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_legitimize_address_displacement", "(", "rtx", "*", "disp", ",", "rtx", "*", "offs", ",", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_SHMEDIA", ")", "return", "false", ";", "if", "(", "(", "(", "TARGET_SH4", "||", "TARGET_SH2A_DOUBLE", ")", "&&", "mode", "==", "DFmode", ")", "||", "(", "TARGET_SH2E", "&&", "mode", "==", "SFmode", ")", ")", "return", "false", ";", "struct", "disp_adjust", "adj", "=", "sh_find_mov_disp_adjust", "(", "mode", ",", "INTVAL", "(", "*", "disp", ")", ")", ";", "if", "(", "adj", ".", "offset_adjust", "!=", "NULL_RTX", "&&", "adj", ".", "mov_disp", "!=", "NULL_RTX", ")", "{", "*", "disp", "=", "adj", ".", "mov_disp", ";", "*", "offs", "=", "adj", ".", "offset_adjust", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "DISP", "can", "be", "legitimized", "."], "TS_V_token": ["sh"], "File": "sh4", "Func": "sh_legitimize_address_displacement", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15268, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "iq2000_can_eliminate", "(", "const", "int", "from", ",", "const", "int", "to", ")", "{", "return", "(", "from", "==", "RETURN_ADDRESS_POINTER_REGNUM", "&&", "(", "!", "leaf_function_p", "(", ")", "||", "(", "to", "==", "GP_REG_FIRST", "+", "31", "&&", "leaf_function_p", "(", ")", ")", ")", ")", "||", "(", "from", "!=", "RETURN_ADDRESS_POINTER_REGNUM", "&&", "(", "to", "==", "HARD_FRAME_POINTER_REGNUM", "||", "(", "to", "==", "STACK_POINTER_REGNUM", "&&", "!", "frame_pointer_needed", ")", ")", ")", ";", "}", ""], "natrual_language": ["We", "can", "always", "eliminate", "to", "the", "frame", "pointer", ".", "We", "can", "eliminate", "to", "the", "stack", "pointer", "unless", "a", "frame", "pointer", "is", "needed", "."], "TS_V_token": ["iq2000", "31"], "File": "iq2000", "Func": "iq2000_can_eliminate", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15269, "Length": 60, "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": 15270, "Length": 250, "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", ")", "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": ["powerpcspe"], "File": "powerpcspe", "Func": "darwin_rs6000_special_round_type_align", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15271, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Error", "(", "SMLoc", "L", ",", "const", "Twine", "&", "Msg", ",", "ArrayRef", "<", "SMRange", ">", "Ranges", "=", "None", ")", "{", "return", "getParser", "(", ")", ".", "Error", "(", "L", ",", "Msg", ",", "Ranges", ")", ";", "}", ""], "natrual_language": ["Return", "an", "error", "at", "the", "location", "L", ",", "with", "the", "message", "Msg", "."], "TS_V_token": ["ARM"], "File": "ARMAsmParser (2)5", "Func": "Error", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15272, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsCallLowering", "::", "splitToValueTypes", "(", "const", "ArgInfo", "&", "OrigArg", ",", "unsigned", "OriginalIndex", ",", "SmallVectorImpl", "<", "ArgInfo", ">", "&", "SplitArgs", ",", "SmallVectorImpl", "<", "unsigned", ">", "&", "SplitArgsOrigIndices", ")", "const", "{", "SplitArgs", ".", "push_back", "(", "OrigArg", ")", ";", "SplitArgsOrigIndices", ".", "push_back", "(", "OriginalIndex", ")", ";", "}", ""], "natrual_language": ["Break", "OrigArgInfo", "into", "one", "or", "more", "pieces", "the", "calling", "convention", "can", "process", ",", "returned", "in", "SplitArgs", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsCallLowering", "Func": "splitToValueTypes", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15273, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_cannot_copy_insn_p", "(", "rtx_insn", "*", "insn", ")", "{", "return", "recog_memoized", "(", "insn", ")", ">=", "0", "&&", "get_attr_cannot_copy", "(", "insn", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "INSN", "should", "not", "be", "copied", "."], "TS_V_token": ["powerpcspe", "0"], "File": "powerpcspe", "Func": "rs6000_cannot_copy_insn_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15274, "Length": 23, "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 gnu_inline,\"", "\" 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 gnu_inline,\"", "\" bodies have to be generated\"", "\"Virtual function multiversioning not supported\"", "\"target\"", "\"default\"", "0", "2", "\"%s.%s\""], "File": "i3864", "Func": "ix86_mangle_function_version_assembler_name", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15275, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "TOYTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "0", ";", "case", "TOYISD", "::", "CALL", ":", "return", "\"TOYISD::CALL\"", ";", "case", "TOYISD", "::", "BR_CC", ":", "return", "\"TOYISD::BR_CC\"", ";", "case", "TOYISD", "::", "CMPEQ", ":", "return", "\"TOYISD::CMPEQ\"", ";", "case", "TOYISD", "::", "CMPNE", ":", "return", "\"TOYISD::CMPNE\"", ";", "case", "TOYISD", "::", "CMPLT", ":", "return", "\"TOYISD::CMPLT\"", ";", "case", "TOYISD", "::", "CMPLE", ":", "return", "\"TOYISD::CMPLE\"", ";", "case", "TOYISD", "::", "CMPGT", ":", "return", "\"TOYISD::CMPGT\"", ";", "case", "TOYISD", "::", "CMPGE", ":", "return", "\"TOYISD::CMPGE\"", ";", "case", "TOYISD", "::", "RET_FLAG", ":", "return", "\"TOYIDS::RET_FLAG\"", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["TOY", "TOY", "0", "TOYISD::CALL", "\"TOYISD::CALL\"", "TOYISD::BR_CC", "\"TOYISD::BR_CC\"", "TOYISD::CMPEQ", "\"TOYISD::CMPEQ\"", "TOYISD::CMPNE", "\"TOYISD::CMPNE\"", "TOYISD::CMPLT", "\"TOYISD::CMPLT\"", "TOYISD::CMPLE", "\"TOYISD::CMPLE\"", "TOYISD::CMPGT", "\"TOYISD::CMPGT\"", "TOYISD::CMPGE", "\"TOYISD::CMPGE\"", "TOYISD::RET_FLAG", "\"TOYIDS::RET_FLAG\""], "File": "TOYISelDAGToDAG", "Func": "getTargetNodeName", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15276, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips16_emit_constants", "(", "struct", "mips16_constant", "*", "constants", ",", "rtx_insn", "*", "insn", ")", "{", "struct", "mips16_constant", "*", "c", ",", "*", "next", ";", "int", "align", ";", "align", "=", "0", ";", "for", "(", "c", "=", "constants", ";", "c", "!=", "NULL", ";", "c", "=", "next", ")", "{", "if", "(", "align", "<", "GET_MODE_SIZE", "(", "c", "->", "mode", ")", ")", "{", "int", "align_log", "=", "floor_log2", "(", "GET_MODE_SIZE", "(", "c", "->", "mode", ")", ")", ";", "insn", "=", "emit_insn_after", "(", "gen_align", "(", "GEN_INT", "(", "align_log", ")", ")", ",", "insn", ")", ";", "}", "align", "=", "GET_MODE_SIZE", "(", "c", "->", "mode", ")", ";", "insn", "=", "emit_label_after", "(", "c", "->", "label", ",", "insn", ")", ";", "insn", "=", "mips16_emit_constants_1", "(", "c", "->", "mode", ",", "c", "->", "value", ",", "insn", ")", ";", "next", "=", "c", "->", "next", ";", "free", "(", "c", ")", ";", "}", "emit_barrier_after", "(", "insn", ")", ";", "}", ""], "natrual_language": ["Dump", "out", "the", "constants", "in", "CONSTANTS", "after", "INSN", "."], "TS_V_token": ["mips", "0"], "File": "mips4", "Func": "mips16_emit_constants", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15277, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "const", "DLXSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "DLXSubtarget", ">", "(", ")", ";", "TII", "=", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "FI", "=", "MF", ".", "begin", "(", ")", ",", "FE", "=", "MF", ".", "end", "(", ")", ";", "FI", "!=", "FE", ";", "++", "FI", ")", "Changed", "|=", "runOnMachineBasicBlock", "(", "*", "FI", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["DLX", "DLX", "DLX"], "File": "DLXDelaySlotFiller", "Func": "runOnMachineFunction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15278, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CSKYDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "if", "(", "N", "->", "isMachineOpcode", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"== \"", ";", "N", "->", "dump", "(", "CurDAG", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "N", "->", "setNodeId", "(", "-", "1", ")", ";", "return", ";", "}", "SDLoc", "Dl", "(", "N", ")", ";", "unsigned", "Opcode", "=", "N", "->", "getOpcode", "(", ")", ";", "bool", "IsSelected", "=", "false", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "ADDCARRY", ":", "IsSelected", "=", "selectAddCarry", "(", "N", ")", ";", "break", ";", "case", "ISD", "::", "SUBCARRY", ":", "IsSelected", "=", "selectSubCarry", "(", "N", ")", ";", "break", ";", "case", "ISD", "::", "GLOBAL_OFFSET_TABLE", ":", "{", "Register", "GP", "=", "Subtarget", "->", "getInstrInfo", "(", ")", "->", "getGlobalBaseReg", "(", "*", "MF", ")", ";", "ReplaceNode", "(", "N", ",", "CurDAG", "->", "getRegister", "(", "GP", ",", "N", "->", "getValueType", "(", "0", ")", ")", ".", "getNode", "(", ")", ")", ";", "IsSelected", "=", "true", ";", "break", ";", "}", "case", "ISD", "::", "FrameIndex", ":", "{", "SDValue", "Imm", "=", "CurDAG", "->", "getTargetConstant", "(", "0", ",", "Dl", ",", "MVT", "::", "i32", ")", ";", "int", "FI", "=", "cast", "<", "FrameIndexSDNode", ">", "(", "N", ")", "->", "getIndex", "(", ")", ";", "SDValue", "TFI", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "MVT", "::", "i32", ")", ";", "ReplaceNode", "(", "N", ",", "CurDAG", "->", "getMachineNode", "(", "Subtarget", "->", "hasE2", "(", ")", "?", "CSKY", "::", "ADDI32", ":", "CSKY", "::", "ADDI16XZ", ",", "Dl", ",", "MVT", "::", "i32", ",", "TFI", ",", "Imm", ")", ")", ";", "IsSelected", "=", "true", ";", "break", ";", "}", "}", "if", "(", "IsSelected", ")", "return", ";", "SelectCode", "(", "N", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["CSKY", "CSKY", "\"== \"", "\"\\n\"", "1", "ISD::ADDCARRY", "ISD::SUBCARRY", "ISD::GLOBAL_OFFSET_TABLE", "0", "ISD::FrameIndex", "0", "MVT::i32", "MVT::i32", "CSKY::ADDI32", "CSKY::ADDI16XZ", "MVT::i32"], "File": "CSKYISelDAGToDAG1", "Func": "Select", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15279, "Length": 265, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "paired_expand_vector_init", "(", "rtx", "target", ",", "rtx", "vals", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "target", ")", ";", "int", "n_elts", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "int", "n_var", "=", "0", ";", "rtx", "x", ",", "new_rtx", ",", "tmp", ",", "constant_op", ",", "op1", ",", "op2", ";", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n_elts", ";", "++", "i", ")", "{", "x", "=", "XVECEXP", "(", "vals", ",", "0", ",", "i", ")", ";", "if", "(", "!", "(", "CONST_SCALAR_INT_P", "(", "x", ")", "||", "CONST_DOUBLE_P", "(", "x", ")", "||", "CONST_FIXED_P", "(", "x", ")", ")", ")", "++", "n_var", ";", "}", "if", "(", "n_var", "==", "0", ")", "{", "emit_move_insn", "(", "target", ",", "gen_rtx_CONST_VECTOR", "(", "mode", ",", "XVEC", "(", "vals", ",", "0", ")", ")", ")", ";", "return", ";", "}", "if", "(", "n_var", "==", "2", ")", "{", "new_rtx", "=", "gen_rtx_VEC_CONCAT", "(", "V2SFmode", ",", "XVECEXP", "(", "vals", ",", "0", ",", "0", ")", ",", "XVECEXP", "(", "vals", ",", "0", ",", "1", ")", ")", ";", "emit_move_insn", "(", "target", ",", "new_rtx", ")", ";", "return", ";", "}", "op1", "=", "XVECEXP", "(", "vals", ",", "0", ",", "0", ")", ";", "op2", "=", "XVECEXP", "(", "vals", ",", "0", ",", "1", ")", ";", "constant_op", "=", "(", "CONSTANT_P", "(", "op1", ")", ")", "?", "op1", ":", "op2", ";", "tmp", "=", "gen_reg_rtx", "(", "GET_MODE", "(", "constant_op", ")", ")", ";", "emit_move_insn", "(", "tmp", ",", "constant_op", ")", ";", "if", "(", "CONSTANT_P", "(", "op1", ")", ")", "new_rtx", "=", "gen_rtx_VEC_CONCAT", "(", "V2SFmode", ",", "tmp", ",", "op2", ")", ";", "else", "new_rtx", "=", "gen_rtx_VEC_CONCAT", "(", "V2SFmode", ",", "op1", ",", "tmp", ")", ";", "emit_move_insn", "(", "target", ",", "new_rtx", ")", ";", "}", ""], "natrual_language": ["Initialize", "TARGET", "of", "vector", "PAIRED", "to", "VALS", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "0", "2", "0", "0", "0", "1", "0", "0", "0", "1"], "File": "rs60004", "Func": "paired_expand_vector_init", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15280, "Length": 255, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "legitimate_pic_operand_p", "(", "rtx", "x", ")", "{", "rtx", "inner", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "CONST", ":", "inner", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "inner", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "inner", ",", "1", ")", ")", "==", "CONST_INT", ")", "inner", "=", "XEXP", "(", "inner", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "inner", ")", "==", "UNSPEC", ")", "switch", "(", "XINT", "(", "inner", ",", "1", ")", ")", "{", "case", "UNSPEC_GOTOFF", ":", "return", "TARGET_64BIT", ";", "case", "UNSPEC_TPOFF", ":", "x", "=", "XVECEXP", "(", "inner", ",", "0", ",", "0", ")", ";", "return", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", "==", "TLS_MODEL_LOCAL_EXEC", ")", ";", "default", ":", "return", "false", ";", "}", "case", "SYMBOL_REF", ":", "case", "LABEL_REF", ":", "return", "legitimate_pic_address_disp_p", "(", "x", ")", ";", "default", ":", "return", "true", ";", "}", "}", ""], "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": ["i386", "0", "1", "0", "1", "0", "0"], "File": "i3863", "Func": "legitimate_pic_operand_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15281, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_pcrel_p", "(", ")", "{", "return", "(", "DEFAULT_ABI", "==", "ABI_ELFv2", "&&", "(", "rs6000_isa_flags", "&", "OPTION_MASK_PCREL", ")", "!=", "0", "&&", "TARGET_CMODEL", "==", "CMODEL_MEDIUM", ")", ";", "}", ""], "natrual_language": ["Return", "whether", "we", "should", "generate", "PC-relative", "code", "for", "the", "current", "function", "."], "TS_V_token": ["rs6000", "0"], "File": "rs6000", "Func": "rs6000_pcrel_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15282, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_profile_before_prologue", "(", "void", ")", "{", "return", "flag_fentry", "!=", "0", ";", "}", ""], "natrual_language": ["Return", "true", ",", "if", "profiling", "code", "should", "be", "emitted", "before", "prologue", ".", "Otherwise", "it", "returns", "false", ".", "Note", ":", "For", "x86", "with", "``", "hotfix", "''", "it", "is", "sorried", "."], "TS_V_token": ["i386", "0"], "File": "i386", "Func": "ix86_profile_before_prologue", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15283, "Length": 13, "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": 15284, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "pic_address_needs_scratch", "(", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ")", "==", "SYMBOL_REF", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "1", ")", ")", "==", "CONST_INT", "&&", "!", "SMALL_INT", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "1", ")", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "an", "address", "which", "needs", "a", "temporary", "register", "when", "reloaded", "while", "generating", "PIC", "code", "."], "TS_V_token": ["sparc", "0", "0", "0", "0", "1", "0", "1", "1", "0"], "File": "sparc", "Func": "pic_address_needs_scratch", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15285, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_function_arg_boundary", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "unsigned", "int", "alignment", "=", "aarch64_function_arg_alignment", "(", "mode", ",", "type", ")", ";", "if", "(", "alignment", "<", "PARM_BOUNDARY", ")", "alignment", "=", "PARM_BOUNDARY", ";", "if", "(", "alignment", ">", "STACK_BOUNDARY", ")", "alignment", "=", "STACK_BOUNDARY", ";", "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"], "File": "aarch642", "Func": "aarch64_function_arg_boundary", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15286, "Length": 47, "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": 15287, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_symbian_dllimport_p", "(", "tree", "decl", ")", "{", "tree", "imp", ";", "if", "(", "TREE_CODE", "(", "decl", ")", "!=", "VAR_DECL", "&&", "TREE_CODE", "(", "decl", ")", "!=", "FUNCTION_DECL", ")", "return", "false", ";", "imp", "=", "lookup_attribute", "(", "\"dllimport\"", ",", "DECL_ATTRIBUTES", "(", "decl", ")", ")", ";", "if", "(", "imp", ")", "return", "true", ";", "imp", "=", "sh_symbian_associated_type", "(", "decl", ")", ";", "if", "(", "!", "imp", ")", "return", "false", ";", "imp", "=", "lookup_attribute", "(", "\"dllimport\"", ",", "TYPE_ATTRIBUTES", "(", "imp", ")", ")", ";", "if", "(", "!", "imp", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", "&&", "DECL_INITIAL", "(", "decl", ")", "&&", "!", "DECL_INLINE", "(", "decl", ")", ")", "{", "if", "(", "!", "DECL_ARTIFICIAL", "(", "decl", ")", ")", "warning", "(", "OPT_Wattributes", ",", "\"function %q+D is defined after prior \"", "\"declaration as dllimport: attribute ignored\"", ",", "decl", ")", ";", "return", "false", ";", "}", "else", "if", "(", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", "&&", "DECL_INLINE", "(", "decl", ")", ")", "{", "if", "(", "extra_warnings", ")", "warning", "(", "OPT_Wattributes", ",", "\"inline function %q+D is declared as \"", "\"dllimport: attribute ignored\"", ",", "decl", ")", ";", "return", "false", ";", "}", "else", "if", "(", "TREE_CODE", "(", "decl", ")", "==", "VAR_DECL", "&&", "TREE_STATIC", "(", "decl", ")", "&&", "TREE_PUBLIC", "(", "decl", ")", "&&", "!", "DECL_EXTERNAL", "(", "decl", ")", ")", "{", "if", "(", "!", "DECL_VIRTUAL_P", "(", "decl", ")", ")", "error", "(", "\"definition of static data member %q+D of dllimport'd class\"", ",", "decl", ")", ";", "return", "false", ";", "}", "else", "if", "(", "TREE_CODE", "(", "TREE_TYPE", "(", "decl", ")", ")", "==", "METHOD_TYPE", "&&", "(", "DECL_VIRTUAL_P", "(", "decl", ")", "||", "DECL_ARTIFICIAL", "(", "decl", ")", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "DECL", "is", "a", "dllimport", "'d", "object", "."], "TS_V_token": ["sh", "\"dllimport\"", "\"dllimport\"", "\"function %q+D is defined after prior \"", "\"declaration as dllimport: attribute ignored\"", "\"inline function %q+D is declared as \"", "\"dllimport: attribute ignored\"", "\"definition of static data member %q+D of dllimport'd class\""], "File": "symbian", "Func": "sh_symbian_dllimport_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15288, "Length": 239, "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": 15289, "Length": 300, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_expand_vec_one_operand_perm_avx512", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "d", "->", "op0", ")", ";", "machine_mode", "maskmode", "=", "mode", ";", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", "=", "NULL", ";", "rtx", "target", ",", "op0", ",", "mask", ";", "rtx", "vec", "[", "64", "]", ";", "if", "(", "!", "rtx_equal_p", "(", "d", "->", "op0", ",", "d", "->", "op1", ")", ")", "return", "false", ";", "if", "(", "!", "TARGET_AVX512F", ")", "return", "false", ";", "switch", "(", "mode", ")", "{", "case", "V16SImode", ":", "gen", "=", "gen_avx512f_permvarv16si", ";", "break", ";", "case", "V16SFmode", ":", "gen", "=", "gen_avx512f_permvarv16sf", ";", "maskmode", "=", "V16SImode", ";", "break", ";", "case", "V8DImode", ":", "gen", "=", "gen_avx512f_permvarv8di", ";", "break", ";", "case", "V8DFmode", ":", "gen", "=", "gen_avx512f_permvarv8df", ";", "maskmode", "=", "V8DImode", ";", "break", ";", "default", ":", "return", "false", ";", "}", "target", "=", "d", "->", "target", ";", "op0", "=", "d", "->", "op0", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "d", "->", "nelt", ";", "++", "i", ")", "vec", "[", "i", "]", "=", "GEN_INT", "(", "d", "->", "perm", "[", "i", "]", ")", ";", "mask", "=", "gen_rtx_CONST_VECTOR", "(", "maskmode", ",", "gen_rtvec_v", "(", "d", "->", "nelt", ",", "vec", ")", ")", ";", "emit_insn", "(", "gen", "(", "target", ",", "op0", ",", "force_reg", "(", "maskmode", ",", "mask", ")", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Try", "to", "expand", "one-operand", "permutation", "with", "constant", "mask", "."], "TS_V_token": ["i386", "64", "0"], "File": "i3866", "Func": "ix86_expand_vec_one_operand_perm_avx512", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15290, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "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": ["X86", "X86"], "File": "X86TargetTransformInfo (2)", "Func": "areInlineCompatible", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15291, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isTruncateFree", "(", "EVT", "VT1", ",", "EVT", "VT2", ")", "const", "{", "if", "(", "!", "VT1", ".", "isScalarInteger", "(", ")", "||", "!", "VT2", ".", "isScalarInteger", "(", ")", ")", "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)5", "Func": "isTruncateFree", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15292, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "SparcInstrInfo", "::", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "unsigned", ">", "&", "Ops", ",", "int", "FI", ")", "const", "{", "if", "(", "Ops", ".", "size", "(", ")", "!=", "1", ")", "return", "NULL", ";", "unsigned", "OpNum", "=", "Ops", "[", "0", "]", ";", "bool", "isFloat", "=", "false", ";", "MachineInstr", "*", "NewMI", "=", "NULL", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "SP", "::", "ORrr", ":", "if", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "SP", "::", "G0", "&&", "MI", "->", "getOperand", "(", "0", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "2", ")", ".", "isReg", "(", ")", ")", "{", "if", "(", "OpNum", "==", "0", ")", "NewMI", "=", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "SP", "::", "STri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ";", "else", "NewMI", "=", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "SP", "::", "LDri", ")", ",", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "}", "break", ";", "case", "SP", "::", "FMOVS", ":", "isFloat", "=", "true", ";", "case", "SP", "::", "FMOVD", ":", "if", "(", "OpNum", "==", "0", ")", "{", "unsigned", "SrcReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "bool", "isKill", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "isKill", "(", ")", ";", "bool", "isUndef", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "isUndef", "(", ")", ";", "NewMI", "=", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "isFloat", "?", "SP", "::", "STFri", ":", "SP", "::", "STDFri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", "|", "getUndefRegState", "(", "isUndef", ")", ")", ";", "}", "else", "{", "unsigned", "DstReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "bool", "isDead", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "isDead", "(", ")", ";", "bool", "isUndef", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "isUndef", "(", ")", ";", "NewMI", "=", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "isFloat", "?", "SP", "::", "LDFri", ":", "SP", "::", "LDDFri", ")", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "isDead", ")", "|", "getUndefRegState", "(", "isUndef", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "}", "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": ["Sparc", "Sparc", "1", "0", "SP::ORrr", "1", "1", "SP::G0", "0", "2", "0", "SP::STri", "0", "2", "SP::LDri", "0", "0", "SP::FMOVS", "SP::FMOVD", "0", "1", "1", "1", "SP::STFri", "SP::STDFri", "0", "0", "0", "0", "SP::LDFri", "SP::LDDFri", "0"], "File": "SparcInstrInfo22", "Func": "foldMemoryOperandImpl", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15293, "Length": 441, "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": 15294, "Length": 468, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "nds32_register_move_cost", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "reg_class_t", "from", ",", "reg_class_t", "to", ")", "{", "if", "(", "(", "from", "==", "FP_REGS", "&&", "to", "!=", "FP_REGS", ")", "||", "(", "from", "!=", "FP_REGS", "&&", "to", "==", "FP_REGS", ")", ")", "return", "9", ";", "else", "if", "(", "from", "==", "HIGH_REGS", "||", "to", "==", "HIGH_REGS", ")", "return", "optimize_size", "?", "6", ":", "2", ";", "else", "return", "2", ";", "}", ""], "natrual_language": ["Describing", "Relative", "Costs", "of", "Operations", "."], "TS_V_token": ["nds32", "9", "6", "2", "2"], "File": "nds325", "Func": "nds32_register_move_cost", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15295, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "AArch64RegisterInfo", "::", "getCrossCopyRegClass", "(", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "if", "(", "RC", "==", "&", "AArch64", "::", "FlagClassRegClass", ")", "return", "&", "AArch64", "::", "GPR64RegClass", ";", "return", "RC", ";", "}", ""], "natrual_language": ["getCrossCopyRegClass", "-", "Returns", "a", "legal", "register", "class", "to", "copy", "a", "register", "in", "the", "specified", "class", "to", "or", "from", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::FlagClassRegClass", "AArch64::GPR64RegClass"], "File": "AArch64RegisterInfo20", "Func": "getCrossCopyRegClass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15296, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "emitInlineAsmStart", "(", "const", "MCSubtargetInfo", "&", "StartInfo", ")", "const", "{", "MipsTargetStreamer", "&", "TS", "=", "getTargetStreamer", "(", ")", ";", "TS", ".", "emitDirectiveSetPush", "(", ")", ";", "TS", ".", "emitDirectiveSetAt", "(", ")", ";", "TS", ".", "emitDirectiveSetMacro", "(", ")", ";", "TS", ".", "emitDirectiveSetReorder", "(", ")", ";", "OutStreamer", ".", "AddBlankLine", "(", ")", ";", "}", ""], "natrual_language": ["Let", "the", "target", "do", "anything", "it", "needs", "to", "do", "before", "emitting", "inlineasm", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsAsmPrinter20", "Func": "emitInlineAsmStart", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15297, "Length": 51, "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", ")", "return", "8", ";", "if", "(", "TARGET_PORTABLE_RUNTIME", ")", "return", "16", ";", "if", "(", "(", "TARGET_NO_SPACE_REGS", "||", "TARGET_PA_20", ")", "&&", "!", "optimize_size", ")", "return", "20", ";", "if", "(", "!", "TARGET_LONG_CALLS", "&&", "(", "(", "TARGET_PA_20", "&&", "!", "TARGET_SOM", "&&", "distance", "<", "7600000", ")", "||", "distance", "<", "MAX_PCREL17F_OFFSET", ")", ")", "return", "8", ";", "if", "(", "!", "flag_pic", ")", "return", "12", ";", "if", "(", "TARGET_NO_SPACE_REGS", "||", "TARGET_PA_20", ")", "return", "20", ";", "if", "(", "!", "optimize_size", ")", "return", "36", ";", "return", "20", ";", "}", ""], "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", "8", "16", "20", "7600000", "8", "12", "20", "36", "20"], "File": "pa6", "Func": "pa_attr_length_indirect_call", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15298, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "SPECIAL_REGISTER_P", "(", "regno", ")", ")", "return", "mode", "==", "SImode", ";", "if", "(", "regno", "==", "FPUL_REG", ")", "return", "(", "mode", "==", "SImode", "||", "mode", "==", "SFmode", ")", ";", "if", "(", "FP_REGISTER_P", "(", "regno", ")", "&&", "mode", "==", "SFmode", ")", "return", "true", ";", "if", "(", "mode", "==", "V2SFmode", ")", "{", "if", "(", "(", "(", "FP_REGISTER_P", "(", "regno", ")", "&&", "(", "regno", "-", "FIRST_FP_REG", ")", "%", "2", "==", "0", ")", "||", "GENERAL_REGISTER_P", "(", "regno", ")", ")", ")", "return", "true", ";", "else", "return", "false", ";", "}", "if", "(", "mode", "==", "V4SFmode", ")", "{", "if", "(", "(", "FP_REGISTER_P", "(", "regno", ")", "&&", "(", "regno", "-", "FIRST_FP_REG", ")", "%", "4", "==", "0", ")", "||", "GENERAL_REGISTER_P", "(", "regno", ")", ")", "return", "true", ";", "else", "return", "false", ";", "}", "if", "(", "mode", "==", "V16SFmode", ")", "{", "if", "(", "TARGET_SHMEDIA", ")", "{", "if", "(", "FP_REGISTER_P", "(", "regno", ")", "&&", "(", "regno", "-", "FIRST_FP_REG", ")", "%", "16", "==", "0", ")", "return", "true", ";", "else", "return", "false", ";", "}", "else", "return", "regno", "==", "FIRST_XD_REG", ";", "}", "if", "(", "FP_REGISTER_P", "(", "regno", ")", ")", "{", "if", "(", "mode", "==", "SFmode", "||", "mode", "==", "SImode", "||", "(", "(", "TARGET_SH2E", "||", "TARGET_SHMEDIA", ")", "&&", "mode", "==", "SCmode", ")", "||", "(", "(", "(", "(", "TARGET_SH4", "||", "TARGET_SH2A_DOUBLE", ")", "&&", "mode", "==", "DFmode", ")", "||", "mode", "==", "DCmode", "||", "(", "TARGET_SHMEDIA", "&&", "(", "mode", "==", "DFmode", "||", "mode", "==", "DImode", "||", "mode", "==", "V2SFmode", "||", "mode", "==", "TImode", ")", ")", ")", "&&", "(", "(", "regno", "-", "FIRST_FP_REG", ")", "&", "1", ")", "==", "0", ")", "||", "(", "(", "TARGET_SH4", "||", "TARGET_SHMEDIA", ")", "&&", "mode", "==", "TImode", "&&", "(", "(", "regno", "-", "FIRST_FP_REG", ")", "&", "3", ")", "==", "0", ")", ")", "return", "true", ";", "else", "return", "false", ";", "}", "if", "(", "XD_REGISTER_P", "(", "regno", ")", ")", "return", "mode", "==", "DFmode", ";", "if", "(", "TARGET_REGISTER_P", "(", "regno", ")", ")", "return", "(", "mode", "==", "DImode", "||", "mode", "==", "SImode", "||", "mode", "==", "PDImode", ")", ";", "if", "(", "regno", "==", "PR_REG", ")", "return", "mode", "==", "SImode", ";", "if", "(", "regno", "==", "FPSCR_REG", ")", "return", "mode", "==", "SImode", ";", "if", "(", "!", "optimize", "&&", "TARGET_SHMEDIA32", "&&", "GET_MODE_SIZE", "(", "mode", ")", ">", "4", ")", "{", "unsigned", "int", "n", "=", "GET_MODE_SIZE", "(", "mode", ")", "/", "8", ";", "if", "(", "regno", ">=", "FIRST_GENERAL_REG", "+", "10", "-", "n", "+", "1", "&&", "regno", "<=", "FIRST_GENERAL_REG", "+", "14", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "hard", "register", "REGNO", "can", "hold", "a", "value", "of", "machine-mode", "MODE", ".", "We", "can", "allow", "any", "mode", "in", "any", "general", "register", ".", "The", "special", "registers", "only", "allow", "SImode", ".", "Do", "n't", "allow", "any", "mode", "in", "the", "PR", ".", "We", "can", "not", "hold", "DCmode", "values", "in", "the", "XD", "registers", "because", "alter_reg", "handles", "subregs", "of", "them", "incorrectly", ".", "We", "could", "work", "around", "this", "by", "spacing", "the", "XD", "registers", "like", "the", "DR", "registers", ",", "but", "this", "would", "require", "additional", "memory", "in", "every", "compilation", "to", "hold", "larger", "register", "vectors", ".", "We", "could", "hold", "SFmode", "/", "SCmode", "values", "in", "XD", "registers", ",", "but", "that", "would", "require", "a", "tertiary", "reload", "when", "reloading", "from", "/", "to", "memory", ",", "and", "a", "secondary", "reload", "to", "reload", "from", "/", "to", "general", "regs", ";", "that", "seems", "to", "be", "a", "losing", "proposition", ".", "We", "want", "to", "allow", "TImode", "FP", "regs", "so", "that", "when", "V4SFmode", "is", "loaded", "as", "TImode", ",", "it", "wo", "n't", "be", "ferried", "through", "GP", "registers", "first", "."], "TS_V_token": ["sh", "2", "0", "4", "0", "16", "0", "1", "0", "3", "0", "4", "8", "10", "1", "14"], "File": "sh4", "Func": "sh_hard_regno_mode_ok", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15299, "Length": 402, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "VE", "::", "Fixups", "VEMCExpr", "::", "getFixupKind", "(", "VEMCExpr", "::", "VariantKind", "Kind", ")", "{", "switch", "(", "Kind", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unhandled VEMCExpr::VariantKind\"", ")", ";", "case", "VK_VE_HI32", ":", "return", "VE", "::", "fixup_ve_hi32", ";", "case", "VK_VE_LO32", ":", "return", "VE", "::", "fixup_ve_lo32", ";", "case", "VK_VE_PC_HI32", ":", "return", "VE", "::", "fixup_ve_pc_hi32", ";", "case", "VK_VE_PC_LO32", ":", "return", "VE", "::", "fixup_ve_pc_lo32", ";", "case", "VK_VE_GOT_HI32", ":", "return", "VE", "::", "fixup_ve_got_hi32", ";", "case", "VK_VE_GOT_LO32", ":", "return", "VE", "::", "fixup_ve_got_lo32", ";", "case", "VK_VE_GOTOFF_HI32", ":", "return", "VE", "::", "fixup_ve_gotoff_hi32", ";", "case", "VK_VE_GOTOFF_LO32", ":", "return", "VE", "::", "fixup_ve_gotoff_lo32", ";", "case", "VK_VE_PLT_HI32", ":", "return", "VE", "::", "fixup_ve_plt_hi32", ";", "case", "VK_VE_PLT_LO32", ":", "return", "VE", "::", "fixup_ve_plt_lo32", ";", "case", "VK_VE_TLS_GD_HI32", ":", "return", "VE", "::", "fixup_ve_tls_gd_hi32", ";", "case", "VK_VE_TLS_GD_LO32", ":", "return", "VE", "::", "fixup_ve_tls_gd_lo32", ";", "}", "}", ""], "natrual_language": ["getFixupKind", "-", "Get", "the", "fixup", "kind", "of", "this", "expression", "."], "TS_V_token": ["VE", "VE::Fixups", "VE", "VE", "\"Unhandled VEMCExpr::VariantKind\"", "VE", "VE::fixup_ve_hi32", "VE", "VE::fixup_ve_lo32", "VE", "VE::fixup_ve_pc_hi32", "VE", "VE::fixup_ve_pc_lo32", "VE", "VE::fixup_ve_got_hi32", "VE", "VE::fixup_ve_got_lo32", "VE", "VE::fixup_ve_gotoff_hi32", "VE", "VE::fixup_ve_gotoff_lo32", "VE", "VE::fixup_ve_plt_hi32", "VE", "VE::fixup_ve_plt_lo32", "VE", "VE::fixup_ve_tls_gd_hi32", "VE", "VE::fixup_ve_tls_gd_lo32"], "File": "VEMCExpr4", "Func": "getFixupKind", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15300, "Length": 123, "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", "(", "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": "i3864", "Func": "x86_64_elf_section_type_flags", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15301, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "get231Opcode", "(", ")", "const", "{", "return", "Opcodes", "[", "Form231", "]", ";", "}", ""], "natrual_language": ["Returns", "the", "231", "form", "of", "FMA", "opcode", "."], "TS_V_token": ["X86"], "File": "X86InstrFMA3Info11", "Func": "get231Opcode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15302, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "indirectable_address_p", "(", "rtx", "x", ",", "int", "strict", ")", "{", "if", "(", "indirectable_constant_address_p", "(", "x", ")", ")", "return", "1", ";", "if", "(", "BASE_REGISTER_P", "(", "x", ",", "strict", ")", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "BASE_REGISTER_P", "(", "XEXP", "(", "x", ",", "0", ")", ",", "strict", ")", "&&", "indirectable_constant_address_p", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Nonzero", "if", "X", "is", "an", "address", "which", "can", "be", "indirected", ".", "External", "symbols", "could", "be", "in", "a", "sharable", "image", "library", ",", "so", "we", "disallow", "those", "."], "TS_V_token": ["vax", "1", "1", "0", "1", "1", "0"], "File": "vax3", "Func": "indirectable_address_p", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15303, "Length": 71, "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": 15304, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb2InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "RC", "==", "&", "ARM", "::", "GPRRegClass", "||", "RC", "==", "&", "ARM", "::", "tGPRRegClass", "||", "RC", "==", "&", "ARM", "::", "tcGPRRegClass", "||", "RC", "==", "&", "ARM", "::", "rGPRRegClass", "||", "RC", "==", "&", "ARM", "::", "GPRnopcRegClass", ")", "{", "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", "::", "MOLoad", ",", "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", ",", "TRI", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM::GPRRegClass", "ARM::tGPRRegClass", "ARM::tcGPRRegClass", "ARM::rGPRRegClass", "ARM::GPRnopcRegClass", "ARM::t2LDRi12", "0", "ARM"], "File": "Thumb2InstrInfo17", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15305, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_builtin_vectorization_cost", "(", "enum", "vect_cost_for_stmt", "type_of_cost", ",", "tree", "vectype", ",", "int", "misalign", "ATTRIBUTE_UNUSED", ")", "{", "unsigned", "elements", ";", "switch", "(", "type_of_cost", ")", "{", "case", "scalar_stmt", ":", "return", "current_tune", "->", "vec_costs", "->", "scalar_stmt_cost", ";", "case", "scalar_load", ":", "return", "current_tune", "->", "vec_costs", "->", "scalar_load_cost", ";", "case", "scalar_store", ":", "return", "current_tune", "->", "vec_costs", "->", "scalar_store_cost", ";", "case", "vector_stmt", ":", "return", "current_tune", "->", "vec_costs", "->", "vec_stmt_cost", ";", "case", "vector_load", ":", "return", "current_tune", "->", "vec_costs", "->", "vec_align_load_cost", ";", "case", "vector_store", ":", "return", "current_tune", "->", "vec_costs", "->", "vec_store_cost", ";", "case", "vec_to_scalar", ":", "return", "current_tune", "->", "vec_costs", "->", "vec_to_scalar_cost", ";", "case", "scalar_to_vec", ":", "return", "current_tune", "->", "vec_costs", "->", "scalar_to_vec_cost", ";", "case", "unaligned_load", ":", "case", "vector_gather_load", ":", "return", "current_tune", "->", "vec_costs", "->", "vec_unalign_load_cost", ";", "case", "unaligned_store", ":", "case", "vector_scatter_store", ":", "return", "current_tune", "->", "vec_costs", "->", "vec_unalign_store_cost", ";", "case", "cond_branch_taken", ":", "return", "current_tune", "->", "vec_costs", "->", "cond_taken_branch_cost", ";", "case", "cond_branch_not_taken", ":", "return", "current_tune", "->", "vec_costs", "->", "cond_not_taken_branch_cost", ";", "case", "vec_perm", ":", "case", "vec_promote_demote", ":", "return", "current_tune", "->", "vec_costs", "->", "vec_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": ["arm", "2", "1"], "File": "arm", "Func": "arm_builtin_vectorization_cost", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15306, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "unique_ptr", "<", "MCObjectWriter", ">", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "override", "{", "return", "createARMWinCOFFObjectWriter", "(", "OS", ",", "false", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMAsmBackendWinCOFF10", "Func": "createObjectWriter", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15307, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "xstormy16_output_addr_vec", "(", "FILE", "*", "file", ",", "rtx", "label", "ATTRIBUTE_UNUSED", ",", "rtx", "table", ")", "{", "int", "vlen", ",", "idx", ";", "current_function_section", "(", "current_function_decl", ")", ";", "vlen", "=", "XVECLEN", "(", "table", ",", "0", ")", ";", "for", "(", "idx", "=", "0", ";", "idx", "<", "vlen", ";", "idx", "++", ")", "{", "fputs", "(", "\"\\tjmpf \"", ",", "file", ")", ";", "output_asm_label", "(", "XEXP", "(", "XVECEXP", "(", "table", ",", "0", ",", "idx", ")", ",", "0", ")", ")", ";", "fputc", "(", "'\\n'", ",", "file", ")", ";", "}", "}", ""], "natrual_language": ["Output", "an", "ADDR_VEC", ".", "It", "is", "output", "as", "a", "sequence", "of", "'jmpf", "'", "instructions", ",", "without", "label", "or", "alignment", "or", "any", "other", "special", "constructs", ".", "We", "know", "that", "the", "previous", "instruction", "will", "be", "the", "`", "tablejump_pcrel", "'", "output", "above", ".", "TODO", ":", "it", "might", "be", "nice", "to", "output", "'br", "'", "instructions", "if", "they", "could", "all", "reach", "."], "TS_V_token": ["stormy16", "0", "0", "\"\\tjmpf \"", "0", "0"], "File": "stormy163", "Func": "xstormy16_output_addr_vec", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15308, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "ARMBaseRegisterInfo", "::", "getCallPreservedMask", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "if", "(", "CC", "==", "CallingConv", "::", "GHC", ")", "return", "CSR_NoRegs_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"], "File": "ARMBaseRegisterInfo41", "Func": "getCallPreservedMask", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15309, "Length": 37, "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", "MaxAlign", "=", "MFI", "->", "getMaxAlignment", "(", ")", ";", "unsigned", "TargetAlign", "=", "getStackAlignment", "(", ")", ";", "unsigned", "AlignMask", "=", "TargetAlign", "-", "1", ";", "bool", "DisableRedZone", "=", "MF", ".", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "NoRedZone", ")", ";", "if", "(", "!", "DisableRedZone", "&&", "(", "Subtarget", ".", "isPPC64", "(", ")", "||", "!", "Subtarget", ".", "isSVR4ABI", "(", ")", "||", "FrameSize", "==", "0", ")", "&&", "FrameSize", "<=", "224", "&&", "!", "MFI", "->", "hasVarSizedObjects", "(", ")", "&&", "!", "MFI", "->", "adjustsStack", "(", ")", "&&", "(", "!", "ALIGN_STACK", "||", "MaxAlign", "<=", "TargetAlign", ")", ")", "{", "if", "(", "UpdateMF", ")", "MFI", "->", "setStackSize", "(", "0", ")", ";", "return", "0", ";", "}", "unsigned", "maxCallFrameSize", "=", "MFI", "->", "getMaxCallFrameSize", "(", ")", ";", "unsigned", "minCallFrameSize", "=", "getMinCallFrameSize", "(", "Subtarget", ".", "isPPC64", "(", ")", ",", "Subtarget", ".", "isDarwinABI", "(", ")", ")", ";", "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", "224", "0", "0", "PPC"], "File": "PPCFrameLowering1", "Func": "determineFrameLayout", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15310, "Length": 257, "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", "(", ")", "==", "MVT", "::", "i32", "?", "(", "Subtarget", "->", "isTarget64BitILP32", "(", ")", "?", "X86", "::", "LEA64_32r", ":", "X86", "::", "LEA32r", ")", ":", "X86", "::", "LEA64r", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TLI", ".", "getRegClassFor", "(", "TLI", ".", "getPointerTy", "(", ")", ")", ";", "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": "X86FastISel101", "Func": "fastMaterializeAlloca", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15311, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PostLegalizerCombiner", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "MF", ".", "getProperties", "(", ")", ".", "hasProperty", "(", "MachineFunctionProperties", "::", "Property", "::", "FailedISel", ")", ")", "return", "false", ";", "assert", "(", "MF", ".", "getProperties", "(", ")", ".", "hasProperty", "(", "MachineFunctionProperties", "::", "Property", "::", "Legalized", ")", "&&", "\"Expected a legalized function?\"", ")", ";", "auto", "*", "TPC", "=", "&", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "bool", "EnableOpt", "=", "MF", ".", "getTarget", "(", ")", ".", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "!", "skipFunction", "(", "F", ")", ";", "GISelKnownBits", "*", "KB", "=", "&", "getAnalysis", "<", "GISelKnownBitsAnalysis", ">", "(", ")", ".", "get", "(", "MF", ")", ";", "MachineDominatorTree", "*", "MDT", "=", "IsOptNone", "?", "nullptr", ":", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "AArch64PostLegalizerCombinerInfo", "PCInfo", "(", "EnableOpt", ",", "F", ".", "hasOptSize", "(", ")", ",", "F", ".", "hasMinSize", "(", ")", ",", "KB", ",", "MDT", ")", ";", "Combiner", "C", "(", "PCInfo", ",", "TPC", ")", ";", "return", "C", ".", "combineMachineInstrs", "(", "MF", ",", "nullptr", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"Expected a legalized function?\"", "AArch64"], "File": "AArch64PostLegalizerCombiner", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15312, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_add_cfa_restore_note", "(", "rtx_insn", "*", "insn", ",", "rtx", "reg", ",", "HOST_WIDE_INT", "cfa_offset", ")", "{", "if", "(", "!", "crtl", "->", "shrink_wrapped", "&&", "cfa_offset", "<=", "cfun", "->", "machine", "->", "fs", ".", "red_zone_offset", ")", "return", ";", "if", "(", "insn", ")", "{", "add_reg_note", "(", "insn", ",", "REG_CFA_RESTORE", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "else", "queued_cfa_restores", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "queued_cfa_restores", ")", ";", "}", ""], "natrual_language": ["Add", "a", "REG_CFA_RESTORE", "REG", "note", "to", "INSN", "or", "queue", "them", "until", "next", "stack", "manipulation", "insn", ".", "The", "value", "is", "on", "the", "stack", "at", "CFA", "-", "CFA_OFFSET", ".", "Do", "n't", "add", "the", "note", "if", "the", "previously", "saved", "value", "will", "be", "left", "untouched", "within", "stack", "red-zone", "till", "return", ",", "as", "unwinders", "can", "find", "the", "same", "value", "in", "the", "register", "and", "on", "the", "stack", "."], "TS_V_token": ["i386", "1"], "File": "i386", "Func": "ix86_add_cfa_restore_note", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15313, "Length": 69, "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", "||", "mode", "==", "BFmode", ")", "&&", "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": "i3861", "Func": "ix86_scalar_mode_supported_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15314, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCallLowering", "::", "lowerCall", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "MachineOperand", "&", "Callee", ",", "const", "ArgInfo", "&", "OrigRet", ",", "ArrayRef", "<", "ArgInfo", ">", "OrigArgs", ")", "const", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "auto", "&", "TLI", "=", "*", "getTLI", "<", "ARMTargetLowering", ">", "(", ")", ";", "const", "auto", "&", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "if", "(", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "genLongCalls", "(", ")", ")", "return", "false", ";", "MIRBuilder", ".", "buildInstr", "(", "ARM", "::", "ADJCALLSTACKDOWN", ")", ".", "addImm", "(", "0", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "auto", "CallConv", "=", "MF", ".", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", ";", "auto", "MIB", "=", "MIRBuilder", ".", "buildInstrNoInsert", "(", "ARM", "::", "BLX", ")", ".", "add", "(", "Callee", ")", ".", "addRegMask", "(", "TRI", "->", "getCallPreservedMask", "(", "MF", ",", "CallConv", ")", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "ArgInfos", ";", "for", "(", "auto", "Arg", ":", "OrigArgs", ")", "{", "if", "(", "!", "isSupportedType", "(", "DL", ",", "TLI", ",", "Arg", ".", "Ty", ")", ")", "return", "false", ";", "if", "(", "!", "Arg", ".", "IsFixed", ")", "return", "false", ";", "splitToValueTypes", "(", "Arg", ",", "ArgInfos", ",", "DL", ",", "MRI", ")", ";", "}", "auto", "ArgAssignFn", "=", "TLI", ".", "CCAssignFnForCall", "(", "CallConv", ",", "false", ")", ";", "OutgoingValueHandler", "ArgHandler", "(", "MIRBuilder", ",", "MRI", ",", "MIB", ",", "ArgAssignFn", ")", ";", "if", "(", "!", "handleAssignments", "(", "MIRBuilder", ",", "ArgInfos", ",", "ArgHandler", ")", ")", "return", "false", ";", "MIRBuilder", ".", "insertInstr", "(", "MIB", ")", ";", "if", "(", "!", "OrigRet", ".", "Ty", "->", "isVoidTy", "(", ")", ")", "{", "if", "(", "!", "isSupportedType", "(", "DL", ",", "TLI", ",", "OrigRet", ".", "Ty", ")", ")", "return", "false", ";", "ArgInfos", ".", "clear", "(", ")", ";", "splitToValueTypes", "(", "OrigRet", ",", "ArgInfos", ",", "DL", ",", "MRI", ")", ";", "auto", "RetAssignFn", "=", "TLI", ".", "CCAssignFnForReturn", "(", "CallConv", ",", "false", ")", ";", "CallReturnHandler", "RetHandler", "(", "MIRBuilder", ",", "MRI", ",", "MIB", ",", "RetAssignFn", ")", ";", "if", "(", "!", "handleAssignments", "(", "MIRBuilder", ",", "ArgInfos", ",", "RetHandler", ")", ")", "return", "false", ";", "}", "MIRBuilder", ".", "buildInstr", "(", "ARM", "::", "ADJCALLSTACKUP", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "given", "call", "instruction", ",", "including", "argument", "and", "return", "value", "marshalling", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM::ADJCALLSTACKDOWN", "0", "ARMCC::AL", "ARM::BLX", "8", "ARM::ADJCALLSTACKUP", "0", "0", "ARMCC::AL"], "File": "ARMCallLowering18", "Func": "lowerCall", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15315, "Length": 390, "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", ",", "profile_probability", "::", "guessed_never", "(", ")", ")", ";", "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"], "File": "pa", "Func": "pa_expand_compare_and_swap_loop", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15316, "Length": 155, "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_set_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_set_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": "ARMTargetTransformInfo29", "Func": "isHardwareLoopProfitable", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15317, "Length": 480, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "initializePPCVSXFMAMutatePass", "(", "*", "PassRegistry", "::", "getPassRegistry", "(", ")", ")", ";", "insertPass", "(", "VSXFMAMutateEarly", "?", "&", "RegisterCoalescerID", ":", "&", "MachineSchedulerID", ",", "&", "PPCVSXFMAMutateID", ")", ";", "}", ""], "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"], "File": "PPCTargetMachine27", "Func": "addPreRegAlloc", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15318, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "flags", "(", ")", "const", "{", "return", "llvm", "::", "ELF", "::", "EF_ARM_EABI_VER5", ";", "}", ""], "natrual_language": ["Get", "the", "flags", "for", "this", "GlobalValue", "(", "see", "struct", "GVFlags", ")", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMGNUInfo", "Func": "flags", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15319, "Length": 14, "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": 15320, "Length": 390, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "VariantKind", "getKind", "(", ")", "const", "{", "return", "Kind", ";", "}", ""], "natrual_language": ["Returns", "the", "Kind", "of", "lane", "offset", "."], "TS_V_token": ["Sparc"], "File": "SparcMCExpr", "Func": "getKind", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15321, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetLowering", "::", "AdjustInstrPostInstrSelection", "(", "MachineInstr", "*", "MI", ",", "SDNode", "*", "Node", ")", "const", "{", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "MEMCPY", ")", "{", "attachMEMCPYScratchRegs", "(", "Subtarget", ",", "MI", ",", "Node", ")", ";", "return", ";", "}", "const", "MCInstrDesc", "*", "MCID", "=", "&", "MI", "->", "getDesc", "(", ")", ";", "unsigned", "NewOpc", "=", "convertAddSubFlagsOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "if", "(", "NewOpc", ")", "{", "const", "ARMBaseInstrInfo", "*", "TII", "=", "Subtarget", "->", "getInstrInfo", "(", ")", ";", "MCID", "=", "&", "TII", "->", "get", "(", "NewOpc", ")", ";", "assert", "(", "MCID", "->", "getNumOperands", "(", ")", "==", "MI", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", "+", "1", "&&", "\"converted opcode should be the same except for cc_out\"", ")", ";", "MI", "->", "setDesc", "(", "*", "MCID", ")", ";", "MI", "->", "addOperand", "(", "MachineOperand", "::", "CreateReg", "(", "0", ",", "true", ")", ")", ";", "}", "unsigned", "ccOutIdx", "=", "MCID", "->", "getNumOperands", "(", ")", "-", "1", ";", "if", "(", "!", "MI", "->", "hasOptionalDef", "(", ")", "||", "!", "MCID", "->", "OpInfo", "[", "ccOutIdx", "]", ".", "isOptionalDef", "(", ")", ")", "{", "assert", "(", "!", "NewOpc", "&&", "\"Optional cc_out operand required\"", ")", ";", "return", ";", "}", "bool", "definesCPSR", "=", "false", ";", "bool", "deadCPSR", "=", "false", ";", "for", "(", "unsigned", "i", "=", "MCID", "->", "getNumOperands", "(", ")", ",", "e", "=", "MI", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "i", ")", ";", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "MO", ".", "isDef", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "==", "ARM", "::", "CPSR", ")", "{", "definesCPSR", "=", "true", ";", "if", "(", "MO", ".", "isDead", "(", ")", ")", "deadCPSR", "=", "true", ";", "MI", "->", "RemoveOperand", "(", "i", ")", ";", "break", ";", "}", "}", "if", "(", "!", "definesCPSR", ")", "{", "assert", "(", "!", "NewOpc", "&&", "\"Optional cc_out operand required\"", ")", ";", "return", ";", "}", "assert", "(", "deadCPSR", "==", "!", "Node", "->", "hasAnyUseOfValue", "(", "1", ")", "&&", "\"inconsistent dead flag\"", ")", ";", "if", "(", "deadCPSR", ")", "{", "assert", "(", "!", "MI", "->", "getOperand", "(", "ccOutIdx", ")", ".", "getReg", "(", ")", "&&", "\"expect uninitialized optional cc_out operand\"", ")", ";", "return", ";", "}", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "ccOutIdx", ")", ";", "MO", ".", "setReg", "(", "ARM", "::", "CPSR", ")", ";", "MO", ".", "setIsDef", "(", "true", ")", ";", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'hasPostISelHook", "'", "flag", "."], "TS_V_token": ["ARM", "ARM", "ARM::MEMCPY", "ARM", "1", "\"converted opcode should be the same except for cc_out\"", "0", "1", "\"Optional cc_out operand required\"", "ARM::CPSR", "\"Optional cc_out operand required\"", "1", "\"inconsistent dead flag\"", "\"expect uninitialized optional cc_out operand\"", "ARM::CPSR"], "File": "ARMISelLowering (2)2", "Func": "AdjustInstrPostInstrSelection", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15322, "Length": 366, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{", "return", "createELFObjectWriter", "(", "createELFObjectTargetWriter", "(", ")", ",", "OS", ",", "true", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["X86"], "File": "X86AsmBackend32", "Func": "createObjectWriter", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15323, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isLegalICmpImmediate", "(", "int64_t", "Imm", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "isThumb", "(", ")", ")", "return", "ARM_AM", "::", "getSOImmVal", "(", "std", "::", "abs", "(", "Imm", ")", ")", "!=", "-", "1", ";", "if", "(", "Subtarget", "->", "isThumb2", "(", ")", ")", "return", "ARM_AM", "::", "getT2SOImmVal", "(", "std", "::", "abs", "(", "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": "ARMISelLowering (2)2", "Func": "isLegalICmpImmediate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15324, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_return_in_memory", "(", "tree", "type", ",", "tree", "fndecl", ")", "{", "if", "(", "TARGET_SH5", ")", "{", "if", "(", "TYPE_MODE", "(", "type", ")", "==", "BLKmode", ")", "return", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "int_size_in_bytes", "(", "type", ")", ")", ">", "8", ";", "else", "return", "GET_MODE_SIZE", "(", "TYPE_MODE", "(", "type", ")", ")", ">", "8", ";", "}", "else", "{", "return", "(", "TYPE_MODE", "(", "type", ")", "==", "BLKmode", "||", "(", "(", "TARGET_HITACHI", "||", "sh_attr_renesas_p", "(", "fndecl", ")", ")", "&&", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", ")", ")", ";", "}", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_RETURN_IN_MEMORY", "."], "TS_V_token": ["sh", "8", "8"], "File": "sh3", "Func": "sh_return_in_memory", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15325, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "char", "ix86_class_max_nregs", "(", "reg_class_t", "rclass", ",", "machine_mode", "mode", ")", "{", "if", "(", "MAYBE_INTEGER_CLASS_P", "(", "rclass", ")", ")", "{", "if", "(", "mode", "==", "XFmode", ")", "return", "(", "TARGET_64BIT", "?", "2", ":", "3", ")", ";", "else", "if", "(", "mode", "==", "XCmode", ")", "return", "(", "TARGET_64BIT", "?", "4", ":", "6", ")", ";", "else", "return", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ")", ";", "}", "else", "{", "if", "(", "COMPLEX_MODE_P", "(", "mode", ")", ")", "return", "2", ";", "else", "return", "1", ";", "}", "}", ""], "natrual_language": ["Implement", "the", "TARGET_CLASS_MAX_NREGS", "hook", ".", "On", "the", "80386", ",", "this", "is", "the", "size", "of", "MODE", "in", "words", ",", "except", "in", "the", "FP", "regs", ",", "where", "a", "single", "reg", "is", "always", "enough", "."], "TS_V_token": ["i386", "2", "3", "4", "6", "1", "2", "1"], "File": "i3864", "Func": "ix86_class_max_nregs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15326, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FISCAsmPrinter", "::", "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", "AsmPrinter", "::", "PrintAsmOperand", "(", "MI", ",", "OpNo", ",", "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", "<<", "\"xzr\"", ";", "return", "false", ";", "}", "}", "}", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["FISC", "FISC", "0", "1", "0", "0", "\"0x\"", "\"0x\"", "0xffff", "1", "\"xzr\""], "File": "FISCAsmPrinter", "Func": "PrintAsmOperand", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15327, "Length": 298, "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", "=", "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", "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": "PPCFrameLowering10", "Func": "determineCalleeSaves", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15328, "Length": 421, "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": 15329, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "*", "ARMBaseInstrInfo", "::", "CreateTargetHazardRecognizer", "(", "const", "TargetSubtargetInfo", "*", "STI", ",", "const", "ScheduleDAG", "*", "DAG", ")", "const", "{", "if", "(", "usePreRAHazardRecognizer", "(", ")", ")", "{", "const", "InstrItineraryData", "*", "II", "=", "static_cast", "<", "const", "ARMSubtarget", "*", ">", "(", "STI", ")", "->", "getInstrItineraryData", "(", ")", ";", "return", "new", "ScoreboardHazardRecognizer", "(", "II", ",", "DAG", ",", "\"pre-RA-sched\"", ")", ";", "}", "return", "TargetInstrInfo", "::", "CreateTargetHazardRecognizer", "(", "STI", ",", "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": ["ARM", "ARM", "ARM", "\"pre-RA-sched\""], "File": "ARMBaseInstrInfo (2)2", "Func": "CreateTargetHazardRecognizer", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15330, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "arm_get_cookie_size", "(", "tree", "type", ")", "{", "tree", "size", ";", "if", "(", "!", "TARGET_AAPCS_BASED", ")", "return", "default_cxx_get_cookie_size", "(", "type", ")", ";", "size", "=", "build_int_cst", "(", "sizetype", ",", "8", ")", ";", "return", "size", ";", "}", ""], "natrual_language": ["The", "EABI", "specifies", "that", "all", "array", "cookies", "are", "8", "bytes", "long", "."], "TS_V_token": ["arm", "8"], "File": "arm", "Func": "arm_get_cookie_size", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15331, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_enum_va_list", "(", "int", "idx", ",", "const", "char", "*", "*", "pname", ",", "tree", "*", "ptree", ")", "{", "if", "(", "TARGET_64BIT", ")", "{", "switch", "(", "idx", ")", "{", "default", ":", "break", ";", "case", "0", ":", "*", "ptree", "=", "ms_va_list_type_node", ";", "*", "pname", "=", "\"__builtin_ms_va_list\"", ";", "return", "1", ";", "case", "1", ":", "*", "ptree", "=", "sysv_va_list_type_node", ";", "*", "pname", "=", "\"__builtin_sysv_va_list\"", ";", "return", "1", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["Iterate", "through", "the", "target-specific", "builtin", "types", "for", "va_list", ".", "IDX", "denotes", "the", "iterator", ",", "*", "PTREE", "is", "set", "to", "the", "result", "type", "of", "the", "va_list", "builtin", ",", "and", "*", "PNAME", "to", "its", "internal", "type", ".", "Returns", "zero", "if", "there", "is", "no", "element", "for", "this", "index", ",", "otherwise", "IDX", "should", "be", "increased", "upon", "the", "next", "call", ".", "Note", ",", "do", "not", "iterate", "a", "base", "builtin", "'s", "name", "like", "__builtin_va_list", ".", "Used", "from", "c_common_nodes_and_builtins", "."], "TS_V_token": ["i386", "0", "\"__builtin_ms_va_list\"", "1", "1", "\"__builtin_sysv_va_list\"", "1", "0"], "File": "i386", "Func": "ix86_enum_va_list", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15332, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64MCInstLower", "::", "lowerOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCOperand", "&", "MCOp", ")", "const", "{", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "default", ":", "assert", "(", "0", "&&", "\"unknown operand type\"", ")", ";", "case", "MachineOperand", "::", "MO_Register", ":", "if", "(", "MO", ".", "isImplicit", "(", ")", ")", "return", "false", ";", "MCOp", "=", "MCOperand", "::", "CreateReg", "(", "MO", ".", "getReg", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_RegisterMask", ":", "return", "false", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "MCOp", "=", "MCOperand", "::", "CreateImm", "(", "MO", ".", "getImm", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "MCOp", "=", "MCOperand", "::", "CreateExpr", "(", "MCSymbolRefExpr", "::", "Create", "(", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ",", "Ctx", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "GetGlobalAddressSymbol", "(", "MO", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "GetExternalSymbolSymbol", "(", "MO", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "Printer", ".", "GetJTISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "Printer", ".", "GetCPISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_BlockAddress", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "Printer", ".", "GetBlockAddressSymbol", "(", "MO", ".", "getBlockAddress", "(", ")", ")", ")", ";", "break", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Wrapper", "for", "MCInstLowering.lowerOperand", "(", ")", "for", "the", "tblgen'erated", "pseudo", "lowering", "."], "TS_V_token": ["AArch64", "AArch64", "0", "\"unknown operand type\""], "File": "AArch64MCInstLower18", "Func": "lowerOperand", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15333, "Length": 242, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Mips Delay Slot Filler\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"Mips Delay Slot Filler\""], "File": "MipsDelaySlotFiller12", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15334, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_le_vsx_load", "(", "rtx", "dest", ",", "rtx", "source", ",", "machine_mode", "mode", ")", "{", "rtx", "tmp", ",", "permute_mem", ",", "permute_reg", ";", "if", "(", "mode", "==", "TImode", "||", "mode", "==", "V1TImode", ")", "{", "mode", "=", "V2DImode", ";", "dest", "=", "gen_lowpart", "(", "V2DImode", ",", "dest", ")", ";", "source", "=", "adjust_address", "(", "source", ",", "V2DImode", ",", "0", ")", ";", "}", "tmp", "=", "can_create_pseudo_p", "(", ")", "?", "gen_reg_rtx_and_attrs", "(", "dest", ")", ":", "dest", ";", "permute_mem", "=", "rs6000_gen_le_vsx_permute", "(", "source", ",", "mode", ")", ";", "permute_reg", "=", "rs6000_gen_le_vsx_permute", "(", "tmp", ",", "mode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "tmp", ",", "permute_mem", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "permute_reg", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "little-endian", "load", "from", "vector", "memory", "location", "SOURCE", "to", "VSX", "register", "DEST", "in", "mode", "MODE", ".", "The", "load", "is", "done", "with", "two", "permuting", "insn", "'s", "that", "represent", "an", "lxvd2x", "and", "xxpermdi", "."], "TS_V_token": ["powerpcspe", "0"], "File": "powerpcspe", "Func": "rs6000_emit_le_vsx_load", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15335, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcTargetMachine", "::", "SparcTargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "is64bit", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "TLOF", "(", "make_unique", "<", "SparcELFTargetObjectFile", ">", "(", ")", ")", ",", "DL", "(", "computeDataLayout", "(", "is64bit", ")", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ",", "is64bit", ")", "{", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "ILP32", "architecture", "model", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc"], "File": "SparcTargetMachine19", "Func": "SparcTargetMachine", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15336, "Length": 98, "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", ";", "struct", "cl_target_option", "*", "opts", "=", "TREE_TARGET_OPTION", "(", "callee_tree", ")", ";", "SET_DECL_ALIGN", "(", "fndecl", ",", "FUNCTION_ALIGNMENT", "(", "FUNCTION_BOUNDARY_P", "(", "opts", "->", "x_target_flags", ")", ")", ")", ";", "}", ""], "natrual_language": ["Hook", "to", "fix", "function", "'s", "alignment", "affected", "by", "target", "attribute", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_relayout_function", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15337, "Length": 60, "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": 15338, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "setPersonality", "(", "const", "MCSymbol", "*", "Per", ")", "{", "HasPersonality", "=", "1", ";", "}", ""], "natrual_language": ["Set", "the", "personality", "."], "TS_V_token": ["ARM", "1"], "File": "ARMUnwindOpAsm", "Func": "setPersonality", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15339, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTTIImpl", "::", "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", "(", ")", ";", "bool", "MatchExact", "=", "(", "CallerBits", "&", "~", "InlineFeaturesAllowed", ")", "==", "(", "CalleeBits", "&", "~", "InlineFeaturesAllowed", ")", ";", "bool", "MatchSubset", "=", "(", "(", "CallerBits", "&", "CalleeBits", ")", "&", "InlineFeaturesAllowed", ")", "==", "(", "CalleeBits", "&", "InlineFeaturesAllowed", ")", ";", "return", "MatchExact", "&&", "MatchSubset", ";", "}", ""], "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": ["ARM", "ARM"], "File": "ARMTargetTransformInfo1", "Func": "areInlineCompatible", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15340, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_sim_wait_units", "(", "struct", "mips_sim", "*", "state", ",", "rtx", "insn", ")", "{", "state_t", "tmp_state", ";", "tmp_state", "=", "alloca", "(", "state_size", "(", ")", ")", ";", "while", "(", "state", "->", "insns_left", "==", "0", "||", "(", "memcpy", "(", "tmp_state", ",", "state", "->", "dfa_state", ",", "state_size", "(", ")", ")", ",", "state_transition", "(", "tmp_state", ",", "insn", ")", ">=", "0", ")", ")", "mips_sim_next_cycle", "(", "state", ")", ";", "}", ""], "natrual_language": ["Advance", "simulation", "state", "STATE", "until", "the", "units", "required", "by", "instruction", "INSN", "are", "available", "."], "TS_V_token": ["mips", "0", "0"], "File": "mips3", "Func": "mips_sim_wait_units", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15341, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "branch_needs_nop_p", "(", "rtx_insn", "*", "insn", ")", "{", "rtx_insn", "*", "jump_insn", ";", "if", "(", "dbr_sequence_length", "(", ")", ")", "return", "FALSE", ";", "jump_insn", "=", "next_active_insn", "(", "JUMP_LABEL", "(", "insn", ")", ")", ";", "while", "(", "insn", ")", "{", "insn", "=", "next_active_insn", "(", "insn", ")", ";", "if", "(", "!", "insn", "||", "jump_insn", "==", "insn", ")", "return", "TRUE", ";", "if", "(", "!", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "ASM_INPUT", "||", "extract_asm_operands", "(", "PATTERN", "(", "insn", ")", ")", "!=", "NULL_RTX", ")", "&&", "get_attr_length", "(", "insn", ")", ">", "0", ")", "break", ";", "}", "return", "FALSE", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "INSN", ",", "a", "forward", "jump", "insn", ",", "needs", "a", "nop", "in", "its", "delay", "slot", ".", "This", "occurs", "when", "INSN", "has", "an", "unfilled", "delay", "slot", "and", "is", "followed", "by", "an", "asm", ".", "Disaster", "can", "occur", "if", "the", "asm", "is", "empty", "and", "the", "jump", "branches", "into", "the", "delay", "slot", ".", "So", ",", "we", "add", "a", "nop", "in", "the", "delay", "slot", "when", "this", "occurs", "."], "TS_V_token": ["pa", "0"], "File": "pa4", "Func": "branch_needs_nop_p", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15342, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalMaskedLoad", "(", "Type", "*", "DataTy", ",", "int", "Consecutive", ")", "{", "int", "DataWidth", "=", "DataTy", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "(", "DataWidth", "<", "32", ")", "||", "(", "Consecutive", "==", "0", ")", ")", "return", "false", ";", "if", "(", "ST", "->", "hasAVX512", "(", ")", "||", "ST", "->", "hasAVX2", "(", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "load", "."], "TS_V_token": ["X86", "X86", "32", "0"], "File": "X86TargetTransformInfo", "Func": "isLegalMaskedLoad", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15343, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "gimple", "*", "gimple_folder", "::", "fold_to_ptrue", "(", ")", "{", "tree", "svbool_type", "=", "TREE_TYPE", "(", "lhs", ")", ";", "tree", "bool_type", "=", "TREE_TYPE", "(", "svbool_type", ")", ";", "unsigned", "int", "element_bytes", "=", "type_suffix", "(", "0", ")", ".", "element_bytes", ";", "tree_vector_builder", "builder", "(", "svbool_type", ",", "element_bytes", ",", "1", ")", ";", "builder", ".", "quick_push", "(", "build_all_ones_cst", "(", "bool_type", ")", ")", ";", "for", "(", "unsigned", "int", "i", "=", "1", ";", "i", "<", "element_bytes", ";", "++", "i", ")", "builder", ".", "quick_push", "(", "build_zero_cst", "(", "bool_type", ")", ")", ";", "return", "gimple_build_assign", "(", "lhs", ",", "builder", ".", "build", "(", ")", ")", ";", "}", ""], "natrual_language": ["Fold", "the", "call", "to", "a", "PTRUE", ",", "taking", "the", "element", "size", "from", "type", "suffix", "0", "."], "TS_V_token": ["aarch64", "0", "1", "1"], "File": "aarch64-sve-builtins", "Func": "fold_to_ptrue", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15344, "Length": 93, "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": 15345, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "OutgoingValueHandler", "::", "assignValueToReg", "(", "unsigned", "ValVReg", ",", "const", "CCValAssign", "&", "VA", ")", "{", "unsigned", "PhysReg", "=", "VA", ".", "getLocReg", "(", ")", ";", "unsigned", "ExtReg", "=", "extendRegister", "(", "ValVReg", ",", "VA", ")", ";", "MIRBuilder", ".", "buildCopy", "(", "PhysReg", ",", "ExtReg", ")", ";", "MIB", ".", "addUse", "(", "PhysReg", ",", "RegState", "::", "Implicit", ")", ";", "}", ""], "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": ["Mips"], "File": "MipsCallLowering1", "Func": "assignValueToReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15346, "Length": 54, "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_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_nofixup\"", ",", "0", ",", "0", ",", "0", "}", "}", ";", "const", "static", "MCFixupKindInfo", "InfosLE", "[", "PPC", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_ppc_br24\"", ",", "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_nofixup\"", ",", "0", ",", "0", ",", "0", "}", "}", ";", "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_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_nofixup\"", "0", "0", "0", "PPC::NumTargetFixupKinds", "\"fixup_ppc_br24\"", "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_nofixup\"", "0", "0", "0", "\"Invalid kind!\"", "support::little"], "File": "PPCAsmBackend (2)1", "Func": "getFixupKindInfo", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15347, "Length": 232, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "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": "ARMLoadStoreOptimizer59", "Func": "getAnalysisUsage", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15348, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "CSKYSubtarget", ">", "(", ")", ";", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["CSKY", "CSKY"], "File": "CSKYISelDAGToDAG", "Func": "runOnMachineFunction", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15349, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86DAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "OptForSize", "=", "MF", "->", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "OptimizeForSize", ")", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "I", "++", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "(", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", "&&", "!", "Subtarget", "->", "callRegIndirect", "(", ")", ")", "||", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "TC_RETURN", "&&", "(", "Subtarget", "->", "is64Bit", "(", ")", "||", "getTargetMachine", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", ")", ")", ")", ")", "{", "bool", "HasCallSeq", "=", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", ";", "SDValue", "Chain", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Load", "=", "N", "->", "getOperand", "(", "1", ")", ";", "if", "(", "!", "isCalleeLoad", "(", "Load", ",", "Chain", ",", "HasCallSeq", ")", ")", "continue", ";", "MoveBelowOrigChain", "(", "CurDAG", ",", "Load", ",", "SDValue", "(", "N", ",", "0", ")", ",", "Chain", ")", ";", "++", "NumLoadMoved", ";", "continue", ";", "}", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_ROUND", "&&", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "EVT", "SrcVT", "=", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", ";", "EVT", "DstVT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "if", "(", "SrcVT", ".", "isVector", "(", ")", "||", "DstVT", ".", "isVector", "(", ")", ")", "continue", ";", "bool", "SrcIsSSE", "=", "X86Lowering", ".", "isScalarFPTypeInSSEReg", "(", "SrcVT", ")", ";", "bool", "DstIsSSE", "=", "X86Lowering", ".", "isScalarFPTypeInSSEReg", "(", "DstVT", ")", ";", "if", "(", "SrcIsSSE", "&&", "DstIsSSE", ")", "continue", ";", "if", "(", "!", "SrcIsSSE", "&&", "!", "DstIsSSE", ")", "{", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "if", "(", "N", "->", "getConstantOperandVal", "(", "1", ")", ")", "continue", ";", "}", "EVT", "MemVT", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_ROUND", ")", "MemVT", "=", "DstVT", ";", "else", "MemVT", "=", "SrcIsSSE", "?", "SrcVT", ":", "DstVT", ";", "SDValue", "MemTmp", "=", "CurDAG", "->", "CreateStackTemporary", "(", "MemVT", ")", ";", "SDLoc", "dl", "(", "N", ")", ";", "SDValue", "Store", "=", "CurDAG", "->", "getTruncStore", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "dl", ",", "N", "->", "getOperand", "(", "0", ")", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "SDValue", "Result", "=", "CurDAG", "->", "getExtLoad", "(", "ISD", "::", "EXTLOAD", ",", "dl", ",", "DstVT", ",", "Store", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "--", "I", ";", "CurDAG", "->", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "0", ")", ",", "Result", ")", ";", "++", "I", ";", "CurDAG", "->", "DeleteNode", "(", "N", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["X86", "X86", "X86ISD::CALL", "X86ISD::TC_RETURN", "X86ISD::CALL", "0", "1", "0", "ISD::FP_ROUND", "ISD::FP_EXTEND", "0", "0", "X86", "X86", "ISD::FP_EXTEND", "1", "ISD::FP_ROUND", "0", "0", "ISD::EXTLOAD", "0", "0"], "File": "X86ISelDAGToDAG150", "Func": "PreprocessISelDAG", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15350, "Length": 464, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "hasAndNot", "(", "SDValue", "Y", ")", "const", "{", "EVT", "VT", "=", "Y", ".", "getValueType", "(", ")", ";", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "!", "isa", "<", "ConstantSDNode", ">", "(", "Y", ")", "&&", "hasAndNotCompare", "(", "Y", ")", ";", "if", "(", "!", "Subtarget", ".", "hasSSE1", "(", ")", "||", "VT", ".", "getSizeInBits", "(", ")", "<", "128", ")", "return", "false", ";", "if", "(", "VT", "==", "MVT", "::", "v4i32", ")", "return", "true", ";", "return", "Subtarget", ".", "hasSSE2", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "has", "a", "bitwise", "and-not", "operation", ":", "X", "=", "~A", "&", "B", "This", "can", "be", "used", "to", "simplify", "select", "or", "other", "instructions", "."], "TS_V_token": ["X86", "X86", "128", "MVT::v4i32"], "File": "X86ISelLowering", "Func": "hasAndNot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15351, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "VEDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "Register", "GlobalBaseReg", "=", "Subtarget", "->", "getInstrInfo", "(", ")", "->", "getGlobalBaseReg", "(", "MF", ")", ";", "return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "TLI", "->", "getPointerTy", "(", "CurDAG", "->", "getDataLayout", "(", ")", ")", ")", ".", "getNode", "(", ")", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["VE", "VE"], "File": "VEISelDAGToDAG", "Func": "getGlobalBaseReg", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15352, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_issue_rate", "(", "void", ")", "{", "switch", "(", "mips_tune", ")", "{", "case", "PROCESSOR_R4130", ":", "case", "PROCESSOR_R5400", ":", "case", "PROCESSOR_R5500", ":", "case", "PROCESSOR_R7000", ":", "case", "PROCESSOR_R9000", ":", "return", "2", ";", "case", "PROCESSOR_SB1", ":", "return", "3", ";", "default", ":", "return", "1", ";", "}", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "that", "can", "be", "issued", "per", "cycle", "."], "TS_V_token": ["mips", "2", "3", "1"], "File": "mips3", "Func": "mips_issue_rate", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15353, "Length": 43, "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": ["UPT", "4"], "File": "UPTAsmBackend", "Func": "getPointerSize", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15354, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_setup_incoming_varargs", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ",", "int", "*", "pretend_size", "ATTRIBUTE_UNUSED", ",", "int", "no_rtl", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "CUMULATIVE_ARGS", "local_cum", ";", "int", "gr_saved", "=", "cfun", "->", "va_list_gpr_size", ";", "int", "vr_saved", "=", "cfun", "->", "va_list_fpr_size", ";", "local_cum", "=", "*", "cum", ";", "aarch64_function_arg_advance", "(", "pack_cumulative_args", "(", "&", "local_cum", ")", ",", "arg", ")", ";", "if", "(", "cfun", "->", "va_list_gpr_size", ")", "gr_saved", "=", "MIN", "(", "NUM_ARG_REGS", "-", "local_cum", ".", "aapcs_ncrn", ",", "cfun", "->", "va_list_gpr_size", "/", "UNITS_PER_WORD", ")", ";", "if", "(", "cfun", "->", "va_list_fpr_size", ")", "vr_saved", "=", "MIN", "(", "NUM_FP_ARG_REGS", "-", "local_cum", ".", "aapcs_nvrn", ",", "cfun", "->", "va_list_fpr_size", "/", "UNITS_PER_VREG", ")", ";", "if", "(", "!", "TARGET_FLOAT", ")", "{", "gcc_assert", "(", "local_cum", ".", "aapcs_nvrn", "==", "0", ")", ";", "vr_saved", "=", "0", ";", "}", "if", "(", "!", "no_rtl", ")", "{", "if", "(", "gr_saved", ">", "0", ")", "{", "rtx", "ptr", ",", "mem", ";", "ptr", "=", "plus_constant", "(", "Pmode", ",", "virtual_incoming_args_rtx", ",", "-", "gr_saved", "*", "UNITS_PER_WORD", ")", ";", "mem", "=", "gen_frame_mem", "(", "BLKmode", ",", "ptr", ")", ";", "set_mem_alias_set", "(", "mem", ",", "get_varargs_alias_set", "(", ")", ")", ";", "move_block_from_reg", "(", "local_cum", ".", "aapcs_ncrn", "+", "R0_REGNUM", ",", "mem", ",", "gr_saved", ")", ";", "}", "if", "(", "vr_saved", ">", "0", ")", "{", "machine_mode", "mode", "=", "TImode", ";", "int", "off", ",", "i", ",", "vr_start", ";", "off", "=", "-", "ROUND_UP", "(", "gr_saved", "*", "UNITS_PER_WORD", ",", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ")", ";", "off", "-=", "vr_saved", "*", "UNITS_PER_VREG", ";", "vr_start", "=", "V0_REGNUM", "+", "local_cum", ".", "aapcs_nvrn", ";", "for", "(", "i", "=", "0", ";", "i", "<", "vr_saved", ";", "++", "i", ")", "{", "rtx", "ptr", ",", "mem", ";", "ptr", "=", "plus_constant", "(", "Pmode", ",", "virtual_incoming_args_rtx", ",", "off", ")", ";", "mem", "=", "gen_frame_mem", "(", "mode", ",", "ptr", ")", ";", "set_mem_alias_set", "(", "mem", ",", "get_varargs_alias_set", "(", ")", ")", ";", "aarch64_emit_move", "(", "mem", ",", "gen_rtx_REG", "(", "mode", ",", "vr_start", "+", "i", ")", ")", ";", "off", "+=", "UNITS_PER_VREG", ";", "}", "}", "}", "cfun", "->", "machine", "->", "frame", ".", "saved_varargs_size", "=", "(", "ROUND_UP", "(", "gr_saved", "*", "UNITS_PER_WORD", ",", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ")", "+", "vr_saved", "*", "UNITS_PER_VREG", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["aarch64", "0", "0", "0", "0", "0"], "File": "aarch64", "Func": "aarch64_setup_incoming_varargs", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15355, "Length": 335, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "AArch64FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "AArch64InstrInfo", "*", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "unsigned", "Opc", "=", "I", "->", "getOpcode", "(", ")", ";", "bool", "IsDestroy", "=", "Opc", "==", "TII", "->", "getCallFrameDestroyOpcode", "(", ")", ";", "uint64_t", "CalleePopAmount", "=", "IsDestroy", "?", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ":", "0", ";", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "unsigned", "Align", "=", "getStackAlignment", "(", ")", ";", "int64_t", "Amount", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "Amount", "=", "alignTo", "(", "Amount", ",", "Align", ")", ";", "if", "(", "!", "IsDestroy", ")", "Amount", "=", "-", "Amount", ";", "if", "(", "CalleePopAmount", "==", "0", ")", "{", "assert", "(", "Amount", ">", "-", "0xffffff", "&&", "Amount", "<", "0xffffff", "&&", "\"call frame too large\"", ")", ";", "emitFrameOffset", "(", "MBB", ",", "I", ",", "DL", ",", "AArch64", "::", "SP", ",", "AArch64", "::", "SP", ",", "Amount", ",", "TII", ")", ";", "}", "}", "else", "if", "(", "CalleePopAmount", "!=", "0", ")", "{", "assert", "(", "CalleePopAmount", "<", "0xffffff", "&&", "\"call frame too large\"", ")", ";", "emitFrameOffset", "(", "MBB", ",", "I", ",", "DL", ",", "AArch64", "::", "SP", ",", "AArch64", "::", "SP", ",", "-", "CalleePopAmount", ",", "TII", ")", ";", "}", "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": ["AArch64", "AArch64", "AArch64", "AArch64", "1", "0", "0", "0", "0xffffff", "0xffffff", "\"call frame too large\"", "AArch64::SP", "AArch64::SP", "0", "0xffffff", "\"call frame too large\"", "AArch64::SP", "AArch64::SP"], "File": "AArch64FrameLowering37", "Func": "eliminateCallFramePseudoInstr", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15356, "Length": 234, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "section", "*", "rx_select_rtx_section", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "unsigned", "HOST_WIDE_INT", "align", ")", "{", "if", "(", "rx_small_data_limit", ">", "0", "&&", "GET_MODE_SIZE", "(", "mode", ")", "<=", "rx_small_data_limit", "&&", "align", "<=", "(", "unsigned", "HOST_WIDE_INT", ")", "rx_small_data_limit", "*", "BITS_PER_UNIT", ")", "return", "sdata_section", ";", "return", "default_elf_select_rtx_section", "(", "mode", ",", "x", ",", "align", ")", ";", "}", ""], "natrual_language": ["Return", "a", "section", "for", "X", ".", "The", "only", "special", "thing", "we", "do", "here", "is", "to", "honor", "small", "data", "."], "TS_V_token": ["rx", "0"], "File": "rx", "Func": "rx_select_rtx_section", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15357, "Length": 53, "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": 15358, "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", "::", "SHL", ":", "return", "performSHLCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SUB", ":", "return", "performSUBCombine", "(", "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::SHL", "ISD::SUB"], "File": "MipsISelLowering (2)4", "Func": "PerformDAGCombine", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15359, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "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": ["ia64", "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": "ia648", "Func": "fix_range", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15360, "Length": 242, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "SystemZSelectionDAGInfo", "::", "EmitTargetCodeForStrcmp", "(", "SelectionDAG", "&", "DAG", ",", "SDLoc", "DL", ",", "SDValue", "Chain", ",", "SDValue", "Src1", ",", "SDValue", "Src2", ",", "MachinePointerInfo", "Op1PtrInfo", ",", "MachinePointerInfo", "Op2PtrInfo", ")", "const", "{", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "Src1", ".", "getValueType", "(", ")", ",", "MVT", "::", "Other", ",", "MVT", "::", "Glue", ")", ";", "SDValue", "Unused", "=", "DAG", ".", "getNode", "(", "SystemZISD", "::", "STRCMP", ",", "DL", ",", "VTs", ",", "Chain", ",", "Src1", ",", "Src2", ",", "DAG", ".", "getConstant", "(", "0", ",", "MVT", "::", "i32", ")", ")", ";", "Chain", "=", "Unused", ".", "getValue", "(", "1", ")", ";", "SDValue", "Glue", "=", "Chain", ".", "getValue", "(", "2", ")", ";", "return", "std", "::", "make_pair", "(", "addIPMSequence", "(", "DL", ",", "Glue", ",", "DAG", ")", ",", "Chain", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "strcmp", ",", "in", "cases", "where", "that", "is", "faster", "than", "a", "libcall", "."], "TS_V_token": ["SystemZ", "SystemZ", "MVT::Other", "MVT::Glue", "SystemZISD::STRCMP", "0", "MVT::i32", "1", "2"], "File": "SystemZSelectionDAGInfo1", "Func": "EmitTargetCodeForStrcmp", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15361, "Length": 128, "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", "(", "t0", ",", "x", ")", ")", ";", "x", "=", "gen_rtx_NOT", "(", "vmode", ",", "tc", ")", ";", "x", "=", "gen_rtx_AND", "(", "vmode", ",", "x", ",", "(", "min_p", "?", "op0", ":", "op1", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "t1", ",", "x", ")", ")", ";", "x", "=", "gen_rtx_IOR", "(", "vmode", ",", "t0", ",", "t1", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "target", ",", "x", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "vector", "minimum/maximum", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_expand_vec_minmax", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15362, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "fp_const_from_val", "(", "REAL_VALUE_TYPE", "*", "r", ")", "{", "int", "i", ";", "if", "(", "!", "fp_consts_inited", ")", "init_fp_table", "(", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "8", ";", "i", "++", ")", "if", "(", "REAL_VALUES_EQUAL", "(", "*", "r", ",", "values_fp", "[", "i", "]", ")", ")", "return", "strings_fp", "[", "i", "]", ";", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["As", "for", "fp_immediate_constant", ",", "but", "value", "is", "passed", "directly", ",", "not", "in", "rtx", "."], "TS_V_token": ["arm", "0", "8"], "File": "arm3", "Func": "fp_const_from_val", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15363, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "DCPU16RegisterInfo", "::", "getCallPreservedMask", "(", "CallingConv", "::", "ID", "CallConv", ")", "const", "{", "switch", "(", "CallConv", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unsupported calling convention\"", ")", ";", "case", "CallingConv", "::", "C", ":", "case", "CallingConv", "::", "Fast", ":", "return", "CSR_DCPU16_RegMask", ";", "}", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["Dcpu16", "DCPU16", "\"Unsupported calling convention\"", "DCPU16"], "File": "Dcpu16RegisterInfo", "Func": "getCallPreservedMask", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15364, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetELFStreamer", "::", "finish", "(", ")", "{", "MCAssembler", "&", "MCA", "=", "getStreamer", "(", ")", ".", "getAssembler", "(", ")", ";", "MCContext", "&", "Context", "=", "MCA", ".", "getContext", "(", ")", ";", "MCStreamer", "&", "OS", "=", "getStreamer", "(", ")", ";", "const", "MCObjectFileInfo", "&", "OFI", "=", "*", "Context", ".", "getObjectFileInfo", "(", ")", ";", "Triple", "T", "(", "STI", ".", "getTargetTriple", "(", ")", ")", ";", "uint64_t", "Features", "=", "STI", ".", "getFeatureBits", "(", ")", ";", "MCSectionData", "&", "TextSectionData", "=", "MCA", ".", "getOrCreateSectionData", "(", "*", "OFI", ".", "getTextSection", "(", ")", ")", ";", "MCSectionData", "&", "DataSectionData", "=", "MCA", ".", "getOrCreateSectionData", "(", "*", "OFI", ".", "getDataSection", "(", ")", ")", ";", "MCSectionData", "&", "BSSSectionData", "=", "MCA", ".", "getOrCreateSectionData", "(", "*", "OFI", ".", "getBSSSection", "(", ")", ")", ";", "TextSectionData", ".", "setAlignment", "(", "std", "::", "max", "(", "16u", ",", "TextSectionData", ".", "getAlignment", "(", ")", ")", ")", ";", "DataSectionData", ".", "setAlignment", "(", "std", "::", "max", "(", "16u", ",", "DataSectionData", ".", "getAlignment", "(", ")", ")", ")", ";", "BSSSectionData", ".", "setAlignment", "(", "std", "::", "max", "(", "16u", ",", "BSSSectionData", ".", "getAlignment", "(", ")", ")", ")", ";", "if", "(", "T", ".", "isArch64Bit", "(", ")", "&&", "(", "Features", "&", "Mips", "::", "FeatureN64", ")", ")", "{", "const", "MCSectionELF", "*", "Sec", "=", "Context", ".", "getELFSection", "(", "\".MIPS.options\"", ",", "ELF", "::", "SHT_MIPS_OPTIONS", ",", "ELF", "::", "SHF_ALLOC", "|", "ELF", "::", "SHF_MIPS_NOSTRIP", ",", "SectionKind", "::", "getMetadata", "(", ")", ",", "1", ",", "\"\"", ")", ";", "MCA", ".", "getOrCreateSectionData", "(", "*", "Sec", ")", ".", "setAlignment", "(", "8", ")", ";", "OS", ".", "SwitchSection", "(", "Sec", ")", ";", "OS", ".", "EmitIntValue", "(", "1", ",", "1", ")", ";", "OS", ".", "EmitIntValue", "(", "40", ",", "1", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "2", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "8", ")", ";", "}", "else", "{", "const", "MCSectionELF", "*", "Sec", "=", "Context", ".", "getELFSection", "(", "\".reginfo\"", ",", "ELF", "::", "SHT_MIPS_REGINFO", ",", "ELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getMetadata", "(", ")", ",", "24", ",", "\"\"", ")", ";", "MCA", ".", "getOrCreateSectionData", "(", "*", "Sec", ")", ".", "setAlignment", "(", "Features", "&", "Mips", "::", "FeatureN32", "?", "8", ":", "4", ")", ";", "OS", ".", "SwitchSection", "(", "Sec", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "}", "emitMipsAbiFlags", "(", ")", ";", "}", ""], "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": ["Mips", "Mips", "16u", "16u", "16u", "Mips::FeatureN64", "\".MIPS.options\"", "1", "\"\"", "8", "1", "1", "40", "1", "0", "2", "0", "4", "0", "4", "0", "4", "0", "4", "0", "4", "0", "4", "0", "4", "0", "8", "\".reginfo\"", "24", "\"\"", "Mips::FeatureN32", "8", "4", "0", "4", "0", "4", "0", "4", "0", "4", "0", "4", "0", "4", "Mips"], "File": "MipsTargetStreamer11", "Func": "finish", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15365, "Length": 461, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "X86InstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "getTargetMachine", "(", ")", ".", "getInstrInfo", "(", ")", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelDAGToDAG100", "Func": "getInstrInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15366, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64TargetStreamer", "::", "emitInst", "(", "uint32_t", "Inst", ")", "{", "char", "Buffer", "[", "4", "]", ";", "for", "(", "char", "&", "C", ":", "Buffer", ")", "{", "C", "=", "uint8_t", "(", "Inst", ")", ";", "Inst", ">>=", "8", ";", "}", "getStreamer", "(", ")", ".", "emitBytes", "(", "StringRef", "(", "Buffer", ",", "4", ")", ")", ";", "}", ""], "natrual_language": ["Callback", "used", "to", "implement", "the", ".inst", "directive", "."], "TS_V_token": ["AArch64", "AArch64", "4", "8", "4"], "File": "AArch64TargetStreamer8", "Func": "emitInst", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15367, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "override_options", "(", ")", "{", "if", "(", "pa_cpu_string", "&&", "!", "strcmp", "(", "pa_cpu_string", ",", "\"7100\"", ")", ")", "{", "pa_cpu_string", "=", "\"7100\"", ";", "pa_cpu", "=", "PROCESSOR_7100", ";", "}", "else", "if", "(", "pa_cpu_string", "&&", "!", "strcmp", "(", "pa_cpu_string", ",", "\"700\"", ")", ")", "{", "pa_cpu_string", "=", "\"700\"", ";", "pa_cpu", "=", "PROCESSOR_700", ";", "}", "else", "if", "(", "pa_cpu_string", "==", "NULL", "||", "!", "strcmp", "(", "pa_cpu_string", ",", "\"7100LC\"", ")", ")", "{", "pa_cpu_string", "=", "\"7100LC\"", ";", "pa_cpu", "=", "PROCESSOR_7100LC", ";", "}", "else", "if", "(", "pa_cpu_string", "&&", "!", "strcmp", "(", "pa_cpu_string", ",", "\"7200\"", ")", ")", "{", "pa_cpu_string", "=", "\"7200\"", ";", "pa_cpu", "=", "PROCESSOR_7200", ";", "}", "else", "if", "(", "pa_cpu_string", "&&", "!", "strcmp", "(", "pa_cpu_string", ",", "\"8000\"", ")", ")", "{", "pa_cpu_string", "=", "\"8000\"", ";", "pa_cpu", "=", "PROCESSOR_8000", ";", "}", "else", "{", "warning", "(", "\"unknown -mschedule= option (%s).\\nValid options are 700, 7100, 7100LC, 7200, and 8000\\n\"", ",", "pa_cpu_string", ")", ";", "}", "if", "(", "pa_arch_string", "&&", "!", "strcmp", "(", "pa_arch_string", ",", "\"1.0\"", ")", ")", "{", "pa_arch_string", "=", "\"1.0\"", ";", "pa_arch", "=", "ARCHITECTURE_10", ";", "target_flags", "&=", "~", "(", "MASK_PA_11", "|", "MASK_PA_20", ")", ";", "}", "else", "if", "(", "pa_arch_string", "&&", "!", "strcmp", "(", "pa_arch_string", ",", "\"1.1\"", ")", ")", "{", "pa_arch_string", "=", "\"1.1\"", ";", "pa_arch", "=", "ARCHITECTURE_11", ";", "target_flags", "&=", "~", "MASK_PA_20", ";", "target_flags", "|=", "MASK_PA_11", ";", "}", "else", "if", "(", "pa_arch_string", "&&", "!", "strcmp", "(", "pa_arch_string", ",", "\"2.0\"", ")", ")", "{", "pa_arch_string", "=", "\"2.0\"", ";", "pa_arch", "=", "ARCHITECTURE_20", ";", "target_flags", "|=", "MASK_PA_11", "|", "MASK_PA_20", ";", "}", "else", "if", "(", "pa_arch_string", ")", "{", "warning", "(", "\"unknown -march= option (%s).\\nValid options are 1.0, 1.1, and 2.0\\n\"", ",", "pa_arch_string", ")", ";", "}", "if", "(", "flag_pic", "&&", "TARGET_PORTABLE_RUNTIME", ")", "{", "warning", "(", "\"PIC code generation is not supported in the portable runtime model\\n\"", ")", ";", "}", "if", "(", "flag_pic", "&&", "TARGET_FAST_INDIRECT_CALLS", ")", "{", "warning", "(", "\"PIC code generation is not compatible with fast indirect calls\\n\"", ")", ";", "}", "if", "(", "!", "TARGET_GAS", "&&", "write_symbols", "!=", "NO_DEBUG", ")", "{", "warning", "(", "\"-g is only supported when using GAS on this processor,\"", ")", ";", "warning", "(", "\"-g option disabled\"", ")", ";", "write_symbols", "=", "NO_DEBUG", ";", "}", "if", "(", "flag_pic", "==", "1", "||", "TARGET_64BIT", ")", "flag_pic", "=", "2", ";", "if", "(", "UNITS_PER_WORD", "==", "4", ")", "targetm", ".", "asm_out", ".", "aligned_op", ".", "di", "=", "NULL", ";", "if", "(", "!", "TARGET_GAS", ")", "{", "targetm", ".", "asm_out", ".", "unaligned_op", ".", "hi", "=", "NULL", ";", "targetm", ".", "asm_out", ".", "unaligned_op", ".", "si", "=", "NULL", ";", "targetm", ".", "asm_out", ".", "unaligned_op", ".", "di", "=", "NULL", ";", "}", "pa_add_gc_roots", "(", ")", ";", "}", ""], "natrual_language": ["Set", "global", "variables", "as", "needed", "for", "the", "options", "enabled", "."], "TS_V_token": ["pa", "\"7100\"", "\"7100\"", "\"700\"", "\"700\"", "\"7100LC\"", "\"7100LC\"", "\"7200\"", "\"7200\"", "\"8000\"", "\"8000\"", "\"unknown -mschedule= option (%s).\\nValid options are 700, 7100, 7100LC, 7200, and 8000\\n\"", "\"1.0\"", "\"1.0\"", "\"1.1\"", "\"1.1\"", "\"2.0\"", "\"2.0\"", "\"unknown -march= option (%s).\\nValid options are 1.0, 1.1, and 2.0\\n\"", "\"PIC code generation is not supported in the portable runtime model\\n\"", "\"PIC code generation is not compatible with fast indirect calls\\n\"", "\"-g is only supported when using GAS on this processor,\"", "\"-g option disabled\"", "1", "2", "4"], "File": "pa2", "Func": "override_options", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15368, "Length": 358, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "emitSPUpdate", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "int64_t", "NumBytes", ",", "bool", "InEpilogue", ")", "const", "{", "bool", "isSub", "=", "NumBytes", "<", "0", ";", "uint64_t", "Offset", "=", "isSub", "?", "-", "NumBytes", ":", "NumBytes", ";", "uint64_t", "Chunk", "=", "(", "1LL", "<<", "31", ")", "-", "1", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MBBI", ")", ";", "while", "(", "Offset", ")", "{", "if", "(", "Offset", ">", "Chunk", ")", "{", "unsigned", "Reg", "=", "0", ";", "if", "(", "isSub", "&&", "!", "isEAXLiveIn", "(", "*", "MBB", ".", "getParent", "(", ")", ")", ")", "Reg", "=", "(", "unsigned", ")", "(", "Is64Bit", "?", "X86", "::", "RAX", ":", "X86", "::", "EAX", ")", ";", "else", "Reg", "=", "findDeadCallerSavedReg", "(", "MBB", ",", "MBBI", ",", "TRI", ",", "Is64Bit", ")", ";", "if", "(", "Reg", ")", "{", "unsigned", "Opc", "=", "Is64Bit", "?", "X86", "::", "MOV64ri", ":", "X86", "::", "MOV32ri", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "Reg", ")", ".", "addImm", "(", "Offset", ")", ";", "Opc", "=", "isSub", "?", "getSUBrrOpcode", "(", "Is64Bit", ")", ":", "getADDrrOpcode", "(", "Is64Bit", ")", ";", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addReg", "(", "Reg", ")", ";", "MI", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "Offset", "=", "0", ";", "continue", ";", "}", "}", "uint64_t", "ThisVal", "=", "std", "::", "min", "(", "Offset", ",", "Chunk", ")", ";", "if", "(", "ThisVal", "==", "(", "Is64Bit", "?", "8", ":", "4", ")", ")", "{", "unsigned", "Reg", "=", "isSub", "?", "(", "unsigned", ")", "(", "Is64Bit", "?", "X86", "::", "RAX", ":", "X86", "::", "EAX", ")", ":", "findDeadCallerSavedReg", "(", "MBB", ",", "MBBI", ",", "TRI", ",", "Is64Bit", ")", ";", "if", "(", "Reg", ")", "{", "unsigned", "Opc", "=", "isSub", "?", "(", "Is64Bit", "?", "X86", "::", "PUSH64r", ":", "X86", "::", "PUSH32r", ")", ":", "(", "Is64Bit", "?", "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", ";", "}", "}", "MachineInstrBuilder", "MI", "=", "BuildStackAdjustment", "(", "MBB", ",", "MBBI", ",", "DL", ",", "isSub", "?", "-", "ThisVal", ":", "ThisVal", ",", "InEpilogue", ")", ";", "if", "(", "isSub", ")", "MI", ".", "setMIFlag", "(", "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", "X86", "0", "1LL", "31", "1", "0", "X86::RAX", "X86::EAX", "X86::MOV64ri", "X86::MOV32ri", "3", "0", "8", "4", "X86::RAX", "X86::EAX", "X86::PUSH64r", "X86::PUSH32r", "X86::POP64r", "X86::POP32r"], "File": "X86FrameLowering103", "Func": "emitSPUpdate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15369, "Length": 417, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "setupMF", "(", "MachineFunction", "&", "MF", ",", "GISelKnownBits", "*", "KB", ",", "CodeGenCoverage", "&", "CoverageInfo", ",", "ProfileSummaryInfo", "*", "PSI", ",", "BlockFrequencyInfo", "*", "BFI", ")", "override", "{", "InstructionSelector", "::", "setupMF", "(", "MF", ",", "KB", ",", "CoverageInfo", ",", "PSI", ",", "BFI", ")", ";", "MIB", ".", "setMF", "(", "MF", ")", ";", "ProduceNonFlagSettingCondBr", "=", "!", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "SpeculativeLoadHardening", ")", ";", "MFReturnAddr", "=", "Register", "(", ")", ";", "processPHIs", "(", "MF", ")", ";", "}", ""], "natrual_language": ["Setup", "per-MF", "executor", "state", "."], "TS_V_token": ["AArch64"], "File": "AArch64InstructionSelector (2)", "Func": "setupMF", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15370, "Length": 75, "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", "::", "And", ":", "case", "Instruction", "::", "Or", ":", "case", "Instruction", "::", "Xor", ":", "return", "selectLogicalOp", "(", "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": "MipsFastISel12", "Func": "fastSelectInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15371, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "machine_function", "*", "arm_init_machine_status", "(", "void", ")", "{", "struct", "machine_function", "*", "machine", ";", "machine", "=", "ggc_cleared_alloc", "<", "machine_function", ">", "(", ")", ";", "machine", "->", "func_type", "=", "ARM_FT_UNKNOWN", ";", "machine", "->", "static_chain_stack_bytes", "=", "-", "1", ";", "machine", "->", "pacspval_needed", "=", "0", ";", "return", "machine", ";", "}", ""], "natrual_language": ["Functions", "to", "save", "and", "restore", "machine-specific", "function", "data", "."], "TS_V_token": ["arm", "1", "0"], "File": "arm1", "Func": "arm_init_machine_status", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15372, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "X86TargetLowering", "::", "getRecipEstimate", "(", "SDValue", "Op", ",", "DAGCombinerInfo", "&", "DCI", ",", "unsigned", "&", "RefinementSteps", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "useReciprocalEst", "(", ")", ")", "return", "SDValue", "(", ")", ";", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "if", "(", "(", "Subtarget", "->", "hasSSE1", "(", ")", "&&", "(", "VT", "==", "MVT", "::", "f32", "||", "VT", "==", "MVT", "::", "v4f32", ")", ")", "||", "(", "Subtarget", "->", "hasAVX", "(", ")", "&&", "VT", "==", "MVT", "::", "v8f32", ")", ")", "{", "RefinementSteps", "=", "ReciprocalEstimateRefinementSteps", ";", "return", "DCI", ".", "DAG", ".", "getNode", "(", "X86ISD", "::", "FRCP", ",", "SDLoc", "(", "Op", ")", ",", "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", "X86ISD::FRCP"], "File": "X86ISelLowering (2)4", "Func": "getRecipEstimate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15373, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mem_min_alignment", "(", "rtx", "mem", ",", "int", "desired", ")", "{", "rtx", "addr", ",", "base", ",", "offset", ";", "if", "(", "GET_CODE", "(", "mem", ")", "!=", "MEM", ")", "return", "0", ";", "if", "(", "!", "TARGET_UNALIGNED_DOUBLES", "&&", "MEM_ALIGN", "(", "mem", ")", "/", "BITS_PER_UNIT", ">=", "(", "unsigned", ")", "desired", ")", "return", "1", ";", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "base", "=", "offset", "=", "NULL_RTX", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", ")", "{", "if", "(", "GET_CODE", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "==", "REG", ")", "{", "base", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "addr", ",", "1", ")", ")", "==", "CONST_INT", ")", "offset", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "else", "offset", "=", "const0_rtx", ";", "}", "}", "else", "if", "(", "GET_CODE", "(", "addr", ")", "==", "REG", ")", "{", "base", "=", "addr", ";", "offset", "=", "const0_rtx", ";", "}", "if", "(", "base", "!=", "NULL_RTX", ")", "{", "int", "regno", "=", "REGNO", "(", "base", ")", ";", "if", "(", "regno", "!=", "HARD_FRAME_POINTER_REGNUM", "&&", "regno", "!=", "STACK_POINTER_REGNUM", ")", "{", "if", "(", "(", "(", "cfun", "!=", "0", "&&", "REGNO_POINTER_ALIGN", "(", "regno", ")", ">=", "desired", "*", "BITS_PER_UNIT", ")", "||", "(", "optimize", "&&", "reload_completed", ")", ")", "&&", "(", "INTVAL", "(", "offset", ")", "&", "(", "desired", "-", "1", ")", ")", "==", "0", ")", "return", "1", ";", "}", "else", "{", "if", "(", "(", "(", "INTVAL", "(", "offset", ")", "-", "SPARC_STACK_BIAS", ")", "&", "(", "desired", "-", "1", ")", ")", "==", "0", ")", "return", "1", ";", "}", "}", "else", "if", "(", "!", "TARGET_UNALIGNED_DOUBLES", "||", "CONSTANT_P", "(", "addr", ")", "||", "GET_CODE", "(", "addr", ")", "==", "LO_SUM", ")", "{", "return", "1", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "1", "if", "RTX", "is", "a", "MEM", "which", "is", "known", "to", "be", "aligned", "to", "at", "least", "a", "DESIRED", "byte", "boundary", "."], "TS_V_token": ["sparc", "0", "1", "0", "0", "0", "1", "1", "0", "1", "0", "1", "1", "0", "1", "1", "0"], "File": "sparc", "Func": "mem_min_alignment", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15374, "Length": 273, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "toc_hasher", "::", "equal", "(", "toc_hash_struct", "*", "h1", ",", "toc_hash_struct", "*", "h2", ")", "{", "rtx", "r1", "=", "h1", "->", "key", ";", "rtx", "r2", "=", "h2", "->", "key", ";", "if", "(", "h1", "->", "key_mode", "!=", "h2", "->", "key_mode", ")", "return", "0", ";", "return", "rtx_equal_p", "(", "r1", ",", "r2", ")", ";", "}", ""], "natrual_language": ["Compare", "H1", "and", "H2", "for", "equivalence", "."], "TS_V_token": ["powerpcspe", "0"], "File": "powerpcspe", "Func": "equal", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15375, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "build_sv_uint_offset", "(", "function_builder", "&", "b", ",", "const", "char", "*", "signature", ",", "const", "function_group_info", "&", "group", ")", "{", "build_32_64", "(", "b", ",", "signature", ",", "group", ",", "MODE_none", ",", "MODE_s64offset", ")", ";", "build_32_64", "(", "b", ",", "signature", ",", "group", ",", "MODE_u32offset", ",", "MODE_u64offset", ")", ";", "}", ""], "natrual_language": ["Like", "build_sv_offset", ",", "but", "exclude", "offsets", "that", "must", "be", "interpreted", "as", "signed", "(", "i.e", ".", "s32offset", ")", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins-shapes", "Func": "build_sv_uint_offset", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15376, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_init_dwarf_reg_sizes_extra", "(", "tree", "address", ")", "{", "if", "(", "TARGET_SPE", ")", "{", "int", "i", ";", "machine_mode", "mode", "=", "TYPE_MODE", "(", "char_type_node", ")", ";", "rtx", "addr", "=", "expand_expr", "(", "address", ",", "NULL_RTX", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "rtx", "mem", "=", "gen_rtx_MEM", "(", "BLKmode", ",", "addr", ")", ";", "rtx", "value", "=", "gen_int_mode", "(", "4", ",", "mode", ")", ";", "for", "(", "i", "=", "FIRST_SPE_HIGH_REGNO", ";", "i", "<", "LAST_SPE_HIGH_REGNO", "+", "1", ";", "i", "++", ")", "{", "int", "column", "=", "DWARF_REG_TO_UNWIND_COLUMN", "(", "DWARF2_FRAME_REG_OUT", "(", "DWARF_FRAME_REGNUM", "(", "i", ")", ",", "true", ")", ")", ";", "HOST_WIDE_INT", "offset", "=", "column", "*", "GET_MODE_SIZE", "(", "mode", ")", ";", "emit_move_insn", "(", "adjust_address", "(", "mem", ",", "mode", ",", "offset", ")", ",", "value", ")", ";", "}", "}", "if", "(", "TARGET_MACHO", "&&", "!", "TARGET_ALTIVEC", ")", "{", "int", "i", ";", "machine_mode", "mode", "=", "TYPE_MODE", "(", "char_type_node", ")", ";", "rtx", "addr", "=", "expand_expr", "(", "address", ",", "NULL_RTX", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "rtx", "mem", "=", "gen_rtx_MEM", "(", "BLKmode", ",", "addr", ")", ";", "rtx", "value", "=", "gen_int_mode", "(", "16", ",", "mode", ")", ";", "for", "(", "i", "=", "FIRST_ALTIVEC_REGNO", ";", "i", "<", "LAST_ALTIVEC_REGNO", "+", "1", ";", "i", "++", ")", "{", "int", "column", "=", "DWARF_REG_TO_UNWIND_COLUMN", "(", "DWARF2_FRAME_REG_OUT", "(", "DWARF_FRAME_REGNUM", "(", "i", ")", ",", "true", ")", ")", ";", "HOST_WIDE_INT", "offset", "=", "column", "*", "GET_MODE_SIZE", "(", "mode", ")", ";", "emit_move_insn", "(", "adjust_address", "(", "mem", ",", "mode", ",", "offset", ")", ",", "value", ")", ";", "}", "}", "}", ""], "natrual_language": ["Fill", "in", "sizes", "of", "registers", "used", "by", "unwinder", "."], "TS_V_token": ["powerpcspe", "4", "1", "16", "1"], "File": "powerpcspe", "Func": "rs6000_init_dwarf_reg_sizes_extra", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15377, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "shl_sext_length", "(", "rtx", "insn", ")", "{", "rtx", "set_src", ",", "left_rtx", ",", "size_rtx", ";", "int", "cost", ";", "set_src", "=", "SET_SRC", "(", "XVECEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ",", "0", ")", ")", ";", "left_rtx", "=", "XEXP", "(", "XEXP", "(", "set_src", ",", "0", ")", ",", "1", ")", ";", "size_rtx", "=", "XEXP", "(", "set_src", ",", "1", ")", ";", "shl_sext_kind", "(", "left_rtx", ",", "size_rtx", ",", "&", "cost", ")", ";", "return", "cost", ";", "}", ""], "natrual_language": ["Function", "to", "be", "used", "in", "the", "length", "attribute", "of", "the", "instructions", "implementing", "this", "pattern", "."], "TS_V_token": ["sh", "0", "0", "0", "1", "1"], "File": "sh", "Func": "shl_sext_length", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15378, "Length": 71, "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": 15379, "Length": 366, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_jump_label_table", "(", ")", "{", "int", "i", ";", "if", "(", "pool_size", ")", "{", "fprintf", "(", "asm_out_file", ",", "\"\\t.align 2\\n\"", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "pool_size", ";", "i", "++", ")", "{", "pool_node", "*", "p", "=", "&", "pool_vector", "[", "i", "]", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "\"L\"", ",", "CODE_LABEL_NUMBER", "(", "p", "->", "label", ")", ")", ";", "output_asm_insn", "(", "\".long\t%O0\"", ",", "&", "p", "->", "value", ")", ";", "}", "pool_size", "=", "0", ";", "}", "return", "\"\"", ";", "}", ""], "natrual_language": ["Dump", "out", "any", "constants", "accumulated", "in", "the", "final", "pass", ".", "These", "will", "only", "be", "labels", "."], "TS_V_token": ["sh", "\"\\t.align 2\\n\"", "0", "\"L\"", "\".long\t%O0\"", "0", "\"\""], "File": "sh2", "Func": "output_jump_label_table", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15380, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "AArch64InstrInfo", "::", "insertOutlinedCall", "(", "Module", "&", "M", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "It", ",", "MachineFunction", "&", "MF", ",", "const", "outliner", "::", "TargetCostInfo", "&", "TCI", ")", "const", "{", "if", "(", "TCI", ".", "CallConstructionID", "==", "MachineOutlinerTailCall", ")", "{", "It", "=", "MBB", ".", "insert", "(", "It", ",", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "TCRETURNdi", ")", ")", ".", "addGlobalAddress", "(", "M", ".", "getNamedValue", "(", "MF", ".", "getName", "(", ")", ")", ")", ".", "addImm", "(", "0", ")", ")", ";", "return", "It", ";", "}", "if", "(", "TCI", ".", "CallConstructionID", "==", "MachineOutlinerNoLRSave", "||", "TCI", ".", "CallConstructionID", "==", "MachineOutlinerThunk", ")", "{", "It", "=", "MBB", ".", "insert", "(", "It", ",", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "BL", ")", ")", ".", "addGlobalAddress", "(", "M", ".", "getNamedValue", "(", "MF", ".", "getName", "(", ")", ")", ")", ")", ";", "return", "It", ";", "}", "MachineBasicBlock", "::", "iterator", "CallPt", ";", "MachineInstr", "*", "STRXpre", "=", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "STRXpre", ")", ")", ".", "addReg", "(", "AArch64", "::", "SP", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "AArch64", "::", "LR", ")", ".", "addReg", "(", "AArch64", "::", "SP", ")", ".", "addImm", "(", "-", "16", ")", ";", "It", "=", "MBB", ".", "insert", "(", "It", ",", "STRXpre", ")", ";", "It", "++", ";", "It", "=", "MBB", ".", "insert", "(", "It", ",", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "BL", ")", ")", ".", "addGlobalAddress", "(", "M", ".", "getNamedValue", "(", "MF", ".", "getName", "(", ")", ")", ")", ")", ";", "CallPt", "=", "It", ";", "It", "++", ";", "MachineInstr", "*", "LDRXpost", "=", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "LDRXpost", ")", ")", ".", "addReg", "(", "AArch64", "::", "SP", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "AArch64", "::", "LR", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "AArch64", "::", "SP", ")", ".", "addImm", "(", "16", ")", ";", "It", "=", "MBB", ".", "insert", "(", "It", ",", "LDRXpost", ")", ";", "return", "CallPt", ";", "}", ""], "natrual_language": ["Insert", "a", "call", "to", "an", "outlined", "function", "into", "the", "program", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::TCRETURNdi", "0", "AArch64::BL", "AArch64::STRXpre", "AArch64::SP", "AArch64::LR", "AArch64::SP", "16", "AArch64::BL", "AArch64::LDRXpost", "AArch64::SP", "AArch64::LR", "AArch64::SP", "16"], "File": "AArch64InstrInfo81", "Func": "insertOutlinedCall", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15381, "Length": 334, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_output_addr_const_extra", "(", "FILE", "*", "file", ",", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", ")", "switch", "(", "XINT", "(", "x", ",", "1", ")", ")", "{", "case", "UNSPEC_TOCREL", ":", "gcc_checking_assert", "(", "SYMBOL_REF_P", "(", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", "&&", "REG_P", "(", "XVECEXP", "(", "x", ",", "0", ",", "1", ")", ")", "&&", "REGNO", "(", "XVECEXP", "(", "x", ",", "0", ",", "1", ")", ")", "==", "TOC_REGISTER", ")", ";", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "if", "(", "x", "==", "tocrel_base_oac", "&&", "tocrel_offset_oac", "!=", "const0_rtx", ")", "{", "if", "(", "INTVAL", "(", "tocrel_offset_oac", ")", ">=", "0", ")", "fprintf", "(", "file", ",", "\"+\"", ")", ";", "output_addr_const", "(", "file", ",", "CONST_CAST_RTX", "(", "tocrel_offset_oac", ")", ")", ";", "}", "if", "(", "!", "TARGET_AIX", "||", "(", "TARGET_ELF", "&&", "TARGET_MINIMAL_TOC", ")", ")", "{", "putc", "(", "'-'", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "toc_label_name", ")", ";", "need_toc_init", "=", "1", ";", "}", "else", "if", "(", "TARGET_ELF", ")", "fputs", "(", "\"@toc\"", ",", "file", ")", ";", "return", "true", ";", "case", "UNSPEC_MACHOPIC_OFFSET", ":", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "putc", "(", "'-'", ",", "file", ")", ";", "machopic_output_function_base_name", "(", "file", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA", "."], "TS_V_token": ["rs6000", "1", "0", "0", "0", "1", "0", "1", "0", "0", "0", "\"+\"", "1", "\"@toc\"", "0", "0"], "File": "rs60008", "Func": "rs6000_output_addr_const_extra", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15382, "Length": 210, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SICFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "assert", "(", "&", "MF", ".", "front", "(", ")", "==", "&", "MBB", "&&", "\"Shrink-wrapping not yet supported\"", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "SICFunctionInfo", "*", "SICFI", "=", "MF", ".", "getInfo", "<", "SICFunctionInfo", ">", "(", ")", ";", "const", "SICInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "SICInstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "const", "SICRegisterInfo", "&", "RegInfo", "=", "*", "static_cast", "<", "const", "SICRegisterInfo", "*", ">", "(", "STI", ".", "getRegisterInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "SICABIInfo", "ABI", "=", "STI", ".", "getABI", "(", ")", ";", "unsigned", "SP", "=", "SIC", "::", "X", ";", "const", "TargetRegisterClass", "*", "RC", "=", "&", "SIC", "::", "GPROutRegClass", ";", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "0", "&&", "!", "MFI", "->", "adjustsStack", "(", ")", ")", "return", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "MCRegisterInfo", "*", "MRI", "=", "MMI", ".", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MachineLocation", "DstML", ",", "SrcML", ";", "TII", ".", "adjustStackPtr", "(", "SP", ",", "-", "StackSize", ",", "MBB", ",", "MBBI", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["SIC", "SIC", "\"Shrink-wrapping not yet supported\"", "SIC", "SIC", "SIC", "SIC", "SIC", "SIC", "SIC", "SIC", "SIC::X", "SIC::GPROutRegClass", "0"], "File": "SICFrameLowering", "Func": "emitPrologue", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15383, "Length": 220, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_emit_isr_reset_content", "(", "void", ")", "{", "unsigned", "int", "i", ";", "unsigned", "int", "total_n_vectors", ";", "const", "char", "*", "vs_str", ";", "char", "reset_handler_name", "[", "100", "]", ";", "char", "section_name", "[", "100", "]", ";", "char", "symbol_name", "[", "100", "]", ";", "total_n_vectors", "=", "nds32_isr_vectors", "[", "0", "]", ".", "total_n_vectors", ";", "vs_str", "=", "(", "nds32_isr_vector_size", "==", "4", ")", "?", "\"_4b\"", ":", "\"\"", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t! RESET HANDLER CONTENT - BEGIN !\\n\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.section\\t.rodata\\n\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.align\\t2\\n\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t ! references to jmptbl section entries\\n\"", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "total_n_vectors", ";", "i", "++", ")", "fprintf", "(", "asm_out_file", ",", "\"\\t.word\\t_nds32_jmptbl_%02d\\n\"", ",", "i", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t ! references to vector section entries\\n\"", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "total_n_vectors", ";", "i", "++", ")", "fprintf", "(", "asm_out_file", ",", "\"\\t.word\\t_nds32_vector_%02d%s\\n\"", ",", "i", ",", "vs_str", ")", ";", "snprintf", "(", "section_name", ",", "sizeof", "(", "section_name", ")", ",", "\".nds32_jmptbl.00\"", ")", ";", "snprintf", "(", "symbol_name", ",", "sizeof", "(", "symbol_name", ")", ",", "\"_nds32_jmptbl_00\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t! ....................................\\n\"", ")", ";", "nds32_emit_section_head_template", "(", "section_name", ",", "symbol_name", ",", "2", ",", "true", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.word\\t%s\\n\"", ",", "nds32_isr_vectors", "[", "0", "]", ".", "func_name", ")", ";", "nds32_emit_section_tail_template", "(", "symbol_name", ")", ";", "snprintf", "(", "section_name", ",", "sizeof", "(", "section_name", ")", ",", "\".nds32_vector.00\"", ")", ";", "snprintf", "(", "symbol_name", ",", "sizeof", "(", "symbol_name", ")", ",", "\"_nds32_vector_00%s\"", ",", "vs_str", ")", ";", "snprintf", "(", "reset_handler_name", ",", "sizeof", "(", "reset_handler_name", ")", ",", "\"_nds32_reset%s\"", ",", "vs_str", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t! ....................................\\n\"", ")", ";", "nds32_emit_section_head_template", "(", "section_name", ",", "symbol_name", ",", "floor_log2", "(", "nds32_isr_vector_size", ")", ",", "false", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tj\\t%s ! jump to reset handler\\n\"", ",", "reset_handler_name", ")", ";", "nds32_emit_section_tail_template", "(", "symbol_name", ")", ";", "snprintf", "(", "section_name", ",", "sizeof", "(", "section_name", ")", ",", "\".nds32_nmih\"", ")", ";", "snprintf", "(", "symbol_name", ",", "sizeof", "(", "symbol_name", ")", ",", "\"_nds32_nmih\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t! ....................................\\n\"", ")", ";", "nds32_emit_section_head_template", "(", "section_name", ",", "symbol_name", ",", "2", ",", "true", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.word\\t%s\\n\"", ",", "(", "strlen", "(", "nds32_isr_vectors", "[", "0", "]", ".", "nmi_name", ")", "==", "0", ")", "?", "\"0\"", ":", "nds32_isr_vectors", "[", "0", "]", ".", "nmi_name", ")", ";", "nds32_emit_section_tail_template", "(", "symbol_name", ")", ";", "snprintf", "(", "section_name", ",", "sizeof", "(", "section_name", ")", ",", "\".nds32_wrh\"", ")", ";", "snprintf", "(", "symbol_name", ",", "sizeof", "(", "symbol_name", ")", ",", "\"_nds32_wrh\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t! ....................................\\n\"", ")", ";", "nds32_emit_section_head_template", "(", "section_name", ",", "symbol_name", ",", "2", ",", "true", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.word\\t%s\\n\"", ",", "(", "strlen", "(", "nds32_isr_vectors", "[", "0", "]", ".", "warm_name", ")", "==", "0", ")", "?", "\"0\"", ":", "nds32_isr_vectors", "[", "0", "]", ".", "warm_name", ")", ";", "nds32_emit_section_tail_template", "(", "symbol_name", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t! RESET HANDLER CONTENT - END !\\n\"", ")", ";", "}", ""], "natrual_language": ["Function", "to", "emit", "isr", "reset", "handler", "content", ".", "Including", "all", "jmptbl/vector", "references", ",", "jmptbl", "section", ",", "vector", "section", ",", "nmi", "handler", "section", ",", "and", "warm", "handler", "section", "."], "TS_V_token": ["nds32", "100", "100", "100", "0", "4", "\"_4b\"", "\"\"", "\"\\t! RESET HANDLER CONTENT - BEGIN !\\n\"", "\"\\t.section\\t.rodata\\n\"", "\"\\t.align\\t2\\n\"", "\"\\t ! references to jmptbl section entries\\n\"", "0", "\"\\t.word\\t_nds32_jmptbl_%02d\\n\"", "\"\\t ! references to vector section entries\\n\"", "0", "\"\\t.word\\t_nds32_vector_%02d%s\\n\"", "\".nds32_jmptbl.00\"", "\"_nds32_jmptbl_00\"", "\"\\t! ....................................\\n\"", "2", "\"\\t.word\\t%s\\n\"", "0", "\".nds32_vector.00\"", "\"_nds32_vector_00%s\"", "\"_nds32_reset%s\"", "\"\\t! ....................................\\n\"", "\"\\tj\\t%s ! jump to reset handler\\n\"", "\".nds32_nmih\"", "\"_nds32_nmih\"", "\"\\t! ....................................\\n\"", "2", "\"\\t.word\\t%s\\n\"", "0", "0", "\"0\"", "0", "\".nds32_wrh\"", "\"_nds32_wrh\"", "\"\\t! ....................................\\n\"", "2", "\"\\t.word\\t%s\\n\"", "0", "0", "\"0\"", "0", "\"\\t! RESET HANDLER CONTENT - END !\\n\""], "File": "nds32-isr2", "Func": "nds32_emit_isr_reset_content", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15384, "Length": 438, "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": 15385, "Length": 383, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMLoc", "getStartLoc", "(", ")", "const", "{", "return", "StartLoc", ";", "}", ""], "natrual_language": ["getStartLoc", "-", "Get", "the", "location", "of", "the", "first", "token", "of", "this", "operand", "."], "TS_V_token": ["FISC"], "File": "FISCAsmParser", "Func": "getStartLoc", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15386, "Length": 10, "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", ";", "bool", "isLoad", "=", "true", ";", "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", "(", ")", ";", "isLoad", "=", "false", ";", "}", "else", "return", "false", ";", "if", "(", "isLoad", "&&", "usePartialVectorLoads", "(", "N", ",", "Subtarget", ")", ")", "{", "return", "false", ";", "}", "if", "(", "VT", ".", "isVector", "(", ")", ")", "return", "false", ";", "if", "(", "SelectAddressRegReg", "(", "Ptr", ",", "Base", ",", "Offset", ",", "DAG", ")", ")", "{", "bool", "Swap", "=", "false", ";", "if", "(", "isa", "<", "FrameIndexSDNode", ">", "(", "Base", ")", "||", "isa", "<", "RegisterSDNode", ">", "(", "Base", ")", ")", "Swap", "=", "true", ";", "else", "if", "(", "!", "isLoad", ")", "{", "SDValue", "Val", "=", "cast", "<", "StoreSDNode", ">", "(", "N", ")", "->", "getValue", "(", ")", ";", "if", "(", "Val", "==", "Base", "||", "Base", ".", "getNode", "(", ")", "->", "isPredecessorOf", "(", "Val", ".", "getNode", "(", ")", ")", ")", "Swap", "=", "true", ";", "}", "if", "(", "Swap", ")", "std", "::", "swap", "(", "Base", ",", "Offset", ")", ";", "AM", "=", "ISD", "::", "PRE_INC", ";", "return", "true", ";", "}", "if", "(", "VT", "!=", "MVT", "::", "i64", ")", "{", "if", "(", "!", "SelectAddressRegImm", "(", "Ptr", ",", "Offset", ",", "Base", ",", "DAG", ",", "None", ")", ")", "return", "false", ";", "}", "else", "{", "if", "(", "Alignment", "<", "4", ")", "return", "false", ";", "if", "(", "!", "SelectAddressRegImm", "(", "Ptr", ",", "Offset", ",", "Base", ",", "DAG", ",", "Align", "(", "4", ")", ")", ")", "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", "4", "0", "MVT::i64", "MVT::i32", "ISD::SEXTLOAD", "ISD::PRE_INC"], "File": "PPCISelLowering100", "Func": "getPreIndexedAddressParts", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15387, "Length": 411, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "PPCRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AnyReg", ")", "{", "if", "(", "!", "TM", ".", "isPPC64", "(", ")", "&&", "Subtarget", ".", "isAIXABI", "(", ")", ")", "report_fatal_error", "(", "\"AnyReg unimplemented on 32-bit AIX.\"", ")", ";", "if", "(", "Subtarget", ".", "hasVSX", "(", ")", ")", "return", "CSR_64_AllRegs_VSX_SaveList", ";", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "CSR_64_AllRegs_Altivec_SaveList", ";", "return", "CSR_64_AllRegs_SaveList", ";", "}", "bool", "SaveR2", "=", "MF", "->", "getRegInfo", "(", ")", ".", "isAllocatable", "(", "PPC", "::", "X2", ")", "&&", "!", "Subtarget", ".", "isUsingPCRelativeCalls", "(", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "Cold", ")", "{", "if", "(", "Subtarget", ".", "isAIXABI", "(", ")", ")", "report_fatal_error", "(", "\"Cold calling unimplemented on AIX.\"", ")", ";", "if", "(", "TM", ".", "isPPC64", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "SaveR2", "?", "CSR_SVR64_ColdCC_R2_Altivec_SaveList", ":", "CSR_SVR64_ColdCC_Altivec_SaveList", ";", "return", "SaveR2", "?", "CSR_SVR64_ColdCC_R2_SaveList", ":", "CSR_SVR64_ColdCC_SaveList", ";", "}", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "CSR_SVR32_ColdCC_Altivec_SaveList", ";", "else", "if", "(", "Subtarget", ".", "hasSPE", "(", ")", ")", "return", "CSR_SVR32_ColdCC_SPE_SaveList", ";", "return", "CSR_SVR32_ColdCC_SaveList", ";", "}", "if", "(", "TM", ".", "isPPC64", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "SaveR2", "?", "CSR_PPC64_R2_Altivec_SaveList", ":", "CSR_PPC64_Altivec_SaveList", ";", "return", "SaveR2", "?", "CSR_PPC64_R2_SaveList", ":", "CSR_PPC64_SaveList", ";", "}", "if", "(", "Subtarget", ".", "isAIXABI", "(", ")", ")", "return", "CSR_AIX32_SaveList", ";", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "CSR_SVR432_Altivec_SaveList", ";", "else", "if", "(", "Subtarget", ".", "hasSPE", "(", ")", ")", "return", "CSR_SVR432_SPE_SaveList", ";", "return", "CSR_SVR432_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "\"AnyReg unimplemented on 32-bit AIX.\"", "PPC::X2", "\"Cold calling unimplemented on AIX.\"", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC"], "File": "PPCRegisterInfo3", "Func": "getCalleeSavedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15388, "Length": 273, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_option_print", "(", "FILE", "*", "file", ",", "int", "indent", ",", "struct", "cl_target_option", "*", "ptr", ")", "{", "const", "struct", "processor", "*", "cpu", "=", "aarch64_get_tune_cpu", "(", "ptr", "->", "x_explicit_tune_core", ")", ";", "uint64_t", "isa_flags", "=", "ptr", "->", "x_aarch64_isa_flags", ";", "const", "struct", "processor", "*", "arch", "=", "aarch64_get_arch", "(", "ptr", "->", "x_explicit_arch", ")", ";", "std", "::", "string", "extension", "=", "aarch64_get_extension_string_for_isa_flags", "(", "isa_flags", ",", "arch", "->", "flags", ")", ";", "fprintf", "(", "file", ",", "\"%*sselected tune = %s\\n\"", ",", "indent", ",", "\"\"", ",", "cpu", "->", "name", ")", ";", "fprintf", "(", "file", ",", "\"%*sselected arch = %s%s\\n\"", ",", "indent", ",", "\"\"", ",", "arch", "->", "name", ",", "extension", ".", "c_str", "(", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_PRINT", "."], "TS_V_token": ["aarch64", "\"%*sselected tune = %s\\n\"", "\"\"", "\"%*sselected arch = %s%s\\n\"", "\"\""], "File": "aarch64", "Func": "aarch64_option_print", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15389, "Length": 101, "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": 15390, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "ARMTargetLowering", "::", "shouldExpandAtomicLoadInIR", "(", "LoadInst", "*", "LI", ")", "const", "{", "unsigned", "Size", "=", "LI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "return", "(", "(", "Size", "==", "64", ")", "&&", "!", "Subtarget", "->", "isMClass", "(", ")", ")", "?", "AtomicExpansionKind", "::", "LLSC", ":", "AtomicExpansionKind", "::", "None", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "(", "atomic", ")", "load", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "."], "TS_V_token": ["ARM", "ARM", "64"], "File": "ARMISelLowering", "Func": "shouldExpandAtomicLoadInIR", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15391, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Mips Long Branch\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"Mips Long Branch\""], "File": "MipsLongBranch10", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15392, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "dimode_scalar_chain", "::", "convert_registers", "(", ")", "{", "bitmap_iterator", "bi", ";", "unsigned", "id", ";", "EXECUTE_IF_SET_IN_BITMAP", "(", "defs", ",", "0", ",", "id", ",", "bi", ")", "convert_reg", "(", "id", ")", ";", "EXECUTE_IF_AND_COMPL_IN_BITMAP", "(", "defs_conv", ",", "defs", ",", "0", ",", "id", ",", "bi", ")", "make_vector_copies", "(", "id", ")", ";", "}", ""], "natrual_language": ["Generate", "copies", "from", "defs", "used", "by", "the", "chain", "but", "not", "defined", "therein", ".", "Also", "populates", "defs_map", "which", "is", "used", "later", "by", "convert_insn", "."], "TS_V_token": ["i386", "0", "0"], "File": "i3866", "Func": "convert_registers", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15393, "Length": 46, "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", "=", "std", "::", "max", "<", "uint32_t", ">", "(", "RC", "->", "getSize", "(", ")", ",", "16", ")", ";", "bool", "isAligned", "=", "(", "Subtarget", ".", "getFrameLowering", "(", ")", "->", "getStackAlignment", "(", ")", ">=", "Alignment", ")", "||", "RI", ".", "canRealignStack", "(", "MF", ")", ";", "unsigned", "Opc", "=", "getStoreRegOpcode", "(", "SrcReg", ",", "RC", ",", "isAligned", ",", "Subtarget", ")", ";", "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\"", "16"], "File": "X86InstrInfo (2)1", "Func": "storeRegToStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15394, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "canInsertSelect", "(", "const", "MachineBasicBlock", "&", "MBB", ",", "const", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "unsigned", "TrueReg", ",", "unsigned", "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", "::", "COND_S", ")", "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::COND_S", "X86::GR16RegClass", "X86::GR32RegClass", "X86::GR64RegClass", "2", "2", "2"], "File": "X86InstrInfo109", "Func": "canInsertSelect", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15395, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_split_copysign_var", "(", "rtx", "operands", "[", "]", ")", "{", "machine_mode", "mode", ",", "vmode", ";", "rtx", "dest", ",", "scratch", ",", "op0", ",", "op1", ",", "mask", ",", "nmask", ",", "x", ";", "dest", "=", "operands", "[", "0", "]", ";", "scratch", "=", "operands", "[", "1", "]", ";", "op0", "=", "operands", "[", "2", "]", ";", "op1", "=", "operands", "[", "3", "]", ";", "nmask", "=", "operands", "[", "4", "]", ";", "mask", "=", "operands", "[", "5", "]", ";", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "vmode", "=", "GET_MODE", "(", "mask", ")", ";", "if", "(", "rtx_equal_p", "(", "op0", ",", "op1", ")", ")", "{", "emit_move_insn", "(", "dest", ",", "op0", ")", ";", "return", ";", "}", "if", "(", "REG_P", "(", "mask", ")", "&&", "REGNO", "(", "dest", ")", "==", "REGNO", "(", "mask", ")", ")", "{", "gcc_assert", "(", "REGNO", "(", "op1", ")", "==", "REGNO", "(", "scratch", ")", ")", ";", "x", "=", "gen_rtx_AND", "(", "vmode", ",", "scratch", ",", "mask", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "scratch", ",", "x", ")", ")", ";", "dest", "=", "mask", ";", "op0", "=", "lowpart_subreg", "(", "vmode", ",", "op0", ",", "mode", ")", ";", "x", "=", "gen_rtx_NOT", "(", "vmode", ",", "dest", ")", ";", "x", "=", "gen_rtx_AND", "(", "vmode", ",", "x", ",", "op0", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "x", ")", ")", ";", "}", "else", "{", "if", "(", "REGNO", "(", "op1", ")", "==", "REGNO", "(", "scratch", ")", ")", "{", "x", "=", "gen_rtx_AND", "(", "vmode", ",", "scratch", ",", "mask", ")", ";", "}", "else", "{", "gcc_assert", "(", "REGNO", "(", "mask", ")", "==", "REGNO", "(", "scratch", ")", ")", ";", "op1", "=", "lowpart_subreg", "(", "vmode", ",", "op1", ",", "mode", ")", ";", "x", "=", "gen_rtx_AND", "(", "vmode", ",", "scratch", ",", "op1", ")", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "scratch", ",", "x", ")", ")", ";", "if", "(", "REGNO", "(", "op0", ")", "==", "REGNO", "(", "dest", ")", ")", "{", "dest", "=", "lowpart_subreg", "(", "vmode", ",", "op0", ",", "mode", ")", ";", "x", "=", "gen_rtx_AND", "(", "vmode", ",", "dest", ",", "nmask", ")", ";", "}", "else", "{", "gcc_assert", "(", "REGNO", "(", "nmask", ")", "==", "REGNO", "(", "dest", ")", ")", ";", "dest", "=", "nmask", ";", "op0", "=", "lowpart_subreg", "(", "vmode", ",", "op0", ",", "mode", ")", ";", "x", "=", "gen_rtx_AND", "(", "vmode", ",", "dest", ",", "op0", ")", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "x", ")", ")", ";", "}", "x", "=", "gen_rtx_IOR", "(", "vmode", ",", "dest", ",", "scratch", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "x", ")", ")", ";", "}", ""], "natrual_language": ["Deconstruct", "a", "copysign", "operation", "into", "bit", "masks", ".", "Operand", "0", "is", "variable", ",", "so", "we", "have", "to", "do", "two", "masks", "."], "TS_V_token": ["i386", "0", "1", "2", "3", "4", "5"], "File": "i386-expand", "Func": "ix86_split_copysign_var", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15396, "Length": 389, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PassConfig", "::", "addPreISel", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnablePromoteConstant", ")", "addPass", "(", "createAArch64PromoteConstantPass", "(", ")", ")", ";", "if", "(", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableGlobalMerge", "==", "cl", "::", "BOU_UNSET", ")", "||", "EnableGlobalMerge", "==", "cl", "::", "BOU_TRUE", ")", "{", "bool", "OnlyOptimizeForSize", "=", "(", "TM", "->", "getOptLevel", "(", ")", "<", "CodeGenOpt", "::", "Aggressive", ")", "&&", "(", "EnableGlobalMerge", "==", "cl", "::", "BOU_UNSET", ")", ";", "addPass", "(", "createGlobalMergePass", "(", "TM", ",", "4095", ",", "OnlyOptimizeForSize", ")", ")", ";", "}", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createAArch64AddressTypePromotionPass", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["AArch64", "AArch64", "AArch64", "4095", "AArch64"], "File": "AArch64TargetMachine10", "Func": "addPreISel", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15397, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCSection", "*", "X86ELFMCAsmInfo", "::", "getNonexecutableStackSection", "(", "MCContext", "&", "Ctx", ")", "const", "{", "return", "Ctx", ".", "getELFSection", "(", "\".note.GNU-stack\"", ",", "ELF", "::", "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": ["X86", "X86", "\".note.GNU-stack\"", "0"], "File": "X86MCAsmInfo", "Func": "getNonexecutableStackSection", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15398, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "pa_secondary_reload", "(", "bool", "in_p", ",", "rtx", "x", ",", "reg_class_t", "rclass_i", ",", "machine_mode", "mode", ",", "secondary_reload_info", "*", "sri", ")", "{", "int", "regno", ";", "enum", "reg_class", "rclass", "=", "(", "enum", "reg_class", ")", "rclass_i", ";", "if", "(", "rclass", "==", "R1_REGS", ")", "return", "NO_REGS", ";", "if", "(", "REG_P", "(", "x", ")", ")", "{", "regno", "=", "REGNO", "(", "x", ")", ";", "if", "(", "rclass", "==", "BASE_REG_CLASS", "&&", "regno", "<", "FIRST_PSEUDO_REGISTER", ")", "return", "NO_REGS", ";", "}", "else", "regno", "=", "-", "1", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "MEM", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "MEM", ")", "return", "NO_REGS", ";", "if", "(", "flag_pic", "&&", "FP_REG_CLASS_P", "(", "rclass", ")", "&&", "(", "GET_CODE", "(", "x", ")", "==", "CONST_INT", "||", "GET_CODE", "(", "x", ")", "==", "CONST_DOUBLE", ")", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_SImode", ":", "sri", "->", "icode", "=", "CODE_FOR_reload_insi_r1", ";", "break", ";", "case", "E_DImode", ":", "sri", "->", "icode", "=", "CODE_FOR_reload_indi_r1", ";", "break", ";", "case", "E_SFmode", ":", "sri", "->", "icode", "=", "CODE_FOR_reload_insf_r1", ";", "break", ";", "case", "E_DFmode", ":", "sri", "->", "icode", "=", "CODE_FOR_reload_indf_r1", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "NO_REGS", ";", "}", "if", "(", "pa_symbolic_expression_p", "(", "x", ")", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "HIGH", ")", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "flag_pic", "||", "!", "read_only_operand", "(", "x", ",", "VOIDmode", ")", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_SImode", ":", "sri", "->", "icode", "=", "CODE_FOR_reload_insi_r1", ";", "break", ";", "case", "E_DImode", ":", "sri", "->", "icode", "=", "CODE_FOR_reload_indi_r1", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "NO_REGS", ";", "}", "}", "if", "(", "regno", ">=", "FIRST_PSEUDO_REGISTER", "||", "GET_CODE", "(", "x", ")", "==", "SUBREG", ")", "regno", "=", "true_regnum", "(", "x", ")", ";", "if", "(", "(", "regno", ">=", "FIRST_PSEUDO_REGISTER", "||", "regno", "==", "-", "1", ")", "&&", "FP_REG_CLASS_P", "(", "rclass", ")", ")", "{", "if", "(", "MEM_P", "(", "x", ")", ")", "{", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "IS_INDEX_ADDR_P", "(", "x", ")", ")", "return", "NO_REGS", ";", "}", "sri", "->", "icode", "=", "(", "in_p", "?", "direct_optab_handler", "(", "reload_in_optab", ",", "mode", ")", ":", "direct_optab_handler", "(", "reload_out_optab", ",", "mode", ")", ")", ";", "return", "NO_REGS", ";", "}", "if", "(", "rclass", "==", "SHIFT_REGS", ")", "{", "if", "(", "regno", ">=", "FIRST_PSEUDO_REGISTER", "||", "regno", "<", "0", ")", "{", "sri", "->", "icode", "=", "(", "in_p", "?", "direct_optab_handler", "(", "reload_in_optab", ",", "mode", ")", ":", "direct_optab_handler", "(", "reload_out_optab", ",", "mode", ")", ")", ";", "return", "NO_REGS", ";", "}", "if", "(", "FP_REG_CLASS_P", "(", "REGNO_REG_CLASS", "(", "regno", ")", ")", ")", "return", "GENERAL_REGS", ";", "}", "if", "(", "regno", ">=", "0", "&&", "regno", "<", "FIRST_PSEUDO_REGISTER", "&&", "REGNO_REG_CLASS", "(", "regno", ")", "==", "SHIFT_REGS", "&&", "FP_REG_CLASS_P", "(", "rclass", ")", ")", "return", "GENERAL_REGS", ";", "return", "NO_REGS", ";", "}", ""], "natrual_language": ["Inform", "reload", "about", "cases", "where", "moving", "X", "with", "a", "mode", "MODE", "to", "or", "from", "a", "register", "in", "RCLASS", "requires", "an", "extra", "scratch", "or", "immediate", "register", ".", "Return", "the", "class", "needed", "for", "the", "immediate", "register", "."], "TS_V_token": ["pa", "1", "0", "0", "1", "0", "0", "0"], "File": "pa", "Func": "pa_secondary_reload", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15399, "Length": 446, "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": 15400, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isShift", "(", ")", "const", "{", "if", "(", "!", "isShiftOrExtend", "(", ")", ")", "return", "false", ";", "if", "(", "ShiftExtend", ".", "ShiftType", "!=", "SHKind", ")", "return", "false", ";", "return", "is64Bit", "?", "ShiftExtend", ".", "Amount", "<=", "63", ":", "ShiftExtend", ".", "Amount", "<=", "31", ";", "}", ""], "natrual_language": ["Determine", "if", "the", "Opcode", "is", "one", "of", "the", "shift", "instructions", "."], "TS_V_token": ["AArch64", "63", "31"], "File": "AArch64AsmParser13", "Func": "isShift", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15401, "Length": 43, "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", "*", "thiz", "=", "\"a0\"", ";", "const", "char", "*", "reg0", "=", "\"t0\"", ";", "const", "char", "*", "reg1", "=", "\"t1\"", ";", "int", "maxoff", "=", "4096", ";", "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", "(", ")", ";", "}", ""], "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": "csky2", "Func": "csky_output_mi_thunk", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15402, "Length": 449, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "DLXInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "Position", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DestinationRegister", ",", "unsigned", "SourceRegister", ",", "bool", "KillSource", ")", "const", "{", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["DLX", "DLX"], "File": "DLXInstrInfo", "Func": "copyPhysReg", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15403, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "ARMCC", "::", "CondCodes", "getPredicate", "(", "const", "MachineInstr", "*", "MI", ",", "const", "Thumb2InstrInfo", "*", "TII", ")", "{", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "ARM", "::", "tBcc", "||", "Opc", "==", "ARM", "::", "t2Bcc", ")", "return", "ARMCC", "::", "AL", ";", "return", "TII", "->", "getPredicate", "(", "MI", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "comparison", "predicate", "underlying", "the", "intrinsic", "."], "TS_V_token": ["ARM", "ARMCC::CondCodes", "ARM::tBcc", "ARM::t2Bcc", "ARMCC::AL"], "File": "Thumb2ITBlockPass22", "Func": "getPredicate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15404, "Length": 54, "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": 15405, "Length": 274, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "loongarch_expand_atomic_qihi", "(", "union", "loongarch_gen_fn_ptrs", "generator", ",", "rtx", "result", ",", "rtx", "mem", ",", "rtx", "oldval", ",", "rtx", "newval", ",", "rtx", "model", ")", "{", "rtx", "orig_addr", ",", "memsi_addr", ",", "memsi", ",", "shift", ",", "shiftsi", ",", "unshifted_mask", ";", "rtx", "unshifted_mask_reg", ",", "mask", ",", "inverted_mask", ",", "si_op", ";", "rtx", "res", "=", "NULL", ";", "machine_mode", "mode", ";", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "orig_addr", "=", "force_reg", "(", "Pmode", ",", "XEXP", "(", "mem", ",", "0", ")", ")", ";", "memsi_addr", "=", "loongarch_force_binary", "(", "Pmode", ",", "AND", ",", "orig_addr", ",", "force_reg", "(", "Pmode", ",", "GEN_INT", "(", "-", "4", ")", ")", ")", ";", "memsi", "=", "gen_rtx_MEM", "(", "SImode", ",", "memsi_addr", ")", ";", "set_mem_alias_set", "(", "memsi", ",", "ALIAS_SET_MEMORY_BARRIER", ")", ";", "MEM_VOLATILE_P", "(", "memsi", ")", "=", "MEM_VOLATILE_P", "(", "mem", ")", ";", "shift", "=", "loongarch_force_binary", "(", "Pmode", ",", "AND", ",", "orig_addr", ",", "GEN_INT", "(", "3", ")", ")", ";", "loongarch_emit_binary", "(", "ASHIFT", ",", "shift", ",", "shift", ",", "GEN_INT", "(", "3", ")", ")", ";", "shiftsi", "=", "force_reg", "(", "SImode", ",", "gen_lowpart", "(", "SImode", ",", "shift", ")", ")", ";", "unshifted_mask", "=", "GEN_INT", "(", "GET_MODE_MASK", "(", "mode", ")", ")", ";", "unshifted_mask_reg", "=", "force_reg", "(", "SImode", ",", "unshifted_mask", ")", ";", "mask", "=", "loongarch_force_binary", "(", "SImode", ",", "ASHIFT", ",", "unshifted_mask_reg", ",", "shiftsi", ")", ";", "inverted_mask", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "inverted_mask", ",", "gen_rtx_NOT", "(", "SImode", ",", "mask", ")", ")", ")", ";", "if", "(", "oldval", "!=", "const0_rtx", ")", "{", "oldval", "=", "convert_modes", "(", "SImode", ",", "mode", ",", "oldval", ",", "true", ")", ";", "oldval", "=", "force_reg", "(", "SImode", ",", "oldval", ")", ";", "oldval", "=", "loongarch_force_binary", "(", "SImode", ",", "ASHIFT", ",", "oldval", ",", "shiftsi", ")", ";", "}", "if", "(", "newval", "&&", "newval", "!=", "const0_rtx", ")", "{", "newval", "=", "convert_modes", "(", "SImode", ",", "mode", ",", "newval", ",", "true", ")", ";", "newval", "=", "force_reg", "(", "SImode", ",", "newval", ")", ";", "newval", "=", "loongarch_force_binary", "(", "SImode", ",", "ASHIFT", ",", "newval", ",", "shiftsi", ")", ";", "}", "if", "(", "result", ")", "res", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "if", "(", "newval", ")", "si_op", "=", "generator", ".", "fn_7", "(", "res", ",", "memsi", ",", "mask", ",", "inverted_mask", ",", "oldval", ",", "newval", ",", "model", ")", ";", "else", "if", "(", "result", ")", "si_op", "=", "generator", ".", "fn_6", "(", "res", ",", "memsi", ",", "mask", ",", "inverted_mask", ",", "oldval", ",", "model", ")", ";", "else", "si_op", "=", "generator", ".", "fn_5", "(", "memsi", ",", "mask", ",", "inverted_mask", ",", "oldval", ",", "model", ")", ";", "emit_insn", "(", "si_op", ")", ";", "if", "(", "result", ")", "{", "loongarch_emit_binary", "(", "AND", ",", "res", ",", "res", ",", "mask", ")", ";", "loongarch_emit_binary", "(", "LSHIFTRT", ",", "res", ",", "res", ",", "shiftsi", ")", ";", "loongarch_emit_move", "(", "result", ",", "gen_lowpart", "(", "GET_MODE", "(", "result", ")", ",", "res", ")", ")", ";", "}", "}", ""], "natrual_language": ["Expand", "a", "QI", "or", "HI", "mode", "atomic", "memory", "operation", ".", "GENERATOR", "contains", "a", "pointer", "to", "the", "gen_", "*", "function", "that", "generates", "the", "SI", "mode", "underlying", "atomic", "operation", "using", "masks", "that", "we", "calculate", ".", "RESULT", "is", "the", "return", "register", "for", "the", "operation", ".", "Its", "value", "is", "NULL", "if", "unused", ".", "MEM", "is", "the", "location", "of", "the", "atomic", "access", ".", "OLDVAL", "is", "the", "first", "operand", "for", "the", "operation", ".", "NEWVAL", "is", "the", "optional", "second", "operand", "for", "the", "operation", ".", "Its", "value", "is", "NULL", "if", "unused", "."], "TS_V_token": ["loongarch", "0", "4", "3", "3"], "File": "loongarch", "Func": "loongarch_expand_atomic_qihi", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15406, "Length": 435, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AsmToken", "LexToken", "(", ")", "{", "if", "(", "!", "Lexer", ")", "{", "SetError", "(", "SMLoc", "(", ")", ",", "\"No MCAsmLexer installed\"", ")", ";", "return", "AsmToken", "(", "AsmToken", "::", "Error", ",", "\"\"", ",", "0", ")", ";", "}", "switch", "(", "AsmInfo", ".", "getAssemblerDialect", "(", ")", ")", "{", "default", ":", "SetError", "(", "SMLoc", "(", ")", ",", "\"Unhandled dialect\"", ")", ";", "return", "AsmToken", "(", "AsmToken", "::", "Error", ",", "\"\"", ",", "0", ")", ";", "case", "0", ":", "return", "LexTokenATT", "(", ")", ";", "case", "1", ":", "return", "LexTokenIntel", "(", ")", ";", "}", "}", ""], "natrual_language": ["LexToken", "-", "Read", "the", "next", "token", "and", "return", "its", "code", "."], "TS_V_token": ["X86", "\"No MCAsmLexer installed\"", "\"\"", "0", "\"Unhandled dialect\"", "\"\"", "0", "0", "1"], "File": "X86AsmLexer1", "Func": "LexToken", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15407, "Length": 83, "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", "=", "AP", ".", "getDataLayout", "(", ")", ";", "MCContext", "&", "Ctx", "=", "AP", ".", "OutContext", ";", "bool", "isDarwin", "=", "TM", ".", "getTargetTriple", "(", ")", ".", "isOSDarwin", "(", ")", ";", "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\"", ")", ";", "Mangler", "::", "getNameWithPrefix", "(", "Name", ",", "MO", ".", "getSymbolName", "(", ")", ",", "DL", ")", ";", "}", "else", "{", "const", "GlobalValue", "*", "GV", "=", "MO", ".", "getGlobal", "(", ")", ";", "TM", ".", "getNameWithPrefix", "(", "Name", ",", "GV", ",", "*", "Mang", ")", ";", "}", "unsigned", "OrigLen", "=", "Name", ".", "size", "(", ")", "-", "PrefixLen", ";", "Name", "+=", "Suffix", ";", "MCSymbol", "*", "Sym", "=", "Ctx", ".", "getOrCreateSymbol", "(", "Name", ")", ";", "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", "=", "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", "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", "\"Extern symbol not handled yet\""], "File": "PPCMCInstLower52", "Func": "GetSymbolFromOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15408, "Length": 440, "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": 15409, "Length": 249, "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_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", ")", ";", "}", "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_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"], "File": "AArch64TargetTransformInfo25", "Func": "instCombineIntrinsic", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15410, "Length": 261, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "offset_12bit_unsigned_scaled_p", "(", "machine_mode", "mode", ",", "HOST_WIDE_INT", "offset", ")", "{", "return", "(", "offset", ">=", "0", "&&", "offset", "<", "4096", "*", "GET_MODE_SIZE", "(", "mode", ")", "&&", "offset", "%", "GET_MODE_SIZE", "(", "mode", ")", "==", "0", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OFFSET", "is", "an", "unsigned", "12-bit", "value", "multiplied", "by", "the", "size", "of", "MODE", "."], "TS_V_token": ["aarch64", "0", "4096", "0"], "File": "aarch642", "Func": "offset_12bit_unsigned_scaled_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15411, "Length": 38, "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": 15412, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "isUnpredicatedTerminator", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "const", "TargetInstrDesc", "&", "TID", "=", "MI", "->", "getDesc", "(", ")", ";", "if", "(", "!", "TID", ".", "isTerminator", "(", ")", ")", "return", "false", ";", "if", "(", "TID", ".", "isBranch", "(", ")", "&&", "!", "TID", ".", "isBarrier", "(", ")", ")", "return", "true", ";", "if", "(", "!", "TID", ".", "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": "X86InstrInfo101", "Func": "isUnpredicatedTerminator", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15413, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "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", "true", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST_DOUBLE", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", "&&", "(", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_PIC", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_GOT", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_GOTOFF", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_GOTPLT", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_GOTTPOFF", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_DTPOFF", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_TPOFF", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_PLT", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_PCREL", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_SYMOFF", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_PCREL_SYMOFF", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_GOTFUNCDESC", "||", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_GOTOFFFUNCDESC", ")", ")", "return", "false", ";", "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", "true", ";", "}", "else", "if", "(", "fmt", "[", "i", "]", "==", "'e'", "&&", "nonpic_symbol_mentioned_p", "(", "XEXP", "(", "x", ",", "i", ")", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "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": ["sh", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "0"], "File": "sh5", "Func": "nonpic_symbol_mentioned_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15414, "Length": 295, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "MipsAsmPrinter", "::", "getCurrentABIString", "(", ")", "const", "{", "switch", "(", "Subtarget", "->", "getTargetABI", "(", ")", ")", "{", "case", "MipsSubtarget", "::", "O32", ":", "return", "\"abi32\"", ";", "case", "MipsSubtarget", "::", "N32", ":", "return", "\"abiN32\"", ";", "case", "MipsSubtarget", "::", "N64", ":", "return", "\"abi64\"", ";", "case", "MipsSubtarget", "::", "EABI", ":", "return", "\"eabi32\"", ";", "default", ":", "break", ";", "}", "llvm_unreachable", "(", "\"Unknown Mips ABI\"", ")", ";", "return", "NULL", ";", "}", ""], "natrual_language": ["Emit", "Set", "directives", "."], "TS_V_token": ["Mips", "Mips", "Mips", "\"abi32\"", "Mips", "\"abiN32\"", "Mips", "\"abi64\"", "Mips", "\"eabi32\"", "\"Unknown Mips ABI\""], "File": "MipsAsmPrinter58", "Func": "getCurrentABIString", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15415, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "getTgtMemIntrinsic", "(", "IntrinsicInfo", "&", "Info", ",", "const", "CallInst", "&", "I", ",", "unsigned", "Intrinsic", ")", "const", "{", "const", "IntrinsicData", "*", "IntrData", "=", "getIntrinsicWithChain", "(", "Intrinsic", ")", ";", "if", "(", "!", "IntrData", ")", "return", "false", ";", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_W_CHAIN", ";", "Info", ".", "readMem", "=", "false", ";", "Info", ".", "writeMem", "=", "false", ";", "Info", ".", "vol", "=", "false", ";", "Info", ".", "offset", "=", "0", ";", "switch", "(", "IntrData", "->", "Type", ")", "{", "case", "EXPAND_FROM_MEM", ":", "{", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "0", ")", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVT", "(", "I", ".", "getType", "(", ")", ")", ";", "Info", ".", "align", "=", "1", ";", "Info", ".", "readMem", "=", "true", ";", "break", ";", "}", "case", "COMPRESS_TO_MEM", ":", "{", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "0", ")", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVT", "(", "I", ".", "getArgOperand", "(", "1", ")", "->", "getType", "(", ")", ")", ";", "Info", ".", "align", "=", "1", ";", "Info", ".", "writeMem", "=", "true", ";", "break", ";", "}", "case", "TRUNCATE_TO_MEM_VI8", ":", "case", "TRUNCATE_TO_MEM_VI16", ":", "case", "TRUNCATE_TO_MEM_VI32", ":", "{", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "0", ")", ";", "MVT", "VT", "=", "MVT", "::", "getVT", "(", "I", ".", "getArgOperand", "(", "1", ")", "->", "getType", "(", ")", ")", ";", "MVT", "ScalarVT", "=", "MVT", "::", "INVALID_SIMPLE_VALUE_TYPE", ";", "if", "(", "IntrData", "->", "Type", "==", "TRUNCATE_TO_MEM_VI8", ")", "ScalarVT", "=", "MVT", "::", "i8", ";", "else", "if", "(", "IntrData", "->", "Type", "==", "TRUNCATE_TO_MEM_VI16", ")", "ScalarVT", "=", "MVT", "::", "i16", ";", "else", "if", "(", "IntrData", "->", "Type", "==", "TRUNCATE_TO_MEM_VI32", ")", "ScalarVT", "=", "MVT", "::", "i32", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVectorVT", "(", "ScalarVT", ",", "VT", ".", "getVectorNumElements", "(", ")", ")", ";", "Info", ".", "align", "=", "1", ";", "Info", ".", "writeMem", "=", "true", ";", "break", ";", "}", "default", ":", "return", "false", ";", "}", "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": ["X86", "X86", "ISD::INTRINSIC_W_CHAIN", "0", "0", "MVT::getVT", "1", "0", "MVT::getVT", "1", "1", "0", "MVT::getVT", "1", "MVT::INVALID_SIMPLE_VALUE_TYPE", "MVT::i8", "MVT::i16", "MVT::i32", "MVT::getVectorVT", "1"], "File": "X86ISelLowering (3)", "Func": "getTgtMemIntrinsic", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15416, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "equal", "(", "tree_map", "*", "a", ",", "tree_map", "*", "b", ")", "{", "return", "a", "->", "base", ".", "from", "==", "b", "->", "base", ".", "from", ";", "}", ""], "natrual_language": ["Compare", "H1", "and", "H2", "for", "equivalence", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "equal", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15417, "Length": 28, "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", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "if", "(", "Kind", ">=", "FirstLiteralRelocationKind", ")", "return", ";", "unsigned", "Size", "=", "getFixupKindSize", "(", "Kind", ")", ";", "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": "X86AsmBackend (2)1", "Func": "applyFixup", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15418, "Length": 242, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"SystemZ Instruction Shortening\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["SystemZ", "\"SystemZ Instruction Shortening\""], "File": "SystemZShortenInst", "Func": "getPassName", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15419, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMem", "(", ")", "const", "override", "{", "return", "Kind", "==", "k_Memory", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["Mips"], "File": "MipsAsmParser (2)4", "Func": "isMem", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15420, "Length": 13, "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", "E_QImode", ":", "if", "(", "!", "REG_P", "(", "dest", ")", "||", "!", "CONST_INT_P", "(", "src", ")", ")", "extension", "=", "\".B\"", ";", "break", ";", "case", "E_HImode", ":", "if", "(", "!", "REG_P", "(", "dest", ")", "||", "!", "CONST_INT_P", "(", "src", ")", ")", "extension", "=", "\".W\"", ";", "break", ";", "case", "E_DFmode", ":", "case", "E_DImode", ":", "case", "E_SFmode", ":", "case", "E_SImode", ":", "extension", "=", "\".L\"", ";", "break", ";", "case", "E_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": "rx", "Func": "rx_gen_move_template", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15421, "Length": 386, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "csky_output_constpool_label", "(", "FILE", "*", "stream", ",", "rtx", "x", ")", "{", "char", "buf", "[", "15", "]", ";", "gcc_assert", "(", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", ")", ";", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC_VOLATILE", "&&", "XINT", "(", "x", ",", "1", ")", "==", "VUNSPEC_POOL_LABEL", ")", "{", "ASM_GENERATE_INTERNAL_LABEL", "(", "buf", ",", "CSKY_CONSTPOOL_LABEL_PREFIX", ",", "INTVAL", "(", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ")", ";", "assemble_name", "(", "stream", ",", "buf", ")", ";", "}", "}", ""], "natrual_language": ["Output", "the", "constpool", "label", "according", "to", "the", "rtx", "expression", "X", "."], "TS_V_token": ["csky", "15", "0", "1", "0", "0"], "File": "csky", "Func": "csky_output_constpool_label", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15422, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "long", "thumb1_epilogue_unused_call_clobbered_lo_regs", "(", "void", ")", "{", "unsigned", "long", "mask", "=", "0", ";", "bitmap", "epilogue_live_in", "=", "df_get_live_in", "(", "EXIT_BLOCK_PTR_FOR_FN", "(", "cfun", ")", ")", ";", "for", "(", "int", "reg", "=", "FIRST_LO_REGNUM", ";", "reg", "<=", "LAST_LO_REGNUM", ";", "reg", "++", ")", "if", "(", "!", "callee_saved_reg_p", "(", "reg", ")", "&&", "!", "REGNO_REG_SET_P", "(", "epilogue_live_in", ",", "reg", ")", ")", "mask", "|=", "1", "<<", "(", "reg", "-", "FIRST_LO_REGNUM", ")", ";", "return", "mask", ";", "}", ""], "natrual_language": ["Similarly", "for", "the", "start", "of", "the", "epilogue", "."], "TS_V_token": ["arm", "0", "1"], "File": "arm", "Func": "thumb1_epilogue_unused_call_clobbered_lo_regs", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15423, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "csky_configure_build_target", "(", "struct", "csky_build_target", "*", "target", ",", "struct", "cl_target_option", "*", "opts", ",", "struct", "gcc_options", "*", "opts_set", ")", "{", "const", "struct", "csky_processors", "*", "csky_selected_tune", "=", "NULL", ";", "struct", "csky_processors", "*", "csky_selected_cpu", "=", "NULL", ";", "struct", "csky_processors", "*", "csky_selected_arch", "=", "NULL", ";", "sbitmap", "all_sbits", "=", "sbitmap_alloc", "(", "CSKY_ISA_FEATURE_GET", "(", "max", ")", ")", ";", "bitmap_clear", "(", "all_sbits", ")", ";", "bitmap_clear", "(", "target", "->", "isa", ")", ";", "target", "->", "core_name", "=", "NULL", ";", "target", "->", "arch_name", "=", "NULL", ";", "if", "(", "opts_set", "->", "x_csky_arch_option", ")", "csky_selected_arch", "=", "&", "all_architectures", "[", "opts", "->", "x_csky_arch_option", "]", ";", "if", "(", "opts_set", "->", "x_csky_cpu_option", ")", "{", "csky_selected_cpu", "=", "&", "all_cores", "[", "opts", "->", "x_csky_cpu_option", "]", ";", "csky_selected_tune", "=", "&", "all_cores", "[", "opts", "->", "x_csky_cpu_option", "]", ";", "}", "if", "(", "csky_selected_cpu", ")", "{", "if", "(", "csky_selected_arch", "&&", "(", "csky_selected_cpu", "->", "base_arch", "!=", "csky_selected_arch", "->", "base_arch", ")", ")", "warning", "(", "0", ",", "\"cpu %s is not based on arch %s, ignoring the arch\"", ",", "csky_selected_cpu", "->", "name", ",", "csky_selected_arch", "->", "name", ")", ";", "if", "(", "!", "csky_selected_arch", ")", "csky_selected_arch", "=", "&", "all_architectures", "[", "csky_selected_cpu", "->", "base_arch", "]", ";", "csky_initialize_isa", "(", "all_sbits", ",", "csky_selected_arch", "->", "isa_bits", ")", ";", "target", "->", "core_name", "=", "csky_selected_cpu", "->", "name", ";", "}", "else", "if", "(", "csky_selected_arch", ")", "{", "csky_selected_cpu", "=", "csky_selected_arch", ";", "target", "->", "arch_name", "=", "csky_selected_arch", "->", "name", ";", "}", "else", "{", "csky_selected_cpu", "=", "&", "all_cores", "[", "TARGET_CPU_DEFAULT", "]", ";", "csky_selected_arch", "=", "&", "all_architectures", "[", "csky_selected_cpu", "->", "base_arch", "]", ";", "csky_initialize_isa", "(", "all_sbits", ",", "csky_selected_arch", "->", "isa_bits", ")", ";", "target", "->", "core_name", "=", "csky_selected_cpu", "->", "name", ";", "}", "if", "(", "!", "csky_selected_tune", ")", "csky_selected_tune", "=", "&", "all_cores", "[", "csky_selected_cpu", "->", "core", "]", ";", "gcc_assert", "(", "csky_selected_tune", ")", ";", "gcc_assert", "(", "csky_selected_arch", ")", ";", "gcc_assert", "(", "csky_selected_cpu", ")", ";", "csky_initialize_isa", "(", "target", "->", "isa", ",", "csky_selected_cpu", "->", "isa_bits", ")", ";", "bitmap_ior", "(", "target", "->", "isa", ",", "target", "->", "isa", ",", "all_sbits", ")", ";", "target", "->", "arch_pp_name", "=", "csky_selected_cpu", "->", "arch", ";", "target", "->", "base_arch", "=", "csky_selected_cpu", "->", "base_arch", ";", "target", "->", "arch_core", "=", "csky_selected_cpu", "->", "core", ";", "sbitmap_free", "(", "all_sbits", ")", ";", "}", ""], "natrual_language": ["Configure", "a", "build", "target", "TARGET", "from", "the", "user-specified", "options", "OPTS", "and", "OPTS_SET", "."], "TS_V_token": ["csky", "0", "\"cpu %s is not based on arch %s, ignoring the arch\""], "File": "csky", "Func": "csky_configure_build_target", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15424, "Length": 329, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ia64_vms_output_aligned_decl_common", "(", "FILE", "*", "file", ",", "tree", "decl", ",", "const", "char", "*", "name", ",", "unsigned", "HOST_WIDE_INT", "size", ",", "unsigned", "int", "align", ")", "{", "tree", "attr", "=", "DECL_ATTRIBUTES", "(", "decl", ")", ";", "if", "(", "attr", ")", "attr", "=", "lookup_attribute", "(", "\"common_object\"", ",", "attr", ")", ";", "if", "(", "attr", ")", "{", "tree", "id", "=", "TREE_VALUE", "(", "TREE_VALUE", "(", "attr", ")", ")", ";", "const", "char", "*", "name", ";", "if", "(", "TREE_CODE", "(", "id", ")", "==", "IDENTIFIER_NODE", ")", "name", "=", "IDENTIFIER_POINTER", "(", "id", ")", ";", "else", "if", "(", "TREE_CODE", "(", "id", ")", "==", "STRING_CST", ")", "name", "=", "TREE_STRING_POINTER", "(", "id", ")", ";", "else", "abort", "(", ")", ";", "fprintf", "(", "file", ",", "\"\\t.vms_common\\t\\\"%s\\\",\"", ",", "name", ")", ";", "}", "else", "fprintf", "(", "file", ",", "\"%s\"", ",", "COMMON_ASM_OP", ")", ";", "assemble_name", "(", "file", ",", "name", ")", ";", "fprintf", "(", "file", ",", "\",\"", "HOST_WIDE_INT_PRINT_UNSIGNED", "\",%u\"", ",", "size", ",", "align", "/", "BITS_PER_UNIT", ")", ";", "fputc", "(", "'\\n'", ",", "file", ")", ";", "}", ""], "natrual_language": ["Part", "of", "the", "low", "level", "implementation", "of", "DEC", "Ada", "pragma", "Common_Object", "."], "TS_V_token": ["ia64", "\"common_object\"", "\"\\t.vms_common\\t\\\"%s\\\",\"", "\"%s\"", "\",\"", "\",%u\""], "File": "ia64", "Func": "ia64_vms_output_aligned_decl_common", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15425, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ARMFrameInfo", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "FrameReg", ")", "const", "{", "return", "ResolveFrameIndexReference", "(", "MF", ",", "FI", ",", "FrameReg", ",", "0", ")", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["ARM", "ARM", "0"], "File": "ARMFrameInfo", "Func": "getFrameIndexReference", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15426, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "XNCMTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "NULL", ";", "case", "XNCMISD", "::", "RET_FLAG", ":", "return", "\"XNCMISD::RET_FLAG\"", ";", "case", "XNCMISD", "::", "RETI_FLAG", ":", "return", "\"XNCMISD::RETI_FLAG\"", ";", "case", "XNCMISD", "::", "RRA", ":", "return", "\"XNCMISD::RRA\"", ";", "case", "XNCMISD", "::", "RLA", ":", "return", "\"XNCMISD::RLA\"", ";", "case", "XNCMISD", "::", "RRC", ":", "return", "\"XNCMISD::RRC\"", ";", "case", "XNCMISD", "::", "CALL", ":", "return", "\"XNCMISD::CALL\"", ";", "case", "XNCMISD", "::", "Wrapper", ":", "return", "\"XNCMISD::Wrapper\"", ";", "case", "XNCMISD", "::", "BR_CC", ":", "return", "\"XNCMISD::BR_CC\"", ";", "case", "XNCMISD", "::", "CMP", ":", "return", "\"XNCMISD::CMP\"", ";", "case", "XNCMISD", "::", "SELECT_CC", ":", "return", "\"XNCMISD::SELECT_CC\"", ";", "case", "XNCMISD", "::", "SHL", ":", "return", "\"XNCMISD::SHL\"", ";", "case", "XNCMISD", "::", "SRA", ":", "return", "\"XNCMISD::SRA\"", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["XNCM", "XNCM", "XNCMISD::RET_FLAG", "\"XNCMISD::RET_FLAG\"", "XNCMISD::RETI_FLAG", "\"XNCMISD::RETI_FLAG\"", "XNCMISD::RRA", "\"XNCMISD::RRA\"", "XNCMISD::RLA", "\"XNCMISD::RLA\"", "XNCMISD::RRC", "\"XNCMISD::RRC\"", "XNCMISD::CALL", "\"XNCMISD::CALL\"", "XNCMISD::Wrapper", "\"XNCMISD::Wrapper\"", "XNCMISD::BR_CC", "\"XNCMISD::BR_CC\"", "XNCMISD::CMP", "\"XNCMISD::CMP\"", "XNCMISD::SELECT_CC", "\"XNCMISD::SELECT_CC\"", "XNCMISD::SHL", "\"XNCMISD::SHL\"", "XNCMISD::SRA", "\"XNCMISD::SRA\""], "File": "XNCMISelLowering", "Func": "getTargetNodeName", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15427, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_d_handle_target_float_abi", "(", "void", ")", "{", "const", "char", "*", "abi", ";", "if", "(", "!", "(", "TARGET_80387", "||", "TARGET_FLOAT_RETURNS_IN_80387", ")", ")", "abi", "=", "\"soft\"", ";", "else", "abi", "=", "\"hard\"", ";", "return", "build_string_literal", "(", "strlen", "(", "abi", ")", "+", "1", ",", "abi", ")", ";", "}", ""], "natrual_language": ["Handle", "a", "call", "to", "`", "__traits", "(", "getTargetInfo", ",", "``", "floatAbi", "''", ")", "'", "."], "TS_V_token": ["i386", "\"soft\"", "\"hard\"", "1"], "File": "i386-d", "Func": "ix86_d_handle_target_float_abi", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15428, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "canMacroFuseCmp", "(", ")", "{", "return", "ST", "->", "hasMacroFusion", "(", ")", "||", "ST", "->", "hasBranchFusion", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "can", "fuse", "a", "compare", "and", "branch", "."], "TS_V_token": ["X86", "X86"], "File": "X86TargetTransformInfo (2)1", "Func": "canMacroFuseCmp", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15429, "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", ".", "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": 15430, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "aarch64_parse_opt_result", "aarch64_parse_cpu", "(", "const", "char", "*", "to_parse", ",", "const", "struct", "processor", "*", "*", "res", ",", "unsigned", "long", "*", "isa_flags", ")", "{", "char", "*", "ext", ";", "const", "struct", "processor", "*", "cpu", ";", "char", "*", "str", "=", "(", "char", "*", ")", "alloca", "(", "strlen", "(", "to_parse", ")", "+", "1", ")", ";", "size_t", "len", ";", "strcpy", "(", "str", ",", "to_parse", ")", ";", "ext", "=", "strchr", "(", "str", ",", "'+'", ")", ";", "if", "(", "ext", "!=", "NULL", ")", "len", "=", "ext", "-", "str", ";", "else", "len", "=", "strlen", "(", "str", ")", ";", "if", "(", "len", "==", "0", ")", "return", "AARCH64_PARSE_MISSING_ARG", ";", "for", "(", "cpu", "=", "all_cores", ";", "cpu", "->", "name", "!=", "NULL", ";", "cpu", "++", ")", "{", "if", "(", "strlen", "(", "cpu", "->", "name", ")", "==", "len", "&&", "strncmp", "(", "cpu", "->", "name", ",", "str", ",", "len", ")", "==", "0", ")", "{", "unsigned", "long", "isa_temp", "=", "cpu", "->", "flags", ";", "if", "(", "ext", "!=", "NULL", ")", "{", "enum", "aarch64_parse_opt_result", "ext_res", "=", "aarch64_parse_extension", "(", "ext", ",", "&", "isa_temp", ")", ";", "if", "(", "ext_res", "!=", "AARCH64_PARSE_OK", ")", "return", "ext_res", ";", "}", "*", "res", "=", "cpu", ";", "*", "isa_flags", "=", "isa_temp", ";", "return", "AARCH64_PARSE_OK", ";", "}", "}", "return", "AARCH64_PARSE_INVALID_ARG", ";", "}", ""], "natrual_language": ["Parse", "the", "TO_PARSE", "string", "and", "put", "the", "result", "tuning", "in", "RES", "and", "the", "architecture", "flags", "in", "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", "0"], "File": "aarch643", "Func": "aarch64_parse_cpu", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15431, "Length": 196, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "csky_split_xor", "(", "rtx", "*", "operands", ")", "{", "HOST_WIDE_INT", "mask", "=", "INTVAL", "(", "operands", "[", "2", "]", ")", ";", "if", "(", "mask", "==", "0", ")", "{", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ")", ";", "return", "true", ";", "}", "if", "(", "mask", "==", "-", "1", ")", "{", "if", "(", "CSKY_ISA_FEATURE", "(", "E2", ")", ")", "emit_insn", "(", "gen_cskyv2_one_cmplsi2", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ")", ")", ";", "else", "{", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ")", ";", "emit_insn", "(", "gen_ck801_one_cmplsi2", "(", "operands", "[", "0", "]", ",", "operands", "[", "0", "]", ")", ")", ";", "}", "return", "true", ";", "}", "if", "(", "CSKY_ISA_FEATURE", "(", "E2", ")", "&&", "csky_arith_O_operand", "(", "operands", "[", "2", "]", ",", "SImode", ")", ")", "return", "false", ";", "if", "(", "reload_completed", ")", "{", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "operands", "[", "2", "]", ")", ";", "operands", "[", "2", "]", "=", "operands", "[", "1", "]", ";", "operands", "[", "1", "]", "=", "operands", "[", "0", "]", ";", "}", "else", "operands", "[", "2", "]", "=", "copy_to_mode_reg", "(", "SImode", ",", "operands", "[", "2", "]", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Split", "operands", "for", "an", "XOR", "expression", "when", "OPERANDS", "[", "2", "]", "is", "a", "constant", ".", "Note", "operands", "[", "0", "]", "is", "marked", "earlyclobber", "in", "this", "case", "and", "can", "be", "overwritten", ".", "Return", "true", "if", "``", "DONE", "''", ",", "false", "otherwise", "."], "TS_V_token": ["csky", "2", "0", "0", "1", "1", "0", "1", "0", "1", "0", "0", "2", "0", "2", "2", "1", "1", "0", "2", "2"], "File": "csky", "Func": "csky_split_xor", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15432, "Length": 189, "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_GHC_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": "ARMBaseRegisterInfo6", "Func": "getCalleeSavedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15433, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_expand_sve_vec_cmp_int", "(", "rtx", "target", ",", "rtx_code", "code", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "machine_mode", "pred_mode", "=", "GET_MODE", "(", "target", ")", ";", "machine_mode", "data_mode", "=", "GET_MODE", "(", "op0", ")", ";", "if", "(", "!", "aarch64_sve_cmp_operand_p", "(", "code", ",", "op1", ")", ")", "op1", "=", "force_reg", "(", "data_mode", ",", "op1", ")", ";", "rtx", "ptrue", "=", "force_reg", "(", "pred_mode", ",", "CONSTM1_RTX", "(", "pred_mode", ")", ")", ";", "rtx", "unspec", "=", "aarch64_gen_unspec_cond", "(", "code", ",", "pred_mode", ",", "ptrue", ",", "op0", ",", "op1", ")", ";", "emit_insn", "(", "gen_set_clobber_cc", "(", "target", ",", "unspec", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "an", "SVE", "integer", "comparison", ":", "TARGET", "=", "CODE", "(", "OP0", ",", "OP1", ")", "."], "TS_V_token": ["aarch64"], "File": "aarch645", "Func": "aarch64_expand_sve_vec_cmp_int", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15434, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "loongarch_function_arg", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "struct", "loongarch_arg_info", "info", ";", "if", "(", "arg", ".", "end_marker_p", "(", ")", ")", "return", "NULL", ";", "return", "loongarch_get_arg_info", "(", "&", "info", ",", "cum", ",", "arg", ".", "mode", ",", "arg", ".", "type", ",", "arg", ".", "named", ",", "false", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_ARG", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_function_arg", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15435, "Length": 61, "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": 15436, "Length": 49, "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": 15437, "Length": 345, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64ElfTargetObjectFile", "::", "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": ["AArch64", "AArch64"], "File": "AArch64TargetObjectFile7", "Func": "Initialize", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15438, "Length": 34, "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": 15439, "Length": 26, "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": 15440, "Length": 443, "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", "::", "tGPRRegClass", "||", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "DestReg", ")", "&&", "isARMLowRegister", "(", "DestReg", ")", ")", ")", "&&", "\"Unknown regclass!\"", ")", ";", "if", "(", "RC", "==", "&", "ARM", "::", "tGPRRegClass", "||", "(", "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", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tLDRspi", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "}", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM::tGPRRegClass", "ARM", "\"Unknown regclass!\"", "ARM::tGPRRegClass", "ARM", "ARM::tLDRspi", "0", "ARMCC::AL"], "File": "Thumb1InstrInfo19", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15441, "Length": 207, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "*", "rs6000_alloc_sched_context", "(", "void", ")", "{", "return", "xmalloc", "(", "sizeof", "(", "rs6000_sched_context_def", ")", ")", ";", "}", ""], "natrual_language": ["Allocate", "store", "for", "new", "scheduling", "context", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_alloc_sched_context", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15442, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PreTileConfig", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "mf", ")", "{", "MF", "=", "&", "mf", ";", "MRI", "=", "&", "mf", ".", "getRegInfo", "(", ")", ";", "ST", "=", "&", "mf", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "TRI", "=", "ST", "->", "getRegisterInfo", "(", ")", ";", "TII", "=", "mf", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DomTree", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "MachineInstr", "*", "MI", "=", "getTileConfigPoint", "(", ")", ";", "if", "(", "!", "MI", ")", "return", "false", ";", "unsigned", "Size", "=", "ST", "->", "getTileConfigSize", "(", ")", ";", "Align", "Alignment", "=", "ST", "->", "getTileConfigAlignment", "(", ")", ";", "int", "SS", "=", "mf", ".", "getFrameInfo", "(", ")", ".", "CreateStackObject", "(", "Size", ",", "Alignment", ",", "false", ")", ";", "Register", "CFG", "=", "buildConfigMI", "(", "MI", ",", "SS", ",", "TII", ",", "MRI", ",", "ST", ")", ";", "addTileCFGUse", "(", "mf", ",", "CFG", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86PreTileConfig1", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15443, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "expand_strncmp_align_check", "(", "rtx", "strncmp_label", ",", "rtx", "src", ",", "HOST_WIDE_INT", "bytes", ")", "{", "rtx", "lab_ref", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "strncmp_label", ")", ";", "rtx", "src_check", "=", "copy_addr_to_reg", "(", "XEXP", "(", "src", ",", "0", ")", ")", ";", "if", "(", "GET_MODE", "(", "src_check", ")", "==", "SImode", ")", "emit_insn", "(", "gen_andsi3", "(", "src_check", ",", "src_check", ",", "GEN_INT", "(", "0xfff", ")", ")", ")", ";", "else", "emit_insn", "(", "gen_anddi3", "(", "src_check", ",", "src_check", ",", "GEN_INT", "(", "0xfff", ")", ")", ")", ";", "rtx", "cond", "=", "gen_reg_rtx", "(", "CCmode", ")", ";", "emit_move_insn", "(", "cond", ",", "gen_rtx_COMPARE", "(", "CCmode", ",", "src_check", ",", "GEN_INT", "(", "4096", "-", "bytes", ")", ")", ")", ";", "rtx", "cmp_rtx", "=", "gen_rtx_GE", "(", "VOIDmode", ",", "cond", ",", "const0_rtx", ")", ";", "rtx", "ifelse", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "cmp_rtx", ",", "lab_ref", ",", "pc_rtx", ")", ";", "rtx", "j", "=", "emit_jump_insn", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "ifelse", ")", ")", ";", "JUMP_LABEL", "(", "j", ")", "=", "strncmp_label", ";", "LABEL_NUSES", "(", "strncmp_label", ")", "+=", "1", ";", "}", ""], "natrual_language": ["Generate", "page", "crossing", "check", "and", "branch", "code", "to", "set", "up", "for", "strncmp", "when", "we", "do", "n't", "have", "DI", "alignment", ".", "STRNCMP_LABEL", "is", "the", "label", "to", "branch", "if", "there", "is", "a", "page", "crossing", ".", "SRC_ADDR", "is", "the", "string", "address", "to", "be", "examined", ".", "BYTES", "is", "the", "max", "number", "of", "bytes", "to", "compare", "."], "TS_V_token": ["rs6000", "0", "0xfff", "0xfff", "4096", "1"], "File": "rs6000-string2", "Func": "expand_strncmp_align_check", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15444, "Length": 158, "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", "=", "I", "!=", "MBB", ".", "end", "(", ")", "?", "I", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "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": "MipsSEInstrInfo44", "Func": "adjustStackPtr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15445, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isPredicable", "(", "MachineInstr", "*", "MI", ")", "const", "{", "if", "(", "!", "MI", "->", "isPredicable", "(", ")", ")", "return", "false", ";", "ARMFunctionInfo", "*", "AFI", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "if", "(", "AFI", "->", "isThumb2Function", "(", ")", ")", "{", "if", "(", "getSubtarget", "(", ")", ".", "restrictIT", "(", ")", ")", "return", "isV8EligibleForIT", "(", "MI", ")", ";", "}", "else", "{", "if", "(", "(", "MI", "->", "getDesc", "(", ")", ".", "TSFlags", "&", "ARMII", "::", "DomainMask", ")", "==", "ARMII", "::", "DomainNEON", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "instruction", "can", "be", "predicated", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARMII::DomainMask", "ARMII::DomainNEON"], "File": "ARMBaseInstrInfo (2)", "Func": "isPredicable", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15446, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "UPTInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "return", "TargetInstrInfo", "::", "isLoadFromStackSlot", "(", "MI", ",", "FrameIndex", ")", ";", "}", ""], "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": ["UPT", "UPT"], "File": "UPTInstrInfo", "Func": "isLoadFromStackSlot", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15447, "Length": 28, "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": 15448, "Length": 177, "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": ["OR1K"], "File": "OR1KTargetMachine1", "Func": "getObjFileLowering", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15449, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "SparcDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "SDLoc", "dl", "(", "N", ")", ";", "if", "(", "N", "->", "isMachineOpcode", "(", ")", ")", "{", "N", "->", "setNodeId", "(", "-", "1", ")", ";", "return", "nullptr", ";", "}", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "SPISD", "::", "GLOBAL_BASE_REG", ":", "return", "getGlobalBaseReg", "(", ")", ";", "case", "ISD", "::", "SDIV", ":", "case", "ISD", "::", "UDIV", ":", "{", "if", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i64", ")", "break", ";", "SDValue", "DivLHS", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "DivRHS", "=", "N", "->", "getOperand", "(", "1", ")", ";", "SDValue", "TopPart", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SDIV", ")", "{", "TopPart", "=", "SDValue", "(", "CurDAG", "->", "getMachineNode", "(", "SP", "::", "SRAri", ",", "dl", ",", "MVT", "::", "i32", ",", "DivLHS", ",", "CurDAG", "->", "getTargetConstant", "(", "31", ",", "dl", ",", "MVT", "::", "i32", ")", ")", ",", "0", ")", ";", "}", "else", "{", "TopPart", "=", "CurDAG", "->", "getRegister", "(", "SP", "::", "G0", ",", "MVT", "::", "i32", ")", ";", "}", "TopPart", "=", "SDValue", "(", "CurDAG", "->", "getMachineNode", "(", "SP", "::", "WRASRrr", ",", "dl", ",", "MVT", "::", "i32", ",", "TopPart", ",", "CurDAG", "->", "getRegister", "(", "SP", "::", "G0", ",", "MVT", "::", "i32", ")", ")", ",", "0", ")", ";", "TopPart", "=", "CurDAG", "->", "getCopyToReg", "(", "TopPart", ",", "dl", ",", "SP", "::", "Y", ",", "TopPart", ",", "SDValue", "(", ")", ")", ".", "getValue", "(", "1", ")", ";", "unsigned", "Opcode", "=", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SDIV", "?", "SP", "::", "SDIVrr", ":", "SP", "::", "UDIVrr", ";", "return", "CurDAG", "->", "SelectNodeTo", "(", "N", ",", "Opcode", ",", "MVT", "::", "i32", ",", "DivLHS", ",", "DivRHS", ",", "TopPart", ")", ";", "}", "case", "ISD", "::", "MULHU", ":", "case", "ISD", "::", "MULHS", ":", "{", "SDValue", "MulLHS", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "MulRHS", "=", "N", "->", "getOperand", "(", "1", ")", ";", "unsigned", "Opcode", "=", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "MULHU", "?", "SP", "::", "UMULrr", ":", "SP", "::", "SMULrr", ";", "SDNode", "*", "Mul", "=", "CurDAG", "->", "getMachineNode", "(", "Opcode", ",", "dl", ",", "MVT", "::", "i32", ",", "MVT", "::", "Glue", ",", "MulLHS", ",", "MulRHS", ")", ";", "return", "CurDAG", "->", "SelectNodeTo", "(", "N", ",", "SP", "::", "RDASR", ",", "MVT", "::", "i32", ",", "CurDAG", "->", "getRegister", "(", "SP", "::", "Y", ",", "MVT", "::", "i32", ")", ",", "SDValue", "(", "Mul", ",", "1", ")", ")", ";", "}", "}", "return", "SelectCode", "(", "N", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["Sparc", "Sparc", "1", "SPISD::GLOBAL_BASE_REG", "ISD::SDIV", "ISD::UDIV", "0", "MVT::i64", "0", "1", "ISD::SDIV", "SP::SRAri", "MVT::i32", "31", "MVT::i32", "0", "SP::G0", "MVT::i32", "SP::WRASRrr", "MVT::i32", "SP::G0", "MVT::i32", "0", "SP::Y", "1", "ISD::SDIV", "SP::SDIVrr", "SP::UDIVrr", "MVT::i32", "ISD::MULHU", "ISD::MULHS", "0", "1", "ISD::MULHU", "SP::UMULrr", "SP::SMULrr", "MVT::i32", "MVT::Glue", "SP::RDASR", "MVT::i32", "SP::Y", "MVT::i32", "1"], "File": "SparcISelDAGToDAG28", "Func": "Select", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15450, "Length": 406, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "AArch64TargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "IsMemset", ",", "bool", "ZeroMemset", ",", "bool", "MemcpyStrSrc", ",", "MachineFunction", "&", "MF", ")", "const", "{", "bool", "Fast", ";", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "Subtarget", "->", "hasFPARMv8", "(", ")", "&&", "!", "IsMemset", "&&", "Size", ">=", "16", "&&", "!", "F", "->", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", "&&", "(", "memOpAlign", "(", "SrcAlign", ",", "DstAlign", ",", "16", ")", "||", "(", "allowsMisalignedMemoryAccesses", "(", "MVT", "::", "f128", ",", "0", ",", "1", ",", "&", "Fast", ")", "&&", "Fast", ")", ")", ")", "return", "MVT", "::", "f128", ";", "if", "(", "Size", ">=", "8", "&&", "(", "memOpAlign", "(", "SrcAlign", ",", "DstAlign", ",", "8", ")", "||", "(", "allowsMisalignedMemoryAccesses", "(", "MVT", "::", "i64", ",", "0", ",", "1", ",", "&", "Fast", ")", "&&", "Fast", ")", ")", ")", "return", "MVT", "::", "i64", ";", "if", "(", "Size", ">=", "4", "&&", "(", "memOpAlign", "(", "SrcAlign", ",", "DstAlign", ",", "4", ")", "||", "(", "allowsMisalignedMemoryAccesses", "(", "MVT", "::", "i32", ",", "0", ",", "1", ",", "&", "Fast", ")", "&&", "Fast", ")", ")", ")", "return", "MVT", "::", "i32", ";", "return", "MVT", "::", "Other", ";", "}", ""], "natrual_language": ["It", "returns", "EVT", ":", ":Other", "if", "the", "type", "should", "be", "determined", "using", "generic", "target-independent", "logic", "."], "TS_V_token": ["AArch64", "AArch64", "16", "16", "MVT::f128", "0", "1", "MVT::f128", "8", "8", "MVT::i64", "0", "1", "MVT::i64", "4", "4", "MVT::i32", "0", "1", "MVT::i32", "MVT::Other"], "File": "AArch64ISelLowering (2)", "Func": "getOptimalMemOpType", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15451, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "TeeRISCRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "static", "const", "uint16_t", "ReservedCPURegs", "[", "]", "=", "{", "TeeRISC", "::", "R0", ",", "TeeRISC", "::", "R1", ",", "TeeRISC", "::", "R14", ",", "TeeRISC", "::", "R15", ",", "TeeRISC", "::", "R16", ",", "TeeRISC", "::", "R17", ",", "TeeRISC", "::", "R18", ",", "TeeRISC", "::", "R19", ",", "TeeRISC", "::", "R20", ",", "TeeRISC", "::", "R21", ",", "TeeRISC", "::", "R22", ",", "TeeRISC", "::", "R23", ",", "TeeRISC", "::", "R24", ",", "TeeRISC", "::", "R25", ",", "TeeRISC", "::", "R26", ",", "TeeRISC", "::", "R27", ",", "TeeRISC", "::", "R28", ",", "TeeRISC", "::", "R29", ",", "TeeRISC", "::", "R30", ",", "TeeRISC", "::", "R31", "}", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "typedef", "TargetRegisterClass", "::", "iterator", "RegIter", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "ReservedCPURegs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedCPURegs", "[", "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": ["TeeRISC", "TeeRISC", "TeeRISC::R0", "TeeRISC::R1", "TeeRISC::R14", "TeeRISC::R15", "TeeRISC::R16", "TeeRISC::R17", "TeeRISC::R18", "TeeRISC::R19", "TeeRISC::R20", "TeeRISC::R21", "TeeRISC::R22", "TeeRISC::R23", "TeeRISC::R24", "TeeRISC::R25", "TeeRISC::R26", "TeeRISC::R27", "TeeRISC::R28", "TeeRISC::R29", "TeeRISC::R30", "TeeRISC::R31", "0"], "File": "TeeRISCRegisterInfo", "Func": "getReservedRegs", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15452, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "(", ")", "{", "ARMTargetMachine", "::", "registerAsmPrinter", "(", "createARMCodePrinterPass", ")", ";", "}", ""], "natrual_language": ["Base", "register", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMAsmPrinter31", "Func": "Register", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15453, "Length": 12, "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", "=", "gen_add3_insn", "(", "end_addr", ",", "stack_pointer_rtx", ",", "rs", ")", ";", "if", "(", "insn", "==", "NULL", ")", "{", "emit_move_insn", "(", "end_addr", ",", "rs", ")", ";", "insn", "=", "gen_add3_insn", "(", "end_addr", ",", "end_addr", ",", "stack_pointer_rtx", ")", ";", "gcc_assert", "(", "insn", ")", ";", "}", "bool", "add_note", "=", "false", ";", "if", "(", "!", "NONJUMP_INSN_P", "(", "insn", ")", "||", "NEXT_INSN", "(", "insn", ")", ")", "add_note", "=", "true", ";", "else", "{", "rtx", "set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "set", "==", "NULL_RTX", "||", "SET_DEST", "(", "set", ")", "!=", "end_addr", "||", "GET_CODE", "(", "SET_SRC", "(", "set", ")", ")", "!=", "PLUS", "||", "XEXP", "(", "SET_SRC", "(", "set", ")", ",", "0", ")", "!=", "stack_pointer_rtx", "||", "XEXP", "(", "SET_SRC", "(", "set", ")", ",", "1", ")", "!=", "rs", ")", "add_note", "=", "true", ";", "}", "insn", "=", "emit_insn", "(", "insn", ")", ";", "if", "(", "add_note", ")", "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", "0", "1", "1", "1"], "File": "rs6000-logue", "Func": "rs6000_emit_probe_stack_range_stack_clash", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15454, "Length": 470, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "rs6000_emit_allocate_stack", "(", "HOST_WIDE_INT", "size", ",", "rtx", "copy_reg", ",", "int", "copy_off", ")", "{", "rtx_insn", "*", "insn", ";", "rtx", "stack_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "STACK_POINTER_REGNUM", ")", ";", "rtx", "tmp_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ";", "rtx", "todec", "=", "gen_int_mode", "(", "-", "size", ",", "Pmode", ")", ";", "if", "(", "INTVAL", "(", "todec", ")", "!=", "-", "size", ")", "{", "warning", "(", "0", ",", "\"stack frame too large\"", ")", ";", "emit_insn", "(", "gen_trap", "(", ")", ")", ";", "return", "0", ";", "}", "if", "(", "crtl", "->", "limit_stack", ")", "{", "if", "(", "REG_P", "(", "stack_limit_rtx", ")", "&&", "REGNO", "(", "stack_limit_rtx", ")", ">", "1", "&&", "REGNO", "(", "stack_limit_rtx", ")", "<=", "31", ")", "{", "rtx_insn", "*", "insn", "=", "gen_add3_insn", "(", "tmp_reg", ",", "stack_limit_rtx", ",", "GEN_INT", "(", "size", ")", ")", ";", "gcc_assert", "(", "insn", ")", ";", "emit_insn", "(", "insn", ")", ";", "emit_insn", "(", "gen_cond_trap", "(", "LTU", ",", "stack_reg", ",", "tmp_reg", ",", "const0_rtx", ")", ")", ";", "}", "else", "if", "(", "SYMBOL_REF_P", "(", "stack_limit_rtx", ")", "&&", "TARGET_32BIT", "&&", "DEFAULT_ABI", "==", "ABI_V4", "&&", "!", "flag_pic", ")", "{", "rtx", "toload", "=", "gen_rtx_CONST", "(", "VOIDmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_limit_rtx", ",", "GEN_INT", "(", "size", ")", ")", ")", ";", "rtx", "r11_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "11", ")", ";", "emit_move_insn", "(", "tmp_reg", ",", "r11_reg", ")", ";", "emit_insn", "(", "gen_elf_high", "(", "r11_reg", ",", "toload", ")", ")", ";", "emit_insn", "(", "gen_elf_low", "(", "r11_reg", ",", "r11_reg", ",", "toload", ")", ")", ";", "emit_insn", "(", "gen_cond_trap", "(", "LTU", ",", "stack_reg", ",", "r11_reg", ",", "const0_rtx", ")", ")", ";", "emit_move_insn", "(", "r11_reg", ",", "tmp_reg", ")", ";", "}", "else", "warning", "(", "0", ",", "\"stack limit expression is not supported\"", ")", ";", "}", "if", "(", "flag_stack_clash_protection", ")", "{", "if", "(", "size", "<", "get_stack_clash_protection_guard_size", "(", ")", ")", "dump_stack_clash_frame_info", "(", "NO_PROBE_SMALL_FRAME", ",", "true", ")", ";", "else", "{", "rtx_insn", "*", "insn", "=", "rs6000_emit_probe_stack_range_stack_clash", "(", "size", ",", "copy_reg", ")", ";", "if", "(", "copy_reg", "&&", "copy_off", ")", "emit_insn", "(", "gen_add3_insn", "(", "copy_reg", ",", "copy_reg", ",", "GEN_INT", "(", "copy_off", ")", ")", ")", ";", "return", "insn", ";", "}", "}", "if", "(", "copy_reg", ")", "{", "if", "(", "copy_off", "!=", "0", ")", "emit_insn", "(", "gen_add3_insn", "(", "copy_reg", ",", "stack_reg", ",", "GEN_INT", "(", "copy_off", ")", ")", ")", ";", "else", "emit_move_insn", "(", "copy_reg", ",", "stack_reg", ")", ";", "}", "insn", "=", "rs6000_emit_allocate_stack_1", "(", "size", ",", "stack_reg", ")", ";", "return", "insn", ";", "}", ""], "natrual_language": ["Emit", "the", "correct", "code", "for", "allocating", "stack", "space", ",", "as", "insns", ".", "If", "COPY_R12", ",", "make", "sure", "a", "copy", "of", "the", "old", "frame", "is", "left", "in", "r12", ".", "The", "generated", "code", "may", "use", "hard", "register", "0", "as", "a", "temporary", "."], "TS_V_token": ["rs6000", "0", "0", "\"stack frame too large\"", "0", "1", "31", "11", "0", "\"stack limit expression is not supported\"", "0"], "File": "rs6000-logue", "Func": "rs6000_emit_allocate_stack", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15455, "Length": 364, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"AArch64 Store Pair Suppression\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64", "\"AArch64 Store Pair Suppression\""], "File": "AArch64StorePairSuppress17", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15456, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "dump", "(", ")", "const", "{", "if", "(", "Start", ")", "dbgs", "(", ")", "<<", "\"ARM Loops: Found Loop Start: \"", "<<", "*", "Start", ";", "if", "(", "Dec", ")", "dbgs", "(", ")", "<<", "\"ARM Loops: Found Loop Dec: \"", "<<", "*", "Dec", ";", "if", "(", "End", ")", "dbgs", "(", ")", "<<", "\"ARM Loops: Found Loop End: \"", "<<", "*", "End", ";", "if", "(", "!", "VCTPs", ".", "empty", "(", ")", ")", "{", "dbgs", "(", ")", "<<", "\"ARM Loops: Found VCTP(s):\\n\"", ";", "for", "(", "auto", "*", "MI", ":", "VCTPs", ")", "dbgs", "(", ")", "<<", "\" - \"", "<<", "*", "MI", ";", "}", "if", "(", "!", "FoundAllComponents", "(", ")", ")", "dbgs", "(", ")", "<<", "\"ARM Loops: Not a low-overhead loop.\\n\"", ";", "else", "if", "(", "!", "(", "Start", "&&", "Dec", "&&", "End", ")", ")", "dbgs", "(", ")", "<<", "\"ARM Loops: Failed to find all loop components.\\n\"", ";", "}", ""], "natrual_language": ["Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "."], "TS_V_token": ["ARM", "\"ARM Loops: Found Loop Start: \"", "\"ARM Loops: Found Loop Dec: \"", "\"ARM Loops: Found Loop End: \"", "\"ARM Loops: Found VCTP(s):\\n\"", "\" - \"", "\"ARM Loops: Not a low-overhead loop.\\n\"", "\"ARM Loops: Failed to find all loop components.\\n\""], "File": "ARMLowOverheadLoops", "Func": "dump", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15457, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "releaseMemory", "(", ")", "override", "{", "ShapeBBs", ".", "clear", "(", ")", ";", "DefVisited", ".", "clear", "(", ")", ";", "BBVisitedInfo", ".", "clear", "(", ")", ";", "}", ""], "natrual_language": ["releaseMemory", "(", ")", "-", "This", "member", "can", "be", "implemented", "by", "a", "pass", "if", "it", "wants", "to", "be", "able", "to", "release", "its", "memory", "when", "it", "is", "no", "longer", "needed", "."], "TS_V_token": ["X86"], "File": "X86PreTileConfig", "Func": "releaseMemory", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15458, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16RegisterInfo", "::", "requiresFrameIndexScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "requires", "post", "PEI", "scavenging", "of", "registers", "for", "materializing", "frame", "index", "constants", "."], "TS_V_token": ["Mips", "Mips"], "File": "Mips16RegisterInfo", "Func": "requiresFrameIndexScavenging", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15459, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"ARM64 Conditional Compares\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM64", "\"ARM64 Conditional Compares\""], "File": "ARM64ConditionalCompares1", "Func": "getPassName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15460, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "DCPU16PassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createDCPU16ISelDag", "(", "getDCPU16TargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "addPass", "(", "createDCPU16Peephole", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["Dcpu16", "DCPU16", "DCPU16", "DCPU16", "DCPU16"], "File": "Dcpu16TargetMachine", "Func": "addInstSelector", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15461, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PromoteConstant", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "bool", "LocalChange", "=", "false", ";", "SmallSet", "<", "Constant", "*", ",", "8", ">", "AlreadyChecked", ";", "for", "(", "auto", "&", "MBB", ":", "F", ")", "{", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "for", "(", "unsigned", "OpIdx", "=", "0", ",", "EndOpIdx", "=", "MI", ".", "getNumOperands", "(", ")", ";", "OpIdx", "!=", "EndOpIdx", ";", "++", "OpIdx", ")", "{", "Constant", "*", "Cst", "=", "dyn_cast", "<", "Constant", ">", "(", "MI", ".", "getOperand", "(", "OpIdx", ")", ")", ";", "if", "(", "Cst", "&&", "!", "isa", "<", "GlobalValue", ">", "(", "Cst", ")", "&&", "!", "isa", "<", "ConstantExpr", ">", "(", "Cst", ")", "&&", "AlreadyChecked", ".", "insert", "(", "Cst", ")", ".", "second", ")", "LocalChange", "|=", "promoteConstant", "(", "Cst", ")", ";", "}", "}", "}", "return", "LocalChange", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["AArch64", "AArch64", "8", "0"], "File": "AArch64PromoteConstant7", "Func": "runOnFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15462, "Length": 127, "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": 15463, "Length": 335, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPreLegalizeMachineIR", "(", ")", "{", "bool", "IsOptNone", "=", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ";", "addPass", "(", "createAArch64PreLegalizeCombiner", "(", "IsOptNone", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "legalization", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine14", "Func": "addPreLegalizeMachineIR", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15464, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetLowering", "::", "HandleByVal", "(", "CCState", "*", "State", ",", "unsigned", "&", "size", ",", "unsigned", "Align", ")", "const", "{", "unsigned", "reg", "=", "State", "->", "AllocateReg", "(", "GPRArgRegs", ",", "4", ")", ";", "assert", "(", "(", "State", "->", "getCallOrPrologue", "(", ")", "==", "Prologue", "||", "State", "->", "getCallOrPrologue", "(", ")", "==", "Call", ")", "&&", "\"unhandled ParmContext\"", ")", ";", "unsigned", "NSAAOffset", "=", "State", "->", "getNextStackOffset", "(", ")", ";", "if", "(", "State", "->", "getCallOrPrologue", "(", ")", "!=", "Call", ")", "{", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "State", "->", "getInRegsParamsCount", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "RB", ",", "RE", ";", "State", "->", "getInRegsParamInfo", "(", "i", ",", "RB", ",", "RE", ")", ";", "assert", "(", "NSAAOffset", ">=", "(", "RE", "-", "RB", ")", "*", "4", "&&", "\"Stack offset for byval regs doesn't introduced anymore?\"", ")", ";", "NSAAOffset", "-=", "(", "RE", "-", "RB", ")", "*", "4", ";", "}", "}", "if", "(", "(", "ARM", "::", "R0", "<=", "reg", ")", "&&", "(", "reg", "<=", "ARM", "::", "R3", ")", ")", "{", "if", "(", "Subtarget", "->", "isAAPCS_ABI", "(", ")", "&&", "Align", ">", "4", ")", "{", "unsigned", "AlignInRegs", "=", "Align", "/", "4", ";", "unsigned", "Waste", "=", "(", "ARM", "::", "R4", "-", "reg", ")", "%", "AlignInRegs", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Waste", ";", "++", "i", ")", "reg", "=", "State", "->", "AllocateReg", "(", "GPRArgRegs", ",", "4", ")", ";", "}", "if", "(", "reg", "!=", "0", ")", "{", "unsigned", "excess", "=", "4", "*", "(", "ARM", "::", "R4", "-", "reg", ")", ";", "if", "(", "Subtarget", "->", "isAAPCS_ABI", "(", ")", "&&", "NSAAOffset", "!=", "0", "&&", "size", ">", "excess", ")", "{", "while", "(", "State", "->", "AllocateReg", "(", "GPRArgRegs", ",", "4", ")", ")", ";", "return", ";", "}", "unsigned", "ByValRegBegin", "=", "reg", ";", "unsigned", "ByValRegEnd", "=", "(", "size", "<", "excess", ")", "?", "reg", "+", "size", "/", "4", ":", "(", "unsigned", ")", "ARM", "::", "R4", ";", "State", "->", "addInRegsParamInfo", "(", "ByValRegBegin", ",", "ByValRegEnd", ")", ";", "for", "(", "unsigned", "i", "=", "reg", "+", "1", ";", "i", "!=", "ByValRegEnd", ";", "++", "i", ")", "State", "->", "AllocateReg", "(", "GPRArgRegs", ",", "4", ")", ";", "if", "(", "State", "->", "getCallOrPrologue", "(", ")", "==", "Call", ")", "{", "if", "(", "size", "<", "excess", ")", "size", "=", "0", ";", "else", "size", "-=", "excess", ";", "}", "}", "}", "}", ""], "natrual_language": ["Target-specific", "cleanup", "for", "formal", "ByVal", "parameters", "."], "TS_V_token": ["ARM", "ARM", "4", "\"unhandled ParmContext\"", "0", "4", "\"Stack offset for byval regs doesn't introduced anymore?\"", "4", "ARM::R0", "ARM::R3", "4", "4", "ARM::R4", "0", "4", "0", "4", "ARM::R4", "0", "4", "4", "ARM::R4", "1", "4", "0"], "File": "ARMISelLowering (2)1", "Func": "HandleByVal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15465, "Length": 360, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "get_scratch_register_on_entry", "(", "struct", "scratch_reg", "*", "sr", ")", "{", "int", "regno", ";", "sr", "->", "saved", "=", "false", ";", "if", "(", "TARGET_64BIT", ")", "{", "regno", "=", "R11_REG", ";", "}", "else", "{", "tree", "decl", "=", "current_function_decl", ",", "fntype", "=", "TREE_TYPE", "(", "decl", ")", ";", "bool", "fastcall_p", "=", "lookup_attribute", "(", "\"fastcall\"", ",", "TYPE_ATTRIBUTES", "(", "fntype", ")", ")", "!=", "NULL_TREE", ";", "bool", "thiscall_p", "=", "lookup_attribute", "(", "\"thiscall\"", ",", "TYPE_ATTRIBUTES", "(", "fntype", ")", ")", "!=", "NULL_TREE", ";", "bool", "static_chain_p", "=", "DECL_STATIC_CHAIN", "(", "decl", ")", ";", "int", "regparm", "=", "ix86_function_regparm", "(", "fntype", ",", "decl", ")", ";", "int", "drap_regno", "=", "crtl", "->", "drap_reg", "?", "REGNO", "(", "crtl", "->", "drap_reg", ")", ":", "INVALID_REGNUM", ";", "if", "(", "(", "regparm", "<", "1", "||", "(", "fastcall_p", "&&", "!", "static_chain_p", ")", ")", "&&", "drap_regno", "!=", "AX_REG", ")", "regno", "=", "AX_REG", ";", "else", "if", "(", "thiscall_p", "&&", "!", "static_chain_p", "&&", "drap_regno", "!=", "AX_REG", ")", "regno", "=", "AX_REG", ";", "else", "if", "(", "regparm", "<", "2", "&&", "!", "thiscall_p", "&&", "drap_regno", "!=", "DX_REG", ")", "regno", "=", "DX_REG", ";", "else", "if", "(", "regparm", "<", "3", "&&", "!", "fastcall_p", "&&", "!", "thiscall_p", "&&", "!", "static_chain_p", "&&", "drap_regno", "!=", "CX_REG", ")", "regno", "=", "CX_REG", ";", "else", "if", "(", "ix86_save_reg", "(", "BX_REG", ",", "true", ")", ")", "regno", "=", "BX_REG", ";", "else", "if", "(", "!", "(", "regparm", "==", "3", "&&", "static_chain_p", ")", "&&", "ix86_save_reg", "(", "SI_REG", ",", "true", ")", ")", "regno", "=", "SI_REG", ";", "else", "if", "(", "ix86_save_reg", "(", "DI_REG", ",", "true", ")", ")", "regno", "=", "DI_REG", ";", "else", "{", "regno", "=", "(", "drap_regno", "==", "AX_REG", "?", "DX_REG", ":", "AX_REG", ")", ";", "sr", "->", "saved", "=", "true", ";", "}", "}", "sr", "->", "reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "regno", ")", ";", "if", "(", "sr", "->", "saved", ")", "{", "rtx_insn", "*", "insn", "=", "emit_insn", "(", "gen_push", "(", "sr", "->", "reg", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "}", ""], "natrual_language": ["Return", "a", "short-lived", "scratch", "register", "for", "use", "on", "function", "entry", ".", "In", "32-bit", "mode", ",", "it", "is", "valid", "only", "after", "the", "registers", "are", "saved", "in", "the", "prologue", ".", "This", "register", "must", "be", "released", "by", "means", "of", "release_scratch_register_on_entry", "once", "it", "is", "dead", "."], "TS_V_token": ["i386", "\"fastcall\"", "\"thiscall\"", "1", "2", "3", "3", "1"], "File": "i3865", "Func": "get_scratch_register_on_entry", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15466, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sh_insert_attributes", "(", "tree", "node", ",", "tree", "*", "attributes", ")", "{", "if", "(", "TREE_CODE", "(", "node", ")", "!=", "FUNCTION_DECL", ")", "return", ";", "if", "(", "!", "DECL_P", "(", "node", ")", ")", "return", ";", "*", "sh_deferred_function_attributes_tail", "=", "*", "attributes", ";", "tree", "attrs", "=", "sh_deferred_function_attributes", ";", "if", "(", "!", "attrs", ")", "return", ";", "if", "(", "!", "lookup_attribute", "(", "\"interrupt_handler\"", ",", "attrs", ")", "&&", "!", "lookup_attribute", "(", "\"interrupt_handler\"", ",", "DECL_ATTRIBUTES", "(", "node", ")", ")", ")", "{", "if", "(", "lookup_attribute", "(", "\"trapa_handler\"", ",", "attrs", ")", "!=", "NULL_TREE", ")", "attrs", "=", "tree_cons", "(", "get_identifier", "(", "\"interrupt_handler\"", ")", ",", "NULL_TREE", ",", "attrs", ")", ";", "else", "if", "(", "lookup_attribute", "(", "\"sp_switch\"", ",", "attrs", ")", "||", "lookup_attribute", "(", "\"trap_exit\"", ",", "attrs", ")", "||", "lookup_attribute", "(", "\"nosave_low_regs\"", ",", "attrs", ")", "||", "lookup_attribute", "(", "\"resbank\"", ",", "attrs", ")", ")", "{", "tree", "*", "tail", ";", "for", "(", "tail", "=", "attributes", ";", "attrs", ";", "attrs", "=", "TREE_CHAIN", "(", "attrs", ")", ")", "{", "if", "(", "is_attribute_p", "(", "\"sp_switch\"", ",", "TREE_PURPOSE", "(", "attrs", ")", ")", "||", "is_attribute_p", "(", "\"trap_exit\"", ",", "TREE_PURPOSE", "(", "attrs", ")", ")", "||", "is_attribute_p", "(", "\"nosave_low_regs\"", ",", "TREE_PURPOSE", "(", "attrs", ")", ")", "||", "is_attribute_p", "(", "\"resbank\"", ",", "TREE_PURPOSE", "(", "attrs", ")", ")", ")", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute only applies to interrupt functions\"", ",", "TREE_PURPOSE", "(", "attrs", ")", ")", ";", "else", "{", "*", "tail", "=", "tree_cons", "(", "TREE_PURPOSE", "(", "attrs", ")", ",", "NULL_TREE", ",", "NULL_TREE", ")", ";", "tail", "=", "&", "TREE_CHAIN", "(", "*", "tail", ")", ";", "}", "}", "attrs", "=", "*", "attributes", ";", "}", "}", "*", "attributes", "=", "attrs", ";", "sh_deferred_function_attributes", "=", "NULL_TREE", ";", "sh_deferred_function_attributes_tail", "=", "&", "sh_deferred_function_attributes", ";", "return", ";", "}", ""], "natrual_language": ["Generate", "'handle_interrupt", "'", "attribute", "for", "decls"], "TS_V_token": ["sh", "\"interrupt_handler\"", "\"interrupt_handler\"", "\"trapa_handler\"", "\"interrupt_handler\"", "\"sp_switch\"", "\"trap_exit\"", "\"nosave_low_regs\"", "\"resbank\"", "\"sp_switch\"", "\"trap_exit\"", "\"nosave_low_regs\"", "\"resbank\"", "\"%qE attribute only applies to interrupt functions\""], "File": "sh", "Func": "sh_insert_attributes", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15467, "Length": 256, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitAssignment", "(", "MCSymbol", "*", "Symbol", ",", "const", "MCExpr", "*", "Value", ")", "override", "{", "if", "(", "Value", "->", "getKind", "(", ")", "!=", "MCExpr", "::", "SymbolRef", ")", "return", ";", "const", "MCSymbol", "&", "RhsSym", "=", "static_cast", "<", "const", "MCSymbolRefExpr", "*", ">", "(", "Value", ")", "->", "getSymbol", "(", ")", ";", "MCSymbolData", "&", "Data", "=", "getStreamer", "(", ")", ".", "getOrCreateSymbolData", "(", "&", "RhsSym", ")", ";", "MCSymbolData", "&", "SymbolData", "=", "getStreamer", "(", ")", ".", "getOrCreateSymbolData", "(", "Symbol", ")", ";", "unsigned", "Other", "=", "MCELF", "::", "getOther", "(", "SymbolData", ")", "<<", "2", ";", "Other", "&=", "~", "ELF", "::", "STO_PPC64_LOCAL_MASK", ";", "Other", "|=", "(", "MCELF", "::", "getOther", "(", "Data", ")", "<<", "2", ")", "&", "ELF", "::", "STO_PPC64_LOCAL_MASK", ";", "MCELF", "::", "setOther", "(", "SymbolData", ",", "Other", ">>", "2", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "assignment", "of", "Value", "to", "Symbol", "."], "TS_V_token": ["PowerPC", "2", "PPC", "2", "PPC", "2"], "File": "PPCMCTargetDesc12", "Func": "emitAssignment", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15468, "Length": 122, "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": 15469, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCAsmParser", "::", "validateTargetOperandClass", "(", "MCParsedAsmOperand", "*", "AsmOp", ",", "unsigned", "Kind", ")", "{", "int64_t", "ImmVal", ";", "switch", "(", "Kind", ")", "{", "case", "MCK_0", ":", "ImmVal", "=", "0", ";", "break", ";", "case", "MCK_1", ":", "ImmVal", "=", "1", ";", "break", ";", "case", "MCK_2", ":", "ImmVal", "=", "2", ";", "break", ";", "case", "MCK_3", ":", "ImmVal", "=", "3", ";", "break", ";", "default", ":", "return", "Match_InvalidOperand", ";", "}", "PPCOperand", "*", "Op", "=", "static_cast", "<", "PPCOperand", "*", ">", "(", "AsmOp", ")", ";", "if", "(", "Op", "->", "isImm", "(", ")", "&&", "Op", "->", "getImm", "(", ")", "==", "ImmVal", ")", "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": ["PowerPC", "PPC", "0", "1", "2", "3", "PPC", "PPC"], "File": "PPCAsmParser (2)", "Func": "validateTargetOperandClass", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15470, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "exact_dependency_1", "(", "rtx", "addr", ",", "rtx", "insn", ")", "{", "enum", "rtx_code", "code", ";", "const", "char", "*", "format_ptr", ";", "int", "i", ",", "j", ";", "code", "=", "GET_CODE", "(", "insn", ")", ";", "switch", "(", "code", ")", "{", "case", "MEM", ":", "if", "(", "rtx_equal_p", "(", "addr", ",", "insn", ")", ")", "return", "true", ";", "break", ";", "case", "REG", ":", "CASE_CONST_ANY", ":", "case", "SYMBOL_REF", ":", "case", "CODE_LABEL", ":", "case", "PC", ":", "case", "EXPR_LIST", ":", "return", "false", ";", "default", ":", "break", ";", "}", "format_ptr", "=", "GET_RTX_FORMAT", "(", "code", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "GET_RTX_LENGTH", "(", "code", ")", ";", "i", "++", ")", "{", "switch", "(", "*", "format_ptr", "++", ")", "{", "case", "'e'", ":", "if", "(", "exact_dependency_1", "(", "addr", ",", "XEXP", "(", "insn", ",", "i", ")", ")", ")", "return", "true", ";", "break", ";", "case", "'E'", ":", "for", "(", "j", "=", "0", ";", "j", "<", "XVECLEN", "(", "insn", ",", "i", ")", ";", "j", "++", ")", "if", "(", "exact_dependency_1", "(", "addr", ",", "XVECEXP", "(", "insn", ",", "i", ",", "j", ")", ")", ")", "return", "true", ";", "break", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "exact_store_load_dependency", ".", "Return", "true", "if", "addr", "is", "found", "in", "insn", "."], "TS_V_token": ["i386", "0", "0"], "File": "x86-tune-sched", "Func": "exact_dependency_1", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15471, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "rs6000_emit_eqne", "(", "machine_mode", "mode", ",", "rtx", "op1", ",", "rtx", "op2", ",", "rtx", "scratch", ")", "{", "if", "(", "op2", "==", "const0_rtx", ")", "return", "op1", ";", "if", "(", "GET_CODE", "(", "scratch", ")", "==", "SCRATCH", ")", "scratch", "=", "gen_reg_rtx", "(", "mode", ")", ";", "if", "(", "logical_operand", "(", "op2", ",", "mode", ")", ")", "emit_insn", "(", "gen_rtx_SET", "(", "scratch", ",", "gen_rtx_XOR", "(", "mode", ",", "op1", ",", "op2", ")", ")", ")", ";", "else", "emit_insn", "(", "gen_rtx_SET", "(", "scratch", ",", "gen_rtx_PLUS", "(", "mode", ",", "op1", ",", "negate_rtx", "(", "mode", ",", "op2", ")", ")", ")", ")", ";", "return", "scratch", ";", "}", ""], "natrual_language": ["Emit", "RTL", "that", "sets", "a", "register", "to", "zero", "if", "OP1", "and", "OP2", "are", "equal", ".", "SCRATCH", "can", "be", "used", "as", "that", "dest", "register", ".", "Return", "the", "dest", "register", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_emit_eqne", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15472, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "X86TargetLowering", "::", "getPICJumpTableRelocBaseExpr", "(", "const", "MachineFunction", "*", "MF", ",", "unsigned", "JTI", ",", "MCContext", "&", "Ctx", ")", "const", "{", "if", "(", "Subtarget", ".", "isPICStyleRIPRel", "(", ")", ")", "return", "TargetLowering", "::", "getPICJumpTableRelocBaseExpr", "(", "MF", ",", "JTI", ",", "Ctx", ")", ";", "return", "MCSymbolRefExpr", "::", "create", "(", "MF", "->", "getPICBaseSymbol", "(", ")", ",", "Ctx", ")", ";", "}", ""], "natrual_language": ["This", "returns", "the", "relocation", "base", "for", "the", "given", "PIC", "jumptable", ",", "the", "same", "as", "getPICJumpTableRelocBase", ",", "but", "as", "an", "MCExpr", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering (2)5", "Func": "getPICJumpTableRelocBaseExpr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15473, "Length": 56, "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": ["Cpu0", "0"], "File": "Cpu0InstrInfo", "Func": "loadRegFromStackSlot", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15474, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_emit_approx_div", "(", "rtx", "quo", ",", "rtx", "num", ",", "rtx", "den", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "quo", ")", ";", "if", "(", "GET_MODE_INNER", "(", "mode", ")", "==", "HFmode", ")", "return", "false", ";", "bool", "use_approx_division_p", "=", "(", "flag_mlow_precision_div", "||", "(", "aarch64_tune_params", ".", "approx_modes", "->", "division", "&", "AARCH64_APPROX_MODE", "(", "mode", ")", ")", ")", ";", "if", "(", "!", "flag_finite_math_only", "||", "flag_trapping_math", "||", "!", "flag_unsafe_math_optimizations", "||", "optimize_function_for_size_p", "(", "cfun", ")", "||", "!", "use_approx_division_p", ")", "return", "false", ";", "if", "(", "!", "TARGET_SIMD", "&&", "VECTOR_MODE_P", "(", "mode", ")", ")", "return", "false", ";", "rtx", "xrcp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_aarch64_frecpe", "(", "mode", ",", "xrcp", ",", "den", ")", ")", ";", "int", "iterations", "=", "(", "GET_MODE_INNER", "(", "mode", ")", "==", "DFmode", ")", "?", "3", ":", "2", ";", "if", "(", "flag_mlow_precision_div", ")", "iterations", "--", ";", "rtx", "xtmp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "while", "(", "iterations", "--", ")", "{", "emit_insn", "(", "gen_aarch64_frecps", "(", "mode", ",", "xtmp", ",", "xrcp", ",", "den", ")", ")", ";", "if", "(", "iterations", ">", "0", ")", "emit_set_insn", "(", "xrcp", ",", "gen_rtx_MULT", "(", "mode", ",", "xrcp", ",", "xtmp", ")", ")", ";", "}", "if", "(", "num", "!=", "CONST1_RTX", "(", "mode", ")", ")", "{", "rtx", "xnum", "=", "force_reg", "(", "mode", ",", "num", ")", ";", "emit_set_insn", "(", "xrcp", ",", "gen_rtx_MULT", "(", "mode", ",", "xrcp", ",", "xnum", ")", ")", ";", "}", "emit_set_insn", "(", "quo", ",", "gen_rtx_MULT", "(", "mode", ",", "xrcp", ",", "xtmp", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Emit", "the", "instruction", "sequence", "to", "compute", "the", "approximation", "for", "the", "division", "of", "NUM", "by", "DEN", "in", "QUO", "and", "return", "whether", "the", "sequence", "was", "emitted", "or", "not", "."], "TS_V_token": ["aarch64", "3", "2", "0"], "File": "aarch646", "Func": "aarch64_emit_approx_div", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15475, "Length": 232, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "print_slot", "(", "rtx_sequence", "*", "seq", ")", "{", "final_scan_insn", "(", "seq", "->", "insn", "(", "1", ")", ",", "asm_out_file", ",", "optimize", ",", "1", ",", "NULL", ")", ";", "seq", "->", "insn", "(", "1", ")", "->", "set_deleted", "(", ")", ";", "}", ""], "natrual_language": ["Print", "an", "instruction", "which", "would", "have", "gone", "into", "a", "delay", "slot", "after", "another", "instruction", ",", "but", "could", "n't", "because", "the", "other", "instruction", "expanded", "into", "a", "sequence", "where", "putting", "the", "slot", "insn", "at", "the", "end", "would", "n't", "work", "."], "TS_V_token": ["sh", "1", "1", "1"], "File": "sh", "Func": "print_slot", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15476, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "unique_ptr", "<", "MCObjectWriter", ">", "createObjectWriter", "(", "raw_pwrite_stream", "&", "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": "SystemZMCAsmBackend1", "Func": "createObjectWriter", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15477, "Length": 24, "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", ",", "mode", ",", "op1", ",", "mode", ",", "XEXP", "(", "rem", ",", "0", ")", ",", "Pmode", ")", ";", "*", "quot_p", "=", "quot", ";", "*", "rem_p", "=", "rem", ";", "}", ""], "natrual_language": ["Generate", "call", "to", "__divmoddi4", "."], "TS_V_token": ["i386", "0"], "File": "i3868", "Func": "ix86_expand_divmod_libfunc", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15478, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MLxExpansion", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "if", "(", "skipFunction", "(", "*", "Fn", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "TII", "=", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "Fn", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "Fn", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "Fn", ".", "getRegInfo", "(", ")", ";", "const", "ARMSubtarget", "*", "STI", "=", "&", "Fn", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "if", "(", "!", "STI", "->", "expandMLx", "(", ")", ")", "return", "false", ";", "isLikeA9", "=", "STI", "->", "isLikeA9", "(", ")", "||", "STI", "->", "isSwift", "(", ")", ";", "isSwift", "=", "STI", "->", "isSwift", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "Fn", ")", "Modified", "|=", "ExpandFPMLxInstructions", "(", "MBB", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "MLxExpansionPass (2)1", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15479, "Length": 139, "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": ["powerpcspe", "0", "0", "0", "0"], "File": "powerpcspe", "Func": "rs6000_parm_needs_stack", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15480, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetLowering", "::", "isCheapToSpeculateCttz", "(", ")", "const", "{", "return", "Subtarget", ".", "hasMips32", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "cheap", "to", "speculate", "a", "call", "to", "intrinsic", "cttz", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsISelLowering (2)4", "Func": "isCheapToSpeculateCttz", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15481, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86DAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "OptForSize", "=", "MF", "->", "getFunction", "(", ")", ".", "optForSize", "(", ")", ";", "OptForMinSize", "=", "MF", "->", "getFunction", "(", ")", ".", "optForMinSize", "(", ")", ";", "assert", "(", "(", "!", "OptForMinSize", "||", "OptForSize", ")", "&&", "\"OptForMinSize implies OptForSize\"", ")", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "&", "*", "I", "++", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "!", "Subtarget", "->", "useRetpoline", "(", ")", "&&", "(", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", "&&", "!", "Subtarget", "->", "slowTwoMemOps", "(", ")", ")", "||", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "TC_RETURN", "&&", "(", "Subtarget", "->", "is64Bit", "(", ")", "||", "!", "getTargetMachine", "(", ")", ".", "isPositionIndependent", "(", ")", ")", ")", ")", ")", "{", "bool", "HasCallSeq", "=", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", ";", "SDValue", "Chain", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Load", "=", "N", "->", "getOperand", "(", "1", ")", ";", "if", "(", "!", "isCalleeLoad", "(", "Load", ",", "Chain", ",", "HasCallSeq", ")", ")", "continue", ";", "moveBelowOrigChain", "(", "CurDAG", ",", "Load", ",", "SDValue", "(", "N", ",", "0", ")", ",", "Chain", ")", ";", "++", "NumLoadMoved", ";", "continue", ";", "}", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_ROUND", "&&", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "MVT", "SrcVT", "=", "N", "->", "getOperand", "(", "0", ")", ".", "getSimpleValueType", "(", ")", ";", "MVT", "DstVT", "=", "N", "->", "getSimpleValueType", "(", "0", ")", ";", "if", "(", "SrcVT", ".", "isVector", "(", ")", "||", "DstVT", ".", "isVector", "(", ")", ")", "continue", ";", "const", "X86TargetLowering", "*", "X86Lowering", "=", "static_cast", "<", "const", "X86TargetLowering", "*", ">", "(", "TLI", ")", ";", "bool", "SrcIsSSE", "=", "X86Lowering", "->", "isScalarFPTypeInSSEReg", "(", "SrcVT", ")", ";", "bool", "DstIsSSE", "=", "X86Lowering", "->", "isScalarFPTypeInSSEReg", "(", "DstVT", ")", ";", "if", "(", "SrcIsSSE", "&&", "DstIsSSE", ")", "continue", ";", "if", "(", "!", "SrcIsSSE", "&&", "!", "DstIsSSE", ")", "{", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "if", "(", "N", "->", "getConstantOperandVal", "(", "1", ")", ")", "continue", ";", "}", "MVT", "MemVT", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_ROUND", ")", "MemVT", "=", "DstVT", ";", "else", "MemVT", "=", "SrcIsSSE", "?", "SrcVT", ":", "DstVT", ";", "SDValue", "MemTmp", "=", "CurDAG", "->", "CreateStackTemporary", "(", "MemVT", ")", ";", "SDLoc", "dl", "(", "N", ")", ";", "SDValue", "Store", "=", "CurDAG", "->", "getTruncStore", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "dl", ",", "N", "->", "getOperand", "(", "0", ")", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ")", ";", "SDValue", "Result", "=", "CurDAG", "->", "getExtLoad", "(", "ISD", "::", "EXTLOAD", ",", "dl", ",", "DstVT", ",", "Store", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ")", ";", "--", "I", ";", "CurDAG", "->", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "0", ")", ",", "Result", ")", ";", "++", "I", ";", "CurDAG", "->", "DeleteNode", "(", "N", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["X86", "X86", "\"OptForMinSize implies OptForSize\"", "X86ISD::CALL", "X86ISD::TC_RETURN", "X86ISD::CALL", "0", "1", "0", "ISD::FP_ROUND", "ISD::FP_EXTEND", "0", "0", "X86", "X86", "X86", "X86", "X86", "ISD::FP_EXTEND", "1", "ISD::FP_ROUND", "0", "ISD::EXTLOAD", "0"], "File": "X86ISelDAGToDAG122", "Func": "PreprocessISelDAG", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15482, "Length": 486, "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": 15483, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "matchBitfieldExtractFromSExtInReg", "(", "MachineInstr", "&", "MI", ",", "MachineRegisterInfo", "&", "MRI", ",", "std", "::", "function", "<", "void", "(", "MachineIRBuilder", "&", ")", ">", "&", "MatchInfo", ")", "{", "assert", "(", "MI", ".", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "G_SEXT_INREG", ")", ";", "Register", "Dst", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "Register", "Src", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "int64_t", "Width", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "LLT", "Ty", "=", "MRI", ".", "getType", "(", "Src", ")", ";", "assert", "(", "(", "Ty", "==", "LLT", "::", "scalar", "(", "32", ")", "||", "Ty", "==", "LLT", "::", "scalar", "(", "64", ")", ")", "&&", "\"Unexpected type for G_SEXT_INREG?\"", ")", ";", "Register", "ShiftSrc", ";", "int64_t", "ShiftImm", ";", "if", "(", "!", "mi_match", "(", "Src", ",", "MRI", ",", "m_OneNonDBGUse", "(", "m_any_of", "(", "m_GAShr", "(", "m_Reg", "(", "ShiftSrc", ")", ",", "m_ICst", "(", "ShiftImm", ")", ")", ",", "m_GLShr", "(", "m_Reg", "(", "ShiftSrc", ")", ",", "m_ICst", "(", "ShiftImm", ")", ")", ")", ")", ")", ")", "return", "false", ";", "if", "(", "ShiftImm", "<", "0", "||", "ShiftImm", "+", "Width", ">", "Ty", ".", "getSizeInBits", "(", ")", ")", "return", "false", ";", "MatchInfo", "=", "[", "=", "]", "(", "MachineIRBuilder", "&", "B", ")", "{", "auto", "Cst1", "=", "B", ".", "buildConstant", "(", "Ty", ",", "ShiftImm", ")", ";", "auto", "Cst2", "=", "B", ".", "buildConstant", "(", "Ty", ",", "Width", ")", ";", "B", ".", "buildInstr", "(", "TargetOpcode", "::", "G_SBFX", ",", "{", "Dst", "}", ",", "{", "ShiftSrc", ",", "Cst1", ",", "Cst2", "}", ")", ";", "}", ";", "return", "true", ";", "}", ""], "natrual_language": ["Form", "a", "G_SBFX", "from", "a", "G_SEXT_INREG", "fed", "by", "a", "right", "shift", "."], "TS_V_token": ["AArch64", "0", "1", "2", "32", "64", "\"Unexpected type for G_SEXT_INREG?\"", "0"], "File": "AArch64PostLegalizerCombiner11", "Func": "matchBitfieldExtractFromSExtInReg", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15484, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "ARMTargetLowering", "::", "shouldExpandAtomicRMWInIR", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "if", "(", "AI", "->", "isFloatingPointOperation", "(", ")", ")", "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)6", "Func": "shouldExpandAtomicRMWInIR", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15485, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseRegisterInfo", "::", "canRealignStack", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "return", "(", "RealignStack", "&&", "!", "AFI", "->", "isThumb1OnlyFunction", "(", ")", "&&", "!", "MFI", "->", "hasVarSizedObjects", "(", ")", ")", ";", "}", ""], "natrual_language": ["True", "if", "the", "stack", "can", "be", "realigned", "for", "the", "target", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "ARMBaseRegisterInfo12", "Func": "canRealignStack", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15486, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseRegisterInfo", "::", "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": ["ARM", "ARM"], "File": "ARMBaseRegisterInfo", "Func": "requiresFrameIndexScavenging", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15487, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "char", "*", "rs6000_savres_routine_name", "(", "int", "regno", ",", "int", "sel", ")", "{", "const", "char", "*", "prefix", "=", "\"\"", ";", "const", "char", "*", "suffix", "=", "\"\"", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", ")", "{", "if", "(", "TARGET_64BIT", ")", "goto", "aix_names", ";", "if", "(", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_GPR", ")", "prefix", "=", "(", "sel", "&", "SAVRES_SAVE", ")", "?", "\"_savegpr_\"", ":", "\"_restgpr_\"", ";", "else", "if", "(", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_FPR", ")", "prefix", "=", "(", "sel", "&", "SAVRES_SAVE", ")", "?", "\"_savefpr_\"", ":", "\"_restfpr_\"", ";", "else", "if", "(", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_VR", ")", "prefix", "=", "(", "sel", "&", "SAVRES_SAVE", ")", "?", "\"_savevr_\"", ":", "\"_restvr_\"", ";", "else", "abort", "(", ")", ";", "if", "(", "(", "sel", "&", "SAVRES_LR", ")", ")", "suffix", "=", "\"_x\"", ";", "}", "else", "if", "(", "DEFAULT_ABI", "==", "ABI_AIX", "||", "DEFAULT_ABI", "==", "ABI_ELFv2", ")", "{", "gcc_assert", "(", "!", "TARGET_AIX", "||", "(", "sel", "&", "SAVRES_REG", ")", "!=", "SAVRES_GPR", ")", ";", "aix_names", ":", "if", "(", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_GPR", ")", "prefix", "=", "(", "(", "sel", "&", "SAVRES_SAVE", ")", "?", "(", "(", "sel", "&", "SAVRES_LR", ")", "?", "\"_savegpr0_\"", ":", "\"_savegpr1_\"", ")", ":", "(", "(", "sel", "&", "SAVRES_LR", ")", "?", "\"_restgpr0_\"", ":", "\"_restgpr1_\"", ")", ")", ";", "else", "if", "(", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_FPR", ")", "{", "if", "(", "(", "sel", "&", "SAVRES_LR", ")", ")", "prefix", "=", "(", "(", "sel", "&", "SAVRES_SAVE", ")", "?", "\"_savefpr_\"", ":", "\"_restfpr_\"", ")", ";", "else", "{", "prefix", "=", "(", "sel", "&", "SAVRES_SAVE", ")", "?", "SAVE_FP_PREFIX", ":", "RESTORE_FP_PREFIX", ";", "suffix", "=", "(", "sel", "&", "SAVRES_SAVE", ")", "?", "SAVE_FP_SUFFIX", ":", "RESTORE_FP_SUFFIX", ";", "}", "}", "else", "if", "(", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_VR", ")", "prefix", "=", "(", "sel", "&", "SAVRES_SAVE", ")", "?", "\"_savevr_\"", ":", "\"_restvr_\"", ";", "else", "abort", "(", ")", ";", "}", "if", "(", "DEFAULT_ABI", "==", "ABI_DARWIN", ")", "{", "prefix", "=", "(", "sel", "&", "SAVRES_SAVE", ")", "?", "\"save\"", ":", "\"rest\"", ";", "if", "(", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_GPR", ")", "sprintf", "(", "savres_routine_name", ",", "\"*%sGPR%s%s%.0d ; %s r%d-r31\"", ",", "prefix", ",", "(", "(", "sel", "&", "SAVRES_LR", ")", "?", "\"x\"", ":", "\"\"", ")", ",", "(", "regno", "==", "13", "?", "\"\"", ":", "\"+\"", ")", ",", "(", "regno", "-", "13", ")", "*", "4", ",", "prefix", ",", "regno", ")", ";", "else", "if", "(", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_FPR", ")", "sprintf", "(", "savres_routine_name", ",", "\"*%sFP%s%.0d ; %s f%d-f31\"", ",", "prefix", ",", "(", "regno", "==", "14", "?", "\"\"", ":", "\"+\"", ")", ",", "(", "regno", "-", "14", ")", "*", "4", ",", "prefix", ",", "regno", ")", ";", "else", "if", "(", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_VR", ")", "sprintf", "(", "savres_routine_name", ",", "\"*%sVEC%s%.0d ; %s v%d-v31\"", ",", "prefix", ",", "(", "regno", "==", "20", "?", "\"\"", ":", "\"+\"", ")", ",", "(", "regno", "-", "20", ")", "*", "8", ",", "prefix", ",", "regno", ")", ";", "else", "abort", "(", ")", ";", "}", "else", "sprintf", "(", "savres_routine_name", ",", "\"%s%d%s\"", ",", "prefix", ",", "regno", ",", "suffix", ")", ";", "return", "savres_routine_name", ";", "}", ""], "natrual_language": ["Return", "the", "name", "for", "an", "out-of-line", "register", "save/restore", "routine", ".", "We", "are", "saving/restoring", "GPRs", "if", "GPR", "is", "true", "."], "TS_V_token": ["rs6000", "\"\"", "\"\"", "\"_savegpr_\"", "\"_restgpr_\"", "\"_savefpr_\"", "\"_restfpr_\"", "\"_savevr_\"", "\"_restvr_\"", "\"_x\"", "\"_savegpr0_\"", "\"_savegpr1_\"", "\"_restgpr0_\"", "\"_restgpr1_\"", "\"_savefpr_\"", "\"_restfpr_\"", "\"_savevr_\"", "\"_restvr_\"", "\"save\"", "\"rest\"", "\"*%sGPR%s%s%.0d ; %s r%d-r31\"", "\"x\"", "\"\"", "13", "\"\"", "\"+\"", "13", "4", "\"*%sFP%s%.0d ; %s f%d-f31\"", "14", "\"\"", "\"+\"", "14", "4", "\"*%sVEC%s%.0d ; %s v%d-v31\"", "20", "\"\"", "\"+\"", "20", "8", "\"%s%d%s\""], "File": "rs6000-logue", "Func": "rs6000_savres_routine_name", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15488, "Length": 469, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64TargetMachine", "::", "AArch64TargetMachine", "(", "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", ",", "bool", "LittleEndian", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "Options", ".", "MCOptions", ",", "LittleEndian", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "TT", ",", "RM", ")", ",", "getEffectiveAArch64CodeModel", "(", "TT", ",", "CM", ",", "JIT", ")", ",", "OL", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", ",", "isLittle", "(", "LittleEndian", ")", "{", "initAsmInfo", "(", ")", ";", "if", "(", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "{", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "this", "->", "Options", ".", "NoTrapAfterNoreturn", "=", "true", ";", "}", "if", "(", "getMCAsmInfo", "(", ")", "->", "usesWindowsCFI", "(", ")", ")", "{", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "}", "if", "(", "getOptLevel", "(", ")", "<=", "EnableGlobalISelAtO", "&&", "TT", ".", "getArch", "(", ")", "!=", "Triple", "::", "aarch64_32", "&&", "!", "(", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", "&&", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", ")", "{", "setGlobalISel", "(", "true", ")", ";", "setGlobalISelAbort", "(", "GlobalISelAbortMode", "::", "Disable", ")", ";", "}", "setMachineOutliner", "(", "true", ")", ";", "setSupportsDefaultOutlining", "(", "true", ")", ";", "}", ""], "natrual_language": ["Create", "an", "AArch64", "architecture", "model", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine15", "Func": "AArch64TargetMachine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15489, "Length": 220, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "llvm", "::", "FastISel", "*", "ARM", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "funcInfo", ")", "{", "const", "TargetMachine", "&", "TM", "=", "funcInfo", ".", "MF", "->", "getTarget", "(", ")", ";", "const", "ARMSubtarget", "*", "Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "if", "(", "Subtarget", "->", "isTargetDarwin", "(", ")", "&&", "!", "Subtarget", "->", "isThumb1Only", "(", ")", "&&", "!", "DisableARMFastISel", ")", "return", "new", "ARMFastISel", "(", "funcInfo", ")", ";", "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", "ARM", "0"], "File": "ARMFastISel26", "Func": "createFastISel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15490, "Length": 70, "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": 15491, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aapcs_vfp_allocate", "(", "CUMULATIVE_ARGS", "*", "pcum", ",", "machine_mode", "mode", ",", "const_tree", "type", "ATTRIBUTE_UNUSED", ")", "{", "int", "rmode_size", "=", "MAX", "(", "GET_MODE_SIZE", "(", "pcum", "->", "aapcs_vfp_rmode", ")", ",", "GET_MODE_SIZE", "(", "SFmode", ")", ")", ";", "int", "shift", "=", "rmode_size", "/", "GET_MODE_SIZE", "(", "SFmode", ")", ";", "unsigned", "mask", "=", "(", "1", "<<", "(", "shift", "*", "pcum", "->", "aapcs_vfp_rcount", ")", ")", "-", "1", ";", "int", "regno", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "NUM_VFP_ARG_REGS", ";", "regno", "+=", "shift", ")", "if", "(", "(", "(", "pcum", "->", "aapcs_vfp_regs_free", ">>", "regno", ")", "&", "mask", ")", "==", "mask", ")", "{", "pcum", "->", "aapcs_vfp_reg_alloc", "=", "mask", "<<", "regno", ";", "if", "(", "mode", "==", "BLKmode", "||", "(", "mode", "==", "TImode", "&&", "!", "(", "TARGET_NEON", "||", "TARGET_HAVE_MVE", ")", ")", "||", "!", "arm_hard_regno_mode_ok", "(", "FIRST_VFP_REGNUM", "+", "regno", ",", "mode", ")", ")", "{", "int", "i", ";", "int", "rcount", "=", "pcum", "->", "aapcs_vfp_rcount", ";", "int", "rshift", "=", "shift", ";", "machine_mode", "rmode", "=", "pcum", "->", "aapcs_vfp_rmode", ";", "rtx", "par", ";", "if", "(", "!", "(", "TARGET_NEON", "||", "TARGET_HAVE_MVE", ")", ")", "{", "if", "(", "rmode", "==", "V2SImode", ")", "rmode", "=", "DImode", ";", "else", "if", "(", "rmode", "==", "V4SImode", ")", "{", "rmode", "=", "DImode", ";", "rcount", "*=", "2", ";", "rshift", "/=", "2", ";", "}", "}", "par", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "rtvec_alloc", "(", "rcount", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "rcount", ";", "i", "++", ")", "{", "rtx", "tmp", "=", "gen_rtx_REG", "(", "rmode", ",", "FIRST_VFP_REGNUM", "+", "regno", "+", "i", "*", "rshift", ")", ";", "tmp", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "tmp", ",", "GEN_INT", "(", "i", "*", "GET_MODE_SIZE", "(", "rmode", ")", ")", ")", ";", "XVECEXP", "(", "par", ",", "0", ",", "i", ")", "=", "tmp", ";", "}", "pcum", "->", "aapcs_reg", "=", "par", ";", "}", "else", "pcum", "->", "aapcs_reg", "=", "gen_rtx_REG", "(", "mode", ",", "FIRST_VFP_REGNUM", "+", "regno", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "the", "allocate", "field", "in", "aapcs_cp_arg_layout", ".", "See", "the", "comment", "there", "for", "the", "behaviour", "of", "this", "function", "."], "TS_V_token": ["arm", "1", "1", "0", "2", "2", "0", "0"], "File": "arm", "Func": "aapcs_vfp_allocate", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15492, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MandarinTargetLowering", "::", "withTargetFlags", "(", "SDValue", "Op", ",", "unsigned", "TF", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "const", "GlobalAddressSDNode", "*", "GA", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetGlobalAddress", "(", "GA", "->", "getGlobal", "(", ")", ",", "SDLoc", "(", "GA", ")", ",", "GA", "->", "getValueType", "(", "0", ")", ",", "GA", "->", "getOffset", "(", ")", ",", "TF", ")", ";", "if", "(", "const", "ConstantPoolSDNode", "*", "CP", "=", "dyn_cast", "<", "ConstantPoolSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetConstantPool", "(", "CP", "->", "getConstVal", "(", ")", ",", "CP", "->", "getValueType", "(", "0", ")", ",", "CP", "->", "getAlignment", "(", ")", ",", "CP", "->", "getOffset", "(", ")", ",", "TF", ")", ";", "if", "(", "const", "BlockAddressSDNode", "*", "BA", "=", "dyn_cast", "<", "BlockAddressSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetBlockAddress", "(", "BA", "->", "getBlockAddress", "(", ")", ",", "Op", ".", "getValueType", "(", ")", ",", "0", ",", "TF", ")", ";", "if", "(", "const", "ExternalSymbolSDNode", "*", "ES", "=", "dyn_cast", "<", "ExternalSymbolSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetExternalSymbol", "(", "ES", "->", "getSymbol", "(", ")", ",", "ES", "->", "getValueType", "(", "0", ")", ",", "TF", ")", ";", "llvm_unreachable", "(", "\"Unhandled address SDNode\"", ")", ";", "}", ""], "natrual_language": ["}", "Custom", "DAGCombine"], "TS_V_token": ["Mandarin", "0", "0", "0", "0", "\"Unhandled address SDNode\""], "File": "MandarinISelLowering", "Func": "withTargetFlags", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15493, "Length": 191, "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", ".", "getSubtarget", "(", ")", ".", "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": "ARMBaseRegisterInfo37", "Func": "needsFrameBaseReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15494, "Length": 323, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AvoidSFBPass", "::", "buildCopy", "(", "MachineInstr", "*", "LoadInst", ",", "unsigned", "NLoadOpcode", ",", "int64_t", "LoadDisp", ",", "MachineInstr", "*", "StoreInst", ",", "unsigned", "NStoreOpcode", ",", "int64_t", "StoreDisp", ",", "unsigned", "Size", ",", "int64_t", "LMMOffset", ",", "int64_t", "SMMOffset", ")", "{", "MachineOperand", "&", "LoadBase", "=", "getBaseOperand", "(", "LoadInst", ")", ";", "MachineOperand", "&", "StoreBase", "=", "getBaseOperand", "(", "StoreInst", ")", ";", "MachineBasicBlock", "*", "MBB", "=", "LoadInst", "->", "getParent", "(", ")", ";", "MachineMemOperand", "*", "LMMO", "=", "*", "LoadInst", "->", "memoperands_begin", "(", ")", ";", "MachineMemOperand", "*", "SMMO", "=", "*", "StoreInst", "->", "memoperands_begin", "(", ")", ";", "unsigned", "Reg1", "=", "MRI", "->", "createVirtualRegister", "(", "TII", "->", "getRegClass", "(", "TII", "->", "get", "(", "NLoadOpcode", ")", ",", "0", ",", "TRI", ",", "*", "(", "MBB", "->", "getParent", "(", ")", ")", ")", ")", ";", "BuildMI", "(", "*", "MBB", ",", "LoadInst", ",", "LoadInst", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "NLoadOpcode", ")", ",", "Reg1", ")", ".", "add", "(", "LoadBase", ")", ".", "addImm", "(", "1", ")", ".", "addReg", "(", "X86", "::", "NoRegister", ")", ".", "addImm", "(", "LoadDisp", ")", ".", "addReg", "(", "X86", "::", "NoRegister", ")", ".", "addMemOperand", "(", "MBB", "->", "getParent", "(", ")", "->", "getMachineMemOperand", "(", "LMMO", ",", "LMMOffset", ",", "Size", ")", ")", ";", "DEBUG", "(", "LoadInst", "->", "getPrevNode", "(", ")", "->", "dump", "(", ")", ")", ";", "MachineInstr", "*", "StInst", "=", "StoreInst", ";", "if", "(", "StoreInst", "->", "getPrevNode", "(", ")", "==", "LoadInst", ")", "StInst", "=", "LoadInst", ";", "BuildMI", "(", "*", "MBB", ",", "StInst", ",", "StInst", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "NStoreOpcode", ")", ")", ".", "add", "(", "StoreBase", ")", ".", "addImm", "(", "1", ")", ".", "addReg", "(", "X86", "::", "NoRegister", ")", ".", "addImm", "(", "StoreDisp", ")", ".", "addReg", "(", "X86", "::", "NoRegister", ")", ".", "addReg", "(", "Reg1", ")", ".", "addMemOperand", "(", "MBB", "->", "getParent", "(", ")", "->", "getMachineMemOperand", "(", "SMMO", ",", "SMMOffset", ",", "Size", ")", ")", ";", "DEBUG", "(", "StInst", "->", "getPrevNode", "(", ")", "->", "dump", "(", ")", ")", ";", "}", ""], "natrual_language": ["Build", "and", "insert", "Res", "=", "COPY", "Op", "."], "TS_V_token": ["X86", "X86", "0", "1", "X86::NoRegister", "X86::NoRegister", "1", "X86::NoRegister", "X86::NoRegister"], "File": "X86AvoidStoreForwardingBlocks17", "Func": "buildCopy", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15495, "Length": 308, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ix86_attr_length_immediate_default", "(", "rtx_insn", "*", "insn", ",", "bool", "shortform", ")", "{", "int", "len", "=", "0", ";", "int", "i", ";", "extract_insn_cached", "(", "insn", ")", ";", "for", "(", "i", "=", "recog_data", ".", "n_operands", "-", "1", ";", "i", ">=", "0", ";", "--", "i", ")", "if", "(", "CONSTANT_P", "(", "recog_data", ".", "operand", "[", "i", "]", ")", ")", "{", "enum", "attr_mode", "mode", "=", "get_attr_mode", "(", "insn", ")", ";", "gcc_assert", "(", "!", "len", ")", ";", "if", "(", "shortform", "&&", "CONST_INT_P", "(", "recog_data", ".", "operand", "[", "i", "]", ")", ")", "{", "HOST_WIDE_INT", "ival", "=", "INTVAL", "(", "recog_data", ".", "operand", "[", "i", "]", ")", ";", "switch", "(", "mode", ")", "{", "case", "MODE_QI", ":", "len", "=", "1", ";", "continue", ";", "case", "MODE_HI", ":", "ival", "=", "trunc_int_for_mode", "(", "ival", ",", "HImode", ")", ";", "break", ";", "case", "MODE_SI", ":", "ival", "=", "trunc_int_for_mode", "(", "ival", ",", "SImode", ")", ";", "break", ";", "default", ":", "break", ";", "}", "if", "(", "IN_RANGE", "(", "ival", ",", "-", "128", ",", "127", ")", ")", "{", "len", "=", "1", ";", "continue", ";", "}", "}", "switch", "(", "mode", ")", "{", "case", "MODE_QI", ":", "len", "=", "1", ";", "break", ";", "case", "MODE_HI", ":", "len", "=", "2", ";", "break", ";", "case", "MODE_SI", ":", "len", "=", "4", ";", "break", ";", "case", "MODE_DI", ":", "len", "=", "4", ";", "break", ";", "default", ":", "fatal_insn", "(", "\"unknown insn mode\"", ",", "insn", ")", ";", "}", "}", "return", "len", ";", "}", ""], "natrual_language": ["Compute", "default", "value", "for", "``", "length_immediate", "''", "attribute", ".", "When", "SHORTFORM", "is", "set", "expect", "that", "insn", "have", "8bit", "immediate", "alternative", "."], "TS_V_token": ["i386", "0", "1", "0", "1", "128", "127", "1", "1", "2", "4", "4", "\"unknown insn mode\""], "File": "i386", "Func": "ix86_attr_length_immediate_default", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15496, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TOYPassConfig", "::", "addPreISel", "(", ")", "{", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["TOY", "TOY"], "File": "TOYTargetMachine1", "Func": "addPreISel", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15497, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "requiresVirtualBaseRegisters", "(", "const", "MachineFunction", "&", "MF", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "wants", "the", "LocalStackAllocation", "pass", "to", "be", "run", "and", "virtual", "base", "registers", "used", "for", "more", "efficient", "stack", "access", "."], "TS_V_token": ["PowerPC"], "File": "PPCRegisterInfo (2)1", "Func": "requiresVirtualBaseRegisters", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15498, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "ARMElfTargetObjectFile", "::", "getTTypeGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "Mangler", "*", "Mang", ",", "MachineModuleInfo", "*", "MMI", ",", "unsigned", "Encoding", ",", "MCStreamer", "&", "Streamer", ")", "const", "{", "assert", "(", "Encoding", "==", "DW_EH_PE_absptr", "&&", "\"Can handle absptr encoding only\"", ")", ";", "Triple", "T", "(", "MMI", "->", "getModule", "(", ")", "->", "getTargetTriple", "(", ")", ")", ";", "if", "(", "T", ".", "isOSNaCl", "(", ")", ")", "return", "TargetLoweringObjectFileELF", "::", "getTTypeGlobalReference", "(", "GV", ",", "Mang", ",", "MMI", ",", "Encoding", ",", "Streamer", ")", ";", "return", "MCSymbolRefExpr", "::", "Create", "(", "Mang", "->", "getSymbol", "(", "GV", ")", ",", "MCSymbolRefExpr", "::", "VK_ARM_TARGET2", ",", "getContext", "(", ")", ")", ";", "}", ""], "natrual_language": ["The", "mach-o", "version", "of", "this", "method", "defaults", "to", "returning", "a", "stub", "reference", "."], "TS_V_token": ["ARM", "ARM", "\"Can handle absptr encoding only\"", "ARM"], "File": "ARMTargetObjectFile15", "Func": "getTTypeGlobalReference", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15499, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLegalMaskedScatter", "(", "Type", "*", "DataType", ",", "Align", "Alignment", ")", "const", "{", "return", "isLegalMaskedGatherScatter", "(", "DataType", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "scatter", "."], "TS_V_token": ["AArch64"], "File": "AArch64TargetTransformInfo", "Func": "isLegalMaskedScatter", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15500, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "or1k_expand_epilogue", "(", "void", ")", "{", "HOST_WIDE_INT", "reg_offset", ",", "sp_offset", ";", "rtx", "insn", ",", "cfa_restores", "=", "NULL", ";", "sp_offset", "=", "cfun", "->", "machine", "->", "total_size", ";", "if", "(", "sp_offset", "==", "0", ")", "return", ";", "reg_offset", "=", "cfun", "->", "machine", "->", "local_vars_size", "+", "cfun", "->", "machine", "->", "args_size", ";", "if", "(", "sp_offset", ">=", "32768", "||", "cfun", "->", "calls_alloca", ")", "{", "if", "(", "frame_pointer_needed", ")", "{", "sp_offset", "-=", "reg_offset", ";", "reg_offset", "=", "0", ";", "insn", "=", "emit_insn", "(", "gen_frame_addsi3", "(", "stack_pointer_rtx", ",", "hard_frame_pointer_rtx", ",", "GEN_INT", "(", "-", "sp_offset", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_DEF_CFA", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "sp_offset", ")", ")", ";", "}", "else", "if", "(", "sp_offset", ">=", "3", "*", "32768", ")", "{", "rtx", "tmp", "=", "gen_rtx_REG", "(", "Pmode", ",", "PE_TMP_REGNUM", ")", ";", "emit_move_insn", "(", "tmp", ",", "GEN_INT", "(", "reg_offset", ")", ")", ";", "insn", "=", "emit_insn", "(", "gen_frame_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "tmp", ")", ")", ";", "sp_offset", "-=", "reg_offset", ";", "reg_offset", "=", "0", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_DEF_CFA", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "sp_offset", ")", ")", ";", "}", "else", "{", "do", "{", "HOST_WIDE_INT", "this_offset", "=", "MIN", "(", "reg_offset", ",", "32764", ")", ";", "reg_offset", "-=", "this_offset", ";", "sp_offset", "-=", "this_offset", ";", "insn", "=", "emit_insn", "(", "gen_frame_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "this_offset", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_DEF_CFA", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "sp_offset", ")", ")", ";", "}", "while", "(", "sp_offset", ">=", "32768", ")", ";", "}", "}", "for", "(", "int", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "regno", "!=", "HARD_FRAME_POINTER_REGNUM", "&&", "regno", "!=", "LR_REGNUM", "&&", "callee_saved_regno_p", "(", "regno", ")", ")", "{", "cfa_restores", "=", "or1k_restore_reg", "(", "regno", ",", "reg_offset", ",", "cfa_restores", ")", ";", "reg_offset", "+=", "UNITS_PER_WORD", ";", "}", "if", "(", "callee_saved_regno_p", "(", "HARD_FRAME_POINTER_REGNUM", ")", ")", "{", "cfa_restores", "=", "or1k_restore_reg", "(", "HARD_FRAME_POINTER_REGNUM", ",", "reg_offset", ",", "cfa_restores", ")", ";", "reg_offset", "+=", "UNITS_PER_WORD", ";", "}", "if", "(", "callee_saved_regno_p", "(", "LR_REGNUM", ")", ")", "{", "cfa_restores", "=", "or1k_restore_reg", "(", "LR_REGNUM", ",", "reg_offset", ",", "cfa_restores", ")", ";", "reg_offset", "+=", "UNITS_PER_WORD", ";", "}", "gcc_assert", "(", "reg_offset", "==", "sp_offset", ")", ";", "insn", "=", "emit_insn", "(", "gen_frame_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "sp_offset", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "REG_NOTES", "(", "insn", ")", "=", "cfa_restores", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_DEF_CFA", ",", "stack_pointer_rtx", ")", ";", "if", "(", "crtl", "->", "calls_eh_return", ")", "emit_insn", "(", "gen_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "EH_RETURN_STACKADJ_RTX", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "the", "``", "epilogue", "''", "pattern", "."], "TS_V_token": ["or1k", "0", "32768", "0", "1", "3", "32768", "0", "1", "32764", "1", "32768", "0", "1"], "File": "or1k", "Func": "or1k_expand_epilogue", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15501, "Length": 422, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSymbol", "*", "X86TargetLowering", "::", "getPICBaseSymbol", "(", "const", "MachineFunction", "*", "MF", ",", "MCContext", "&", "Ctx", ")", "const", "{", "const", "MCAsmInfo", "&", "MAI", "=", "*", "getTargetMachine", "(", ")", ".", "getMCAsmInfo", "(", ")", ";", "return", "Ctx", ".", "GetOrCreateTemporarySymbol", "(", "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": "X86ISelLowering201", "Func": "getPICBaseSymbol", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15502, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "csky_tls_referenced_p", "(", "rtx", "x", ")", "{", "if", "(", "!", "TARGET_TLS", ")", "return", "false", ";", "subrtx_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX", "(", "iter", ",", "array", ",", "x", ",", "ALL", ")", "{", "const_rtx", "x", "=", "*", "iter", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", "!=", "0", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", "&&", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_TLS", ")", "iter", ".", "skip_subrtxes", "(", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "X", "contains", "any", "references", "to", "TLS", "symbols", "."], "TS_V_token": ["csky", "0", "1"], "File": "csky", "Func": "csky_tls_referenced_p", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15503, "Length": 85, "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", "->", "begin", "(", ")", ";", "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", "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"], "File": "MipsSEFrameLowering", "Func": "spillCalleeSavedRegisters", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15504, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "OpenRISCRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "0", "&&", "\"Unimplemented\"", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["OpenRISC", "OpenRISC", "0", "\"Unimplemented\""], "File": "OpenRISCRegisterInfo", "Func": "eliminateFrameIndex", "Target": "OpenRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15505, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 WinAlloca Expander\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 WinAlloca Expander\""], "File": "X86WinAllocaExpander1", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15506, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_split_move_insn_p", "(", "rtx", "dest", ",", "rtx", "src", ",", "rtx", "insn", ")", "{", "return", "mips_split_move_p", "(", "dest", ",", "src", ",", "mips_insn_split_type", "(", "insn", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "move", "from", "SRC", "to", "DEST", "in", "INSN", "should", "be", "split", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_split_move_insn_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15507, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "bool", "bundle_state_hasher", "::", "equal", "(", "const", "value_type", "*", "state1", ",", "const", "compare_type", "*", "state2", ")", "{", "return", "(", "state1", "->", "insn_num", "==", "state2", "->", "insn_num", "&&", "memcmp", "(", "state1", "->", "dfa_state", ",", "state2", "->", "dfa_state", ",", "dfa_state_size", ")", "==", "0", ")", ";", "}", ""], "natrual_language": ["Compare", "H1", "and", "H2", "for", "equivalence", "."], "TS_V_token": ["ia64", "0"], "File": "ia644", "Func": "equal", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15508, "Length": 44, "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": 15509, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "shouldProduceAndByConstByHoistingConstFromShiftsLHSOfAnd", "(", "SDValue", "X", ",", "ConstantSDNode", "*", "XC", ",", "ConstantSDNode", "*", "CC", ",", "SDValue", "Y", ",", "unsigned", "OldShiftOpcode", ",", "unsigned", "NewShiftOpcode", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "!", "TargetLowering", "::", "shouldProduceAndByConstByHoistingConstFromShiftsLHSOfAnd", "(", "X", ",", "XC", ",", "CC", ",", "Y", ",", "OldShiftOpcode", ",", "NewShiftOpcode", ",", "DAG", ")", ")", "return", "false", ";", "if", "(", "X", ".", "getValueType", "(", ")", ".", "isScalarInteger", "(", ")", ")", "return", "true", ";", "if", "(", "DAG", ".", "isSplatValue", "(", "Y", ",", "true", ")", ")", "return", "true", ";", "if", "(", "Subtarget", ".", "hasAVX2", "(", ")", ")", "return", "true", ";", "return", "NewShiftOpcode", "==", "ISD", "::", "SHL", ";", "}", ""], "natrual_language": ["Given", "the", "pattern", "(", "X", "&", "(", "C", "l", ">", ">", "/", "<", "<", "Y", ")", ")", "==/", "!", "=", "0", "return", "true", "if", "it", "should", "be", "transformed", "into", ":", "(", "(", "X", "<", "<", "/l", ">", ">", "Y", ")", "&", "C", ")", "==/", "!", "=", "0", "WARNING", ":", "if", "'", "X", "'", "is", "a", "constant", ",", "the", "fold", "may", "deadlock", "!", "FIXME", ":", "we", "could", "avoid", "passing", "XC", ",", "but", "we", "ca", "n't", "use", "isConstOrConstSplat", "(", ")", "here", "because", "it", "can", "end", "up", "being", "not", "linked", "in", "."], "TS_V_token": ["X86", "X86", "ISD::SHL"], "File": "X86ISelLowering (2)5", "Func": "shouldProduceAndByConstByHoistingConstFromShiftsLHSOfAnd", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15510, "Length": 104, "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_flush", "(", "SImode", ",", "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", "&&", "sparc_cpu", "!=", "PROCESSOR_M8", ")", "emit_insn", "(", "gen_flush", "(", "SImode", ",", "validize_mem", "(", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "8", ")", ")", ")", ")", ";", "emit_library_call", "(", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"__enable_execute_stack\"", ")", ",", "LCT_NORMAL", ",", "VOIDmode", ",", "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\"", "0"], "File": "sparc", "Func": "sparc32_initialize_trampoline", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15511, "Length": 310, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getCPUDirective", "(", ")", "const", "{", "return", "CPUDirective", ";", "}", ""], "natrual_language": ["getCPUDirective", "-", "Returns", "the", "-m", "directive", "specified", "for", "the", "cpu", "."], "TS_V_token": ["PowerPC"], "File": "PPCSubtarget12", "Func": "getCPUDirective", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15512, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "first_fp_reg_to_save", "(", ")", "{", "int", "first_reg", ";", "for", "(", "first_reg", "=", "14", "+", "32", ";", "first_reg", "<=", "63", ";", "first_reg", "++", ")", "if", "(", "regs_ever_live", "[", "first_reg", "]", ")", "break", ";", "return", "first_reg", ";", "}", ""], "natrual_language": ["Similar", ",", "for", "FP", "regs", "."], "TS_V_token": ["rs6000", "14", "32", "63"], "File": "rs60002", "Func": "first_fp_reg_to_save", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15513, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "generate_host_descr_file", "(", "const", "char", "*", "host_compiler", ")", "{", "char", "*", "dump_filename", "=", "concat", "(", "dumppfx", ",", "\"_host_descr.c\"", ",", "NULL", ")", ";", "const", "char", "*", "src_filename", "=", "save_temps", "?", "dump_filename", ":", "make_temp_file", "(", "\"_host_descr.c\"", ")", ";", "const", "char", "*", "obj_filename", "=", "save_temps", "?", "concat", "(", "dumppfx", ",", "\"_host_descr.o\"", ",", "NULL", ")", ":", "make_temp_file", "(", "\"_host_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_TABLE__;\\n\"", "\"extern const void *const __offload_image_intelmic_start;\\n\"", "\"extern const void *const __offload_image_intelmic_end;\\n\\n\"", "\"static const void *const __offload_target_data[] = {\\n\"", "\" &__offload_image_intelmic_start, &__offload_image_intelmic_end\\n\"", "\"};\\n\\n\"", ")", ";", "fprintf", "(", "src_file", ",", "\"#ifdef __cplusplus\\n\"", "\"extern \\\"C\\\"\\n\"", "\"#endif\\n\"", "\"void GOMP_offload_register (const void *, int, const void *);\\n\"", "\"#ifdef __cplusplus\\n\"", "\"extern \\\"C\\\"\\n\"", "\"#endif\\n\"", "\"void GOMP_offload_unregister (const void *, int, const void *);\\n\\n\"", "\"__attribute__((constructor))\\n\"", "\"static void\\n\"", "\"init (void)\\n\"", "\"{\\n\"", "\" GOMP_offload_register (&__OFFLOAD_TABLE__, %d, __offload_target_data);\\n\"", "\"}\\n\\n\"", ",", "GOMP_DEVICE_INTEL_MIC", ")", ";", "fprintf", "(", "src_file", ",", "\"__attribute__((destructor))\\n\"", "\"static void\\n\"", "\"fini (void)\\n\"", "\"{\\n\"", "\" GOMP_offload_unregister (&__OFFLOAD_TABLE__, %d, __offload_target_data);\\n\"", "\"}\\n\"", ",", "GOMP_DEVICE_INTEL_MIC", ")", ";", "fclose", "(", "src_file", ")", ";", "struct", "obstack", "argv_obstack", ";", "obstack_init", "(", "&", "argv_obstack", ")", ";", "obstack_ptr_grow", "(", "&", "argv_obstack", ",", "host_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", ",", "\"-fPIC\"", ")", ";", "obstack_ptr_grow", "(", "&", "argv_obstack", ",", "\"-shared\"", ")", ";", "switch", "(", "offload_abi", ")", "{", "case", "OFFLOAD_ABI_LP64", ":", "obstack_ptr_grow", "(", "&", "argv_obstack", ",", "\"-m64\"", ")", ";", "break", ";", "case", "OFFLOAD_ABI_ILP32", ":", "obstack_ptr_grow", "(", "&", "argv_obstack", ",", "\"-m32\"", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "obstack_ptr_grow", "(", "&", "argv_obstack", ",", "src_filename", ")", ";", "obstack_ptr_grow", "(", "&", "argv_obstack", ",", "\"-o\"", ")", ";", "obstack_ptr_grow", "(", "&", "argv_obstack", ",", "obj_filename", ")", ";", "obstack_ptr_grow", "(", "&", "argv_obstack", ",", "NULL", ")", ";", "char", "*", "*", "argv", "=", "XOBFINISH", "(", "&", "argv_obstack", ",", "char", "*", "*", ")", ";", "fork_execute", "(", "argv", "[", "0", "]", ",", "argv", ",", "false", ",", "NULL", ")", ";", "obstack_free", "(", "&", "argv_obstack", ",", "NULL", ")", ";", "return", "obj_filename", ";", "}", ""], "natrual_language": ["Generates", "object", "file", "with", "the", "host", "side", "descriptor", "."], "TS_V_token": ["i386", "\"_host_descr.c\"", "\"_host_descr.c\"", "\"_host_descr.o\"", "\"_host_descr.o\"", "\"w\"", "\"cannot open '%s'\"", "\"extern const void *const __OFFLOAD_TABLE__;\\n\"", "\"extern const void *const __offload_image_intelmic_start;\\n\"", "\"extern const void *const __offload_image_intelmic_end;\\n\\n\"", "\"static const void *const __offload_target_data[] = {\\n\"", "\" &__offload_image_intelmic_start, &__offload_image_intelmic_end\\n\"", "\"};\\n\\n\"", "\"#ifdef __cplusplus\\n\"", "\"extern \\\"C\\\"\\n\"", "\"#endif\\n\"", "\"void GOMP_offload_register (const void *, int, const void *);\\n\"", "\"#ifdef __cplusplus\\n\"", "\"extern \\\"C\\\"\\n\"", "\"#endif\\n\"", "\"void GOMP_offload_unregister (const void *, int, const void *);\\n\\n\"", "\"__attribute__((constructor))\\n\"", "\"static void\\n\"", "\"init (void)\\n\"", "\"{\\n\"", "\" GOMP_offload_register (&__OFFLOAD_TABLE__, %d, __offload_target_data);\\n\"", "\"}\\n\\n\"", "\"__attribute__((destructor))\\n\"", "\"static void\\n\"", "\"fini (void)\\n\"", "\"{\\n\"", "\" GOMP_offload_unregister (&__OFFLOAD_TABLE__, %d, __offload_target_data);\\n\"", "\"}\\n\"", "\"-save-temps\"", "\"-v\"", "\"-dumpdir\"", "\"\"", "\"-dumpbase\"", "\"-dumpbase-ext\"", "\".c\"", "\"-c\"", "\"-fPIC\"", "\"-shared\"", "\"-m64\"", "\"-m32\"", "\"-o\"", "0"], "File": "intelmic-mkoffload", "Func": "generate_host_descr_file", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15514, "Length": 379, "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", ",", "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": "VESubtarget1", "Func": "initializeSubtargetDependencies", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15515, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86TTIImpl", "::", "getGatherScatterOpCost", "(", "unsigned", "Opcode", ",", "Type", "*", "SrcVTy", ",", "Value", "*", "Ptr", ",", "bool", "VariableMask", ",", "unsigned", "Alignment", ",", "const", "Instruction", "*", "I", "=", "nullptr", ")", "{", "assert", "(", "SrcVTy", "->", "isVectorTy", "(", ")", "&&", "\"Unexpected data type for Gather/Scatter\"", ")", ";", "unsigned", "VF", "=", "SrcVTy", "->", "getVectorNumElements", "(", ")", ";", "PointerType", "*", "PtrTy", "=", "dyn_cast", "<", "PointerType", ">", "(", "Ptr", "->", "getType", "(", ")", ")", ";", "if", "(", "!", "PtrTy", "&&", "Ptr", "->", "getType", "(", ")", "->", "isVectorTy", "(", ")", ")", "PtrTy", "=", "dyn_cast", "<", "PointerType", ">", "(", "Ptr", "->", "getType", "(", ")", "->", "getVectorElementType", "(", ")", ")", ";", "assert", "(", "PtrTy", "&&", "\"Unexpected type for Ptr argument\"", ")", ";", "unsigned", "AddressSpace", "=", "PtrTy", "->", "getAddressSpace", "(", ")", ";", "bool", "Scalarize", "=", "false", ";", "if", "(", "(", "Opcode", "==", "Instruction", "::", "Load", "&&", "!", "isLegalMaskedGather", "(", "SrcVTy", ",", "MaybeAlign", "(", "Alignment", ")", ")", ")", "||", "(", "Opcode", "==", "Instruction", "::", "Store", "&&", "!", "isLegalMaskedScatter", "(", "SrcVTy", ",", "MaybeAlign", "(", "Alignment", ")", ")", ")", ")", "Scalarize", "=", "true", ";", "if", "(", "ST", "->", "hasAVX512", "(", ")", "&&", "(", "VF", "==", "2", "||", "(", "VF", "==", "4", "&&", "!", "ST", "->", "hasVLX", "(", ")", ")", ")", ")", "Scalarize", "=", "true", ";", "if", "(", "Scalarize", ")", "return", "getGSScalarCost", "(", "Opcode", ",", "SrcVTy", ",", "VariableMask", ",", "Alignment", ",", "AddressSpace", ")", ";", "return", "getGSVectorCost", "(", "Opcode", ",", "SrcVTy", ",", "Ptr", ",", "Alignment", ",", "AddressSpace", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "Gather", "/", "Scatter", "operation", "."], "TS_V_token": ["X86", "X86", "\"Unexpected data type for Gather/Scatter\"", "\"Unexpected type for Ptr argument\"", "2", "4"], "File": "X86TargetTransformInfo18", "Func": "getGatherScatterOpCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15516, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_fixed_condition_code_regs", "(", "unsigned", "int", "*", "p1", ",", "unsigned", "int", "*", "p2", ")", "{", "*", "p1", "=", "CC_REGNUM", ";", "*", "p2", "=", "INVALID_REGNUM", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "the", "fixed", "registers", "used", "for", "condition", "codes", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_fixed_condition_code_regs", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15517, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "build_vs_offset", "(", "function_builder", "&", "b", ",", "const", "char", "*", "signature", ",", "const", "function_group_info", "&", "group", ",", "bool", "force_direct_overloads", "=", "false", ")", "{", "build_32_64", "(", "b", ",", "signature", ",", "group", ",", "MODE_u32base_offset", ",", "MODE_u64base_offset", ",", "force_direct_overloads", ")", ";", "}", ""], "natrual_language": ["Like", "build_v_base", ",", "but", "for", "functions", "that", "also", "take", "a", "scalar", "byte", "offset", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins-shapes", "Func": "build_vs_offset", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15518, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "ix86_local_alignment", "(", "tree", "exp", ",", "machine_mode", "mode", ",", "unsigned", "int", "align", ")", "{", "tree", "type", ",", "decl", ";", "if", "(", "exp", "&&", "DECL_P", "(", "exp", ")", ")", "{", "type", "=", "TREE_TYPE", "(", "exp", ")", ";", "decl", "=", "exp", ";", "}", "else", "{", "type", "=", "exp", ";", "decl", "=", "NULL", ";", "}", "if", "(", "!", "TARGET_64BIT", "&&", "align", "==", "64", "&&", "ix86_preferred_stack_boundary", "<", "64", "&&", "(", "mode", "==", "DImode", "||", "(", "type", "&&", "TYPE_MODE", "(", "type", ")", "==", "DImode", ")", ")", "&&", "(", "!", "type", "||", "!", "TYPE_USER_ALIGN", "(", "type", ")", ")", "&&", "(", "!", "decl", "||", "!", "DECL_USER_ALIGN", "(", "decl", ")", ")", ")", "align", "=", "32", ";", "if", "(", "!", "type", ")", "{", "if", "(", "mode", "==", "XFmode", "&&", "align", "<", "GET_MODE_ALIGNMENT", "(", "DFmode", ")", ")", "align", "=", "GET_MODE_ALIGNMENT", "(", "DFmode", ")", ";", "return", "align", ";", "}", "if", "(", "TARGET_IAMCU", ")", "return", "align", ";", "if", "(", "TARGET_64BIT", "&&", "optimize_function_for_speed_p", "(", "cfun", ")", "&&", "TARGET_SSE", ")", "{", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "(", "va_list_type_node", "==", "NULL_TREE", "||", "(", "TYPE_MAIN_VARIANT", "(", "type", ")", "!=", "TYPE_MAIN_VARIANT", "(", "va_list_type_node", ")", ")", ")", "&&", "TYPE_SIZE", "(", "type", ")", "&&", "TREE_CODE", "(", "TYPE_SIZE", "(", "type", ")", ")", "==", "INTEGER_CST", "&&", "wi", "::", "geu_p", "(", "TYPE_SIZE", "(", "type", ")", ",", "16", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "if", "(", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", ")", "{", "if", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "type", ")", ")", "==", "DFmode", "&&", "align", "<", "64", ")", "return", "64", ";", "if", "(", "ALIGN_MODE_128", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "type", ")", ")", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "else", "if", "(", "TREE_CODE", "(", "type", ")", "==", "COMPLEX_TYPE", ")", "{", "if", "(", "TYPE_MODE", "(", "type", ")", "==", "DCmode", "&&", "align", "<", "64", ")", "return", "64", ";", "if", "(", "(", "TYPE_MODE", "(", "type", ")", "==", "XCmode", "||", "TYPE_MODE", "(", "type", ")", "==", "TCmode", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "else", "if", "(", "(", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "UNION_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "QUAL_UNION_TYPE", ")", "&&", "TYPE_FIELDS", "(", "type", ")", ")", "{", "if", "(", "DECL_MODE", "(", "TYPE_FIELDS", "(", "type", ")", ")", "==", "DFmode", "&&", "align", "<", "64", ")", "return", "64", ";", "if", "(", "ALIGN_MODE_128", "(", "DECL_MODE", "(", "TYPE_FIELDS", "(", "type", ")", ")", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "else", "if", "(", "TREE_CODE", "(", "type", ")", "==", "REAL_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "INTEGER_TYPE", ")", "{", "if", "(", "TYPE_MODE", "(", "type", ")", "==", "DFmode", "&&", "align", "<", "64", ")", "return", "64", ";", "if", "(", "ALIGN_MODE_128", "(", "TYPE_MODE", "(", "type", ")", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "return", "align", ";", "}", ""], "natrual_language": ["Compute", "the", "alignment", "for", "a", "local", "variable", ".", "TYPE", "is", "the", "data", "type", ",", "and", "ALIGN", "is", "the", "alignment", "that", "the", "object", "would", "ordinarily", "have", ".", "The", "value", "of", "this", "macro", "is", "used", "instead", "of", "that", "alignment", "to", "align", "the", "object", "."], "TS_V_token": ["i386", "64", "64", "32", "16", "128", "128", "64", "64", "128", "128", "64", "64", "128", "128", "64", "64", "128", "128", "64", "64", "128", "128"], "File": "i3865", "Func": "ix86_local_alignment", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15519, "Length": 456, "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": 15520, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SparcTargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "EVT", "VT", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "unsigned", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "\"i0\"", ",", "SP", "::", "I0", ")", ".", "Case", "(", "\"i1\"", ",", "SP", "::", "I1", ")", ".", "Case", "(", "\"i2\"", ",", "SP", "::", "I2", ")", ".", "Case", "(", "\"i3\"", ",", "SP", "::", "I3", ")", ".", "Case", "(", "\"i4\"", ",", "SP", "::", "I4", ")", ".", "Case", "(", "\"i5\"", ",", "SP", "::", "I5", ")", ".", "Case", "(", "\"i6\"", ",", "SP", "::", "I6", ")", ".", "Case", "(", "\"i7\"", ",", "SP", "::", "I7", ")", ".", "Case", "(", "\"o0\"", ",", "SP", "::", "O0", ")", ".", "Case", "(", "\"o1\"", ",", "SP", "::", "O1", ")", ".", "Case", "(", "\"o2\"", ",", "SP", "::", "O2", ")", ".", "Case", "(", "\"o3\"", ",", "SP", "::", "O3", ")", ".", "Case", "(", "\"o4\"", ",", "SP", "::", "O4", ")", ".", "Case", "(", "\"o5\"", ",", "SP", "::", "O5", ")", ".", "Case", "(", "\"o6\"", ",", "SP", "::", "O6", ")", ".", "Case", "(", "\"o7\"", ",", "SP", "::", "O7", ")", ".", "Case", "(", "\"l0\"", ",", "SP", "::", "L0", ")", ".", "Case", "(", "\"l1\"", ",", "SP", "::", "L1", ")", ".", "Case", "(", "\"l2\"", ",", "SP", "::", "L2", ")", ".", "Case", "(", "\"l3\"", ",", "SP", "::", "L3", ")", ".", "Case", "(", "\"l4\"", ",", "SP", "::", "L4", ")", ".", "Case", "(", "\"l5\"", ",", "SP", "::", "L5", ")", ".", "Case", "(", "\"l6\"", ",", "SP", "::", "L6", ")", ".", "Case", "(", "\"l7\"", ",", "SP", "::", "L7", ")", ".", "Case", "(", "\"g0\"", ",", "SP", "::", "G0", ")", ".", "Case", "(", "\"g1\"", ",", "SP", "::", "G1", ")", ".", "Case", "(", "\"g2\"", ",", "SP", "::", "G2", ")", ".", "Case", "(", "\"g3\"", ",", "SP", "::", "G3", ")", ".", "Case", "(", "\"g4\"", ",", "SP", "::", "G4", ")", ".", "Case", "(", "\"g5\"", ",", "SP", "::", "G5", ")", ".", "Case", "(", "\"g6\"", ",", "SP", "::", "G6", ")", ".", "Case", "(", "\"g7\"", ",", "SP", "::", "G7", ")", ".", "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": ["Sparc", "Sparc", "\"i0\"", "SP::I0", "\"i1\"", "SP::I1", "\"i2\"", "SP::I2", "\"i3\"", "SP::I3", "\"i4\"", "SP::I4", "\"i5\"", "SP::I5", "\"i6\"", "SP::I6", "\"i7\"", "SP::I7", "\"o0\"", "SP::O0", "\"o1\"", "SP::O1", "\"o2\"", "SP::O2", "\"o3\"", "SP::O3", "\"o4\"", "SP::O4", "\"o5\"", "SP::O5", "\"o6\"", "SP::O6", "\"o7\"", "SP::O7", "\"l0\"", "SP::L0", "\"l1\"", "SP::L1", "\"l2\"", "SP::L2", "\"l3\"", "SP::L3", "\"l4\"", "SP::L4", "\"l5\"", "SP::L5", "\"l6\"", "SP::L6", "\"l7\"", "SP::L7", "\"g0\"", "SP::G0", "\"g1\"", "SP::G1", "\"g2\"", "SP::G2", "\"g3\"", "SP::G3", "\"g4\"", "SP::G4", "\"g5\"", "SP::G5", "\"g6\"", "SP::G6", "\"g7\"", "SP::G7", "0", "\"Invalid register name global variable\""], "File": "SparcISelLowering102", "Func": "getRegisterByName", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15521, "Length": 336, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "macho_branch_islands", "(", "void", ")", "{", "char", "tmp_buf", "[", "512", "]", ";", "while", "(", "!", "vec_safe_is_empty", "(", "branch_islands", ")", ")", "{", "branch_island", "*", "bi", "=", "&", "branch_islands", "->", "last", "(", ")", ";", "const", "char", "*", "label", "=", "IDENTIFIER_POINTER", "(", "bi", "->", "label_name", ")", ";", "const", "char", "*", "name", "=", "IDENTIFIER_POINTER", "(", "bi", "->", "function_name", ")", ";", "char", "name_buf", "[", "512", "]", ";", "if", "(", "name", "[", "0", "]", "==", "'*'", "||", "name", "[", "0", "]", "==", "'&'", ")", "strcpy", "(", "name_buf", ",", "name", "+", "1", ")", ";", "else", "{", "name_buf", "[", "0", "]", "=", "'_'", ";", "strcpy", "(", "name_buf", "+", "1", ",", "name", ")", ";", "}", "strcpy", "(", "tmp_buf", ",", "\"\\n\"", ")", ";", "strcat", "(", "tmp_buf", ",", "label", ")", ";", "if", "(", "flag_pic", ")", "{", "strcat", "(", "tmp_buf", ",", "\":\\n\\tmflr r0\\n\\tbcl 20,31,\"", ")", ";", "strcat", "(", "tmp_buf", ",", "label", ")", ";", "strcat", "(", "tmp_buf", ",", "\"_pic\\n\"", ")", ";", "strcat", "(", "tmp_buf", ",", "label", ")", ";", "strcat", "(", "tmp_buf", ",", "\"_pic:\\n\\tmflr r11\\n\"", ")", ";", "strcat", "(", "tmp_buf", ",", "\"\\taddis r11,r11,ha16(\"", ")", ";", "strcat", "(", "tmp_buf", ",", "name_buf", ")", ";", "strcat", "(", "tmp_buf", ",", "\" - \"", ")", ";", "strcat", "(", "tmp_buf", ",", "label", ")", ";", "strcat", "(", "tmp_buf", ",", "\"_pic)\\n\"", ")", ";", "strcat", "(", "tmp_buf", ",", "\"\\tmtlr r0\\n\"", ")", ";", "strcat", "(", "tmp_buf", ",", "\"\\taddi r12,r11,lo16(\"", ")", ";", "strcat", "(", "tmp_buf", ",", "name_buf", ")", ";", "strcat", "(", "tmp_buf", ",", "\" - \"", ")", ";", "strcat", "(", "tmp_buf", ",", "label", ")", ";", "strcat", "(", "tmp_buf", ",", "\"_pic)\\n\"", ")", ";", "strcat", "(", "tmp_buf", ",", "\"\\tmtctr r12\\n\\tbctr\\n\"", ")", ";", "}", "else", "{", "strcat", "(", "tmp_buf", ",", "\":\\n\\tlis r12,hi16(\"", ")", ";", "strcat", "(", "tmp_buf", ",", "name_buf", ")", ";", "strcat", "(", "tmp_buf", ",", "\")\\n\\tori r12,r12,lo16(\"", ")", ";", "strcat", "(", "tmp_buf", ",", "name_buf", ")", ";", "strcat", "(", "tmp_buf", ",", "\")\\n\\tmtctr r12\\n\\tbctr\"", ")", ";", "}", "output_asm_insn", "(", "tmp_buf", ",", "0", ")", ";", "branch_islands", "->", "pop", "(", ")", ";", "}", "}", ""], "natrual_language": ["Generate", "far-jump", "branch", "islands", "for", "everything", "on", "the", "branch_island_list", ".", "Invoked", "immediately", "after", "the", "last", "instruction", "of", "the", "epilogue", "has", "been", "emitted", ";", "the", "branch-islands", "must", "be", "appended", "to", ",", "and", "contiguous", "with", ",", "the", "function", "body", ".", "Mach-O", "stubs", "are", "generated", "in", "machopic_output_stub", "(", ")", "."], "TS_V_token": ["rs6000", "512", "512", "0", "0", "1", "0", "1", "\"\\n\"", "\":\\n\\tmflr r0\\n\\tbcl 20,31,\"", "\"_pic\\n\"", "\"_pic:\\n\\tmflr r11\\n\"", "\"\\taddis r11,r11,ha16(\"", "\" - \"", "\"_pic)\\n\"", "\"\\tmtlr r0\\n\"", "\"\\taddi r12,r11,lo16(\"", "\" - \"", "\"_pic)\\n\"", "\"\\tmtctr r12\\n\\tbctr\\n\"", "\":\\n\\tlis r12,hi16(\"", "\")\\n\\tori r12,r12,lo16(\"", "\")\\n\\tmtctr r12\\n\\tbctr\"", "0"], "File": "rs6000-logue1", "Func": "macho_branch_islands", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15522, "Length": 299, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mt_override_options", "(", "void", ")", "{", "if", "(", "mt_cpu_string", "!=", "NULL", ")", "{", "if", "(", "!", "strcmp", "(", "mt_cpu_string", ",", "\"ms1-64-001\"", ")", ")", "mt_cpu", "=", "PROCESSOR_MS1_64_001", ";", "else", "if", "(", "!", "strcmp", "(", "mt_cpu_string", ",", "\"ms1-16-002\"", ")", ")", "mt_cpu", "=", "PROCESSOR_MS1_16_002", ";", "else", "if", "(", "!", "strcmp", "(", "mt_cpu_string", ",", "\"ms1-16-003\"", ")", ")", "mt_cpu", "=", "PROCESSOR_MS1_16_003", ";", "else", "if", "(", "!", "strcmp", "(", "mt_cpu_string", ",", "\"ms2\"", ")", ")", "mt_cpu", "=", "PROCESSOR_MS2", ";", "else", "error", "(", "\"bad value (%s) for -march= switch\"", ",", "mt_cpu_string", ")", ";", "}", "else", "mt_cpu", "=", "PROCESSOR_MS1_64_001", ";", "if", "(", "flag_exceptions", ")", "{", "flag_omit_frame_pointer", "=", "0", ";", "flag_gcse", "=", "0", ";", "}", "mt_flag_delayed_branch", "=", "flag_delayed_branch", ";", "flag_delayed_branch", "=", "0", ";", "init_machine_status", "=", "mt_init_machine_status", ";", "}", ""], "natrual_language": ["Implement", "OVERRIDE_OPTIONS", "."], "TS_V_token": ["mt", "\"ms1-64-001\"", "\"ms1-16-002\"", "\"ms1-16-003\"", "\"ms2\"", "\"bad value (%s) for -march= switch\"", "0", "0", "0"], "File": "mt", "Func": "mt_override_options", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15523, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitBasicBlockEnd", "(", "const", "MachineBasicBlock", "&", "MBB", ")", "override", "{", "AsmPrinter", "::", "emitBasicBlockEnd", "(", "MBB", ")", ";", "SMShadowTracker", ".", "emitShadowPadding", "(", "*", "OutStreamer", ",", "getSubtargetInfo", "(", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "can", "override", "this", "to", "emit", "stuff", "at", "the", "end", "of", "a", "basic", "block", "."], "TS_V_token": ["X86"], "File": "X86AsmPrinter10", "Func": "emitBasicBlockEnd", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15524, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "first_altivec_reg_to_save", "(", ")", "{", "int", "i", ";", "if", "(", "!", "TARGET_ALTIVEC_ABI", ")", "return", "LAST_ALTIVEC_REGNO", "+", "1", ";", "for", "(", "i", "=", "FIRST_ALTIVEC_REGNO", "+", "20", ";", "i", "<=", "LAST_ALTIVEC_REGNO", ";", "++", "i", ")", "if", "(", "regs_ever_live", "[", "i", "]", ")", "break", ";", "return", "i", ";", "}", ""], "natrual_language": ["Similar", ",", "for", "AltiVec", "regs", "."], "TS_V_token": ["rs6000", "1", "20"], "File": "rs60002", "Func": "first_altivec_reg_to_save", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15525, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "legitimize_pic_address", "(", "rtx", "orig", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "reg", ")", "{", "if", "(", "tls_symbolic_operand", "(", "orig", ",", "Pmode", ")", ")", "return", "orig", ";", "if", "(", "GET_CODE", "(", "orig", ")", "==", "LABEL_REF", "||", "(", "GET_CODE", "(", "orig", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_LOCAL_P", "(", "orig", ")", ")", ")", "{", "if", "(", "reg", "==", "0", ")", "reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_symGOTOFF2reg", "(", "reg", ",", "orig", ")", ")", ";", "return", "reg", ";", "}", "else", "if", "(", "GET_CODE", "(", "orig", ")", "==", "SYMBOL_REF", ")", "{", "if", "(", "reg", "==", "0", ")", "reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_symGOT2reg", "(", "reg", ",", "orig", ")", ")", ";", "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": ["sh", "0", "0"], "File": "sh3", "Func": "legitimize_pic_address", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15526, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "vax_expand_prologue", "(", "void", ")", "{", "int", "regno", ",", "offset", ";", "int", "mask", "=", "0", ";", "HOST_WIDE_INT", "size", ";", "rtx", "insn", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "df_regs_ever_live_p", "(", "regno", ")", "&&", "!", "call_used_regs", "[", "regno", "]", ")", "mask", "|=", "1", "<<", "regno", ";", "insn", "=", "emit_insn", "(", "gen_procedure_entry_mask", "(", "GEN_INT", "(", "mask", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "vax_add_reg_cfa_offset", "(", "insn", ",", "4", ",", "arg_pointer_rtx", ")", ";", "vax_add_reg_cfa_offset", "(", "insn", ",", "8", ",", "frame_pointer_rtx", ")", ";", "vax_add_reg_cfa_offset", "(", "insn", ",", "12", ",", "pc_rtx", ")", ";", "offset", "=", "16", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "mask", "&", "(", "1", "<<", "regno", ")", ")", "{", "vax_add_reg_cfa_offset", "(", "insn", ",", "offset", ",", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ")", ";", "offset", "+=", "4", ";", "}", "add_reg_note", "(", "insn", ",", "REG_CFA_DEF_CFA", ",", "plus_constant", "(", "Pmode", ",", "frame_pointer_rtx", ",", "offset", ")", ")", ";", "size", "=", "get_frame_size", "(", ")", ";", "size", "-=", "vax_starting_frame_offset", "(", ")", ";", "emit_insn", "(", "gen_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "size", ")", ")", ")", ";", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "the", "assembly", "code", "for", "function", "entry", ".", "FILE", "is", "a", "stdio", "stream", "to", "output", "the", "code", "to", ".", "SIZE", "is", "an", "int", ":", "how", "many", "units", "of", "temporary", "storage", "to", "allocate", ".", "Refer", "to", "the", "array", "`", "regs_ever_live", "'", "to", "determine", "which", "registers", "to", "save", ";", "`", "regs_ever_live", "[", "I", "]", "'", "is", "nonzero", "if", "register", "number", "I", "is", "ever", "used", "in", "the", "function", ".", "This", "function", "is", "responsible", "for", "knowing", "which", "registers", "should", "not", "be", "saved", "even", "if", "used", "."], "TS_V_token": ["vax", "0", "0", "1", "1", "4", "8", "12", "16", "0", "1", "4"], "File": "vax7", "Func": "vax_expand_prologue", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15527, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "loongarch_eh_uses", "(", "unsigned", "int", "regno", "ATTRIBUTE_UNUSED", ")", "{", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "EH_USES", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_eh_uses", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15528, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "FISCMCCodeEmitter", "::", "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", "(", ")", ";", "}", "if", "(", "Kind", "==", "MCExpr", "::", "Constant", ")", "return", "cast", "<", "MCConstantExpr", ">", "(", "Expr", ")", "->", "getValue", "(", ")", ";", "assert", "(", "Kind", "==", "MCExpr", "::", "SymbolRef", ")", ";", "unsigned", "FixupKind", ";", "unsigned", "VKind", "=", "cast", "<", "MCSymbolRefExpr", ">", "(", "Expr", ")", "->", "getKind", "(", ")", ";", "switch", "(", "VKind", ")", "{", "case", "MCSymbolRefExpr", "::", "VK_None", ":", "return", "0", ";", "default", ":", "{", "std", "::", "string", "msg", "=", "\"Unknown fixup kind! (\"", "+", "std", "::", "to_string", "(", "VKind", ")", "+", "\")\"", ";", "llvm_unreachable", "(", "msg", ".", "c_str", "(", ")", ")", ";", "}", "case", "MCSymbolRefExpr", "::", "VK_FISC_Q1", ":", "FixupKind", "=", "FISC", "::", "fixup_fisc_mov_q1_pcrel", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_FISC_Q2", ":", "FixupKind", "=", "FISC", "::", "fixup_fisc_mov_q2_pcrel", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_FISC_Q3", ":", "FixupKind", "=", "FISC", "::", "fixup_fisc_mov_q3_pcrel", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_FISC_Q4", ":", "FixupKind", "=", "FISC", "::", "fixup_fisc_mov_q4_pcrel", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_FISC_CALL26", ":", "FixupKind", "=", "FISC", "::", "fixup_fisc_call26_pcrel", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_FISC_CALL19", ":", "FixupKind", "=", "FISC", "::", "fixup_fisc_call19_pcrel", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_FISC_9BIT", ":", "FixupKind", "=", "FISC", "::", "fixup_fisc_9bit_address", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_FISC_6BIT", ":", "FixupKind", "=", "FISC", "::", "fixup_fisc_6bit_shamt", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_FISC_12BIT", ":", "FixupKind", "=", "FISC", "::", "fixup_fisc_12bit_imm", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_FISC_MOVRZ", ":", "FixupKind", "=", "FISC", "::", "fixup_fisc_movrz_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": ["FISC", "FISC", "\"unknown operand kind in printOperand\"", "0", "\"Unknown fixup kind! (\"", "\")\"", "FISC", "FISC::fixup_fisc_mov_q1_pcrel", "FISC", "FISC::fixup_fisc_mov_q2_pcrel", "FISC", "FISC::fixup_fisc_mov_q3_pcrel", "FISC", "FISC::fixup_fisc_mov_q4_pcrel", "FISC", "FISC::fixup_fisc_call26_pcrel", "FISC", "FISC::fixup_fisc_call19_pcrel", "FISC", "FISC::fixup_fisc_9bit_address", "FISC", "FISC::fixup_fisc_6bit_shamt", "FISC", "FISC::fixup_fisc_12bit_imm", "FISC", "FISC::fixup_fisc_movrz_pcrel", "0", "0"], "File": "FISCMCCodeEmitter", "Func": "getMachineOpValue", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15529, "Length": 389, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMElfTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "bool", "isAAPCS_ABI", "=", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "isAAPCS_ABI", "(", ")", ";", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "InitializeELF", "(", "isAAPCS_ABI", ")", ";", "if", "(", "isAAPCS_ABI", ")", "{", "LSDASection", "=", "nullptr", ";", "}", "AttributesSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".ARM.attributes\"", ",", "ELF", "::", "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", "\".ARM.attributes\"", "ARM", "0"], "File": "ARMTargetObjectFile", "Func": "Initialize", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15530, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", ")", "{", "tree", "fntype", ";", "if", "(", "decl", ")", "fntype", "=", "TREE_TYPE", "(", "decl", ")", ";", "else", "fntype", "=", "TREE_TYPE", "(", "TREE_TYPE", "(", "CALL_EXPR_FN", "(", "exp", ")", ")", ")", ";", "if", "(", "TARGET_ALTIVEC_ABI", "&&", "TARGET_ALTIVEC_VRSAVE", "&&", "!", "(", "decl", "&&", "decl", "==", "current_function_decl", ")", ")", "{", "function_args_iterator", "args_iter", ";", "tree", "type", ";", "int", "nvreg", "=", "0", ";", "FOREACH_FUNCTION_ARGS", "(", "fntype", ",", "type", ",", "args_iter", ")", "if", "(", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", "&&", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "TYPE_MODE", "(", "type", ")", ")", ")", "nvreg", "++", ";", "FOREACH_FUNCTION_ARGS", "(", "TREE_TYPE", "(", "current_function_decl", ")", ",", "type", ",", "args_iter", ")", "if", "(", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", "&&", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "TYPE_MODE", "(", "type", ")", ")", ")", "nvreg", "--", ";", "if", "(", "nvreg", ">", "0", ")", "return", "false", ";", "}", "if", "(", "DEFAULT_ABI", "==", "ABI_DARWIN", "||", "(", "(", "DEFAULT_ABI", "==", "ABI_AIX", "||", "DEFAULT_ABI", "==", "ABI_ELFv2", ")", "&&", "decl", "&&", "!", "DECL_EXTERNAL", "(", "decl", ")", "&&", "(", "*", "targetm", ".", "binds_local_p", ")", "(", "decl", ")", ")", "||", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "(", "!", "TARGET_SECURE_PLT", "||", "!", "flag_pic", "||", "(", "decl", "&&", "(", "*", "targetm", ".", "binds_local_p", ")", "(", "decl", ")", ")", ")", ")", ")", "{", "tree", "attr_list", "=", "TYPE_ATTRIBUTES", "(", "fntype", ")", ";", "if", "(", "!", "lookup_attribute", "(", "\"longcall\"", ",", "attr_list", ")", "||", "lookup_attribute", "(", "\"shortcall\"", ",", "attr_list", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Say", "whether", "a", "function", "is", "a", "candidate", "for", "sibcall", "handling", "or", "not", ".", "We", "do", "not", "allow", "indirect", "calls", "to", "be", "optimized", "into", "sibling", "calls", ".", "Also", ",", "we", "ca", "n't", "do", "it", "if", "there", "are", "any", "vector", "parameters", ";", "there", "'s", "nowhere", "to", "put", "the", "VRsave", "code", "so", "it", "works", ";", "note", "that", "functions", "with", "vector", "parameters", "are", "required", "to", "have", "a", "prototype", ",", "so", "the", "argument", "type", "info", "must", "be", "available", "here", ".", "(", "The", "tail", "recursion", "case", "can", "work", "with", "vector", "parameters", ",", "but", "there", "'s", "no", "way", "to", "distinguish", "here", ".", ")"], "TS_V_token": ["rs6000", "0", "0", "\"longcall\"", "\"shortcall\""], "File": "rs60004", "Func": "rs6000_function_ok_for_sibcall", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15531, "Length": 233, "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": 15532, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_call_use_plt_p", "(", "rtx", "call_op", ")", "{", "if", "(", "SYMBOL_REF_LOCAL_P", "(", "call_op", ")", ")", "{", "if", "(", "SYMBOL_REF_DECL", "(", "call_op", ")", "&&", "TREE_CODE", "(", "SYMBOL_REF_DECL", "(", "call_op", ")", ")", "==", "FUNCTION_DECL", ")", "{", "cgraph_node", "*", "node", "=", "cgraph_node", "::", "get", "(", "SYMBOL_REF_DECL", "(", "call_op", ")", ")", ";", "if", "(", "node", "&&", "node", "->", "ifunc_resolver", ")", "return", "true", ";", "}", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "function", "is", "called", "via", "PLT", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_call_use_plt_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15533, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMELFStreamer", "::", "Reset", "(", ")", "{", "ExTab", "=", "nullptr", ";", "FnStart", "=", "nullptr", ";", "Personality", "=", "nullptr", ";", "PersonalityIndex", "=", "ARM", "::", "EHABI", "::", "NUM_PERSONALITY_INDEX", ";", "FPReg", "=", "ARM", "::", "SP", ";", "FPOffset", "=", "0", ";", "SPOffset", "=", "0", ";", "PendingOffset", "=", "0", ";", "UsedFP", "=", "false", ";", "CantUnwind", "=", "false", ";", "Opcodes", ".", "clear", "(", ")", ";", "UnwindOpAsm", ".", "Reset", "(", ")", ";", "}", ""], "natrual_language": ["Reset", "the", "unwind", "opcode", "assembler", "."], "TS_V_token": ["ARM", "ARM", "ARM::EHABI", "ARM::SP", "0", "0", "0"], "File": "ARMELFStreamer (2)", "Func": "Reset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15534, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1FrameLowering", "::", "canUseAsEpilogue", "(", "const", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "if", "(", "!", "needPopSpecialFixUp", "(", "*", "MBB", ".", "getParent", "(", ")", ")", ")", "return", "true", ";", "MachineBasicBlock", "*", "TmpMBB", "=", "const_cast", "<", "MachineBasicBlock", "*", ">", "(", "&", "MBB", ")", ";", "return", "emitPopSpecialFixUp", "(", "*", "TmpMBB", ",", "false", ")", ";", "}", ""], "natrual_language": ["Check", "whether", "or", "not", "the", "given", "MBB", "can", "be", "used", "as", "a", "epilogue", "for", "the", "target", "."], "TS_V_token": ["ARM"], "File": "Thumb1FrameLowering (2)", "Func": "canUseAsEpilogue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15535, "Length": 52, "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_r", "(", "str_to_check", ",", "\",\"", ",", "&", "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_r", "(", "NULL", ",", "\",\"", ",", "&", "str_to_check", ")", ";", "}", "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": "aarch64", "Func": "aarch64_process_target_attr", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15536, "Length": 231, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "small_data_operand", "(", "rtx", "op", "ATTRIBUTE_UNUSED", ",", "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", "(", "TARGET_SPE", "&&", "(", "SPE_VECTOR_MODE", "(", "mode", ")", "||", "FLOAT_MODE_P", "(", "mode", ")", ")", ")", "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", "||", "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": ["powerpcspe", "0", "0", "0", "0", "0", "0", "0", "1", "0", "0", "1", "0", "0", "0", "0"], "File": "powerpcspe", "Func": "small_data_operand", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15537, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "rs6000_loop_align", "(", "rtx", "label", ")", "{", "basic_block", "bb", ";", "int", "ninsns", ";", "if", "(", "!", "can_override_loop_align", ")", "return", "align_loops_log", ";", "bb", "=", "BLOCK_FOR_INSN", "(", "label", ")", ";", "ninsns", "=", "num_loop_insns", "(", "bb", "->", "loop_father", ")", ";", "if", "(", "ninsns", ">", "4", "&&", "ninsns", "<=", "8", "&&", "(", "rs6000_cpu", "==", "PROCESSOR_POWER4", "||", "rs6000_cpu", "==", "PROCESSOR_POWER5", "||", "rs6000_cpu", "==", "PROCESSOR_POWER6", "||", "rs6000_cpu", "==", "PROCESSOR_POWER7", "||", "rs6000_cpu", "==", "PROCESSOR_POWER8", "||", "rs6000_cpu", "==", "PROCESSOR_POWER9", ")", ")", "return", "5", ";", "else", "return", "align_loops_log", ";", "}", ""], "natrual_language": ["Implement", "LOOP_ALIGN", "."], "TS_V_token": ["rs6000", "4", "8", "5"], "File": "rs60005", "Func": "rs6000_loop_align", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15538, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "PPCTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'b'", ":", "if", "(", "VT", "==", "MVT", "::", "i64", "&&", "PPCSubTarget", ".", "isPPC64", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "G8RC_NOX0RegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "GPRC_NOR0RegClass", ")", ";", "case", "'r'", ":", "if", "(", "VT", "==", "MVT", "::", "i64", "&&", "PPCSubTarget", ".", "isPPC64", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "G8RCRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "GPRCRegClass", ")", ";", "case", "'f'", ":", "if", "(", "VT", "==", "MVT", "::", "f32", "||", "VT", "==", "MVT", "::", "i32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "F4RCRegClass", ")", ";", "if", "(", "VT", "==", "MVT", "::", "f64", "||", "VT", "==", "MVT", "::", "i64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "F8RCRegClass", ")", ";", "break", ";", "case", "'v'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "VRRCRegClass", ")", ";", "case", "'y'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "CRRCRegClass", ")", ";", "}", "}", "else", "if", "(", "Constraint", "==", "\"wc\"", ")", "{", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "CRBITRCRegClass", ")", ";", "}", "else", "if", "(", "Constraint", "==", "\"wa\"", "||", "Constraint", "==", "\"wd\"", "||", "Constraint", "==", "\"wf\"", "||", "Constraint", "==", "\"ws\"", ")", "{", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "VSRCRegClass", ")", ";", "}", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "R", "=", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "if", "(", "R", ".", "first", "&&", "VT", "==", "MVT", "::", "i64", "&&", "PPCSubTarget", ".", "isPPC64", "(", ")", "&&", "PPC", "::", "GPRCRegClass", ".", "contains", "(", "R", ".", "first", ")", ")", "{", "const", "TargetRegisterInfo", "*", "TRI", "=", "getTargetMachine", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "return", "std", "::", "make_pair", "(", "TRI", "->", "getMatchingSuperReg", "(", "R", ".", "first", ",", "PPC", "::", "sub_32", ",", "&", "PPC", "::", "G8RCRegClass", ")", ",", "&", "PPC", "::", "G8RCRegClass", ")", ";", "}", "return", "R", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["PowerPC", "PPC", "1", "0", "MVT::i64", "PPC", "PPC", "0U", "PPC::G8RC_NOX0RegClass", "0U", "PPC::GPRC_NOR0RegClass", "MVT::i64", "PPC", "PPC", "0U", "PPC::G8RCRegClass", "0U", "PPC::GPRCRegClass", "MVT::f32", "MVT::i32", "0U", "PPC::F4RCRegClass", "MVT::f64", "MVT::i64", "0U", "PPC::F8RCRegClass", "0U", "PPC::VRRCRegClass", "0U", "PPC::CRRCRegClass", "\"wc\"", "0U", "PPC::CRBITRCRegClass", "\"wa\"", "\"wd\"", "\"wf\"", "\"ws\"", "0U", "PPC::VSRCRegClass", "MVT::i64", "PPC", "PPC", "PPC::GPRCRegClass", "PPC::sub_32", "PPC::G8RCRegClass", "PPC::G8RCRegClass"], "File": "PPCISelLowering61", "Func": "getRegForInlineAsmConstraint", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15539, "Length": 378, "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", "SynchScope", "=", "AI", "->", "getSynchScope", "(", ")", ";", "auto", "Order", "=", "AtomicCmpXchgInst", "::", "getStrongestFailureOrdering", "(", "AI", "->", "getOrdering", "(", ")", ")", ";", "auto", "Ptr", "=", "AI", "->", "getPointerOperand", "(", ")", ";", "if", "(", "SynchScope", "==", "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", "(", "Ptr", ",", "AI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ")", ";", "Loaded", "->", "setAtomic", "(", "Order", ",", "SynchScope", ")", ";", "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": "X86ISelLowering (3)", "Func": "lowerIdempotentRMWIntoFencedLoad", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15540, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToReg", "(", "Register", "ValVReg", ",", "Register", "PhysReg", ",", "CCValAssign", "VA", ")", "override", "{", "markPhysRegUsed", "(", "PhysReg", ")", ";", "IncomingValueHandler", "::", "assignValueToReg", "(", "ValVReg", ",", "PhysReg", ",", "VA", ")", ";", "}", ""], "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": "X86CallLowering9", "Func": "assignValueToReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15541, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CSKYAsmBackend", "::", "shouldForceRelocation", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ")", "{", "if", "(", "Fixup", ".", "getKind", "(", ")", ">=", "FirstLiteralRelocationKind", ")", "return", "true", ";", "switch", "(", "Fixup", ".", "getTargetKind", "(", ")", ")", "{", "default", ":", "break", ";", "case", "CSKY", "::", "fixup_csky_got32", ":", "case", "CSKY", "::", "fixup_csky_got_imm18_scale4", ":", "case", "CSKY", "::", "fixup_csky_gotoff", ":", "case", "CSKY", "::", "fixup_csky_gotpc", ":", "case", "CSKY", "::", "fixup_csky_plt32", ":", "case", "CSKY", "::", "fixup_csky_plt_imm18_scale4", ":", "case", "CSKY", "::", "fixup_csky_doffset_imm18", ":", "case", "CSKY", "::", "fixup_csky_doffset_imm18_scale2", ":", "case", "CSKY", "::", "fixup_csky_doffset_imm18_scale4", ":", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Hook", "to", "check", "if", "a", "relocation", "is", "needed", "for", "some", "target", "specific", "reason", "."], "TS_V_token": ["CSKY", "CSKY", "CSKY::fixup_csky_got32", "CSKY::fixup_csky_got_imm18_scale4", "CSKY::fixup_csky_gotoff", "CSKY::fixup_csky_gotpc", "CSKY::fixup_csky_plt32", "CSKY::fixup_csky_plt_imm18_scale4", "CSKY::fixup_csky_doffset_imm18", "CSKY::fixup_csky_doffset_imm18_scale2", "CSKY::fixup_csky_doffset_imm18_scale4"], "File": "CSKYAsmBackend", "Func": "shouldForceRelocation", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15542, "Length": 100, "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_flushdi", "(", "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", ")", "emit_insn", "(", "gen_flushdi", "(", "validize_mem", "(", "adjust_address", "(", "m_tramp", ",", "DImode", ",", "8", ")", ")", ")", ")", ";", "emit_library_call", "(", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"__enable_execute_stack\"", ")", ",", "LCT_NORMAL", ",", "VOIDmode", ",", "1", ",", "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\"", "1", "0"], "File": "sparc4", "Func": "sparc64_initialize_trampoline", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15543, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "mips_symbol_type", "mips_classify_symbolic_expression", "(", "rtx", "x", ",", "enum", "mips_symbol_context", "context", ")", "{", "rtx", "offset", ";", "split_const", "(", "x", ",", "&", "x", ",", "&", "offset", ")", ";", "if", "(", "UNSPEC_ADDRESS_P", "(", "x", ")", ")", "return", "UNSPEC_ADDRESS_TYPE", "(", "x", ")", ";", "return", "mips_classify_symbol", "(", "x", ",", "context", ")", ";", "}", ""], "natrual_language": ["Classify", "the", "base", "of", "symbolic", "expression", "X", ",", "given", "that", "X", "appears", "in", "context", "CONTEXT", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_classify_symbolic_expression", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15544, "Length": 49, "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", ",", "LiveIntervals", "&", "LIS", ")", "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", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\tARM::shouldCoalesce - Coalesced Weight: \"", "<<", "It", "->", "second", "<<", "\"\\n\"", ")", ";", "LLVM_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": "ARMBaseRegisterInfo", "Func": "shouldCoalesce", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15545, "Length": 270, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBankInfo", "*", "X86Subtarget", "::", "getRegBankInfo", "(", ")", "const", "{", "return", "RegBankInfo", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["If", "the", "information", "for", "the", "register", "banks", "is", "available", ",", "return", "it", "."], "TS_V_token": ["X86", "X86"], "File": "X86Subtarget (2)3", "Func": "getRegBankInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15546, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZHazardRecognizer", "::", "Reset", "(", ")", "{", "CurrGroupSize", "=", "0", ";", "CurrGroupHas4RegOps", "=", "false", ";", "clearProcResCounters", "(", ")", ";", "GrpCount", "=", "0", ";", "LastFPdOpCycleIdx", "=", "UINT_MAX", ";", "LastEmittedMI", "=", "nullptr", ";", "LLVM_DEBUG", "(", "CurGroupDbg", "=", "\"\"", ";", ")", ";", "}", ""], "natrual_language": ["Reset", "the", "unwind", "opcode", "assembler", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "0", "\"\""], "File": "SystemZHazardRecognizer", "Func": "Reset", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15547, "Length": 40, "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", ",", "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)1", "Func": "LowerCallResult", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15548, "Length": 281, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_aix_precompute_tls_p", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ")", "{", "return", "tls_referenced_p", "(", "x", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PRECOMPUTE_TLS_P", ".", "On", "the", "AIX", ",", "TLS", "symbols", "are", "in", "the", "TOC", ",", "which", "is", "maintained", "in", "the", "constant", "pool", ".", "AIX", "TOC", "TLS", "symbols", "need", "to", "be", "pre-computed", ",", "but", "must", "be", "considered", "legitimate", "constants", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_aix_precompute_tls_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15549, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "new", "X86ExecutionDepsFix", "(", ")", ")", ";", "if", "(", "UseVZeroUpper", ")", "addPass", "(", "createX86IssueVZeroUpperPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createX86FixupBWInsts", "(", ")", ")", ";", "addPass", "(", "createX86PadShortFunctions", "(", ")", ")", ";", "addPass", "(", "createX86FixupLEAs", "(", ")", ")", ";", "addPass", "(", "createX86EvexToVexInsts", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86TargetMachine108", "Func": "addPreEmitPass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15550, "Length": 77, "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": 15551, "Length": 36, "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": 15552, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "valid_perm_using_mode_p", "(", "machine_mode", "vmode", ",", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "int", "i", ",", "j", ",", "chunk", ";", "if", "(", "GET_MODE_CLASS", "(", "vmode", ")", "!=", "MODE_VECTOR_INT", "||", "GET_MODE_CLASS", "(", "d", "->", "vmode", ")", "!=", "MODE_VECTOR_INT", "||", "GET_MODE_SIZE", "(", "vmode", ")", "!=", "GET_MODE_SIZE", "(", "d", "->", "vmode", ")", ")", "return", "false", ";", "if", "(", "GET_MODE_NUNITS", "(", "vmode", ")", ">=", "d", "->", "nelt", ")", "return", "true", ";", "chunk", "=", "d", "->", "nelt", "/", "GET_MODE_NUNITS", "(", "vmode", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "d", "->", "nelt", ";", "i", "+=", "chunk", ")", "if", "(", "d", "->", "perm", "[", "i", "]", "&", "(", "chunk", "-", "1", ")", ")", "return", "false", ";", "else", "for", "(", "j", "=", "1", ";", "j", "<", "chunk", ";", "++", "j", ")", "if", "(", "d", "->", "perm", "[", "i", "]", "+", "j", "!=", "d", "->", "perm", "[", "i", "+", "j", "]", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "permutation", "D", "can", "be", "performed", "as", "VMODE", "permutation", "instead", "."], "TS_V_token": ["i386", "0", "1", "1"], "File": "i386-expand", "Func": "valid_perm_using_mode_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15553, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAsmPrinter", "::", "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", "'c'", ":", "break", ";", "case", "'L'", ":", "if", "(", "!", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isReg", "(", ")", "||", "OpNo", "+", "1", "==", "MI", "->", "getNumOperands", "(", ")", "||", "!", "MI", "->", "getOperand", "(", "OpNo", "+", "1", ")", ".", "isReg", "(", ")", ")", "return", "true", ";", "++", "OpNo", ";", "break", ";", "case", "'I'", ":", "if", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isImm", "(", ")", ")", "O", "<<", "\"i\"", ";", "return", "false", ";", "}", "}", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["PowerPC", "PPC", "0", "1", "0", "0", "1", "1", "\"i\""], "File": "PPCAsmPrinter (2)", "Func": "PrintAsmOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15554, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"ARM Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"ARM Assembly Printer\""], "File": "ARMAsmPrinter", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15555, "Length": 11, "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", ";", "bool", "NeedShadowCallStackProlog", "=", "false", ";", "computeCalleeSaveRegisterPairs", "(", "MF", ",", "CSI", ",", "TRI", ",", "RegPairs", ",", "NeedShadowCallStackProlog", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "if", "(", "NeedShadowCallStackProlog", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "AArch64", "::", "STRXpost", ")", ")", ".", "addReg", "(", "AArch64", "::", "X18", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "AArch64", "::", "LR", ")", ".", "addReg", "(", "AArch64", "::", "X18", ")", ".", "addImm", "(", "8", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "MBB", ".", "addLiveIn", "(", "AArch64", "::", "X18", ")", ";", "}", "for", "(", "auto", "RPII", "=", "RegPairs", ".", "rbegin", "(", ")", ",", "RPIE", "=", "RegPairs", ".", "rend", "(", ")", ";", "RPII", "!=", "RPIE", ";", "++", "RPII", ")", "{", "RegPairInfo", "RPI", "=", "*", "RPII", ";", "unsigned", "Reg1", "=", "RPI", ".", "Reg1", ";", "unsigned", "Reg2", "=", "RPI", ".", "Reg2", ";", "unsigned", "StrOpc", ";", "if", "(", "RPI", ".", "IsGPR", ")", "StrOpc", "=", "RPI", ".", "isPaired", "(", ")", "?", "AArch64", "::", "STPXi", ":", "AArch64", "::", "STRXui", ";", "else", "StrOpc", "=", "RPI", ".", "isPaired", "(", ")", "?", "AArch64", "::", "STPDi", ":", "AArch64", "::", "STRDui", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"CSR spill: (\"", "<<", "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", "(", "StrOpc", ")", ")", ";", "if", "(", "!", "MRI", ".", "isReserved", "(", "Reg1", ")", ")", "MBB", ".", "addLiveIn", "(", "Reg1", ")", ";", "if", "(", "RPI", ".", "isPaired", "(", ")", ")", "{", "if", "(", "!", "MRI", ".", "isReserved", "(", "Reg2", ")", ")", "MBB", ".", "addLiveIn", "(", "Reg2", ")", ";", "MIB", ".", "addReg", "(", "Reg2", ",", "getPrologueDeath", "(", "MF", ",", "Reg2", ")", ")", ";", "MIB", ".", "addMemOperand", "(", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "RPI", ".", "FrameIdx", "+", "1", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "8", ",", "8", ")", ")", ";", "}", "MIB", ".", "addReg", "(", "Reg1", ",", "getPrologueDeath", "(", "MF", ",", "Reg1", ")", ")", ".", "addReg", "(", "AArch64", "::", "SP", ")", ".", "addImm", "(", "RPI", ".", "Offset", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "MIB", ".", "addMemOperand", "(", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "RPI", ".", "FrameIdx", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "8", ",", "8", ")", ")", ";", "}", "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::STRXpost", "AArch64::X18", "AArch64::LR", "AArch64::X18", "8", "AArch64::X18", "AArch64::STPXi", "AArch64::STRXui", "AArch64::STPDi", "AArch64::STRDui", "\"CSR spill: (\"", "\", \"", "\") -> fi#(\"", "\", \"", "1", "\")\\n\"", "1", "8", "8", "AArch64::SP", "8", "8"], "File": "AArch64FrameLowering13", "Func": "spillCalleeSavedRegisters", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15556, "Length": 507, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "gen_rx_popm_vector", "(", "unsigned", "int", "low", ",", "unsigned", "int", "high", ")", "{", "unsigned", "int", "i", ";", "unsigned", "int", "count", "=", "(", "high", "-", "low", ")", "+", "2", ";", "rtx", "vector", ";", "vector", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "count", ")", ")", ";", "XVECEXP", "(", "vector", ",", "0", ",", "0", ")", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "(", "count", "-", "1", ")", "*", "UNITS_PER_WORD", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "count", "-", "1", ";", "i", "++", ")", "XVECEXP", "(", "vector", ",", "0", ",", "i", "+", "1", ")", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "SImode", ",", "low", "+", "i", ")", ",", "gen_rtx_MEM", "(", "SImode", ",", "i", "==", "0", "?", "stack_pointer_rtx", ":", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "i", "*", "UNITS_PER_WORD", ")", ")", ")", ";", "return", "vector", ";", "}", ""], "natrual_language": ["Generate", "a", "PARALLEL", "which", "will", "satisfy", "the", "rx_load_multiple_vector", "predicate", "."], "TS_V_token": ["rx", "2", "0", "0", "1", "0", "1", "0", "1", "0"], "File": "rx2", "Func": "gen_rx_popm_vector", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15557, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_sve_expand_vector_init_insert_elems", "(", "rtx", "target", ",", "const", "rtx_vector_builder", "&", "builder", ",", "int", "nelts_reqd", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "target", ")", ";", "scalar_mode", "elem_mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "struct", "expand_operand", "ops", "[", "2", "]", ";", "enum", "insn_code", "icode", "=", "optab_handler", "(", "vec_duplicate_optab", ",", "mode", ")", ";", "gcc_assert", "(", "icode", "!=", "CODE_FOR_nothing", ")", ";", "create_output_operand", "(", "&", "ops", "[", "0", "]", ",", "target", ",", "mode", ")", ";", "create_input_operand", "(", "&", "ops", "[", "1", "]", ",", "builder", ".", "elt", "(", "nelts_reqd", "-", "1", ")", ",", "elem_mode", ")", ";", "expand_insn", "(", "icode", ",", "2", ",", "ops", ")", ";", "int", "ndups", "=", "builder", ".", "count_dups", "(", "nelts_reqd", "-", "1", ",", "-", "1", ",", "-", "1", ")", ";", "for", "(", "int", "i", "=", "nelts_reqd", "-", "ndups", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "emit_insr", "(", "target", ",", "builder", ".", "elt", "(", "i", ")", ")", ";", "}", ""], "natrual_language": ["Subroutine", "of", "aarch64_sve_expand_vector_init", ".", "Works", "as", "follows", ":", "(", "a", ")", "Initialize", "TARGET", "by", "broadcasting", "element", "NELTS_REQD", "-", "1", "of", "BUILDER", ".", "(", "b", ")", "Skip", "trailing", "elements", "from", "BUILDER", ",", "which", "are", "the", "same", "as", "element", "NELTS_REQD", "-", "1", ".", "(", "c", ")", "Insert", "earlier", "elements", "in", "reverse", "order", "in", "TARGET", "using", "insr", "."], "TS_V_token": ["aarch64", "2", "0", "1", "1", "2", "1", "1", "1", "1", "0"], "File": "aarch64", "Func": "aarch64_sve_expand_vector_init_insert_elems", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15558, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "aarch64_simd_builtin_type", "(", "machine_mode", "mode", ",", "enum", "aarch64_type_qualifiers", "qualifiers", ")", "{", "tree", "type", "=", "NULL_TREE", ";", "if", "(", "(", "qualifiers", "&", "qualifier_pointer", ")", "&&", "VECTOR_MODE_P", "(", "mode", ")", ")", "mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "if", "(", "(", "qualifiers", "&", "qualifier_poly", ")", "||", "VECTOR_MODE_P", "(", "mode", ")", ")", "type", "=", "aarch64_lookup_simd_type_in_table", "(", "mode", ",", "qualifiers", ")", ";", "else", "type", "=", "aarch64_int_or_fp_type", "(", "mode", ",", "qualifiers", ")", ";", "gcc_assert", "(", "type", "!=", "NULL_TREE", ")", ";", "if", "(", "qualifiers", "&", "qualifier_const", ")", "type", "=", "build_qualified_type", "(", "type", ",", "TYPE_QUAL_CONST", ")", ";", "if", "(", "qualifiers", "&", "qualifier_pointer", ")", "type", "=", "build_pointer_type", "(", "type", ")", ";", "return", "type", ";", "}", ""], "natrual_language": ["Return", "a", "type", "for", "an", "operand", "with", "specified", "mode", "and", "qualifiers", "."], "TS_V_token": ["aarch64"], "File": "aarch64-builtins1", "Func": "aarch64_simd_builtin_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15559, "Length": 108, "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": 15560, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_pushwb_single_reg", "(", "machine_mode", "mode", ",", "unsigned", "regno", ",", "HOST_WIDE_INT", "adjustment", ")", "{", "rtx", "base_rtx", "=", "stack_pointer_rtx", ";", "rtx", "insn", ",", "reg", ",", "mem", ";", "reg", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "mem", "=", "gen_rtx_PRE_MODIFY", "(", "Pmode", ",", "base_rtx", ",", "plus_constant", "(", "Pmode", ",", "base_rtx", ",", "-", "adjustment", ")", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "mode", ",", "mem", ")", ";", "insn", "=", "emit_move_insn", "(", "mem", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", ""], "natrual_language": ["Push", "the", "register", "number", "REGNO", "of", "mode", "MODE", "to", "the", "stack", "with", "write-back", "adjusting", "the", "stack", "by", "ADJUSTMENT", "."], "TS_V_token": ["aarch64", "1"], "File": "aarch642", "Func": "aarch64_pushwb_single_reg", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15561, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "KudeyarInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "unsigned", "Opc", ";", "Opc", "=", "Kudeyar", "::", "MOV_RR", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["Kudeyar", "Kudeyar", "Kudeyar::MOV_RR"], "File": "KudeyarInstrInfo", "Func": "copyPhysReg", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15562, "Length": 64, "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": 15563, "Length": 66, "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_simd_builtin_type", "(", "d", "->", "mode", ",", "qualifier_none", ")", ";", "machine_mode", "quadmode", "=", "GET_MODE_2XWIDER_MODE", "(", "d", "->", "mode", ")", ".", "require", "(", ")", ";", "tree", "quadtype", "=", "aarch64_simd_builtin_type", "(", "quadmode", ",", "qualifier_none", ")", ";", "tree", "lanetype", "=", "aarch64_simd_builtin_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-builtins1", "Func": "aarch64_init_fcmla_laneq_builtins", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15564, "Length": 144, "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": 15565, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "loongarch_load_store_insns", "(", "rtx", "mem", ",", "rtx_insn", "*", "insn", ")", "{", "machine_mode", "mode", ";", "bool", "might_split_p", ";", "rtx", "set", ";", "gcc_assert", "(", "MEM_P", "(", "mem", ")", ")", ";", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "might_split_p", "=", "GET_MODE_SIZE", "(", "mode", ")", ">", "UNITS_PER_WORD", ";", "if", "(", "might_split_p", ")", "{", "set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "set", "&&", "!", "loongarch_split_move_insn_p", "(", "SET_DEST", "(", "set", ")", ",", "SET_SRC", "(", "set", ")", ")", ")", "might_split_p", "=", "false", ";", "}", "return", "loongarch_address_insns", "(", "XEXP", "(", "mem", ",", "0", ")", ",", "mode", ",", "might_split_p", ")", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "needed", "to", "implement", "INSN", ",", "given", "that", "it", "loads", "from", "or", "stores", "to", "MEM", "."], "TS_V_token": ["loongarch", "0"], "File": "loongarch", "Func": "loongarch_load_store_insns", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15566, "Length": 95, "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": 15567, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "Cpu0", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["Cpu0", "Cpu0::NumTargetFixupKinds"], "File": "Cpu0AsmBackend", "Func": "getNumFixupKinds", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15568, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "or1k_legitimize_address", "(", "rtx", "x", ",", "rtx", ",", "machine_mode", ")", "{", "return", "or1k_legitimize_address_1", "(", "x", ",", "NULL_RTX", ")", ";", "}", ""], "natrual_language": ["Worker", "for", "TARGET_LEGITIMIZE_ADDRESS", ".", "This", "delegates", "implementation", "to", "or1k_legitimize_address_1", "."], "TS_V_token": ["or1k"], "File": "or1k", "Func": "or1k_legitimize_address", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15569, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isReturnBlock", "(", "const", "MachineBasicBlock", "*", "MBB", ")", "{", "for", "(", "auto", "MI", "=", "MBB", "->", "begin", "(", ")", ",", "ME", "=", "MBB", "->", "end", "(", ")", ";", "MI", "!=", "ME", ";", "MI", "++", ")", "if", "(", "MI", "->", "isReturn", "(", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Convenience", "function", "that", "returns", "true", "if", "the", "block", "ends", "in", "a", "return", "instruction", "."], "TS_V_token": ["X86"], "File": "X86ProtectReturnSupport", "Func": "isReturnBlock", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15570, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "bpick_ra_rb_dep_p", "(", "rtx", "insn", ",", "rtx", "def_reg", ")", "{", "rtx", "ior_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ";", "rtx", "and1_rtx", "=", "XEXP", "(", "ior_rtx", ",", "0", ")", ";", "rtx", "and2_rtx", "=", "XEXP", "(", "ior_rtx", ",", "1", ")", ";", "rtx", "reg1_0", "=", "XEXP", "(", "and1_rtx", ",", "0", ")", ";", "rtx", "reg1_1", "=", "XEXP", "(", "and1_rtx", ",", "1", ")", ";", "rtx", "reg2_0", "=", "XEXP", "(", "and2_rtx", ",", "0", ")", ";", "rtx", "reg2_1", "=", "XEXP", "(", "and2_rtx", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "reg1_0", ")", "==", "NOT", ")", "{", "if", "(", "rtx_equal_p", "(", "reg1_0", ",", "reg2_0", ")", ")", "return", "reg_overlap_p", "(", "def_reg", ",", "reg1_1", ")", "||", "reg_overlap_p", "(", "def_reg", ",", "reg2_1", ")", ";", "if", "(", "rtx_equal_p", "(", "reg1_0", ",", "reg2_1", ")", ")", "return", "reg_overlap_p", "(", "def_reg", ",", "reg1_1", ")", "||", "reg_overlap_p", "(", "def_reg", ",", "reg2_0", ")", ";", "}", "if", "(", "GET_CODE", "(", "reg1_1", ")", "==", "NOT", ")", "{", "if", "(", "rtx_equal_p", "(", "reg1_1", ",", "reg2_0", ")", ")", "return", "reg_overlap_p", "(", "def_reg", ",", "reg1_0", ")", "||", "reg_overlap_p", "(", "def_reg", ",", "reg2_1", ")", ";", "if", "(", "rtx_equal_p", "(", "reg1_1", ",", "reg2_1", ")", ")", "return", "reg_overlap_p", "(", "def_reg", ",", "reg1_0", ")", "||", "reg_overlap_p", "(", "def_reg", ",", "reg2_0", ")", ";", "}", "if", "(", "GET_CODE", "(", "reg2_0", ")", "==", "NOT", ")", "{", "if", "(", "rtx_equal_p", "(", "reg2_0", ",", "reg1_0", ")", ")", "return", "reg_overlap_p", "(", "def_reg", ",", "reg2_1", ")", "||", "reg_overlap_p", "(", "def_reg", ",", "reg1_1", ")", ";", "if", "(", "rtx_equal_p", "(", "reg2_0", ",", "reg1_1", ")", ")", "return", "reg_overlap_p", "(", "def_reg", ",", "reg2_1", ")", "||", "reg_overlap_p", "(", "def_reg", ",", "reg1_0", ")", ";", "}", "if", "(", "GET_CODE", "(", "reg2_1", ")", "==", "NOT", ")", "{", "if", "(", "rtx_equal_p", "(", "reg2_1", ",", "reg1_0", ")", ")", "return", "reg_overlap_p", "(", "def_reg", ",", "reg2_0", ")", "||", "reg_overlap_p", "(", "def_reg", ",", "reg1_1", ")", ";", "if", "(", "rtx_equal_p", "(", "reg2_1", ",", "reg1_1", ")", ")", "return", "reg_overlap_p", "(", "def_reg", ",", "reg2_0", ")", "||", "reg_overlap_p", "(", "def_reg", ",", "reg1_0", ")", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Check", "if", "INSN", "is", "a", "bpick", "insn", "consuming", "DEF_REG", "."], "TS_V_token": ["nds32", "0", "1", "0", "1", "0", "1"], "File": "nds32-pipelines-auxiliary", "Func": "bpick_ra_rb_dep_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15571, "Length": 322, "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": 15572, "Length": 286, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64A57FPLoadBalancing", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "if", "(", "!", "F", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "balanceFPOps", "(", ")", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** AArch64A57FPLoadBalancing *****\\n\"", ")", ";", "MRI", "=", "&", "F", ".", "getRegInfo", "(", ")", ";", "TRI", "=", "F", ".", "getRegInfo", "(", ")", ".", "getTargetRegisterInfo", "(", ")", ";", "RCI", ".", "runOnMachineFunction", "(", "F", ")", ";", "for", "(", "auto", "&", "MBB", ":", "F", ")", "{", "Changed", "|=", "runOnBasicBlock", "(", "MBB", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "\"***** AArch64A57FPLoadBalancing *****\\n\""], "File": "AArch64A57FPLoadBalancing17", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15573, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rx_print_operand_address", "(", "FILE", "*", "file", ",", "rtx", "addr", ")", "{", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "REG", ":", "fprintf", "(", "file", ",", "\"[\"", ")", ";", "rx_print_operand", "(", "file", ",", "addr", ",", "0", ")", ";", "fprintf", "(", "file", ",", "\"]\"", ")", ";", "break", ";", "case", "PRE_DEC", ":", "fprintf", "(", "file", ",", "\"[-\"", ")", ";", "rx_print_operand", "(", "file", ",", "XEXP", "(", "addr", ",", "0", ")", ",", "0", ")", ";", "fprintf", "(", "file", ",", "\"]\"", ")", ";", "break", ";", "case", "POST_INC", ":", "fprintf", "(", "file", ",", "\"[\"", ")", ";", "rx_print_operand", "(", "file", ",", "XEXP", "(", "addr", ",", "0", ")", ",", "0", ")", ";", "fprintf", "(", "file", ",", "\"+]\"", ")", ";", "break", ";", "case", "PLUS", ":", "{", "rtx", "arg1", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "rtx", "arg2", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "rtx", "base", ",", "index", ";", "if", "(", "REG_P", "(", "arg1", ")", "&&", "RTX_OK_FOR_BASE", "(", "arg1", ",", "true", ")", ")", "base", "=", "arg1", ",", "index", "=", "arg2", ";", "else", "if", "(", "REG_P", "(", "arg2", ")", "&&", "RTX_OK_FOR_BASE", "(", "arg2", ",", "true", ")", ")", "base", "=", "arg2", ",", "index", "=", "arg1", ";", "else", "{", "rx_print_operand", "(", "file", ",", "arg1", ",", "0", ")", ";", "fprintf", "(", "file", ",", "\" + \"", ")", ";", "rx_print_operand", "(", "file", ",", "arg2", ",", "0", ")", ";", "break", ";", "}", "if", "(", "REG_P", "(", "index", ")", "||", "GET_CODE", "(", "index", ")", "==", "MULT", ")", "{", "fprintf", "(", "file", ",", "\"[\"", ")", ";", "rx_print_operand", "(", "file", ",", "index", ",", "'A'", ")", ";", "fprintf", "(", "file", ",", "\",\"", ")", ";", "}", "else", "{", "rx_print_operand", "(", "file", ",", "index", ",", "'A'", ")", ";", "fprintf", "(", "file", ",", "\"[\"", ")", ";", "}", "rx_print_operand", "(", "file", ",", "base", ",", "0", ")", ";", "fprintf", "(", "file", ",", "\"]\"", ")", ";", "break", ";", "}", "case", "CONST", ":", "if", "(", "GET_CODE", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "==", "UNSPEC", ")", "{", "addr", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "gcc_assert", "(", "XINT", "(", "addr", ",", "1", ")", "==", "UNSPEC_CONST", ")", ";", "case", "UNSPEC", ":", "addr", "=", "XVECEXP", "(", "addr", ",", "0", ",", "0", ")", ";", "gcc_assert", "(", "CONST_INT_P", "(", "addr", ")", ")", ";", "}", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":", "fprintf", "(", "file", ",", "\"#\"", ")", ";", "default", ":", "output_addr_const", "(", "file", ",", "addr", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["A", "C", "compound", "statement", "to", "output", "to", "stdio", "stream", "FILE", "the", "assembler", "syntax", "for", "an", "instruction", "operand", "that", "is", "a", "memory", "reference", "whose", "address", "is", "ADDR", "."], "TS_V_token": ["rx", "\"[\"", "0", "\"]\"", "\"[-\"", "0", "0", "\"]\"", "\"[\"", "0", "0", "\"+]\"", "0", "1", "0", "\" + \"", "0", "\"[\"", "\",\"", "\"[\"", "0", "\"]\"", "0", "0", "1", "0", "0", "\"#\""], "File": "rx2", "Func": "rx_print_operand_address", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15574, "Length": 383, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "SystemZRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZTargetMachine12", "Func": "getRegisterInfo", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15575, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "needAddressOf", "(", ")", "const", "override", "{", "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": "X86Operand (2)", "Func": "needAddressOf", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15576, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_simd_gen_const_vector_dup", "(", "machine_mode", "mode", ",", "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", "(", "val", ")", ";", "return", "gen_rtx_CONST_VECTOR", "(", "mode", ",", "v", ")", ";", "}", ""], "natrual_language": ["Return", "a", "const_int", "vector", "of", "VAL", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch642", "Func": "aarch64_simd_gen_const_vector_dup", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15577, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "Mfix", "*", "create_csky_fix_barrier", "(", "Mfix", "*", "fix", ",", "Mfix", "*", "fix_next", ",", "HOST_WIDE_INT", "max_address", ")", "{", "rtx_barrier", "*", "barrier", ";", "rtx_insn", "*", "from", "=", "(", "fix", "?", "fix", "->", "insn", ":", "get_insns", "(", ")", ")", ";", "rtx_insn", "*", "selected", "=", "NULL", ";", "int", "selected_cost", ";", "HOST_WIDE_INT", "selected_address", "=", "0", ";", "Mfix", "*", "new_fix", ";", "HOST_WIDE_INT", "count", "=", "(", "fix", "?", "fix", "->", "address", ":", "0", ")", ";", "HOST_WIDE_INT", "max_count", "=", "max_address", ";", "rtx_code_label", "*", "label", "=", "gen_label_rtx", "(", ")", ";", "selected_cost", "=", "get_csky_barrier_cost", "(", "from", ")", ";", "while", "(", "from", "&&", "count", "<", "max_count", ")", "{", "int", "new_cost", ";", "rtx_jump_table_data", "*", "table", ";", "count", "+=", "get_attr_length", "(", "from", ")", ";", "if", "(", "tablejump_p", "(", "from", ",", "NULL", ",", "&", "table", ")", ")", "{", "count", "+=", "get_csky_jump_table_size", "(", "table", ")", ";", "new_cost", "=", "get_csky_barrier_cost", "(", "from", ")", ";", "if", "(", "count", "<", "max_count", "&&", "(", "!", "selected", "||", "new_cost", "<=", "selected_cost", ")", ")", "{", "selected", "=", "table", ";", "selected_cost", "=", "new_cost", ";", "selected_address", "=", "count", ";", "}", "from", "=", "NEXT_INSN", "(", "table", ")", ";", "continue", ";", "}", "new_cost", "=", "get_csky_barrier_cost", "(", "from", ")", ";", "if", "(", "count", "<", "max_count", "&&", "(", "!", "selected", "||", "new_cost", "<=", "selected_cost", ")", ")", "{", "selected", "=", "from", ";", "selected_cost", "=", "new_cost", ";", "selected_address", "=", "count", ";", "}", "from", "=", "NEXT_INSN", "(", "from", ")", ";", "}", "gcc_assert", "(", "selected", ")", ";", "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", ";", "if", "(", "fix", ")", "{", "new_fix", "->", "next", "=", "fix", "->", "next", ";", "fix", "->", "next", "=", "new_fix", ";", "}", "else", "new_fix", "->", "next", "=", "fix_next", ";", "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": ["csky", "0", "0"], "File": "csky", "Func": "create_csky_fix_barrier", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15578, "Length": 320, "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": 15579, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_lang_object_attributes_init", "(", "void", ")", "{", "arm_lang_output_object_attributes_hook", "=", "arm_output_c_attributes", ";", "}", ""], "natrual_language": ["Setup", "so", "that", "common", "code", "calls", "arm_output_c_attributes", "."], "TS_V_token": ["arm"], "File": "arm-c", "Func": "arm_lang_object_attributes_init", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15580, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nds32_warn_func_return", "(", "tree", "decl", ")", "{", "return", "!", "nds32_naked_function_p", "(", "decl", ")", ";", "}", ""], "natrual_language": ["Determine", "whether", "we", "need", "to", "enable", "warning", "for", "function", "return", "check", "."], "TS_V_token": ["nds32"], "File": "nds32", "Func": "nds32_warn_func_return", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15581, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "zero_all_mm_registers", "(", "HARD_REG_SET", "need_zeroed_hardregs", ",", "unsigned", "int", "ret_mmx_regno", ")", "{", "bool", "need_zero_all_mm", "=", "false", ";", "for", "(", "unsigned", "int", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "STACK_REGNO_P", "(", "regno", ")", "&&", "TEST_HARD_REG_BIT", "(", "need_zeroed_hardregs", ",", "regno", ")", ")", "{", "need_zero_all_mm", "=", "true", ";", "break", ";", "}", "if", "(", "!", "need_zero_all_mm", ")", "return", "false", ";", "rtx", "zero_mmx", "=", "NULL_RTX", ";", "machine_mode", "mode", "=", "V4HImode", ";", "for", "(", "unsigned", "int", "regno", "=", "FIRST_MMX_REG", ";", "regno", "<=", "LAST_MMX_REG", ";", "regno", "++", ")", "if", "(", "regno", "!=", "ret_mmx_regno", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "if", "(", "zero_mmx", "==", "NULL_RTX", ")", "{", "zero_mmx", "=", "reg", ";", "emit_insn", "(", "gen_rtx_SET", "(", "reg", ",", "CONST0_RTX", "(", "mode", ")", ")", ")", ";", "}", "else", "emit_move_insn", "(", "reg", ",", "zero_mmx", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["When", "the", "routine", "exit", "in", "MMX", "mode", ",", "if", "any", "ST", "register", "needs", "to", "be", "zeroed", ",", "we", "should", "clear", "all", "MMX", "registers", "except", "the", "RET_MMX_REGNO", "that", "holds", "the", "return", "value", "."], "TS_V_token": ["i386", "0"], "File": "i386", "Func": "zero_all_mm_registers", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15582, "Length": 142, "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": 15583, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "sh_pr_n_sets", "(", "void", ")", "{", "return", "REG_N_SETS", "(", "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": "sh3", "Func": "sh_pr_n_sets", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15584, "Length": 18, "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", ";", "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"], "File": "AArch64RegisterInfo (2)", "Func": "needsFrameBaseReg", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15585, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_xorsign", "(", "rtx", "operands", "[", "]", ")", "{", "machine_mode", "mode", ",", "vmode", ";", "rtx", "dest", ",", "vdest", ",", "op0", ",", "op1", ",", "mask", ",", "x", ",", "temp", ";", "dest", "=", "operands", "[", "0", "]", ";", "op0", "=", "operands", "[", "1", "]", ";", "op1", "=", "operands", "[", "2", "]", ";", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "if", "(", "mode", "==", "HFmode", ")", "vmode", "=", "V8HFmode", ";", "else", "if", "(", "mode", "==", "SFmode", ")", "vmode", "=", "V4SFmode", ";", "else", "if", "(", "mode", "==", "DFmode", ")", "vmode", "=", "V2DFmode", ";", "else", "gcc_unreachable", "(", ")", ";", "temp", "=", "gen_reg_rtx", "(", "vmode", ")", ";", "mask", "=", "ix86_build_signbit_mask", "(", "vmode", ",", "0", ",", "0", ")", ";", "op1", "=", "lowpart_subreg", "(", "vmode", ",", "force_reg", "(", "mode", ",", "op1", ")", ",", "mode", ")", ";", "x", "=", "gen_rtx_AND", "(", "vmode", ",", "op1", ",", "mask", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "temp", ",", "x", ")", ")", ";", "op0", "=", "lowpart_subreg", "(", "vmode", ",", "force_reg", "(", "mode", ",", "op0", ")", ",", "mode", ")", ";", "x", "=", "gen_rtx_XOR", "(", "vmode", ",", "temp", ",", "op0", ")", ";", "vdest", "=", "lowpart_subreg", "(", "vmode", ",", "dest", ",", "mode", ")", ";", "if", "(", "vdest", "==", "NULL_RTX", ")", "vdest", "=", "gen_reg_rtx", "(", "vmode", ")", ";", "else", "dest", "=", "NULL_RTX", ";", "emit_insn", "(", "gen_rtx_SET", "(", "vdest", ",", "x", ")", ")", ";", "if", "(", "dest", ")", "emit_move_insn", "(", "dest", ",", "lowpart_subreg", "(", "mode", ",", "vdest", ",", "vmode", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "an", "xorsign", "operation", "."], "TS_V_token": ["i386", "0", "1", "2", "0", "0"], "File": "i386-expand", "Func": "ix86_expand_xorsign", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15586, "Length": 234, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_bd_do_dispatch", "(", "rtx_insn", "*", "insn", ",", "int", "mode", ")", "{", "if", "(", "mode", "==", "DISPATCH_INIT", ")", "init_dispatch_sched", "(", ")", ";", "else", "if", "(", "mode", "==", "ADD_TO_DISPATCH_WINDOW", ")", "add_to_dispatch_window", "(", "insn", ")", ";", "}", ""], "natrual_language": ["This", "routine", "is", "the", "driver", "of", "the", "dispatch", "scheduler", "."], "TS_V_token": ["i386"], "File": "x86-tune-sched-bd", "Func": "ix86_bd_do_dispatch", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15587, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCFrameLowering", "::", "assignCalleeSavedSpillSlots", "(", "MachineFunction", "&", "MF", ",", "const", "TargetRegisterInfo", "*", "TRI", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "true", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "if", "(", "!", "EnablePEVectorSpills", "||", "MFI", ".", "hasCalls", "(", ")", "||", "!", "Subtarget", ".", "hasP9Vector", "(", ")", ")", "return", "false", ";", "BitVector", "BVAllocatable", "=", "TRI", "->", "getAllocatableSet", "(", "MF", ")", ";", "BitVector", "BVCalleeSaved", "(", "TRI", "->", "getNumRegs", "(", ")", ")", ";", "const", "PPCRegisterInfo", "*", "RegInfo", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "const", "MCPhysReg", "*", "CSRegs", "=", "RegInfo", "->", "getCalleeSavedRegs", "(", "&", "MF", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "CSRegs", "[", "i", "]", ";", "++", "i", ")", "BVCalleeSaved", ".", "set", "(", "CSRegs", "[", "i", "]", ")", ";", "for", "(", "unsigned", "Reg", ":", "BVAllocatable", ".", "set_bits", "(", ")", ")", "{", "if", "(", "BVCalleeSaved", "[", "Reg", "]", "||", "!", "PPC", "::", "VSRCRegClass", ".", "contains", "(", "Reg", ")", "||", "MF", ".", "getRegInfo", "(", ")", ".", "isPhysRegUsed", "(", "Reg", ")", ")", "BVAllocatable", ".", "reset", "(", "Reg", ")", ";", "}", "bool", "AllSpilledToReg", "=", "true", ";", "unsigned", "LastVSRUsedForSpill", "=", "0", ";", "for", "(", "auto", "&", "CS", ":", "CSI", ")", "{", "if", "(", "BVAllocatable", ".", "none", "(", ")", ")", "return", "false", ";", "unsigned", "Reg", "=", "CS", ".", "getReg", "(", ")", ";", "if", "(", "!", "PPC", "::", "G8RCRegClass", ".", "contains", "(", "Reg", ")", ")", "{", "AllSpilledToReg", "=", "false", ";", "continue", ";", "}", "if", "(", "LastVSRUsedForSpill", "!=", "0", ")", "{", "CS", ".", "setDstReg", "(", "LastVSRUsedForSpill", ")", ";", "BVAllocatable", ".", "reset", "(", "LastVSRUsedForSpill", ")", ";", "LastVSRUsedForSpill", "=", "0", ";", "continue", ";", "}", "unsigned", "VolatileVFReg", "=", "BVAllocatable", ".", "find_first", "(", ")", ";", "if", "(", "VolatileVFReg", "<", "BVAllocatable", ".", "size", "(", ")", ")", "{", "CS", ".", "setDstReg", "(", "VolatileVFReg", ")", ";", "LastVSRUsedForSpill", "=", "VolatileVFReg", ";", "}", "else", "{", "AllSpilledToReg", "=", "false", ";", "}", "}", "return", "AllSpilledToReg", ";", "}", ""], "natrual_language": ["This", "function", "will", "assign", "callee", "saved", "gprs", "to", "volatile", "vector", "registers", "for", "prologue", "spills", "when", "applicable", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "0", "PPC::VSRCRegClass", "0", "PPC::G8RCRegClass", "0", "0"], "File": "PPCFrameLowering36", "Func": "assignCalleeSavedSpillSlots", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15588, "Length": 315, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "loongarch_address_insns", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "bool", "might_split_p", ")", "{", "struct", "loongarch_address_info", "addr", ";", "int", "factor", ";", "if", "(", "!", "loongarch_classify_address", "(", "&", "addr", ",", "x", ",", "mode", ",", "false", ")", ")", "return", "0", ";", "if", "(", "mode", "!=", "BLKmode", "&&", "might_split_p", ")", "factor", "=", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "else", "factor", "=", "1", ";", "if", "(", "loongarch_classify_address", "(", "&", "addr", ",", "x", ",", "mode", ",", "false", ")", ")", "switch", "(", "addr", ".", "type", ")", "{", "case", "ADDRESS_REG", ":", "return", "factor", ";", "case", "ADDRESS_REG_REG", ":", "return", "factor", ";", "case", "ADDRESS_CONST_INT", ":", "return", "factor", ";", "case", "ADDRESS_SYMBOLIC", ":", "return", "factor", "*", "loongarch_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", "address", "X", ".", "Return", "0", "if", "X", "is", "n't", "valid", "for", "MODE", ".", "Assume", "that", "multiword", "moves", "may", "need", "to", "be", "split", "into", "word", "moves", "if", "MIGHT_SPLIT_P", ",", "otherwise", "assume", "that", "a", "single", "load", "or", "store", "is", "enough", "."], "TS_V_token": ["loongarch", "0", "1", "1", "0"], "File": "loongarch", "Func": "loongarch_address_insns", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15589, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCVSXSwapRemoval", "::", "initialize", "(", "MachineFunction", "&", "MFParm", ")", "{", "MF", "=", "&", "MFParm", ";", "MRI", "=", "&", "MF", "->", "getRegInfo", "(", ")", ";", "TII", "=", "MF", "->", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "int", "InitialVectorSize", "(", "256", ")", ";", "SwapVector", ".", "clear", "(", ")", ";", "SwapVector", ".", "reserve", "(", "InitialVectorSize", ")", ";", "EC", "=", "new", "EquivalenceClasses", "<", "int", ">", ";", "}", ""], "natrual_language": ["Initialize", "the", "strategy", "after", "building", "the", "DAG", "for", "a", "new", "region", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "256"], "File": "PPCVSXSwapRemoval", "Func": "initialize", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15590, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "MCObjectFormat", "&", "getObjectFormat", "(", ")", "const", "{", "return", "Format", ";", "}", ""], "natrual_language": ["Get", "the", "object", "format", "for", "this", "triple", "."], "TS_V_token": ["PowerPC"], "File": "PPCAsmBackend26", "Func": "getObjectFormat", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15591, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "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", ";", "if", "(", "RealCallerBits", "==", "RealCalleeBits", ")", "return", "true", ";", "if", "(", "(", "RealCallerBits", "&", "RealCalleeBits", ")", "!=", "RealCalleeBits", ")", "return", "false", ";", "for", "(", "const", "Instruction", "&", "I", ":", "instructions", "(", "Callee", ")", ")", "{", "if", "(", "const", "auto", "*", "CB", "=", "dyn_cast", "<", "CallBase", ">", "(", "&", "I", ")", ")", "{", "SmallVector", "<", "Type", "*", ",", "8", ">", "Types", ";", "for", "(", "Value", "*", "Arg", ":", "CB", "->", "args", "(", ")", ")", "Types", ".", "push_back", "(", "Arg", "->", "getType", "(", ")", ")", ";", "if", "(", "!", "CB", "->", "getType", "(", ")", "->", "isVoidTy", "(", ")", ")", "Types", ".", "push_back", "(", "CB", "->", "getType", "(", ")", ")", ";", "auto", "IsSimpleTy", "=", "[", "]", "(", "Type", "*", "Ty", ")", "{", "return", "!", "Ty", "->", "isVectorTy", "(", ")", "&&", "!", "Ty", "->", "isAggregateType", "(", ")", ";", "}", ";", "if", "(", "all_of", "(", "Types", ",", "IsSimpleTy", ")", ")", "continue", ";", "if", "(", "Function", "*", "NestedCallee", "=", "CB", "->", "getCalledFunction", "(", ")", ")", "{", "if", "(", "NestedCallee", "->", "isIntrinsic", "(", ")", ")", "continue", ";", "if", "(", "!", "areTypesABICompatible", "(", "Caller", ",", "NestedCallee", ",", "Types", ")", ")", "return", "false", ";", "}", "else", "{", "return", "false", ";", "}", "}", "}", "return", "true", ";", "}", ""], "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": ["X86", "X86", "8"], "File": "X86TargetTransformInfo10", "Func": "areInlineCompatible", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15592, "Length": 278, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ATTRIBUTE_UNUSED", "ix86_debug_options", "(", "void", ")", "{", "char", "*", "opts", "=", "ix86_target_string", "(", "ix86_isa_flags", ",", "target_flags", ",", "ix86_arch_string", ",", "ix86_tune_string", ",", "ix86_fpmath", ",", "true", ")", ";", "if", "(", "opts", ")", "{", "fprintf", "(", "stderr", ",", "\"%s\\n\\n\"", ",", "opts", ")", ";", "free", "(", "opts", ")", ";", "}", "else", "fputs", "(", "\"\\n\\n\"", ",", "stderr", ")", ";", "return", ";", "}", ""], "natrual_language": ["Function", "that", "is", "callable", "from", "the", "debugger", "to", "print", "the", "current", "options", "."], "TS_V_token": ["i386", "\"%s\\n\\n\"", "\"\\n\\n\""], "File": "i3864", "Func": "ix86_debug_options", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15593, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "X86_64MachoTargetObjectFile", "::", "getTTypeGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "unsigned", "Encoding", ",", "const", "TargetMachine", "&", "TM", ",", "MachineModuleInfo", "*", "MMI", ",", "MCStreamer", "&", "Streamer", ")", "const", "{", "if", "(", "(", "Encoding", "&", "DW_EH_PE_indirect", ")", "&&", "(", "Encoding", "&", "DW_EH_PE_pcrel", ")", ")", "{", "const", "MCSymbol", "*", "Sym", "=", "TM", ".", "getSymbol", "(", "GV", ")", ";", "const", "MCExpr", "*", "Res", "=", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "MCSymbolRefExpr", "::", "VK_GOTPCREL", ",", "getContext", "(", ")", ")", ";", "const", "MCExpr", "*", "Four", "=", "MCConstantExpr", "::", "create", "(", "4", ",", "getContext", "(", ")", ")", ";", "return", "MCBinaryExpr", "::", "createAdd", "(", "Res", ",", "Four", ",", "getContext", "(", ")", ")", ";", "}", "return", "TargetLoweringObjectFileMachO", "::", "getTTypeGlobalReference", "(", "GV", ",", "Encoding", ",", "TM", ",", "MMI", ",", "Streamer", ")", ";", "}", ""], "natrual_language": ["The", "mach-o", "version", "of", "this", "method", "defaults", "to", "returning", "a", "stub", "reference", "."], "TS_V_token": ["X86", "X86", "4"], "File": "X86TargetObjectFile16", "Func": "getTTypeGlobalReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15594, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "return", "AArch64", "::", "X29", ";", "else", "return", "AArch64", "::", "XSP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::X29", "AArch64::XSP"], "File": "AArch64RegisterInfo20", "Func": "getFrameRegister", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15595, "Length": 48, "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", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.module\\tarch=%s\\n\"", ",", "mips_arch_info", "->", "name", ")", ";", "if", "(", "TARGET_DSPR2", ")", "fputs", "(", "\"\\t.module\\tdspr2\\n\"", ",", "asm_out_file", ")", ";", "else", "if", "(", "TARGET_DSP", ")", "fputs", "(", "\"\\t.module\\tdsp\\n\"", ",", "asm_out_file", ")", ";", "if", "(", "TARGET_EVA", ")", "fputs", "(", "\"\\t.module\\teva\\n\"", ",", "asm_out_file", ")", ";", "if", "(", "TARGET_MCU", ")", "fputs", "(", "\"\\t.module\\tmcu\\n\"", ",", "asm_out_file", ")", ";", "if", "(", "TARGET_MDMX", ")", "fputs", "(", "\"\\t.module\\tmdmx\\n\"", ",", "asm_out_file", ")", ";", "if", "(", "TARGET_MIPS3D", ")", "fputs", "(", "\"\\t.module\\tmips3d\\n\"", ",", "asm_out_file", ")", ";", "if", "(", "TARGET_MT", ")", "fputs", "(", "\"\\t.module\\tmt\\n\"", ",", "asm_out_file", ")", ";", "if", "(", "TARGET_SMARTMIPS", ")", "fputs", "(", "\"\\t.module\\tsmartmips\\n\"", ",", "asm_out_file", ")", ";", "if", "(", "TARGET_VIRT", ")", "fputs", "(", "\"\\t.module\\tvirt\\n\"", ",", "asm_out_file", ")", ";", "if", "(", "TARGET_MSA", ")", "fputs", "(", "\"\\t.module\\tmsa\\n\"", ",", "asm_out_file", ")", ";", "if", "(", "TARGET_XPA", ")", "fputs", "(", "\"\\t.module\\txpa\\n\"", ",", "asm_out_file", ")", ";", "if", "(", "TARGET_CRC", ")", "fputs", "(", "\"\\t.module\\tcrc\\n\"", ",", "asm_out_file", ")", ";", "if", "(", "TARGET_GINV", ")", "fputs", "(", "\"\\t.module\\tginv\\n\"", ",", "asm_out_file", ")", ";", "if", "(", "TARGET_LOONGSON_MMI", ")", "fputs", "(", "\"\\t.module\\tloongson-mmi\\n\"", ",", "asm_out_file", ")", ";", "if", "(", "TARGET_LOONGSON_EXT2", ")", "fputs", "(", "\"\\t.module\\tloongson-ext2\\n\"", ",", "asm_out_file", ")", ";", "else", "if", "(", "TARGET_LOONGSON_EXT", ")", "fputs", "(", "\"\\t.module\\tloongson-ext\\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", "(", "ISA_HAS_MSA", ")", "fprintf", "(", "asm_out_file", ",", "\"\\t.gnu_attribute 8, 1\\n\"", ")", ";", "}", "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\"", "\"\\t.module\\tarch=%s\\n\"", "\"\\t.module\\tdspr2\\n\"", "\"\\t.module\\tdsp\\n\"", "\"\\t.module\\teva\\n\"", "\"\\t.module\\tmcu\\n\"", "\"\\t.module\\tmdmx\\n\"", "\"\\t.module\\tmips3d\\n\"", "\"\\t.module\\tmt\\n\"", "\"\\t.module\\tsmartmips\\n\"", "\"\\t.module\\tvirt\\n\"", "\"\\t.module\\tmsa\\n\"", "\"\\t.module\\txpa\\n\"", "\"\\t.module\\tcrc\\n\"", "\"\\t.module\\tginv\\n\"", "\"\\t.module\\tloongson-mmi\\n\"", "\"\\t.module\\tloongson-ext2\\n\"", "\"\\t.module\\tloongson-ext\\n\"", "0", "3", "2", "5", "6", "7", "1", "\"\\t.gnu_attribute 4, %d\\n\"", "\"\\t.gnu_attribute 8, 1\\n\"", "\"\\t.abicalls\\n\"", "\"\\t.option\\tpic0\\n\"", "\"\\n%s -G value = %d, Arch = %s, ISA = %d\\n\""], "File": "mips", "Func": "mips_file_start", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15596, "Length": 488, "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": ["Cpu0"], "File": "Cpu0AsmParser", "Func": "isImm", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15597, "Length": 13, "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": 15598, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addCodeGenPrepare", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createARMCodeGenPreparePass", "(", ")", ")", ";", "TargetPassConfig", "::", "addCodeGenPrepare", "(", ")", ";", "}", ""], "natrual_language": ["Add", "pass", "to", "prepare", "the", "LLVM", "IR", "for", "code", "generation", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMTargetMachine", "Func": "addCodeGenPrepare", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15599, "Length": 31, "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", "=", "(", "Subtarget", ".", "getFrameLowering", "(", ")", "->", "getStackAlignment", "(", ")", ">=", "Alignment", ")", "||", "RI", ".", "canRealignStack", "(", "MF", ")", ";", "unsigned", "Opc", "=", "getLoadRegOpcode", "(", "DestReg", ",", "RC", ",", "isAligned", ",", "Subtarget", ")", ";", "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)1", "Func": "loadRegFromStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15600, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "*", "aarch64_output_ptrue", "(", "machine_mode", "mode", ",", "char", "suffix", ")", "{", "unsigned", "int", "nunits", ";", "static", "char", "buf", "[", "sizeof", "(", "\"ptrue\\t%0.N, vlNNNNN\"", ")", "]", ";", "if", "(", "GET_MODE_NUNITS", "(", "mode", ")", ".", "is_constant", "(", "&", "nunits", ")", ")", "snprintf", "(", "buf", ",", "sizeof", "(", "buf", ")", ",", "\"ptrue\\t%%0.%c, vl%d\"", ",", "suffix", ",", "nunits", ")", ";", "else", "snprintf", "(", "buf", ",", "sizeof", "(", "buf", ")", ",", "\"ptrue\\t%%0.%c, all\"", ",", "suffix", ")", ";", "return", "buf", ";", "}", ""], "natrual_language": ["Return", "the", "asm", "format", "for", "a", "PTRUE", "instruction", "whose", "destination", "has", "mode", "MODE", ".", "SUFFIX", "is", "the", "element", "size", "suffix", "."], "TS_V_token": ["aarch64", "\"ptrue\\t%0.N, vlNNNNN\"", "\"ptrue\\t%%0.%c, vl%d\"", "\"ptrue\\t%%0.%c, all\""], "File": "aarch645", "Func": "aarch64_output_ptrue", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15601, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "SelectAddressRegReg", "(", "SDValue", "N", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Index", ",", "SelectionDAG", "&", "DAG", ",", "unsigned", "EncodingAlignment", ")", "const", "{", "int16_t", "imm", "=", "0", ";", "if", "(", "N", ".", "getOpcode", "(", ")", "==", "ISD", "::", "ADD", ")", "{", "if", "(", "isIntS16Immediate", "(", "N", ".", "getOperand", "(", "1", ")", ",", "imm", ")", "&&", "(", "!", "EncodingAlignment", "||", "!", "(", "imm", "%", "EncodingAlignment", ")", ")", ")", "return", "false", ";", "if", "(", "N", ".", "getOperand", "(", "1", ")", ".", "getOpcode", "(", ")", "==", "PPCISD", "::", "Lo", ")", "return", "false", ";", "Base", "=", "N", ".", "getOperand", "(", "0", ")", ";", "Index", "=", "N", ".", "getOperand", "(", "1", ")", ";", "return", "true", ";", "}", "else", "if", "(", "N", ".", "getOpcode", "(", ")", "==", "ISD", "::", "OR", ")", "{", "if", "(", "isIntS16Immediate", "(", "N", ".", "getOperand", "(", "1", ")", ",", "imm", ")", "&&", "(", "!", "EncodingAlignment", "||", "!", "(", "imm", "%", "EncodingAlignment", ")", ")", ")", "return", "false", ";", "KnownBits", "LHSKnown", "=", "DAG", ".", "computeKnownBits", "(", "N", ".", "getOperand", "(", "0", ")", ")", ";", "if", "(", "LHSKnown", ".", "Zero", ".", "getBoolValue", "(", ")", ")", "{", "KnownBits", "RHSKnown", "=", "DAG", ".", "computeKnownBits", "(", "N", ".", "getOperand", "(", "1", ")", ")", ";", "if", "(", "~", "(", "LHSKnown", ".", "Zero", "|", "RHSKnown", ".", "Zero", ")", "==", "0", ")", "{", "Base", "=", "N", ".", "getOperand", "(", "0", ")", ";", "Index", "=", "N", ".", "getOperand", "(", "1", ")", ";", "return", "true", ";", "}", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["SelectAddressRegReg", "-", "Given", "the", "specified", "addressed", ",", "check", "to", "see", "if", "it", "can", "be", "more", "efficiently", "represented", "as", "[", "r+imm", "]", "."], "TS_V_token": ["PowerPC", "PPC", "0", "ISD::ADD", "1", "1", "PPCISD::Lo", "0", "1", "ISD::OR", "1", "0", "1", "0", "0", "1"], "File": "PPCISelLowering121", "Func": "SelectAddressRegReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15602, "Length": 242, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rename_chain", "(", "tag_insn_info", "*", "insn_info", ",", "tag_map_t", "&", "tag_map", ",", "du_head_p", "head", ")", "{", "unsigned", "dest_regno", "=", "head", "->", "regno", ";", "if", "(", "head", "->", "cannot_rename", "||", "head", "->", "renamed", ")", "return", "-", "1", ";", "HARD_REG_SET", "unavailable", ";", "enum", "reg_class", "super_class", "=", "init_unavailable", "(", "insn_info", ",", "tag_map", ",", "head", ",", "&", "unavailable", ")", ";", "unsigned", "new_regno", "=", "find_rename_reg", "(", "head", ",", "super_class", ",", "&", "unavailable", ",", "dest_regno", ",", "false", ")", ";", "if", "(", "new_regno", "!=", "dest_regno", "&&", "regrename_do_replace", "(", "head", ",", "new_regno", ")", ")", "{", "if", "(", "dump_file", "&&", "(", "dump_flags", "&", "TDF_DETAILS", ")", ")", "fprintf", "(", "dump_file", ",", "\"\\tInsn %d: Renamed %d to %d\\n\"", ",", "INSN_UID", "(", "insn_info", "->", "insn", ")", ",", "dest_regno", ",", "new_regno", ")", ";", "return", "new_regno", ";", "}", "return", "-", "1", ";", "}", ""], "natrual_language": ["Find", "a", "suitable", "and", "available", "register", "and", "rename", "the", "chain", "of", "occurrences", "of", "the", "register", "defined", "in", "the", "def/use", "chain", "headed", "by", "HEAD", "in", "which", "INSN", "exists", ".", "CUR_TAG", ",", "TAGS", "and", "TAG_MAP", "are", "used", "to", "determine", "which", "registers", "are", "unavailable", "due", "to", "a", "potential", "collision", "due", "to", "the", "rename", ".", "The", "routine", "returns", "the", "register", "number", "in", "case", "of", "a", "successful", "rename", "or", "-1", "to", "indicate", "failure", "."], "TS_V_token": ["aarch64", "1", "\"\\tInsn %d: Renamed %d to %d\\n\"", "1"], "File": "falkor-tag-collision-avoidance", "Func": "rename_chain", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15603, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "ARMBaseRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "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", "(", "FramePtr", ")", ";", "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::SP", "ARM::PC", "ARM::FPSCR", "ARM::APSR_NZCV", "ARM::R9", "ARM::D31", "ARM::D16", "15", "0", "16", "ARM::D16", "ARM::GPRPairRegClass"], "File": "ARMBaseRegisterInfo15", "Func": "getReservedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15604, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCCTRLoops", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "auto", "*", "TPC", "=", "getAnalysisIfAvailable", "<", "TargetPassConfig", ">", "(", ")", ";", "if", "(", "!", "TPC", ")", "return", "false", ";", "TM", "=", "&", "TPC", "->", "getTM", "<", "PPCTargetMachine", ">", "(", ")", ";", "STI", "=", "TM", "->", "getSubtargetImpl", "(", "F", ")", ";", "TLI", "=", "STI", "->", "getTargetLowering", "(", ")", ";", "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", "PPC"], "File": "PPCCTRLoops15", "Func": "runOnFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15605, "Length": 216, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_expand_builtin", "(", "tree", "exp", ",", "rtx", "target", ",", "rtx", "subtarget", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "int", "ignore", "ATTRIBUTE_UNUSED", ")", "{", "tree", "fndecl", "=", "TREE_OPERAND", "(", "CALL_EXPR_FN", "(", "exp", ")", ",", "0", ")", ";", "int", "fcode", "=", "DECL_FUNCTION_CODE", "(", "fndecl", ")", ";", "int", "icode", ";", "rtx", "pat", ",", "op0", ";", "tree", "arg0", ";", "switch", "(", "fcode", ")", "{", "case", "AARCH64_BUILTIN_GET_FPCR", ":", "case", "AARCH64_BUILTIN_SET_FPCR", ":", "case", "AARCH64_BUILTIN_GET_FPSR", ":", "case", "AARCH64_BUILTIN_SET_FPSR", ":", "if", "(", "(", "fcode", "==", "AARCH64_BUILTIN_GET_FPCR", ")", "||", "(", "fcode", "==", "AARCH64_BUILTIN_GET_FPSR", ")", ")", "{", "icode", "=", "(", "fcode", "==", "AARCH64_BUILTIN_GET_FPSR", ")", "?", "CODE_FOR_get_fpsr", ":", "CODE_FOR_get_fpcr", ";", "target", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ")", ";", "}", "else", "{", "target", "=", "NULL_RTX", ";", "icode", "=", "(", "fcode", "==", "AARCH64_BUILTIN_SET_FPSR", ")", "?", "CODE_FOR_set_fpsr", ":", "CODE_FOR_set_fpcr", ";", "arg0", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "op0", "=", "force_reg", "(", "SImode", ",", "expand_normal", "(", "arg0", ")", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op0", ")", ";", "}", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "}", "if", "(", "fcode", ">=", "AARCH64_SIMD_BUILTIN_BASE", "&&", "fcode", "<=", "AARCH64_SIMD_BUILTIN_MAX", ")", "return", "aarch64_simd_expand_builtin", "(", "fcode", ",", "exp", ",", "target", ")", ";", "else", "if", "(", "fcode", ">=", "AARCH64_CRC32_BUILTIN_BASE", "&&", "fcode", "<=", "AARCH64_CRC32_BUILTIN_MAX", ")", "return", "aarch64_crc32_expand_builtin", "(", "fcode", ",", "exp", ",", "target", ")", ";", "if", "(", "fcode", "==", "AARCH64_BUILTIN_RSQRT_DF", "||", "fcode", "==", "AARCH64_BUILTIN_RSQRT_SF", "||", "fcode", "==", "AARCH64_BUILTIN_RSQRT_V2DF", "||", "fcode", "==", "AARCH64_BUILTIN_RSQRT_V2SF", "||", "fcode", "==", "AARCH64_BUILTIN_RSQRT_V4SF", ")", "return", "aarch64_expand_builtin_rsqrt", "(", "fcode", ",", "exp", ",", "target", ")", ";", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_EXPAND_BUILTIN", "."], "TS_V_token": ["aarch64", "0", "0"], "File": "aarch64-builtins3", "Func": "aarch64_expand_builtin", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15606, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "override", "{", "TM", "=", "&", "F", ".", "getTarget", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "FI", "=", "F", ".", "begin", "(", ")", ",", "FE", "=", "F", ".", "end", "(", ")", ";", "FI", "!=", "FE", ";", "++", "FI", ")", "Changed", "|=", "runOnMachineBasicBlock", "(", "*", "FI", ")", ";", "if", "(", "Changed", ")", "F", ".", "getRegInfo", "(", ")", ".", "invalidateLiveness", "(", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips"], "File": "MipsDelaySlotFiller12", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15607, "Length": 77, "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": 15608, "Length": 366, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "rs6000_dbx_register_number", "(", "unsigned", "int", "regno", ",", "unsigned", "int", "format", ")", "{", "if", "(", "SPE_HIGH_REGNO_P", "(", "regno", ")", ")", "return", "regno", "-", "FIRST_SPE_HIGH_REGNO", "+", "1200", ";", "if", "(", "(", "format", "==", "0", "&&", "write_symbols", "!=", "DWARF2_DEBUG", ")", "||", "format", "==", "2", ")", "return", "regno", ";", "if", "(", "regno", "<=", "63", ")", "return", "regno", ";", "if", "(", "regno", "==", "LR_REGNO", ")", "return", "108", ";", "if", "(", "regno", "==", "CTR_REGNO", ")", "return", "109", ";", "if", "(", "format", "==", "1", "&&", "regno", "==", "CR2_REGNO", ")", "return", "64", ";", "if", "(", "CR_REGNO_P", "(", "regno", ")", ")", "return", "regno", "-", "CR0_REGNO", "+", "86", ";", "if", "(", "regno", "==", "CA_REGNO", ")", "return", "101", ";", "if", "(", "ALTIVEC_REGNO_P", "(", "regno", ")", ")", "return", "regno", "-", "FIRST_ALTIVEC_REGNO", "+", "1124", ";", "if", "(", "regno", "==", "VRSAVE_REGNO", ")", "return", "356", ";", "if", "(", "regno", "==", "VSCR_REGNO", ")", "return", "67", ";", "if", "(", "regno", "==", "SPE_ACC_REGNO", ")", "return", "99", ";", "if", "(", "regno", "==", "SPEFSCR_REGNO", ")", "return", "612", ";", "return", "regno", ";", "}", ""], "natrual_language": ["Map", "internal", "gcc", "register", "numbers", "to", "DWARF2", "register", "numbers", "."], "TS_V_token": ["powerpcspe", "1200", "0", "2", "63", "108", "109", "1", "64", "86", "101", "1124", "356", "67", "99", "612"], "File": "powerpcspe", "Func": "rs6000_dbx_register_number", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15609, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCRegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "const", "unsigned", "DefaultSafety", "=", "1", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "PPC", "::", "G8RC_NOX0RegClassID", ":", "case", "PPC", "::", "GPRC_NOR0RegClassID", ":", "case", "PPC", "::", "G8RCRegClassID", ":", "case", "PPC", "::", "GPRCRegClassID", ":", "{", "unsigned", "FP", "=", "TFI", "->", "hasFP", "(", "MF", ")", "?", "1", ":", "0", ";", "return", "32", "-", "FP", "-", "DefaultSafety", ";", "}", "case", "PPC", "::", "F8RCRegClassID", ":", "case", "PPC", "::", "F4RCRegClassID", ":", "case", "PPC", "::", "VRRCRegClassID", ":", "case", "PPC", "::", "VSLRCRegClassID", ":", "case", "PPC", "::", "VSHRCRegClassID", ":", "return", "32", "-", "DefaultSafety", ";", "case", "PPC", "::", "VSRCRegClassID", ":", "return", "64", "-", "DefaultSafety", ";", "case", "PPC", "::", "CRRCRegClassID", ":", "return", "8", "-", "DefaultSafety", ";", "}", "}", ""], "natrual_language": ["Return", "the", "register", "pressure", "``", "high", "water", "mark", "''", "for", "the", "specific", "register", "class", "."], "TS_V_token": ["PowerPC", "PPC", "1", "0", "PPC::G8RC_NOX0RegClassID", "PPC::GPRC_NOR0RegClassID", "PPC::G8RCRegClassID", "PPC::GPRCRegClassID", "1", "0", "32", "PPC::F8RCRegClassID", "PPC::F4RCRegClassID", "PPC::VRRCRegClassID", "PPC::VSLRCRegClassID", "PPC::VSHRCRegClassID", "32", "PPC::VSRCRegClassID", "64", "PPC::CRRCRegClassID", "8"], "File": "PPCRegisterInfo24", "Func": "getRegPressureLimit", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15610, "Length": 146, "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": 15611, "Length": 488, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64TargetELFStreamer", "::", "emitDirectiveVariantPCS", "(", "MCSymbol", "*", "Symbol", ")", "{", "getStreamer", "(", ")", ".", "getAssembler", "(", ")", ".", "registerSymbol", "(", "*", "Symbol", ")", ";", "cast", "<", "MCSymbolELF", ">", "(", "Symbol", ")", "->", "setOther", "(", "ELF", "::", "STO_AARCH64_VARIANT_PCS", ")", ";", "}", ""], "natrual_language": ["Callback", "used", "to", "implement", "the", ".variant_pcs", "directive", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ELFStreamer18", "Func": "emitDirectiveVariantPCS", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15612, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "override", "{", "verifyInstructionPredicates", "(", "MI", ",", "computeAvailableFeatures", "(", "STI", ".", "getFeatureBits", "(", ")", ")", ")", ";", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "Opcode", ")", ";", "uint64_t", "Bits", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "unsigned", "Size", "=", "Desc", ".", "getSize", "(", ")", ";", "switch", "(", "Size", ")", "{", "case", "0", ":", "break", ";", "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", "0", "4", "support::endian", "support::little", "support::endian", "support::big", "8", "32", "32", "support::endian", "support::little", "support::endian", "support::big", "\"Invalid instruction size\""], "File": "PPCMCCodeEmitter15", "Func": "encodeInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15613, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMachineVerifierClean", "(", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "is", "expected", "to", "pass", "all", "machine", "verifier", "checks", "."], "TS_V_token": ["PowerPC"], "File": "PPCTargetMachine10", "Func": "isMachineVerifierClean", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15614, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "ARMBaseRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "if", "(", "STI", ".", "isTargetNaCl", "(", ")", ")", "return", "CSR_NaCl_SaveList", ";", "const", "MCPhysReg", "*", "RegList", "=", "(", "STI", ".", "isTargetIOS", "(", ")", "&&", "!", "STI", ".", "isAAPCS_ABI", "(", ")", ")", "?", "CSR_iOS_SaveList", ":", "CSR_AAPCS_SaveList", ";", "if", "(", "!", "MF", ")", "return", "RegList", ";", "const", "Function", "*", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "if", "(", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "GHC", ")", "{", "return", "CSR_NoRegs_SaveList", ";", "}", "else", "if", "(", "F", "->", "hasFnAttribute", "(", "\"interrupt\"", ")", ")", "{", "if", "(", "STI", ".", "isMClass", "(", ")", ")", "{", "return", "CSR_AAPCS_SaveList", ";", "}", "else", "if", "(", "F", "->", "getFnAttribute", "(", "\"interrupt\"", ")", ".", "getValueAsString", "(", ")", "==", "\"FIQ\"", ")", "{", "return", "CSR_FIQ_SaveList", ";", "}", "else", "{", "return", "CSR_GenericInt_SaveList", ";", "}", "}", "return", "RegList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["ARM", "ARM", "\"interrupt\"", "\"interrupt\"", "\"FIQ\""], "File": "ARMBaseRegisterInfo85", "Func": "getCalleeSavedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15615, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AvoidSFBPass", "::", "buildCopy", "(", "MachineInstr", "*", "LoadInst", ",", "unsigned", "NLoadOpcode", ",", "int64_t", "LoadDisp", ",", "MachineInstr", "*", "StoreInst", ",", "unsigned", "NStoreOpcode", ",", "int64_t", "StoreDisp", ",", "unsigned", "Size", ",", "int64_t", "LMMOffset", ",", "int64_t", "SMMOffset", ")", "{", "MachineOperand", "&", "LoadBase", "=", "getBaseOperand", "(", "LoadInst", ")", ";", "MachineOperand", "&", "StoreBase", "=", "getBaseOperand", "(", "StoreInst", ")", ";", "MachineBasicBlock", "*", "MBB", "=", "LoadInst", "->", "getParent", "(", ")", ";", "MachineMemOperand", "*", "LMMO", "=", "*", "LoadInst", "->", "memoperands_begin", "(", ")", ";", "MachineMemOperand", "*", "SMMO", "=", "*", "StoreInst", "->", "memoperands_begin", "(", ")", ";", "Register", "Reg1", "=", "MRI", "->", "createVirtualRegister", "(", "TII", "->", "getRegClass", "(", "TII", "->", "get", "(", "NLoadOpcode", ")", ",", "0", ",", "TRI", ",", "*", "(", "MBB", "->", "getParent", "(", ")", ")", ")", ")", ";", "MachineInstr", "*", "NewLoad", "=", "BuildMI", "(", "*", "MBB", ",", "LoadInst", ",", "LoadInst", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "NLoadOpcode", ")", ",", "Reg1", ")", ".", "add", "(", "LoadBase", ")", ".", "addImm", "(", "1", ")", ".", "addReg", "(", "X86", "::", "NoRegister", ")", ".", "addImm", "(", "LoadDisp", ")", ".", "addReg", "(", "X86", "::", "NoRegister", ")", ".", "addMemOperand", "(", "MBB", "->", "getParent", "(", ")", "->", "getMachineMemOperand", "(", "LMMO", ",", "LMMOffset", ",", "Size", ")", ")", ";", "if", "(", "LoadBase", ".", "isReg", "(", ")", ")", "getBaseOperand", "(", "NewLoad", ")", ".", "setIsKill", "(", "false", ")", ";", "LLVM_DEBUG", "(", "NewLoad", "->", "dump", "(", ")", ")", ";", "MachineInstr", "*", "StInst", "=", "StoreInst", ";", "auto", "PrevInstrIt", "=", "skipDebugInstructionsBackward", "(", "std", "::", "prev", "(", "MachineBasicBlock", "::", "instr_iterator", "(", "StoreInst", ")", ")", ",", "MBB", "->", "instr_begin", "(", ")", ")", ";", "if", "(", "PrevInstrIt", ".", "getNodePtr", "(", ")", "==", "LoadInst", ")", "StInst", "=", "LoadInst", ";", "MachineInstr", "*", "NewStore", "=", "BuildMI", "(", "*", "MBB", ",", "StInst", ",", "StInst", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "NStoreOpcode", ")", ")", ".", "add", "(", "StoreBase", ")", ".", "addImm", "(", "1", ")", ".", "addReg", "(", "X86", "::", "NoRegister", ")", ".", "addImm", "(", "StoreDisp", ")", ".", "addReg", "(", "X86", "::", "NoRegister", ")", ".", "addReg", "(", "Reg1", ")", ".", "addMemOperand", "(", "MBB", "->", "getParent", "(", ")", "->", "getMachineMemOperand", "(", "SMMO", ",", "SMMOffset", ",", "Size", ")", ")", ";", "if", "(", "StoreBase", ".", "isReg", "(", ")", ")", "getBaseOperand", "(", "NewStore", ")", ".", "setIsKill", "(", "false", ")", ";", "MachineOperand", "&", "StoreSrcVReg", "=", "StoreInst", "->", "getOperand", "(", "X86", "::", "AddrNumOperands", ")", ";", "assert", "(", "StoreSrcVReg", ".", "isReg", "(", ")", "&&", "\"Expected virtual register\"", ")", ";", "NewStore", "->", "getOperand", "(", "X86", "::", "AddrNumOperands", ")", ".", "setIsKill", "(", "StoreSrcVReg", ".", "isKill", "(", ")", ")", ";", "LLVM_DEBUG", "(", "NewStore", "->", "dump", "(", ")", ")", ";", "}", ""], "natrual_language": ["Build", "and", "insert", "Res", "=", "COPY", "Op", "."], "TS_V_token": ["X86", "X86", "0", "1", "X86::NoRegister", "X86::NoRegister", "1", "X86::NoRegister", "X86::NoRegister", "X86::AddrNumOperands", "\"Expected virtual register\"", "X86::AddrNumOperands"], "File": "X86AvoidStoreForwardingBlocks2", "Func": "buildCopy", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15616, "Length": 410, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_frame_pointer_required", "(", "void", ")", "{", "if", "(", "cfun", "->", "machine", "->", "accesses_prev_frame", ")", "return", "true", ";", "if", "(", "SUBTARGET_FRAME_POINTER_REQUIRED", ")", "return", "true", ";", "if", "(", "TARGET_32BIT_MS_ABI", "&&", "cfun", "->", "calls_setjmp", ")", "return", "true", ";", "if", "(", "TARGET_64BIT_MS_ABI", "&&", "get_frame_size", "(", ")", ">", "SEH_MAX_FRAME_SIZE", ")", "return", "true", ";", "if", "(", "TARGET_OMIT_LEAF_FRAME_POINTER", "&&", "(", "!", "crtl", "->", "is_leaf", "||", "ix86_current_function_calls_tls_descriptor", ")", ")", "return", "true", ";", "if", "(", "crtl", "->", "profile", "&&", "!", "flag_fentry", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Value", "should", "be", "nonzero", "if", "functions", "must", "have", "frame", "pointers", ".", "Zero", "means", "the", "frame", "pointer", "need", "not", "be", "set", "up", "(", "and", "parms", "may", "be", "accessed", "via", "the", "stack", "pointer", ")", "in", "functions", "that", "seem", "suitable", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_frame_pointer_required", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15617, "Length": 81, "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", "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", ";", "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", ")", "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", "ISD::BITCAST", "ISD::CopyToReg", "1", "0", "0", "ARMISD::RET_FLAG"], "File": "ARMISelLowering (2)1", "Func": "isUsedByReturnOnly", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15618, "Length": 413, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "tls_model", "tls_symbolic_operand_type", "(", "rtx", "addr", ")", "{", "enum", "tls_model", "tls_kind", "=", "TLS_MODEL_NONE", ";", "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"], "File": "ia64", "Func": "tls_symbolic_operand_type", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15619, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "output_indirect_thunk", "(", "unsigned", "int", "regno", ")", "{", "char", "indirectlabel1", "[", "32", "]", ";", "char", "indirectlabel2", "[", "32", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "indirectlabel1", ",", "INDIRECT_LABEL", ",", "indirectlabelno", "++", ")", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "indirectlabel2", ",", "INDIRECT_LABEL", ",", "indirectlabelno", "++", ")", ";", "fputs", "(", "\"\\tcall\\t\"", ",", "asm_out_file", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "indirectlabel2", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "indirectlabel1", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tpause\\n\\tlfence\\n\"", ")", ";", "fputs", "(", "\"\\tjmp\\t\"", ",", "asm_out_file", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "indirectlabel1", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "indirectlabel2", ")", ";", "if", "(", "flag_asynchronous_unwind_tables", "&&", "dwarf2out_do_frame", "(", ")", ")", "{", "if", "(", "!", "dwarf2out_do_cfi_asm", "(", ")", ")", "{", "dw_cfi_ref", "xcfi", "=", "ggc_cleared_alloc", "<", "dw_cfi_node", ">", "(", ")", ";", "xcfi", "->", "dw_cfi_opc", "=", "DW_CFA_advance_loc4", ";", "xcfi", "->", "dw_cfi_oprnd1", ".", "dw_cfi_addr", "=", "ggc_strdup", "(", "indirectlabel2", ")", ";", "vec_safe_push", "(", "cfun", "->", "fde", "->", "dw_fde_cfi", ",", "xcfi", ")", ";", "}", "dw_cfi_ref", "xcfi", "=", "ggc_cleared_alloc", "<", "dw_cfi_node", ">", "(", ")", ";", "xcfi", "->", "dw_cfi_opc", "=", "DW_CFA_def_cfa_offset", ";", "xcfi", "->", "dw_cfi_oprnd1", ".", "dw_cfi_offset", "=", "2", "*", "UNITS_PER_WORD", ";", "vec_safe_push", "(", "cfun", "->", "fde", "->", "dw_fde_cfi", ",", "xcfi", ")", ";", "dwarf2out_emit_cfi", "(", "xcfi", ")", ";", "}", "if", "(", "regno", "!=", "INVALID_REGNUM", ")", "{", "rtx", "xops", "[", "2", "]", ";", "xops", "[", "0", "]", "=", "gen_rtx_MEM", "(", "word_mode", ",", "stack_pointer_rtx", ")", ";", "xops", "[", "1", "]", "=", "gen_rtx_REG", "(", "word_mode", ",", "regno", ")", ";", "output_asm_insn", "(", "\"mov\\t{%1, %0|%0, %1}\"", ",", "xops", ")", ";", "}", "else", "{", "rtx", "xops", "[", "2", "]", ";", "xops", "[", "0", "]", "=", "stack_pointer_rtx", ";", "xops", "[", "1", "]", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "UNITS_PER_WORD", ")", ";", "output_asm_insn", "(", "\"lea\\t{%E1, %0|%0, %E1}\"", ",", "xops", ")", ";", "}", "fputs", "(", "\"\\tret\\n\"", ",", "asm_out_file", ")", ";", "if", "(", "(", "ix86_harden_sls", "&", "harden_sls_return", ")", ")", "fputs", "(", "\"\\tint3\\n\"", ",", "asm_out_file", ")", ";", "}", ""], "natrual_language": ["Output", "a", "call", "and", "return", "thunk", "for", "indirect", "branch", ".", "If", "BND_P", "is", "true", ",", "the", "BND", "prefix", "is", "needed", ".", "If", "REGNO", "!", "=", "-1", ",", "the", "function", "address", "is", "in", "REGNO", "and", "the", "call", "and", "return", "thunk", "looks", "like", ":", "call", "L2", "L1", ":", "pause", "lfence", "jmp", "L1", "L2", ":", "mov", "%", "REG", ",", "(", "%", "sp", ")", "ret", "Otherwise", ",", "the", "function", "address", "is", "on", "the", "top", "of", "stack", "and", "the", "call", "and", "return", "thunk", "looks", "like", ":", "call", "L2", "L1", ":", "pause", "lfence", "jmp", "L1", "L2", ":", "lea", "WORD_SIZE", "(", "%", "sp", ")", ",", "%", "sp", "ret"], "TS_V_token": ["i386", "32", "32", "\"\\tcall\\t\"", "\"\\tpause\\n\\tlfence\\n\"", "\"\\tjmp\\t\"", "2", "2", "0", "1", "\"mov\\t{%1, %0|%0, %1}\"", "2", "0", "1", "\"lea\\t{%E1, %0|%0, %E1}\"", "\"\\tret\\n\"", "\"\\tint3\\n\""], "File": "i386", "Func": "output_indirect_thunk", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15620, "Length": 308, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_internal_arg_pointer", "(", "void", ")", "{", "if", "(", "flag_split_stack", "&&", "(", "lookup_attribute", "(", "\"no_split_stack\"", ",", "DECL_ATTRIBUTES", "(", "cfun", "->", "decl", ")", ")", "==", "NULL", ")", ")", "{", "if", "(", "cfun", "->", "machine", "->", "split_stack_arg_pointer", "==", "NULL_RTX", ")", "{", "rtx", "pat", ";", "cfun", "->", "machine", "->", "split_stack_arg_pointer", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "REG_POINTER", "(", "cfun", "->", "machine", "->", "split_stack_arg_pointer", ")", "=", "1", ";", "pat", "=", "gen_rtx_SET", "(", "cfun", "->", "machine", "->", "split_stack_arg_pointer", ",", "gen_rtx_REG", "(", "Pmode", ",", "12", ")", ")", ";", "push_topmost_sequence", "(", ")", ";", "emit_insn_after", "(", "pat", ",", "get_insns", "(", ")", ")", ";", "pop_topmost_sequence", "(", ")", ";", "}", "return", "plus_constant", "(", "Pmode", ",", "cfun", "->", "machine", "->", "split_stack_arg_pointer", ",", "FIRST_PARM_OFFSET", "(", "current_function_decl", ")", ")", ";", "}", "return", "virtual_incoming_args_rtx", ";", "}", ""], "natrual_language": ["Return", "the", "internal", "arg", "pointer", "used", "for", "function", "incoming", "arguments", ".", "When", "-fsplit-stack", ",", "the", "arg", "pointer", "is", "r12", "so", "we", "need", "to", "copy", "it", "to", "a", "pseudo", "in", "order", "for", "it", "to", "be", "preserved", "over", "calls", "and", "suchlike", ".", "We", "'d", "really", "like", "to", "use", "a", "pseudo", "here", "for", "the", "internal", "arg", "pointer", "but", "data-flow", "analysis", "is", "not", "prepared", "to", "accept", "pseudos", "as", "live", "at", "the", "beginning", "of", "a", "function", "."], "TS_V_token": ["rs6000", "\"no_split_stack\"", "1", "12"], "File": "rs60005", "Func": "rs6000_internal_arg_pointer", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15621, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstPrinter", "::", "applyTargetSpecificCLOption", "(", "StringRef", "Opt", ")", "{", "if", "(", "Opt", "==", "\"no-aliases\"", ")", "{", "PrintAliases", "=", "false", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Customize", "the", "printer", "according", "to", "a", "command", "line", "option", "."], "TS_V_token": ["AArch64", "AArch64", "\"no-aliases\""], "File": "AArch64InstPrinter13", "Func": "applyTargetSpecificCLOption", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15622, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTTI", "::", "getNumberOfRegisters", "(", "bool", "Vector", ")", "const", "{", "if", "(", "Vector", "&&", "!", "ST", "->", "hasAltivec", "(", ")", ")", "return", "0", ";", "return", "ST", "->", "hasVSX", "(", ")", "?", "64", ":", "32", ";", "}", ""], "natrual_language": ["\ufffd", "?", "Vector", "TTI", "begin", "\ufffd", "?"], "TS_V_token": ["PowerPC", "PPC", "0", "64", "32"], "File": "PPCTargetTransformInfo20", "Func": "getNumberOfRegisters", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15623, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "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": "rs6000-logue", "Func": "rs6000_disqualify_components", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15624, "Length": 64, "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", "::", "LDURHHi", ":", "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::LDURHHi", "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": "AArch64LoadStoreOptimizer35", "Func": "getMemScale", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15625, "Length": 232, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "X86FrameLowering", "::", "getInitialCFARegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "TRI", "->", "getDwarfRegNum", "(", "StackPtr", ",", "true", ")", ";", "}", ""], "natrual_language": ["Return", "initial", "CFA", "register", "value", "i.e", "."], "TS_V_token": ["X86", "X86"], "File": "X86FrameLowering (2)3", "Func": "getInitialCFARegister", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15626, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "X86TargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "X86PassConfig", "(", "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": ["X86", "X86", "X86"], "File": "X86TargetMachine", "Func": "createPassConfig", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15627, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "TargetOpcode", "::", "LOAD_STACK_GUARD", ":", "{", "assert", "(", "Subtarget", ".", "isTargetLinux", "(", ")", "&&", "\"Only Linux target is expected to contain LOAD_STACK_GUARD\"", ")", ";", "const", "int64_t", "Offset", "=", "Subtarget", ".", "isPPC64", "(", ")", "?", "-", "0x7010", ":", "-", "0x7008", ";", "const", "unsigned", "Reg", "=", "Subtarget", ".", "isPPC64", "(", ")", "?", "PPC", "::", "X13", ":", "PPC", "::", "R2", ";", "MI", "->", "setDesc", "(", "get", "(", "Subtarget", ".", "isPPC64", "(", ")", "?", "PPC", "::", "LD", ":", "PPC", "::", "LWZ", ")", ")", ";", "MachineInstrBuilder", "(", "*", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ".", "addImm", "(", "Offset", ")", ".", "addReg", "(", "Reg", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["PowerPC", "PPC", "\"Only Linux target is expected to contain LOAD_STACK_GUARD\"", "PPC", "0x7010", "0x7008", "PPC", "PPC::X13", "PPC::R2", "PPC", "PPC::LD", "PPC::LWZ"], "File": "PPCInstrInfo113", "Func": "expandPostRAPseudo", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15628, "Length": 129, "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_or_fixed_reg_p", "(", "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": "ia64", "Func": "find_gr_spill", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15629, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "i386_pe_mark_dllexport", "(", "tree", "decl", ")", "{", "const", "char", "*", "oldname", ";", "char", "*", "newname", ";", "rtx", "rtlname", ";", "rtx", "symref", ";", "tree", "idp", ";", "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", ")", ";", "if", "(", "i386_pe_dllimport_name_p", "(", "oldname", ")", ")", "{", "warning", "(", "0", ",", "\"inconsistent dll linkage for %q+D, dllexport assumed\"", ",", "decl", ")", ";", "oldname", "+=", "strlen", "(", "DLL_IMPORT_PREFIX", ")", ";", "}", "else", "if", "(", "i386_pe_dllexport_name_p", "(", "oldname", ")", ")", "return", ";", "newname", "=", "alloca", "(", "strlen", "(", "DLL_EXPORT_PREFIX", ")", "+", "strlen", "(", "oldname", ")", "+", "1", ")", ";", "sprintf", "(", "newname", ",", "\"%s%s\"", ",", "DLL_EXPORT_PREFIX", ",", "oldname", ")", ";", "idp", "=", "get_identifier", "(", "newname", ")", ";", "symref", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "IDENTIFIER_POINTER", "(", "idp", ")", ")", ";", "SYMBOL_REF_DECL", "(", "symref", ")", "=", "decl", ";", "XEXP", "(", "DECL_RTL", "(", "decl", ")", ",", "0", ")", "=", "symref", ";", "}", ""], "natrual_language": ["Mark", "a", "DECL", "as", "being", "dllexport", "'d", ".", "Note", "that", "we", "override", "the", "previous", "setting", "(", "e.g", ".", ":", "dllimport", ")", "."], "TS_V_token": ["i386", "0", "0", "0", "0", "\"inconsistent dll linkage for %q+D, dllexport assumed\"", "1", "\"%s%s\"", "0"], "File": "winnt3", "Func": "i386_pe_mark_dllexport", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15630, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "umips_12bit_offset_address_p", "(", "rtx", "x", ",", "machine_mode", "mode", ")", "{", "struct", "mips_address_info", "addr", ";", "return", "(", "mips_classify_address", "(", "&", "addr", ",", "x", ",", "mode", ",", "false", ")", "&&", "addr", ".", "type", "==", "ADDRESS_REG", "&&", "CONST_INT_P", "(", "addr", ".", "offset", ")", "&&", "UMIPS_12BIT_OFFSET_P", "(", "INTVAL", "(", "addr", ".", "offset", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "legitimate", "address", "with", "a", "12-bit", "offset", ".", "MODE", "is", "the", "mode", "of", "the", "value", "being", "accessed", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "umips_12bit_offset_address_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15631, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_output_mi_thunk", "(", "FILE", "*", "file", ",", "tree", "thunk", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", ",", "tree", "function", ")", "{", "const", "char", "*", "fnname", "=", "IDENTIFIER_POINTER", "(", "DECL_ASSEMBLER_NAME", "(", "thunk", ")", ")", ";", "assemble_start_function", "(", "thunk", ",", "fnname", ")", ";", "if", "(", "TARGET_32BIT", ")", "arm32_output_mi_thunk", "(", "file", ",", "thunk", ",", "delta", ",", "vcall_offset", ",", "function", ")", ";", "else", "arm_thumb1_mi_thunk", "(", "file", ",", "thunk", ",", "delta", ",", "vcall_offset", ",", "function", ")", ";", "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": ["arm"], "File": "arm", "Func": "arm_output_mi_thunk", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15632, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SparcMCCodeEmitter", "::", "getBranchTargetOpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isReg", "(", ")", "||", "MO", ".", "isImm", "(", ")", ")", "return", "getMachineOpValue", "(", "MI", ",", "MO", ",", "Fixups", ",", "STI", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "0", ",", "MO", ".", "getExpr", "(", ")", ",", "(", "MCFixupKind", ")", "Sparc", "::", "fixup_sparc_br22", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "."], "TS_V_token": ["Sparc", "Sparc", "0", "Sparc::fixup_sparc_br22", "0"], "File": "SparcMCCodeEmitter14", "Func": "getBranchTargetOpValue", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15633, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcFrameInfo", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "prior", "(", "MBB", ".", "end", "(", ")", ")", ";", "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": "SparcFrameInfo", "Func": "emitEpilogue", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15634, "Length": 114, "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", ";", "Type", "*", "Int8PtrType", "=", "Type", "::", "getInt8PtrTy", "(", "TheModule", "->", "getContext", "(", ")", ")", ";", "SetJmp3", "=", "TheModule", "->", "getOrInsertFunction", "(", "\"_setjmp3\"", ",", "FunctionType", "::", "get", "(", "Type", "::", "getInt32Ty", "(", "TheModule", "->", "getContext", "(", ")", ")", ",", "{", "Int8PtrType", ",", "Type", "::", "getInt32Ty", "(", "TheModule", "->", "getContext", "(", ")", ")", "}", ",", "true", ")", ")", ";", "F", ".", "addFnAttr", "(", "\"no-frame-pointer-elim\"", ",", "\"true\"", ")", ";", "emitExceptionRegistrationRecord", "(", "&", "F", ")", ";", "WinEHFuncInfo", "FuncInfo", ";", "addStateStores", "(", "F", ",", "FuncInfo", ")", ";", "PersonalityFn", "=", "nullptr", ";", "Personality", "=", "EHPersonality", "::", "Unknown", ";", "UseStackGuard", "=", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["X86", "\"_setjmp3\"", "\"no-frame-pointer-elim\"", "\"true\""], "File": "X86WinEHState3", "Func": "runOnFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15635, "Length": 205, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCodeGenPrepare", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ")", "||", "DisableCGP", ")", "return", "false", ";", "auto", "*", "TPC", "=", "&", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ";", "if", "(", "!", "TPC", ")", "return", "false", ";", "const", "TargetMachine", "&", "TM", "=", "TPC", "->", "getTM", "<", "TargetMachine", ">", "(", ")", ";", "ST", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", "F", ")", ";", "bool", "MadeChange", "=", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"ARM CGP: Running on \"", "<<", "F", ".", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "for", "(", "BasicBlock", "&", "BB", ":", "F", ")", "{", "auto", "&", "Insts", "=", "BB", ".", "getInstList", "(", ")", ";", "for", "(", "auto", "&", "I", ":", "Insts", ")", "{", "if", "(", "AllVisited", ".", "count", "(", "&", "I", ")", ")", "continue", ";", "if", "(", "isa", "<", "ICmpInst", ">", "(", "I", ")", ")", "{", "auto", "&", "CI", "=", "cast", "<", "ICmpInst", ">", "(", "I", ")", ";", "if", "(", "CI", ".", "isSigned", "(", ")", "||", "!", "isa", "<", "IntegerType", ">", "(", "CI", ".", "getOperand", "(", "0", ")", "->", "getType", "(", ")", ")", ")", "continue", ";", "for", "(", "auto", "&", "Op", ":", "CI", ".", "operands", "(", ")", ")", "{", "if", "(", "auto", "*", "I", "=", "dyn_cast", "<", "Instruction", ">", "(", "Op", ")", ")", "MadeChange", "|=", "TryToPromote", "(", "I", ")", ";", "}", "}", "}", "Promoter", "->", "Cleanup", "(", ")", ";", "LLVM_DEBUG", "(", "if", "(", "verifyFunction", "(", "F", ",", "&", "dbgs", "(", ")", ")", ")", "{", "dbgs", "(", ")", ";", "report_fatal_error", "(", "\"Broken function after type promotion\"", ")", ";", "}", ")", ";", "}", "if", "(", "MadeChange", ")", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"After ARMCodeGenPrepare: \"", "<<", "F", "<<", "\"\\n\"", ")", ";", "return", "MadeChange", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["ARM", "ARM", "ARM", "\"ARM CGP: Running on \"", "\"\\n\"", "0", "\"Broken function after type promotion\"", "\"After ARMCodeGenPrepare: \"", "\"\\n\""], "File": "ARMCodeGenPrepare11", "Func": "runOnFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15636, "Length": 274, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_microcoded_insn", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "!", "insn", "||", "!", "NONDEBUG_INSN_P", "(", "insn", ")", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "USE", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "CLOBBER", ")", "return", "false", ";", "if", "(", "rs6000_tune", "==", "PROCESSOR_CELL", ")", "return", "get_attr_cell_micro", "(", "insn", ")", "==", "CELL_MICRO_ALWAYS", ";", "if", "(", "rs6000_sched_groups", "&&", "(", "rs6000_tune", "==", "PROCESSOR_POWER4", "||", "rs6000_tune", "==", "PROCESSOR_POWER5", ")", ")", "{", "enum", "attr_type", "type", "=", "get_attr_type", "(", "insn", ")", ";", "if", "(", "(", "type", "==", "TYPE_LOAD", "&&", "get_attr_update", "(", "insn", ")", "==", "UPDATE_YES", "&&", "get_attr_sign_extend", "(", "insn", ")", "==", "SIGN_EXTEND_YES", ")", "||", "(", "(", "type", "==", "TYPE_LOAD", "||", "type", "==", "TYPE_STORE", ")", "&&", "get_attr_update", "(", "insn", ")", "==", "UPDATE_YES", "&&", "get_attr_indexed", "(", "insn", ")", "==", "INDEXED_YES", ")", "||", "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": "rs6000", "Func": "is_microcoded_insn", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15637, "Length": 141, "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_FFR", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "calls", "to", "the", "function", "could", "read", "some", "form", "of", "global", "state", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "reads_global_state_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15638, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiInstrInfo", "::", "areMemAccessesTriviallyDisjoint", "(", "MachineInstr", "*", "MIa", ",", "MachineInstr", "*", "MIb", ",", "AliasAnalysis", "*", "AA", ")", "const", "{", "assert", "(", "MIa", "&&", "MIa", "->", "mayLoadOrStore", "(", ")", "&&", "\"MIa must be a load or store.\"", ")", ";", "assert", "(", "MIb", "&&", "MIb", "->", "mayLoadOrStore", "(", ")", "&&", "\"MIb must be a load or store.\"", ")", ";", "if", "(", "MIa", "->", "hasUnmodeledSideEffects", "(", ")", "||", "MIb", "->", "hasUnmodeledSideEffects", "(", ")", "||", "MIa", "->", "hasOrderedMemoryRef", "(", ")", "||", "MIb", "->", "hasOrderedMemoryRef", "(", ")", ")", "return", "false", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "&", "getRegisterInfo", "(", ")", ";", "unsigned", "BaseRegA", "=", "0", ",", "BaseRegB", "=", "0", ";", "int64_t", "OffsetA", "=", "0", ",", "OffsetB", "=", "0", ";", "unsigned", "int", "WidthA", "=", "0", ",", "WidthB", "=", "0", ";", "if", "(", "getMemOpBaseRegImmOfsWidth", "(", "MIa", ",", "BaseRegA", ",", "OffsetA", ",", "WidthA", ",", "TRI", ")", "&&", "getMemOpBaseRegImmOfsWidth", "(", "MIb", ",", "BaseRegB", ",", "OffsetB", ",", "WidthB", ",", "TRI", ")", ")", "{", "if", "(", "BaseRegA", "==", "BaseRegB", ")", "{", "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": ["Lanai", "Lanai", "\"MIa must be a load or store.\"", "\"MIb must be a load or store.\"", "0", "0", "0", "0", "0", "0"], "File": "LanaiInstrInfo18", "Func": "areMemAccessesTriviallyDisjoint", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15639, "Length": 202, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "X86Operand", "CreateReg", "(", "unsigned", "RegNo", ")", "{", "X86Operand", "Res", ";", "Res", ".", "Kind", "=", "Register", ";", "Res", ".", "Reg", ".", "RegNo", "=", "RegNo", ";", "return", "Res", ";", "}", ""], "natrual_language": ["CreateReg", "-", "Allocate", "a", "single", "virtual", "register", "for", "the", "given", "type", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86AsmParser80", "Func": "CreateReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15640, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "expand_vec_perm_vpshufb2_vpermq_even_odd", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "rtx", "rperm", "[", "2", "]", "[", "32", "]", ",", "vperm", ",", "l", ",", "h", ",", "ior", ",", "op", ",", "m128", ";", "unsigned", "int", "i", ",", "nelt", ",", "eltsz", ";", "if", "(", "!", "TARGET_AVX2", "||", "d", "->", "one_operand_p", "||", "(", "d", "->", "vmode", "!=", "V32QImode", "&&", "d", "->", "vmode", "!=", "V16HImode", ")", ")", "return", "false", ";", "for", "(", "i", "=", "0", ";", "i", "<", "d", "->", "nelt", ";", "++", "i", ")", "if", "(", "(", "d", "->", "perm", "[", "i", "]", "^", "(", "i", "*", "2", ")", ")", "&", "(", "3", "*", "d", "->", "nelt", "/", "2", ")", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "nelt", "=", "d", "->", "nelt", ";", "eltsz", "=", "GET_MODE_UNIT_SIZE", "(", "d", "->", "vmode", ")", ";", "m128", "=", "GEN_INT", "(", "-", "128", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "{", "unsigned", "j", ",", "e", "=", "d", "->", "perm", "[", "i", "]", "&", "(", "nelt", "/", "2", "-", "1", ")", ";", "unsigned", "which", "=", "d", "->", "perm", "[", "i", "]", ">=", "nelt", ";", "unsigned", "xorv", "=", "(", "i", ">=", "nelt", "/", "4", "&&", "i", "<", "3", "*", "nelt", "/", "4", ")", "?", "24", ":", "0", ";", "for", "(", "j", "=", "0", ";", "j", "<", "eltsz", ";", "++", "j", ")", "{", "rperm", "[", "which", "]", "[", "(", "i", "*", "eltsz", "+", "j", ")", "^", "xorv", "]", "=", "GEN_INT", "(", "e", "*", "eltsz", "+", "j", ")", ";", "rperm", "[", "1", "-", "which", "]", "[", "(", "i", "*", "eltsz", "+", "j", ")", "^", "xorv", "]", "=", "m128", ";", "}", "}", "vperm", "=", "gen_rtx_CONST_VECTOR", "(", "V32QImode", ",", "gen_rtvec_v", "(", "32", ",", "rperm", "[", "0", "]", ")", ")", ";", "vperm", "=", "force_reg", "(", "V32QImode", ",", "vperm", ")", ";", "l", "=", "gen_reg_rtx", "(", "V32QImode", ")", ";", "op", "=", "gen_lowpart", "(", "V32QImode", ",", "d", "->", "op0", ")", ";", "emit_insn", "(", "gen_avx2_pshufbv32qi3", "(", "l", ",", "op", ",", "vperm", ")", ")", ";", "vperm", "=", "gen_rtx_CONST_VECTOR", "(", "V32QImode", ",", "gen_rtvec_v", "(", "32", ",", "rperm", "[", "1", "]", ")", ")", ";", "vperm", "=", "force_reg", "(", "V32QImode", ",", "vperm", ")", ";", "h", "=", "gen_reg_rtx", "(", "V32QImode", ")", ";", "op", "=", "gen_lowpart", "(", "V32QImode", ",", "d", "->", "op1", ")", ";", "emit_insn", "(", "gen_avx2_pshufbv32qi3", "(", "h", ",", "op", ",", "vperm", ")", ")", ";", "ior", "=", "gen_reg_rtx", "(", "V32QImode", ")", ";", "emit_insn", "(", "gen_iorv32qi3", "(", "ior", ",", "l", ",", "h", ")", ")", ";", "op", "=", "gen_reg_rtx", "(", "V4DImode", ")", ";", "ior", "=", "gen_lowpart", "(", "V4DImode", ",", "ior", ")", ";", "emit_insn", "(", "gen_avx2_permv4di_1", "(", "op", ",", "ior", ",", "const0_rtx", ",", "const2_rtx", ",", "const1_rtx", ",", "GEN_INT", "(", "3", ")", ")", ")", ";", "emit_move_insn", "(", "d", "->", "target", ",", "gen_lowpart", "(", "d", "->", "vmode", ",", "op", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "expand_vec_perm_even_odd_1", ".", "Implement", "extract-even", "and", "extract-odd", "permutations", "of", "two", "V32QImode", "and", "V16QImode", "operand", "with", "two", "vpshufb", "insns", ",", "vpor", "and", "vpermq", ".", "We", "should", "have", "already", "failed", "all", "two", "or", "three", "instruction", "sequences", "."], "TS_V_token": ["i386", "2", "32", "0", "2", "3", "2", "128", "0", "2", "1", "4", "3", "4", "24", "0", "0", "1", "32", "0", "32", "1", "3"], "File": "i386-expand", "Func": "expand_vec_perm_vpshufb2_vpermq_even_odd", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15641, "Length": 460, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "VariantKind", "getKind", "(", ")", "const", "{", "return", "Kind", ";", "}", ""], "natrual_language": ["Returns", "the", "Kind", "of", "lane", "offset", "."], "TS_V_token": ["Mips"], "File": "MipsMCExpr", "Func": "getKind", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15642, "Length": 10, "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": 15643, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "write_init_bif_table", "(", "void", ")", "{", "for", "(", "int", "i", "=", "0", ";", "i", "<=", "curr_bif", ";", "i", "++", ")", "{", "fprintf", "(", "init_file", ",", "\" rs6000_builtin_info[RS6000_BIF_%s].fntype\"", "\"\\n = %s;\\n\"", ",", "bifs", "[", "i", "]", ".", "idname", ",", "bifs", "[", "i", "]", ".", "fndecl", ")", ";", "int", "tf_found", "=", "strstr", "(", "bifs", "[", "i", "]", ".", "fndecl", ",", "\"tf\"", ")", "!=", "NULL", ";", "int", "dfp_found", "=", "(", "strstr", "(", "bifs", "[", "i", "]", ".", "fndecl", ",", "\"sd\"", ")", "!=", "NULL", "||", "strstr", "(", "bifs", "[", "i", "]", ".", "fndecl", ",", "\"dd\"", ")", "!=", "NULL", "||", "strstr", "(", "bifs", "[", "i", "]", ".", "fndecl", ",", "\"td\"", ")", "!=", "NULL", ")", ";", "if", "(", "tf_found", ")", "{", "fprintf", "(", "init_file", ",", "\" if (float128_type_node)\\n\"", ")", ";", "fprintf", "(", "init_file", ",", "\" {\\n\"", ")", ";", "}", "else", "if", "(", "dfp_found", ")", "{", "fprintf", "(", "init_file", ",", "\" if (dfloat64_type_node)\\n\"", ")", ";", "fprintf", "(", "init_file", ",", "\" {\\n\"", ")", ";", "}", "fprintf", "(", "init_file", ",", "\" rs6000_builtin_decls[(int)RS6000_BIF_%s] = t\\n\"", ",", "bifs", "[", "i", "]", ".", "idname", ")", ";", "fprintf", "(", "init_file", ",", "\" = add_builtin_function (\\\"%s\\\",\\n\"", ",", "bifs", "[", "i", "]", ".", "proto", ".", "bifname", ")", ";", "fprintf", "(", "init_file", ",", "\" %s,\\n\"", ",", "bifs", "[", "i", "]", ".", "fndecl", ")", ";", "fprintf", "(", "init_file", ",", "\" (int)RS6000_BIF_%s,\"", "\" BUILT_IN_MD,\\n\"", ",", "bifs", "[", "i", "]", ".", "idname", ")", ";", "fprintf", "(", "init_file", ",", "\" NULL, NULL_TREE);\\n\"", ")", ";", "if", "(", "bifs", "[", "i", "]", ".", "kind", "==", "FNK_CONST", ")", "{", "fprintf", "(", "init_file", ",", "\" TREE_READONLY (t) = 1;\\n\"", ")", ";", "fprintf", "(", "init_file", ",", "\" TREE_NOTHROW (t) = 1;\\n\"", ")", ";", "}", "else", "if", "(", "bifs", "[", "i", "]", ".", "kind", "==", "FNK_PURE", ")", "{", "fprintf", "(", "init_file", ",", "\" DECL_PURE_P (t) = 1;\\n\"", ")", ";", "fprintf", "(", "init_file", ",", "\" TREE_NOTHROW (t) = 1;\\n\"", ")", ";", "}", "else", "if", "(", "bifs", "[", "i", "]", ".", "kind", "==", "FNK_FPMATH", ")", "{", "fprintf", "(", "init_file", ",", "\" TREE_NOTHROW (t) = 1;\\n\"", ")", ";", "fprintf", "(", "init_file", ",", "\" if (flag_rounding_math)\\n\"", ")", ";", "fprintf", "(", "init_file", ",", "\" {\\n\"", ")", ";", "fprintf", "(", "init_file", ",", "\" DECL_PURE_P (t) = 1;\\n\"", ")", ";", "fprintf", "(", "init_file", ",", "\" DECL_IS_NOVOPS (t) = 1;\\n\"", ")", ";", "fprintf", "(", "init_file", ",", "\" }\\n\"", ")", ";", "fprintf", "(", "init_file", ",", "\" else\\n\"", ")", ";", "fprintf", "(", "init_file", ",", "\" TREE_READONLY (t) = 1;\\n\"", ")", ";", "}", "if", "(", "tf_found", "||", "dfp_found", ")", "{", "fprintf", "(", "init_file", ",", "\" }\\n\"", ")", ";", "fprintf", "(", "init_file", ",", "\" else\\n\"", ")", ";", "fprintf", "(", "init_file", ",", "\" {\\n\"", ")", ";", "fprintf", "(", "init_file", ",", "\" rs6000_builtin_decls\"", "\"[(int)RS6000_BIF_%s] = NULL_TREE;\\n\"", ",", "bifs", "[", "i", "]", ".", "idname", ")", ";", "fprintf", "(", "init_file", ",", "\" }\\n\"", ")", ";", "}", "fprintf", "(", "init_file", ",", "\"\\n\"", ")", ";", "}", "}", ""], "natrual_language": ["Write", "code", "to", "initialize", "the", "built-in", "function", "table", "."], "TS_V_token": ["rs6000", "0", "\" rs6000_builtin_info[RS6000_BIF_%s].fntype\"", "\"\\n = %s;\\n\"", "\"tf\"", "\"sd\"", "\"dd\"", "\"td\"", "\" if (float128_type_node)\\n\"", "\" {\\n\"", "\" if (dfloat64_type_node)\\n\"", "\" {\\n\"", "\" rs6000_builtin_decls[(int)RS6000_BIF_%s] = t\\n\"", "\" = add_builtin_function (\\\"%s\\\",\\n\"", "\" %s,\\n\"", "\" (int)RS6000_BIF_%s,\"", "\" BUILT_IN_MD,\\n\"", "\" NULL, NULL_TREE);\\n\"", "\" TREE_READONLY (t) = 1;\\n\"", "\" TREE_NOTHROW (t) = 1;\\n\"", "\" DECL_PURE_P (t) = 1;\\n\"", "\" TREE_NOTHROW (t) = 1;\\n\"", "\" TREE_NOTHROW (t) = 1;\\n\"", "\" if (flag_rounding_math)\\n\"", "\" {\\n\"", "\" DECL_PURE_P (t) = 1;\\n\"", "\" DECL_IS_NOVOPS (t) = 1;\\n\"", "\" }\\n\"", "\" else\\n\"", "\" TREE_READONLY (t) = 1;\\n\"", "\" }\\n\"", "\" else\\n\"", "\" {\\n\"", "\" rs6000_builtin_decls\"", "\"[(int)RS6000_BIF_%s] = NULL_TREE;\\n\"", "\" }\\n\"", "\"\\n\""], "File": "rs6000-gen-builtins", "Func": "write_init_bif_table", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15644, "Length": 400, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "PPCRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "getInstrInfo", "(", ")", "->", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCSubtarget (2)1", "Func": "getRegisterInfo", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15645, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mmix_setup_frame_addresses", "(", "void", ")", "{", "}", ""], "natrual_language": ["SETUP_FRAME_ADDRESSES", "."], "TS_V_token": ["mmix"], "File": "mmix", "Func": "mmix_setup_frame_addresses", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15646, "Length": 7, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "is_called_in_ARM_mode", "(", "tree", "func", ")", "{", "gcc_assert", "(", "TREE_CODE", "(", "func", ")", "==", "FUNCTION_DECL", ")", ";", "if", "(", "TARGET_CALLEE_INTERWORKING", "&&", "TREE_PUBLIC", "(", "func", ")", ")", "return", "TRUE", ";", "return", "lookup_attribute", "(", "\"interfacearm\"", ",", "DECL_ATTRIBUTES", "(", "func", ")", ")", "!=", "NULL_TREE", ";", "return", "FALSE", ";", "}", ""], "natrual_language": ["Return", "non-zero", "if", "FUNC", "must", "be", "entered", "in", "ARM", "mode", "."], "TS_V_token": ["arm", "\"interfacearm\""], "File": "arm3", "Func": "is_called_in_ARM_mode", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15647, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "m16_check_op", "(", "rtx", "op", ",", "int", "low", ",", "int", "high", ",", "int", "mask", ")", "{", "return", "(", "GET_CODE", "(", "op", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "op", ")", ">=", "low", "&&", "INTVAL", "(", "op", ")", "<=", "high", "&&", "(", "INTVAL", "(", "op", ")", "&", "mask", ")", "==", "0", ")", ";", "}", ""], "natrual_language": ["We", "need", "a", "lot", "of", "little", "routines", "to", "check", "constant", "values", "on", "the", "mips16", ".", "These", "are", "used", "to", "figure", "out", "how", "long", "the", "instruction", "will", "be", ".", "It", "would", "be", "much", "better", "to", "do", "this", "using", "constraints", ",", "but", "there", "are", "n't", "nearly", "enough", "letters", "available", "."], "TS_V_token": ["mips", "0"], "File": "mips3", "Func": "m16_check_op", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15648, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64TargetMachine", "::", "AArch64TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "LittleEndian", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "DL", "(", "Triple", "(", "TT", ")", ".", "isOSBinFormatMachO", "(", ")", "?", "\"e-m:o-i64:64-i128:128-n32:64-S128\"", ":", "(", "LittleEndian", "?", "\"e-m:e-i64:64-i128:128-n32:64-S128\"", ":", "\"E-m:e-i64:64-i128:128-n32:64-S128\"", ")", ")", ",", "TLOF", "(", "createTLOF", "(", "Triple", "(", "getTargetTriple", "(", ")", ")", ")", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ",", "LittleEndian", ")", ",", "isLittle", "(", "LittleEndian", ")", "{", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "AArch64", "architecture", "model", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "\"e-m:o-i64:64-i128:128-n32:64-S128\"", "\"e-m:e-i64:64-i128:128-n32:64-S128\"", "\"E-m:e-i64:64-i128:128-n32:64-S128\""], "File": "AArch64TargetMachine29", "Func": "AArch64TargetMachine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15649, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isSplatValueForTargetNode", "(", "SDValue", "Op", ",", "const", "APInt", "&", "DemandedElts", ",", "APInt", "&", "UndefElts", ",", "unsigned", "Depth", ")", "const", "{", "unsigned", "NumElts", "=", "DemandedElts", ".", "getBitWidth", "(", ")", ";", "unsigned", "Opc", "=", "Op", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "case", "X86ISD", "::", "VBROADCAST", ":", "case", "X86ISD", "::", "VBROADCAST_LOAD", ":", "UndefElts", "=", "APInt", "::", "getNullValue", "(", "NumElts", ")", ";", "return", "true", ";", "}", "return", "TargetLowering", "::", "isSplatValueForTargetNode", "(", "Op", ",", "DemandedElts", ",", "UndefElts", ",", "Depth", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "vector", "Op", "has", "the", "same", "value", "across", "all", "DemandedElts", ",", "indicating", "any", "elements", "which", "may", "be", "undef", "in", "the", "output", "UndefElts", "."], "TS_V_token": ["X86", "X86", "X86ISD::VBROADCAST", "X86ISD::VBROADCAST_LOAD"], "File": "X86ISelLowering100", "Func": "isSplatValueForTargetNode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15650, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"X86 Atom LEA Fixup\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 Atom LEA Fixup\""], "File": "X86FixupLEAs5", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15651, "Length": 13, "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": 15652, "Length": 134, "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": 15653, "Length": 80, "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": 15654, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FrameLowering", "::", "assignCalleeSavedSpillSlots", "(", "MachineFunction", "&", "MF", ",", "const", "TargetRegisterInfo", "*", "TRI", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "bool", "NeedsWinCFI", "=", "needsWinCFI", "(", "MF", ")", ";", "if", "(", "NeedsWinCFI", ")", "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": ["AArch64", "AArch64"], "File": "AArch64FrameLowering12", "Func": "assignCalleeSavedSpillSlots", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15655, "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\"", ";", "unsigned", "CPUFSWidth", "=", "Key", ".", "size", "(", ")", ";", "unsigned", "PreferVectorWidthOverride", "=", "0", ";", "if", "(", "F", ".", "hasFnAttribute", "(", "\"prefer-vector-width\"", ")", ")", "{", "StringRef", "Val", "=", "F", ".", "getFnAttribute", "(", "\"prefer-vector-width\"", ")", ".", "getValueAsString", "(", ")", ";", "unsigned", "Width", ";", "if", "(", "!", "Val", ".", "getAsInteger", "(", "0", ",", "Width", ")", ")", "{", "Key", "+=", "\",prefer-vector-width=\"", ";", "Key", "+=", "Val", ";", "PreferVectorWidthOverride", "=", "Width", ";", "}", "}", "unsigned", "RequiredVectorWidth", "=", "UINT32_MAX", ";", "if", "(", "F", ".", "hasFnAttribute", "(", "\"required-vector-width\"", ")", ")", "{", "StringRef", "Val", "=", "F", ".", "getFnAttribute", "(", "\"required-vector-width\"", ")", ".", "getValueAsString", "(", ")", ";", "unsigned", "Width", ";", "if", "(", "!", "Val", ".", "getAsInteger", "(", "0", ",", "Width", ")", ")", "{", "Key", "+=", "\",required-vector-width=\"", ";", "Key", "+=", "Val", ";", "RequiredVectorWidth", "=", "Width", ";", "}", "}", "FS", "=", "Key", ".", "slice", "(", "CPU", ".", "size", "(", ")", ",", "CPUFSWidth", ")", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "Key", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "llvm", "::", "make_unique", "<", "X86Subtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "*", "this", ",", "Options", ".", "StackAlignmentOverride", ",", "PreferVectorWidthOverride", ",", "RequiredVectorWidth", ")", ";", "}", "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\"", "0", "\"prefer-vector-width\"", "\"prefer-vector-width\"", "0", "\",prefer-vector-width=\"", "\"required-vector-width\"", "\"required-vector-width\"", "0", "\",required-vector-width=\"", "X86"], "File": "X86TargetMachine101", "Func": "getSubtargetImpl", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15656, "Length": 343, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetMachine", "::", "addPostRegAlloc", "(", "PassManagerBase", "&", "PM", ",", "bool", "Fast", ")", "{", "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": "X86TargetMachine92", "Func": "addPostRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15657, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "OS", ")", "{", "if", "(", "ExtraCode", "&&", "*", "ExtraCode", "==", "'n'", ")", "{", "if", "(", "!", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isImm", "(", ")", ")", "return", "true", ";", "OS", "<<", "-", "int64_t", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", ")", ";", "}", "else", "{", "SystemZMCInstLower", "Lower", "(", "MF", "->", "getContext", "(", ")", ",", "*", "this", ")", ";", "MCOperand", "MO", "(", "Lower", ".", "lowerOperand", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ")", ")", ";", "SystemZInstPrinter", "::", "printOperand", "(", "MO", ",", "OS", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ"], "File": "SystemZAsmPrinter18", "Func": "PrintAsmOperand", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15658, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "CSKYConstantIslands", "::", "getOffsetOf", "(", "MachineInstr", "*", "MI", ")", "const", "{", "MachineBasicBlock", "*", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "unsigned", "Offset", "=", "BBInfo", "[", "MBB", "->", "getNumber", "(", ")", "]", ".", "Offset", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", "->", "begin", "(", ")", ";", "&", "*", "I", "!=", "MI", ";", "++", "I", ")", "{", "assert", "(", "I", "!=", "MBB", "->", "end", "(", ")", "&&", "\"Didn't find MI in its own basic block?\"", ")", ";", "Offset", "+=", "TII", "->", "getInstSizeInBytes", "(", "*", "I", ")", ";", "}", "return", "Offset", ";", "}", ""], "natrual_language": ["getOffsetOf", "-", "Return", "the", "current", "offset", "of", "the", "specified", "machine", "instruction", "from", "the", "start", "of", "the", "function", "."], "TS_V_token": ["CSKY", "CSKY", "\"Didn't find MI in its own basic block?\""], "File": "CSKYConstantIslandPass", "Func": "getOffsetOf", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15659, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc_emit_membar_for_model", "(", "enum", "memmodel", "model", ",", "int", "load_store", ",", "int", "before_after", ")", "{", "const", "int", "LoadLoad", "=", "1", ";", "const", "int", "StoreLoad", "=", "2", ";", "const", "int", "LoadStore", "=", "4", ";", "const", "int", "StoreStore", "=", "8", ";", "int", "mm", "=", "0", ",", "implied", "=", "0", ";", "switch", "(", "sparc_memory_model", ")", "{", "case", "SMM_SC", ":", "implied", "=", "LoadLoad", "|", "StoreLoad", "|", "LoadStore", "|", "StoreStore", ";", "break", ";", "case", "SMM_TSO", ":", "implied", "|=", "StoreStore", ";", "if", "(", "load_store", "==", "3", "&&", "before_after", "==", "1", ")", "implied", "|=", "StoreLoad", ";", "case", "SMM_PSO", ":", "implied", "|=", "LoadLoad", "|", "LoadStore", ";", "if", "(", "load_store", "==", "3", "&&", "before_after", "==", "2", ")", "implied", "|=", "StoreLoad", "|", "StoreStore", ";", "case", "SMM_RMO", ":", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "before_after", "&", "1", ")", "{", "if", "(", "model", "==", "MEMMODEL_RELEASE", "||", "model", "==", "MEMMODEL_ACQ_REL", "||", "model", "==", "MEMMODEL_SEQ_CST", ")", "{", "if", "(", "load_store", "&", "1", ")", "mm", "|=", "LoadLoad", "|", "StoreLoad", ";", "if", "(", "load_store", "&", "2", ")", "mm", "|=", "LoadStore", "|", "StoreStore", ";", "}", "}", "if", "(", "before_after", "&", "2", ")", "{", "if", "(", "model", "==", "MEMMODEL_ACQUIRE", "||", "model", "==", "MEMMODEL_ACQ_REL", "||", "model", "==", "MEMMODEL_SEQ_CST", ")", "{", "if", "(", "load_store", "&", "1", ")", "mm", "|=", "LoadLoad", "|", "LoadStore", ";", "if", "(", "load_store", "&", "2", ")", "mm", "|=", "StoreLoad", "|", "StoreStore", ";", "}", "}", "mm", "&=", "~", "implied", ";", "if", "(", "mm", "||", "before_after", "==", "3", ")", "emit_insn", "(", "gen_membar", "(", "GEN_INT", "(", "mm", ")", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "membar", "instruction", "for", "various", "use", "cases", ".", "Both", "the", "LOAD_STORE", "and", "BEFORE_AFTER", "arguments", "of", "the", "form", "X_Y", ".", "They", "are", "two-bit", "masks", "where", "bit", "0", "indicates", "that", "X", "is", "true", ",", "and", "bit", "1", "indicates", "Y", "is", "true", "."], "TS_V_token": ["sparc", "1", "2", "4", "8", "0", "0", "3", "1", "3", "2", "1", "1", "2", "2", "1", "2", "3"], "File": "sparc4", "Func": "sparc_emit_membar_for_model", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15660, "Length": 246, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", ")", "{", "unsigned", "long", "func_type", ";", "if", "(", "cfun", "->", "machine", "->", "sibcall_blocked", ")", "return", "false", ";", "if", "(", "TARGET_THUMB1", ")", "return", "false", ";", "if", "(", "TARGET_VXWORKS_RTP", "&&", "flag_pic", "&&", "decl", "&&", "!", "targetm", ".", "binds_local_p", "(", "decl", ")", ")", "return", "false", ";", "if", "(", "TARGET_APCS_FRAME", "&&", "TARGET_ARM", "&&", "TARGET_HARD_FLOAT", "&&", "decl", "&&", "arm_is_long_call_p", "(", "decl", ")", ")", "return", "false", ";", "if", "(", "TARGET_INTERWORK", "&&", "decl", "&&", "TREE_PUBLIC", "(", "decl", ")", "&&", "!", "TREE_ASM_WRITTEN", "(", "decl", ")", ")", "return", "false", ";", "func_type", "=", "arm_current_func_type", "(", ")", ";", "if", "(", "IS_INTERRUPT", "(", "func_type", ")", ")", "return", "false", ";", "if", "(", "IS_CMSE_ENTRY", "(", "arm_current_func_type", "(", ")", ")", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "exp", ")", "==", "CALL_EXPR", ")", "{", "tree", "fntype", "=", "TREE_TYPE", "(", "TREE_TYPE", "(", "CALL_EXPR_FN", "(", "exp", ")", ")", ")", ";", "if", "(", "lookup_attribute", "(", "\"cmse_nonsecure_call\"", ",", "TYPE_ATTRIBUTES", "(", "fntype", ")", ")", ")", "return", "false", ";", "}", "if", "(", "!", "VOID_TYPE_P", "(", "TREE_TYPE", "(", "DECL_RESULT", "(", "cfun", "->", "decl", ")", ")", ")", ")", "{", "rtx", "a", ",", "b", ";", "tree", "decl_or_type", "=", "decl", ";", "if", "(", "!", "decl", ")", "decl_or_type", "=", "TREE_TYPE", "(", "TREE_TYPE", "(", "CALL_EXPR_FN", "(", "exp", ")", ")", ")", ";", "a", "=", "arm_function_value", "(", "TREE_TYPE", "(", "exp", ")", ",", "decl_or_type", ",", "false", ")", ";", "b", "=", "arm_function_value", "(", "TREE_TYPE", "(", "DECL_RESULT", "(", "cfun", "->", "decl", ")", ")", ",", "cfun", "->", "decl", ",", "false", ")", ";", "if", "(", "!", "rtx_equal_p", "(", "a", ",", "b", ")", ")", "return", "false", ";", "}", "if", "(", "IS_STACKALIGN", "(", "func_type", ")", ")", "return", "false", ";", "if", "(", "TARGET_AAPCS_BASED", "&&", "arm_abi", "==", "ARM_ABI_AAPCS", "&&", "decl", "&&", "DECL_WEAK", "(", "decl", ")", ")", "return", "false", ";", "if", "(", "!", "decl", "&&", "CALL_EXPR_BY_DESCRIPTOR", "(", "exp", ")", "&&", "!", "flag_trampolines", ")", "{", "tree", "fntype", "=", "TREE_TYPE", "(", "TREE_TYPE", "(", "CALL_EXPR_FN", "(", "exp", ")", ")", ")", ";", "CUMULATIVE_ARGS", "cum", ";", "cumulative_args_t", "cum_v", ";", "arm_init_cumulative_args", "(", "&", "cum", ",", "fntype", ",", "NULL_RTX", ",", "NULL_TREE", ")", ";", "cum_v", "=", "pack_cumulative_args", "(", "&", "cum", ")", ";", "for", "(", "tree", "t", "=", "TYPE_ARG_TYPES", "(", "fntype", ")", ";", "t", ";", "t", "=", "TREE_CHAIN", "(", "t", ")", ")", "{", "tree", "type", "=", "TREE_VALUE", "(", "t", ")", ";", "if", "(", "!", "VOID_TYPE_P", "(", "type", ")", ")", "arm_function_arg_advance", "(", "cum_v", ",", "TYPE_MODE", "(", "type", ")", ",", "type", ",", "true", ")", ";", "}", "if", "(", "!", "arm_function_arg", "(", "cum_v", ",", "SImode", ",", "integer_type_node", ",", "true", ")", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "non-zero", "if", "it", "is", "ok", "to", "make", "a", "tail-call", "to", "DECL", "."], "TS_V_token": ["arm", "\"cmse_nonsecure_call\""], "File": "arm6", "Func": "arm_function_ok_for_sibcall", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15661, "Length": 407, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCRegisterInfo", "::", "isFrameOffsetLegal", "(", "const", "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!\"", ")", ";", "}", "unsigned", "OffsetOperandNo", "=", "getOffsetONFromFION", "(", "*", "MI", ",", "FIOperandNum", ")", ";", "Offset", "+=", "MI", "->", "getOperand", "(", "OffsetOperandNo", ")", ".", "getImm", "(", ")", ";", "return", "MI", "->", "getOpcode", "(", ")", "==", "PPC", "::", "DBG_VALUE", "||", "MI", "->", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "STACKMAP", "||", "MI", "->", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "PATCHPOINT", "||", "(", "isInt", "<", "16", ">", "(", "Offset", ")", "&&", "(", "!", "usesIXAddr", "(", "*", "MI", ")", "||", "(", "Offset", "&", "3", ")", "==", "0", ")", ")", ";", "}", ""], "natrual_language": ["Determine", "whether", "a", "given", "base", "register", "plus", "offset", "immediate", "is", "encodable", "to", "resolve", "a", "frame", "index", "."], "TS_V_token": ["PowerPC", "PPC", "0", "\"Instr doesn't have FrameIndex operand!\"", "PPC::DBG_VALUE", "16", "3", "0"], "File": "PPCRegisterInfo (2)1", "Func": "isFrameOffsetLegal", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15662, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "nds32_expand_triop_builtin", "(", "enum", "insn_code", "icode", ",", "tree", "exp", ",", "rtx", "target", ",", "bool", "return_p", ")", "{", "rtx", "pat", ";", "rtx", "op0", "=", "nds32_read_argument", "(", "exp", ",", "0", ")", ";", "rtx", "op1", "=", "nds32_read_argument", "(", "exp", ",", "1", ")", ";", "rtx", "op2", "=", "nds32_read_argument", "(", "exp", ",", "2", ")", ";", "int", "op0_num", "=", "return_p", "?", "1", ":", "0", ";", "int", "op1_num", "=", "return_p", "?", "2", ":", "1", ";", "int", "op2_num", "=", "return_p", "?", "3", ":", "2", ";", "if", "(", "return_p", ")", "target", "=", "nds32_legitimize_target", "(", "icode", ",", "target", ")", ";", "op0", "=", "nds32_legitimize_argument", "(", "icode", ",", "op0_num", ",", "op0", ")", ";", "op1", "=", "nds32_legitimize_argument", "(", "icode", ",", "op1_num", ",", "op1", ")", ";", "op2", "=", "nds32_legitimize_argument", "(", "icode", ",", "op2_num", ",", "op2", ")", ";", "if", "(", "return_p", ")", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op0", ",", "op1", ",", "op2", ")", ";", "else", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op0", ",", "op1", ",", "op2", ")", ";", "if", "(", "!", "pat", ")", "return", "NULL_RTX", ";", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Expand", "builtins", "that", "take", "three", "operands", "."], "TS_V_token": ["nds32", "0", "1", "2", "1", "0", "2", "1", "3", "2"], "File": "nds32-intrinsic", "Func": "nds32_expand_triop_builtin", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15663, "Length": 176, "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", "=", "std", "::", "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": "MipsTargetMachine29", "Func": "getSubtargetImpl", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15664, "Length": 321, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "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": ["Mandarin", "128"], "File": "MandarinAsmPrinter", "Func": "EmitInstruction", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15665, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "SparcRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "SparcSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "SparcSubtarget", ">", "(", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "G1", ")", ";", "if", "(", "ReserveAppRegisters", ")", "{", "Reserved", ".", "set", "(", "SP", "::", "G2", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "G3", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "G4", ")", ";", "}", "if", "(", "!", "Subtarget", ".", "is64Bit", "(", ")", ")", "Reserved", ".", "set", "(", "SP", "::", "G5", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "O6", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "I6", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "I7", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "G0", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "G6", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "G7", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "G0_G1", ")", ";", "if", "(", "ReserveAppRegisters", ")", "Reserved", ".", "set", "(", "SP", "::", "G2_G3", ")", ";", "if", "(", "ReserveAppRegisters", "||", "!", "Subtarget", ".", "is64Bit", "(", ")", ")", "Reserved", ".", "set", "(", "SP", "::", "G4_G5", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "O6_O7", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "I6_I7", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "G6_G7", ")", ";", "if", "(", "!", "Subtarget", ".", "isV9", "(", ")", ")", "{", "for", "(", "unsigned", "n", "=", "0", ";", "n", "!=", "16", ";", "++", "n", ")", "{", "for", "(", "MCRegAliasIterator", "AI", "(", "SP", "::", "D16", "+", "n", ",", "this", ",", "true", ")", ";", "AI", ".", "isValid", "(", ")", ";", "++", "AI", ")", "Reserved", ".", "set", "(", "*", "AI", ")", ";", "}", "}", "for", "(", "unsigned", "n", "=", "0", ";", "n", "<", "31", ";", "n", "++", ")", "Reserved", ".", "set", "(", "SP", "::", "ASR1", "+", "n", ")", ";", "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", "Sparc", "Sparc", "SP::G1", "SP::G2", "SP::G3", "SP::G4", "SP::G5", "SP::O6", "SP::I6", "SP::I7", "SP::G0", "SP::G6", "SP::G7", "SP::G0_G1", "SP::G2_G3", "SP::G4_G5", "SP::O6_O7", "SP::I6_I7", "SP::G6_G7", "0", "16", "SP::D16", "0", "31", "SP::ASR1"], "File": "SparcRegisterInfo10", "Func": "getReservedRegs", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15666, "Length": 306, "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", ",", "unsigned", "RealRegister", "=", "Mips", "::", "NoRegister", ")", "{", "auto", "Op", "=", "std", "::", "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", "->", "RegIdx", ".", "RealRegister", "=", "RealRegister", ";", "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::NoRegister", "Mips"], "File": "MipsAsmParser47", "Func": "CreateReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15667, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"ARM64 Promote Constant\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM64", "\"ARM64 Promote Constant\""], "File": "ARM64PromoteConstant1", "Func": "getPassName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15668, "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", "::", "ADDE", ":", "return", "performADDECombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SUBE", ":", "return", "performSUBECombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "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", ")", ";", "case", "ISD", "::", "ADD", ":", "return", "performADDCombine", "(", "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::ADDE", "ISD::SUBE", "ISD::SDIVREM", "ISD::UDIVREM", "ISD::SELECT", "ISD::AND", "ISD::OR", "ISD::ADD"], "File": "MipsISelLowering126", "Func": "PerformDAGCombine", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15669, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiRegisterInfo", "::", "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": ["Lanai", "Lanai"], "File": "LanaiRegisterInfo (2)1", "Func": "requiresRegisterScavenging", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15670, "Length": 15, "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", ")", "==", "ptr_mode", ")", ";", "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": "i3861", "Func": "ix86_function_arg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15671, "Length": 310, "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": 15672, "Length": 225, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPostRegAlloc", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableDeadRegisterElimination", ")", "addPass", "(", "createAArch64DeadRegisterDefinitions", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "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"], "File": "AArch64TargetMachine2", "Func": "addPostRegAlloc", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15673, "Length": 52, "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": 15674, "Length": 323, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sh_pr_interrupt", "(", "struct", "cpp_reader", "*", "pfile", "ATTRIBUTE_UNUSED", ")", "{", "sh_add_function_attribute", "(", "\"interrupt_handler\"", ")", ";", "}", ""], "natrual_language": ["Handle", "machine", "specific", "pragmas", "to", "be", "semi-compatible", "with", "Hitachi", "compiler", "."], "TS_V_token": ["sh", "\"interrupt_handler\""], "File": "sh-c", "Func": "sh_pr_interrupt", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15675, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_asm_output_function_label", "(", "FILE", "*", "asm_out_file", ",", "const", "char", "*", "fname", ",", "tree", "decl", ")", "{", "bool", "is_ms_hook", "=", "ix86_function_ms_hook_prologue", "(", "decl", ")", ";", "if", "(", "cfun", ")", "cfun", "->", "machine", "->", "function_label_emitted", "=", "true", ";", "if", "(", "is_ms_hook", ")", "{", "int", "i", ",", "filler_count", "=", "(", "TARGET_64BIT", "?", "32", ":", "16", ")", ";", "unsigned", "int", "filler_cc", "=", "0xcccccccc", ";", "for", "(", "i", "=", "0", ";", "i", "<", "filler_count", ";", "i", "+=", "4", ")", "fprintf", "(", "asm_out_file", ",", "ASM_LONG", "\" %#x\\n\"", ",", "filler_cc", ")", ";", "}", "SUBTARGET_ASM_UNWIND_INIT", "(", "asm_out_file", ")", ";", "ASM_OUTPUT_LABEL", "(", "asm_out_file", ",", "fname", ")", ";", "if", "(", "is_ms_hook", ")", "{", "if", "(", "TARGET_64BIT", ")", "{", "fputs", "(", "ASM_BYTE", "\"0x48, 0x8d, 0xa4, 0x24, 0x00, 0x00, 0x00, 0x00\\n\"", ",", "asm_out_file", ")", ";", "}", "else", "{", "fputs", "(", "ASM_BYTE", "\"0x8b, 0xff, 0x55, 0x8b, 0xec\\n\"", ",", "asm_out_file", ")", ";", "}", "}", "}", ""], "natrual_language": ["Write", "the", "extra", "assembler", "code", "needed", "to", "declare", "a", "function", "properly", "."], "TS_V_token": ["i386", "32", "16", "0xcccccccc", "0", "4", "\" %#x\\n\"", "\"0x48, 0x8d, 0xa4, 0x24, 0x00, 0x00, 0x00, 0x00\\n\"", "\"0x8b, 0xff, 0x55, 0x8b, 0xec\\n\""], "File": "i3861", "Func": "ix86_asm_output_function_label", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15676, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCRegisterInfo", "::", "lowerCRSpilling", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "unsigned", "FrameIndex", ",", "int", "SPAdj", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "DebugLoc", "dl", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "const", "TargetRegisterClass", "*", "G8RC", "=", "&", "PPC", "::", "G8RCRegClass", ";", "const", "TargetRegisterClass", "*", "GPRC", "=", "&", "PPC", "::", "GPRCRegClass", ";", "const", "TargetRegisterClass", "*", "RC", "=", "Subtarget", ".", "isPPC64", "(", ")", "?", "G8RC", ":", "GPRC", ";", "unsigned", "Reg", "=", "findScratchRegister", "(", "II", ",", "RS", ",", "RC", ",", "SPAdj", ")", ";", "if", "(", "!", "MI", ".", "getOperand", "(", "0", ")", ".", "isKill", "(", ")", ")", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MFCR", ")", ",", "Reg", ")", ";", "else", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MFCR", ")", ",", "Reg", ")", ".", "addReg", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "false", ",", "true", ",", "true", ")", ";", "unsigned", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "if", "(", "SrcReg", "!=", "PPC", "::", "CR0", ")", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "RLWINM", ")", ",", "Reg", ")", ".", "addReg", "(", "Reg", ",", "false", ",", "false", ",", "true", ")", ".", "addImm", "(", "PPCRegisterInfo", "::", "getRegisterNumbering", "(", "SrcReg", ")", "*", "4", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "31", ")", ";", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "STW", ")", ")", ".", "addReg", "(", "Reg", ",", "false", ",", "false", ",", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ")", ",", "FrameIndex", ")", ";", "MBB", ".", "erase", "(", "II", ")", ";", "}", ""], "natrual_language": ["lowerCRSpilling", "-", "Generate", "the", "code", "for", "spilling", "a", "CR", "register", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::G8RCRegClass", "PPC::GPRCRegClass", "PPC", "0", "PPC::MFCR", "PPC::MFCR", "0", "0", "PPC::CR0", "PPC::RLWINM", "PPC", "4", "0", "31", "PPC::STW", "1"], "File": "PPCRegisterInfo62", "Func": "lowerCRSpilling", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15677, "Length": 299, "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", "(", "PseudoSourceValue", "::", "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": "Thumb1InstrInfo41", "Func": "storeRegToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15678, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isConstantSplat", "(", "SDValue", "Op", ",", "APInt", "&", "SplatVal", ",", "bool", "AllowPartialUndefs", ")", "{", "APInt", "UndefElts", ";", "SmallVector", "<", "APInt", ",", "16", ">", "EltBits", ";", "if", "(", "getTargetConstantBitsFromNode", "(", "Op", ",", "Op", ".", "getScalarValueSizeInBits", "(", ")", ",", "UndefElts", ",", "EltBits", ",", "true", ",", "AllowPartialUndefs", ")", ")", "{", "int", "SplatIndex", "=", "-", "1", ";", "for", "(", "int", "i", "=", "0", ",", "e", "=", "EltBits", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "if", "(", "UndefElts", "[", "i", "]", ")", "continue", ";", "if", "(", "0", "<=", "SplatIndex", "&&", "EltBits", "[", "i", "]", "!=", "EltBits", "[", "SplatIndex", "]", ")", "{", "SplatIndex", "=", "-", "1", ";", "break", ";", "}", "SplatIndex", "=", "i", ";", "}", "if", "(", "0", "<=", "SplatIndex", ")", "{", "SplatVal", "=", "EltBits", "[", "SplatIndex", "]", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Check", "if", "this", "is", "a", "constant", "splat", ",", "and", "if", "so", ",", "find", "the", "smallest", "element", "size", "that", "splats", "the", "vector", "."], "TS_V_token": ["X86", "16", "1", "0", "0", "1", "0"], "File": "X86ISelLowering (2)5", "Func": "isConstantSplat", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15679, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_promote_ready", "(", "rtx", "*", "ready", ",", "int", "lower", ",", "int", "higher", ")", "{", "rtx", "new_head", ";", "int", "i", ";", "new_head", "=", "ready", "[", "lower", "]", ";", "for", "(", "i", "=", "lower", ";", "i", "<", "higher", ";", "i", "++", ")", "ready", "[", "i", "]", "=", "ready", "[", "i", "+", "1", "]", ";", "ready", "[", "i", "]", "=", "new_head", ";", "}", ""], "natrual_language": ["Remove", "the", "instruction", "at", "index", "LOWER", "from", "ready", "queue", "READY", "and", "reinsert", "it", "in", "front", "of", "the", "instruction", "at", "index", "HIGHER", ".", "LOWER", "must", "be", "<", "=", "HIGHER", "."], "TS_V_token": ["mips", "1"], "File": "mips3", "Func": "mips_promote_ready", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15680, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "MI", "->", "getInlineAsmDialect", "(", ")", "==", "InlineAsm", "::", "AD_Intel", ")", "{", "PrintIntelMemReference", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "}", "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'", ":", "PrintMemReference", "(", "MI", ",", "OpNo", ",", "O", ",", "\"H\"", ")", ";", "return", "false", ";", "case", "'P'", ":", "PrintMemReference", "(", "MI", ",", "OpNo", ",", "O", ",", "\"no-rip\"", ")", ";", "return", "false", ";", "}", "}", "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\""], "File": "X86AsmPrinter (2)2", "Func": "PrintAsmMemoryOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15681, "Length": 152, "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", "(", ")", ";", "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": "ARMLoadStoreOptimizer34", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15682, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "save_reg_p", "(", "int", "reg", ")", "{", "if", "(", "reg", "==", "RS6000_PIC_OFFSET_TABLE_REGNUM", "&&", "!", "TARGET_SINGLE_PIC_BASE", ")", "{", "if", "(", "crtl", "->", "calls_eh_return", "&&", "(", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "flag_pic", ")", "||", "(", "DEFAULT_ABI", "==", "ABI_DARWIN", "&&", "flag_pic", ")", "||", "(", "TARGET_TOC", "&&", "TARGET_MINIMAL_TOC", ")", ")", ")", "return", "true", ";", "if", "(", "TARGET_TOC", "&&", "TARGET_MINIMAL_TOC", "&&", "!", "constant_pool_empty_p", "(", ")", ")", "return", "true", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "(", "flag_pic", "==", "1", "||", "(", "flag_pic", "&&", "TARGET_SECURE_PLT", ")", ")", "&&", "df_regs_ever_live_p", "(", "RS6000_PIC_OFFSET_TABLE_REGNUM", ")", ")", "return", "true", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_DARWIN", "&&", "flag_pic", "&&", "crtl", "->", "uses_pic_offset_table", ")", "return", "true", ";", "}", "return", "!", "call_used_or_fixed_reg_p", "(", "reg", ")", "&&", "df_regs_ever_live_p", "(", "reg", ")", ";", "}", ""], "natrual_language": ["Determine", "whether", "the", "REG", "is", "really", "used", "."], "TS_V_token": ["rs6000", "1"], "File": "rs6000-logue", "Func": "save_reg_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15683, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmPrinter", "::", "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", "'a'", ":", "case", "'c'", ":", "printOperand", "(", "MI", ",", "OpNo", ",", "\"no_hash\"", ")", ";", "return", "false", ";", "case", "'P'", ":", "printOperand", "(", "MI", ",", "OpNo", ")", ";", "return", "false", ";", "case", "'Q'", ":", "if", "(", "TM", ".", "getTargetData", "(", ")", "->", "isLittleEndian", "(", ")", ")", "break", ";", "case", "'R'", ":", "if", "(", "TM", ".", "getTargetData", "(", ")", "->", "isBigEndian", "(", ")", ")", "break", ";", "case", "'H'", ":", "if", "(", "!", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isReg", "(", ")", "||", "OpNo", "+", "1", "==", "MI", "->", "getNumOperands", "(", ")", "||", "!", "MI", "->", "getOperand", "(", "OpNo", "+", "1", ")", ".", "isReg", "(", ")", ")", "return", "true", ";", "++", "OpNo", ";", "}", "}", "printOperand", "(", "MI", ",", "OpNo", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["ARM", "ARM", "0", "1", "0", "0", "\"no_hash\"", "1", "1"], "File": "ARMAsmPrinter31", "Func": "PrintAsmOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15684, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsConstantIslands", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsConstantIslandPass47", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15685, "Length": 14, "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", ";", "bool", "genExecuteOnly", "=", "ARM_TM", ".", "getMCSubtargetInfo", "(", ")", "->", "hasFeature", "(", "ARM", "::", "FeatureExecuteOnly", ")", ";", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "InitializeELF", "(", "isAAPCS_ABI", ")", ";", "if", "(", "isAAPCS_ABI", ")", "{", "LSDASection", "=", "nullptr", ";", "}", "if", "(", "genExecuteOnly", ")", "{", "unsigned", "Type", "=", "ELF", "::", "SHT_PROGBITS", ";", "unsigned", "Flags", "=", "ELF", "::", "SHF_EXECINSTR", "|", "ELF", "::", "SHF_ALLOC", "|", "ELF", "::", "SHF_ARM_PURECODE", ";", "TextSection", "=", "Ctx", ".", "getELFSection", "(", "\".text\"", ",", "Type", ",", "Flags", ",", "0", ",", "\"\"", ",", "0U", ")", ";", "}", "}", ""], "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", "ARM", "ARM::FeatureExecuteOnly", "ARM", "\".text\"", "0", "\"\"", "0U"], "File": "ARMTargetObjectFile (2)1", "Func": "Initialize", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15686, "Length": 131, "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": 15687, "Length": 14, "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": ["AArch64"], "File": "AArch64AsmParser102", "Func": "Error", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15688, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86IndirectBranchTrackingPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "X86Subtarget", "&", "SubTarget", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "Metadata", "*", "isCFProtectionSupported", "=", "MF", ".", "getMMI", "(", ")", ".", "getModule", "(", ")", "->", "getModuleFlag", "(", "\"cf-protection-branch\"", ")", ";", "if", "(", "!", "isCFProtectionSupported", "&&", "!", "IndirectBranchTracking", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "TII", "=", "SubTarget", ".", "getInstrInfo", "(", ")", ";", "EndbrOpcode", "=", "SubTarget", ".", "is64Bit", "(", ")", "?", "X86", "::", "ENDBR64", ":", "X86", "::", "ENDBR32", ";", "if", "(", "(", "MF", ".", "getFunction", "(", ")", ".", "hasAddressTaken", "(", ")", "||", "!", "MF", ".", "getFunction", "(", ")", ".", "hasLocalLinkage", "(", ")", ")", "&&", "!", "MF", ".", "getFunction", "(", ")", ".", "doesNoCfCheck", "(", ")", ")", "{", "auto", "MBB", "=", "MF", ".", "begin", "(", ")", ";", "Changed", "|=", "addENDBR", "(", "*", "MBB", ")", ";", "}", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "if", "(", "MBB", ".", "hasAddressTaken", "(", ")", ")", "Changed", "|=", "addENDBR", "(", "MBB", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "\"cf-protection-branch\"", "X86::ENDBR64", "X86::ENDBR32"], "File": "X86IndirectBranchTracking (2)", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15689, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_reorg", "(", "void", ")", "{", "rtx", "insn", ";", "HOST_WIDE_INT", "address", "=", "0", ";", "Mfix", "*", "fix", ";", "minipool_fix_head", "=", "minipool_fix_tail", "=", "NULL", ";", "insn", "=", "get_insns", "(", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "insn", ")", "==", "NOTE", ")", ";", "for", "(", "insn", "=", "next_nonnote_insn", "(", "insn", ")", ";", "insn", ";", "insn", "=", "next_nonnote_insn", "(", "insn", ")", ")", "{", "if", "(", "TARGET_CIRRUS_FIX_INVALID_INSNS", "&&", "(", "arm_cirrus_insn_p", "(", "insn", ")", "||", "GET_CODE", "(", "insn", ")", "==", "JUMP_INSN", "||", "arm_memory_load_p", "(", "insn", ")", ")", ")", "cirrus_reorg", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "insn", ")", "==", "BARRIER", ")", "push_minipool_barrier", "(", "insn", ",", "address", ")", ";", "else", "if", "(", "INSN_P", "(", "insn", ")", ")", "{", "rtx", "table", ";", "note_invalid_constants", "(", "insn", ",", "address", ",", "true", ")", ";", "address", "+=", "get_attr_length", "(", "insn", ")", ";", "if", "(", "(", "table", "=", "is_jump_table", "(", "insn", ")", ")", "!=", "NULL", ")", "{", "address", "+=", "get_jump_table_size", "(", "table", ")", ";", "insn", "=", "table", ";", "}", "}", "}", "fix", "=", "minipool_fix_head", ";", "while", "(", "fix", ")", "{", "Mfix", "*", "ftmp", ";", "Mfix", "*", "fdel", ";", "Mfix", "*", "last_added_fix", ";", "Mfix", "*", "last_barrier", "=", "NULL", ";", "Mfix", "*", "this_fix", ";", "while", "(", "fix", "&&", "GET_CODE", "(", "fix", "->", "insn", ")", "==", "BARRIER", ")", "fix", "=", "fix", "->", "next", ";", "if", "(", "fix", "==", "NULL", ")", "break", ";", "last_added_fix", "=", "NULL", ";", "for", "(", "ftmp", "=", "fix", ";", "ftmp", ";", "ftmp", "=", "ftmp", "->", "next", ")", "{", "if", "(", "GET_CODE", "(", "ftmp", "->", "insn", ")", "==", "BARRIER", ")", "{", "if", "(", "ftmp", "->", "address", ">=", "minipool_vector_head", "->", "max_address", ")", "break", ";", "last_barrier", "=", "ftmp", ";", "}", "else", "if", "(", "(", "ftmp", "->", "minipool", "=", "add_minipool_forward_ref", "(", "ftmp", ")", ")", "==", "NULL", ")", "break", ";", "last_added_fix", "=", "ftmp", ";", "}", "if", "(", "last_barrier", "!=", "NULL", ")", "{", "for", "(", "fdel", "=", "last_barrier", "->", "next", ";", "fdel", "&&", "fdel", "!=", "ftmp", ";", "fdel", "=", "fdel", "->", "next", ")", "{", "fdel", "->", "minipool", "->", "refcount", "--", ";", "fdel", "->", "minipool", "=", "NULL", ";", "}", "ftmp", "=", "last_barrier", ";", "}", "else", "{", "HOST_WIDE_INT", "max_address", ";", "gcc_assert", "(", "ftmp", ")", ";", "max_address", "=", "minipool_vector_head", "->", "max_address", ";", "if", "(", "ftmp", "->", "address", "<", "max_address", ")", "max_address", "=", "ftmp", "->", "address", ";", "last_barrier", "=", "create_fix_barrier", "(", "last_added_fix", ",", "max_address", ")", ";", "}", "assign_minipool_offsets", "(", "last_barrier", ")", ";", "while", "(", "ftmp", ")", "{", "if", "(", "GET_CODE", "(", "ftmp", "->", "insn", ")", "!=", "BARRIER", "&&", "(", "(", "ftmp", "->", "minipool", "=", "add_minipool_backward_ref", "(", "ftmp", ")", ")", "==", "NULL", ")", ")", "break", ";", "ftmp", "=", "ftmp", "->", "next", ";", "}", "for", "(", "this_fix", "=", "fix", ";", "this_fix", "&&", "ftmp", "!=", "this_fix", ";", "this_fix", "=", "this_fix", "->", "next", ")", "if", "(", "GET_CODE", "(", "this_fix", "->", "insn", ")", "!=", "BARRIER", ")", "{", "rtx", "addr", "=", "plus_constant", "(", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "minipool_vector_label", ")", ",", "this_fix", "->", "minipool", "->", "offset", ")", ";", "*", "this_fix", "->", "loc", "=", "gen_rtx_MEM", "(", "this_fix", "->", "mode", ",", "addr", ")", ";", "}", "dump_minipool", "(", "last_barrier", "->", "insn", ")", ";", "fix", "=", "ftmp", ";", "}", "after_arm_reorg", "=", "1", ";", "obstack_free", "(", "&", "minipool_obstack", ",", "minipool_startobj", ")", ";", "}", ""], "natrual_language": ["Gcc", "puts", "the", "pool", "in", "the", "wrong", "place", "for", "ARM", ",", "since", "we", "can", "only", "load", "addresses", "a", "limited", "distance", "around", "the", "pc", ".", "We", "do", "some", "special", "munging", "to", "move", "the", "constant", "pool", "values", "to", "the", "correct", "point", "in", "the", "code", "."], "TS_V_token": ["arm", "0", "1"], "File": "arm3", "Func": "arm_reorg", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15690, "Length": 510, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "switch", "(", "Kind", ")", "{", "case", "k_Register", ":", "OS", "<<", "\"Reg<\"", "<<", "Reg", ".", "Num", "<<", "\">\"", ";", "break", ";", "case", "k_Immediate", ":", "OS", "<<", "\"Imm<\"", "<<", "(", "(", "const", "MCConstantExpr", "*", ")", "Imm", ".", "Val", ")", "->", "getValue", "(", ")", "<<", "\">\"", ";", "break", ";", "case", "k_Token", ":", "OS", "<<", "Tok", ".", "Data", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["LC2200", "\"Reg<\"", "\">\"", "\"Imm<\"", "\">\""], "File": "LC2200AsmParser", "Func": "print", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15691, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_default_align", "(", "struct", "gcc_options", "*", "opts", ")", "{", "if", "(", "opts", "->", "x_flag_align_loops", "&&", "!", "opts", "->", "x_str_align_loops", ")", "opts", "->", "x_str_align_loops", "=", "processor_cost_table", "[", "ix86_tune", "]", "->", "align_loop", ";", "if", "(", "opts", "->", "x_flag_align_jumps", "&&", "!", "opts", "->", "x_str_align_jumps", ")", "opts", "->", "x_str_align_jumps", "=", "processor_cost_table", "[", "ix86_tune", "]", "->", "align_jump", ";", "if", "(", "opts", "->", "x_flag_align_labels", "&&", "!", "opts", "->", "x_str_align_labels", ")", "opts", "->", "x_str_align_labels", "=", "processor_cost_table", "[", "ix86_tune", "]", "->", "align_label", ";", "if", "(", "opts", "->", "x_flag_align_functions", "&&", "!", "opts", "->", "x_str_align_functions", ")", "opts", "->", "x_str_align_functions", "=", "processor_cost_table", "[", "ix86_tune", "]", "->", "align_func", ";", "}", ""], "natrual_language": ["Default", "align_", "*", "from", "the", "processor", "table", "."], "TS_V_token": ["i386"], "File": "i386-options", "Func": "ix86_default_align", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15692, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MandarinTargetLowering", "::", "ConstraintType", "MandarinTargetLowering", "::", "getConstraintType", "(", "const", "std", "::", "string", "&", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'r'", ":", "return", "C_RegisterClass", ";", "}", "}", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "."], "TS_V_token": ["Mandarin", "1", "0"], "File": "MandarinISelLowering", "Func": "getConstraintType", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15693, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "canCombineStoreAndExtract", "(", "Type", "*", "VectorTy", ",", "Value", "*", "Idx", ",", "unsigned", "&", "Cost", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "hasNEON", "(", ")", ")", "return", "false", ";", "if", "(", "VectorTy", "->", "isFPOrFPVectorTy", "(", ")", ")", "return", "false", ";", "if", "(", "!", "isa", "<", "ConstantInt", ">", "(", "Idx", ")", ")", "return", "false", ";", "assert", "(", "VectorTy", "->", "isVectorTy", "(", ")", "&&", "\"VectorTy is not a vector type\"", ")", ";", "unsigned", "BitWidth", "=", "VectorTy", "->", "getPrimitiveSizeInBits", "(", ")", ".", "getFixedSize", "(", ")", ";", "if", "(", "BitWidth", "==", "64", "||", "BitWidth", "==", "128", ")", "{", "Cost", "=", "0", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "can", "combine", "store", "(", "extractelement", "VectorTy", ",", "Idx", ")", "."], "TS_V_token": ["ARM", "ARM", "\"VectorTy is not a vector type\"", "64", "128", "0"], "File": "ARMISelLowering (2)5", "Func": "canCombineStoreAndExtract", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15694, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "X86TargetLowering", "::", "getSDagStackGuard", "(", "const", "Module", "&", "M", ")", "const", "{", "if", "(", "Subtarget", ".", "getTargetTriple", "(", ")", ".", "isWindowsMSVCEnvironment", "(", ")", "||", "Subtarget", ".", "getTargetTriple", "(", ")", ".", "isWindowsItaniumEnvironment", "(", ")", ")", "{", "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 (2)5", "Func": "getSDagStackGuard", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15695, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "AArch64TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "StringRef", "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", "]", "==", "'}'", ")", "{", "int", "RegNo", ";", "bool", "Failed", "=", "Constraint", ".", "slice", "(", "2", ",", "Size", "-", "1", ")", ".", "getAsInteger", "(", "10", ",", "RegNo", ")", ";", "if", "(", "!", "Failed", "&&", "RegNo", ">=", "0", "&&", "RegNo", "<=", "31", ")", "{", "if", "(", "VT", "!=", "MVT", "::", "Other", "&&", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "{", "Res", ".", "first", "=", "AArch64", "::", "FPR64RegClass", ".", "getRegister", "(", "RegNo", ")", ";", "Res", ".", "second", "=", "&", "AArch64", "::", "FPR64RegClass", ";", "}", "else", "{", "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", "10", "0", "31", "MVT::Other", "64", "AArch64::FPR64RegClass", "AArch64::FPR64RegClass", "AArch64::FPR128RegClass", "AArch64::FPR128RegClass"], "File": "AArch64ISelLowering149", "Func": "getRegForInlineAsmConstraint", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15696, "Length": 408, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "MipsOutgoingValueHandler", "::", "getStackAddress", "(", "uint64_t", "Size", ",", "int64_t", "Offset", ",", "MachinePointerInfo", "&", "MPO", ",", "ISD", "::", "ArgFlagsTy", "Flags", ")", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "MPO", "=", "MachinePointerInfo", "::", "getStack", "(", "MF", ",", "Offset", ")", ";", "LLT", "p0", "=", "LLT", "::", "pointer", "(", "0", ",", "32", ")", ";", "LLT", "s32", "=", "LLT", "::", "scalar", "(", "32", ")", ";", "auto", "SPReg", "=", "MIRBuilder", ".", "buildCopy", "(", "p0", ",", "Register", "(", "Mips", "::", "SP", ")", ")", ";", "auto", "OffsetReg", "=", "MIRBuilder", ".", "buildConstant", "(", "s32", ",", "Offset", ")", ";", "auto", "AddrReg", "=", "MIRBuilder", ".", "buildPtrAdd", "(", "p0", ",", "SPReg", ",", "OffsetReg", ")", ";", "return", "AddrReg", ".", "getReg", "(", "0", ")", ";", "}", ""], "natrual_language": ["Materialize", "a", "VReg", "containing", "the", "address", "of", "the", "specified", "stack-based", "object", "."], "TS_V_token": ["Mips", "Mips", "ISD::ArgFlagsTy", "0", "32", "32", "Mips::SP", "0"], "File": "MipsCallLowering (2)", "Func": "getStackAddress", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15697, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "OperandMatchResultTy", "MINA32AsmParser", "::", "tryParseRegister", "(", "unsigned", "&", "RegNo", ",", "SMLoc", "&", "StartLoc", ",", "SMLoc", "&", "EndLoc", ")", "{", "const", "AsmToken", "&", "Tok", "=", "getParser", "(", ")", ".", "getTok", "(", ")", ";", "if", "(", "Tok", ".", "is", "(", "AsmToken", "::", "Identifier", ")", ")", "{", "std", "::", "string", "lowerCase", "=", "Tok", ".", "getString", "(", ")", ".", "lower", "(", ")", ";", "RegNo", "=", "matchRegisterName", "(", "lowerCase", ")", ";", "if", "(", "RegNo", "!=", "0", ")", "{", "return", "MatchOperand_Success", ";", "}", "}", "return", "MatchOperand_NoMatch", ";", "}", ""], "natrual_language": ["tryParseRegister", "-", "parse", "one", "register", "if", "possible"], "TS_V_token": ["MINA32", "MINA32", "0"], "File": "MINA32AsmParser", "Func": "tryParseRegister", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15698, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "X86RegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "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", ".", "isTargetWin64", "(", ")", ")", "return", "&", "X86", "::", "GR64_TCW64RegClass", ";", "else", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "return", "&", "X86", "::", "GR64_TCRegClass", ";", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "bool", "hasHipeCC", "=", "(", "F", "?", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "HiPE", ":", "false", ")", ";", "if", "(", "hasHipeCC", ")", "return", "&", "X86", "::", "GR32RegClass", ";", "return", "&", "X86", "::", "GR32_TCRegClass", ";", "}", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["X86", "X86", "\"Unexpected Kind in getPointerRegClass!\"", "0", "X86::GR64RegClass", "X86::GR32RegClass", "1", "X86::GR64_NOSPRegClass", "X86::GR32_NOSPRegClass", "2", "X86::GR64_TCW64RegClass", "X86::GR64_TCRegClass", "X86::GR32RegClass", "X86::GR32_TCRegClass"], "File": "X86RegisterInfo2", "Func": "getPointerRegClass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15699, "Length": 155, "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": 15700, "Length": 98, "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!\"", ")", ";", "break", ";", "}", "case", "ARMII", "::", "MiscFrm", ":", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "ARM", "::", "LEApcrelJT", ")", "{", "emitLEApcrelJTInstruction", "(", "MI", ")", ";", "break", ";", "}", "llvm_unreachable", "(", "\"Unhandled instruction encoding!\"", ")", ";", "break", ";", "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", "::", "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::NGetLnFrm", "ARMII::NSetLnFrm", "ARMII::NDupFrm", "ARMII::N1RegModImmFrm", "ARMII::N2RegFrm", "ARMII::N3RegFrm"], "File": "ARMCodeEmitter10", "Func": "emitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15701, "Length": 409, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_classify_address", "(", "struct", "mips_address_info", "*", "info", ",", "rtx", "x", ",", "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", "mips_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", "(", "mips_valid_base_register_p", "(", "info", "->", "reg", ",", "mode", ",", "strict_p", ")", "&&", "mips_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", "=", "mips_classify_symbolic_expression", "(", "info", "->", "offset", ",", "SYMBOL_CONTEXT_MEM", ")", ";", "return", "(", "mips_valid_base_register_p", "(", "info", "->", "reg", ",", "mode", ",", "strict_p", ")", "&&", "mips_valid_lo_sum_p", "(", "info", "->", "symbol_type", ",", "mode", ")", ")", ";", "case", "CONST_INT", ":", "info", "->", "type", "=", "ADDRESS_CONST_INT", ";", "return", "!", "TARGET_MIPS16", "&&", "SMALL_INT", "(", "x", ")", ";", "case", "CONST", ":", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":", "info", "->", "type", "=", "ADDRESS_SYMBOLIC", ";", "return", "(", "mips_symbolic_constant_p", "(", "x", ",", "SYMBOL_CONTEXT_MEM", ",", "&", "info", "->", "symbol_type", ")", "&&", "mips_symbol_insns", "(", "info", "->", "symbol_type", ",", "mode", ")", ">", "0", "&&", "!", "mips_split_p", "[", "info", "->", "symbol_type", "]", ")", ";", "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", "is", "true", "if", "we", "should", "only", "accept", "hard", "base", "registers", "."], "TS_V_token": ["mips", "0", "1", "0", "1", "0"], "File": "mips", "Func": "mips_classify_address", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15702, "Length": 258, "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", ";", "if", "(", "Ty", "->", "isVectorTy", "(", ")", "&&", "Ty", "->", "getVectorIsScalable", "(", ")", ")", "return", "AM", ".", "HasBaseReg", "&&", "!", "AM", ".", "BaseOffs", "&&", "!", "AM", ".", "Scale", ";", "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": "AArch64ISelLowering169", "Func": "isLegalAddressingMode", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15703, "Length": 226, "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", ")", ".", "restrictIT", "(", ")", ";", "}", ")", ")", ";", "addPass", "(", "createIfConverter", "(", "[", "]", "(", "const", "MachineFunction", "&", "MF", ")", "{", "return", "!", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "isThumb1Only", "(", ")", ";", "}", ")", ")", ";", "}", "addPass", "(", "createThumb2ITBlockPass", "(", ")", ")", ";", "}", ""], "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"], "File": "ARMTargetMachine", "Func": "addPreSched2", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15704, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arm_dwarf_register_span", "(", "rtx", "rtl", ")", "{", "machine_mode", "mode", ";", "unsigned", "regno", ";", "rtx", "parts", "[", "16", "]", ";", "int", "nregs", ";", "int", "i", ";", "regno", "=", "REGNO", "(", "rtl", ")", ";", "if", "(", "!", "IS_VFP_REGNUM", "(", "regno", ")", ")", "return", "NULL_RTX", ";", "mode", "=", "GET_MODE", "(", "rtl", ")", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "<", "8", ")", "return", "NULL_RTX", ";", "if", "(", "VFP_REGNO_OK_FOR_SINGLE", "(", "regno", ")", ")", "{", "nregs", "=", "GET_MODE_SIZE", "(", "mode", ")", "/", "4", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nregs", ";", "i", "+=", "2", ")", "if", "(", "TARGET_BIG_END", ")", "{", "parts", "[", "i", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", "+", "i", "+", "1", ")", ";", "parts", "[", "i", "+", "1", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", "+", "i", ")", ";", "}", "else", "{", "parts", "[", "i", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", "+", "i", ")", ";", "parts", "[", "i", "+", "1", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", "+", "i", "+", "1", ")", ";", "}", "}", "else", "{", "nregs", "=", "GET_MODE_SIZE", "(", "mode", ")", "/", "8", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nregs", ";", "i", "++", ")", "parts", "[", "i", "]", "=", "gen_rtx_REG", "(", "DImode", ",", "regno", "+", "i", ")", ";", "}", "return", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec_v", "(", "nregs", ",", "parts", ")", ")", ";", "}", ""], "natrual_language": ["Dwarf", "models", "VFPv3", "registers", "as", "32", "64-bit", "registers", ".", "GCC", "models", "tham", "as", "64", "32-bit", "registers", ",", "so", "we", "need", "to", "describe", "this", "to", "the", "DWARF", "generation", "code", ".", "Other", "registers", "can", "use", "the", "default", "."], "TS_V_token": ["arm", "16", "8", "4", "0", "2", "1", "1", "1", "1", "8", "0"], "File": "arm", "Func": "arm_dwarf_register_span", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15705, "Length": 221, "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", ",", "SDLoc", "DL", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "MipsCC", "MipsCCInfo", "(", "CallConv", ",", "IsO32", ",", "CCInfo", ")", ";", "MipsCCInfo", ".", "analyzeReturn", "(", "Outs", ",", "getTargetMachine", "(", ")", ".", "Options", ".", "UseSoftFloat", ",", "MF", ".", "getFunction", "(", ")", "->", "getReturnType", "(", ")", ")", ";", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "RetOps", "(", "1", ",", "Chain", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "SDValue", "Val", "=", "OutVals", "[", "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", "(", ")", ")", "{", "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", "(", ")", ")", ";", "unsigned", "V0", "=", "IsN64", "?", "Mips", "::", "V0_64", ":", "Mips", "::", "V0", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "V0", ",", "Val", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "V0", ",", "getPointerTy", "(", ")", ")", ")", ";", "}", "RetOps", "[", "0", "]", "=", "Chain", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "RetOps", ".", "push_back", "(", "Flag", ")", ";", "return", "DAG", ".", "getNode", "(", "MipsISD", "::", "Ret", ",", "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": ["Mips", "Mips", "ISD::OutputArg", "16", "Mips", "Mips", "Mips", "4", "1", "0", "\"Can only return in registers!\"", "ISD::BITCAST", "1", "Mips", "Mips", "Mips", "Mips", "\"sret virtual register not created in the entry block\"", "Mips::V0_64", "Mips::V0", "1", "0", "MipsISD::Ret", "MVT::Other", "0"], "File": "MipsISelLowering (2)", "Func": "LowerReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15706, "Length": 449, "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", ",", "1", ")", ";", "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", "1"], "File": "AArch64CallLowering39", "Func": "assignValueToAddress", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15707, "Length": 114, "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": 15708, "Length": 82, "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": 15709, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "isCoalescableExtInstr", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "&", "SrcReg", ",", "unsigned", "&", "DstReg", ",", "unsigned", "&", "SubIdx", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "X86", "::", "MOVSX16rr8", ":", "case", "X86", "::", "MOVZX16rr8", ":", "case", "X86", "::", "MOVSX32rr8", ":", "case", "X86", "::", "MOVZX32rr8", ":", "case", "X86", "::", "MOVSX64rr8", ":", "case", "X86", "::", "MOVZX64rr8", ":", "if", "(", "!", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ")", "return", "false", ";", "case", "X86", "::", "MOVSX32rr16", ":", "case", "X86", "::", "MOVZX32rr16", ":", "case", "X86", "::", "MOVSX64rr16", ":", "case", "X86", "::", "MOVZX64rr16", ":", "case", "X86", "::", "MOVSX64rr32", ":", "case", "X86", "::", "MOVZX64rr32", ":", "{", "if", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getSubReg", "(", ")", "||", "MI", ".", "getOperand", "(", "1", ")", ".", "getSubReg", "(", ")", ")", "return", "false", ";", "SrcReg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "DstReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "0", ")", ";", "break", ";", "case", "X86", "::", "MOVSX16rr8", ":", "case", "X86", "::", "MOVZX16rr8", ":", "case", "X86", "::", "MOVSX32rr8", ":", "case", "X86", "::", "MOVZX32rr8", ":", "case", "X86", "::", "MOVSX64rr8", ":", "case", "X86", "::", "MOVZX64rr8", ":", "SubIdx", "=", "X86", "::", "sub_8bit", ";", "break", ";", "case", "X86", "::", "MOVSX32rr16", ":", "case", "X86", "::", "MOVZX32rr16", ":", "case", "X86", "::", "MOVSX64rr16", ":", "case", "X86", "::", "MOVZX64rr16", ":", "SubIdx", "=", "X86", "::", "sub_16bit", ";", "break", ";", "case", "X86", "::", "MOVSX64rr32", ":", "case", "X86", "::", "MOVZX64rr32", ":", "SubIdx", "=", "X86", "::", "sub_32bit", ";", "break", ";", "}", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["isCoalescableExtInstr", "-", "Return", "true", "if", "the", "instruction", "is", "a", "``", "coalescable", "''", "extension", "instruction", "."], "TS_V_token": ["X86", "X86", "X86::MOVSX16rr8", "X86::MOVZX16rr8", "X86::MOVSX32rr8", "X86::MOVZX32rr8", "X86::MOVSX64rr8", "X86::MOVZX64rr8", "X86", "X86::MOVSX32rr16", "X86::MOVZX32rr16", "X86::MOVSX64rr16", "X86::MOVZX64rr16", "X86::MOVSX64rr32", "X86::MOVZX64rr32", "0", "1", "1", "0", "0", "X86::MOVSX16rr8", "X86::MOVZX16rr8", "X86::MOVSX32rr8", "X86::MOVZX32rr8", "X86::MOVSX64rr8", "X86::MOVZX64rr8", "X86::sub_8bit", "X86::MOVSX32rr16", "X86::MOVZX32rr16", "X86::MOVSX64rr16", "X86::MOVZX64rr16", "X86::sub_16bit", "X86::MOVSX64rr32", "X86::MOVZX64rr32", "X86::sub_32bit"], "File": "X86InstrInfo12", "Func": "isCoalescableExtInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15710, "Length": 282, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "return", "true", ";", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "assert", "(", "MO", ".", "isReg", "(", ")", "&&", "\"unexpected inline asm memory operand\"", ")", ";", "O", "<<", "\"[\"", "<<", "AArch64InstPrinter", "::", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", "<<", "\"]\"", ";", "return", "false", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "."], "TS_V_token": ["AArch64", "AArch64", "0", "\"unexpected inline asm memory operand\"", "\"[\"", "AArch64", "\"]\""], "File": "AArch64AsmPrinter (2)", "Func": "PrintAsmMemoryOperand", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15711, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_init_bf16_types", "(", "void", ")", "{", "arm_bf16_type_node", "=", "make_node", "(", "REAL_TYPE", ")", ";", "TYPE_PRECISION", "(", "arm_bf16_type_node", ")", "=", "16", ";", "SET_TYPE_MODE", "(", "arm_bf16_type_node", ",", "BFmode", ")", ";", "layout_type", "(", "arm_bf16_type_node", ")", ";", "lang_hooks", ".", "types", ".", "register_builtin_type", "(", "arm_bf16_type_node", ",", "\"__bf16\"", ")", ";", "arm_bf16_ptr_type_node", "=", "build_pointer_type", "(", "arm_bf16_type_node", ")", ";", "}", ""], "natrual_language": ["Initialize", "the", "backend", "REAL_TYPE", "type", "supporting", "bfloat", "types", "."], "TS_V_token": ["arm", "16", "\"__bf16\""], "File": "arm-builtins", "Func": "arm_init_bf16_types", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15712, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "addExpr", "(", "MCInst", "&", "Inst", ",", "const", "MCExpr", "*", "Expr", ")", "const", "{", "if", "(", "Expr", "==", "0", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "0", ")", ")", ";", "else", "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": ["SystemZ", "0", "0"], "File": "SystemZAsmParser10", "Func": "addExpr", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15713, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_eh_reg_restore", "(", "rtx", "source", ",", "rtx", "scratch", ")", "{", "rs6000_stack_t", "*", "info", "=", "rs6000_stack_info", "(", ")", ";", "rtx", "operands", "[", "2", "]", ";", "operands", "[", "0", "]", "=", "source", ";", "operands", "[", "1", "]", "=", "scratch", ";", "if", "(", "info", "->", "lr_save_p", ")", "{", "rtx", "frame_rtx", "=", "stack_pointer_rtx", ";", "HOST_WIDE_INT", "sp_offset", "=", "0", ";", "rtx", "tmp", ";", "if", "(", "frame_pointer_needed", "||", "cfun", "->", "calls_alloca", "||", "info", "->", "total_size", ">", "32767", ")", "{", "tmp", "=", "gen_frame_mem", "(", "Pmode", ",", "frame_rtx", ")", ";", "emit_move_insn", "(", "operands", "[", "1", "]", ",", "tmp", ")", ";", "frame_rtx", "=", "operands", "[", "1", "]", ";", "}", "else", "if", "(", "info", "->", "push_p", ")", "sp_offset", "=", "info", "->", "total_size", ";", "tmp", "=", "plus_constant", "(", "Pmode", ",", "frame_rtx", ",", "info", "->", "lr_save_offset", "+", "sp_offset", ")", ";", "tmp", "=", "gen_frame_mem", "(", "Pmode", ",", "tmp", ")", ";", "emit_move_insn", "(", "tmp", ",", "operands", "[", "0", "]", ")", ";", "}", "else", "emit_move_insn", "(", "gen_rtx_REG", "(", "Pmode", ",", "LR_REGNO", ")", ",", "operands", "[", "0", "]", ")", ";", "cfun", "->", "machine", "->", "lr_save_state", "=", "info", "->", "lr_save_p", "+", "1", ";", "}", ""], "natrual_language": ["Emit", "instructions", "to", "restore", "the", "link", "register", "after", "determining", "where", "its", "value", "has", "been", "stored", "."], "TS_V_token": ["powerpcspe", "2", "0", "1", "0", "32767", "1", "1", "0", "0", "1"], "File": "powerpcspe", "Func": "rs6000_emit_eh_reg_restore", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15714, "Length": 177, "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": ["X86"], "File": "X86InstrInfo103", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15715, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "EmitInstruction", "(", "uint64_t", "Val", ",", "unsigned", "Size", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "raw_ostream", "&", "OS", ")", "const", "{", "if", "(", "IsLittleEndian", "&&", "Size", "==", "4", "&&", "isMicroMips", "(", "STI", ")", ")", "{", "EmitInstruction", "(", "Val", ">>", "16", ",", "2", ",", "STI", ",", "OS", ")", ";", "EmitInstruction", "(", "Val", ",", "2", ",", "STI", ",", "OS", ")", ";", "}", "else", "{", "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": ["Mips", "4", "Mips", "16", "2", "2", "0", "8", "1", "8", "0xff"], "File": "MipsMCCodeEmitter20", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15716, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "aarch64_preferred_else_value", "(", "unsigned", ",", "tree", ",", "unsigned", "int", "nops", ",", "tree", "*", "ops", ")", "{", "return", "nops", "==", "3", "?", "ops", "[", "2", "]", ":", "ops", "[", "0", "]", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PREFERRED_ELSE_VALUE", ".", "For", "binary", "operations", ",", "prefer", "to", "use", "the", "first", "arithmetic", "operand", "as", "the", "else", "value", "if", "the", "else", "value", "does", "n't", "matter", ",", "since", "that", "exactly", "matches", "the", "SVE", "destructive", "merging", "form", ".", "For", "ternary", "operations", "we", "could", "either", "pick", "the", "first", "operand", "and", "use", "FMAD-like", "instructions", "or", "the", "last", "operand", "and", "use", "FMLA-like", "instructions", ";", "the", "latter", "seems", "more", "natural", "."], "TS_V_token": ["aarch64", "3", "2", "0"], "File": "aarch64", "Func": "aarch64_preferred_else_value", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15717, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rename_single_chain", "(", "du_head_p", "head", ",", "HARD_REG_SET", "*", "unavailable", ")", "{", "int", "best_new_reg", ";", "int", "n_uses", "=", "0", ";", "struct", "du_chain", "*", "tmp", ";", "int", "reg", "=", "head", "->", "regno", ";", "enum", "reg_class", "super_class", "=", "NO_REGS", ";", "if", "(", "head", "->", "cannot_rename", ")", "return", "false", ";", "if", "(", "fixed_regs", "[", "reg", "]", "||", "global_regs", "[", "reg", "]", "||", "(", "frame_pointer_needed", "&&", "reg", "==", "HARD_FRAME_POINTER_REGNUM", ")", ")", "return", "false", ";", "for", "(", "tmp", "=", "head", "->", "first", ";", "tmp", ";", "tmp", "=", "tmp", "->", "next_use", ")", "{", "if", "(", "DEBUG_INSN_P", "(", "tmp", "->", "insn", ")", ")", "continue", ";", "n_uses", "++", ";", "IOR_COMPL_HARD_REG_SET", "(", "*", "unavailable", ",", "reg_class_contents", "[", "tmp", "->", "cl", "]", ")", ";", "super_class", "=", "reg_class_superunion", "[", "(", "int", ")", "super_class", "]", "[", "(", "int", ")", "tmp", "->", "cl", "]", ";", "}", "if", "(", "n_uses", "<", "1", ")", "return", "false", ";", "best_new_reg", "=", "find_rename_reg", "(", "head", ",", "super_class", ",", "unavailable", ",", "reg", ",", "false", ")", ";", "if", "(", "dump_file", ")", "{", "fprintf", "(", "dump_file", ",", "\"Register %s in insn %d\"", ",", "reg_names", "[", "reg", "]", ",", "INSN_UID", "(", "head", "->", "first", "->", "insn", ")", ")", ";", "if", "(", "head", "->", "need_caller_save_reg", ")", "fprintf", "(", "dump_file", ",", "\" crosses a call\"", ")", ";", "}", "if", "(", "best_new_reg", "==", "reg", ")", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"; no available better choice\\n\"", ")", ";", "return", "false", ";", "}", "if", "(", "regrename_do_replace", "(", "head", ",", "best_new_reg", ")", ")", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\", renamed as %s\\n\"", ",", "reg_names", "[", "best_new_reg", "]", ")", ";", "df_set_regs_ever_live", "(", "best_new_reg", ",", "true", ")", ";", "}", "else", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\", renaming as %s failed\\n\"", ",", "reg_names", "[", "best_new_reg", "]", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Rename", "the", "register", "HEAD-", ">", "regno", "in", "all", "the", "insns", "in", "the", "chain", "HEAD", "to", "any", "register", "not", "in", "the", "set", "UNAVAILABLE", ".", "Adapted", "from", "rename_chains", "in", "regrename.c", "."], "TS_V_token": ["aarch64", "0", "1", "\"Register %s in insn %d\"", "\" crosses a call\"", "\"; no available better choice\\n\"", "\", renamed as %s\\n\"", "\", renaming as %s failed\\n\""], "File": "cortex-a57-fma-steering2", "Func": "rename_single_chain", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15718, "Length": 279, "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": 15719, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "machine_function", "*", "nds32_init_machine_status", "(", "void", ")", "{", "struct", "machine_function", "*", "machine", ";", "machine", "=", "ggc_cleared_alloc", "<", "machine_function", ">", "(", ")", ";", "machine", "->", "use_eh_return_p", "=", "0", ";", "machine", "->", "naked_p", "=", "0", ";", "machine", "->", "fp_as_gp_p", "=", "0", ";", "machine", "->", "strict_aligned_p", "=", "0", ";", "return", "machine", ";", "}", ""], "natrual_language": ["Function", "to", "save", "and", "restore", "machine-specific", "function", "data", "."], "TS_V_token": ["nds32", "0", "0", "0", "0"], "File": "nds325", "Func": "nds32_init_machine_status", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15720, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addPreservedID", "(", "MachineLoopInfoID", ")", ";", "AU", ".", "addPreservedID", "(", "MachineDominatorsID", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["X86"], "File": "X86FloatingPoint23", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15721, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_option_valid_attribute_p", "(", "tree", "fndecl", ",", "tree", ",", "tree", "args", ",", "int", ")", "{", "struct", "cl_target_option", "cur_target", ";", "bool", "ret", ";", "tree", "old_optimize", ";", "tree", "new_target", ",", "new_optimize", ";", "tree", "existing_target", "=", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "fndecl", ")", ";", "if", "(", "!", "existing_target", "&&", "args", "==", "current_target_pragma", ")", "{", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "fndecl", ")", "=", "target_option_current_node", ";", "return", "true", ";", "}", "tree", "func_optimize", "=", "DECL_FUNCTION_SPECIFIC_OPTIMIZATION", "(", "fndecl", ")", ";", "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", ")", ";", "if", "(", "existing_target", ")", "{", "struct", "cl_target_option", "*", "existing_options", "=", "TREE_TARGET_OPTION", "(", "existing_target", ")", ";", "if", "(", "existing_options", ")", "cl_target_option_restore", "(", "&", "global_options", ",", "existing_options", ")", ";", "}", "else", "cl_target_option_restore", "(", "&", "global_options", ",", "TREE_TARGET_OPTION", "(", "target_option_current_node", ")", ")", ";", "ret", "=", "aarch64_process_target_attr", "(", "args", ",", "\"attribute\"", ")", ";", "if", "(", "ret", ")", "{", "aarch64_override_options_internal", "(", "&", "global_options", ")", ";", "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", ";", "}", "new_target", "=", "build_target_option_node", "(", "&", "global_options", ")", ";", "}", "else", "new_target", "=", "NULL", ";", "new_optimize", "=", "build_optimization_node", "(", "&", "global_options", ")", ";", "if", "(", "fndecl", "&&", "ret", ")", "{", "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": ["Implement", "TARGET_OPTION_VALID_ATTRIBUTE_P", ".", "This", "is", "used", "to", "process", "attribute", "(", "(", "target", "(", "``", "...", "''", ")", ")", ")", "."], "TS_V_token": ["aarch64", "\"attribute\""], "File": "aarch643", "Func": "aarch64_option_valid_attribute_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15722, "Length": 273, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "HOST_WIDE_INT", "arm_asan_shadow_offset", "(", "void", ")", "{", "return", "HOST_WIDE_INT_1U", "<<", "29", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_ASAN_SHADOW_OFFSET", "hook", "."], "TS_V_token": ["arm", "29"], "File": "arm", "Func": "arm_asan_shadow_offset", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15723, "Length": 14, "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": 15724, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_split_compare_and_swap", "(", "rtx", "operands", "[", "]", ")", "{", "gcc_assert", "(", "epilogue_completed", ")", ";", "rtx", "rval", ",", "mem", ",", "oldval", ",", "newval", ",", "scratch", ",", "x", ",", "model_rtx", ";", "machine_mode", "mode", ";", "bool", "is_weak", ";", "rtx_code_label", "*", "label1", ",", "*", "label2", ";", "enum", "memmodel", "model", ";", "rval", "=", "operands", "[", "0", "]", ";", "mem", "=", "operands", "[", "1", "]", ";", "oldval", "=", "operands", "[", "2", "]", ";", "newval", "=", "operands", "[", "3", "]", ";", "is_weak", "=", "(", "operands", "[", "4", "]", "!=", "const0_rtx", ")", ";", "model_rtx", "=", "operands", "[", "5", "]", ";", "scratch", "=", "operands", "[", "7", "]", ";", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "model", "=", "memmodel_from_int", "(", "INTVAL", "(", "model_rtx", ")", ")", ";", "bool", "strong_zero_p", "=", "(", "!", "is_weak", "&&", "!", "aarch64_track_speculation", "&&", "oldval", "==", "const0_rtx", "&&", "mode", "!=", "TImode", ")", ";", "label1", "=", "NULL", ";", "if", "(", "!", "is_weak", ")", "{", "label1", "=", "gen_label_rtx", "(", ")", ";", "emit_label", "(", "label1", ")", ";", "}", "label2", "=", "gen_label_rtx", "(", ")", ";", "if", "(", "is_mm_sync", "(", "model", ")", ")", "aarch64_emit_load_exclusive", "(", "mode", ",", "rval", ",", "mem", ",", "GEN_INT", "(", "MEMMODEL_RELAXED", ")", ")", ";", "else", "aarch64_emit_load_exclusive", "(", "mode", ",", "rval", ",", "mem", ",", "model_rtx", ")", ";", "if", "(", "strong_zero_p", ")", "x", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "rval", ",", "const0_rtx", ")", ";", "else", "{", "rtx", "cc_reg", "=", "aarch64_gen_compare_reg_maybe_ze", "(", "NE", ",", "rval", ",", "oldval", ",", "mode", ")", ";", "x", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "cc_reg", ",", "const0_rtx", ")", ";", "}", "x", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "x", ",", "gen_rtx_LABEL_REF", "(", "Pmode", ",", "label2", ")", ",", "pc_rtx", ")", ";", "aarch64_emit_unlikely_jump", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "x", ")", ")", ";", "aarch64_emit_store_exclusive", "(", "mode", ",", "scratch", ",", "mem", ",", "newval", ",", "model_rtx", ")", ";", "if", "(", "!", "is_weak", ")", "{", "if", "(", "aarch64_track_speculation", ")", "{", "rtx", "cc_reg", "=", "aarch64_gen_compare_reg", "(", "NE", ",", "scratch", ",", "const0_rtx", ")", ";", "x", "=", "gen_rtx_NE", "(", "GET_MODE", "(", "cc_reg", ")", ",", "cc_reg", ",", "const0_rtx", ")", ";", "}", "else", "x", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "scratch", ",", "const0_rtx", ")", ";", "x", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "x", ",", "gen_rtx_LABEL_REF", "(", "Pmode", ",", "label1", ")", ",", "pc_rtx", ")", ";", "aarch64_emit_unlikely_jump", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "x", ")", ")", ";", "}", "else", "aarch64_gen_compare_reg", "(", "NE", ",", "scratch", ",", "const0_rtx", ")", ";", "emit_label", "(", "label2", ")", ";", "if", "(", "strong_zero_p", ")", "aarch64_gen_compare_reg", "(", "NE", ",", "rval", ",", "const0_rtx", ")", ";", "if", "(", "is_mm_sync", "(", "model", ")", ")", "aarch64_emit_post_barrier", "(", "model", ")", ";", "}", ""], "natrual_language": ["Split", "a", "compare", "and", "swap", "pattern", "."], "TS_V_token": ["aarch64", "0", "1", "2", "3", "4", "5", "7"], "File": "aarch64", "Func": "aarch64_split_compare_and_swap", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15725, "Length": 400, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "auto", "*", "ZII", "=", "static_cast", "<", "const", "SystemZInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "SystemZMachineFunctionInfo", "*", "ZFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "MachineFrameInfo", "&", "MFFrame", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "assert", "(", "MBBI", "->", "isReturn", "(", ")", "&&", "\"Can only insert epilogue into returning blocks\"", ")", ";", "uint64_t", "StackSize", "=", "MFFrame", ".", "getStackSize", "(", ")", ";", "if", "(", "ZFI", "->", "getLowSavedGPR", "(", ")", ")", "{", "--", "MBBI", ";", "unsigned", "Opcode", "=", "MBBI", "->", "getOpcode", "(", ")", ";", "if", "(", "Opcode", "!=", "SystemZ", "::", "LMG", ")", "llvm_unreachable", "(", "\"Expected to see callee-save register restore code\"", ")", ";", "unsigned", "AddrOpNo", "=", "2", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "uint64_t", "Offset", "=", "StackSize", "+", "MBBI", "->", "getOperand", "(", "AddrOpNo", "+", "1", ")", ".", "getImm", "(", ")", ";", "unsigned", "NewOpcode", "=", "ZII", "->", "getOpcodeForOffset", "(", "Opcode", ",", "Offset", ")", ";", "if", "(", "!", "NewOpcode", ")", "{", "uint64_t", "NumBytes", "=", "Offset", "-", "0x7fff8", ";", "emitIncrement", "(", "MBB", ",", "MBBI", ",", "DL", ",", "MBBI", "->", "getOperand", "(", "AddrOpNo", ")", ".", "getReg", "(", ")", ",", "NumBytes", ",", "ZII", ")", ";", "Offset", "-=", "NumBytes", ";", "NewOpcode", "=", "ZII", "->", "getOpcodeForOffset", "(", "Opcode", ",", "Offset", ")", ";", "assert", "(", "NewOpcode", "&&", "\"No restore instruction available\"", ")", ";", "}", "MBBI", "->", "setDesc", "(", "ZII", "->", "get", "(", "NewOpcode", ")", ")", ";", "MBBI", "->", "getOperand", "(", "AddrOpNo", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", "else", "if", "(", "StackSize", ")", "{", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "emitIncrement", "(", "MBB", ",", "MBBI", ",", "DL", ",", "SystemZ", "::", "R15D", ",", "StackSize", ",", "ZII", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "\"Can only insert epilogue into returning blocks\"", "SystemZ::LMG", "\"Expected to see callee-save register restore code\"", "2", "1", "0x7fff8", "\"No restore instruction available\"", "1", "SystemZ::R15D"], "File": "SystemZFrameLowering22", "Func": "emitEpilogue", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15726, "Length": 290, "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": 15727, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintType", "SystemZTargetLowering", "::", "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": ["SystemZ", "SystemZ", "1", "0"], "File": "SystemZISelLowering101", "Func": "getConstraintType", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15728, "Length": 56, "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": 15729, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMFrameInfo", "::", "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", ">", "(", ")", ";", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "PushOpc", "=", "AFI", "->", "isThumbFunction", "(", ")", "?", "ARM", "::", "t2STMDB_UPD", ":", "ARM", "::", "STMDB_UPD", ";", "unsigned", "PushOneOpc", "=", "AFI", "->", "isThumbFunction", "(", ")", "?", "ARM", "::", "t2STR_PRE", ":", "ARM", "::", "STR_PRE", ";", "unsigned", "FltOpc", "=", "ARM", "::", "VSTMDDB_UPD", ";", "emitPushInst", "(", "MBB", ",", "MI", ",", "CSI", ",", "PushOpc", ",", "PushOneOpc", ",", "false", ",", "&", "isARMArea1Register", ")", ";", "emitPushInst", "(", "MBB", ",", "MI", ",", "CSI", ",", "PushOpc", ",", "PushOneOpc", ",", "false", ",", "&", "isARMArea2Register", ")", ";", "emitPushInst", "(", "MBB", ",", "MI", ",", "CSI", ",", "FltOpc", ",", "0", ",", "true", ",", "&", "isARMArea3Register", ")", ";", "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", "ARM::VSTMDDB_UPD", "ARM", "ARM", "0", "ARM"], "File": "ARMFrameInfo", "Func": "spillCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15730, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_rtx_costs_wrapper", "(", "rtx", "x", ",", "int", "code", ",", "int", "outer", ",", "int", "param", ",", "int", "*", "cost", ",", "bool", "speed", ")", "{", "bool", "result", "=", "aarch64_rtx_costs", "(", "x", ",", "code", ",", "outer", ",", "param", ",", "cost", ",", "speed", ")", ";", "if", "(", "dump_file", "&&", "(", "dump_flags", "&", "TDF_DETAILS", ")", ")", "{", "print_rtl_single", "(", "dump_file", ",", "x", ")", ";", "fprintf", "(", "dump_file", ",", "\"\\n%s cost: %d (%s)\\n\"", ",", "speed", "?", "\"Hot\"", ":", "\"Cold\"", ",", "*", "cost", ",", "result", "?", "\"final\"", ":", "\"partial\"", ")", ";", "}", "return", "result", ";", "}", ""], "natrual_language": ["Wrapper", "around", "aarch64_rtx_costs", ",", "dumps", "the", "partial", ",", "or", "total", "cost", "calculated", "for", "X", ".", "This", "cost", "is", "stored", "in", "*", "COST", ".", "Returns", "true", "if", "the", "total", "cost", "of", "X", "was", "calculated", "."], "TS_V_token": ["aarch64", "\"\\n%s cost: %d (%s)\\n\"", "\"Hot\"", "\"Cold\"", "\"final\"", "\"partial\""], "File": "aarch642", "Func": "aarch64_rtx_costs_wrapper", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15731, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CSKYAsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "const", "{", "OS", ".", "write_zeros", "(", "Count", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["CSKY", "CSKY"], "File": "CSKYAsmBackend", "Func": "writeNopData", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15732, "Length": 30, "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": ["AArch64"], "File": "AArch64LoadStoreOptimizer (2)1", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15733, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBankInfo", "::", "InstructionMapping", "&", "X86RegisterBankInfo", "::", "getInstrMapping", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "auto", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "!", "isPreISelGenericOpcode", "(", "Opc", ")", "||", "Opc", "==", "TargetOpcode", "::", "G_PHI", ")", "{", "const", "InstructionMapping", "&", "Mapping", "=", "getInstrMappingImpl", "(", "MI", ")", ";", "if", "(", "Mapping", ".", "isValid", "(", ")", ")", "return", "Mapping", ";", "}", "switch", "(", "Opc", ")", "{", "case", "TargetOpcode", "::", "G_ADD", ":", "case", "TargetOpcode", "::", "G_SUB", ":", "return", "getSameOperandsMapping", "(", "MI", ",", "false", ")", ";", "break", ";", "case", "TargetOpcode", "::", "G_FADD", ":", "case", "TargetOpcode", "::", "G_FSUB", ":", "case", "TargetOpcode", "::", "G_FMUL", ":", "case", "TargetOpcode", "::", "G_FDIV", ":", "return", "getSameOperandsMapping", "(", "MI", ",", "true", ")", ";", "break", ";", "default", ":", "break", ";", "}", "unsigned", "NumOperands", "=", "MI", ".", "getNumOperands", "(", ")", ";", "SmallVector", "<", "PartialMappingIdx", ",", "4", ">", "OpRegBankIdx", "(", "NumOperands", ")", ";", "switch", "(", "Opc", ")", "{", "case", "TargetOpcode", "::", "G_FPEXT", ":", "case", "TargetOpcode", "::", "G_FCONSTANT", ":", "getInstrPartialMappingIdxs", "(", "MI", ",", "MRI", ",", "true", ",", "OpRegBankIdx", ")", ";", "break", ";", "case", "TargetOpcode", "::", "G_TRUNC", ":", "case", "TargetOpcode", "::", "G_ANYEXT", ":", "{", "auto", "&", "Op0", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "auto", "&", "Op1", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "const", "LLT", "Ty0", "=", "MRI", ".", "getType", "(", "Op0", ".", "getReg", "(", ")", ")", ";", "const", "LLT", "Ty1", "=", "MRI", ".", "getType", "(", "Op1", ".", "getReg", "(", ")", ")", ";", "bool", "isFPTrunc", "=", "(", "Ty0", ".", "getSizeInBits", "(", ")", "==", "32", "||", "Ty0", ".", "getSizeInBits", "(", ")", "==", "64", ")", "&&", "Ty1", ".", "getSizeInBits", "(", ")", "==", "128", "&&", "Opc", "==", "TargetOpcode", "::", "G_TRUNC", ";", "bool", "isFPAnyExt", "=", "Ty0", ".", "getSizeInBits", "(", ")", "==", "128", "&&", "(", "Ty1", ".", "getSizeInBits", "(", ")", "==", "32", "||", "Ty1", ".", "getSizeInBits", "(", ")", "==", "64", ")", "&&", "Opc", "==", "TargetOpcode", "::", "G_ANYEXT", ";", "getInstrPartialMappingIdxs", "(", "MI", ",", "MRI", ",", "isFPTrunc", "||", "isFPAnyExt", ",", "OpRegBankIdx", ")", ";", "}", "break", ";", "default", ":", "getInstrPartialMappingIdxs", "(", "MI", ",", "MRI", ",", "false", ",", "OpRegBankIdx", ")", ";", "break", ";", "}", "SmallVector", "<", "const", "ValueMapping", "*", ",", "8", ">", "OpdsMapping", "(", "NumOperands", ")", ";", "if", "(", "!", "getInstrValueMapping", "(", "MI", ",", "OpRegBankIdx", ",", "OpdsMapping", ")", ")", "return", "getInvalidInstructionMapping", "(", ")", ";", "return", "getInstructionMapping", "(", "DefaultMappingID", ",", "1", ",", "getOperandsMapping", "(", "OpdsMapping", ")", ",", "NumOperands", ")", ";", "}", ""], "natrual_language": ["Get", "the", "mapping", "of", "the", "different", "operands", "of", "MI", "on", "the", "register", "bank", "."], "TS_V_token": ["X86", "X86", "4", "0", "1", "32", "64", "128", "128", "32", "64", "8", "1"], "File": "X86RegisterBankInfo5", "Func": "getInstrMapping", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15734, "Length": 408, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "write_ovld_static_init", "(", "void", ")", "{", "fprintf", "(", "init_file", ",", "\"ovldrecord rs6000_overload_info[RS6000_OVLD_MAX \"", "\"- RS6000_OVLD_NONE] =\\n\"", ")", ";", "fprintf", "(", "init_file", ",", "\" {\\n\"", ")", ";", "fprintf", "(", "init_file", ",", "\" { /* RS6000_OVLD_NONE: */\\n\"", ")", ";", "fprintf", "(", "init_file", ",", "\" \\\"\\\", NULL\\n\"", ")", ";", "fprintf", "(", "init_file", ",", "\" },\\n\"", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<=", "curr_ovld_stanza", ";", "i", "++", ")", "{", "fprintf", "(", "init_file", ",", "\" { /* RS6000_OVLD_%s: */\\n\"", ",", "ovld_stanzas", "[", "i", "]", ".", "stanza_id", ")", ";", "fprintf", "(", "init_file", ",", "\" /* ovld_name */\\t\\\"%s\\\",\\n\"", ",", "ovld_stanzas", "[", "i", "]", ".", "intern_name", ")", ";", "fprintf", "(", "init_file", ",", "\" /* first_instance */\\tNULL\\n\"", ")", ";", "fprintf", "(", "init_file", ",", "\" },\\n\"", ")", ";", "}", "fprintf", "(", "init_file", ",", "\" };\\n\\n\"", ")", ";", "fprintf", "(", "init_file", ",", "\"ovlddata rs6000_instance_info[RS6000_INST_MAX] =\\n\"", ")", ";", "fprintf", "(", "init_file", ",", "\" {\\n\"", ")", ";", "fprintf", "(", "init_file", ",", "\" { /* RS6000_INST_NONE: */\\n\"", ")", ";", "fprintf", "(", "init_file", ",", "\" \\\"\\\", RS6000_BIF_NONE, NULL_TREE, NULL\\n\"", ")", ";", "fprintf", "(", "init_file", ",", "\" },\\n\"", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<=", "curr_ovld", ";", "i", "++", ")", "{", "fprintf", "(", "init_file", ",", "\" { /* RS6000_INST_%s: */\\n\"", ",", "ovlds", "[", "i", "]", ".", "ovld_id_name", ")", ";", "fprintf", "(", "init_file", ",", "\" /* bifname */\\t\\\"%s\\\",\\n\"", ",", "ovlds", "[", "i", "]", ".", "proto", ".", "bifname", ")", ";", "fprintf", "(", "init_file", ",", "\" /* bifid */\\tRS6000_BIF_%s,\\n\"", ",", "ovlds", "[", "i", "]", ".", "bif_id_name", ")", ";", "fprintf", "(", "init_file", ",", "\" /* fntype */\\t0,\\n\"", ")", ";", "fprintf", "(", "init_file", ",", "\" /* next */\\t\"", ")", ";", "if", "(", "i", "<", "curr_ovld", "&&", "!", "strcmp", "(", "ovlds", "[", "i", "+", "1", "]", ".", "proto", ".", "bifname", ",", "ovlds", "[", "i", "]", ".", "proto", ".", "bifname", ")", ")", "fprintf", "(", "init_file", ",", "\"&rs6000_instance_info[RS6000_INST_%s]\\n\"", ",", "ovlds", "[", "i", "+", "1", "]", ".", "ovld_id_name", ")", ";", "else", "fprintf", "(", "init_file", ",", "\"NULL\\n\"", ")", ";", "fprintf", "(", "init_file", ",", "\" },\\n\"", ")", ";", "}", "fprintf", "(", "init_file", ",", "\" };\\n\\n\"", ")", ";", "}", ""], "natrual_language": ["Write", "the", "decls", "and", "initializers", "for", "rs6000_overload_info", "[", "]", "and", "rs6000_instance_info", "[", "]", "."], "TS_V_token": ["rs6000", "\"ovldrecord rs6000_overload_info[RS6000_OVLD_MAX \"", "\"- RS6000_OVLD_NONE] =\\n\"", "\" {\\n\"", "\" { /* RS6000_OVLD_NONE: */\\n\"", "\" \\\"\\\", NULL\\n\"", "\" },\\n\"", "0", "\" { /* RS6000_OVLD_%s: */\\n\"", "\" /* ovld_name */\\t\\\"%s\\\",\\n\"", "\" /* first_instance */\\tNULL\\n\"", "\" },\\n\"", "\" };\\n\\n\"", "\"ovlddata rs6000_instance_info[RS6000_INST_MAX] =\\n\"", "\" {\\n\"", "\" { /* RS6000_INST_NONE: */\\n\"", "\" \\\"\\\", RS6000_BIF_NONE, NULL_TREE, NULL\\n\"", "\" },\\n\"", "0", "\" { /* RS6000_INST_%s: */\\n\"", "\" /* bifname */\\t\\\"%s\\\",\\n\"", "\" /* bifid */\\tRS6000_BIF_%s,\\n\"", "\" /* fntype */\\t0,\\n\"", "\" /* next */\\t\"", "1", "\"&rs6000_instance_info[RS6000_INST_%s]\\n\"", "1", "\"NULL\\n\"", "\" },\\n\"", "\" };\\n\\n\""], "File": "rs6000-gen-builtins", "Func": "write_ovld_static_init", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15735, "Length": 286, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", ">=", "CodeGenOpt", "::", "Aggressive", "&&", "EnableLoadStoreOpt", ")", "addPass", "(", "createAArch64LoadStoreOptimizationPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", ">=", "CodeGenOpt", "::", "Aggressive", "&&", "EnableAArch64CopyPropagation", ")", "addPass", "(", "createMachineCopyPropagationPass", "(", "true", ")", ")", ";", "addPass", "(", "createAArch64A53Fix835769", "(", ")", ")", ";", "if", "(", "EnableBranchTargets", ")", "addPass", "(", "createAArch64BranchTargetsPass", "(", ")", ")", ";", "if", "(", "BranchRelaxation", ")", "addPass", "(", "&", "BranchRelaxationPassID", ")", ";", "if", "(", "TM", "->", "getTargetTriple", "(", ")", ".", "isOSWindows", "(", ")", ")", "{", "addPass", "(", "createCFGuardLongjmpPass", "(", ")", ")", ";", "addPass", "(", "createEHContGuardCatchretPass", "(", ")", ")", ";", "}", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableCompressJumpTables", ")", "addPass", "(", "createAArch64CompressJumpTablesPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableCollectLOH", "&&", "TM", "->", "getTargetTriple", "(", ")", ".", "isOSBinFormatMachO", "(", ")", ")", "addPass", "(", "createAArch64CollectLOHPass", "(", ")", ")", ";", "}", ""], "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", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine41", "Func": "addPreEmitPass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15736, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "load_lr_save", "(", "int", "regno", ",", "rtx", "frame_reg_rtx", ",", "int", "offset", ")", "{", "rtx", "mem", "=", "gen_frame_mem_offset", "(", "Pmode", ",", "frame_reg_rtx", ",", "offset", ")", ";", "rtx", "reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "regno", ")", ";", "emit_move_insn", "(", "reg", ",", "mem", ")", ";", "}", ""], "natrual_language": ["Like", "cr", ",", "the", "move", "to", "lr", "instruction", "can", "be", "scheduled", "after", "the", "stack", "deallocation", ",", "but", "unlike", "cr", ",", "its", "stack", "frame", "save", "is", "still", "valid", ".", "So", "we", "only", "need", "to", "emit", "the", "cfa_restore", "on", "the", "correct", "instruction", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "load_lr_save", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15737, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64TTIImpl", "::", "getIntrinsicInstrCost", "(", "const", "IntrinsicCostAttributes", "&", "ICA", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "auto", "*", "RetTy", "=", "ICA", ".", "getReturnType", "(", ")", ";", "switch", "(", "ICA", ".", "getID", "(", ")", ")", "{", "case", "Intrinsic", "::", "umin", ":", "case", "Intrinsic", "::", "umax", ":", "{", "auto", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "RetTy", ")", ";", "if", "(", "LT", ".", "second", "==", "MVT", "::", "v2i64", ")", "return", "LT", ".", "first", "*", "2", ";", "LLVM_FALLTHROUGH", ";", "}", "case", "Intrinsic", "::", "smin", ":", "case", "Intrinsic", "::", "smax", ":", "{", "static", "const", "auto", "ValidMinMaxTys", "=", "{", "MVT", "::", "v8i8", ",", "MVT", "::", "v16i8", ",", "MVT", "::", "v4i16", ",", "MVT", "::", "v8i16", ",", "MVT", "::", "v2i32", ",", "MVT", "::", "v4i32", "}", ";", "auto", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "RetTy", ")", ";", "if", "(", "any_of", "(", "ValidMinMaxTys", ",", "[", "&", "LT", "]", "(", "MVT", "M", ")", "{", "return", "M", "==", "LT", ".", "second", ";", "}", ")", ")", "return", "LT", ".", "first", ";", "break", ";", "}", "default", ":", "break", ";", "}", "return", "BaseT", "::", "getIntrinsicInstrCost", "(", "ICA", ",", "CostKind", ")", ";", "}", ""], "natrual_language": ["Get", "intrinsic", "cost", "based", "on", "arguments", "."], "TS_V_token": ["AArch64", "AArch64", "Intrinsic::umin", "Intrinsic::umax", "MVT::v2i64", "2", "Intrinsic::smin", "Intrinsic::smax", "MVT::v8i8", "MVT::v16i8", "MVT::v4i16", "MVT::v8i16", "MVT::v2i32", "MVT::v4i32"], "File": "AArch64TargetTransformInfo31", "Func": "getIntrinsicInstrCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15738, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "getSqrtEstimate", "(", "SDValue", "Operand", ",", "SelectionDAG", "&", "DAG", ",", "int", "Enabled", ",", "int", "&", "RefinementSteps", ",", "bool", "&", "UseOneConstNR", ",", "bool", "Reciprocal", ")", "const", "{", "EVT", "VT", "=", "Operand", ".", "getValueType", "(", ")", ";", "if", "(", "(", "VT", "==", "MVT", "::", "f32", "&&", "Subtarget", ".", "hasFRSQRTES", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "f64", "&&", "Subtarget", ".", "hasFRSQRTE", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "v4f32", "&&", "Subtarget", ".", "hasAltivec", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "v2f64", "&&", "Subtarget", ".", "hasVSX", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "v4f32", "&&", "Subtarget", ".", "hasQPX", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "v4f64", "&&", "Subtarget", ".", "hasQPX", "(", ")", ")", ")", "{", "if", "(", "RefinementSteps", "==", "ReciprocalEstimate", "::", "Unspecified", ")", "RefinementSteps", "=", "getEstimateRefinementSteps", "(", "VT", ",", "Subtarget", ")", ";", "UseOneConstNR", "=", "true", ";", "return", "DAG", ".", "getNode", "(", "PPCISD", "::", "FRSQRTE", ",", "SDLoc", "(", "Operand", ")", ",", "VT", ",", "Operand", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Hooks", "for", "building", "estimates", "in", "place", "of", "slower", "divisions", "and", "square", "roots", "."], "TS_V_token": ["PowerPC", "PPC", "MVT::f32", "MVT::f64", "MVT::v4f32", "MVT::v2f64", "MVT::v4f32", "MVT::v4f64", "PPCISD::FRSQRTE"], "File": "PPCISelLowering (2)7", "Func": "getSqrtEstimate", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15739, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "CSKYFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "Register", "SPReg", "=", "CSKY", "::", "R14", ";", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "int64_t", "Amount", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "Amount", "!=", "0", ")", "{", "Amount", "=", "alignSPAdjust", "(", "Amount", ")", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "CSKY", "::", "ADJCALLSTACKDOWN", ")", "Amount", "=", "-", "Amount", ";", "adjustReg", "(", "MBB", ",", "MI", ",", "DL", ",", "SPReg", ",", "SPReg", ",", "Amount", ",", "MachineInstr", "::", "NoFlags", ")", ";", "}", "}", "return", "MBB", ".", "erase", "(", "MI", ")", ";", "}", ""], "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": ["CSKY", "CSKY", "CSKY::R14", "0", "0", "CSKY::ADJCALLSTACKDOWN"], "File": "CSKYFrameLowering1", "Func": "eliminateCallFramePseudoInstr", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15740, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "rtx_code", "ix86_prepare_sse_fp_compare_args", "(", "rtx", "dest", ",", "enum", "rtx_code", "code", ",", "rtx", "*", "pop0", ",", "rtx", "*", "pop1", ")", "{", "rtx", "tmp", ";", "switch", "(", "code", ")", "{", "case", "LTGT", ":", "case", "UNEQ", ":", "return", "UNKNOWN", ";", "case", "LT", ":", "case", "LE", ":", "case", "UNGT", ":", "case", "UNGE", ":", "break", ";", "case", "EQ", ":", "case", "NE", ":", "case", "UNORDERED", ":", "case", "ORDERED", ":", "if", "(", "!", "dest", "||", "!", "rtx_equal_p", "(", "dest", ",", "*", "pop1", ")", ")", "break", ";", "case", "GE", ":", "case", "GT", ":", "case", "UNLE", ":", "case", "UNLT", ":", "tmp", "=", "*", "pop0", ";", "*", "pop0", "=", "*", "pop1", ";", "*", "pop1", "=", "tmp", ";", "code", "=", "swap_condition", "(", "code", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "code", ";", "}", ""], "natrual_language": ["Swap", ",", "force", "into", "registers", ",", "or", "otherwise", "massage", "the", "two", "operands", "to", "an", "sse", "comparison", "with", "a", "mask", "result", ".", "Thus", "we", "differ", "a", "bit", "from", "ix86_prepare_fp_compare_args", "which", "expects", "to", "produce", "a", "flags", "result", ".", "The", "DEST", "operand", "exists", "to", "help", "determine", "whether", "to", "commute", "commutative", "operators", ".", "The", "POP0/POP1", "operands", "are", "updated", "in", "place", ".", "The", "new", "comparison", "code", "is", "returned", ",", "or", "UNKNOWN", "if", "not", "implementable", "."], "TS_V_token": ["i386"], "File": "i3863", "Func": "ix86_prepare_sse_fp_compare_args", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15741, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCInstrInfo", "::", "setSpecialOperandAttr", "(", "MachineInstr", "&", "MI", ",", "uint16_t", "Flags", ")", "const", "{", "MI", ".", "setFlags", "(", "Flags", ")", ";", "MI", ".", "clearFlag", "(", "MachineInstr", "::", "MIFlag", "::", "NoSWrap", ")", ";", "MI", ".", "clearFlag", "(", "MachineInstr", "::", "MIFlag", "::", "NoUWrap", ")", ";", "MI", ".", "clearFlag", "(", "MachineInstr", "::", "MIFlag", "::", "IsExact", ")", ";", "}", ""], "natrual_language": ["This", "is", "an", "architecture-specific", "helper", "function", "of", "reassociateOps", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCInstrInfo", "Func": "setSpecialOperandAttr", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15742, "Length": 55, "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": 15743, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_output_aligned_decl_common", "(", "FILE", "*", "stream", ",", "tree", "decl", ",", "const", "char", "*", "name", ",", "unsigned", "HOST_WIDE_INT", "size", ",", "unsigned", "int", "align", ")", "{", "if", "(", "TARGET_EMBEDDED_DATA", "&&", "TARGET_UNINIT_CONST_IN_RODATA", "&&", "TREE_CODE", "(", "decl", ")", "==", "VAR_DECL", "&&", "TREE_READONLY", "(", "decl", ")", "&&", "(", "DECL_INITIAL", "(", "decl", ")", "==", "0", "||", "DECL_INITIAL", "(", "decl", ")", "==", "error_mark_node", ")", ")", "{", "if", "(", "TREE_PUBLIC", "(", "decl", ")", "&&", "DECL_NAME", "(", "decl", ")", ")", "targetm", ".", "asm_out", ".", "globalize_label", "(", "stream", ",", "name", ")", ";", "readonly_data_section", "(", ")", ";", "ASM_OUTPUT_ALIGN", "(", "stream", ",", "floor_log2", "(", "align", "/", "BITS_PER_UNIT", ")", ")", ";", "mips_declare_object", "(", "stream", ",", "name", ",", "\"\"", ",", "\":\\n\\t.space\\t\"", "HOST_WIDE_INT_PRINT_UNSIGNED", "\"\\n\"", ",", "size", ")", ";", "}", "else", "mips_declare_common_object", "(", "stream", ",", "name", ",", "\"\\n\\t.comm\\t\"", ",", "size", ",", "align", ",", "true", ")", ";", "}", ""], "natrual_language": ["Implement", "ASM_OUTPUT_ALIGNED_DECL_COMMON", ".", "This", "is", "usually", "the", "same", "as", "the", "elfos.h", "version", ",", "but", "we", "also", "need", "to", "handle", "-muninit-const-in-rodata", "."], "TS_V_token": ["mips", "0", "\"\"", "\":\\n\\t.space\\t\"", "\"\\n\"", "\"\\n\\t.comm\\t\""], "File": "mips3", "Func": "mips_output_aligned_decl_common", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15744, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_isr_function_critical_p", "(", "tree", "func", ")", "{", "tree", "t_intr", ";", "tree", "t_excp", ";", "tree", "t_critical", ";", "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_critical", "=", "lookup_attribute", "(", "\"critical\"", ",", "attrs", ")", ";", "if", "(", "(", "t_intr", "==", "NULL_TREE", ")", "&&", "(", "t_excp", "==", "NULL_TREE", ")", ")", "return", "false", ";", "if", "(", "t_critical", "!=", "NULL_TREE", ")", "return", "true", ";", "if", "(", "t_intr", "!=", "NULL_TREE", "||", "t_excp", "!=", "NULL_TREE", ")", "{", "char", "target_str", "[", "100", "]", ";", "char", "*", "critical_str", ";", "tree", "t_check", ";", "tree", "string_arg", ";", "t_check", "=", "t_intr", "?", "t_intr", ":", "t_excp", ";", "if", "(", "TREE_CODE", "(", "TREE_VALUE", "(", "TREE_VALUE", "(", "t_check", ")", ")", ")", "==", "STRING_CST", ")", "{", "string_arg", "=", "TREE_VALUE", "(", "TREE_VALUE", "(", "t_check", ")", ")", ";", "strcpy", "(", "target_str", ",", "TREE_STRING_POINTER", "(", "string_arg", ")", ")", ";", "critical_str", "=", "strstr", "(", "target_str", ",", "\"critical\"", ")", ";", "if", "(", "critical_str", ")", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "FUNC", "is", "a", "isr", "function", "with", "critical", "attribute", "."], "TS_V_token": ["nds32", "\"interrupt\"", "\"exception\"", "\"critical\"", "100", "\"critical\""], "File": "nds32-isr", "Func": "nds32_isr_function_critical_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15745, "Length": 185, "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_int_reg_note", "(", "insn", ",", "REG_BR_PROB", ",", "prob", ")", ";", "}", ""], "natrual_language": ["Predict", "just", "emitted", "jump", "instruction", "to", "be", "taken", "with", "probability", "PROB", "."], "TS_V_token": ["i386"], "File": "i3866", "Func": "predict_jump", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15746, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_early_load_addr_dep", "(", "rtx", "producer", ",", "rtx", "consumer", ")", "{", "rtx", "value", ",", "addr", ";", "if", "(", "!", "arm_get_set_operands", "(", "producer", ",", "consumer", ",", "&", "value", ",", "&", "addr", ")", ")", "return", "0", ";", "return", "reg_overlap_mentioned_p", "(", "value", ",", "addr", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "the", "CONSUMER", "instruction", "(", "a", "load", ")", "does", "need", "PRODUCER", "'s", "value", "to", "calculate", "the", "address", "."], "TS_V_token": ["arm", "0"], "File": "aarch-common", "Func": "arm_early_load_addr_dep", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15747, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBlockPlacement", "::", "fixBackwardsWLS", "(", "MachineLoop", "*", "ML", ")", "{", "MachineInstr", "*", "WlsInstr", "=", "findWLS", "(", "ML", ")", ";", "if", "(", "!", "WlsInstr", ")", "return", "false", ";", "MachineBasicBlock", "*", "Predecessor", "=", "WlsInstr", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "*", "LoopExit", "=", "WlsInstr", "->", "getOperand", "(", "2", ")", ".", "getMBB", "(", ")", ";", "if", "(", "!", "LoopExit", "->", "getPrevNode", "(", ")", ")", "return", "false", ";", "if", "(", "blockIsBefore", "(", "Predecessor", ",", "LoopExit", ")", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "DEBUG_PREFIX", "<<", "\"Found a backwards WLS from \"", "<<", "Predecessor", "->", "getFullName", "(", ")", "<<", "\" to \"", "<<", "LoopExit", "->", "getFullName", "(", ")", "<<", "\"\\n\"", ")", ";", "for", "(", "auto", "It", "=", "++", "LoopExit", "->", "getIterator", "(", ")", ";", "It", "!=", "Predecessor", "->", "getIterator", "(", ")", ";", "++", "It", ")", "{", "MachineBasicBlock", "*", "MBB", "=", "&", "*", "It", ";", "for", "(", "auto", "&", "Terminator", ":", "MBB", "->", "terminators", "(", ")", ")", "{", "if", "(", "Terminator", ".", "getOpcode", "(", ")", "!=", "ARM", "::", "t2WhileLoopStartLR", ")", "continue", ";", "MachineBasicBlock", "*", "WLSTarget", "=", "Terminator", ".", "getOperand", "(", "2", ")", ".", "getMBB", "(", ")", ";", "if", "(", "WLSTarget", "==", "Predecessor", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "DEBUG_PREFIX", "<<", "\"Can't move Predecessor\"", "\"block as it would convert a WLS from forward to a \"", "\"backwards branching WLS\\n\"", ")", ";", "return", "false", ";", "}", "}", "}", "moveBasicBlock", "(", "Predecessor", ",", "LoopExit", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Checks", "if", "loop", "has", "a", "backwards", "branching", "WLS", ",", "and", "if", "possible", ",", "fixes", "it", "."], "TS_V_token": ["ARM", "ARM", "2", "\"Found a backwards WLS from \"", "\" to \"", "\"\\n\"", "ARM::t2WhileLoopStartLR", "2", "\"Can't move Predecessor\"", "\"block as it would convert a WLS from forward to a \"", "\"backwards branching WLS\\n\""], "File": "ARMBlockPlacement6", "Func": "fixBackwardsWLS", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15748, "Length": 214, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "LC2200InstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["LC2200", "LC2200"], "File": "LC2200Subtarget", "Func": "getInstrInfo", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15749, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "MipsAsmPrinter", "::", "getCurrentABIString", "(", ")", "const", "{", "switch", "(", "static_cast", "<", "MipsTargetMachine", "&", ">", "(", "TM", ")", ".", "getABI", "(", ")", ".", "GetEnumValue", "(", ")", ")", "{", "case", "MipsABIInfo", "::", "ABI", "::", "O32", ":", "return", "\"abi32\"", ";", "case", "MipsABIInfo", "::", "ABI", "::", "N32", ":", "return", "\"abiN32\"", ";", "case", "MipsABIInfo", "::", "ABI", "::", "N64", ":", "return", "\"abi64\"", ";", "default", ":", "llvm_unreachable", "(", "\"Unknown Mips ABI\"", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "Set", "directives", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "\"abi32\"", "Mips", "\"abiN32\"", "Mips", "\"abi64\"", "\"Unknown Mips ABI\""], "File": "MipsAsmPrinter (2)1", "Func": "getCurrentABIString", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15750, "Length": 69, "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\"", "}", "}", ";", "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\""], "File": "PPCInstrInfo19", "Func": "getSerializableBitmaskMachineOperandTargetFlags", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15751, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FastISel", "*", "ARM64TargetLowering", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "funcInfo", ",", "const", "TargetLibraryInfo", "*", "libInfo", ")", "const", "{", "return", "ARM64", "::", "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": ["ARM64", "ARM64", "ARM64::createFastISel"], "File": "ARM64ISelLowering", "Func": "createFastISel", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15752, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mmix_print_operand_address", "(", "FILE", "*", "stream", ",", "machine_mode", ",", "rtx", "x", ")", "{", "if", "(", "REG_P", "(", "x", ")", ")", "{", "fprintf", "(", "stream", ",", "\"%s,0\"", ",", "reg_names", "[", "MMIX_OUTPUT_REGNO", "(", "REGNO", "(", "x", ")", ")", "]", ")", ";", "return", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "{", "rtx", "x1", "=", "XEXP", "(", "x", ",", "0", ")", ";", "rtx", "x2", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "REG_P", "(", "x1", ")", ")", "{", "fprintf", "(", "stream", ",", "\"%s,\"", ",", "reg_names", "[", "MMIX_OUTPUT_REGNO", "(", "REGNO", "(", "x1", ")", ")", "]", ")", ";", "if", "(", "REG_P", "(", "x2", ")", ")", "{", "fprintf", "(", "stream", ",", "\"%s\"", ",", "reg_names", "[", "MMIX_OUTPUT_REGNO", "(", "REGNO", "(", "x2", ")", ")", "]", ")", ";", "return", ";", "}", "else", "if", "(", "satisfies_constraint_I", "(", "x2", ")", ")", "{", "output_addr_const", "(", "stream", ",", "x2", ")", ";", "return", ";", "}", "}", "}", "if", "(", "TARGET_BASE_ADDRESSES", "&&", "mmix_legitimate_constant_p", "(", "Pmode", ",", "x", ")", ")", "{", "output_addr_const", "(", "stream", ",", "x", ")", ";", "return", ";", "}", "fatal_insn", "(", "\"MMIX Internal: This is not a recognized address\"", ",", "x", ")", ";", "}", ""], "natrual_language": ["PRINT_OPERAND_ADDRESS", "."], "TS_V_token": ["mmix", "\"%s,0\"", "0", "1", "\"%s,\"", "\"%s\"", "\"MMIX Internal: This is not a recognized address\""], "File": "mmix", "Func": "mmix_print_operand_address", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15753, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsModuleDAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "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": "MipsModuleISelDAGToDAG2", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15754, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "gen_load_const_gp", "(", "rtx", "reg", ")", "{", "return", "PMODE_INSN", "(", "gen_load_const_gp", ",", "(", "reg", ")", ")", ";", "}", ""], "natrual_language": ["Return", "an", "instruction", "that", "copies", "$", "gp", "into", "register", "REG", ".", "We", "want", "GCC", "to", "treat", "the", "register", "'s", "value", "as", "constant", ",", "so", "that", "its", "value", "can", "be", "rematerialized", "on", "demand", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "gen_load_const_gp", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15755, "Length": 19, "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", "(", ")", ")", "{", "int", "Offset", "=", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "?", "0x48", ":", "0x24", ";", "return", "SegmentOffset", "(", "IRB", ",", "Offset", ",", "getAddressSpace", "(", ")", ")", ";", "}", "if", "(", "Subtarget", ".", "isTargetFuchsia", "(", ")", ")", "{", "return", "SegmentOffset", "(", "IRB", ",", "0x18", ",", "getAddressSpace", "(", ")", ")", ";", "}", "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"], "File": "X86ISelLowering106", "Func": "getSafeStackPointerLocation", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15756, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pa_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_PORTABLE_RUNTIME", ")", "return", "false", ";", "if", "(", "TARGET_64BIT", ")", "return", "false", ";", "return", "(", "decl", "&&", "!", "TREE_PUBLIC", "(", "decl", ")", ")", ";", "}", ""], "natrual_language": ["Only", "direct", "calls", "to", "static", "functions", "are", "allowed", "to", "be", "sibling", "(", "tail", ")", "call", "optimized", ".", "This", "restriction", "is", "necessary", "because", "some", "linker", "generated", "stubs", "will", "store", "return", "pointers", "into", "rp", "'", "in", "some", "cases", "which", "might", "clobber", "a", "live", "value", "already", "in", "rp", "'", ".", "In", "a", "sibcall", "the", "current", "function", "and", "the", "target", "function", "share", "stack", "space", ".", "Thus", "if", "the", "path", "to", "the", "current", "function", "and", "the", "path", "to", "the", "target", "function", "save", "a", "value", "in", "rp", "'", ",", "they", "save", "the", "value", "into", "the", "same", "stack", "slot", ",", "which", "has", "undesirable", "consequences", ".", "Because", "of", "the", "deferred", "binding", "nature", "of", "shared", "libraries", "any", "function", "with", "external", "scope", "could", "be", "in", "a", "different", "load", "module", "and", "thus", "require", "rp", "'", "to", "be", "saved", "when", "calling", "that", "function", ".", "So", "sibcall", "optimizations", "can", "only", "be", "safe", "for", "static", "function", ".", "Note", "that", "GCC", "never", "needs", "return", "value", "relocations", ",", "so", "we", "do", "n't", "have", "to", "worry", "about", "static", "calls", "with", "return", "value", "relocations", "(", "which", "require", "saving", "rp", "'", ")", ".", "It", "is", "safe", "to", "perform", "a", "sibcall", "optimization", "when", "the", "target", "function", "will", "never", "return", "."], "TS_V_token": ["pa"], "File": "pa5", "Func": "pa_function_ok_for_sibcall", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15757, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "thumb2_legitimate_index_p", "(", "machine_mode", "mode", ",", "rtx", "index", ",", "int", "strict_p", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "index", ")", ";", "if", "(", "TARGET_VFP_BASE", "&&", "(", "mode", "==", "SFmode", "||", "mode", "==", "DFmode", ")", ")", "return", "(", "code", "==", "CONST_INT", "&&", "INTVAL", "(", "index", ")", "<", "1024", "&&", "INTVAL", "(", "index", ")", ">", "-", "256", "&&", "(", "INTVAL", "(", "index", ")", "&", "3", ")", "==", "0", ")", ";", "if", "(", "TARGET_REALLY_IWMMXT", "&&", "VALID_IWMMXT_REG_MODE", "(", "mode", ")", ")", "{", "if", "(", "!", "TARGET_LDRD", "||", "mode", "!=", "DImode", ")", "return", "(", "code", "==", "CONST_INT", "&&", "INTVAL", "(", "index", ")", "<", "1024", "&&", "INTVAL", "(", "index", ")", ">", "-", "1024", "&&", "(", "INTVAL", "(", "index", ")", "&", "3", ")", "==", "0", ")", ";", "}", "if", "(", "TARGET_NEON", "&&", "VALID_NEON_QREG_MODE", "(", "mode", ")", ")", "return", "(", "code", "==", "CONST_INT", "&&", "INTVAL", "(", "index", ")", "<", "1016", "&&", "INTVAL", "(", "index", ")", ">", "-", "1024", "&&", "(", "INTVAL", "(", "index", ")", "&", "3", ")", "==", "0", ")", ";", "if", "(", "TARGET_NEON", "&&", "VALID_NEON_DREG_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", "IN_RANGE", "(", "val", ",", "-", "1020", ",", "1020", ")", "&&", "(", "val", "&", "3", ")", "==", "0", ";", "else", "return", "IN_RANGE", "(", "val", ",", "-", "255", ",", "4095", "-", "4", ")", ";", "}", "else", "return", "0", ";", "}", "if", "(", "code", "==", "MULT", ")", "{", "rtx", "xiop0", "=", "XEXP", "(", "index", ",", "0", ")", ";", "rtx", "xiop1", "=", "XEXP", "(", "index", ",", "1", ")", ";", "return", "(", "(", "arm_address_register_rtx_p", "(", "xiop0", ",", "strict_p", ")", "&&", "thumb2_index_mul_operand", "(", "xiop1", ")", ")", "||", "(", "arm_address_register_rtx_p", "(", "xiop1", ",", "strict_p", ")", "&&", "thumb2_index_mul_operand", "(", "xiop0", ")", ")", ")", ";", "}", "else", "if", "(", "code", "==", "ASHIFT", ")", "{", "rtx", "op", "=", "XEXP", "(", "index", ",", "1", ")", ";", "return", "(", "arm_address_register_rtx_p", "(", "XEXP", "(", "index", ",", "0", ")", ",", "strict_p", ")", "&&", "CONST_INT_P", "(", "op", ")", "&&", "INTVAL", "(", "op", ")", ">", "0", "&&", "INTVAL", "(", "op", ")", "<=", "3", ")", ";", "}", "return", "(", "code", "==", "CONST_INT", "&&", "INTVAL", "(", "index", ")", "<", "4096", "&&", "INTVAL", "(", "index", ")", ">", "-", "256", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "INDEX", "is", "a", "valid", "Thumb-2", "address", "index", "operand", "."], "TS_V_token": ["arm", "1024", "256", "3", "0", "1024", "1024", "3", "0", "1016", "1024", "3", "0", "1024", "1024", "3", "0", "4", "1", "1020", "1020", "3", "0", "255", "4095", "4", "0", "0", "1", "1", "0", "0", "3", "4096", "256"], "File": "arm", "Func": "thumb2_legitimate_index_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15758, "Length": 432, "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", ")", "{", "emitRegPlusImmediate", "(", "isARM", ",", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ",", "ARM", "::", "SP", ",", "ARM", "::", "SP", ",", "NumBytes", ",", "MIFlags", ",", "Pred", ",", "PredReg", ")", ";", "}", ""], "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::SP", "ARM::SP"], "File": "ARMFrameLowering (2)", "Func": "emitSPUpdate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15759, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "power9_sched_reorder2", "(", "rtx_insn", "*", "*", "ready", ",", "int", "lastpos", ")", "{", "int", "pos", ";", "enum", "attr_type", "type", ",", "type2", ";", "type", "=", "get_attr_type", "(", "last_scheduled_insn", ")", ";", "if", "(", "type", "==", "TYPE_DIV", "&&", "divide_cnt", "==", "0", ")", "{", "divide_cnt", "=", "1", ";", "pos", "=", "lastpos", ";", "while", "(", "pos", ">=", "0", ")", "{", "if", "(", "recog_memoized", "(", "ready", "[", "pos", "]", ")", ">=", "0", "&&", "get_attr_type", "(", "ready", "[", "pos", "]", ")", "==", "TYPE_DIV", ")", "{", "move_to_end_of_ready", "(", "ready", ",", "pos", ",", "lastpos", ")", ";", "break", ";", "}", "pos", "--", ";", "}", "}", "else", "{", "divide_cnt", "=", "0", ";", "if", "(", "type", "==", "TYPE_VECLOAD", ")", "{", "if", "(", "vec_pairing", "==", "0", ")", "{", "int", "vecload_pos", "=", "-", "1", ";", "pos", "=", "lastpos", ";", "while", "(", "pos", ">=", "0", ")", "{", "if", "(", "recog_memoized", "(", "ready", "[", "pos", "]", ")", ">=", "0", ")", "{", "type2", "=", "get_attr_type", "(", "ready", "[", "pos", "]", ")", ";", "if", "(", "is_power9_pairable_vec_type", "(", "type2", ")", ")", "{", "move_to_end_of_ready", "(", "ready", ",", "pos", ",", "lastpos", ")", ";", "vec_pairing", "=", "1", ";", "return", "cached_can_issue_more", ";", "}", "else", "if", "(", "type2", "==", "TYPE_VECLOAD", "&&", "vecload_pos", "==", "-", "1", ")", "vecload_pos", "=", "pos", ";", "}", "pos", "--", ";", "}", "if", "(", "vecload_pos", ">=", "0", ")", "{", "move_to_end_of_ready", "(", "ready", ",", "vecload_pos", ",", "lastpos", ")", ";", "vec_pairing", "=", "1", ";", "return", "cached_can_issue_more", ";", "}", "}", "}", "else", "if", "(", "is_power9_pairable_vec_type", "(", "type", ")", ")", "{", "if", "(", "vec_pairing", "==", "0", ")", "{", "int", "vec_pos", "=", "-", "1", ";", "pos", "=", "lastpos", ";", "while", "(", "pos", ">=", "0", ")", "{", "if", "(", "recog_memoized", "(", "ready", "[", "pos", "]", ")", ">=", "0", ")", "{", "type2", "=", "get_attr_type", "(", "ready", "[", "pos", "]", ")", ";", "if", "(", "type2", "==", "TYPE_VECLOAD", ")", "{", "move_to_end_of_ready", "(", "ready", ",", "pos", ",", "lastpos", ")", ";", "vec_pairing", "=", "1", ";", "return", "cached_can_issue_more", ";", "}", "else", "if", "(", "is_power9_pairable_vec_type", "(", "type2", ")", "&&", "vec_pos", "==", "-", "1", ")", "vec_pos", "=", "pos", ";", "}", "pos", "--", ";", "}", "if", "(", "vec_pos", ">=", "0", ")", "{", "move_to_end_of_ready", "(", "ready", ",", "vec_pos", ",", "lastpos", ")", ";", "vec_pairing", "=", "1", ";", "return", "cached_can_issue_more", ";", "}", "}", "}", "vec_pairing", "=", "0", ";", "}", "return", "cached_can_issue_more", ";", "}", ""], "natrual_language": ["Do", "Power9", "specific", "sched_reorder2", "reordering", "of", "ready", "list", "."], "TS_V_token": ["rs6000", "0", "1", "0", "0", "0", "0", "1", "0", "0", "1", "1", "0", "1", "0", "1", "0", "0", "1", "1", "0", "1", "0"], "File": "rs6000", "Func": "power9_sched_reorder2", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15760, "Length": 364, "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": 15761, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "VEInstrInfo", "::", "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": ["VE", "VE", "\"code size not handled\"", "0"], "File": "VEInstrInfo", "Func": "removeBranch", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15762, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_store_data_bypass_p", "(", "rtx_insn", "*", "out_insn", ",", "rtx_insn", "*", "in_insn", ")", "{", "if", "(", "GET_CODE", "(", "PATTERN", "(", "in_insn", ")", ")", "==", "UNSPEC_VOLATILE", ")", "return", "false", ";", "return", "!", "store_data_bypass_p", "(", "out_insn", ",", "in_insn", ")", ";", "}", ""], "natrual_language": ["True", "if", "the", "dependency", "between", "OUT_INSN", "and", "IN_INSN", "is", "on", "the", "store", "data", "rather", "than", "the", "address", ".", "We", "need", "this", "because", "the", "cprestore", "pattern", "is", "type", "``", "store", "''", ",", "but", "is", "defined", "using", "an", "UNSPEC_VOLATILE", ",", "which", "causes", "the", "default", "routine", "to", "abort", ".", "We", "just", "return", "false", "for", "that", "case", "."], "TS_V_token": ["mips"], "File": "mips4", "Func": "mips_store_data_bypass_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15763, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "contains", "(", "MachineInstr", "*", "MI", ")", "{", "return", "Insts", ".", "count", "(", "MI", ")", ">", "0", ";", "}", ""], "natrual_language": ["contains", "-", "Returns", "true", "if", "this", "trace", "contains", "the", "given", "basic", "block", "."], "TS_V_token": ["AArch64", "0"], "File": "AArch64A57FPLoadBalancing", "Func": "contains", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15764, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "function_arg_vector_value", "(", "int", "size", ",", "int", "regno", ")", "{", "const", "int", "nregs", "=", "MAX", "(", "1", ",", "size", "/", "8", ")", ";", "rtx", "regs", "=", "gen_rtx_PARALLEL", "(", "BLKmode", ",", "rtvec_alloc", "(", "nregs", ")", ")", ";", "if", "(", "size", "<", "8", ")", "XVECEXP", "(", "regs", ",", "0", ",", "0", ")", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ",", "const0_rtx", ")", ";", "else", "for", "(", "int", "i", "=", "0", ";", "i", "<", "nregs", ";", "i", "++", ")", "XVECEXP", "(", "regs", ",", "0", ",", "i", ")", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "DImode", ",", "regno", "+", "2", "*", "i", ")", ",", "GEN_INT", "(", "i", "*", "8", ")", ")", ";", "return", "regs", ";", "}", ""], "natrual_language": ["Used", "by", "function_arg", "and", "sparc_function_value_1", "to", "implement", "the", "conventions", "for", "passing", "and", "returning", "BLKmode", "vectors", ".", "Return", "an", "expression", "valid", "as", "a", "return", "value", "for", "the", "FUNCTION_ARG", "and", "TARGET_FUNCTION_VALUE", ".", "SIZE", "is", "the", "size", "in", "bytes", "of", "the", "vector", ".", "REGNO", "is", "the", "FP", "hard", "register", "the", "vector", "will", "be", "passed", "in", "."], "TS_V_token": ["sparc", "1", "8", "8", "0", "0", "0", "0", "2", "8"], "File": "sparc4", "Func": "function_arg_vector_value", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15765, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_expand_vpc_loongson_pshufh", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "i", ",", "mask", ";", "rtx", "rmask", ";", "if", "(", "!", "(", "TARGET_HARD_FLOAT", "&&", "TARGET_LOONGSON_MMI", ")", ")", "return", "false", ";", "if", "(", "d", "->", "vmode", "!=", "V4HImode", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "for", "(", "i", "=", "mask", "=", "0", ";", "i", "<", "4", ";", "i", "++", ")", "mask", "|=", "(", "d", "->", "perm", "[", "i", "]", "&", "3", ")", "<<", "(", "i", "*", "2", ")", ";", "rmask", "=", "force_reg", "(", "SImode", ",", "GEN_INT", "(", "mask", ")", ")", ";", "if", "(", "d", "->", "one_vector_p", ")", "emit_insn", "(", "gen_loongson_pshufh", "(", "d", "->", "target", ",", "d", "->", "op0", ",", "rmask", ")", ")", ";", "else", "{", "rtx", "t0", ",", "t1", ",", "x", ",", "merge", ",", "rmerge", "[", "4", "]", ";", "t0", "=", "gen_reg_rtx", "(", "V4HImode", ")", ";", "t1", "=", "gen_reg_rtx", "(", "V4HImode", ")", ";", "emit_insn", "(", "gen_loongson_pshufh", "(", "t1", ",", "d", "->", "op1", ",", "rmask", ")", ")", ";", "emit_insn", "(", "gen_loongson_pshufh", "(", "t0", ",", "d", "->", "op0", ",", "rmask", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "4", ";", "++", "i", ")", "rmerge", "[", "i", "]", "=", "(", "d", "->", "perm", "[", "i", "]", "&", "4", "?", "constm1_rtx", ":", "const0_rtx", ")", ";", "merge", "=", "gen_rtx_CONST_VECTOR", "(", "V4HImode", ",", "gen_rtvec_v", "(", "4", ",", "rmerge", ")", ")", ";", "merge", "=", "force_reg", "(", "V4HImode", ",", "merge", ")", ";", "x", "=", "gen_rtx_AND", "(", "V4HImode", ",", "merge", ",", "t1", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "t1", ",", "x", ")", ")", ";", "x", "=", "gen_rtx_NOT", "(", "V4HImode", ",", "merge", ")", ";", "x", "=", "gen_rtx_AND", "(", "V4HImode", ",", "x", ",", "t0", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "t0", ",", "x", ")", ")", ";", "x", "=", "gen_rtx_IOR", "(", "V4HImode", ",", "t0", ",", "t1", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "d", "->", "target", ",", "x", ")", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "for", "the", "Loongson", "PSHUFH", "instruction", "."], "TS_V_token": ["mips", "0", "4", "3", "2", "4", "0", "4", "4", "4"], "File": "mips", "Func": "mips_expand_vpc_loongson_pshufh", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15766, "Length": 311, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "override", "{", "emitA64MappingSymbol", "(", ")", ";", "MCELFStreamer", "::", "emitInstruction", "(", "Inst", ",", "STI", ")", ";", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["AArch64"], "File": "AArch64ELFStreamer11", "Func": "emitInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15767, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "init_cumulative_args", "(", "struct", "sparc_args", "*", "cum", ",", "tree", "fntype", ",", "rtx", "libname", "ATTRIBUTE_UNUSED", ",", "tree", "fndecl", "ATTRIBUTE_UNUSED", ")", "{", "cum", "->", "words", "=", "0", ";", "cum", "->", "prototype_p", "=", "fntype", "&&", "TYPE_ARG_TYPES", "(", "fntype", ")", ";", "cum", "->", "libcall_p", "=", "fntype", "==", "0", ";", "}", ""], "natrual_language": ["Handle", "the", "INIT_CUMULATIVE_ARGS", "macro", ".", "Initialize", "a", "variable", "CUM", "of", "type", "CUMULATIVE_ARGS", "for", "a", "call", "to", "a", "function", "whose", "data", "type", "is", "FNTYPE", ".", "For", "a", "library", "call", ",", "FNTYPE", "is", "0", "."], "TS_V_token": ["sparc", "0", "0"], "File": "sparc3", "Func": "init_cumulative_args", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15768, "Length": 46, "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": ["CSKY"], "File": "CSKYRegisterInfo1", "Func": "requiresRegisterScavenging", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15769, "Length": 15, "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": 15770, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "and_operands_ok", "(", "machine_mode", "mode", ",", "rtx", "op1", ",", "rtx", "op2", ")", "{", "if", "(", "memory_operand", "(", "op1", ",", "mode", ")", ")", "{", "if", "(", "TARGET_MIPS16", ")", "{", "struct", "mips_address_info", "addr", ";", "if", "(", "!", "mips_classify_address", "(", "&", "addr", ",", "op1", ",", "mode", ",", "false", ")", ")", "return", "false", ";", "}", "return", "and_load_operand", "(", "op2", ",", "mode", ")", ";", "}", "else", "return", "and_reg_operand", "(", "op2", ",", "mode", ")", ";", "}", ""], "natrual_language": ["Return", "true", "iff", "OP1", "and", "OP2", "are", "valid", "operands", "together", "for", "the", "*", "and", "<", "MODE", ">", "3", "and", "*", "and", "<", "MODE", ">", "3_mips16", "patterns", ".", "For", "the", "cases", "to", "consider", ",", "see", "the", "table", "in", "the", "comment", "before", "the", "pattern", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "and_operands_ok", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15771, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "PPCInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCSubtarget2", "Func": "getInstrInfo", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15772, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "shouldLocalize", "(", "const", "MachineInstr", "&", "MI", ",", "const", "TargetTransformInfo", "*", "TTI", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "TargetOpcode", "::", "G_GLOBAL_VALUE", ":", "{", "const", "GlobalValue", "&", "GV", "=", "*", "MI", ".", "getOperand", "(", "1", ")", ".", "getGlobal", "(", ")", ";", "if", "(", "GV", ".", "isThreadLocal", "(", ")", "&&", "Subtarget", "->", "isTargetMachO", "(", ")", ")", "return", "false", ";", "break", ";", "}", "case", "AArch64", "::", "ADRP", ":", "case", "AArch64", "::", "G_ADD_LOW", ":", "return", "true", ";", "default", ":", "break", ";", "}", "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", "AArch64::ADRP", "AArch64::G_ADD_LOW"], "File": "AArch64ISelLowering (2)2", "Func": "shouldLocalize", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15773, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64DCBasicBlock", "&", "getParent", "(", ")", "{", "return", "static_cast", "<", "AArch64DCBasicBlock", "&", ">", "(", "DCInstruction", "::", "getParent", "(", ")", ")", ";", "}", ""], "natrual_language": ["getParent", "-", "Return", "the", "last", "analyzed", "interval", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64DCInstruction", "Func": "getParent", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15774, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "getSubExpr", "(", ")", "const", "{", "return", "Expr", ";", "}", ""], "natrual_language": ["getSubExpr", "-", "Get", "the", "child", "of", "this", "expression", "."], "TS_V_token": ["ARM"], "File": "ARMMCExpr", "Func": "getSubExpr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15775, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "functionArgumentNeedsConsecutiveRegisters", "(", "Type", "*", "Ty", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ")", "const", "{", "if", "(", "Ty", "->", "isArrayTy", "(", ")", ")", "return", "true", ";", "const", "TypeSize", "&", "TySize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "TySize", ".", "isScalable", "(", ")", "&&", "TySize", ".", "getKnownMinSize", "(", ")", ">", "128", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "an", "argument", "of", "type", "Ty", "needs", "to", "be", "passed", "in", "a", "contiguous", "block", "of", "registers", "in", "calling", "convention", "CallConv", "."], "TS_V_token": ["AArch64", "AArch64", "128"], "File": "AArch64ISelLowering10", "Func": "functionArgumentNeedsConsecutiveRegisters", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15776, "Length": 64, "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", ";", "}", "return", "retval", ";", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.add_stmt_cost", "."], "TS_V_token": ["rs6000", "0", "50"], "File": "rs60004", "Func": "rs6000_add_stmt_cost", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15777, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetELFStreamer", "::", "finish", "(", ")", "{", "MCAssembler", "&", "MCA", "=", "getStreamer", "(", ")", ".", "getAssembler", "(", ")", ";", "const", "MCObjectFileInfo", "&", "OFI", "=", "*", "MCA", ".", "getContext", "(", ")", ".", "getObjectFileInfo", "(", ")", ";", "MCSectionData", "&", "TextSectionData", "=", "MCA", ".", "getOrCreateSectionData", "(", "*", "OFI", ".", "getTextSection", "(", ")", ")", ";", "MCSectionData", "&", "DataSectionData", "=", "MCA", ".", "getOrCreateSectionData", "(", "*", "OFI", ".", "getDataSection", "(", ")", ")", ";", "MCSectionData", "&", "BSSSectionData", "=", "MCA", ".", "getOrCreateSectionData", "(", "*", "OFI", ".", "getBSSSection", "(", ")", ")", ";", "TextSectionData", ".", "setAlignment", "(", "std", "::", "max", "(", "16u", ",", "TextSectionData", ".", "getAlignment", "(", ")", ")", ")", ";", "DataSectionData", ".", "setAlignment", "(", "std", "::", "max", "(", "16u", ",", "DataSectionData", ".", "getAlignment", "(", ")", ")", ")", ";", "BSSSectionData", ".", "setAlignment", "(", "std", "::", "max", "(", "16u", ",", "BSSSectionData", ".", "getAlignment", "(", ")", ")", ")", ";", "uint64_t", "Features", "=", "STI", ".", "getFeatureBits", "(", ")", ";", "unsigned", "EFlags", "=", "MCA", ".", "getELFHeaderEFlags", "(", ")", ";", "if", "(", "getABI", "(", ")", ".", "IsO32", "(", ")", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_ABI_O32", ";", "else", "if", "(", "getABI", "(", ")", ".", "IsN32", "(", ")", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_ABI2", ";", "if", "(", "Features", "&", "Mips", "::", "FeatureGP64Bit", ")", "{", "if", "(", "getABI", "(", ")", ".", "IsO32", "(", ")", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_32BITMODE", ";", "}", "else", "if", "(", "Features", "&", "Mips", "::", "FeatureMips64r2", "||", "Features", "&", "Mips", "::", "FeatureMips64", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_32BITMODE", ";", "if", "(", "EFlags", "&", "ELF", "::", "EF_MIPS_CPIC", "&&", "getABI", "(", ")", ".", "IsN64", "(", ")", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_PIC", ";", "MCA", ".", "setELFHeaderEFlags", "(", "EFlags", ")", ";", "MipsELFStreamer", "&", "MEF", "=", "static_cast", "<", "MipsELFStreamer", "&", ">", "(", "Streamer", ")", ";", "MEF", ".", "EmitMipsOptionRecords", "(", ")", ";", "emitMipsAbiFlags", "(", ")", ";", "}", ""], "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": ["Mips", "Mips", "16u", "16u", "16u", "Mips::FeatureGP64Bit", "Mips::FeatureMips64r2", "Mips::FeatureMips64", "Mips", "Mips", "Mips", "Mips"], "File": "MipsTargetStreamer20", "Func": "finish", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15778, "Length": 288, "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": 15779, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_eh_reg_restore", "(", "rtx", "source", ",", "rtx", "scratch", ")", "{", "rs6000_stack_t", "*", "info", "=", "rs6000_stack_info", "(", ")", ";", "rtx", "operands", "[", "2", "]", ";", "operands", "[", "0", "]", "=", "source", ";", "operands", "[", "1", "]", "=", "scratch", ";", "if", "(", "info", "->", "lr_save_p", ")", "{", "rtx", "frame_rtx", "=", "stack_pointer_rtx", ";", "HOST_WIDE_INT", "sp_offset", "=", "0", ";", "rtx", "tmp", ";", "if", "(", "frame_pointer_needed", "||", "current_function_calls_alloca", "||", "info", "->", "total_size", ">", "32767", ")", "{", "tmp", "=", "gen_rtx_MEM", "(", "Pmode", ",", "frame_rtx", ")", ";", "MEM_NOTRAP_P", "(", "tmp", ")", "=", "1", ";", "set_mem_alias_set", "(", "tmp", ",", "rs6000_sr_alias_set", ")", ";", "emit_move_insn", "(", "operands", "[", "1", "]", ",", "tmp", ")", ";", "frame_rtx", "=", "operands", "[", "1", "]", ";", "}", "else", "if", "(", "info", "->", "push_p", ")", "sp_offset", "=", "info", "->", "total_size", ";", "tmp", "=", "plus_constant", "(", "frame_rtx", ",", "info", "->", "lr_save_offset", "+", "sp_offset", ")", ";", "tmp", "=", "gen_rtx_MEM", "(", "Pmode", ",", "tmp", ")", ";", "MEM_NOTRAP_P", "(", "tmp", ")", "=", "1", ";", "set_mem_alias_set", "(", "tmp", ",", "rs6000_sr_alias_set", ")", ";", "emit_move_insn", "(", "tmp", ",", "operands", "[", "0", "]", ")", ";", "}", "else", "emit_move_insn", "(", "gen_rtx_REG", "(", "Pmode", ",", "LINK_REGISTER_REGNUM", ")", ",", "operands", "[", "0", "]", ")", ";", "}", ""], "natrual_language": ["Emit", "instructions", "to", "restore", "the", "link", "register", "after", "determining", "where", "its", "value", "has", "been", "stored", "."], "TS_V_token": ["rs6000", "2", "0", "1", "0", "32767", "1", "1", "1", "1", "0", "0"], "File": "rs60003", "Func": "rs6000_emit_eh_reg_restore", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15780, "Length": 189, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_simd_gen_const_vector_dup", "(", "machine_mode", "mode", ",", "HOST_WIDE_INT", "val", ")", "{", "rtx", "c", "=", "gen_int_mode", "(", "val", ",", "GET_MODE_INNER", "(", "mode", ")", ")", ";", "return", "gen_const_vec_duplicate", "(", "mode", ",", "c", ")", ";", "}", ""], "natrual_language": ["Return", "a", "const_int", "vector", "of", "VAL", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_simd_gen_const_vector_dup", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15781, "Length": 32, "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": "MipsSEFrameLowering6", "Func": "emitEpilogue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15782, "Length": 369, "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", "(", "VOIDmode", ",", "dest", ",", "source", ")", ")", ";", "return", "true", ";", "case", "SImode", ":", "temp", "=", "!", "can_create_pseudo_p", "(", ")", "?", "dest", ":", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "copy_rtx", "(", "temp", ")", ",", "GEN_INT", "(", "c", "&", "~", "(", "HOST_WIDE_INT", ")", "0xffff", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "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": "rs60004", "Func": "rs6000_emit_set_const", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15783, "Length": 278, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_expand_vec_perm_const", "(", "rtx", "operands", "[", "4", "]", ")", "{", "struct", "expand_vec_perm_d", "d", ";", "int", "i", ",", "nelt", ",", "which", ";", "unsigned", "char", "orig_perm", "[", "MAX_VECT_LEN", "]", ";", "rtx", "sel", ";", "bool", "ok", ";", "d", ".", "target", "=", "operands", "[", "0", "]", ";", "d", ".", "op0", "=", "operands", "[", "1", "]", ";", "d", ".", "op1", "=", "operands", "[", "2", "]", ";", "sel", "=", "operands", "[", "3", "]", ";", "d", ".", "vmode", "=", "GET_MODE", "(", "d", ".", "target", ")", ";", "gcc_assert", "(", "VECTOR_MODE_P", "(", "d", ".", "vmode", ")", ")", ";", "d", ".", "nelt", "=", "nelt", "=", "GET_MODE_NUNITS", "(", "d", ".", "vmode", ")", ";", "d", ".", "testing_p", "=", "false", ";", "for", "(", "i", "=", "which", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "{", "rtx", "e", "=", "XVECEXP", "(", "sel", ",", "0", ",", "i", ")", ";", "int", "ei", "=", "INTVAL", "(", "e", ")", "&", "(", "2", "*", "nelt", "-", "1", ")", ";", "which", "|=", "(", "ei", "<", "nelt", "?", "1", ":", "2", ")", ";", "orig_perm", "[", "i", "]", "=", "ei", ";", "}", "memcpy", "(", "d", ".", "perm", ",", "orig_perm", ",", "MAX_VECT_LEN", ")", ";", "switch", "(", "which", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "3", ":", "d", ".", "one_vector_p", "=", "false", ";", "if", "(", "!", "rtx_equal_p", "(", "d", ".", "op0", ",", "d", ".", "op1", ")", ")", "break", ";", "case", "2", ":", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "d", ".", "perm", "[", "i", "]", "&=", "nelt", "-", "1", ";", "d", ".", "op0", "=", "d", ".", "op1", ";", "d", ".", "one_vector_p", "=", "true", ";", "break", ";", "case", "1", ":", "d", ".", "op1", "=", "d", ".", "op0", ";", "d", ".", "one_vector_p", "=", "true", ";", "break", ";", "}", "ok", "=", "mips_expand_vec_perm_const_1", "(", "&", "d", ")", ";", "if", "(", "!", "ok", "&&", "which", "==", "3", ")", "{", "d", ".", "op0", "=", "operands", "[", "1", "]", ";", "d", ".", "op1", "=", "operands", "[", "2", "]", ";", "d", ".", "one_vector_p", "=", "false", ";", "memcpy", "(", "d", ".", "perm", ",", "orig_perm", ",", "MAX_VECT_LEN", ")", ";", "ok", "=", "mips_expand_vec_perm_const_1", "(", "&", "d", ")", ";", "}", "return", "ok", ";", "}", ""], "natrual_language": ["Expand", "a", "vec_perm_const", "pattern", "."], "TS_V_token": ["mips", "4", "0", "1", "2", "3", "0", "0", "2", "1", "1", "2", "3", "2", "0", "1", "1", "3", "1", "2"], "File": "mips4", "Func": "mips_expand_vec_perm_const", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15784, "Length": 348, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPreAllocLoadStoreOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "TD", "=", "&", "Fn", ".", "getDataLayout", "(", ")", ";", "STI", "=", "&", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "Fn", ".", "getSubtarget", "(", ")", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "STI", "->", "getRegisterInfo", "(", ")", ";", "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": "ARMLoadStoreOptimizer", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15785, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "&", "SrcReg", ",", "unsigned", "&", "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": "PPCInstrInfo (2)2", "Func": "analyzeCompare", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15786, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86IntelInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "OS", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "printInstFlags", "(", "MI", ",", "OS", ")", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "X86", "::", "DATA16_PREFIX", "&&", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "Mode16Bit", "]", ")", "{", "OS", "<<", "\"\\tdata32\"", ";", "}", "else", "printInstruction", "(", "MI", ",", "OS", ")", ";", "printAnnotation", "(", "OS", ",", "Annot", ")", ";", "if", "(", "CommentStream", ")", "EmitAnyX86InstComments", "(", "MI", ",", "*", "CommentStream", ",", "MII", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["X86", "X86", "X86::DATA16_PREFIX", "X86::Mode16Bit", "\"\\tdata32\"", "X86"], "File": "X86IntelInstPrinter", "Func": "printInst", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15787, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_start_unique_function", "(", "const", "char", "*", "name", ")", "{", "tree", "decl", ";", "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", ";", "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", ")", ";", "}", ""], "natrual_language": ["Declare", "a", "unique", ",", "locally-binding", "function", "called", "NAME", ",", "then", "start", "its", "definition", "."], "TS_V_token": ["mips", "1", "1", "0", "0", "\"\\t.hidden\\t\""], "File": "mips", "Func": "mips_start_unique_function", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15788, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "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": "AArch64InstrInfo78", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15789, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86RegisterInfo", "::", "hasReservedSpillSlot", "(", "MachineFunction", "&", "MF", ",", "unsigned", "Reg", ",", "int", "&", "FrameIdx", ")", "const", "{", "if", "(", "Reg", "==", "FramePtr", "&&", "hasFP", "(", "MF", ")", ")", "{", "FrameIdx", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectIndexBegin", "(", ")", ";", "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": ["X86", "X86"], "File": "X86RegisterInfo11", "Func": "hasReservedSpillSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15790, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "X86TargetLowering", "::", "getByValTypeAlignment", "(", "Type", "*", "Ty", ",", "const", "DataLayout", "&", "DL", ")", "const", "{", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "{", "Align", "TyAlign", "=", "DL", ".", "getABITypeAlign", "(", "Ty", ")", ";", "if", "(", "TyAlign", ">", "8", ")", "return", "TyAlign", ".", "value", "(", ")", ";", "return", "8", ";", "}", "Align", "Alignment", "(", "4", ")", ";", "if", "(", "Subtarget", ".", "hasSSE1", "(", ")", ")", "getMaxByValAlign", "(", "Ty", ",", "Alignment", ")", ";", "return", "Alignment", ".", "value", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "desired", "alignment", "for", "ByVal", "aggregate", "function", "arguments", "in", "the", "caller", "parameter", "area", "."], "TS_V_token": ["X86", "X86", "8", "8", "4"], "File": "X86ISelLowering (2)5", "Func": "getByValTypeAlignment", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15791, "Length": 81, "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", ":", "llvm_unreachable", "(", "\"TLS not implemented for PPC\"", ")", ";", "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", "::", "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", "\"TLS not implemented for PPC\"", "ISD::JumpTable", "ISD::SETCC", "ISD::INIT_TRAMPOLINE", "ISD::ADJUST_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": "PPCISelLowering21", "Func": "LowerOperation", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15792, "Length": 391, "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": ["Sparc"], "File": "SparcFrameInfo", "Func": "hasFP", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15793, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "static", "int", "number_of_first_bit_set", "(", "unsigned", "mask", ")", "{", "int", "bit", ";", "for", "(", "bit", "=", "0", ";", "(", "mask", "&", "(", "1", "<<", "bit", ")", ")", "==", "0", ";", "++", "bit", ")", "continue", ";", "return", "bit", ";", "}", ""], "natrual_language": ["Return", "the", "number", "(", "counting", "from", "0", ")", "of", "the", "least", "significant", "set", "bit", "in", "MASK", "."], "TS_V_token": ["arm", "0", "1", "0"], "File": "arm3", "Func": "number_of_first_bit_set", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15794, "Length": 39, "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": ["Mips", "\"RelaxInstruction() unimplemented\""], "File": "MipsAsmBackend (2)1", "Func": "fixupNeedsRelaxation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15795, "Length": 33, "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": 15796, "Length": 214, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMAsmParser", "::", "checkTargetMatchPredicate", "(", "MCInst", "&", "Inst", ")", "{", "unsigned", "Opc", "=", "Inst", ".", "getOpcode", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "MII", ".", "get", "(", "Opc", ")", ";", "if", "(", "MCID", ".", "TSFlags", "&", "ARMII", "::", "ThumbArithFlagSetting", ")", "{", "assert", "(", "MCID", ".", "hasOptionalDef", "(", ")", "&&", "\"optionally flag setting instruction missing optional def operand\"", ")", ";", "assert", "(", "MCID", ".", "NumOperands", "==", "Inst", ".", "getNumOperands", "(", ")", "&&", "\"operand count mismatch!\"", ")", ";", "unsigned", "OpNo", ";", "for", "(", "OpNo", "=", "0", ";", "!", "MCID", ".", "OpInfo", "[", "OpNo", "]", ".", "isOptionalDef", "(", ")", "&&", "OpNo", "<", "MCID", ".", "NumOperands", ";", "++", "OpNo", ")", ";", "if", "(", "isThumbOne", "(", ")", "&&", "Inst", ".", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", "!=", "ARM", "::", "CPSR", ")", "return", "Match_RequiresFlagSetting", ";", "if", "(", "isThumbTwo", "(", ")", "&&", "Inst", ".", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", "!=", "ARM", "::", "CPSR", "&&", "!", "inITBlock", "(", ")", ")", "return", "Match_RequiresITBlock", ";", "if", "(", "isThumbTwo", "(", ")", "&&", "Inst", ".", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", "==", "ARM", "::", "CPSR", "&&", "inITBlock", "(", ")", ")", "return", "Match_RequiresNotITBlock", ";", "}", "else", "if", "(", "isThumbOne", "(", ")", ")", "{", "if", "(", "Opc", "==", "ARM", "::", "tADDhirr", "&&", "!", "hasV6MOps", "(", ")", "&&", "isARMLowRegister", "(", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", "&&", "isARMLowRegister", "(", "Inst", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ")", "return", "Match_RequiresThumb2", ";", "else", "if", "(", "Opc", "==", "ARM", "::", "tMOVr", "&&", "!", "hasV6Ops", "(", ")", "&&", "isARMLowRegister", "(", "Inst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", "&&", "isARMLowRegister", "(", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ")", "return", "Match_RequiresV6", ";", "}", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "MCID", ".", "NumOperands", ";", "++", "I", ")", "if", "(", "MCID", ".", "OpInfo", "[", "I", "]", ".", "RegClass", "==", "ARM", "::", "rGPRRegClassID", ")", "{", "if", "(", "(", "Inst", ".", "getOperand", "(", "I", ")", ".", "getReg", "(", ")", "==", "ARM", "::", "SP", ")", "&&", "!", "hasV8Ops", "(", ")", ")", "return", "Match_RequiresV8", ";", "else", "if", "(", "Inst", ".", "getOperand", "(", "I", ")", ".", "getReg", "(", ")", "==", "ARM", "::", "PC", ")", "return", "Match_InvalidOperand", ";", "}", "return", "Match_Success", ";", "}", ""], "natrual_language": ["checkTargetMatchPredicate", "-", "Validate", "the", "instruction", "match", "against", "any", "complex", "target", "predicates", "not", "expressible", "via", "match", "classes", "."], "TS_V_token": ["ARM", "ARM", "ARMII::ThumbArithFlagSetting", "\"optionally flag setting instruction missing optional def operand\"", "\"operand count mismatch!\"", "0", "ARM::CPSR", "ARM::CPSR", "ARM::CPSR", "ARM::tADDhirr", "ARM", "1", "ARM", "2", "ARM::tMOVr", "ARM", "0", "ARM", "1", "0", "ARM::rGPRRegClassID", "ARM::SP", "ARM::PC"], "File": "ARMAsmParser47", "Func": "checkTargetMatchPredicate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15797, "Length": 364, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LEGTargetLowering", "::", "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", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", ".", "getRegInfo", "(", ")", ";", "assert", "(", "!", "isVarArg", "&&", "\"VarArg not supported\"", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "CC_LEG", ")", ";", "for", "(", "auto", "&", "VA", ":", "ArgLocs", ")", "{", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "EVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "assert", "(", "RegVT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", "==", "MVT", "::", "i32", "&&", "\"Only support MVT::i32 register passing\"", ")", ";", "const", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "LEG", "::", "GRRegsRegClass", ")", ";", "RegInfo", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "VReg", ")", ";", "SDValue", "ArgIn", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VReg", ",", "RegVT", ")", ";", "InVals", ".", "push_back", "(", "ArgIn", ")", ";", "continue", ";", "}", "assert", "(", "VA", ".", "isMemLoc", "(", ")", "&&", "\"Can only pass arguments as either registers or via the stack\"", ")", ";", "const", "unsigned", "Offset", "=", "VA", ".", "getLocMemOffset", "(", ")", ";", "const", "int", "FI", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "CreateFixedObject", "(", "4", ",", "Offset", ",", "true", ")", ";", "SDValue", "FIPtr", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "getPointerTy", "(", ")", ")", ";", "assert", "(", "VA", ".", "getValVT", "(", ")", "==", "MVT", "::", "i32", "&&", "\"Only support passing arguments as i32\"", ")", ";", "SDValue", "Load", "=", "DAG", ".", "getLoad", "(", "VA", ".", "getValVT", "(", ")", ",", "dl", ",", "Chain", ",", "FIPtr", ",", "MachinePointerInfo", "(", ")", ",", "false", ",", "false", ",", "false", ",", "0", ")", ";", "InVals", ".", "push_back", "(", "Load", ")", ";", "}", "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": ["LEG", "LEG", "ISD::InputArg", "\"VarArg not supported\"", "16", "LEG", "MVT::i32", "\"Only support MVT::i32 register passing\"", "LEG::GRRegsRegClass", "\"Can only pass arguments as either registers or via the stack\"", "4", "MVT::i32", "\"Only support passing arguments as i32\"", "0"], "File": "LEGISelLowering2", "Func": "LowerFormalArguments", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15798, "Length": 320, "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": 15799, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_autovectorize_vector_modes", "(", "vector_modes", "*", "modes", ",", "bool", ")", "{", "static", "const", "machine_mode", "sve_modes", "[", "]", "=", "{", "VNx16QImode", ",", "VNx8QImode", ",", "VNx4QImode", ",", "VNx2QImode", "}", ";", "static", "const", "machine_mode", "advsimd_modes", "[", "]", "=", "{", "V16QImode", ",", "V8QImode", ",", "V4HImode", ",", "V2SImode", "}", ";", "bool", "only_asimd_p", "=", "aarch64_autovec_preference", "==", "1", ";", "bool", "only_sve_p", "=", "aarch64_autovec_preference", "==", "2", ";", "unsigned", "int", "sve_i", "=", "(", "TARGET_SVE", "&&", "!", "only_asimd_p", ")", "?", "0", ":", "ARRAY_SIZE", "(", "sve_modes", ")", ";", "unsigned", "int", "advsimd_i", "=", "0", ";", "while", "(", "!", "only_sve_p", "&&", "advsimd_i", "<", "ARRAY_SIZE", "(", "advsimd_modes", ")", ")", "{", "if", "(", "sve_i", "<", "ARRAY_SIZE", "(", "sve_modes", ")", "&&", "aarch64_cmp_autovec_modes", "(", "sve_modes", "[", "sve_i", "]", ",", "advsimd_modes", "[", "advsimd_i", "]", ")", ")", "modes", "->", "safe_push", "(", "sve_modes", "[", "sve_i", "++", "]", ")", ";", "else", "modes", "->", "safe_push", "(", "advsimd_modes", "[", "advsimd_i", "++", "]", ")", ";", "}", "while", "(", "sve_i", "<", "ARRAY_SIZE", "(", "sve_modes", ")", ")", "modes", "->", "safe_push", "(", "sve_modes", "[", "sve_i", "++", "]", ")", ";", "unsigned", "int", "flags", "=", "0", ";", "if", "(", "TARGET_SVE", "&&", "aarch64_sve_compare_costs", ")", "flags", "|=", "VECT_COMPARE_COSTS", ";", "return", "flags", ";", "}", ""], "natrual_language": ["Return", "a", "list", "of", "possible", "vector", "sizes", "for", "the", "vectorizer", "to", "iterate", "over", "."], "TS_V_token": ["aarch64", "1", "2", "0", "0", "0"], "File": "aarch641", "Func": "aarch64_autovectorize_vector_modes", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15800, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "IA64RegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["IA64", "IA64"], "File": "IA64InstrInfo", "Func": "getRegisterInfo", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15801, "Length": 13, "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": 15802, "Length": 368, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_can_use_btgl_p", "(", "HOST_WIDE_INT", "ival", ")", "{", "int", "one_bit_count", ";", "unsigned", "HOST_WIDE_INT", "mask", "=", "GET_MODE_MASK", "(", "SImode", ")", ";", "one_bit_count", "=", "popcount_hwi", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "(", "ival", ")", "&", "mask", ")", ";", "return", "(", "TARGET_EXT_PERF", "&&", "(", "one_bit_count", "==", "1", ")", ")", ";", "}", ""], "natrual_language": ["Function", "to", "check", "if", "'btgl", "'", "instruction", "can", "be", "used", "with", "IVAL", "."], "TS_V_token": ["nds32", "1"], "File": "nds32-predicates", "Func": "nds32_can_use_btgl_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15803, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "split_quadword_operands", "(", "rtx", "insn", ",", "enum", "rtx_code", "code", ",", "rtx", "*", "operands", ",", "rtx", "*", "low", ",", "int", "n", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n", ";", "i", "++", ")", "low", "[", "i", "]", "=", "0", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n", ";", "i", "++", ")", "{", "if", "(", "MEM_P", "(", "operands", "[", "i", "]", ")", "&&", "(", "GET_CODE", "(", "XEXP", "(", "operands", "[", "i", "]", ",", "0", ")", ")", "==", "PRE_DEC", "||", "GET_CODE", "(", "XEXP", "(", "operands", "[", "i", "]", ",", "0", ")", ")", "==", "POST_INC", ")", ")", "{", "rtx", "addr", "=", "XEXP", "(", "operands", "[", "i", "]", ",", "0", ")", ";", "operands", "[", "i", "]", "=", "low", "[", "i", "]", "=", "gen_rtx_MEM", "(", "SImode", ",", "addr", ")", ";", "}", "else", "if", "(", "optimize_size", "&&", "MEM_P", "(", "operands", "[", "i", "]", ")", "&&", "REG_P", "(", "XEXP", "(", "operands", "[", "i", "]", ",", "0", ")", ")", "&&", "(", "code", "!=", "MINUS", "||", "operands", "[", "1", "]", "!=", "const0_rtx", ")", "&&", "find_regno_note", "(", "insn", ",", "REG_DEAD", ",", "REGNO", "(", "XEXP", "(", "operands", "[", "i", "]", ",", "0", ")", ")", ")", ")", "{", "low", "[", "i", "]", "=", "gen_rtx_MEM", "(", "SImode", ",", "gen_rtx_POST_INC", "(", "Pmode", ",", "XEXP", "(", "operands", "[", "i", "]", ",", "0", ")", ")", ")", ";", "operands", "[", "i", "]", "=", "gen_rtx_MEM", "(", "SImode", ",", "XEXP", "(", "operands", "[", "i", "]", ",", "0", ")", ")", ";", "}", "else", "{", "low", "[", "i", "]", "=", "operand_subword", "(", "operands", "[", "i", "]", ",", "0", ",", "0", ",", "DImode", ")", ";", "operands", "[", "i", "]", "=", "operand_subword", "(", "operands", "[", "i", "]", ",", "1", ",", "0", ",", "DImode", ")", ";", "}", "}", "}", ""], "natrual_language": ["This", "is", "like", "nonimmediate_operand", "with", "a", "restriction", "on", "the", "type", "of", "MEM", "."], "TS_V_token": ["vax", "0", "0", "0", "0", "0", "0", "0", "1", "0", "0", "0", "0", "0", "1", "0"], "File": "vax", "Func": "split_quadword_operands", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15804, "Length": 283, "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", "(", "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", "0", "3"], "File": "rs60004", "Func": "rs6000_emit_cbranch", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15805, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "moxie_print_operand", "(", "FILE", "*", "file", ",", "rtx", "x", ",", "int", "code", ")", "{", "rtx", "operand", "=", "x", ";", "switch", "(", "code", ")", "{", "case", "0", ":", "break", ";", "default", ":", "LOSE_AND_RETURN", "(", "\"invalid operand modifier letter\"", ",", "x", ")", ";", "}", "switch", "(", "GET_CODE", "(", "operand", ")", ")", "{", "case", "REG", ":", "if", "(", "REGNO", "(", "operand", ")", ">", "MOXIE_R13", ")", "internal_error", "(", "\"internal error: bad register: %d\"", ",", "REGNO", "(", "operand", ")", ")", ";", "fprintf", "(", "file", ",", "\"%s\"", ",", "reg_names", "[", "REGNO", "(", "operand", ")", "]", ")", ";", "return", ";", "case", "MEM", ":", "output_address", "(", "GET_MODE", "(", "XEXP", "(", "operand", ",", "0", ")", ")", ",", "XEXP", "(", "operand", ",", "0", ")", ")", ";", "return", ";", "default", ":", "if", "(", "CONSTANT_P", "(", "operand", ")", ")", "{", "output_addr_const", "(", "file", ",", "operand", ")", ";", "return", ";", "}", "LOSE_AND_RETURN", "(", "\"unexpected operand\"", ",", "x", ")", ";", "}", "}", ""], "natrual_language": ["The", "PRINT_OPERAND", "worker", "."], "TS_V_token": ["moxie", "0", "\"invalid operand modifier letter\"", "\"internal error: bad register: %d\"", "\"%s\"", "0", "0", "\"unexpected operand\""], "File": "moxie", "Func": "moxie_print_operand", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15806, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "requiresVirtualBaseRegisters", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "wants", "the", "LocalStackAllocation", "pass", "to", "be", "run", "and", "virtual", "base", "registers", "used", "for", "more", "efficient", "stack", "access", "."], "TS_V_token": ["PowerPC"], "File": "PPCRegisterInfo16", "Func": "requiresVirtualBaseRegisters", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15807, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MMIXAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "Operands", ".", "push_back", "(", "MMIXOperand", "::", "createToken", "(", "Name", ",", "NameLoc", ")", ")", ";", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "return", "false", ";", "if", "(", "parseOperand", "(", "Operands", ")", ")", "return", "true", ";", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "getLexer", "(", ")", ".", "Lex", "(", ")", ";", "if", "(", "parseOperand", "(", "Operands", ")", ")", "return", "true", ";", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "getParser", "(", ")", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token\"", ")", ";", "}", "getParser", "(", ")", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["MMIX", "MMIX", "MMIXOperand::createToken", "\"unexpected token\""], "File": "MMIXAsmParser", "Func": "ParseInstruction", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15808, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "TM", "=", "static_cast", "<", "const", "PPCTargetMachine", "*", ">", "(", "&", "MF", ".", "getTarget", "(", ")", ")", ";", "TII", "=", "TM", "->", "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", "PPC", "2"], "File": "PPCInstrInfo (2)", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15809, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "*", "aarch64_init_cost", "(", "class", "loop", "*", ")", "{", "return", "new", "aarch64_vector_costs", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VECTORIZE_INIT_COST", "."], "TS_V_token": ["aarch64"], "File": "aarch641", "Func": "aarch64_init_cost", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15810, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_can_use_bset_p", "(", "HOST_WIDE_INT", "ival", ")", "{", "int", "one_bit_count", ";", "unsigned", "HOST_WIDE_INT", "mask", "=", "GET_MODE_MASK", "(", "SImode", ")", ";", "one_bit_count", "=", "popcount_hwi", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "(", "ival", ")", "&", "mask", ")", ";", "return", "(", "TARGET_EXT_PERF", "&&", "(", "one_bit_count", "==", "1", ")", ")", ";", "}", ""], "natrual_language": ["Function", "to", "check", "if", "'bset", "'", "instruction", "can", "be", "used", "with", "IVAL", "."], "TS_V_token": ["nds32", "1"], "File": "nds32-predicates", "Func": "nds32_can_use_bset_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15811, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "rs6000_c_mode_for_suffix", "(", "char", "suffix", ")", "{", "if", "(", "TARGET_FLOAT128", ")", "{", "if", "(", "suffix", "==", "'q'", "||", "suffix", "==", "'Q'", ")", "return", "(", "FLOAT128_IEEE_P", "(", "TFmode", ")", ")", "?", "TFmode", ":", "KFmode", ";", "}", "return", "VOIDmode", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "c_mode_for_suffix", "."], "TS_V_token": ["rs6000"], "File": "rs60005", "Func": "rs6000_c_mode_for_suffix", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15812, "Length": 40, "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": 15813, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "OS", ")", "{", "SystemZInstPrinter", "::", "printAddress", "(", "MAI", ",", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", ",", "MI", "->", "getOperand", "(", "OpNo", "+", "1", ")", ".", "getImm", "(", ")", ",", "MI", "->", "getOperand", "(", "OpNo", "+", "2", ")", ".", "getReg", "(", ")", ",", "OS", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "1", "2"], "File": "SystemZAsmPrinter22", "Func": "PrintAsmMemoryOperand", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15814, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "pad_direction", "rs6000_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", "PAD_DOWNWARD", ";", "}", "return", "PAD_UPWARD", ";", "}", "if", "(", "AGGREGATES_PAD_UPWARD_ALWAYS", ")", "{", "if", "(", "type", "!=", "0", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "return", "PAD_UPWARD", ";", "}", "return", "default_function_arg_padding", "(", "mode", ",", "type", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_ARG_PADDING", ".", "For", "the", "AIX", "ABI", "structs", "are", "always", "stored", "left", "shifted", "in", "their", "argument", "slot", "."], "TS_V_token": ["powerpcspe", "0", "1", "2", "4", "0"], "File": "powerpcspe", "Func": "rs6000_function_arg_padding", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15815, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_legitimate_constant_p", "(", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "if", "(", "CONST_INT_P", "(", "x", ")", "||", "(", "CONST_DOUBLE_P", "(", "x", ")", "&&", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", ")", "||", "GET_CODE", "(", "x", ")", "==", "CONST_VECTOR", ")", "return", "true", ";", "unsigned", "int", "vec_flags", "=", "aarch64_classify_vector_mode", "(", "mode", ")", ";", "if", "(", "vec_flags", "==", "(", "VEC_ADVSIMD", "|", "VEC_STRUCT", ")", ")", "return", "false", ";", "if", "(", "vec_flags", "&", "VEC_ANY_SVE", ")", "return", "aarch64_simd_valid_immediate", "(", "x", ",", "NULL", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "HIGH", ")", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "poly_int64", "offset", ";", "if", "(", "poly_int_rtx_p", "(", "x", ",", "&", "offset", ")", ")", "return", "aarch64_offset_temporaries", "(", "false", ",", "offset", ")", "<=", "1", ";", "x", "=", "strip_offset", "(", "x", ",", "&", "offset", ")", ";", "if", "(", "!", "offset", ".", "is_constant", "(", ")", "&&", "aarch64_offset_temporaries", "(", "true", ",", "offset", ")", ">", "0", ")", "return", "false", ";", "if", "(", "maybe_ne", "(", "offset", ",", "0", ")", "&&", "SYMBOL_REF_P", "(", "x", ")", "&&", "SYMBOL_REF_ANCHOR_P", "(", "x", ")", ")", "return", "false", ";", "if", "(", "SYMBOL_REF_P", "(", "x", ")", "&&", "!", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LEGITIMATE_CONSTANT_P", "hook", ".", "Return", "true", "for", "constants", "that", "should", "be", "rematerialized", "rather", "than", "spilled", "."], "TS_V_token": ["aarch64", "0", "1", "0", "0"], "File": "aarch64", "Func": "aarch64_legitimate_constant_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15816, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "uint16_t", ",", "uint16_t", ">", "ARMBaseInstrInfo", "::", "getExecutionDomain", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "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)", "Func": "getExecutionDomain", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15817, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "ia64_reg_ok_for_base_p", "(", "const_rtx", "reg", ",", "bool", "strict", ")", "{", "if", "(", "strict", "&&", "REGNO_OK_FOR_BASE_P", "(", "REGNO", "(", "reg", ")", ")", ")", "return", "true", ";", "else", "if", "(", "!", "strict", "&&", "(", "GENERAL_REGNO_P", "(", "REGNO", "(", "reg", ")", ")", "||", "!", "HARD_REGISTER_P", "(", "reg", ")", ")", ")", "return", "true", ";", "else", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "REG", "(", "assumed", "to", "be", "a", "`", "reg", "'", "RTX", ")", "is", "valid", "for", "use", "as", "a", "base", "register", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "ia64_reg_ok_for_base_p", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15818, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb1RegisterInfo", "::", "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", "::", "tLDRcp", ")", ")", ".", "addReg", "(", "DestReg", ",", "getDefRegState", "(", "true", ")", ",", "SubIdx", ")", ".", "addConstantPoolIndex", "(", "Idx", ")", ".", "addImm", "(", "Pred", ")", ".", "addReg", "(", "PredReg", ")", ";", "}", ""], "natrual_language": ["emitLoadConstPool", "-", "Emits", "a", "load", "from", "constpool", "to", "materialize", "the", "specified", "immediate", "."], "TS_V_token": ["ARM", "ARMCC::CondCodes", "4", "ARM::tLDRcp"], "File": "Thumb1RegisterInfo12", "Func": "emitLoadConstPool", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15819, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "override", "{", "if", "(", "Count", "==", "0", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["FISC", "0"], "File": "FISCAsmBackend", "Func": "writeNopData", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15820, "Length": 26, "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", "=", "Subtarget", ".", "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)2", "Func": "FoldImmediate", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15821, "Length": 339, "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": 15822, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMSubtarget", "::", "enablePostRAScheduler", "(", ")", "const", "{", "if", "(", "getSchedModel", "(", ")", ".", "isOutOfOrder", "(", ")", "&&", "isSwift", "(", ")", ")", "return", "false", ";", "return", "(", "!", "isThumb", "(", ")", "||", "hasThumb2", "(", ")", ")", ";", "}", ""], "natrual_language": ["True", "if", "the", "subtarget", "should", "run", "a", "scheduler", "after", "register", "allocation", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMSubtarget13", "Func": "enablePostRAScheduler", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15823, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintWeight", "PPCTargetLowering", "::", "getSingleConstraintMatchWeight", "(", "AsmOperandInfo", "&", "info", ",", "const", "char", "*", "constraint", ")", "const", "{", "ConstraintWeight", "weight", "=", "CW_Invalid", ";", "Value", "*", "CallOperandVal", "=", "info", ".", "CallOperandVal", ";", "if", "(", "CallOperandVal", "==", "NULL", ")", "return", "CW_Default", ";", "Type", "*", "type", "=", "CallOperandVal", "->", "getType", "(", ")", ";", "switch", "(", "*", "constraint", ")", "{", "default", ":", "weight", "=", "TargetLowering", "::", "getSingleConstraintMatchWeight", "(", "info", ",", "constraint", ")", ";", "break", ";", "case", "'b'", ":", "if", "(", "type", "->", "isIntegerTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'f'", ":", "if", "(", "type", "->", "isFloatTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'d'", ":", "if", "(", "type", "->", "isDoubleTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'v'", ":", "if", "(", "type", "->", "isVectorTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'y'", ":", "weight", "=", "CW_Register", ";", "break", ";", "case", "'Z'", ":", "weight", "=", "CW_Memory", ";", "break", ";", "}", "return", "weight", ";", "}", ""], "natrual_language": ["Examine", "constraint", "string", "and", "operand", "type", "and", "determine", "a", "weight", "value", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCISelLowering (2)1", "Func": "getSingleConstraintMatchWeight", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15824, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "loongarch_symbolic_constant_p", "(", "rtx", "x", ",", "enum", "loongarch_symbol_type", "*", "symbol_type", ")", "{", "rtx", "offset", ";", "split_const", "(", "x", ",", "&", "x", ",", "&", "offset", ")", ";", "if", "(", "UNSPEC_ADDRESS_P", "(", "x", ")", ")", "{", "*", "symbol_type", "=", "UNSPEC_ADDRESS_TYPE", "(", "x", ")", ";", "x", "=", "UNSPEC_ADDRESS", "(", "x", ")", ";", "}", "else", "if", "(", "SYMBOL_REF_P", "(", "x", ")", "||", "LABEL_REF_P", "(", "x", ")", ")", "{", "*", "symbol_type", "=", "loongarch_classify_symbol", "(", "x", ")", ";", "if", "(", "*", "symbol_type", "==", "SYMBOL_TLS", ")", "return", "true", ";", "}", "else", "return", "false", ";", "if", "(", "offset", "==", "const0_rtx", ")", "return", "true", ";", "switch", "(", "*", "symbol_type", ")", "{", "case", "SYMBOL_GOT_DISP", ":", "case", "SYMBOL_TLSGD", ":", "case", "SYMBOL_TLSLDM", ":", "case", "SYMBOL_TLS", ":", "return", "false", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "symbolic", "constant", ".", "If", "it", "is", ",", "store", "the", "type", "of", "the", "symbol", "in", "*", "SYMBOL_TYPE", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_symbolic_constant_p", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15825, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SICABIInfo", "::", "GetCalleeAllocdArgSizeInBytes", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "if", "(", "IsO32", "(", ")", ")", "return", "CC", "!=", "0", ";", "if", "(", "IsS32", "(", ")", ")", "return", "0", ";", "llvm_unreachable", "(", "\"Unhandled ABI\"", ")", ";", "}", ""], "natrual_language": ["Obtain", "the", "size", "of", "the", "area", "allocated", "by", "the", "callee", "for", "arguments", "."], "TS_V_token": ["SIC", "SIC", "0", "0", "\"Unhandled ABI\""], "File": "SICABIInfo", "Func": "GetCalleeAllocdArgSizeInBytes", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15826, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "csky_split_ior", "(", "rtx", "*", "operands", ")", "{", "HOST_WIDE_INT", "mask", "=", "INTVAL", "(", "operands", "[", "2", "]", ")", ";", "int", "i", ";", "if", "(", "mask", "==", "0", ")", "{", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ")", ";", "return", "true", ";", "}", "if", "(", "mask", "==", "-", "1", ")", "{", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "gen_int_mode", "(", "-", "1", ",", "SImode", ")", ")", ";", "return", "true", ";", "}", "if", "(", "CSKY_ISA_FEATURE", "(", "E2", ")", "&&", "csky_literal_I_operand", "(", "operands", "[", "2", "]", ",", "SImode", ")", ")", "return", "false", ";", "if", "(", "popcount_hwi", "(", "mask", "&", "0xffffffff", ")", "<=", "(", "reload_completed", "&&", "!", "CSKY_ISA_FEATURE", "(", "E2", ")", "?", "1", ":", "2", ")", ")", "{", "rtx", "input", "=", "operands", "[", "1", "]", ";", "if", "(", "!", "CSKY_ISA_FEATURE", "(", "E2", ")", ")", "{", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "input", ")", ";", "input", "=", "operands", "[", "0", "]", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "32", ";", "i", "++", ")", "if", "(", "mask", "&", "(", "1", "<<", "i", ")", ")", "{", "emit_insn", "(", "gen_bseti", "(", "operands", "[", "0", "]", ",", "input", ",", "GEN_INT", "(", "i", ")", ")", ")", ";", "input", "=", "operands", "[", "0", "]", ";", "}", "return", "true", ";", "}", "if", "(", "reload_completed", ")", "{", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "operands", "[", "2", "]", ")", ";", "operands", "[", "2", "]", "=", "operands", "[", "1", "]", ";", "operands", "[", "1", "]", "=", "operands", "[", "0", "]", ";", "}", "else", "operands", "[", "2", "]", "=", "copy_to_mode_reg", "(", "SImode", ",", "operands", "[", "2", "]", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Split", "operands", "for", "an", "IOR", "expression", "when", "OPERANDS", "[", "2", "]", "is", "a", "constant", ".", "Note", "operands", "[", "0", "]", "is", "marked", "earlyclobber", "in", "this", "case", "and", "can", "be", "overwritten", ".", "Return", "true", "if", "``", "DONE", "''", ",", "false", "otherwise", "."], "TS_V_token": ["csky", "2", "0", "0", "1", "1", "0", "1", "2", "0xffffffff", "1", "2", "1", "0", "0", "0", "32", "1", "0", "0", "0", "2", "2", "1", "1", "0", "2", "2"], "File": "csky", "Func": "csky_split_ior", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15827, "Length": 266, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Sparc Machine Code Emitter\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Sparc", "\"Sparc Machine Code Emitter\""], "File": "SparcCodeEmitter", "Func": "getPassName", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15828, "Length": 13, "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": 15829, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SparcCodeEmitter", "::", "getMachineOpValue", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "&", "MO", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "TM", ".", "getRegisterInfo", "(", ")", "->", "getEncodingValue", "(", "MO", ".", "getReg", "(", ")", ")", ";", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "else", "if", "(", "MO", ".", "isGlobal", "(", ")", ")", "emitGlobalAddress", "(", "MO", ".", "getGlobal", "(", ")", ",", "getRelocation", "(", "MI", ",", "MO", ")", ")", ";", "else", "if", "(", "MO", ".", "isSymbol", "(", ")", ")", "emitExternalSymbolAddress", "(", "MO", ".", "getSymbolName", "(", ")", ",", "getRelocation", "(", "MI", ",", "MO", ")", ")", ";", "else", "if", "(", "MO", ".", "isCPI", "(", ")", ")", "emitConstPoolAddress", "(", "MO", ".", "getIndex", "(", ")", ",", "getRelocation", "(", "MI", ",", "MO", ")", ")", ";", "else", "if", "(", "MO", ".", "isMBB", "(", ")", ")", "emitMachineBasicBlock", "(", "MO", ".", "getMBB", "(", ")", ",", "getRelocation", "(", "MI", ",", "MO", ")", ")", ";", "else", "llvm_unreachable", "(", "\"Unable to encode MachineOperand!\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["Sparc", "Sparc", "\"Unable to encode MachineOperand!\"", "0"], "File": "SparcCodeEmitter", "Func": "getMachineOpValue", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15830, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isShuffleMaskLegal", "(", "const", "SmallVectorImpl", "<", "int", ">", "&", "M", ",", "EVT", "VT", ")", "const", "{", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "isPALIGNRMask", "(", "M", ",", "VT", ",", "Subtarget", "->", "hasSSSE3orAVX", "(", ")", ")", ";", "return", "(", "VT", ".", "getVectorNumElements", "(", ")", "==", "2", "||", "ShuffleVectorSDNode", "::", "isSplatMask", "(", "&", "M", "[", "0", "]", ",", "VT", ")", "||", "isMOVLMask", "(", "M", ",", "VT", ")", "||", "isSHUFPMask", "(", "M", ",", "VT", ")", "||", "isPSHUFDMask", "(", "M", ",", "VT", ")", "||", "isPSHUFHWMask", "(", "M", ",", "VT", ")", "||", "isPSHUFLWMask", "(", "M", ",", "VT", ")", "||", "isPALIGNRMask", "(", "M", ",", "VT", ",", "Subtarget", "->", "hasSSSE3orAVX", "(", ")", ")", "||", "isUNPCKLMask", "(", "M", ",", "VT", ",", "Subtarget", "->", "hasAVX2", "(", ")", ")", "||", "isUNPCKHMask", "(", "M", ",", "VT", ",", "Subtarget", "->", "hasAVX2", "(", ")", ")", "||", "isUNPCKL_v_undef_Mask", "(", "M", ",", "VT", ")", "||", "isUNPCKH_v_undef_Mask", "(", "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": ["X86", "X86", "64", "2", "0"], "File": "X86ISelLowering198", "Func": "isShuffleMaskLegal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15831, "Length": 155, "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": 15832, "Length": 352, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "MINA32RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "MINA32", "::", "R11", ":", "MINA32", "::", "SP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["MINA32", "MINA32", "MINA32::R11", "MINA32::SP"], "File": "MINA32RegisterInfo", "Func": "getFrameRegister", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15833, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "SystemZMCInstLower", "Lower", "(", "Mang", ",", "MF", "->", "getContext", "(", ")", ",", "*", "this", ")", ";", "MCInst", "LoweredMI", ";", "Lower", ".", "lower", "(", "MI", ",", "LoweredMI", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "LoweredMI", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ"], "File": "SystemZAsmPrinter3", "Func": "EmitInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15834, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "isReallyTriviallyReMaterializable", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "X86", "::", "MOV8rm", ":", "case", "X86", "::", "MOV16rm", ":", "case", "X86", "::", "MOV32rm", ":", "case", "X86", "::", "MOV64rm", ":", "case", "X86", "::", "LD_Fp64m", ":", "case", "X86", "::", "MOVSSrm", ":", "case", "X86", "::", "MOVSDrm", ":", "case", "X86", "::", "MOVAPSrm", ":", "case", "X86", "::", "MOVAPDrm", ":", "case", "X86", "::", "MOVDQArm", ":", "case", "X86", "::", "MMX_MOVD64rm", ":", "case", "X86", "::", "MMX_MOVQ64rm", ":", "{", "if", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", "&&", "MI", "->", "getOperand", "(", "3", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", "==", "0", "&&", "(", "MI", "->", "getOperand", "(", "4", ")", ".", "isCPI", "(", ")", "||", "(", "MI", "->", "getOperand", "(", "4", ")", ".", "isGlobal", "(", ")", "&&", "isGVStub", "(", "MI", "->", "getOperand", "(", "4", ")", ".", "getGlobal", "(", ")", ",", "TM", ")", ")", ")", ")", "{", "unsigned", "BaseReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "if", "(", "BaseReg", "==", "0", ")", "return", "true", ";", "if", "(", "!", "ReMatPICStubLoad", "&&", "MI", "->", "getOperand", "(", "4", ")", ".", "isGlobal", "(", ")", ")", "return", "false", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "bool", "isPICBase", "=", "false", ";", "for", "(", "MachineRegisterInfo", "::", "def_iterator", "I", "=", "MRI", ".", "def_begin", "(", "BaseReg", ")", ",", "E", "=", "MRI", ".", "def_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "MachineInstr", "*", "DefMI", "=", "I", ".", "getOperand", "(", ")", ".", "getParent", "(", ")", ";", "if", "(", "DefMI", "->", "getOpcode", "(", ")", "!=", "X86", "::", "MOVPC32r", ")", "return", "false", ";", "assert", "(", "!", "isPICBase", "&&", "\"More than one PIC base?\"", ")", ";", "isPICBase", "=", "true", ";", "}", "return", "isPICBase", ";", "}", "return", "false", ";", "}", "case", "X86", "::", "LEA32r", ":", "case", "X86", "::", "LEA64r", ":", "{", "if", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", "&&", "MI", "->", "getOperand", "(", "3", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", "==", "0", "&&", "!", "MI", "->", "getOperand", "(", "4", ")", ".", "isReg", "(", ")", ")", "{", "if", "(", "!", "MI", "->", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", ")", "return", "true", ";", "unsigned", "BaseReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "if", "(", "BaseReg", "==", "0", ")", "return", "true", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "return", "regIsPICBase", "(", "BaseReg", ",", "MRI", ")", ";", "}", "return", "false", ";", "}", "}", "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": ["X86", "X86", "X86::MOV8rm", "X86::MOV16rm", "X86::MOV32rm", "X86::MOV64rm", "X86::LD_Fp64m", "X86::MOVSSrm", "X86::MOVSDrm", "X86::MOVAPSrm", "X86::MOVAPDrm", "X86::MOVDQArm", "X86::MMX_MOVD64rm", "X86::MMX_MOVQ64rm", "1", "2", "3", "3", "0", "4", "4", "4", "1", "0", "4", "X86::MOVPC32r", "\"More than one PIC base?\"", "X86::LEA32r", "X86::LEA64r", "2", "3", "3", "0", "4", "1", "1", "0"], "File": "X86InstrInfo43", "Func": "isReallyTriviallyReMaterializable", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15835, "Length": 477, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86TargetLowering", "::", "ConstraintType", "X86TargetLowering", "::", "getConstraintType", "(", "StringRef", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'R'", ":", "case", "'q'", ":", "case", "'Q'", ":", "case", "'f'", ":", "case", "'t'", ":", "case", "'u'", ":", "case", "'y'", ":", "case", "'x'", ":", "case", "'v'", ":", "case", "'Y'", ":", "case", "'l'", ":", "return", "C_RegisterClass", ";", "case", "'k'", ":", "case", "'a'", ":", "case", "'b'", ":", "case", "'c'", ":", "case", "'d'", ":", "case", "'S'", ":", "case", "'D'", ":", "case", "'A'", ":", "return", "C_Register", ";", "case", "'I'", ":", "case", "'J'", ":", "case", "'K'", ":", "case", "'L'", ":", "case", "'M'", ":", "case", "'N'", ":", "case", "'G'", ":", "case", "'C'", ":", "case", "'e'", ":", "case", "'Z'", ":", "return", "C_Other", ";", "default", ":", "break", ";", "}", "}", "else", "if", "(", "Constraint", ".", "size", "(", ")", "==", "2", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'Y'", ":", "switch", "(", "Constraint", "[", "1", "]", ")", "{", "default", ":", "break", ";", "case", "'k'", ":", "return", "C_Register", ";", "}", "}", "}", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "."], "TS_V_token": ["X86", "X86", "X86", "1", "0", "2", "0", "1"], "File": "X86ISelLowering115", "Func": "getConstraintType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15836, "Length": 190, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_mode_exit", "(", "int", "entity", ")", "{", "switch", "(", "entity", ")", "{", "case", "X86_DIRFLAG", ":", "return", "X86_DIRFLAG_ANY", ";", "case", "AVX_U128", ":", "return", "ix86_avx_u128_mode_exit", "(", ")", ";", "case", "I387_ROUNDEVEN", ":", "case", "I387_TRUNC", ":", "case", "I387_FLOOR", ":", "case", "I387_CEIL", ":", "return", "I387_CW_ANY", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "a", "mode", "that", "ENTITY", "is", "assumed", "to", "be", "switched", "to", "at", "function", "exit", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_mode_exit", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15837, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ARM64RegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["ARM64", "ARM64"], "File": "ARM64InstrInfo", "Func": "getRegisterInfo", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15838, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "assert", "(", "&", "MF", ".", "front", "(", ")", "==", "&", "MBB", "&&", "\"Shrink-wrapping not yet supported\"", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "Mips16InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "Mips16InstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", ";", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "0", "&&", "!", "MFI", "->", "adjustsStack", "(", ")", ")", "return", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "MCRegisterInfo", "*", "MRI", "=", "MMI", ".", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MachineLocation", "DstML", ",", "SrcML", ";", "TII", ".", "makeFrame", "(", "Mips", "::", "SP", ",", "StackSize", ",", "MBB", ",", "MBBI", ")", ";", "unsigned", "CFIIndex", "=", "MMI", ".", "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", "(", ")", ")", "{", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", "->", "getCalleeSavedInfo", "(", ")", ";", "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", "DReg", "=", "MRI", "->", "getDwarfRegNum", "(", "Reg", ",", "true", ")", ";", "unsigned", "CFIIndex", "=", "MMI", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createOffset", "(", "nullptr", ",", "DReg", ",", "Offset", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "}", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "MoveR3216", ")", ",", "Mips", "::", "S0", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "\"Shrink-wrapping not yet supported\"", "Mips", "Mips", "0", "Mips::SP", "Mips::MoveR3216", "Mips::S0", "Mips::SP"], "File": "Mips16FrameLowering20", "Func": "emitPrologue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15839, "Length": 382, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_legitimate_constant_p", "(", "machine_mode", ",", "rtx", "x", ")", "{", "if", "(", "POINTER_BOUNDS_MODE_P", "(", "GET_MODE", "(", "x", ")", ")", ")", "return", "false", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "CONST", ":", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "{", "if", "(", "!", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "return", "false", ";", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "}", "if", "(", "TARGET_MACHO", "&&", "darwin_local_data_pic", "(", "x", ")", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", ")", "switch", "(", "XINT", "(", "x", ",", "1", ")", ")", "{", "case", "UNSPEC_GOT", ":", "case", "UNSPEC_GOTOFF", ":", "case", "UNSPEC_PLTOFF", ":", "return", "TARGET_64BIT", ";", "case", "UNSPEC_TPOFF", ":", "case", "UNSPEC_NTPOFF", ":", "x", "=", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ";", "return", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", "==", "TLS_MODEL_LOCAL_EXEC", ")", ";", "case", "UNSPEC_DTPOFF", ":", "x", "=", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ";", "return", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", "==", "TLS_MODEL_LOCAL_DYNAMIC", ")", ";", "default", ":", "return", "false", ";", "}", "if", "(", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "SYMBOL_REF", ")", "return", "false", ";", "case", "SYMBOL_REF", ":", "if", "(", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", ")", "return", "false", ";", "if", "(", "TARGET_DLLIMPORT_DECL_ATTRIBUTES", "&&", "SYMBOL_REF_DLLIMPORT_P", "(", "x", ")", ")", "return", "false", ";", "if", "(", "MACHO_DYNAMIC_NO_PIC_P", ")", "return", "machopic_symbol_defined_p", "(", "x", ")", ";", "break", ";", "case", "CONST_DOUBLE", ":", "if", "(", "GET_MODE", "(", "x", ")", "==", "TImode", "&&", "x", "!=", "CONST0_RTX", "(", "TImode", ")", "&&", "!", "TARGET_64BIT", ")", "return", "false", ";", "break", ";", "case", "CONST_VECTOR", ":", "if", "(", "!", "standard_sse_constant_p", "(", "x", ")", ")", "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": ["i386", "0", "1", "0", "1", "0", "0", "0", "0"], "File": "i3864", "Func": "ix86_legitimate_constant_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15840, "Length": 304, "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": 15841, "Length": 67, "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": 15842, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "dump_target_flag_bits", "(", "const", "int", "flags", ")", "{", "if", "(", "flags", "&", "MASK_64BIT", ")", "fprintf", "(", "stderr", ",", "\"64BIT \"", ")", ";", "if", "(", "flags", "&", "MASK_APP_REGS", ")", "fprintf", "(", "stderr", ",", "\"APP_REGS \"", ")", ";", "if", "(", "flags", "&", "MASK_FASTER_STRUCTS", ")", "fprintf", "(", "stderr", ",", "\"FASTER_STRUCTS \"", ")", ";", "if", "(", "flags", "&", "MASK_FLAT", ")", "fprintf", "(", "stderr", ",", "\"FLAT \"", ")", ";", "if", "(", "flags", "&", "MASK_FMAF", ")", "fprintf", "(", "stderr", ",", "\"FMAF \"", ")", ";", "if", "(", "flags", "&", "MASK_FPU", ")", "fprintf", "(", "stderr", ",", "\"FPU \"", ")", ";", "if", "(", "flags", "&", "MASK_HARD_QUAD", ")", "fprintf", "(", "stderr", ",", "\"HARD_QUAD \"", ")", ";", "if", "(", "flags", "&", "MASK_POPC", ")", "fprintf", "(", "stderr", ",", "\"POPC \"", ")", ";", "if", "(", "flags", "&", "MASK_PTR64", ")", "fprintf", "(", "stderr", ",", "\"PTR64 \"", ")", ";", "if", "(", "flags", "&", "MASK_STACK_BIAS", ")", "fprintf", "(", "stderr", ",", "\"STACK_BIAS \"", ")", ";", "if", "(", "flags", "&", "MASK_UNALIGNED_DOUBLES", ")", "fprintf", "(", "stderr", ",", "\"UNALIGNED_DOUBLES \"", ")", ";", "if", "(", "flags", "&", "MASK_V8PLUS", ")", "fprintf", "(", "stderr", ",", "\"V8PLUS \"", ")", ";", "if", "(", "flags", "&", "MASK_VIS", ")", "fprintf", "(", "stderr", ",", "\"VIS \"", ")", ";", "if", "(", "flags", "&", "MASK_VIS2", ")", "fprintf", "(", "stderr", ",", "\"VIS2 \"", ")", ";", "if", "(", "flags", "&", "MASK_VIS3", ")", "fprintf", "(", "stderr", ",", "\"VIS3 \"", ")", ";", "if", "(", "flags", "&", "MASK_VIS4", ")", "fprintf", "(", "stderr", ",", "\"VIS4 \"", ")", ";", "if", "(", "flags", "&", "MASK_CBCOND", ")", "fprintf", "(", "stderr", ",", "\"CBCOND \"", ")", ";", "if", "(", "flags", "&", "MASK_DEPRECATED_V8_INSNS", ")", "fprintf", "(", "stderr", ",", "\"DEPRECATED_V8_INSNS \"", ")", ";", "if", "(", "flags", "&", "MASK_SPARCLET", ")", "fprintf", "(", "stderr", ",", "\"SPARCLET \"", ")", ";", "if", "(", "flags", "&", "MASK_SPARCLITE", ")", "fprintf", "(", "stderr", ",", "\"SPARCLITE \"", ")", ";", "if", "(", "flags", "&", "MASK_V8", ")", "fprintf", "(", "stderr", ",", "\"V8 \"", ")", ";", "if", "(", "flags", "&", "MASK_V9", ")", "fprintf", "(", "stderr", ",", "\"V9 \"", ")", ";", "}", ""], "natrual_language": ["Helpers", "for", "TARGET_DEBUG_OPTIONS", "."], "TS_V_token": ["sparc", "\"64BIT \"", "\"APP_REGS \"", "\"FASTER_STRUCTS \"", "\"FLAT \"", "\"FMAF \"", "\"FPU \"", "\"HARD_QUAD \"", "\"POPC \"", "\"PTR64 \"", "\"STACK_BIAS \"", "\"UNALIGNED_DOUBLES \"", "\"V8PLUS \"", "\"VIS \"", "\"VIS2 \"", "\"VIS3 \"", "\"VIS4 \"", "\"CBCOND \"", "\"DEPRECATED_V8_INSNS \"", "\"SPARCLET \"", "\"SPARCLITE \"", "\"V8 \"", "\"V9 \""], "File": "sparc6", "Func": "dump_target_flag_bits", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15843, "Length": 296, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "MipsRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "static", "const", "uint16_t", "ReservedCPURegs", "[", "]", "=", "{", "Mips", "::", "ZERO", ",", "Mips", "::", "K0", ",", "Mips", "::", "K1", ",", "Mips", "::", "SP", "}", ";", "static", "const", "uint16_t", "ReservedCPU64Regs", "[", "]", "=", "{", "Mips", "::", "ZERO_64", ",", "Mips", "::", "K0_64", ",", "Mips", "::", "K1_64", ",", "Mips", "::", "SP_64", "}", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "typedef", "TargetRegisterClass", "::", "const_iterator", "RegIter", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "ReservedCPURegs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedCPURegs", "[", "I", "]", ")", ";", "if", "(", "Subtarget", ".", "isTargetNaCl", "(", ")", ")", "{", "static", "const", "uint16_t", "PnaclReservedCPURegs", "[", "]", "=", "{", "Mips", "::", "T6", ",", "Mips", "::", "T7", ",", "Mips", "::", "T8", "}", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "PnaclReservedCPURegs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "PnaclReservedCPURegs", "[", "I", "]", ")", ";", "}", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "ReservedCPU64Regs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedCPU64Regs", "[", "I", "]", ")", ";", "if", "(", "Subtarget", ".", "hasMips64", "(", ")", ")", "{", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "AFGR64RegClass", ".", "begin", "(", ")", ",", "EReg", "=", "Mips", "::", "AFGR64RegClass", ".", "end", "(", ")", ";", "Reg", "!=", "EReg", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "}", "else", "{", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "FGR64RegClass", ".", "begin", "(", ")", ",", "EReg", "=", "Mips", "::", "FGR64RegClass", ".", "end", "(", ")", ";", "Reg", "!=", "EReg", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "}", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "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", "::", "HWR29_64", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "DSPCtrl", ")", ";", "if", "(", "Subtarget", ".", "inMips16Mode", "(", ")", ")", "{", "Reserved", ".", "set", "(", "Mips", "::", "RA", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "RA_64", ")", ";", "}", "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", "0", "Mips", "Mips::AFGR64RegClass", "Mips::AFGR64RegClass", "Mips::FGR64RegClass", "Mips::FGR64RegClass", "Mips", "Mips::S0", "Mips::FP", "Mips::FP_64", "Mips::HWR29", "Mips::HWR29_64", "Mips::DSPCtrl", "Mips", "Mips::RA", "Mips::RA_64", "Mips::GP", "Mips::GP_64"], "File": "MipsRegisterInfo33", "Func": "getReservedRegs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15844, "Length": 421, "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": 15845, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZTargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", ",", "unsigned", ",", "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": ["SystemZ", "SystemZ"], "File": "SystemZISelLowering (2)1", "Func": "allowsMisalignedMemoryAccesses", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15846, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "sparc_arg_partial_bytes", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "bool", "named", ")", "{", "int", "slotno", ",", "regno", ",", "padding", ";", "slotno", "=", "function_arg_slotno", "(", "cum", ",", "mode", ",", "type", ",", "named", ",", "0", ",", "&", "regno", ",", "&", "padding", ")", ";", "if", "(", "slotno", "==", "-", "1", ")", "return", "0", ";", "if", "(", "TARGET_ARCH32", ")", "{", "if", "(", "(", "slotno", "+", "(", "mode", "==", "BLKmode", "?", "ROUND_ADVANCE", "(", "int_size_in_bytes", "(", "type", ")", ")", ":", "ROUND_ADVANCE", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", ")", ")", ">", "SPARC_INT_ARG_MAX", ")", "return", "(", "SPARC_INT_ARG_MAX", "-", "slotno", ")", "*", "UNITS_PER_WORD", ";", "}", "else", "{", "if", "(", "type", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "int", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "if", "(", "size", ">", "UNITS_PER_WORD", "&&", "slotno", "==", "SPARC_INT_ARG_MAX", "-", "1", ")", "return", "UNITS_PER_WORD", ";", "}", "else", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_INT", "||", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_FLOAT", "&&", "!", "(", "TARGET_FPU", "&&", "named", ")", ")", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "UNITS_PER_WORD", "&&", "slotno", "==", "SPARC_INT_ARG_MAX", "-", "1", ")", "return", "UNITS_PER_WORD", ";", "}", "else", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_FLOAT", ")", "{", "if", "(", "(", "slotno", "+", "GET_MODE_SIZE", "(", "mode", ")", "/", "UNITS_PER_WORD", ")", ">", "SPARC_FP_ARG_MAX", ")", "return", "UNITS_PER_WORD", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["For", "an", "arg", "passed", "partly", "in", "registers", "and", "partly", "in", "memory", ",", "this", "is", "the", "number", "of", "bytes", "of", "registers", "used", ".", "For", "args", "passed", "entirely", "in", "registers", "or", "entirely", "in", "memory", ",", "zero", ".", "Any", "arg", "that", "starts", "in", "the", "first", "6", "regs", "but", "wo", "n't", "entirely", "fit", "in", "them", "needs", "partial", "registers", "on", "v8", ".", "On", "v9", ",", "structures", "with", "integer", "values", "in", "arg", "slots", "5,6", "will", "be", "passed", "in", "%", "o5", "and", "SP+176", ",", "and", "complex", "fp", "values", "that", "begin", "in", "the", "last", "fp", "reg", "[", "where", "``", "last", "fp", "reg", "''", "varies", "with", "the", "mode", "]", "will", "be", "split", "between", "that", "reg", "and", "memory", "."], "TS_V_token": ["sparc", "0", "1", "0", "1", "1", "0"], "File": "sparc3", "Func": "sparc_arg_partial_bytes", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15847, "Length": 219, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "sparc_gimplify_va_arg", "(", "tree", "valist", ",", "tree", "type", ",", "gimple_seq", "*", "pre_p", ",", "gimple_seq", "*", "post_p", ")", "{", "HOST_WIDE_INT", "size", ",", "rsize", ",", "align", ";", "tree", "addr", ",", "incr", ";", "bool", "indirect", ";", "tree", "ptrtype", "=", "build_pointer_type", "(", "type", ")", ";", "if", "(", "pass_va_arg_by_reference", "(", "type", ")", ")", "{", "indirect", "=", "true", ";", "size", "=", "rsize", "=", "UNITS_PER_WORD", ";", "align", "=", "0", ";", "}", "else", "{", "indirect", "=", "false", ";", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "rsize", "=", "ROUND_UP", "(", "size", ",", "UNITS_PER_WORD", ")", ";", "align", "=", "0", ";", "if", "(", "TARGET_ARCH64", ")", "{", "if", "(", "TYPE_ALIGN", "(", "type", ")", ">=", "2", "*", "(", "unsigned", ")", "BITS_PER_WORD", ")", "align", "=", "2", "*", "UNITS_PER_WORD", ";", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "if", "(", "size", "==", "0", ")", "size", "=", "rsize", "=", "UNITS_PER_WORD", ";", "else", "size", "=", "rsize", ";", "}", "}", "}", "incr", "=", "valist", ";", "if", "(", "align", ")", "{", "incr", "=", "fold_build_pointer_plus_hwi", "(", "incr", ",", "align", "-", "1", ")", ";", "incr", "=", "fold_convert", "(", "sizetype", ",", "incr", ")", ";", "incr", "=", "fold_build2", "(", "BIT_AND_EXPR", ",", "sizetype", ",", "incr", ",", "size_int", "(", "-", "align", ")", ")", ";", "incr", "=", "fold_convert", "(", "ptr_type_node", ",", "incr", ")", ";", "}", "gimplify_expr", "(", "&", "incr", ",", "pre_p", ",", "post_p", ",", "is_gimple_val", ",", "fb_rvalue", ")", ";", "addr", "=", "incr", ";", "if", "(", "BYTES_BIG_ENDIAN", "&&", "size", "<", "rsize", ")", "addr", "=", "fold_build_pointer_plus_hwi", "(", "incr", ",", "rsize", "-", "size", ")", ";", "if", "(", "indirect", ")", "{", "addr", "=", "fold_convert", "(", "build_pointer_type", "(", "ptrtype", ")", ",", "addr", ")", ";", "addr", "=", "build_va_arg_indirect_ref", "(", "addr", ")", ";", "}", "else", "if", "(", "align", "==", "0", "&&", "TYPE_ALIGN", "(", "type", ")", ">", "BITS_PER_WORD", ")", "{", "tree", "tmp", "=", "create_tmp_var", "(", "type", ",", "\"va_arg_tmp\"", ")", ";", "tree", "dest_addr", "=", "build_fold_addr_expr", "(", "tmp", ")", ";", "tree", "copy", "=", "build_call_expr", "(", "builtin_decl_implicit", "(", "BUILT_IN_MEMCPY", ")", ",", "3", ",", "dest_addr", ",", "addr", ",", "size_int", "(", "rsize", ")", ")", ";", "TREE_ADDRESSABLE", "(", "tmp", ")", "=", "1", ";", "gimplify_and_add", "(", "copy", ",", "pre_p", ")", ";", "addr", "=", "dest_addr", ";", "}", "else", "addr", "=", "fold_convert", "(", "ptrtype", ",", "addr", ")", ";", "incr", "=", "fold_build_pointer_plus_hwi", "(", "incr", ",", "rsize", ")", ";", "gimplify_assign", "(", "valist", ",", "incr", ",", "post_p", ")", ";", "return", "build_va_arg_indirect_ref", "(", "addr", ")", ";", "}", ""], "natrual_language": ["Implement", "`", "va_arg", "'", "for", "stdarg", "."], "TS_V_token": ["sparc", "0", "0", "2", "2", "0", "1", "0", "\"va_arg_tmp\"", "3", "1"], "File": "sparc", "Func": "sparc_gimplify_va_arg", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15848, "Length": 371, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isReg", "(", ")", "const", "override", "{", "return", "Kind", "==", "REGISTER", ";", "}", ""], "natrual_language": ["isReg", "-", "Is", "this", "a", "register", "operand", "?"], "TS_V_token": ["DLX"], "File": "DLXAsmParser", "Func": "isReg", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15849, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "AArch64TargetLowering", "::", "shouldExpandAtomicRMWInIR", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "if", "(", "AI", "->", "isFloatingPointOperation", "(", ")", ")", "return", "AtomicExpansionKind", "::", "CmpXChg", ";", "unsigned", "Size", "=", "AI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "Size", ">", "128", ")", "return", "AtomicExpansionKind", "::", "None", ";", "if", "(", "AI", "->", "getOperation", "(", ")", "==", "AtomicRMWInst", "::", "Nand", ")", "return", "AtomicExpansionKind", "::", "LLSC", ";", "if", "(", "Subtarget", "->", "hasLSE", "(", ")", "&&", "Size", "<", "128", ")", "return", "AtomicExpansionKind", "::", "None", ";", "if", "(", "Subtarget", "->", "outlineAtomics", "(", ")", "&&", "Size", "<", "128", ")", "{", "if", "(", "AI", "->", "getOperation", "(", ")", "!=", "AtomicRMWInst", "::", "Min", "&&", "AI", "->", "getOperation", "(", ")", "!=", "AtomicRMWInst", "::", "Max", "&&", "AI", "->", "getOperation", "(", ")", "!=", "AtomicRMWInst", "::", "UMin", "&&", "AI", "->", "getOperation", "(", ")", "!=", "AtomicRMWInst", "::", "UMax", ")", "{", "return", "AtomicExpansionKind", "::", "None", ";", "}", "}", "return", "AtomicExpansionKind", "::", "LLSC", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "IR-level", "AtomicExpand", "pass", "should", "expand", "the", "given", "AtomicRMW", ",", "if", "at", "all", "."], "TS_V_token": ["AArch64", "AArch64", "128", "128", "128"], "File": "AArch64ISelLowering10", "Func": "shouldExpandAtomicRMWInIR", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15850, "Length": 153, "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 so far: \"", ";", ")", ";", "}", "else", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"** Tried : \"", ";", ")", ";", "DEBUG", "(", "HazardRec", "->", "dumpSU", "(", "c", ".", "SU", ",", "dbgs", "(", ")", ")", ";", "c", ".", "dumpCosts", "(", ")", ";", "dbgs", "(", ")", "<<", "\" Height:\"", "<<", "c", ".", "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 so far: \"", "\"** Tried : \"", "\" Height:\"", "\"\\n\""], "File": "SystemZMachineScheduler12", "Func": "pickNode", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15851, "Length": 230, "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", "->", "isAAPCS_ABI", "(", ")", "||", "Subtarget", "->", "isTargetMachO", "(", ")", "||", "Subtarget", "->", "isTargetWindows", "(", ")", ")", "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": "ARMSelectionDAGInfo30", "Func": "EmitTargetCodeForMemset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15852, "Length": 342, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_expand_builtin_va_start", "(", "tree", "valist", ",", "rtx", "nextarg", "ATTRIBUTE_UNUSED", ")", "{", "const", "CUMULATIVE_ARGS", "*", "cum", ";", "tree", "f_stack", ",", "f_grtop", ",", "f_vrtop", ",", "f_groff", ",", "f_vroff", ";", "tree", "stack", ",", "grtop", ",", "vrtop", ",", "groff", ",", "vroff", ";", "tree", "t", ";", "int", "gr_save_area_size", ";", "int", "vr_save_area_size", ";", "int", "vr_offset", ";", "cum", "=", "&", "crtl", "->", "args", ".", "info", ";", "gr_save_area_size", "=", "(", "NUM_ARG_REGS", "-", "cum", "->", "aapcs_ncrn", ")", "*", "UNITS_PER_WORD", ";", "vr_save_area_size", "=", "(", "NUM_FP_ARG_REGS", "-", "cum", "->", "aapcs_nvrn", ")", "*", "UNITS_PER_VREG", ";", "if", "(", "TARGET_GENERAL_REGS_ONLY", ")", "{", "if", "(", "cum", "->", "aapcs_nvrn", ">", "0", ")", "sorry", "(", "\"%qs and floating point or vector arguments\"", ",", "\"-mgeneral-regs-only\"", ")", ";", "vr_save_area_size", "=", "0", ";", "}", "f_stack", "=", "TYPE_FIELDS", "(", "va_list_type_node", ")", ";", "f_grtop", "=", "DECL_CHAIN", "(", "f_stack", ")", ";", "f_vrtop", "=", "DECL_CHAIN", "(", "f_grtop", ")", ";", "f_groff", "=", "DECL_CHAIN", "(", "f_vrtop", ")", ";", "f_vroff", "=", "DECL_CHAIN", "(", "f_groff", ")", ";", "stack", "=", "build3", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_stack", ")", ",", "valist", ",", "f_stack", ",", "NULL_TREE", ")", ";", "grtop", "=", "build3", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_grtop", ")", ",", "valist", ",", "f_grtop", ",", "NULL_TREE", ")", ";", "vrtop", "=", "build3", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_vrtop", ")", ",", "valist", ",", "f_vrtop", ",", "NULL_TREE", ")", ";", "groff", "=", "build3", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_groff", ")", ",", "valist", ",", "f_groff", ",", "NULL_TREE", ")", ";", "vroff", "=", "build3", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_vroff", ")", ",", "valist", ",", "f_vroff", ",", "NULL_TREE", ")", ";", "t", "=", "make_tree", "(", "TREE_TYPE", "(", "stack", ")", ",", "virtual_incoming_args_rtx", ")", ";", "if", "(", "cum", "->", "aapcs_stack_size", ">", "0", ")", "t", "=", "fold_build_pointer_plus_hwi", "(", "t", ",", "cum", "->", "aapcs_stack_size", "*", "UNITS_PER_WORD", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "stack", ")", ",", "stack", ",", "t", ")", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "t", "=", "make_tree", "(", "TREE_TYPE", "(", "grtop", ")", ",", "virtual_incoming_args_rtx", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "grtop", ")", ",", "grtop", ",", "t", ")", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "t", "=", "make_tree", "(", "TREE_TYPE", "(", "vrtop", ")", ",", "virtual_incoming_args_rtx", ")", ";", "vr_offset", "=", "AARCH64_ROUND_UP", "(", "gr_save_area_size", ",", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ")", ";", "if", "(", "vr_offset", ")", "t", "=", "fold_build_pointer_plus_hwi", "(", "t", ",", "-", "vr_offset", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "vrtop", ")", ",", "vrtop", ",", "t", ")", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "groff", ")", ",", "groff", ",", "build_int_cst", "(", "TREE_TYPE", "(", "groff", ")", ",", "-", "gr_save_area_size", ")", ")", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "vroff", ")", ",", "vroff", ",", "build_int_cst", "(", "TREE_TYPE", "(", "vroff", ")", ",", "-", "vr_save_area_size", ")", ")", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_EXPAND_BUILTIN_VA_START", "."], "TS_V_token": ["aarch64", "0", "\"%qs and floating point or vector arguments\"", "\"-mgeneral-regs-only\"", "0", "0"], "File": "aarch642", "Func": "aarch64_expand_builtin_va_start", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15853, "Length": 470, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCPassConfig", "::", "addMachineSSAOptimization", "(", ")", "{", "TargetPassConfig", "::", "addMachineSSAOptimization", "(", ")", ";", "if", "(", "Triple", "(", "TM", "->", "getTargetTriple", "(", ")", ")", ".", "getArch", "(", ")", "==", "Triple", "::", "ppc64le", "&&", "!", "DisableVSXSwapRemoval", ")", "addPass", "(", "createPPCVSXSwapRemovalPass", "(", ")", ")", ";", "}", ""], "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"], "File": "PPCTargetMachine72", "Func": "addMachineSSAOptimization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15854, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"SystemZ Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["SystemZ", "\"SystemZ Assembly Printer\""], "File": "SystemZAsmPrinter", "Func": "getPassName", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15855, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_vectorize_builtin_scatter", "(", "const_tree", "vectype", ",", "const_tree", "index_type", ",", "int", "scale", ")", "{", "bool", "si", ";", "enum", "ix86_builtins", "code", ";", "if", "(", "!", "TARGET_AVX512F", ")", "return", "NULL_TREE", ";", "if", "(", "(", "TREE_CODE", "(", "index_type", ")", "!=", "INTEGER_TYPE", "&&", "!", "POINTER_TYPE_P", "(", "index_type", ")", ")", "||", "(", "TYPE_MODE", "(", "index_type", ")", "!=", "SImode", "&&", "TYPE_MODE", "(", "index_type", ")", "!=", "DImode", ")", ")", "return", "NULL_TREE", ";", "if", "(", "TYPE_PRECISION", "(", "index_type", ")", ">", "POINTER_SIZE", ")", "return", "NULL_TREE", ";", "if", "(", "TYPE_PRECISION", "(", "index_type", ")", "<", "POINTER_SIZE", "&&", "TYPE_UNSIGNED", "(", "index_type", ")", ")", "return", "NULL_TREE", ";", "if", "(", "scale", "<=", "0", "||", "scale", ">", "8", "||", "(", "scale", "&", "(", "scale", "-", "1", ")", ")", "!=", "0", ")", "return", "NULL_TREE", ";", "si", "=", "TYPE_MODE", "(", "index_type", ")", "==", "SImode", ";", "switch", "(", "TYPE_MODE", "(", "vectype", ")", ")", "{", "case", "V8DFmode", ":", "code", "=", "si", "?", "IX86_BUILTIN_SCATTERALTSIV8DF", ":", "IX86_BUILTIN_SCATTERDIV8DF", ";", "break", ";", "case", "V8DImode", ":", "code", "=", "si", "?", "IX86_BUILTIN_SCATTERALTSIV8DI", ":", "IX86_BUILTIN_SCATTERDIV8DI", ";", "break", ";", "case", "V16SFmode", ":", "code", "=", "si", "?", "IX86_BUILTIN_SCATTERSIV16SF", ":", "IX86_BUILTIN_SCATTERALTDIV16SF", ";", "break", ";", "case", "V16SImode", ":", "code", "=", "si", "?", "IX86_BUILTIN_SCATTERSIV16SI", ":", "IX86_BUILTIN_SCATTERALTDIV16SI", ";", "break", ";", "default", ":", "return", "NULL_TREE", ";", "}", "return", "ix86_builtins", "[", "code", "]", ";", "}", ""], "natrual_language": ["Returns", "a", "decl", "of", "a", "function", "that", "implements", "scatter", "store", "with", "register", "type", "VECTYPE", "and", "index", "type", "INDEX_TYPE", "and", "SCALE", ".", "Return", "NULL_TREE", "if", "it", "is", "not", "available", "."], "TS_V_token": ["i386", "0", "8", "1", "0"], "File": "i3865", "Func": "ix86_vectorize_builtin_scatter", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15856, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "(", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "TRI", "->", "needsStackRealignment", "(", "MF", ")", "||", "MFI", ".", "hasVarSizedObjects", "(", ")", "||", "MFI", ".", "isFrameAddressTaken", "(", ")", "||", "MFI", ".", "hasOpaqueSPAdjustment", "(", ")", "||", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "getForceFramePointer", "(", ")", "||", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "hasPreallocatedCall", "(", ")", "||", "MF", ".", "callsUnwindInit", "(", ")", "||", "MF", ".", "hasEHFunclets", "(", ")", "||", "MF", ".", "callsEHReturn", "(", ")", "||", "MFI", ".", "hasStackMap", "(", ")", "||", "MFI", ".", "hasPatchPoint", "(", ")", "||", "MFI", ".", "hasCopyImplyingStackAdjustment", "(", ")", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86FrameLowering101", "Func": "hasFP", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15857, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "ARMBaseRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "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", "(", "FramePtr", ")", ";", "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::SP", "ARM::PC", "ARM::FPSCR", "ARM::APSR_NZCV", "ARM::R9", "ARM::D31", "ARM::D16", "15", "0", "16", "ARM::D16", "ARM::GPRPairRegClass"], "File": "ARMBaseRegisterInfo37", "Func": "getReservedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15858, "Length": 253, "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", ".", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ")", "{", "bool", "Fast", ";", "if", "(", "Size", ">=", "16", "&&", "(", "memOpAlign", "(", "SrcAlign", ",", "DstAlign", ",", "16", ")", "||", "(", "allowsMisalignedMemoryAccesses", "(", "MVT", "::", "v2f64", ",", "0", ",", "1", ",", "&", "Fast", ")", "&&", "Fast", ")", ")", ")", "{", "return", "MVT", "::", "v2f64", ";", "}", "else", "if", "(", "Size", ">=", "8", "&&", "(", "memOpAlign", "(", "SrcAlign", ",", "DstAlign", ",", "8", ")", "||", "(", "allowsMisalignedMemoryAccesses", "(", "MVT", "::", "f64", ",", "0", ",", "1", ",", "&", "Fast", ")", "&&", "Fast", ")", ")", ")", "{", "return", "MVT", "::", "f64", ";", "}", "}", "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", "0", "1", "MVT::v2f64", "8", "8", "MVT::f64", "0", "1", "MVT::f64", "MVT::Other"], "File": "ARMISelLowering (3)", "Func": "getOptimalMemOpType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15859, "Length": 161, "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": 15860, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "optimizeCompareInstr", "(", "MachineInstr", "&", "CmpInstr", ",", "Register", "SrcReg", ",", "Register", "SrcReg2", ",", "int", "CmpMask", ",", "int", "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", ";", "}", "assert", "(", "(", "CmpValue", "==", "0", "||", "CmpValue", "==", "1", ")", "&&", "\"CmpValue must be 0 or 1!\"", ")", ";", "if", "(", "CmpValue", "!=", "0", "||", "SrcReg2", "!=", "0", ")", "return", "false", ";", "if", "(", "!", "MRI", "->", "use_nodbg_empty", "(", "CmpInstr", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", "return", "false", ";", "return", "substituteCmpToZero", "(", "CmpInstr", ",", "SrcReg", ",", "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!\"", "0", "1", "\"CmpValue must be 0 or 1!\"", "0", "0", "0"], "File": "AArch64InstrInfo121", "Func": "optimizeCompareInstr", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15861, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "fold_mergehl_helper", "(", "gimple_stmt_iterator", "*", "gsi", ",", "gimple", "*", "stmt", ",", "int", "use_high", ")", "{", "tree", "arg0", "=", "gimple_call_arg", "(", "stmt", ",", "0", ")", ";", "tree", "arg1", "=", "gimple_call_arg", "(", "stmt", ",", "1", ")", ";", "tree", "lhs", "=", "gimple_call_lhs", "(", "stmt", ")", ";", "tree", "lhs_type", "=", "TREE_TYPE", "(", "lhs", ")", ";", "int", "n_elts", "=", "TYPE_VECTOR_SUBPARTS", "(", "lhs_type", ")", ";", "int", "midpoint", "=", "n_elts", "/", "2", ";", "int", "offset", "=", "0", ";", "if", "(", "use_high", "==", "1", ")", "offset", "=", "midpoint", ";", "tree", "permute_type", ";", "permute_type", "=", "map_to_integral_tree_type", "(", "lhs_type", ")", ";", "tree_vector_builder", "elts", "(", "permute_type", ",", "VECTOR_CST_NELTS", "(", "arg0", ")", ",", "1", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "midpoint", ";", "i", "++", ")", "{", "elts", ".", "safe_push", "(", "build_int_cst", "(", "TREE_TYPE", "(", "permute_type", ")", ",", "offset", "+", "i", ")", ")", ";", "elts", ".", "safe_push", "(", "build_int_cst", "(", "TREE_TYPE", "(", "permute_type", ")", ",", "offset", "+", "n_elts", "+", "i", ")", ")", ";", "}", "tree", "permute", "=", "elts", ".", "build", "(", ")", ";", "gimple", "*", "g", "=", "gimple_build_assign", "(", "lhs", ",", "VEC_PERM_EXPR", ",", "arg0", ",", "arg1", ",", "permute", ")", ";", "gimple_set_location", "(", "g", ",", "gimple_location", "(", "stmt", ")", ")", ";", "gsi_replace", "(", "gsi", ",", "g", ",", "true", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "handle", "the", "vector", "merge", "[", "hl", "]", "built-ins", ".", "The", "implementation", "difference", "between", "h", "and", "l", "versions", "for", "this", "code", "are", "in", "the", "values", "used", "when", "building", "of", "the", "permute", "vector", "for", "high", "word", "versus", "low", "word", "merge", ".", "The", "variance", "is", "keyed", "off", "the", "use_high", "parameter", "."], "TS_V_token": ["rs6000", "0", "1", "2", "0", "1", "1", "0"], "File": "rs6000-builtin", "Func": "fold_mergehl_helper", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15862, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "MipsFunctionInfo", "::", "getGlobalBaseReg", "(", ")", "{", "if", "(", "!", "GlobalBaseReg", ")", "GlobalBaseReg", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "&", "getGlobalBaseRegClass", "(", "MF", ")", ")", ";", "return", "GlobalBaseReg", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsMachineFunction23", "Func": "getGlobalBaseReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15863, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintWeight", "AArch64TargetLowering", "::", "getSingleConstraintMatchWeight", "(", "AsmOperandInfo", "&", "Info", ",", "const", "char", "*", "Constraint", ")", "const", "{", "llvm_unreachable", "(", "\"Constraint weight unimplemented\"", ")", ";", "}", ""], "natrual_language": ["Examine", "constraint", "string", "and", "operand", "type", "and", "determine", "a", "weight", "value", "."], "TS_V_token": ["AArch64", "AArch64", "\"Constraint weight unimplemented\""], "File": "AArch64ISelLowering109", "Func": "getSingleConstraintMatchWeight", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15864, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mark_constant_pool_use", "(", "rtx", "x", ")", "{", "rtx_insn", "*", "insn", ",", "*", "lab", ";", "rtx", "pattern", ";", "if", "(", "x", "==", "NULL_RTX", ")", "return", "x", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "LABEL_REF", ":", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "case", "CODE_LABEL", ":", "break", ";", "default", ":", "return", "x", ";", "}", "lab", "=", "as_a", "<", "rtx_insn", "*", ">", "(", "x", ")", ";", "for", "(", "insn", "=", "PREV_INSN", "(", "lab", ")", ";", "insn", ";", "insn", "=", "PREV_INSN", "(", "insn", ")", ")", "{", "if", "(", "!", "LABEL_P", "(", "insn", ")", "||", "LABEL_REFS", "(", "insn", ")", "!=", "NEXT_INSN", "(", "insn", ")", ")", "break", ";", "lab", "=", "insn", ";", "}", "for", "(", "rtx", "insn", "=", "LABEL_REFS", "(", "lab", ")", ";", "insn", ";", "insn", "=", "LABEL_REFS", "(", "insn", ")", ")", "as_a", "<", "rtx_insn", "*", ">", "(", "insn", ")", "->", "set_deleted", "(", ")", ";", "for", "(", "insn", "=", "NEXT_INSN", "(", "as_a", "<", "rtx_insn", "*", ">", "(", "x", ")", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "if", "(", "!", "NONJUMP_INSN_P", "(", "insn", ")", ")", "continue", ";", "pattern", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pattern", ")", "!=", "UNSPEC_VOLATILE", ")", "continue", ";", "switch", "(", "XINT", "(", "pattern", ",", "1", ")", ")", "{", "case", "UNSPECV_CONST2", ":", "case", "UNSPECV_CONST4", ":", "case", "UNSPECV_CONST8", ":", "XVECEXP", "(", "pattern", ",", "0", ",", "1", ")", "=", "const1_rtx", ";", "break", ";", "case", "UNSPECV_WINDOW_END", ":", "if", "(", "XVECEXP", "(", "pattern", ",", "0", ",", "0", ")", "==", "x", ")", "return", "lab", ";", "break", ";", "case", "UNSPECV_CONST_END", ":", "return", "lab", ";", "default", ":", "break", ";", "}", "}", "return", "lab", ";", "}", ""], "natrual_language": ["Mark", "the", "use", "of", "a", "constant", "in", "the", "literal", "table", ".", "If", "the", "constant", "has", "multiple", "labels", ",", "make", "it", "unique", "."], "TS_V_token": ["sh", "0", "1", "0", "1", "0", "0"], "File": "sh4", "Func": "mark_constant_pool_use", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15865, "Length": 268, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "isPredicable", "(", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "OpC", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "OpC", ")", "{", "default", ":", "return", "false", ";", "case", "PPC", "::", "B", ":", "case", "PPC", "::", "BLR", ":", "case", "PPC", "::", "BLR8", ":", "case", "PPC", "::", "BCTR", ":", "case", "PPC", "::", "BCTR8", ":", "case", "PPC", "::", "BCTRL", ":", "case", "PPC", "::", "BCTRL8", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "instruction", "can", "be", "predicated", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::B", "PPC::BLR", "PPC::BLR8", "PPC::BCTR", "PPC::BCTR8", "PPC::BCTRL", "PPC::BCTRL8"], "File": "PPCInstrInfo100", "Func": "isPredicable", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15866, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_pop_regs", "(", "unsigned", "regno1", ",", "unsigned", "regno2", ",", "HOST_WIDE_INT", "adjustment", ",", "rtx", "*", "cfi_ops", ")", "{", "machine_mode", "mode", "=", "(", "regno1", "<=", "R30_REGNUM", ")", "?", "DImode", ":", "DFmode", ";", "rtx", "reg1", "=", "gen_rtx_REG", "(", "mode", ",", "regno1", ")", ";", "*", "cfi_ops", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg1", ",", "*", "cfi_ops", ")", ";", "if", "(", "regno2", "==", "INVALID_REGNUM", ")", "{", "rtx", "mem", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "adjustment", ")", ";", "mem", "=", "gen_rtx_POST_MODIFY", "(", "Pmode", ",", "stack_pointer_rtx", ",", "mem", ")", ";", "emit_move_insn", "(", "reg1", ",", "gen_rtx_MEM", "(", "mode", ",", "mem", ")", ")", ";", "}", "else", "{", "rtx", "reg2", "=", "gen_rtx_REG", "(", "mode", ",", "regno2", ")", ";", "*", "cfi_ops", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg2", ",", "*", "cfi_ops", ")", ";", "emit_insn", "(", "aarch64_gen_loadwb_pair", "(", "mode", ",", "stack_pointer_rtx", ",", "reg1", ",", "reg2", ",", "adjustment", ")", ")", ";", "}", "}", ""], "natrual_language": ["Pop", "the", "two", "registers", "numbered", "REGNO1", ",", "REGNO2", "from", "the", "stack", ",", "adjusting", "it", "afterwards", "by", "ADJUSTMENT", "and", "writing", "the", "appropriate", "REG_CFA_RESTORE", "notes", "into", "CFI_OPS", "."], "TS_V_token": ["aarch64"], "File": "aarch644", "Func": "aarch64_pop_regs", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15867, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTTIImpl", "::", "enableInterleavedAccessVectorization", "(", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["Enable", "matching", "of", "interleaved", "access", "groups", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCTargetTransformInfo", "Func": "enableInterleavedAccessVectorization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15868, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["CSKY"], "File": "CSKYConstantIslandPass", "Func": "getAnalysisUsage", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15869, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMDAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "if", "(", "!", "Subtarget", "->", "hasV6T2Ops", "(", ")", ")", "return", ";", "bool", "isThumb2", "=", "Subtarget", "->", "isThumb", "(", ")", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "&", "*", "I", "++", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "ADD", ")", "continue", ";", "SDValue", "N0", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "N1", "=", "N", "->", "getOperand", "(", "1", ")", ";", "unsigned", "And_imm", "=", "0", ";", "if", "(", "!", "isOpcWithIntImmediate", "(", "N1", ".", "getNode", "(", ")", ",", "ISD", "::", "AND", ",", "And_imm", ")", ")", "{", "if", "(", "isOpcWithIntImmediate", "(", "N0", ".", "getNode", "(", ")", ",", "ISD", "::", "AND", ",", "And_imm", ")", ")", "std", "::", "swap", "(", "N0", ",", "N1", ")", ";", "}", "if", "(", "!", "And_imm", ")", "continue", ";", "unsigned", "TZ", "=", "countTrailingZeros", "(", "And_imm", ")", ";", "if", "(", "TZ", "!=", "1", "&&", "TZ", "!=", "2", ")", "continue", ";", "And_imm", ">>=", "TZ", ";", "if", "(", "And_imm", "&", "(", "And_imm", "+", "1", ")", ")", "continue", ";", "SDValue", "Srl", "=", "N1", ".", "getOperand", "(", "0", ")", ";", "unsigned", "Srl_imm", "=", "0", ";", "if", "(", "!", "isOpcWithIntImmediate", "(", "Srl", ".", "getNode", "(", ")", ",", "ISD", "::", "SRL", ",", "Srl_imm", ")", "||", "(", "Srl_imm", "<=", "2", ")", ")", "continue", ";", "SDValue", "CPTmp0", ";", "SDValue", "CPTmp1", ";", "SDValue", "CPTmp2", ";", "if", "(", "isThumb2", ")", "{", "if", "(", "SelectImmShifterOperand", "(", "N0", ",", "CPTmp0", ",", "CPTmp1", ")", ")", "continue", ";", "}", "else", "{", "if", "(", "SelectImmShifterOperand", "(", "N0", ",", "CPTmp0", ",", "CPTmp1", ")", "||", "SelectRegShifterOperand", "(", "N0", ",", "CPTmp0", ",", "CPTmp1", ",", "CPTmp2", ")", ")", "continue", ";", "}", "Srl", "=", "CurDAG", "->", "getNode", "(", "ISD", "::", "SRL", ",", "SDLoc", "(", "Srl", ")", ",", "MVT", "::", "i32", ",", "Srl", ".", "getOperand", "(", "0", ")", ",", "CurDAG", "->", "getConstant", "(", "Srl_imm", "+", "TZ", ",", "SDLoc", "(", "Srl", ")", ",", "MVT", "::", "i32", ")", ")", ";", "N1", "=", "CurDAG", "->", "getNode", "(", "ISD", "::", "AND", ",", "SDLoc", "(", "N1", ")", ",", "MVT", "::", "i32", ",", "Srl", ",", "CurDAG", "->", "getConstant", "(", "And_imm", ",", "SDLoc", "(", "Srl", ")", ",", "MVT", "::", "i32", ")", ")", ";", "N1", "=", "CurDAG", "->", "getNode", "(", "ISD", "::", "SHL", ",", "SDLoc", "(", "N1", ")", ",", "MVT", "::", "i32", ",", "N1", ",", "CurDAG", "->", "getConstant", "(", "TZ", ",", "SDLoc", "(", "Srl", ")", ",", "MVT", "::", "i32", ")", ")", ";", "CurDAG", "->", "UpdateNodeOperands", "(", "N", ",", "N0", ",", "N1", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["ARM", "ARM", "ISD::ADD", "0", "1", "0", "ISD::AND", "ISD::AND", "1", "2", "1", "0", "0", "ISD::SRL", "2", "ISD::SRL", "MVT::i32", "0", "MVT::i32", "ISD::AND", "MVT::i32", "MVT::i32", "ISD::SHL", "MVT::i32", "MVT::i32"], "File": "ARMISelDAGToDAG (2)4", "Func": "PreprocessISelDAG", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15870, "Length": 421, "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": "Cpu0FrameLowering", "Func": "hasFP", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15871, "Length": 69, "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", "(", ")", ")", ";", "const", "MipsSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "for", "(", "MCPhysReg", "R", ":", "ReservedGPR32", ")", "Reserved", ".", "set", "(", "R", ")", ";", "if", "(", "Subtarget", ".", "isTargetNaCl", "(", ")", ")", "{", "Reserved", ".", "set", "(", "Mips", "::", "T6", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "T7", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "T8", ")", ";", "}", "for", "(", "MCPhysReg", "R", ":", "ReservedGPR64", ")", "Reserved", ".", "set", "(", "R", ")", ";", "if", "(", "!", "Subtarget", ".", "isABICalls", "(", ")", ")", "{", "Reserved", ".", "set", "(", "Mips", "::", "GP", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "GP_64", ")", ";", "}", "if", "(", "Subtarget", ".", "isFP64bit", "(", ")", ")", "{", "for", "(", "MCPhysReg", "Reg", ":", "Mips", "::", "AFGR64RegClass", ")", "Reserved", ".", "set", "(", "Reg", ")", ";", "}", "else", "{", "for", "(", "MCPhysReg", "Reg", ":", "Mips", "::", "FGR64RegClass", ")", "Reserved", ".", "set", "(", "Reg", ")", ";", "}", "if", "(", "Subtarget", ".", "getFrameLowering", "(", ")", "->", "hasFP", "(", "MF", ")", ")", "{", "if", "(", "Subtarget", ".", "inMips16Mode", "(", ")", ")", "Reserved", ".", "set", "(", "Mips", "::", "S0", ")", ";", "else", "{", "Reserved", ".", "set", "(", "Mips", "::", "FP", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "FP_64", ")", ";", "if", "(", "hasStackRealignment", "(", "MF", ")", "&&", "MF", ".", "getFrameInfo", "(", ")", ".", "hasVarSizedObjects", "(", ")", ")", "{", "Reserved", ".", "set", "(", "Mips", "::", "S7", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "S7_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", ")", ";", "for", "(", "MCPhysReg", "Reg", ":", "Mips", "::", "MSACtrlRegClass", ")", "Reserved", ".", "set", "(", "Reg", ")", ";", "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", "Mips", "Mips", "Mips::T6", "Mips::T7", "Mips::T8", "Mips::GP", "Mips::GP_64", "Mips::AFGR64RegClass", "Mips::FGR64RegClass", "Mips", "Mips::S0", "Mips::FP", "Mips::FP_64", "Mips::S7", "Mips::S7_64", "Mips::HWR29", "Mips::DSPPos", "Mips::DSPSCount", "Mips::DSPCarry", "Mips::DSPEFI", "Mips::DSPOutFlag", "Mips::MSACtrlRegClass", "Mips", "Mips", "Mips", "Mips", "Mips::RA", "Mips::RA_64", "Mips::T0", "Mips::T1", "\"saveS2\"", "Mips", "Mips::S2", "Mips::GP", "Mips::GP_64"], "File": "MipsRegisterInfo (2)2", "Func": "getReservedRegs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15872, "Length": 503, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_return_in_msb", "(", "const_tree", "valtype", ")", "{", "return", "(", "DEFAULT_ABI", "==", "ABI_ELFv2", "&&", "BYTES_BIG_ENDIAN", "&&", "AGGREGATE_TYPE_P", "(", "valtype", ")", "&&", "FUNCTION_ARG_PADDING", "(", "TYPE_MODE", "(", "valtype", ")", ",", "valtype", ")", "==", "upward", ")", ";", "}", ""], "natrual_language": ["Specify", "whether", "values", "returned", "in", "registers", "should", "be", "at", "the", "most", "significant", "end", "of", "a", "register", ".", "We", "want", "aggregates", "returned", "by", "value", "to", "match", "the", "way", "aggregates", "are", "passed", "to", "functions", "."], "TS_V_token": ["rs6000"], "File": "rs60004", "Func": "rs6000_return_in_msb", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15873, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMConstantPoolSymbol", "*", "ARMConstantPoolSymbol", "::", "Create", "(", "LLVMContext", "&", "C", ",", "StringRef", "s", ",", "ARMCP", "::", "ARMCPModifier", "Modifier", ")", "{", "return", "new", "ARMConstantPoolSymbol", "(", "C", ",", "s", ",", "0", ",", "0", ",", "Modifier", ",", "false", ")", ";", "}", ""], "natrual_language": ["Construct", "a", "unary", "instruction", ",", "given", "the", "opcode", "and", "an", "operand", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARMCP::ARMCPModifier", "ARM", "0", "0"], "File": "ARMConstantPoolValue1", "Func": "Create", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15874, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_split_compare_and_swap", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "rval", ",", "mem", ",", "oldval", ",", "newval", ",", "neg_bval", ";", "machine_mode", "mode", ";", "enum", "memmodel", "mod_s", ",", "mod_f", ";", "bool", "is_weak", ";", "rtx_code_label", "*", "label1", ",", "*", "label2", ";", "rtx", "x", ",", "cond", ";", "rval", "=", "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", "]", ")", ")", ";", "neg_bval", "=", "TARGET_THUMB1", "?", "operands", "[", "0", "]", ":", "operands", "[", "8", "]", ";", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "bool", "is_armv8_sync", "=", "arm_arch8", "&&", "is_mm_sync", "(", "mod_s", ")", ";", "bool", "use_acquire", "=", "TARGET_HAVE_LDACQ", "&&", "!", "(", "is_mm_relaxed", "(", "mod_s", ")", "||", "is_mm_consume", "(", "mod_s", ")", "||", "is_mm_release", "(", "mod_s", ")", ")", ";", "bool", "use_release", "=", "TARGET_HAVE_LDACQ", "&&", "!", "(", "is_mm_relaxed", "(", "mod_s", ")", "||", "is_mm_consume", "(", "mod_s", ")", "||", "is_mm_acquire", "(", "mod_s", ")", ")", ";", "if", "(", "is_armv8_sync", ")", "use_acquire", "=", "false", ";", "if", "(", "!", "(", "use_acquire", "||", "use_release", ")", ")", "arm_pre_atomic_barrier", "(", "mod_s", ")", ";", "label1", "=", "NULL", ";", "if", "(", "!", "is_weak", ")", "{", "label1", "=", "gen_label_rtx", "(", ")", ";", "emit_label", "(", "label1", ")", ";", "}", "label2", "=", "gen_label_rtx", "(", ")", ";", "arm_emit_load_exclusive", "(", "mode", ",", "rval", ",", "mem", ",", "use_acquire", ")", ";", "if", "(", "TARGET_32BIT", ")", "{", "cond", "=", "arm_gen_compare_reg", "(", "NE", ",", "rval", ",", "oldval", ",", "neg_bval", ")", ";", "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", ")", ")", ";", "}", "else", "{", "emit_move_insn", "(", "neg_bval", ",", "const1_rtx", ")", ";", "cond", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "rval", ",", "oldval", ")", ";", "if", "(", "thumb1_cmpneg_operand", "(", "oldval", ",", "SImode", ")", ")", "emit_unlikely_jump", "(", "gen_cbranchsi4_scratch", "(", "neg_bval", ",", "rval", ",", "oldval", ",", "label2", ",", "cond", ")", ")", ";", "else", "emit_unlikely_jump", "(", "gen_cbranchsi4_insn", "(", "cond", ",", "rval", ",", "oldval", ",", "label2", ")", ")", ";", "}", "arm_emit_store_exclusive", "(", "mode", ",", "neg_bval", ",", "mem", ",", "newval", ",", "use_release", ")", ";", "if", "(", "TARGET_32BIT", ")", "{", "cond", "=", "gen_rtx_REG", "(", "CCmode", ",", "CC_REGNUM", ")", ";", "x", "=", "gen_rtx_COMPARE", "(", "CCmode", ",", "neg_bval", ",", "const0_rtx", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "cond", ",", "x", ")", ")", ";", "}", "if", "(", "!", "is_weak", ")", "{", "x", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "neg_bval", ",", "const0_rtx", ")", ";", "emit_unlikely_jump", "(", "gen_cbranchsi4", "(", "x", ",", "neg_bval", ",", "const0_rtx", ",", "label1", ")", ")", ";", "}", "if", "(", "!", "is_mm_relaxed", "(", "mod_f", ")", ")", "emit_label", "(", "label2", ")", ";", "if", "(", "is_armv8_sync", "||", "!", "(", "use_acquire", "||", "use_release", ")", ")", "arm_post_atomic_barrier", "(", "mod_s", ")", ";", "if", "(", "is_mm_relaxed", "(", "mod_f", ")", ")", "emit_label", "(", "label2", ")", ";", "}", ""], "natrual_language": ["Split", "a", "compare", "and", "swap", "pattern", ".", "It", "is", "IMPLEMENTATION", "DEFINED", "whether", "another", "memory", "store", "between", "the", "load-exclusive", "and", "store-exclusive", "can", "reset", "the", "monitor", "from", "Exclusive", "to", "Open", "state", ".", "This", "means", "we", "must", "wait", "until", "after", "reload", "to", "split", "the", "pattern", ",", "lest", "we", "get", "a", "register", "spill", "in", "the", "middle", "of", "the", "atomic", "sequence", "."], "TS_V_token": ["arm", "1", "2", "3", "4", "5", "6", "7", "0", "8"], "File": "arm6", "Func": "arm_split_compare_and_swap", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15875, "Length": 489, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetTransformInfo", "PPCTargetMachine", "::", "getTargetTransformInfo", "(", "const", "Function", "&", "F", ")", "const", "{", "return", "TargetTransformInfo", "(", "PPCTTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetTransformInfo", "implementation", "for", "the", "target", "."], "TS_V_token": ["PowerPC", "PPC", "PPC"], "File": "PPCTargetMachine40", "Func": "getTargetTransformInfo", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15876, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "scale_counter", "(", "rtx", "countreg", ",", "int", "scale", ")", "{", "rtx", "sc", ";", "if", "(", "scale", "==", "1", ")", "return", "countreg", ";", "if", "(", "CONST_INT_P", "(", "countreg", ")", ")", "return", "GEN_INT", "(", "INTVAL", "(", "countreg", ")", "/", "scale", ")", ";", "gcc_assert", "(", "REG_P", "(", "countreg", ")", ")", ";", "sc", "=", "expand_simple_binop", "(", "GET_MODE", "(", "countreg", ")", ",", "LSHIFTRT", ",", "countreg", ",", "GEN_INT", "(", "exact_log2", "(", "scale", ")", ")", ",", "NULL", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "return", "sc", ";", "}", ""], "natrual_language": ["Divide", "COUNTREG", "by", "SCALE", "."], "TS_V_token": ["i386", "1", "1"], "File": "i386-expand", "Func": "scale_counter", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15877, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1RegisterInfo", "::", "hasReservedCallFrame", "(", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "FFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "CFSize", "=", "FFI", "->", "getMaxCallFrameSize", "(", ")", ";", "if", "(", "CFSize", ">=", "(", "(", "1", "<<", "8", ")", "-", "1", ")", "*", "4", "/", "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", "1", "8", "1", "4", "2"], "File": "Thumb1RegisterInfo13", "Func": "hasReservedCallFrame", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15878, "Length": 65, "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": 15879, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "ARMRelocator", "::", "getName", "(", "Relocator", "::", "Type", "pType", ")", "const", "{", "return", "ApplyFunctions", "[", "pType", "]", ".", "name", ";", "}", ""], "natrual_language": ["Return", "a", "string", "with", "the", "name", "of", "the", "plan", "and", "the", "applicable", "VFs", "and", "UFs", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMRelocator", "Func": "getName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15880, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "string", "getDataLayout", "(", ")", "const", "{", "return", "\"e-p:32:32-i:32:32-f:32:32\"", ";", "}", ""], "natrual_language": ["Return", "the", "DataLayout", "associated", "with", "the", "module", "this", "SCEV", "instance", "is", "operating", "on", "."], "TS_V_token": ["Mandarin", "\"e-p:32:32-i:32:32-f:32:32\""], "File": "MandarinSubtarget", "Func": "getDataLayout", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15881, "Length": 12, "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", ")", "==", "64", "&&", "ix86_hard_regno_mode_ok", "(", "FIRST_SSE_REG", ",", "mode2", ")", ")", "return", "(", "GET_MODE_SIZE", "(", "mode1", ")", "==", "64", "&&", "ix86_hard_regno_mode_ok", "(", "FIRST_SSE_REG", ",", "mode1", ")", ")", ";", "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", "64", "64", "32", "32", "16", "16", "8", "8"], "File": "i386", "Func": "ix86_modes_tieable_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15882, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64InstrInfo", "::", "suppressLdStPair", "(", "MachineInstr", "&", "MI", ")", "{", "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)1", "Func": "suppressLdStPair", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15883, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "EVT", "VT", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "const", "TargetFrameLowering", "&", "TFI", "=", "*", "Subtarget", ".", "getFrameLowering", "(", ")", ";", "const", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "unsigned", "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", "(", ")", ";", "unsigned", "FrameReg", "=", "RegInfo", "->", "getPtrSizedFrameRegister", "(", "DAG", ".", "getMachineFunction", "(", ")", ")", ";", "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)8", "Func": "getRegisterByName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15884, "Length": 192, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isLegalAddImmediate", "(", "int64_t", "Imm", ")", "const", "{", "return", "ARM_AM", "::", "getSOImmVal", "(", "Imm", ")", "!=", "-", "1", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "immediate", "is", "legal", "add", "immediate", ",", "that", "is", "the", "target", "has", "add", "instructions", "which", "can", "add", "a", "register", "and", "the", "immediate", "without", "having", "to", "materialize", "the", "immediate", "into", "a", "register", "."], "TS_V_token": ["ARM", "ARM", "ARM_AM::getSOImmVal", "1"], "File": "ARMISelLowering114", "Func": "isLegalAddImmediate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15885, "Length": 22, "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", ")", ";", "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": "LanaiAsmParser1", "Func": "MatchAndEmitInstruction", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15886, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SICTargetObjectFile", "::", "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", ")", ";", "this", "->", "TM", "=", "&", "static_cast", "<", "const", "SICTargetMachine", "&", ">", "(", "TM", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["SIC", "SIC", "\".sdata\"", "\".sbss\"", "SIC"], "File": "SICTargetObjectFile", "Func": "Initialize", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15887, "Length": 95, "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": 15888, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rank_for_reorder", "(", "const", "void", "*", "x", ",", "const", "void", "*", "y", ")", "{", "rtx", "tmp", "=", "*", "(", "const", "rtx", "*", ")", "y", ";", "rtx", "tmp2", "=", "*", "(", "const", "rtx", "*", ")", "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": "sh3", "Func": "rank_for_reorder", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15889, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "opt_machine_mode", "aarch64_vq_mode", "(", "scalar_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_DFmode", ":", "return", "V2DFmode", ";", "case", "E_SFmode", ":", "return", "V4SFmode", ";", "case", "E_HFmode", ":", "return", "V8HFmode", ";", "case", "E_BFmode", ":", "return", "V8BFmode", ";", "case", "E_SImode", ":", "return", "V4SImode", ";", "case", "E_HImode", ":", "return", "V8HImode", ";", "case", "E_QImode", ":", "return", "V16QImode", ";", "case", "E_DImode", ":", "return", "V2DImode", ";", "default", ":", "return", "opt_machine_mode", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "128-bit", "Advanced", "SIMD", "vector", "mode", "for", "element", "mode", "MODE", ",", "if", "it", "exists", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_vq_mode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15890, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rs6000_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", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "a", "``", "longcall", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["powerpcspe", "\"%qE attribute only applies to functions\""], "File": "powerpcspe", "Func": "rs6000_handle_longcall_attribute", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15891, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "loongarch_tls_symbol_p", "(", "rtx", "x", ")", "{", "return", "SYMBOL_REF_P", "(", "x", ")", "&&", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", "!=", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "thread-local", "symbol", "."], "TS_V_token": ["loongarch", "0"], "File": "loongarch", "Func": "loongarch_tls_symbol_p", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15892, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "isCoalescableExtInstr", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "&", "SrcReg", ",", "unsigned", "&", "DstReg", ",", "unsigned", "&", "SubIdx", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "X86", "::", "MOVSX16rr8", ":", "case", "X86", "::", "MOVZX16rr8", ":", "case", "X86", "::", "MOVSX32rr8", ":", "case", "X86", "::", "MOVZX32rr8", ":", "case", "X86", "::", "MOVSX64rr8", ":", "if", "(", "!", "Subtarget", ".", "is64Bit", "(", ")", ")", "return", "false", ";", "case", "X86", "::", "MOVSX32rr16", ":", "case", "X86", "::", "MOVZX32rr16", ":", "case", "X86", "::", "MOVSX64rr16", ":", "case", "X86", "::", "MOVSX64rr32", ":", "{", "if", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getSubReg", "(", ")", "||", "MI", ".", "getOperand", "(", "1", ")", ".", "getSubReg", "(", ")", ")", "return", "false", ";", "SrcReg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "DstReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unreachable!\"", ")", ";", "case", "X86", "::", "MOVSX16rr8", ":", "case", "X86", "::", "MOVZX16rr8", ":", "case", "X86", "::", "MOVSX32rr8", ":", "case", "X86", "::", "MOVZX32rr8", ":", "case", "X86", "::", "MOVSX64rr8", ":", "SubIdx", "=", "X86", "::", "sub_8bit", ";", "break", ";", "case", "X86", "::", "MOVSX32rr16", ":", "case", "X86", "::", "MOVZX32rr16", ":", "case", "X86", "::", "MOVSX64rr16", ":", "SubIdx", "=", "X86", "::", "sub_16bit", ";", "break", ";", "case", "X86", "::", "MOVSX64rr32", ":", "SubIdx", "=", "X86", "::", "sub_32bit", ";", "break", ";", "}", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["isCoalescableExtInstr", "-", "Return", "true", "if", "the", "instruction", "is", "a", "``", "coalescable", "''", "extension", "instruction", "."], "TS_V_token": ["X86", "X86", "X86::MOVSX16rr8", "X86::MOVZX16rr8", "X86::MOVSX32rr8", "X86::MOVZX32rr8", "X86::MOVSX64rr8", "X86::MOVSX32rr16", "X86::MOVZX32rr16", "X86::MOVSX64rr16", "X86::MOVSX64rr32", "0", "1", "1", "0", "\"Unreachable!\"", "X86::MOVSX16rr8", "X86::MOVZX16rr8", "X86::MOVSX32rr8", "X86::MOVZX32rr8", "X86::MOVSX64rr8", "X86::sub_8bit", "X86::MOVSX32rr16", "X86::MOVZX32rr16", "X86::MOVSX64rr16", "X86::sub_16bit", "X86::MOVSX64rr32", "X86::sub_32bit"], "File": "X86InstrInfo (2)1", "Func": "isCoalescableExtInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15893, "Length": 243, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PadShortFunc", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "AttributeSet", "&", "FnAttrs", "=", "MF", ".", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ";", "if", "(", "FnAttrs", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "OptimizeForSize", ")", "||", "FnAttrs", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "MinSize", ")", ")", "{", "return", "false", ";", "}", "TM", "=", "&", "MF", ".", "getTarget", "(", ")", ";", "if", "(", "!", "TM", "->", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "padShortFunctions", "(", ")", ")", "return", "false", ";", "TII", "=", "TM", "->", "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": "X86PadShortFunction", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15894, "Length": 259, "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_insn", "*", "scan", ";", "cfun", "->", "machine", "->", "mips16_gp_pseudo_rtx", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "push_topmost_sequence", "(", ")", ";", "scan", "=", "get_insns", "(", ")", ";", "while", "(", "NEXT_INSN", "(", "scan", ")", "&&", "!", "INSN_P", "(", "NEXT_INSN", "(", "scan", ")", ")", ")", "scan", "=", "NEXT_INSN", "(", "scan", ")", ";", "rtx", "set", "=", "gen_load_const_gp", "(", "cfun", "->", "machine", "->", "mips16_gp_pseudo_rtx", ")", ";", "rtx_insn", "*", "insn", "=", "emit_insn_after", "(", "set", ",", "scan", ")", ";", "INSN_LOCATION", "(", "insn", ")", "=", "0", ";", "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", "0"], "File": "mips", "Func": "mips16_gp_pseudo_reg", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15895, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "*", "output_call", "(", "rtx_insn", "*", "insn", ",", "rtx", "*", "operands", ",", "int", "dest_operand_number", ",", "int", "cookie_operand_number", ")", "{", "static", "char", "buf", "[", "256", "]", ";", "if", "(", "darwin_emit_branch_islands", "&&", "GET_CODE", "(", "operands", "[", "dest_operand_number", "]", ")", "==", "SYMBOL_REF", "&&", "(", "INTVAL", "(", "operands", "[", "cookie_operand_number", "]", ")", "&", "CALL_LONG", ")", ")", "{", "tree", "labelname", ";", "tree", "funname", "=", "get_identifier", "(", "XSTR", "(", "operands", "[", "dest_operand_number", "]", ",", "0", ")", ")", ";", "if", "(", "no_previous_def", "(", "funname", ")", ")", "{", "rtx", "label_rtx", "=", "gen_label_rtx", "(", ")", ";", "char", "*", "label_buf", ",", "temp_buf", "[", "256", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "temp_buf", ",", "\"L\"", ",", "CODE_LABEL_NUMBER", "(", "label_rtx", ")", ")", ";", "label_buf", "=", "temp_buf", "[", "0", "]", "==", "'*'", "?", "temp_buf", "+", "1", ":", "temp_buf", ";", "labelname", "=", "get_identifier", "(", "label_buf", ")", ";", "add_compiler_branch_island", "(", "labelname", ",", "funname", ",", "insn_line", "(", "insn", ")", ")", ";", "}", "else", "labelname", "=", "get_prev_label", "(", "funname", ")", ";", "sprintf", "(", "buf", ",", "\"jbsr %%z%d,%.246s\"", ",", "dest_operand_number", ",", "IDENTIFIER_POINTER", "(", "labelname", ")", ")", ";", "}", "else", "sprintf", "(", "buf", ",", "\"bl %%z%d\"", ",", "dest_operand_number", ")", ";", "return", "buf", ";", "}", ""], "natrual_language": ["INSN", "is", "either", "a", "function", "call", "or", "a", "millicode", "call", ".", "It", "may", "have", "an", "unconditional", "jump", "in", "its", "delay", "slot", ".", "CALL_DEST", "is", "the", "routine", "we", "are", "calling", "."], "TS_V_token": ["powerpcspe", "256", "0", "256", "\"L\"", "0", "1", "\"jbsr %%z%d,%.246s\"", "\"bl %%z%d\""], "File": "powerpcspe", "Func": "output_call", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15896, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86RegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "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", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "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", "X86", "10", "4", "X86::VR64RegClassID", "4"], "File": "X86RegisterInfo101", "Func": "getRegPressureLimit", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15897, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmBackend", "::", "shouldForceRelocation", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ")", "{", "unsigned", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "if", "(", "Kind", ">=", "FirstLiteralRelocationKind", ")", "return", "true", ";", "if", "(", "Kind", "==", "AArch64", "::", "fixup_aarch64_pcrel_adrp_imm21", ")", "return", "true", ";", "AArch64MCExpr", "::", "VariantKind", "RefKind", "=", "static_cast", "<", "AArch64MCExpr", "::", "VariantKind", ">", "(", "Target", ".", "getRefKind", "(", ")", ")", ";", "AArch64MCExpr", "::", "VariantKind", "SymLoc", "=", "AArch64MCExpr", "::", "getSymbolLoc", "(", "RefKind", ")", ";", "if", "(", "Kind", "==", "AArch64", "::", "fixup_aarch64_ldr_pcrel_imm19", "&&", "SymLoc", "==", "AArch64MCExpr", "::", "VK_GOT", ")", "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", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64::fixup_aarch64_ldr_pcrel_imm19", "AArch64"], "File": "AArch64AsmBackend17", "Func": "shouldForceRelocation", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15898, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_store_bounds", "(", "rtx", "ptr", ",", "rtx", "slot", ",", "rtx", "bounds", ",", "rtx", "slot_no", ")", "{", "rtx", "addr", ";", "addr", "=", "ix86_get_arg_address_for_bt", "(", "slot", ",", "slot_no", ",", "stack_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", ")", ";", "gcc_assert", "(", "POINTER_BOUNDS_MODE_P", "(", "GET_MODE", "(", "bounds", ")", ")", ")", ";", "if", "(", "!", "register_operand", "(", "bounds", ",", "BNDmode", ")", ")", "bounds", "=", "copy_to_mode_reg", "(", "BNDmode", ",", "bounds", ")", ";", "emit_insn", "(", "BNDmode", "==", "BND64mode", "?", "gen_bnd64_stx", "(", "addr", ",", "ptr", ",", "bounds", ")", ":", "gen_bnd32_stx", "(", "addr", ",", "ptr", ",", "bounds", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "pass", "uses", "this", "hook", "to", "store", "BOUNDS", "for", "call", "argument", "PTR", "passed", "in", "SLOT", "in", "case", "BOUNDS", "are", "not", "passed", "in", "a", "register", ".", "If", "SLOT", "is", "a", "memory", ",", "then", "BOUNDS", "are", "stored", "as", "for", "regular", "pointer", "stored", "in", "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", "store", "BOUNDS", "."], "TS_V_token": ["i386"], "File": "i3865", "Func": "ix86_store_bounds", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15899, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "TOYInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "assert", "(", "0", "&&", "\"Unimplemented\"", ")", ";", "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": ["TOY", "TOY", "0", "\"Unimplemented\"", "0"], "File": "TOYInstrInfo1", "Func": "isLoadFromStackSlot", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15900, "Length": 27, "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", "(", "F", "->", "hasAddressTaken", "(", ")", ")", "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": "AArch64InstrInfo69", "Func": "isFunctionSafeToOutlineFrom", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15901, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "assignCustomValue", "(", "const", "CallLowering", "::", "ArgInfo", "&", "Arg", ",", "ArrayRef", "<", "CCValAssign", ">", "VAs", ")", "override", "{", "CCValAssign", "VA", "=", "VAs", "[", "0", "]", ";", "assert", "(", "VA", ".", "needsCustom", "(", ")", "&&", "\"Value doesn't need custom handling\"", ")", ";", "assert", "(", "VA", ".", "getValVT", "(", ")", "==", "MVT", "::", "f64", "&&", "\"Unsupported type\"", ")", ";", "CCValAssign", "NextVA", "=", "VAs", "[", "1", "]", ";", "assert", "(", "NextVA", ".", "needsCustom", "(", ")", "&&", "\"Value doesn't need custom handling\"", ")", ";", "assert", "(", "NextVA", ".", "getValVT", "(", ")", "==", "MVT", "::", "f64", "&&", "\"Unsupported type\"", ")", ";", "assert", "(", "VA", ".", "getValNo", "(", ")", "==", "NextVA", ".", "getValNo", "(", ")", "&&", "\"Values belong to different arguments\"", ")", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Value should be in reg\"", ")", ";", "assert", "(", "NextVA", ".", "isRegLoc", "(", ")", "&&", "\"Value should be in reg\"", ")", ";", "unsigned", "NewRegs", "[", "]", "=", "{", "MRI", ".", "createGenericVirtualRegister", "(", "LLT", "::", "scalar", "(", "32", ")", ")", ",", "MRI", ".", "createGenericVirtualRegister", "(", "LLT", "::", "scalar", "(", "32", ")", ")", "}", ";", "MIRBuilder", ".", "buildExtract", "(", "NewRegs", "[", "0", "]", ",", "Arg", ".", "Reg", ",", "0", ")", ";", "MIRBuilder", ".", "buildExtract", "(", "NewRegs", "[", "1", "]", ",", "Arg", ".", "Reg", ",", "32", ")", ";", "bool", "IsLittle", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "isLittle", "(", ")", ";", "if", "(", "!", "IsLittle", ")", "std", "::", "swap", "(", "NewRegs", "[", "0", "]", ",", "NewRegs", "[", "1", "]", ")", ";", "assignValueToReg", "(", "NewRegs", "[", "0", "]", ",", "VA", ".", "getLocReg", "(", ")", ",", "VA", ")", ";", "assignValueToReg", "(", "NewRegs", "[", "1", "]", ",", "NextVA", ".", "getLocReg", "(", ")", ",", "NextVA", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Handle", "custom", "values", ",", "which", "may", "be", "passed", "into", "one", "or", "more", "of", "VAs", "."], "TS_V_token": ["ARM", "0", "\"Value doesn't need custom handling\"", "MVT::f64", "\"Unsupported type\"", "1", "\"Value doesn't need custom handling\"", "MVT::f64", "\"Unsupported type\"", "\"Values belong to different arguments\"", "\"Value should be in reg\"", "\"Value should be in reg\"", "32", "32", "0", "0", "1", "32", "ARM", "0", "1", "0", "1", "1"], "File": "ARMCallLowering34", "Func": "assignCustomValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15902, "Length": 264, "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", ":", "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", "1", "1", "2", "2", "0", "0"], "File": "PPCInstrInfo107", "Func": "isLoadFromStackSlot", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15903, "Length": 119, "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": 15904, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_expand_sve_ld1rq", "(", "rtx", "dest", ",", "rtx", "src", ")", "{", "src", "=", "force_const_mem", "(", "GET_MODE", "(", "src", ")", ",", "src", ")", ";", "if", "(", "!", "src", ")", "return", "false", ";", "if", "(", "!", "aarch64_sve_ld1rq_operand_p", "(", "src", ")", ")", "{", "rtx", "addr", "=", "force_reg", "(", "Pmode", ",", "XEXP", "(", "src", ",", "0", ")", ")", ";", "src", "=", "replace_equiv_address", "(", "src", ",", "addr", ")", ";", "}", "machine_mode", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "machine_mode", "pred_mode", "=", "aarch64_sve_pred_mode", "(", "mode", ")", ";", "rtx", "ptrue", "=", "aarch64_ptrue_reg", "(", "pred_mode", ")", ";", "emit_insn", "(", "gen_aarch64_sve_ld1rq", "(", "mode", ",", "dest", ",", "src", ",", "ptrue", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Try", "to", "force", "128-bit", "vector", "value", "SRC", "into", "memory", "and", "use", "LD1RQ", "to", "fetch", "the", "memory", "image", "into", "DEST", ".", "Return", "true", "on", "success", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64", "Func": "aarch64_expand_sve_ld1rq", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15905, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ")", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "}", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "O", ")", "&&", "!", "printAlias", "(", "*", "MI", ",", "O", ")", ")", "printInstruction", "(", "MI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "}", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsInstPrinter18", "Func": "printInst", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15906, "Length": 80, "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": 15907, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseRegisterInfo", "::", "isFrameOffsetLegal", "(", "const", "MachineInstr", "*", "MI", ",", "int64_t", "Offset", ")", "const", "{", "const", "TargetInstrDesc", "&", "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": "ARMBaseRegisterInfo36", "Func": "isFrameOffsetLegal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15908, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "OutgoingValueHandler", "::", "extendRegister", "(", "unsigned", "ValReg", ",", "const", "CCValAssign", "&", "VA", ")", "{", "LLT", "LocTy", "{", "VA", ".", "getLocVT", "(", ")", "}", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "case", "CCValAssign", "::", "SExt", ":", "{", "unsigned", "ExtReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "LocTy", ")", ";", "MIRBuilder", ".", "buildSExt", "(", "ExtReg", ",", "ValReg", ")", ";", "return", "ExtReg", ";", "}", "case", "CCValAssign", "::", "ZExt", ":", "{", "unsigned", "ExtReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "LocTy", ")", ";", "MIRBuilder", ".", "buildZExt", "(", "ExtReg", ",", "ValReg", ")", ";", "return", "ExtReg", ";", "}", "case", "CCValAssign", "::", "AExt", ":", "{", "unsigned", "ExtReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "LocTy", ")", ";", "MIRBuilder", ".", "buildAnyExt", "(", "ExtReg", ",", "ValReg", ")", ";", "return", "ExtReg", ";", "}", "case", "CCValAssign", "::", "Full", ":", "return", "ValReg", ";", "default", ":", "break", ";", "}", "llvm_unreachable", "(", "\"unable to extend register\"", ")", ";", "}", ""], "natrual_language": ["Extend", "a", "register", "to", "the", "location", "type", "given", "in", "VA", ",", "capped", "at", "extending", "to", "at", "most", "MaxSize", "bits", "."], "TS_V_token": ["Mips", "\"unable to extend register\""], "File": "MipsCallLowering1", "Func": "extendRegister", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15909, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "loongarch_save_restore_reg", "(", "machine_mode", "mode", ",", "int", "regno", ",", "HOST_WIDE_INT", "offset", ",", "loongarch_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": ["loongarch"], "File": "loongarch", "Func": "loongarch_save_restore_reg", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15910, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86Subtarget", "::", "enablePostRAScheduler", "(", "CodeGenOpt", "::", "Level", "OptLevel", ",", "TargetSubtargetInfo", "::", "AntiDepBreakMode", "&", "Mode", ",", "RegClassVector", "&", "CriticalPathRCs", ")", "const", "{", "Mode", "=", "TargetSubtargetInfo", "::", "ANTIDEP_CRITICAL", ";", "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": "X86Subtarget15", "Func": "enablePostRAScheduler", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15911, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetStreamer", "::", "emitStoreWithImmOffset", "(", "unsigned", "Opcode", ",", "unsigned", "SrcReg", ",", "unsigned", "BaseReg", ",", "int64_t", "Offset", ",", "function_ref", "<", "unsigned", "(", ")", ">", "GetATReg", ",", "SMLoc", "IDLoc", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "{", "if", "(", "isInt", "<", "16", ">", "(", "Offset", ")", ")", "{", "emitRRI", "(", "Opcode", ",", "SrcReg", ",", "BaseReg", ",", "Offset", ",", "IDLoc", ",", "STI", ")", ";", "return", ";", "}", "unsigned", "ATReg", "=", "GetATReg", "(", ")", ";", "if", "(", "!", "ATReg", ")", "return", ";", "unsigned", "LoOffset", "=", "Offset", "&", "0x0000ffff", ";", "unsigned", "HiOffset", "=", "(", "Offset", "&", "0xffff0000", ")", ">>", "16", ";", "if", "(", "LoOffset", "&", "0x8000", ")", "HiOffset", "++", ";", "emitRI", "(", "Mips", "::", "LUi", ",", "ATReg", ",", "HiOffset", ",", "IDLoc", ",", "STI", ")", ";", "if", "(", "BaseReg", "!=", "Mips", "::", "ZERO", ")", "emitRRR", "(", "Mips", "::", "ADDu", ",", "ATReg", ",", "ATReg", ",", "BaseReg", ",", "IDLoc", ",", "STI", ")", ";", "emitRRI", "(", "Opcode", ",", "SrcReg", ",", "ATReg", ",", "LoOffset", ",", "IDLoc", ",", "STI", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "store", "instruction", "with", "an", "offset", "."], "TS_V_token": ["Mips", "Mips", "16", "0x0000ffff", "0xffff0000", "16", "0x8000", "Mips::LUi", "Mips::ZERO", "Mips::ADDu"], "File": "MipsTargetStreamer (2)1", "Func": "emitStoreWithImmOffset", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15912, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLittleEndian", "(", ")", "const", "{", "return", "IsLittleEndian", ";", "}", ""], "natrual_language": ["Tests", "whether", "the", "target", "triple", "is", "little", "endian", "."], "TS_V_token": ["ARM64"], "File": "ARM64Subtarget", "Func": "isLittleEndian", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15913, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCInstrInfo", "::", "insertNoop", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "PPC", "::", "NOP", ")", ")", ";", "}", ""], "natrual_language": ["Insert", "a", "noop", "into", "the", "instruction", "stream", "at", "the", "specified", "point", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::NOP"], "File": "PPCInstrInfo22", "Func": "insertNoop", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15914, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "unsigned", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "unsigned", "MatchResult", "=", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ";", "switch", "(", "MatchResult", ")", "{", "default", ":", "break", ";", "case", "Match_Success", ":", "{", "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", "=", "(", "(", "MipsOperand", "*", ")", "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": ["Mips", "Mips", "\"instruction requires a CPU feature not currently enabled\"", "0U", "\"too few operands for instruction\"", "Mips", "\"invalid operand for instruction\"", "\"invalid instruction\""], "File": "MipsAsmParser9", "Func": "MatchAndEmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15915, "Length": 183, "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_PSBHint", ":", "{", "OS", "<<", "getPSBHintName", "(", ")", ";", "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": "AArch64AsmParser34", "Func": "print", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15916, "Length": 370, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_emit_p9_fp_cmove", "(", "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", "result_mode", "=", "GET_MODE", "(", "dest", ")", ";", "rtx", "compare_rtx", ";", "rtx", "cmove_rtx", ";", "rtx", "clobber_rtx", ";", "if", "(", "!", "can_create_pseudo_p", "(", ")", ")", "return", "0", ";", "switch", "(", "code", ")", "{", "case", "EQ", ":", "case", "GE", ":", "case", "GT", ":", "break", ";", "case", "NE", ":", "case", "LT", ":", "case", "LE", ":", "code", "=", "swap_condition", "(", "code", ")", ";", "std", "::", "swap", "(", "op0", ",", "op1", ")", ";", "break", ";", "default", ":", "return", "0", ";", "}", "compare_rtx", "=", "gen_rtx_fmt_ee", "(", "code", ",", "CCFPmode", ",", "op0", ",", "op1", ")", ";", "cmove_rtx", "=", "gen_rtx_SET", "(", "dest", ",", "gen_rtx_IF_THEN_ELSE", "(", "result_mode", ",", "compare_rtx", ",", "true_cond", ",", "false_cond", ")", ")", ";", "clobber_rtx", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_SCRATCH", "(", "V2DImode", ")", ")", ";", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "cmove_rtx", ",", "clobber_rtx", ")", ")", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["ISA", "3.0", "(", "power9", ")", "conditional", "move", "subcase", "to", "emit", "XSCMP", "{", "EQ", ",", "GE", ",", "GT", ",", "NE", "}", "DP", "and", "XXSEL", "instructions", "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", "2", "1"], "File": "powerpcspe", "Func": "rs6000_emit_p9_fp_cmove", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15917, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_lra_p", "(", "void", ")", "{", "return", "mips_lra_flag", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LRA_P", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_lra_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15918, "Length": 11, "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": 15919, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "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": "PPCISelLowering100", "Func": "getByValTypeAlignment", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15920, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_hard_regno_nregs_internal", "(", "int", "regno", ",", "machine_mode", "mode", ")", "{", "unsigned", "HOST_WIDE_INT", "reg_size", ";", "if", "(", "FP_REGNO_P", "(", "regno", ")", ")", "reg_size", "=", "(", "VECTOR_MEM_VSX_P", "(", "mode", ")", "||", "FLOAT128_VECTOR_P", "(", "mode", ")", "?", "UNITS_PER_VSX_WORD", ":", "UNITS_PER_FP_WORD", ")", ";", "else", "if", "(", "SPE_SIMD_REGNO_P", "(", "regno", ")", "&&", "TARGET_SPE", "&&", "SPE_VECTOR_MODE", "(", "mode", ")", ")", "reg_size", "=", "UNITS_PER_SPE_WORD", ";", "else", "if", "(", "ALTIVEC_REGNO_P", "(", "regno", ")", ")", "reg_size", "=", "UNITS_PER_ALTIVEC_WORD", ";", "else", "if", "(", "TARGET_E500_DOUBLE", "&&", "FLOAT_MODE_P", "(", "mode", ")", "&&", "mode", "!=", "SCmode", "&&", "!", "DECIMAL_FLOAT_MODE_P", "(", "mode", ")", "&&", "SPE_SIMD_REGNO_P", "(", "regno", ")", ")", "reg_size", "=", "UNITS_PER_FP_WORD", ";", "else", "reg_size", "=", "UNITS_PER_WORD", ";", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "reg_size", "-", "1", ")", "/", "reg_size", ";", "}", ""], "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", ".", "POWER", "and", "PowerPC", "GPRs", "hold", "32", "bits", "worth", ";", "PowerPC64", "GPRs", "and", "FPRs", "point", "register", "holds", "64", "bits", "worth", "."], "TS_V_token": ["powerpcspe", "1"], "File": "powerpcspe", "Func": "rs6000_hard_regno_nregs_internal", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15921, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "swap_top_of_ready_list", "(", "rtx_insn", "*", "*", "ready", ",", "int", "n_ready", ")", "{", "rtx_insn", "*", "top", "=", "ready", "[", "n_ready", "-", "1", "]", ";", "rtx_insn", "*", "next", "=", "ready", "[", "n_ready", "-", "2", "]", ";", "rtx", "set", ";", "sd_iterator_def", "sd_it", ";", "dep_t", "dep", ";", "int", "clock1", "=", "-", "1", ";", "int", "clock2", "=", "-", "1", ";", "if", "(", "!", "TARGET_SILVERMONT", "&&", "!", "TARGET_INTEL", ")", "return", "false", ";", "if", "(", "!", "NONDEBUG_INSN_P", "(", "top", ")", ")", "return", "false", ";", "if", "(", "!", "NONJUMP_INSN_P", "(", "top", ")", ")", "return", "false", ";", "if", "(", "!", "NONDEBUG_INSN_P", "(", "next", ")", ")", "return", "false", ";", "if", "(", "!", "NONJUMP_INSN_P", "(", "next", ")", ")", "return", "false", ";", "set", "=", "single_set", "(", "top", ")", ";", "if", "(", "!", "set", ")", "return", "false", ";", "set", "=", "single_set", "(", "next", ")", ";", "if", "(", "!", "set", ")", "return", "false", ";", "if", "(", "INSN_PRIORITY_KNOWN", "(", "top", ")", "&&", "INSN_PRIORITY_KNOWN", "(", "next", ")", ")", "{", "if", "(", "INSN_PRIORITY", "(", "top", ")", "!=", "INSN_PRIORITY", "(", "next", ")", ")", "return", "false", ";", "FOR_EACH_DEP", "(", "top", ",", "SD_LIST_RES_BACK", ",", "sd_it", ",", "dep", ")", "{", "rtx", "pro", ";", "pro", "=", "DEP_PRO", "(", "dep", ")", ";", "if", "(", "!", "NONDEBUG_INSN_P", "(", "pro", ")", ")", "continue", ";", "if", "(", "INSN_TICK", "(", "pro", ")", ">", "clock1", ")", "clock1", "=", "INSN_TICK", "(", "pro", ")", ";", "}", "FOR_EACH_DEP", "(", "next", ",", "SD_LIST_RES_BACK", ",", "sd_it", ",", "dep", ")", "{", "rtx", "pro", ";", "pro", "=", "DEP_PRO", "(", "dep", ")", ";", "if", "(", "!", "NONDEBUG_INSN_P", "(", "pro", ")", ")", "continue", ";", "if", "(", "INSN_TICK", "(", "pro", ")", ">", "clock2", ")", "clock2", "=", "INSN_TICK", "(", "pro", ")", ";", "}", "if", "(", "clock1", "==", "clock2", ")", "{", "enum", "attr_memory", "memory1", ",", "memory2", ";", "memory1", "=", "get_attr_memory", "(", "top", ")", ";", "memory2", "=", "get_attr_memory", "(", "next", ")", ";", "if", "(", "memory2", "==", "MEMORY_LOAD", "&&", "memory1", "!=", "MEMORY_LOAD", ")", "return", "true", ";", "}", "return", "(", "bool", ")", "(", "clock2", "<", "clock1", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Try", "to", "find", "the", "best", "candidate", "on", "the", "top", "of", "ready", "list", "if", "two", "insns", "have", "the", "same", "priority", "-", "candidate", "is", "best", "if", "its", "dependees", "were", "scheduled", "earlier", ".", "Applied", "for", "Silvermont", "only", ".", "Return", "true", "if", "top", "2", "insns", "must", "be", "interchanged", "."], "TS_V_token": ["i386", "1", "2", "1", "1"], "File": "i3864", "Func": "swap_top_of_ready_list", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15922, "Length": 321, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ELFAArch64AsmBackend", "::", "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": "AArch64AsmBackend11", "Func": "shouldForceRelocation", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15923, "Length": 43, "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", "&&", "IS_CMSE_ENTRY", "(", "func_type", ")", ")", "return", "0", ";", "if", "(", "saved_int_regs", "&&", "!", "(", "saved_int_regs", "&", "(", "1", "<<", "LR_REGNUM", ")", ")", ")", "return", "0", ";", "if", "(", "TARGET_HARD_FLOAT", ")", "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", "0", "1", "0", "0", "0", "1"], "File": "arm6", "Func": "use_return_insn", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15924, "Length": 404, "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", ":", "return", "emitPatchPoint", "(", "MI", ",", "BB", ")", ";", "case", "AArch64", "::", "CATCHRET", ":", "return", "EmitLoweredCatchRet", "(", "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"], "File": "AArch64ISelLowering135", "Func": "EmitInstrWithCustomInserter", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15925, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_parse_cpu", "(", "void", ")", "{", "char", "*", "ext", ";", "const", "struct", "processor", "*", "cpu", ";", "char", "*", "str", "=", "(", "char", "*", ")", "alloca", "(", "strlen", "(", "aarch64_cpu_string", ")", "+", "1", ")", ";", "size_t", "len", ";", "strcpy", "(", "str", ",", "aarch64_cpu_string", ")", ";", "ext", "=", "strchr", "(", "str", ",", "'+'", ")", ";", "if", "(", "ext", "!=", "NULL", ")", "len", "=", "ext", "-", "str", ";", "else", "len", "=", "strlen", "(", "str", ")", ";", "if", "(", "len", "==", "0", ")", "{", "error", "(", "\"missing cpu name in -mcpu=%qs\"", ",", "str", ")", ";", "return", ";", "}", "for", "(", "cpu", "=", "all_cores", ";", "cpu", "->", "name", "!=", "NULL", ";", "cpu", "++", ")", "{", "if", "(", "strlen", "(", "cpu", "->", "name", ")", "==", "len", "&&", "strncmp", "(", "cpu", "->", "name", ",", "str", ",", "len", ")", "==", "0", ")", "{", "selected_cpu", "=", "cpu", ";", "aarch64_isa_flags", "=", "selected_cpu", "->", "flags", ";", "if", "(", "ext", "!=", "NULL", ")", "{", "aarch64_parse_extension", "(", "ext", ")", ";", "}", "return", ";", "}", "}", "error", "(", "\"unknown value %qs for -mcpu\"", ",", "str", ")", ";", "return", ";", "}", ""], "natrual_language": ["Parse", "the", "TO_PARSE", "string", "and", "put", "the", "result", "tuning", "in", "RES", "and", "the", "architecture", "flags", "in", "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 cpu name in -mcpu=%qs\"", "0", "\"unknown value %qs for -mcpu\""], "File": "aarch642", "Func": "aarch64_parse_cpu", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15926, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_expand_compare_and_swap", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "bval", ",", "rval", ",", "mem", ",", "oldval", ",", "newval", ",", "is_weak", ",", "mod_s", ",", "mod_f", ",", "x", ";", "machine_mode", "mode", ";", "rtx", "(", "*", "gen", ")", "(", "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", "&&", "INTVAL", "(", "mod_f", ")", "==", "MEMMODEL_ACQUIRE", "&&", "INTVAL", "(", "mod_s", ")", "==", "MEMMODEL_RELEASE", ")", "mod_s", "=", "GEN_INT", "(", "MEMMODEL_ACQ_REL", ")", ";", "switch", "(", "mode", ")", "{", "case", "QImode", ":", "case", "HImode", ":", "rval", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "oldval", "=", "convert_modes", "(", "SImode", ",", "mode", ",", "oldval", ",", "true", ")", ";", "case", "SImode", ":", "if", "(", "!", "arm_add_operand", "(", "oldval", ",", "SImode", ")", ")", "oldval", "=", "force_reg", "(", "SImode", ",", "oldval", ")", ";", "break", ";", "case", "DImode", ":", "if", "(", "!", "cmpdi_operand", "(", "oldval", ",", "mode", ")", ")", "oldval", "=", "force_reg", "(", "mode", ",", "oldval", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "switch", "(", "mode", ")", "{", "case", "QImode", ":", "gen", "=", "gen_atomic_compare_and_swapqi_1", ";", "break", ";", "case", "HImode", ":", "gen", "=", "gen_atomic_compare_and_swaphi_1", ";", "break", ";", "case", "SImode", ":", "gen", "=", "gen_atomic_compare_and_swapsi_1", ";", "break", ";", "case", "DImode", ":", "gen", "=", "gen_atomic_compare_and_swapdi_1", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "emit_insn", "(", "gen", "(", "rval", ",", "mem", ",", "oldval", ",", "newval", ",", "is_weak", ",", "mod_s", ",", "mod_f", ")", ")", ";", "if", "(", "mode", "==", "QImode", "||", "mode", "==", "HImode", ")", "emit_move_insn", "(", "operands", "[", "1", "]", ",", "gen_lowpart", "(", "mode", ",", "rval", ")", ")", ";", "x", "=", "gen_rtx_REG", "(", "CCmode", ",", "CC_REGNUM", ")", ";", "x", "=", "gen_rtx_EQ", "(", "SImode", ",", "x", ",", "const0_rtx", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "bval", ",", "x", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "compare", "and", "swap", "pattern", "."], "TS_V_token": ["arm", "0", "1", "2", "3", "4", "5", "6", "7", "1"], "File": "arm4", "Func": "arm_expand_compare_and_swap", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15927, "Length": 352, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Cpu0 Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Cpu0", "\"Cpu0 Assembly Printer\""], "File": "Cpu0AsmPrinter1", "Func": "getPassName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15928, "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", "(", ")", ")", ")", "{", "if", "(", "!", "Subtarget", ".", "hasX87", "(", ")", ")", "report_fatal_error", "(", "\"X87 register return with X87 disabled\"", ")", ";", "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", "\"X87 register return with X87 disabled\"", "MVT::f80", "1", "0", "ISD::FP_ROUND", "1", "MVT::i1", "ISD::TRUNCATE", "2"], "File": "X86ISelLowering148", "Func": "LowerCallResult", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15929, "Length": 394, "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": 15930, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_order_regs_for_local_alloc", "(", "void", ")", "{", "register", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "FIRST_PSEUDO_REGISTER", ";", "i", "++", ")", "reg_alloc_order", "[", "i", "]", "=", "i", ";", "if", "(", "TARGET_MIPS16", ")", "{", "reg_alloc_order", "[", "0", "]", "=", "24", ";", "reg_alloc_order", "[", "24", "]", "=", "0", ";", "}", "}", ""], "natrual_language": ["On", "the", "mips16", ",", "we", "want", "to", "allocate", "$", "24", "(", "T_REG", ")", "before", "other", "registers", "for", "instructions", "for", "which", "it", "is", "possible", ".", "This", "helps", "avoid", "shuffling", "registers", "around", "in", "order", "to", "set", "up", "for", "an", "xor", ",", "encouraging", "the", "compiler", "to", "use", "a", "cmp", "instead", "."], "TS_V_token": ["mips", "0", "0", "24", "24", "0"], "File": "mips3", "Func": "mips_order_regs_for_local_alloc", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15931, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZAsmPrinter", "::", "emitFunctionEntryLabel", "(", ")", "{", "const", "SystemZSubtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "SystemZSubtarget", ">", "(", ")", ";", "if", "(", "Subtarget", ".", "getTargetTriple", "(", ")", ".", "isOSzOS", "(", ")", ")", "{", "MCContext", "&", "OutContext", "=", "OutStreamer", "->", "getContext", "(", ")", ";", "std", "::", "string", "N", "(", "MF", "->", "getFunction", "(", ")", ".", "hasName", "(", ")", "?", "Twine", "(", "MF", "->", "getFunction", "(", ")", ".", "getName", "(", ")", ")", ".", "concat", "(", "\"_\"", ")", ".", "str", "(", ")", ":", "\"\"", ")", ";", "CurrentFnEPMarkerSym", "=", "OutContext", ".", "createTempSymbol", "(", "Twine", "(", "\"EPM_\"", ")", ".", "concat", "(", "N", ")", ".", "str", "(", ")", ",", "true", ")", ";", "CurrentFnPPA1Sym", "=", "OutContext", ".", "createTempSymbol", "(", "Twine", "(", "\"PPA1_\"", ")", ".", "concat", "(", "N", ")", ".", "str", "(", ")", ",", "true", ")", ";", "const", "MachineFrameInfo", "&", "MFFrame", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "bool", "IsUsingAlloca", "=", "MFFrame", ".", "hasVarSizedObjects", "(", ")", ";", "uint8_t", "Flags", "=", "0", ";", "if", "(", "IsUsingAlloca", ")", "Flags", "|=", "0x04", ";", "uint32_t", "DSASize", "=", "MFFrame", ".", "getStackSize", "(", ")", ";", "uint32_t", "DSAAndFlags", "=", "DSASize", "&", "0xFFFFFFE0", ";", "DSAAndFlags", "|=", "Flags", ";", "OutStreamer", "->", "AddComment", "(", "\"XPLINK Routine Layout Entry\"", ")", ";", "OutStreamer", "->", "emitLabel", "(", "CurrentFnEPMarkerSym", ")", ";", "OutStreamer", "->", "AddComment", "(", "\"Eyecatcher 0x00C300C500C500\"", ")", ";", "OutStreamer", "->", "emitIntValueInHex", "(", "0x00C300C500C500", ",", "7", ")", ";", "OutStreamer", "->", "AddComment", "(", "\"Mark Type C'1'\"", ")", ";", "OutStreamer", "->", "emitInt8", "(", "0xF1", ")", ";", "OutStreamer", "->", "AddComment", "(", "\"Offset to PPA1\"", ")", ";", "OutStreamer", "->", "emitAbsoluteSymbolDiff", "(", "CurrentFnPPA1Sym", ",", "CurrentFnEPMarkerSym", ",", "4", ")", ";", "if", "(", "OutStreamer", "->", "isVerboseAsm", "(", ")", ")", "{", "OutStreamer", "->", "AddComment", "(", "\"DSA Size 0x\"", "+", "Twine", "::", "utohexstr", "(", "DSASize", ")", ")", ";", "OutStreamer", "->", "AddComment", "(", "\"Entry Flags\"", ")", ";", "if", "(", "Flags", "&", "0x04", ")", "OutStreamer", "->", "AddComment", "(", "\" Bit 2: 1 = Uses alloca\"", ")", ";", "else", "OutStreamer", "->", "AddComment", "(", "\" Bit 2: 0 = Does not use alloca\"", ")", ";", "}", "OutStreamer", "->", "emitInt32", "(", "DSAAndFlags", ")", ";", "}", "AsmPrinter", "::", "emitFunctionEntryLabel", "(", ")", ";", "}", ""], "natrual_language": ["EmitFunctionEntryLabel", "-", "Emit", "the", "label", "that", "is", "the", "entrypoint", "for", "the", "function", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "\"_\"", "\"\"", "\"EPM_\"", "\"PPA1_\"", "0", "0x04", "0xFFFFFFE0", "\"XPLINK Routine Layout Entry\"", "\"Eyecatcher 0x00C300C500C500\"", "0x00C300C500C500", "7", "\"Mark Type C'1'\"", "0xF1", "\"Offset to PPA1\"", "4", "\"DSA Size 0x\"", "\"Entry Flags\"", "0x04", "\" Bit 2: 1 = Uses alloca\"", "\" Bit 2: 0 = Does not use alloca\""], "File": "SystemZAsmPrinter12", "Func": "emitFunctionEntryLabel", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15932, "Length": 312, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "unsigned", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "unsigned", "MatchResult", ";", "MatchResult", "=", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ";", "switch", "(", "MatchResult", ")", "{", "default", ":", "break", ";", "case", "Match_Success", ":", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "Out", ".", "EmitInstruction", "(", "Inst", ")", ";", "return", "false", ";", "case", "Match_MissingFeature", ":", "{", "assert", "(", "ErrorInfo", "&&", "\"Unknown missing feature!\"", ")", ";", "std", "::", "string", "Msg", "=", "\"instruction requires:\"", ";", "unsigned", "Mask", "=", "1", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "sizeof", "(", "ErrorInfo", ")", "*", "8", "-", "1", ";", "++", "I", ")", "{", "if", "(", "ErrorInfo", "&", "Mask", ")", "{", "Msg", "+=", "\" \"", ";", "Msg", "+=", "getSubtargetFeatureName", "(", "ErrorInfo", "&", "Mask", ")", ";", "}", "Mask", "<<=", "1", ";", "}", "return", "Error", "(", "IDLoc", ",", "Msg", ")", ";", "}", "case", "Match_InvalidOperand", ":", "{", "SMLoc", "ErrorLoc", "=", "IDLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "0U", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "IDLoc", ",", "\"too few operands for instruction\"", ")", ";", "ErrorLoc", "=", "(", "(", "SystemZOperand", "*", ")", "Operands", "[", "ErrorInfo", "]", ")", "->", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "\"invalid operand for instruction\"", ")", ";", "}", "case", "Match_MnemonicFail", ":", "return", "Error", "(", "IDLoc", ",", "\"invalid instruction\"", ")", ";", "}", "llvm_unreachable", "(", "\"Unexpected match type\"", ")", ";", "}", ""], "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": ["SystemZ", "SystemZ", "\"Unknown missing feature!\"", "\"instruction requires:\"", "1", "0", "8", "1", "\" \"", "1", "0U", "\"too few operands for instruction\"", "SystemZ", "\"invalid operand for instruction\"", "\"invalid instruction\"", "\"Unexpected match type\""], "File": "SystemZAsmParser10", "Func": "MatchAndEmitInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15933, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ck801_legitimate_index_p", "(", "machine_mode", "mode", ",", "rtx", "index", ",", "int", "strict_p", "ATTRIBUTE_UNUSED", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "index", ")", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">=", "8", ")", "return", "(", "code", "==", "CONST_INT", "&&", "INTVAL", "(", "index", ")", "<", "CSKY_LD16_MAX_OFFSET", "(", "SImode", ")", "&&", "INTVAL", "(", "index", ")", ">=", "0", "&&", "(", "INTVAL", "(", "index", ")", "&", "3", ")", "==", "0", ")", ";", "if", "(", "code", "==", "CONST_INT", "&&", "GET_MODE_SIZE", "(", "mode", ")", ">", "0", "&&", "INTVAL", "(", "index", ")", "<=", "CSKY_LD16_MAX_OFFSET", "(", "mode", ")", "&&", "INTVAL", "(", "index", ")", ">=", "0", ")", "return", "(", "(", "INTVAL", "(", "index", ")", "%", "GET_MODE_SIZE", "(", "mode", ")", ")", "==", "0", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "INDEX", "is", "valid", "for", "an", "address", "index", "operand", ".", "ck801", "use", "16", "bits", "ld", "ck802", "use", "16", "and", "32", "bits", "ld", "others", "use", "ld", "and", "ldr", "."], "TS_V_token": ["csky", "8", "0", "3", "0", "0", "0", "0", "0"], "File": "csky", "Func": "ck801_legitimate_index_p", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15934, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print_operand_address", "(", "FILE", "*", "file", ",", "rtx", "x", ")", "{", "if", "(", "REG_P", "(", "x", ")", ")", "fprintf", "(", "file", ",", "\"0(%s)\"", ",", "reg_names", "[", "REGNO", "(", "x", ")", "]", ")", ";", "else", "if", "(", "SYMBOL_REF_P", "(", "x", ")", "||", "GET_CODE", "(", "x", ")", "==", "CONST", "||", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", ")", "{", "output_addr_const", "(", "file", ",", "x", ")", ";", "if", "(", "small_data_operand", "(", "x", ",", "GET_MODE", "(", "x", ")", ")", ")", "fprintf", "(", "file", ",", "\"@%s(%s)\"", ",", "SMALL_DATA_RELOC", ",", "reg_names", "[", "SMALL_DATA_REG", "]", ")", ";", "else", "gcc_assert", "(", "!", "TARGET_TOC", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "{", "if", "(", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "0", ")", "fprintf", "(", "file", ",", "\"%s,%s\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "1", ")", ")", "]", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "else", "fprintf", "(", "file", ",", "\"%s,%s\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "1", ")", ")", "]", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "fprintf", "(", "file", ",", "HOST_WIDE_INT_PRINT_DEC", "\"(%s)\"", ",", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "LO_SUM", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "CONSTANT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "{", "fprintf", "(", "file", ",", "\"lo16(\"", ")", ";", "output_addr_const", "(", "file", ",", "XEXP", "(", "x", ",", "1", ")", ")", ";", "fprintf", "(", "file", ",", "\")(%s)\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "LO_SUM", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "CONSTANT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "{", "output_addr_const", "(", "file", ",", "XEXP", "(", "x", ",", "1", ")", ")", ";", "fprintf", "(", "file", ",", "\"@l(%s)\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "}", "else", "if", "(", "toc_relative_expr_p", "(", "x", ",", "false", ",", "&", "tocrel_base_oac", ",", "&", "tocrel_offset_oac", ")", ")", "{", "output_addr_const", "(", "file", ",", "CONST_CAST_RTX", "(", "tocrel_base_oac", ")", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "LO_SUM", ")", "fprintf", "(", "file", ",", "\"@l(%s)\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "else", "fprintf", "(", "file", ",", "\"(%s)\"", ",", "reg_names", "[", "REGNO", "(", "XVECEXP", "(", "tocrel_base_oac", ",", "0", ",", "1", ")", ")", "]", ")", ";", "}", "else", "output_addr_const", "(", "file", ",", "x", ")", ";", "}", ""], "natrual_language": ["Print", "the", "operand", "address", "represented", "by", "the", "rtx", "addr"], "TS_V_token": ["rs6000", "\"0(%s)\"", "\"@%s(%s)\"", "0", "1", "0", "0", "\"%s,%s\"", "1", "0", "\"%s,%s\"", "0", "1", "0", "1", "\"(%s)\"", "1", "0", "0", "1", "\"lo16(\"", "1", "\")(%s)\"", "0", "0", "1", "1", "\"@l(%s)\"", "0", "\"@l(%s)\"", "0", "\"(%s)\"", "0", "1"], "File": "rs60008", "Func": "print_operand_address", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15935, "Length": 495, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZMCAsmBackend", "::", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "Fragment", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "Value", "=", "extractBitsForFixup", "(", "Fixup", ".", "getKind", "(", ")", ",", "Value", ")", ";", "return", "(", "int16_t", ")", "Value", "!=", "(", "int64_t", ")", "Value", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZMCAsmBackend28", "Func": "fixupNeedsRelaxation", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15936, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "parse_codes", "parse_bif_stanza", "(", "void", ")", "{", "pos", "=", "0", ";", "consume_whitespace", "(", ")", ";", "if", "(", "linebuf", "[", "pos", "]", "!=", "'['", ")", "{", "diag", "(", "pos", ",", "\"ill-formed stanza header.\\n\"", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "safe_inc_pos", "(", ")", ";", "const", "char", "*", "stanza_name", "=", "match_to_right_bracket", "(", ")", ";", "if", "(", "!", "stanza_name", ")", "{", "diag", "(", "pos", ",", "\"no expression found in stanza header.\\n\"", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "curr_bif_stanza", "=", "stanza_name_to_stanza", "(", "stanza_name", ")", ";", "if", "(", "linebuf", "[", "pos", "]", "!=", "']'", ")", "{", "diag", "(", "pos", ",", "\"ill-formed stanza header.\\n\"", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "safe_inc_pos", "(", ")", ";", "consume_whitespace", "(", ")", ";", "if", "(", "linebuf", "[", "pos", "]", "!=", "'\\n'", "&&", "pos", "!=", "LINELEN", "-", "1", ")", "{", "diag", "(", "pos", ",", "\"garbage after stanza header.\\n\"", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "parse_codes", "result", "=", "PC_OK", ";", "while", "(", "result", "!=", "PC_EOSTANZA", ")", "{", "if", "(", "!", "advance_line", "(", "bif_file", ")", ")", "return", "PC_EOFILE", ";", "result", "=", "parse_bif_entry", "(", ")", ";", "if", "(", "result", "==", "PC_PARSEFAIL", ")", "return", "PC_PARSEFAIL", ";", "}", "return", "PC_OK", ";", "}", ""], "natrual_language": ["Parse", "one", "stanza", "of", "the", "input", "BIF", "file", ".", "linebuf", "already", "contains", "the", "first", "line", "to", "parse", "."], "TS_V_token": ["rs6000", "0", "\"ill-formed stanza header.\\n\"", "\"no expression found in stanza header.\\n\"", "\"ill-formed stanza header.\\n\"", "1", "\"garbage after stanza header.\\n\""], "File": "rs6000-gen-builtins", "Func": "parse_bif_stanza", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15937, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ia64_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "lookup_attribute", "(", "\"syscall_linkage\"", ",", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "current_function_decl", ")", ")", ")", ")", "return", "false", ";", "return", "decl", "&&", "(", "*", "targetm", ".", "binds_local_p", ")", "(", "decl", ")", ";", "}", ""], "natrual_language": ["True", "if", "it", "is", "OK", "to", "do", "sibling", "call", "optimization", "for", "the", "specified", "call", "expression", "EXP", ".", "DECL", "will", "be", "the", "called", "function", ",", "or", "NULL", "if", "this", "is", "an", "indirect", "call", "."], "TS_V_token": ["ia64", "\"syscall_linkage\""], "File": "ia643", "Func": "ia64_function_ok_for_sibcall", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15938, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_rewrite_small_data_1", "(", "rtx", "*", "loc", ",", "enum", "mips_symbol_context", "context", ")", "{", "subrtx_ptr_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX_PTR", "(", "iter", ",", "array", ",", "loc", ",", "ALL", ")", "{", "rtx", "*", "loc", "=", "*", "iter", ";", "if", "(", "MEM_P", "(", "*", "loc", ")", ")", "{", "mips_rewrite_small_data_1", "(", "&", "XEXP", "(", "*", "loc", ",", "0", ")", ",", "SYMBOL_CONTEXT_MEM", ")", ";", "iter", ".", "skip_subrtxes", "(", ")", ";", "}", "else", "if", "(", "mips_rewrite_small_data_p", "(", "*", "loc", ",", "context", ")", ")", "{", "*", "loc", "=", "gen_rtx_LO_SUM", "(", "Pmode", ",", "pic_offset_table_rtx", ",", "*", "loc", ")", ";", "iter", ".", "skip_subrtxes", "(", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "*", "loc", ")", "==", "LO_SUM", ")", "iter", ".", "skip_subrtxes", "(", ")", ";", "}", "}", ""], "natrual_language": ["A", "for_each_rtx", "callback", ",", "used", "by", "mips_rewrite_small_data", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips_rewrite_small_data_1", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15939, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "TargetTransformInfoWrapperPass", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["PowerPC"], "File": "PPCGenScalarMASSEntries", "Func": "getAnalysisUsage", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15940, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "OpenRISCTargetLowering", "::", "LowerCall", "(", "SDValue", "Chain", ",", "SDValue", "Callee", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "bool", "doesNotRet", ",", "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", ")", ";", "}", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "calls", "into", "the", "specified", "DAG", "."], "TS_V_token": ["OpenRISC", "OpenRISC", "ISD::OutputArg", "ISD::InputArg", "\"Unsupported calling convention\""], "File": "OpenRISCISelLowering", "Func": "LowerCall", "Target": "OpenRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15941, "Length": 124, "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": 15942, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "short", "high_pressure", "(", "enum", "machine_mode", "mode", ")", "{", "if", "(", "(", "REG_N_SETS", "(", "0", ")", "-", "REG_N_DEATHS", "(", "0", ")", ")", ">=", "R0_MAX_LIFE_REGIONS", "&&", "REG_LIVE_LENGTH", "(", "0", ")", ">=", "R0_MAX_LIVE_LENGTH", ")", "return", "1", ";", "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", "0", "0", "0", "1"], "File": "sh3", "Func": "high_pressure", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15943, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "thumb_legitimize_address", "(", "rtx", "x", ",", "rtx", "orig_x", ",", "machine_mode", "mode", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", "&&", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ">=", "32", "*", "GET_MODE_SIZE", "(", "mode", ")", "||", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", "<", "0", ")", ")", "{", "rtx", "xop0", "=", "XEXP", "(", "x", ",", "0", ")", ";", "rtx", "xop1", "=", "XEXP", "(", "x", ",", "1", ")", ";", "HOST_WIDE_INT", "offset", "=", "INTVAL", "(", "xop1", ")", ";", "if", "(", "optimize_size", "&&", "offset", ">=", "0", "&&", "offset", "<", "256", "+", "31", "*", "GET_MODE_SIZE", "(", "mode", ")", ")", "{", "HOST_WIDE_INT", "delta", ";", "if", "(", "offset", ">=", "256", ")", "delta", "=", "offset", "-", "(", "256", "-", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "else", "if", "(", "offset", "<", "32", "*", "GET_MODE_SIZE", "(", "mode", ")", "+", "8", ")", "delta", "=", "31", "*", "GET_MODE_SIZE", "(", "mode", ")", ";", "else", "delta", "=", "offset", "&", "(", "~", "31", "*", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "xop0", "=", "force_operand", "(", "plus_constant", "(", "Pmode", ",", "xop0", ",", "offset", "-", "delta", ")", ",", "NULL_RTX", ")", ";", "x", "=", "plus_constant", "(", "Pmode", ",", "xop0", ",", "delta", ")", ";", "}", "else", "if", "(", "offset", "<", "0", "&&", "offset", ">", "-", "256", ")", "x", "=", "force_operand", "(", "x", ",", "NULL_RTX", ")", ";", "else", "{", "xop1", "=", "force_reg", "(", "SImode", ",", "xop1", ")", ";", "x", "=", "gen_rtx_PLUS", "(", "SImode", ",", "xop0", ",", "xop1", ")", ";", "}", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "s_register_operand", "(", "XEXP", "(", "x", ",", "1", ")", ",", "SImode", ")", "&&", "!", "s_register_operand", "(", "XEXP", "(", "x", ",", "0", ")", ",", "SImode", ")", ")", "{", "rtx", "xop0", "=", "force_operand", "(", "XEXP", "(", "x", ",", "0", ")", ",", "NULL_RTX", ")", ";", "x", "=", "gen_rtx_PLUS", "(", "SImode", ",", "xop0", ",", "XEXP", "(", "x", ",", "1", ")", ")", ";", "}", "if", "(", "flag_pic", ")", "{", "rtx", "new_x", "=", "legitimize_pic_address", "(", "orig_x", ",", "mode", ",", "NULL_RTX", ",", "NULL_RTX", ",", "false", ")", ";", "if", "(", "new_x", "!=", "orig_x", ")", "x", "=", "new_x", ";", "}", "return", "x", ";", "}", ""], "natrual_language": ["Try", "machine-dependent", "ways", "of", "modifying", "an", "illegitimate", "Thumb", "address", "to", "be", "legitimate", ".", "If", "we", "find", "one", ",", "return", "the", "new", ",", "valid", "address", "."], "TS_V_token": ["arm", "1", "1", "32", "1", "0", "0", "1", "0", "256", "31", "256", "256", "32", "8", "31", "31", "0", "256", "1", "0", "0", "1"], "File": "arm", "Func": "thumb_legitimize_address", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15944, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isReg", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ")", "{", "assert", "(", "MI", ".", "getOperand", "(", "OpNo", ")", ".", "isReg", "(", ")", "&&", "\"Register operand expected.\"", ")", ";", "return", "MI", ".", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", "==", "R", ";", "}", ""], "natrual_language": ["isReg", "-", "Is", "this", "a", "register", "operand", "?"], "TS_V_token": ["Mips", "\"Register operand expected.\""], "File": "MipsInstPrinter (2)", "Func": "isReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15945, "Length": 44, "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", "::", "tRestore", ":", "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", "::", "VLD1q64Pseudo", ":", "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::tRestore", "ARM::VLDRD", "ARM::VLDRS", "1", "2", "2", "0", "1", "0", "ARM::VLD1q64Pseudo", "1", "0", "0", "1", "0", "ARM::VLDMQIA", "1", "0", "0", "1", "0", "0"], "File": "ARMBaseInstrInfo11", "Func": "isLoadFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15946, "Length": 345, "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": 15947, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FastISel", "::", "tryToFoldLoadIntoMI", "(", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "LoadInst", "*", "LI", ")", "{", "const", "Value", "*", "Ptr", "=", "LI", "->", "getPointerOperand", "(", ")", ";", "X86AddressMode", "AM", ";", "if", "(", "!", "X86SelectAddress", "(", "Ptr", ",", "AM", ")", ")", "return", "false", ";", "const", "X86InstrInfo", "&", "XII", "=", "(", "const", "X86InstrInfo", "&", ")", "TII", ";", "unsigned", "Size", "=", "DL", ".", "getTypeAllocSize", "(", "LI", "->", "getType", "(", ")", ")", ";", "Align", "Alignment", "=", "DL", ".", "getValueOrABITypeAlignment", "(", "LI", "->", "getAlign", "(", ")", ",", "LI", "->", "getType", "(", ")", ")", ";", "SmallVector", "<", "MachineOperand", ",", "8", ">", "AddrOps", ";", "AM", ".", "getFullAddress", "(", "AddrOps", ")", ";", "MachineInstr", "*", "Result", "=", "XII", ".", "foldMemoryOperandImpl", "(", "*", "FuncInfo", ".", "MF", ",", "*", "MI", ",", "OpNo", ",", "AddrOps", ",", "FuncInfo", ".", "InsertPt", ",", "Size", ",", "Alignment", ",", "true", ")", ";", "if", "(", "!", "Result", ")", "return", "false", ";", "unsigned", "OperandNo", "=", "0", ";", "for", "(", "MachineInstr", "::", "mop_iterator", "I", "=", "Result", "->", "operands_begin", "(", ")", ",", "E", "=", "Result", "->", "operands_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ",", "++", "OperandNo", ")", "{", "MachineOperand", "&", "MO", "=", "*", "I", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", "||", "MO", ".", "isDef", "(", ")", "||", "MO", ".", "getReg", "(", ")", "!=", "AM", ".", "IndexReg", ")", "continue", ";", "unsigned", "IndexReg", "=", "constrainOperandRegClass", "(", "Result", "->", "getDesc", "(", ")", ",", "MO", ".", "getReg", "(", ")", ",", "OperandNo", ")", ";", "if", "(", "IndexReg", "==", "MO", ".", "getReg", "(", ")", ")", "continue", ";", "MO", ".", "setReg", "(", "IndexReg", ")", ";", "}", "Result", "->", "addMemOperand", "(", "*", "FuncInfo", ".", "MF", ",", "createMachineMemOperandFor", "(", "LI", ")", ")", ";", "Result", "->", "cloneInstrSymbols", "(", "*", "FuncInfo", ".", "MF", ",", "*", "MI", ")", ";", "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": ["X86", "X86", "X86", "X86", "X86", "X86", "8", "0"], "File": "X86FastISel20", "Func": "tryToFoldLoadIntoMI", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15948, "Length": 308, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_ubranch", "(", "rtx", "dest", ",", "rtx_insn", "*", "insn", ")", "{", "static", "char", "string", "[", "64", "]", ";", "bool", "v9_form", "=", "false", ";", "int", "delta", ";", "char", "*", "p", ";", "delta", "=", "5000000", ";", "if", "(", "!", "CROSSING_JUMP_P", "(", "insn", ")", "&&", "INSN_ADDRESSES_SET_P", "(", ")", ")", "delta", "=", "(", "INSN_ADDRESSES", "(", "INSN_UID", "(", "dest", ")", ")", "-", "INSN_ADDRESSES", "(", "INSN_UID", "(", "insn", ")", ")", ")", ";", "if", "(", "TARGET_V9", "&&", "delta", ">=", "-", "260000", "&&", "delta", "<", "260000", ")", "v9_form", "=", "true", ";", "if", "(", "TARGET_CBCOND", ")", "{", "bool", "emit_nop", "=", "emit_cbcond_nop", "(", "insn", ")", ";", "bool", "far", "=", "false", ";", "const", "char", "*", "rval", ";", "if", "(", "delta", "<", "-", "500", "||", "delta", ">", "500", ")", "far", "=", "true", ";", "if", "(", "far", ")", "{", "if", "(", "v9_form", ")", "rval", "=", "\"ba,a,pt\\t%%xcc, %l0\"", ";", "else", "rval", "=", "\"b,a\\t%l0\"", ";", "}", "else", "{", "if", "(", "emit_nop", ")", "rval", "=", "\"cwbe\\t%%g0, %%g0, %l0\\n\\tnop\"", ";", "else", "rval", "=", "\"cwbe\\t%%g0, %%g0, %l0\"", ";", "}", "return", "rval", ";", "}", "if", "(", "v9_form", ")", "strcpy", "(", "string", ",", "\"ba%*,pt\\t%%xcc, \"", ")", ";", "else", "strcpy", "(", "string", ",", "\"b%*\\t\"", ")", ";", "p", "=", "strchr", "(", "string", ",", "'\\0'", ")", ";", "*", "p", "++", "=", "'%'", ";", "*", "p", "++", "=", "'l'", ";", "*", "p", "++", "=", "'0'", ";", "*", "p", "++", "=", "'%'", ";", "*", "p", "++", "=", "'('", ";", "*", "p", "=", "'\\0'", ";", "return", "string", ";", "}", ""], "natrual_language": ["Output", "an", "unconditional", "branch", "to", "LABEL", ".", "INSN", "is", "the", "instruction", "."], "TS_V_token": ["sparc", "64", "5000000", "260000", "260000", "500", "500", "\"ba,a,pt\\t%%xcc, %l0\"", "\"b,a\\t%l0\"", "\"cwbe\\t%%g0, %%g0, %l0\\n\\tnop\"", "\"cwbe\\t%%g0, %%g0, %l0\"", "\"ba%*,pt\\t%%xcc, \"", "\"b%*\\t\""], "File": "sparc", "Func": "output_ubranch", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15949, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isMBBSafeToOutlineFrom", "(", "MachineBasicBlock", "&", "MBB", ",", "unsigned", "&", "Flags", ")", "const", "{", "assert", "(", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ".", "tracksLiveness", "(", ")", "&&", "\"Suitable Machine Function for outlining must track liveness\"", ")", ";", "LiveRegUnits", "LRU", "(", "getRegisterInfo", "(", ")", ")", ";", "std", "::", "for_each", "(", "MBB", ".", "rbegin", "(", ")", ",", "MBB", ".", "rend", "(", ")", ",", "[", "&", "LRU", "]", "(", "MachineInstr", "&", "MI", ")", "{", "LRU", ".", "accumulate", "(", "MI", ")", ";", "}", ")", ";", "bool", "R12AvailableInBlock", "=", "LRU", ".", "available", "(", "ARM", "::", "R12", ")", ";", "bool", "CPSRAvailableInBlock", "=", "LRU", ".", "available", "(", "ARM", "::", "CPSR", ")", ";", "if", "(", "R12AvailableInBlock", "&&", "CPSRAvailableInBlock", ")", "Flags", "|=", "MachineOutlinerMBBFlags", "::", "UnsafeRegsDead", ";", "LRU", ".", "addLiveOuts", "(", "MBB", ")", ";", "if", "(", "R12AvailableInBlock", "&&", "!", "LRU", ".", "available", "(", "ARM", "::", "R12", ")", ")", "return", "false", ";", "if", "(", "CPSRAvailableInBlock", "&&", "!", "LRU", ".", "available", "(", "ARM", "::", "CPSR", ")", ")", "return", "false", ";", "if", "(", "any_of", "(", "MBB", ",", "[", "]", "(", "MachineInstr", "&", "MI", ")", "{", "return", "MI", ".", "isCall", "(", ")", ";", "}", ")", ")", "Flags", "|=", "MachineOutlinerMBBFlags", "::", "HasCalls", ";", "bool", "LRIsAvailable", "=", "MBB", ".", "isReturnBlock", "(", ")", "&&", "!", "MBB", ".", "back", "(", ")", ".", "isCall", "(", ")", "?", "isLRAvailable", "(", "getRegisterInfo", "(", ")", ",", "MBB", ".", "rbegin", "(", ")", ",", "MBB", ".", "rend", "(", ")", ")", ":", "LRU", ".", "available", "(", "ARM", "::", "LR", ")", ";", "if", "(", "!", "LRIsAvailable", ")", "Flags", "|=", "MachineOutlinerMBBFlags", "::", "LRUnavailableSomewhere", ";", "return", "true", ";", "}", ""], "natrual_language": ["Optional", "target", "hook", "that", "returns", "true", "if", "MBB", "is", "safe", "to", "outline", "from", ",", "and", "returns", "any", "target-specific", "information", "in", "Flags", "."], "TS_V_token": ["ARM", "ARM", "\"Suitable Machine Function for outlining must track liveness\"", "ARM::R12", "ARM::CPSR", "ARM::R12", "ARM::CPSR", "ARM::LR"], "File": "ARMBaseInstrInfo110", "Func": "isMBBSafeToOutlineFrom", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15950, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "OR1KRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "Reserved", ".", "set", "(", "OR1K", "::", "R0", ")", ";", "Reserved", ".", "set", "(", "OR1K", "::", "R1", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "OR1K", "::", "R2", ")", ";", "Reserved", ".", "set", "(", "OR1K", "::", "R9", ")", ";", "Reserved", ".", "set", "(", "OR1K", "::", "R10", ")", ";", "Reserved", ".", "set", "(", "OR1K", "::", "R16", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "getBaseRegister", "(", ")", ")", ";", "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": ["OR1K", "OR1K", "OR1K::R0", "OR1K::R1", "OR1K::R2", "OR1K::R9", "OR1K::R10", "OR1K::R16"], "File": "OR1KRegisterInfo", "Func": "getReservedRegs", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15951, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsCallEntry", "::", "mayAlias", "(", "const", "MachineFrameInfo", "*", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "this", "instruction", "'s", "memory", "access", "aliases", "the", "memory", "access", "of", "Other", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsMachineFunction", "Func": "mayAlias", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15952, "Length": 15, "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": 15953, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_expand_int_compare", "(", "enum", "rtx_code", "code", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "machine_mode", "cmpmode", ";", "rtx", "tmp", ",", "flags", ";", "if", "(", "(", "code", "==", "GTU", "||", "code", "==", "LEU", ")", "&&", "nonimmediate_operand", "(", "op1", ",", "VOIDmode", ")", ")", "{", "std", "::", "swap", "(", "op0", ",", "op1", ")", ";", "code", "=", "swap_condition", "(", "code", ")", ";", "}", "cmpmode", "=", "SELECT_CC_MODE", "(", "code", ",", "op0", ",", "op1", ")", ";", "flags", "=", "gen_rtx_REG", "(", "cmpmode", ",", "FLAGS_REG", ")", ";", "tmp", "=", "gen_rtx_COMPARE", "(", "cmpmode", ",", "op0", ",", "op1", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "flags", ",", "tmp", ")", ")", ";", "return", "gen_rtx_fmt_ee", "(", "code", ",", "VOIDmode", ",", "flags", ",", "const0_rtx", ")", ";", "}", ""], "natrual_language": ["Generate", "insn", "patterns", "to", "do", "an", "integer", "compare", "of", "OPERANDS", "."], "TS_V_token": ["i386"], "File": "i386-expand", "Func": "ix86_expand_int_compare", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15954, "Length": 114, "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": 15955, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_masked_all_ones", "(", "unsigned", "HOST_WIDE_INT", "elems", ",", "tree", "arg_mask", ")", "{", "if", "(", "TREE_CODE", "(", "arg_mask", ")", "!=", "INTEGER_CST", ")", "return", "false", ";", "unsigned", "HOST_WIDE_INT", "mask", "=", "TREE_INT_CST_LOW", "(", "arg_mask", ")", ";", "if", "(", "(", "mask", "|", "(", "HOST_WIDE_INT_M1U", "<<", "elems", ")", ")", "!=", "HOST_WIDE_INT_M1U", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "arg_mask", "is", "all", "ones", ",", "ELEMS", "is", "elements", "number", "of", "corresponding", "vector", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_masked_all_ones", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15956, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_option_override_internal", "(", "struct", "gcc_options", "*", "opts", ",", "struct", "gcc_options", "*", "opts_set", ")", "{", "arm_override_options_after_change_1", "(", "opts", ")", ";", "if", "(", "TARGET_INTERWORK", "&&", "!", "ARM_FSET_HAS_CPU1", "(", "insn_flags", ",", "FL_THUMB", ")", ")", "{", "opts", "->", "x_target_flags", "&=", "~", "MASK_INTERWORK", ";", "}", "if", "(", "TARGET_THUMB_P", "(", "opts", "->", "x_target_flags", ")", "&&", "!", "(", "ARM_FSET_HAS_CPU1", "(", "insn_flags", ",", "FL_THUMB", ")", ")", ")", "{", "warning", "(", "0", ",", "\"target CPU does not support THUMB instructions\"", ")", ";", "opts", "->", "x_target_flags", "&=", "~", "MASK_THUMB", ";", "}", "if", "(", "TARGET_APCS_FRAME", "&&", "TARGET_THUMB_P", "(", "opts", "->", "x_target_flags", ")", ")", "{", "opts", "->", "x_target_flags", "&=", "~", "MASK_APCS_FRAME", ";", "}", "if", "(", "TARGET_THUMB_P", "(", "opts", "->", "x_target_flags", ")", "&&", "TARGET_CALLEE_INTERWORKING", ")", "opts", "->", "x_target_flags", "|=", "MASK_INTERWORK", ";", "cl_optimization", "*", "to", "=", "TREE_OPTIMIZATION", "(", "init_optimize", ")", ";", "if", "(", "!", "opts_set", "->", "x_arm_restrict_it", ")", "opts", "->", "x_arm_restrict_it", "=", "arm_arch8", ";", "if", "(", "!", "TARGET_THUMB2_P", "(", "opts", "->", "x_target_flags", ")", ")", "opts", "->", "x_arm_restrict_it", "=", "0", ";", "if", "(", "!", "opts_set", "->", "x_unaligned_access", ")", "{", "opts", "->", "x_unaligned_access", "=", "(", "TARGET_32BIT_P", "(", "opts", "->", "x_target_flags", ")", "&&", "arm_arch6", "&&", "(", "arm_arch_notm", "||", "arm_arch7", ")", ")", ";", "}", "else", "if", "(", "opts", "->", "x_unaligned_access", "==", "1", "&&", "!", "(", "arm_arch6", "&&", "(", "arm_arch_notm", "||", "arm_arch7", ")", ")", ")", "{", "warning", "(", "0", ",", "\"target CPU does not support unaligned accesses\"", ")", ";", "opts", "->", "x_unaligned_access", "=", "0", ";", "}", "if", "(", "TARGET_THUMB1_P", "(", "opts", "->", "x_target_flags", ")", ")", "opts", "->", "x_flag_schedule_insns", "=", "0", ";", "else", "opts", "->", "x_flag_schedule_insns", "=", "to", "->", "x_flag_schedule_insns", ";", "if", "(", "optimize_function_for_size_p", "(", "cfun", ")", "&&", "TARGET_THUMB2_P", "(", "opts", "->", "x_target_flags", ")", ")", "opts", "->", "x_flag_shrink_wrap", "=", "false", ";", "else", "opts", "->", "x_flag_shrink_wrap", "=", "to", "->", "x_flag_shrink_wrap", ";", "if", "(", "TARGET_THUMB1_P", "(", "opts", "->", "x_target_flags", ")", ")", "opts", "->", "x_flag_ipa_ra", "=", "0", ";", "else", "opts", "->", "x_flag_ipa_ra", "=", "to", "->", "x_flag_ipa_ra", ";", "opts", "->", "x_inline_asm_unified", "=", "TARGET_THUMB2_P", "(", "opts", "->", "x_target_flags", ")", ";", "SUBTARGET_OVERRIDE_INTERNAL_OPTIONS", ";", "}", ""], "natrual_language": ["Reset", "options", "between", "modes", "that", "the", "user", "has", "specified", "."], "TS_V_token": ["arm", "0", "\"target CPU does not support THUMB instructions\"", "0", "1", "0", "\"target CPU does not support unaligned accesses\"", "0", "0", "0"], "File": "arm5", "Func": "arm_option_override_internal", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15957, "Length": 307, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "loongarch_got_load_tls_gd", "(", "rtx", "dest", ",", "rtx", "sym", ")", "{", "return", "gen_got_load_tls_gd", "(", "Pmode", ",", "dest", ",", "sym", ")", ";", "}", ""], "natrual_language": ["Load", "an", "entry", "from", "the", "GOT", "for", "a", "TLS", "GD", "access", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_got_load_tls_gd", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15958, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalMaskedStore", "(", "Type", "*", "DataType", ",", "Align", "Alignment", ")", "{", "return", "isLegalMaskedLoad", "(", "DataType", ",", "Alignment", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "store", "."], "TS_V_token": ["X86", "X86"], "File": "X86TargetTransformInfo (2)1", "Func": "isLegalMaskedStore", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15959, "Length": 22, "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", "(", ")", ";", "bool", "isAligned", "=", "(", "RI", ".", "getStackAlignment", "(", ")", ">=", "16", ")", "||", "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": "X86InstrInfo12", "Func": "loadRegFromStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15960, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_cannot_copy_insn_p", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "pat", ";", "if", "(", "!", "reload_completed", "||", "!", "flag_pic", ")", "return", "false", ";", "if", "(", "!", "NONJUMP_INSN_P", "(", "insn", ")", ")", "return", "false", ";", "if", "(", "asm_noperands", "(", "insn", ")", ">=", "0", ")", "return", "false", ";", "pat", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "!=", "SET", ")", "return", "false", ";", "pat", "=", "SET_SRC", "(", "pat", ")", ";", "if", "(", "unspec_caller_rtx_p", "(", "pat", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Indicate", "that", "INSN", "can", "not", "be", "duplicated", ".", "This", "is", "true", "for", "insn", "that", "generates", "a", "unique", "label", "."], "TS_V_token": ["sh", "0"], "File": "sh4", "Func": "sh_cannot_copy_insn_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15961, "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", ")", ";", "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.\"", "ARM::MEMCPY", "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": "ARMBaseInstrInfo (2)2", "Func": "expandPostRAPseudo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15962, "Length": 419, "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", "=", "std", "::", "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)4", "Func": "CreateMem", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15963, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "ix86_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", ";", "switch", "(", "TYPE_MODE", "(", "type", ")", ")", "{", "case", "E_HFmode", ":", "return", "\"DF16_\"", ";", "case", "E_TFmode", ":", "return", "\"g\"", ";", "case", "E_XFmode", ":", "return", "\"e\"", ";", "default", ":", "return", "NULL", ";", "}", "}", ""], "natrual_language": ["Return", "the", "mangling", "of", "TYPE", "if", "it", "is", "an", "extended", "fundamental", "type", "."], "TS_V_token": ["i386", "\"DF16_\"", "\"g\"", "\"e\""], "File": "i386", "Func": "ix86_mangle_type", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15964, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ThumbRegisterInfo", "::", "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", "ARMSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "if", "(", "STI", ".", "isThumb1Only", "(", ")", ")", "{", "assert", "(", "(", "isARMLowRegister", "(", "DestReg", ")", "||", "isVirtualRegister", "(", "DestReg", ")", ")", "&&", "\"Thumb1 does not have ldr to high register\"", ")", ";", "return", "emitThumb1LoadConstPool", "(", "MBB", ",", "MBBI", ",", "dl", ",", "DestReg", ",", "SubIdx", ",", "Val", ",", "Pred", ",", "PredReg", ",", "MIFlags", ")", ";", "}", "return", "emitThumb2LoadConstPool", "(", "MBB", ",", "MBBI", ",", "dl", ",", "DestReg", ",", "SubIdx", ",", "Val", ",", "Pred", ",", "PredReg", ",", "MIFlags", ")", ";", "}", ""], "natrual_language": ["emitLoadConstPool", "-", "Emits", "a", "load", "from", "constpool", "to", "materialize", "the", "specified", "immediate", "."], "TS_V_token": ["ARM", "ARMCC::CondCodes", "ARM", "ARM", "ARM", "\"Thumb1 does not have ldr to high register\""], "File": "ThumbRegisterInfo (2)1", "Func": "emitLoadConstPool", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15965, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "OR1KFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "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": ["OR1K", "OR1K"], "File": "OR1KFrameLowering1", "Func": "eliminateCallFramePseudoInstr", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15966, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Darwin PPC Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["PowerPC", "\"Darwin PPC Assembly Printer\""], "File": "PPCAsmPrinter (2)", "Func": "getPassName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15967, "Length": 13, "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": "PPCEarlyReturn20", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15968, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_xcoff_output_readonly_section_asm_op", "(", "const", "void", "*", "directive", ")", "{", "fprintf", "(", "asm_out_file", ",", "\"\\t.csect %s[RO],%s\\n\"", ",", "*", "(", "const", "char", "*", "const", "*", ")", "directive", ",", "XCOFF_CSECT_DEFAULT_ALIGNMENT_STR", ")", ";", "}", ""], "natrual_language": ["A", "get_unnamed_decl", "callback", ",", "used", "for", "read-only", "sections", ".", "PTR", "points", "to", "the", "section", "string", "variable", "."], "TS_V_token": ["powerpcspe", "\"\\t.csect %s[RO],%s\\n\""], "File": "powerpcspe", "Func": "rs6000_xcoff_output_readonly_section_asm_op", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15969, "Length": 30, "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", ",", "SDLoc", "DL", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "MipsCC", "MipsCCInfo", "(", "CallConv", ",", "isO32", "(", ")", ",", "Subtarget", "->", "isFP64bit", "(", ")", ",", "CCInfo", ")", ";", "MipsCCInfo", ".", "analyzeReturn", "(", "Outs", ",", "Subtarget", "->", "mipsSEUsesSoftFloat", "(", ")", ",", "MF", ".", "getFunction", "(", ")", "->", "getReturnType", "(", ")", ")", ";", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "RetOps", "(", "1", ",", "Chain", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "SDValue", "Val", "=", "OutVals", "[", "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", "(", ")", ")", "{", "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", "(", ")", ")", ";", "unsigned", "V0", "=", "isN64", "(", ")", "?", "Mips", "::", "V0_64", ":", "Mips", "::", "V0", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "V0", ",", "Val", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "V0", ",", "getPointerTy", "(", ")", ")", ")", ";", "}", "RetOps", "[", "0", "]", "=", "Chain", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "RetOps", ".", "push_back", "(", "Flag", ")", ";", "return", "DAG", ".", "getNode", "(", "MipsISD", "::", "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": ["Mips", "Mips", "ISD::OutputArg", "16", "Mips", "Mips", "Mips", "4", "1", "0", "\"Can only return in registers!\"", "ISD::BITCAST", "1", "Mips", "Mips", "Mips", "Mips", "\"sret virtual register not created in the entry block\"", "Mips::V0_64", "Mips::V0", "1", "0", "MipsISD::Ret", "MVT::Other"], "File": "MipsISelLowering62", "Func": "LowerReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15970, "Length": 447, "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": 15971, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mt_print_operand_address", "(", "FILE", "*", "file", ",", "rtx", "addr", ")", "{", "if", "(", "GET_CODE", "(", "addr", ")", "==", "AND", "&&", "GET_CODE", "(", "XEXP", "(", "addr", ",", "1", ")", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "XEXP", "(", "addr", ",", "1", ")", ")", "==", "-", "3", ")", "mt_print_operand_simple_address", "(", "file", ",", "XEXP", "(", "addr", ",", "0", ")", ")", ";", "else", "mt_print_operand_simple_address", "(", "file", ",", "addr", ")", ";", "}", ""], "natrual_language": ["Implement", "PRINT_OPERAND_ADDRESS", "."], "TS_V_token": ["mt", "1", "1", "3", "0"], "File": "mt", "Func": "mt_print_operand_address", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15972, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "EvexToVexInstPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "TII", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "ST", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "ST", "->", "hasAVX512", "(", ")", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "Changed", "|=", "CompressEvexToVexImpl", "(", "MI", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86EvexToVex17", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15973, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "SystemZMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "RegClass", "=", "CSI", "[", "i", "]", ".", "getRegClass", "(", ")", ";", "if", "(", "RegClass", "==", "&", "SystemZ", "::", "FP64RegClass", ")", "loadRegFromStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", ",", "RegClass", ")", ";", "}", "unsigned", "LowReg", "=", "MFI", "->", "getLowReg", "(", ")", ",", "HighReg", "=", "MFI", "->", "getHighReg", "(", ")", ";", "unsigned", "StartOffset", "=", "RegSpillOffsets", "[", "LowReg", "]", ";", "if", "(", "StartOffset", ")", "{", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "(", "LowReg", "==", "HighReg", "?", "SystemZ", "::", "MOV64rm", ":", "SystemZ", "::", "MOV64rmm", ")", ")", ")", ";", "MIB", ".", "addReg", "(", "LowReg", ",", "RegState", "::", "Define", ")", ";", "if", "(", "LowReg", "!=", "HighReg", ")", "MIB", ".", "addReg", "(", "HighReg", ",", "RegState", "::", "Define", ")", ";", "MIB", ".", "addReg", "(", "(", "RegInfo", "->", "hasFP", "(", "MF", ")", "?", "SystemZ", "::", "R11D", ":", "SystemZ", "::", "R15D", ")", ")", ";", "MIB", ".", "addImm", "(", "StartOffset", ")", ";", "if", "(", "LowReg", "==", "HighReg", ")", "MIB", ".", "addReg", "(", "0", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "if", "(", "Reg", "!=", "LowReg", "&&", "Reg", "!=", "HighReg", ")", "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::FP64RegClass", "SystemZ::MOV64rm", "SystemZ::MOV64rmm", "SystemZ::R11D", "SystemZ::R15D", "0", "0"], "File": "SystemZInstrInfo31", "Func": "restoreCalleeSavedRegisters", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15974, "Length": 373, "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": 15975, "Length": 15, "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", "&&", "!", "crtl", "->", "is_leaf", ")", "return", "true", ";", "if", "(", "!", "IS_INTERRUPT", "(", "arm_current_func_type", "(", ")", ")", "&&", "(", "flag_stack_check", "==", "STATIC_BUILTIN_STACK_CHECK", "||", "flag_stack_clash_protection", ")", "&&", "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", ">", "get_stack_check_protect", "(", ")", ")", "return", "true", ";", "}", "else", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FRAME_POINTER_REQUIRED", "."], "TS_V_token": ["arm", "0", "32"], "File": "arm", "Func": "arm_frame_pointer_required", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15976, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_init_builtins", "(", "void", ")", "{", "tree", "ftype_set_fpr", "=", "build_function_type_list", "(", "void_type_node", ",", "unsigned_type_node", ",", "NULL", ")", ";", "tree", "ftype_get_fpr", "=", "build_function_type_list", "(", "unsigned_type_node", ",", "NULL", ")", ";", "aarch64_builtin_decls", "[", "AARCH64_BUILTIN_GET_FPCR", "]", "=", "add_builtin_function", "(", "\"__builtin_aarch64_get_fpcr\"", ",", "ftype_get_fpr", ",", "AARCH64_BUILTIN_GET_FPCR", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "aarch64_builtin_decls", "[", "AARCH64_BUILTIN_SET_FPCR", "]", "=", "add_builtin_function", "(", "\"__builtin_aarch64_set_fpcr\"", ",", "ftype_set_fpr", ",", "AARCH64_BUILTIN_SET_FPCR", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "aarch64_builtin_decls", "[", "AARCH64_BUILTIN_GET_FPSR", "]", "=", "add_builtin_function", "(", "\"__builtin_aarch64_get_fpsr\"", ",", "ftype_get_fpr", ",", "AARCH64_BUILTIN_GET_FPSR", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "aarch64_builtin_decls", "[", "AARCH64_BUILTIN_SET_FPSR", "]", "=", "add_builtin_function", "(", "\"__builtin_aarch64_set_fpsr\"", ",", "ftype_set_fpr", ",", "AARCH64_BUILTIN_SET_FPSR", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "if", "(", "TARGET_SIMD", ")", "aarch64_init_simd_builtins", "(", ")", ";", "if", "(", "TARGET_CRC32", ")", "aarch64_init_crc32_builtins", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_INIT_BUILTINS", "."], "TS_V_token": ["aarch64", "\"__builtin_aarch64_get_fpcr\"", "\"__builtin_aarch64_set_fpcr\"", "\"__builtin_aarch64_get_fpsr\"", "\"__builtin_aarch64_set_fpsr\""], "File": "aarch64-builtins2", "Func": "aarch64_init_builtins", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15977, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MicroMipsSizeReduce", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "static_cast", "<", "const", "MipsSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "if", "(", "!", "Subtarget", "->", "inMicroMipsMode", "(", ")", "||", "!", "Subtarget", "->", "hasMips32r2", "(", ")", "||", "Subtarget", "->", "hasMips32r6", "(", ")", ")", "return", "false", ";", "MipsII", "=", "static_cast", "<", "const", "MipsInstrInfo", "*", ">", "(", "Subtarget", "->", "getInstrInfo", "(", ")", ")", ";", "bool", "Modified", "=", "false", ";", "MachineFunction", "::", "iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "for", "(", ";", "I", "!=", "E", ";", "++", "I", ")", "Modified", "|=", "ReduceMBB", "(", "*", "I", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MicroMipsSizeReduction", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15978, "Length": 114, "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": 15979, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "fp_mov_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", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Nonzero", "if", "OP", "is", "a", "floating", "point", "constant", "which", "can", "be", "loaded", "into", "an", "integer", "register", "using", "a", "single", "mov", "instruction", "."], "TS_V_token": ["sparc", "0"], "File": "sparc3", "Func": "fp_mov_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15980, "Length": 48, "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": 15981, "Length": 491, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "IA64AsmPrinter", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "bool", "Result", "=", "AsmPrinter", "::", "doInitialization", "(", "M", ")", ";", "O", "<<", "\"\\n.ident \\\"LLVM-ia64\\\"\\n\\n\"", "<<", "\"\\t.psr lsb\\n\"", "<<", "\"\\t.radix C\\n\"", "<<", "\"\\t.psr abi64\\n\"", ";", "return", "Result", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["IA64", "IA64", "\"\\n.ident \\\"LLVM-ia64\\\"\\n\\n\"", "\"\\t.psr lsb\\n\"", "\"\\t.radix C\\n\"", "\"\\t.psr abi64\\n\""], "File": "IA64AsmPrinter", "Func": "doInitialization", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15982, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "pa_asm_output_aligned_common", "(", "FILE", "*", "stream", ",", "const", "char", "*", "name", ",", "unsigned", "HOST_WIDE_INT", "size", ",", "unsigned", "int", "align", ")", "{", "unsigned", "int", "max_common_align", ";", "max_common_align", "=", "TARGET_64BIT", "?", "128", ":", "(", "size", ">=", "4096", "?", "256", ":", "64", ")", ";", "if", "(", "align", ">", "max_common_align", ")", "{", "warning", "(", "0", ",", "\"alignment (%u) for %s exceeds maximum alignment \"", "\"for global common data. Using %u\"", ",", "align", "/", "BITS_PER_UNIT", ",", "name", ",", "max_common_align", "/", "BITS_PER_UNIT", ")", ";", "align", "=", "max_common_align", ";", "}", "bss_section", "(", ")", ";", "assemble_name", "(", "stream", ",", "name", ")", ";", "fprintf", "(", "stream", ",", "\"\\t.comm \"", "HOST_WIDE_INT_PRINT_UNSIGNED", "\"\\n\"", ",", "MAX", "(", "size", ",", "align", "/", "BITS_PER_UNIT", ")", ")", ";", "}", ""], "natrual_language": ["Both", "the", "HP", "and", "GNU", "assemblers", "under", "HP-UX", "provide", "a", ".comm", "directive", "that", "does", "n't", "allow", "the", "alignment", "of", "global", "common", "storage", "to", "be", "directly", "specified", ".", "The", "SOM", "linker", "aligns", "common", "storage", "based", "on", "the", "rounded", "value", "of", "the", "NUM_BYTES", "parameter", "in", "the", ".comm", "directive", ".", "It", "'s", "not", "possible", "to", "use", "the", ".align", "directive", "as", "it", "does", "n't", "affect", "the", "alignment", "of", "the", "label", "associated", "with", "a", ".comm", "directive", "."], "TS_V_token": ["pa", "128", "4096", "256", "64", "0", "\"alignment (%u) for %s exceeds maximum alignment \"", "\"for global common data. Using %u\"", "\"\\t.comm \"", "\"\\n\""], "File": "pa3", "Func": "pa_asm_output_aligned_common", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15983, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc_d_target_versions", "(", "void", ")", "{", "if", "(", "TARGET_64BIT", ")", "d_add_builtin_version", "(", "\"SPARC64\"", ")", ";", "else", "d_add_builtin_version", "(", "\"SPARC\"", ")", ";", "if", "(", "TARGET_V8PLUS", ")", "d_add_builtin_version", "(", "\"SPARC_V8Plus\"", ")", ";", "if", "(", "TARGET_FPU", ")", "{", "d_add_builtin_version", "(", "\"D_HardFloat\"", ")", ";", "d_add_builtin_version", "(", "\"SPARC_HardFloat\"", ")", ";", "}", "else", "{", "d_add_builtin_version", "(", "\"D_SoftFloat\"", ")", ";", "d_add_builtin_version", "(", "\"SPARC_SoftFloat\"", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_D_CPU_VERSIONS", "for", "SPARC", "targets", "."], "TS_V_token": ["sparc", "\"SPARC64\"", "\"SPARC\"", "\"SPARC_V8Plus\"", "\"D_HardFloat\"", "\"SPARC_HardFloat\"", "\"D_SoftFloat\"", "\"SPARC_SoftFloat\""], "File": "sparc-d", "Func": "sparc_d_target_versions", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15984, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "includes_lshift_p", "(", "rtx", "shiftop", ",", "rtx", "andop", ")", "{", "unsigned", "HOST_WIDE_INT", "shift_mask", "=", "~", "(", "unsigned", "HOST_WIDE_INT", ")", "0", ";", "shift_mask", "<<=", "INTVAL", "(", "shiftop", ")", ";", "return", "(", "INTVAL", "(", "andop", ")", "&", "0xffffffff", "&", "~", "shift_mask", ")", "==", "0", ";", "}", ""], "natrual_language": ["Return", "1", "if", "ANDOP", "is", "a", "mask", "that", "has", "no", "bits", "on", "that", "are", "not", "in", "the", "mask", "required", "to", "convert", "the", "result", "of", "a", "rotate", "insn", "into", "a", "shift", "left", "insn", "of", "SHIFTOP", "bits", ".", "Both", "are", "known", "to", "be", "SImode", "CONST_INT", "."], "TS_V_token": ["rs6000", "0", "0xffffffff", "0"], "File": "rs60003", "Func": "includes_lshift_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15985, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FrameLowering", "::", "assignCalleeSavedSpillSlots", "(", "MachineFunction", "&", "MF", ",", "const", "TargetRegisterInfo", "*", "RegInfo", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "unsigned", "&", "MinCSFrameIndex", ",", "unsigned", "&", "MaxCSFrameIndex", ")", "const", "{", "bool", "NeedsWinCFI", "=", "needsWinCFI", "(", "MF", ")", ";", "if", "(", "NeedsWinCFI", ")", "std", "::", "reverse", "(", "CSI", ".", "begin", "(", ")", ",", "CSI", ".", "end", "(", ")", ")", ";", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "true", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "auto", "*", "AFI", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "for", "(", "auto", "&", "CS", ":", "CSI", ")", "{", "Register", "Reg", "=", "CS", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "RegInfo", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "unsigned", "Size", "=", "RegInfo", "->", "getSpillSize", "(", "*", "RC", ")", ";", "Align", "Alignment", "(", "RegInfo", "->", "getSpillAlign", "(", "*", "RC", ")", ")", ";", "int", "FrameIdx", "=", "MFI", ".", "CreateStackObject", "(", "Size", ",", "Alignment", ",", "true", ")", ";", "CS", ".", "setFrameIdx", "(", "FrameIdx", ")", ";", "if", "(", "(", "unsigned", ")", "FrameIdx", "<", "MinCSFrameIndex", ")", "MinCSFrameIndex", "=", "FrameIdx", ";", "if", "(", "(", "unsigned", ")", "FrameIdx", ">", "MaxCSFrameIndex", ")", "MaxCSFrameIndex", "=", "FrameIdx", ";", "if", "(", "hasFP", "(", "MF", ")", "&&", "AFI", "->", "hasSwiftAsyncContext", "(", ")", "&&", "Reg", "==", "AArch64", "::", "FP", ")", "{", "FrameIdx", "=", "MFI", ".", "CreateStackObject", "(", "8", ",", "Alignment", ",", "true", ")", ";", "AFI", "->", "setSwiftAsyncContextFrameIdx", "(", "FrameIdx", ")", ";", "if", "(", "(", "unsigned", ")", "FrameIdx", "<", "MinCSFrameIndex", ")", "MinCSFrameIndex", "=", "FrameIdx", ";", "if", "(", "(", "unsigned", ")", "FrameIdx", ">", "MaxCSFrameIndex", ")", "MaxCSFrameIndex", "=", "FrameIdx", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["This", "function", "will", "assign", "callee", "saved", "gprs", "to", "volatile", "vector", "registers", "for", "prologue", "spills", "when", "applicable", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64::FP", "8"], "File": "AArch64FrameLowering (2)1", "Func": "assignCalleeSavedSpillSlots", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15986, "Length": 268, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isProfitableToIfCvt", "(", "MachineBasicBlock", "&", "TMBB", ",", "unsigned", "TCycles", ",", "unsigned", "TExtra", ",", "MachineBasicBlock", "&", "FMBB", ",", "unsigned", "FCycles", ",", "unsigned", "FExtra", ",", "const", "BranchProbability", "&", "Probability", ")", "const", "{", "if", "(", "!", "TCycles", "||", "!", "FCycles", ")", "return", "false", ";", "unsigned", "TUnpredCost", "=", "Probability", ".", "getNumerator", "(", ")", "*", "TCycles", ";", "TUnpredCost", "/=", "Probability", ".", "getDenominator", "(", ")", ";", "uint32_t", "Comp", "=", "Probability", ".", "getDenominator", "(", ")", "-", "Probability", ".", "getNumerator", "(", ")", ";", "unsigned", "FUnpredCost", "=", "Comp", "*", "FCycles", ";", "FUnpredCost", "/=", "Probability", ".", "getDenominator", "(", ")", ";", "unsigned", "UnpredCost", "=", "TUnpredCost", "+", "FUnpredCost", ";", "UnpredCost", "+=", "1", ";", "UnpredCost", "+=", "Subtarget", ".", "getMispredictionPenalty", "(", ")", "/", "10", ";", "return", "(", "TCycles", "+", "FCycles", "+", "TExtra", "+", "FExtra", ")", "<=", "UnpredCost", ";", "}", ""], "natrual_language": ["Second", "variant", "of", "isProfitableToIfCvt", "."], "TS_V_token": ["ARM", "ARM", "1", "10"], "File": "ARMBaseInstrInfo (2)", "Func": "isProfitableToIfCvt", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15987, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCTargetLowering", "::", "insertCopiesSplitCSR", "(", "MachineBasicBlock", "*", "Entry", ",", "const", "SmallVectorImpl", "<", "MachineBasicBlock", "*", ">", "&", "Exits", ")", "const", "{", "const", "PPCRegisterInfo", "*", "TRI", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "const", "MCPhysReg", "*", "IStart", "=", "TRI", "->", "getCalleeSavedRegsViaCopy", "(", "Entry", "->", "getParent", "(", ")", ")", ";", "if", "(", "!", "IStart", ")", "return", ";", "const", "TargetInstrInfo", "*", "TII", "=", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "MachineRegisterInfo", "*", "MRI", "=", "&", "Entry", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "Entry", "->", "begin", "(", ")", ";", "for", "(", "const", "MCPhysReg", "*", "I", "=", "IStart", ";", "*", "I", ";", "++", "I", ")", "{", "const", "TargetRegisterClass", "*", "RC", "=", "nullptr", ";", "if", "(", "PPC", "::", "G8RCRegClass", ".", "contains", "(", "*", "I", ")", ")", "RC", "=", "&", "PPC", "::", "G8RCRegClass", ";", "else", "if", "(", "PPC", "::", "F8RCRegClass", ".", "contains", "(", "*", "I", ")", ")", "RC", "=", "&", "PPC", "::", "F8RCRegClass", ";", "else", "if", "(", "PPC", "::", "CRRCRegClass", ".", "contains", "(", "*", "I", ")", ")", "RC", "=", "&", "PPC", "::", "CRRCRegClass", ";", "else", "if", "(", "PPC", "::", "VRRCRegClass", ".", "contains", "(", "*", "I", ")", ")", "RC", "=", "&", "PPC", "::", "VRRCRegClass", ";", "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", ",", "MBBI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "NewVR", ")", ".", "addReg", "(", "*", "I", ")", ";", "for", "(", "auto", "*", "Exit", ":", "Exits", ")", "BuildMI", "(", "*", "Exit", ",", "Exit", "->", "getFirstTerminator", "(", ")", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "*", "I", ")", ".", "addReg", "(", "NewVR", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "explicit", "copies", "in", "entry", "and", "exit", "blocks", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::G8RCRegClass", "PPC::G8RCRegClass", "PPC::F8RCRegClass", "PPC::F8RCRegClass", "PPC::CRRCRegClass", "PPC::CRRCRegClass", "PPC::VRRCRegClass", "PPC::VRRCRegClass", "\"Unexpected register class in CSRsViaCopy!\"", "\"Function should be nounwind in insertCopiesSplitCSR!\""], "File": "PPCISelLowering10", "Func": "insertCopiesSplitCSR", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15988, "Length": 311, "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", "::", "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", ")", ";", "}", "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::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"], "File": "MipsISelLowering101", "Func": "LowerOperation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15989, "Length": 346, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64TargetStreamer", "::", "emitInst", "(", "uint32_t", "Inst", ")", "{", "}", ""], "natrual_language": ["Callback", "used", "to", "implement", "the", ".inst", "directive", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64TargetStreamer12", "Func": "emitInst", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15990, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_slowmul_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_THUMB", ")", "{", "*", "total", "=", "thumb1_rtx_costs", "(", "x", ",", "code", ",", "outer_code", ")", ";", "return", "true", ";", "}", "switch", "(", "code", ")", "{", "case", "MULT", ":", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", "||", "mode", "==", "DImode", ")", "{", "*", "total", "=", "COSTS_N_INSNS", "(", "20", ")", ";", "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", "=", "2", ";", "for", "(", "j", "=", "0", ";", "i", "&&", "j", "<", "32", ";", "j", "+=", "booth_unit_size", ")", "{", "i", ">>=", "booth_unit_size", ";", "cost", "++", ";", "}", "*", "total", "=", "COSTS_N_INSNS", "(", "cost", ")", ";", "*", "total", "+=", "rtx_cost", "(", "XEXP", "(", "x", ",", "0", ")", ",", "code", ",", "0", ",", "speed", ")", ";", "return", "true", ";", "}", "*", "total", "=", "COSTS_N_INSNS", "(", "20", ")", ";", "return", "false", ";", "default", ":", "return", "arm_rtx_costs_1", "(", "x", ",", "outer_code", ",", "total", ",", "speed", ")", ";", ";", "}", "}", ""], "natrual_language": ["RTX", "costs", "for", "cores", "with", "a", "slow", "MUL", "implementation", ".", "Thumb-2", "is", "not", "supported", "on", "any", "``", "slowmul", "''", "cores", ",", "so", "it", "can", "be", "ignored", "."], "TS_V_token": ["arm", "20", "1", "1", "0xffffffff", "4", "8", "2", "0", "32", "0", "0", "20"], "File": "arm4", "Func": "arm_slowmul_rtx_costs", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15991, "Length": 232, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "X86RegisterInfo", "::", "getLargestLegalSuperClass", "(", "const", "TargetRegisterClass", "*", "RC", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "RC", "==", "&", "X86", "::", "GR8_NOREXRegClass", ")", "return", "RC", ";", "const", "X86Subtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "const", "TargetRegisterClass", "*", "Super", "=", "RC", ";", "TargetRegisterClass", "::", "sc_iterator", "I", "=", "RC", "->", "getSuperClasses", "(", ")", ";", "do", "{", "switch", "(", "Super", "->", "getID", "(", ")", ")", "{", "case", "X86", "::", "FR32RegClassID", ":", "case", "X86", "::", "FR64RegClassID", ":", "if", "(", "!", "Subtarget", ".", "hasAVX512", "(", ")", "&&", "getRegSizeInBits", "(", "*", "Super", ")", "==", "getRegSizeInBits", "(", "*", "RC", ")", ")", "return", "Super", ";", "break", ";", "case", "X86", "::", "VR128RegClassID", ":", "case", "X86", "::", "VR256RegClassID", ":", "if", "(", "!", "Subtarget", ".", "hasVLX", "(", ")", "&&", "getRegSizeInBits", "(", "*", "Super", ")", "==", "getRegSizeInBits", "(", "*", "RC", ")", ")", "return", "Super", ";", "break", ";", "case", "X86", "::", "VR128XRegClassID", ":", "case", "X86", "::", "VR256XRegClassID", ":", "if", "(", "Subtarget", ".", "hasVLX", "(", ")", "&&", "getRegSizeInBits", "(", "*", "Super", ")", "==", "getRegSizeInBits", "(", "*", "RC", ")", ")", "return", "Super", ";", "break", ";", "case", "X86", "::", "FR32XRegClassID", ":", "case", "X86", "::", "FR64XRegClassID", ":", "if", "(", "Subtarget", ".", "hasAVX512", "(", ")", "&&", "getRegSizeInBits", "(", "*", "Super", ")", "==", "getRegSizeInBits", "(", "*", "RC", ")", ")", "return", "Super", ";", "break", ";", "case", "X86", "::", "GR8RegClassID", ":", "case", "X86", "::", "GR16RegClassID", ":", "case", "X86", "::", "GR32RegClassID", ":", "case", "X86", "::", "GR64RegClassID", ":", "case", "X86", "::", "RFP32RegClassID", ":", "case", "X86", "::", "RFP64RegClassID", ":", "case", "X86", "::", "RFP80RegClassID", ":", "case", "X86", "::", "VR512_0_15RegClassID", ":", "case", "X86", "::", "VR512RegClassID", ":", "if", "(", "getRegSizeInBits", "(", "*", "Super", ")", "==", "getRegSizeInBits", "(", "*", "RC", ")", ")", "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": ["X86", "X86", "X86::GR8_NOREXRegClass", "X86", "X86", "X86::FR32RegClassID", "X86::FR64RegClassID", "X86::VR128RegClassID", "X86::VR256RegClassID", "X86::VR128XRegClassID", "X86::VR256XRegClassID", "X86::FR32XRegClassID", "X86::FR64XRegClassID", "X86::GR8RegClassID", "X86::GR16RegClassID", "X86::GR32RegClassID", "X86::GR64RegClassID", "X86::RFP32RegClassID", "X86::RFP64RegClassID", "X86::RFP80RegClassID", "X86::VR512_0_15RegClassID", "X86::VR512RegClassID"], "File": "X86RegisterInfo (2)1", "Func": "getLargestLegalSuperClass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15992, "Length": 295, "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": 15993, "Length": 75, "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": 15994, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_handle_attr_tune", "(", "const", "char", "*", "str", ")", "{", "const", "struct", "processor", "*", "tmp_tune", "=", "NULL", ";", "enum", "aarch64_parse_opt_result", "parse_res", "=", "aarch64_parse_tune", "(", "str", ",", "&", "tmp_tune", ")", ";", "if", "(", "parse_res", "==", "AARCH64_PARSE_OK", ")", "{", "gcc_assert", "(", "tmp_tune", ")", ";", "selected_tune", "=", "tmp_tune", ";", "explicit_tune_core", "=", "selected_tune", "->", "ident", ";", "return", "true", ";", "}", "switch", "(", "parse_res", ")", "{", "case", "AARCH64_PARSE_INVALID_ARG", ":", "error", "(", "\"invalid name (\\\"%s\\\") in % pragma or attribute\"", ",", "str", ")", ";", "aarch64_print_hint_for_core", "(", "str", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Handle", "the", "argument", "STR", "to", "the", "tune=", "target", "attribute", ".", "PRAGMA_OR_ATTR", "is", "used", "in", "potential", "error", "messages", "."], "TS_V_token": ["aarch64", "\"invalid name (\\\"%s\\\") in % pragma or attribute\""], "File": "aarch64", "Func": "aarch64_handle_attr_tune", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15995, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XNCMInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "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": ["XNCM", "XNCM", "\"Cannot store this register to stack slot!\""], "File": "XNCMInstrInfo", "Func": "storeRegToStackSlot", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15996, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmBackend", "::", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "static", "const", "uint8_t", "Nops", "[", "10", "]", "[", "10", "]", "=", "{", "{", "0x90", "}", ",", "{", "0x66", ",", "0x90", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x40", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x44", ",", "0x00", ",", "0x00", "}", ",", "{", "0x66", ",", "0x0f", ",", "0x1f", ",", "0x44", ",", "0x00", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x80", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x84", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "{", "0x66", ",", "0x0f", ",", "0x1f", ",", "0x84", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "{", "0x66", ",", "0x2e", ",", "0x0f", ",", "0x1f", ",", "0x84", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "}", ";", "if", "(", "CPU", "==", "\"generic\"", "||", "CPU", "==", "\"i386\"", "||", "CPU", "==", "\"i486\"", "||", "CPU", "==", "\"i586\"", "||", "CPU", "==", "\"pentium\"", "||", "CPU", "==", "\"pentium-mmx\"", "||", "CPU", "==", "\"geode\"", ")", "{", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "<", "Count", ";", "++", "i", ")", "OW", "->", "Write8", "(", "0x90", ")", ";", "return", "true", ";", "}", "const", "uint64_t", "OptimalCount", "=", "(", "Count", "<", "16", ")", "?", "Count", ":", "15", ";", "const", "uint64_t", "Prefixes", "=", "OptimalCount", "<=", "10", "?", "0", ":", "OptimalCount", "-", "10", ";", "for", "(", "uint64_t", "i", "=", "0", ",", "e", "=", "Prefixes", ";", "i", "!=", "e", ";", "i", "++", ")", "OW", "->", "Write8", "(", "0x66", ")", ";", "const", "uint64_t", "Rest", "=", "OptimalCount", "-", "Prefixes", ";", "for", "(", "uint64_t", "i", "=", "0", ",", "e", "=", "Rest", ";", "i", "!=", "e", ";", "i", "++", ")", "OW", "->", "Write8", "(", "Nops", "[", "Rest", "-", "1", "]", "[", "i", "]", ")", ";", "for", "(", "uint64_t", "i", "=", "OptimalCount", ",", "e", "=", "Count", ";", "i", "!=", "e", ";", "++", "i", ")", "OW", "->", "Write8", "(", "0x90", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["X86", "X86", "10", "10", "0x90", "0x66", "0x90", "0x0f", "0x1f", "0x00", "0x0f", "0x1f", "0x40", "0x00", "0x0f", "0x1f", "0x44", "0x00", "0x00", "0x66", "0x0f", "0x1f", "0x44", "0x00", "0x00", "0x0f", "0x1f", "0x80", "0x00", "0x00", "0x00", "0x00", "0x0f", "0x1f", "0x84", "0x00", "0x00", "0x00", "0x00", "0x00", "0x66", "0x0f", "0x1f", "0x84", "0x00", "0x00", "0x00", "0x00", "0x00", "0x66", "0x2e", "0x0f", "0x1f", "0x84", "0x00", "0x00", "0x00", "0x00", "0x00", "\"generic\"", "\"i386\"", "\"i486\"", "\"i586\"", "\"pentium\"", "\"pentium-mmx\"", "\"geode\"", "0", "0x90", "16", "15", "10", "0", "10", "0", "0x66", "0", "1", "0x90"], "File": "X86AsmBackend20", "Func": "writeNopData", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15997, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_emit_swsqrtsf", "(", "rtx", "res", ",", "rtx", "a", ",", "machine_mode", "mode", ",", "bool", "recip", ")", "{", "rtx", "x0", ",", "e0", ",", "e1", ",", "e2", ",", "e3", ",", "mthree", ",", "mhalf", ";", "REAL_VALUE_TYPE", "r", ";", "int", "unspec", ";", "x0", "=", "gen_reg_rtx", "(", "mode", ")", ";", "e0", "=", "gen_reg_rtx", "(", "mode", ")", ";", "e1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "e2", "=", "gen_reg_rtx", "(", "mode", ")", ";", "e3", "=", "gen_reg_rtx", "(", "mode", ")", ";", "real_from_integer", "(", "&", "r", ",", "VOIDmode", ",", "-", "3", ",", "SIGNED", ")", ";", "mthree", "=", "CONST_DOUBLE_FROM_REAL_VALUE", "(", "r", ",", "SFmode", ")", ";", "real_arithmetic", "(", "&", "r", ",", "NEGATE_EXPR", ",", "&", "dconsthalf", ",", "NULL", ")", ";", "mhalf", "=", "CONST_DOUBLE_FROM_REAL_VALUE", "(", "r", ",", "SFmode", ")", ";", "unspec", "=", "UNSPEC_RSQRT", ";", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", ")", "{", "mthree", "=", "ix86_build_const_vector", "(", "mode", ",", "true", ",", "mthree", ")", ";", "mhalf", "=", "ix86_build_const_vector", "(", "mode", ",", "true", ",", "mhalf", ")", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "64", ")", "unspec", "=", "UNSPEC_RSQRT14", ";", "}", "a", "=", "force_reg", "(", "mode", ",", "a", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "x0", ",", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "1", ",", "a", ")", ",", "unspec", ")", ")", ")", ";", "if", "(", "!", "recip", ")", "{", "rtx", "zero", ",", "mask", ";", "zero", "=", "gen_reg_rtx", "(", "mode", ")", ";", "mask", "=", "gen_reg_rtx", "(", "mode", ")", ";", "zero", "=", "force_reg", "(", "mode", ",", "CONST0_RTX", "(", "mode", ")", ")", ";", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "==", "64", ")", "{", "mask", "=", "gen_reg_rtx", "(", "HImode", ")", ";", "emit_insn", "(", "gen_avx512f_cmpv16sf3", "(", "mask", ",", "zero", ",", "a", ",", "GEN_INT", "(", "0x4", ")", ")", ")", ";", "emit_insn", "(", "gen_avx512f_blendmv16sf", "(", "x0", ",", "zero", ",", "x0", ",", "mask", ")", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "mask", ",", "gen_rtx_NE", "(", "mode", ",", "zero", ",", "a", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "x0", ",", "gen_rtx_AND", "(", "mode", ",", "x0", ",", "mask", ")", ")", ")", ";", "}", "}", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "e0", ",", "gen_rtx_MULT", "(", "mode", ",", "x0", ",", "a", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "e1", ",", "gen_rtx_MULT", "(", "mode", ",", "e0", ",", "x0", ")", ")", ")", ";", "mthree", "=", "force_reg", "(", "mode", ",", "mthree", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "e2", ",", "gen_rtx_PLUS", "(", "mode", ",", "e1", ",", "mthree", ")", ")", ")", ";", "mhalf", "=", "force_reg", "(", "mode", ",", "mhalf", ")", ";", "if", "(", "recip", ")", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "e3", ",", "gen_rtx_MULT", "(", "mode", ",", "x0", ",", "mhalf", ")", ")", ")", ";", "else", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "e3", ",", "gen_rtx_MULT", "(", "mode", ",", "e0", ",", "mhalf", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "res", ",", "gen_rtx_MULT", "(", "mode", ",", "e2", ",", "e3", ")", ")", ")", ";", "}", ""], "natrual_language": ["Output", "code", "to", "perform", "a", "Newton-Rhapson", "approximation", "of", "a", "single", "precision", "floating", "point", "[", "reciprocal", "]", "square", "root", "."], "TS_V_token": ["i386", "3", "64", "1", "64", "0x4"], "File": "i3864", "Func": "ix86_emit_swsqrtsf", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 15998, "Length": 468, "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": ["AArch64"], "File": "AArch64RegisterInfo", "Func": "trackLivenessAfterRegAlloc", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 15999, "Length": 14, "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": 16000, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "build_processor_model_struct", "(", "void", ")", "{", "const", "char", "*", "field_name", "[", "]", "=", "{", "\"__cpu_vendor\"", ",", "\"__cpu_type\"", ",", "\"__cpu_subtype\"", ",", "\"__cpu_features\"", "}", ";", "tree", "field", "=", "NULL_TREE", ",", "field_chain", "=", "NULL_TREE", ";", "int", "i", ";", "tree", "type", "=", "make_node", "(", "RECORD_TYPE", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "3", ";", "++", "i", ")", "{", "field", "=", "build_decl", "(", "UNKNOWN_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "field_name", "[", "i", "]", ")", ",", "unsigned_type_node", ")", ";", "if", "(", "field_chain", "!=", "NULL_TREE", ")", "DECL_CHAIN", "(", "field", ")", "=", "field_chain", ";", "field_chain", "=", "field", ";", "}", "field", "=", "build_decl", "(", "UNKNOWN_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "field_name", "[", "3", "]", ")", ",", "build_array_type", "(", "unsigned_type_node", ",", "build_index_type", "(", "size_one_node", ")", ")", ")", ";", "if", "(", "field_chain", "!=", "NULL_TREE", ")", "DECL_CHAIN", "(", "field", ")", "=", "field_chain", ";", "field_chain", "=", "field", ";", "finish_builtin_struct", "(", "type", ",", "\"__processor_model\"", ",", "field_chain", ",", "NULL_TREE", ")", ";", "return", "type", ";", "}", ""], "natrual_language": ["This", "builds", "the", "processor_model", "struct", "type", "defined", "in", "libgcc/config/i386/cpuinfo.c"], "TS_V_token": ["i386", "\"__cpu_vendor\"", "\"__cpu_type\"", "\"__cpu_subtype\"", "\"__cpu_features\"", "0", "3", "3", "\"__processor_model\""], "File": "i386-builtins", "Func": "build_processor_model_struct", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16001, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "*", "PPCInstrInfo", "::", "CreateTargetHazardRecognizer", "(", "const", "TargetMachine", "*", "TM", ",", "const", "ScheduleDAG", "*", "DAG", ")", "const", "{", "unsigned", "Directive", "=", "TM", "->", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "getDarwinDirective", "(", ")", ";", "if", "(", "Directive", "==", "PPC", "::", "DIR_440", "||", "Directive", "==", "PPC", "::", "DIR_A2", "||", "Directive", "==", "PPC", "::", "DIR_E500mc", "||", "Directive", "==", "PPC", "::", "DIR_E5500", ")", "{", "const", "InstrItineraryData", "*", "II", "=", "TM", "->", "getInstrItineraryData", "(", ")", ";", "return", "new", "PPCScoreboardHazardRecognizer", "(", "II", ",", "DAG", ")", ";", "}", "return", "TargetInstrInfoImpl", "::", "CreateTargetHazardRecognizer", "(", "TM", ",", "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": ["PowerPC", "PPC", "PPC", "PPC::DIR_440", "PPC::DIR_A2", "PPC::DIR_E500mc", "PPC::DIR_E5500", "PPC"], "File": "PPCInstrInfo61", "Func": "CreateTargetHazardRecognizer", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16002, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "SDValue", "getTargetNode", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ",", "unsigned", "Flag", ")", "{", "EVT", "Ty", "=", "Op", ".", "getValueType", "(", ")", ";", "if", "(", "GlobalAddressSDNode", "*", "N", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetGlobalAddress", "(", "N", "->", "getGlobal", "(", ")", ",", "Op", ".", "getDebugLoc", "(", ")", ",", "Ty", ",", "0", ",", "Flag", ")", ";", "if", "(", "ExternalSymbolSDNode", "*", "N", "=", "dyn_cast", "<", "ExternalSymbolSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetExternalSymbol", "(", "N", "->", "getSymbol", "(", ")", ",", "Ty", ",", "Flag", ")", ";", "if", "(", "BlockAddressSDNode", "*", "N", "=", "dyn_cast", "<", "BlockAddressSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetBlockAddress", "(", "N", "->", "getBlockAddress", "(", ")", ",", "Ty", ",", "0", ",", "Flag", ")", ";", "if", "(", "JumpTableSDNode", "*", "N", "=", "dyn_cast", "<", "JumpTableSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetJumpTable", "(", "N", "->", "getIndex", "(", ")", ",", "Ty", ",", "Flag", ")", ";", "if", "(", "ConstantPoolSDNode", "*", "N", "=", "dyn_cast", "<", "ConstantPoolSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetConstantPool", "(", "N", "->", "getConstVal", "(", ")", ",", "Ty", ",", "N", "->", "getAlignment", "(", ")", ",", "N", "->", "getOffset", "(", ")", ",", "Flag", ")", ";", "llvm_unreachable", "(", "\"Unexpected node type.\"", ")", ";", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Retrieve", "the", "target", "node", "this", "edge", "connects", "to", "."], "TS_V_token": ["Mips", "0", "0", "\"Unexpected node type.\""], "File": "MipsISelLowering101", "Func": "getTargetNode", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16003, "Length": 207, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "sh_attr_renesas_p", "(", "tree", "td", ")", "{", "if", "(", "TARGET_HITACHI", ")", "return", "1", ";", "if", "(", "td", "==", "0", ")", "return", "0", ";", "if", "(", "DECL_P", "(", "td", ")", ")", "td", "=", "TREE_TYPE", "(", "td", ")", ";", "if", "(", "td", "==", "error_mark_node", ")", "return", "0", ";", "return", "(", "lookup_attribute", "(", "\"renesas\"", ",", "TYPE_ATTRIBUTES", "(", "td", ")", ")", "!=", "NULL_TREE", ")", ";", "}", ""], "natrual_language": ["True", "if", "__attribute__", "(", "(", "renesas", ")", ")", "or", "-mrenesas", "."], "TS_V_token": ["sh", "1", "0", "0", "0", "\"renesas\""], "File": "sh3", "Func": "sh_attr_renesas_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16004, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "MandarinDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "SDLoc", "dl", "(", "N", ")", ";", "if", "(", "N", "->", "isMachineOpcode", "(", ")", ")", "{", "N", "->", "setNodeId", "(", "-", "1", ")", ";", "return", "NULL", ";", "}", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "FrameIndex", ":", "if", "(", "FrameIndexSDNode", "*", "FIN", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "N", ")", ")", "{", "return", "CurDAG", "->", "getTargetFrameIndex", "(", "FIN", "->", "getIndex", "(", ")", ",", "getTargetLowering", "(", ")", "->", "getPointerTy", "(", ")", ")", ".", "getNode", "(", ")", ";", "}", "}", "return", "SelectCode", "(", "N", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["Mandarin", "1", "ISD::FrameIndex"], "File": "MandarinISelDAGToDAG", "Func": "Select", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16005, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0SEFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "if", "(", "MF", ".", "getFrameInfo", "(", ")", ".", "hasCalls", "(", ")", ")", "setAliasRegs", "(", "MF", ",", "SavedRegs", ",", "Cpu0", "::", "LR", ")", ";", "return", ";", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0::LR"], "File": "Cpu0SEFrameLowering1", "Func": "determineCalleeSaves", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16006, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_emit_compare", "(", "enum", "rtx_code", "*", "code", ",", "rtx", "*", "op0", ",", "rtx", "*", "op1", ",", "bool", "need_eq_ne_p", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "cmp_operands", "[", "0", "]", ")", ")", "==", "MODE_INT", ")", "{", "if", "(", "!", "need_eq_ne_p", "&&", "cmp_operands", "[", "1", "]", "==", "const0_rtx", ")", "{", "*", "op0", "=", "cmp_operands", "[", "0", "]", ";", "*", "op1", "=", "cmp_operands", "[", "1", "]", ";", "}", "else", "if", "(", "*", "code", "==", "EQ", "||", "*", "code", "==", "NE", ")", "{", "if", "(", "need_eq_ne_p", ")", "{", "*", "op0", "=", "mips_zero_if_equal", "(", "cmp_operands", "[", "0", "]", ",", "cmp_operands", "[", "1", "]", ")", ";", "*", "op1", "=", "const0_rtx", ";", "}", "else", "{", "*", "op0", "=", "cmp_operands", "[", "0", "]", ";", "*", "op1", "=", "force_reg", "(", "GET_MODE", "(", "*", "op0", ")", ",", "cmp_operands", "[", "1", "]", ")", ";", "}", "}", "else", "{", "bool", "invert", "=", "false", ";", "*", "op0", "=", "gen_reg_rtx", "(", "GET_MODE", "(", "cmp_operands", "[", "0", "]", ")", ")", ";", "*", "op1", "=", "const0_rtx", ";", "mips_emit_int_relational", "(", "*", "code", ",", "&", "invert", ",", "*", "op0", ",", "cmp_operands", "[", "0", "]", ",", "cmp_operands", "[", "1", "]", ")", ";", "*", "code", "=", "(", "invert", "?", "EQ", ":", "NE", ")", ";", "}", "}", "else", "{", "enum", "rtx_code", "cmp_code", ";", "switch", "(", "*", "code", ")", "{", "case", "NE", ":", "case", "LTGT", ":", "case", "ORDERED", ":", "cmp_code", "=", "reverse_condition_maybe_unordered", "(", "*", "code", ")", ";", "*", "code", "=", "EQ", ";", "break", ";", "default", ":", "cmp_code", "=", "*", "code", ";", "*", "code", "=", "NE", ";", "break", ";", "}", "*", "op0", "=", "(", "ISA_HAS_8CC", "?", "gen_reg_rtx", "(", "CCmode", ")", ":", "gen_rtx_REG", "(", "CCmode", ",", "FPSW_REGNUM", ")", ")", ";", "*", "op1", "=", "const0_rtx", ";", "mips_emit_binary", "(", "cmp_code", ",", "*", "op0", ",", "cmp_operands", "[", "0", "]", ",", "cmp_operands", "[", "1", "]", ")", ";", "}", "}", ""], "natrual_language": ["Convert", "a", "comparison", "into", "something", "that", "can", "be", "used", "in", "a", "branch", "or", "conditional", "move", ".", "On", "entry", ",", "*", "OP0", "and", "*", "OP1", "are", "the", "values", "being", "compared", "and", "*", "CODE", "is", "the", "code", "used", "to", "compare", "them", ".", "Update", "*", "CODE", ",", "*", "OP0", "and", "*", "OP1", "so", "that", "they", "describe", "the", "final", "comparison", ".", "If", "NEED_EQ_NE_P", ",", "then", "only", "EQ", "or", "NE", "comparisons", "against", "zero", "are", "possible", ",", "otherwise", "any", "standard", "branch", "condition", "can", "be", "used", ".", "The", "standard", "branch", "conditions", "are", ":", "-", "EQ", "or", "NE", "between", "two", "registers", ".", "-", "any", "comparison", "between", "a", "register", "and", "zero", "."], "TS_V_token": ["mips", "0", "1", "0", "1", "0", "1", "0", "1", "0", "0", "1", "0", "1"], "File": "mips3", "Func": "mips_emit_compare", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16007, "Length": 293, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "swap_const_vector_halves", "(", "rtx", "*", "op_ptr", ")", "{", "int", "i", ";", "rtx", "op", "=", "*", "op_ptr", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "op", ")", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "CONST_VECTOR", ")", "{", "int", "units", "=", "GET_MODE_NUNITS", "(", "GET_MODE", "(", "op", ")", ")", ";", "rtx_vector_builder", "builder", "(", "GET_MODE", "(", "op", ")", ",", "units", ",", "1", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "units", "/", "2", ";", "++", "i", ")", "builder", ".", "quick_push", "(", "CONST_VECTOR_ELT", "(", "op", ",", "i", "+", "units", "/", "2", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "units", "/", "2", ";", "++", "i", ")", "builder", ".", "quick_push", "(", "CONST_VECTOR_ELT", "(", "op", ",", "i", ")", ")", ";", "*", "op_ptr", "=", "builder", ".", "build", "(", ")", ";", "}", "else", "{", "int", "j", ";", "const", "char", "*", "fmt", "=", "GET_RTX_FORMAT", "(", "code", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "GET_RTX_LENGTH", "(", "code", ")", ";", "++", "i", ")", "if", "(", "fmt", "[", "i", "]", "==", "'e'", "||", "fmt", "[", "i", "]", "==", "'u'", ")", "swap_const_vector_halves", "(", "&", "XEXP", "(", "op", ",", "i", ")", ")", ";", "else", "if", "(", "fmt", "[", "i", "]", "==", "'E'", ")", "for", "(", "j", "=", "0", ";", "j", "<", "XVECLEN", "(", "op", ",", "i", ")", ";", "++", "j", ")", "swap_const_vector_halves", "(", "&", "XVECEXP", "(", "op", ",", "i", ",", "j", ")", ")", ";", "}", "}", ""], "natrual_language": ["OP", "is", "either", "a", "CONST_VECTOR", "or", "an", "expression", "containing", "one", ".", "Swap", "the", "first", "half", "of", "the", "vector", "with", "the", "second", "in", "the", "first", "case", ".", "Recurse", "to", "find", "it", "in", "the", "second", "."], "TS_V_token": ["rs6000", "1", "0", "2", "2", "0", "2", "0", "0"], "File": "rs6000-p8swap", "Func": "swap_const_vector_halves", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16008, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTTIImpl", "::", "isLegalMaskedLoad", "(", "Type", "*", "DataTy", ",", "MaybeAlign", "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", "||", "*", "Alignment", ">=", "4", ")", ")", "||", "(", "EltWidth", "==", "16", "&&", "(", "!", "Alignment", "||", "*", "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": "ARMTargetTransformInfo1", "Func": "isLegalMaskedLoad", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16009, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCGenScalarMASSEntries", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "bool", "Changed", "=", "false", ";", "auto", "*", "TPC", "=", "getAnalysisIfAvailable", "<", "TargetPassConfig", ">", "(", ")", ";", "if", "(", "!", "TPC", "||", "skipModule", "(", "M", ")", ")", "return", "false", ";", "for", "(", "Function", "&", "Func", ":", "M", ")", "{", "if", "(", "!", "Func", ".", "isDeclaration", "(", ")", ")", "continue", ";", "auto", "Iter", "=", "ScalarMASSFuncs", ".", "find", "(", "Func", ".", "getName", "(", ")", ")", ";", "if", "(", "Iter", "==", "ScalarMASSFuncs", ".", "end", "(", ")", ")", "continue", ";", "SmallVector", "<", "User", "*", ",", "4", ">", "TheUsers", ";", "for", "(", "auto", "*", "User", ":", "Func", ".", "users", "(", ")", ")", "TheUsers", ".", "push_back", "(", "User", ")", ";", "for", "(", "auto", "*", "User", ":", "TheUsers", ")", "if", "(", "auto", "*", "CI", "=", "dyn_cast_or_null", "<", "CallInst", ">", "(", "User", ")", ")", "{", "if", "(", "isCandidateSafeToLower", "(", "*", "CI", ")", ")", "Changed", "|=", "createScalarMASSCall", "(", "Iter", "->", "second", ",", "*", "CI", ",", "Func", ")", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["PowerPC", "PPC", "4"], "File": "PPCGenScalarMASSEntries", "Func": "runOnModule", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16010, "Length": 164, "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": 16011, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mips_strip_unspec_address", "(", "rtx", "op", ")", "{", "rtx", "base", ",", "offset", ";", "split_const", "(", "op", ",", "&", "base", ",", "&", "offset", ")", ";", "if", "(", "UNSPEC_ADDRESS_P", "(", "base", ")", ")", "op", "=", "plus_constant", "(", "Pmode", ",", "UNSPEC_ADDRESS", "(", "base", ")", ",", "INTVAL", "(", "offset", ")", ")", ";", "return", "op", ";", "}", ""], "natrual_language": ["If", "OP", "is", "an", "UNSPEC", "address", ",", "return", "the", "address", "to", "which", "it", "refers", ",", "otherwise", "return", "OP", "itself", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_strip_unspec_address", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16012, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMElfTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "bool", "isAAPCS_ABI", "=", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "isAAPCS_ABI", "(", ")", ";", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "InitializeELF", "(", "isAAPCS_ABI", ")", ";", "if", "(", "isAAPCS_ABI", "&&", "!", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "isTargetNaCl", "(", ")", ")", "{", "LSDASection", "=", "NULL", ";", "}", "AttributesSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".ARM.attributes\"", ",", "ELF", "::", "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", "ARM", "\".ARM.attributes\"", "ARM", "0"], "File": "ARMTargetObjectFile15", "Func": "Initialize", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16013, "Length": 93, "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": ["rs6000", "1", "1"], "File": "rs6000-logue", "Func": "emit_cfa_restores", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16014, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "AArch64TargetLowering", "::", "emitLoadLinked", "(", "IRBuilder", "<", ">", "&", "Builder", ",", "Value", "*", "Addr", ",", "AtomicOrdering", "Ord", ")", "const", "{", "Module", "*", "M", "=", "Builder", ".", "GetInsertBlock", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "Type", "*", "ValTy", "=", "cast", "<", "PointerType", ">", "(", "Addr", "->", "getType", "(", ")", ")", "->", "getElementType", "(", ")", ";", "bool", "IsAcquire", "=", "isAcquireOrStronger", "(", "Ord", ")", ";", "if", "(", "ValTy", "->", "getPrimitiveSizeInBits", "(", ")", "==", "128", ")", "{", "Intrinsic", "::", "ID", "Int", "=", "IsAcquire", "?", "Intrinsic", "::", "aarch64_ldaxp", ":", "Intrinsic", "::", "aarch64_ldxp", ";", "Function", "*", "Ldxr", "=", "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", "::", "aarch64_ldaxr", ":", "Intrinsic", "::", "aarch64_ldxr", ";", "Function", "*", "Ldxr", "=", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "Int", ",", "Tys", ")", ";", "Type", "*", "EltTy", "=", "cast", "<", "PointerType", ">", "(", "Addr", "->", "getType", "(", ")", ")", "->", "getElementType", "(", ")", ";", "const", "DataLayout", "&", "DL", "=", "M", "->", "getDataLayout", "(", ")", ";", "IntegerType", "*", "IntEltTy", "=", "Builder", ".", "getIntNTy", "(", "DL", ".", "getTypeSizeInBits", "(", "EltTy", ")", ")", ";", "Value", "*", "Trunc", "=", "Builder", ".", "CreateTrunc", "(", "Builder", ".", "CreateCall", "(", "Ldxr", ",", "Addr", ")", ",", "IntEltTy", ")", ";", "return", "Builder", ".", "CreateBitCast", "(", "Trunc", ",", "EltTy", ")", ";", "}", ""], "natrual_language": ["Perform", "a", "load-linked", "operation", "on", "Addr", ",", "returning", "a", "``", "Value", "*", "''", "with", "the", "corresponding", "pointee", "type", "."], "TS_V_token": ["AArch64", "AArch64", "128", "Intrinsic::ID", "Intrinsic::aarch64_ldaxp", "Intrinsic::aarch64_ldxp", "Intrinsic::getDeclaration", "\"lohi\"", "0", "\"lo\"", "1", "\"hi\"", "\"lo64\"", "\"hi64\"", "64", "\"val64\"", "Intrinsic::ID", "Intrinsic::aarch64_ldaxr", "Intrinsic::aarch64_ldxr", "Intrinsic::getDeclaration"], "File": "AArch64ISelLowering (2)3", "Func": "emitLoadLinked", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16015, "Length": 346, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_move_max", "(", "rtx", "dst", ",", "rtx", "src", ")", "{", "ix86_emit_cmove", "(", "dst", ",", "src", ",", "LTU", ",", "dst", ",", "src", ")", ";", "}", ""], "natrual_language": ["Choose", "max", "of", "DST", "and", "SRC", "and", "put", "it", "to", "DST", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_emit_move_max", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16016, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCPassConfig", "::", "addIRPasses", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createPPCBoolRetToIntPass", "(", ")", ")", ";", "addPass", "(", "createAtomicExpandPass", "(", "&", "getPPCTargetMachine", "(", ")", ")", ")", ";", "bool", "UsePrefetching", "=", "TM", "->", "getTargetTriple", "(", ")", ".", "getVendor", "(", ")", "==", "Triple", "::", "BGQ", "&&", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ";", "if", "(", "EnablePrefetch", ".", "getNumOccurrences", "(", ")", ">", "0", ")", "UsePrefetching", "=", "EnablePrefetch", ";", "if", "(", "UsePrefetching", ")", "addPass", "(", "createPPCLoopDataPrefetchPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "Aggressive", "&&", "EnableGEPOpt", ")", "{", "addPass", "(", "createSeparateConstOffsetFromGEPPass", "(", "TM", ",", "true", ")", ")", ";", "addPass", "(", "createEarlyCSEPass", "(", ")", ")", ";", "addPass", "(", "createLICMPass", "(", ")", ")", ";", "}", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "0", "PPC"], "File": "PPCTargetMachine13", "Func": "addIRPasses", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16017, "Length": 134, "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", ";", "Bundles", "=", "&", "getAnalysis", "<", "EdgeBundles", ">", "(", ")", ";", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "bundleCFG", "(", "MF", ")", ";", "StackTop", "=", "0", ";", "SmallPtrSet", "<", "MachineBasicBlock", "*", ",", "8", ">", "Processed", ";", "MachineBasicBlock", "*", "Entry", "=", "MF", ".", "begin", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "*", "BB", ":", "depth_first_ext", "(", "Entry", ",", "Processed", ")", ")", "Changed", "|=", "processBasicBlock", "(", "MF", ",", "*", "BB", ")", ";", "if", "(", "MF", ".", "size", "(", ")", "!=", "Processed", ".", "size", "(", ")", ")", "for", "(", "MachineFunction", "::", "iterator", "BB", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "BB", "!=", "E", ";", "++", "BB", ")", "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", "8"], "File": "X86FloatingPoint55", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16018, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "EmitInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "bool", ")", "override", "{", "if", "(", "isIndirectJump", "(", "Inst", ")", ")", "{", "if", "(", "PendingCall", ")", "report_fatal_error", "(", "\"Dangerous instruction in branch delay slot!\"", ")", ";", "sandboxIndirectJump", "(", "Inst", ",", "STI", ")", ";", "return", ";", "}", "unsigned", "AddrIdx", ";", "bool", "IsStore", ";", "bool", "IsMemAccess", "=", "isBasePlusOffsetMemoryAccess", "(", "Inst", ".", "getOpcode", "(", ")", ",", "&", "AddrIdx", ",", "&", "IsStore", ")", ";", "bool", "IsSPFirstOperand", "=", "isStackPointerFirstOperand", "(", "Inst", ")", ";", "if", "(", "IsMemAccess", "||", "IsSPFirstOperand", ")", "{", "bool", "MaskBefore", "=", "(", "IsMemAccess", "&&", "baseRegNeedsLoadStoreMask", "(", "Inst", ".", "getOperand", "(", "AddrIdx", ")", ".", "getReg", "(", ")", ")", ")", ";", "bool", "MaskAfter", "=", "IsSPFirstOperand", "&&", "!", "IsStore", ";", "if", "(", "MaskBefore", "||", "MaskAfter", ")", "{", "if", "(", "PendingCall", ")", "report_fatal_error", "(", "\"Dangerous instruction in branch delay slot!\"", ")", ";", "sandboxLoadStoreStackChange", "(", "Inst", ",", "AddrIdx", ",", "STI", ",", "MaskBefore", ",", "MaskAfter", ")", ";", "return", ";", "}", "}", "bool", "IsIndirectCall", ";", "if", "(", "isCall", "(", "Inst", ",", "&", "IsIndirectCall", ")", ")", "{", "if", "(", "PendingCall", ")", "report_fatal_error", "(", "\"Dangerous instruction in branch delay slot!\"", ")", ";", "EmitBundleLock", "(", "true", ")", ";", "if", "(", "IsIndirectCall", ")", "{", "unsigned", "TargetReg", "=", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "emitMask", "(", "TargetReg", ",", "IndirectBranchMaskReg", ",", "STI", ")", ";", "}", "MipsELFStreamer", "::", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "PendingCall", "=", "true", ";", "return", ";", "}", "if", "(", "PendingCall", ")", "{", "MipsELFStreamer", "::", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "EmitBundleUnlock", "(", ")", ";", "PendingCall", "=", "false", ";", "return", ";", "}", "MipsELFStreamer", "::", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["Mips", "\"Dangerous instruction in branch delay slot!\"", "\"Dangerous instruction in branch delay slot!\"", "\"Dangerous instruction in branch delay slot!\"", "1", "Mips", "Mips", "Mips"], "File": "MipsNaClELFStreamer", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16019, "Length": 253, "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", ".", "getScalarSizeInBits", "(", ")", ";", "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": "AArch64ISelLowering119", "Func": "computeKnownBitsForTargetNode", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16020, "Length": 391, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "rs6000_emit_allocate_stack", "(", "HOST_WIDE_INT", "size", ",", "rtx", "copy_reg", ",", "int", "copy_off", ")", "{", "rtx_insn", "*", "insn", ";", "rtx", "stack_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "STACK_POINTER_REGNUM", ")", ";", "rtx", "tmp_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ";", "rtx", "todec", "=", "gen_int_mode", "(", "-", "size", ",", "Pmode", ")", ";", "if", "(", "INTVAL", "(", "todec", ")", "!=", "-", "size", ")", "{", "warning", "(", "0", ",", "\"stack frame too large\"", ")", ";", "emit_insn", "(", "gen_trap", "(", ")", ")", ";", "return", "0", ";", "}", "if", "(", "crtl", "->", "limit_stack", ")", "{", "if", "(", "REG_P", "(", "stack_limit_rtx", ")", "&&", "REGNO", "(", "stack_limit_rtx", ")", ">", "1", "&&", "REGNO", "(", "stack_limit_rtx", ")", "<=", "31", ")", "{", "rtx_insn", "*", "insn", "=", "gen_add3_insn", "(", "tmp_reg", ",", "stack_limit_rtx", ",", "GEN_INT", "(", "size", ")", ")", ";", "gcc_assert", "(", "insn", ")", ";", "emit_insn", "(", "insn", ")", ";", "emit_insn", "(", "gen_cond_trap", "(", "LTU", ",", "stack_reg", ",", "tmp_reg", ",", "const0_rtx", ")", ")", ";", "}", "else", "if", "(", "SYMBOL_REF_P", "(", "stack_limit_rtx", ")", "&&", "TARGET_32BIT", "&&", "DEFAULT_ABI", "==", "ABI_V4", "&&", "!", "flag_pic", ")", "{", "rtx", "toload", "=", "gen_rtx_CONST", "(", "VOIDmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_limit_rtx", ",", "GEN_INT", "(", "size", ")", ")", ")", ";", "emit_insn", "(", "gen_elf_high", "(", "tmp_reg", ",", "toload", ")", ")", ";", "emit_insn", "(", "gen_elf_low", "(", "tmp_reg", ",", "tmp_reg", ",", "toload", ")", ")", ";", "emit_insn", "(", "gen_cond_trap", "(", "LTU", ",", "stack_reg", ",", "tmp_reg", ",", "const0_rtx", ")", ")", ";", "}", "else", "warning", "(", "0", ",", "\"stack limit expression is not supported\"", ")", ";", "}", "if", "(", "flag_stack_clash_protection", ")", "{", "if", "(", "size", "<", "get_stack_clash_protection_guard_size", "(", ")", ")", "dump_stack_clash_frame_info", "(", "NO_PROBE_SMALL_FRAME", ",", "true", ")", ";", "else", "{", "rtx_insn", "*", "insn", "=", "rs6000_emit_probe_stack_range_stack_clash", "(", "size", ",", "copy_reg", ")", ";", "if", "(", "copy_reg", "&&", "copy_off", ")", "emit_insn", "(", "gen_add3_insn", "(", "copy_reg", ",", "copy_reg", ",", "GEN_INT", "(", "copy_off", ")", ")", ")", ";", "return", "insn", ";", "}", "}", "if", "(", "copy_reg", ")", "{", "if", "(", "copy_off", "!=", "0", ")", "emit_insn", "(", "gen_add3_insn", "(", "copy_reg", ",", "stack_reg", ",", "GEN_INT", "(", "copy_off", ")", ")", ")", ";", "else", "emit_move_insn", "(", "copy_reg", ",", "stack_reg", ")", ";", "}", "insn", "=", "rs6000_emit_allocate_stack_1", "(", "size", ",", "stack_reg", ")", ";", "return", "insn", ";", "}", ""], "natrual_language": ["Emit", "the", "correct", "code", "for", "allocating", "stack", "space", ",", "as", "insns", ".", "If", "COPY_R12", ",", "make", "sure", "a", "copy", "of", "the", "old", "frame", "is", "left", "in", "r12", ".", "The", "generated", "code", "may", "use", "hard", "register", "0", "as", "a", "temporary", "."], "TS_V_token": ["rs6000", "0", "0", "\"stack frame too large\"", "0", "1", "31", "0", "\"stack limit expression is not supported\"", "0"], "File": "rs60008", "Func": "rs6000_emit_allocate_stack", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16021, "Length": 340, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_option_save", "(", "struct", "cl_target_option", "*", "ptr", ",", "struct", "gcc_options", "*", "opts", ",", "struct", "gcc_options", "*", ")", "{", "ptr", "->", "x_aarch64_override_tune_string", "=", "opts", "->", "x_aarch64_override_tune_string", ";", "ptr", "->", "x_aarch64_branch_protection_string", "=", "opts", "->", "x_aarch64_branch_protection_string", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_SAVE", "."], "TS_V_token": ["aarch64"], "File": "aarch641", "Func": "aarch64_option_save", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16022, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "fusion_split_address", "(", "rtx", "addr", ",", "rtx", "*", "p_hi", ",", "rtx", "*", "p_lo", ")", "{", "rtx", "hi", ",", "lo", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "UNSPEC", "&&", "XINT", "(", "addr", ",", "1", ")", "==", "UNSPEC_FUSION_ADDIS", ")", "{", "lo", "=", "XVECEXP", "(", "addr", ",", "0", ",", "0", ")", ";", "hi", "=", "gen_rtx_HIGH", "(", "Pmode", ",", "lo", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", "||", "GET_CODE", "(", "addr", ")", "==", "LO_SUM", ")", "{", "hi", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "lo", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "*", "p_hi", "=", "hi", ";", "*", "p_lo", "=", "lo", ";", "}", ""], "natrual_language": ["Given", "an", "address", ",", "convert", "it", "into", "the", "addis", "and", "load", "offset", "parts", ".", "Addresses", "created", "during", "the", "peephole2", "process", "look", "like", ":", "(", "lo_sum", "(", "high", "(", "unspec", "[", "(", "sym", ")", "]", "UNSPEC_TOCREL", ")", ")", "(", "unspec", "[", "(", "...", ")", "]", "UNSPEC_TOCREL", ")", ")"], "TS_V_token": ["powerpcspe", "1", "0", "0", "0", "1"], "File": "powerpcspe", "Func": "fusion_split_address", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16023, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "DLXPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createDLXISelDag", "(", "getDLXTargetMachine", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["DLX", "DLX", "DLX", "DLX"], "File": "DLXTargetMachine", "Func": "addInstSelector", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16024, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_density_test", "(", "rs6000_cost_data", "*", "data", ")", "{", "const", "int", "DENSITY_PCT_THRESHOLD", "=", "85", ";", "const", "int", "DENSITY_SIZE_THRESHOLD", "=", "70", ";", "const", "int", "DENSITY_PENALTY", "=", "10", ";", "struct", "loop", "*", "loop", "=", "data", "->", "loop_info", ";", "basic_block", "*", "bbs", "=", "get_loop_body", "(", "loop", ")", ";", "int", "nbbs", "=", "loop", "->", "num_nodes", ";", "int", "vec_cost", "=", "data", "->", "cost", "[", "vect_body", "]", ",", "not_vec_cost", "=", "0", ";", "int", "i", ",", "density_pct", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nbbs", ";", "i", "++", ")", "{", "basic_block", "bb", "=", "bbs", "[", "i", "]", ";", "gimple_stmt_iterator", "gsi", ";", "for", "(", "gsi", "=", "gsi_start_bb", "(", "bb", ")", ";", "!", "gsi_end_p", "(", "gsi", ")", ";", "gsi_next", "(", "&", "gsi", ")", ")", "{", "gimple", "*", "stmt", "=", "gsi_stmt", "(", "gsi", ")", ";", "stmt_vec_info", "stmt_info", "=", "vinfo_for_stmt", "(", "stmt", ")", ";", "if", "(", "!", "STMT_VINFO_RELEVANT_P", "(", "stmt_info", ")", "&&", "!", "STMT_VINFO_IN_PATTERN_P", "(", "stmt_info", ")", ")", "not_vec_cost", "++", ";", "}", "}", "free", "(", "bbs", ")", ";", "density_pct", "=", "(", "vec_cost", "*", "100", ")", "/", "(", "vec_cost", "+", "not_vec_cost", ")", ";", "if", "(", "density_pct", ">", "DENSITY_PCT_THRESHOLD", "&&", "vec_cost", "+", "not_vec_cost", ">", "DENSITY_SIZE_THRESHOLD", ")", "{", "data", "->", "cost", "[", "vect_body", "]", "=", "vec_cost", "*", "(", "100", "+", "DENSITY_PENALTY", ")", "/", "100", ";", "if", "(", "dump_enabled_p", "(", ")", ")", "dump_printf_loc", "(", "MSG_NOTE", ",", "vect_location", ",", "\"density %d%%, cost %d exceeds threshold, penalizing \"", "\"loop body cost by %d%%\"", ",", "density_pct", ",", "vec_cost", "+", "not_vec_cost", ",", "DENSITY_PENALTY", ")", ";", "}", "}", ""], "natrual_language": ["Test", "for", "likely", "overcommitment", "of", "vector", "hardware", "resources", ".", "If", "a", "loop", "iteration", "is", "relatively", "large", ",", "and", "too", "large", "a", "percentage", "of", "instructions", "in", "the", "loop", "are", "vectorized", ",", "the", "cost", "model", "may", "not", "adequately", "reflect", "delays", "from", "unavailable", "vector", "resources", ".", "Penalize", "the", "loop", "body", "cost", "for", "this", "case", "."], "TS_V_token": ["rs6000", "85", "70", "10", "0", "0", "100", "100", "100", "\"density %d%%, cost %d exceeds threshold, penalizing \"", "\"loop body cost by %d%%\""], "File": "rs60005", "Func": "rs6000_density_test", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16025, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZFrameLowering", "::", "assignCalleeSavedSpillSlots", "(", "MachineFunction", "&", "MF", ",", "const", "TargetRegisterInfo", "*", "TRI", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "SystemZMachineFunctionInfo", "*", "ZFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "MachineFrameInfo", "&", "MFFrame", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "bool", "IsVarArg", "=", "MF", ".", "getFunction", "(", ")", ".", "isVarArg", "(", ")", ";", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "true", ";", "unsigned", "LowGPR", "=", "0", ";", "unsigned", "HighGPR", "=", "SystemZ", "::", "R15D", ";", "int", "StartSPOffset", "=", "SystemZMC", "::", "ELFCallFrameSize", ";", "for", "(", "auto", "&", "CS", ":", "CSI", ")", "{", "unsigned", "Reg", "=", "CS", ".", "getReg", "(", ")", ";", "int", "Offset", "=", "getRegSpillOffset", "(", "MF", ",", "Reg", ")", ";", "if", "(", "Offset", ")", "{", "if", "(", "SystemZ", "::", "GR64BitRegClass", ".", "contains", "(", "Reg", ")", "&&", "StartSPOffset", ">", "Offset", ")", "{", "LowGPR", "=", "Reg", ";", "StartSPOffset", "=", "Offset", ";", "}", "Offset", "-=", "SystemZMC", "::", "ELFCallFrameSize", ";", "int", "FrameIdx", "=", "MFFrame", ".", "CreateFixedSpillStackObject", "(", "8", ",", "Offset", ")", ";", "CS", ".", "setFrameIdx", "(", "FrameIdx", ")", ";", "}", "else", "CS", ".", "setFrameIdx", "(", "INT32_MAX", ")", ";", "}", "ZFI", "->", "setRestoreGPRRegs", "(", "LowGPR", ",", "HighGPR", ",", "StartSPOffset", ")", ";", "if", "(", "IsVarArg", ")", "{", "unsigned", "FirstGPR", "=", "ZFI", "->", "getVarArgsFirstGPR", "(", ")", ";", "if", "(", "FirstGPR", "<", "SystemZ", "::", "ELFNumArgGPRs", ")", "{", "unsigned", "Reg", "=", "SystemZ", "::", "ELFArgGPRs", "[", "FirstGPR", "]", ";", "int", "Offset", "=", "getRegSpillOffset", "(", "MF", ",", "Reg", ")", ";", "if", "(", "StartSPOffset", ">", "Offset", ")", "{", "LowGPR", "=", "Reg", ";", "StartSPOffset", "=", "Offset", ";", "}", "}", "}", "ZFI", "->", "setSpillGPRRegs", "(", "LowGPR", ",", "HighGPR", ",", "StartSPOffset", ")", ";", "int", "CurrOffset", "=", "-", "SystemZMC", "::", "ELFCallFrameSize", ";", "if", "(", "usePackedStack", "(", "MF", ")", ")", "CurrOffset", "+=", "StartSPOffset", ";", "for", "(", "auto", "&", "CS", ":", "CSI", ")", "{", "if", "(", "CS", ".", "getFrameIdx", "(", ")", "!=", "INT32_MAX", ")", "continue", ";", "unsigned", "Reg", "=", "CS", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "unsigned", "Size", "=", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", ";", "CurrOffset", "-=", "Size", ";", "assert", "(", "CurrOffset", "%", "8", "==", "0", "&&", "\"8-byte alignment required for for all register save slots\"", ")", ";", "int", "FrameIdx", "=", "MFFrame", ".", "CreateFixedSpillStackObject", "(", "Size", ",", "CurrOffset", ")", ";", "CS", ".", "setFrameIdx", "(", "FrameIdx", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["This", "function", "will", "assign", "callee", "saved", "gprs", "to", "volatile", "vector", "registers", "for", "prologue", "spills", "when", "applicable", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "0", "SystemZ::R15D", "SystemZMC::ELFCallFrameSize", "SystemZ::GR64BitRegClass", "SystemZMC::ELFCallFrameSize", "8", "SystemZ::ELFNumArgGPRs", "SystemZ::ELFArgGPRs", "SystemZMC::ELFCallFrameSize", "8", "0", "\"8-byte alignment required for for all register save slots\""], "File": "SystemZFrameLowering32", "Func": "assignCalleeSavedSpillSlots", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16026, "Length": 378, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "assignCustomValue", "(", "const", "ARMCallLowering", "::", "ArgInfo", "&", "Arg", ",", "ArrayRef", "<", "CCValAssign", ">", "VAs", ")", "override", "{", "assert", "(", "Arg", ".", "Regs", ".", "size", "(", ")", "==", "1", "&&", "\"Can't handle multple regs yet\"", ")", ";", "CCValAssign", "VA", "=", "VAs", "[", "0", "]", ";", "assert", "(", "VA", ".", "needsCustom", "(", ")", "&&", "\"Value doesn't need custom handling\"", ")", ";", "assert", "(", "VA", ".", "getValVT", "(", ")", "==", "MVT", "::", "f64", "&&", "\"Unsupported type\"", ")", ";", "CCValAssign", "NextVA", "=", "VAs", "[", "1", "]", ";", "assert", "(", "NextVA", ".", "needsCustom", "(", ")", "&&", "\"Value doesn't need custom handling\"", ")", ";", "assert", "(", "NextVA", ".", "getValVT", "(", ")", "==", "MVT", "::", "f64", "&&", "\"Unsupported type\"", ")", ";", "assert", "(", "VA", ".", "getValNo", "(", ")", "==", "NextVA", ".", "getValNo", "(", ")", "&&", "\"Values belong to different arguments\"", ")", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Value should be in reg\"", ")", ";", "assert", "(", "NextVA", ".", "isRegLoc", "(", ")", "&&", "\"Value should be in reg\"", ")", ";", "Register", "NewRegs", "[", "]", "=", "{", "MRI", ".", "createGenericVirtualRegister", "(", "LLT", "::", "scalar", "(", "32", ")", ")", ",", "MRI", ".", "createGenericVirtualRegister", "(", "LLT", "::", "scalar", "(", "32", ")", ")", "}", ";", "assignValueToReg", "(", "NewRegs", "[", "0", "]", ",", "VA", ".", "getLocReg", "(", ")", ",", "VA", ")", ";", "assignValueToReg", "(", "NewRegs", "[", "1", "]", ",", "NextVA", ".", "getLocReg", "(", ")", ",", "NextVA", ")", ";", "bool", "IsLittle", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "isLittle", "(", ")", ";", "if", "(", "!", "IsLittle", ")", "std", "::", "swap", "(", "NewRegs", "[", "0", "]", ",", "NewRegs", "[", "1", "]", ")", ";", "MIRBuilder", ".", "buildMerge", "(", "Arg", ".", "Regs", "[", "0", "]", ",", "NewRegs", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Handle", "custom", "values", ",", "which", "may", "be", "passed", "into", "one", "or", "more", "of", "VAs", "."], "TS_V_token": ["ARM", "ARM", "1", "\"Can't handle multple regs yet\"", "0", "\"Value doesn't need custom handling\"", "MVT::f64", "\"Unsupported type\"", "1", "\"Value doesn't need custom handling\"", "MVT::f64", "\"Unsupported type\"", "\"Values belong to different arguments\"", "\"Value should be in reg\"", "\"Value should be in reg\"", "32", "32", "0", "1", "ARM", "0", "1", "0", "1"], "File": "ARMCallLowering1", "Func": "assignCustomValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16027, "Length": 261, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "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", "(", ")", "!=", "X86", "::", "JMP_1", "&&", "X86", "::", "getCondFromBranchOpc", "(", "I", "->", "getOpcode", "(", ")", ")", "==", "X86", "::", "COND_INVALID", ")", "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": ["X86", "X86", "\"code size not handled\"", "0", "X86::JMP_1", "X86::getCondFromBranchOpc", "X86::COND_INVALID"], "File": "X86InstrInfo", "Func": "removeBranch", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16028, "Length": 114, "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", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "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", "::", "VLD1q64", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "128", ")", ".", "addMemOperand", "(", "MMO", ")", ")", ";", "}", "else", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "VLDRQ", ")", ",", "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", "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::VLD1q64", "0", "0", "128", "ARM::VLDRQ", "0"], "File": "ARMBaseInstrInfo114", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16029, "Length": 421, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_init_builtins", "(", "void", ")", "{", "tree", "ftype_set_fpr", "=", "build_function_type_list", "(", "void_type_node", ",", "unsigned_type_node", ",", "NULL", ")", ";", "tree", "ftype_get_fpr", "=", "build_function_type_list", "(", "unsigned_type_node", ",", "NULL", ")", ";", "aarch64_builtin_decls", "[", "AARCH64_BUILTIN_GET_FPCR", "]", "=", "add_builtin_function", "(", "\"__builtin_aarch64_get_fpcr\"", ",", "ftype_get_fpr", ",", "AARCH64_BUILTIN_GET_FPCR", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "aarch64_builtin_decls", "[", "AARCH64_BUILTIN_SET_FPCR", "]", "=", "add_builtin_function", "(", "\"__builtin_aarch64_set_fpcr\"", ",", "ftype_set_fpr", ",", "AARCH64_BUILTIN_SET_FPCR", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "aarch64_builtin_decls", "[", "AARCH64_BUILTIN_GET_FPSR", "]", "=", "add_builtin_function", "(", "\"__builtin_aarch64_get_fpsr\"", ",", "ftype_get_fpr", ",", "AARCH64_BUILTIN_GET_FPSR", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "aarch64_builtin_decls", "[", "AARCH64_BUILTIN_SET_FPSR", "]", "=", "add_builtin_function", "(", "\"__builtin_aarch64_set_fpsr\"", ",", "ftype_set_fpr", ",", "AARCH64_BUILTIN_SET_FPSR", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "aarch64_fp16_type_node", "=", "make_node", "(", "REAL_TYPE", ")", ";", "TYPE_PRECISION", "(", "aarch64_fp16_type_node", ")", "=", "16", ";", "layout_type", "(", "aarch64_fp16_type_node", ")", ";", "(", "*", "lang_hooks", ".", "types", ".", "register_builtin_type", ")", "(", "aarch64_fp16_type_node", ",", "\"__fp16\"", ")", ";", "if", "(", "TARGET_SIMD", ")", "aarch64_init_simd_builtins", "(", ")", ";", "aarch64_init_crc32_builtins", "(", ")", ";", "aarch64_init_builtin_rsqrt", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_INIT_BUILTINS", "."], "TS_V_token": ["aarch64", "\"__builtin_aarch64_get_fpcr\"", "\"__builtin_aarch64_set_fpcr\"", "\"__builtin_aarch64_get_fpsr\"", "\"__builtin_aarch64_set_fpsr\"", "16", "\"__fp16\""], "File": "aarch64-builtins3", "Func": "aarch64_init_builtins", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16030, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CollectLOH", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** AArch64 Collect LOH **********\\n\"", "<<", "\"Looking in function \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "LOHInfo", "LOHInfos", "[", "N_GPR_REGS", "]", ";", "AArch64FunctionInfo", "&", "AFI", "=", "*", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "for", "(", "const", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "memset", "(", "LOHInfos", ",", "0", ",", "sizeof", "(", "LOHInfos", ")", ")", ";", "for", "(", "const", "MachineBasicBlock", "*", "Succ", ":", "MBB", ".", "successors", "(", ")", ")", "{", "for", "(", "const", "auto", "&", "LI", ":", "Succ", "->", "liveins", "(", ")", ")", "{", "int", "RegIdx", "=", "mapRegToGPRIndex", "(", "LI", ".", "PhysReg", ")", ";", "if", "(", "RegIdx", ">=", "0", ")", "LOHInfos", "[", "RegIdx", "]", ".", "OneUser", "=", "true", ";", "}", "}", "for", "(", "const", "MachineInstr", "&", "MI", ":", "instructionsWithoutDebug", "(", "MBB", ".", "rbegin", "(", ")", ",", "MBB", ".", "rend", "(", ")", ")", ")", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "case", "AArch64", "::", "ADDXri", ":", "case", "AArch64", "::", "LDRXui", ":", "case", "AArch64", "::", "LDRWui", ":", "if", "(", "canDefBePartOfLOH", "(", "MI", ")", ")", "{", "const", "MachineOperand", "&", "Def", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "const", "MachineOperand", "&", "Op", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "assert", "(", "Def", ".", "isReg", "(", ")", "&&", "Def", ".", "isDef", "(", ")", "&&", "\"Expected reg def\"", ")", ";", "assert", "(", "Op", ".", "isReg", "(", ")", "&&", "Op", ".", "isUse", "(", ")", "&&", "\"Expected reg use\"", ")", ";", "int", "DefIdx", "=", "mapRegToGPRIndex", "(", "Def", ".", "getReg", "(", ")", ")", ";", "int", "OpIdx", "=", "mapRegToGPRIndex", "(", "Op", ".", "getReg", "(", ")", ")", ";", "if", "(", "DefIdx", ">=", "0", "&&", "OpIdx", ">=", "0", "&&", "handleMiddleInst", "(", "MI", ",", "LOHInfos", "[", "DefIdx", "]", ",", "LOHInfos", "[", "OpIdx", "]", ")", ")", "continue", ";", "}", "break", ";", "case", "AArch64", "::", "ADRP", ":", "const", "MachineOperand", "&", "Op0", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "int", "Idx", "=", "mapRegToGPRIndex", "(", "Op0", ".", "getReg", "(", ")", ")", ";", "if", "(", "Idx", ">=", "0", ")", "{", "handleADRP", "(", "MI", ",", "AFI", ",", "LOHInfos", "[", "Idx", "]", ")", ";", "continue", ";", "}", "break", ";", "}", "handleNormalInst", "(", "MI", ",", "LOHInfos", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"********** AArch64 Collect LOH **********\\n\"", "\"Looking in function \"", "AArch64", "AArch64", "0", "0", "AArch64::ADDXri", "AArch64::LDRXui", "AArch64::LDRWui", "0", "1", "\"Expected reg def\"", "\"Expected reg use\"", "0", "0", "AArch64::ADRP", "0", "0"], "File": "AArch64CollectLOH11", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16031, "Length": 379, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_expand_vpc_loongson_even_odd", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "i", ",", "odd", ",", "nelt", "=", "d", "->", "nelt", ";", "rtx", "t0", ",", "t1", ",", "t2", ",", "t3", ";", "if", "(", "!", "(", "TARGET_HARD_FLOAT", "&&", "TARGET_LOONGSON_VECTORS", ")", ")", "return", "false", ";", "if", "(", "nelt", "<", "4", ")", "return", "false", ";", "odd", "=", "d", "->", "perm", "[", "0", "]", ";", "if", "(", "odd", ">", "1", ")", "return", "false", ";", "for", "(", "i", "=", "1", ";", "i", "<", "nelt", ";", "++", "i", ")", "if", "(", "d", "->", "perm", "[", "i", "]", "!=", "i", "*", "2", "+", "odd", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "t0", "=", "gen_reg_rtx", "(", "d", "->", "vmode", ")", ";", "t1", "=", "gen_reg_rtx", "(", "d", "->", "vmode", ")", ";", "switch", "(", "d", "->", "vmode", ")", "{", "case", "E_V4HImode", ":", "emit_insn", "(", "gen_loongson_punpckhhw", "(", "t0", ",", "d", "->", "op0", ",", "d", "->", "op1", ")", ")", ";", "emit_insn", "(", "gen_loongson_punpcklhw", "(", "t1", ",", "d", "->", "op0", ",", "d", "->", "op1", ")", ")", ";", "if", "(", "odd", ")", "emit_insn", "(", "gen_loongson_punpckhhw", "(", "d", "->", "target", ",", "t1", ",", "t0", ")", ")", ";", "else", "emit_insn", "(", "gen_loongson_punpcklhw", "(", "d", "->", "target", ",", "t1", ",", "t0", ")", ")", ";", "break", ";", "case", "E_V8QImode", ":", "t2", "=", "gen_reg_rtx", "(", "d", "->", "vmode", ")", ";", "t3", "=", "gen_reg_rtx", "(", "d", "->", "vmode", ")", ";", "emit_insn", "(", "gen_loongson_punpckhbh", "(", "t0", ",", "d", "->", "op0", ",", "d", "->", "op1", ")", ")", ";", "emit_insn", "(", "gen_loongson_punpcklbh", "(", "t1", ",", "d", "->", "op0", ",", "d", "->", "op1", ")", ")", ";", "emit_insn", "(", "gen_loongson_punpckhbh", "(", "t2", ",", "t1", ",", "t0", ")", ")", ";", "emit_insn", "(", "gen_loongson_punpcklbh", "(", "t3", ",", "t1", ",", "t0", ")", ")", ";", "if", "(", "odd", ")", "emit_insn", "(", "gen_loongson_punpckhbh", "(", "d", "->", "target", ",", "t3", ",", "t2", ")", ")", ";", "else", "emit_insn", "(", "gen_loongson_punpcklbh", "(", "d", "->", "target", ",", "t3", ",", "t2", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "for", "even-odd", "extraction", "."], "TS_V_token": ["mips", "4", "0", "1", "1", "2"], "File": "mips7", "Func": "mips_expand_vpc_loongson_even_odd", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16032, "Length": 327, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_elf_asm_destructor", "(", "rtx", "symbol", ",", "int", "priority", ")", "{", "arm_elf_asm_cdtor", "(", "symbol", ",", "priority", ",", "false", ")", ";", "}", ""], "natrual_language": ["Add", "a", "function", "to", "the", "list", "of", "static", "destructors", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_elf_asm_destructor", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16033, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_set_func_type", "(", "tree", "fndecl", ")", "{", "if", "(", "cfun", "->", "machine", "->", "func_type", "==", "TYPE_UNKNOWN", ")", "{", "if", "(", "lookup_attribute", "(", "\"interrupt\"", ",", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "fndecl", ")", ")", ")", ")", "{", "if", "(", "ix86_function_naked", "(", "fndecl", ")", ")", "error_at", "(", "DECL_SOURCE_LOCATION", "(", "fndecl", ")", ",", "\"interrupt and naked attributes are not compatible\"", ")", ";", "int", "nargs", "=", "0", ";", "for", "(", "tree", "arg", "=", "DECL_ARGUMENTS", "(", "fndecl", ")", ";", "arg", ";", "arg", "=", "TREE_CHAIN", "(", "arg", ")", ")", "nargs", "++", ";", "cfun", "->", "machine", "->", "no_caller_saved_registers", "=", "true", ";", "cfun", "->", "machine", "->", "func_type", "=", "nargs", "==", "2", "?", "TYPE_EXCEPTION", ":", "TYPE_INTERRUPT", ";", "ix86_optimize_mode_switching", "[", "X86_DIRFLAG", "]", "=", "1", ";", "if", "(", "write_symbols", "!=", "NO_DEBUG", "&&", "write_symbols", "!=", "DWARF2_DEBUG", ")", "sorry", "(", "\"Only DWARF debug format is supported for interrupt \"", "\"service routine.\"", ")", ";", "}", "else", "{", "cfun", "->", "machine", "->", "func_type", "=", "TYPE_NORMAL", ";", "if", "(", "lookup_attribute", "(", "\"no_caller_saved_registers\"", ",", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "fndecl", ")", ")", ")", ")", "cfun", "->", "machine", "->", "no_caller_saved_registers", "=", "true", ";", "}", "}", "}", ""], "natrual_language": ["Set", "the", "func_type", "field", "from", "the", "function", "FNDECL", "."], "TS_V_token": ["i386", "\"interrupt\"", "\"interrupt and naked attributes are not compatible\"", "0", "2", "1", "\"Only DWARF debug format is supported for interrupt \"", "\"service routine.\"", "\"no_caller_saved_registers\""], "File": "i3867", "Func": "ix86_set_func_type", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16034, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_asm_output_variant_pcs", "(", "FILE", "*", "stream", ",", "const", "tree", "decl", ",", "const", "char", "*", "name", ")", "{", "if", "(", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", ")", "{", "arm_pcs", "pcs", "=", "(", "arm_pcs", ")", "fndecl_abi", "(", "decl", ")", ".", "id", "(", ")", ";", "if", "(", "pcs", "==", "ARM_PCS_SIMD", "||", "pcs", "==", "ARM_PCS_SVE", ")", "{", "fprintf", "(", "stream", ",", "\"\\t.variant_pcs\\t\"", ")", ";", "assemble_name", "(", "stream", ",", "name", ")", ";", "fprintf", "(", "stream", ",", "\"\\n\"", ")", ";", "}", "}", "}", ""], "natrual_language": ["Output", ".variant_pcs", "for", "aarch64_vector_pcs", "function", "symbols", "."], "TS_V_token": ["aarch64", "\"\\t.variant_pcs\\t\"", "\"\\n\""], "File": "aarch64", "Func": "aarch64_asm_output_variant_pcs", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16035, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_multipass_dfa_lookahead", "(", "void", ")", "{", "if", "(", "TUNE_SB1", ")", "return", "4", ";", "if", "(", "TUNE_LOONGSON_2EF", "||", "TUNE_GS464", "||", "TUNE_GS464E", ")", "return", "4", ";", "if", "(", "TUNE_OCTEON", "||", "TUNE_GS264E", ")", "return", "2", ";", "if", "(", "TUNE_P5600", "||", "TUNE_P6600", "||", "TUNE_I6400", ")", "return", "4", ";", "return", "0", ";", "}", ""], "natrual_language": ["Implements", "TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD", ".", "This", "should", "be", "as", "wide", "as", "the", "scheduling", "freedom", "in", "the", "DFA", "."], "TS_V_token": ["mips", "4", "4", "2", "4", "0"], "File": "mips", "Func": "mips_multipass_dfa_lookahead", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16036, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "getStackAddress", "(", "uint64_t", "Size", ",", "int64_t", "Offset", ",", "MachinePointerInfo", "&", "MPO", ",", "ISD", "::", "ArgFlagsTy", "Flags", ")", "override", "{", "assert", "(", "(", "Size", "==", "1", "||", "Size", "==", "2", "||", "Size", "==", "4", "||", "Size", "==", "8", ")", "&&", "\"Unsupported size\"", ")", ";", "auto", "&", "MFI", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getFrameInfo", "(", ")", ";", "const", "bool", "IsImmutable", "=", "!", "Flags", ".", "isByVal", "(", ")", ";", "int", "FI", "=", "MFI", ".", "CreateFixedObject", "(", "Size", ",", "Offset", ",", "IsImmutable", ")", ";", "MPO", "=", "MachinePointerInfo", "::", "getFixedStack", "(", "MIRBuilder", ".", "getMF", "(", ")", ",", "FI", ")", ";", "return", "MIRBuilder", ".", "buildFrameIndex", "(", "LLT", "::", "pointer", "(", "MPO", ".", "getAddrSpace", "(", ")", ",", "32", ")", ",", "FI", ")", ".", "getReg", "(", "0", ")", ";", "}", ""], "natrual_language": ["Materialize", "a", "VReg", "containing", "the", "address", "of", "the", "specified", "stack-based", "object", "."], "TS_V_token": ["ARM", "ISD::ArgFlagsTy", "1", "2", "4", "8", "\"Unsupported size\"", "32", "0"], "File": "ARMCallLowering14", "Func": "getStackAddress", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16037, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "PPCTTIImpl", "::", "getIntImmCost", "(", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "if", "(", "DisablePPCConstHoist", ")", "return", "BaseT", "::", "getIntImmCost", "(", "Imm", ",", "Ty", ",", "CostKind", ")", ";", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", ")", "return", "~", "0U", ";", "if", "(", "Imm", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", ")", "{", "if", "(", "isInt", "<", "16", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Basic", ";", "if", "(", "isInt", "<", "32", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "{", "if", "(", "(", "Imm", ".", "getZExtValue", "(", ")", "&", "0xFFFF", ")", "==", "0", ")", "return", "TTI", "::", "TCC_Basic", ";", "return", "2", "*", "TTI", "::", "TCC_Basic", ";", "}", "}", "return", "4", "*", "TTI", "::", "TCC_Basic", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "0", "0U", "0", "64", "16", "32", "0xFFFF", "0", "2", "4"], "File": "PPCTargetTransformInfo12", "Func": "getIntImmCost", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16038, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_vector_logical_operator", "(", "enum", "rtx_code", "code", ",", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ")", "{", "rtx", "op1", "=", "NULL_RTX", ",", "op2", "=", "NULL_RTX", ";", "if", "(", "SUBREG_P", "(", "operands", "[", "1", "]", ")", ")", "{", "op1", "=", "operands", "[", "1", "]", ";", "op2", "=", "operands", "[", "2", "]", ";", "}", "else", "if", "(", "SUBREG_P", "(", "operands", "[", "2", "]", ")", ")", "{", "op1", "=", "operands", "[", "2", "]", ";", "op2", "=", "operands", "[", "1", "]", ";", "}", "if", "(", "op1", "&&", "!", "TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL", "&&", "(", "SUBREG_P", "(", "op2", ")", "||", "GET_CODE", "(", "op2", ")", "==", "CONST_VECTOR", ")", "&&", "GET_MODE_CLASS", "(", "GET_MODE", "(", "SUBREG_REG", "(", "op1", ")", ")", ")", "==", "MODE_VECTOR_FLOAT", "&&", "GET_MODE_SIZE", "(", "GET_MODE", "(", "SUBREG_REG", "(", "op1", ")", ")", ")", "==", "GET_MODE_SIZE", "(", "mode", ")", "&&", "SUBREG_BYTE", "(", "op1", ")", "==", "0", "&&", "(", "GET_CODE", "(", "op2", ")", "==", "CONST_VECTOR", "||", "(", "GET_MODE", "(", "SUBREG_REG", "(", "op1", ")", ")", "==", "GET_MODE", "(", "SUBREG_REG", "(", "op2", ")", ")", "&&", "SUBREG_BYTE", "(", "op2", ")", "==", "0", ")", ")", "&&", "can_create_pseudo_p", "(", ")", ")", "{", "rtx", "dst", ";", "switch", "(", "GET_MODE", "(", "SUBREG_REG", "(", "op1", ")", ")", ")", "{", "case", "V4SFmode", ":", "case", "V8SFmode", ":", "case", "V16SFmode", ":", "case", "V2DFmode", ":", "case", "V4DFmode", ":", "case", "V8DFmode", ":", "dst", "=", "gen_reg_rtx", "(", "GET_MODE", "(", "SUBREG_REG", "(", "op1", ")", ")", ")", ";", "if", "(", "GET_CODE", "(", "op2", ")", "==", "CONST_VECTOR", ")", "{", "op2", "=", "gen_lowpart", "(", "GET_MODE", "(", "dst", ")", ",", "op2", ")", ";", "op2", "=", "force_reg", "(", "GET_MODE", "(", "dst", ")", ",", "op2", ")", ";", "}", "else", "{", "op1", "=", "operands", "[", "1", "]", ";", "op2", "=", "SUBREG_REG", "(", "operands", "[", "2", "]", ")", ";", "if", "(", "!", "vector_operand", "(", "op2", ",", "GET_MODE", "(", "dst", ")", ")", ")", "op2", "=", "force_reg", "(", "GET_MODE", "(", "dst", ")", ",", "op2", ")", ";", "}", "op1", "=", "SUBREG_REG", "(", "op1", ")", ";", "if", "(", "!", "vector_operand", "(", "op1", ",", "GET_MODE", "(", "dst", ")", ")", ")", "op1", "=", "force_reg", "(", "GET_MODE", "(", "dst", ")", ",", "op1", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dst", ",", "gen_rtx_fmt_ee", "(", "code", ",", "GET_MODE", "(", "dst", ")", ",", "op1", ",", "op2", ")", ")", ")", ";", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "gen_lowpart", "(", "mode", ",", "dst", ")", ")", ";", "return", ";", "default", ":", "break", ";", "}", "}", "if", "(", "!", "vector_operand", "(", "operands", "[", "1", "]", ",", "mode", ")", ")", "operands", "[", "1", "]", "=", "force_reg", "(", "mode", ",", "operands", "[", "1", "]", ")", ";", "if", "(", "!", "vector_operand", "(", "operands", "[", "2", "]", ",", "mode", ")", ")", "operands", "[", "2", "]", "=", "force_reg", "(", "mode", ",", "operands", "[", "2", "]", ")", ";", "ix86_fixup_binary_operands_no_copy", "(", "code", ",", "mode", ",", "operands", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "operands", "[", "0", "]", ",", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "vector", "logical", "operation", "CODE", "(", "AND", ",", "IOR", ",", "XOR", ")", "in", "MODE", "with", "the", "given", "OPERANDS", "."], "TS_V_token": ["i386", "1", "1", "2", "2", "2", "1", "0", "0", "1", "2", "0", "1", "1", "1", "2", "2", "2", "0", "1", "2"], "File": "i3865", "Func": "ix86_expand_vector_logical_operator", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16039, "Length": 470, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "ix86_output_indirect_function_return", "(", "rtx", "ret_op", ")", "{", "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", ")", ";", "unsigned", "int", "regno", "=", "REGNO", "(", "ret_op", ")", ";", "gcc_assert", "(", "regno", "==", "CX_REG", ")", ";", "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", ",", "regno", ",", "need_prefix", ",", "true", ")", ";", "if", "(", "need_thunk", ")", "{", "indirect_return_via_cx", "=", "true", ";", "SET_HARD_REG_BIT", "(", "indirect_thunks_used", ",", "CX_REG", ")", ";", "}", "fprintf", "(", "asm_out_file", ",", "\"\\tjmp\\t\"", ")", ";", "assemble_name", "(", "asm_out_file", ",", "thunk_name", ")", ";", "putc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "}", "else", "output_indirect_thunk", "(", "regno", ")", ";", "}", "else", "{", "output_asm_insn", "(", "\"%!jmp\\t%A0\"", ",", "&", "ret_op", ")", ";", "if", "(", "ix86_harden_sls", "&", "harden_sls_indirect_jmp", ")", "fputs", "(", "\"\\tint3\\n\"", ",", "asm_out_file", ")", ";", "}", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "indirect", "function", "return", ".", "RET_OP", "is", "the", "function", "return", "target", "."], "TS_V_token": ["i386", "32", "\"\\tjmp\\t\"", "\"%!jmp\\t%A0\"", "\"\\tint3\\n\"", "\"\""], "File": "i386", "Func": "ix86_output_indirect_function_return", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16040, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "switch", "(", "Kind", ")", "{", "case", "k_Immediate", ":", "OS", "<<", "\"Imm<\"", ";", "Imm", ".", "Val", "->", "print", "(", "OS", ")", ";", "OS", "<<", "\">\"", ";", "break", ";", "case", "k_Memory", ":", "OS", "<<", "\"Mem<\"", ";", "Mem", ".", "Base", "->", "print", "(", "OS", ")", ";", "OS", "<<", "\", \"", ";", "Mem", ".", "Off", "->", "print", "(", "OS", ")", ";", "OS", "<<", "\">\"", ";", "break", ";", "case", "k_PhysRegister", ":", "OS", "<<", "\"PhysReg<\"", "<<", "PhysReg", ".", "Num", "<<", "\">\"", ";", "break", ";", "case", "k_RegisterIndex", ":", "OS", "<<", "\"RegIdx<\"", "<<", "RegIdx", ".", "Index", "<<", "\":\"", "<<", "RegIdx", ".", "Kind", "<<", "\">\"", ";", "break", ";", "case", "k_Token", ":", "OS", "<<", "Tok", ".", "Data", ";", "break", ";", "case", "k_RegList", ":", "OS", "<<", "\"RegList< \"", ";", "for", "(", "auto", "Reg", ":", "(", "*", "RegList", ".", "List", ")", ")", "OS", "<<", "Reg", "<<", "\" \"", ";", "OS", "<<", "\">\"", ";", "break", ";", "case", "k_RegPair", ":", "OS", "<<", "\"RegPair<\"", "<<", "RegIdx", ".", "Index", "<<", "\",\"", "<<", "RegIdx", ".", "Index", "+", "1", "<<", "\">\"", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["Mips", "\"Imm<\"", "\">\"", "\"Mem<\"", "\", \"", "\">\"", "\"PhysReg<\"", "\">\"", "\"RegIdx<\"", "\":\"", "\">\"", "\"RegList< \"", "\" \"", "\">\"", "\"RegPair<\"", "\",\"", "1", "\">\""], "File": "MipsAsmParser19", "Func": "print", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16041, "Length": 175, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZFrameLowering", "::", "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", "SystemZ"], "File": "SystemZFrameLowering10", "Func": "hasReservedCallFrame", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16042, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "rs6000_got_register", "(", "rtx", "value", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "no_new_pseudos", "&&", "!", "regs_ever_live", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", ")", "regs_ever_live", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "1", ";", "current_function_uses_pic_offset_table", "=", "1", ";", "return", "pic_offset_table_rtx", ";", "}", ""], "natrual_language": ["Return", "the", "GOT", "register", "."], "TS_V_token": ["rs6000", "1", "1"], "File": "rs60003", "Func": "rs6000_got_register", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16043, "Length": 33, "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": 16044, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_apply_result_size", "(", "void", ")", "{", "int", "size", "=", "16", ";", "if", "(", "TARGET_32BIT", ")", "{", "if", "(", "TARGET_HARD_FLOAT_ABI", ")", "size", "+=", "32", ";", "if", "(", "TARGET_IWMMXT_ABI", ")", "size", "+=", "8", ";", "}", "return", "size", ";", "}", ""], "natrual_language": ["Determine", "the", "amount", "of", "memory", "needed", "to", "store", "the", "possible", "return", "registers", "of", "an", "untyped", "call", "."], "TS_V_token": ["arm", "16", "32", "8"], "File": "arm", "Func": "arm_apply_result_size", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16045, "Length": 37, "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", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "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": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_const_not_ok_for_debug_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16046, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_option_override", "(", "void", ")", "{", "(", "void", ")", "rs6000_option_override_internal", "(", "true", ")", ";", "opt_pass", "*", "pass_analyze_swaps", "=", "make_pass_analyze_swaps", "(", "g", ")", ";", "struct", "register_pass_info", "analyze_swaps_info", "=", "{", "pass_analyze_swaps", ",", "\"cse1\"", ",", "1", ",", "PASS_POS_INSERT_BEFORE", "}", ";", "register_pass", "(", "&", "analyze_swaps_info", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_OVERRIDE", ".", "On", "the", "RS/6000", "this", "is", "used", "to", "define", "the", "target", "cpu", "type", "."], "TS_V_token": ["rs6000", "\"cse1\"", "1"], "File": "rs60004", "Func": "rs6000_option_override", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16047, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86FrameLowering", "::", "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", "(", "(", "Opc", "==", "X86", "::", "ADD64ri32", "||", "Opc", "==", "X86", "::", "ADD64ri8", "||", "Opc", "==", "X86", "::", "ADD32ri", "||", "Opc", "==", "X86", "::", "ADD32ri8", "||", "Opc", "==", "X86", "::", "LEA32r", "||", "Opc", "==", "X86", "::", "LEA64_32r", ")", "&&", "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", "X86", "0", "0", "X86::ADD64ri32", "X86::ADD64ri8", "X86::ADD32ri", "X86::ADD32ri8", "X86::LEA32r", "X86::LEA64_32r", "0", "2", "X86::SUB64ri32", "X86::SUB64ri8", "X86::SUB32ri", "X86::SUB32ri8", "0", "2"], "File": "X86FrameLowering (2)4", "Func": "mergeSPUpdates", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16048, "Length": 257, "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", "IsPCRel", ")", "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": "X86AsmBackend25", "Func": "applyFixup", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16049, "Length": 119, "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": 16050, "Length": 17, "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", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "dl", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "bool", "LP64", "=", "TM", ".", "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", "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": "PPCRegisterInfo (2)1", "Func": "lowerCRSpilling", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16051, "Length": 318, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "aarch64_sched_issue_rate", "(", "void", ")", "{", "return", "aarch64_tune_params", ".", "issue_rate", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "that", "can", "be", "issued", "per", "cycle", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_sched_issue_rate", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16052, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "long", "arm_compute_func_type", "(", "void", ")", "{", "unsigned", "long", "type", "=", "ARM_FT_UNKNOWN", ";", "tree", "a", ";", "tree", "attr", ";", "gcc_assert", "(", "TREE_CODE", "(", "current_function_decl", ")", "==", "FUNCTION_DECL", ")", ";", "if", "(", "optimize", ">", "0", "&&", "(", "TREE_NOTHROW", "(", "current_function_decl", ")", "||", "!", "(", "flag_unwind_tables", "||", "(", "flag_exceptions", "&&", "arm_except_unwind_info", "(", "&", "global_options", ")", "!=", "UI_SJLJ", ")", ")", ")", "&&", "TREE_THIS_VOLATILE", "(", "current_function_decl", ")", ")", "type", "|=", "ARM_FT_VOLATILE", ";", "if", "(", "cfun", "->", "static_chain_decl", "!=", "NULL", ")", "type", "|=", "ARM_FT_NESTED", ";", "attr", "=", "DECL_ATTRIBUTES", "(", "current_function_decl", ")", ";", "a", "=", "lookup_attribute", "(", "\"naked\"", ",", "attr", ")", ";", "if", "(", "a", "!=", "NULL_TREE", ")", "type", "|=", "ARM_FT_NAKED", ";", "a", "=", "lookup_attribute", "(", "\"isr\"", ",", "attr", ")", ";", "if", "(", "a", "==", "NULL_TREE", ")", "a", "=", "lookup_attribute", "(", "\"interrupt\"", ",", "attr", ")", ";", "if", "(", "a", "==", "NULL_TREE", ")", "type", "|=", "TARGET_INTERWORK", "?", "ARM_FT_INTERWORKED", ":", "ARM_FT_NORMAL", ";", "else", "type", "|=", "arm_isr_value", "(", "TREE_VALUE", "(", "a", ")", ")", ";", "return", "type", ";", "}", ""], "natrual_language": ["Computes", "the", "type", "of", "the", "current", "function", "."], "TS_V_token": ["arm", "0", "\"naked\"", "\"isr\"", "\"interrupt\""], "File": "arm4", "Func": "arm_compute_func_type", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16053, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsInstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "InstrInfo", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsSubtarget (2)1", "Func": "getInstrInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16054, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_return_in_msb", "(", "const_tree", "valtype", ")", "{", "return", "(", "DEFAULT_ABI", "==", "ABI_ELFv2", "&&", "BYTES_BIG_ENDIAN", "&&", "AGGREGATE_TYPE_P", "(", "valtype", ")", "&&", "(", "rs6000_function_arg_padding", "(", "TYPE_MODE", "(", "valtype", ")", ",", "valtype", ")", "==", "PAD_UPWARD", ")", ")", ";", "}", ""], "natrual_language": ["Specify", "whether", "values", "returned", "in", "registers", "should", "be", "at", "the", "most", "significant", "end", "of", "a", "register", ".", "We", "want", "aggregates", "returned", "by", "value", "to", "match", "the", "way", "aggregates", "are", "passed", "to", "functions", "."], "TS_V_token": ["rs6000"], "File": "rs6000-call", "Func": "rs6000_return_in_msb", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16055, "Length": 36, "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", "::", "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_ELF", ":", "return", "\"PPCISD::CALL_ELF\"", ";", "case", "PPCISD", "::", "CALL_Macho", ":", "return", "\"PPCISD::CALL_Macho\"", ";", "case", "PPCISD", "::", "MTCTR", ":", "return", "\"PPCISD::MTCTR\"", ";", "case", "PPCISD", "::", "BCTRL_Macho", ":", "return", "\"PPCISD::BCTRL_Macho\"", ";", "case", "PPCISD", "::", "BCTRL_ELF", ":", "return", "\"PPCISD::BCTRL_ELF\"", ";", "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", "::", "TAILCALL", ":", "return", "\"PPCISD::TAILCALL\"", ";", "case", "PPCISD", "::", "TC_RETURN", ":", "return", "\"PPCISD::TC_RETURN\"", ";", "}", "}", ""], "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::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_ELF", "\"PPCISD::CALL_ELF\"", "PPCISD::CALL_Macho", "\"PPCISD::CALL_Macho\"", "PPCISD::MTCTR", "\"PPCISD::MTCTR\"", "PPCISD::BCTRL_Macho", "\"PPCISD::BCTRL_Macho\"", "PPCISD::BCTRL_ELF", "\"PPCISD::BCTRL_ELF\"", "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::TAILCALL", "\"PPCISD::TAILCALL\"", "PPCISD::TC_RETURN", "\"PPCISD::TC_RETURN\""], "File": "PPCISelLowering123", "Func": "getTargetNodeName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16056, "Length": 328, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_evpc_sve_tbl", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "HOST_WIDE_INT", "nelt", ";", "if", "(", "!", "d", "->", "one_vector_p", "&&", "!", "d", "->", "perm", ".", "length", "(", ")", ".", "is_constant", "(", "&", "nelt", ")", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "machine_mode", "sel_mode", "=", "mode_for_int_vector", "(", "d", "->", "vmode", ")", ".", "require", "(", ")", ";", "rtx", "sel", "=", "vec_perm_indices_to_rtx", "(", "sel_mode", ",", "d", "->", "perm", ")", ";", "if", "(", "d", "->", "one_vector_p", ")", "emit_unspec2", "(", "d", "->", "target", ",", "UNSPEC_TBL", ",", "d", "->", "op0", ",", "force_reg", "(", "sel_mode", ",", "sel", ")", ")", ";", "else", "aarch64_expand_sve_vec_perm", "(", "d", "->", "target", ",", "d", "->", "op0", ",", "d", "->", "op1", ",", "sel", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Try", "to", "implement", "D", "using", "an", "SVE", "TBL", "instruction", "."], "TS_V_token": ["aarch64"], "File": "aarch646", "Func": "aarch64_evpc_sve_tbl", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16057, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "shouldReduceLoadWidth", "(", "SDNode", "*", "Load", ",", "ISD", "::", "LoadExtType", "ExtTy", ",", "EVT", "NewVT", ")", "const", "{", "SDValue", "BasePtr", "=", "cast", "<", "LoadSDNode", ">", "(", "Load", ")", "->", "getBasePtr", "(", ")", ";", "if", "(", "BasePtr", ".", "getOpcode", "(", ")", "==", "X86ISD", "::", "WrapperRIP", ")", "if", "(", "const", "auto", "*", "GA", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "BasePtr", ".", "getOperand", "(", "0", ")", ")", ")", "return", "GA", "->", "getTargetFlags", "(", ")", "!=", "X86II", "::", "MO_GOTTPOFF", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "believe", "it", "is", "correct", "and", "profitable", "to", "reduce", "the", "load", "node", "to", "a", "smaller", "type", "."], "TS_V_token": ["X86", "X86", "ISD::LoadExtType", "X86ISD::WrapperRIP", "0", "X86II::MO_GOTTPOFF"], "File": "X86ISelLowering (2)3", "Func": "shouldReduceLoadWidth", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16058, "Length": 81, "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": ["PowerPC", "MVT::i32"], "File": "PPCISelLowering109", "Func": "getScalarShiftAmountTy", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16059, "Length": 15, "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", ",", "\"disp-only\"", ")", ";", "}", "else", "{", "PrintMemReference", "(", "MI", ",", "OpNo", ",", "O", ",", "\"disp-only\"", ")", ";", "}", "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\"", "\"disp-only\"", "\"disp-only\""], "File": "X86AsmPrinter36", "Func": "PrintAsmMemoryOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16060, "Length": 202, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_gen_store_pair", "(", "machine_mode", "mode", ",", "rtx", "mem1", ",", "rtx", "reg1", ",", "rtx", "mem2", ",", "rtx", "reg2", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_DImode", ":", "return", "gen_store_pair_dw_didi", "(", "mem1", ",", "reg1", ",", "mem2", ",", "reg2", ")", ";", "case", "E_DFmode", ":", "return", "gen_store_pair_dw_dfdf", "(", "mem1", ",", "reg1", ",", "mem2", ",", "reg2", ")", ";", "case", "E_TFmode", ":", "return", "gen_store_pair_dw_tftf", "(", "mem1", ",", "reg1", ",", "mem2", ",", "reg2", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Generate", "and", "return", "a", "store", "pair", "instruction", "of", "mode", "MODE", "to", "store", "register", "REG1", "to", "MEM1", "and", "register", "REG2", "to", "MEM2", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_gen_store_pair", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16061, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "emit_multi_reg_push", "(", "unsigned", "long", "mask", ",", "unsigned", "long", "dwarf_regs_mask", ")", "{", "int", "num_regs", "=", "0", ";", "int", "num_dwarf_regs", "=", "0", ";", "int", "i", ",", "j", ";", "rtx", "par", ";", "rtx", "dwarf", ";", "int", "dwarf_par_index", ";", "rtx", "tmp", ",", "reg", ";", "dwarf_regs_mask", "&=", "~", "(", "1", "<<", "PC_REGNUM", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<=", "LAST_ARM_REGNUM", ";", "i", "++", ")", "{", "if", "(", "mask", "&", "(", "1", "<<", "i", ")", ")", "num_regs", "++", ";", "if", "(", "dwarf_regs_mask", "&", "(", "1", "<<", "i", ")", ")", "num_dwarf_regs", "++", ";", "}", "gcc_assert", "(", "num_regs", "&&", "num_regs", "<=", "16", ")", ";", "gcc_assert", "(", "(", "dwarf_regs_mask", "&", "~", "mask", ")", "==", "0", ")", ";", "par", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "num_regs", ")", ")", ";", "dwarf", "=", "gen_rtx_SEQUENCE", "(", "VOIDmode", ",", "rtvec_alloc", "(", "num_dwarf_regs", "+", "1", ")", ")", ";", "dwarf_par_index", "=", "1", ";", "for", "(", "i", "=", "0", ";", "i", "<=", "LAST_ARM_REGNUM", ";", "i", "++", ")", "{", "if", "(", "mask", "&", "(", "1", "<<", "i", ")", ")", "{", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "i", ")", ";", "XVECEXP", "(", "par", ",", "0", ",", "0", ")", "=", "gen_rtx_SET", "(", "gen_frame_mem", "(", "BLKmode", ",", "gen_rtx_PRE_MODIFY", "(", "Pmode", ",", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "4", "*", "num_regs", ")", ")", ")", ",", "gen_rtx_UNSPEC", "(", "BLKmode", ",", "gen_rtvec", "(", "1", ",", "reg", ")", ",", "UNSPEC_PUSH_MULT", ")", ")", ";", "if", "(", "dwarf_regs_mask", "&", "(", "1", "<<", "i", ")", ")", "{", "tmp", "=", "gen_rtx_SET", "(", "gen_frame_mem", "(", "SImode", ",", "stack_pointer_rtx", ")", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "tmp", ")", "=", "1", ";", "XVECEXP", "(", "dwarf", ",", "0", ",", "dwarf_par_index", "++", ")", "=", "tmp", ";", "}", "break", ";", "}", "}", "for", "(", "j", "=", "1", ",", "i", "++", ";", "j", "<", "num_regs", ";", "i", "++", ")", "{", "if", "(", "mask", "&", "(", "1", "<<", "i", ")", ")", "{", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "i", ")", ";", "XVECEXP", "(", "par", ",", "0", ",", "j", ")", "=", "gen_rtx_USE", "(", "VOIDmode", ",", "reg", ")", ";", "if", "(", "dwarf_regs_mask", "&", "(", "1", "<<", "i", ")", ")", "{", "tmp", "=", "gen_rtx_SET", "(", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "4", "*", "j", ")", ")", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "tmp", ")", "=", "1", ";", "XVECEXP", "(", "dwarf", ",", "0", ",", "dwarf_par_index", "++", ")", "=", "tmp", ";", "}", "j", "++", ";", "}", "}", "par", "=", "emit_insn", "(", "par", ")", ";", "tmp", "=", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "4", "*", "num_regs", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "tmp", ")", "=", "1", ";", "XVECEXP", "(", "dwarf", ",", "0", ",", "0", ")", "=", "tmp", ";", "add_reg_note", "(", "par", ",", "REG_FRAME_RELATED_EXPR", ",", "dwarf", ")", ";", "return", "par", ";", "}", ""], "natrual_language": ["Generate", "and", "emit", "an", "insn", "that", "we", "will", "recognize", "as", "a", "push_multi", ".", "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", "0", "0", "1", "0", "1", "1", "16", "0", "1", "1", "0", "1", "0", "0", "4", "1", "1", "1", "0", "1", "1", "0", "1", "4", "1", "0", "4", "1", "0", "0"], "File": "arm", "Func": "emit_multi_reg_push", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16062, "Length": 445, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameInfo", "::", "spillCalleeSavedRegisters", "(", "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", "(", ")", ";", "bool", "isWin64", "=", "STI", ".", "isTargetWin64", "(", ")", ";", "unsigned", "SlotSize", "=", "STI", ".", "is64Bit", "(", ")", "?", "8", ":", "4", ";", "unsigned", "FPReg", "=", "TRI", "->", "getFrameRegister", "(", "MF", ")", ";", "unsigned", "CalleeFrameSize", "=", "0", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "X86MachineFunctionInfo", "*", "X86FI", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "unsigned", "Opc", "=", "STI", ".", "is64Bit", "(", ")", "?", "X86", "::", "PUSH64r", ":", "X86", "::", "PUSH32r", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "if", "(", "Reg", "==", "FPReg", ")", "continue", ";", "if", "(", "!", "X86", "::", "VR128RegClass", ".", "contains", "(", "Reg", ")", "&&", "!", "isWin64", ")", "{", "CalleeFrameSize", "+=", "SlotSize", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ";", "}", "else", "{", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "TII", ".", "storeRegToStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "true", ",", "CSI", "[", "i", "-", "1", "]", ".", "getFrameIdx", "(", ")", ",", "RC", ",", "TRI", ")", ";", "}", "}", "X86FI", "->", "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": ["X86", "X86", "8", "4", "0", "X86", "X86", "X86", "X86::PUSH64r", "X86::PUSH32r", "0", "1", "X86::VR128RegClass", "1", "X86"], "File": "X86FrameInfo", "Func": "spillCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16063, "Length": 295, "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": ["PowerPC"], "File": "PPCAsmParser (2)1", "Func": "isMem", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16064, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZTargetLowering", "::", "splitValueIntoRegisterParts", "(", "SelectionDAG", "&", "DAG", ",", "const", "SDLoc", "&", "DL", ",", "SDValue", "Val", ",", "SDValue", "*", "Parts", ",", "unsigned", "NumParts", ",", "MVT", "PartVT", ",", "Optional", "<", "CallingConv", "::", "ID", ">", "CC", ")", "const", "{", "EVT", "ValueVT", "=", "Val", ".", "getValueType", "(", ")", ";", "assert", "(", "(", "ValueVT", "!=", "MVT", "::", "i128", "||", "(", "(", "NumParts", "==", "1", "&&", "PartVT", "==", "MVT", "::", "Untyped", ")", "||", "(", "NumParts", "==", "2", "&&", "PartVT", "==", "MVT", "::", "i64", ")", ")", ")", "&&", "\"Unknown handling of i128 value.\"", ")", ";", "if", "(", "ValueVT", "==", "MVT", "::", "i128", "&&", "NumParts", "==", "1", ")", "{", "Parts", "[", "0", "]", "=", "lowerI128ToGR128", "(", "DAG", ",", "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": ["SystemZ", "SystemZ", "MVT::i128", "1", "MVT::Untyped", "2", "MVT::i64", "\"Unknown handling of i128 value.\"", "MVT::i128", "1", "0"], "File": "SystemZISelLowering (2)2", "Func": "splitValueIntoRegisterParts", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16065, "Length": 118, "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", ";", "const", "TargetRegisterClass", "*", "RCs", "[", "2", "]", "=", "{", "&", "X86", "::", "VR256RegClass", ",", "&", "X86", "::", "VR512RegClass", "}", ";", "for", "(", "auto", "*", "RC", ":", "RCs", ")", "{", "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", ")", "{", "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", "2", "X86::VR256RegClass", "X86::VR512RegClass", "\"X86VZeroUpper state should be clear\"", "\"MBB #\"", "\" was Pass-through, is now Dirty-out.\\n\""], "File": "X86VZeroUpper25", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16066, "Length": 360, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_round_sse4", "(", "rtx", "op0", ",", "rtx", "op1", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "op0", ")", ";", "rtx", "e1", ",", "e2", ",", "res", ",", "half", ";", "const", "struct", "real_format", "*", "fmt", ";", "REAL_VALUE_TYPE", "pred_half", ",", "half_minus_pred_half", ";", "rtx", "(", "*", "gen_copysign", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "rtx", "(", "*", "gen_round", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "switch", "(", "mode", ")", "{", "case", "E_SFmode", ":", "gen_copysign", "=", "gen_copysignsf3", ";", "gen_round", "=", "gen_sse4_1_roundsf2", ";", "break", ";", "case", "E_DFmode", ":", "gen_copysign", "=", "gen_copysigndf3", ";", "gen_round", "=", "gen_sse4_1_rounddf2", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "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", "=", "const_double_from_real_value", "(", "pred_half", ",", "mode", ")", ";", "e1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_copysign", "(", "e1", ",", "half", ",", "op1", ")", ")", ";", "e2", "=", "expand_simple_binop", "(", "mode", ",", "PLUS", ",", "op1", ",", "e1", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "res", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_round", "(", "res", ",", "e2", ",", "GEN_INT", "(", "ROUND_TRUNC", ")", ")", ")", ";", "emit_move_insn", "(", "op0", ",", "res", ")", ";", "}", ""], "natrual_language": ["Expand", "SSE", "sequence", "for", "computing", "round", "from", "OP1", "storing", "into", "OP0", "using", "sse4", "round", "insn", "."], "TS_V_token": ["i386", "1", "0"], "File": "i386-expand", "Func": "ix86_expand_round_sse4", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16067, "Length": 217, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "find_instance", "(", "bool", "*", "unsupported_builtin", ",", "ovlddata", "*", "*", "instance", ",", "rs6000_gen_builtins", "instance_code", ",", "rs6000_gen_builtins", "fcode", ",", "tree", "*", "types", ",", "tree", "*", "args", ")", "{", "while", "(", "*", "instance", "&&", "(", "*", "instance", ")", "->", "bifid", "!=", "instance_code", ")", "*", "instance", "=", "(", "*", "instance", ")", "->", "next", ";", "ovlddata", "*", "inst", "=", "*", "instance", ";", "gcc_assert", "(", "inst", "!=", "NULL", ")", ";", "if", "(", "!", "inst", "->", "fntype", ")", "return", "error_mark_node", ";", "tree", "fntype", "=", "rs6000_builtin_info", "[", "inst", "->", "bifid", "]", ".", "fntype", ";", "tree", "parmtype0", "=", "TREE_VALUE", "(", "TYPE_ARG_TYPES", "(", "fntype", ")", ")", ";", "tree", "parmtype1", "=", "TREE_VALUE", "(", "TREE_CHAIN", "(", "TYPE_ARG_TYPES", "(", "fntype", ")", ")", ")", ";", "if", "(", "rs6000_builtin_type_compatible", "(", "types", "[", "0", "]", ",", "parmtype0", ")", "&&", "rs6000_builtin_type_compatible", "(", "types", "[", "1", "]", ",", "parmtype1", ")", ")", "{", "if", "(", "rs6000_builtin_decl", "(", "inst", "->", "bifid", ",", "false", ")", "!=", "error_mark_node", "&&", "rs6000_builtin_is_supported", "(", "inst", "->", "bifid", ")", ")", "{", "tree", "ret_type", "=", "TREE_TYPE", "(", "inst", "->", "fntype", ")", ";", "return", "altivec_build_resolved_builtin", "(", "args", ",", "2", ",", "fntype", ",", "ret_type", ",", "inst", "->", "bifid", ",", "fcode", ")", ";", "}", "else", "*", "unsupported_builtin", "=", "true", ";", "}", "return", "error_mark_node", ";", "}", ""], "natrual_language": ["Look", "for", "a", "matching", "instance", "in", "a", "chain", "of", "instances", ".", "INSTANCE", "points", "to", "the", "chain", "of", "instances", ";", "INSTANCE_CODE", "is", "the", "code", "identifying", "the", "specific", "built-in", "being", "searched", "for", ";", "FCODE", "is", "the", "overloaded", "function", "code", ";", "TYPES", "contains", "an", "array", "of", "two", "types", "that", "must", "match", "the", "types", "of", "the", "instance", "'s", "parameters", ";", "and", "ARGS", "contains", "an", "array", "of", "two", "arguments", "to", "be", "passed", "to", "the", "instance", ".", "If", "found", ",", "resolve", "the", "built-in", "and", "return", "it", ",", "unless", "the", "built-in", "is", "not", "supported", "in", "context", ".", "In", "that", "case", ",", "set", "UNSUPPORTED_BUILTIN", "to", "true", ".", "If", "we", "do", "n't", "match", ",", "return", "error_mark_node", "and", "leave", "UNSUPPORTED_BUILTIN", "alone", "."], "TS_V_token": ["rs6000", "0", "1", "2"], "File": "rs6000-c", "Func": "find_instance", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16068, "Length": 196, "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": 16069, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "*", "ARMBaseInstrInfo", "::", "CreateTargetPostRAHazardRecognizer", "(", "const", "InstrItineraryData", "*", "II", ",", "const", "ScheduleDAG", "*", "DAG", ")", "const", "{", "if", "(", "Subtarget", ".", "isThumb2", "(", ")", "||", "Subtarget", ".", "hasVFP2", "(", ")", ")", "return", "(", "ScheduleHazardRecognizer", "*", ")", "new", "ARMHazardRecognizer", "(", "II", ",", "*", "this", ",", "getRegisterInfo", "(", ")", ",", "Subtarget", ",", "DAG", ")", ";", "return", "TargetInstrInfo", "::", "CreateTargetPostRAHazardRecognizer", "(", "II", ",", "DAG", ")", ";", "}", ""], "natrual_language": ["Allocate", "and", "return", "a", "hazard", "recognizer", "to", "use", "for", "by", "non-scheduling", "passes", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMBaseInstrInfo101", "Func": "CreateTargetPostRAHazardRecognizer", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16070, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_breakable_sequence_p", "(", "rtx_insn", "*", "insn", ")", "{", "return", "(", "insn", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "SEQUENCE", "&&", "TARGET_CB_MAYBE", "&&", "get_attr_compact_form", "(", "SEQ_BEGIN", "(", "insn", ")", ")", "!=", "COMPACT_FORM_NEVER", ")", ";", "}", ""], "natrual_language": ["A", "SEQUENCE", "is", "breakable", "iff", "the", "branch", "inside", "it", "has", "a", "compact", "form", "and", "the", "target", "has", "compact", "branches", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_breakable_sequence_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16071, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WinEHStatePass", "::", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["X86"], "File": "X86WinEHState (2)", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16072, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "ARMTargetLowering", "::", "emitLoadLinked", "(", "IRBuilderBase", "&", "Builder", ",", "Type", "*", "ValueTy", ",", "Value", "*", "Addr", ",", "AtomicOrdering", "Ord", ")", "const", "{", "Module", "*", "M", "=", "Builder", ".", "GetInsertBlock", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "bool", "IsAcquire", "=", "isAcquireOrStronger", "(", "Ord", ")", ";", "if", "(", "ValueTy", "->", "getPrimitiveSizeInBits", "(", ")", "==", "64", ")", "{", "Intrinsic", "::", "ID", "Int", "=", "IsAcquire", "?", "Intrinsic", "::", "arm_ldaexd", ":", "Intrinsic", "::", "arm_ldrexd", ";", "Function", "*", "Ldrex", "=", "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", ",", "ValueTy", ",", "\"lo64\"", ")", ";", "Hi", "=", "Builder", ".", "CreateZExt", "(", "Hi", ",", "ValueTy", ",", "\"hi64\"", ")", ";", "return", "Builder", ".", "CreateOr", "(", "Lo", ",", "Builder", ".", "CreateShl", "(", "Hi", ",", "ConstantInt", "::", "get", "(", "ValueTy", ",", "32", ")", ")", ",", "\"val64\"", ")", ";", "}", "Type", "*", "Tys", "[", "]", "=", "{", "Addr", "->", "getType", "(", ")", "}", ";", "Intrinsic", "::", "ID", "Int", "=", "IsAcquire", "?", "Intrinsic", "::", "arm_ldaex", ":", "Intrinsic", "::", "arm_ldrex", ";", "Function", "*", "Ldrex", "=", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "Int", ",", "Tys", ")", ";", "CallInst", "*", "CI", "=", "Builder", ".", "CreateCall", "(", "Ldrex", ",", "Addr", ")", ";", "CI", "->", "addParamAttr", "(", "0", ",", "Attribute", "::", "get", "(", "M", "->", "getContext", "(", ")", ",", "Attribute", "::", "ElementType", ",", "ValueTy", ")", ")", ";", "return", "Builder", ".", "CreateTruncOrBitCast", "(", "CI", ",", "ValueTy", ")", ";", "}", ""], "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", "0"], "File": "ARMISelLowering12", "Func": "emitLoadLinked", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16073, "Length": 316, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_pass_by_reference", "(", "cumulative_args_t", "pcum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "pcum", "=", "get_cumulative_args", "(", "pcum_v", ")", ";", "if", "(", "!", "arg", ".", "type", ")", "return", "aarch64_pass_by_reference_1", "(", "pcum", ",", "arg", ")", ";", "pure_scalable_type_info", "pst_info", ";", "switch", "(", "pst_info", ".", "analyze", "(", "arg", ".", "type", ")", ")", "{", "case", "pure_scalable_type_info", "::", "IS_PST", ":", "if", "(", "pcum", "&&", "!", "pcum", "->", "silent_p", "&&", "!", "TARGET_SVE", ")", "fatal_error", "(", "input_location", ",", "\"arguments of type %qT require\"", "\" the SVE ISA extension\"", ",", "arg", ".", "type", ")", ";", "return", "(", "!", "arg", ".", "named", "||", "pcum", "->", "aapcs_nvrn", "+", "pst_info", ".", "num_zr", "(", ")", ">", "NUM_FP_ARG_REGS", "||", "pcum", "->", "aapcs_nprn", "+", "pst_info", ".", "num_pr", "(", ")", ">", "NUM_PR_ARG_REGS", ")", ";", "case", "pure_scalable_type_info", "::", "DOESNT_MATTER", ":", "gcc_assert", "(", "aarch64_pass_by_reference_1", "(", "pcum", ",", "arg", ")", ")", ";", "return", "true", ";", "case", "pure_scalable_type_info", "::", "NO_ABI_IDENTITY", ":", "case", "pure_scalable_type_info", "::", "ISNT_PST", ":", "return", "aarch64_pass_by_reference_1", "(", "pcum", ",", "arg", ")", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PASS_BY_REFERENCE", "."], "TS_V_token": ["aarch64", "\"arguments of type %qT require\"", "\" the SVE ISA extension\""], "File": "aarch64", "Func": "aarch64_pass_by_reference", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16074, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SparcSubtarget", "*", "SparcTargetMachine", "::", "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", ".", "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", "=", "std", "::", "make_unique", "<", "SparcSubtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "*", "this", ",", "this", "->", "is64Bit", ")", ";", "}", "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": ["Sparc", "Sparc", "Sparc", "\"target-cpu\"", "\"target-features\"", "\"use-soft-float\"", "\"use-soft-float\"", "\"true\"", "\"+soft-float\"", "\",+soft-float\"", "Sparc"], "File": "SparcTargetMachine25", "Func": "getSubtargetImpl", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16075, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "X86TargetLowering", "::", "getSetCCResultType", "(", "LLVMContext", "&", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "Subtarget", "->", "hasAVX512", "(", ")", "?", "MVT", "::", "i1", ":", "MVT", "::", "i8", ";", "if", "(", "Subtarget", "->", "hasAVX512", "(", ")", ")", "switch", "(", "VT", ".", "getVectorNumElements", "(", ")", ")", "{", "case", "8", ":", "return", "MVT", "::", "v8i1", ";", "case", "16", ":", "return", "MVT", "::", "v16i1", ";", "}", "return", "VT", ".", "changeVectorElementTypeToInteger", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["X86", "X86", "MVT::i1", "MVT::i8", "8", "MVT::v8i1", "16", "MVT::v16i1"], "File": "X86ISelLowering (2)", "Func": "getSetCCResultType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16076, "Length": 79, "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": 16077, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcAsmPrinter", "::", "PrintAsmOperand", "(", "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", "AsmPrinter", "::", "PrintAsmOperand", "(", "MI", ",", "OpNo", ",", "ExtraCode", ",", "O", ")", ";", "case", "'f'", ":", "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": "SparcAsmPrinter17", "Func": "PrintAsmOperand", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16078, "Length": 92, "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": 16079, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_const_vector_shuffle_set_p", "(", "rtx", "op", ",", "machine_mode", "mode", ")", "{", "int", "nunits", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "int", "nsets", "=", "nunits", "/", "4", ";", "int", "set", "=", "0", ";", "int", "i", ",", "j", ";", "for", "(", "j", "=", "0", ";", "j", "<", "nsets", ";", "j", "++", ",", "set", "=", "4", "*", "j", ")", "for", "(", "i", "=", "0", ";", "i", "<", "4", ";", "i", "++", ")", "if", "(", "(", "INTVAL", "(", "XVECEXP", "(", "op", ",", "0", ",", "i", ")", ")", "!=", "(", "INTVAL", "(", "XVECEXP", "(", "op", ",", "0", ",", "set", "+", "i", ")", ")", "-", "set", ")", ")", "||", "!", "IN_RANGE", "(", "INTVAL", "(", "XVECEXP", "(", "op", ",", "0", ",", "set", "+", "i", ")", ")", ",", "0", ",", "set", "+", "3", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "is", "a", "constant", "vector", "with", "repeated", "4-element", "sets", "in", "mode", "MODE", "."], "TS_V_token": ["mips", "4", "0", "0", "4", "0", "4", "0", "0", "0", "0", "3"], "File": "mips", "Func": "mips_const_vector_shuffle_set_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16080, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCodeGenPrepare", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ")", "||", "DisableCGP", ")", "return", "false", ";", "auto", "*", "TPC", "=", "&", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ";", "if", "(", "!", "TPC", ")", "return", "false", ";", "const", "TargetMachine", "&", "TM", "=", "TPC", "->", "getTM", "<", "TargetMachine", ">", "(", ")", ";", "ST", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", "F", ")", ";", "bool", "MadeChange", "=", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"ARM CGP: Running on \"", "<<", "F", ".", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "for", "(", "BasicBlock", "&", "BB", ":", "F", ")", "{", "auto", "&", "Insts", "=", "BB", ".", "getInstList", "(", ")", ";", "for", "(", "auto", "&", "I", ":", "Insts", ")", "{", "if", "(", "AllVisited", ".", "count", "(", "&", "I", ")", ")", "continue", ";", "if", "(", "isa", "<", "ICmpInst", ">", "(", "I", ")", ")", "{", "auto", "&", "CI", "=", "cast", "<", "ICmpInst", ">", "(", "I", ")", ";", "if", "(", "CI", ".", "isSigned", "(", ")", "||", "!", "isa", "<", "IntegerType", ">", "(", "CI", ".", "getOperand", "(", "0", ")", "->", "getType", "(", ")", ")", ")", "continue", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"ARM CGP: Searching from: \"", "<<", "CI", "<<", "\"\\n\"", ")", ";", "for", "(", "auto", "&", "Op", ":", "CI", ".", "operands", "(", ")", ")", "{", "if", "(", "auto", "*", "I", "=", "dyn_cast", "<", "Instruction", ">", "(", "Op", ")", ")", "{", "if", "(", "isa", "<", "ZExtInst", ">", "(", "I", ")", ")", "MadeChange", "|=", "TryToPromote", "(", "I", "->", "getOperand", "(", "0", ")", ")", ";", "else", "MadeChange", "|=", "TryToPromote", "(", "I", ")", ";", "}", "}", "}", "}", "Promoter", "->", "Cleanup", "(", ")", ";", "LLVM_DEBUG", "(", "if", "(", "verifyFunction", "(", "F", ",", "&", "dbgs", "(", ")", ")", ")", "{", "dbgs", "(", ")", ";", "report_fatal_error", "(", "\"Broken function after type promotion\"", ")", ";", "}", ")", ";", "}", "if", "(", "MadeChange", ")", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"After ARMCodeGenPrepare: \"", "<<", "F", "<<", "\"\\n\"", ")", ";", "return", "MadeChange", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["ARM", "ARM", "ARM", "\"ARM CGP: Running on \"", "\"\\n\"", "0", "\"ARM CGP: Searching from: \"", "\"\\n\"", "0", "\"Broken function after type promotion\"", "\"After ARMCodeGenPrepare: \"", "\"\\n\""], "File": "ARMCodeGenPrepare1", "Func": "runOnFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16081, "Length": 312, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CallLowering", "::", "isEligibleForTailCallOptimization", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "CallLoweringInfo", "&", "Info", ")", "const", "{", "CallingConv", "::", "ID", "CalleeCC", "=", "Info", ".", "CallConv", ";", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "Function", "&", "CallerF", "=", "MF", ".", "getFunction", "(", ")", ";", "CallingConv", "::", "ID", "CallerCC", "=", "CallerF", ".", "getCallingConv", "(", ")", ";", "bool", "CCMatch", "=", "CallerCC", "==", "CalleeCC", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Attempting to lower call as tail call\\n\"", ")", ";", "if", "(", "Info", ".", "SwiftErrorVReg", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"... Cannot handle tail calls with swifterror yet.\\n\"", ")", ";", "return", "false", ";", "}", "if", "(", "!", "Info", ".", "OrigRet", ".", "Ty", "->", "isVoidTy", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"... Cannot handle non-void return types yet.\\n\"", ")", ";", "return", "false", ";", "}", "if", "(", "!", "mayTailCallThisCC", "(", "CalleeCC", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"... Calling convention cannot be tail called.\\n\"", ")", ";", "return", "false", ";", "}", "if", "(", "Info", ".", "IsVarArg", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"... Tail calling varargs not supported yet.\\n\"", ")", ";", "return", "false", ";", "}", "if", "(", "any_of", "(", "CallerF", ".", "args", "(", ")", ",", "[", "]", "(", "const", "Argument", "&", "A", ")", "{", "return", "A", ".", "hasByValAttr", "(", ")", "||", "A", ".", "hasInRegAttr", "(", ")", ";", "}", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"... Cannot tail call from callers with byval or \"", "\"inreg arguments.\\n\"", ")", ";", "return", "false", ";", "}", "if", "(", "Info", ".", "Callee", ".", "isGlobal", "(", ")", ")", "{", "const", "GlobalValue", "*", "GV", "=", "Info", ".", "Callee", ".", "getGlobal", "(", ")", ";", "const", "Triple", "&", "TT", "=", "MF", ".", "getTarget", "(", ")", ".", "getTargetTriple", "(", ")", ";", "if", "(", "GV", "->", "hasExternalWeakLinkage", "(", ")", "&&", "(", "!", "TT", ".", "isOSWindows", "(", ")", "||", "TT", ".", "isOSBinFormatELF", "(", ")", "||", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"... Cannot tail call externally-defined function \"", "\"with weak linkage for this OS.\\n\"", ")", ";", "return", "false", ";", "}", "}", "assert", "(", "(", "!", "Info", ".", "IsVarArg", "||", "CalleeCC", "==", "CallingConv", "::", "C", ")", "&&", "\"Unexpected variadic calling convention\"", ")", ";", "if", "(", "!", "CCMatch", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"... Cannot tail call with mismatched calling conventions yet.\\n\"", ")", ";", "return", "false", ";", "}", "if", "(", "!", "Info", ".", "OrigArgs", ".", "empty", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"... Cannot tail call callees with outgoing arguments yet.\\n\"", ")", ";", "return", "false", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"... Call is eligible for tail call optimization.\\n\"", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "call", "can", "be", "lowered", "as", "a", "tail", "call", "."], "TS_V_token": ["AArch64", "AArch64", "\"Attempting to lower call as tail call\\n\"", "\"... Cannot handle tail calls with swifterror yet.\\n\"", "\"... Cannot handle non-void return types yet.\\n\"", "\"... Calling convention cannot be tail called.\\n\"", "\"... Tail calling varargs not supported yet.\\n\"", "\"... Cannot tail call from callers with byval or \"", "\"inreg arguments.\\n\"", "\"... Cannot tail call externally-defined function \"", "\"with weak linkage for this OS.\\n\"", "\"Unexpected variadic calling convention\"", "\"... Cannot tail call with mismatched calling conventions yet.\\n\"", "\"... Cannot tail call callees with outgoing arguments yet.\\n\"", "\"... Call is eligible for tail call optimization.\\n\""], "File": "AArch64CallLowering25", "Func": "isEligibleForTailCallOptimization", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16082, "Length": 370, "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": 16083, "Length": 46, "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", ";", "bool", "hasAVX2", "=", "Subtarget", ".", "hasAVX2", "(", ")", ";", "uint16_t", "validDomains", "=", "0", ";", "if", "(", "domain", "&&", "lookup", "(", "MI", ".", "getOpcode", "(", ")", ",", "domain", ")", ")", "validDomains", "=", "0xe", ";", "else", "if", "(", "domain", "&&", "lookupAVX2", "(", "MI", ".", "getOpcode", "(", ")", ",", "domain", ")", ")", "validDomains", "=", "hasAVX2", "?", "0xe", ":", "0x6", ";", "else", "if", "(", "domain", "&&", "lookupAVX512", "(", "MI", ".", "getOpcode", "(", ")", ",", "domain", ")", ")", "validDomains", "=", "0xe", ";", "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", "0xe"], "File": "X86InstrInfo97", "Func": "getExecutionDomain", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16084, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsInstrInfo", "::", "verifyInstruction", "(", "const", "MachineInstr", "&", "MI", ",", "StringRef", "&", "ErrInfo", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "Mips", "::", "EXT", ":", "case", "Mips", "::", "EXT_MM", ":", "case", "Mips", "::", "INS", ":", "case", "Mips", "::", "INS_MM", ":", "case", "Mips", "::", "DINS", ":", "case", "Mips", "::", "DINS_MM64R6", ":", "return", "verifyInsExtInstruction", "(", "MI", ",", "ErrInfo", ",", "0", ",", "32", ",", "0", ",", "32", ",", "0", ",", "32", ")", ";", "case", "Mips", "::", "DINSM", ":", "case", "Mips", "::", "DINSM_MM64R6", ":", "return", "verifyInsExtInstruction", "(", "MI", ",", "ErrInfo", ",", "0", ",", "32", ",", "1", ",", "64", ",", "32", ",", "64", ")", ";", "case", "Mips", "::", "DINSU", ":", "case", "Mips", "::", "DINSU_MM64R6", ":", "return", "verifyInsExtInstruction", "(", "MI", ",", "ErrInfo", ",", "32", ",", "64", ",", "1", ",", "32", ",", "32", ",", "64", ")", ";", "case", "Mips", "::", "DEXT", ":", "case", "Mips", "::", "DEXT_MM64R6", ":", "return", "verifyInsExtInstruction", "(", "MI", ",", "ErrInfo", ",", "0", ",", "32", ",", "0", ",", "32", ",", "0", ",", "63", ")", ";", "case", "Mips", "::", "DEXTM", ":", "case", "Mips", "::", "DEXTM_MM64R6", ":", "return", "verifyInsExtInstruction", "(", "MI", ",", "ErrInfo", ",", "0", ",", "32", ",", "32", ",", "64", ",", "32", ",", "64", ")", ";", "case", "Mips", "::", "DEXTU", ":", "case", "Mips", "::", "DEXTU_MM64R6", ":", "return", "verifyInsExtInstruction", "(", "MI", ",", "ErrInfo", ",", "32", ",", "64", ",", "0", ",", "32", ",", "32", ",", "64", ")", ";", "default", ":", "return", "true", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Perform", "target-specific", "instruction", "verification", "."], "TS_V_token": ["Mips", "Mips", "Mips::EXT", "Mips::EXT_MM", "Mips::INS", "Mips::INS_MM", "Mips::DINS", "Mips::DINS_MM64R6", "0", "32", "0", "32", "0", "32", "Mips::DINSM", "Mips::DINSM_MM64R6", "0", "32", "1", "64", "32", "64", "Mips::DINSU", "Mips::DINSU_MM64R6", "32", "64", "1", "32", "32", "64", "Mips::DEXT", "Mips::DEXT_MM64R6", "0", "32", "0", "32", "0", "63", "Mips::DEXTM", "Mips::DEXTM_MM64R6", "0", "32", "32", "64", "32", "64", "Mips::DEXTU", "Mips::DEXTU_MM64R6", "32", "64", "0", "32", "32", "64"], "File": "MipsInstrInfo17", "Func": "verifyInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16085, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_pre_reload_split", "(", "void", ")", "{", "return", "(", "can_create_pseudo_p", "(", ")", "&&", "!", "(", "cfun", "->", "curr_properties", "&", "PROP_rtl_split_insns", ")", ")", ";", "}", ""], "natrual_language": ["Predicate", "for", "pre-reload", "splitters", "with", "associated", "instructions", ",", "which", "can", "match", "any", "time", "before", "the", "split1", "pass", "(", "usually", "combine", ")", ",", "then", "are", "unconditionally", "split", "in", "that", "pass", "and", "should", "not", "be", "matched", "again", "afterwards", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_pre_reload_split", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16086, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getStackAddress", "(", "uint64_t", "Size", ",", "int64_t", "Offset", ",", "MachinePointerInfo", "&", "MPO", ")", "override", "{", "assert", "(", "(", "Size", "==", "1", "||", "Size", "==", "2", "||", "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", "1", "2", "4", "\"Unsupported size\"", "32"], "File": "ARMCallLowering11", "Func": "getStackAddress", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16087, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "X86Subtarget", "::", "classifyLocalReference", "(", "const", "GlobalValue", "*", "GV", ")", "const", "{", "if", "(", "!", "isPositionIndependent", "(", ")", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "if", "(", "is64Bit", "(", ")", ")", "{", "if", "(", "isTargetELF", "(", ")", ")", "{", "switch", "(", "TM", ".", "getCodeModel", "(", ")", ")", "{", "case", "CodeModel", "::", "Small", ":", "case", "CodeModel", "::", "Kernel", ":", "return", "X86II", "::", "MO_NO_FLAG", ";", "case", "CodeModel", "::", "Large", ":", "return", "X86II", "::", "MO_GOTOFF", ";", "case", "CodeModel", "::", "Medium", ":", "if", "(", "isa", "<", "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_NO_FLAG", "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": "X86Subtarget", "Func": "classifyLocalReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16088, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isConstantSplat", "(", "SDValue", "Op", ",", "APInt", "&", "SplatVal", ")", "{", "APInt", "UndefElts", ";", "SmallVector", "<", "APInt", ",", "16", ">", "EltBits", ";", "if", "(", "getTargetConstantBitsFromNode", "(", "Op", ",", "Op", ".", "getScalarValueSizeInBits", "(", ")", ",", "UndefElts", ",", "EltBits", ",", "true", ",", "false", ")", ")", "{", "int", "SplatIndex", "=", "-", "1", ";", "for", "(", "int", "i", "=", "0", ",", "e", "=", "EltBits", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "if", "(", "UndefElts", "[", "i", "]", ")", "continue", ";", "if", "(", "0", "<=", "SplatIndex", "&&", "EltBits", "[", "i", "]", "!=", "EltBits", "[", "SplatIndex", "]", ")", "{", "SplatIndex", "=", "-", "1", ";", "break", ";", "}", "SplatIndex", "=", "i", ";", "}", "if", "(", "0", "<=", "SplatIndex", ")", "{", "SplatVal", "=", "EltBits", "[", "SplatIndex", "]", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Check", "if", "this", "is", "a", "constant", "splat", ",", "and", "if", "so", ",", "find", "the", "smallest", "element", "size", "that", "splats", "the", "vector", "."], "TS_V_token": ["X86", "16", "1", "0", "0", "1", "0"], "File": "X86ISelLowering (2)6", "Func": "isConstantSplat", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16089, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VERegisterInfo", "::", "isConstantPhysReg", "(", "MCRegister", "PhysReg", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "PhysReg", "is", "unallocatable", "and", "constant", "throughout", "the", "function", "."], "TS_V_token": ["VE", "VE"], "File": "VERegisterInfo", "Func": "isConstantPhysReg", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16090, "Length": 14, "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": 16091, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_expand_unop_builtin", "(", "enum", "insn_code", "icode", ",", "tree", "arglist", ",", "rtx", "target", ",", "int", "do_load", ")", "{", "rtx", "pat", ";", "tree", "arg0", "=", "TREE_VALUE", "(", "arglist", ")", ";", "rtx", "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", "(", "do_load", ")", "op0", "=", "gen_rtx_MEM", "(", "mode0", ",", "copy_to_mode_reg", "(", "Pmode", ",", "op0", ")", ")", ";", "else", "{", "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", ")", ";", "}", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op0", ")", ";", "if", "(", "!", "pat", ")", "return", "0", ";", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Subroutine", "of", "ix86_expand_builtin", "to", "take", "care", "of", "unop", "insns", "."], "TS_V_token": ["i386", "0", "0", "1", "0", "1", "0"], "File": "i3863", "Func": "ix86_expand_unop_builtin", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16092, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mips_const_insns", "(", "rtx", "x", ")", "{", "struct", "mips_integer_op", "codes", "[", "MIPS_MAX_INTEGER_OPS", "]", ";", "enum", "mips_symbol_type", "symbol_type", ";", "rtx", "offset", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "HIGH", ":", "if", "(", "!", "mips_symbolic_constant_p", "(", "XEXP", "(", "x", ",", "0", ")", ",", "SYMBOL_CONTEXT_LEA", ",", "&", "symbol_type", ")", "||", "!", "mips_split_p", "[", "symbol_type", "]", ")", "return", "0", ";", "return", "TARGET_MIPS16", "?", "4", ":", "1", ";", "case", "CONST_INT", ":", "if", "(", "TARGET_MIPS16", ")", "return", "(", "IN_RANGE", "(", "INTVAL", "(", "x", ")", ",", "0", ",", "255", ")", "?", "1", ":", "SMALL_OPERAND_UNSIGNED", "(", "INTVAL", "(", "x", ")", ")", "?", "2", ":", "IN_RANGE", "(", "-", "INTVAL", "(", "x", ")", ",", "0", ",", "255", ")", "?", "2", ":", "SMALL_OPERAND_UNSIGNED", "(", "-", "INTVAL", "(", "x", ")", ")", "?", "3", ":", "0", ")", ";", "return", "mips_build_integer", "(", "codes", ",", "INTVAL", "(", "x", ")", ")", ";", "case", "CONST_DOUBLE", ":", "case", "CONST_VECTOR", ":", "return", "!", "TARGET_MIPS16", "&&", "x", "==", "CONST0_RTX", "(", "GET_MODE", "(", "x", ")", ")", "?", "1", ":", "0", ";", "case", "CONST", ":", "if", "(", "CONST_GP_P", "(", "x", ")", ")", "return", "1", ";", "if", "(", "mips_symbolic_constant_p", "(", "x", ",", "SYMBOL_CONTEXT_LEA", ",", "&", "symbol_type", ")", ")", "return", "mips_symbol_insns", "(", "symbol_type", ",", "MAX_MACHINE_MODE", ")", ";", "split_const", "(", "x", ",", "&", "x", ",", "&", "offset", ")", ";", "if", "(", "offset", "!=", "0", ")", "{", "int", "n", "=", "mips_const_insns", "(", "x", ")", ";", "if", "(", "n", "!=", "0", ")", "{", "if", "(", "SMALL_INT", "(", "offset", ")", ")", "return", "n", "+", "1", ";", "else", "if", "(", "!", "targetm", ".", "cannot_force_const_mem", "(", "GET_MODE", "(", "x", ")", ",", "x", ")", ")", "return", "n", "+", "1", "+", "mips_build_integer", "(", "codes", ",", "INTVAL", "(", "offset", ")", ")", ";", "}", "}", "return", "0", ";", "case", "SYMBOL_REF", ":", "case", "LABEL_REF", ":", "return", "mips_symbol_insns", "(", "mips_classify_symbol", "(", "x", ",", "SYMBOL_CONTEXT_LEA", ")", ",", "MAX_MACHINE_MODE", ")", ";", "default", ":", "return", "0", ";", "}", "}", ""], "natrual_language": ["Likewise", "for", "constant", "X", "."], "TS_V_token": ["mips", "0", "0", "4", "1", "0", "255", "1", "2", "0", "255", "2", "3", "0", "1", "0", "1", "0", "0", "1", "1", "0", "0"], "File": "mips4", "Func": "mips_const_insns", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16093, "Length": 303, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "AArch64InstrInfo", "::", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "unsigned", ">", "&", "Ops", ",", "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": "AArch64InstrInfo100", "Func": "foldMemoryOperandImpl", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16094, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isAsCheapAsAMove", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "isCortexA57", "(", ")", "&&", "!", "Subtarget", ".", "isCortexA53", "(", ")", ")", "return", "MI", "->", "isAsCheapAsAMove", "(", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "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::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": "AArch64InstrInfo1", "Func": "isAsCheapAsAMove", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16095, "Length": 214, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "allowTruncateForTailCall", "(", "Type", "*", "Ty1", ",", "Type", "*", "Ty2", ")", "const", "{", "if", "(", "!", "Ty1", "->", "isIntegerTy", "(", ")", "||", "!", "Ty2", "->", "isIntegerTy", "(", ")", ")", "return", "false", ";", "if", "(", "!", "isTypeLegal", "(", "EVT", "::", "getEVT", "(", "Ty1", ")", ")", ")", "return", "false", ";", "assert", "(", "Ty1", "->", "getPrimitiveSizeInBits", "(", ")", "<=", "64", "&&", "\"i128 is probably not a noop\"", ")", ";", "return", "true", ";", "}", ""], "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": ["ARM", "ARM", "64", "\"i128 is probably not a noop\""], "File": "ARMISelLowering (2)", "Func": "allowTruncateForTailCall", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16096, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_has_long_branch_p", "(", "void", ")", "{", "rtx_insn", "*", "insn", ",", "*", "subinsn", ";", "int", "normal_length", ";", "shorten_branches", "(", "get_insns", "(", ")", ")", ";", "normal_length", "=", "(", "TARGET_MIPS16", "?", "4", ":", "8", ")", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "FOR_EACH_SUBINSN", "(", "subinsn", ",", "insn", ")", "if", "(", "JUMP_P", "(", "subinsn", ")", "&&", "get_attr_length", "(", "subinsn", ")", ">", "normal_length", "&&", "(", "any_condjump_p", "(", "subinsn", ")", "||", "any_uncondjump_p", "(", "subinsn", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "function", "has", "a", "long", "branch", "instruction", "."], "TS_V_token": ["mips", "4", "8"], "File": "mips", "Func": "mips_has_long_branch_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16097, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "find_addr_reg", "(", "rtx", "addr", ")", "{", "while", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", ")", "{", "if", "(", "REG_P", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "&&", "REGNO", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "!=", "0", ")", "addr", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "else", "if", "(", "REG_P", "(", "XEXP", "(", "addr", ",", "1", ")", ")", "&&", "REGNO", "(", "XEXP", "(", "addr", ",", "1", ")", ")", "!=", "0", ")", "addr", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "else", "if", "(", "CONSTANT_P", "(", "XEXP", "(", "addr", ",", "0", ")", ")", ")", "addr", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "else", "if", "(", "CONSTANT_P", "(", "XEXP", "(", "addr", ",", "1", ")", ")", ")", "addr", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "gcc_assert", "(", "REG_P", "(", "addr", ")", "&&", "REGNO", "(", "addr", ")", "!=", "0", ")", ";", "return", "addr", ";", "}", ""], "natrual_language": ["Return", "a", "REG", "that", "occurs", "in", "ADDR", "with", "coefficient", "1", ".", "ADDR", "can", "be", "effectively", "incremented", "by", "incrementing", "REG", ".", "r0", "is", "special", "and", "we", "must", "not", "select", "it", "as", "an", "address", "register", "by", "this", "routine", "since", "our", "caller", "will", "try", "to", "increment", "the", "returned", "register", "via", "an", "``", "la", "''", "instruction", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "1", "1", "0", "1", "0", "1", "1", "0", "0"], "File": "rs6000", "Func": "find_addr_reg", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16098, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "uns_arith_operand", "(", "rtx", "op", ",", "enum", "machine_mode", "mode", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "==", "CONST_INT", "&&", "SMALL_INT_UNSIGNED", "(", "op", ")", ")", "return", "1", ";", "return", "register_operand", "(", "op", ",", "mode", ")", ";", "}", ""], "natrual_language": ["Return", "truth", "value", "of", "whether", "OP", "can", "be", "used", "as", "an", "operands", "where", "a", "register", "or", "16", "bit", "unsigned", "integer", "is", "needed", "."], "TS_V_token": ["mt", "1"], "File": "mt", "Func": "uns_arith_operand", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16099, "Length": 37, "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", ")", "{", "unsigned", "int", "warn_psabi_flags", "=", "0", ";", "int", "ag_count", "=", "aapcs_vfp_sub_candidate", "(", "type", ",", "&", "new_mode", ",", "&", "warn_psabi_flags", ")", ";", "if", "(", "ag_count", ">", "0", "&&", "ag_count", "<=", "4", ")", "{", "static", "unsigned", "last_reported_type_uid", ";", "unsigned", "uid", "=", "TYPE_UID", "(", "TYPE_MAIN_VARIANT", "(", "type", ")", ")", ";", "int", "alt", ";", "if", "(", "warn_psabi", "&&", "warn_psabi_flags", "&&", "uid", "!=", "last_reported_type_uid", "&&", "(", "(", "alt", "=", "aapcs_vfp_sub_candidate", "(", "type", ",", "&", "new_mode", ",", "NULL", ")", ")", "!=", "ag_count", ")", ")", "{", "const", "char", "*", "url10", "=", "CHANGES_ROOT_URL", "\"gcc-10/changes.html#empty_base\"", ";", "const", "char", "*", "url12", "=", "CHANGES_ROOT_URL", "\"gcc-12/changes.html#zero_width_bitfields\"", ";", "gcc_assert", "(", "alt", "==", "-", "1", ")", ";", "last_reported_type_uid", "=", "uid", ";", "if", "(", "warn_psabi_flags", "&", "WARN_PSABI_NO_UNIQUE_ADDRESS", ")", "inform", "(", "input_location", ",", "\"parameter passing for argument of \"", "\"type %qT with %<[[no_unique_address]]%> members \"", "\"changed %{in GCC 10.1%}\"", ",", "TYPE_MAIN_VARIANT", "(", "type", ")", ",", "url10", ")", ";", "else", "if", "(", "warn_psabi_flags", "&", "WARN_PSABI_EMPTY_CXX17_BASE", ")", "inform", "(", "input_location", ",", "\"parameter passing for argument of \"", "\"type %qT when C++17 is enabled changed to match \"", "\"C++14 %{in GCC 10.1%}\"", ",", "TYPE_MAIN_VARIANT", "(", "type", ")", ",", "url10", ")", ";", "else", "if", "(", "warn_psabi_flags", "&", "WARN_PSABI_ZERO_WIDTH_BITFIELD", ")", "inform", "(", "input_location", ",", "\"parameter passing for argument of \"", "\"type %qT changed %{in GCC 12.1%}\"", ",", "TYPE_MAIN_VARIANT", "(", "type", ")", ",", "url12", ")", ";", "}", "*", "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", ";", "if", "(", "TARGET_GENERAL_REGS_ONLY", ")", "error", "(", "\"argument of type %qT not permitted with %<-mgeneral-regs-only%>\"", ",", "type", ")", ";", "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", "0", "4", "\"gcc-10/changes.html#empty_base\"", "\"gcc-12/changes.html#zero_width_bitfields\"", "1", "\"parameter passing for argument of \"", "\"type %qT with %<[[no_unique_address]]%> members \"", "\"changed %{in GCC 10.1%}\"", "\"parameter passing for argument of \"", "\"type %qT when C++17 is enabled changed to match \"", "\"C++14 %{in GCC 10.1%}\"", "\"parameter passing for argument of \"", "\"type %qT changed %{in GCC 12.1%}\"", "1", "2", "1", "\"argument of type %qT not permitted with %<-mgeneral-regs-only%>\""], "File": "arm", "Func": "aapcs_vfp_is_call_or_return_candidate", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16100, "Length": 324, "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": 16101, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "aarch64_builtin_rsqrt", "(", "unsigned", "int", "fn", ")", "{", "if", "(", "fn", "==", "AARCH64_SIMD_BUILTIN_UNOP_sqrtv2df", ")", "return", "aarch64_builtin_decls", "[", "AARCH64_BUILTIN_RSQRT_V2DF", "]", ";", "if", "(", "fn", "==", "AARCH64_SIMD_BUILTIN_UNOP_sqrtv2sf", ")", "return", "aarch64_builtin_decls", "[", "AARCH64_BUILTIN_RSQRT_V2SF", "]", ";", "if", "(", "fn", "==", "AARCH64_SIMD_BUILTIN_UNOP_sqrtv4sf", ")", "return", "aarch64_builtin_decls", "[", "AARCH64_BUILTIN_RSQRT_V4SF", "]", ";", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Return", "builtin", "for", "reciprocal", "square", "root", "."], "TS_V_token": ["aarch64"], "File": "aarch64-builtins3", "Func": "aarch64_builtin_rsqrt", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16102, "Length": 48, "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", "(", ")", ";", "ModifiedRegs", ".", "resize", "(", "TRI", "->", "getNumRegs", "(", ")", ")", ";", "UsedRegs", ".", "resize", "(", "TRI", "->", "getNumRegs", "(", ")", ")", ";", "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": "AArch64LoadStoreOptimizer2", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16103, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSection", "*", "MipsTargetObjectFile", "::", "getSectionForConstant", "(", "const", "DataLayout", "&", "DL", ",", "SectionKind", "Kind", ",", "const", "Constant", "*", "C", ",", "unsigned", "&", "Align", ")", "const", "{", "if", "(", "IsConstantInSmallSection", "(", "DL", ",", "C", ",", "*", "TM", ")", ")", "return", "SmallDataSection", ";", "return", "TargetLoweringObjectFileELF", "::", "getSectionForConstant", "(", "DL", ",", "Kind", ",", "C", ",", "Align", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constant", "with", "the", "SectionKind", ",", "return", "a", "section", "that", "it", "should", "be", "placed", "in", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsTargetObjectFile10", "Func": "getSectionForConstant", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16104, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "gen_push", "(", "rtx", "arg", ")", "{", "return", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_rtx_MEM", "(", "Pmode", ",", "gen_rtx_PRE_DEC", "(", "Pmode", ",", "stack_pointer_rtx", ")", ")", ",", "arg", ")", ";", "}", ""], "natrual_language": ["Code", "to", "generate", "prologue", "and", "epilogue", "sequences"], "TS_V_token": ["i386"], "File": "i3863", "Func": "gen_push", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16105, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "AArch64RegisterInfo", "::", "getCallPreservedMask", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "if", "(", "CC", "==", "CallingConv", "::", "GHC", ")", "return", "CSR_AArch64_NoRegs_RegMask", ";", "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", "AArch64"], "File": "AArch64RegisterInfo63", "Func": "getCallPreservedMask", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16106, "Length": 41, "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": 16107, "Length": 214, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isIntDivCheap", "(", "EVT", "VT", ",", "AttributeList", "Attr", ")", "const", "{", "bool", "OptSize", "=", "Attr", ".", "hasFnAttr", "(", "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)5", "Func": "isIntDivCheap", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16108, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_trampoline_init", "(", "rtx", "m_tramp", ",", "tree", "fndecl", ",", "rtx", "chain_value", ")", "{", "rtx", "fnaddr", ",", "mem", ",", "a_tramp", ";", "emit_block_move", "(", "m_tramp", ",", "assemble_trampoline_template", "(", ")", ",", "GEN_INT", "(", "TRAMPOLINE_SIZE", ")", ",", "BLOCK_OP_NORMAL", ")", ";", "if", "(", "TARGET_FDPIC", ")", "{", "rtx", "funcdesc", "=", "XEXP", "(", "DECL_RTL", "(", "fndecl", ")", ",", "0", ")", ";", "rtx", "fnaddr", "=", "gen_rtx_MEM", "(", "Pmode", ",", "funcdesc", ")", ";", "rtx", "gotaddr", "=", "gen_rtx_MEM", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "funcdesc", ",", "4", ")", ")", ";", "rtx", "trampoline_code_start", "=", "plus_constant", "(", "Pmode", ",", "XEXP", "(", "m_tramp", ",", "0", ")", ",", "TARGET_THUMB2", "?", "9", ":", "8", ")", ";", "mem", "=", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "0", ")", ";", "emit_move_insn", "(", "mem", ",", "trampoline_code_start", ")", ";", "mem", "=", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "4", ")", ";", "emit_move_insn", "(", "mem", ",", "gen_rtx_REG", "(", "Pmode", ",", "PIC_OFFSET_TABLE_REGNUM", ")", ")", ";", "mem", "=", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "20", ")", ";", "emit_move_insn", "(", "mem", ",", "chain_value", ")", ";", "mem", "=", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "24", ")", ";", "emit_move_insn", "(", "mem", ",", "gotaddr", ")", ";", "mem", "=", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "28", ")", ";", "emit_move_insn", "(", "mem", ",", "fnaddr", ")", ";", "}", "else", "{", "mem", "=", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "TARGET_32BIT", "?", "8", ":", "12", ")", ";", "emit_move_insn", "(", "mem", ",", "chain_value", ")", ";", "mem", "=", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "TARGET_32BIT", "?", "12", ":", "16", ")", ";", "fnaddr", "=", "XEXP", "(", "DECL_RTL", "(", "fndecl", ")", ",", "0", ")", ";", "emit_move_insn", "(", "mem", ",", "fnaddr", ")", ";", "}", "a_tramp", "=", "XEXP", "(", "m_tramp", ",", "0", ")", ";", "maybe_emit_call_builtin___clear_cache", "(", "a_tramp", ",", "plus_constant", "(", "ptr_mode", ",", "a_tramp", ",", "TRAMPOLINE_SIZE", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "RTL", "insns", "to", "initialize", "the", "variable", "parts", "of", "a", "trampoline", "."], "TS_V_token": ["arm", "0", "4", "0", "9", "8", "0", "4", "20", "24", "28", "8", "12", "12", "16", "0", "0"], "File": "arm", "Func": "arm_trampoline_init", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16109, "Length": 282, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "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", "(", ")", ";", "}", "EmitFunctionHeader", "(", ")", ";", "EmitFunctionBody", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86"], "File": "X86AsmPrinter102", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16110, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "segv_crash_handler", "(", "int", "sig", "ATTRIBUTE_UNUSED", ")", "{", "internal_error", "(", "\"Segmentation Fault (code)\"", ")", ";", "}", ""], "natrual_language": ["On", "Darwin/powerpc", ",", "hitting", "the", "stack", "limit", "turns", "into", "a", "SIGSEGV", ".", "This", "code", "detects", "the", "difference", "between", "hitting", "the", "stack", "limit", "and", "a", "true", "wild", "pointer", "dereference", "by", "looking", "at", "the", "instruction", "that", "faulted", ";", "only", "a", "few", "kinds", "of", "instruction", "are", "used", "to", "access", "below", "the", "previous", "bottom", "of", "the", "stack", "."], "TS_V_token": ["powerpcspe", "\"Segmentation Fault (code)\""], "File": "host-darwin", "Func": "segv_crash_handler", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16111, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addPreserved", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "LoopInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "LoopInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "ScalarEvolutionWrapperPass", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["PowerPC"], "File": "PPCLoopInstrFormPrep", "Func": "getAnalysisUsage", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16112, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print_reg", "(", "rtx", "x", ",", "int", "code", ",", "FILE", "*", "file", ")", "{", "const", "char", "*", "reg", ";", "int", "msize", ";", "unsigned", "int", "regno", ";", "bool", "duplicated", ";", "if", "(", "ASSEMBLER_DIALECT", "==", "ASM_ATT", ")", "putc", "(", "'%'", ",", "file", ")", ";", "if", "(", "x", "==", "pc_rtx", ")", "{", "gcc_assert", "(", "TARGET_64BIT", ")", ";", "fputs", "(", "\"rip\"", ",", "file", ")", ";", "return", ";", "}", "if", "(", "code", "==", "'y'", "&&", "STACK_TOP_P", "(", "x", ")", ")", "{", "fputs", "(", "\"st(0)\"", ",", "file", ")", ";", "return", ";", "}", "if", "(", "code", "==", "'w'", ")", "msize", "=", "2", ";", "else", "if", "(", "code", "==", "'b'", ")", "msize", "=", "1", ";", "else", "if", "(", "code", "==", "'k'", ")", "msize", "=", "4", ";", "else", "if", "(", "code", "==", "'q'", ")", "msize", "=", "8", ";", "else", "if", "(", "code", "==", "'h'", ")", "msize", "=", "0", ";", "else", "if", "(", "code", "==", "'x'", ")", "msize", "=", "16", ";", "else", "if", "(", "code", "==", "'t'", ")", "msize", "=", "32", ";", "else", "if", "(", "code", "==", "'g'", ")", "msize", "=", "64", ";", "else", "msize", "=", "GET_MODE_SIZE", "(", "GET_MODE", "(", "x", ")", ")", ";", "regno", "=", "true_regnum", "(", "x", ")", ";", "gcc_assert", "(", "regno", "!=", "ARG_POINTER_REGNUM", "&&", "regno", "!=", "FRAME_POINTER_REGNUM", "&&", "regno", "!=", "FLAGS_REG", "&&", "regno", "!=", "FPSR_REG", "&&", "regno", "!=", "FPCR_REG", ")", ";", "duplicated", "=", "code", "==", "'d'", "&&", "TARGET_AVX", ";", "switch", "(", "msize", ")", "{", "case", "8", ":", "case", "4", ":", "if", "(", "LEGACY_INT_REGNO_P", "(", "regno", ")", ")", "putc", "(", "msize", "==", "8", "&&", "TARGET_64BIT", "?", "'r'", ":", "'e'", ",", "file", ")", ";", "case", "16", ":", "case", "12", ":", "case", "2", ":", "normal", ":", "reg", "=", "hi_reg_name", "[", "regno", "]", ";", "break", ";", "case", "1", ":", "if", "(", "regno", ">=", "ARRAY_SIZE", "(", "qi_reg_name", ")", ")", "goto", "normal", ";", "reg", "=", "qi_reg_name", "[", "regno", "]", ";", "break", ";", "case", "0", ":", "if", "(", "regno", ">=", "ARRAY_SIZE", "(", "qi_high_reg_name", ")", ")", "goto", "normal", ";", "reg", "=", "qi_high_reg_name", "[", "regno", "]", ";", "break", ";", "case", "32", ":", "case", "64", ":", "if", "(", "SSE_REGNO_P", "(", "regno", ")", ")", "{", "gcc_assert", "(", "!", "duplicated", ")", ";", "putc", "(", "msize", "==", "32", "?", "'y'", ":", "'z'", ",", "file", ")", ";", "reg", "=", "hi_reg_name", "[", "regno", "]", "+", "1", ";", "break", ";", "}", "goto", "normal", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "fputs", "(", "reg", ",", "file", ")", ";", "if", "(", "REX_INT_REGNO_P", "(", "regno", ")", ")", "{", "gcc_assert", "(", "TARGET_64BIT", ")", ";", "switch", "(", "msize", ")", "{", "case", "0", ":", "error", "(", "\"extended registers have no high halves\"", ")", ";", "break", ";", "case", "1", ":", "putc", "(", "'b'", ",", "file", ")", ";", "break", ";", "case", "2", ":", "putc", "(", "'w'", ",", "file", ")", ";", "break", ";", "case", "4", ":", "putc", "(", "'d'", ",", "file", ")", ";", "break", ";", "case", "8", ":", "break", ";", "default", ":", "error", "(", "\"unsupported operand size for extended register\"", ")", ";", "break", ";", "}", "return", ";", "}", "if", "(", "duplicated", ")", "{", "if", "(", "ASSEMBLER_DIALECT", "==", "ASM_ATT", ")", "fprintf", "(", "file", ",", "\", %%%s\"", ",", "reg", ")", ";", "else", "fprintf", "(", "file", ",", "\", %s\"", ",", "reg", ")", ";", "}", "}", ""], "natrual_language": ["Print", "a", "register", "."], "TS_V_token": ["i386", "\"rip\"", "\"st(0)\"", "2", "1", "4", "8", "0", "16", "32", "64", "8", "4", "8", "16", "12", "2", "1", "0", "32", "64", "32", "1", "0", "\"extended registers have no high halves\"", "1", "2", "4", "8", "\"unsupported operand size for extended register\"", "\", %%%s\"", "\", %s\""], "File": "i3865", "Func": "print_reg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16113, "Length": 499, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createThumb2SizeReductionPass", "(", ")", ")", ";", "addPass", "(", "createUnpackMachineBundles", "(", "[", "]", "(", "const", "MachineFunction", "&", "MF", ")", "{", "return", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "isThumb2", "(", ")", ";", "}", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createARMOptimizeBarriersPass", "(", ")", ")", ";", "}", ""], "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", "ARM"], "File": "ARMTargetMachine103", "Func": "addPreEmitPass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16114, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86TargetLowering", "::", "insertSSPDeclarations", "(", "Module", "&", "M", ")", "const", "{", "if", "(", "Subtarget", ".", "getTargetTriple", "(", ")", ".", "isWindowsMSVCEnvironment", "(", ")", "||", "Subtarget", ".", "getTargetTriple", "(", ")", ".", "isWindowsItaniumEnvironment", "(", ")", ")", "{", "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", "::", "X86_FastCall", ")", ";", "F", "->", "addAttribute", "(", "1", ",", "Attribute", "::", "AttrKind", "::", "InReg", ")", ";", "}", "return", ";", "}", "StringRef", "GuardMode", "=", "M", ".", "getStackProtectorGuard", "(", ")", ";", "if", "(", "(", "GuardMode", "==", "\"tls\"", "||", "GuardMode", ".", "empty", "(", ")", ")", "&&", "hasStackGuardSlotTLS", "(", "Subtarget", ".", "getTargetTriple", "(", ")", ")", ")", "return", ";", "TargetLowering", "::", "insertSSPDeclarations", "(", "M", ")", ";", "}", ""], "natrual_language": ["Inserts", "necessary", "declarations", "for", "SSP", "(", "stack", "protection", ")", "purpose", "."], "TS_V_token": ["X86", "X86", "\"__security_cookie\"", "\"__security_check_cookie\"", "X86", "1", "\"tls\""], "File": "X86ISelLowering106", "Func": "insertSSPDeclarations", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16115, "Length": 171, "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": 16116, "Length": 8, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "assert", "(", "0", "&&", "\"RelaxInstruction() unimplemented\"", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["Mips", "0", "\"RelaxInstruction() unimplemented\""], "File": "MipsAsmBackend11", "Func": "fixupNeedsRelaxation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16117, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "MipsDAGToDAGISel", "::", "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", "NULL", ";", "}", "std", "::", "pair", "<", "bool", ",", "SDNode", "*", ">", "Ret", "=", "selectNode", "(", "Node", ")", ";", "if", "(", "Ret", ".", "first", ")", "return", "Ret", ".", "second", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "GLOBAL_OFFSET_TABLE", ":", "return", "getGlobalBaseReg", "(", ")", ";", "case", "ISD", "::", "LOAD", ":", "case", "ISD", "::", "STORE", ":", "assert", "(", "cast", "<", "MemSDNode", ">", "(", "Node", ")", "->", "getMemoryVT", "(", ")", ".", "getSizeInBits", "(", ")", "/", "8", "<=", "cast", "<", "MemSDNode", ">", "(", "Node", ")", "->", "getAlignment", "(", ")", "&&", "\"Unexpected unaligned loads/stores.\"", ")", ";", "break", ";", "}", "SDNode", "*", "ResNode", "=", "SelectCode", "(", "Node", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"=> \"", ")", ";", "if", "(", "ResNode", "==", "NULL", "||", "ResNode", "==", "Node", ")", "DEBUG", "(", "Node", "->", "dump", "(", "CurDAG", ")", ")", ";", "else", "DEBUG", "(", "ResNode", "->", "dump", "(", "CurDAG", ")", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "return", "ResNode", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["Mips", "Mips", "\"Selecting: \"", "\"\\n\"", "\"== \"", "\"\\n\"", "ISD::GLOBAL_OFFSET_TABLE", "ISD::LOAD", "ISD::STORE", "8", "\"Unexpected unaligned loads/stores.\"", "\"=> \"", "\"\\n\""], "File": "MipsISelDAGToDAG", "Func": "Select", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16118, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_387_reg_move", "(", "rtx", "insn", ",", "rtx", "*", "operands", ")", "{", "if", "(", "REG_P", "(", "operands", "[", "1", "]", ")", "&&", "find_regno_note", "(", "insn", ",", "REG_DEAD", ",", "REGNO", "(", "operands", "[", "1", "]", ")", ")", ")", "{", "if", "(", "REGNO", "(", "operands", "[", "0", "]", ")", "==", "FIRST_STACK_REG", "&&", "TARGET_USE_FFREEP", ")", "return", "\"ffreep\\t%y0\"", ";", "return", "\"fstp\\t%y0\"", ";", "}", "if", "(", "STACK_TOP_P", "(", "operands", "[", "0", "]", ")", ")", "return", "\"fld%z1\\t%y1\"", ";", "return", "\"fst\\t%y0\"", ";", "}", ""], "natrual_language": ["Output", "code", "to", "perform", "an", "x87", "FP", "register", "move", ",", "from", "OPERANDS", "[", "1", "]", "to", "OPERANDS", "[", "0", "]", "."], "TS_V_token": ["i386", "1", "1", "0", "\"ffreep\\t%y0\"", "\"fstp\\t%y0\"", "0", "\"fld%z1\\t%y1\"", "\"fst\\t%y0\""], "File": "i3863", "Func": "output_387_reg_move", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16119, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sparc_tls_got", "(", "void", ")", "{", "rtx", "temp", ";", "if", "(", "flag_pic", ")", "{", "current_function_uses_pic_offset_table", "=", "1", ";", "return", "pic_offset_table_rtx", ";", "}", "if", "(", "!", "global_offset_table", ")", "global_offset_table", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"_GLOBAL_OFFSET_TABLE_\"", ")", ";", "temp", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_move_insn", "(", "temp", ",", "global_offset_table", ")", ";", "return", "temp", ";", "}", ""], "natrual_language": ["Return", "the", "Global", "Offset", "Table", "to", "be", "used", "in", "TLS", "mode", "."], "TS_V_token": ["sparc", "1", "\"_GLOBAL_OFFSET_TABLE_\""], "File": "sparc3", "Func": "sparc_tls_got", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16120, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "Cpu0FrameLowering", "*", "Cpu0FrameLowering", "::", "create", "(", "const", "Cpu0Subtarget", "&", "ST", ")", "{", "return", "llvm", "::", "createCpu0SEFrameLowering", "(", "ST", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0"], "File": "Cpu0FrameLowering", "Func": "create", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16121, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isToken", "(", ")", "const", "override", "{", "return", "Kind", "==", "TOKEN", ";", "}", ""], "natrual_language": ["isToken", "-", "Is", "this", "a", "token", "operand", "?"], "TS_V_token": ["Lanai"], "File": "LanaiAsmParser (2)", "Func": "isToken", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16122, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "addLOHDirective", "(", "MCLOHType", "Kind", ",", "const", "MILOHArgs", "&", "Args", ")", "{", "LOHContainerSet", ".", "push_back", "(", "MILOHDirective", "(", "Kind", ",", "Args", ")", ")", ";", "LOHRelated", ".", "insert", "(", "Args", ".", "begin", "(", ")", ",", "Args", ".", "end", "(", ")", ")", ";", "}", ""], "natrual_language": ["Add", "a", "LOH", "directive", "of", "this", "Kind", "and", "this", "Args", "."], "TS_V_token": ["AArch64"], "File": "AArch64MachineFunctionInfo", "Func": "addLOHDirective", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16123, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "long", "arm_compute_save_reg0_reg12_mask", "(", "void", ")", "{", "unsigned", "long", "func_type", "=", "arm_current_func_type", "(", ")", ";", "unsigned", "long", "save_reg_mask", "=", "0", ";", "unsigned", "int", "reg", ";", "if", "(", "IS_INTERRUPT", "(", "func_type", ")", ")", "{", "unsigned", "int", "max_reg", ";", "if", "(", "ARM_FUNC_TYPE", "(", "func_type", ")", "==", "ARM_FT_FIQ", ")", "max_reg", "=", "7", ";", "else", "max_reg", "=", "12", ";", "for", "(", "reg", "=", "0", ";", "reg", "<=", "max_reg", ";", "reg", "++", ")", "if", "(", "regs_ever_live", "[", "reg", "]", "||", "(", "!", "current_function_is_leaf", "&&", "call_used_regs", "[", "reg", "]", ")", ")", "save_reg_mask", "|=", "(", "1", "<<", "reg", ")", ";", "if", "(", "flag_pic", "&&", "!", "TARGET_SINGLE_PIC_BASE", "&&", "current_function_uses_pic_offset_table", ")", "save_reg_mask", "|=", "1", "<<", "PIC_OFFSET_TABLE_REGNUM", ";", "}", "else", "{", "for", "(", "reg", "=", "0", ";", "reg", "<=", "10", ";", "reg", "++", ")", "if", "(", "regs_ever_live", "[", "reg", "]", "&&", "!", "call_used_regs", "[", "reg", "]", ")", "save_reg_mask", "|=", "(", "1", "<<", "reg", ")", ";", "if", "(", "!", "TARGET_APCS_FRAME", "&&", "!", "frame_pointer_needed", "&&", "regs_ever_live", "[", "HARD_FRAME_POINTER_REGNUM", "]", "&&", "!", "call_used_regs", "[", "HARD_FRAME_POINTER_REGNUM", "]", ")", "save_reg_mask", "|=", "1", "<<", "HARD_FRAME_POINTER_REGNUM", ";", "if", "(", "flag_pic", "&&", "!", "TARGET_SINGLE_PIC_BASE", "&&", "(", "regs_ever_live", "[", "PIC_OFFSET_TABLE_REGNUM", "]", "||", "current_function_uses_pic_offset_table", ")", ")", "save_reg_mask", "|=", "1", "<<", "PIC_OFFSET_TABLE_REGNUM", ";", "}", "if", "(", "current_function_calls_eh_return", ")", "{", "unsigned", "int", "i", ";", "for", "(", "i", "=", "0", ";", ";", "i", "++", ")", "{", "reg", "=", "EH_RETURN_DATA_REGNO", "(", "i", ")", ";", "if", "(", "reg", "==", "INVALID_REGNUM", ")", "break", ";", "save_reg_mask", "|=", "1", "<<", "reg", ";", "}", "}", "return", "save_reg_mask", ";", "}", ""], "natrual_language": ["Compute", "the", "register", "save", "mask", "for", "registers", "0", "through", "12", "inclusive", ".", "This", "code", "is", "used", "by", "arm_compute_save_reg_mask", "."], "TS_V_token": ["arm", "0", "7", "12", "0", "1", "1", "0", "10", "1", "1", "1", "0", "1"], "File": "arm3", "Func": "arm_compute_save_reg0_reg12_mask", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16124, "Length": 241, "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 gnu_inline,\"", "\" 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 gnu_inline,\"", "\" bodies have to be generated\"", "\"virtual function multiversioning not supported\"", "\"target\"", "\"default\"", "0", "2", "\"%s.%s\""], "File": "i3868", "Func": "ix86_mangle_function_version_assembler_name", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16125, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_dwarf_register_span", "(", "rtx", "reg", ")", "{", "rtx", "high", ",", "low", ";", "machine_mode", "mode", ";", "mode", "=", "GET_MODE", "(", "reg", ")", ";", "if", "(", "FP_REG_P", "(", "REGNO", "(", "reg", ")", ")", "&&", "TARGET_FLOATXX", "&&", "GET_MODE_SIZE", "(", "mode", ")", ">", "UNITS_PER_FPREG", ")", "{", "return", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "1", ",", "reg", ")", ")", ";", "}", "else", "if", "(", "FP_REG_P", "(", "REGNO", "(", "reg", ")", ")", "&&", "TARGET_BIG_ENDIAN", "&&", "MAX_FPRS_PER_FMT", ">", "1", "&&", "GET_MODE_SIZE", "(", "mode", ")", ">", "UNITS_PER_FPREG", ")", "{", "gcc_assert", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "UNITS_PER_HWFPVALUE", ")", ";", "high", "=", "mips_subword", "(", "reg", ",", "true", ")", ";", "low", "=", "mips_subword", "(", "reg", ",", "false", ")", ";", "return", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "high", ",", "low", ")", ")", ";", "}", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Implement", "TARGET_DWARF_REGISTER_SPAN", "."], "TS_V_token": ["mips", "1", "1", "2"], "File": "mips", "Func": "mips_dwarf_register_span", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16126, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCCTRLoops", "::", "isDead", "(", "const", "MachineInstr", "*", "MI", ",", "SmallVector", "<", "MachineInstr", "*", ",", "1", ">", "&", "DeadPhis", ")", "const", "{", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "MI", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "i", ")", ";", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "MO", ".", "isDef", "(", ")", ")", "{", "unsigned", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "if", "(", "!", "MRI", "->", "use_nodbg_empty", "(", "Reg", ")", ")", "{", "MachineRegisterInfo", "::", "use_iterator", "I", "=", "MRI", "->", "use_begin", "(", "Reg", ")", ";", "if", "(", "llvm", "::", "next", "(", "I", ")", "==", "MRI", "->", "use_end", "(", ")", "&&", "I", ".", "getOperand", "(", ")", ".", "getParent", "(", ")", "->", "isPHI", "(", ")", ")", "{", "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", "(", ")", ")", "{", "unsigned", "OPReg", "=", "OPO", ".", "getReg", "(", ")", ";", "MachineRegisterInfo", "::", "use_iterator", "nextJ", ";", "for", "(", "MachineRegisterInfo", "::", "use_iterator", "J", "=", "MRI", "->", "use_begin", "(", "OPReg", ")", ",", "E", "=", "MRI", "->", "use_end", "(", ")", ";", "J", "!=", "E", ";", "J", "=", "nextJ", ")", "{", "nextJ", "=", "llvm", "::", "next", "(", "J", ")", ";", "MachineOperand", "&", "Use", "=", "J", ".", "getOperand", "(", ")", ";", "MachineInstr", "*", "UseMI", "=", "Use", ".", "getParent", "(", ")", ";", "if", "(", "MI", "!=", "UseMI", ")", "{", "return", "false", ";", "}", "}", "}", "}", "DeadPhis", ".", "push_back", "(", "OnePhi", ")", ";", "}", "else", "{", "return", "false", ";", "}", "}", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["isDead", "-", "Returns", "true", "if", "this", "is", "a", "dead", "def", "kill", "slot", "."], "TS_V_token": ["PowerPC", "PPC", "1", "0", "0"], "File": "PPCCTRLoops2", "Func": "isDead", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16127, "Length": 307, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "sparc_register_move_cost", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "reg_class_t", "from", ",", "reg_class_t", "to", ")", "{", "bool", "need_memory", "=", "false", ";", "if", "(", "from", "==", "FPCC_REGS", "||", "to", "==", "FPCC_REGS", ")", "need_memory", "=", "true", ";", "else", "if", "(", "(", "FP_REG_CLASS_P", "(", "from", ")", "&&", "general_or_i64_p", "(", "to", ")", ")", "||", "(", "general_or_i64_p", "(", "from", ")", "&&", "FP_REG_CLASS_P", "(", "to", ")", ")", ")", "{", "if", "(", "TARGET_VIS3", ")", "{", "int", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "size", "==", "8", "||", "size", "==", "4", ")", "{", "if", "(", "!", "TARGET_ARCH32", "||", "size", "==", "4", ")", "return", "4", ";", "else", "return", "6", ";", "}", "}", "need_memory", "=", "true", ";", "}", "if", "(", "need_memory", ")", "{", "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", ")", "return", "12", ";", "return", "6", ";", "}", "return", "2", ";", "}", ""], "natrual_language": ["Implement", "TARGET_REGISTER_MOVE_COST", "."], "TS_V_token": ["sparc", "8", "4", "4", "4", "6", "12", "6", "2"], "File": "sparc4", "Func": "sparc_register_move_cost", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16128, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PLTEntryBase", "*", "MipsPLT", "::", "create", "(", ")", "{", "return", "new", "MipsPLTA", "(", "*", "m_pSectionData", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsPLT", "Func": "create", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16129, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rsqrts_type", "get_rsqrts_type", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_DFmode", ":", "return", "gen_aarch64_rsqrtsdf", ";", "case", "E_SFmode", ":", "return", "gen_aarch64_rsqrtssf", ";", "case", "E_V2DFmode", ":", "return", "gen_aarch64_rsqrtsv2df", ";", "case", "E_V2SFmode", ":", "return", "gen_aarch64_rsqrtsv2sf", ";", "case", "E_V4SFmode", ":", "return", "gen_aarch64_rsqrtsv4sf", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Select", "reciprocal", "square", "root", "series", "step", "insn", "depending", "on", "machine", "mode", "."], "TS_V_token": ["aarch64"], "File": "aarch645", "Func": "get_rsqrts_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16130, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_avx_u128_mode_after", "(", "int", "mode", ",", "rtx_insn", "*", "insn", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "vzeroupper_pattern", "(", "pat", ",", "VOIDmode", ")", "||", "vzeroall_pattern", "(", "pat", ",", "VOIDmode", ")", ")", "return", "AVX_U128_CLEAN", ";", "if", "(", "CALL_P", "(", "insn", ")", ")", "{", "bool", "avx_upper_reg_found", "=", "false", ";", "note_stores", "(", "pat", ",", "ix86_check_avx_upper_stores", ",", "&", "avx_upper_reg_found", ")", ";", "return", "avx_upper_reg_found", "?", "AVX_U128_DIRTY", ":", "AVX_U128_CLEAN", ";", "}", "return", "mode", ";", "}", ""], "natrual_language": ["Calculate", "mode", "of", "upper", "128bit", "AVX", "registers", "after", "the", "insn", "."], "TS_V_token": ["i386"], "File": "i3868", "Func": "ix86_avx_u128_mode_after", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16131, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "mayBeEmittedAsTailCall", "(", "const", "CallInst", "*", "CI", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "supportsTailCall", "(", ")", ")", "return", "false", ";", "auto", "Attr", "=", "CI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getFnAttribute", "(", "\"disable-tail-calls\"", ")", ";", "if", "(", "!", "CI", "->", "isTailCall", "(", ")", "||", "Attr", ".", "getValueAsString", "(", ")", "==", "\"true\"", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "may", "be", "able", "emit", "the", "call", "instruction", "as", "a", "tail", "call", "."], "TS_V_token": ["ARM", "ARM", "\"disable-tail-calls\"", "\"true\""], "File": "ARMISelLowering (2)6", "Func": "mayBeEmittedAsTailCall", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16132, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XNCMRegisterInfo", "::", "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": ["XNCM", "XNCM", "2", "4", "\"Slot for FPW register must be last in order to be found!\""], "File": "XNCMRegisterInfo", "Func": "processFunctionBeforeFrameFinalized", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16133, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "long", "arm_compute_save_reg_mask", "(", "void", ")", "{", "unsigned", "int", "save_reg_mask", "=", "0", ";", "unsigned", "long", "func_type", "=", "arm_current_func_type", "(", ")", ";", "unsigned", "int", "reg", ";", "if", "(", "IS_NAKED", "(", "func_type", ")", ")", "return", "0", ";", "if", "(", "TARGET_APCS_FRAME", "&&", "frame_pointer_needed", "&&", "TARGET_ARM", ")", "save_reg_mask", "|=", "(", "1", "<<", "ARM_HARD_FRAME_POINTER_REGNUM", ")", "|", "(", "1", "<<", "IP_REGNUM", ")", "|", "(", "1", "<<", "LR_REGNUM", ")", "|", "(", "1", "<<", "PC_REGNUM", ")", ";", "save_reg_mask", "|=", "arm_compute_save_reg0_reg12_mask", "(", ")", ";", "if", "(", "df_regs_ever_live_p", "(", "LR_REGNUM", ")", "||", "(", "save_reg_mask", "&&", "optimize_size", "&&", "ARM_FUNC_TYPE", "(", "func_type", ")", "==", "ARM_FT_NORMAL", "&&", "!", "crtl", "->", "tail_call_emit", "&&", "!", "crtl", "->", "calls_eh_return", ")", ")", "save_reg_mask", "|=", "1", "<<", "LR_REGNUM", ";", "if", "(", "cfun", "->", "machine", "->", "lr_save_eliminated", ")", "save_reg_mask", "&=", "~", "(", "1", "<<", "LR_REGNUM", ")", ";", "if", "(", "TARGET_REALLY_IWMMXT", "&&", "(", "(", "bit_count", "(", "save_reg_mask", ")", "+", "ARM_NUM_INTS", "(", "crtl", "->", "args", ".", "pretend_args_size", "+", "arm_compute_static_chain_stack_bytes", "(", ")", ")", ")", "%", "2", ")", "!=", "0", ")", "{", "for", "(", "reg", "=", "4", ";", "reg", "<=", "12", ";", "reg", "++", ")", "if", "(", "(", "save_reg_mask", "&", "(", "1", "<<", "reg", ")", ")", "==", "0", ")", "break", ";", "if", "(", "reg", "<=", "12", ")", "save_reg_mask", "|=", "(", "1", "<<", "reg", ")", ";", "else", "{", "cfun", "->", "machine", "->", "sibcall_blocked", "=", "1", ";", "save_reg_mask", "|=", "(", "1", "<<", "3", ")", ";", "}", "}", "if", "(", "TARGET_THUMB2", "&&", "IS_NESTED", "(", "func_type", ")", "&&", "flag_pic", "&&", "(", "save_reg_mask", "&", "THUMB2_WORK_REGS", ")", "==", "0", ")", "{", "reg", "=", "thumb_find_work_register", "(", "1", "<<", "4", ")", ";", "if", "(", "!", "call_used_regs", "[", "reg", "]", ")", "save_reg_mask", "|=", "(", "1", "<<", "reg", ")", ";", "}", "return", "save_reg_mask", ";", "}", ""], "natrual_language": ["Compute", "a", "bit", "mask", "of", "which", "registers", "need", "to", "be", "saved", "on", "the", "stack", "for", "the", "current", "function", ".", "This", "is", "used", "by", "arm_get_frame_offsets", ",", "which", "may", "add", "extra", "registers", "."], "TS_V_token": ["arm", "0", "0", "1", "1", "1", "1", "1", "1", "2", "0", "4", "12", "1", "0", "12", "1", "1", "1", "3", "0", "1", "4", "1"], "File": "arm4", "Func": "arm_compute_save_reg_mask", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16134, "Length": 273, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsConstantIslands", "::", "getOffsetOf", "(", "MachineInstr", "*", "MI", ")", "const", "{", "MachineBasicBlock", "*", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "unsigned", "Offset", "=", "BBInfo", "[", "MBB", "->", "getNumber", "(", ")", "]", ".", "Offset", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", "->", "begin", "(", ")", ";", "&", "*", "I", "!=", "MI", ";", "++", "I", ")", "{", "assert", "(", "I", "!=", "MBB", "->", "end", "(", ")", "&&", "\"Didn't find MI in its own basic block?\"", ")", ";", "Offset", "+=", "TII", "->", "GetInstSizeInBytes", "(", "I", ")", ";", "}", "return", "Offset", ";", "}", ""], "natrual_language": ["getOffsetOf", "-", "Return", "the", "current", "offset", "of", "the", "specified", "machine", "instruction", "from", "the", "start", "of", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "\"Didn't find MI in its own basic block?\""], "File": "MipsConstantIslandPass", "Func": "getOffsetOf", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16135, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "UnwindOpcodeAssembler", "::", "EmitSetSP", "(", "uint16_t", "Reg", ")", "{", "EmitInt8", "(", "ARM", "::", "EHABI", "::", "UNWIND_OPCODE_SET_VSP", "|", "Reg", ")", ";", "}", ""], "natrual_language": ["Emit", "unwind", "opcodes", "to", "copy", "address", "from", "source", "register", "to", "$", "sp", "."], "TS_V_token": ["ARM", "ARM::EHABI"], "File": "ARMUnwindOpAsm (2)", "Func": "EmitSetSP", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16136, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "PPCFrameLowering", "::", "getBasePointerSaveOffset", "(", ")", "const", "{", "return", "BasePointerSaveOffset", ";", "}", ""], "natrual_language": ["getBasePointerSaveOffset", "-", "Return", "the", "previous", "frame", "offset", "to", "save", "the", "base", "pointer", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCFrameLowering16", "Func": "getBasePointerSaveOffset", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16137, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "areMemAccessesTriviallyDisjoint", "(", "MachineInstr", "&", "MIa", ",", "MachineInstr", "&", "MIb", ",", "AliasAnalysis", "*", "AA", ")", "const", "{", "const", "TargetRegisterInfo", "*", "TRI", "=", "&", "getRegisterInfo", "(", ")", ";", "MachineOperand", "*", "BaseOpA", "=", "nullptr", ",", "*", "BaseOpB", "=", "nullptr", ";", "int64_t", "OffsetA", "=", "0", ",", "OffsetB", "=", "0", ";", "unsigned", "WidthA", "=", "0", ",", "WidthB", "=", "0", ";", "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", ";", "if", "(", "getMemOperandWithOffsetWidth", "(", "MIa", ",", "BaseOpA", ",", "OffsetA", ",", "WidthA", ",", "TRI", ")", "&&", "getMemOperandWithOffsetWidth", "(", "MIb", ",", "BaseOpB", ",", "OffsetB", ",", "WidthB", ",", "TRI", ")", ")", "{", "if", "(", "BaseOpA", "->", "isIdenticalTo", "(", "*", "BaseOpB", ")", ")", "{", "int", "LowOffset", "=", "OffsetA", "<", "OffsetB", "?", "OffsetA", ":", "OffsetB", ";", "int", "HighOffset", "=", "OffsetA", "<", "OffsetB", "?", "OffsetB", ":", "OffsetA", ";", "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": ["AArch64", "AArch64", "0", "0", "0", "0", "\"MIa must be a load or store.\"", "\"MIb must be a load or store.\""], "File": "AArch64InstrInfo (2)1", "Func": "areMemAccessesTriviallyDisjoint", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16138, "Length": 201, "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": 16139, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_output_filename", "(", "FILE", "*", "stream", ",", "const", "char", "*", "name", ")", "{", "if", "(", "write_symbols", "==", "DWARF2_DEBUG", ")", "return", ";", "else", "if", "(", "mips_output_filename_first_time", ")", "{", "mips_output_filename_first_time", "=", "0", ";", "num_source_filenames", "+=", "1", ";", "current_function_file", "=", "name", ";", "fprintf", "(", "stream", ",", "\"\\t.file\\t%d \"", ",", "num_source_filenames", ")", ";", "output_quoted_string", "(", "stream", ",", "name", ")", ";", "putc", "(", "'\\n'", ",", "stream", ")", ";", "}", "else", "if", "(", "write_symbols", "==", "DBX_DEBUG", ")", "return", ";", "else", "if", "(", "name", "!=", "current_function_file", "&&", "strcmp", "(", "name", ",", "current_function_file", ")", "!=", "0", ")", "{", "num_source_filenames", "+=", "1", ";", "current_function_file", "=", "name", ";", "fprintf", "(", "stream", ",", "\"\\t.file\\t%d \"", ",", "num_source_filenames", ")", ";", "output_quoted_string", "(", "stream", ",", "name", ")", ";", "putc", "(", "'\\n'", ",", "stream", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "a", "new", "filename", "to", "a", "stream", ".", "If", "we", "are", "smuggling", "stabs", ",", "try", "to", "put", "out", "a", "MIPS", "ECOFF", "file", "and", "a", "stab", "."], "TS_V_token": ["mips", "0", "1", "\"\\t.file\\t%d \"", "0", "1", "\"\\t.file\\t%d \""], "File": "mips3", "Func": "mips_output_filename", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16140, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_assemble_integer", "(", "rtx", "x", ",", "unsigned", "int", "size", ",", "int", "aligned_p", ")", "{", "if", "(", "RELOCATABLE_NEEDS_FIXUP", "&&", "size", "==", "4", "&&", "aligned_p", ")", "{", "extern", "int", "in_toc_section", "(", "void", ")", ";", "static", "int", "recurse", "=", "0", ";", "if", "(", "TARGET_RELOCATABLE", "&&", "!", "in_toc_section", "(", ")", "&&", "!", "in_text_section", "(", ")", "&&", "!", "in_unlikely_text_section", "(", ")", "&&", "!", "recurse", "&&", "GET_CODE", "(", "x", ")", "!=", "CONST_INT", "&&", "GET_CODE", "(", "x", ")", "!=", "CONST_DOUBLE", "&&", "CONSTANT_P", "(", "x", ")", ")", "{", "char", "buf", "[", "256", "]", ";", "recurse", "=", "1", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "buf", ",", "\"LCP\"", ",", "fixuplabelno", ")", ";", "fixuplabelno", "++", ";", "ASM_OUTPUT_LABEL", "(", "asm_out_file", ",", "buf", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.long\\t(\"", ")", ";", "output_addr_const", "(", "asm_out_file", ",", "x", ")", ";", "fprintf", "(", "asm_out_file", ",", "\")@fixup\\n\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.section\\t\\\".fixup\\\",\\\"aw\\\"\\n\"", ")", ";", "ASM_OUTPUT_ALIGN", "(", "asm_out_file", ",", "2", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.long\\t\"", ")", ";", "assemble_name", "(", "asm_out_file", ",", "buf", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\n\\t.previous\\n\"", ")", ";", "recurse", "=", "0", ";", "return", "true", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "XSTR", "(", "x", ",", "0", ")", "[", "0", "]", "==", "'.'", "&&", "DEFAULT_ABI", "==", "ABI_AIX", ")", "{", "const", "char", "*", "name", "=", "XSTR", "(", "x", ",", "0", ")", ";", "while", "(", "*", "name", "==", "'.'", ")", "name", "++", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.long\\t%s\\n\"", ",", "name", ")", ";", "return", "true", ";", "}", "}", "return", "default_assemble_integer", "(", "x", ",", "size", ",", "aligned_p", ")", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "assembling", "integer", "objects", ".", "The", "powerpc", "version", "has", "to", "handle", "fixup", "entries", "for", "relocatable", "code", "if", "RELOCATABLE_NEEDS_FIXUP", "is", "defined", ".", "It", "also", "needs", "to", "handle", "DI-mode", "objects", "on", "64-bit", "targets", "."], "TS_V_token": ["rs6000", "4", "0", "256", "1", "\"LCP\"", "\"\\t.long\\t(\"", "\")@fixup\\n\"", "\"\\t.section\\t\\\".fixup\\\",\\\"aw\\\"\\n\"", "2", "\"\\t.long\\t\"", "\"\\n\\t.previous\\n\"", "0", "0", "0", "0", "\"\\t.long\\t%s\\n\""], "File": "rs60003", "Func": "rs6000_assemble_integer", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16141, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "const", "SDLoc", "&", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "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"], "File": "PPCISelLowering (2)7", "Func": "LowerFormalArguments", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16142, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isOffsetOfLocal", "(", ")", "const", "override", "{", "return", "isImm", "(", ")", "&&", "Imm", ".", "LocalRef", ";", "}", ""], "natrual_language": ["isOffsetOfLocal", "-", "Do", "we", "need", "to", "emit", "code", "to", "get", "the", "offset", "of", "the", "local", "variable", ",", "rather", "than", "its", "value", "?", "Only", "valid", "when", "parsing", "MS-style", "inline", "assembly", "."], "TS_V_token": ["X86"], "File": "X86Operand14", "Func": "isOffsetOfLocal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16143, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64TargetMachine", "::", "AArch64TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "LittleEndian", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "LittleEndian", ")", ",", "InstrInfo", "(", "Subtarget", ")", ",", "DL", "(", "LittleEndian", "?", "\"e-m:e-i64:64-i128:128-n32:64-S128\"", ":", "\"E-m:e-i64:64-i128:128-n32:64-S128\"", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "FrameLowering", "(", "Subtarget", ")", "{", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "AArch64", "architecture", "model", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "\"e-m:e-i64:64-i128:128-n32:64-S128\"", "\"E-m:e-i64:64-i128:128-n32:64-S128\""], "File": "AArch64TargetMachine26", "Func": "AArch64TargetMachine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16144, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "getPartialRegUpdateClearance", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "OpNum", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "OpNum", "!=", "0", "||", "!", "hasPartialRegUpdate", "(", "MI", ".", "getOpcode", "(", ")", ",", "Subtarget", ")", ")", "return", "0", ";", "const", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "Register", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "if", "(", "Register", "::", "isVirtualRegister", "(", "Reg", ")", ")", "{", "if", "(", "MO", ".", "readsReg", "(", ")", "||", "MI", ".", "readsVirtualRegister", "(", "Reg", ")", ")", "return", "0", ";", "}", "else", "{", "if", "(", "MI", ".", "readsRegister", "(", "Reg", ",", "TRI", ")", ")", "return", "0", ";", "}", "return", "PartialRegUpdateClearance", ";", "}", ""], "natrual_language": ["Inform", "the", "BreakFalseDeps", "pass", "how", "many", "idle", "instructions", "we", "would", "like", "before", "a", "partial", "register", "update", "."], "TS_V_token": ["X86", "X86", "0", "0", "0", "0", "0"], "File": "X86InstrInfo106", "Func": "getPartialRegUpdateClearance", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16145, "Length": 112, "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", ")", ",", "IsBTMemSlow", "(", "false", ")", ",", "IsUAMemFast", "(", "false", ")", ",", "HasVectorUAMem", "(", "false", ")", ",", "HasCmpxchg16b", "(", "false", ")", ",", "UseLeaForSP", "(", "false", ")", ",", "PostRAScheduler", "(", "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", ")", ";", "}", "}", "}", "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", "(", ")", "||", "isTargetFreeBSD", "(", ")", "||", "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": "X86Subtarget31", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16146, "Length": 475, "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": 16147, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMHazardRecognizer", "::", "EmitInstruction", "(", "SUnit", "*", "SU", ")", "{", "MachineInstr", "*", "MI", "=", "SU", "->", "getInstr", "(", ")", ";", "unsigned", "Opcode", "=", "MI", "->", "getOpcode", "(", ")", ";", "if", "(", "ITBlockSize", ")", "{", "--", "ITBlockSize", ";", "}", "else", "if", "(", "Opcode", "==", "ARM", "::", "t2IT", ")", "{", "unsigned", "Mask", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "unsigned", "NumTZ", "=", "CountTrailingZeros_32", "(", "Mask", ")", ";", "assert", "(", "NumTZ", "<=", "3", "&&", "\"Invalid IT mask!\"", ")", ";", "ITBlockSize", "=", "4", "-", "NumTZ", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MI", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "ITBlockSize", ";", "++", "i", ")", "{", "do", "{", "++", "I", ";", "}", "while", "(", "I", "->", "isDebugValue", "(", ")", ")", ";", "ITBlockMIs", "[", "ITBlockSize", "-", "1", "-", "i", "]", "=", "&", "*", "I", ";", "}", "}", "if", "(", "!", "MI", "->", "isDebugValue", "(", ")", ")", "{", "LastMI", "=", "MI", ";", "Stalls", "=", "0", ";", "}", "ScoreboardHazardRecognizer", "::", "EmitInstruction", "(", "SU", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["ARM", "ARM", "ARM::t2IT", "1", "3", "\"Invalid IT mask!\"", "4", "0", "1", "0"], "File": "ARMHazardRecognizer10", "Func": "EmitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16148, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "stv_expand_builtin", "(", "insn_code", "icode", ",", "rtx", "*", "op", ",", "machine_mode", "tmode", ",", "machine_mode", "smode", ")", "{", "op", "[", "2", "]", "=", "copy_to_mode_reg", "(", "Pmode", ",", "op", "[", "2", "]", ")", ";", "if", "(", "icode", "==", "CODE_FOR_altivec_stvx_v2df", "||", "icode", "==", "CODE_FOR_altivec_stvx_v2di", "||", "icode", "==", "CODE_FOR_altivec_stvx_v4sf", "||", "icode", "==", "CODE_FOR_altivec_stvx_v4si", "||", "icode", "==", "CODE_FOR_altivec_stvx_v8hi", "||", "icode", "==", "CODE_FOR_altivec_stvx_v16qi", ")", "{", "rtx", "rawaddr", ";", "if", "(", "op", "[", "1", "]", "==", "const0_rtx", ")", "rawaddr", "=", "op", "[", "2", "]", ";", "else", "{", "op", "[", "1", "]", "=", "copy_to_mode_reg", "(", "Pmode", ",", "op", "[", "1", "]", ")", ";", "rawaddr", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "op", "[", "2", "]", ",", "op", "[", "1", "]", ")", ";", "}", "rtx", "addr", "=", "gen_rtx_AND", "(", "Pmode", ",", "rawaddr", ",", "gen_rtx_CONST_INT", "(", "Pmode", ",", "-", "16", ")", ")", ";", "addr", "=", "gen_rtx_MEM", "(", "tmode", ",", "addr", ")", ";", "op", "[", "0", "]", "=", "copy_to_mode_reg", "(", "tmode", ",", "op", "[", "0", "]", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "addr", ",", "op", "[", "0", "]", ")", ")", ";", "}", "else", "if", "(", "icode", "==", "CODE_FOR_vsx_stxvrbx", "||", "icode", "==", "CODE_FOR_vsx_stxvrhx", "||", "icode", "==", "CODE_FOR_vsx_stxvrwx", "||", "icode", "==", "CODE_FOR_vsx_stxvrdx", ")", "{", "rtx", "truncrtx", "=", "gen_rtx_TRUNCATE", "(", "tmode", ",", "op", "[", "0", "]", ")", ";", "op", "[", "0", "]", "=", "copy_to_mode_reg", "(", "E_TImode", ",", "truncrtx", ")", ";", "rtx", "addr", ";", "if", "(", "op", "[", "1", "]", "==", "const0_rtx", ")", "addr", "=", "gen_rtx_MEM", "(", "tmode", ",", "op", "[", "2", "]", ")", ";", "else", "{", "op", "[", "1", "]", "=", "copy_to_mode_reg", "(", "Pmode", ",", "op", "[", "1", "]", ")", ";", "addr", "=", "gen_rtx_MEM", "(", "tmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "op", "[", "2", "]", ",", "op", "[", "1", "]", ")", ")", ";", "}", "rtx", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "addr", ",", "op", "[", "0", "]", ")", ";", "if", "(", "pat", ")", "emit_insn", "(", "pat", ")", ";", "}", "else", "{", "if", "(", "!", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "predicate", "(", "op", "[", "0", "]", ",", "smode", ")", ")", "op", "[", "0", "]", "=", "copy_to_mode_reg", "(", "smode", ",", "op", "[", "0", "]", ")", ";", "rtx", "addr", ";", "if", "(", "op", "[", "1", "]", "==", "const0_rtx", ")", "addr", "=", "gen_rtx_MEM", "(", "tmode", ",", "op", "[", "2", "]", ")", ";", "else", "{", "op", "[", "1", "]", "=", "copy_to_mode_reg", "(", "Pmode", ",", "op", "[", "1", "]", ")", ";", "addr", "=", "gen_rtx_MEM", "(", "tmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "op", "[", "2", "]", ",", "op", "[", "1", "]", ")", ")", ";", "}", "rtx", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "addr", ",", "op", "[", "0", "]", ")", ";", "if", "(", "pat", ")", "emit_insn", "(", "pat", ")", ";", "}", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Expand", "an", "AltiVec", "vector", "store", "builtin", ",", "and", "return", "the", "expanded", "rtx", "."], "TS_V_token": ["rs6000", "2", "2", "1", "2", "1", "1", "2", "1", "16", "0", "0", "0", "0", "0", "1", "2", "1", "1", "2", "1", "0", "1", "0", "0", "0", "1", "2", "1", "1", "2", "1", "0"], "File": "rs6000-builtin1", "Func": "stv_expand_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16149, "Length": 439, "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", ",", "STI", ")", ";", "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", ":", "{", "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\"", "\"unrecognized instruction mnemonic\"", "0ULL", "\"too few operands for instruction\"", "PPC", "\"invalid operand for instruction\"", "\"Implement any new match types added!\""], "File": "PPCAsmParser", "Func": "MatchAndEmitInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16150, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_mode_ok_for_mov_fmt_p", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "CCFmode", ":", "case", "SFmode", ":", "return", "TARGET_HARD_FLOAT", ";", "case", "DFmode", ":", "return", "TARGET_HARD_FLOAT", "&&", "TARGET_DOUBLE_FLOAT", ";", "case", "V2SFmode", ":", "return", "TARGET_HARD_FLOAT", "&&", "TARGET_PAIRED_SINGLE_FLOAT", ";", "default", ":", "return", "MSA_SUPPORTED_MODE_P", "(", "mode", ")", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "moves", "in", "mode", "MODE", "can", "use", "the", "FPU", "'s", "mov.fmt", "instruction", "."], "TS_V_token": ["mips"], "File": "mips6", "Func": "mips_mode_ok_for_mov_fmt_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16151, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "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", ";", "SystemZII", "::", "Branch", "Branch", "(", "getBranchInfo", "(", "*", "I", ")", ")", ";", "if", "(", "!", "Branch", ".", "Target", "->", "isMBB", "(", ")", ")", "return", "true", ";", "if", "(", "Branch", ".", "Type", "!=", "SystemZII", "::", "BranchNormal", ")", "return", "true", ";", "if", "(", "Branch", ".", "CCMask", "==", "SystemZ", "::", "CCMASK_ANY", ")", "{", "if", "(", "!", "AllowModify", ")", "{", "TBB", "=", "Branch", ".", "Target", "->", "getMBB", "(", ")", ";", "continue", ";", "}", "while", "(", "std", "::", "next", "(", "I", ")", "!=", "MBB", ".", "end", "(", ")", ")", "std", "::", "next", "(", "I", ")", "->", "eraseFromParent", "(", ")", ";", "Cond", ".", "clear", "(", ")", ";", "FBB", "=", "nullptr", ";", "if", "(", "MBB", ".", "isLayoutSuccessor", "(", "Branch", ".", "Target", "->", "getMBB", "(", ")", ")", ")", "{", "TBB", "=", "nullptr", ";", "I", "->", "eraseFromParent", "(", ")", ";", "I", "=", "MBB", ".", "end", "(", ")", ";", "continue", ";", "}", "TBB", "=", "Branch", ".", "Target", "->", "getMBB", "(", ")", ";", "continue", ";", "}", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "FBB", "=", "TBB", ";", "TBB", "=", "Branch", ".", "Target", "->", "getMBB", "(", ")", ";", "Cond", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "Branch", ".", "CCValid", ")", ")", ";", "Cond", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "Branch", ".", "CCMask", ")", ")", ";", "continue", ";", "}", "assert", "(", "Cond", ".", "size", "(", ")", "==", "2", "&&", "TBB", "&&", "\"Should have seen a conditional branch\"", ")", ";", "if", "(", "TBB", "!=", "Branch", ".", "Target", "->", "getMBB", "(", ")", ")", "return", "true", ";", "unsigned", "OldCCValid", "=", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ";", "unsigned", "OldCCMask", "=", "Cond", "[", "1", "]", ".", "getImm", "(", ")", ";", "if", "(", "OldCCValid", "==", "Branch", ".", "CCValid", "&&", "OldCCMask", "==", "Branch", ".", "CCMask", ")", "continue", ";", "return", "false", ";", "}", "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": ["SystemZ", "SystemZ", "SystemZII::Branch", "SystemZII::BranchNormal", "SystemZ::CCMASK_ANY", "2", "\"Should have seen a conditional branch\"", "0", "1"], "File": "SystemZInstrInfo (2)2", "Func": "analyzeBranch", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16152, "Length": 376, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_darwin64_record_arg_recurse", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "tree", "type", ",", "HOST_WIDE_INT", "startbitpos", ",", "rtx", "rvec", "[", "]", ",", "int", "*", "k", ")", "{", "tree", "f", ";", "for", "(", "f", "=", "TYPE_FIELDS", "(", "type", ")", ";", "f", ";", "f", "=", "TREE_CHAIN", "(", "f", ")", ")", "if", "(", "TREE_CODE", "(", "f", ")", "==", "FIELD_DECL", ")", "{", "HOST_WIDE_INT", "bitpos", "=", "startbitpos", ";", "tree", "ftype", "=", "TREE_TYPE", "(", "f", ")", ";", "enum", "machine_mode", "mode", "=", "TYPE_MODE", "(", "ftype", ")", ";", "if", "(", "DECL_SIZE", "(", "f", ")", "!=", "0", "&&", "host_integerp", "(", "bit_position", "(", "f", ")", ",", "1", ")", ")", "bitpos", "+=", "int_bit_position", "(", "f", ")", ";", "if", "(", "TREE_CODE", "(", "ftype", ")", "==", "RECORD_TYPE", ")", "rs6000_darwin64_record_arg_recurse", "(", "cum", ",", "ftype", ",", "bitpos", ",", "rvec", ",", "k", ")", ";", "else", "if", "(", "cum", "->", "named", "&&", "USE_FP_FOR_ARG_P", "(", "cum", ",", "mode", ",", "ftype", ")", ")", "{", "switch", "(", "mode", ")", "{", "case", "SCmode", ":", "mode", "=", "SFmode", ";", "break", ";", "case", "DCmode", ":", "mode", "=", "DFmode", ";", "break", ";", "case", "TCmode", ":", "mode", "=", "TFmode", ";", "break", ";", "default", ":", "break", ";", "}", "rs6000_darwin64_record_arg_flush", "(", "cum", ",", "bitpos", ",", "rvec", ",", "k", ")", ";", "rvec", "[", "(", "*", "k", ")", "++", "]", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "mode", ",", "cum", "->", "fregno", "++", ")", ",", "GEN_INT", "(", "bitpos", "/", "BITS_PER_UNIT", ")", ")", ";", "if", "(", "mode", "==", "TFmode", ")", "cum", "->", "fregno", "++", ";", "}", "else", "if", "(", "cum", "->", "named", "&&", "USE_ALTIVEC_FOR_ARG_P", "(", "cum", ",", "mode", ",", "ftype", ",", "1", ")", ")", "{", "rs6000_darwin64_record_arg_flush", "(", "cum", ",", "bitpos", ",", "rvec", ",", "k", ")", ";", "rvec", "[", "(", "*", "k", ")", "++", "]", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "mode", ",", "cum", "->", "vregno", "++", ")", ",", "GEN_INT", "(", "bitpos", "/", "BITS_PER_UNIT", ")", ")", ";", "}", "else", "if", "(", "cum", "->", "intoffset", "==", "-", "1", ")", "cum", "->", "intoffset", "=", "bitpos", ";", "}", "}", ""], "natrual_language": ["Recursive", "workhorse", "for", "the", "following", "."], "TS_V_token": ["rs6000", "0", "1", "1", "1"], "File": "rs60003", "Func": "rs6000_darwin64_record_arg_recurse", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16153, "Length": 313, "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": 16154, "Length": 271, "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": 16155, "Length": 91, "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": ["LC3"], "File": "LC3TargetMachine", "Func": "getObjFileLowering", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16156, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MandarinAsmPrinter", "::", "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": ["Mandarin", "0", "1", "0", "0"], "File": "MandarinAsmPrinter", "Func": "PrintAsmOperand", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16157, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "process_cfa_register", "(", "FILE", "*", "out_file", ",", "rtx", "pat", ",", "bool", "unwind", ")", "{", "rtx", "dest", "=", "SET_DEST", "(", "pat", ")", ";", "rtx", "src", "=", "SET_SRC", "(", "pat", ")", ";", "int", "dest_regno", "=", "REGNO", "(", "dest", ")", ";", "int", "src_regno", ";", "if", "(", "src", "==", "pc_rtx", ")", "{", "if", "(", "unwind", ")", "fprintf", "(", "out_file", ",", "\"\\t.save rp, r%d\\n\"", ",", "ia64_dbx_register_number", "(", "dest_regno", ")", ")", ";", "return", ";", "}", "src_regno", "=", "REGNO", "(", "src", ")", ";", "switch", "(", "src_regno", ")", "{", "case", "PR_REG", "(", "0", ")", ":", "gcc_assert", "(", "dest_regno", "==", "current_frame_info", ".", "r", "[", "reg_save_pr", "]", ")", ";", "if", "(", "unwind", ")", "fprintf", "(", "out_file", ",", "\"\\t.save pr, r%d\\n\"", ",", "ia64_dbx_register_number", "(", "dest_regno", ")", ")", ";", "break", ";", "case", "AR_UNAT_REGNUM", ":", "gcc_assert", "(", "dest_regno", "==", "current_frame_info", ".", "r", "[", "reg_save_ar_unat", "]", ")", ";", "if", "(", "unwind", ")", "fprintf", "(", "out_file", ",", "\"\\t.save ar.unat, r%d\\n\"", ",", "ia64_dbx_register_number", "(", "dest_regno", ")", ")", ";", "break", ";", "case", "AR_LC_REGNUM", ":", "gcc_assert", "(", "dest_regno", "==", "current_frame_info", ".", "r", "[", "reg_save_ar_lc", "]", ")", ";", "if", "(", "unwind", ")", "fprintf", "(", "out_file", ",", "\"\\t.save ar.lc, r%d\\n\"", ",", "ia64_dbx_register_number", "(", "dest_regno", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["This", "function", "processes", "a", "SET", "pattern", "for", "REG_CFA_REGISTER", "."], "TS_V_token": ["ia64", "\"\\t.save rp, r%d\\n\"", "0", "\"\\t.save pr, r%d\\n\"", "\"\\t.save ar.unat, r%d\\n\"", "\"\\t.save ar.lc, r%d\\n\""], "File": "ia64", "Func": "process_cfa_register", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16158, "Length": 190, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "iq2000_legitimize_address", "(", "rtx", "xinsn", ",", "rtx", "old_x", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_DEBUG_B_MODE", ")", "{", "GO_PRINTF", "(", "\"\\n========== LEGITIMIZE_ADDRESS\\n\"", ")", ";", "GO_DEBUG_RTX", "(", "xinsn", ")", ";", "}", "if", "(", "iq2000_check_split", "(", "xinsn", ",", "mode", ")", ")", "{", "return", "gen_rtx_LO_SUM", "(", "Pmode", ",", "copy_to_mode_reg", "(", "Pmode", ",", "gen_rtx_HIGH", "(", "Pmode", ",", "xinsn", ")", ")", ",", "xinsn", ")", ";", "}", "if", "(", "GET_CODE", "(", "xinsn", ")", "==", "PLUS", ")", "{", "rtx", "xplus0", "=", "XEXP", "(", "xinsn", ",", "0", ")", ";", "rtx", "xplus1", "=", "XEXP", "(", "xinsn", ",", "1", ")", ";", "enum", "rtx_code", "code0", "=", "GET_CODE", "(", "xplus0", ")", ";", "enum", "rtx_code", "code1", "=", "GET_CODE", "(", "xplus1", ")", ";", "if", "(", "code0", "!=", "REG", "&&", "code1", "==", "REG", ")", "{", "xplus0", "=", "XEXP", "(", "xinsn", ",", "1", ")", ";", "xplus1", "=", "XEXP", "(", "xinsn", ",", "0", ")", ";", "code0", "=", "GET_CODE", "(", "xplus0", ")", ";", "code1", "=", "GET_CODE", "(", "xplus1", ")", ";", "}", "if", "(", "code0", "==", "REG", "&&", "REG_MODE_OK_FOR_BASE_P", "(", "xplus0", ",", "mode", ")", "&&", "code1", "==", "CONST_INT", "&&", "!", "SMALL_INT", "(", "xplus1", ")", ")", "{", "rtx", "int_reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "ptr_reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_move_insn", "(", "int_reg", ",", "GEN_INT", "(", "INTVAL", "(", "xplus1", ")", "&", "~", "0x7fff", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "ptr_reg", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "xplus0", ",", "int_reg", ")", ")", ")", ";", "return", "plus_constant", "(", "Pmode", ",", "ptr_reg", ",", "INTVAL", "(", "xplus1", ")", "&", "0x7fff", ")", ";", "}", "}", "if", "(", "TARGET_DEBUG_B_MODE", ")", "GO_PRINTF", "(", "\"LEGITIMIZE_ADDRESS could not fix.\\n\"", ")", ";", "return", "xinsn", ";", "}", ""], "natrual_language": ["For", "the", "IQ2000", ",", "transform", ":", "memory", "(", "X", "+", "<", "large", "int", ">", ")", "into", ":", "Y", "=", "<", "large", "int", ">", "&", "~0x7fff", ";", "Z", "=", "X", "+", "Y", "memory", "(", "Z", "+", "(", "<", "large", "int", ">", "&", "0x7fff", ")", ")", ";"], "TS_V_token": ["iq2000", "\"\\n========== LEGITIMIZE_ADDRESS\\n\"", "0", "1", "1", "0", "0x7fff", "0x7fff", "\"LEGITIMIZE_ADDRESS could not fix.\\n\""], "File": "iq20003", "Func": "iq2000_legitimize_address", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16159, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCLowerMASSVEntries", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "bool", "Changed", "=", "false", ";", "auto", "*", "TPC", "=", "getAnalysisIfAvailable", "<", "TargetPassConfig", ">", "(", ")", ";", "if", "(", "!", "TPC", ")", "return", "Changed", ";", "auto", "&", "TM", "=", "TPC", "->", "getTM", "<", "PPCTargetMachine", ">", "(", ")", ";", "const", "PPCSubtarget", "*", "Subtarget", ";", "for", "(", "Function", "&", "Func", ":", "M", ")", "{", "if", "(", "!", "Func", ".", "isDeclaration", "(", ")", ")", "continue", ";", "if", "(", "!", "isMASSVFunc", "(", "Func", ".", "getName", "(", ")", ")", ")", "continue", ";", "SmallVector", "<", "User", "*", ",", "4", ">", "MASSVUsers", ";", "for", "(", "auto", "*", "User", ":", "Func", ".", "users", "(", ")", ")", "MASSVUsers", ".", "push_back", "(", "User", ")", ";", "for", "(", "auto", "*", "User", ":", "MASSVUsers", ")", "{", "auto", "*", "CI", "=", "dyn_cast", "<", "CallInst", ">", "(", "User", ")", ";", "if", "(", "!", "CI", ")", "continue", ";", "Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", "*", "CI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ")", ";", "Changed", "|=", "lowerMASSVCall", "(", "CI", ",", "Func", ",", "M", ",", "Subtarget", ")", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "4", "PPC"], "File": "PPCLowerMASSVEntries", "Func": "runOnModule", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16160, "Length": 183, "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": 16161, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsInstrInfo", "::", "getGlobalBaseReg", "(", "MachineFunction", "*", "MF", ")", "const", "{", "MipsFunctionInfo", "*", "MipsFI", "=", "MF", "->", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "unsigned", "GlobalBaseReg", "=", "MipsFI", "->", "getGlobalBaseReg", "(", ")", ";", "if", "(", "GlobalBaseReg", "!=", "0", ")", "return", "GlobalBaseReg", ";", "MachineBasicBlock", "&", "FirstMBB", "=", "MF", "->", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "FirstMBB", ".", "begin", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", "->", "getRegInfo", "(", ")", ";", "const", "TargetInstrInfo", "*", "TII", "=", "MF", "->", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "GlobalBaseReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "Mips", "::", "CPURegsRegisterClass", ")", ";", "bool", "Ok", "=", "TII", "->", "copyRegToReg", "(", "FirstMBB", ",", "MBBI", ",", "GlobalBaseReg", ",", "Mips", "::", "GP", ",", "Mips", "::", "CPURegsRegisterClass", ",", "Mips", "::", "CPURegsRegisterClass", ")", ";", "assert", "(", "Ok", "&&", "\"Couldn't assign to global base register!\"", ")", ";", "Ok", "=", "Ok", ";", "RegInfo", ".", "addLiveIn", "(", "Mips", "::", "GP", ")", ";", "MipsFI", "->", "setGlobalBaseReg", "(", "GlobalBaseReg", ")", ";", "return", "GlobalBaseReg", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "0", "Mips::CPURegsRegisterClass", "Mips::GP", "Mips::CPURegsRegisterClass", "Mips::CPURegsRegisterClass", "\"Couldn't assign to global base register!\"", "Mips::GP", "Mips"], "File": "MipsInstrInfo38", "Func": "getGlobalBaseReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16162, "Length": 156, "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", "::", "v64i1", "&&", "Subtarget", ".", "hasBWI", "(", ")", "&&", "!", "Subtarget", ".", "useAVX512Regs", "(", ")", "&&", "CC", "!=", "CallingConv", "::", "X86_RegCall", ")", "return", "2", ";", "if", "(", "(", "VT", "==", "MVT", "::", "v32i16", "||", "VT", "==", "MVT", "::", "v64i8", ")", "&&", "!", "EnableOldKNLABI", "&&", "Subtarget", ".", "useAVX512Regs", "(", ")", "&&", "!", "Subtarget", ".", "hasBWI", "(", ")", ")", "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::v64i1", "X86", "2", "MVT::v32i16", "MVT::v64i8", "1"], "File": "X86ISelLowering (2)6", "Func": "getNumRegistersForCallingConv", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16163, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMBaseTargetMachine", "::", "ARMBaseTargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "isLittle", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "CPU", ",", "Options", ",", "isLittle", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "TargetABI", "(", "computeTargetABI", "(", "TT", ",", "CPU", ",", "Options", ")", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", ",", "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": "ARMTargetMachine15", "Func": "ARMBaseTargetMachine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16164, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1FrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "DebugLoc", "DL", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "ARM", "::", "tPUSH", ")", ")", ";", "AddDefaultPred", "(", "MIB", ")", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "bool", "isKill", "=", "true", ";", "if", "(", "Reg", "==", "ARM", "::", "LR", ")", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "if", "(", "MF", ".", "getFrameInfo", "(", ")", "->", "isReturnAddressTaken", "(", ")", "&&", "MF", ".", "getRegInfo", "(", ")", ".", "isLiveIn", "(", "Reg", ")", ")", "isKill", "=", "false", ";", "}", "if", "(", "isKill", ")", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "MIB", ".", "addReg", "(", "Reg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "}", "MIB", ".", "setMIFlags", "(", "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": ["ARM", "ARM::tPUSH", "0", "1", "ARM::LR"], "File": "Thumb1FrameLowering", "Func": "spillCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16165, "Length": 239, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "shmedia_cleanup_truncate", "(", "rtx", "*", "p", ",", "void", "*", "n_changes", ")", "{", "rtx", "x", "=", "*", "p", ",", "reg", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "TRUNCATE", ")", "return", "0", ";", "reg", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_MODE_SIZE", "(", "GET_MODE", "(", "reg", ")", ")", ">", "8", "&&", "GET_CODE", "(", "reg", ")", "==", "REG", ")", "{", "enum", "machine_mode", "reg_mode", "=", "GET_MODE", "(", "reg", ")", ";", "XEXP", "(", "x", ",", "0", ")", "=", "simplify_subreg", "(", "DImode", ",", "reg", ",", "reg_mode", ",", "subreg_lowpart_offset", "(", "DImode", ",", "reg_mode", ")", ")", ";", "*", "(", "int", "*", ")", "n_changes", "+=", "1", ";", "return", "-", "1", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Look", "through", "X", "cleaning", "up", "truncates", "of", "registers", "that", "span", "multiple", "actual", "hard", "registers", ".", "Return", "the", "number", "of", "changes", "made", "."], "TS_V_token": ["sh", "0", "0", "8", "0", "1", "1", "0"], "File": "sh3", "Func": "shmedia_cleanup_truncate", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16166, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "enablePostRAScheduler", "(", ")", "const", "override", "{", "return", "isGeneric", "(", ")", "||", "isCortexA53", "(", ")", "||", "isCortexA57", "(", ")", ";", "}", ""], "natrual_language": ["True", "if", "the", "subtarget", "should", "run", "a", "scheduler", "after", "register", "allocation", "."], "TS_V_token": ["AArch64"], "File": "AArch64Subtarget (2)", "Func": "enablePostRAScheduler", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16167, "Length": 21, "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", "ADDiu", "=", "ABI", ".", "GetPtrAddiuOp", "(", ")", ";", "if", "(", "Amount", "==", "0", ")", "return", ";", "if", "(", "isInt", "<", "16", ">", "(", "Amount", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ADDiu", ")", ",", "SP", ")", ".", "addReg", "(", "SP", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "else", "{", "unsigned", "Opc", "=", "ABI", ".", "GetPtrAdduOp", "(", ")", ";", "if", "(", "Amount", "<", "0", ")", "{", "Opc", "=", "ABI", ".", "GetPtrSubuOp", "(", ")", ";", "Amount", "=", "-", "Amount", ";", "}", "unsigned", "Reg", "=", "loadImmediate", "(", "Amount", ",", "MBB", ",", "I", ",", "DL", ",", "nullptr", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ",", "SP", ")", ".", "addReg", "(", "SP", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ";", "}", "}", ""], "natrual_language": ["Adjust", "SP", "by", "Amount", "bytes", "."], "TS_V_token": ["Mips", "Mips", "Mips", "0", "16", "0"], "File": "MipsSEInstrInfo10", "Func": "adjustStackPtr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16168, "Length": 169, "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", ">", "5", ")", "\\", "*", "valid", "=", "0", ";", "\\", "return", "prefix", "##", "_ES", "+", "index", ";", "\\", "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", ";", "\\", "}", "\\", "}", ""], "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", "5", "0", "3", "0"], "File": "X86DisassemblerDecoder15", "Func": "name", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16169, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_adjust_stack_and_probe", "(", "rtx", "reg", ")", "{", "static", "int", "labelno", "=", "0", ";", "char", "loop_lab", "[", "32", "]", ";", "rtx", "xops", "[", "2", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "loop_lab", ",", "\"LPSRL\"", ",", "labelno", "++", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "loop_lab", ")", ";", "xops", "[", "0", "]", "=", "stack_pointer_rtx", ";", "xops", "[", "1", "]", "=", "GEN_INT", "(", "PROBE_INTERVAL", ")", ";", "output_asm_insn", "(", "\"sub%z0\\t{%1, %0|%0, %1}\"", ",", "xops", ")", ";", "xops", "[", "1", "]", "=", "const0_rtx", ";", "output_asm_insn", "(", "\"or%z0\\t{%1, (%0)|DWORD PTR [%0], %1}\"", ",", "xops", ")", ";", "xops", "[", "0", "]", "=", "stack_pointer_rtx", ";", "xops", "[", "1", "]", "=", "reg", ";", "output_asm_insn", "(", "\"cmp%z0\\t{%1, %0|%0, %1}\"", ",", "xops", ")", ";", "fputs", "(", "\"\\tjne\\t\"", ",", "asm_out_file", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "loop_lab", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Adjust", "the", "stack", "pointer", "up", "to", "REG", "while", "probing", "it", "."], "TS_V_token": ["i386", "0", "32", "2", "\"LPSRL\"", "0", "1", "\"sub%z0\\t{%1, %0|%0, %1}\"", "1", "\"or%z0\\t{%1, (%0)|DWORD PTR [%0], %1}\"", "0", "1", "\"cmp%z0\\t{%1, %0|%0, %1}\"", "\"\\tjne\\t\"", "\"\""], "File": "i3865", "Func": "output_adjust_stack_and_probe", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16170, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ")", "{", "if", "(", "!", "ST", "->", "isMClass", "(", ")", ")", "return", "BasicTTIImplBase", "::", "getUnrollingPreferences", "(", "L", ",", "SE", ",", "UP", ")", ";", "UP", ".", "OptSizeThreshold", "=", "0", ";", "UP", ".", "PartialOptSizeThreshold", "=", "0", ";", "if", "(", "L", "->", "getHeader", "(", ")", "->", "getParent", "(", ")", "->", "hasOptSize", "(", ")", ")", "return", ";", "if", "(", "!", "ST", "->", "isThumb2", "(", ")", ")", "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", ";", "unsigned", "Cost", "=", "0", ";", "for", "(", "auto", "*", "BB", ":", "L", "->", "getBlocks", "(", ")", ")", "{", "for", "(", "auto", "&", "I", ":", "*", "BB", ")", "{", "if", "(", "isa", "<", "CallInst", ">", "(", "I", ")", "||", "isa", "<", "InvokeInst", ">", "(", "I", ")", ")", "{", "ImmutableCallSite", "CS", "(", "&", "I", ")", ";", "if", "(", "const", "Function", "*", "F", "=", "CS", ".", "getCalledFunction", "(", ")", ")", "{", "if", "(", "!", "isLoweredToCall", "(", "F", ")", ")", "continue", ";", "}", "return", ";", "}", "if", "(", "I", ".", "getType", "(", ")", "->", "isVectorTy", "(", ")", ")", "return", ";", "SmallVector", "<", "const", "Value", "*", ",", "4", ">", "Operands", "(", "I", ".", "value_op_begin", "(", ")", ",", "I", ".", "value_op_end", "(", ")", ")", ";", "Cost", "+=", "getUserCost", "(", "&", "I", ",", "Operands", ")", ";", "}", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Cost of loop: \"", "<<", "Cost", "<<", "\"\\n\"", ")", ";", "UP", ".", "Partial", "=", "true", ";", "UP", ".", "Runtime", "=", "true", ";", "UP", ".", "UpperBound", "=", "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", "0", "4", "\"Cost of loop: \"", "\"\\n\"", "4", "60", "12"], "File": "ARMTargetTransformInfo25", "Func": "getUnrollingPreferences", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16171, "Length": 356, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_return_fpr_single", "(", "machine_mode", "type_mode", ",", "machine_mode", "value_mode", ")", "{", "rtx", "x", ";", "x", "=", "gen_rtx_REG", "(", "value_mode", ",", "FP_RETURN", ")", ";", "if", "(", "type_mode", "!=", "value_mode", ")", "{", "x", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "x", ",", "const0_rtx", ")", ";", "x", "=", "gen_rtx_PARALLEL", "(", "type_mode", ",", "gen_rtvec", "(", "1", ",", "x", ")", ")", ";", "}", "return", "x", ";", "}", ""], "natrual_language": ["Return", "the", "representation", "of", "an", "FPR", "return", "register", "when", "the", "value", "being", "returned", "in", "FP_RETURN", "has", "mode", "VALUE_MODE", "and", "the", "return", "type", "itself", "has", "mode", "TYPE_MODE", ".", "On", "NewABI", "targets", ",", "the", "two", "modes", "may", "be", "different", "for", "structures", "like", ":", "struct", "__attribute__", "(", "(", "packed", ")", ")", "foo", "{", "float", "f", ";", "}", "where", "we", "return", "the", "SFmode", "value", "of", "``", "f", "''", "in", "FP_RETURN", ",", "but", "where", "the", "structure", "itself", "has", "mode", "BLKmode", "."], "TS_V_token": ["mips", "1"], "File": "mips", "Func": "mips_return_fpr_single", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16172, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "fpuv3_output_move", "(", "rtx", "*", "operands", ")", "{", "rtx", "reg", ",", "mem", ",", "addr", ",", "ops", "[", "2", "]", ";", "bool", "isload", "=", "REG_P", "(", "operands", "[", "0", "]", ")", ";", "const", "char", "*", "templ", "=", "\"f%s%s.%s\\t%%0, %%1\"", ";", "char", "buff", "[", "50", "]", ";", "machine_mode", "mode", ";", "reg", "=", "operands", "[", "isload", "?", "0", ":", "1", "]", ";", "mem", "=", "operands", "[", "isload", "?", "1", ":", "0", "]", ";", "gcc_assert", "(", "REG_P", "(", "reg", ")", ")", ";", "gcc_assert", "(", "CSKY_VREG_P", "(", "REGNO", "(", "reg", ")", ")", ")", ";", "gcc_assert", "(", "MEM_P", "(", "mem", ")", ")", ";", "mode", "=", "GET_MODE", "(", "reg", ")", ";", "const", "char", "*", "type", "=", "mode", "==", "DFmode", "?", "\"64\"", ":", "mode", "==", "SFmode", "?", "\"32\"", ":", "mode", "==", "HFmode", "?", "\"16\"", ":", "NULL", ";", "gcc_assert", "(", "type", "!=", "NULL", ")", ";", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "struct", "csky_address", "caddr", ";", "decompose_csky_address", "(", "addr", ",", "&", "caddr", ")", ";", "ops", "[", "0", "]", "=", "reg", ";", "ops", "[", "1", "]", "=", "mem", ";", "sprintf", "(", "buff", ",", "templ", ",", "isload", "?", "\"ld\"", ":", "\"st\"", ",", "caddr", ".", "index", "?", "\"r\"", ":", "\"\"", ",", "type", ")", ";", "output_asm_insn", "(", "buff", ",", "ops", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "float", "point", "load/store", "instructions", "for", "fpuv3", "."], "TS_V_token": ["csky", "2", "0", "\"f%s%s.%s\\t%%0, %%1\"", "50", "0", "1", "1", "0", "\"64\"", "\"32\"", "\"16\"", "0", "0", "1", "\"ld\"", "\"st\"", "\"r\"", "\"\"", "\"\""], "File": "csky", "Func": "fpuv3_output_move", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16173, "Length": 206, "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", "(", "MSA_SUPPORTED_MODE_P", "(", "imode", ")", ")", "{", "switch", "(", "imode", ")", "{", "case", "E_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", "E_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", "E_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", "E_V8QImode", ":", "if", "(", "high_p", ")", "unpack", "=", "gen_loongson_punpckhbh", ";", "else", "unpack", "=", "gen_loongson_punpcklbh", ";", "cmpFunc", "=", "gen_loongson_pcmpgtb", ";", "break", ";", "case", "E_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": "mips", "Func": "mips_expand_vec_unpack", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16174, "Length": 390, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_init_builtins_va_builtins_abi", "(", "void", ")", "{", "tree", "ms_va_ref", ",", "sysv_va_ref", ";", "tree", "fnvoid_va_end_ms", ",", "fnvoid_va_end_sysv", ";", "tree", "fnvoid_va_start_ms", ",", "fnvoid_va_start_sysv", ";", "tree", "fnvoid_va_copy_ms", ",", "fnvoid_va_copy_sysv", ";", "tree", "fnattr_ms", "=", "NULL_TREE", ",", "fnattr_sysv", "=", "NULL_TREE", ";", "if", "(", "!", "TARGET_64BIT", ")", "return", ";", "fnattr_ms", "=", "build_tree_list", "(", "get_identifier", "(", "\"ms_abi\"", ")", ",", "NULL_TREE", ")", ";", "fnattr_sysv", "=", "build_tree_list", "(", "get_identifier", "(", "\"sysv_abi\"", ")", ",", "NULL_TREE", ")", ";", "ms_va_ref", "=", "build_reference_type", "(", "ms_va_list_type_node", ")", ";", "sysv_va_ref", "=", "build_pointer_type", "(", "TREE_TYPE", "(", "sysv_va_list_type_node", ")", ")", ";", "fnvoid_va_end_ms", "=", "build_function_type_list", "(", "void_type_node", ",", "ms_va_ref", ",", "NULL_TREE", ")", ";", "fnvoid_va_start_ms", "=", "build_varargs_function_type_list", "(", "void_type_node", ",", "ms_va_ref", ",", "NULL_TREE", ")", ";", "fnvoid_va_end_sysv", "=", "build_function_type_list", "(", "void_type_node", ",", "sysv_va_ref", ",", "NULL_TREE", ")", ";", "fnvoid_va_start_sysv", "=", "build_varargs_function_type_list", "(", "void_type_node", ",", "sysv_va_ref", ",", "NULL_TREE", ")", ";", "fnvoid_va_copy_ms", "=", "build_function_type_list", "(", "void_type_node", ",", "ms_va_ref", ",", "ms_va_list_type_node", ",", "NULL_TREE", ")", ";", "fnvoid_va_copy_sysv", "=", "build_function_type_list", "(", "void_type_node", ",", "sysv_va_ref", ",", "sysv_va_ref", ",", "NULL_TREE", ")", ";", "add_builtin_function", "(", "\"__builtin_ms_va_start\"", ",", "fnvoid_va_start_ms", ",", "BUILT_IN_VA_START", ",", "BUILT_IN_NORMAL", ",", "NULL", ",", "fnattr_ms", ")", ";", "add_builtin_function", "(", "\"__builtin_ms_va_end\"", ",", "fnvoid_va_end_ms", ",", "BUILT_IN_VA_END", ",", "BUILT_IN_NORMAL", ",", "NULL", ",", "fnattr_ms", ")", ";", "add_builtin_function", "(", "\"__builtin_ms_va_copy\"", ",", "fnvoid_va_copy_ms", ",", "BUILT_IN_VA_COPY", ",", "BUILT_IN_NORMAL", ",", "NULL", ",", "fnattr_ms", ")", ";", "add_builtin_function", "(", "\"__builtin_sysv_va_start\"", ",", "fnvoid_va_start_sysv", ",", "BUILT_IN_VA_START", ",", "BUILT_IN_NORMAL", ",", "NULL", ",", "fnattr_sysv", ")", ";", "add_builtin_function", "(", "\"__builtin_sysv_va_end\"", ",", "fnvoid_va_end_sysv", ",", "BUILT_IN_VA_END", ",", "BUILT_IN_NORMAL", ",", "NULL", ",", "fnattr_sysv", ")", ";", "add_builtin_function", "(", "\"__builtin_sysv_va_copy\"", ",", "fnvoid_va_copy_sysv", ",", "BUILT_IN_VA_COPY", ",", "BUILT_IN_NORMAL", ",", "NULL", ",", "fnattr_sysv", ")", ";", "}", ""], "natrual_language": ["Internal", "method", "for", "ix86_init_builtins", "."], "TS_V_token": ["i386", "\"ms_abi\"", "\"sysv_abi\"", "\"__builtin_ms_va_start\"", "\"__builtin_ms_va_end\"", "\"__builtin_ms_va_copy\"", "\"__builtin_sysv_va_start\"", "\"__builtin_sysv_va_end\"", "\"__builtin_sysv_va_copy\""], "File": "i386-builtins", "Func": "ix86_init_builtins_va_builtins_abi", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16175, "Length": 245, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "static", "rtx", "emit_set_insn", "(", "rtx", "x", ",", "rtx", "y", ")", "{", "return", "emit_insn", "(", "gen_rtx_SET", "(", "x", ",", "y", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "insn", "that", "'s", "a", "simple", "single-set", ".", "Both", "the", "operands", "must", "be", "known", "to", "be", "valid", "."], "TS_V_token": ["aarch64"], "File": "aarch643", "Func": "emit_set_insn", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16176, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "getPartialRegUpdateClearance", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "OpNum", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "OpNum", "!=", "0", "||", "!", "hasPartialRegUpdate", "(", "MI", ".", "getOpcode", "(", ")", ",", "Subtarget", ")", ")", "return", "0", ";", "const", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "unsigned", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "Reg", ")", ")", "{", "if", "(", "MO", ".", "readsReg", "(", ")", "||", "MI", ".", "readsVirtualRegister", "(", "Reg", ")", ")", "return", "0", ";", "}", "else", "{", "if", "(", "MI", ".", "readsRegister", "(", "Reg", ",", "TRI", ")", ")", "return", "0", ";", "}", "return", "PartialRegUpdateClearance", ";", "}", ""], "natrual_language": ["Inform", "the", "BreakFalseDeps", "pass", "how", "many", "idle", "instructions", "we", "would", "like", "before", "a", "partial", "register", "update", "."], "TS_V_token": ["X86", "X86", "0", "0", "0", "0", "0"], "File": "X86InstrInfo", "Func": "getPartialRegUpdateClearance", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16177, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_target_macros", "(", "void", ")", "{", "if", "(", "TARGET_64BIT", ")", "{", "cpp_assert", "(", "parse_in", ",", "\"cpu=x86_64\"", ")", ";", "cpp_assert", "(", "parse_in", ",", "\"machine=x86_64\"", ")", ";", "cpp_define", "(", "parse_in", ",", "\"__amd64\"", ")", ";", "cpp_define", "(", "parse_in", ",", "\"__amd64__\"", ")", ";", "cpp_define", "(", "parse_in", ",", "\"__x86_64\"", ")", ";", "cpp_define", "(", "parse_in", ",", "\"__x86_64__\"", ")", ";", "if", "(", "TARGET_X32", ")", "{", "cpp_define", "(", "parse_in", ",", "\"_ILP32\"", ")", ";", "cpp_define", "(", "parse_in", ",", "\"__ILP32__\"", ")", ";", "}", "}", "else", "{", "cpp_assert", "(", "parse_in", ",", "\"cpu=i386\"", ")", ";", "cpp_assert", "(", "parse_in", ",", "\"machine=i386\"", ")", ";", "builtin_define_std", "(", "\"i386\"", ")", ";", "}", "if", "(", "!", "TARGET_80387", ")", "cpp_define", "(", "parse_in", ",", "\"_SOFT_FLOAT\"", ")", ";", "if", "(", "TARGET_LONG_DOUBLE_64", ")", "cpp_define", "(", "parse_in", ",", "\"__LONG_DOUBLE_64__\"", ")", ";", "if", "(", "TARGET_LONG_DOUBLE_128", ")", "cpp_define", "(", "parse_in", ",", "\"__LONG_DOUBLE_128__\"", ")", ";", "if", "(", "TARGET_128BIT_LONG_DOUBLE", ")", "cpp_define", "(", "parse_in", ",", "\"__SIZEOF_FLOAT80__=16\"", ")", ";", "else", "cpp_define", "(", "parse_in", ",", "\"__SIZEOF_FLOAT80__=12\"", ")", ";", "cpp_define", "(", "parse_in", ",", "\"__SIZEOF_FLOAT128__=16\"", ")", ";", "cpp_define_formatted", "(", "parse_in", ",", "\"__ATOMIC_HLE_ACQUIRE=%d\"", ",", "IX86_HLE_ACQUIRE", ")", ";", "cpp_define_formatted", "(", "parse_in", ",", "\"__ATOMIC_HLE_RELEASE=%d\"", ",", "IX86_HLE_RELEASE", ")", ";", "cpp_define", "(", "parse_in", ",", "\"__GCC_ASM_FLAG_OUTPUTS__\"", ")", ";", "ix86_target_macros_internal", "(", "ix86_isa_flags", ",", "ix86_isa_flags2", ",", "ix86_arch", ",", "ix86_tune", ",", "ix86_fpmath", ",", "cpp_define", ")", ";", "cpp_define", "(", "parse_in", ",", "\"__SEG_FS\"", ")", ";", "cpp_define", "(", "parse_in", ",", "\"__SEG_GS\"", ")", ";", "}", ""], "natrual_language": ["Function", "to", "tell", "the", "preprocessor", "about", "the", "defines", "for", "the", "current", "target", "."], "TS_V_token": ["i386", "\"cpu=x86_64\"", "\"machine=x86_64\"", "\"__amd64\"", "\"__amd64__\"", "\"__x86_64\"", "\"__x86_64__\"", "\"_ILP32\"", "\"__ILP32__\"", "\"cpu=i386\"", "\"machine=i386\"", "\"i386\"", "\"_SOFT_FLOAT\"", "\"__LONG_DOUBLE_64__\"", "\"__LONG_DOUBLE_128__\"", "\"__SIZEOF_FLOAT80__=16\"", "\"__SIZEOF_FLOAT80__=12\"", "\"__SIZEOF_FLOAT128__=16\"", "\"__ATOMIC_HLE_ACQUIRE=%d\"", "\"__ATOMIC_HLE_RELEASE=%d\"", "\"__GCC_ASM_FLAG_OUTPUTS__\"", "\"__SEG_FS\"", "\"__SEG_GS\""], "File": "i386-c4", "Func": "ix86_target_macros", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16178, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WinEHStatePass", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "assert", "(", "TheModule", "==", "&", "M", ")", ";", "TheModule", "=", "nullptr", ";", "EHLinkRegistrationTy", "=", "nullptr", ";", "CXXEHRegistrationTy", "=", "nullptr", ";", "SEHRegistrationTy", "=", "nullptr", ";", "SetJmp3", "=", "nullptr", ";", "CxxLongjmpUnwind", "=", "nullptr", ";", "SehLongjmpUnwind", "=", "nullptr", ";", "Cookie", "=", "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": "X86WinEHState1", "Func": "doFinalization", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16179, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_expand_prologue", "(", "void", ")", "{", "HOST_WIDE_INT", "size", ";", "if", "(", "cfun", "->", "machine", "->", "global_pointer", ">", "0", ")", "REGNO", "(", "pic_offset_table_rtx", ")", "=", "cfun", "->", "machine", "->", "global_pointer", ";", "size", "=", "compute_frame_size", "(", "get_frame_size", "(", ")", ")", ";", "if", "(", "(", "cfun", "->", "machine", "->", "frame", ".", "mask", "|", "cfun", "->", "machine", "->", "frame", ".", "fmask", ")", "!=", "0", ")", "{", "HOST_WIDE_INT", "step1", ";", "step1", "=", "MIN", "(", "size", ",", "MIPS_MAX_FIRST_STACK_STEP", ")", ";", "RTX_FRAME_RELATED_P", "(", "emit_insn", "(", "gen_add3_insn", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "step1", ")", ")", ")", ")", "=", "1", ";", "size", "-=", "step1", ";", "mips_for_each_saved_reg", "(", "size", ",", "mips_save_reg", ")", ";", "}", "if", "(", "size", ">", "0", ")", "{", "if", "(", "SMALL_OPERAND", "(", "-", "size", ")", ")", "RTX_FRAME_RELATED_P", "(", "emit_insn", "(", "gen_add3_insn", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "size", ")", ")", ")", ")", "=", "1", ";", "else", "{", "emit_move_insn", "(", "MIPS_PROLOGUE_TEMP", "(", "Pmode", ")", ",", "GEN_INT", "(", "size", ")", ")", ";", "if", "(", "TARGET_MIPS16", ")", "{", "gcc_assert", "(", "frame_pointer_needed", ")", ";", "emit_move_insn", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ")", ";", "emit_insn", "(", "gen_sub3_insn", "(", "hard_frame_pointer_rtx", ",", "hard_frame_pointer_rtx", ",", "MIPS_PROLOGUE_TEMP", "(", "Pmode", ")", ")", ")", ";", "emit_move_insn", "(", "stack_pointer_rtx", ",", "hard_frame_pointer_rtx", ")", ";", "}", "else", "emit_insn", "(", "gen_sub3_insn", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "MIPS_PROLOGUE_TEMP", "(", "Pmode", ")", ")", ")", ";", "mips_set_frame_expr", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "stack_pointer_rtx", ",", "plus_constant", "(", "stack_pointer_rtx", ",", "-", "size", ")", ")", ")", ";", "}", "}", "if", "(", "frame_pointer_needed", ")", "{", "if", "(", "TARGET_MIPS16", "&&", "cfun", "->", "machine", "->", "frame", ".", "args_size", "!=", "0", ")", "{", "rtx", "offset", "=", "GEN_INT", "(", "cfun", "->", "machine", "->", "frame", ".", "args_size", ")", ";", "if", "(", "SMALL_OPERAND", "(", "cfun", "->", "machine", "->", "frame", ".", "args_size", ")", ")", "RTX_FRAME_RELATED_P", "(", "emit_insn", "(", "gen_add3_insn", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ")", "=", "1", ";", "else", "{", "emit_move_insn", "(", "MIPS_PROLOGUE_TEMP", "(", "Pmode", ")", ",", "offset", ")", ";", "emit_move_insn", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "hard_frame_pointer_rtx", ",", "hard_frame_pointer_rtx", ",", "MIPS_PROLOGUE_TEMP", "(", "Pmode", ")", ")", ")", ";", "mips_set_frame_expr", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "hard_frame_pointer_rtx", ",", "plus_constant", "(", "stack_pointer_rtx", ",", "cfun", "->", "machine", "->", "frame", ".", "args_size", ")", ")", ")", ";", "}", "}", "else", "RTX_FRAME_RELATED_P", "(", "emit_move_insn", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ")", ")", "=", "1", ";", "}", "if", "(", "TARGET_ABICALLS", "&&", "!", "TARGET_NEWABI", "&&", "!", "current_function_is_leaf", ")", "emit_insn", "(", "gen_cprestore", "(", "GEN_INT", "(", "current_function_outgoing_args_size", ")", ")", ")", ";", "mips_emit_loadgp", "(", ")", ";", "if", "(", "current_function_profile", ")", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "the", "prologue", "into", "a", "bunch", "of", "separate", "insns", "."], "TS_V_token": ["mips", "0", "0", "1", "0", "1", "0", "1", "1"], "File": "mips3", "Func": "mips_expand_prologue", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16180, "Length": 408, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_veclibabi_acml", "(", "enum", "built_in_function", "fn", ",", "tree", "type_out", ",", "tree", "type_in", ")", "{", "char", "name", "[", "20", "]", "=", "\"__vr.._\"", ";", "tree", "fntype", ",", "new_fndecl", ",", "args", ";", "unsigned", "arity", ";", "const", "char", "*", "bname", ";", "machine_mode", "el_mode", ",", "in_mode", ";", "int", "n", ",", "in_n", ";", "if", "(", "!", "TARGET_64BIT", "||", "!", "flag_unsafe_math_optimizations", ")", "return", "NULL_TREE", ";", "el_mode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "type_out", ")", ")", ";", "n", "=", "TYPE_VECTOR_SUBPARTS", "(", "type_out", ")", ";", "in_mode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "type_in", ")", ")", ";", "in_n", "=", "TYPE_VECTOR_SUBPARTS", "(", "type_in", ")", ";", "if", "(", "el_mode", "!=", "in_mode", "||", "n", "!=", "in_n", ")", "return", "NULL_TREE", ";", "switch", "(", "fn", ")", "{", "case", "BUILT_IN_SIN", ":", "case", "BUILT_IN_COS", ":", "case", "BUILT_IN_EXP", ":", "case", "BUILT_IN_LOG", ":", "case", "BUILT_IN_LOG2", ":", "case", "BUILT_IN_LOG10", ":", "name", "[", "4", "]", "=", "'d'", ";", "name", "[", "5", "]", "=", "'2'", ";", "if", "(", "el_mode", "!=", "DFmode", "||", "n", "!=", "2", ")", "return", "NULL_TREE", ";", "break", ";", "case", "BUILT_IN_SINF", ":", "case", "BUILT_IN_COSF", ":", "case", "BUILT_IN_EXPF", ":", "case", "BUILT_IN_POWF", ":", "case", "BUILT_IN_LOGF", ":", "case", "BUILT_IN_LOG2F", ":", "case", "BUILT_IN_LOG10F", ":", "name", "[", "4", "]", "=", "'s'", ";", "name", "[", "5", "]", "=", "'4'", ";", "if", "(", "el_mode", "!=", "SFmode", "||", "n", "!=", "4", ")", "return", "NULL_TREE", ";", "break", ";", "default", ":", "return", "NULL_TREE", ";", "}", "bname", "=", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "builtin_decl_implicit", "(", "fn", ")", ")", ")", ";", "sprintf", "(", "name", "+", "7", ",", "\"%s\"", ",", "bname", "+", "10", ")", ";", "arity", "=", "0", ";", "for", "(", "args", "=", "DECL_ARGUMENTS", "(", "builtin_decl_implicit", "(", "fn", ")", ")", ";", "args", ";", "args", "=", "TREE_CHAIN", "(", "args", ")", ")", "arity", "++", ";", "if", "(", "arity", "==", "1", ")", "fntype", "=", "build_function_type_list", "(", "type_out", ",", "type_in", ",", "NULL", ")", ";", "else", "fntype", "=", "build_function_type_list", "(", "type_out", ",", "type_in", ",", "type_in", ",", "NULL", ")", ";", "new_fndecl", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FUNCTION_DECL", ",", "get_identifier", "(", "name", ")", ",", "fntype", ")", ";", "TREE_PUBLIC", "(", "new_fndecl", ")", "=", "1", ";", "DECL_EXTERNAL", "(", "new_fndecl", ")", "=", "1", ";", "DECL_IS_NOVOPS", "(", "new_fndecl", ")", "=", "1", ";", "TREE_READONLY", "(", "new_fndecl", ")", "=", "1", ";", "return", "new_fndecl", ";", "}", ""], "natrual_language": ["Handler", "for", "an", "ACML-style", "interface", "to", "a", "library", "with", "vectorized", "intrinsics", "."], "TS_V_token": ["i386", "20", "\"__vr.._\"", "4", "5", "2", "4", "5", "4", "7", "\"%s\"", "10", "0", "1", "1", "1", "1", "1"], "File": "i3864", "Func": "ix86_veclibabi_acml", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16181, "Length": 347, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ARMSubtarget", "*", "ARMBaseTargetMachine", "::", "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", "<", "ARMSubtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "*", "this", ",", "isLittle", ")", ";", "}", "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": ["ARM", "ARM", "ARM", "\"target-cpu\"", "\"target-features\"", "\"use-soft-float\"", "\"use-soft-float\"", "\"true\"", "\"+soft-float\"", "\",+soft-float\"", "ARM"], "File": "ARMTargetMachine (2)1", "Func": "getSubtargetImpl", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16182, "Length": 179, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_avoid_hazard", "(", "rtx_insn", "*", "after", ",", "rtx_insn", "*", "insn", ",", "int", "*", "hilo_delay", ",", "rtx", "*", "delayed_reg", ",", "rtx", "lo_reg", ",", "bool", "*", "fs_delay", ")", "{", "rtx", "pattern", ",", "set", ";", "int", "nops", ",", "ninsns", ";", "pattern", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pattern", ")", "==", "ASM_INPUT", "||", "asm_noperands", "(", "pattern", ")", ">=", "0", ")", "cfun", "->", "machine", "->", "all_noreorder_p", "=", "false", ";", "ninsns", "=", "get_attr_length", "(", "insn", ")", "/", "4", ";", "if", "(", "ninsns", "==", "0", ")", "return", ";", "if", "(", "*", "hilo_delay", "<", "2", "&&", "reg_set_p", "(", "lo_reg", ",", "pattern", ")", ")", "nops", "=", "2", "-", "*", "hilo_delay", ";", "else", "if", "(", "*", "delayed_reg", "!=", "0", "&&", "reg_referenced_p", "(", "*", "delayed_reg", ",", "pattern", ")", ")", "nops", "=", "1", ";", "else", "if", "(", "*", "fs_delay", "&&", "get_attr_can_delay", "(", "insn", ")", "==", "CAN_DELAY_NO", "&&", "GET_CODE", "(", "PATTERN", "(", "after", ")", ")", "!=", "SEQUENCE", "&&", "GET_CODE", "(", "pattern", ")", "!=", "ASM_INPUT", "&&", "asm_noperands", "(", "pattern", ")", "<", "0", ")", "nops", "=", "1", ";", "else", "if", "(", "TUNE_P6600", "&&", "TARGET_CB_MAYBE", "&&", "!", "optimize_size", "&&", "(", "(", "mips_classify_branch_p6600", "(", "after", ")", "==", "UC_BALC", "&&", "mips_classify_branch_p6600", "(", "insn", ")", "==", "UC_OTHER", ")", "||", "(", "mips_classify_branch_p6600", "(", "insn", ")", "==", "UC_BALC", "&&", "mips_classify_branch_p6600", "(", "after", ")", "==", "UC_OTHER", ")", ")", ")", "nops", "=", "1", ";", "else", "nops", "=", "0", ";", "*", "hilo_delay", "+=", "nops", ";", "rtx_insn", "*", "real_after", "=", "after", ";", "if", "(", "real_after", "&&", "nops", "&&", "CALL_P", "(", "real_after", ")", ")", "while", "(", "real_after", "&&", "(", "NOTE_P", "(", "NEXT_INSN", "(", "real_after", ")", ")", "||", "BARRIER_P", "(", "NEXT_INSN", "(", "real_after", ")", ")", ")", ")", "real_after", "=", "NEXT_INSN", "(", "real_after", ")", ";", "while", "(", "nops", "--", ">", "0", ")", "emit_insn_after", "(", "gen_hazard_nop", "(", ")", ",", "real_after", ")", ";", "*", "hilo_delay", "+=", "ninsns", ";", "*", "delayed_reg", "=", "0", ";", "*", "fs_delay", "=", "false", ";", "if", "(", "INSN_CODE", "(", "insn", ")", ">=", "0", ")", "switch", "(", "get_attr_hazard", "(", "insn", ")", ")", "{", "case", "HAZARD_NONE", ":", "if", "(", "TUNE_P6600", "&&", "!", "optimize_size", "&&", "TARGET_CB_MAYBE", "&&", "mips_classify_branch_p6600", "(", "insn", ")", "==", "UC_OTHER", ")", "*", "fs_delay", "=", "true", ";", "break", ";", "case", "HAZARD_FORBIDDEN_SLOT", ":", "if", "(", "TARGET_CB_MAYBE", ")", "*", "fs_delay", "=", "true", ";", "break", ";", "case", "HAZARD_HILO", ":", "*", "hilo_delay", "=", "0", ";", "break", ";", "case", "HAZARD_DELAY", ":", "set", "=", "single_set", "(", "insn", ")", ";", "gcc_assert", "(", "set", ")", ";", "*", "delayed_reg", "=", "SET_DEST", "(", "set", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Subroutine", "of", "mips_reorg", ".", "If", "there", "is", "a", "hazard", "between", "INSN", "and", "a", "previous", "instruction", ",", "avoid", "it", "by", "inserting", "nops", "after", "instruction", "AFTER", ".", "*", "DELAYED_REG", "and", "*", "HILO_DELAY", "describe", "the", "hazards", "that", "apply", "at", "this", "point", ".", "If", "*", "DELAYED_REG", "is", "non-null", ",", "INSN", "must", "wait", "a", "cycle", "before", "using", "the", "value", "of", "that", "register", ".", "*", "HILO_DELAY", "counts", "the", "number", "of", "instructions", "since", "the", "last", "hilo", "hazard", "(", "that", "is", ",", "the", "number", "of", "instructions", "since", "the", "last", "mflo", "or", "mfhi", ")", ".", "After", "inserting", "nops", "for", "INSN", ",", "update", "*", "DELAYED_REG", "and", "*", "HILO_DELAY", "for", "the", "next", "instruction", ".", "LO_REG", "is", "an", "rtx", "for", "the", "LO", "register", ",", "used", "in", "dependence", "checking", "."], "TS_V_token": ["mips", "0", "4", "0", "2", "2", "0", "1", "0", "1", "1", "0", "0", "0", "0", "0"], "File": "mips", "Func": "mips_avoid_hazard", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16183, "Length": 397, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_round_sse4", "(", "rtx", "op0", ",", "rtx", "op1", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "op0", ")", ";", "rtx", "e1", ",", "e2", ",", "res", ",", "half", ";", "const", "struct", "real_format", "*", "fmt", ";", "REAL_VALUE_TYPE", "pred_half", ",", "half_minus_pred_half", ";", "rtx", "(", "*", "gen_copysign", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "rtx", "(", "*", "gen_round", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "switch", "(", "mode", ")", "{", "case", "SFmode", ":", "gen_copysign", "=", "gen_copysignsf3", ";", "gen_round", "=", "gen_sse4_1_roundsf2", ";", "break", ";", "case", "DFmode", ":", "gen_copysign", "=", "gen_copysigndf3", ";", "gen_round", "=", "gen_sse4_1_rounddf2", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "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", "=", "const_double_from_real_value", "(", "pred_half", ",", "mode", ")", ";", "e1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_copysign", "(", "e1", ",", "half", ",", "op1", ")", ")", ";", "e2", "=", "expand_simple_binop", "(", "mode", ",", "PLUS", ",", "op1", ",", "e1", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "res", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_round", "(", "res", ",", "e2", ",", "GEN_INT", "(", "ROUND_TRUNC", ")", ")", ")", ";", "emit_move_insn", "(", "op0", ",", "res", ")", ";", "}", ""], "natrual_language": ["Expand", "SSE", "sequence", "for", "computing", "round", "from", "OP1", "storing", "into", "OP0", "using", "sse4", "round", "insn", "."], "TS_V_token": ["i386", "1", "0"], "File": "i3864", "Func": "ix86_expand_round_sse4", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16184, "Length": 214, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", "=", "0", ")", "const", "override", "{", "return", "&", "LC2200", "::", "GRRegsRegClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["LC2200", "0", "LC2200::GRRegsRegClass"], "File": "LC2200RegisterInfo", "Func": "getPointerRegClass", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16185, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", ",", "Align", "Alignment", ",", "MachineMemOperand", "::", "Flags", "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", ";", "}", "}", "if", "(", "!", "!", "(", "Flags", "&", "MachineMemOperand", "::", "MONonTemporal", ")", "&&", "VT", ".", "isVector", "(", ")", ")", "{", "if", "(", "!", "!", "(", "Flags", "&", "MachineMemOperand", "::", "MOLoad", ")", ")", "return", "(", "Alignment", "<", "16", "||", "!", "Subtarget", ".", "hasSSE41", "(", ")", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["X86", "X86", "128", "256", "16"], "File": "X86ISelLowering (2)5", "Func": "allowsMisalignedMemoryAccesses", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16186, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "\".ent\"", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "\".end\"", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "\".frame\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "\".set\"", ")", "{", "return", "parseDirectiveSet", "(", ")", ";", "}", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "\".fmask\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "\".mask\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "\".gpword\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["Cpu0", "Cpu0", "\".ent\"", "\".end\"", "\".frame\"", "\".set\"", "\".fmask\"", "\".mask\"", "\".gpword\""], "File": "Cpu0AsmParser", "Func": "ParseDirective", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16187, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"OR1K PIC Global Base Reg Initialization\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["OR1K", "\"OR1K PIC Global Base Reg Initialization\""], "File": "OR1KInstrInfo", "Func": "getPassName", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16188, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "DCPU16TargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "DCPU16PassConfig", "(", "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": ["Dcpu16", "DCPU16", "DCPU16"], "File": "Dcpu16TargetMachine", "Func": "createPassConfig", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16189, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SystemZRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "SystemZ", "::", "R11D", ":", "SystemZ", "::", "R15D", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ::R11D", "SystemZ::R15D"], "File": "SystemZRegisterInfo42", "Func": "getFrameRegister", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16190, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "find_r0_life_regions", "(", "basic_block", "b", ")", "{", "bool", "live", ";", "int", "set", ";", "int", "death", "=", "0", ";", "if", "(", "REGNO_REG_SET_P", "(", "df_get_live_in", "(", "b", ")", ",", "R0_REG", ")", ")", "{", "set", "=", "1", ";", "live", "=", "true", ";", "}", "else", "{", "set", "=", "0", ";", "live", "=", "false", ";", "}", "rtx_insn", "*", "insn", "=", "BB_HEAD", "(", "b", ")", ";", "rtx_insn", "*", "end", "=", "BB_END", "(", "b", ")", ";", "rtx", "r0_reg", "=", "gen_rtx_REG", "(", "SImode", ",", "R0_REG", ")", ";", "while", "(", "1", ")", "{", "if", "(", "INSN_P", "(", "insn", ")", ")", "{", "if", "(", "find_regno_note", "(", "insn", ",", "REG_DEAD", ",", "R0_REG", ")", ")", "{", "death", "++", ";", "live", "=", "false", ";", "}", "rtx", "pset", ";", "if", "(", "!", "live", "&&", "(", "pset", "=", "single_set", "(", "insn", ")", ")", "&&", "reg_overlap_mentioned_p", "(", "r0_reg", ",", "SET_DEST", "(", "pset", ")", ")", "&&", "!", "find_regno_note", "(", "insn", ",", "REG_UNUSED", ",", "R0_REG", ")", ")", "{", "set", "++", ";", "live", "=", "true", ";", "}", "}", "if", "(", "insn", "==", "end", ")", "break", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ";", "}", "return", "set", "-", "death", ";", "}", ""], "natrual_language": ["Count", "life", "regions", "of", "r0", "for", "a", "block", "."], "TS_V_token": ["sh", "0", "1", "0", "1"], "File": "sh", "Func": "find_r0_life_regions", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16191, "Length": 182, "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", "(", ")", ";", "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", "(", ")", ";", "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": "ARMAsmPrinter102", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16192, "Length": 356, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMExpandPseudo", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "TargetMachine", "&", "TM", "=", "MF", ".", "getTarget", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "TM", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "TM", ".", "getRegisterInfo", "(", ")", ";", "STI", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "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", "ARM", "\"After expanding ARM pseudo instructions.\""], "File": "ARMExpandPseudoInsts44", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16193, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "calling_abi", "ix86_function_type_abi", "(", "const_tree", "fntype", ")", "{", "enum", "calling_abi", "abi", "=", "ix86_abi", ";", "if", "(", "fntype", "==", "NULL_TREE", "||", "TYPE_ATTRIBUTES", "(", "fntype", ")", "==", "NULL_TREE", ")", "return", "abi", ";", "if", "(", "abi", "==", "SYSV_ABI", "&&", "lookup_attribute", "(", "\"ms_abi\"", ",", "TYPE_ATTRIBUTES", "(", "fntype", ")", ")", ")", "{", "if", "(", "TARGET_X32", ")", "error", "(", "\"X32 does not support ms_abi attribute\"", ")", ";", "abi", "=", "MS_ABI", ";", "}", "else", "if", "(", "abi", "==", "MS_ABI", "&&", "lookup_attribute", "(", "\"sysv_abi\"", ",", "TYPE_ATTRIBUTES", "(", "fntype", ")", ")", ")", "abi", "=", "SYSV_ABI", ";", "return", "abi", ";", "}", ""], "natrual_language": ["Returns", "value", "SYSV_ABI", ",", "MS_ABI", "dependent", "on", "fntype", ",", "specifying", "the", "call", "abi", "used", "."], "TS_V_token": ["i386", "\"ms_abi\"", "\"X32 does not support ms_abi attribute\"", "\"sysv_abi\""], "File": "i3865", "Func": "ix86_function_type_abi", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16194, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalNTStore", "(", "Type", "*", "DataType", ",", "unsigned", "Alignment", ")", "{", "unsigned", "DataSize", "=", "DL", ".", "getTypeStoreSize", "(", "DataType", ")", ";", "if", "(", "ST", "->", "hasSSE4A", "(", ")", "&&", "(", "DataType", "->", "isFloatTy", "(", ")", "||", "DataType", "->", "isDoubleTy", "(", ")", ")", ")", "return", "true", ";", "if", "(", "Alignment", "<", "DataSize", "||", "DataSize", "<", "4", "||", "DataSize", ">", "32", "||", "!", "isPowerOf2_32", "(", "DataSize", ")", ")", "return", "false", ";", "if", "(", "DataSize", "==", "32", ")", "return", "ST", "->", "hasAVX", "(", ")", ";", "else", "if", "(", "DataSize", "==", "16", ")", "return", "ST", "->", "hasSSE1", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "nontemporal", "store", "."], "TS_V_token": ["X86", "X86", "4", "32", "32", "16"], "File": "X86TargetTransformInfo104", "Func": "isLegalNTStore", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16195, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Sched", "::", "Preference", "ARMTargetLowering", "::", "getSchedulingPreference", "(", "SDNode", "*", "N", ")", "const", "{", "unsigned", "NumVals", "=", "N", "->", "getNumValues", "(", ")", ";", "if", "(", "!", "NumVals", ")", "return", "Sched", "::", "RegPressure", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumVals", ";", "++", "i", ")", "{", "EVT", "VT", "=", "N", "->", "getValueType", "(", "i", ")", ";", "if", "(", "VT", "==", "MVT", "::", "Glue", "||", "VT", "==", "MVT", "::", "Other", ")", "continue", ";", "if", "(", "VT", ".", "isFloatingPoint", "(", ")", "||", "VT", ".", "isVector", "(", ")", ")", "return", "Sched", "::", "ILP", ";", "}", "if", "(", "!", "N", "->", "isMachineOpcode", "(", ")", ")", "return", "Sched", "::", "RegPressure", ";", "const", "TargetInstrInfo", "*", "TII", "=", "getTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "TII", "->", "get", "(", "N", "->", "getMachineOpcode", "(", ")", ")", ";", "if", "(", "MCID", ".", "getNumDefs", "(", ")", "==", "0", ")", "return", "Sched", "::", "RegPressure", ";", "if", "(", "!", "Itins", "->", "isEmpty", "(", ")", "&&", "Itins", "->", "getOperandCycle", "(", "MCID", ".", "getSchedClass", "(", ")", ",", "0", ")", ">", "2", ")", "return", "Sched", "::", "ILP", ";", "return", "Sched", "::", "RegPressure", ";", "}", ""], "natrual_language": ["Some", "scheduler", ",", "e.g", "."], "TS_V_token": ["ARM", "ARM", "0", "MVT::Glue", "MVT::Other", "0", "0", "2"], "File": "ARMISelLowering133", "Func": "getSchedulingPreference", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16196, "Length": 190, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isVectorClearMaskLegal", "(", "const", "SmallVectorImpl", "<", "int", ">", "&", "Mask", ",", "EVT", "VT", ")", "const", "{", "unsigned", "NumElts", "=", "VT", ".", "getVectorNumElements", "(", ")", ";", "if", "(", "NumElts", "==", "2", ")", "return", "true", ";", "if", "(", "NumElts", "==", "4", "&&", "VT", ".", "getSizeInBits", "(", ")", "==", "128", ")", "{", "return", "(", "isMOVLMask", "(", "Mask", ",", "VT", ")", "||", "isCommutedMOVLMask", "(", "Mask", ",", "VT", ",", "true", ")", "||", "isSHUFPMask", "(", "Mask", ",", "VT", ",", "Subtarget", "->", "hasAVX", "(", ")", ")", "||", "isSHUFPMask", "(", "Mask", ",", "VT", ",", "Subtarget", "->", "hasAVX", "(", ")", ",", "true", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Similar", "to", "isShuffleMaskLegal", "."], "TS_V_token": ["X86", "X86", "2", "4", "128"], "File": "X86ISelLowering114", "Func": "isVectorClearMaskLegal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16197, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetMachine", "::", "addPreEmitPass", "(", "PassManagerBase", "&", "PM", ",", "bool", "Fast", ")", "{", "PM", ".", "add", "(", "createMipsDelaySlotFillerPass", "(", "*", "this", ")", ")", ";", "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"], "File": "MipsTargetMachine62", "Func": "addPreEmitPass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16198, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "legitimize_pe_coff_extern_decl", "(", "rtx", "symbol", ",", "bool", "want_reg", ")", "{", "tree", "imp_decl", ";", "rtx", "x", ";", "gcc_assert", "(", "SYMBOL_REF_DECL", "(", "symbol", ")", ")", ";", "imp_decl", "=", "get_dllimport_decl", "(", "SYMBOL_REF_DECL", "(", "symbol", ")", ",", "false", ")", ";", "x", "=", "DECL_RTL", "(", "imp_decl", ")", ";", "if", "(", "want_reg", ")", "x", "=", "force_reg", "(", "Pmode", ",", "x", ")", ";", "return", "x", ";", "}", ""], "natrual_language": ["Expand", "SYMBOL", "into", "its", "corresponding", "far-addresse", "symbol", ".", "WANT_REG", "is", "true", "if", "we", "require", "the", "result", "be", "a", "register", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "legitimize_pe_coff_extern_decl", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16199, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isFPRCopy", "(", "const", "MachineInstr", "&", "MI", ")", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "TargetOpcode", "::", "COPY", ":", "{", "Register", "DstReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "return", "(", "AArch64", "::", "FPR64RegClass", ".", "contains", "(", "DstReg", ")", "||", "AArch64", "::", "FPR128RegClass", ".", "contains", "(", "DstReg", ")", ")", ";", "}", "case", "AArch64", "::", "ORRv16i8", ":", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", "{", "assert", "(", "MI", ".", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", "==", "3", "&&", "MI", ".", "getOperand", "(", "0", ")", ".", "isReg", "(", ")", "&&", "\"invalid ORRv16i8 operands\"", ")", ";", "return", "true", ";", "}", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Does", "this", "instruction", "rename", "an", "FPR", "without", "modifying", "bits", "?"], "TS_V_token": ["AArch64", "AArch64", "0", "AArch64::FPR64RegClass", "AArch64::FPR128RegClass", "AArch64::ORRv16i8", "1", "2", "3", "0", "\"invalid ORRv16i8 operands\""], "File": "AArch64InstrInfo104", "Func": "isFPRCopy", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16200, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "getStoredValue", "(", "SDValue", "Op", ")", "{", "switch", "(", "Op", "->", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "EXPERIMENTAL_VP_STRIDED_STORE", ":", "case", "VEISD", "::", "VVP_STORE", ":", "return", "Op", "->", "getOperand", "(", "1", ")", ";", "}", "if", "(", "auto", "*", "StoreN", "=", "dyn_cast", "<", "StoreSDNode", ">", "(", "Op", ".", "getNode", "(", ")", ")", ")", "return", "StoreN", "->", "getValue", "(", ")", ";", "if", "(", "auto", "*", "StoreN", "=", "dyn_cast", "<", "MaskedStoreSDNode", ">", "(", "Op", ".", "getNode", "(", ")", ")", ")", "return", "StoreN", "->", "getValue", "(", ")", ";", "if", "(", "auto", "*", "StoreN", "=", "dyn_cast", "<", "VPStridedStoreSDNode", ">", "(", "Op", ".", "getNode", "(", ")", ")", ")", "return", "StoreN", "->", "getValue", "(", ")", ";", "if", "(", "auto", "*", "StoreN", "=", "dyn_cast", "<", "VPStoreSDNode", ">", "(", "Op", ".", "getNode", "(", ")", ")", ")", "return", "StoreN", "->", "getValue", "(", ")", ";", "if", "(", "auto", "*", "StoreN", "=", "dyn_cast", "<", "MaskedScatterSDNode", ">", "(", "Op", ".", "getNode", "(", ")", ")", ")", "return", "StoreN", "->", "getValue", "(", ")", ";", "if", "(", "auto", "*", "StoreN", "=", "dyn_cast", "<", "VPScatterSDNode", ">", "(", "Op", ".", "getNode", "(", ")", ")", ")", "return", "StoreN", "->", "getValue", "(", ")", ";", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "address", "accessed", "by", "this", "recipe", "."], "TS_V_token": ["VE", "ISD::EXPERIMENTAL_VP_STRIDED_STORE", "VEISD::VVP_STORE", "1"], "File": "VECustomDAG1", "Func": "getStoredValue", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16201, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_sve_mode_p", "(", "machine_mode", "mode", ")", "{", "return", "aarch64_classify_vector_mode", "(", "mode", ")", "&", "VEC_ANY_SVE", ";", "}", ""], "natrual_language": ["Return", "true", "if", "MODE", "is", "any", "form", "of", "SVE", "mode", ",", "including", "predicates", ",", "vectors", "and", "structures", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_sve_mode_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16202, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmBackend", "::", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "static", "const", "uint8_t", "Nops", "[", "10", "]", "[", "10", "]", "=", "{", "{", "0x90", "}", ",", "{", "0x66", ",", "0x90", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x40", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x44", ",", "0x00", ",", "0x00", "}", ",", "{", "0x66", ",", "0x0f", ",", "0x1f", ",", "0x44", ",", "0x00", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x80", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x84", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "{", "0x66", ",", "0x0f", ",", "0x1f", ",", "0x84", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "{", "0x66", ",", "0x2e", ",", "0x0f", ",", "0x1f", ",", "0x84", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "}", ";", "if", "(", "!", "HasNopl", ")", "{", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "<", "Count", ";", "++", "i", ")", "OW", "->", "Write8", "(", "0x90", ")", ";", "return", "true", ";", "}", "do", "{", "const", "uint8_t", "ThisNopLength", "=", "(", "uint8_t", ")", "std", "::", "min", "(", "Count", ",", "MaxNopLength", ")", ";", "const", "uint8_t", "Prefixes", "=", "ThisNopLength", "<=", "10", "?", "0", ":", "ThisNopLength", "-", "10", ";", "for", "(", "uint8_t", "i", "=", "0", ";", "i", "<", "Prefixes", ";", "i", "++", ")", "OW", "->", "Write8", "(", "0x66", ")", ";", "const", "uint8_t", "Rest", "=", "ThisNopLength", "-", "Prefixes", ";", "for", "(", "uint8_t", "i", "=", "0", ";", "i", "<", "Rest", ";", "i", "++", ")", "OW", "->", "Write8", "(", "Nops", "[", "Rest", "-", "1", "]", "[", "i", "]", ")", ";", "Count", "-=", "ThisNopLength", ";", "}", "while", "(", "Count", "!=", "0", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["X86", "X86", "10", "10", "0x90", "0x66", "0x90", "0x0f", "0x1f", "0x00", "0x0f", "0x1f", "0x40", "0x00", "0x0f", "0x1f", "0x44", "0x00", "0x00", "0x66", "0x0f", "0x1f", "0x44", "0x00", "0x00", "0x0f", "0x1f", "0x80", "0x00", "0x00", "0x00", "0x00", "0x0f", "0x1f", "0x84", "0x00", "0x00", "0x00", "0x00", "0x00", "0x66", "0x0f", "0x1f", "0x84", "0x00", "0x00", "0x00", "0x00", "0x00", "0x66", "0x2e", "0x0f", "0x1f", "0x84", "0x00", "0x00", "0x00", "0x00", "0x00", "0", "0x90", "10", "0", "10", "0", "0x66", "0", "1", "0"], "File": "X86AsmBackend1", "Func": "writeNopData", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16203, "Length": 295, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "SPECIAL_REGISTER_P", "(", "regno", ")", ")", "return", "mode", "==", "SImode", ";", "if", "(", "regno", "==", "FPUL_REG", ")", "return", "(", "mode", "==", "SImode", "||", "mode", "==", "SFmode", ")", ";", "if", "(", "FP_REGISTER_P", "(", "regno", ")", "&&", "mode", "==", "SFmode", ")", "return", "true", ";", "if", "(", "mode", "==", "V2SFmode", ")", "{", "if", "(", "(", "(", "FP_REGISTER_P", "(", "regno", ")", "&&", "(", "regno", "-", "FIRST_FP_REG", ")", "%", "2", "==", "0", ")", "||", "GENERAL_REGISTER_P", "(", "regno", ")", ")", ")", "return", "true", ";", "else", "return", "false", ";", "}", "if", "(", "mode", "==", "V4SFmode", ")", "{", "if", "(", "(", "FP_REGISTER_P", "(", "regno", ")", "&&", "(", "regno", "-", "FIRST_FP_REG", ")", "%", "4", "==", "0", ")", "||", "GENERAL_REGISTER_P", "(", "regno", ")", ")", "return", "true", ";", "else", "return", "false", ";", "}", "if", "(", "mode", "==", "V16SFmode", ")", "return", "regno", "==", "FIRST_XD_REG", ";", "if", "(", "FP_REGISTER_P", "(", "regno", ")", ")", "{", "if", "(", "mode", "==", "SFmode", "||", "mode", "==", "SImode", "||", "(", "(", "TARGET_SH2E", ")", "&&", "mode", "==", "SCmode", ")", "||", "(", "(", "(", "TARGET_FPU_DOUBLE", "&&", "mode", "==", "DFmode", ")", "||", "mode", "==", "DCmode", ")", "&&", "(", "(", "regno", "-", "FIRST_FP_REG", ")", "&", "1", ")", "==", "0", ")", "||", "(", "TARGET_SH4", "&&", "mode", "==", "TImode", "&&", "(", "(", "regno", "-", "FIRST_FP_REG", ")", "&", "3", ")", "==", "0", ")", ")", "return", "true", ";", "else", "return", "false", ";", "}", "if", "(", "XD_REGISTER_P", "(", "regno", ")", ")", "return", "mode", "==", "DFmode", ";", "if", "(", "regno", "==", "PR_REG", ")", "return", "mode", "==", "SImode", ";", "if", "(", "regno", "==", "FPSCR_REG", ")", "return", "mode", "==", "SImode", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "hard", "register", "REGNO", "can", "hold", "a", "value", "of", "machine-mode", "MODE", ".", "We", "can", "allow", "any", "mode", "in", "any", "general", "register", ".", "The", "special", "registers", "only", "allow", "SImode", ".", "Do", "n't", "allow", "any", "mode", "in", "the", "PR", ".", "We", "can", "not", "hold", "DCmode", "values", "in", "the", "XD", "registers", "because", "alter_reg", "handles", "subregs", "of", "them", "incorrectly", ".", "We", "could", "work", "around", "this", "by", "spacing", "the", "XD", "registers", "like", "the", "DR", "registers", ",", "but", "this", "would", "require", "additional", "memory", "in", "every", "compilation", "to", "hold", "larger", "register", "vectors", ".", "We", "could", "hold", "SFmode", "/", "SCmode", "values", "in", "XD", "registers", ",", "but", "that", "would", "require", "a", "tertiary", "reload", "when", "reloading", "from", "/", "to", "memory", ",", "and", "a", "secondary", "reload", "to", "reload", "from", "/", "to", "general", "regs", ";", "that", "seems", "to", "be", "a", "losing", "proposition", ".", "We", "want", "to", "allow", "TImode", "FP", "regs", "so", "that", "when", "V4SFmode", "is", "loaded", "as", "TImode", ",", "it", "wo", "n't", "be", "ferried", "through", "GP", "registers", "first", "."], "TS_V_token": ["sh", "2", "0", "4", "0", "1", "0", "3", "0"], "File": "sh", "Func": "sh_hard_regno_mode_ok", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16204, "Length": 268, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ArrayRef", "<", "MCPhysReg", ">", "SICABIInfo", "::", "GetVarArgRegs", "(", ")", "const", "{", "if", "(", "IsO32", "(", ")", ")", "return", "makeArrayRef", "(", "O32IntRegs", ")", ";", "if", "(", "IsS32", "(", ")", ")", "return", "makeArrayRef", "(", "S32IntRegs", ")", ";", "llvm_unreachable", "(", "\"Unhandled ABI\"", ")", ";", "}", ""], "natrual_language": ["The", "registers", "to", "use", "for", "the", "variable", "argument", "list", "."], "TS_V_token": ["SIC", "SIC", "\"Unhandled ABI\""], "File": "SICABIInfo", "Func": "GetVarArgRegs", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16205, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "function_resolver", "::", "scalar_argument_p", "(", "unsigned", "int", "i", ")", "{", "tree", "type", "=", "get_argument_type", "(", "i", ")", ";", "return", "(", "INTEGRAL_TYPE_P", "(", "type", ")", "||", "POINTER_TYPE_P", "(", "type", ")", "||", "SCALAR_FLOAT_TYPE_P", "(", "type", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "argument", "I", "is", "some", "form", "of", "scalar", "value", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "scalar_argument_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16206, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "SelectAddressRegReg", "(", "SDValue", "N", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Index", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "short", "imm", "=", "0", ";", "if", "(", "N", ".", "getOpcode", "(", ")", "==", "ISD", "::", "ADD", ")", "{", "if", "(", "isIntS16Immediate", "(", "N", ".", "getOperand", "(", "1", ")", ",", "imm", ")", ")", "return", "false", ";", "if", "(", "N", ".", "getOperand", "(", "1", ")", ".", "getOpcode", "(", ")", "==", "PPCISD", "::", "Lo", ")", "return", "false", ";", "Base", "=", "N", ".", "getOperand", "(", "0", ")", ";", "Index", "=", "N", ".", "getOperand", "(", "1", ")", ";", "return", "true", ";", "}", "else", "if", "(", "N", ".", "getOpcode", "(", ")", "==", "ISD", "::", "OR", ")", "{", "if", "(", "isIntS16Immediate", "(", "N", ".", "getOperand", "(", "1", ")", ",", "imm", ")", ")", "return", "false", ";", "APInt", "LHSKnownZero", ",", "LHSKnownOne", ";", "APInt", "RHSKnownZero", ",", "RHSKnownOne", ";", "DAG", ".", "ComputeMaskedBits", "(", "N", ".", "getOperand", "(", "0", ")", ",", "APInt", "::", "getAllOnesValue", "(", "N", ".", "getOperand", "(", "0", ")", ".", "getValueSizeInBits", "(", ")", ")", ",", "LHSKnownZero", ",", "LHSKnownOne", ")", ";", "if", "(", "LHSKnownZero", ".", "getBoolValue", "(", ")", ")", "{", "DAG", ".", "ComputeMaskedBits", "(", "N", ".", "getOperand", "(", "1", ")", ",", "APInt", "::", "getAllOnesValue", "(", "N", ".", "getOperand", "(", "1", ")", ".", "getValueSizeInBits", "(", ")", ")", ",", "RHSKnownZero", ",", "RHSKnownOne", ")", ";", "if", "(", "~", "(", "LHSKnownZero", "|", "RHSKnownZero", ")", "==", "0", ")", "{", "Base", "=", "N", ".", "getOperand", "(", "0", ")", ";", "Index", "=", "N", ".", "getOperand", "(", "1", ")", ";", "return", "true", ";", "}", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["SelectAddressRegReg", "-", "Given", "the", "specified", "addressed", ",", "check", "to", "see", "if", "it", "can", "be", "more", "efficiently", "represented", "as", "[", "r+imm", "]", "."], "TS_V_token": ["PowerPC", "PPC", "0", "ISD::ADD", "1", "1", "PPCISD::Lo", "0", "1", "ISD::OR", "1", "0", "0", "1", "1", "0", "0", "1"], "File": "PPCISelLowering107", "Func": "SelectAddressRegReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16207, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "X86Subtarget", "*", "getSubtargetImpl", "(", ")", "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": ["X86", "X86"], "File": "X86TargetMachine", "Func": "getSubtargetImpl", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16208, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "addPass", "(", "createX86LowerAMXIntrinsicsPass", "(", ")", ")", ";", "addPass", "(", "createX86LowerAMXTypePass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createX86PreAMXConfigPass", "(", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createInterleavedAccessPass", "(", ")", ")", ";", "addPass", "(", "createX86PartialReductionPass", "(", ")", ")", ";", "}", "addPass", "(", "createIndirectBrExpandPass", "(", ")", ")", ";", "const", "Triple", "&", "TT", "=", "TM", "->", "getTargetTriple", "(", ")", ";", "if", "(", "TT", ".", "isOSWindows", "(", ")", ")", "{", "if", "(", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", "{", "addPass", "(", "createCFGuardDispatchPass", "(", ")", ")", ";", "}", "else", "{", "addPass", "(", "createCFGuardCheckPass", "(", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86TargetMachine114", "Func": "addIRPasses", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16209, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZRegisterInfo", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "const", "TargetFrameInfo", "&", "TFI", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "SystemZMachineFunctionInfo", "*", "SystemZMFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "DL", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "StackSize", "-=", "SystemZMFI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "uint64_t", "NumBytes", "=", "StackSize", "-", "TFI", ".", "getOffsetOfLocalArea", "(", ")", ";", "while", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", "&&", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "SystemZ", "::", "MOV64mr", "||", "MBBI", "->", "getOpcode", "(", ")", "==", "SystemZ", "::", "MOV64mrm", ")", ")", "++", "MBBI", ";", "if", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "StackSize", "||", "MFI", "->", "hasCalls", "(", ")", ")", "{", "assert", "(", "MF", ".", "getRegInfo", "(", ")", ".", "isPhysRegUsed", "(", "SystemZ", "::", "R15D", ")", "&&", "\"Invalid stack frame calculation!\"", ")", ";", "emitSPUpdate", "(", "MBB", ",", "MBBI", ",", "-", "(", "int64_t", ")", "NumBytes", ",", "TII", ")", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "SystemZ", "::", "MOV64rr", ")", ",", "SystemZ", "::", "R11D", ")", ".", "addReg", "(", "SystemZ", "::", "R15D", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "llvm", "::", "next", "(", "MF", ".", "begin", "(", ")", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "I", "->", "addLiveIn", "(", "SystemZ", "::", "R11D", ")", ";", "}", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ::MOV64mr", "SystemZ::MOV64mrm", "SystemZ::R15D", "\"Invalid stack frame calculation!\"", "SystemZ::MOV64rr", "SystemZ::R11D", "SystemZ::R15D", "SystemZ::R11D"], "File": "SystemZRegisterInfo13", "Func": "emitPrologue", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16210, "Length": 299, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "{", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["Mips"], "File": "MipsAsmBackend19", "Func": "relaxInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16211, "Length": 15, "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": ["ARM", "4"], "File": "ARMAsmBackend (2)", "Func": "getPointerSize", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16212, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "iq2000_emit_frame_related_store", "(", "rtx", "mem", ",", "rtx", "reg", ",", "HOST_WIDE_INT", "offset", ")", "{", "rtx", "dwarf_address", "=", "plus_constant", "(", "stack_pointer_rtx", ",", "offset", ")", ";", "rtx", "dwarf_mem", "=", "gen_rtx_MEM", "(", "GET_MODE", "(", "reg", ")", ",", "dwarf_address", ")", ";", "iq2000_annotate_frame_insn", "(", "emit_move_insn", "(", "mem", ",", "reg", ")", ",", "gen_rtx_SET", "(", "GET_MODE", "(", "reg", ")", ",", "dwarf_mem", ",", "reg", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "move", "instruction", "that", "stores", "REG", "in", "MEM", ".", "Make", "the", "instruction", "frame", "related", "and", "note", "that", "it", "stores", "REG", "at", "(", "SP", "+", "OFFSET", ")", "."], "TS_V_token": ["iq2000"], "File": "iq20002", "Func": "iq2000_emit_frame_related_store", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16213, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_emit_fp_unordered_jump", "(", "rtx", "label", ")", "{", "rtx", "reg", "=", "gen_reg_rtx", "(", "HImode", ")", ";", "rtx", "temp", ";", "emit_insn", "(", "gen_x86_fnstsw_1", "(", "reg", ")", ")", ";", "if", "(", "TARGET_USE_SAHF", ")", "{", "emit_insn", "(", "gen_x86_sahf_1", "(", "reg", ")", ")", ";", "temp", "=", "gen_rtx_REG", "(", "CCmode", ",", "FLAGS_REG", ")", ";", "temp", "=", "gen_rtx_UNORDERED", "(", "VOIDmode", ",", "temp", ",", "const0_rtx", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_testqi_ext_ccno_0", "(", "reg", ",", "GEN_INT", "(", "0x04", ")", ")", ")", ";", "temp", "=", "gen_rtx_REG", "(", "CCNOmode", ",", "FLAGS_REG", ")", ";", "temp", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "temp", ",", "const0_rtx", ")", ";", "}", "temp", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "temp", ",", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "label", ")", ",", "pc_rtx", ")", ";", "temp", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "pc_rtx", ",", "temp", ")", ";", "emit_jump_insn", "(", "temp", ")", ";", "}", ""], "natrual_language": ["Output", "code", "to", "perform", "a", "conditional", "jump", "to", "LABEL", ",", "if", "C2", "flag", "in", "FP", "status", "register", "is", "set", "."], "TS_V_token": ["i386", "0x04"], "File": "i3863", "Func": "ix86_emit_fp_unordered_jump", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16214, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCRegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "PPCFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "const", "unsigned", "DefaultSafety", "=", "1", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "PPC", "::", "G8RC_NOX0RegClassID", ":", "case", "PPC", "::", "GPRC_NOR0RegClassID", ":", "case", "PPC", "::", "G8RCRegClassID", ":", "case", "PPC", "::", "GPRCRegClassID", ":", "{", "unsigned", "FP", "=", "TFI", "->", "hasFP", "(", "MF", ")", "?", "1", ":", "0", ";", "return", "32", "-", "FP", "-", "DefaultSafety", ";", "}", "case", "PPC", "::", "F8RCRegClassID", ":", "case", "PPC", "::", "F4RCRegClassID", ":", "case", "PPC", "::", "QFRCRegClassID", ":", "case", "PPC", "::", "QSRCRegClassID", ":", "case", "PPC", "::", "QBRCRegClassID", ":", "case", "PPC", "::", "VRRCRegClassID", ":", "case", "PPC", "::", "VFRCRegClassID", ":", "case", "PPC", "::", "VSLRCRegClassID", ":", "return", "32", "-", "DefaultSafety", ";", "case", "PPC", "::", "VSRCRegClassID", ":", "case", "PPC", "::", "VSFRCRegClassID", ":", "case", "PPC", "::", "VSSRCRegClassID", ":", "return", "64", "-", "DefaultSafety", ";", "case", "PPC", "::", "CRRCRegClassID", ":", "return", "8", "-", "DefaultSafety", ";", "}", "}", ""], "natrual_language": ["Return", "the", "register", "pressure", "``", "high", "water", "mark", "''", "for", "the", "specific", "register", "class", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "1", "0", "PPC::G8RC_NOX0RegClassID", "PPC::GPRC_NOR0RegClassID", "PPC::G8RCRegClassID", "PPC::GPRCRegClassID", "1", "0", "32", "PPC::F8RCRegClassID", "PPC::F4RCRegClassID", "PPC::QFRCRegClassID", "PPC::QSRCRegClassID", "PPC::QBRCRegClassID", "PPC::VRRCRegClassID", "PPC::VFRCRegClassID", "PPC::VSLRCRegClassID", "32", "PPC::VSRCRegClassID", "PPC::VSFRCRegClassID", "PPC::VSSRCRegClassID", "64", "PPC::CRRCRegClassID", "8"], "File": "PPCRegisterInfo (2)2", "Func": "getRegPressureLimit", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16215, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetLowering", "::", "HandleByVal", "(", "CCState", "*", "State", ",", "unsigned", "&", "Size", ",", "unsigned", "Align", ")", "const", "{", "Align", "=", "std", "::", "max", "(", "Align", ",", "4U", ")", ";", "unsigned", "Reg", "=", "State", "->", "AllocateReg", "(", "GPRArgRegs", ")", ";", "if", "(", "!", "Reg", ")", "return", ";", "unsigned", "AlignInRegs", "=", "Align", "/", "4", ";", "unsigned", "Waste", "=", "(", "ARM", "::", "R4", "-", "Reg", ")", "%", "AlignInRegs", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Waste", ";", "++", "i", ")", "Reg", "=", "State", "->", "AllocateReg", "(", "GPRArgRegs", ")", ";", "if", "(", "!", "Reg", ")", "return", ";", "unsigned", "Excess", "=", "4", "*", "(", "ARM", "::", "R4", "-", "Reg", ")", ";", "const", "unsigned", "NSAAOffset", "=", "State", "->", "getNextStackOffset", "(", ")", ";", "if", "(", "NSAAOffset", "!=", "0", "&&", "Size", ">", "Excess", ")", "{", "while", "(", "State", "->", "AllocateReg", "(", "GPRArgRegs", ")", ")", ";", "return", ";", "}", "unsigned", "ByValRegBegin", "=", "Reg", ";", "unsigned", "ByValRegEnd", "=", "std", "::", "min", "<", "unsigned", ">", "(", "Reg", "+", "Size", "/", "4", ",", "ARM", "::", "R4", ")", ";", "State", "->", "addInRegsParamInfo", "(", "ByValRegBegin", ",", "ByValRegEnd", ")", ";", "for", "(", "unsigned", "i", "=", "Reg", "+", "1", ";", "i", "!=", "ByValRegEnd", ";", "++", "i", ")", "State", "->", "AllocateReg", "(", "GPRArgRegs", ")", ";", "Size", "=", "std", "::", "max", "<", "int", ">", "(", "Size", "-", "Excess", ",", "0", ")", ";", "}", ""], "natrual_language": ["Target-specific", "cleanup", "for", "formal", "ByVal", "parameters", "."], "TS_V_token": ["ARM", "ARM", "4U", "4", "ARM::R4", "0", "4", "ARM::R4", "0", "4", "ARM::R4", "1", "0"], "File": "ARMISelLowering (2)6", "Func": "HandleByVal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16216, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_evpc_neon_vrev", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "int", "i", ",", "j", ",", "diff", ",", "nelt", "=", "d", "->", "nelt", ";", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ")", ";", "if", "(", "!", "d", "->", "one_vector_p", ")", "return", "false", ";", "diff", "=", "d", "->", "perm", "[", "0", "]", ";", "switch", "(", "diff", ")", "{", "case", "7", ":", "switch", "(", "d", "->", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_neon_vrev64v16qi", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_neon_vrev64v8qi", ";", "break", ";", "default", ":", "return", "false", ";", "}", "break", ";", "case", "3", ":", "switch", "(", "d", "->", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_neon_vrev32v16qi", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_neon_vrev32v8qi", ";", "break", ";", "case", "V8HImode", ":", "gen", "=", "gen_neon_vrev64v8hi", ";", "break", ";", "case", "V4HImode", ":", "gen", "=", "gen_neon_vrev64v4hi", ";", "break", ";", "case", "V8HFmode", ":", "gen", "=", "gen_neon_vrev64v8hf", ";", "break", ";", "case", "V4HFmode", ":", "gen", "=", "gen_neon_vrev64v4hf", ";", "break", ";", "default", ":", "return", "false", ";", "}", "break", ";", "case", "1", ":", "switch", "(", "d", "->", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_neon_vrev16v16qi", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_neon_vrev16v8qi", ";", "break", ";", "case", "V8HImode", ":", "gen", "=", "gen_neon_vrev32v8hi", ";", "break", ";", "case", "V4HImode", ":", "gen", "=", "gen_neon_vrev32v4hi", ";", "break", ";", "case", "V4SImode", ":", "gen", "=", "gen_neon_vrev64v4si", ";", "break", ";", "case", "V2SImode", ":", "gen", "=", "gen_neon_vrev64v2si", ";", "break", ";", "case", "V4SFmode", ":", "gen", "=", "gen_neon_vrev64v4sf", ";", "break", ";", "case", "V2SFmode", ":", "gen", "=", "gen_neon_vrev64v2sf", ";", "break", ";", "default", ":", "return", "false", ";", "}", "break", ";", "default", ":", "return", "false", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "i", "+=", "diff", "+", "1", ")", "for", "(", "j", "=", "0", ";", "j", "<=", "diff", ";", "j", "+=", "1", ")", "{", "gcc_assert", "(", "i", "+", "j", "<", "nelt", ")", ";", "if", "(", "d", "->", "perm", "[", "i", "+", "j", "]", "!=", "i", "+", "diff", "-", "j", ")", "return", "false", ";", "}", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "emit_insn", "(", "gen", "(", "d", "->", "target", ",", "d", "->", "op0", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "for", "the", "VREV", "insns", "."], "TS_V_token": ["arm", "0", "7", "3", "1", "0", "1", "0", "1"], "File": "arm6", "Func": "arm_evpc_neon_vrev", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16217, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "AArch64_MachoTargetObjectFile", "::", "getTTypeGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "unsigned", "Encoding", ",", "const", "TargetMachine", "&", "TM", ",", "MachineModuleInfo", "*", "MMI", ",", "MCStreamer", "&", "Streamer", ")", "const", "{", "if", "(", "Encoding", "&", "(", "DW_EH_PE_indirect", "|", "DW_EH_PE_pcrel", ")", ")", "{", "const", "MCSymbol", "*", "Sym", "=", "TM", ".", "getSymbol", "(", "GV", ")", ";", "const", "MCExpr", "*", "Res", "=", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "MCSymbolRefExpr", "::", "VK_GOT", ",", "getContext", "(", ")", ")", ";", "MCSymbol", "*", "PCSym", "=", "getContext", "(", ")", ".", "createTempSymbol", "(", ")", ";", "Streamer", ".", "emitLabel", "(", "PCSym", ")", ";", "const", "MCExpr", "*", "PC", "=", "MCSymbolRefExpr", "::", "create", "(", "PCSym", ",", "getContext", "(", ")", ")", ";", "return", "MCBinaryExpr", "::", "createSub", "(", "Res", ",", "PC", ",", "getContext", "(", ")", ")", ";", "}", "return", "TargetLoweringObjectFileMachO", "::", "getTTypeGlobalReference", "(", "GV", ",", "Encoding", ",", "TM", ",", "MMI", ",", "Streamer", ")", ";", "}", ""], "natrual_language": ["The", "mach-o", "version", "of", "this", "method", "defaults", "to", "returning", "a", "stub", "reference", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64TargetObjectFile10", "Func": "getTTypeGlobalReference", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16218, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "DestSourcePair", ">", "Mips16InstrInfo", "::", "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": ["Mips", "Mips", "0", "1"], "File": "Mips16InstrInfo10", "Func": "isCopyInstrImpl", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16219, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SparcMCCodeEmitter", "::", "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", "MO", ".", "getImm", "(", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "if", "(", "const", "SparcMCExpr", "*", "SExpr", "=", "dyn_cast", "<", "SparcMCExpr", ">", "(", "Expr", ")", ")", "{", "MCFixupKind", "Kind", "=", "(", "MCFixupKind", ")", "SExpr", "->", "getFixupKind", "(", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "Expr", ",", "Kind", ")", ")", ";", "return", "0", ";", "}", "int64_t", "Res", ";", "if", "(", "Expr", "->", "evaluateAsAbsolute", "(", "Res", ")", ")", "return", "Res", ";", "llvm_unreachable", "(", "\"Unhandled expression!\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc", "0", "0", "\"Unhandled expression!\"", "0"], "File": "SparcMCCodeEmitter", "Func": "getMachineOpValue", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16220, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_modes_tieable_p", "(", "machine_mode", "mode1", ",", "machine_mode", "mode2", ")", "{", "if", "(", "mode1", "==", "PTImode", ")", "return", "mode2", "==", "PTImode", ";", "if", "(", "mode2", "==", "PTImode", ")", "return", "false", ";", "if", "(", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "mode1", ")", ")", "return", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "mode2", ")", ";", "if", "(", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "mode2", ")", ")", "return", "false", ";", "if", "(", "SCALAR_FLOAT_MODE_P", "(", "mode1", ")", ")", "return", "SCALAR_FLOAT_MODE_P", "(", "mode2", ")", ";", "if", "(", "SCALAR_FLOAT_MODE_P", "(", "mode2", ")", ")", "return", "false", ";", "if", "(", "GET_MODE_CLASS", "(", "mode1", ")", "==", "MODE_CC", ")", "return", "GET_MODE_CLASS", "(", "mode2", ")", "==", "MODE_CC", ";", "if", "(", "GET_MODE_CLASS", "(", "mode2", ")", "==", "MODE_CC", ")", "return", "false", ";", "if", "(", "PAIRED_VECTOR_MODE", "(", "mode1", ")", ")", "return", "PAIRED_VECTOR_MODE", "(", "mode2", ")", ";", "if", "(", "PAIRED_VECTOR_MODE", "(", "mode2", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MODES_TIEABLE_P", ".", "PTImode", "can", "not", "tie", "with", "other", "modes", "because", "PTImode", "is", "restricted", "to", "even", "GPR", "registers", ",", "and", "TImode", "can", "go", "in", "any", "GPR", "as", "well", "as", "VSX", "registers", "(", "PR", "57744", ")", ".", "Similarly", ",", "do", "n't", "allow", "OOmode", "(", "vector", "pair", ",", "restricted", "to", "even", "VSX", "registers", ")", "or", "XOmode", "(", "vector", "quad", ",", "restricted", "to", "FPR", "registers", "divisible", "by", "4", ")", "to", "tie", "with", "other", "modes", ".", "Altivec/VSX", "vector", "tests", "were", "moved", "ahead", "of", "scalar", "float", "mode", ",", "so", "that", "IEEE", "128-bit", "floating", "point", "on", "VSX", "systems", "ties", "with", "other", "vectors", "."], "TS_V_token": ["rs6000"], "File": "rs60007", "Func": "rs6000_modes_tieable_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16221, "Length": 133, "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": 16222, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MandarinInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "MI", "->", "dump", "(", ")", ";", "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": ["Mandarin", "0"], "File": "MandarinInstrInfo", "Func": "isStoreToStackSlot", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16223, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "LoadInst", "*", "getLoad", "(", ")", "{", "return", "NewLd", ";", "}", ""], "natrual_language": ["Loads", "are", "not", "normal", "binary", "operators", ":", "their", "result", "type", "is", "not", "determined", "by", "their", "operands", ",", "and", "they", "produce", "a", "value", "AND", "a", "token", "chain", "."], "TS_V_token": ["ARM"], "File": "ARMParallelDSP1", "Func": "getLoad", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16224, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "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", "CCRetInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCRetInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_PPC", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "RVLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "EVT", "VT", "=", "VA", ".", "getValVT", "(", ")", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "VT", ",", "InFlag", ")", ".", "getValue", "(", "1", ")", ";", "InVals", ".", "push_back", "(", "Chain", ".", "getValue", "(", "0", ")", ")", ";", "InFlag", "=", "Chain", ".", "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": ["PowerPC", "PPC", "ISD::InputArg", "16", "PPC", "0", "\"Can only return in registers!\"", "1", "0", "2"], "File": "PPCISelLowering113", "Func": "LowerCallResult", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16225, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_gen_unlikely_cbranch", "(", "enum", "rtx_code", "code", ",", "machine_mode", "cc_mode", ",", "rtx", "label_ref", ")", "{", "rtx", "x", ";", "x", "=", "gen_rtx_fmt_ee", "(", "code", ",", "VOIDmode", ",", "gen_rtx_REG", "(", "cc_mode", ",", "CC_REGNUM", ")", ",", "const0_rtx", ")", ";", "x", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "x", ",", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "label_ref", ")", ",", "pc_rtx", ")", ";", "emit_unlikely_jump", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "x", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "RTL", "for", "a", "conditional", "branch", "with", "rtx", "comparison", "CODE", "in", "mode", "CC_MODE", ".", "The", "destination", "of", "the", "unlikely", "conditional", "branch", "is", "LABEL_REF", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_gen_unlikely_cbranch", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16226, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86VectorTargetTransformInfo", "::", "getNumberOfRegisters", "(", "bool", "Vector", ")", "const", "{", "const", "X86Subtarget", "&", "ST", "=", "TLI", "->", "getTargetMachine", "(", ")", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "ST", ".", "is64Bit", "(", ")", ")", "return", "16", ";", "return", "8", ";", "}", ""], "natrual_language": ["\ufffd", "?", "Vector", "TTI", "begin", "\ufffd", "?"], "TS_V_token": ["X86", "X86", "X86", "X86", "16", "8"], "File": "X86ISelLowering98", "Func": "getNumberOfRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16227, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "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": "LeonPasses", "Func": "getPassName", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16228, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "indirectable_address_p", "(", "rtx", "x", ",", "bool", "strict", ",", "bool", "indirect", ")", "{", "if", "(", "indirectable_constant_address_p", "(", "x", ",", "indirect", ")", "||", "BASE_REGISTER_P", "(", "x", ",", "strict", ")", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "PLUS", "||", "!", "BASE_REGISTER_P", "(", "XEXP", "(", "x", ",", "0", ")", ",", "strict", ")", "||", "(", "flag_pic", "&&", "!", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", ")", "return", "false", ";", "return", "indirectable_constant_address_p", "(", "XEXP", "(", "x", ",", "1", ")", ",", "indirect", ")", ";", "}", ""], "natrual_language": ["Nonzero", "if", "X", "is", "an", "address", "which", "can", "be", "indirected", ".", "External", "symbols", "could", "be", "in", "a", "sharable", "image", "library", ",", "so", "we", "disallow", "those", "."], "TS_V_token": ["vax", "0", "1", "1"], "File": "vax", "Func": "indirectable_address_p", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16229, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleDAGInstrs", "*", "createPostMachineScheduler", "(", "MachineSchedContext", "*", "C", ")", "const", "override", "{", "return", "createPPCPostMachineScheduler", "(", "C", ")", ";", "}", ""], "natrual_language": ["Similar", "to", "createMachineScheduler", "but", "used", "when", "postRA", "machine", "scheduling", "is", "enabled", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCTargetMachine1", "Func": "createPostMachineScheduler", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16230, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86RegisterInfo", "::", "hasReservedSpillSlot", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Reg", ",", "int", "&", "FrameIdx", ")", "const", "{", "const", "TargetFrameInfo", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", ";", "if", "(", "Reg", "==", "FramePtr", "&&", "TFI", "->", "hasFP", "(", "MF", ")", ")", "{", "FrameIdx", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectIndexBegin", "(", ")", ";", "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": ["X86", "X86"], "File": "X86RegisterInfo40", "Func": "hasReservedSpillSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16231, "Length": 68, "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": 16232, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "rs6000_data_alignment", "(", "tree", "type", ",", "unsigned", "int", "align", ",", "enum", "data_align", "how", ")", "{", "if", "(", "how", "!=", "align_opt", ")", "{", "if", "(", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", ")", "{", "if", "(", "(", "TARGET_SPE", "&&", "SPE_VECTOR_MODE", "(", "TYPE_MODE", "(", "type", ")", ")", ")", "||", "(", "TARGET_PAIRED_FLOAT", "&&", "PAIRED_VECTOR_MODE", "(", "TYPE_MODE", "(", "type", ")", ")", ")", ")", "{", "if", "(", "align", "<", "64", ")", "align", "=", "64", ";", "}", "else", "if", "(", "align", "<", "128", ")", "align", "=", "128", ";", "}", "else", "if", "(", "TARGET_E500_DOUBLE", "&&", "TREE_CODE", "(", "type", ")", "==", "REAL_TYPE", "&&", "TYPE_MODE", "(", "type", ")", "==", "DFmode", ")", "{", "if", "(", "align", "<", "64", ")", "align", "=", "64", ";", "}", "}", "if", "(", "how", "!=", "align_abi", ")", "{", "if", "(", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", "&&", "TYPE_MODE", "(", "TREE_TYPE", "(", "type", ")", ")", "==", "QImode", ")", "{", "if", "(", "align", "<", "BITS_PER_WORD", ")", "align", "=", "BITS_PER_WORD", ";", "}", "}", "return", "align", ";", "}", ""], "natrual_language": ["Return", "alignment", "of", "TYPE", ".", "Existing", "alignment", "is", "ALIGN", ".", "HOW", "selects", "whether", "the", "alignment", "is", "abi", "mandated", ",", "optional", ",", "or", "both", "abi", "and", "optional", "alignment", "."], "TS_V_token": ["powerpcspe", "64", "64", "128", "128", "64", "64"], "File": "powerpcspe", "Func": "rs6000_data_alignment", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16233, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumberOfRegisters", "(", "bool", "Vector", ")", "const", "override", "{", "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": "AArch64TargetTransformInfo50", "Func": "getNumberOfRegisters", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16234, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMTargetLowering", "::", "ConstraintType", "ARMTargetLowering", "::", "getConstraintType", "(", "StringRef", "Constraint", ")", "const", "{", "unsigned", "S", "=", "Constraint", ".", "size", "(", ")", ";", "if", "(", "S", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'l'", ":", "return", "C_RegisterClass", ";", "case", "'w'", ":", "return", "C_RegisterClass", ";", "case", "'h'", ":", "return", "C_RegisterClass", ";", "case", "'x'", ":", "return", "C_RegisterClass", ";", "case", "'t'", ":", "return", "C_RegisterClass", ";", "case", "'j'", ":", "return", "C_Immediate", ";", "case", "'Q'", ":", "return", "C_Memory", ";", "}", "}", "else", "if", "(", "S", "==", "2", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'T'", ":", "return", "C_RegisterClass", ";", "case", "'U'", ":", "return", "C_Memory", ";", "}", "}", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "."], "TS_V_token": ["ARM", "ARM", "ARM", "1", "0", "2", "0"], "File": "ARMISelLowering (2)5", "Func": "getConstraintType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16235, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64RegisterBankInfo", "::", "copyCost", "(", "const", "RegisterBank", "&", "A", ",", "const", "RegisterBank", "&", "B", ",", "unsigned", "Size", ")", "const", "{", "return", "RegisterBankInfo", "::", "copyCost", "(", "A", ",", "B", ",", "Size", ")", ";", "}", ""], "natrual_language": ["Get", "the", "cost", "of", "a", "copy", "from", "B", "to", "A", ",", "or", "put", "differently", ",", "get", "the", "cost", "of", "A", "=", "COPY", "B", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64RegisterBankInfo3", "Func": "copyCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16236, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZELFFrameLowering", "::", "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": "SystemZFrameLowering10", "Func": "restoreCalleeSavedRegisters", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16237, "Length": 395, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "addPreEmitPass", "(", ")", "{", "bool", "ShouldPrint", "=", "false", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "getX86Subtarget", "(", ")", ".", "hasSSE2", "(", ")", ")", "{", "addPass", "(", "createExecutionDependencyFixPass", "(", "&", "X86", "::", "VR128RegClass", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "if", "(", "UseVZeroUpper", ")", "{", "addPass", "(", "createX86IssueVZeroUpperPass", "(", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createX86PadShortFunctions", "(", ")", ")", ";", "addPass", "(", "createX86FixupLEAs", "(", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "addPass", "(", "createX86ProtectReturnSupport", "(", ")", ")", ";", "addPass", "(", "createX86ProtectSpillSupport", "(", ")", ")", ";", "addPass", "(", "createX86EnqueueExits", "(", ")", ")", ";", "return", "ShouldPrint", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["X86", "X86", "X86", "X86::VR128RegClass", "X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86TargetMachine2", "Func": "addPreEmitPass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16238, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 Load Value Injection (LVI) Load Hardening\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 Load Value Injection (LVI) Load Hardening\""], "File": "X86LoadValueInjectionLoadHardening", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16239, "Length": 11, "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": 16240, "Length": 145, "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": 16241, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getReg", "(", ")", "const", "override", "{", "assert", "(", "(", "Kind", "==", "k_Register", ")", "&&", "\"Invalid access!\"", ")", ";", "return", "Reg", ".", "RegNum", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["MINA32", "\"Invalid access!\""], "File": "MINA32AsmParser", "Func": "getReg", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16242, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_code_label", "*", "add_constant", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "rtx", "last_value", ")", "{", "rtx_code_label", "*", "lab", ",", "*", "new_rtx", ";", "label_ref_list_t", "ref", ",", "newref", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "pool_size", ";", "i", "++", ")", "{", "if", "(", "x", "->", "code", "==", "pool_vector", "[", "i", "]", ".", "value", "->", "code", "&&", "mode", "==", "pool_vector", "[", "i", "]", ".", "mode", ")", "{", "if", "(", "x", "->", "code", "==", "CODE_LABEL", ")", "{", "if", "(", "XINT", "(", "x", ",", "3", ")", "!=", "XINT", "(", "pool_vector", "[", "i", "]", ".", "value", ",", "3", ")", ")", "continue", ";", "}", "if", "(", "rtx_equal_p", "(", "x", ",", "pool_vector", "[", "i", "]", ".", "value", ")", ")", "{", "lab", "=", "new_rtx", "=", "0", ";", "if", "(", "!", "last_value", "||", "!", "i", "||", "!", "rtx_equal_p", "(", "last_value", ",", "pool_vector", "[", "i", "-", "1", "]", ".", "value", ")", ")", "{", "new_rtx", "=", "gen_label_rtx", "(", ")", ";", "LABEL_REFS", "(", "new_rtx", ")", "=", "pool_vector", "[", "i", "]", ".", "label", ";", "pool_vector", "[", "i", "]", ".", "label", "=", "lab", "=", "new_rtx", ";", "}", "if", "(", "lab", "&&", "pool_window_label", ")", "{", "newref", "=", "label_ref_list_d_pool", ".", "allocate", "(", ")", ";", "newref", "->", "label", "=", "pool_window_label", ";", "ref", "=", "pool_vector", "[", "pool_window_last", "]", ".", "wend", ";", "newref", "->", "next", "=", "ref", ";", "pool_vector", "[", "pool_window_last", "]", ".", "wend", "=", "newref", ";", "}", "if", "(", "new_rtx", ")", "pool_window_label", "=", "new_rtx", ";", "pool_window_last", "=", "i", ";", "return", "lab", ";", "}", "}", "}", "pool_vector", "[", "pool_size", "]", ".", "value", "=", "x", ";", "if", "(", "last_value", "&&", "rtx_equal_p", "(", "last_value", ",", "pool_vector", "[", "pool_size", "-", "1", "]", ".", "value", ")", ")", "{", "lab", "=", "0", ";", "pool_vector", "[", "pool_size", "-", "1", "]", ".", "part_of_sequence_p", "=", "true", ";", "}", "else", "lab", "=", "gen_label_rtx", "(", ")", ";", "pool_vector", "[", "pool_size", "]", ".", "mode", "=", "mode", ";", "pool_vector", "[", "pool_size", "]", ".", "label", "=", "lab", ";", "pool_vector", "[", "pool_size", "]", ".", "wend", "=", "NULL", ";", "pool_vector", "[", "pool_size", "]", ".", "part_of_sequence_p", "=", "(", "lab", "==", "0", ")", ";", "if", "(", "lab", "&&", "pool_window_label", ")", "{", "newref", "=", "label_ref_list_d_pool", ".", "allocate", "(", ")", ";", "newref", "->", "label", "=", "pool_window_label", ";", "ref", "=", "pool_vector", "[", "pool_window_last", "]", ".", "wend", ";", "newref", "->", "next", "=", "ref", ";", "pool_vector", "[", "pool_window_last", "]", ".", "wend", "=", "newref", ";", "}", "if", "(", "lab", ")", "pool_window_label", "=", "lab", ";", "pool_window_last", "=", "pool_size", ";", "pool_size", "++", ";", "return", "lab", ";", "}", ""], "natrual_language": ["Add", "a", "constant", "to", "the", "pool", "and", "return", "its", "label", "."], "TS_V_token": ["sh", "0", "3", "3", "0", "1", "1", "0", "1", "0"], "File": "sh", "Func": "add_constant", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16243, "Length": 395, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FixupBWInstPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "!", "FixupBWInsts", ")", "return", "false", ";", "this", "->", "MF", "=", "&", "MF", ";", "TII", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "OptForSize", "=", "MF", ".", "getFunction", "(", ")", "->", "optForSize", "(", ")", ";", "MLI", "=", "&", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Start X86FixupBWInsts\\n\"", ";", ")", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "processBasicBlock", "(", "MF", ",", "MBB", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"End X86FixupBWInsts\\n\"", ";", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "\"Start X86FixupBWInsts\\n\"", "\"End X86FixupBWInsts\\n\""], "File": "X86FixupBWInsts3", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16244, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "*", "ARMBaseInstrInfo", "::", "CreateTargetHazardRecognizer", "(", "const", "TargetMachine", "*", "TM", ",", "const", "ScheduleDAG", "*", "DAG", ")", "const", "{", "if", "(", "usePreRAHazardRecognizer", "(", ")", ")", "{", "const", "InstrItineraryData", "*", "II", "=", "TM", "->", "getInstrItineraryData", "(", ")", ";", "return", "new", "ScoreboardHazardRecognizer", "(", "II", ",", "DAG", ",", "\"pre-RA-sched\"", ")", ";", "}", "return", "TargetInstrInfoImpl", "::", "CreateTargetHazardRecognizer", "(", "TM", ",", "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": ["ARM", "ARM", "\"pre-RA-sched\""], "File": "ARMBaseInstrInfo (2)4", "Func": "CreateTargetHazardRecognizer", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16245, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsInstrInfo", "::", "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", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "GetMemOperand", "(", "MBB", ",", "FI", ",", "MachineMemOperand", "::", "MOLoad", ")", ";", "unsigned", "Opc", "=", "0", ";", "if", "(", "RC", "==", "Mips", "::", "CPURegsRegisterClass", ")", "Opc", "=", "IsN64", "?", "Mips", "::", "LW_P8", ":", "Mips", "::", "LW", ";", "else", "if", "(", "RC", "==", "Mips", "::", "CPU64RegsRegisterClass", ")", "Opc", "=", "IsN64", "?", "Mips", "::", "LD_P8", ":", "Mips", "::", "LD", ";", "else", "if", "(", "RC", "==", "Mips", "::", "FGR32RegisterClass", ")", "Opc", "=", "IsN64", "?", "Mips", "::", "LWC1_P8", ":", "Mips", "::", "LWC1", ";", "else", "if", "(", "RC", "==", "Mips", "::", "AFGR64RegisterClass", ")", "Opc", "=", "Mips", "::", "LDC1", ";", "else", "if", "(", "RC", "==", "Mips", "::", "FGR64RegisterClass", ")", "Opc", "=", "IsN64", "?", "Mips", "::", "LDC164_P8", ":", "Mips", "::", "LDC164", ";", "assert", "(", "Opc", "&&", "\"Register class not handled!\"", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ",", "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": ["Mips", "Mips", "0", "Mips::CPURegsRegisterClass", "Mips::LW_P8", "Mips::LW", "Mips::CPU64RegsRegisterClass", "Mips::LD_P8", "Mips::LD", "Mips::FGR32RegisterClass", "Mips::LWC1_P8", "Mips::LWC1", "Mips::AFGR64RegisterClass", "Mips::LDC1", "Mips::FGR64RegisterClass", "Mips::LDC164_P8", "Mips::LDC164", "\"Register class not handled!\"", "0"], "File": "MipsInstrInfo41", "Func": "loadRegFromStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16246, "Length": 210, "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": 16247, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "loongarch_fp_div_cost", "(", "machine_mode", "mode", ")", "{", "return", "mode", "==", "DFmode", "?", "loongarch_cost", "->", "fp_div_df", ":", "loongarch_cost", "->", "fp_div_sf", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "floating-point", "divisions", "of", "mode", "MODE", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_fp_div_cost", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16248, "Length": 22, "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": 16249, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_cannot_force_const_mem", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "HIGH", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "PLUS", "&&", "SYMBOL_REF_P", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ")", "&&", "SYMBOL_REF_TLS_MODEL", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ")", "!=", "0", ")", "return", "true", ";", "return", "TARGET_ELF", "&&", "tls_referenced_p", "(", "x", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CANNOT_FORCE_CONST_MEM", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "0", "0"], "File": "rs60001", "Func": "rs6000_cannot_force_const_mem", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16250, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "opt_scalar_float_mode", "arm_floatn_mode", "(", "int", "n", ",", "bool", "extended", ")", "{", "if", "(", "!", "extended", "&&", "n", "==", "16", ")", "{", "if", "(", "arm_fp16_format", "==", "ARM_FP16_FORMAT_IEEE", ")", "return", "HFmode", ";", "return", "opt_scalar_float_mode", "(", ")", ";", "}", "return", "default_floatn_mode", "(", "n", ",", "extended", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FLOATN_MODE", ".", "Make", "very", "sure", "that", "we", "do", "n't", "provide", "_Float16", "if", "we", "are", "using", "anything", "other", "than", "ieee", "format", "for", "16-bit", "floating", "point", ".", "Otherwise", ",", "punt", "to", "the", "default", "implementation", "."], "TS_V_token": ["arm", "16"], "File": "arm", "Func": "arm_floatn_mode", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16251, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "Cpu0TargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected instr type to insert\"", ")", ";", "case", "Cpu0", "::", "ATOMIC_LOAD_ADD_I8", ":", "return", "emitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "1", ",", "Cpu0", "::", "ADDu", ")", ";", "case", "Cpu0", "::", "ATOMIC_LOAD_ADD_I16", ":", "return", "emitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "2", ",", "Cpu0", "::", "ADDu", ")", ";", "case", "Cpu0", "::", "ATOMIC_LOAD_ADD_I32", ":", "return", "emitAtomicBinary", "(", "MI", ",", "BB", ",", "4", ",", "Cpu0", "::", "ADDu", ")", ";", "case", "Cpu0", "::", "ATOMIC_LOAD_AND_I8", ":", "return", "emitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "1", ",", "Cpu0", "::", "AND", ")", ";", "case", "Cpu0", "::", "ATOMIC_LOAD_AND_I16", ":", "return", "emitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "2", ",", "Cpu0", "::", "AND", ")", ";", "case", "Cpu0", "::", "ATOMIC_LOAD_AND_I32", ":", "return", "emitAtomicBinary", "(", "MI", ",", "BB", ",", "4", ",", "Cpu0", "::", "AND", ")", ";", "case", "Cpu0", "::", "ATOMIC_LOAD_OR_I8", ":", "return", "emitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "1", ",", "Cpu0", "::", "OR", ")", ";", "case", "Cpu0", "::", "ATOMIC_LOAD_OR_I16", ":", "return", "emitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "2", ",", "Cpu0", "::", "OR", ")", ";", "case", "Cpu0", "::", "ATOMIC_LOAD_OR_I32", ":", "return", "emitAtomicBinary", "(", "MI", ",", "BB", ",", "4", ",", "Cpu0", "::", "OR", ")", ";", "case", "Cpu0", "::", "ATOMIC_LOAD_XOR_I8", ":", "return", "emitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "1", ",", "Cpu0", "::", "XOR", ")", ";", "case", "Cpu0", "::", "ATOMIC_LOAD_XOR_I16", ":", "return", "emitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "2", ",", "Cpu0", "::", "XOR", ")", ";", "case", "Cpu0", "::", "ATOMIC_LOAD_XOR_I32", ":", "return", "emitAtomicBinary", "(", "MI", ",", "BB", ",", "4", ",", "Cpu0", "::", "XOR", ")", ";", "case", "Cpu0", "::", "ATOMIC_LOAD_NAND_I8", ":", "return", "emitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "1", ",", "0", ",", "true", ")", ";", "case", "Cpu0", "::", "ATOMIC_LOAD_NAND_I16", ":", "return", "emitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "2", ",", "0", ",", "true", ")", ";", "case", "Cpu0", "::", "ATOMIC_LOAD_NAND_I32", ":", "return", "emitAtomicBinary", "(", "MI", ",", "BB", ",", "4", ",", "0", ",", "true", ")", ";", "case", "Cpu0", "::", "ATOMIC_LOAD_SUB_I8", ":", "return", "emitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "1", ",", "Cpu0", "::", "SUBu", ")", ";", "case", "Cpu0", "::", "ATOMIC_LOAD_SUB_I16", ":", "return", "emitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "2", ",", "Cpu0", "::", "SUBu", ")", ";", "case", "Cpu0", "::", "ATOMIC_LOAD_SUB_I32", ":", "return", "emitAtomicBinary", "(", "MI", ",", "BB", ",", "4", ",", "Cpu0", "::", "SUBu", ")", ";", "case", "Cpu0", "::", "ATOMIC_SWAP_I8", ":", "return", "emitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "1", ",", "0", ")", ";", "case", "Cpu0", "::", "ATOMIC_SWAP_I16", ":", "return", "emitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "2", ",", "0", ")", ";", "case", "Cpu0", "::", "ATOMIC_SWAP_I32", ":", "return", "emitAtomicBinary", "(", "MI", ",", "BB", ",", "4", ",", "0", ")", ";", "case", "Cpu0", "::", "ATOMIC_CMP_SWAP_I8", ":", "return", "emitAtomicCmpSwapPartword", "(", "MI", ",", "BB", ",", "1", ")", ";", "case", "Cpu0", "::", "ATOMIC_CMP_SWAP_I16", ":", "return", "emitAtomicCmpSwapPartword", "(", "MI", ",", "BB", ",", "2", ")", ";", "case", "Cpu0", "::", "ATOMIC_CMP_SWAP_I32", ":", "return", "emitAtomicCmpSwap", "(", "MI", ",", "BB", ",", "4", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["Cpu0", "Cpu0", "\"Unexpected instr type to insert\"", "Cpu0::ATOMIC_LOAD_ADD_I8", "1", "Cpu0::ADDu", "Cpu0::ATOMIC_LOAD_ADD_I16", "2", "Cpu0::ADDu", "Cpu0::ATOMIC_LOAD_ADD_I32", "4", "Cpu0::ADDu", "Cpu0::ATOMIC_LOAD_AND_I8", "1", "Cpu0::AND", "Cpu0::ATOMIC_LOAD_AND_I16", "2", "Cpu0::AND", "Cpu0::ATOMIC_LOAD_AND_I32", "4", "Cpu0::AND", "Cpu0::ATOMIC_LOAD_OR_I8", "1", "Cpu0::OR", "Cpu0::ATOMIC_LOAD_OR_I16", "2", "Cpu0::OR", "Cpu0::ATOMIC_LOAD_OR_I32", "4", "Cpu0::OR", "Cpu0::ATOMIC_LOAD_XOR_I8", "1", "Cpu0::XOR", "Cpu0::ATOMIC_LOAD_XOR_I16", "2", "Cpu0::XOR", "Cpu0::ATOMIC_LOAD_XOR_I32", "4", "Cpu0::XOR", "Cpu0::ATOMIC_LOAD_NAND_I8", "1", "0", "Cpu0::ATOMIC_LOAD_NAND_I16", "2", "0", "Cpu0::ATOMIC_LOAD_NAND_I32", "4", "0", "Cpu0::ATOMIC_LOAD_SUB_I8", "1", "Cpu0::SUBu", "Cpu0::ATOMIC_LOAD_SUB_I16", "2", "Cpu0::SUBu", "Cpu0::ATOMIC_LOAD_SUB_I32", "4", "Cpu0::SUBu", "Cpu0::ATOMIC_SWAP_I8", "1", "0", "Cpu0::ATOMIC_SWAP_I16", "2", "0", "Cpu0::ATOMIC_SWAP_I32", "4", "0", "Cpu0::ATOMIC_CMP_SWAP_I8", "1", "Cpu0::ATOMIC_CMP_SWAP_I16", "2", "Cpu0::ATOMIC_CMP_SWAP_I32", "4"], "File": "Cpu0ISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16252, "Length": 472, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "AArch64TTIImpl", "::", "getMinMaxReductionCost", "(", "VectorType", "*", "Ty", ",", "VectorType", "*", "CondTy", ",", "bool", "IsPairwise", ",", "bool", "IsUnsigned", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "if", "(", "!", "isa", "<", "ScalableVectorType", ">", "(", "Ty", ")", ")", "return", "BaseT", "::", "getMinMaxReductionCost", "(", "Ty", ",", "CondTy", ",", "IsPairwise", ",", "IsUnsigned", ",", "CostKind", ")", ";", "assert", "(", "(", "isa", "<", "ScalableVectorType", ">", "(", "Ty", ")", "&&", "isa", "<", "ScalableVectorType", ">", "(", "CondTy", ")", ")", "&&", "\"Both vector needs to be scalable\"", ")", ";", "std", "::", "pair", "<", "int", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "Ty", ")", ";", "int", "LegalizationCost", "=", "0", ";", "if", "(", "LT", ".", "first", ">", "1", ")", "{", "Type", "*", "LegalVTy", "=", "EVT", "(", "LT", ".", "second", ")", ".", "getTypeForEVT", "(", "Ty", "->", "getContext", "(", ")", ")", ";", "unsigned", "CmpOpcode", "=", "Ty", "->", "isFPOrFPVectorTy", "(", ")", "?", "Instruction", "::", "FCmp", ":", "Instruction", "::", "ICmp", ";", "LegalizationCost", "=", "getCmpSelInstrCost", "(", "CmpOpcode", ",", "LegalVTy", ",", "LegalVTy", ",", "CmpInst", "::", "BAD_ICMP_PREDICATE", ",", "CostKind", ")", "+", "getCmpSelInstrCost", "(", "Instruction", "::", "Select", ",", "LegalVTy", ",", "LegalVTy", ",", "CmpInst", "::", "BAD_ICMP_PREDICATE", ",", "CostKind", ")", ";", "LegalizationCost", "*=", "LT", ".", "first", "-", "1", ";", "}", "return", "LegalizationCost", "+", "2", ";", "}", ""], "natrual_language": ["Try", "to", "calculate", "op", "costs", "for", "min/max", "reduction", "operations", "."], "TS_V_token": ["AArch64", "AArch64", "\"Both vector needs to be scalable\"", "0", "1", "1", "2"], "File": "AArch64TargetTransformInfo36", "Func": "getMinMaxReductionCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16253, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "GlobalBaseReg", "=", "0", ";", "PPCSubTarget", "=", "&", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "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", "PPC", "PPC"], "File": "PPCISelDAGToDAG10", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16254, "Length": 56, "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_OBF_MASK", "(", "0", ")", "CASE_OBF_MASK", "(", "1", ")", "CASE_OBF_MASK", "(", "2", ")", "CASE_OBF_MASK", "(", "3", ")", "CASE_OBF_MASK", "(", "4", ")", "CASE_OBF_MASK", "(", "5", ")", "CASE_OBF_MASK", "(", "6", ")", "CASE_OBF_MASK", "(", "7", ")", "CASE_OBF_MASK", "(", "8", ")", "CASE_OBF_MASK", "(", "9", ")", "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", "::", "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", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "X86", "X86", "X86"], "File": "X86RegisterInfo102", "Func": "getCallPreservedMask", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16255, "Length": 448, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "PPCInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCTargetMachine11", "Func": "getInstrInfo", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16256, "Length": 14, "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_PAIRED_FLOAT", ")", "?", "RS6000_BTM_PAIRED", ":", "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", ")", "?", "RS6000_BTM_LDBL128", ":", "0", ")", "|", "(", "(", "TARGET_FLOAT128_TYPE", ")", "?", "RS6000_BTM_FLOAT128", ":", "0", ")", "|", "(", "(", "TARGET_FLOAT128_HW", ")", "?", "RS6000_BTM_FLOAT128_HW", ":", "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"], "File": "rs60007", "Func": "rs6000_builtin_mask_calculate", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16257, "Length": 242, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "if", "(", "!", "isExpandISELEnabled", "(", "MF", ")", ")", "return", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Function: \"", ";", "MF", ".", "dump", "(", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "initialize", "(", "MF", ")", ";", "if", "(", "!", "collectISELInstructions", "(", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"No ISEL instructions in this function\\n\"", ")", ";", "return", "false", ";", "}", "DumpISELInstructions", "(", ")", ";", "expandAndMergeISELs", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC", "\"Function: \"", "\"\\n\"", "\"No ISEL instructions in this function\\n\""], "File": "PPCExpandISEL12", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16258, "Length": 79, "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", ".", "hasStandardEncoding", "(", ")", ")", "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"], "File": "MipsRegisterInfo (2)1", "Func": "canRealignStack", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16259, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "shouldProduceAndByConstByHoistingConstFromShiftsLHSOfAnd", "(", "SDValue", "X", ",", "ConstantSDNode", "*", "XC", ",", "ConstantSDNode", "*", "CC", ",", "SDValue", "Y", ",", "unsigned", "OldShiftOpcode", ",", "unsigned", "NewShiftOpcode", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "!", "TargetLowering", "::", "shouldProduceAndByConstByHoistingConstFromShiftsLHSOfAnd", "(", "X", ",", "XC", ",", "CC", ",", "Y", ",", "OldShiftOpcode", ",", "NewShiftOpcode", ",", "DAG", ")", ")", "return", "false", ";", "return", "X", ".", "getValueType", "(", ")", ".", "isScalarInteger", "(", ")", "||", "NewShiftOpcode", "==", "ISD", "::", "SHL", ";", "}", ""], "natrual_language": ["Given", "the", "pattern", "(", "X", "&", "(", "C", "l", ">", ">", "/", "<", "<", "Y", ")", ")", "==/", "!", "=", "0", "return", "true", "if", "it", "should", "be", "transformed", "into", ":", "(", "(", "X", "<", "<", "/l", ">", ">", "Y", ")", "&", "C", ")", "==/", "!", "=", "0", "WARNING", ":", "if", "'", "X", "'", "is", "a", "constant", ",", "the", "fold", "may", "deadlock", "!", "FIXME", ":", "we", "could", "avoid", "passing", "XC", ",", "but", "we", "ca", "n't", "use", "isConstOrConstSplat", "(", ")", "here", "because", "it", "can", "end", "up", "being", "not", "linked", "in", "."], "TS_V_token": ["AArch64", "AArch64", "ISD::SHL"], "File": "AArch64ISelLowering (2)2", "Func": "shouldProduceAndByConstByHoistingConstFromShiftsLHSOfAnd", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16260, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "VETargetLowering", "::", "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_VE", ")", ";", "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!\"", ")", ";", "SDValue", "OutVal", "=", "OutVals", "[", "i", "]", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "case", "CCValAssign", "::", "Full", ":", "break", ";", "case", "CCValAssign", "::", "SExt", ":", "OutVal", "=", "DAG", ".", "getNode", "(", "ISD", "::", "SIGN_EXTEND", ",", "DL", ",", "VA", ".", "getLocVT", "(", ")", ",", "OutVal", ")", ";", "break", ";", "case", "CCValAssign", "::", "ZExt", ":", "OutVal", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ZERO_EXTEND", ",", "DL", ",", "VA", ".", "getLocVT", "(", ")", ",", "OutVal", ")", ";", "break", ";", "case", "CCValAssign", "::", "AExt", ":", "OutVal", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ANY_EXTEND", ",", "DL", ",", "VA", ".", "getLocVT", "(", ")", ",", "OutVal", ")", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Unknown loc info!\"", ")", ";", "}", "assert", "(", "!", "VA", ".", "needsCustom", "(", ")", "&&", "\"Unexpected custom lowering\"", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVal", ",", "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", "(", "VEISD", "::", "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": ["VE", "VE", "ISD::OutputArg", "16", "VE", "4", "1", "0", "\"Can only return in registers!\"", "ISD::SIGN_EXTEND", "ISD::ZERO_EXTEND", "ISD::ANY_EXTEND", "\"Unknown loc info!\"", "\"Unexpected custom lowering\"", "1", "0", "VEISD::RET_FLAG", "MVT::Other"], "File": "VEISelLowering", "Func": "LowerReturn", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16261, "Length": 362, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MVEGatherScatterLowering", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "!", "EnableMaskedGatherScatters", ")", "return", "false", ";", "auto", "&", "TPC", "=", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ";", "auto", "&", "TM", "=", "TPC", ".", "getTM", "<", "TargetMachine", ">", "(", ")", ";", "auto", "*", "ST", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", "F", ")", ";", "if", "(", "!", "ST", "->", "hasMVEIntegerOps", "(", ")", ")", "return", "false", ";", "LI", "=", "&", "getAnalysis", "<", "LoopInfoWrapperPass", ">", "(", ")", ".", "getLoopInfo", "(", ")", ";", "SmallVector", "<", "IntrinsicInst", "*", ",", "4", ">", "Gathers", ";", "SmallVector", "<", "IntrinsicInst", "*", ",", "4", ">", "Scatters", ";", "bool", "Changed", "=", "false", ";", "for", "(", "BasicBlock", "&", "BB", ":", "F", ")", "{", "Changed", "|=", "SimplifyInstructionsInBlock", "(", "&", "BB", ")", ";", "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", ")", ";", "Changed", "|=", "optimiseAddress", "(", "II", "->", "getArgOperand", "(", "0", ")", ",", "II", "->", "getParent", "(", ")", ",", "LI", ")", ";", "}", "else", "if", "(", "II", "&&", "II", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "masked_scatter", "&&", "isa", "<", "FixedVectorType", ">", "(", "II", "->", "getArgOperand", "(", "0", ")", "->", "getType", "(", ")", ")", ")", "{", "Scatters", ".", "push_back", "(", "II", ")", ";", "Changed", "|=", "optimiseAddress", "(", "II", "->", "getArgOperand", "(", "1", ")", ",", "II", "->", "getParent", "(", ")", ",", "LI", ")", ";", "}", "}", "}", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Gathers", ".", "size", "(", ")", ";", "i", "++", ")", "{", "IntrinsicInst", "*", "I", "=", "Gathers", "[", "i", "]", ";", "Instruction", "*", "L", "=", "lowerGather", "(", "I", ")", ";", "if", "(", "L", "==", "nullptr", ")", "continue", ";", "SimplifyInstructionsInBlock", "(", "L", "->", "getParent", "(", ")", ")", ";", "Changed", "=", "true", ";", "}", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Scatters", ".", "size", "(", ")", ";", "i", "++", ")", "{", "IntrinsicInst", "*", "I", "=", "Scatters", "[", "i", "]", ";", "Instruction", "*", "S", "=", "lowerScatter", "(", "I", ")", ";", "if", "(", "S", "==", "nullptr", ")", "continue", ";", "SimplifyInstructionsInBlock", "(", "S", "->", "getParent", "(", ")", ")", ";", "Changed", "=", "true", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["ARM", "ARM", "4", "4", "Intrinsic::masked_gather", "0", "Intrinsic::masked_scatter", "0", "1", "0", "0"], "File": "MVEGatherScatterLowering10", "Func": "runOnFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16262, "Length": 385, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "memory_scalar_type", "(", "const", "function_instance", "&", "fi", ")", "const", "override", "{", "return", "fi", ".", "scalar_type", "(", "0", ")", ";", "}", ""], "natrual_language": ["If", "the", "function", "addresses", "memory", ",", "return", "the", "type", "of", "a", "single", "scalar", "memory", "element", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64-sve-builtins-base3", "Func": "memory_scalar_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16263, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "VariantKind", "getKind", "(", ")", "const", "{", "return", "Kind", ";", "}", ""], "natrual_language": ["Returns", "the", "Kind", "of", "lane", "offset", "."], "TS_V_token": ["CSKY"], "File": "CSKYMCExpr", "Func": "getKind", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16264, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_expand_vi_loongson_one_pinsrh", "(", "rtx", "target", ",", "rtx", "vals", ",", "unsigned", "one_var", ")", "{", "mips_expand_vi_constant", "(", "V4HImode", ",", "4", ",", "target", ",", "vals", ")", ";", "emit_insn", "(", "gen_vec_setv4hi", "(", "target", ",", "target", ",", "XVECEXP", "(", "vals", ",", "0", ",", "one_var", ")", ",", "GEN_INT", "(", "one_var", ")", ")", ")", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "mips_expand_vec_init", ",", "expand", "via", "pinsrh", "."], "TS_V_token": ["mips", "4", "0"], "File": "mips", "Func": "mips_expand_vi_loongson_one_pinsrh", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16265, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_init_builtin_rsqrt", "(", "void", ")", "{", "tree", "fndecl", "=", "NULL", ";", "tree", "ftype", "=", "NULL", ";", "tree", "V2SF_type_node", "=", "build_vector_type", "(", "float_type_node", ",", "2", ")", ";", "tree", "V2DF_type_node", "=", "build_vector_type", "(", "double_type_node", ",", "2", ")", ";", "tree", "V4SF_type_node", "=", "build_vector_type", "(", "float_type_node", ",", "4", ")", ";", "struct", "builtin_decls_data", "{", "tree", "type_node", ";", "const", "char", "*", "builtin_name", ";", "int", "function_code", ";", "}", ";", "builtin_decls_data", "bdda", "[", "]", "=", "{", "{", "double_type_node", ",", "\"__builtin_aarch64_rsqrt_df\"", ",", "AARCH64_BUILTIN_RSQRT_DF", "}", ",", "{", "float_type_node", ",", "\"__builtin_aarch64_rsqrt_sf\"", ",", "AARCH64_BUILTIN_RSQRT_SF", "}", ",", "{", "V2DF_type_node", ",", "\"__builtin_aarch64_rsqrt_v2df\"", ",", "AARCH64_BUILTIN_RSQRT_V2DF", "}", ",", "{", "V2SF_type_node", ",", "\"__builtin_aarch64_rsqrt_v2sf\"", ",", "AARCH64_BUILTIN_RSQRT_V2SF", "}", ",", "{", "V4SF_type_node", ",", "\"__builtin_aarch64_rsqrt_v4sf\"", ",", "AARCH64_BUILTIN_RSQRT_V4SF", "}", "}", ";", "builtin_decls_data", "*", "bdd", "=", "bdda", ";", "builtin_decls_data", "*", "bdd_end", "=", "bdd", "+", "(", "sizeof", "(", "bdda", ")", "/", "sizeof", "(", "builtin_decls_data", ")", ")", ";", "for", "(", ";", "bdd", "<", "bdd_end", ";", "bdd", "++", ")", "{", "ftype", "=", "build_function_type_list", "(", "bdd", "->", "type_node", ",", "bdd", "->", "type_node", ",", "NULL_TREE", ")", ";", "fndecl", "=", "add_builtin_function", "(", "bdd", "->", "builtin_name", ",", "ftype", ",", "bdd", "->", "function_code", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "aarch64_builtin_decls", "[", "bdd", "->", "function_code", "]", "=", "fndecl", ";", "}", "}", ""], "natrual_language": ["Add", "builtins", "for", "reciprocal", "square", "root", "."], "TS_V_token": ["aarch64", "2", "2", "4", "\"__builtin_aarch64_rsqrt_df\"", "\"__builtin_aarch64_rsqrt_sf\"", "\"__builtin_aarch64_rsqrt_v2df\"", "\"__builtin_aarch64_rsqrt_v2sf\"", "\"__builtin_aarch64_rsqrt_v4sf\""], "File": "aarch64-builtins3", "Func": "aarch64_init_builtin_rsqrt", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16266, "Length": 191, "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", "::", "TRAMPOLINE", ":", "return", "LowerTRAMPOLINE", "(", "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", "::", "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": "PPCISelLowering54", "Func": "LowerOperation", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16267, "Length": 381, "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", ";", "AArch64MCExpr", "::", "VariantKind", "RefKind", "=", "static_cast", "<", "AArch64MCExpr", "::", "VariantKind", ">", "(", "Target", ".", "getRefKind", "(", ")", ")", ";", "AArch64MCExpr", "::", "VariantKind", "SymLoc", "=", "AArch64MCExpr", "::", "getSymbolLoc", "(", "RefKind", ")", ";", "if", "(", "(", "uint32_t", ")", "Fixup", ".", "getKind", "(", ")", "==", "AArch64", "::", "fixup_aarch64_ldr_pcrel_imm19", "&&", "SymLoc", "==", "AArch64MCExpr", "::", "VK_GOT", ")", "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", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64::fixup_aarch64_ldr_pcrel_imm19", "AArch64"], "File": "AArch64AsmBackend1", "Func": "shouldForceRelocation", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16268, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "size_type", "empty", "(", ")", "const", "{", "return", "V", ".", "none", "(", ")", ";", "}", ""], "natrual_language": ["Determine", "whether", "this", "version", "information", "is", "empty", "(", "e.g.", ",", "all", "version", "components", "are", "zero", ")", "."], "TS_V_token": ["X86"], "File": "ImmutableGraph", "Func": "empty", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16269, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "X86RegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "switch", "(", "Kind", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected Kind in getPointerRegClass!\"", ")", ";", "case", "0", ":", "if", "(", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ")", "return", "&", "X86", "::", "GR64RegClass", ";", "return", "&", "X86", "::", "GR32RegClass", ";", "case", "1", ":", "if", "(", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ")", "return", "&", "X86", "::", "GR64_NOSPRegClass", ";", "return", "&", "X86", "::", "GR32_NOSPRegClass", ";", "case", "2", ":", "if", "(", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "isTargetWin64", "(", ")", ")", "return", "&", "X86", "::", "GR64_TCW64RegClass", ";", "if", "(", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ")", "return", "&", "X86", "::", "GR64_TCRegClass", ";", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "bool", "hasHipeCC", "=", "(", "F", "?", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "HiPE", ":", "false", ")", ";", "if", "(", "hasHipeCC", ")", "return", "&", "X86", "::", "GR32RegClass", ";", "return", "&", "X86", "::", "GR32_TCRegClass", ";", "}", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["X86", "X86", "\"Unexpected Kind in getPointerRegClass!\"", "0", "X86", "X86::GR64RegClass", "X86::GR32RegClass", "1", "X86", "X86::GR64_NOSPRegClass", "X86::GR32_NOSPRegClass", "2", "X86", "X86::GR64_TCW64RegClass", "X86", "X86::GR64_TCRegClass", "X86::GR32RegClass", "X86::GR32_TCRegClass"], "File": "X86RegisterInfo43", "Func": "getPointerRegClass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16270, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_option_override_internal", "(", "struct", "gcc_options", "*", "opts", ",", "struct", "gcc_options", "*", "opts_set", ")", "{", "arm_override_options_after_change_1", "(", "opts", ")", ";", "if", "(", "TARGET_INTERWORK", "&&", "!", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_thumb", ")", ")", "{", "opts", "->", "x_target_flags", "&=", "~", "MASK_INTERWORK", ";", "}", "if", "(", "TARGET_THUMB_P", "(", "opts", "->", "x_target_flags", ")", "&&", "!", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_thumb", ")", ")", "{", "warning", "(", "0", ",", "\"target CPU does not support THUMB instructions\"", ")", ";", "opts", "->", "x_target_flags", "&=", "~", "MASK_THUMB", ";", "}", "if", "(", "TARGET_APCS_FRAME", "&&", "TARGET_THUMB_P", "(", "opts", "->", "x_target_flags", ")", ")", "{", "opts", "->", "x_target_flags", "&=", "~", "MASK_APCS_FRAME", ";", "}", "if", "(", "TARGET_THUMB_P", "(", "opts", "->", "x_target_flags", ")", "&&", "TARGET_CALLEE_INTERWORKING", ")", "opts", "->", "x_target_flags", "|=", "MASK_INTERWORK", ";", "cl_optimization", "*", "to", "=", "TREE_OPTIMIZATION", "(", "init_optimize", ")", ";", "if", "(", "!", "opts_set", "->", "x_arm_restrict_it", ")", "opts", "->", "x_arm_restrict_it", "=", "arm_arch8", ";", "if", "(", "!", "TARGET_THUMB2_P", "(", "opts", "->", "x_target_flags", ")", "||", "!", "arm_arch_notm", ")", "opts", "->", "x_arm_restrict_it", "=", "0", ";", "if", "(", "!", "opts_set", "->", "x_unaligned_access", ")", "{", "opts", "->", "x_unaligned_access", "=", "(", "TARGET_32BIT_P", "(", "opts", "->", "x_target_flags", ")", "&&", "arm_arch6", "&&", "(", "arm_arch_notm", "||", "arm_arch7", ")", ")", ";", "}", "else", "if", "(", "opts", "->", "x_unaligned_access", "==", "1", "&&", "!", "(", "arm_arch6", "&&", "(", "arm_arch_notm", "||", "arm_arch7", ")", ")", ")", "{", "warning", "(", "0", ",", "\"target CPU does not support unaligned accesses\"", ")", ";", "opts", "->", "x_unaligned_access", "=", "0", ";", "}", "if", "(", "TARGET_THUMB1_P", "(", "opts", "->", "x_target_flags", ")", ")", "opts", "->", "x_flag_schedule_insns", "=", "0", ";", "else", "opts", "->", "x_flag_schedule_insns", "=", "to", "->", "x_flag_schedule_insns", ";", "if", "(", "optimize_function_for_size_p", "(", "cfun", ")", "&&", "TARGET_THUMB2_P", "(", "opts", "->", "x_target_flags", ")", ")", "opts", "->", "x_flag_shrink_wrap", "=", "false", ";", "else", "opts", "->", "x_flag_shrink_wrap", "=", "to", "->", "x_flag_shrink_wrap", ";", "if", "(", "TARGET_THUMB1_P", "(", "opts", "->", "x_target_flags", ")", ")", "opts", "->", "x_flag_ipa_ra", "=", "0", ";", "else", "opts", "->", "x_flag_ipa_ra", "=", "to", "->", "x_flag_ipa_ra", ";", "opts", "->", "x_inline_asm_unified", "=", "TARGET_THUMB2_P", "(", "opts", "->", "x_target_flags", ")", ";", "SUBTARGET_OVERRIDE_INTERNAL_OPTIONS", ";", "}", ""], "natrual_language": ["Reset", "options", "between", "modes", "that", "the", "user", "has", "specified", "."], "TS_V_token": ["arm", "0", "\"target CPU does not support THUMB instructions\"", "0", "1", "0", "\"target CPU does not support unaligned accesses\"", "0", "0", "0"], "File": "arm6", "Func": "arm_option_override_internal", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16271, "Length": 312, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "get_next_active_insn", "(", "rtx", "insn", ",", "rtx", "tail", ")", "{", "if", "(", "insn", "==", "NULL_RTX", "||", "insn", "==", "tail", ")", "return", "NULL_RTX", ";", "while", "(", "1", ")", "{", "insn", "=", "NEXT_INSN", "(", "insn", ")", ";", "if", "(", "insn", "==", "NULL_RTX", "||", "insn", "==", "tail", ")", "return", "NULL_RTX", ";", "if", "(", "CALL_P", "(", "insn", ")", "||", "JUMP_P", "(", "insn", ")", "||", "(", "NONJUMP_INSN_P", "(", "insn", ")", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "USE", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "CLOBBER", "&&", "INSN_CODE", "(", "insn", ")", "!=", "CODE_FOR_stack_tie", ")", ")", "break", ";", "}", "return", "insn", ";", "}", ""], "natrual_language": ["Return", "the", "next", "insn", "after", "INSN", "that", "is", "found", "before", "TAIL", "is", "reached", ",", "skipping", "any", "``", "non-active", "''", "insns", "-", "insns", "that", "will", "not", "actually", "occupy", "an", "issue", "slot", ".", "Return", "NULL_RTX", "if", "such", "an", "insn", "is", "not", "found", "."], "TS_V_token": ["rs6000", "1"], "File": "rs60003", "Func": "get_next_active_insn", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16272, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "is_interrupt_func", "(", "const_tree", "decl", ")", "{", "return", "has_func_attr", "(", "decl", ",", "\"interrupt\"", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "provided", "function", "has", "the", "``", "interrupt", "''", "attribute", "."], "TS_V_token": ["rx", "\"interrupt\""], "File": "rx", "Func": "is_interrupt_func", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16273, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86FrameLowering", "::", "getWinEHFuncletFrameSize", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "unsigned", "CSSize", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "getCalleeSavedFrameSize", "(", ")", ";", "unsigned", "UsedSize", ";", "EHPersonality", "Personality", "=", "classifyEHPersonality", "(", "MF", ".", "getFunction", "(", ")", ".", "getPersonalityFn", "(", ")", ")", ";", "if", "(", "Personality", "==", "EHPersonality", "::", "CoreCLR", ")", "{", "UsedSize", "=", "getPSPSlotOffsetFromSP", "(", "MF", ")", "+", "SlotSize", ";", "}", "else", "{", "UsedSize", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getMaxCallFrameSize", "(", ")", ";", "}", "unsigned", "FrameSizeMinusRBP", "=", "alignTo", "(", "CSSize", "+", "UsedSize", ",", "getStackAlignment", "(", ")", ")", ";", "return", "FrameSizeMinusRBP", "-", "CSSize", ";", "}", ""], "natrual_language": ["Funclets", "only", "need", "to", "account", "for", "space", "for", "the", "callee", "saved", "registers", ",", "as", "the", "locals", "are", "accounted", "for", "in", "the", "parent", "'s", "stack", "frame", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86FrameLowering (2)2", "Func": "getWinEHFuncletFrameSize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16274, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "legitimate_constant_address_p", "(", "rtx", "x", ")", "{", "return", "(", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", "||", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "x", ")", "==", "CONST_INT", "||", "GET_CODE", "(", "x", ")", "==", "CONST", "||", "GET_CODE", "(", "x", ")", "==", "HIGH", ")", ";", "}", ""], "natrual_language": ["1", "if", "X", "is", "an", "rtx", "for", "a", "constant", "that", "is", "a", "valid", "address", "."], "TS_V_token": ["vax"], "File": "vax3", "Func": "legitimate_constant_address_p", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16275, "Length": 46, "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": 16276, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_macc_chains_reorder", "(", "rtx", "*", "ready", ",", "int", "nready", ")", "{", "int", "i", ",", "j", ";", "if", "(", "mips_macc_chains_last_hilo", "!=", "0", ")", "for", "(", "i", "=", "nready", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "if", "(", "mips_linked_madd_p", "(", "mips_macc_chains_last_hilo", ",", "ready", "[", "i", "]", ")", ")", "{", "for", "(", "j", "=", "nready", "-", "1", ";", "j", ">", "i", ";", "j", "--", ")", "if", "(", "recog_memoized", "(", "ready", "[", "j", "]", ")", ">=", "0", "&&", "get_attr_may_clobber_hilo", "(", "ready", "[", "j", "]", ")", ")", "{", "mips_promote_ready", "(", "ready", ",", "i", ",", "j", ")", ";", "break", ";", "}", "break", ";", "}", "}", ""], "natrual_language": ["A", "TUNE_MACC_CHAINS", "helper", "function", ".", "Search", "ready", "queue", "READY", ",", "which", "has", "NREADY", "elements", ",", "looking", "for", "a", "multiply-add", "or", "multiply-subtract", "instruction", "that", "is", "cumulative", "with", "mips_macc_chains_last_hilo", ".", "If", "there", "is", "one", ",", "promote", "it", "ahead", "of", "anything", "else", "that", "might", "clobber", "hi", "or", "lo", "."], "TS_V_token": ["mips", "0", "1", "0", "1", "0"], "File": "mips3", "Func": "mips_macc_chains_reorder", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16277, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "loongarch_frame_pointer_required", "(", "void", ")", "{", "if", "(", "cfun", "->", "calls_alloca", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FRAME_POINTER_REQUIRED", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_frame_pointer_required", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16278, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMConstantIslands", "::", "getOffsetOf", "(", "MachineInstr", "*", "MI", ")", "const", "{", "MachineBasicBlock", "*", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "unsigned", "Offset", "=", "BBInfo", "[", "MBB", "->", "getNumber", "(", ")", "]", ".", "Offset", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", "->", "begin", "(", ")", ";", "&", "*", "I", "!=", "MI", ";", "++", "I", ")", "{", "assert", "(", "I", "!=", "MBB", "->", "end", "(", ")", "&&", "\"Didn't find MI in its own basic block?\"", ")", ";", "Offset", "+=", "TII", "->", "GetInstSizeInBytes", "(", "*", "I", ")", ";", "}", "return", "Offset", ";", "}", ""], "natrual_language": ["getOffsetOf", "-", "Return", "the", "current", "offset", "of", "the", "specified", "machine", "instruction", "from", "the", "start", "of", "the", "function", "."], "TS_V_token": ["ARM", "ARM", "\"Didn't find MI in its own basic block?\""], "File": "ARMConstantIslandPass44", "Func": "getOffsetOf", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16279, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_stack_address_p", "(", "rtx", "x", ",", "machine_mode", "mode", ")", "{", "struct", "mips_address_info", "addr", ";", "return", "(", "mips_classify_address", "(", "&", "addr", ",", "x", ",", "mode", ",", "false", ")", "&&", "addr", ".", "type", "==", "ADDRESS_REG", "&&", "addr", ".", "reg", "==", "stack_pointer_rtx", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "legitimate", "$", "sp-based", "address", "for", "mode", "MDOE", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_stack_address_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16280, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isFNegFree", "(", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "break", ";", "case", "MVT", "::", "f16", ":", "return", "Subtarget", "->", "hasFullFP16", "(", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "an", "fneg", "operation", "is", "free", "to", "the", "point", "where", "it", "is", "never", "worthwhile", "to", "replace", "it", "with", "a", "bitwise", "operation", "."], "TS_V_token": ["ARM", "ARM", "MVT::f16"], "File": "ARMISelLowering (2)5", "Func": "isFNegFree", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16281, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "adjust_splat", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "rtx", "unspec", "=", "XEXP", "(", "body", ",", "1", ")", ";", "int", "half_elts", "=", "GET_MODE_NUNITS", "(", "GET_MODE", "(", "unspec", ")", ")", ">>", "1", ";", "int", "lane", "=", "INTVAL", "(", "XVECEXP", "(", "unspec", ",", "0", ",", "1", ")", ")", ";", "lane", "=", "lane", ">=", "half_elts", "?", "lane", "-", "half_elts", ":", "lane", "+", "half_elts", ";", "XVECEXP", "(", "unspec", ",", "0", ",", "1", ")", "=", "GEN_INT", "(", "lane", ")", ";", "INSN_CODE", "(", "insn", ")", "=", "-", "1", ";", "df_insn_rescan", "(", "insn", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Changing lane for splat %d\\n\"", ",", "INSN_UID", "(", "insn", ")", ")", ";", "}", ""], "natrual_language": ["Given", "OP", "that", "contains", "a", "vector", "direct-splat", "operation", ",", "adjust", "the", "index", "of", "the", "source", "lane", "to", "account", "for", "the", "doubleword", "swap", "."], "TS_V_token": ["rs6000", "1", "1", "0", "1", "0", "1", "1", "\"Changing lane for splat %d\\n\""], "File": "rs6000-p8swap", "Func": "adjust_splat", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16282, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "X86RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "X86Subtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "bool", "HasAVX", "=", "Subtarget", ".", "hasAVX", "(", ")", ";", "bool", "HasAVX512", "=", "Subtarget", ".", "hasAVX512", "(", ")", ";", "bool", "CallsEHReturn", "=", "MF", "->", "getMMI", "(", ")", ".", "callsEHReturn", "(", ")", ";", "assert", "(", "MF", "&&", "\"MachineFunction required\"", ")", ";", "switch", "(", "MF", "->", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", ")", "{", "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", "::", "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", "::", "Cold", ":", "if", "(", "Is64Bit", ")", "return", "CSR_64_MostRegs_SaveList", ";", "break", ";", "case", "CallingConv", "::", "X86_64_Win64", ":", "return", "CSR_Win64_SaveList", ";", "case", "CallingConv", "::", "X86_64_SysV", ":", "if", "(", "CallsEHReturn", ")", "return", "CSR_64EHRet_SaveList", ";", "return", "CSR_64_SaveList", ";", "default", ":", "break", ";", "}", "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", "\"MachineFunction required\"", "X86", "X86"], "File": "X86RegisterInfo", "Func": "getCalleeSavedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16283, "Length": 272, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "return", "createLEGELFObjectWriter", "(", "OS", ",", "OSABI", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["LEG", "LEG"], "File": "LEGAsmBackend2", "Func": "createObjectWriter", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16284, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "OperandMatchResultTy", "LoongArchAsmParser", "::", "tryParseRegister", "(", "unsigned", "&", "RegNo", ",", "SMLoc", "&", "StartLoc", ",", "SMLoc", "&", "EndLoc", ")", "{", "llvm_unreachable", "(", "\"Unimplemented function.\"", ")", ";", "}", ""], "natrual_language": ["tryParseRegister", "-", "parse", "one", "register", "if", "possible"], "TS_V_token": ["LoongArch", "LoongArch", "\"Unimplemented function.\""], "File": "LoongArchAsmParser", "Func": "tryParseRegister", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16285, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"SIC Del Useless jump\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["SIC", "\"SIC Del Useless jump\""], "File": "SICDelUselessJMP", "Func": "getPassName", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16286, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Align", "getABIAlignmentForCallingConv", "(", "Type", "*", "ArgTy", ",", "DataLayout", "DL", ")", "const", "override", "{", "const", "Align", "ABIAlign", "(", "DL", ".", "getABITypeAlignment", "(", "ArgTy", ")", ")", ";", "if", "(", "ArgTy", "->", "isVectorTy", "(", ")", ")", "return", "std", "::", "min", "(", "ABIAlign", ",", "Align", "(", "8", ")", ")", ";", "return", "ABIAlign", ";", "}", ""], "natrual_language": ["Return", "the", "correct", "alignment", "for", "the", "current", "calling", "convention", "."], "TS_V_token": ["Mips", "8"], "File": "MipsISelLowering100", "Func": "getABIAlignmentForCallingConv", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16287, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "F2003fInstrInfo", "::", "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", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIdx", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FrameIdx", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FrameIdx", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "F2003f", "::", "KRZrm", ")", ")", ".", "addReg", "(", "DestReg", ",", "getDefRegState", "(", "true", ")", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "0", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["F2003f", "F2003f", "F2003f::KRZrm", "0", "0"], "File": "F2003fInstrInfo", "Func": "loadRegFromStackSlot", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16288, "Length": 157, "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": 16289, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "parse_codes", "parse_ovld_entry", "(", "void", ")", "{", "pos", "=", "0", ";", "consume_whitespace", "(", ")", ";", "if", "(", "linebuf", "[", "pos", "]", "==", "'['", ")", "return", "PC_EOSTANZA", ";", "if", "(", "num_ovlds", ">=", "MAXOVLDS", "-", "1", ")", "{", "diag", "(", "pos", ",", "\"too many overloads.\\n\"", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "curr_ovld", "=", "num_ovlds", "++", ";", "ovlds", "[", "curr_ovld", "]", ".", "stanza", "=", "curr_ovld_stanza", ";", "if", "(", "parse_prototype", "(", "&", "ovlds", "[", "curr_ovld", "]", ".", "proto", ")", "==", "PC_PARSEFAIL", ")", "return", "PC_PARSEFAIL", ";", "if", "(", "ovlds", "[", "curr_ovld", "]", ".", "proto", ".", "nargs", ">", "max_ovld_args", ")", "max_ovld_args", "=", "ovlds", "[", "curr_ovld", "]", ".", "proto", ".", "nargs", ";", "ovlds", "[", "curr_ovld", "]", ".", "fndecl", "=", "construct_fntype_id", "(", "&", "ovlds", "[", "curr_ovld", "]", ".", "proto", ")", ";", "if", "(", "!", "advance_line", "(", "ovld_file", ")", ")", "{", "diag", "(", "0", ",", "\"unexpected EOF.\\n\"", ")", ";", "return", "PC_EOFILE", ";", "}", "pos", "=", "0", ";", "consume_whitespace", "(", ")", ";", "int", "oldpos", "=", "pos", ";", "char", "*", "id", "=", "match_identifier", "(", ")", ";", "ovlds", "[", "curr_ovld", "]", ".", "bif_id_name", "=", "id", ";", "ovlds", "[", "curr_ovld", "]", ".", "ovld_id_name", "=", "id", ";", "if", "(", "!", "id", ")", "{", "diag", "(", "pos", ",", "\"missing overload id.\\n\"", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "diag", "(", "pos", ",", "\"ID name is '%s'.\\n\"", ",", "id", ")", ";", "if", "(", "!", "rbt_find", "(", "&", "bif_rbt", ",", "id", ")", ")", "{", "diag", "(", "pos", ",", "\"builtin ID '%s' not found in bif file.\\n\"", ",", "id", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "consume_whitespace", "(", ")", ";", "if", "(", "linebuf", "[", "pos", "]", "!=", "'\\n'", ")", "{", "id", "=", "match_identifier", "(", ")", ";", "ovlds", "[", "curr_ovld", "]", ".", "ovld_id_name", "=", "id", ";", "consume_whitespace", "(", ")", ";", "}", "if", "(", "!", "rbt_insert", "(", "&", "ovld_rbt", ",", "id", ")", ")", "{", "diag", "(", "oldpos", ",", "\"duplicate overload ID '%s'.\\n\"", ",", "id", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "if", "(", "linebuf", "[", "pos", "]", "!=", "'\\n'", ")", "{", "diag", "(", "pos", ",", "\"garbage at end of line.\\n\"", ")", ";", "return", "PC_PARSEFAIL", ";", "}", "return", "PC_OK", ";", "}", ""], "natrual_language": ["Parse", "one", "two-line", "entry", "in", "the", "overload", "file", "."], "TS_V_token": ["rs6000", "0", "1", "\"too many overloads.\\n\"", "0", "\"unexpected EOF.\\n\"", "0", "\"missing overload id.\\n\"", "\"ID name is '%s'.\\n\"", "\"builtin ID '%s' not found in bif file.\\n\"", "\"duplicate overload ID '%s'.\\n\"", "\"garbage at end of line.\\n\""], "File": "rs6000-gen-builtins", "Func": "parse_ovld_entry", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16290, "Length": 315, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBankInfo", "*", "getRegBankInfo", "(", ")", "const", "override", "{", "return", "nullptr", ";", "}", ""], "natrual_language": ["If", "the", "information", "for", "the", "register", "banks", "is", "available", ",", "return", "it", "."], "TS_V_token": ["X86"], "File": "X86TargetMachine45", "Func": "getRegBankInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16291, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_can_change_mode_class", "(", "machine_mode", "from", ",", "machine_mode", "to", ",", "reg_class_t", "rclass", ")", "{", "unsigned", "from_size", "=", "GET_MODE_SIZE", "(", "from", ")", ";", "unsigned", "to_size", "=", "GET_MODE_SIZE", "(", "to", ")", ";", "if", "(", "from_size", "!=", "to_size", ")", "{", "enum", "reg_class", "xclass", "=", "(", "TARGET_VSX", ")", "?", "VSX_REGS", ":", "FLOAT_REGS", ";", "if", "(", "reg_classes_intersect_p", "(", "xclass", ",", "rclass", ")", ")", "{", "unsigned", "to_nregs", "=", "hard_regno_nregs", "(", "FIRST_FPR_REGNO", ",", "to", ")", ";", "unsigned", "from_nregs", "=", "hard_regno_nregs", "(", "FIRST_FPR_REGNO", ",", "from", ")", ";", "bool", "to_float128_vector_p", "=", "FLOAT128_VECTOR_P", "(", "to", ")", ";", "bool", "from_float128_vector_p", "=", "FLOAT128_VECTOR_P", "(", "from", ")", ";", "if", "(", "to_float128_vector_p", "&&", "from_float128_vector_p", ")", "return", "true", ";", "else", "if", "(", "to_float128_vector_p", "||", "from_float128_vector_p", ")", "return", "false", ";", "if", "(", "!", "BYTES_BIG_ENDIAN", "&&", "(", "to", "==", "TDmode", "||", "from", "==", "TDmode", ")", ")", "return", "false", ";", "if", "(", "(", "to", "==", "DDmode", "&&", "from", "==", "SDmode", ")", "||", "(", "to", "==", "SDmode", "&&", "from", "==", "DDmode", ")", ")", "return", "true", ";", "if", "(", "from_size", "<", "8", "||", "to_size", "<", "8", ")", "return", "false", ";", "if", "(", "from_size", "==", "8", "&&", "(", "8", "*", "to_nregs", ")", "!=", "to_size", ")", "return", "false", ";", "if", "(", "to_size", "==", "8", "&&", "(", "8", "*", "from_nregs", ")", "!=", "from_size", ")", "return", "false", ";", "return", "true", ";", "}", "else", "return", "true", ";", "}", "if", "(", "TARGET_VSX", "&&", "VSX_REG_CLASS_P", "(", "rclass", ")", ")", "{", "unsigned", "num_regs", "=", "(", "from_size", "+", "15", ")", "/", "16", ";", "if", "(", "hard_regno_nregs", "(", "FIRST_FPR_REGNO", ",", "to", ")", ">", "num_regs", "||", "hard_regno_nregs", "(", "FIRST_FPR_REGNO", ",", "from", ")", ">", "num_regs", ")", "return", "false", ";", "return", "(", "from_size", "==", "8", "||", "from_size", "==", "16", ")", ";", "}", "if", "(", "TARGET_ALTIVEC", "&&", "rclass", "==", "ALTIVEC_REGS", "&&", "(", "ALTIVEC_VECTOR_MODE", "(", "from", ")", "+", "ALTIVEC_VECTOR_MODE", "(", "to", ")", ")", "==", "1", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CAN_CHANGE_MODE_CLASS", "."], "TS_V_token": ["rs6000", "8", "8", "8", "8", "8", "8", "15", "16", "8", "16", "1"], "File": "rs6000", "Func": "rs6000_can_change_mode_class", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16292, "Length": 298, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "AArch64RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "assert", "(", "MF", "&&", "\"Invalid MachineFunction pointer.\"", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "CFGuard_Check", ")", "return", "CSR_Win_AArch64_CFGuard_Check_SaveList", ";", "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", "AArch64"], "File": "AArch64RegisterInfo13", "Func": "getCalleeSavedRegs", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16293, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SHUXIInstrInfo", "::", "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", "(", "SHUXI", "::", "PUSH", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["SHUXI", "SHUXI", "SHUXI::PUSH"], "File": "SHUXIInstrInfo", "Func": "storeRegToStackSlot", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16294, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "LC2200Subtarget", "*", "getSubtargetImpl", "(", "const", "Function", "&", ")", "const", "override", "{", "return", "&", "DefaultSubtarget", ";", "}", ""], "natrual_language": ["Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "."], "TS_V_token": ["LC2200", "LC2200"], "File": "LC2200TargetMachine", "Func": "getSubtargetImpl", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16295, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_have_conditional_execution", "(", "void", ")", "{", "bool", "has_cond_exec", ",", "enable_ifcvt_trans", ";", "has_cond_exec", "=", "!", "TARGET_THUMB1", ";", "enable_ifcvt_trans", "=", "TARGET_COND_ARITH", "&&", "!", "reload_completed", ";", "return", "has_cond_exec", "&&", "!", "enable_ifcvt_trans", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_HAVE_CONDITIONAL_EXECUTION", "hook", ".", "All", "modes", "except", "THUMB1", "have", "conditional", "execution", ".", "If", "we", "have", "conditional", "arithmetic", ",", "return", "false", "before", "reload", "to", "enable", "some", "ifcvt", "transformations", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_have_conditional_execution", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16296, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "built_in_function", "complex_divide_builtin_code", "(", "machine_mode", "mode", ")", "{", "gcc_assert", "(", "IN_RANGE", "(", "mode", ",", "MIN_MODE_COMPLEX_FLOAT", ",", "MAX_MODE_COMPLEX_FLOAT", ")", ")", ";", "int", "func", "=", "BUILT_IN_COMPLEX_DIV_MIN", "+", "mode", "-", "MIN_MODE_COMPLEX_FLOAT", ";", "return", "(", "built_in_function", ")", "func", ";", "}", ""], "natrual_language": ["Internal", "function", "to", "return", "the", "built-in", "function", "id", "for", "the", "complex", "divide", "operation", "for", "a", "given", "mode", "."], "TS_V_token": ["rs6000"], "File": "rs60001", "Func": "complex_divide_builtin_code", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16297, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_set_handled_components", "(", "sbitmap", "components", ")", "{", "rs6000_stack_t", "*", "info", "=", "rs6000_stack_info", "(", ")", ";", "for", "(", "int", "i", "=", "info", "->", "first_gp_reg_save", ";", "i", "<", "32", ";", "i", "++", ")", "if", "(", "bitmap_bit_p", "(", "components", ",", "i", ")", ")", "cfun", "->", "machine", "->", "gpr_is_wrapped_separately", "[", "i", "]", "=", "true", ";", "for", "(", "int", "i", "=", "info", "->", "first_fp_reg_save", ";", "i", "<", "64", ";", "i", "++", ")", "if", "(", "bitmap_bit_p", "(", "components", ",", "i", ")", ")", "cfun", "->", "machine", "->", "fpr_is_wrapped_separately", "[", "i", "-", "32", "]", "=", "true", ";", "if", "(", "bitmap_bit_p", "(", "components", ",", "0", ")", ")", "cfun", "->", "machine", "->", "lr_is_wrapped_separately", "=", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SHRINK_WRAP_SET_HANDLED_COMPONENTS", "."], "TS_V_token": ["powerpcspe", "32", "64", "32", "0"], "File": "powerpcspe", "Func": "rs6000_set_handled_components", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16298, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_asm_trampoline_template", "(", "FILE", "*", "f", ")", "{", "if", "(", "TARGET_ARM", ")", "{", "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", ")", "{", "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", "\"\\tldr\\t%r, [%r, #0]\\n\"", "\"\\tldr\\t%r, [%r, #0]\\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": "arm4", "Func": "arm_asm_trampoline_template", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16299, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_use_by_pieces_infrastructure_p", "(", "unsigned", "HOST_WIDE_INT", "size", ",", "unsigned", "int", "align", ",", "enum", "by_pieces_operation", "op", ",", "bool", "speed_p", ")", "{", "switch", "(", "op", ")", "{", "case", "MOVE_BY_PIECES", ":", "return", "move_by_pieces_ninsns", "(", "size", ",", "align", ",", "MOVE_MAX_PIECES", "+", "1", ")", "<", "(", "!", "speed_p", "?", "2", ":", "(", "align", ">=", "32", ")", "?", "16", ":", "2", ")", ";", "case", "STORE_BY_PIECES", ":", "case", "SET_BY_PIECES", ":", "return", "move_by_pieces_ninsns", "(", "size", ",", "align", ",", "STORE_MAX_PIECES", "+", "1", ")", "<", "(", "!", "speed_p", "?", "2", ":", "(", "align", ">=", "32", ")", "?", "16", ":", "2", ")", ";", "default", ":", "return", "default_use_by_pieces_infrastructure_p", "(", "size", ",", "align", ",", "op", ",", "speed_p", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_USE_BY_PIECES_INFRASTRUCTURE_P", "."], "TS_V_token": ["sh", "1", "2", "32", "16", "2", "1", "2", "32", "16", "2"], "File": "sh4", "Func": "sh_use_by_pieces_infrastructure_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16300, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_end_basic_block", "(", "enum", "dispatch_group", "group", ")", "{", "return", "group", "==", "disp_branch", ";", "}", ""], "natrual_language": ["This", "function", "returns", "true", "if", "a", "branch", "is", "detected", ".", "End", "of", "a", "basic", "block", "does", "not", "have", "to", "be", "a", "branch", ",", "but", "here", "we", "assume", "only", "branches", "end", "a", "window", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "is_end_basic_block", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16301, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "if", "(", "Count", "%", "4", "!=", "0", ")", "return", "false", ";", "uint64_t", "NumNops", "=", "Count", "/", "4", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "!=", "NumNops", ";", "++", "i", ")", "OW", "->", "Write32", "(", "0x60000000", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["PowerPC", "4", "0", "4", "0", "0x60000000"], "File": "PPCAsmBackend12", "Func": "writeNopData", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16302, "Length": 55, "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", "(", "\"can not 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", ")", "&&", "(", "!", "TARGET_HAVE_MOVT", "||", "arm_arch_notm", "||", "flag_pic", "||", "TARGET_NEON", ")", ")", "{", "const", "char", "*", "flag", "=", "(", "target_pure_code", "?", "\"-mpure-code\"", ":", "\"-mslow-flash-data\"", ")", ";", "error", "(", "\"%s only supports non-pic code on M-profile targets with the \"", "\"MOVT instruction\"", ",", "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\"", "\"can not 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\""], "File": "arm7", "Func": "arm_option_check_internal", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16303, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "MipsFrameLowering", "::", "estimateStackSize", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterInfo", "&", "TRI", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "int64_t", "Offset", "=", "0", ";", "for", "(", "int", "I", "=", "MFI", "->", "getObjectIndexBegin", "(", ")", ";", "I", "!=", "0", ";", "++", "I", ")", "Offset", "=", "std", "::", "max", "(", "Offset", ",", "-", "MFI", "->", "getObjectOffset", "(", "I", ")", ")", ";", "for", "(", "const", "uint16_t", "*", "R", "=", "TRI", ".", "getCalleeSavedRegs", "(", "&", "MF", ")", ";", "*", "R", ";", "++", "R", ")", "{", "unsigned", "Size", "=", "TRI", ".", "getMinimalPhysRegClass", "(", "*", "R", ")", "->", "getSize", "(", ")", ";", "Offset", "=", "RoundUpToAlignment", "(", "Offset", "+", "Size", ",", "Size", ")", ";", "}", "unsigned", "MaxAlign", "=", "MFI", "->", "getMaxAlignment", "(", ")", ";", "assert", "(", "!", "MFI", "->", "getObjectIndexEnd", "(", ")", "||", "MaxAlign", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "MFI", "->", "getObjectIndexEnd", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Offset", "=", "RoundUpToAlignment", "(", "Offset", "+", "MFI", "->", "getObjectSize", "(", "I", ")", ",", "MaxAlign", ")", ";", "if", "(", "MFI", "->", "adjustsStack", "(", ")", "&&", "hasReservedCallFrame", "(", "MF", ")", ")", "Offset", "=", "RoundUpToAlignment", "(", "Offset", "+", "MFI", "->", "getMaxCallFrameSize", "(", ")", ",", "std", "::", "max", "(", "MaxAlign", ",", "getStackAlignment", "(", ")", ")", ")", ";", "return", "RoundUpToAlignment", "(", "Offset", ",", "getStackAlignment", "(", ")", ")", ";", "}", ""], "natrual_language": ["Estimate", "and", "return", "the", "size", "of", "the", "stack", "frame", "."], "TS_V_token": ["Mips", "Mips", "0", "0", "0"], "File": "MipsFrameLowering23", "Func": "estimateStackSize", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16304, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ia64_adjust_cost_2", "(", "rtx_insn", "*", "insn", ",", "int", "dep_type1", ",", "rtx_insn", "*", "dep_insn", ",", "int", "cost", ",", "dw_t", "dw", ")", "{", "enum", "reg_note", "dep_type", "=", "(", "enum", "reg_note", ")", "dep_type1", ";", "enum", "attr_itanium_class", "dep_class", ";", "enum", "attr_itanium_class", "insn_class", ";", "insn_class", "=", "ia64_safe_itanium_class", "(", "insn", ")", ";", "dep_class", "=", "ia64_safe_itanium_class", "(", "dep_insn", ")", ";", "if", "(", "dep_type", "==", "REG_DEP_TRUE", "&&", "(", "dep_class", "==", "ITANIUM_CLASS_ST", "||", "dep_class", "==", "ITANIUM_CLASS_STF", ")", "&&", "(", "insn_class", "==", "ITANIUM_CLASS_BR", "||", "insn_class", "==", "ITANIUM_CLASS_SCALL", ")", ")", "return", "0", ";", "if", "(", "dw", "==", "MIN_DEP_WEAK", ")", "return", "PARAM_VALUE", "(", "PARAM_SCHED_MEM_TRUE_DEP_COST", ")", ";", "else", "if", "(", "dw", ">", "MIN_DEP_WEAK", ")", "{", "if", "(", "mflag_sched_fp_mem_deps_zero_cost", "&&", "dep_class", "==", "ITANIUM_CLASS_STF", ")", "return", "0", ";", "else", "return", "cost", ";", "}", "if", "(", "dep_type", "!=", "REG_DEP_OUTPUT", ")", "return", "cost", ";", "if", "(", "dep_class", "==", "ITANIUM_CLASS_ST", "||", "dep_class", "==", "ITANIUM_CLASS_STF", "||", "insn_class", "==", "ITANIUM_CLASS_ST", "||", "insn_class", "==", "ITANIUM_CLASS_STF", ")", "return", "0", ";", "return", "cost", ";", "}", ""], "natrual_language": ["Adjust", "the", "cost", "of", "a", "scheduling", "dependency", ".", "Return", "the", "new", "cost", "of", "a", "dependency", "of", "type", "DEP_TYPE", "or", "INSN", "on", "DEP_INSN", ".", "COST", "is", "the", "current", "cost", ",", "DW", "is", "dependency", "weakness", "."], "TS_V_token": ["ia64", "0", "0", "0"], "File": "ia644", "Func": "ia64_adjust_cost_2", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16305, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_vec_cost", "(", "machine_mode", "mode", ",", "int", "cost", ")", "{", "if", "(", "!", "VECTOR_MODE_P", "(", "mode", ")", ")", "return", "cost", ";", "if", "(", "GET_MODE_BITSIZE", "(", "mode", ")", "==", "128", "&&", "TARGET_SSE_SPLIT_REGS", ")", "return", "cost", "*", "GET_MODE_BITSIZE", "(", "mode", ")", "/", "64", ";", "else", "if", "(", "GET_MODE_BITSIZE", "(", "mode", ")", ">", "128", "&&", "TARGET_AVX256_SPLIT_REGS", ")", "return", "cost", "*", "GET_MODE_BITSIZE", "(", "mode", ")", "/", "128", ";", "else", "if", "(", "GET_MODE_BITSIZE", "(", "mode", ")", ">", "256", "&&", "TARGET_AVX512_SPLIT_REGS", ")", "return", "cost", "*", "GET_MODE_BITSIZE", "(", "mode", ")", "/", "256", ";", "return", "cost", ";", "}", ""], "natrual_language": ["Return", "cost", "of", "vector", "operation", "in", "MODE", "given", "that", "scalar", "version", "has", "COST", ".", "If", "PARALLEL", "is", "true", "assume", "that", "CPU", "has", "more", "than", "one", "unit", "performing", "the", "operation", "."], "TS_V_token": ["i386", "128", "64", "128", "128", "256", "256"], "File": "i3861", "Func": "ix86_vec_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16306, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "MipsRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "static", "const", "unsigned", "ReservedCPURegs", "[", "]", "=", "{", "Mips", "::", "ZERO", ",", "Mips", "::", "AT", ",", "Mips", "::", "K0", ",", "Mips", "::", "K1", ",", "Mips", "::", "GP", ",", "Mips", "::", "SP", ",", "Mips", "::", "FP", ",", "Mips", "::", "RA", "}", ";", "static", "const", "unsigned", "ReservedCPU64Regs", "[", "]", "=", "{", "Mips", "::", "ZERO_64", ",", "Mips", "::", "AT_64", ",", "Mips", "::", "K0_64", ",", "Mips", "::", "K1_64", ",", "Mips", "::", "GP_64", ",", "Mips", "::", "SP_64", ",", "Mips", "::", "FP_64", ",", "Mips", "::", "RA_64", "}", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "typedef", "TargetRegisterClass", "::", "iterator", "RegIter", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "ReservedCPURegs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedCPURegs", "[", "I", "]", ")", ";", "if", "(", "Subtarget", ".", "hasMips64", "(", ")", ")", "{", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "ReservedCPU64Regs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedCPU64Regs", "[", "I", "]", ")", ";", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "AFGR64RegisterClass", "->", "begin", "(", ")", ";", "Reg", "!=", "Mips", "::", "AFGR64RegisterClass", "->", "end", "(", ")", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "}", "else", "{", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "CPU64RegsRegisterClass", "->", "begin", "(", ")", ";", "Reg", "!=", "Mips", "::", "CPU64RegsRegisterClass", "->", "end", "(", ")", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "FGR64RegisterClass", "->", "begin", "(", ")", ";", "Reg", "!=", "Mips", "::", "FGR64RegisterClass", "->", "end", "(", ")", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "}", "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::AT", "Mips::K0", "Mips::K1", "Mips::GP", "Mips::SP", "Mips::FP", "Mips::RA", "Mips::ZERO_64", "Mips::AT_64", "Mips::K0_64", "Mips::K1_64", "Mips::GP_64", "Mips::SP_64", "Mips::FP_64", "Mips::RA_64", "0", "Mips", "0", "Mips::AFGR64RegisterClass", "Mips::AFGR64RegisterClass", "Mips::CPU64RegsRegisterClass", "Mips::CPU64RegsRegisterClass", "Mips::FGR64RegisterClass", "Mips::FGR64RegisterClass"], "File": "MipsRegisterInfo40", "Func": "getReservedRegs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16307, "Length": 281, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "DCPU16RegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "return", "&", "DCPU16", "::", "GR16RegClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["Dcpu16", "DCPU16", "DCPU16::GR16RegClass"], "File": "Dcpu16RegisterInfo", "Func": "getPointerRegClass", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16308, "Length": 24, "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": 16309, "Length": 298, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CAHPAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "OS", ")", "{", "if", "(", "!", "ExtraCode", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", ")", "return", "true", ";", "OS", "<<", "\"0(\"", "<<", "CAHPInstPrinter", "::", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", "<<", "\")\"", ";", "return", "false", ";", "}", "return", "AsmPrinter", "::", "PrintAsmMemoryOperand", "(", "MI", ",", "OpNo", ",", "ExtraCode", ",", "OS", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "."], "TS_V_token": ["CAHP", "CAHP", "\"0(\"", "CAHP", "\")\""], "File": "CAHPAsmPrinter", "Func": "PrintAsmMemoryOperand", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16310, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "initialize_aarch64_code_model", "(", "void", ")", "{", "if", "(", "flag_pic", ")", "{", "switch", "(", "aarch64_cmodel_var", ")", "{", "case", "AARCH64_CMODEL_TINY", ":", "aarch64_cmodel", "=", "AARCH64_CMODEL_TINY_PIC", ";", "break", ";", "case", "AARCH64_CMODEL_SMALL", ":", "aarch64_cmodel", "=", "AARCH64_CMODEL_SMALL_PIC", ";", "break", ";", "case", "AARCH64_CMODEL_LARGE", ":", "sorry", "(", "\"code model %qs with -f%s\"", ",", "\"large\"", ",", "flag_pic", ">", "1", "?", "\"PIC\"", ":", "\"pic\"", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "aarch64_cmodel", "=", "aarch64_cmodel_var", ";", "}", ""], "natrual_language": ["A", "checking", "mechanism", "for", "the", "implementation", "of", "the", "various", "code", "models", "."], "TS_V_token": ["aarch64", "\"code model %qs with -f%s\"", "\"large\"", "1", "\"PIC\"", "\"pic\""], "File": "aarch642", "Func": "initialize_aarch64_code_model", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16311, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "output_probe_stack_range_stack_clash", "(", "rtx", "reg1", ",", "rtx", "reg2", ",", "rtx", "reg3", ")", "{", "static", "int", "labelno", "=", "0", ";", "char", "loop_lab", "[", "32", "]", ";", "rtx", "xops", "[", "3", "]", ";", "HOST_WIDE_INT", "probe_interval", "=", "get_stack_clash_protection_probe_interval", "(", ")", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "loop_lab", ",", "\"LPSRL\"", ",", "labelno", "++", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "loop_lab", ")", ";", "xops", "[", "0", "]", "=", "reg1", ";", "xops", "[", "1", "]", "=", "reg2", ";", "xops", "[", "2", "]", "=", "GEN_INT", "(", "-", "probe_interval", ")", ";", "if", "(", "TARGET_64BIT", ")", "output_asm_insn", "(", "\"stdu %1,%2(%0)\"", ",", "xops", ")", ";", "else", "output_asm_insn", "(", "\"stwu %1,%2(%0)\"", ",", "xops", ")", ";", "xops", "[", "0", "]", "=", "reg1", ";", "xops", "[", "1", "]", "=", "reg3", ";", "if", "(", "TARGET_64BIT", ")", "output_asm_insn", "(", "\"cmpd 0,%0,%1\"", ",", "xops", ")", ";", "else", "output_asm_insn", "(", "\"cmpw 0,%0,%1\"", ",", "xops", ")", ";", "fputs", "(", "\"\\tbne 0,\"", ",", "asm_out_file", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "loop_lab", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Probe", "a", "range", "of", "stack", "addresses", "from", "REG1", "to", "REG3", "inclusive", ".", "These", "are", "addresses", ",", "not", "offsets", ".", "REG2", "contains", "the", "backchain", "that", "must", "be", "stored", "into", "*", "sp", "at", "each", "allocation", ".", "This", "is", "subtly", "different", "than", "the", "Ada", "probing", "above", "in", "that", "it", "tries", "hard", "to", "prevent", "attacks", "that", "jump", "the", "stack", "guard", ".", "Thus", ",", "it", "is", "never", "allowed", "to", "allocate", "more", "than", "PROBE_INTERVAL", "bytes", "of", "stack", "space", "without", "a", "suitable", "probe", "."], "TS_V_token": ["rs6000", "0", "32", "3", "\"LPSRL\"", "0", "1", "2", "\"stdu %1,%2(%0)\"", "\"stwu %1,%2(%0)\"", "0", "1", "\"cmpd 0,%0,%1\"", "\"cmpw 0,%0,%1\"", "\"\\tbne 0,\"", "\"\""], "File": "rs6000-logue", "Func": "output_probe_stack_range_stack_clash", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16312, "Length": 160, "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", ";", "LLVM_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": "AArch64FrameLowering13", "Func": "restoreCalleeSavedRegisters", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16313, "Length": 488, "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": "SparcTargetMachine58", "Func": "addPreEmitPass", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16314, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "dump", "(", "SelectionDAG", "*", "DAG", "=", "nullptr", ")", "{", "dbgs", "(", ")", "<<", "\"X86ISelAddressMode \"", "<<", "this", "<<", "'\\n'", ";", "dbgs", "(", ")", "<<", "\"Base_Reg \"", ";", "if", "(", "Base_Reg", ".", "getNode", "(", ")", ")", "Base_Reg", ".", "getNode", "(", ")", "->", "dump", "(", "DAG", ")", ";", "else", "dbgs", "(", ")", "<<", "\"nul\\n\"", ";", "if", "(", "BaseType", "==", "FrameIndexBase", ")", "dbgs", "(", ")", "<<", "\" Base.FrameIndex \"", "<<", "Base_FrameIndex", "<<", "'\\n'", ";", "dbgs", "(", ")", "<<", "\" Scale \"", "<<", "Scale", "<<", "'\\n'", "<<", "\"IndexReg \"", ";", "if", "(", "NegateIndex", ")", "dbgs", "(", ")", "<<", "\"negate \"", ";", "if", "(", "IndexReg", ".", "getNode", "(", ")", ")", "IndexReg", ".", "getNode", "(", ")", "->", "dump", "(", "DAG", ")", ";", "else", "dbgs", "(", ")", "<<", "\"nul\\n\"", ";", "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", "(", ")", "<<", "\" MCSym \"", ";", "if", "(", "MCSym", ")", "dbgs", "(", ")", "<<", "MCSym", ";", "else", "dbgs", "(", ")", "<<", "\"nul\"", ";", "dbgs", "(", ")", "<<", "\" JT\"", "<<", "JT", "<<", "\" Align\"", "<<", "Alignment", ".", "value", "(", ")", "<<", "'\\n'", ";", "}", ""], "natrual_language": ["Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "."], "TS_V_token": ["X86", "\"X86ISelAddressMode \"", "\"Base_Reg \"", "\"nul\\n\"", "\" Base.FrameIndex \"", "\" Scale \"", "\"IndexReg \"", "\"negate \"", "\"nul\\n\"", "\" Disp \"", "\"GV \"", "\"nul\"", "\" CP \"", "\"nul\"", "\"ES \"", "\"nul\"", "\" MCSym \"", "\"nul\"", "\" JT\"", "\" Align\""], "File": "X86ISelDAGToDAG1", "Func": "dump", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16315, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_emit_i387_log1p", "(", "rtx", "op0", ",", "rtx", "op1", ")", "{", "rtx_code_label", "*", "label1", "=", "gen_label_rtx", "(", ")", ";", "rtx_code_label", "*", "label2", "=", "gen_label_rtx", "(", ")", ";", "rtx", "tmp", "=", "gen_reg_rtx", "(", "XFmode", ")", ";", "rtx", "tmp2", "=", "gen_reg_rtx", "(", "XFmode", ")", ";", "rtx", "test", ";", "emit_insn", "(", "gen_absxf2", "(", "tmp", ",", "op1", ")", ")", ";", "test", "=", "gen_rtx_GE", "(", "VOIDmode", ",", "tmp", ",", "const_double_from_real_value", "(", "REAL_VALUE_ATOF", "(", "\"0.29289321881345247561810596348408353\"", ",", "XFmode", ")", ",", "XFmode", ")", ")", ";", "emit_jump_insn", "(", "gen_cbranchxf4", "(", "test", ",", "XEXP", "(", "test", ",", "0", ")", ",", "XEXP", "(", "test", ",", "1", ")", ",", "label1", ")", ")", ";", "emit_move_insn", "(", "tmp2", ",", "standard_80387_constant_rtx", "(", "4", ")", ")", ";", "emit_insn", "(", "gen_fyl2xp1xf3_i387", "(", "op0", ",", "op1", ",", "tmp2", ")", ")", ";", "emit_jump", "(", "label2", ")", ";", "emit_label", "(", "label1", ")", ";", "emit_move_insn", "(", "tmp", ",", "CONST1_RTX", "(", "XFmode", ")", ")", ";", "emit_insn", "(", "gen_addxf3", "(", "tmp", ",", "op1", ",", "tmp", ")", ")", ";", "emit_move_insn", "(", "tmp2", ",", "standard_80387_constant_rtx", "(", "4", ")", ")", ";", "emit_insn", "(", "gen_fyl2xxf3_i387", "(", "op0", ",", "tmp", ",", "tmp2", ")", ")", ";", "emit_label", "(", "label2", ")", ";", "}", ""], "natrual_language": ["Output", "code", "to", "perform", "a", "log1p", "XFmode", "calculation", "."], "TS_V_token": ["i386", "\"0.29289321881345247561810596348408353\"", "0", "1", "4", "4"], "File": "i3865", "Func": "ix86_emit_i387_log1p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16316, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCSection", "*", "X86ELFMCAsmInfo", "::", "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": ["X86", "X86", "\".note.GNU-stack\"", "0"], "File": "X86MCAsmInfo20", "Func": "getNonexecutableStackSection", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16317, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "emitDebugValue", "(", "const", "MCExpr", "*", "Value", ",", "unsigned", "Size", ")", "const", "{", "if", "(", "auto", "*", "MipsExpr", "=", "dyn_cast", "<", "MipsMCExpr", ">", "(", "Value", ")", ")", "{", "if", "(", "MipsExpr", "&&", "MipsExpr", "->", "getKind", "(", ")", "==", "MipsMCExpr", "::", "MEK_DTPREL", ")", "{", "switch", "(", "Size", ")", "{", "case", "4", ":", "OutStreamer", "->", "emitDTPRel32Value", "(", "MipsExpr", "->", "getSubExpr", "(", ")", ")", ";", "break", ";", "case", "8", ":", "OutStreamer", "->", "emitDTPRel64Value", "(", "MipsExpr", "->", "getSubExpr", "(", ")", ")", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Unexpected size of expression value.\"", ")", ";", "}", "return", ";", "}", "}", "AsmPrinter", "::", "emitDebugValue", "(", "Value", ",", "Size", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "directive", "and", "value", "for", "debug", "thread", "local", "expression", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "4", "Mips", "8", "Mips", "\"Unexpected size of expression value.\""], "File": "MipsAsmPrinter", "Func": "emitDebugValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16318, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsMCExpr", "*", "MipsMCExpr", "::", "Create", "(", "MCSymbolRefExpr", "::", "VariantKind", "VK", ",", "const", "MCExpr", "*", "Expr", ",", "MCContext", "&", "Ctx", ")", "{", "VariantKind", "Kind", ";", "switch", "(", "VK", ")", "{", "case", "MCSymbolRefExpr", "::", "VK_Mips_ABS_LO", ":", "Kind", "=", "VK_Mips_LO", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_ABS_HI", ":", "Kind", "=", "VK_Mips_HI", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_HIGHER", ":", "Kind", "=", "VK_Mips_HIGHER", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_HIGHEST", ":", "Kind", "=", "VK_Mips_HIGHEST", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_IJMP_HI", ":", "Kind", "=", "VK_Mips_IJMP_HI", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_IJMP_LO", ":", "Kind", "=", "VK_Mips_IJMP_LO", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Invalid kind!\"", ")", ";", "}", "return", "new", "(", "Ctx", ")", "MipsMCExpr", "(", "Kind", ",", "Expr", ")", ";", "}", ""], "natrual_language": ["Construct", "a", "unary", "instruction", ",", "given", "the", "opcode", "and", "an", "operand", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "\"Invalid kind!\"", "Mips"], "File": "MipsMCExpr12", "Func": "Create", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16319, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64TargetMachine", "::", "AArch64TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "LittleEndian", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "LittleEndian", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "TLOF", "(", "createTLOF", "(", "Triple", "(", "getTargetTriple", "(", ")", ")", ")", ")", ",", "isLittle", "(", "LittleEndian", ")", "{", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "AArch64", "architecture", "model", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine45", "Func": "AArch64TargetMachine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16320, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getType", "(", ")", "{", "return", "CurType", ";", "}", ""], "natrual_language": ["Overload", "to", "return", "most", "specific", "vector", "type", "."], "TS_V_token": ["X86"], "File": "X86AsmParser58", "Func": "getType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16321, "Length": 9, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_can_follow_jump", "(", "const", "rtx_insn", "*", "branch1", ",", "const", "rtx_insn", "*", "branch2", ")", "{", "if", "(", "TARGET_SH1", "&&", "flag_reorder_blocks_and_partition", "&&", "simplejump_p", "(", "branch2", ")", "&&", "CROSSING_JUMP_P", "(", "branch2", ")", ")", "return", "false", ";", "if", "(", "flag_expensive_optimizations", "&&", "simplejump_p", "(", "branch2", ")", ")", "{", "rtx", "dest", "=", "XEXP", "(", "SET_SRC", "(", "single_set", "(", "branch2", ")", ")", ",", "0", ")", ";", "rtx_insn", "*", "insn", ";", "int", "distance", ";", "for", "(", "distance", "=", "0", ",", "insn", "=", "NEXT_INSN", "(", "branch1", ")", ";", "insn", "&&", "distance", "<", "256", ";", "insn", "=", "PREV_INSN", "(", "insn", ")", ")", "{", "if", "(", "insn", "==", "dest", ")", "return", "true", ";", "else", "distance", "+=", "get_attr_length", "(", "insn", ")", ";", "}", "for", "(", "distance", "=", "0", ",", "insn", "=", "NEXT_INSN", "(", "branch1", ")", ";", "insn", "&&", "distance", "<", "256", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "if", "(", "insn", "==", "dest", ")", "return", "true", ";", "else", "distance", "+=", "get_attr_length", "(", "insn", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "'s", "possible", "to", "redirect", "BRANCH1", "to", "the", "destination", "of", "an", "unconditional", "jump", "BRANCH2", ".", "We", "only", "want", "to", "do", "this", "if", "the", "resulting", "branch", "will", "have", "a", "short", "displacement", "."], "TS_V_token": ["sh", "0", "0", "256", "0", "256"], "File": "sh4", "Func": "sh_can_follow_jump", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16322, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "TOYRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", ")", "const", "{", "return", "CC_Save_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["TOY", "TOY"], "File": "TOYRegisterInfo1", "Func": "getCallPreservedMask", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16323, "Length": 22, "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", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "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"], "File": "PPCISelLowering (2)2", "Func": "LowerFormalArguments", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16324, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "KudeyarSubtarget", "*", "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": ["Kudeyar", "Kudeyar"], "File": "KudeyarTargetMachine", "Func": "getSubtargetImpl", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16325, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_offset_within_alignment_p", "(", "rtx", "x", ",", "HOST_WIDE_INT", "offset", ")", "{", "HOST_WIDE_INT", "align", ";", "align", "=", "SYMBOL_REF_DECL", "(", "x", ")", "?", "DECL_ALIGN_UNIT", "(", "SYMBOL_REF_DECL", "(", "x", ")", ")", ":", "1", ";", "return", "IN_RANGE", "(", "offset", ",", "0", ",", "align", "-", "1", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OFFSET", "is", "within", "the", "range", "[", "0", ",", "ALIGN", ")", ",", "where", "ALIGN", "is", "the", "alignment", "in", "bytes", "of", "SYMBOL_REF", "X", "."], "TS_V_token": ["mips", "1", "0", "1"], "File": "mips", "Func": "mips_offset_within_alignment_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16326, "Length": 44, "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": 16327, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "int", "inline_memory_move_cost", "(", "machine_mode", "mode", ",", "enum", "reg_class", "regclass", ",", "int", "in", ")", "{", "int", "cost", ";", "if", "(", "FLOAT_CLASS_P", "(", "regclass", ")", ")", "{", "int", "index", ";", "switch", "(", "mode", ")", "{", "case", "E_SFmode", ":", "index", "=", "0", ";", "break", ";", "case", "E_DFmode", ":", "index", "=", "1", ";", "break", ";", "case", "E_XFmode", ":", "index", "=", "2", ";", "break", ";", "default", ":", "return", "100", ";", "}", "if", "(", "in", "==", "2", ")", "return", "MAX", "(", "ix86_cost", "->", "fp_load", "[", "index", "]", ",", "ix86_cost", "->", "fp_store", "[", "index", "]", ")", ";", "return", "in", "?", "ix86_cost", "->", "fp_load", "[", "index", "]", ":", "ix86_cost", "->", "fp_store", "[", "index", "]", ";", "}", "if", "(", "SSE_CLASS_P", "(", "regclass", ")", ")", "{", "int", "index", "=", "sse_store_index", "(", "mode", ")", ";", "if", "(", "index", "==", "-", "1", ")", "return", "100", ";", "if", "(", "in", "==", "2", ")", "return", "MAX", "(", "ix86_cost", "->", "sse_load", "[", "index", "]", ",", "ix86_cost", "->", "sse_store", "[", "index", "]", ")", ";", "return", "in", "?", "ix86_cost", "->", "sse_load", "[", "index", "]", ":", "ix86_cost", "->", "sse_store", "[", "index", "]", ";", "}", "if", "(", "MMX_CLASS_P", "(", "regclass", ")", ")", "{", "int", "index", ";", "switch", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", "{", "case", "4", ":", "index", "=", "0", ";", "break", ";", "case", "8", ":", "index", "=", "1", ";", "break", ";", "default", ":", "return", "100", ";", "}", "if", "(", "in", "==", "2", ")", "return", "MAX", "(", "ix86_cost", "->", "mmx_load", "[", "index", "]", ",", "ix86_cost", "->", "mmx_store", "[", "index", "]", ")", ";", "return", "in", "?", "ix86_cost", "->", "mmx_load", "[", "index", "]", ":", "ix86_cost", "->", "mmx_store", "[", "index", "]", ";", "}", "switch", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", "{", "case", "1", ":", "if", "(", "Q_CLASS_P", "(", "regclass", ")", "||", "TARGET_64BIT", ")", "{", "if", "(", "!", "in", ")", "return", "ix86_cost", "->", "int_store", "[", "0", "]", ";", "if", "(", "TARGET_PARTIAL_REG_DEPENDENCY", "&&", "optimize_function_for_speed_p", "(", "cfun", ")", ")", "cost", "=", "ix86_cost", "->", "movzbl_load", ";", "else", "cost", "=", "ix86_cost", "->", "int_load", "[", "0", "]", ";", "if", "(", "in", "==", "2", ")", "return", "MAX", "(", "cost", ",", "ix86_cost", "->", "int_store", "[", "0", "]", ")", ";", "return", "cost", ";", "}", "else", "{", "if", "(", "in", "==", "2", ")", "return", "MAX", "(", "ix86_cost", "->", "movzbl_load", ",", "ix86_cost", "->", "int_store", "[", "0", "]", "+", "4", ")", ";", "if", "(", "in", ")", "return", "ix86_cost", "->", "movzbl_load", ";", "else", "return", "ix86_cost", "->", "int_store", "[", "0", "]", "+", "4", ";", "}", "break", ";", "case", "2", ":", "if", "(", "in", "==", "2", ")", "return", "MAX", "(", "ix86_cost", "->", "int_load", "[", "1", "]", ",", "ix86_cost", "->", "int_store", "[", "1", "]", ")", ";", "return", "in", "?", "ix86_cost", "->", "int_load", "[", "1", "]", ":", "ix86_cost", "->", "int_store", "[", "1", "]", ";", "default", ":", "if", "(", "in", "==", "2", ")", "cost", "=", "MAX", "(", "ix86_cost", "->", "int_load", "[", "2", "]", ",", "ix86_cost", "->", "int_store", "[", "2", "]", ")", ";", "else", "if", "(", "in", ")", "cost", "=", "ix86_cost", "->", "int_load", "[", "2", "]", ";", "else", "cost", "=", "ix86_cost", "->", "int_store", "[", "2", "]", ";", "return", "cost", "*", "CEIL", "(", "(", "int", ")", "GET_MODE_SIZE", "(", "mode", ")", ",", "UNITS_PER_WORD", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "moving", "data", "of", "mode", "M", "between", "a", "register", "and", "memory", ".", "A", "value", "of", "2", "is", "the", "default", ";", "this", "cost", "is", "relative", "to", "those", "in", "`", "REGISTER_MOVE_COST", "'", ".", "This", "function", "is", "used", "extensively", "by", "register_move_cost", "that", "is", "used", "to", "build", "tables", "at", "startup", ".", "Make", "it", "inline", "in", "this", "case", ".", "When", "IN", "is", "2", ",", "return", "maximum", "of", "in", "and", "out", "move", "cost", ".", "If", "moving", "between", "registers", "and", "memory", "is", "more", "expensive", "than", "between", "two", "registers", ",", "you", "should", "define", "this", "macro", "to", "express", "the", "relative", "cost", ".", "Model", "also", "increased", "moving", "costs", "of", "QImode", "registers", "in", "non", "Q_REGS", "classes", "."], "TS_V_token": ["i386", "0", "1", "2", "100", "2", "1", "100", "2", "4", "0", "8", "1", "100", "2", "1", "0", "0", "2", "0", "2", "0", "4", "0", "4", "2", "2", "1", "1", "1", "1", "2", "2", "2", "2", "2"], "File": "i3868", "Func": "inline_memory_move_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16328, "Length": 506, "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": 16329, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "F2003fMCAsmStreamer", "::", "emitExplicitComments", "(", ")", "{", "StringRef", "Comments", "=", "ExplicitCommentToEmit", ";", "if", "(", "!", "Comments", ".", "empty", "(", ")", ")", "OS", "<<", "Comments", ";", "ExplicitCommentToEmit", ".", "clear", "(", ")", ";", "}", ""], "natrual_language": ["Emit", "added", "explicit", "comments", "."], "TS_V_token": ["F2003f", "F2003f"], "File": "F2003fMCAsmStreamer", "Func": "emitExplicitComments", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16330, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "DLXInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "OS", ",", "StringRef", "Annotation", ",", "const", "MCSubtargetInfo", "&", ")", "{", "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": ["DLX", "DLX"], "File": "DLXInstPrinter", "Func": "printInst", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16331, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"AArch64 load / store optimization pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64", "\"AArch64 load / store optimization pass\""], "File": "AArch64LoadStoreOptimizer18", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16332, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ia64_function_value_regno_p", "(", "const", "unsigned", "int", "regno", ")", "{", "return", "(", "(", "regno", ">=", "GR_RET_FIRST", "&&", "regno", "<=", "GR_RET_LAST", ")", "||", "(", "regno", ">=", "FR_RET_FIRST", "&&", "regno", "<=", "FR_RET_LAST", ")", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "FUNCTION_VALUE_REGNO_P", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "ia64_function_value_regno_p", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16333, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_vector_mode_supported_p", "(", "enum", "machine_mode", "mode", ")", "{", "if", "(", "(", "mode", "==", "V2SImode", ")", "||", "(", "mode", "==", "V4HImode", ")", "||", "(", "mode", "==", "V8QImode", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implements", "target", "hook", "vector_mode_supported_p", "."], "TS_V_token": ["arm"], "File": "arm3", "Func": "arm_vector_mode_supported_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16334, "Length": 35, "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", "=", "AP", ".", "getDataLayout", "(", ")", ";", "MCContext", "&", "Ctx", "=", "AP", ".", "OutContext", ";", "SmallString", "<", "128", ">", "Name", ";", "StringRef", "Suffix", ";", "if", "(", "MO", ".", "getTargetFlags", "(", ")", "&", "PPCII", "::", "MO_NLP_FLAG", ")", "Suffix", "=", "\"$non_lazy_ptr\"", ";", "if", "(", "!", "Suffix", ".", "empty", "(", ")", ")", "Name", "+=", "DL", ".", "getPrivateGlobalPrefix", "(", ")", ";", "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", ")", ";", "}", "Name", "+=", "Suffix", ";", "MCSymbol", "*", "Sym", "=", "Ctx", ".", "getOrCreateSymbol", "(", "Name", ")", ";", "if", "(", "MO", ".", "getTargetFlags", "(", ")", "&", "PPCII", "::", "MO_NLP_FLAG", ")", "{", "MachineModuleInfoMachO", "&", "MachO", "=", "getMachOMMI", "(", "AP", ")", ";", "MachineModuleInfoImpl", "::", "StubValueTy", "&", "StubSym", "=", "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", "128", "PPCII::MO_NLP_FLAG", "\"$non_lazy_ptr\"", "\"Isn't a symbol reference\"", "PPCII::MO_NLP_FLAG", "\"Extern symbol not handled yet\""], "File": "PPCMCInstLower7", "Func": "GetSymbolFromOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16335, "Length": 265, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"X86 Machine Code Emitter\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 Machine Code Emitter\""], "File": "X86CodeEmitter", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16336, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMLoc", "getEndLoc", "(", ")", "const", "{", "return", "EndLoc", ";", "}", ""], "natrual_language": ["getEndLoc", "-", "Get", "the", "location", "of", "the", "last", "token", "of", "this", "operand", "."], "TS_V_token": ["Mips"], "File": "MipsAsmParser102", "Func": "getEndLoc", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16337, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ia64_issue_rate", "(", ")", "{", "return", "6", ";", "}", ""], "natrual_language": ["Return", "the", "maximum", "number", "of", "instructions", "a", "cpu", "can", "issue", "."], "TS_V_token": ["ia64", "6"], "File": "ia642", "Func": "ia64_issue_rate", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16338, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "InstrItineraryData", "*", "getInstrItineraryData", "(", ")", "const", "override", "{", "return", "Subtarget", ".", "inMips16Mode", "(", ")", "?", "nullptr", ":", "&", "InstrItins", ";", "}", ""], "natrual_language": ["getInstrItineraryData", "-", "Returns", "instruction", "itinerary", "data", "for", "the", "target", "or", "specific", "subtarget", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsTargetMachine26", "Func": "getInstrItineraryData", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16339, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_emit_store_exclusive", "(", "machine_mode", "mode", ",", "rtx", "bval", ",", "rtx", "mem", ",", "rtx", "rval", ",", "rtx", "model_rtx", ")", "{", "if", "(", "mode", "==", "TImode", ")", "emit_insn", "(", "gen_aarch64_store_exclusive_pair", "(", "bval", ",", "mem", ",", "operand_subword", "(", "rval", ",", "0", ",", "0", ",", "TImode", ")", ",", "operand_subword", "(", "rval", ",", "1", ",", "0", ",", "TImode", ")", ",", "model_rtx", ")", ")", ";", "else", "emit_insn", "(", "gen_aarch64_store_exclusive", "(", "mode", ",", "bval", ",", "mem", ",", "rval", ",", "model_rtx", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "store", "exclusive", "."], "TS_V_token": ["aarch64", "0", "0", "1", "0"], "File": "aarch64", "Func": "aarch64_emit_store_exclusive", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16340, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "csky_fixed_condition_code_regs", "(", "unsigned", "int", "*", "p1", ",", "unsigned", "int", "*", "p2", ")", "{", "*", "p1", "=", "CSKY_CC_REGNUM", ";", "*", "p2", "=", "INVALID_REGNUM", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FIXED_CONDITION_CODE_REGS", "."], "TS_V_token": ["csky"], "File": "csky", "Func": "csky_fixed_condition_code_regs", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16341, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LEGRegisterInfo", "::", "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": ["LEG", "LEG"], "File": "LEGRegisterInfo", "Func": "requiresRegisterScavenging", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16342, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_callee_copies", "(", "cumulative_args_t", ",", "const", "function_arg_info", "&", "arg", ")", "{", "return", "mips_abi", "==", "ABI_EABI", "&&", "arg", ".", "named", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CALLEE_COPIES", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_callee_copies", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16343, "Length": 22, "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", ".", "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": "X86PadShortFunction25", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16344, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "Register", "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", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", "->", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "*", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "if", "(", "RC", "==", "&", "SP", "::", "I64RegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STXri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "IntRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "IntPairRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STDri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "FPRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STFri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "SP", "::", "DFPRegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STDFri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "SP", "::", "QFPRegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STQFri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "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": ["Sparc", "Sparc", "SP::I64RegsRegClass", "SP::STXri", "0", "SP::IntRegsRegClass", "SP::STri", "0", "SP::IntPairRegClass", "SP::STDri", "0", "SP::FPRegsRegClass", "SP::STFri", "0", "SP::DFPRegsRegClass", "SP::STDFri", "0", "SP::QFPRegsRegClass", "SP::STQFri", "0", "\"Can't store this register to stack slot\""], "File": "SparcInstrInfo29", "Func": "storeRegToStackSlot", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16345, "Length": 430, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86ATTInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "OS", ")", "{", "printInstruction", "(", "MI", ",", "OS", ")", ";", "if", "(", "CommentStream", ")", "EmitAnyX86InstComments", "(", "MI", ",", "*", "CommentStream", ",", "getRegisterName", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86ATTInstPrinter12", "Func": "printInst", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16346, "Length": 37, "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", "||", "(", "(", "d", "->", "mask", "&", "OPTION_MASK_ISA_MMX", ")", "!=", "0", "&&", "TARGET_MMX_WITH_SSE", ")", "||", "(", "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", "0", "\"__builtin_\""], "File": "i386-builtins", "Func": "ix86_init_tm_builtins", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16347, "Length": 320, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "PPCTargetLowering", "::", "getScratchRegisters", "(", "CallingConv", "::", "ID", ")", "const", "{", "static", "const", "MCPhysReg", "ScratchRegs", "[", "]", "=", "{", "PPC", "::", "X12", ",", "PPC", "::", "LR8", ",", "PPC", "::", "CTR8", ",", "0", "}", ";", "return", "ScratchRegs", ";", "}", ""], "natrual_language": ["Returns", "a", "0", "terminated", "array", "of", "registers", "that", "can", "be", "safely", "used", "as", "scratch", "registers", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::X12", "PPC::LR8", "PPC::CTR8", "0"], "File": "PPCISelLowering (2)2", "Func": "getScratchRegisters", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16348, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "loongarch_emit_int_compare", "(", "enum", "rtx_code", "*", "code", ",", "rtx", "*", "op0", ",", "rtx", "*", "op1", ")", "{", "static", "const", "enum", "rtx_code", "mag_comparisons", "[", "]", "[", "2", "]", "=", "{", "{", "LEU", ",", "LTU", "}", ",", "{", "GTU", ",", "GEU", "}", ",", "{", "LE", ",", "LT", "}", ",", "{", "GT", ",", "GE", "}", "}", ";", "if", "(", "splittable_const_int_operand", "(", "*", "op1", ",", "VOIDmode", ")", ")", "{", "HOST_WIDE_INT", "rhs", "=", "INTVAL", "(", "*", "op1", ")", ";", "if", "(", "*", "code", "==", "EQ", "||", "*", "code", "==", "NE", ")", "{", "if", "(", "IMM12_OPERAND", "(", "-", "rhs", ")", ")", "{", "*", "op0", "=", "loongarch_force_binary", "(", "GET_MODE", "(", "*", "op0", ")", ",", "PLUS", ",", "*", "op0", ",", "GEN_INT", "(", "-", "rhs", ")", ")", ";", "*", "op1", "=", "const0_rtx", ";", "}", "}", "else", "{", "for", "(", "size_t", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "mag_comparisons", ")", ";", "i", "++", ")", "{", "HOST_WIDE_INT", "new_rhs", ";", "bool", "increment", "=", "*", "code", "==", "mag_comparisons", "[", "i", "]", "[", "0", "]", ";", "bool", "decrement", "=", "*", "code", "==", "mag_comparisons", "[", "i", "]", "[", "1", "]", ";", "if", "(", "!", "increment", "&&", "!", "decrement", ")", "continue", ";", "if", "(", "(", "increment", "&&", "rhs", "==", "HOST_WIDE_INT_MAX", ")", "||", "(", "decrement", "&&", "rhs", "==", "HOST_WIDE_INT_MIN", ")", ")", "break", ";", "new_rhs", "=", "rhs", "+", "(", "increment", "?", "1", ":", "-", "1", ")", ";", "if", "(", "loongarch_integer_cost", "(", "new_rhs", ")", "<", "loongarch_integer_cost", "(", "rhs", ")", ")", "{", "*", "op1", "=", "GEN_INT", "(", "new_rhs", ")", ";", "*", "code", "=", "mag_comparisons", "[", "i", "]", "[", "increment", "]", ";", "}", "break", ";", "}", "}", "}", "loongarch_extend_comparands", "(", "*", "code", ",", "op0", ",", "op1", ")", ";", "*", "op0", "=", "force_reg", "(", "word_mode", ",", "*", "op0", ")", ";", "if", "(", "*", "op1", "!=", "const0_rtx", ")", "*", "op1", "=", "force_reg", "(", "word_mode", ",", "*", "op1", ")", ";", "}", ""], "natrual_language": ["Convert", "a", "comparison", "into", "something", "that", "can", "be", "used", "in", "a", "branch", ".", "On", "entry", ",", "*", "OP0", "and", "*", "OP1", "are", "the", "values", "being", "compared", "and", "*", "CODE", "is", "the", "code", "used", "to", "compare", "them", ".", "Update", "them", "to", "describe", "the", "final", "comparison", "."], "TS_V_token": ["loongarch", "2", "0", "0", "1", "1", "1"], "File": "loongarch1", "Func": "loongarch_emit_int_compare", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16349, "Length": 299, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64InstrInfo", "::", "canInsertSelect", "(", "const", "MachineBasicBlock", "&", "MBB", ",", "const", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "unsigned", "TrueReg", ",", "unsigned", "FalseReg", ",", "int", "&", "CondCycles", ",", "int", "&", "TrueCycles", ",", "int", "&", "FalseCycles", ")", "const", "{", "const", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "RI", ".", "getCommonSubClass", "(", "MRI", ".", "getRegClass", "(", "TrueReg", ")", ",", "MRI", ".", "getRegClass", "(", "FalseReg", ")", ")", ";", "if", "(", "!", "RC", ")", "return", "false", ";", "unsigned", "ExtraCondLat", "=", "Cond", ".", "size", "(", ")", "!=", "1", ";", "if", "(", "ARM64", "::", "GPR64allRegClass", ".", "hasSubClassEq", "(", "RC", ")", "||", "ARM64", "::", "GPR32allRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "CondCycles", "=", "1", "+", "ExtraCondLat", ";", "TrueCycles", "=", "FalseCycles", "=", "1", ";", "if", "(", "canFoldIntoCSel", "(", "MRI", ",", "TrueReg", ")", ")", "TrueCycles", "=", "0", ";", "else", "if", "(", "canFoldIntoCSel", "(", "MRI", ",", "FalseReg", ")", ")", "FalseCycles", "=", "0", ";", "return", "true", ";", "}", "if", "(", "ARM64", "::", "FPR64RegClass", ".", "hasSubClassEq", "(", "RC", ")", "||", "ARM64", "::", "FPR32RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "CondCycles", "=", "5", "+", "ExtraCondLat", ";", "TrueCycles", "=", "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": ["ARM64", "ARM64", "1", "ARM64::GPR64allRegClass", "ARM64::GPR32allRegClass", "1", "1", "0", "0", "ARM64::FPR64RegClass", "ARM64::FPR32RegClass", "5", "2"], "File": "ARM64InstrInfo", "Func": "canInsertSelect", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16350, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_apply_result_size", "(", "void", ")", "{", "int", "size", "=", "16", ";", "if", "(", "TARGET_32BIT", ")", "{", "if", "(", "TARGET_HARD_FLOAT_ABI", "&&", "TARGET_VFP", ")", "size", "+=", "32", ";", "if", "(", "TARGET_IWMMXT_ABI", ")", "size", "+=", "8", ";", "}", "return", "size", ";", "}", ""], "natrual_language": ["Determine", "the", "amount", "of", "memory", "needed", "to", "store", "the", "possible", "return", "registers", "of", "an", "untyped", "call", "."], "TS_V_token": ["arm", "16", "32", "8"], "File": "arm4", "Func": "arm_apply_result_size", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16351, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLoweringBase", "::", "LegalizeTypeAction", "getPreferredVectorAction", "(", "EVT", "VT", ")", "const", "override", "{", "if", "(", "VT", ".", "getVectorElementType", "(", ")", ".", "getSizeInBits", "(", ")", "%", "8", "==", "0", ")", "return", "TypeWidenVector", ";", "return", "TargetLoweringBase", "::", "getPreferredVectorAction", "(", "VT", ")", ";", "}", ""], "natrual_language": ["Customize", "the", "preferred", "legalization", "strategy", "for", "certain", "types", "."], "TS_V_token": ["SystemZ", "8", "0"], "File": "SystemZISelLowering (2)", "Func": "getPreferredVectorAction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16352, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "shouldClusterMemOps", "(", "MachineInstr", "&", "FirstLdSt", ",", "MachineInstr", "&", "SecondLdSt", ",", "unsigned", "NumLoads", ")", "const", "{", "if", "(", "NumLoads", ">", "1", ")", "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", ";", "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", "2", "2", "63", "64", "\"Caller should have ordered offsets.\"", "1"], "File": "AArch64InstrInfo114", "Func": "shouldClusterMemOps", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16353, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "SICRegisterInfo", "::", "intRegClass", "(", "unsigned", "Size", ")", "const", "{", "return", "&", "SIC", "::", "CPURegsRegClass", ";", "}", ""], "natrual_language": ["Return", "GPR", "register", "class", "."], "TS_V_token": ["SIC", "SIC", "SIC::CPURegsRegClass"], "File": "SICRegisterInfo", "Func": "intRegClass", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16354, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "TOYRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "llvm_unreachable", "(", "\"getFrameRegister not implemented yet\"", ")", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["TOY", "TOY", "\"getFrameRegister not implemented yet\""], "File": "TOYRegisterInfo", "Func": "getFrameRegister", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16355, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PPC", "::", "Predicate", "PPC", "::", "getSwappedPredicate", "(", "PPC", "::", "Predicate", "Opcode", ")", "{", "switch", "(", "Opcode", ")", "{", "case", "PPC", "::", "PRED_EQ", ":", "return", "PPC", "::", "PRED_EQ", ";", "case", "PPC", "::", "PRED_NE", ":", "return", "PPC", "::", "PRED_NE", ";", "case", "PPC", "::", "PRED_LT", ":", "return", "PPC", "::", "PRED_GT", ";", "case", "PPC", "::", "PRED_GE", ":", "return", "PPC", "::", "PRED_LE", ";", "case", "PPC", "::", "PRED_GT", ":", "return", "PPC", "::", "PRED_LT", ";", "case", "PPC", "::", "PRED_LE", ":", "return", "PPC", "::", "PRED_GE", ";", "case", "PPC", "::", "PRED_NU", ":", "return", "PPC", "::", "PRED_NU", ";", "case", "PPC", "::", "PRED_UN", ":", "return", "PPC", "::", "PRED_UN", ";", "}", "llvm_unreachable", "(", "\"Unknown PPC branch opcode!\"", ")", ";", "}", ""], "natrual_language": ["This", "is", "a", "static", "version", "that", "you", "can", "use", "without", "an", "instruction", "available", "."], "TS_V_token": ["PowerPC", "PPC::Predicate", "PPC::getSwappedPredicate", "PPC::Predicate", "PPC::PRED_EQ", "PPC::PRED_EQ", "PPC::PRED_NE", "PPC::PRED_NE", "PPC::PRED_LT", "PPC::PRED_GT", "PPC::PRED_GE", "PPC::PRED_LE", "PPC::PRED_GT", "PPC::PRED_LT", "PPC::PRED_LE", "PPC::PRED_GE", "PPC::PRED_NU", "PPC::PRED_NU", "PPC::PRED_UN", "PPC::PRED_UN", "\"Unknown PPC branch opcode!\""], "File": "PPCPredicates10", "Func": "getSwappedPredicate", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16356, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_emit_isr_vector_section", "(", "int", "vector_id", ")", "{", "unsigned", "int", "vector_number_offset", "=", "0", ";", "const", "char", "*", "c_str", "=", "\"CATEGORY\"", ";", "const", "char", "*", "sr_str", "=", "\"SR\"", ";", "const", "char", "*", "nt_str", "=", "\"NT\"", ";", "const", "char", "*", "vs_str", "=", "\"VS\"", ";", "char", "first_level_handler_name", "[", "100", "]", ";", "char", "section_name", "[", "100", "]", ";", "char", "symbol_name", "[", "100", "]", ";", "switch", "(", "nds32_isr_vectors", "[", "vector_id", "]", ".", "category", ")", "{", "case", "NDS32_ISR_INTERRUPT", ":", "vector_number_offset", "=", "9", ";", "c_str", "=", "\"i\"", ";", "break", ";", "case", "NDS32_ISR_EXCEPTION", ":", "vector_number_offset", "=", "0", ";", "c_str", "=", "\"e\"", ";", "break", ";", "case", "NDS32_ISR_NONE", ":", "case", "NDS32_ISR_RESET", ":", "gcc_unreachable", "(", ")", ";", "break", ";", "}", "switch", "(", "nds32_isr_vectors", "[", "vector_id", "]", ".", "save_reg", ")", "{", "case", "NDS32_SAVE_ALL", ":", "sr_str", "=", "\"sa\"", ";", "break", ";", "case", "NDS32_PARTIAL_SAVE", ":", "sr_str", "=", "\"ps\"", ";", "break", ";", "}", "switch", "(", "nds32_isr_vectors", "[", "vector_id", "]", ".", "nested_type", ")", "{", "case", "NDS32_NESTED", ":", "nt_str", "=", "\"ns\"", ";", "break", ";", "case", "NDS32_NOT_NESTED", ":", "nt_str", "=", "\"nn\"", ";", "break", ";", "case", "NDS32_NESTED_READY", ":", "nt_str", "=", "\"nr\"", ";", "break", ";", "}", "vs_str", "=", "(", "nds32_isr_vector_size", "==", "4", ")", "?", "\"_4b\"", ":", "\"\"", ";", "snprintf", "(", "first_level_handler_name", ",", "sizeof", "(", "first_level_handler_name", ")", ",", "\"_nds32_%s_%s_%s%s\"", ",", "c_str", ",", "sr_str", ",", "nt_str", ",", "vs_str", ")", ";", "snprintf", "(", "section_name", ",", "sizeof", "(", "section_name", ")", ",", "\".nds32_vector.%02d\"", ",", "vector_id", ")", ";", "snprintf", "(", "symbol_name", ",", "sizeof", "(", "symbol_name", ")", ",", "\"_nds32_vector_%02d%s\"", ",", "vector_id", ",", "vs_str", ")", ";", "nds32_emit_section_head_template", "(", "section_name", ",", "symbol_name", ",", "floor_log2", "(", "nds32_isr_vector_size", ")", ",", "false", ")", ";", "if", "(", "nds32_isr_vector_size", "==", "4", ")", "{", "fprintf", "(", "asm_out_file", ",", "\"\\tj\\t%s ! jump to first level handler\\n\"", ",", "first_level_handler_name", ")", ";", "}", "else", "{", "if", "(", "TARGET_REDUCED_REGS", ")", "{", "if", "(", "nds32_isr_vectors", "[", "vector_id", "]", ".", "save_reg", "==", "NDS32_SAVE_ALL", ")", "{", "fprintf", "(", "asm_out_file", ",", "\"\\t! reduced set regs + save_all\\n\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tsmw.adm\\t$r15, [$sp], $r15, 0xf\\n\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tsmw.adm\\t$r0, [$sp], $r10, 0x0\\n\"", ")", ";", "}", "else", "{", "fprintf", "(", "asm_out_file", ",", "\"\\t! reduced set regs + partial_save\\n\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tsmw.adm\\t$r15, [$sp], $r15, 0x2\\n\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tsmw.adm\\t$r0, [$sp], $r5, 0x0\\n\"", ")", ";", "}", "}", "else", "{", "if", "(", "nds32_isr_vectors", "[", "vector_id", "]", ".", "save_reg", "==", "NDS32_SAVE_ALL", ")", "{", "fprintf", "(", "asm_out_file", ",", "\"\\t! full set regs + save_all\\n\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tsmw.adm\\t$r0, [$sp], $r27, 0xf\\n\"", ")", ";", "}", "else", "{", "fprintf", "(", "asm_out_file", ",", "\"\\t! full set regs + partial_save\\n\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tsmw.adm\\t$r15, [$sp], $r27, 0x2\\n\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tsmw.adm\\t$r0, [$sp], $r5, 0x0\\n\"", ")", ";", "}", "}", "fprintf", "(", "asm_out_file", ",", "\"\\tmovi\\t$r0, %d ! preparing software vid\\n\"", ",", "vector_id", "-", "vector_number_offset", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tj\\t%s ! jump to first level handler\\n\"", ",", "first_level_handler_name", ")", ";", "}", "nds32_emit_section_tail_template", "(", "symbol_name", ")", ";", "}", ""], "natrual_language": ["Function", "to", "emit", "isr", "vector", "section", "."], "TS_V_token": ["nds32", "0", "\"CATEGORY\"", "\"SR\"", "\"NT\"", "\"VS\"", "100", "100", "100", "9", "\"i\"", "0", "\"e\"", "\"sa\"", "\"ps\"", "\"ns\"", "\"nn\"", "\"nr\"", "4", "\"_4b\"", "\"\"", "\"_nds32_%s_%s_%s%s\"", "\".nds32_vector.%02d\"", "\"_nds32_vector_%02d%s\"", "4", "\"\\tj\\t%s ! jump to first level handler\\n\"", "\"\\t! reduced set regs + save_all\\n\"", "\"\\tsmw.adm\\t$r15, [$sp], $r15, 0xf\\n\"", "\"\\tsmw.adm\\t$r0, [$sp], $r10, 0x0\\n\"", "\"\\t! reduced set regs + partial_save\\n\"", "\"\\tsmw.adm\\t$r15, [$sp], $r15, 0x2\\n\"", "\"\\tsmw.adm\\t$r0, [$sp], $r5, 0x0\\n\"", "\"\\t! full set regs + save_all\\n\"", "\"\\tsmw.adm\\t$r0, [$sp], $r27, 0xf\\n\"", "\"\\t! full set regs + partial_save\\n\"", "\"\\tsmw.adm\\t$r15, [$sp], $r27, 0x2\\n\"", "\"\\tsmw.adm\\t$r0, [$sp], $r5, 0x0\\n\"", "\"\\tmovi\\t$r0, %d ! preparing software vid\\n\"", "\"\\tj\\t%s ! jump to first level handler\\n\""], "File": "nds32-isr2", "Func": "nds32_emit_isr_vector_section", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16357, "Length": 416, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "get_prev_label", "(", "tree", "function_name", ")", "{", "branch_island", "*", "bi", ";", "unsigned", "ix", ";", "FOR_EACH_VEC_SAFE_ELT", "(", "branch_islands", ",", "ix", ",", "bi", ")", "if", "(", "function_name", "==", "bi", "->", "function_name", ")", "return", "bi", "->", "label_name", ";", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["GET_PREV_LABEL", "gets", "the", "label", "name", "from", "the", "previous", "definition", "of", "the", "function", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "get_prev_label", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16358, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_hard_regno_nregs_internal", "(", "int", "regno", ",", "machine_mode", "mode", ")", "{", "unsigned", "HOST_WIDE_INT", "reg_size", ";", "if", "(", "FP_REGNO_P", "(", "regno", ")", ")", "reg_size", "=", "(", "VECTOR_MEM_VSX_P", "(", "mode", ")", "||", "FLOAT128_VECTOR_P", "(", "mode", ")", "?", "UNITS_PER_VSX_WORD", ":", "UNITS_PER_FP_WORD", ")", ";", "else", "if", "(", "SPE_SIMD_REGNO_P", "(", "regno", ")", "&&", "TARGET_SPE", "&&", "SPE_VECTOR_MODE", "(", "mode", ")", ")", "reg_size", "=", "UNITS_PER_SPE_WORD", ";", "else", "if", "(", "ALTIVEC_REGNO_P", "(", "regno", ")", ")", "reg_size", "=", "UNITS_PER_ALTIVEC_WORD", ";", "else", "if", "(", "TARGET_E500_DOUBLE", "&&", "FLOAT_MODE_P", "(", "mode", ")", "&&", "mode", "!=", "SCmode", "&&", "!", "DECIMAL_FLOAT_MODE_P", "(", "mode", ")", "&&", "SPE_SIMD_REGNO_P", "(", "regno", ")", ")", "reg_size", "=", "UNITS_PER_FP_WORD", ";", "else", "reg_size", "=", "UNITS_PER_WORD", ";", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "reg_size", "-", "1", ")", "/", "reg_size", ";", "}", ""], "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", ".", "POWER", "and", "PowerPC", "GPRs", "hold", "32", "bits", "worth", ";", "PowerPC64", "GPRs", "and", "FPRs", "point", "register", "holds", "64", "bits", "worth", "."], "TS_V_token": ["rs6000", "1"], "File": "rs60006", "Func": "rs6000_hard_regno_nregs_internal", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16359, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsNaClRewritePass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "TII", "=", "static_cast", "<", "const", "MipsInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "MFI", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "MFI", "!=", "E", ";", "++", "MFI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MFI", ";", "Modified", "|=", "SandboxLoadsInBlock", "(", "MBB", ")", ";", "Modified", "|=", "SandboxStoresInBlock", "(", "MBB", ")", ";", "Modified", "|=", "SandboxBranchesInBlock", "(", "MBB", ")", ";", "Modified", "|=", "SandboxStackChangesInBlock", "(", "MBB", ")", ";", "}", "AlignAllJumpTargets", "(", "MF", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsNaClRewritePass1", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16360, "Length": 121, "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": ["Mandarin", "MVT::i32"], "File": "MandarinISelLowering", "Func": "getScalarShiftAmountTy", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16361, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "ARM64Operand", "*", "CreateMem", "(", "unsigned", "BaseRegNum", ",", "const", "MCExpr", "*", "Off", ",", "SMLoc", "S", ",", "SMLoc", "E", ",", "SMLoc", "OffsetLoc", ",", "MCContext", "&", "Ctx", ")", "{", "ARM64Operand", "*", "Op", "=", "new", "ARM64Operand", "(", "k_Memory", ",", "Ctx", ")", ";", "Op", "->", "Mem", ".", "BaseRegNum", "=", "BaseRegNum", ";", "Op", "->", "Mem", ".", "OffsetRegNum", "=", "0", ";", "Op", "->", "Mem", ".", "OffsetImm", "=", "Off", ";", "Op", "->", "Mem", ".", "ExtType", "=", "ARM64_AM", "::", "UXTX", ";", "Op", "->", "Mem", ".", "ShiftVal", "=", "0", ";", "Op", "->", "Mem", ".", "ExplicitShift", "=", "false", ";", "Op", "->", "Mem", ".", "Mode", "=", "ImmediateOffset", ";", "Op", "->", "OffsetLoc", "=", "OffsetLoc", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "E", ";", "return", "Op", ";", "}", ""], "natrual_language": ["Create", "a", "generalized", "memory", "operand", "."], "TS_V_token": ["ARM64", "ARM64", "ARM64", "ARM64", "0", "ARM64_AM::UXTX", "0"], "File": "ARM64AsmParser", "Func": "CreateMem", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16362, "Length": 119, "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", ")", ";", "if", "(", "Ty", "!=", "MVT", "::", "v8f16", ")", "{", "setOperationAction", "(", "ISD", "::", "FADD", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "FDIV", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "FLOG2", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "FMUL", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "FRINT", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "FSQRT", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "FSUB", ",", "Ty", ",", "Legal", ")", ";", "}", "}", ""], "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", "MVT::v8f16", "ISD::FADD", "ISD::FDIV", "ISD::FLOG2", "ISD::FMUL", "ISD::FRINT", "ISD::FSQRT", "ISD::FSUB"], "File": "MipsSEISelLowering12", "Func": "addMSAFloatType", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16363, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsPassConfig", "::", "addInstSelector", "(", ")", "{", "PM", ".", "add", "(", "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": "MipsTargetMachine86", "Func": "addInstSelector", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16364, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "num_insns_constant_gpr", "(", "HOST_WIDE_INT", "value", ")", "{", "if", "(", "SIGNED_INTEGER_16BIT_P", "(", "value", ")", ")", "return", "1", ";", "else", "if", "(", "(", "value", "&", "0xffff", ")", "==", "0", "&&", "(", "value", ">>", "31", "==", "-", "1", "||", "value", ">>", "31", "==", "0", ")", ")", "return", "1", ";", "else", "if", "(", "TARGET_PREFIXED", "&&", "SIGNED_INTEGER_34BIT_P", "(", "value", ")", ")", "return", "1", ";", "else", "if", "(", "TARGET_POWERPC64", ")", "{", "HOST_WIDE_INT", "low", "=", "sext_hwi", "(", "value", ",", "32", ")", ";", "HOST_WIDE_INT", "high", "=", "value", ">>", "31", ";", "if", "(", "high", "==", "0", "||", "high", "==", "-", "1", ")", "return", "2", ";", "high", ">>=", "1", ";", "if", "(", "low", "==", "0", "||", "low", "==", "high", ")", "return", "num_insns_constant_gpr", "(", "high", ")", "+", "1", ";", "else", "if", "(", "high", "==", "0", ")", "return", "num_insns_constant_gpr", "(", "low", ")", "+", "1", ";", "else", "return", "(", "num_insns_constant_gpr", "(", "high", ")", "+", "num_insns_constant_gpr", "(", "low", ")", "+", "1", ")", ";", "}", "else", "return", "2", ";", "}", ""], "natrual_language": ["Helper", "for", "num_insns_constant", ".", "Calculate", "number", "of", "instructions", "to", "load", "VALUE", "to", "a", "single", "gpr", "using", "combinations", "of", "addi", ",", "addis", ",", "ori", ",", "oris", ",", "sldi", "and", "rldimi", "instructions", "."], "TS_V_token": ["rs6000", "1", "0xffff", "0", "31", "1", "31", "0", "1", "1", "32", "31", "0", "1", "2", "1", "0", "1", "0", "1", "1", "2"], "File": "rs60001", "Func": "num_insns_constant_gpr", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16365, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "X86InstrInfo", "::", "optimizeLoadInstr", "(", "MachineInstr", "&", "MI", ",", "const", "MachineRegisterInfo", "*", "MRI", ",", "Register", "&", "FoldAsLoadDefReg", ",", "MachineInstr", "*", "&", "DefMI", ")", "const", "{", "DefMI", "=", "MRI", "->", "getVRegDef", "(", "FoldAsLoadDefReg", ")", ";", "assert", "(", "DefMI", ")", ";", "bool", "SawStore", "=", "false", ";", "if", "(", "!", "DefMI", "->", "isSafeToMove", "(", "nullptr", ",", "SawStore", ")", ")", "return", "nullptr", ";", "SmallVector", "<", "unsigned", ",", "1", ">", "SrcOperandIds", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "MI", ".", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "i", ")", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", ")", "continue", ";", "Register", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "if", "(", "Reg", "!=", "FoldAsLoadDefReg", ")", "continue", ";", "if", "(", "MO", ".", "getSubReg", "(", ")", "||", "MO", ".", "isDef", "(", ")", ")", "return", "nullptr", ";", "SrcOperandIds", ".", "push_back", "(", "i", ")", ";", "}", "if", "(", "SrcOperandIds", ".", "empty", "(", ")", ")", "return", "nullptr", ";", "if", "(", "MachineInstr", "*", "FoldMI", "=", "foldMemoryOperand", "(", "MI", ",", "SrcOperandIds", ",", "*", "DefMI", ")", ")", "{", "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", "1", "0", "0"], "File": "X86InstrInfo (2)3", "Func": "optimizeLoadInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16366, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_split_64bit_move", "(", "rtx", "dest", ",", "rtx", "src", ")", "{", "if", "(", "FP_REG_RTX_P", "(", "dest", ")", ")", "{", "emit_insn", "(", "gen_load_df_low", "(", "copy_rtx", "(", "dest", ")", ",", "mips_subword", "(", "src", ",", "0", ")", ")", ")", ";", "emit_insn", "(", "gen_load_df_high", "(", "dest", ",", "mips_subword", "(", "src", ",", "1", ")", ",", "copy_rtx", "(", "dest", ")", ")", ")", ";", "}", "else", "if", "(", "FP_REG_RTX_P", "(", "src", ")", ")", "{", "emit_move_insn", "(", "mips_subword", "(", "dest", ",", "0", ")", ",", "mips_subword", "(", "src", ",", "0", ")", ")", ";", "emit_insn", "(", "gen_store_df_high", "(", "mips_subword", "(", "dest", ",", "1", ")", ",", "src", ")", ")", ";", "}", "else", "{", "rtx", "low_dest", ";", "low_dest", "=", "mips_subword", "(", "dest", ",", "0", ")", ";", "if", "(", "REG_P", "(", "low_dest", ")", "&&", "reg_overlap_mentioned_p", "(", "low_dest", ",", "src", ")", ")", "{", "emit_move_insn", "(", "mips_subword", "(", "dest", ",", "1", ")", ",", "mips_subword", "(", "src", ",", "1", ")", ")", ";", "emit_move_insn", "(", "low_dest", ",", "mips_subword", "(", "src", ",", "0", ")", ")", ";", "}", "else", "{", "emit_move_insn", "(", "low_dest", ",", "mips_subword", "(", "src", ",", "0", ")", ")", ";", "emit_move_insn", "(", "mips_subword", "(", "dest", ",", "1", ")", ",", "mips_subword", "(", "src", ",", "1", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["Split", "a", "64-bit", "move", "from", "SRC", "to", "DEST", "assuming", "that", "mips_split_64bit_move_p", "holds", ".", "Moves", "into", "and", "out", "of", "FPRs", "cause", "some", "difficulty", "here", ".", "Such", "moves", "will", "always", "be", "DFmode", ",", "since", "paired", "FPRs", "are", "not", "allowed", "to", "store", "DImode", "values", ".", "The", "most", "natural", "representation", "would", "be", "two", "separate", "32-bit", "moves", ",", "such", "as", ":", "(", "set", "(", "reg", ":", "SI", "$", "f0", ")", "(", "mem", ":", "SI", "...", ")", ")", "(", "set", "(", "reg", ":", "SI", "$", "f1", ")", "(", "mem", ":", "SI", "...", ")", ")", "However", ",", "the", "second", "insn", "is", "invalid", "because", "odd-numbered", "FPRs", "are", "not", "allowed", "to", "store", "independent", "values", ".", "Use", "the", "patterns", "load_df_low", ",", "load_df_high", "and", "store_df_high", "instead", "."], "TS_V_token": ["mips", "0", "1", "0", "0", "1", "0", "1", "1", "0", "0", "1", "1"], "File": "mips3", "Func": "mips_split_64bit_move", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16367, "Length": 192, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "pa_function_value", "(", "const_tree", "valtype", ",", "const_tree", "func", "ATTRIBUTE_UNUSED", ",", "bool", "outgoing", "ATTRIBUTE_UNUSED", ")", "{", "machine_mode", "valmode", ";", "if", "(", "AGGREGATE_TYPE_P", "(", "valtype", ")", "||", "TREE_CODE", "(", "valtype", ")", "==", "COMPLEX_TYPE", "||", "TREE_CODE", "(", "valtype", ")", "==", "VECTOR_TYPE", ")", "{", "HOST_WIDE_INT", "valsize", "=", "int_size_in_bytes", "(", "valtype", ")", ";", "if", "(", "valsize", "==", "UNITS_PER_WORD", "||", "valsize", "==", "2", "*", "UNITS_PER_WORD", ")", "return", "gen_rtx_REG", "(", "TYPE_MODE", "(", "valtype", ")", ",", "28", ")", ";", "if", "(", "TARGET_64BIT", ")", "{", "rtx", "loc", "[", "2", "]", ";", "int", "i", ",", "offset", "=", "0", ";", "int", "ub", "=", "valsize", "<=", "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", "(", "valsize", ">", "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", ")", "&&", "GET_MODE_BITSIZE", "(", "TYPE_MODE", "(", "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": ["On", "the", "HP-PA", "the", "value", "is", "found", "in", "register", "(", "s", ")", "28", "(", "-29", ")", ",", "unless", "the", "mode", "is", "SF", "or", "DF", ".", "Then", "the", "value", "is", "returned", "in", "fr4", "(", "32", ")", ".", "This", "must", "perform", "the", "same", "promotions", "as", "PROMOTE_MODE", ",", "else", "promoting", "return", "values", "in", "TARGET_PROMOTE_FUNCTION_MODE", "will", "not", "work", "correctly", ".", "Small", "structures", "must", "be", "returned", "in", "a", "PARALLEL", "on", "PA64", "in", "order", "to", "match", "the", "HP", "Compiler", "ABI", "."], "TS_V_token": ["pa", "2", "28", "2", "0", "1", "2", "0", "28", "8", "28", "1", "32", "28"], "File": "pa", "Func": "pa_function_value", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16368, "Length": 276, "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", ")", ",", "IsNaN2008bit", "(", "false", ")", ",", "IsGP64bit", "(", "false", ")", ",", "HasVFPU", "(", "false", ")", ",", "HasCnMips", "(", "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", ")", ",", "TargetTriple", "(", "TT", ")", "{", "std", "::", "string", "CPUName", "=", "CPU", ";", "CPUName", "=", "selectMipsCPU", "(", "TT", ",", "CPUName", ")", ";", "ParseSubtargetFeatures", "(", "CPUName", ",", "FS", ")", ";", "if", "(", "InMips16Mode", "&&", "!", "TM", "->", "Options", ".", "UseSoftFloat", ")", "{", "TM", "->", "Options", ".", "UseSoftFloat", "=", "true", ";", "TM", "->", "Options", ".", "FloatABIType", "=", "FloatABI", "::", "Soft", ";", "InMips16HardFloat", "=", "true", ";", "}", "PreviousInMips16Mode", "=", "InMips16Mode", ";", "InstrItins", "=", "getInstrItineraryForCPU", "(", "CPUName", ")", ";", "assert", "(", "MipsABI", "!=", "UnknownABI", ")", ";", "assert", "(", "(", "(", "(", "getFeatureBits", "(", ")", "&", "Mips", "::", "FeatureO32", ")", "!=", "0", ")", "+", "(", "(", "getFeatureBits", "(", ")", "&", "Mips", "::", "FeatureEABI", ")", "!=", "0", ")", "+", "(", "(", "getFeatureBits", "(", ")", "&", "Mips", "::", "FeatureN32", ")", "!=", "0", ")", "+", "(", "(", "getFeatureBits", "(", ")", "&", "Mips", "::", "FeatureN64", ")", "!=", "0", ")", ")", "==", "1", ")", ";", "assert", "(", "(", "(", "!", "isGP64bit", "(", ")", "&&", "(", "isABI_O32", "(", ")", "||", "isABI_EABI", "(", ")", ")", ")", "||", "(", "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", "(", "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", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::FeatureO32", "0", "Mips::FeatureEABI", "0", "Mips::FeatureN32", "0", "Mips::FeatureN64", "0", "1", "\"Invalid Arch & ABI pair.\"", "\"MSA requires a 64-bit FPU register file (FR=1 mode). \"", "\"See -mattr=+fp64.\"", "\"linux\"", "Mips"], "File": "MipsSubtarget35", "Func": "MipsSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16369, "Length": 425, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PPCGenScalarMASSEntries", "(", ")", ":", "ModulePass", "(", "ID", ")", "{", "ScalarMASSFuncs", "=", "{", "}", ";", "}", ""], "natrual_language": ["Enables", "scalar", "MASS", "conversions", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCGenScalarMASSEntries", "Func": "PPCGenScalarMASSEntries", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16370, "Length": 15, "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", ")", ";", "ix86_set_indirect_branch_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", ")", ";", "ix86_set_indirect_branch_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": "i3867", "Func": "ix86_set_current_function", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16371, "Length": 358, "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": 16372, "Length": 429, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isNoopAddrSpaceCast", "(", "unsigned", "SrcAS", ",", "unsigned", "DestAS", ")", "const", "override", "{", "return", "SrcAS", "<", "256", "&&", "DestAS", "<", "256", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "a", "cast", "between", "SrcAS", "and", "DestAS", "is", "a", "noop", "."], "TS_V_token": ["Mips", "256", "256"], "File": "MipsISelLowering (2)", "Func": "isNoopAddrSpaceCast", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16373, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "return", "FramePtr", ";", "return", "ARM", "::", "SP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["ARM", "ARM", "ARM::SP"], "File": "ARMBaseRegisterInfo37", "Func": "getFrameRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16374, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64StorePairSuppress", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "TargetSubtargetInfo", "&", "ST", "=", "MF", ".", "getSubtarget", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "ST", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "ST", ".", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "SchedModel", ".", "init", "(", "ST", ".", "getSchedModel", "(", ")", ",", "&", "ST", ",", "TII", ")", ";", "Traces", "=", "&", "getAnalysis", "<", "MachineTraceMetrics", ">", "(", ")", ";", "MinInstr", "=", "nullptr", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"*** \"", "<<", "getPassName", "(", ")", "<<", "\": \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "if", "(", "!", "SchedModel", ".", "hasInstrSchedModel", "(", ")", ")", "{", "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", ";", "unsigned", "BaseReg", ";", "unsigned", "Offset", ";", "if", "(", "TII", "->", "getLdStBaseRegImmOfs", "(", "&", "MI", ",", "BaseReg", ",", "Offset", ",", "TRI", ")", ")", "{", "if", "(", "PrevBaseReg", "==", "BaseReg", ")", "{", "if", "(", "!", "SuppressSTP", "&&", "shouldAddSTPToBlock", "(", "MI", ".", "getParent", "(", ")", ")", ")", "break", ";", "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": "AArch64StorePairSuppress7", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16375, "Length": 256, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "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", "(", ")", ";", "unsigned", "FPReg", "=", "RI", ".", "getFrameRegister", "(", "MF", ")", ";", "bool", "is64Bit", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ";", "bool", "isWin64", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "isTargetWin64", "(", ")", ";", "unsigned", "Opc", "=", "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", ",", "get", "(", "Opc", ")", ",", "Reg", ")", ";", "}", "else", "{", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "loadRegFromStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", ",", "RC", ",", "&", "RI", ")", ";", "}", "}", "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", "X86::POP64r", "X86::POP32r", "0", "X86::VR128RegClass"], "File": "X86InstrInfo41", "Func": "restoreCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16376, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "loongarch_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "return", "loongarch_hard_regno_mode_ok_p", "[", "mode", "]", "[", "regno", "]", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_MODE_OK", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_hard_regno_mode_ok", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16377, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "fa726te_sched_adjust_cost", "(", "rtx_insn", "*", "insn", ",", "rtx", "link", ",", "rtx_insn", "*", "dep", ",", "int", "*", "cost", ")", "{", "if", "(", "REG_NOTE_KIND", "(", "link", ")", "==", "REG_DEP_TRUE", "&&", "recog_memoized", "(", "insn", ")", ">=", "0", "&&", "recog_memoized", "(", "dep", ")", ">=", "0", "&&", "get_attr_conds", "(", "dep", ")", "==", "CONDS_SET", ")", "{", "if", "(", "get_attr_conds", "(", "insn", ")", "==", "CONDS_USE", "&&", "get_attr_type", "(", "insn", ")", "!=", "TYPE_BRANCH", ")", "{", "*", "cost", "=", "3", ";", "return", "false", ";", "}", "if", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "COND_EXEC", "||", "get_attr_conds", "(", "insn", ")", "==", "CONDS_USE", ")", "{", "*", "cost", "=", "0", ";", "return", "false", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Adjust", "cost", "hook", "for", "FA726TE", "."], "TS_V_token": ["arm", "0", "0", "3", "0"], "File": "arm4", "Func": "fa726te_sched_adjust_cost", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16378, "Length": 111, "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", "::", "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", "::", "Wrapper", ":", "return", "\"MipsISD::Wrapper\"", ";", "case", "MipsISD", "::", "DynAlloc", ":", "return", "\"MipsISD::DynAlloc\"", ";", "case", "MipsISD", "::", "Sync", ":", "return", "\"MipsISD::Sync\"", ";", "case", "MipsISD", "::", "Ext", ":", "return", "\"MipsISD::Ext\"", ";", "case", "MipsISD", "::", "Ins", ":", "return", "\"MipsISD::Ins\"", ";", "case", "MipsISD", "::", "LWL", ":", "return", "\"MipsISD::LWL\"", ";", "case", "MipsISD", "::", "LWR", ":", "return", "\"MipsISD::LWR\"", ";", "case", "MipsISD", "::", "SWL", ":", "return", "\"MipsISD::SWL\"", ";", "case", "MipsISD", "::", "SWR", ":", "return", "\"MipsISD::SWR\"", ";", "case", "MipsISD", "::", "LDL", ":", "return", "\"MipsISD::LDL\"", ";", "case", "MipsISD", "::", "LDR", ":", "return", "\"MipsISD::LDR\"", ";", "case", "MipsISD", "::", "SDL", ":", "return", "\"MipsISD::SDL\"", ";", "case", "MipsISD", "::", "SDR", ":", "return", "\"MipsISD::SDR\"", ";", "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::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::Wrapper", "\"MipsISD::Wrapper\"", "MipsISD::DynAlloc", "\"MipsISD::DynAlloc\"", "MipsISD::Sync", "\"MipsISD::Sync\"", "MipsISD::Ext", "\"MipsISD::Ext\"", "MipsISD::Ins", "\"MipsISD::Ins\"", "MipsISD::LWL", "\"MipsISD::LWL\"", "MipsISD::LWR", "\"MipsISD::LWR\"", "MipsISD::SWL", "\"MipsISD::SWL\"", "MipsISD::SWR", "\"MipsISD::SWR\"", "MipsISD::LDL", "\"MipsISD::LDL\"", "MipsISD::LDR", "\"MipsISD::LDR\"", "MipsISD::SDL", "\"MipsISD::SDL\"", "MipsISD::SDR", "\"MipsISD::SDR\""], "File": "MipsISelLowering39", "Func": "getTargetNodeName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16379, "Length": 280, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "require_pic_register", "(", "void", ")", "{", "if", "(", "!", "crtl", "->", "uses_pic_offset_table", ")", "{", "gcc_assert", "(", "can_create_pseudo_p", "(", ")", ")", ";", "if", "(", "arm_pic_register", "!=", "INVALID_REGNUM", "&&", "!", "(", "TARGET_THUMB1", "&&", "arm_pic_register", ">", "LAST_LO_REGNUM", ")", ")", "{", "if", "(", "!", "cfun", "->", "machine", "->", "pic_reg", ")", "cfun", "->", "machine", "->", "pic_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "arm_pic_register", ")", ";", "if", "(", "current_ir_type", "(", ")", "!=", "IR_GIMPLE", "||", "currently_expanding_to_rtl", ")", "crtl", "->", "uses_pic_offset_table", "=", "1", ";", "}", "else", "{", "rtx_insn", "*", "seq", ",", "*", "insn", ";", "if", "(", "!", "cfun", "->", "machine", "->", "pic_reg", ")", "cfun", "->", "machine", "->", "pic_reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "if", "(", "current_ir_type", "(", ")", "!=", "IR_GIMPLE", "||", "currently_expanding_to_rtl", ")", "{", "crtl", "->", "uses_pic_offset_table", "=", "1", ";", "start_sequence", "(", ")", ";", "if", "(", "TARGET_THUMB1", "&&", "arm_pic_register", "!=", "INVALID_REGNUM", "&&", "arm_pic_register", ">", "LAST_LO_REGNUM", ")", "emit_move_insn", "(", "cfun", "->", "machine", "->", "pic_reg", ",", "gen_rtx_REG", "(", "Pmode", ",", "arm_pic_register", ")", ")", ";", "else", "arm_load_pic_register", "(", "0UL", ")", ";", "seq", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "for", "(", "insn", "=", "seq", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "if", "(", "INSN_P", "(", "insn", ")", ")", "INSN_LOCATION", "(", "insn", ")", "=", "prologue_location", ";", "insert_insn_on_edge", "(", "seq", ",", "single_succ_edge", "(", "ENTRY_BLOCK_PTR_FOR_FN", "(", "cfun", ")", ")", ")", ";", "}", "}", "}", "}", ""], "natrual_language": ["Record", "that", "the", "current", "function", "needs", "a", "PIC", "register", ".", "Initialize", "cfun-", ">", "machine-", ">", "pic_reg", "if", "we", "have", "not", "already", "done", "so", "."], "TS_V_token": ["arm", "1", "1", "0UL"], "File": "arm4", "Func": "require_pic_register", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16380, "Length": 217, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "scalar_chain", "::", "~", "scalar_chain", "(", ")", "{", "BITMAP_FREE", "(", "insns", ")", ";", "BITMAP_FREE", "(", "defs", ")", ";", "BITMAP_FREE", "(", "defs_conv", ")", ";", "BITMAP_FREE", "(", "insns_conv", ")", ";", "bitmap_obstack_release", "(", "NULL", ")", ";", "}", ""], "natrual_language": ["Free", "chain", "'s", "data", "."], "TS_V_token": ["i386"], "File": "i386-features1", "Func": "~scalar_chain", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16381, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMem", "(", "MemoryKind", "MemKind", ",", "RegisterKind", "RegKind", ")", "const", "{", "return", "isMem", "(", "MemKind", ")", "&&", "Mem", ".", "RegKind", "==", "RegKind", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["SystemZ"], "File": "SystemZAsmParser (2)", "Func": "isMem", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16382, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZInstPrinter", "::", "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": ["SystemZ", "SystemZ"], "File": "SystemZInstPrinter10", "Func": "printInst", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16383, "Length": 43, "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": 16384, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "loongarch_const_insns", "(", "rtx", "x", ")", "{", "enum", "loongarch_symbol_type", "symbol_type", ";", "rtx", "offset", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "HIGH", ":", "if", "(", "!", "loongarch_symbolic_constant_p", "(", "XEXP", "(", "x", ",", "0", ")", ",", "&", "symbol_type", ")", "||", "!", "loongarch_split_symbol_type", "(", "symbol_type", ")", ")", "return", "0", ";", "return", "1", ";", "case", "CONST_INT", ":", "return", "loongarch_integer_cost", "(", "INTVAL", "(", "x", ")", ")", ";", "case", "CONST_VECTOR", ":", "case", "CONST_DOUBLE", ":", "return", "x", "==", "CONST0_RTX", "(", "GET_MODE", "(", "x", ")", ")", "?", "1", ":", "0", ";", "case", "CONST", ":", "if", "(", "loongarch_symbolic_constant_p", "(", "x", ",", "&", "symbol_type", ")", ")", "return", "loongarch_symbol_insns", "(", "symbol_type", ",", "MAX_MACHINE_MODE", ")", ";", "split_const", "(", "x", ",", "&", "x", ",", "&", "offset", ")", ";", "if", "(", "offset", "!=", "0", ")", "{", "int", "n", "=", "loongarch_const_insns", "(", "x", ")", ";", "if", "(", "n", "!=", "0", ")", "{", "if", "(", "IMM12_INT", "(", "offset", ")", ")", "return", "n", "+", "1", ";", "else", "if", "(", "!", "targetm", ".", "cannot_force_const_mem", "(", "GET_MODE", "(", "x", ")", ",", "x", ")", ")", "return", "n", "+", "1", "+", "loongarch_integer_cost", "(", "INTVAL", "(", "offset", ")", ")", ";", "}", "}", "return", "0", ";", "case", "SYMBOL_REF", ":", "case", "LABEL_REF", ":", "return", "loongarch_symbol_insns", "(", "loongarch_classify_symbol", "(", "x", ")", ",", "MAX_MACHINE_MODE", ")", ";", "default", ":", "return", "0", ";", "}", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "needed", "to", "load", "constant", "X", ",", "Return", "0", "if", "X", "is", "n't", "a", "valid", "constant", "."], "TS_V_token": ["loongarch", "0", "0", "1", "1", "0", "0", "0", "1", "1", "0", "0"], "File": "loongarch1", "Func": "loongarch_const_insns", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16385, "Length": 210, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SparcTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Should not custom lower this!\"", ")", ";", "case", "ISD", "::", "FNEG", ":", "case", "ISD", "::", "FABS", ":", "return", "LowerF64Op", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "LowerRETURNADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "llvm_unreachable", "(", "\"TLS not implemented for Sparc.\"", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "LowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "LowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FP_TO_SINT", ":", "return", "LowerFP_TO_SINT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SINT_TO_FP", ":", "return", "LowerSINT_TO_FP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBR_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ",", "*", "this", ")", ";", "case", "ISD", "::", "VAARG", ":", "return", "LowerVAARG", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "LowerDYNAMIC_STACKALLOC", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Sparc", "Sparc", "\"Should not custom lower this!\"", "ISD::FNEG", "ISD::FABS", "ISD::RETURNADDR", "ISD::FRAMEADDR", "ISD::GlobalTLSAddress", "\"TLS not implemented for Sparc.\"", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::ConstantPool", "ISD::FP_TO_SINT", "ISD::SINT_TO_FP", "ISD::BR_CC", "ISD::SELECT_CC", "ISD::VASTART", "ISD::VAARG", "ISD::DYNAMIC_STACKALLOC"], "File": "SparcISelLowering101", "Func": "LowerOperation", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16386, "Length": 219, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "unsigned", "SP", "=", "STI", ".", "getABI", "(", ")", ".", "IsN64", "(", ")", "?", "Mips", "::", "SP_64", ":", "Mips", "::", "SP", ";", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "int64_t", "Amount", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "Mips", "::", "ADJCALLSTACKDOWN", ")", "Amount", "=", "-", "Amount", ";", "STI", ".", "getInstrInfo", "(", ")", "->", "adjustStackPtr", "(", "SP", ",", "Amount", ",", "MBB", ",", "I", ")", ";", "}", "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": ["Mips", "Mips", "Mips::SP_64", "Mips::SP", "0", "Mips::ADJCALLSTACKDOWN"], "File": "MipsFrameLowering (2)", "Func": "eliminateCallFramePseudoInstr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16387, "Length": 107, "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": 16388, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "PASS_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64"], "File": "AArch64ExpandHardenedPseudos", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16389, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMConstantIslands", "::", "verify", "(", ")", "{", "for", "(", "MachineFunction", "::", "iterator", "MBBI", "=", "MF", "->", "begin", "(", ")", ",", "E", "=", "MF", "->", "end", "(", ")", ";", "MBBI", "!=", "E", ";", "++", "MBBI", ")", "{", "MachineBasicBlock", "*", "MBB", "=", "MBBI", ";", "unsigned", "Align", "=", "MBB", "->", "getAlignment", "(", ")", ";", "unsigned", "MBBId", "=", "MBB", "->", "getNumber", "(", ")", ";", "assert", "(", "BBInfo", "[", "MBBId", "]", ".", "Offset", "%", "(", "1u", "<<", "Align", ")", "==", "0", ")", ";", "assert", "(", "!", "MBBId", "||", "BBInfo", "[", "MBBId", "-", "1", "]", ".", "postOffset", "(", ")", "<=", "BBInfo", "[", "MBBId", "]", ".", "Offset", ")", ";", "}", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Verifying \"", "<<", "CPUsers", ".", "size", "(", ")", "<<", "\" CP users.\\n\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CPUsers", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CPUser", "&", "U", "=", "CPUsers", "[", "i", "]", ";", "unsigned", "UserOffset", "=", "getUserOffset", "(", "U", ")", ";", "if", "(", "isCPEntryInRange", "(", "U", ".", "MI", ",", "UserOffset", ",", "U", ".", "CPEMI", ",", "U", ".", "getMaxDisp", "(", ")", "+", "2", ",", "U", ".", "NegOk", ",", "true", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"OK\\n\"", ")", ";", "continue", ";", "}", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Out of range.\\n\"", ")", ";", "dumpBBs", "(", ")", ";", "DEBUG", "(", "MF", "->", "dump", "(", ")", ")", ";", "llvm_unreachable", "(", "\"Constant pool entry out of range!\"", ")", ";", "}", "}", ""], "natrual_language": ["Check", "if", "this", "register", "bank", "is", "valid", "."], "TS_V_token": ["ARM", "ARM", "1u", "0", "1", "\"Verifying \"", "\" CP users.\\n\"", "0", "2", "\"OK\\n\"", "\"Out of range.\\n\"", "\"Constant pool entry out of range!\""], "File": "ARMConstantIslandPass10", "Func": "verify", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16390, "Length": 231, "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", "=", "isReleaseOrStronger", "(", "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)", "Func": "emitStoreConditional", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16391, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "override", "{", "storeRegToStack", "(", "MBB", ",", "MBBI", ",", "SrcReg", ",", "isKill", ",", "FrameIndex", ",", "RC", ",", "TRI", ",", "0", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["Mips", "0"], "File": "MipsInstrInfo (2)", "Func": "storeRegToStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16392, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_evpc_zip", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "int", "i", ",", "high", ",", "mask", ",", "nelt", "=", "d", "->", "nelt", ";", "rtx", "out", ",", "in0", ",", "in1", ",", "x", ";", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "machine_mode", "vmode", "=", "d", "->", "vmode", ";", "if", "(", "GET_MODE_UNIT_SIZE", "(", "vmode", ")", ">", "8", ")", "return", "false", ";", "high", "=", "nelt", "/", "2", ";", "if", "(", "d", "->", "perm", "[", "0", "]", "==", "high", ")", ";", "else", "if", "(", "d", "->", "perm", "[", "0", "]", "==", "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", "=", "(", "i", "+", "high", ")", "&", "mask", ";", "if", "(", "d", "->", "perm", "[", "i", "*", "2", "]", "!=", "elt", ")", "return", "false", ";", "elt", "=", "(", "elt", "+", "nelt", ")", "&", "mask", ";", "if", "(", "d", "->", "perm", "[", "i", "*", "2", "+", "1", "]", "!=", "elt", ")", "return", "false", ";", "}", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "in0", "=", "d", "->", "op0", ";", "in1", "=", "d", "->", "op1", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "{", "x", "=", "in0", ",", "in0", "=", "in1", ",", "in1", "=", "x", ";", "high", "=", "!", "high", ";", "}", "out", "=", "d", "->", "target", ";", "if", "(", "high", ")", "{", "switch", "(", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_aarch64_zip2v16qi", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_aarch64_zip2v8qi", ";", "break", ";", "case", "V8HImode", ":", "gen", "=", "gen_aarch64_zip2v8hi", ";", "break", ";", "case", "V4HImode", ":", "gen", "=", "gen_aarch64_zip2v4hi", ";", "break", ";", "case", "V4SImode", ":", "gen", "=", "gen_aarch64_zip2v4si", ";", "break", ";", "case", "V2SImode", ":", "gen", "=", "gen_aarch64_zip2v2si", ";", "break", ";", "case", "V2DImode", ":", "gen", "=", "gen_aarch64_zip2v2di", ";", "break", ";", "case", "V4SFmode", ":", "gen", "=", "gen_aarch64_zip2v4sf", ";", "break", ";", "case", "V2SFmode", ":", "gen", "=", "gen_aarch64_zip2v2sf", ";", "break", ";", "case", "V2DFmode", ":", "gen", "=", "gen_aarch64_zip2v2df", ";", "break", ";", "default", ":", "return", "false", ";", "}", "}", "else", "{", "switch", "(", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_aarch64_zip1v16qi", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_aarch64_zip1v8qi", ";", "break", ";", "case", "V8HImode", ":", "gen", "=", "gen_aarch64_zip1v8hi", ";", "break", ";", "case", "V4HImode", ":", "gen", "=", "gen_aarch64_zip1v4hi", ";", "break", ";", "case", "V4SImode", ":", "gen", "=", "gen_aarch64_zip1v4si", ";", "break", ";", "case", "V2SImode", ":", "gen", "=", "gen_aarch64_zip1v2si", ";", "break", ";", "case", "V2DImode", ":", "gen", "=", "gen_aarch64_zip1v2di", ";", "break", ";", "case", "V4SFmode", ":", "gen", "=", "gen_aarch64_zip1v4sf", ";", "break", ";", "case", "V2SFmode", ":", "gen", "=", "gen_aarch64_zip1v2sf", ";", "break", ";", "case", "V2DFmode", ":", "gen", "=", "gen_aarch64_zip1v2df", ";", "break", ";", "default", ":", "return", "false", ";", "}", "}", "emit_insn", "(", "gen", "(", "out", ",", "in0", ",", "in1", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "suitable", "for", "the", "ZIP", "instructions", "."], "TS_V_token": ["aarch64", "8", "2", "0", "0", "0", "0", "1", "2", "1", "0", "2", "2", "2", "1"], "File": "aarch642", "Func": "aarch64_evpc_zip", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16393, "Length": 470, "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", "(", ")", ",", "64", ")", ";", "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", "64", "X86::sub_32bit"], "File": "X86InstrInfo (2)5", "Func": "classifyLEAReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16394, "Length": 349, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_modes_tieable_p", "(", "machine_mode", "mode1", ",", "machine_mode", "mode2", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "mode1", ")", "==", "GET_MODE_CLASS", "(", "mode2", ")", ")", "return", "true", ";", "if", "(", "aarch64_vector_data_mode_p", "(", "mode1", ")", "&&", "aarch64_vector_data_mode_p", "(", "mode2", ")", ")", "return", "true", ";", "if", "(", "aarch64_vector_mode_supported_p", "(", "mode1", ")", "||", "aarch64_vector_mode_supported_p", "(", "mode2", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "MODES_TIEABLE_P", ".", "In", "principle", "we", "should", "always", "return", "true", ".", "However", "due", "to", "issues", "with", "register", "allocation", "it", "is", "preferable", "to", "avoid", "tieing", "integer", "scalar", "and", "FP", "scalar", "modes", ".", "Executing", "integer", "operations", "in", "general", "registers", "is", "better", "than", "treating", "them", "as", "scalar", "vector", "operations", ".", "This", "reduces", "latency", "and", "avoids", "redundant", "int", "<", "-", ">", "FP", "moves", ".", "So", "tie", "modes", "if", "they", "are", "either", "the", "same", "class", ",", "or", "vector", "modes", "with", "other", "vector", "modes", ",", "vector", "structs", "or", "any", "scalar", "mode", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_modes_tieable_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16395, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "uses_TOC", "(", "void", ")", "{", "rtx_insn", "*", "insn", ";", "int", "ret", "=", "1", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "if", "(", "INSN_P", "(", "insn", ")", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "int", "i", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", ")", "for", "(", "i", "=", "0", ";", "i", "<", "XVECLEN", "(", "pat", ",", "0", ")", ";", "i", "++", ")", "{", "rtx", "sub", "=", "XVECEXP", "(", "pat", ",", "0", ",", "i", ")", ";", "if", "(", "GET_CODE", "(", "sub", ")", "==", "USE", ")", "{", "sub", "=", "XEXP", "(", "sub", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "sub", ")", "==", "UNSPEC", "&&", "XINT", "(", "sub", ",", "1", ")", "==", "UNSPEC_TOC", ")", "return", "ret", ";", "}", "}", "}", "else", "if", "(", "crtl", "->", "has_bb_partition", "&&", "NOTE_P", "(", "insn", ")", "&&", "NOTE_KIND", "(", "insn", ")", "==", "NOTE_INSN_SWITCH_TEXT_SECTIONS", ")", "ret", "=", "2", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["This", "retuns", "nonzero", "if", "the", "current", "function", "uses", "the", "TOC", ".", "This", "is", "determined", "by", "the", "presence", "of", "(", "unspec", "...", "7", ")", ",", "which", "is", "generated", "by", "the", "various", "load_toc_", "*", "patterns", "."], "TS_V_token": ["rs6000", "1", "0", "0", "0", "0", "1", "2", "0"], "File": "rs6000-logue", "Func": "uses_TOC", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16396, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "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", ")", "{", "unsigned", "Align", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", "->", "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", ",", "Pred", ",", "PredReg", ")", ";", "}", "else", "{", "unsigned", "PredReg", "=", "Old", "->", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", ";", "assert", "(", "Opc", "==", "ARM", "::", "ADJCALLSTACKUP", "||", "Opc", "==", "ARM", "::", "tADJCALLSTACKUP", ")", ";", "emitSPUpdate", "(", "isARM", ",", "MBB", ",", "I", ",", "dl", ",", "TII", ",", "Amount", ",", "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", "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": "ARMBaseRegisterInfo12", "Func": "eliminateCallFramePseudoInstr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16397, "Length": 292, "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": 16398, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "LLT", "Ty", ",", "unsigned", "AddrSpace", ",", "Align", "Alignment", ",", "MachineMemOperand", "::", "Flags", "Flags", ",", "bool", "*", "Fast", ")", "const", "{", "if", "(", "Subtarget", "->", "requiresStrictAlign", "(", ")", ")", "return", "false", ";", "if", "(", "Fast", ")", "{", "*", "Fast", "=", "!", "Subtarget", "->", "isMisaligned128StoreSlow", "(", ")", "||", "Ty", ".", "getSizeInBytes", "(", ")", "!=", "16", "||", "Alignment", "<=", "2", "||", "Ty", "==", "LLT", "::", "fixed_vector", "(", "2", ",", "64", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["AArch64", "AArch64", "16", "2", "2", "64"], "File": "AArch64ISelLowering (2)2", "Func": "allowsMisalignedMemoryAccesses", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16399, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CSKYAsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ")", "const", "{", "if", "(", "Count", "%", "2", ")", "return", "false", ";", "while", "(", "Count", ">=", "4", ")", "{", "OS", ".", "write", "(", "\"\\xc4\\x00\\x48\\x20\"", ",", "4", ")", ";", "Count", "-=", "4", ";", "}", "if", "(", "Count", ")", "OS", ".", "write", "(", "\"\\x6c\\x03\"", ",", "2", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["CSKY", "CSKY", "2", "4", "\"\\xc4\\x00\\x48\\x20\"", "4", "4", "\"\\x6c\\x03\"", "2"], "File": "CSKYAsmBackend2", "Func": "writeNopData", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16400, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "save_reg_p", "(", "int", "r", ")", "{", "return", "!", "call_used_regs", "[", "r", "]", "&&", "df_regs_ever_live_p", "(", "r", ")", ";", "}", ""], "natrual_language": ["Determine", "whether", "the", "REG", "is", "really", "used", "."], "TS_V_token": ["rs6000"], "File": "rs60004", "Func": "save_reg_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16401, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "ARMSubtarget", "*", "getSubtarget", "(", ")", "{", "return", "Subtarget", ";", "}", ""], "natrual_language": ["getSubtarget", "-", "Return", "the", "subtarget", "for", "which", "this", "machine", "code", "is", "being", "compiled", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMISelLowering106", "Func": "getSubtarget", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16402, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isBranch", "(", "const", "MCInst", "&", "Inst", ")", "{", "unsigned", "Opcode", "=", "Inst", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "false", ";", "break", ";", "case", "AArch64", "::", "B", ":", "case", "AArch64", "::", "Bcc", ":", "case", "AArch64", "::", "BR", ":", "case", "AArch64", "::", "BRAA", ":", "case", "AArch64", "::", "BRAAZ", ":", "case", "AArch64", "::", "BRAB", ":", "case", "AArch64", "::", "BRABZ", ":", "case", "AArch64", "::", "BL", ":", "case", "AArch64", "::", "BLR", ":", "case", "AArch64", "::", "BLRAA", ":", "case", "AArch64", "::", "BLRAAZ", ":", "case", "AArch64", "::", "BLRAB", ":", "case", "AArch64", "::", "BLRABZ", ":", "case", "AArch64", "::", "CBZW", ":", "case", "AArch64", "::", "CBZX", ":", "case", "AArch64", "::", "CBNZW", ":", "case", "AArch64", "::", "CBNZX", ":", "case", "AArch64", "::", "CCMPWr", ":", "case", "AArch64", "::", "CCMPXr", ":", "case", "AArch64", "::", "G_FCMP", ":", "case", "AArch64", "::", "G_ICMP", ":", "case", "AArch64", "::", "TBZW", ":", "case", "AArch64", "::", "TBZX", ":", "case", "AArch64", "::", "TBNZW", ":", "case", "AArch64", "::", "TBNZX", ":", "case", "AArch64", "::", "RET", ":", "case", "AArch64", "::", "RETAA", ":", "case", "AArch64", "::", "RETAB", ":", "case", "AArch64", "::", "SVC", ":", "return", "true", ";", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "this", "is", "a", "conditional", ",", "unconditional", ",", "or", "indirect", "branch", "."], "TS_V_token": ["AArch64", "AArch64::B", "AArch64::Bcc", "AArch64::BR", "AArch64::BRAA", "AArch64::BRAAZ", "AArch64::BRAB", "AArch64::BRABZ", "AArch64::BL", "AArch64::BLR", "AArch64::BLRAA", "AArch64::BLRAAZ", "AArch64::BLRAB", "AArch64::BLRABZ", "AArch64::CBZW", "AArch64::CBZX", "AArch64::CBNZW", "AArch64::CBNZX", "AArch64::CCMPWr", "AArch64::CCMPXr", "AArch64::G_FCMP", "AArch64::G_ICMP", "AArch64::TBZW", "AArch64::TBZX", "AArch64::TBNZW", "AArch64::TBNZX", "AArch64::RET", "AArch64::RETAA", "AArch64::RETAB", "AArch64::SVC"], "File": "AArch64BranchTargetAligner", "Func": "isBranch", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16403, "Length": 186, "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": ["AArch64"], "File": "AArch64TargetMachine", "Func": "getDataLayout", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16404, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isZero", "(", ")", "const", "{", "return", "K", "==", "ConstZero", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "expression", "is", "a", "constant", "zero", "."], "TS_V_token": ["PowerPC"], "File": "PPCISelDAGToDAG (2)1", "Func": "isZero", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16405, "Length": 12, "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", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "ARM", "::", "GPRRegisterClass", "||", "RC", "==", "ARM", "::", "tGPRRegisterClass", ")", "{", "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", "ARM::tGPRRegisterClass", "0", "ARM::t2LDRi12", "0", "ARM"], "File": "Thumb2InstrInfo4", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16406, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiAsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", ")", "const", "{", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "static_cast", "<", "unsigned", ">", "(", "Kind", ")", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "+", "7", ")", "/", "8", ";", "unsigned", "FullSize", "=", "4", ";", "uint64_t", "CurVal", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "(", "FullSize", "-", "1", "-", "i", ")", ";", "CurVal", "|=", "static_cast", "<", "uint64_t", ">", "(", "static_cast", "<", "uint8_t", ">", "(", "Data", "[", "Offset", "+", "Idx", "]", ")", ")", "<<", "(", "i", "*", "8", ")", ";", "}", "uint64_t", "Mask", "=", "(", "static_cast", "<", "uint64_t", ">", "(", "-", "1", ")", ">>", "(", "64", "-", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", ")", ";", "CurVal", "|=", "Value", "&", "Mask", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "(", "FullSize", "-", "1", "-", "i", ")", ";", "Data", "[", "Offset", "+", "Idx", "]", "=", "static_cast", "<", "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": ["Lanai", "Lanai", "7", "8", "4", "0", "0", "1", "8", "1", "64", "0", "1", "8", "0xff"], "File": "LanaiAsmBackend", "Func": "applyFixup", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16407, "Length": 237, "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": 16408, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "moncontrol", "(", "int", "mode", ")", "{", "if", "(", "mode", ")", "{", "profil", "(", "(", "unsigned", "short", "*", ")", "(", "sbuf", "+", "sizeof", "(", "struct", "phdr", ")", ")", ",", "ssiz", "-", "sizeof", "(", "struct", "phdr", ")", ",", "(", "long", ")", "s_lowpc", ",", "s_scale", ")", ";", "profiling", "=", "0", ";", "}", "else", "{", "profil", "(", "(", "unsigned", "short", "*", ")", "0", ",", "0", ",", "0", ",", "0", ")", ";", "profiling", "=", "3", ";", "}", "}", ""], "natrual_language": ["Control", "profiling", "*", "profiling", "is", "what", "mcount", "checks", "to", "see", "if", "*", "all", "the", "data", "structures", "are", "ready", "."], "TS_V_token": ["sparc", "0", "0", "0", "0", "0", "3"], "File": "gmon-sol21", "Func": "moncontrol", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16409, "Length": 75, "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": 16410, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "getScalarShiftAmountTy", "(", "const", "DataLayout", "&", ",", "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": ["SystemZ", "MVT::i32"], "File": "SystemZISelLowering (2)", "Func": "getScalarShiftAmountTy", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16411, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "PPCInstrInfo", "::", "findLoopInstr", "(", "MachineBasicBlock", "&", "PreHeader", ",", "SmallPtrSet", "<", "MachineBasicBlock", "*", ",", "8", ">", "&", "Visited", ")", "const", "{", "unsigned", "LOOPi", "=", "(", "Subtarget", ".", "isPPC64", "(", ")", "?", "PPC", "::", "MTCTR8loop", ":", "PPC", "::", "MTCTRloop", ")", ";", "for", "(", "auto", "&", "I", ":", "PreHeader", ".", "instrs", "(", ")", ")", "if", "(", "I", ".", "getOpcode", "(", ")", "==", "LOOPi", ")", "return", "&", "I", ";", "return", "nullptr", ";", "}", ""], "natrual_language": ["Find", "the", "hardware", "loop", "instruction", "used", "to", "set-up", "the", "specified", "loop", "."], "TS_V_token": ["PowerPC", "PPC", "8", "PPC", "PPC::MTCTR8loop", "PPC::MTCTRloop"], "File": "PPCInstrInfo", "Func": "findLoopInstr", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16412, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb2InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "ARM", "::", "GPRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "t2LDRi12", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "return", ";", "}", "if", "(", "ARM", "::", "GPRPairRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "DestReg", ")", ")", "{", "MachineRegisterInfo", "*", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "MRI", "->", "constrainRegClass", "(", "DestReg", ",", "&", "ARM", "::", "GPRPair_with_gsub_1_in_rGPRRegClass", ")", ";", "}", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "t2LDRDi8", ")", ")", ";", "AddDReg", "(", "MIB", ",", "DestReg", ",", "ARM", "::", "gsub_0", ",", "RegState", "::", "DefineNoRead", ",", "TRI", ")", ";", "AddDReg", "(", "MIB", ",", "DestReg", ",", "ARM", "::", "gsub_1", ",", "RegState", "::", "DefineNoRead", ",", "TRI", ")", ";", "MIB", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "if", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "DestReg", ")", ")", "MIB", ".", "addReg", "(", "DestReg", ",", "RegState", "::", "ImplicitDefine", ")", ";", "return", ";", "}", "ARMBaseInstrInfo", "::", "loadRegFromStackSlot", "(", "MBB", ",", "I", ",", "DestReg", ",", "FI", ",", "RC", ",", "TRI", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM::GPRRegClass", "ARM::t2LDRi12", "0", "ARMCC::AL", "ARM::GPRPairRegClass", "ARM::GPRPair_with_gsub_1_in_rGPRRegClass", "ARM::t2LDRDi8", "ARM::gsub_0", "ARM::gsub_1", "0", "ARMCC::AL", "ARM"], "File": "Thumb2InstrInfo (2)1", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16413, "Length": 335, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "mips_hard_regno_nregs", "(", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "ST_REG_P", "(", "regno", ")", ")", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "3", ")", "/", "4", ";", "if", "(", "FP_REG_P", "(", "regno", ")", ")", "{", "if", "(", "MSA_SUPPORTED_MODE_P", "(", "mode", ")", ")", "return", "1", ";", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_FPREG", "-", "1", ")", "/", "UNITS_PER_FPREG", ";", "}", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Implement", "HARD_REGNO_NREGS", "."], "TS_V_token": ["mips", "3", "4", "1", "1", "1"], "File": "mips6", "Func": "mips_hard_regno_nregs", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16414, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ArrayRef", "<", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">>", "AArch64InstrInfo", "::", "getSerializableDirectMachineOperandTargetFlags", "(", ")", "const", "{", "using", "namespace", "AArch64II", ";", "static", "const", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">", "TargetFlags", "[", "]", "=", "{", "{", "MO_PAGE", ",", "\"aarch64-page\"", "}", ",", "{", "MO_PAGEOFF", ",", "\"aarch64-pageoff\"", "}", ",", "{", "MO_G3", ",", "\"aarch64-g3\"", "}", ",", "{", "MO_G2", ",", "\"aarch64-g2\"", "}", ",", "{", "MO_G1", ",", "\"aarch64-g1\"", "}", ",", "{", "MO_G0", ",", "\"aarch64-g0\"", "}", ",", "{", "MO_HI12", ",", "\"aarch64-hi12\"", "}", "}", ";", "return", "makeArrayRef", "(", "TargetFlags", ")", ";", "}", ""], "natrual_language": ["Return", "an", "array", "that", "contains", "the", "direct", "target", "flag", "values", "and", "their", "names", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "\"aarch64-page\"", "\"aarch64-pageoff\"", "\"aarch64-g3\"", "\"aarch64-g2\"", "\"aarch64-g1\"", "\"aarch64-g0\"", "\"aarch64-hi12\""], "File": "AArch64InstrInfo (2)", "Func": "getSerializableDirectMachineOperandTargetFlags", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16415, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb1InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "Register", "SrcReg", ",", "bool", "isKill", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "assert", "(", "(", "RC", "==", "&", "ARM", "::", "tGPRRegClass", "||", "(", "Register", "::", "isPhysicalRegister", "(", "SrcReg", ")", "&&", "isARMLowRegister", "(", "SrcReg", ")", ")", ")", "&&", "\"Unknown regclass!\"", ")", ";", "if", "(", "RC", "==", "&", "ARM", "::", "tGPRRegClass", "||", "(", "Register", "::", "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", "(", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tSTRspi", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "}", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM::tGPRRegClass", "ARM", "\"Unknown regclass!\"", "ARM::tGPRRegClass", "ARM", "ARM::tSTRspi", "0", "ARMCC::AL"], "File": "Thumb1InstrInfo26", "Func": "storeRegToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16416, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_emit_sve_or_conds", "(", "rtx", "target", ",", "rtx_code", "code1", ",", "rtx_code", "code2", ",", "rtx", "ptrue", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "machine_mode", "pred_mode", "=", "GET_MODE", "(", "ptrue", ")", ";", "rtx", "tmp1", "=", "gen_reg_rtx", "(", "pred_mode", ")", ";", "aarch64_emit_sve_ptrue_op", "(", "tmp1", ",", "ptrue", ",", "gen_rtx_fmt_ee", "(", "code1", ",", "pred_mode", ",", "op0", ",", "op1", ")", ")", ";", "rtx", "tmp2", "=", "gen_reg_rtx", "(", "pred_mode", ")", ";", "aarch64_emit_sve_ptrue_op", "(", "tmp2", ",", "ptrue", ",", "gen_rtx_fmt_ee", "(", "code2", ",", "pred_mode", ",", "op0", ",", "op1", ")", ")", ";", "aarch64_emit_binop", "(", "target", ",", "ior_optab", ",", "tmp1", ",", "tmp2", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "SVE", "equivalent", "of", ":", "(", "set", "TMP1", "(", "CODE1", "OP0", "OP1", ")", ")", "(", "set", "TMP2", "(", "CODE2", "OP0", "OP1", ")", ")", "(", "set", "TARGET", "(", "ior", ":", "PRED_MODE", "TMP1", "TMP2", ")", ")", "PTRUE", "is", "an", "all-true", "predicate", "with", "the", "same", "mode", "as", "TARGET", "."], "TS_V_token": ["aarch64"], "File": "aarch646", "Func": "aarch64_emit_sve_or_conds", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16417, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "symbian_export_vtable_and_rtti_p", "(", "tree", "ctype", ")", "{", "bool", "inline_ctor_dtor", ";", "bool", "dllimport_ctor_dtor", ";", "bool", "dllimport_member", ";", "tree", "binfo", ",", "base_binfo", ";", "VEC", "(", "tree", ",", "gc", ")", "*", "method_vec", ";", "tree", "key", ";", "int", "i", ";", "int", "len", ";", "if", "(", "TREE_CODE", "(", "ctype", ")", "!=", "RECORD_TYPE", ")", "{", "print_node_brief", "(", "stderr", ",", "\"\"", ",", "ctype", ",", "0", ")", ";", "fprintf", "(", "stderr", ",", "\" does NOT need to be EXPORTed [not a class]\\n\"", ")", ";", "return", "false", ";", "}", "if", "(", "(", "key", "=", "CLASSTYPE_KEY_METHOD", "(", "ctype", ")", ")", "==", "NULL_TREE", ")", "{", "print_node_brief", "(", "stderr", ",", "\"\"", ",", "ctype", ",", "0", ")", ";", "fprintf", "(", "stderr", ",", "\" does NOT need to be EXPORTed [no key function]\\n\"", ")", ";", "return", "false", ";", "}", "if", "(", "!", "TREE_ASM_WRITTEN", "(", "key", ")", ")", "{", "print_node_brief", "(", "stderr", ",", "\"\"", ",", "ctype", ",", "0", ")", ";", "fprintf", "(", "stderr", ",", "\" does NOT need to be EXPORTed [key function not defined]\\n\"", ")", ";", "return", "false", ";", "}", "inline_ctor_dtor", "=", "false", ";", "dllimport_ctor_dtor", "=", "false", ";", "dllimport_member", "=", "false", ";", "method_vec", "=", "CLASSTYPE_METHOD_VEC", "(", "ctype", ")", ";", "len", "=", "method_vec", "?", "VEC_length", "(", "tree", ",", "method_vec", ")", ":", "0", ";", "for", "(", ";", "len", "--", ";", ")", "{", "tree", "member", "=", "VEC_index", "(", "tree", ",", "method_vec", ",", "len", ")", ";", "if", "(", "!", "member", ")", "continue", ";", "for", "(", "member", "=", "OVL_CURRENT", "(", "member", ")", ";", "member", ";", "member", "=", "OVL_NEXT", "(", "member", ")", ")", "{", "if", "(", "TREE_CODE", "(", "member", ")", "!=", "FUNCTION_DECL", ")", "continue", ";", "if", "(", "DECL_CONSTRUCTOR_P", "(", "member", ")", "||", "DECL_DESTRUCTOR_P", "(", "member", ")", ")", "{", "if", "(", "DECL_INLINE", "(", "member", ")", "&&", "(", "DECL_MAYBE_IN_CHARGE_CONSTRUCTOR_P", "(", "member", ")", "||", "DECL_MAYBE_IN_CHARGE_DESTRUCTOR_P", "(", "member", ")", ")", ")", "inline_ctor_dtor", "=", "true", ";", "if", "(", "lookup_attribute", "(", "\"dllimport\"", ",", "DECL_ATTRIBUTES", "(", "member", ")", ")", ")", "dllimport_ctor_dtor", "=", "true", ";", "}", "else", "{", "if", "(", "DECL_PURE_VIRTUAL_P", "(", "member", ")", ")", "continue", ";", "if", "(", "!", "DECL_VIRTUAL_P", "(", "member", ")", ")", "continue", ";", "if", "(", "DECL_INLINE", "(", "member", ")", ")", "continue", ";", "if", "(", "lookup_attribute", "(", "\"dllimport\"", ",", "DECL_ATTRIBUTES", "(", "member", ")", ")", ")", "dllimport_member", "=", "true", ";", "}", "}", "}", "if", "(", "!", "dllimport_member", "&&", "!", "dllimport_ctor_dtor", ")", "{", "print_node_brief", "(", "stderr", ",", "\"\"", ",", "ctype", ",", "0", ")", ";", "fprintf", "(", "stderr", ",", "\" does NOT need to be EXPORTed [no non-pure virtuals or ctors/dtors with dllimport]\\n\"", ")", ";", "return", "false", ";", "}", "if", "(", "!", "inline_ctor_dtor", ")", "{", "print_node_brief", "(", "stderr", ",", "\"\"", ",", "ctype", ",", "0", ")", ";", "fprintf", "(", "stderr", ",", "\" does NOT need to be EXPORTed [no inline ctor/dtor]\\n\"", ")", ";", "return", "false", ";", "}", "print_node_brief", "(", "stderr", ",", "\"\"", ",", "ctype", ",", "0", ")", ";", "fprintf", "(", "stderr", ",", "\" DOES need to be EXPORTed\\n\"", ")", ";", "for", "(", "i", "=", "0", ",", "binfo", "=", "TYPE_BINFO", "(", "ctype", ")", ";", "BINFO_BASE_ITERATE", "(", "binfo", ",", "i", ",", "base_binfo", ")", ";", "i", "++", ")", "symbian_possibly_export_base_class", "(", "BINFO_TYPE", "(", "base_binfo", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Decide", "if", "a", "class", "needs", "its", "vtable", "and", "rtti", "exporting", "."], "TS_V_token": ["sh", "\"\"", "0", "\" does NOT need to be EXPORTed [not a class]\\n\"", "\"\"", "0", "\" does NOT need to be EXPORTed [no key function]\\n\"", "\"\"", "0", "\" does NOT need to be EXPORTed [key function not defined]\\n\"", "0", "\"dllimport\"", "\"dllimport\"", "\"\"", "0", "\" does NOT need to be EXPORTed [no non-pure virtuals or ctors/dtors with dllimport]\\n\"", "\"\"", "0", "\" does NOT need to be EXPORTed [no inline ctor/dtor]\\n\"", "\"\"", "0", "\" DOES need to be EXPORTed\\n\"", "0"], "File": "symbian", "Func": "symbian_export_vtable_and_rtti_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16418, "Length": 444, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_scalar_mode_supported_p", "(", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_32BIT", "&&", "mode", "==", "TImode", ")", "return", "false", ";", "if", "(", "DECIMAL_FLOAT_MODE_P", "(", "mode", ")", ")", "return", "default_decimal_float_supported_p", "(", ")", ";", "else", "if", "(", "TARGET_FLOAT128_TYPE", "&&", "(", "mode", "==", "KFmode", "||", "mode", "==", "IFmode", ")", ")", "return", "true", ";", "else", "return", "default_scalar_mode_supported_p", "(", "mode", ")", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "scalar_mode_supported_p", "."], "TS_V_token": ["rs6000"], "File": "rs60006", "Func": "rs6000_scalar_mode_supported_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16419, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_option_override", "(", "void", ")", "{", "unsigned", "int", "i", ";", "cl_deferred_option", "*", "opt", ";", "vec", "<", "cl_deferred_option", ">", "*", "v", "=", "(", "vec", "<", "cl_deferred_option", ">", "*", ")", "ia64_deferred_options", ";", "if", "(", "v", ")", "FOR_EACH_VEC_ELT", "(", "*", "v", ",", "i", ",", "opt", ")", "{", "switch", "(", "opt", "->", "opt_index", ")", "{", "case", "OPT_mfixed_range_", ":", "fix_range", "(", "opt", "->", "arg", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "if", "(", "TARGET_AUTO_PIC", ")", "target_flags", "|=", "MASK_CONST_GP", ";", "if", "(", "optimize", ">=", "3", ")", "flag_ira_loop_pressure", "=", "1", ";", "ia64_section_threshold", "=", "(", "global_options_set", ".", "x_g_switch_value", "?", "g_switch_value", ":", "IA64_DEFAULT_GVALUE", ")", ";", "init_machine_status", "=", "ia64_init_machine_status", ";", "if", "(", "align_functions", "<=", "0", ")", "align_functions", "=", "64", ";", "if", "(", "align_loops", "<=", "0", ")", "align_loops", "=", "32", ";", "if", "(", "TARGET_ABI_OPEN_VMS", ")", "flag_no_common", "=", "1", ";", "ia64_override_options_after_change", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_OVERRIDE", "."], "TS_V_token": ["ia64", "3", "1", "0", "64", "0", "32", "1"], "File": "ia644", "Func": "ia64_option_override", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16420, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLegalMaskedScatter", "(", "Type", "*", "Ty", ",", "MaybeAlign", "Alignment", ")", "{", "return", "isLegalMaskedGather", "(", "Ty", ",", "Alignment", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "scatter", "."], "TS_V_token": ["ARM"], "File": "ARMTargetTransformInfo1", "Func": "isLegalMaskedScatter", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16421, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "PPCRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "const", "PPCFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "ZERO", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "ZERO8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "FP", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "FP8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "BP", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "BP8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "CTR", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "CTR8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R1", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "RM", ")", ";", "if", "(", "!", "Subtarget", ".", "isDarwinABI", "(", ")", "||", "!", "Subtarget", ".", "hasAltivec", "(", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "VRSAVE", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R2", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R13", ")", ";", "}", "if", "(", "TM", ".", "isPPC64", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R13", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X1", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X13", ")", ";", "if", "(", "TFI", "->", "needsFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "X31", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "X30", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "const", "PPCFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", ";", "if", "(", "FuncInfo", "->", "usesTOCBasePtr", "(", ")", "||", "MF", ".", "hasInlineAsm", "(", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "X2", ")", ";", "else", "Reserved", ".", "reset", "(", "PPC", "::", "R2", ")", ";", "}", "}", "if", "(", "TFI", "->", "needsFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "R31", ")", ";", "bool", "IsPositionIndependent", "=", "TM", ".", "isPositionIndependent", "(", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "{", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", "&&", "!", "TM", ".", "isPPC64", "(", ")", "&&", "IsPositionIndependent", ")", "Reserved", ".", "set", "(", "PPC", "::", "R29", ")", ";", "else", "Reserved", ".", "set", "(", "PPC", "::", "R30", ")", ";", "}", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", "&&", "!", "TM", ".", "isPPC64", "(", ")", "&&", "IsPositionIndependent", ")", "Reserved", ".", "set", "(", "PPC", "::", "R30", ")", ";", "if", "(", "!", "Subtarget", ".", "hasAltivec", "(", ")", ")", "for", "(", "TargetRegisterClass", "::", "iterator", "I", "=", "PPC", "::", "VRRCRegClass", ".", "begin", "(", ")", ",", "IE", "=", "PPC", "::", "VRRCRegClass", ".", "end", "(", ")", ";", "I", "!=", "IE", ";", "++", "I", ")", "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": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC::ZERO", "PPC::ZERO8", "PPC::FP", "PPC::FP8", "PPC::BP", "PPC::BP8", "PPC::CTR", "PPC::CTR8", "PPC::R1", "PPC::LR", "PPC::LR8", "PPC::RM", "PPC::VRSAVE", "PPC::R2", "PPC::R13", "PPC", "PPC::R13", "PPC::X1", "PPC::X13", "PPC::X31", "PPC::X30", "PPC", "PPC", "PPC::X2", "PPC::R2", "PPC::R31", "PPC", "PPC::R29", "PPC::R30", "PPC", "PPC::R30", "PPC::VRRCRegClass", "PPC::VRRCRegClass"], "File": "PPCRegisterInfo2", "Func": "getReservedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16422, "Length": 484, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nds32_symbol_binds_local_p", "(", "const_rtx", "x", ")", "{", "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": ["nds32"], "File": "nds32-md-auxiliary", "Func": "nds32_symbol_binds_local_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16423, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ARMAsmParser", "::", "tryParseRegister", "(", ")", "{", "const", "AsmToken", "&", "Tok", "=", "Parser", ".", "getTok", "(", ")", ";", "if", "(", "Tok", ".", "isNot", "(", "AsmToken", "::", "Identifier", ")", ")", "return", "-", "1", ";", "std", "::", "string", "lowerCase", "=", "Tok", ".", "getString", "(", ")", ".", "lower", "(", ")", ";", "unsigned", "RegNum", "=", "MatchRegisterName", "(", "lowerCase", ")", ";", "if", "(", "!", "RegNum", ")", "{", "RegNum", "=", "StringSwitch", "<", "unsigned", ">", "(", "lowerCase", ")", ".", "Case", "(", "\"r13\"", ",", "ARM", "::", "SP", ")", ".", "Case", "(", "\"r14\"", ",", "ARM", "::", "LR", ")", ".", "Case", "(", "\"r15\"", ",", "ARM", "::", "PC", ")", ".", "Case", "(", "\"ip\"", ",", "ARM", "::", "R12", ")", ".", "Default", "(", "0", ")", ";", "}", "if", "(", "!", "RegNum", ")", "return", "-", "1", ";", "Parser", ".", "Lex", "(", ")", ";", "return", "RegNum", ";", "}", ""], "natrual_language": ["tryParseRegister", "-", "parse", "one", "register", "if", "possible"], "TS_V_token": ["ARM", "ARM", "1", "\"r13\"", "ARM::SP", "\"r14\"", "ARM::LR", "\"r15\"", "ARM::PC", "\"ip\"", "ARM::R12", "0", "1"], "File": "ARMAsmParser114", "Func": "tryParseRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16424, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "AArch64Relocator", "::", "getName", "(", "Relocator", "::", "Type", "pType", ")", "const", "{", "assert", "(", "ApplyFunctions", ".", "find", "(", "pType", ")", "!=", "ApplyFunctions", ".", "end", "(", ")", ")", ";", "return", "ApplyFunctions", "[", "pType", "]", ".", "name", ";", "}", ""], "natrual_language": ["Return", "a", "string", "with", "the", "name", "of", "the", "plan", "and", "the", "applicable", "VFs", "and", "UFs", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64Relocator", "Func": "getName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16425, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_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", ";", "if", "(", "MEM_ALIGN", "(", "src", ")", "==", "BITS_PER_WORD", "/", "2", "&&", "MEM_ALIGN", "(", "dest", ")", "==", "BITS_PER_WORD", "/", "2", ")", "bits", "=", "BITS_PER_WORD", "/", "2", ";", "else", "bits", "=", "BITS_PER_WORD", ";", "mode", "=", "mode_for_size", "(", "bits", ",", "MODE_INT", ",", "0", ")", ";", "delta", "=", "bits", "/", "BITS_PER_UNIT", ";", "regs", "=", "XALLOCAVEC", "(", "rtx", ",", "length", "/", "delta", ")", ";", "for", "(", "offset", "=", "0", ",", "i", "=", "0", ";", "offset", "+", "delta", "<=", "length", ";", "offset", "+=", "delta", ",", "i", "++", ")", "{", "regs", "[", "i", "]", "=", "gen_reg_rtx", "(", "mode", ")", ";", "if", "(", "MEM_ALIGN", "(", "src", ")", ">=", "bits", ")", "mips_emit_move", "(", "regs", "[", "i", "]", ",", "adjust_address", "(", "src", ",", "mode", ",", "offset", ")", ")", ";", "else", "{", "rtx", "part", "=", "adjust_address", "(", "src", ",", "BLKmode", ",", "offset", ")", ";", "set_mem_size", "(", "part", ",", "delta", ")", ";", "if", "(", "!", "mips_expand_ext_as_unaligned_load", "(", "regs", "[", "i", "]", ",", "part", ",", "bits", ",", "0", ",", "0", ")", ")", "gcc_unreachable", "(", ")", ";", "}", "}", "for", "(", "offset", "=", "0", ",", "i", "=", "0", ";", "offset", "+", "delta", "<=", "length", ";", "offset", "+=", "delta", ",", "i", "++", ")", "if", "(", "MEM_ALIGN", "(", "dest", ")", ">=", "bits", ")", "mips_emit_move", "(", "adjust_address", "(", "dest", ",", "mode", ",", "offset", ")", ",", "regs", "[", "i", "]", ")", ";", "else", "{", "rtx", "part", "=", "adjust_address", "(", "dest", ",", "BLKmode", ",", "offset", ")", ";", "set_mem_size", "(", "part", ",", "delta", ")", ";", "if", "(", "!", "mips_expand_ins_as_unaligned_store", "(", "part", ",", "regs", "[", "i", "]", ",", "bits", ",", "0", ")", ")", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "offset", "<", "length", ")", "{", "src", "=", "adjust_address", "(", "src", ",", "BLKmode", ",", "offset", ")", ";", "dest", "=", "adjust_address", "(", "dest", ",", "BLKmode", ",", "offset", ")", ";", "move_by_pieces", "(", "dest", ",", "src", ",", "length", "-", "offset", ",", "MIN", "(", "MEM_ALIGN", "(", "src", ")", ",", "MEM_ALIGN", "(", "dest", ")", ")", ",", "0", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "straight-line", "code", "to", "move", "LENGTH", "bytes", "from", "SRC", "to", "DEST", ".", "Assume", "that", "the", "areas", "do", "not", "overlap", "."], "TS_V_token": ["mips", "2", "2", "2", "0", "0", "0", "0", "0", "0", "0", "0", "0"], "File": "mips4", "Func": "mips_block_move_straight", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16426, "Length": 347, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "feature_compare", "(", "const", "void", "*", "v1", ",", "const", "void", "*", "v2", ")", "{", "typedef", "struct", "_function_version_info", "{", "tree", "version_decl", ";", "tree", "predicate_chain", ";", "unsigned", "int", "dispatch_priority", ";", "}", "function_version_info", ";", "const", "function_version_info", "c1", "=", "*", "(", "const", "function_version_info", "*", ")", "v1", ";", "const", "function_version_info", "c2", "=", "*", "(", "const", "function_version_info", "*", ")", "v2", ";", "return", "(", "c2", ".", "dispatch_priority", "-", "c1", ".", "dispatch_priority", ")", ";", "}", ""], "natrual_language": ["V1", "and", "V2", "point", "to", "function", "versions", "with", "different", "priorities", "based", "on", "the", "target", "ISA", ".", "This", "function", "compares", "their", "priorities", "."], "TS_V_token": ["i386"], "File": "i386-features", "Func": "feature_compare", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16427, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "LC3RegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", ")", "const", "{", "return", "CC_Save_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["LC3", "LC3"], "File": "LC3RegisterInfo", "Func": "getCallPreservedMask", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16428, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMInstrInfo", "::", "reMaterialize", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "const", "MachineInstr", "*", "Orig", ")", "const", "{", "DebugLoc", "dl", "=", "Orig", "->", "getDebugLoc", "(", ")", ";", "if", "(", "Orig", "->", "getOpcode", "(", ")", "==", "ARM", "::", "MOVi2pieces", ")", "{", "RI", ".", "emitLoadConstPool", "(", "MBB", ",", "I", ",", "DestReg", ",", "Orig", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ",", "Orig", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ",", "Orig", "->", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", ",", "this", ",", "false", ",", "dl", ")", ";", "return", ";", "}", "MachineInstr", "*", "MI", "=", "MBB", ".", "getParent", "(", ")", "->", "CloneMachineInstr", "(", "Orig", ")", ";", "MI", "->", "getOperand", "(", "0", ")", ".", "setReg", "(", "DestReg", ")", ";", "MBB", ".", "insert", "(", "I", ",", "MI", ")", ";", "}", ""], "natrual_language": ["Re-issue", "the", "specified", "'original", "'", "instruction", "at", "the", "specific", "location", "targeting", "a", "new", "destination", "register", "."], "TS_V_token": ["ARM", "ARM", "ARM::MOVi2pieces", "1", "2", "3", "0"], "File": "ARMInstrInfo14", "Func": "reMaterialize", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16429, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "vax_lra_p", "(", "void", ")", "{", "return", "TARGET_LRA", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "use", "LRA", "instead", "of", "reload", "pass", "."], "TS_V_token": ["vax"], "File": "vax", "Func": "vax_lra_p", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16430, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mep_epilogue_uses", "(", "int", "regno", ")", "{", "if", "(", "regno", "==", "LP_REGNO", "&&", "(", "profile_arc_flag", ">", "0", "||", "profile_flag", ">", "0", ")", ")", "return", "true", ";", "return", "(", "reload_completed", "&&", "mep_interrupt_saved_reg", "(", "regno", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "epilogue", "uses", "register", "REGNO", "."], "TS_V_token": ["mep", "0", "0"], "File": "mep", "Func": "mep_epilogue_uses", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16431, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "predefined_function_abi", "&", "aarch64_sve_abi", "(", "void", ")", "{", "predefined_function_abi", "&", "sve_abi", "=", "function_abis", "[", "ARM_PCS_SVE", "]", ";", "if", "(", "!", "sve_abi", ".", "initialized_p", "(", ")", ")", "{", "HARD_REG_SET", "full_reg_clobbers", "=", "default_function_abi", ".", "full_reg_clobbers", "(", ")", ";", "for", "(", "int", "regno", "=", "V8_REGNUM", ";", "regno", "<=", "V23_REGNUM", ";", "++", "regno", ")", "CLEAR_HARD_REG_BIT", "(", "full_reg_clobbers", ",", "regno", ")", ";", "for", "(", "int", "regno", "=", "P4_REGNUM", ";", "regno", "<=", "P15_REGNUM", ";", "++", "regno", ")", "CLEAR_HARD_REG_BIT", "(", "full_reg_clobbers", ",", "regno", ")", ";", "sve_abi", ".", "initialize", "(", "ARM_PCS_SVE", ",", "full_reg_clobbers", ")", ";", "}", "return", "sve_abi", ";", "}", ""], "natrual_language": ["Return", "the", "descriptor", "of", "the", "SVE", "PCS", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_sve_abi", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16432, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_leave", "(", "void", ")", "{", "struct", "machine_function", "*", "m", "=", "cfun", "->", "machine", ";", "rtx", "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": "i3864", "Func": "ix86_emit_leave", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16433, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "recombine_lvx_stvx_patterns", "(", "function", "*", "fun", ")", "{", "int", "i", ";", "basic_block", "bb", ";", "rtx_insn", "*", "insn", ";", "int", "num_insns", "=", "get_max_uid", "(", ")", ";", "del_info", "*", "to_delete", "=", "XCNEWVEC", "(", "del_info", ",", "num_insns", ")", ";", "FOR_ALL_BB_FN", "(", "bb", ",", "fun", ")", "FOR_BB_INSNS", "(", "bb", ",", "insn", ")", "{", "if", "(", "!", "NONDEBUG_INSN_P", "(", "insn", ")", ")", "continue", ";", "if", "(", "insn_is_load_p", "(", "insn", ")", "&&", "insn_is_swap_p", "(", "insn", ")", ")", "recombine_lvx_pattern", "(", "insn", ",", "to_delete", ")", ";", "else", "if", "(", "insn_is_store_p", "(", "insn", ")", "&&", "insn_is_swap_p", "(", "insn", ")", ")", "recombine_stvx_pattern", "(", "insn", ",", "to_delete", ")", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "num_insns", ";", "i", "++", ")", "if", "(", "to_delete", "[", "i", "]", ".", "replace", ")", "{", "rtx", "swap_body", "=", "PATTERN", "(", "to_delete", "[", "i", "]", ".", "replace_insn", ")", ";", "rtx", "src_reg", "=", "XEXP", "(", "SET_SRC", "(", "swap_body", ")", ",", "0", ")", ";", "rtx", "copy", "=", "gen_rtx_SET", "(", "SET_DEST", "(", "swap_body", ")", ",", "src_reg", ")", ";", "rtx_insn", "*", "new_insn", "=", "emit_insn_before", "(", "copy", ",", "to_delete", "[", "i", "]", ".", "replace_insn", ")", ";", "set_block_for_insn", "(", "new_insn", ",", "BLOCK_FOR_INSN", "(", "to_delete", "[", "i", "]", ".", "replace_insn", ")", ")", ";", "df_insn_rescan", "(", "new_insn", ")", ";", "df_insn_delete", "(", "to_delete", "[", "i", "]", ".", "replace_insn", ")", ";", "remove_insn", "(", "to_delete", "[", "i", "]", ".", "replace_insn", ")", ";", "to_delete", "[", "i", "]", ".", "replace_insn", "->", "set_deleted", "(", ")", ";", "}", "free", "(", "to_delete", ")", ";", "}", ""], "natrual_language": ["Look", "for", "patterns", "created", "from", "builtin", "lvx", "and", "stvx", "calls", ",", "and", "canonicalize", "them", "to", "be", "properly", "recognized", "as", "such", "."], "TS_V_token": ["rs6000", "0", "0"], "File": "rs6000-p8swap", "Func": "recombine_lvx_stvx_patterns", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16434, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "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": "SparcTargetMachine (2)1", "Func": "addInstSelector", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16435, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86DAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "OptForSize", "=", "MF", "->", "getFunction", "(", ")", "->", "hasFnAttr", "(", "Attribute", "::", "OptimizeForSize", ")", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "I", "++", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", "||", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "TC_RETURN", ")", ")", "{", "bool", "HasCallSeq", "=", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", ";", "SDValue", "Chain", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Load", "=", "N", "->", "getOperand", "(", "1", ")", ";", "if", "(", "!", "isCalleeLoad", "(", "Load", ",", "Chain", ",", "HasCallSeq", ")", ")", "continue", ";", "MoveBelowOrigChain", "(", "CurDAG", ",", "Load", ",", "SDValue", "(", "N", ",", "0", ")", ",", "Chain", ")", ";", "++", "NumLoadMoved", ";", "continue", ";", "}", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_ROUND", "&&", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "EVT", "SrcVT", "=", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", ";", "EVT", "DstVT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "bool", "SrcIsSSE", "=", "X86Lowering", ".", "isScalarFPTypeInSSEReg", "(", "SrcVT", ")", ";", "bool", "DstIsSSE", "=", "X86Lowering", ".", "isScalarFPTypeInSSEReg", "(", "DstVT", ")", ";", "if", "(", "SrcIsSSE", "&&", "DstIsSSE", ")", "continue", ";", "if", "(", "!", "SrcIsSSE", "&&", "!", "DstIsSSE", ")", "{", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "if", "(", "N", "->", "getConstantOperandVal", "(", "1", ")", ")", "continue", ";", "}", "EVT", "MemVT", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_ROUND", ")", "MemVT", "=", "DstVT", ";", "else", "MemVT", "=", "SrcIsSSE", "?", "SrcVT", ":", "DstVT", ";", "SDValue", "MemTmp", "=", "CurDAG", "->", "CreateStackTemporary", "(", "MemVT", ")", ";", "DebugLoc", "dl", "=", "N", "->", "getDebugLoc", "(", ")", ";", "SDValue", "Store", "=", "CurDAG", "->", "getTruncStore", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "dl", ",", "N", "->", "getOperand", "(", "0", ")", ",", "MemTmp", ",", "NULL", ",", "0", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "SDValue", "Result", "=", "CurDAG", "->", "getExtLoad", "(", "ISD", "::", "EXTLOAD", ",", "DstVT", ",", "dl", ",", "Store", ",", "MemTmp", ",", "NULL", ",", "0", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "--", "I", ";", "CurDAG", "->", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "0", ")", ",", "Result", ")", ";", "++", "I", ";", "CurDAG", "->", "DeleteNode", "(", "N", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["X86", "X86", "X86ISD::CALL", "X86ISD::TC_RETURN", "X86ISD::CALL", "0", "1", "0", "ISD::FP_ROUND", "ISD::FP_EXTEND", "0", "0", "X86", "X86", "ISD::FP_EXTEND", "1", "ISD::FP_ROUND", "0", "0", "0", "ISD::EXTLOAD", "0", "0", "0"], "File": "X86ISelDAGToDAG42", "Func": "PreprocessISelDAG", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16436, "Length": 412, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "ARMTargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "IsMemset", ",", "bool", "ZeroMemset", ",", "bool", "MemcpyStrSrc", ",", "const", "AttributeList", "&", "FuncAttributes", ")", "const", "{", "if", "(", "(", "!", "IsMemset", "||", "ZeroMemset", ")", "&&", "Subtarget", "->", "hasNEON", "(", ")", "&&", "!", "FuncAttributes", ".", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ")", "{", "bool", "Fast", ";", "if", "(", "Size", ">=", "16", "&&", "(", "memOpAlign", "(", "SrcAlign", ",", "DstAlign", ",", "16", ")", "||", "(", "allowsMisalignedMemoryAccesses", "(", "MVT", "::", "v2f64", ",", "0", ",", "1", ",", "MachineMemOperand", "::", "MONone", ",", "&", "Fast", ")", "&&", "Fast", ")", ")", ")", "{", "return", "MVT", "::", "v2f64", ";", "}", "else", "if", "(", "Size", ">=", "8", "&&", "(", "memOpAlign", "(", "SrcAlign", ",", "DstAlign", ",", "8", ")", "||", "(", "allowsMisalignedMemoryAccesses", "(", "MVT", "::", "f64", ",", "0", ",", "1", ",", "MachineMemOperand", "::", "MONone", ",", "&", "Fast", ")", "&&", "Fast", ")", ")", ")", "{", "return", "MVT", "::", "f64", ";", "}", "}", "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", "0", "1", "MVT::v2f64", "8", "8", "MVT::f64", "0", "1", "MVT::f64", "MVT::Other"], "File": "ARMISelLowering (2)6", "Func": "getOptimalMemOpType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16437, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isTarget64BitILP32", "(", ")", "const", "{", "return", "In64BitMode", "&&", "(", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "GNUX32", "||", "TargetTriple", ".", "getOS", "(", ")", "==", "Triple", "::", "NaCl", ")", ";", "}", ""], "natrual_language": ["Is", "this", "x86_64", "with", "the", "ILP32", "programming", "model", "(", "x32", "ABI", ")", "?"], "TS_V_token": ["X86"], "File": "X86Subtarget1", "Func": "isTarget64BitILP32", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16438, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_expand_sse_cmp", "(", "rtx", "dest", ",", "enum", "rtx_code", "code", ",", "rtx", "cmp_op0", ",", "rtx", "cmp_op1", ",", "rtx", "op_true", ",", "rtx", "op_false", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "machine_mode", "cmp_ops_mode", "=", "GET_MODE", "(", "cmp_op0", ")", ";", "machine_mode", "cmp_mode", ";", "bool", "maskcmp", "=", "false", ";", "rtx", "x", ";", "if", "(", "ix86_use_mask_cmp_p", "(", "mode", ",", "cmp_ops_mode", ",", "op_true", ",", "op_false", ")", ")", "{", "unsigned", "int", "nbits", "=", "GET_MODE_NUNITS", "(", "cmp_ops_mode", ")", ";", "maskcmp", "=", "true", ";", "cmp_mode", "=", "nbits", ">", "8", "?", "int_mode_for_size", "(", "nbits", ",", "0", ")", ".", "require", "(", ")", ":", "E_QImode", ";", "}", "else", "cmp_mode", "=", "cmp_ops_mode", ";", "cmp_op0", "=", "force_reg", "(", "cmp_ops_mode", ",", "cmp_op0", ")", ";", "int", "(", "*", "op1_predicate", ")", "(", "rtx", ",", "machine_mode", ")", "=", "VECTOR_MODE_P", "(", "cmp_ops_mode", ")", "?", "vector_operand", ":", "nonimmediate_operand", ";", "if", "(", "!", "op1_predicate", "(", "cmp_op1", ",", "cmp_ops_mode", ")", ")", "cmp_op1", "=", "force_reg", "(", "cmp_ops_mode", ",", "cmp_op1", ")", ";", "if", "(", "optimize", "||", "(", "maskcmp", "&&", "cmp_mode", "!=", "mode", ")", "||", "(", "op_true", "&&", "reg_overlap_mentioned_p", "(", "dest", ",", "op_true", ")", ")", "||", "(", "op_false", "&&", "reg_overlap_mentioned_p", "(", "dest", ",", "op_false", ")", ")", ")", "dest", "=", "gen_reg_rtx", "(", "maskcmp", "?", "cmp_mode", ":", "mode", ")", ";", "if", "(", "maskcmp", ")", "{", "bool", "ok", "=", "ix86_expand_mask_vec_cmp", "(", "dest", ",", "code", ",", "cmp_op0", ",", "cmp_op1", ")", ";", "gcc_assert", "(", "ok", ")", ";", "return", "dest", ";", "}", "x", "=", "gen_rtx_fmt_ee", "(", "code", ",", "cmp_mode", ",", "cmp_op0", ",", "cmp_op1", ")", ";", "if", "(", "cmp_mode", "!=", "mode", ")", "{", "x", "=", "force_reg", "(", "cmp_ops_mode", ",", "x", ")", ";", "convert_move", "(", "dest", ",", "x", ",", "false", ")", ";", "}", "else", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "x", ")", ")", ";", "return", "dest", ";", "}", ""], "natrual_language": ["Expand", "an", "sse", "vector", "comparison", ".", "Return", "the", "register", "with", "the", "result", "."], "TS_V_token": ["i386", "8", "0"], "File": "i386-expand1", "Func": "ix86_expand_sse_cmp", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16439, "Length": 278, "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", "::", "VLD1q64", ":", "case", "ARM", "::", "VLD1d64TPseudo", ":", "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::VLD1q64", "ARM::VLD1d64TPseudo", "ARM::VLD1d64QPseudo", "1", "0", "0", "1", "0", "ARM::VLDMQIA", "1", "0", "0", "1", "0", "0"], "File": "ARMBaseInstrInfo (2)2", "Func": "isLoadFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16440, "Length": 355, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "X86RegisterInfo", "::", "getGPRsForTailCall", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "IsWin64", "||", "(", "F", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "Win64", ")", ")", "return", "&", "X86", "::", "GR64_TCW64RegClass", ";", "else", "if", "(", "Is64Bit", ")", "return", "&", "X86", "::", "GR64_TCRegClass", ";", "bool", "hasHipeCC", "=", "(", "F", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "HiPE", ")", ";", "if", "(", "hasHipeCC", ")", "return", "&", "X86", "::", "GR32RegClass", ";", "return", "&", "X86", "::", "GR32_TCRegClass", ";", "}", ""], "natrual_language": ["getGPRsForTailCall", "-", "Returns", "a", "register", "class", "with", "registers", "that", "can", "be", "used", "in", "forming", "tail", "calls", "."], "TS_V_token": ["X86", "X86", "X86::GR64_TCW64RegClass", "X86::GR64_TCRegClass", "X86::GR32RegClass", "X86::GR32_TCRegClass"], "File": "X86RegisterInfo (2)1", "Func": "getGPRsForTailCall", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16441, "Length": 90, "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", "]", ";", "Size", "=", "0", ";", "if", "(", "Region", ".", "readBytes", "(", "Address", ",", "4", ",", "(", "uint8_t", "*", ")", "bytes", ")", "==", "-", "1", ")", "return", "Fail", ";", "Size", "=", "4", ";", "uint32_t", "insn", "=", "(", "bytes", "[", "3", "]", "<<", "24", ")", "|", "(", "bytes", "[", "2", "]", "<<", "16", ")", "|", "(", "bytes", "[", "1", "]", "<<", "8", ")", "|", "(", "bytes", "[", "0", "]", "<<", "0", ")", ";", "return", "decodeInstruction", "(", "DecoderTable32", ",", "MI", ",", "insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["AArch64", "AArch64", "4", "0", "4", "1", "4", "3", "24", "2", "16", "1", "8", "0", "0"], "File": "AArch64Disassembler55", "Func": "getInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16442, "Length": 129, "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", ")", ";", "if", "(", "!", "TM", ".", "getDataSections", "(", ")", "||", "GV", "->", "hasSection", "(", ")", ")", "{", "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": "PPCAsmPrinter10", "Func": "emitGlobalVariable", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16443, "Length": 380, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "FoldImmediate", "(", "MachineInstr", "&", "UseMI", ",", "MachineInstr", "&", "DefMI", ",", "Register", "Reg", ",", "MachineRegisterInfo", "*", "MRI", ")", "const", "{", "unsigned", "DefOpc", "=", "DefMI", ".", "getOpcode", "(", ")", ";", "if", "(", "DefOpc", "!=", "SystemZ", "::", "LHIMux", "&&", "DefOpc", "!=", "SystemZ", "::", "LHI", "&&", "DefOpc", "!=", "SystemZ", "::", "LGHI", ")", "return", "false", ";", "if", "(", "DefMI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "!=", "Reg", ")", "return", "false", ";", "int32_t", "ImmVal", "=", "(", "int32_t", ")", "DefMI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "unsigned", "UseOpc", "=", "UseMI", ".", "getOpcode", "(", ")", ";", "unsigned", "NewUseOpc", ";", "unsigned", "UseIdx", ";", "int", "CommuteIdx", "=", "-", "1", ";", "bool", "TieOps", "=", "false", ";", "switch", "(", "UseOpc", ")", "{", "case", "SystemZ", "::", "SELRMux", ":", "TieOps", "=", "true", ";", "LLVM_FALLTHROUGH", ";", "case", "SystemZ", "::", "LOCRMux", ":", "if", "(", "!", "STI", ".", "hasLoadStoreOnCond2", "(", ")", ")", "return", "false", ";", "NewUseOpc", "=", "SystemZ", "::", "LOCHIMux", ";", "if", "(", "UseMI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", "==", "Reg", ")", "UseIdx", "=", "2", ";", "else", "if", "(", "UseMI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "Reg", ")", "UseIdx", "=", "2", ",", "CommuteIdx", "=", "1", ";", "else", "return", "false", ";", "break", ";", "case", "SystemZ", "::", "SELGR", ":", "TieOps", "=", "true", ";", "LLVM_FALLTHROUGH", ";", "case", "SystemZ", "::", "LOCGR", ":", "if", "(", "!", "STI", ".", "hasLoadStoreOnCond2", "(", ")", ")", "return", "false", ";", "NewUseOpc", "=", "SystemZ", "::", "LOCGHI", ";", "if", "(", "UseMI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", "==", "Reg", ")", "UseIdx", "=", "2", ";", "else", "if", "(", "UseMI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "Reg", ")", "UseIdx", "=", "2", ",", "CommuteIdx", "=", "1", ";", "else", "return", "false", ";", "break", ";", "default", ":", "return", "false", ";", "}", "if", "(", "CommuteIdx", "!=", "-", "1", ")", "if", "(", "!", "commuteInstruction", "(", "UseMI", ",", "false", ",", "CommuteIdx", ",", "UseIdx", ")", ")", "return", "false", ";", "bool", "DeleteDef", "=", "MRI", "->", "hasOneNonDBGUse", "(", "Reg", ")", ";", "UseMI", ".", "setDesc", "(", "get", "(", "NewUseOpc", ")", ")", ";", "if", "(", "TieOps", ")", "UseMI", ".", "tieOperands", "(", "0", ",", "1", ")", ";", "UseMI", ".", "getOperand", "(", "UseIdx", ")", ".", "ChangeToImmediate", "(", "ImmVal", ")", ";", "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": ["SystemZ", "SystemZ", "SystemZ::LHIMux", "SystemZ::LHI", "SystemZ::LGHI", "0", "1", "1", "SystemZ::SELRMux", "SystemZ::LOCRMux", "SystemZ::LOCHIMux", "2", "2", "1", "2", "1", "SystemZ::SELGR", "SystemZ::LOCGR", "SystemZ::LOCGHI", "2", "2", "1", "2", "1", "1", "0", "1"], "File": "SystemZInstrInfo16", "Func": "FoldImmediate", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16444, "Length": 375, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_const_vec_all_in_range_p", "(", "rtx", "vec", ",", "HOST_WIDE_INT", "minval", ",", "HOST_WIDE_INT", "maxval", ")", "{", "if", "(", "GET_CODE", "(", "vec", ")", "!=", "CONST_VECTOR", "||", "GET_MODE_CLASS", "(", "GET_MODE", "(", "vec", ")", ")", "!=", "MODE_VECTOR_INT", ")", "return", "false", ";", "int", "nunits", ";", "if", "(", "!", "CONST_VECTOR_STEPPED_P", "(", "vec", ")", ")", "nunits", "=", "const_vector_encoded_nelts", "(", "vec", ")", ";", "else", "if", "(", "!", "CONST_VECTOR_NUNITS", "(", "vec", ")", ".", "is_constant", "(", "&", "nunits", ")", ")", "return", "false", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "nunits", ";", "i", "++", ")", "{", "rtx", "vec_elem", "=", "CONST_VECTOR_ELT", "(", "vec", ",", "i", ")", ";", "if", "(", "!", "CONST_INT_P", "(", "vec_elem", ")", "||", "!", "IN_RANGE", "(", "INTVAL", "(", "vec_elem", ")", ",", "minval", ",", "maxval", ")", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "VEC", "is", "a", "constant", "in", "which", "every", "element", "is", "in", "the", "range", "[", "MINVAL", ",", "MAXVAL", "]", ".", "The", "elements", "do", "not", "need", "to", "have", "the", "same", "value", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64", "Func": "aarch64_const_vec_all_in_range_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16445, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "shouldSink", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "isPredicated", "(", "MI", ")", ")", "return", "true", ";", "MachineBasicBlock", "::", "const_iterator", "Next", "=", "&", "MI", ";", "++", "Next", ";", "Register", "SrcReg", ",", "SrcReg2", ";", "int", "CmpMask", ",", "CmpValue", ";", "bool", "IsThumb1", ";", "if", "(", "Next", "!=", "MI", ".", "getParent", "(", ")", "->", "end", "(", ")", "&&", "analyzeCompare", "(", "*", "Next", ",", "SrcReg", ",", "SrcReg2", ",", "CmpMask", ",", "CmpValue", ")", "&&", "isRedundantFlagInstr", "(", "&", "*", "Next", ",", "SrcReg", ",", "SrcReg2", ",", "CmpValue", ",", "&", "MI", ",", "IsThumb1", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "instruction", "should", "be", "sunk", "by", "MachineSink", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMBaseInstrInfo116", "Func": "shouldSink", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16446, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "unique_ptr", "<", "MCObjectWriter", ">", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "override", "{", "return", "std", "::", "unique_ptr", "<", "MCObjectWriter", ">", "(", "createTOYELFObjectWriter", "(", "OS", ",", "OSABI", ")", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["TOY", "TOY"], "File": "TOYAsmBackend1", "Func": "createObjectWriter", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16447, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LC2200FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "const", "LC2200RegisterInfo", "*", "RI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "const", "LC2200InstrInfo", "*", "TII", "=", "STI", ".", "getInstrInfo", "(", ")", ";", "Register", "FPReg", "=", "LC2200", "::", "fp", ";", "Register", "SPReg", "=", "LC2200", "::", "sp", ";", "auto", "LastFrameDestroy", "=", "std", "::", "prev", "(", "MBBI", ",", "MFI", ".", "getCalleeSavedInfo", "(", ")", ".", "size", "(", ")", ")", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "uint64_t", "FPOffset", "=", "StackSize", ";", "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": ["LC2200", "LC2200", "LC2200", "LC2200", "LC2200::fp", "LC2200::sp", "\"frame pointer should not have been eliminated\"", "0", "0", "0"], "File": "LC2200FrameLowering1", "Func": "emitEpilogue", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16448, "Length": 431, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "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": "MipsAsmPrinter1", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16449, "Length": 180, "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": 16450, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SICAsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", "const", "{", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "+", "7", ")", "/", "8", ";", "unsigned", "FullSize", ";", "switch", "(", "(", "unsigned", ")", "Kind", ")", "{", "default", ":", "FullSize", "=", "4", ";", "break", ";", "}", "uint64_t", "CurVal", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittle", "?", "i", ":", "(", "FullSize", "-", "1", "-", "i", ")", ";", "CurVal", "|=", "(", "uint64_t", ")", "(", "(", "uint8_t", ")", "Data", "[", "Offset", "+", "Idx", "]", ")", "<<", "(", "i", "*", "8", ")", ";", "}", "uint64_t", "Mask", "=", "(", "(", "uint64_t", ")", "(", "-", "1", ")", ">>", "(", "64", "-", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", ")", ";", "CurVal", "|=", "Value", "&", "Mask", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittle", "?", "i", ":", "(", "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": ["SIC", "SIC", "7", "8", "4", "0", "0", "1", "8", "1", "64", "0", "1", "8", "0xff"], "File": "SICAsmBackend", "Func": "applyFixup", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16451, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MandarinInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "MI", "->", "dump", "(", ")", ";", "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": ["Mandarin", "0"], "File": "MandarinInstrInfo", "Func": "isLoadFromStackSlot", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16452, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "expand", "(", "function_expander", "&", "e", ")", "const", "OVERRIDE", "{", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "2", ";", "++", "i", ")", "e", ".", "args", "[", "i", "]", "=", "e", ".", "convert_to_pmode", "(", "e", ".", "args", "[", "i", "]", ")", ";", "return", "e", ".", "use_exact_insn", "(", "code_for_while", "(", "m_unspec", ",", "Pmode", ",", "e", ".", "gp_mode", "(", "0", ")", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "the", "call", "and", "return", "its", "lhs", "."], "TS_V_token": ["aarch64", "0", "2", "0"], "File": "aarch64-sve-builtins-sve2", "Func": "expand", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16453, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86GenInstrInfo", "::", "MachineOutlinerInstrType", "X86InstrInfo", "::", "getOutliningType", "(", "MachineBasicBlock", "::", "iterator", "&", "MIT", ",", "unsigned", "Flags", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "MIT", ";", "if", "(", "MI", ".", "isDebugValue", "(", ")", "||", "MI", ".", "isIndirectDebugValue", "(", ")", ")", "return", "MachineOutlinerInstrType", "::", "Invisible", ";", "if", "(", "MI", ".", "isKill", "(", ")", ")", "return", "MachineOutlinerInstrType", "::", "Invisible", ";", "if", "(", "isTailCall", "(", "MI", ")", ")", "return", "MachineOutlinerInstrType", "::", "Legal", ";", "if", "(", "MI", ".", "isTerminator", "(", ")", "||", "MI", ".", "isReturn", "(", ")", ")", "{", "if", "(", "MI", ".", "getParent", "(", ")", "->", "succ_empty", "(", ")", ")", "return", "MachineOutlinerInstrType", "::", "Legal", ";", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "}", "if", "(", "MI", ".", "modifiesRegister", "(", "X86", "::", "RSP", ",", "&", "RI", ")", "||", "MI", ".", "readsRegister", "(", "X86", "::", "RSP", ",", "&", "RI", ")", "||", "MI", ".", "getDesc", "(", ")", ".", "hasImplicitUseOfPhysReg", "(", "X86", "::", "RSP", ")", "||", "MI", ".", "getDesc", "(", ")", ".", "hasImplicitDefOfPhysReg", "(", "X86", "::", "RSP", ")", ")", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "if", "(", "MI", ".", "readsRegister", "(", "X86", "::", "RIP", ",", "&", "RI", ")", "||", "MI", ".", "getDesc", "(", ")", ".", "hasImplicitUseOfPhysReg", "(", "X86", "::", "RIP", ")", "||", "MI", ".", "getDesc", "(", ")", ".", "hasImplicitDefOfPhysReg", "(", "X86", "::", "RIP", ")", ")", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "if", "(", "MI", ".", "isPosition", "(", ")", ")", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "for", "(", "const", "MachineOperand", "&", "MOP", ":", "MI", ".", "operands", "(", ")", ")", "if", "(", "MOP", ".", "isCPI", "(", ")", "||", "MOP", ".", "isJTI", "(", ")", "||", "MOP", ".", "isCFIIndex", "(", ")", "||", "MOP", ".", "isFI", "(", ")", "||", "MOP", ".", "isTargetIndex", "(", ")", ")", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "return", "MachineOutlinerInstrType", "::", "Legal", ";", "}", ""], "natrual_language": ["Returns", "how", "or", "if", "MIT", "should", "be", "outlined", "."], "TS_V_token": ["X86", "X86", "X86", "X86::RSP", "X86::RSP", "X86::RSP", "X86::RSP", "X86::RIP", "X86::RIP", "X86::RIP"], "File": "X86InstrInfo113", "Func": "getOutliningType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16454, "Length": 278, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsOptimizeMathLibCalls", "::", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "TargetLibraryInfo", ">", "(", ")", ";", "FunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsOptimizeMathLibCalls", "Func": "getAnalysisUsage", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16455, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_expand_conditional_move", "(", "rtx", "*", "operands", ")", "{", "rtx", "cond", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "operands", "[", "1", "]", ")", ";", "rtx", "op0", "=", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ";", "rtx", "op1", "=", "XEXP", "(", "operands", "[", "1", "]", ",", "1", ")", ";", "mips_emit_compare", "(", "&", "code", ",", "&", "op0", ",", "&", "op1", ",", "true", ")", ";", "cond", "=", "gen_rtx_fmt_ee", "(", "code", ",", "GET_MODE", "(", "op0", ")", ",", "op0", ",", "op1", ")", ";", "if", "(", "ISA_HAS_SEL", "&&", "INTEGRAL_MODE_P", "(", "GET_MODE", "(", "operands", "[", "2", "]", ")", ")", "&&", "register_operand", "(", "operands", "[", "2", "]", ",", "VOIDmode", ")", "&&", "register_operand", "(", "operands", "[", "3", "]", ",", "VOIDmode", ")", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", ";", "rtx", "temp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rtx", "temp2", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "temp", ",", "gen_rtx_IF_THEN_ELSE", "(", "mode", ",", "cond", ",", "operands", "[", "2", "]", ",", "const0_rtx", ")", ")", ")", ";", "cond", "=", "gen_rtx_fmt_ee", "(", "(", "code", "==", "EQ", ")", "?", "NE", ":", "EQ", ",", "GET_MODE", "(", "op0", ")", ",", "op0", ",", "op1", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "temp2", ",", "gen_rtx_IF_THEN_ELSE", "(", "mode", ",", "cond", ",", "operands", "[", "3", "]", ",", "const0_rtx", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "operands", "[", "0", "]", ",", "gen_rtx_IOR", "(", "mode", ",", "temp", ",", "temp2", ")", ")", ")", ";", "}", "else", "{", "if", "(", "FLOAT_MODE_P", "(", "GET_MODE", "(", "operands", "[", "2", "]", ")", ")", "&&", "!", "ISA_HAS_SEL", ")", "{", "operands", "[", "2", "]", "=", "force_reg", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", ",", "operands", "[", "2", "]", ")", ";", "operands", "[", "3", "]", "=", "force_reg", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", ",", "operands", "[", "3", "]", ")", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "operands", "[", "0", "]", ",", "gen_rtx_IF_THEN_ELSE", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", ",", "cond", ",", "operands", "[", "2", "]", ",", "operands", "[", "3", "]", ")", ")", ")", ";", "}", "}", ""], "natrual_language": ["Perform", "the", "comparison", "in", "OPERANDS", "[", "1", "]", ".", "Move", "OPERANDS", "[", "2", "]", "into", "OPERANDS", "[", "0", "]", "if", "the", "condition", "holds", ",", "otherwise", "move", "OPERANDS", "[", "3", "]", "into", "OPERANDS", "[", "0", "]", "."], "TS_V_token": ["mips", "1", "1", "0", "1", "1", "2", "2", "3", "0", "2", "3", "0", "2", "2", "0", "2", "3", "0", "3", "0", "0", "2", "3"], "File": "mips", "Func": "mips_expand_conditional_move", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16456, "Length": 329, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTTI", "::", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ")", "const", "{", "assert", "(", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", "&&", "\"Invalid opcode\"", ")", ";", "return", "TargetTransformInfo", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ")", ";", "}", ""], "natrual_language": ["This", "is", "an", "approximation", "of", "reciprocal", "throughput", "of", "a", "math/logic", "op", "."], "TS_V_token": ["PowerPC", "PPC", "\"Invalid opcode\""], "File": "PPCTargetTransformInfo75", "Func": "getArithmeticInstrCost", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16457, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "TOYDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "return", "SelectCode", "(", "N", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["TOY", "TOY"], "File": "TOYISelDAGToDAG", "Func": "Select", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16458, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86FrameLowering", "::", "getFrameIndexReferencePreferSP", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "Register", "&", "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", ")", ";", "if", "(", "!", "IgnoreSPUpdates", "&&", "!", "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": "X86FrameLowering101", "Func": "getFrameIndexReferencePreferSP", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16459, "Length": 130, "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": "ARMFastISel", "Func": "fastLowerArguments", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16460, "Length": 422, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_needs_doubleword_align", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "if", "(", "!", "type", ")", "return", "PARM_BOUNDARY", "<", "GET_MODE_ALIGNMENT", "(", "mode", ")", ";", "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", ";", "for", "(", "tree", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";", "field", ";", "field", "=", "DECL_CHAIN", "(", "field", ")", ")", "if", "(", "DECL_ALIGN", "(", "field", ")", ">", "PARM_BOUNDARY", ")", "return", "true", ";", "return", "false", ";", "}", ""], "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"], "File": "arm5", "Func": "arm_needs_doubleword_align", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16461, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "nds32_output_32bit_load_s", "(", "rtx", "*", "operands", ",", "int", "byte", ")", "{", "char", "pattern", "[", "100", "]", ";", "unsigned", "char", "size", ";", "rtx", "code", ";", "code", "=", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ";", "size", "=", "nds32_byte_to_size", "(", "byte", ")", ";", "switch", "(", "GET_CODE", "(", "code", ")", ")", "{", "case", "REG", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"l%csi\\t%%0, %%1\"", ",", "size", ")", ";", "break", ";", "case", "SYMBOL_REF", ":", "case", "CONST", ":", "operands", "[", "1", "]", "=", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ";", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"l%csi.gp\\t%%0, [ + %%1]\"", ",", "size", ")", ";", "break", ";", "case", "POST_INC", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"l%csi.bi\\t%%0, %%1, %d\"", ",", "size", ",", "byte", ")", ";", "break", ";", "case", "POST_DEC", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"l%csi.bi\\t%%0, %%1, -%d\"", ",", "size", ",", "byte", ")", ";", "break", ";", "case", "POST_MODIFY", ":", "switch", "(", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "code", ",", "1", ")", ",", "1", ")", ")", ")", "{", "case", "REG", ":", "case", "SUBREG", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"l%cs.bi\\t%%0, %%1\"", ",", "size", ")", ";", "break", ";", "case", "CONST_INT", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"l%csi.bi\\t%%0, %%1\"", ",", "size", ")", ";", "break", ";", "default", ":", "abort", "(", ")", ";", "}", "break", ";", "case", "PLUS", ":", "switch", "(", "GET_CODE", "(", "XEXP", "(", "code", ",", "1", ")", ")", ")", "{", "case", "REG", ":", "case", "SUBREG", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"l%cs\\t%%0, %%1\"", ",", "size", ")", ";", "break", ";", "case", "CONST_INT", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"l%csi\\t%%0, %%1\"", ",", "size", ")", ";", "break", ";", "default", ":", "abort", "(", ")", ";", "}", "break", ";", "case", "LO_SUM", ":", "operands", "[", "2", "]", "=", "XEXP", "(", "code", ",", "1", ")", ";", "operands", "[", "1", "]", "=", "XEXP", "(", "code", ",", "0", ")", ";", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"l%csi\\t%%0, [%%1 + lo12(%%2)]\"", ",", "size", ")", ";", "break", ";", "default", ":", "abort", "(", ")", ";", "}", "output_asm_insn", "(", "pattern", ",", "operands", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "32-bit", "load", "with", "signed", "extension", "."], "TS_V_token": ["nds32", "100", "1", "0", "\"l%csi\\t%%0, %%1\"", "1", "1", "0", "\"l%csi.gp\\t%%0, [ + %%1]\"", "\"l%csi.bi\\t%%0, %%1, %d\"", "\"l%csi.bi\\t%%0, %%1, -%d\"", "1", "1", "\"l%cs.bi\\t%%0, %%1\"", "\"l%csi.bi\\t%%0, %%1\"", "1", "\"l%cs\\t%%0, %%1\"", "\"l%csi\\t%%0, %%1\"", "2", "1", "1", "0", "\"l%csi\\t%%0, [%%1 + lo12(%%2)]\"", "\"\""], "File": "nds32-md-auxiliary", "Func": "nds32_output_32bit_load_s", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16462, "Length": 349, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LC2200InstrInfo", "::", "analyzeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "&", "TBB", ",", "MachineBasicBlock", "*", "&", "FBB", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "bool", "AllowModify", ")", "const", "{", "MachineBasicBlock", "::", "reverse_iterator", "I", "=", "MBB", ".", "rbegin", "(", ")", ",", "REnd", "=", "MBB", ".", "rend", "(", ")", ";", "while", "(", "I", "!=", "REnd", "&&", "I", "->", "isDebugInstr", "(", ")", ")", "++", "I", ";", "if", "(", "I", "==", "REnd", "||", "!", "isUnpredicatedTerminator", "(", "*", "I", ")", ")", "{", "TBB", "=", "FBB", "=", "nullptr", ";", "return", "false", ";", "}", "SmallVector", "<", "MachineInstr", "*", ",", "4", ">", "BranchInstrs", ";", "MachineInstr", "*", "LastInst", "=", "&", "*", "I", ";", "unsigned", "LastOpc", "=", "LastInst", "->", "getOpcode", "(", ")", ";", "BranchInstrs", ".", "push_back", "(", "LastInst", ")", ";", "if", "(", "!", "getAnalyzableBrOpc", "(", "LastOpc", ")", ")", "return", "true", ";", "unsigned", "SecondLastOpc", "=", "0", ";", "MachineInstr", "*", "SecondLastInst", "=", "nullptr", ";", "++", "I", ";", "while", "(", "I", "!=", "REnd", "&&", "I", "->", "isDebugInstr", "(", ")", ")", "++", "I", ";", "if", "(", "I", "!=", "REnd", ")", "{", "SecondLastInst", "=", "&", "*", "I", ";", "SecondLastOpc", "=", "SecondLastInst", "->", "getOpcode", "(", ")", ";", "if", "(", "isUnpredicatedTerminator", "(", "*", "SecondLastInst", ")", "&&", "!", "getAnalyzableBrOpc", "(", "SecondLastOpc", ")", ")", "return", "true", ";", "}", "if", "(", "!", "SecondLastOpc", "||", "(", "SecondLastOpc", "!=", "LC2200", "::", "JMP", "&&", "SecondLastOpc", "!=", "LC2200", "::", "CMP_JMP", "&&", "SecondLastOpc", "!=", "LC2200", "::", "GOTO", ")", ")", "{", "if", "(", "LastInst", "->", "isUnconditionalBranch", "(", ")", ")", "{", "TBB", "=", "LastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "return", "false", ";", "}", "AnalyzeCondBr", "(", "LastInst", ",", "LastOpc", ",", "TBB", ",", "Cond", ")", ";", "return", "false", ";", "}", "if", "(", "++", "I", "!=", "REnd", "&&", "isUnpredicatedTerminator", "(", "*", "I", ")", ")", "return", "true", ";", "BranchInstrs", ".", "insert", "(", "BranchInstrs", ".", "begin", "(", ")", ",", "SecondLastInst", ")", ";", "if", "(", "SecondLastInst", "->", "isUnconditionalBranch", "(", ")", ")", "{", "if", "(", "!", "AllowModify", ")", "{", "return", "true", ";", "}", "TBB", "=", "SecondLastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "LastInst", "->", "eraseFromParent", "(", ")", ";", "BranchInstrs", ".", "pop_back", "(", ")", ";", "return", "false", ";", "}", "if", "(", "!", "LastInst", "->", "isUnconditionalBranch", "(", ")", ")", "return", "true", ";", "AnalyzeCondBr", "(", "SecondLastInst", ",", "SecondLastOpc", ",", "TBB", ",", "Cond", ")", ";", "FBB", "=", "LastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "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": ["LC2200", "LC2200", "4", "0", "LC2200::JMP", "LC2200::CMP_JMP", "LC2200::GOTO", "0", "0", "0"], "File": "LC2200InstrInfo1", "Func": "analyzeBranch", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16463, "Length": 385, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachinePointerInfo", "MipsFunctionInfo", "::", "callPtrInfo", "(", "MachineFunction", "&", "MF", ",", "const", "GlobalValue", "*", "GV", ")", "{", "return", "MachinePointerInfo", "(", "MF", ".", "getPSVManager", "(", ")", ".", "getGlobalValueCallEntry", "(", "GV", ")", ")", ";", "}", ""], "natrual_language": ["Create", "a", "MachinePointerInfo", "that", "has", "a", "GlobalValuePseudoSourceValue", "object", "representing", "a", "GOT", "entry", "for", "a", "global", "function", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsMachineFunction16", "Func": "callPtrInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16464, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "or1k_legitimize_address_displacement", "(", "rtx", "*", "off1", ",", "rtx", "*", "off2", ",", "poly_int64", "poly_offset", ",", "machine_mode", ")", "{", "HOST_WIDE_INT", "orig_offset", "=", "poly_offset", ";", "HOST_WIDE_INT", "lo", ",", "hi", ";", "if", "(", "orig_offset", ">=", "0", "&&", "orig_offset", "<", "2", "*", "32767", ")", "{", "hi", "=", "32767", ";", "lo", "=", "orig_offset", "-", "hi", ";", "}", "else", "if", "(", "orig_offset", "<", "0", "&&", "orig_offset", ">=", "2", "*", "-", "32768", ")", "{", "hi", "=", "-", "32768", ";", "lo", "=", "orig_offset", "-", "hi", ";", "}", "else", "{", "lo", "=", "sext_hwi", "(", "orig_offset", ",", "16", ")", ";", "hi", "=", "orig_offset", "-", "lo", ";", "}", "*", "off1", "=", "GEN_INT", "(", "hi", ")", ";", "*", "off2", "=", "GEN_INT", "(", "lo", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Worker", "for", "TARGET_LEGITIMIZE_ADDRESS_DISPLACEMENT", ".", "Split", "an", "out-of-range", "address", "displacement", "into", "hi", "and", "lo", "parts", ".", "The", "hi", "part", "will", "have", "to", "be", "loaded", "into", "a", "register", "separately", ",", "but", "the", "low", "part", "will", "be", "folded", "into", "the", "memory", "operand", "."], "TS_V_token": ["or1k", "0", "2", "32767", "32767", "0", "2", "32768", "32768", "16"], "File": "or1k", "Func": "or1k_legitimize_address_displacement", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16465, "Length": 117, "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", "{", "if", "(", "Subtarget", "->", "isThumb1Only", "(", ")", ")", "return", "false", ";", "const", "bool", "restrict_addressing_modes_for_nacl", "=", "(", "(", "FlagSfiLoad", "&&", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "LOAD", ")", "||", "(", "FlagSfiStore", "&&", "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", ")", ")", "{", "VT", "=", "LD", "->", "getMemoryVT", "(", ")", ";", "Ptr", "=", "LD", "->", "getBasePtr", "(", ")", ";", "isSEXTLoad", "=", "LD", "->", "getExtensionType", "(", ")", "==", "ISD", "::", "SEXTLOAD", ";", "}", "else", "if", "(", "StoreSDNode", "*", "ST", "=", "dyn_cast", "<", "StoreSDNode", ">", "(", "N", ")", ")", "{", "VT", "=", "ST", "->", "getMemoryVT", "(", ")", ";", "Ptr", "=", "ST", "->", "getBasePtr", "(", ")", ";", "}", "else", "return", "false", ";", "bool", "isInc", ";", "bool", "isLegal", "=", "false", ";", "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::LOAD", "ISD::STORE", "ISD::SEXTLOAD", "ARM", "ISD::ADD", "ISD::POST_INC", "ISD::POST_DEC"], "File": "ARMISelLowering91", "Func": "getPostIndexedAddressParts", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16466, "Length": 307, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmBackend", "::", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "return", "int64_t", "(", "Value", ")", "!=", "int64_t", "(", "int8_t", "(", "Value", ")", ")", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["X86", "X86"], "File": "X86AsmBackend (2)", "Func": "fixupNeedsRelaxation", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16467, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "AArch64AsmParser", "::", "tryParseRegister", "(", ")", "{", "const", "AsmToken", "&", "Tok", "=", "Parser", ".", "getTok", "(", ")", ";", "assert", "(", "Tok", ".", "is", "(", "AsmToken", "::", "Identifier", ")", "&&", "\"Token is not an Identifier\"", ")", ";", "std", "::", "string", "lowerCase", "=", "Tok", ".", "getString", "(", ")", ".", "lower", "(", ")", ";", "unsigned", "RegNum", "=", "matchRegisterNameAlias", "(", "lowerCase", ",", "false", ")", ";", "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", "\"Token is not an Identifier\"", "0", "\"fp\"", "AArch64::FP", "\"lr\"", "AArch64::LR", "\"x31\"", "AArch64::XZR", "\"w31\"", "AArch64::WZR", "0", "0", "1"], "File": "AArch64AsmParser102", "Func": "tryParseRegister", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16468, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VZeroUpperInserter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "X86Subtarget", "&", "ST", "=", "MF", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "ST", ".", "hasAVX", "(", ")", "||", "ST", ".", "hasAVX512", "(", ")", ")", "return", "false", ";", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "EverMadeChange", "=", "false", ";", "bool", "FnHasLiveInYmm", "=", "checkFnHasLiveInYmm", "(", "MRI", ")", ";", "bool", "YMMUsed", "=", "FnHasLiveInYmm", ";", "if", "(", "!", "YMMUsed", ")", "{", "const", "TargetRegisterClass", "*", "RC", "=", "&", "X86", "::", "VR256RegClass", ";", "for", "(", "TargetRegisterClass", "::", "iterator", "i", "=", "RC", "->", "begin", "(", ")", ",", "e", "=", "RC", "->", "end", "(", ")", ";", "i", "!=", "e", ";", "i", "++", ")", "{", "if", "(", "!", "MRI", ".", "reg_nodbg_empty", "(", "*", "i", ")", ")", "{", "YMMUsed", "=", "true", ";", "break", ";", "}", "}", "}", "if", "(", "!", "YMMUsed", ")", "{", "return", "false", ";", "}", "assert", "(", "BlockStates", ".", "empty", "(", ")", "&&", "DirtySuccessors", ".", "empty", "(", ")", "&&", "\"X86VZeroUpper state should be clear\"", ")", ";", "BlockStates", ".", "resize", "(", "MF", ".", "getNumBlockIDs", "(", ")", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "processBasicBlock", "(", "*", "I", ")", ";", "if", "(", "FnHasLiveInYmm", ")", "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", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"MBB #\"", "<<", "MBB", ".", "getNumber", "(", ")", "<<", "\" was Pass-through, is now Dirty-out.\\n\"", ")", ";", "for", "(", "MachineBasicBlock", "::", "succ_iterator", "SI", "=", "MBB", ".", "succ_begin", "(", ")", ",", "SE", "=", "MBB", ".", "succ_end", "(", ")", ";", "SI", "!=", "SE", ";", "++", "SI", ")", "addDirtySuccessor", "(", "*", "*", "SI", ")", ";", "}", "}", "BlockStates", ".", "clear", "(", ")", ";", "return", "EverMadeChange", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86::VR256RegClass", "\"X86VZeroUpper state should be clear\"", "\"MBB #\"", "\" was Pass-through, is now Dirty-out.\\n\""], "File": "X86VZeroUpper17", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16469, "Length": 370, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"LoongArch Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["LoongArch", "\"LoongArch Assembly Printer\""], "File": "LoongArchAsmPrinter", "Func": "getPassName", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16470, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "unsigned", "int", "execute", "(", "function", "*", "fun", ")", "{", "return", "pcrel_opt_pass", "(", "fun", ")", ";", "}", ""], "natrual_language": ["Main", "entry", "point", "for", "this", "pass", "."], "TS_V_token": ["rs6000"], "File": "rs6000-pcrel-opt", "Func": "execute", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16471, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_darwin64_record_arg_advance_recurse", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "const_tree", "type", ",", "HOST_WIDE_INT", "startbitpos", ")", "{", "tree", "f", ";", "for", "(", "f", "=", "TYPE_FIELDS", "(", "type", ")", ";", "f", ";", "f", "=", "DECL_CHAIN", "(", "f", ")", ")", "if", "(", "TREE_CODE", "(", "f", ")", "==", "FIELD_DECL", ")", "{", "HOST_WIDE_INT", "bitpos", "=", "startbitpos", ";", "tree", "ftype", "=", "TREE_TYPE", "(", "f", ")", ";", "machine_mode", "mode", ";", "if", "(", "ftype", "==", "error_mark_node", ")", "continue", ";", "mode", "=", "TYPE_MODE", "(", "ftype", ")", ";", "if", "(", "DECL_SIZE", "(", "f", ")", "!=", "0", "&&", "tree_fits_uhwi_p", "(", "bit_position", "(", "f", ")", ")", ")", "bitpos", "+=", "int_bit_position", "(", "f", ")", ";", "if", "(", "TREE_CODE", "(", "ftype", ")", "==", "RECORD_TYPE", ")", "rs6000_darwin64_record_arg_advance_recurse", "(", "cum", ",", "ftype", ",", "bitpos", ")", ";", "else", "if", "(", "USE_FP_FOR_ARG_P", "(", "cum", ",", "mode", ")", ")", "{", "unsigned", "n_fpregs", "=", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "7", ")", ">>", "3", ";", "rs6000_darwin64_record_arg_advance_flush", "(", "cum", ",", "bitpos", ",", "0", ")", ";", "cum", "->", "fregno", "+=", "n_fpregs", ";", "if", "(", "mode", "==", "SFmode", ")", "{", "if", "(", "cum", "->", "floats_in_gpr", "==", "1", ")", "{", "cum", "->", "words", "++", ";", "cum", "->", "floats_in_gpr", "=", "0", ";", "}", "else", "if", "(", "bitpos", "%", "64", "==", "0", ")", "{", "cum", "->", "floats_in_gpr", "++", ";", "}", "else", "{", "}", "}", "else", "cum", "->", "words", "+=", "n_fpregs", ";", "}", "else", "if", "(", "USE_ALTIVEC_FOR_ARG_P", "(", "cum", ",", "mode", ",", "1", ")", ")", "{", "rs6000_darwin64_record_arg_advance_flush", "(", "cum", ",", "bitpos", ",", "0", ")", ";", "cum", "->", "vregno", "++", ";", "cum", "->", "words", "+=", "2", ";", "}", "else", "if", "(", "cum", "->", "intoffset", "==", "-", "1", ")", "cum", "->", "intoffset", "=", "bitpos", ";", "}", "}", ""], "natrual_language": ["The", "darwin64", "ABI", "calls", "for", "us", "to", "recurse", "down", "through", "structs", ",", "looking", "for", "elements", "passed", "in", "registers", ".", "Unfortunately", ",", "we", "have", "to", "track", "int", "register", "count", "here", "also", "because", "of", "misalignments", "in", "powerpc", "alignment", "mode", "."], "TS_V_token": ["rs6000", "0", "7", "3", "0", "1", "0", "64", "0", "1", "0", "2", "1"], "File": "rs6000-call", "Func": "rs6000_darwin64_record_arg_advance_recurse", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16472, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_secondary_memory_needed", "(", "machine_mode", "mode", ",", "reg_class_t", "from_class", ",", "reg_class_t", "to_class", ")", "{", "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": ["powerpcspe", "0"], "File": "powerpcspe", "Func": "rs6000_secondary_memory_needed", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16473, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetTransformInfo", "::", "PopcntSupportKind", "PPCTTIImpl", "::", "getPopcntSupport", "(", "unsigned", "TyWidth", ")", "{", "assert", "(", "isPowerOf2_32", "(", "TyWidth", ")", "&&", "\"Ty width must be power of 2\"", ")", ";", "if", "(", "ST", "->", "hasPOPCNTD", "(", ")", "!=", "PPCSubtarget", "::", "POPCNTD_Unavailable", "&&", "TyWidth", "<=", "64", ")", "return", "ST", "->", "hasPOPCNTD", "(", ")", "==", "PPCSubtarget", "::", "POPCNTD_Slow", "?", "TTI", "::", "PSK_SlowHardware", ":", "TTI", "::", "PSK_FastHardware", ";", "return", "TTI", "::", "PSK_Software", ";", "}", ""], "natrual_language": ["Return", "hardware", "support", "for", "population", "count", "."], "TS_V_token": ["PowerPC", "PPC", "\"Ty width must be power of 2\"", "PPC", "64", "PPC"], "File": "PPCTargetTransformInfo", "Func": "getPopcntSupport", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16474, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "shouldExpandAtomicRMWInIR", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "const", "X86Subtarget", "&", "Subtarget", "=", "getTargetMachine", "(", ")", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "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", "X86", "X86", "64", "32", "\"Unknown atomic operation\""], "File": "X86ISelLowering113", "Func": "shouldExpandAtomicRMWInIR", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16475, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_address_valid_for_prefetch_p", "(", "rtx", "x", ",", "bool", "strict_p", ")", "{", "struct", "aarch64_address_info", "addr", ";", "bool", "res", "=", "aarch64_classify_address", "(", "&", "addr", ",", "x", ",", "DImode", ",", "strict_p", ")", ";", "if", "(", "!", "res", ")", "return", "false", ";", "return", "addr", ".", "type", "!=", "ADDRESS_REG_WB", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "address", "X", "is", "valid", "for", "a", "PRFM", "instruction", ".", "STRICT_P", "is", "true", "if", "we", "should", "do", "strict", "checking", "with", "aarch64_classify_address", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_address_valid_for_prefetch_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16476, "Length": 45, "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", "&&", "TREE_CODE", "(", "type", ")", "!=", "OPAQUE_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_long_type_node", ")", "return", "\"U6__boolx\"", ";", "if", "(", "type", "==", "float128_type_node", "||", "type", "==", "float64x_type_node", ")", "return", "NULL", ";", "if", "(", "SCALAR_FLOAT_TYPE_P", "(", "type", ")", "&&", "FLOAT128_IBM_P", "(", "TYPE_MODE", "(", "type", ")", ")", ")", "return", "\"g\"", ";", "if", "(", "SCALAR_FLOAT_TYPE_P", "(", "type", ")", "&&", "FLOAT128_IEEE_P", "(", "TYPE_MODE", "(", "type", ")", ")", ")", "return", "\"u9__ieee128\"", ";", "if", "(", "type", "==", "vector_pair_type_node", ")", "return", "\"u13__vector_pair\"", ";", "if", "(", "type", "==", "vector_quad_type_node", ")", "return", "\"u13__vector_quad\"", ";", "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": ["rs6000", "\"U6__boolc\"", "\"U6__bools\"", "\"u7__pixel\"", "\"U6__booli\"", "\"U6__boolx\"", "\"g\"", "\"u9__ieee128\"", "\"u13__vector_pair\"", "\"u13__vector_quad\""], "File": "rs60001", "Func": "rs6000_mangle_type", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16477, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "delete_output_files", "(", "void", ")", "{", "fclose", "(", "header_file", ")", ";", "fclose", "(", "init_file", ")", ";", "fclose", "(", "defines_file", ")", ";", "remove", "(", "header_path", ")", ";", "remove", "(", "init_path", ")", ";", "remove", "(", "defines_path", ")", ";", "}", ""], "natrual_language": ["Close", "and", "delete", "output", "files", "after", "any", "failure", ",", "so", "that", "subsequent", "build", "dependencies", "will", "fail", "."], "TS_V_token": ["rs6000"], "File": "rs6000-gen-builtins", "Func": "delete_output_files", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16478, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64TTIImpl", "::", "getIntrinsicInstrCost", "(", "const", "IntrinsicCostAttributes", "&", "ICA", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "auto", "*", "RetTy", "=", "ICA", ".", "getReturnType", "(", ")", ";", "switch", "(", "ICA", ".", "getID", "(", ")", ")", "{", "case", "Intrinsic", "::", "smin", ":", "case", "Intrinsic", "::", "umin", ":", "case", "Intrinsic", "::", "smax", ":", "case", "Intrinsic", "::", "umax", ":", "{", "static", "const", "auto", "ValidMinMaxTys", "=", "{", "MVT", "::", "v8i8", ",", "MVT", "::", "v16i8", ",", "MVT", "::", "v4i16", ",", "MVT", "::", "v8i16", ",", "MVT", "::", "v2i32", ",", "MVT", "::", "v4i32", "}", ";", "auto", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "RetTy", ")", ";", "if", "(", "any_of", "(", "ValidMinMaxTys", ",", "[", "&", "LT", "]", "(", "MVT", "M", ")", "{", "return", "M", "==", "LT", ".", "second", ";", "}", ")", ")", "return", "LT", ".", "first", ";", "break", ";", "}", "default", ":", "break", ";", "}", "return", "BaseT", "::", "getIntrinsicInstrCost", "(", "ICA", ",", "CostKind", ")", ";", "}", ""], "natrual_language": ["Get", "intrinsic", "cost", "based", "on", "arguments", "."], "TS_V_token": ["AArch64", "AArch64", "Intrinsic::smin", "Intrinsic::umin", "Intrinsic::smax", "Intrinsic::umax", "MVT::v8i8", "MVT::v16i8", "MVT::v4i16", "MVT::v8i16", "MVT::v2i32", "MVT::v4i32"], "File": "AArch64TargetTransformInfo4", "Func": "getIntrinsicInstrCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16479, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_convert_uns_sidf_sse", "(", "rtx", "target", ",", "rtx", "input", ")", "{", "REAL_VALUE_TYPE", "TWO31r", ";", "rtx", "x", ",", "fp", ";", "x", "=", "expand_simple_binop", "(", "SImode", ",", "PLUS", ",", "input", ",", "GEN_INT", "(", "-", "2147483647", "-", "1", ")", ",", "NULL", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "fp", "=", "gen_reg_rtx", "(", "DFmode", ")", ";", "emit_insn", "(", "gen_floatsidf2", "(", "fp", ",", "x", ")", ")", ";", "real_ldexp", "(", "&", "TWO31r", ",", "&", "dconst1", ",", "31", ")", ";", "x", "=", "const_double_from_real_value", "(", "TWO31r", ",", "DFmode", ")", ";", "x", "=", "expand_simple_binop", "(", "DFmode", ",", "PLUS", ",", "fp", ",", "x", ",", "target", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "if", "(", "HONOR_SIGNED_ZEROS", "(", "DFmode", ")", "&&", "flag_rounding_math", ")", "x", "=", "ix86_expand_sse_fabs", "(", "x", ",", "NULL", ")", ";", "if", "(", "x", "!=", "target", ")", "emit_move_insn", "(", "target", ",", "x", ")", ";", "}", ""], "natrual_language": ["Convert", "an", "unsigned", "SImode", "value", "into", "a", "DFmode", ".", "Only", "currently", "used", "for", "SSE", ",", "but", "applicable", "anywhere", "."], "TS_V_token": ["i386", "2147483647", "1", "1", "31", "0"], "File": "i386-expand", "Func": "ix86_expand_convert_uns_sidf_sse", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16480, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_init_cumulative_args", "(", "CUMULATIVE_ARGS", "*", "pcum", ",", "tree", "fntype", ",", "rtx", "libname", "ATTRIBUTE_UNUSED", ",", "tree", "fndecl", "ATTRIBUTE_UNUSED", ")", "{", "pcum", "->", "nregs", "=", "(", "(", "fntype", "&&", "aggregate_value_p", "(", "TREE_TYPE", "(", "fntype", ")", ",", "fntype", ")", ")", "?", "1", ":", "0", ")", ";", "pcum", "->", "iwmmxt_nregs", "=", "0", ";", "pcum", "->", "can_split", "=", "true", ";", "pcum", "->", "call_cookie", "=", "CALL_NORMAL", ";", "if", "(", "TARGET_LONG_CALLS", ")", "pcum", "->", "call_cookie", "=", "CALL_LONG", ";", "if", "(", "fntype", ")", "{", "if", "(", "lookup_attribute", "(", "\"short_call\"", ",", "TYPE_ATTRIBUTES", "(", "fntype", ")", ")", ")", "pcum", "->", "call_cookie", "=", "CALL_SHORT", ";", "else", "if", "(", "lookup_attribute", "(", "\"long_call\"", ",", "TYPE_ATTRIBUTES", "(", "fntype", ")", ")", ")", "pcum", "->", "call_cookie", "=", "CALL_LONG", ";", "}", "pcum", "->", "named_count", "=", "0", ";", "pcum", "->", "nargs", "=", "0", ";", "if", "(", "TARGET_REALLY_IWMMXT", "&&", "fntype", ")", "{", "tree", "fn_arg", ";", "for", "(", "fn_arg", "=", "TYPE_ARG_TYPES", "(", "fntype", ")", ";", "fn_arg", ";", "fn_arg", "=", "TREE_CHAIN", "(", "fn_arg", ")", ")", "pcum", "->", "named_count", "+=", "1", ";", "if", "(", "!", "pcum", "->", "named_count", ")", "pcum", "->", "named_count", "=", "INT_MAX", ";", "}", "}", ""], "natrual_language": ["Initialize", "a", "variable", "CUM", "of", "type", "CUMULATIVE_ARGS", "for", "a", "call", "to", "a", "function", "whose", "data", "type", "is", "FNTYPE", ".", "For", "a", "library", "call", ",", "FNTYPE", "is", "NULL", "."], "TS_V_token": ["arm", "1", "0", "0", "\"short_call\"", "\"long_call\"", "0", "0", "1"], "File": "arm3", "Func": "arm_init_cumulative_args", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16481, "Length": 175, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SystemZTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "{", "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", "::", "JumpTable", ":", "return", "LowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "LowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "default", ":", "llvm_unreachable", "(", "\"Should not custom lower this!\"", ")", ";", "return", "SDValue", "(", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["SystemZ", "SystemZ", "ISD::BR_CC", "ISD::SELECT_CC", "ISD::GlobalAddress", "ISD::JumpTable", "ISD::ConstantPool", "\"Should not custom lower this!\""], "File": "SystemZISelLowering101", "Func": "LowerOperation", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16482, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmBackend", "::", "getFixupKind", "(", "StringRef", "Name", ",", "MCFixupKind", "&", "MappedKind", ")", "const", "{", "if", "(", "Name", "==", "\"R_MIPS_NONE\"", ")", "{", "MappedKind", "=", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_NONE", ";", "return", "true", ";", "}", "if", "(", "Name", "==", "\"R_MIPS_32\"", ")", "{", "MappedKind", "=", "FK_Data_4", ";", "return", "true", ";", "}", "return", "MCAsmBackend", "::", "getFixupKind", "(", "Name", ",", "MappedKind", ")", ";", "}", ""], "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\""], "File": "MipsAsmBackend (2)", "Func": "getFixupKind", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16483, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "optimal_immediate_sequence", "(", "enum", "rtx_code", "code", ",", "unsigned", "HOST_WIDE_INT", "val", ",", "struct", "four_ints", "*", "return_sequence", ")", "{", "int", "best_consecutive_zeros", "=", "0", ";", "int", "i", ";", "int", "best_start", "=", "0", ";", "int", "insns1", ",", "insns2", ";", "struct", "four_ints", "tmp_sequence", ";", "if", "(", "TARGET_ARM", ")", "{", "for", "(", "i", "=", "0", ";", "i", "<", "32", ";", "i", "+=", "2", ")", "{", "int", "consecutive_zeros", "=", "0", ";", "if", "(", "!", "(", "val", "&", "(", "3", "<<", "i", ")", ")", ")", "{", "while", "(", "(", "i", "<", "32", ")", "&&", "!", "(", "val", "&", "(", "3", "<<", "i", ")", ")", ")", "{", "consecutive_zeros", "+=", "2", ";", "i", "+=", "2", ";", "}", "if", "(", "consecutive_zeros", ">", "best_consecutive_zeros", ")", "{", "best_consecutive_zeros", "=", "consecutive_zeros", ";", "best_start", "=", "i", "-", "consecutive_zeros", ";", "}", "i", "-=", "2", ";", "}", "}", "}", "insns1", "=", "optimal_immediate_sequence_1", "(", "code", ",", "val", ",", "return_sequence", ",", "best_start", ")", ";", "if", "(", "best_start", "!=", "0", "&&", "(", "(", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "1", ")", "<<", "best_start", ")", "<", "val", ")", ")", "{", "insns2", "=", "optimal_immediate_sequence_1", "(", "code", ",", "val", ",", "&", "tmp_sequence", ",", "0", ")", ";", "if", "(", "insns2", "<=", "insns1", ")", "{", "*", "return_sequence", "=", "tmp_sequence", ";", "insns1", "=", "insns2", ";", "}", "}", "return", "insns1", ";", "}", ""], "natrual_language": ["Return", "a", "sequence", "of", "integers", ",", "in", "RETURN_SEQUENCE", "that", "fit", "into", "ARM/THUMB2", "immediates", ",", "and", "add", "up", "to", "VAL", ".", "Thr", "function", "return", "value", "gives", "the", "number", "of", "insns", "required", "."], "TS_V_token": ["arm", "0", "0", "0", "32", "2", "0", "3", "32", "3", "2", "2", "2", "0", "1", "0"], "File": "arm4", "Func": "optimal_immediate_sequence", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16484, "Length": 205, "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": ["AArch64"], "File": "AArch64ISelLowering (2)1", "Func": "supportSplitCSR", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16485, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addPreserved", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "FunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["PowerPC"], "File": "PPCBoolRetToInt", "Func": "getAnalysisUsage", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16486, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VEAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["VE", "VE"], "File": "VEAsmParser", "Func": "ParseDirective", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16487, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "fusion_gpr_load_p", "(", "rtx", "addis_reg", ",", "rtx", "addis_value", ",", "rtx", "target", ",", "rtx", "mem", ")", "{", "rtx", "addr", ";", "rtx", "base_reg", ";", "if", "(", "!", "base_reg_operand", "(", "addis_reg", ",", "GET_MODE", "(", "addis_reg", ")", ")", ")", "return", "false", ";", "if", "(", "!", "base_reg_operand", "(", "target", ",", "GET_MODE", "(", "target", ")", ")", ")", "return", "false", ";", "if", "(", "!", "fusion_gpr_addis", "(", "addis_value", ",", "GET_MODE", "(", "addis_value", ")", ")", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "mem", ")", "==", "ZERO_EXTEND", "||", "(", "GET_CODE", "(", "mem", ")", "==", "SIGN_EXTEND", "&&", "TARGET_P8_FUSION_SIGN", ")", ")", "mem", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "if", "(", "!", "MEM_P", "(", "mem", ")", ")", "return", "false", ";", "if", "(", "!", "fusion_gpr_mem_load", "(", "mem", ",", "GET_MODE", "(", "mem", ")", ")", ")", "return", "false", ";", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "!=", "PLUS", "&&", "GET_CODE", "(", "addr", ")", "!=", "LO_SUM", ")", "return", "false", ";", "if", "(", "REGNO", "(", "addis_reg", ")", "!=", "REGNO", "(", "target", ")", ")", "{", "if", "(", "reg_mentioned_p", "(", "target", ",", "mem", ")", ")", "return", "false", ";", "if", "(", "!", "peep2_reg_dead_p", "(", "2", ",", "addis_reg", ")", ")", "return", "false", ";", "if", "(", "REG_P", "(", "target", ")", "&&", "REGNO", "(", "target", ")", "==", "STACK_POINTER_REGNUM", ")", "return", "false", ";", "}", "base_reg", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "return", "REGNO", "(", "addis_reg", ")", "==", "REGNO", "(", "base_reg", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "peephole2", "can", "combine", "a", "load", "involving", "a", "combination", "of", "an", "addis", "instruction", "and", "a", "load", "with", "an", "offset", "that", "can", "be", "fused", "together", "on", "a", "power8", "."], "TS_V_token": ["powerpcspe", "0", "0", "2", "0"], "File": "powerpcspe", "Func": "fusion_gpr_load_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16488, "Length": 231, "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": 16489, "Length": 132, "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": 16490, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreEmitPass2", "(", ")", "{", "addPass", "(", "createX86RetpolineThunksPass", "(", ")", ")", ";", "const", "Triple", "&", "TT", "=", "TM", "->", "getTargetTriple", "(", ")", ";", "if", "(", "!", "TT", ".", "isOSDarwin", "(", ")", "&&", "!", "TT", ".", "isOSWindows", "(", ")", ")", "addPass", "(", "createCFIInstrInserter", "(", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "may", "add", "passes", "immediately", "before", "machine", "code", "is", "emitted", "in", "this", "callback", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86TargetMachine102", "Func": "addPreEmitPass2", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16491, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86DAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "OptForSize", "=", "MF", "->", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "Attribute", "::", "OptimizeForSize", ")", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "I", "++", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "(", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", "&&", "!", "Subtarget", "->", "callRegIndirect", "(", ")", ")", "||", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "TC_RETURN", "&&", "(", "Subtarget", "->", "is64Bit", "(", ")", "||", "getTargetMachine", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", ")", ")", ")", ")", "{", "bool", "HasCallSeq", "=", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", ";", "SDValue", "Chain", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Load", "=", "N", "->", "getOperand", "(", "1", ")", ";", "if", "(", "!", "isCalleeLoad", "(", "Load", ",", "Chain", ",", "HasCallSeq", ")", ")", "continue", ";", "MoveBelowOrigChain", "(", "CurDAG", ",", "Load", ",", "SDValue", "(", "N", ",", "0", ")", ",", "Chain", ")", ";", "++", "NumLoadMoved", ";", "continue", ";", "}", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_ROUND", "&&", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "MVT", "SrcVT", "=", "N", "->", "getOperand", "(", "0", ")", ".", "getSimpleValueType", "(", ")", ";", "MVT", "DstVT", "=", "N", "->", "getSimpleValueType", "(", "0", ")", ";", "if", "(", "SrcVT", ".", "isVector", "(", ")", "||", "DstVT", ".", "isVector", "(", ")", ")", "continue", ";", "const", "X86TargetLowering", "*", "X86Lowering", "=", "static_cast", "<", "const", "X86TargetLowering", "*", ">", "(", "TLI", ")", ";", "bool", "SrcIsSSE", "=", "X86Lowering", "->", "isScalarFPTypeInSSEReg", "(", "SrcVT", ")", ";", "bool", "DstIsSSE", "=", "X86Lowering", "->", "isScalarFPTypeInSSEReg", "(", "DstVT", ")", ";", "if", "(", "SrcIsSSE", "&&", "DstIsSSE", ")", "continue", ";", "if", "(", "!", "SrcIsSSE", "&&", "!", "DstIsSSE", ")", "{", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "if", "(", "N", "->", "getConstantOperandVal", "(", "1", ")", ")", "continue", ";", "}", "MVT", "MemVT", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_ROUND", ")", "MemVT", "=", "DstVT", ";", "else", "MemVT", "=", "SrcIsSSE", "?", "SrcVT", ":", "DstVT", ";", "SDValue", "MemTmp", "=", "CurDAG", "->", "CreateStackTemporary", "(", "MemVT", ")", ";", "SDLoc", "dl", "(", "N", ")", ";", "SDValue", "Store", "=", "CurDAG", "->", "getTruncStore", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "dl", ",", "N", "->", "getOperand", "(", "0", ")", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "SDValue", "Result", "=", "CurDAG", "->", "getExtLoad", "(", "ISD", "::", "EXTLOAD", ",", "dl", ",", "DstVT", ",", "Store", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "false", ",", "0", ")", ";", "--", "I", ";", "CurDAG", "->", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "0", ")", ",", "Result", ")", ";", "++", "I", ";", "CurDAG", "->", "DeleteNode", "(", "N", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["X86", "X86", "X86ISD::CALL", "X86ISD::TC_RETURN", "X86ISD::CALL", "0", "1", "0", "ISD::FP_ROUND", "ISD::FP_EXTEND", "0", "0", "X86", "X86", "X86", "X86", "X86", "ISD::FP_EXTEND", "1", "ISD::FP_ROUND", "0", "0", "ISD::EXTLOAD", "0", "0"], "File": "X86ISelDAGToDAG110", "Func": "PreprocessISelDAG", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16492, "Length": 473, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "quad_aligned_store_p", "(", "swap_web_entry", "*", "insn_entry", ",", "rtx_insn", "*", "insn", ")", "{", "unsigned", "uid", "=", "INSN_UID", "(", "insn", ")", ";", "if", "(", "!", "insn_entry", "[", "uid", "]", ".", "is_swap", "||", "!", "insn_entry", "[", "uid", "]", ".", "is_store", ")", "return", "false", ";", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "rtx", "dest_address", "=", "XEXP", "(", "SET_DEST", "(", "body", ")", ",", "0", ")", ";", "rtx", "swap_reg", "=", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ";", "if", "(", "!", "REG_P", "(", "dest_address", ")", "&&", "!", "rs6000_sum_of_two_registers_p", "(", "dest_address", ")", ")", "return", "false", ";", "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", "(", "!", "rtx_equal_p", "(", "DF_REF_REG", "(", "use", ")", ",", "swap_reg", ")", ")", "continue", ";", "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_swap", "||", "insn_entry", "[", "uid2", "]", ".", "is_load", "||", "insn_entry", "[", "uid2", "]", ".", "is_store", ")", "return", "false", ";", "break", ";", "}", "rtx", "set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "set", ")", "{", "rtx", "dest", "=", "SET_DEST", "(", "set", ")", ";", "if", "(", "MEM_P", "(", "dest", ")", ")", "return", "(", "MEM_ALIGN", "(", "dest", ")", ">=", "128", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "INSN", "represents", "a", "store-with-swap", "of", "a", "swapped", "value", "and", "the", "memory", "address", "is", "quad-word", "aligned", "."], "TS_V_token": ["rs6000", "0", "0", "128"], "File": "rs6000-p8swap", "Func": "quad_aligned_store_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16493, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "X86TargetLowering", "::", "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", ")", ")", "{", "if", "(", "Size", ">=", "16", "&&", "(", "Subtarget", "->", "isUnalignedMemAccessFast", "(", ")", "||", "(", "(", "DstAlign", "==", "0", "||", "DstAlign", ">=", "16", ")", "&&", "(", "SrcAlign", "==", "0", "||", "SrcAlign", ">=", "16", ")", ")", ")", "&&", "Subtarget", "->", "getStackAlignment", "(", ")", ">=", "16", ")", "{", "if", "(", "Subtarget", "->", "hasAVX", "(", ")", "&&", "Subtarget", "->", "getStackAlignment", "(", ")", ">=", "32", ")", "return", "MVT", "::", "v8f32", ";", "if", "(", "Subtarget", "->", "hasXMMInt", "(", ")", ")", "return", "MVT", "::", "v4i32", ";", "if", "(", "Subtarget", "->", "hasXMM", "(", ")", ")", "return", "MVT", "::", "v4f32", ";", "}", "else", "if", "(", "!", "MemcpyStrSrc", "&&", "Size", ">=", "8", "&&", "!", "Subtarget", "->", "is64Bit", "(", ")", "&&", "Subtarget", "->", "getStackAlignment", "(", ")", ">=", "8", "&&", "Subtarget", "->", "hasXMMInt", "(", ")", ")", "{", "return", "MVT", "::", "f64", ";", "}", "}", "if", "(", "Subtarget", "->", "is64Bit", "(", ")", "&&", "Size", ">=", "8", ")", "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": ["X86", "X86", "16", "0", "16", "0", "16", "16", "32", "MVT::v8f32", "MVT::v4i32", "MVT::v4f32", "8", "8", "MVT::f64", "8", "MVT::i64", "MVT::i32"], "File": "X86ISelLowering198", "Func": "getOptimalMemOpType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16494, "Length": 207, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_output_64bit_xfer", "(", "char", "direction", ",", "unsigned", "int", "gpreg", ",", "unsigned", "int", "fpreg", ")", "{", "if", "(", "TARGET_64BIT", ")", "fprintf", "(", "asm_out_file", ",", "\"\\tdm%cc1\\t%s,%s\\n\"", ",", "direction", ",", "reg_names", "[", "gpreg", "]", ",", "reg_names", "[", "fpreg", "]", ")", ";", "else", "if", "(", "ISA_HAS_MXHC1", ")", "{", "fprintf", "(", "asm_out_file", ",", "\"\\tm%cc1\\t%s,%s\\n\"", ",", "direction", ",", "reg_names", "[", "gpreg", "+", "TARGET_BIG_ENDIAN", "]", ",", "reg_names", "[", "fpreg", "]", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tm%chc1\\t%s,%s\\n\"", ",", "direction", ",", "reg_names", "[", "gpreg", "+", "TARGET_LITTLE_ENDIAN", "]", ",", "reg_names", "[", "fpreg", "]", ")", ";", "}", "else", "if", "(", "TARGET_FLOATXX", "&&", "direction", "==", "'t'", ")", "{", "fprintf", "(", "asm_out_file", ",", "\"\\tsw\\t%s,0($sp)\\n\"", ",", "reg_names", "[", "gpreg", "]", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tsw\\t%s,4($sp)\\n\"", ",", "reg_names", "[", "gpreg", "+", "1", "]", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tldc1\\t%s,0($sp)\\n\"", ",", "reg_names", "[", "fpreg", "]", ")", ";", "}", "else", "if", "(", "TARGET_FLOATXX", "&&", "direction", "==", "'f'", ")", "{", "fprintf", "(", "asm_out_file", ",", "\"\\tsdc1\\t%s,0($sp)\\n\"", ",", "reg_names", "[", "fpreg", "]", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tlw\\t%s,0($sp)\\n\"", ",", "reg_names", "[", "gpreg", "]", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tlw\\t%s,4($sp)\\n\"", ",", "reg_names", "[", "gpreg", "+", "1", "]", ")", ";", "}", "else", "{", "fprintf", "(", "asm_out_file", ",", "\"\\tm%cc1\\t%s,%s\\n\"", ",", "direction", ",", "reg_names", "[", "gpreg", "+", "TARGET_BIG_ENDIAN", "]", ",", "reg_names", "[", "fpreg", "]", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tm%cc1\\t%s,%s\\n\"", ",", "direction", ",", "reg_names", "[", "gpreg", "+", "TARGET_LITTLE_ENDIAN", "]", ",", "reg_names", "[", "fpreg", "+", "1", "]", ")", ";", "}", "}", ""], "natrual_language": ["Likewise", "for", "64-bit", "values", "."], "TS_V_token": ["mips", "\"\\tdm%cc1\\t%s,%s\\n\"", "\"\\tm%cc1\\t%s,%s\\n\"", "\"\\tm%chc1\\t%s,%s\\n\"", "\"\\tsw\\t%s,0($sp)\\n\"", "\"\\tsw\\t%s,4($sp)\\n\"", "1", "\"\\tldc1\\t%s,0($sp)\\n\"", "\"\\tsdc1\\t%s,0($sp)\\n\"", "\"\\tlw\\t%s,0($sp)\\n\"", "\"\\tlw\\t%s,4($sp)\\n\"", "1", "\"\\tm%cc1\\t%s,%s\\n\"", "\"\\tm%cc1\\t%s,%s\\n\"", "1"], "File": "mips", "Func": "mips_output_64bit_xfer", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16495, "Length": 234, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_asm_function_prologue", "(", "FILE", "*", "file", ",", "HOST_WIDE_INT", "size", "ATTRIBUTE_UNUSED", ")", "{", "int", "r", ";", "const", "char", "*", "func_name", ";", "tree", "attrs", ";", "tree", "name", ";", "fprintf", "(", "file", ",", "\"\\t! BEGIN PROLOGUE\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\t! fp needed: %d\\n\"", ",", "frame_pointer_needed", ")", ";", "fprintf", "(", "file", ",", "\"\\t! pretend_args: %d\\n\"", ",", "cfun", "->", "machine", "->", "va_args_size", ")", ";", "fprintf", "(", "file", ",", "\"\\t! local_size: %d\\n\"", ",", "cfun", "->", "machine", "->", "local_size", ")", ";", "fprintf", "(", "file", ",", "\"\\t! out_args_size: %d\\n\"", ",", "cfun", "->", "machine", "->", "out_args_size", ")", ";", "fprintf", "(", "file", ",", "\"\\t! registers ever_live: \"", ")", ";", "for", "(", "r", "=", "0", ";", "r", "<", "32", ";", "r", "++", ")", "{", "if", "(", "df_regs_ever_live_p", "(", "r", ")", ")", "fprintf", "(", "file", ",", "\"%s, \"", ",", "reg_names", "[", "r", "]", ")", ";", "}", "fputc", "(", "'\\n'", ",", "file", ")", ";", "fprintf", "(", "file", ",", "\"\\t! function attributes: \"", ")", ";", "attrs", "=", "DECL_ATTRIBUTES", "(", "current_function_decl", ")", ";", "if", "(", "!", "attrs", ")", "fprintf", "(", "file", ",", "\"None\"", ")", ";", "func_name", "=", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "current_function_decl", ")", ")", ";", "nds32_construct_isr_vectors_information", "(", "attrs", ",", "func_name", ")", ";", "while", "(", "attrs", ")", "{", "name", "=", "TREE_PURPOSE", "(", "attrs", ")", ";", "fprintf", "(", "file", ",", "\"%s \"", ",", "IDENTIFIER_POINTER", "(", "name", ")", ")", ";", "attrs", "=", "TREE_CHAIN", "(", "attrs", ")", ";", "}", "fputc", "(", "'\\n'", ",", "file", ")", ";", "}", ""], "natrual_language": ["The", "content", "produced", "from", "this", "function", "will", "be", "placed", "before", "prologue", "body", "."], "TS_V_token": ["nds32", "\"\\t! BEGIN PROLOGUE\\n\"", "\"\\t! fp needed: %d\\n\"", "\"\\t! pretend_args: %d\\n\"", "\"\\t! local_size: %d\\n\"", "\"\\t! out_args_size: %d\\n\"", "\"\\t! registers ever_live: \"", "0", "32", "\"%s, \"", "\"\\t! function attributes: \"", "\"None\"", "\"%s \""], "File": "nds322", "Func": "nds32_asm_function_prologue", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16496, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PassConfig", "::", "addIRTranslator", "(", ")", "{", "addPass", "(", "new", "IRTranslator", "(", ")", ")", ";", "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": ["AArch64", "AArch64"], "File": "AArch64TargetMachine (2)3", "Func": "addIRTranslator", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16497, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_reduc", "(", "rtx", "(", "*", "fn", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ",", "rtx", "dest", ",", "rtx", "in", ")", "{", "rtx", "half", ",", "dst", ",", "vec", "=", "in", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "in", ")", ";", "int", "i", ";", "if", "(", "TARGET_SSE4_1", "&&", "mode", "==", "V8HImode", "&&", "fn", "==", "gen_uminv8hi3", ")", "{", "emit_insn", "(", "gen_sse4_1_phminposuw", "(", "dest", ",", "in", ")", ")", ";", "return", ";", "}", "for", "(", "i", "=", "GET_MODE_BITSIZE", "(", "mode", ")", ";", "i", ">", "GET_MODE_BITSIZE", "(", "GET_MODE_INNER", "(", "mode", ")", ")", ";", "i", ">>=", "1", ")", "{", "half", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_reduc_half", "(", "half", ",", "vec", ",", "i", ")", ";", "if", "(", "i", "==", "GET_MODE_BITSIZE", "(", "GET_MODE_INNER", "(", "mode", ")", ")", "*", "2", ")", "dst", "=", "dest", ";", "else", "dst", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "fn", "(", "dst", ",", "half", ",", "vec", ")", ")", ";", "vec", "=", "dst", ";", "}", "}", ""], "natrual_language": ["Expand", "a", "vector", "reduction", ".", "FN", "is", "the", "binary", "pattern", "to", "reduce", ";", "DEST", "is", "the", "destination", ";", "IN", "is", "the", "input", "vector", "."], "TS_V_token": ["i386", "1", "2"], "File": "i3864", "Func": "ix86_expand_reduc", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16498, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZPostRASchedStrategy", "::", "enterMBB", "(", "MachineBasicBlock", "*", "NextMBB", ")", "{", "assert", "(", "(", "SchedStates", ".", "find", "(", "NextMBB", ")", "==", "SchedStates", ".", "end", "(", ")", ")", "&&", "\"Entering MBB twice?\"", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"** Entering \"", "<<", "printMBBReference", "(", "*", "NextMBB", ")", ")", ";", "MBB", "=", "NextMBB", ";", "HazardRec", "=", "SchedStates", "[", "MBB", "]", "=", "new", "SystemZHazardRecognizer", "(", "TII", ",", "&", "SchedModel", ")", ";", "LLVM_DEBUG", "(", "const", "MachineLoop", "*", "Loop", "=", "MLI", "->", "getLoopFor", "(", "MBB", ")", ";", "if", "(", "Loop", "&&", "Loop", "->", "getHeader", "(", ")", "==", "MBB", ")", "dbgs", "(", ")", "<<", "\" (Loop header)\"", ";", "dbgs", "(", ")", "<<", "\":\\n\"", ";", ")", ";", "MachineBasicBlock", "*", "SinglePredMBB", "=", "getSingleSchedPred", "(", "MBB", ",", "MLI", "->", "getLoopFor", "(", "MBB", ")", ")", ";", "if", "(", "SinglePredMBB", "==", "nullptr", "||", "SchedStates", ".", "find", "(", "SinglePredMBB", ")", "==", "SchedStates", ".", "end", "(", ")", ")", "return", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"** Continued scheduling from \"", "<<", "printMBBReference", "(", "*", "SinglePredMBB", ")", "<<", "\"\\n\"", ";", ")", ";", "HazardRec", "->", "copyState", "(", "SchedStates", "[", "SinglePredMBB", "]", ")", ";", "LLVM_DEBUG", "(", "HazardRec", "->", "dumpState", "(", ")", ";", ")", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "SinglePredMBB", "->", "getFirstTerminator", "(", ")", ";", "I", "!=", "SinglePredMBB", "->", "end", "(", ")", ";", "I", "++", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"** Emitting incoming branch: \"", ";", "I", "->", "dump", "(", ")", ";", ")", ";", "bool", "TakenBranch", "=", "(", "I", "->", "isBranch", "(", ")", "&&", "(", "TII", "->", "getBranchInfo", "(", "*", "I", ")", ".", "Target", "->", "isReg", "(", ")", "||", "TII", "->", "getBranchInfo", "(", "*", "I", ")", ".", "Target", "->", "getMBB", "(", ")", "==", "MBB", ")", ")", ";", "HazardRec", "->", "emitInstruction", "(", "&", "*", "I", ",", "TakenBranch", ")", ";", "if", "(", "TakenBranch", ")", "break", ";", "}", "}", ""], "natrual_language": ["Tell", "the", "strategy", "that", "MBB", "is", "about", "to", "be", "processed", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"Entering MBB twice?\"", "\"** Entering \"", "SystemZ", "\" (Loop header)\"", "\":\\n\"", "\"** Continued scheduling from \"", "\"\\n\"", "\"** Emitting incoming branch: \""], "File": "SystemZMachineScheduler", "Func": "enterMBB", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16499, "Length": 283, "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", ")", ";", "stmt_cost", "+=", "adjust_vectorization_cost", "(", "kind", ",", "stmt_info", ")", ";", "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": ["rs6000", "0", "50"], "File": "rs6000", "Func": "rs6000_add_stmt_cost", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16500, "Length": 161, "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", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "JITInfo", "(", ")", ",", "InstrItins", "(", "Subtarget", ".", "getInstrItineraryData", "(", ")", ")", "{", "if", "(", "Options", ".", "FloatABIType", "==", "FloatABI", "::", "Default", ")", "this", "->", "Options", ".", "FloatABIType", "=", "FloatABI", "::", "Soft", ";", "}", ""], "natrual_language": ["Create", "an", "ARM", "architecture", "model", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMTargetMachine100", "Func": "ARMBaseTargetMachine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16501, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "crx_function_arg", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "int", "named", "ATTRIBUTE_UNUSED", ")", "{", "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", ")", "{", "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", ")", "{", "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", "crx.h", "."], "TS_V_token": ["crx", "0", "0", "0", "1", "0", "1"], "File": "crx", "Func": "crx_function_arg", "Target": "crx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16502, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SICAsmPrinter", "::", "lowerOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCOperand", "&", "MCOp", ")", "{", "MCOp", "=", "MCInstLowering", ".", "LowerOperand", "(", "MO", ")", ";", "return", "MCOp", ".", "isValid", "(", ")", ";", "}", ""], "natrual_language": ["Wrapper", "for", "MCInstLowering.lowerOperand", "(", ")", "for", "the", "tblgen'erated", "pseudo", "lowering", "."], "TS_V_token": ["SIC", "SIC"], "File": "SICAsmPrinter", "Func": "lowerOperand", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16503, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_evpc_rev_local", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "HOST_WIDE_INT", "diff", ";", "unsigned", "int", "i", ",", "size", ",", "unspec", ";", "machine_mode", "pred_mode", ";", "if", "(", "d", "->", "vec_flags", "==", "VEC_SVE_PRED", "||", "!", "d", "->", "one_vector_p", "||", "!", "d", "->", "perm", "[", "0", "]", ".", "is_constant", "(", "&", "diff", ")", "||", "!", "diff", ")", "return", "false", ";", "if", "(", "d", "->", "vec_flags", "&", "VEC_SVE_DATA", ")", "size", "=", "(", "diff", "+", "1", ")", "*", "aarch64_sve_container_bits", "(", "d", "->", "vmode", ")", ";", "else", "size", "=", "(", "diff", "+", "1", ")", "*", "GET_MODE_UNIT_BITSIZE", "(", "d", "->", "vmode", ")", ";", "if", "(", "size", "==", "64", ")", "{", "unspec", "=", "UNSPEC_REV64", ";", "pred_mode", "=", "VNx2BImode", ";", "}", "else", "if", "(", "size", "==", "32", ")", "{", "unspec", "=", "UNSPEC_REV32", ";", "pred_mode", "=", "VNx4BImode", ";", "}", "else", "if", "(", "size", "==", "16", ")", "{", "unspec", "=", "UNSPEC_REV16", ";", "pred_mode", "=", "VNx8BImode", ";", "}", "else", "return", "false", ";", "unsigned", "int", "step", "=", "diff", "+", "1", ";", "for", "(", "i", "=", "0", ";", "i", "<", "step", ";", "++", "i", ")", "if", "(", "!", "d", "->", "perm", ".", "series_p", "(", "i", ",", "step", ",", "diff", "-", "i", ",", "step", ")", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "if", "(", "d", "->", "vec_flags", "&", "VEC_SVE_DATA", ")", "{", "rtx", "pred", "=", "aarch64_ptrue_reg", "(", "pred_mode", ")", ";", "emit_insn", "(", "gen_aarch64_sve_revbhw", "(", "d", "->", "vmode", ",", "pred_mode", ",", "d", "->", "target", ",", "pred", ",", "d", "->", "op0", ")", ")", ";", "return", "true", ";", "}", "rtx", "src", "=", "gen_rtx_UNSPEC", "(", "d", "->", "vmode", ",", "gen_rtvec", "(", "1", ",", "d", "->", "op0", ")", ",", "unspec", ")", ";", "emit_set_insn", "(", "d", "->", "target", ",", "src", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "for", "the", "REV", "{", "64,32,16", "}", "insns", ",", "which", "reverse", "elements", "within", "each", "64-bit", ",", "32-bit", "or", "16-bit", "granule", "."], "TS_V_token": ["aarch64", "0", "1", "1", "64", "32", "16", "1", "0", "1"], "File": "aarch641", "Func": "aarch64_evpc_rev_local", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16504, "Length": 280, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WaitInsert", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "!", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "StrictFP", ")", ")", "return", "false", ";", "const", "X86Subtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "MachineBasicBlock", "::", "iterator", "MI", "=", "MBB", ".", "begin", "(", ")", ";", "MI", "!=", "MBB", ".", "end", "(", ")", ";", "++", "MI", ")", "{", "if", "(", "!", "isX87Instruction", "(", "*", "MI", ")", ")", "continue", ";", "if", "(", "!", "(", "MI", "->", "mayRaiseFPException", "(", ")", "||", "MI", "->", "mayLoadOrStore", "(", ")", ")", "||", "isX87ControlInstruction", "(", "*", "MI", ")", ")", "continue", ";", "MachineBasicBlock", "::", "iterator", "AfterMI", "=", "std", "::", "next", "(", "MI", ")", ";", "if", "(", "AfterMI", "!=", "MBB", ".", "end", "(", ")", "&&", "isX87Instruction", "(", "*", "AfterMI", ")", "&&", "!", "isX87NonWaitingControlInstruction", "(", "*", "AfterMI", ")", ")", "continue", ";", "BuildMI", "(", "MBB", ",", "AfterMI", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "X86", "::", "WAIT", ")", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\nInsert wait after:\\t\"", "<<", "*", "MI", ")", ";", "++", "MI", ";", "Changed", "=", "true", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86::WAIT", "\"\\nInsert wait after:\\t\""], "File": "X86InsertWait2", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16505, "Length": 210, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips16e_build_save_restore", "(", "bool", "restore_p", ",", "unsigned", "int", "*", "mask_ptr", ",", "HOST_WIDE_INT", "*", "offset_ptr", ",", "unsigned", "int", "nargs", ",", "HOST_WIDE_INT", "size", ")", "{", "rtx", "pattern", ",", "set", ";", "HOST_WIDE_INT", "offset", ",", "top_offset", ";", "unsigned", "int", "i", ",", "regno", ";", "int", "n", ";", "gcc_assert", "(", "cfun", "->", "machine", "->", "frame", ".", "num_fp", "==", "0", ")", ";", "n", "=", "1", "+", "nargs", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "mips16e_save_restore_regs", ")", ";", "i", "++", ")", "if", "(", "BITSET_P", "(", "*", "mask_ptr", ",", "mips16e_save_restore_regs", "[", "i", "]", ")", ")", "n", "++", ";", "pattern", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "n", ")", ")", ";", "n", "=", "0", ";", "set", "=", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "restore_p", "?", "size", ":", "-", "size", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "set", ")", "=", "1", ";", "XVECEXP", "(", "pattern", ",", "0", ",", "n", "++", ")", "=", "set", ";", "top_offset", "=", "restore_p", "?", "size", ":", "0", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nargs", ";", "i", "++", ")", "{", "offset", "=", "top_offset", "+", "i", "*", "UNITS_PER_WORD", ";", "set", "=", "mips16e_save_restore_reg", "(", "restore_p", ",", "true", ",", "offset", ",", "GP_ARG_FIRST", "+", "i", ")", ";", "XVECEXP", "(", "pattern", ",", "0", ",", "n", "++", ")", "=", "set", ";", "}", "offset", "=", "top_offset", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "mips16e_save_restore_regs", ")", ";", "i", "++", ")", "{", "regno", "=", "mips16e_save_restore_regs", "[", "i", "]", ";", "if", "(", "BITSET_P", "(", "*", "mask_ptr", ",", "regno", ")", ")", "{", "offset", "-=", "UNITS_PER_WORD", ";", "set", "=", "mips16e_save_restore_reg", "(", "restore_p", ",", "false", ",", "offset", ",", "regno", ")", ";", "XVECEXP", "(", "pattern", ",", "0", ",", "n", "++", ")", "=", "set", ";", "*", "mask_ptr", "&=", "~", "(", "1", "<<", "regno", ")", ";", "}", "}", "*", "offset_ptr", "=", "size", "+", "(", "offset", "-", "top_offset", ")", ";", "gcc_assert", "(", "n", "==", "XVECLEN", "(", "pattern", ",", "0", ")", ")", ";", "return", "pattern", ";", "}", ""], "natrual_language": ["Return", "RTL", "for", "a", "MIPS16e", "SAVE", "or", "RESTORE", "instruction", ";", "RESTORE_P", "says", "which", ".", "The", "instruction", "must", ":", "-", "Allocate", "or", "deallocate", "SIZE", "bytes", "in", "total", ";", "SIZE", "is", "known", "to", "be", "nonzero", ".", "-", "Save", "or", "restore", "as", "many", "registers", "in", "*", "MASK_PTR", "as", "possible", ".", "The", "instruction", "saves", "the", "first", "registers", "at", "the", "top", "of", "the", "allocated", "area", ",", "with", "the", "other", "registers", "below", "it", ".", "-", "Save", "NARGS", "argument", "registers", "above", "the", "allocated", "area", ".", "(", "NARGS", "is", "always", "zero", "if", "RESTORE_P", ".", ")", "The", "SAVE", "and", "RESTORE", "instructions", "can", "not", "save", "and", "restore", "all", "general", "registers", ",", "so", "there", "may", "be", "some", "registers", "left", "over", "for", "the", "caller", "to", "handle", ".", "Destructively", "modify", "*", "MASK_PTR", "so", "that", "it", "contains", "the", "registers", "that", "still", "need", "to", "be", "saved", "or", "restored", ".", "The", "caller", "can", "save", "these", "registers", "in", "the", "memory", "immediately", "below", "*", "OFFSET_PTR", ",", "which", "is", "a", "byte", "offset", "from", "the", "bottom", "of", "the", "allocated", "stack", "area", "."], "TS_V_token": ["mips", "0", "1", "0", "0", "1", "0", "0", "0", "0", "0", "0", "1", "0"], "File": "mips", "Func": "mips16e_build_save_restore", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16506, "Length": 315, "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", ")", ",", "HasSym32", "(", "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'\"", ")", ";", "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", "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": "MipsSubtarget30", "Func": "MipsSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16507, "Length": 487, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rs6000_builtin_decl", "(", "unsigned", "code", ",", "bool", "initialize_p", "ATTRIBUTE_UNUSED", ")", "{", "HOST_WIDE_INT", "fnmask", ";", "if", "(", "code", ">=", "RS6000_BUILTIN_COUNT", ")", "return", "error_mark_node", ";", "fnmask", "=", "rs6000_builtin_info", "[", "code", "]", ".", "mask", ";", "if", "(", "(", "fnmask", "&", "rs6000_builtin_mask", ")", "!=", "fnmask", ")", "{", "rs6000_invalid_builtin", "(", "(", "enum", "rs6000_builtins", ")", "code", ")", ";", "return", "error_mark_node", ";", "}", "return", "rs6000_builtin_decls", "[", "code", "]", ";", "}", ""], "natrual_language": ["Returns", "the", "rs6000", "builtin", "decl", "for", "CODE", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_builtin_decl", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16508, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb2InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "ARM", "::", "GPRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "t2LDRi12", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "return", ";", "}", "if", "(", "ARM", "::", "GPRPairRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "DestReg", ")", ")", "{", "MachineRegisterInfo", "*", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "MRI", "->", "constrainRegClass", "(", "DestReg", ",", "&", "ARM", "::", "GPRPair_with_gsub_1_in_GPRwithAPSRnospRegClass", ")", ";", "}", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "t2LDRDi8", ")", ")", ";", "AddDReg", "(", "MIB", ",", "DestReg", ",", "ARM", "::", "gsub_0", ",", "RegState", "::", "DefineNoRead", ",", "TRI", ")", ";", "AddDReg", "(", "MIB", ",", "DestReg", ",", "ARM", "::", "gsub_1", ",", "RegState", "::", "DefineNoRead", ",", "TRI", ")", ";", "MIB", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "if", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "DestReg", ")", ")", "MIB", ".", "addReg", "(", "DestReg", ",", "RegState", "::", "ImplicitDefine", ")", ";", "return", ";", "}", "ARMBaseInstrInfo", "::", "loadRegFromStackSlot", "(", "MBB", ",", "I", ",", "DestReg", ",", "FI", ",", "RC", ",", "TRI", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM::GPRRegClass", "ARM::t2LDRi12", "0", "ARMCC::AL", "ARM::GPRPairRegClass", "ARM::GPRPair_with_gsub_1_in_GPRwithAPSRnospRegClass", "ARM::t2LDRDi8", "ARM::gsub_0", "ARM::gsub_1", "0", "ARMCC::AL", "ARM"], "File": "Thumb2InstrInfo62", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16509, "Length": 335, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "AssumptionCacheTracker", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "LoopInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "LoopInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "ScalarEvolutionWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "TargetTransformInfoWrapperPass", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["PowerPC"], "File": "PPCLoopDataPrefetch2", "Func": "getAnalysisUsage", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16510, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsSEInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "MI", ".", "mayLoad", "(", ")", ")", "{", "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", "1", "2", "2", "1", "0", "0"], "File": "MipsSEInstrInfo30", "Func": "isLoadFromStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16511, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64Subtarget", "::", "classifyGlobalFunctionReference", "(", "const", "GlobalValue", "*", "GV", ",", "const", "TargetMachine", "&", "TM", ")", "const", "{", "if", "(", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", "&&", "isTargetMachO", "(", ")", "&&", "!", "GV", "->", "hasInternalLinkage", "(", ")", ")", "return", "AArch64II", "::", "MO_GOT", ";", "auto", "*", "F", "=", "dyn_cast", "<", "Function", ">", "(", "GV", ")", ";", "if", "(", "UseNonLazyBind", "&&", "F", "&&", "F", "->", "hasFnAttribute", "(", "Attribute", "::", "NonLazyBind", ")", "&&", "!", "TM", ".", "shouldAssumeDSOLocal", "(", "*", "GV", "->", "getParent", "(", ")", ",", "GV", ")", ")", "return", "AArch64II", "::", "MO_GOT", ";", "if", "(", "getTargetTriple", "(", ")", ".", "isOSWindows", "(", ")", ")", "return", "ClassifyGlobalReference", "(", "GV", ",", "TM", ")", ";", "return", "AArch64II", "::", "MO_NO_FLAG", ";", "}", ""], "natrual_language": ["Classify", "a", "global", "function", "reference", "for", "the", "current", "subtarget", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64II::MO_GOT", "AArch64II::MO_GOT", "AArch64II::MO_NO_FLAG"], "File": "AArch64Subtarget (2)1", "Func": "classifyGlobalFunctionReference", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16512, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "get_scratch_register_on_entry", "(", "struct", "scratch_reg", "*", "sr", ",", "unsigned", "int", "regno1", ",", "unsigned", "long", "live_regs", ")", "{", "int", "regno", "=", "-", "1", ";", "sr", "->", "saved", "=", "false", ";", "if", "(", "regno1", "!=", "LR_REGNUM", "&&", "(", "live_regs", "&", "(", "1", "<<", "LR_REGNUM", ")", ")", "!=", "0", ")", "regno", "=", "LR_REGNUM", ";", "else", "{", "unsigned", "int", "i", ";", "for", "(", "i", "=", "4", ";", "i", "<", "11", ";", "i", "++", ")", "if", "(", "regno1", "!=", "i", "&&", "(", "live_regs", "&", "(", "1", "<<", "i", ")", ")", "!=", "0", ")", "{", "regno", "=", "i", ";", "break", ";", "}", "if", "(", "regno", "<", "0", ")", "{", "if", "(", "regno1", "==", "IP_REGNUM", "&&", "IS_NESTED", "(", "arm_current_func_type", "(", ")", ")", ")", "regno1", "=", "3", ";", "regno", "=", "(", "regno1", "==", "3", "?", "2", ":", "3", ")", ";", "sr", "->", "saved", "=", "REGNO_REG_SET_P", "(", "df_get_live_out", "(", "ENTRY_BLOCK_PTR_FOR_FN", "(", "cfun", ")", ")", ",", "regno", ")", ";", "}", "}", "sr", "->", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ";", "if", "(", "sr", "->", "saved", ")", "{", "rtx", "addr", "=", "gen_rtx_PRE_DEC", "(", "Pmode", ",", "stack_pointer_rtx", ")", ";", "rtx", "insn", "=", "emit_set_insn", "(", "gen_frame_mem", "(", "SImode", ",", "addr", ")", ",", "sr", "->", "reg", ")", ";", "rtx", "x", "=", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "4", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "x", ")", ";", "}", "}", ""], "natrual_language": ["Return", "a", "short-lived", "scratch", "register", "for", "use", "on", "function", "entry", ".", "In", "32-bit", "mode", ",", "it", "is", "valid", "only", "after", "the", "registers", "are", "saved", "in", "the", "prologue", ".", "This", "register", "must", "be", "released", "by", "means", "of", "release_scratch_register_on_entry", "once", "it", "is", "dead", "."], "TS_V_token": ["arm", "1", "1", "0", "4", "11", "1", "0", "0", "3", "3", "2", "3", "4", "1"], "File": "arm", "Func": "get_scratch_register_on_entry", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16513, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64RegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "AArch64FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "AArch64", "::", "GPR32RegClassID", ":", "case", "AArch64", "::", "GPR32spRegClassID", ":", "case", "AArch64", "::", "GPR32allRegClassID", ":", "case", "AArch64", "::", "GPR64spRegClassID", ":", "case", "AArch64", "::", "GPR64allRegClassID", ":", "case", "AArch64", "::", "GPR64RegClassID", ":", "case", "AArch64", "::", "GPR32commonRegClassID", ":", "case", "AArch64", "::", "GPR64commonRegClassID", ":", "return", "32", "-", "1", "-", "(", "TFI", "->", "hasFP", "(", "MF", ")", "||", "TT", ".", "isOSDarwin", "(", ")", ")", "-", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "getNumXRegisterReserved", "(", ")", "-", "hasBasePointer", "(", "MF", ")", ";", "case", "AArch64", "::", "FPR8RegClassID", ":", "case", "AArch64", "::", "FPR16RegClassID", ":", "case", "AArch64", "::", "FPR32RegClassID", ":", "case", "AArch64", "::", "FPR64RegClassID", ":", "case", "AArch64", "::", "FPR128RegClassID", ":", "return", "32", ";", "case", "AArch64", "::", "DDRegClassID", ":", "case", "AArch64", "::", "DDDRegClassID", ":", "case", "AArch64", "::", "DDDDRegClassID", ":", "case", "AArch64", "::", "QQRegClassID", ":", "case", "AArch64", "::", "QQQRegClassID", ":", "case", "AArch64", "::", "QQQQRegClassID", ":", "return", "32", ";", "case", "AArch64", "::", "FPR128_loRegClassID", ":", "return", "16", ";", "}", "}", ""], "natrual_language": ["Return", "the", "register", "pressure", "``", "high", "water", "mark", "''", "for", "the", "specific", "register", "class", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "0", "AArch64::GPR32RegClassID", "AArch64::GPR32spRegClassID", "AArch64::GPR32allRegClassID", "AArch64::GPR64spRegClassID", "AArch64::GPR64allRegClassID", "AArch64::GPR64RegClassID", "AArch64::GPR32commonRegClassID", "AArch64::GPR64commonRegClassID", "32", "1", "AArch64", "AArch64::FPR8RegClassID", "AArch64::FPR16RegClassID", "AArch64::FPR32RegClassID", "AArch64::FPR64RegClassID", "AArch64::FPR128RegClassID", "32", "AArch64::DDRegClassID", "AArch64::DDDRegClassID", "AArch64::DDDDRegClassID", "AArch64::QQRegClassID", "AArch64::QQQRegClassID", "AArch64::QQQQRegClassID", "32", "AArch64::FPR128_loRegClassID", "16"], "File": "AArch64RegisterInfo", "Func": "getRegPressureLimit", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16514, "Length": 189, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZMCAsmBackend", "::", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "for", "(", "uint64_t", "I", "=", "0", ";", "I", "!=", "Count", ";", "++", "I", ")", "OW", "->", "write8", "(", "7", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "7"], "File": "SystemZMCAsmBackend", "Func": "writeNopData", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16515, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_output_jmp_thunk_or_indirect", "(", "const", "char", "*", "thunk_name", ",", "const", "int", "regno", ")", "{", "if", "(", "thunk_name", "!=", "NULL", ")", "{", "if", "(", "REX_INT_REGNO_P", "(", "regno", ")", "&&", "ix86_indirect_branch_cs_prefix", ")", "fprintf", "(", "asm_out_file", ",", "\"\\tcs\\n\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tjmp\\t\"", ")", ";", "assemble_name", "(", "asm_out_file", ",", "thunk_name", ")", ";", "putc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "if", "(", "(", "ix86_harden_sls", "&", "harden_sls_indirect_jmp", ")", ")", "fputs", "(", "\"\\tint3\\n\"", ",", "asm_out_file", ")", ";", "}", "else", "output_indirect_thunk", "(", "regno", ")", ";", "}", ""], "natrual_language": ["Helper", "to", "output", "the", "jmp/call", "."], "TS_V_token": ["i386", "\"\\tcs\\n\"", "\"\\tjmp\\t\"", "\"\\tint3\\n\""], "File": "i386", "Func": "ix86_output_jmp_thunk_or_indirect", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16516, "Length": 81, "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": 16517, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "SHUXIRegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "return", "&", "SHUXI", "::", "GPRegsRegClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["SHUXI", "SHUXI", "SHUXI::GPRegsRegClass"], "File": "SHUXIRegisterInfo", "Func": "getPointerRegClass", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16518, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Sched", "::", "Preference", "PPCTargetLowering", "::", "getSchedulingPreference", "(", "SDNode", "*", "N", ")", "const", "{", "if", "(", "DisableILPPref", "||", "Subtarget", ".", "enableMachineScheduler", "(", ")", ")", "return", "TargetLowering", "::", "getSchedulingPreference", "(", "N", ")", ";", "return", "Sched", "::", "ILP", ";", "}", ""], "natrual_language": ["Some", "scheduler", ",", "e.g", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCISelLowering (2)2", "Func": "getSchedulingPreference", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16519, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86CallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "ArrayRef", "<", "Register", ">", "VRegs", ",", "FunctionLoweringInfo", "&", "FLI", ")", "const", "{", "assert", "(", "(", "(", "Val", "&&", "!", "VRegs", ".", "empty", "(", ")", ")", "||", "(", "!", "Val", "&&", "VRegs", ".", "empty", "(", ")", ")", ")", "&&", "\"Return value without a vreg\"", ")", ";", "auto", "MIB", "=", "MIRBuilder", ".", "buildInstrNoInsert", "(", "X86", "::", "RET", ")", ".", "addImm", "(", "0", ")", ";", "if", "(", "!", "VRegs", ".", "empty", "(", ")", ")", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "const", "DataLayout", "&", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "ArgInfo", "OrigRetInfo", "(", "VRegs", ",", "Val", "->", "getType", "(", ")", ",", "0", ")", ";", "setArgFlags", "(", "OrigRetInfo", ",", "AttributeList", "::", "ReturnIndex", ",", "DL", ",", "F", ")", ";", "SmallVector", "<", "ArgInfo", ",", "4", ">", "SplitRetInfos", ";", "splitToValueTypes", "(", "OrigRetInfo", ",", "SplitRetInfos", ",", "DL", ",", "F", ".", "getCallingConv", "(", ")", ")", ";", "X86OutgoingValueAssigner", "Assigner", "(", "RetCC_X86", ")", ";", "X86OutgoingValueHandler", "Handler", "(", "MIRBuilder", ",", "MRI", ",", "MIB", ")", ";", "if", "(", "!", "determineAndHandleAssignments", "(", "Handler", ",", "Assigner", ",", "SplitRetInfos", ",", "MIRBuilder", ",", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ")", ")", "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", "0", "4", "X86", "X86", "X86"], "File": "X86CallLowering11", "Func": "lowerReturn", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16520, "Length": 231, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "AZPRRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["AZPR", "AZPR"], "File": "AZPRTargetMachine", "Func": "getRegisterInfo", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16521, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XNCMTargetLowering", "::", "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": ["XNCM", "XNCM"], "File": "XNCMISelLowering", "Func": "isTruncateFree", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16522, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "shouldInsertFencesForAtomic", "(", "const", "Instruction", "*", "I", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Helper", "functions", "for", "atomic", "operations", "."], "TS_V_token": ["Sparc"], "File": "SparcISelLowering (2)2", "Func": "shouldInsertFencesForAtomic", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16523, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_issue_rate", "(", "void", ")", "{", "switch", "(", "arm_tune", ")", "{", "case", "xgene1", ":", "return", "4", ";", "case", "cortexa15", ":", "case", "cortexa57", ":", "case", "exynosm1", ":", "return", "3", ";", "case", "cortexm7", ":", "case", "cortexr4", ":", "case", "cortexr4f", ":", "case", "cortexr5", ":", "case", "genericv7a", ":", "case", "cortexa5", ":", "case", "cortexa7", ":", "case", "cortexa8", ":", "case", "cortexa9", ":", "case", "cortexa12", ":", "case", "cortexa17", ":", "case", "cortexa53", ":", "case", "fa726te", ":", "case", "marvell_pj4", ":", "return", "2", ";", "default", ":", "return", "1", ";", "}", "}", ""], "natrual_language": ["Most", "ARM", "cores", "are", "single", "issue", ",", "but", "some", "newer", "ones", "can", "dual", "issue", ".", "The", "scheduler", "descriptions", "rely", "on", "this", "being", "correct", "."], "TS_V_token": ["arm", "4", "3", "2", "1"], "File": "arm4", "Func": "arm_issue_rate", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16524, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "const", "TargetRegisterClass", "*", ",", "uint8_t", ">", "ARMTargetLowering", "::", "findRepresentativeClass", "(", "EVT", "VT", ")", "const", "{", "const", "TargetRegisterClass", "*", "RRC", "=", "0", ";", "uint8_t", "Cost", "=", "1", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "return", "TargetLowering", "::", "findRepresentativeClass", "(", "VT", ")", ";", "case", "MVT", "::", "f32", ":", "case", "MVT", "::", "f64", ":", "case", "MVT", "::", "v8i8", ":", "case", "MVT", "::", "v4i16", ":", "case", "MVT", "::", "v2i32", ":", "case", "MVT", "::", "v1i64", ":", "case", "MVT", "::", "v2f32", ":", "RRC", "=", "&", "ARM", "::", "DPRRegClass", ";", "if", "(", "Subtarget", "->", "useNEONForSinglePrecisionFP", "(", ")", ")", "Cost", "=", "2", ";", "break", ";", "case", "MVT", "::", "v16i8", ":", "case", "MVT", "::", "v8i16", ":", "case", "MVT", "::", "v4i32", ":", "case", "MVT", "::", "v2i64", ":", "case", "MVT", "::", "v4f32", ":", "case", "MVT", "::", "v2f64", ":", "RRC", "=", "&", "ARM", "::", "DPRRegClass", ";", "Cost", "=", "2", ";", "break", ";", "case", "MVT", "::", "v4i64", ":", "RRC", "=", "&", "ARM", "::", "DPRRegClass", ";", "Cost", "=", "4", ";", "break", ";", "case", "MVT", "::", "v8i64", ":", "RRC", "=", "&", "ARM", "::", "DPRRegClass", ";", "Cost", "=", "8", ";", "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": ["ARM", "ARM", "0", "1", "MVT::f32", "MVT::f64", "MVT::v8i8", "MVT::v4i16", "MVT::v2i32", "MVT::v1i64", "MVT::v2f32", "ARM::DPRRegClass", "2", "MVT::v16i8", "MVT::v8i16", "MVT::v4i32", "MVT::v2i64", "MVT::v4f32", "MVT::v2f64", "ARM::DPRRegClass", "2", "MVT::v4i64", "ARM::DPRRegClass", "4", "MVT::v8i64", "ARM::DPRRegClass", "8"], "File": "ARMISelLowering107", "Func": "findRepresentativeClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16525, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "tree", "get_svbool_t", "(", "void", ")", "{", "return", "acle_vector_types", "[", "0", "]", "[", "VECTOR_TYPE_svbool_t", "]", ";", "}", ""], "natrual_language": ["Return", "the", "ACLE", "type", "svbool_t", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64-sve-builtins", "Func": "get_svbool_t", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16526, "Length": 17, "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": 16527, "Length": 352, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "Register", "DestReg", ",", "int", "FI", ",", "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", "(", "*", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlign", "(", "FI", ")", ")", ";", "if", "(", "RC", "==", "&", "SP", "::", "I64RegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDXri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "IntRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "IntPairRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDDri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "FPRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDFri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "SP", "::", "DFPRegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDDFri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "SP", "::", "QFPRegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDQFri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "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": ["Sparc", "Sparc", "SP::I64RegsRegClass", "SP::LDXri", "0", "SP::IntRegsRegClass", "SP::LDri", "0", "SP::IntPairRegClass", "SP::LDDri", "0", "SP::FPRegsRegClass", "SP::LDFri", "0", "SP::DFPRegsRegClass", "SP::LDDFri", "0", "SP::QFPRegsRegClass", "SP::LDQFri", "0", "\"Can't load this register from stack slot\""], "File": "SparcInstrInfo24", "Func": "loadRegFromStackSlot", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16528, "Length": 379, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARM64AsmBackend", "::", "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!\"", ")", ";", "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": ["ARM64", "ARM64", "\"Invalid fixup offset!\"", "0", "8", "0xff"], "File": "ARM64AsmBackend", "Func": "applyFixup", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16529, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitFill", "(", "const", "MCExpr", "&", "NumBytes", ",", "uint64_t", "FillValue", ",", "SMLoc", "Loc", ")", "override", "{", "EmitMappingSymbol", "(", "\"$d\"", ")", ";", "MCObjectStreamer", "::", "emitFill", "(", "NumBytes", ",", "FillValue", ",", "Loc", ")", ";", "}", ""], "natrual_language": ["Emit", "Size", "bytes", "worth", "of", "the", "value", "specified", "by", "FillValue", "."], "TS_V_token": ["CSKY", "\"$d\""], "File": "CSKYELFStreamer", "Func": "emitFill", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16530, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPostRegAlloc", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableRedundantCopyElimination", ")", "addPass", "(", "createAArch64RedundantCopyEliminationPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "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"], "File": "AArch64TargetMachine (2)3", "Func": "addPostRegAlloc", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16531, "Length": 52, "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", "(", "0x00000000", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["TeeRISC", "4", "0", "0", "4", "0x00000000"], "File": "TeeRISCAsmBackend", "Func": "writeNopData", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16532, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZRegisterInfo", "::", "shouldCoalesce", "(", "MachineInstr", "*", "MI", ",", "const", "TargetRegisterClass", "*", "SrcRC", ",", "unsigned", "SubReg", ",", "const", "TargetRegisterClass", "*", "DstRC", ",", "unsigned", "DstSubReg", ",", "const", "TargetRegisterClass", "*", "NewRC", ",", "LiveIntervals", "&", "LIS", ")", "const", "{", "assert", "(", "MI", "->", "isCopy", "(", ")", "&&", "\"Only expecting COPY instructions\"", ")", ";", "if", "(", "!", "(", "NewRC", "->", "hasSuperClassEq", "(", "&", "SystemZ", "::", "GR128BitRegClass", ")", "&&", "(", "getRegSizeInBits", "(", "*", "SrcRC", ")", "<=", "64", "||", "getRegSizeInBits", "(", "*", "DstRC", ")", "<=", "64", ")", ")", ")", "return", "true", ";", "unsigned", "WideOpNo", "=", "(", "getRegSizeInBits", "(", "*", "SrcRC", ")", "==", "128", "?", "1", ":", "0", ")", ";", "unsigned", "GR128Reg", "=", "MI", "->", "getOperand", "(", "WideOpNo", ")", ".", "getReg", "(", ")", ";", "unsigned", "GRNarReg", "=", "MI", "->", "getOperand", "(", "(", "WideOpNo", "==", "1", ")", "?", "0", ":", "1", ")", ".", "getReg", "(", ")", ";", "LiveInterval", "&", "IntGR128", "=", "LIS", ".", "getInterval", "(", "GR128Reg", ")", ";", "LiveInterval", "&", "IntGRNar", "=", "LIS", ".", "getInterval", "(", "GRNarReg", ")", ";", "MachineBasicBlock", "*", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "MachineInstr", "*", "FirstMI_GR128", "=", "LIS", ".", "getInstructionFromIndex", "(", "IntGR128", ".", "beginIndex", "(", ")", ")", ";", "MachineInstr", "*", "FirstMI_GRNar", "=", "LIS", ".", "getInstructionFromIndex", "(", "IntGRNar", ".", "beginIndex", "(", ")", ")", ";", "MachineInstr", "*", "LastMI_GR128", "=", "LIS", ".", "getInstructionFromIndex", "(", "IntGR128", ".", "endIndex", "(", ")", ")", ";", "MachineInstr", "*", "LastMI_GRNar", "=", "LIS", ".", "getInstructionFromIndex", "(", "IntGRNar", ".", "endIndex", "(", ")", ")", ";", "if", "(", "(", "!", "FirstMI_GR128", "||", "FirstMI_GR128", "->", "getParent", "(", ")", "!=", "MBB", ")", "||", "(", "!", "FirstMI_GRNar", "||", "FirstMI_GRNar", "->", "getParent", "(", ")", "!=", "MBB", ")", "||", "(", "!", "LastMI_GR128", "||", "LastMI_GR128", "->", "getParent", "(", ")", "!=", "MBB", ")", "||", "(", "!", "LastMI_GRNar", "||", "LastMI_GRNar", "->", "getParent", "(", ")", "!=", "MBB", ")", ")", "return", "false", ";", "MachineBasicBlock", "::", "iterator", "MII", "=", "nullptr", ",", "MEE", "=", "nullptr", ";", "if", "(", "WideOpNo", "==", "1", ")", "{", "MII", "=", "FirstMI_GR128", ";", "MEE", "=", "LastMI_GRNar", ";", "}", "else", "{", "MII", "=", "FirstMI_GRNar", ";", "MEE", "=", "LastMI_GR128", ";", "}", "BitVector", "PhysClobbered", "(", "getNumRegs", "(", ")", ")", ";", "MEE", "++", ";", "for", "(", ";", "MII", "!=", "MEE", ";", "++", "MII", ")", "{", "for", "(", "const", "MachineOperand", "&", "MO", ":", "MII", "->", "operands", "(", ")", ")", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "isPhysicalRegister", "(", "MO", ".", "getReg", "(", ")", ")", ")", "{", "for", "(", "MCSuperRegIterator", "SI", "(", "MO", ".", "getReg", "(", ")", ",", "this", ",", "true", ")", ";", "SI", ".", "isValid", "(", ")", ";", "++", "SI", ")", "if", "(", "NewRC", "->", "contains", "(", "*", "SI", ")", ")", "{", "PhysClobbered", ".", "set", "(", "*", "SI", ")", ";", "break", ";", "}", "}", "}", "unsigned", "const", "DemandedFreeGR128", "=", "3", ";", "if", "(", "PhysClobbered", ".", "count", "(", ")", ">", "(", "NewRC", "->", "getNumRegs", "(", ")", "-", "DemandedFreeGR128", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Subtarget", "Hooks", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"Only expecting COPY instructions\"", "SystemZ::GR128BitRegClass", "64", "64", "128", "1", "0", "1", "0", "1", "1", "3"], "File": "SystemZRegisterInfo16", "Func": "shouldCoalesce", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16533, "Length": 456, "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", "*", "Dis", ")", "{", "return", "Dis", "->", "tryAddingSymbolicOperand", "(", "MI", ",", "Value", ",", "Address", ",", "isBranch", ",", "Offset", ",", "Width", ")", ";", "}", ""], "natrual_language": ["Try", "to", "add", "a", "symbolic", "operand", "instead", "of", "Value", "to", "the", "MCInst", "."], "TS_V_token": ["X86"], "File": "X86Disassembler (2)1", "Func": "tryAddingSymbolicOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16534, "Length": 48, "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": 16535, "Length": 297, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "DLXRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXSubtarget", "Func": "getRegisterInfo", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16536, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "EmitInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "override", "{", "EmitA64MappingSymbol", "(", ")", ";", "MCELFStreamer", "::", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["ARM64"], "File": "ARM64ELFStreamer1", "Func": "EmitInstruction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16537, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToAddress", "(", "Register", "ValVReg", ",", "Register", "Addr", ",", "LLT", "MemTy", ",", "MachinePointerInfo", "&", "MPO", ",", "CCValAssign", "&", "VA", ")", "override", "{", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "SExt", "||", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "ZExt", ")", "{", "MemTy", "=", "LLT", "::", "scalar", "(", "32", ")", ";", "assert", "(", "MRI", ".", "getType", "(", "ValVReg", ")", ".", "isScalar", "(", ")", "&&", "\"Only scalars supported atm\"", ")", ";", "auto", "LoadVReg", "=", "buildLoad", "(", "LLT", "::", "scalar", "(", "32", ")", ",", "Addr", ",", "MemTy", ",", "MPO", ")", ";", "MIRBuilder", ".", "buildTrunc", "(", "ValVReg", ",", "LoadVReg", ")", ";", "}", "else", "{", "buildLoad", "(", "ValVReg", ",", "Addr", ",", "MemTy", ",", "MPO", ")", ";", "}", "}", ""], "natrual_language": ["An", "overload", "which", "takes", "an", "ArgInfo", "if", "additional", "information", "about", "the", "arg", "is", "needed", "."], "TS_V_token": ["ARM", "32", "\"Only scalars supported atm\"", "32"], "File": "ARMCallLowering14", "Func": "assignValueToAddress", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16538, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsRegisterInfo", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "prior", "(", "MBB", ".", "end", "(", ")", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MipsFunctionInfo", "*", "MipsFI", "=", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "int", "NumBytes", "=", "(", "int", ")", "MFI", "->", "getStackSize", "(", ")", ";", "int", "FPOffset", "=", "MipsFI", "->", "getFPStackOffset", "(", ")", ";", "int", "RAOffset", "=", "MipsFI", "->", "getRAStackOffset", "(", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "ADDu", ")", ",", "Mips", "::", "SP", ")", ".", "addReg", "(", "Mips", "::", "FP", ")", ".", "addReg", "(", "Mips", "::", "ZERO", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "LW", ")", ",", "Mips", "::", "FP", ")", ".", "addImm", "(", "FPOffset", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ";", "}", "if", "(", "MFI", "->", "hasCalls", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "LW", ")", ",", "Mips", "::", "RA", ")", ".", "addImm", "(", "RAOffset", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ";", "}", "if", "(", "NumBytes", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "ADDiu", ")", ",", "Mips", "::", "SP", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ".", "addImm", "(", "NumBytes", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::ADDu", "Mips::SP", "Mips::FP", "Mips::ZERO", "Mips::LW", "Mips::FP", "Mips::SP", "Mips::LW", "Mips::RA", "Mips::SP", "Mips::ADDiu", "Mips::SP", "Mips::SP"], "File": "MipsRegisterInfo18", "Func": "emitEpilogue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16539, "Length": 255, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "expand_vec_perm_pshufb2", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "rtx", "rperm", "[", "2", "]", "[", "16", "]", ",", "vperm", ",", "l", ",", "h", ",", "op", ",", "m128", ";", "unsigned", "int", "i", ",", "nelt", ",", "eltsz", ";", "if", "(", "!", "TARGET_SSSE3", "||", "GET_MODE_SIZE", "(", "d", "->", "vmode", ")", "!=", "16", ")", "return", "false", ";", "gcc_assert", "(", "!", "d", "->", "one_operand_p", ")", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "nelt", "=", "d", "->", "nelt", ";", "eltsz", "=", "GET_MODE_SIZE", "(", "GET_MODE_INNER", "(", "d", "->", "vmode", ")", ")", ";", "m128", "=", "GEN_INT", "(", "-", "128", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "{", "unsigned", "j", ",", "e", "=", "d", "->", "perm", "[", "i", "]", ";", "unsigned", "which", "=", "(", "e", ">=", "nelt", ")", ";", "if", "(", "e", ">=", "nelt", ")", "e", "-=", "nelt", ";", "for", "(", "j", "=", "0", ";", "j", "<", "eltsz", ";", "++", "j", ")", "{", "rperm", "[", "which", "]", "[", "i", "*", "eltsz", "+", "j", "]", "=", "GEN_INT", "(", "e", "*", "eltsz", "+", "j", ")", ";", "rperm", "[", "1", "-", "which", "]", "[", "i", "*", "eltsz", "+", "j", "]", "=", "m128", ";", "}", "}", "vperm", "=", "gen_rtx_CONST_VECTOR", "(", "V16QImode", ",", "gen_rtvec_v", "(", "16", ",", "rperm", "[", "0", "]", ")", ")", ";", "vperm", "=", "force_reg", "(", "V16QImode", ",", "vperm", ")", ";", "l", "=", "gen_reg_rtx", "(", "V16QImode", ")", ";", "op", "=", "gen_lowpart", "(", "V16QImode", ",", "d", "->", "op0", ")", ";", "emit_insn", "(", "gen_ssse3_pshufbv16qi3", "(", "l", ",", "op", ",", "vperm", ")", ")", ";", "vperm", "=", "gen_rtx_CONST_VECTOR", "(", "V16QImode", ",", "gen_rtvec_v", "(", "16", ",", "rperm", "[", "1", "]", ")", ")", ";", "vperm", "=", "force_reg", "(", "V16QImode", ",", "vperm", ")", ";", "h", "=", "gen_reg_rtx", "(", "V16QImode", ")", ";", "op", "=", "gen_lowpart", "(", "V16QImode", ",", "d", "->", "op1", ")", ";", "emit_insn", "(", "gen_ssse3_pshufbv16qi3", "(", "h", ",", "op", ",", "vperm", ")", ")", ";", "op", "=", "d", "->", "target", ";", "if", "(", "d", "->", "vmode", "!=", "V16QImode", ")", "op", "=", "gen_reg_rtx", "(", "V16QImode", ")", ";", "emit_insn", "(", "gen_iorv16qi3", "(", "op", ",", "l", ",", "h", ")", ")", ";", "if", "(", "op", "!=", "d", "->", "target", ")", "emit_move_insn", "(", "d", "->", "target", ",", "gen_lowpart", "(", "d", "->", "vmode", ",", "op", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "expand_vec_perm_even_odd_1", ".", "Implement", "the", "double-word", "permutation", "with", "two", "pshufb", "insns", "and", "an", "ior", ".", "We", "should", "have", "already", "failed", "all", "two", "instruction", "sequences", "."], "TS_V_token": ["i386", "2", "16", "16", "128", "0", "0", "1", "16", "0", "16", "1"], "File": "i3864", "Func": "expand_vec_perm_pshufb2", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16540, "Length": 368, "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", ".", "hasAVX2", "(", ")", "&&", "\"256-bit insert/extract only available in AVX2\"", ")", ";", "table", "=", "lookup", "(", "MI", ".", "getOpcode", "(", ")", ",", "dom", ",", "ReplaceableInstrsAVX2InsertExtract", ")", ";", "}", "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\"", "\"256-bit insert/extract 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": "X86InstrInfo114", "Func": "setExecutionDomain", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16541, "Length": 358, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "neon_immediate_valid_for_move", "(", "rtx", "op", ",", "machine_mode", "mode", ",", "rtx", "*", "modconst", ",", "int", "*", "elementwidth", ")", "{", "rtx", "tmpconst", ";", "int", "tmpwidth", ";", "int", "retval", "=", "neon_valid_immediate", "(", "op", ",", "mode", ",", "0", ",", "&", "tmpconst", ",", "&", "tmpwidth", ")", ";", "if", "(", "retval", "==", "-", "1", ")", "return", "0", ";", "if", "(", "modconst", ")", "*", "modconst", "=", "tmpconst", ";", "if", "(", "elementwidth", ")", "*", "elementwidth", "=", "tmpwidth", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "rtx", "X", "is", "legal", "for", "use", "as", "either", "a", "Neon", "VMOV", "(", "or", ",", "implicitly", ",", "VMVN", ")", "immediate", ".", "Write", "back", "width", "per", "element", "to", "*", "ELEMENTWIDTH", "(", "or", "zero", "for", "float", "elements", ")", ",", "and", "a", "modified", "constant", "(", "whatever", "should", "be", "output", "for", "a", "VMOV", ")", "in", "*", "MODCONST", "."], "TS_V_token": ["arm", "0", "1", "0", "1"], "File": "arm4", "Func": "neon_immediate_valid_for_move", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16542, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "ARMTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "ADD", ":", "return", "PerformADDCombine", "(", "N", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SUB", ":", "return", "PerformSUBCombine", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "MUL", ":", "return", "PerformMULCombine", "(", "N", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "OR", ":", "return", "PerformORCombine", "(", "N", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "XOR", ":", "return", "PerformXORCombine", "(", "N", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "AND", ":", "return", "PerformANDCombine", "(", "N", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ARMISD", "::", "BFI", ":", "return", "PerformBFICombine", "(", "N", ",", "DCI", ")", ";", "case", "ARMISD", "::", "VMOVRRD", ":", "return", "PerformVMOVRRDCombine", "(", "N", ",", "DCI", ")", ";", "case", "ARMISD", "::", "VMOVDRR", ":", "return", "PerformVMOVDRRCombine", "(", "N", ",", "DCI", ".", "DAG", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "PerformSTORECombine", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "BUILD_VECTOR", ":", "return", "PerformBUILD_VECTORCombine", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "INSERT_VECTOR_ELT", ":", "return", "PerformInsertEltCombine", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "VECTOR_SHUFFLE", ":", "return", "PerformVECTOR_SHUFFLECombine", "(", "N", ",", "DCI", ".", "DAG", ")", ";", "case", "ARMISD", "::", "VDUPLANE", ":", "return", "PerformVDUPLANECombine", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "FP_TO_SINT", ":", "case", "ISD", "::", "FP_TO_UINT", ":", "return", "PerformVCVTCombine", "(", "N", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "FDIV", ":", "return", "PerformVDIVCombine", "(", "N", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "PerformIntrinsicCombine", "(", "N", ",", "DCI", ".", "DAG", ")", ";", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SRL", ":", "return", "PerformShiftCombine", "(", "N", ",", "DCI", ".", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "case", "ISD", "::", "ZERO_EXTEND", ":", "case", "ISD", "::", "ANY_EXTEND", ":", "return", "PerformExtendCombine", "(", "N", ",", "DCI", ".", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "PerformSELECT_CCCombine", "(", "N", ",", "DCI", ".", "DAG", ",", "Subtarget", ")", ";", "case", "ARMISD", "::", "CMOV", ":", "return", "PerformCMOVCombine", "(", "N", ",", "DCI", ".", "DAG", ")", ";", "case", "ARMISD", "::", "VLD2DUP", ":", "case", "ARMISD", "::", "VLD3DUP", ":", "case", "ARMISD", "::", "VLD4DUP", ":", "return", "CombineBaseUpdate", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "INTRINSIC_VOID", ":", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "switch", "(", "cast", "<", "ConstantSDNode", ">", "(", "N", "->", "getOperand", "(", "1", ")", ")", "->", "getZExtValue", "(", ")", ")", "{", "case", "Intrinsic", "::", "arm_neon_vld1", ":", "case", "Intrinsic", "::", "arm_neon_vld2", ":", "case", "Intrinsic", "::", "arm_neon_vld3", ":", "case", "Intrinsic", "::", "arm_neon_vld4", ":", "case", "Intrinsic", "::", "arm_neon_vld2lane", ":", "case", "Intrinsic", "::", "arm_neon_vld3lane", ":", "case", "Intrinsic", "::", "arm_neon_vld4lane", ":", "case", "Intrinsic", "::", "arm_neon_vst1", ":", "case", "Intrinsic", "::", "arm_neon_vst2", ":", "case", "Intrinsic", "::", "arm_neon_vst3", ":", "case", "Intrinsic", "::", "arm_neon_vst4", ":", "case", "Intrinsic", "::", "arm_neon_vst2lane", ":", "case", "Intrinsic", "::", "arm_neon_vst3lane", ":", "case", "Intrinsic", "::", "arm_neon_vst4lane", ":", "return", "CombineBaseUpdate", "(", "N", ",", "DCI", ")", ";", "default", ":", "break", ";", "}", "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": ["ARM", "ARM", "ISD::ADD", "ISD::SUB", "ISD::MUL", "ISD::OR", "ISD::XOR", "ISD::AND", "ARMISD::BFI", "ARMISD::VMOVRRD", "ARMISD::VMOVDRR", "ISD::STORE", "ISD::BUILD_VECTOR", "ISD::INSERT_VECTOR_ELT", "ISD::VECTOR_SHUFFLE", "ARMISD::VDUPLANE", "ISD::FP_TO_SINT", "ISD::FP_TO_UINT", "ISD::FDIV", "ISD::INTRINSIC_WO_CHAIN", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::SIGN_EXTEND", "ISD::ZERO_EXTEND", "ISD::ANY_EXTEND", "ISD::SELECT_CC", "ARMISD::CMOV", "ARMISD::VLD2DUP", "ARMISD::VLD3DUP", "ARMISD::VLD4DUP", "ISD::INTRINSIC_VOID", "ISD::INTRINSIC_W_CHAIN", "1", "Intrinsic::arm_neon_vld1", "Intrinsic::arm_neon_vld2", "Intrinsic::arm_neon_vld3", "Intrinsic::arm_neon_vld4", "Intrinsic::arm_neon_vld2lane", "Intrinsic::arm_neon_vld3lane", "Intrinsic::arm_neon_vld4lane", "Intrinsic::arm_neon_vst1", "Intrinsic::arm_neon_vst2", "Intrinsic::arm_neon_vst3", "Intrinsic::arm_neon_vst4", "Intrinsic::arm_neon_vst2lane", "Intrinsic::arm_neon_vst3lane", "Intrinsic::arm_neon_vst4lane"], "File": "ARMISelLowering116", "Func": "PerformDAGCombine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16543, "Length": 505, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "OptimizeLEAPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "Changed", "=", "false", ";", "if", "(", "DisableX86LEAOpt", "||", "!", "MF", ".", "getFunction", "(", ")", "->", "optForSize", "(", ")", ")", "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", ";", "if", "(", "MF", ".", "getFunction", "(", ")", "->", "optForMinSize", "(", ")", ")", "Changed", "|=", "removeRedundantLEAs", "(", "LEAs", ")", ";", "Changed", "|=", "removeRedundantAddrCalc", "(", "LEAs", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86OptimizeLEAs1", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16544, "Length": 138, "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", "->", "isThumb", "(", ")", ")", "return", "false", ";", "MVT", "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", "=", "getIndexedAddressParts", "(", "Ptr", ".", "getNode", "(", ")", ",", "VT", ",", "isSEXTLoad", ",", "Base", ",", "Offset", ",", "isInc", ",", "DAG", ")", ";", "if", "(", "isLegal", ")", "{", "AM", "=", "isInc", "?", "ISD", "::", "PRE_INC", ":", "ISD", "::", "PRE_DEC", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "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::SEXTLOAD", "ISD::PRE_INC", "ISD::PRE_DEC"], "File": "ARMISelLowering124", "Func": "getPreIndexedAddressParts", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16545, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsLegalizerInfo", "::", "legalizeCustom", "(", "MachineInstr", "&", "MI", ",", "MachineRegisterInfo", "&", "MRI", ",", "MachineIRBuilder", "&", "MIRBuilder", ",", "GISelChangeObserver", "&", "Observer", ")", "const", "{", "using", "namespace", "TargetOpcode", ";", "MIRBuilder", ".", "setInstr", "(", "MI", ")", ";", "const", "MipsSubtarget", "&", "STI", "=", "static_cast", "<", "const", "MipsSubtarget", "&", ">", "(", "MIRBuilder", ".", "getMF", "(", ")", ".", "getSubtarget", "(", ")", ")", ";", "const", "LLT", "s32", "=", "LLT", "::", "scalar", "(", "32", ")", ";", "const", "LLT", "s64", "=", "LLT", "::", "scalar", "(", "64", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "G_UITOFP", ":", "{", "Register", "Dst", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "Register", "Src", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "LLT", "DstTy", "=", "MRI", ".", "getType", "(", "Dst", ")", ";", "LLT", "SrcTy", "=", "MRI", ".", "getType", "(", "Src", ")", ";", "if", "(", "SrcTy", "!=", "s32", ")", "return", "false", ";", "if", "(", "DstTy", "!=", "s32", "&&", "DstTy", "!=", "s64", ")", "return", "false", ";", "MachineInstrBuilder", "Bitcast", "=", "MIRBuilder", ".", "buildInstr", "(", "STI", ".", "isFP64bit", "(", ")", "?", "Mips", "::", "BuildPairF64_64", ":", "Mips", "::", "BuildPairF64", ",", "{", "s64", "}", ",", "{", "Src", ",", "MIRBuilder", ".", "buildConstant", "(", "s32", ",", "UINT32_C", "(", "0x43300000", ")", ")", "}", ")", ";", "Bitcast", ".", "constrainAllUses", "(", "MIRBuilder", ".", "getTII", "(", ")", ",", "*", "STI", ".", "getRegisterInfo", "(", ")", ",", "*", "STI", ".", "getRegBankInfo", "(", ")", ")", ";", "MachineInstrBuilder", "TwoP52FP", "=", "MIRBuilder", ".", "buildFConstant", "(", "s64", ",", "BitsToDouble", "(", "UINT64_C", "(", "0x4330000000000000", ")", ")", ")", ";", "if", "(", "DstTy", "==", "s64", ")", "MIRBuilder", ".", "buildFSub", "(", "Dst", ",", "Bitcast", ",", "TwoP52FP", ")", ";", "else", "{", "MachineInstrBuilder", "ResF64", "=", "MIRBuilder", ".", "buildFSub", "(", "s64", ",", "Bitcast", ",", "TwoP52FP", ")", ";", "MIRBuilder", ".", "buildFPTrunc", "(", "Dst", ",", "ResF64", ")", ";", "}", "MI", ".", "eraseFromParent", "(", ")", ";", "break", ";", "}", "default", ":", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Called", "for", "instructions", "with", "the", "Custom", "LegalizationAction", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "32", "64", "0", "1", "Mips::BuildPairF64_64", "Mips::BuildPairF64", "0x43300000", "0x4330000000000000"], "File": "MipsLegalizerInfo18", "Func": "legalizeCustom", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16546, "Length": 309, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64FrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "assert", "(", "!", "RegInfo", "->", "needsStackRealignment", "(", "MF", ")", "&&", "\"No stack realignment on ARM64!\"", ")", ";", "return", "(", "MFI", "->", "hasCalls", "(", ")", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", "||", "MFI", "->", "isFrameAddressTaken", "(", ")", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["ARM64", "ARM64", "\"No stack realignment on ARM64!\""], "File": "ARM64FrameLowering", "Func": "hasFP", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16547, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DEBUG_FUNCTION", "void", "debug_dispatch_window", "(", "int", "window_num", ")", "{", "debug_dispatch_window_file", "(", "stdout", ",", "window_num", ")", ";", "}", ""], "natrual_language": ["Print", "to", "stdout", "a", "dispatch", "window", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "debug_dispatch_window", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16548, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "loongarch_memory_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "rclass", ",", "bool", "in", ")", "{", "return", "(", "loongarch_cost", "->", "memory_latency", "+", "memory_move_secondary_cost", "(", "mode", ",", "rclass", ",", "in", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MEMORY_MOVE_COST", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_memory_move_cost", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16549, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "do_cmpb3", "(", "rtx", "dest", ",", "rtx", "src1", ",", "rtx", "src2", ")", "{", "if", "(", "GET_MODE", "(", "dest", ")", "==", "DImode", ")", "emit_insn", "(", "gen_cmpbdi3", "(", "dest", ",", "src1", ",", "src2", ")", ")", ";", "else", "emit_insn", "(", "gen_cmpbsi3", "(", "dest", ",", "src1", ",", "src2", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "cmpb", "of", "the", "proper", "mode", "for", "DEST", ".", "DEST", "is", "the", "destination", "register", "for", "the", "cmpb", ".", "SRC1", "is", "the", "first", "input", ".", "SRC2", "is", "the", "second", "input", ".", "Computes", "cmpb", "of", "SRC1", ",", "SRC2", "."], "TS_V_token": ["rs6000"], "File": "rs6000-string", "Func": "do_cmpb3", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16550, "Length": 49, "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_fadd", ":", "return", "instCombineSVEVectorFAdd", "(", "IC", ",", "II", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_fsub", ":", "return", "instCombineSVEVectorBinOp", "(", "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", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_ld1_gather_index", ":", "return", "instCombineLD1GatherIndex", "(", "IC", ",", "II", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_st1_scatter_index", ":", "return", "instCombineST1ScatterIndex", "(", "IC", ",", "II", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_ld1", ":", "return", "instCombineSVELD1", "(", "IC", ",", "II", ",", "DL", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_st1", ":", "return", "instCombineSVEST1", "(", "IC", ",", "II", ",", "DL", ")", ";", "}", "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_fadd", "Intrinsic::aarch64_sve_fsub", "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", "Intrinsic::aarch64_sve_ld1_gather_index", "Intrinsic::aarch64_sve_st1_scatter_index", "Intrinsic::aarch64_sve_ld1", "Intrinsic::aarch64_sve_st1"], "File": "AArch64TargetTransformInfo13", "Func": "instCombineIntrinsic", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16551, "Length": 387, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "static", "LoadStoreMethod", "PossibleClasses", "[", "]", "=", "{", "{", "&", "AArch64", "::", "GPR64RegClass", ",", "AArch64", "::", "LSPair64_STR", ",", "AArch64", "::", "LS64_STR", "}", ",", "{", "&", "AArch64", "::", "FPR64RegClass", ",", "AArch64", "::", "LSFPPair64_STR", ",", "AArch64", "::", "LSFP64_STR", "}", ",", "}", ";", "unsigned", "NumClasses", "=", "llvm", "::", "array_lengthof", "(", "PossibleClasses", ")", ";", "emitFrameMemOps", "(", "true", ",", "MBB", ",", "MBBI", ",", "CSI", ",", "TRI", ",", "PossibleClasses", ",", "NumClasses", ")", ";", "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", "AArch64::GPR64RegClass", "AArch64::LSPair64_STR", "AArch64::LS64_STR", "AArch64::FPR64RegClass", "AArch64::LSFPPair64_STR", "AArch64::LSFP64_STR"], "File": "AArch64FrameLowering1", "Func": "spillCalleeSavedRegisters", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16552, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isFunctionSafeToOutlineFrom", "(", "MachineFunction", "&", "MF", ",", "bool", "OutlineFromLinkOnceODRs", ")", "const", "{", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "!", "OutlineFromLinkOnceODRs", "&&", "F", ".", "hasLinkOnceODRLinkage", "(", ")", ")", "return", "false", ";", "AArch64FunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "if", "(", "!", "AFI", "||", "AFI", "->", "hasRedZone", "(", ")", ".", "getValueOr", "(", "true", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "function", "can", "safely", "be", "outlined", "from", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64InstrInfo88", "Func": "isFunctionSafeToOutlineFrom", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16553, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ARMSubtarget", "*", "ARMBaseTargetMachine", "::", "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", "(", ")", "?", "\"+soft-float\"", ":", "\",+soft-float\"", ";", "std", "::", "string", "Key", "=", "CPU", "+", "FS", ";", "if", "(", "F", ".", "hasMinSize", "(", ")", ")", "Key", "+=", "\"+minsize\"", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "Key", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "std", "::", "make_unique", "<", "ARMSubtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "*", "this", ",", "isLittle", ",", "F", ".", "hasMinSize", "(", ")", ")", ";", "if", "(", "!", "I", "->", "isThumb", "(", ")", "&&", "!", "I", "->", "hasARMOps", "(", ")", ")", "F", ".", "getContext", "(", ")", ".", "emitError", "(", "\"Function '\"", "+", "F", ".", "getName", "(", ")", "+", "\"' uses ARM \"", "\"instructions, but the target does not support ARM mode execution.\"", ")", ";", "}", "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": ["ARM", "ARM", "ARM", "\"target-cpu\"", "\"target-features\"", "\"use-soft-float\"", "\"+soft-float\"", "\",+soft-float\"", "\"+minsize\"", "ARM", "ARM", "\"Function '\"", "\"' uses ARM \"", "\"instructions, but the target does not support ARM mode execution.\""], "File": "ARMTargetMachine1", "Func": "getSubtargetImpl", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16554, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_prepare_builtin_arg", "(", "enum", "insn_code", "icode", ",", "unsigned", "int", "op", ",", "tree", "*", "arglist", ")", "{", "rtx", "value", ";", "enum", "machine_mode", "mode", ";", "value", "=", "expand_expr", "(", "TREE_VALUE", "(", "*", "arglist", ")", ",", "NULL_RTX", ",", "VOIDmode", ",", "0", ")", ";", "mode", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "op", "]", ".", "mode", ";", "if", "(", "!", "insn_data", "[", "icode", "]", ".", "operand", "[", "op", "]", ".", "predicate", "(", "value", ",", "mode", ")", ")", "{", "value", "=", "copy_to_mode_reg", "(", "mode", ",", "value", ")", ";", "if", "(", "!", "insn_data", "[", "icode", "]", ".", "operand", "[", "op", "]", ".", "predicate", "(", "value", ",", "mode", ")", ")", "{", "error", "(", "\"invalid argument to builtin function\"", ")", ";", "return", "const0_rtx", ";", "}", "}", "*", "arglist", "=", "TREE_CHAIN", "(", "*", "arglist", ")", ";", "return", "value", ";", "}", ""], "natrual_language": ["Take", "the", "head", "of", "argument", "list", "*", "ARGLIST", "and", "convert", "it", "into", "a", "form", "suitable", "for", "input", "operand", "OP", "of", "instruction", "ICODE", ".", "Return", "the", "value", "and", "point", "*", "ARGLIST", "at", "the", "next", "element", "of", "the", "list", "."], "TS_V_token": ["mips", "0", "\"invalid argument to builtin function\""], "File": "mips3", "Func": "mips_prepare_builtin_arg", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16555, "Length": 129, "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", "(", ")", ";", "LLT", "p0", "=", "LLT", "::", "pointer", "(", "0", ",", "64", ")", ";", "LLT", "s64", "=", "LLT", "::", "scalar", "(", "64", ")", ";", "if", "(", "IsTailCall", ")", "{", "assert", "(", "!", "Flags", ".", "isByVal", "(", ")", "&&", "\"byval unhandled with tail calls\"", ")", ";", "Offset", "+=", "FPDiff", ";", "int", "FI", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "CreateFixedObject", "(", "Size", ",", "Offset", ",", "true", ")", ";", "auto", "FIReg", "=", "MIRBuilder", ".", "buildFrameIndex", "(", "p0", ",", "FI", ")", ";", "MPO", "=", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ";", "return", "FIReg", ".", "getReg", "(", "0", ")", ";", "}", "if", "(", "!", "SPReg", ")", "SPReg", "=", "MIRBuilder", ".", "buildCopy", "(", "p0", ",", "Register", "(", "AArch64", "::", "SP", ")", ")", ".", "getReg", "(", "0", ")", ";", "auto", "OffsetReg", "=", "MIRBuilder", ".", "buildConstant", "(", "s64", ",", "Offset", ")", ";", "auto", "AddrReg", "=", "MIRBuilder", ".", "buildPtrAdd", "(", "p0", ",", "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": ["AArch64", "ISD::ArgFlagsTy", "0", "64", "64", "\"byval unhandled with tail calls\"", "0", "AArch64::SP", "0", "0"], "File": "AArch64CallLowering13", "Func": "getStackAddress", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16556, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "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": "SparcAsmPrinter17", "Func": "PrintAsmMemoryOperand", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16557, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "SparcRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "static", "const", "uint16_t", "CalleeSavedRegs", "[", "]", "=", "{", "0", "}", ";", "return", "CalleeSavedRegs", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["Sparc", "Sparc", "0"], "File": "SparcRegisterInfo16", "Func": "getCalleeSavedRegs", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16558, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isPairedLdSt", "(", "const", "MachineInstr", "&", "MI", ")", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "AArch64", "::", "LDPSi", ":", "case", "AArch64", "::", "LDPSWi", ":", "case", "AArch64", "::", "LDPDi", ":", "case", "AArch64", "::", "LDPQi", ":", "case", "AArch64", "::", "LDPWi", ":", "case", "AArch64", "::", "LDPXi", ":", "case", "AArch64", "::", "STPSi", ":", "case", "AArch64", "::", "STPDi", ":", "case", "AArch64", "::", "STPQi", ":", "case", "AArch64", "::", "STPWi", ":", "case", "AArch64", "::", "STPXi", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Returns", "whether", "the", "instruction", "is", "a", "paired", "load/store", "."], "TS_V_token": ["AArch64", "AArch64::LDPSi", "AArch64::LDPSWi", "AArch64::LDPDi", "AArch64::LDPQi", "AArch64::LDPWi", "AArch64::LDPXi", "AArch64::STPSi", "AArch64::STPDi", "AArch64::STPQi", "AArch64::STPWi", "AArch64::STPXi"], "File": "AArch64LoadStoreOptimizer", "Func": "isPairedLdSt", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16559, "Length": 84, "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", "=", "*", "Subtarget", ".", "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": "PPCRegisterInfo22", "Func": "resolveFrameIndex", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16560, "Length": 179, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "label_mentioned_p", "(", "rtx", "x", ")", "{", "const", "char", "*", "fmt", ";", "int", "i", ";", "if", "(", "LABEL_REF_P", "(", "x", ")", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", "&&", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_TLS", ")", "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", "(", "label_mentioned_p", "(", "XVECEXP", "(", "x", ",", "i", ",", "j", ")", ")", ")", "return", "1", ";", "}", "else", "if", "(", "fmt", "[", "i", "]", "==", "'e'", "&&", "label_mentioned_p", "(", "XEXP", "(", "x", ",", "i", ")", ")", ")", "return", "1", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "X", "references", "a", "LABEL_REF", "."], "TS_V_token": ["arm", "1", "1", "0", "1", "0", "1", "0", "1", "1", "0"], "File": "arm", "Func": "label_mentioned_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16561, "Length": 157, "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": 16562, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "pru_to_int_mode", "(", "rtx", "x", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "x", ")", ";", "return", "VOIDmode", "==", "mode", "?", "x", ":", "simplify_gen_subreg", "(", "int_mode_for_mode", "(", "mode", ")", ".", "require", "(", ")", ",", "x", ",", "mode", ",", "0", ")", ";", "}", ""], "natrual_language": ["Access", "some", "RTX", "as", "INT_MODE", ".", "If", "X", "is", "a", "CONST_FIXED", "we", "can", "get", "the", "bit", "representation", "of", "X", "by", "``", "casting", "''", "it", "to", "CONST_INT", "."], "TS_V_token": ["pru", "0"], "File": "pru", "Func": "pru_to_int_mode", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16563, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rs6000_handle_struct_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", "ATTRIBUTE_UNUSED", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add_attrs", ")", "{", "tree", "*", "type", "=", "NULL", ";", "if", "(", "DECL_P", "(", "*", "node", ")", ")", "{", "if", "(", "TREE_CODE", "(", "*", "node", ")", "==", "TYPE_DECL", ")", "type", "=", "&", "TREE_TYPE", "(", "*", "node", ")", ";", "}", "else", "type", "=", "node", ";", "if", "(", "!", "(", "type", "&&", "(", "TREE_CODE", "(", "*", "type", ")", "==", "RECORD_TYPE", "||", "TREE_CODE", "(", "*", "type", ")", "==", "UNION_TYPE", ")", ")", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute ignored\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "else", "if", "(", "(", "is_attribute_p", "(", "\"ms_struct\"", ",", "name", ")", "&&", "lookup_attribute", "(", "\"gcc_struct\"", ",", "TYPE_ATTRIBUTES", "(", "*", "type", ")", ")", ")", "||", "(", "(", "is_attribute_p", "(", "\"gcc_struct\"", ",", "name", ")", "&&", "lookup_attribute", "(", "\"ms_struct\"", ",", "TYPE_ATTRIBUTES", "(", "*", "type", ")", ")", ")", ")", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE incompatible attribute ignored\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "a", "``", "ms_struct", "''", "or", "``", "gcc_struct", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["rs6000", "\"%qE attribute ignored\"", "\"ms_struct\"", "\"gcc_struct\"", "\"gcc_struct\"", "\"ms_struct\"", "\"%qE incompatible attribute ignored\""], "File": "rs6000", "Func": "rs6000_handle_struct_attribute", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16564, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCDisassembler", "::", "DecodeStatus", "X86GenericDisassembler", "::", "getInstruction", "(", "MCInst", "&", "Instr", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "CStream", ")", "const", "{", "CommentStream", "=", "&", "CStream", ";", "InternalInstruction", "Insn", ";", "memset", "(", "&", "Insn", ",", "0", ",", "sizeof", "(", "InternalInstruction", ")", ")", ";", "Insn", ".", "bytes", "=", "Bytes", ";", "Insn", ".", "startLocation", "=", "Address", ";", "Insn", ".", "readerCursor", "=", "Address", ";", "Insn", ".", "mode", "=", "fMode", ";", "if", "(", "Bytes", ".", "empty", "(", ")", "||", "readPrefixes", "(", "&", "Insn", ")", "||", "readOpcode", "(", "&", "Insn", ")", "||", "getInstructionID", "(", "&", "Insn", ",", "MII", ".", "get", "(", ")", ")", "||", "Insn", ".", "instructionID", "==", "0", "||", "readOperands", "(", "&", "Insn", ")", ")", "{", "Size", "=", "Insn", ".", "readerCursor", "-", "Address", ";", "return", "Fail", ";", "}", "Insn", ".", "operands", "=", "x86OperandSets", "[", "Insn", ".", "spec", "->", "operands", "]", ";", "Insn", ".", "length", "=", "Insn", ".", "readerCursor", "-", "Insn", ".", "startLocation", ";", "Size", "=", "Insn", ".", "length", ";", "if", "(", "Size", ">", "15", ")", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Instruction exceeds 15-byte limit\"", ")", ";", "bool", "Ret", "=", "translateInstruction", "(", "Instr", ",", "Insn", ",", "this", ")", ";", "if", "(", "!", "Ret", ")", "{", "unsigned", "Flags", "=", "X86", "::", "IP_NO_PREFIX", ";", "if", "(", "Insn", ".", "hasAdSize", ")", "Flags", "|=", "X86", "::", "IP_HAS_AD_SIZE", ";", "if", "(", "!", "Insn", ".", "mandatoryPrefix", ")", "{", "if", "(", "Insn", ".", "hasOpSize", ")", "Flags", "|=", "X86", "::", "IP_HAS_OP_SIZE", ";", "if", "(", "Insn", ".", "repeatPrefix", "==", "0xf2", ")", "Flags", "|=", "X86", "::", "IP_HAS_REPEAT_NE", ";", "else", "if", "(", "Insn", ".", "repeatPrefix", "==", "0xf3", "&&", "Insn", ".", "opcode", "!=", "0x90", ")", "Flags", "|=", "X86", "::", "IP_HAS_REPEAT", ";", "if", "(", "Insn", ".", "hasLockPrefix", ")", "Flags", "|=", "X86", "::", "IP_HAS_LOCK", ";", "}", "Instr", ".", "setFlags", "(", "Flags", ")", ";", "}", "return", "(", "!", "Ret", ")", "?", "Success", ":", "Fail", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["X86", "X86", "0", "0", "15", "\"Instruction exceeds 15-byte limit\"", "X86::IP_NO_PREFIX", "X86::IP_HAS_AD_SIZE", "X86::IP_HAS_OP_SIZE", "0xf2", "X86::IP_HAS_REPEAT_NE", "0xf3", "0x90", "X86::IP_HAS_REPEAT", "X86::IP_HAS_LOCK"], "File": "X86Disassembler (2)2", "Func": "getInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16565, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isReg", "(", ")", "const", "{", "return", "Kind", "==", "k_Register", "&&", "!", "Reg", ".", "isVector", ";", "}", ""], "natrual_language": ["isReg", "-", "Is", "this", "a", "register", "operand", "?"], "TS_V_token": ["ARM64"], "File": "ARM64AsmParser", "Func": "isReg", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16566, "Length": 17, "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_OR_PCREL", "||", "constant_pool_empty_p", "(", ")", ":", "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"], "File": "rs6000", "Func": "rs6000_can_eliminate", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16567, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "vax_return_pops_args", "(", "tree", "fundecl", "ATTRIBUTE_UNUSED", ",", "tree", "funtype", "ATTRIBUTE_UNUSED", ",", "int", "size", ")", "{", "return", "size", ">", "255", "*", "4", "?", "0", ":", "size", ";", "}", ""], "natrual_language": ["Value", "is", "the", "number", "of", "bytes", "of", "arguments", "automatically", "popped", "when", "returning", "from", "a", "subroutine", "call", ".", "FUNDECL", "is", "the", "declaration", "node", "of", "the", "function", "(", "as", "a", "tree", ")", ",", "FUNTYPE", "is", "the", "data", "type", "of", "the", "function", "(", "as", "a", "tree", ")", ",", "or", "for", "a", "library", "call", "it", "is", "an", "identifier", "node", "for", "the", "subroutine", "name", ".", "SIZE", "is", "the", "number", "of", "bytes", "of", "arguments", "passed", "on", "the", "stack", ".", "On", "the", "VAX", ",", "the", "RET", "insn", "pops", "a", "maximum", "of", "255", "args", "for", "any", "function", "."], "TS_V_token": ["vax", "255", "4", "0"], "File": "vax4", "Func": "vax_return_pops_args", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16568, "Length": 28, "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", ",", "const", "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_TOY", ")", ";", "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", "(", "TOYISD", "::", "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": ["TOY", "TOY", "ISD::OutputArg", "\"VarArg not supported\"", "16", "TOY", "4", "1", "0", "\"Can only return in registers!\"", "1", "0", "TOYISD::RET_FLAG", "MVT::Other"], "File": "TOYISelLowering1", "Func": "LowerReturn", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16569, "Length": 254, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "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)2", "Func": "getPassName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16570, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "optimal_immediate_sequence", "(", "enum", "rtx_code", "code", ",", "unsigned", "HOST_WIDE_INT", "val", ",", "struct", "four_ints", "*", "return_sequence", ")", "{", "int", "best_consecutive_zeros", "=", "0", ";", "int", "i", ";", "int", "best_start", "=", "0", ";", "int", "insns1", ",", "insns2", ";", "struct", "four_ints", "tmp_sequence", ";", "if", "(", "TARGET_ARM", ")", "{", "for", "(", "i", "=", "0", ";", "i", "<", "32", ";", "i", "+=", "2", ")", "{", "int", "consecutive_zeros", "=", "0", ";", "if", "(", "!", "(", "val", "&", "(", "3", "<<", "i", ")", ")", ")", "{", "while", "(", "(", "i", "<", "32", ")", "&&", "!", "(", "val", "&", "(", "3", "<<", "i", ")", ")", ")", "{", "consecutive_zeros", "+=", "2", ";", "i", "+=", "2", ";", "}", "if", "(", "consecutive_zeros", ">", "best_consecutive_zeros", ")", "{", "best_consecutive_zeros", "=", "consecutive_zeros", ";", "best_start", "=", "i", "-", "consecutive_zeros", ";", "}", "i", "-=", "2", ";", "}", "}", "}", "insns1", "=", "optimal_immediate_sequence_1", "(", "code", ",", "val", ",", "return_sequence", ",", "best_start", ")", ";", "if", "(", "best_start", "!=", "0", "&&", "(", "(", "HOST_WIDE_INT_1U", "<<", "best_start", ")", "<", "val", ")", ")", "{", "insns2", "=", "optimal_immediate_sequence_1", "(", "code", ",", "val", ",", "&", "tmp_sequence", ",", "0", ")", ";", "if", "(", "insns2", "<=", "insns1", ")", "{", "*", "return_sequence", "=", "tmp_sequence", ";", "insns1", "=", "insns2", ";", "}", "}", "return", "insns1", ";", "}", ""], "natrual_language": ["Return", "a", "sequence", "of", "integers", ",", "in", "RETURN_SEQUENCE", "that", "fit", "into", "ARM/THUMB2", "immediates", ",", "and", "add", "up", "to", "VAL", ".", "Thr", "function", "return", "value", "gives", "the", "number", "of", "insns", "required", "."], "TS_V_token": ["arm", "0", "0", "0", "32", "2", "0", "3", "32", "3", "2", "2", "2", "0", "0"], "File": "arm", "Func": "optimal_immediate_sequence", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16571, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LoongArchInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "uint64_t", "Address", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "Address", ",", "STI", ",", "O", ")", ")", "printInstruction", "(", "MI", ",", "Address", ",", "STI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["LoongArch", "LoongArch"], "File": "LoongArchInstPrinter", "Func": "printInst", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16572, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "loongarch_legitimize_const_move", "(", "machine_mode", "mode", ",", "rtx", "dest", ",", "rtx", "src", ")", "{", "rtx", "base", ",", "offset", ";", "if", "(", "splittable_const_int_operand", "(", "src", ",", "mode", ")", ")", "{", "loongarch_move_integer", "(", "dest", ",", "dest", ",", "INTVAL", "(", "src", ")", ")", ";", "return", ";", "}", "if", "(", "loongarch_split_symbol", "(", "dest", ",", "src", ",", "MAX_MACHINE_MODE", ",", "&", "src", ")", ")", "{", "loongarch_emit_set", "(", "dest", ",", "src", ")", ";", "return", ";", "}", "if", "(", "loongarch_tls_symbol_p", "(", "src", ")", ")", "{", "loongarch_emit_move", "(", "dest", ",", "loongarch_legitimize_tls_address", "(", "src", ")", ")", ";", "return", ";", "}", "split_const", "(", "src", ",", "&", "base", ",", "&", "offset", ")", ";", "if", "(", "offset", "!=", "const0_rtx", "&&", "(", "targetm", ".", "cannot_force_const_mem", "(", "mode", ",", "src", ")", "||", "(", "can_create_pseudo_p", "(", ")", ")", ")", ")", "{", "base", "=", "loongarch_force_temporary", "(", "dest", ",", "base", ")", ";", "loongarch_emit_move", "(", "dest", ",", "loongarch_add_offset", "(", "NULL", ",", "base", ",", "INTVAL", "(", "offset", ")", ")", ")", ";", "return", ";", "}", "src", "=", "force_const_mem", "(", "mode", ",", "src", ")", ";", "loongarch_emit_move", "(", "dest", ",", "src", ")", ";", "}", ""], "natrual_language": ["Subroutine", "of", "loongarch_legitimize_move", ".", "Move", "constant", "SRC", "into", "register", "DEST", "given", "that", "SRC", "satisfies", "immediate_operand", "but", "does", "n't", "satisfy", "move_operand", "."], "TS_V_token": ["loongarch"], "File": "loongarch1", "Func": "loongarch_legitimize_const_move", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16573, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64GenInstrInfo", "::", "MachineOutlinerInstrType", "AArch64InstrInfo", "::", "getOutliningType", "(", "MachineInstr", "&", "MI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "AArch64FunctionInfo", "*", "FuncInfo", "=", "MF", "->", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "if", "(", "FuncInfo", "->", "getLOHRelated", "(", ")", ".", "count", "(", "&", "MI", ")", ")", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "if", "(", "MI", ".", "isDebugValue", "(", ")", "||", "MI", ".", "isIndirectDebugValue", "(", ")", ")", "return", "MachineOutlinerInstrType", "::", "Invisible", ";", "if", "(", "MI", ".", "isTerminator", "(", ")", ")", "{", "if", "(", "MI", ".", "getParent", "(", ")", "->", "succ_empty", "(", ")", ")", "return", "MachineOutlinerInstrType", "::", "Legal", ";", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "}", "if", "(", "MI", ".", "isPosition", "(", ")", ")", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "if", "(", "MI", ".", "readsRegister", "(", "AArch64", "::", "W30", ",", "&", "getRegisterInfo", "(", ")", ")", "||", "MI", ".", "modifiesRegister", "(", "AArch64", "::", "W30", ",", "&", "getRegisterInfo", "(", ")", ")", ")", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "for", "(", "const", "MachineOperand", "&", "MOP", ":", "MI", ".", "operands", "(", ")", ")", "{", "if", "(", "MOP", ".", "isCPI", "(", ")", "||", "MOP", ".", "isJTI", "(", ")", "||", "MOP", ".", "isCFIIndex", "(", ")", "||", "MOP", ".", "isFI", "(", ")", "||", "MOP", ".", "isTargetIndex", "(", ")", ")", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "if", "(", "MOP", ".", "isReg", "(", ")", "&&", "getRegisterInfo", "(", ")", ".", "regsOverlap", "(", "MOP", ".", "getReg", "(", ")", ",", "AArch64", "::", "LR", ")", ")", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "}", "if", "(", "MI", ".", "modifiesRegister", "(", "AArch64", "::", "SP", ",", "&", "RI", ")", "||", "MI", ".", "readsRegister", "(", "AArch64", "::", "SP", ",", "&", "RI", ")", ")", "{", "if", "(", "MI", ".", "mayLoadOrStore", "(", ")", ")", "{", "unsigned", "Base", ";", "int64_t", "Offset", ";", "unsigned", "DummyWidth", ";", "if", "(", "!", "getMemOpBaseRegImmOfsWidth", "(", "MI", ",", "Base", ",", "Offset", ",", "DummyWidth", ",", "&", "RI", ")", "||", "Base", "!=", "AArch64", "::", "SP", ")", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "int64_t", "MinOffset", ",", "MaxOffset", ";", "unsigned", "DummyScale", ";", "getMemOpInfo", "(", "MI", ".", "getOpcode", "(", ")", ",", "DummyScale", ",", "DummyWidth", ",", "MinOffset", ",", "MaxOffset", ")", ";", "if", "(", "Offset", "+", "16", "<", "MinOffset", "||", "Offset", "+", "16", ">", "MaxOffset", ")", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "return", "MachineOutlinerInstrType", "::", "Legal", ";", "}", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "}", "return", "MachineOutlinerInstrType", "::", "Legal", ";", "}", ""], "natrual_language": ["Returns", "how", "or", "if", "MIT", "should", "be", "outlined", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64::W30", "AArch64::W30", "AArch64::LR", "AArch64::SP", "AArch64::SP", "AArch64::SP", "16", "16"], "File": "AArch64InstrInfo35", "Func": "getOutliningType", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16574, "Length": 375, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "{", "return", "ARM64", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["ARM64", "ARM64::NumTargetFixupKinds"], "File": "ARM64AsmBackend", "Func": "getNumFixupKinds", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16575, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "STI", ",", "O", ")", "&&", "!", "printSparcAliasInstr", "(", "MI", ",", "STI", ",", "O", ")", ")", "printInstruction", "(", "MI", ",", "STI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc"], "File": "SparcInstPrinter", "Func": "printInst", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16576, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "loongarch_epilogue_uses", "(", "unsigned", "int", "regno", ")", "{", "if", "(", "regno", "==", "RETURN_ADDR_REGNUM", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "EPILOGUE_USES", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_epilogue_uses", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16577, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_mac_accumulator_is_mul_result", "(", "rtx", "producer", ",", "rtx", "consumer", ")", "{", "rtx", "mul", "=", "PATTERN", "(", "producer", ")", ";", "rtx", "mac", "=", "PATTERN", "(", "consumer", ")", ";", "rtx", "mul_result", ";", "rtx", "mac_op0", ",", "mac_op1", ",", "mac_acc", ";", "if", "(", "GET_CODE", "(", "mul", ")", "==", "COND_EXEC", ")", "mul", "=", "COND_EXEC_CODE", "(", "mul", ")", ";", "if", "(", "GET_CODE", "(", "mac", ")", "==", "COND_EXEC", ")", "mac", "=", "COND_EXEC_CODE", "(", "mac", ")", ";", "if", "(", "(", "GET_CODE", "(", "mul", ")", "!=", "SET", "||", "GET_CODE", "(", "XEXP", "(", "mul", ",", "1", ")", ")", "!=", "MULT", ")", "||", "(", "GET_CODE", "(", "mac", ")", "!=", "SET", "||", "GET_CODE", "(", "XEXP", "(", "mac", ",", "1", ")", ")", "!=", "PLUS", "||", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "mac", ",", "1", ")", ",", "0", ")", ")", "!=", "MULT", ")", ")", "return", "0", ";", "mul_result", "=", "XEXP", "(", "mul", ",", "0", ")", ";", "mac_op0", "=", "XEXP", "(", "XEXP", "(", "XEXP", "(", "mac", ",", "1", ")", ",", "0", ")", ",", "0", ")", ";", "mac_op1", "=", "XEXP", "(", "XEXP", "(", "XEXP", "(", "mac", ",", "1", ")", ",", "0", ")", ",", "1", ")", ";", "mac_acc", "=", "XEXP", "(", "XEXP", "(", "mac", ",", "1", ")", ",", "1", ")", ";", "return", "(", "reg_overlap_mentioned_p", "(", "mul_result", ",", "mac_acc", ")", "&&", "!", "reg_overlap_mentioned_p", "(", "mul_result", ",", "mac_op0", ")", "&&", "!", "reg_overlap_mentioned_p", "(", "mul_result", ",", "mac_op1", ")", ")", ";", "}", ""], "natrual_language": ["Return", "non-zero", "if", "the", "consumer", "(", "a", "multiply-accumulate", "instruction", ")", "has", "an", "accumulator", "dependency", "on", "the", "result", "of", "the", "producer", "(", "a", "multiplication", "instruction", ")", "and", "no", "other", "dependency", "on", "that", "result", "."], "TS_V_token": ["arm", "1", "1", "1", "0", "0", "0", "1", "0", "0", "1", "0", "1", "1", "1"], "File": "aarch-common", "Func": "arm_mac_accumulator_is_mul_result", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16578, "Length": 220, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "insn_code", "elemrev_icode", "(", "rs6000_gen_builtins", "fcode", ")", "{", "switch", "(", "fcode", ")", "{", "case", "RS6000_BIF_ST_ELEMREV_V1TI", ":", "return", "BYTES_BIG_ENDIAN", "?", "CODE_FOR_vsx_store_v1ti", ":", "CODE_FOR_vsx_st_elemrev_v1ti", ";", "case", "RS6000_BIF_ST_ELEMREV_V2DF", ":", "return", "BYTES_BIG_ENDIAN", "?", "CODE_FOR_vsx_store_v2df", ":", "CODE_FOR_vsx_st_elemrev_v2df", ";", "case", "RS6000_BIF_ST_ELEMREV_V2DI", ":", "return", "BYTES_BIG_ENDIAN", "?", "CODE_FOR_vsx_store_v2di", ":", "CODE_FOR_vsx_st_elemrev_v2di", ";", "case", "RS6000_BIF_ST_ELEMREV_V4SF", ":", "return", "BYTES_BIG_ENDIAN", "?", "CODE_FOR_vsx_store_v4sf", ":", "CODE_FOR_vsx_st_elemrev_v4sf", ";", "case", "RS6000_BIF_ST_ELEMREV_V4SI", ":", "return", "BYTES_BIG_ENDIAN", "?", "CODE_FOR_vsx_store_v4si", ":", "CODE_FOR_vsx_st_elemrev_v4si", ";", "case", "RS6000_BIF_ST_ELEMREV_V8HI", ":", "return", "BYTES_BIG_ENDIAN", "?", "CODE_FOR_vsx_store_v8hi", ":", "CODE_FOR_vsx_st_elemrev_v8hi", ";", "case", "RS6000_BIF_ST_ELEMREV_V16QI", ":", "return", "BYTES_BIG_ENDIAN", "?", "CODE_FOR_vsx_store_v16qi", ":", "CODE_FOR_vsx_st_elemrev_v16qi", ";", "case", "RS6000_BIF_LD_ELEMREV_V2DF", ":", "return", "BYTES_BIG_ENDIAN", "?", "CODE_FOR_vsx_load_v2df", ":", "CODE_FOR_vsx_ld_elemrev_v2df", ";", "case", "RS6000_BIF_LD_ELEMREV_V1TI", ":", "return", "BYTES_BIG_ENDIAN", "?", "CODE_FOR_vsx_load_v1ti", ":", "CODE_FOR_vsx_ld_elemrev_v1ti", ";", "case", "RS6000_BIF_LD_ELEMREV_V2DI", ":", "return", "BYTES_BIG_ENDIAN", "?", "CODE_FOR_vsx_load_v2di", ":", "CODE_FOR_vsx_ld_elemrev_v2di", ";", "case", "RS6000_BIF_LD_ELEMREV_V4SF", ":", "return", "BYTES_BIG_ENDIAN", "?", "CODE_FOR_vsx_load_v4sf", ":", "CODE_FOR_vsx_ld_elemrev_v4sf", ";", "case", "RS6000_BIF_LD_ELEMREV_V4SI", ":", "return", "BYTES_BIG_ENDIAN", "?", "CODE_FOR_vsx_load_v4si", ":", "CODE_FOR_vsx_ld_elemrev_v4si", ";", "case", "RS6000_BIF_LD_ELEMREV_V8HI", ":", "return", "BYTES_BIG_ENDIAN", "?", "CODE_FOR_vsx_load_v8hi", ":", "CODE_FOR_vsx_ld_elemrev_v8hi", ";", "case", "RS6000_BIF_LD_ELEMREV_V16QI", ":", "return", "BYTES_BIG_ENDIAN", "?", "CODE_FOR_vsx_load_v16qi", ":", "CODE_FOR_vsx_ld_elemrev_v16qi", ";", "default", ":", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["For", "the", "element-reversing", "load/store", "built-ins", ",", "produce", "the", "correct", "insn_code", "depending", "on", "the", "target", "endianness", "."], "TS_V_token": ["rs6000"], "File": "rs6000-builtin", "Func": "elemrev_icode", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16579, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "override", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "X86", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"reloc_riprel_4byte\"", ",", "0", ",", "4", "*", "8", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", ",", "}", ",", "{", "\"reloc_riprel_4byte_movq_load\"", ",", "0", ",", "4", "*", "8", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", ",", "}", ",", "{", "\"reloc_signed_4byte\"", ",", "0", ",", "4", "*", "8", ",", "0", "}", ",", "{", "\"reloc_global_offset_table\"", ",", "0", ",", "4", "*", "8", ",", "0", "}", ",", "{", "\"reloc_global_offset_table8\"", ",", "0", ",", "8", "*", "8", ",", "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": ["X86", "X86::NumTargetFixupKinds", "\"reloc_riprel_4byte\"", "0", "4", "8", "\"reloc_riprel_4byte_movq_load\"", "0", "4", "8", "\"reloc_signed_4byte\"", "0", "4", "8", "0", "\"reloc_global_offset_table\"", "0", "4", "8", "0", "\"reloc_global_offset_table8\"", "0", "8", "8", "0", "\"Invalid kind!\""], "File": "X86AsmBackend11", "Func": "getFixupKindInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16580, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "xstormy16_build_builtin_va_list", "(", "void", ")", "{", "tree", "f_1", ",", "f_2", ",", "record", ",", "type_decl", ";", "record", "=", "(", "*", "lang_hooks", ".", "types", ".", "make_type", ")", "(", "RECORD_TYPE", ")", ";", "type_decl", "=", "build_decl", "(", "TYPE_DECL", ",", "get_identifier", "(", "\"__va_list_tag\"", ")", ",", "record", ")", ";", "f_1", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"base\"", ")", ",", "ptr_type_node", ")", ";", "f_2", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"count\"", ")", ",", "unsigned_type_node", ")", ";", "DECL_FIELD_CONTEXT", "(", "f_1", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_2", ")", "=", "record", ";", "TREE_CHAIN", "(", "record", ")", "=", "type_decl", ";", "TYPE_NAME", "(", "record", ")", "=", "type_decl", ";", "TYPE_FIELDS", "(", "record", ")", "=", "f_1", ";", "TREE_CHAIN", "(", "f_1", ")", "=", "f_2", ";", "layout_type", "(", "record", ")", ";", "return", "record", ";", "}", ""], "natrual_language": ["Build", "the", "va_list", "type", ".", "For", "this", "chip", ",", "va_list", "is", "a", "record", "containing", "a", "counter", "and", "a", "pointer", ".", "The", "counter", "is", "of", "type", "'int", "'", "and", "indicates", "how", "many", "bytes", "have", "been", "used", "to", "date", ".", "The", "pointer", "indicates", "the", "stack", "position", "for", "arguments", "that", "have", "not", "been", "passed", "in", "registers", ".", "To", "keep", "the", "layout", "nice", ",", "the", "pointer", "is", "first", "in", "the", "structure", "."], "TS_V_token": ["stormy16", "\"__va_list_tag\"", "\"base\"", "\"count\""], "File": "stormy163", "Func": "xstormy16_build_builtin_va_list", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16581, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "AArch64TargetLowering", "::", "emitLoadLinked", "(", "IRBuilderBase", "&", "Builder", ",", "Type", "*", "ValueTy", ",", "Value", "*", "Addr", ",", "AtomicOrdering", "Ord", ")", "const", "{", "Module", "*", "M", "=", "Builder", ".", "GetInsertBlock", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "bool", "IsAcquire", "=", "isAcquireOrStronger", "(", "Ord", ")", ";", "if", "(", "ValueTy", "->", "getPrimitiveSizeInBits", "(", ")", "==", "128", ")", "{", "Intrinsic", "::", "ID", "Int", "=", "IsAcquire", "?", "Intrinsic", "::", "aarch64_ldaxp", ":", "Intrinsic", "::", "aarch64_ldxp", ";", "Function", "*", "Ldxr", "=", "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", ",", "ValueTy", ",", "\"lo64\"", ")", ";", "Hi", "=", "Builder", ".", "CreateZExt", "(", "Hi", ",", "ValueTy", ",", "\"hi64\"", ")", ";", "return", "Builder", ".", "CreateOr", "(", "Lo", ",", "Builder", ".", "CreateShl", "(", "Hi", ",", "ConstantInt", "::", "get", "(", "ValueTy", ",", "64", ")", ")", ",", "\"val64\"", ")", ";", "}", "Type", "*", "Tys", "[", "]", "=", "{", "Addr", "->", "getType", "(", ")", "}", ";", "Intrinsic", "::", "ID", "Int", "=", "IsAcquire", "?", "Intrinsic", "::", "aarch64_ldaxr", ":", "Intrinsic", "::", "aarch64_ldxr", ";", "Function", "*", "Ldxr", "=", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "Int", ",", "Tys", ")", ";", "const", "DataLayout", "&", "DL", "=", "M", "->", "getDataLayout", "(", ")", ";", "IntegerType", "*", "IntEltTy", "=", "Builder", ".", "getIntNTy", "(", "DL", ".", "getTypeSizeInBits", "(", "ValueTy", ")", ")", ";", "Value", "*", "Trunc", "=", "Builder", ".", "CreateTrunc", "(", "Builder", ".", "CreateCall", "(", "Ldxr", ",", "Addr", ")", ",", "IntEltTy", ")", ";", "return", "Builder", ".", "CreateBitCast", "(", "Trunc", ",", "ValueTy", ")", ";", "}", ""], "natrual_language": ["Perform", "a", "load-linked", "operation", "on", "Addr", ",", "returning", "a", "``", "Value", "*", "''", "with", "the", "corresponding", "pointee", "type", "."], "TS_V_token": ["AArch64", "AArch64", "128", "Intrinsic::ID", "Intrinsic::aarch64_ldaxp", "Intrinsic::aarch64_ldxp", "Intrinsic::getDeclaration", "\"lohi\"", "0", "\"lo\"", "1", "\"hi\"", "\"lo64\"", "\"hi64\"", "64", "\"val64\"", "Intrinsic::ID", "Intrinsic::aarch64_ldaxr", "Intrinsic::aarch64_ldxr", "Intrinsic::getDeclaration"], "File": "AArch64ISelLowering (2)2", "Func": "emitLoadLinked", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16582, "Length": 308, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "altivec_expand_vec_set_builtin", "(", "tree", "exp", ")", "{", "machine_mode", "tmode", ",", "mode1", ";", "tree", "arg0", ",", "arg1", ",", "arg2", ";", "int", "elt", ";", "rtx", "op0", ",", "op1", ";", "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", "&&", "GET_MODE", "(", "op1", ")", "!=", "VOIDmode", ")", "op1", "=", "convert_modes", "(", "mode1", ",", "GET_MODE", "(", "op1", ")", ",", "op1", ",", "true", ")", ";", "op0", "=", "force_reg", "(", "tmode", ",", "op0", ")", ";", "op1", "=", "force_reg", "(", "mode1", ",", "op1", ")", ";", "rs6000_expand_vector_set", "(", "op0", ",", "op1", ",", "GEN_INT", "(", "elt", ")", ")", ";", "return", "op0", ";", "}", ""], "natrual_language": ["Expand", "vec_set", "builtin", "."], "TS_V_token": ["rs6000", "0", "1", "2"], "File": "rs6000-builtin", "Func": "altivec_expand_vec_set_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16583, "Length": 190, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mmix_override_options", "(", "void", ")", "{", "if", "(", "flag_pic", ")", "{", "warning", "(", "0", ",", "\"-f%s not supported: ignored\"", ",", "(", "flag_pic", ">", "1", ")", "?", "\"PIC\"", ":", "\"pic\"", ")", ";", "flag_pic", "=", "0", ";", "}", "}", ""], "natrual_language": ["OVERRIDE_OPTIONS", "."], "TS_V_token": ["mmix", "0", "\"-f%s not supported: ignored\"", "1", "\"PIC\"", "\"pic\"", "0"], "File": "mmix3", "Func": "mmix_override_options", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16584, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mem_operand_ds_form", "(", "rtx", "op", ",", "machine_mode", "mode", ")", "{", "unsigned", "HOST_WIDE_INT", "offset", ";", "int", "extra", ";", "rtx", "addr", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "!", "offsettable_address_p", "(", "false", ",", "mode", ",", "addr", ")", ")", "return", "false", ";", "op", "=", "address_offset", "(", "addr", ")", ";", "if", "(", "op", "==", "NULL_RTX", ")", "return", "true", ";", "offset", "=", "INTVAL", "(", "op", ")", ";", "if", "(", "(", "offset", "&", "3", ")", "!=", "0", ")", "return", "false", ";", "extra", "=", "GET_MODE_SIZE", "(", "mode", ")", "-", "UNITS_PER_WORD", ";", "if", "(", "extra", "<", "0", ")", "extra", "=", "0", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "LO_SUM", ")", "offset", "=", "(", "(", "offset", "&", "0xffff", ")", "^", "0x8000", ")", "-", "0x8000", ";", "return", "offset", "+", "0x8000", "<", "0x10000u", "-", "extra", ";", "}", ""], "natrual_language": ["As", "above", ",", "but", "for", "DS-FORM", "VSX", "insns", ".", "Unlike", "mem_operand_gpr", ",", "enforce", "an", "offset", "divisible", "by", "4", "even", "for", "32-bit", "."], "TS_V_token": ["rs6000", "0", "3", "0", "0", "0", "0xffff", "0x8000", "0x8000", "0x8000", "0x10000u"], "File": "rs60006", "Func": "mem_operand_ds_form", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16585, "Length": 130, "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", ";", "}", "}", "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": "MipsISelLowering114", "Func": "getConstraintType", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16586, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCRegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "if", "(", "PerformTailCallOpt", "&&", "I", "->", "getOpcode", "(", ")", "==", "PPC", "::", "ADJCALLSTACKUP", ")", "{", "if", "(", "int", "CalleeAmt", "=", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ")", "{", "bool", "is64Bit", "=", "Subtarget", ".", "isPPC64", "(", ")", ";", "CalleeAmt", "*=", "-", "1", ";", "unsigned", "StackReg", "=", "is64Bit", "?", "PPC", "::", "X1", ":", "PPC", "::", "R1", ";", "unsigned", "TmpReg", "=", "is64Bit", "?", "PPC", "::", "X0", ":", "PPC", "::", "R0", ";", "unsigned", "ADDIInstr", "=", "is64Bit", "?", "PPC", "::", "ADDI8", ":", "PPC", "::", "ADDI", ";", "unsigned", "ADDInstr", "=", "is64Bit", "?", "PPC", "::", "ADD8", ":", "PPC", "::", "ADD4", ";", "unsigned", "LISInstr", "=", "is64Bit", "?", "PPC", "::", "LIS8", ":", "PPC", "::", "LIS", ";", "unsigned", "ORIInstr", "=", "is64Bit", "?", "PPC", "::", "ORI8", ":", "PPC", "::", "ORI", ";", "MachineInstr", "*", "MI", "=", "I", ";", "DebugLoc", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "isInt16", "(", "CalleeAmt", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "TII", ".", "get", "(", "ADDIInstr", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addImm", "(", "CalleeAmt", ")", ";", "}", "else", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "I", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "LISInstr", ")", ",", "TmpReg", ")", ".", "addImm", "(", "CalleeAmt", ">>", "16", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ORIInstr", ")", ",", "TmpReg", ")", ".", "addReg", "(", "TmpReg", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "CalleeAmt", "&", "0xFFFF", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ADDInstr", ")", ")", ".", "addReg", "(", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addReg", "(", "TmpReg", ")", ";", "}", "}", "}", "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": ["PowerPC", "PPC", "PPC::ADJCALLSTACKUP", "1", "PPC", "1", "PPC::X1", "PPC::R1", "PPC::X0", "PPC::R0", "PPC::ADDI8", "PPC::ADDI", "PPC::ADD8", "PPC::ADD4", "PPC::LIS8", "PPC::LIS", "PPC::ORI8", "PPC::ORI", "16", "0xFFFF"], "File": "PPCRegisterInfo23", "Func": "eliminateCallFramePseudoInstr", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16587, "Length": 306, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "X86AsmBackend", "::", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "X86", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"reloc_riprel_4byte\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_riprel_4byte_movq_load\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_riprel_4byte_relax\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_riprel_4byte_relax_rex\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_signed_4byte\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"reloc_signed_4byte_relax\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"reloc_global_offset_table\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"reloc_global_offset_table8\"", ",", "0", ",", "64", ",", "0", "}", ",", "{", "\"reloc_branch_4byte_pcrel\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "}", ";", "if", "(", "Kind", ">=", "FirstLiteralRelocationKind", ")", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "FK_NONE", ")", ";", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "assert", "(", "unsigned", "(", "Kind", "-", "FirstTargetFixupKind", ")", "<", "getNumFixupKinds", "(", ")", "&&", "\"Invalid kind!\"", ")", ";", "assert", "(", "Infos", "[", "Kind", "-", "FirstTargetFixupKind", "]", ".", "Name", "&&", "\"Empty fixup name!\"", ")", ";", "return", "Infos", "[", "Kind", "-", "FirstTargetFixupKind", "]", ";", "}", ""], "natrual_language": ["Get", "information", "on", "a", "fixup", "kind", "."], "TS_V_token": ["X86", "X86", "X86::NumTargetFixupKinds", "\"reloc_riprel_4byte\"", "0", "32", "\"reloc_riprel_4byte_movq_load\"", "0", "32", "\"reloc_riprel_4byte_relax\"", "0", "32", "\"reloc_riprel_4byte_relax_rex\"", "0", "32", "\"reloc_signed_4byte\"", "0", "32", "0", "\"reloc_signed_4byte_relax\"", "0", "32", "0", "\"reloc_global_offset_table\"", "0", "32", "0", "\"reloc_global_offset_table8\"", "0", "64", "0", "\"reloc_branch_4byte_pcrel\"", "0", "32", "\"Invalid kind!\"", "\"Empty fixup name!\""], "File": "X86AsmBackend (2)1", "Func": "getFixupKindInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16588, "Length": 192, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTTIImpl", "::", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "TTI", "::", "OperandValueKind", "Op1Info", ",", "TTI", "::", "OperandValueKind", "Op2Info", ",", "TTI", "::", "OperandValueProperties", "Opd1PropInfo", ",", "TTI", "::", "OperandValueProperties", "Opd2PropInfo", ")", "{", "assert", "(", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", "&&", "\"Invalid opcode\"", ")", ";", "return", "BaseT", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "Op1Info", ",", "Op2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ")", ";", "}", ""], "natrual_language": ["This", "is", "an", "approximation", "of", "reciprocal", "throughput", "of", "a", "math/logic", "op", "."], "TS_V_token": ["PowerPC", "PPC", "\"Invalid opcode\""], "File": "PPCTargetTransformInfo19", "Func": "getArithmeticInstrCost", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16589, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_sCOND", "(", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ")", "{", "rtx", "condition_rtx", ";", "machine_mode", "op_mode", ";", "enum", "rtx_code", "cond_code", ";", "rtx", "result", "=", "operands", "[", "0", "]", ";", "condition_rtx", "=", "rs6000_generate_compare", "(", "operands", "[", "1", "]", ",", "mode", ")", ";", "cond_code", "=", "GET_CODE", "(", "condition_rtx", ")", ";", "if", "(", "FLOAT_MODE_P", "(", "mode", ")", "&&", "!", "TARGET_FPRS", "&&", "TARGET_HARD_FLOAT", ")", "{", "rtx", "t", ";", "PUT_MODE", "(", "condition_rtx", ",", "SImode", ")", ";", "t", "=", "XEXP", "(", "condition_rtx", ",", "0", ")", ";", "gcc_assert", "(", "cond_code", "==", "NE", "||", "cond_code", "==", "EQ", ")", ";", "if", "(", "cond_code", "==", "NE", ")", "emit_insn", "(", "gen_e500_flip_gt_bit", "(", "t", ",", "t", ")", ")", ";", "emit_insn", "(", "gen_move_from_CR_gt_bit", "(", "result", ",", "t", ")", ")", ";", "return", ";", "}", "if", "(", "cond_code", "==", "NE", "||", "cond_code", "==", "GE", "||", "cond_code", "==", "LE", "||", "cond_code", "==", "GEU", "||", "cond_code", "==", "LEU", "||", "cond_code", "==", "ORDERED", "||", "cond_code", "==", "UNGE", "||", "cond_code", "==", "UNLE", ")", "{", "rtx", "not_result", "=", "gen_reg_rtx", "(", "CCEQmode", ")", ";", "rtx", "not_op", ",", "rev_cond_rtx", ";", "machine_mode", "cc_mode", ";", "cc_mode", "=", "GET_MODE", "(", "XEXP", "(", "condition_rtx", ",", "0", ")", ")", ";", "rev_cond_rtx", "=", "gen_rtx_fmt_ee", "(", "rs6000_reverse_condition", "(", "cc_mode", ",", "cond_code", ")", ",", "SImode", ",", "XEXP", "(", "condition_rtx", ",", "0", ")", ",", "const0_rtx", ")", ";", "not_op", "=", "gen_rtx_COMPARE", "(", "CCEQmode", ",", "rev_cond_rtx", ",", "const0_rtx", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "not_result", ",", "not_op", ")", ")", ";", "condition_rtx", "=", "gen_rtx_EQ", "(", "VOIDmode", ",", "not_result", ",", "const0_rtx", ")", ";", "}", "op_mode", "=", "GET_MODE", "(", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ")", ";", "if", "(", "op_mode", "==", "VOIDmode", ")", "op_mode", "=", "GET_MODE", "(", "XEXP", "(", "operands", "[", "1", "]", ",", "1", ")", ")", ";", "if", "(", "TARGET_POWERPC64", "&&", "(", "op_mode", "==", "DImode", "||", "FLOAT_MODE_P", "(", "mode", ")", ")", ")", "{", "PUT_MODE", "(", "condition_rtx", ",", "DImode", ")", ";", "convert_move", "(", "result", ",", "condition_rtx", ",", "0", ")", ";", "}", "else", "{", "PUT_MODE", "(", "condition_rtx", ",", "SImode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "result", ",", "condition_rtx", ")", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "the", "RTL", "for", "an", "sCOND", "pattern", "."], "TS_V_token": ["rs6000", "0", "1", "0", "0", "0", "1", "0", "1", "1", "0"], "File": "rs60005", "Func": "rs6000_emit_sCOND", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16590, "Length": 330, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "X86TargetLowering", "::", "LowerAsmOutputForConstraint", "(", "SDValue", "&", "Chain", ",", "SDValue", "&", "Flag", ",", "const", "SDLoc", "&", "DL", ",", "const", "AsmOperandInfo", "&", "OpInfo", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "X86", "::", "CondCode", "Cond", "=", "parseConstraintCode", "(", "OpInfo", ".", "ConstraintCode", ")", ";", "if", "(", "Cond", "==", "X86", "::", "COND_INVALID", ")", "return", "SDValue", "(", ")", ";", "if", "(", "OpInfo", ".", "ConstraintVT", ".", "isVector", "(", ")", "||", "!", "OpInfo", ".", "ConstraintVT", ".", "isInteger", "(", ")", "||", "OpInfo", ".", "ConstraintVT", ".", "getSizeInBits", "(", ")", "<", "8", ")", "report_fatal_error", "(", "\"Flag output operand is of invalid type\"", ")", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "{", "Flag", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "X86", "::", "EFLAGS", ",", "MVT", "::", "i32", ",", "Flag", ")", ";", "Chain", "=", "Flag", ".", "getValue", "(", "1", ")", ";", "}", "else", "Flag", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "X86", "::", "EFLAGS", ",", "MVT", "::", "i32", ")", ";", "SDValue", "CC", "=", "getSETCC", "(", "Cond", ",", "Flag", ",", "DL", ",", "DAG", ")", ";", "SDValue", "Result", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ZERO_EXTEND", ",", "DL", ",", "OpInfo", ".", "ConstraintVT", ",", "CC", ")", ";", "return", "Result", ";", "}", ""], "natrual_language": ["Handle", "Lowering", "flag", "assembly", "outputs", "."], "TS_V_token": ["X86", "X86", "X86::CondCode", "X86::COND_INVALID", "8", "\"Flag output operand is of invalid type\"", "X86::EFLAGS", "MVT::i32", "1", "X86::EFLAGS", "MVT::i32", "ISD::ZERO_EXTEND"], "File": "X86ISelLowering (2)5", "Func": "LowerAsmOutputForConstraint", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16591, "Length": 186, "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", "(", ")", ";", "const", "MipsSEInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "MipsSEInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "SP", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "SP_64", ":", "Mips", "::", "SP", ";", "unsigned", "FP", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "FP_64", ":", "Mips", "::", "FP", ";", "unsigned", "ZERO", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "ZERO_64", ":", "Mips", "::", "ZERO", ";", "unsigned", "ADDu", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "DADDu", ":", "Mips", "::", "ADDu", ";", "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", ")", ";", "}", "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::SP_64", "Mips::SP", "Mips::FP_64", "Mips::FP", "Mips::ZERO_64", "Mips::ZERO", "Mips::DADDu", "Mips::ADDu", "0"], "File": "MipsSEFrameLowering14", "Func": "emitEpilogue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16592, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_widen_mult_cost", "(", "const", "struct", "processor_costs", "*", "cost", ",", "enum", "machine_mode", "mode", ",", "bool", "uns_p", ")", "{", "gcc_assert", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_INT", ")", ";", "int", "extra_cost", "=", "0", ";", "int", "basic_cost", "=", "0", ";", "switch", "(", "mode", ")", "{", "case", "V8HImode", ":", "case", "V16HImode", ":", "if", "(", "!", "uns_p", "||", "mode", "==", "V16HImode", ")", "extra_cost", "=", "cost", "->", "sse_op", "*", "2", ";", "basic_cost", "=", "cost", "->", "mulss", "*", "2", "+", "cost", "->", "sse_op", "*", "4", ";", "break", ";", "case", "V4SImode", ":", "case", "V8SImode", ":", "basic_cost", "=", "cost", "->", "mulss", "*", "2", "+", "cost", "->", "sse_op", "*", "2", ";", "break", ";", "case", "V2DImode", ":", "if", "(", "!", "TARGET_SSE4_1", "&&", "!", "uns_p", ")", "extra_cost", "=", "(", "cost", "->", "mulss", "+", "cost", "->", "addss", "+", "cost", "->", "sse_op", ")", "*", "4", "+", "cost", "->", "sse_op", "*", "2", ";", "case", "V4DImode", ":", "basic_cost", "=", "cost", "->", "mulss", "*", "2", "+", "cost", "->", "sse_op", "*", "4", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "ix86_vec_cost", "(", "mode", ",", "basic_cost", "+", "extra_cost", ")", ";", "}", ""], "natrual_language": ["Return", "cost", "of", "vec_widen_", "<", "s", ">", "mult_hi/lo_", "<", "mode", ">", ",", "vec_widen_", "<", "s", ">", "mul_hi/lo_", "<", "mode", ">", "is", "only", "available", "for", "VI124_AVX2", "."], "TS_V_token": ["i386", "0", "0", "2", "2", "4", "2", "2", "4", "2", "2", "4"], "File": "i386", "Func": "ix86_widen_mult_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16593, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rx_handle_vector_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add_attrs", ")", "{", "gcc_assert", "(", "DECL_P", "(", "*", "node", ")", ")", ";", "gcc_assert", "(", "args", "!=", "NULL_TREE", ")", ";", "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": ["Check", "``", "vector", "''", "attribute", "."], "TS_V_token": ["rx", "\"%qE attribute only applies to functions\""], "File": "rx", "Func": "rx_handle_vector_attribute", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16594, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "machine_mode", "select_cc_mode", "(", "enum", "rtx_code", "op", ",", "rtx", "x", ",", "rtx", "y", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "x", ")", ")", "==", "MODE_FLOAT", ")", "{", "switch", "(", "op", ")", "{", "case", "EQ", ":", "case", "NE", ":", "case", "UNORDERED", ":", "case", "ORDERED", ":", "case", "UNLT", ":", "case", "UNLE", ":", "case", "UNGT", ":", "case", "UNGE", ":", "case", "UNEQ", ":", "case", "LTGT", ":", "return", "CCFPmode", ";", "case", "LT", ":", "case", "LE", ":", "case", "GT", ":", "case", "GE", ":", "return", "CCFPEmode", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "||", "GET_CODE", "(", "x", ")", "==", "MINUS", "||", "GET_CODE", "(", "x", ")", "==", "NEG", "||", "GET_CODE", "(", "x", ")", "==", "ASHIFT", ")", "{", "if", "(", "TARGET_ARCH64", "&&", "GET_MODE", "(", "x", ")", "==", "DImode", ")", "return", "CCX_NOOVmode", ";", "else", "return", "CC_NOOVmode", ";", "}", "else", "{", "if", "(", "TARGET_ARCH64", "&&", "GET_MODE", "(", "x", ")", "==", "DImode", ")", "return", "CCXmode", ";", "else", "return", "CCmode", ";", "}", "}", ""], "natrual_language": ["Given", "a", "comparison", "code", "(", "EQ", ",", "NE", ",", "etc", ".", ")", "and", "the", "first", "operand", "of", "a", "COMPARE", ",", "return", "the", "mode", "to", "be", "used", "for", "the", "comparison", ".", "For", "floating-point", ",", "CCFP", "[", "E", "]", "mode", "is", "used", ".", "CC_NOOVmode", "should", "be", "used", "when", "the", "first", "operand", "is", "a", "PLUS", ",", "MINUS", ",", "NEG", ",", "or", "ASHIFT", ".", "CCmode", "should", "be", "used", "when", "no", "special", "processing", "is", "needed", "."], "TS_V_token": ["sparc"], "File": "sparc3", "Func": "select_cc_mode", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16595, "Length": 163, "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", "{", "if", "(", "RC", "==", "ARM", "::", "GPRRegisterClass", "||", "RC", "==", "ARM", "::", "tGPRRegisterClass", "||", "RC", "==", "ARM", "::", "tcGPRRegisterClass", "||", "RC", "==", "ARM", "::", "rGPRRegisterClass", ")", "{", "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", "::", "MOStore", ",", "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", ",", "TRI", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM::GPRRegisterClass", "ARM::tGPRRegisterClass", "ARM::tcGPRRegisterClass", "ARM::rGPRRegisterClass", "ARM::t2STRi12", "0", "ARM"], "File": "Thumb2InstrInfo2", "Func": "storeRegToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16596, "Length": 209, "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", ")", ";", "this", "->", "TM", "=", "&", "static_cast", "<", "const", "Cpu0TargetMachine", "&", ">", "(", "TM", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["Cpu0", "Cpu0", "\".sdata\"", "\".sbss\"", "Cpu0"], "File": "Cpu0TargetObjectFile", "Func": "Initialize", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16597, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "shmedia_target_regs_stack_adjust", "(", "HARD_REG_SET", "*", "live_regs_mask", ")", "{", "if", "(", "shmedia_space_reserved_for_target_registers", ")", "return", "shmedia_target_regs_stack_space", "(", "live_regs_mask", ")", ";", "else", "return", "0", ";", "}", ""], "natrual_language": ["Decide", "how", "much", "space", "to", "reserve", "for", "callee-save", "target", "registers", "in", "case", "target", "register", "allocation", "wants", "to", "use", "them", ".", "LIVE_REGS_MASK", "is", "the", "register", "mask", "calculated", "by", "calc_live_regs", "."], "TS_V_token": ["sh", "0"], "File": "sh3", "Func": "shmedia_target_regs_stack_adjust", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16598, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CollectLOH", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "const", "MachineDominatorTree", "*", "MDT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "MapRegToId", "RegToId", ";", "MapIdToReg", "IdToReg", ";", "AArch64FunctionInfo", "*", "AArch64FI", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "assert", "(", "AArch64FI", "&&", "\"No MachineFunctionInfo for this function!\"", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Looking for LOH in \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "collectInvolvedReg", "(", "MF", ",", "RegToId", ",", "IdToReg", ",", "TRI", ")", ";", "if", "(", "RegToId", ".", "empty", "(", ")", ")", "return", "false", ";", "MachineInstr", "*", "DummyOp", "=", "nullptr", ";", "if", "(", "BasicBlockScopeOnly", ")", "{", "const", "TargetInstrInfo", "*", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DummyOp", "=", "MF", ".", "CreateMachineInstr", "(", "TII", "->", "get", "(", "AArch64", "::", "COPY", ")", ",", "DebugLoc", "(", ")", ")", ";", "}", "unsigned", "NbReg", "=", "RegToId", ".", "size", "(", ")", ";", "bool", "Modified", "=", "false", ";", "InstrToInstrs", "*", "ColorOpToReachedUses", "=", "new", "InstrToInstrs", "[", "NbReg", "]", ";", "reachingDef", "(", "MF", ",", "ColorOpToReachedUses", ",", "RegToId", ",", "true", ",", "DummyOp", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"ADRP reaching defs\\n\"", ")", ";", "DEBUG", "(", "printReachingDef", "(", "ColorOpToReachedUses", ",", "NbReg", ",", "TRI", ",", "IdToReg", ")", ")", ";", "InstrToInstrs", "ADRPToReachingDefs", ";", "reachedUsesToDefs", "(", "ADRPToReachingDefs", ",", "ColorOpToReachedUses", ",", "RegToId", ",", "true", ")", ";", "computeADRP", "(", "ADRPToReachingDefs", ",", "*", "AArch64FI", ",", "MDT", ")", ";", "delete", "[", "]", "ColorOpToReachedUses", ";", "ColorOpToReachedUses", "=", "new", "InstrToInstrs", "[", "NbReg", "]", ";", "reachingDef", "(", "MF", ",", "ColorOpToReachedUses", ",", "RegToId", ",", "false", ",", "DummyOp", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"All reaching defs\\n\"", ")", ";", "DEBUG", "(", "printReachingDef", "(", "ColorOpToReachedUses", ",", "NbReg", ",", "TRI", ",", "IdToReg", ")", ")", ";", "InstrToInstrs", "UsesToReachingDefs", ";", "reachedUsesToDefs", "(", "UsesToReachingDefs", ",", "ColorOpToReachedUses", ",", "RegToId", ",", "false", ")", ";", "computeOthers", "(", "UsesToReachingDefs", ",", "ColorOpToReachedUses", ",", "*", "AArch64FI", ",", "RegToId", ",", "MDT", ")", ";", "delete", "[", "]", "ColorOpToReachedUses", ";", "if", "(", "BasicBlockScopeOnly", ")", "MF", ".", "DeleteMachineInstr", "(", "DummyOp", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "\"No MachineFunctionInfo for this function!\"", "\"Looking for LOH in \"", "AArch64::COPY", "\"ADRP reaching defs\\n\"", "AArch64", "\"All reaching defs\\n\"", "AArch64"], "File": "AArch64CollectLOH", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16599, "Length": 346, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isAsCheapAsAMove", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "hasCustomCheapAsMoveHandling", "(", ")", ")", "return", "MI", ".", "isAsCheapAsAMove", "(", ")", ";", "unsigned", "Imm", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "AArch64", "::", "ADDWri", ":", "case", "AArch64", "::", "ADDXri", ":", "case", "AArch64", "::", "SUBWri", ":", "case", "AArch64", "::", "SUBXri", ":", "return", "(", "Subtarget", ".", "getProcFamily", "(", ")", "==", "AArch64Subtarget", "::", "ExynosM1", "||", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "==", "0", ")", ";", "case", "AArch64", "::", "ADDWrs", ":", "case", "AArch64", "::", "ADDXrs", ":", "case", "AArch64", "::", "SUBWrs", ":", "case", "AArch64", "::", "SUBXrs", ":", "Imm", "=", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "return", "(", "Subtarget", ".", "getProcFamily", "(", ")", "==", "AArch64Subtarget", "::", "ExynosM1", "&&", "AArch64_AM", "::", "getArithShiftValue", "(", "Imm", ")", "<", "4", ")", ";", "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", "::", "ANDWrs", ":", "case", "AArch64", "::", "ANDXrs", ":", "case", "AArch64", "::", "BICWrs", ":", "case", "AArch64", "::", "BICXrs", ":", "case", "AArch64", "::", "EONWrs", ":", "case", "AArch64", "::", "EONXrs", ":", "case", "AArch64", "::", "EORWrs", ":", "case", "AArch64", "::", "EORXrs", ":", "case", "AArch64", "::", "ORNWrs", ":", "case", "AArch64", "::", "ORNXrs", ":", "case", "AArch64", "::", "ORRWrs", ":", "case", "AArch64", "::", "ORRXrs", ":", "Imm", "=", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "return", "(", "Subtarget", ".", "getProcFamily", "(", ")", "==", "AArch64Subtarget", "::", "ExynosM1", "&&", "AArch64_AM", "::", "getShiftValue", "(", "Imm", ")", "<", "4", "&&", "AArch64_AM", "::", "getShiftType", "(", "Imm", ")", "==", "AArch64_AM", "::", "LSL", ")", ";", "case", "AArch64", "::", "MOVi32imm", ":", "return", "canBeExpandedToORR", "(", "MI", ",", "32", ")", ";", "case", "AArch64", "::", "MOVi64imm", ":", "return", "canBeExpandedToORR", "(", "MI", ",", "64", ")", ";", "case", "AArch64", "::", "FMOVS0", ":", "case", "AArch64", "::", "FMOVD0", ":", "return", "Subtarget", ".", "hasZeroCycleZeroing", "(", ")", ";", "}", "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::ADDWri", "AArch64::ADDXri", "AArch64::SUBWri", "AArch64::SUBXri", "AArch64", "3", "0", "AArch64::ADDWrs", "AArch64::ADDXrs", "AArch64::SUBWrs", "AArch64::SUBXrs", "3", "AArch64", "AArch64_AM::getArithShiftValue", "4", "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::ANDWrs", "AArch64::ANDXrs", "AArch64::BICWrs", "AArch64::BICXrs", "AArch64::EONWrs", "AArch64::EONXrs", "AArch64::EORWrs", "AArch64::EORXrs", "AArch64::ORNWrs", "AArch64::ORNXrs", "AArch64::ORRWrs", "AArch64::ORRXrs", "3", "AArch64", "AArch64_AM::getShiftValue", "4", "AArch64_AM::getShiftType", "AArch64_AM::LSL", "AArch64::MOVi32imm", "32", "AArch64::MOVi64imm", "64", "AArch64::FMOVS0", "AArch64::FMOVD0", "\"Unknown opcode to check as cheap as a move!\""], "File": "AArch64InstrInfo20", "Func": "isAsCheapAsAMove", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16600, "Length": 398, "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": ["Mips"], "File": "MipsAsmBackend (2)1", "Func": "mayNeedRelaxation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16601, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZPostRewrite", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "TII", "=", "static_cast", "<", "const", "SystemZInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "Modified", "|=", "selectMBB", "(", "MBB", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ"], "File": "SystemZPostRewrite", "Func": "runOnMachineFunction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16602, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "ix86_builtin_vectorized_function", "(", "unsigned", "int", "fn", ",", "tree", "type_out", ",", "tree", "type_in", ")", "{", "machine_mode", "in_mode", ",", "out_mode", ";", "int", "in_n", ",", "out_n", ";", "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", ")", ";", "switch", "(", "fn", ")", "{", "CASE_CFN_IFLOOR", ":", "CASE_CFN_LFLOOR", ":", "if", "(", "flag_trapping_math", "||", "!", "TARGET_SSE4_1", ")", "break", ";", "if", "(", "out_mode", "==", "SImode", "&&", "in_mode", "==", "DFmode", ")", "{", "if", "(", "out_n", "==", "4", "&&", "in_n", "==", "2", ")", "return", "ix86_get_builtin", "(", "IX86_BUILTIN_FLOORPD_VEC_PACK_SFIX", ")", ";", "else", "if", "(", "out_n", "==", "8", "&&", "in_n", "==", "4", ")", "return", "ix86_get_builtin", "(", "IX86_BUILTIN_FLOORPD_VEC_PACK_SFIX256", ")", ";", "else", "if", "(", "out_n", "==", "16", "&&", "in_n", "==", "8", ")", "return", "ix86_get_builtin", "(", "IX86_BUILTIN_FLOORPD_VEC_PACK_SFIX512", ")", ";", "}", "break", ";", "CASE_CFN_ICEIL", ":", "CASE_CFN_LCEIL", ":", "if", "(", "flag_trapping_math", "||", "!", "TARGET_SSE4_1", ")", "break", ";", "if", "(", "out_mode", "==", "SImode", "&&", "in_mode", "==", "DFmode", ")", "{", "if", "(", "out_n", "==", "4", "&&", "in_n", "==", "2", ")", "return", "ix86_get_builtin", "(", "IX86_BUILTIN_CEILPD_VEC_PACK_SFIX", ")", ";", "else", "if", "(", "out_n", "==", "8", "&&", "in_n", "==", "4", ")", "return", "ix86_get_builtin", "(", "IX86_BUILTIN_CEILPD_VEC_PACK_SFIX256", ")", ";", "else", "if", "(", "out_n", "==", "16", "&&", "in_n", "==", "8", ")", "return", "ix86_get_builtin", "(", "IX86_BUILTIN_CEILPD_VEC_PACK_SFIX512", ")", ";", "}", "break", ";", "CASE_CFN_IRINT", ":", "CASE_CFN_LRINT", ":", "if", "(", "out_mode", "==", "SImode", "&&", "in_mode", "==", "DFmode", ")", "{", "if", "(", "out_n", "==", "4", "&&", "in_n", "==", "2", ")", "return", "ix86_get_builtin", "(", "IX86_BUILTIN_VEC_PACK_SFIX", ")", ";", "else", "if", "(", "out_n", "==", "8", "&&", "in_n", "==", "4", ")", "return", "ix86_get_builtin", "(", "IX86_BUILTIN_VEC_PACK_SFIX256", ")", ";", "else", "if", "(", "out_n", "==", "16", "&&", "in_n", "==", "8", ")", "return", "ix86_get_builtin", "(", "IX86_BUILTIN_VEC_PACK_SFIX512", ")", ";", "}", "break", ";", "CASE_CFN_IROUND", ":", "CASE_CFN_LROUND", ":", "if", "(", "flag_trapping_math", "||", "!", "TARGET_SSE4_1", ")", "break", ";", "if", "(", "out_mode", "==", "SImode", "&&", "in_mode", "==", "DFmode", ")", "{", "if", "(", "out_n", "==", "4", "&&", "in_n", "==", "2", ")", "return", "ix86_get_builtin", "(", "IX86_BUILTIN_ROUNDPD_AZ_VEC_PACK_SFIX", ")", ";", "else", "if", "(", "out_n", "==", "8", "&&", "in_n", "==", "4", ")", "return", "ix86_get_builtin", "(", "IX86_BUILTIN_ROUNDPD_AZ_VEC_PACK_SFIX256", ")", ";", "else", "if", "(", "out_n", "==", "16", "&&", "in_n", "==", "8", ")", "return", "ix86_get_builtin", "(", "IX86_BUILTIN_ROUNDPD_AZ_VEC_PACK_SFIX512", ")", ";", "}", "break", ";", "default", ":", "break", ";", "}", "if", "(", "ix86_veclib_handler", ")", "return", "ix86_veclib_handler", "(", "combined_fn", "(", "fn", ")", ",", "type_out", ",", "type_in", ")", ";", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Returns", "a", "function", "decl", "for", "a", "vectorized", "version", "of", "the", "builtin", "function", "with", "builtin", "function", "code", "FN", "and", "the", "result", "vector", "type", "TYPE", ",", "or", "NULL_TREE", "if", "it", "is", "not", "available", "."], "TS_V_token": ["i386", "4", "2", "8", "4", "16", "8", "4", "2", "8", "4", "16", "8", "4", "2", "8", "4", "16", "8", "4", "2", "8", "4", "16", "8"], "File": "i386-builtins1", "Func": "ix86_builtin_vectorized_function", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16603, "Length": 407, "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": 16604, "Length": 290, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "function_arg_union_value", "(", "int", "size", ",", "machine_mode", "mode", ",", "int", "slotno", ",", "int", "regno", ")", "{", "int", "nwords", "=", "CEIL_NWORDS", "(", "size", ")", ",", "i", ";", "rtx", "regs", ";", "if", "(", "nwords", "==", "0", ")", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "if", "(", "slotno", "==", "SPARC_INT_ARG_MAX", "-", "1", ")", "nwords", "=", "1", ";", "regs", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "rtvec_alloc", "(", "nwords", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nwords", ";", "i", "++", ")", "{", "XVECEXP", "(", "regs", ",", "0", ",", "i", ")", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "word_mode", ",", "regno", ")", ",", "GEN_INT", "(", "UNITS_PER_WORD", "*", "i", ")", ")", ";", "regno", "++", ";", "}", "return", "regs", ";", "}", ""], "natrual_language": ["Used", "by", "function_arg", "and", "sparc_function_value_1", "to", "implement", "the", "conventions", "of", "the", "64-bit", "ABI", "for", "passing", "and", "returning", "unions", ".", "Return", "an", "expression", "valid", "as", "a", "return", "value", "for", "the", "FUNCTION_ARG", "and", "TARGET_FUNCTION_VALUE", ".", "SIZE", "is", "the", "size", "in", "bytes", "of", "the", "union", ".", "MODE", "is", "the", "argument", "'s", "machine", "mode", ".", "REGNO", "is", "the", "hard", "register", "the", "union", "will", "be", "passed", "in", "."], "TS_V_token": ["sparc", "0", "1", "1", "0", "0"], "File": "sparc5", "Func": "function_arg_union_value", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16605, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TargetLowering", "::", "combineRepeatedFPDivisors", "(", ")", "const", "{", "return", "2", ";", "}", ""], "natrual_language": ["Indicate", "whether", "this", "target", "prefers", "to", "combine", "FDIVs", "with", "the", "same", "divisor", "."], "TS_V_token": ["X86", "X86", "2"], "File": "X86ISelLowering (2)3", "Func": "combineRepeatedFPDivisors", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16606, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "X86TargetLowering", "::", "getScratchRegisters", "(", "CallingConv", "::", "ID", ")", "const", "{", "static", "const", "uint16_t", "ScratchRegs", "[", "]", "=", "{", "X86", "::", "R11", ",", "0", "}", ";", "return", "ScratchRegs", ";", "}", ""], "natrual_language": ["Returns", "a", "0", "terminated", "array", "of", "registers", "that", "can", "be", "safely", "used", "as", "scratch", "registers", "."], "TS_V_token": ["X86", "X86", "X86::R11", "0"], "File": "X86ISelLowering (2)1", "Func": "getScratchRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16607, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"ARM MVE TailPred and VPT Optimisation Pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"ARM MVE TailPred and VPT Optimisation Pass\""], "File": "MVETPAndVPTOptimisationsPass", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16608, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "elf_platform", "(", "void", ")", "{", "static", "const", "char", "*", "cpu", "=", "NULL", ";", "if", "(", "cpu", "!=", "NULL", ")", "return", "cpu", ";", "int", "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", ")", "if", "(", "av", "->", "a_type", "==", "AT_PLATFORM", ")", "{", "cpu", "=", "(", "const", "char", "*", ")", "av", "->", "a_un", ".", "a_val", ";", "break", ";", "}", "}", "if", "(", "cpu", "!=", "NULL", ")", "{", "size_t", "i", ",", "j", ";", "char", "*", "s", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "rs6000_supported_cpu_names", ")", ";", "i", "++", ")", "if", "(", "!", "strcmp", "(", "cpu", ",", "rs6000_supported_cpu_names", "[", "i", "]", ")", ")", "return", "cpu", ";", "for", "(", "i", "=", "0", ";", "linux_cpu_translation_table", "[", "i", "]", "[", "0", "]", "!=", "NULL", ";", "i", "++", ")", "{", "const", "char", "*", "canonical", "=", "linux_cpu_translation_table", "[", "i", "]", "[", "0", "]", ";", "for", "(", "j", "=", "1", ";", "linux_cpu_translation_table", "[", "i", "]", "[", "j", "]", "!=", "NULL", ";", "j", "++", ")", "if", "(", "!", "strcmp", "(", "cpu", ",", "linux_cpu_translation_table", "[", "i", "]", "[", "j", "]", ")", ")", "{", "cpu", "=", "canonical", ";", "return", "cpu", ";", "}", "}", "auto_vec", "<", "const", "char", "*", ">", "candidates", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "rs6000_supported_cpu_names", ")", ";", "i", "++", ")", "candidates", ".", "safe_push", "(", "rs6000_supported_cpu_names", "[", "i", "]", ")", ";", "candidates_list_and_hint", "(", "cpu", ",", "s", ",", "candidates", ")", ";", "fatal_error", "(", "input_location", ",", "\"Unsupported cpu name returned from kernel for -mcpu=native: %s\\n\"", "\"Please use an explicit cpu name. Valid cpu names are: %s\"", ",", "cpu", ",", "s", ")", ";", "}", "}", "return", "NULL", ";", "}", ""], "natrual_language": ["Returns", "the", "canonical", "AT_PLATFORM", "if", "present", ",", "otherwise", "NULL", "."], "TS_V_token": ["rs6000", "\"/proc/self/auxv\"", "1", "1024", "0", "0", "0", "0", "0", "1", "0", "\"Unsupported cpu name returned from kernel for -mcpu=native: %s\\n\"", "\"Please use an explicit cpu name. Valid cpu names are: %s\""], "File": "driver-rs60005", "Func": "elf_platform", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16609, "Length": 321, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "SDValue", "getVectorShuffle", "(", "SelectionDAG", "&", "DAG", ",", "EVT", "VT", ",", "const", "SDLoc", "&", "dl", ",", "SDValue", "V1", ",", "SDValue", "V2", ",", "ArrayRef", "<", "int", ">", "Mask", ")", "{", "if", "(", "(", "ISD", "::", "isBuildVectorOfConstantSDNodes", "(", "V1", ".", "getNode", "(", ")", ")", "||", "V1", ".", "isUndef", "(", ")", ")", "&&", "(", "ISD", "::", "isBuildVectorOfConstantSDNodes", "(", "V2", ".", "getNode", "(", ")", ")", "||", "V2", ".", "isUndef", "(", ")", ")", ")", "{", "SmallVector", "<", "SDValue", ">", "Ops", "(", "Mask", ".", "size", "(", ")", ",", "DAG", ".", "getUNDEF", "(", "VT", ".", "getScalarType", "(", ")", ")", ")", ";", "for", "(", "int", "I", "=", "0", ",", "NumElts", "=", "Mask", ".", "size", "(", ")", ";", "I", "!=", "NumElts", ";", "++", "I", ")", "{", "int", "M", "=", "Mask", "[", "I", "]", ";", "if", "(", "M", "<", "0", ")", "continue", ";", "SDValue", "V", "=", "(", "M", "<", "NumElts", ")", "?", "V1", ":", "V2", ";", "if", "(", "V", ".", "isUndef", "(", ")", ")", "continue", ";", "Ops", "[", "I", "]", "=", "V", ".", "getOperand", "(", "M", "%", "NumElts", ")", ";", "}", "return", "DAG", ".", "getBuildVector", "(", "VT", ",", "dl", ",", "Ops", ")", ";", "}", "return", "DAG", ".", "getVectorShuffle", "(", "VT", ",", "dl", ",", "V1", ",", "V2", ",", "Mask", ")", ";", "}", ""], "natrual_language": ["Return", "an", "ISD", ":", ":VECTOR_SHUFFLE", "node", "."], "TS_V_token": ["X86", "ISD::isBuildVectorOfConstantSDNodes", "ISD::isBuildVectorOfConstantSDNodes", "0", "0"], "File": "X86ISelLowering100", "Func": "getVectorShuffle", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16610, "Length": 201, "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", "::", "i32", ",", "MVT", "::", "Other", ")", ";", "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", "(", "1", ")", ",", "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", "(", "2", ")", ")", ";", "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::i32", "MVT::Other", "0", "1", "2", "3", "SystemZISD::ATOMIC_CMP_SWAP_128", "MVT::i128", "1", "SystemZ::CCMASK_CS", "SystemZ::CCMASK_CS_EQ", "1", "2", "\"Unexpected node to lower\""], "File": "SystemZISelLowering (2)3", "Func": "LowerOperationWrapper", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16611, "Length": 499, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCInstrInfo", "::", "reduceLoopCount", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "&", "PreHeader", ",", "MachineInstr", "*", "IndVar", ",", "MachineInstr", "&", "Cmp", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "SmallVectorImpl", "<", "MachineInstr", "*", ">", "&", "PrevInsts", ",", "unsigned", "Iter", ",", "unsigned", "MaxIter", ")", "const", "{", "assert", "(", "(", "!", "IndVar", ")", "&&", "isBDNZ", "(", "Cmp", ".", "getOpcode", "(", ")", ")", "&&", "\"Expecting a CTR loop\"", ")", ";", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "DebugLoc", "DL", "=", "Cmp", ".", "getDebugLoc", "(", ")", ";", "MachineInstr", "*", "Loop", "=", "findLoopInstr", "(", "PreHeader", ")", ";", "if", "(", "!", "Loop", ")", "return", "0", ";", "unsigned", "LoopCountReg", "=", "Loop", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "MachineInstr", "*", "LoopCount", "=", "MRI", ".", "getUniqueVRegDef", "(", "LoopCountReg", ")", ";", "if", "(", "!", "LoopCount", ")", "return", "0", ";", "if", "(", "LoopCount", "->", "getOpcode", "(", ")", "==", "PPC", "::", "LI8", "||", "LoopCount", "->", "getOpcode", "(", ")", "==", "PPC", "::", "LI", ")", "{", "int64_t", "Offset", "=", "LoopCount", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "Offset", "<=", "1", ")", "{", "LoopCount", "->", "eraseFromParent", "(", ")", ";", "Loop", "->", "eraseFromParent", "(", ")", ";", "return", "0", ";", "}", "LoopCount", "->", "getOperand", "(", "1", ")", ".", "setImm", "(", "Offset", "-", "1", ")", ";", "return", "Offset", "-", "1", ";", "}", "Cond", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "0", ")", ")", ";", "Cond", ".", "push_back", "(", "MachineOperand", "::", "CreateReg", "(", "Subtarget", ".", "isPPC64", "(", ")", "?", "PPC", "::", "CTR8", ":", "PPC", "::", "CTR", ",", "true", ")", ")", ";", "return", "LoopCountReg", ";", "}", ""], "natrual_language": ["Generate", "code", "to", "reduce", "the", "loop", "iteration", "by", "one", "and", "check", "if", "the", "loop", "is", "finished", "."], "TS_V_token": ["PowerPC", "PPC", "\"Expecting a CTR loop\"", "0", "0", "0", "PPC::LI8", "PPC::LI", "1", "1", "0", "1", "1", "1", "0", "PPC", "PPC::CTR8", "PPC::CTR"], "File": "PPCInstrInfo115", "Func": "reduceLoopCount", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16612, "Length": 264, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "sparc_secondary_memory_needed_mode", "(", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_ARCH64", ")", "{", "if", "(", "GET_MODE_BITSIZE", "(", "mode", ")", "<", "32", ")", "return", "mode_for_size", "(", "32", ",", "GET_MODE_CLASS", "(", "mode", ")", ",", "0", ")", ".", "require", "(", ")", ";", "return", "mode", ";", "}", "else", "{", "if", "(", "GET_MODE_BITSIZE", "(", "mode", ")", "<", "BITS_PER_WORD", ")", "return", "mode_for_size", "(", "BITS_PER_WORD", ",", "GET_MODE_CLASS", "(", "mode", ")", ",", "0", ")", ".", "require", "(", ")", ";", "return", "mode", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_SECONDARY_MEMORY_NEEDED_MODE", ".", "get_secondary_mem", "widens", "its", "argument", "to", "BITS_PER_WORD", "which", "loses", "on", "v9", "because", "the", "movsi", "and", "movsf", "patterns", "do", "n't", "handle", "r/f", "moves", ".", "For", "v8", "we", "copy", "the", "default", "definition", "."], "TS_V_token": ["sparc", "32", "32", "0", "0"], "File": "sparc", "Func": "sparc_secondary_memory_needed_mode", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16613, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "uint32_t", "getBranchTargetOpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpIdx", ",", "unsigned", "FixupKind", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpIdx", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"Unexpected branch target type!\"", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "MCFixupKind", "Kind", "=", "MCFixupKind", "(", "FixupKind", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "Expr", ",", "Kind", ",", "MI", ".", "getLoc", "(", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "."], "TS_V_token": ["ARM", "\"Unexpected branch target type!\"", "0", "0"], "File": "ARMMCCodeEmitter11", "Func": "getBranchTargetOpValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16614, "Length": 111, "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", ")", ";", "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)", "Func": "doFinalization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16615, "Length": 489, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "csky_return_addr", "(", "int", "count", ",", "rtx", "frame", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "count", "!=", "0", ")", "return", "NULL_RTX", ";", "return", "get_hard_reg_initial_val", "(", "Pmode", ",", "CSKY_LR_REGNUM", ")", ";", "}", ""], "natrual_language": ["Return", "an", "RTX", "indicating", "where", "the", "return", "address", "to", "the", "calling", "function", "can", "be", "found", "."], "TS_V_token": ["csky", "0"], "File": "csky", "Func": "csky_return_addr", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16616, "Length": 29, "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", "&&", "(", "(", "(", "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": "rs60004", "Func": "rs6000_secondary_reload_class", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16617, "Length": 345, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86TargetMachine", "::", "X86TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "is64Bit", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ")", ",", "Subtarget", "(", "TT", ",", "FS", ",", "is64Bit", ")", ",", "DataLayout", "(", "Subtarget", ".", "getDataLayout", "(", ")", ")", ",", "FrameInfo", "(", "TargetFrameInfo", "::", "StackGrowsDown", ",", "Subtarget", ".", "getStackAlignment", "(", ")", ",", "(", "Subtarget", ".", "isTargetWin64", "(", ")", "?", "-", "40", ":", "(", "Subtarget", ".", "is64Bit", "(", ")", "?", "-", "8", ":", "-", "4", ")", ")", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "JITInfo", "(", "*", "this", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "ELFWriterInfo", "(", "*", "this", ")", "{", "DefRelocModel", "=", "getRelocationModel", "(", ")", ";", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Default", ")", "{", "if", "(", "!", "Subtarget", ".", "isTargetDarwin", "(", ")", ")", "setRelocationModel", "(", "Reloc", "::", "Static", ")", ";", "else", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "setRelocationModel", "(", "Reloc", "::", "PIC_", ")", ";", "else", "setRelocationModel", "(", "Reloc", "::", "DynamicNoPIC", ")", ";", "}", "assert", "(", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Default", "&&", "\"Relocation mode not picked\"", ")", ";", "if", "(", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Default", ")", "setCodeModel", "(", "CodeModel", "::", "Small", ")", ";", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "DynamicNoPIC", ")", "{", "if", "(", "is64Bit", ")", "setRelocationModel", "(", "Reloc", "::", "PIC_", ")", ";", "else", "if", "(", "!", "Subtarget", ".", "isTargetDarwin", "(", ")", ")", "setRelocationModel", "(", "Reloc", "::", "Static", ")", ";", "}", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", "&&", "Subtarget", ".", "isTargetDarwin", "(", ")", "&&", "is64Bit", ")", "setRelocationModel", "(", "Reloc", "::", "PIC_", ")", ";", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "isTargetCygMing", "(", ")", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "RIPRel", ")", ";", "else", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "StubPIC", ")", ";", "else", "{", "assert", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "DynamicNoPIC", ")", ";", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "StubDynamicNoPIC", ")", ";", "}", "}", "else", "if", "(", "Subtarget", ".", "isTargetELF", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "RIPRel", ")", ";", "else", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "GOT", ")", ";", "}", "if", "(", "Subtarget", ".", "getPICStyle", "(", ")", "==", "PICStyles", "::", "None", ")", "setRelocationModel", "(", "Reloc", "::", "Static", ")", ";", "}", ""], "natrual_language": ["Create", "an", "X86", "target", "."], "TS_V_token": ["X86", "X86", "X86", "40", "8", "4", "\"Relocation mode not picked\""], "File": "X86TargetMachine52", "Func": "X86TargetMachine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16618, "Length": 437, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_match_ccmode", "(", "rtx", "insn", ",", "machine_mode", "req_mode", ")", "{", "rtx", "set", ";", "machine_mode", "set_mode", ";", "set", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "set", ")", "==", "PARALLEL", ")", "set", "=", "XVECEXP", "(", "set", ",", "0", ",", "0", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "set", ")", "==", "SET", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "SET_SRC", "(", "set", ")", ")", "==", "COMPARE", ")", ";", "set_mode", "=", "GET_MODE", "(", "SET_DEST", "(", "set", ")", ")", ";", "switch", "(", "set_mode", ")", "{", "case", "E_CCNOmode", ":", "if", "(", "req_mode", "!=", "CCNOmode", "&&", "(", "req_mode", "!=", "CCmode", "||", "XEXP", "(", "SET_SRC", "(", "set", ")", ",", "1", ")", "!=", "const0_rtx", ")", ")", "return", "false", ";", "break", ";", "case", "E_CCmode", ":", "if", "(", "req_mode", "==", "CCGCmode", ")", "return", "false", ";", "case", "E_CCGCmode", ":", "if", "(", "req_mode", "==", "CCGOCmode", "||", "req_mode", "==", "CCNOmode", ")", "return", "false", ";", "case", "E_CCGOCmode", ":", "if", "(", "req_mode", "==", "CCZmode", ")", "return", "false", ";", "case", "E_CCZmode", ":", "break", ";", "case", "E_CCGZmode", ":", "case", "E_CCAmode", ":", "case", "E_CCCmode", ":", "case", "E_CCOmode", ":", "case", "E_CCPmode", ":", "case", "E_CCSmode", ":", "if", "(", "set_mode", "!=", "req_mode", ")", "return", "false", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "GET_MODE", "(", "SET_SRC", "(", "set", ")", ")", "==", "set_mode", ";", "}", ""], "natrual_language": ["Return", "TRUE", "or", "FALSE", "depending", "on", "whether", "the", "first", "SET", "in", "INSN", "has", "source", "and", "destination", "with", "matching", "CC", "modes", ",", "and", "that", "the", "CC", "mode", "is", "at", "least", "as", "constrained", "as", "REQ_MODE", "."], "TS_V_token": ["i386", "0", "0", "1"], "File": "i386", "Func": "ix86_match_ccmode", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16619, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_lbranch", "(", "rtx", "dest", ",", "rtx", "insn", ")", "{", "rtx", "xoperands", "[", "2", "]", ";", "xoperands", "[", "0", "]", "=", "dest", ";", "if", "(", "dbr_sequence_length", "(", ")", "!=", "0", ")", "{", "gcc_assert", "(", "GET_CODE", "(", "NEXT_INSN", "(", "insn", ")", ")", "!=", "JUMP_INSN", ")", ";", "final_scan_insn", "(", "NEXT_INSN", "(", "insn", ")", ",", "asm_out_file", ",", "optimize", ",", "0", ",", "NULL", ")", ";", "PUT_CODE", "(", "NEXT_INSN", "(", "insn", ")", ",", "NOTE", ")", ";", "NOTE_LINE_NUMBER", "(", "NEXT_INSN", "(", "insn", ")", ")", "=", "NOTE_INSN_DELETED", ";", "NOTE_SOURCE_FILE", "(", "NEXT_INSN", "(", "insn", ")", ")", "=", "0", ";", "}", "if", "(", "TARGET_64BIT", ")", "{", "if", "(", "actual_fsize", "==", "0", "&&", "!", "regs_ever_live", "[", "2", "]", ")", "output_asm_insn", "(", "\"std %%r1,-16(%%r30)\"", ",", "xoperands", ")", ";", "else", "output_asm_insn", "(", "\"std %%r1,-40(%%r30)\"", ",", "xoperands", ")", ";", "}", "else", "{", "if", "(", "actual_fsize", "==", "0", "&&", "!", "regs_ever_live", "[", "2", "]", ")", "output_asm_insn", "(", "\"stw %%r1,-20(%%r30)\"", ",", "xoperands", ")", ";", "else", "output_asm_insn", "(", "\"stw %%r1,-12(%%r30)\"", ",", "xoperands", ")", ";", "}", "if", "(", "TARGET_PORTABLE_RUNTIME", ")", "{", "output_asm_insn", "(", "\"ldil L'%0,%%r1\"", ",", "xoperands", ")", ";", "output_asm_insn", "(", "\"ldo R'%0(%%r1),%%r1\"", ",", "xoperands", ")", ";", "output_asm_insn", "(", "\"bv %%r0(%%r1)\"", ",", "xoperands", ")", ";", "}", "else", "if", "(", "flag_pic", ")", "{", "output_asm_insn", "(", "\"{bl|b,l} .+8,%%r1\"", ",", "xoperands", ")", ";", "if", "(", "TARGET_SOM", "||", "!", "TARGET_GAS", ")", "{", "xoperands", "[", "1", "]", "=", "gen_label_rtx", "(", ")", ";", "output_asm_insn", "(", "\"addil L'%l0-%l1,%%r1\"", ",", "xoperands", ")", ";", "(", "*", "targetm", ".", "asm_out", ".", "internal_label", ")", "(", "asm_out_file", ",", "\"L\"", ",", "CODE_LABEL_NUMBER", "(", "xoperands", "[", "1", "]", ")", ")", ";", "output_asm_insn", "(", "\"ldo R'%l0-%l1(%%r1),%%r1\"", ",", "xoperands", ")", ";", "}", "else", "{", "output_asm_insn", "(", "\"addil L'%l0-$PIC_pcrel$0+4,%%r1\"", ",", "xoperands", ")", ";", "output_asm_insn", "(", "\"ldo R'%l0-$PIC_pcrel$0+8(%%r1),%%r1\"", ",", "xoperands", ")", ";", "}", "output_asm_insn", "(", "\"bv %%r0(%%r1)\"", ",", "xoperands", ")", ";", "}", "else", "output_asm_insn", "(", "\"ldil L'%l0,%%r1\\n\\tbe R'%l0(%%sr4,%%r1)\"", ",", "xoperands", ")", ";", "if", "(", "TARGET_64BIT", ")", "{", "if", "(", "actual_fsize", "==", "0", "&&", "!", "regs_ever_live", "[", "2", "]", ")", "return", "\"ldd -16(%%r30),%%r1\"", ";", "else", "return", "\"ldd -40(%%r30),%%r1\"", ";", "}", "else", "{", "if", "(", "actual_fsize", "==", "0", "&&", "!", "regs_ever_live", "[", "2", "]", ")", "return", "\"ldw -20(%%r30),%%r1\"", ";", "else", "return", "\"ldw -12(%%r30),%%r1\"", ";", "}", "}", ""], "natrual_language": ["This", "routine", "handles", "long", "unconditional", "branches", "that", "exceed", "the", "maximum", "range", "of", "a", "simple", "branch", "instruction", "."], "TS_V_token": ["pa", "2", "0", "0", "0", "0", "0", "2", "\"std %%r1,-16(%%r30)\"", "\"std %%r1,-40(%%r30)\"", "0", "2", "\"stw %%r1,-20(%%r30)\"", "\"stw %%r1,-12(%%r30)\"", "\"ldil L'%0,%%r1\"", "\"ldo R'%0(%%r1),%%r1\"", "\"bv %%r0(%%r1)\"", "\"{bl|b,l} .+8,%%r1\"", "1", "\"addil L'%l0-%l1,%%r1\"", "\"L\"", "1", "\"ldo R'%l0-%l1(%%r1),%%r1\"", "\"addil L'%l0-$PIC_pcrel$0+4,%%r1\"", "\"ldo R'%l0-$PIC_pcrel$0+8(%%r1),%%r1\"", "\"bv %%r0(%%r1)\"", "\"ldil L'%l0,%%r1\\n\\tbe R'%l0(%%sr4,%%r1)\"", "0", "2", "\"ldd -16(%%r30),%%r1\"", "\"ldd -40(%%r30),%%r1\"", "0", "2", "\"ldw -20(%%r30),%%r1\"", "\"ldw -12(%%r30),%%r1\""], "File": "pa3", "Func": "output_lbranch", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16620, "Length": 332, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "SparcTargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", ",", "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": ["Sparc", "Sparc", "MVT::i32"], "File": "SparcISelLowering (2)2", "Func": "getSetCCResultType", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16621, "Length": 39, "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": ["Cpu0"], "File": "Cpu0MCExpr", "Func": "classof", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16622, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mep_convert_arg", "(", "machine_mode", "mode", ",", "rtx", "arg", ")", "{", "if", "(", "GET_MODE", "(", "arg", ")", "!=", "mode", "&&", "register_operand", "(", "arg", ",", "VOIDmode", ")", "&&", "GET_MODE_SIZE", "(", "GET_MODE", "(", "arg", ")", ")", "==", "GET_MODE_SIZE", "(", "mode", ")", ")", "return", "simplify_gen_subreg", "(", "mode", ",", "arg", ",", "GET_MODE", "(", "arg", ")", ",", "0", ")", ";", "return", "arg", ";", "}", ""], "natrual_language": ["If", "ARG", "is", "a", "register", "operand", "that", "is", "the", "same", "size", "as", "MODE", ",", "convert", "it", "to", "MODE", "using", "a", "subreg", ".", "Otherwise", "return", "ARG", "as-is", "."], "TS_V_token": ["mep", "0"], "File": "mep", "Func": "mep_convert_arg", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16623, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_output_function_prologue", "(", "FILE", "*", "file", ")", "{", "if", "(", "!", "cfun", "->", "is_thunk", ")", "rs6000_output_savres_externs", "(", "file", ")", ";", "if", "(", "rs6000_global_entry_point_needed_p", "(", ")", ")", "{", "const", "char", "*", "name", "=", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "current_function_decl", ")", ",", "0", ")", ",", "0", ")", ";", "(", "*", "targetm", ".", "asm_out", ".", "internal_label", ")", "(", "file", ",", "\"LCF\"", ",", "rs6000_pic_labelno", ")", ";", "if", "(", "TARGET_CMODEL", "!=", "CMODEL_LARGE", ")", "{", "char", "buf", "[", "256", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "buf", ",", "\"LCF\"", ",", "rs6000_pic_labelno", ")", ";", "fprintf", "(", "file", ",", "\"0:\\taddis 2,12,.TOC.-\"", ")", ";", "assemble_name", "(", "file", ",", "buf", ")", ";", "fprintf", "(", "file", ",", "\"@ha\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\taddi 2,2,.TOC.-\"", ")", ";", "assemble_name", "(", "file", ",", "buf", ")", ";", "fprintf", "(", "file", ",", "\"@l\\n\"", ")", ";", "}", "else", "{", "char", "buf", "[", "256", "]", ";", "fprintf", "(", "file", ",", "\"\\t.reloc .,R_PPC64_ENTRY\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\tld 2,\"", ")", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "buf", ",", "\"LCL\"", ",", "rs6000_pic_labelno", ")", ";", "assemble_name", "(", "file", ",", "buf", ")", ";", "fprintf", "(", "file", ",", "\"-\"", ")", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "buf", ",", "\"LCF\"", ",", "rs6000_pic_labelno", ")", ";", "assemble_name", "(", "file", ",", "buf", ")", ";", "fprintf", "(", "file", ",", "\"(12)\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\tadd 2,2,12\\n\"", ")", ";", "}", "fputs", "(", "\"\\t.localentry\\t\"", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "name", ")", ";", "fputs", "(", "\",.-\"", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "name", ")", ";", "fputs", "(", "\"\\n\"", ",", "file", ")", ";", "}", "if", "(", "TARGET_PROFILE_KERNEL", "&&", "crtl", "->", "profile", ")", "{", "gcc_assert", "(", "DEFAULT_ABI", "==", "ABI_AIX", "||", "DEFAULT_ABI", "==", "ABI_ELFv2", ")", ";", "gcc_assert", "(", "!", "TARGET_32BIT", ")", ";", "asm_fprintf", "(", "file", ",", "\"\\tmflr %s\\n\"", ",", "reg_names", "[", "0", "]", ")", ";", "if", "(", "DEFAULT_ABI", "!=", "ABI_ELFv2", "&&", "cfun", "->", "static_chain_decl", "!=", "NULL", ")", "{", "asm_fprintf", "(", "file", ",", "\"\\tstd %s,24(%s)\\n\"", ",", "reg_names", "[", "STATIC_CHAIN_REGNUM", "]", ",", "reg_names", "[", "1", "]", ")", ";", "fprintf", "(", "file", ",", "\"\\tbl %s\\n\"", ",", "RS6000_MCOUNT", ")", ";", "asm_fprintf", "(", "file", ",", "\"\\tld %s,24(%s)\\n\"", ",", "reg_names", "[", "STATIC_CHAIN_REGNUM", "]", ",", "reg_names", "[", "1", "]", ")", ";", "}", "else", "fprintf", "(", "file", ",", "\"\\tbl %s\\n\"", ",", "RS6000_MCOUNT", ")", ";", "}", "rs6000_pic_labelno", "++", ";", "}", ""], "natrual_language": ["Write", "function", "prologue", "."], "TS_V_token": ["powerpcspe", "0", "0", "\"LCF\"", "256", "\"LCF\"", "\"0:\\taddis 2,12,.TOC.-\"", "\"@ha\\n\"", "\"\\taddi 2,2,.TOC.-\"", "\"@l\\n\"", "256", "\"\\t.reloc .,R_PPC64_ENTRY\\n\"", "\"\\tld 2,\"", "\"LCL\"", "\"-\"", "\"LCF\"", "\"(12)\\n\"", "\"\\tadd 2,2,12\\n\"", "\"\\t.localentry\\t\"", "\",.-\"", "\"\\n\"", "\"\\tmflr %s\\n\"", "0", "\"\\tstd %s,24(%s)\\n\"", "1", "\"\\tbl %s\\n\"", "\"\\tld %s,24(%s)\\n\"", "1", "\"\\tbl %s\\n\""], "File": "powerpcspe", "Func": "rs6000_output_function_prologue", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16624, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_needs_doubleword_align", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "return", "(", "GET_MODE_ALIGNMENT", "(", "mode", ")", ">", "PARM_BOUNDARY", "||", "(", "type", "&&", "TYPE_ALIGN", "(", "type", ")", ">", "PARM_BOUNDARY", ")", ")", ";", "}", ""], "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"], "File": "arm4", "Func": "arm_needs_doubleword_align", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16625, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "if", "(", "IDVal", "==", "\".word\"", ")", "return", "ParseDirectiveWord", "(", "2", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", ".", "startswith", "(", "\".code\"", ")", ")", "return", "ParseDirectiveCode", "(", "IDVal", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", ".", "startswith", "(", "\".intel_syntax\"", ")", ")", "{", "getParser", "(", ")", ".", "setAssemblerDialect", "(", "1", ")", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "getString", "(", ")", "==", "\"noprefix\"", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "}", "else", "return", "true", ";", "}", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["X86", "X86", "\".word\"", "2", "\".code\"", "\".intel_syntax\"", "1", "\"noprefix\""], "File": "X86AsmParser124", "Func": "ParseDirective", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16626, "Length": 127, "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": 16627, "Length": 215, "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", "(", "SUBREG_P", "(", "reg", ")", ")", "reg", "=", "SUBREG_REG", "(", "reg", ")", ";", "if", "(", "!", "REG_P", "(", "reg", ")", ")", "return", "NO_REG_TYPE", ";", "regno", "=", "REGNO", "(", "reg", ")", ";", "if", "(", "!", "HARD_REGISTER_NUM_P", "(", "regno", ")", ")", "{", "if", "(", "!", "lra_in_progress", "&&", "!", "reload_completed", ")", "return", "PSEUDO_REG_TYPE", ";", "regno", "=", "true_regnum", "(", "reg", ")", ";", "if", "(", "regno", "<", "0", "||", "!", "HARD_REGISTER_NUM_P", "(", "regno", ")", ")", "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": "rs6000", "Func": "register_to_reg_type", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16628, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "direction", "function_arg_padding", "(", "enum", "machine_mode", "mode", ",", "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": "rs60003", "Func": "function_arg_padding", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16629, "Length": 116, "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": 16630, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "includes_rshift_p", "(", "rtx", "shiftop", ",", "rtx", "andop", ")", "{", "unsigned", "HOST_WIDE_INT", "shift_mask", "=", "~", "(", "unsigned", "HOST_WIDE_INT", ")", "0", ";", "shift_mask", ">>=", "INTVAL", "(", "shiftop", ")", ";", "return", "(", "INTVAL", "(", "andop", ")", "&", "0xffffffff", "&", "~", "shift_mask", ")", "==", "0", ";", "}", ""], "natrual_language": ["Similar", ",", "but", "for", "right", "shift", "."], "TS_V_token": ["rs6000", "0", "0xffffffff", "0"], "File": "rs60003", "Func": "includes_rshift_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16631, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "pa_output_mod_insn", "(", "int", "unsignedp", ",", "rtx_insn", "*", "insn", ")", "{", "if", "(", "unsignedp", ")", "{", "import_milli", "(", "remU", ")", ";", "return", "pa_output_millicode_call", "(", "insn", ",", "gen_rtx_SYMBOL_REF", "(", "SImode", ",", "\"$$remU\"", ")", ")", ";", "}", "else", "{", "import_milli", "(", "remI", ")", ";", "return", "pa_output_millicode_call", "(", "insn", ",", "gen_rtx_SYMBOL_REF", "(", "SImode", ",", "\"$$remI\"", ")", ")", ";", "}", "}", ""], "natrual_language": ["Output", "a", "$", "$", "rem", "millicode", "to", "do", "mod", "."], "TS_V_token": ["pa", "\"$$remU\"", "\"$$remI\""], "File": "pa", "Func": "pa_output_mod_insn", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16632, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsLongBranch", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "if", "(", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "&&", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "isABI_O32", "(", ")", "&&", "F", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", "->", "globalBaseRegSet", "(", ")", ")", "emitGPDisp", "(", "F", ",", "TII", ")", ";", "if", "(", "SkipLongBranch", ")", "return", "true", ";", "MF", "=", "&", "F", ";", "initMBBInfo", "(", ")", ";", "SmallVector", "<", "MBBInfo", ",", "16", ">", "::", "iterator", "I", ",", "E", "=", "MBBInfos", ".", "end", "(", ")", ";", "bool", "EverMadeChange", "=", "false", ",", "MadeChange", "=", "true", ";", "while", "(", "MadeChange", ")", "{", "MadeChange", "=", "false", ";", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "!", "I", "->", "Br", "||", "I", "->", "HasLongBranch", ")", "continue", ";", "if", "(", "!", "ForceLongBranch", "&&", "isInt", "<", "16", ">", "(", "computeOffset", "(", "I", "->", "Br", ")", "/", "4", ")", ")", "continue", ";", "I", "->", "HasLongBranch", "=", "true", ";", "I", "->", "Size", "+=", "LongBranchSeqSize", "*", "4", ";", "++", "LongBranches", ";", "EverMadeChange", "=", "MadeChange", "=", "true", ";", "}", "}", "if", "(", "!", "EverMadeChange", ")", "return", "true", ";", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "{", "uint64_t", "Address", "=", "0", ";", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "Address", "+=", "I", "->", "Size", ",", "++", "I", ")", "I", "->", "Address", "=", "Address", ";", "}", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "if", "(", "I", "->", "HasLongBranch", ")", "expandToLongBranch", "(", "*", "I", ")", ";", "MF", "->", "RenumberBlocks", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "16", "16", "4", "4", "0"], "File": "MipsLongBranch18", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16633, "Length": 282, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SparcInstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcSubtarget (2)", "Func": "getInstrInfo", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16634, "Length": 14, "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": ["Lanai"], "File": "LanaiTargetMachine", "Func": "getObjFileLowering", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16635, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "'%'", "<<", "StringRef", "(", "getRegisterName", "(", "RegNo", ")", ")", ".", "lower", "(", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcInstPrinter", "Func": "printRegName", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16636, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsELFStreamer", "::", "emitInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "MCELFStreamer", "::", "emitInstruction", "(", "Inst", ",", "STI", ")", ";", "MCContext", "&", "Context", "=", "getContext", "(", ")", ";", "const", "MCRegisterInfo", "*", "MCRegInfo", "=", "Context", ".", "getRegisterInfo", "(", ")", ";", "for", "(", "unsigned", "OpIndex", "=", "0", ";", "OpIndex", "<", "Inst", ".", "getNumOperands", "(", ")", ";", "++", "OpIndex", ")", "{", "const", "MCOperand", "&", "Op", "=", "Inst", ".", "getOperand", "(", "OpIndex", ")", ";", "if", "(", "!", "Op", ".", "isReg", "(", ")", ")", "continue", ";", "unsigned", "Reg", "=", "Op", ".", "getReg", "(", ")", ";", "RegInfoRecord", "->", "SetPhysRegUsed", "(", "Reg", ",", "MCRegInfo", ")", ";", "}", "createPendingLabelRelocs", "(", ")", ";", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["Mips", "Mips", "0"], "File": "MipsELFStreamer19", "Func": "emitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16637, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_adjust_counter", "(", "rtx", "countreg", ",", "HOST_WIDE_INT", "value", ")", "{", "rtx", "(", "*", "gen_add", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", "=", "GET_MODE", "(", "countreg", ")", "==", "DImode", "?", "gen_adddi3", ":", "gen_addsi3", ";", "emit_insn", "(", "gen_add", "(", "countreg", ",", "countreg", ",", "GEN_INT", "(", "-", "value", ")", ")", ")", ";", "}", ""], "natrual_language": ["Adjust", "COUNTER", "by", "the", "VALUE", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_adjust_counter", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16638, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "useStackGuardXorFP", "(", ")", "const", "{", "return", "Subtarget", ".", "getTargetTriple", "(", ")", ".", "isOSMSVCRT", "(", ")", "&&", "!", "Subtarget", ".", "isTargetMachO", "(", ")", ";", "}", ""], "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)5", "Func": "useStackGuardXorFP", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16639, "Length": 27, "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", "'z'", ":", "return", "C_Other", ";", "case", "'x'", ":", "case", "'w'", ":", "return", "C_RegisterClass", ";", "case", "'Q'", ":", "return", "C_Memory", ";", "case", "'S'", ":", "return", "C_Other", ";", "}", "}", "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", "Func": "getConstraintType", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16640, "Length": 73, "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", ")", ")", "{", "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": "rs60005", "Func": "rs6000_arg_partial_bytes", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16641, "Length": 352, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZMCAsmBackend", "::", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "{", "unsigned", "Opcode", "=", "getRelaxedOpcode", "(", "Inst", ".", "getOpcode", "(", ")", ")", ";", "assert", "(", "Opcode", "&&", "\"Unexpected insn to relax\"", ")", ";", "Res", "=", "Inst", ";", "Res", ".", "setOpcode", "(", "Opcode", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"Unexpected insn to relax\""], "File": "SystemZMCAsmBackend28", "Func": "relaxInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16642, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LEGTargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InGlue", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "SDLoc", "&", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "assert", "(", "!", "isVarArg", "&&", "\"Unsupported\"", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_LEG", ")", ";", "for", "(", "auto", "&", "Loc", ":", "RVLocs", ")", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "Loc", ".", "getLocReg", "(", ")", ",", "Loc", ".", "getValVT", "(", ")", ",", "InGlue", ")", ".", "getValue", "(", "1", ")", ";", "InGlue", "=", "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": ["LEG", "LEG", "ISD::InputArg", "\"Unsupported\"", "16", "LEG", "1", "2", "0"], "File": "LEGISelLowering", "Func": "LowerCallResult", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16643, "Length": 159, "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": 16644, "Length": 16, "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": 16645, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZHazardRecognizer", "::", "emitInstruction", "(", "MachineInstr", "*", "MI", ",", "bool", "TakenBranch", ")", "{", "SUnit", "SU", "(", "MI", ",", "0", ")", ";", "SU", ".", "isCall", "=", "MI", "->", "isCall", "(", ")", ";", "const", "MCSchedClassDesc", "*", "SC", "=", "SchedModel", "->", "resolveSchedClass", "(", "MI", ")", ";", "for", "(", "const", "MCWriteProcResEntry", "&", "PRE", ":", "make_range", "(", "SchedModel", "->", "getWriteProcResBegin", "(", "SC", ")", ",", "SchedModel", "->", "getWriteProcResEnd", "(", "SC", ")", ")", ")", "{", "switch", "(", "SchedModel", "->", "getProcResource", "(", "PRE", ".", "ProcResourceIdx", ")", "->", "BufferSize", ")", "{", "case", "0", ":", "SU", ".", "hasReservedResource", "=", "true", ";", "break", ";", "case", "1", ":", "SU", ".", "isUnbuffered", "=", "true", ";", "break", ";", "default", ":", "break", ";", "}", "}", "EmitInstruction", "(", "&", "SU", ")", ";", "if", "(", "TakenBranch", "&&", "CurrGroupSize", ">", "0", ")", "nextGroup", "(", "false", ")", ";", "assert", "(", "(", "!", "MI", "->", "isTerminator", "(", ")", "||", "isBranchRetTrap", "(", "MI", ")", ")", "&&", "\"Scheduler: unhandled terminator!\"", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "0", "1", "0", "\"Scheduler: unhandled terminator!\""], "File": "SystemZHazardRecognizer1", "Func": "EmitInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16646, "Length": 149, "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": 16647, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "arm_builtin_decl", "(", "unsigned", "code", ",", "bool", "initialize_p", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "code", ">=", "ARM_BUILTIN_MAX", ")", "return", "error_mark_node", ";", "return", "arm_builtin_decls", "[", "code", "]", ";", "}", ""], "natrual_language": ["Return", "the", "ARM", "builtin", "for", "CODE", "."], "TS_V_token": ["arm"], "File": "arm-builtins", "Func": "arm_builtin_decl", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16648, "Length": 27, "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": 16649, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "loongarch_pass_fpr_pair", "(", "machine_mode", "mode", ",", "unsigned", "regno1", ",", "machine_mode", "mode1", ",", "HOST_WIDE_INT", "offset1", ",", "unsigned", "regno2", ",", "machine_mode", "mode2", ",", "HOST_WIDE_INT", "offset2", ")", "{", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec", "(", "2", ",", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "mode1", ",", "regno1", ")", ",", "GEN_INT", "(", "offset1", ")", ")", ",", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "mode2", ",", "regno2", ")", ",", "GEN_INT", "(", "offset2", ")", ")", ")", ")", ";", "}", ""], "natrual_language": ["Pass", "or", "return", "a", "composite", "value", "in", "the", "FPR", "pair", "REGNO", "and", "REGNO", "+", "1", ".", "MODE", "is", "the", "mode", "of", "the", "composite", ".", "MODE1", "and", "OFFSET1", "are", "the", "mode", "and", "byte", "offset", "for", "the", "first", "value", ",", "likewise", "MODE2", "and", "OFFSET2", "for", "the", "second", "value", "."], "TS_V_token": ["loongarch", "2"], "File": "loongarch", "Func": "loongarch_pass_fpr_pair", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16650, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "reg_or_0_operand", "(", "rtx", "op", ",", "enum", "machine_mode", "mode", ")", "{", "switch", "(", "GET_CODE", "(", "op", ")", ")", "{", "case", "CONST_INT", ":", "return", "INTVAL", "(", "op", ")", "==", "0", ";", "case", "REG", ":", "case", "SUBREG", ":", "return", "register_operand", "(", "op", ",", "mode", ")", ";", "default", ":", "break", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "is", "either", "a", "register", "or", "0"], "TS_V_token": ["mt", "0", "0"], "File": "mt", "Func": "reg_or_0_operand", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16651, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "Register", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "assert", "(", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectSize", "(", "FrameIdx", ")", ">=", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", "&&", "\"Stack slot too small for store\"", ")", ";", "unsigned", "Alignment", "=", "std", "::", "max", "<", "uint32_t", ">", "(", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", ",", "16", ")", ";", "bool", "isAligned", "=", "(", "Subtarget", ".", "getFrameLowering", "(", ")", "->", "getStackAlignment", "(", ")", ">=", "Alignment", ")", "||", "RI", ".", "canRealignStack", "(", "MF", ")", ";", "unsigned", "Opc", "=", "getStoreRegOpcode", "(", "SrcReg", ",", "RC", ",", "isAligned", ",", "Subtarget", ")", ";", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "MI", ",", "DebugLoc", "(", ")", ",", "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\"", "16"], "File": "X86InstrInfo106", "Func": "storeRegToStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16652, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "override", "{", "uint64_t", "NumNops", "=", "Count", "/", "4", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "!=", "NumNops", ";", "++", "i", ")", "OW", "->", "write32", "(", "0x60000000", ")", ";", "OW", "->", "WriteZeros", "(", "Count", "%", "4", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["PowerPC", "4", "0", "0x60000000", "4"], "File": "PPCAsmBackend11", "Func": "writeNopData", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16653, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_fp_absneg_operator", "(", "enum", "rtx_code", "code", ",", "enum", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ")", "{", "rtx", "mask", ",", "set", ",", "use", ",", "clob", ",", "dst", ",", "src", ";", "bool", "matching_memory", ";", "bool", "use_sse", "=", "false", ";", "bool", "vector_mode", "=", "VECTOR_MODE_P", "(", "mode", ")", ";", "enum", "machine_mode", "elt_mode", "=", "mode", ";", "if", "(", "vector_mode", ")", "{", "elt_mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "use_sse", "=", "true", ";", "}", "else", "if", "(", "TARGET_SSE_MATH", ")", "use_sse", "=", "SSE_FLOAT_MODE_P", "(", "mode", ")", ";", "if", "(", "use_sse", ")", "mask", "=", "ix86_build_signbit_mask", "(", "elt_mode", ",", "vector_mode", ",", "code", "==", "ABS", ")", ";", "else", "{", "mask", "=", "const0_rtx", ";", "}", "dst", "=", "operands", "[", "0", "]", ";", "src", "=", "operands", "[", "1", "]", ";", "matching_memory", "=", "false", ";", "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", ")", ";", "if", "(", "vector_mode", ")", "{", "set", "=", "gen_rtx_fmt_ee", "(", "code", "==", "NEG", "?", "XOR", ":", "AND", ",", "mode", ",", "src", ",", "mask", ")", ";", "set", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "dst", ",", "set", ")", ";", "emit_insn", "(", "set", ")", ";", "}", "else", "{", "set", "=", "gen_rtx_fmt_e", "(", "code", ",", "mode", ",", "src", ")", ";", "set", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "dst", ",", "set", ")", ";", "use", "=", "gen_rtx_USE", "(", "VOIDmode", ",", "mask", ")", ";", "clob", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "CCmode", ",", "FLAGS_REG", ")", ")", ";", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "3", ",", "set", ",", "use", ",", "clob", ")", ")", ")", ";", "}", "if", "(", "dst", "!=", "operands", "[", "0", "]", ")", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "dst", ")", ";", "}", ""], "natrual_language": ["Generate", "code", "for", "floating", "point", "ABS", "or", "NEG", "."], "TS_V_token": ["i386", "0", "1", "3", "0", "0"], "File": "i3863", "Func": "ix86_expand_fp_absneg_operator", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16654, "Length": 300, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "xstormy16_preferred_reload_class", "(", "rtx", "x", ",", "reg_class_t", "rclass", ")", "{", "if", "(", "rclass", "==", "GENERAL_REGS", "&&", "MEM_P", "(", "x", ")", ")", "return", "EIGHT_REGS", ";", "return", "rclass", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_PREFERRED_RELOAD_CLASS", "and", "TARGET_PREFERRED_OUTPUT_RELOAD_CLASS", "."], "TS_V_token": ["stormy16"], "File": "stormy164", "Func": "xstormy16_preferred_reload_class", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16655, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "init_cumulative_args", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "tree", "fntype", ",", "rtx", "libname", ",", "tree", "fndecl", ",", "int", "caller", ")", "{", "struct", "cgraph_local_info", "*", "i", "=", "NULL", ";", "struct", "cgraph_node", "*", "target", "=", "NULL", ";", "memset", "(", "cum", ",", "0", ",", "sizeof", "(", "*", "cum", ")", ")", ";", "if", "(", "fndecl", ")", "{", "target", "=", "cgraph_node", "::", "get", "(", "fndecl", ")", ";", "if", "(", "target", ")", "{", "target", "=", "target", "->", "function_symbol", "(", ")", ";", "i", "=", "cgraph_node", "::", "local_info", "(", "target", "->", "decl", ")", ";", "cum", "->", "call_abi", "=", "ix86_function_abi", "(", "target", "->", "decl", ")", ";", "}", "else", "cum", "->", "call_abi", "=", "ix86_function_abi", "(", "fndecl", ")", ";", "}", "else", "cum", "->", "call_abi", "=", "ix86_function_type_abi", "(", "fntype", ")", ";", "cum", "->", "caller", "=", "caller", ";", "cum", "->", "nregs", "=", "ix86_regparm", ";", "if", "(", "TARGET_64BIT", ")", "{", "cum", "->", "nregs", "=", "(", "cum", "->", "call_abi", "==", "SYSV_ABI", "?", "X86_64_REGPARM_MAX", ":", "X86_64_MS_REGPARM_MAX", ")", ";", "}", "if", "(", "TARGET_SSE", ")", "{", "cum", "->", "sse_nregs", "=", "SSE_REGPARM_MAX", ";", "if", "(", "TARGET_64BIT", ")", "{", "cum", "->", "sse_nregs", "=", "(", "cum", "->", "call_abi", "==", "SYSV_ABI", "?", "X86_64_SSE_REGPARM_MAX", ":", "X86_64_MS_SSE_REGPARM_MAX", ")", ";", "}", "}", "if", "(", "TARGET_MMX", ")", "cum", "->", "mmx_nregs", "=", "MMX_REGPARM_MAX", ";", "cum", "->", "warn_avx512f", "=", "true", ";", "cum", "->", "warn_avx", "=", "true", ";", "cum", "->", "warn_sse", "=", "true", ";", "cum", "->", "warn_mmx", "=", "true", ";", "if", "(", "i", "&&", "i", "->", "local", "&&", "i", "->", "can_change_signature", ")", "fntype", "=", "TREE_TYPE", "(", "target", "->", "decl", ")", ";", "cum", "->", "stdarg", "=", "stdarg_p", "(", "fntype", ")", ";", "cum", "->", "maybe_vaarg", "=", "(", "fntype", "?", "(", "!", "prototype_p", "(", "fntype", ")", "||", "stdarg_p", "(", "fntype", ")", ")", ":", "!", "libname", ")", ";", "cum", "->", "bnd_regno", "=", "FIRST_BND_REG", ";", "cum", "->", "bnds_in_bt", "=", "0", ";", "cum", "->", "force_bnd_pass", "=", "0", ";", "if", "(", "!", "TARGET_64BIT", ")", "{", "if", "(", "stdarg_p", "(", "fntype", ")", ")", "{", "cum", "->", "nregs", "=", "0", ";", "cum", "->", "sse_nregs", "=", "0", ";", "cum", "->", "mmx_nregs", "=", "0", ";", "cum", "->", "warn_avx512f", "=", "false", ";", "cum", "->", "warn_avx", "=", "false", ";", "cum", "->", "warn_sse", "=", "false", ";", "cum", "->", "warn_mmx", "=", "false", ";", "return", ";", "}", "if", "(", "fntype", ")", "{", "unsigned", "int", "ccvt", "=", "ix86_get_callcvt", "(", "fntype", ")", ";", "if", "(", "(", "ccvt", "&", "IX86_CALLCVT_THISCALL", ")", "!=", "0", ")", "{", "cum", "->", "nregs", "=", "1", ";", "cum", "->", "fastcall", "=", "1", ";", "}", "else", "if", "(", "(", "ccvt", "&", "IX86_CALLCVT_FASTCALL", ")", "!=", "0", ")", "{", "cum", "->", "nregs", "=", "2", ";", "cum", "->", "fastcall", "=", "1", ";", "}", "else", "cum", "->", "nregs", "=", "ix86_function_regparm", "(", "fntype", ",", "fndecl", ")", ";", "}", "cum", "->", "float_in_sse", "=", "ix86_function_sseregparm", "(", "fntype", ",", "fndecl", ",", "true", ")", ";", "}", "}", ""], "natrual_language": ["Handle", "the", "INIT_CUMULATIVE_ARGS", "macro", ".", "Initialize", "a", "variable", "CUM", "of", "type", "CUMULATIVE_ARGS", "for", "a", "call", "to", "a", "function", "whose", "data", "type", "is", "FNTYPE", ".", "For", "a", "library", "call", ",", "FNTYPE", "is", "0", "."], "TS_V_token": ["i386", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "2", "1"], "File": "i3864", "Func": "init_cumulative_args", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16656, "Length": 442, "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": 16657, "Length": 53, "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", ")", ";", "if", "(", "!", "IgnoreSPUpdates", "&&", "!", "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": "X86FrameLowering10", "Func": "getFrameIndexReferencePreferSP", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16658, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "core2i7_first_cycle_multipass_end", "(", "const", "void", "*", "_data", ")", "{", "const_ix86_first_cycle_multipass_data_t", "data", "=", "(", "const_ix86_first_cycle_multipass_data_t", ")", "_data", ";", "ix86_first_cycle_multipass_data_t", "next_data", "=", "ix86_first_cycle_multipass_data", ";", "if", "(", "data", "!=", "NULL", ")", "{", "next_data", "->", "ifetch_block_len", "=", "data", "->", "ifetch_block_len", ";", "next_data", "->", "ifetch_block_n_insns", "=", "data", "->", "ifetch_block_n_insns", ";", "}", "}", ""], "natrual_language": ["Save", "the", "result", "of", "multipass", "lookahead", "scheduling", "for", "the", "next", "round", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "core2i7_first_cycle_multipass_end", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16659, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isLegalICmpImmediate", "(", "int64_t", "Val", ")", "const", "{", "if", "(", "Val", "<", "0", ")", "Val", "=", "-", "Val", ";", "return", "(", "Val", "&", "~", "0xfff", ")", "==", "0", "||", "(", "Val", "&", "~", "0xfff000", ")", "==", "0", ";", "}", ""], "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": ["AArch64", "AArch64", "0", "0xfff", "0", "0xfff000", "0"], "File": "AArch64ISelLowering109", "Func": "isLegalICmpImmediate", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16660, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_indirect_call_referenced_p", "(", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", "&&", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_ICT", ")", "x", "=", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", ")", "{", "tree", "decl", "=", "SYMBOL_REF_DECL", "(", "x", ")", ";", "return", "decl", "&&", "(", "lookup_attribute", "(", "\"indirect_call\"", ",", "DECL_ATTRIBUTES", "(", "decl", ")", ")", "!=", "NULL", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "X", "is", "a", "indirect", "call", "symbol", "."], "TS_V_token": ["nds32", "1", "0", "0", "\"indirect_call\""], "File": "nds32-md-auxiliary", "Func": "nds32_indirect_call_referenced_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16661, "Length": 76, "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": 16662, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAsmPrinter", "::", "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", "'L'", ":", "O", "<<", "getDataLayout", "(", ")", ".", "getPointerSize", "(", ")", "<<", "\"(\"", ";", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "O", "<<", "\")\"", ";", "return", "false", ";", "case", "'y'", ":", "{", "const", "char", "*", "RegName", "=", "\"r0\"", ";", "if", "(", "!", "Subtarget", "->", "isDarwin", "(", ")", ")", "RegName", "=", "PPCRegisterInfo", "::", "stripRegisterPrefix", "(", "RegName", ")", ";", "O", "<<", "RegName", "<<", "\", \"", ";", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "}", "case", "'U'", ":", "case", "'X'", ":", "assert", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isReg", "(", ")", ")", ";", "return", "false", ";", "}", "}", "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", "1", "0", "0", "\"(\"", "\")\"", "\"r0\"", "PPC", "\", \"", "\"0(\"", "\")\""], "File": "PPCAsmPrinter69", "Func": "PrintAsmMemoryOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16663, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"Lanai load / store optimization pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Lanai", "\"Lanai load / store optimization pass\""], "File": "LanaiMemAluCombiner", "Func": "getPassName", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16664, "Length": 13, "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": "PPCAsmPrinter11", "Func": "PrintAsmMemoryOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16665, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_prepare_builtin_target", "(", "enum", "insn_code", "icode", ",", "unsigned", "int", "op", ",", "rtx", "target", ")", "{", "enum", "machine_mode", "mode", ";", "mode", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "op", "]", ".", "mode", ";", "if", "(", "target", "==", "0", "||", "!", "insn_data", "[", "icode", "]", ".", "operand", "[", "op", "]", ".", "predicate", "(", "target", ",", "mode", ")", ")", "target", "=", "gen_reg_rtx", "(", "mode", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Return", "an", "rtx", "suitable", "for", "output", "operand", "OP", "of", "instruction", "ICODE", ".", "If", "TARGET", "is", "non-null", ",", "try", "to", "use", "it", "where", "possible", "."], "TS_V_token": ["mips", "0"], "File": "mips3", "Func": "mips_prepare_builtin_target", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16666, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "function_checker", "::", "require_immediate_one_of", "(", "unsigned", "int", "rel_argno", ",", "HOST_WIDE_INT", "value0", ",", "HOST_WIDE_INT", "value1", ",", "HOST_WIDE_INT", "value2", ",", "HOST_WIDE_INT", "value3", ")", "{", "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", "&&", "actual", "!=", "value2", "&&", "actual", "!=", "value3", ")", "{", "report_not_one_of", "(", "location", ",", "fndecl", ",", "argno", ",", "actual", ",", "value0", ",", "value1", ",", "value2", ",", "value3", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Check", "that", "argument", "REL_ARGNO", "is", "an", "integer", "constant", "expression", "that", "has", "one", "of", "the", "given", "values", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "require_immediate_one_of", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16667, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_solaris_elf_asm_named_section", "(", "const", "char", "*", "name", ",", "unsigned", "int", "flags", ",", "tree", "decl", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "HAVE_COMDAT_GROUP", "&&", "flags", "&", "SECTION_LINKONCE", ")", "{", "solaris_elf_asm_comdat_section", "(", "name", ",", "flags", ",", "decl", ")", ";", "return", ";", "}", "fprintf", "(", "asm_out_file", ",", "\"\\t.section\\t\\\"%s\\\"\"", ",", "name", ")", ";", "if", "(", "!", "(", "flags", "&", "SECTION_DEBUG", ")", ")", "fputs", "(", "\",#alloc\"", ",", "asm_out_file", ")", ";", "if", "(", "flags", "&", "SECTION_WRITE", ")", "fputs", "(", "\",#write\"", ",", "asm_out_file", ")", ";", "if", "(", "flags", "&", "SECTION_TLS", ")", "fputs", "(", "\",#tls\"", ",", "asm_out_file", ")", ";", "if", "(", "flags", "&", "SECTION_CODE", ")", "fputs", "(", "\",#execinstr\"", ",", "asm_out_file", ")", ";", "if", "(", "flags", "&", "SECTION_NOTYPE", ")", ";", "else", "if", "(", "flags", "&", "SECTION_BSS", ")", "fputs", "(", "\",#nobits\"", ",", "asm_out_file", ")", ";", "else", "fputs", "(", "\",#progbits\"", ",", "asm_out_file", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "}", ""], "natrual_language": ["Solaris", "implementation", "of", "TARGET_ASM_NAMED_SECTION", "."], "TS_V_token": ["sparc", "\"\\t.section\\t\\\"%s\\\"\"", "\",#alloc\"", "\",#write\"", "\",#tls\"", "\",#execinstr\"", "\",#nobits\"", "\",#progbits\""], "File": "sparc5", "Func": "sparc_solaris_elf_asm_named_section", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16668, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "parse_field", "(", "const", "std", "::", "string", "&", "field", ")", "{", "const", "char", "*", "rest", "=", "strchr", "(", "field", ".", "c_str", "(", ")", ",", "':'", ")", ";", "if", "(", "rest", "==", "NULL", ")", "return", "-", "1", ";", "char", "*", "after", ";", "unsigned", "fint", "=", "strtol", "(", "rest", "+", "1", ",", "&", "after", ",", "16", ")", ";", "if", "(", "after", "==", "rest", "+", "1", ")", "return", "-", "1", ";", "return", "fint", ";", "}", ""], "natrual_language": ["Returns", "the", "hex", "integer", "that", "is", "after", "'", ":", "'", "for", "the", "FIELD", ".", "Returns", "-1", "is", "returned", "if", "there", "was", "problem", "parsing", "the", "integer", "."], "TS_V_token": ["aarch64", "1", "1", "16", "1", "1"], "File": "driver-aarch641", "Func": "parse_field", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16669, "Length": 73, "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": 16670, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "getPointerTy", "(", "const", "DataLayout", "&", "DL", ",", "uint32_t", "AS", "=", "0", ")", "const", "override", "{", "return", "MVT", "::", "getIntegerVT", "(", "64", ")", ";", "}", ""], "natrual_language": ["Return", "the", "pointer", "type", "for", "the", "given", "address", "space", ",", "defaults", "to", "the", "pointer", "type", "from", "the", "data", "layout", "."], "TS_V_token": ["AArch64", "0", "MVT::getIntegerVT", "64"], "File": "AArch64ISelLowering (2)1", "Func": "getPointerTy", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16671, "Length": 25, "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", ")", ";", "case", "ISD", "::", "SUB", ":", "return", "performSUBCombine", "(", "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", "ISD::SUB"], "File": "MipsISelLowering113", "Func": "PerformDAGCombine", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16672, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getExceptionSelectorRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "override", "{", "return", "AArch64", "::", "X1", ";", "}", ""], "natrual_language": ["If", "a", "physical", "register", ",", "this", "returns", "the", "register", "that", "receives", "the", "exception", "typeid", "on", "entry", "to", "a", "landing", "pad", "."], "TS_V_token": ["AArch64", "AArch64::X1"], "File": "AArch64ISelLowering (2)", "Func": "getExceptionSelectorRegister", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16673, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_legitimize_tls_address", "(", "rtx", "loc", ")", "{", "rtx", "dest", ",", "insn", ",", "v0", ",", "tp", ",", "tmp1", ",", "tmp2", ",", "eqv", ",", "offset", ";", "enum", "tls_model", "model", ";", "model", "=", "SYMBOL_REF_TLS_MODEL", "(", "loc", ")", ";", "if", "(", "!", "TARGET_ABICALLS", ")", "model", "=", "TLS_MODEL_LOCAL_EXEC", ";", "switch", "(", "model", ")", "{", "case", "TLS_MODEL_GLOBAL_DYNAMIC", ":", "v0", "=", "gen_rtx_REG", "(", "Pmode", ",", "GP_RETURN", ")", ";", "insn", "=", "mips_call_tls_get_addr", "(", "loc", ",", "SYMBOL_TLSGD", ",", "v0", ")", ";", "dest", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_libcall_block", "(", "insn", ",", "dest", ",", "v0", ",", "loc", ")", ";", "break", ";", "case", "TLS_MODEL_LOCAL_DYNAMIC", ":", "v0", "=", "gen_rtx_REG", "(", "Pmode", ",", "GP_RETURN", ")", ";", "insn", "=", "mips_call_tls_get_addr", "(", "loc", ",", "SYMBOL_TLSLDM", ",", "v0", ")", ";", "tmp1", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "eqv", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "const0_rtx", ")", ",", "UNSPEC_TLS_LDM", ")", ";", "emit_libcall_block", "(", "insn", ",", "tmp1", ",", "v0", ",", "eqv", ")", ";", "offset", "=", "mips_unspec_address", "(", "loc", ",", "SYMBOL_DTPREL", ")", ";", "if", "(", "mips_split_p", "[", "SYMBOL_DTPREL", "]", ")", "{", "tmp2", "=", "mips_unspec_offset_high", "(", "NULL", ",", "tmp1", ",", "loc", ",", "SYMBOL_DTPREL", ")", ";", "dest", "=", "gen_rtx_LO_SUM", "(", "Pmode", ",", "tmp2", ",", "offset", ")", ";", "}", "else", "dest", "=", "expand_binop", "(", "Pmode", ",", "add_optab", ",", "tmp1", ",", "offset", ",", "0", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "break", ";", "case", "TLS_MODEL_INITIAL_EXEC", ":", "tp", "=", "mips_get_tp", "(", ")", ";", "tmp1", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "tmp2", "=", "mips_unspec_address", "(", "loc", ",", "SYMBOL_GOTTPREL", ")", ";", "if", "(", "Pmode", "==", "DImode", ")", "emit_insn", "(", "gen_load_gotdi", "(", "tmp1", ",", "pic_offset_table_rtx", ",", "tmp2", ")", ")", ";", "else", "emit_insn", "(", "gen_load_gotsi", "(", "tmp1", ",", "pic_offset_table_rtx", ",", "tmp2", ")", ")", ";", "dest", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "dest", ",", "tmp1", ",", "tp", ")", ")", ";", "break", ";", "case", "TLS_MODEL_LOCAL_EXEC", ":", "tmp1", "=", "mips_get_tp", "(", ")", ";", "offset", "=", "mips_unspec_address", "(", "loc", ",", "SYMBOL_TPREL", ")", ";", "if", "(", "mips_split_p", "[", "SYMBOL_TPREL", "]", ")", "{", "tmp2", "=", "mips_unspec_offset_high", "(", "NULL", ",", "tmp1", ",", "loc", ",", "SYMBOL_TPREL", ")", ";", "dest", "=", "gen_rtx_LO_SUM", "(", "Pmode", ",", "tmp2", ",", "offset", ")", ";", "}", "else", "dest", "=", "expand_binop", "(", "Pmode", ",", "add_optab", ",", "tmp1", ",", "offset", ",", "0", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "dest", ";", "}", ""], "natrual_language": ["Generate", "the", "code", "to", "access", "LOC", ",", "a", "thread", "local", "SYMBOL_REF", ".", "The", "return", "value", "will", "be", "a", "valid", "address", "and", "move_operand", "(", "either", "a", "REG", "or", "a", "LO_SUM", ")", "."], "TS_V_token": ["mips", "1", "0", "0", "0", "0"], "File": "mips4", "Func": "mips_legitimize_tls_address", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16674, "Length": 375, "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": 16675, "Length": 396, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "load_insn_p", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "SET", ")", "return", "false", ";", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_LOAD", ":", "case", "TYPE_SLOAD", ":", "case", "TYPE_FPLOAD", ":", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["True", "if", "INSN", "is", "a", "load", "instruction", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "load_insn_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16676, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "emitLoadConstPool", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "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", ")", ".", "addImm", "(", "Pred", ")", ".", "addReg", "(", "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": "ARMBaseRegisterInfo13", "Func": "emitLoadConstPool", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16677, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isFMAFasterThanFMulAndFAdd", "(", "EVT", "VT", ")", "const", "{", "if", "(", "!", "(", "Subtarget", "->", "hasFMA", "(", ")", "||", "Subtarget", "->", "hasFMA4", "(", ")", "||", "Subtarget", "->", "hasAVX512", "(", ")", ")", ")", "return", "false", ";", "VT", "=", "VT", ".", "getScalarType", "(", ")", ";", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "case", "MVT", "::", "f32", ":", "case", "MVT", "::", "f64", ":", "return", "true", ";", "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": ["X86", "X86", "MVT::f32", "MVT::f64"], "File": "X86ISelLowering1", "Func": "isFMAFasterThanFMulAndFAdd", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16678, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "live-ins", "should", "be", "tracked", "after", "register", "allocation", "."], "TS_V_token": ["PowerPC"], "File": "PPCRegisterInfo16", "Func": "trackLivenessAfterRegAlloc", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16679, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "vspltis_shifted", "(", "rtx", "op", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "op", ")", ";", "machine_mode", "inner", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "unsigned", "i", ",", "j", ";", "unsigned", "nunits", ";", "unsigned", "mask", ";", "HOST_WIDE_INT", "val", ";", "if", "(", "mode", "!=", "V16QImode", "&&", "mode", "!=", "V8HImode", "&&", "mode", "!=", "V4SImode", ")", "return", "false", ";", "if", "(", "!", "can_create_pseudo_p", "(", ")", "||", "(", "cfun", "->", "curr_properties", "&", "PROP_rtl_split_insns", ")", ")", "return", "false", ";", "nunits", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "mask", "=", "GET_MODE_MASK", "(", "inner", ")", ";", "val", "=", "const_vector_elt_as_int", "(", "op", ",", "BYTES_BIG_ENDIAN", "?", "0", ":", "nunits", "-", "1", ")", ";", "if", "(", "EASY_VECTOR_15", "(", "val", ")", ")", ";", "else", "if", "(", "EASY_VECTOR_MSB", "(", "val", ",", "inner", ")", ")", ";", "else", "return", "0", ";", "for", "(", "i", "=", "1", ";", "i", "<", "nunits", ";", "++", "i", ")", "{", "unsigned", "elt", "=", "BYTES_BIG_ENDIAN", "?", "i", ":", "nunits", "-", "1", "-", "i", ";", "HOST_WIDE_INT", "elt_val", "=", "const_vector_elt_as_int", "(", "op", ",", "elt", ")", ";", "if", "(", "val", "!=", "elt_val", ")", "{", "if", "(", "elt_val", "==", "0", ")", "{", "for", "(", "j", "=", "i", "+", "1", ";", "j", "<", "nunits", ";", "++", "j", ")", "{", "unsigned", "elt2", "=", "BYTES_BIG_ENDIAN", "?", "j", ":", "nunits", "-", "1", "-", "j", ";", "if", "(", "const_vector_elt_as_int", "(", "op", ",", "elt2", ")", "!=", "0", ")", "return", "0", ";", "}", "return", "(", "nunits", "-", "i", ")", "*", "GET_MODE_SIZE", "(", "inner", ")", ";", "}", "else", "if", "(", "(", "elt_val", "&", "mask", ")", "==", "mask", ")", "{", "for", "(", "j", "=", "i", "+", "1", ";", "j", "<", "nunits", ";", "++", "j", ")", "{", "unsigned", "elt2", "=", "BYTES_BIG_ENDIAN", "?", "j", ":", "nunits", "-", "1", "-", "j", ";", "if", "(", "(", "const_vector_elt_as_int", "(", "op", ",", "elt2", ")", "&", "mask", ")", "!=", "mask", ")", "return", "0", ";", "}", "return", "-", "(", "(", "nunits", "-", "i", ")", "*", "GET_MODE_SIZE", "(", "inner", ")", ")", ";", "}", "else", "return", "0", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["Like", "vsplitis_constant", ",", "but", "allow", "the", "value", "to", "be", "shifted", "left", "with", "a", "VSLDOI", "instruction", ",", "filling", "in", "the", "bottom", "elements", "with", "0", "or", "-1", ".", "Return", "0", "if", "the", "constant", "can", "not", "be", "generated", "with", "VSLDOI", ".", "Return", "positive", "for", "the", "number", "of", "zeroes", "to", "shift", "in", ",", "or", "negative", "for", "the", "number", "of", "0xff", "bytes", "to", "shift", "in", ".", "OP", "is", "a", "CONST_VECTOR", "."], "TS_V_token": ["rs6000", "0", "1", "0", "1", "1", "0", "1", "1", "0", "0", "1", "1", "0", "0", "0"], "File": "rs6000", "Func": "vspltis_shifted", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16680, "Length": 318, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64O0PreLegalizerCombiner", "::", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "TargetPassConfig", ">", "(", ")", ";", "AU", ".", "setPreservesCFG", "(", ")", ";", "getSelectionDAGFallbackAnalysisUsage", "(", "AU", ")", ";", "AU", ".", "addRequired", "<", "GISelKnownBitsAnalysis", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "GISelKnownBitsAnalysis", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64O0PreLegalizerCombiner", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16681, "Length": 57, "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": 16682, "Length": 199, "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", "::", "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", "=", "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": "X86TargetTransformInfo14", "Func": "getIntImmCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16683, "Length": 429, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "def_builtin_const", "(", "const", "char", "*", "name", ",", "enum", "insn_code", "icode", ",", "enum", "sparc_builtins", "code", ",", "tree", "type", ")", "{", "tree", "t", "=", "def_builtin", "(", "name", ",", "icode", ",", "code", ",", "type", ")", ";", "if", "(", "t", ")", "TREE_READONLY", "(", "t", ")", "=", "1", ";", "return", "t", ";", "}", ""], "natrual_language": ["Likewise", ",", "but", "also", "marks", "the", "function", "as", "``", "const", "''", "."], "TS_V_token": ["sparc", "1"], "File": "sparc", "Func": "def_builtin_const", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16684, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "rs6000_special_adjust_field_align", "(", "tree", "type", ",", "unsigned", "int", "computed", ")", "{", "if", "(", "computed", "<=", "32", ")", "return", "computed", ";", "while", "(", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", ")", "type", "=", "TREE_TYPE", "(", "type", ")", ";", "while", "(", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "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", "computed", ";", "type", "=", "TREE_TYPE", "(", "field", ")", ";", "while", "(", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", ")", "type", "=", "TREE_TYPE", "(", "type", ")", ";", "}", "if", "(", "!", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "type", "!=", "error_mark_node", "&&", "(", "TYPE_MODE", "(", "type", ")", "==", "DFmode", "||", "TYPE_MODE", "(", "type", ")", "==", "DCmode", ")", ")", "computed", "=", "MIN", "(", "computed", ",", "32", ")", ";", "return", "computed", ";", "}", ""], "natrual_language": ["AIX", "word-aligns", "FP", "doubles", "but", "doubleword-aligns", "64-bit", "ints", "."], "TS_V_token": ["rs6000", "32", "32"], "File": "rs60001", "Func": "rs6000_special_adjust_field_align", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16685, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLoweringBase", "::", "LegalizeTypeAction", "getPreferredVectorAction", "(", "MVT", "VT", ")", "const", "override", "{", "if", "(", "!", "VT", ".", "isScalableVector", "(", ")", "&&", "VT", ".", "getVectorNumElements", "(", ")", "!=", "1", "&&", "VT", ".", "getScalarSizeInBits", "(", ")", "%", "8", "==", "0", ")", "return", "TypeWidenVector", ";", "return", "TargetLoweringBase", "::", "getPreferredVectorAction", "(", "VT", ")", ";", "}", ""], "natrual_language": ["Customize", "the", "preferred", "legalization", "strategy", "for", "certain", "types", "."], "TS_V_token": ["PowerPC", "1", "8", "0"], "File": "PPCISelLowering110", "Func": "getPreferredVectorAction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16686, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "initialize_aarch64_tls_size", "(", "struct", "gcc_options", "*", "opts", ")", "{", "if", "(", "aarch64_tls_size", "==", "0", ")", "aarch64_tls_size", "=", "24", ";", "switch", "(", "opts", "->", "x_aarch64_cmodel_var", ")", "{", "case", "AARCH64_CMODEL_TINY", ":", "if", "(", "aarch64_tls_size", ">", "24", ")", "aarch64_tls_size", "=", "24", ";", "break", ";", "case", "AARCH64_CMODEL_SMALL", ":", "if", "(", "aarch64_tls_size", ">", "32", ")", "aarch64_tls_size", "=", "32", ";", "break", ";", "case", "AARCH64_CMODEL_LARGE", ":", "if", "(", "aarch64_tls_size", ">", "48", ")", "aarch64_tls_size", "=", "48", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", ";", "}", ""], "natrual_language": ["A", "checking", "mechanism", "for", "the", "implementation", "of", "the", "tls", "size", "."], "TS_V_token": ["aarch64", "0", "24", "24", "24", "32", "32", "48", "48"], "File": "aarch64", "Func": "initialize_aarch64_tls_size", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16687, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "*", "aarch64_output_sve_inc_dec_immediate", "(", "const", "char", "*", "operands", ",", "rtx", "x", ")", "{", "int", "factor", ";", "unsigned", "int", "nelts_per_vq", ";", "if", "(", "!", "aarch64_sve_inc_dec_immediate_p", "(", "x", ",", "&", "factor", ",", "&", "nelts_per_vq", ")", ")", "gcc_unreachable", "(", ")", ";", "if", "(", "factor", "<", "0", ")", "return", "aarch64_output_sve_cnt_immediate", "(", "\"dec\"", ",", "operands", ",", "-", "factor", ",", "nelts_per_vq", ")", ";", "else", "return", "aarch64_output_sve_cnt_immediate", "(", "\"inc\"", ",", "operands", ",", "factor", ",", "nelts_per_vq", ")", ";", "}", ""], "natrual_language": ["Return", "the", "asm", "template", "for", "an", "SVE", "vector", "INC", "or", "DEC", "instruction", ".", "OPERANDS", "gives", "the", "operands", "before", "the", "vector", "count", "and", "X", "is", "the", "value", "of", "the", "vector", "count", "operand", "itself", "."], "TS_V_token": ["aarch64", "0", "\"dec\"", "\"inc\""], "File": "aarch645", "Func": "aarch64_output_sve_inc_dec_immediate", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16688, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetMachine", "::", "addPreEmitPass", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "bool", "ShouldPrint", "=", "false", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "(", "Subtarget", ".", "hasSSE2", "(", ")", "||", "Subtarget", ".", "hasAVX", "(", ")", ")", ")", "{", "PM", ".", "add", "(", "createExecutionDependencyFixPass", "(", "&", "X86", "::", "VR128RegClass", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "if", "(", "Subtarget", ".", "hasAVX", "(", ")", "&&", "UseVZeroUpper", ")", "{", "PM", ".", "add", "(", "createX86IssueVZeroUpperPass", "(", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "return", "ShouldPrint", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["X86", "X86", "X86::VR128RegClass", "X86"], "File": "X86TargetMachine122", "Func": "addPreEmitPass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16689, "Length": 90, "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", ";", "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", ")", "{", "unsigned", "int", "bits", "=", "BITS_PER_WORD", "-", "intoffset", "%", "BITS_PER_WORD", ";", "if", "(", "!", "int_mode_for_size", "(", "bits", ",", "0", ")", ".", "exists", "(", ")", ")", "{", "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": "rs6000-call", "Func": "rs6000_darwin64_record_arg_advance_flush", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16690, "Length": 214, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "LEG", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["LEG", "LEG::NumTargetFixupKinds"], "File": "LEGAsmBackend", "Func": "getNumFixupKinds", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16691, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_vector_mode_supported_p", "(", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_SIMD", "&&", "(", "mode", "==", "V4SImode", "||", "mode", "==", "V8HImode", "||", "mode", "==", "V16QImode", "||", "mode", "==", "V2DImode", "||", "mode", "==", "V2SImode", "||", "mode", "==", "V4HImode", "||", "mode", "==", "V8QImode", "||", "mode", "==", "V2SFmode", "||", "mode", "==", "V4SFmode", "||", "mode", "==", "V2DFmode", "||", "mode", "==", "V1DFmode", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implements", "target", "hook", "vector_mode_supported_p", "."], "TS_V_token": ["aarch64"], "File": "aarch642", "Func": "aarch64_vector_mode_supported_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16692, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86Subtarget", "::", "X86Subtarget", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "X86TargetMachine", "&", "TM", ",", "unsigned", "StackAlignOverride", ")", ":", "X86GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "X86ProcFamily", "(", "Others", ")", ",", "PICStyle", "(", "PICStyles", "::", "None", ")", ",", "TM", "(", "TM", ")", ",", "TargetTriple", "(", "TT", ")", ",", "StackAlignOverride", "(", "StackAlignOverride", ")", ",", "In64BitMode", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", ",", "In32BitMode", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "x86", "&&", "TargetTriple", ".", "getEnvironment", "(", ")", "!=", "Triple", "::", "CODE16", ")", ",", "In16BitMode", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "x86", "&&", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "CODE16", ")", ",", "TSInfo", "(", ")", ",", "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", ")", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86Subtarget45", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16693, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "loongarch_issue_rate", "(", "void", ")", "{", "if", "(", "(", "unsigned", "long", ")", "LARCH_ACTUAL_TUNE", "<", "N_TUNE_TYPES", ")", "return", "loongarch_cpu_issue_rate", "[", "LARCH_ACTUAL_TUNE", "]", ";", "else", "return", "1", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "that", "can", "be", "issued", "per", "cycle", "."], "TS_V_token": ["loongarch", "1"], "File": "loongarch", "Func": "loongarch_issue_rate", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16694, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "AArch64LoadStoreOpt", "::", "getMemSize", "(", "MachineInstr", "*", "MemMI", ")", "{", "switch", "(", "MemMI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Opcode has unknown size!\"", ")", ";", "case", "AArch64", "::", "STRSui", ":", "case", "AArch64", "::", "STURSi", ":", "return", "4", ";", "case", "AArch64", "::", "STRDui", ":", "case", "AArch64", "::", "STURDi", ":", "return", "8", ";", "case", "AArch64", "::", "STRQui", ":", "case", "AArch64", "::", "STURQi", ":", "return", "16", ";", "case", "AArch64", "::", "STRWui", ":", "case", "AArch64", "::", "STURWi", ":", "return", "4", ";", "case", "AArch64", "::", "STRXui", ":", "case", "AArch64", "::", "STURXi", ":", "return", "8", ";", "case", "AArch64", "::", "LDRSui", ":", "case", "AArch64", "::", "LDURSi", ":", "return", "4", ";", "case", "AArch64", "::", "LDRDui", ":", "case", "AArch64", "::", "LDURDi", ":", "return", "8", ";", "case", "AArch64", "::", "LDRQui", ":", "case", "AArch64", "::", "LDURQi", ":", "return", "16", ";", "case", "AArch64", "::", "LDRWui", ":", "case", "AArch64", "::", "LDURWi", ":", "return", "4", ";", "case", "AArch64", "::", "LDRXui", ":", "case", "AArch64", "::", "LDURXi", ":", "return", "8", ";", "}", "}", ""], "natrual_language": ["Returns", "the", "size", "in", "bytes", "of", "the", "memory", "access", "."], "TS_V_token": ["AArch64", "AArch64", "\"Opcode has unknown size!\"", "AArch64::STRSui", "AArch64::STURSi", "4", "AArch64::STRDui", "AArch64::STURDi", "8", "AArch64::STRQui", "AArch64::STURQi", "16", "AArch64::STRWui", "AArch64::STURWi", "4", "AArch64::STRXui", "AArch64::STURXi", "8", "AArch64::LDRSui", "AArch64::LDURSi", "4", "AArch64::LDRDui", "AArch64::LDURDi", "8", "AArch64::LDRQui", "AArch64::LDURQi", "16", "AArch64::LDRWui", "AArch64::LDURWi", "4", "AArch64::LDRXui", "AArch64::LDURXi", "8"], "File": "AArch64LoadStoreOptimizer41", "Func": "getMemSize", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16695, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FPGATTIImpl", "::", "isTruncateFree", "(", "Type", "*", "Ty1", ",", "Type", "*", "Ty2", ")", "{", "if", "(", "!", "Ty1", "->", "isIntegerTy", "(", ")", "||", "!", "Ty2", "->", "isIntegerTy", "(", ")", ")", "return", "false", ";", "unsigned", "NumBits1", "=", "Ty1", "->", "getPrimitiveSizeInBits", "(", ")", ";", "unsigned", "NumBits2", "=", "Ty2", "->", "getPrimitiveSizeInBits", "(", ")", ";", "return", "NumBits1", ">", "NumBits2", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "'s", "free", "to", "truncate", "a", "value", "of", "type", "Ty1", "to", "type", "Ty2", "."], "TS_V_token": ["FPGA", "FPGA"], "File": "FPGATargetTransformInfo", "Func": "isTruncateFree", "Target": "FPGA", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16696, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "xstormy16_expand_andqi3", "(", "rtx", "*", "operands", ")", "{", "rtx", "in", ",", "out", ",", "outsub", ",", "val", ";", "out", "=", "operands", "[", "0", "]", ";", "in", "=", "operands", "[", "1", "]", ";", "val", "=", "operands", "[", "2", "]", ";", "if", "(", "xstormy16_onebit_clr_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_andqi3_internal", "(", "out", ",", "in", ",", "val", ")", ")", ";", "if", "(", "out", "!=", "operands", "[", "0", "]", ")", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "out", ")", ";", "return", ";", "}", "if", "(", "!", "REG_P", "(", "in", ")", ")", "in", "=", "copy_to_mode_reg", "(", "QImode", ",", "in", ")", ";", "if", "(", "!", "REG_P", "(", "val", ")", "&&", "!", "CONST_INT_P", "(", "val", ")", ")", "val", "=", "copy_to_mode_reg", "(", "QImode", ",", "val", ")", ";", "if", "(", "!", "REG_P", "(", "out", ")", ")", "out", "=", "gen_reg_rtx", "(", "QImode", ")", ";", "in", "=", "simplify_gen_subreg", "(", "HImode", ",", "in", ",", "QImode", ",", "0", ")", ";", "outsub", "=", "simplify_gen_subreg", "(", "HImode", ",", "out", ",", "QImode", ",", "0", ")", ";", "if", "(", "!", "CONST_INT_P", "(", "val", ")", ")", "val", "=", "simplify_gen_subreg", "(", "HImode", ",", "val", ",", "QImode", ",", "0", ")", ";", "emit_insn", "(", "gen_andhi3", "(", "outsub", ",", "in", ",", "val", ")", ")", ";", "if", "(", "out", "!=", "operands", "[", "0", "]", ")", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "out", ")", ";", "}", ""], "natrual_language": ["Likewise", ",", "for", "AND", "."], "TS_V_token": ["stormy16", "0", "1", "2", "0", "0", "0", "0", "0", "0", "0"], "File": "stormy16", "Func": "xstormy16_expand_andqi3", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16697, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMFastISel", "::", "fastMaterializeAlloca", "(", "const", "AllocaInst", "*", "AI", ")", "{", "if", "(", "!", "FuncInfo", ".", "StaticAllocaMap", ".", "count", "(", "AI", ")", ")", "return", "0", ";", "MVT", "VT", ";", "if", "(", "!", "isLoadTypeLegal", "(", "AI", "->", "getType", "(", ")", ",", "VT", ")", ")", "return", "0", ";", "DenseMap", "<", "const", "AllocaInst", "*", ",", "int", ">", "::", "iterator", "SI", "=", "FuncInfo", ".", "StaticAllocaMap", ".", "find", "(", "AI", ")", ";", "if", "(", "SI", "!=", "FuncInfo", ".", "StaticAllocaMap", ".", "end", "(", ")", ")", "{", "unsigned", "Opc", "=", "isThumb2", "?", "ARM", "::", "t2ADDri", ":", "ARM", "::", "ADDri", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TLI", ".", "getRegClassFor", "(", "VT", ")", ";", "Register", "ResultReg", "=", "createResultReg", "(", "RC", ")", ";", "ResultReg", "=", "constrainOperandRegClass", "(", "TII", ".", "get", "(", "Opc", ")", ",", "ResultReg", ",", "0", ")", ";", "AddOptionalDefs", "(", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "TII", ".", "get", "(", "Opc", ")", ",", "ResultReg", ")", ".", "addFrameIndex", "(", "SI", "->", "second", ")", ".", "addImm", "(", "0", ")", ")", ";", "return", "ResultReg", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Emit", "an", "alloca", "address", "in", "a", "register", "using", "target-specific", "logic", "."], "TS_V_token": ["ARM", "ARM", "0", "0", "ARM::t2ADDri", "ARM::ADDri", "0", "0", "0"], "File": "ARMFastISel36", "Func": "fastMaterializeAlloca", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16698, "Length": 175, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_autovectorize_vector_sizes", "(", "vector_sizes", "*", "sizes", ")", "{", "if", "(", "TARGET_AVX512F", "&&", "!", "TARGET_PREFER_AVX256", ")", "{", "sizes", "->", "safe_push", "(", "64", ")", ";", "sizes", "->", "safe_push", "(", "32", ")", ";", "sizes", "->", "safe_push", "(", "16", ")", ";", "}", "else", "if", "(", "TARGET_AVX", "&&", "!", "TARGET_PREFER_AVX128", ")", "{", "sizes", "->", "safe_push", "(", "32", ")", ";", "sizes", "->", "safe_push", "(", "16", ")", ";", "}", "}", ""], "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"], "File": "i3867", "Func": "ix86_autovectorize_vector_sizes", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16699, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nds32_pic_tls_group", "(", "rtx_insn", "*", "def_insn", ",", "enum", "nds32_relax_insn_type", "relax_type", ",", "int", "sym_type", ")", "{", "df_ref", "def_record", ";", "df_link", "*", "link", ";", "rtx_insn", "*", "use_insn", "=", "NULL", ";", "rtx", "pat", ",", "new_pat", ";", "def_record", "=", "DF_INSN_DEFS", "(", "def_insn", ")", ";", "for", "(", "link", "=", "DF_REF_CHAIN", "(", "def_record", ")", ";", "link", ";", "link", "=", "link", "->", "next", ")", "{", "if", "(", "!", "DF_REF_INSN_INFO", "(", "link", "->", "ref", ")", ")", "continue", ";", "use_insn", "=", "DF_REF_INSN", "(", "link", "->", "ref", ")", ";", "if", "(", "!", "dominated_by_p", "(", "CDI_DOMINATORS", ",", "BLOCK_FOR_INSN", "(", "use_insn", ")", ",", "BLOCK_FOR_INSN", "(", "def_insn", ")", ")", ")", "return", "FALSE", ";", "if", "(", "!", "active_insn_p", "(", "use_insn", ")", ")", "return", "FALSE", ";", "switch", "(", "relax_type", ")", "{", "case", "RELAX_ORI", ":", "if", "(", "(", "sym_type", "==", "UNSPEC_TLSLE", "||", "sym_type", "==", "UNSPEC_GOTOFF", ")", "&&", "(", "recog_memoized", "(", "use_insn", ")", "==", "CODE_FOR_addsi3", ")", ")", "{", "pat", "=", "XEXP", "(", "PATTERN", "(", "use_insn", ")", ",", "1", ")", ";", "new_pat", "=", "gen_rtx_UNSPEC", "(", "SImode", ",", "gen_rtvec", "(", "2", ",", "XEXP", "(", "pat", ",", "0", ")", ",", "XEXP", "(", "pat", ",", "1", ")", ")", ",", "UNSPEC_ADD32", ")", ";", "validate_replace_rtx", "(", "pat", ",", "new_pat", ",", "use_insn", ")", ";", "nds32_group_infos", ".", "safe_push", "(", "use_insn", ")", ";", "}", "else", "if", "(", "nds32_plus_reg_load_store_p", "(", "use_insn", ")", "&&", "!", "nds32_sp_base_or_plus_load_store_p", "(", "use_insn", ")", ")", "nds32_group_infos", ".", "safe_push", "(", "use_insn", ")", ";", "else", "return", "FALSE", ";", "break", ";", "default", ":", "return", "FALSE", ";", "}", "}", "return", "TRUE", ";", "}", ""], "natrual_language": ["Group", "the", "PIC", "and", "TLS", "relax", "candidate", "instructions", "for", "linker", "."], "TS_V_token": ["nds32", "1", "2", "0", "1"], "File": "nds32-relax-opt", "Func": "nds32_pic_tls_group", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16700, "Length": 237, "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", ";", "else", "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"], "File": "AArch64RegisterInfo", "Func": "getCalleeSavedRegs", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16701, "Length": 193, "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": ["X86", "4"], "File": "X86ISelLowering", "Func": "getMaxSupportedInterleaveFactor", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16702, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineLoopInfo", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "ReachingDefAnalysis", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["ARM"], "File": "ARMLowOverheadLoops", "Func": "getAnalysisUsage", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16703, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_legitimate_index_p", "(", "machine_mode", "mode", ",", "rtx", "op", ",", "bool", "consider_sh2a", ",", "bool", "allow_zero", ")", "{", "if", "(", "!", "CONST_INT_P", "(", "op", ")", ")", "return", "false", ";", "if", "(", "TARGET_SHMEDIA", ")", "{", "int", "size", ";", "if", "(", "mode", "==", "VOIDmode", ")", "return", "satisfies_constraint_I06", "(", "op", ")", ";", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "return", "(", "!", "(", "INTVAL", "(", "op", ")", "&", "(", "size", "-", "1", ")", ")", "&&", "INTVAL", "(", "op", ")", ">=", "-", "512", "*", "size", "&&", "INTVAL", "(", "op", ")", "<", "512", "*", "size", ")", ";", "}", "else", "{", "const", "HOST_WIDE_INT", "offset", "=", "INTVAL", "(", "op", ")", ";", "const", "int", "max_disp", "=", "sh_max_mov_insn_displacement", "(", "mode", ",", "consider_sh2a", ")", ";", "const", "int", "align_mask", "=", "mov_insn_alignment_mask", "(", "mode", ",", "consider_sh2a", ")", ";", "if", "(", "!", "allow_zero", "&&", "max_disp", "<", "1", ")", "return", "false", ";", "return", "offset", ">=", "0", "&&", "offset", "<=", "max_disp", "&&", "(", "offset", "&", "align_mask", ")", "==", "0", ";", "}", "}", ""], "natrual_language": ["Return", "TRUE", "for", "a", "valid", "displacement", "for", "the", "REG+disp", "addressing", "with", "MODE", "."], "TS_V_token": ["sh", "1", "512", "512", "1", "0", "0"], "File": "sh4", "Func": "sh_legitimate_index_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16704, "Length": 155, "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": 16705, "Length": 13, "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": 16706, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "ix86_secondary_memory_needed_mode", "(", "machine_mode", "mode", ")", "{", "if", "(", "GET_MODE_BITSIZE", "(", "mode", ")", "<", "32", "&&", "INTEGRAL_MODE_P", "(", "mode", ")", ")", "return", "mode_for_size", "(", "32", ",", "GET_MODE_CLASS", "(", "mode", ")", ",", "0", ")", ".", "require", "(", ")", ";", "return", "mode", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SECONDARY_MEMORY_NEEDED_MODE", ".", "get_secondary_mem", "widens", "integral", "modes", "to", "BITS_PER_WORD", ".", "There", "is", "no", "need", "to", "emit", "full", "64", "bit", "move", "on", "64", "bit", "targets", "for", "integral", "modes", "that", "can", "be", "moved", "using", "32", "bit", "move", "."], "TS_V_token": ["i386", "32", "32", "0"], "File": "i386", "Func": "ix86_secondary_memory_needed_mode", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16707, "Length": 43, "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": 16708, "Length": 266, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "rs6000_emit_allocate_stack", "(", "HOST_WIDE_INT", "size", ",", "rtx", "copy_reg", ",", "int", "copy_off", ")", "{", "rtx_insn", "*", "insn", ";", "rtx", "stack_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "STACK_POINTER_REGNUM", ")", ";", "rtx", "tmp_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ";", "rtx", "todec", "=", "gen_int_mode", "(", "-", "size", ",", "Pmode", ")", ";", "rtx", "par", ",", "set", ",", "mem", ";", "if", "(", "INTVAL", "(", "todec", ")", "!=", "-", "size", ")", "{", "warning", "(", "0", ",", "\"stack frame too large\"", ")", ";", "emit_insn", "(", "gen_trap", "(", ")", ")", ";", "return", "0", ";", "}", "if", "(", "crtl", "->", "limit_stack", ")", "{", "if", "(", "REG_P", "(", "stack_limit_rtx", ")", "&&", "REGNO", "(", "stack_limit_rtx", ")", ">", "1", "&&", "REGNO", "(", "stack_limit_rtx", ")", "<=", "31", ")", "{", "emit_insn", "(", "gen_add3_insn", "(", "tmp_reg", ",", "stack_limit_rtx", ",", "GEN_INT", "(", "size", ")", ")", ")", ";", "emit_insn", "(", "gen_cond_trap", "(", "LTU", ",", "stack_reg", ",", "tmp_reg", ",", "const0_rtx", ")", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "stack_limit_rtx", ")", "==", "SYMBOL_REF", "&&", "TARGET_32BIT", "&&", "DEFAULT_ABI", "==", "ABI_V4", "&&", "!", "flag_pic", ")", "{", "rtx", "toload", "=", "gen_rtx_CONST", "(", "VOIDmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_limit_rtx", ",", "GEN_INT", "(", "size", ")", ")", ")", ";", "emit_insn", "(", "gen_elf_high", "(", "tmp_reg", ",", "toload", ")", ")", ";", "emit_insn", "(", "gen_elf_low", "(", "tmp_reg", ",", "tmp_reg", ",", "toload", ")", ")", ";", "emit_insn", "(", "gen_cond_trap", "(", "LTU", ",", "stack_reg", ",", "tmp_reg", ",", "const0_rtx", ")", ")", ";", "}", "else", "warning", "(", "0", ",", "\"stack limit expression is not supported\"", ")", ";", "}", "if", "(", "copy_reg", ")", "{", "if", "(", "copy_off", "!=", "0", ")", "emit_insn", "(", "gen_add3_insn", "(", "copy_reg", ",", "stack_reg", ",", "GEN_INT", "(", "copy_off", ")", ")", ")", ";", "else", "emit_move_insn", "(", "copy_reg", ",", "stack_reg", ")", ";", "}", "if", "(", "size", ">", "32767", ")", "{", "if", "(", "get_last_insn", "(", ")", "==", "NULL_RTX", ")", "emit_note", "(", "NOTE_INSN_DELETED", ")", ";", "insn", "=", "emit_move_insn", "(", "tmp_reg", ",", "todec", ")", ";", "try_split", "(", "PATTERN", "(", "insn", ")", ",", "insn", ",", "0", ")", ";", "todec", "=", "tmp_reg", ";", "}", "insn", "=", "emit_insn", "(", "TARGET_32BIT", "?", "gen_movsi_update_stack", "(", "stack_reg", ",", "stack_reg", ",", "todec", ",", "stack_reg", ")", ":", "gen_movdi_di_update_stack", "(", "stack_reg", ",", "stack_reg", ",", "todec", ",", "stack_reg", ")", ")", ";", "par", "=", "PATTERN", "(", "insn", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "par", ")", "==", "PARALLEL", ")", ";", "set", "=", "XVECEXP", "(", "par", ",", "0", ",", "0", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "set", ")", "==", "SET", ")", ";", "mem", "=", "SET_DEST", "(", "set", ")", ";", "gcc_assert", "(", "MEM_P", "(", "mem", ")", ")", ";", "MEM_NOTRAP_P", "(", "mem", ")", "=", "1", ";", "set_mem_alias_set", "(", "mem", ",", "get_frame_alias_set", "(", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "stack_reg", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_reg", ",", "GEN_INT", "(", "-", "size", ")", ")", ")", ")", ";", "return", "insn", ";", "}", ""], "natrual_language": ["Emit", "the", "correct", "code", "for", "allocating", "stack", "space", ",", "as", "insns", ".", "If", "COPY_R12", ",", "make", "sure", "a", "copy", "of", "the", "old", "frame", "is", "left", "in", "r12", ".", "The", "generated", "code", "may", "use", "hard", "register", "0", "as", "a", "temporary", "."], "TS_V_token": ["rs6000", "0", "0", "\"stack frame too large\"", "0", "1", "31", "0", "\"stack limit expression is not supported\"", "0", "32767", "0", "0", "0", "1", "1"], "File": "rs60006", "Func": "rs6000_emit_allocate_stack", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16709, "Length": 446, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "calling_abi", "ix86_function_type_abi", "(", "const_tree", "fntype", ")", "{", "enum", "calling_abi", "abi", "=", "ix86_abi", ";", "if", "(", "fntype", "==", "NULL_TREE", "||", "TYPE_ATTRIBUTES", "(", "fntype", ")", "==", "NULL_TREE", ")", "return", "abi", ";", "if", "(", "abi", "==", "SYSV_ABI", "&&", "lookup_attribute", "(", "\"ms_abi\"", ",", "TYPE_ATTRIBUTES", "(", "fntype", ")", ")", ")", "{", "static", "int", "warned", ";", "if", "(", "TARGET_X32", "&&", "!", "warned", ")", "{", "error", "(", "\"X32 does not support % attribute\"", ")", ";", "warned", "=", "1", ";", "}", "abi", "=", "MS_ABI", ";", "}", "else", "if", "(", "abi", "==", "MS_ABI", "&&", "lookup_attribute", "(", "\"sysv_abi\"", ",", "TYPE_ATTRIBUTES", "(", "fntype", ")", ")", ")", "abi", "=", "SYSV_ABI", ";", "return", "abi", ";", "}", ""], "natrual_language": ["Returns", "value", "SYSV_ABI", ",", "MS_ABI", "dependent", "on", "fntype", ",", "specifying", "the", "call", "abi", "used", "."], "TS_V_token": ["i386", "\"ms_abi\"", "\"X32 does not support % attribute\"", "1", "\"sysv_abi\""], "File": "i386", "Func": "ix86_function_type_abi", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16710, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "num_insns_constant_wide", "(", "HOST_WIDE_INT", "value", ")", "{", "if", "(", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "value", "+", "0x8000", ")", "<", "0x10000", ")", "return", "1", ";", "else", "if", "(", "(", "value", "&", "0xffff", ")", "==", "0", "&&", "(", "value", ">>", "31", "==", "-", "1", "||", "value", ">>", "31", "==", "0", ")", ")", "return", "1", ";", "else", "if", "(", "TARGET_POWERPC64", ")", "{", "HOST_WIDE_INT", "low", "=", "(", "(", "value", "&", "0xffffffff", ")", "^", "0x80000000", ")", "-", "0x80000000", ";", "HOST_WIDE_INT", "high", "=", "value", ">>", "31", ";", "if", "(", "high", "==", "0", "||", "high", "==", "-", "1", ")", "return", "2", ";", "high", ">>=", "1", ";", "if", "(", "low", "==", "0", ")", "return", "num_insns_constant_wide", "(", "high", ")", "+", "1", ";", "else", "if", "(", "high", "==", "0", ")", "return", "num_insns_constant_wide", "(", "low", ")", "+", "1", ";", "else", "return", "(", "num_insns_constant_wide", "(", "high", ")", "+", "num_insns_constant_wide", "(", "low", ")", "+", "1", ")", ";", "}", "else", "return", "2", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "it", "takes", "to", "form", "a", "constant", "in", "an", "integer", "register", "."], "TS_V_token": ["rs6000", "0x8000", "0x10000", "1", "0xffff", "0", "31", "1", "31", "0", "1", "0xffffffff", "0x80000000", "0x80000000", "31", "0", "1", "2", "1", "0", "1", "0", "1", "1", "2"], "File": "rs60004", "Func": "num_insns_constant_wide", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16711, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "&", "LiveRangeShrinkID", ")", ";", "addPass", "(", "createX86FixupSetCC", "(", ")", ")", ";", "addPass", "(", "createX86OptimizeLEAs", "(", ")", ")", ";", "addPass", "(", "createX86CallFrameOptimization", "(", ")", ")", ";", "addPass", "(", "createX86AvoidStoreForwardingBlocks", "(", ")", ")", ";", "}", "addPass", "(", "createX86SpeculativeLoadHardeningPass", "(", ")", ")", ";", "addPass", "(", "createX86FlagsCopyLoweringPass", "(", ")", ")", ";", "addPass", "(", "createX86WinAllocaExpander", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createX86PreTileConfigPass", "(", ")", ")", ";", "}", "}", ""], "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", "X86", "X86", "X86"], "File": "X86TargetMachine21", "Func": "addPreRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16712, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int64_t", "getOffset", "(", ")", "{", "return", "Offset", ";", "}", ""], "natrual_language": ["Get", "the", "offest", "of", "a", "string", "in", "the", "string", "table", "."], "TS_V_token": ["ARM64"], "File": "ARM64FastISel", "Func": "getOffset", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16713, "Length": 9, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "rs6000_memory_move_cost", "(", "enum", "machine_mode", "mode", ",", "enum", "reg_class", "class", ",", "int", "in", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "reg_classes_intersect_p", "(", "class", ",", "GENERAL_REGS", ")", ")", "return", "4", "*", "hard_regno_nregs", "[", "0", "]", "[", "mode", "]", ";", "else", "if", "(", "reg_classes_intersect_p", "(", "class", ",", "FLOAT_REGS", ")", ")", "return", "4", "*", "hard_regno_nregs", "[", "32", "]", "[", "mode", "]", ";", "else", "if", "(", "reg_classes_intersect_p", "(", "class", ",", "ALTIVEC_REGS", ")", ")", "return", "4", "*", "hard_regno_nregs", "[", "FIRST_ALTIVEC_REGNO", "]", "[", "mode", "]", ";", "else", "return", "4", "+", "rs6000_register_move_cost", "(", "mode", ",", "class", ",", "GENERAL_REGS", ")", ";", "}", ""], "natrual_language": ["A", "C", "expressions", "returning", "the", "cost", "of", "moving", "data", "of", "MODE", "from", "a", "register", "to", "or", "from", "memory", "."], "TS_V_token": ["rs6000", "4", "0", "4", "32", "4", "4"], "File": "rs60003", "Func": "rs6000_memory_move_cost", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16714, "Length": 92, "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": 16715, "Length": 379, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAIXAsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "if", "(", "!", "MAI", "->", "usesDwarfFileAndLocDirectives", "(", ")", "&&", "MMI", "->", "hasDebugInfo", "(", ")", ")", "OutStreamer", "->", "doFinalizationAtSectionEnd", "(", "OutStreamer", "->", "getContext", "(", ")", ".", "getObjectFileInfo", "(", ")", "->", "getTextSection", "(", ")", ")", ";", "for", "(", "MCSymbol", "*", "Sym", ":", "ExtSymSDNodeSymbols", ")", "OutStreamer", "->", "emitSymbolAttribute", "(", "Sym", ",", "MCSA_Extern", ")", ";", "return", "PPCAsmPrinter", "::", "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"], "File": "PPCAsmPrinter (2)3", "Func": "doFinalization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16716, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "vector_costs", "*", "ix86_vectorize_create_costs", "(", "vec_info", "*", "vinfo", ",", "bool", "costing_for_scalar", ")", "{", "return", "new", "ix86_vector_costs", "(", "vinfo", ",", "costing_for_scalar", ")", ";", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.create_costs", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_vectorize_create_costs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16717, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "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": ["ia64", "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": "ia644", "Func": "fix_range", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16718, "Length": 242, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sh_file_start", "(", "void", ")", "{", "default_file_start", "(", ")", ";", "fputs", "(", "\"\\t.section .directive, \\\"SM\\\", @progbits, 1\\n\"", ",", "asm_out_file", ")", ";", "fputs", "(", "\"\\t.asciz \\\"##\\\\n\\\"\\n\"", ",", "asm_out_file", ")", ";", "if", "(", "TARGET_ELF", ")", "fprintf", "(", "asm_out_file", ",", "\"%s\\n\"", ",", "TEXT_SECTION_ASM_OP", ")", ";", "else", "data_section", "(", ")", ";", "if", "(", "TARGET_LITTLE_ENDIAN", ")", "fputs", "(", "\"\\t.little\\n\"", ",", "asm_out_file", ")", ";", "if", "(", "!", "TARGET_ELF", ")", "{", "if", "(", "TARGET_SHCOMPACT", ")", "fputs", "(", "\"\\t.mode\\tSHcompact\\n\"", ",", "asm_out_file", ")", ";", "else", "if", "(", "TARGET_SHMEDIA", ")", "fprintf", "(", "asm_out_file", ",", "\"\\t.mode\\tSHmedia\\n\\t.abi\\t%i\\n\"", ",", "TARGET_SHMEDIA64", "?", "64", ":", "32", ")", ";", "}", "}", ""], "natrual_language": ["Output", "the", "start", "of", "the", "assembler", "file", "."], "TS_V_token": ["sh", "\"\\t.section .directive, \\\"SM\\\", @progbits, 1\\n\"", "\"\\t.asciz \\\"##\\\\n\\\"\\n\"", "\"%s\\n\"", "\"\\t.little\\n\"", "\"\\t.mode\\tSHcompact\\n\"", "\"\\t.mode\\tSHmedia\\n\\t.abi\\t%i\\n\"", "64", "32"], "File": "sh3", "Func": "sh_file_start", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16719, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "sparc_promote_function_mode", "(", "const_tree", "type", ",", "machine_mode", "mode", ",", "int", "*", "punsignedp", ",", "const_tree", ",", "int", ")", "{", "if", "(", "type", "&&", "POINTER_TYPE_P", "(", "type", ")", ")", "{", "*", "punsignedp", "=", "POINTERS_EXTEND_UNSIGNED", ";", "return", "Pmode", ";", "}", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_INT", "&&", "GET_MODE_SIZE", "(", "mode", ")", "<", "UNITS_PER_WORD", ")", "return", "word_mode", ";", "return", "mode", ";", "}", ""], "natrual_language": ["Handle", "promotion", "of", "pointer", "and", "integer", "arguments", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "sparc_promote_function_mode", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16720, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "FISCDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\">>>>>> Selecting Node: \"", ";", "N", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "LOAD", ":", "return", "SelectIndexedLoad", "(", "N", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "SelectIndexedStore", "(", "N", ")", ";", "case", "ISD", "::", "FrameIndex", ":", "return", "SelectFrameIndex", "(", "N", ")", ";", "case", "ISD", "::", "Constant", ":", "return", "ConstantToRegisterExpand", "(", "N", ",", "SDValue", "(", "N", ",", "0", ")", ")", ".", "getNode", "(", ")", ";", "case", "ISD", "::", "ADD", ":", "if", "(", "N", "->", "getOperand", "(", "0", ")", ".", "getOpcode", "(", ")", "==", "ISD", "::", "TargetGlobalAddress", ")", "return", "SelectTargetGlobalAddressforADD", "(", "N", ",", "N", "->", "getOperand", "(", "0", ")", ".", "getNode", "(", ")", ")", ";", "break", ";", "case", "FISCISD", "::", "CMP", ":", "return", "SelectCompare", "(", "N", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "SelectConditionalBranch", "(", "N", ")", ";", "case", "ISD", "::", "CopyToReg", ":", "if", "(", "N", "->", "getOperand", "(", "2", ")", ".", "getOpcode", "(", ")", "==", "ISD", "::", "TargetGlobalAddress", ")", "{", "GlobalAddressSDNode", "*", "GA", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "N", "->", "getOperand", "(", "2", ")", ")", ";", "const", "GlobalValue", "*", "GV", "=", "GA", "->", "getGlobal", "(", ")", ";", "unsigned", "char", "TargetFlags", "=", "FISCII", "::", "MO_MOVRZ", ";", "if", "(", "GV", "->", "getValueID", "(", ")", "==", "Value", "::", "FunctionVal", ")", "TargetFlags", "=", "FISCII", "::", "MO_Q1", ";", "SDValue", "TargetGlobalAddr", "=", "CurDAG", "->", "getTargetGlobalAddress", "(", "GV", ",", "SDLoc", "(", "N", ")", ",", "MVT", "::", "i64", ",", "GA", "->", "getOffset", "(", ")", ",", "TargetFlags", ")", ";", "MachineSDNode", "*", "Move", "=", "CurDAG", "->", "getMachineNode", "(", "FISC", "::", "MOVRZ", ",", "N", ",", "MVT", "::", "i64", ",", "TargetGlobalAddr", ",", "CurDAG", "->", "getTargetConstant", "(", "0", ",", "N", ",", "MVT", "::", "i64", ")", ")", ";", "CurDAG", "->", "ReplaceAllUsesWith", "(", "N", "->", "getOperand", "(", "2", ")", ",", "SDValue", "(", "Move", ",", "0", ")", ")", ";", "}", "break", ";", "case", "FISCISD", "::", "CALL", ":", "{", "unsigned", "int", "operand2Opc", "=", "N", "->", "getOperand", "(", "1", ")", ".", "getOpcode", "(", ")", ";", "if", "(", "operand2Opc", "==", "ISD", "::", "LOAD", "||", "operand2Opc", "==", "ISD", "::", "CopyFromReg", ")", "{", "return", "SelectCallFunctionPointer", "(", "N", ")", ";", "}", "break", ";", "}", "case", "ISD", "::", "SRL", ":", "return", "SelectShifts", "(", "N", ")", ";", "case", "ISD", "::", "MULHU", ":", "case", "ISD", "::", "MULHS", ":", "return", "SelectMUL", "(", "N", ")", ";", "}", "return", "SelectCode", "(", "N", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["FISC", "FISC", "\">>>>>> Selecting Node: \"", "\"\\n\"", "ISD::LOAD", "ISD::STORE", "ISD::FrameIndex", "ISD::Constant", "0", "ISD::ADD", "0", "ISD::TargetGlobalAddress", "0", "FISCISD::CMP", "ISD::BR_CC", "ISD::CopyToReg", "2", "ISD::TargetGlobalAddress", "2", "FISCII::MO_MOVRZ", "FISCII::MO_Q1", "MVT::i64", "FISC::MOVRZ", "MVT::i64", "0", "MVT::i64", "2", "0", "FISCISD::CALL", "1", "ISD::LOAD", "ISD::CopyFromReg", "ISD::SRL", "ISD::MULHU", "ISD::MULHS"], "File": "FISCISelDAGToDAG", "Func": "Select", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16721, "Length": 401, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "override", "{", "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": "SparcAsmBackend22", "Func": "relaxInstruction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16722, "Length": 23, "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", ":", "OperandsMapping", "=", "&", "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", "1"], "File": "MipsRegisterBankInfo11", "Func": "getInstrMapping", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16723, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "quad_address_p", "(", "rtx", "addr", ",", "machine_mode", "mode", ",", "bool", "strict", ")", "{", "rtx", "op0", ",", "op1", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "!=", "16", ")", "return", "false", ";", "if", "(", "legitimate_indirect_address_p", "(", "addr", ",", "strict", ")", ")", "return", "true", ";", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", "&&", "!", "mode_supports_dq_form", "(", "mode", ")", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "addr", ")", "!=", "PLUS", ")", "return", "false", ";", "op0", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "if", "(", "!", "REG_P", "(", "op0", ")", "||", "!", "INT_REG_OK_FOR_BASE_P", "(", "op0", ",", "strict", ")", ")", "return", "false", ";", "op1", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "if", "(", "!", "CONST_INT_P", "(", "op1", ")", ")", "return", "false", ";", "return", "quad_address_offset_p", "(", "INTVAL", "(", "op1", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "ADDR", "is", "an", "acceptable", "address", "for", "a", "quad", "memory", "operation", "of", "mode", "MODE", "(", "either", "LQ/STQ", "for", "general", "purpose", "registers", ",", "or", "LXV/STXV", "for", "vector", "registers", "under", "ISA", "3.0", ".", "GPR_P", "is", "true", "if", "this", "address", "is", "intended", "for", "LQ/STQ", ".", "If", "it", "is", "false", ",", "the", "address", "is", "intended", "for", "the", "ISA", "3.0", "LXV/STXV", "instruction", "."], "TS_V_token": ["rs6000", "16", "0", "1"], "File": "rs60008", "Func": "quad_address_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16724, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "OutgoingValueHandler", "::", "getStackAddress", "(", "const", "CCValAssign", "&", "VA", ",", "MachineMemOperand", "*", "&", "MMO", ")", "{", "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", ")", ";", "unsigned", "Offset", "=", "VA", ".", "getLocMemOffset", "(", ")", ";", "MIRBuilder", ".", "buildConstant", "(", "OffsetReg", ",", "Offset", ")", ";", "unsigned", "AddrReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "p0", ")", ";", "MIRBuilder", ".", "buildGEP", "(", "AddrReg", ",", "SPReg", ",", "OffsetReg", ")", ";", "MachinePointerInfo", "MPO", "=", "MachinePointerInfo", "::", "getStack", "(", "MIRBuilder", ".", "getMF", "(", ")", ",", "Offset", ")", ";", "unsigned", "Size", "=", "alignTo", "(", "VA", ".", "getValVT", "(", ")", ".", "getSizeInBits", "(", ")", ",", "8", ")", "/", "8", ";", "MMO", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getMachineMemOperand", "(", "MPO", ",", "MachineMemOperand", "::", "MOStore", ",", "Size", ",", "0", ")", ";", "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", "8", "8", "0"], "File": "MipsCallLowering1", "Func": "getStackAddress", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16725, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PassConfig", "::", "addLegalizeMachineIR", "(", ")", "{", "addPass", "(", "new", "MachineLegalizePass", "(", ")", ")", ";", "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": ["AArch64", "AArch64"], "File": "AArch64TargetMachine74", "Func": "addLegalizeMachineIR", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16726, "Length": 19, "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", ")", ";", "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": "X86FrameLowering103", "Func": "restoreCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16727, "Length": 245, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "OS", ")", "{", "if", "(", "ExtraCode", "&&", "*", "ExtraCode", "==", "'n'", ")", "{", "if", "(", "!", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isImm", "(", ")", ")", "return", "true", ";", "OS", "<<", "-", "int64_t", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", ")", ";", "}", "else", "{", "SystemZMCInstLower", "Lower", "(", "MF", "->", "getContext", "(", ")", ",", "*", "this", ")", ";", "MCOperand", "MO", "(", "Lower", ".", "lowerOperand", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ")", ")", ";", "SystemZInstPrinter", "::", "printOperand", "(", "MO", ",", "MAI", ",", "OS", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ"], "File": "SystemZAsmPrinter (2)", "Func": "PrintAsmOperand", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16728, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "nds32_read_argument", "(", "tree", "exp", ",", "unsigned", "int", "index", ")", "{", "return", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "index", ")", ")", ";", "}", ""], "natrual_language": ["Read", "the", "requested", "argument", "from", "the", "EXP", "given", "by", "INDEX", ".", "Return", "the", "value", "as", "an", "rtx", "."], "TS_V_token": ["nds32"], "File": "nds32-intrinsic", "Func": "nds32_read_argument", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16729, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZCopyPhysRegs", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "TII", "=", "static_cast", "<", "const", "SystemZInstrInfo", "*", ">", "(", "F", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MRI", "=", "&", "F", ".", "getRegInfo", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "auto", "&", "MBB", ":", "F", ")", "Modified", "|=", "visitMBB", "(", "MBB", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ"], "File": "SystemZCopyPhysRegs", "Func": "runOnMachineFunction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16730, "Length": 63, "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_arch5t", ")", "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", "&&", "TARGET_HARD_FLOAT", "&&", "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", ")", "&&", "!", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_mve", ")", ")", "error", "(", "\"%<-mfloat-abi=hard%>: selected architecture 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 architecture lacks an FPU\"", "\"%<-mfloat-abi=hard%> and VFP\""], "File": "arm1", "Func": "arm_options_perform_arch_sanity_checks", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16731, "Length": 246, "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": 16732, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTTIImpl", "::", "isLegalMaskedGather", "(", "Type", "*", "Ty", ",", "MaybeAlign", "Alignment", ")", "{", "if", "(", "!", "EnableMaskedGatherScatters", "||", "!", "ST", "->", "hasMVEIntegerOps", "(", ")", ")", "return", "false", ";", "if", "(", "isa", "<", "VectorType", ">", "(", "Ty", ")", ")", "return", "false", ";", "unsigned", "EltWidth", "=", "Ty", "->", "getScalarSizeInBits", "(", ")", ";", "return", "(", "(", "EltWidth", "==", "32", "&&", "(", "!", "Alignment", "||", "*", "Alignment", ">=", "4", ")", ")", "||", "(", "EltWidth", "==", "16", "&&", "(", "!", "Alignment", "||", "*", "Alignment", ">=", "2", ")", ")", "||", "EltWidth", "==", "8", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "gather", "."], "TS_V_token": ["ARM", "ARM", "32", "4", "16", "2", "8"], "File": "ARMTargetTransformInfo1", "Func": "isLegalMaskedGather", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16733, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"AArch64 Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64", "\"AArch64 Assembly Printer\""], "File": "AArch64AsmPrinter (2)", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16734, "Length": 13, "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": 16735, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "emitBasicBlockEnd", "(", "const", "MachineBasicBlock", "&", "MBB", ")", "{", "AsmPrinter", "::", "emitBasicBlockEnd", "(", "MBB", ")", ";", "MipsTargetStreamer", "&", "TS", "=", "getTargetStreamer", "(", ")", ";", "if", "(", "MBB", ".", "empty", "(", ")", ")", "TS", ".", "emitDirectiveInsn", "(", ")", ";", "}", ""], "natrual_language": ["Targets", "can", "override", "this", "to", "emit", "stuff", "at", "the", "end", "of", "a", "basic", "block", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsAsmPrinter", "Func": "emitBasicBlockEnd", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16736, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "unsigned", ">", "&", "Ops", ",", "MachineInstr", "*", "LoadMI", ")", "const", "{", "return", "0", ";", "}", ""], "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": ["ARM", "0"], "File": "Thumb1InstrInfo14", "Func": "foldMemoryOperandImpl", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16737, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "getTgtMemIntrinsic", "(", "IntrinsicInfo", "&", "Info", ",", "const", "CallInst", "&", "I", ",", "MachineFunction", "&", "MF", ",", "unsigned", "Intrinsic", ")", "const", "{", "switch", "(", "Intrinsic", ")", "{", "case", "Intrinsic", "::", "ppc_altivec_lvx", ":", "case", "Intrinsic", "::", "ppc_altivec_lvxl", ":", "case", "Intrinsic", "::", "ppc_altivec_lvebx", ":", "case", "Intrinsic", "::", "ppc_altivec_lvehx", ":", "case", "Intrinsic", "::", "ppc_altivec_lvewx", ":", "case", "Intrinsic", "::", "ppc_vsx_lxvd2x", ":", "case", "Intrinsic", "::", "ppc_vsx_lxvw4x", ":", "case", "Intrinsic", "::", "ppc_vsx_lxvd2x_be", ":", "case", "Intrinsic", "::", "ppc_vsx_lxvw4x_be", ":", "case", "Intrinsic", "::", "ppc_vsx_lxvl", ":", "case", "Intrinsic", "::", "ppc_vsx_lxvll", ":", "{", "EVT", "VT", ";", "switch", "(", "Intrinsic", ")", "{", "case", "Intrinsic", "::", "ppc_altivec_lvebx", ":", "VT", "=", "MVT", "::", "i8", ";", "break", ";", "case", "Intrinsic", "::", "ppc_altivec_lvehx", ":", "VT", "=", "MVT", "::", "i16", ";", "break", ";", "case", "Intrinsic", "::", "ppc_altivec_lvewx", ":", "VT", "=", "MVT", "::", "i32", ";", "break", ";", "case", "Intrinsic", "::", "ppc_vsx_lxvd2x", ":", "case", "Intrinsic", "::", "ppc_vsx_lxvd2x_be", ":", "VT", "=", "MVT", "::", "v2f64", ";", "break", ";", "default", ":", "VT", "=", "MVT", "::", "v4i32", ";", "break", ";", "}", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_W_CHAIN", ";", "Info", ".", "memVT", "=", "VT", ";", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "0", ")", ";", "Info", ".", "offset", "=", "-", "VT", ".", "getStoreSize", "(", ")", "+", "1", ";", "Info", ".", "size", "=", "2", "*", "VT", ".", "getStoreSize", "(", ")", "-", "1", ";", "Info", ".", "align", "=", "Align", "(", "1", ")", ";", "Info", ".", "flags", "=", "MachineMemOperand", "::", "MOLoad", ";", "return", "true", ";", "}", "case", "Intrinsic", "::", "ppc_altivec_stvx", ":", "case", "Intrinsic", "::", "ppc_altivec_stvxl", ":", "case", "Intrinsic", "::", "ppc_altivec_stvebx", ":", "case", "Intrinsic", "::", "ppc_altivec_stvehx", ":", "case", "Intrinsic", "::", "ppc_altivec_stvewx", ":", "case", "Intrinsic", "::", "ppc_vsx_stxvd2x", ":", "case", "Intrinsic", "::", "ppc_vsx_stxvw4x", ":", "case", "Intrinsic", "::", "ppc_vsx_stxvd2x_be", ":", "case", "Intrinsic", "::", "ppc_vsx_stxvw4x_be", ":", "case", "Intrinsic", "::", "ppc_vsx_stxvl", ":", "case", "Intrinsic", "::", "ppc_vsx_stxvll", ":", "{", "EVT", "VT", ";", "switch", "(", "Intrinsic", ")", "{", "case", "Intrinsic", "::", "ppc_altivec_stvebx", ":", "VT", "=", "MVT", "::", "i8", ";", "break", ";", "case", "Intrinsic", "::", "ppc_altivec_stvehx", ":", "VT", "=", "MVT", "::", "i16", ";", "break", ";", "case", "Intrinsic", "::", "ppc_altivec_stvewx", ":", "VT", "=", "MVT", "::", "i32", ";", "break", ";", "case", "Intrinsic", "::", "ppc_vsx_stxvd2x", ":", "case", "Intrinsic", "::", "ppc_vsx_stxvd2x_be", ":", "VT", "=", "MVT", "::", "v2f64", ";", "break", ";", "default", ":", "VT", "=", "MVT", "::", "v4i32", ";", "break", ";", "}", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_VOID", ";", "Info", ".", "memVT", "=", "VT", ";", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "1", ")", ";", "Info", ".", "offset", "=", "-", "VT", ".", "getStoreSize", "(", ")", "+", "1", ";", "Info", ".", "size", "=", "2", "*", "VT", ".", "getStoreSize", "(", ")", "-", "1", ";", "Info", ".", "align", "=", "Align", "(", "1", ")", ";", "Info", ".", "flags", "=", "MachineMemOperand", "::", "MOStore", ";", "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": ["PowerPC", "PPC", "Intrinsic::ppc_altivec_lvx", "Intrinsic::ppc_altivec_lvxl", "Intrinsic::ppc_altivec_lvebx", "Intrinsic::ppc_altivec_lvehx", "Intrinsic::ppc_altivec_lvewx", "Intrinsic::ppc_vsx_lxvd2x", "Intrinsic::ppc_vsx_lxvw4x", "Intrinsic::ppc_vsx_lxvd2x_be", "Intrinsic::ppc_vsx_lxvw4x_be", "Intrinsic::ppc_vsx_lxvl", "Intrinsic::ppc_vsx_lxvll", "Intrinsic::ppc_altivec_lvebx", "MVT::i8", "Intrinsic::ppc_altivec_lvehx", "MVT::i16", "Intrinsic::ppc_altivec_lvewx", "MVT::i32", "Intrinsic::ppc_vsx_lxvd2x", "Intrinsic::ppc_vsx_lxvd2x_be", "MVT::v2f64", "MVT::v4i32", "ISD::INTRINSIC_W_CHAIN", "0", "1", "2", "1", "1", "Intrinsic::ppc_altivec_stvx", "Intrinsic::ppc_altivec_stvxl", "Intrinsic::ppc_altivec_stvebx", "Intrinsic::ppc_altivec_stvehx", "Intrinsic::ppc_altivec_stvewx", "Intrinsic::ppc_vsx_stxvd2x", "Intrinsic::ppc_vsx_stxvw4x", "Intrinsic::ppc_vsx_stxvd2x_be", "Intrinsic::ppc_vsx_stxvw4x_be", "Intrinsic::ppc_vsx_stxvl", "Intrinsic::ppc_vsx_stxvll", "Intrinsic::ppc_altivec_stvebx", "MVT::i8", "Intrinsic::ppc_altivec_stvehx", "MVT::i16", "Intrinsic::ppc_altivec_stvewx", "MVT::i32", "Intrinsic::ppc_vsx_stxvd2x", "Intrinsic::ppc_vsx_stxvd2x_be", "MVT::v2f64", "MVT::v4i32", "ISD::INTRINSIC_VOID", "1", "1", "2", "1", "1"], "File": "PPCISelLowering12", "Func": "getTgtMemIntrinsic", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16738, "Length": 447, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "char", "*", "detect_caches_linux", "(", "void", ")", "{", "unsigned", "l1_sizekb", ",", "l1_line", ",", "l1_assoc", ",", "l2_sizekb", ";", "const", "char", "*", "platform", ";", "platform", "=", "elf_platform", "(", ")", ";", "if", "(", "platform", "!=", "NULL", ")", "{", "l1_line", "=", "128", ";", "if", "(", "platform", "[", "5", "]", "==", "'6'", ")", "l1_sizekb", "=", "64", ";", "else", "l1_sizekb", "=", "32", ";", "}", "else", "{", "l1_line", "=", "elf_dcachebsize", "(", ")", ";", "l1_sizekb", "=", "32", ";", "}", "l1_assoc", "=", "0", ";", "l2_sizekb", "=", "512", ";", "return", "describe_cache", "(", "l1_sizekb", ",", "l1_line", ",", "l1_assoc", ",", "l2_sizekb", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "description", "of", "caches", "on", "Linux", "."], "TS_V_token": ["powerpcspe", "128", "5", "64", "32", "32", "0", "512"], "File": "driver-powerpcspe", "Func": "detect_caches_linux", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16739, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZMCAsmBackend", "::", "shouldForceRelocation", "(", "const", "MCAssembler", "&", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", ")", "{", "return", "Fixup", ".", "getKind", "(", ")", ">=", "FirstLiteralRelocationKind", ";", "}", ""], "natrual_language": ["Hook", "to", "check", "if", "a", "relocation", "is", "needed", "for", "some", "target", "specific", "reason", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZMCAsmBackend10", "Func": "shouldForceRelocation", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16740, "Length": 29, "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", "::", "Style", "::", "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", "::", "Style", "::", "None", ")", ";", "else", "if", "(", "is64Bit", "(", ")", ")", "setPICStyle", "(", "PICStyles", "::", "Style", "::", "RIPRel", ")", ";", "else", "if", "(", "isTargetCOFF", "(", ")", ")", "setPICStyle", "(", "PICStyles", "::", "Style", "::", "None", ")", ";", "else", "if", "(", "isTargetDarwin", "(", ")", ")", "setPICStyle", "(", "PICStyles", "::", "Style", "::", "StubPIC", ")", ";", "else", "if", "(", "isTargetELF", "(", ")", ")", "setPICStyle", "(", "PICStyles", "::", "Style", "::", "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": "X86Subtarget (2)3", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16741, "Length": 305, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "rx_promote_function_mode", "(", "const_tree", "type", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ",", "int", "*", "punsignedp", "ATTRIBUTE_UNUSED", ",", "const_tree", "funtype", "ATTRIBUTE_UNUSED", ",", "int", "for_return", ")", "{", "if", "(", "for_return", "!=", "1", "||", "GET_MODE_SIZE", "(", "mode", ")", ">=", "4", "||", "COMPLEX_MODE_P", "(", "mode", ")", "||", "VECTOR_MODE_P", "(", "mode", ")", "||", "VECTOR_TYPE_P", "(", "type", ")", "||", "GET_MODE_SIZE", "(", "mode", ")", "<", "1", ")", "return", "mode", ";", "return", "SImode", ";", "}", ""], "natrual_language": ["TARGET_PROMOTE_FUNCTION_MODE", "must", "behave", "in", "the", "same", "way", "with", "regard", "to", "function", "returns", "as", "does", "TARGET_FUNCTION_VALUE", "."], "TS_V_token": ["rx", "1", "4", "1"], "File": "rx", "Func": "rx_promote_function_mode", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16742, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "sh_preferred_reload_class", "(", "rtx", "x", ",", "reg_class_t", "rclass", ")", "{", "if", "(", "rclass", "==", "NO_REGS", "&&", "TARGET_SHMEDIA", "&&", "(", "CONST_DOUBLE_P", "(", "x", ")", "||", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "||", "PIC_ADDR_P", "(", "x", ")", ")", ")", "return", "GENERAL_REGS", ";", "return", "rclass", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PREFERRED_RELOAD_CLASS", "."], "TS_V_token": ["sh"], "File": "sh4", "Func": "sh_preferred_reload_class", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16743, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_fp_comparison_arithmetics_cost", "(", "enum", "rtx_code", "code", ")", "{", "if", "(", "!", "TARGET_IEEE_FP", ")", "return", "4", ";", "switch", "(", "code", ")", "{", "case", "UNLE", ":", "case", "UNLT", ":", "case", "LTGT", ":", "case", "GT", ":", "case", "GE", ":", "case", "UNORDERED", ":", "case", "ORDERED", ":", "case", "UNEQ", ":", "return", "4", ";", "break", ";", "case", "LT", ":", "case", "NE", ":", "case", "EQ", ":", "case", "UNGE", ":", "return", "5", ";", "break", ";", "case", "LE", ":", "case", "UNGT", ":", "return", "6", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "cost", "of", "comparison", "done", "fcom", "+", "arithmetics", "operations", "on", "AX", ".", "All", "following", "functions", "do", "use", "number", "of", "instructions", "as", "a", "cost", "metrics", ".", "In", "future", "this", "should", "be", "tweaked", "to", "compute", "bytes", "for", "optimize_size", "and", "take", "into", "account", "performance", "of", "various", "instructions", "on", "various", "CPUs", "."], "TS_V_token": ["i386", "4", "4", "5", "6"], "File": "i3863", "Func": "ix86_fp_comparison_arithmetics_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16744, "Length": 87, "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": 16745, "Length": 25, "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": "AArch64AdvSIMDScalarPass13", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16746, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsPassConfig", "::", "addIRPasses", "(", ")", "{", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "addPass", "(", "createAtomicExpandPass", "(", "&", "getMipsTargetMachine", "(", ")", ")", ")", ";", "if", "(", "getMipsSubtarget", "(", ")", ".", "os16", "(", ")", ")", "addPass", "(", "createMipsOs16", "(", "getMipsTargetMachine", "(", ")", ")", ")", ";", "if", "(", "getMipsSubtarget", "(", ")", ".", "inMips16HardFloat", "(", ")", ")", "addPass", "(", "createMips16HardFloat", "(", "getMipsTargetMachine", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsTargetMachine28", "Func": "addIRPasses", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16747, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "has_immediate", "(", "rtx", "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": "i3864", "Func": "has_immediate", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16748, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_cracked_insn", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "!", "insn", "||", "!", "NONDEBUG_INSN_P", "(", "insn", ")", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "USE", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "CLOBBER", ")", "return", "false", ";", "if", "(", "rs6000_sched_groups", "&&", "(", "rs6000_cpu", "==", "PROCESSOR_POWER4", "||", "rs6000_cpu", "==", "PROCESSOR_POWER5", ")", ")", "{", "enum", "attr_type", "type", "=", "get_attr_type", "(", "insn", ")", ";", "if", "(", "(", "type", "==", "TYPE_LOAD", "&&", "get_attr_sign_extend", "(", "insn", ")", "==", "SIGN_EXTEND_YES", "&&", "get_attr_update", "(", "insn", ")", "==", "UPDATE_NO", ")", "||", "(", "type", "==", "TYPE_LOAD", "&&", "get_attr_sign_extend", "(", "insn", ")", "==", "SIGN_EXTEND_NO", "&&", "get_attr_update", "(", "insn", ")", "==", "UPDATE_YES", "&&", "get_attr_indexed", "(", "insn", ")", "==", "INDEXED_NO", ")", "||", "(", "type", "==", "TYPE_STORE", "&&", "get_attr_update", "(", "insn", ")", "==", "UPDATE_YES", "&&", "get_attr_indexed", "(", "insn", ")", "==", "INDEXED_NO", ")", "||", "(", "(", "type", "==", "TYPE_FPLOAD", "||", "type", "==", "TYPE_FPSTORE", ")", "&&", "get_attr_update", "(", "insn", ")", "==", "UPDATE_YES", ")", "||", "type", "==", "TYPE_DELAYED_CR", "||", "(", "type", "==", "TYPE_EXTS", "&&", "get_attr_dot", "(", "insn", ")", "==", "DOT_YES", ")", "||", "(", "type", "==", "TYPE_SHIFT", "&&", "get_attr_dot", "(", "insn", ")", "==", "DOT_YES", "&&", "get_attr_var_shift", "(", "insn", ")", "==", "VAR_SHIFT_NO", ")", "||", "(", "type", "==", "TYPE_MUL", "&&", "get_attr_dot", "(", "insn", ")", "==", "DOT_YES", ")", "||", "type", "==", "TYPE_DIV", "||", "(", "type", "==", "TYPE_INSERT", "&&", "get_attr_size", "(", "insn", ")", "==", "SIZE_32", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["The", "function", "returns", "true", "if", "INSN", "is", "cracked", "into", "2", "instructions", "by", "the", "processor", "(", "and", "therefore", "occupies", "2", "issue", "slots", ")", "."], "TS_V_token": ["rs6000"], "File": "rs60004", "Func": "is_cracked_insn", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16749, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "aarch64_arch_driver_info", "*", "get_arch_from_id", "(", "const", "char", "*", "id", ")", "{", "unsigned", "int", "i", "=", "0", ";", "for", "(", "i", "=", "0", ";", "aarch64_arches", "[", "i", "]", ".", "id", "!=", "NULL", ";", "i", "++", ")", "{", "if", "(", "strcmp", "(", "id", ",", "aarch64_arches", "[", "i", "]", ".", "id", ")", "==", "0", ")", "return", "&", "aarch64_arches", "[", "i", "]", ";", "}", "return", "NULL", ";", "}", ""], "natrual_language": ["Return", "an", "aarch64_arch_driver_info", "for", "the", "architecture", "described", "by", "ID", ",", "or", "NULL", "if", "ID", "describes", "something", "we", "do", "n't", "know", "about", "."], "TS_V_token": ["aarch64", "0", "0", "0"], "File": "driver-aarch64", "Func": "get_arch_from_id", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16750, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", "ATTRIBUTE_UNUSED", ")", "{", "return", "(", "1", "&&", "(", "!", "TARGET_SHCOMPACT", "||", "crtl", "->", "args", ".", "info", ".", "stack_regs", "==", "0", ")", "&&", "!", "sh_cfun_interrupt_handler_p", "(", ")", "&&", "(", "!", "flag_pic", "||", "(", "decl", "&&", "!", "TREE_PUBLIC", "(", "decl", ")", ")", "||", "(", "decl", "&&", "DECL_VISIBILITY", "(", "decl", ")", "!=", "VISIBILITY_DEFAULT", ")", ")", ")", ";", "}", ""], "natrual_language": ["If", "PIC", ",", "we", "can", "not", "make", "sibling", "calls", "to", "global", "functions", "because", "the", "PLT", "requires", "r12", "to", "be", "live", "."], "TS_V_token": ["sh", "1", "0"], "File": "sh4", "Func": "sh_function_ok_for_sibcall", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16751, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "compute_zdepdi_operands", "(", "unsigned", "HOST_WIDE_INT", "imm", ",", "unsigned", "*", "op", ")", "{", "int", "lsb", ",", "len", ",", "maxlen", ";", "maxlen", "=", "MIN", "(", "HOST_BITS_PER_WIDE_INT", ",", "64", ")", ";", "for", "(", "lsb", "=", "0", ";", "lsb", "<", "maxlen", ";", "lsb", "++", ")", "{", "if", "(", "(", "imm", "&", "1", ")", "!=", "0", ")", "break", ";", "imm", ">>=", "1", ";", "}", "if", "(", "(", "imm", "&", "0x10", ")", "==", "0", ")", "len", "=", "(", "lsb", "<=", "maxlen", "-", "4", ")", "?", "4", ":", "maxlen", "-", "lsb", ";", "else", "{", "for", "(", "len", "=", "5", ";", "len", "<", "maxlen", "-", "lsb", ";", "len", "++", ")", "{", "if", "(", "(", "imm", "&", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "1", "<<", "len", ")", ")", "==", "0", ")", "break", ";", "}", "if", "(", "HOST_BITS_PER_WIDE_INT", "==", "32", "&&", "len", "==", "maxlen", "-", "lsb", ")", "len", "+=", "32", ";", "imm", "=", "(", "imm", "&", "0xf", ")", "-", "0x10", ";", "}", "op", "[", "0", "]", "=", "imm", ";", "op", "[", "1", "]", "=", "63", "-", "lsb", ";", "op", "[", "2", "]", "=", "len", ";", "}", ""], "natrual_language": ["Compute", "position", "(", "in", "OP", "[", "1", "]", ")", "and", "width", "(", "in", "OP", "[", "2", "]", ")", "useful", "for", "copying", "IMM", "to", "a", "register", "using", "the", "depdi", ",", "z", "instructions", ".", "Store", "the", "immediate", "value", "to", "insert", "in", "OP", "[", "0", "]", "."], "TS_V_token": ["pa", "64", "0", "1", "0", "1", "0x10", "0", "4", "4", "5", "1", "0", "32", "32", "0xf", "0x10", "0", "1", "63", "2"], "File": "pa", "Func": "compute_zdepdi_operands", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16752, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseRegisterInfo", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "STI", ".", "isTargetDarwin", "(", ")", ")", "return", "true", ";", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "(", "(", "DisableFramePointerElim", "(", "MF", ")", "&&", "MFI", "->", "hasCalls", "(", ")", ")", "||", "needsStackRealignment", "(", "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": "ARMBaseRegisterInfo29", "Func": "hasFP", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16753, "Length": 68, "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": 16754, "Length": 402, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getFirstTerminator", "(", ")", ";", "bool", "IsEHFuncletEpilogue", "=", "MBBI", "==", "MBB", ".", "end", "(", ")", "?", "false", ":", "isFuncletReturnInstr", "(", "*", "MBBI", ")", ";", "const", "X86FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "getIndex", "(", ")", ";", "int", "FIOffset", ";", "Register", "BasePtr", ";", "if", "(", "MI", ".", "isReturn", "(", ")", ")", "{", "assert", "(", "(", "!", "needsStackRealignment", "(", "MF", ")", "||", "MF", ".", "getFrameInfo", "(", ")", ".", "isFixedObjectIndex", "(", "FrameIndex", ")", ")", "&&", "\"Return instruction can only reference SP relative frame objects\"", ")", ";", "FIOffset", "=", "TFI", "->", "getFrameIndexReferenceSP", "(", "MF", ",", "FrameIndex", ",", "BasePtr", ",", "0", ")", ";", "}", "else", "if", "(", "TFI", "->", "Is64Bit", "&&", "(", "MBB", ".", "isEHFuncletEntry", "(", ")", "||", "IsEHFuncletEpilogue", ")", ")", "{", "FIOffset", "=", "TFI", "->", "getWin64EHFrameIndexRef", "(", "MF", ",", "FrameIndex", ",", "BasePtr", ")", ";", "}", "else", "{", "FIOffset", "=", "TFI", "->", "getFrameIndexReference", "(", "MF", ",", "FrameIndex", ",", "BasePtr", ")", ";", "}", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "TargetOpcode", "::", "LOCAL_ESCAPE", ")", "{", "MachineOperand", "&", "FI", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ";", "FI", ".", "ChangeToImmediate", "(", "FIOffset", ")", ";", "return", ";", "}", "Register", "MachineBasePtr", "=", "BasePtr", ";", "if", "(", "Opc", "==", "X86", "::", "LEA64_32r", "&&", "X86", "::", "GR32RegClass", ".", "contains", "(", "BasePtr", ")", ")", "MachineBasePtr", "=", "getX86SubSuperRegister", "(", "BasePtr", ",", "64", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "MachineBasePtr", ",", "false", ")", ";", "if", "(", "BasePtr", "==", "StackPtr", ")", "FIOffset", "+=", "SPAdj", ";", "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!\"", ")", ";", "if", "(", "Offset", "!=", "0", "||", "!", "tryOptimizeLEAtoMOV", "(", "II", ")", ")", "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", "X86", "\"Return instruction can only reference SP relative frame objects\"", "0", "X86::LEA64_32r", "X86::GR32RegClass", "X86", "64", "\"Expected the FP as base register\"", "1", "1", "3", "3", "32", "\"Requesting 64-bit offset in 32-bit immediate!\"", "0", "3", "3", "3"], "File": "X86RegisterInfo15", "Func": "eliminateFrameIndex", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16755, "Length": 495, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "shouldExpandAtomicLoadInIR", "(", "LoadInst", "*", "LI", ")", "const", "{", "auto", "PTy", "=", "cast", "<", "PointerType", ">", "(", "LI", "->", "getPointerOperand", "(", ")", "->", "getType", "(", ")", ")", ";", "return", "needsCmpXchgNb", "(", "PTy", "->", "getElementType", "(", ")", ")", ";", "}", ""], "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)4", "Func": "shouldExpandAtomicLoadInIR", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16756, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "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": ["ARM", "ARM"], "File": "ARMISelLowering (2)", "Func": "isOffsetFoldingLegal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16757, "Length": 16, "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": 16758, "Length": 49, "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", "(", "allocno_class", "!=", "ALL_REGS", ")", "return", "allocno_class", ";", "if", "(", "best_class", "!=", "ALL_REGS", ")", "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": "aarch645", "Func": "aarch64_ira_change_pseudo_allocno_class", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16759, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_use_sched_lookahead_guard", "(", "rtx_insn", "*", "insn", ",", "int", "ready_index", ")", "{", "if", "(", "ready_index", "==", "0", ")", "return", "0", ";", "if", "(", "rs6000_cpu_attr", "!=", "CPU_CELL", ")", "return", "0", ";", "gcc_assert", "(", "insn", "!=", "NULL_RTX", "&&", "INSN_P", "(", "insn", ")", ")", ";", "if", "(", "!", "reload_completed", "||", "is_nonpipeline_insn", "(", "insn", ")", "||", "is_microcoded_insn", "(", "insn", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["We", "are", "choosing", "insn", "from", "the", "ready", "queue", ".", "Return", "zero", "if", "INSN", "can", "be", "chosen", "."], "TS_V_token": ["powerpcspe", "0", "0", "0", "1", "0"], "File": "powerpcspe", "Func": "rs6000_use_sched_lookahead_guard", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16760, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_use_pseudo_pic_reg", "(", "void", ")", "{", "return", "!", "TARGET_VXWORKS_RTP", "&&", "flag_pic", ";", "}", ""], "natrual_language": ["Implement", "TARGET_USE_PSEUDO_PIC_REG", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "sparc_use_pseudo_pic_reg", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16761, "Length": 14, "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", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "X86Subtarget", "&", "STI", "=", "MF", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "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", "X86", "X86::PUSH64r", "X86::PUSH32r", "0", "1", "X86::GR64RegClass", "X86::GR32RegClass", "0", "1", "X86::GR64RegClass", "X86::GR32RegClass", "1"], "File": "X86FrameLowering115", "Func": "spillCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16762, "Length": 322, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64CondBrTuning", "::", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64CondBrTuning", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16763, "Length": 25, "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": 16764, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsOutgoingValueHandler", "::", "assignCustomValue", "(", "CallLowering", "::", "ArgInfo", "&", "Arg", ",", "ArrayRef", "<", "CCValAssign", ">", "VAs", ",", "std", "::", "function", "<", "void", "(", ")", ">", "*", "Thunk", ")", "{", "const", "CCValAssign", "&", "VALo", "=", "VAs", "[", "0", "]", ";", "const", "CCValAssign", "&", "VAHi", "=", "VAs", "[", "1", "]", ";", "assert", "(", "VALo", ".", "getLocVT", "(", ")", "==", "MVT", "::", "i32", "&&", "VAHi", ".", "getLocVT", "(", ")", "==", "MVT", "::", "i32", "&&", "VALo", ".", "getValVT", "(", ")", "==", "MVT", "::", "f64", "&&", "VAHi", ".", "getValVT", "(", ")", "==", "MVT", "::", "f64", "&&", "\"unexpected custom value\"", ")", ";", "auto", "Unmerge", "=", "MIRBuilder", ".", "buildUnmerge", "(", "{", "LLT", "::", "scalar", "(", "32", ")", ",", "LLT", "::", "scalar", "(", "32", ")", "}", ",", "Arg", ".", "Regs", "[", "0", "]", ")", ";", "Register", "Lo", "=", "Unmerge", ".", "getReg", "(", "0", ")", ";", "Register", "Hi", "=", "Unmerge", ".", "getReg", "(", "1", ")", ";", "Arg", ".", "OrigRegs", ".", "assign", "(", "Arg", ".", "Regs", ".", "begin", "(", ")", ",", "Arg", ".", "Regs", ".", "end", "(", ")", ")", ";", "Arg", ".", "Regs", "=", "{", "Lo", ",", "Hi", "}", ";", "if", "(", "!", "STI", ".", "isLittle", "(", ")", ")", "std", "::", "swap", "(", "Lo", ",", "Hi", ")", ";", "if", "(", "Thunk", ")", "{", "*", "Thunk", "=", "[", "=", "]", "(", ")", "{", "MIRBuilder", ".", "buildCopy", "(", "VALo", ".", "getLocReg", "(", ")", ",", "Lo", ")", ";", "MIRBuilder", ".", "buildCopy", "(", "VAHi", ".", "getLocReg", "(", ")", ",", "Hi", ")", ";", "}", ";", "return", "2", ";", "}", "MIRBuilder", ".", "buildCopy", "(", "VALo", ".", "getLocReg", "(", ")", ",", "Lo", ")", ";", "MIRBuilder", ".", "buildCopy", "(", "VAHi", ".", "getLocReg", "(", ")", ",", "Hi", ")", ";", "return", "2", ";", "}", ""], "natrual_language": ["Handle", "custom", "values", ",", "which", "may", "be", "passed", "into", "one", "or", "more", "of", "VAs", "."], "TS_V_token": ["Mips", "Mips", "0", "1", "MVT::i32", "MVT::i32", "MVT::f64", "MVT::f64", "\"unexpected custom value\"", "32", "32", "0", "0", "1", "2", "2"], "File": "MipsCallLowering (2)", "Func": "assignCustomValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16765, "Length": 272, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isProfitableToHoist", "(", "Instruction", "*", "I", ")", "const", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "Instruction", "::", "FMul", ")", "return", "true", ";", "if", "(", "I", "->", "getNumUses", "(", ")", "!=", "1", ")", "return", "true", ";", "Instruction", "*", "User", "=", "I", "->", "user_back", "(", ")", ";", "if", "(", "User", "&&", "!", "(", "User", "->", "getOpcode", "(", ")", "==", "Instruction", "::", "FSub", "||", "User", "->", "getOpcode", "(", ")", "==", "Instruction", "::", "FAdd", ")", ")", "return", "true", ";", "const", "TargetOptions", "&", "Options", "=", "getTargetMachine", "(", ")", ".", "Options", ";", "const", "DataLayout", "&", "DL", "=", "I", "->", "getModule", "(", ")", "->", "getDataLayout", "(", ")", ";", "EVT", "VT", "=", "getValueType", "(", "DL", ",", "User", "->", "getOperand", "(", "0", ")", "->", "getType", "(", ")", ")", ";", "return", "!", "(", "isFMAFasterThanFMulAndFAdd", "(", "VT", ")", "&&", "isOperationLegalOrCustom", "(", "ISD", "::", "FMA", ",", "VT", ")", "&&", "(", "Options", ".", "AllowFPOpFusion", "==", "FPOpFusion", "::", "Fast", "||", "Options", ".", "UnsafeFPMath", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "profitable", "to", "hoist", "instruction", "in", "the", "then/else", "to", "before", "if", "."], "TS_V_token": ["AArch64", "AArch64", "1", "0", "ISD::FMA"], "File": "AArch64ISelLowering (2)", "Func": "isProfitableToHoist", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16766, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "AND", ":", "return", "LowerANDOR", "(", "Op", ",", "DAG", ")", ";", "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", "::", "FP_TO_SINT", ":", "return", "LowerFP_TO_SINT", "(", "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", "::", "OR", ":", "return", "LowerANDOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "LowerSELECT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SETCC", ":", "return", "LowerSETCC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Mips", "Mips", "ISD::AND", "ISD::BRCOND", "ISD::ConstantPool", "ISD::DYNAMIC_STACKALLOC", "ISD::FP_TO_SINT", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::JumpTable", "ISD::OR", "ISD::SELECT", "ISD::SETCC", "ISD::VASTART"], "File": "MipsISelLowering115", "Func": "LowerOperation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16767, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isConditionalBranch", "(", "unsigned", "Opc", ")", "{", "switch", "(", "Opc", ")", "{", "default", ":", "return", "false", ";", "case", "ARM64", "::", "TBZ", ":", "case", "ARM64", "::", "TBNZ", ":", "case", "ARM64", "::", "CBZW", ":", "case", "ARM64", "::", "CBNZW", ":", "case", "ARM64", "::", "CBZX", ":", "case", "ARM64", "::", "CBNZX", ":", "case", "ARM64", "::", "Bcc", ":", "return", "true", ";", "}", "}", ""], "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": ["ARM64", "ARM64::TBZ", "ARM64::TBNZ", "ARM64::CBZW", "ARM64::CBNZW", "ARM64::CBZX", "ARM64::CBNZX", "ARM64::Bcc"], "File": "ARM64BranchRelaxation", "Func": "isConditionalBranch", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16768, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "classof", "(", "const", "ARMConstantPoolValue", "*", "APV", ")", "{", "return", "APV", "->", "isGlobalValue", "(", ")", "||", "APV", "->", "isBlockAddress", "(", ")", "||", "APV", "->", "isLSDA", "(", ")", "||", "APV", "->", "isPromotedGlobal", "(", ")", ";", "}", ""], "natrual_language": ["Methods", "for", "support", "type", "inquiry", "through", "isa", ",", "cast", ",", "and", "dyn_cast", ":"], "TS_V_token": ["ARM", "ARM"], "File": "ARMConstantPoolValue1", "Func": "classof", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16769, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86CallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "ArrayRef", "<", "Register", ">", "VRegs", ")", "const", "{", "assert", "(", "(", "(", "Val", "&&", "!", "VRegs", ".", "empty", "(", ")", ")", "||", "(", "!", "Val", "&&", "VRegs", ".", "empty", "(", ")", ")", ")", "&&", "\"Return value without a vreg\"", ")", ";", "auto", "MIB", "=", "MIRBuilder", ".", "buildInstrNoInsert", "(", "X86", "::", "RET", ")", ".", "addImm", "(", "0", ")", ";", "if", "(", "!", "VRegs", ".", "empty", "(", ")", ")", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "auto", "&", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "LLVMContext", "&", "Ctx", "=", "Val", "->", "getType", "(", ")", "->", "getContext", "(", ")", ";", "const", "X86TargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "X86TargetLowering", ">", "(", ")", ";", "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", ")", "{", "ArgInfo", "CurArgInfo", "=", "ArgInfo", "{", "VRegs", "[", "i", "]", ",", "SplitEVTs", "[", "i", "]", ".", "getTypeForEVT", "(", "Ctx", ")", "}", ";", "setArgFlags", "(", "CurArgInfo", ",", "AttributeList", "::", "ReturnIndex", ",", "DL", ",", "F", ")", ";", "if", "(", "!", "splitToValueTypes", "(", "CurArgInfo", ",", "SplitArgs", ",", "DL", ",", "MRI", ",", "[", "&", "]", "(", "ArrayRef", "<", "Register", ">", "Regs", ")", "{", "MIRBuilder", ".", "buildUnmerge", "(", "Regs", ",", "VRegs", "[", "i", "]", ")", ";", "}", ")", ")", "return", "false", ";", "}", "X86OutgoingValueHandler", "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", "X86", "X86", "4", "\"For each split Type there should be exactly one VReg.\"", "8", "0", "X86", "X86"], "File": "X86CallLowering18", "Func": "lowerReturn", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16770, "Length": 329, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "XNCMTargetLowering", "::", "LowerCall", "(", "SDValue", "Chain", ",", "SDValue", "Callee", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "bool", "doesNotRet", ",", "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", ")", ";", "}", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "calls", "into", "the", "specified", "DAG", "."], "TS_V_token": ["XNCM", "XNCM", "ISD::OutputArg", "ISD::InputArg", "\"Unsupported calling convention\""], "File": "XNCMISelLowering", "Func": "LowerCall", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16771, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Mips Constant Islands\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"Mips Constant Islands\""], "File": "MipsConstantIslandPass (2)1", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16772, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_return_in_memory", "(", "const_tree", "type", ",", "const_tree", "fntype", "ATTRIBUTE_UNUSED", ")", "{", "return", "SUBTARGET_RETURN_IN_MEMORY", "(", "type", ",", "fntype", ")", ";", "const", "machine_mode", "mode", "=", "type_natural_mode", "(", "type", ",", "NULL", ",", "true", ")", ";", "HOST_WIDE_INT", "size", ";", "if", "(", "POINTER_BOUNDS_TYPE_P", "(", "type", ")", ")", "return", "false", ";", "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": "i3865", "Func": "ix86_return_in_memory", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16773, "Length": 313, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "function_expander", "::", "use_vcond_mask_insn", "(", "insn_code", "icode", ",", "unsigned", "int", "merge_argno", ")", "{", "machine_mode", "mode", "=", "vector_mode", "(", "0", ")", ";", "unsigned", "int", "opno", "=", "0", ";", "rtx", "false_arg", "=", "get_fallback_value", "(", "mode", ",", "1", ",", "merge_argno", ",", "opno", ")", ";", "rtx", "pred_arg", "=", "args", "[", "opno", "++", "]", ";", "rtx", "true_arg", "=", "args", "[", "opno", "++", "]", ";", "add_output_operand", "(", "icode", ")", ";", "add_input_operand", "(", "icode", ",", "true_arg", ")", ";", "add_input_operand", "(", "icode", ",", "false_arg", ")", ";", "add_input_operand", "(", "icode", ",", "pred_arg", ")", ";", "return", "generate_insn", "(", "icode", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "call", "using", "instruction", "ICODE", ",", "which", "is", "a", "select-like", "operation", "with", "the", "following", "operands", ":", "0", ":", "output", "1", ":", "true", "value", "2", ":", "false", "value", "3", ":", "predicate", "MERGE_ARGNO", "is", "the", "argument", "that", "provides", "the", "``", "false", "''", "value", "for", "_m", "functions", ",", "or", "DEFAULT_MERGE_ARGNO", "if", "we", "should", "apply", "the", "usual", "rules", "."], "TS_V_token": ["aarch64", "0", "0", "1"], "File": "aarch64-sve-builtins", "Func": "use_vcond_mask_insn", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16774, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSection", "*", "MipsTargetObjectFile", "::", "getSectionForConstant", "(", "const", "DataLayout", "&", "DL", ",", "SectionKind", "Kind", ",", "const", "Constant", "*", "C", ")", "const", "{", "if", "(", "IsConstantInSmallSection", "(", "DL", ",", "C", ",", "*", "TM", ")", ")", "return", "SmallDataSection", ";", "return", "TargetLoweringObjectFileELF", "::", "getSectionForConstant", "(", "DL", ",", "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": "MipsTargetObjectFile", "Func": "getSectionForConstant", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16775, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_expand_vecop_qihi2", "(", "enum", "rtx_code", "code", ",", "rtx", "dest", ",", "rtx", "op1", ",", "rtx", "op2", ")", "{", "machine_mode", "himode", ",", "qimode", "=", "GET_MODE", "(", "dest", ")", ";", "rtx", "hop1", ",", "hop2", ",", "hdest", ";", "rtx", "(", "*", "gen_extend", ")", "(", "rtx", ",", "rtx", ")", ";", "rtx", "(", "*", "gen_truncate", ")", "(", "rtx", ",", "rtx", ")", ";", "bool", "uns_p", "=", "(", "code", "==", "ASHIFTRT", ")", "?", "false", ":", "true", ";", "if", "(", "qimode", "==", "E_V64QImode", ")", "return", "false", ";", "if", "(", "!", "TARGET_AVX512BW", ")", "return", "false", ";", "if", "(", "(", "qimode", "==", "V8QImode", "||", "qimode", "==", "V16QImode", ")", "&&", "!", "TARGET_AVX512VL", ")", "return", "false", ";", "if", "(", "qimode", "==", "V32QImode", "&&", "(", "TARGET_PREFER_AVX128", "||", "TARGET_PREFER_AVX256", ")", ")", "return", "false", ";", "switch", "(", "qimode", ")", "{", "case", "E_V8QImode", ":", "himode", "=", "V8HImode", ";", "gen_extend", "=", "uns_p", "?", "gen_zero_extendv8qiv8hi2", ":", "gen_extendv8qiv8hi2", ";", "gen_truncate", "=", "gen_truncv8hiv8qi2", ";", "break", ";", "case", "E_V16QImode", ":", "himode", "=", "V16HImode", ";", "gen_extend", "=", "uns_p", "?", "gen_zero_extendv16qiv16hi2", ":", "gen_extendv16qiv16hi2", ";", "gen_truncate", "=", "gen_truncv16hiv16qi2", ";", "break", ";", "case", "E_V32QImode", ":", "himode", "=", "V32HImode", ";", "gen_extend", "=", "uns_p", "?", "gen_zero_extendv32qiv32hi2", ":", "gen_extendv32qiv32hi2", ";", "gen_truncate", "=", "gen_truncv32hiv32qi2", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "hop1", "=", "gen_reg_rtx", "(", "himode", ")", ";", "hop2", "=", "gen_reg_rtx", "(", "himode", ")", ";", "hdest", "=", "gen_reg_rtx", "(", "himode", ")", ";", "emit_insn", "(", "gen_extend", "(", "hop1", ",", "op1", ")", ")", ";", "emit_insn", "(", "gen_extend", "(", "hop2", ",", "op2", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "hdest", ",", "simplify_gen_binary", "(", "code", ",", "himode", ",", "hop1", ",", "hop2", ")", ")", ")", ";", "emit_insn", "(", "gen_truncate", "(", "dest", ",", "hdest", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "function", "is", "similar", "as", "ix86_expand_vecop_qihi", ",", "but", "optimized", "under", "AVX512BW", "by", "using", "vpmovwb", ".", "For", "example", ",", "optimize", "vector", "MUL", "generation", "like", "vpmovzxbw", "ymm2", ",", "xmm0", "vpmovzxbw", "ymm3", ",", "xmm1", "vpmullw", "ymm4", ",", "ymm2", ",", "ymm3", "vpmovwb", "xmm0", ",", "ymm4", "it", "would", "take", "less", "instructions", "than", "ix86_expand_vecop_qihi", ".", "Return", "true", "if", "success", "."], "TS_V_token": ["i386"], "File": "i386-expand", "Func": "ix86_expand_vecop_qihi2", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16776, "Length": 269, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SpillSlot", "*", "getCalleeSavedSpillSlots", "(", "unsigned", "&", "NumEntries", ")", "const", "override", "{", "static", "const", "SpillSlot", "Offsets", "[", "]", "=", "{", "{", "VE", "::", "SX17", ",", "40", "}", ",", "{", "VE", "::", "SX18", ",", "48", "}", ",", "{", "VE", "::", "SX19", ",", "56", "}", ",", "{", "VE", "::", "SX20", ",", "64", "}", ",", "{", "VE", "::", "SX21", ",", "72", "}", ",", "{", "VE", "::", "SX22", ",", "80", "}", ",", "{", "VE", "::", "SX23", ",", "88", "}", ",", "{", "VE", "::", "SX24", ",", "96", "}", ",", "{", "VE", "::", "SX25", ",", "104", "}", ",", "{", "VE", "::", "SX26", ",", "112", "}", ",", "{", "VE", "::", "SX27", ",", "120", "}", ",", "{", "VE", "::", "SX28", ",", "128", "}", ",", "{", "VE", "::", "SX29", ",", "136", "}", ",", "{", "VE", "::", "SX30", ",", "144", "}", ",", "{", "VE", "::", "SX31", ",", "152", "}", ",", "{", "VE", "::", "SX32", ",", "160", "}", ",", "{", "VE", "::", "SX33", ",", "168", "}", "}", ";", "NumEntries", "=", "array_lengthof", "(", "Offsets", ")", ";", "return", "Offsets", ";", "}", ""], "natrual_language": ["getCalleeSavedSpillSlots", "-", "This", "method", "returns", "a", "pointer", "to", "an", "array", "of", "pairs", ",", "that", "contains", "an", "entry", "for", "each", "callee", "saved", "register", "that", "must", "be", "spilled", "to", "a", "particular", "stack", "location", "if", "it", "is", "spilled", "."], "TS_V_token": ["VE", "VE::SX17", "40", "VE::SX18", "48", "VE::SX19", "56", "VE::SX20", "64", "VE::SX21", "72", "VE::SX22", "80", "VE::SX23", "88", "VE::SX24", "96", "VE::SX25", "104", "VE::SX26", "112", "VE::SX27", "120", "VE::SX28", "128", "VE::SX29", "136", "VE::SX30", "144", "VE::SX31", "152", "VE::SX32", "160", "VE::SX33", "168"], "File": "VEFrameLowering", "Func": "getCalleeSavedSpillSlots", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16777, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isShuffleMaskLegal", "(", "ArrayRef", "<", "int", ">", "M", ",", "EVT", "VT", ")", "const", "{", "if", "(", "useSVEForFixedLengthVectorVT", "(", "VT", ")", ")", "return", "false", ";", "if", "(", "VT", ".", "getVectorNumElements", "(", ")", "==", "4", "&&", "(", "VT", ".", "is128BitVector", "(", ")", "||", "VT", ".", "is64BitVector", "(", ")", ")", ")", "{", "unsigned", "Cost", "=", "getPerfectShuffleCost", "(", "M", ")", ";", "if", "(", "Cost", "<=", "1", ")", "return", "true", ";", "}", "bool", "DummyBool", ";", "int", "DummyInt", ";", "unsigned", "DummyUnsigned", ";", "return", "(", "ShuffleVectorSDNode", "::", "isSplatMask", "(", "&", "M", "[", "0", "]", ",", "VT", ")", "||", "isREVMask", "(", "M", ",", "VT", ",", "64", ")", "||", "isREVMask", "(", "M", ",", "VT", ",", "32", ")", "||", "isREVMask", "(", "M", ",", "VT", ",", "16", ")", "||", "isEXTMask", "(", "M", ",", "VT", ",", "DummyBool", ",", "DummyUnsigned", ")", "||", "isTRNMask", "(", "M", ",", "VT", ",", "DummyUnsigned", ")", "||", "isUZPMask", "(", "M", ",", "VT", ",", "DummyUnsigned", ")", "||", "isZIPMask", "(", "M", ",", "VT", ",", "DummyUnsigned", ")", "||", "isTRN_v_undef_Mask", "(", "M", ",", "VT", ",", "DummyUnsigned", ")", "||", "isUZP_v_undef_Mask", "(", "M", ",", "VT", ",", "DummyUnsigned", ")", "||", "isZIP_v_undef_Mask", "(", "M", ",", "VT", ",", "DummyUnsigned", ")", "||", "isINSMask", "(", "M", ",", "VT", ".", "getVectorNumElements", "(", ")", ",", "DummyBool", ",", "DummyInt", ")", "||", "isConcatMask", "(", "M", ",", "VT", ",", "VT", ".", "getSizeInBits", "(", ")", "==", "128", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "can", "use", "this", "to", "indicate", "that", "they", "only", "support", "some", "VECTOR_SHUFFLE", "operations", ",", "those", "with", "specific", "masks", "."], "TS_V_token": ["AArch64", "AArch64", "4", "1", "0", "64", "32", "16", "128"], "File": "AArch64ISelLowering87", "Func": "isShuffleMaskLegal", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16778, "Length": 217, "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": 16779, "Length": 306, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getCSRFirstUseCost", "(", ")", "const", "{", "return", "5", ";", "}", ""], "natrual_language": ["Allow", "the", "target", "to", "override", "the", "cost", "of", "using", "a", "callee-saved", "register", "for", "the", "first", "time", "."], "TS_V_token": ["AArch64", "5"], "File": "AArch64RegisterInfo19", "Func": "getCSRFirstUseCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16780, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Cpu0 Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Cpu0", "\"Cpu0 Assembly Printer\""], "File": "Cpu0AsmPrinter", "Func": "getPassName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16781, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "ARMTargetLowering", "::", "getExceptionPointerRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "{", "return", "Subtarget", "->", "useSjLjEH", "(", ")", "?", "Register", "(", ")", ":", "ARM", "::", "R0", ";", "}", ""], "natrual_language": ["If", "a", "physical", "register", ",", "this", "returns", "the", "register", "that", "receives", "the", "exception", "address", "on", "entry", "to", "an", "EH", "pad", "."], "TS_V_token": ["ARM", "ARM", "ARM::R0"], "File": "ARMISelLowering (2)5", "Func": "getExceptionPointerRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16782, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "if", "(", "EnableMCInst", ")", "{", "printInstructionThroughMCStreamer", "(", "MI", ")", ";", "return", ";", "}", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "CONSTPOOL_ENTRY", ")", "EmitAlignment", "(", "2", ")", ";", "SmallString", "<", "128", ">", "Str", ";", "raw_svector_ostream", "OS", "(", "Str", ")", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "DBG_VALUE", ")", "{", "unsigned", "NOps", "=", "MI", "->", "getNumOperands", "(", ")", ";", "assert", "(", "NOps", "==", "4", ")", ";", "OS", "<<", "'\\t'", "<<", "MAI", "->", "getCommentString", "(", ")", "<<", "\"DEBUG_VALUE: \"", ";", "DIVariable", "V", "(", "const_cast", "<", "MDNode", "*", ">", "(", "MI", "->", "getOperand", "(", "NOps", "-", "1", ")", ".", "getMetadata", "(", ")", ")", ")", ";", "OS", "<<", "V", ".", "getName", "(", ")", ";", "OS", "<<", "\" <- \"", ";", "assert", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", ")", ";", "OS", "<<", "'['", ";", "printOperand", "(", "MI", ",", "0", ",", "OS", ")", ";", "OS", "<<", "'+'", ";", "printOperand", "(", "MI", ",", "1", ",", "OS", ")", ";", "OS", "<<", "']'", ";", "OS", "<<", "\"+\"", ";", "printOperand", "(", "MI", ",", "NOps", "-", "2", ",", "OS", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "OS", ".", "str", "(", ")", ")", ";", "return", ";", "}", "printInstruction", "(", "MI", ",", "OS", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "OS", ".", "str", "(", ")", ")", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2TBB", ")", "EmitAlignment", "(", "1", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["ARM", "ARM", "ARM::CONSTPOOL_ENTRY", "2", "128", "ARM::DBG_VALUE", "4", "\"DEBUG_VALUE: \"", "1", "\" <- \"", "0", "1", "0", "1", "\"+\"", "2", "ARM::t2TBB", "1"], "File": "ARMAsmPrinter29", "Func": "EmitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16783, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_function_arg_advance", "(", "cumulative_args_t", "pcum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "pcum", "=", "get_cumulative_args", "(", "pcum_v", ")", ";", "if", "(", "pcum", "->", "pcs_variant", "<=", "ARM_PCS_AAPCS_LOCAL", ")", "{", "aapcs_layout_arg", "(", "pcum", ",", "arg", ".", "mode", ",", "arg", ".", "type", ",", "arg", ".", "named", ")", ";", "if", "(", "pcum", "->", "aapcs_cprc_slot", ">=", "0", ")", "{", "aapcs_cp_arg_layout", "[", "pcum", "->", "aapcs_cprc_slot", "]", ".", "advance", "(", "pcum", ",", "arg", ".", "mode", ",", "arg", ".", "type", ")", ";", "pcum", "->", "aapcs_cprc_slot", "=", "-", "1", ";", "}", "pcum", "->", "aapcs_arg_processed", "=", "false", ";", "pcum", "->", "aapcs_ncrn", "=", "pcum", "->", "aapcs_next_ncrn", ";", "pcum", "->", "aapcs_reg", "=", "NULL_RTX", ";", "pcum", "->", "aapcs_partial", "=", "0", ";", "}", "else", "{", "pcum", "->", "nargs", "+=", "1", ";", "if", "(", "arm_vector_mode_supported_p", "(", "arg", ".", "mode", ")", "&&", "pcum", "->", "named_count", ">", "pcum", "->", "nargs", "&&", "TARGET_IWMMXT_ABI", ")", "pcum", "->", "iwmmxt_nregs", "+=", "1", ";", "else", "pcum", "->", "nregs", "+=", "ARM_NUM_REGS2", "(", "arg", ".", "mode", ",", "arg", ".", "type", ")", ";", "}", "}", ""], "natrual_language": ["Update", "the", "data", "in", "PCUM", "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": ["arm", "0", "1", "0", "1", "1"], "File": "arm", "Func": "arm_function_arg_advance", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16784, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86TTIImpl", "::", "getIntImmCostInst", "(", "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": ["Return", "the", "expected", "cost", "of", "materialization", "for", "the", "given", "integer", "immediate", "of", "the", "specified", "type", "for", "a", "given", "instruction", "."], "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": "X86TargetTransformInfo119", "Func": "getIntImmCostInst", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16785, "Length": 434, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "csky_conditional_register_usage", "(", "void", ")", "{", "if", "(", "TARGET_MINI_REGISTERS", ")", "{", "int", "i", ";", "for", "(", "i", "=", "(", "CSKY_LAST_MINI_REGNUM", "+", "1", ")", ";", "i", "<", "32", ";", "i", "++", ")", "{", "fixed_regs", "[", "i", "]", "=", "1", ";", "call_used_regs", "[", "i", "]", "=", "1", ";", "}", "}", "else", "if", "(", "CSKY_TARGET_ARCH", "(", "CK802", ")", "||", "CSKY_TARGET_ARCH", "(", "CK803", ")", "||", "!", "TARGET_HIGH_REGISTERS", ")", "{", "int", "i", ";", "for", "(", "i", "=", "CSKY_FIRST_HIGH_REGNUM", ";", "i", "<=", "CSKY_LAST_HIGH_REGNUM", ";", "i", "++", ")", "{", "fixed_regs", "[", "i", "]", "=", "1", ";", "call_used_regs", "[", "i", "]", "=", "1", ";", "}", "}", "if", "(", "CSKY_TARGET_ARCH", "(", "CK801", ")", "||", "CSKY_TARGET_ARCH", "(", "CK802", ")", ")", "{", "fixed_regs", "[", "CSKY_LR_REGNUM", "]", "=", "1", ";", "call_used_regs", "[", "CSKY_LR_REGNUM", "]", "=", "0", ";", "}", "if", "(", "!", "TARGET_DSP", ")", "{", "fixed_regs", "[", "CSKY_HI_REGNUM", "]", "=", "1", ";", "call_used_regs", "[", "CSKY_HI_REGNUM", "]", "=", "1", ";", "fixed_regs", "[", "CSKY_LO_REGNUM", "]", "=", "1", ";", "call_used_regs", "[", "CSKY_LO_REGNUM", "]", "=", "1", ";", "}", "if", "(", "!", "TARGET_HARD_FLOAT", ")", "{", "int", "regno", ";", "for", "(", "regno", "=", "CSKY_FIRST_VFP_REGNUM", ";", "regno", "<=", "CSKY_LAST_VFP3_REGNUM", ";", "regno", "++", ")", "{", "fixed_regs", "[", "regno", "]", "=", "1", ";", "call_used_regs", "[", "regno", "]", "=", "1", ";", "}", "}", "if", "(", "!", "TARGET_SUPPORT_FPV3", ")", "{", "int", "regno", ";", "for", "(", "regno", "=", "CSKY_FIRST_VFP3_REGNUM", ";", "regno", "<=", "CSKY_LAST_VFP3_REGNUM", ";", "regno", "++", ")", "{", "fixed_regs", "[", "regno", "]", "=", "1", ";", "call_used_regs", "[", "regno", "]", "=", "1", ";", "}", "}", "if", "(", "flag_pic", ")", "{", "fixed_regs", "[", "PIC_OFFSET_TABLE_REGNUM", "]", "=", "1", ";", "call_used_regs", "[", "PIC_OFFSET_TABLE_REGNUM", "]", "=", "0", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_CONDITIONAL_REGISTER_USAGE", ".", "Conditionally", "modify", "five", "variables", "fixed_regs", ",", "call_used_regs", ",", "global_regs", ",", "reg_names", ",", "and", "reg_class_contents", ",", "to", "take", "into", "account", "any", "dependence", "of", "these", "register", "sets", "on", "target", "flags", ".", "CK801", "has", "registers", "r0-r8", "and", "r13-r15", ".", "CK802", "and", "CK803", "have", "registers", "r0-r15", "(", "the", "``", "low", "''", "registers", ")", ".", "Other", "cpus", "use", "registers", "r0-r31", "with", "-mhigh-registers", ",", "otherwise", "also", "only", "r0-r15", ".", "CK801", "only", "has", "16-bit", "instructions", ",", "most", "of", "which", "can", "only", "reference", "r0-r7", "(", "the", "``", "mini", "''", "registers", ")", ".", "So", "we", "mark", "regs", "outside", "that", "range", "as", "fixed", ".", "-msmart", "can", "be", "used", "on", "other", "arch", "variants", "to", "force", "the", "same", "behavior", "because", "it", "results", "in", "smaller", "code", "size", ".", "TODO", ":", "investigate", "whether", "it", "'s", "beneficial", "to", "use", "r8-r13", "as", "a", "spill", "class", "when", "TARGET_MINI_REGISTERS", "instead", "of", "making", "them", "unusable", "by", "the", "register", "allocator", "."], "TS_V_token": ["csky", "1", "32", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0"], "File": "csky", "Func": "csky_conditional_register_usage", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16786, "Length": 261, "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": 16787, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_output_patchable_area", "(", "unsigned", "int", "patch_area_size", ",", "bool", "record_p", ")", "{", "default_print_patchable_function_entry", "(", "asm_out_file", ",", "patch_area_size", ",", "record_p", ")", ";", "}", ""], "natrual_language": ["Output", "patchable", "area", ".", "NB", ":", "default_print_patchable_function_entry", "is", "n't", "available", "in", "i386.md", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_output_patchable_area", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16788, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitVERegisterScratch", "(", "unsigned", "reg", ")", "override", "{", "}", ""], "natrual_language": ["Emit", "``", ".register", "<", "reg", ">", ",", "#", "scratch", "''", "."], "TS_V_token": ["VE", "VE"], "File": "VETargetStreamer", "Func": "emitVERegisterScratch", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16789, "Length": 9, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isReg", "(", ")", "const", "override", "{", "return", "Kind", "==", "k_Register", "&&", "!", "Reg", ".", "isVector", ";", "}", ""], "natrual_language": ["isReg", "-", "Is", "this", "a", "register", "operand", "?"], "TS_V_token": ["AArch64"], "File": "AArch64AsmParser (2)1", "Func": "isReg", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16790, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLoweringBase", "::", "LegalizeTypeAction", "AArch64TargetLowering", "::", "getPreferredVectorAction", "(", "MVT", "VT", ")", "const", "{", "if", "(", "VT", "==", "MVT", "::", "v1i8", "||", "VT", "==", "MVT", "::", "v1i16", "||", "VT", "==", "MVT", "::", "v1i32", "||", "VT", "==", "MVT", "::", "v1f32", ")", "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"], "File": "AArch64ISelLowering (2)2", "Func": "getPreferredVectorAction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16791, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arm_expand_ternop_builtin", "(", "enum", "insn_code", "icode", ",", "tree", "exp", ",", "rtx", "target", ")", "{", "rtx", "pat", ";", "tree", "arg0", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "tree", "arg1", "=", "CALL_EXPR_ARG", "(", "exp", ",", "1", ")", ";", "tree", "arg2", "=", "CALL_EXPR_ARG", "(", "exp", ",", "2", ")", ";", "rtx", "op0", "=", "expand_normal", "(", "arg0", ")", ";", "rtx", "op1", "=", "expand_normal", "(", "arg1", ")", ";", "rtx", "op2", "=", "expand_normal", "(", "arg2", ")", ";", "machine_mode", "tmode", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "mode", ";", "machine_mode", "mode0", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "mode", ";", "machine_mode", "mode1", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "2", "]", ".", "mode", ";", "machine_mode", "mode2", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "3", "]", ".", "mode", ";", "if", "(", "VECTOR_MODE_P", "(", "mode0", ")", ")", "op0", "=", "safe_vector_operand", "(", "op0", ",", "mode0", ")", ";", "if", "(", "VECTOR_MODE_P", "(", "mode1", ")", ")", "op1", "=", "safe_vector_operand", "(", "op1", ",", "mode1", ")", ";", "if", "(", "VECTOR_MODE_P", "(", "mode2", ")", ")", "op2", "=", "safe_vector_operand", "(", "op2", ",", "mode2", ")", ";", "if", "(", "!", "target", "||", "GET_MODE", "(", "target", ")", "!=", "tmode", "||", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "predicate", ")", "(", "target", ",", "tmode", ")", ")", "target", "=", "gen_reg_rtx", "(", "tmode", ")", ";", "gcc_assert", "(", "(", "GET_MODE", "(", "op0", ")", "==", "mode0", "||", "GET_MODE", "(", "op0", ")", "==", "VOIDmode", ")", "&&", "(", "GET_MODE", "(", "op1", ")", "==", "mode1", "||", "GET_MODE", "(", "op1", ")", "==", "VOIDmode", ")", "&&", "(", "GET_MODE", "(", "op2", ")", "==", "mode2", "||", "GET_MODE", "(", "op2", ")", "==", "VOIDmode", ")", ")", ";", "if", "(", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "predicate", ")", "(", "op0", ",", "mode0", ")", ")", "op0", "=", "copy_to_mode_reg", "(", "mode0", ",", "op0", ")", ";", "if", "(", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "2", "]", ".", "predicate", ")", "(", "op1", ",", "mode1", ")", ")", "op1", "=", "copy_to_mode_reg", "(", "mode1", ",", "op1", ")", ";", "if", "(", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "3", "]", ".", "predicate", ")", "(", "op2", ",", "mode2", ")", ")", "op2", "=", "copy_to_mode_reg", "(", "mode2", ",", "op2", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op0", ",", "op1", ",", "op2", ")", ";", "if", "(", "!", "pat", ")", "return", "0", ";", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Function", "to", "expand", "ternary", "builtins", "."], "TS_V_token": ["arm", "0", "1", "2", "0", "1", "2", "3", "0", "1", "2", "3", "0"], "File": "arm-builtins", "Func": "arm_expand_ternop_builtin", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16792, "Length": 400, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "altivec_expand_stvex_be", "(", "rtx", "op0", ",", "rtx", "op1", ",", "machine_mode", "mode", ",", "unsigned", "unspec", ")", "{", "machine_mode", "inner_mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "rtx", "tmp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rtx", "stvx", "=", "gen_rtx_UNSPEC", "(", "inner_mode", ",", "gen_rtvec", "(", "1", ",", "tmp", ")", ",", "unspec", ")", ";", "rtx", "sel", "=", "swap_selector_for_mode", "(", "mode", ")", ";", "rtx", "vperm", ";", "gcc_assert", "(", "REG_P", "(", "op1", ")", ")", ";", "vperm", "=", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "3", ",", "op1", ",", "op1", ",", "sel", ")", ",", "UNSPEC_VPERM", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "tmp", ",", "vperm", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "op0", ",", "stvx", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "code", "for", "a", "``", "stve", "*", "x", "''", "built-in", "for", "a", "little", "endian", "target", "with", "-maltivec=be", "specified", ".", "Issue", "the", "store", "preceded", "by", "an", "element-reversing", "permute", "."], "TS_V_token": ["powerpcspe", "1", "3"], "File": "powerpcspe", "Func": "altivec_expand_stvex_be", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16793, "Length": 109, "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", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "dl", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "bool", "LP64", "=", "TM", ".", "isPPC64", "(", ")", ";", "const", "TargetRegisterClass", "*", "G8RC", "=", "&", "PPC", "::", "G8RCRegClass", ";", "const", "TargetRegisterClass", "*", "GPRC", "=", "&", "PPC", "::", "GPRCRegClass", ";", "Register", "Reg", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "LP64", "?", "G8RC", ":", "GPRC", ")", ";", "Register", "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", "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": "PPCRegisterInfo11", "Func": "lowerCRSpilling", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16794, "Length": 318, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "dispatch_violation", "(", "void", ")", "{", "if", "(", "dispatch_window_list", "->", "next", ")", "return", "dispatch_window_list", "->", "next", "->", "violation", ";", "return", "dispatch_window_list", "->", "violation", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "dispatch", "violation", "encountered", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "dispatch_violation", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16795, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "LanaiTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PassManager", ")", "{", "return", "new", "LanaiPassConfig", "(", "this", ",", "&", "PassManager", ")", ";", "}", ""], "natrual_language": ["Create", "a", "pass", "configuration", "object", "to", "be", "used", "by", "addPassToEmitX", "methods", "for", "generating", "a", "pipeline", "of", "CodeGen", "passes", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai"], "File": "LanaiTargetMachine1", "Func": "createPassConfig", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16796, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "altivec_resolve_overloaded_builtin", "(", "tree", "fndecl", ",", "tree", "arglist", ")", "{", "unsigned", "int", "fcode", "=", "DECL_FUNCTION_CODE", "(", "fndecl", ")", ";", "tree", "fnargs", "=", "TYPE_ARG_TYPES", "(", "TREE_TYPE", "(", "fndecl", ")", ")", ";", "tree", "types", "[", "3", "]", ",", "args", "[", "3", "]", ";", "const", "struct", "altivec_builtin_types", "*", "desc", ";", "int", "n", ";", "if", "(", "fcode", "<", "ALTIVEC_BUILTIN_OVERLOADED_FIRST", "||", "fcode", ">", "ALTIVEC_BUILTIN_OVERLOADED_LAST", ")", "return", "NULL_TREE", ";", "for", "(", "n", "=", "0", ";", "!", "VOID_TYPE_P", "(", "TREE_VALUE", "(", "fnargs", ")", ")", "&&", "arglist", ";", "fnargs", "=", "TREE_CHAIN", "(", "fnargs", ")", ",", "arglist", "=", "TREE_CHAIN", "(", "arglist", ")", ",", "n", "++", ")", "{", "tree", "decl_type", "=", "TREE_VALUE", "(", "fnargs", ")", ";", "tree", "arg", "=", "TREE_VALUE", "(", "arglist", ")", ";", "tree", "type", ";", "if", "(", "arg", "==", "error_mark_node", ")", "return", "error_mark_node", ";", "if", "(", "n", ">=", "3", ")", "abort", "(", ")", ";", "arg", "=", "default_conversion", "(", "arg", ")", ";", "type", "=", "TREE_TYPE", "(", "arg", ")", ";", "if", "(", "POINTER_TYPE_P", "(", "type", ")", "&&", "TREE_CODE", "(", "arg", ")", "==", "NOP_EXPR", "&&", "lang_hooks", ".", "types_compatible_p", "(", "TREE_TYPE", "(", "arg", ")", ",", "const_ptr_type_node", ")", "&&", "lang_hooks", ".", "types_compatible_p", "(", "TREE_TYPE", "(", "TREE_OPERAND", "(", "arg", ",", "0", ")", ")", ",", "ptr_type_node", ")", ")", "{", "arg", "=", "TREE_OPERAND", "(", "arg", ",", "0", ")", ";", "type", "=", "TREE_TYPE", "(", "arg", ")", ";", "}", "if", "(", "POINTER_TYPE_P", "(", "decl_type", ")", "&&", "POINTER_TYPE_P", "(", "type", ")", "&&", "TYPE_QUALS", "(", "TREE_TYPE", "(", "type", ")", ")", "!=", "0", ")", "{", "if", "(", "TYPE_READONLY", "(", "TREE_TYPE", "(", "type", ")", ")", "&&", "!", "TYPE_READONLY", "(", "TREE_TYPE", "(", "decl_type", ")", ")", ")", "warning", "(", "0", ",", "\"passing arg %d of %qE discards qualifiers from\"", "\"pointer target type\"", ",", "n", "+", "1", ",", "fndecl", ")", ";", "type", "=", "build_pointer_type", "(", "build_qualified_type", "(", "TREE_TYPE", "(", "type", ")", ",", "0", ")", ")", ";", "arg", "=", "fold_convert", "(", "type", ",", "arg", ")", ";", "}", "args", "[", "n", "]", "=", "arg", ";", "types", "[", "n", "]", "=", "type", ";", "}", "if", "(", "!", "VOID_TYPE_P", "(", "TREE_VALUE", "(", "fnargs", ")", ")", "||", "arglist", ")", "return", "NULL", ";", "if", "(", "n", "==", "0", ")", "abort", "(", ")", ";", "if", "(", "fcode", "==", "ALTIVEC_BUILTIN_VEC_STEP", ")", "{", "if", "(", "TREE_CODE", "(", "types", "[", "0", "]", ")", "!=", "VECTOR_TYPE", ")", "goto", "bad", ";", "return", "build_int_cst", "(", "NULL_TREE", ",", "TYPE_VECTOR_SUBPARTS", "(", "types", "[", "0", "]", ")", ")", ";", "}", "for", "(", "desc", "=", "altivec_overloaded_builtins", ";", "desc", "->", "code", "&&", "desc", "->", "code", "!=", "fcode", ";", "desc", "++", ")", "continue", ";", "for", "(", ";", "desc", "->", "code", "==", "fcode", ";", "desc", "++", ")", "if", "(", "(", "desc", "->", "op1", "==", "RS6000_BTI_NOT_OPAQUE", "||", "rs6000_builtin_type_compatible", "(", "types", "[", "0", "]", ",", "desc", "->", "op1", ")", ")", "&&", "(", "desc", "->", "op2", "==", "RS6000_BTI_NOT_OPAQUE", "||", "rs6000_builtin_type_compatible", "(", "types", "[", "1", "]", ",", "desc", "->", "op2", ")", ")", "&&", "(", "desc", "->", "op3", "==", "RS6000_BTI_NOT_OPAQUE", "||", "rs6000_builtin_type_compatible", "(", "types", "[", "2", "]", ",", "desc", "->", "op3", ")", ")", ")", "return", "altivec_build_resolved_builtin", "(", "args", ",", "n", ",", "desc", ")", ";", "bad", ":", "error", "(", "\"invalid parameter combination for AltiVec intrinsic\"", ")", ";", "return", "error_mark_node", ";", "}", ""], "natrual_language": ["Implementation", "of", "the", "resolve_overloaded_builtin", "target", "hook", ",", "to", "support", "Altivec", "'s", "overloaded", "builtins", "."], "TS_V_token": ["rs6000", "3", "3", "0", "3", "0", "0", "0", "0", "\"passing arg %d of %qE discards qualifiers from\"", "\"pointer target type\"", "1", "0", "0", "0", "0", "0", "1", "2", "\"invalid parameter combination for AltiVec intrinsic\""], "File": "rs6000-c2", "Func": "altivec_resolve_overloaded_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16797, "Length": 486, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMRelocator", "::", "Result", "unsupported", "(", "Relocation", "&", "pReloc", ",", "ARMRelocator", "&", "pParent", ")", "{", "return", "Relocator", "::", "Unsupported", ";", "}", ""], "natrual_language": ["The", "instruction", "is", "unsupported", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMRelocator", "Func": "unsupported", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16798, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcTargetMachine", "::", "SparcTargetMachine", "(", "const", "Target", "&", "T", ",", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "FS", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ")", ",", "DataLayout", "(", "\"E-p:32:32-f128:128:128\"", ")", ",", "Subtarget", "(", "TT", ",", "FS", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "InstrInfo", "(", "Subtarget", ")", ",", "FrameInfo", "(", "TargetFrameInfo", "::", "StackGrowsDown", ",", "8", ",", "0", ")", "{", "}", ""], "natrual_language": ["Create", "an", "ILP32", "architecture", "model", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "\"E-p:32:32-f128:128:128\"", "8", "0"], "File": "SparcTargetMachine22", "Func": "SparcTargetMachine", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16799, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCFrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "ArrayRef", "<", "CalleeSavedInfo", ">", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "PPCInstrInfo", "&", "TII", "=", "*", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "PPCFunctionInfo", "*", "FI", "=", "MF", "->", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", ";", "bool", "MustSaveTOC", "=", "FI", "->", "mustSaveTOC", "(", ")", ";", "DebugLoc", "DL", ";", "bool", "CRSpilled", "=", "false", ";", "MachineInstrBuilder", "CRMIB", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "bool", "IsCRField", "=", "PPC", "::", "CR2", "<=", "Reg", "&&", "Reg", "<=", "PPC", "::", "CR4", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "bool", "IsLiveIn", "=", "MRI", ".", "isLiveIn", "(", "Reg", ")", ";", "if", "(", "!", "IsLiveIn", ")", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "if", "(", "CRSpilled", "&&", "IsCRField", ")", "{", "CRMIB", ".", "addReg", "(", "Reg", ",", "RegState", "::", "ImplicitKill", ")", ";", "continue", ";", "}", "if", "(", "(", "Reg", "==", "PPC", "::", "X2", "||", "Reg", "==", "PPC", "::", "R2", ")", "&&", "MustSaveTOC", ")", "continue", ";", "if", "(", "IsCRField", ")", "{", "PPCFunctionInfo", "*", "FuncInfo", "=", "MF", "->", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", ";", "if", "(", "!", "Subtarget", ".", "is32BitELFABI", "(", ")", ")", "{", "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", "{", "if", "(", "CSI", "[", "i", "]", ".", "isSpilledToReg", "(", ")", ")", "{", "NumPESpillVSR", "++", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "PPC", "::", "MTVSRD", ")", ",", "CSI", "[", "i", "]", ".", "getDstReg", "(", ")", ")", ".", "addReg", "(", "Reg", ",", "getKillRegState", "(", "true", ")", ")", ";", "}", "else", "{", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "if", "(", "Subtarget", ".", "needsSwapsForVSXMemOps", "(", ")", "&&", "!", "MF", "->", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "NoUnwind", ")", ")", "TII", ".", "storeRegToStackSlotNoUpd", "(", "MBB", ",", "MI", ",", "Reg", ",", "!", "IsLiveIn", ",", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", ",", "RC", ",", "TRI", ")", ";", "else", "TII", ".", "storeRegToStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "!", "IsLiveIn", ",", "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", "PPC", "0", "PPC::CR2", "PPC::CR4", "PPC::X2", "PPC::R2", "PPC", "PPC", "PPC::MFCR", "PPC::R12", "PPC::STW", "PPC::R12", "PPC::MTVSRD"], "File": "PPCFrameLowering40", "Func": "spillCalleeSavedRegisters", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16800, "Length": 498, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "dump_minipool", "(", "rtx", "scan", ")", "{", "Mnode", "*", "mp", ";", "Mnode", "*", "nmp", ";", "int", "align64", "=", "0", ";", "if", "(", "ARM_DOUBLEWORD_ALIGN", ")", "for", "(", "mp", "=", "minipool_vector_head", ";", "mp", "!=", "NULL", ";", "mp", "=", "mp", "->", "next", ")", "if", "(", "mp", "->", "refcount", ">", "0", "&&", "mp", "->", "fix_size", "==", "8", ")", "{", "align64", "=", "1", ";", "break", ";", "}", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\";; Emitting minipool after insn %u; address %ld; align %d (bytes)\\n\"", ",", "INSN_UID", "(", "scan", ")", ",", "(", "unsigned", "long", ")", "minipool_barrier", "->", "address", ",", "align64", "?", "8", ":", "4", ")", ";", "scan", "=", "emit_label_after", "(", "gen_label_rtx", "(", ")", ",", "scan", ")", ";", "scan", "=", "emit_insn_after", "(", "align64", "?", "gen_align_8", "(", ")", ":", "gen_align_4", "(", ")", ",", "scan", ")", ";", "scan", "=", "emit_label_after", "(", "minipool_vector_label", ",", "scan", ")", ";", "for", "(", "mp", "=", "minipool_vector_head", ";", "mp", "!=", "NULL", ";", "mp", "=", "nmp", ")", "{", "if", "(", "mp", "->", "refcount", ">", "0", ")", "{", "if", "(", "dump_file", ")", "{", "fprintf", "(", "dump_file", ",", "\";; Offset %u, min %ld, max %ld \"", ",", "(", "unsigned", ")", "mp", "->", "offset", ",", "(", "unsigned", "long", ")", "mp", "->", "min_address", ",", "(", "unsigned", "long", ")", "mp", "->", "max_address", ")", ";", "arm_print_value", "(", "dump_file", ",", "mp", "->", "value", ")", ";", "fputc", "(", "'\\n'", ",", "dump_file", ")", ";", "}", "switch", "(", "mp", "->", "fix_size", ")", "{", "case", "1", ":", "scan", "=", "emit_insn_after", "(", "gen_consttable_1", "(", "mp", "->", "value", ")", ",", "scan", ")", ";", "break", ";", "case", "2", ":", "scan", "=", "emit_insn_after", "(", "gen_consttable_2", "(", "mp", "->", "value", ")", ",", "scan", ")", ";", "break", ";", "case", "4", ":", "scan", "=", "emit_insn_after", "(", "gen_consttable_4", "(", "mp", "->", "value", ")", ",", "scan", ")", ";", "break", ";", "case", "8", ":", "scan", "=", "emit_insn_after", "(", "gen_consttable_8", "(", "mp", "->", "value", ")", ",", "scan", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "nmp", "=", "mp", "->", "next", ";", "free", "(", "mp", ")", ";", "}", "minipool_vector_head", "=", "minipool_vector_tail", "=", "NULL", ";", "scan", "=", "emit_insn_after", "(", "gen_consttable_end", "(", ")", ",", "scan", ")", ";", "scan", "=", "emit_barrier_after", "(", "scan", ")", ";", "}", ""], "natrual_language": ["Output", "the", "literal", "table"], "TS_V_token": ["arm", "0", "0", "8", "1", "\";; Emitting minipool after insn %u; address %ld; align %d (bytes)\\n\"", "8", "4", "0", "\";; Offset %u, min %ld, max %ld \"", "1", "2", "4", "8"], "File": "arm3", "Func": "dump_minipool", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16801, "Length": 334, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "vfp3_const_double_rtx", "(", "rtx", "x", ")", "{", "if", "(", "!", "TARGET_VFP3", ")", "return", "0", ";", "return", "vfp3_const_double_index", "(", "x", ")", "!=", "-", "1", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "rtx", "X", "is", "a", "valid", "immediate", "VFPv3", "constant", "."], "TS_V_token": ["arm", "0", "1"], "File": "arm", "Func": "vfp3_const_double_rtx", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16802, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mmix_return_addr_rtx", "(", "int", "count", ",", "rtx", "frame", "ATTRIBUTE_UNUSED", ")", "{", "return", "count", "==", "0", "?", "(", "MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS", "?", "validize_mem", "(", "gen_rtx_MEM", "(", "Pmode", ",", "plus_constant", "(", "frame_pointer_rtx", ",", "-", "16", ")", ")", ")", ":", "get_hard_reg_initial_val", "(", "Pmode", ",", "MMIX_INCOMING_RETURN_ADDRESS_REGNUM", ")", ")", ":", "NULL_RTX", ";", "}", ""], "natrual_language": ["RETURN_ADDR_RTX", "."], "TS_V_token": ["mmix", "0", "16"], "File": "mmix3", "Func": "mmix_return_addr_rtx", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16803, "Length": 46, "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": 16804, "Length": 159, "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": 16805, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_function_sseregparm", "(", "const_tree", "type", ",", "const_tree", "decl", ",", "bool", "warn", ")", "{", "gcc_assert", "(", "!", "TARGET_64BIT", ")", ";", "if", "(", "TARGET_SSEREGPARM", "||", "(", "type", "&&", "lookup_attribute", "(", "\"sseregparm\"", ",", "TYPE_ATTRIBUTES", "(", "type", ")", ")", ")", ")", "{", "if", "(", "!", "TARGET_SSE", ")", "{", "if", "(", "warn", ")", "{", "if", "(", "decl", ")", "error", "(", "\"calling %qD with attribute sseregparm without \"", "\"SSE/SSE2 enabled\"", ",", "decl", ")", ";", "else", "error", "(", "\"calling %qT with attribute sseregparm without \"", "\"SSE/SSE2 enabled\"", ",", "type", ")", ";", "}", "return", "0", ";", "}", "return", "2", ";", "}", "if", "(", "!", "decl", ")", "return", "0", ";", "cgraph_node", "*", "target", "=", "cgraph_node", "::", "get", "(", "decl", ")", ";", "if", "(", "target", ")", "target", "=", "target", "->", "function_symbol", "(", ")", ";", "if", "(", "target", "&&", "(", "target_opts_for_fn", "(", "target", "->", "decl", ")", "->", "x_ix86_fpmath", "&", "FPMATH_SSE", ")", "&&", "opt_for_fn", "(", "target", "->", "decl", ",", "optimize", ")", "&&", "!", "(", "profile_flag", "&&", "!", "flag_fentry", ")", ")", "{", "if", "(", "target", "->", "local", "&&", "target", "->", "can_change_signature", ")", "{", "if", "(", "!", "TARGET_SSE", "&&", "warn", ")", "return", "-", "1", ";", "return", "TARGET_SSE2_P", "(", "target_opts_for_fn", "(", "target", "->", "decl", ")", "->", "x_ix86_isa_flags", ")", "?", "2", ":", "1", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "1", "or", "2", ",", "if", "we", "can", "pass", "up", "to", "SSE_REGPARM_MAX", "SFmode", "(", "1", ")", "and", "DFmode", "(", "2", ")", "arguments", "in", "SSE", "registers", "for", "a", "function", "with", "the", "indicated", "TYPE", "and", "DECL", ".", "DECL", "may", "be", "NULL", "when", "calling", "function", "indirectly", "or", "considering", "a", "libcall", ".", "Otherwise", "return", "0", "."], "TS_V_token": ["i386", "\"sseregparm\"", "\"calling %qD with attribute sseregparm without \"", "\"SSE/SSE2 enabled\"", "\"calling %qT with attribute sseregparm without \"", "\"SSE/SSE2 enabled\"", "0", "2", "0", "1", "2", "1", "0"], "File": "i386", "Func": "ix86_function_sseregparm", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16806, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "extract_nth_ls2_access_reg", "(", "rtx_insn", "*", "insn", ",", "int", "n", ")", "{", "rtx", "reg", ";", "machine_mode", "mode", ";", "if", "(", "post_update_insn_p", "(", "insn", ")", ")", "{", "memory_access_direction", "direction", "=", "determine_access_direction", "(", "insn", ")", ";", "gcc_assert", "(", "direction", "!=", "MEM_ACCESS_DIR_UNKNOWN", ")", ";", "if", "(", "direction", "==", "MEM_ACCESS_DIR_NEG", ")", "n", "=", "-", "1", "*", "n", "-", "1", ";", "}", "if", "(", "n", "<", "-", "2", "||", "n", ">", "1", ")", "return", "NULL_RTX", ";", "if", "(", "n", "<", "0", ")", "n", "=", "2", "+", "n", ";", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_LOAD", ":", "reg", "=", "SET_DEST", "(", "PATTERN", "(", "insn", ")", ")", ";", "break", ";", "case", "TYPE_STORE", ":", "reg", "=", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "gcc_assert", "(", "REG_P", "(", "reg", ")", "||", "GET_CODE", "(", "reg", ")", "==", "SUBREG", ")", ";", "switch", "(", "GET_MODE", "(", "reg", ")", ")", "{", "case", "E_DImode", ":", "mode", "=", "SImode", ";", "break", ";", "case", "E_DFmode", ":", "mode", "=", "SFmode", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "n", "==", "0", ")", "return", "gen_lowpart", "(", "mode", ",", "reg", ")", ";", "else", "return", "gen_highpart", "(", "mode", ",", "reg", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "operated", "by", "the", "nth", "load/store", "operation", "in", "the", "real", "micro-operation", "accessing", "order", ".", "This", "function", "assumes", "INSN", "must", "be", "a", "double-word", "load/store", "insn", "."], "TS_V_token": ["nds32", "1", "1", "2", "1", "0", "2", "0"], "File": "nds32-pipelines-auxiliary", "Func": "extract_nth_ls2_access_reg", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16807, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_init_vfp_builtins", "(", "void", ")", "{", "unsigned", "int", "i", ",", "fcode", "=", "ARM_BUILTIN_VFP_PATTERN_START", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "vfp_builtin_data", ")", ";", "i", "++", ",", "fcode", "++", ")", "{", "arm_builtin_datum", "*", "d", "=", "&", "vfp_builtin_data", "[", "i", "]", ";", "arm_init_builtin", "(", "fcode", ",", "d", ",", "\"__builtin_neon\"", ")", ";", "}", "}", ""], "natrual_language": ["Set", "up", "all", "the", "scalar", "floating", "point", "builtins", "."], "TS_V_token": ["arm", "0", "\"__builtin_neon\""], "File": "arm-builtins", "Func": "arm_init_vfp_builtins", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16808, "Length": 56, "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": 16809, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBlockPlacement", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "const", "ARMSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "if", "(", "!", "ST", ".", "hasLOB", "(", ")", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "DEBUG_PREFIX", "<<", "\"Running on \"", "<<", "MF", ".", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "MLI", "=", "&", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "ST", ".", "getInstrInfo", "(", ")", ")", ";", "BBUtils", "=", "std", "::", "unique_ptr", "<", "ARMBasicBlockUtils", ">", "(", "new", "ARMBasicBlockUtils", "(", "MF", ")", ")", ";", "MF", ".", "RenumberBlocks", "(", ")", ";", "BBUtils", "->", "computeAllBlockSizes", "(", ")", ";", "BBUtils", "->", "adjustBBOffsetsAfter", "(", "&", "MF", ".", "front", "(", ")", ")", ";", "bool", "Changed", "=", "false", ";", "RevertedWhileLoops", ".", "clear", "(", ")", ";", "for", "(", "auto", "*", "ML", ":", "*", "MLI", ")", "Changed", "|=", "processPostOrderLoops", "(", "ML", ")", ";", "for", "(", "auto", "*", "WlsInstr", ":", "RevertedWhileLoops", ")", "Changed", "|=", "revertWhileToDoLoop", "(", "WlsInstr", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "\"Running on \"", "\"\\n\"", "ARM", "ARM", "ARM"], "File": "ARMBlockPlacement (2)", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16810, "Length": 181, "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": 16811, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "pure_scalable_type_info", "::", "analysis_result", "pure_scalable_type_info", "::", "analyze_record", "(", "const_tree", "type", ")", "{", "for", "(", "tree", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";", "field", ";", "field", "=", "TREE_CHAIN", "(", "field", ")", ")", "{", "if", "(", "TREE_CODE", "(", "field", ")", "!=", "FIELD_DECL", ")", "continue", ";", "if", "(", "DECL_SIZE", "(", "field", ")", "&&", "integer_zerop", "(", "DECL_SIZE", "(", "field", ")", ")", ")", "continue", ";", "pure_scalable_type_info", "field_info", ";", "analysis_result", "subresult", "=", "field_info", ".", "analyze", "(", "TREE_TYPE", "(", "field", ")", ")", ";", "if", "(", "subresult", "==", "NO_ABI_IDENTITY", ")", "continue", ";", "if", "(", "subresult", "!=", "IS_PST", ")", "return", "subresult", ";", "tree", "bitpos", "=", "bit_position", "(", "field", ")", ";", "gcc_assert", "(", "poly_int_tree_p", "(", "bitpos", ")", ")", ";", "poly_widest_int", "wide_bytepos", "=", "exact_div", "(", "wi", "::", "to_poly_widest", "(", "bitpos", ")", ",", "BITS_PER_UNIT", ")", ";", "poly_uint64", "bytepos", ";", "if", "(", "!", "wide_bytepos", ".", "to_uhwi", "(", "&", "bytepos", ")", "||", "pieces", ".", "length", "(", ")", "+", "field_info", ".", "pieces", ".", "length", "(", ")", ">", "MAX_PIECES", ")", "return", "DOESNT_MATTER", ";", "gcc_assert", "(", "!", "field_info", ".", "pieces", ".", "is_empty", "(", ")", ")", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "field_info", ".", "pieces", ".", "length", "(", ")", ";", "++", "i", ")", "{", "piece", "p", "=", "field_info", ".", "pieces", "[", "i", "]", ";", "p", ".", "offset", "+=", "bytepos", ";", "add_piece", "(", "p", ")", ";", "}", "}", "return", "pieces", ".", "is_empty", "(", ")", "?", "NO_ABI_IDENTITY", ":", "IS_PST", ";", "}", ""], "natrual_language": ["Subroutine", "of", "analyze", "for", "handling", "RECORD_TYPEs", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64", "Func": "analyze_record", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16812, "Length": 225, "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", "::", "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::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)1", "Func": "LowerOperation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16813, "Length": 333, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "char", "ConstraintCode", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "override", "{", "const", "TargetRegisterInfo", "*", "TRI", "=", "TM", ".", "getSubtargetImpl", "(", ")", "->", "getRegisterInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "TRC", "=", "TRI", "->", "getPointerRegClass", "(", "*", "MF", ",", "1", ")", ";", "SDValue", "RC", "=", "CurDAG", "->", "getTargetConstant", "(", "TRC", "->", "getID", "(", ")", ",", "MVT", "::", "i32", ")", ";", "SDValue", "NewOp", "=", "SDValue", "(", "CurDAG", "->", "getMachineNode", "(", "TargetOpcode", "::", "COPY_TO_REGCLASS", ",", "SDLoc", "(", "Op", ")", ",", "Op", ".", "getValueType", "(", ")", ",", "Op", ",", "RC", ")", ",", "0", ")", ";", "OutOps", ".", "push_back", "(", "NewOp", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["PowerPC", "1", "MVT::i32", "0"], "File": "PPCISelDAGToDAG91", "Func": "SelectInlineAsmMemoryOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16814, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_emit_i387_round", "(", "rtx", "op0", ",", "rtx", "op1", ")", "{", "machine_mode", "inmode", "=", "GET_MODE", "(", "op1", ")", ";", "machine_mode", "outmode", "=", "GET_MODE", "(", "op0", ")", ";", "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", "res", "=", "gen_reg_rtx", "(", "outmode", ")", ";", "rtx_code_label", "*", "jump_label", "=", "gen_label_rtx", "(", ")", ";", "rtx", "(", "*", "floor_insn", ")", "(", "rtx", ",", "rtx", ")", ";", "rtx", "(", "*", "neg_insn", ")", "(", "rtx", ",", "rtx", ")", ";", "rtx_insn", "*", "insn", ";", "rtx", "tmp", ";", "switch", "(", "inmode", ")", "{", "case", "E_SFmode", ":", "case", "E_DFmode", ":", "tmp", "=", "gen_reg_rtx", "(", "XFmode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "tmp", ",", "gen_rtx_FLOAT_EXTEND", "(", "XFmode", ",", "op1", ")", ")", ")", ";", "op1", "=", "tmp", ";", "break", ";", "case", "E_XFmode", ":", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "switch", "(", "outmode", ")", "{", "case", "E_SFmode", ":", "floor_insn", "=", "gen_frndintxf2_floor", ";", "neg_insn", "=", "gen_negsf2", ";", "break", ";", "case", "E_DFmode", ":", "floor_insn", "=", "gen_frndintxf2_floor", ";", "neg_insn", "=", "gen_negdf2", ";", "break", ";", "case", "E_XFmode", ":", "floor_insn", "=", "gen_frndintxf2_floor", ";", "neg_insn", "=", "gen_negxf2", ";", "break", ";", "case", "E_HImode", ":", "floor_insn", "=", "gen_lfloorxfhi2", ";", "neg_insn", "=", "gen_neghi2", ";", "break", ";", "case", "E_SImode", ":", "floor_insn", "=", "gen_lfloorxfsi2", ";", "neg_insn", "=", "gen_negsi2", ";", "break", ";", "case", "E_DImode", ":", "floor_insn", "=", "gen_lfloorxfdi2", ";", "neg_insn", "=", "gen_negdi2", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "emit_insn", "(", "gen_fxamxf2_i387", "(", "scratch", ",", "op1", ")", ")", ";", "emit_insn", "(", "gen_absxf2", "(", "e1", ",", "op1", ")", ")", ";", "half", "=", "force_reg", "(", "XFmode", ",", "half", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "e2", ",", "gen_rtx_PLUS", "(", "XFmode", ",", "e1", ",", "half", ")", ")", ")", ";", "switch", "(", "outmode", ")", "{", "case", "E_SFmode", ":", "case", "E_DFmode", ":", "{", "tmp", "=", "gen_reg_rtx", "(", "XFmode", ")", ";", "emit_insn", "(", "floor_insn", "(", "tmp", ",", "e2", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "res", ",", "gen_rtx_UNSPEC", "(", "outmode", ",", "gen_rtvec", "(", "1", ",", "tmp", ")", ",", "UNSPEC_TRUNC_NOOP", ")", ")", ")", ";", "}", "break", ";", "default", ":", "emit_insn", "(", "floor_insn", "(", "res", ",", "e2", ")", ")", ";", "}", "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", "(", "neg_insn", "(", "res", ",", "res", ")", ")", ";", "emit_label", "(", "jump_label", ")", ";", "LABEL_NUSES", "(", "jump_label", ")", "=", "1", ";", "emit_move_insn", "(", "op0", ",", "res", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "for", "round", "calculation", "."], "TS_V_token": ["i386", "1", "0x02", "50", "100", "1"], "File": "i386-expand", "Func": "ix86_emit_i387_round", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16815, "Length": 465, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Warning", "(", "SMLoc", "L", ",", "const", "Twine", "&", "Msg", ")", "{", "Parser", ".", "Warning", "(", "L", ",", "Msg", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "warning", "at", "the", "location", "L", ",", "with", "the", "message", "Msg", "."], "TS_V_token": ["AArch64"], "File": "AArch64AsmParser102", "Func": "Warning", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16816, "Length": 22, "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", ")", "&&", "!", "Binary", ")", "llvm_unreachable", "(", "\"unimplemented opcode in encodeInstruction()\"", ")", ";", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "uint64_t", "TSFlags", "=", "Desc", ".", "TSFlags", ";", "if", "(", "(", "TSFlags", "&", "Cpu0II", "::", "FrmMask", ")", "==", "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", "\"unimplemented opcode in encodeInstruction()\"", "Cpu0II::FrmMask", "Cpu0II::Pseudo", "\"Pseudo opcode found in encodeInstruction()\"", "4"], "File": "Cpu0MCCodeEmitter2", "Func": "encodeInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16817, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalMaskedGather", "(", "Type", "*", "DataTy", ",", "Align", "Alignment", ")", "{", "if", "(", "!", "(", "ST", "->", "hasAVX512", "(", ")", "||", "(", "ST", "->", "hasFastGather", "(", ")", "&&", "ST", "->", "hasAVX2", "(", ")", ")", ")", ")", "return", "false", ";", "if", "(", "auto", "*", "DataVTy", "=", "dyn_cast", "<", "FixedVectorType", ">", "(", "DataTy", ")", ")", "{", "unsigned", "NumElts", "=", "DataVTy", "->", "getNumElements", "(", ")", ";", "if", "(", "NumElts", "==", "1", "||", "!", "isPowerOf2_32", "(", "NumElts", ")", ")", "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", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "gather", "."], "TS_V_token": ["X86", "X86", "1", "32", "64"], "File": "X86TargetTransformInfo117", "Func": "isLegalMaskedGather", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16818, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_first_cycle_multipass_dfa_lookahead", "(", "void", ")", "{", "int", "issue_rate", "=", "arm_issue_rate", "(", ")", ";", "return", "issue_rate", ">", "1", "&&", "!", "sched_fusion", "?", "issue_rate", ":", "0", ";", "}", ""], "natrual_language": ["Return", "how", "many", "instructions", "should", "scheduler", "lookahead", "to", "choose", "the", "best", "one", "."], "TS_V_token": ["arm", "1", "0"], "File": "arm", "Func": "arm_first_cycle_multipass_dfa_lookahead", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16819, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZPassConfig", "::", "addIRPasses", "(", ")", "{", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "addPass", "(", "createPartiallyInlineLibCallsPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZTargetMachine", "Func": "addIRPasses", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16820, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_reduc_v4sf", "(", "rtx", "(", "*", "fn", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ",", "rtx", "dest", ",", "rtx", "in", ")", "{", "rtx", "tmp1", ",", "tmp2", ",", "tmp3", ";", "tmp1", "=", "gen_reg_rtx", "(", "V4SFmode", ")", ";", "tmp2", "=", "gen_reg_rtx", "(", "V4SFmode", ")", ";", "tmp3", "=", "gen_reg_rtx", "(", "V4SFmode", ")", ";", "emit_insn", "(", "gen_sse_movhlps", "(", "tmp1", ",", "in", ",", "in", ")", ")", ";", "emit_insn", "(", "fn", "(", "tmp2", ",", "tmp1", ",", "in", ")", ")", ";", "emit_insn", "(", "gen_sse_shufps_1", "(", "tmp3", ",", "tmp2", ",", "tmp2", ",", "GEN_INT", "(", "1", ")", ",", "GEN_INT", "(", "1", ")", ",", "GEN_INT", "(", "1", "+", "4", ")", ",", "GEN_INT", "(", "1", "+", "4", ")", ")", ")", ";", "emit_insn", "(", "fn", "(", "dest", ",", "tmp2", ",", "tmp3", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "vector", "reduction", "on", "V4SFmode", "for", "SSE1", ".", "FN", "is", "the", "binary", "pattern", "to", "reduce", ";", "DEST", "is", "the", "destination", ";", "IN", "is", "the", "input", "vector", "."], "TS_V_token": ["i386", "1", "1", "1", "4", "1", "4"], "File": "i3863", "Func": "ix86_expand_reduc_v4sf", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16821, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CSKYPassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["CSKY", "CSKY"], "File": "CSKYTargetMachine (2)", "Func": "addIRPasses", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16822, "Length": 21, "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": 16823, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 cmov Conversion\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 cmov Conversion\""], "File": "X86CmovConversion (2)", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16824, "Length": 11, "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": 16825, "Length": 314, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "zero_all_mm_registers", "(", "HARD_REG_SET", "need_zeroed_hardregs", ",", "unsigned", "int", "ret_mmx_regno", ")", "{", "bool", "need_zero_all_mm", "=", "false", ";", "for", "(", "unsigned", "int", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "STACK_REGNO_P", "(", "regno", ")", "&&", "TEST_HARD_REG_BIT", "(", "need_zeroed_hardregs", ",", "regno", ")", ")", "{", "need_zero_all_mm", "=", "true", ";", "break", ";", "}", "if", "(", "!", "need_zero_all_mm", ")", "return", "false", ";", "machine_mode", "mode", "=", "V2SImode", ";", "for", "(", "unsigned", "int", "regno", "=", "FIRST_MMX_REG", ";", "regno", "<=", "LAST_MMX_REG", ";", "regno", "++", ")", "if", "(", "regno", "!=", "ret_mmx_regno", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "reg", ",", "CONST0_RTX", "(", "mode", ")", ")", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["When", "the", "routine", "exit", "in", "MMX", "mode", ",", "if", "any", "ST", "register", "needs", "to", "be", "zeroed", ",", "we", "should", "clear", "all", "MMX", "registers", "except", "the", "RET_MMX_REGNO", "that", "holds", "the", "return", "value", "."], "TS_V_token": ["i386", "0"], "File": "i3861", "Func": "zero_all_mm_registers", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16826, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PreLegalizerCombiner", "::", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "TargetPassConfig", ">", "(", ")", ";", "AU", ".", "setPreservesCFG", "(", ")", ";", "getSelectionDAGFallbackAnalysisUsage", "(", "AU", ")", ";", "AU", ".", "addRequired", "<", "GISelKnownBitsAnalysis", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "GISelKnownBitsAnalysis", ">", "(", ")", ";", "if", "(", "!", "IsOptNone", ")", "{", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineDominatorTree", ">", "(", ")", ";", "}", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64PreLegalizerCombiner", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16827, "Length": 82, "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": 16828, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "X86TargetLowering", "::", "getSetCCResultType", "(", "LLVMContext", "&", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "Subtarget", "->", "hasAVX512", "(", ")", "?", "MVT", "::", "i1", ":", "MVT", "::", "i8", ";", "const", "unsigned", "NumElts", "=", "VT", ".", "getVectorNumElements", "(", ")", ";", "const", "EVT", "EltVT", "=", "VT", ".", "getVectorElementType", "(", ")", ";", "if", "(", "VT", ".", "is512BitVector", "(", ")", ")", "{", "if", "(", "Subtarget", "->", "hasAVX512", "(", ")", ")", "if", "(", "EltVT", "==", "MVT", "::", "i32", "||", "EltVT", "==", "MVT", "::", "i64", "||", "EltVT", "==", "MVT", "::", "f32", "||", "EltVT", "==", "MVT", "::", "f64", ")", "switch", "(", "NumElts", ")", "{", "case", "8", ":", "return", "MVT", "::", "v8i1", ";", "case", "16", ":", "return", "MVT", "::", "v16i1", ";", "}", "if", "(", "Subtarget", "->", "hasBWI", "(", ")", ")", "if", "(", "EltVT", "==", "MVT", "::", "i8", "||", "EltVT", "==", "MVT", "::", "i16", ")", "switch", "(", "NumElts", ")", "{", "case", "32", ":", "return", "MVT", "::", "v32i1", ";", "case", "64", ":", "return", "MVT", "::", "v64i1", ";", "}", "}", "if", "(", "VT", ".", "is256BitVector", "(", ")", "||", "VT", ".", "is128BitVector", "(", ")", ")", "{", "if", "(", "Subtarget", "->", "hasVLX", "(", ")", ")", "if", "(", "EltVT", "==", "MVT", "::", "i32", "||", "EltVT", "==", "MVT", "::", "i64", "||", "EltVT", "==", "MVT", "::", "f32", "||", "EltVT", "==", "MVT", "::", "f64", ")", "switch", "(", "NumElts", ")", "{", "case", "2", ":", "return", "MVT", "::", "v2i1", ";", "case", "4", ":", "return", "MVT", "::", "v4i1", ";", "case", "8", ":", "return", "MVT", "::", "v8i1", ";", "}", "if", "(", "Subtarget", "->", "hasBWI", "(", ")", "&&", "Subtarget", "->", "hasVLX", "(", ")", ")", "if", "(", "EltVT", "==", "MVT", "::", "i8", "||", "EltVT", "==", "MVT", "::", "i16", ")", "switch", "(", "NumElts", ")", "{", "case", "8", ":", "return", "MVT", "::", "v8i1", ";", "case", "16", ":", "return", "MVT", "::", "v16i1", ";", "case", "32", ":", "return", "MVT", "::", "v32i1", ";", "}", "}", "return", "VT", ".", "changeVectorElementTypeToInteger", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["X86", "X86", "MVT::i1", "MVT::i8", "MVT::i32", "MVT::i64", "MVT::f32", "MVT::f64", "8", "MVT::v8i1", "16", "MVT::v16i1", "MVT::i8", "MVT::i16", "32", "MVT::v32i1", "64", "MVT::v64i1", "MVT::i32", "MVT::i64", "MVT::f32", "MVT::f64", "2", "MVT::v2i1", "4", "MVT::v4i1", "8", "MVT::v8i1", "MVT::i8", "MVT::i16", "8", "MVT::v8i1", "16", "MVT::v16i1", "32", "MVT::v32i1"], "File": "X86ISelLowering (2)4", "Func": "getSetCCResultType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16829, "Length": 313, "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": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "add_attribute", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16830, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb2ITBlockPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "const", "ARMSubtarget", "&", "STI", "=", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "Fn", ".", "getSubtarget", "(", ")", ")", ";", "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", "(", "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", "ARM"], "File": "Thumb2ITBlockPass18", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16831, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isTarget64BitLP64", "(", ")", "const", "{", "if", "(", "NaClDontBreakABI", ")", "{", "return", "In64BitMode", "&&", "(", "TargetTriple", ".", "getEnvironment", "(", ")", "!=", "Triple", "::", "GNUX32", ")", ";", "}", "return", "In64BitMode", "&&", "(", "TargetTriple", ".", "getEnvironment", "(", ")", "!=", "Triple", "::", "GNUX32", "&&", "!", "TargetTriple", ".", "isOSNaCl", "(", ")", ")", ";", "}", ""], "natrual_language": ["Is", "this", "x86_64", "with", "the", "LP64", "programming", "model", "(", "standard", "AMD64", ",", "no", "x32", ")", "?"], "TS_V_token": ["X86"], "File": "X86Subtarget109", "Func": "isTarget64BitLP64", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16832, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "DLXFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "DLXRegisterInfo", "*", "LRI", "=", "static_cast", "<", "const", "DLXRegisterInfo", "*", ">", "(", "STI", ".", "getRegisterInfo", "(", ")", ")", ";", "int", "Offset", "=", "-", "4", ";", "MFI", ".", "CreateFixedObject", "(", "4", ",", "Offset", ",", "true", ")", ";", "Offset", "-=", "4", ";", "MFI", ".", "CreateFixedObject", "(", "4", ",", "Offset", ",", "true", ")", ";", "Offset", "-=", "4", ";", "if", "(", "LRI", "->", "hasBasePointer", "(", "MF", ")", ")", "{", "MFI", ".", "CreateFixedObject", "(", "4", ",", "Offset", ",", "true", ")", ";", "SavedRegs", ".", "reset", "(", "LRI", "->", "getBaseRegister", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["DLX", "DLX", "DLX", "DLX", "4", "4", "4", "4", "4", "4"], "File": "DLXFrameLowering", "Func": "determineCalleeSaves", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16833, "Length": 129, "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", "(", "(", "Subtarget", ".", "hasAVX2", "(", ")", "||", "Domain", "<", "3", ")", "&&", "\"256-bit vector operations only available in AVX2\"", ")", ";", "table", "=", "lookupAVX2", "(", "MI", ".", "getOpcode", "(", ")", ",", "dom", ")", ";", "}", "if", "(", "!", "table", ")", "{", "assert", "(", "Subtarget", ".", "hasAVX512", "(", ")", "&&", "\"Requires AVX-512\"", ")", ";", "table", "=", "lookupAVX512", "(", "MI", ".", "getOpcode", "(", ")", ",", "dom", ")", ";", "if", "(", "table", "&&", "Domain", "==", "3", "&&", "table", "[", "3", "]", "==", "MI", ".", "getOpcode", "(", ")", ")", "Domain", "=", "4", ";", "}", "if", "(", "!", "table", ")", "{", "assert", "(", "(", "Subtarget", ".", "hasDQI", "(", ")", "||", "Domain", ">=", "3", ")", "&&", "\"Requires AVX-512DQ\"", ")", ";", "table", "=", "lookupAVX512DQ", "(", "MI", ".", "getOpcode", "(", ")", ",", "dom", ")", ";", "if", "(", "table", "&&", "Domain", "==", "3", "&&", "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", "3", "4", "\"Cannot change domain\"", "1"], "File": "X86InstrInfo10", "Func": "setExecutionDomain", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16834, "Length": 243, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "DestReg", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "bool", "isAligned", "=", "(", "RI", ".", "getStackAlignment", "(", ")", ">=", "16", ")", "||", "RI", ".", "needsStackRealignment", "(", "MF", ")", ";", "unsigned", "Opc", "=", "getLoadRegOpcode", "(", "RC", ",", "isAligned", ")", ";", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "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": "X86InstrInfo101", "Func": "loadRegFromStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16835, "Length": 118, "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": 16836, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_set_one_block_and_progress_pointer", "(", "rtx", "src", ",", "rtx", "*", "dst", ",", "machine_mode", "mode", ")", "{", "if", "(", "known_eq", "(", "GET_MODE_BITSIZE", "(", "mode", ")", ",", "256", ")", ")", "{", "mode", "=", "GET_MODE", "(", "src", ")", ";", "*", "dst", "=", "adjust_address", "(", "*", "dst", ",", "mode", ",", "0", ")", ";", "emit_insn", "(", "aarch64_gen_store_pair", "(", "mode", ",", "*", "dst", ",", "src", ",", "aarch64_progress_pointer", "(", "*", "dst", ")", ",", "src", ")", ")", ";", "*", "dst", "=", "aarch64_move_pointer", "(", "*", "dst", ",", "32", ")", ";", "return", ";", "}", "if", "(", "known_eq", "(", "GET_MODE_BITSIZE", "(", "mode", ")", ",", "128", ")", ")", "{", "*", "dst", "=", "adjust_address", "(", "*", "dst", ",", "GET_MODE", "(", "src", ")", ",", "0", ")", ";", "emit_move_insn", "(", "*", "dst", ",", "src", ")", ";", "*", "dst", "=", "aarch64_move_pointer", "(", "*", "dst", ",", "16", ")", ";", "return", ";", "}", "rtx", "reg", "=", "lowpart_subreg", "(", "mode", ",", "src", ",", "GET_MODE", "(", "src", ")", ")", ";", "*", "dst", "=", "adjust_address", "(", "*", "dst", ",", "mode", ",", "0", ")", ";", "emit_move_insn", "(", "*", "dst", ",", "reg", ")", ";", "*", "dst", "=", "aarch64_progress_pointer", "(", "*", "dst", ")", ";", "}", ""], "natrual_language": ["Like", "aarch64_copy_one_block_and_progress_pointers", ",", "except", "for", "memset", "where", "SRC", "is", "a", "register", "we", "have", "created", "with", "the", "duplicated", "value", "to", "be", "set", "."], "TS_V_token": ["aarch64", "256", "0", "32", "128", "0", "16", "0"], "File": "aarch641", "Func": "aarch64_set_one_block_and_progress_pointer", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16837, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_record_vector_load_arg", "(", "tree", "addr", ")", "{", "tree", "decl", "=", "aarch64_vector_load_decl", "(", "addr", ")", ";", "if", "(", "!", "decl", ")", "return", ";", "if", "(", "!", "cfun", "->", "machine", "->", "vector_load_decls", ")", "cfun", "->", "machine", "->", "vector_load_decls", "=", "hash_set", "<", "tree", ">", "::", "create_ggc", "(", "31", ")", ";", "cfun", "->", "machine", "->", "vector_load_decls", "->", "add", "(", "decl", ")", ";", "}", ""], "natrual_language": ["We", "'ve", "seen", "a", "vector", "load", "from", "address", "ADDR", ".", "Record", "it", "in", "vector_load_decls", ",", "if", "appropriate", "."], "TS_V_token": ["aarch64", "31"], "File": "aarch64-builtins1", "Func": "aarch64_record_vector_load_arg", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16838, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZAsmPrinter", "::", "emitFunctionBodyEnd", "(", ")", "{", "if", "(", "TM", ".", "getTargetTriple", "(", ")", ".", "isOSzOS", "(", ")", ")", "{", "MCSymbol", "*", "FnEndSym", "=", "createTempSymbol", "(", "\"func_end\"", ")", ";", "OutStreamer", "->", "emitLabel", "(", "FnEndSym", ")", ";", "OutStreamer", "->", "PushSection", "(", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "getObjFileLowering", "(", ")", ".", "getPPA1Section", "(", ")", ")", ";", "emitPPA1", "(", "FnEndSym", ")", ";", "OutStreamer", "->", "PopSection", "(", ")", ";", "CurrentFnPPA1Sym", "=", "nullptr", ";", "CurrentFnEPMarkerSym", "=", "nullptr", ";", "}", "}", ""], "natrual_language": ["Targets", "can", "override", "this", "to", "emit", "stuff", "after", "the", "last", "basic", "block", "in", "the", "function", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"func_end\""], "File": "SystemZAsmPrinter12", "Func": "emitFunctionBodyEnd", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16839, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "mayBeEmittedAsTailCall", "(", "CallInst", "*", "CI", ")", "const", "{", "if", "(", "!", "EnableARMTailCalls", "&&", "!", "Subtarget", "->", "supportsTailCall", "(", ")", ")", "return", "false", ";", "if", "(", "!", "CI", "->", "isTailCall", "(", ")", ")", "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", "ARM"], "File": "ARMISelLowering (2)1", "Func": "mayBeEmittedAsTailCall", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16840, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_load_pic_register", "(", "unsigned", "long", "saved_regs", "ATTRIBUTE_UNUSED", ",", "rtx", "pic_reg", ")", "{", "rtx", "l1", ",", "labelno", ",", "pic_tmp", ",", "pic_rtx", ";", "if", "(", "crtl", "->", "uses_pic_offset_table", "==", "0", "||", "TARGET_SINGLE_PIC_BASE", ")", "return", ";", "gcc_assert", "(", "flag_pic", ")", ";", "if", "(", "pic_reg", "==", "NULL_RTX", ")", "pic_reg", "=", "cfun", "->", "machine", "->", "pic_reg", ";", "if", "(", "TARGET_VXWORKS_RTP", ")", "{", "pic_rtx", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "VXWORKS_GOTT_BASE", ")", ";", "pic_rtx", "=", "gen_rtx_CONST", "(", "Pmode", ",", "pic_rtx", ")", ";", "emit_insn", "(", "gen_pic_load_addr_32bit", "(", "pic_reg", ",", "pic_rtx", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "pic_reg", ",", "gen_rtx_MEM", "(", "Pmode", ",", "pic_reg", ")", ")", ")", ";", "pic_tmp", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "VXWORKS_GOTT_INDEX", ")", ";", "emit_insn", "(", "gen_pic_offset_arm", "(", "pic_reg", ",", "pic_reg", ",", "pic_tmp", ")", ")", ";", "}", "else", "{", "labelno", "=", "GEN_INT", "(", "pic_labelno", "++", ")", ";", "l1", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "labelno", ")", ",", "UNSPEC_PIC_LABEL", ")", ";", "l1", "=", "gen_rtx_CONST", "(", "VOIDmode", ",", "l1", ")", ";", "pic_rtx", "=", "plus_constant", "(", "Pmode", ",", "l1", ",", "TARGET_ARM", "?", "8", ":", "4", ")", ";", "pic_rtx", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "pic_rtx", ")", ",", "UNSPEC_GOTSYM_OFF", ")", ";", "pic_rtx", "=", "gen_rtx_CONST", "(", "Pmode", ",", "pic_rtx", ")", ";", "if", "(", "TARGET_32BIT", ")", "{", "emit_insn", "(", "gen_pic_load_addr_unified", "(", "pic_reg", ",", "pic_rtx", ",", "labelno", ")", ")", ";", "}", "else", "{", "if", "(", "arm_pic_register", "!=", "INVALID_REGNUM", "&&", "REGNO", "(", "pic_reg", ")", ">", "LAST_LO_REGNUM", ")", "{", "pic_tmp", "=", "gen_rtx_REG", "(", "SImode", ",", "thumb_find_work_register", "(", "saved_regs", ")", ")", ";", "emit_insn", "(", "gen_pic_load_addr_thumb1", "(", "pic_tmp", ",", "pic_rtx", ")", ")", ";", "emit_insn", "(", "gen_movsi", "(", "pic_offset_table_rtx", ",", "pic_tmp", ")", ")", ";", "emit_insn", "(", "gen_pic_add_dot_plus_four", "(", "pic_reg", ",", "pic_reg", ",", "labelno", ")", ")", ";", "}", "else", "if", "(", "arm_pic_register", "!=", "INVALID_REGNUM", "&&", "arm_pic_register", ">", "LAST_LO_REGNUM", "&&", "REGNO", "(", "pic_reg", ")", "<=", "LAST_LO_REGNUM", ")", "{", "emit_insn", "(", "gen_pic_load_addr_unified", "(", "pic_reg", ",", "pic_rtx", ",", "labelno", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_REG", "(", "Pmode", ",", "arm_pic_register", ")", ",", "pic_reg", ")", ";", "emit_use", "(", "gen_rtx_REG", "(", "Pmode", ",", "arm_pic_register", ")", ")", ";", "}", "else", "emit_insn", "(", "gen_pic_load_addr_unified", "(", "pic_reg", ",", "pic_rtx", ",", "labelno", ")", ")", ";", "}", "}", "emit_use", "(", "pic_reg", ")", ";", "}", ""], "natrual_language": ["Generate", "code", "to", "load", "the", "PIC", "register", ".", "In", "thumb", "mode", "SCRATCH", "is", "a", "low", "register", "."], "TS_V_token": ["arm", "0", "1", "8", "4", "1"], "File": "arm8", "Func": "arm_load_pic_register", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16841, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "getRecipEstimate", "(", "SDValue", "Operand", ",", "DAGCombinerInfo", "&", "DCI", ",", "unsigned", "&", "RefinementSteps", ")", "const", "{", "EVT", "VT", "=", "Operand", ".", "getValueType", "(", ")", ";", "if", "(", "(", "VT", "==", "MVT", "::", "f32", "&&", "Subtarget", ".", "hasFRES", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "f64", "&&", "Subtarget", ".", "hasFRE", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "v4f32", "&&", "Subtarget", ".", "hasAltivec", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "v2f64", "&&", "Subtarget", ".", "hasVSX", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "v4f32", "&&", "Subtarget", ".", "hasQPX", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "v4f64", "&&", "Subtarget", ".", "hasQPX", "(", ")", ")", ")", "{", "TargetRecip", "Recips", "=", "DCI", ".", "DAG", ".", "getTarget", "(", ")", ".", "Options", ".", "Reciprocals", ";", "std", "::", "string", "RecipOp", "=", "getRecipOp", "(", "\"div\"", ",", "VT", ")", ";", "if", "(", "!", "Recips", ".", "isEnabled", "(", "RecipOp", ")", ")", "return", "SDValue", "(", ")", ";", "RefinementSteps", "=", "Recips", ".", "getRefinementSteps", "(", "RecipOp", ")", ";", "return", "DCI", ".", "DAG", ".", "getNode", "(", "PPCISD", "::", "FRE", ",", "SDLoc", "(", "Operand", ")", ",", "VT", ",", "Operand", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Return", "a", "reciprocal", "estimate", "value", "for", "the", "input", "operand", "."], "TS_V_token": ["PowerPC", "PPC", "MVT::f32", "MVT::f64", "MVT::v4f32", "MVT::v2f64", "MVT::v4f32", "MVT::v4f64", "\"div\"", "PPCISD::FRE"], "File": "PPCISelLowering (2)2", "Func": "getRecipEstimate", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16842, "Length": 193, "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": 16843, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_function_specific_save", "(", "struct", "cl_target_option", "*", "ptr", ",", "struct", "gcc_options", "*", "opts", ",", "struct", "gcc_options", "*", ")", "{", "ptr", "->", "x_rs6000_isa_flags", "=", "opts", "->", "x_rs6000_isa_flags", ";", "ptr", "->", "x_rs6000_isa_flags_explicit", "=", "opts", "->", "x_rs6000_isa_flags_explicit", ";", "}", ""], "natrual_language": ["Save", "the", "current", "options"], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_function_specific_save", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16844, "Length": 36, "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": 16845, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "areMemAccessesTriviallyDisjoint", "(", "MachineInstr", "*", "MIa", ",", "MachineInstr", "*", "MIb", ",", "AliasAnalysis", "*", "AA", ")", "const", "{", "const", "TargetRegisterInfo", "*", "TRI", "=", "&", "getRegisterInfo", "(", ")", ";", "unsigned", "BaseRegA", "=", "0", ",", "BaseRegB", "=", "0", ";", "int64_t", "OffsetA", "=", "0", ",", "OffsetB", "=", "0", ";", "unsigned", "WidthA", "=", "0", ",", "WidthB", "=", "0", ";", "assert", "(", "MIa", "&&", "MIa", "->", "mayLoadOrStore", "(", ")", "&&", "\"MIa must be a load or store.\"", ")", ";", "assert", "(", "MIb", "&&", "MIb", "->", "mayLoadOrStore", "(", ")", "&&", "\"MIb must be a load or store.\"", ")", ";", "if", "(", "MIa", "->", "hasUnmodeledSideEffects", "(", ")", "||", "MIb", "->", "hasUnmodeledSideEffects", "(", ")", "||", "MIa", "->", "hasOrderedMemoryRef", "(", ")", "||", "MIb", "->", "hasOrderedMemoryRef", "(", ")", ")", "return", "false", ";", "if", "(", "getMemOpBaseRegImmOfsWidth", "(", "MIa", ",", "BaseRegA", ",", "OffsetA", ",", "WidthA", ",", "TRI", ")", "&&", "getMemOpBaseRegImmOfsWidth", "(", "MIb", ",", "BaseRegB", ",", "OffsetB", ",", "WidthB", ",", "TRI", ")", ")", "{", "if", "(", "BaseRegA", "==", "BaseRegB", ")", "{", "int", "LowOffset", "=", "OffsetA", "<", "OffsetB", "?", "OffsetA", ":", "OffsetB", ";", "int", "HighOffset", "=", "OffsetA", "<", "OffsetB", "?", "OffsetB", ":", "OffsetA", ";", "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": ["AArch64", "AArch64", "0", "0", "0", "0", "0", "0", "\"MIa must be a load or store.\"", "\"MIb must be a load or store.\""], "File": "AArch64InstrInfo110", "Func": "areMemAccessesTriviallyDisjoint", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16846, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "getGlobalBaseReg", "(", ")", "const", "{", "return", "GlobalBaseReg", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["CSKY"], "File": "CSKYMachineFunctionInfo", "Func": "getGlobalBaseReg", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16847, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "function_arg_union_value", "(", "int", "size", ",", "enum", "machine_mode", "mode", ",", "int", "slotno", ",", "int", "regno", ")", "{", "int", "nwords", "=", "ROUND_ADVANCE", "(", "size", ")", ",", "i", ";", "rtx", "regs", ";", "if", "(", "nwords", "==", "0", ")", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "if", "(", "slotno", "==", "SPARC_INT_ARG_MAX", "-", "1", ")", "nwords", "=", "1", ";", "regs", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "rtvec_alloc", "(", "nwords", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nwords", ";", "i", "++", ")", "{", "XVECEXP", "(", "regs", ",", "0", ",", "i", ")", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "word_mode", ",", "regno", ")", ",", "GEN_INT", "(", "UNITS_PER_WORD", "*", "i", ")", ")", ";", "regno", "++", ";", "}", "return", "regs", ";", "}", ""], "natrual_language": ["Used", "by", "function_arg", "and", "sparc_function_value_1", "to", "implement", "the", "conventions", "of", "the", "64-bit", "ABI", "for", "passing", "and", "returning", "unions", ".", "Return", "an", "expression", "valid", "as", "a", "return", "value", "for", "the", "FUNCTION_ARG", "and", "TARGET_FUNCTION_VALUE", ".", "SIZE", "is", "the", "size", "in", "bytes", "of", "the", "union", ".", "MODE", "is", "the", "argument", "'s", "machine", "mode", ".", "REGNO", "is", "the", "hard", "register", "the", "union", "will", "be", "passed", "in", "."], "TS_V_token": ["sparc", "0", "1", "1", "0", "0"], "File": "sparc3", "Func": "function_arg_union_value", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16848, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAIXAsmPrinter", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "const", "bool", "Result", "=", "PPCAsmPrinter", "::", "doInitialization", "(", "M", ")", ";", "auto", "setCsectAlignment", "=", "[", "this", "]", "(", "const", "GlobalObject", "*", "GO", ")", "{", "if", "(", "GO", "->", "isDeclarationForLinker", "(", ")", ")", "return", ";", "SectionKind", "GOKind", "=", "getObjFileLowering", "(", ")", ".", "getKindForGlobal", "(", "GO", ",", "TM", ")", ";", "MCSectionXCOFF", "*", "Csect", "=", "cast", "<", "MCSectionXCOFF", ">", "(", "getObjFileLowering", "(", ")", ".", "SectionForGlobal", "(", "GO", ",", "GOKind", ",", "TM", ")", ")", ";", "Align", "GOAlign", "=", "getGVAlignment", "(", "GO", ",", "GO", "->", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ")", ";", "if", "(", "GOAlign", ">", "Csect", "->", "getAlignment", "(", ")", ")", "Csect", "->", "setAlignment", "(", "GOAlign", ")", ";", "}", ";", "for", "(", "const", "auto", "&", "G", ":", "M", ".", "globals", "(", ")", ")", "{", "if", "(", "isSpecialLLVMGlobalArrayToSkip", "(", "&", "G", ")", ")", "continue", ";", "setCsectAlignment", "(", "&", "G", ")", ";", "}", "for", "(", "const", "auto", "&", "F", ":", "M", ")", "setCsectAlignment", "(", "&", "F", ")", ";", "for", "(", "const", "auto", "&", "Alias", ":", "M", ".", "aliases", "(", ")", ")", "{", "const", "GlobalObject", "*", "Base", "=", "Alias", ".", "getBaseObject", "(", ")", ";", "if", "(", "!", "Base", ")", "report_fatal_error", "(", "\"alias without a base object is not yet supported on AIX\"", ")", ";", "GOAliasMap", "[", "Base", "]", ".", "push_back", "(", "&", "Alias", ")", ";", "}", "return", "Result", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "\"alias without a base object is not yet supported on AIX\""], "File": "PPCAsmPrinter59", "Func": "doInitialization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16849, "Length": 215, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_fp_compare", "(", "rtx", "insn", ",", "rtx", "*", "operands", ",", "bool", "eflags_p", ",", "bool", "unordered_p", ")", "{", "int", "stack_top_dies", ";", "rtx", "cmp_op0", ",", "cmp_op1", ";", "int", "is_sse", "=", "SSE_REG_P", "(", "operands", "[", "0", "]", ")", "||", "SSE_REG_P", "(", "operands", "[", "1", "]", ")", ";", "if", "(", "eflags_p", ")", "{", "cmp_op0", "=", "operands", "[", "0", "]", ";", "cmp_op1", "=", "operands", "[", "1", "]", ";", "}", "else", "{", "cmp_op0", "=", "operands", "[", "1", "]", ";", "cmp_op1", "=", "operands", "[", "2", "]", ";", "}", "if", "(", "is_sse", ")", "{", "if", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", "==", "SFmode", ")", "if", "(", "unordered_p", ")", "return", "\"%vucomiss\\t{%1, %0|%0, %1}\"", ";", "else", "return", "\"%vcomiss\\t{%1, %0|%0, %1}\"", ";", "else", "if", "(", "unordered_p", ")", "return", "\"%vucomisd\\t{%1, %0|%0, %1}\"", ";", "else", "return", "\"%vcomisd\\t{%1, %0|%0, %1}\"", ";", "}", "gcc_assert", "(", "STACK_TOP_P", "(", "cmp_op0", ")", ")", ";", "stack_top_dies", "=", "find_regno_note", "(", "insn", ",", "REG_DEAD", ",", "FIRST_STACK_REG", ")", "!=", "0", ";", "if", "(", "cmp_op1", "==", "CONST0_RTX", "(", "GET_MODE", "(", "cmp_op1", ")", ")", ")", "{", "if", "(", "stack_top_dies", ")", "{", "output_asm_insn", "(", "\"ftst\\n\\tfnstsw\\t%0\"", ",", "operands", ")", ";", "return", "output_387_ffreep", "(", "operands", ",", "1", ")", ";", "}", "else", "return", "\"ftst\\n\\tfnstsw\\t%0\"", ";", "}", "if", "(", "STACK_REG_P", "(", "cmp_op1", ")", "&&", "stack_top_dies", "&&", "find_regno_note", "(", "insn", ",", "REG_DEAD", ",", "REGNO", "(", "cmp_op1", ")", ")", "&&", "REGNO", "(", "cmp_op1", ")", "!=", "FIRST_STACK_REG", ")", "{", "if", "(", "eflags_p", ")", "{", "if", "(", "unordered_p", ")", "output_asm_insn", "(", "\"fucomip\\t{%y1, %0|%0, %y1}\"", ",", "operands", ")", ";", "else", "output_asm_insn", "(", "\"fcomip\\t{%y1, %0|%0, %y1}\"", ",", "operands", ")", ";", "return", "output_387_ffreep", "(", "operands", ",", "0", ")", ";", "}", "else", "{", "if", "(", "unordered_p", ")", "return", "\"fucompp\\n\\tfnstsw\\t%0\"", ";", "else", "return", "\"fcompp\\n\\tfnstsw\\t%0\"", ";", "}", "}", "else", "{", "static", "const", "char", "*", "const", "alt", "[", "16", "]", "=", "{", "\"fcom%Z2\\t%y2\\n\\tfnstsw\\t%0\"", ",", "\"fcomp%Z2\\t%y2\\n\\tfnstsw\\t%0\"", ",", "\"fucom%Z2\\t%y2\\n\\tfnstsw\\t%0\"", ",", "\"fucomp%Z2\\t%y2\\n\\tfnstsw\\t%0\"", ",", "\"ficom%Z2\\t%y2\\n\\tfnstsw\\t%0\"", ",", "\"ficomp%Z2\\t%y2\\n\\tfnstsw\\t%0\"", ",", "NULL", ",", "NULL", ",", "\"fcomi\\t{%y1, %0|%0, %y1}\"", ",", "\"fcomip\\t{%y1, %0|%0, %y1}\"", ",", "\"fucomi\\t{%y1, %0|%0, %y1}\"", ",", "\"fucomip\\t{%y1, %0|%0, %y1}\"", ",", "NULL", ",", "NULL", ",", "NULL", ",", "NULL", "}", ";", "int", "mask", ";", "const", "char", "*", "ret", ";", "mask", "=", "eflags_p", "<<", "3", ";", "mask", "|=", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "cmp_op1", ")", ")", "==", "MODE_INT", ")", "<<", "2", ";", "mask", "|=", "unordered_p", "<<", "1", ";", "mask", "|=", "stack_top_dies", ";", "gcc_assert", "(", "mask", "<", "16", ")", ";", "ret", "=", "alt", "[", "mask", "]", ";", "gcc_assert", "(", "ret", ")", ";", "return", "ret", ";", "}", "}", ""], "natrual_language": ["Output", "code", "for", "INSN", "to", "compare", "OPERANDS", ".", "EFLAGS_P", "is", "1", "when", "fcomi", "should", "be", "used", "and", "2", "when", "fnstsw", "should", "be", "used", ".", "UNORDERED_P", "is", "true", "when", "fucom", "should", "be", "used", "."], "TS_V_token": ["i386", "0", "1", "0", "1", "1", "2", "0", "\"%vucomiss\\t{%1, %0|%0, %1}\"", "\"%vcomiss\\t{%1, %0|%0, %1}\"", "\"%vucomisd\\t{%1, %0|%0, %1}\"", "\"%vcomisd\\t{%1, %0|%0, %1}\"", "0", "\"ftst\\n\\tfnstsw\\t%0\"", "1", "\"ftst\\n\\tfnstsw\\t%0\"", "\"fucomip\\t{%y1, %0|%0, %y1}\"", "\"fcomip\\t{%y1, %0|%0, %y1}\"", "0", "\"fucompp\\n\\tfnstsw\\t%0\"", "\"fcompp\\n\\tfnstsw\\t%0\"", "16", "\"fcom%Z2\\t%y2\\n\\tfnstsw\\t%0\"", "\"fcomp%Z2\\t%y2\\n\\tfnstsw\\t%0\"", "\"fucom%Z2\\t%y2\\n\\tfnstsw\\t%0\"", "\"fucomp%Z2\\t%y2\\n\\tfnstsw\\t%0\"", "\"ficom%Z2\\t%y2\\n\\tfnstsw\\t%0\"", "\"ficomp%Z2\\t%y2\\n\\tfnstsw\\t%0\"", "\"fcomi\\t{%y1, %0|%0, %y1}\"", "\"fcomip\\t{%y1, %0|%0, %y1}\"", "\"fucomi\\t{%y1, %0|%0, %y1}\"", "\"fucomip\\t{%y1, %0|%0, %y1}\"", "3", "2", "1", "16"], "File": "i3864", "Func": "output_fp_compare", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16850, "Length": 371, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "const", "TargetRegisterClass", "*", ",", "uint8_t", ">", "X86TargetLowering", "::", "findRepresentativeClass", "(", "EVT", "VT", ")", "const", "{", "const", "TargetRegisterClass", "*", "RRC", "=", "0", ";", "uint8_t", "Cost", "=", "1", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "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", "0", "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": "X86ISelLowering117", "Func": "findRepresentativeClass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16851, "Length": 202, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "CSKYTargetStreamer", "::", "SymbolIndex", "getTombstoneKey", "(", ")", "{", "return", "{", "nullptr", ",", "CSKYMCExpr", "::", "VK_CSKY_Invalid", "}", ";", "}", ""], "natrual_language": ["Difference", "in", "tombstone", "is", "that", "the", "Optional", "is", "meaningful", "."], "TS_V_token": ["CSKY", "CSKY", "CSKY", "CSKY"], "File": "CSKYTargetStreamer", "Func": "getTombstoneKey", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16852, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMDAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "if", "(", "!", "Subtarget", "->", "hasV6T2Ops", "(", ")", ")", "return", ";", "bool", "isThumb2", "=", "Subtarget", "->", "isThumb", "(", ")", ";", "for", "(", "SDNode", "&", "N", ":", "llvm", "::", "make_early_inc_range", "(", "CurDAG", "->", "allnodes", "(", ")", ")", ")", "{", "if", "(", "N", ".", "getOpcode", "(", ")", "!=", "ISD", "::", "ADD", ")", "continue", ";", "SDValue", "N0", "=", "N", ".", "getOperand", "(", "0", ")", ";", "SDValue", "N1", "=", "N", ".", "getOperand", "(", "1", ")", ";", "unsigned", "And_imm", "=", "0", ";", "if", "(", "!", "isOpcWithIntImmediate", "(", "N1", ".", "getNode", "(", ")", ",", "ISD", "::", "AND", ",", "And_imm", ")", ")", "{", "if", "(", "isOpcWithIntImmediate", "(", "N0", ".", "getNode", "(", ")", ",", "ISD", "::", "AND", ",", "And_imm", ")", ")", "std", "::", "swap", "(", "N0", ",", "N1", ")", ";", "}", "if", "(", "!", "And_imm", ")", "continue", ";", "unsigned", "TZ", "=", "countTrailingZeros", "(", "And_imm", ")", ";", "if", "(", "TZ", "!=", "1", "&&", "TZ", "!=", "2", ")", "continue", ";", "And_imm", ">>=", "TZ", ";", "if", "(", "And_imm", "&", "(", "And_imm", "+", "1", ")", ")", "continue", ";", "SDValue", "Srl", "=", "N1", ".", "getOperand", "(", "0", ")", ";", "unsigned", "Srl_imm", "=", "0", ";", "if", "(", "!", "isOpcWithIntImmediate", "(", "Srl", ".", "getNode", "(", ")", ",", "ISD", "::", "SRL", ",", "Srl_imm", ")", "||", "(", "Srl_imm", "<=", "2", ")", ")", "continue", ";", "SDValue", "CPTmp0", ";", "SDValue", "CPTmp1", ";", "SDValue", "CPTmp2", ";", "if", "(", "isThumb2", ")", "{", "if", "(", "SelectImmShifterOperand", "(", "N0", ",", "CPTmp0", ",", "CPTmp1", ")", ")", "continue", ";", "}", "else", "{", "if", "(", "SelectImmShifterOperand", "(", "N0", ",", "CPTmp0", ",", "CPTmp1", ")", "||", "SelectRegShifterOperand", "(", "N0", ",", "CPTmp0", ",", "CPTmp1", ",", "CPTmp2", ")", ")", "continue", ";", "}", "Srl", "=", "CurDAG", "->", "getNode", "(", "ISD", "::", "SRL", ",", "SDLoc", "(", "Srl", ")", ",", "MVT", "::", "i32", ",", "Srl", ".", "getOperand", "(", "0", ")", ",", "CurDAG", "->", "getConstant", "(", "Srl_imm", "+", "TZ", ",", "SDLoc", "(", "Srl", ")", ",", "MVT", "::", "i32", ")", ")", ";", "N1", "=", "CurDAG", "->", "getNode", "(", "ISD", "::", "AND", ",", "SDLoc", "(", "N1", ")", ",", "MVT", "::", "i32", ",", "Srl", ",", "CurDAG", "->", "getConstant", "(", "And_imm", ",", "SDLoc", "(", "Srl", ")", ",", "MVT", "::", "i32", ")", ")", ";", "N1", "=", "CurDAG", "->", "getNode", "(", "ISD", "::", "SHL", ",", "SDLoc", "(", "N1", ")", ",", "MVT", "::", "i32", ",", "N1", ",", "CurDAG", "->", "getConstant", "(", "TZ", ",", "SDLoc", "(", "Srl", ")", ",", "MVT", "::", "i32", ")", ")", ";", "CurDAG", "->", "UpdateNodeOperands", "(", "&", "N", ",", "N0", ",", "N1", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["ARM", "ARM", "ISD::ADD", "0", "1", "0", "ISD::AND", "ISD::AND", "1", "2", "1", "0", "0", "ISD::SRL", "2", "ISD::SRL", "MVT::i32", "0", "MVT::i32", "ISD::AND", "MVT::i32", "MVT::i32", "ISD::SHL", "MVT::i32", "MVT::i32"], "File": "ARMISelDAGToDAG118", "Func": "PreprocessISelDAG", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16853, "Length": 404, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "PPC", "::", "RLWINM", ")", "{", "unsigned", "char", "SH", "=", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "unsigned", "char", "MB", "=", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "unsigned", "char", "ME", "=", "MI", "->", "getOperand", "(", "4", ")", ".", "getImm", "(", ")", ";", "bool", "useSubstituteMnemonic", "=", "false", ";", "if", "(", "SH", "<=", "31", "&&", "MB", "==", "0", "&&", "ME", "==", "(", "31", "-", "SH", ")", ")", "{", "O", "<<", "\"\\tslwi \"", ";", "useSubstituteMnemonic", "=", "true", ";", "}", "if", "(", "SH", "<=", "31", "&&", "MB", "==", "(", "32", "-", "SH", ")", "&&", "ME", "==", "31", ")", "{", "O", "<<", "\"\\tsrwi \"", ";", "useSubstituteMnemonic", "=", "true", ";", "SH", "=", "32", "-", "SH", ";", "}", "if", "(", "useSubstituteMnemonic", ")", "{", "printOperand", "(", "MI", ",", "0", ",", "O", ")", ";", "O", "<<", "\", \"", ";", "printOperand", "(", "MI", ",", "1", ",", "O", ")", ";", "O", "<<", "\", \"", "<<", "(", "unsigned", "int", ")", "SH", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "return", ";", "}", "}", "if", "(", "(", "MI", "->", "getOpcode", "(", ")", "==", "PPC", "::", "OR", "||", "MI", "->", "getOpcode", "(", ")", "==", "PPC", "::", "OR8", ")", "&&", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", "{", "O", "<<", "\"\\tmr \"", ";", "printOperand", "(", "MI", ",", "0", ",", "O", ")", ";", "O", "<<", "\", \"", ";", "printOperand", "(", "MI", ",", "1", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "return", ";", "}", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "PPC", "::", "RLDICR", ")", "{", "unsigned", "char", "SH", "=", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "unsigned", "char", "ME", "=", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "if", "(", "63", "-", "SH", "==", "ME", ")", "{", "O", "<<", "\"\\tsldi \"", ";", "printOperand", "(", "MI", ",", "0", ",", "O", ")", ";", "O", "<<", "\", \"", ";", "printOperand", "(", "MI", ",", "1", ",", "O", ")", ";", "O", "<<", "\", \"", "<<", "(", "unsigned", "int", ")", "SH", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "return", ";", "}", "}", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "COPY_TO_REGCLASS", ")", "return", ";", "printInstruction", "(", "MI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::RLWINM", "2", "3", "4", "31", "0", "31", "\"\\tslwi \"", "31", "32", "31", "\"\\tsrwi \"", "32", "0", "\", \"", "1", "\", \"", "PPC::OR", "PPC::OR8", "1", "2", "\"\\tmr \"", "0", "\", \"", "1", "PPC::RLDICR", "2", "3", "63", "\"\\tsldi \"", "0", "\", \"", "1", "\", \""], "File": "PPCInstPrinter43", "Func": "printInst", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16854, "Length": 407, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PreLegalizerCombiner", "::", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "TargetPassConfig", ">", "(", ")", ";", "AU", ".", "setPreservesCFG", "(", ")", ";", "getSelectionDAGFallbackAnalysisUsage", "(", "AU", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64PreLegalizerCombiner1", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16855, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_symbian_dllexport_name_p", "(", "const", "char", "*", "symbol", ")", "{", "return", "strncmp", "(", "DLL_EXPORT_PREFIX", ",", "symbol", ",", "strlen", "(", "DLL_EXPORT_PREFIX", ")", ")", "==", "0", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "SYMBOL", "is", "marked", "as", "being", "dllexport", "'d", "."], "TS_V_token": ["sh", "0"], "File": "symbian", "Func": "sh_symbian_dllexport_name_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16856, "Length": 25, "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": 16857, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "aarch_accumulator_forwarding", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "rtx", "producer_set", "=", "single_set", "(", "producer", ")", ";", "rtx", "consumer_set", "=", "single_set", "(", "consumer", ")", ";", "if", "(", "!", "producer_set", "||", "!", "consumer_set", ")", "return", "0", ";", "rtx", "dest", "=", "SET_DEST", "(", "producer_set", ")", ";", "rtx", "mla", "=", "SET_SRC", "(", "consumer_set", ")", ";", "if", "(", "!", "REG_P", "(", "dest", ")", ")", "return", "0", ";", "rtx", "accumulator", ";", "if", "(", "GET_CODE", "(", "mla", ")", "==", "ZERO_EXTEND", ")", "mla", "=", "XEXP", "(", "mla", ",", "0", ")", ";", "switch", "(", "GET_CODE", "(", "mla", ")", ")", "{", "case", "PLUS", ":", "if", "(", "GET_CODE", "(", "XEXP", "(", "mla", ",", "0", ")", ")", "==", "MULT", ")", "accumulator", "=", "XEXP", "(", "mla", ",", "1", ")", ";", "else", "return", "0", ";", "break", ";", "case", "MINUS", ":", "if", "(", "GET_CODE", "(", "XEXP", "(", "mla", ",", "1", ")", ")", "==", "MULT", ")", "accumulator", "=", "XEXP", "(", "mla", ",", "0", ")", ";", "else", "return", "0", ";", "break", ";", "case", "FMA", ":", "{", "if", "(", "REG_P", "(", "XEXP", "(", "mla", ",", "1", ")", ")", "&&", "REG_P", "(", "XEXP", "(", "mla", ",", "2", ")", ")", "&&", "(", "REG_P", "(", "XEXP", "(", "mla", ",", "0", ")", ")", "||", "GET_CODE", "(", "XEXP", "(", "mla", ",", "0", ")", ")", "==", "NEG", ")", ")", "{", "accumulator", "=", "XEXP", "(", "mla", ",", "2", ")", ";", "}", "else", "if", "(", "REG_P", "(", "XEXP", "(", "mla", ",", "1", ")", ")", "&&", "GET_CODE", "(", "XEXP", "(", "mla", ",", "2", ")", ")", "==", "NEG", "&&", "(", "REG_P", "(", "XEXP", "(", "mla", ",", "0", ")", ")", "||", "GET_CODE", "(", "XEXP", "(", "mla", ",", "0", ")", ")", "==", "NEG", ")", ")", "{", "accumulator", "=", "XEXP", "(", "XEXP", "(", "mla", ",", "2", ")", ",", "0", ")", ";", "}", "else", "return", "0", ";", "break", ";", "}", "default", ":", "return", "0", ";", "}", "if", "(", "SUBREG_P", "(", "accumulator", ")", ")", "accumulator", "=", "SUBREG_REG", "(", "accumulator", ")", ";", "if", "(", "!", "REG_P", "(", "accumulator", ")", ")", "return", "0", ";", "return", "(", "REGNO", "(", "dest", ")", "==", "REGNO", "(", "accumulator", ")", ")", ";", "}", ""], "natrual_language": ["Return", "non-zero", "if", "the", "destination", "of", "PRODUCER", "feeds", "the", "accumulator", "operand", "of", "an", "MLA-like", "operation", "."], "TS_V_token": ["arm", "0", "0", "0", "0", "1", "0", "1", "0", "0", "1", "2", "0", "0", "2", "1", "2", "0", "0", "2", "0", "0", "0", "0"], "File": "aarch-common", "Func": "aarch_accumulator_forwarding", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16858, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "OR1KAsmPrinter", "::", "isBlockOnlyReachableByFallthrough", "(", "const", "MachineBasicBlock", "*", "MBB", ")", "const", "{", "const", "MachineBasicBlock", "*", "Pred", "=", "*", "MBB", "->", "pred_begin", "(", ")", ";", "if", "(", "const", "BasicBlock", "*", "bb", "=", "Pred", "->", "getBasicBlock", "(", ")", ")", "if", "(", "isa", "<", "SwitchInst", ">", "(", "bb", "->", "getTerminator", "(", ")", ")", ")", "return", "false", ";", "if", "(", "!", "AsmPrinter", "::", "isBlockOnlyReachableByFallthrough", "(", "MBB", ")", ")", "return", "false", ";", "MachineBasicBlock", "::", "const_iterator", "I", "=", "Pred", "->", "end", "(", ")", ";", "while", "(", "I", "!=", "Pred", "->", "begin", "(", ")", "&&", "!", "(", "--", "I", ")", "->", "isTerminator", "(", ")", ")", ";", "return", "!", "I", "->", "isBarrier", "(", ")", ";", "}", ""], "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": ["OR1K", "OR1K"], "File": "OR1KAsmPrinter", "Func": "isBlockOnlyReachableByFallthrough", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16859, "Length": 108, "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": 16860, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "char", "*", "match_integer", "(", "void", ")", "{", "int", "startpos", "=", "pos", ";", "if", "(", "linebuf", "[", "pos", "]", "==", "'-'", ")", "safe_inc_pos", "(", ")", ";", "int", "lastpos", "=", "pos", "-", "1", ";", "while", "(", "lastpos", "<", "LINELEN", "-", "1", "&&", "isdigit", "(", "linebuf", "[", "lastpos", "+", "1", "]", ")", ")", "++", "lastpos", ";", "if", "(", "lastpos", ">=", "LINELEN", "-", "1", ")", "{", "diag", "(", "lastpos", ",", "\"line length overrun.\\n\"", ")", ";", "exit", "(", "1", ")", ";", "}", "if", "(", "lastpos", "<", "pos", ")", "return", "NULL", ";", "pos", "=", "lastpos", "+", "1", ";", "char", "*", "buf", "=", "(", "char", "*", ")", "malloc", "(", "lastpos", "-", "startpos", "+", "2", ")", ";", "memcpy", "(", "buf", ",", "&", "linebuf", "[", "startpos", "]", ",", "lastpos", "-", "startpos", "+", "1", ")", ";", "buf", "[", "lastpos", "-", "startpos", "+", "1", "]", "=", "'\\0'", ";", "return", "buf", ";", "}", ""], "natrual_language": ["Match", "an", "integer", "and", "return", "the", "string", "representing", "its", "value", ",", "or", "a", "null", "string", "on", "failure", "."], "TS_V_token": ["rs6000", "1", "1", "1", "1", "\"line length overrun.\\n\"", "1", "1", "2", "1", "1"], "File": "rs6000-gen-builtins", "Func": "match_integer", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16861, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "std", "::", "unique_ptr", "<", "OR1KOperand", ">", "CreateMem", "(", "unsigned", "BaseNum", ",", "const", "MCExpr", "*", "Off", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{", "auto", "Op", "=", "make_unique", "<", "OR1KOperand", ">", "(", "k_Memory", ")", ";", "Op", "->", "Mem", ".", "BaseNum", "=", "BaseNum", ";", "Op", "->", "Mem", ".", "Off", "=", "Off", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "E", ";", "return", "Op", ";", "}", ""], "natrual_language": ["Create", "a", "generalized", "memory", "operand", "."], "TS_V_token": ["OR1K", "OR1K", "OR1K"], "File": "OR1KAsmParser1", "Func": "CreateMem", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16862, "Length": 67, "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": 16863, "Length": 15, "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", ")", "&&", "(", "!", "cfun", "||", "cfun", "->", "machine", "->", "func_type", "==", "TYPE_NORMAL", ")", "&&", "!", "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": "i3866", "Func": "type_natural_mode", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16864, "Length": 503, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCInstrInfo", "::", "genAlternativeCodeSequence", "(", "MachineInstr", "&", "Root", ",", "MachineCombinerPattern", "Pattern", ",", "SmallVectorImpl", "<", "MachineInstr", "*", ">", "&", "InsInstrs", ",", "SmallVectorImpl", "<", "MachineInstr", "*", ">", "&", "DelInstrs", ",", "DenseMap", "<", "unsigned", ",", "unsigned", ">", "&", "InstrIdxForVirtReg", ")", "const", "{", "switch", "(", "Pattern", ")", "{", "case", "MachineCombinerPattern", "::", "REASSOC_XY_AMM_BMM", ":", "case", "MachineCombinerPattern", "::", "REASSOC_XMM_AMM_BMM", ":", "reassociateFMA", "(", "Root", ",", "Pattern", ",", "InsInstrs", ",", "DelInstrs", ",", "InstrIdxForVirtReg", ")", ";", "break", ";", "default", ":", "TargetInstrInfo", "::", "genAlternativeCodeSequence", "(", "Root", ",", "Pattern", ",", "InsInstrs", ",", "DelInstrs", ",", "InstrIdxForVirtReg", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["When", "getMachineCombinerPatterns", "(", ")", "finds", "potential", "patterns", ",", "this", "function", "generates", "the", "instructions", "that", "could", "replace", "the", "original", "code", "sequence", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCInstrInfo128", "Func": "genAlternativeCodeSequence", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16865, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "gen_df_reg", "(", "rtx", "reg", ",", "int", "low", ")", "{", "int", "regno", "=", "REGNO", "(", "reg", ")", ";", "if", "(", "(", "WORDS_BIG_ENDIAN", "==", "0", ")", "^", "(", "low", "!=", "0", ")", ")", "regno", "+=", "(", "TARGET_ARCH64", "&&", "SPARC_INT_REG_P", "(", "regno", ")", ")", "?", "1", ":", "2", ";", "return", "gen_rtx_REG", "(", "DFmode", ",", "regno", ")", ";", "}", ""], "natrual_language": ["Generate", "a", "DFmode", "part", "of", "a", "hard", "TFmode", "register", ".", "REG", "is", "the", "TFmode", "hard", "register", ",", "LOW", "is", "1", "for", "the", "low", "64bit", "of", "the", "register", "and", "0", "otherwise", "."], "TS_V_token": ["sparc", "0", "0", "1", "2"], "File": "sparc", "Func": "gen_df_reg", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16866, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86LoadValueInjectionRetHardeningPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** \"", "<<", "getPassName", "(", ")", "<<", "\" : \"", "<<", "MF", ".", "getName", "(", ")", "<<", "\" *****\\n\"", ")", ";", "const", "X86Subtarget", "*", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "Subtarget", "->", "useLVIControlFlowIntegrity", "(", ")", "||", "!", "Subtarget", "->", "is64Bit", "(", ")", ")", "return", "false", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "!", "F", ".", "hasOptNone", "(", ")", "&&", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "++", "NumFunctionsConsidered", ";", "const", "X86RegisterInfo", "*", "TRI", "=", "Subtarget", "->", "getRegisterInfo", "(", ")", ";", "const", "X86InstrInfo", "*", "TII", "=", "Subtarget", "->", "getInstrInfo", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "for", "(", "auto", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "MBBI", "!=", "MBB", ".", "end", "(", ")", ";", "++", "MBBI", ")", "{", "if", "(", "MBBI", "->", "getOpcode", "(", ")", "!=", "X86", "::", "RET64", ")", "continue", ";", "unsigned", "ClobberReg", "=", "TRI", "->", "findDeadCallerSavedReg", "(", "MBB", ",", "MBBI", ")", ";", "if", "(", "ClobberReg", "!=", "X86", "::", "NoRegister", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "X86", "::", "POP64r", ")", ")", ".", "addReg", "(", "ClobberReg", ",", "RegState", "::", "Define", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameDestroy", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "X86", "::", "LFENCE", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "X86", "::", "JMP64r", ")", ")", ".", "addReg", "(", "ClobberReg", ")", ";", "MBB", ".", "erase", "(", "MBBI", ")", ";", "}", "else", "{", "MachineInstr", "*", "Fence", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "X86", "::", "LFENCE", ")", ")", ";", "addRegOffset", "(", "BuildMI", "(", "MBB", ",", "Fence", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "X86", "::", "SHL64mi", ")", ")", ",", "X86", "::", "RSP", ",", "false", ",", "0", ")", ".", "addImm", "(", "0", ")", "->", "addRegisterDead", "(", "X86", "::", "EFLAGS", ",", "TRI", ")", ";", "}", "++", "NumFences", ";", "Modified", "=", "true", ";", "break", ";", "}", "}", "if", "(", "Modified", ")", "++", "NumFunctionsMitigated", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "\"***** \"", "\" : \"", "\" *****\\n\"", "X86", "X86", "X86", "X86", "X86::RET64", "X86::NoRegister", "X86::POP64r", "X86::LFENCE", "X86::JMP64r", "X86::LFENCE", "X86::SHL64mi", "X86::RSP", "0", "0", "X86::EFLAGS"], "File": "X86LoadValueInjectionRetHardening1", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16867, "Length": 375, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FastISel", "::", "tryToFoldLoadIntoMI", "(", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "LoadInst", "*", "LI", ")", "{", "const", "Value", "*", "Ptr", "=", "LI", "->", "getPointerOperand", "(", ")", ";", "X86AddressMode", "AM", ";", "if", "(", "!", "X86SelectAddress", "(", "Ptr", ",", "AM", ")", ")", "return", "false", ";", "const", "X86InstrInfo", "&", "XII", "=", "(", "const", "X86InstrInfo", "&", ")", "TII", ";", "unsigned", "Size", "=", "DL", ".", "getTypeAllocSize", "(", "LI", "->", "getType", "(", ")", ")", ";", "unsigned", "Alignment", "=", "LI", "->", "getAlignment", "(", ")", ";", "if", "(", "Alignment", "==", "0", ")", "Alignment", "=", "DL", ".", "getABITypeAlignment", "(", "LI", "->", "getType", "(", ")", ")", ";", "SmallVector", "<", "MachineOperand", ",", "8", ">", "AddrOps", ";", "AM", ".", "getFullAddress", "(", "AddrOps", ")", ";", "MachineInstr", "*", "Result", "=", "XII", ".", "foldMemoryOperandImpl", "(", "*", "FuncInfo", ".", "MF", ",", "*", "MI", ",", "OpNo", ",", "AddrOps", ",", "FuncInfo", ".", "InsertPt", ",", "Size", ",", "Alignment", ",", "true", ")", ";", "if", "(", "!", "Result", ")", "return", "false", ";", "unsigned", "OperandNo", "=", "0", ";", "for", "(", "MachineInstr", "::", "mop_iterator", "I", "=", "Result", "->", "operands_begin", "(", ")", ",", "E", "=", "Result", "->", "operands_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ",", "++", "OperandNo", ")", "{", "MachineOperand", "&", "MO", "=", "*", "I", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", "||", "MO", ".", "isDef", "(", ")", "||", "MO", ".", "getReg", "(", ")", "!=", "AM", ".", "IndexReg", ")", "continue", ";", "unsigned", "IndexReg", "=", "constrainOperandRegClass", "(", "Result", "->", "getDesc", "(", ")", ",", "MO", ".", "getReg", "(", ")", ",", "OperandNo", ")", ";", "if", "(", "IndexReg", "==", "MO", ".", "getReg", "(", ")", ")", "continue", ";", "MO", ".", "setReg", "(", "IndexReg", ")", ";", "}", "Result", "->", "addMemOperand", "(", "*", "FuncInfo", ".", "MF", ",", "createMachineMemOperandFor", "(", "LI", ")", ")", ";", "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": ["X86", "X86", "X86", "X86", "X86", "X86", "0", "8", "0"], "File": "X86FastISel (2)4", "Func": "tryToFoldLoadIntoMI", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16868, "Length": 303, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "SparcInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "SparcInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "int", "NumBytes", "=", "(", "int", ")", "MFI", "->", "getStackSize", "(", ")", ";", "NumBytes", "+=", "92", ";", "NumBytes", "=", "(", "NumBytes", "+", "7", ")", "&", "~", "7", ";", "NumBytes", "=", "-", "NumBytes", ";", "if", "(", "NumBytes", ">=", "-", "4096", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "SAVEri", ")", ",", "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", "::", "SAVErr", ")", ",", "SP", "::", "O6", ")", ".", "addReg", "(", "SP", "::", "O6", ")", ".", "addReg", "(", "SP", "::", "G1", ")", ";", "}", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc", "92", "7", "7", "4096", "SP::SAVEri", "SP::O6", "SP::O6", "10U", "SP::SETHIi", "SP::G1", "SP::ORri", "SP::G1", "SP::G1", "1", "10", "1", "SP::SAVErr", "SP::O6", "SP::O6", "SP::G1"], "File": "SparcFrameLowering11", "Func": "emitPrologue", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16869, "Length": 283, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "X86MachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "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": ["X86", "X86", "X86", "2", "0"], "File": "X86InstrInfo (2)", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16870, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "OutgoingValueHandler", "::", "assignValueToReg", "(", "unsigned", "ValVReg", ",", "unsigned", "PhysReg", ")", "{", "MIRBuilder", ".", "buildCopy", "(", "PhysReg", ",", "ValVReg", ")", ";", "MIB", ".", "addUse", "(", "PhysReg", ",", "RegState", "::", "Implicit", ")", ";", "}", ""], "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": ["Mips"], "File": "MipsCallLowering", "Func": "assignValueToReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16871, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_md_asm_clobbers", "(", "tree", "outputs", "ATTRIBUTE_UNUSED", ",", "tree", "inputs", "ATTRIBUTE_UNUSED", ",", "tree", "clobbers", ")", "{", "clobbers", "=", "tree_cons", "(", "NULL_TREE", ",", "build_string", "(", "5", ",", "\"flags\"", ")", ",", "clobbers", ")", ";", "clobbers", "=", "tree_cons", "(", "NULL_TREE", ",", "build_string", "(", "4", ",", "\"fpsr\"", ")", ",", "clobbers", ")", ";", "clobbers", "=", "tree_cons", "(", "NULL_TREE", ",", "build_string", "(", "7", ",", "\"dirflag\"", ")", ",", "clobbers", ")", ";", "return", "clobbers", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_MD_ASM_CLOBBERS", ".", "We", "do", "this", "in", "the", "new", "i386", "backend", "to", "maintain", "source", "compatibility", "with", "the", "old", "cc0-based", "compiler", "."], "TS_V_token": ["i386", "5", "\"flags\"", "4", "\"fpsr\"", "7", "\"dirflag\""], "File": "i3863", "Func": "ix86_md_asm_clobbers", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16872, "Length": 68, "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", ";", "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"], "File": "X86ISelLowering (2)5", "Func": "getNumRegistersForCallingConv", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16873, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "getName", "(", ")", "{", "return", "DEBUG_TYPE", ";", "}", ""], "natrual_language": ["Return", "a", "string", "with", "the", "name", "of", "the", "plan", "and", "the", "applicable", "VFs", "and", "UFs", "."], "TS_V_token": ["ARM"], "File": "ARMInstructionSelector (2)", "Func": "getName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16874, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "SparcDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "unsigned", "GlobalBaseReg", "=", "TM", ".", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", "->", "getGlobalBaseReg", "(", "MF", ")", ";", "return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "getTargetLowering", "(", ")", "->", "getPointerTy", "(", ")", ")", ".", "getNode", "(", ")", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcISelDAGToDAG39", "Func": "getGlobalBaseReg", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16875, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCELFStreamer", "&", "Comet2TargetELFStreamer", "::", "getStreamer", "(", ")", "{", "return", "static_cast", "<", "MCELFStreamer", "&", ">", "(", "Streamer", ")", ";", "}", ""], "natrual_language": ["Return", "the", "output", "streamer", "for", "the", "assembler", "."], "TS_V_token": ["Comet2", "Comet2"], "File": "Comet2ELFStreamer", "Func": "getStreamer", "Target": "Comet2", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16876, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "loongarch_emit_probe_stack_range", "(", "HOST_WIDE_INT", "first", ",", "HOST_WIDE_INT", "size", ")", "{", "if", "(", "(", "TARGET_64BIT", "&&", "(", "first", "+", "size", "<=", "32768", ")", ")", "||", "(", "!", "TARGET_64BIT", "&&", "(", "first", "+", "size", "<=", "2048", ")", ")", ")", "{", "HOST_WIDE_INT", "i", ";", "for", "(", "i", "=", "PROBE_INTERVAL", ";", "i", "<", "size", ";", "i", "+=", "PROBE_INTERVAL", ")", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "(", "first", "+", "i", ")", ")", ")", ";", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "(", "first", "+", "size", ")", ")", ")", ";", "}", "else", "{", "HOST_WIDE_INT", "rounded_size", ";", "rtx", "r13", "=", "LARCH_PROLOGUE_TEMP", "(", "Pmode", ")", ";", "rtx", "r12", "=", "LARCH_PROLOGUE_TEMP2", "(", "Pmode", ")", ";", "rtx", "r14", "=", "LARCH_PROLOGUE_TEMP3", "(", "Pmode", ")", ";", "gcc_assert", "(", "first", "<=", "16384", ")", ";", "rounded_size", "=", "ROUND_DOWN", "(", "size", ",", "PROBE_INTERVAL", ")", ";", "if", "(", "first", "!=", "0", ")", "{", "emit_move_insn", "(", "r14", ",", "GEN_INT", "(", "first", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "r13", ",", "gen_rtx_MINUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "r14", ")", ")", ")", ";", "}", "else", "emit_move_insn", "(", "r13", ",", "stack_pointer_rtx", ")", ";", "emit_move_insn", "(", "r14", ",", "GEN_INT", "(", "PROBE_INTERVAL", ")", ")", ";", "if", "(", "rounded_size", "==", "0", ")", "emit_move_insn", "(", "r12", ",", "r13", ")", ";", "else", "{", "emit_move_insn", "(", "r12", ",", "GEN_INT", "(", "rounded_size", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "r12", ",", "gen_rtx_MINUS", "(", "Pmode", ",", "r13", ",", "r12", ")", ")", ")", ";", "emit_insn", "(", "gen_probe_stack_range", "(", "Pmode", ",", "r13", ",", "r13", ",", "r12", ",", "r14", ")", ")", ";", "}", "if", "(", "size", "!=", "rounded_size", ")", "{", "if", "(", "TARGET_64BIT", ")", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "r12", ",", "rounded_size", "-", "size", ")", ")", ";", "else", "{", "HOST_WIDE_INT", "i", ";", "for", "(", "i", "=", "2048", ";", "i", "<", "(", "size", "-", "rounded_size", ")", ";", "i", "+=", "2048", ")", "{", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "r12", ",", "-", "i", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "r12", ",", "plus_constant", "(", "Pmode", ",", "r12", ",", "-", "2048", ")", ")", ")", ";", "}", "rtx", "r1", "=", "plus_constant", "(", "Pmode", ",", "r12", ",", "-", "(", "size", "-", "rounded_size", "-", "i", "+", "2048", ")", ")", ";", "emit_stack_probe", "(", "r1", ")", ";", "}", "}", "}", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "probe", "a", "range", "of", "stack", "addresses", "from", "FIRST", "to", "FIRST+SIZE", ",", "inclusive", ".", "These", "are", "offsets", "from", "the", "current", "stack", "pointer", "."], "TS_V_token": ["loongarch", "32768", "2048", "16384", "0", "0", "2048", "2048", "2048", "2048"], "File": "loongarch", "Func": "loongarch_emit_probe_stack_range", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16877, "Length": 366, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isUsedByReturnOnly", "(", "SDNode", "*", "N", ",", "SDValue", "&", "Chain", ")", "const", "{", "if", "(", "N", "->", "getNumValues", "(", ")", "!=", "1", "||", "!", "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", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "return", "false", ";", "bool", "HasRet", "=", "false", ";", "for", "(", "const", "SDNode", "*", "U", ":", "Copy", "->", "uses", "(", ")", ")", "{", "if", "(", "U", "->", "getOpcode", "(", ")", "!=", "X86ISD", "::", "RET_FLAG", ")", "return", "false", ";", "if", "(", "U", "->", "getNumOperands", "(", ")", ">", "4", ")", "return", "false", ";", "if", "(", "U", "->", "getNumOperands", "(", ")", "==", "4", "&&", "U", "->", "getOperand", "(", "U", "->", "getNumOperands", "(", ")", "-", "1", ")", ".", "getValueType", "(", ")", "!=", "MVT", "::", "Glue", ")", "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": ["X86", "X86", "1", "1", "0", "ISD::CopyToReg", "1", "MVT::Glue", "0", "ISD::FP_EXTEND", "X86ISD::RET_FLAG", "4", "4", "1", "MVT::Glue"], "File": "X86ISelLowering100", "Func": "isUsedByReturnOnly", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16878, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "arm_function_value", "(", "tree", "type", ",", "tree", "func", "ATTRIBUTE_UNUSED", ")", "{", "enum", "machine_mode", "mode", ";", "int", "unsignedp", "ATTRIBUTE_UNUSED", ";", "rtx", "r", "ATTRIBUTE_UNUSED", ";", "mode", "=", "TYPE_MODE", "(", "type", ")", ";", "if", "(", "INTEGRAL_TYPE_P", "(", "type", ")", ")", "PROMOTE_FUNCTION_MODE", "(", "mode", ",", "unsignedp", ",", "type", ")", ";", "if", "(", "arm_return_in_msb", "(", "type", ")", ")", "{", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "if", "(", "size", "%", "UNITS_PER_WORD", "!=", "0", ")", "{", "size", "+=", "UNITS_PER_WORD", "-", "size", "%", "UNITS_PER_WORD", ";", "mode", "=", "mode_for_size", "(", "size", "*", "BITS_PER_UNIT", ",", "MODE_INT", ",", "0", ")", ";", "}", "}", "return", "LIBCALL_VALUE", "(", "mode", ")", ";", "}", ""], "natrual_language": ["Define", "how", "to", "find", "the", "value", "returned", "by", "a", "function", "."], "TS_V_token": ["arm", "0", "0"], "File": "arm3", "Func": "arm_function_value", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16879, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Emitter", "<", "CodeEmitter", ">", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "MMI", "=", "&", "getAnalysis", "<", "MachineModuleInfo", ">", "(", ")", ";", "MCE", ".", "setModuleInfo", "(", "MMI", ")", ";", "II", "=", "TM", ".", "getInstrInfo", "(", ")", ";", "TD", "=", "TM", ".", "getTargetData", "(", ")", ";", "Is64BitMode", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ";", "IsPIC", "=", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ";", "do", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"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", "::", "iterator", "I", "=", "MBB", "->", "begin", "(", ")", ",", "E", "=", "MBB", "->", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "const", "MCInstrDesc", "&", "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": "X86CodeEmitter13", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16880, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "extract_nth_lmsw_access_reg", "(", "rtx_insn", "*", "insn", ",", "int", "n", ")", "{", "rtx", "nth_rtx", "=", "extract_nth_access_rtx", "(", "insn", ",", "n", ")", ";", "if", "(", "nth_rtx", "==", "NULL_RTX", ")", "return", "NULL_RTX", ";", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_LOAD_MULTIPLE", ":", "return", "SET_DEST", "(", "nth_rtx", ")", ";", "case", "TYPE_STORE_MULTIPLE", ":", "return", "SET_SRC", "(", "nth_rtx", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Returns", "the", "register", "operated", "by", "the", "nth", "load/store", "operation", "in", "the", "real", "micro-operation", "accessing", "order", ".", "This", "function", "assumes", "INSN", "must", "be", "a", "multiple-word", "load/store", "insn", "."], "TS_V_token": ["nds32"], "File": "nds32-pipelines-auxiliary", "Func": "extract_nth_lmsw_access_reg", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16881, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86FrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "FrameReg", ")", "const", "{", "const", "X86RegisterInfo", "*", "RegInfo", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "if", "(", "RegInfo", "->", "hasBasePointer", "(", "MF", ")", ")", "FrameReg", "=", "RegInfo", "->", "getBaseRegister", "(", ")", ";", "else", "if", "(", "RegInfo", "->", "needsStackRealignment", "(", "MF", ")", ")", "FrameReg", "=", "RegInfo", "->", "getStackRegister", "(", ")", ";", "else", "FrameReg", "=", "RegInfo", "->", "getFrameRegister", "(", "MF", ")", ";", "return", "getFrameIndexOffset", "(", "MF", ",", "FI", ")", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86FrameLowering109", "Func": "getFrameIndexReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16882, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "new", "X86ExecutionDomainFix", "(", ")", ")", ";", "addPass", "(", "createBreakFalseDeps", "(", ")", ")", ";", "}", "addPass", "(", "createX86IndirectBranchTrackingPass", "(", ")", ")", ";", "if", "(", "UseVZeroUpper", ")", "addPass", "(", "createX86IssueVZeroUpperPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createX86FixupBWInsts", "(", ")", ")", ";", "addPass", "(", "createX86PadShortFunctions", "(", ")", ")", ";", "addPass", "(", "createX86FixupLEAs", "(", ")", ")", ";", "addPass", "(", "createX86EvexToVexInsts", "(", ")", ")", ";", "}", "addPass", "(", "createX86DiscriminateMemOpsPass", "(", ")", ")", ";", "addPass", "(", "createX86InsertPrefetchPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86TargetMachine105", "Func": "addPreEmitPass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16883, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86RegisterInfo", "::", "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", ")", "{", "Amount", "=", "(", "Amount", "+", "StackAlign", "-", "1", ")", "/", "StackAlign", "*", "StackAlign", ";", "MachineInstr", "*", "New", "=", "0", ";", "if", "(", "Old", "->", "getOpcode", "(", ")", "==", "getCallFrameSetupOpcode", "(", ")", ")", "{", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "getSUBriOpcode", "(", "Is64Bit", ",", "Amount", ")", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Old", "->", "getOpcode", "(", ")", "==", "getCallFrameDestroyOpcode", "(", ")", ")", ";", "uint64_t", "CalleeAmt", "=", "Old", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "Amount", "-=", "CalleeAmt", ";", "if", "(", "Amount", ")", "{", "unsigned", "Opc", "=", "getADDriOpcode", "(", "Is64Bit", ",", "Amount", ")", ";", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "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", "(", ")", ")", "{", "unsigned", "Opc", "=", "getSUBriOpcode", "(", "Is64Bit", ",", "CalleeAmt", ")", ";", "MachineInstr", "*", "Old", "=", "I", ";", "MachineInstr", "*", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "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": ["X86", "X86", "0", "0", "1", "0", "1", "3", "1", "3"], "File": "X86RegisterInfo40", "Func": "eliminateCallFramePseudoInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16884, "Length": 365, "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": 16885, "Length": 146, "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": 16886, "Length": 414, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "static", "rtx", "emit_set_insn", "(", "rtx", "x", ",", "rtx", "y", ")", "{", "return", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "x", ",", "y", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "insn", "that", "'s", "a", "simple", "single-set", ".", "Both", "the", "operands", "must", "be", "known", "to", "be", "valid", "."], "TS_V_token": ["aarch64"], "File": "aarch642", "Func": "emit_set_insn", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16887, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "CSKYRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "Id", ")", "const", "{", "const", "CSKYSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "CSKYSubtarget", ">", "(", ")", ";", "return", "CSR_I32_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["CSKY", "CSKY", "CSKY", "CSKY"], "File": "CSKYRegisterInfo", "Func": "getCallPreservedMask", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16888, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "{", "return", "Sparc", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["Sparc", "Sparc::NumTargetFixupKinds"], "File": "SparcAsmBackend12", "Func": "getNumFixupKinds", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16889, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsSEFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MipsFunctionInfo", "*", "MipsFI", "=", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "MipsABIInfo", "ABI", "=", "STI", ".", "getABI", "(", ")", ";", "unsigned", "RA", "=", "ABI", ".", "IsN64", "(", ")", "?", "Mips", "::", "RA_64", ":", "Mips", "::", "RA", ";", "unsigned", "FP", "=", "ABI", ".", "GetFramePtr", "(", ")", ";", "unsigned", "BP", "=", "ABI", ".", "IsN64", "(", ")", "?", "Mips", "::", "S7_64", ":", "Mips", "::", "S7", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "setAliasRegs", "(", "MF", ",", "SavedRegs", ",", "RA", ")", ";", "setAliasRegs", "(", "MF", ",", "SavedRegs", ",", "FP", ")", ";", "}", "if", "(", "hasBP", "(", "MF", ")", ")", "setAliasRegs", "(", "MF", ",", "SavedRegs", ",", "BP", ")", ";", "if", "(", "MipsFI", "->", "callsEhReturn", "(", ")", ")", "MipsFI", "->", "createEhDataRegsFI", "(", "MF", ")", ";", "if", "(", "MipsFI", "->", "isISR", "(", ")", ")", "MipsFI", "->", "createISRRegFI", "(", "MF", ")", ";", "if", "(", "ExpandPseudo", "(", "MF", ")", ".", "expand", "(", ")", ")", "{", "const", "TargetRegisterClass", "&", "RC", "=", "STI", ".", "isGP64bit", "(", ")", "?", "Mips", "::", "GPR64RegClass", ":", "Mips", "::", "GPR32RegClass", ";", "int", "FI", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "CreateStackObject", "(", "TRI", "->", "getSpillSize", "(", "RC", ")", ",", "TRI", "->", "getSpillAlign", "(", "RC", ")", ",", "false", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "FI", ")", ";", "}", "uint64_t", "MaxSPOffset", "=", "estimateStackSize", "(", "MF", ")", ";", "if", "(", "isIntN", "(", "STI", ".", "hasMSA", "(", ")", "?", "10", ":", "16", ",", "MaxSPOffset", ")", "&&", "!", "MF", ".", "getFrameInfo", "(", ")", ".", "hasVarSizedObjects", "(", ")", ")", "return", ";", "const", "TargetRegisterClass", "&", "RC", "=", "ABI", ".", "ArePtrs64bit", "(", ")", "?", "Mips", "::", "GPR64RegClass", ":", "Mips", "::", "GPR32RegClass", ";", "int", "FI", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "CreateStackObject", "(", "TRI", "->", "getSpillSize", "(", "RC", ")", ",", "TRI", "->", "getSpillAlign", "(", "RC", ")", ",", "false", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "FI", ")", ";", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::RA_64", "Mips::RA", "Mips::S7_64", "Mips::S7", "Mips", "Mips", "Mips", "Mips", "Mips::GPR64RegClass", "Mips::GPR32RegClass", "10", "16", "Mips::GPR64RegClass", "Mips::GPR32RegClass"], "File": "MipsSEFrameLowering (2)1", "Func": "determineCalleeSaves", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16890, "Length": 343, "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", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "isLittle", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "CPU", ",", "Options", ",", "isLittle", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "TT", ",", "RM", ")", ",", "CM", ",", "OL", ")", ",", "TargetABI", "(", "computeTargetABI", "(", "TT", ",", "CPU", ",", "Options", ")", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ",", "isLittle", ")", ",", "isLittle", "(", "isLittle", ")", "{", "if", "(", "Options", ".", "FloatABIType", "==", "FloatABI", "::", "Default", ")", "this", "->", "Options", ".", "FloatABIType", "=", "Subtarget", ".", "isTargetHardFloat", "(", ")", "?", "FloatABI", "::", "Hard", ":", "FloatABI", "::", "Soft", ";", "if", "(", "Options", ".", "EABIVersion", "==", "EABI", "::", "Default", "||", "Options", ".", "EABIVersion", "==", "EABI", "::", "Unknown", ")", "{", "if", "(", "Subtarget", ".", "isTargetGNUAEABI", "(", ")", "||", "Subtarget", ".", "isTargetMuslAEABI", "(", ")", ")", "this", "->", "Options", ".", "EABIVersion", "=", "EABI", "::", "GNU", ";", "else", "this", "->", "Options", ".", "EABIVersion", "=", "EABI", "::", "EABI5", ";", "}", "initAsmInfo", "(", ")", ";", "if", "(", "!", "Subtarget", ".", "isThumb", "(", ")", "&&", "!", "Subtarget", ".", "hasARMOps", "(", ")", ")", "report_fatal_error", "(", "\"CPU: '\"", "+", "Subtarget", ".", "getCPUString", "(", ")", "+", "\"' does not \"", "\"support ARM mode execution!\"", ")", ";", "}", ""], "natrual_language": ["Create", "an", "ARM", "architecture", "model", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "\"CPU: '\"", "\"' does not \"", "\"support ARM mode execution!\""], "File": "ARMTargetMachine14", "Func": "ARMBaseTargetMachine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16891, "Length": 243, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "associated_type", "(", "tree", "decl", ")", "{", "return", "(", "DECL_CONTEXT", "(", "decl", ")", "&&", "TYPE_P", "(", "DECL_CONTEXT", "(", "decl", ")", ")", ")", "?", "DECL_CONTEXT", "(", "decl", ")", ":", "NULL_TREE", ";", "}", ""], "natrual_language": ["Return", "the", "type", "that", "we", "should", "use", "to", "determine", "if", "DECL", "is", "imported", "or", "exported", "."], "TS_V_token": ["i386"], "File": "winnt3", "Func": "associated_type", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16892, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TOYAsmPrinter", "::", "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": ["TOY", "TOY"], "File": "TOYAsmPrinter1", "Func": "EmitInstruction", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16893, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isExtFreeImpl", "(", "const", "Instruction", "*", "Ext", ")", "const", "{", "if", "(", "isa", "<", "FPExtInst", ">", "(", "Ext", ")", ")", "return", "false", ";", "if", "(", "Ext", "->", "getType", "(", ")", "->", "isVectorTy", "(", ")", ")", "return", "false", ";", "for", "(", "const", "Use", "&", "U", ":", "Ext", "->", "uses", "(", ")", ")", "{", "const", "Instruction", "*", "Instr", "=", "cast", "<", "Instruction", ">", "(", "U", ".", "getUser", "(", ")", ")", ";", "switch", "(", "Instr", "->", "getOpcode", "(", ")", ")", "{", "case", "Instruction", "::", "Shl", ":", "if", "(", "!", "isa", "<", "ConstantInt", ">", "(", "Instr", "->", "getOperand", "(", "1", ")", ")", ")", "return", "false", ";", "break", ";", "case", "Instruction", "::", "GetElementPtr", ":", "{", "gep_type_iterator", "GTI", "=", "gep_type_begin", "(", "Instr", ")", ";", "auto", "&", "DL", "=", "Ext", "->", "getModule", "(", ")", "->", "getDataLayout", "(", ")", ";", "std", "::", "advance", "(", "GTI", ",", "U", ".", "getOperandNo", "(", ")", "-", "1", ")", ";", "Type", "*", "IdxTy", "=", "GTI", ".", "getIndexedType", "(", ")", ";", "uint64_t", "ShiftAmt", "=", "countTrailingZeros", "(", "DL", ".", "getTypeStoreSizeInBits", "(", "IdxTy", ")", ".", "getFixedSize", "(", ")", ")", "-", "3", ";", "if", "(", "ShiftAmt", "==", "0", "||", "ShiftAmt", ">", "4", ")", "return", "false", ";", "break", ";", "}", "case", "Instruction", "::", "Trunc", ":", "if", "(", "Instr", "->", "getType", "(", ")", "==", "Ext", "->", "getOperand", "(", "0", ")", "->", "getType", "(", ")", ")", "continue", ";", "LLVM_FALLTHROUGH", ";", "default", ":", "return", "false", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "extension", "represented", "by", "I", "is", "free", "."], "TS_V_token": ["AArch64", "AArch64", "1", "1", "3", "0", "4", "0"], "File": "AArch64ISelLowering (2)2", "Func": "isExtFreeImpl", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16894, "Length": 233, "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": 16895, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "auto", "*", "ZII", "=", "static_cast", "<", "const", "SystemZInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "SystemZMachineFunctionInfo", "*", "ZFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "assert", "(", "MBBI", "->", "isReturn", "(", ")", "&&", "\"Can only insert epilogue into returning blocks\"", ")", ";", "uint64_t", "StackSize", "=", "getAllocatedStackSize", "(", "MF", ")", ";", "if", "(", "ZFI", "->", "getLowSavedGPR", "(", ")", ")", "{", "--", "MBBI", ";", "unsigned", "Opcode", "=", "MBBI", "->", "getOpcode", "(", ")", ";", "if", "(", "Opcode", "!=", "SystemZ", "::", "LMG", ")", "llvm_unreachable", "(", "\"Expected to see callee-save register restore code\"", ")", ";", "unsigned", "AddrOpNo", "=", "2", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "uint64_t", "Offset", "=", "StackSize", "+", "MBBI", "->", "getOperand", "(", "AddrOpNo", "+", "1", ")", ".", "getImm", "(", ")", ";", "unsigned", "NewOpcode", "=", "ZII", "->", "getOpcodeForOffset", "(", "Opcode", ",", "Offset", ")", ";", "if", "(", "!", "NewOpcode", ")", "{", "uint64_t", "NumBytes", "=", "Offset", "-", "0x7fff8", ";", "emitIncrement", "(", "MBB", ",", "MBBI", ",", "DL", ",", "MBBI", "->", "getOperand", "(", "AddrOpNo", ")", ".", "getReg", "(", ")", ",", "NumBytes", ",", "ZII", ")", ";", "Offset", "-=", "NumBytes", ";", "NewOpcode", "=", "ZII", "->", "getOpcodeForOffset", "(", "Opcode", ",", "Offset", ")", ";", "assert", "(", "NewOpcode", "&&", "\"No restore instruction available\"", ")", ";", "}", "MBBI", "->", "setDesc", "(", "ZII", "->", "get", "(", "NewOpcode", ")", ")", ";", "MBBI", "->", "getOperand", "(", "AddrOpNo", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", "else", "if", "(", "StackSize", ")", "{", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "emitIncrement", "(", "MBB", ",", "MBBI", ",", "DL", ",", "SystemZ", "::", "R15D", ",", "StackSize", ",", "ZII", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "\"Can only insert epilogue into returning blocks\"", "SystemZ::LMG", "\"Expected to see callee-save register restore code\"", "2", "1", "0x7fff8", "\"No restore instruction available\"", "1", "SystemZ::R15D"], "File": "SystemZFrameLowering", "Func": "emitEpilogue", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16896, "Length": 279, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_no_early_store_addr_dep", "(", "rtx", "producer", ",", "rtx", "consumer", ")", "{", "rtx", "value", "=", "PATTERN", "(", "producer", ")", ";", "rtx", "addr", "=", "PATTERN", "(", "consumer", ")", ";", "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", "(", "addr", ")", "==", "COND_EXEC", ")", "addr", "=", "COND_EXEC_CODE", "(", "addr", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PARALLEL", ")", "addr", "=", "XVECEXP", "(", "addr", ",", "0", ",", "0", ")", ";", "addr", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "return", "!", "reg_overlap_mentioned_p", "(", "value", ",", "addr", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "the", "CONSUMER", "instruction", "(", "a", "store", ")", "does", "not", "need", "PRODUCER", "'s", "value", "to", "calculate", "the", "address", "."], "TS_V_token": ["arm", "0", "0", "0", "0", "0", "0"], "File": "arm3", "Func": "arm_no_early_store_addr_dep", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16897, "Length": 126, "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": 16898, "Length": 432, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ARMAsmParser", "::", "tryParseRegister", "(", ")", "{", "MCAsmParser", "&", "Parser", "=", "getParser", "(", ")", ";", "const", "AsmToken", "&", "Tok", "=", "Parser", ".", "getTok", "(", ")", ";", "if", "(", "Tok", ".", "isNot", "(", "AsmToken", "::", "Identifier", ")", ")", "return", "-", "1", ";", "std", "::", "string", "lowerCase", "=", "Tok", ".", "getString", "(", ")", ".", "lower", "(", ")", ";", "unsigned", "RegNum", "=", "MatchRegisterName", "(", "lowerCase", ")", ";", "if", "(", "!", "RegNum", ")", "{", "RegNum", "=", "StringSwitch", "<", "unsigned", ">", "(", "lowerCase", ")", ".", "Case", "(", "\"r13\"", ",", "ARM", "::", "SP", ")", ".", "Case", "(", "\"r14\"", ",", "ARM", "::", "LR", ")", ".", "Case", "(", "\"r15\"", ",", "ARM", "::", "PC", ")", ".", "Case", "(", "\"ip\"", ",", "ARM", "::", "R12", ")", ".", "Case", "(", "\"a1\"", ",", "ARM", "::", "R0", ")", ".", "Case", "(", "\"a2\"", ",", "ARM", "::", "R1", ")", ".", "Case", "(", "\"a3\"", ",", "ARM", "::", "R2", ")", ".", "Case", "(", "\"a4\"", ",", "ARM", "::", "R3", ")", ".", "Case", "(", "\"v1\"", ",", "ARM", "::", "R4", ")", ".", "Case", "(", "\"v2\"", ",", "ARM", "::", "R5", ")", ".", "Case", "(", "\"v3\"", ",", "ARM", "::", "R6", ")", ".", "Case", "(", "\"v4\"", ",", "ARM", "::", "R7", ")", ".", "Case", "(", "\"v5\"", ",", "ARM", "::", "R8", ")", ".", "Case", "(", "\"v6\"", ",", "ARM", "::", "R9", ")", ".", "Case", "(", "\"v7\"", ",", "ARM", "::", "R10", ")", ".", "Case", "(", "\"v8\"", ",", "ARM", "::", "R11", ")", ".", "Case", "(", "\"sb\"", ",", "ARM", "::", "R9", ")", ".", "Case", "(", "\"sl\"", ",", "ARM", "::", "R10", ")", ".", "Case", "(", "\"fp\"", ",", "ARM", "::", "R11", ")", ".", "Default", "(", "0", ")", ";", "}", "if", "(", "!", "RegNum", ")", "{", "StringMap", "<", "unsigned", ">", "::", "const_iterator", "Entry", "=", "RegisterReqs", ".", "find", "(", "lowerCase", ")", ";", "if", "(", "Entry", "==", "RegisterReqs", ".", "end", "(", ")", ")", "return", "-", "1", ";", "Parser", ".", "Lex", "(", ")", ";", "return", "Entry", "->", "getValue", "(", ")", ";", "}", "if", "(", "!", "hasD32", "(", ")", "&&", "RegNum", ">=", "ARM", "::", "D16", "&&", "RegNum", "<=", "ARM", "::", "D31", ")", "return", "-", "1", ";", "Parser", ".", "Lex", "(", ")", ";", "return", "RegNum", ";", "}", ""], "natrual_language": ["tryParseRegister", "-", "parse", "one", "register", "if", "possible"], "TS_V_token": ["ARM", "ARM", "1", "\"r13\"", "ARM::SP", "\"r14\"", "ARM::LR", "\"r15\"", "ARM::PC", "\"ip\"", "ARM::R12", "\"a1\"", "ARM::R0", "\"a2\"", "ARM::R1", "\"a3\"", "ARM::R2", "\"a4\"", "ARM::R3", "\"v1\"", "ARM::R4", "\"v2\"", "ARM::R5", "\"v3\"", "ARM::R6", "\"v4\"", "ARM::R7", "\"v5\"", "ARM::R8", "\"v6\"", "ARM::R9", "\"v7\"", "ARM::R10", "\"v8\"", "ARM::R11", "\"sb\"", "ARM::R9", "\"sl\"", "ARM::R10", "\"fp\"", "ARM::R11", "0", "1", "ARM::D16", "ARM::D31", "1"], "File": "ARMAsmParser (2)3", "Func": "tryParseRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16899, "Length": 339, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCMCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "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", ")", ";", "unsigned", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "unsigned", "Encode", "=", "CTX", ".", "getRegisterInfo", "(", ")", "->", "getEncodingValue", "(", "Reg", ")", ";", "if", "(", "(", "MCII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ".", "TSFlags", "&", "PPCII", "::", "UseVSXReg", ")", ")", "if", "(", "PPCInstrInfo", "::", "isVRRegister", "(", "Reg", ")", ")", "Encode", "+=", "32", ";", "return", "Encode", ";", "}", "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", "PPCII::UseVSXReg", "PPC", "32", "\"Relocation required in an instruction that we cannot encode!\""], "File": "PPCMCCodeEmitter15", "Func": "getMachineOpValue", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16900, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_expand_fp_vcond", "(", "rtx", "operands", "[", "]", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "operands", "[", "3", "]", ")", ";", "rtx", "cmp", ";", "code", "=", "ix86_prepare_sse_fp_compare_args", "(", "operands", "[", "0", "]", ",", "code", ",", "&", "operands", "[", "4", "]", ",", "&", "operands", "[", "5", "]", ")", ";", "if", "(", "code", "==", "UNKNOWN", ")", "return", "false", ";", "if", "(", "ix86_expand_sse_fp_minmax", "(", "operands", "[", "0", "]", ",", "code", ",", "operands", "[", "4", "]", ",", "operands", "[", "5", "]", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ")", "return", "true", ";", "cmp", "=", "ix86_expand_sse_cmp", "(", "operands", "[", "0", "]", ",", "code", ",", "operands", "[", "4", "]", ",", "operands", "[", "5", "]", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ";", "ix86_expand_sse_movcc", "(", "operands", "[", "0", "]", ",", "cmp", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Expand", "a", "floating-point", "vector", "conditional", "move", ";", "a", "vcond", "operation", "rather", "than", "a", "movcc", "operation", "."], "TS_V_token": ["i386", "3", "0", "4", "5", "0", "4", "5", "1", "2", "0", "4", "5", "1", "2", "0", "1", "2"], "File": "i3863", "Func": "ix86_expand_fp_vcond", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16901, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "cortexa7_sched_reorder", "(", "FILE", "*", "file", ",", "int", "verbose", ",", "rtx_insn", "*", "*", "ready", ",", "int", "*", "n_readyp", ",", "int", "clock", ")", "{", "int", "i", ";", "int", "first_older_only", "=", "-", "1", ",", "first_younger", "=", "-", "1", ";", "if", "(", "verbose", ">", "5", ")", "fprintf", "(", "file", ",", "\";; sched_reorder for cycle %d with %d insns in ready list\\n\"", ",", "clock", ",", "*", "n_readyp", ")", ";", "for", "(", "i", "=", "*", "n_readyp", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "rtx_insn", "*", "insn", "=", "ready", "[", "i", "]", ";", "if", "(", "cortexa7_older_only", "(", "insn", ")", ")", "{", "first_older_only", "=", "i", ";", "if", "(", "verbose", ">", "5", ")", "fprintf", "(", "file", ",", "\";; reorder older found %d\\n\"", ",", "INSN_UID", "(", "insn", ")", ")", ";", "break", ";", "}", "else", "if", "(", "cortexa7_younger", "(", "file", ",", "verbose", ",", "insn", ")", "&&", "first_younger", "==", "-", "1", ")", "first_younger", "=", "i", ";", "}", "if", "(", "first_younger", "==", "-", "1", ")", "{", "if", "(", "verbose", ">", "5", ")", "fprintf", "(", "file", ",", "\";; sched_reorder nothing to reorder as no younger\\n\"", ")", ";", "return", ";", "}", "if", "(", "first_older_only", "==", "-", "1", ")", "{", "if", "(", "verbose", ">", "5", ")", "fprintf", "(", "file", ",", "\";; sched_reorder nothing to reorder as no older_only\\n\"", ")", ";", "return", ";", "}", "if", "(", "verbose", ">", "5", ")", "fprintf", "(", "file", ",", "\";; cortexa7_sched_reorder insn %d before %d\\n\"", ",", "INSN_UID", "(", "ready", "[", "first_older_only", "]", ")", ",", "INSN_UID", "(", "ready", "[", "first_younger", "]", ")", ")", ";", "rtx_insn", "*", "first_older_only_insn", "=", "ready", "[", "first_older_only", "]", ";", "for", "(", "i", "=", "first_older_only", ";", "i", "<", "first_younger", ";", "i", "++", ")", "{", "ready", "[", "i", "]", "=", "ready", "[", "i", "+", "1", "]", ";", "}", "ready", "[", "i", "]", "=", "first_older_only_insn", ";", "return", ";", "}", ""], "natrual_language": ["Look", "for", "an", "instruction", "that", "can", "dual", "issue", "only", "as", "an", "older", "instruction", ",", "and", "move", "it", "in", "front", "of", "any", "instructions", "that", "can", "dual-issue", "as", "younger", ",", "while", "preserving", "the", "relative", "order", "of", "all", "other", "instructions", "in", "the", "ready", "list", ".", "This", "is", "a", "hueuristic", "to", "help", "dual-issue", "in", "later", "cycles", ",", "by", "postponing", "issue", "of", "more", "flexible", "instructions", ".", "This", "heuristic", "may", "affect", "dual", "issue", "opportunities", "in", "the", "current", "cycle", "."], "TS_V_token": ["arm", "1", "1", "5", "\";; sched_reorder for cycle %d with %d insns in ready list\\n\"", "1", "0", "5", "\";; reorder older found %d\\n\"", "1", "1", "5", "\";; sched_reorder nothing to reorder as no younger\\n\"", "1", "5", "\";; sched_reorder nothing to reorder as no older_only\\n\"", "5", "\";; cortexa7_sched_reorder insn %d before %d\\n\"", "1"], "File": "arm", "Func": "cortexa7_sched_reorder", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16902, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86ATTInstPrinter", "::", "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", "(", "CommentStream", ")", "HasCustomInstComment", "=", "EmitAnyX86InstComments", "(", "MI", ",", "*", "CommentStream", ",", "getRegisterName", ")", ";", "if", "(", "TSFlags", "&", "X86II", "::", "LOCK", ")", "OS", "<<", "\"\\tlock\\t\"", ";", "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", "]", ")", ")", "{", "MCInst", "Data32MI", "(", "*", "MI", ")", ";", "Data32MI", ".", "setOpcode", "(", "X86", "::", "DATA32_PREFIX", ")", ";", "printInstruction", "(", "&", "Data32MI", ",", "OS", ")", ";", "}", "else", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "OS", ")", ")", "printInstruction", "(", "MI", ",", "OS", ")", ";", "printAnnotation", "(", "OS", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["X86", "X86", "X86", "X86II::LOCK", "\"\\tlock\\t\"", "X86::CALLpcrel32", "X86::Mode64Bit", "\"\\tcallq\\t\"", "0", "X86::DATA16_PREFIX", "X86::Mode16Bit", "X86::DATA32_PREFIX"], "File": "X86ATTInstPrinter13", "Func": "printInst", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16903, "Length": 192, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "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-steering", "Func": "make_pass_fma_steering", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16904, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_expand_vector_init", "(", "rtx", "target", ",", "rtx", "vals", ")", "{", "machine_mode", "vmode", "=", "GET_MODE", "(", "target", ")", ";", "machine_mode", "imode", "=", "GET_MODE_INNER", "(", "vmode", ")", ";", "unsigned", "i", ",", "nelt", "=", "GET_MODE_NUNITS", "(", "vmode", ")", ";", "unsigned", "nvar", "=", "0", ",", "one_var", "=", "-", "1u", ";", "bool", "all_same", "=", "true", ";", "rtx", "x", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "{", "x", "=", "XVECEXP", "(", "vals", ",", "0", ",", "i", ")", ";", "if", "(", "!", "mips_constant_elt_p", "(", "x", ")", ")", "nvar", "++", ",", "one_var", "=", "i", ";", "if", "(", "i", ">", "0", "&&", "!", "rtx_equal_p", "(", "x", ",", "XVECEXP", "(", "vals", ",", "0", ",", "0", ")", ")", ")", "all_same", "=", "false", ";", "}", "if", "(", "nvar", "==", "0", ")", "{", "emit_move_insn", "(", "target", ",", "gen_rtx_CONST_VECTOR", "(", "vmode", ",", "XVEC", "(", "vals", ",", "0", ")", ")", ")", ";", "return", ";", "}", "if", "(", "nelt", "==", "2", ")", "{", "rtx", "op0", "=", "force_reg", "(", "imode", ",", "XVECEXP", "(", "vals", ",", "0", ",", "0", ")", ")", ";", "rtx", "op1", "=", "force_reg", "(", "imode", ",", "XVECEXP", "(", "vals", ",", "0", ",", "1", ")", ")", ";", "x", "=", "gen_rtx_VEC_CONCAT", "(", "vmode", ",", "op0", ",", "op1", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "target", ",", "x", ")", ")", ";", "return", ";", "}", "gcc_assert", "(", "TARGET_HARD_FLOAT", "&&", "TARGET_LOONGSON_VECTORS", ")", ";", "if", "(", "all_same", ")", "{", "mips_expand_vi_broadcast", "(", "vmode", ",", "target", ",", "XVECEXP", "(", "vals", ",", "0", ",", "0", ")", ")", ";", "return", ";", "}", "if", "(", "nvar", "==", "1", "&&", "vmode", "==", "V4HImode", ")", "{", "mips_expand_vi_loongson_one_pinsrh", "(", "target", ",", "vals", ",", "one_var", ")", ";", "return", ";", "}", "mips_expand_vi_general", "(", "vmode", ",", "imode", ",", "nelt", ",", "nvar", ",", "target", ",", "vals", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "vector", "initialization", "."], "TS_V_token": ["mips", "0", "1u", "0", "0", "0", "0", "0", "0", "0", "2", "0", "0", "0", "1", "0", "0", "1"], "File": "mips4", "Func": "mips_expand_vector_init", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16905, "Length": 284, "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": 16906, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86DomainReassignment", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "if", "(", "DisableX86DomainReassignment", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** Machine Function before Domain Reassignment *****\\n\"", ")", ";", "LLVM_DEBUG", "(", "MF", ".", "print", "(", "dbgs", "(", ")", ")", ")", ";", "STI", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "STI", "->", "hasAVX512", "(", ")", ")", "return", "false", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "assert", "(", "MRI", "->", "isSSA", "(", ")", "&&", "\"Expected MIR to be in SSA form\"", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "initConverters", "(", ")", ";", "bool", "Changed", "=", "false", ";", "EnclosedEdges", ".", "clear", "(", ")", ";", "EnclosedInstrs", ".", "clear", "(", ")", ";", "std", "::", "vector", "<", "Closure", ">", "Closures", ";", "unsigned", "ClosureID", "=", "0", ";", "for", "(", "unsigned", "Idx", "=", "0", ";", "Idx", "<", "MRI", "->", "getNumVirtRegs", "(", ")", ";", "++", "Idx", ")", "{", "unsigned", "Reg", "=", "TargetRegisterInfo", "::", "index2VirtReg", "(", "Idx", ")", ";", "if", "(", "!", "isGPR", "(", "MRI", "->", "getRegClass", "(", "Reg", ")", ")", ")", "continue", ";", "if", "(", "EnclosedEdges", ".", "count", "(", "Reg", ")", ")", "continue", ";", "Closure", "C", "(", "ClosureID", "++", ",", "{", "MaskDomain", "}", ")", ";", "buildClosure", "(", "C", ",", "Reg", ")", ";", "if", "(", "!", "C", ".", "empty", "(", ")", "&&", "C", ".", "isLegal", "(", "MaskDomain", ")", ")", "Closures", ".", "push_back", "(", "std", "::", "move", "(", "C", ")", ")", ";", "}", "for", "(", "Closure", "&", "C", ":", "Closures", ")", "{", "LLVM_DEBUG", "(", "C", ".", "dump", "(", "MRI", ")", ")", ";", "if", "(", "isReassignmentProfitable", "(", "C", ",", "MaskDomain", ")", ")", "{", "reassign", "(", "C", ",", "MaskDomain", ")", ";", "++", "NumClosuresConverted", ";", "Changed", "=", "true", ";", "}", "}", "DeleteContainerSeconds", "(", "Converters", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** Machine Function after Domain Reassignment *****\\n\"", ")", ";", "LLVM_DEBUG", "(", "MF", ".", "print", "(", "dbgs", "(", ")", ")", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "\"***** Machine Function before Domain Reassignment *****\\n\"", "X86", "\"Expected MIR to be in SSA form\"", "0", "0", "\"***** Machine Function after Domain Reassignment *****\\n\""], "File": "X86DomainReassignment13", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16907, "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", "(", "UseNEONFP", ")", ",", "IsThumb", "(", "isT", ")", ",", "ThumbMode", "(", "Thumb1", ")", ",", "PostRAScheduler", "(", "false", ")", ",", "IsR9Reserved", "(", "ReserveR9", ")", ",", "UseMovt", "(", "UseMOVT", ")", ",", "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", ";", "if", "(", "CPUString", "==", "\"cortex-a8\"", ")", "{", "if", "(", "UseNEONFP", ".", "getPosition", "(", ")", "==", "0", ")", "UseNEONForSinglePrecisionFP", "=", "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", "\"cortex-a8\"", "0"], "File": "ARMSubtarget48", "Func": "ARMSubtarget", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16908, "Length": 485, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMAsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsResolved", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "const", "{", "unsigned", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "if", "(", "Kind", ">=", "FirstLiteralRelocationKind", ")", "return", ";", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Kind", ")", ";", "MCContext", "&", "Ctx", "=", "Asm", ".", "getContext", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "Asm", ",", "Fixup", ",", "Target", ",", "Value", ",", "IsResolved", ",", "Ctx", ",", "STI", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "assert", "(", "Offset", "+", "NumBytes", "<=", "Data", ".", "size", "(", ")", "&&", "\"Invalid fixup offset!\"", ")", ";", "unsigned", "FullSizeBytes", ";", "if", "(", "Endian", "==", "support", "::", "big", ")", "{", "FullSizeBytes", "=", "getFixupKindContainerSizeBytes", "(", "Kind", ")", ";", "assert", "(", "(", "Offset", "+", "FullSizeBytes", ")", "<=", "Data", ".", "size", "(", ")", "&&", "\"Invalid fixup size!\"", ")", ";", "assert", "(", "NumBytes", "<=", "FullSizeBytes", "&&", "\"Invalid fixup size!\"", ")", ";", "}", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "Endian", "==", "support", "::", "little", "?", "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!\"", "support::big", "\"Invalid fixup size!\"", "\"Invalid fixup size!\"", "0", "support::little", "1", "8", "0xff"], "File": "ARMAsmBackend10", "Func": "applyFixup", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16909, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_in_small_data_p", "(", "tree", "decl", ")", "{", "HOST_WIDE_INT", "size", ";", "if", "(", "TREE_CODE", "(", "decl", ")", "==", "STRING_CST", "||", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", ")", "return", "false", ";", "if", "(", "TARGET_ABICALLS", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "decl", ")", "==", "VAR_DECL", "&&", "DECL_SECTION_NAME", "(", "decl", ")", "!=", "0", ")", "{", "const", "char", "*", "name", ";", "name", "=", "TREE_STRING_POINTER", "(", "DECL_SECTION_NAME", "(", "decl", ")", ")", ";", "if", "(", "strcmp", "(", "name", ",", "\".sdata\"", ")", "!=", "0", "&&", "strcmp", "(", "name", ",", "\".sbss\"", ")", "!=", "0", ")", "return", "false", ";", "if", "(", "TARGET_EXPLICIT_RELOCS", "||", "!", "DECL_EXTERNAL", "(", "decl", ")", ")", "return", "true", ";", "}", "else", "if", "(", "TARGET_EMBEDDED_DATA", ")", "{", "if", "(", "TREE_CODE", "(", "decl", ")", "!=", "VAR_DECL", ")", "return", "false", ";", "if", "(", "TREE_READONLY", "(", "decl", ")", "&&", "!", "TREE_SIDE_EFFECTS", "(", "decl", ")", "&&", "(", "!", "DECL_INITIAL", "(", "decl", ")", "||", "TREE_CONSTANT", "(", "DECL_INITIAL", "(", "decl", ")", ")", ")", ")", "return", "false", ";", "}", "size", "=", "int_size_in_bytes", "(", "TREE_TYPE", "(", "decl", ")", ")", ";", "return", "(", "size", ">", "0", "&&", "size", "<=", "mips_section_threshold", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_IN_SMALL_DATA_P", ".", "Return", "true", "if", "it", "would", "be", "safe", "to", "access", "DECL", "using", "%", "gp_rel", "(", "...", ")", "(", "$", "gp", ")", "."], "TS_V_token": ["mips", "0", "\".sdata\"", "0", "\".sbss\"", "0", "0"], "File": "mips3", "Func": "mips_in_small_data_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16910, "Length": 179, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_expand_fcmla_builtin", "(", "tree", "exp", ",", "rtx", "target", ",", "int", "fcode", ")", "{", "int", "bcode", "=", "fcode", "-", "AARCH64_SIMD_FCMLA_LANEQ_BUILTIN_BASE", "-", "1", ";", "aarch64_fcmla_laneq_builtin_datum", "*", "d", "=", "&", "aarch64_fcmla_lane_builtin_data", "[", "bcode", "]", ";", "machine_mode", "quadmode", "=", "GET_MODE_2XWIDER_MODE", "(", "d", "->", "mode", ")", ".", "require", "(", ")", ";", "rtx", "op0", "=", "force_reg", "(", "d", "->", "mode", ",", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ")", ")", ";", "rtx", "op1", "=", "force_reg", "(", "d", "->", "mode", ",", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "1", ")", ")", ")", ";", "rtx", "op2", "=", "force_reg", "(", "quadmode", ",", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "2", ")", ")", ")", ";", "tree", "tmp", "=", "CALL_EXPR_ARG", "(", "exp", ",", "3", ")", ";", "rtx", "lane_idx", "=", "expand_expr", "(", "tmp", ",", "NULL_RTX", ",", "VOIDmode", ",", "EXPAND_INITIALIZER", ")", ";", "if", "(", "!", "CONST_INT_P", "(", "lane_idx", ")", ")", "{", "error", "(", "\"%Kargument %d must be a constant immediate\"", ",", "exp", ",", "4", ")", ";", "return", "const0_rtx", ";", "}", "int", "nunits", "=", "GET_MODE_NUNITS", "(", "quadmode", ")", ".", "to_constant", "(", ")", ";", "aarch64_simd_lane_bounds", "(", "lane_idx", ",", "0", ",", "nunits", "/", "2", ",", "exp", ")", ";", "int", "lane", "=", "INTVAL", "(", "lane_idx", ")", ";", "if", "(", "lane", "<", "nunits", "/", "4", ")", "op2", "=", "simplify_gen_subreg", "(", "d", "->", "mode", ",", "op2", ",", "quadmode", ",", "subreg_lowpart_offset", "(", "d", "->", "mode", ",", "quadmode", ")", ")", ";", "else", "{", "rtx", "temp1", "=", "gen_reg_rtx", "(", "d", "->", "mode", ")", ";", "rtx", "temp2", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "temp1", "=", "simplify_gen_subreg", "(", "d", "->", "mode", ",", "op2", ",", "quadmode", ",", "subreg_lowpart_offset", "(", "d", "->", "mode", ",", "quadmode", ")", ")", ";", "temp1", "=", "simplify_gen_subreg", "(", "V2DImode", ",", "temp1", ",", "d", "->", "mode", ",", "0", ")", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "emit_insn", "(", "gen_aarch64_get_lanev2di", "(", "temp2", ",", "temp1", ",", "const0_rtx", ")", ")", ";", "else", "emit_insn", "(", "gen_aarch64_get_lanev2di", "(", "temp2", ",", "temp1", ",", "const1_rtx", ")", ")", ";", "op2", "=", "simplify_gen_subreg", "(", "d", "->", "mode", ",", "temp2", ",", "GET_MODE", "(", "temp2", ")", ",", "0", ")", ";", "lane", "-=", "nunits", "/", "4", ";", "}", "lane_idx", "=", "aarch64_endian_lane_rtx", "(", "V2DImode", ",", "lane", ")", ";", "if", "(", "!", "target", "||", "!", "REG_P", "(", "target", ")", "||", "GET_MODE", "(", "target", ")", "!=", "d", "->", "mode", ")", "target", "=", "gen_reg_rtx", "(", "d", "->", "mode", ")", ";", "rtx", "pat", "=", "NULL_RTX", ";", "if", "(", "d", "->", "lane", ")", "pat", "=", "GEN_FCN", "(", "d", "->", "icode", ")", "(", "target", ",", "op0", ",", "op1", ",", "op2", ",", "lane_idx", ")", ";", "else", "pat", "=", "GEN_FCN", "(", "d", "->", "icode", ")", "(", "target", ",", "op0", ",", "op1", ",", "op2", ")", ";", "if", "(", "!", "pat", ")", "return", "NULL_RTX", ";", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Expand", "a", "FCMLA", "lane", "expression", "EXP", "with", "code", "FCODE", "and", "result", "going", "to", "TARGET", "if", "that", "is", "convenient", "."], "TS_V_token": ["aarch64", "1", "0", "1", "2", "3", "\"%Kargument %d must be a constant immediate\"", "4", "0", "2", "4", "0", "0", "4"], "File": "aarch64-builtins1", "Func": "aarch64_expand_fcmla_builtin", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16911, "Length": 429, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "*", "aarch64_output_sve_addvl_addpl", "(", "rtx", "offset", ")", "{", "static", "char", "buffer", "[", "sizeof", "(", "\"addpl\\t%x0, %x1, #-\"", ")", "+", "3", "*", "sizeof", "(", "int", ")", "]", ";", "poly_int64", "offset_value", "=", "rtx_to_poly_int64", "(", "offset", ")", ";", "gcc_assert", "(", "aarch64_sve_addvl_addpl_immediate_p", "(", "offset_value", ")", ")", ";", "int", "factor", "=", "offset_value", ".", "coeffs", "[", "1", "]", ";", "if", "(", "(", "factor", "&", "15", ")", "==", "0", ")", "snprintf", "(", "buffer", ",", "sizeof", "(", "buffer", ")", ",", "\"addvl\\t%%x0, %%x1, #%d\"", ",", "factor", "/", "16", ")", ";", "else", "snprintf", "(", "buffer", ",", "sizeof", "(", "buffer", ")", ",", "\"addpl\\t%%x0, %%x1, #%d\"", ",", "factor", "/", "2", ")", ";", "return", "buffer", ";", "}", ""], "natrual_language": ["Return", "the", "asm", "string", "for", "adding", "ADDVL", "or", "ADDPL", "immediate", "X", "to", "operand", "1", "and", "storing", "the", "result", "in", "operand", "0", "."], "TS_V_token": ["aarch64", "\"addpl\\t%x0, %x1, #-\"", "3", "1", "15", "0", "\"addvl\\t%%x0, %%x1, #%d\"", "16", "\"addpl\\t%%x0, %%x1, #%d\"", "2"], "File": "aarch64", "Func": "aarch64_output_sve_addvl_addpl", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16912, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MINA32RegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["MINA32", "MINA32"], "File": "MINA32Subtarget", "Func": "getRegisterInfo", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16913, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZShortenInst", "::", "processBlock", "(", "MachineBasicBlock", "&", "MBB", ")", "{", "bool", "Changed", "=", "false", ";", "LiveRegs", ".", "clear", "(", ")", ";", "LiveRegs", ".", "addLiveOuts", "(", "MBB", ")", ";", "for", "(", "auto", "MBBI", "=", "MBB", ".", "rbegin", "(", ")", ",", "MBBE", "=", "MBB", ".", "rend", "(", ")", ";", "MBBI", "!=", "MBBE", ";", "++", "MBBI", ")", "{", "MachineInstr", "&", "MI", "=", "*", "MBBI", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "SystemZ", "::", "IILF", ":", "Changed", "|=", "shortenIIF", "(", "MI", ",", "SystemZ", "::", "LLILL", ",", "SystemZ", "::", "LLILH", ")", ";", "break", ";", "case", "SystemZ", "::", "IIHF", ":", "Changed", "|=", "shortenIIF", "(", "MI", ",", "SystemZ", "::", "LLIHL", ",", "SystemZ", "::", "LLIHH", ")", ";", "break", ";", "case", "SystemZ", "::", "WFADB", ":", "Changed", "|=", "shortenOn001AddCC", "(", "MI", ",", "SystemZ", "::", "ADBR", ")", ";", "break", ";", "case", "SystemZ", "::", "WFDDB", ":", "Changed", "|=", "shortenOn001", "(", "MI", ",", "SystemZ", "::", "DDBR", ")", ";", "break", ";", "case", "SystemZ", "::", "WFIDB", ":", "Changed", "|=", "shortenFPConv", "(", "MI", ",", "SystemZ", "::", "FIDBRA", ")", ";", "break", ";", "case", "SystemZ", "::", "WLDEB", ":", "Changed", "|=", "shortenOn01", "(", "MI", ",", "SystemZ", "::", "LDEBR", ")", ";", "break", ";", "case", "SystemZ", "::", "WLEDB", ":", "Changed", "|=", "shortenFPConv", "(", "MI", ",", "SystemZ", "::", "LEDBRA", ")", ";", "break", ";", "case", "SystemZ", "::", "WFMDB", ":", "Changed", "|=", "shortenOn001", "(", "MI", ",", "SystemZ", "::", "MDBR", ")", ";", "break", ";", "case", "SystemZ", "::", "WFLCDB", ":", "Changed", "|=", "shortenOn01", "(", "MI", ",", "SystemZ", "::", "LCDFR", ")", ";", "break", ";", "case", "SystemZ", "::", "WFLNDB", ":", "Changed", "|=", "shortenOn01", "(", "MI", ",", "SystemZ", "::", "LNDFR", ")", ";", "break", ";", "case", "SystemZ", "::", "WFLPDB", ":", "Changed", "|=", "shortenOn01", "(", "MI", ",", "SystemZ", "::", "LPDFR", ")", ";", "break", ";", "case", "SystemZ", "::", "WFSQDB", ":", "Changed", "|=", "shortenOn01", "(", "MI", ",", "SystemZ", "::", "SQDBR", ")", ";", "break", ";", "case", "SystemZ", "::", "WFSDB", ":", "Changed", "|=", "shortenOn001AddCC", "(", "MI", ",", "SystemZ", "::", "SDBR", ")", ";", "break", ";", "case", "SystemZ", "::", "WFCDB", ":", "Changed", "|=", "shortenOn01", "(", "MI", ",", "SystemZ", "::", "CDBR", ")", ";", "break", ";", "case", "SystemZ", "::", "VL32", ":", "Changed", "|=", "shortenOn0", "(", "MI", ",", "SystemZ", "::", "LDE32", ")", ";", "break", ";", "case", "SystemZ", "::", "VST32", ":", "Changed", "|=", "shortenOn0", "(", "MI", ",", "SystemZ", "::", "STE", ")", ";", "break", ";", "case", "SystemZ", "::", "VL64", ":", "Changed", "|=", "shortenOn0", "(", "MI", ",", "SystemZ", "::", "LD", ")", ";", "break", ";", "case", "SystemZ", "::", "VST64", ":", "Changed", "|=", "shortenOn0", "(", "MI", ",", "SystemZ", "::", "STD", ")", ";", "break", ";", "}", "LiveRegs", ".", "stepBackward", "(", "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", "SystemZ::IILF", "SystemZ::LLILL", "SystemZ::LLILH", "SystemZ::IIHF", "SystemZ::LLIHL", "SystemZ::LLIHH", "SystemZ::WFADB", "SystemZ::ADBR", "SystemZ::WFDDB", "SystemZ::DDBR", "SystemZ::WFIDB", "SystemZ::FIDBRA", "SystemZ::WLDEB", "SystemZ::LDEBR", "SystemZ::WLEDB", "SystemZ::LEDBRA", "SystemZ::WFMDB", "SystemZ::MDBR", "SystemZ::WFLCDB", "SystemZ::LCDFR", "SystemZ::WFLNDB", "SystemZ::LNDFR", "SystemZ::WFLPDB", "SystemZ::LPDFR", "SystemZ::WFSQDB", "SystemZ::SQDBR", "SystemZ::WFSDB", "SystemZ::SDBR", "SystemZ::WFCDB", "SystemZ::CDBR", "SystemZ::VL32", "SystemZ::LDE32", "SystemZ::VST32", "SystemZ::STE", "SystemZ::VL64", "SystemZ::LD", "SystemZ::VST64", "SystemZ::STD"], "File": "SystemZShortenInst15", "Func": "processBlock", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16914, "Length": 416, "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", ";", "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"], "File": "AArch64ISelLowering (2)", "Func": "getPreferredVectorAction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16915, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "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", "FrameOffset", "+", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ";", "}", "if", "(", "RegInfo", "->", "needsStackRealignment", "(", "MF", ")", "&&", "!", "isFixed", ")", "{", "if", "(", "hasBP", "(", "MF", ")", ")", "FrameReg", "=", "VE", "::", "SX17", ";", "else", "FrameReg", "=", "VE", "::", "SX11", ";", "return", "FrameOffset", "+", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ";", "}", "FrameReg", "=", "RegInfo", "->", "getFrameRegister", "(", "MF", ")", ";", "return", "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": "VEFrameLowering8", "Func": "getFrameIndexReference", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16916, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_override_options", "(", "void", ")", "{", "uint64_t", "cpu_isa", "=", "0", ";", "uint64_t", "arch_isa", "=", "0", ";", "aarch64_isa_flags", "=", "0", ";", "bool", "valid_cpu", "=", "true", ";", "bool", "valid_tune", "=", "true", ";", "bool", "valid_arch", "=", "true", ";", "selected_cpu", "=", "NULL", ";", "selected_arch", "=", "NULL", ";", "selected_tune", "=", "NULL", ";", "if", "(", "aarch64_harden_sls_string", ")", "aarch64_validate_sls_mitigation", "(", "aarch64_harden_sls_string", ")", ";", "if", "(", "aarch64_branch_protection_string", ")", "aarch64_validate_mbranch_protection", "(", "aarch64_branch_protection_string", ")", ";", "if", "(", "aarch64_cpu_string", ")", "valid_cpu", "=", "aarch64_validate_mcpu", "(", "aarch64_cpu_string", ",", "&", "selected_cpu", ",", "&", "cpu_isa", ")", ";", "if", "(", "aarch64_arch_string", ")", "valid_arch", "=", "aarch64_validate_march", "(", "aarch64_arch_string", ",", "&", "selected_arch", ",", "&", "arch_isa", ")", ";", "if", "(", "aarch64_tune_string", ")", "valid_tune", "=", "aarch64_validate_mtune", "(", "aarch64_tune_string", ",", "&", "selected_tune", ")", ";", "SUBTARGET_OVERRIDE_OPTIONS", ";", "if", "(", "!", "selected_cpu", ")", "{", "if", "(", "selected_arch", ")", "{", "selected_cpu", "=", "&", "all_cores", "[", "selected_arch", "->", "ident", "]", ";", "aarch64_isa_flags", "=", "arch_isa", ";", "explicit_arch", "=", "selected_arch", "->", "arch", ";", "}", "else", "{", "selected_cpu", "=", "aarch64_get_tune_cpu", "(", "aarch64_none", ")", ";", "aarch64_isa_flags", "=", "TARGET_CPU_DEFAULT", ">>", "6", ";", "}", "if", "(", "selected_tune", ")", "explicit_tune_core", "=", "selected_tune", "->", "ident", ";", "}", "else", "if", "(", "selected_arch", ")", "{", "if", "(", "selected_arch", "->", "arch", "!=", "selected_cpu", "->", "arch", ")", "{", "warning", "(", "0", ",", "\"switch %<-mcpu=%s%> conflicts with %<-march=%s%> switch\"", ",", "aarch64_cpu_string", ",", "aarch64_arch_string", ")", ";", "}", "aarch64_isa_flags", "=", "arch_isa", ";", "explicit_arch", "=", "selected_arch", "->", "arch", ";", "explicit_tune_core", "=", "selected_tune", "?", "selected_tune", "->", "ident", ":", "selected_cpu", "->", "ident", ";", "}", "else", "{", "aarch64_isa_flags", "=", "cpu_isa", ";", "explicit_tune_core", "=", "selected_tune", "?", "selected_tune", "->", "ident", ":", "selected_cpu", "->", "ident", ";", "gcc_assert", "(", "selected_cpu", ")", ";", "selected_arch", "=", "&", "all_architectures", "[", "selected_cpu", "->", "arch", "]", ";", "explicit_arch", "=", "selected_arch", "->", "arch", ";", "}", "if", "(", "!", "selected_arch", ")", "{", "gcc_assert", "(", "selected_cpu", ")", ";", "selected_arch", "=", "&", "all_architectures", "[", "selected_cpu", "->", "arch", "]", ";", "}", "if", "(", "!", "selected_tune", ")", "selected_tune", "=", "selected_cpu", ";", "if", "(", "aarch64_enable_bti", "==", "2", ")", "{", "aarch64_enable_bti", "=", "1", ";", "aarch64_enable_bti", "=", "0", ";", "}", "if", "(", "!", "TARGET_ILP32", "&&", "accepted_branch_protection_string", "==", "NULL", ")", "{", "aarch64_ra_sign_scope", "=", "AARCH64_FUNCTION_NON_LEAF", ";", "aarch64_ra_sign_scope", "=", "AARCH64_FUNCTION_NONE", ";", "}", "if", "(", "TARGET_ILP32", ")", "error", "(", "\"assembler does not support %<-mabi=ilp32%>\"", ")", ";", "aarch64_sve_vg", "=", "aarch64_convert_sve_vector_bits", "(", "aarch64_sve_vector_bits", ")", ";", "if", "(", "aarch64_ra_sign_scope", "!=", "AARCH64_FUNCTION_NONE", "&&", "TARGET_ILP32", ")", "sorry", "(", "\"return address signing is only supported for %<-mabi=lp64%>\"", ")", ";", "if", "(", "(", "aarch64_cpu_string", "&&", "valid_cpu", ")", "||", "(", "aarch64_tune_string", "&&", "valid_tune", ")", ")", "gcc_assert", "(", "explicit_tune_core", "!=", "aarch64_none", ")", ";", "if", "(", "(", "aarch64_cpu_string", "&&", "valid_cpu", ")", "||", "(", "aarch64_arch_string", "&&", "valid_arch", ")", ")", "gcc_assert", "(", "explicit_arch", "!=", "aarch64_no_arch", ")", ";", "if", "(", "aarch64_track_speculation", ")", "flag_shrink_wrap", "=", "0", ";", "aarch64_override_options_internal", "(", "&", "global_options", ")", ";", "target_option_default_node", "=", "target_option_current_node", "=", "build_target_option_node", "(", "&", "global_options", ",", "&", "global_options_set", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_OVERRIDE", "."], "TS_V_token": ["aarch64", "0", "0", "0", "6", "0", "\"switch %<-mcpu=%s%> conflicts with %<-march=%s%> switch\"", "2", "1", "0", "\"assembler does not support %<-mabi=ilp32%>\"", "\"return address signing is only supported for %<-mabi=lp64%>\"", "0"], "File": "aarch641", "Func": "aarch64_override_options", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16917, "Length": 432, "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": 16918, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "PPCMCExpr", "*", "PPCMCExpr", "::", "Create", "(", "VariantKind", "Kind", ",", "const", "MCExpr", "*", "Expr", ",", "MCContext", "&", "Ctx", ")", "{", "int", "AssemblerDialect", "=", "Ctx", ".", "getAsmInfo", "(", ")", "->", "getAssemblerDialect", "(", ")", ";", "return", "new", "(", "Ctx", ")", "PPCMCExpr", "(", "Kind", ",", "Expr", ",", "AssemblerDialect", ")", ";", "}", ""], "natrual_language": ["Construct", "a", "unary", "instruction", ",", "given", "the", "opcode", "and", "an", "operand", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC"], "File": "PPCMCExpr", "Func": "Create", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16919, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PPCSubtarget", "::", "PPCSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "is64Bit", ")", ":", "StackAlignment", "(", "16", ")", ",", "DarwinDirective", "(", "PPC", "::", "DIR_NONE", ")", ",", "IsGigaProcessor", "(", "false", ")", ",", "Has64BitSupport", "(", "false", ")", ",", "Use64BitRegs", "(", "false", ")", ",", "IsPPC64", "(", "is64Bit", ")", ",", "HasAltivec", "(", "false", ")", ",", "HasFSQRT", "(", "false", ")", ",", "HasSTFIWX", "(", "false", ")", ",", "HasLazyResolverStubs", "(", "false", ")", ",", "DarwinVers", "(", "0", ")", "{", "std", "::", "string", "CPU", "=", "\"generic\"", ";", "CPU", "=", "GetCurrentPowerPCCPU", "(", ")", ";", "ParseSubtargetFeatures", "(", "FS", ",", "CPU", ")", ";", "if", "(", "is64Bit", ")", "{", "Has64BitSupport", "=", "true", ";", "Use64BitRegs", "=", "true", ";", "}", "if", "(", "use64BitRegs", "(", ")", "&&", "!", "has64BitSupport", "(", ")", ")", "Use64BitRegs", "=", "false", ";", "if", "(", "TT", ".", "length", "(", ")", ">", "7", ")", "{", "size_t", "DarwinPos", "=", "TT", ".", "find", "(", "\"-darwin\"", ")", ";", "if", "(", "DarwinPos", "!=", "std", "::", "string", "::", "npos", ")", "{", "if", "(", "isdigit", "(", "TT", "[", "DarwinPos", "+", "7", "]", ")", ")", "DarwinVers", "=", "atoi", "(", "&", "TT", "[", "DarwinPos", "+", "7", "]", ")", ";", "else", "DarwinVers", "=", "8", ";", "}", "}", "if", "(", "isDarwin", "(", ")", ")", "HasLazyResolverStubs", "=", "true", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "16", "PPC::DIR_NONE", "PPC", "0", "\"generic\"", "7", "\"-darwin\"", "7", "7", "8"], "File": "PPCSubtarget56", "Func": "PPCSubtarget", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16920, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "ARMBaseRegisterInfo", "::", "getLargestLegalSuperClass", "(", "const", "TargetRegisterClass", "*", "RC", ",", "const", "MachineFunction", "&", "MF", ")", "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", "::", "GPRPairRegClassID", ":", "return", "Super", ";", "case", "ARM", "::", "QPRRegClassID", ":", "case", "ARM", "::", "QQPRRegClassID", ":", "case", "ARM", "::", "QQQQPRRegClassID", ":", "if", "(", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "hasNEON", "(", ")", ")", "return", "Super", ";", "break", ";", "case", "ARM", "::", "MQPRRegClassID", ":", "case", "ARM", "::", "MQQPRRegClassID", ":", "case", "ARM", "::", "MQQQQPRRegClassID", ":", "if", "(", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "hasMVEIntegerOps", "(", ")", ")", "return", "Super", ";", "break", ";", "}", "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::GPRPairRegClassID", "ARM::QPRRegClassID", "ARM::QQPRRegClassID", "ARM::QQQQPRRegClassID", "ARM", "ARM::MQPRRegClassID", "ARM::MQQPRRegClassID", "ARM::MQQQQPRRegClassID", "ARM"], "File": "ARMBaseRegisterInfo", "Func": "getLargestLegalSuperClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16921, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "extended_reg_mentioned_1", "(", "rtx", "*", "p", ",", "void", "*", "data", "ATTRIBUTE_UNUSED", ")", "{", "unsigned", "int", "regno", ";", "if", "(", "!", "REG_P", "(", "*", "p", ")", ")", "return", "0", ";", "regno", "=", "REGNO", "(", "*", "p", ")", ";", "return", "REX_INT_REGNO_P", "(", "regno", ")", "||", "REX_SSE_REGNO_P", "(", "regno", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "when", "P", "points", "to", "register", "encoded", "via", "REX", "prefix", ".", "Called", "via", "for_each_rtx", "."], "TS_V_token": ["i386", "0"], "File": "i3863", "Func": "extended_reg_mentioned_1", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16922, "Length": 50, "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", ">=", "FirstLiteralRelocationKind", ")", "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": "ARMAsmBackend10", "Func": "shouldForceRelocation", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16923, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "csky_init_expanders", "(", "void", ")", "{", "init_machine_status", "=", "csky_init_machine_status", ";", "}", ""], "natrual_language": ["Implement", "INIT_EXPANDERS", "."], "TS_V_token": ["csky"], "File": "csky", "Func": "csky_init_expanders", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16924, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "void", "classify_registers", "(", "const_tree", ",", "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": "sparc", "Func": "classify_registers", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16925, "Length": 42, "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", "(", ")", ")", ";", "addPass", "(", "createAArch64VectorByElementOptPass", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Add", "passes", "that", "optimize", "instruction", "level", "parallelism", "for", "out-of-order", "targets", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine28", "Func": "addILPOpts", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16926, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getPrefetchDistance", "(", ")", "{", "return", "2000", ";", "}", ""], "natrual_language": ["Return", "the", "preferred", "prefetch", "distance", "in", "terms", "of", "instructions", "."], "TS_V_token": ["SystemZ", "2000"], "File": "SystemZTargetTransformInfo10", "Func": "getPrefetchDistance", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16927, "Length": 9, "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": ["DLX"], "File": "DLXMCExpr", "Func": "findAssociatedFragment", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16928, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "use_skip_p", "(", "rtx_insn", "*", "insn", ")", "{", "rtx_insn", "*", "jump_insn", "=", "next_active_insn", "(", "JUMP_LABEL", "(", "insn", ")", ")", ";", "while", "(", "insn", ")", "{", "insn", "=", "next_active_insn", "(", "insn", ")", ";", "if", "(", "!", "insn", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "ASM_INPUT", "||", "extract_asm_operands", "(", "PATTERN", "(", "insn", ")", ")", "!=", "NULL_RTX", ")", "break", ";", "if", "(", "get_attr_length", "(", "insn", ")", "==", "4", "&&", "jump_insn", "==", "next_active_insn", "(", "insn", ")", ")", "return", "TRUE", ";", "if", "(", "get_attr_length", "(", "insn", ")", ">", "0", ")", "break", ";", "}", "return", "FALSE", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "INSN", ",", "a", "forward", "jump", "insn", ",", "can", "use", "nullification", "to", "skip", "the", "following", "instruction", ".", "This", "avoids", "an", "extra", "cycle", "due", "to", "a", "mis-predicted", "branch", "when", "we", "fall", "through", "."], "TS_V_token": ["pa", "4", "0"], "File": "pa4", "Func": "use_skip_p", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16929, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsSEInstrInfo", "::", "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", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "GetMemOperand", "(", "MBB", ",", "FI", ",", "MachineMemOperand", "::", "MOLoad", ")", ";", "unsigned", "Opc", "=", "0", ";", "if", "(", "Mips", "::", "CPURegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opc", "=", "IsN64", "?", "Mips", "::", "LW_P8", ":", "Mips", "::", "LW", ";", "else", "if", "(", "Mips", "::", "CPU64RegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opc", "=", "IsN64", "?", "Mips", "::", "LD_P8", ":", "Mips", "::", "LD", ";", "else", "if", "(", "Mips", "::", "FGR32RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opc", "=", "IsN64", "?", "Mips", "::", "LWC1_P8", ":", "Mips", "::", "LWC1", ";", "else", "if", "(", "Mips", "::", "AFGR64RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opc", "=", "Mips", "::", "LDC1", ";", "else", "if", "(", "Mips", "::", "FGR64RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opc", "=", "IsN64", "?", "Mips", "::", "LDC164_P8", ":", "Mips", "::", "LDC164", ";", "assert", "(", "Opc", "&&", "\"Register class not handled!\"", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ",", "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": ["Mips", "Mips", "0", "Mips::CPURegsRegClass", "Mips::LW_P8", "Mips::LW", "Mips::CPU64RegsRegClass", "Mips::LD_P8", "Mips::LD", "Mips::FGR32RegClass", "Mips::LWC1_P8", "Mips::LWC1", "Mips::AFGR64RegClass", "Mips::LDC1", "Mips::FGR64RegClass", "Mips::LDC164_P8", "Mips::LDC164", "\"Register class not handled!\"", "0"], "File": "MipsSEInstrInfo1", "Func": "loadRegFromStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16930, "Length": 225, "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": 16931, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "ARMGOT", "::", "emit", "(", "MemoryRegion", "&", "pRegion", ")", "{", "uint32_t", "*", "buffer", "=", "reinterpret_cast", "<", "uint32_t", "*", ">", "(", "pRegion", ".", "begin", "(", ")", ")", ";", "ARMGOTEntry", "*", "got", "=", "NULL", ";", "uint64_t", "result", "=", "0x0", ";", "for", "(", "iterator", "it", "=", "begin", "(", ")", ",", "ie", "=", "end", "(", ")", ";", "it", "!=", "ie", ";", "++", "it", ",", "++", "buffer", ")", "{", "got", "=", "&", "(", "llvm", "::", "cast", "<", "ARMGOTEntry", ">", "(", "(", "*", "it", ")", ")", ")", ";", "*", "buffer", "=", "static_cast", "<", "uint32_t", ">", "(", "got", "->", "getValue", "(", ")", ")", ";", "result", "+=", "ARMGOTEntry", "::", "EntrySize", ";", "}", "return", "result", ";", "}", ""], "natrual_language": ["Output", "the", "remark", "via", "the", "diagnostic", "handler", "and", "to", "the", "optimization", "record", "file", "."], "TS_V_token": ["ARM", "ARM", "ARM", "0x0", "ARM", "ARMGOTEntry::EntrySize"], "File": "ARMGOT", "Func": "emit", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16932, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16TargetLowering", "::", "isEligibleForTailCallOptimization", "(", "const", "CCState", "&", "CCInfo", ",", "unsigned", "NextStackOffset", ",", "const", "MipsFunctionInfo", "&", "FI", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "call", "can", "be", "lowered", "as", "a", "tail", "call", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "Mips16ISelLowering (2)", "Func": "isEligibleForTailCallOptimization", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16933, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "OS", ")", "{", "if", "(", "ExtraCode", ")", "return", "AsmPrinter", "::", "PrintAsmOperand", "(", "MI", ",", "OpNo", ",", "ExtraCode", ",", "OS", ")", ";", "SystemZMCInstLower", "Lower", "(", "MF", "->", "getContext", "(", ")", ",", "*", "this", ")", ";", "MCOperand", "MO", "(", "Lower", ".", "lowerOperand", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ")", ")", ";", "SystemZInstPrinter", "::", "printOperand", "(", "MO", ",", "MAI", ",", "OS", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ"], "File": "SystemZAsmPrinter (2)1", "Func": "PrintAsmOperand", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16934, "Length": 85, "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": 16935, "Length": 323, "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", "::", "CPU64RegsRegClass", ":", "(", "const", "TargetRegisterClass", "*", ")", "&", "Mips", "::", "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": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips::CPU16RegsRegClass", "Mips::CPU64RegsRegClass", "Mips::CPURegsRegClass"], "File": "MipsMachineFunction21", "Func": "getGlobalBaseReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16936, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_sibcall_aix", "(", "rtx", "value", ",", "rtx", "func_desc", ",", "rtx", "flag", ",", "rtx", "cookie", ")", "{", "rtx", "call", "[", "2", "]", ";", "rtx", "insn", ";", "gcc_assert", "(", "INTVAL", "(", "cookie", ")", "==", "0", ")", ";", "call", "[", "0", "]", "=", "gen_rtx_CALL", "(", "VOIDmode", ",", "gen_rtx_MEM", "(", "SImode", ",", "func_desc", ")", ",", "flag", ")", ";", "if", "(", "value", "!=", "NULL_RTX", ")", "call", "[", "0", "]", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "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", ")", ")", ";", "use_reg", "(", "&", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ",", "gen_rtx_REG", "(", "Pmode", ",", "LR_REGNO", ")", ")", ";", "}", ""], "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": "rs60004", "Func": "rs6000_sibcall_aix", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16937, "Length": 138, "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", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "const", "MipsRegisterInfo", "&", "RegInfo", "=", "*", "static_cast", "<", "const", "MipsRegisterInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "SP", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "SP_64", ":", "Mips", "::", "SP", ";", "unsigned", "FP", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "FP_64", ":", "Mips", "::", "FP", ";", "unsigned", "ZERO", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "ZERO_64", ":", "Mips", "::", "ZERO", ";", "unsigned", "ADDu", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "DADDu", ":", "Mips", "::", "ADDu", ";", "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", "(", "MipsFI", "->", "callsEhReturn", "(", ")", ")", "{", "const", "TargetRegisterClass", "*", "RC", "=", "STI", ".", "isABI_N64", "(", ")", "?", "&", "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", ",", "ehDataReg", "(", "J", ")", ",", "MipsFI", "->", "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": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::SP_64", "Mips::SP", "Mips::FP_64", "Mips::FP", "Mips::ZERO_64", "Mips::ZERO", "Mips::DADDu", "Mips::ADDu", "0", "Mips", "Mips::GPR64RegClass", "Mips::GPR32RegClass", "0", "0", "4", "Mips"], "File": "MipsSEFrameLowering12", "Func": "emitEpilogue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16938, "Length": 378, "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": 16939, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMFastISel", "::", "isTypeLegal", "(", "Type", "*", "Ty", ",", "MVT", "&", "VT", ")", "{", "EVT", "evt", "=", "TLI", ".", "getValueType", "(", "DL", ",", "Ty", ",", "true", ")", ";", "if", "(", "evt", "==", "MVT", "::", "Other", "||", "!", "evt", ".", "isSimple", "(", ")", ")", "return", "false", ";", "VT", "=", "evt", ".", "getSimpleVT", "(", ")", ";", "return", "TLI", ".", "isTypeLegal", "(", "VT", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "type", "is", "legal", "."], "TS_V_token": ["ARM", "ARM", "MVT::Other"], "File": "ARMFastISel (2)2", "Func": "isTypeLegal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16940, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "addPreRegAlloc", "(", ")", "{", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["X86", "X86"], "File": "X86TargetMachine", "Func": "addPreRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16941, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "ARM64TargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "IsMemset", ",", "bool", "ZeroMemset", ",", "bool", "MemcpyStrSrc", ",", "MachineFunction", "&", "MF", ")", "const", "{", "bool", "Fast", ";", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "Subtarget", "->", "hasFPARMv8", "(", ")", "&&", "!", "IsMemset", "&&", "Size", ">=", "16", "&&", "!", "F", "->", "getAttributes", "(", ")", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "NoImplicitFloat", ")", "&&", "(", "memOpAlign", "(", "SrcAlign", ",", "DstAlign", ",", "16", ")", "||", "(", "allowsUnalignedMemoryAccesses", "(", "MVT", "::", "f128", ",", "0", ",", "&", "Fast", ")", "&&", "Fast", ")", ")", ")", "return", "MVT", "::", "f128", ";", "return", "Size", ">=", "8", "?", "MVT", "::", "i64", ":", "MVT", "::", "i32", ";", "}", ""], "natrual_language": ["It", "returns", "EVT", ":", ":Other", "if", "the", "type", "should", "be", "determined", "using", "generic", "target-independent", "logic", "."], "TS_V_token": ["ARM64", "ARM64", "16", "16", "MVT::f128", "0", "MVT::f128", "8", "MVT::i64", "MVT::i32"], "File": "ARM64ISelLowering", "Func": "getOptimalMemOpType", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16942, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ia64_expand_vecint_cmov", "(", "rtx", "operands", "[", "]", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "operands", "[", "3", "]", ")", ";", "bool", "negate", ";", "rtx", "cmp", ",", "x", ",", "ot", ",", "of", ";", "cmp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "negate", "=", "ia64_expand_vecint_compare", "(", "code", ",", "mode", ",", "cmp", ",", "operands", "[", "4", "]", ",", "operands", "[", "5", "]", ")", ";", "ot", "=", "operands", "[", "1", "+", "negate", "]", ";", "of", "=", "operands", "[", "2", "-", "negate", "]", ";", "if", "(", "ot", "==", "CONST0_RTX", "(", "mode", ")", ")", "{", "if", "(", "of", "==", "CONST0_RTX", "(", "mode", ")", ")", "{", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "ot", ")", ";", "return", ";", "}", "x", "=", "gen_rtx_NOT", "(", "mode", ",", "cmp", ")", ";", "x", "=", "gen_rtx_AND", "(", "mode", ",", "x", ",", "of", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "operands", "[", "0", "]", ",", "x", ")", ")", ";", "}", "else", "if", "(", "of", "==", "CONST0_RTX", "(", "mode", ")", ")", "{", "x", "=", "gen_rtx_AND", "(", "mode", ",", "cmp", ",", "ot", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "operands", "[", "0", "]", ",", "x", ")", ")", ";", "}", "else", "{", "rtx", "t", ",", "f", ";", "t", "=", "gen_reg_rtx", "(", "mode", ")", ";", "x", "=", "gen_rtx_AND", "(", "mode", ",", "cmp", ",", "operands", "[", "1", "+", "negate", "]", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "t", ",", "x", ")", ")", ";", "f", "=", "gen_reg_rtx", "(", "mode", ")", ";", "x", "=", "gen_rtx_NOT", "(", "mode", ",", "cmp", ")", ";", "x", "=", "gen_rtx_AND", "(", "mode", ",", "x", ",", "operands", "[", "2", "-", "negate", "]", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "f", ",", "x", ")", ")", ";", "x", "=", "gen_rtx_IOR", "(", "mode", ",", "t", ",", "f", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "operands", "[", "0", "]", ",", "x", ")", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "an", "integral", "vector", "conditional", "move", "."], "TS_V_token": ["ia64", "0", "3", "4", "5", "1", "2", "0", "0", "0", "1", "2", "0"], "File": "ia644", "Func": "ia64_expand_vecint_cmov", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16943, "Length": 311, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMachineVerifierClean", "(", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "is", "expected", "to", "pass", "all", "machine", "verifier", "checks", "."], "TS_V_token": ["DLX"], "File": "DLXTargetMachine", "Func": "isMachineVerifierClean", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16944, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "X86TargetLowering", "::", "getExceptionSelectorRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "{", "if", "(", "isFuncletEHPersonality", "(", "classifyEHPersonality", "(", "PersonalityFn", ")", ")", ")", "return", "X86", "::", "NoRegister", ";", "return", "Subtarget", ".", "isTarget64BitLP64", "(", ")", "?", "X86", "::", "RDX", ":", "X86", "::", "EDX", ";", "}", ""], "natrual_language": ["If", "a", "physical", "register", ",", "this", "returns", "the", "register", "that", "receives", "the", "exception", "typeid", "on", "entry", "to", "a", "landing", "pad", "."], "TS_V_token": ["X86", "X86", "X86::NoRegister", "X86::RDX", "X86::EDX"], "File": "X86ISelLowering (2)5", "Func": "getExceptionSelectorRegister", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16945, "Length": 43, "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": 16946, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "OR1KInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["OR1K", "OR1K"], "File": "OR1KTargetMachine", "Func": "getInstrInfo", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16947, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_emit_approx_sqrt", "(", "rtx", "dst", ",", "rtx", "src", ",", "bool", "recp", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "dst", ")", ";", "if", "(", "GET_MODE_INNER", "(", "mode", ")", "==", "HFmode", ")", "{", "gcc_assert", "(", "!", "recp", ")", ";", "return", "false", ";", "}", "if", "(", "!", "recp", ")", "{", "if", "(", "!", "(", "flag_mlow_precision_sqrt", "||", "(", "aarch64_tune_params", ".", "approx_modes", "->", "sqrt", "&", "AARCH64_APPROX_MODE", "(", "mode", ")", ")", ")", ")", "return", "false", ";", "if", "(", "flag_finite_math_only", "||", "flag_trapping_math", "||", "!", "flag_unsafe_math_optimizations", "||", "optimize_function_for_size_p", "(", "cfun", ")", ")", "return", "false", ";", "}", "else", "gcc_assert", "(", "use_rsqrt_p", "(", "mode", ")", ")", ";", "machine_mode", "mmsk", "=", "mode_for_int_vector", "(", "mode", ")", ".", "require", "(", ")", ";", "rtx", "xmsk", "=", "gen_reg_rtx", "(", "mmsk", ")", ";", "if", "(", "!", "recp", ")", "emit_insn", "(", "gen_rtx_SET", "(", "xmsk", ",", "gen_rtx_NEG", "(", "mmsk", ",", "gen_rtx_EQ", "(", "mmsk", ",", "src", ",", "CONST0_RTX", "(", "mode", ")", ")", ")", ")", ")", ";", "rtx", "xdst", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_aarch64_rsqrte", "(", "mode", ",", "xdst", ",", "src", ")", ")", ";", "int", "iterations", "=", "(", "GET_MODE_INNER", "(", "mode", ")", "==", "DFmode", ")", "?", "3", ":", "2", ";", "if", "(", "(", "recp", "&&", "flag_mrecip_low_precision_sqrt", ")", "||", "(", "!", "recp", "&&", "flag_mlow_precision_sqrt", ")", ")", "iterations", "--", ";", "rtx", "x1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "while", "(", "iterations", "--", ")", "{", "rtx", "x2", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_set_insn", "(", "x2", ",", "gen_rtx_MULT", "(", "mode", ",", "xdst", ",", "xdst", ")", ")", ";", "emit_insn", "(", "gen_aarch64_rsqrts", "(", "mode", ",", "x1", ",", "src", ",", "x2", ")", ")", ";", "if", "(", "iterations", ">", "0", ")", "emit_set_insn", "(", "xdst", ",", "gen_rtx_MULT", "(", "mode", ",", "xdst", ",", "x1", ")", ")", ";", "}", "if", "(", "!", "recp", ")", "{", "rtx", "xtmp", "=", "gen_reg_rtx", "(", "mmsk", ")", ";", "emit_set_insn", "(", "xtmp", ",", "gen_rtx_AND", "(", "mmsk", ",", "gen_rtx_NOT", "(", "mmsk", ",", "xmsk", ")", ",", "gen_rtx_SUBREG", "(", "mmsk", ",", "xdst", ",", "0", ")", ")", ")", ";", "emit_move_insn", "(", "xdst", ",", "gen_rtx_SUBREG", "(", "mode", ",", "xtmp", ",", "0", ")", ")", ";", "emit_set_insn", "(", "xdst", ",", "gen_rtx_MULT", "(", "mode", ",", "xdst", ",", "src", ")", ")", ";", "}", "emit_set_insn", "(", "dst", ",", "gen_rtx_MULT", "(", "mode", ",", "xdst", ",", "x1", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Emit", "instruction", "sequence", "to", "compute", "either", "the", "approximate", "square", "root", "or", "its", "approximate", "reciprocal", ",", "depending", "on", "the", "flag", "RECP", ",", "and", "return", "whether", "the", "sequence", "was", "emitted", "or", "not", "."], "TS_V_token": ["aarch64", "3", "2", "0", "0", "0"], "File": "aarch646", "Func": "aarch64_emit_approx_sqrt", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16948, "Length": 359, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "apply_predication", "(", "const", "function_instance", "&", "instance", ",", "tree", "return_type", ",", "vec", "<", "tree", ">", "&", "argument_types", ")", "{", "if", "(", "instance", ".", "pred", "!=", "PRED_none", ")", "{", "argument_types", ".", "quick_insert", "(", "0", ",", "get_svbool_t", "(", ")", ")", ";", "if", "(", "(", "argument_types", ".", "length", "(", ")", "==", "2", "&&", "instance", ".", "pred", "==", "PRED_m", ")", "||", "instance", ".", "shape", "==", "shapes", "::", "unary_convert_narrowt", ")", "argument_types", ".", "quick_insert", "(", "0", ",", "return_type", ")", ";", "}", "}", ""], "natrual_language": ["Apply", "predication", "into", "argument_types", "."], "TS_V_token": ["aarch64", "0", "2", "0"], "File": "aarch64-sve-builtins-shapes", "Func": "apply_predication", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16949, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "sh_media_register_for_return", "(", ")", "{", "int", "regno", ";", "int", "tr0_used", ";", "if", "(", "!", "current_function_is_leaf", ")", "return", "-", "1", ";", "tr0_used", "=", "flag_pic", "&&", "regs_ever_live", "[", "PIC_OFFSET_TABLE_REGNUM", "]", ";", "for", "(", "regno", "=", "FIRST_TARGET_REG", "+", "tr0_used", ";", "regno", "<=", "LAST_TARGET_REG", ";", "regno", "++", ")", "if", "(", "call_used_regs", "[", "regno", "]", "&&", "!", "regs_ever_live", "[", "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", "1"], "File": "sh2", "Func": "sh_media_register_for_return", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16950, "Length": 65, "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": ["Mips"], "File": "MipsTargetMachine (2)1", "Func": "getObjFileLowering", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16951, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_vect_struct_mode_p", "(", "machine_mode", "mode", ")", "{", "return", "mode", "==", "OImode", "||", "mode", "==", "CImode", "||", "mode", "==", "XImode", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "MODE", "is", "any", "of", "the", "large", "INT", "modes", "."], "TS_V_token": ["aarch64"], "File": "aarch642", "Func": "aarch64_vect_struct_mode_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16952, "Length": 22, "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", "::", "Style", "::", "None", ")", ",", "TM", "(", "TM", ")", ",", "TargetTriple", "(", "TT", ")", ",", "StackAlignOverride", "(", "StackAlignOverride", ")", ",", "PreferVectorWidthOverride", "(", "PreferVectorWidthOverride", ")", ",", "RequiredVectorWidth", "(", "RequiredVectorWidth", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ")", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", ",", "FrameLowering", "(", "*", "this", ",", "getStackAlignment", "(", ")", ")", "{", "if", "(", "!", "isPositionIndependent", "(", ")", ")", "setPICStyle", "(", "PICStyles", "::", "Style", "::", "None", ")", ";", "else", "if", "(", "is64Bit", "(", ")", ")", "setPICStyle", "(", "PICStyles", "::", "Style", "::", "RIPRel", ")", ";", "else", "if", "(", "isTargetCOFF", "(", ")", ")", "setPICStyle", "(", "PICStyles", "::", "Style", "::", "None", ")", ";", "else", "if", "(", "isTargetDarwin", "(", ")", ")", "setPICStyle", "(", "PICStyles", "::", "Style", "::", "StubPIC", ")", ";", "else", "if", "(", "isTargetELF", "(", ")", ")", "setPICStyle", "(", "PICStyles", "::", "Style", "::", "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": "X86Subtarget56", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16953, "Length": 246, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "loongarch_pass_mode_in_fpr_p", "(", "machine_mode", "mode", ")", "{", "if", "(", "GET_MODE_UNIT_SIZE", "(", "mode", ")", "<=", "UNITS_PER_FP_ARG", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", ")", "return", "1", ";", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_FLOAT", ")", "return", "2", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["If", "MODE", "represents", "an", "argument", "that", "can", "be", "passed", "or", "returned", "in", "floating-point", "registers", ",", "return", "the", "number", "of", "registers", ",", "else", "0", "."], "TS_V_token": ["loongarch", "1", "2", "0"], "File": "loongarch", "Func": "loongarch_pass_mode_in_fpr_p", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16954, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZTargetLowering", "::", "mayBeEmittedAsTailCall", "(", "const", "CallInst", "*", "CI", ")", "const", "{", "return", "CI", "->", "isTailCall", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "may", "be", "able", "emit", "the", "call", "instruction", "as", "a", "tail", "call", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZISelLowering (2)2", "Func": "mayBeEmittedAsTailCall", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16955, "Length": 20, "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", ")", ",", "HasCLMUL", "(", "false", ")", ",", "HasFMA3", "(", "false", ")", ",", "HasFMA4", "(", "false", ")", ",", "HasXOP", "(", "false", ")", ",", "HasMOVBE", "(", "false", ")", ",", "HasRDRAND", "(", "false", ")", ",", "HasF16C", "(", "false", ")", ",", "HasFSGSBase", "(", "false", ")", ",", "HasLZCNT", "(", "false", ")", ",", "HasBMI", "(", "false", ")", ",", "HasBMI2", "(", "false", ")", ",", "IsBTMemSlow", "(", "false", ")", ",", "IsUAMemFast", "(", "false", ")", ",", "HasVectorUAMem", "(", "false", ")", ",", "HasCmpxchg16b", "(", "false", ")", ",", "UseLeaForSP", "(", "false", ")", ",", "PostRAScheduler", "(", "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", ")", ";", "}", "}", "}", "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", "(", ")", "||", "isTargetFreeBSD", "(", ")", "||", "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": "X86Subtarget110", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16956, "Length": 475, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "recordRelocation", "(", "MachObjectWriter", "*", "Writer", ",", "MCAssembler", "&", "Asm", ",", "const", "MCAsmLayout", "&", "Layout", ",", "const", "MCFragment", "*", "Fragment", ",", "const", "MCFixup", "&", "Fixup", ",", "MCValue", "Target", ",", "uint64_t", "&", "FixedValue", ")", "override", "{", "if", "(", "Writer", "->", "is64Bit", "(", ")", ")", "RecordX86_64Relocation", "(", "Writer", ",", "Asm", ",", "Layout", ",", "Fragment", ",", "Fixup", ",", "Target", ",", "FixedValue", ")", ";", "else", "RecordX86Relocation", "(", "Writer", ",", "Asm", ",", "Layout", ",", "Fragment", ",", "Fixup", ",", "Target", ",", "FixedValue", ")", ";", "}", ""], "natrual_language": ["Record", "a", "relocation", "entry", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86MachObjectWriter (2)", "Func": "recordRelocation", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16957, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "CAHPMCExpr", "*", "CAHPMCExpr", "::", "create", "(", "const", "MCExpr", "*", "Expr", ",", "VariantKind", "Kind", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "CAHPMCExpr", "(", "Expr", ",", "Kind", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["CAHP", "CAHP", "CAHP", "CAHP"], "File": "CAHPMCExpr", "Func": "create", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16958, "Length": 33, "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": 16959, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "zero_all_vector_registers", "(", "HARD_REG_SET", "need_zeroed_hardregs", ")", "{", "if", "(", "!", "TARGET_AVX", ")", "return", "NULL", ";", "for", "(", "unsigned", "int", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "(", "IN_RANGE", "(", "regno", ",", "FIRST_SSE_REG", ",", "LAST_SSE_REG", ")", "||", "(", "TARGET_64BIT", "&&", "(", "REX_SSE_REGNO_P", "(", "regno", ")", "||", "(", "TARGET_AVX512F", "&&", "EXT_REX_SSE_REGNO_P", "(", "regno", ")", ")", ")", ")", ")", "&&", "!", "TEST_HARD_REG_BIT", "(", "need_zeroed_hardregs", ",", "regno", ")", ")", "return", "NULL", ";", "return", "gen_avx_vzeroall", "(", ")", ";", "}", ""], "natrual_language": ["Generate", "a", "rtx", "to", "zero", "all", "vector", "registers", "together", "if", "possible", ",", "otherwise", ",", "return", "NULL", "."], "TS_V_token": ["i386", "0"], "File": "i3861", "Func": "zero_all_vector_registers", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16960, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "mmix_local_alignment", "(", "tree", "type", "ATTRIBUTE_UNUSED", ",", "unsigned", "basic_align", ")", "{", "if", "(", "basic_align", "<", "32", ")", "return", "32", ";", "return", "basic_align", ";", "}", ""], "natrual_language": ["LOCAL_ALIGNMENT", "."], "TS_V_token": ["mmix", "32", "32"], "File": "mmix", "Func": "mmix_local_alignment", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16961, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "expand", "(", "function_expander", "&", "e", ")", "const", "OVERRIDE", "{", "if", "(", "m_su", ")", "e", ".", "rotate_inputs_left", "(", "1", ",", "2", ")", ";", "e", ".", "rotate_inputs_left", "(", "0", ",", "3", ")", ";", "machine_mode", "mode", "=", "e", ".", "vector_mode", "(", "0", ")", ";", "insn_code", "icode", "=", "code_for_dot_prod", "(", "UNSPEC_USDOT", ",", "mode", ")", ";", "return", "e", ".", "use_exact_insn", "(", "icode", ")", ";", "}", ""], "natrual_language": ["Expand", "the", "call", "and", "return", "its", "lhs", "."], "TS_V_token": ["aarch64", "1", "2", "0", "3", "0"], "File": "aarch64-sve-builtins-base2", "Func": "expand", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16962, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mep_legitimize_arg", "(", "const", "struct", "insn_operand_data", "*", "operand", ",", "rtx", "arg", ",", "int", "unsigned_p", ")", "{", "if", "(", "GET_CODE", "(", "arg", ")", "==", "CONST_INT", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "operand", "->", "mode", ")", "!=", "MODE_INT", ")", "return", "0", ";", "}", "else", "if", "(", "GET_CODE", "(", "arg", ")", "==", "CONST_DOUBLE", ")", ";", "else", "if", "(", "GET_MODE_SIZE", "(", "GET_MODE", "(", "arg", ")", ")", "!=", "GET_MODE_SIZE", "(", "operand", "->", "mode", ")", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "operand", "->", "mode", ")", "!=", "GET_MODE_CLASS", "(", "GET_MODE", "(", "arg", ")", ")", ")", "return", "0", ";", "if", "(", "operand", "->", "constraint", "[", "0", "]", "!=", "'='", ")", "arg", "=", "convert_to_mode", "(", "operand", "->", "mode", ",", "arg", ",", "unsigned_p", ")", ";", "}", "if", "(", "operand", "->", "constraint", "[", "0", "]", "==", "'='", "&&", "(", "!", "REG_P", "(", "arg", ")", "||", "!", "(", "CONTROL_REGNO_P", "(", "REGNO", "(", "arg", ")", ")", "||", "CCR_REGNO_P", "(", "REGNO", "(", "arg", ")", ")", "||", "CR_REGNO_P", "(", "REGNO", "(", "arg", ")", ")", ")", ")", ")", "return", "gen_reg_rtx", "(", "operand", "->", "mode", ")", ";", "arg", "=", "mep_convert_arg", "(", "operand", "->", "mode", ",", "arg", ")", ";", "if", "(", "operand", "->", "predicate", "(", "arg", ",", "operand", "->", "mode", ")", ")", "return", "arg", ";", "if", "(", "GET_CODE", "(", "arg", ")", "==", "CONST_INT", "||", "GET_CODE", "(", "arg", ")", "==", "CONST_DOUBLE", ")", "arg", "=", "force_reg", "(", "operand", "->", "mode", ",", "arg", ")", ";", "else", "arg", "=", "mep_convert_arg", "(", "operand", "->", "mode", ",", "force_reg", "(", "GET_MODE", "(", "arg", ")", ",", "arg", ")", ")", ";", "if", "(", "operand", "->", "predicate", "(", "arg", ",", "operand", "->", "mode", ")", ")", "return", "arg", ";", "return", "0", ";", "}", ""], "natrual_language": ["Try", "to", "make", "intrinsic", "argument", "ARG", "match", "the", "given", "operand", ".", "UNSIGNED_P", "is", "true", "if", "the", "argument", "has", "an", "unsigned", "type", "."], "TS_V_token": ["mep", "0", "0", "0", "0", "0"], "File": "mep", "Func": "mep_legitimize_arg", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16963, "Length": 265, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToAddress", "(", "unsigned", "ValVReg", ",", "unsigned", "Addr", ",", "uint64_t", "Size", ",", "MachinePointerInfo", "&", "MPO", ",", "CCValAssign", "&", "VA", ")", "override", "{", "assert", "(", "Size", "==", "4", "&&", "\"Unsupported size\"", ")", ";", "auto", "MMO", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getMachineMemOperand", "(", "MPO", ",", "MachineMemOperand", "::", "MOLoad", ",", "Size", ",", "0", ")", ";", "MIRBuilder", ".", "buildLoad", "(", "ValVReg", ",", "Addr", ",", "*", "MMO", ")", ";", "}", ""], "natrual_language": ["An", "overload", "which", "takes", "an", "ArgInfo", "if", "additional", "information", "about", "the", "arg", "is", "needed", "."], "TS_V_token": ["ARM", "4", "\"Unsupported size\"", "0"], "File": "ARMCallLowering12", "Func": "assignValueToAddress", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16964, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "pru_add3_frame_adjust", "(", "rtx", "op0", ",", "rtx", "op1", ",", "int", "addendum", ",", "const", "enum", "reg_note", "kind", ")", "{", "rtx", "insn", ";", "rtx", "op0_adjust", "=", "gen_rtx_SET", "(", "op0", ",", "plus_constant", "(", "Pmode", ",", "op1", ",", "addendum", ")", ")", ";", "if", "(", "UBYTE_INT", "(", "addendum", ")", "||", "UBYTE_INT", "(", "-", "addendum", ")", ")", "insn", "=", "emit_insn", "(", "op0_adjust", ")", ";", "else", "{", "rtx", "tmpreg", "=", "gen_rtx_REG", "(", "Pmode", ",", "PROLOGUE_TEMP_REGNUM", ")", ";", "if", "(", "addendum", "<", "0", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "tmpreg", ",", "gen_int_mode", "(", "-", "addendum", ",", "Pmode", ")", ")", ")", ";", "insn", "=", "emit_insn", "(", "gen_sub3_insn", "(", "op0", ",", "op1", ",", "tmpreg", ")", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_rtx_SET", "(", "tmpreg", ",", "gen_int_mode", "(", "addendum", ",", "Pmode", ")", ")", ")", ";", "insn", "=", "emit_insn", "(", "gen_add3_insn", "(", "op0", ",", "op1", ",", "tmpreg", ")", ")", ";", "}", "}", "if", "(", "kind", "!=", "REG_NOTE_MAX", ")", "add_reg_note", "(", "insn", ",", "kind", ",", "copy_rtx", "(", "op0_adjust", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "return", "insn", ";", "}", ""], "natrual_language": ["Emit", "efficient", "RTL", "equivalent", "of", "ADD3", "with", "the", "given", "const_int", "for", "frame-related", "registers", ".", "op0", "-", "Destination", "register", ".", "op1", "-", "First", "addendum", "operand", "(", "a", "register", ")", ".", "addendum", "-", "Second", "addendum", "operand", "(", "a", "constant", ")", ".", "kind", "-", "Note", "kind", ".", "REG_NOTE_MAX", "if", "no", "note", "must", "be", "added", "."], "TS_V_token": ["pru", "0", "1"], "File": "pru", "Func": "pru_add3_frame_adjust", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16965, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "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", "&&", "!", "is_complex_IBM_long_double", "(", "mode", ")", "&&", "FLOAT128_2REG_P", "(", "mode", ")", ")", ")", ")", "return", "64", ";", "else", "if", "(", "FLOAT128_VECTOR_P", "(", "mode", ")", ")", "return", "128", ";", "else", "if", "(", "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", ")", "{", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "!", "SCALAR_FLOAT_MODE_P", "(", "elt_mode", ")", ")", "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", "128", "64", "128"], "File": "rs6000-call", "Func": "rs6000_function_arg_boundary", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16966, "Length": 202, "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": 16967, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "F2003fInstrInfo", "::", "reverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "assert", "(", "!", "Cond", ".", "empty", "(", ")", "&&", "\"Invalid 2003f branch condition!\"", ")", ";", "F2003fCC", "::", "CondCode", "CC", "=", "static_cast", "<", "F2003fCC", "::", "CondCode", ">", "(", "Cond", ".", "back", "(", ")", ".", "getImm", "(", ")", ")", ";", "Cond", ".", "back", "(", ")", "=", "MachineOperand", "::", "CreateImm", "(", "OppositeF2003fCC", "(", "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": ["F2003f", "F2003f", "\"Invalid 2003f branch condition!\"", "F2003fCC::CondCode", "F2003fCC::CondCode", "F2003f"], "File": "F2003fInstrInfo", "Func": "reverseBranchCondition", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16968, "Length": 69, "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": ["Mips"], "File": "MipsAsmParser (2)4", "Func": "getEndLoc", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16969, "Length": 11, "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", "(", "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", "0"], "File": "AArch64AsmParser (2)1", "Func": "addExpr", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16970, "Length": 77, "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": "MipsTargetMachine10", "Func": "resetSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16971, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_get_builtin_type", "(", "enum", "ix86_builtin_type", "tcode", ")", "{", "unsigned", "int", "index", ";", "tree", "type", ",", "itype", ";", "gcc_assert", "(", "(", "unsigned", ")", "tcode", "<", "ARRAY_SIZE", "(", "ix86_builtin_type_tab", ")", ")", ";", "type", "=", "ix86_builtin_type_tab", "[", "(", "int", ")", "tcode", "]", ";", "if", "(", "type", "!=", "NULL", ")", "return", "type", ";", "gcc_assert", "(", "tcode", ">", "IX86_BT_LAST_PRIM", ")", ";", "if", "(", "tcode", "<=", "IX86_BT_LAST_VECT", ")", "{", "machine_mode", "mode", ";", "index", "=", "tcode", "-", "IX86_BT_LAST_PRIM", "-", "1", ";", "itype", "=", "ix86_get_builtin_type", "(", "ix86_builtin_type_vect_base", "[", "index", "]", ")", ";", "mode", "=", "ix86_builtin_type_vect_mode", "[", "index", "]", ";", "type", "=", "build_vector_type_for_mode", "(", "itype", ",", "mode", ")", ";", "}", "else", "{", "int", "quals", ";", "index", "=", "tcode", "-", "IX86_BT_LAST_VECT", "-", "1", ";", "if", "(", "tcode", "<=", "IX86_BT_LAST_PTR", ")", "quals", "=", "TYPE_UNQUALIFIED", ";", "else", "quals", "=", "TYPE_QUAL_CONST", ";", "itype", "=", "ix86_get_builtin_type", "(", "ix86_builtin_type_ptr_base", "[", "index", "]", ")", ";", "if", "(", "quals", "!=", "TYPE_UNQUALIFIED", ")", "itype", "=", "build_qualified_type", "(", "itype", ",", "quals", ")", ";", "type", "=", "build_pointer_type", "(", "itype", ")", ";", "}", "ix86_builtin_type_tab", "[", "(", "int", ")", "tcode", "]", "=", "type", ";", "return", "type", ";", "}", ""], "natrual_language": ["Retrieve", "an", "element", "from", "the", "above", "table", ",", "building", "some", "of", "the", "types", "lazily", "."], "TS_V_token": ["i386", "1", "1"], "File": "i386-builtins", "Func": "ix86_get_builtin_type", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16972, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "AArch64RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "return", "CSR_PCS_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64RegisterInfo20", "Func": "getCalleeSavedRegs", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16973, "Length": 18, "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": 16974, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_emit_sve_pred_move", "(", "rtx", "dest", ",", "rtx", "pred", ",", "rtx", "src", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "gen_rtx_UNSPEC", "(", "GET_MODE", "(", "dest", ")", ",", "gen_rtvec", "(", "2", ",", "pred", ",", "src", ")", ",", "UNSPEC_MERGE_PTRUE", ")", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "SVE", "predicated", "move", "from", "SRC", "to", "DEST", ".", "PRED", "is", "a", "predicate", "that", "is", "known", "to", "contain", "PTRUE", "."], "TS_V_token": ["aarch64", "2"], "File": "aarch645", "Func": "aarch64_emit_sve_pred_move", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16975, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isZExtFree", "(", "SDValue", "Val", ",", "EVT", "VT2", ")", "const", "{", "EVT", "VT1", "=", "Val", ".", "getValueType", "(", ")", ";", "if", "(", "isZExtFree", "(", "VT1", ",", "VT2", ")", ")", "return", "true", ";", "if", "(", "Val", ".", "getOpcode", "(", ")", "!=", "ISD", "::", "LOAD", ")", "return", "false", ";", "if", "(", "!", "VT1", ".", "isSimple", "(", ")", "||", "!", "VT1", ".", "isInteger", "(", ")", "||", "!", "VT2", ".", "isSimple", "(", ")", "||", "!", "VT2", ".", "isInteger", "(", ")", ")", "return", "false", ";", "switch", "(", "VT1", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "break", ";", "case", "MVT", "::", "i8", ":", "case", "MVT", "::", "i16", ":", "case", "MVT", "::", "i32", ":", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "zero-extending", "the", "specific", "node", "Val", "to", "type", "VT2", "is", "free", "(", "either", "because", "it", "'s", "implicitly", "zero-extended", "such", "as", "ARM", "ldrb", "/", "ldrh", "or", "because", "it", "'s", "folded", "such", "as", "X86", "zero-extending", "loads", ")", "."], "TS_V_token": ["X86", "X86", "ISD::LOAD", "MVT::i8", "MVT::i16", "MVT::i32"], "File": "X86ISelLowering (2)", "Func": "isZExtFree", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16976, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "AArch64RegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64InstrInfo (2)", "Func": "getRegisterInfo", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16977, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getCSRFirstUseCost", "(", ")", "const", "{", "return", "5", ";", "}", ""], "natrual_language": ["Allow", "the", "target", "to", "override", "the", "cost", "of", "using", "a", "callee-saved", "register", "for", "the", "first", "time", "."], "TS_V_token": ["ARM64", "5"], "File": "ARM64RegisterInfo", "Func": "getCSRFirstUseCost", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16978, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_madd_needs_nop", "(", "rtx_insn", "*", "insn", ")", "{", "enum", "attr_type", "attr_type", ";", "rtx_insn", "*", "prev", ";", "rtx", "body", ";", "if", "(", "!", "TARGET_FIX_ERR_A53_835769", ")", "return", "false", ";", "if", "(", "!", "INSN_P", "(", "insn", ")", "||", "recog_memoized", "(", "insn", ")", "<", "0", ")", "return", "false", ";", "attr_type", "=", "get_attr_type", "(", "insn", ")", ";", "if", "(", "!", "is_madd_op", "(", "attr_type", ")", ")", "return", "false", ";", "prev", "=", "aarch64_prev_real_insn", "(", "insn", ")", ";", "extract_constrain_insn_cached", "(", "insn", ")", ";", "if", "(", "!", "prev", "||", "!", "has_memory_op", "(", "prev", ")", ")", "return", "false", ";", "body", "=", "single_set", "(", "prev", ")", ";", "if", "(", "GET_MODE", "(", "recog_data", ".", "operand", "[", "0", "]", ")", "==", "DImode", "&&", "(", "!", "body", "||", "!", "dep_between_memop_and_curr", "(", "body", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["When", "working", "around", "the", "Cortex-A53", "erratum", "835769", ",", "given", "rtx_insn", "INSN", ",", "return", "true", "if", "it", "is", "a", "64-bit", "multiply-accumulate", "instruction", "and", "has", "a", "preceding", "memory", "instruction", "such", "that", "a", "NOP", "should", "be", "inserted", "between", "them", "."], "TS_V_token": ["aarch64", "0", "0"], "File": "aarch643", "Func": "aarch64_madd_needs_nop", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16979, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "X86ELFTargetObjectFile", "::", "getDebugThreadLocalSymbol", "(", "const", "MCSymbol", "*", "Sym", ")", "const", "{", "return", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "MCSymbolRefExpr", "::", "VK_DTPOFF", ",", "getContext", "(", ")", ")", ";", "}", ""], "natrual_language": ["Describe", "a", "TLS", "variable", "address", "within", "debug", "info", "."], "TS_V_token": ["X86", "X86"], "File": "X86TargetObjectFile16", "Func": "getDebugThreadLocalSymbol", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16980, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_output_mi_thunk", "(", "FILE", "*", "file", ",", "tree", "thunk", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", ",", "tree", "function", ")", "{", "int", "this_regno", "=", "R0_REGNUM", ";", "rtx", "this_rtx", ",", "temp0", ",", "temp1", ",", "addr", ",", "funexp", ";", "rtx_insn", "*", "insn", ";", "reload_completed", "=", "1", ";", "emit_note", "(", "NOTE_INSN_PROLOGUE_END", ")", ";", "if", "(", "vcall_offset", "==", "0", ")", "aarch64_add_constant", "(", "this_regno", ",", "IP1_REGNUM", ",", "delta", ")", ";", "else", "{", "gcc_assert", "(", "(", "vcall_offset", "&", "(", "POINTER_BYTES", "-", "1", ")", ")", "==", "0", ")", ";", "this_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "this_regno", ")", ";", "temp0", "=", "gen_rtx_REG", "(", "Pmode", ",", "IP0_REGNUM", ")", ";", "temp1", "=", "gen_rtx_REG", "(", "Pmode", ",", "IP1_REGNUM", ")", ";", "addr", "=", "this_rtx", ";", "if", "(", "delta", "!=", "0", ")", "{", "if", "(", "delta", ">=", "-", "256", "&&", "delta", "<", "256", ")", "addr", "=", "gen_rtx_PRE_MODIFY", "(", "Pmode", ",", "this_rtx", ",", "plus_constant", "(", "Pmode", ",", "this_rtx", ",", "delta", ")", ")", ";", "else", "aarch64_add_constant", "(", "this_regno", ",", "IP1_REGNUM", ",", "delta", ")", ";", "}", "if", "(", "Pmode", "==", "ptr_mode", ")", "aarch64_emit_move", "(", "temp0", ",", "gen_rtx_MEM", "(", "ptr_mode", ",", "addr", ")", ")", ";", "else", "aarch64_emit_move", "(", "temp0", ",", "gen_rtx_ZERO_EXTEND", "(", "Pmode", ",", "gen_rtx_MEM", "(", "ptr_mode", ",", "addr", ")", ")", ")", ";", "if", "(", "vcall_offset", ">=", "-", "256", "&&", "vcall_offset", "<", "4096", "*", "POINTER_BYTES", ")", "addr", "=", "plus_constant", "(", "Pmode", ",", "temp0", ",", "vcall_offset", ")", ";", "else", "{", "(", "void", ")", "aarch64_build_constant", "(", "IP1_REGNUM", ",", "vcall_offset", ",", "true", ")", ";", "addr", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "temp0", ",", "temp1", ")", ";", "}", "if", "(", "Pmode", "==", "ptr_mode", ")", "aarch64_emit_move", "(", "temp1", ",", "gen_rtx_MEM", "(", "ptr_mode", ",", "addr", ")", ")", ";", "else", "aarch64_emit_move", "(", "temp1", ",", "gen_rtx_SIGN_EXTEND", "(", "Pmode", ",", "gen_rtx_MEM", "(", "ptr_mode", ",", "addr", ")", ")", ")", ";", "emit_insn", "(", "gen_add2_insn", "(", "this_rtx", ",", "temp1", ")", ")", ";", "}", "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", ",", "NULL_RTX", ")", ")", ";", "SIBLING_CALL_P", "(", "insn", ")", "=", "1", ";", "insn", "=", "get_insns", "(", ")", ";", "shorten_branches", "(", "insn", ")", ";", "final_start_function", "(", "insn", ",", "file", ",", "1", ")", ";", "final", "(", "insn", ",", "file", ",", "1", ")", ";", "final_end_function", "(", ")", ";", "reload_completed", "=", "0", ";", "}", ""], "natrual_language": ["Output", "code", "to", "add", "DELTA", "to", "the", "first", "argument", ",", "and", "then", "jump", "to", "FUNCTION", ".", "Used", "for", "C++", "multiple", "inheritance", "."], "TS_V_token": ["aarch64", "1", "0", "1", "0", "0", "256", "256", "256", "4096", "1", "0", "1", "1", "1", "0"], "File": "aarch642", "Func": "aarch64_output_mi_thunk", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16981, "Length": 396, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "MipsRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "static", "const", "uint16_t", "ReservedGPR32", "[", "]", "=", "{", "Mips", "::", "ZERO", ",", "Mips", "::", "K0", ",", "Mips", "::", "K1", ",", "Mips", "::", "SP", "}", ";", "static", "const", "uint16_t", "ReservedGPR64", "[", "]", "=", "{", "Mips", "::", "ZERO_64", ",", "Mips", "::", "K0_64", ",", "Mips", "::", "K1_64", ",", "Mips", "::", "SP_64", "}", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "typedef", "TargetRegisterClass", "::", "const_iterator", "RegIter", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "ReservedGPR32", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedGPR32", "[", "I", "]", ")", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "ReservedGPR64", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedGPR64", "[", "I", "]", ")", ";", "if", "(", "Subtarget", ".", "isFP64bit", "(", ")", ")", "{", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "AFGR64RegClass", ".", "begin", "(", ")", ",", "EReg", "=", "Mips", "::", "AFGR64RegClass", ".", "end", "(", ")", ";", "Reg", "!=", "EReg", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "}", "else", "{", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "FGR64RegClass", ".", "begin", "(", ")", ",", "EReg", "=", "Mips", "::", "FGR64RegClass", ".", "end", "(", ")", ";", "Reg", "!=", "EReg", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "}", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "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", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "MSAIR", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "MSACSR", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "MSAAccess", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "MSASave", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "MSAModify", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "MSARequest", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "MSAMap", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "MSAUnmap", ")", ";", "if", "(", "Subtarget", ".", "inMips16Mode", "(", ")", ")", "{", "Reserved", ".", "set", "(", "Mips", "::", "RA", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "RA_64", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "T0", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "T1", ")", ";", "}", "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", "0", "Mips::AFGR64RegClass", "Mips::AFGR64RegClass", "Mips::FGR64RegClass", "Mips::FGR64RegClass", "Mips", "Mips::S0", "Mips::FP", "Mips::FP_64", "Mips::HWR29", "Mips::DSPPos", "Mips::DSPSCount", "Mips::DSPCarry", "Mips::DSPEFI", "Mips::DSPOutFlag", "Mips::MSAIR", "Mips::MSACSR", "Mips::MSAAccess", "Mips::MSASave", "Mips::MSAModify", "Mips::MSARequest", "Mips::MSAMap", "Mips::MSAUnmap", "Mips", "Mips::RA", "Mips::RA_64", "Mips::T0", "Mips::T1", "Mips::GP", "Mips::GP_64"], "File": "MipsRegisterInfo9", "Func": "getReservedRegs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16982, "Length": 480, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "get_memref_parts", "(", "rtx", "mem", ",", "rtx", "*", "base", ",", "HOST_WIDE_INT", "*", "offset", ",", "HOST_WIDE_INT", "*", "size", ")", "{", "rtx", "addr_rtx", ";", "if", "MEM_SIZE_KNOWN_P", "(", "mem", ")", "*", "size", "=", "MEM_SIZE", "(", "mem", ")", ";", "else", "return", "false", ";", "addr_rtx", "=", "(", "XEXP", "(", "mem", ",", "0", ")", ")", ";", "if", "(", "GET_CODE", "(", "addr_rtx", ")", "==", "PRE_MODIFY", ")", "addr_rtx", "=", "XEXP", "(", "addr_rtx", ",", "1", ")", ";", "*", "offset", "=", "0", ";", "while", "(", "GET_CODE", "(", "addr_rtx", ")", "==", "PLUS", "&&", "CONST_INT_P", "(", "XEXP", "(", "addr_rtx", ",", "1", ")", ")", ")", "{", "*", "offset", "+=", "INTVAL", "(", "XEXP", "(", "addr_rtx", ",", "1", ")", ")", ";", "addr_rtx", "=", "XEXP", "(", "addr_rtx", ",", "0", ")", ";", "}", "if", "(", "!", "REG_P", "(", "addr_rtx", ")", ")", "return", "false", ";", "*", "base", "=", "addr_rtx", ";", "return", "true", ";", "}", ""], "natrual_language": ["Try", "to", "determine", "base/offset/size", "parts", "of", "the", "given", "MEM", ".", "Return", "true", "if", "successful", ",", "false", "if", "all", "the", "values", "could", "n't", "be", "determined", ".", "This", "function", "only", "looks", "for", "REG", "or", "REG+CONST", "address", "forms", ".", "REG+REG", "address", "form", "will", "return", "false", "."], "TS_V_token": ["powerpcspe", "0", "1", "0", "1", "1", "0"], "File": "powerpcspe", "Func": "get_memref_parts", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16983, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "TOYRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "TOY", "::", "ZERO", ")", ";", "Reserved", ".", "set", "(", "TOY", "::", "SP", ")", ";", "Reserved", ".", "set", "(", "TOY", "::", "LR", ")", ";", "Reserved", ".", "set", "(", "TOY", "::", "TMP", ")", ";", "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": ["TOY", "TOY", "TOY::ZERO", "TOY::SP", "TOY::LR", "TOY::TMP"], "File": "TOYRegisterInfo", "Func": "getReservedRegs", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16984, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "loongarch_trampoline_init", "(", "rtx", "m_tramp", ",", "tree", "fndecl", ",", "rtx", "chain_value", ")", "{", "rtx", "addr", ",", "end_addr", ",", "mem", ";", "rtx", "trampoline", "[", "8", "]", ";", "unsigned", "int", "i", ",", "j", ";", "HOST_WIDE_INT", "end_addr_offset", ",", "static_chain_offset", ",", "target_function_offset", ";", "end_addr_offset", "=", "TRAMPOLINE_CODE_SIZE", ";", "static_chain_offset", "=", "end_addr_offset", ";", "target_function_offset", "=", "static_chain_offset", "+", "GET_MODE_SIZE", "(", "ptr_mode", ")", ";", "addr", "=", "force_reg", "(", "Pmode", ",", "XEXP", "(", "m_tramp", ",", "0", ")", ")", ";", "end_addr", "=", "loongarch_force_binary", "(", "Pmode", ",", "PLUS", ",", "addr", ",", "GEN_INT", "(", "end_addr_offset", ")", ")", ";", "i", "=", "0", ";", "trampoline", "[", "i", "++", "]", "=", "OP", "(", "0x18000000", "|", "(", "STATIC_CHAIN_REGNUM", "-", "GP_REG_FIRST", ")", ")", ";", "trampoline", "[", "i", "++", "]", "=", "OP", "(", "(", "ptr_mode", "==", "DImode", "?", "0x28c00000", ":", "0x28800000", ")", "|", "19", "|", "(", "(", "STATIC_CHAIN_REGNUM", "-", "GP_REG_FIRST", ")", "<<", "5", ")", "|", "(", "(", "target_function_offset", "&", "0xfff", ")", "<<", "10", ")", ")", ";", "trampoline", "[", "i", "++", "]", "=", "OP", "(", "(", "ptr_mode", "==", "DImode", "?", "0x28c00000", ":", "0x28800000", ")", "|", "(", "STATIC_CHAIN_REGNUM", "-", "GP_REG_FIRST", ")", "|", "(", "(", "STATIC_CHAIN_REGNUM", "-", "GP_REG_FIRST", ")", "<<", "5", ")", "|", "(", "(", "static_chain_offset", "&", "0xfff", ")", "<<", "10", ")", ")", ";", "trampoline", "[", "i", "++", "]", "=", "OP", "(", "0x4c000000", "|", "(", "19", "<<", "5", ")", ")", ";", "for", "(", "j", "=", "0", ";", "j", "<", "i", ";", "j", "++", ")", "{", "mem", "=", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "j", "*", "GET_MODE_SIZE", "(", "SImode", ")", ")", ";", "loongarch_emit_move", "(", "mem", ",", "trampoline", "[", "j", "]", ")", ";", "}", "mem", "=", "adjust_address", "(", "m_tramp", ",", "ptr_mode", ",", "static_chain_offset", ")", ";", "loongarch_emit_move", "(", "mem", ",", "chain_value", ")", ";", "mem", "=", "adjust_address", "(", "m_tramp", ",", "ptr_mode", ",", "target_function_offset", ")", ";", "loongarch_emit_move", "(", "mem", ",", "XEXP", "(", "DECL_RTL", "(", "fndecl", ")", ",", "0", ")", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "end_addr", ",", "addr", ",", "GEN_INT", "(", "TRAMPOLINE_SIZE", ")", ")", ")", ";", "emit_insn", "(", "gen_clear_cache", "(", "addr", ",", "end_addr", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_TRAMPOLINE_INIT", "."], "TS_V_token": ["loongarch", "8", "0", "0", "0x18000000", "0x28c00000", "0x28800000", "19", "5", "0xfff", "10", "0x28c00000", "0x28800000", "5", "0xfff", "10", "0x4c000000", "19", "5", "0", "0"], "File": "loongarch", "Func": "loongarch_trampoline_init", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16985, "Length": 322, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ")", "{", "if", "(", "requestsDoubleOperand", "(", "Name", ")", ")", "{", "setFpFormat", "(", "FP_FORMAT_D", ")", ";", "Operands", ".", "push_back", "(", "MipsOperand", "::", "CreateToken", "(", "Name", ",", "NameLoc", ")", ")", ";", "}", "else", "{", "setDefaultFpFormat", "(", ")", ";", "size_t", "Start", "=", "0", ",", "Next", "=", "Name", ".", "find", "(", "'.'", ")", ";", "StringRef", "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", ",", "Name", ")", ")", "{", "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": "MipsAsmParser18", "Func": "ParseInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16986, "Length": 462, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "MandarinRegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "return", "&", "MD", "::", "GenericRegsRegClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["Mandarin", "MD::GenericRegsRegClass"], "File": "MandarinRegisterInfo", "Func": "getPointerRegClass", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16987, "Length": 24, "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", "::", "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", ")", "{", "if", "(", "IsWin64", ")", "return", "CSR_Win64_RegMask", ";", "if", "(", "Subtarget", ".", "getTargetLowering", "(", ")", "->", "supportSwiftError", "(", ")", "&&", "MF", ".", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ".", "hasAttrSomewhere", "(", "Attribute", "::", "SwiftError", ")", ")", "return", "CSR_64_SwiftError_RegMask", ";", "return", "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", "X86", "X86"], "File": "X86RegisterInfo62", "Func": "getCallPreservedMask", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16988, "Length": 395, "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": 16989, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "reMaterialize", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "unsigned", "SubIdx", ",", "const", "MachineInstr", "*", "Orig", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "I", ")", ";", "if", "(", "SubIdx", "&&", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "DestReg", ")", ")", "{", "DestReg", "=", "TRI", "->", "getSubReg", "(", "DestReg", ",", "SubIdx", ")", ";", "SubIdx", "=", "0", ";", "}", "bool", "Clone", "=", "true", ";", "unsigned", "Opc", "=", "Orig", "->", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "default", ":", "break", ";", "case", "X86", "::", "MOV8r0", ":", "case", "X86", "::", "MOV16r0", ":", "case", "X86", "::", "MOV32r0", ":", "case", "X86", "::", "MOV64r0", ":", "{", "if", "(", "!", "isSafeToClobberEFLAGS", "(", "MBB", ",", "I", ")", ")", "{", "switch", "(", "Opc", ")", "{", "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", "::", "MOV64ri64i32", ";", "break", ";", "}", "Clone", "=", "false", ";", "}", "break", ";", "}", "}", "if", "(", "Clone", ")", "{", "MachineInstr", "*", "MI", "=", "MBB", ".", "getParent", "(", ")", "->", "CloneMachineInstr", "(", "Orig", ")", ";", "MI", "->", "getOperand", "(", "0", ")", ".", "setReg", "(", "DestReg", ")", ";", "MBB", ".", "insert", "(", "I", ",", "MI", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DestReg", ")", ".", "addImm", "(", "0", ")", ";", "}", "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", "X86::MOV8r0", "X86::MOV16r0", "X86::MOV32r0", "X86::MOV64r0", "X86::MOV8r0", "X86::MOV8ri", "X86::MOV16r0", "X86::MOV16ri", "X86::MOV32r0", "X86::MOV32ri", "X86::MOV64r0", "X86::MOV64ri64i32", "0", "0", "0"], "File": "X86InstrInfo134", "Func": "reMaterialize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16990, "Length": 284, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLegalMaskedStore", "(", "Type", "*", "DataType", ",", "MaybeAlign", "Alignment", ")", "{", "return", "isVectorLaneType", "(", "*", "getLaneType", "(", "DataType", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "store", "."], "TS_V_token": ["VE"], "File": "VETargetTransformInfo", "Func": "isLegalMaskedStore", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16991, "Length": 22, "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": 16992, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "detect_caches_cpuid2", "(", "bool", "xeon_mp", ",", "struct", "cache_desc", "*", "level1", ",", "struct", "cache_desc", "*", "level2", ")", "{", "unsigned", "regs", "[", "4", "]", ";", "int", "nreps", ",", "i", ";", "__cpuid", "(", "2", ",", "regs", "[", "0", "]", ",", "regs", "[", "1", "]", ",", "regs", "[", "2", "]", ",", "regs", "[", "3", "]", ")", ";", "nreps", "=", "regs", "[", "0", "]", "&", "0x0f", ";", "regs", "[", "0", "]", "&=", "~", "0x0f", ";", "while", "(", "--", "nreps", ">=", "0", ")", "{", "for", "(", "i", "=", "0", ";", "i", "<", "4", ";", "i", "++", ")", "if", "(", "regs", "[", "i", "]", "&&", "!", "(", "(", "regs", "[", "i", "]", ">>", "31", ")", "&", "1", ")", ")", "decode_caches_intel", "(", "regs", "[", "i", "]", ",", "xeon_mp", ",", "level1", ",", "level2", ")", ";", "if", "(", "nreps", ")", "__cpuid", "(", "2", ",", "regs", "[", "0", "]", ",", "regs", "[", "1", "]", ",", "regs", "[", "2", "]", ",", "regs", "[", "3", "]", ")", ";", "}", "}", ""], "natrual_language": ["Detect", "cache", "parameters", "using", "CPUID", "function", "2", "."], "TS_V_token": ["i386", "4", "2", "0", "1", "2", "3", "0", "0x0f", "0", "0x0f", "0", "0", "4", "31", "1", "2", "0", "1", "2", "3"], "File": "driver-i386", "Func": "detect_caches_cpuid2", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16993, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "init_cumulative_args", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "tree", "fntype", ",", "rtx", "libname", "ATTRIBUTE_UNUSED", ",", "int", "incoming", ",", "int", "libcall", ",", "int", "n_named_args", ",", "tree", "fndecl", "ATTRIBUTE_UNUSED", ",", "machine_mode", "return_mode", "ATTRIBUTE_UNUSED", ")", "{", "static", "CUMULATIVE_ARGS", "zero_cumulative", ";", "*", "cum", "=", "zero_cumulative", ";", "cum", "->", "words", "=", "0", ";", "cum", "->", "fregno", "=", "FP_ARG_MIN_REG", ";", "cum", "->", "vregno", "=", "ALTIVEC_ARG_MIN_REG", ";", "cum", "->", "prototype", "=", "(", "fntype", "&&", "prototype_p", "(", "fntype", ")", ")", ";", "cum", "->", "call_cookie", "=", "(", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "libcall", ")", "?", "CALL_LIBCALL", ":", "CALL_NORMAL", ")", ";", "cum", "->", "sysv_gregno", "=", "GP_ARG_MIN_REG", ";", "cum", "->", "stdarg", "=", "stdarg_p", "(", "fntype", ")", ";", "cum", "->", "nargs_prototype", "=", "0", ";", "if", "(", "incoming", "||", "cum", "->", "prototype", ")", "cum", "->", "nargs_prototype", "=", "n_named_args", ";", "if", "(", "(", "!", "fntype", "&&", "rs6000_default_long_calls", ")", "||", "(", "fntype", "&&", "lookup_attribute", "(", "\"longcall\"", ",", "TYPE_ATTRIBUTES", "(", "fntype", ")", ")", "&&", "!", "lookup_attribute", "(", "\"shortcall\"", ",", "TYPE_ATTRIBUTES", "(", "fntype", ")", ")", ")", ")", "cum", "->", "call_cookie", "|=", "CALL_LONG", ";", "if", "(", "TARGET_DEBUG_ARG", ")", "{", "fprintf", "(", "stderr", ",", "\"\\ninit_cumulative_args:\"", ")", ";", "if", "(", "fntype", ")", "{", "tree", "ret_type", "=", "TREE_TYPE", "(", "fntype", ")", ";", "fprintf", "(", "stderr", ",", "\" ret code = %s,\"", ",", "get_tree_code_name", "(", "TREE_CODE", "(", "ret_type", ")", ")", ")", ";", "}", "if", "(", "cum", "->", "call_cookie", "&", "CALL_LONG", ")", "fprintf", "(", "stderr", ",", "\" longcall,\"", ")", ";", "fprintf", "(", "stderr", ",", "\" proto = %d, nargs = %d\\n\"", ",", "cum", "->", "prototype", ",", "cum", "->", "nargs_prototype", ")", ";", "}", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", ")", "{", "cum", "->", "escapes", "=", "call_ABI_of_interest", "(", "fndecl", ")", ";", "if", "(", "cum", "->", "escapes", ")", "{", "tree", "return_type", ";", "if", "(", "fntype", ")", "{", "return_type", "=", "TREE_TYPE", "(", "fntype", ")", ";", "return_mode", "=", "TYPE_MODE", "(", "return_type", ")", ";", "}", "else", "return_type", "=", "lang_hooks", ".", "types", ".", "type_for_mode", "(", "return_mode", ",", "0", ")", ";", "if", "(", "return_type", "!=", "NULL", ")", "{", "if", "(", "TREE_CODE", "(", "return_type", ")", "==", "RECORD_TYPE", "&&", "TYPE_TRANSPARENT_AGGR", "(", "return_type", ")", ")", "{", "return_type", "=", "TREE_TYPE", "(", "first_field", "(", "return_type", ")", ")", ";", "return_mode", "=", "TYPE_MODE", "(", "return_type", ")", ";", "}", "if", "(", "AGGREGATE_TYPE_P", "(", "return_type", ")", "&&", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "int_size_in_bytes", "(", "return_type", ")", "<=", "8", ")", ")", "rs6000_returns_struct", "=", "true", ";", "}", "if", "(", "SCALAR_FLOAT_MODE_P", "(", "return_mode", ")", ")", "rs6000_passes_float", "=", "true", ";", "else", "if", "(", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "return_mode", ")", "||", "SPE_VECTOR_MODE", "(", "return_mode", ")", ")", "rs6000_passes_vector", "=", "true", ";", "}", "}", "if", "(", "fntype", "&&", "!", "TARGET_ALTIVEC", "&&", "TARGET_ALTIVEC_ABI", "&&", "ALTIVEC_VECTOR_MODE", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "fntype", ")", ")", ")", ")", "{", "error", "(", "\"cannot return value in vector register because\"", "\" altivec instructions are disabled, use -maltivec\"", "\" to enable them\"", ")", ";", "}", "}", ""], "natrual_language": ["Handle", "the", "INIT_CUMULATIVE_ARGS", "macro", ".", "Initialize", "a", "variable", "CUM", "of", "type", "CUMULATIVE_ARGS", "for", "a", "call", "to", "a", "function", "whose", "data", "type", "is", "FNTYPE", ".", "For", "a", "library", "call", ",", "FNTYPE", "is", "0", "."], "TS_V_token": ["rs6000", "0", "0", "\"longcall\"", "\"shortcall\"", "\"\\ninit_cumulative_args:\"", "\" ret code = %s,\"", "\" longcall,\"", "\" proto = %d, nargs = %d\\n\"", "0", "8", "\"cannot return value in vector register because\"", "\" altivec instructions are disabled, use -maltivec\"", "\" to enable them\""], "File": "rs60004", "Func": "init_cumulative_args", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16994, "Length": 422, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "unsigned", "FPReg", "=", "RI", ".", "getFrameRegister", "(", "MF", ")", ";", "bool", "is64Bit", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ";", "bool", "isWin64", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "isTargetWin64", "(", ")", ";", "unsigned", "Opc", "=", "is64Bit", "?", "X86", "::", "POP64r", ":", "X86", "::", "POP32r", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "if", "(", "Reg", "==", "FPReg", ")", "continue", ";", "const", "TargetRegisterClass", "*", "RegClass", "=", "CSI", "[", "i", "]", ".", "getRegClass", "(", ")", ";", "if", "(", "RegClass", "!=", "&", "X86", "::", "VR128RegClass", "&&", "!", "isWin64", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opc", ")", ",", "Reg", ")", ";", "}", "else", "{", "loadRegFromStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", ",", "RegClass", ")", ";", "}", "}", "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", "X86::POP64r", "X86::POP32r", "0", "X86::VR128RegClass"], "File": "X86InstrInfo134", "Func": "restoreCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16995, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_discover_homogeneous_aggregate", "(", "machine_mode", "mode", ",", "const_tree", "type", ",", "machine_mode", "*", "elt_mode", ",", "int", "*", "n_elts", ")", "{", "if", "(", "DEFAULT_ABI", "==", "ABI_ELFv2", "&&", "type", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "machine_mode", "field_mode", "=", "VOIDmode", ";", "int", "field_count", "=", "rs6000_aggregate_candidate", "(", "type", ",", "&", "field_mode", ")", ";", "if", "(", "field_count", ">", "0", ")", "{", "int", "n_regs", "=", "(", "SCALAR_FLOAT_MODE_P", "(", "field_mode", ")", "?", "(", "GET_MODE_SIZE", "(", "field_mode", ")", "+", "7", ")", ">>", "3", ":", "1", ")", ";", "if", "(", "field_count", "*", "n_regs", "<=", "AGGR_ARG_NUM_REG", ")", "{", "if", "(", "elt_mode", ")", "*", "elt_mode", "=", "field_mode", ";", "if", "(", "n_elts", ")", "*", "n_elts", "=", "field_count", ";", "return", "true", ";", "}", "}", "}", "if", "(", "elt_mode", ")", "*", "elt_mode", "=", "mode", ";", "if", "(", "n_elts", ")", "*", "n_elts", "=", "1", ";", "return", "false", ";", "}", ""], "natrual_language": ["If", "an", "argument", ",", "whose", "type", "is", "described", "by", "TYPE", "and", "MODE", ",", "is", "a", "homogeneous", "float", "or", "vector", "aggregate", "that", "shall", "be", "passed", "in", "FP/vector", "registers", "according", "to", "the", "ELFv2", "ABI", ",", "return", "the", "homogeneous", "element", "mode", "in", "*", "ELT_MODE", "and", "the", "number", "of", "elements", "in", "*", "N_ELTS", ",", "and", "return", "TRUE", ".", "Otherwise", ",", "set", "*", "ELT_MODE", "to", "MODE", "and", "*", "N_ELTS", "to", "1", ",", "and", "return", "FALSE", "."], "TS_V_token": ["powerpcspe", "0", "7", "3", "1", "1"], "File": "powerpcspe", "Func": "rs6000_discover_homogeneous_aggregate", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16996, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_mode_exit", "(", "int", "entity", ")", "{", "switch", "(", "entity", ")", "{", "case", "X86_DIRFLAG", ":", "return", "X86_DIRFLAG_ANY", ";", "case", "AVX_U128", ":", "return", "ix86_avx_u128_mode_exit", "(", ")", ";", "case", "I387_TRUNC", ":", "case", "I387_FLOOR", ":", "case", "I387_CEIL", ":", "return", "I387_CW_ANY", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "a", "mode", "that", "ENTITY", "is", "assumed", "to", "be", "switched", "to", "at", "function", "exit", "."], "TS_V_token": ["i386"], "File": "i3868", "Func": "ix86_mode_exit", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16997, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "*", "aarch64_output_sve_prefetch", "(", "const", "char", "*", "mnemonic", ",", "rtx", "prfop_rtx", ",", "const", "char", "*", "suffix", ")", "{", "static", "char", "buffer", "[", "128", "]", ";", "aarch64_svprfop", "prfop", "=", "(", "aarch64_svprfop", ")", "INTVAL", "(", "prfop_rtx", ")", ";", "unsigned", "int", "written", "=", "snprintf", "(", "buffer", ",", "sizeof", "(", "buffer", ")", ",", "\"%s\\t%s, %s\"", ",", "mnemonic", ",", "svprfop_token", "(", "prfop", ")", ",", "suffix", ")", ";", "gcc_assert", "(", "written", "<", "sizeof", "(", "buffer", ")", ")", ";", "return", "buffer", ";", "}", ""], "natrual_language": ["Return", "the", "assembly", "string", "for", "an", "SVE", "prefetch", "operation", "with", "mnemonic", "MNEMONIC", ",", "given", "that", "PRFOP_RTX", "is", "the", "prefetch", "operation", "and", "that", "SUFFIX", "is", "the", "format", "for", "the", "remaining", "operands", "."], "TS_V_token": ["aarch64", "128", "\"%s\\t%s, %s\""], "File": "aarch64", "Func": "aarch64_output_sve_prefetch", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16998, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_return_in_memory", "(", "const_tree", "type", ",", "const_tree", "fntype", ")", "{", "HOST_WIDE_INT", "size", ";", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "if", "(", "TARGET_AAPCS_BASED", ")", "{", "if", "(", "!", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "TREE_CODE", "(", "type", ")", "!=", "VECTOR_TYPE", "&&", "TREE_CODE", "(", "type", ")", "!=", "COMPLEX_TYPE", ")", "return", "false", ";", "if", "(", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "size", ")", "<=", "UNITS_PER_WORD", ")", "return", "false", ";", "if", "(", "aapcs_select_return_coproc", "(", "type", ",", "fntype", ")", ">=", "0", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", ")", "return", "(", "size", "<", "0", "||", "size", ">", "(", "4", "*", "UNITS_PER_WORD", ")", ")", ";", "return", "true", ";", "}", "if", "(", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", ")", "return", "(", "size", "<", "0", "||", "size", ">", "(", "4", "*", "UNITS_PER_WORD", ")", ")", ";", "if", "(", "!", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "(", "TREE_CODE", "(", "type", ")", "!=", "VECTOR_TYPE", ")", ")", "return", "false", ";", "if", "(", "arm_abi", "!=", "ARM_ABI_APCS", ")", "{", "return", "(", "size", "<", "0", "||", "size", ">", "UNITS_PER_WORD", ")", ";", "}", "if", "(", "size", "<", "0", "||", "size", ">", "UNITS_PER_WORD", ")", "return", "true", ";", "if", "(", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", ")", "{", "tree", "field", ";", "for", "(", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";", "field", "&&", "TREE_CODE", "(", "field", ")", "!=", "FIELD_DECL", ";", "field", "=", "DECL_CHAIN", "(", "field", ")", ")", "continue", ";", "if", "(", "field", "==", "NULL", ")", "return", "false", ";", "if", "(", "FLOAT_TYPE_P", "(", "TREE_TYPE", "(", "field", ")", ")", ")", "return", "true", ";", "if", "(", "arm_return_in_memory", "(", "TREE_TYPE", "(", "field", ")", ",", "NULL_TREE", ")", ")", "return", "true", ";", "for", "(", "field", "=", "DECL_CHAIN", "(", "field", ")", ";", "field", ";", "field", "=", "DECL_CHAIN", "(", "field", ")", ")", "{", "if", "(", "TREE_CODE", "(", "field", ")", "!=", "FIELD_DECL", ")", "continue", ";", "if", "(", "!", "DECL_BIT_FIELD_TYPE", "(", "field", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", "if", "(", "TREE_CODE", "(", "type", ")", "==", "UNION_TYPE", ")", "{", "tree", "field", ";", "for", "(", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";", "field", ";", "field", "=", "DECL_CHAIN", "(", "field", ")", ")", "{", "if", "(", "TREE_CODE", "(", "field", ")", "!=", "FIELD_DECL", ")", "continue", ";", "if", "(", "FLOAT_TYPE_P", "(", "TREE_TYPE", "(", "field", ")", ")", ")", "return", "true", ";", "if", "(", "arm_return_in_memory", "(", "TREE_TYPE", "(", "field", ")", ",", "NULL_TREE", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", "return", "true", ";", "}", ""], "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": ["arm", "0", "0", "4", "0", "4", "0", "0"], "File": "arm", "Func": "arm_return_in_memory", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 16999, "Length": 387, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "if", "(", "Subtarget", "->", "isTargetDarwin", "(", ")", ")", "{", "TargetLoweringObjectFileMachO", "&", "TLOFMacho", "=", "static_cast", "<", "TargetLoweringObjectFileMachO", "&", ">", "(", "getObjFileLowering", "(", ")", ")", ";", "O", "<<", "'\\n'", ";", "if", "(", "!", "GVNonLazyPtrs", ".", "empty", "(", ")", ")", "{", "OutStreamer", ".", "SwitchSection", "(", "TLOFMacho", ".", "getNonLazySymbolPointerSection", "(", ")", ")", ";", "EmitAlignment", "(", "2", ")", ";", "for", "(", "StringMap", "<", "std", "::", "string", ">", "::", "iterator", "I", "=", "GVNonLazyPtrs", ".", "begin", "(", ")", ",", "E", "=", "GVNonLazyPtrs", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "O", "<<", "I", "->", "second", "<<", "\":\\n\"", ";", "O", "<<", "\"\\t.indirect_symbol \"", "<<", "I", "->", "getKeyData", "(", ")", "<<", "\"\\n\"", ";", "O", "<<", "\"\\t.long\\t0\\n\"", ";", "}", "}", "if", "(", "!", "HiddenGVNonLazyPtrs", ".", "empty", "(", ")", ")", "{", "OutStreamer", ".", "SwitchSection", "(", "getObjFileLowering", "(", ")", ".", "getDataSection", "(", ")", ")", ";", "EmitAlignment", "(", "2", ")", ";", "for", "(", "StringMap", "<", "std", "::", "string", ">", "::", "iterator", "I", "=", "HiddenGVNonLazyPtrs", ".", "begin", "(", ")", ",", "E", "=", "HiddenGVNonLazyPtrs", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "O", "<<", "I", "->", "second", "<<", "\":\\n\"", ";", "O", "<<", "\"\\t.long \"", "<<", "I", "->", "getKeyData", "(", ")", "<<", "\"\\n\"", ";", "}", "}", "O", "<<", "\"\\t.subsections_via_symbols\\n\"", ";", "}", "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": ["ARM", "ARM", "2", "\":\\n\"", "\"\\t.indirect_symbol \"", "\"\\n\"", "\"\\t.long\\t0\\n\"", "2", "\":\\n\"", "\"\\t.long \"", "\"\\n\"", "\"\\t.subsections_via_symbols\\n\""], "File": "ARMAsmPrinter20", "Func": "doFinalization", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17000, "Length": 222, "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": 17001, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86RegisterInfo", "::", "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", "(", "Is64Bit", "?", "X86", "::", "SUB64ri32", ":", "X86", "::", "SUB32ri", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Old", "->", "getOpcode", "(", ")", "==", "getCallFrameDestroyOpcode", "(", ")", ")", ";", "uint64_t", "CalleeAmt", "=", "Old", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "Amount", "-=", "CalleeAmt", ";", "if", "(", "Amount", ")", "{", "unsigned", "Opc", "=", "(", "Amount", "<", "128", ")", "?", "(", "Is64Bit", "?", "X86", "::", "ADD64ri8", ":", "X86", "::", "ADD32ri8", ")", ":", "(", "Is64Bit", "?", "X86", "::", "ADD64ri32", ":", "X86", "::", "ADD32ri", ")", ";", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "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", "(", ")", ")", "{", "unsigned", "Opc", "=", "(", "CalleeAmt", "<", "128", ")", "?", "(", "Is64Bit", "?", "X86", "::", "SUB64ri8", ":", "X86", "::", "SUB32ri8", ")", ":", "(", "Is64Bit", "?", "X86", "::", "SUB64ri32", ":", "X86", "::", "SUB32ri", ")", ";", "MachineInstr", "*", "Old", "=", "I", ";", "MachineInstr", "*", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "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": ["X86", "X86", "0", "0", "1", "0", "X86::SUB64ri32", "X86::SUB32ri", "1", "128", "X86::ADD64ri8", "X86::ADD32ri8", "X86::ADD64ri32", "X86::ADD32ri", "3", "1", "128", "X86::SUB64ri8", "X86::SUB32ri8", "X86::SUB64ri32", "X86::SUB32ri", "3"], "File": "X86RegisterInfo11", "Func": "eliminateCallFramePseudoInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17002, "Length": 397, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "PPCTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "EVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'b'", ":", "case", "'r'", ":", "if", "(", "VT", "==", "MVT", "::", "i64", "&&", "PPCSubTarget", ".", "isPPC64", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "G8RCRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "GPRCRegClass", ")", ";", "case", "'f'", ":", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "F4RCRegClass", ")", ";", "if", "(", "VT", "==", "MVT", "::", "f64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "F8RCRegClass", ")", ";", "break", ";", "case", "'v'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "VRRCRegClass", ")", ";", "case", "'y'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "CRRCRegClass", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["PowerPC", "PPC", "1", "0", "MVT::i64", "PPC", "PPC", "0U", "PPC::G8RCRegClass", "0U", "PPC::GPRCRegClass", "MVT::f32", "0U", "PPC::F4RCRegClass", "MVT::f64", "0U", "PPC::F8RCRegClass", "0U", "PPC::VRRCRegClass", "0U", "PPC::CRRCRegClass"], "File": "PPCISelLowering15", "Func": "getRegForInlineAsmConstraint", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17003, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getCacheLineSize", "(", ")", "const", "{", "return", "CacheLineSize", ";", "}", ""], "natrual_language": ["Return", "the", "target", "cache", "line", "size", "in", "bytes", "."], "TS_V_token": ["AArch64"], "File": "AArch64Subtarget10", "Func": "getCacheLineSize", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17004, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "ARMBaseRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "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", ")", ";", "if", "(", "!", "STI", ".", "hasVFP3", "(", ")", "||", "STI", ".", "hasD16", "(", ")", ")", "{", "assert", "(", "ARM", "::", "D31", "==", "ARM", "::", "D16", "+", "15", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "16", ";", "++", "i", ")", "Reserved", ".", "set", "(", "ARM", "::", "D16", "+", "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::SP", "ARM::PC", "ARM::FPSCR", "ARM::R9", "ARM::D31", "ARM::D16", "15", "0", "16", "ARM::D16"], "File": "ARMBaseRegisterInfo1", "Func": "getReservedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17005, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CJGDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"Selecting: \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"== \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "Node", "->", "setNodeId", "(", "-", "1", ")", ";", "return", ";", "}", "SDLoc", "dl", "(", "Node", ")", ";", "switch", "(", "Node", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "FrameIndex", ":", "{", "assert", "(", "Node", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i32", ")", ";", "int", "FI", "=", "cast", "<", "FrameIndexSDNode", ">", "(", "Node", ")", "->", "getIndex", "(", ")", ";", "SDValue", "TFI", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "MVT", "::", "i32", ")", ";", "if", "(", "Node", "->", "hasOneUse", "(", ")", ")", "{", "CurDAG", "->", "SelectNodeTo", "(", "Node", ",", "CJG", "::", "ADDri", ",", "MVT", "::", "i32", ",", "TFI", ",", "CurDAG", "->", "getTargetConstant", "(", "0", ",", "dl", ",", "MVT", "::", "i32", ")", ")", ";", "return", ";", "}", "ReplaceNode", "(", "Node", ",", "CurDAG", "->", "getMachineNode", "(", "CJG", "::", "ADDri", ",", "dl", ",", "MVT", "::", "i32", ",", "TFI", ",", "CurDAG", "->", "getTargetConstant", "(", "0", ",", "dl", ",", "MVT", "::", "i32", ")", ")", ")", ";", "return", ";", "}", "}", "SelectCode", "(", "Node", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["CJG", "CJG", "\"Selecting: \"", "\"\\n\"", "\"== \"", "\"\\n\"", "1", "ISD::FrameIndex", "0", "MVT::i32", "MVT::i32", "CJG::ADDri", "MVT::i32", "0", "MVT::i32", "CJG::ADDri", "MVT::i32", "0", "MVT::i32"], "File": "CJGISelDAGToDAG", "Func": "Select", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17006, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCDarwinAsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "bool", "isPPC64", "=", "TM", ".", "getSubtargetImpl", "(", ")", "->", "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": "PPCAsmPrinter103", "Func": "doFinalization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17007, "Length": 491, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ")", "{", "if", "(", "!", "ST", "->", "isMClass", "(", ")", ")", "return", "BasicTTIImplBase", "::", "getUnrollingPreferences", "(", "L", ",", "SE", ",", "UP", ")", ";", "UP", ".", "OptSizeThreshold", "=", "0", ";", "UP", ".", "PartialOptSizeThreshold", "=", "0", ";", "if", "(", "L", "->", "getHeader", "(", ")", "->", "getParent", "(", ")", "->", "hasOptSize", "(", ")", ")", "return", ";", "if", "(", "!", "ST", "->", "isThumb2", "(", ")", ")", "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", ";", "unsigned", "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", ".", "value_op_begin", "(", ")", ",", "I", ".", "value_op_end", "(", ")", ")", ";", "Cost", "+=", "getUserCost", "(", "&", "I", ",", "Operands", ",", "TargetTransformInfo", "::", "TCK_CodeSize", ")", ";", "}", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Cost of loop: \"", "<<", "Cost", "<<", "\"\\n\"", ")", ";", "UP", ".", "Partial", "=", "true", ";", "UP", ".", "Runtime", "=", "true", ";", "UP", ".", "UpperBound", "=", "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", "0", "4", "\"Cost of loop: \"", "\"\\n\"", "4", "60", "12"], "File": "ARMTargetTransformInfo1", "Func": "getUnrollingPreferences", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17008, "Length": 359, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_multiplication_cost", "(", "const", "struct", "processor_costs", "*", "cost", ",", "enum", "machine_mode", "mode", ")", "{", "machine_mode", "inner_mode", "=", "mode", ";", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", ")", "inner_mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "if", "(", "SSE_FLOAT_MODE_SSEMATH_OR_HF_P", "(", "mode", ")", ")", "return", "inner_mode", "==", "DFmode", "?", "cost", "->", "mulsd", ":", "cost", "->", "mulss", ";", "else", "if", "(", "X87_FLOAT_MODE_P", "(", "mode", ")", ")", "return", "cost", "->", "fmul", ";", "else", "if", "(", "FLOAT_MODE_P", "(", "mode", ")", ")", "return", "ix86_vec_cost", "(", "mode", ",", "inner_mode", "==", "DFmode", "?", "cost", "->", "mulsd", ":", "cost", "->", "mulss", ")", ";", "else", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_INT", ")", "{", "if", "(", "TARGET_AVX512DQ", ")", "return", "ix86_vec_cost", "(", "mode", ",", "cost", "->", "mulss", ")", ";", "if", "(", "mode", "==", "V16QImode", "||", "mode", "==", "V32QImode", ")", "{", "int", "extra", "=", "11", ";", "if", "(", "TARGET_XOP", "&&", "mode", "==", "V16QImode", ")", "extra", "=", "5", ";", "else", "if", "(", "TARGET_SSSE3", ")", "extra", "=", "6", ";", "return", "ix86_vec_cost", "(", "mode", ",", "cost", "->", "mulss", "*", "2", "+", "cost", "->", "sse_op", "*", "extra", ")", ";", "}", "else", "if", "(", "mode", "==", "V2DImode", "||", "mode", "==", "V4DImode", ")", "{", "if", "(", "TARGET_XOP", "&&", "mode", "==", "V2DImode", ")", "return", "ix86_vec_cost", "(", "mode", ",", "cost", "->", "mulss", "*", "2", "+", "cost", "->", "sse_op", "*", "3", ")", ";", "else", "return", "ix86_vec_cost", "(", "mode", ",", "cost", "->", "mulss", "*", "3", "+", "cost", "->", "sse_op", "*", "5", ")", ";", "}", "else", "if", "(", "mode", "==", "V4SImode", "&&", "!", "(", "TARGET_SSE4_1", "||", "TARGET_AVX", ")", ")", "return", "ix86_vec_cost", "(", "mode", ",", "cost", "->", "mulss", "*", "2", "+", "cost", "->", "sse_op", "*", "5", ")", ";", "else", "return", "ix86_vec_cost", "(", "mode", ",", "cost", "->", "mulss", ")", ";", "}", "else", "return", "(", "cost", "->", "mult_init", "[", "MODE_INDEX", "(", "mode", ")", "]", "+", "cost", "->", "mult_bit", "*", "7", ")", ";", "}", ""], "natrual_language": ["Return", "cost", "of", "multiplication", "in", "MODE", "."], "TS_V_token": ["i386", "11", "5", "6", "2", "2", "3", "3", "5", "2", "5", "7"], "File": "i386", "Func": "ix86_multiplication_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17009, "Length": 297, "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": 17010, "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": 17011, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiRegisterInfo", "::", "canRealignStack", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "!", "TargetRegisterInfo", "::", "canRealignStack", "(", "MF", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["True", "if", "the", "stack", "can", "be", "realigned", "for", "the", "target", "."], "TS_V_token": ["Lanai", "Lanai"], "File": "LanaiRegisterInfo", "Func": "canRealignStack", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17012, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_init_neon_builtins", "(", "void", ")", "{", "unsigned", "int", "i", ",", "fcode", "=", "ARM_BUILTIN_NEON_PATTERN_START", ";", "arm_init_simd_builtin_types", "(", ")", ";", "arm_init_simd_builtin_scalar_types", "(", ")", ";", "tree", "lane_check_fpr", "=", "build_function_type_list", "(", "void_type_node", ",", "intSI_type_node", ",", "intSI_type_node", ",", "NULL", ")", ";", "arm_builtin_decls", "[", "ARM_BUILTIN_NEON_LANE_CHECK", "]", "=", "add_builtin_function", "(", "\"__builtin_arm_lane_check\"", ",", "lane_check_fpr", ",", "ARM_BUILTIN_NEON_LANE_CHECK", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "neon_builtin_data", ")", ";", "i", "++", ",", "fcode", "++", ")", "{", "bool", "print_type_signature_p", "=", "false", ";", "char", "type_signature", "[", "SIMD_MAX_BUILTIN_ARGS", "]", "=", "{", "0", "}", ";", "neon_builtin_datum", "*", "d", "=", "&", "neon_builtin_data", "[", "i", "]", ";", "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_pointer", "&&", "VECTOR_MODE_P", "(", "op_mode", ")", ")", "op_mode", "=", "GET_MODE_INNER", "(", "op_mode", ")", ";", "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", ")", "snprintf", "(", "namebuf", ",", "sizeof", "(", "namebuf", ")", ",", "\"__builtin_neon_%s_%s\"", ",", "d", "->", "name", ",", "type_signature", ")", ";", "else", "snprintf", "(", "namebuf", ",", "sizeof", "(", "namebuf", ")", ",", "\"__builtin_neon_%s\"", ",", "d", "->", "name", ")", ";", "fndecl", "=", "add_builtin_function", "(", "namebuf", ",", "ftype", ",", "fcode", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "arm_builtin_decls", "[", "fcode", "]", "=", "fndecl", ";", "}", "}", ""], "natrual_language": ["Set", "up", "all", "the", "NEON", "builtins", ",", "even", "builtins", "for", "instructions", "that", "are", "not", "in", "the", "current", "target", "ISA", "to", "allow", "the", "user", "to", "compile", "particular", "modules", "with", "different", "target", "specific", "options", "that", "differ", "from", "the", "command", "line", "options", ".", "Such", "builtins", "will", "be", "rejected", "in", "arm_expand_builtin", "."], "TS_V_token": ["arm", "\"__builtin_arm_lane_check\"", "0", "0", "60", "1", "0", "1", "0", "0", "0", "0", "\"__builtin_neon_%s_%s\"", "\"__builtin_neon_%s\""], "File": "arm-builtins3", "Func": "arm_init_neon_builtins", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17013, "Length": 457, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "PPCRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AnyReg", ")", "{", "if", "(", "!", "TM", ".", "isPPC64", "(", ")", "&&", "Subtarget", ".", "isAIXABI", "(", ")", ")", "report_fatal_error", "(", "\"AnyReg unimplemented on 32-bit AIX.\"", ")", ";", "if", "(", "Subtarget", ".", "hasVSX", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "isAIXABI", "(", ")", "&&", "!", "TM", ".", "getAIXExtendedAltivecABI", "(", ")", ")", "return", "CSR_64_AllRegs_AIX_Dflt_VSX_SaveList", ";", "return", "CSR_64_AllRegs_VSX_SaveList", ";", "}", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "isAIXABI", "(", ")", "&&", "!", "TM", ".", "getAIXExtendedAltivecABI", "(", ")", ")", "return", "CSR_64_AllRegs_AIX_Dflt_Altivec_SaveList", ";", "return", "CSR_64_AllRegs_Altivec_SaveList", ";", "}", "return", "CSR_64_AllRegs_SaveList", ";", "}", "bool", "SaveR2", "=", "MF", "->", "getRegInfo", "(", ")", ".", "isAllocatable", "(", "PPC", "::", "X2", ")", "&&", "!", "Subtarget", ".", "isUsingPCRelativeCalls", "(", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "Cold", ")", "{", "if", "(", "Subtarget", ".", "isAIXABI", "(", ")", ")", "report_fatal_error", "(", "\"Cold calling unimplemented on AIX.\"", ")", ";", "if", "(", "TM", ".", "isPPC64", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "SaveR2", "?", "CSR_SVR64_ColdCC_R2_Altivec_SaveList", ":", "CSR_SVR64_ColdCC_Altivec_SaveList", ";", "return", "SaveR2", "?", "CSR_SVR64_ColdCC_R2_SaveList", ":", "CSR_SVR64_ColdCC_SaveList", ";", "}", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "CSR_SVR32_ColdCC_Altivec_SaveList", ";", "else", "if", "(", "Subtarget", ".", "hasSPE", "(", ")", ")", "return", "CSR_SVR32_ColdCC_SPE_SaveList", ";", "return", "CSR_SVR32_ColdCC_SaveList", ";", "}", "if", "(", "TM", ".", "isPPC64", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", "&&", "(", "!", "Subtarget", ".", "isAIXABI", "(", ")", "||", "TM", ".", "getAIXExtendedAltivecABI", "(", ")", ")", ")", "{", "return", "SaveR2", "?", "CSR_PPC64_R2_Altivec_SaveList", ":", "CSR_PPC64_Altivec_SaveList", ";", "}", "return", "SaveR2", "?", "CSR_PPC64_R2_SaveList", ":", "CSR_PPC64_SaveList", ";", "}", "if", "(", "Subtarget", ".", "isAIXABI", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "TM", ".", "getAIXExtendedAltivecABI", "(", ")", "?", "CSR_AIX32_Altivec_SaveList", ":", "CSR_AIX32_SaveList", ";", "return", "CSR_AIX32_SaveList", ";", "}", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "CSR_SVR432_Altivec_SaveList", ";", "else", "if", "(", "Subtarget", ".", "hasSPE", "(", ")", ")", "return", "CSR_SVR432_SPE_SaveList", ";", "return", "CSR_SVR432_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "\"AnyReg unimplemented on 32-bit AIX.\"", "PPC::X2", "\"Cold calling unimplemented on AIX.\"", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC"], "File": "PPCRegisterInfo34", "Func": "getCalleeSavedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17014, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isShuffleMaskLegal", "(", "const", "SmallVectorImpl", "<", "int", ">", "&", "M", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "if", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "getScalarType", "(", ")", "==", "MVT", "::", "i1", ")", "return", "false", ";", "if", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "false", ";", "return", "isTypeLegal", "(", "VT", ".", "getSimpleVT", "(", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "can", "use", "this", "to", "indicate", "that", "they", "only", "support", "some", "VECTOR_SHUFFLE", "operations", ",", "those", "with", "specific", "masks", "."], "TS_V_token": ["X86", "X86", "MVT::i1", "64"], "File": "X86ISelLowering (2)3", "Func": "isShuffleMaskLegal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17015, "Length": 77, "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": 17016, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "FIXUPBW_DESC", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86"], "File": "X86FixupBWInsts", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17017, "Length": 11, "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", "(", ")", ")", ")", ";", "auto", "*", "SecurityCheckCookie", "=", "cast", "<", "Function", ">", "(", "M", ".", "getOrInsertFunction", "(", "\"__security_check_cookie\"", ",", "Type", "::", "getVoidTy", "(", "M", ".", "getContext", "(", ")", ")", ",", "Type", "::", "getInt8PtrTy", "(", "M", ".", "getContext", "(", ")", ")", ")", ")", ";", "SecurityCheckCookie", "->", "setCallingConv", "(", "CallingConv", "::", "Win64", ")", ";", "SecurityCheckCookie", "->", "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": "AArch64ISelLowering131", "Func": "insertSSPDeclarations", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17018, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBlockPlacement", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "const", "ARMSubtarget", "&", "ST", "=", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "if", "(", "!", "ST", ".", "hasLOB", "(", ")", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "DEBUG_PREFIX", "<<", "\"Running on \"", "<<", "MF", ".", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "MLI", "=", "&", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "ST", ".", "getInstrInfo", "(", ")", ")", ";", "BBUtils", "=", "std", "::", "unique_ptr", "<", "ARMBasicBlockUtils", ">", "(", "new", "ARMBasicBlockUtils", "(", "MF", ")", ")", ";", "MF", ".", "RenumberBlocks", "(", ")", ";", "BBUtils", "->", "computeAllBlockSizes", "(", ")", ";", "BBUtils", "->", "adjustBBOffsetsAfter", "(", "&", "MF", ".", "front", "(", ")", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "*", "ML", ":", "*", "MLI", ")", "{", "MachineBasicBlock", "*", "Preheader", "=", "ML", "->", "getLoopPredecessor", "(", ")", ";", "if", "(", "!", "Preheader", ")", "continue", ";", "for", "(", "auto", "&", "Terminator", ":", "Preheader", "->", "terminators", "(", ")", ")", "{", "if", "(", "Terminator", ".", "getOpcode", "(", ")", "!=", "ARM", "::", "t2WhileLoopStart", ")", "continue", ";", "MachineBasicBlock", "*", "LoopExit", "=", "Terminator", ".", "getOperand", "(", "1", ")", ".", "getMBB", "(", ")", ";", "if", "(", "!", "LoopExit", "->", "getPrevNode", "(", ")", ")", "continue", ";", "if", "(", "blockIsBefore", "(", "Preheader", ",", "LoopExit", ")", ")", "continue", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "DEBUG_PREFIX", "<<", "\"Found a backwards WLS from \"", "<<", "Preheader", "->", "getFullName", "(", ")", "<<", "\" to \"", "<<", "LoopExit", "->", "getFullName", "(", ")", "<<", "\"\\n\"", ")", ";", "bool", "CanMove", "=", "true", ";", "for", "(", "auto", "&", "LoopExitTerminator", ":", "LoopExit", "->", "terminators", "(", ")", ")", "{", "if", "(", "LoopExitTerminator", ".", "getOpcode", "(", ")", "!=", "ARM", "::", "t2WhileLoopStart", ")", "continue", ";", "MachineBasicBlock", "*", "LoopExit2", "=", "LoopExitTerminator", ".", "getOperand", "(", "1", ")", ".", "getMBB", "(", ")", ";", "if", "(", "!", "blockIsBefore", "(", "LoopExit2", ",", "LoopExit", ")", "&&", "(", "LoopExit2", "==", "Preheader", "||", "blockIsBefore", "(", "LoopExit2", ",", "Preheader", ")", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "DEBUG_PREFIX", "<<", "\"Can't move the target block as it would \"", "\"introduce a new backwards WLS branch\\n\"", ")", ";", "CanMove", "=", "false", ";", "break", ";", "}", "}", "if", "(", "CanMove", ")", "{", "for", "(", "auto", "It", "=", "LoopExit", "->", "getIterator", "(", ")", ";", "It", "!=", "Preheader", "->", "getIterator", "(", ")", ";", "It", "++", ")", "{", "MachineBasicBlock", "*", "MBB", "=", "&", "*", "It", ";", "for", "(", "auto", "&", "Terminator", ":", "MBB", "->", "terminators", "(", ")", ")", "{", "if", "(", "Terminator", ".", "getOpcode", "(", ")", "!=", "ARM", "::", "t2LoopEndDec", ")", "continue", ";", "MachineBasicBlock", "*", "LETarget", "=", "Terminator", ".", "getOperand", "(", "2", ")", ".", "getMBB", "(", ")", ";", "if", "(", "LETarget", "==", "LoopExit", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "DEBUG_PREFIX", "<<", "\"Can't move the target block as it would \"", "\"introduce a new forwards LE branch\\n\"", ")", ";", "CanMove", "=", "false", ";", "break", ";", "}", "}", "}", "if", "(", "!", "CanMove", ")", "break", ";", "}", "if", "(", "CanMove", ")", "{", "moveBasicBlock", "(", "LoopExit", ",", "Preheader", ")", ";", "Changed", "=", "true", ";", "break", ";", "}", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "\"Running on \"", "\"\\n\"", "ARM", "ARM", "ARM", "ARM::t2WhileLoopStart", "1", "\"Found a backwards WLS from \"", "\" to \"", "\"\\n\"", "ARM::t2WhileLoopStart", "1", "\"Can't move the target block as it would \"", "\"introduce a new backwards WLS branch\\n\"", "ARM::t2LoopEndDec", "2", "\"Can't move the target block as it would \"", "\"introduce a new forwards LE branch\\n\""], "File": "ARMBlockPlacement8", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17019, "Length": 493, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64LoadStoreOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "Subtarget", "=", "&", "static_cast", "<", "const", "AArch64Subtarget", "&", ">", "(", "Fn", ".", "getSubtarget", "(", ")", ")", ";", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "Subtarget", "->", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "Subtarget", "->", "getRegisterInfo", "(", ")", ";", "ModifiedRegs", ".", "resize", "(", "TRI", "->", "getNumRegs", "(", ")", ")", ";", "UsedRegs", ".", "resize", "(", "TRI", "->", "getNumRegs", "(", ")", ")", ";", "bool", "Modified", "=", "false", ";", "bool", "enableNarrowLdOpt", "=", "enableNarrowLdMerge", "(", "Fn", ")", ";", "for", "(", "auto", "&", "MBB", ":", "Fn", ")", "Modified", "|=", "optimizeBlock", "(", "MBB", ",", "enableNarrowLdOpt", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64LoadStoreOptimizer4", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17020, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "gen_safe_add", "(", "rtx", "dest", ",", "rtx", "src", ",", "rtx", "val", ",", "bool", "is_frame_related", ")", "{", "rtx", "insn", ";", "if", "(", "val", "==", "NULL_RTX", "||", "INTVAL", "(", "val", ")", "==", "0", ")", "{", "gcc_assert", "(", "dest", "!=", "src", ")", ";", "insn", "=", "emit_move_insn", "(", "dest", ",", "src", ")", ";", "}", "else", "if", "(", "ok_for_max_constant", "(", "INTVAL", "(", "val", ")", ")", ")", "insn", "=", "emit_insn", "(", "gen_addsi3", "(", "dest", ",", "src", ",", "val", ")", ")", ";", "else", "{", "val", "=", "gen_rtx_CONST", "(", "SImode", ",", "gen_rtx_UNSPEC", "(", "SImode", ",", "gen_rtvec", "(", "1", ",", "val", ")", ",", "UNSPEC_CONST", ")", ")", ";", "insn", "=", "emit_insn", "(", "gen_addsi3", "(", "dest", ",", "src", ",", "val", ")", ")", ";", "if", "(", "is_frame_related", ")", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "dest", ",", "gen_rtx_PLUS", "(", "SImode", ",", "src", ",", "val", ")", ")", ")", ";", "return", ";", "}", "if", "(", "is_frame_related", ")", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", ""], "natrual_language": ["Generate", "an", "ADD", "of", "SRC", "plus", "VAL", "into", "DEST", ".", "Handles", "the", "case", "where", "VAL", "is", "too", "big", "for", "max_constant_value", ".", "Sets", "FRAME_RELATED_P", "on", "the", "insn", "if", "IS_FRAME_RELATED", "is", "true", "."], "TS_V_token": ["rx", "0", "1", "1"], "File": "rx", "Func": "gen_safe_add", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17021, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetELFStreamer", "::", "emitDirectiveCpRestore", "(", "int", "Offset", ",", "std", "::", "function", "<", "unsigned", "(", ")", ">", "GetATReg", ",", "SMLoc", "IDLoc", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "{", "MipsTargetStreamer", "::", "emitDirectiveCpRestore", "(", "Offset", ",", "GetATReg", ",", "IDLoc", ",", "STI", ")", ";", "if", "(", "!", "Pic", "||", "(", "getABI", "(", ")", ".", "IsN32", "(", ")", "||", "getABI", "(", ")", ".", "IsN64", "(", ")", ")", ")", "return", "true", ";", "emitStoreWithImmOffset", "(", "Mips", "::", "SW", ",", "Mips", "::", "GP", ",", "Mips", "::", "SP", ",", "Offset", ",", "GetATReg", ",", "IDLoc", ",", "STI", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Emit", "a", ".cprestore", "directive", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips::SW", "Mips::GP", "Mips::SP"], "File": "MipsTargetStreamer23", "Func": "emitDirectiveCpRestore", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17022, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "gen_safe_add", "(", "rtx", "dest", ",", "rtx", "src", ",", "rtx", "val", ",", "bool", "is_frame_related", ")", "{", "rtx", "insn", ";", "if", "(", "val", "==", "NULL_RTX", "||", "INTVAL", "(", "val", ")", "==", "0", ")", "{", "gcc_assert", "(", "dest", "!=", "src", ")", ";", "insn", "=", "emit_move_insn", "(", "dest", ",", "src", ")", ";", "}", "else", "if", "(", "ok_for_max_constant", "(", "INTVAL", "(", "val", ")", ")", ")", "insn", "=", "emit_insn", "(", "gen_addsi3", "(", "dest", ",", "src", ",", "val", ")", ")", ";", "else", "{", "val", "=", "gen_rtx_CONST", "(", "SImode", ",", "gen_rtx_UNSPEC", "(", "SImode", ",", "gen_rtvec", "(", "1", ",", "val", ")", ",", "UNSPEC_CONST", ")", ")", ";", "insn", "=", "emit_insn", "(", "gen_addsi3", "(", "dest", ",", "src", ",", "val", ")", ")", ";", "if", "(", "is_frame_related", ")", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "SImode", ",", "dest", ",", "gen_rtx_PLUS", "(", "SImode", ",", "src", ",", "val", ")", ")", ")", ";", "return", ";", "}", "if", "(", "is_frame_related", ")", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "return", ";", "}", ""], "natrual_language": ["Generate", "an", "ADD", "of", "SRC", "plus", "VAL", "into", "DEST", ".", "Handles", "the", "case", "where", "VAL", "is", "too", "big", "for", "max_constant_value", ".", "Sets", "FRAME_RELATED_P", "on", "the", "insn", "if", "IS_FRAME_RELATED", "is", "true", "."], "TS_V_token": ["rx", "0", "1", "1"], "File": "rx2", "Func": "gen_safe_add", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17023, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "ARMTargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "LLT", "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)5", "Func": "getRegisterByName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17024, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "mips_global_pointer", "(", "void", ")", "{", "unsigned", "int", "regno", ";", "if", "(", "!", "TARGET_USE_GOT", ")", "return", "GLOBAL_POINTER_REGNUM", ";", "if", "(", "mips_cfun_has_inflexible_gp_ref_p", "(", ")", ")", "return", "GLOBAL_POINTER_REGNUM", ";", "if", "(", "TARGET_ABSOLUTE_JUMPS", "&&", "!", "mips_cfun_has_flexible_gp_ref_p", "(", ")", ")", "return", "INVALID_REGNUM", ";", "if", "(", "TARGET_CALL_SAVED_GP", "&&", "crtl", "->", "is_leaf", ")", "for", "(", "regno", "=", "GP_REG_FIRST", ";", "regno", "<=", "GP_REG_LAST", ";", "regno", "++", ")", "if", "(", "!", "df_regs_ever_live_p", "(", "regno", ")", "&&", "call_really_used_regs", "[", "regno", "]", "&&", "!", "fixed_regs", "[", "regno", "]", "&&", "regno", "!=", "PIC_FUNCTION_ADDR_REGNUM", ")", "return", "regno", ";", "return", "GLOBAL_POINTER_REGNUM", ";", "}", ""], "natrual_language": ["Return", "the", "register", "that", "should", "be", "used", "as", "the", "global", "pointer", "within", "this", "function", ".", "Return", "0", "if", "the", "function", "does", "n't", "need", "a", "global", "pointer", "."], "TS_V_token": ["mips"], "File": "mips4", "Func": "mips_global_pointer", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17025, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mmix_emit_sp_add", "(", "HOST_WIDE_INT", "offset", ")", "{", "rtx", "insn", ";", "if", "(", "offset", "<", "0", ")", "{", "if", "(", "offset", ">", "-", "255", ")", "insn", "=", "emit_insn", "(", "gen_adddi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "offset", ")", ")", ")", ";", "else", "{", "rtx", "tmpr", "=", "gen_rtx_REG", "(", "DImode", ",", "255", ")", ";", "RTX_FRAME_RELATED_P", "(", "emit_move_insn", "(", "tmpr", ",", "GEN_INT", "(", "offset", ")", ")", ")", "=", "1", ";", "insn", "=", "emit_insn", "(", "gen_adddi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "tmpr", ")", ")", ";", "}", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "else", "{", "if", "(", "CONST_OK_FOR_LETTER_P", "(", "offset", ",", "'L'", ")", ")", "emit_insn", "(", "gen_adddi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "offset", ")", ")", ")", ";", "else", "{", "rtx", "tmpr", "=", "gen_rtx_REG", "(", "DImode", ",", "255", ")", ";", "emit_move_insn", "(", "tmpr", ",", "GEN_INT", "(", "offset", ")", ")", ";", "insn", "=", "emit_insn", "(", "gen_adddi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "tmpr", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["Local", "(", "static", ")", "helper", "functions", "."], "TS_V_token": ["mmix", "0", "255", "255", "1", "1", "255"], "File": "mmix3", "Func": "mmix_emit_sp_add", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17026, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "insn_terminates_group_p", "(", "rtx_insn", "*", "insn", ",", "enum", "group_termination", "which_group", ")", "{", "bool", "first", ",", "last", ";", "if", "(", "!", "insn", ")", "return", "false", ";", "first", "=", "insn_must_be_first_in_group", "(", "insn", ")", ";", "last", "=", "insn_must_be_last_in_group", "(", "insn", ")", ";", "if", "(", "first", "&&", "last", ")", "return", "true", ";", "if", "(", "which_group", "==", "current_group", ")", "return", "last", ";", "else", "if", "(", "which_group", "==", "previous_group", ")", "return", "first", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "whether", "the", "presence", "of", "INSN", "causes", "a", "dispatch", "group", "termination", "of", "group", "WHICH_GROUP", ".", "If", "WHICH_GROUP", "==", "current_group", ",", "this", "function", "will", "return", "true", "if", "INSN", "causes", "the", "termination", "of", "the", "current", "group", "(", "i.e", ",", "the", "dispatch", "group", "to", "which", "INSN", "belongs", ")", ".", "This", "means", "that", "INSN", "will", "be", "the", "last", "insn", "in", "the", "group", "it", "belongs", "to", ".", "If", "WHICH_GROUP", "==", "previous_group", ",", "this", "function", "will", "return", "true", "if", "INSN", "causes", "the", "termination", "of", "the", "previous", "group", "(", "i.e", ",", "the", "dispatch", "group", "that", "precedes", "the", "group", "to", "which", "INSN", "belongs", ")", ".", "This", "means", "that", "INSN", "will", "be", "the", "first", "insn", "in", "the", "group", "it", "belongs", "to", ")", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "insn_terminates_group_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17027, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "extract_mem_rtx", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_LOAD", ":", "case", "TYPE_FLOAD", ":", "if", "(", "MEM_P", "(", "SET_SRC", "(", "body", ")", ")", ")", "return", "SET_SRC", "(", "body", ")", ";", "if", "(", "GET_CODE", "(", "SET_SRC", "(", "body", ")", ")", "==", "UNSPEC", ")", "{", "gcc_assert", "(", "MEM_P", "(", "XVECEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ",", "0", ")", ")", ")", ";", "return", "XVECEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ",", "0", ")", ";", "}", "gcc_assert", "(", "MEM_P", "(", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ")", ")", ";", "return", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ";", "case", "TYPE_STORE", ":", "case", "TYPE_FSTORE", ":", "if", "(", "MEM_P", "(", "SET_DEST", "(", "body", ")", ")", ")", "return", "SET_DEST", "(", "body", ")", ";", "if", "(", "GET_CODE", "(", "SET_DEST", "(", "body", ")", ")", "==", "UNSPEC", ")", "{", "gcc_assert", "(", "MEM_P", "(", "XVECEXP", "(", "SET_DEST", "(", "body", ")", ",", "0", ",", "0", ")", ")", ")", ";", "return", "XVECEXP", "(", "SET_DEST", "(", "body", ")", ",", "0", ",", "0", ")", ";", "}", "gcc_assert", "(", "MEM_P", "(", "XEXP", "(", "SET_DEST", "(", "body", ")", ",", "0", ")", ")", ")", ";", "return", "XEXP", "(", "SET_DEST", "(", "body", ")", ",", "0", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Extract", "the", "MEM", "rtx", "from", "a", "load/store", "insn", "."], "TS_V_token": ["nds32", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"], "File": "nds32-utils", "Func": "extract_mem_rtx", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17028, "Length": 220, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalMaskedLoad", "(", "Type", "*", "DataTy", ")", "{", "Type", "*", "ScalarTy", "=", "DataTy", "->", "getScalarType", "(", ")", ";", "int", "DataWidth", "=", "ScalarTy", "->", "getPrimitiveSizeInBits", "(", ")", ";", "return", "(", "DataWidth", ">=", "32", "&&", "ST", "->", "hasAVX2", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "load", "."], "TS_V_token": ["X86", "X86", "32"], "File": "X86TargetTransformInfo22", "Func": "isLegalMaskedLoad", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17029, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "x86_print_call_or_nop", "(", "FILE", "*", "file", ",", "const", "char", "*", "target", ")", "{", "if", "(", "flag_nop_mcount", ")", "fprintf", "(", "file", ",", "\"1:\"", "ASM_BYTE", "\"0x0f, 0x1f, 0x44, 0x00, 0x00\\n\"", ")", ";", "else", "fprintf", "(", "file", ",", "\"1:\\tcall\\t%s\\n\"", ",", "target", ")", ";", "}", ""], "natrual_language": ["Print", "call", "to", "TARGET", "to", "FILE", "."], "TS_V_token": ["i386", "\"1:\"", "\"0x0f, 0x1f, 0x44, 0x00, 0x00\\n\"", "\"1:\\tcall\\t%s\\n\""], "File": "i3867", "Func": "x86_print_call_or_nop", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17030, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_hard_regno_mode_ok", "(", "unsigned", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_CC", ")", "return", "regno", "==", "CC_REGNUM", ";", "if", "(", "regno", "==", "VG_REGNUM", ")", "return", "mode", "==", "DImode", ";", "unsigned", "int", "vec_flags", "=", "aarch64_classify_vector_mode", "(", "mode", ")", ";", "if", "(", "vec_flags", "&", "VEC_SVE_PRED", ")", "return", "PR_REGNUM_P", "(", "regno", ")", ";", "if", "(", "PR_REGNUM_P", "(", "regno", ")", ")", "return", "0", ";", "if", "(", "regno", "==", "SP_REGNUM", ")", "return", "mode", "==", "Pmode", "||", "mode", "==", "ptr_mode", ";", "if", "(", "regno", "==", "FRAME_POINTER_REGNUM", "||", "regno", "==", "ARG_POINTER_REGNUM", ")", "return", "mode", "==", "Pmode", ";", "if", "(", "GP_REGNUM_P", "(", "regno", ")", "&&", "known_le", "(", "GET_MODE_SIZE", "(", "mode", ")", ",", "16", ")", ")", "return", "true", ";", "if", "(", "FP_REGNUM_P", "(", "regno", ")", ")", "{", "if", "(", "vec_flags", "&", "VEC_STRUCT", ")", "return", "end_hard_regno", "(", "mode", ",", "regno", ")", "-", "1", "<=", "V31_REGNUM", ";", "else", "return", "!", "VECTOR_MODE_P", "(", "mode", ")", "||", "vec_flags", "!=", "0", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "HARD_REGNO_MODE_OK", "."], "TS_V_token": ["aarch64", "0", "16", "1", "0"], "File": "aarch645", "Func": "aarch64_hard_regno_mode_ok", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17031, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CallLowering", "::", "isEligibleForTailCallOptimization", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "CallLoweringInfo", "&", "Info", ",", "SmallVectorImpl", "<", "ArgInfo", ">", "&", "InArgs", ",", "SmallVectorImpl", "<", "ArgInfo", ">", "&", "OutArgs", ")", "const", "{", "if", "(", "!", "Info", ".", "IsTailCall", ")", "return", "false", ";", "CallingConv", "::", "ID", "CalleeCC", "=", "Info", ".", "CallConv", ";", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "Function", "&", "CallerF", "=", "MF", ".", "getFunction", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Attempting to lower call as tail call\\n\"", ")", ";", "if", "(", "Info", ".", "SwiftErrorVReg", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"... Cannot handle tail calls with swifterror yet.\\n\"", ")", ";", "return", "false", ";", "}", "if", "(", "!", "mayTailCallThisCC", "(", "CalleeCC", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"... Calling convention cannot be tail called.\\n\"", ")", ";", "return", "false", ";", "}", "if", "(", "any_of", "(", "CallerF", ".", "args", "(", ")", ",", "[", "]", "(", "const", "Argument", "&", "A", ")", "{", "return", "A", ".", "hasByValAttr", "(", ")", "||", "A", ".", "hasInRegAttr", "(", ")", "||", "A", ".", "hasSwiftErrorAttr", "(", ")", ";", "}", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"... Cannot tail call from callers with byval, \"", "\"inreg, or swifterror arguments\\n\"", ")", ";", "return", "false", ";", "}", "if", "(", "Info", ".", "Callee", ".", "isGlobal", "(", ")", ")", "{", "const", "GlobalValue", "*", "GV", "=", "Info", ".", "Callee", ".", "getGlobal", "(", ")", ";", "const", "Triple", "&", "TT", "=", "MF", ".", "getTarget", "(", ")", ".", "getTargetTriple", "(", ")", ";", "if", "(", "GV", "->", "hasExternalWeakLinkage", "(", ")", "&&", "(", "!", "TT", ".", "isOSWindows", "(", ")", "||", "TT", ".", "isOSBinFormatELF", "(", ")", "||", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"... Cannot tail call externally-defined function \"", "\"with weak linkage for this OS.\\n\"", ")", ";", "return", "false", ";", "}", "}", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "GuaranteedTailCallOpt", ")", "return", "canGuaranteeTCO", "(", "CalleeCC", ")", "&&", "CalleeCC", "==", "CallerF", ".", "getCallingConv", "(", ")", ";", "assert", "(", "(", "!", "Info", ".", "IsVarArg", "||", "CalleeCC", "==", "CallingConv", "::", "C", ")", "&&", "\"Unexpected variadic calling convention\"", ")", ";", "if", "(", "!", "doCallerAndCalleePassArgsTheSameWay", "(", "Info", ",", "MF", ",", "InArgs", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"... Caller and callee have incompatible calling conventions.\\n\"", ")", ";", "return", "false", ";", "}", "if", "(", "!", "areCalleeOutgoingArgsTailCallable", "(", "Info", ",", "MF", ",", "OutArgs", ")", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"... Call is eligible for tail call optimization.\\n\"", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "call", "can", "be", "lowered", "as", "a", "tail", "call", "."], "TS_V_token": ["AArch64", "AArch64", "\"Attempting to lower call as tail call\\n\"", "\"... Cannot handle tail calls with swifterror yet.\\n\"", "\"... Calling convention cannot be tail called.\\n\"", "\"... Cannot tail call from callers with byval, \"", "\"inreg, or swifterror arguments\\n\"", "\"... Cannot tail call externally-defined function \"", "\"with weak linkage for this OS.\\n\"", "\"Unexpected variadic calling convention\"", "\"... Caller and callee have incompatible calling conventions.\\n\"", "\"... Call is eligible for tail call optimization.\\n\""], "File": "AArch64CallLowering12", "Func": "isEligibleForTailCallOptimization", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17032, "Length": 358, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "&", "SrcReg", ",", "unsigned", "&", "SrcReg2", ",", "int", "&", "Mask", ",", "int", "&", "Value", ")", "const", "{", "assert", "(", "MI", "->", "isCompare", "(", ")", "&&", "\"Caller should have checked for a comparison\"", ")", ";", "if", "(", "MI", "->", "getNumExplicitOperands", "(", ")", "==", "2", "&&", "MI", "->", "getOperand", "(", "0", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", ")", "{", "SrcReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "0", ";", "Value", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "Mask", "=", "~", "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": ["SystemZ", "SystemZ", "\"Caller should have checked for a comparison\"", "2", "0", "1", "0", "0", "1", "0"], "File": "SystemZInstrInfo", "Func": "analyzeCompare", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17033, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_d_register_target_info", "(", "void", ")", "{", "const", "struct", "d_target_info_spec", "handlers", "[", "]", "=", "{", "{", "\"floatAbi\"", ",", "ix86_d_handle_target_float_abi", "}", ",", "{", "\"objectFormat\"", ",", "ix86_d_handle_target_object_format", "}", ",", "{", "NULL", ",", "NULL", "}", ",", "}", ";", "d_add_target_info_handlers", "(", "handlers", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_D_REGISTER_CPU_TARGET_INFO", "."], "TS_V_token": ["i386", "\"floatAbi\"", "\"objectFormat\""], "File": "i386-d", "Func": "ix86_d_register_target_info", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17034, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "AArch64RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "AArch64FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "WSP", ")", ";", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "WZR", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", "||", "TT", ".", "isOSDarwin", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "W29", ")", ";", "if", "(", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isX18Reserved", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "W18", ")", ";", "if", "(", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isX20Reserved", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "W20", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "W19", ")", ";", "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": ["AArch64", "AArch64", "AArch64", "AArch64::WSP", "AArch64::WZR", "AArch64::W29", "AArch64", "AArch64::W18", "AArch64", "AArch64::W20", "AArch64::W19"], "File": "AArch64RegisterInfo37", "Func": "getReservedRegs", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17035, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "if", "(", "SystemZ", "::", "GR128BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "copyPhysReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "RI", ".", "getSubReg", "(", "DestReg", ",", "SystemZ", "::", "subreg_h64", ")", ",", "RI", ".", "getSubReg", "(", "SrcReg", ",", "SystemZ", "::", "subreg_h64", ")", ",", "KillSrc", ")", ";", "copyPhysReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "RI", ".", "getSubReg", "(", "DestReg", ",", "SystemZ", "::", "subreg_l64", ")", ",", "RI", ".", "getSubReg", "(", "SrcReg", ",", "SystemZ", "::", "subreg_l64", ")", ",", "KillSrc", ")", ";", "return", ";", "}", "if", "(", "SystemZ", "::", "GRX32BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "emitGRX32Move", "(", "MBB", ",", "MBBI", ",", "DL", ",", "DestReg", ",", "SrcReg", ",", "SystemZ", "::", "LR", ",", "32", ",", "KillSrc", ")", ";", "return", ";", "}", "unsigned", "Opcode", ";", "if", "(", "SystemZ", "::", "GR64BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "LGR", ";", "else", "if", "(", "SystemZ", "::", "FP32BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "LER", ";", "else", "if", "(", "SystemZ", "::", "FP64BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "LDR", ";", "else", "if", "(", "SystemZ", "::", "FP128BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "LXR", ";", "else", "if", "(", "SystemZ", "::", "VR32BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "VLR32", ";", "else", "if", "(", "SystemZ", "::", "VR64BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "VLR64", ";", "else", "if", "(", "SystemZ", "::", "VR128BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "VLR", ";", "else", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "Opcode", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ::GR128BitRegClass", "SystemZ::subreg_h64", "SystemZ::subreg_h64", "SystemZ::subreg_l64", "SystemZ::subreg_l64", "SystemZ::GRX32BitRegClass", "SystemZ::LR", "32", "SystemZ::GR64BitRegClass", "SystemZ::LGR", "SystemZ::FP32BitRegClass", "SystemZ::LER", "SystemZ::FP64BitRegClass", "SystemZ::LDR", "SystemZ::FP128BitRegClass", "SystemZ::LXR", "SystemZ::VR32BitRegClass", "SystemZ::VLR32", "SystemZ::VR64BitRegClass", "SystemZ::VLR64", "SystemZ::VR128BitRegClass", "SystemZ::VLR", "\"Impossible reg-to-reg copy\""], "File": "SystemZInstrInfo", "Func": "copyPhysReg", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17036, "Length": 324, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pa_extra_live_on_entry", "(", "bitmap", "regs", ")", "{", "if", "(", "TARGET_64BIT", ")", "bitmap_set_bit", "(", "regs", ",", "ARG_POINTER_REGNUM", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_EXTRA_LIVE_ON_ENTRY", ".", "The", "argument", "pointer", "is", "only", "marked", "as", "live", "on", "entry", "by", "df-scan", "when", "it", "is", "a", "fixed", "register", ".", "It", "is", "n't", "a", "fixed", "register", "in", "the", "64-bit", "runtime", ",", "so", "we", "need", "to", "mark", "it", "here", "."], "TS_V_token": ["pa"], "File": "pa", "Func": "pa_extra_live_on_entry", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17037, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "getSqrtInputTest", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ",", "const", "DenormalMode", "&", "Mode", ")", "const", "{", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "if", "(", "!", "isTypeLegal", "(", "MVT", "::", "i1", ")", "||", "(", "VT", "!=", "MVT", "::", "f64", "&&", "(", "(", "VT", "!=", "MVT", "::", "v2f64", "&&", "VT", "!=", "MVT", "::", "v4f32", ")", "||", "!", "Subtarget", ".", "hasVSX", "(", ")", ")", ")", ")", "return", "TargetLowering", "::", "getSqrtInputTest", "(", "Op", ",", "DAG", ",", "Mode", ")", ";", "SDLoc", "DL", "(", "Op", ")", ";", "SDValue", "FTSQRT", "=", "DAG", ".", "getNode", "(", "PPCISD", "::", "FTSQRT", ",", "DL", ",", "MVT", "::", "i32", ",", "Op", ")", ";", "SDValue", "SRIdxVal", "=", "DAG", ".", "getTargetConstant", "(", "PPC", "::", "sub_eq", ",", "DL", ",", "MVT", "::", "i32", ")", ";", "return", "SDValue", "(", "DAG", ".", "getMachineNode", "(", "TargetOpcode", "::", "EXTRACT_SUBREG", ",", "DL", ",", "MVT", "::", "i1", ",", "FTSQRT", ",", "SRIdxVal", ")", ",", "0", ")", ";", "}", ""], "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": ["PowerPC", "PPC", "MVT::i1", "MVT::f64", "MVT::v2f64", "MVT::v4f32", "PPCISD::FTSQRT", "MVT::i32", "PPC::sub_eq", "MVT::i32", "MVT::i1", "0"], "File": "PPCISelLowering109", "Func": "getSqrtInputTest", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17038, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "long", "arm_compute_save_core_reg_mask", "(", "void", ")", "{", "unsigned", "int", "save_reg_mask", "=", "0", ";", "unsigned", "long", "func_type", "=", "arm_current_func_type", "(", ")", ";", "unsigned", "int", "reg", ";", "if", "(", "IS_NAKED", "(", "func_type", ")", ")", "return", "0", ";", "if", "(", "TARGET_APCS_FRAME", "&&", "frame_pointer_needed", "&&", "TARGET_ARM", ")", "save_reg_mask", "|=", "(", "1", "<<", "ARM_HARD_FRAME_POINTER_REGNUM", ")", "|", "(", "1", "<<", "IP_REGNUM", ")", "|", "(", "1", "<<", "LR_REGNUM", ")", "|", "(", "1", "<<", "PC_REGNUM", ")", ";", "save_reg_mask", "|=", "arm_compute_save_reg0_reg12_mask", "(", ")", ";", "if", "(", "df_regs_ever_live_p", "(", "LR_REGNUM", ")", "||", "(", "save_reg_mask", "&&", "optimize_size", "&&", "ARM_FUNC_TYPE", "(", "func_type", ")", "==", "ARM_FT_NORMAL", "&&", "!", "crtl", "->", "tail_call_emit", "&&", "!", "crtl", "->", "calls_eh_return", ")", ")", "save_reg_mask", "|=", "1", "<<", "LR_REGNUM", ";", "if", "(", "cfun", "->", "machine", "->", "lr_save_eliminated", ")", "save_reg_mask", "&=", "~", "(", "1", "<<", "LR_REGNUM", ")", ";", "if", "(", "TARGET_REALLY_IWMMXT", "&&", "(", "(", "bit_count", "(", "save_reg_mask", ")", "+", "ARM_NUM_INTS", "(", "crtl", "->", "args", ".", "pretend_args_size", "+", "arm_compute_static_chain_stack_bytes", "(", ")", ")", ")", "%", "2", ")", "!=", "0", ")", "{", "for", "(", "reg", "=", "4", ";", "reg", "<=", "12", ";", "reg", "++", ")", "if", "(", "(", "save_reg_mask", "&", "(", "1", "<<", "reg", ")", ")", "==", "0", ")", "break", ";", "if", "(", "reg", "<=", "12", ")", "save_reg_mask", "|=", "(", "1", "<<", "reg", ")", ";", "else", "{", "cfun", "->", "machine", "->", "sibcall_blocked", "=", "1", ";", "save_reg_mask", "|=", "(", "1", "<<", "3", ")", ";", "}", "}", "if", "(", "TARGET_THUMB2", "&&", "IS_NESTED", "(", "func_type", ")", "&&", "flag_pic", "&&", "(", "save_reg_mask", "&", "THUMB2_WORK_REGS", ")", "==", "0", ")", "{", "reg", "=", "thumb_find_work_register", "(", "1", "<<", "4", ")", ";", "if", "(", "!", "call_used_or_fixed_reg_p", "(", "reg", ")", ")", "save_reg_mask", "|=", "(", "1", "<<", "reg", ")", ";", "}", "return", "save_reg_mask", ";", "}", ""], "natrual_language": ["Compute", "a", "bit", "mask", "of", "which", "core", "registers", "need", "to", "be", "saved", "on", "the", "stack", "for", "the", "current", "function", ".", "This", "is", "used", "by", "arm_compute_frame_layout", ",", "which", "may", "add", "extra", "registers", "."], "TS_V_token": ["arm", "0", "0", "1", "1", "1", "1", "1", "1", "2", "0", "4", "12", "1", "0", "12", "1", "1", "1", "3", "0", "1", "4", "1"], "File": "arm", "Func": "arm_compute_save_core_reg_mask", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17039, "Length": 273, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "lowerCall", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "CallingConv", "::", "ID", "CallConv", ",", "const", "MachineOperand", "&", "Callee", ",", "const", "ArgInfo", "&", "OrigRet", ",", "ArrayRef", "<", "ArgInfo", ">", "OrigArgs", ")", "const", "override", "{", "return", "lowerCall", "(", "MIRBuilder", ",", "CallConv", ",", "Callee", ",", "OrigRet", ",", "OrigArgs", ",", "0", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "given", "call", "instruction", ",", "including", "argument", "and", "return", "value", "marshalling", "."], "TS_V_token": ["AArch64", "0"], "File": "AArch64CallLowering17", "Func": "lowerCall", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17040, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "loongarch_address_cost", "(", "rtx", "addr", ",", "machine_mode", "mode", ",", "addr_space_t", "as", "ATTRIBUTE_UNUSED", ",", "bool", "speed", "ATTRIBUTE_UNUSED", ")", "{", "return", "loongarch_address_insns", "(", "addr", ",", "mode", ",", "false", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ADDRESS_COST", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_address_cost", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17041, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_vector_mode_supported_p", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "V2SFmode", ":", "return", "TARGET_PAIRED_SINGLE_FLOAT", ";", "case", "V2HImode", ":", "case", "V4QImode", ":", "case", "V2HQmode", ":", "case", "V2UHQmode", ":", "case", "V2HAmode", ":", "case", "V2UHAmode", ":", "case", "V4QQmode", ":", "case", "V4UQQmode", ":", "return", "TARGET_DSP", ";", "case", "V2SImode", ":", "case", "V4HImode", ":", "case", "V8QImode", ":", "return", "TARGET_LOONGSON_VECTORS", ";", "default", ":", "return", "MSA_SUPPORTED_MODE_P", "(", "mode", ")", ";", "}", "}", ""], "natrual_language": ["Target", "hook", "for", "vector_mode_supported_p", "."], "TS_V_token": ["mips"], "File": "mips6", "Func": "mips_vector_mode_supported_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17042, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMAsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ")", "const", "{", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "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": ["ARM", "ARM", "\"Invalid fixup offset!\"", "0", "8", "0xff"], "File": "ARMAsmBackend (2)", "Func": "applyFixup", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17043, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsLegalizerInfo", "::", "legalizeCustom", "(", "MachineInstr", "&", "MI", ",", "MachineRegisterInfo", "&", "MRI", ",", "MachineIRBuilder", "&", "MIRBuilder", ")", "const", "{", "using", "namespace", "TargetOpcode", ";", "MIRBuilder", ".", "setInstr", "(", "MI", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "G_ADD", ":", "{", "unsigned", "Size", "=", "MRI", ".", "getType", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "getSizeInBits", "(", ")", ";", "const", "LLT", "sHalf", "=", "LLT", "::", "scalar", "(", "Size", "/", "2", ")", ";", "unsigned", "RHSLow", "=", "MRI", ".", "createGenericVirtualRegister", "(", "sHalf", ")", ";", "unsigned", "RHSHigh", "=", "MRI", ".", "createGenericVirtualRegister", "(", "sHalf", ")", ";", "unsigned", "LHSLow", "=", "MRI", ".", "createGenericVirtualRegister", "(", "sHalf", ")", ";", "unsigned", "LHSHigh", "=", "MRI", ".", "createGenericVirtualRegister", "(", "sHalf", ")", ";", "unsigned", "ResLow", "=", "MRI", ".", "createGenericVirtualRegister", "(", "sHalf", ")", ";", "unsigned", "ResHigh", "=", "MRI", ".", "createGenericVirtualRegister", "(", "sHalf", ")", ";", "unsigned", "Carry", "=", "MRI", ".", "createGenericVirtualRegister", "(", "sHalf", ")", ";", "unsigned", "TmpResHigh", "=", "MRI", ".", "createGenericVirtualRegister", "(", "sHalf", ")", ";", "MIRBuilder", ".", "buildUnmerge", "(", "{", "RHSHigh", ",", "RHSLow", "}", ",", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ";", "MIRBuilder", ".", "buildUnmerge", "(", "{", "LHSHigh", ",", "LHSLow", "}", ",", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ";", "MIRBuilder", ".", "buildAdd", "(", "TmpResHigh", ",", "LHSHigh", ",", "RHSHigh", ")", ";", "MIRBuilder", ".", "buildAdd", "(", "ResLow", ",", "LHSLow", ",", "RHSLow", ")", ";", "MIRBuilder", ".", "buildICmp", "(", "CmpInst", "::", "ICMP_ULT", ",", "Carry", ",", "ResLow", ",", "LHSLow", ")", ";", "MIRBuilder", ".", "buildAdd", "(", "ResHigh", ",", "TmpResHigh", ",", "Carry", ")", ";", "MIRBuilder", ".", "buildMerge", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "{", "ResHigh", ",", "ResLow", "}", ")", ";", "MI", ".", "eraseFromParent", "(", ")", ";", "break", ";", "}", "case", "G_CONSTANT", ":", "{", "unsigned", "Size", "=", "MRI", ".", "getType", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "getSizeInBits", "(", ")", ";", "const", "LLT", "sHalf", "=", "LLT", "::", "scalar", "(", "Size", "/", "2", ")", ";", "const", "APInt", "&", "CImmValue", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getCImm", "(", ")", "->", "getValue", "(", ")", ";", "unsigned", "ResLow", "=", "MRI", ".", "createGenericVirtualRegister", "(", "sHalf", ")", ";", "unsigned", "ResHigh", "=", "MRI", ".", "createGenericVirtualRegister", "(", "sHalf", ")", ";", "MIRBuilder", ".", "buildConstant", "(", "ResLow", ",", "*", "ConstantInt", "::", "get", "(", "MI", ".", "getMF", "(", ")", "->", "getFunction", "(", ")", ".", "getContext", "(", ")", ",", "CImmValue", ".", "trunc", "(", "Size", "/", "2", ")", ")", ")", ";", "MIRBuilder", ".", "buildConstant", "(", "ResHigh", ",", "*", "ConstantInt", "::", "get", "(", "MI", ".", "getMF", "(", ")", "->", "getFunction", "(", ")", ".", "getContext", "(", ")", ",", "CImmValue", ".", "lshr", "(", "Size", "/", "2", ")", ".", "trunc", "(", "Size", "/", "2", ")", ")", ")", ";", "MIRBuilder", ".", "buildMerge", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "{", "ResHigh", ",", "ResLow", "}", ")", ";", "MI", ".", "eraseFromParent", "(", ")", ";", "break", ";", "}", "default", ":", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Called", "for", "instructions", "with", "the", "Custom", "LegalizationAction", "."], "TS_V_token": ["Mips", "Mips", "0", "2", "2", "1", "0", "0", "2", "1", "2", "2", "2", "0"], "File": "MipsLegalizerInfo44", "Func": "legalizeCustom", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17044, "Length": 482, "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_TPREL_FLAG", ",", "\"ppc-tprel\"", "}", ",", "{", "MO_GOT_TLSGD_PCREL_FLAG", ",", "\"ppc-got-tlsgd-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-tprel\"", "\"ppc-got-tlsgd-pcrel\"", "\"ppc-got-tprel-pcrel\""], "File": "PPCInstrInfo71", "Func": "getSerializableBitmaskMachineOperandTargetFlags", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17045, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "unsigned", ">", "VRegs", ")", "const", "{", "if", "(", "F", ".", "arg_empty", "(", ")", ")", "return", "true", ";", "if", "(", "F", ".", "isVarArg", "(", ")", ")", "return", "false", ";", "auto", "DL", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getDataLayout", "(", ")", ";", "auto", "&", "TLI", "=", "*", "getTLI", "<", "ARMTargetLowering", ">", "(", ")", ";", "if", "(", "TLI", ".", "getSubtarget", "(", ")", "->", "isThumb", "(", ")", ")", "return", "false", ";", "auto", "&", "Args", "=", "F", ".", "getArgumentList", "(", ")", ";", "for", "(", "auto", "&", "Arg", ":", "Args", ")", "if", "(", "!", "isSupportedType", "(", "DL", ",", "TLI", ",", "Arg", ".", "getType", "(", ")", ")", ")", "return", "false", ";", "CCAssignFn", "*", "AssignFn", "=", "TLI", ".", "CCAssignFnForCall", "(", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "ArgInfos", ";", "unsigned", "Idx", "=", "0", ";", "for", "(", "auto", "&", "Arg", ":", "Args", ")", "{", "ArgInfo", "AInfo", "(", "VRegs", "[", "Idx", "]", ",", "Arg", ".", "getType", "(", ")", ")", ";", "setArgFlags", "(", "AInfo", ",", "Idx", "+", "1", ",", "DL", ",", "F", ")", ";", "ArgInfos", ".", "push_back", "(", "AInfo", ")", ";", "Idx", "++", ";", "}", "FormalArgHandler", "ArgHandler", "(", "MIRBuilder", ",", "MIRBuilder", ".", "getMF", "(", ")", ".", "getRegInfo", "(", ")", ",", "AssignFn", ")", ";", "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", "0", "1"], "File": "ARMCallLowering11", "Func": "lowerFormalArguments", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17046, "Length": 232, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_relax_group", "(", "void", ")", "{", "rtx_insn", "*", "insn", ";", "compute_bb_for_insn", "(", ")", ";", "df_chain_add_problem", "(", "DF_DU_CHAIN", "|", "DF_UD_CHAIN", ")", ";", "df_insn_rescan_all", "(", ")", ";", "df_analyze", "(", ")", ";", "df_set_flags", "(", "DF_DEFER_INSN_RESCAN", ")", ";", "calculate_dominance_info", "(", "CDI_DOMINATORS", ")", ";", "insn", "=", "get_insns", "(", ")", ";", "gcc_assert", "(", "NOTE_P", "(", "insn", ")", ")", ";", "for", "(", "insn", "=", "next_active_insn", "(", "insn", ")", ";", "insn", ";", "insn", "=", "next_active_insn", "(", "insn", ")", ")", "{", "if", "(", "NONJUMP_INSN_P", "(", "insn", ")", ")", "{", "if", "(", "recog_memoized", "(", "insn", ")", "==", "CODE_FOR_sethi", "&&", "nds32_symbolic_operand", "(", "XEXP", "(", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ",", "0", ")", ",", "SImode", ")", "&&", "!", "nds32_ict_const_p", "(", "XEXP", "(", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ",", "0", ")", ")", ")", "nds32_group_insns", "(", "insn", ")", ";", "else", "if", "(", "recog_memoized", "(", "insn", ")", "==", "CODE_FOR_tls_ie", ")", "nds32_group_tls_insn", "(", "insn", ")", ";", "else", "if", "(", "TARGET_FPU_SINGLE", "&&", "recog_memoized", "(", "insn", ")", "==", "CODE_FOR_move_addr", "&&", "!", "nds32_ict_const_p", "(", "XEXP", "(", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ",", "0", ")", ")", ")", "{", "nds32_group_float_insns", "(", "insn", ")", ";", "}", "}", "else", "if", "(", "CALL_P", "(", "insn", ")", "&&", "recog_memoized", "(", "insn", ")", "==", "CODE_FOR_tls_desc", ")", "{", "nds32_group_tls_insn", "(", "insn", ")", ";", "}", "}", "df_insn_rescan_all", "(", ")", ";", "df_finish_pass", "(", "false", ")", ";", "free_dominance_info", "(", "CDI_DOMINATORS", ")", ";", "}", ""], "natrual_language": ["Group", "the", "relax", "candidate", "instructions", "for", "linker", "."], "TS_V_token": ["nds32", "0", "0", "0"], "File": "nds32-relax-opt", "Func": "nds32_relax_group", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17047, "Length": 220, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "SHUXI", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["SHUXI", "SHUXI::NumTargetFixupKinds"], "File": "SHUXIAsmBackend", "Func": "getNumFixupKinds", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17048, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "crx_hard_regno_mode_ok", "(", "int", "regno", ",", "enum", "machine_mode", "mode", ")", "{", "if", "(", "regno", "==", "CC_REGNUM", ")", "return", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_CC", ";", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_CC", ")", "return", "0", ";", "if", "(", "HILO_REGNO_P", "(", "regno", ")", ")", "return", "mode", "==", "SImode", "||", "mode", "==", "DImode", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "1", "if", "hard", "register", "REGNO", "can", "hold", "a", "value", "of", "machine-mode", "MODE", "."], "TS_V_token": ["crx", "0", "1"], "File": "crx", "Func": "crx_hard_regno_mode_ok", "Target": "crx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17049, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "rs6000_eh_return_filter_mode", "(", "void", ")", "{", "return", "TARGET_32BIT", "?", "SImode", ":", "word_mode", ";", "}", ""], "natrual_language": ["target", "hook", "eh_return_filter_mode"], "TS_V_token": ["rs6000"], "File": "rs60004", "Func": "rs6000_eh_return_filter_mode", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17050, "Length": 15, "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", ";", "}", "switch", "(", "Opcode", ")", "{", "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\"", "ISD::FrameIndex"], "File": "LanaiISelDAGToDAG", "Func": "Select", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17051, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "ix86_preferred_reload_class", "(", "rtx", "x", ",", "reg_class_t", "regclass", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "x", ")", ";", "if", "(", "regclass", "==", "NO_REGS", ")", "return", "NO_REGS", ";", "if", "(", "x", "==", "CONST0_RTX", "(", "mode", ")", ")", "return", "regclass", ";", "if", "(", "CONSTANT_P", "(", "x", ")", "&&", "(", "MAYBE_MMX_CLASS_P", "(", "regclass", ")", "||", "MAYBE_SSE_CLASS_P", "(", "regclass", ")", "||", "MAYBE_MASK_CLASS_P", "(", "regclass", ")", ")", ")", "return", "NO_REGS", ";", "if", "(", "CONST_DOUBLE_P", "(", "x", ")", ")", "{", "if", "(", "INTEGER_CLASS_P", "(", "regclass", ")", ")", "return", "regclass", ";", "if", "(", "IS_STACK_MODE", "(", "mode", ")", "&&", "standard_80387_constant_p", "(", "x", ")", ">", "0", ")", "{", "if", "(", "FLOAT_CLASS_P", "(", "regclass", ")", ")", "return", "FLOAT_REGS", ";", "}", "return", "NO_REGS", ";", "}", "if", "(", "SSE_FLOAT_MODE_P", "(", "mode", ")", "&&", "TARGET_SSE_MATH", ")", "{", "if", "(", "TARGET_INTER_UNIT_MOVES_FROM_VEC", "&&", "TARGET_INTER_UNIT_MOVES_TO_VEC", "&&", "GET_MODE_SIZE", "(", "mode", ")", "<=", "GET_MODE_SIZE", "(", "word_mode", ")", ")", "return", "INT_SSE_CLASS_P", "(", "regclass", ")", "?", "regclass", ":", "NO_REGS", ";", "else", "return", "SSE_CLASS_P", "(", "regclass", ")", "?", "regclass", ":", "NO_REGS", ";", "}", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "return", "INTEGER_CLASS_P", "(", "regclass", ")", "?", "regclass", ":", "NO_REGS", ";", "if", "(", "GET_MODE", "(", "x", ")", "==", "QImode", "&&", "!", "CONSTANT_P", "(", "x", ")", ")", "{", "if", "(", "Q_CLASS_P", "(", "regclass", ")", ")", "return", "regclass", ";", "else", "if", "(", "reg_class_subset_p", "(", "Q_REGS", ",", "regclass", ")", ")", "return", "Q_REGS", ";", "else", "if", "(", "MASK_CLASS_P", "(", "regclass", ")", ")", "return", "regclass", ";", "else", "return", "NO_REGS", ";", "}", "return", "regclass", ";", "}", ""], "natrual_language": ["Put", "float", "CONST_DOUBLE", "in", "the", "constant", "pool", "instead", "of", "fp", "regs", ".", "QImode", "must", "go", "into", "class", "Q_REGS", ".", "Narrow", "ALL_REGS", "to", "GENERAL_REGS", ".", "This", "supports", "allowing", "movsf", "and", "movdf", "to", "do", "mem-to-mem", "moves", "through", "integer", "regs", "."], "TS_V_token": ["i386", "0"], "File": "i386", "Func": "ix86_preferred_reload_class", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17052, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_get_unaligned_mem", "(", "rtx", "*", "op", ",", "unsigned", "int", "width", ",", "int", "bitpos", ",", "rtx", "*", "left", ",", "rtx", "*", "right", ")", "{", "rtx", "first", ",", "last", ";", "if", "(", "!", "MEM_P", "(", "*", "op", ")", ")", "return", "false", ";", "if", "(", "width", "!=", "32", "&&", "(", "!", "TARGET_64BIT", "||", "width", "!=", "64", ")", ")", "return", "false", ";", "if", "(", "bitpos", "%", "BITS_PER_UNIT", "!=", "0", ")", "return", "false", ";", "if", "(", "MEM_ALIGN", "(", "*", "op", ")", ">=", "width", ")", "return", "false", ";", "*", "op", "=", "adjust_address", "(", "*", "op", ",", "BLKmode", ",", "0", ")", ";", "set_mem_size", "(", "*", "op", ",", "GEN_INT", "(", "width", "/", "BITS_PER_UNIT", ")", ")", ";", "first", "=", "adjust_address", "(", "*", "op", ",", "QImode", ",", "0", ")", ";", "last", "=", "adjust_address", "(", "*", "op", ",", "QImode", ",", "width", "/", "BITS_PER_UNIT", "-", "1", ")", ";", "if", "(", "TARGET_BIG_ENDIAN", ")", "*", "left", "=", "first", ",", "*", "right", "=", "last", ";", "else", "*", "left", "=", "last", ",", "*", "right", "=", "first", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "possible", "to", "use", "left/right", "accesses", "for", "a", "bitfield", "of", "WIDTH", "bits", "starting", "BITPOS", "bits", "into", "*", "OP", ".", "When", "returning", "true", ",", "update", "*", "OP", ",", "*", "LEFT", "and", "*", "RIGHT", "as", "follows", ":", "*", "OP", "is", "a", "BLKmode", "reference", "to", "the", "whole", "field", ".", "*", "LEFT", "is", "a", "QImode", "reference", "to", "the", "first", "byte", "if", "big", "endian", "or", "the", "last", "byte", "if", "little", "endian", ".", "This", "address", "can", "be", "used", "in", "the", "left-side", "instructions", "(", "lwl", ",", "swl", ",", "ldl", ",", "sdl", ")", ".", "*", "RIGHT", "is", "a", "QImode", "reference", "to", "the", "opposite", "end", "of", "the", "field", "and", "can", "be", "used", "in", "the", "patterning", "right-side", "instruction", "."], "TS_V_token": ["mips", "32", "64", "0", "0", "0", "1"], "File": "mips3", "Func": "mips_get_unaligned_mem", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17053, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64InstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "&", "SrcReg", ",", "unsigned", "&", "SrcReg2", ",", "int", "&", "CmpMask", ",", "int", "&", "CmpValue", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ARM64", "::", "SUBSWrr", ":", "case", "ARM64", "::", "SUBSWrs", ":", "case", "ARM64", "::", "SUBSWrx", ":", "case", "ARM64", "::", "SUBSXrr", ":", "case", "ARM64", "::", "SUBSXrs", ":", "case", "ARM64", "::", "SUBSXrx", ":", "case", "ARM64", "::", "ADDSWrr", ":", "case", "ARM64", "::", "ADDSWrs", ":", "case", "ARM64", "::", "ADDSWrx", ":", "case", "ARM64", "::", "ADDSXrr", ":", "case", "ARM64", "::", "ADDSXrs", ":", "case", "ARM64", "::", "ADDSXrx", ":", "SrcReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "0", ";", "return", "true", ";", "case", "ARM64", "::", "SUBSWri", ":", "case", "ARM64", "::", "ADDSWri", ":", "case", "ARM64", "::", "SUBSXri", ":", "case", "ARM64", "::", "ADDSXri", ":", "SrcReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "0", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "return", "true", ";", "case", "ARM64", "::", "ANDSWri", ":", "case", "ARM64", "::", "ANDSXri", ":", "SrcReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "0", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "ARM64_AM", "::", "decodeLogicalImmediate", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ",", "MI", "->", "getOpcode", "(", ")", "==", "ARM64", "::", "ANDSWri", "?", "32", ":", "64", ")", ";", "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": ["ARM64", "ARM64", "ARM64::SUBSWrr", "ARM64::SUBSWrs", "ARM64::SUBSWrx", "ARM64::SUBSXrr", "ARM64::SUBSXrs", "ARM64::SUBSXrx", "ARM64::ADDSWrr", "ARM64::ADDSWrs", "ARM64::ADDSWrx", "ARM64::ADDSXrr", "ARM64::ADDSXrs", "ARM64::ADDSXrx", "1", "2", "0", "0", "ARM64::SUBSWri", "ARM64::ADDSWri", "ARM64::SUBSXri", "ARM64::ADDSXri", "1", "0", "0", "2", "ARM64::ANDSWri", "ARM64::ANDSXri", "1", "0", "0", "ARM64_AM::decodeLogicalImmediate", "2", "ARM64::ANDSWri", "32", "64"], "File": "ARM64InstrInfo", "Func": "analyzeCompare", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17054, "Length": 269, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "VERegisterInfo", "::", "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", "VEFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "unsigned", "FrameReg", ";", "int", "Offset", ";", "Offset", "=", "TFI", "->", "getFrameIndexReference", "(", "MF", ",", "FrameIndex", ",", "FrameReg", ")", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "getImm", "(", ")", ";", "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": ["VE", "VE", "0", "\"Unexpected\"", "VE", "1"], "File": "VERegisterInfo1", "Func": "eliminateFrameIndex", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17055, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64RegisterInfo", "::", "isAsmClobberable", "(", "const", "MachineFunction", "&", "MF", ",", "MCRegister", "PhysReg", ")", "const", "{", "return", "!", "isReservedReg", "(", "MF", ",", "PhysReg", ")", ";", "}", ""], "natrual_language": ["Returns", "false", "if", "we", "ca", "n't", "guarantee", "that", "Physreg", ",", "specified", "as", "an", "IR", "asm", "clobber", "constraint", ",", "will", "be", "preserved", "across", "the", "statement", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64RegisterInfo12", "Func": "isAsmClobberable", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17056, "Length": 25, "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": 17057, "Length": 385, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "PPC", "::", "STD", ":", "case", "PPC", "::", "STW", ":", "case", "PPC", "::", "STFS", ":", "case", "PPC", "::", "STFD", ":", "case", "PPC", "::", "SPILL_CR", ":", "case", "PPC", "::", "SPILL_CRBIT", ":", "case", "PPC", "::", "STVX", ":", "case", "PPC", "::", "SPILL_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": ["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": ["PowerPC", "PPC", "PPC::STD", "PPC::STW", "PPC::STFS", "PPC::STFD", "PPC::SPILL_CR", "PPC::SPILL_CRBIT", "PPC::STVX", "PPC::SPILL_VRSAVE", "1", "1", "2", "2", "0", "0"], "File": "PPCInstrInfo (2)", "Func": "isStoreToStackSlot", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17058, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "AArch64RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "AArch64FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "WSP", ")", ";", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "WZR", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", "||", "TT", ".", "isOSDarwin", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "W29", ")", ";", "for", "(", "size_t", "i", "=", "0", ";", "i", "<", "AArch64", "::", "GPR32commonRegClass", ".", "getNumRegs", "(", ")", ";", "++", "i", ")", "{", "if", "(", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isXRegisterReserved", "(", "i", ")", ")", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "GPR32commonRegClass", ".", "getRegister", "(", "i", ")", ")", ";", "}", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "W19", ")", ";", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "SpeculativeLoadHardening", ")", ")", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "W16", ")", ";", "if", "(", "PACStack", "::", "hasPACStackAttribute", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "PACStack", "::", "CRSub", ")", ";", "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": ["AArch64", "AArch64", "AArch64", "AArch64::WSP", "AArch64::WZR", "AArch64::W29", "0", "AArch64::GPR32commonRegClass", "AArch64", "AArch64::GPR32commonRegClass", "AArch64::W19", "AArch64::W16"], "File": "AArch64RegisterInfo59", "Func": "getReservedRegs", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17059, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_sve_inc_dec_immediate_p", "(", "rtx", "x", ")", "{", "return", "aarch64_sve_inc_dec_immediate_p", "(", "x", ",", "NULL", ",", "NULL", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "valid", "immediate", "for", "an", "SVE", "vector", "INC", "or", "DEC", "instruction", "."], "TS_V_token": ["aarch64"], "File": "aarch645", "Func": "aarch64_sve_inc_dec_immediate_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17060, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "xstormy16_function_value_regno_p", "(", "const", "unsigned", "int", "regno", ")", "{", "return", "(", "regno", "==", "RETURN_VALUE_REGNUM", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_FUNCTION_VALUE_REGNO_P", "."], "TS_V_token": ["stormy16"], "File": "stormy16", "Func": "xstormy16_function_value_regno_p", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17061, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "offset_6bit_unsigned_scaled_p", "(", "machine_mode", "mode", ",", "poly_int64", "offset", ")", "{", "HOST_WIDE_INT", "multiple", ";", "return", "(", "constant_multiple_p", "(", "offset", ",", "GET_MODE_SIZE", "(", "mode", ")", ",", "&", "multiple", ")", "&&", "IN_RANGE", "(", "multiple", ",", "0", ",", "63", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OFFSET", "is", "an", "unsigned", "6-bit", "value", "multiplied", "by", "the", "size", "of", "MODE", "."], "TS_V_token": ["aarch64", "0", "63"], "File": "aarch64", "Func": "offset_6bit_unsigned_scaled_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17062, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "PPCDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "if", "(", "!", "GlobalBaseReg", ")", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "PPCSubTarget", "->", "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", "(", "PPCSubTarget", "->", "isTargetELF", "(", ")", ")", "{", "GlobalBaseReg", "=", "PPC", "::", "R30", ";", "if", "(", "!", "PPCSubTarget", "->", "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", ")", ";", "unsigned", "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", "PPC", "MVT::i32", "PPC", "PPC::R30", "PPC", "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": "PPCISelDAGToDAG105", "Func": "getGlobalBaseReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17063, "Length": 420, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "AArch64GOT", "::", "emit", "(", "MemoryRegion", "&", "pRegion", ")", "{", "uint64_t", "*", "buffer", "=", "reinterpret_cast", "<", "uint64_t", "*", ">", "(", "pRegion", ".", "begin", "(", ")", ")", ";", "AArch64GOTEntry", "*", "got", "=", "NULL", ";", "uint64_t", "result", "=", "0x0", ";", "for", "(", "iterator", "it", "=", "begin", "(", ")", ",", "ie", "=", "end", "(", ")", ";", "it", "!=", "ie", ";", "++", "it", ",", "++", "buffer", ")", "{", "got", "=", "&", "(", "llvm", "::", "cast", "<", "AArch64GOTEntry", ">", "(", "(", "*", "it", ")", ")", ")", ";", "*", "buffer", "=", "static_cast", "<", "uint64_t", ">", "(", "got", "->", "getValue", "(", ")", ")", ";", "result", "+=", "AArch64GOTEntry", "::", "EntrySize", ";", "}", "return", "result", ";", "}", ""], "natrual_language": ["Output", "the", "remark", "via", "the", "diagnostic", "handler", "and", "to", "the", "optimization", "record", "file", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "0x0", "AArch64", "AArch64GOTEntry::EntrySize"], "File": "AArch64GOT", "Func": "emit", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17064, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "RegisterBankInfo", "::", "InstructionMapping", "X86RegisterBankInfo", "::", "getOperandsMapping", "(", "const", "MachineInstr", "&", "MI", ",", "bool", "isFP", ")", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "unsigned", "NumOperands", "=", "MI", ".", "getNumOperands", "(", ")", ";", "LLT", "Ty", "=", "MRI", ".", "getType", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ";", "if", "(", "NumOperands", "!=", "3", "||", "(", "Ty", "!=", "MRI", ".", "getType", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ")", "||", "(", "Ty", "!=", "MRI", ".", "getType", "(", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ")", ")", "llvm_unreachable", "(", "\"Unsupported operand maping yet.\"", ")", ";", "ValueMappingIdx", "ValMapIdx", "=", "VMI_None", ";", "if", "(", "!", "isFP", ")", "{", "switch", "(", "Ty", ".", "getSizeInBits", "(", ")", ")", "{", "case", "8", ":", "ValMapIdx", "=", "VMI_3OpsGpr8Idx", ";", "break", ";", "case", "16", ":", "ValMapIdx", "=", "VMI_3OpsGpr16Idx", ";", "break", ";", "case", "32", ":", "ValMapIdx", "=", "VMI_3OpsGpr32Idx", ";", "break", ";", "case", "64", ":", "ValMapIdx", "=", "VMI_3OpsGpr64Idx", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Unsupported register size.\"", ")", ";", "break", ";", "}", "}", "else", "{", "llvm_unreachable", "(", "\"Floating point not supported yet.\"", ")", ";", "}", "return", "InstructionMapping", "{", "DefaultMappingID", ",", "1", ",", "&", "ValMappings", "[", "ValMapIdx", "]", ",", "NumOperands", "}", ";", "}", ""], "natrual_language": ["Get", "the", "uniquely", "generated", "array", "of", "ValueMapping", "for", "the", "given", "arguments", "."], "TS_V_token": ["X86", "X86", "0", "3", "1", "2", "\"Unsupported operand maping yet.\"", "8", "16", "32", "64", "\"Unsupported register size.\"", "\"Floating point not supported yet.\"", "1"], "File": "X86RegisterBankInfo21", "Func": "getOperandsMapping", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17065, "Length": 214, "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", ")", ",", "ARMProcFamily", "(", "Others", ")", ",", "ARMProcClass", "(", "None", ")", ",", "stackAlignment", "(", "4", ")", ",", "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", "4", "ARM", "ARM", "ARM", "ARM"], "File": "ARMSubtarget49", "Func": "ARMSubtarget", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17066, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isZExtFree", "(", "const", "Type", "*", "Ty1", ",", "const", "Type", "*", "Ty2", ")", "const", "{", "return", "Ty1", "==", "Type", "::", "getInt32Ty", "(", "Ty1", "->", "getContext", "(", ")", ")", "&&", "Ty2", "==", "Type", "::", "getInt64Ty", "(", "Ty1", "->", "getContext", "(", ")", ")", "&&", "Subtarget", "->", "is64Bit", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "zero-extending", "the", "specific", "node", "Val", "to", "type", "VT2", "is", "free", "(", "either", "because", "it", "'s", "implicitly", "zero-extended", "such", "as", "ARM", "ldrb", "/", "ldrh", "or", "because", "it", "'s", "folded", "such", "as", "X86", "zero-extending", "loads", ")", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering94", "Func": "isZExtFree", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17067, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCMCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "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", "CTX", ".", "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": "PPCMCCodeEmitter (2)", "Func": "getMachineOpValue", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17068, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "SystemZSelectionDAGInfo", "::", "EmitTargetCodeForStrcpy", "(", "SelectionDAG", "&", "DAG", ",", "SDLoc", "DL", ",", "SDValue", "Chain", ",", "SDValue", "Dest", ",", "SDValue", "Src", ",", "MachinePointerInfo", "DestPtrInfo", ",", "MachinePointerInfo", "SrcPtrInfo", ",", "bool", "isStpcpy", ")", "const", "{", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "Dest", ".", "getValueType", "(", ")", ",", "MVT", "::", "Other", ")", ";", "SDValue", "EndDest", "=", "DAG", ".", "getNode", "(", "SystemZISD", "::", "STPCPY", ",", "DL", ",", "VTs", ",", "Chain", ",", "Dest", ",", "Src", ",", "DAG", ".", "getConstant", "(", "0", ",", "DL", ",", "MVT", "::", "i32", ")", ")", ";", "return", "std", "::", "make_pair", "(", "isStpcpy", "?", "EndDest", ":", "Dest", ",", "EndDest", ".", "getValue", "(", "1", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "strcpy", "or", "stpcpy", ",", "in", "cases", "where", "that", "is", "faster", "than", "a", "libcall", "."], "TS_V_token": ["SystemZ", "SystemZ", "MVT::Other", "SystemZISD::STPCPY", "0", "MVT::i32", "1"], "File": "SystemZSelectionDAGInfo (2)", "Func": "EmitTargetCodeForStrcpy", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17069, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "Cpu0AsmParser", "::", "getReg", "(", "int", "RC", ",", "int", "RegNo", ")", "{", "return", "*", "(", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", "->", "getRegClass", "(", "RC", ")", ".", "begin", "(", ")", "+", "RegNo", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["Cpu0", "Cpu0"], "File": "Cpu0AsmParser", "Func": "getReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17070, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "pa_attr_length_call", "(", "rtx_insn", "*", "insn", ",", "int", "sibcall", ")", "{", "int", "local_call", ";", "rtx", "call", ",", "call_dest", ";", "tree", "call_decl", ";", "int", "length", "=", "0", ";", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "unsigned", "long", "distance", "=", "-", "1", ";", "gcc_assert", "(", "CALL_P", "(", "insn", ")", ")", ";", "if", "(", "INSN_ADDRESSES_SET_P", "(", ")", ")", "{", "unsigned", "long", "total", ";", "total", "=", "IN_NAMED_SECTION_P", "(", "cfun", "->", "decl", ")", "?", "0", ":", "total_code_bytes", ";", "distance", "=", "(", "total", "+", "insn_current_reference_address", "(", "insn", ")", ")", ";", "if", "(", "distance", "<", "total", ")", "distance", "=", "-", "1", ";", "}", "gcc_assert", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", ")", ";", "call", "=", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "call", ")", "==", "SET", ")", "call", "=", "SET_SRC", "(", "call", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "call", ")", "==", "CALL", ")", ";", "call_dest", "=", "XEXP", "(", "XEXP", "(", "call", ",", "0", ")", ",", "0", ")", ";", "call_decl", "=", "SYMBOL_REF_DECL", "(", "call_dest", ")", ";", "local_call", "=", "call_decl", "&&", "targetm", ".", "binds_local_p", "(", "call_decl", ")", ";", "if", "(", "!", "TARGET_LONG_CALLS", "&&", "(", "(", "TARGET_PA_20", "&&", "!", "sibcall", "&&", "distance", "<", "7600000", ")", "||", "distance", "<", "MAX_PCREL17F_OFFSET", ")", ")", "length", "+=", "8", ";", "else", "if", "(", "TARGET_64BIT", "&&", "!", "local_call", ")", "length", "+=", "24", ";", "else", "if", "(", "(", "TARGET_LONG_ABS_CALL", "||", "local_call", ")", "&&", "!", "flag_pic", ")", "length", "+=", "12", ";", "else", "if", "(", "TARGET_LONG_PIC_SDIFF_CALL", "||", "(", "TARGET_GAS", "&&", "!", "TARGET_SOM", "&&", "local_call", ")", ")", "{", "length", "+=", "20", ";", "if", "(", "!", "TARGET_PA_20", "&&", "!", "TARGET_NO_SPACE_REGS", "&&", "(", "!", "local_call", "||", "flag_pic", ")", ")", "length", "+=", "8", ";", "}", "else", "{", "length", "+=", "32", ";", "if", "(", "TARGET_SOM", ")", "length", "+=", "length_fp_args", "(", "insn", ")", ";", "if", "(", "flag_pic", ")", "length", "+=", "4", ";", "if", "(", "!", "TARGET_PA_20", ")", "{", "if", "(", "!", "sibcall", ")", "length", "+=", "8", ";", "if", "(", "!", "TARGET_NO_SPACE_REGS", "&&", "(", "!", "local_call", "||", "flag_pic", ")", ")", "length", "+=", "8", ";", "}", "}", "return", "length", ";", "}", ""], "natrual_language": ["Return", "the", "attribute", "length", "of", "the", "call", "instruction", "INSN", ".", "The", "SIBCALL", "flag", "indicates", "whether", "INSN", "is", "a", "regular", "call", "or", "a", "sibling", "call", ".", "The", "length", "returned", "must", "be", "longer", "than", "the", "code", "actually", "generated", "by", "pa_output_call", ".", "Since", "branch", "shortening", "is", "done", "before", "delay", "branch", "sequencing", ",", "there", "is", "no", "way", "to", "determine", "whether", "or", "not", "the", "delay", "slot", "will", "be", "filled", "during", "branch", "shortening", ".", "Even", "when", "the", "delay", "slot", "is", "filled", ",", "we", "may", "have", "to", "add", "a", "nop", "if", "the", "delay", "slot", "contains", "a", "branch", "that", "ca", "n't", "reach", "its", "target", ".", "Thus", ",", "we", "always", "have", "to", "include", "the", "delay", "slot", "in", "the", "length", "estimate", ".", "This", "used", "to", "be", "done", "in", "pa_adjust_insn_length", "but", "we", "do", "it", "here", "now", "as", "some", "sequences", "always", "fill", "the", "delay", "slot", "and", "we", "can", "save", "four", "bytes", "in", "the", "estimate", "for", "these", "sequences", "."], "TS_V_token": ["pa", "0", "1", "0", "1", "0", "0", "0", "0", "7600000", "8", "24", "12", "20", "8", "32", "4", "8", "8"], "File": "pa", "Func": "pa_attr_length_call", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17071, "Length": 331, "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", ":", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "IsWin64", "||", "(", "F", "&&", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "X86_64_Win64", ")", ")", "return", "&", "X86", "::", "GR64_TCW64RegClass", ";", "else", "if", "(", "Is64Bit", ")", "return", "&", "X86", "::", "GR64_TCRegClass", ";", "bool", "hasHipeCC", "=", "(", "F", "?", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "HiPE", ":", "false", ")", ";", "if", "(", "hasHipeCC", ")", "return", "&", "X86", "::", "GR32RegClass", ";", "return", "&", "X86", "::", "GR32_TCRegClass", ";", "}", "}", ""], "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", "X86", "X86::GR64_TCW64RegClass", "X86::GR64_TCRegClass", "X86::GR32RegClass", "X86::GR32_TCRegClass"], "File": "X86RegisterInfo", "Func": "getPointerRegClass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17072, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "nds32_can_use_btgl_p", "(", "int", "ival", ")", "{", "int", "one_bit_count", ";", "one_bit_count", "=", "popcount_hwi", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "(", "ival", ")", ")", ";", "return", "(", "TARGET_EXT_PERF", "&&", "(", "one_bit_count", "==", "1", ")", ")", ";", "}", ""], "natrual_language": ["Function", "to", "check", "if", "'btgl", "'", "instruction", "can", "be", "used", "with", "IVAL", "."], "TS_V_token": ["nds32", "1"], "File": "nds32-predicates5", "Func": "nds32_can_use_btgl_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17073, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "scalar_chain", "::", "add_insn", "(", "bitmap", "candidates", ",", "unsigned", "int", "insn_uid", ",", "bitmap", "disallowed", ")", "{", "if", "(", "!", "bitmap_set_bit", "(", "insns", ",", "insn_uid", ")", ")", "return", "true", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\" Adding insn %d to chain #%d\\n\"", ",", "insn_uid", ",", "chain_id", ")", ";", "rtx_insn", "*", "insn", "=", "DF_INSN_UID_GET", "(", "insn_uid", ")", "->", "insn", ";", "rtx", "def_set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "def_set", "&&", "REG_P", "(", "SET_DEST", "(", "def_set", ")", ")", "&&", "!", "HARD_REGISTER_P", "(", "SET_DEST", "(", "def_set", ")", ")", ")", "bitmap_set_bit", "(", "defs", ",", "REGNO", "(", "SET_DEST", "(", "def_set", ")", ")", ")", ";", "df_ref", "ref", ";", "for", "(", "ref", "=", "DF_INSN_UID_DEFS", "(", "insn_uid", ")", ";", "ref", ";", "ref", "=", "DF_REF_NEXT_LOC", "(", "ref", ")", ")", "if", "(", "!", "HARD_REGISTER_P", "(", "DF_REF_REG", "(", "ref", ")", ")", ")", "if", "(", "!", "analyze_register_chain", "(", "candidates", ",", "ref", ",", "disallowed", ")", ")", "return", "false", ";", "if", "(", "def_set", "&&", "GET_CODE", "(", "SET_SRC", "(", "def_set", ")", ")", "==", "VEC_SELECT", ")", "return", "true", ";", "for", "(", "ref", "=", "DF_INSN_UID_USES", "(", "insn_uid", ")", ";", "ref", ";", "ref", "=", "DF_REF_NEXT_LOC", "(", "ref", ")", ")", "if", "(", "!", "DF_REF_REG_MEM_P", "(", "ref", ")", ")", "if", "(", "!", "analyze_register_chain", "(", "candidates", ",", "ref", ",", "disallowed", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Add", "instruction", "into", "a", "chain", ".", "Return", "true", "if", "OK", ",", "false", "if", "the", "search", "was", "aborted", "."], "TS_V_token": ["i386", "\" Adding insn %d to chain #%d\\n\""], "File": "i386-features1", "Func": "add_insn", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17074, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "AArch64RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "AArch64FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "AArch64", "::", "FP", ":", "AArch64", "::", "SP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64::FP", "AArch64::SP"], "File": "AArch64RegisterInfo12", "Func": "getFrameRegister", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17075, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "pa_function_arg_boundary", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "bool", "singleword", "=", "(", "type", "?", "(", "integer_zerop", "(", "TYPE_SIZE", "(", "type", ")", ")", "||", "!", "TREE_CONSTANT", "(", "TYPE_SIZE", "(", "type", ")", ")", "||", "int_size_in_bytes", "(", "type", ")", "<=", "UNITS_PER_WORD", ")", ":", "GET_MODE_SIZE", "(", "mode", ")", "<=", "UNITS_PER_WORD", ")", ";", "return", "singleword", "?", "PARM_BOUNDARY", ":", "MAX_PARM_BOUNDARY", ";", "}", ""], "natrual_language": ["Arguments", "larger", "than", "one", "word", "are", "double", "word", "aligned", "."], "TS_V_token": ["pa"], "File": "pa", "Func": "pa_function_arg_boundary", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17076, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ArrayRef", "<", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">>", "AArch64InstrInfo", "::", "getSerializableBitmaskMachineOperandTargetFlags", "(", ")", "const", "{", "using", "namespace", "AArch64II", ";", "static", "const", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">", "TargetFlags", "[", "]", "=", "{", "{", "MO_COFFSTUB", ",", "\"aarch64-coffstub\"", "}", ",", "{", "MO_GOT", ",", "\"aarch64-got\"", "}", ",", "{", "MO_NC", ",", "\"aarch64-nc\"", "}", ",", "{", "MO_S", ",", "\"aarch64-s\"", "}", ",", "{", "MO_TLS", ",", "\"aarch64-tls\"", "}", ",", "{", "MO_DLLIMPORT", ",", "\"aarch64-dllimport\"", "}", "}", ";", "return", "makeArrayRef", "(", "TargetFlags", ")", ";", "}", ""], "natrual_language": ["Return", "an", "array", "that", "contains", "the", "bitmask", "target", "flag", "values", "and", "their", "names", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "\"aarch64-coffstub\"", "\"aarch64-got\"", "\"aarch64-nc\"", "\"aarch64-s\"", "\"aarch64-tls\"", "\"aarch64-dllimport\""], "File": "AArch64InstrInfo (2)1", "Func": "getSerializableBitmaskMachineOperandTargetFlags", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17077, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "uses_TOC", "(", "void", ")", "{", "rtx_insn", "*", "insn", ";", "int", "ret", "=", "1", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "if", "(", "INSN_P", "(", "insn", ")", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "int", "i", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", ")", "for", "(", "i", "=", "0", ";", "i", "<", "XVECLEN", "(", "pat", ",", "0", ")", ";", "i", "++", ")", "{", "rtx", "sub", "=", "XVECEXP", "(", "pat", ",", "0", ",", "i", ")", ";", "if", "(", "GET_CODE", "(", "sub", ")", "==", "USE", ")", "{", "sub", "=", "XEXP", "(", "sub", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "sub", ")", "==", "UNSPEC", "&&", "XINT", "(", "sub", ",", "1", ")", "==", "UNSPEC_TOC", ")", "return", "ret", ";", "}", "}", "}", "else", "if", "(", "crtl", "->", "has_bb_partition", "&&", "NOTE_P", "(", "insn", ")", "&&", "NOTE_KIND", "(", "insn", ")", "==", "NOTE_INSN_SWITCH_TEXT_SECTIONS", ")", "ret", "=", "2", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["This", "retuns", "nonzero", "if", "the", "current", "function", "uses", "the", "TOC", ".", "This", "is", "determined", "by", "the", "presence", "of", "(", "unspec", "...", "7", ")", ",", "which", "is", "generated", "by", "the", "various", "load_toc_", "*", "patterns", "."], "TS_V_token": ["rs6000", "1", "0", "0", "0", "0", "1", "2", "0"], "File": "rs60007", "Func": "uses_TOC", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17078, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "OutgoingValueHandler", "::", "extendRegister", "(", "Register", "ValReg", ",", "const", "CCValAssign", "&", "VA", ")", "{", "LLT", "LocTy", "{", "VA", ".", "getLocVT", "(", ")", "}", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "case", "CCValAssign", "::", "SExt", ":", "{", "return", "MIRBuilder", ".", "buildSExt", "(", "LocTy", ",", "ValReg", ")", ".", "getReg", "(", "0", ")", ";", "}", "case", "CCValAssign", "::", "ZExt", ":", "{", "return", "MIRBuilder", ".", "buildZExt", "(", "LocTy", ",", "ValReg", ")", ".", "getReg", "(", "0", ")", ";", "}", "case", "CCValAssign", "::", "AExt", ":", "{", "return", "MIRBuilder", ".", "buildAnyExt", "(", "LocTy", ",", "ValReg", ")", ".", "getReg", "(", "0", ")", ";", "}", "case", "CCValAssign", "::", "Full", ":", "return", "ValReg", ";", "default", ":", "break", ";", "}", "llvm_unreachable", "(", "\"unable to extend register\"", ")", ";", "}", ""], "natrual_language": ["Extend", "a", "register", "to", "the", "location", "type", "given", "in", "VA", ",", "capped", "at", "extending", "to", "at", "most", "MaxSize", "bits", "."], "TS_V_token": ["Mips", "0", "0", "0", "\"unable to extend register\""], "File": "MipsCallLowering23", "Func": "extendRegister", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17079, "Length": 118, "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": 17080, "Length": 491, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCRegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "if", "(", "GuaranteedTailCallOpt", "&&", "I", "->", "getOpcode", "(", ")", "==", "PPC", "::", "ADJCALLSTACKUP", ")", "{", "if", "(", "int", "CalleeAmt", "=", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ")", "{", "bool", "is64Bit", "=", "Subtarget", ".", "isPPC64", "(", ")", ";", "CalleeAmt", "*=", "-", "1", ";", "unsigned", "StackReg", "=", "is64Bit", "?", "PPC", "::", "X1", ":", "PPC", "::", "R1", ";", "unsigned", "TmpReg", "=", "is64Bit", "?", "PPC", "::", "X0", ":", "PPC", "::", "R0", ";", "unsigned", "ADDIInstr", "=", "is64Bit", "?", "PPC", "::", "ADDI8", ":", "PPC", "::", "ADDI", ";", "unsigned", "ADDInstr", "=", "is64Bit", "?", "PPC", "::", "ADD8", ":", "PPC", "::", "ADD4", ";", "unsigned", "LISInstr", "=", "is64Bit", "?", "PPC", "::", "LIS8", ":", "PPC", "::", "LIS", ";", "unsigned", "ORIInstr", "=", "is64Bit", "?", "PPC", "::", "ORI8", ":", "PPC", "::", "ORI", ";", "MachineInstr", "*", "MI", "=", "I", ";", "DebugLoc", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "isInt", "<", "16", ">", "(", "CalleeAmt", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "TII", ".", "get", "(", "ADDIInstr", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addImm", "(", "CalleeAmt", ")", ";", "}", "else", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "I", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "LISInstr", ")", ",", "TmpReg", ")", ".", "addImm", "(", "CalleeAmt", ">>", "16", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ORIInstr", ")", ",", "TmpReg", ")", ".", "addReg", "(", "TmpReg", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "CalleeAmt", "&", "0xFFFF", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ADDInstr", ")", ")", ".", "addReg", "(", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addReg", "(", "TmpReg", ")", ";", "}", "}", "}", "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": ["PowerPC", "PPC", "PPC::ADJCALLSTACKUP", "1", "PPC", "1", "PPC::X1", "PPC::R1", "PPC::X0", "PPC::R0", "PPC::ADDI8", "PPC::ADDI", "PPC::ADD8", "PPC::ADD4", "PPC::LIS8", "PPC::LIS", "PPC::ORI8", "PPC::ORI", "16", "16", "0xFFFF"], "File": "PPCRegisterInfo21", "Func": "eliminateCallFramePseudoInstr", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17081, "Length": 309, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMConstantPoolValue", "::", "print", "(", "raw_ostream", "&", "O", ")", "const", "{", "if", "(", "CVal", ")", "O", "<<", "CVal", "->", "getName", "(", ")", ";", "else", "O", "<<", "S", ";", "if", "(", "Modifier", ")", "O", "<<", "\"(\"", "<<", "getModifierText", "(", ")", "<<", "\")\"", ";", "if", "(", "PCAdjust", "!=", "0", ")", "{", "O", "<<", "\"-(LPC\"", "<<", "LabelId", "<<", "\"+\"", "<<", "(", "unsigned", ")", "PCAdjust", ";", "if", "(", "AddCurrentAddress", ")", "O", "<<", "\"-.\"", ";", "O", "<<", "\")\"", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["ARM", "ARM", "\"(\"", "\")\"", "0", "\"-(LPC\"", "\"+\"", "\"-.\"", "\")\""], "File": "ARMConstantPoolValue10", "Func": "print", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17082, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "built_in_function", "complex_multiply_builtin_code", "(", "machine_mode", "mode", ")", "{", "gcc_assert", "(", "IN_RANGE", "(", "mode", ",", "MIN_MODE_COMPLEX_FLOAT", ",", "MAX_MODE_COMPLEX_FLOAT", ")", ")", ";", "int", "func", "=", "BUILT_IN_COMPLEX_MUL_MIN", "+", "mode", "-", "MIN_MODE_COMPLEX_FLOAT", ";", "return", "(", "built_in_function", ")", "func", ";", "}", ""], "natrual_language": ["Internal", "function", "to", "return", "the", "built-in", "function", "id", "for", "the", "complex", "multiply", "operation", "for", "a", "given", "mode", "."], "TS_V_token": ["rs6000"], "File": "rs60001", "Func": "complex_multiply_builtin_code", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17083, "Length": 37, "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": ["X86"], "File": "X86TargetTransformInfo112", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17084, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "expand_set_or_movmem_prologue", "(", "rtx", "destmem", ",", "rtx", "srcmem", ",", "rtx", "destptr", ",", "rtx", "srcptr", ",", "rtx", "value", ",", "rtx", "vec_value", ",", "rtx", "count", ",", "int", "align", ",", "int", "desired_alignment", ",", "bool", "issetmem", ")", "{", "int", "i", ";", "for", "(", "i", "=", "1", ";", "i", "<", "desired_alignment", ";", "i", "<<=", "1", ")", "{", "if", "(", "align", "<=", "i", ")", "{", "rtx_code_label", "*", "label", "=", "ix86_expand_aligntest", "(", "destptr", ",", "i", ",", "false", ")", ";", "if", "(", "issetmem", ")", "{", "if", "(", "vec_value", "&&", "i", ">", "GET_MODE_SIZE", "(", "GET_MODE", "(", "value", ")", ")", ")", "destmem", "=", "emit_memset", "(", "destmem", ",", "destptr", ",", "vec_value", ",", "i", ")", ";", "else", "destmem", "=", "emit_memset", "(", "destmem", ",", "destptr", ",", "value", ",", "i", ")", ";", "}", "else", "destmem", "=", "emit_memmov", "(", "destmem", ",", "&", "srcmem", ",", "destptr", ",", "srcptr", ",", "i", ")", ";", "ix86_adjust_counter", "(", "count", ",", "i", ")", ";", "emit_label", "(", "label", ")", ";", "LABEL_NUSES", "(", "label", ")", "=", "1", ";", "set_mem_align", "(", "destmem", ",", "i", "*", "2", "*", "BITS_PER_UNIT", ")", ";", "}", "}", "return", "destmem", ";", "}", ""], "natrual_language": ["Depending", "on", "ISSETMEM", ",", "copy", "enough", "from", "SRCMEM", "to", "DESTMEM", "or", "set", "enough", "to", "DESTMEM", "to", "align", "it", "to", "DESIRED_ALIGNMENT", ".", "Original", "alignment", "is", "ALIGN", ".", "Depending", "on", "ISSETMEM", ",", "either", "arguments", "SRCMEM/SRCPTR", "or", "VALUE/VEC_VALUE", "are", "ignored", ".", "Return", "value", "is", "updated", "DESTMEM", "."], "TS_V_token": ["i386", "1", "1", "1", "2"], "File": "i3864", "Func": "expand_set_or_movmem_prologue", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17085, "Length": 173, "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", ",", "const", "char", "*", "acle_name", ")", "{", "tree", "mangled_name_tree", "=", "(", "mangled_name", "?", "get_identifier", "(", "mangled_name", ")", ":", "NULL_TREE", ")", ";", "tree", "value", "=", "tree_cons", "(", "NULL_TREE", ",", "get_identifier", "(", "acle_name", ")", ",", "NULL_TREE", ")", ";", "value", "=", "tree_cons", "(", "NULL_TREE", ",", "mangled_name_tree", ",", "value", ")", ";", "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-builtins1", "Func": "add_sve_type_attribute", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17086, "Length": 115, "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": 17087, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "any_sibcall_could_use_r3", "(", "void", ")", "{", "edge_iterator", "ei", ";", "edge", "e", ";", "if", "(", "!", "crtl", "->", "tail_call_emit", ")", "return", "false", ";", "FOR_EACH_EDGE", "(", "e", ",", "ei", ",", "EXIT_BLOCK_PTR_FOR_FN", "(", "cfun", ")", "->", "preds", ")", "if", "(", "e", "->", "flags", "&", "EDGE_SIBCALL", ")", "{", "rtx_insn", "*", "call", "=", "BB_END", "(", "e", "->", "src", ")", ";", "if", "(", "!", "CALL_P", "(", "call", ")", ")", "call", "=", "prev_nonnote_nondebug_insn", "(", "call", ")", ";", "gcc_assert", "(", "CALL_P", "(", "call", ")", "&&", "SIBLING_CALL_P", "(", "call", ")", ")", ";", "if", "(", "find_regno_fusage", "(", "call", ",", "USE", ",", "3", ")", "||", "is_indirect_tailcall_p", "(", "call", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "r3", "is", "used", "by", "any", "of", "the", "tail", "call", "insns", "in", "the", "current", "function", "."], "TS_V_token": ["arm", "3"], "File": "arm", "Func": "any_sibcall_could_use_r3", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17088, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "section", "*", "pa_som_tm_clone_table_section", "(", "void", ")", "{", "return", "som_tm_clone_table_section", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_TM_CLONE_TABLE_SECTION", "."], "TS_V_token": ["pa"], "File": "pa", "Func": "pa_som_tm_clone_table_section", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17089, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_compatible_vector_types_p", "(", "const_tree", "type1", ",", "const_tree", "type2", ")", "{", "return", "(", "aarch64_sve", "::", "builtin_type_p", "(", "type1", ")", "==", "aarch64_sve", "::", "builtin_type_p", "(", "type2", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_COMPATIBLE_VECTOR_TYPES_P", "."], "TS_V_token": ["aarch64", "aarch64_sve::builtin_type_p", "aarch64_sve::builtin_type_p"], "File": "aarch64", "Func": "aarch64_compatible_vector_types_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17090, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetObjectFile", "::", "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", ")", ";", "this", "->", "TM", "=", "&", "TM", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["Mips", "Mips", "\".sdata\"", "\".sbss\""], "File": "MipsTargetObjectFile16", "Func": "Initialize", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17091, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "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": ["X86", "X86"], "File": "X86InstrInfo137", "Func": "isFunctionSafeToOutlineFrom", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17092, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "function_resolver", "::", "require_pointer_type", "(", "unsigned", "int", "argno", ")", "{", "if", "(", "!", "scalar_argument_p", "(", "argno", ")", ")", "{", "error_at", "(", "location", ",", "\"passing %qT to argument %d of %qE, which\"", "\" expects a scalar pointer\"", ",", "get_argument_type", "(", "argno", ")", ",", "argno", "+", "1", ",", "fndecl", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Require", "argument", "ARGNO", "to", "be", "some", "form", "of", "pointer", ",", "without", "being", "specific", "about", "its", "target", "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 a scalar pointer\"", "1"], "File": "aarch64-sve-builtins", "Func": "require_pointer_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17093, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86IndirectThunks", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "getPassName", "(", ")", "<<", "'\\n'", ")", ";", "auto", "&", "MMI", "=", "getAnalysis", "<", "MachineModuleInfoWrapperPass", ">", "(", ")", ".", "getMMI", "(", ")", ";", "return", "runTIs", "(", "MMI", ",", "MF", ",", "TIs", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86"], "File": "X86IndirectThunks", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17094, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PassConfig", "::", "addPreISel", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnablePromoteConstant", ")", "addPass", "(", "createAArch64PromoteConstantPass", "(", ")", ")", ";", "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", "(", ")", ";", "if", "(", "!", "OnlyOptimizeForSize", ")", "MergeExternalByDefault", "=", "false", ";", "addPass", "(", "createGlobalMergePass", "(", "TM", ",", "4095", ",", "OnlyOptimizeForSize", ",", "MergeExternalByDefault", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["AArch64", "AArch64", "AArch64", "4095"], "File": "AArch64TargetMachine1", "Func": "addPreISel", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17095, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "unsigned", "Opc", ";", "if", "(", "SystemZ", "::", "GR64RegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "SystemZ", "::", "MOV64rr", ";", "else", "if", "(", "SystemZ", "::", "GR32RegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "SystemZ", "::", "MOV32rr", ";", "else", "if", "(", "SystemZ", "::", "GR64PRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "SystemZ", "::", "MOV64rrP", ";", "else", "if", "(", "SystemZ", "::", "GR128RegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "SystemZ", "::", "MOV128rr", ";", "else", "if", "(", "SystemZ", "::", "FP32RegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "SystemZ", "::", "FMOV32rr", ";", "else", "if", "(", "SystemZ", "::", "FP64RegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opc", "=", "SystemZ", "::", "FMOV64rr", ";", "else", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ::GR64RegClass", "SystemZ::MOV64rr", "SystemZ::GR32RegClass", "SystemZ::MOV32rr", "SystemZ::GR64PRegClass", "SystemZ::MOV64rrP", "SystemZ::GR128RegClass", "SystemZ::MOV128rr", "SystemZ::FP32RegClass", "SystemZ::FMOV32rr", "SystemZ::FP64RegClass", "SystemZ::FMOV64rr", "\"Impossible reg-to-reg copy\""], "File": "SystemZInstrInfo25", "Func": "copyPhysReg", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17096, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "iq2000_function_value", "(", "const_tree", "valtype", ",", "const_tree", "fn_decl_or_type", ",", "bool", "outgoing", "ATTRIBUTE_UNUSED", ")", "{", "int", "reg", "=", "GP_RETURN", ";", "machine_mode", "mode", "=", "TYPE_MODE", "(", "valtype", ")", ";", "int", "unsignedp", "=", "TYPE_UNSIGNED", "(", "valtype", ")", ";", "const_tree", "func", "=", "fn_decl_or_type", ";", "if", "(", "fn_decl_or_type", "&&", "!", "DECL_P", "(", "fn_decl_or_type", ")", ")", "fn_decl_or_type", "=", "NULL", ";", "mode", "=", "promote_function_mode", "(", "valtype", ",", "mode", ",", "&", "unsignedp", ",", "func", ",", "1", ")", ";", "return", "gen_rtx_REG", "(", "mode", ",", "reg", ")", ";", "}", ""], "natrual_language": ["Return", "register", "to", "use", "for", "a", "function", "return", "value", "with", "VALTYPE", "for", "function", "FUNC", "."], "TS_V_token": ["iq2000", "1"], "File": "iq2000", "Func": "iq2000_function_value", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17097, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "SparcRegisterInfo", "::", "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": ["Sparc", "Sparc", "\"What is the dwarf register number\"", "1"], "File": "SparcRegisterInfo8", "Func": "getDwarfRegNum", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17098, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_assemble_visibility", "(", "tree", "decl", ",", "int", "vis", ")", "{", "if", "(", "TARGET_XCOFF", ")", "return", ";", "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": "rs60004", "Func": "rs6000_assemble_visibility", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17099, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "OR1KTargetLowering", "::", "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_OR1K32", ")", ";", "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", "(", ")", ";", "OR1KMachineFunctionInfo", "*", "OR1KMFI", "=", "MF", ".", "getInfo", "<", "OR1KMachineFunctionInfo", ">", "(", ")", ";", "unsigned", "Reg", "=", "OR1KMFI", "->", "getSRetReturnReg", "(", ")", ";", "assert", "(", "Reg", "&&", "\"SRetReturnReg should have been set in LowerFormalArguments().\"", ")", ";", "SDValue", "Val", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "Reg", ",", "getPointerTy", "(", ")", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "OR1K", "::", "R11", ",", "Val", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "addLiveOut", "(", "OR1K", "::", "R11", ")", ";", "}", "unsigned", "Opc", "=", "OR1KISD", "::", "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": ["OR1K", "OR1K", "ISD::OutputArg", "16", "OR1K", "0", "0", "\"Can only return in registers!\"", "1", "OR1K", "OR1K", "OR1K", "OR1K", "\"SRetReturnReg should have been set in LowerFormalArguments().\"", "OR1K::R11", "1", "OR1K::R11", "OR1KISD::RET_FLAG", "MVT::Other", "MVT::Other"], "File": "OR1KISelLowering", "Func": "LowerReturn", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17100, "Length": 402, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "mips_build_shift", "(", "struct", "mips_integer_op", "*", "codes", ",", "HOST_WIDE_INT", "value", ")", "{", "unsigned", "int", "i", ",", "shift", ";", "shift", "=", "0", ";", "while", "(", "(", "value", "&", "1", ")", "==", "0", ")", "value", "/=", "2", ",", "shift", "++", ";", "i", "=", "mips_build_integer", "(", "codes", ",", "value", ")", ";", "codes", "[", "i", "]", ".", "code", "=", "ASHIFT", ";", "codes", "[", "i", "]", ".", "value", "=", "shift", ";", "return", "i", "+", "1", ";", "}", ""], "natrual_language": ["Subroutine", "of", "mips_build_integer", "(", "with", "the", "same", "interface", ")", ".", "Assume", "that", "the", "final", "action", "in", "the", "sequence", "should", "be", "a", "left", "shift", "."], "TS_V_token": ["mips", "0", "1", "0", "2", "1"], "File": "mips", "Func": "mips_build_shift", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17101, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ia64_expand_load_address", "(", "rtx", "dest", ",", "rtx", "src", ")", "{", "gcc_assert", "(", "GET_CODE", "(", "dest", ")", "==", "REG", ")", ";", "if", "(", "GET_MODE", "(", "dest", ")", "!=", "Pmode", ")", "dest", "=", "gen_rtx_REG_offset", "(", "dest", ",", "Pmode", ",", "REGNO", "(", "dest", ")", ",", "byte_lowpart_offset", "(", "Pmode", ",", "GET_MODE", "(", "dest", ")", ")", ")", ";", "if", "(", "TARGET_NO_PIC", ")", "return", "false", ";", "if", "(", "small_addr_symbolic_operand", "(", "src", ",", "VOIDmode", ")", ")", "return", "false", ";", "if", "(", "TARGET_AUTO_PIC", ")", "emit_insn", "(", "gen_load_gprel64", "(", "dest", ",", "src", ")", ")", ";", "else", "if", "(", "GET_CODE", "(", "src", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_FUNCTION_P", "(", "src", ")", ")", "emit_insn", "(", "gen_load_fptr", "(", "dest", ",", "src", ")", ")", ";", "else", "if", "(", "sdata_symbolic_operand", "(", "src", ",", "VOIDmode", ")", ")", "emit_insn", "(", "gen_load_gprel", "(", "dest", ",", "src", ")", ")", ";", "else", "{", "HOST_WIDE_INT", "addend", "=", "0", ";", "rtx", "tmp", ";", "if", "(", "GET_CODE", "(", "src", ")", "==", "CONST", ")", "{", "HOST_WIDE_INT", "hi", ",", "lo", ";", "hi", "=", "INTVAL", "(", "XEXP", "(", "XEXP", "(", "src", ",", "0", ")", ",", "1", ")", ")", ";", "lo", "=", "(", "(", "hi", "&", "0x3fff", ")", "^", "0x2000", ")", "-", "0x2000", ";", "hi", "=", "hi", "-", "lo", ";", "if", "(", "lo", "!=", "0", ")", "{", "addend", "=", "lo", ";", "src", "=", "plus_constant", "(", "Pmode", ",", "XEXP", "(", "XEXP", "(", "src", ",", "0", ")", ",", "0", ")", ",", "hi", ")", ";", "}", "}", "tmp", "=", "gen_rtx_HIGH", "(", "Pmode", ",", "src", ")", ";", "tmp", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "tmp", ",", "pic_offset_table_rtx", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "tmp", ")", ")", ";", "tmp", "=", "gen_rtx_LO_SUM", "(", "Pmode", ",", "gen_const_mem", "(", "Pmode", ",", "dest", ")", ",", "src", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "tmp", ")", ")", ";", "if", "(", "addend", ")", "{", "tmp", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "dest", ",", "GEN_INT", "(", "addend", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "tmp", ")", ")", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Expand", "a", "symbolic", "constant", "load", "."], "TS_V_token": ["ia64", "0", "0", "1", "0x3fff", "0x2000", "0x2000", "0", "0", "0"], "File": "ia644", "Func": "ia64_expand_load_address", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17102, "Length": 324, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmParser", "::", "processInstruction", "(", "MCInst", "&", "Inst", ",", "const", "OperandVector", "&", "Ops", ")", "{", "const", "MCRegisterInfo", "*", "MRI", "=", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "X86", "::", "VMOVZPQILo2PQIrr", ":", "case", "X86", "::", "VMOVAPDrr", ":", "case", "X86", "::", "VMOVAPDYrr", ":", "case", "X86", "::", "VMOVAPSrr", ":", "case", "X86", "::", "VMOVAPSYrr", ":", "case", "X86", "::", "VMOVDQArr", ":", "case", "X86", "::", "VMOVDQAYrr", ":", "case", "X86", "::", "VMOVDQUrr", ":", "case", "X86", "::", "VMOVDQUYrr", ":", "case", "X86", "::", "VMOVUPDrr", ":", "case", "X86", "::", "VMOVUPDYrr", ":", "case", "X86", "::", "VMOVUPSrr", ":", "case", "X86", "::", "VMOVUPSYrr", ":", "{", "if", "(", "ForcedVEXEncoding", "==", "VEXEncoding_VEX3", "||", "MRI", "->", "getEncodingValue", "(", "Inst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ">=", "8", "||", "MRI", "->", "getEncodingValue", "(", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", "<", "8", ")", "return", "false", ";", "unsigned", "NewOpc", ";", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Invalid opcode\"", ")", ";", "case", "X86", "::", "VMOVZPQILo2PQIrr", ":", "NewOpc", "=", "X86", "::", "VMOVPQI2QIrr", ";", "break", ";", "case", "X86", "::", "VMOVAPDrr", ":", "NewOpc", "=", "X86", "::", "VMOVAPDrr_REV", ";", "break", ";", "case", "X86", "::", "VMOVAPDYrr", ":", "NewOpc", "=", "X86", "::", "VMOVAPDYrr_REV", ";", "break", ";", "case", "X86", "::", "VMOVAPSrr", ":", "NewOpc", "=", "X86", "::", "VMOVAPSrr_REV", ";", "break", ";", "case", "X86", "::", "VMOVAPSYrr", ":", "NewOpc", "=", "X86", "::", "VMOVAPSYrr_REV", ";", "break", ";", "case", "X86", "::", "VMOVDQArr", ":", "NewOpc", "=", "X86", "::", "VMOVDQArr_REV", ";", "break", ";", "case", "X86", "::", "VMOVDQAYrr", ":", "NewOpc", "=", "X86", "::", "VMOVDQAYrr_REV", ";", "break", ";", "case", "X86", "::", "VMOVDQUrr", ":", "NewOpc", "=", "X86", "::", "VMOVDQUrr_REV", ";", "break", ";", "case", "X86", "::", "VMOVDQUYrr", ":", "NewOpc", "=", "X86", "::", "VMOVDQUYrr_REV", ";", "break", ";", "case", "X86", "::", "VMOVUPDrr", ":", "NewOpc", "=", "X86", "::", "VMOVUPDrr_REV", ";", "break", ";", "case", "X86", "::", "VMOVUPDYrr", ":", "NewOpc", "=", "X86", "::", "VMOVUPDYrr_REV", ";", "break", ";", "case", "X86", "::", "VMOVUPSrr", ":", "NewOpc", "=", "X86", "::", "VMOVUPSrr_REV", ";", "break", ";", "case", "X86", "::", "VMOVUPSYrr", ":", "NewOpc", "=", "X86", "::", "VMOVUPSYrr_REV", ";", "break", ";", "}", "Inst", ".", "setOpcode", "(", "NewOpc", ")", ";", "return", "true", ";", "}", "case", "X86", "::", "VMOVSDrr", ":", "case", "X86", "::", "VMOVSSrr", ":", "{", "if", "(", "ForcedVEXEncoding", "==", "VEXEncoding_VEX3", "||", "MRI", "->", "getEncodingValue", "(", "Inst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ">=", "8", "||", "MRI", "->", "getEncodingValue", "(", "Inst", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", "<", "8", ")", "return", "false", ";", "unsigned", "NewOpc", ";", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Invalid opcode\"", ")", ";", "case", "X86", "::", "VMOVSDrr", ":", "NewOpc", "=", "X86", "::", "VMOVSDrr_REV", ";", "break", ";", "case", "X86", "::", "VMOVSSrr", ":", "NewOpc", "=", "X86", "::", "VMOVSSrr_REV", ";", "break", ";", "}", "Inst", ".", "setOpcode", "(", "NewOpc", ")", ";", "return", "true", ";", "}", "}", "}", ""], "natrual_language": ["Process", "a", "single", "instruction", "and", "collect", "debug", "info", "anchors", "."], "TS_V_token": ["X86", "X86", "X86::VMOVZPQILo2PQIrr", "X86::VMOVAPDrr", "X86::VMOVAPDYrr", "X86::VMOVAPSrr", "X86::VMOVAPSYrr", "X86::VMOVDQArr", "X86::VMOVDQAYrr", "X86::VMOVDQUrr", "X86::VMOVDQUYrr", "X86::VMOVUPDrr", "X86::VMOVUPDYrr", "X86::VMOVUPSrr", "X86::VMOVUPSYrr", "0", "8", "1", "8", "\"Invalid opcode\"", "X86::VMOVZPQILo2PQIrr", "X86::VMOVPQI2QIrr", "X86::VMOVAPDrr", "X86::VMOVAPDrr_REV", "X86::VMOVAPDYrr", "X86::VMOVAPDYrr_REV", "X86::VMOVAPSrr", "X86::VMOVAPSrr_REV", "X86::VMOVAPSYrr", "X86::VMOVAPSYrr_REV", "X86::VMOVDQArr", "X86::VMOVDQArr_REV", "X86::VMOVDQAYrr", "X86::VMOVDQAYrr_REV", "X86::VMOVDQUrr", "X86::VMOVDQUrr_REV", "X86::VMOVDQUYrr", "X86::VMOVDQUYrr_REV", "X86::VMOVUPDrr", "X86::VMOVUPDrr_REV", "X86::VMOVUPDYrr", "X86::VMOVUPDYrr_REV", "X86::VMOVUPSrr", "X86::VMOVUPSrr_REV", "X86::VMOVUPSYrr", "X86::VMOVUPSYrr_REV", "X86::VMOVSDrr", "X86::VMOVSSrr", "0", "8", "2", "8", "\"Invalid opcode\"", "X86::VMOVSDrr", "X86::VMOVSDrr_REV", "X86::VMOVSSrr", "X86::VMOVSSrr_REV"], "File": "X86AsmParser (2)5", "Func": "processInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17103, "Length": 468, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMem", "(", ")", "const", "override", "{", "return", "Kind", "==", "k_Memory", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["MINA32"], "File": "MINA32AsmParser", "Func": "isMem", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17104, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"TeeRISC Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["TeeRISC", "\"TeeRISC Assembly Printer\""], "File": "TeeRISCAsmPrinter", "Func": "getPassName", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17105, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "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": ["Mips", "Mips"], "File": "MipsFrameLowering37", "Func": "hasFP", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17106, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ")", "{", "if", "(", "!", "ST", "->", "isMClass", "(", ")", ")", "return", "BasicTTIImplBase", "::", "getUnrollingPreferences", "(", "L", ",", "SE", ",", "UP", ")", ";", "UP", ".", "OptSizeThreshold", "=", "0", ";", "UP", ".", "PartialOptSizeThreshold", "=", "0", ";", "if", "(", "L", "->", "getHeader", "(", ")", "->", "getParent", "(", ")", "->", "optForSize", "(", ")", ")", "return", ";", "if", "(", "!", "ST", "->", "isThumb2", "(", ")", ")", "return", ";", "SmallVector", "<", "BasicBlock", "*", ",", "4", ">", "ExitingBlocks", ";", "L", "->", "getExitingBlocks", "(", "ExitingBlocks", ")", ";", "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", ";", "unsigned", "Cost", "=", "0", ";", "for", "(", "auto", "*", "BB", ":", "L", "->", "getBlocks", "(", ")", ")", "{", "for", "(", "auto", "&", "I", ":", "*", "BB", ")", "{", "if", "(", "isa", "<", "CallInst", ">", "(", "I", ")", "||", "isa", "<", "InvokeInst", ">", "(", "I", ")", ")", "{", "ImmutableCallSite", "CS", "(", "&", "I", ")", ";", "if", "(", "const", "Function", "*", "F", "=", "CS", ".", "getCalledFunction", "(", ")", ")", "{", "if", "(", "!", "isLoweredToCall", "(", "F", ")", ")", "continue", ";", "}", "return", ";", "}", "SmallVector", "<", "const", "Value", "*", ",", "4", ">", "Operands", "(", "I", ".", "value_op_begin", "(", ")", ",", "I", ".", "value_op_end", "(", ")", ")", ";", "Cost", "+=", "getUserCost", "(", "&", "I", ",", "Operands", ")", ";", "}", "}", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Cost of loop: \"", "<<", "Cost", "<<", "\"\\n\"", ")", ";", "UP", ".", "Partial", "=", "true", ";", "UP", ".", "Runtime", "=", "true", ";", "UP", ".", "UnrollRemainder", "=", "true", ";", "UP", ".", "DefaultUnrollRuntimeCount", "=", "4", ";", "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", "0", "4", "\"Cost of loop: \"", "\"\\n\"", "4", "12"], "File": "ARMTargetTransformInfo15", "Func": "getUnrollingPreferences", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17107, "Length": 324, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", ")", "{", "tree", "type", ",", "decl_or_type", ";", "rtx", "a", ",", "b", ";", "bool", "bind_global", "=", "decl", "&&", "!", "targetm", ".", "binds_local_p", "(", "decl", ")", ";", "if", "(", "ix86_function_naked", "(", "current_function_decl", ")", ")", "return", "false", ";", "if", "(", "cfun", "->", "machine", "->", "no_caller_saved_registers", ")", "return", "false", ";", "if", "(", "!", "TARGET_MACHO", "&&", "!", "TARGET_64BIT", "&&", "flag_pic", "&&", "flag_plt", "&&", "bind_global", ")", "return", "false", ";", "if", "(", "ix86_minimum_incoming_stack_boundary", "(", "true", ")", "<", "PREFERRED_STACK_BOUNDARY", ")", "return", "false", ";", "if", "(", "decl", ")", "{", "decl_or_type", "=", "decl", ";", "type", "=", "TREE_TYPE", "(", "decl", ")", ";", "}", "else", "{", "type", "=", "CALL_EXPR_FN", "(", "exp", ")", ";", "type", "=", "TREE_TYPE", "(", "type", ")", ";", "type", "=", "TREE_TYPE", "(", "type", ")", ";", "decl_or_type", "=", "type", ";", "}", "if", "(", "(", "OUTGOING_REG_PARM_STACK_SPACE", "(", "type", ")", "!=", "OUTGOING_REG_PARM_STACK_SPACE", "(", "TREE_TYPE", "(", "current_function_decl", ")", ")", ")", "||", "(", "REG_PARM_STACK_SPACE", "(", "decl_or_type", ")", "!=", "REG_PARM_STACK_SPACE", "(", "current_function_decl", ")", ")", ")", "{", "maybe_complain_about_tail_call", "(", "exp", ",", "\"inconsistent size of stack space\"", "\" allocated for arguments which are\"", "\" passed in registers\"", ")", ";", "return", "false", ";", "}", "a", "=", "ix86_function_value", "(", "TREE_TYPE", "(", "exp", ")", ",", "decl_or_type", ",", "false", ")", ";", "b", "=", "ix86_function_value", "(", "TREE_TYPE", "(", "DECL_RESULT", "(", "cfun", "->", "decl", ")", ")", ",", "cfun", "->", "decl", ",", "false", ")", ";", "if", "(", "STACK_REG_P", "(", "a", ")", "||", "STACK_REG_P", "(", "b", ")", ")", "{", "if", "(", "!", "rtx_equal_p", "(", "a", ",", "b", ")", ")", "return", "false", ";", "}", "else", "if", "(", "VOID_TYPE_P", "(", "TREE_TYPE", "(", "DECL_RESULT", "(", "cfun", "->", "decl", ")", ")", ")", ")", ";", "else", "if", "(", "!", "rtx_equal_p", "(", "a", ",", "b", ")", ")", "return", "false", ";", "if", "(", "TARGET_64BIT", ")", "{", "if", "(", "cfun", "->", "machine", "->", "call_abi", "==", "MS_ABI", "&&", "ix86_function_type_abi", "(", "type", ")", "==", "SYSV_ABI", ")", "return", "false", ";", "}", "else", "{", "if", "(", "!", "decl", "||", "(", "bind_global", "&&", "flag_pic", "&&", "!", "flag_plt", ")", "||", "(", "TARGET_DLLIMPORT_DECL_ATTRIBUTES", "&&", "DECL_DLLIMPORT_P", "(", "decl", ")", ")", "||", "flag_force_indirect_call", ")", "{", "if", "(", "ix86_function_regparm", "(", "type", ",", "decl", ")", ">=", "3", "&&", "!", "cfun", "->", "machine", "->", "arg_reg_available", ")", "return", "false", ";", "}", "}", "if", "(", "decl", "&&", "ix86_use_pseudo_pic_reg", "(", ")", ")", "{", "cgraph_node", "*", "node", "=", "cgraph_node", "::", "get", "(", "decl", ")", ";", "if", "(", "node", "&&", "node", "->", "ifunc_resolver", ")", "return", "false", ";", "}", "if", "(", "(", "(", "flag_cf_protection", "&", "(", "CF_RETURN", "|", "CF_BRANCH", ")", ")", "==", "(", "CF_RETURN", "|", "CF_BRANCH", ")", ")", "&&", "lookup_attribute", "(", "\"indirect_return\"", ",", "TYPE_ATTRIBUTES", "(", "type", ")", ")", "&&", "!", "lookup_attribute", "(", "\"indirect_return\"", ",", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "cfun", "->", "decl", ")", ")", ")", ")", "return", "false", ";", "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": ["i386", "\"inconsistent size of stack space\"", "\" allocated for arguments which are\"", "\" passed in registers\"", "3", "\"indirect_return\"", "\"indirect_return\""], "File": "i3861", "Func": "ix86_function_ok_for_sibcall", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17108, "Length": 427, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "assert", "(", "MBBI", "->", "isReturn", "(", ")", "&&", "\"Can only insert epilog into returning blocks\"", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "AArch64InstrInfo", "*", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "const", "AArch64RegisterInfo", "*", "RegInfo", "=", "static_cast", "<", "const", "AArch64RegisterInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "RetOpcode", "=", "MBBI", "->", "getOpcode", "(", ")", ";", "int", "NumBytes", "=", "MFI", "->", "getStackSize", "(", ")", ";", "const", "AArch64FunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "uint64_t", "ArgumentPopSize", "=", "0", ";", "if", "(", "RetOpcode", "==", "AArch64", "::", "TCRETURNdi", "||", "RetOpcode", "==", "AArch64", "::", "TCRETURNri", ")", "{", "MachineOperand", "&", "StackAdjust", "=", "MBBI", "->", "getOperand", "(", "1", ")", ";", "ArgumentPopSize", "=", "StackAdjust", ".", "getImm", "(", ")", ";", "}", "else", "{", "ArgumentPopSize", "=", "AFI", "->", "getArgumentStackToRestore", "(", ")", ";", "}", "NumBytes", "+=", "ArgumentPopSize", ";", "unsigned", "NumRestores", "=", "0", ";", "MachineBasicBlock", "::", "iterator", "LastPopI", "=", "MBBI", ";", "const", "MCPhysReg", "*", "CSRegs", "=", "RegInfo", "->", "getCalleeSavedRegs", "(", "&", "MF", ")", ";", "if", "(", "LastPopI", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "do", "{", "++", "NumRestores", ";", "--", "LastPopI", ";", "}", "while", "(", "LastPopI", "!=", "MBB", ".", "begin", "(", ")", "&&", "isCSRestore", "(", "LastPopI", ",", "CSRegs", ")", ")", ";", "if", "(", "!", "isCSRestore", "(", "LastPopI", ",", "CSRegs", ")", ")", "{", "++", "LastPopI", ";", "--", "NumRestores", ";", "}", "}", "NumBytes", "-=", "NumRestores", "*", "16", ";", "assert", "(", "NumBytes", ">=", "0", "&&", "\"Negative stack allocation size!?\"", ")", ";", "if", "(", "!", "hasFP", "(", "MF", ")", ")", "{", "if", "(", "!", "canUseRedZone", "(", "MF", ")", ")", "emitFrameOffset", "(", "MBB", ",", "LastPopI", ",", "DL", ",", "AArch64", "::", "SP", ",", "AArch64", "::", "SP", ",", "NumBytes", ",", "TII", ")", ";", "return", ";", "}", "if", "(", "NumBytes", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", ")", "emitFrameOffset", "(", "MBB", ",", "LastPopI", ",", "DL", ",", "AArch64", "::", "SP", ",", "AArch64", "::", "FP", ",", "-", "(", "NumRestores", "-", "1", ")", "*", "16", ",", "TII", ",", "MachineInstr", "::", "NoFlags", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["AArch64", "AArch64", "\"Can only insert epilog into returning blocks\"", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "0", "AArch64::TCRETURNdi", "AArch64::TCRETURNri", "1", "0", "16", "0", "\"Negative stack allocation size!?\"", "AArch64::SP", "AArch64::SP", "AArch64::SP", "AArch64::FP", "1", "16"], "File": "AArch64FrameLowering34", "Func": "emitEpilogue", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17109, "Length": 370, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_function_specific_print", "(", "FILE", "*", "file", ",", "int", "indent", ",", "struct", "cl_target_option", "*", "ptr", ")", "{", "rs6000_print_isa_options", "(", "file", ",", "indent", ",", "\"Isa options set\"", ",", "ptr", "->", "x_rs6000_isa_flags", ")", ";", "rs6000_print_isa_options", "(", "file", ",", "indent", ",", "\"Isa options explicit\"", ",", "ptr", "->", "x_rs6000_isa_flags_explicit", ")", ";", "}", ""], "natrual_language": ["Print", "the", "current", "options"], "TS_V_token": ["rs6000", "\"Isa options set\"", "\"Isa options explicit\""], "File": "rs6000", "Func": "rs6000_function_specific_print", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17110, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCodeEmitter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "assert", "(", "(", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Default", "||", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Static", ")", "&&", "\"JIT relocation model must be set to static or default!\"", ")", ";", "JTI", "=", "(", "(", "ARMTargetMachine", "&", ")", "MF", ".", "getTarget", "(", ")", ")", ".", "getJITInfo", "(", ")", ";", "II", "=", "(", "(", "const", "ARMTargetMachine", "&", ")", "MF", ".", "getTarget", "(", ")", ")", ".", "getInstrInfo", "(", ")", ";", "TD", "=", "(", "(", "const", "ARMTargetMachine", "&", ")", "MF", ".", "getTarget", "(", ")", ")", ".", "getTargetData", "(", ")", ";", "Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "MCPEs", "=", "&", "MF", ".", "getConstantPool", "(", ")", "->", "getConstants", "(", ")", ";", "MJTEs", "=", "0", ";", "if", "(", "MF", ".", "getJumpTableInfo", "(", ")", ")", "MJTEs", "=", "&", "MF", ".", "getJumpTableInfo", "(", ")", "->", "getJumpTables", "(", ")", ";", "IsPIC", "=", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ";", "IsThumb", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", "->", "isThumbFunction", "(", ")", ";", "JTI", "->", "Initialize", "(", "MF", ",", "IsPIC", ")", ";", "MMI", "=", "&", "getAnalysis", "<", "MachineModuleInfo", ">", "(", ")", ";", "MCE", ".", "setModuleInfo", "(", "MMI", ")", ";", "do", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"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", "::", "iterator", "I", "=", "MBB", "->", "begin", "(", ")", ",", "E", "=", "MBB", "->", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "emitInstruction", "(", "*", "I", ")", ";", "}", "}", "while", "(", "MCE", ".", "finishFunction", "(", "MF", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "\"JIT relocation model must be set to static or default!\"", "ARM", "ARM", "ARM", "ARM", "0", "ARM", "\"JITTing function '\"", "\"'\\n\""], "File": "ARMCodeEmitter17", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17111, "Length": 320, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "section", "*", "ia64_select_rtx_section", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "unsigned", "HOST_WIDE_INT", "align", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "0", "&&", "GET_MODE_SIZE", "(", "mode", ")", "<=", "ia64_section_threshold", "&&", "!", "TARGET_NO_SDATA", ")", "return", "sdata_section", ";", "else", "return", "default_elf_select_rtx_section", "(", "mode", ",", "x", ",", "align", ")", ";", "}", ""], "natrual_language": ["Switch", "to", "the", "section", "to", "which", "we", "should", "output", "X", ".", "The", "only", "thing", "special", "we", "do", "here", "is", "to", "honor", "small", "data", "."], "TS_V_token": ["ia64", "0"], "File": "ia64", "Func": "ia64_select_rtx_section", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17112, "Length": 50, "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": 17113, "Length": 162, "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", ";", "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": "ARMBaseInstrInfo1", "Func": "expandPostRAPseudo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17114, "Length": 426, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "X86TargetLowering", "::", "getPICJumpTableRelocBase", "(", "SDValue", "Table", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "usesGlobalOffsetTable", "(", ")", ")", "return", "DAG", ".", "getGLOBAL_OFFSET_TABLE", "(", "getPointerTy", "(", ")", ")", ";", "if", "(", "!", "Subtarget", "->", "isPICStyleRIPRel", "(", ")", ")", "return", "DAG", ".", "getNode", "(", "X86ISD", "::", "GlobalBaseReg", ",", "DebugLoc", "::", "getUnknownLoc", "(", ")", ",", "getPointerTy", "(", ")", ")", ";", "return", "Table", ";", "}", ""], "natrual_language": ["Returns", "relocation", "base", "for", "the", "given", "PIC", "jumptable", "."], "TS_V_token": ["X86", "X86", "X86ISD::GlobalBaseReg"], "File": "X86ISelLowering160", "Func": "getPICJumpTableRelocBase", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17115, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "darwin_local_data_pic", "(", "rtx", "disp", ")", "{", "return", "(", "GET_CODE", "(", "disp", ")", "==", "UNSPEC", "&&", "XINT", "(", "disp", ",", "1", ")", "==", "UNSPEC_MACHOPIC_OFFSET", ")", ";", "}", ""], "natrual_language": ["Allow", "{", "LABEL", "|", "SYMBOL", "}", "_REF", "-", "SYMBOL_REF-FOR-PICBASE", "for", "Mach-O", "as", "this", "is", "used", "for", "to", "form", "addresses", "to", "local", "data", "when", "-fPIC", "is", "in", "use", "."], "TS_V_token": ["i386", "1"], "File": "i386", "Func": "darwin_local_data_pic", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17116, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "isFMAFasterThanFMulAndFAdd", "(", "EVT", "VT", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "an", "FMA", "operation", "is", "faster", "than", "a", "pair", "of", "fmul", "and", "fadd", "instructions", "."], "TS_V_token": ["ARM"], "File": "ARMISelLowering101", "Func": "isFMAFasterThanFMulAndFAdd", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17117, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "MipsDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "unsigned", "GlobalBaseReg", "=", "MF", "->", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", "->", "getGlobalBaseReg", "(", ")", ";", "return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "getTargetLowering", "(", ")", "->", "getPointerTy", "(", "CurDAG", "->", "getDataLayout", "(", ")", ")", ")", ".", "getNode", "(", ")", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsISelDAGToDAG (2)", "Func": "getGlobalBaseReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17118, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ix86_omp_device_kind_arch_isa", "(", "enum", "omp_device_kind_arch_isa", "trait", ",", "const", "char", "*", "name", ")", "{", "switch", "(", "trait", ")", "{", "case", "omp_device_kind", ":", "return", "strcmp", "(", "name", ",", "\"cpu\"", ")", "==", "0", ";", "case", "omp_device_arch", ":", "if", "(", "strcmp", "(", "name", ",", "\"intel_mic\"", ")", "==", "0", ")", "return", "1", ";", "if", "(", "strcmp", "(", "name", ",", "\"x86\"", ")", "==", "0", ")", "return", "1", ";", "if", "(", "TARGET_64BIT", ")", "{", "if", "(", "TARGET_X32", ")", "return", "strcmp", "(", "name", ",", "\"x32\"", ")", "==", "0", ";", "else", "return", "strcmp", "(", "name", ",", "\"x86_64\"", ")", "==", "0", ";", "}", "if", "(", "strcmp", "(", "name", ",", "\"ia32\"", ")", "==", "0", "||", "strcmp", "(", "name", ",", "\"i386\"", ")", "==", "0", ")", "return", "1", ";", "if", "(", "strcmp", "(", "name", ",", "\"i486\"", ")", "==", "0", ")", "return", "ix86_arch", "!=", "PROCESSOR_I386", "?", "1", ":", "-", "1", ";", "if", "(", "strcmp", "(", "name", ",", "\"i586\"", ")", "==", "0", ")", "return", "(", "ix86_arch", "!=", "PROCESSOR_I386", "&&", "ix86_arch", "!=", "PROCESSOR_I486", ")", "?", "1", ":", "-", "1", ";", "if", "(", "strcmp", "(", "name", ",", "\"i686\"", ")", "==", "0", ")", "return", "(", "ix86_arch", "!=", "PROCESSOR_I386", "&&", "ix86_arch", "!=", "PROCESSOR_I486", "&&", "ix86_arch", "!=", "PROCESSOR_LAKEMONT", "&&", "ix86_arch", "!=", "PROCESSOR_PENTIUM", ")", "?", "1", ":", "-", "1", ";", "return", "0", ";", "case", "omp_device_isa", ":", "for", "(", "int", "i", "=", "0", ";", "i", "<", "2", ";", "i", "++", ")", "{", "struct", "ix86_target_opts", "*", "opts", "=", "i", "?", "isa2_opts", ":", "isa_opts", ";", "size_t", "nopts", "=", "i", "?", "ARRAY_SIZE", "(", "isa2_opts", ")", ":", "ARRAY_SIZE", "(", "isa_opts", ")", ";", "HOST_WIDE_INT", "mask", "=", "i", "?", "ix86_isa_flags2", ":", "ix86_isa_flags", ";", "for", "(", "size_t", "n", "=", "0", ";", "n", "<", "nopts", ";", "n", "++", ")", "{", "if", "(", "opts", "[", "n", "]", ".", "mask", "==", "OPTION_MASK_ISA_SSE4_2", ")", "{", "if", "(", "strcmp", "(", "name", ",", "\"sse4\"", ")", "==", "0", ")", "return", "(", "mask", "&", "opts", "[", "n", "]", ".", "mask", ")", "!=", "0", "?", "1", ":", "-", "1", ";", "}", "if", "(", "strcmp", "(", "name", ",", "opts", "[", "n", "]", ".", "option", "+", "2", ")", "==", "0", ")", "return", "(", "mask", "&", "opts", "[", "n", "]", ".", "mask", ")", "!=", "0", "?", "1", ":", "-", "1", ";", "}", "}", "return", "0", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "1", "if", "TRAIT", "NAME", "is", "present", "in", "the", "OpenMP", "context", "'s", "device", "trait", "set", ",", "return", "0", "if", "not", "present", "in", "any", "OpenMP", "context", "in", "the", "whole", "translation", "unit", ",", "or", "-1", "if", "not", "present", "in", "the", "current", "OpenMP", "context", "but", "might", "be", "present", "in", "another", "OpenMP", "context", "in", "the", "same", "TU", "."], "TS_V_token": ["i386", "\"cpu\"", "0", "\"intel_mic\"", "0", "1", "\"x86\"", "0", "1", "\"x32\"", "0", "\"x86_64\"", "0", "\"ia32\"", "0", "\"i386\"", "0", "1", "\"i486\"", "0", "1", "1", "\"i586\"", "0", "1", "1", "\"i686\"", "0", "1", "1", "0", "0", "2", "0", "\"sse4\"", "0", "0", "1", "1", "2", "0", "0", "1", "1", "0"], "File": "i386-options", "Func": "ix86_omp_device_kind_arch_isa", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17119, "Length": 363, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsInstrInfo", "::", "HasLoadDelaySlot", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "Mips", "::", "LB", ":", "case", "Mips", "::", "LBu", ":", "case", "Mips", "::", "LH", ":", "case", "Mips", "::", "LHu", ":", "case", "Mips", "::", "LW", ":", "case", "Mips", "::", "LWR", ":", "case", "Mips", "::", "LWL", ":", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Predicate", "to", "determine", "if", "an", "instruction", "has", "a", "load", "delay", "slot", "."], "TS_V_token": ["Mips", "Mips", "Mips::LB", "Mips::LBu", "Mips::LH", "Mips::LHu", "Mips::LW", "Mips::LWR", "Mips::LWL"], "File": "MipsInstrInfo29", "Func": "HasLoadDelaySlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17120, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCFrameLowering", "::", "enableShrinkWrapping", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "MF", ".", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", "->", "shrinkWrapDisabled", "(", ")", ")", "return", "false", ";", "return", "(", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "isSVR4ABI", "(", ")", "&&", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "isPPC64", "(", ")", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "will", "correctly", "handle", "shrink", "wrapping", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC"], "File": "PPCFrameLowering21", "Func": "enableShrinkWrapping", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17121, "Length": 60, "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", "::", "v32i16", "||", "VT", "==", "MVT", "::", "v64i8", ")", "&&", "!", "EnableOldKNLABI", "&&", "Subtarget", ".", "useAVX512Regs", "(", ")", "&&", "!", "Subtarget", ".", "hasBWI", "(", ")", ")", "return", "1", ";", "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::v32i16", "MVT::v64i8", "1"], "File": "X86ISelLowering130", "Func": "getNumRegistersForCallingConv", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17122, "Length": 137, "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": 17123, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetELFStreamer", "::", "finish", "(", ")", "{", "MCAssembler", "&", "MCA", "=", "getStreamer", "(", ")", ".", "getAssembler", "(", ")", ";", "const", "MCObjectFileInfo", "&", "OFI", "=", "*", "MCA", ".", "getContext", "(", ")", ".", "getObjectFileInfo", "(", ")", ";", "MCSection", "&", "TextSection", "=", "*", "OFI", ".", "getTextSection", "(", ")", ";", "MCA", ".", "registerSection", "(", "TextSection", ")", ";", "MCSection", "&", "DataSection", "=", "*", "OFI", ".", "getDataSection", "(", ")", ";", "MCA", ".", "registerSection", "(", "DataSection", ")", ";", "MCSection", "&", "BSSSection", "=", "*", "OFI", ".", "getBSSSection", "(", ")", ";", "MCA", ".", "registerSection", "(", "BSSSection", ")", ";", "TextSection", ".", "setAlignment", "(", "std", "::", "max", "(", "16u", ",", "TextSection", ".", "getAlignment", "(", ")", ")", ")", ";", "DataSection", ".", "setAlignment", "(", "std", "::", "max", "(", "16u", ",", "DataSection", ".", "getAlignment", "(", ")", ")", ")", ";", "BSSSection", ".", "setAlignment", "(", "std", "::", "max", "(", "16u", ",", "BSSSection", ".", "getAlignment", "(", ")", ")", ")", ";", "const", "FeatureBitset", "&", "Features", "=", "STI", ".", "getFeatureBits", "(", ")", ";", "unsigned", "EFlags", "=", "MCA", ".", "getELFHeaderEFlags", "(", ")", ";", "if", "(", "getABI", "(", ")", ".", "IsO32", "(", ")", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_ABI_O32", ";", "else", "if", "(", "getABI", "(", ")", ".", "IsN32", "(", ")", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_ABI2", ";", "if", "(", "Features", "[", "Mips", "::", "FeatureGP64Bit", "]", ")", "{", "if", "(", "getABI", "(", ")", ".", "IsO32", "(", ")", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_32BITMODE", ";", "}", "else", "if", "(", "Features", "[", "Mips", "::", "FeatureMips64r2", "]", "||", "Features", "[", "Mips", "::", "FeatureMips64", "]", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_32BITMODE", ";", "if", "(", "EFlags", "&", "ELF", "::", "EF_MIPS_CPIC", "&&", "getABI", "(", ")", ".", "IsN64", "(", ")", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_PIC", ";", "MCA", ".", "setELFHeaderEFlags", "(", "EFlags", ")", ";", "MipsELFStreamer", "&", "MEF", "=", "static_cast", "<", "MipsELFStreamer", "&", ">", "(", "Streamer", ")", ";", "MEF", ".", "EmitMipsOptionRecords", "(", ")", ";", "emitMipsAbiFlags", "(", ")", ";", "}", ""], "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": ["Mips", "Mips", "16u", "16u", "16u", "Mips::FeatureGP64Bit", "Mips::FeatureMips64r2", "Mips::FeatureMips64", "Mips", "Mips", "Mips", "Mips"], "File": "MipsTargetStreamer2", "Func": "finish", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17124, "Length": 299, "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", ";", "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_TRUNC", ":", "return", "selectTrunc", "(", "I", ",", "MRI", ",", "MF", ")", ";", "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", ")", ";", "}", "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": "X86InstructionSelector15", "Func": "select", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17125, "Length": 445, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TargetLowering", "::", "getByValTypeAlignment", "(", "Type", "*", "Ty", ",", "const", "DataLayout", "&", "DL", ")", "const", "{", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "{", "unsigned", "TyAlign", "=", "DL", ".", "getABITypeAlignment", "(", "Ty", ")", ";", "if", "(", "TyAlign", ">", "8", ")", "return", "TyAlign", ";", "return", "8", ";", "}", "unsigned", "Align", "=", "4", ";", "if", "(", "Subtarget", ".", "hasSSE1", "(", ")", ")", "getMaxByValAlign", "(", "Ty", ",", "Align", ")", ";", "return", "Align", ";", "}", ""], "natrual_language": ["Return", "the", "desired", "alignment", "for", "ByVal", "aggregate", "function", "arguments", "in", "the", "caller", "parameter", "area", "."], "TS_V_token": ["X86", "X86", "8", "8", "4"], "File": "X86ISelLowering (2)6", "Func": "getByValTypeAlignment", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17126, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "reg_encoded_number", "(", "rtx", "reg", ")", "{", "unsigned", "regno", "=", "REGNO", "(", "reg", ")", ";", "switch", "(", "regno", ")", "{", "case", "AX_REG", ":", "return", "0", ";", "case", "CX_REG", ":", "return", "1", ";", "case", "DX_REG", ":", "return", "2", ";", "case", "BX_REG", ":", "return", "3", ";", "case", "SP_REG", ":", "return", "4", ";", "case", "BP_REG", ":", "return", "5", ";", "case", "SI_REG", ":", "return", "6", ";", "case", "DI_REG", ":", "return", "7", ";", "default", ":", "break", ";", "}", "if", "(", "IN_RANGE", "(", "regno", ",", "FIRST_STACK_REG", ",", "LAST_STACK_REG", ")", ")", "return", "regno", "-", "FIRST_STACK_REG", ";", "if", "(", "IN_RANGE", "(", "regno", ",", "FIRST_SSE_REG", ",", "LAST_SSE_REG", ")", ")", "return", "regno", "-", "FIRST_SSE_REG", ";", "if", "(", "IN_RANGE", "(", "regno", ",", "FIRST_MMX_REG", ",", "LAST_MMX_REG", ")", ")", "return", "regno", "-", "FIRST_MMX_REG", ";", "if", "(", "IN_RANGE", "(", "regno", ",", "FIRST_REX_SSE_REG", ",", "LAST_REX_SSE_REG", ")", ")", "return", "regno", "-", "FIRST_REX_SSE_REG", ";", "if", "(", "IN_RANGE", "(", "regno", ",", "FIRST_REX_INT_REG", ",", "LAST_REX_INT_REG", ")", ")", "return", "regno", "-", "FIRST_REX_INT_REG", ";", "if", "(", "IN_RANGE", "(", "regno", ",", "FIRST_MASK_REG", ",", "LAST_MASK_REG", ")", ")", "return", "regno", "-", "FIRST_MASK_REG", ";", "if", "(", "IN_RANGE", "(", "regno", ",", "FIRST_BND_REG", ",", "LAST_BND_REG", ")", ")", "return", "regno", "-", "FIRST_BND_REG", ";", "return", "-", "1", ";", "}", ""], "natrual_language": ["Return", "the", "number", "used", "for", "encoding", "REG", ",", "in", "the", "range", "0", "..", "7", "."], "TS_V_token": ["i386", "0", "1", "2", "3", "4", "5", "6", "7", "1"], "File": "i3865", "Func": "reg_encoded_number", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17127, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ia64_expand_widen_sum", "(", "rtx", "operands", "[", "3", "]", ",", "bool", "unsignedp", ")", "{", "rtx", "l", ",", "h", ",", "x", ",", "s", ";", "enum", "machine_mode", "wmode", ",", "mode", ";", "rtx", "(", "*", "unpack_l", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "rtx", "(", "*", "unpack_h", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "rtx", "(", "*", "plus", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "wmode", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", ";", "mode", "=", "GET_MODE", "(", "operands", "[", "1", "]", ")", ";", "switch", "(", "mode", ")", "{", "case", "V8QImode", ":", "unpack_l", "=", "gen_unpack1_l", ";", "unpack_h", "=", "gen_unpack1_h", ";", "plus", "=", "gen_addv4hi3", ";", "break", ";", "case", "V4HImode", ":", "unpack_l", "=", "gen_unpack2_l", ";", "unpack_h", "=", "gen_unpack2_h", ";", "plus", "=", "gen_addv2si3", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "unsignedp", ")", "x", "=", "CONST0_RTX", "(", "mode", ")", ";", "else", "{", "bool", "neg", ";", "x", "=", "gen_reg_rtx", "(", "mode", ")", ";", "neg", "=", "ia64_expand_vecint_compare", "(", "LT", ",", "mode", ",", "x", ",", "operands", "[", "1", "]", ",", "CONST0_RTX", "(", "mode", ")", ")", ";", "gcc_assert", "(", "!", "neg", ")", ";", "}", "l", "=", "gen_reg_rtx", "(", "wmode", ")", ";", "h", "=", "gen_reg_rtx", "(", "wmode", ")", ";", "s", "=", "gen_reg_rtx", "(", "wmode", ")", ";", "emit_insn", "(", "unpack_l", "(", "gen_lowpart", "(", "mode", ",", "l", ")", ",", "operands", "[", "1", "]", ",", "x", ")", ")", ";", "emit_insn", "(", "unpack_h", "(", "gen_lowpart", "(", "mode", ",", "h", ")", ",", "operands", "[", "1", "]", ",", "x", ")", ")", ";", "emit_insn", "(", "plus", "(", "s", ",", "l", ",", "operands", "[", "2", "]", ")", ")", ";", "emit_insn", "(", "plus", "(", "operands", "[", "0", "]", ",", "h", ",", "s", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "integral", "vector", "widening", "sum", "operations", "."], "TS_V_token": ["ia64", "3", "0", "1", "1", "1", "1", "2", "0"], "File": "ia643", "Func": "ia64_expand_widen_sum", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17128, "Length": 276, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_expand_sse_cmp", "(", "rtx", "dest", ",", "enum", "rtx_code", "code", ",", "rtx", "cmp_op0", ",", "rtx", "cmp_op1", ",", "rtx", "op_true", ",", "rtx", "op_false", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "machine_mode", "cmp_ops_mode", "=", "GET_MODE", "(", "cmp_op0", ")", ";", "machine_mode", "cmp_mode", ";", "bool", "maskcmp", "=", "false", ";", "rtx", "x", ";", "if", "(", "GET_MODE_SIZE", "(", "cmp_ops_mode", ")", "==", "64", ")", "{", "cmp_mode", "=", "mode_for_size", "(", "GET_MODE_NUNITS", "(", "cmp_ops_mode", ")", ",", "MODE_INT", ",", "0", ")", ";", "gcc_assert", "(", "cmp_mode", "!=", "BLKmode", ")", ";", "maskcmp", "=", "true", ";", "}", "else", "cmp_mode", "=", "cmp_ops_mode", ";", "cmp_op0", "=", "force_reg", "(", "cmp_ops_mode", ",", "cmp_op0", ")", ";", "if", "(", "!", "nonimmediate_operand", "(", "cmp_op1", ",", "cmp_ops_mode", ")", ")", "cmp_op1", "=", "force_reg", "(", "cmp_ops_mode", ",", "cmp_op1", ")", ";", "if", "(", "optimize", "||", "(", "maskcmp", "&&", "cmp_mode", "!=", "mode", ")", "||", "(", "op_true", "&&", "reg_overlap_mentioned_p", "(", "dest", ",", "op_true", ")", ")", "||", "(", "op_false", "&&", "reg_overlap_mentioned_p", "(", "dest", ",", "op_false", ")", ")", ")", "dest", "=", "gen_reg_rtx", "(", "maskcmp", "?", "cmp_mode", ":", "mode", ")", ";", "if", "(", "maskcmp", "&&", "(", "code", "==", "GT", "||", "code", "==", "EQ", ")", ")", "{", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "switch", "(", "cmp_ops_mode", ")", "{", "case", "V64QImode", ":", "gcc_assert", "(", "TARGET_AVX512BW", ")", ";", "gen", "=", "code", "==", "GT", "?", "gen_avx512bw_gtv64qi3", ":", "gen_avx512bw_eqv64qi3_1", ";", "break", ";", "case", "V32HImode", ":", "gcc_assert", "(", "TARGET_AVX512BW", ")", ";", "gen", "=", "code", "==", "GT", "?", "gen_avx512bw_gtv32hi3", ":", "gen_avx512bw_eqv32hi3_1", ";", "break", ";", "case", "V16SImode", ":", "gen", "=", "code", "==", "GT", "?", "gen_avx512f_gtv16si3", ":", "gen_avx512f_eqv16si3_1", ";", "break", ";", "case", "V8DImode", ":", "gen", "=", "code", "==", "GT", "?", "gen_avx512f_gtv8di3", ":", "gen_avx512f_eqv8di3_1", ";", "break", ";", "default", ":", "gen", "=", "NULL", ";", "}", "if", "(", "gen", ")", "{", "emit_insn", "(", "gen", "(", "dest", ",", "cmp_op0", ",", "cmp_op1", ")", ")", ";", "return", "dest", ";", "}", "}", "x", "=", "gen_rtx_fmt_ee", "(", "code", ",", "cmp_mode", ",", "cmp_op0", ",", "cmp_op1", ")", ";", "if", "(", "cmp_mode", "!=", "mode", "&&", "!", "maskcmp", ")", "{", "x", "=", "force_reg", "(", "cmp_ops_mode", ",", "x", ")", ";", "convert_move", "(", "dest", ",", "x", ",", "false", ")", ";", "}", "else", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "x", ")", ")", ";", "return", "dest", ";", "}", ""], "natrual_language": ["Expand", "an", "sse", "vector", "comparison", ".", "Return", "the", "register", "with", "the", "result", "."], "TS_V_token": ["i386", "64", "0"], "File": "i3866", "Func": "ix86_expand_sse_cmp", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17129, "Length": 354, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_multipass_dfa_lookahead", "(", "void", ")", "{", "if", "(", "mips_tune", "==", "PROCESSOR_SB1", ")", "return", "4", ";", "return", "0", ";", "}", ""], "natrual_language": ["Implements", "TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD", ".", "This", "should", "be", "as", "wide", "as", "the", "scheduling", "freedom", "in", "the", "DFA", "."], "TS_V_token": ["mips", "4", "0"], "File": "mips3", "Func": "mips_multipass_dfa_lookahead", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17130, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "AND", ":", "return", "LowerANDOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BRCOND", ":", "return", "LowerBRCOND", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "CALL", ":", "return", "LowerCALL", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "LowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "LowerDYNAMIC_STACKALLOC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FORMAL_ARGUMENTS", ":", "return", "LowerFORMAL_ARGUMENTS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FP_TO_SINT", ":", "return", "LowerFP_TO_SINT", "(", "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", "::", "OR", ":", "return", "LowerANDOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RET", ":", "return", "LowerRET", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "LowerSELECT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SETCC", ":", "return", "LowerSETCC", "(", "Op", ",", "DAG", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Mips", "Mips", "ISD::AND", "ISD::BRCOND", "ISD::CALL", "ISD::ConstantPool", "ISD::DYNAMIC_STACKALLOC", "ISD::FORMAL_ARGUMENTS", "ISD::FP_TO_SINT", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::JumpTable", "ISD::OR", "ISD::RET", "ISD::SELECT", "ISD::SETCC"], "File": "MipsISelLowering35", "Func": "LowerOperation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17131, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsLongBranch", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "const", "MipsInstrInfo", "*", "TII", "=", "static_cast", "<", "const", "MipsInstrInfo", "*", ">", "(", "TM", ".", "getInstrInfo", "(", ")", ")", ";", "const", "MipsSubtarget", "&", "STI", "=", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "if", "(", "STI", ".", "inMips16Mode", "(", ")", "||", "!", "STI", ".", "enableLongBranchPass", "(", ")", ")", "return", "false", ";", "if", "(", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "&&", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "isABI_O32", "(", ")", "&&", "F", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", "->", "globalBaseRegSet", "(", ")", ")", "emitGPDisp", "(", "F", ",", "TII", ")", ";", "if", "(", "SkipLongBranch", ")", "return", "true", ";", "MF", "=", "&", "F", ";", "initMBBInfo", "(", ")", ";", "SmallVectorImpl", "<", "MBBInfo", ">", "::", "iterator", "I", ",", "E", "=", "MBBInfos", ".", "end", "(", ")", ";", "bool", "EverMadeChange", "=", "false", ",", "MadeChange", "=", "true", ";", "while", "(", "MadeChange", ")", "{", "MadeChange", "=", "false", ";", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "!", "I", "->", "Br", "||", "I", "->", "HasLongBranch", ")", "continue", ";", "int", "ShVal", "=", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "inMicroMipsMode", "(", ")", "?", "2", ":", "4", ";", "int64_t", "Offset", "=", "computeOffset", "(", "I", "->", "Br", ")", "/", "ShVal", ";", "if", "(", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "isTargetNaCl", "(", ")", ")", "{", "Offset", "*=", "2", ";", "}", "if", "(", "!", "ForceLongBranch", "&&", "isInt", "<", "16", ">", "(", "Offset", ")", ")", "continue", ";", "I", "->", "HasLongBranch", "=", "true", ";", "I", "->", "Size", "+=", "LongBranchSeqSize", "*", "4", ";", "++", "LongBranches", ";", "EverMadeChange", "=", "MadeChange", "=", "true", ";", "}", "}", "if", "(", "!", "EverMadeChange", ")", "return", "true", ";", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "{", "uint64_t", "Address", "=", "0", ";", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "Address", "+=", "I", "->", "Size", ",", "++", "I", ")", "I", "->", "Address", "=", "Address", ";", "}", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "if", "(", "I", "->", "HasLongBranch", ")", "expandToLongBranch", "(", "*", "I", ")", ";", "MF", "->", "RenumberBlocks", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "2", "4", "Mips", "2", "16", "4", "0"], "File": "MipsLongBranch12", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17132, "Length": 377, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCTargetLowering", "::", "LowerAsmOperandForConstraint", "(", "SDValue", "Op", ",", "char", "Letter", ",", "bool", "hasMemory", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "Ops", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDValue", "Result", "(", "0", ",", "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", ";", "unsigned", "Value", "=", "CST", "->", "getZExtValue", "(", ")", ";", "switch", "(", "Letter", ")", "{", "default", ":", "assert", "(", "0", "&&", "\"Unknown constraint letter!\"", ")", ";", "case", "'I'", ":", "if", "(", "(", "short", ")", "Value", "==", "(", "int", ")", "Value", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "case", "'J'", ":", "case", "'L'", ":", "if", "(", "(", "short", ")", "Value", "==", "0", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "case", "'K'", ":", "if", "(", "(", "Value", ">>", "16", ")", "==", "0", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "case", "'M'", ":", "if", "(", "Value", ">", "31", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "case", "'N'", ":", "if", "(", "(", "int", ")", "Value", ">", "0", "&&", "isPowerOf2_32", "(", "Value", ")", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "case", "'O'", ":", "if", "(", "Value", "==", "0", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "case", "'P'", ":", "if", "(", "(", "short", ")", "-", "Value", "==", "(", "int", ")", "-", "Value", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "}", "break", ";", "}", "}", "if", "(", "Result", ".", "getNode", "(", ")", ")", "{", "Ops", ".", "push_back", "(", "Result", ")", ";", "return", ";", "}", "TargetLowering", "::", "LowerAsmOperandForConstraint", "(", "Op", ",", "Letter", ",", "hasMemory", ",", "Ops", ",", "DAG", ")", ";", "}", ""], "natrual_language": ["Lower", "the", "specified", "operand", "into", "the", "Ops", "vector", "."], "TS_V_token": ["PowerPC", "PPC", "0", "0", "0", "\"Unknown constraint letter!\"", "0", "16", "0", "31", "0", "0"], "File": "PPCISelLowering123", "Func": "LowerAsmOperandForConstraint", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17133, "Length": 367, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "or1k_function_value_regno_p", "(", "const", "unsigned", "int", "regno", ")", "{", "return", "(", "regno", "==", "RV_REGNUM", ")", ";", "}", ""], "natrual_language": ["Worker", "for", "TARGET_FUNCTION_VALUE_REGNO_P", ".", "Returns", "true", "if", "REGNO", "is", "a", "valid", "register", "for", "storing", "a", "function", "return", "value", "."], "TS_V_token": ["or1k"], "File": "or1k", "Func": "or1k_function_value_regno_p", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17134, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TOYInstPrinter", "::", "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": ["TOY", "TOY"], "File": "TOYInstPrinter1", "Func": "printInst", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17135, "Length": 38, "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": 17136, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_simd_emit_reg_reg_move", "(", "rtx", "*", "operands", ",", "machine_mode", "mode", ",", "unsigned", "int", "count", ")", "{", "unsigned", "int", "i", ";", "int", "rdest", "=", "REGNO", "(", "operands", "[", "0", "]", ")", ";", "int", "rsrc", "=", "REGNO", "(", "operands", "[", "1", "]", ")", ";", "if", "(", "!", "reg_overlap_mentioned_p", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ")", "||", "rdest", "<", "rsrc", ")", "for", "(", "i", "=", "0", ";", "i", "<", "count", ";", "i", "++", ")", "emit_move_insn", "(", "gen_rtx_REG", "(", "mode", ",", "rdest", "+", "i", ")", ",", "gen_rtx_REG", "(", "mode", ",", "rsrc", "+", "i", ")", ")", ";", "else", "for", "(", "i", "=", "0", ";", "i", "<", "count", ";", "i", "++", ")", "emit_move_insn", "(", "gen_rtx_REG", "(", "mode", ",", "rdest", "+", "count", "-", "i", "-", "1", ")", ",", "gen_rtx_REG", "(", "mode", ",", "rsrc", "+", "count", "-", "i", "-", "1", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "register", "copy", "from", "operand", "to", "operand", ",", "taking", "care", "not", "to", "early-clobber", "source", "registers", "in", "the", "process", ".", "COUNT", "is", "the", "number", "of", "components", "into", "which", "the", "copy", "needs", "to", "be", "decomposed", "."], "TS_V_token": ["aarch64", "0", "1", "0", "1", "0", "0", "1", "1"], "File": "aarch64", "Func": "aarch64_simd_emit_reg_reg_move", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17137, "Length": 139, "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": "aarch64", "Func": "aarch64_parse_one_option_token", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17138, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "ix86_expand_adjust_ufix_to_sfix_si", "(", "rtx", "val", ",", "rtx", "*", "xorp", ")", "{", "REAL_VALUE_TYPE", "TWO31r", ";", "rtx", "two31r", ",", "tmp", "[", "4", "]", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "val", ")", ";", "machine_mode", "scalarmode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "machine_mode", "intmode", "=", "GET_MODE_SIZE", "(", "mode", ")", "==", "32", "?", "V8SImode", ":", "V4SImode", ";", "rtx", "(", "*", "cmp", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "3", ";", "i", "++", ")", "tmp", "[", "i", "]", "=", "gen_reg_rtx", "(", "mode", ")", ";", "real_ldexp", "(", "&", "TWO31r", ",", "&", "dconst1", ",", "31", ")", ";", "two31r", "=", "const_double_from_real_value", "(", "TWO31r", ",", "scalarmode", ")", ";", "two31r", "=", "ix86_build_const_vector", "(", "mode", ",", "1", ",", "two31r", ")", ";", "two31r", "=", "force_reg", "(", "mode", ",", "two31r", ")", ";", "switch", "(", "mode", ")", "{", "case", "E_V8SFmode", ":", "cmp", "=", "gen_avx_maskcmpv8sf3", ";", "break", ";", "case", "E_V4SFmode", ":", "cmp", "=", "gen_sse_maskcmpv4sf3", ";", "break", ";", "case", "E_V4DFmode", ":", "cmp", "=", "gen_avx_maskcmpv4df3", ";", "break", ";", "case", "E_V2DFmode", ":", "cmp", "=", "gen_sse2_maskcmpv2df3", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "tmp", "[", "3", "]", "=", "gen_rtx_LE", "(", "mode", ",", "two31r", ",", "val", ")", ";", "emit_insn", "(", "cmp", "(", "tmp", "[", "0", "]", ",", "two31r", ",", "val", ",", "tmp", "[", "3", "]", ")", ")", ";", "tmp", "[", "1", "]", "=", "expand_simple_binop", "(", "mode", ",", "AND", ",", "tmp", "[", "0", "]", ",", "two31r", ",", "tmp", "[", "1", "]", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "if", "(", "intmode", "==", "V4SImode", "||", "TARGET_AVX2", ")", "*", "xorp", "=", "expand_simple_binop", "(", "intmode", ",", "ASHIFT", ",", "gen_lowpart", "(", "intmode", ",", "tmp", "[", "0", "]", ")", ",", "GEN_INT", "(", "31", ")", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "else", "{", "rtx", "two31", "=", "GEN_INT", "(", "HOST_WIDE_INT_1U", "<<", "31", ")", ";", "two31", "=", "ix86_build_const_vector", "(", "intmode", ",", "1", ",", "two31", ")", ";", "*", "xorp", "=", "expand_simple_binop", "(", "intmode", ",", "AND", ",", "gen_lowpart", "(", "intmode", ",", "tmp", "[", "0", "]", ")", ",", "two31", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "}", "return", "expand_simple_binop", "(", "mode", ",", "MINUS", ",", "val", ",", "tmp", "[", "1", "]", ",", "tmp", "[", "2", "]", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "}", ""], "natrual_language": ["Adjust", "a", "V", "*", "SFmode/V", "*", "DFmode", "value", "VAL", "so", "that", "*", "sfix_trunc", "*", "resp", ".", "fix_trunc", "*", "pattern", "can", "be", "used", "on", "it", "instead", "of", "fixuns_trunc", "*", ".", "This", "is", "done", "by", "doing", "just", "signed", "conversion", "if", "<", "0x1p31", ",", "and", "otherwise", "by", "subtracting", "0x1p31", "first", "and", "xoring", "in", "0x80000000", "from", "*", "XORP", "afterwards", "."], "TS_V_token": ["i386", "4", "32", "0", "3", "31", "1", "3", "0", "3", "1", "0", "1", "0", "0", "31", "0", "31", "1", "0", "0", "1", "2", "0"], "File": "i3867", "Func": "ix86_expand_adjust_ufix_to_sfix_si", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17139, "Length": 359, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CompressJumpTables", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MFIn", ")", "{", "bool", "Changed", "=", "false", ";", "MF", "=", "&", "MFIn", ";", "const", "auto", "&", "ST", "=", "MF", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "if", "(", "ST", ".", "force32BitJumpTables", "(", ")", "&&", "!", "MF", "->", "getFunction", "(", ")", ".", "hasMinSize", "(", ")", ")", "return", "false", ";", "scanFunction", "(", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "*", "MF", ")", "{", "int", "Offset", "=", "BlockInfo", "[", "MBB", ".", "getNumber", "(", ")", "]", ";", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "{", "Changed", "|=", "compressJumpTable", "(", "MI", ",", "Offset", ")", ";", "Offset", "+=", "TII", "->", "getInstSizeInBytes", "(", "MI", ")", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64CompressJumpTables4", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17140, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "bundle_state", "*", "get_free_bundle_state", "(", "void", ")", "{", "struct", "bundle_state", "*", "result", ";", "if", "(", "free_bundle_state_chain", "!=", "NULL", ")", "{", "result", "=", "free_bundle_state_chain", ";", "free_bundle_state_chain", "=", "result", "->", "next", ";", "}", "else", "{", "result", "=", "XNEW", "(", "struct", "bundle_state", ")", ";", "result", "->", "dfa_state", "=", "xmalloc", "(", "dfa_state_size", ")", ";", "result", "->", "allocated_states_chain", "=", "allocated_bundle_states_chain", ";", "allocated_bundle_states_chain", "=", "result", ";", "}", "result", "->", "unique_num", "=", "bundle_states_num", "++", ";", "return", "result", ";", "}", ""], "natrual_language": ["The", "following", "function", "returns", "a", "free", "bundle", "state", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "get_free_bundle_state", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17141, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "resolve_vec_cmpne", "(", "resolution", "*", "res", ",", "tree", "*", "args", ",", "tree", "*", "types", ",", "location_t", "loc", ")", "{", "if", "(", "TREE_CODE", "(", "types", "[", "0", "]", ")", "!=", "VECTOR_TYPE", "||", "!", "lang_hooks", ".", "types_compatible_p", "(", "types", "[", "0", "]", ",", "types", "[", "1", "]", ")", ")", "{", "*", "res", "=", "resolved_bad", ";", "return", "error_mark_node", ";", "}", "machine_mode", "arg0_elt_mode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "types", "[", "0", "]", ")", ")", ";", "if", "(", "!", "TARGET_P9_VECTOR", "||", "arg0_elt_mode", "==", "DImode", "||", "arg0_elt_mode", "==", "TImode", "||", "arg0_elt_mode", "==", "SFmode", "||", "arg0_elt_mode", "==", "DFmode", ")", "{", "switch", "(", "arg0_elt_mode", ")", "{", "case", "E_QImode", ":", "case", "E_HImode", ":", "case", "E_SImode", ":", "case", "E_DImode", ":", "case", "E_TImode", ":", "case", "E_SFmode", ":", "case", "E_DFmode", ":", "{", "vec", "<", "tree", ",", "va_gc", ">", "*", "params", "=", "make_tree_vector", "(", ")", ";", "vec_safe_push", "(", "params", ",", "args", "[", "0", "]", ")", ";", "vec_safe_push", "(", "params", ",", "args", "[", "1", "]", ")", ";", "tree", "decl", "=", "rs6000_builtin_decls", "[", "RS6000_OVLD_VEC_CMPEQ", "]", ";", "tree", "call", "=", "altivec_resolve_overloaded_builtin", "(", "loc", ",", "decl", ",", "params", ")", ";", "call", "=", "save_expr", "(", "call", ")", ";", "params", "=", "make_tree_vector", "(", ")", ";", "vec_safe_push", "(", "params", ",", "call", ")", ";", "vec_safe_push", "(", "params", ",", "call", ")", ";", "decl", "=", "rs6000_builtin_decls", "[", "RS6000_OVLD_VEC_NOR", "]", ";", "*", "res", "=", "resolved", ";", "return", "altivec_resolve_overloaded_builtin", "(", "loc", ",", "decl", ",", "params", ")", ";", "}", "default", ":", "*", "res", "=", "resolved_bad", ";", "return", "error_mark_node", ";", "}", "}", "*", "res", "=", "unresolved", ";", "return", "error_mark_node", ";", "}", ""], "natrual_language": ["Resolve", "an", "overloaded", "vec_cmpne", "call", "and", "return", "a", "tree", "expression", "for", "the", "resolved", "call", "if", "successful", ".", "ARGS", "contains", "the", "arguments", "to", "the", "call", ".", "TYPES", "contains", "their", "types", ".", "RES", "must", "be", "set", "to", "indicate", "the", "status", "of", "the", "resolution", "attempt", ".", "LOC", "contains", "statement", "location", "information", "."], "TS_V_token": ["rs6000", "0", "0", "1", "0", "0", "1"], "File": "rs6000-c", "Func": "resolve_vec_cmpne", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17142, "Length": 245, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sh_setup_incoming_varargs", "(", "cumulative_args_t", "ca", ",", "const", "function_arg_info", "&", "arg", ",", "int", "*", "pretend_arg_size", ",", "int", "second_time", "ATTRIBUTE_UNUSED", ")", "{", "gcc_assert", "(", "cfun", "->", "stdarg", ")", ";", "if", "(", "TARGET_VARARGS_PRETEND_ARGS", "(", "current_function_decl", ")", ")", "{", "int", "named_parm_regs", ",", "anon_parm_regs", ";", "named_parm_regs", "=", "(", "sh_round_reg", "(", "*", "get_cumulative_args", "(", "ca", ")", ",", "arg", ".", "mode", ")", "+", "CEIL", "(", "arg", ".", "promoted_size_in_bytes", "(", ")", ",", "UNITS_PER_WORD", ")", ")", ";", "anon_parm_regs", "=", "NPARM_REGS", "(", "SImode", ")", "-", "named_parm_regs", ";", "if", "(", "anon_parm_regs", ">", "0", ")", "*", "pretend_arg_size", "=", "anon_parm_regs", "*", "4", ";", "}", "}", ""], "natrual_language": ["We", "actually", "emit", "the", "code", "in", "sh_expand_prologue", ".", "We", "used", "to", "use", "a", "static", "variable", "to", "flag", "that", "we", "need", "to", "emit", "this", "code", ",", "but", "that", "does", "n't", "when", "inlining", ",", "when", "functions", "are", "deferred", "and", "then", "emitted", "later", ".", "Fortunately", ",", "we", "already", "have", "two", "flags", "that", "are", "part", "of", "struct", "function", "that", "tell", "if", "a", "function", "uses", "varargs", "or", "stdarg", "."], "TS_V_token": ["sh", "0", "4"], "File": "sh", "Func": "sh_setup_incoming_varargs", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17143, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "MipsInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "MipsInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "!", "StackSize", ")", "return", ";", "if", "(", "isInt", "<", "16", ">", "(", "StackSize", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "RestoreRaF16", ")", ")", ".", "addImm", "(", "StackSize", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "16", "Mips::RestoreRaF16"], "File": "Mips16FrameLowering26", "Func": "emitEpilogue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17144, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64TargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "APInt", "&", "KnownZero", ",", "APInt", "&", "KnownOne", ",", "const", "APInt", "&", "DemandedElts", ",", "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", ".", "getScalarSizeInBits", "(", ")", ";", "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": "AArch64ISelLowering120", "Func": "computeKnownBitsForTargetNode", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17145, "Length": 396, "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", "]", ";", "rtx", "xops", "[", "3", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "loop_lab", ",", "\"LPSRL\"", ",", "labelno", "++", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "loop_lab", ")", ";", "xops", "[", "0", "]", "=", "reg", ";", "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", ")", ";", "xops", "[", "0", "]", "=", "reg", ";", "xops", "[", "1", "]", "=", "end", ";", "output_asm_insn", "(", "\"cmp%z0\\t{%1, %0|%0, %1}\"", ",", "xops", ")", ";", "fputs", "(", "\"\\tjne\\t\"", ",", "asm_out_file", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "loop_lab", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Wrapper", "around", "the", "output_probe_stack_range", "routines", "."], "TS_V_token": ["i386", "0", "32", "3", "\"LPSRL\"", "0", "1", "\"sub%z0\\t{%1, %0|%0, %1}\"", "0", "1", "2", "\"or%z0\\t{%2, (%0,%1)|DWORD PTR [%0+%1], %2}\"", "0", "1", "\"cmp%z0\\t{%1, %0|%0, %1}\"", "\"\\tjne\\t\"", "\"\""], "File": "i3865", "Func": "output_probe_stack_range", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17146, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FISCAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "uint64_t", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "unsigned", "MatchResult", "=", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ";", "switch", "(", "MatchResult", ")", "{", "default", ":", "break", ";", "case", "Match_Success", ":", "{", "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", "=", "(", "(", "FISCOperand", "&", ")", "*", "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": ["FISC", "FISC", "\"instruction requires a CPU feature not currently enabled\"", "0U", "\"too few operands for instruction\"", "FISC", "\"invalid operand for instruction\"", "\"invalid instruction\""], "File": "FISCAsmParser", "Func": "MatchAndEmitInstruction", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17147, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "xs_hi_nonmemory_operand", "(", "rtx", "x", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "(", "GET_CODE", "(", "x", ")", "==", "CONST_INT", ")", "&&", "(", "(", "INTVAL", "(", "x", ")", ">=", "32768", ")", "||", "(", "INTVAL", "(", "x", ")", "<", "-", "32768", ")", ")", ")", "error", "(", "\"constant arithmetic operand out of range\"", ")", ";", "return", "nonmemory_operand", "(", "x", ",", "mode", ")", ";", "}", ""], "natrual_language": ["Detect", "and", "error", "out", "on", "out-of-range", "constants", "for", "addhi", "and", "subhi", "."], "TS_V_token": ["stormy16", "32768", "32768", "\"constant arithmetic operand out of range\""], "File": "stormy163", "Func": "xs_hi_nonmemory_operand", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17148, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_gen_storewb_pair", "(", "machine_mode", "mode", ",", "rtx", "base", ",", "rtx", "reg", ",", "rtx", "reg2", ",", "HOST_WIDE_INT", "adjustment", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_DImode", ":", "return", "gen_storewb_pairdi_di", "(", "base", ",", "base", ",", "reg", ",", "reg2", ",", "GEN_INT", "(", "-", "adjustment", ")", ",", "GEN_INT", "(", "UNITS_PER_WORD", "-", "adjustment", ")", ")", ";", "case", "E_DFmode", ":", "return", "gen_storewb_pairdf_di", "(", "base", ",", "base", ",", "reg", ",", "reg2", ",", "GEN_INT", "(", "-", "adjustment", ")", ",", "GEN_INT", "(", "UNITS_PER_WORD", "-", "adjustment", ")", ")", ";", "case", "E_TFmode", ":", "return", "gen_storewb_pairtf_di", "(", "base", ",", "base", ",", "reg", ",", "reg2", ",", "GEN_INT", "(", "-", "adjustment", ")", ",", "GEN_INT", "(", "UNITS_PER_VREG", "-", "adjustment", ")", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Generate", "and", "return", "an", "instruction", "to", "store", "the", "pair", "of", "registers", "REG", "and", "REG2", "of", "mode", "MODE", "to", "location", "BASE", "with", "write-back", "adjusting", "the", "stack", "location", "BASE", "by", "ADJUSTMENT", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_gen_storewb_pair", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17149, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARM64FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "const", "ARM64InstrInfo", "*", "TII", "=", "static_cast", "<", "const", "ARM64InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "if", "(", "!", "TFI", "->", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "MachineInstr", "*", "Old", "=", "I", ";", "DebugLoc", "DL", "=", "Old", "->", "getDebugLoc", "(", ")", ";", "unsigned", "Amount", "=", "Old", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "Amount", "!=", "0", ")", "{", "unsigned", "Align", "=", "TFI", "->", "getStackAlignment", "(", ")", ";", "Amount", "=", "(", "Amount", "+", "Align", "-", "1", ")", "/", "Align", "*", "Align", ";", "unsigned", "Opc", "=", "Old", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "ARM64", "::", "ADJCALLSTACKDOWN", ")", "{", "emitFrameOffset", "(", "MBB", ",", "I", ",", "DL", ",", "ARM64", "::", "SP", ",", "ARM64", "::", "SP", ",", "-", "Amount", ",", "TII", ")", ";", "}", "else", "{", "assert", "(", "Opc", "==", "ARM64", "::", "ADJCALLSTACKUP", "&&", "\"expected ADJCALLSTACKUP\"", ")", ";", "emitFrameOffset", "(", "MBB", ",", "I", ",", "DL", ",", "ARM64", "::", "SP", ",", "ARM64", "::", "SP", ",", "Amount", ",", "TII", ")", ";", "}", "}", "}", "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": ["ARM64", "ARM64", "ARM64", "ARM64", "0", "0", "1", "ARM64::ADJCALLSTACKDOWN", "ARM64::SP", "ARM64::SP", "ARM64::ADJCALLSTACKUP", "\"expected ADJCALLSTACKUP\"", "ARM64::SP", "ARM64::SP"], "File": "ARM64FrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17150, "Length": 214, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ArrayRef", "<", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">>", "AArch64InstrInfo", "::", "getSerializableBitmaskMachineOperandTargetFlags", "(", ")", "const", "{", "using", "namespace", "AArch64II", ";", "if", "(", "Subtarget", ".", "isTargetCOFF", "(", ")", ")", "{", "static", "const", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">", "TargetFlags", "[", "]", "=", "{", "{", "MO_COFFSTUB", ",", "\"aarch64-coffstub\"", "}", ",", "{", "MO_GOT", ",", "\"aarch64-got\"", "}", ",", "{", "MO_NC", ",", "\"aarch64-nc\"", "}", ",", "{", "MO_TLS", ",", "\"aarch64-tls\"", "}", ",", "{", "MO_DLLIMPORT", ",", "\"aarch64-dllimport\"", "}", "}", ";", "return", "makeArrayRef", "(", "TargetFlags", ")", ";", "}", "else", "{", "static", "const", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">", "TargetFlags", "[", "]", "=", "{", "{", "MO_GOTOFF", ",", "\"aarch64-gotoff\"", "}", ",", "{", "MO_POT", ",", "\"aarch64-pot\"", "}", ",", "{", "MO_SEC", ",", "\"aarch64-sec\"", "}", ",", "{", "MO_GOT", ",", "\"aarch64-got\"", "}", ",", "{", "MO_NC", ",", "\"aarch64-nc\"", "}", ",", "{", "MO_TLS", ",", "\"aarch64-tls\"", "}", "}", ";", "return", "makeArrayRef", "(", "TargetFlags", ")", ";", "}", "}", ""], "natrual_language": ["Return", "an", "array", "that", "contains", "the", "bitmask", "target", "flag", "values", "and", "their", "names", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "\"aarch64-coffstub\"", "\"aarch64-got\"", "\"aarch64-nc\"", "\"aarch64-tls\"", "\"aarch64-dllimport\"", "\"aarch64-gotoff\"", "\"aarch64-pot\"", "\"aarch64-sec\"", "\"aarch64-got\"", "\"aarch64-nc\"", "\"aarch64-tls\""], "File": "AArch64InstrInfo5", "Func": "getSerializableBitmaskMachineOperandTargetFlags", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17151, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZCopyPhysRegs", "::", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZCopyPhysRegs", "Func": "getAnalysisUsage", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17152, "Length": 25, "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", ";", "unsigned", "Flags", "=", "MI", "->", "getFlags", "(", ")", ";", "if", "(", "(", "TSFlags", "&", "X86II", "::", "LOCK", ")", "||", "(", "Flags", "&", "X86", "::", "IP_HAS_LOCK", ")", ")", "OS", "<<", "\"\\tlock\\t\"", ";", "if", "(", "Flags", "&", "X86", "::", "IP_HAS_REPEAT_NE", ")", "OS", "<<", "\"\\trepne\\t\"", ";", "else", "if", "(", "Flags", "&", "X86", "::", "IP_HAS_REPEAT", ")", "OS", "<<", "\"\\trep\\t\"", ";", "if", "(", "(", "TSFlags", "&", "X86II", "::", "NOTRACK", ")", "||", "(", "Flags", "&", "X86", "::", "IP_HAS_NOTRACK", ")", ")", "OS", "<<", "\"\\tnotrack\\t\"", ";", "printInstruction", "(", "MI", ",", "OS", ")", ";", "printAnnotation", "(", "OS", ",", "Annot", ")", ";", "if", "(", "CommentStream", ")", "EmitAnyX86InstComments", "(", "MI", ",", "*", "CommentStream", ",", "MII", ",", "getRegisterName", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["X86", "X86", "X86II::LOCK", "X86::IP_HAS_LOCK", "\"\\tlock\\t\"", "X86::IP_HAS_REPEAT_NE", "\"\\trepne\\t\"", "X86::IP_HAS_REPEAT", "\"\\trep\\t\"", "X86II::NOTRACK", "X86::IP_HAS_NOTRACK", "\"\\tnotrack\\t\"", "X86"], "File": "X86IntelInstPrinter15", "Func": "printInst", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17153, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_option_restore", "(", "struct", "gcc_options", "*", "opts", ",", "struct", "gcc_options", "*", ",", "struct", "cl_target_option", "*", "ptr", ")", "{", "opts", "->", "x_explicit_arch", "=", "ptr", "->", "x_explicit_arch", ";", "selected_arch", "=", "aarch64_get_arch", "(", "ptr", "->", "x_explicit_arch", ")", ";", "opts", "->", "x_explicit_tune_core", "=", "ptr", "->", "x_explicit_tune_core", ";", "if", "(", "opts", "->", "x_explicit_tune_core", "==", "aarch64_none", "&&", "opts", "->", "x_explicit_arch", "!=", "aarch64_no_arch", ")", "selected_tune", "=", "&", "all_cores", "[", "selected_arch", "->", "ident", "]", ";", "else", "selected_tune", "=", "aarch64_get_tune_cpu", "(", "ptr", "->", "x_explicit_tune_core", ")", ";", "opts", "->", "x_aarch64_override_tune_string", "=", "ptr", "->", "x_aarch64_override_tune_string", ";", "opts", "->", "x_aarch64_branch_protection_string", "=", "ptr", "->", "x_aarch64_branch_protection_string", ";", "if", "(", "opts", "->", "x_aarch64_branch_protection_string", ")", "{", "aarch64_parse_branch_protection", "(", "opts", "->", "x_aarch64_branch_protection_string", ",", "NULL", ")", ";", "}", "aarch64_override_options_internal", "(", "opts", ")", ";", "}", ""], "natrual_language": ["Implements", "TARGET_OPTION_RESTORE", ".", "Restore", "the", "backend", "codegen", "decisions", "using", "the", "information", "saved", "in", "PTR", "."], "TS_V_token": ["aarch64"], "File": "aarch641", "Func": "aarch64_option_restore", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17154, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mergeStoresAfterLegalization", "(", "EVT", "VT", ")", "const", "override", "{", "return", "!", "useSVEForFixedLengthVectors", "(", ")", ";", "}", ""], "natrual_language": ["Do", "not", "merge", "vector", "stores", "after", "legalization", "because", "that", "may", "conflict", "with", "x86-specific", "store", "splitting", "optimizations", "."], "TS_V_token": ["AArch64"], "File": "AArch64ISelLowering103", "Func": "mergeStoresAfterLegalization", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17155, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ",", "MCContext", "&", "Ctx", ")", "const", "override", "{", "Value", "=", "adjustFixupValue", "(", "Fixup", ".", "getKind", "(", ")", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittleEndian", "?", "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", "1", "8", "0xff"], "File": "PPCAsmBackend3", "Func": "applyFixup", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17156, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64AsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "if", "(", "emitPseudoExpansionLowering", "(", "OutStreamer", ",", "MI", ")", ")", "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"], "File": "AArch64AsmPrinter11", "Func": "EmitInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17157, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PrintSpecial", "(", "const", "MCInst", "*", "MI", ",", "const", "char", "*", "Kind", ")", "{", "}", ""], "natrual_language": ["Print", "information", "related", "to", "the", "specified", "machine", "instr", "that", "is", "independent", "of", "the", "operand", ",", "and", "may", "be", "independent", "of", "the", "instr", "itself", "."], "TS_V_token": ["ARM"], "File": "ARMInstPrinter27", "Func": "PrintSpecial", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17158, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "aarch64_rtx_mult_cost", "(", "rtx", "x", ",", "int", "code", ",", "int", "outer", ",", "bool", "speed", ")", "{", "rtx", "op0", ",", "op1", ";", "const", "struct", "cpu_cost_table", "*", "extra_cost", "=", "aarch64_tune_params", "->", "insn_extra_cost", ";", "int", "cost", "=", "0", ";", "bool", "maybe_fma", "=", "(", "outer", "==", "PLUS", "||", "outer", "==", "MINUS", ")", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "x", ")", ";", "gcc_checking_assert", "(", "code", "==", "MULT", ")", ";", "op0", "=", "XEXP", "(", "x", ",", "0", ")", ";", "op1", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", ")", "mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_INT", ")", "{", "if", "(", "CONST_INT_P", "(", "op1", ")", "&&", "exact_log2", "(", "INTVAL", "(", "op1", ")", ")", ">", "0", ")", "{", "if", "(", "speed", ")", "{", "if", "(", "maybe_fma", ")", "cost", "+=", "extra_cost", "->", "alu", ".", "arith_shift", ";", "else", "cost", "+=", "extra_cost", "->", "alu", ".", "shift", ";", "}", "cost", "+=", "rtx_cost", "(", "op0", ",", "GET_CODE", "(", "op0", ")", ",", "0", ",", "speed", ")", ";", "return", "cost", ";", "}", "if", "(", "(", "GET_CODE", "(", "op0", ")", "==", "ZERO_EXTEND", "&&", "GET_CODE", "(", "op1", ")", "==", "ZERO_EXTEND", ")", "||", "(", "GET_CODE", "(", "op0", ")", "==", "SIGN_EXTEND", "&&", "GET_CODE", "(", "op1", ")", "==", "SIGN_EXTEND", ")", ")", "{", "cost", "+=", "rtx_cost", "(", "XEXP", "(", "op0", ",", "0", ")", ",", "MULT", ",", "0", ",", "speed", ")", "+", "rtx_cost", "(", "XEXP", "(", "op1", ",", "0", ")", ",", "MULT", ",", "1", ",", "speed", ")", ";", "if", "(", "speed", ")", "{", "if", "(", "maybe_fma", ")", "cost", "+=", "extra_cost", "->", "mult", "[", "0", "]", ".", "extend_add", ";", "else", "cost", "+=", "extra_cost", "->", "mult", "[", "0", "]", ".", "extend", ";", "}", "return", "cost", ";", "}", "cost", "+=", "rtx_cost", "(", "op0", ",", "MULT", ",", "0", ",", "speed", ")", "+", "rtx_cost", "(", "op1", ",", "MULT", ",", "1", ",", "speed", ")", ";", "if", "(", "speed", ")", "{", "if", "(", "maybe_fma", ")", "cost", "+=", "extra_cost", "->", "mult", "[", "mode", "==", "DImode", "]", ".", "add", ";", "else", "cost", "+=", "extra_cost", "->", "mult", "[", "mode", "==", "DImode", "]", ".", "simple", ";", "}", "return", "cost", ";", "}", "else", "{", "if", "(", "speed", ")", "{", "if", "(", "GET_CODE", "(", "op0", ")", "==", "NEG", ")", "op0", "=", "XEXP", "(", "op0", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "op1", ")", "==", "NEG", ")", "op1", "=", "XEXP", "(", "op1", ",", "0", ")", ";", "if", "(", "maybe_fma", ")", "cost", "+=", "extra_cost", "->", "fp", "[", "mode", "==", "DFmode", "]", ".", "fma", ";", "else", "cost", "+=", "extra_cost", "->", "fp", "[", "mode", "==", "DFmode", "]", ".", "mult", ";", "}", "cost", "+=", "rtx_cost", "(", "op0", ",", "MULT", ",", "0", ",", "speed", ")", "+", "rtx_cost", "(", "op1", ",", "MULT", ",", "1", ",", "speed", ")", ";", "return", "cost", ";", "}", "}", ""], "natrual_language": ["Helper", "function", "for", "rtx", "cost", "calculation", ".", "Calculate", "the", "cost", "of", "a", "MULT", ",", "which", "may", "be", "part", "of", "a", "multiply-accumulate", "rtx", ".", "Return", "the", "calculated", "cost", "of", "the", "expression", ",", "recursing", "manually", "in", "to", "operands", "where", "needed", "."], "TS_V_token": ["aarch64", "0", "0", "1", "0", "0", "0", "0", "0", "1", "0", "0", "0", "1", "0", "0", "0", "1"], "File": "aarch642", "Func": "aarch64_rtx_mult_cost", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17159, "Length": 447, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "core2i7_first_cycle_multipass_begin", "(", "void", "*", "_data", ",", "signed", "char", "*", "ready_try", ",", "int", "n_ready", ",", "bool", "first_cycle_insn_p", ")", "{", "ix86_first_cycle_multipass_data_t", "data", "=", "(", "ix86_first_cycle_multipass_data_t", ")", "_data", ";", "const_ix86_first_cycle_multipass_data_t", "prev_data", "=", "ix86_first_cycle_multipass_data", ";", "data", "->", "ifetch_block_len", "=", "prev_data", "->", "ifetch_block_len", ";", "data", "->", "ifetch_block_n_insns", "=", "prev_data", "->", "ifetch_block_n_insns", ";", "core2i7_first_cycle_multipass_filter_ready_try", "(", "data", ",", "ready_try", ",", "n_ready", ",", "first_cycle_insn_p", ")", ";", "}", ""], "natrual_language": ["Prepare", "for", "a", "new", "round", "of", "multipass", "lookahead", "scheduling", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "core2i7_first_cycle_multipass_begin", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17160, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emitSPUpdate", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "unsigned", "StackPtr", ",", "int64_t", "NumBytes", ",", "bool", "Is64Bit", ",", "bool", "IsLP64", ",", "bool", "UseLEA", ",", "const", "TargetInstrInfo", "&", "TII", ",", "const", "TargetRegisterInfo", "&", "TRI", ")", "{", "bool", "isSub", "=", "NumBytes", "<", "0", ";", "uint64_t", "Offset", "=", "isSub", "?", "-", "NumBytes", ":", "NumBytes", ";", "unsigned", "Opc", ";", "if", "(", "UseLEA", ")", "Opc", "=", "getLEArOpcode", "(", "IsLP64", ")", ";", "else", "Opc", "=", "isSub", "?", "getSUBriOpcode", "(", "IsLP64", ",", "Offset", ")", ":", "getADDriOpcode", "(", "IsLP64", ",", "Offset", ")", ";", "uint64_t", "Chunk", "=", "(", "1LL", "<<", "31", ")", "-", "1", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MBBI", ")", ";", "while", "(", "Offset", ")", "{", "uint64_t", "ThisVal", "=", "(", "Offset", ">", "Chunk", ")", "?", "Chunk", ":", "Offset", ";", "if", "(", "ThisVal", "==", "(", "Is64Bit", "?", "8", ":", "4", ")", ")", "{", "unsigned", "Reg", "=", "isSub", "?", "(", "unsigned", ")", "(", "Is64Bit", "?", "X86", "::", "RAX", ":", "X86", "::", "EAX", ")", ":", "findDeadCallerSavedReg", "(", "MBB", ",", "MBBI", ",", "TRI", ",", "Is64Bit", ")", ";", "if", "(", "Reg", ")", "{", "Opc", "=", "isSub", "?", "(", "Is64Bit", "?", "X86", "::", "PUSH64r", ":", "X86", "::", "PUSH32r", ")", ":", "(", "Is64Bit", "?", "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", "=", "NULL", ";", "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": "X86FrameLowering (2)", "Func": "emitSPUpdate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17161, "Length": 372, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMBaseTargetMachine", "::", "ARMBaseTargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "RM", ",", "CM", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "JITInfo", "(", ")", ",", "InstrItins", "(", "Subtarget", ".", "getInstrItineraryData", "(", ")", ")", "{", "if", "(", "FloatABIType", "==", "FloatABI", "::", "Default", ")", "FloatABIType", "=", "FloatABI", "::", "Soft", ";", "}", ""], "natrual_language": ["Create", "an", "ARM", "architecture", "model", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMTargetMachine87", "Func": "ARMBaseTargetMachine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17162, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Lanai Delay Slot Filler\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Lanai", "\"Lanai Delay Slot Filler\""], "File": "LanaiDelaySlotFiller", "Func": "getPassName", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17163, "Length": 11, "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": ["CAHP"], "File": "CAHPAsmParser", "Func": "getStartLoc", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17164, "Length": 11, "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": 17165, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMLoc", "getOffsetOfLoc", "(", ")", "const", "override", "{", "return", "OffsetOfLoc", ";", "}", ""], "natrual_language": ["getOffsetOfLoc", "-", "Get", "the", "location", "of", "the", "offset", "operator", "."], "TS_V_token": ["X86"], "File": "X86Operand (2)", "Func": "getOffsetOfLoc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17166, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isTarget64BitLP64", "(", ")", "const", "{", "return", "In64BitMode", "&&", "(", "!", "TargetTriple", ".", "isX32", "(", ")", "&&", "!", "TargetTriple", ".", "isOSNaCl", "(", ")", ")", ";", "}", ""], "natrual_language": ["Is", "this", "x86_64", "with", "the", "LP64", "programming", "model", "(", "standard", "AMD64", ",", "no", "x32", ")", "?"], "TS_V_token": ["X86"], "File": "X86Subtarget107", "Func": "isTarget64BitLP64", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17167, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_trampoline_init", "(", "rtx", "m_tramp", ",", "tree", "fndecl", ",", "rtx", "cxt", ")", "{", "int", "regsize", "=", "(", "TARGET_32BIT", ")", "?", "4", ":", "8", ";", "rtx", "fnaddr", "=", "XEXP", "(", "DECL_RTL", "(", "fndecl", ")", ",", "0", ")", ";", "rtx", "ctx_reg", "=", "force_reg", "(", "Pmode", ",", "cxt", ")", ";", "rtx", "addr", "=", "force_reg", "(", "Pmode", ",", "XEXP", "(", "m_tramp", ",", "0", ")", ")", ";", "switch", "(", "DEFAULT_ABI", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "ABI_AIX", ":", "{", "rtx", "fnmem", ",", "fn_reg", ",", "toc_reg", ";", "if", "(", "!", "TARGET_POINTERS_TO_NESTED_FUNCTIONS", ")", "error", "(", "\"You cannot take the address of a nested function if you use \"", "\"the -mno-pointers-to-nested-functions option.\"", ")", ";", "fnmem", "=", "gen_const_mem", "(", "Pmode", ",", "force_reg", "(", "Pmode", ",", "fnaddr", ")", ")", ";", "fn_reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "toc_reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "m_tramp", "=", "replace_equiv_address", "(", "m_tramp", ",", "addr", ")", ";", "emit_move_insn", "(", "fn_reg", ",", "MEM_PLUS", "(", "fnmem", ",", "0", ")", ")", ";", "emit_move_insn", "(", "toc_reg", ",", "MEM_PLUS", "(", "fnmem", ",", "regsize", ")", ")", ";", "emit_move_insn", "(", "MEM_PLUS", "(", "m_tramp", ",", "0", ")", ",", "fn_reg", ")", ";", "emit_move_insn", "(", "MEM_PLUS", "(", "m_tramp", ",", "regsize", ")", ",", "toc_reg", ")", ";", "emit_move_insn", "(", "MEM_PLUS", "(", "m_tramp", ",", "2", "*", "regsize", ")", ",", "ctx_reg", ")", ";", "}", "break", ";", "case", "ABI_ELFv2", ":", "case", "ABI_DARWIN", ":", "case", "ABI_V4", ":", "emit_library_call", "(", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"__trampoline_setup\"", ")", ",", "LCT_NORMAL", ",", "VOIDmode", ",", "4", ",", "addr", ",", "Pmode", ",", "GEN_INT", "(", "rs6000_trampoline_size", "(", ")", ")", ",", "SImode", ",", "fnaddr", ",", "Pmode", ",", "ctx_reg", ",", "Pmode", ")", ";", "break", ";", "}", "}", ""], "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", "0", "0", "\"You cannot take the address of a nested function if you use \"", "\"the -mno-pointers-to-nested-functions option.\"", "0", "0", "2", "\"__trampoline_setup\"", "4"], "File": "rs60004", "Func": "rs6000_trampoline_init", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17168, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "SMShadowTracker", ".", "startFunction", "(", "MF", ")", ";", "CodeEmitter", ".", "reset", "(", "TM", ".", "getTarget", "(", ")", ".", "createMCCodeEmitter", "(", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ",", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ",", "MF", ".", "getContext", "(", ")", ")", ")", ";", "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", "(", ")", ";", "EmitXRayTable", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86AsmPrinter3", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17169, "Length": 152, "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": 17170, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_evpc_rev_global", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "poly_uint64", "nelt", "=", "d", "->", "perm", ".", "length", "(", ")", ";", "if", "(", "!", "d", "->", "one_vector_p", "||", "d", "->", "vec_flags", "==", "VEC_ADVSIMD", ")", "return", "false", ";", "if", "(", "!", "d", "->", "perm", ".", "series_p", "(", "0", ",", "1", ",", "nelt", "-", "1", ",", "-", "1", ")", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "rtx", "src", "=", "gen_rtx_UNSPEC", "(", "d", "->", "vmode", ",", "gen_rtvec", "(", "1", ",", "d", "->", "op0", ")", ",", "UNSPEC_REV", ")", ";", "emit_set_insn", "(", "d", "->", "target", ",", "src", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "for", "the", "REV", "insn", ",", "which", "reverses", "elements", "within", "a", "full", "vector", "."], "TS_V_token": ["aarch64", "0", "1", "1", "1", "1"], "File": "aarch64", "Func": "aarch64_evpc_rev_global", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17171, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "{", "if", "(", "ExtraCode", "[", "1", "]", ")", "return", "true", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "case", "'H'", ":", "{", "if", "(", "OpNo", "==", "0", ")", "return", "true", ";", "const", "MachineOperand", "&", "FlagsOP", "=", "MI", "->", "getOperand", "(", "OpNo", "-", "1", ")", ";", "if", "(", "!", "FlagsOP", ".", "isImm", "(", ")", ")", "return", "true", ";", "unsigned", "Flags", "=", "FlagsOP", ".", "getImm", "(", ")", ";", "unsigned", "NumVals", "=", "InlineAsm", "::", "getNumOperandRegisters", "(", "Flags", ")", ";", "if", "(", "NumVals", "!=", "2", ")", "return", "true", ";", "unsigned", "RegOp", "=", "OpNo", "+", "1", ";", "if", "(", "RegOp", ">=", "MI", "->", "getNumOperands", "(", ")", ")", "return", "true", ";", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "RegOp", ")", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", ")", "return", "true", ";", "Register", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "O", "<<", "LanaiInstPrinter", "::", "getRegisterName", "(", "Reg", ")", ";", "return", "false", ";", "}", "default", ":", "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": ["Lanai", "Lanai", "0", "1", "0", "0", "1", "2", "1", "Lanai"], "File": "LanaiAsmPrinter14", "Func": "PrintAsmOperand", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17172, "Length": 215, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsInstrInfo", "::", "verifyInstruction", "(", "const", "MachineInstr", "&", "MI", ",", "StringRef", "&", "ErrInfo", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "Mips", "::", "EXT", ":", "case", "Mips", "::", "EXT_MM", ":", "case", "Mips", "::", "INS", ":", "case", "Mips", "::", "INS_MM", ":", "case", "Mips", "::", "DINS", ":", "return", "verifyInsExtInstruction", "(", "MI", ",", "ErrInfo", ",", "0", ",", "32", ",", "0", ",", "32", ",", "0", ",", "32", ")", ";", "case", "Mips", "::", "DINSM", ":", "return", "verifyInsExtInstruction", "(", "MI", ",", "ErrInfo", ",", "0", ",", "32", ",", "1", ",", "64", ",", "32", ",", "64", ")", ";", "case", "Mips", "::", "DINSU", ":", "return", "verifyInsExtInstruction", "(", "MI", ",", "ErrInfo", ",", "32", ",", "64", ",", "0", ",", "32", ",", "32", ",", "64", ")", ";", "case", "Mips", "::", "DEXT", ":", "return", "verifyInsExtInstruction", "(", "MI", ",", "ErrInfo", ",", "0", ",", "32", ",", "0", ",", "32", ",", "0", ",", "63", ")", ";", "case", "Mips", "::", "DEXTM", ":", "return", "verifyInsExtInstruction", "(", "MI", ",", "ErrInfo", ",", "0", ",", "32", ",", "32", ",", "64", ",", "32", ",", "64", ")", ";", "case", "Mips", "::", "DEXTU", ":", "return", "verifyInsExtInstruction", "(", "MI", ",", "ErrInfo", ",", "32", ",", "64", ",", "0", ",", "32", ",", "32", ",", "64", ")", ";", "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::EXT", "Mips::EXT_MM", "Mips::INS", "Mips::INS_MM", "Mips::DINS", "0", "32", "0", "32", "0", "32", "Mips::DINSM", "0", "32", "1", "64", "32", "64", "Mips::DINSU", "32", "64", "0", "32", "32", "64", "Mips::DEXT", "0", "32", "0", "32", "0", "63", "Mips::DEXTM", "0", "32", "32", "64", "32", "64", "Mips::DEXTU", "32", "64", "0", "32", "32", "64", "Mips::TAILCALLREG", "Mips::PseudoIndirectBranch", "Mips::JR", "Mips::JR64", "Mips::JALR", "Mips::JALR64", "Mips::JALRPseudo", "\"invalid instruction when using jump guards!\""], "File": "MipsInstrInfo (2)3", "Func": "verifyInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17173, "Length": 259, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "emitLoadConstPool", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "DebugLoc", "dl", ",", "unsigned", "DestReg", ",", "unsigned", "SubIdx", ",", "int", "Val", ",", "ARMCC", "::", "CondCodes", "Pred", ",", "unsigned", "PredReg", ",", "unsigned", "MIFlags", ")", "const", "{", "assert", "(", "!", "FlagSfiDisableCP", "&&", "\"unexpected call to emitLoadConstPool\"", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "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", ")", ".", "addImm", "(", "Pred", ")", ".", "addReg", "(", "PredReg", ")", ".", "setMIFlags", "(", "MIFlags", ")", ";", "}", ""], "natrual_language": ["emitLoadConstPool", "-", "Emits", "a", "load", "from", "constpool", "to", "materialize", "the", "specified", "immediate", "."], "TS_V_token": ["ARM", "ARM", "ARMCC::CondCodes", "\"unexpected call to emitLoadConstPool\"", "4", "ARM::LDRcp", "0"], "File": "ARMBaseRegisterInfo43", "Func": "emitLoadConstPool", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17174, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_expand_builtin", "(", "tree", "exp", ",", "rtx", "target", ",", "rtx", "subtarget", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "int", "ignore", "ATTRIBUTE_UNUSED", ")", "{", "tree", "fndecl", "=", "TREE_OPERAND", "(", "CALL_EXPR_FN", "(", "exp", ")", ",", "0", ")", ";", "int", "fcode", "=", "DECL_FUNCTION_CODE", "(", "fndecl", ")", ";", "int", "icode", ";", "rtx", "pat", ",", "op0", ";", "tree", "arg0", ";", "switch", "(", "fcode", ")", "{", "case", "AARCH64_BUILTIN_GET_FPCR", ":", "case", "AARCH64_BUILTIN_SET_FPCR", ":", "case", "AARCH64_BUILTIN_GET_FPSR", ":", "case", "AARCH64_BUILTIN_SET_FPSR", ":", "if", "(", "(", "fcode", "==", "AARCH64_BUILTIN_GET_FPCR", ")", "||", "(", "fcode", "==", "AARCH64_BUILTIN_GET_FPSR", ")", ")", "{", "icode", "=", "(", "fcode", "==", "AARCH64_BUILTIN_GET_FPSR", ")", "?", "CODE_FOR_get_fpsr", ":", "CODE_FOR_get_fpcr", ";", "target", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ")", ";", "}", "else", "{", "target", "=", "NULL_RTX", ";", "icode", "=", "(", "fcode", "==", "AARCH64_BUILTIN_SET_FPSR", ")", "?", "CODE_FOR_set_fpsr", ":", "CODE_FOR_set_fpcr", ";", "arg0", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "op0", "=", "force_reg", "(", "SImode", ",", "expand_normal", "(", "arg0", ")", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op0", ")", ";", "}", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "case", "AARCH64_PAUTH_BUILTIN_AUTIA1716", ":", "case", "AARCH64_PAUTH_BUILTIN_PACIA1716", ":", "case", "AARCH64_PAUTH_BUILTIN_XPACLRI", ":", "arg0", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "op0", "=", "force_reg", "(", "Pmode", ",", "expand_normal", "(", "arg0", ")", ")", ";", "if", "(", "!", "target", ")", "target", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "else", "target", "=", "force_reg", "(", "Pmode", ",", "target", ")", ";", "emit_move_insn", "(", "target", ",", "op0", ")", ";", "if", "(", "fcode", "==", "AARCH64_PAUTH_BUILTIN_XPACLRI", ")", "{", "rtx", "lr", "=", "gen_rtx_REG", "(", "Pmode", ",", "R30_REGNUM", ")", ";", "icode", "=", "CODE_FOR_xpaclri", ";", "emit_move_insn", "(", "lr", ",", "op0", ")", ";", "emit_insn", "(", "GEN_FCN", "(", "icode", ")", "(", ")", ")", ";", "emit_move_insn", "(", "target", ",", "lr", ")", ";", "}", "else", "{", "tree", "arg1", "=", "CALL_EXPR_ARG", "(", "exp", ",", "1", ")", ";", "rtx", "op1", "=", "force_reg", "(", "Pmode", ",", "expand_normal", "(", "arg1", ")", ")", ";", "icode", "=", "(", "fcode", "==", "AARCH64_PAUTH_BUILTIN_PACIA1716", "?", "CODE_FOR_paci1716", ":", "CODE_FOR_auti1716", ")", ";", "rtx", "x16_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "R16_REGNUM", ")", ";", "rtx", "x17_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "R17_REGNUM", ")", ";", "emit_move_insn", "(", "x17_reg", ",", "op0", ")", ";", "emit_move_insn", "(", "x16_reg", ",", "op1", ")", ";", "emit_insn", "(", "GEN_FCN", "(", "icode", ")", "(", ")", ")", ";", "emit_move_insn", "(", "target", ",", "x17_reg", ")", ";", "}", "return", "target", ";", "case", "AARCH64_SIMD_BUILTIN_FCMLA_LANEQ0_V2SF", ":", "case", "AARCH64_SIMD_BUILTIN_FCMLA_LANEQ90_V2SF", ":", "case", "AARCH64_SIMD_BUILTIN_FCMLA_LANEQ180_V2SF", ":", "case", "AARCH64_SIMD_BUILTIN_FCMLA_LANEQ270_V2SF", ":", "case", "AARCH64_SIMD_BUILTIN_FCMLA_LANEQ0_V4HF", ":", "case", "AARCH64_SIMD_BUILTIN_FCMLA_LANEQ90_V4HF", ":", "case", "AARCH64_SIMD_BUILTIN_FCMLA_LANEQ180_V4HF", ":", "case", "AARCH64_SIMD_BUILTIN_FCMLA_LANEQ270_V4HF", ":", "return", "aarch64_expand_fcmla_builtin", "(", "exp", ",", "target", ",", "fcode", ")", ";", "}", "if", "(", "fcode", ">=", "AARCH64_SIMD_BUILTIN_BASE", "&&", "fcode", "<=", "AARCH64_SIMD_BUILTIN_MAX", ")", "return", "aarch64_simd_expand_builtin", "(", "fcode", ",", "exp", ",", "target", ")", ";", "else", "if", "(", "fcode", ">=", "AARCH64_CRC32_BUILTIN_BASE", "&&", "fcode", "<=", "AARCH64_CRC32_BUILTIN_MAX", ")", "return", "aarch64_crc32_expand_builtin", "(", "fcode", ",", "exp", ",", "target", ")", ";", "if", "(", "fcode", "==", "AARCH64_BUILTIN_RSQRT_DF", "||", "fcode", "==", "AARCH64_BUILTIN_RSQRT_SF", "||", "fcode", "==", "AARCH64_BUILTIN_RSQRT_V2DF", "||", "fcode", "==", "AARCH64_BUILTIN_RSQRT_V2SF", "||", "fcode", "==", "AARCH64_BUILTIN_RSQRT_V4SF", ")", "return", "aarch64_expand_builtin_rsqrt", "(", "fcode", ",", "exp", ",", "target", ")", ";", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_EXPAND_BUILTIN", "."], "TS_V_token": ["aarch64", "0", "0", "0", "1"], "File": "aarch64-builtins6", "Func": "aarch64_expand_builtin", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17175, "Length": 484, "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", ";", "unsigned", "Src1Reg", "=", "getRegForValue", "(", "Src1Val", ")", ";", "if", "(", "!", "Src1Reg", ")", "return", "false", ";", "bool", "Src1IsKill", "=", "hasTrivialKill", "(", "Src1Val", ")", ";", "unsigned", "Src2Reg", "=", "getRegForValue", "(", "Src2Val", ")", ";", "if", "(", "!", "Src2Reg", ")", "return", "false", ";", "bool", "Src2IsKill", "=", "hasTrivialKill", "(", "Src2Val", ")", ";", "if", "(", "NeedExtraOp", ")", "{", "Src1Reg", "=", "emitLogicalOp_ri", "(", "ISD", "::", "XOR", ",", "MVT", "::", "i32", ",", "Src1Reg", ",", "Src1IsKill", ",", "1", ")", ";", "Src1IsKill", "=", "true", ";", "}", "unsigned", "ResultReg", "=", "fastEmitInst_rr", "(", "Opc", ",", "&", "AArch64", "::", "GPR32spRegClass", ",", "Src1Reg", ",", "Src1IsKill", ",", "Src2Reg", ",", "Src2IsKill", ")", ";", "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::GPR32spRegClass"], "File": "AArch64FastISel22", "Func": "optimizeSelect", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17176, "Length": 340, "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", ";", "Function", "*", "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": "SystemZTDC10", "Func": "runOnFunction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17177, "Length": 419, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "reg_class", "mips_preferred_reload_class", "(", "rtx", "x", ",", "enum", "reg_class", "class", ")", "{", "if", "(", "mips_dangerous_for_la25_p", "(", "x", ")", "&&", "reg_class_subset_p", "(", "LEA_REGS", ",", "class", ")", ")", "return", "LEA_REGS", ";", "if", "(", "TARGET_HARD_FLOAT", "&&", "FLOAT_MODE_P", "(", "GET_MODE", "(", "x", ")", ")", "&&", "reg_class_subset_p", "(", "FP_REGS", ",", "class", ")", ")", "return", "FP_REGS", ";", "if", "(", "reg_class_subset_p", "(", "GR_REGS", ",", "class", ")", ")", "class", "=", "GR_REGS", ";", "if", "(", "TARGET_MIPS16", "&&", "reg_class_subset_p", "(", "M16_REGS", ",", "class", ")", ")", "class", "=", "M16_REGS", ";", "return", "class", ";", "}", ""], "natrual_language": ["Implement", "PREFERRED_RELOAD_CLASS", "."], "TS_V_token": ["mips"], "File": "mips3", "Func": "mips_preferred_reload_class", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17178, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "getRecipEstimate", "(", "SDValue", "Operand", ",", "SelectionDAG", "&", "DAG", ",", "int", "Enabled", ",", "int", "&", "ExtraSteps", ")", "const", "{", "if", "(", "Enabled", "==", "ReciprocalEstimate", "::", "Enabled", ")", "if", "(", "SDValue", "Estimate", "=", "getEstimate", "(", "Subtarget", ",", "AArch64ISD", "::", "FRECPE", ",", "Operand", ",", "DAG", ",", "ExtraSteps", ")", ")", "{", "SDLoc", "DL", "(", "Operand", ")", ";", "EVT", "VT", "=", "Operand", ".", "getValueType", "(", ")", ";", "SDNodeFlags", "Flags", ";", "Flags", ".", "setUnsafeAlgebra", "(", "true", ")", ";", "for", "(", "int", "i", "=", "ExtraSteps", ";", "i", ">", "0", ";", "--", "i", ")", "{", "SDValue", "Step", "=", "DAG", ".", "getNode", "(", "AArch64ISD", "::", "FRECPS", ",", "DL", ",", "VT", ",", "Operand", ",", "Estimate", ",", "&", "Flags", ")", ";", "Estimate", "=", "DAG", ".", "getNode", "(", "ISD", "::", "FMUL", ",", "DL", ",", "VT", ",", "Estimate", ",", "Step", ",", "&", "Flags", ")", ";", "}", "ExtraSteps", "=", "0", ";", "return", "Estimate", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Return", "a", "reciprocal", "estimate", "value", "for", "the", "input", "operand", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64ISD::FRECPE", "0", "AArch64ISD::FRECPS", "ISD::FMUL", "0"], "File": "AArch64ISelLowering119", "Func": "getRecipEstimate", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17179, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mips_return_addr", "(", "int", "count", ",", "rtx", "frame", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "count", "!=", "0", ")", "return", "const0_rtx", ";", "return", "get_hard_reg_initial_val", "(", "Pmode", ",", "GP_REG_FIRST", "+", "31", ")", ";", "}", ""], "natrual_language": ["Implement", "RETURN_ADDR_RTX", ".", "Note", ",", "we", "do", "not", "support", "moving", "back", "to", "a", "previous", "frame", "."], "TS_V_token": ["mips", "0", "31"], "File": "mips3", "Func": "mips_return_addr", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17180, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "ExpandInlineAsm", "(", "CallInst", "*", "CI", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "hasV6Ops", "(", ")", ")", "return", "false", ";", "InlineAsm", "*", "IA", "=", "cast", "<", "InlineAsm", ">", "(", "CI", "->", "getCalledValue", "(", ")", ")", ";", "std", "::", "string", "AsmStr", "=", "IA", "->", "getAsmString", "(", ")", ";", "SmallVector", "<", "StringRef", ",", "4", ">", "AsmPieces", ";", "SplitString", "(", "AsmStr", ",", "AsmPieces", ",", "\";\\n\"", ")", ";", "switch", "(", "AsmPieces", ".", "size", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "1", ":", "AsmStr", "=", "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", ")", "{", "const", "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": "ARMISelLowering131", "Func": "ExpandInlineAsm", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17181, "Length": 200, "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", "NULL", ";", "MI", "=", "TargetInstrInfoImpl", "::", "commuteInstruction", "(", "MI", ",", "NewMI", ")", ";", "if", "(", "!", "MI", ")", "return", "NULL", ";", "MI", "->", "getOperand", "(", "MI", "->", "findFirstPredOperandIdx", "(", ")", ")", ".", "setImm", "(", "ARMCC", "::", "getOppositeCondition", "(", "CC", ")", ")", ";", "return", "MI", ";", "}", "}", "return", "TargetInstrInfoImpl", "::", "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": "ARMBaseInstrInfo14", "Func": "commuteInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17182, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "assert", "(", "0", "&&", "\"RelaxInstruction() unimplemented\"", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["Cpu0", "0", "\"RelaxInstruction() unimplemented\""], "File": "Cpu0AsmBackend1", "Func": "fixupNeedsRelaxation", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17183, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "X86IntelInstPrinter", "::", "getOpcodeName", "(", "unsigned", "Opcode", ")", "const", "{", "return", "getInstructionName", "(", "Opcode", ")", ";", "}", ""], "natrual_language": ["Return", "a", "string", "representation", "for", "an", "opcode", "."], "TS_V_token": ["X86", "X86"], "File": "X86IntelInstPrinter13", "Func": "getOpcodeName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17184, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64FrameLowering", "::", "getWinEHFuncletFrameSize", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "unsigned", "CSSize", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", "->", "getCalleeSavedStackSize", "(", ")", ";", "return", "alignTo", "(", "CSSize", "+", "MF", ".", "getFrameInfo", "(", ")", ".", "getMaxCallFrameSize", "(", ")", ",", "getStackAlignment", "(", ")", ")", ";", "}", ""], "natrual_language": ["Funclets", "only", "need", "to", "account", "for", "space", "for", "the", "callee", "saved", "registers", ",", "as", "the", "locals", "are", "accounted", "for", "in", "the", "parent", "'s", "stack", "frame", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64FrameLowering103", "Func": "getWinEHFuncletFrameSize", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17185, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pru_option_override", "(", "void", ")", "{", "SUBTARGET_OVERRIDE_OPTIONS", ";", "if", "(", "flag_pic", "==", "1", ")", "warning", "(", "OPT_fpic", ",", "\"%<-fpic%> is not supported\"", ")", ";", "if", "(", "flag_pic", "==", "2", ")", "warning", "(", "OPT_fPIC", ",", "\"%<-fPIC%> is not supported\"", ")", ";", "if", "(", "flag_pie", "==", "1", ")", "warning", "(", "OPT_fpie", ",", "\"%<-fpie%> is not supported\"", ")", ";", "if", "(", "flag_pie", "==", "2", ")", "warning", "(", "OPT_fPIE", ",", "\"%<-fPIE%> is not supported\"", ")", ";", "if", "(", "flag_reorder_blocks_and_partition", ")", "{", "inform", "(", "input_location", ",", "\"%<-freorder-blocks-and-partition%> \"", "\"not supported on this architecture\"", ")", ";", "flag_reorder_blocks_and_partition", "=", "0", ";", "flag_reorder_blocks", "=", "1", ";", "}", "init_machine_status", "=", "&", "pru_init_machine_status", ";", "target_option_default_node", "=", "target_option_current_node", "=", "build_target_option_node", "(", "&", "global_options", ",", "&", "global_options_set", ")", ";", "pru_register_abicheck_pass", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_OVERRIDE", "."], "TS_V_token": ["pru", "1", "\"%<-fpic%> is not supported\"", "2", "\"%<-fPIC%> is not supported\"", "1", "\"%<-fpie%> is not supported\"", "2", "\"%<-fPIE%> is not supported\"", "\"%<-freorder-blocks-and-partition%> \"", "\"not supported on this architecture\"", "0", "1"], "File": "pru", "Func": "pru_option_override", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17186, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "return", "createARMMachObjectWriter", "(", "OS", ",", "false", ",", "MachO", "::", "CPU_TYPE_ARM", ",", "Subtype", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMAsmBackend23", "Func": "createObjectWriter", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17187, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsDAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "bool", "Ret", "=", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "processFunctionAfterISel", "(", "MF", ")", ";", "return", "Ret", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsISelDAGToDAG29", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17188, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86DAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "OptForSize", "=", "MF", "->", "getFunction", "(", ")", "->", "optForSize", "(", ")", ";", "OptForMinSize", "=", "MF", "->", "getFunction", "(", ")", "->", "optForMinSize", "(", ")", ";", "assert", "(", "(", "!", "OptForMinSize", "||", "OptForSize", ")", "&&", "\"OptForMinSize implies OptForSize\"", ")", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "&", "*", "I", "++", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "(", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", "&&", "!", "Subtarget", "->", "slowTwoMemOps", "(", ")", ")", "||", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "TC_RETURN", "&&", "(", "Subtarget", "->", "is64Bit", "(", ")", "||", "!", "getTargetMachine", "(", ")", ".", "isPositionIndependent", "(", ")", ")", ")", ")", ")", "{", "bool", "HasCallSeq", "=", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", ";", "SDValue", "Chain", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Load", "=", "N", "->", "getOperand", "(", "1", ")", ";", "if", "(", "!", "isCalleeLoad", "(", "Load", ",", "Chain", ",", "HasCallSeq", ")", ")", "continue", ";", "moveBelowOrigChain", "(", "CurDAG", ",", "Load", ",", "SDValue", "(", "N", ",", "0", ")", ",", "Chain", ")", ";", "++", "NumLoadMoved", ";", "continue", ";", "}", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_ROUND", "&&", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "MVT", "SrcVT", "=", "N", "->", "getOperand", "(", "0", ")", ".", "getSimpleValueType", "(", ")", ";", "MVT", "DstVT", "=", "N", "->", "getSimpleValueType", "(", "0", ")", ";", "if", "(", "SrcVT", ".", "isVector", "(", ")", "||", "DstVT", ".", "isVector", "(", ")", ")", "continue", ";", "const", "X86TargetLowering", "*", "X86Lowering", "=", "static_cast", "<", "const", "X86TargetLowering", "*", ">", "(", "TLI", ")", ";", "bool", "SrcIsSSE", "=", "X86Lowering", "->", "isScalarFPTypeInSSEReg", "(", "SrcVT", ")", ";", "bool", "DstIsSSE", "=", "X86Lowering", "->", "isScalarFPTypeInSSEReg", "(", "DstVT", ")", ";", "if", "(", "SrcIsSSE", "&&", "DstIsSSE", ")", "continue", ";", "if", "(", "!", "SrcIsSSE", "&&", "!", "DstIsSSE", ")", "{", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "if", "(", "N", "->", "getConstantOperandVal", "(", "1", ")", ")", "continue", ";", "}", "MVT", "MemVT", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_ROUND", ")", "MemVT", "=", "DstVT", ";", "else", "MemVT", "=", "SrcIsSSE", "?", "SrcVT", ":", "DstVT", ";", "SDValue", "MemTmp", "=", "CurDAG", "->", "CreateStackTemporary", "(", "MemVT", ")", ";", "SDLoc", "dl", "(", "N", ")", ";", "SDValue", "Store", "=", "CurDAG", "->", "getTruncStore", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "dl", ",", "N", "->", "getOperand", "(", "0", ")", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ")", ";", "SDValue", "Result", "=", "CurDAG", "->", "getExtLoad", "(", "ISD", "::", "EXTLOAD", ",", "dl", ",", "DstVT", ",", "Store", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ")", ";", "--", "I", ";", "CurDAG", "->", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "0", ")", ",", "Result", ")", ";", "++", "I", ";", "CurDAG", "->", "DeleteNode", "(", "N", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["X86", "X86", "\"OptForMinSize implies OptForSize\"", "X86ISD::CALL", "X86ISD::TC_RETURN", "X86ISD::CALL", "0", "1", "0", "ISD::FP_ROUND", "ISD::FP_EXTEND", "0", "0", "X86", "X86", "X86", "X86", "X86", "ISD::FP_EXTEND", "1", "ISD::FP_ROUND", "0", "ISD::EXTLOAD", "0"], "File": "X86ISelDAGToDAG40", "Func": "PreprocessISelDAG", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17189, "Length": 479, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "aarch64_widest_sve_pred_elt_size", "(", "rtx_vector_builder", "&", "builder", ")", "{", "unsigned", "int", "mask", "=", "GET_MODE_SIZE", "(", "DImode", ")", ";", "mask", "|=", "builder", ".", "npatterns", "(", ")", ";", "unsigned", "int", "nelts", "=", "builder", ".", "encoded_nelts", "(", ")", ";", "for", "(", "unsigned", "int", "i", "=", "1", ";", "i", "<", "nelts", ";", "++", "i", ")", "if", "(", "INTVAL", "(", "builder", ".", "elt", "(", "i", ")", ")", "!=", "0", ")", "{", "if", "(", "i", "&", "1", ")", "return", "1", ";", "mask", "|=", "i", ";", "}", "return", "mask", "&", "-", "mask", ";", "}", ""], "natrual_language": ["BUILDER", "contains", "a", "predicate", "constant", "of", "mode", "VNx16BI", ".", "Return", "the", "widest", "predicate", "element", "size", "it", "can", "have", "(", "that", "is", ",", "the", "largest", "size", "for", "which", "each", "element", "would", "still", "be", "0", "or", "1", ")", "."], "TS_V_token": ["aarch64", "1", "0", "1", "1"], "File": "aarch64", "Func": "aarch64_widest_sve_pred_elt_size", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17190, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "KudeyarFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "{", "int", "FrameIdx", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "CreateFixedObject", "(", "4", ",", "-", "4", ",", "true", ")", ";", "(", "void", ")", "FrameIdx", ";", "assert", "(", "FrameIdx", "==", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectIndexBegin", "(", ")", "&&", "\"Slot for FP 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": ["Kudeyar", "Kudeyar", "4", "4", "\"Slot for FP register must be last in order to be found!\""], "File": "KudeyarFrameLowering", "Func": "processFunctionBeforeFrameFinalized", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17191, "Length": 79, "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": 17192, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_asm_output_alias", "(", "FILE", "*", "stream", ",", "const", "tree", "decl", ",", "const", "tree", "target", ")", "{", "const", "char", "*", "name", "=", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "decl", ")", ",", "0", ")", ",", "0", ")", ";", "const", "char", "*", "value", "=", "IDENTIFIER_POINTER", "(", "target", ")", ";", "aarch64_asm_output_variant_pcs", "(", "stream", ",", "decl", ",", "name", ")", ";", "ASM_OUTPUT_DEF", "(", "stream", ",", "name", ",", "value", ")", ";", "}", ""], "natrual_language": ["Implement", "ASM_OUTPUT_DEF_FROM_DECLS", ".", "Output", ".variant_pcs", "for", "aliases", "."], "TS_V_token": ["aarch64", "0", "0"], "File": "aarch64", "Func": "aarch64_asm_output_alias", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17193, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TOYAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "llvm_unreachable", "(", "\"PrintAsmOperand not implemented yet!\\n\"", ")", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["TOY", "TOY", "\"PrintAsmOperand not implemented yet!\\n\""], "File": "TOYAsmPrinter", "Func": "PrintAsmOperand", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17194, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "PPCAIXAsmPrinter", "::", "lowerConstant", "(", "const", "Constant", "*", "CV", ")", "{", "if", "(", "const", "Function", "*", "F", "=", "dyn_cast", "<", "Function", ">", "(", "CV", ")", ")", "{", "MCSymbolXCOFF", "*", "FSym", "=", "cast", "<", "MCSymbolXCOFF", ">", "(", "getSymbol", "(", "F", ")", ")", ";", "if", "(", "!", "FSym", "->", "hasContainingCsect", "(", ")", ")", "{", "MCSectionXCOFF", "*", "Csect", "=", "cast", "<", "MCSectionXCOFF", ">", "(", "F", "->", "isDeclaration", "(", ")", "?", "getObjFileLowering", "(", ")", ".", "getSectionForExternalReference", "(", "F", ",", "TM", ")", ":", "getObjFileLowering", "(", ")", ".", "getSectionForFunctionDescriptor", "(", "FSym", ")", ")", ";", "FSym", "->", "setContainingCsect", "(", "Csect", ")", ";", "}", "return", "MCSymbolRefExpr", "::", "create", "(", "FSym", "->", "getContainingCsect", "(", ")", "->", "getQualNameSymbol", "(", ")", ",", "OutContext", ")", ";", "}", "return", "PPCAsmPrinter", "::", "lowerConstant", "(", "CV", ")", ";", "}", ""], "natrual_language": ["Lower", "the", "specified", "LLVM", "Constant", "to", "an", "MCExpr", "."], "TS_V_token": ["PowerPC", "PPC", "PPC"], "File": "PPCAsmPrinter124", "Func": "lowerConstant", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17195, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64InstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "AArch64", "::", "LDRWui", ":", "case", "AArch64", "::", "LDRXui", ":", "case", "AArch64", "::", "LDRBui", ":", "case", "AArch64", "::", "LDRHui", ":", "case", "AArch64", "::", "LDRSui", ":", "case", "AArch64", "::", "LDRDui", ":", "case", "AArch64", "::", "LDRQui", ":", "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": ["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": ["AArch64", "AArch64", "AArch64::LDRWui", "AArch64::LDRXui", "AArch64::LDRBui", "AArch64::LDRHui", "AArch64::LDRSui", "AArch64::LDRDui", "AArch64::LDRQui", "0", "0", "1", "2", "2", "0", "1", "0", "0"], "File": "AArch64InstrInfo1", "Func": "isLoadFromStackSlot", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17196, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "ARMCC", "::", "CondCodes", "getPredicate", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCInstrInfo", "&", "Info", ",", "unsigned", "&", "PredReg", ")", "{", "const", "MCInstrDesc", "&", "Desc", "=", "Info", ".", "get", "(", "Inst", ".", "getOpcode", "(", ")", ")", ";", "int", "PIdx", "=", "Desc", ".", "findFirstPredOperandIdx", "(", ")", ";", "if", "(", "PIdx", "==", "-", "1", ")", "{", "PredReg", "=", "0", ";", "return", "ARMCC", "::", "AL", ";", "}", "PredReg", "=", "Inst", ".", "getOperand", "(", "PIdx", "+", "1", ")", ".", "getReg", "(", ")", ";", "return", "static_cast", "<", "ARMCC", "::", "CondCodes", ">", "(", "Inst", ".", "getOperand", "(", "PIdx", ")", ".", "getImm", "(", ")", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "comparison", "predicate", "underlying", "the", "intrinsic", "."], "TS_V_token": ["ARM", "ARMCC::CondCodes", "1", "0", "ARMCC::AL", "1", "ARMCC::CondCodes"], "File": "ARMMCNaClExpander", "Func": "getPredicate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17197, "Length": 100, "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", ",", "StringRef", "SymName", "=", "StringRef", "(", ")", ",", "void", "*", "OpDecl", "=", "nullptr", ",", "unsigned", "FrontendSize", "=", "0", ")", "{", "assert", "(", "(", "SegReg", "||", "BaseReg", "||", "IndexReg", ")", "&&", "\"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", ".", "IndexReg", "=", "IndexReg", ";", "Res", "->", "Mem", ".", "Scale", "=", "Scale", ";", "Res", "->", "Mem", ".", "Size", "=", "Size", ";", "Res", "->", "Mem", ".", "ModeSize", "=", "ModeSize", ";", "Res", "->", "Mem", ".", "FrontendSize", "=", "FrontendSize", ";", "Res", "->", "SymName", "=", "SymName", ";", "Res", "->", "OpDecl", "=", "OpDecl", ";", "Res", "->", "AddressOf", "=", "false", ";", "return", "Res", ";", "}", ""], "natrual_language": ["Create", "a", "generalized", "memory", "operand", "."], "TS_V_token": ["X86", "X86", "0", "0", "\"Invalid memory operand!\"", "1", "2", "4", "8", "\"Invalid scale!\"", "X86"], "File": "X86Operand14", "Func": "CreateMem", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17198, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "DestReg", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "bool", "isAligned", "=", "(", "RI", ".", "getStackAlignment", "(", ")", ">=", "16", ")", "||", "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": "X86InstrInfo134", "Func": "loadRegFromStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17199, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "X86TargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", "DL", ",", "LLVMContext", "&", "Context", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "MVT", "::", "i8", ";", "if", "(", "Subtarget", ".", "hasAVX512", "(", ")", ")", "{", "const", "unsigned", "NumElts", "=", "VT", ".", "getVectorNumElements", "(", ")", ";", "EVT", "LegalVT", "=", "VT", ";", "while", "(", "getTypeAction", "(", "Context", ",", "LegalVT", ")", "!=", "TypeLegal", ")", "LegalVT", "=", "getTypeToTransformTo", "(", "Context", ",", "LegalVT", ")", ";", "if", "(", "LegalVT", ".", "getSimpleVT", "(", ")", ".", "is512BitVector", "(", ")", ")", "return", "EVT", "::", "getVectorVT", "(", "Context", ",", "MVT", "::", "i1", ",", "NumElts", ")", ";", "if", "(", "LegalVT", ".", "getSimpleVT", "(", ")", ".", "isVector", "(", ")", "&&", "Subtarget", ".", "hasVLX", "(", ")", ")", "{", "MVT", "EltVT", "=", "LegalVT", ".", "getSimpleVT", "(", ")", ".", "getVectorElementType", "(", ")", ";", "if", "(", "Subtarget", ".", "hasBWI", "(", ")", "||", "EltVT", ".", "getSizeInBits", "(", ")", ">=", "32", ")", "return", "EVT", "::", "getVectorVT", "(", "Context", ",", "MVT", "::", "i1", ",", "NumElts", ")", ";", "}", "}", "return", "VT", ".", "changeVectorElementTypeToInteger", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["X86", "X86", "MVT::i8", "MVT::i1", "32", "MVT::i1"], "File": "X86ISelLowering (2)6", "Func": "getSetCCResultType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17200, "Length": 175, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "TOY", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["TOY", "TOY::NumTargetFixupKinds"], "File": "TOYAsmBackend1", "Func": "getNumFixupKinds", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17201, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "DestSourcePair", ">", "ARMBaseInstrInfo", "::", "isAddImmediate", "(", "const", "MachineInstr", "&", "MI", ",", "int64_t", "&", "Offset", ")", "const", "{", "int", "Sign", "=", "1", ";", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "Opcode", "==", "ARM", "::", "SUBri", ")", "Sign", "=", "-", "1", ";", "else", "if", "(", "Opcode", "!=", "ARM", "::", "ADDri", ")", "return", "None", ";", "if", "(", "!", "MI", ".", "getOperand", "(", "0", ")", ".", "isReg", "(", ")", "||", "!", "MI", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "||", "!", "MI", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", ")", "return", "None", ";", "Offset", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "*", "Sign", ";", "return", "DestSourcePair", "{", "MI", ".", "getOperand", "(", "0", ")", ",", "MI", ".", "getOperand", "(", "1", ")", "}", ";", "}", ""], "natrual_language": ["If", "the", "specific", "machine", "instruction", "is", "an", "instruction", "that", "adds", "an", "immediate", "value", "and", "a", "register", ",", "and", "stores", "the", "result", "in", "the", "given", "register", "Reg", ",", "return", "a", "pair", "of", "the", "source", "register", "and", "the", "offset", "which", "has", "been", "added", "."], "TS_V_token": ["ARM", "ARM", "1", "ARM::SUBri", "1", "ARM::ADDri", "0", "1", "2", "2", "0", "1"], "File": "ARMBaseInstrInfo129", "Func": "isAddImmediate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17202, "Length": 133, "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": 17203, "Length": 495, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mmix_asm_output_aligned_local", "(", "FILE", "*", "stream", ",", "const", "char", "*", "name", ",", "int", "size", ",", "int", "align", ")", "{", "switch_to_section", "(", "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": "mmix", "Func": "mmix_asm_output_aligned_local", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17204, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "getExceptionPointerRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "override", "{", "return", "SP", "::", "I0", ";", "}", ""], "natrual_language": ["If", "a", "physical", "register", ",", "this", "returns", "the", "register", "that", "receives", "the", "exception", "address", "on", "entry", "to", "an", "EH", "pad", "."], "TS_V_token": ["Sparc", "SP::I0"], "File": "SparcISelLowering19", "Func": "getExceptionPointerRegister", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17205, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "override", "{", "bool", "Changed", "=", "false", ";", "Subtarget", "=", "&", "F", ".", "getSubtarget", "<", "SparcSubtarget", ">", "(", ")", ";", "F", ".", "getRegInfo", "(", ")", ".", "invalidateLiveness", "(", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "F", ")", "Changed", "|=", "runOnMachineBasicBlock", "(", "MBB", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Sparc", "Sparc"], "File": "DelaySlotFiller20", "Func": "runOnMachineFunction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17206, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "X86Subtarget", "*", "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": ["X86", "X86"], "File": "X86TargetMachine13", "Func": "getSubtargetImpl", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17207, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "override", "{", "bool", "Changed", "=", "false", ";", "if", "(", "EnableDelJmp", ")", "{", "MachineFunction", "::", "iterator", "FJ", "=", "F", ".", "begin", "(", ")", ";", "if", "(", "FJ", "!=", "F", ".", "end", "(", ")", ")", "FJ", "++", ";", "if", "(", "FJ", "==", "F", ".", "end", "(", ")", ")", "return", "Changed", ";", "for", "(", "MachineFunction", "::", "iterator", "FI", "=", "F", ".", "begin", "(", ")", ",", "FE", "=", "F", ".", "end", "(", ")", ";", "FJ", "!=", "FE", ";", "++", "FI", ",", "++", "FJ", ")", "{", "Changed", "|=", "runOnMachineBasicBlock", "(", "*", "FI", ",", "*", "FJ", ")", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Cpu0"], "File": "Cpu0DelUselessJMP1", "Func": "runOnMachineFunction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17208, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "thumb1_gen_const_int_rtl", "(", "rtx", "dst", ",", "HOST_WIDE_INT", "op1", ")", "{", "thumb1_const_rtl", "t", "(", "dst", ")", ";", "thumb1_gen_const_int_1", "(", "t", ",", "op1", ")", ";", "}", ""], "natrual_language": ["Proxies", "for", "thumb1.md", ",", "since", "the", "thumb1_const_print", "and", "thumb1_const_rtl", "classes", "are", "not", "exported", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "thumb1_gen_const_int_rtl", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17209, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "vector_init_bshuffle", "(", "rtx", "target", ",", "rtx", "elt", ",", "machine_mode", "mode", ",", "machine_mode", "inner_mode", ")", "{", "rtx", "t1", ",", "final_insn", ",", "sel", ";", "int", "bmask", ";", "t1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "elt", "=", "convert_modes", "(", "SImode", ",", "inner_mode", ",", "elt", ",", "true", ")", ";", "emit_move_insn", "(", "gen_lowpart", "(", "SImode", ",", "t1", ")", ",", "elt", ")", ";", "switch", "(", "mode", ")", "{", "case", "V2SImode", ":", "final_insn", "=", "gen_bshufflev2si_vis", "(", "target", ",", "t1", ",", "t1", ")", ";", "bmask", "=", "0x45674567", ";", "break", ";", "case", "V4HImode", ":", "final_insn", "=", "gen_bshufflev4hi_vis", "(", "target", ",", "t1", ",", "t1", ")", ";", "bmask", "=", "0x67676767", ";", "break", ";", "case", "V8QImode", ":", "final_insn", "=", "gen_bshufflev8qi_vis", "(", "target", ",", "t1", ",", "t1", ")", ";", "bmask", "=", "0x77777777", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "sel", "=", "force_reg", "(", "SImode", ",", "GEN_INT", "(", "bmask", ")", ")", ";", "emit_insn", "(", "gen_bmasksi_vis", "(", "gen_rtx_REG", "(", "SImode", ",", "0", ")", ",", "sel", ",", "const0_rtx", ")", ")", ";", "emit_insn", "(", "final_insn", ")", ";", "}", ""], "natrual_language": ["Subroutine", "of", "sparc_expand_vector_init", ".", "Emit", "code", "to", "initialize", "all", "fields", "of", "TARGET", "to", "ELT", "by", "means", "of", "VIS2", "BSHUFFLE", "insn", ".", "MODE", "and", "INNER_MODE", "are", "the", "modes", "describing", "TARGET", "."], "TS_V_token": ["sparc", "0x45674567", "0x67676767", "0x77777777", "0"], "File": "sparc4", "Func": "vector_init_bshuffle", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17210, "Length": 166, "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": 17211, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "pru_function_arg", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "rtx", "return_rtx", "=", "NULL_RTX", ";", "int", "regi", "=", "pru_function_arg_regi", "(", "cum_v", ",", "arg", ".", "mode", ",", "arg", ".", "type", ",", "arg", ".", "named", ")", ";", "if", "(", "regi", ">=", "0", ")", "return_rtx", "=", "gen_rtx_REG", "(", "arg", ".", "mode", ",", "regi", ")", ";", "return", "return_rtx", ";", "}", ""], "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", ".", "CUM", "is", "a", "variable", "of", "type", "CUMULATIVE_ARGS", "which", "gives", "info", "about", "the", "preceding", "args", "and", "about", "the", "function", "being", "called", ".", "ARG", "is", "a", "description", "of", "the", "argument", "."], "TS_V_token": ["pru", "0"], "File": "pru", "Func": "pru_function_arg", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17212, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "ARMTargetLowering", "::", "emitLoadLinked", "(", "IRBuilderBase", "&", "Builder", ",", "Type", "*", "ValueTy", ",", "Value", "*", "Addr", ",", "AtomicOrdering", "Ord", ")", "const", "{", "Module", "*", "M", "=", "Builder", ".", "GetInsertBlock", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "bool", "IsAcquire", "=", "isAcquireOrStronger", "(", "Ord", ")", ";", "if", "(", "ValueTy", "->", "getPrimitiveSizeInBits", "(", ")", "==", "64", ")", "{", "Intrinsic", "::", "ID", "Int", "=", "IsAcquire", "?", "Intrinsic", "::", "arm_ldaexd", ":", "Intrinsic", "::", "arm_ldrexd", ";", "Function", "*", "Ldrex", "=", "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", ",", "ValueTy", ",", "\"lo64\"", ")", ";", "Hi", "=", "Builder", ".", "CreateZExt", "(", "Hi", ",", "ValueTy", ",", "\"hi64\"", ")", ";", "return", "Builder", ".", "CreateOr", "(", "Lo", ",", "Builder", ".", "CreateShl", "(", "Hi", ",", "ConstantInt", "::", "get", "(", "ValueTy", ",", "32", ")", ")", ",", "\"val64\"", ")", ";", "}", "Type", "*", "Tys", "[", "]", "=", "{", "Addr", "->", "getType", "(", ")", "}", ";", "Intrinsic", "::", "ID", "Int", "=", "IsAcquire", "?", "Intrinsic", "::", "arm_ldaex", ":", "Intrinsic", "::", "arm_ldrex", ";", "Function", "*", "Ldrex", "=", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "Int", ",", "Tys", ")", ";", "return", "Builder", ".", "CreateTruncOrBitCast", "(", "Builder", ".", "CreateCall", "(", "Ldrex", ",", "Addr", ")", ",", "ValueTy", ")", ";", "}", ""], "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)5", "Func": "emitLoadLinked", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17213, "Length": 286, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_modes_tieable_p", "(", "machine_mode", "mode1", ",", "machine_mode", "mode2", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "mode1", ")", "==", "GET_MODE_CLASS", "(", "mode2", ")", ")", "return", "true", ";", "if", "(", "TARGET_NEON", "&&", "(", "VALID_NEON_DREG_MODE", "(", "mode1", ")", "||", "VALID_NEON_QREG_MODE", "(", "mode1", ")", "||", "VALID_NEON_STRUCT_MODE", "(", "mode1", ")", ")", "&&", "(", "VALID_NEON_DREG_MODE", "(", "mode2", ")", "||", "VALID_NEON_QREG_MODE", "(", "mode2", ")", "||", "VALID_NEON_STRUCT_MODE", "(", "mode2", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "MODES_TIEABLE_P", "."], "TS_V_token": ["arm"], "File": "arm7", "Func": "arm_modes_tieable_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17214, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPreLegalizeMachineIR", "(", ")", "{", "bool", "IsOptNone", "=", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ";", "addPass", "(", "createAArch64PreLegalizerCombiner", "(", "IsOptNone", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "legalization", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine33", "Func": "addPreLegalizeMachineIR", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17215, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_check_avx256_stores", "(", "rtx", "dest", ",", "const_rtx", ",", "void", "*", "data", ")", "{", "if", "(", "ix86_check_avx256_register", "(", "dest", ")", ")", "{", "bool", "*", "used", "=", "(", "bool", "*", ")", "data", ";", "*", "used", "=", "true", ";", "}", "}", ""], "natrual_language": ["Check", "if", "a", "256bit", "AVX", "register", "is", "referenced", "in", "stores", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_check_avx256_stores", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17216, "Length": 39, "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": 17217, "Length": 117, "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": 17218, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "loongarch_split_symbol", "(", "rtx", "temp", ",", "rtx", "addr", ",", "machine_mode", "mode", ",", "rtx", "*", "low_out", ")", "{", "enum", "loongarch_symbol_type", "symbol_type", ";", "if", "(", "!", "TARGET_EXPLICIT_RELOCS", ")", "return", "false", ";", "if", "(", "(", "GET_CODE", "(", "addr", ")", "==", "HIGH", "&&", "mode", "==", "MAX_MACHINE_MODE", ")", "||", "!", "loongarch_symbolic_constant_p", "(", "addr", ",", "&", "symbol_type", ")", "||", "loongarch_symbol_insns", "(", "symbol_type", ",", "mode", ")", "==", "0", "||", "!", "loongarch_split_symbol_type", "(", "symbol_type", ")", ")", "return", "false", ";", "rtx", "high", ",", "temp1", "=", "NULL", ";", "if", "(", "temp", "==", "NULL", ")", "temp", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "high", "=", "gen_rtx_HIGH", "(", "Pmode", ",", "copy_rtx", "(", "addr", ")", ")", ";", "high", "=", "loongarch_force_temporary", "(", "temp", ",", "high", ")", ";", "if", "(", "loongarch_symbol_extreme_p", "(", "symbol_type", ")", "&&", "can_create_pseudo_p", "(", ")", ")", "{", "gcc_assert", "(", "TARGET_EXPLICIT_RELOCS", ")", ";", "temp1", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_move_insn", "(", "temp1", ",", "gen_rtx_LO_SUM", "(", "Pmode", ",", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ",", "addr", ")", ")", ";", "emit_insn", "(", "gen_lui_h_lo20", "(", "temp1", ",", "temp1", ",", "addr", ")", ")", ";", "emit_insn", "(", "gen_lui_h_hi12", "(", "temp1", ",", "temp1", ",", "addr", ")", ")", ";", "}", "if", "(", "low_out", ")", "switch", "(", "symbol_type", ")", "{", "case", "SYMBOL_PCREL64", ":", "if", "(", "can_create_pseudo_p", "(", ")", ")", "{", "*", "low_out", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "high", ",", "temp1", ")", ";", "break", ";", "}", "case", "SYMBOL_PCREL", ":", "*", "low_out", "=", "gen_rtx_LO_SUM", "(", "Pmode", ",", "high", ",", "addr", ")", ";", "break", ";", "case", "SYMBOL_GOT_DISP", ":", "{", "if", "(", "TARGET_CMODEL_EXTREME", "&&", "can_create_pseudo_p", "(", ")", ")", "*", "low_out", "=", "gen_rtx_MEM", "(", "Pmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "high", ",", "temp1", ")", ")", ";", "else", "{", "rtx", "low", "=", "gen_rtx_LO_SUM", "(", "Pmode", ",", "high", ",", "addr", ")", ";", "rtx", "mem", "=", "gen_rtx_MEM", "(", "Pmode", ",", "low", ")", ";", "*", "low_out", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "mem", ")", ",", "UNSPEC_LOAD_FROM_GOT", ")", ";", "}", "break", ";", "}", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["If", "MODE", "is", "MAX_MACHINE_MODE", ",", "ADDR", "appears", "as", "a", "move", "operand", ",", "otherwise", "it", "appears", "in", "a", "MEM", "of", "that", "mode", ".", "Return", "true", "if", "ADDR", "is", "a", "legitimate", "constant", "in", "that", "context", "and", "can", "be", "split", "into", "high", "and", "low", "parts", ".", "If", "so", ",", "and", "if", "LOW_OUT", "is", "nonnull", ",", "emit", "the", "high", "part", "and", "store", "the", "low", "part", "in", "*", "LOW_OUT", ".", "Leave", "*", "LOW_OUT", "unchanged", "otherwise", ".", "Return", "false", "if", "build", "with", "'-mno-explicit-relocs", "'", ".", "TEMP", "is", "as", "for", "loongarch_force_temporary", "and", "is", "used", "to", "load", "the", "high", "part", "into", "a", "register", ".", "When", "MODE", "is", "MAX_MACHINE_MODE", ",", "the", "low", "part", "is", "guaranteed", "to", "be", "a", "legitimize", "SET_SRC", "for", "an", ".md", "pattern", ",", "otherwise", "the", "low", "part", "is", "guaranteed", "to", "be", "a", "legitimate", "address", "for", "mode", "MODE", "."], "TS_V_token": ["loongarch", "0", "0", "1"], "File": "loongarch1", "Func": "loongarch_split_symbol", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17219, "Length": 316, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86ATTInstPrinter", "::", "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": "X86ATTInstPrinter39", "Func": "printPCRelImm", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17220, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_emit_stack_reset", "(", "rs6000_stack_t", "*", "info", ",", "rtx", "frame_reg_rtx", ",", "HOST_WIDE_INT", "frame_off", ",", "unsigned", "updt_regno", ")", "{", "rtx", "updt_reg_rtx", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", "||", "(", "TARGET_SPE_ABI", "&&", "info", "->", "spe_64bit_regs_used", "!=", "0", "&&", "info", "->", "first_gp_reg_save", "!=", "32", ")", ")", "rs6000_emit_stack_tie", "(", "frame_reg_rtx", ",", "frame_pointer_needed", ")", ";", "updt_reg_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "updt_regno", ")", ";", "if", "(", "frame_off", "!=", "0", ")", "return", "emit_insn", "(", "gen_add3_insn", "(", "updt_reg_rtx", ",", "frame_reg_rtx", ",", "GEN_INT", "(", "frame_off", ")", ")", ")", ";", "else", "if", "(", "REGNO", "(", "frame_reg_rtx", ")", "!=", "updt_regno", ")", "return", "emit_move_insn", "(", "updt_reg_rtx", ",", "frame_reg_rtx", ")", ";", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Emit", "a", "sequence", "of", "insns", ",", "including", "a", "stack", "tie", "if", "needed", ",", "for", "resetting", "the", "stack", "pointer", ".", "If", "UPDT_REGNO", "is", "not", "1", ",", "then", "do", "n't", "reset", "the", "stack", "pointer", ",", "but", "move", "the", "base", "of", "the", "frame", "into", "reg", "UPDT_REGNO", "for", "use", "by", "out-of-line", "register", "restore", "routines", "."], "TS_V_token": ["rs6000", "0", "32", "0"], "File": "rs60004", "Func": "rs6000_emit_stack_reset", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17221, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "RegInfo", "->", "needsStackRealignment", "(", "MF", ")", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", "||", "MFI", "->", "isFrameAddressTaken", "(", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcFrameLowering (2)", "Func": "hasFP", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17222, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "internalKnownBits", "(", ")", "const", "{", "unsigned", "Bits", "=", "Unalign", "?", "Unalign", ":", "KnownBits", ";", "if", "(", "Size", "&", "(", "(", "1u", "<<", "Bits", ")", "-", "1", ")", ")", "Bits", "=", "countTrailingZeros", "(", "Size", ")", ";", "return", "Bits", ";", "}", ""], "natrual_language": ["Compute", "the", "number", "of", "known", "offset", "bits", "internally", "to", "this", "block", "."], "TS_V_token": ["AArch64", "1u", "1"], "File": "AArch64BranchFixupPass1", "Func": "internalKnownBits", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17223, "Length": 40, "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", ":", "case", "vector_gather_load", ":", "return", "costs", "->", "vec_unalign_load_cost", ";", "case", "unaligned_store", ":", "case", "vector_scatter_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", "=", "estimated_poly_value", "(", "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": "aarch64", "Func": "aarch64_builtin_vectorization_cost", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17224, "Length": 215, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "finish_bundle_state_table", "(", "void", ")", "{", "delete", "bundle_state_table", ";", "bundle_state_table", "=", "NULL", ";", "}", ""], "natrual_language": ["Finish", "work", "with", "the", "hash", "table", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "finish_bundle_state_table", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17225, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Windows 32-bit x86 EH state insertion\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"Windows 32-bit x86 EH state insertion\""], "File": "X86WinEHState1", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17226, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "LLT", "AArch64TargetLowering", "::", "getOptimalMemOpLLT", "(", "const", "MemOp", "&", "Op", ",", "const", "AttributeList", "&", "FuncAttributes", ")", "const", "{", "bool", "CanImplicitFloat", "=", "!", "FuncAttributes", ".", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ";", "bool", "CanUseNEON", "=", "Subtarget", "->", "hasNEON", "(", ")", "&&", "CanImplicitFloat", ";", "bool", "CanUseFP", "=", "Subtarget", "->", "hasFPARMv8", "(", ")", "&&", "CanImplicitFloat", ";", "bool", "IsSmallMemset", "=", "Op", ".", "isMemset", "(", ")", "&&", "Op", ".", "size", "(", ")", "<", "32", ";", "auto", "AlignmentIsAcceptable", "=", "[", "&", "]", "(", "EVT", "VT", ",", "Align", "AlignCheck", ")", "{", "if", "(", "Op", ".", "isAligned", "(", "AlignCheck", ")", ")", "return", "true", ";", "bool", "Fast", ";", "return", "allowsMisalignedMemoryAccesses", "(", "VT", ",", "0", ",", "Align", "(", "1", ")", ",", "MachineMemOperand", "::", "MONone", ",", "&", "Fast", ")", "&&", "Fast", ";", "}", ";", "if", "(", "CanUseNEON", "&&", "Op", ".", "isMemset", "(", ")", "&&", "!", "IsSmallMemset", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "v2i64", ",", "Align", "(", "16", ")", ")", ")", "return", "LLT", "::", "vector", "(", "2", ",", "64", ")", ";", "if", "(", "CanUseFP", "&&", "!", "IsSmallMemset", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "f128", ",", "Align", "(", "16", ")", ")", ")", "return", "LLT", "::", "scalar", "(", "128", ")", ";", "if", "(", "Op", ".", "size", "(", ")", ">=", "8", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "i64", ",", "Align", "(", "8", ")", ")", ")", "return", "LLT", "::", "scalar", "(", "64", ")", ";", "if", "(", "Op", ".", "size", "(", ")", ">=", "4", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "i32", ",", "Align", "(", "4", ")", ")", ")", "return", "LLT", "::", "scalar", "(", "32", ")", ";", "return", "LLT", "(", ")", ";", "}", ""], "natrual_language": ["LLT", "returning", "variant", "."], "TS_V_token": ["AArch64", "AArch64", "32", "0", "1", "MVT::v2i64", "16", "2", "64", "MVT::f128", "16", "128", "8", "MVT::i64", "8", "64", "4", "MVT::i32", "4", "32"], "File": "AArch64ISelLowering111", "Func": "getOptimalMemOpLLT", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17227, "Length": 250, "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": ["CSKY"], "File": "CSKYAsmParser", "Func": "getStartLoc", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17228, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LC2200AsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "Operands", ".", "push_back", "(", "LC2200Operand", "::", "CreateToken", "(", "Name", ",", "NameLoc", ")", ")", ";", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "return", "false", ";", "if", "(", "ParseOperand", "(", "Operands", ")", ")", "return", "true", ";", "while", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "getLexer", "(", ")", ".", "Lex", "(", ")", ";", "continue", ";", "}", "if", "(", "ParseOperand", "(", "Operands", ")", ")", "return", "true", ";", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "return", "Error", "(", "getLexer", "(", ")", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ",", "\"unexpected token in operand list\"", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["LC2200", "LC2200", "LC2200Operand::CreateToken", "\"unexpected token in operand list\""], "File": "LC2200AsmParser", "Func": "ParseInstruction", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17229, "Length": 145, "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", "(", "Inst", ".", "getNumOperands", "(", ")", "==", "0", ")", "return", "false", ";", "if", "(", "Info", "->", "get", "(", "Inst", ".", "getOpcode", "(", ")", ")", ".", "OpInfo", "[", "0", "]", ".", "OperandType", "==", "MCOI", "::", "OPERAND_PCREL", ")", "{", "int64_t", "Imm", "=", "Inst", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "Target", "=", "Addr", "+", "Size", "+", "Imm", ";", "return", "true", ";", "}", "else", "{", "int64_t", "Imm", "=", "Inst", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "Imm", "==", "0", ")", "return", "false", ";", "Target", "=", "Imm", ";", "return", "true", ";", "}", "}", ""], "natrual_language": ["Given", "a", "branch", "instruction", "try", "to", "get", "the", "address", "the", "branch", "targets", "."], "TS_V_token": ["DLX", "0", "0", "0", "0", "0"], "File": "DLXMCTargetDesc", "Func": "evaluateBranch", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17230, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsFastISel", "::", "fastEmitInst_rr", "(", "unsigned", "MachineInstOpcode", ",", "const", "TargetRegisterClass", "*", "RC", ",", "unsigned", "Op0", ",", "unsigned", "Op1", ")", "{", "if", "(", "MachineInstOpcode", "==", "Mips", "::", "MUL", ")", "{", "Register", "ResultReg", "=", "createResultReg", "(", "RC", ")", ";", "const", "MCInstrDesc", "&", "II", "=", "TII", ".", "get", "(", "MachineInstOpcode", ")", ";", "Op0", "=", "constrainOperandRegClass", "(", "II", ",", "Op0", ",", "II", ".", "getNumDefs", "(", ")", ")", ";", "Op1", "=", "constrainOperandRegClass", "(", "II", ",", "Op1", ",", "II", ".", "getNumDefs", "(", ")", "+", "1", ")", ";", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "II", ",", "ResultReg", ")", ".", "addReg", "(", "Op0", ")", ".", "addReg", "(", "Op1", ")", ".", "addReg", "(", "Mips", "::", "HI0", ",", "RegState", "::", "ImplicitDefine", "|", "RegState", "::", "Dead", ")", ".", "addReg", "(", "Mips", "::", "LO0", ",", "RegState", "::", "ImplicitDefine", "|", "RegState", "::", "Dead", ")", ";", "return", "ResultReg", ";", "}", "return", "FastISel", "::", "fastEmitInst_rr", "(", "MachineInstOpcode", ",", "RC", ",", "Op0", ",", "Op1", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "MachineInstr", "with", "two", "register", "operands", "and", "a", "result", "register", "in", "the", "given", "register", "class", "."], "TS_V_token": ["Mips", "Mips", "Mips::MUL", "1", "Mips::HI0", "Mips::LO0"], "File": "MipsFastISel19", "Func": "fastEmitInst_rr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17231, "Length": 158, "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": 17232, "Length": 116, "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_arch5t", "&&", "TARGET_ARM", ")", "{", "if", "(", "!", "call_used_or_fixed_reg_p", "(", "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", "(", "IS_CMSE_ENTRY", "(", "func_type", ")", "&&", "(", "saved_int_regs", "||", "TARGET_HAVE_FPCXT_CMSE", ")", ")", "return", "0", ";", "if", "(", "saved_int_regs", "&&", "!", "(", "saved_int_regs", "&", "(", "1", "<<", "LR_REGNUM", ")", ")", ")", "return", "0", ";", "if", "(", "TARGET_VFP_BASE", ")", "for", "(", "regno", "=", "FIRST_VFP_REGNUM", ";", "regno", "<=", "LAST_VFP_REGNUM", ";", "regno", "++", ")", "if", "(", "reg_needs_saving_p", "(", "regno", ")", ")", "return", "0", ";", "if", "(", "TARGET_REALLY_IWMMXT", ")", "for", "(", "regno", "=", "FIRST_IWMMXT_REGNUM", ";", "regno", "<=", "LAST_IWMMXT_REGNUM", ";", "regno", "++", ")", "if", "(", "reg_needs_saving_p", "(", "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", "0", "1", "0", "0", "0", "1"], "File": "arm", "Func": "use_return_insn", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17233, "Length": 396, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "simd_vec_cost", "*", "aarch64_simd_vec_costs", "(", "tree", "vectype", ")", "{", "const", "cpu_vector_cost", "*", "costs", "=", "aarch64_tune_params", ".", "vec_costs", ";", "if", "(", "vectype", "!=", "NULL", "&&", "aarch64_sve_mode_p", "(", "TYPE_MODE", "(", "vectype", ")", ")", "&&", "costs", "->", "sve", "!=", "NULL", ")", "return", "costs", "->", "sve", ";", "return", "costs", "->", "advsimd", ";", "}", ""], "natrual_language": ["Return", "the", "appropriate", "SIMD", "costs", "for", "vectors", "of", "type", "VECTYPE", "."], "TS_V_token": ["aarch64"], "File": "aarch641", "Func": "aarch64_simd_vec_costs", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17234, "Length": 50, "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": 17235, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "PPCTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "EVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'b'", ":", "if", "(", "VT", "==", "MVT", "::", "i64", "&&", "PPCSubTarget", ".", "isPPC64", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "G8RC_NOX0RegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "GPRC_NOR0RegClass", ")", ";", "case", "'r'", ":", "if", "(", "VT", "==", "MVT", "::", "i64", "&&", "PPCSubTarget", ".", "isPPC64", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "G8RCRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "GPRCRegClass", ")", ";", "case", "'f'", ":", "if", "(", "VT", "==", "MVT", "::", "f32", "||", "VT", "==", "MVT", "::", "i32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "F4RCRegClass", ")", ";", "if", "(", "VT", "==", "MVT", "::", "f64", "||", "VT", "==", "MVT", "::", "i64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "F8RCRegClass", ")", ";", "break", ";", "case", "'v'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "VRRCRegClass", ")", ";", "case", "'y'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "PPC", "::", "CRRCRegClass", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["PowerPC", "PPC", "1", "0", "MVT::i64", "PPC", "PPC", "0U", "PPC::G8RC_NOX0RegClass", "0U", "PPC::GPRC_NOR0RegClass", "MVT::i64", "PPC", "PPC", "0U", "PPC::G8RCRegClass", "0U", "PPC::GPRCRegClass", "MVT::f32", "MVT::i32", "0U", "PPC::F4RCRegClass", "MVT::f64", "MVT::i64", "0U", "PPC::F8RCRegClass", "0U", "PPC::VRRCRegClass", "0U", "PPC::CRRCRegClass"], "File": "PPCISelLowering173", "Func": "getRegForInlineAsmConstraint", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17236, "Length": 235, "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": 17237, "Length": 240, "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", "::", "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::FRAMEADDR", "ISD::MEMBARRIER", "ISD::ATOMIC_FENCE"], "File": "MipsISelLowering (2)3", "Func": "LowerOperation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17238, "Length": 212, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "IA64RegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["IA64", "IA64"], "File": "IA64TargetMachine", "Func": "getRegisterInfo", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17239, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "splitVector", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ",", "const", "SDLoc", "&", "dl", ")", "{", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "unsigned", "NumElems", "=", "VT", ".", "getVectorNumElements", "(", ")", ";", "unsigned", "SizeInBits", "=", "VT", ".", "getSizeInBits", "(", ")", ";", "assert", "(", "(", "NumElems", "%", "2", ")", "==", "0", "&&", "(", "SizeInBits", "%", "2", ")", "==", "0", "&&", "\"Can't split odd sized vector\"", ")", ";", "SDValue", "Lo", "=", "extractSubVector", "(", "Op", ",", "0", ",", "DAG", ",", "dl", ",", "SizeInBits", "/", "2", ")", ";", "SDValue", "Hi", "=", "extractSubVector", "(", "Op", ",", "NumElems", "/", "2", ",", "DAG", ",", "dl", ",", "SizeInBits", "/", "2", ")", ";", "return", "std", "::", "make_pair", "(", "Lo", ",", "Hi", ")", ";", "}", ""], "natrual_language": ["Split", "a", "vector", "value", "into", "two", "parts", "of", "types", "LoVT", "and", "HiVT", "."], "TS_V_token": ["X86", "2", "0", "2", "0", "\"Can't split odd sized vector\"", "0", "2", "2", "2"], "File": "X86ISelLowering (2)5", "Func": "splitVector", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17240, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "loongarch_expand_scc", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "target", "=", "operands", "[", "0", "]", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "operands", "[", "1", "]", ")", ";", "rtx", "op0", "=", "operands", "[", "2", "]", ";", "rtx", "op1", "=", "operands", "[", "3", "]", ";", "loongarch_extend_comparands", "(", "code", ",", "&", "op0", ",", "&", "op1", ")", ";", "op0", "=", "force_reg", "(", "word_mode", ",", "op0", ")", ";", "gcc_assert", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "op0", ")", ")", "==", "MODE_INT", ")", ";", "if", "(", "code", "==", "EQ", "||", "code", "==", "NE", ")", "{", "rtx", "zie", "=", "loongarch_zero_if_equal", "(", "op0", ",", "op1", ")", ";", "loongarch_emit_binary", "(", "code", ",", "target", ",", "zie", ",", "const0_rtx", ")", ";", "}", "else", "loongarch_emit_int_order_test", "(", "code", ",", "0", ",", "target", ",", "op0", ",", "op1", ")", ";", "}", ""], "natrual_language": ["Try", "performing", "the", "comparison", "in", "OPERANDS", "[", "1", "]", ",", "whose", "arms", "are", "OPERANDS", "[", "2", "]", "and", "OPERAND", "[", "3", "]", ".", "Store", "the", "result", "in", "OPERANDS", "[", "0", "]", ".", "On", "64-bit", "targets", ",", "the", "mode", "of", "the", "comparison", "and", "target", "will", "always", "be", "SImode", ",", "thus", "possibly", "narrower", "than", "that", "of", "the", "comparison", "'s", "operands", "."], "TS_V_token": ["loongarch", "0", "1", "2", "3", "0"], "File": "loongarch", "Func": "loongarch_expand_scc", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17241, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Fast Tile Register Configure\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"Fast Tile Register Configure\""], "File": "X86FastTileConfig", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17242, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmBackend", "::", "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", "(", ")", ";", "MCContext", "&", "Ctx", "=", "Asm", ".", "getContext", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "+", "7", ")", "/", "8", ";", "unsigned", "FullSize", ";", "switch", "(", "(", "unsigned", ")", "Kind", ")", "{", "case", "FK_Data_2", ":", "case", "Mips", "::", "fixup_Mips_16", ":", "case", "Mips", "::", "fixup_MICROMIPS_PC10_S1", ":", "FullSize", "=", "2", ";", "break", ";", "case", "FK_Data_8", ":", "case", "Mips", "::", "fixup_Mips_64", ":", "FullSize", "=", "8", ";", "break", ";", "case", "Mips", "::", "fixup_CHERI_CAPABILITY", ":", "llvm_unreachable", "(", "\"fixup_CHERI_CAPABILITY shouldn't happen here!\"", ")", ";", "break", ";", "case", "FK_Data_4", ":", "default", ":", "FullSize", "=", "4", ";", "break", ";", "}", "uint64_t", "CurVal", "=", "0", ";", "bool", "microMipsLEByteOrder", "=", "needsMMLEByteOrder", "(", "(", "unsigned", ")", "Kind", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "Endian", "==", "support", "::", "little", "?", "(", "microMipsLEByteOrder", "?", "calculateMMLEIndex", "(", "i", ")", ":", "i", ")", ":", "(", "FullSize", "-", "1", "-", "i", ")", ";", "CurVal", "|=", "(", "uint64_t", ")", "(", "(", "uint8_t", ")", "Data", "[", "Offset", "+", "Idx", "]", ")", "<<", "(", "i", "*", "8", ")", ";", "}", "uint64_t", "Mask", "=", "(", "(", "uint64_t", ")", "(", "-", "1", ")", ">>", "(", "64", "-", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", ")", ";", "CurVal", "|=", "Value", "&", "Mask", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "Endian", "==", "support", "::", "little", "?", "(", "microMipsLEByteOrder", "?", "calculateMMLEIndex", "(", "i", ")", ":", "i", ")", ":", "(", "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": ["Mips", "Mips", "7", "8", "Mips::fixup_Mips_16", "Mips::fixup_MICROMIPS_PC10_S1", "2", "Mips::fixup_Mips_64", "8", "Mips::fixup_CHERI_CAPABILITY", "\"fixup_CHERI_CAPABILITY shouldn't happen here!\"", "4", "0", "Mips", "0", "support::little", "Mips", "1", "8", "1", "64", "0", "support::little", "Mips", "1", "8", "0xff"], "File": "MipsAsmBackend37", "Func": "applyFixup", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17243, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "SystemZInstrInfo", "::", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "unsigned", ">", "&", "Ops", ",", "MachineInstr", "*", "LoadMI", ")", "const", "{", "return", "0", ";", "}", ""], "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": ["SystemZ", "SystemZ", "0"], "File": "SystemZInstrInfo (2)", "Func": "foldMemoryOperandImpl", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17244, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "SystemZHazardRecognizer", "::", "resourcesCost", "(", "SUnit", "*", "SU", ")", "{", "int", "Cost", "=", "0", ";", "const", "MCSchedClassDesc", "*", "SC", "=", "DAG", "->", "getSchedClass", "(", "SU", ")", ";", "if", "(", "!", "SC", "->", "isValid", "(", ")", ")", "return", "0", ";", "if", "(", "SU", "->", "isUnbuffered", ")", "Cost", "=", "(", "isFPdOpPreferred_distance", "(", "SU", ")", "?", "INT_MIN", ":", "INT_MAX", ")", ";", "else", "if", "(", "CriticalResourceIdx", "!=", "UINT_MAX", ")", "{", "for", "(", "TargetSchedModel", "::", "ProcResIter", "PI", "=", "SchedModel", "->", "getWriteProcResBegin", "(", "SC", ")", ",", "PE", "=", "SchedModel", "->", "getWriteProcResEnd", "(", "SC", ")", ";", "PI", "!=", "PE", ";", "++", "PI", ")", "if", "(", "PI", "->", "ProcResourceIdx", "==", "CriticalResourceIdx", ")", "Cost", "=", "PI", "->", "Cycles", ";", "}", "return", "Cost", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "SU", "in", "regards", "to", "processor", "resources", "usage", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "0"], "File": "SystemZHazardRecognizer4", "Func": "resourcesCost", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17245, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBankInfo", "::", "InstructionMapping", "&", "X86RegisterBankInfo", "::", "getInstrMapping", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "auto", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "!", "isPreISelGenericOpcode", "(", "Opc", ")", "||", "Opc", "==", "TargetOpcode", "::", "G_PHI", ")", "{", "const", "InstructionMapping", "&", "Mapping", "=", "getInstrMappingImpl", "(", "MI", ")", ";", "if", "(", "Mapping", ".", "isValid", "(", ")", ")", "return", "Mapping", ";", "}", "switch", "(", "Opc", ")", "{", "case", "TargetOpcode", "::", "G_ADD", ":", "case", "TargetOpcode", "::", "G_SUB", ":", "case", "TargetOpcode", "::", "G_MUL", ":", "case", "TargetOpcode", "::", "G_SHL", ":", "case", "TargetOpcode", "::", "G_LSHR", ":", "case", "TargetOpcode", "::", "G_ASHR", ":", "return", "getSameOperandsMapping", "(", "MI", ",", "false", ")", ";", "break", ";", "case", "TargetOpcode", "::", "G_FADD", ":", "case", "TargetOpcode", "::", "G_FSUB", ":", "case", "TargetOpcode", "::", "G_FMUL", ":", "case", "TargetOpcode", "::", "G_FDIV", ":", "return", "getSameOperandsMapping", "(", "MI", ",", "true", ")", ";", "break", ";", "default", ":", "break", ";", "}", "unsigned", "NumOperands", "=", "MI", ".", "getNumOperands", "(", ")", ";", "SmallVector", "<", "PartialMappingIdx", ",", "4", ">", "OpRegBankIdx", "(", "NumOperands", ")", ";", "switch", "(", "Opc", ")", "{", "case", "TargetOpcode", "::", "G_FPEXT", ":", "case", "TargetOpcode", "::", "G_FCONSTANT", ":", "getInstrPartialMappingIdxs", "(", "MI", ",", "MRI", ",", "true", ",", "OpRegBankIdx", ")", ";", "break", ";", "case", "TargetOpcode", "::", "G_TRUNC", ":", "case", "TargetOpcode", "::", "G_ANYEXT", ":", "{", "auto", "&", "Op0", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "auto", "&", "Op1", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "const", "LLT", "Ty0", "=", "MRI", ".", "getType", "(", "Op0", ".", "getReg", "(", ")", ")", ";", "const", "LLT", "Ty1", "=", "MRI", ".", "getType", "(", "Op1", ".", "getReg", "(", ")", ")", ";", "bool", "isFPTrunc", "=", "(", "Ty0", ".", "getSizeInBits", "(", ")", "==", "32", "||", "Ty0", ".", "getSizeInBits", "(", ")", "==", "64", ")", "&&", "Ty1", ".", "getSizeInBits", "(", ")", "==", "128", "&&", "Opc", "==", "TargetOpcode", "::", "G_TRUNC", ";", "bool", "isFPAnyExt", "=", "Ty0", ".", "getSizeInBits", "(", ")", "==", "128", "&&", "(", "Ty1", ".", "getSizeInBits", "(", ")", "==", "32", "||", "Ty1", ".", "getSizeInBits", "(", ")", "==", "64", ")", "&&", "Opc", "==", "TargetOpcode", "::", "G_ANYEXT", ";", "getInstrPartialMappingIdxs", "(", "MI", ",", "MRI", ",", "isFPTrunc", "||", "isFPAnyExt", ",", "OpRegBankIdx", ")", ";", "}", "break", ";", "default", ":", "getInstrPartialMappingIdxs", "(", "MI", ",", "MRI", ",", "false", ",", "OpRegBankIdx", ")", ";", "break", ";", "}", "SmallVector", "<", "const", "ValueMapping", "*", ",", "8", ">", "OpdsMapping", "(", "NumOperands", ")", ";", "if", "(", "!", "getInstrValueMapping", "(", "MI", ",", "OpRegBankIdx", ",", "OpdsMapping", ")", ")", "return", "getInvalidInstructionMapping", "(", ")", ";", "return", "getInstructionMapping", "(", "DefaultMappingID", ",", "1", ",", "getOperandsMapping", "(", "OpdsMapping", ")", ",", "NumOperands", ")", ";", "}", ""], "natrual_language": ["Get", "the", "mapping", "of", "the", "different", "operands", "of", "MI", "on", "the", "register", "bank", "."], "TS_V_token": ["X86", "X86", "4", "0", "1", "32", "64", "128", "128", "32", "64", "8", "1"], "File": "X86RegisterBankInfo12", "Func": "getInstrMapping", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17246, "Length": 428, "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": 17247, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "getSubExpr", "(", ")", "const", "{", "return", "Expr", ";", "}", ""], "natrual_language": ["getSubExpr", "-", "Get", "the", "child", "of", "this", "expression", "."], "TS_V_token": ["CSKY"], "File": "CSKYMCExpr", "Func": "getSubExpr", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17248, "Length": 12, "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__HASH_0", ":", "if", "(", "Op", ".", "isImm", "(", ")", ")", "if", "(", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Op", ".", "getImm", "(", ")", ")", ")", "if", "(", "CE", "->", "getValue", "(", ")", "==", "0", ")", "return", "Match_Success", ";", "break", ";", "case", "MCK__HASH_8", ":", "if", "(", "Op", ".", "isImm", "(", ")", ")", "if", "(", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Op", ".", "getImm", "(", ")", ")", ")", "if", "(", "CE", "->", "getValue", "(", ")", "==", "8", ")", "return", "Match_Success", ";", "break", ";", "case", "MCK__HASH_16", ":", "if", "(", "Op", ".", "isImm", "(", ")", ")", "if", "(", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Op", ".", "getImm", "(", ")", ")", ")", "if", "(", "CE", "->", "getValue", "(", ")", "==", "16", ")", "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", ";", "return", "Match_rGPR", ";", "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", "8", "16", "\"expression value must be representable in 32 bits\"", "ARM::SP", "ARM::GPRRegClassID"], "File": "ARMAsmParser (2)3", "Func": "validateTargetOperandClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17249, "Length": 315, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZFrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "*", "TII", "=", "MF", ".", "getTarget", "(", ")", ".", "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", ")", ";", "}", "unsigned", "LowGPR", "=", "ZFI", "->", "getLowSavedGPR", "(", ")", ";", "unsigned", "HighGPR", "=", "ZFI", "->", "getHighSavedGPR", "(", ")", ";", "unsigned", "StartOffset", "=", "RegSpillOffsets", "[", "LowGPR", "]", ";", "if", "(", "LowGPR", ")", "{", "assert", "(", "LowGPR", "!=", "HighGPR", "&&", "\"Should be loading %r15 and something else\"", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "SystemZ", "::", "LMG", ")", ")", ";", "MIB", ".", "addReg", "(", "LowGPR", ",", "RegState", "::", "Define", ")", ";", "MIB", ".", "addReg", "(", "HighGPR", ",", "RegState", "::", "Define", ")", ";", "MIB", ".", "addReg", "(", "HasFP", "?", "SystemZ", "::", "R11D", ":", "SystemZ", "::", "R15D", ")", ";", "MIB", ".", "addImm", "(", "StartOffset", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "CSI", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "I", "]", ".", "getReg", "(", ")", ";", "if", "(", "Reg", "!=", "LowGPR", "&&", "Reg", "!=", "HighGPR", ")", "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", "\"Should be loading %r15 and something else\"", "SystemZ::LMG", "SystemZ::R11D", "SystemZ::R15D", "0"], "File": "SystemZFrameLowering", "Func": "restoreCalleeSavedRegisters", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17250, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_return_in_memory", "(", "const_tree", "type", ",", "const_tree", "fntype", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_MACHO", "&&", "rs6000_darwin64_abi", "&&", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", "&&", "int_size_in_bytes", "(", "type", ")", ">", "0", ")", "{", "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", ",", "type", ",", "true", ",", "true", ")", ";", "if", "(", "valret", ")", "return", "false", ";", "}", "if", "(", "rs6000_discover_homogeneous_aggregate", "(", "TYPE_MODE", "(", "type", ")", ",", "type", ",", "NULL", ",", "NULL", ")", ")", "return", "false", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_ELFv2", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "(", "unsigned", "HOST_WIDE_INT", ")", "int_size_in_bytes", "(", "type", ")", "<=", "16", ")", "return", "false", ";", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "(", "aix_struct_return", "||", "(", "unsigned", "HOST_WIDE_INT", ")", "int_size_in_bytes", "(", "type", ")", ">", "8", ")", ")", "return", "true", ";", "if", "(", "TARGET_32BIT", "&&", "!", "TARGET_ALTIVEC_ABI", "&&", "ALTIVEC_VECTOR_MODE", "(", "TYPE_MODE", "(", "type", ")", ")", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", "&&", "int_size_in_bytes", "(", "type", ")", ">", "(", "TARGET_ALTIVEC_ABI", "?", "16", ":", "8", ")", ")", "{", "static", "bool", "warned_for_return_big_vectors", "=", "false", ";", "if", "(", "!", "warned_for_return_big_vectors", ")", "{", "warning", "(", "OPT_Wpsabi", ",", "\"GCC vector returned by reference: \"", "\"non-standard ABI extension with no compatibility \"", "\"guarantee\"", ")", ";", "warned_for_return_big_vectors", "=", "true", ";", "}", "return", "true", ";", "}", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "TARGET_IEEEQUAD", "&&", "FLOAT128_IEEE_P", "(", "TYPE_MODE", "(", "type", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "a", "nonzero", "value", "to", "say", "to", "return", "the", "function", "value", "in", "memory", ",", "just", "as", "large", "structures", "are", "always", "returned", ".", "TYPE", "will", "be", "the", "data", "type", "of", "the", "value", ",", "and", "FNTYPE", "will", "be", "the", "type", "of", "the", "function", "doing", "the", "returning", ",", "or", "@", "code", "{", "NULL", "}", "for", "libcalls", ".", "The", "AIX", "ABI", "for", "the", "RS/6000", "specifies", "that", "all", "structures", "are", "returned", "in", "memory", ".", "The", "Darwin", "ABI", "does", "the", "same", ".", "The", "SVR4", "ABI", "specifies", "that", "structures", "<", "=", "8", "bytes", "are", "returned", "in", "r3/r4", ",", "but", "a", "draft", "put", "them", "in", "memory", ",", "and", "GCC", "used", "to", "implement", "the", "draft", "instead", "of", "the", "final", "standard", ".", "Therefore", ",", "aix_struct_return", "controls", "this", "instead", "of", "DEFAULT_ABI", ";", "V.4", "targets", "needing", "backward", "compatibility", "can", "change", "DRAFT_V4_STRUCT_RET", "to", "override", "the", "default", ",", "and", "-m", "switches", "get", "the", "final", "word", ".", "See", "rs6000_override_options", "for", "more", "details", ".", "The", "PPC32", "SVR4", "ABI", "uses", "IEEE", "double", "extended", "for", "long", "double", ",", "if", "128-bit", "long", "double", "support", "is", "enabled", ".", "These", "values", "are", "returned", "in", "memory", ".", "int_size_in_bytes", "returns", "-1", "for", "variable", "size", "objects", ",", "which", "go", "in", "memory", "always", ".", "The", "cast", "to", "unsigned", "makes", "-1", ">", "8", "."], "TS_V_token": ["rs6000", "0", "0", "16", "8", "16", "8", "\"GCC vector returned by reference: \"", "\"non-standard ABI extension with no compatibility \"", "\"guarantee\""], "File": "rs60007", "Func": "rs6000_return_in_memory", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17251, "Length": 242, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "size_t", "mingw32_gt_pch_alloc_granularity", "(", "void", ")", "{", "return", "va_granularity", ";", "}", ""], "natrual_language": ["Granularity", "for", "reserving", "address", "space", "."], "TS_V_token": ["i386"], "File": "host-mingw322", "Func": "mingw32_gt_pch_alloc_granularity", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17252, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86FastISel", "::", "fastMaterializeFloatZero", "(", "const", "ConstantFP", "*", "CF", ")", "{", "MVT", "VT", ";", "if", "(", "!", "isTypeLegal", "(", "CF", "->", "getType", "(", ")", ",", "VT", ")", ")", "return", "0", ";", "unsigned", "Opc", "=", "0", ";", "const", "TargetRegisterClass", "*", "RC", "=", "nullptr", ";", "switch", "(", "VT", ".", "SimpleTy", ")", "{", "default", ":", "return", "0", ";", "case", "MVT", "::", "f32", ":", "if", "(", "X86ScalarSSEf32", ")", "{", "Opc", "=", "X86", "::", "FsFLD0SS", ";", "RC", "=", "&", "X86", "::", "FR32RegClass", ";", "}", "else", "{", "Opc", "=", "X86", "::", "LD_Fp032", ";", "RC", "=", "&", "X86", "::", "RFP32RegClass", ";", "}", "break", ";", "case", "MVT", "::", "f64", ":", "if", "(", "X86ScalarSSEf64", ")", "{", "Opc", "=", "X86", "::", "FsFLD0SD", ";", "RC", "=", "&", "X86", "::", "FR64RegClass", ";", "}", "else", "{", "Opc", "=", "X86", "::", "LD_Fp064", ";", "RC", "=", "&", "X86", "::", "RFP64RegClass", ";", "}", "break", ";", "case", "MVT", "::", "f80", ":", "return", "0", ";", "}", "unsigned", "ResultReg", "=", "createResultReg", "(", "RC", ")", ";", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "TII", ".", "get", "(", "Opc", ")", ",", "ResultReg", ")", ";", "return", "ResultReg", ";", "}", ""], "natrual_language": ["Emit", "the", "floating-point", "constant", "+0.0", "in", "a", "register", "using", "target-", "specific", "logic", "."], "TS_V_token": ["X86", "X86", "0", "0", "0", "MVT::f32", "X86", "X86::FsFLD0SS", "X86::FR32RegClass", "X86::LD_Fp032", "X86::RFP32RegClass", "MVT::f64", "X86", "X86::FsFLD0SD", "X86::FR64RegClass", "X86::LD_Fp064", "X86::RFP64RegClass", "MVT::f80", "0"], "File": "X86FastISel (2)6", "Func": "fastMaterializeFloatZero", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17253, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emitSPUpdate", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "unsigned", "StackPtr", ",", "int64_t", "NumBytes", ",", "bool", "Is64Bit", ",", "bool", "UseLEA", ",", "const", "TargetInstrInfo", "&", "TII", ",", "const", "TargetRegisterInfo", "&", "TRI", ",", "DebugLoc", "DL", ")", "{", "bool", "isSub", "=", "NumBytes", "<", "0", ";", "uint64_t", "Offset", "=", "isSub", "?", "-", "NumBytes", ":", "NumBytes", ";", "unsigned", "Opc", ";", "if", "(", "UseLEA", ")", "Opc", "=", "getLEArOpcode", "(", "Is64Bit", ")", ";", "else", "Opc", "=", "isSub", "?", "getSUBriOpcode", "(", "Is64Bit", ",", "Offset", ")", ":", "getADDriOpcode", "(", "Is64Bit", ",", "Offset", ")", ";", "uint64_t", "Chunk", "=", "(", "1LL", "<<", "31", ")", "-", "1", ";", "while", "(", "Offset", ")", "{", "uint64_t", "ThisVal", "=", "(", "Offset", ">", "Chunk", ")", "?", "Chunk", ":", "Offset", ";", "if", "(", "ThisVal", "==", "(", "Is64Bit", "?", "8", ":", "4", ")", ")", "{", "unsigned", "Reg", "=", "isSub", "?", "(", "unsigned", ")", "(", "Is64Bit", "?", "X86", "::", "RAX", ":", "X86", "::", "EAX", ")", ":", "findDeadCallerSavedReg", "(", "MBB", ",", "MBBI", ",", "TRI", ",", "Is64Bit", ")", ";", "if", "(", "Reg", ")", "{", "Opc", "=", "isSub", "?", "(", "Is64Bit", "?", "X86", "::", "PUSH64r", ":", "X86", "::", "PUSH32r", ")", ":", "(", "Is64Bit", "?", "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", "=", "NULL", ";", "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": "X86FrameLowering63", "Func": "emitSPUpdate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17254, "Length": 362, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "thumb2_index_mul_operand", "(", "rtx", "op", ")", "{", "HOST_WIDE_INT", "val", ";", "if", "(", "!", "CONST_INT_P", "(", "op", ")", ")", "return", "false", ";", "val", "=", "INTVAL", "(", "op", ")", ";", "return", "(", "val", "==", "1", "||", "val", "==", "2", "||", "val", "==", "4", "||", "val", "==", "8", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "is", "a", "valid", "index", "scaling", "factor", "for", "Thumb-2", "address", "index", "operand", ".", "i.e", ".", "1", ",", "2", ",", "4", "or", "8", "."], "TS_V_token": ["arm", "1", "2", "4", "8"], "File": "arm", "Func": "thumb2_index_mul_operand", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17255, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_split_atomic_op", "(", "enum", "rtx_code", "code", ",", "rtx", "old_out", ",", "rtx", "new_out", ",", "rtx", "mem", ",", "rtx", "value", ",", "rtx", "model_rtx", ",", "rtx", "cond", ")", "{", "gcc_assert", "(", "epilogue_completed", ")", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "machine_mode", "wmode", "=", "(", "mode", "==", "DImode", "?", "DImode", ":", "SImode", ")", ";", "const", "enum", "memmodel", "model", "=", "memmodel_from_int", "(", "INTVAL", "(", "model_rtx", ")", ")", ";", "const", "bool", "is_sync", "=", "is_mm_sync", "(", "model", ")", ";", "rtx_code_label", "*", "label", ";", "rtx", "x", ";", "label", "=", "gen_label_rtx", "(", ")", ";", "emit_label", "(", "label", ")", ";", "if", "(", "new_out", ")", "new_out", "=", "gen_lowpart", "(", "wmode", ",", "new_out", ")", ";", "if", "(", "old_out", ")", "old_out", "=", "gen_lowpart", "(", "wmode", ",", "old_out", ")", ";", "else", "old_out", "=", "new_out", ";", "value", "=", "simplify_gen_subreg", "(", "wmode", ",", "value", ",", "mode", ",", "0", ")", ";", "if", "(", "is_sync", ")", "aarch64_emit_load_exclusive", "(", "mode", ",", "old_out", ",", "mem", ",", "GEN_INT", "(", "MEMMODEL_RELAXED", ")", ")", ";", "else", "aarch64_emit_load_exclusive", "(", "mode", ",", "old_out", ",", "mem", ",", "model_rtx", ")", ";", "switch", "(", "code", ")", "{", "case", "SET", ":", "new_out", "=", "value", ";", "break", ";", "case", "NOT", ":", "x", "=", "gen_rtx_AND", "(", "wmode", ",", "old_out", ",", "value", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "new_out", ",", "x", ")", ")", ";", "x", "=", "gen_rtx_NOT", "(", "wmode", ",", "new_out", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "new_out", ",", "x", ")", ")", ";", "break", ";", "case", "MINUS", ":", "if", "(", "CONST_INT_P", "(", "value", ")", ")", "{", "value", "=", "GEN_INT", "(", "-", "INTVAL", "(", "value", ")", ")", ";", "code", "=", "PLUS", ";", "}", "default", ":", "x", "=", "gen_rtx_fmt_ee", "(", "code", ",", "wmode", ",", "old_out", ",", "value", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "new_out", ",", "x", ")", ")", ";", "break", ";", "}", "aarch64_emit_store_exclusive", "(", "mode", ",", "cond", ",", "mem", ",", "gen_lowpart", "(", "mode", ",", "new_out", ")", ",", "model_rtx", ")", ";", "if", "(", "aarch64_track_speculation", ")", "{", "rtx", "cc_reg", "=", "aarch64_gen_compare_reg", "(", "NE", ",", "cond", ",", "const0_rtx", ")", ";", "x", "=", "gen_rtx_NE", "(", "GET_MODE", "(", "cc_reg", ")", ",", "cc_reg", ",", "const0_rtx", ")", ";", "}", "else", "x", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "cond", ",", "const0_rtx", ")", ";", "x", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "x", ",", "gen_rtx_LABEL_REF", "(", "Pmode", ",", "label", ")", ",", "pc_rtx", ")", ";", "aarch64_emit_unlikely_jump", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "x", ")", ")", ";", "if", "(", "is_sync", ")", "aarch64_emit_post_barrier", "(", "model", ")", ";", "}", ""], "natrual_language": ["Split", "an", "atomic", "operation", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64", "Func": "aarch64_split_atomic_op", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17256, "Length": 380, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "SystemZInstrInfo", "::", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "&", "MI", ",", "ArrayRef", "<", "unsigned", ">", "Ops", ",", "MachineBasicBlock", "::", "iterator", "InsertPt", ",", "MachineInstr", "&", "LoadMI", ",", "LiveIntervals", "*", "LIS", ")", "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": ["SystemZ", "SystemZ"], "File": "SystemZInstrInfo (2)2", "Func": "foldMemoryOperandImpl", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17257, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "SYSTEMZ_POSTREWRITE_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["SystemZ"], "File": "SystemZPostRewrite", "Func": "getPassName", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17258, "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": ["MMIX"], "File": "MMIXAsmBackend", "Func": "mayNeedRelaxation", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17259, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sh_atomic_assign_expand_fenv", "(", "tree", "*", "hold", ",", "tree", "*", "clear", ",", "tree", "*", "update", ")", "{", "const", "unsigned", "SH_FE_INVALID", "=", "64", ";", "const", "unsigned", "SH_FE_DIVBYZERO", "=", "32", ";", "const", "unsigned", "SH_FE_OVERFLOW", "=", "16", ";", "const", "unsigned", "SH_FE_UNDERFLOW", "=", "8", ";", "const", "unsigned", "SH_FE_INEXACT", "=", "4", ";", "const", "unsigned", "HOST_WIDE_INT", "SH_FE_ALL_EXCEPT", "=", "(", "SH_FE_INVALID", "|", "SH_FE_DIVBYZERO", "|", "SH_FE_OVERFLOW", "|", "SH_FE_UNDERFLOW", "|", "SH_FE_INEXACT", ")", ";", "const", "unsigned", "HOST_WIDE_INT", "SH_FE_EXCEPT_SHIFT", "=", "5", ";", "tree", "fenv_var", ",", "mask", ",", "ld_fenv", ",", "masked_fenv", ";", "tree", "new_fenv_var", ",", "reload_fenv", ",", "restore_fnenv", ";", "tree", "update_call", ",", "atomic_feraiseexcept", ",", "hold_fnclex", ";", "if", "(", "!", "TARGET_FPU_ANY", ")", "return", ";", "fenv_var", "=", "create_tmp_var", "(", "unsigned_type_node", ")", ";", "mask", "=", "build_int_cst", "(", "unsigned_type_node", ",", "~", "(", "(", "SH_FE_ALL_EXCEPT", "<<", "SH_FE_EXCEPT_SHIFT", ")", "|", "SH_FE_ALL_EXCEPT", ")", ")", ";", "ld_fenv", "=", "build2", "(", "MODIFY_EXPR", ",", "unsigned_type_node", ",", "fenv_var", ",", "build_call_expr", "(", "sh_builtin_get_fpscr", ",", "0", ")", ")", ";", "masked_fenv", "=", "build2", "(", "BIT_AND_EXPR", ",", "unsigned_type_node", ",", "fenv_var", ",", "mask", ")", ";", "hold_fnclex", "=", "build_call_expr", "(", "sh_builtin_set_fpscr", ",", "1", ",", "masked_fenv", ")", ";", "*", "hold", "=", "build2", "(", "COMPOUND_EXPR", ",", "void_type_node", ",", "build2", "(", "COMPOUND_EXPR", ",", "void_type_node", ",", "masked_fenv", ",", "ld_fenv", ")", ",", "hold_fnclex", ")", ";", "*", "clear", "=", "build_call_expr", "(", "sh_builtin_set_fpscr", ",", "1", ",", "masked_fenv", ")", ";", "new_fenv_var", "=", "create_tmp_var", "(", "unsigned_type_node", ")", ";", "reload_fenv", "=", "build2", "(", "MODIFY_EXPR", ",", "unsigned_type_node", ",", "new_fenv_var", ",", "build_call_expr", "(", "sh_builtin_get_fpscr", ",", "0", ")", ")", ";", "restore_fnenv", "=", "build_call_expr", "(", "sh_builtin_set_fpscr", ",", "1", ",", "fenv_var", ")", ";", "atomic_feraiseexcept", "=", "builtin_decl_implicit", "(", "BUILT_IN_ATOMIC_FERAISEEXCEPT", ")", ";", "update_call", "=", "build_call_expr", "(", "atomic_feraiseexcept", ",", "1", ",", "fold_convert", "(", "integer_type_node", ",", "new_fenv_var", ")", ")", ";", "*", "update", "=", "build2", "(", "COMPOUND_EXPR", ",", "void_type_node", ",", "build2", "(", "COMPOUND_EXPR", ",", "void_type_node", ",", "reload_fenv", ",", "restore_fnenv", ")", ",", "update_call", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ATOMIC_ASSIGN_EXPAND_FENV", "."], "TS_V_token": ["sh", "64", "32", "16", "8", "4", "5", "0", "1", "1", "0", "1", "1"], "File": "sh4", "Func": "sh_atomic_assign_expand_fenv", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17260, "Length": 286, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ready_reorder", "(", "rtx_insn", "*", "*", "ready", ",", "int", "nready", ")", "{", "if", "(", "nready", "==", "2", ")", "swap_reorder", "(", "ready", ",", "nready", ")", ";", "else", "if", "(", "nready", ">", "2", ")", "qsort", "(", "ready", ",", "nready", ",", "sizeof", "(", "rtx_insn", "*", ")", ",", "rank_for_reorder", ")", ";", "}", ""], "natrual_language": ["Sort", "the", "ready", "list", "READY", "by", "ascending", "priority", ",", "using", "the", "SCHED_REORDER", "macro", "."], "TS_V_token": ["sh", "2", "2"], "File": "sh", "Func": "ready_reorder", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17261, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_legitimate_address_p", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "RTX_CODE", "outer_code", ",", "bool", "strict_p", ")", "{", "struct", "aarch64_address_info", "addr", ";", "return", "aarch64_classify_address", "(", "&", "addr", ",", "x", ",", "mode", ",", "outer_code", ",", "strict_p", ")", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "X", "is", "a", "legitimate", "address", "for", "accessing", "memory", "in", "mode", "MODE", ".", "OUTER_CODE", "will", "be", "PARALLEL", "if", "this", "is", "a", "load/store", "pair", "operation", "."], "TS_V_token": ["aarch64"], "File": "aarch642", "Func": "aarch64_legitimate_address_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17262, "Length": 36, "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", "(", "VOIDmode", ",", "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": "i3864", "Func": "release_scratch_register_on_entry", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17263, "Length": 92, "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", "&&", "Directive", "!=", "PPC", "::", "DIR_E500mc", "&&", "Directive", "!=", "PPC", "::", "DIR_E5500", ")", "{", "assert", "(", "TM", ".", "getInstrInfo", "(", ")", "&&", "\"No InstrInfo?\"", ")", ";", "return", "new", "PPCHazardRecognizer970", "(", "TM", ")", ";", "}", "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", "PPC::DIR_E500mc", "PPC::DIR_E5500", "\"No InstrInfo?\"", "PPC", "PPC"], "File": "PPCInstrInfo108", "Func": "CreateTargetPostRAHazardRecognizer", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17264, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MVEGatherScatterLowering", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "!", "EnableMaskedGatherScatters", ")", "return", "false", ";", "auto", "&", "TPC", "=", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ";", "auto", "&", "TM", "=", "TPC", ".", "getTM", "<", "TargetMachine", ">", "(", ")", ";", "auto", "*", "ST", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", "F", ")", ";", "if", "(", "!", "ST", "->", "hasMVEIntegerOps", "(", ")", ")", "return", "false", ";", "LI", "=", "&", "getAnalysis", "<", "LoopInfoWrapperPass", ">", "(", ")", ".", "getLoopInfo", "(", ")", ";", "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", ")", "{", "Gathers", ".", "push_back", "(", "II", ")", ";", "if", "(", "isa", "<", "GetElementPtrInst", ">", "(", "II", "->", "getArgOperand", "(", "0", ")", ")", ")", "Changed", "|=", "optimiseOffsets", "(", "cast", "<", "Instruction", ">", "(", "II", "->", "getArgOperand", "(", "0", ")", ")", "->", "getOperand", "(", "1", ")", ",", "II", "->", "getParent", "(", ")", ",", "LI", ")", ";", "}", "else", "if", "(", "II", "&&", "II", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "masked_scatter", ")", "{", "Scatters", ".", "push_back", "(", "II", ")", ";", "if", "(", "isa", "<", "GetElementPtrInst", ">", "(", "II", "->", "getArgOperand", "(", "1", ")", ")", ")", "Changed", "|=", "optimiseOffsets", "(", "cast", "<", "Instruction", ">", "(", "II", "->", "getArgOperand", "(", "1", ")", ")", "->", "getOperand", "(", "1", ")", ",", "II", "->", "getParent", "(", ")", ",", "LI", ")", ";", "}", "}", "}", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Gathers", ".", "size", "(", ")", ";", "i", "++", ")", "{", "IntrinsicInst", "*", "I", "=", "Gathers", "[", "i", "]", ";", "Value", "*", "L", "=", "lowerGather", "(", "I", ")", ";", "if", "(", "L", "==", "nullptr", ")", "continue", ";", "SimplifyInstructionsInBlock", "(", "cast", "<", "Instruction", ">", "(", "L", ")", "->", "getParent", "(", ")", ")", ";", "Changed", "=", "true", ";", "}", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Scatters", ".", "size", "(", ")", ";", "i", "++", ")", "{", "IntrinsicInst", "*", "I", "=", "Scatters", "[", "i", "]", ";", "Value", "*", "S", "=", "lowerScatter", "(", "I", ")", ";", "if", "(", "S", "==", "nullptr", ")", "continue", ";", "SimplifyInstructionsInBlock", "(", "cast", "<", "Instruction", ">", "(", "S", ")", "->", "getParent", "(", ")", ")", ";", "Changed", "=", "true", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["ARM", "ARM", "4", "4", "Intrinsic::masked_gather", "0", "0", "1", "Intrinsic::masked_scatter", "1", "1", "1", "0", "0"], "File": "MVEGatherScatterLowering2", "Func": "runOnFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17265, "Length": 412, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "emit_fusion_gpr_load", "(", "rtx", "target", ",", "rtx", "mem", ")", "{", "rtx", "addis_value", ";", "rtx", "addr", ";", "rtx", "load_offset", ";", "const", "char", "*", "load_str", "=", "NULL", ";", "const", "char", "*", "mode_name", "=", "NULL", ";", "machine_mode", "mode", ";", "if", "(", "GET_CODE", "(", "mem", ")", "==", "ZERO_EXTEND", ")", "mem", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "gcc_assert", "(", "REG_P", "(", "target", ")", "&&", "MEM_P", "(", "mem", ")", ")", ";", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "fusion_split_address", "(", "addr", ",", "&", "addis_value", ",", "&", "load_offset", ")", ";", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "mode_name", "=", "\"char\"", ";", "load_str", "=", "\"lbz\"", ";", "break", ";", "case", "E_HImode", ":", "mode_name", "=", "\"short\"", ";", "load_str", "=", "\"lhz\"", ";", "break", ";", "case", "E_SImode", ":", "case", "E_SFmode", ":", "mode_name", "=", "(", "mode", "==", "SFmode", ")", "?", "\"float\"", ":", "\"int\"", ";", "load_str", "=", "\"lwz\"", ";", "break", ";", "case", "E_DImode", ":", "case", "E_DFmode", ":", "gcc_assert", "(", "TARGET_POWERPC64", ")", ";", "mode_name", "=", "(", "mode", "==", "DFmode", ")", "?", "\"double\"", ":", "\"long\"", ";", "load_str", "=", "\"ld\"", ";", "break", ";", "default", ":", "fatal_insn", "(", "\"Bad GPR fusion\"", ",", "gen_rtx_SET", "(", "target", ",", "mem", ")", ")", ";", "}", "emit_fusion_addis", "(", "target", ",", "addis_value", ",", "\"gpr load fusion\"", ",", "mode_name", ")", ";", "emit_fusion_load_store", "(", "target", ",", "target", ",", "load_offset", ",", "load_str", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Return", "a", "string", "to", "fuse", "an", "addis", "instruction", "with", "a", "gpr", "load", "to", "the", "same", "register", "that", "we", "loaded", "up", "the", "addis", "instruction", ".", "The", "address", "that", "is", "used", "is", "the", "logical", "address", "that", "was", "formed", "during", "peephole2", ":", "(", "lo_sum", "(", "high", ")", "(", "low-part", ")", ")", "The", "code", "is", "complicated", ",", "so", "we", "call", "output_asm_insn", "directly", ",", "and", "just", "return", "``", "''", "."], "TS_V_token": ["powerpcspe", "0", "0", "\"char\"", "\"lbz\"", "\"short\"", "\"lhz\"", "\"float\"", "\"int\"", "\"lwz\"", "\"double\"", "\"long\"", "\"ld\"", "\"Bad GPR fusion\"", "\"gpr load fusion\"", "\"\""], "File": "powerpcspe", "Func": "emit_fusion_gpr_load", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17266, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "flags_from_mode", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_CC_ZSmode", ":", "return", "CC_FLAG_S", "|", "CC_FLAG_Z", ";", "case", "E_CC_ZSOmode", ":", "return", "CC_FLAG_S", "|", "CC_FLAG_Z", "|", "CC_FLAG_O", ";", "case", "E_CC_ZSCmode", ":", "return", "CC_FLAG_S", "|", "CC_FLAG_Z", "|", "CC_FLAG_C", ";", "case", "E_CCmode", ":", "return", "CC_FLAG_S", "|", "CC_FLAG_Z", "|", "CC_FLAG_O", "|", "CC_FLAG_C", ";", "case", "E_CC_Fmode", ":", "return", "CC_FLAG_FP", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Convert", "a", "CC_MODE", "to", "the", "set", "of", "flags", "that", "it", "represents", "."], "TS_V_token": ["rx"], "File": "rx", "Func": "flags_from_mode", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17267, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emitSPUpdate", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "unsigned", "StackPtr", ",", "int64_t", "NumBytes", ",", "bool", "Is64Bit", ",", "const", "TargetInstrInfo", "&", "TII", ")", "{", "bool", "isSub", "=", "NumBytes", "<", "0", ";", "uint64_t", "Offset", "=", "isSub", "?", "-", "NumBytes", ":", "NumBytes", ";", "unsigned", "Opc", "=", "isSub", "?", "getSUBriOpcode", "(", "Is64Bit", ",", "Offset", ")", ":", "getADDriOpcode", "(", "Is64Bit", ",", "Offset", ")", ";", "uint64_t", "Chunk", "=", "(", "1LL", "<<", "31", ")", "-", "1", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MBBI", ")", ";", "while", "(", "Offset", ")", "{", "uint64_t", "ThisVal", "=", "(", "Offset", ">", "Chunk", ")", "?", "Chunk", ":", "Offset", ";", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "ThisVal", ")", ";", "MI", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "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", "3"], "File": "X86FrameInfo", "Func": "emitSPUpdate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17268, "Length": 153, "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", "::", "SDiv", ":", "if", "(", "!", "selectBinaryOp", "(", "I", ",", "ISD", "::", "SDIV", ")", ")", "return", "selectDivRem", "(", "I", ",", "ISD", "::", "SDIV", ")", ";", "return", "true", ";", "case", "Instruction", "::", "UDiv", ":", "if", "(", "!", "selectBinaryOp", "(", "I", ",", "ISD", "::", "UDIV", ")", ")", "return", "selectDivRem", "(", "I", ",", "ISD", "::", "UDIV", ")", ";", "return", "true", ";", "case", "Instruction", "::", "SRem", ":", "if", "(", "!", "selectBinaryOp", "(", "I", ",", "ISD", "::", "SREM", ")", ")", "return", "selectDivRem", "(", "I", ",", "ISD", "::", "SREM", ")", ";", "return", "true", ";", "case", "Instruction", "::", "URem", ":", "if", "(", "!", "selectBinaryOp", "(", "I", ",", "ISD", "::", "UREM", ")", ")", "return", "selectDivRem", "(", "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", "::", "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", ")", ";", "case", "Instruction", "::", "Select", ":", "return", "selectSelect", "(", "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", "ISD::SDIV", "ISD::SDIV", "ISD::UDIV", "ISD::UDIV", "ISD::SREM", "ISD::SREM", "ISD::UREM", "ISD::UREM"], "File": "MipsFastISel", "Func": "fastSelectInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17269, "Length": 345, "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", "AArch64InstrInfo", "*", "TII", "=", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "AArch64FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "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", "AArch64", "1", "1", "AArch64", "\"Emergency spill slot is out of reach\"", "AArch64::GPR64RegClass"], "File": "AArch64RegisterInfo (2)", "Func": "eliminateFrameIndex", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17270, "Length": 303, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTTIImpl", "::", "getCacheLineSize", "(", ")", "{", "return", "CacheLineSize", ";", "}", ""], "natrual_language": ["Return", "the", "target", "cache", "line", "size", "in", "bytes", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCTargetTransformInfo18", "Func": "getCacheLineSize", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17271, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_legitimate_combined_insn", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "p", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "p", ")", "==", "SET", "&&", "REG_P", "(", "XEXP", "(", "p", ",", "0", ")", ")", "&&", "GET_MODE", "(", "XEXP", "(", "p", ",", "0", ")", ")", "==", "SImode", "&&", "GET_CODE", "(", "XEXP", "(", "p", ",", "1", ")", ")", "==", "ZERO_EXTEND", "&&", "MEM_P", "(", "XEXP", "(", "XEXP", "(", "p", ",", "1", ")", ",", "0", ")", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "function", "implements", "the", "legitimate_combined_insn", "target", "hook", ",", "which", "the", "combine", "pass", "uses", "to", "early", "reject", "combined", "insns", ",", "before", "it", "tries", "to", "recog", "the", "insn", "and", "determine", "its", "cost", "."], "TS_V_token": ["sh", "0", "0", "1", "1", "0"], "File": "sh", "Func": "sh_legitimate_combined_insn", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17272, "Length": 82, "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_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_nofixup\"", ",", "0", ",", "0", ",", "0", "}", "}", ";", "const", "static", "MCFixupKindInfo", "InfosLE", "[", "PPC", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_ppc_br24\"", ",", "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_nofixup\"", ",", "0", ",", "0", ",", "0", "}", "}", ";", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "assert", "(", "unsigned", "(", "Kind", "-", "FirstTargetFixupKind", ")", "<", "getNumFixupKinds", "(", ")", "&&", "\"Invalid kind!\"", ")", ";", "return", "(", "IsLittleEndian", "?", "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_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_nofixup\"", "0", "0", "0", "PPC::NumTargetFixupKinds", "\"fixup_ppc_br24\"", "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_nofixup\"", "0", "0", "0", "\"Invalid kind!\""], "File": "PPCAsmBackend", "Func": "getFixupKindInfo", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17273, "Length": 228, "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": 17274, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_shift_rotate_cost", "(", "const", "struct", "processor_costs", "*", "cost", ",", "enum", "machine_mode", "mode", ",", "bool", "constant_op1", ",", "HOST_WIDE_INT", "op1_val", ",", "bool", "speed", ",", "bool", "and_in_op1", ",", "bool", "shift_and_truncate", ",", "bool", "*", "skip_op0", ",", "bool", "*", "skip_op1", ")", "{", "if", "(", "skip_op0", ")", "*", "skip_op0", "=", "*", "skip_op1", "=", "false", ";", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_INT", ")", "{", "if", "(", "mode", "==", "V16QImode", "||", "mode", "==", "V32QImode", ")", "{", "int", "count", "=", "11", ";", "if", "(", "TARGET_XOP", "&&", "mode", "==", "V16QImode", ")", "{", "if", "(", "constant_op1", ")", "{", "if", "(", "skip_op1", ")", "*", "skip_op1", "=", "true", ";", "return", "ix86_vec_cost", "(", "mode", ",", "cost", "->", "sse_op", "+", "(", "speed", "?", "2", ":", "COSTS_N_BYTES", "(", "GET_MODE_UNIT_SIZE", "(", "mode", ")", ")", ")", ",", "true", ")", ";", "}", "count", "=", "3", ";", "}", "else", "if", "(", "TARGET_SSSE3", ")", "count", "=", "7", ";", "return", "ix86_vec_cost", "(", "mode", ",", "cost", "->", "sse_op", "*", "count", ",", "true", ")", ";", "}", "else", "return", "ix86_vec_cost", "(", "mode", ",", "cost", "->", "sse_op", ",", "true", ")", ";", "}", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "UNITS_PER_WORD", ")", "{", "if", "(", "constant_op1", ")", "{", "if", "(", "op1_val", ">", "32", ")", "return", "cost", "->", "shift_const", "+", "COSTS_N_INSNS", "(", "2", ")", ";", "else", "return", "cost", "->", "shift_const", "*", "2", ";", "}", "else", "{", "if", "(", "and_in_op1", ")", "return", "cost", "->", "shift_var", "*", "2", ";", "else", "return", "cost", "->", "shift_var", "*", "6", "+", "COSTS_N_INSNS", "(", "2", ")", ";", "}", "}", "else", "{", "if", "(", "constant_op1", ")", "return", "cost", "->", "shift_const", ";", "else", "if", "(", "shift_and_truncate", ")", "{", "if", "(", "skip_op0", ")", "*", "skip_op0", "=", "*", "skip_op1", "=", "true", ";", "return", "cost", "->", "shift_var", ";", "}", "else", "return", "cost", "->", "shift_var", ";", "}", "return", "cost", "->", "shift_const", ";", "}", ""], "natrual_language": ["Return", "cost", "of", "shift", "in", "MODE", ".", "If", "CONSTANT_OP1", "is", "true", ",", "the", "op1", "value", "is", "known", "and", "set", "in", "OP1_VAL", ".", "AND_IN_OP1", "specify", "in", "op1", "is", "result", "of", "AND", "and", "SHIFT_AND_TRUNCATE", "if", "op1", "is", "a", "result", "of", "subreg", ".", "SKIP_OP0/1", "is", "set", "to", "true", "if", "cost", "of", "OP0/1", "should", "be", "ignored", "."], "TS_V_token": ["i386", "11", "2", "3", "7", "32", "2", "2", "2", "6", "2"], "File": "i3867", "Func": "ix86_shift_rotate_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17275, "Length": 285, "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": 17276, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "ARMTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "assert", "(", "0", "&&", "\"Don't know how to custom lower this!\"", ")", ";", "abort", "(", ")", ";", "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", "::", "CALL", ":", "return", "LowerCALL", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RET", ":", "return", "LowerRET", "(", "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", "::", "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", "::", "FORMAL_ARGUMENTS", ":", "return", "LowerFORMAL_ARGUMENTS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "break", ";", "case", "ISD", "::", "FRAMEADDR", ":", "break", ";", "case", "ISD", "::", "GLOBAL_OFFSET_TABLE", ":", "return", "LowerGLOBAL_OFFSET_TABLE", "(", "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", "::", "SRL", ":", "case", "ISD", "::", "SRA", ":", "return", "ExpandSRx", "(", "Op", ".", "getNode", "(", ")", ",", "DAG", ",", "Subtarget", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["ARM", "ARM", "0", "\"Don't know how to custom lower this!\"", "ISD::ConstantPool", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::CALL", "ISD::RET", "ISD::SELECT_CC", "ISD::BR_CC", "ISD::BR_JT", "ISD::VASTART", "ISD::SINT_TO_FP", "ISD::UINT_TO_FP", "ISD::FP_TO_SINT", "ISD::FP_TO_UINT", "ISD::FCOPYSIGN", "ISD::FORMAL_ARGUMENTS", "ISD::RETURNADDR", "ISD::FRAMEADDR", "ISD::GLOBAL_OFFSET_TABLE", "ISD::INTRINSIC_WO_CHAIN", "ISD::BIT_CONVERT", "ISD::SRL", "ISD::SRA"], "File": "ARMISelLowering124", "Func": "LowerOperation", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17277, "Length": 321, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_encode_section_info", "(", "tree", "decl", ",", "rtx", "rtl", ",", "int", "first", ")", "{", "if", "(", "optimize", ">", "0", "&&", "TREE_CONSTANT", "(", "decl", ")", ")", "SYMBOL_REF_FLAG", "(", "XEXP", "(", "rtl", ",", "0", ")", ")", "=", "1", ";", "default_encode_section_info", "(", "decl", ",", "rtl", ",", "first", ")", ";", "}", ""], "natrual_language": ["Symbols", "in", "the", "text", "segment", "can", "be", "accessed", "without", "indirecting", "via", "the", "constant", "pool", ";", "it", "may", "take", "an", "extra", "binary", "operation", ",", "but", "this", "is", "still", "faster", "than", "indirecting", "via", "memory", ".", "Do", "n't", "do", "this", "when", "not", "optimizing", ",", "since", "we", "wo", "n't", "be", "calculating", "al", "of", "the", "offsets", "necessary", "to", "do", "this", "simplification", "."], "TS_V_token": ["arm", "0", "0", "1"], "File": "arm", "Func": "arm_encode_section_info", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17278, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsTargetLowering", "*", "MipsTargetLowering", "::", "create", "(", "const", "MipsTargetMachine", "&", "TM", ",", "const", "MipsSubtarget", "&", "STI", ")", "{", "if", "(", "STI", ".", "inMips16Mode", "(", ")", ")", "return", "llvm", "::", "createMips16TargetLowering", "(", "TM", ",", "STI", ")", ";", "return", "llvm", "::", "createMipsSETargetLowering", "(", "TM", ",", "STI", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsISelLowering (2)5", "Func": "create", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17279, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", ",", "unsigned", ",", "bool", "*", "Fast", ")", "const", "{", "if", "(", "Fast", ")", "*", "Fast", "=", "Subtarget", "->", "isUnalignedMemAccessFast", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering (2)4", "Func": "allowsMisalignedMemoryAccesses", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17280, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZFrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "ArrayRef", "<", "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", "IsVarArg", "=", "MF", ".", "getFunction", "(", ")", ".", "isVarArg", "(", ")", ";", "DebugLoc", "DL", ";", "SystemZ", "::", "GPRRegs", "SpillGPRs", "=", "ZFI", "->", "getSpillGPRRegs", "(", ")", ";", "if", "(", "SpillGPRs", ".", "LowGPR", ")", "{", "assert", "(", "SpillGPRs", ".", "LowGPR", "!=", "SpillGPRs", ".", "HighGPR", "&&", "\"Should be saving %r15 and something else\"", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "SystemZ", "::", "STMG", ")", ")", ";", "addSavedGPR", "(", "MBB", ",", "MIB", ",", "SpillGPRs", ".", "LowGPR", ",", "false", ")", ";", "addSavedGPR", "(", "MBB", ",", "MIB", ",", "SpillGPRs", ".", "HighGPR", ",", "false", ")", ";", "MIB", ".", "addReg", "(", "SystemZ", "::", "R15D", ")", ".", "addImm", "(", "SpillGPRs", ".", "GPROffset", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "CSI", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "I", "]", ".", "getReg", "(", ")", ";", "if", "(", "SystemZ", "::", "GR64BitRegClass", ".", "contains", "(", "Reg", ")", ")", "addSavedGPR", "(", "MBB", ",", "MIB", ",", "Reg", ",", "true", ")", ";", "}", "if", "(", "IsVarArg", ")", "for", "(", "unsigned", "I", "=", "ZFI", "->", "getVarArgsFirstGPR", "(", ")", ";", "I", "<", "SystemZ", "::", "ELFNumArgGPRs", ";", "++", "I", ")", "addSavedGPR", "(", "MBB", ",", "MIB", ",", "SystemZ", "::", "ELFArgGPRs", "[", "I", "]", ",", "true", ")", ";", "}", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "CSI", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "I", "]", ".", "getReg", "(", ")", ";", "if", "(", "SystemZ", "::", "FP64BitRegClass", ".", "contains", "(", "Reg", ")", ")", "{", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "TII", "->", "storeRegToStackSlot", "(", "MBB", ",", "MBBI", ",", "Reg", ",", "true", ",", "CSI", "[", "I", "]", ".", "getFrameIdx", "(", ")", ",", "&", "SystemZ", "::", "FP64BitRegClass", ",", "TRI", ")", ";", "}", "if", "(", "SystemZ", "::", "VR128BitRegClass", ".", "contains", "(", "Reg", ")", ")", "{", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "TII", "->", "storeRegToStackSlot", "(", "MBB", ",", "MBBI", ",", "Reg", ",", "true", ",", "CSI", "[", "I", "]", ".", "getFrameIdx", "(", ")", ",", "&", "SystemZ", "::", "VR128BitRegClass", ",", "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": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ::GPRRegs", "\"Should be saving %r15 and something else\"", "SystemZ::STMG", "SystemZ::R15D", "0", "SystemZ::GR64BitRegClass", "SystemZ::ELFNumArgGPRs", "SystemZ::ELFArgGPRs", "0", "SystemZ::FP64BitRegClass", "SystemZ::FP64BitRegClass", "SystemZ::VR128BitRegClass", "SystemZ::VR128BitRegClass"], "File": "SystemZFrameLowering32", "Func": "spillCalleeSavedRegisters", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17281, "Length": 424, "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": ["SystemZ", "0"], "File": "SystemZDisassembler14", "Func": "tryAddingSymbolicOperand", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17282, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMSubtarget", "::", "ARMSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "const", "TargetOptions", "&", "Options", ")", ":", "ARMGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "ARMProcFamily", "(", "Others", ")", ",", "stackAlignment", "(", "4", ")", ",", "CPUString", "(", "CPU", ")", ",", "TargetTriple", "(", "TT", ")", ",", "Options", "(", "Options", ")", ",", "TargetABI", "(", "ARM_ABI_APCS", ")", "{", "initializeEnvironment", "(", ")", ";", "resetSubtargetFeatures", "(", "CPU", ",", "FS", ")", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM", "4", "ARM"], "File": "ARMSubtarget11", "Func": "ARMSubtarget", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17283, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetLowering", "::", "shouldFoldConstantShiftPairToMask", "(", "const", "SDNode", "*", "N", ",", "CombineLevel", "Level", ")", "const", "{", "if", "(", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", ".", "isVector", "(", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "profitable", "to", "fold", "a", "pair", "of", "shifts", "into", "a", "mask", "."], "TS_V_token": ["Mips", "Mips", "0"], "File": "MipsISelLowering (2)4", "Func": "shouldFoldConstantShiftPairToMask", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17284, "Length": 39, "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": 17285, "Length": 493, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "mips_initial_elimination_offset", "(", "int", "from", ",", "int", "to", ")", "{", "HOST_WIDE_INT", "offset", ";", "compute_frame_size", "(", "get_frame_size", "(", ")", ")", ";", "switch", "(", "from", ")", "{", "case", "FRAME_POINTER_REGNUM", ":", "offset", "=", "0", ";", "break", ";", "case", "ARG_POINTER_REGNUM", ":", "offset", "=", "(", "cfun", "->", "machine", "->", "frame", ".", "total_size", "-", "current_function_pretend_args_size", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "TARGET_MIPS16", "&&", "to", "==", "HARD_FRAME_POINTER_REGNUM", ")", "offset", "-=", "cfun", "->", "machine", "->", "frame", ".", "args_size", ";", "return", "offset", ";", "}", ""], "natrual_language": ["Implement", "INITIAL_ELIMINATION_OFFSET", ".", "FROM", "is", "either", "the", "frame", "pointer", "or", "argument", "pointer", ".", "TO", "is", "either", "the", "stack", "pointer", "or", "hard", "frame", "pointer", "."], "TS_V_token": ["mips", "0"], "File": "mips3", "Func": "mips_initial_elimination_offset", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17286, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64A53Fix835769", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** AArch64A53Fix835769 *****\\n\"", ")", ";", "bool", "Changed", "=", "false", ";", "TII", "=", "F", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "for", "(", "auto", "&", "MBB", ":", "F", ")", "{", "Changed", "|=", "runOnBasicBlock", "(", "MBB", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"***** AArch64A53Fix835769 *****\\n\""], "File": "AArch64A53Fix835769", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17287, "Length": 57, "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", "::", "LDURBBi", ":", "case", "AArch64", "::", "LDRSBWui", ":", "case", "AArch64", "::", "LDURSBWi", ":", "case", "AArch64", "::", "STRBBui", ":", "case", "AArch64", "::", "STURBBi", ":", "return", "1", ";", "case", "AArch64", "::", "LDRHHui", ":", "case", "AArch64", "::", "LDURHHi", ":", "case", "AArch64", "::", "LDRSHWui", ":", "case", "AArch64", "::", "LDURSHWi", ":", "case", "AArch64", "::", "STRHHui", ":", "case", "AArch64", "::", "STURHHi", ":", "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::LDURBBi", "AArch64::LDRSBWui", "AArch64::LDURSBWi", "AArch64::STRBBui", "AArch64::STURBBi", "1", "AArch64::LDRHHui", "AArch64::LDURHHi", "AArch64::LDRSHWui", "AArch64::LDURSHWi", "AArch64::STRHHui", "AArch64::STURHHi", "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": "AArch64LoadStoreOptimizer", "Func": "getMemScale", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17288, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "reset", "(", ")", "{", "Blocks", ".", "clear", "(", ")", ";", "PredicatedInsts", ".", "clear", "(", ")", ";", "CurrentPredicates", ".", "clear", "(", ")", ";", "}", ""], "natrual_language": ["Reset", "an", "existing", "scalar", "value", "for", "Def", "and", "a", "given", "Instance", "."], "TS_V_token": ["ARM"], "File": "ARMLowOverheadLoops", "Func": "reset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17289, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "aarch64_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", ")", "{", "unsigned", "*", "cost", "=", "(", "unsigned", "*", ")", "data", ";", "unsigned", "retval", "=", "0", ";", "if", "(", "flag_vect_cost_model", ")", "{", "tree", "vectype", "=", "stmt_info", "?", "stmt_vectype", "(", "stmt_info", ")", ":", "NULL_TREE", ";", "int", "stmt_cost", "=", "aarch64_builtin_vectorization_cost", "(", "kind", ",", "vectype", ",", "misalign", ")", ";", "if", "(", "where", "==", "vect_body", "&&", "stmt_info", "&&", "stmt_in_inner_loop_p", "(", "stmt_info", ")", ")", "{", "loop_vec_info", "loop_info", "=", "STMT_VINFO_LOOP_VINFO", "(", "stmt_info", ")", ";", "struct", "loop", "*", "loop", "=", "LOOP_VINFO_LOOP", "(", "loop_info", ")", ";", "unsigned", "nest_level", "=", "loop_depth", "(", "loop", ")", ";", "count", "*=", "nest_level", ";", "}", "retval", "=", "(", "unsigned", ")", "(", "count", "*", "stmt_cost", ")", ";", "cost", "[", "where", "]", "+=", "retval", ";", "}", "return", "retval", ";", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.add_stmt_cost", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch642", "Func": "aarch64_add_stmt_cost", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17290, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "arm_cxx_guard_type", "(", "void", ")", "{", "return", "TARGET_AAPCS_BASED", "?", "integer_type_node", ":", "long_long_integer_type_node", ";", "}", ""], "natrual_language": ["The", "generic", "C++", "ABI", "says", "64-bit", "(", "long", "long", ")", ".", "The", "EABI", "says", "32-bit", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_cxx_guard_type", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17291, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "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\"", ")", ";", "EVT", "VT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "if", "(", "(", "Subtarget", ".", "hasFastVectorShiftMasks", "(", ")", "&&", "VT", ".", "isVector", "(", ")", ")", "||", "(", "Subtarget", ".", "hasFastScalarShiftMasks", "(", ")", "&&", "!", "VT", ".", "isVector", "(", ")", ")", ")", "{", "return", "N", "->", "getOperand", "(", "1", ")", "==", "N", "->", "getOperand", "(", "0", ")", ".", "getOperand", "(", "1", ")", ";", "}", "return", "TargetLoweringBase", "::", "shouldFoldConstantShiftPairToMask", "(", "N", ",", "Level", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "profitable", "to", "fold", "a", "pair", "of", "shifts", "into", "a", "mask", "."], "TS_V_token": ["X86", "X86", "ISD::SHL", "0", "ISD::SRL", "ISD::SRL", "0", "ISD::SHL", "\"Expected shift-shift mask\"", "0", "1", "0", "1"], "File": "X86ISelLowering (2)5", "Func": "shouldFoldConstantShiftPairToMask", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17292, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "override", "{", "verifyInstructionPredicates", "(", "MI", ",", "computeAvailableFeatures", "(", "STI", ".", "getFeatureBits", "(", ")", ")", ")", ";", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "Opcode", ")", ";", "uint64_t", "Bits", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "unsigned", "Size", "=", "Desc", ".", "getSize", "(", ")", ";", "switch", "(", "Size", ")", "{", "case", "0", ":", "break", ";", "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", "0", "4", "support::endian", "support::little", "support::endian", "support::big", "8", "32", "32", "support::endian", "support::little", "support::endian", "support::big", "\"Invalid instruction size\""], "File": "PPCMCCodeEmitter42", "Func": "encodeInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17293, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "EmitInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "if", "(", "isIndirectJump", "(", "Inst", ")", ")", "{", "if", "(", "PendingCall", ")", "report_fatal_error", "(", "\"Dangerous instruction in branch delay slot!\"", ")", ";", "sandboxIndirectJump", "(", "Inst", ",", "STI", ")", ";", "return", ";", "}", "unsigned", "AddrIdx", ";", "bool", "IsStore", ";", "bool", "IsMemAccess", "=", "isBasePlusOffsetMemoryAccess", "(", "Inst", ".", "getOpcode", "(", ")", ",", "&", "AddrIdx", ",", "&", "IsStore", ")", ";", "bool", "IsSPFirstOperand", "=", "isStackPointerFirstOperand", "(", "Inst", ")", ";", "if", "(", "IsMemAccess", "||", "IsSPFirstOperand", ")", "{", "if", "(", "PendingCall", ")", "report_fatal_error", "(", "\"Dangerous instruction in branch delay slot!\"", ")", ";", "bool", "MaskBefore", "=", "(", "IsMemAccess", "&&", "baseRegNeedsLoadStoreMask", "(", "Inst", ".", "getOperand", "(", "AddrIdx", ")", ".", "getReg", "(", ")", ")", ")", ";", "bool", "MaskAfter", "=", "IsSPFirstOperand", "&&", "!", "IsStore", ";", "if", "(", "MaskBefore", "||", "MaskAfter", ")", "sandboxLoadStoreStackChange", "(", "Inst", ",", "AddrIdx", ",", "STI", ",", "MaskBefore", ",", "MaskAfter", ")", ";", "else", "MipsELFStreamer", "::", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "return", ";", "}", "bool", "IsIndirectCall", ";", "if", "(", "isCall", "(", "Inst", ".", "getOpcode", "(", ")", ",", "&", "IsIndirectCall", ")", ")", "{", "if", "(", "PendingCall", ")", "report_fatal_error", "(", "\"Dangerous instruction in branch delay slot!\"", ")", ";", "EmitBundleLock", "(", "true", ")", ";", "if", "(", "IsIndirectCall", ")", "{", "unsigned", "TargetReg", "=", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "emitMask", "(", "TargetReg", ",", "IndirectBranchMaskReg", ",", "STI", ")", ";", "}", "MipsELFStreamer", "::", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "PendingCall", "=", "true", ";", "return", ";", "}", "if", "(", "PendingCall", ")", "{", "MipsELFStreamer", "::", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "EmitBundleUnlock", "(", ")", ";", "PendingCall", "=", "false", ";", "return", ";", "}", "MipsELFStreamer", "::", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["Mips", "\"Dangerous instruction in branch delay slot!\"", "\"Dangerous instruction in branch delay slot!\"", "Mips", "\"Dangerous instruction in branch delay slot!\"", "1", "Mips", "Mips", "Mips"], "File": "MipsNaClELFStreamer11", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17294, "Length": 263, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86CallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "ArrayRef", "<", "Register", ">", "VRegs", ",", "FunctionLoweringInfo", "&", "FLI", ")", "const", "{", "assert", "(", "(", "(", "Val", "&&", "!", "VRegs", ".", "empty", "(", ")", ")", "||", "(", "!", "Val", "&&", "VRegs", ".", "empty", "(", ")", ")", ")", "&&", "\"Return value without a vreg\"", ")", ";", "auto", "MIB", "=", "MIRBuilder", ".", "buildInstrNoInsert", "(", "X86", "::", "RET", ")", ".", "addImm", "(", "0", ")", ";", "if", "(", "!", "VRegs", ".", "empty", "(", ")", ")", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "const", "DataLayout", "&", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "LLVMContext", "&", "Ctx", "=", "Val", "->", "getType", "(", ")", "->", "getContext", "(", ")", ";", "const", "X86TargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "X86TargetLowering", ">", "(", ")", ";", "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", ")", "{", "ArgInfo", "CurArgInfo", "=", "ArgInfo", "{", "VRegs", "[", "i", "]", ",", "SplitEVTs", "[", "i", "]", ".", "getTypeForEVT", "(", "Ctx", ")", "}", ";", "setArgFlags", "(", "CurArgInfo", ",", "AttributeList", "::", "ReturnIndex", ",", "DL", ",", "F", ")", ";", "if", "(", "!", "splitToValueTypes", "(", "CurArgInfo", ",", "SplitArgs", ",", "DL", ",", "MRI", ",", "[", "&", "]", "(", "ArrayRef", "<", "Register", ">", "Regs", ")", "{", "MIRBuilder", ".", "buildUnmerge", "(", "Regs", ",", "VRegs", "[", "i", "]", ")", ";", "}", ")", ")", "return", "false", ";", "}", "X86OutgoingValueHandler", "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", "X86", "X86", "4", "\"For each split Type there should be exactly one VReg.\"", "8", "0", "X86", "X86"], "File": "X86CallLowering31", "Func": "lowerReturn", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17295, "Length": 334, "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": 17296, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "MachineLoopInfo", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AArch64"], "File": "AArch64FalkorHWPFFix22", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17297, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "arm_simd_vect_par_cnst_half", "(", "machine_mode", "mode", ",", "bool", "high", ")", "{", "int", "nunits", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "rtvec", "v", "=", "rtvec_alloc", "(", "nunits", "/", "2", ")", ";", "int", "high_base", "=", "nunits", "/", "2", ";", "int", "low_base", "=", "0", ";", "int", "base", ";", "rtx", "t1", ";", "int", "i", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "base", "=", "high", "?", "low_base", ":", "high_base", ";", "else", "base", "=", "high", "?", "high_base", ":", "low_base", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nunits", "/", "2", ";", "i", "++", ")", "RTVEC_ELT", "(", "v", ",", "i", ")", "=", "GEN_INT", "(", "base", "+", "i", ")", ";", "t1", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "v", ")", ";", "return", "t1", ";", "}", ""], "natrual_language": ["Construct", "and", "return", "a", "PARALLEL", "RTX", "vector", "with", "elements", "numbering", "the", "lanes", "of", "either", "the", "high", "(", "HIGH", "==", "TRUE", ")", "or", "low", "(", "HIGH", "==", "FALSE", ")", "half", "of", "the", "vector", "-", "from", "the", "perspective", "of", "the", "architecture", ".", "This", "does", "not", "line", "up", "with", "GCC", "'s", "perspective", "on", "lane", "numbers", ",", "so", "we", "end", "up", "with", "different", "masks", "depending", "on", "our", "target", "endian-ness", ".", "The", "diagram", "below", "may", "help", ".", "We", "must", "draw", "the", "distinction", "when", "building", "masks", "which", "select", "one", "half", "of", "the", "vector", ".", "An", "instruction", "selecting", "architectural", "low-lanes", "for", "a", "big-endian", "target", ",", "must", "be", "described", "using", "a", "mask", "selecting", "GCC", "high-lanes", ".", "Big-Endian", "Little-EndianGCC", "0", "1", "2", "3", "3", "2", "1", "0", "|", "x", "|", "x", "|", "x", "|", "x", "|", "|", "x", "|", "x", "|", "x", "|", "x", "|Architecture", "3", "2", "1", "0", "3", "2", "1", "0Low", "Mask", ":", "{", "2", ",", "3", "}", "{", "0", ",", "1", "}", "High", "Mask", ":", "{", "0", ",", "1", "}", "{", "2", ",", "3", "}"], "TS_V_token": ["arm", "2", "2", "0", "0", "2"], "File": "arm", "Func": "arm_simd_vect_par_cnst_half", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17298, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Kudeyar DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Kudeyar", "\"Kudeyar DAG->DAG Pattern Instruction Selection\""], "File": "KudeyarISelDAGToDAG", "Func": "getPassName", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17299, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "SystemZRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "if", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getTargetLowering", "(", ")", "->", "supportSwiftError", "(", ")", "&&", "MF", ".", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ".", "hasAttrSomewhere", "(", "Attribute", "::", "SwiftError", ")", ")", "return", "CSR_SystemZ_SwiftError_RegMask", ";", "return", "CSR_SystemZ_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ"], "File": "SystemZRegisterInfo12", "Func": "getCallPreservedMask", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17300, "Length": 59, "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", ".", "isValid", "(", ")", "?", "CPUAttr", ".", "getValueAsString", "(", ")", ".", "str", "(", ")", ":", "TargetCPU", ";", "std", "::", "string", "FS", "=", "FSAttr", ".", "isValid", "(", ")", "?", "FSAttr", ".", "getValueAsString", "(", ")", ".", "str", "(", ")", ":", "TargetFS", ";", "bool", "hasMips16Attr", "=", "F", ".", "getFnAttribute", "(", "\"mips16\"", ")", ".", "isValid", "(", ")", ";", "bool", "hasNoMips16Attr", "=", "F", ".", "getFnAttribute", "(", "\"nomips16\"", ")", ".", "isValid", "(", ")", ";", "bool", "HasMicroMipsAttr", "=", "F", ".", "getFnAttribute", "(", "\"micromips\"", ")", ".", "isValid", "(", ")", ";", "bool", "HasNoMicroMipsAttr", "=", "F", ".", "getFnAttribute", "(", "\"nomicromips\"", ")", ".", "isValid", "(", ")", ";", "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", "=", "std", "::", "make_unique", "<", "MipsSubtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "isLittle", ",", "*", "this", ",", "MaybeAlign", "(", "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": "MipsTargetMachine75", "Func": "getSubtargetImpl", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17301, "Length": 300, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ATTRIBUTE_UNUSED", "ix86_debug_options", "(", "void", ")", "{", "char", "*", "opts", "=", "ix86_target_string", "(", "ix86_isa_flags", ",", "ix86_isa_flags2", ",", "target_flags", ",", "ix86_target_flags", ",", "ix86_arch_string", ",", "ix86_tune_string", ",", "ix86_fpmath", ",", "prefer_vector_width_type", ",", "ix86_move_max", ",", "ix86_store_max", ",", "true", ",", "true", ")", ";", "if", "(", "opts", ")", "{", "fprintf", "(", "stderr", ",", "\"%s\\n\\n\"", ",", "opts", ")", ";", "free", "(", "opts", ")", ";", "}", "else", "fputs", "(", "\"\\n\\n\"", ",", "stderr", ")", ";", "return", ";", "}", ""], "natrual_language": ["Function", "that", "is", "callable", "from", "the", "debugger", "to", "print", "the", "current", "options", "."], "TS_V_token": ["i386", "\"%s\\n\\n\"", "\"\\n\\n\""], "File": "i386-options", "Func": "ix86_debug_options", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17302, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "buildOutlinedFrame", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineFunction", "&", "MF", ",", "const", "outliner", "::", "OutlinedFunction", "&", "OF", ")", "const", "{", "if", "(", "OF", ".", "FrameConstructionID", "==", "MachineOutlinerTailCall", ")", "return", ";", "MachineInstr", "*", "retq", "=", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "X86", "::", "RETQ", ")", ")", ";", "MBB", ".", "insert", "(", "MBB", ".", "end", "(", ")", ",", "retq", ")", ";", "}", ""], "natrual_language": ["Insert", "a", "custom", "frame", "for", "outlined", "functions", "."], "TS_V_token": ["X86", "X86", "X86::RETQ"], "File": "X86InstrInfo (2)3", "Func": "buildOutlinedFrame", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17303, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LC2200FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "assert", "(", "&", "MF", ".", "front", "(", ")", "==", "&", "MBB", "&&", "\"Shrink-wrapping not yet supported\"", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "LC2200RegisterInfo", "*", "RI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "const", "LC2200InstrInfo", "*", "TII", "=", "STI", ".", "getInstrInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "if", "(", "RI", "->", "needsStackRealignment", "(", "MF", ")", "&&", "MFI", ".", "hasVarSizedObjects", "(", ")", ")", "{", "report_fatal_error", "(", "\"RISC-V backend can't currently handle functions that need stack \"", "\"realignment and have variable sized objects\"", ")", ";", "}", "Register", "FPReg", "=", "LC2200", "::", "fp", ";", "Register", "SPReg", "=", "LC2200", "::", "sp", ";", "DebugLoc", "DL", ";", "determineFrameLayout", "(", "MF", ")", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "0", "&&", "!", "MFI", ".", "adjustsStack", "(", ")", ")", "return", ";", "adjustReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "SPReg", ",", "SPReg", ",", "-", "StackSize", ",", "MachineInstr", "::", "FrameSetup", ")", ";", "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", "(", ")", ";", "std", "::", "advance", "(", "MBBI", ",", "CSI", ".", "size", "(", ")", ")", ";", "for", "(", "const", "auto", "&", "Entry", ":", "CSI", ")", "{", "int64_t", "Offset", "=", "MFI", ".", "getObjectOffset", "(", "Entry", ".", "getFrameIdx", "(", ")", ")", ";", "Register", "Reg", "=", "Entry", ".", "getReg", "(", ")", ";", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createOffset", "(", "nullptr", ",", "RI", "->", "getDwarfRegNum", "(", "Reg", ",", "true", ")", ",", "Offset", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "adjustReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "FPReg", ",", "SPReg", ",", "StackSize", ",", "MachineInstr", "::", "FrameSetup", ")", ";", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createDefCfa", "(", "nullptr", ",", "RI", "->", "getDwarfRegNum", "(", "FPReg", ",", "true", ")", ",", "0", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "const", "LC2200RegisterInfo", "*", "RI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "if", "(", "RI", "->", "needsStackRealignment", "(", "MF", ")", ")", "{", "llvm_unreachable", "(", "\"cannot realign\"", ")", ";", "}", "}", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["LC2200", "LC2200", "\"Shrink-wrapping not yet supported\"", "LC2200", "LC2200", "\"RISC-V backend can't currently handle functions that need stack \"", "\"realignment and have variable sized objects\"", "LC2200::fp", "LC2200::sp", "0", "0", "LC2200", "\"cannot realign\""], "File": "LC2200FrameLowering1", "Func": "emitPrologue", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17304, "Length": 420, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmPrinter", "::", "emitStartOfAsmFile", "(", "Module", "&", "M", ")", "{", "const", "Triple", "&", "TT", "=", "TM", ".", "getTargetTriple", "(", ")", ";", "if", "(", "TT", ".", "isOSBinFormatELF", "(", ")", ")", "{", "unsigned", "FeatureFlagsAnd", "=", "0", ";", "if", "(", "M", ".", "getModuleFlag", "(", "\"cf-protection-branch\"", ")", ")", "FeatureFlagsAnd", "|=", "ELF", "::", "GNU_PROPERTY_X86_FEATURE_1_IBT", ";", "if", "(", "M", ".", "getModuleFlag", "(", "\"cf-protection-return\"", ")", ")", "FeatureFlagsAnd", "|=", "ELF", "::", "GNU_PROPERTY_X86_FEATURE_1_SHSTK", ";", "if", "(", "FeatureFlagsAnd", ")", "{", "if", "(", "!", "TT", ".", "isArch32Bit", "(", ")", "&&", "!", "TT", ".", "isArch64Bit", "(", ")", ")", "llvm_unreachable", "(", "\"CFProtection used on invalid architecture!\"", ")", ";", "MCSection", "*", "Cur", "=", "OutStreamer", "->", "getCurrentSectionOnly", "(", ")", ";", "MCSection", "*", "Nt", "=", "MMI", "->", "getContext", "(", ")", ".", "getELFSection", "(", "\".note.gnu.property\"", ",", "ELF", "::", "SHT_NOTE", ",", "ELF", "::", "SHF_ALLOC", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "Nt", ")", ";", "const", "int", "WordSize", "=", "TT", ".", "isArch64Bit", "(", ")", "&&", "TT", ".", "getEnvironment", "(", ")", "!=", "Triple", "::", "GNUX32", "?", "8", ":", "4", ";", "emitAlignment", "(", "WordSize", "==", "4", "?", "Align", "(", "4", ")", ":", "Align", "(", "8", ")", ")", ";", "OutStreamer", "->", "emitIntValue", "(", "4", ",", "4", ")", ";", "OutStreamer", "->", "emitIntValue", "(", "8", "+", "WordSize", ",", "4", ")", ";", "OutStreamer", "->", "emitIntValue", "(", "ELF", "::", "NT_GNU_PROPERTY_TYPE_0", ",", "4", ")", ";", "OutStreamer", "->", "emitBytes", "(", "StringRef", "(", "\"GNU\"", ",", "4", ")", ")", ";", "OutStreamer", "->", "emitInt32", "(", "ELF", "::", "GNU_PROPERTY_X86_FEATURE_1_AND", ")", ";", "OutStreamer", "->", "emitInt32", "(", "4", ")", ";", "OutStreamer", "->", "emitInt32", "(", "FeatureFlagsAnd", ")", ";", "emitAlignment", "(", "WordSize", "==", "4", "?", "Align", "(", "4", ")", ":", "Align", "(", "8", ")", ")", ";", "OutStreamer", "->", "endSection", "(", "Nt", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "Cur", ")", ";", "}", "}", "if", "(", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "OutStreamer", "->", "SwitchSection", "(", "getObjFileLowering", "(", ")", ".", "getTextSection", "(", ")", ")", ";", "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", "(", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86", ")", "{", "Feat00Flags", "|=", "1", ";", "}", "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", "(", ")", ")", ")", ";", "}", "OutStreamer", "->", "emitSyntaxDirective", "(", ")", ";", "bool", "is16", "=", "TT", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "CODE16", ";", "if", "(", "M", ".", "getModuleInlineAsm", "(", ")", ".", "empty", "(", ")", "&&", "is16", ")", "OutStreamer", "->", "emitAssemblerFlag", "(", "MCAF_Code16", ")", ";", "}", ""], "natrual_language": ["This", "virtual", "method", "can", "be", "overridden", "by", "targets", "that", "want", "to", "emit", "something", "at", "the", "start", "of", "their", "file", "."], "TS_V_token": ["X86", "X86", "0", "\"cf-protection-branch\"", "X86", "\"cf-protection-return\"", "X86", "\"CFProtection used on invalid architecture!\"", "\".note.gnu.property\"", "8", "4", "4", "4", "8", "4", "4", "8", "4", "4", "\"GNU\"", "4", "X86", "4", "4", "4", "8", "\"@feat.00\"", "0", "1", "\"cfguard\"", "0x800", "\"ehcontguard\"", "0x4000"], "File": "X86AsmPrinter67", "Func": "emitStartOfAsmFile", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17305, "Length": 474, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "reMaterialize", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "unsigned", "SubIdx", ",", "const", "MachineInstr", "*", "Orig", ",", "const", "TargetRegisterInfo", "&", "TRI", ")", "const", "{", "unsigned", "Opc", "=", "Orig", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "X86", "::", "MOV32r0", "&&", "!", "isSafeToClobberEFLAGS", "(", "MBB", ",", "I", ")", ")", "{", "DebugLoc", "DL", "=", "Orig", "->", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "X86", "::", "MOV32ri", ")", ")", ".", "addOperand", "(", "Orig", "->", "getOperand", "(", "0", ")", ")", ".", "addImm", "(", "0", ")", ";", "}", "else", "{", "MachineInstr", "*", "MI", "=", "MBB", ".", "getParent", "(", ")", "->", "CloneMachineInstr", "(", "Orig", ")", ";", "MBB", ".", "insert", "(", "I", ",", "MI", ")", ";", "}", "MachineInstr", "*", "NewMI", "=", "prior", "(", "I", ")", ";", "NewMI", "->", "substituteRegister", "(", "Orig", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "DestReg", ",", "SubIdx", ",", "TRI", ")", ";", "}", ""], "natrual_language": ["Re-issue", "the", "specified", "'original", "'", "instruction", "at", "the", "specific", "location", "targeting", "a", "new", "destination", "register", "."], "TS_V_token": ["X86", "X86", "X86::MOV32r0", "X86::MOV32ri", "0", "0", "0"], "File": "X86InstrInfo103", "Func": "reMaterialize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17306, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ia64_load_pair_ok", "(", "rtx", "dst", ",", "rtx", "src", ")", "{", "if", "(", "GET_CODE", "(", "dst", ")", "!=", "REG", "||", "!", "(", "FP_REGNO_P", "(", "REGNO", "(", "dst", ")", ")", "&&", "FP_REGNO_P", "(", "REGNO", "(", "dst", ")", "+", "1", ")", ")", ")", "return", "0", ";", "if", "(", "GET_CODE", "(", "src", ")", "!=", "MEM", "||", "MEM_VOLATILE_P", "(", "src", ")", ")", "return", "0", ";", "switch", "(", "GET_CODE", "(", "XEXP", "(", "src", ",", "0", ")", ")", ")", "{", "case", "REG", ":", "case", "POST_INC", ":", "break", ";", "case", "POST_DEC", ":", "return", "0", ";", "case", "POST_MODIFY", ":", "{", "rtx", "adjust", "=", "XEXP", "(", "XEXP", "(", "XEXP", "(", "src", ",", "0", ")", ",", "1", ")", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "adjust", ")", "!=", "CONST_INT", "||", "INTVAL", "(", "adjust", ")", "!=", "GET_MODE_SIZE", "(", "GET_MODE", "(", "src", ")", ")", ")", "return", "0", ";", "}", "break", ";", "default", ":", "abort", "(", ")", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["Return", "1", "if", "the", "operands", "are", "ok", "for", "a", "floating", "point", "load", "pair", "."], "TS_V_token": ["ia64", "1", "0", "0", "0", "0", "0", "1", "1", "0", "1"], "File": "ia64", "Func": "ia64_load_pair_ok", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17307, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_finish_declare_object", "(", "FILE", "*", "stream", ",", "tree", "decl", ",", "int", "top_level", ",", "int", "at_end", ")", "{", "const", "char", "*", "name", ";", "name", "=", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "decl", ")", ",", "0", ")", ",", "0", ")", ";", "if", "(", "!", "flag_inhibit_size_directive", "&&", "DECL_SIZE", "(", "decl", ")", "!=", "0", "&&", "!", "at_end", "&&", "top_level", "&&", "DECL_INITIAL", "(", "decl", ")", "==", "error_mark_node", "&&", "!", "size_directive_output", ")", "{", "HOST_WIDE_INT", "size", ";", "size_directive_output", "=", "1", ";", "size", "=", "int_size_in_bytes", "(", "TREE_TYPE", "(", "decl", ")", ")", ";", "ASM_OUTPUT_SIZE_DIRECTIVE", "(", "stream", ",", "name", ",", "size", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "ASM_FINISH_DECLARE_OBJECT", ".", "This", "is", "generic", "ELF", "stuff", "."], "TS_V_token": ["mips", "0", "0", "0", "1"], "File": "mips", "Func": "mips_finish_declare_object", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17308, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "function_builder", "::", "register_function_group", "(", "const", "function_group_info", "&", "group", ")", "{", "(", "*", "group", ".", "shape", ")", "->", "build", "(", "*", "this", ",", "group", ")", ";", "}", ""], "natrual_language": ["Register", "all", "the", "functions", "in", "GROUP", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "register_function_group", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17309, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "OpenRISCInstPrinter", "::", "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": ["OpenRISC", "OpenRISC"], "File": "OpenRISCInstPrinter", "Func": "printInst", "Target": "OpenRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17310, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "choose_baseaddr", "(", "HOST_WIDE_INT", "cfa_offset", ",", "unsigned", "int", "*", "align", ",", "unsigned", "int", "scratch_regno", "=", "INVALID_REGNUM", ")", "{", "rtx", "base_reg", "=", "NULL", ";", "HOST_WIDE_INT", "base_offset", "=", "0", ";", "if", "(", "align", "&&", "*", "align", ")", "choose_basereg", "(", "cfa_offset", ",", "base_reg", ",", "base_offset", ",", "*", "align", ",", "align", ")", ";", "if", "(", "!", "base_reg", ")", "choose_basereg", "(", "cfa_offset", ",", "base_reg", ",", "base_offset", ",", "0", ",", "align", ")", ";", "gcc_assert", "(", "base_reg", "!=", "NULL", ")", ";", "rtx", "base_offset_rtx", "=", "GEN_INT", "(", "base_offset", ")", ";", "if", "(", "!", "x86_64_immediate_operand", "(", "base_offset_rtx", ",", "Pmode", ")", ")", "{", "gcc_assert", "(", "scratch_regno", "!=", "INVALID_REGNUM", ")", ";", "rtx", "scratch_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "scratch_regno", ")", ";", "emit_move_insn", "(", "scratch_reg", ",", "base_offset_rtx", ")", ";", "return", "gen_rtx_PLUS", "(", "Pmode", ",", "base_reg", ",", "scratch_reg", ")", ";", "}", "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"], "File": "i386", "Func": "choose_baseaddr", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17311, "Length": 140, "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": ["Sparc"], "File": "SparcAsmParser11", "Func": "isReg", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17312, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "MandarinTargetLowering", "::", "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": ["Mandarin", "MVT::i32"], "File": "MandarinISelLowering", "Func": "getSetCCResultType", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17313, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16HardFloat", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"Run on Module Mips16HardFloat\\n\"", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "Module", "::", "iterator", "F", "=", "M", ".", "begin", "(", ")", ",", "E", "=", "M", ".", "end", "(", ")", ";", "F", "!=", "E", ";", "++", "F", ")", "{", "if", "(", "F", "->", "hasFnAttribute", "(", "\"nomips16\"", ")", "&&", "F", "->", "hasFnAttribute", "(", "\"use-soft-float\"", ")", ")", "{", "removeUseSoftFloat", "(", "*", "F", ")", ";", "continue", ";", "}", "if", "(", "F", "->", "isDeclaration", "(", ")", "||", "F", "->", "hasFnAttribute", "(", "\"mips16_fp_stub\"", ")", "||", "F", "->", "hasFnAttribute", "(", "\"nomips16\"", ")", ")", "continue", ";", "Modified", "|=", "fixupFPReturnAndCall", "(", "*", "F", ",", "&", "M", ",", "TM", ")", ";", "FPParamVariant", "V", "=", "whichFPParamVariantNeeded", "(", "*", "F", ")", ";", "if", "(", "V", "!=", "NoSig", ")", "{", "Modified", "=", "true", ";", "createFPFnStub", "(", "&", "*", "F", ",", "&", "M", ",", "V", ",", "TM", ")", ";", "}", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["Mips", "Mips", "\"Run on Module Mips16HardFloat\\n\"", "\"nomips16\"", "\"use-soft-float\"", "\"mips16_fp_stub\"", "\"nomips16\""], "File": "Mips16HardFloat12", "Func": "runOnModule", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17314, "Length": 156, "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": 17315, "Length": 298, "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": 17316, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "MipsRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MipsSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "Subtarget", ".", "getFrameLowering", "(", ")", ";", "auto", "&", "ABI", "=", "static_cast", "<", "const", "MipsTargetMachine", "&", ">", "(", "MF", ".", "getTarget", "(", ")", ")", ".", "getABI", "(", ")", ";", "if", "(", "Subtarget", ".", "inMips16Mode", "(", ")", ")", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "Mips", "::", "S0", ":", "Mips", "::", "SP", ";", "else", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "ABI", ".", "GetFramePtr", "(", ")", ":", "ABI", ".", "GetStackPtr", "(", ")", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::S0", "Mips::SP"], "File": "MipsRegisterInfo35", "Func": "getFrameRegister", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17317, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_mask_atomic_subword", "(", "rtx", "oldval", ",", "rtx", "newval", ",", "rtx", "mask", ")", "{", "rtx", "x", ";", "x", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "x", ",", "gen_rtx_AND", "(", "SImode", ",", "gen_rtx_NOT", "(", "SImode", ",", "mask", ")", ",", "oldval", ")", ")", ")", ";", "x", "=", "expand_simple_binop", "(", "SImode", ",", "IOR", ",", "newval", ",", "x", ",", "x", ",", "1", ",", "OPTAB_LIB_WIDEN", ")", ";", "return", "x", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "the", "various", "atomic", "expanders", ".", "For", "sub-word", "operands", ",", "combine", "OLDVAL", "and", "NEWVAL", "via", "MASK", ".", "Returns", "a", "new", "pseduo", "."], "TS_V_token": ["rs6000", "1"], "File": "rs60004", "Func": "rs6000_mask_atomic_subword", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17318, "Length": 71, "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": ["rs6000"], "File": "rs6000", "Func": "emit_unlikely_jump", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17319, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcFrameInfo", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "SparcInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "SparcInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "int", "NumBytes", "=", "(", "int", ")", "MFI", "->", "getStackSize", "(", ")", ";", "NumBytes", "+=", "92", ";", "NumBytes", "=", "(", "NumBytes", "+", "7", ")", "&", "~", "7", ";", "NumBytes", "=", "-", "NumBytes", ";", "if", "(", "NumBytes", ">=", "-", "4096", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "SAVEri", ")", ",", "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", "::", "SAVErr", ")", ",", "SP", "::", "O6", ")", ".", "addReg", "(", "SP", "::", "O6", ")", ".", "addReg", "(", "SP", "::", "G1", ")", ";", "}", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc", "92", "7", "7", "4096", "SP::SAVEri", "SP::O6", "SP::O6", "10U", "SP::SETHIi", "SP::G1", "SP::ORri", "SP::G1", "SP::G1", "1", "10", "1", "SP::SAVErr", "SP::O6", "SP::O6", "SP::G1"], "File": "SparcFrameInfo", "Func": "emitPrologue", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17320, "Length": 283, "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": 17321, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LC3PassConfig", "::", "addPreISel", "(", ")", "{", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["LC3", "LC3"], "File": "LC3TargetMachine", "Func": "addPreISel", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17322, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86DCModule", "&", "getParent", "(", ")", "{", "return", "static_cast", "<", "X86DCModule", "&", ">", "(", "DCFunction", "::", "getParent", "(", ")", ")", ";", "}", ""], "natrual_language": ["getParent", "-", "Return", "the", "last", "analyzed", "interval", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86DCFunction", "Func": "getParent", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17323, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCFrameLowering", "::", "determineFrameLayoutAndUpdate", "(", "MachineFunction", "&", "MF", ",", "bool", "UseEstimate", ")", "const", "{", "unsigned", "NewMaxCallFrameSize", "=", "0", ";", "unsigned", "FrameSize", "=", "determineFrameLayout", "(", "MF", ",", "UseEstimate", ",", "&", "NewMaxCallFrameSize", ")", ";", "MF", ".", "getFrameInfo", "(", ")", ".", "setStackSize", "(", "FrameSize", ")", ";", "MF", ".", "getFrameInfo", "(", ")", ".", "setMaxCallFrameSize", "(", "NewMaxCallFrameSize", ")", ";", "return", "FrameSize", ";", "}", ""], "natrual_language": ["Determine", "the", "frame", "layout", "and", "update", "the", "machine", "function", "."], "TS_V_token": ["PowerPC", "PPC", "0"], "File": "PPCFrameLowering3", "Func": "determineFrameLayoutAndUpdate", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17324, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsGOT", "&", "MipsGNULDBackend", "::", "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": ["Mips", "Mips", "Mips"], "File": "MipsLDBackend", "Func": "getGOT", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17325, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "loongarch_print_operand_address", "(", "FILE", "*", "file", ",", "machine_mode", ",", "rtx", "x", ")", "{", "struct", "loongarch_address_info", "addr", ";", "if", "(", "loongarch_classify_address", "(", "&", "addr", ",", "x", ",", "word_mode", ",", "true", ")", ")", "switch", "(", "addr", ".", "type", ")", "{", "case", "ADDRESS_REG", ":", "fprintf", "(", "file", ",", "\"%s,\"", ",", "reg_names", "[", "REGNO", "(", "addr", ".", "reg", ")", "]", ")", ";", "loongarch_print_operand", "(", "file", ",", "addr", ".", "offset", ",", "0", ")", ";", "return", ";", "case", "ADDRESS_REG_REG", ":", "fprintf", "(", "file", ",", "\"%s,%s\"", ",", "reg_names", "[", "REGNO", "(", "addr", ".", "reg", ")", "]", ",", "reg_names", "[", "REGNO", "(", "addr", ".", "offset", ")", "]", ")", ";", "return", ";", "case", "ADDRESS_LO_SUM", ":", "fprintf", "(", "file", ",", "\"%s,\"", ",", "reg_names", "[", "REGNO", "(", "addr", ".", "reg", ")", "]", ")", ";", "loongarch_print_operand_reloc", "(", "file", ",", "addr", ".", "offset", ",", "false", ",", "false", ")", ";", "return", ";", "case", "ADDRESS_CONST_INT", ":", "fprintf", "(", "file", ",", "\"%s,\"", ",", "reg_names", "[", "GP_REG_FIRST", "]", ")", ";", "output_addr_const", "(", "file", ",", "x", ")", ";", "return", ";", "case", "ADDRESS_SYMBOLIC", ":", "output_addr_const", "(", "file", ",", "loongarch_strip_unspec_address", "(", "x", ")", ")", ";", "return", ";", "}", "if", "(", "CONST_INT_P", "(", "x", ")", ")", "output_addr_const", "(", "file", ",", "x", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PRINT_OPERAND_ADDRESS", "."], "TS_V_token": ["loongarch", "\"%s,\"", "0", "\"%s,%s\"", "\"%s,\"", "\"%s,\""], "File": "loongarch1", "Func": "loongarch_print_operand_address", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17326, "Length": 199, "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", ".", "getTargetData", "(", ")", "->", "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", ")", ";", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "CallResult", "=", "TLI", ".", "LowerCallTo", "(", "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", ")", ";", "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": "ARMSelectionDAGInfo28", "Func": "EmitTargetCodeForMemset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17327, "Length": 328, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "assign_386_stack_local", "(", "enum", "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", "s", "->", "rtl", ";", "s", "=", "(", "struct", "stack_local_entry", "*", ")", "ggc_alloc", "(", "sizeof", "(", "struct", "stack_local_entry", ")", ")", ";", "s", "->", "n", "=", "n", ";", "s", "->", "mode", "=", "mode", ";", "s", "->", "rtl", "=", "assign_stack_local", "(", "mode", ",", "GET_MODE_SIZE", "(", "mode", ")", ",", "0", ")", ";", "s", "->", "next", "=", "ix86_stack_locals", ";", "ix86_stack_locals", "=", "s", ";", "return", "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"], "File": "i3863", "Func": "assign_386_stack_local", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17328, "Length": 117, "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": 17329, "Length": 312, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMCC", "::", "CondCodes", "getPredicate", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "int", "PIdx", "=", "MI", "->", "findFirstPredOperandIdx", "(", ")", ";", "return", "PIdx", "!=", "-", "1", "?", "(", "ARMCC", "::", "CondCodes", ")", "MI", "->", "getOperand", "(", "PIdx", ")", ".", "getImm", "(", ")", ":", "ARMCC", "::", "AL", ";", "}", ""], "natrual_language": ["Returns", "the", "comparison", "predicate", "underlying", "the", "intrinsic", "."], "TS_V_token": ["ARM", "ARMCC::CondCodes", "1", "ARMCC::CondCodes", "ARMCC::AL"], "File": "ARMBaseInstrInfo (2)1", "Func": "getPredicate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17330, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "MipsTargetLowering", "::", "getOptimalMemOpType", "(", "const", "MemOp", "&", "Op", ",", "const", "AttributeList", "&", "FuncAttributes", ")", "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": "MipsISelLowering107", "Func": "getOptimalMemOpType", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17331, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "vax_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", ")", ";", "*", "cum", "+=", "(", "mode", "!=", "BLKmode", "?", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "3", ")", "&", "~", "3", ":", "(", "int_size_in_bytes", "(", "type", ")", "+", "3", ")", "&", "~", "3", ")", ";", "}", ""], "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": ["vax", "3", "3", "3", "3"], "File": "vax4", "Func": "vax_function_arg_advance", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17332, "Length": 61, "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", "MaxAlign", "=", "MFI", "->", "getMaxAlignment", "(", ")", ";", "unsigned", "TargetAlign", "=", "getStackAlignment", "(", ")", ";", "unsigned", "AlignMask", "=", "TargetAlign", "-", "1", ";", "bool", "DisableRedZone", "=", "MF", ".", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "NoRedZone", ")", ";", "if", "(", "!", "DisableRedZone", "&&", "(", "Subtarget", ".", "isPPC64", "(", ")", "||", "!", "Subtarget", ".", "isSVR4ABI", "(", ")", "||", "FrameSize", "==", "0", ")", "&&", "FrameSize", "<=", "224", "&&", "!", "MFI", "->", "hasVarSizedObjects", "(", ")", "&&", "!", "MFI", "->", "adjustsStack", "(", ")", "&&", "!", "(", "Subtarget", ".", "isPPC64", "(", ")", "&&", "Subtarget", ".", "isSVR4ABI", "(", ")", "&&", "spillsCR", "(", "MF", ")", ")", "&&", "(", "!", "ALIGN_STACK", "||", "MaxAlign", "<=", "TargetAlign", ")", ")", "{", "if", "(", "UpdateMF", ")", "MFI", "->", "setStackSize", "(", "0", ")", ";", "return", "0", ";", "}", "unsigned", "maxCallFrameSize", "=", "MFI", "->", "getMaxCallFrameSize", "(", ")", ";", "unsigned", "minCallFrameSize", "=", "getMinCallFrameSize", "(", "Subtarget", ".", "isPPC64", "(", ")", ",", "Subtarget", ".", "isDarwinABI", "(", ")", ")", ";", "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", "224", "PPC", "0", "0", "PPC"], "File": "PPCFrameLowering", "Func": "determineFrameLayout", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17333, "Length": 277, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "AARCH64_COLLECT_LOH_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64"], "File": "AArch64CollectLOH11", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17334, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Emitter", "<", "CodeEmitter", ">", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "assert", "(", "(", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Default", "||", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Static", ")", "&&", "\"JIT relocation model must be set to static or default!\"", ")", ";", "JTI", "=", "(", "(", "ARMTargetMachine", "&", ")", "MF", ".", "getTarget", "(", ")", ")", ".", "getJITInfo", "(", ")", ";", "II", "=", "(", "(", "ARMTargetMachine", "&", ")", "MF", ".", "getTarget", "(", ")", ")", ".", "getInstrInfo", "(", ")", ";", "TD", "=", "(", "(", "ARMTargetMachine", "&", ")", "MF", ".", "getTarget", "(", ")", ")", ".", "getTargetData", "(", ")", ";", "Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "MCPEs", "=", "&", "MF", ".", "getConstantPool", "(", ")", "->", "getConstants", "(", ")", ";", "MJTEs", "=", "&", "MF", ".", "getJumpTableInfo", "(", ")", "->", "getJumpTables", "(", ")", ";", "IsPIC", "=", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ";", "JTI", "->", "Initialize", "(", "MF", ",", "IsPIC", ")", ";", "do", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"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", ")", "emitInstruction", "(", "*", "I", ")", ";", "}", "}", "while", "(", "MCE", ".", "finishFunction", "(", "MF", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "\"JIT relocation model must be set to static or default!\"", "ARM", "ARM", "ARM", "ARM", "\"JITTing function '\"", "\"'\\n\""], "File": "ARMCodeEmitter11", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17335, "Length": 277, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCFrameLowering", "::", "determineFrameLayout", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "FrameSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "unsigned", "MaxAlign", "=", "MFI", "->", "getMaxAlignment", "(", ")", ";", "unsigned", "TargetAlign", "=", "getStackAlignment", "(", ")", ";", "unsigned", "AlignMask", "=", "TargetAlign", "-", "1", ";", "bool", "DisableRedZone", "=", "MF", ".", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "NoRedZone", ")", ";", "if", "(", "!", "DisableRedZone", "&&", "(", "Subtarget", ".", "isPPC64", "(", ")", "||", "!", "Subtarget", ".", "isSVR4ABI", "(", ")", "||", "FrameSize", "==", "0", ")", "&&", "FrameSize", "<=", "224", "&&", "!", "MFI", "->", "hasVarSizedObjects", "(", ")", "&&", "!", "MFI", "->", "adjustsStack", "(", ")", "&&", "!", "(", "Subtarget", ".", "isPPC64", "(", ")", "&&", "Subtarget", ".", "isSVR4ABI", "(", ")", "&&", "spillsCR", "(", "MF", ")", ")", "&&", "(", "!", "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", "PPC", "0", "224", "PPC", "0", "PPC"], "File": "PPCFrameLowering42", "Func": "determineFrameLayout", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17336, "Length": 246, "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", "::", "EXTRACT_VECTOR_ELT", ":", "return", "PerformEXTRACT_VECTOR_ELTCombine", "(", "N", ",", "DAG", ",", "*", "this", ")", ";", "case", "ISD", "::", "VSELECT", ":", "case", "ISD", "::", "SELECT", ":", "return", "PerformSELECTCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "X86ISD", "::", "CMOV", ":", "return", "PerformCMOVCombine", "(", "N", ",", "DAG", ",", "DCI", ")", ";", "case", "ISD", "::", "ADD", ":", "return", "PerformAddCombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SUB", ":", "return", "PerformSubCombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "case", "X86ISD", "::", "ADC", ":", "return", "PerformADCCombine", "(", "N", ",", "DAG", ",", "DCI", ")", ";", "case", "ISD", "::", "MUL", ":", "return", "PerformMulCombine", "(", "N", ",", "DAG", ",", "DCI", ")", ";", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SRL", ":", "return", "PerformShiftCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "AND", ":", "return", "PerformAndCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "OR", ":", "return", "PerformOrCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "XOR", ":", "return", "PerformXorCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "PerformLOADCombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "PerformSTORECombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SINT_TO_FP", ":", "return", "PerformSINT_TO_FPCombine", "(", "N", ",", "DAG", ",", "this", ")", ";", "case", "ISD", "::", "FADD", ":", "return", "PerformFADDCombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "FSUB", ":", "return", "PerformFSUBCombine", "(", "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", "::", "ZERO_EXTEND", ":", "return", "PerformZExtCombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "return", "PerformSExtCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "TRUNCATE", ":", "return", "PerformTruncateCombine", "(", "N", ",", "DAG", ",", "DCI", ")", ";", "case", "X86ISD", "::", "SETCC", ":", "return", "PerformSETCCCombine", "(", "N", ",", "DAG", ")", ";", "case", "X86ISD", "::", "SHUFP", ":", "case", "X86ISD", "::", "PALIGN", ":", "case", "X86ISD", "::", "UNPCKH", ":", "case", "X86ISD", "::", "UNPCKL", ":", "case", "X86ISD", "::", "MOVHLPS", ":", "case", "X86ISD", "::", "MOVLHPS", ":", "case", "X86ISD", "::", "PSHUFD", ":", "case", "X86ISD", "::", "PSHUFHW", ":", "case", "X86ISD", "::", "PSHUFLW", ":", "case", "X86ISD", "::", "MOVSS", ":", "case", "X86ISD", "::", "MOVSD", ":", "case", "X86ISD", "::", "VPERMILP", ":", "case", "X86ISD", "::", "VPERM2X128", ":", "case", "ISD", "::", "VECTOR_SHUFFLE", ":", "return", "PerformShuffleCombine", "(", "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": ["X86", "X86", "ISD::EXTRACT_VECTOR_ELT", "ISD::VSELECT", "ISD::SELECT", "X86ISD::CMOV", "ISD::ADD", "ISD::SUB", "X86ISD::ADC", "ISD::MUL", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::AND", "ISD::OR", "ISD::XOR", "ISD::LOAD", "ISD::STORE", "ISD::SINT_TO_FP", "ISD::FADD", "ISD::FSUB", "X86ISD::FXOR", "X86ISD::FOR", "X86ISD::FAND", "X86ISD::BT", "X86ISD::VZEXT_MOVL", "ISD::ZERO_EXTEND", "ISD::SIGN_EXTEND", "ISD::TRUNCATE", "X86ISD::SETCC", "X86ISD::SHUFP", "X86ISD::PALIGN", "X86ISD::UNPCKH", "X86ISD::UNPCKL", "X86ISD::MOVHLPS", "X86ISD::MOVLHPS", "X86ISD::PSHUFD", "X86ISD::PSHUFHW", "X86ISD::PSHUFLW", "X86ISD::MOVSS", "X86ISD::MOVSD", "X86ISD::VPERMILP", "X86ISD::VPERM2X128", "ISD::VECTOR_SHUFFLE"], "File": "X86ISelLowering237", "Func": "PerformDAGCombine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17337, "Length": 510, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "const", "LanaiSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "LanaiSubtarget", ">", "(", ")", ";", "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": ["Lanai", "Lanai", "Lanai"], "File": "LanaiDelaySlotFiller6", "Func": "runOnMachineFunction", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17338, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sh_file_start", "(", "void", ")", "{", "default_file_start", "(", ")", ";", "if", "(", "TARGET_ELF", ")", "fprintf", "(", "asm_out_file", ",", "\"%s\\n\"", ",", "TEXT_SECTION_ASM_OP", ")", ";", "else", "switch_to_section", "(", "data_section", ")", ";", "if", "(", "TARGET_LITTLE_ENDIAN", ")", "fputs", "(", "\"\\t.little\\n\"", ",", "asm_out_file", ")", ";", "}", ""], "natrual_language": ["Output", "the", "start", "of", "the", "assembler", "file", "."], "TS_V_token": ["sh", "\"%s\\n\"", "\"\\t.little\\n\""], "File": "sh", "Func": "sh_file_start", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17339, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetStackID", "::", "Value", "AArch64FrameLowering", "::", "getStackIDForScalableVectors", "(", ")", "const", "{", "return", "TargetStackID", "::", "ScalableVector", ";", "}", ""], "natrual_language": ["Returns", "the", "StackID", "that", "scalable", "vectors", "should", "be", "associated", "with", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64FrameLowering (2)1", "Func": "getStackIDForScalableVectors", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17340, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_macro_fusion_p", "(", ")", "{", "return", "TARGET_FUSE_CMP_AND_BRANCH", ";", "}", ""], "natrual_language": ["Return", "true", "if", "target", "platform", "supports", "macro-fusion", "."], "TS_V_token": ["i386"], "File": "x86-tune-sched", "Func": "ix86_macro_fusion_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17341, "Length": 9, "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", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "TT", ",", "RM", ")", ",", "CM", ",", "OL", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ",", "Options", ".", "StackAlignmentOverride", ")", "{", "if", "(", "Subtarget", ".", "isTargetWin64", "(", ")", "||", "Subtarget", ".", "isTargetPS4", "(", ")", ")", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "this", "->", "Options", ".", "Reciprocals", ".", "setDefaults", "(", "\"sqrtf\"", ",", "true", ",", "1", ")", ";", "this", "->", "Options", ".", "Reciprocals", ".", "setDefaults", "(", "\"divf\"", ",", "false", ",", "1", ")", ";", "this", "->", "Options", ".", "Reciprocals", ".", "setDefaults", "(", "\"vec-sqrtf\"", ",", "true", ",", "1", ")", ";", "this", "->", "Options", ".", "Reciprocals", ".", "setDefaults", "(", "\"vec-divf\"", ",", "true", ",", "1", ")", ";", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "X86", "target", "."], "TS_V_token": ["X86", "X86", "X86", "\"sqrtf\"", "1", "\"divf\"", "1", "\"vec-sqrtf\"", "1", "\"vec-divf\"", "1"], "File": "X86TargetMachine124", "Func": "X86TargetMachine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17342, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameInfo", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "return", "FramePtr", ";", "return", "ARM", "::", "SP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["ARM", "ARM", "ARM::SP"], "File": "ARMBaseRegisterInfo36", "Func": "getFrameRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17343, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "X86TTIImpl", "::", "getScalarizationOverhead", "(", "VectorType", "*", "Ty", ",", "const", "APInt", "&", "DemandedElts", ",", "bool", "Insert", ",", "bool", "Extract", ")", "{", "InstructionCost", "Cost", "=", "0", ";", "if", "(", "Insert", ")", "{", "std", "::", "pair", "<", "InstructionCost", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "Ty", ")", ";", "MVT", "MScalarTy", "=", "LT", ".", "second", ".", "getScalarType", "(", ")", ";", "unsigned", "SizeInBits", "=", "LT", ".", "second", ".", "getSizeInBits", "(", ")", ";", "if", "(", "(", "MScalarTy", "==", "MVT", "::", "i16", "&&", "ST", "->", "hasSSE2", "(", ")", ")", "||", "(", "MScalarTy", ".", "isInteger", "(", ")", "&&", "ST", "->", "hasSSE41", "(", ")", ")", "||", "(", "MScalarTy", "==", "MVT", "::", "f32", "&&", "ST", "->", "hasSSE41", "(", ")", ")", ")", "{", "if", "(", "SizeInBits", "<=", "128", ")", "{", "Cost", "+=", "BaseT", "::", "getScalarizationOverhead", "(", "Ty", ",", "DemandedElts", ",", "Insert", ",", "false", ")", ";", "}", "else", "{", "const", "int", "CostValue", "=", "*", "LT", ".", "first", ".", "getValue", "(", ")", ";", "assert", "(", "CostValue", ">=", "0", "&&", "\"Negative cost!\"", ")", ";", "unsigned", "Num128Lanes", "=", "SizeInBits", "/", "128", "*", "CostValue", ";", "unsigned", "NumElts", "=", "LT", ".", "second", ".", "getVectorNumElements", "(", ")", "*", "CostValue", ";", "APInt", "WidenedDemandedElts", "=", "DemandedElts", ".", "zextOrSelf", "(", "NumElts", ")", ";", "unsigned", "Scale", "=", "NumElts", "/", "Num128Lanes", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "NumElts", ";", "I", "+=", "Scale", ")", "{", "APInt", "Mask", "=", "WidenedDemandedElts", ".", "getBitsSet", "(", "NumElts", ",", "I", ",", "I", "+", "Scale", ")", ";", "APInt", "MaskedDE", "=", "Mask", "&", "WidenedDemandedElts", ";", "unsigned", "Population", "=", "MaskedDE", ".", "countPopulation", "(", ")", ";", "Cost", "+=", "(", "Population", ">", "0", "&&", "Population", "!=", "Scale", "&&", "I", "%", "LT", ".", "second", ".", "getVectorNumElements", "(", ")", "!=", "0", ")", ";", "Cost", "+=", "Population", ">", "0", ";", "}", "Cost", "+=", "DemandedElts", ".", "countPopulation", "(", ")", ";", "if", "(", "MScalarTy", "==", "MVT", "::", "f32", ")", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "cast", "<", "FixedVectorType", ">", "(", "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", "(", "cast", "<", "FixedVectorType", ">", "(", "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", "0", "\"Negative cost!\"", "128", "0", "0", "0", "0", "MVT::f32", "0", "4", "1"], "File": "X86TargetTransformInfo10", "Func": "getScalarizationOverhead", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17344, "Length": 443, "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": 17345, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCAIXAsmPrinter", "::", "emitLinkage", "(", "const", "GlobalValue", "*", "GV", ",", "MCSymbol", "*", "GVSym", ")", "const", "{", "assert", "(", "MAI", "->", "hasVisibilityOnlyWithLinkage", "(", ")", "&&", "\"AIX's linkage directives take a visibility setting.\"", ")", ";", "MCSymbolAttr", "LinkageAttr", "=", "MCSA_Invalid", ";", "switch", "(", "GV", "->", "getLinkage", "(", ")", ")", "{", "case", "GlobalValue", "::", "ExternalLinkage", ":", "LinkageAttr", "=", "GV", "->", "isDeclaration", "(", ")", "?", "MCSA_Extern", ":", "MCSA_Global", ";", "break", ";", "case", "GlobalValue", "::", "LinkOnceAnyLinkage", ":", "case", "GlobalValue", "::", "LinkOnceODRLinkage", ":", "case", "GlobalValue", "::", "WeakAnyLinkage", ":", "case", "GlobalValue", "::", "WeakODRLinkage", ":", "case", "GlobalValue", "::", "ExternalWeakLinkage", ":", "LinkageAttr", "=", "MCSA_Weak", ";", "break", ";", "case", "GlobalValue", "::", "AvailableExternallyLinkage", ":", "LinkageAttr", "=", "MCSA_Extern", ";", "break", ";", "case", "GlobalValue", "::", "PrivateLinkage", ":", "return", ";", "case", "GlobalValue", "::", "InternalLinkage", ":", "assert", "(", "GV", "->", "getVisibility", "(", ")", "==", "GlobalValue", "::", "DefaultVisibility", "&&", "\"InternalLinkage should not have other visibility setting.\"", ")", ";", "LinkageAttr", "=", "MCSA_LGlobal", ";", "break", ";", "case", "GlobalValue", "::", "AppendingLinkage", ":", "llvm_unreachable", "(", "\"Should never emit this\"", ")", ";", "case", "GlobalValue", "::", "CommonLinkage", ":", "llvm_unreachable", "(", "\"CommonLinkage of XCOFF should not come to this path\"", ")", ";", "}", "assert", "(", "LinkageAttr", "!=", "MCSA_Invalid", "&&", "\"LinkageAttr should not MCSA_Invalid.\"", ")", ";", "MCSymbolAttr", "VisibilityAttr", "=", "MCSA_Invalid", ";", "if", "(", "!", "TM", ".", "getIgnoreXCOFFVisibility", "(", ")", ")", "{", "switch", "(", "GV", "->", "getVisibility", "(", ")", ")", "{", "case", "GlobalValue", "::", "DefaultVisibility", ":", "break", ";", "case", "GlobalValue", "::", "HiddenVisibility", ":", "VisibilityAttr", "=", "MAI", "->", "getHiddenVisibilityAttr", "(", ")", ";", "break", ";", "case", "GlobalValue", "::", "ProtectedVisibility", ":", "VisibilityAttr", "=", "MAI", "->", "getProtectedVisibilityAttr", "(", ")", ";", "break", ";", "}", "}", "OutStreamer", "->", "emitXCOFFSymbolLinkageWithVisibility", "(", "GVSym", ",", "LinkageAttr", ",", "VisibilityAttr", ")", ";", "}", ""], "natrual_language": ["This", "emits", "linkage", "information", "about", "GVSym", "based", "on", "GV", ",", "if", "this", "is", "supported", "by", "the", "target", "."], "TS_V_token": ["PowerPC", "PPC", "\"AIX's linkage directives take a visibility setting.\"", "\"InternalLinkage should not have other visibility setting.\"", "\"Should never emit this\"", "\"CommonLinkage of XCOFF should not come to this path\"", "\"LinkageAttr should not MCSA_Invalid.\""], "File": "PPCAsmPrinter10", "Func": "emitLinkage", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17346, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "VETargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Should not custom lower this!\"", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "LowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "return", "LowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VAARG", ":", "return", "LowerVAARG", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["VE", "VE", "\"Should not custom lower this!\"", "ISD::BlockAddress", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::VASTART", "ISD::VAARG"], "File": "VEISelLowering13", "Func": "LowerOperation", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17347, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMem", "(", ")", "const", "override", "{", "return", "isGPRMem", "(", ")", "||", "isMVEMem", "(", ")", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["ARM"], "File": "ARMAsmParser (2)3", "Func": "isMem", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17348, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "function_arg_record_value_3", "(", "HOST_WIDE_INT", "bitpos", ",", "struct", "function_arg_record_value_parms", "*", "parms", ")", "{", "machine_mode", "mode", ";", "unsigned", "int", "regno", ";", "unsigned", "int", "startbit", ",", "endbit", ";", "int", "this_slotno", ",", "intslots", ",", "intoffset", ";", "rtx", "reg", ";", "if", "(", "parms", "->", "intoffset", "==", "-", "1", ")", "return", ";", "intoffset", "=", "parms", "->", "intoffset", ";", "parms", "->", "intoffset", "=", "-", "1", ";", "startbit", "=", "intoffset", "&", "-", "BITS_PER_WORD", ";", "endbit", "=", "(", "bitpos", "+", "BITS_PER_WORD", "-", "1", ")", "&", "-", "BITS_PER_WORD", ";", "intslots", "=", "(", "endbit", "-", "startbit", ")", "/", "BITS_PER_WORD", ";", "this_slotno", "=", "parms", "->", "slotno", "+", "intoffset", "/", "BITS_PER_WORD", ";", "intslots", "=", "MIN", "(", "intslots", ",", "SPARC_INT_ARG_MAX", "-", "this_slotno", ")", ";", "if", "(", "intslots", "<=", "0", ")", "return", ";", "if", "(", "intoffset", "%", "BITS_PER_WORD", "!=", "0", ")", "mode", "=", "smallest_mode_for_size", "(", "BITS_PER_WORD", "-", "intoffset", "%", "BITS_PER_WORD", ",", "MODE_INT", ")", ";", "else", "mode", "=", "word_mode", ";", "intoffset", "/=", "BITS_PER_UNIT", ";", "do", "{", "regno", "=", "parms", "->", "regbase", "+", "this_slotno", ";", "reg", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "XVECEXP", "(", "parms", "->", "ret", ",", "0", ",", "parms", "->", "stack", "+", "parms", "->", "nregs", ")", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "reg", ",", "GEN_INT", "(", "intoffset", ")", ")", ";", "this_slotno", "+=", "1", ";", "intoffset", "=", "(", "intoffset", "|", "(", "UNITS_PER_WORD", "-", "1", ")", ")", "+", "1", ";", "mode", "=", "word_mode", ";", "parms", "->", "nregs", "+=", "1", ";", "intslots", "-=", "1", ";", "}", "while", "(", "intslots", ">", "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", "1", "1", "1", "0", "0", "0", "1", "1", "1", "1", "1", "0"], "File": "sparc4", "Func": "function_arg_record_value_3", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17349, "Length": 238, "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": ["ARM"], "File": "ARMSubtarget (2)", "Func": "getDataLayout", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17350, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmPrinter", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "O", "<<", "\"\\t.section .mdebug.\"", "<<", "emitCurrentABIString", "(", ")", "<<", "'\\n'", ";", "if", "(", "Subtarget", "->", "isABI_EABI", "(", ")", ")", "O", "<<", "\"\\t.section .gcc_compiled_long\"", "<<", "(", "Subtarget", "->", "isGP32bit", "(", ")", "?", "\"32\"", ":", "\"64\"", ")", "<<", "'\\n'", ";", "O", "<<", "\"\\t.previous\"", "<<", "'\\n'", ";", "return", "AsmPrinter", "::", "doInitialization", "(", "M", ")", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["Mips", "Mips", "\"\\t.section .mdebug.\"", "\"\\t.section .gcc_compiled_long\"", "\"32\"", "\"64\"", "\"\\t.previous\""], "File": "MipsAsmPrinter31", "Func": "doInitialization", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17351, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb2SizeReduce", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "PredicateFtor", "&&", "!", "PredicateFtor", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "STI", "=", "&", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "if", "(", "STI", "->", "isThumb1Only", "(", ")", "||", "STI", "->", "prefers32BitThumb", "(", ")", ")", "return", "false", ";", "TII", "=", "static_cast", "<", "const", "Thumb2InstrInfo", "*", ">", "(", "STI", "->", "getInstrInfo", "(", ")", ")", ";", "OptimizeSize", "=", "MF", ".", "getFunction", "(", ")", "->", "optForSize", "(", ")", ";", "MinimizeSize", "=", "MF", ".", "getFunction", "(", ")", "->", "optForMinSize", "(", ")", ";", "BlockInfo", ".", "clear", "(", ")", ";", "BlockInfo", ".", "resize", "(", "MF", ".", "getNumBlockIDs", "(", ")", ")", ";", "ReversePostOrderTraversal", "<", "MachineFunction", "*", ">", "RPOT", "(", "&", "MF", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "ReversePostOrderTraversal", "<", "MachineFunction", "*", ">", "::", "rpo_iterator", "I", "=", "RPOT", ".", "begin", "(", ")", ",", "E", "=", "RPOT", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Modified", "|=", "ReduceMBB", "(", "*", "*", "I", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM"], "File": "Thumb2SizeReduction (2)", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17352, "Length": 180, "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": 17353, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isZero", "(", ")", "const", "{", "return", "K", "==", "ConstZero", "||", "K", "==", "VariableKnownToBeZero", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "expression", "is", "a", "constant", "zero", "."], "TS_V_token": ["PowerPC"], "File": "PPCISelDAGToDAG1", "Func": "isZero", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17354, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "LC2200RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "return", "CC_Save_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["LC2200", "LC2200"], "File": "LC2200RegisterInfo", "Func": "getCalleeSavedRegs", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17355, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "free_array_of_ptrs", "(", "void", "*", "*", "ptr", ",", "unsigned", "n", ")", "{", "unsigned", "i", ";", "if", "(", "!", "ptr", ")", "return", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n", ";", "i", "++", ")", "{", "if", "(", "!", "ptr", "[", "i", "]", ")", "break", ";", "free", "(", "ptr", "[", "i", "]", ")", ";", "}", "free", "(", "ptr", ")", ";", "return", ";", "}", ""], "natrual_language": ["Auxiliary", "function", "that", "frees", "elements", "of", "PTR", "and", "PTR", "itself", ".", "N", "is", "number", "of", "elements", "to", "be", "freed", ".", "If", "PTR", "is", "NULL", ",", "nothing", "is", "freed", ".", "If", "an", "element", "is", "NULL", ",", "subsequent", "elements", "are", "not", "freed", "."], "TS_V_token": ["i386", "0"], "File": "intelmic-mkoffload", "Func": "free_array_of_ptrs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17356, "Length": 64, "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)3", "Func": "useLoadStackGuardNode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17357, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetLowering", "::", "emitLeadingFence", "(", "IRBuilder", "<", ">", "&", "Builder", ",", "AtomicOrdering", "Ord", ",", "bool", "IsStore", ",", "bool", "IsLoad", ")", "const", "{", "if", "(", "!", "getInsertFencesForAtomic", "(", ")", ")", "return", ";", "switch", "(", "Ord", ")", "{", "case", "NotAtomic", ":", "case", "Unordered", ":", "llvm_unreachable", "(", "\"Invalid fence: unordered/non-atomic\"", ")", ";", "case", "Monotonic", ":", "case", "Acquire", ":", "return", ";", "case", "SequentiallyConsistent", ":", "if", "(", "!", "IsStore", ")", "return", ";", "case", "Release", ":", "case", "AcquireRelease", ":", "if", "(", "Subtarget", "->", "isSwift", "(", ")", ")", "makeDMB", "(", "Builder", ",", "ARM_MB", "::", "ISHST", ")", ";", "else", "makeDMB", "(", "Builder", ",", "ARM_MB", "::", "ISH", ")", ";", "return", ";", "}", "}", ""], "natrual_language": ["Custom", "Lower", "{", "."], "TS_V_token": ["ARM", "ARM", "\"Invalid fence: unordered/non-atomic\"", "ARM_MB::ISHST", "ARM_MB::ISH"], "File": "ARMISelLowering149", "Func": "emitLeadingFence", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17358, "Length": 102, "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": 17359, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "moxie_function_arg", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", "ATTRIBUTE_UNUSED", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "if", "(", "*", "cum", "<", "8", ")", "return", "gen_rtx_REG", "(", "mode", ",", "*", "cum", ")", ";", "else", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Return", "the", "next", "register", "to", "be", "used", "to", "hold", "a", "function", "argument", "or", "NULL_RTX", "if", "there", "'s", "no", "more", "space", "."], "TS_V_token": ["moxie", "8"], "File": "moxie2", "Func": "moxie_function_arg", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17360, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "DCPU16TargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "DebugLoc", "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", ")", ";", "case", "CallingConv", "::", "DCPU16_INTR", ":", "{", "if", "(", "Ins", ".", "size", "(", ")", "!=", "1", "||", "Ins", "[", "0", "]", ".", "VT", "!=", "MVT", "::", "i16", ")", "report_fatal_error", "(", "\"Interrupt handlers take exactly one integer or unsigned argument\"", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ";", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "DCPU16", "::", "GR16RegClass", ")", ";", "RegInfo", ".", "addLiveIn", "(", "DCPU16", "::", "A", ",", "VReg", ")", ";", "SDValue", "ArgValue", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VReg", ",", "MVT", "::", "i16", ")", ";", "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": ["Dcpu16", "DCPU16", "ISD::InputArg", "\"Unsupported calling convention\"", "DCPU16", "1", "0", "MVT::i16", "\"Interrupt handlers take exactly one integer or unsigned argument\"", "DCPU16::GR16RegClass", "DCPU16::A", "MVT::i16"], "File": "Dcpu16ISelLowering", "Func": "LowerFormalArguments", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17361, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "convertSelectOfConstantsToMath", "(", "EVT", "VT", ")", "const", "{", "if", "(", "VT", ".", "isVector", "(", ")", "&&", "Subtarget", ".", "hasAVX512", "(", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "select", "of", "constants", "(", "select", "Cond", ",", "C1", ",", "C2", ")", "should", "be", "transformed", "into", "simple", "math", "ops", "with", "the", "condition", "value", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering (2)5", "Func": "convertSelectOfConstantsToMath", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17362, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMem", "(", ")", "const", "override", "{", "if", "(", "Kind", "!=", "k_Memory", ")", "return", "false", ";", "if", "(", "Memory", ".", "BaseRegNum", "&&", "!", "ARMMCRegisterClasses", "[", "ARM", "::", "GPRRegClassID", "]", ".", "contains", "(", "Memory", ".", "BaseRegNum", ")", ")", "return", "false", ";", "if", "(", "Memory", ".", "OffsetRegNum", "&&", "!", "ARMMCRegisterClasses", "[", "ARM", "::", "GPRRegClassID", "]", ".", "contains", "(", "Memory", ".", "OffsetRegNum", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["ARM", "ARM", "ARM::GPRRegClassID", "ARM", "ARM::GPRRegClassID"], "File": "ARMAsmParser103", "Func": "isMem", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17363, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_call_darwin_1", "(", "rtx", "value", ",", "rtx", "func_desc", ",", "rtx", "tlsarg", ",", "rtx", "cookie", ",", "bool", "sibcall", ")", "{", "rtx", "func", "=", "func_desc", ";", "rtx", "func_addr", ";", "rtx", "call", "[", "3", "]", ";", "rtx", "insn", ";", "int", "cookie_val", "=", "INTVAL", "(", "cookie", ")", ";", "bool", "make_island", "=", "false", ";", "if", "(", "(", "cookie_val", "&", "CALL_LONG", ")", "!=", "0", "&&", "GET_CODE", "(", "func_desc", ")", "==", "SYMBOL_REF", ")", "{", "if", "(", "darwin_emit_branch_islands", "&&", "TARGET_32BIT", ")", "make_island", "=", "true", ";", "else", "{", "func", "=", "rs6000_longcall_ref", "(", "func_desc", ",", "NULL_RTX", ")", ";", "cookie_val", "&=", "~", "CALL_LONG", ";", "}", "}", "if", "(", "GET_CODE", "(", "func", ")", "!=", "SYMBOL_REF", ")", "{", "func", "=", "force_reg", "(", "Pmode", ",", "func", ")", ";", "func_addr", "=", "gen_rtx_REG", "(", "Pmode", ",", "CTR_REGNO", ")", ";", "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", ",", "GEN_INT", "(", "cookie_val", ")", ")", ";", "if", "(", "sibcall", ")", "call", "[", "2", "]", "=", "simple_return_rtx", ";", "else", "call", "[", "2", "]", "=", "gen_hard_reg_clobber", "(", "Pmode", ",", "LR_REGNO", ")", ";", "insn", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec_v", "(", "3", ",", "call", ")", ")", ";", "insn", "=", "emit_call_insn", "(", "insn", ")", ";", "if", "(", "make_island", ")", "{", "tree", "funname", "=", "get_identifier", "(", "XSTR", "(", "func_desc", ",", "0", ")", ")", ";", "if", "(", "no_previous_def", "(", "funname", ")", ")", "{", "rtx", "label_rtx", "=", "gen_label_rtx", "(", ")", ";", "char", "*", "label_buf", ",", "temp_buf", "[", "256", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "temp_buf", ",", "\"L\"", ",", "CODE_LABEL_NUMBER", "(", "label_rtx", ")", ")", ";", "label_buf", "=", "temp_buf", "[", "0", "]", "==", "'*'", "?", "temp_buf", "+", "1", ":", "temp_buf", ";", "tree", "labelname", "=", "get_identifier", "(", "label_buf", ")", ";", "add_compiler_branch_island", "(", "labelname", ",", "funname", ",", "insn_line", "(", "(", "const", "rtx_insn", "*", ")", "insn", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["Expand", "code", "to", "perform", "a", "call", "under", "the", "Darwin", "ABI", ".", "Modulo", "handling", "of", "mlongcall", ",", "this", "is", "much", "the", "same", "as", "sysv", ".", "if/when", "the", "longcall", "optimisation", "is", "removed", ",", "we", "could", "drop", "this", "code", "and", "use", "the", "sysv", "case", "(", "taking", "care", "to", "avoid", "the", "tls", "stuff", ")", ".", "We", "can", "use", "this", "for", "sibcalls", "too", ",", "if", "needed", "."], "TS_V_token": ["rs6000", "3", "0", "0", "0", "0", "1", "2", "2", "3", "0", "256", "\"L\"", "0", "1"], "File": "rs60008", "Func": "rs6000_call_darwin_1", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17364, "Length": 333, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "VEAsmPrinter", "::", "emitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "return", ";", "case", "VE", "::", "GETGOT", ":", "lowerGETGOTAndEmitMCInsts", "(", "MI", ",", "getSubtargetInfo", "(", ")", ")", ";", "return", ";", "case", "VE", "::", "GETFUNPLT", ":", "lowerGETFunPLTAndEmitMCInsts", "(", "MI", ",", "getSubtargetInfo", "(", ")", ")", ";", "return", ";", "case", "VE", "::", "GETTLSADDR", ":", "lowerGETTLSAddrAndEmitMCInsts", "(", "MI", ",", "getSubtargetInfo", "(", ")", ")", ";", "return", ";", "}", "MachineBasicBlock", "::", "const_instr_iterator", "I", "=", "MI", "->", "getIterator", "(", ")", ";", "MachineBasicBlock", "::", "const_instr_iterator", "E", "=", "MI", "->", "getParent", "(", ")", "->", "instr_end", "(", ")", ";", "do", "{", "MCInst", "TmpInst", ";", "LowerVEMachineInstrToMCInst", "(", "&", "*", "I", ",", "TmpInst", ",", "*", "this", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "TmpInst", ")", ";", "}", "while", "(", "(", "++", "I", "!=", "E", ")", "&&", "I", "->", "isInsideBundle", "(", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["VE", "VE", "VE::GETGOT", "VE::GETFUNPLT", "VE::GETTLSADDR", "VE"], "File": "VEAsmPrinter", "Func": "emitInstruction", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17365, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "X86TargetLowering", "::", "getRegisterTypeForCallingConv", "(", "LLVMContext", "&", "Context", ",", "CallingConv", "::", "ID", "CC", ",", "EVT", "VT", ")", "const", "{", "if", "(", "VT", "==", "MVT", "::", "v32i1", "&&", "Subtarget", ".", "hasAVX512", "(", ")", "&&", "!", "Subtarget", ".", "hasBWI", "(", ")", ")", "return", "MVT", "::", "v32i8", ";", "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": ["X86", "X86", "MVT::v32i1", "MVT::v32i8"], "File": "X86ISelLowering (2)8", "Func": "getRegisterTypeForCallingConv", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17366, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_output_c_attributes", "(", "void", ")", "{", "int", "wchar_size", "=", "(", "int", ")", "(", "TYPE_PRECISION", "(", "wchar_type_node", ")", "/", "BITS_PER_UNIT", ")", ";", "arm_emit_eabi_attribute", "(", "\"Tag_ABI_PCS_wchar_t\"", ",", "18", ",", "wchar_size", ")", ";", "}", ""], "natrual_language": ["Output", "C", "specific", "EABI", "object", "attributes", ".", "These", "can", "not", "be", "done", "in", "arm.c", "because", "they", "require", "information", "from", "the", "C", "frontend", "."], "TS_V_token": ["arm", "\"Tag_ABI_PCS_wchar_t\"", "18"], "File": "arm-c", "Func": "arm_output_c_attributes", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17367, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "expand_vec_perm_pshufb2", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "rtx", "rperm", "[", "2", "]", "[", "16", "]", ",", "vperm", ",", "l", ",", "h", ",", "op", ",", "m128", ";", "unsigned", "int", "i", ",", "nelt", ",", "eltsz", ";", "machine_mode", "mode", ";", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "if", "(", "!", "TARGET_SSSE3", "||", "(", "GET_MODE_SIZE", "(", "d", "->", "vmode", ")", "!=", "16", "&&", "GET_MODE_SIZE", "(", "d", "->", "vmode", ")", "!=", "8", "&&", "GET_MODE_SIZE", "(", "d", "->", "vmode", ")", "!=", "4", ")", ")", "return", "false", ";", "gcc_assert", "(", "!", "d", "->", "one_operand_p", ")", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "switch", "(", "GET_MODE_SIZE", "(", "d", "->", "vmode", ")", ")", "{", "case", "4", ":", "mode", "=", "V4QImode", ";", "gen", "=", "gen_mmx_pshufbv4qi3", ";", "break", ";", "case", "8", ":", "mode", "=", "V8QImode", ";", "gen", "=", "gen_mmx_pshufbv8qi3", ";", "break", ";", "case", "16", ":", "mode", "=", "V16QImode", ";", "gen", "=", "gen_ssse3_pshufbv16qi3", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "nelt", "=", "d", "->", "nelt", ";", "eltsz", "=", "GET_MODE_UNIT_SIZE", "(", "d", "->", "vmode", ")", ";", "m128", "=", "GEN_INT", "(", "-", "128", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "{", "unsigned", "j", ",", "k", ",", "e", "=", "d", "->", "perm", "[", "i", "]", ";", "unsigned", "which", "=", "(", "e", ">=", "nelt", ")", ";", "if", "(", "e", ">=", "nelt", ")", "e", "-=", "nelt", ";", "for", "(", "j", "=", "0", ";", "j", "<", "eltsz", ";", "++", "j", ")", "{", "rperm", "[", "which", "]", "[", "i", "*", "eltsz", "+", "j", "]", "=", "GEN_INT", "(", "e", "*", "eltsz", "+", "j", ")", ";", "rperm", "[", "1", "-", "which", "]", "[", "i", "*", "eltsz", "+", "j", "]", "=", "m128", ";", "}", "for", "(", "k", "=", "i", "*", "eltsz", "+", "j", ";", "k", "<", "16", ";", "++", "k", ")", "rperm", "[", "0", "]", "[", "k", "]", "=", "rperm", "[", "1", "]", "[", "k", "]", "=", "m128", ";", "}", "vperm", "=", "gen_rtx_CONST_VECTOR", "(", "V16QImode", ",", "gen_rtvec_v", "(", "16", ",", "rperm", "[", "0", "]", ")", ")", ";", "vperm", "=", "force_reg", "(", "V16QImode", ",", "vperm", ")", ";", "l", "=", "gen_reg_rtx", "(", "mode", ")", ";", "op", "=", "gen_lowpart", "(", "mode", ",", "d", "->", "op0", ")", ";", "emit_insn", "(", "gen", "(", "l", ",", "op", ",", "vperm", ")", ")", ";", "vperm", "=", "gen_rtx_CONST_VECTOR", "(", "V16QImode", ",", "gen_rtvec_v", "(", "16", ",", "rperm", "[", "1", "]", ")", ")", ";", "vperm", "=", "force_reg", "(", "V16QImode", ",", "vperm", ")", ";", "h", "=", "gen_reg_rtx", "(", "mode", ")", ";", "op", "=", "gen_lowpart", "(", "mode", ",", "d", "->", "op1", ")", ";", "emit_insn", "(", "gen", "(", "h", ",", "op", ",", "vperm", ")", ")", ";", "op", "=", "d", "->", "target", ";", "if", "(", "d", "->", "vmode", "!=", "mode", ")", "op", "=", "gen_reg_rtx", "(", "mode", ")", ";", "ix86_emit_vec_binop", "(", "IOR", ",", "mode", ",", "op", ",", "l", ",", "h", ")", ";", "if", "(", "op", "!=", "d", "->", "target", ")", "emit_move_insn", "(", "d", "->", "target", ",", "gen_lowpart", "(", "d", "->", "vmode", ",", "op", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "expand_vec_perm_even_odd_1", ".", "Implement", "the", "double-word", "permutation", "with", "two", "pshufb", "insns", "and", "an", "ior", ".", "We", "should", "have", "already", "failed", "all", "two", "instruction", "sequences", "."], "TS_V_token": ["i386", "2", "16", "16", "8", "4", "4", "8", "16", "128", "0", "0", "1", "16", "0", "1", "16", "0", "16", "1"], "File": "i386-expand", "Func": "expand_vec_perm_pshufb2", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17368, "Length": 495, "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": 17369, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_split_copysign_var", "(", "rtx", "operands", "[", "]", ")", "{", "machine_mode", "mode", ",", "vmode", ";", "rtx", "dest", ",", "scratch", ",", "op0", ",", "op1", ",", "mask", ",", "nmask", ",", "x", ";", "dest", "=", "operands", "[", "0", "]", ";", "scratch", "=", "operands", "[", "1", "]", ";", "op0", "=", "operands", "[", "2", "]", ";", "op1", "=", "operands", "[", "3", "]", ";", "nmask", "=", "operands", "[", "4", "]", ";", "mask", "=", "operands", "[", "5", "]", ";", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "vmode", "=", "GET_MODE", "(", "mask", ")", ";", "if", "(", "rtx_equal_p", "(", "op0", ",", "op1", ")", ")", "{", "emit_move_insn", "(", "dest", ",", "op0", ")", ";", "return", ";", "}", "if", "(", "REG_P", "(", "mask", ")", "&&", "REGNO", "(", "dest", ")", "==", "REGNO", "(", "mask", ")", ")", "{", "gcc_assert", "(", "REGNO", "(", "op1", ")", "==", "REGNO", "(", "scratch", ")", ")", ";", "x", "=", "gen_rtx_AND", "(", "vmode", ",", "scratch", ",", "mask", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "scratch", ",", "x", ")", ")", ";", "dest", "=", "mask", ";", "op0", "=", "simplify_gen_subreg", "(", "vmode", ",", "op0", ",", "mode", ",", "0", ")", ";", "x", "=", "gen_rtx_NOT", "(", "vmode", ",", "dest", ")", ";", "x", "=", "gen_rtx_AND", "(", "vmode", ",", "x", ",", "op0", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "x", ")", ")", ";", "}", "else", "{", "if", "(", "REGNO", "(", "op1", ")", "==", "REGNO", "(", "scratch", ")", ")", "{", "x", "=", "gen_rtx_AND", "(", "vmode", ",", "scratch", ",", "mask", ")", ";", "}", "else", "{", "gcc_assert", "(", "REGNO", "(", "mask", ")", "==", "REGNO", "(", "scratch", ")", ")", ";", "op1", "=", "simplify_gen_subreg", "(", "vmode", ",", "op1", ",", "mode", ",", "0", ")", ";", "x", "=", "gen_rtx_AND", "(", "vmode", ",", "scratch", ",", "op1", ")", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "scratch", ",", "x", ")", ")", ";", "if", "(", "REGNO", "(", "op0", ")", "==", "REGNO", "(", "dest", ")", ")", "{", "dest", "=", "simplify_gen_subreg", "(", "vmode", ",", "op0", ",", "mode", ",", "0", ")", ";", "x", "=", "gen_rtx_AND", "(", "vmode", ",", "dest", ",", "nmask", ")", ";", "}", "else", "{", "gcc_assert", "(", "REGNO", "(", "nmask", ")", "==", "REGNO", "(", "dest", ")", ")", ";", "dest", "=", "nmask", ";", "op0", "=", "simplify_gen_subreg", "(", "vmode", ",", "op0", ",", "mode", ",", "0", ")", ";", "x", "=", "gen_rtx_AND", "(", "vmode", ",", "dest", ",", "op0", ")", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "x", ")", ")", ";", "}", "x", "=", "gen_rtx_IOR", "(", "vmode", ",", "dest", ",", "scratch", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "x", ")", ")", ";", "}", ""], "natrual_language": ["Deconstruct", "a", "copysign", "operation", "into", "bit", "masks", ".", "Operand", "0", "is", "variable", ",", "so", "we", "have", "to", "do", "two", "masks", "."], "TS_V_token": ["i386", "0", "1", "2", "3", "4", "5", "0", "0", "0", "0"], "File": "i3865", "Func": "ix86_split_copysign_var", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17370, "Length": 397, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "ix86_valid_target_attribute_tree", "(", "tree", "fndecl", ",", "tree", "args", ",", "struct", "gcc_options", "*", "opts", ",", "struct", "gcc_options", "*", "opts_set", ",", "bool", "target_clone_attr", ")", "{", "const", "char", "*", "orig_arch_string", "=", "opts", "->", "x_ix86_arch_string", ";", "const", "char", "*", "orig_tune_string", "=", "opts", "->", "x_ix86_tune_string", ";", "enum", "fpmath_unit", "orig_fpmath_set", "=", "opts_set", "->", "x_ix86_fpmath", ";", "enum", "prefer_vector_width", "orig_pvw_set", "=", "opts_set", "->", "x_prefer_vector_width_type", ";", "int", "orig_tune_defaulted", "=", "ix86_tune_defaulted", ";", "int", "orig_arch_specified", "=", "ix86_arch_specified", ";", "char", "*", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_MAX", "]", "=", "{", "NULL", ",", "NULL", "}", ";", "tree", "t", "=", "NULL_TREE", ";", "struct", "cl_target_option", "*", "def", "=", "TREE_TARGET_OPTION", "(", "target_option_default_node", ")", ";", "struct", "gcc_options", "enum_opts_set", ";", "memset", "(", "&", "enum_opts_set", ",", "0", ",", "sizeof", "(", "enum_opts_set", ")", ")", ";", "if", "(", "!", "ix86_valid_target_attribute_inner_p", "(", "fndecl", ",", "args", ",", "option_strings", ",", "opts", ",", "opts_set", ",", "&", "enum_opts_set", ",", "target_clone_attr", ")", ")", "return", "error_mark_node", ";", "if", "(", "opts", "->", "x_ix86_isa_flags", "!=", "def", "->", "x_ix86_isa_flags", "||", "opts", "->", "x_ix86_isa_flags2", "!=", "def", "->", "x_ix86_isa_flags2", "||", "opts", "->", "x_target_flags", "!=", "def", "->", "x_target_flags", "||", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_ARCH", "]", "||", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_TUNE", "]", "||", "enum_opts_set", ".", "x_ix86_fpmath", "||", "enum_opts_set", ".", "x_prefer_vector_width_type", ")", "{", "if", "(", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_ARCH", "]", ")", "opts", "->", "x_ix86_arch_string", "=", "ggc_strdup", "(", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_ARCH", "]", ")", ";", "else", "if", "(", "!", "orig_arch_specified", ")", "opts", "->", "x_ix86_arch_string", "=", "NULL", ";", "if", "(", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_TUNE", "]", ")", "opts", "->", "x_ix86_tune_string", "=", "ggc_strdup", "(", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_TUNE", "]", ")", ";", "else", "if", "(", "orig_tune_defaulted", ")", "opts", "->", "x_ix86_tune_string", "=", "NULL", ";", "if", "(", "enum_opts_set", ".", "x_ix86_fpmath", ")", "opts_set", "->", "x_ix86_fpmath", "=", "(", "enum", "fpmath_unit", ")", "1", ";", "if", "(", "enum_opts_set", ".", "x_prefer_vector_width_type", ")", "opts_set", "->", "x_prefer_vector_width_type", "=", "(", "enum", "prefer_vector_width", ")", "1", ";", "bool", "r", "=", "ix86_option_override_internal", "(", "false", ",", "opts", ",", "opts_set", ")", ";", "if", "(", "!", "r", ")", "{", "release_options_strings", "(", "option_strings", ")", ";", "return", "error_mark_node", ";", "}", "ix86_add_new_builtins", "(", "opts", "->", "x_ix86_isa_flags", ",", "opts", "->", "x_ix86_isa_flags2", ")", ";", "enum", "excess_precision", "orig_ix86_excess_precision", "=", "opts", "->", "x_ix86_excess_precision", ";", "bool", "orig_ix86_unsafe_math_optimizations", "=", "opts", "->", "x_ix86_unsafe_math_optimizations", ";", "opts", "->", "x_ix86_excess_precision", "=", "opts", "->", "x_flag_excess_precision", ";", "opts", "->", "x_ix86_unsafe_math_optimizations", "=", "opts", "->", "x_flag_unsafe_math_optimizations", ";", "t", "=", "build_target_option_node", "(", "opts", ",", "opts_set", ")", ";", "opts", "->", "x_ix86_arch_string", "=", "orig_arch_string", ";", "opts", "->", "x_ix86_tune_string", "=", "orig_tune_string", ";", "opts_set", "->", "x_ix86_fpmath", "=", "orig_fpmath_set", ";", "opts_set", "->", "x_prefer_vector_width_type", "=", "orig_pvw_set", ";", "opts", "->", "x_ix86_excess_precision", "=", "orig_ix86_excess_precision", ";", "opts", "->", "x_ix86_unsafe_math_optimizations", "=", "orig_ix86_unsafe_math_optimizations", ";", "release_options_strings", "(", "option_strings", ")", ";", "}", "return", "t", ";", "}", ""], "natrual_language": ["Return", "a", "TARGET_OPTION_NODE", "tree", "of", "the", "target", "options", "listed", "or", "NULL", "."], "TS_V_token": ["i386", "0", "1", "1"], "File": "i386-options1", "Func": "ix86_valid_target_attribute_tree", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17371, "Length": 398, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMFastISel", "::", "fastEmitInst_ri", "(", "unsigned", "MachineInstOpcode", ",", "const", "TargetRegisterClass", "*", "RC", ",", "unsigned", "Op0", ",", "bool", "Op0IsKill", ",", "uint64_t", "Imm", ")", "{", "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", ")", ".", "addImm", "(", "Imm", ")", ")", ";", "}", "else", "{", "AddOptionalDefs", "(", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "II", ")", ".", "addReg", "(", "Op0", ",", "Op0IsKill", "*", "RegState", "::", "Kill", ")", ".", "addImm", "(", "Imm", ")", ")", ";", "AddOptionalDefs", "(", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "ResultReg", ")", ".", "addReg", "(", "II", ".", "ImplicitDefs", "[", "0", "]", ")", ")", ";", "}", "return", "ResultReg", ";", "}", ""], "natrual_language": ["Emit", "a", "MachineInstr", "with", "a", "register", "operand", ",", "an", "immediate", ",", "and", "a", "result", "register", "in", "the", "given", "register", "class", "."], "TS_V_token": ["ARM", "ARM", "1", "1", "0"], "File": "ARMFastISel (2)2", "Func": "fastEmitInst_ri", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17372, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsFunctionInfo", "::", "getGlobalBaseReg", "(", ")", "{", "if", "(", "!", "GlobalBaseReg", ")", "GlobalBaseReg", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "&", "getGlobalBaseRegClass", "(", "MF", ")", ")", ";", "return", "GlobalBaseReg", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsMachineFunction12", "Func": "getGlobalBaseReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17373, "Length": 33, "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", ":", "Known", "=", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "1", ")", ",", "Depth", "+", "1", ")", ";", "Known2", "=", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "0", ")", ",", "Depth", "+", "1", ")", ";", "Known", "=", "KnownBits", "::", "commonBits", "(", "Known", ",", "Known2", ")", ";", "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": "SparcISelLowering12", "Func": "computeKnownBitsForTargetNode", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17374, "Length": 116, "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_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": "sh", "Func": "sh_va_start", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17375, "Length": 462, "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": ["powerpcspe", "12"], "File": "powerpcspe", "Func": "rs6000_set_up_by_prologue", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17376, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsRegisterInfo", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MipsFunctionInfo", "*", "MipsFI", "=", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "bool", "isPIC", "=", "(", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", ";", "adjustMipsStackFrame", "(", "MF", ")", ";", "unsigned", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "0", "&&", "!", "MFI", "->", "hasCalls", "(", ")", ")", "return", ";", "int", "FPOffset", "=", "MipsFI", "->", "getFPStackOffset", "(", ")", ";", "int", "RAOffset", "=", "MipsFI", "->", "getRAStackOffset", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "NOREORDER", ")", ")", ";", "if", "(", "isPIC", "&&", "Subtarget", ".", "isABI_O32", "(", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "CPLOAD", ")", ")", ".", "addReg", "(", "getPICCallReg", "(", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "NOMACRO", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "ADDiu", ")", ",", "Mips", "::", "SP", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ".", "addImm", "(", "-", "StackSize", ")", ";", "if", "(", "MFI", "->", "hasCalls", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "SW", ")", ")", ".", "addReg", "(", "Mips", "::", "RA", ")", ".", "addImm", "(", "RAOffset", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "SW", ")", ")", ".", "addReg", "(", "Mips", "::", "FP", ")", ".", "addImm", "(", "FPOffset", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "ADDu", ")", ",", "Mips", "::", "FP", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ".", "addReg", "(", "Mips", "::", "ZERO", ")", ";", "}", "if", "(", "MipsFI", "->", "needGPSaveRestore", "(", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "CPRESTORE", ")", ")", ".", "addImm", "(", "MipsFI", "->", "getGPStackOffset", "(", ")", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "0", "Mips", "Mips", "Mips::NOREORDER", "Mips::CPLOAD", "Mips::NOMACRO", "Mips::ADDiu", "Mips::SP", "Mips::SP", "Mips::SW", "Mips::RA", "Mips::SP", "Mips::SW", "Mips::FP", "Mips::SP", "Mips::ADDu", "Mips::FP", "Mips::SP", "Mips::ZERO", "Mips", "Mips::CPRESTORE", "Mips"], "File": "MipsRegisterInfo4", "Func": "emitPrologue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17377, "Length": 413, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_load_insn1", "(", "rtx", "pat", ")", "{", "if", "(", "!", "pat", "||", "pat", "==", "NULL_RTX", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "SET", ")", "return", "is_mem_ref", "(", "SET_SRC", "(", "pat", ")", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "XVECLEN", "(", "pat", ",", "0", ")", ";", "i", "++", ")", "if", "(", "is_load_insn1", "(", "XVECEXP", "(", "pat", ",", "0", ",", "i", ")", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Determine", "if", "PAT", "is", "a", "PATTERN", "of", "a", "load", "insn", "."], "TS_V_token": ["rs6000", "0", "0", "0"], "File": "rs60003", "Func": "is_load_insn1", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17378, "Length": 91, "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": 17379, "Length": 271, "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": 17380, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "GlobalBaseReg", "=", "0", ";", "PPCSubTarget", "=", "&", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "PPCLowering", "=", "Subtarget", "->", "getTargetLowering", "(", ")", ";", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "if", "(", "!", "Subtarget", "->", "isSVR4ABI", "(", ")", ")", "InsertVRSaveCode", "(", "MF", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC", "0", "PPC", "PPC", "PPC", "PPC"], "File": "PPCISelDAGToDAG112", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17381, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_dot_insn", "(", "rtx", "dst", ",", "rtx", "src", ",", "int", "dot", ",", "rtx", "ccreg", ")", "{", "if", "(", "dot", "==", "0", ")", "{", "emit_move_insn", "(", "dst", ",", "src", ")", ";", "return", ";", "}", "if", "(", "cc_reg_not_cr0_operand", "(", "ccreg", ",", "CCmode", ")", ")", "{", "emit_move_insn", "(", "dst", ",", "src", ")", ";", "emit_move_insn", "(", "ccreg", ",", "gen_rtx_COMPARE", "(", "CCmode", ",", "dst", ",", "const0_rtx", ")", ")", ";", "return", ";", "}", "rtx", "ccset", "=", "gen_rtx_SET", "(", "ccreg", ",", "gen_rtx_COMPARE", "(", "CCmode", ",", "src", ",", "const0_rtx", ")", ")", ";", "if", "(", "dot", "==", "1", ")", "{", "rtx", "clobber", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "dst", ")", ";", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "ccset", ",", "clobber", ")", ")", ")", ";", "}", "else", "{", "rtx", "set", "=", "gen_rtx_SET", "(", "dst", ",", "src", ")", ";", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "ccset", ",", "set", ")", ")", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "a", "potentially", "record-form", "instruction", ",", "setting", "DST", "from", "SRC", ".", "If", "DOT", "is", "0", ",", "that", "is", "all", ";", "otherwise", ",", "set", "CCREG", "to", "the", "result", "of", "the", "signed", "comparison", "of", "DST", "with", "zero", ".", "If", "DOT", "is", "1", ",", "the", "generated", "RTL", "does", "n't", "care", "about", "the", "DST", "result", ";", "if", "DOT", "is", "2", ",", "it", "does", ".", "If", "CCREG", "is", "CR0", "do", "a", "single", "dot", "insn", "(", "as", "a", "PARALLEL", ")", ";", "otherwise", ",", "do", "a", "SET", "and", "a", "separate", "COMPARE", "."], "TS_V_token": ["rs6000", "0", "1", "2", "2"], "File": "rs6000", "Func": "rs6000_emit_dot_insn", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17382, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmBackend", "::", "allowAutoPadding", "(", ")", "const", "{", "return", "(", "AlignBoundary", "!=", "Align", "(", "1", ")", "&&", "AlignBranchType", "!=", "X86", "::", "AlignBranchNone", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "target", "might", "automatically", "pad", "instructions", "and", "thus", "need", "to", "emit", "padding", "enable/disable", "directives", "around", "sensative", "code", "."], "TS_V_token": ["X86", "X86", "1", "X86::AlignBranchNone"], "File": "X86AsmBackend (2)1", "Func": "allowAutoPadding", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17383, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "SparcDisassembler", "::", "getInstruction", "(", "MCInst", "&", "Instr", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "VStream", ",", "raw_ostream", "&", "CStream", ")", "const", "{", "uint32_t", "Insn", ";", "bool", "isLittleEndian", "=", "getContext", "(", ")", ".", "getAsmInfo", "(", ")", "->", "isLittleEndian", "(", ")", ";", "DecodeStatus", "Result", "=", "readInstruction32", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn", ",", "isLittleEndian", ")", ";", "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 (2)", "Func": "getInstruction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17384, "Length": 119, "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", ")", ".", "getFixed", "(", ")", ";", "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": "SparcRegisterInfo18", "Func": "eliminateFrameIndex", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17385, "Length": 482, "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", "=", "IsN64", "?", "Mips", "::", "GP_64", ":", "Mips", "::", "GP", ";", "EVT", "Ty", "=", "IsN64", "?", "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", "(", ")", ".", "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", "->", "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": "MipsISelLowering (2)", "Func": "getOpndList", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17386, "Length": 369, "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\"", ";", "case", "MipsISD", "::", "FPRound", ":", "return", "\"MipsISD::FPRound\"", ";", "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\"", "MipsISD::FPRound", "\"MipsISD::FPRound\""], "File": "MipsISelLowering115", "Func": "getTargetNodeName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17387, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64RegisterInfo", "::", "useFPForScavengingIndex", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "MFI", "->", "hasVarSizedObjects", "(", ")", "&&", "!", "hasBasePointer", "(", "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"], "File": "AArch64RegisterInfo (2)", "Func": "useFPForScavengingIndex", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17388, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_discover_homogeneous_aggregate", "(", "machine_mode", "mode", ",", "const_tree", "type", ",", "machine_mode", "*", "elt_mode", ",", "int", "*", "n_elts", ")", "{", "if", "(", "TARGET_HARD_FLOAT", "&&", "DEFAULT_ABI", "==", "ABI_ELFv2", "&&", "type", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "machine_mode", "field_mode", "=", "VOIDmode", ";", "int", "field_count", "=", "rs6000_aggregate_candidate", "(", "type", ",", "&", "field_mode", ")", ";", "if", "(", "field_count", ">", "0", ")", "{", "int", "n_regs", "=", "(", "SCALAR_FLOAT_MODE_P", "(", "field_mode", ")", "?", "(", "GET_MODE_SIZE", "(", "field_mode", ")", "+", "7", ")", ">>", "3", ":", "1", ")", ";", "if", "(", "field_count", "*", "n_regs", "<=", "AGGR_ARG_NUM_REG", ")", "{", "if", "(", "elt_mode", ")", "*", "elt_mode", "=", "field_mode", ";", "if", "(", "n_elts", ")", "*", "n_elts", "=", "field_count", ";", "return", "true", ";", "}", "}", "}", "if", "(", "elt_mode", ")", "*", "elt_mode", "=", "mode", ";", "if", "(", "n_elts", ")", "*", "n_elts", "=", "1", ";", "return", "false", ";", "}", ""], "natrual_language": ["If", "an", "argument", ",", "whose", "type", "is", "described", "by", "TYPE", "and", "MODE", ",", "is", "a", "homogeneous", "float", "or", "vector", "aggregate", "that", "shall", "be", "passed", "in", "FP/vector", "registers", "according", "to", "the", "ELFv2", "ABI", ",", "return", "the", "homogeneous", "element", "mode", "in", "*", "ELT_MODE", "and", "the", "number", "of", "elements", "in", "*", "N_ELTS", ",", "and", "return", "TRUE", ".", "Otherwise", ",", "set", "*", "ELT_MODE", "to", "MODE", "and", "*", "N_ELTS", "to", "1", ",", "and", "return", "FALSE", "."], "TS_V_token": ["rs6000", "0", "7", "3", "1", "1"], "File": "rs60007", "Func": "rs6000_discover_homogeneous_aggregate", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17389, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "Mips16InstrInfo", "::", "getOppositeBranchOpc", "(", "unsigned", "Opc", ")", "const", "{", "switch", "(", "Opc", ")", "{", "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", ";", "}", "llvm_unreachable", "(", "\"Illegal opcode!\"", ")", ";", "}", ""], "natrual_language": ["getOppositeBranchOpc", "-", "Return", "the", "inverse", "of", "the", "specified", "opcode", ",", "e.g", "."], "TS_V_token": ["Mips", "Mips", "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", "\"Illegal opcode!\""], "File": "Mips16InstrInfo (2)", "Func": "getOppositeBranchOpc", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17390, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "AArch64DAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Selecting: \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"== \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "return", "NULL", ";", "}", "switch", "(", "Node", "->", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "FrameIndex", ":", "{", "int", "FI", "=", "cast", "<", "FrameIndexSDNode", ">", "(", "Node", ")", "->", "getIndex", "(", ")", ";", "EVT", "PtrTy", "=", "TLI", ".", "getPointerTy", "(", ")", ";", "SDValue", "TFI", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "PtrTy", ")", ";", "return", "CurDAG", "->", "SelectNodeTo", "(", "Node", ",", "AArch64", "::", "ADDxxi_lsl0_s", ",", "PtrTy", ",", "TFI", ",", "CurDAG", "->", "getTargetConstant", "(", "0", ",", "PtrTy", ")", ")", ";", "}", "case", "ISD", "::", "ConstantPool", ":", "{", "ConstantPoolSDNode", "*", "CN", "=", "cast", "<", "ConstantPoolSDNode", ">", "(", "Node", ")", ";", "const", "Constant", "*", "C", "=", "CN", "->", "getConstVal", "(", ")", ";", "SDValue", "CP", "=", "CurDAG", "->", "getTargetConstantPool", "(", "C", ",", "CN", "->", "getValueType", "(", "0", ")", ")", ";", "ReplaceUses", "(", "SDValue", "(", "Node", ",", "0", ")", ",", "CP", ")", ";", "return", "NULL", ";", "}", "case", "ISD", "::", "Constant", ":", "{", "SDNode", "*", "ResNode", "=", "0", ";", "if", "(", "cast", "<", "ConstantSDNode", ">", "(", "Node", ")", "->", "getZExtValue", "(", ")", "==", "0", ")", "{", "EVT", "Ty", "=", "Node", "->", "getValueType", "(", "0", ")", ";", "assert", "(", "(", "Ty", "==", "MVT", "::", "i32", "||", "Ty", "==", "MVT", "::", "i64", ")", "&&", "\"unexpected type\"", ")", ";", "uint16_t", "Register", "=", "Ty", "==", "MVT", "::", "i32", "?", "AArch64", "::", "WZR", ":", "AArch64", "::", "XZR", ";", "ResNode", "=", "CurDAG", "->", "getCopyFromReg", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "Node", "->", "getDebugLoc", "(", ")", ",", "Register", ",", "Ty", ")", ".", "getNode", "(", ")", ";", "}", "if", "(", "!", "ResNode", ")", "{", "ResNode", "=", "TrySelectToMoveImm", "(", "Node", ")", ";", "}", "if", "(", "ResNode", ")", "return", "ResNode", ";", "ResNode", "=", "SelectToLitPool", "(", "Node", ")", ";", "assert", "(", "ResNode", "&&", "\"We need *some* way to materialise a constant\"", ")", ";", "ReplaceUses", "(", "SDValue", "(", "Node", ",", "0", ")", ",", "SDValue", "(", "ResNode", ",", "0", ")", ")", ";", "Node", "=", "ResNode", ";", "break", ";", "}", "case", "ISD", "::", "ConstantFP", ":", "{", "if", "(", "A64Imms", "::", "isFPImm", "(", "cast", "<", "ConstantFPSDNode", ">", "(", "Node", ")", "->", "getValueAPF", "(", ")", ")", ")", "{", "break", ";", "}", "SDNode", "*", "ResNode", "=", "LowerToFPLitPool", "(", "Node", ")", ";", "ReplaceUses", "(", "SDValue", "(", "Node", ",", "0", ")", ",", "SDValue", "(", "ResNode", ",", "0", ")", ")", ";", "Node", "=", "ResNode", ";", "break", ";", "}", "default", ":", "break", ";", "}", "SDNode", "*", "ResNode", "=", "SelectCode", "(", "Node", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"=> \"", ";", "if", "(", "ResNode", "==", "NULL", "||", "ResNode", "==", "Node", ")", "Node", "->", "dump", "(", "CurDAG", ")", ";", "else", "ResNode", "->", "dump", "(", "CurDAG", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "return", "ResNode", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["AArch64", "AArch64", "\"Selecting: \"", "\"\\n\"", "\"== \"", "\"\\n\"", "ISD::FrameIndex", "AArch64::ADDxxi_lsl0_s", "0", "ISD::ConstantPool", "0", "0", "ISD::Constant", "0", "0", "0", "MVT::i32", "MVT::i64", "\"unexpected type\"", "MVT::i32", "AArch64::WZR", "AArch64::XZR", "\"We need *some* way to materialise a constant\"", "0", "0", "ISD::ConstantFP", "0", "0", "\"=> \"", "\"\\n\""], "File": "AArch64ISelDAGToDAG45", "Func": "Select", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17391, "Length": 489, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTargetLowering", "::", "getPrefLoopAlignment", "(", "MachineLoop", "*", "ML", ")", "const", "{", "switch", "(", "Subtarget", ".", "getMcpu", "(", ")", ")", "{", "default", ":", "break", ";", "case", "PPC", "::", "MCPU_970", ":", "case", "PPC", "::", "MCPU_PWR4", ":", "case", "PPC", "::", "MCPU_PWR5", ":", "case", "PPC", "::", "MCPU_PWR5X", ":", "case", "PPC", "::", "MCPU_PWR6", ":", "case", "PPC", "::", "MCPU_PWR6X", ":", "case", "PPC", "::", "MCPU_PWR7", ":", "case", "PPC", "::", "MCPU_PWR8", ":", "case", "PPC", "::", "MCPU_PWR9", ":", "{", "if", "(", "!", "ML", ")", "break", ";", "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", "5", ";", "break", ";", "}", "}", "return", "TargetLowering", "::", "getPrefLoopAlignment", "(", "ML", ")", ";", "}", ""], "natrual_language": ["Return", "the", "preferred", "loop", "alignment", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::MCPU_970", "PPC::MCPU_PWR4", "PPC::MCPU_PWR5", "PPC::MCPU_PWR5X", "PPC::MCPU_PWR6", "PPC::MCPU_PWR6X", "PPC::MCPU_PWR7", "PPC::MCPU_PWR8", "PPC::MCPU_PWR9", "PPC", "0", "32", "16", "32", "5"], "File": "PPCISelLowering49", "Func": "getPrefLoopAlignment", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17392, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMAsmPrinter", "::", "emitMachineConstantPoolValue", "(", "MachineConstantPoolValue", "*", "MCPV", ")", "{", "const", "DataLayout", "&", "DL", "=", "getDataLayout", "(", ")", ";", "int", "Size", "=", "DL", ".", "getTypeAllocSize", "(", "MCPV", "->", "getType", "(", ")", ")", ";", "ARMConstantPoolValue", "*", "ACPV", "=", "static_cast", "<", "ARMConstantPoolValue", "*", ">", "(", "MCPV", ")", ";", "if", "(", "ACPV", "->", "isPromotedGlobal", "(", ")", ")", "{", "auto", "*", "ACPC", "=", "cast", "<", "ARMConstantPoolConstant", ">", "(", "ACPV", ")", ";", "for", "(", "const", "auto", "*", "GV", ":", "ACPC", "->", "promotedGlobals", "(", ")", ")", "{", "if", "(", "!", "EmittedPromotedGlobalLabels", ".", "count", "(", "GV", ")", ")", "{", "MCSymbol", "*", "GVSym", "=", "getSymbol", "(", "GV", ")", ";", "OutStreamer", "->", "emitLabel", "(", "GVSym", ")", ";", "EmittedPromotedGlobalLabels", ".", "insert", "(", "GV", ")", ";", "}", "}", "return", "emitGlobalConstant", "(", "DL", ",", "ACPC", "->", "getPromotedGlobalInit", "(", ")", ",", "0", ")", ";", "}", "MCSymbol", "*", "MCSym", ";", "if", "(", "ACPV", "->", "isLSDA", "(", ")", ")", "{", "MCSym", "=", "getMBBExceptionSym", "(", "MF", "->", "front", "(", ")", ")", ";", "}", "else", "if", "(", "ACPV", "->", "isBlockAddress", "(", ")", ")", "{", "const", "BlockAddress", "*", "BA", "=", "cast", "<", "ARMConstantPoolConstant", ">", "(", "ACPV", ")", "->", "getBlockAddress", "(", ")", ";", "MCSym", "=", "GetBlockAddressSymbol", "(", "BA", ")", ";", "}", "else", "if", "(", "ACPV", "->", "isGlobalValue", "(", ")", ")", "{", "const", "GlobalValue", "*", "GV", "=", "cast", "<", "ARMConstantPoolConstant", ">", "(", "ACPV", ")", "->", "getGV", "(", ")", ";", "unsigned", "char", "TF", "=", "Subtarget", "->", "isTargetMachO", "(", ")", "?", "ARMII", "::", "MO_NONLAZY", ":", "0", ";", "MCSym", "=", "GetARMGVSymbol", "(", "GV", ",", "TF", ")", ";", "}", "else", "if", "(", "ACPV", "->", "isMachineBasicBlock", "(", ")", ")", "{", "const", "MachineBasicBlock", "*", "MBB", "=", "cast", "<", "ARMConstantPoolMBB", ">", "(", "ACPV", ")", "->", "getMBB", "(", ")", ";", "MCSym", "=", "MBB", "->", "getSymbol", "(", ")", ";", "}", "else", "{", "assert", "(", "ACPV", "->", "isExtSymbol", "(", ")", "&&", "\"unrecognized constant pool value\"", ")", ";", "auto", "Sym", "=", "cast", "<", "ARMConstantPoolSymbol", ">", "(", "ACPV", ")", "->", "getSymbol", "(", ")", ";", "MCSym", "=", "GetExternalSymbolSymbol", "(", "Sym", ")", ";", "}", "const", "MCExpr", "*", "Expr", "=", "MCSymbolRefExpr", "::", "create", "(", "MCSym", ",", "getModifierVariantKind", "(", "ACPV", "->", "getModifier", "(", ")", ")", ",", "OutContext", ")", ";", "if", "(", "ACPV", "->", "getPCAdjustment", "(", ")", ")", "{", "MCSymbol", "*", "PCLabel", "=", "getPICLabel", "(", "DL", ".", "getPrivateGlobalPrefix", "(", ")", ",", "getFunctionNumber", "(", ")", ",", "ACPV", "->", "getLabelId", "(", ")", ",", "OutContext", ")", ";", "const", "MCExpr", "*", "PCRelExpr", "=", "MCSymbolRefExpr", "::", "create", "(", "PCLabel", ",", "OutContext", ")", ";", "PCRelExpr", "=", "MCBinaryExpr", "::", "createAdd", "(", "PCRelExpr", ",", "MCConstantExpr", "::", "create", "(", "ACPV", "->", "getPCAdjustment", "(", ")", ",", "OutContext", ")", ",", "OutContext", ")", ";", "if", "(", "ACPV", "->", "mustAddCurrentAddress", "(", ")", ")", "{", "MCSymbol", "*", "DotSym", "=", "OutContext", ".", "createTempSymbol", "(", ")", ";", "OutStreamer", "->", "emitLabel", "(", "DotSym", ")", ";", "const", "MCExpr", "*", "DotExpr", "=", "MCSymbolRefExpr", "::", "create", "(", "DotSym", ",", "OutContext", ")", ";", "PCRelExpr", "=", "MCBinaryExpr", "::", "createSub", "(", "PCRelExpr", ",", "DotExpr", ",", "OutContext", ")", ";", "}", "Expr", "=", "MCBinaryExpr", "::", "createSub", "(", "Expr", ",", "PCRelExpr", ",", "OutContext", ")", ";", "}", "OutStreamer", "->", "emitValue", "(", "Expr", ",", "Size", ")", ";", "}", ""], "natrual_language": ["EmitMachineConstantPoolValue", "-", "Print", "a", "machine", "constantpool", "value", "to", "the", ".s", "file", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM", "0", "ARM", "ARM", "ARMII::MO_NONLAZY", "0", "ARM", "ARM", "\"unrecognized constant pool value\"", "ARM"], "File": "ARMAsmPrinter59", "Func": "emitMachineConstantPoolValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17393, "Length": 490, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "SMLoc", "Loc", "=", "DirectiveID", ".", "getLoc", "(", ")", ";", "if", "(", "IDVal", "==", "\".hword\"", ")", "return", "parseDirectiveWord", "(", "2", ",", "Loc", ")", ";", "if", "(", "IDVal", "==", "\".word\"", ")", "return", "parseDirectiveWord", "(", "4", ",", "Loc", ")", ";", "if", "(", "IDVal", "==", "\".xword\"", ")", "return", "parseDirectiveWord", "(", "8", ",", "Loc", ")", ";", "if", "(", "IDVal", "==", "\".tlsdesccall\"", ")", "return", "parseDirectiveTLSDescCall", "(", "Loc", ")", ";", "if", "(", "IDVal", "==", "\".ltorg\"", "||", "IDVal", "==", "\".pool\"", ")", "return", "parseDirectiveLtorg", "(", "Loc", ")", ";", "if", "(", "IDVal", "==", "\".unreq\"", ")", "return", "parseDirectiveUnreq", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "return", "parseDirectiveLOH", "(", "IDVal", ",", "Loc", ")", ";", "}", ""], "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\"", "\".ltorg\"", "\".pool\"", "\".unreq\""], "File": "AArch64AsmParser2", "Func": "ParseDirective", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17394, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "replaceBranchWithTailCall", "(", "MachineBasicBlock", "&", "MBB", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "BranchCond", ",", "const", "MachineInstr", "&", "TailCall", ")", "const", "{", "assert", "(", "canMakeTailCallConditional", "(", "BranchCond", ",", "TailCall", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "end", "(", ")", ";", "while", "(", "I", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "--", "I", ";", "if", "(", "I", "->", "isDebugInstr", "(", ")", ")", "continue", ";", "if", "(", "!", "I", "->", "isBranch", "(", ")", ")", "assert", "(", "0", "&&", "\"Can't find the branch to replace!\"", ")", ";", "X86", "::", "CondCode", "CC", "=", "X86", "::", "getCondFromBranchOpc", "(", "I", "->", "getOpcode", "(", ")", ")", ";", "assert", "(", "BranchCond", ".", "size", "(", ")", "==", "1", ")", ";", "if", "(", "CC", "!=", "BranchCond", "[", "0", "]", ".", "getImm", "(", ")", ")", "continue", ";", "break", ";", "}", "unsigned", "Opc", "=", "TailCall", ".", "getOpcode", "(", ")", "==", "X86", "::", "TCRETURNdi", "?", "X86", "::", "TCRETURNdicc", ":", "X86", "::", "TCRETURNdi64cc", ";", "auto", "MIB", "=", "BuildMI", "(", "MBB", ",", "I", ",", "MBB", ".", "findDebugLoc", "(", "I", ")", ",", "get", "(", "Opc", ")", ")", ";", "MIB", "->", "addOperand", "(", "TailCall", ".", "getOperand", "(", "0", ")", ")", ";", "MIB", ".", "addImm", "(", "0", ")", ";", "MIB", "->", "addOperand", "(", "BranchCond", "[", "0", "]", ")", ";", "MIB", ".", "copyImplicitOps", "(", "TailCall", ")", ";", "LivePhysRegs", "LiveRegs", "(", "getRegisterInfo", "(", ")", ")", ";", "LiveRegs", ".", "addLiveOuts", "(", "MBB", ")", ";", "SmallVector", "<", "std", "::", "pair", "<", "MCPhysReg", ",", "const", "MachineOperand", "*", ">", ",", "8", ">", "Clobbers", ";", "LiveRegs", ".", "stepForward", "(", "*", "MIB", ",", "Clobbers", ")", ";", "for", "(", "const", "auto", "&", "C", ":", "Clobbers", ")", "{", "MIB", ".", "addReg", "(", "C", ".", "first", ",", "RegState", "::", "Implicit", ")", ";", "MIB", ".", "addReg", "(", "C", ".", "first", ",", "RegState", "::", "Implicit", "|", "RegState", "::", "Define", ")", ";", "}", "I", "->", "eraseFromParent", "(", ")", ";", "}", ""], "natrual_language": ["Replace", "the", "conditional", "branch", "in", "MBB", "with", "a", "conditional", "tail", "call", "."], "TS_V_token": ["X86", "X86", "0", "\"Can't find the branch to replace!\"", "X86::CondCode", "X86::getCondFromBranchOpc", "1", "0", "X86::TCRETURNdi", "X86::TCRETURNdicc", "X86::TCRETURNdi64cc", "0", "0", "0", "8"], "File": "X86InstrInfo1", "Func": "replaceBranchWithTailCall", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17395, "Length": 298, "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": 17396, "Length": 22, "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", ";", "unsigned", "HOST_WIDE_INT", "dsize", ",", "dalign", ",", "lsb", ",", "mask", ";", "if", "(", "GET_CODE", "(", "op", ")", "!=", "SYMBOL_REF", ")", "return", "false", ";", "if", "(", "mode_supports_vsx_dform_quad", "(", "mode", ")", ")", "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", ";", "dalign", "/=", "BITS_PER_UNIT", ";", "if", "(", "dalign", ">", "POWERPC64_TOC_POINTER_ALIGNMENT", ")", "dalign", "=", "POWERPC64_TOC_POINTER_ALIGNMENT", ";", "return", "dalign", ">=", "dsize", ";", "}", "}", "else", "gcc_unreachable", "(", ")", ";", "dalign", "/=", "BITS_PER_UNIT", ";", "if", "(", "dalign", ">", "POWERPC64_TOC_POINTER_ALIGNMENT", ")", "dalign", "=", "POWERPC64_TOC_POINTER_ALIGNMENT", ";", "mask", "=", "dalign", "-", "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", "1", "1", "1"], "File": "rs60006", "Func": "offsettable_ok_by_alignment", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17397, "Length": 290, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_modes_tieable_p", "(", "machine_mode", "mode1", ",", "machine_mode", "mode2", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "mode1", ")", "==", "GET_MODE_CLASS", "(", "mode2", ")", ")", "return", "true", ";", "if", "(", "TARGET_NEON", "&&", "(", "VALID_NEON_DREG_MODE", "(", "mode1", ")", "||", "VALID_NEON_QREG_MODE", "(", "mode1", ")", "||", "VALID_NEON_STRUCT_MODE", "(", "mode1", ")", ")", "&&", "(", "VALID_NEON_DREG_MODE", "(", "mode2", ")", "||", "VALID_NEON_QREG_MODE", "(", "mode2", ")", "||", "VALID_NEON_STRUCT_MODE", "(", "mode2", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "MODES_TIEABLE_P", "."], "TS_V_token": ["arm"], "File": "arm4", "Func": "arm_modes_tieable_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17398, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "return", "true", ";", "printAddrMode2Operand", "(", "MI", ",", "OpNum", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "."], "TS_V_token": ["ARM", "ARM", "0"], "File": "ARMAsmPrinter20", "Func": "PrintAsmMemoryOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17399, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VETargetLowering", "::", "hasAndNot", "(", "SDValue", "Y", ")", "const", "{", "EVT", "VT", "=", "Y", ".", "getValueType", "(", ")", ";", "if", "(", "VT", ".", "isVector", "(", ")", ")", "return", "false", ";", "if", "(", "isa", "<", "ConstantSDNode", ">", "(", "Y", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "has", "a", "bitwise", "and-not", "operation", ":", "X", "=", "~A", "&", "B", "This", "can", "be", "used", "to", "simplify", "select", "or", "other", "instructions", "."], "TS_V_token": ["VE", "VE"], "File": "VEISelLowering1", "Func": "hasAndNot", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17400, "Length": 47, "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": 17401, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "set_pic_reg_ever_live", "(", ")", "{", "if", "(", "reload_in_progress", ")", "df_set_regs_ever_live", "(", "REGNO", "(", "pic_offset_table_rtx", ")", ",", "true", ")", ";", "}", ""], "natrual_language": ["Set", "regs_ever_live", "for", "PIC", "base", "address", "register", "to", "true", "if", "required", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "set_pic_reg_ever_live", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17402, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "ARMBaseRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "ARMSubtarget", "&", "STI", "=", "MF", "->", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "const", "MCPhysReg", "*", "RegList", "=", "STI", ".", "isTargetDarwin", "(", ")", "?", "CSR_iOS_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", "CSR_AAPCS_SaveList", ";", "}", "else", "if", "(", "F", "->", "getFnAttribute", "(", "\"interrupt\"", ")", ".", "getValueAsString", "(", ")", "==", "\"FIQ\"", ")", "{", "return", "CSR_FIQ_SaveList", ";", "}", "else", "{", "return", "CSR_GenericInt_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": "ARMBaseRegisterInfo13", "Func": "getCalleeSavedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17403, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "loongarch_index_address_p", "(", "rtx", "addr", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "GET_CODE", "(", "addr", ")", "!=", "PLUS", "||", "!", "REG_P", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "||", "!", "REG_P", "(", "XEXP", "(", "addr", ",", "1", ")", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "ADDR", "matches", "the", "pattern", "for", "the", "indexed", "address", "instruction", "."], "TS_V_token": ["loongarch", "0", "1"], "File": "loongarch", "Func": "loongarch_index_address_p", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17404, "Length": 50, "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": ["MINA32"], "File": "MINA32AsmParser", "Func": "getStartLoc", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17405, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_vector_mode_supported_p", "(", "machine_mode", "mode", ")", "{", "unsigned", "int", "vec_flags", "=", "aarch64_classify_vector_mode", "(", "mode", ")", ";", "return", "vec_flags", "!=", "0", "&&", "(", "vec_flags", "&", "VEC_STRUCT", ")", "==", "0", ";", "}", ""], "natrual_language": ["Implements", "target", "hook", "vector_mode_supported_p", "."], "TS_V_token": ["aarch64", "0", "0"], "File": "aarch64", "Func": "aarch64_vector_mode_supported_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17406, "Length": 31, "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": 17407, "Length": 499, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PPCSubtarget", "::", "PPCSubtarget", "(", "const", "Triple", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "const", "PPCTargetMachine", "&", "TM", ")", ":", "PPCGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "CPU", ",", "FS", ")", ",", "TargetTriple", "(", "TT", ")", ",", "IsPPC64", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "ppc64", "||", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "ppc64le", ")", ",", "TM", "(", "TM", ")", ",", "FrameLowering", "(", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ")", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", "{", "CallLoweringInfo", ".", "reset", "(", "new", "PPCCallLowering", "(", "*", "getTargetLowering", "(", ")", ")", ")", ";", "Legalizer", ".", "reset", "(", "new", "PPCLegalizerInfo", "(", "*", "this", ")", ")", ";", "auto", "*", "RBI", "=", "new", "PPCRegisterBankInfo", "(", "*", "getRegisterInfo", "(", ")", ")", ";", "RegBankInfo", ".", "reset", "(", "RBI", ")", ";", "InstSelector", ".", "reset", "(", "createPPCInstructionSelector", "(", "*", "static_cast", "<", "const", "PPCTargetMachine", "*", ">", "(", "&", "TM", ")", ",", "*", "this", ",", "*", "RBI", ")", ")", ";", "}", ""], "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", "PPC", "PPC", "PPC", "PPC"], "File": "PPCSubtarget13", "Func": "PPCSubtarget", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17408, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64MCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "Ctx", ".", "getRegisterInfo", "(", ")", "->", "getEncodingValue", "(", "MO", ".", "getReg", "(", ")", ")", ";", "assert", "(", "MO", ".", "isImm", "(", ")", "&&", "\"did not expect relocated expression\"", ")", ";", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["AArch64", "AArch64", "\"did not expect relocated expression\""], "File": "AArch64MCCodeEmitter (2)", "Func": "getMachineOpValue", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17409, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "\".ent\"", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "\".end\"", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "\".frame\"", ")", "{", "Parser", ".", "EatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "\".set\"", ")", "{", "Parser", ".", "EatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "\".fmask\"", ")", "{", "Parser", ".", "EatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "\".mask\"", ")", "{", "Parser", ".", "EatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "\".gpword\"", ")", "{", "Parser", ".", "EatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["Mips", "Mips", "\".ent\"", "\".end\"", "\".frame\"", "\".set\"", "\".fmask\"", "\".mask\"", "\".gpword\""], "File": "MipsAsmParser41", "Func": "ParseDirective", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17410, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "register_builtin_tuple_types", "(", "vector_type_index", "type", ")", "{", "const", "vector_type_info", "*", "info", "=", "&", "vector_types", "[", "type", "]", ";", "if", "(", "scalar_types", "[", "type", "]", "==", "boolean_type_node", "||", "(", "info", "->", "requires_float", "&&", "!", "TARGET_HAVE_MVE_FLOAT", ")", ")", "return", ";", "const", "char", "*", "vector_type_name", "=", "info", "->", "acle_name", ";", "char", "buffer", "[", "sizeof", "(", "\"float32x4x2_t\"", ")", "]", ";", "for", "(", "unsigned", "int", "num_vectors", "=", "2", ";", "num_vectors", "<=", "4", ";", "num_vectors", "+=", "2", ")", "{", "snprintf", "(", "buffer", ",", "sizeof", "(", "buffer", ")", ",", "\"%.*sx%d_t\"", ",", "(", "int", ")", "strlen", "(", "vector_type_name", ")", "-", "2", ",", "vector_type_name", ",", "num_vectors", ")", ";", "tree", "vectype", "=", "acle_vector_types", "[", "0", "]", "[", "type", "]", ";", "tree", "arrtype", "=", "build_array_type_nelts", "(", "vectype", ",", "num_vectors", ")", ";", "gcc_assert", "(", "TYPE_MODE_RAW", "(", "arrtype", ")", "==", "TYPE_MODE", "(", "arrtype", ")", ")", ";", "tree", "field", "=", "build_decl", "(", "input_location", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"val\"", ")", ",", "arrtype", ")", ";", "tree", "t", "=", "lang_hooks", ".", "types", ".", "simulate_record_decl", "(", "input_location", ",", "buffer", ",", "make_array_slice", "(", "&", "field", ",", "1", ")", ")", ";", "gcc_assert", "(", "TYPE_MODE_RAW", "(", "t", ")", "==", "TYPE_MODE", "(", "t", ")", ")", ";", "acle_vector_types", "[", "num_vectors", ">>", "1", "]", "[", "type", "]", "=", "TREE_TYPE", "(", "t", ")", ";", "}", "}", ""], "natrual_language": ["Register", "tuple", "type", "TYPE", "with", "NUM_VECTORS", "arity", "under", "its", "arm_mve_types.h", "name", "."], "TS_V_token": ["arm", "\"float32x4x2_t\"", "2", "4", "2", "\"%.*sx%d_t\"", "2", "0", "\"val\"", "1", "1"], "File": "arm-mve-builtins", "Func": "register_builtin_tuple_types", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17411, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "vector", "<", "std", "::", "pair", "<", "uint64_t", ",", "uint64_t", ">>", "findPltEntries", "(", "uint64_t", "PltSectionVA", ",", "ArrayRef", "<", "uint8_t", ">", "PltContents", ",", "uint64_t", "GotPltSectionVA", ",", "const", "Triple", "&", "TargetTriple", ")", "const", "override", "{", "std", "::", "vector", "<", "std", "::", "pair", "<", "uint64_t", ",", "uint64_t", ">>", "Result", ";", "for", "(", "uint64_t", "Byte", "=", "0", ",", "End", "=", "PltContents", ".", "size", "(", ")", ";", "Byte", "+", "7", "<", "End", ";", "Byte", "+=", "4", ")", "{", "uint32_t", "Insn", "=", "support", "::", "endian", "::", "read32le", "(", "PltContents", ".", "data", "(", ")", "+", "Byte", ")", ";", "uint64_t", "Off", "=", "0", ";", "if", "(", "Insn", "==", "0xd503245f", ")", "{", "Off", "=", "4", ";", "Insn", "=", "support", "::", "endian", "::", "read32le", "(", "PltContents", ".", "data", "(", ")", "+", "Byte", "+", "Off", ")", ";", "}", "if", "(", "(", "Insn", "&", "0x9f000000", ")", "!=", "0x90000000", ")", "continue", ";", "Off", "+=", "4", ";", "uint64_t", "Imm", "=", "(", "(", "(", "PltSectionVA", "+", "Byte", ")", ">>", "12", ")", "<<", "12", ")", "+", "(", "(", "(", "Insn", ">>", "29", ")", "&", "3", ")", "<<", "12", ")", "+", "(", "(", "(", "Insn", ">>", "5", ")", "&", "0x3ffff", ")", "<<", "14", ")", ";", "uint32_t", "Insn2", "=", "support", "::", "endian", "::", "read32le", "(", "PltContents", ".", "data", "(", ")", "+", "Byte", "+", "Off", ")", ";", "if", "(", "Insn2", ">>", "22", "==", "0x3e5", ")", "{", "Imm", "+=", "(", "(", "Insn2", ">>", "10", ")", "&", "0xfff", ")", "<<", "3", ";", "Result", ".", "push_back", "(", "std", "::", "make_pair", "(", "PltSectionVA", "+", "Byte", ",", "Imm", ")", ")", ";", "Byte", "+=", "4", ";", "}", "}", "return", "Result", ";", "}", ""], "natrual_language": ["Returns", "(", "PLT", "virtual", "address", ",", "GOT", "virtual", "address", ")", "pairs", "for", "PLT", "entries", "."], "TS_V_token": ["AArch64", "0", "7", "4", "support::endian", "0", "0xd503245f", "4", "support::endian", "0x9f000000", "0x90000000", "4", "12", "12", "29", "3", "12", "5", "0x3ffff", "14", "support::endian", "22", "0x3e5", "10", "0xfff", "3", "4"], "File": "AArch64MCTargetDesc (2)1", "Func": "findPltEntries", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17412, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "machine_function", "*", "ix86_init_machine_status", "(", "void", ")", "{", "struct", "machine_function", "*", "f", ";", "f", "=", "ggc_cleared_alloc", "<", "machine_function", ">", "(", ")", ";", "f", "->", "use_fast_prologue_epilogue_nregs", "=", "-", "1", ";", "f", "->", "call_abi", "=", "ix86_abi", ";", "return", "f", ";", "}", ""], "natrual_language": ["Clear", "stack", "slot", "assignments", "remembered", "from", "previous", "functions", ".", "This", "is", "called", "from", "INIT_EXPANDERS", "once", "before", "RTL", "is", "emitted", "for", "each", "function", "."], "TS_V_token": ["i386", "1"], "File": "i3864", "Func": "ix86_init_machine_status", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17413, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "Mips16InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "Mips16InstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "!", "StackSize", ")", "return", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "Move32R16", ")", ",", "Mips", "::", "SP", ")", ".", "addReg", "(", "Mips", "::", "S0", ")", ";", "TII", ".", "restoreFrame", "(", "Mips", "::", "SP", ",", "StackSize", ",", "MBB", ",", "MBBI", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips::Move32R16", "Mips::SP", "Mips::S0", "Mips::SP"], "File": "Mips16FrameLowering31", "Func": "emitEpilogue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17414, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_leaf_function", "(", "function", "*", "fn", ")", "{", "basic_block", "bb", ";", "gimple_stmt_iterator", "gsi", ";", "if", "(", "fn", "->", "cfg", "==", "NULL", ")", "return", "false", ";", "FOR_EACH_BB_FN", "(", "bb", ",", "fn", ")", "for", "(", "gsi", "=", "gsi_start_bb", "(", "bb", ")", ";", "!", "gsi_end_p", "(", "gsi", ")", ";", "gsi_next", "(", "&", "gsi", ")", ")", "if", "(", "is_gimple_call", "(", "gsi_stmt", "(", "gsi", ")", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "certain", "that", "this", "is", "a", "leaf", "function", ".", "False", "if", "it", "is", "not", "a", "leaf", "function", "or", "if", "it", "is", "impossible", "to", "tell", "."], "TS_V_token": ["mips"], "File": "frame-header-opt", "Func": "is_leaf_function", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17415, "Length": 70, "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": 17416, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "Cpu0InstrInfo", "*", "Cpu0InstrInfo", "::", "create", "(", "Cpu0Subtarget", "&", "STI", ")", "{", "return", "llvm", "::", "createCpu0SEInstrInfo", "(", "STI", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0"], "File": "Cpu0InstrInfo", "Func": "create", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17417, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmBackend", "::", "shouldForceRelocation", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ")", "{", "const", "unsigned", "FixupKind", "=", "Fixup", ".", "getKind", "(", ")", ";", "switch", "(", "FixupKind", ")", "{", "default", ":", "return", "false", ";", "case", "Mips", "::", "fixup_Mips_CALL_HI16", ":", "case", "Mips", "::", "fixup_Mips_CALL_LO16", ":", "case", "Mips", "::", "fixup_Mips_CALL16", ":", "case", "Mips", "::", "fixup_Mips_GOT", ":", "case", "Mips", "::", "fixup_Mips_GOT_PAGE", ":", "case", "Mips", "::", "fixup_Mips_GOT_OFST", ":", "case", "Mips", "::", "fixup_Mips_GOT_DISP", ":", "case", "Mips", "::", "fixup_Mips_GOT_HI16", ":", "case", "Mips", "::", "fixup_Mips_GOT_LO16", ":", "case", "Mips", "::", "fixup_Mips_GOTTPREL", ":", "case", "Mips", "::", "fixup_Mips_DTPREL_HI", ":", "case", "Mips", "::", "fixup_Mips_DTPREL_LO", ":", "case", "Mips", "::", "fixup_Mips_TLSGD", ":", "case", "Mips", "::", "fixup_Mips_TLSLDM", ":", "case", "Mips", "::", "fixup_Mips_TPREL_HI", ":", "case", "Mips", "::", "fixup_Mips_TPREL_LO", ":", "case", "Mips", "::", "fixup_Mips_JALR", ":", "case", "Mips", "::", "fixup_MICROMIPS_CALL16", ":", "case", "Mips", "::", "fixup_MICROMIPS_GOT_DISP", ":", "case", "Mips", "::", "fixup_MICROMIPS_GOT_PAGE", ":", "case", "Mips", "::", "fixup_MICROMIPS_GOT_OFST", ":", "case", "Mips", "::", "fixup_MICROMIPS_GOT16", ":", "case", "Mips", "::", "fixup_MICROMIPS_GOTTPREL", ":", "case", "Mips", "::", "fixup_MICROMIPS_TLS_DTPREL_HI16", ":", "case", "Mips", "::", "fixup_MICROMIPS_TLS_DTPREL_LO16", ":", "case", "Mips", "::", "fixup_MICROMIPS_TLS_GD", ":", "case", "Mips", "::", "fixup_MICROMIPS_TLS_LDM", ":", "case", "Mips", "::", "fixup_MICROMIPS_TLS_TPREL_HI16", ":", "case", "Mips", "::", "fixup_MICROMIPS_TLS_TPREL_LO16", ":", "case", "Mips", "::", "fixup_MICROMIPS_JALR", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Hook", "to", "check", "if", "a", "relocation", "is", "needed", "for", "some", "target", "specific", "reason", "."], "TS_V_token": ["Mips", "Mips", "Mips::fixup_Mips_CALL_HI16", "Mips::fixup_Mips_CALL_LO16", "Mips::fixup_Mips_CALL16", "Mips::fixup_Mips_GOT", "Mips::fixup_Mips_GOT_PAGE", "Mips::fixup_Mips_GOT_OFST", "Mips::fixup_Mips_GOT_DISP", "Mips::fixup_Mips_GOT_HI16", "Mips::fixup_Mips_GOT_LO16", "Mips::fixup_Mips_GOTTPREL", "Mips::fixup_Mips_DTPREL_HI", "Mips::fixup_Mips_DTPREL_LO", "Mips::fixup_Mips_TLSGD", "Mips::fixup_Mips_TLSLDM", "Mips::fixup_Mips_TPREL_HI", "Mips::fixup_Mips_TPREL_LO", "Mips::fixup_Mips_JALR", "Mips::fixup_MICROMIPS_CALL16", "Mips::fixup_MICROMIPS_GOT_DISP", "Mips::fixup_MICROMIPS_GOT_PAGE", "Mips::fixup_MICROMIPS_GOT_OFST", "Mips::fixup_MICROMIPS_GOT16", "Mips::fixup_MICROMIPS_GOTTPREL", "Mips::fixup_MICROMIPS_TLS_DTPREL_HI16", "Mips::fixup_MICROMIPS_TLS_DTPREL_LO16", "Mips::fixup_MICROMIPS_TLS_GD", "Mips::fixup_MICROMIPS_TLS_LDM", "Mips::fixup_MICROMIPS_TLS_TPREL_HI16", "Mips::fixup_MICROMIPS_TLS_TPREL_LO16", "Mips::fixup_MICROMIPS_JALR"], "File": "MipsAsmBackend16", "Func": "shouldForceRelocation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17418, "Length": 196, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "hasLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "const", "MachineMemOperand", "*", "&", "MMO", ",", "int", "&", "FrameIndex", ")", "const", "{", "for", "(", "MachineInstr", "::", "mmo_iterator", "o", "=", "MI", "->", "memoperands_begin", "(", ")", ",", "oe", "=", "MI", "->", "memoperands_end", "(", ")", ";", "o", "!=", "oe", ";", "++", "o", ")", "{", "if", "(", "(", "*", "o", ")", "->", "isLoad", "(", ")", "&&", "(", "*", "o", ")", "->", "getValue", "(", ")", ")", "if", "(", "const", "FixedStackPseudoSourceValue", "*", "Value", "=", "dyn_cast", "<", "const", "FixedStackPseudoSourceValue", ">", "(", "(", "*", "o", ")", "->", "getValue", "(", ")", ")", ")", "{", "FrameIndex", "=", "Value", "->", "getFrameIndex", "(", ")", ";", "MMO", "=", "*", "o", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["If", "the", "specified", "machine", "instruction", "has", "a", "load", "from", "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": ["X86", "X86"], "File": "X86InstrInfo12", "Func": "hasLoadFromStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17419, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "load_got_register", "(", "void", ")", "{", "if", "(", "!", "global_offset_table_rtx", ")", "global_offset_table_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "GLOBAL_OFFSET_TABLE_REGNUM", ")", ";", "if", "(", "TARGET_VXWORKS_RTP", ")", "emit_insn", "(", "gen_vxworks_load_got", "(", ")", ")", ";", "else", "{", "if", "(", "!", "got_helper_rtx", ")", "{", "char", "name", "[", "32", "]", ";", "get_pc_thunk_name", "(", "name", ",", "GLOBAL_OFFSET_TABLE_REGNUM", ")", ";", "got_helper_rtx", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "ggc_strdup", "(", "name", ")", ")", ";", "}", "emit_insn", "(", "gen_load_pcrel_sym", "(", "global_offset_table_rtx", ",", "sparc_got", "(", ")", ",", "got_helper_rtx", ")", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "code", "to", "load", "the", "GOT", "register", "."], "TS_V_token": ["sparc", "32"], "File": "sparc7", "Func": "load_got_register", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17420, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_csky_address_register_rtx_p", "(", "rtx", "x", ",", "int", "strict_p", ")", "{", "int", "regno", ";", "if", "(", "!", "x", ")", "return", "false", ";", "if", "(", "!", "REG_P", "(", "x", ")", ")", "return", "false", ";", "regno", "=", "REGNO", "(", "x", ")", ";", "if", "(", "strict_p", ")", "return", "(", "CSKY_GENERAL_REGNO_P", "(", "regno", ")", "||", "CSKY_GENERAL_REGNO_P", "(", "reg_renumber", "[", "regno", "]", ")", ")", ";", "else", "return", "CSKY_GENERAL_REGNO_P", "(", "regno", ")", "||", "regno", ">=", "FIRST_PSEUDO_REGISTER", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "valid", "as", "an", "CSKY", "addressing", "register", "."], "TS_V_token": ["csky"], "File": "csky", "Func": "is_csky_address_register_rtx_p", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17421, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arm_expand_acle_builtin", "(", "int", "fcode", ",", "tree", "exp", ",", "rtx", "target", ")", "{", "arm_builtin_datum", "*", "d", "=", "&", "acle_builtin_data", "[", "fcode", "-", "ARM_BUILTIN_ACLE_PATTERN_START", "]", ";", "return", "arm_expand_builtin_1", "(", "fcode", ",", "exp", ",", "target", ",", "d", ")", ";", "}", ""], "natrual_language": ["Expand", "an", "ACLE", "builtin", ",", "i.e", ".", "those", "registered", "only", "if", "their", "respective", "target", "constraints", "are", "met", ".", "This", "check", "happens", "within", "arm_expand_builtin_args", "."], "TS_V_token": ["arm"], "File": "arm-builtins4", "Func": "arm_expand_acle_builtin", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17422, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_move_imm", "(", "HOST_WIDE_INT", "val", ",", "machine_mode", "mode", ")", "{", "if", "(", "aarch64_movw_imm", "(", "val", ",", "mode", ")", "||", "aarch64_movw_imm", "(", "~", "val", ",", "mode", ")", ")", "return", "1", ";", "return", "aarch64_bitmask_imm", "(", "val", ",", "mode", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "val", "is", "an", "immediate", "that", "can", "be", "loaded", "into", "a", "register", "in", "a", "single", "instruction", "."], "TS_V_token": ["aarch64", "1"], "File": "aarch642", "Func": "aarch64_move_imm", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17423, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_asm_output_dwarf_pcrel", "(", "FILE", "*", "file", ",", "int", "size", ",", "const", "char", "*", "label", ")", "{", "fputs", "(", "integer_asm_op", "(", "size", ",", "FALSE", ")", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "label", ")", ";", "fputs", "(", "\"-$\"", ",", "file", ")", ";", "}", ""], "natrual_language": ["Overide", "the", "default", "'SYMBOL-", ".", "'", "syntax", "with", "AIX", "compatible", "'SYMBOL-", "$", "'", "."], "TS_V_token": ["rs6000", "\"-$\""], "File": "rs6000", "Func": "rs6000_asm_output_dwarf_pcrel", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17424, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAIXAsmPrinter", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "const", "bool", "Result", "=", "PPCAsmPrinter", "::", "doInitialization", "(", "M", ")", ";", "auto", "setCsectAlignment", "=", "[", "this", "]", "(", "const", "GlobalObject", "*", "GO", ")", "{", "if", "(", "GO", "->", "isDeclarationForLinker", "(", ")", ")", "return", ";", "SectionKind", "GOKind", "=", "getObjFileLowering", "(", ")", ".", "getKindForGlobal", "(", "GO", ",", "TM", ")", ";", "MCSectionXCOFF", "*", "Csect", "=", "cast", "<", "MCSectionXCOFF", ">", "(", "getObjFileLowering", "(", ")", ".", "SectionForGlobal", "(", "GO", ",", "GOKind", ",", "TM", ")", ")", ";", "Align", "GOAlign", "=", "getGVAlignment", "(", "GO", ",", "GO", "->", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ")", ";", "if", "(", "GOAlign", ">", "Csect", "->", "getAlignment", "(", ")", ")", "Csect", "->", "setAlignment", "(", "GOAlign", ")", ";", "}", ";", "for", "(", "const", "auto", "&", "G", ":", "M", ".", "globals", "(", ")", ")", "{", "if", "(", "isSpecialLLVMGlobalArrayToSkip", "(", "&", "G", ")", ")", "continue", ";", "if", "(", "isSpecialLLVMGlobalArrayForStaticInit", "(", "&", "G", ")", ")", "{", "if", "(", "FormatIndicatorAndUniqueModId", ".", "empty", "(", ")", ")", "{", "std", "::", "string", "UniqueModuleId", "=", "getUniqueModuleId", "(", "&", "M", ")", ";", "if", "(", "UniqueModuleId", ".", "compare", "(", "\"\"", ")", "!=", "0", ")", "FormatIndicatorAndUniqueModId", "=", "\"clang_\"", "+", "UniqueModuleId", ".", "substr", "(", "1", ")", ";", "else", "FormatIndicatorAndUniqueModId", "=", "\"clangPidTime_\"", "+", "llvm", "::", "itostr", "(", "sys", "::", "Process", "::", "getProcessId", "(", ")", ")", "+", "\"_\"", "+", "llvm", "::", "itostr", "(", "time", "(", "nullptr", ")", ")", ";", "}", "emitSpecialLLVMGlobal", "(", "&", "G", ")", ";", "continue", ";", "}", "setCsectAlignment", "(", "&", "G", ")", ";", "}", "for", "(", "const", "auto", "&", "F", ":", "M", ")", "setCsectAlignment", "(", "&", "F", ")", ";", "for", "(", "const", "auto", "&", "Alias", ":", "M", ".", "aliases", "(", ")", ")", "{", "const", "GlobalObject", "*", "Base", "=", "Alias", ".", "getBaseObject", "(", ")", ";", "if", "(", "!", "Base", ")", "report_fatal_error", "(", "\"alias without a base object is not yet supported on AIX\"", ")", ";", "GOAliasMap", "[", "Base", "]", ".", "push_back", "(", "&", "Alias", ")", ";", "}", "return", "Result", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "\"\"", "0", "\"clang_\"", "1", "\"clangPidTime_\"", "\"_\"", "\"alias without a base object is not yet supported on AIX\""], "File": "PPCAsmPrinter10", "Func": "doInitialization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17425, "Length": 306, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips16_split_long_branches", "(", "void", ")", "{", "bool", "something_changed", ";", "if", "(", "!", "TARGET_MIPS16", ")", "return", ";", "do", "{", "rtx_insn", "*", "insn", ";", "rtx_jump_insn", "*", "jump_insn", ";", "shorten_branches", "(", "get_insns", "(", ")", ")", ";", "something_changed", "=", "false", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "if", "(", "(", "jump_insn", "=", "dyn_cast", "<", "rtx_jump_insn", "*", ">", "(", "insn", ")", ")", "&&", "get_attr_length", "(", "jump_insn", ")", ">", "4", "&&", "(", "any_condjump_p", "(", "jump_insn", ")", "||", "any_uncondjump_p", "(", "jump_insn", ")", ")", ")", "{", "rtx", "old_label", ",", "temp", ",", "saved_temp", ";", "rtx_code_label", "*", "new_label", ";", "rtx", "target", ";", "rtx_insn", "*", "jump", ",", "*", "jump_sequence", ";", "start_sequence", "(", ")", ";", "saved_temp", "=", "gen_rtx_REG", "(", "Pmode", ",", "AT_REGNUM", ")", ";", "temp", "=", "gen_rtx_REG", "(", "Pmode", ",", "GP_REG_FIRST", "+", "2", ")", ";", "emit_move_insn", "(", "saved_temp", ",", "temp", ")", ";", "old_label", "=", "JUMP_LABEL", "(", "jump_insn", ")", ";", "target", "=", "gen_rtx_LABEL_REF", "(", "Pmode", ",", "old_label", ")", ";", "mips16_load_branch_target", "(", "temp", ",", "target", ")", ";", "jump", "=", "emit_jump_insn", "(", "PMODE_INSN", "(", "gen_indirect_jump_and_restore", ",", "(", "temp", ",", "temp", ",", "saved_temp", ")", ")", ")", ";", "JUMP_LABEL", "(", "jump", ")", "=", "old_label", ";", "LABEL_NUSES", "(", "old_label", ")", "++", ";", "mips16_lay_out_constants", "(", "false", ")", ";", "if", "(", "simplejump_p", "(", "jump_insn", ")", ")", "new_label", "=", "NULL", ";", "else", "{", "new_label", "=", "gen_label_rtx", "(", ")", ";", "emit_label", "(", "new_label", ")", ";", "}", "jump_sequence", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "emit_insn_after", "(", "jump_sequence", ",", "jump_insn", ")", ";", "if", "(", "new_label", ")", "invert_jump", "(", "jump_insn", ",", "new_label", ",", "false", ")", ";", "else", "delete_insn", "(", "jump_insn", ")", ";", "something_changed", "=", "true", ";", "}", "}", "while", "(", "something_changed", ")", ";", "}", ""], "natrual_language": ["If", "we", "'re", "compiling", "a", "MIPS16", "function", ",", "look", "for", "and", "split", "any", "long", "branches", ".", "This", "must", "be", "called", "after", "all", "other", "instruction", "modifications", "in", "mips_reorg", "."], "TS_V_token": ["mips", "4", "2"], "File": "mips", "Func": "mips16_split_long_branches", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17426, "Length": 274, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "useFPForScavengingIndex", "(", "const", "MachineFunction", "&", "MF", ")", "const", "override", "{", "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": ["CSKY"], "File": "CSKYRegisterInfo1", "Func": "useFPForScavengingIndex", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17427, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "ARMTargetStreamer", "::", "addConstantPoolEntry", "(", "const", "MCExpr", "*", "Expr", ")", "{", "return", "ConstantPools", "->", "addEntry", "(", "Streamer", ",", "Expr", ",", "4", ")", ";", "}", ""], "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": ["ARM", "ARM", "4"], "File": "ARMTargetStreamer20", "Func": "addConstantPoolEntry", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17428, "Length": 26, "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": 17429, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_asm_output_labelref", "(", "FILE", "*", "stream", ",", "const", "char", "*", "name", ")", "{", "int", "skip", ";", "int", "verbatim", "=", "0", ";", "while", "(", "(", "skip", "=", "arm_get_strip_length", "(", "*", "name", ")", ")", ")", "{", "verbatim", "|=", "(", "*", "name", "==", "'*'", ")", ";", "name", "+=", "skip", ";", "}", "if", "(", "verbatim", ")", "fputs", "(", "name", ",", "stream", ")", ";", "else", "asm_fprintf", "(", "stream", ",", "\"%U%s\"", ",", "name", ")", ";", "}", ""], "natrual_language": ["If", "there", "is", "a", "'", "*", "'", "anywhere", "in", "the", "name", "'s", "prefix", ",", "then", "emit", "the", "stripped", "name", "verbatim", ",", "otherwise", "prepend", "an", "underscore", "if", "leading", "underscores", "are", "being", "used", "."], "TS_V_token": ["arm", "0", "\"%U%s\""], "File": "arm", "Func": "arm_asm_output_labelref", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17430, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getExceptionPointerRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "override", "{", "return", "SystemZ", "::", "R6D", ";", "}", ""], "natrual_language": ["If", "a", "physical", "register", ",", "this", "returns", "the", "register", "that", "receives", "the", "exception", "address", "on", "entry", "to", "an", "EH", "pad", "."], "TS_V_token": ["SystemZ", "SystemZ::R6D"], "File": "SystemZISelLowering (2)", "Func": "getExceptionPointerRegister", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17431, "Length": 17, "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", ")", ";", "case", "TargetOpcode", "::", "G_LOAD", ":", "case", "TargetOpcode", "::", "G_STORE", ":", "return", "legalizeLoadStore", "(", "MI", ",", "MRI", ",", "MIRBuilder", ",", "Observer", ")", ";", "}", "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": "AArch64LegalizerInfo25", "Func": "legalizeCustom", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17432, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0FrameLowering", "::", "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": ["Cpu0", "Cpu0"], "File": "Cpu0FrameLowering1", "Func": "hasFP", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17433, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_binop", "(", "enum", "rtx_code", "code", ",", "machine_mode", "mode", ",", "rtx", "dst", ",", "rtx", "src", ")", "{", "rtx", "op", ",", "clob", ";", "op", "=", "gen_rtx_SET", "(", "dst", ",", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "dst", ",", "src", ")", ")", ";", "clob", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "CCmode", ",", "FLAGS_REG", ")", ")", ";", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "op", ",", "clob", ")", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "x86", "binary", "operand", "CODE", "in", "mode", "MODE", ",", "where", "the", "first", "operand", "matches", "destination", ".", "RTX", "includes", "clobber", "of", "FLAGS_REG", "."], "TS_V_token": ["i386", "2"], "File": "i3865", "Func": "ix86_emit_binop", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17434, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "*", "ARMBaseInstrInfo", "::", "CreateTargetPostRAHazardRecognizer", "(", "const", "InstrItineraryData", "*", "II", ",", "const", "ScheduleDAG", "*", "DAG", ")", "const", "{", "if", "(", "Subtarget", ".", "isThumb2", "(", ")", "||", "Subtarget", ".", "hasVFP2Base", "(", ")", ")", "return", "(", "ScheduleHazardRecognizer", "*", ")", "new", "ARMHazardRecognizer", "(", "II", ",", "DAG", ")", ";", "return", "TargetInstrInfo", "::", "CreateTargetPostRAHazardRecognizer", "(", "II", ",", "DAG", ")", ";", "}", ""], "natrual_language": ["Allocate", "and", "return", "a", "hazard", "recognizer", "to", "use", "for", "by", "non-scheduling", "passes", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMBaseInstrInfo10", "Func": "CreateTargetPostRAHazardRecognizer", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17435, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", "PPCInstrInfo", "::", "decomposeMachineOperandsTargetFlags", "(", "unsigned", "TF", ")", "const", "{", "const", "unsigned", "Mask", "=", "PPCII", "::", "MO_ACCESS_MASK", ";", "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": ["PowerPC", "PPC", "PPCII::MO_ACCESS_MASK"], "File": "PPCInstrInfo (2)2", "Func": "decomposeMachineOperandsTargetFlags", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17436, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "getTgtMemIntrinsic", "(", "IntrinsicInfo", "&", "Info", ",", "const", "CallInst", "&", "I", ",", "unsigned", "Intrinsic", ")", "const", "{", "switch", "(", "Intrinsic", ")", "{", "case", "Intrinsic", "::", "arm_neon_vld1", ":", "case", "Intrinsic", "::", "arm_neon_vld2", ":", "case", "Intrinsic", "::", "arm_neon_vld3", ":", "case", "Intrinsic", "::", "arm_neon_vld4", ":", "{", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_W_CHAIN", ";", "uint64_t", "NumElts", "=", "getDataLayout", "(", ")", "->", "getTypeAllocSize", "(", "I", ".", "getType", "(", ")", ")", "/", "8", ";", "Info", ".", "memVT", "=", "EVT", "::", "getVectorVT", "(", "I", ".", "getType", "(", ")", "->", "getContext", "(", ")", ",", "MVT", "::", "i64", ",", "NumElts", ")", ";", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "0", ")", ";", "Info", ".", "offset", "=", "0", ";", "Value", "*", "AlignArg", "=", "I", ".", "getArgOperand", "(", "I", ".", "getNumArgOperands", "(", ")", "-", "1", ")", ";", "Info", ".", "align", "=", "cast", "<", "ConstantInt", ">", "(", "AlignArg", ")", "->", "getZExtValue", "(", ")", ";", "Info", ".", "vol", "=", "false", ";", "Info", ".", "readMem", "=", "true", ";", "Info", ".", "writeMem", "=", "false", ";", "return", "true", ";", "}", "case", "Intrinsic", "::", "arm_neon_vst1", ":", "case", "Intrinsic", "::", "arm_neon_vst2", ":", "case", "Intrinsic", "::", "arm_neon_vst3", ":", "case", "Intrinsic", "::", "arm_neon_vst4", ":", "{", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_VOID", ";", "unsigned", "NumElts", "=", "0", ";", "for", "(", "unsigned", "ArgI", "=", "1", ",", "ArgE", "=", "I", ".", "getNumArgOperands", "(", ")", ";", "ArgI", "<", "ArgE", ";", "++", "ArgI", ")", "{", "Type", "*", "ArgTy", "=", "I", ".", "getArgOperand", "(", "ArgI", ")", "->", "getType", "(", ")", ";", "if", "(", "!", "ArgTy", "->", "isVectorTy", "(", ")", ")", "break", ";", "NumElts", "+=", "getDataLayout", "(", ")", "->", "getTypeAllocSize", "(", "ArgTy", ")", "/", "8", ";", "}", "Info", ".", "memVT", "=", "EVT", "::", "getVectorVT", "(", "I", ".", "getType", "(", ")", "->", "getContext", "(", ")", ",", "MVT", "::", "i64", ",", "NumElts", ")", ";", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "0", ")", ";", "Info", ".", "offset", "=", "0", ";", "Value", "*", "AlignArg", "=", "I", ".", "getArgOperand", "(", "I", ".", "getNumArgOperands", "(", ")", "-", "1", ")", ";", "Info", ".", "align", "=", "cast", "<", "ConstantInt", ">", "(", "AlignArg", ")", "->", "getZExtValue", "(", ")", ";", "Info", ".", "vol", "=", "false", ";", "Info", ".", "readMem", "=", "false", ";", "Info", ".", "writeMem", "=", "true", ";", "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": ["AArch64", "AArch64", "Intrinsic::arm_neon_vld1", "Intrinsic::arm_neon_vld2", "Intrinsic::arm_neon_vld3", "Intrinsic::arm_neon_vld4", "ISD::INTRINSIC_W_CHAIN", "8", "MVT::i64", "0", "0", "1", "Intrinsic::arm_neon_vst1", "Intrinsic::arm_neon_vst2", "Intrinsic::arm_neon_vst3", "Intrinsic::arm_neon_vst4", "ISD::INTRINSIC_VOID", "0", "1", "8", "MVT::i64", "0", "0", "1"], "File": "AArch64ISelLowering113", "Func": "getTgtMemIntrinsic", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17437, "Length": 371, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1InstrInfo", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "ARM", "::", "tPUSH", ")", ")", ";", "AddDefaultPred", "(", "MIB", ")", ";", "MIB", ".", "addReg", "(", "0", ")", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "MIB", ".", "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": ["ARM", "ARM::tPUSH", "0", "0", "1"], "File": "Thumb1InstrInfo22", "Func": "spillCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17438, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_simd_expand_builtin", "(", "int", "fcode", ",", "tree", "exp", ",", "rtx", "target", ")", "{", "if", "(", "fcode", "==", "AARCH64_SIMD_BUILTIN_LANE_CHECK", ")", "{", "rtx", "totalsize", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ")", ";", "rtx", "elementsize", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "1", ")", ")", ";", "if", "(", "CONST_INT_P", "(", "totalsize", ")", "&&", "CONST_INT_P", "(", "elementsize", ")", "&&", "UINTVAL", "(", "elementsize", ")", "!=", "0", "&&", "UINTVAL", "(", "totalsize", ")", "!=", "0", ")", "{", "rtx", "lane_idx", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "2", ")", ")", ";", "if", "(", "CONST_INT_P", "(", "lane_idx", ")", ")", "aarch64_simd_lane_bounds", "(", "lane_idx", ",", "0", ",", "UINTVAL", "(", "totalsize", ")", "/", "UINTVAL", "(", "elementsize", ")", ",", "exp", ")", ";", "else", "error", "(", "\"%Klane index must be a constant immediate\"", ",", "exp", ")", ";", "}", "else", "error", "(", "\"%Ktotal size and element size must be a non-zero constant immediate\"", ",", "exp", ")", ";", "return", "const0_rtx", ";", "}", "aarch64_simd_builtin_datum", "*", "d", "=", "&", "aarch64_simd_builtin_data", "[", "fcode", "-", "AARCH64_SIMD_PATTERN_START", "]", ";", "enum", "insn_code", "icode", "=", "d", "->", "code", ";", "builtin_simd_arg", "args", "[", "SIMD_MAX_BUILTIN_ARGS", "+", "1", "]", ";", "int", "num_args", "=", "insn_data", "[", "d", "->", "code", "]", ".", "n_operands", ";", "int", "is_void", "=", "0", ";", "int", "k", ";", "is_void", "=", "!", "!", "(", "d", "->", "qualifiers", "[", "0", "]", "&", "qualifier_void", ")", ";", "num_args", "+=", "is_void", ";", "for", "(", "k", "=", "1", ";", "k", "<", "num_args", ";", "k", "++", ")", "{", "int", "qualifiers_k", "=", "k", ";", "int", "operands_k", "=", "k", "-", "is_void", ";", "int", "expr_args_k", "=", "k", "-", "1", ";", "if", "(", "d", "->", "qualifiers", "[", "qualifiers_k", "]", "&", "qualifier_lane_index", ")", "args", "[", "k", "]", "=", "SIMD_ARG_LANE_INDEX", ";", "else", "if", "(", "d", "->", "qualifiers", "[", "qualifiers_k", "]", "&", "qualifier_struct_load_store_lane_index", ")", "args", "[", "k", "]", "=", "SIMD_ARG_STRUCT_LOAD_STORE_LANE_INDEX", ";", "else", "if", "(", "d", "->", "qualifiers", "[", "qualifiers_k", "]", "&", "qualifier_immediate", ")", "args", "[", "k", "]", "=", "SIMD_ARG_CONSTANT", ";", "else", "if", "(", "d", "->", "qualifiers", "[", "qualifiers_k", "]", "&", "qualifier_maybe_immediate", ")", "{", "rtx", "arg", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "(", "expr_args_k", ")", ")", ")", ";", "bool", "op_const_int_p", "=", "(", "CONST_INT_P", "(", "arg", ")", "&&", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "operands_k", "]", ".", "predicate", ")", "(", "arg", ",", "insn_data", "[", "icode", "]", ".", "operand", "[", "operands_k", "]", ".", "mode", ")", ")", ";", "args", "[", "k", "]", "=", "op_const_int_p", "?", "SIMD_ARG_CONSTANT", ":", "SIMD_ARG_COPY_TO_REG", ";", "}", "else", "args", "[", "k", "]", "=", "SIMD_ARG_COPY_TO_REG", ";", "}", "args", "[", "k", "]", "=", "SIMD_ARG_STOP", ";", "return", "aarch64_simd_expand_args", "(", "target", ",", "icode", ",", "!", "is_void", ",", "exp", ",", "&", "args", "[", "1", "]", ",", "d", "->", "mode", ")", ";", "}", ""], "natrual_language": ["Expand", "an", "AArch64", "AdvSIMD", "builtin", "(", "intrinsic", ")", "."], "TS_V_token": ["aarch64", "0", "1", "0", "0", "2", "0", "\"%Klane index must be a constant immediate\"", "\"%Ktotal size and element size must be a non-zero constant immediate\"", "1", "0", "0", "1", "1", "1"], "File": "aarch64-builtins3", "Func": "aarch64_simd_expand_builtin", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17439, "Length": 409, "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": 17440, "Length": 11, "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": 17441, "Length": 349, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "altivec_expand_vec_perm_le", "(", "rtx", "operands", "[", "4", "]", ")", "{", "rtx", "notx", ",", "iorx", ",", "unspec", ";", "rtx", "target", "=", "operands", "[", "0", "]", ";", "rtx", "op0", "=", "operands", "[", "1", "]", ";", "rtx", "op1", "=", "operands", "[", "2", "]", ";", "rtx", "sel", "=", "operands", "[", "3", "]", ";", "rtx", "tmp", "=", "target", ";", "rtx", "norreg", "=", "gen_reg_rtx", "(", "V16QImode", ")", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "target", ")", ";", "if", "(", "!", "REG_P", "(", "op0", ")", ")", "op0", "=", "force_reg", "(", "mode", ",", "op0", ")", ";", "if", "(", "!", "REG_P", "(", "op1", ")", ")", "op1", "=", "force_reg", "(", "mode", ",", "op1", ")", ";", "if", "(", "!", "REG_P", "(", "sel", ")", ")", "sel", "=", "force_reg", "(", "V16QImode", ",", "sel", ")", ";", "if", "(", "!", "REG_P", "(", "target", ")", ")", "tmp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "if", "(", "TARGET_P9_VECTOR", ")", "{", "unspec", "=", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "3", ",", "op0", ",", "op1", ",", "sel", ")", ",", "UNSPEC_VPERMR", ")", ";", "}", "else", "{", "notx", "=", "gen_rtx_NOT", "(", "V16QImode", ",", "sel", ")", ";", "iorx", "=", "(", "TARGET_P8_VECTOR", "?", "gen_rtx_IOR", "(", "V16QImode", ",", "notx", ",", "notx", ")", ":", "gen_rtx_AND", "(", "V16QImode", ",", "notx", ",", "notx", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "norreg", ",", "iorx", ")", ")", ";", "unspec", "=", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "3", ",", "op1", ",", "op0", ",", "norreg", ")", ",", "UNSPEC_VPERM", ")", ";", "}", "if", "(", "!", "REG_P", "(", "target", ")", ")", "{", "emit_move_insn", "(", "tmp", ",", "unspec", ")", ";", "unspec", "=", "tmp", ";", "}", "emit_move_insn", "(", "target", ",", "unspec", ")", ";", "}", ""], "natrual_language": ["Similarly", "to", "altivec_expand_vec_perm_const_le", ",", "we", "must", "adjust", "the", "permute", "control", "vector", ".", "But", "here", "it", "'s", "not", "a", "constant", ",", "so", "we", "must", "generate", "a", "vector", "NAND", "or", "NOR", "to", "do", "the", "adjustment", "."], "TS_V_token": ["rs6000", "4", "0", "1", "2", "3", "3", "3"], "File": "rs60006", "Func": "altivec_expand_vec_perm_le", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17442, "Length": 257, "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": 17443, "Length": 414, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "FISCRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["FISC", "FISC"], "File": "FISCInstrInfo", "Func": "getRegisterInfo", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17444, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "getRegisterName", "(", "RegNo", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCInstPrinter1", "Func": "printRegName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17445, "Length": 22, "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": 17446, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "PPCRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AnyReg", ")", "{", "if", "(", "!", "TM", ".", "isPPC64", "(", ")", "&&", "Subtarget", ".", "isAIXABI", "(", ")", ")", "report_fatal_error", "(", "\"AnyReg unimplemented on 32-bit AIX.\"", ")", ";", "if", "(", "Subtarget", ".", "hasVSX", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "pairedVectorMemops", "(", ")", ")", "return", "CSR_64_AllRegs_VSRP_SaveList", ";", "if", "(", "Subtarget", ".", "isAIXABI", "(", ")", "&&", "!", "TM", ".", "getAIXExtendedAltivecABI", "(", ")", ")", "return", "CSR_64_AllRegs_AIX_Dflt_VSX_SaveList", ";", "return", "CSR_64_AllRegs_VSX_SaveList", ";", "}", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "isAIXABI", "(", ")", "&&", "!", "TM", ".", "getAIXExtendedAltivecABI", "(", ")", ")", "return", "CSR_64_AllRegs_AIX_Dflt_Altivec_SaveList", ";", "return", "CSR_64_AllRegs_Altivec_SaveList", ";", "}", "return", "CSR_64_AllRegs_SaveList", ";", "}", "bool", "SaveR2", "=", "MF", "->", "getRegInfo", "(", ")", ".", "isAllocatable", "(", "PPC", "::", "X2", ")", "&&", "!", "Subtarget", ".", "isUsingPCRelativeCalls", "(", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "Cold", ")", "{", "if", "(", "Subtarget", ".", "isAIXABI", "(", ")", ")", "report_fatal_error", "(", "\"Cold calling unimplemented on AIX.\"", ")", ";", "if", "(", "TM", ".", "isPPC64", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "pairedVectorMemops", "(", ")", ")", "return", "SaveR2", "?", "CSR_SVR64_ColdCC_R2_VSRP_SaveList", ":", "CSR_SVR64_ColdCC_VSRP_SaveList", ";", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "SaveR2", "?", "CSR_SVR64_ColdCC_R2_Altivec_SaveList", ":", "CSR_SVR64_ColdCC_Altivec_SaveList", ";", "return", "SaveR2", "?", "CSR_SVR64_ColdCC_R2_SaveList", ":", "CSR_SVR64_ColdCC_SaveList", ";", "}", "if", "(", "Subtarget", ".", "pairedVectorMemops", "(", ")", ")", "return", "CSR_SVR32_ColdCC_VSRP_SaveList", ";", "else", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "CSR_SVR32_ColdCC_Altivec_SaveList", ";", "else", "if", "(", "Subtarget", ".", "hasSPE", "(", ")", ")", "return", "CSR_SVR32_ColdCC_SPE_SaveList", ";", "return", "CSR_SVR32_ColdCC_SaveList", ";", "}", "if", "(", "TM", ".", "isPPC64", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "pairedVectorMemops", "(", ")", ")", "return", "SaveR2", "?", "CSR_SVR464_R2_VSRP_SaveList", ":", "CSR_SVR464_VSRP_SaveList", ";", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", "&&", "(", "!", "Subtarget", ".", "isAIXABI", "(", ")", "||", "TM", ".", "getAIXExtendedAltivecABI", "(", ")", ")", ")", "{", "return", "SaveR2", "?", "CSR_PPC64_R2_Altivec_SaveList", ":", "CSR_PPC64_Altivec_SaveList", ";", "}", "return", "SaveR2", "?", "CSR_PPC64_R2_SaveList", ":", "CSR_PPC64_SaveList", ";", "}", "if", "(", "Subtarget", ".", "isAIXABI", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "TM", ".", "getAIXExtendedAltivecABI", "(", ")", "?", "CSR_AIX32_Altivec_SaveList", ":", "CSR_AIX32_SaveList", ";", "return", "CSR_AIX32_SaveList", ";", "}", "if", "(", "Subtarget", ".", "pairedVectorMemops", "(", ")", ")", "return", "CSR_SVR432_VSRP_SaveList", ";", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "CSR_SVR432_Altivec_SaveList", ";", "else", "if", "(", "Subtarget", ".", "hasSPE", "(", ")", ")", "return", "CSR_SVR432_SPE_SaveList", ";", "return", "CSR_SVR432_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "\"AnyReg unimplemented on 32-bit AIX.\"", "PPC::X2", "\"Cold calling unimplemented on AIX.\"", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC"], "File": "PPCRegisterInfo (2)3", "Func": "getCalleeSavedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17447, "Length": 415, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_vectorize_vec_perm_const_ok", "(", "machine_mode", "vmode", ",", "const", "unsigned", "char", "*", "sel", ")", "{", "if", "(", "TARGET_ALTIVEC", ")", "return", "true", ";", "if", "(", "(", "TARGET_PAIRED_FLOAT", "&&", "vmode", "==", "V2SFmode", ")", "||", "(", "TARGET_SPE", "&&", "vmode", "==", "V2SImode", ")", ")", "{", "rtx", "op0", "=", "gen_raw_REG", "(", "vmode", ",", "LAST_VIRTUAL_REGISTER", "+", "1", ")", ";", "rtx", "op1", "=", "gen_raw_REG", "(", "vmode", ",", "LAST_VIRTUAL_REGISTER", "+", "2", ")", ";", "return", "rs6000_expand_vec_perm_const_1", "(", "NULL", ",", "op0", ",", "op1", ",", "sel", "[", "0", "]", ",", "sel", "[", "1", "]", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Test", "whether", "a", "constant", "permutation", "is", "supported", "."], "TS_V_token": ["rs6000", "1", "2", "0", "1"], "File": "rs60004", "Func": "rs6000_vectorize_vec_perm_const_ok", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17448, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isUsedByReturnOnly", "(", "SDNode", "*", "N", ")", "const", "{", "if", "(", "N", "->", "getNumValues", "(", ")", "!=", "1", ")", "return", "false", ";", "if", "(", "!", "N", "->", "hasNUsesOfValue", "(", "1", ",", "0", ")", ")", "return", "false", ";", "SDNode", "*", "Copy", "=", "*", "N", "->", "use_begin", "(", ")", ";", "if", "(", "Copy", "->", "getOpcode", "(", ")", "==", "ISD", "::", "CopyToReg", ")", "{", "if", "(", "Copy", "->", "getOperand", "(", "Copy", "->", "getNumOperands", "(", ")", "-", "1", ")", ".", "getValueType", "(", ")", "==", "MVT", "::", "Glue", ")", "return", "false", ";", "}", "else", "if", "(", "Copy", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "return", "false", ";", "bool", "HasRet", "=", "false", ";", "for", "(", "SDNode", "::", "use_iterator", "UI", "=", "Copy", "->", "use_begin", "(", ")", ",", "UE", "=", "Copy", "->", "use_end", "(", ")", ";", "UI", "!=", "UE", ";", "++", "UI", ")", "{", "if", "(", "UI", "->", "getOpcode", "(", ")", "!=", "X86ISD", "::", "RET_FLAG", ")", "return", "false", ";", "HasRet", "=", "true", ";", "}", "return", "HasRet", ";", "}", ""], "natrual_language": ["Return", "true", "if", "result", "of", "the", "specified", "node", "is", "used", "by", "a", "return", "node", "only", "."], "TS_V_token": ["X86", "X86", "1", "1", "0", "ISD::CopyToReg", "1", "MVT::Glue", "ISD::FP_EXTEND", "X86ISD::RET_FLAG"], "File": "X86ISelLowering114", "Func": "isUsedByReturnOnly", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17449, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMIndirectThunks", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "getPassName", "(", ")", "<<", "'\\n'", ")", ";", "auto", "&", "MMI", "=", "getAnalysis", "<", "MachineModuleInfoWrapperPass", ">", "(", ")", ".", "getMMI", "(", ")", ";", "return", "runTIs", "(", "MMI", ",", "MF", ",", "TIs", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMSLSHardening", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17450, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16FrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "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": ["Mips", "Mips"], "File": "Mips16FrameLowering18", "Func": "restoreCalleeSavedRegisters", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17451, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CAHPFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "&", "CAHP", "::", "GPRRegClass", ";", "if", "(", "!", "isInt", "<", "9", ">", "(", "MFI", ".", "estimateStackSize", "(", "MF", ")", ")", ")", "{", "int", "RegScavFI", "=", "MFI", ".", "CreateStackObject", "(", "RegInfo", "->", "getSpillSize", "(", "*", "RC", ")", ",", "RegInfo", "->", "getSpillAlignment", "(", "*", "RC", ")", ",", "false", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "RegScavFI", ")", ";", "}", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["CAHP", "CAHP", "CAHP::GPRRegClass", "9"], "File": "CAHPFrameLowering", "Func": "processFunctionBeforeFrameFinalized", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17452, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_emit_probe_stack_range", "(", "HOST_WIDE_INT", "first", ",", "HOST_WIDE_INT", "size", ")", "{", "rtx", "reg1", "=", "gen_rtx_REG", "(", "ptr_mode", ",", "PROBE_STACK_FIRST_REG", ")", ";", "gcc_assert", "(", "(", "first", "%", "ARITH_FACTOR", ")", "==", "0", ")", ";", "if", "(", "size", "<=", "PROBE_INTERVAL", ")", "{", "const", "HOST_WIDE_INT", "base", "=", "ROUND_UP", "(", "size", ",", "ARITH_FACTOR", ")", ";", "emit_set_insn", "(", "reg1", ",", "plus_constant", "(", "ptr_mode", ",", "stack_pointer_rtx", ",", "-", "(", "first", "+", "base", ")", ")", ")", ";", "emit_stack_probe", "(", "plus_constant", "(", "ptr_mode", ",", "reg1", ",", "base", "-", "size", ")", ")", ";", "}", "else", "if", "(", "size", "<=", "4", "*", "PROBE_INTERVAL", ")", "{", "HOST_WIDE_INT", "i", ",", "rem", ";", "emit_set_insn", "(", "reg1", ",", "plus_constant", "(", "ptr_mode", ",", "stack_pointer_rtx", ",", "-", "(", "first", "+", "PROBE_INTERVAL", ")", ")", ")", ";", "emit_stack_probe", "(", "reg1", ")", ";", "for", "(", "i", "=", "2", "*", "PROBE_INTERVAL", ";", "i", "<", "size", ";", "i", "+=", "PROBE_INTERVAL", ")", "{", "emit_set_insn", "(", "reg1", ",", "plus_constant", "(", "ptr_mode", ",", "reg1", ",", "-", "PROBE_INTERVAL", ")", ")", ";", "emit_stack_probe", "(", "reg1", ")", ";", "}", "rem", "=", "size", "-", "(", "i", "-", "PROBE_INTERVAL", ")", ";", "if", "(", "rem", ">", "256", ")", "{", "const", "HOST_WIDE_INT", "base", "=", "ROUND_UP", "(", "rem", ",", "ARITH_FACTOR", ")", ";", "emit_set_insn", "(", "reg1", ",", "plus_constant", "(", "ptr_mode", ",", "reg1", ",", "-", "base", ")", ")", ";", "emit_stack_probe", "(", "plus_constant", "(", "ptr_mode", ",", "reg1", ",", "base", "-", "rem", ")", ")", ";", "}", "else", "emit_stack_probe", "(", "plus_constant", "(", "ptr_mode", ",", "reg1", ",", "-", "rem", ")", ")", ";", "}", "else", "{", "rtx", "reg2", "=", "gen_rtx_REG", "(", "ptr_mode", ",", "PROBE_STACK_SECOND_REG", ")", ";", "HOST_WIDE_INT", "rounded_size", "=", "size", "&", "-", "PROBE_INTERVAL", ";", "emit_set_insn", "(", "reg1", ",", "plus_constant", "(", "ptr_mode", ",", "stack_pointer_rtx", ",", "-", "first", ")", ")", ";", "emit_set_insn", "(", "reg2", ",", "plus_constant", "(", "ptr_mode", ",", "stack_pointer_rtx", ",", "-", "(", "first", "+", "rounded_size", ")", ")", ")", ";", "if", "(", "ptr_mode", "==", "DImode", ")", "emit_insn", "(", "gen_probe_stack_range_di", "(", "reg1", ",", "reg1", ",", "reg2", ")", ")", ";", "else", "emit_insn", "(", "gen_probe_stack_range_si", "(", "reg1", ",", "reg1", ",", "reg2", ")", ")", ";", "if", "(", "size", "!=", "rounded_size", ")", "{", "HOST_WIDE_INT", "rem", "=", "size", "-", "rounded_size", ";", "if", "(", "rem", ">", "256", ")", "{", "const", "HOST_WIDE_INT", "base", "=", "ROUND_UP", "(", "rem", ",", "ARITH_FACTOR", ")", ";", "emit_set_insn", "(", "reg2", ",", "plus_constant", "(", "ptr_mode", ",", "reg2", ",", "-", "base", ")", ")", ";", "emit_stack_probe", "(", "plus_constant", "(", "ptr_mode", ",", "reg2", ",", "base", "-", "rem", ")", ")", ";", "}", "else", "emit_stack_probe", "(", "plus_constant", "(", "ptr_mode", ",", "reg2", ",", "-", "rem", ")", ")", ";", "}", "}", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "probe", "a", "range", "of", "stack", "addresses", "from", "FIRST", "to", "FIRST+SIZE", ",", "inclusive", ".", "These", "are", "offsets", "from", "the", "current", "stack", "pointer", "."], "TS_V_token": ["aarch64", "0", "4", "2", "256", "256"], "File": "aarch643", "Func": "aarch64_emit_probe_stack_range", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17453, "Length": 405, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "get_next_important_insn", "(", "rtx_insn", "*", "insn", ",", "rtx_insn", "*", "tail", ")", "{", "for", "(", ";", "insn", "&&", "insn", "!=", "tail", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "if", "(", "important_for_bundling_p", "(", "insn", ")", ")", "return", "insn", ";", "return", "NULL", ";", "}", ""], "natrual_language": ["The", "following", "function", "returns", "an", "insn", "important", "for", "insn", "bundling", "followed", "by", "INSN", "and", "before", "TAIL", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "get_next_important_insn", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17454, "Length": 44, "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", ";", "if", "(", "auto", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "AI", "->", "getValOperand", "(", ")", ")", ")", "if", "(", "AI", "->", "getOperation", "(", ")", "==", "AtomicRMWInst", "::", "Or", "&&", "C", "->", "isZero", "(", ")", "&&", "AI", "->", "use_empty", "(", ")", ")", "return", "nullptr", ";", "IRBuilder", "<", ">", "Builder", "(", "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", "->", "getAlign", "(", ")", ")", ";", "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": "X86ISelLowering (2)5", "Func": "lowerIdempotentRMWIntoFencedLoad", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17455, "Length": 245, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SSACCmpConv", "::", "isDeadDef", "(", "unsigned", "DstReg", ")", "{", "if", "(", "DstReg", "==", "AArch64", "::", "WZR", "||", "DstReg", "==", "AArch64", "::", "XZR", ")", "return", "true", ";", "if", "(", "!", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "DstReg", ")", ")", "return", "false", ";", "return", "MRI", "->", "use_nodbg_empty", "(", "DstReg", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "instruction", "has", "a", "dead", "def", "."], "TS_V_token": ["AArch64", "AArch64::WZR", "AArch64::XZR"], "File": "AArch64ConditionalCompares (2)", "Func": "isDeadDef", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17456, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "areMemAccessesTriviallyDisjoint", "(", "const", "MachineInstr", "&", "MIa", ",", "const", "MachineInstr", "&", "MIb", ")", "const", "{", "if", "(", "!", "MIa", ".", "hasOneMemOperand", "(", ")", "||", "!", "MIb", ".", "hasOneMemOperand", "(", ")", ")", "return", "false", ";", "MachineMemOperand", "*", "MMOa", "=", "*", "MIa", ".", "memoperands_begin", "(", ")", ";", "MachineMemOperand", "*", "MMOb", "=", "*", "MIb", ".", "memoperands_begin", "(", ")", ";", "const", "Value", "*", "VALa", "=", "MMOa", "->", "getValue", "(", ")", ";", "const", "Value", "*", "VALb", "=", "MMOb", "->", "getValue", "(", ")", ";", "bool", "SameVal", "=", "(", "VALa", "&&", "VALb", "&&", "(", "VALa", "==", "VALb", ")", ")", ";", "if", "(", "!", "SameVal", ")", "{", "const", "PseudoSourceValue", "*", "PSVa", "=", "MMOa", "->", "getPseudoValue", "(", ")", ";", "const", "PseudoSourceValue", "*", "PSVb", "=", "MMOb", "->", "getPseudoValue", "(", ")", ";", "if", "(", "PSVa", "&&", "PSVb", "&&", "(", "PSVa", "==", "PSVb", ")", ")", "SameVal", "=", "true", ";", "}", "if", "(", "SameVal", ")", "{", "int", "OffsetA", "=", "MMOa", "->", "getOffset", "(", ")", ",", "OffsetB", "=", "MMOb", "->", "getOffset", "(", ")", ";", "int", "WidthA", "=", "MMOa", "->", "getSize", "(", ")", ",", "WidthB", "=", "MMOb", "->", "getSize", "(", ")", ";", "int", "LowOffset", "=", "OffsetA", "<", "OffsetB", "?", "OffsetA", ":", "OffsetB", ";", "int", "HighOffset", "=", "OffsetA", "<", "OffsetB", "?", "OffsetB", ":", "OffsetA", ";", "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": ["SystemZ", "SystemZ"], "File": "SystemZInstrInfo16", "Func": "areMemAccessesTriviallyDisjoint", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17457, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetELFStreamer", "::", "finish", "(", ")", "{", "MCAssembler", "&", "MCA", "=", "getStreamer", "(", ")", ".", "getAssembler", "(", ")", ";", "const", "MCObjectFileInfo", "&", "OFI", "=", "*", "MCA", ".", "getContext", "(", ")", ".", "getObjectFileInfo", "(", ")", ";", "MCSectionData", "&", "TextSectionData", "=", "MCA", ".", "getOrCreateSectionData", "(", "*", "OFI", ".", "getTextSection", "(", ")", ")", ";", "MCSectionData", "&", "DataSectionData", "=", "MCA", ".", "getOrCreateSectionData", "(", "*", "OFI", ".", "getDataSection", "(", ")", ")", ";", "MCSectionData", "&", "BSSSectionData", "=", "MCA", ".", "getOrCreateSectionData", "(", "*", "OFI", ".", "getBSSSection", "(", ")", ")", ";", "TextSectionData", ".", "setAlignment", "(", "std", "::", "max", "(", "16u", ",", "TextSectionData", ".", "getAlignment", "(", ")", ")", ")", ";", "DataSectionData", ".", "setAlignment", "(", "std", "::", "max", "(", "16u", ",", "DataSectionData", ".", "getAlignment", "(", ")", ")", ")", ";", "BSSSectionData", ".", "setAlignment", "(", "std", "::", "max", "(", "16u", ",", "BSSSectionData", ".", "getAlignment", "(", ")", ")", ")", ";", "MipsELFStreamer", "&", "MEF", "=", "static_cast", "<", "MipsELFStreamer", "&", ">", "(", "Streamer", ")", ";", "MEF", ".", "EmitMipsOptionRecords", "(", ")", ";", "emitMipsAbiFlags", "(", ")", ";", "}", ""], "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": ["Mips", "Mips", "16u", "16u", "16u", "Mips", "Mips", "Mips", "Mips"], "File": "MipsTargetStreamer15", "Func": "finish", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17458, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "rs6000_dbx_register_number", "(", "unsigned", "int", "regno", ")", "{", "if", "(", "regno", "<=", "63", "||", "write_symbols", "!=", "DWARF2_DEBUG", ")", "return", "regno", ";", "if", "(", "regno", "==", "MQ_REGNO", ")", "return", "100", ";", "if", "(", "regno", "==", "LINK_REGISTER_REGNUM", ")", "return", "108", ";", "if", "(", "regno", "==", "COUNT_REGISTER_REGNUM", ")", "return", "109", ";", "if", "(", "CR_REGNO_P", "(", "regno", ")", ")", "return", "regno", "-", "CR0_REGNO", "+", "86", ";", "if", "(", "regno", "==", "XER_REGNO", ")", "return", "101", ";", "if", "(", "ALTIVEC_REGNO_P", "(", "regno", ")", ")", "return", "regno", "-", "FIRST_ALTIVEC_REGNO", "+", "1124", ";", "if", "(", "regno", "==", "VRSAVE_REGNO", ")", "return", "356", ";", "if", "(", "regno", "==", "VSCR_REGNO", ")", "return", "67", ";", "if", "(", "regno", "==", "SPE_ACC_REGNO", ")", "return", "99", ";", "if", "(", "regno", "==", "SPEFSCR_REGNO", ")", "return", "612", ";", "gcc_assert", "(", "regno", ">=", "1200", "&&", "regno", "<", "1232", ")", ";", "return", "regno", ";", "}", ""], "natrual_language": ["Map", "internal", "gcc", "register", "numbers", "to", "DWARF2", "register", "numbers", "."], "TS_V_token": ["rs6000", "63", "100", "108", "109", "86", "101", "1124", "356", "67", "99", "612", "1200", "1232"], "File": "rs60003", "Func": "rs6000_dbx_register_number", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17459, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_sse2_abs", "(", "rtx", "target", ",", "rtx", "input", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "target", ")", ";", "rtx", "tmp0", ",", "tmp1", ",", "x", ";", "switch", "(", "mode", ")", "{", "case", "E_V4SImode", ":", "tmp0", "=", "expand_simple_binop", "(", "mode", ",", "ASHIFTRT", ",", "input", ",", "GEN_INT", "(", "GET_MODE_UNIT_BITSIZE", "(", "mode", ")", "-", "1", ")", ",", "NULL", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "tmp1", "=", "expand_simple_binop", "(", "mode", ",", "XOR", ",", "tmp0", ",", "input", ",", "NULL", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "x", "=", "expand_simple_binop", "(", "mode", ",", "MINUS", ",", "tmp1", ",", "tmp0", ",", "target", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "break", ";", "case", "E_V8HImode", ":", "tmp0", "=", "expand_unop", "(", "mode", ",", "neg_optab", ",", "input", ",", "NULL_RTX", ",", "0", ")", ";", "x", "=", "expand_simple_binop", "(", "mode", ",", "SMAX", ",", "tmp0", ",", "input", ",", "target", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "break", ";", "case", "E_V16QImode", ":", "tmp0", "=", "expand_unop", "(", "mode", ",", "neg_optab", ",", "input", ",", "NULL_RTX", ",", "0", ")", ";", "x", "=", "expand_simple_binop", "(", "V16QImode", ",", "UMIN", ",", "tmp0", ",", "input", ",", "target", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "x", "!=", "target", ")", "emit_move_insn", "(", "target", ",", "x", ")", ";", "}", ""], "natrual_language": ["Calculate", "integer", "abs", "(", ")", "using", "only", "SSE2", "instructions", "."], "TS_V_token": ["i386", "1", "0", "0", "0", "0", "0", "0", "0"], "File": "i3867", "Func": "ix86_expand_sse2_abs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17460, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isVectorClearMaskLegal", "(", "const", "SmallVectorImpl", "<", "int", ">", "&", "Mask", ",", "EVT", "VT", ")", "const", "{", "unsigned", "NumElts", "=", "VT", ".", "getVectorNumElements", "(", ")", ";", "if", "(", "NumElts", "==", "2", ")", "return", "true", ";", "if", "(", "NumElts", "==", "4", "&&", "VT", ".", "is128BitVector", "(", ")", ")", "{", "return", "(", "isMOVLMask", "(", "Mask", ",", "VT", ")", "||", "isCommutedMOVLMask", "(", "Mask", ",", "VT", ",", "true", ")", "||", "isSHUFPMask", "(", "Mask", ",", "VT", ",", "Subtarget", "->", "hasAVX", "(", ")", ")", "||", "isSHUFPMask", "(", "Mask", ",", "VT", ",", "Subtarget", "->", "hasAVX", "(", ")", ",", "true", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Similar", "to", "isShuffleMaskLegal", "."], "TS_V_token": ["X86", "X86", "2", "4"], "File": "X86ISelLowering117", "Func": "isVectorClearMaskLegal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17461, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_autovectorize_vector_modes", "(", "vector_modes", "*", "modes", ",", "bool", ")", "{", "static", "const", "machine_mode", "sve_modes", "[", "]", "=", "{", "VNx16QImode", ",", "VNx8QImode", ",", "VNx4QImode", ",", "VNx2QImode", "}", ";", "static", "const", "machine_mode", "advsimd_modes", "[", "]", "=", "{", "V16QImode", ",", "V8QImode", ",", "V4HImode", ",", "V2SImode", "}", ";", "unsigned", "int", "sve_i", "=", "TARGET_SVE", "?", "0", ":", "ARRAY_SIZE", "(", "sve_modes", ")", ";", "unsigned", "int", "advsimd_i", "=", "0", ";", "while", "(", "advsimd_i", "<", "ARRAY_SIZE", "(", "advsimd_modes", ")", ")", "{", "if", "(", "sve_i", "<", "ARRAY_SIZE", "(", "sve_modes", ")", "&&", "maybe_gt", "(", "GET_MODE_NUNITS", "(", "sve_modes", "[", "sve_i", "]", ")", ",", "GET_MODE_NUNITS", "(", "advsimd_modes", "[", "advsimd_i", "]", ")", ")", ")", "modes", "->", "safe_push", "(", "sve_modes", "[", "sve_i", "++", "]", ")", ";", "else", "modes", "->", "safe_push", "(", "advsimd_modes", "[", "advsimd_i", "++", "]", ")", ";", "}", "while", "(", "sve_i", "<", "ARRAY_SIZE", "(", "sve_modes", ")", ")", "modes", "->", "safe_push", "(", "sve_modes", "[", "sve_i", "++", "]", ")", ";", "unsigned", "int", "flags", "=", "0", ";", "if", "(", "TARGET_SVE", "&&", "aarch64_sve_compare_costs", ")", "flags", "|=", "VECT_COMPARE_COSTS", ";", "return", "flags", ";", "}", ""], "natrual_language": ["Return", "a", "list", "of", "possible", "vector", "sizes", "for", "the", "vectorizer", "to", "iterate", "over", "."], "TS_V_token": ["aarch64", "0", "0", "0"], "File": "aarch64", "Func": "aarch64_autovectorize_vector_modes", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17462, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCSubtarget", "::", "enablePostRAScheduler", "(", "CodeGenOpt", "::", "Level", "OptLevel", ",", "TargetSubtargetInfo", "::", "AntiDepBreakMode", "&", "Mode", ",", "RegClassVector", "&", "CriticalPathRCs", ")", "const", "{", "if", "(", "DarwinDirective", "==", "PPC", "::", "DIR_440", "||", "DarwinDirective", "==", "PPC", "::", "DIR_A2", ")", "Mode", "=", "TargetSubtargetInfo", "::", "ANTIDEP_ALL", ";", "else", "Mode", "=", "TargetSubtargetInfo", "::", "ANTIDEP_CRITICAL", ";", "CriticalPathRCs", ".", "clear", "(", ")", ";", "if", "(", "isPPC64", "(", ")", ")", "CriticalPathRCs", ".", "push_back", "(", "&", "PPC", "::", "G8RCRegClass", ")", ";", "else", "CriticalPathRCs", ".", "push_back", "(", "&", "PPC", "::", "GPRCRegClass", ")", ";", "return", "OptLevel", ">=", "CodeGenOpt", "::", "Default", ";", "}", ""], "natrual_language": ["True", "if", "the", "subtarget", "should", "run", "a", "scheduler", "after", "register", "allocation", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::DIR_440", "PPC::DIR_A2", "PPC", "PPC::G8RCRegClass", "PPC::GPRCRegClass"], "File": "PPCSubtarget46", "Func": "enablePostRAScheduler", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17463, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isTypeDesirableForOp", "(", "unsigned", "Opc", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "isTypeLegal", "(", "VT", ")", ")", "return", "false", ";", "if", "(", "Opc", "==", "ISD", "::", "SHL", "&&", "VT", ".", "isVector", "(", ")", "&&", "VT", ".", "getVectorElementType", "(", ")", "==", "MVT", "::", "i8", ")", "return", "false", ";", "if", "(", "VT", "!=", "MVT", "::", "i16", ")", "return", "true", ";", "switch", "(", "Opc", ")", "{", "default", ":", "return", "true", ";", "case", "ISD", "::", "LOAD", ":", "case", "ISD", "::", "SIGN_EXTEND", ":", "case", "ISD", "::", "ZERO_EXTEND", ":", "case", "ISD", "::", "ANY_EXTEND", ":", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRL", ":", "case", "ISD", "::", "SUB", ":", "case", "ISD", "::", "ADD", ":", "case", "ISD", "::", "MUL", ":", "case", "ISD", "::", "AND", ":", "case", "ISD", "::", "OR", ":", "case", "ISD", "::", "XOR", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "has", "native", "support", "for", "the", "specified", "value", "type", "and", "it", "is", "'desirable", "'", "to", "use", "the", "type", "for", "the", "given", "node", "type", "."], "TS_V_token": ["X86", "X86", "ISD::SHL", "MVT::i8", "MVT::i16", "ISD::LOAD", "ISD::SIGN_EXTEND", "ISD::ZERO_EXTEND", "ISD::ANY_EXTEND", "ISD::SHL", "ISD::SRL", "ISD::SUB", "ISD::ADD", "ISD::MUL", "ISD::AND", "ISD::OR", "ISD::XOR"], "File": "X86ISelLowering", "Func": "isTypeDesirableForOp", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17464, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sparc_struct_value_rtx", "(", "tree", "fndecl", "ATTRIBUTE_UNUSED", ",", "int", "incoming", ")", "{", "if", "(", "TARGET_ARCH64", ")", "return", "0", ";", "else", "{", "rtx", "mem", ";", "if", "(", "incoming", ")", "mem", "=", "gen_rtx_MEM", "(", "Pmode", ",", "plus_constant", "(", "frame_pointer_rtx", ",", "STRUCT_VALUE_OFFSET", ")", ")", ";", "else", "mem", "=", "gen_rtx_MEM", "(", "Pmode", ",", "plus_constant", "(", "stack_pointer_rtx", ",", "STRUCT_VALUE_OFFSET", ")", ")", ";", "set_mem_alias_set", "(", "mem", ",", "struct_value_alias_set", ")", ";", "return", "mem", ";", "}", "}", ""], "natrual_language": ["Handle", "the", "TARGET_STRUCT_VALUE", "target", "hook", ".", "Return", "where", "to", "find", "the", "structure", "return", "value", "address", "."], "TS_V_token": ["sparc", "0"], "File": "sparc3", "Func": "sparc_struct_value_rtx", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17465, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "poly_int64", "aarch64_vl_bytes", "(", "machine_mode", "mode", ",", "unsigned", "int", "vec_flags", ")", "{", "if", "(", "vec_flags", "&", "VEC_PARTIAL", ")", "return", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "vec_flags", "&", "VEC_SVE_DATA", ")", "return", "BYTES_PER_SVE_VECTOR", ";", "gcc_assert", "(", "vec_flags", "&", "VEC_SVE_PRED", ")", ";", "return", "BYTES_PER_SVE_PRED", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "defined", "bytes", "in", "one", "constituent", "vector", "of", "SVE", "mode", "MODE", ",", "which", "has", "vector", "flags", "VEC_FLAGS", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_vl_bytes", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17466, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "CSKYAsmBackend", "::", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "static", "llvm", "::", "DenseMap", "<", "unsigned", ",", "MCFixupKindInfo", ">", "Infos", "=", "{", "{", "CSKY", "::", "Fixups", "::", "fixup_csky_addr32", ",", "{", "\"fixup_csky_addr32\"", ",", "0", ",", "32", ",", "0", "}", "}", ",", "{", "CSKY", "::", "Fixups", "::", "fixup_csky_addr_hi16", ",", "{", "\"fixup_csky_addr_hi16\"", ",", "0", ",", "32", ",", "0", "}", "}", ",", "{", "CSKY", "::", "Fixups", "::", "fixup_csky_addr_lo16", ",", "{", "\"fixup_csky_addr_lo16\"", ",", "0", ",", "32", ",", "0", "}", "}", ",", "{", "CSKY", "::", "Fixups", "::", "fixup_csky_pcrel_imm16_scale2", ",", "{", "\"fixup_csky_pcrel_imm16_scale2\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", "}", ",", "{", "CSKY", "::", "Fixups", "::", "fixup_csky_pcrel_uimm16_scale4", ",", "{", "\"fixup_csky_pcrel_uimm16_scale4\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "|", "MCFixupKindInfo", "::", "FKF_IsAlignedDownTo32Bits", "}", "}", ",", "{", "CSKY", "::", "Fixups", "::", "fixup_csky_pcrel_uimm8_scale4", ",", "{", "\"fixup_csky_pcrel_uimm8_scale4\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "|", "MCFixupKindInfo", "::", "FKF_IsAlignedDownTo32Bits", "}", "}", ",", "{", "CSKY", "::", "Fixups", "::", "fixup_csky_pcrel_imm26_scale2", ",", "{", "\"fixup_csky_pcrel_imm26_scale2\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", "}", ",", "{", "CSKY", "::", "Fixups", "::", "fixup_csky_pcrel_imm18_scale2", ",", "{", "\"fixup_csky_pcrel_imm18_scale2\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", "}", ",", "{", "CSKY", "::", "Fixups", "::", "fixup_csky_got32", ",", "{", "\"fixup_csky_got32\"", ",", "0", ",", "32", ",", "0", "}", "}", ",", "{", "CSKY", "::", "Fixups", "::", "fixup_csky_got_imm18_scale4", ",", "{", "\"fixup_csky_got_imm18_scale4\"", ",", "0", ",", "32", ",", "0", "}", "}", ",", "{", "CSKY", "::", "Fixups", "::", "fixup_csky_gotoff", ",", "{", "\"fixup_csky_gotoff\"", ",", "0", ",", "32", ",", "0", "}", "}", ",", "{", "CSKY", "::", "Fixups", "::", "fixup_csky_gotpc", ",", "{", "\"fixup_csky_gotpc\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", "}", ",", "{", "CSKY", "::", "Fixups", "::", "fixup_csky_plt32", ",", "{", "\"fixup_csky_plt32\"", ",", "0", ",", "32", ",", "0", "}", "}", ",", "{", "CSKY", "::", "Fixups", "::", "fixup_csky_plt_imm18_scale4", ",", "{", "\"fixup_csky_plt_imm18_scale4\"", ",", "0", ",", "32", ",", "0", "}", "}", ",", "{", "CSKY", "::", "Fixups", "::", "fixup_csky_pcrel_imm10_scale2", ",", "{", "\"fixup_csky_pcrel_imm10_scale2\"", ",", "0", ",", "16", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", "}", ",", "{", "CSKY", "::", "Fixups", "::", "fixup_csky_pcrel_uimm7_scale4", ",", "{", "\"fixup_csky_pcrel_uimm7_scale4\"", ",", "0", ",", "16", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "|", "MCFixupKindInfo", "::", "FKF_IsAlignedDownTo32Bits", "}", "}", ",", "{", "CSKY", "::", "Fixups", "::", "fixup_csky_doffset_imm18", ",", "{", "\"fixup_csky_doffset_imm18\"", ",", "0", ",", "18", ",", "0", "}", "}", ",", "{", "CSKY", "::", "Fixups", "::", "fixup_csky_doffset_imm18_scale2", ",", "{", "\"fixup_csky_doffset_imm18_scale2\"", ",", "0", ",", "18", ",", "0", "}", "}", ",", "{", "CSKY", "::", "Fixups", "::", "fixup_csky_doffset_imm18_scale4", ",", "{", "\"fixup_csky_doffset_imm18_scale4\"", ",", "0", ",", "18", ",", "0", "}", "}", "}", ";", "assert", "(", "Infos", ".", "size", "(", ")", "==", "CSKY", "::", "NumTargetFixupKinds", "&&", "\"Not all fixup kinds added to Infos array\"", ")", ";", "if", "(", "FirstTargetFixupKind", "<=", "Kind", "&&", "Kind", "<", "FirstLiteralRelocationKind", ")", "{", "assert", "(", "unsigned", "(", "Kind", "-", "FirstTargetFixupKind", ")", "<", "getNumFixupKinds", "(", ")", "&&", "\"Invalid kind!\"", ")", ";", "return", "Infos", "[", "Kind", "]", ";", "}", "else", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "{", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "}", "else", "{", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "FK_NONE", ")", ";", "}", "}", ""], "natrual_language": ["Get", "information", "on", "a", "fixup", "kind", "."], "TS_V_token": ["CSKY", "CSKY", "CSKY::Fixups", "\"fixup_csky_addr32\"", "0", "32", "0", "CSKY::Fixups", "\"fixup_csky_addr_hi16\"", "0", "32", "0", "CSKY::Fixups", "\"fixup_csky_addr_lo16\"", "0", "32", "0", "CSKY::Fixups", "\"fixup_csky_pcrel_imm16_scale2\"", "0", "32", "CSKY::Fixups", "\"fixup_csky_pcrel_uimm16_scale4\"", "0", "32", "CSKY::Fixups", "\"fixup_csky_pcrel_uimm8_scale4\"", "0", "32", "CSKY::Fixups", "\"fixup_csky_pcrel_imm26_scale2\"", "0", "32", "CSKY::Fixups", "\"fixup_csky_pcrel_imm18_scale2\"", "0", "32", "CSKY::Fixups", "\"fixup_csky_got32\"", "0", "32", "0", "CSKY::Fixups", "\"fixup_csky_got_imm18_scale4\"", "0", "32", "0", "CSKY::Fixups", "\"fixup_csky_gotoff\"", "0", "32", "0", "CSKY::Fixups", "\"fixup_csky_gotpc\"", "0", "32", "CSKY::Fixups", "\"fixup_csky_plt32\"", "0", "32", "0", "CSKY::Fixups", "\"fixup_csky_plt_imm18_scale4\"", "0", "32", "0", "CSKY::Fixups", "\"fixup_csky_pcrel_imm10_scale2\"", "0", "16", "CSKY::Fixups", "\"fixup_csky_pcrel_uimm7_scale4\"", "0", "16", "CSKY::Fixups", "\"fixup_csky_doffset_imm18\"", "0", "18", "0", "CSKY::Fixups", "\"fixup_csky_doffset_imm18_scale2\"", "0", "18", "0", "CSKY::Fixups", "\"fixup_csky_doffset_imm18_scale4\"", "0", "18", "0", "CSKY::NumTargetFixupKinds", "\"Not all fixup kinds added to Infos array\"", "\"Invalid kind!\""], "File": "CSKYAsmBackend", "Func": "getFixupKindInfo", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17467, "Length": 473, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "mips_sync_insn1_template", "(", "enum", "attr_sync_insn1", "type", ",", "bool", "is_64bit_p", ")", "{", "switch", "(", "type", ")", "{", "case", "SYNC_INSN1_MOVE", ":", "return", "\"move\\t%0,%z2\"", ";", "case", "SYNC_INSN1_LI", ":", "return", "\"li\\t%0,%2\"", ";", "case", "SYNC_INSN1_ADDU", ":", "return", "is_64bit_p", "?", "\"daddu\\t%0,%1,%z2\"", ":", "\"addu\\t%0,%1,%z2\"", ";", "case", "SYNC_INSN1_ADDIU", ":", "return", "is_64bit_p", "?", "\"daddiu\\t%0,%1,%2\"", ":", "\"addiu\\t%0,%1,%2\"", ";", "case", "SYNC_INSN1_SUBU", ":", "return", "is_64bit_p", "?", "\"dsubu\\t%0,%1,%z2\"", ":", "\"subu\\t%0,%1,%z2\"", ";", "case", "SYNC_INSN1_AND", ":", "return", "\"and\\t%0,%1,%z2\"", ";", "case", "SYNC_INSN1_ANDI", ":", "return", "\"andi\\t%0,%1,%2\"", ";", "case", "SYNC_INSN1_OR", ":", "return", "\"or\\t%0,%1,%z2\"", ";", "case", "SYNC_INSN1_ORI", ":", "return", "\"ori\\t%0,%1,%2\"", ";", "case", "SYNC_INSN1_XOR", ":", "return", "\"xor\\t%0,%1,%z2\"", ";", "case", "SYNC_INSN1_XORI", ":", "return", "\"xori\\t%0,%1,%2\"", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "asm", "template", "associated", "with", "sync_insn1", "value", "TYPE", ".", "IS_64BIT_P", "is", "true", "if", "we", "want", "a", "64-bit", "rather", "than", "32-bit", "operation", "."], "TS_V_token": ["mips", "\"move\\t%0,%z2\"", "\"li\\t%0,%2\"", "\"daddu\\t%0,%1,%z2\"", "\"addu\\t%0,%1,%z2\"", "\"daddiu\\t%0,%1,%2\"", "\"addiu\\t%0,%1,%2\"", "\"dsubu\\t%0,%1,%z2\"", "\"subu\\t%0,%1,%z2\"", "\"and\\t%0,%1,%z2\"", "\"andi\\t%0,%1,%2\"", "\"or\\t%0,%1,%z2\"", "\"ori\\t%0,%1,%2\"", "\"xor\\t%0,%1,%z2\"", "\"xori\\t%0,%1,%2\""], "File": "mips", "Func": "mips_sync_insn1_template", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17468, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SparcRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcSubtarget11", "Func": "getRegisterInfo", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17469, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "getSqrtResultForDenormInput", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "return", "Op", ";", "}", ""], "natrual_language": ["Return", "a", "target-dependent", "result", "if", "the", "input", "operand", "is", "not", "suitable", "for", "use", "with", "a", "square", "root", "estimate", "calculation", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ISelLowering (2)2", "Func": "getSqrtResultForDenormInput", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17470, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isZExtFree", "(", "MVT", "VT1", ",", "MVT", "VT2", ")", "const", "{", "return", "VT1", "==", "MVT", "::", "i32", "&&", "VT2", "==", "MVT", "::", "i64", "&&", "Subtarget", "->", "is64Bit", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "zero-extending", "the", "specific", "node", "Val", "to", "type", "VT2", "is", "free", "(", "either", "because", "it", "'s", "implicitly", "zero-extended", "such", "as", "ARM", "ldrb", "/", "ldrh", "or", "because", "it", "'s", "folded", "such", "as", "X86", "zero-extending", "loads", ")", "."], "TS_V_token": ["X86", "X86", "MVT::i32", "MVT::i64"], "File": "X86ISelLowering77", "Func": "isZExtFree", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17471, "Length": 33, "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": 17472, "Length": 263, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_asm_output_dwarf_pcrel", "(", "FILE", "*", "file", ",", "int", "size", ",", "const", "char", "*", "label", ")", "{", "fputs", "(", "integer_asm_op", "(", "size", ",", "FALSE", ")", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "label", ")", ";", "fputs", "(", "\"-$\"", ",", "file", ")", ";", "}", ""], "natrual_language": ["Overide", "the", "default", "'SYMBOL-", ".", "'", "syntax", "with", "AIX", "compatible", "'SYMBOL-", "$", "'", "."], "TS_V_token": ["powerpcspe", "\"-$\""], "File": "powerpcspe", "Func": "rs6000_asm_output_dwarf_pcrel", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17473, "Length": 43, "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": 17474, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FrameLowering", "::", "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", "(", ")", ";", "unsigned", "Count", "=", "CSI", ".", "size", "(", ")", ";", "DebugLoc", "DL", ";", "assert", "(", "(", "Count", "&", "1", ")", "==", "0", "&&", "\"Odd number of callee-saved regs to spill!\"", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Count", ";", "i", "+=", "2", ")", "{", "unsigned", "Reg1", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "unsigned", "Reg2", "=", "CSI", "[", "i", "+", "1", "]", ".", "getReg", "(", ")", ";", "assert", "(", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", "+", "1", "==", "CSI", "[", "i", "+", "1", "]", ".", "getFrameIdx", "(", ")", "&&", "\"Out of order callee saved regs!\"", ")", ";", "unsigned", "LdrOpc", ";", "assert", "(", "(", "Count", "&", "1", ")", "==", "0", "&&", "\"Odd number of callee-saved regs to spill!\"", ")", ";", "assert", "(", "(", "i", "&", "1", ")", "==", "0", "&&", "\"Odd index for callee-saved reg spill!\"", ")", ";", "if", "(", "AArch64", "::", "GPR64RegClass", ".", "contains", "(", "Reg1", ")", ")", "{", "assert", "(", "AArch64", "::", "GPR64RegClass", ".", "contains", "(", "Reg2", ")", "&&", "\"Expected GPR64 callee-saved register pair!\"", ")", ";", "if", "(", "i", "==", "Count", "-", "2", ")", "LdrOpc", "=", "AArch64", "::", "LDPXpost", ";", "else", "LdrOpc", "=", "AArch64", "::", "LDPXi", ";", "}", "else", "if", "(", "AArch64", "::", "FPR64RegClass", ".", "contains", "(", "Reg1", ")", ")", "{", "assert", "(", "AArch64", "::", "FPR64RegClass", ".", "contains", "(", "Reg2", ")", "&&", "\"Expected FPR64 callee-saved register pair!\"", ")", ";", "if", "(", "i", "==", "Count", "-", "2", ")", "LdrOpc", "=", "AArch64", "::", "LDPDpost", ";", "else", "LdrOpc", "=", "AArch64", "::", "LDPDi", ";", "}", "else", "llvm_unreachable", "(", "\"Unexpected callee saved register!\"", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"CSR restore: (\"", "<<", "TRI", "->", "getName", "(", "Reg1", ")", "<<", "\", \"", "<<", "TRI", "->", "getName", "(", "Reg2", ")", "<<", "\") -> fi#(\"", "<<", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", "<<", "\", \"", "<<", "CSI", "[", "i", "+", "1", "]", ".", "getFrameIdx", "(", ")", "<<", "\")\\n\"", ")", ";", "const", "int", "Offset", "=", "(", "i", "==", "Count", "-", "2", ")", "?", "Count", ":", "Count", "-", "i", "-", "2", ";", "assert", "(", "(", "Offset", ">=", "-", "64", "&&", "Offset", "<=", "63", ")", "&&", "\"Offset out of bounds for LDP immediate\"", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "LdrOpc", ")", ")", ";", "if", "(", "LdrOpc", "==", "AArch64", "::", "LDPXpost", "||", "LdrOpc", "==", "AArch64", "::", "LDPDpost", ")", "MIB", ".", "addReg", "(", "AArch64", "::", "SP", ",", "RegState", "::", "Define", ")", ";", "MIB", ".", "addReg", "(", "Reg2", ",", "getDefRegState", "(", "true", ")", ")", ".", "addReg", "(", "Reg1", ",", "getDefRegState", "(", "true", ")", ")", ".", "addReg", "(", "AArch64", "::", "SP", ")", ".", "addImm", "(", "Offset", ")", ";", "}", "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", "1", "0", "\"Odd number of callee-saved regs to spill!\"", "0", "2", "1", "1", "1", "\"Out of order callee saved regs!\"", "1", "0", "\"Odd number of callee-saved regs to spill!\"", "1", "0", "\"Odd index for callee-saved reg spill!\"", "AArch64::GPR64RegClass", "AArch64::GPR64RegClass", "\"Expected GPR64 callee-saved register pair!\"", "2", "AArch64::LDPXpost", "AArch64::LDPXi", "AArch64::FPR64RegClass", "AArch64::FPR64RegClass", "\"Expected FPR64 callee-saved register pair!\"", "2", "AArch64::LDPDpost", "AArch64::LDPDi", "\"Unexpected callee saved register!\"", "\"CSR restore: (\"", "\", \"", "\") -> fi#(\"", "\", \"", "1", "\")\\n\"", "2", "2", "64", "63", "\"Offset out of bounds for LDP immediate\"", "AArch64::LDPXpost", "AArch64::LDPDpost", "AArch64::SP", "AArch64::SP"], "File": "AArch64FrameLowering44", "Func": "restoreCalleeSavedRegisters", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17475, "Length": 474, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_validate_mcpu", "(", "const", "char", "*", "str", ",", "const", "struct", "processor", "*", "*", "res", ",", "uint64_t", "*", "isa_flags", ")", "{", "std", "::", "string", "invalid_extension", ";", "enum", "aarch64_parse_opt_result", "parse_res", "=", "aarch64_parse_cpu", "(", "str", ",", "res", ",", "isa_flags", ",", "&", "invalid_extension", ")", ";", "if", "(", "parse_res", "==", "AARCH64_PARSE_OK", ")", "return", "true", ";", "switch", "(", "parse_res", ")", "{", "case", "AARCH64_PARSE_MISSING_ARG", ":", "error", "(", "\"missing cpu name in %<-mcpu=%s%>\"", ",", "str", ")", ";", "break", ";", "case", "AARCH64_PARSE_INVALID_ARG", ":", "error", "(", "\"unknown value %qs for %<-mcpu%>\"", ",", "str", ")", ";", "aarch64_print_hint_for_core", "(", "str", ")", ";", "break", ";", "case", "AARCH64_PARSE_INVALID_FEATURE", ":", "error", "(", "\"invalid feature modifier %qs in %<-mcpu=%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", "-mcpu", "option", ".", "Parse", "the", "cpu", "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 cpu name in %<-mcpu=%s%>\"", "\"unknown value %qs for %<-mcpu%>\"", "\"invalid feature modifier %qs in %<-mcpu=%s%>\""], "File": "aarch64", "Func": "aarch64_validate_mcpu", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17476, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "aarch64_compute_pressure_classes", "(", "reg_class", "*", "classes", ")", "{", "int", "i", "=", "0", ";", "classes", "[", "i", "++", "]", "=", "GENERAL_REGS", ";", "classes", "[", "i", "++", "]", "=", "FP_REGS", ";", "classes", "[", "i", "++", "]", "=", "PR_LO_REGS", ";", "classes", "[", "i", "++", "]", "=", "PR_HI_REGS", ";", "return", "i", ";", "}", ""], "natrual_language": ["Implement", "TARGET_COMPUTE_PRESSURE_CLASSES", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64", "Func": "aarch64_compute_pressure_classes", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17477, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_emit_sve_ptrue_op", "(", "rtx", "target", ",", "rtx", "ptrue", ",", "rtx", "op", ")", "{", "rtx", "unspec", "=", "gen_rtx_UNSPEC", "(", "GET_MODE", "(", "target", ")", ",", "gen_rtvec", "(", "2", ",", "ptrue", ",", "op", ")", ",", "UNSPEC_MERGE_PTRUE", ")", ";", "rtx_insn", "*", "insn", "=", "emit_set_insn", "(", "target", ",", "unspec", ")", ";", "set_unique_reg_note", "(", "insn", ",", "REG_EQUAL", ",", "copy_rtx", "(", "op", ")", ")", ";", "}", ""], "natrual_language": ["Use", "predicated", "SVE", "instructions", "to", "implement", "the", "equivalent", "of", ":", "(", "set", "TARGET", "OP", ")", "given", "that", "PTRUE", "is", "an", "all-true", "predicate", "of", "the", "appropriate", "mode", "."], "TS_V_token": ["aarch64", "2"], "File": "aarch646", "Func": "aarch64_emit_sve_ptrue_op", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17478, "Length": 60, "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": 17479, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_secondary_reload_simple_move", "(", "enum", "rs6000_reg_type", "to_type", ",", "enum", "rs6000_reg_type", "from_type", ",", "machine_mode", "mode", ")", "{", "int", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "TARGET_DIRECT_MOVE", "&&", "(", "(", "to_type", "==", "GPR_REG_TYPE", "&&", "from_type", "==", "VSX_REG_TYPE", ")", "||", "(", "to_type", "==", "VSX_REG_TYPE", "&&", "from_type", "==", "GPR_REG_TYPE", ")", ")", ")", "{", "if", "(", "TARGET_POWERPC64", ")", "{", "if", "(", "size", "==", "8", ")", "return", "true", ";", "if", "(", "size", "==", "16", "&&", "TARGET_P9_VECTOR", "&&", "mode", "!=", "TDmode", ")", "return", "true", ";", "}", "if", "(", "TARGET_VSX_SMALL_INTEGER", ")", "{", "if", "(", "mode", "==", "SImode", ")", "return", "true", ";", "if", "(", "TARGET_P9_VECTOR", "&&", "(", "mode", "==", "HImode", "||", "mode", "==", "QImode", ")", ")", "return", "true", ";", "}", "if", "(", "mode", "==", "SDmode", ")", "return", "true", ";", "}", "else", "if", "(", "TARGET_MFPGPR", "&&", "TARGET_POWERPC64", "&&", "size", "==", "8", "&&", "(", "(", "to_type", "==", "GPR_REG_TYPE", "&&", "from_type", "==", "FPR_REG_TYPE", ")", "||", "(", "to_type", "==", "FPR_REG_TYPE", "&&", "from_type", "==", "GPR_REG_TYPE", ")", ")", ")", "return", "true", ";", "else", "if", "(", "(", "size", "==", "4", "||", "(", "TARGET_POWERPC64", "&&", "size", "==", "8", ")", ")", "&&", "(", "(", "to_type", "==", "GPR_REG_TYPE", "&&", "from_type", "==", "SPR_REG_TYPE", ")", "||", "(", "to_type", "==", "SPR_REG_TYPE", "&&", "from_type", "==", "GPR_REG_TYPE", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "rs6000_secondary_reload", "to", "return", "true", "if", "a", "move", "to", "a", "different", "register", "classe", "is", "really", "a", "simple", "move", "."], "TS_V_token": ["rs6000", "8", "16", "8", "4", "8"], "File": "rs60006", "Func": "rs6000_secondary_reload_simple_move", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17480, "Length": 205, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "classof", "(", "const", "CSKYConstantPoolValue", "*", "ACPV", ")", "{", "return", "ACPV", "->", "isJT", "(", ")", ";", "}", ""], "natrual_language": ["Methods", "for", "support", "type", "inquiry", "through", "isa", ",", "cast", ",", "and", "dyn_cast", ":"], "TS_V_token": ["CSKY", "CSKY"], "File": "CSKYConstantPoolValue", "Func": "classof", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17481, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMTargetLowering", "::", "getExceptionSelectorRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "{", "return", "Subtarget", "->", "useSjLjEH", "(", ")", "?", "ARM", "::", "NoRegister", ":", "ARM", "::", "R1", ";", "}", ""], "natrual_language": ["If", "a", "physical", "register", ",", "this", "returns", "the", "register", "that", "receives", "the", "exception", "typeid", "on", "entry", "to", "a", "landing", "pad", "."], "TS_V_token": ["ARM", "ARM", "ARM::NoRegister", "ARM::R1"], "File": "ARMISelLowering (2)2", "Func": "getExceptionSelectorRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17482, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "find_mem_ref", "(", "rtx", "pat", ",", "rtx", "*", "mem_ref", ")", "{", "const", "char", "*", "fmt", ";", "int", "i", ",", "j", ";", "if", "(", "tie_operand", "(", "pat", ",", "VOIDmode", ")", ")", "return", "false", ";", "if", "(", "MEM_P", "(", "pat", ")", ")", "{", "*", "mem_ref", "=", "pat", ";", "return", "true", ";", "}", "fmt", "=", "GET_RTX_FORMAT", "(", "GET_CODE", "(", "pat", ")", ")", ";", "for", "(", "i", "=", "GET_RTX_LENGTH", "(", "GET_CODE", "(", "pat", ")", ")", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "if", "(", "fmt", "[", "i", "]", "==", "'e'", ")", "{", "if", "(", "find_mem_ref", "(", "XEXP", "(", "pat", ",", "i", ")", ",", "mem_ref", ")", ")", "return", "true", ";", "}", "else", "if", "(", "fmt", "[", "i", "]", "==", "'E'", ")", "for", "(", "j", "=", "XVECLEN", "(", "pat", ",", "i", ")", "-", "1", ";", "j", ">=", "0", ";", "j", "--", ")", "{", "if", "(", "find_mem_ref", "(", "XVECEXP", "(", "pat", ",", "i", ",", "j", ")", ",", "mem_ref", ")", ")", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Determine", "if", "PAT", "refers", "to", "memory", ".", "If", "so", ",", "set", "MEM_REF", "to", "the", "MEM", "rtx", "and", "return", "true", "."], "TS_V_token": ["rs6000", "1", "0", "1", "0"], "File": "rs6000", "Func": "find_mem_ref", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17483, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "hashval_t", "bundle_state_hasher", "::", "hash", "(", "const", "bundle_state", "*", "state", ")", "{", "unsigned", "result", ",", "i", ";", "for", "(", "result", "=", "i", "=", "0", ";", "i", "<", "dfa_state_size", ";", "i", "++", ")", "result", "+=", "(", "(", "(", "unsigned", "char", "*", ")", "state", "->", "dfa_state", ")", "[", "i", "]", "<<", "(", "(", "i", "%", "CHAR_BIT", ")", "*", "3", "+", "CHAR_BIT", ")", ")", ";", "return", "result", "+", "state", "->", "insn_num", ";", "}", ""], "natrual_language": ["Hash", "function", "for", "builtin", "functions", "with", "up", "to", "3", "arguments", "and", "a", "return", "type", "."], "TS_V_token": ["ia64", "0", "3"], "File": "ia64", "Func": "hash", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17484, "Length": 70, "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": 17485, "Length": 210, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_zero_extend_cost", "(", "machine_mode", "mode", ",", "rtx", "op", ")", "{", "if", "(", "MEM_P", "(", "op", ")", ")", "return", "0", ";", "if", "(", "TARGET_64BIT", "&&", "mode", "==", "DImode", "&&", "GET_MODE", "(", "op", ")", "==", "SImode", ")", "return", "COSTS_N_INSNS", "(", "TARGET_MIPS16", "?", "4", ":", "2", ")", ";", "if", "(", "GENERATE_MIPS16E", ")", "return", "COSTS_N_INSNS", "(", "1", ")", ";", "if", "(", "TARGET_MIPS16", ")", "return", "COSTS_N_INSNS", "(", "GET_MODE", "(", "op", ")", "==", "QImode", "?", "2", ":", "3", ")", ";", "return", "COSTS_N_INSNS", "(", "1", ")", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "zero-extending", "OP", "to", "mode", "MODE", ",", "not", "including", "the", "cost", "of", "OP", "itself", "."], "TS_V_token": ["mips", "0", "4", "2", "1", "2", "3", "1"], "File": "mips", "Func": "mips_zero_extend_cost", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17486, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "basic_block", "add_condition_to_bb", "(", "tree", "function_decl", ",", "tree", "version_decl", ",", "int", "clone_isa", ",", "basic_block", "new_bb", ")", "{", "push_cfun", "(", "DECL_STRUCT_FUNCTION", "(", "function_decl", ")", ")", ";", "gcc_assert", "(", "new_bb", "!=", "NULL", ")", ";", "gimple_seq", "gseq", "=", "bb_seq", "(", "new_bb", ")", ";", "tree", "convert_expr", "=", "build1", "(", "CONVERT_EXPR", ",", "ptr_type_node", ",", "build_fold_addr_expr", "(", "version_decl", ")", ")", ";", "tree", "result_var", "=", "create_tmp_var", "(", "ptr_type_node", ")", ";", "gimple", "*", "convert_stmt", "=", "gimple_build_assign", "(", "result_var", ",", "convert_expr", ")", ";", "gimple", "*", "return_stmt", "=", "gimple_build_return", "(", "result_var", ")", ";", "if", "(", "clone_isa", "==", "CLONE_DEFAULT", ")", "{", "gimple_seq_add_stmt", "(", "&", "gseq", ",", "convert_stmt", ")", ";", "gimple_seq_add_stmt", "(", "&", "gseq", ",", "return_stmt", ")", ";", "set_bb_seq", "(", "new_bb", ",", "gseq", ")", ";", "gimple_set_bb", "(", "convert_stmt", ",", "new_bb", ")", ";", "gimple_set_bb", "(", "return_stmt", ",", "new_bb", ")", ";", "pop_cfun", "(", ")", ";", "return", "new_bb", ";", "}", "tree", "bool_zero", "=", "build_int_cst", "(", "bool_int_type_node", ",", "0", ")", ";", "tree", "cond_var", "=", "create_tmp_var", "(", "bool_int_type_node", ")", ";", "tree", "predicate_decl", "=", "rs6000_builtin_decls", "[", "(", "int", ")", "RS6000_BIF_CPU_SUPPORTS", "]", ";", "const", "char", "*", "arg_str", "=", "rs6000_clone_map", "[", "clone_isa", "]", ".", "name", ";", "tree", "predicate_arg", "=", "build_string_literal", "(", "strlen", "(", "arg_str", ")", "+", "1", ",", "arg_str", ")", ";", "gimple", "*", "call_cond_stmt", "=", "gimple_build_call", "(", "predicate_decl", ",", "1", ",", "predicate_arg", ")", ";", "gimple_call_set_lhs", "(", "call_cond_stmt", ",", "cond_var", ")", ";", "gimple_set_block", "(", "call_cond_stmt", ",", "DECL_INITIAL", "(", "function_decl", ")", ")", ";", "gimple_set_bb", "(", "call_cond_stmt", ",", "new_bb", ")", ";", "gimple_seq_add_stmt", "(", "&", "gseq", ",", "call_cond_stmt", ")", ";", "gimple", "*", "if_else_stmt", "=", "gimple_build_cond", "(", "NE_EXPR", ",", "cond_var", ",", "bool_zero", ",", "NULL_TREE", ",", "NULL_TREE", ")", ";", "gimple_set_block", "(", "if_else_stmt", ",", "DECL_INITIAL", "(", "function_decl", ")", ")", ";", "gimple_set_bb", "(", "if_else_stmt", ",", "new_bb", ")", ";", "gimple_seq_add_stmt", "(", "&", "gseq", ",", "if_else_stmt", ")", ";", "gimple_seq_add_stmt", "(", "&", "gseq", ",", "convert_stmt", ")", ";", "gimple_seq_add_stmt", "(", "&", "gseq", ",", "return_stmt", ")", ";", "set_bb_seq", "(", "new_bb", ",", "gseq", ")", ";", "basic_block", "bb1", "=", "new_bb", ";", "edge", "e12", "=", "split_block", "(", "bb1", ",", "if_else_stmt", ")", ";", "basic_block", "bb2", "=", "e12", "->", "dest", ";", "e12", "->", "flags", "&=", "~", "EDGE_FALLTHRU", ";", "e12", "->", "flags", "|=", "EDGE_TRUE_VALUE", ";", "edge", "e23", "=", "split_block", "(", "bb2", ",", "return_stmt", ")", ";", "gimple_set_bb", "(", "convert_stmt", ",", "bb2", ")", ";", "gimple_set_bb", "(", "return_stmt", ",", "bb2", ")", ";", "basic_block", "bb3", "=", "e23", "->", "dest", ";", "make_edge", "(", "bb1", ",", "bb3", ",", "EDGE_FALSE_VALUE", ")", ";", "remove_edge", "(", "e23", ")", ";", "make_edge", "(", "bb2", ",", "EXIT_BLOCK_PTR_FOR_FN", "(", "cfun", ")", ",", "0", ")", ";", "pop_cfun", "(", ")", ";", "return", "bb3", ";", "}", ""], "natrual_language": ["This", "adds", "a", "condition", "to", "the", "basic_block", "NEW_BB", "in", "function", "FUNCTION_DECL", "to", "return", "a", "pointer", "to", "VERSION_DECL", "if", "we", "are", "running", "on", "a", "machine", "that", "supports", "the", "index", "CLONE_ISA", "hardware", "architecture", "bits", ".", "This", "function", "will", "be", "called", "during", "version", "dispatch", "to", "decide", "which", "function", "version", "to", "execute", ".", "It", "returns", "the", "basic", "block", "at", "the", "end", ",", "to", "which", "more", "conditions", "can", "be", "added", "."], "TS_V_token": ["rs6000", "0", "1", "1", "0"], "File": "rs6000", "Func": "add_condition_to_bb", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17487, "Length": 401, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"MMIX Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["MMIX", "\"MMIX Assembly Printer\""], "File": "MMIXAsmPrinter", "Func": "getPassName", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17488, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "MipsDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "unsigned", "GlobalBaseReg", "=", "MF", "->", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", "->", "getGlobalBaseReg", "(", ")", ";", "return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "TLI", "->", "getPointerTy", "(", ")", ")", ".", "getNode", "(", ")", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsISelDAGToDAG59", "Func": "getGlobalBaseReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17489, "Length": 43, "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": 17490, "Length": 53, "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": 17491, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_modes_tieable_p", "(", "enum", "machine_mode", "mode1", ",", "enum", "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", ")", ">=", "8", "&&", "ix86_hard_regno_mode_ok", "(", "FIRST_SSE_REG", ",", "mode2", ")", ")", "return", "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", "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", "8", "8"], "File": "i3863", "Func": "ix86_modes_tieable_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17492, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_print_hint_for_core_or_arch", "(", "const", "char", "*", "str", ",", "bool", "arch", ")", "{", "auto_vec", "<", "const", "char", "*", ">", "candidates", ";", "const", "struct", "processor", "*", "entry", "=", "arch", "?", "all_architectures", ":", "all_cores", ";", "for", "(", ";", "entry", "->", "name", "!=", "NULL", ";", "entry", "++", ")", "candidates", ".", "safe_push", "(", "entry", "->", "name", ")", ";", "char", "*", "s", ";", "const", "char", "*", "hint", "=", "candidates_list_and_hint", "(", "str", ",", "s", ",", "candidates", ")", ";", "if", "(", "hint", ")", "inform", "(", "input_location", ",", "\"valid arguments are: %s;\"", "\" did you mean %qs?\"", ",", "s", ",", "hint", ")", ";", "XDELETEVEC", "(", "s", ")", ";", "}", ""], "natrual_language": ["Print", "a", "hint", "with", "a", "suggestion", "for", "a", "core", "or", "architecture", "name", "that", "most", "closely", "resembles", "what", "the", "user", "passed", "in", "STR", ".", "ARCH", "is", "true", "if", "the", "user", "is", "asking", "for", "an", "architecture", "name", ".", "ARCH", "is", "false", "if", "the", "user", "is", "asking", "for", "a", "core", "name", "."], "TS_V_token": ["aarch64", "\"valid arguments are: %s;\"", "\" did you mean %qs?\""], "File": "aarch644", "Func": "aarch64_print_hint_for_core_or_arch", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17493, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TOYPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createTOYISelDag", "(", "getTOYTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["TOY", "TOY", "TOY", "TOY"], "File": "TOYTargetMachine1", "Func": "addInstSelector", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17494, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCPassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAtomicExpandPass", "(", "&", "getPPCTargetMachine", "(", ")", ")", ")", ";", "bool", "UsePrefetching", "=", "TM", "->", "getTargetTriple", "(", ")", ".", "getVendor", "(", ")", "==", "Triple", "::", "BGQ", "&&", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ";", "if", "(", "EnablePrefetch", ".", "getNumOccurrences", "(", ")", ">", "0", ")", "UsePrefetching", "=", "EnablePrefetch", ";", "if", "(", "UsePrefetching", ")", "addPass", "(", "createPPCLoopDataPrefetchPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "Aggressive", "&&", "EnableGEPOpt", ")", "{", "addPass", "(", "createSeparateConstOffsetFromGEPPass", "(", "TM", ",", "true", ")", ")", ";", "addPass", "(", "createEarlyCSEPass", "(", ")", ")", ";", "addPass", "(", "createLICMPass", "(", ")", ")", ";", "}", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "0", "PPC"], "File": "PPCTargetMachine61", "Func": "addIRPasses", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17495, "Length": 115, "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", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "ARM", "::", "GPRRegisterClass", ")", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "LDR", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addReg", "(", "0", ")", ".", "addImm", "(", "0", ")", ")", ";", "}", "else", "if", "(", "RC", "==", "ARM", "::", "DPRRegisterClass", "||", "RC", "==", "ARM", "::", "DPR_VFP2RegisterClass", ")", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "FLDD", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ")", ";", "}", "else", "if", "(", "RC", "==", "ARM", "::", "SPRRegisterClass", ")", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "FLDS", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ")", ";", "}", "else", "{", "assert", "(", "RC", "==", "ARM", "::", "QPRRegisterClass", "&&", "\"Unknown regclass!\"", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "VLDRQ", ")", ",", "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::LDR", "0", "0", "ARM::DPRRegisterClass", "ARM::DPR_VFP2RegisterClass", "ARM::FLDD", "0", "ARM::SPRRegisterClass", "ARM::FLDS", "0", "ARM::QPRRegisterClass", "\"Unknown regclass!\"", "ARM::VLDRQ", "0"], "File": "ARMBaseInstrInfo31", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17496, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "override", "{", "if", "(", "isIndirectJump", "(", "Inst", ")", ")", "{", "if", "(", "PendingCall", ")", "report_fatal_error", "(", "\"Dangerous instruction in branch delay slot!\"", ")", ";", "sandboxIndirectJump", "(", "Inst", ",", "STI", ")", ";", "return", ";", "}", "unsigned", "AddrIdx", "=", "0", ";", "bool", "IsStore", "=", "false", ";", "bool", "IsMemAccess", "=", "isBasePlusOffsetMemoryAccess", "(", "Inst", ".", "getOpcode", "(", ")", ",", "&", "AddrIdx", ",", "&", "IsStore", ")", ";", "bool", "IsSPFirstOperand", "=", "isStackPointerFirstOperand", "(", "Inst", ")", ";", "if", "(", "IsMemAccess", "||", "IsSPFirstOperand", ")", "{", "bool", "MaskBefore", "=", "(", "IsMemAccess", "&&", "baseRegNeedsLoadStoreMask", "(", "Inst", ".", "getOperand", "(", "AddrIdx", ")", ".", "getReg", "(", ")", ")", ")", ";", "bool", "MaskAfter", "=", "IsSPFirstOperand", "&&", "!", "IsStore", ";", "if", "(", "MaskBefore", "||", "MaskAfter", ")", "{", "if", "(", "PendingCall", ")", "report_fatal_error", "(", "\"Dangerous instruction in branch delay slot!\"", ")", ";", "sandboxLoadStoreStackChange", "(", "Inst", ",", "AddrIdx", ",", "STI", ",", "MaskBefore", ",", "MaskAfter", ")", ";", "return", ";", "}", "}", "bool", "IsIndirectCall", ";", "if", "(", "isCall", "(", "Inst", ",", "&", "IsIndirectCall", ")", ")", "{", "if", "(", "PendingCall", ")", "report_fatal_error", "(", "\"Dangerous instruction in branch delay slot!\"", ")", ";", "emitBundleLock", "(", "true", ")", ";", "if", "(", "IsIndirectCall", ")", "{", "unsigned", "TargetReg", "=", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "emitMask", "(", "TargetReg", ",", "IndirectBranchMaskReg", ",", "STI", ")", ";", "}", "MipsELFStreamer", "::", "emitInstruction", "(", "Inst", ",", "STI", ")", ";", "PendingCall", "=", "true", ";", "return", ";", "}", "if", "(", "PendingCall", ")", "{", "MipsELFStreamer", "::", "emitInstruction", "(", "Inst", ",", "STI", ")", ";", "emitBundleUnlock", "(", ")", ";", "PendingCall", "=", "false", ";", "return", ";", "}", "MipsELFStreamer", "::", "emitInstruction", "(", "Inst", ",", "STI", ")", ";", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["Mips", "\"Dangerous instruction in branch delay slot!\"", "0", "\"Dangerous instruction in branch delay slot!\"", "\"Dangerous instruction in branch delay slot!\"", "1", "Mips", "Mips", "Mips"], "File": "MipsNaClELFStreamer13", "Func": "emitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17497, "Length": 255, "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": 17498, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZInstrInfo", "::", "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": ["SystemZ", "SystemZ"], "File": "SystemZInstrInfo (2)", "Func": "storeRegToStackSlot", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17499, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "X86TargetLowering", "::", "getPICJumpTableRelocBase", "(", "SDValue", "Table", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "is64Bit", "(", ")", ")", "return", "DAG", ".", "getNode", "(", "X86ISD", "::", "GlobalBaseReg", ",", "DebugLoc", "::", "getUnknownLoc", "(", ")", ",", "getPointerTy", "(", ")", ")", ";", "return", "Table", ";", "}", ""], "natrual_language": ["Returns", "relocation", "base", "for", "the", "given", "PIC", "jumptable", "."], "TS_V_token": ["X86", "X86", "X86ISD::GlobalBaseReg"], "File": "X86ISelLowering144", "Func": "getPICJumpTableRelocBase", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17500, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 Assembly / Object Emitter\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 Assembly / Object Emitter\""], "File": "X86AsmPrinter (2)", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17501, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "pa_get_deferred_plabel", "(", "rtx", "symbol", ")", "{", "const", "char", "*", "fname", "=", "XSTR", "(", "symbol", ",", "0", ")", ";", "size_t", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n_deferred_plabels", ";", "i", "++", ")", "if", "(", "strcmp", "(", "fname", ",", "XSTR", "(", "deferred_plabels", "[", "i", "]", ".", "symbol", ",", "0", ")", ")", "==", "0", ")", "break", ";", "if", "(", "deferred_plabels", "==", "NULL", "||", "i", "==", "n_deferred_plabels", ")", "{", "tree", "id", ";", "if", "(", "deferred_plabels", "==", "0", ")", "deferred_plabels", "=", "ggc_alloc", "<", "deferred_plabel", ">", "(", ")", ";", "else", "deferred_plabels", "=", "GGC_RESIZEVEC", "(", "struct", "deferred_plabel", ",", "deferred_plabels", ",", "n_deferred_plabels", "+", "1", ")", ";", "i", "=", "n_deferred_plabels", "++", ";", "deferred_plabels", "[", "i", "]", ".", "internal_label", "=", "gen_label_rtx", "(", ")", ";", "deferred_plabels", "[", "i", "]", ".", "symbol", "=", "symbol", ";", "id", "=", "maybe_get_identifier", "(", "targetm", ".", "strip_name_encoding", "(", "fname", ")", ")", ";", "if", "(", "id", ")", "mark_referenced", "(", "id", ")", ";", "}", "return", "deferred_plabels", "[", "i", "]", ".", "internal_label", ";", "}", ""], "natrual_language": ["Search", "the", "deferred", "plabel", "list", "for", "SYMBOL", "and", "return", "its", "internal", "label", ".", "If", "an", "entry", "for", "SYMBOL", "is", "not", "found", ",", "a", "new", "entry", "is", "created", "."], "TS_V_token": ["pa", "0", "0", "0", "0", "0", "1"], "File": "pa", "Func": "pa_get_deferred_plabel", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17502, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SICTargetLowering", "::", "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", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "SICCC", "SICCCInfo", "(", "CallConv", ",", "ABI", ".", "IsO32", "(", ")", ",", "CCInfo", ")", ";", "SICCCInfo", ".", "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", "=", "OutVals", "[", "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", "(", ")", ")", "{", "SICFunctionInfo", "*", "SICFI", "=", "MF", ".", "getInfo", "<", "SICFunctionInfo", ">", "(", ")", ";", "unsigned", "Reg", "=", "SICFI", "->", "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", "S", "=", "SIC", "::", "S", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "S", ",", "Val", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "S", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ")", ";", "}", "RetOps", "[", "0", "]", "=", "Chain", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "RetOps", ".", "push_back", "(", "Flag", ")", ";", "return", "DAG", ".", "getNode", "(", "SICISD", "::", "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": ["SIC", "SIC", "ISD::OutputArg", "16", "SIC", "SIC", "SIC", "4", "1", "0", "\"Can only return in registers!\"", "ISD::BITCAST", "1", "SIC", "SIC", "SIC", "SIC", "\"sret virtual register not created in the entry block\"", "SIC::S", "1", "0", "SICISD::Ret", "MVT::Other"], "File": "SICISelLowering", "Func": "LowerReturn", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17503, "Length": 443, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "StackPU2MCInstLower", "::", "lowerInstruction", "(", "const", "MachineInstr", "&", "MI", ",", "MCInst", "&", "OutMI", ")", "const", "{", "OutMI", ".", "setOpcode", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "for", "(", "MachineOperand", "const", "&", "MO", ":", "MI", ".", "operands", "(", ")", ")", "{", "MCOperand", "MCOp", ";", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "default", ":", "MI", ".", "print", "(", "errs", "(", ")", ")", ";", "llvm_unreachable", "(", "\"unknown operand type\"", ")", ";", "case", "MachineOperand", "::", "MO_Register", ":", "if", "(", "MO", ".", "isImplicit", "(", ")", ")", "continue", ";", "MCOp", "=", "MCOperand", "::", "createReg", "(", "MO", ".", "getReg", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "MCOp", "=", "MCOperand", "::", "createImm", "(", "MO", ".", "getImm", "(", ")", ")", ";", "break", ";", "}", "OutMI", ".", "addOperand", "(", "MCOp", ")", ";", "}", "}", ""], "natrual_language": ["Lowers", "a", "MachineInstr", "into", "a", "MCInst", "."], "TS_V_token": ["StackPU2", "StackPU2", "\"unknown operand type\""], "File": "StackPU2MCInstLower", "Func": "lowerInstruction", "Target": "StackPU2", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17504, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getReturnOpcode", "(", ")", "const", "{", "if", "(", "isThumb", "(", ")", ")", "return", "ARM", "::", "tBX_RET", ";", "if", "(", "hasV4TOps", "(", ")", ")", "return", "ARM", "::", "BX_RET", ";", "return", "ARM", "::", "MOVPCLR", ";", "}", ""], "natrual_language": ["Returns", "the", "correct", "return", "opcode", "for", "the", "current", "feature", "set", "."], "TS_V_token": ["ARM", "ARM::tBX_RET", "ARM::BX_RET", "ARM::MOVPCLR"], "File": "ARMSubtarget (2)3", "Func": "getReturnOpcode", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17505, "Length": 34, "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": 17506, "Length": 298, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "MipsTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "assert", "(", "false", "&&", "\"Unexpected instr type to insert\"", ")", ";", "return", "NULL", ";", "case", "Mips", "::", "ATOMIC_LOAD_ADD_I8", ":", "return", "EmitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "1", ",", "Mips", "::", "ADDu", ")", ";", "case", "Mips", "::", "ATOMIC_LOAD_ADD_I16", ":", "return", "EmitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "2", ",", "Mips", "::", "ADDu", ")", ";", "case", "Mips", "::", "ATOMIC_LOAD_ADD_I32", ":", "return", "EmitAtomicBinary", "(", "MI", ",", "BB", ",", "4", ",", "Mips", "::", "ADDu", ")", ";", "case", "Mips", "::", "ATOMIC_LOAD_AND_I8", ":", "return", "EmitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "1", ",", "Mips", "::", "AND", ")", ";", "case", "Mips", "::", "ATOMIC_LOAD_AND_I16", ":", "return", "EmitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "2", ",", "Mips", "::", "AND", ")", ";", "case", "Mips", "::", "ATOMIC_LOAD_AND_I32", ":", "return", "EmitAtomicBinary", "(", "MI", ",", "BB", ",", "4", ",", "Mips", "::", "AND", ")", ";", "case", "Mips", "::", "ATOMIC_LOAD_OR_I8", ":", "return", "EmitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "1", ",", "Mips", "::", "OR", ")", ";", "case", "Mips", "::", "ATOMIC_LOAD_OR_I16", ":", "return", "EmitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "2", ",", "Mips", "::", "OR", ")", ";", "case", "Mips", "::", "ATOMIC_LOAD_OR_I32", ":", "return", "EmitAtomicBinary", "(", "MI", ",", "BB", ",", "4", ",", "Mips", "::", "OR", ")", ";", "case", "Mips", "::", "ATOMIC_LOAD_XOR_I8", ":", "return", "EmitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "1", ",", "Mips", "::", "XOR", ")", ";", "case", "Mips", "::", "ATOMIC_LOAD_XOR_I16", ":", "return", "EmitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "2", ",", "Mips", "::", "XOR", ")", ";", "case", "Mips", "::", "ATOMIC_LOAD_XOR_I32", ":", "return", "EmitAtomicBinary", "(", "MI", ",", "BB", ",", "4", ",", "Mips", "::", "XOR", ")", ";", "case", "Mips", "::", "ATOMIC_LOAD_NAND_I8", ":", "return", "EmitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "1", ",", "0", ",", "true", ")", ";", "case", "Mips", "::", "ATOMIC_LOAD_NAND_I16", ":", "return", "EmitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "2", ",", "0", ",", "true", ")", ";", "case", "Mips", "::", "ATOMIC_LOAD_NAND_I32", ":", "return", "EmitAtomicBinary", "(", "MI", ",", "BB", ",", "4", ",", "0", ",", "true", ")", ";", "case", "Mips", "::", "ATOMIC_LOAD_SUB_I8", ":", "return", "EmitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "1", ",", "Mips", "::", "SUBu", ")", ";", "case", "Mips", "::", "ATOMIC_LOAD_SUB_I16", ":", "return", "EmitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "2", ",", "Mips", "::", "SUBu", ")", ";", "case", "Mips", "::", "ATOMIC_LOAD_SUB_I32", ":", "return", "EmitAtomicBinary", "(", "MI", ",", "BB", ",", "4", ",", "Mips", "::", "SUBu", ")", ";", "case", "Mips", "::", "ATOMIC_SWAP_I8", ":", "return", "EmitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "1", ",", "0", ")", ";", "case", "Mips", "::", "ATOMIC_SWAP_I16", ":", "return", "EmitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "2", ",", "0", ")", ";", "case", "Mips", "::", "ATOMIC_SWAP_I32", ":", "return", "EmitAtomicBinary", "(", "MI", ",", "BB", ",", "4", ",", "0", ")", ";", "case", "Mips", "::", "ATOMIC_CMP_SWAP_I8", ":", "return", "EmitAtomicCmpSwapPartword", "(", "MI", ",", "BB", ",", "1", ")", ";", "case", "Mips", "::", "ATOMIC_CMP_SWAP_I16", ":", "return", "EmitAtomicCmpSwapPartword", "(", "MI", ",", "BB", ",", "2", ")", ";", "case", "Mips", "::", "ATOMIC_CMP_SWAP_I32", ":", "return", "EmitAtomicCmpSwap", "(", "MI", ",", "BB", ",", "4", ")", ";", "}", "}", ""], "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::ATOMIC_LOAD_ADD_I8", "1", "Mips::ADDu", "Mips::ATOMIC_LOAD_ADD_I16", "2", "Mips::ADDu", "Mips::ATOMIC_LOAD_ADD_I32", "4", "Mips::ADDu", "Mips::ATOMIC_LOAD_AND_I8", "1", "Mips::AND", "Mips::ATOMIC_LOAD_AND_I16", "2", "Mips::AND", "Mips::ATOMIC_LOAD_AND_I32", "4", "Mips::AND", "Mips::ATOMIC_LOAD_OR_I8", "1", "Mips::OR", "Mips::ATOMIC_LOAD_OR_I16", "2", "Mips::OR", "Mips::ATOMIC_LOAD_OR_I32", "4", "Mips::OR", "Mips::ATOMIC_LOAD_XOR_I8", "1", "Mips::XOR", "Mips::ATOMIC_LOAD_XOR_I16", "2", "Mips::XOR", "Mips::ATOMIC_LOAD_XOR_I32", "4", "Mips::XOR", "Mips::ATOMIC_LOAD_NAND_I8", "1", "0", "Mips::ATOMIC_LOAD_NAND_I16", "2", "0", "Mips::ATOMIC_LOAD_NAND_I32", "4", "0", "Mips::ATOMIC_LOAD_SUB_I8", "1", "Mips::SUBu", "Mips::ATOMIC_LOAD_SUB_I16", "2", "Mips::SUBu", "Mips::ATOMIC_LOAD_SUB_I32", "4", "Mips::SUBu", "Mips::ATOMIC_SWAP_I8", "1", "0", "Mips::ATOMIC_SWAP_I16", "2", "0", "Mips::ATOMIC_SWAP_I32", "4", "0", "Mips::ATOMIC_CMP_SWAP_I8", "1", "Mips::ATOMIC_CMP_SWAP_I16", "2", "Mips::ATOMIC_CMP_SWAP_I32", "4"], "File": "MipsISelLowering117", "Func": "EmitInstrWithCustomInserter", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17507, "Length": 477, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "override", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "CJG", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_CJG_NONE\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_CJG_32\"", ",", "0", ",", "32", ",", "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": ["CJG", "CJG::NumTargetFixupKinds", "\"fixup_CJG_NONE\"", "0", "32", "0", "\"fixup_CJG_32\"", "0", "32", "0", "\"Invalid kind!\""], "File": "CJGAsmBackend", "Func": "getFixupKindInfo", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17508, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsMCCodeEmitter", "::", "getBranchTargetOpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ">>", "2", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"getBranchTargetOpValue expects only expressions or immediates\"", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "0", ",", "Expr", ",", "MCFixupKind", "(", "Mips", "::", "fixup_Mips_PC16", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "."], "TS_V_token": ["Mips", "Mips", "2", "\"getBranchTargetOpValue expects only expressions or immediates\"", "0", "Mips::fixup_Mips_PC16", "0"], "File": "MipsMCCodeEmitter12", "Func": "getBranchTargetOpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17509, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "enableShrinkWrapping", "(", "const", "MachineFunction", "&", "MF", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "will", "correctly", "handle", "shrink", "wrapping", "."], "TS_V_token": ["ARM"], "File": "Thumb1FrameLowering13", "Func": "enableShrinkWrapping", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17510, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "MipsTargetStreamer", "&", "TS", "=", "getTargetStreamer", "(", ")", ";", "TS", ".", "forbidModuleDirective", "(", ")", ";", "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", "(", "MF", "->", "getDataLayout", "(", ")", ",", "MCPE", ".", "Val", ".", "ConstVal", ")", ";", "return", ";", "}", "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", ")", "{", "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::PseudoReturn", "Mips::PseudoReturn64", "Mips::PseudoIndirectBranch", "Mips::PseudoIndirectBranch64", "Mips", "\"Pseudo opcode found in EmitInstruction()\""], "File": "MipsAsmPrinter1", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17511, "Length": 376, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "pa_output_millicode_call", "(", "rtx_insn", "*", "insn", ",", "rtx", "call_dest", ")", "{", "int", "attr_length", "=", "get_attr_length", "(", "insn", ")", ";", "int", "seq_length", "=", "dbr_sequence_length", "(", ")", ";", "rtx", "xoperands", "[", "3", "]", ";", "xoperands", "[", "0", "]", "=", "call_dest", ";", "xoperands", "[", "2", "]", "=", "gen_rtx_REG", "(", "Pmode", ",", "TARGET_64BIT", "?", "2", ":", "31", ")", ";", "if", "(", "!", "TARGET_LONG_CALLS", "&&", "(", "attr_length", "==", "8", "||", "(", "attr_length", "==", "28", "&&", "get_attr_type", "(", "insn", ")", "==", "TYPE_SH_FUNC_ADRS", ")", ")", ")", "{", "output_asm_insn", "(", "\"{bl|b,l} %0,%2\"", ",", "xoperands", ")", ";", "}", "else", "{", "if", "(", "TARGET_64BIT", ")", "{", "output_asm_insn", "(", "\"b,l .+8,%%r1\"", ",", "xoperands", ")", ";", "if", "(", "TARGET_GAS", ")", "{", "output_asm_insn", "(", "\"addil L'%0-$PIC_pcrel$0+4,%%r1\"", ",", "xoperands", ")", ";", "output_asm_insn", "(", "\"ldo R'%0-$PIC_pcrel$0+8(%%r1),%%r1\"", ",", "xoperands", ")", ";", "}", "else", "{", "xoperands", "[", "1", "]", "=", "gen_label_rtx", "(", ")", ";", "output_asm_insn", "(", "\"addil L'%0-%l1,%%r1\"", ",", "xoperands", ")", ";", "targetm", ".", "asm_out", ".", "internal_label", "(", "asm_out_file", ",", "\"L\"", ",", "CODE_LABEL_NUMBER", "(", "xoperands", "[", "1", "]", ")", ")", ";", "output_asm_insn", "(", "\"ldo R'%0-%l1(%%r1),%%r1\"", ",", "xoperands", ")", ";", "}", "output_asm_insn", "(", "\"bve,l (%%r1),%%r2\"", ",", "xoperands", ")", ";", "}", "else", "if", "(", "TARGET_PORTABLE_RUNTIME", ")", "{", "output_asm_insn", "(", "\"ldil L'%0,%%r1\"", ",", "xoperands", ")", ";", "output_asm_insn", "(", "\"ldo R'%0(%%r1),%%r1\"", ",", "xoperands", ")", ";", "output_asm_insn", "(", "\"{bl|b,l} .+8,%%r31\"", ",", "xoperands", ")", ";", "output_asm_insn", "(", "\"addi 8,%%r31,%%r31\"", ",", "xoperands", ")", ";", "output_asm_insn", "(", "\"bv %%r0(%%r1)\"", ",", "xoperands", ")", ";", "}", "else", "if", "(", "!", "flag_pic", ")", "{", "output_asm_insn", "(", "\"ldil L'%0,%%r1\"", ",", "xoperands", ")", ";", "if", "(", "TARGET_PA_20", ")", "output_asm_insn", "(", "\"be,l R'%0(%%sr4,%%r1),%%sr0,%%r31\"", ",", "xoperands", ")", ";", "else", "output_asm_insn", "(", "\"ble R'%0(%%sr4,%%r1)\"", ",", "xoperands", ")", ";", "}", "else", "{", "output_asm_insn", "(", "\"{bl|b,l} .+8,%%r1\"", ",", "xoperands", ")", ";", "output_asm_insn", "(", "\"addi 16,%%r1,%%r31\"", ",", "xoperands", ")", ";", "if", "(", "TARGET_SOM", "||", "!", "TARGET_GAS", ")", "{", "xoperands", "[", "1", "]", "=", "gen_label_rtx", "(", ")", ";", "targetm", ".", "asm_out", ".", "internal_label", "(", "asm_out_file", ",", "\"L\"", ",", "CODE_LABEL_NUMBER", "(", "xoperands", "[", "1", "]", ")", ")", ";", "output_asm_insn", "(", "\"addil L'%0-%l1,%%r1\"", ",", "xoperands", ")", ";", "output_asm_insn", "(", "\"ldo R'%0-%l1(%%r1),%%r1\"", ",", "xoperands", ")", ";", "}", "else", "{", "output_asm_insn", "(", "\"addil L'%0-$PIC_pcrel$0+8,%%r1\"", ",", "xoperands", ")", ";", "output_asm_insn", "(", "\"ldo R'%0-$PIC_pcrel$0+12(%%r1),%%r1\"", ",", "xoperands", ")", ";", "}", "output_asm_insn", "(", "\"bv %%r0(%%r1)\"", ",", "xoperands", ")", ";", "}", "}", "if", "(", "seq_length", "==", "0", ")", "output_asm_insn", "(", "\"nop\"", ",", "xoperands", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["INSN", "is", "a", "function", "call", ".", "CALL_DEST", "is", "the", "routine", "we", "are", "calling", "."], "TS_V_token": ["pa", "3", "0", "2", "2", "31", "8", "28", "\"{bl|b,l} %0,%2\"", "\"b,l .+8,%%r1\"", "\"addil L'%0-$PIC_pcrel$0+4,%%r1\"", "\"ldo R'%0-$PIC_pcrel$0+8(%%r1),%%r1\"", "1", "\"addil L'%0-%l1,%%r1\"", "\"L\"", "1", "\"ldo R'%0-%l1(%%r1),%%r1\"", "\"bve,l (%%r1),%%r2\"", "\"ldil L'%0,%%r1\"", "\"ldo R'%0(%%r1),%%r1\"", "\"{bl|b,l} .+8,%%r31\"", "\"addi 8,%%r31,%%r31\"", "\"bv %%r0(%%r1)\"", "\"ldil L'%0,%%r1\"", "\"be,l R'%0(%%sr4,%%r1),%%sr0,%%r31\"", "\"ble R'%0(%%sr4,%%r1)\"", "\"{bl|b,l} .+8,%%r1\"", "\"addi 16,%%r1,%%r31\"", "1", "\"L\"", "1", "\"addil L'%0-%l1,%%r1\"", "\"ldo R'%0-%l1(%%r1),%%r1\"", "\"addil L'%0-$PIC_pcrel$0+8,%%r1\"", "\"ldo R'%0-$PIC_pcrel$0+12(%%r1),%%r1\"", "\"bv %%r0(%%r1)\"", "0", "\"nop\"", "\"\""], "File": "pa4", "Func": "pa_output_millicode_call", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17512, "Length": 363, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "section", "*", "pa_function_section", "(", "tree", "decl", ",", "enum", "node_frequency", "freq", ",", "bool", "startup", ",", "bool", "exit", ")", "{", "if", "(", "!", "targetm_common", ".", "have_named_sections", ")", "return", "text_section", ";", "if", "(", "decl", "&&", "DECL_SECTION_NAME", "(", "decl", ")", "==", "NULL", "&&", "DECL_CONTEXT", "(", "decl", ")", "!=", "NULL_TREE", "&&", "TREE_CODE", "(", "DECL_CONTEXT", "(", "decl", ")", ")", "==", "FUNCTION_DECL", "&&", "DECL_SECTION_NAME", "(", "DECL_CONTEXT", "(", "decl", ")", ")", "==", "NULL", ")", "return", "function_section", "(", "DECL_CONTEXT", "(", "decl", ")", ")", ";", "return", "default_function_section", "(", "decl", ",", "freq", ",", "startup", ",", "exit", ")", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "function_section", "."], "TS_V_token": ["pa"], "File": "pa", "Func": "pa_function_section", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17513, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "pa_hpux_asm_output_external", "(", "FILE", "*", "file", ",", "tree", "decl", ",", "const", "char", "*", "name", ")", "{", "extern_symbol", "*", "p", "=", "VEC_safe_push", "(", "extern_symbol", ",", "gc", ",", "extern_symbols", ",", "NULL", ")", ";", "gcc_assert", "(", "file", "==", "asm_out_file", ")", ";", "p", "->", "decl", "=", "decl", ";", "p", "->", "name", "=", "name", ";", "}", ""], "natrual_language": ["Mark", "DECL", "(", "name", "NAME", ")", "as", "an", "external", "reference", "(", "assembler", "output", "file", "FILE", ")", ".", "This", "saves", "the", "names", "to", "output", "at", "the", "end", "of", "the", "file", "if", "actually", "referenced", "."], "TS_V_token": ["pa"], "File": "pa3", "Func": "pa_hpux_asm_output_external", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17514, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MINA32TargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "llvm_unreachable", "(", "\"LowerOperation() unimplemented\"", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["MINA32", "MINA32", "\"LowerOperation() unimplemented\""], "File": "MINA32ISelLowering", "Func": "LowerOperation", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17515, "Length": 20, "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_TRUNC", ":", "case", "G_ADD", ":", "case", "G_SUB", ":", "case", "G_MUL", ":", "case", "G_LOAD", ":", "case", "G_STORE", ":", "case", "G_ZEXTLOAD", ":", "case", "G_SEXTLOAD", ":", "case", "G_GEP", ":", "case", "G_AND", ":", "case", "G_OR", ":", "case", "G_XOR", ":", "case", "G_SHL", ":", "case", "G_ASHR", ":", "case", "G_LSHR", ":", "case", "G_SDIV", ":", "case", "G_UDIV", ":", "case", "G_SREM", ":", "case", "G_UREM", ":", "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", ";", "case", "G_SELECT", ":", "OperandsMapping", "=", "getOperandsMapping", "(", "{", "&", "Mips", "::", "ValueMappings", "[", "Mips", "::", "GPRIdx", "]", ",", "&", "Mips", "::", "ValueMappings", "[", "Mips", "::", "GPRIdx", "]", ",", "&", "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", "Mips::ValueMappings", "Mips::GPRIdx", "Mips::ValueMappings", "Mips::GPRIdx", "Mips::ValueMappings", "Mips::GPRIdx", "Mips::ValueMappings", "Mips::GPRIdx", "1"], "File": "MipsRegisterBankInfo39", "Func": "getInstrMapping", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17516, "Length": 299, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isOffsetFoldingLegal", "(", "const", "GlobalAddressSDNode", "*", "GA", ")", "const", "{", "if", "(", "!", "getTargetMachine", "(", ")", ".", "getTargetTriple", "(", ")", ".", "isOSBinFormatELF", "(", ")", ")", "return", "false", ";", "return", "Subtarget", "->", "ClassifyGlobalReference", "(", "GA", "->", "getGlobal", "(", ")", ",", "getTargetMachine", "(", ")", ")", "==", "AArch64II", "::", "MO_NO_FLAG", ";", "}", ""], "natrual_language": ["Return", "true", "if", "folding", "a", "constant", "offset", "with", "the", "given", "GlobalAddress", "is", "legal", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64II::MO_NO_FLAG"], "File": "AArch64ISelLowering153", "Func": "isOffsetFoldingLegal", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17517, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "CSKYRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "CSKYSubtarget", "&", "STI", "=", "MF", "->", "getSubtarget", "<", "CSKYSubtarget", ">", "(", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"interrupt\"", ")", ")", "{", "if", "(", "STI", ".", "hasFPUv3DoubleFloat", "(", ")", ")", "return", "CSR_GPR_FPR64v3_ISR_SaveList", ";", "if", "(", "STI", ".", "hasFPUv3SingleFloat", "(", ")", ")", "return", "CSR_GPR_FPR32v3_ISR_SaveList", ";", "if", "(", "STI", ".", "hasFPUv2DoubleFloat", "(", ")", ")", "return", "CSR_GPR_FPR64_ISR_SaveList", ";", "if", "(", "STI", ".", "hasFPUv2SingleFloat", "(", ")", ")", "return", "CSR_GPR_FPR32_ISR_SaveList", ";", "return", "CSR_GPR_ISR_SaveList", ";", "}", "if", "(", "STI", ".", "hasFPUv2DoubleFloat", "(", ")", "||", "STI", ".", "hasFPUv3DoubleFloat", "(", ")", ")", "return", "CSR_GPR_FPR64_SaveList", ";", "if", "(", "STI", ".", "hasFPUv2SingleFloat", "(", ")", "||", "STI", ".", "hasFPUv3SingleFloat", "(", ")", ")", "return", "CSR_GPR_FPR32_SaveList", ";", "return", "CSR_I32_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["CSKY", "CSKY", "CSKY", "CSKY", "\"interrupt\""], "File": "CSKYRegisterInfo1", "Func": "getCalleeSavedRegs", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17518, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "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_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!\"", ")", ";", "SDValue", "Arg", "=", "OutVals", "[", "i", "]", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown loc info!\"", ")", ";", "case", "CCValAssign", "::", "Full", ":", "break", ";", "case", "CCValAssign", "::", "AExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ANY_EXTEND", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "case", "CCValAssign", "::", "ZExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ZERO_EXTEND", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "case", "CCValAssign", "::", "SExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "SIGN_EXTEND", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "}", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "Arg", ",", "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!\"", "\"Unknown loc info!\"", "ISD::ANY_EXTEND", "ISD::ZERO_EXTEND", "ISD::SIGN_EXTEND", "1", "PPCISD::RET_FLAG", "MVT::Other", "PPCISD::RET_FLAG", "MVT::Other"], "File": "PPCISelLowering105", "Func": "LowerReturn", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17519, "Length": 382, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "UPTInstrInfo", "::", "insertBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "TBB", ",", "MachineBasicBlock", "*", "FBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "const", "DebugLoc", "&", "DL", ",", "int", "*", "BytesAdded", ")", "const", "{", "unsigned", "NumInserted", "=", "0", ";", "if", "(", "!", "Cond", ".", "empty", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBB", ".", "end", "(", ")", ",", "DL", ",", "get", "(", "UPT", "::", "Bcc", ")", ")", ".", "add", "(", "Cond", "[", "0", "]", ")", ".", "addMBB", "(", "TBB", ")", ";", "NumInserted", "++", ";", "}", "if", "(", "Cond", ".", "empty", "(", ")", "||", "FBB", ")", "{", "BuildMI", "(", "MBB", ",", "MBB", ".", "end", "(", ")", ",", "DL", ",", "get", "(", "UPT", "::", "JMP", ")", ")", ".", "addMBB", "(", "Cond", ".", "empty", "(", ")", "?", "TBB", ":", "FBB", ")", ";", "NumInserted", "++", ";", "}", "return", "NumInserted", ";", "}", ""], "natrual_language": ["Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "."], "TS_V_token": ["UPT", "UPT", "0", "UPT::Bcc", "0", "UPT::JMP"], "File": "UPTInstrInfo", "Func": "insertBranch", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17520, "Length": 139, "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": 17521, "Length": 367, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_hard_regno_mode_ok", "(", "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", "||", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_PARTIAL_INT", ")", "return", "false", ";", "if", "(", "STACK_REGNO_P", "(", "regno", ")", ")", "return", "VALID_FP_MODE_P", "(", "mode", ")", ";", "if", "(", "MASK_REGNO_P", "(", "regno", ")", ")", "return", "(", "VALID_MASK_REG_MODE", "(", "mode", ")", "||", "(", "TARGET_AVX512BW", "&&", "VALID_MASK_AVX512BW_MODE", "(", "mode", ")", ")", ")", ";", "if", "(", "BND_REGNO_P", "(", "regno", ")", ")", "return", "VALID_BND_REG_MODE", "(", "mode", ")", ";", "if", "(", "SSE_REGNO_P", "(", "regno", ")", ")", "{", "if", "(", "TARGET_AVX512F", "&&", "(", "mode", "==", "XImode", "||", "VALID_AVX512F_REG_MODE", "(", "mode", ")", "||", "VALID_AVX512F_SCALAR_MODE", "(", "mode", ")", ")", ")", "return", "true", ";", "if", "(", "TARGET_AVX512VL", "&&", "(", "mode", "==", "OImode", "||", "mode", "==", "TImode", "||", "VALID_AVX256_REG_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", ")", ")", "return", "true", ";", "else", "if", "(", "VALID_FP_MODE_P", "(", "mode", ")", ")", "return", "true", ";", "else", "if", "(", "VALID_DFP_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": "i3864", "Func": "ix86_hard_regno_mode_ok", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17522, "Length": 316, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "OR1KAsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ")", "const", "{", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "(", "unsigned", ")", "Kind", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "+", "7", ")", "/", "8", ";", "unsigned", "FullSize", ";", "switch", "(", "(", "unsigned", ")", "Kind", ")", "{", "default", ":", "FullSize", "=", "4", ";", "break", ";", "}", "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", "-", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", ")", ";", "CurVal", "|=", "Value", "&", "Mask", ";", "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": ["OR1K", "OR1K", "7", "8", "4", "0", "0", "1", "8", "1", "64", "0", "1", "8", "0xff"], "File": "OR1KAsmBackend", "Func": "applyFixup", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17523, "Length": 232, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "getMachineCombinerPatterns", "(", "MachineInstr", "&", "Root", ",", "SmallVectorImpl", "<", "MachineCombinerPattern", ">", "&", "Patterns", ",", "bool", "DoRegPressureReduce", ")", "const", "{", "if", "(", "Subtarget", ".", "getTargetMachine", "(", ")", ".", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "Aggressive", ")", "return", "false", ";", "if", "(", "getFMAPatterns", "(", "Root", ",", "Patterns", ")", ")", "return", "true", ";", "return", "TargetInstrInfo", "::", "getMachineCombinerPatterns", "(", "Root", ",", "Patterns", ",", "DoRegPressureReduce", ")", ";", "}", ""], "natrual_language": ["Return", "true", "when", "there", "is", "potentially", "a", "faster", "code", "sequence", "for", "an", "instruction", "chain", "ending", "in", "Root", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCInstrInfo129", "Func": "getMachineCombinerPatterns", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17524, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "isPredicable", "(", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "STI", ".", "hasLoadStoreOnCond", "(", ")", "&&", "getConditionalMove", "(", "Opcode", ")", ")", "return", "true", ";", "if", "(", "STI", ".", "hasLoadStoreOnCond2", "(", ")", "&&", "getConditionalLoadImmediate", "(", "Opcode", ")", ")", "return", "true", ";", "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": "SystemZInstrInfo18", "Func": "isPredicable", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17525, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_split_sve_subreg_move", "(", "rtx", "dest", ",", "rtx", "ptrue", ",", "rtx", "src", ")", "{", "machine_mode", "mode_with_wider_elts", "=", "aarch64_sve_int_mode", "(", "GET_MODE", "(", "dest", ")", ")", ";", "machine_mode", "mode_with_narrower_elts", "=", "aarch64_sve_int_mode", "(", "GET_MODE", "(", "src", ")", ")", ";", "if", "(", "GET_MODE_UNIT_SIZE", "(", "mode_with_wider_elts", ")", "<", "GET_MODE_UNIT_SIZE", "(", "mode_with_narrower_elts", ")", ")", "std", "::", "swap", "(", "mode_with_wider_elts", ",", "mode_with_narrower_elts", ")", ";", "unsigned", "int", "unspec", "=", "aarch64_sve_rev_unspec", "(", "mode_with_narrower_elts", ")", ";", "machine_mode", "pred_mode", "=", "aarch64_sve_pred_mode", "(", "mode_with_wider_elts", ")", ";", "ptrue", "=", "gen_lowpart", "(", "pred_mode", ",", "ptrue", ")", ";", "dest", "=", "aarch64_replace_reg_mode", "(", "dest", ",", "mode_with_wider_elts", ")", ";", "src", "=", "aarch64_replace_reg_mode", "(", "src", ",", "mode_with_wider_elts", ")", ";", "emit_insn", "(", "gen_aarch64_pred", "(", "unspec", ",", "mode_with_wider_elts", ",", "dest", ",", "ptrue", ",", "src", ")", ")", ";", "}", ""], "natrual_language": ["Split", "a", "*", "aarch64_sve_mov", "<", "mode", ">", "_subreg_be", "pattern", "with", "the", "given", "operands", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_split_sve_subreg_move", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17526, "Length": 117, "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", "E_QImode", ":", "case", "E_HImode", ":", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "source", ")", ")", ";", "return", "true", ";", "case", "E_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", "E_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": "rs6000", "Func": "rs6000_emit_set_const", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17527, "Length": 272, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsSETargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "DCI", ".", "DAG", ";", "SDValue", "Val", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "ADDE", ":", "return", "performADDECombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SUBE", ":", "return", "performSUBECombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "MUL", ":", "return", "performMULCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "this", ")", ";", "case", "ISD", "::", "SHL", ":", "return", "performSHLCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SRA", ":", "return", "performSRACombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SRL", ":", "return", "performSRLCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "VSELECT", ":", "return", "performVSELECTCombine", "(", "N", ",", "DAG", ")", ";", "case", "ISD", "::", "SETCC", ":", "{", "Val", "=", "performSETCCCombine", "(", "N", ",", "DAG", ")", ";", "break", ";", "}", "}", "if", "(", "Val", ".", "getNode", "(", ")", ")", "return", "Val", ";", "return", "MipsTargetLowering", "::", "PerformDAGCombine", "(", "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": ["Mips", "Mips", "ISD::ADDE", "ISD::SUBE", "ISD::MUL", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::VSELECT", "ISD::SETCC", "Mips"], "File": "MipsSEISelLowering12", "Func": "PerformDAGCombine", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17528, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86WinAllocaExpander", "::", "lower", "(", "MachineInstr", "*", "MI", ",", "Lowering", "L", ")", "{", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineBasicBlock", "*", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "*", "MI", ";", "int64_t", "Amount", "=", "getWinAllocaAmount", "(", "MI", ",", "MRI", ")", ";", "if", "(", "Amount", "==", "0", ")", "{", "MI", "->", "eraseFromParent", "(", ")", ";", "return", ";", "}", "bool", "Is64Bit", "=", "STI", "->", "is64Bit", "(", ")", ";", "assert", "(", "SlotSize", "==", "4", "||", "SlotSize", "==", "8", ")", ";", "unsigned", "RegA", "=", "(", "SlotSize", "==", "8", ")", "?", "X86", "::", "RAX", ":", "X86", "::", "EAX", ";", "switch", "(", "L", ")", "{", "case", "TouchAndSub", ":", "assert", "(", "Amount", ">=", "SlotSize", ")", ";", "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", ")", "{", "BuildMI", "(", "*", "MBB", ",", "I", ",", "DL", ",", "TII", "->", "get", "(", "Is64Bit", "?", "X86", "::", "PUSH64r", ":", "X86", "::", "PUSH32r", ")", ")", ".", "addReg", "(", "RegA", ",", "RegState", "::", "Undef", ")", ";", "}", "else", "{", "BuildMI", "(", "*", "MBB", ",", "I", ",", "DL", ",", "TII", "->", "get", "(", "getSubOpcode", "(", "Is64Bit", ",", "Amount", ")", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "break", ";", "case", "Probe", ":", "BuildMI", "(", "*", "MBB", ",", "MI", ",", "DL", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "RegA", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ";", "STI", "->", "getFrameLowering", "(", ")", "->", "emitStackProbe", "(", "*", "MBB", "->", "getParent", "(", ")", ",", "*", "MBB", ",", "MI", ",", "DL", ",", "false", ")", ";", "break", ";", "}", "unsigned", "AmountReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "for", "(", ";", ";", ")", "{", "if", "(", "!", "MRI", "->", "use_empty", "(", "AmountReg", ")", ")", "break", ";", "MachineInstr", "*", "AmountDef", "=", "MRI", "->", "getUniqueVRegDef", "(", "AmountReg", ")", ";", "if", "(", "!", "AmountDef", ")", "break", ";", "if", "(", "AmountDef", "->", "isCopy", "(", ")", "&&", "AmountDef", "->", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", ")", "AmountReg", "=", "AmountDef", "->", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", ";", "AmountDef", "->", "eraseFromParent", "(", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["The", "instruction", "is", "lowered", "."], "TS_V_token": ["X86", "X86", "0", "4", "8", "8", "X86::RAX", "X86::EAX", "X86::PUSH64r", "X86::PUSH32r", "0", "X86::PUSH64r", "X86::PUSH32r", "0", "0", "1", "1"], "File": "X86WinAllocaExpander12", "Func": "lower", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17529, "Length": 420, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "rs6000_xcoff_strip_dollar", "(", "const", "char", "*", "name", ")", "{", "char", "*", "strip", ",", "*", "p", ";", "const", "char", "*", "q", ";", "size_t", "len", ";", "q", "=", "(", "const", "char", "*", ")", "strchr", "(", "name", ",", "'$'", ")", ";", "if", "(", "q", "==", "0", "||", "q", "==", "name", ")", "return", "name", ";", "len", "=", "strlen", "(", "name", ")", ";", "strip", "=", "XALLOCAVEC", "(", "char", ",", "len", "+", "1", ")", ";", "strcpy", "(", "strip", ",", "name", ")", ";", "p", "=", "strip", "+", "(", "q", "-", "name", ")", ";", "while", "(", "p", ")", "{", "*", "p", "=", "'_'", ";", "p", "=", "strchr", "(", "p", "+", "1", ",", "'$'", ")", ";", "}", "return", "ggc_alloc_string", "(", "strip", ",", "len", ")", ";", "}", ""], "natrual_language": ["Return", "a", "GGC-allocated", "character", "string", "translating", "dollar", "signs", "in", "input", "NAME", "to", "underscores", ".", "Used", "by", "XCOFF", "ASM_OUTPUT_LABELREF", "."], "TS_V_token": ["rs6000", "0", "1", "1"], "File": "rs6000", "Func": "rs6000_xcoff_strip_dollar", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17530, "Length": 119, "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": 17531, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "EmitInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "override", "{", "if", "(", "isIndirectJump", "(", "Inst", ")", ")", "{", "if", "(", "PendingCall", ")", "report_fatal_error", "(", "\"Dangerous instruction in branch delay slot!\"", ")", ";", "sandboxIndirectJump", "(", "Inst", ",", "STI", ")", ";", "return", ";", "}", "unsigned", "AddrIdx", ";", "bool", "IsStore", ";", "bool", "IsMemAccess", "=", "isBasePlusOffsetMemoryAccess", "(", "Inst", ".", "getOpcode", "(", ")", ",", "&", "AddrIdx", ",", "&", "IsStore", ")", ";", "bool", "IsSPFirstOperand", "=", "isStackPointerFirstOperand", "(", "Inst", ")", ";", "if", "(", "IsMemAccess", "||", "IsSPFirstOperand", ")", "{", "if", "(", "PendingCall", ")", "report_fatal_error", "(", "\"Dangerous instruction in branch delay slot!\"", ")", ";", "bool", "MaskBefore", "=", "(", "IsMemAccess", "&&", "baseRegNeedsLoadStoreMask", "(", "Inst", ".", "getOperand", "(", "AddrIdx", ")", ".", "getReg", "(", ")", ")", ")", ";", "bool", "MaskAfter", "=", "IsSPFirstOperand", "&&", "!", "IsStore", ";", "if", "(", "MaskBefore", "||", "MaskAfter", ")", "sandboxLoadStoreStackChange", "(", "Inst", ",", "AddrIdx", ",", "STI", ",", "MaskBefore", ",", "MaskAfter", ")", ";", "else", "MipsELFStreamer", "::", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "return", ";", "}", "bool", "IsIndirectCall", ";", "if", "(", "isCall", "(", "Inst", ".", "getOpcode", "(", ")", ",", "&", "IsIndirectCall", ")", ")", "{", "if", "(", "PendingCall", ")", "report_fatal_error", "(", "\"Dangerous instruction in branch delay slot!\"", ")", ";", "EmitBundleLock", "(", "true", ")", ";", "if", "(", "IsIndirectCall", ")", "{", "unsigned", "TargetReg", "=", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "emitMask", "(", "TargetReg", ",", "IndirectBranchMaskReg", ",", "STI", ")", ";", "}", "MipsELFStreamer", "::", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "PendingCall", "=", "true", ";", "return", ";", "}", "if", "(", "PendingCall", ")", "{", "MipsELFStreamer", "::", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "EmitBundleUnlock", "(", ")", ";", "PendingCall", "=", "false", ";", "return", ";", "}", "MipsELFStreamer", "::", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["Mips", "\"Dangerous instruction in branch delay slot!\"", "\"Dangerous instruction in branch delay slot!\"", "Mips", "\"Dangerous instruction in branch delay slot!\"", "1", "Mips", "Mips", "Mips"], "File": "MipsNaClELFStreamer17", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17532, "Length": 263, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_lower_local_decl_alignment", "(", "tree", "decl", ")", "{", "unsigned", "int", "new_align", "=", "ix86_local_alignment", "(", "decl", ",", "VOIDmode", ",", "DECL_ALIGN", "(", "decl", ")", ",", "true", ")", ";", "if", "(", "new_align", "<", "DECL_ALIGN", "(", "decl", ")", ")", "SET_DECL_ALIGN", "(", "decl", ",", "new_align", ")", ";", "}", ""], "natrual_language": ["Implememnt", "TARGET_LOWER_LOCAL_DECL_ALIGNMENT", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_lower_local_decl_alignment", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17533, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "*", "rs6000_alloc_sched_context", "(", "void", ")", "{", "return", "xmalloc", "(", "sizeof", "(", "rs6000_sched_context_def", ")", ")", ";", "}", ""], "natrual_language": ["Allocate", "store", "for", "new", "scheduling", "context", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_alloc_sched_context", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17534, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "function_arg_record_value", "(", "const_tree", "type", ",", "machine_mode", "mode", ",", "int", "slotno", ",", "bool", "named", ",", "int", "regbase", ")", "{", "HOST_WIDE_INT", "typesize", "=", "int_size_in_bytes", "(", "type", ")", ";", "assign_data_t", "data", ";", "int", "nregs", ";", "data", ".", "slotno", "=", "slotno", ";", "data", ".", "regbase", "=", "regbase", ";", "data", ".", "nregs", "=", "0", ";", "data", ".", "intoffset", "=", "0", ";", "data", ".", "stack", "=", "false", ";", "traverse_record_type", "<", "assign_data_t", ",", "count_registers", ">", "(", "type", ",", "named", ",", "&", "data", ")", ";", "if", "(", "compute_int_layout", "(", "typesize", "*", "BITS_PER_UNIT", ",", "&", "data", ",", "&", "nregs", ")", ")", "data", ".", "nregs", "+=", "nregs", ";", "nregs", "=", "data", ".", "nregs", ";", "if", "(", "nregs", "==", "0", ")", "{", "if", "(", "typesize", "<=", "0", ")", "{", "return", "gen_rtx_REG", "(", "mode", ",", "regbase", ")", ";", "}", "nregs", "=", "(", "typesize", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "if", "(", "nregs", "+", "slotno", ">", "SPARC_INT_ARG_MAX", ")", "nregs", "=", "SPARC_INT_ARG_MAX", "-", "slotno", ";", "}", "gcc_assert", "(", "nregs", ">", "0", ")", ";", "data", ".", "ret", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "rtvec_alloc", "(", "data", ".", "stack", "+", "nregs", ")", ")", ";", "if", "(", "data", ".", "stack", ")", "XVECEXP", "(", "data", ".", "ret", ",", "0", ",", "0", ")", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "NULL_RTX", ",", "const0_rtx", ")", ";", "data", ".", "nregs", "=", "0", ";", "data", ".", "intoffset", "=", "0", ";", "traverse_record_type", "<", "assign_data_t", ",", "assign_registers", ">", "(", "type", ",", "named", ",", "&", "data", ")", ";", "assign_int_registers", "(", "typesize", "*", "BITS_PER_UNIT", ",", "&", "data", ")", ";", "gcc_assert", "(", "data", ".", "nregs", "==", "nregs", ")", ";", "return", "data", ".", "ret", ";", "}", ""], "natrual_language": ["Used", "by", "function_arg", "and", "sparc_function_value_1", "to", "implement", "the", "complex", "conventions", "of", "the", "64-bit", "ABI", "for", "passing", "and", "returning", "structures", ".", "Return", "an", "expression", "valid", "as", "a", "return", "value", "for", "the", "FUNCTION_ARG", "and", "TARGET_FUNCTION_VALUE", ".", "TYPE", "is", "the", "data", "type", "of", "the", "argument", "(", "as", "a", "tree", ")", ".", "This", "is", "null", "for", "libcalls", "where", "that", "information", "may", "not", "be", "available", ".", "MODE", "is", "the", "argument", "'s", "machine", "mode", ".", "SLOTNO", "is", "the", "index", "number", "of", "the", "argument", "'s", "slot", "in", "the", "parameter", "array", ".", "NAMED", "is", "true", "if", "this", "argument", "is", "a", "named", "parameter", "(", "otherwise", "it", "is", "an", "extra", "parameter", "matching", "an", "ellipsis", ")", ".", "REGBASE", "is", "the", "regno", "of", "the", "base", "register", "for", "the", "parameter", "array", "."], "TS_V_token": ["sparc", "0", "0", "0", "0", "1", "0", "0", "0", "0", "0"], "File": "sparc5", "Func": "function_arg_record_value", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17535, "Length": 259, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mt_epilogue_uses", "(", "int", "regno", ")", "{", "if", "(", "cfun", "->", "machine", "&&", "cfun", "->", "machine", "->", "interrupt_handler", "&&", "reload_completed", ")", "return", "1", ";", "return", "regno", "==", "GPR_LINK", ";", "}", ""], "natrual_language": ["Implement", "EPILOGUE_USES", "."], "TS_V_token": ["mt", "1"], "File": "mt", "Func": "mt_epilogue_uses", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17536, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_count_ldrdstrd_insns", "(", "rtx", "*", "operands", ",", "bool", "load", ")", "{", "int", "count", ";", "rtx", "ops", "[", "2", "]", ";", "int", "regnum", ",", "memnum", ";", "if", "(", "load", ")", "regnum", "=", "0", ",", "memnum", "=", "1", ";", "else", "regnum", "=", "1", ",", "memnum", "=", "0", ";", "ops", "[", "regnum", "]", "=", "gen_rtx_REG", "(", "DImode", ",", "REGNO", "(", "operands", "[", "0", "]", ")", ")", ";", "ops", "[", "memnum", "]", "=", "adjust_address", "(", "operands", "[", "2", "]", ",", "DImode", ",", "0", ")", ";", "output_move_double", "(", "ops", ",", "false", ",", "&", "count", ")", ";", "return", "count", ";", "}", ""], "natrual_language": ["Same", "as", "above", ",", "but", "operands", "are", "a", "register/memory", "pair", "in", "SImode", ".", "Assumes", "operands", "has", "the", "base", "register", "in", "position", "0", "and", "memory", "in", "position", "2", "(", "which", "is", "the", "order", "provided", "by", "the", "arm_", "{", "ldrd", ",", "strd", "}", "patterns", ")", "."], "TS_V_token": ["arm", "2", "0", "1", "1", "0", "0", "2", "0"], "File": "arm", "Func": "arm_count_ldrdstrd_insns", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17537, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "rs6000_trampoline_size", "(", ")", "{", "int", "ret", "=", "0", ";", "switch", "(", "DEFAULT_ABI", ")", "{", "default", ":", "abort", "(", ")", ";", "case", "ABI_AIX", ":", "ret", "=", "(", "TARGET_32BIT", ")", "?", "12", ":", "24", ";", "break", ";", "case", "ABI_DARWIN", ":", "case", "ABI_V4", ":", "case", "ABI_AIX_NODESC", ":", "ret", "=", "(", "TARGET_32BIT", ")", "?", "40", ":", "48", ";", "break", ";", "}", "return", "ret", ";", "}", ""], "natrual_language": ["Length", "in", "units", "of", "the", "trampoline", "for", "entering", "a", "nested", "function", "."], "TS_V_token": ["rs6000", "0", "12", "24", "40", "48"], "File": "rs60002", "Func": "rs6000_trampoline_size", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17538, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMicroMips", "(", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "return", "STI", ".", "getFeatureBits", "(", ")", "&", "Mips", "::", "FeatureMicroMips", ";", "}", ""], "natrual_language": ["Check", "whether", "a", "given", "symbol", "has", "been", "flagged", "with", "MICROMIPS", "flag", "."], "TS_V_token": ["Mips", "Mips", "Mips::FeatureMicroMips"], "File": "MipsMCCodeEmitter20", "Func": "isMicroMips", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17539, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_emit_atomic_load_op", "(", "enum", "aarch64_atomic_load_op_code", "code", ",", "machine_mode", "mode", ",", "rtx", "dst", ",", "rtx", "src", ",", "rtx", "mem", ",", "rtx", "model", ")", "{", "typedef", "rtx", "(", "*", "aarch64_atomic_load_op_fn", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "const", "aarch64_atomic_load_op_fn", "plus", "[", "]", "=", "{", "gen_aarch64_atomic_loadaddqi", ",", "gen_aarch64_atomic_loadaddhi", ",", "gen_aarch64_atomic_loadaddsi", ",", "gen_aarch64_atomic_loadadddi", "}", ";", "const", "aarch64_atomic_load_op_fn", "eor", "[", "]", "=", "{", "gen_aarch64_atomic_loadeorqi", ",", "gen_aarch64_atomic_loadeorhi", ",", "gen_aarch64_atomic_loadeorsi", ",", "gen_aarch64_atomic_loadeordi", "}", ";", "const", "aarch64_atomic_load_op_fn", "ior", "[", "]", "=", "{", "gen_aarch64_atomic_loadsetqi", ",", "gen_aarch64_atomic_loadsethi", ",", "gen_aarch64_atomic_loadsetsi", ",", "gen_aarch64_atomic_loadsetdi", "}", ";", "const", "aarch64_atomic_load_op_fn", "bic", "[", "]", "=", "{", "gen_aarch64_atomic_loadclrqi", ",", "gen_aarch64_atomic_loadclrhi", ",", "gen_aarch64_atomic_loadclrsi", ",", "gen_aarch64_atomic_loadclrdi", "}", ";", "aarch64_atomic_load_op_fn", "gen", ";", "int", "idx", "=", "0", ";", "switch", "(", "mode", ")", "{", "case", "QImode", ":", "idx", "=", "0", ";", "break", ";", "case", "HImode", ":", "idx", "=", "1", ";", "break", ";", "case", "SImode", ":", "idx", "=", "2", ";", "break", ";", "case", "DImode", ":", "idx", "=", "3", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "switch", "(", "code", ")", "{", "case", "AARCH64_LDOP_PLUS", ":", "gen", "=", "plus", "[", "idx", "]", ";", "break", ";", "case", "AARCH64_LDOP_XOR", ":", "gen", "=", "eor", "[", "idx", "]", ";", "break", ";", "case", "AARCH64_LDOP_OR", ":", "gen", "=", "ior", "[", "idx", "]", ";", "break", ";", "case", "AARCH64_LDOP_BIC", ":", "gen", "=", "bic", "[", "idx", "]", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "emit_insn", "(", "gen", "(", "dst", ",", "mem", ",", "src", ",", "model", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "atomic", "load-operate", "."], "TS_V_token": ["aarch64", "0", "0", "1", "2", "3"], "File": "aarch643", "Func": "aarch64_emit_atomic_load_op", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17540, "Length": 235, "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": 17541, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "!", "DisableCTRLoops", "&&", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createPPCCTRLoops", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["PowerPC", "PPC", "PPC"], "File": "PPCTargetMachine18", "Func": "addPreRegAlloc", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17542, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "RegImmPair", ">", "AArch64InstrInfo", "::", "isAddImmediate", "(", "const", "MachineInstr", "&", "MI", ",", "Register", "Reg", ")", "const", "{", "int", "Sign", "=", "1", ";", "int64_t", "Offset", "=", "0", ";", "if", "(", "Reg", "!=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", "return", "None", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "None", ";", "case", "AArch64", "::", "SUBWri", ":", "case", "AArch64", "::", "SUBXri", ":", "case", "AArch64", "::", "SUBSWri", ":", "case", "AArch64", "::", "SUBSXri", ":", "Sign", "*=", "-", "1", ";", "LLVM_FALLTHROUGH", ";", "case", "AArch64", "::", "ADDSWri", ":", "case", "AArch64", "::", "ADDSXri", ":", "case", "AArch64", "::", "ADDWri", ":", "case", "AArch64", "::", "ADDXri", ":", "{", "if", "(", "!", "MI", ".", "getOperand", "(", "0", ")", ".", "isReg", "(", ")", "||", "!", "MI", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "||", "!", "MI", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", ")", "return", "None", ";", "Offset", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "*", "Sign", ";", "int", "Shift", "=", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "assert", "(", "(", "Shift", "==", "0", "||", "Shift", "==", "12", ")", "&&", "\"Shift can be either 0 or 12\"", ")", ";", "Offset", "=", "Offset", "<<", "Shift", ";", "}", "}", "return", "RegImmPair", "{", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ",", "Offset", "}", ";", "}", ""], "natrual_language": ["If", "the", "specific", "machine", "instruction", "is", "an", "instruction", "that", "adds", "an", "immediate", "value", "and", "a", "register", ",", "and", "stores", "the", "result", "in", "the", "given", "register", "Reg", ",", "return", "a", "pair", "of", "the", "source", "register", "and", "the", "offset", "which", "has", "been", "added", "."], "TS_V_token": ["AArch64", "AArch64", "1", "0", "0", "AArch64::SUBWri", "AArch64::SUBXri", "AArch64::SUBSWri", "AArch64::SUBSXri", "1", "AArch64::ADDSWri", "AArch64::ADDSXri", "AArch64::ADDWri", "AArch64::ADDXri", "0", "1", "2", "2", "3", "0", "12", "\"Shift can be either 0 or 12\"", "1"], "File": "AArch64InstrInfo104", "Func": "isAddImmediate", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17543, "Length": 219, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "getUndefRegClearance", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "&", "OpNum", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "!", "hasUndefRegUpdate", "(", "MI", ".", "getOpcode", "(", ")", ")", ")", "return", "0", ";", "OpNum", "=", "1", ";", "const", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNum", ")", ";", "if", "(", "MO", ".", "isUndef", "(", ")", "&&", "Register", "::", "isPhysicalRegister", "(", "MO", ".", "getReg", "(", ")", ")", ")", "{", "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", "1", "0"], "File": "X86InstrInfo144", "Func": "getUndefRegClearance", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17544, "Length": 80, "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", "&&", "SYMBOL_REF_TLS_MODEL", "(", "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": ["i386", "0", "1", "0"], "File": "i3863", "Func": "get_some_local_dynamic_name_1", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17545, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isDesirableToCommuteWithShift", "(", "const", "SDNode", "*", "N", ",", "CombineLevel", "Level", ")", "const", "{", "if", "(", "Level", "==", "BeforeLegalizeTypes", ")", "return", "true", ";", "if", "(", "Subtarget", "->", "isThumb", "(", ")", "&&", "Subtarget", "->", "isThumb1Only", "(", ")", ")", "return", "true", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "SHL", ")", "return", "true", ";", "return", "false", ";", "}", ""], "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": ["ARM", "ARM", "ISD::SHL"], "File": "ARMISelLowering (3)", "Func": "isDesirableToCommuteWithShift", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17546, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "CallLowering", "*", "X86Subtarget", "::", "getCallLowering", "(", ")", "const", "{", "assert", "(", "GISel", "&&", "\"Access to GlobalISel APIs not set\"", ")", ";", "return", "GISel", "->", "getCallLowering", "(", ")", ";", "}", ""], "natrual_language": ["Methods", "used", "by", "Global", "ISel", "."], "TS_V_token": ["X86", "X86", "\"Access to GlobalISel APIs not set\""], "File": "X86Subtarget109", "Func": "getCallLowering", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17547, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseInstrInfo", "::", "reMaterialize", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "unsigned", "SubIdx", ",", "const", "MachineInstr", "*", "Orig", ",", "const", "TargetRegisterInfo", "&", "TRI", ")", "const", "{", "unsigned", "Opcode", "=", "Orig", "->", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "{", "MachineInstr", "*", "MI", "=", "MBB", ".", "getParent", "(", ")", "->", "CloneMachineInstr", "(", "Orig", ")", ";", "MI", "->", "substituteRegister", "(", "Orig", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "DestReg", ",", "SubIdx", ",", "TRI", ")", ";", "MBB", ".", "insert", "(", "I", ",", "MI", ")", ";", "break", ";", "}", "case", "ARM", "::", "tLDRpci_pic", ":", "case", "ARM", "::", "t2LDRpci_pic", ":", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "unsigned", "CPI", "=", "Orig", "->", "getOperand", "(", "1", ")", ".", "getIndex", "(", ")", ";", "unsigned", "PCLabelId", "=", "duplicateCPV", "(", "MF", ",", "CPI", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "I", ",", "Orig", "->", "getDebugLoc", "(", ")", ",", "get", "(", "Opcode", ")", ",", "DestReg", ")", ".", "addConstantPoolIndex", "(", "CPI", ")", ".", "addImm", "(", "PCLabelId", ")", ";", "(", "*", "MIB", ")", ".", "setMemRefs", "(", "Orig", "->", "memoperands_begin", "(", ")", ",", "Orig", "->", "memoperands_end", "(", ")", ")", ";", "break", ";", "}", "}", "}", ""], "natrual_language": ["Re-issue", "the", "specified", "'original", "'", "instruction", "at", "the", "specific", "location", "targeting", "a", "new", "destination", "register", "."], "TS_V_token": ["ARM", "ARM", "0", "ARM::tLDRpci_pic", "ARM::t2LDRpci_pic", "1"], "File": "ARMBaseInstrInfo11", "Func": "reMaterialize", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17548, "Length": 202, "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", "(", ")", ")", "{", "if", "(", "ITBlockSize", "&&", "MI", "!=", "ITBlockMIs", "[", "ITBlockSize", "-", "1", "]", ")", "return", "Hazard", ";", "const", "TargetInstrDesc", "&", "TID", "=", "MI", "->", "getDesc", "(", ")", ";", "if", "(", "LastMI", "&&", "(", "TID", ".", "TSFlags", "&", "ARMII", "::", "DomainMask", ")", "!=", "ARMII", "::", "DomainGeneral", ")", "{", "MachineInstr", "*", "DefMI", "=", "LastMI", ";", "const", "TargetInstrDesc", "&", "LastTID", "=", "LastMI", "->", "getDesc", "(", ")", ";", "if", "(", "!", "LastTID", ".", "isBarrier", "(", ")", "&&", "(", "LastTID", ".", "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\"", "1", "ARMII::DomainMask", "ARMII::DomainGeneral", "ARMII::DomainMask", "ARMII::DomainGeneral", "0", "4"], "File": "ARMHazardRecognizer20", "Func": "getHazardType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17549, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "postOffset", "(", "unsigned", "LogAlign", "=", "0", ")", "const", "{", "unsigned", "PO", "=", "Offset", "+", "Size", ";", "unsigned", "Align", "=", "1", "<<", "LogAlign", ";", "return", "(", "PO", "+", "Align", "-", "1", ")", "/", "Align", "*", "Align", ";", "}", ""], "natrual_language": ["Compute", "the", "offset", "immediately", "following", "this", "block", "."], "TS_V_token": ["AArch64", "0", "1", "1"], "File": "AArch64BranchRelaxation", "Func": "postOffset", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17550, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mt_initial_elimination_offset", "(", "int", "from", ",", "int", "to", ")", "{", "mt_compute_frame_size", "(", "get_frame_size", "(", ")", ")", ";", "if", "(", "from", "==", "FRAME_POINTER_REGNUM", "&&", "to", "==", "STACK_POINTER_REGNUM", ")", "return", "0", ";", "else", "if", "(", "from", "==", "ARG_POINTER_REGNUM", "&&", "to", "==", "STACK_POINTER_REGNUM", ")", "return", "current_frame_info", ".", "total_size", ";", "else", "if", "(", "from", "==", "ARG_POINTER_REGNUM", "&&", "to", "==", "FRAME_POINTER_REGNUM", ")", "return", "current_frame_info", ".", "total_size", ";", "else", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "INITIAL_ELIMINATION_OFFSET", "."], "TS_V_token": ["mt", "0"], "File": "mt", "Func": "mt_initial_elimination_offset", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17551, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_spe_function_arg", "(", "const", "CUMULATIVE_ARGS", "*", "cum", ",", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "int", "gregno", "=", "cum", "->", "sysv_gregno", ";", "if", "(", "TARGET_E500_DOUBLE", "&&", "(", "mode", "==", "DFmode", "||", "mode", "==", "TFmode", "||", "mode", "==", "DCmode", "||", "mode", "==", "TCmode", ")", ")", "{", "int", "n_words", "=", "rs6000_arg_size", "(", "mode", ",", "type", ")", ";", "if", "(", "mode", "==", "DFmode", ")", "gregno", "+=", "(", "1", "-", "gregno", ")", "&", "1", ";", "if", "(", "gregno", "+", "n_words", "-", "1", ">", "GP_ARG_MAX_REG", ")", "return", "NULL_RTX", ";", "return", "spe_build_register_parallel", "(", "mode", ",", "gregno", ")", ";", "}", "if", "(", "cum", "->", "stdarg", ")", "{", "int", "n_words", "=", "rs6000_arg_size", "(", "mode", ",", "type", ")", ";", "if", "(", "n_words", "==", "2", "&&", "(", "gregno", "&", "1", ")", "==", "0", ")", "gregno", "+=", "1", ";", "if", "(", "gregno", "+", "n_words", "-", "1", "<=", "GP_ARG_MAX_REG", ")", "{", "rtx", "r1", ",", "r2", ";", "machine_mode", "m", "=", "SImode", ";", "r1", "=", "gen_rtx_REG", "(", "m", ",", "gregno", ")", ";", "r1", "=", "gen_rtx_EXPR_LIST", "(", "m", ",", "r1", ",", "const0_rtx", ")", ";", "r2", "=", "gen_rtx_REG", "(", "m", ",", "gregno", "+", "1", ")", ";", "r2", "=", "gen_rtx_EXPR_LIST", "(", "m", ",", "r2", ",", "GEN_INT", "(", "4", ")", ")", ";", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec", "(", "2", ",", "r1", ",", "r2", ")", ")", ";", "}", "else", "return", "NULL_RTX", ";", "}", "else", "{", "if", "(", "gregno", "<=", "GP_ARG_MAX_REG", ")", "return", "gen_rtx_REG", "(", "mode", ",", "gregno", ")", ";", "else", "return", "NULL_RTX", ";", "}", "}", ""], "natrual_language": ["Determine", "where", "to", "put", "a", "SIMD", "argument", "on", "the", "SPE", "."], "TS_V_token": ["powerpcspe", "1", "1", "1", "2", "1", "0", "1", "1", "1", "4", "2"], "File": "powerpcspe", "Func": "rs6000_spe_function_arg", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17552, "Length": 238, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCLinuxAsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "const", "DataLayout", "*", "TD", "=", "TM", ".", "getSubtargetImpl", "(", ")", "->", "getDataLayout", "(", ")", ";", "bool", "isPPC64", "=", "TD", "->", "getPointerSizeInBits", "(", ")", "==", "64", ";", "PPCTargetStreamer", "&", "TS", "=", "static_cast", "<", "PPCTargetStreamer", "&", ">", "(", "*", "OutStreamer", ".", "getTargetStreamer", "(", ")", ")", ";", "if", "(", "!", "TOC", ".", "empty", "(", ")", ")", "{", "const", "MCSectionELF", "*", "Section", ";", "if", "(", "isPPC64", ")", "Section", "=", "OutStreamer", ".", "getContext", "(", ")", ".", "getELFSection", "(", "\".toc\"", ",", "ELF", "::", "SHT_PROGBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getReadOnly", "(", ")", ")", ";", "else", "Section", "=", "OutStreamer", ".", "getContext", "(", ")", ".", "getELFSection", "(", "\".got2\"", ",", "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", "(", ")", ")", ";", "if", "(", "isPPC64", ")", "TS", ".", "emitTCEntry", "(", "*", "S", ")", ";", "else", "OutStreamer", ".", "EmitSymbolValue", "(", "S", ",", "4", ")", ";", "}", "}", "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", ")", ";", "}", "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", "PPC", "PPC", "\".toc\"", "\".got2\"", "PPC", "4", "0", "PPC", "8", "4"], "File": "PPCAsmPrinter116", "Func": "doFinalization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17553, "Length": 363, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MMIXSubtarget", "*", "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": ["MMIX", "MMIX"], "File": "MMIXTargetMachine", "Func": "getSubtargetImpl", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17554, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", "&&", "\"Unexpected\"", ")", ";", "unsigned", "i", "=", "0", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "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", "(", "i", ")", ".", "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", "(", "MI", ".", "getOperand", "(", "i", "+", "3", ")", ".", "isImm", "(", ")", ")", "{", "int", "Imm", "=", "(", "int", ")", "(", "MI", ".", "getOperand", "(", "i", "+", "3", ")", ".", "getImm", "(", ")", ")", ";", "int", "Offset", "=", "FIOffset", "+", "Imm", ";", "assert", "(", "(", "!", "Is64Bit", "||", "isInt", "<", "32", ">", "(", "(", "long", "long", ")", "FIOffset", "+", "Imm", ")", ")", "&&", "\"Requesting 64-bit offset in 32-bit immediate!\"", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "3", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", "else", "{", "uint64_t", "Offset", "=", "FIOffset", "+", "(", "uint64_t", ")", "MI", ".", "getOperand", "(", "i", "+", "3", ")", ".", "getOffset", "(", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "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\"", "0", "\"Instr doesn't have FrameIndex operand!\"", "X86::TAILJMPm64", "X86::TAILJMPm", "0", "0", "3", "3", "32", "\"Requesting 64-bit offset in 32-bit immediate!\"", "3", "3", "3"], "File": "X86RegisterInfo43", "Func": "eliminateFrameIndex", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17555, "Length": 392, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_float_const_rtx_p", "(", "rtx", "x", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "x", ")", ";", "if", "(", "mode", "==", "VOIDmode", ")", "return", "false", ";", "unsigned", "HOST_WIDE_INT", "ival", ";", "if", "(", "CONST_DOUBLE_P", "(", "x", ")", "&&", "SCALAR_FLOAT_MODE_P", "(", "mode", ")", "&&", "aarch64_reinterpret_float_as_int", "(", "x", ",", "&", "ival", ")", ")", "{", "scalar_int_mode", "imode", "=", "(", "mode", "==", "HFmode", "?", "SImode", ":", "int_mode_for_mode", "(", "mode", ")", ".", "require", "(", ")", ")", ";", "int", "num_instr", "=", "aarch64_internal_mov_immediate", "(", "NULL_RTX", ",", "gen_int_mode", "(", "ival", ",", "imode", ")", ",", "false", ",", "imode", ")", ";", "return", "num_instr", "<", "3", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "rtx", "X", "is", "an", "immediate", "constant", "that", "can", "be", "moved", "using", "a", "single", "MOV", "(", "+MOVK", ")", "followed", "by", "an", "FMOV", "."], "TS_V_token": ["aarch64", "3"], "File": "aarch641", "Func": "aarch64_float_const_rtx_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17556, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isFMAFasterThanFMulAndFAdd", "(", "const", "MachineFunction", "&", "MF", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "case", "MVT", "::", "v4f32", ":", "case", "MVT", "::", "v8f16", ":", "return", "Subtarget", "->", "hasMVEFloatOps", "(", ")", ";", "case", "MVT", "::", "f16", ":", "return", "Subtarget", "->", "useFPVFMx16", "(", ")", ";", "case", "MVT", "::", "f32", ":", "return", "Subtarget", "->", "useFPVFMx", "(", ")", ";", "case", "MVT", "::", "f64", ":", "return", "Subtarget", "->", "useFPVFMx64", "(", ")", ";", "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": ["ARM", "ARM", "MVT::v4f32", "MVT::v8f16", "MVT::f16", "MVT::f32", "MVT::f64"], "File": "ARMISelLowering (2)5", "Func": "isFMAFasterThanFMulAndFAdd", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17557, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rename_fma_node", "(", "fma_forest", "*", "forest", ",", "fma_node", "*", "node", ")", "{", "node", "->", "rename", "(", "forest", ")", ";", "}", ""], "natrual_language": ["Wrapper", "around", "fma_node", ":", ":dump_info", "for", "use", "as", "parameter", "of", "function", "pointer", "type", "in", "func_fma_steering", ":", ":dfs", "."], "TS_V_token": ["aarch64"], "File": "cortex-a57-fma-steering", "Func": "rename_fma_node", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17558, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "unsigned", "ptr_regno_for_savres", "(", "int", "sel", ")", "{", "if", "(", "DEFAULT_ABI", "==", "ABI_AIX", "||", "DEFAULT_ABI", "==", "ABI_ELFv2", ")", "return", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_FPR", "||", "(", "sel", "&", "SAVRES_LR", ")", "?", "1", ":", "12", ";", "return", "DEFAULT_ABI", "==", "ABI_DARWIN", "&&", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_FPR", "?", "1", ":", "11", ";", "}", ""], "natrual_language": ["Return", "the", "register", "number", "used", "as", "a", "pointer", "by", "out-of-line", "save/restore", "functions", "."], "TS_V_token": ["rs6000", "1", "12", "1", "11"], "File": "rs6000-logue", "Func": "ptr_regno_for_savres", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17559, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc_initialize_trampoline", "(", "rtx", "tramp", ",", "rtx", "fnaddr", ",", "rtx", "cxt", ")", "{", "emit_move_insn", "(", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "tramp", ",", "0", ")", ")", ",", "expand_binop", "(", "SImode", ",", "ior_optab", ",", "expand_shift", "(", "RSHIFT_EXPR", ",", "SImode", ",", "fnaddr", ",", "size_int", "(", "10", ")", ",", "0", ",", "1", ")", ",", "GEN_INT", "(", "trunc_int_for_mode", "(", "0x03000000", ",", "SImode", ")", ")", ",", "NULL_RTX", ",", "1", ",", "OPTAB_DIRECT", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "tramp", ",", "4", ")", ")", ",", "expand_binop", "(", "SImode", ",", "ior_optab", ",", "expand_shift", "(", "RSHIFT_EXPR", ",", "SImode", ",", "cxt", ",", "size_int", "(", "10", ")", ",", "0", ",", "1", ")", ",", "GEN_INT", "(", "trunc_int_for_mode", "(", "0x05000000", ",", "SImode", ")", ")", ",", "NULL_RTX", ",", "1", ",", "OPTAB_DIRECT", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "tramp", ",", "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", "(", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "tramp", ",", "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_flush", "(", "validize_mem", "(", "gen_rtx_MEM", "(", "SImode", ",", "tramp", ")", ")", ")", ")", ";", "if", "(", "sparc_cpu", "!=", "PROCESSOR_ULTRASPARC", "&&", "sparc_cpu", "!=", "PROCESSOR_ULTRASPARC3", ")", "emit_insn", "(", "gen_flush", "(", "validize_mem", "(", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "tramp", ",", "8", ")", ")", ")", ")", ")", ";", "emit_library_call", "(", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"__enable_execute_stack\"", ")", ",", "LCT_NORMAL", ",", "VOIDmode", ",", "1", ",", "tramp", ",", "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", "8", "\"__enable_execute_stack\"", "1"], "File": "sparc3", "Func": "sparc_initialize_trampoline", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17560, "Length": 297, "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", "(", ")", ";", "const", "X86RegisterInfo", "*", "RegInfo", "=", "static_cast", "<", "const", "X86RegisterInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "unsigned", "SlotSize", "=", "RegInfo", "->", "getSlotSize", "(", ")", ";", "X86MachineFunctionInfo", "*", "X86FI", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "unsigned", "CalleeSavedFrameSize", "=", "0", ";", "int", "SpillSlotOffset", "=", "getOffsetOfLocalArea", "(", ")", "+", "X86FI", "->", "getTCReturnAddrDelta", "(", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "SpillSlotOffset", "-=", "SlotSize", ";", "MFI", "->", "CreateFixedSpillStackObject", "(", "SlotSize", ",", "SpillSlotOffset", ")", ";", "unsigned", "FPReg", "=", "RegInfo", "->", "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", ";", "const", "TargetRegisterClass", "*", "RC", "=", "RegInfo", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "SpillSlotOffset", "-=", "std", "::", "abs", "(", "SpillSlotOffset", ")", "%", "RC", "->", "getAlignment", "(", ")", ";", "SpillSlotOffset", "-=", "RC", "->", "getSize", "(", ")", ";", "int", "SlotIndex", "=", "MFI", "->", "CreateFixedSpillStackObject", "(", "RC", "->", "getSize", "(", ")", ",", "SpillSlotOffset", ")", ";", "CSI", "[", "i", "-", "1", "]", ".", "setFrameIdx", "(", "SlotIndex", ")", ";", "MFI", "->", "ensureMaxAlignment", "(", "RC", "->", "getAlignment", "(", ")", ")", ";", "}", "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", "X86", "X86", "0", "X86", "0", "0", "1", "X86::GR64RegClass", "X86::GR32RegClass", "1", "X86", "0", "1", "X86::GR64RegClass", "X86::GR32RegClass", "1"], "File": "X86FrameLowering106", "Func": "assignCalleeSavedSpillSlots", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17561, "Length": 416, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_vector_duplicate_value", "(", "machine_mode", "mode", ",", "rtx", "target", ",", "rtx", "val", ")", "{", "bool", "ok", ";", "rtx_insn", "*", "insn", ";", "rtx", "dup", ";", "recog_data_d", "recog_data_save", "=", "recog_data", ";", "dup", "=", "gen_vec_duplicate", "(", "mode", ",", "val", ")", ";", "insn", "=", "emit_insn", "(", "gen_rtx_SET", "(", "target", ",", "dup", ")", ")", ";", "if", "(", "recog_memoized", "(", "insn", ")", "<", "0", ")", "{", "rtx_insn", "*", "seq", ";", "machine_mode", "innermode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "rtx", "reg", ";", "start_sequence", "(", ")", ";", "reg", "=", "force_reg", "(", "innermode", ",", "val", ")", ";", "if", "(", "GET_MODE", "(", "reg", ")", "!=", "innermode", ")", "reg", "=", "gen_lowpart", "(", "innermode", ",", "reg", ")", ";", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", "=", "gen_vec_duplicate", "(", "mode", ",", "reg", ")", ";", "seq", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "if", "(", "seq", ")", "emit_insn_before", "(", "seq", ",", "insn", ")", ";", "ok", "=", "recog_memoized", "(", "insn", ")", ">=", "0", ";", "gcc_assert", "(", "ok", ")", ";", "}", "recog_data", "=", "recog_data_save", ";", "return", "true", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "ix86_expand_vector_init_duplicate", ".", "Tries", "to", "fill", "target", "with", "val", "via", "vec_duplicate", "."], "TS_V_token": ["i386", "0", "0"], "File": "i386-expand1", "Func": "ix86_vector_duplicate_value", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17562, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "paired_expand_builtin", "(", "tree", "exp", ",", "rtx", "target", ",", "bool", "*", "expandedp", ")", "{", "tree", "fndecl", "=", "TREE_OPERAND", "(", "CALL_EXPR_FN", "(", "exp", ")", ",", "0", ")", ";", "enum", "rs6000_builtins", "fcode", "=", "(", "enum", "rs6000_builtins", ")", "DECL_FUNCTION_CODE", "(", "fndecl", ")", ";", "const", "struct", "builtin_description", "*", "d", ";", "size_t", "i", ";", "*", "expandedp", "=", "true", ";", "switch", "(", "fcode", ")", "{", "case", "PAIRED_BUILTIN_STX", ":", "return", "paired_expand_stv_builtin", "(", "CODE_FOR_paired_stx", ",", "exp", ")", ";", "case", "PAIRED_BUILTIN_LX", ":", "return", "paired_expand_lv_builtin", "(", "CODE_FOR_paired_lx", ",", "exp", ",", "target", ")", ";", "default", ":", "break", ";", "}", "d", "=", "bdesc_paired_preds", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "bdesc_paired_preds", ")", ";", "i", "++", ",", "d", "++", ")", "if", "(", "d", "->", "code", "==", "fcode", ")", "return", "paired_expand_predicate_builtin", "(", "d", "->", "icode", ",", "exp", ",", "target", ")", ";", "*", "expandedp", "=", "false", ";", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Expand", "the", "builtin", "in", "EXP", "and", "store", "the", "result", "in", "TARGET", ".", "Store", "true", "in", "*", "EXPANDEDP", "if", "we", "found", "a", "builtin", "to", "expand", "."], "TS_V_token": ["rs6000", "0", "0"], "File": "rs60004", "Func": "paired_expand_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17563, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "num_insns_constant", "(", "rtx", "op", ",", "enum", "machine_mode", "mode", ")", "{", "HOST_WIDE_INT", "low", ",", "high", ";", "switch", "(", "GET_CODE", "(", "op", ")", ")", "{", "case", "CONST_INT", ":", "if", "(", "(", "INTVAL", "(", "op", ")", ">>", "31", ")", "!=", "0", "&&", "(", "INTVAL", "(", "op", ")", ">>", "31", ")", "!=", "-", "1", "&&", "mask64_operand", "(", "op", ",", "mode", ")", ")", "return", "2", ";", "else", "return", "num_insns_constant_wide", "(", "INTVAL", "(", "op", ")", ")", ";", "case", "CONST_DOUBLE", ":", "if", "(", "mode", "==", "SFmode", ")", "{", "long", "l", ";", "REAL_VALUE_TYPE", "rv", ";", "REAL_VALUE_FROM_CONST_DOUBLE", "(", "rv", ",", "op", ")", ";", "REAL_VALUE_TO_TARGET_SINGLE", "(", "rv", ",", "l", ")", ";", "return", "num_insns_constant_wide", "(", "(", "HOST_WIDE_INT", ")", "l", ")", ";", "}", "if", "(", "mode", "==", "VOIDmode", "||", "mode", "==", "DImode", ")", "{", "high", "=", "CONST_DOUBLE_HIGH", "(", "op", ")", ";", "low", "=", "CONST_DOUBLE_LOW", "(", "op", ")", ";", "}", "else", "{", "long", "l", "[", "2", "]", ";", "REAL_VALUE_TYPE", "rv", ";", "REAL_VALUE_FROM_CONST_DOUBLE", "(", "rv", ",", "op", ")", ";", "REAL_VALUE_TO_TARGET_DOUBLE", "(", "rv", ",", "l", ")", ";", "high", "=", "l", "[", "WORDS_BIG_ENDIAN", "==", "0", "]", ";", "low", "=", "l", "[", "WORDS_BIG_ENDIAN", "!=", "0", "]", ";", "}", "if", "(", "TARGET_32BIT", ")", "return", "(", "num_insns_constant_wide", "(", "low", ")", "+", "num_insns_constant_wide", "(", "high", ")", ")", ";", "else", "{", "if", "(", "(", "high", "==", "0", "&&", "low", ">=", "0", ")", "||", "(", "high", "==", "-", "1", "&&", "low", "<", "0", ")", ")", "return", "num_insns_constant_wide", "(", "low", ")", ";", "else", "if", "(", "mask64_operand", "(", "op", ",", "mode", ")", ")", "return", "2", ";", "else", "if", "(", "low", "==", "0", ")", "return", "num_insns_constant_wide", "(", "high", ")", "+", "1", ";", "else", "return", "(", "num_insns_constant_wide", "(", "high", ")", "+", "num_insns_constant_wide", "(", "low", ")", "+", "1", ")", ";", "}", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "it", "takes", "to", "form", "a", "constant", "in", "as", "many", "gprs", "are", "needed", "for", "MODE", "."], "TS_V_token": ["rs6000", "31", "0", "31", "1", "2", "2", "0", "0", "0", "0", "1", "0", "2", "0", "1", "1"], "File": "rs60003", "Func": "num_insns_constant", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17564, "Length": 283, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FastISel", "::", "fastSelectInstruction", "(", "const", "Instruction", "*", "I", ")", "{", "switch", "(", "I", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Instruction", "::", "Load", ":", "return", "X86SelectLoad", "(", "I", ")", ";", "case", "Instruction", "::", "Store", ":", "return", "X86SelectStore", "(", "I", ")", ";", "case", "Instruction", "::", "Ret", ":", "return", "X86SelectRet", "(", "I", ")", ";", "case", "Instruction", "::", "ICmp", ":", "case", "Instruction", "::", "FCmp", ":", "return", "X86SelectCmp", "(", "I", ")", ";", "case", "Instruction", "::", "ZExt", ":", "return", "X86SelectZExt", "(", "I", ")", ";", "case", "Instruction", "::", "Br", ":", "return", "X86SelectBranch", "(", "I", ")", ";", "case", "Instruction", "::", "LShr", ":", "case", "Instruction", "::", "AShr", ":", "case", "Instruction", "::", "Shl", ":", "return", "X86SelectShift", "(", "I", ")", ";", "case", "Instruction", "::", "SDiv", ":", "case", "Instruction", "::", "UDiv", ":", "case", "Instruction", "::", "SRem", ":", "case", "Instruction", "::", "URem", ":", "return", "X86SelectDivRem", "(", "I", ")", ";", "case", "Instruction", "::", "Select", ":", "return", "X86SelectSelect", "(", "I", ")", ";", "case", "Instruction", "::", "Trunc", ":", "return", "X86SelectTrunc", "(", "I", ")", ";", "case", "Instruction", "::", "FPExt", ":", "return", "X86SelectFPExt", "(", "I", ")", ";", "case", "Instruction", "::", "FPTrunc", ":", "return", "X86SelectFPTrunc", "(", "I", ")", ";", "case", "Instruction", "::", "SIToFP", ":", "return", "X86SelectSIToFP", "(", "I", ")", ";", "case", "Instruction", "::", "IntToPtr", ":", "case", "Instruction", "::", "PtrToInt", ":", "{", "EVT", "SrcVT", "=", "TLI", ".", "getValueType", "(", "I", "->", "getOperand", "(", "0", ")", "->", "getType", "(", ")", ")", ";", "EVT", "DstVT", "=", "TLI", ".", "getValueType", "(", "I", "->", "getType", "(", ")", ")", ";", "if", "(", "DstVT", ".", "bitsGT", "(", "SrcVT", ")", ")", "return", "X86SelectZExt", "(", "I", ")", ";", "if", "(", "DstVT", ".", "bitsLT", "(", "SrcVT", ")", ")", "return", "X86SelectTrunc", "(", "I", ")", ";", "unsigned", "Reg", "=", "getRegForValue", "(", "I", "->", "getOperand", "(", "0", ")", ")", ";", "if", "(", "Reg", "==", "0", ")", "return", "false", ";", "updateValueMap", "(", "I", ",", "Reg", ")", ";", "return", "true", ";", "}", "}", "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": ["X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "0", "X86", "X86", "0", "0"], "File": "X86FastISel101", "Func": "fastSelectInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17565, "Length": 309, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_evpc_neon_vtrn", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "int", "i", ",", "odd", ",", "mask", ",", "nelt", "=", "d", "->", "nelt", ";", "rtx", "out0", ",", "out1", ",", "in0", ",", "in1", ";", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "if", "(", "GET_MODE_UNIT_SIZE", "(", "d", "->", "vmode", ")", ">=", "8", ")", "return", "false", ";", "if", "(", "d", "->", "perm", "[", "0", "]", "==", "0", ")", "odd", "=", "0", ";", "else", "if", "(", "d", "->", "perm", "[", "0", "]", "==", "1", ")", "odd", "=", "1", ";", "else", "return", "false", ";", "mask", "=", "(", "d", "->", "one_vector_p", "?", "nelt", "-", "1", ":", "2", "*", "nelt", "-", "1", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "i", "+=", "2", ")", "{", "if", "(", "d", "->", "perm", "[", "i", "]", "!=", "i", "+", "odd", ")", "return", "false", ";", "if", "(", "d", "->", "perm", "[", "i", "+", "1", "]", "!=", "(", "(", "i", "+", "nelt", "+", "odd", ")", "&", "mask", ")", ")", "return", "false", ";", "}", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "switch", "(", "d", "->", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_neon_vtrnv16qi_internal", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_neon_vtrnv8qi_internal", ";", "break", ";", "case", "V8HImode", ":", "gen", "=", "gen_neon_vtrnv8hi_internal", ";", "break", ";", "case", "V4HImode", ":", "gen", "=", "gen_neon_vtrnv4hi_internal", ";", "break", ";", "case", "V8HFmode", ":", "gen", "=", "gen_neon_vtrnv8hf_internal", ";", "break", ";", "case", "V4HFmode", ":", "gen", "=", "gen_neon_vtrnv4hf_internal", ";", "break", ";", "case", "V4SImode", ":", "gen", "=", "gen_neon_vtrnv4si_internal", ";", "break", ";", "case", "V2SImode", ":", "gen", "=", "gen_neon_vtrnv2si_internal", ";", "break", ";", "case", "V2SFmode", ":", "gen", "=", "gen_neon_vtrnv2sf_internal", ";", "break", ";", "case", "V4SFmode", ":", "gen", "=", "gen_neon_vtrnv4sf_internal", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "in0", "=", "d", "->", "op0", ";", "in1", "=", "d", "->", "op1", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "{", "std", "::", "swap", "(", "in0", ",", "in1", ")", ";", "odd", "=", "!", "odd", ";", "}", "out0", "=", "d", "->", "target", ";", "out1", "=", "gen_reg_rtx", "(", "d", "->", "vmode", ")", ";", "if", "(", "odd", ")", "std", "::", "swap", "(", "out0", ",", "out1", ")", ";", "emit_insn", "(", "gen", "(", "out0", ",", "in0", ",", "in1", ",", "out1", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "for", "the", "VTRN", "insns", "."], "TS_V_token": ["arm", "8", "0", "0", "0", "0", "1", "1", "1", "2", "1", "0", "2", "1"], "File": "arm6", "Func": "arm_evpc_neon_vtrn", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17566, "Length": 364, "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", ":", "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": "ARMRegisterBankInfo21", "Func": "getInstrMapping", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17567, "Length": 144, "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": 17568, "Length": 441, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_print_isa_options", "(", "FILE", "*", "file", ",", "int", "indent", ",", "const", "char", "*", "string", ",", "HOST_WIDE_INT", "flags", ")", "{", "rs6000_print_options_internal", "(", "file", ",", "indent", ",", "string", ",", "flags", ",", "\"-m\"", ",", "&", "rs6000_opt_masks", "[", "0", "]", ",", "ARRAY_SIZE", "(", "rs6000_opt_masks", ")", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "print", "the", "current", "isa", "options", "on", "a", "line", "."], "TS_V_token": ["rs6000", "\"-m\"", "0"], "File": "rs6000", "Func": "rs6000_print_isa_options", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17569, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "scalar_chain", "::", "convert_insn_common", "(", "rtx_insn", "*", "insn", ")", "{", "for", "(", "df_ref", "ref", "=", "DF_INSN_DEFS", "(", "insn", ")", ";", "ref", ";", "ref", "=", "DF_REF_NEXT_LOC", "(", "ref", ")", ")", "if", "(", "bitmap_bit_p", "(", "defs_conv", ",", "DF_REF_REGNO", "(", "ref", ")", ")", ")", "{", "df_link", "*", "use", ";", "for", "(", "use", "=", "DF_REF_CHAIN", "(", "ref", ")", ";", "use", ";", "use", "=", "use", "->", "next", ")", "if", "(", "NONDEBUG_INSN_P", "(", "DF_REF_INSN", "(", "use", "->", "ref", ")", ")", "&&", "(", "DF_REF_REG_MEM_P", "(", "use", "->", "ref", ")", "||", "!", "bitmap_bit_p", "(", "insns", ",", "DF_REF_INSN_UID", "(", "use", "->", "ref", ")", ")", ")", ")", "break", ";", "if", "(", "use", ")", "convert_reg", "(", "insn", ",", "DF_REF_REG", "(", "ref", ")", ",", "*", "defs_map", ".", "get", "(", "regno_reg_rtx", "[", "DF_REF_REGNO", "(", "ref", ")", "]", ")", ")", ";", "else", "if", "(", "MAY_HAVE_DEBUG_BIND_INSNS", ")", "{", "auto_vec", "<", "rtx_insn", "*", ",", "5", ">", "to_reset_debug_insns", ";", "for", "(", "use", "=", "DF_REF_CHAIN", "(", "ref", ")", ";", "use", ";", "use", "=", "use", "->", "next", ")", "if", "(", "DEBUG_INSN_P", "(", "DF_REF_INSN", "(", "use", "->", "ref", ")", ")", ")", "{", "rtx_insn", "*", "debug_insn", "=", "DF_REF_INSN", "(", "use", "->", "ref", ")", ";", "df_link", "*", "def", ";", "for", "(", "def", "=", "DF_REF_CHAIN", "(", "use", "->", "ref", ")", ";", "def", ";", "def", "=", "def", "->", "next", ")", "if", "(", "!", "bitmap_bit_p", "(", "insns", ",", "DF_REF_INSN_UID", "(", "def", "->", "ref", ")", ")", ")", "break", ";", "if", "(", "def", ")", "to_reset_debug_insns", ".", "safe_push", "(", "debug_insn", ")", ";", "else", "{", "*", "DF_REF_REAL_LOC", "(", "use", "->", "ref", ")", "=", "*", "defs_map", ".", "get", "(", "regno_reg_rtx", "[", "DF_REF_REGNO", "(", "ref", ")", "]", ")", ";", "df_insn_rescan", "(", "debug_insn", ")", ";", "}", "}", "while", "(", "!", "to_reset_debug_insns", ".", "is_empty", "(", ")", ")", "{", "rtx_insn", "*", "debug_insn", "=", "to_reset_debug_insns", ".", "pop", "(", ")", ";", "INSN_VAR_LOCATION_LOC", "(", "debug_insn", ")", "=", "gen_rtx_UNKNOWN_VAR_LOC", "(", ")", ";", "df_insn_rescan_debug_internal", "(", "debug_insn", ")", ";", "}", "}", "}", "for", "(", "df_ref", "ref", "=", "DF_INSN_USES", "(", "insn", ")", ";", "ref", ";", "ref", "=", "DF_REF_NEXT_LOC", "(", "ref", ")", ")", "if", "(", "!", "DF_REF_REG_MEM_P", "(", "ref", ")", ")", "if", "(", "rtx", "*", "vreg", "=", "defs_map", ".", "get", "(", "regno_reg_rtx", "[", "DF_REF_REGNO", "(", "ref", ")", "]", ")", ")", "{", "rtx", "note", "=", "find_reg_note", "(", "insn", ",", "REG_DEAD", ",", "DF_REF_REG", "(", "ref", ")", ")", ";", "if", "(", "note", ")", "XEXP", "(", "note", ",", "0", ")", "=", "*", "vreg", ";", "*", "DF_REF_REAL_LOC", "(", "ref", ")", "=", "*", "vreg", ";", "}", "}", ""], "natrual_language": ["Helper", "function", "for", "converting", "INSN", "to", "vector", "mode", "."], "TS_V_token": ["i386", "5", "0"], "File": "i386-features1", "Func": "convert_insn_common", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17570, "Length": 389, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_xcoff_declare_function_name", "(", "FILE", "*", "file", ",", "const", "char", "*", "name", ",", "tree", "decl", ")", "{", "char", "*", "buffer", "=", "(", "char", "*", ")", "alloca", "(", "strlen", "(", "name", ")", "+", "1", ")", ";", "char", "*", "p", ";", "int", "dollar_inside", "=", "0", ";", "struct", "declare_alias_data", "data", "=", "{", "file", ",", "false", "}", ";", "strcpy", "(", "buffer", ",", "name", ")", ";", "p", "=", "strchr", "(", "buffer", ",", "'$'", ")", ";", "while", "(", "p", ")", "{", "*", "p", "=", "'_'", ";", "dollar_inside", "++", ";", "p", "=", "strchr", "(", "p", "+", "1", ",", "'$'", ")", ";", "}", "if", "(", "TREE_PUBLIC", "(", "decl", ")", ")", "{", "if", "(", "!", "RS6000_WEAK", "||", "!", "DECL_WEAK", "(", "decl", ")", ")", "{", "if", "(", "dollar_inside", ")", "{", "fprintf", "(", "file", ",", "\"\\t.rename .%s,\\\".%s\\\"\\n\"", ",", "buffer", ",", "name", ")", ";", "fprintf", "(", "file", ",", "\"\\t.rename %s,\\\"%s\\\"\\n\"", ",", "buffer", ",", "name", ")", ";", "}", "fputs", "(", "\"\\t.globl .\"", ",", "file", ")", ";", "RS6000_OUTPUT_BASENAME", "(", "file", ",", "buffer", ")", ";", "fputs", "(", "rs6000_xcoff_visibility", "(", "decl", ")", ",", "file", ")", ";", "putc", "(", "'\\n'", ",", "file", ")", ";", "}", "}", "else", "{", "if", "(", "dollar_inside", ")", "{", "fprintf", "(", "file", ",", "\"\\t.rename .%s,\\\".%s\\\"\\n\"", ",", "buffer", ",", "name", ")", ";", "fprintf", "(", "file", ",", "\"\\t.rename %s,\\\"%s\\\"\\n\"", ",", "buffer", ",", "name", ")", ";", "}", "fputs", "(", "\"\\t.lglobl .\"", ",", "file", ")", ";", "RS6000_OUTPUT_BASENAME", "(", "file", ",", "buffer", ")", ";", "putc", "(", "'\\n'", ",", "file", ")", ";", "}", "fputs", "(", "\"\\t.csect \"", ",", "file", ")", ";", "RS6000_OUTPUT_BASENAME", "(", "file", ",", "buffer", ")", ";", "fputs", "(", "TARGET_32BIT", "?", "\"[DS]\\n\"", ":", "\"[DS],3\\n\"", ",", "file", ")", ";", "RS6000_OUTPUT_BASENAME", "(", "file", ",", "buffer", ")", ";", "fputs", "(", "\":\\n\"", ",", "file", ")", ";", "symtab_node", "::", "get", "(", "decl", ")", "->", "call_for_symbol_and_aliases", "(", "rs6000_declare_alias", ",", "&", "data", ",", "true", ")", ";", "fputs", "(", "TARGET_32BIT", "?", "\"\\t.long .\"", ":", "\"\\t.llong .\"", ",", "file", ")", ";", "RS6000_OUTPUT_BASENAME", "(", "file", ",", "buffer", ")", ";", "fputs", "(", "\", TOC[tc0], 0\\n\"", ",", "file", ")", ";", "in_section", "=", "NULL", ";", "switch_to_section", "(", "function_section", "(", "decl", ")", ")", ";", "putc", "(", "'.'", ",", "file", ")", ";", "RS6000_OUTPUT_BASENAME", "(", "file", ",", "buffer", ")", ";", "fputs", "(", "\":\\n\"", ",", "file", ")", ";", "data", ".", "function_descriptor", "=", "true", ";", "symtab_node", "::", "get", "(", "decl", ")", "->", "call_for_symbol_and_aliases", "(", "rs6000_declare_alias", ",", "&", "data", ",", "true", ")", ";", "if", "(", "!", "DECL_IGNORED_P", "(", "decl", ")", ")", "{", "if", "(", "write_symbols", "==", "DBX_DEBUG", "||", "write_symbols", "==", "XCOFF_DEBUG", ")", "xcoffout_declare_function", "(", "file", ",", "decl", ",", "buffer", ")", ";", "else", "if", "(", "write_symbols", "==", "DWARF2_DEBUG", ")", "{", "name", "=", "(", "*", "targetm", ".", "strip_name_encoding", ")", "(", "name", ")", ";", "fprintf", "(", "file", ",", "\"\\t.function .%s,.%s,2,0\\n\"", ",", "name", ",", "name", ")", ";", "}", "}", "return", ";", "}", ""], "natrual_language": ["This", "macro", "produces", "the", "initial", "definition", "of", "a", "function", "name", ".", "On", "the", "RS/6000", ",", "we", "need", "to", "place", "an", "extra", "'", ".", "'", "in", "the", "function", "name", "and", "output", "the", "function", "descriptor", ".", "Dollar", "signs", "are", "converted", "to", "underscores", ".", "The", "csect", "for", "the", "function", "will", "have", "already", "been", "created", "when", "text_section", "was", "selected", ".", "We", "do", "have", "to", "go", "back", "to", "that", "csect", ",", "however", ".", "The", "third", "and", "fourth", "parameters", "to", "the", ".function", "pseudo-op", "(", "16", "and", "044", ")", "are", "placeholders", "which", "no", "longer", "have", "any", "use", ".", "Because", "AIX", "assembler", "'s", ".set", "command", "has", "unexpected", "semantics", ",", "we", "output", "all", "aliases", "as", "alternative", "labels", "in", "front", "of", "the", "definition", "."], "TS_V_token": ["powerpcspe", "1", "0", "1", "\"\\t.rename .%s,\\\".%s\\\"\\n\"", "\"\\t.rename %s,\\\"%s\\\"\\n\"", "\"\\t.globl .\"", "\"\\t.rename .%s,\\\".%s\\\"\\n\"", "\"\\t.rename %s,\\\"%s\\\"\\n\"", "\"\\t.lglobl .\"", "\"\\t.csect \"", "\"[DS]\\n\"", "\"[DS],3\\n\"", "\":\\n\"", "\"\\t.long .\"", "\"\\t.llong .\"", "\", TOC[tc0], 0\\n\"", "\":\\n\"", "\"\\t.function .%s,.%s,2,0\\n\""], "File": "powerpcspe", "Func": "rs6000_xcoff_declare_function_name", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17571, "Length": 428, "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", "(", "VOIDmode", ",", "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", "(", "VOIDmode", ",", "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": "i3864", "Func": "ix86_expand_rounddf_32", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17572, "Length": 341, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CAHPFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "assert", "(", "&", "MF", ".", "front", "(", ")", "==", "&", "MBB", "&&", "\"Shrink-wrapping not yet supported\"", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "unsigned", "FPReg", "=", "getFPReg", "(", ")", ";", "unsigned", "SPReg", "=", "getSPReg", "(", ")", ";", "DebugLoc", "DL", ";", "determineFrameLayout", "(", "MF", ")", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "0", "&&", "!", "MFI", ".", "adjustsStack", "(", ")", ")", "return", ";", "adjustReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "SPReg", ",", "SPReg", ",", "-", "StackSize", ",", "MachineInstr", "::", "FrameSetup", ")", ";", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "std", "::", "advance", "(", "MBBI", ",", "CSI", ".", "size", "(", ")", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "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": ["CAHP", "CAHP", "\"Shrink-wrapping not yet supported\"", "0"], "File": "CAHPFrameLowering", "Func": "emitPrologue", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17573, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "ix86_initial_elimination_offset", "(", "int", "from", ",", "int", "to", ")", "{", "struct", "ix86_frame", "&", "frame", "=", "cfun", "->", "machine", "->", "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": "i386", "Func": "ix86_initial_elimination_offset", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17574, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FixupBWInstPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "!", "FixupBWInsts", "||", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "this", "->", "MF", "=", "&", "MF", ";", "TII", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "OptForSize", "=", "MF", ".", "getFunction", "(", ")", ".", "optForSize", "(", ")", ";", "MLI", "=", "&", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "LiveRegs", ".", "init", "(", "TII", "->", "getRegisterInfo", "(", ")", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Start X86FixupBWInsts\\n\"", ";", ")", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "processBasicBlock", "(", "MF", ",", "MBB", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"End X86FixupBWInsts\\n\"", ";", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "\"Start X86FixupBWInsts\\n\"", "\"End X86FixupBWInsts\\n\""], "File": "X86FixupBWInsts2", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17575, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_cannot_copy_insn_p", "(", "rtx_insn", "*", "insn", ")", "{", "return", "recog_memoized", "(", "insn", ")", ">=", "0", "&&", "get_attr_cannot_copy", "(", "insn", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "INSN", "should", "not", "be", "copied", "."], "TS_V_token": ["rs6000", "0"], "File": "rs6000", "Func": "rs6000_cannot_copy_insn_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17576, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "*", "neon_output_logic_immediate", "(", "const", "char", "*", "mnem", ",", "rtx", "*", "op2", ",", "machine_mode", "mode", ",", "int", "inverse", ",", "int", "quad", ")", "{", "int", "width", ",", "is_valid", ";", "static", "char", "templ", "[", "40", "]", ";", "is_valid", "=", "neon_immediate_valid_for_logic", "(", "*", "op2", ",", "mode", ",", "inverse", ",", "op2", ",", "&", "width", ")", ";", "gcc_assert", "(", "is_valid", "!=", "0", ")", ";", "if", "(", "quad", ")", "sprintf", "(", "templ", ",", "\"%s.i%d\\t%%q0, %%2\"", ",", "mnem", ",", "width", ")", ";", "else", "sprintf", "(", "templ", ",", "\"%s.i%d\\t%%P0, %%2\"", ",", "mnem", ",", "width", ")", ";", "return", "templ", ";", "}", ""], "natrual_language": ["Return", "a", "string", "suitable", "for", "output", "of", "Neon", "immediate", "logic", "operation", "MNEM", "."], "TS_V_token": ["arm", "40", "0", "\"%s.i%d\\t%%q0, %%2\"", "\"%s.i%d\\t%%P0, %%2\""], "File": "arm", "Func": "neon_output_logic_immediate", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17577, "Length": 90, "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": 17578, "Length": 86, "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": ["AArch64"], "File": "AArch64Subtarget (2)", "Func": "enableMachineScheduler", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17579, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "F2003fTargetLowering", "::", "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_F2003f", ")", ";", "}", ""], "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": ["F2003f", "F2003f", "ISD::OutputArg", "16", "F2003f"], "File": "F2003fISelLowering", "Func": "CanLowerReturn", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17580, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMHazardRecognizer", "::", "Reset", "(", ")", "{", "LastMI", "=", "0", ";", "Stalls", "=", "0", ";", "ITBlockSize", "=", "0", ";", "ScoreboardHazardRecognizer", "::", "Reset", "(", ")", ";", "}", ""], "natrual_language": ["Reset", "the", "unwind", "opcode", "assembler", "."], "TS_V_token": ["ARM", "ARM", "0", "0", "0"], "File": "ARMHazardRecognizer10", "Func": "Reset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17581, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMRegisterInfo", "::", "getFrameRegister", "(", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "STI", ".", "isTargetDarwin", "(", ")", "||", "hasFP", "(", "MF", ")", ")", "return", "(", "STI", ".", "useThumbBacktraces", "(", ")", "||", "STI", ".", "isThumb", "(", ")", ")", "?", "ARM", "::", "R7", ":", "ARM", "::", "R11", ";", "else", "return", "ARM", "::", "SP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["ARM", "ARM", "ARM::R7", "ARM::R11", "ARM::SP"], "File": "ARMRegisterInfo13", "Func": "getFrameRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17582, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 Partial Reduction\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 Partial Reduction\""], "File": "X86PartialReduction", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17583, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "getScalarShiftAmountTy", "(", "EVT", "LHSTy", ")", "const", "override", "{", "return", "MVT", "::", "i8", ";", "}", ""], "natrual_language": ["Return", "the", "type", "to", "use", "for", "a", "scalar", "shift", "opcode", ",", "given", "the", "shifted", "amount", "type", "."], "TS_V_token": ["X86", "MVT::i8"], "File": "X86ISelLowering108", "Func": "getScalarShiftAmountTy", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17584, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "AArch64TTIImpl", "::", "getArithmeticReductionCost", "(", "unsigned", "Opcode", ",", "VectorType", "*", "ValTy", ",", "bool", "IsPairwiseForm", ")", "{", "if", "(", "IsPairwiseForm", ")", "return", "BaseT", "::", "getArithmeticReductionCost", "(", "Opcode", ",", "ValTy", ",", "IsPairwiseForm", ")", ";", "std", "::", "pair", "<", "int", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "ValTy", ")", ";", "MVT", "MTy", "=", "LT", ".", "second", ";", "int", "ISD", "=", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", ";", "assert", "(", "ISD", "&&", "\"Invalid opcode\"", ")", ";", "static", "const", "CostTblEntry", "CostTblNoPairwise", "[", "]", "{", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v8i8", ",", "1", "}", ",", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v16i8", ",", "1", "}", ",", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v4i16", ",", "1", "}", ",", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v8i16", ",", "1", "}", ",", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v4i32", ",", "1", "}", ",", "}", ";", "if", "(", "const", "auto", "*", "Entry", "=", "CostTableLookup", "(", "CostTblNoPairwise", ",", "ISD", ",", "MTy", ")", ")", "return", "LT", ".", "first", "*", "Entry", "->", "Cost", ";", "return", "BaseT", "::", "getArithmeticReductionCost", "(", "Opcode", ",", "ValTy", ",", "IsPairwiseForm", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "vector", "reduction", "intrinsics", "."], "TS_V_token": ["AArch64", "AArch64", "\"Invalid opcode\"", "ISD::ADD", "MVT::v8i8", "1", "ISD::ADD", "MVT::v16i8", "1", "ISD::ADD", "MVT::v4i16", "1", "ISD::ADD", "MVT::v8i16", "1", "ISD::ADD", "MVT::v4i32", "1"], "File": "AArch64TargetTransformInfo41", "Func": "getArithmeticReductionCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17585, "Length": 182, "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": 17586, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "valid_operands_ldrd_strd", "(", "rtx", "*", "operands", ",", "bool", "load", ")", "{", "int", "nops", "=", "2", ";", "HOST_WIDE_INT", "offsets", "[", "2", "]", ",", "offset", ",", "align", "[", "2", "]", ";", "rtx", "base", "=", "NULL_RTX", ";", "rtx", "cur_base", ",", "cur_offset", ";", "int", "i", ",", "gap", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nops", ";", "i", "++", ")", "{", "if", "(", "!", "mem_ok_for_ldrd_strd", "(", "operands", "[", "nops", "+", "i", "]", ",", "&", "cur_base", ",", "&", "cur_offset", ",", "&", "align", "[", "i", "]", ")", ")", "return", "false", ";", "if", "(", "i", "==", "0", ")", "base", "=", "cur_base", ";", "else", "if", "(", "REGNO", "(", "base", ")", "!=", "REGNO", "(", "cur_base", ")", ")", "return", "false", ";", "offsets", "[", "i", "]", "=", "INTVAL", "(", "cur_offset", ")", ";", "if", "(", "GET_CODE", "(", "operands", "[", "i", "]", ")", "==", "SUBREG", ")", "return", "false", ";", "}", "if", "(", "offsets", "[", "0", "]", ">", "offsets", "[", "1", "]", ")", "return", "false", ";", "gap", "=", "offsets", "[", "1", "]", "-", "offsets", "[", "0", "]", ";", "offset", "=", "offsets", "[", "0", "]", ";", "if", "(", "gap", "!=", "GET_MODE_SIZE", "(", "SImode", ")", ")", "return", "false", ";", "if", "(", "!", "align_ok_ldrd_strd", "(", "align", "[", "0", "]", ",", "offset", ")", ")", "return", "false", ";", "return", "operands_ok_ldrd_strd", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ",", "base", ",", "offset", ",", "false", ",", "load", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "parallel", "execution", "of", "the", "two", "word-size", "accesses", "provided", "could", "be", "satisfied", "with", "a", "single", "LDRD/STRD", "instruction", ".", "Two", "word-size", "accesses", "are", "represented", "by", "the", "OPERANDS", "array", ",", "where", "OPERANDS", "[", "0,1", "]", "are", "register", "operands", "and", "OPERANDS", "[", "2,3", "]", "are", "the", "corresponding", "memory", "operands", "."], "TS_V_token": ["arm", "2", "2", "2", "0", "0", "0", "1", "1", "0", "0", "0", "0", "1"], "File": "arm", "Func": "valid_operands_ldrd_strd", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17587, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "rs6000_trampoline_size", "(", "void", ")", "{", "int", "ret", "=", "0", ";", "switch", "(", "DEFAULT_ABI", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "ABI_AIX", ":", "ret", "=", "(", "TARGET_32BIT", ")", "?", "12", ":", "24", ";", "break", ";", "case", "ABI_ELFv2", ":", "gcc_assert", "(", "!", "TARGET_32BIT", ")", ";", "ret", "=", "32", ";", "break", ";", "case", "ABI_DARWIN", ":", "case", "ABI_V4", ":", "ret", "=", "(", "TARGET_32BIT", ")", "?", "40", ":", "48", ";", "break", ";", "}", "return", "ret", ";", "}", ""], "natrual_language": ["Length", "in", "units", "of", "the", "trampoline", "for", "entering", "a", "nested", "function", "."], "TS_V_token": ["rs6000", "0", "12", "24", "32", "40", "48"], "File": "rs6000", "Func": "rs6000_trampoline_size", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17588, "Length": 75, "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": 17589, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmPrinter", "::", "PrintAsmMemoryOperand", "(", "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", "true", ";", "case", "'b'", ":", "case", "'h'", ":", "case", "'w'", ":", "case", "'k'", ":", "case", "'q'", ":", "break", ";", "case", "'H'", ":", "printMemReference", "(", "MI", ",", "OpNo", ",", "O", ",", "\"H\"", ")", ";", "return", "false", ";", "case", "'P'", ":", "printMemReference", "(", "MI", ",", "OpNo", ",", "O", ",", "\"no-rip\"", ")", ";", "return", "false", ";", "}", "}", "printMemReference", "(", "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": ["X86", "X86", "0", "1", "0", "0", "\"H\"", "\"no-rip\""], "File": "X86AsmPrinter107", "Func": "PrintAsmMemoryOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17590, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetStreamer", "::", "emitInst", "(", "uint32_t", "Inst", ",", "char", "Suffix", ")", "{", "}", ""], "natrual_language": ["Callback", "used", "to", "implement", "the", ".inst", "directive", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMTargetStreamer (2)", "Func": "emitInst", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17591, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_tls_referenced_p", "(", "rtx", "x", ")", "{", "if", "(", "!", "TARGET_HAVE_TLS", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "PLUS", ")", "x", "=", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "1", "if", "X", "contains", "a", "thread-local", "symbol", "."], "TS_V_token": ["sparc", "0", "0", "0"], "File": "sparc", "Func": "sparc_tls_referenced_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17592, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isEqual", "(", "const", "CSKYTargetStreamer", "::", "SymbolIndex", "&", "A", ",", "const", "CSKYTargetStreamer", "::", "SymbolIndex", "&", "B", ")", "{", "return", "A", ".", "sym", "==", "B", ".", "sym", "&&", "A", ".", "kind", "==", "B", ".", "kind", ";", "}", ""], "natrual_language": ["isEqual", "-", "Compares", "two", "trees", "for", "structural", "equality", "and", "returns", "true", "if", "they", "are", "equal", "."], "TS_V_token": ["CSKY", "CSKY", "CSKY"], "File": "CSKYTargetStreamer", "Func": "isEqual", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17593, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_legitimate_constant_p", "(", "machine_mode", ",", "rtx", "x", ")", "{", "if", "(", "POINTER_BOUNDS_MODE_P", "(", "GET_MODE", "(", "x", ")", ")", ")", "return", "false", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "CONST", ":", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "{", "if", "(", "!", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "return", "false", ";", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "}", "if", "(", "TARGET_MACHO", "&&", "darwin_local_data_pic", "(", "x", ")", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", ")", "switch", "(", "XINT", "(", "x", ",", "1", ")", ")", "{", "case", "UNSPEC_GOT", ":", "case", "UNSPEC_GOTOFF", ":", "case", "UNSPEC_PLTOFF", ":", "return", "TARGET_64BIT", ";", "case", "UNSPEC_TPOFF", ":", "case", "UNSPEC_NTPOFF", ":", "x", "=", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ";", "return", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", "==", "TLS_MODEL_LOCAL_EXEC", ")", ";", "case", "UNSPEC_DTPOFF", ":", "x", "=", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ";", "return", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", "==", "TLS_MODEL_LOCAL_DYNAMIC", ")", ";", "default", ":", "return", "false", ";", "}", "if", "(", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "SYMBOL_REF", ")", "return", "false", ";", "case", "SYMBOL_REF", ":", "if", "(", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", ")", "return", "false", ";", "if", "(", "TARGET_DLLIMPORT_DECL_ATTRIBUTES", "&&", "SYMBOL_REF_DLLIMPORT_P", "(", "x", ")", ")", "return", "false", ";", "if", "(", "MACHO_DYNAMIC_NO_PIC_P", ")", "return", "machopic_symbol_defined_p", "(", "x", ")", ";", "break", ";", "case", "CONST_WIDE_INT", ":", "if", "(", "!", "TARGET_64BIT", "&&", "!", "standard_sse_constant_p", "(", "x", ")", ")", "return", "false", ";", "break", ";", "case", "CONST_VECTOR", ":", "if", "(", "!", "standard_sse_constant_p", "(", "x", ")", ")", "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": ["i386", "0", "1", "0", "1", "0", "0", "0", "0"], "File": "i3865", "Func": "ix86_legitimate_constant_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17594, "Length": 296, "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": ["AArch64"], "File": "AArch64A53Fix835769", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17595, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mova_p", "(", "rtx", "insn", ")", "{", "return", "(", "GET_CODE", "(", "insn", ")", "==", "INSN", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "SET", "&&", "GET_CODE", "(", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ")", "==", "UNSPEC", "&&", "XINT", "(", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ",", "1", ")", "==", "UNSPEC_MOVA", "&&", "GET_CODE", "(", "XVECEXP", "(", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ",", "0", ",", "0", ")", ")", "==", "LABEL_REF", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "insn", "is", "a", "mova", "insn", "."], "TS_V_token": ["sh", "1", "0", "0"], "File": "sh3", "Func": "mova_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17596, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_can_output_mi_thunk", "(", "const_tree", "thunk_fndecl", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "delta", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "vcall_offset", ",", "const_tree", "function", "ATTRIBUTE_UNUSED", ")", "{", "return", "(", "vcall_offset", ">=", "-", "32768", "||", "!", "fixed_regs", "[", "5", "]", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "sparc_output_mi_thunk", "would", "be", "able", "to", "output", "the", "assembler", "code", "for", "the", "thunk", "function", "specified", "by", "the", "arguments", "it", "is", "passed", ",", "and", "false", "otherwise", "."], "TS_V_token": ["sparc", "32768", "5"], "File": "sparc", "Func": "sparc_can_output_mi_thunk", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17597, "Length": 35, "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": 17598, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToAddress", "(", "Register", "ValVReg", ",", "Register", "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", ",", "1", ")", ";", "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", "1"], "File": "AArch64CallLowering14", "Func": "assignValueToAddress", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17599, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "long", "thumb_compute_save_reg_mask", "(", "void", ")", "{", "unsigned", "long", "mask", ";", "unsigned", "reg", ";", "mask", "=", "0", ";", "for", "(", "reg", "=", "0", ";", "reg", "<", "12", ";", "reg", "++", ")", "if", "(", "regs_ever_live", "[", "reg", "]", "&&", "!", "call_used_regs", "[", "reg", "]", ")", "mask", "|=", "1", "<<", "reg", ";", "if", "(", "flag_pic", "&&", "!", "TARGET_SINGLE_PIC_BASE", "&&", "current_function_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", "(", "!", "call_used_regs", "[", "reg", "]", ")", "mask", "|=", "1", "<<", "reg", ";", "}", "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"], "File": "arm3", "Func": "thumb_compute_save_reg_mask", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17600, "Length": 148, "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": 17601, "Length": 503, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "DCPU16TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "EVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'r'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "DCPU16", "::", "GR16RegClass", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["Dcpu16", "DCPU16", "1", "0", "0U", "DCPU16::GR16RegClass"], "File": "Dcpu16ISelLowering", "Func": "getRegForInlineAsmConstraint", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17602, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "X86Operand", "CreateMem", "(", "unsigned", "SegReg", ",", "MCValue", "Disp", ",", "unsigned", "BaseReg", ",", "unsigned", "IndexReg", ",", "unsigned", "Scale", ")", "{", "assert", "(", "(", "SegReg", "||", "BaseReg", "||", "IndexReg", ")", "&&", "\"Invalid memory operand!\"", ")", ";", "assert", "(", "(", "(", "Scale", "==", "1", "||", "Scale", "==", "2", "||", "Scale", "==", "4", "||", "Scale", "==", "8", ")", ")", "&&", "\"Invalid scale!\"", ")", ";", "X86Operand", "Res", ";", "Res", ".", "Kind", "=", "Memory", ";", "Res", ".", "Mem", ".", "SegReg", "=", "SegReg", ";", "Res", ".", "Mem", ".", "Disp", "=", "Disp", ";", "Res", ".", "Mem", ".", "BaseReg", "=", "BaseReg", ";", "Res", ".", "Mem", ".", "IndexReg", "=", "IndexReg", ";", "Res", ".", "Mem", ".", "Scale", "=", "Scale", ";", "return", "Res", ";", "}", ""], "natrual_language": ["Create", "a", "generalized", "memory", "operand", "."], "TS_V_token": ["X86", "X86", "\"Invalid memory operand!\"", "1", "2", "4", "8", "\"Invalid scale!\"", "X86"], "File": "X86AsmParser80", "Func": "CreateMem", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17603, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "Mips", "::", "CPURegsRegisterClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Mips", "::", "LW", ")", ",", "DestReg", ")", ".", "addImm", "(", "0", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "else", "if", "(", "RC", "==", "Mips", "::", "FGR32RegisterClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Mips", "::", "LWC1", ")", ",", "DestReg", ")", ".", "addImm", "(", "0", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "else", "if", "(", "RC", "==", "Mips", "::", "AFGR64RegisterClass", ")", "{", "if", "(", "!", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "isMips1", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Mips", "::", "LDC1", ")", ",", "DestReg", ")", ".", "addImm", "(", "0", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "}", "else", "{", "const", "TargetRegisterInfo", "*", "TRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "const", "unsigned", "*", "SubSet", "=", "TRI", "->", "getSubRegisters", "(", "DestReg", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Mips", "::", "LWC1", ")", ",", "SubSet", "[", "0", "]", ")", ".", "addImm", "(", "0", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Mips", "::", "LWC1", ")", ",", "SubSet", "[", "1", "]", ")", ".", "addImm", "(", "4", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "}", "}", "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": ["Mips", "Mips", "Mips::CPURegsRegisterClass", "Mips::LW", "0", "Mips::FGR32RegisterClass", "Mips::LWC1", "0", "Mips::AFGR64RegisterClass", "Mips", "Mips", "Mips::LDC1", "0", "Mips::LWC1", "0", "0", "Mips::LWC1", "1", "4", "\"Register class not handled!\""], "File": "MipsInstrInfo8", "Func": "loadRegFromStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17604, "Length": 281, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "num_insns_constant", "(", "rtx", "op", ",", "machine_mode", "mode", ")", "{", "HOST_WIDE_INT", "low", ",", "high", ";", "switch", "(", "GET_CODE", "(", "op", ")", ")", "{", "case", "CONST_INT", ":", "if", "(", "(", "INTVAL", "(", "op", ")", ">>", "31", ")", "!=", "0", "&&", "(", "INTVAL", "(", "op", ")", ">>", "31", ")", "!=", "-", "1", "&&", "rs6000_is_valid_and_mask", "(", "op", ",", "mode", ")", ")", "return", "2", ";", "else", "return", "num_insns_constant_wide", "(", "INTVAL", "(", "op", ")", ")", ";", "case", "CONST_WIDE_INT", ":", "{", "int", "i", ";", "int", "ins", "=", "CONST_WIDE_INT_NUNITS", "(", "op", ")", "-", "1", ";", "for", "(", "i", "=", "0", ";", "i", "<", "CONST_WIDE_INT_NUNITS", "(", "op", ")", ";", "i", "++", ")", "ins", "+=", "num_insns_constant_wide", "(", "CONST_WIDE_INT_ELT", "(", "op", ",", "i", ")", ")", ";", "return", "ins", ";", "}", "case", "CONST_DOUBLE", ":", "if", "(", "mode", "==", "SFmode", "||", "mode", "==", "SDmode", ")", "{", "long", "l", ";", "if", "(", "DECIMAL_FLOAT_MODE_P", "(", "mode", ")", ")", "REAL_VALUE_TO_TARGET_DECIMAL32", "(", "*", "CONST_DOUBLE_REAL_VALUE", "(", "op", ")", ",", "l", ")", ";", "else", "REAL_VALUE_TO_TARGET_SINGLE", "(", "*", "CONST_DOUBLE_REAL_VALUE", "(", "op", ")", ",", "l", ")", ";", "return", "num_insns_constant_wide", "(", "(", "HOST_WIDE_INT", ")", "l", ")", ";", "}", "long", "l", "[", "2", "]", ";", "if", "(", "DECIMAL_FLOAT_MODE_P", "(", "mode", ")", ")", "REAL_VALUE_TO_TARGET_DECIMAL64", "(", "*", "CONST_DOUBLE_REAL_VALUE", "(", "op", ")", ",", "l", ")", ";", "else", "REAL_VALUE_TO_TARGET_DOUBLE", "(", "*", "CONST_DOUBLE_REAL_VALUE", "(", "op", ")", ",", "l", ")", ";", "high", "=", "l", "[", "WORDS_BIG_ENDIAN", "==", "0", "]", ";", "low", "=", "l", "[", "WORDS_BIG_ENDIAN", "!=", "0", "]", ";", "if", "(", "TARGET_32BIT", ")", "return", "(", "num_insns_constant_wide", "(", "low", ")", "+", "num_insns_constant_wide", "(", "high", ")", ")", ";", "else", "{", "if", "(", "(", "high", "==", "0", "&&", "low", ">=", "0", ")", "||", "(", "high", "==", "-", "1", "&&", "low", "<", "0", ")", ")", "return", "num_insns_constant_wide", "(", "low", ")", ";", "else", "if", "(", "rs6000_is_valid_and_mask", "(", "op", ",", "mode", ")", ")", "return", "2", ";", "else", "if", "(", "low", "==", "0", ")", "return", "num_insns_constant_wide", "(", "high", ")", "+", "1", ";", "else", "return", "(", "num_insns_constant_wide", "(", "high", ")", "+", "num_insns_constant_wide", "(", "low", ")", "+", "1", ")", ";", "}", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "it", "takes", "to", "form", "a", "constant", "in", "as", "many", "gprs", "are", "needed", "for", "MODE", "."], "TS_V_token": ["rs6000", "31", "0", "31", "1", "2", "1", "0", "2", "0", "0", "0", "0", "1", "0", "2", "0", "1", "1"], "File": "rs60005", "Func": "num_insns_constant", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17605, "Length": 332, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_assemble_integer", "(", "rtx", "x", ",", "unsigned", "int", "size", ",", "int", "aligned_p", ")", "{", "if", "(", "aligned_p", "&&", "size", "==", "8", "&&", "GET_CODE", "(", "x", ")", "!=", "CONST_INT", ")", "{", "if", "(", "TARGET_V9", ")", "{", "assemble_integer_with_op", "(", "\"\\t.xword\\t\"", ",", "x", ")", ";", "return", "true", ";", "}", "else", "{", "assemble_aligned_integer", "(", "4", ",", "const0_rtx", ")", ";", "assemble_aligned_integer", "(", "4", ",", "x", ")", ";", "return", "true", ";", "}", "}", "return", "default_assemble_integer", "(", "x", ",", "size", ",", "aligned_p", ")", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "assembling", "integer", "objects", ".", "The", "sparc", "version", "has", "special", "handling", "for", "aligned", "DI-mode", "objects", "."], "TS_V_token": ["sparc", "8", "\"\\t.xword\\t\"", "4", "4"], "File": "sparc", "Func": "sparc_assemble_integer", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17606, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "or1k_save_reg", "(", "int", "regno", ",", "HOST_WIDE_INT", "offset", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "regno", ")", ";", "rtx", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "rtx", "insn", "=", "emit_move_insn", "(", "mem", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", ""], "natrual_language": ["Emit", "rtl", "to", "save", "register", "REGNO", "contents", "to", "stack", "memory", "at", "the", "given", "OFFSET", "from", "the", "current", "stack", "pointer", "."], "TS_V_token": ["or1k", "1"], "File": "or1k", "Func": "or1k_save_reg", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17607, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsCodeEmitter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "MipsTargetMachine", "&", "Target", "=", "static_cast", "<", "MipsTargetMachine", "&", ">", "(", "const_cast", "<", "TargetMachine", "&", ">", "(", "MF", ".", "getTarget", "(", ")", ")", ")", ";", "JTI", "=", "Target", ".", "getJITInfo", "(", ")", ";", "II", "=", "Target", ".", "getInstrInfo", "(", ")", ";", "TD", "=", "Target", ".", "getDataLayout", "(", ")", ";", "Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "MCPEs", "=", "&", "MF", ".", "getConstantPool", "(", ")", "->", "getConstants", "(", ")", ";", "MJTEs", "=", "0", ";", "if", "(", "MF", ".", "getJumpTableInfo", "(", ")", ")", "MJTEs", "=", "&", "MF", ".", "getJumpTableInfo", "(", ")", "->", "getJumpTables", "(", ")", ";", "JTI", "->", "Initialize", "(", "MF", ",", "IsPIC", ",", "Subtarget", "->", "isLittle", "(", ")", ")", ";", "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", ";", ")", "emitInstruction", "(", "*", "I", "++", ",", "*", "MBB", ")", ";", "}", "}", "while", "(", "MCE", ".", "finishFunction", "(", "MF", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "0", "\"JITTing function '\"", "\"'\\n\""], "File": "MipsCodeEmitter", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17608, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "originalTypeIsVectorFloat", "(", "const", "Type", "*", "Ty", ")", "{", "if", "(", "Ty", "->", "isVectorTy", "(", ")", "&&", "Ty", "->", "isFPOrFPVectorTy", "(", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "original", "type", "was", "vXfXX", "/", "vXfXX", "."], "TS_V_token": ["Mips"], "File": "MipsCCState", "Func": "originalTypeIsVectorFloat", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17609, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetELFStreamer", "::", "emitLabel", "(", "MCSymbol", "*", "S", ")", "{", "auto", "*", "Symbol", "=", "cast", "<", "MCSymbolELF", ">", "(", "S", ")", ";", "if", "(", "!", "isMicroMipsEnabled", "(", ")", ")", "return", ";", "getStreamer", "(", ")", ".", "getAssembler", "(", ")", ".", "registerSymbol", "(", "*", "Symbol", ")", ";", "uint8_t", "Type", "=", "Symbol", "->", "getType", "(", ")", ";", "if", "(", "Type", "!=", "ELF", "::", "STT_FUNC", ")", "return", ";", "Symbol", "->", "setOther", "(", "ELF", "::", "STO_MIPS_MICROMIPS", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "label", "for", "Symbol", "into", "the", "current", "section", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsTargetStreamer10", "Func": "emitLabel", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17610, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "xstormy16_print_operand", "(", "FILE", "*", "file", ",", "rtx", "x", ",", "int", "code", ")", "{", "switch", "(", "code", ")", "{", "case", "'B'", ":", "{", "static", "int", "bits_set", "[", "8", "]", "=", "{", "0", ",", "1", ",", "1", ",", "2", ",", "1", ",", "2", ",", "2", ",", "3", "}", ";", "HOST_WIDE_INT", "xx", "=", "1", ";", "HOST_WIDE_INT", "l", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST_INT", ")", "xx", "=", "INTVAL", "(", "x", ")", ";", "else", "output_operand_lossage", "(", "\"'B' operand is not constant\"", ")", ";", "if", "(", "bits_set", "[", "xx", "&", "7", "]", "<=", "1", ")", "{", "if", "(", "(", "~", "xx", "&", "~", "(", "HOST_WIDE_INT", ")", "0xff", ")", "==", "0", ")", "xx", "&=", "0xff", ";", "else", "if", "(", "(", "~", "xx", "&", "~", "(", "HOST_WIDE_INT", ")", "0xffff", ")", "==", "0", ")", "xx", "&=", "0xffff", ";", "l", "=", "exact_log2", "(", "xx", ")", ";", "}", "else", "{", "if", "(", "(", "xx", "&", "~", "(", "HOST_WIDE_INT", ")", "0xff", ")", "==", "0", ")", "xx", "|=", "~", "(", "HOST_WIDE_INT", ")", "0xff", ";", "else", "if", "(", "(", "xx", "&", "~", "(", "HOST_WIDE_INT", ")", "0xffff", ")", "==", "0", ")", "xx", "|=", "~", "(", "HOST_WIDE_INT", ")", "0xffff", ";", "l", "=", "exact_log2", "(", "~", "xx", ")", ";", "}", "if", "(", "l", "==", "-", "1", ")", "output_operand_lossage", "(", "\"'B' operand has multiple bits set\"", ")", ";", "fprintf", "(", "file", ",", "IMMEDIATE_PREFIX", "HOST_WIDE_INT_PRINT_DEC", ",", "l", ")", ";", "return", ";", "}", "case", "'C'", ":", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", ")", "assemble_name", "(", "file", ",", "XSTR", "(", "x", ",", "0", ")", ")", ";", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", ")", "output_asm_label", "(", "x", ")", ";", "else", "xstormy16_print_operand_address", "(", "file", ",", "x", ")", ";", "return", ";", "case", "'o'", ":", "case", "'O'", ":", "{", "HOST_WIDE_INT", "xx", "=", "0", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST_INT", ")", "xx", "=", "INTVAL", "(", "x", ")", ";", "else", "output_operand_lossage", "(", "\"'o' operand is not constant\"", ")", ";", "if", "(", "code", "==", "'O'", ")", "xx", "=", "-", "xx", ";", "fprintf", "(", "file", ",", "IMMEDIATE_PREFIX", "HOST_WIDE_INT_PRINT_DEC", ",", "xx", "-", "1", ")", ";", "return", ";", "}", "case", "'b'", ":", "{", "HOST_WIDE_INT", "xx", "=", "1", ";", "HOST_WIDE_INT", "l", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST_INT", ")", "xx", "=", "INTVAL", "(", "x", ")", ";", "else", "output_operand_lossage", "(", "\"'B' operand is not constant\"", ")", ";", "l", "=", "7", "-", "xx", ";", "fputs", "(", "IMMEDIATE_PREFIX", ",", "file", ")", ";", "fprintf", "(", "file", ",", "HOST_WIDE_INT_PRINT_DEC", ",", "l", ")", ";", "return", ";", "}", "case", "0", ":", "break", ";", "default", ":", "output_operand_lossage", "(", "\"xstormy16_print_operand: unknown code\"", ")", ";", "return", ";", "}", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "REG", ":", "fputs", "(", "reg_names", "[", "REGNO", "(", "x", ")", "]", ",", "file", ")", ";", "break", ";", "case", "MEM", ":", "xstormy16_print_operand_address", "(", "file", ",", "XEXP", "(", "x", ",", "0", ")", ")", ";", "break", ";", "default", ":", "fputs", "(", "IMMEDIATE_PREFIX", ",", "file", ")", ";", "output_addr_const", "(", "file", ",", "x", ")", ";", "break", ";", "}", "return", ";", "}", ""], "natrual_language": ["Print", "an", "operand", "to", "an", "assembler", "instruction", "."], "TS_V_token": ["stormy16", "8", "0", "1", "1", "2", "1", "2", "2", "3", "1", "\"'B' operand is not constant\"", "7", "1", "0xff", "0", "0xff", "0xffff", "0", "0xffff", "0xff", "0", "0xff", "0xffff", "0", "0xffff", "1", "\"'B' operand has multiple bits set\"", "0", "0", "\"'o' operand is not constant\"", "1", "1", "\"'B' operand is not constant\"", "7", "0", "\"xstormy16_print_operand: unknown code\"", "0"], "File": "stormy163", "Func": "xstormy16_print_operand", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17611, "Length": 466, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_libgcc_floating_mode_supported_p", "(", "machine_mode", "mode", ")", "{", "return", "(", "mode", "==", "HFmode", "?", "true", ":", "default_libgcc_floating_mode_supported_p", "(", "mode", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LIBGCC_FLOATING_POINT_MODE_SUPPORTED_P", "-", "return", "TRUE", "if", "MODE", "is", "HFmode", ",", "and", "punt", "to", "the", "generic", "implementation", "otherwise", "."], "TS_V_token": ["aarch64"], "File": "aarch644", "Func": "aarch64_libgcc_floating_mode_supported_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17612, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"ARM64 branch relaxation pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM64", "\"ARM64 branch relaxation pass\""], "File": "ARM64BranchRelaxation1", "Func": "getPassName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17613, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86RetpolineThunks", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "getPassName", "(", ")", "<<", "'\\n'", ")", ";", "TM", "=", "&", "MF", ".", "getTarget", "(", ")", ";", ";", "STI", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "Is64Bit", "=", "TM", "->", "getTargetTriple", "(", ")", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ";", "MMI", "=", "&", "getAnalysis", "<", "MachineModuleInfo", ">", "(", ")", ";", "Module", "&", "M", "=", "const_cast", "<", "Module", "&", ">", "(", "*", "MMI", "->", "getModule", "(", ")", ")", ";", "if", "(", "!", "MF", ".", "getName", "(", ")", ".", "startswith", "(", "ThunkNamePrefix", ")", ")", "{", "if", "(", "InsertedThunks", ")", "return", "false", ";", "if", "(", "!", "STI", "->", "useRetpoline", "(", ")", "||", "STI", "->", "useRetpolineExternalThunk", "(", ")", ")", "return", "false", ";", "if", "(", "Is64Bit", ")", "createThunkFunction", "(", "M", ",", "R11ThunkName", ")", ";", "else", "for", "(", "StringRef", "Name", ":", "{", "EAXThunkName", ",", "ECXThunkName", ",", "EDXThunkName", ",", "PushThunkName", "}", ")", "createThunkFunction", "(", "M", ",", "Name", ")", ";", "InsertedThunks", "=", "true", ";", "return", "true", ";", "}", "if", "(", "Is64Bit", ")", "{", "assert", "(", "MF", ".", "getName", "(", ")", "==", "\"__llvm_retpoline_r11\"", "&&", "\"Should only have an r11 thunk on 64-bit targets\"", ")", ";", "populateThunk", "(", "MF", ",", "X86", "::", "R11", ")", ";", "}", "else", "{", "if", "(", "MF", ".", "getName", "(", ")", "==", "EAXThunkName", ")", "populateThunk", "(", "MF", ",", "X86", "::", "EAX", ")", ";", "else", "if", "(", "MF", ".", "getName", "(", ")", "==", "ECXThunkName", ")", "populateThunk", "(", "MF", ",", "X86", "::", "ECX", ")", ";", "else", "if", "(", "MF", ".", "getName", "(", ")", "==", "EDXThunkName", ")", "populateThunk", "(", "MF", ",", "X86", "::", "EDX", ")", ";", "else", "if", "(", "MF", ".", "getName", "(", ")", "==", "PushThunkName", ")", "populateThunk", "(", "MF", ")", ";", "else", "llvm_unreachable", "(", "\"Invalid thunk name on x86-32!\"", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "\"__llvm_retpoline_r11\"", "\"Should only have an r11 thunk on 64-bit targets\"", "X86::R11", "X86::EAX", "X86::ECX", "X86::EDX", "\"Invalid thunk name on x86-32!\""], "File": "X86RetpolineThunks12", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17614, "Length": 295, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isFCmpOrdCheaperThanFCmpZero", "(", "Type", "*", "Ty", ")", "{", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "faster", "to", "check", "if", "a", "floating-point", "value", "is", "NaN", "(", "or", "not-NaN", ")", "versus", "a", "comparison", "against", "a", "constant", "FP", "zero", "value", "."], "TS_V_token": ["X86", "X86"], "File": "X86TargetTransformInfo (2)", "Func": "isFCmpOrdCheaperThanFCmpZero", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17615, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "matches_type_p", "(", "const_tree", "model_type", ",", "const_tree", "candidate", ")", "{", "if", "(", "VECTOR_TYPE_P", "(", "model_type", ")", ")", "{", "if", "(", "!", "VECTOR_TYPE_P", "(", "candidate", ")", "||", "maybe_ne", "(", "TYPE_VECTOR_SUBPARTS", "(", "model_type", ")", ",", "TYPE_VECTOR_SUBPARTS", "(", "candidate", ")", ")", "||", "TYPE_MODE", "(", "model_type", ")", "!=", "TYPE_MODE", "(", "candidate", ")", ")", "return", "false", ";", "model_type", "=", "TREE_TYPE", "(", "model_type", ")", ";", "candidate", "=", "TREE_TYPE", "(", "candidate", ")", ";", "}", "return", "(", "candidate", "!=", "error_mark_node", "&&", "TYPE_MAIN_VARIANT", "(", "model_type", ")", "==", "TYPE_MAIN_VARIANT", "(", "candidate", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "CANDIDATE", "is", "equivalent", "to", "MODEL_TYPE", "for", "overloading", "purposes", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "matches_type_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17616, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "loongarch_classify_address", "(", "struct", "loongarch_address_info", "*", "info", ",", "rtx", "x", ",", "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", "loongarch_valid_base_register_p", "(", "info", "->", "reg", ",", "mode", ",", "strict_p", ")", ";", "case", "PLUS", ":", "if", "(", "loongarch_valid_base_register_p", "(", "XEXP", "(", "x", ",", "0", ")", ",", "mode", ",", "strict_p", ")", "&&", "loongarch_valid_index_p", "(", "info", ",", "XEXP", "(", "x", ",", "1", ")", ",", "mode", ",", "strict_p", ")", ")", "{", "info", "->", "reg", "=", "XEXP", "(", "x", ",", "0", ")", ";", "return", "true", ";", "}", "if", "(", "loongarch_valid_base_register_p", "(", "XEXP", "(", "x", ",", "1", ")", ",", "mode", ",", "strict_p", ")", "&&", "loongarch_valid_index_p", "(", "info", ",", "XEXP", "(", "x", ",", "0", ")", ",", "mode", ",", "strict_p", ")", ")", "{", "info", "->", "reg", "=", "XEXP", "(", "x", ",", "1", ")", ";", "return", "true", ";", "}", "info", "->", "type", "=", "ADDRESS_REG", ";", "info", "->", "reg", "=", "XEXP", "(", "x", ",", "0", ")", ";", "info", "->", "offset", "=", "XEXP", "(", "x", ",", "1", ")", ";", "return", "(", "loongarch_valid_base_register_p", "(", "info", "->", "reg", ",", "mode", ",", "strict_p", ")", "&&", "loongarch_valid_offset_p", "(", "info", "->", "offset", ",", "mode", ")", ")", ";", "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": ["loongarch", "0", "1", "0", "1", "0", "1", "0", "1"], "File": "loongarch", "Func": "loongarch_classify_address", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17617, "Length": 220, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMSubtarget", "::", "ARMSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "TargetMachine", "&", "TM", ",", "bool", "IsLittle", ",", "const", "TargetOptions", "&", "Options", ")", ":", "ARMGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "ARMProcFamily", "(", "Others", ")", ",", "ARMProcClass", "(", "None", ")", ",", "stackAlignment", "(", "4", ")", ",", "CPUString", "(", "CPU", ")", ",", "IsLittle", "(", "IsLittle", ")", ",", "TargetTriple", "(", "TT", ")", ",", "Options", "(", "Options", ")", ",", "TargetABI", "(", "ARM_ABI_UNKNOWN", ")", ",", "DL", "(", "computeDataLayout", "(", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ")", ")", ")", ",", "TSInfo", "(", "DL", ")", ",", "JITInfo", "(", ")", ",", "InstrInfo", "(", "isThumb1Only", "(", ")", "?", "(", "ARMBaseInstrInfo", "*", ")", "new", "Thumb1InstrInfo", "(", "*", "this", ")", ":", "!", "isThumb", "(", ")", "?", "(", "ARMBaseInstrInfo", "*", ")", "new", "ARMInstrInfo", "(", "*", "this", ")", ":", "(", "ARMBaseInstrInfo", "*", ")", "new", "Thumb2InstrInfo", "(", "*", "this", ")", ")", ",", "TLInfo", "(", "TM", ")", ",", "FrameLowering", "(", "!", "isThumb1Only", "(", ")", "?", "new", "ARMFrameLowering", "(", "*", "this", ")", ":", "(", "ARMFrameLowering", "*", ")", "new", "Thumb1FrameLowering", "(", "*", "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", "4", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM"], "File": "ARMSubtarget (2)", "Func": "ARMSubtarget", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17618, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "KudeyarFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "KudeyarMachineFunctionInfo", "*", "KudeyarFI", "=", "MF", ".", "getInfo", "<", "KudeyarMachineFunctionInfo", ">", "(", ")", ";", "const", "KudeyarInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "KudeyarInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "unsigned", "RetOpcode", "=", "MBBI", "->", "getOpcode", "(", ")", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "switch", "(", "RetOpcode", ")", "{", "case", "Kudeyar", "::", "RET", ":", "case", "Kudeyar", "::", "RETI", ":", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Can only insert epilog into returning blocks\"", ")", ";", "}", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "unsigned", "CSSize", "=", "KudeyarFI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "uint64_t", "NumBytes", "=", "0", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "uint64_t", "FrameSize", "=", "StackSize", "-", "4", ";", "NumBytes", "=", "FrameSize", "-", "CSSize", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "Kudeyar", "::", "POP_R", ")", ",", "Kudeyar", "::", "FP", ")", ";", "}", "else", "NumBytes", "=", "StackSize", "-", "CSSize", ";", "while", "(", "MBBI", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "MachineBasicBlock", "::", "iterator", "PI", "=", "prior", "(", "MBBI", ")", ";", "unsigned", "Opc", "=", "PI", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "!=", "Kudeyar", "::", "POP_R", "&&", "!", "PI", "->", "isTerminator", "(", ")", ")", "break", ";", "--", "MBBI", ";", "}", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "MFI", "->", "hasVarSizedObjects", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "Kudeyar", "::", "MOV_RR", ")", ",", "Kudeyar", "::", "SP", ")", ".", "addReg", "(", "Kudeyar", "::", "FP", ")", ";", "if", "(", "CSSize", ")", "{", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "Kudeyar", "::", "SUB_RI32", ")", ",", "Kudeyar", "::", "SP", ")", ".", "addReg", "(", "Kudeyar", "::", "SP", ")", ".", "addImm", "(", "CSSize", ")", ";", "}", "}", "else", "{", "if", "(", "NumBytes", ")", "{", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "Kudeyar", "::", "ADD_RI32", ")", ",", "Kudeyar", "::", "SP", ")", ".", "addReg", "(", "Kudeyar", "::", "SP", ")", ".", "addImm", "(", "NumBytes", ")", ";", "}", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Kudeyar", "Kudeyar", "Kudeyar", "Kudeyar", "Kudeyar", "Kudeyar", "Kudeyar", "Kudeyar::RET", "Kudeyar::RETI", "\"Can only insert epilog into returning blocks\"", "Kudeyar", "0", "4", "Kudeyar::POP_R", "Kudeyar::FP", "Kudeyar::POP_R", "Kudeyar::MOV_RR", "Kudeyar::SP", "Kudeyar::FP", "Kudeyar::SUB_RI32", "Kudeyar::SP", "Kudeyar::SP", "Kudeyar::ADD_RI32", "Kudeyar::SP", "Kudeyar::SP"], "File": "KudeyarFrameLowering", "Func": "emitEpilogue", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17619, "Length": 381, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_prologue_components", "(", "sbitmap", "components", ")", "{", "rs6000_stack_t", "*", "info", "=", "rs6000_stack_info", "(", ")", ";", "rtx", "ptr_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "frame_pointer_needed_indeed", "?", "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", ";", "if", "(", "bitmap_bit_p", "(", "components", ",", "0", ")", ")", "{", "rtx", "lr", "=", "gen_rtx_REG", "(", "reg_mode", ",", "LR_REGNO", ")", ";", "rtx", "reg", "=", "gen_rtx_REG", "(", "reg_mode", ",", "0", ")", ";", "rtx_insn", "*", "insn", "=", "emit_move_insn", "(", "reg", ",", "lr", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_REGISTER", ",", "gen_rtx_SET", "(", "reg", ",", "lr", ")", ")", ";", "int", "offset", "=", "info", "->", "lr_save_offset", ";", "if", "(", "info", "->", "push_p", ")", "offset", "+=", "info", "->", "total_size", ";", "insn", "=", "emit_insn", "(", "gen_frame_store", "(", "reg", ",", "ptr_reg", ",", "offset", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "rtx", "mem", "=", "copy_rtx", "(", "SET_DEST", "(", "single_set", "(", "insn", ")", ")", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_OFFSET", ",", "gen_rtx_SET", "(", "mem", ",", "lr", ")", ")", ";", "}", "if", "(", "bitmap_bit_p", "(", "components", ",", "2", ")", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "reg_mode", ",", "TOC_REGNUM", ")", ";", "rtx", "sp_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "STACK_POINTER_REGNUM", ")", ";", "emit_insn", "(", "gen_frame_store", "(", "reg", ",", "sp_reg", ",", "RS6000_TOC_SAVE_SLOT", ")", ")", ";", "}", "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", "(", "reg_mode", ",", "i", ")", ";", "rtx_insn", "*", "insn", "=", "emit_insn", "(", "gen_frame_store", "(", "reg", ",", "ptr_reg", ",", "offset", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "rtx", "set", "=", "copy_rtx", "(", "single_set", "(", "insn", ")", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_OFFSET", ",", "set", ")", ";", "}", "offset", "+=", "reg_size", ";", "}", "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_store", "(", "reg", ",", "ptr_reg", ",", "offset", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "rtx", "set", "=", "copy_rtx", "(", "single_set", "(", "insn", ")", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_OFFSET", ",", "set", ")", ";", "}", "offset", "+=", "fp_reg_size", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_SHRINK_WRAP_EMIT_PROLOGUE_COMPONENTS", "."], "TS_V_token": ["rs6000", "4", "8", "8", "0", "0", "1", "1", "2", "32", "1", "64", "1"], "File": "rs6000-logue", "Func": "rs6000_emit_prologue_components", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17620, "Length": 441, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "!", "TARGET_SIBCALLS", ")", "return", "false", ";", "if", "(", "mips_interrupt_type_p", "(", "TREE_TYPE", "(", "current_function_decl", ")", ")", ")", "return", "false", ";", "if", "(", "decl", "&&", "const_call_insn_operand", "(", "XEXP", "(", "DECL_RTL", "(", "decl", ")", ",", "0", ")", ",", "VOIDmode", ")", "&&", "mips_call_may_need_jalx_p", "(", "decl", ")", ")", "return", "false", ";", "if", "(", "decl", "&&", "TARGET_CALL_SAVED_GP", "&&", "!", "TARGET_ABICALLS_PIC0", "&&", "!", "targetm", ".", "binds_local_p", "(", "decl", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["We", "can", "handle", "any", "sibcall", "when", "TARGET_SIBCALLS", "is", "true", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips_function_ok_for_sibcall", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17621, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARM64AppleInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ")", "{", "unsigned", "Opcode", "=", "MI", "->", "getOpcode", "(", ")", ";", "StringRef", "Layout", ",", "Mnemonic", ";", "bool", "IsTbx", ";", "if", "(", "isTblTbxInstruction", "(", "MI", "->", "getOpcode", "(", ")", ",", "Layout", ",", "IsTbx", ")", ")", "{", "O", "<<", "\"\\t\"", "<<", "(", "IsTbx", "?", "\"tbx\"", ":", "\"tbl\"", ")", "<<", "Layout", "<<", "'\\t'", "<<", "getRegisterName", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "ARM64", "::", "vreg", ")", "<<", "\", \"", ";", "unsigned", "ListOpNum", "=", "IsTbx", "?", "2", ":", "1", ";", "printVectorList", "(", "MI", ",", "ListOpNum", ",", "O", ",", "\"\"", ")", ";", "O", "<<", "\", \"", "<<", "getRegisterName", "(", "MI", "->", "getOperand", "(", "ListOpNum", "+", "1", ")", ".", "getReg", "(", ")", ",", "ARM64", "::", "vreg", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "return", ";", "}", "if", "(", "LdStNInstrDesc", "*", "LdStDesc", "=", "getLdStNInstrDesc", "(", "Opcode", ")", ")", "{", "O", "<<", "\"\\t\"", "<<", "LdStDesc", "->", "Mnemonic", "<<", "LdStDesc", "->", "Layout", "<<", "'\\t'", ";", "int", "OpNum", "=", "LdStDesc", "->", "ListOperand", ";", "printVectorList", "(", "MI", ",", "OpNum", "++", ",", "O", ",", "\"\"", ")", ";", "if", "(", "LdStDesc", "->", "HasLane", ")", "O", "<<", "'['", "<<", "MI", "->", "getOperand", "(", "OpNum", "++", ")", ".", "getImm", "(", ")", "<<", "']'", ";", "unsigned", "AddrReg", "=", "MI", "->", "getOperand", "(", "OpNum", "++", ")", ".", "getReg", "(", ")", ";", "O", "<<", "\", [\"", "<<", "getRegisterName", "(", "AddrReg", ")", "<<", "']'", ";", "if", "(", "LdStDesc", "->", "NaturalOffset", "!=", "0", ")", "{", "unsigned", "Reg", "=", "MI", "->", "getOperand", "(", "OpNum", "++", ")", ".", "getReg", "(", ")", ";", "if", "(", "Reg", "!=", "ARM64", "::", "XZR", ")", "O", "<<", "\", \"", "<<", "getRegisterName", "(", "Reg", ")", ";", "else", "{", "assert", "(", "LdStDesc", "->", "NaturalOffset", "&&", "\"no offset on post-inc instruction?\"", ")", ";", "O", "<<", "\", #\"", "<<", "LdStDesc", "->", "NaturalOffset", ";", "}", "}", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "return", ";", "}", "ARM64InstPrinter", "::", "printInst", "(", "MI", ",", "O", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["ARM64", "ARM64", "\"\\t\"", "\"tbx\"", "\"tbl\"", "0", "ARM64::vreg", "\", \"", "2", "1", "\"\"", "\", \"", "1", "ARM64::vreg", "\"\\t\"", "\"\"", "\", [\"", "0", "ARM64::XZR", "\", \"", "\"no offset on post-inc instruction?\"", "\", #\"", "ARM64"], "File": "ARM64InstPrinter1", "Func": "printInst", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17622, "Length": 320, "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_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_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_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_nofixup\"", "0", "0", "0", "\"Invalid kind!\"", "support::little"], "File": "PPCAsmBackend10", "Func": "getFixupKindInfo", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17623, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isToken", "(", ")", "const", "override", "{", "return", "Kind", "==", "KindToken", ";", "}", ""], "natrual_language": ["isToken", "-", "Is", "this", "a", "token", "operand", "?"], "TS_V_token": ["SystemZ"], "File": "SystemZAsmParser (2)", "Func": "isToken", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17624, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "::", "SimpleValueType", "X86TargetLowering", "::", "getSetCCResultType", "(", "EVT", "VT", ")", "const", "{", "return", "MVT", "::", "i8", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["X86", "MVT::SimpleValueType", "X86", "MVT::i8"], "File": "X86ISelLowering144", "Func": "getSetCCResultType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17625, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBank", "&", "AArch64RegisterBankInfo", "::", "getRegBankFromRegClass", "(", "const", "TargetRegisterClass", "&", "RC", ",", "LLT", ")", "const", "{", "switch", "(", "RC", ".", "getID", "(", ")", ")", "{", "case", "AArch64", "::", "FPR8RegClassID", ":", "case", "AArch64", "::", "FPR16RegClassID", ":", "case", "AArch64", "::", "FPR16_loRegClassID", ":", "case", "AArch64", "::", "FPR32_with_hsub_in_FPR16_loRegClassID", ":", "case", "AArch64", "::", "FPR32RegClassID", ":", "case", "AArch64", "::", "FPR64RegClassID", ":", "case", "AArch64", "::", "FPR64_loRegClassID", ":", "case", "AArch64", "::", "FPR128RegClassID", ":", "case", "AArch64", "::", "FPR128_loRegClassID", ":", "case", "AArch64", "::", "DDRegClassID", ":", "case", "AArch64", "::", "DDDRegClassID", ":", "case", "AArch64", "::", "DDDDRegClassID", ":", "case", "AArch64", "::", "QQRegClassID", ":", "case", "AArch64", "::", "QQQRegClassID", ":", "case", "AArch64", "::", "QQQQRegClassID", ":", "return", "getRegBank", "(", "AArch64", "::", "FPRRegBankID", ")", ";", "case", "AArch64", "::", "GPR32commonRegClassID", ":", "case", "AArch64", "::", "GPR32RegClassID", ":", "case", "AArch64", "::", "GPR32spRegClassID", ":", "case", "AArch64", "::", "GPR32sponlyRegClassID", ":", "case", "AArch64", "::", "GPR32argRegClassID", ":", "case", "AArch64", "::", "GPR32allRegClassID", ":", "case", "AArch64", "::", "GPR64commonRegClassID", ":", "case", "AArch64", "::", "GPR64RegClassID", ":", "case", "AArch64", "::", "GPR64spRegClassID", ":", "case", "AArch64", "::", "GPR64sponlyRegClassID", ":", "case", "AArch64", "::", "GPR64argRegClassID", ":", "case", "AArch64", "::", "GPR64allRegClassID", ":", "case", "AArch64", "::", "GPR64noipRegClassID", ":", "case", "AArch64", "::", "GPR64common_and_GPR64noipRegClassID", ":", "case", "AArch64", "::", "GPR64noip_and_tcGPR64RegClassID", ":", "case", "AArch64", "::", "tcGPR64RegClassID", ":", "case", "AArch64", "::", "rtcGPR64RegClassID", ":", "case", "AArch64", "::", "WSeqPairsClassRegClassID", ":", "case", "AArch64", "::", "XSeqPairsClassRegClassID", ":", "case", "AArch64", "::", "MatrixIndexGPR32_12_15RegClassID", ":", "return", "getRegBank", "(", "AArch64", "::", "GPRRegBankID", ")", ";", "case", "AArch64", "::", "CCRRegClassID", ":", "return", "getRegBank", "(", "AArch64", "::", "CCRegBankID", ")", ";", "default", ":", "llvm_unreachable", "(", "\"Register class not supported\"", ")", ";", "}", "}", ""], "natrual_language": ["Get", "a", "register", "bank", "that", "covers", "RC", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::FPR8RegClassID", "AArch64::FPR16RegClassID", "AArch64::FPR16_loRegClassID", "AArch64::FPR32_with_hsub_in_FPR16_loRegClassID", "AArch64::FPR32RegClassID", "AArch64::FPR64RegClassID", "AArch64::FPR64_loRegClassID", "AArch64::FPR128RegClassID", "AArch64::FPR128_loRegClassID", "AArch64::DDRegClassID", "AArch64::DDDRegClassID", "AArch64::DDDDRegClassID", "AArch64::QQRegClassID", "AArch64::QQQRegClassID", "AArch64::QQQQRegClassID", "AArch64::FPRRegBankID", "AArch64::GPR32commonRegClassID", "AArch64::GPR32RegClassID", "AArch64::GPR32spRegClassID", "AArch64::GPR32sponlyRegClassID", "AArch64::GPR32argRegClassID", "AArch64::GPR32allRegClassID", "AArch64::GPR64commonRegClassID", "AArch64::GPR64RegClassID", "AArch64::GPR64spRegClassID", "AArch64::GPR64sponlyRegClassID", "AArch64::GPR64argRegClassID", "AArch64::GPR64allRegClassID", "AArch64::GPR64noipRegClassID", "AArch64::GPR64common_and_GPR64noipRegClassID", "AArch64::GPR64noip_and_tcGPR64RegClassID", "AArch64::tcGPR64RegClassID", "AArch64::rtcGPR64RegClassID", "AArch64::WSeqPairsClassRegClassID", "AArch64::XSeqPairsClassRegClassID", "AArch64::MatrixIndexGPR32_12_15RegClassID", "AArch64::GPRRegBankID", "AArch64::CCRRegClassID", "AArch64::CCRegBankID", "\"Register class not supported\""], "File": "AArch64RegisterBankInfo18", "Func": "getRegBankFromRegClass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17626, "Length": 238, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "reg_offset_addressing_ok_p", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_V16QImode", ":", "case", "E_V8HImode", ":", "case", "E_V4SFmode", ":", "case", "E_V4SImode", ":", "case", "E_V2DFmode", ":", "case", "E_V2DImode", ":", "case", "E_V1TImode", ":", "case", "E_TImode", ":", "case", "E_TFmode", ":", "case", "E_KFmode", ":", "if", "(", "VECTOR_MEM_ALTIVEC_OR_VSX_P", "(", "mode", ")", ")", "return", "mode_supports_vsx_dform_quad", "(", "mode", ")", ";", "break", ";", "case", "E_V4HImode", ":", "case", "E_V2SImode", ":", "case", "E_V1DImode", ":", "case", "E_V2SFmode", ":", "if", "(", "TARGET_PAIRED_FLOAT", ")", "return", "false", ";", "break", ";", "case", "E_SDmode", ":", "if", "(", "TARGET_NO_SDMODE_STACK", ")", "return", "false", ";", "break", ";", "default", ":", "break", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Subroutines", "of", "rs6000_legitimize_address", "and", "rs6000_legitimate_address_p", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "reg_offset_addressing_ok_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17627, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "function_resolver", "::", "get_argument_type", "(", "unsigned", "int", "i", ")", "{", "tree", "arg", "=", "m_arglist", "[", "i", "]", ";", "return", "arg", "==", "error_mark_node", "?", "arg", ":", "TREE_TYPE", "(", "arg", ")", ";", "}", ""], "natrual_language": ["Return", "the", "type", "of", "argument", "I", ",", "or", "error_mark_node", "if", "it", "is", "n't", "well-formed", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "get_argument_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17628, "Length": 31, "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", ",", "FS", ")", ";", "if", "(", "HasSoftFloat", ")", "HasVector", "=", "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": "SystemZSubtarget18", "Func": "initializeSubtargetDependencies", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17629, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_add_offset", "(", "rtx", "temp", ",", "rtx", "reg", ",", "HOST_WIDE_INT", "offset", ")", "{", "if", "(", "!", "SMALL_OPERAND", "(", "offset", ")", ")", "{", "rtx", "high", ";", "if", "(", "TARGET_MIPS16", ")", "{", "high", "=", "GEN_INT", "(", "offset", ")", ";", "offset", "=", "0", ";", "}", "else", "{", "high", "=", "gen_int_mode", "(", "CONST_HIGH_PART", "(", "offset", ")", ",", "Pmode", ")", ";", "offset", "=", "CONST_LOW_PART", "(", "offset", ")", ";", "}", "high", "=", "mips_force_temporary", "(", "temp", ",", "high", ")", ";", "reg", "=", "mips_force_temporary", "(", "temp", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "high", ",", "reg", ")", ")", ";", "}", "return", "plus_constant", "(", "Pmode", ",", "reg", ",", "offset", ")", ";", "}", ""], "natrual_language": ["Return", "a", "legitimate", "address", "for", "REG", "+", "OFFSET", ".", "TEMP", "is", "as", "for", "mips_force_temporary", ";", "it", "is", "only", "needed", "when", "OFFSET", "is", "not", "a", "SMALL_OPERAND", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips_add_offset", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17630, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCSubtarget", "::", "useAA", "(", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Enable", "use", "of", "alias", "analysis", "during", "code", "generation", "(", "during", "MI", "scheduling", ",", "DAGCombine", ",", "etc", ".", ")", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCSubtarget", "Func": "useAA", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17631, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "ix86_regmode_natural_size", "(", "machine_mode", "mode", ")", "{", "if", "(", "mode", "==", "P2HImode", "||", "mode", "==", "P2QImode", ")", "return", "GET_MODE_SIZE", "(", "mode", ")", "/", "2", ";", "return", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Implement", "REGMODE_NATURAL_SIZE", "(", "MODE", ")", "."], "TS_V_token": ["i386", "2"], "File": "i386", "Func": "ix86_regmode_natural_size", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17632, "Length": 30, "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": 17633, "Length": 480, "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", "(", "MIRBuilder", ",", "ArgInfos", ",", "OrigArgIndices", ",", "[", "&", "]", "(", "ISD", "::", "ArgFlagsTy", "flags", ",", "EVT", "vt", ",", "EVT", "argvt", ",", "bool", "used", ",", "unsigned", "origIdx", ",", "unsigned", "partOffs", ")", "{", "Ins", ".", "emplace_back", "(", "flags", ",", "vt", ",", "argvt", ",", "used", ",", "origIdx", ",", "partOffs", ")", ";", "}", ")", ";", "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", "(", ")", ")", ";", "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", "ISD::ArgFlagsTy", "16", "Mips", "Mips", "Mips", "Mips", "1"], "File": "MipsCallLowering", "Func": "lowerFormalArguments", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17634, "Length": 377, "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", ";", "bool", "genExecuteOnly", "=", "ARM_TM", ".", "getMCSubtargetInfo", "(", ")", "->", "hasFeature", "(", "ARM", "::", "FeatureExecuteOnly", ")", ";", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "InitializeELF", "(", "isAAPCS_ABI", ")", ";", "if", "(", "isAAPCS_ABI", ")", "{", "LSDASection", "=", "nullptr", ";", "}", "if", "(", "genExecuteOnly", ")", "{", "unsigned", "Type", "=", "ELF", "::", "SHT_PROGBITS", ";", "unsigned", "Flags", "=", "ELF", "::", "SHF_EXECINSTR", "|", "ELF", "::", "SHF_ALLOC", "|", "ELF", "::", "SHF_ARM_PURECODE", ";", "TextSection", "=", "Ctx", ".", "getELFSection", "(", "\".text\"", ",", "Type", ",", "Flags", ",", "0", ",", "\"\"", ",", "false", ",", "0U", ",", "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", "ARM", "ARM::FeatureExecuteOnly", "ARM", "\".text\"", "0", "\"\"", "0U"], "File": "ARMTargetObjectFile11", "Func": "Initialize", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17635, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmPrinter", "::", "lowerOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCOperand", "&", "MCOp", ")", "{", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "default", ":", "assert", "(", "0", "&&", "\"unknown operand type\"", ")", ";", "return", "false", ";", "case", "MachineOperand", "::", "MO_Register", ":", "if", "(", "MO", ".", "isImplicit", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "!=", "ARM", "::", "CPSR", ")", "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", ",", "Mang", "->", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ")", ";", "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", ":", "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", "::", "CreateFPImm", "(", "Val", ".", "convertToDouble", "(", ")", ")", ";", "break", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Wrapper", "for", "MCInstLowering.lowerOperand", "(", ")", "for", "the", "tblgen'erated", "pseudo", "lowering", "."], "TS_V_token": ["ARM", "ARM", "0", "\"unknown operand type\"", "ARM::CPSR", "\"Subregs should be eliminated!\""], "File": "ARMMCInstLower39", "Func": "lowerOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17636, "Length": 316, "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", "&&", "TREE_CODE", "(", "type", ")", "!=", "OPAQUE_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_long_type_node", ")", "return", "\"U6__boolx\"", ";", "if", "(", "SCALAR_FLOAT_TYPE_P", "(", "type", ")", "&&", "FLOAT128_IBM_P", "(", "TYPE_MODE", "(", "type", ")", ")", ")", "return", "\"g\"", ";", "if", "(", "SCALAR_FLOAT_TYPE_P", "(", "type", ")", "&&", "FLOAT128_IEEE_P", "(", "TYPE_MODE", "(", "type", ")", ")", ")", "return", "\"u9__ieee128\"", ";", "if", "(", "type", "==", "vector_pair_type_node", ")", "return", "\"u13__vector_pair\"", ";", "if", "(", "type", "==", "vector_quad_type_node", ")", "return", "\"u13__vector_quad\"", ";", "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": ["rs6000", "\"U6__boolc\"", "\"U6__bools\"", "\"u7__pixel\"", "\"U6__booli\"", "\"U6__boolx\"", "\"g\"", "\"u9__ieee128\"", "\"u13__vector_pair\"", "\"u13__vector_quad\""], "File": "rs6000", "Func": "rs6000_mangle_type", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17637, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "auto", "*", "ZII", "=", "static_cast", "<", "const", "SystemZInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "SystemZMachineFunctionInfo", "*", "ZFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "assert", "(", "MBBI", "->", "isReturn", "(", ")", "&&", "\"Can only insert epilogue into returning blocks\"", ")", ";", "uint64_t", "StackSize", "=", "getAllocatedStackSize", "(", "MF", ")", ";", "if", "(", "ZFI", "->", "getLowSavedGPR", "(", ")", ")", "{", "--", "MBBI", ";", "unsigned", "Opcode", "=", "MBBI", "->", "getOpcode", "(", ")", ";", "if", "(", "Opcode", "!=", "SystemZ", "::", "LMG", ")", "llvm_unreachable", "(", "\"Expected to see callee-save register restore code\"", ")", ";", "unsigned", "AddrOpNo", "=", "2", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "uint64_t", "Offset", "=", "StackSize", "+", "MBBI", "->", "getOperand", "(", "AddrOpNo", "+", "1", ")", ".", "getImm", "(", ")", ";", "unsigned", "NewOpcode", "=", "ZII", "->", "getOpcodeForOffset", "(", "Opcode", ",", "Offset", ")", ";", "if", "(", "!", "NewOpcode", ")", "{", "uint64_t", "NumBytes", "=", "Offset", "-", "0x7fff8", ";", "emitIncrement", "(", "MBB", ",", "MBBI", ",", "DL", ",", "MBBI", "->", "getOperand", "(", "AddrOpNo", ")", ".", "getReg", "(", ")", ",", "NumBytes", ",", "ZII", ")", ";", "Offset", "-=", "NumBytes", ";", "NewOpcode", "=", "ZII", "->", "getOpcodeForOffset", "(", "Opcode", ",", "Offset", ")", ";", "assert", "(", "NewOpcode", "&&", "\"No restore instruction available\"", ")", ";", "}", "MBBI", "->", "setDesc", "(", "ZII", "->", "get", "(", "NewOpcode", ")", ")", ";", "MBBI", "->", "getOperand", "(", "AddrOpNo", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", "else", "if", "(", "StackSize", ")", "{", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "emitIncrement", "(", "MBB", ",", "MBBI", ",", "DL", ",", "SystemZ", "::", "R15D", ",", "StackSize", ",", "ZII", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "\"Can only insert epilogue into returning blocks\"", "SystemZ::LMG", "\"Expected to see callee-save register restore code\"", "2", "1", "0x7fff8", "\"No restore instruction available\"", "1", "SystemZ::R15D"], "File": "SystemZFrameLowering (2)", "Func": "emitEpilogue", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17638, "Length": 279, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "size_t", "mingw32_gt_pch_alloc_granularity", "(", "void", ")", "{", "SYSTEM_INFO", "si", ";", "GetSystemInfo", "(", "&", "si", ")", ";", "va_granularity", "=", "(", "size_t", ")", "si", ".", "dwAllocationGranularity", ";", "return", "va_granularity", ";", "}", ""], "natrual_language": ["Granularity", "for", "reserving", "address", "space", "."], "TS_V_token": ["i386"], "File": "host-mingw32", "Func": "mingw32_gt_pch_alloc_granularity", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17639, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "sh_media_register_for_return", "(", "void", ")", "{", "int", "regno", ";", "int", "tr0_used", ";", "if", "(", "!", "current_function_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", "&&", "regs_ever_live", "[", "PIC_OFFSET_TABLE_REGNUM", "]", ";", "for", "(", "regno", "=", "FIRST_TARGET_REG", "+", "tr0_used", ";", "regno", "<=", "LAST_TARGET_REG", ";", "regno", "++", ")", "if", "(", "call_really_used_regs", "[", "regno", "]", "&&", "!", "regs_ever_live", "[", "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": "sh3", "Func": "sh_media_register_for_return", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17640, "Length": 92, "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": 17641, "Length": 310, "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", "=", "Subtarget", "->", "is64Bit", "(", ")", "?", "X86", "::", "LEA64r", ":", "X86", "::", "LEA32r", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TLI", ".", "getRegClassFor", "(", "TLI", ".", "getPointerTy", "(", ")", ")", ";", "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", "X86::LEA64r", "X86::LEA32r"], "File": "X86FastISel110", "Func": "fastMaterializeAlloca", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17642, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "unspec_cdot", "(", "int", "rot", ")", "{", "switch", "(", "rot", ")", "{", "case", "0", ":", "return", "UNSPEC_CDOT", ";", "case", "90", ":", "return", "UNSPEC_CDOT90", ";", "case", "180", ":", "return", "UNSPEC_CDOT180", ";", "case", "270", ":", "return", "UNSPEC_CDOT270", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "UNSPEC_CDOT", "*", "unspec", "for", "rotation", "amount", "ROT", "."], "TS_V_token": ["aarch64", "0", "90", "180", "270"], "File": "aarch64-sve-builtins-sve2", "Func": "unspec_cdot", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17643, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "SDValue", "matchBinOpReduction", "(", "SDNode", "*", "Extract", ",", "ISD", "::", "NodeType", "BinOp", ")", "{", "if", "(", "(", "Extract", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "EXTRACT_VECTOR_ELT", ")", "||", "!", "isNullConstant", "(", "Extract", "->", "getOperand", "(", "1", ")", ")", ")", "return", "SDValue", "(", ")", ";", "unsigned", "Stages", "=", "Log2_32", "(", "Extract", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", ".", "getVectorNumElements", "(", ")", ")", ";", "SDValue", "Op", "=", "Extract", "->", "getOperand", "(", "0", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Stages", ";", "++", "i", ")", "{", "if", "(", "Op", ".", "getOpcode", "(", ")", "!=", "BinOp", ")", "return", "SDValue", "(", ")", ";", "ShuffleVectorSDNode", "*", "Shuffle", "=", "dyn_cast", "<", "ShuffleVectorSDNode", ">", "(", "Op", ".", "getOperand", "(", "0", ")", ".", "getNode", "(", ")", ")", ";", "if", "(", "Shuffle", ")", "{", "Op", "=", "Op", ".", "getOperand", "(", "1", ")", ";", "}", "else", "{", "Shuffle", "=", "dyn_cast", "<", "ShuffleVectorSDNode", ">", "(", "Op", ".", "getOperand", "(", "1", ")", ".", "getNode", "(", ")", ")", ";", "Op", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "}", "if", "(", "!", "Shuffle", "||", "(", "Shuffle", "->", "getOperand", "(", "0", ")", "!=", "Op", ")", ")", "return", "SDValue", "(", ")", ";", "for", "(", "int", "Index", "=", "0", ",", "MaskEnd", "=", "1", "<<", "i", ";", "Index", "<", "MaskEnd", ";", "++", "Index", ")", "if", "(", "Shuffle", "->", "getMaskElt", "(", "Index", ")", "!=", "MaskEnd", "+", "Index", ")", "return", "SDValue", "(", ")", ";", "}", "return", "Op", ";", "}", ""], "natrual_language": ["Match", "a", "binop", "+", "shuffle", "pyramid", "that", "represents", "a", "horizontal", "reduction", "over", "the", "elements", "of", "a", "vector", "starting", "from", "the", "EXTRACT_VECTOR_ELT", "node", "/p", "Extract", "."], "TS_V_token": ["X86", "ISD::NodeType", "ISD::EXTRACT_VECTOR_ELT", "1", "0", "0", "0", "0", "1", "1", "0", "0", "0", "1"], "File": "X86ISelLowering10", "Func": "matchBinOpReduction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17644, "Length": 236, "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": 17645, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "registered_function", "&", "function_builder", "::", "add_function", "(", "const", "function_instance", "&", "instance", ",", "const", "char", "*", "name", ",", "tree", "fntype", ",", "tree", "attrs", ",", "aarch64_feature_flags", "required_extensions", ",", "bool", "overloaded_p", ",", "bool", "placeholder_p", ")", "{", "unsigned", "int", "code", "=", "vec_safe_length", "(", "registered_functions", ")", ";", "code", "=", "(", "code", "<<", "AARCH64_BUILTIN_SHIFT", ")", "|", "AARCH64_BUILTIN_SVE", ";", "tree", "decl", "=", "placeholder_p", "?", "integer_zero_node", ":", "simulate_builtin_function_decl", "(", "input_location", ",", "name", ",", "fntype", ",", "code", ",", "NULL", ",", "attrs", ")", ";", "registered_function", "&", "rfn", "=", "*", "ggc_alloc", "<", "registered_function", ">", "(", ")", ";", "rfn", ".", "instance", "=", "instance", ";", "rfn", ".", "decl", "=", "decl", ";", "rfn", ".", "required_extensions", "=", "required_extensions", ";", "rfn", ".", "overloaded_p", "=", "overloaded_p", ";", "vec_safe_push", "(", "registered_functions", ",", "&", "rfn", ")", ";", "return", "rfn", ";", "}", ""], "natrual_language": ["Add", "a", "function", "called", "NAME", "with", "type", "FNTYPE", "and", "attributes", "ATTRS", ".", "INSTANCE", "describes", "what", "the", "function", "does", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins3", "Func": "add_function", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17646, "Length": 121, "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", ")", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "t2LDRi12", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ")", ";", "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", "ARM::t2LDRi12", "0", "ARM"], "File": "Thumb2InstrInfo49", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17647, "Length": 113, "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", ")", "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": "rs6000", "Func": "rs6000_complex_function_value", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17648, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesAll", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AArch64"], "File": "AArch64CollectLOH", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17649, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "X86SelectionDAGInfo", "::", "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", "(", "DstPtrInfo", ".", "getAddrSpace", "(", ")", ">=", "256", "||", "SrcPtrInfo", ".", "getAddrSpace", "(", ")", ">=", "256", ")", "return", "SDValue", "(", ")", ";", "const", "MCPhysReg", "ClobberSet", "[", "]", "=", "{", "X86", "::", "RCX", ",", "X86", "::", "RSI", ",", "X86", "::", "RDI", ",", "X86", "::", "ECX", ",", "X86", "::", "ESI", ",", "X86", "::", "EDI", "}", ";", "if", "(", "isBaseRegConflictPossible", "(", "DAG", ",", "ClobberSet", ")", ")", "return", "SDValue", "(", ")", ";", "const", "X86Subtarget", "&", "Subtarget", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "ConstantSDNode", "*", "ConstantSize", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Size", ")", ")", "return", "emitConstantSizeRepmov", "(", "DAG", ",", "Subtarget", ",", "dl", ",", "Chain", ",", "Dst", ",", "Src", ",", "ConstantSize", "->", "getZExtValue", "(", ")", ",", "Size", ".", "getValueType", "(", ")", ",", "Alignment", ".", "value", "(", ")", ",", "isVolatile", ",", "AlwaysInline", ",", "DstPtrInfo", ",", "SrcPtrInfo", ")", ";", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memcpy", "."], "TS_V_token": ["X86", "X86", "256", "256", "X86::RCX", "X86::RSI", "X86::RDI", "X86::ECX", "X86::ESI", "X86::EDI", "X86", "X86"], "File": "X86SelectionDAGInfo60", "Func": "EmitTargetCodeForMemcpy", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17650, "Length": 192, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "rs6000_dbx_register_number", "(", "unsigned", "int", "regno", ",", "unsigned", "int", "format", ")", "{", "if", "(", "(", "format", "==", "0", "&&", "write_symbols", "!=", "DWARF2_DEBUG", ")", "||", "format", "==", "2", ")", "return", "regno", ";", "if", "(", "regno", "<=", "63", ")", "return", "regno", ";", "if", "(", "regno", "==", "LR_REGNO", ")", "return", "108", ";", "if", "(", "regno", "==", "CTR_REGNO", ")", "return", "109", ";", "if", "(", "format", "==", "1", "&&", "regno", "==", "CR2_REGNO", ")", "return", "64", ";", "if", "(", "CR_REGNO_P", "(", "regno", ")", ")", "return", "regno", "-", "CR0_REGNO", "+", "86", ";", "if", "(", "regno", "==", "CA_REGNO", ")", "return", "101", ";", "if", "(", "ALTIVEC_REGNO_P", "(", "regno", ")", ")", "return", "regno", "-", "FIRST_ALTIVEC_REGNO", "+", "1124", ";", "if", "(", "regno", "==", "VRSAVE_REGNO", ")", "return", "356", ";", "if", "(", "regno", "==", "VSCR_REGNO", ")", "return", "67", ";", "return", "regno", ";", "}", ""], "natrual_language": ["Map", "internal", "gcc", "register", "numbers", "to", "DWARF2", "register", "numbers", "."], "TS_V_token": ["rs6000", "0", "2", "63", "108", "109", "1", "64", "86", "101", "1124", "356", "67"], "File": "rs60007", "Func": "rs6000_dbx_register_number", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17651, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_pfalse_reg", "(", "machine_mode", "mode", ")", "{", "gcc_assert", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_BOOL", ")", ";", "rtx", "reg", "=", "force_reg", "(", "VNx16BImode", ",", "CONST0_RTX", "(", "VNx16BImode", ")", ")", ";", "return", "gen_lowpart", "(", "mode", ",", "reg", ")", ";", "}", ""], "natrual_language": ["Return", "an", "all-false", "predicate", "register", "of", "mode", "MODE", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_pfalse_reg", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17652, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "init_float128_ibm", "(", "machine_mode", "mode", ")", "{", "if", "(", "!", "TARGET_XL_COMPAT", ")", "{", "set_optab_libfunc", "(", "add_optab", ",", "mode", ",", "\"__gcc_qadd\"", ")", ";", "set_optab_libfunc", "(", "sub_optab", ",", "mode", ",", "\"__gcc_qsub\"", ")", ";", "set_optab_libfunc", "(", "smul_optab", ",", "mode", ",", "\"__gcc_qmul\"", ")", ";", "set_optab_libfunc", "(", "sdiv_optab", ",", "mode", ",", "\"__gcc_qdiv\"", ")", ";", "if", "(", "!", "TARGET_HARD_FLOAT", ")", "{", "set_optab_libfunc", "(", "neg_optab", ",", "mode", ",", "\"__gcc_qneg\"", ")", ";", "set_optab_libfunc", "(", "eq_optab", ",", "mode", ",", "\"__gcc_qeq\"", ")", ";", "set_optab_libfunc", "(", "ne_optab", ",", "mode", ",", "\"__gcc_qne\"", ")", ";", "set_optab_libfunc", "(", "gt_optab", ",", "mode", ",", "\"__gcc_qgt\"", ")", ";", "set_optab_libfunc", "(", "ge_optab", ",", "mode", ",", "\"__gcc_qge\"", ")", ";", "set_optab_libfunc", "(", "lt_optab", ",", "mode", ",", "\"__gcc_qlt\"", ")", ";", "set_optab_libfunc", "(", "le_optab", ",", "mode", ",", "\"__gcc_qle\"", ")", ";", "set_optab_libfunc", "(", "unord_optab", ",", "mode", ",", "\"__gcc_qunord\"", ")", ";", "set_conv_libfunc", "(", "sext_optab", ",", "mode", ",", "SFmode", ",", "\"__gcc_stoq\"", ")", ";", "set_conv_libfunc", "(", "sext_optab", ",", "mode", ",", "DFmode", ",", "\"__gcc_dtoq\"", ")", ";", "set_conv_libfunc", "(", "trunc_optab", ",", "SFmode", ",", "mode", ",", "\"__gcc_qtos\"", ")", ";", "set_conv_libfunc", "(", "trunc_optab", ",", "DFmode", ",", "mode", ",", "\"__gcc_qtod\"", ")", ";", "set_conv_libfunc", "(", "sfix_optab", ",", "SImode", ",", "mode", ",", "\"__gcc_qtoi\"", ")", ";", "set_conv_libfunc", "(", "ufix_optab", ",", "SImode", ",", "mode", ",", "\"__gcc_qtou\"", ")", ";", "set_conv_libfunc", "(", "sfloat_optab", ",", "mode", ",", "SImode", ",", "\"__gcc_itoq\"", ")", ";", "set_conv_libfunc", "(", "ufloat_optab", ",", "mode", ",", "SImode", ",", "\"__gcc_utoq\"", ")", ";", "}", "}", "else", "{", "set_optab_libfunc", "(", "add_optab", ",", "mode", ",", "\"_xlqadd\"", ")", ";", "set_optab_libfunc", "(", "sub_optab", ",", "mode", ",", "\"_xlqsub\"", ")", ";", "set_optab_libfunc", "(", "smul_optab", ",", "mode", ",", "\"_xlqmul\"", ")", ";", "set_optab_libfunc", "(", "sdiv_optab", ",", "mode", ",", "\"_xlqdiv\"", ")", ";", "}", "if", "(", "mode", "==", "IFmode", ")", "{", "set_conv_libfunc", "(", "sext_optab", ",", "mode", ",", "SDmode", ",", "\"__dpd_extendsdtf\"", ")", ";", "set_conv_libfunc", "(", "sext_optab", ",", "mode", ",", "DDmode", ",", "\"__dpd_extendddtf\"", ")", ";", "set_conv_libfunc", "(", "trunc_optab", ",", "mode", ",", "TDmode", ",", "\"__dpd_trunctdtf\"", ")", ";", "set_conv_libfunc", "(", "trunc_optab", ",", "SDmode", ",", "mode", ",", "\"__dpd_trunctfsd\"", ")", ";", "set_conv_libfunc", "(", "trunc_optab", ",", "DDmode", ",", "mode", ",", "\"__dpd_trunctfdd\"", ")", ";", "set_conv_libfunc", "(", "sext_optab", ",", "TDmode", ",", "mode", ",", "\"__dpd_extendtftd\"", ")", ";", "set_conv_libfunc", "(", "sfix_optab", ",", "DImode", ",", "mode", ",", "\"__fixtfdi\"", ")", ";", "set_conv_libfunc", "(", "ufix_optab", ",", "DImode", ",", "mode", ",", "\"__fixunstfdi\"", ")", ";", "set_conv_libfunc", "(", "sfloat_optab", ",", "mode", ",", "DImode", ",", "\"__floatditf\"", ")", ";", "set_conv_libfunc", "(", "ufloat_optab", ",", "mode", ",", "DImode", ",", "\"__floatunditf\"", ")", ";", "if", "(", "TARGET_POWERPC64", ")", "{", "set_conv_libfunc", "(", "sfix_optab", ",", "TImode", ",", "mode", ",", "\"__fixtfti\"", ")", ";", "set_conv_libfunc", "(", "ufix_optab", ",", "TImode", ",", "mode", ",", "\"__fixunstfti\"", ")", ";", "set_conv_libfunc", "(", "sfloat_optab", ",", "mode", ",", "TImode", ",", "\"__floattitf\"", ")", ";", "set_conv_libfunc", "(", "ufloat_optab", ",", "mode", ",", "TImode", ",", "\"__floatuntitf\"", ")", ";", "}", "}", "}", ""], "natrual_language": ["Set", "up", "AIX/Darwin/64-bit", "Linux", "quad", "floating", "point", "routines", "."], "TS_V_token": ["rs6000", "\"__gcc_qadd\"", "\"__gcc_qsub\"", "\"__gcc_qmul\"", "\"__gcc_qdiv\"", "\"__gcc_qneg\"", "\"__gcc_qeq\"", "\"__gcc_qne\"", "\"__gcc_qgt\"", "\"__gcc_qge\"", "\"__gcc_qlt\"", "\"__gcc_qle\"", "\"__gcc_qunord\"", "\"__gcc_stoq\"", "\"__gcc_dtoq\"", "\"__gcc_qtos\"", "\"__gcc_qtod\"", "\"__gcc_qtoi\"", "\"__gcc_qtou\"", "\"__gcc_itoq\"", "\"__gcc_utoq\"", "\"_xlqadd\"", "\"_xlqsub\"", "\"_xlqmul\"", "\"_xlqdiv\"", "\"__dpd_extendsdtf\"", "\"__dpd_extendddtf\"", "\"__dpd_trunctdtf\"", "\"__dpd_trunctfsd\"", "\"__dpd_trunctfdd\"", "\"__dpd_extendtftd\"", "\"__fixtfdi\"", "\"__fixunstfdi\"", "\"__floatditf\"", "\"__floatunditf\"", "\"__fixtfti\"", "\"__fixunstfti\"", "\"__floattitf\"", "\"__floatuntitf\""], "File": "rs6000", "Func": "init_float128_ibm", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17653, "Length": 426, "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": 17654, "Length": 8, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isNoopAddrSpaceCast", "(", "unsigned", "SrcAS", ",", "unsigned", "DestAS", ")", "const", "override", "{", "const", "bool", "SrcIsCheri", "=", "isCheriPointer", "(", "SrcAS", ",", "nullptr", ")", ";", "const", "bool", "DestIsCheri", "=", "isCheriPointer", "(", "DestAS", ",", "nullptr", ")", ";", "if", "(", "(", "SrcIsCheri", "||", "DestIsCheri", ")", "&&", "(", "SrcIsCheri", "!=", "DestIsCheri", ")", ")", "return", "false", ";", "return", "SrcAS", "<", "256", "&&", "DestAS", "<", "256", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "a", "cast", "between", "SrcAS", "and", "DestAS", "is", "a", "noop", "."], "TS_V_token": ["Mips", "256", "256"], "File": "MipsTargetMachine29", "Func": "isNoopAddrSpaceCast", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17655, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isPredicable", "(", "MachineInstr", "*", "MI", ")", "const", "{", "if", "(", "!", "MI", "->", "isPredicable", "(", ")", ")", "return", "false", ";", "if", "(", "!", "isEligibleForITBlock", "(", "MI", ")", ")", "return", "false", ";", "ARMFunctionInfo", "*", "AFI", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "if", "(", "AFI", "->", "isThumb2Function", "(", ")", ")", "{", "if", "(", "getSubtarget", "(", ")", ".", "restrictIT", "(", ")", ")", "return", "isV8EligibleForIT", "(", "MI", ")", ";", "}", "else", "{", "if", "(", "(", "MI", "->", "getDesc", "(", ")", ".", "TSFlags", "&", "ARMII", "::", "DomainMask", ")", "==", "ARMII", "::", "DomainNEON", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "instruction", "can", "be", "predicated", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARMII::DomainMask", "ARMII::DomainNEON"], "File": "ARMBaseInstrInfo (2)3", "Func": "isPredicable", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17656, "Length": 111, "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": 17657, "Length": 20, "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": 17658, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "legitimate_constant_pool_address_p", "(", "const_rtx", "x", ",", "machine_mode", "mode", ",", "bool", "strict", ")", "{", "return", "(", "toc_relative_expr_p", "(", "x", ",", "strict", ")", "&&", "(", "TARGET_CMODEL", "!=", "CMODEL_MEDIUM", "||", "constant_pool_expr_p", "(", "XVECEXP", "(", "tocrel_base", ",", "0", ",", "0", ")", ")", "||", "mode", "==", "QImode", "||", "offsettable_ok_by_alignment", "(", "XVECEXP", "(", "tocrel_base", ",", "0", ",", "0", ")", ",", "INTVAL", "(", "tocrel_offset", ")", ",", "mode", ")", ")", ")", ";", "}", ""], "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": ["powerpcspe", "0", "0", "0", "0"], "File": "powerpcspe", "Func": "legitimate_constant_pool_address_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17659, "Length": 65, "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": 17660, "Length": 471, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "tree", "compound_expr", "(", "tree", "t1", ",", "tree", "t2", ")", "{", "return", "build2", "(", "COMPOUND_EXPR", ",", "void_type_node", ",", "t1", ",", "t2", ")", ";", "}", ""], "natrual_language": ["Return", "the", "compound", "expression", "made", "of", "T1", "and", "T2", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "compound_expr", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17661, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_fp_compare", "(", "rtx", "insn", ",", "rtx", "*", "operands", ",", "int", "eflags_p", ",", "int", "unordered_p", ")", "{", "int", "stack_top_dies", ";", "rtx", "cmp_op0", ",", "cmp_op1", ";", "int", "is_sse", "=", "SSE_REG_P", "(", "operands", "[", "0", "]", ")", "||", "SSE_REG_P", "(", "operands", "[", "1", "]", ")", ";", "if", "(", "eflags_p", ")", "{", "cmp_op0", "=", "operands", "[", "0", "]", ";", "cmp_op1", "=", "operands", "[", "1", "]", ";", "}", "else", "{", "cmp_op0", "=", "operands", "[", "1", "]", ";", "cmp_op1", "=", "operands", "[", "2", "]", ";", "}", "if", "(", "is_sse", ")", "{", "if", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", "==", "SFmode", ")", "if", "(", "unordered_p", ")", "return", "\"ucomiss\\t{%1, %0|%0, %1}\"", ";", "else", "return", "\"comiss\\t{%1, %0|%0, %1}\"", ";", "else", "if", "(", "unordered_p", ")", "return", "\"ucomisd\\t{%1, %0|%0, %1}\"", ";", "else", "return", "\"comisd\\t{%1, %0|%0, %1}\"", ";", "}", "gcc_assert", "(", "STACK_TOP_P", "(", "cmp_op0", ")", ")", ";", "stack_top_dies", "=", "find_regno_note", "(", "insn", ",", "REG_DEAD", ",", "FIRST_STACK_REG", ")", "!=", "0", ";", "if", "(", "cmp_op1", "==", "CONST0_RTX", "(", "GET_MODE", "(", "cmp_op1", ")", ")", ")", "{", "if", "(", "stack_top_dies", ")", "{", "output_asm_insn", "(", "\"ftst\\n\\tfnstsw\\t%0\"", ",", "operands", ")", ";", "return", "TARGET_USE_FFREEP", "?", "\"ffreep\\t%y1\"", ":", "\"fstp\\t%y1\"", ";", "}", "else", "return", "\"ftst\\n\\tfnstsw\\t%0\"", ";", "}", "if", "(", "STACK_REG_P", "(", "cmp_op1", ")", "&&", "stack_top_dies", "&&", "find_regno_note", "(", "insn", ",", "REG_DEAD", ",", "REGNO", "(", "cmp_op1", ")", ")", "&&", "REGNO", "(", "cmp_op1", ")", "!=", "FIRST_STACK_REG", ")", "{", "if", "(", "eflags_p", ")", "{", "if", "(", "unordered_p", ")", "output_asm_insn", "(", "\"fucomip\\t{%y1, %0|%0, %y1}\"", ",", "operands", ")", ";", "else", "output_asm_insn", "(", "\"fcomip\\t{%y1, %0|%0, %y1}\"", ",", "operands", ")", ";", "return", "TARGET_USE_FFREEP", "?", "\"ffreep\\t%y0\"", ":", "\"fstp\\t%y0\"", ";", "}", "else", "{", "if", "(", "unordered_p", ")", "return", "\"fucompp\\n\\tfnstsw\\t%0\"", ";", "else", "return", "\"fcompp\\n\\tfnstsw\\t%0\"", ";", "}", "}", "else", "{", "static", "const", "char", "*", "const", "alt", "[", "16", "]", "=", "{", "\"fcom%z2\\t%y2\\n\\tfnstsw\\t%0\"", ",", "\"fcomp%z2\\t%y2\\n\\tfnstsw\\t%0\"", ",", "\"fucom%z2\\t%y2\\n\\tfnstsw\\t%0\"", ",", "\"fucomp%z2\\t%y2\\n\\tfnstsw\\t%0\"", ",", "\"ficom%z2\\t%y2\\n\\tfnstsw\\t%0\"", ",", "\"ficomp%z2\\t%y2\\n\\tfnstsw\\t%0\"", ",", "NULL", ",", "NULL", ",", "\"fcomi\\t{%y1, %0|%0, %y1}\"", ",", "\"fcomip\\t{%y1, %0|%0, %y1}\"", ",", "\"fucomi\\t{%y1, %0|%0, %y1}\"", ",", "\"fucomip\\t{%y1, %0|%0, %y1}\"", ",", "NULL", ",", "NULL", ",", "NULL", ",", "NULL", "}", ";", "int", "mask", ";", "const", "char", "*", "ret", ";", "mask", "=", "eflags_p", "<<", "3", ";", "mask", "|=", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "cmp_op1", ")", ")", "==", "MODE_INT", ")", "<<", "2", ";", "mask", "|=", "unordered_p", "<<", "1", ";", "mask", "|=", "stack_top_dies", ";", "gcc_assert", "(", "mask", "<", "16", ")", ";", "ret", "=", "alt", "[", "mask", "]", ";", "gcc_assert", "(", "ret", ")", ";", "return", "ret", ";", "}", "}", ""], "natrual_language": ["Output", "code", "for", "INSN", "to", "compare", "OPERANDS", ".", "EFLAGS_P", "is", "1", "when", "fcomi", "should", "be", "used", "and", "2", "when", "fnstsw", "should", "be", "used", ".", "UNORDERED_P", "is", "true", "when", "fucom", "should", "be", "used", "."], "TS_V_token": ["i386", "0", "1", "0", "1", "1", "2", "0", "\"ucomiss\\t{%1, %0|%0, %1}\"", "\"comiss\\t{%1, %0|%0, %1}\"", "\"ucomisd\\t{%1, %0|%0, %1}\"", "\"comisd\\t{%1, %0|%0, %1}\"", "0", "\"ftst\\n\\tfnstsw\\t%0\"", "\"ffreep\\t%y1\"", "\"fstp\\t%y1\"", "\"ftst\\n\\tfnstsw\\t%0\"", "\"fucomip\\t{%y1, %0|%0, %y1}\"", "\"fcomip\\t{%y1, %0|%0, %y1}\"", "\"ffreep\\t%y0\"", "\"fstp\\t%y0\"", "\"fucompp\\n\\tfnstsw\\t%0\"", "\"fcompp\\n\\tfnstsw\\t%0\"", "16", "\"fcom%z2\\t%y2\\n\\tfnstsw\\t%0\"", "\"fcomp%z2\\t%y2\\n\\tfnstsw\\t%0\"", "\"fucom%z2\\t%y2\\n\\tfnstsw\\t%0\"", "\"fucomp%z2\\t%y2\\n\\tfnstsw\\t%0\"", "\"ficom%z2\\t%y2\\n\\tfnstsw\\t%0\"", "\"ficomp%z2\\t%y2\\n\\tfnstsw\\t%0\"", "\"fcomi\\t{%y1, %0|%0, %y1}\"", "\"fcomip\\t{%y1, %0|%0, %y1}\"", "\"fucomi\\t{%y1, %0|%0, %y1}\"", "\"fucomip\\t{%y1, %0|%0, %y1}\"", "3", "2", "1", "16"], "File": "i3863", "Func": "output_fp_compare", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17662, "Length": 369, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "SystemZMCInstLower", "::", "getExpr", "(", "const", "MachineOperand", "&", "MO", ",", "MCSymbolRefExpr", "::", "VariantKind", "Kind", ")", "const", "{", "const", "MCSymbol", "*", "Symbol", ";", "bool", "HasOffset", "=", "true", ";", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "Symbol", "=", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ";", "HasOffset", "=", "false", ";", "break", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "Symbol", "=", "AsmPrinter", ".", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "Symbol", "=", "AsmPrinter", ".", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "Symbol", "=", "AsmPrinter", ".", "GetJTISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ";", "HasOffset", "=", "false", ";", "break", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "Symbol", "=", "AsmPrinter", ".", "GetCPISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_BlockAddress", ":", "Symbol", "=", "AsmPrinter", ".", "GetBlockAddressSymbol", "(", "MO", ".", "getBlockAddress", "(", ")", ")", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"unknown operand type\"", ")", ";", "}", "const", "MCExpr", "*", "Expr", "=", "MCSymbolRefExpr", "::", "Create", "(", "Symbol", ",", "Kind", ",", "Ctx", ")", ";", "if", "(", "HasOffset", ")", "if", "(", "int64_t", "Offset", "=", "MO", ".", "getOffset", "(", ")", ")", "{", "const", "MCExpr", "*", "OffsetExpr", "=", "MCConstantExpr", "::", "Create", "(", "Offset", ",", "Ctx", ")", ";", "Expr", "=", "MCBinaryExpr", "::", "CreateAdd", "(", "Expr", ",", "OffsetExpr", ",", "Ctx", ")", ";", "}", "return", "Expr", ";", "}", ""], "natrual_language": ["Implementation", "of", "the", "SCEVPredicate", "interface", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"unknown operand type\""], "File": "SystemZMCInstLower15", "Func": "getExpr", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17663, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ARMSubtarget", "*", "ARMBaseTargetMachine", "::", "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", ".", "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", "<", "ARMSubtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "*", "this", ",", "isLittle", ")", ";", "GISelAccessor", "*", "GISel", "=", "new", "GISelAccessor", "(", ")", ";", "ARMGISelActualAccessor", "*", "GISel", "=", "new", "ARMGISelActualAccessor", "(", ")", ";", "GISel", "->", "CallLoweringInfo", ".", "reset", "(", "new", "ARMCallLowering", "(", "*", "I", "->", "getTargetLowering", "(", ")", ")", ")", ";", "GISel", "->", "Legalizer", ".", "reset", "(", "new", "ARMLegalizerInfo", "(", "*", "I", ")", ")", ";", "auto", "*", "RBI", "=", "new", "ARMRegisterBankInfo", "(", "*", "I", "->", "getRegisterInfo", "(", ")", ")", ";", "GISel", "->", "InstSelector", ".", "reset", "(", "createARMInstructionSelector", "(", "*", "this", ",", "*", "I", ",", "*", "RBI", ")", ")", ";", "GISel", "->", "RegBankInfo", ".", "reset", "(", "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": ["ARM", "ARM", "ARM", "\"target-cpu\"", "\"target-features\"", "\"use-soft-float\"", "\"true\"", "\"+soft-float\"", "\",+soft-float\"", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM"], "File": "ARMTargetMachine14", "Func": "getSubtargetImpl", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17664, "Length": 273, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_mac_accumulator_is_result", "(", "rtx", "producer", ",", "rtx", "consumer", ")", "{", "rtx", "result", ";", "rtx", "op0", ",", "op1", ",", "acc", ";", "producer", "=", "PATTERN", "(", "producer", ")", ";", "consumer", "=", "PATTERN", "(", "consumer", ")", ";", "if", "(", "GET_CODE", "(", "producer", ")", "==", "COND_EXEC", ")", "producer", "=", "COND_EXEC_CODE", "(", "producer", ")", ";", "if", "(", "GET_CODE", "(", "consumer", ")", "==", "COND_EXEC", ")", "consumer", "=", "COND_EXEC_CODE", "(", "consumer", ")", ";", "if", "(", "GET_CODE", "(", "producer", ")", "!=", "SET", ")", "return", "0", ";", "result", "=", "XEXP", "(", "producer", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "consumer", ")", "!=", "SET", ")", "return", "0", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "consumer", ",", "1", ")", ")", "==", "PLUS", ")", "{", "if", "(", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "consumer", ",", "1", ")", ",", "0", ")", ")", "!=", "MULT", ")", "return", "0", ";", "op0", "=", "XEXP", "(", "XEXP", "(", "XEXP", "(", "consumer", ",", "1", ")", ",", "0", ")", ",", "0", ")", ";", "op1", "=", "XEXP", "(", "XEXP", "(", "XEXP", "(", "consumer", ",", "1", ")", ",", "0", ")", ",", "1", ")", ";", "acc", "=", "XEXP", "(", "XEXP", "(", "consumer", ",", "1", ")", ",", "1", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "XEXP", "(", "consumer", ",", "1", ")", ")", "==", "MINUS", ")", "{", "if", "(", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "consumer", ",", "1", ")", ",", "1", ")", ")", "!=", "MULT", ")", "return", "0", ";", "op0", "=", "XEXP", "(", "XEXP", "(", "XEXP", "(", "consumer", ",", "1", ")", ",", "1", ")", ",", "0", ")", ";", "op1", "=", "XEXP", "(", "XEXP", "(", "XEXP", "(", "consumer", ",", "1", ")", ",", "1", ")", ",", "1", ")", ";", "acc", "=", "XEXP", "(", "XEXP", "(", "consumer", ",", "1", ")", ",", "0", ")", ";", "}", "else", "return", "0", ";", "return", "(", "reg_overlap_mentioned_p", "(", "result", ",", "acc", ")", "&&", "!", "reg_overlap_mentioned_p", "(", "result", ",", "op0", ")", "&&", "!", "reg_overlap_mentioned_p", "(", "result", ",", "op1", ")", ")", ";", "}", ""], "natrual_language": ["Return", "non-zero", "iff", "the", "consumer", "(", "a", "multiply-accumulate", "or", "a", "multiple-subtract", "instruction", ")", "has", "an", "accumulator", "dependency", "on", "the", "result", "of", "the", "producer", "and", "no", "other", "dependency", "on", "that", "result", ".", "It", "does", "not", "check", "if", "the", "producer", "is", "multiply-accumulate", "instruction", "."], "TS_V_token": ["arm", "0", "0", "0", "1", "1", "0", "0", "1", "0", "0", "1", "0", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "1", "1", "1", "1", "0", "0"], "File": "aarch-common", "Func": "arm_mac_accumulator_is_result", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17665, "Length": 311, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "Cpu0RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "static", "const", "uint16_t", "ReservedCPURegs", "[", "]", "=", "{", "Cpu0", "::", "ZERO", ",", "Cpu0", "::", "AT", ",", "Cpu0", "::", "SP", ",", "Cpu0", "::", "LR", ",", "Cpu0", "::", "PC", "}", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "ReservedCPURegs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedCPURegs", "[", "I", "]", ")", ";", "const", "Cpu0MachineFunctionInfo", "*", "Cpu0FI", "=", "MF", ".", "getInfo", "<", "Cpu0MachineFunctionInfo", ">", "(", ")", ";", "if", "(", "Cpu0FI", "->", "globalBaseRegFixed", "(", ")", ")", "Reserved", ".", "set", "(", "Cpu0", "::", "GP", ")", ";", "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": ["Cpu0", "Cpu0", "Cpu0::ZERO", "Cpu0::AT", "Cpu0::SP", "Cpu0::LR", "Cpu0::PC", "0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0::GP"], "File": "Cpu0RegisterInfo4", "Func": "getReservedRegs", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17666, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb1RegisterInfo", "::", "emitLoadConstPool", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "DebugLoc", "dl", ",", "unsigned", "DestReg", ",", "unsigned", "SubIdx", ",", "int", "Val", ",", "ARMCC", "::", "CondCodes", "Pred", ",", "unsigned", "PredReg", ",", "unsigned", "MIFlags", ")", "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", "::", "tLDRpci", ")", ")", ".", "addReg", "(", "DestReg", ",", "getDefRegState", "(", "true", ")", ",", "SubIdx", ")", ".", "addConstantPoolIndex", "(", "Idx", ")", ".", "addImm", "(", "Pred", ")", ".", "addReg", "(", "PredReg", ")", ".", "setMIFlags", "(", "MIFlags", ")", ";", "}", ""], "natrual_language": ["emitLoadConstPool", "-", "Emits", "a", "load", "from", "constpool", "to", "materialize", "the", "specified", "immediate", "."], "TS_V_token": ["ARM", "ARMCC::CondCodes", "4", "ARM::tLDRpci"], "File": "Thumb1RegisterInfo", "Func": "emitLoadConstPool", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17667, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "addInst", "(", "MachineInstr", "*", "MI", ",", "SetVector", "<", "MachineInstr", "*", ">", "&", "Preds", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"ARM Loops: Adding predicated MI: \"", "<<", "*", "MI", ")", ";", "if", "(", "!", "Divergent", "&&", "!", "set_difference", "(", "Preds", ",", "VPST", "->", "Predicates", ")", ".", "empty", "(", ")", ")", "{", "Divergent", "=", "&", "Insts", ".", "back", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\" - has divergent predicate: \"", "<<", "*", "Divergent", "->", "MI", ")", ";", "}", "Insts", ".", "emplace_back", "(", "MI", ",", "Preds", ")", ";", "assert", "(", "Insts", ".", "size", "(", ")", "<=", "4", "&&", "\"Too many instructions in VPT block!\"", ")", ";", "}", ""], "natrual_language": ["Add", "a", "new", "MCInst", "operand", "."], "TS_V_token": ["ARM", "\"ARM Loops: Adding predicated MI: \"", "\" - has divergent predicate: \"", "4", "\"Too many instructions in VPT block!\""], "File": "ARMLowOverheadLoops20", "Func": "addInst", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17668, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCRegisterInfo", "::", "lowerCRSpilling", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "unsigned", "FrameIndex", ",", "int", "SPAdj", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "DebugLoc", "dl", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "const", "TargetRegisterClass", "*", "G8RC", "=", "&", "PPC", "::", "G8RCRegClass", ";", "const", "TargetRegisterClass", "*", "GPRC", "=", "&", "PPC", "::", "GPRCRegClass", ";", "const", "TargetRegisterClass", "*", "RC", "=", "Subtarget", ".", "isPPC64", "(", ")", "?", "G8RC", ":", "GPRC", ";", "unsigned", "Reg", "=", "findScratchRegister", "(", "II", ",", "RS", ",", "RC", ",", "SPAdj", ")", ";", "if", "(", "!", "MI", ".", "getOperand", "(", "0", ")", ".", "isKill", "(", ")", ")", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MFCR", ")", ",", "Reg", ")", ";", "else", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MFCR", ")", ",", "Reg", ")", ".", "addReg", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "RegState", "::", "ImplicitKill", ")", ";", "unsigned", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "if", "(", "SrcReg", "!=", "PPC", "::", "CR0", ")", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "RLWINM", ")", ",", "Reg", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "PPCRegisterInfo", "::", "getRegisterNumbering", "(", "SrcReg", ")", "*", "4", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "31", ")", ";", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "STW", ")", ")", ".", "addReg", "(", "Reg", ",", "getKillRegState", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ")", ")", ",", "FrameIndex", ")", ";", "MBB", ".", "erase", "(", "II", ")", ";", "}", ""], "natrual_language": ["lowerCRSpilling", "-", "Generate", "the", "code", "for", "spilling", "a", "CR", "register", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::G8RCRegClass", "PPC::GPRCRegClass", "PPC", "0", "PPC::MFCR", "PPC::MFCR", "0", "0", "PPC::CR0", "PPC::RLWINM", "PPC", "4", "0", "31", "PPC::STW", "1"], "File": "PPCRegisterInfo23", "Func": "lowerCRSpilling", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17669, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ARMBaseRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", "->", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMSubtarget (2)", "Func": "getRegisterInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17670, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LEGAsmPrinter", "::", "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": ["LEG", "LEG"], "File": "LEGAsmPrinter", "Func": "EmitInstruction", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17671, "Length": 32, "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": 17672, "Length": 292, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "shouldScalarizeBinop", "(", "SDValue", "VecOp", ")", "const", "{", "EVT", "VecVT", "=", "VecOp", ".", "getValueType", "(", ")", ";", "if", "(", "!", "isOperationLegalOrCustomOrPromote", "(", "VecOp", ".", "getOpcode", "(", ")", ",", "VecVT", ")", ")", "return", "true", ";", "EVT", "ScalarVT", "=", "VecVT", ".", "getScalarType", "(", ")", ";", "return", "isOperationLegalOrCustomOrPromote", "(", "VecOp", ".", "getOpcode", "(", ")", ",", "ScalarVT", ")", ";", "}", ""], "natrual_language": ["Scalar", "ops", "always", "have", "equal", "or", "better", "analysis/performance/power", "than", "the", "vector", "equivalent", ",", "so", "this", "always", "makes", "sense", "if", "the", "scalar", "op", "is", "supported", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering (2)8", "Func": "shouldScalarizeBinop", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17673, "Length": 58, "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": 17674, "Length": 308, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "ARMOperand", "*", "CreateMem", "(", "unsigned", "BaseRegNum", ",", "bool", "OffsetIsReg", ",", "const", "MCExpr", "*", "Offset", ",", "int", "OffsetRegNum", ",", "bool", "OffsetRegShifted", ",", "enum", "ShiftType", "ShiftType", ",", "const", "MCExpr", "*", "ShiftAmount", ",", "bool", "Preindexed", ",", "bool", "Postindexed", ",", "bool", "Negative", ",", "bool", "Writeback", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{", "assert", "(", "(", "OffsetRegNum", "==", "-", "1", "||", "OffsetIsReg", ")", "&&", "\"OffsetRegNum must imply OffsetIsReg!\"", ")", ";", "assert", "(", "(", "!", "OffsetRegShifted", "||", "OffsetIsReg", ")", "&&", "\"OffsetRegShifted must imply OffsetIsReg!\"", ")", ";", "assert", "(", "(", "Offset", "||", "OffsetIsReg", ")", "&&", "\"Offset must exists unless register offset is used!\"", ")", ";", "assert", "(", "(", "!", "ShiftAmount", "||", "(", "OffsetIsReg", "&&", "OffsetRegShifted", ")", ")", "&&", "\"Cannot have shift amount without shifted register offset!\"", ")", ";", "assert", "(", "(", "!", "Offset", "||", "!", "OffsetIsReg", ")", "&&", "\"Cannot have expression offset and register offset!\"", ")", ";", "ARMOperand", "*", "Op", "=", "new", "ARMOperand", "(", "Memory", ")", ";", "Op", "->", "Mem", ".", "BaseRegNum", "=", "BaseRegNum", ";", "Op", "->", "Mem", ".", "OffsetIsReg", "=", "OffsetIsReg", ";", "if", "(", "OffsetIsReg", ")", "Op", "->", "Mem", ".", "Offset", ".", "RegNum", "=", "OffsetRegNum", ";", "else", "Op", "->", "Mem", ".", "Offset", ".", "Value", "=", "Offset", ";", "Op", "->", "Mem", ".", "OffsetRegShifted", "=", "OffsetRegShifted", ";", "Op", "->", "Mem", ".", "ShiftType", "=", "ShiftType", ";", "Op", "->", "Mem", ".", "ShiftAmount", "=", "ShiftAmount", ";", "Op", "->", "Mem", ".", "Preindexed", "=", "Preindexed", ";", "Op", "->", "Mem", ".", "Postindexed", "=", "Postindexed", ";", "Op", "->", "Mem", ".", "Negative", "=", "Negative", ";", "Op", "->", "Mem", ".", "Writeback", "=", "Writeback", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "E", ";", "return", "Op", ";", "}", ""], "natrual_language": ["Create", "a", "generalized", "memory", "operand", "."], "TS_V_token": ["ARM", "ARM", "1", "\"OffsetRegNum must imply OffsetIsReg!\"", "\"OffsetRegShifted must imply OffsetIsReg!\"", "\"Offset must exists unless register offset is used!\"", "\"Cannot have shift amount without shifted register offset!\"", "\"Cannot have expression offset and register offset!\"", "ARM", "ARM"], "File": "ARMAsmParser8", "Func": "CreateMem", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17675, "Length": 239, "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", ":", "return", "7", ";", "case", "CPU_POWER9", ":", "return", "6", ";", "default", ":", "return", "1", ";", "}", "}", ""], "natrual_language": ["Return", "how", "many", "instructions", "the", "machine", "can", "issue", "per", "cycle", "."], "TS_V_token": ["powerpcspe", "1", "3", "2", "4", "5", "7", "6", "1"], "File": "powerpcspe", "Func": "rs6000_issue_rate", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17676, "Length": 132, "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": "LanaiFrameLowering", "Func": "emitPrologue", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17677, "Length": 249, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "extern", "bool", "arm_is_constant_pool_ref", "(", "rtx", "x", ")", "{", "return", "(", "MEM_P", "(", "x", ")", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "SYMBOL_REF", "&&", "CONSTANT_POOL_ADDRESS_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", ")", ";", "}", ""], "natrual_language": ["return", "TRUE", "if", "x", "is", "a", "reference", "to", "a", "value", "in", "a", "constant", "pool"], "TS_V_token": ["arm", "0", "0"], "File": "arm", "Func": "arm_is_constant_pool_ref", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17678, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARM64BranchRelaxation", "::", "verify", "(", ")", "{", "unsigned", "PrevNum", "=", "MF", "->", "begin", "(", ")", "->", "getNumber", "(", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "*", "MF", ")", "{", "unsigned", "Align", "=", "MBB", ".", "getAlignment", "(", ")", ";", "unsigned", "Num", "=", "MBB", ".", "getNumber", "(", ")", ";", "assert", "(", "BlockInfo", "[", "Num", "]", ".", "Offset", "%", "(", "1u", "<<", "Align", ")", "==", "0", ")", ";", "assert", "(", "!", "Num", "||", "BlockInfo", "[", "PrevNum", "]", ".", "postOffset", "(", ")", "<=", "BlockInfo", "[", "Num", "]", ".", "Offset", ")", ";", "PrevNum", "=", "Num", ";", "}", "}", ""], "natrual_language": ["Check", "if", "this", "register", "bank", "is", "valid", "."], "TS_V_token": ["ARM64", "ARM64", "1u", "0"], "File": "ARM64BranchRelaxation", "Func": "verify", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17679, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToAddress", "(", "Register", "ValVReg", ",", "Register", "Addr", ",", "uint64_t", "Size", ",", "MachinePointerInfo", "&", "MPO", ",", "CCValAssign", "&", "VA", ")", "override", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "unsigned", "Align", "=", "inferAlignmentFromPtrInfo", "(", "MF", ",", "MPO", ")", ";", "auto", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MPO", ",", "MachineMemOperand", "::", "MOLoad", "|", "MachineMemOperand", "::", "MOInvariant", ",", "Size", ",", "Align", ")", ";", "MIRBuilder", ".", "buildLoad", "(", "ValVReg", ",", "Addr", ",", "*", "MMO", ")", ";", "}", ""], "natrual_language": ["An", "overload", "which", "takes", "an", "ArgInfo", "if", "additional", "information", "about", "the", "arg", "is", "needed", "."], "TS_V_token": ["X86"], "File": "X86CallLowering19", "Func": "assignValueToAddress", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17680, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_can_inline_p", "(", "tree", "caller", ",", "tree", "callee", ")", "{", "if", "(", "mips_get_compress_mode", "(", "callee", ")", "!=", "mips_get_compress_mode", "(", "caller", ")", ")", "return", "false", ";", "return", "default_target_can_inline_p", "(", "caller", ",", "callee", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CAN_INLINE_P", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_can_inline_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17681, "Length": 35, "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": 17682, "Length": 71, "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", "(", "frame_pointer_needed", ")", "mask", "|=", "1", "<<", "HARD_FRAME_POINTER_REGNUM", ";", "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", "1", "0", "1", "0xff", "1", "0xff", "0", "0x0f00", "1", "1", "504", "1", "1", "1"], "File": "arm6", "Func": "thumb1_compute_save_reg_mask", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17683, "Length": 241, "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", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "!=", "ARM", "::", "CPSR", ")", "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", "::", "createFPImm", "(", "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\"", "ARM::CPSR", "\"Subregs should be eliminated!\"", "ARM", "\"execute-only should not generate constant pools\""], "File": "ARMMCInstLower10", "Func": "lowerOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17684, "Length": 338, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isImm", "(", ")", "const", "override", "{", "return", "Kind", "==", "Immediate", ";", "}", ""], "natrual_language": ["isImm", "-", "Is", "this", "an", "immediate", "operand", "?"], "TS_V_token": ["CAHP"], "File": "CAHPAsmParser", "Func": "isImm", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17685, "Length": 13, "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", ";", "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", "Mips::CONSTPOOL_ENTRY", "Mips::CONSTPOOL_ENTRY", "0", "1"], "File": "MipsAsmPrinter85", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17686, "Length": 262, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "SlotWithTag", "getTombstoneKey", "(", ")", "{", "return", "{", "-", "3", ",", "-", "3", ";", "}", ""], "natrual_language": ["Difference", "in", "tombstone", "is", "that", "the", "Optional", "is", "meaningful", "."], "TS_V_token": ["AArch64", "3", "3"], "File": "AArch64StackTaggingPreRA1", "Func": "getTombstoneKey", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17687, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LEGInstrInfo", "::", "analyzeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "&", "TBB", ",", "MachineBasicBlock", "*", "&", "FBB", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "bool", "AllowModify", ")", "const", "{", "bool", "HasCondBranch", "=", "false", ";", "TBB", "=", "nullptr", ";", "FBB", "=", "nullptr", ";", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "LEG", "::", "B", ")", "{", "MachineBasicBlock", "*", "TargetBB", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "if", "(", "HasCondBranch", ")", "{", "FBB", "=", "TargetBB", ";", "}", "else", "{", "TBB", "=", "TargetBB", ";", "}", "}", "else", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "LEG", "::", "Bcc", ")", "{", "MachineBasicBlock", "*", "TargetBB", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getMBB", "(", ")", ";", "TBB", "=", "TargetBB", ";", "Cond", ".", "push_back", "(", "MI", ".", "getOperand", "(", "0", ")", ")", ";", "HasCondBranch", "=", "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": ["LEG", "LEG", "LEG::B", "0", "LEG::Bcc", "1", "0"], "File": "LEGInstrInfo", "Func": "analyzeBranch", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17688, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64A57FPLoadBalancing", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "bool", "Changed", "=", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** AArch64A57FPLoadBalancing *****\\n\"", ")", ";", "const", "TargetMachine", "&", "TM", "=", "F", ".", "getTarget", "(", ")", ";", "MRI", "=", "&", "F", ".", "getRegInfo", "(", ")", ";", "TRI", "=", "F", ".", "getRegInfo", "(", ")", ".", "getTargetRegisterInfo", "(", ")", ";", "TII", "=", "TM", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "RCI", ".", "runOnMachineFunction", "(", "F", ")", ";", "for", "(", "auto", "&", "MBB", ":", "F", ")", "{", "Changed", "|=", "runOnBasicBlock", "(", "MBB", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"***** AArch64A57FPLoadBalancing *****\\n\"", "AArch64"], "File": "AArch64A57FPLoadBalancing10", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17689, "Length": 99, "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": 17690, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmBackend", "::", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "switch", "(", "(", "unsigned", ")", "Fixup", ".", "getKind", "(", ")", ")", "{", "case", "ARM", "::", "fixup_arm_thumb_br", ":", "{", "int64_t", "Offset", "=", "int64_t", "(", "Value", ")", "-", "4", ";", "return", "Offset", ">", "2046", "||", "Offset", "<", "-", "2048", ";", "}", "case", "ARM", "::", "fixup_arm_thumb_bcc", ":", "{", "int64_t", "Offset", "=", "int64_t", "(", "Value", ")", "-", "4", ";", "return", "Offset", ">", "254", "||", "Offset", "<", "-", "256", ";", "}", "case", "ARM", "::", "fixup_thumb_adr_pcrel_10", ":", "case", "ARM", "::", "fixup_arm_thumb_cp", ":", "{", "int64_t", "Offset", "=", "int64_t", "(", "Value", ")", "-", "4", ";", "return", "Offset", ">", "1020", "||", "Offset", "<", "0", "||", "Offset", "&", "3", ";", "}", "case", "ARM", "::", "fixup_arm_thumb_cb", ":", "int64_t", "Offset", "=", "(", "Value", "&", "~", "1", ")", ";", "return", "Offset", "==", "2", ";", "}", "llvm_unreachable", "(", "\"Unexpected fixup kind in fixupNeedsRelaxation()!\"", ")", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["ARM", "ARM", "ARM::fixup_arm_thumb_br", "4", "2046", "2048", "ARM::fixup_arm_thumb_bcc", "4", "254", "256", "ARM::fixup_thumb_adr_pcrel_10", "ARM::fixup_arm_thumb_cp", "4", "1020", "0", "3", "ARM::fixup_arm_thumb_cb", "1", "2", "\"Unexpected fixup kind in fixupNeedsRelaxation()!\""], "File": "ARMAsmBackend14", "Func": "fixupNeedsRelaxation", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17691, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_call_tls_get_addr", "(", "rtx", "sym", ",", "enum", "mips_symbol_type", "type", ",", "rtx", "v0", ")", "{", "rtx", "insn", ",", "loc", ",", "a0", ";", "a0", "=", "gen_rtx_REG", "(", "Pmode", ",", "GP_ARG_FIRST", ")", ";", "if", "(", "!", "mips_tls_symbol", ")", "mips_tls_symbol", "=", "init_one_libfunc", "(", "\"__tls_get_addr\"", ")", ";", "loc", "=", "mips_unspec_address", "(", "sym", ",", "type", ")", ";", "start_sequence", "(", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "a0", ",", "gen_rtx_LO_SUM", "(", "Pmode", ",", "pic_offset_table_rtx", ",", "loc", ")", ")", ")", ";", "insn", "=", "mips_expand_call", "(", "MIPS_CALL_NORMAL", ",", "v0", ",", "mips_tls_symbol", ",", "const0_rtx", ",", "NULL_RTX", ",", "false", ")", ";", "RTL_CONST_CALL_P", "(", "insn", ")", "=", "1", ";", "use_reg", "(", "&", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ",", "a0", ")", ";", "insn", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "return", "insn", ";", "}", ""], "natrual_language": ["Return", "an", "instruction", "sequence", "that", "calls", "__tls_get_addr", ".", "SYM", "is", "the", "TLS", "symbol", "we", "are", "referencing", "and", "TYPE", "is", "the", "symbol", "type", "to", "use", "(", "either", "global", "dynamic", "or", "local", "dynamic", ")", ".", "V0", "is", "an", "RTX", "for", "the", "return", "value", "location", "."], "TS_V_token": ["mips", "\"__tls_get_addr\"", "1"], "File": "mips5", "Func": "mips_call_tls_get_addr", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17692, "Length": 122, "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", ")", "{", "emitThumbRegPlusImmediate", "(", "MBB", ",", "MBBI", ",", "ARM", "::", "SP", ",", "ARM", "::", "SP", ",", "NumBytes", ",", "TII", ",", "MRI", ",", "dl", ")", ";", "}", ""], "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": "Thumb1FrameInfo", "Func": "emitSPUpdate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17693, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "fma_forest", "::", "dispatch", "(", ")", "{", "this", "->", "m_target_parity", "=", "this", "->", "m_roots", "->", "front", "(", ")", "->", "get_parity", "(", ")", ";", "int", "fpu_balance", "=", "this", "->", "m_globals", "->", "get_fpu_balance", "(", ")", ";", "if", "(", "fpu_balance", "!=", "0", ")", "this", "->", "m_target_parity", "=", "(", "fpu_balance", "<", "0", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Target parity for forest #%d: %s\\n\"", ",", "this", "->", "m_id", ",", "this", "->", "m_target_parity", "?", "\"odd\"", ":", "\"even\"", ")", ";", "}", ""], "natrual_language": ["Dispatch", "forest", "to", "the", "least", "utilized", "pipeline", "."], "TS_V_token": ["aarch64", "0", "0", "\"Target parity for forest #%d: %s\\n\"", "\"odd\"", "\"even\""], "File": "cortex-a57-fma-steering", "Func": "dispatch", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17694, "Length": 74, "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", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", "->", "getRegInfo", "(", ")", ";", "GlobalBaseReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "X86", "::", "GR32_NOSPRegClass", ")", ";", "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::GR32_NOSPRegClass", "X86"], "File": "X86InstrInfo (2)", "Func": "getGlobalBaseReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17695, "Length": 94, "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 (2)2", "Func": "getTargetNodeName", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17696, "Length": 202, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sh_libcall_value", "(", "machine_mode", "mode", ",", "const_rtx", "fun", "ATTRIBUTE_UNUSED", ")", "{", "return", "gen_rtx_REG", "(", "mode", ",", "BASE_RETURN_VALUE_REG", "(", "mode", ")", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_LIBCALL_VALUE", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "sh_libcall_value", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17697, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Instruction", "*", "VETargetLowering", "::", "emitLeadingFence", "(", "IRBuilder", "<", ">", "&", "Builder", ",", "Instruction", "*", "Inst", ",", "AtomicOrdering", "Ord", ")", "const", "{", "switch", "(", "Ord", ")", "{", "case", "AtomicOrdering", "::", "NotAtomic", ":", "case", "AtomicOrdering", "::", "Unordered", ":", "llvm_unreachable", "(", "\"Invalid fence: unordered/non-atomic\"", ")", ";", "case", "AtomicOrdering", "::", "Monotonic", ":", "case", "AtomicOrdering", "::", "Acquire", ":", "return", "nullptr", ";", "case", "AtomicOrdering", "::", "Release", ":", "case", "AtomicOrdering", "::", "AcquireRelease", ":", "return", "Builder", ".", "CreateFence", "(", "AtomicOrdering", "::", "Release", ")", ";", "case", "AtomicOrdering", "::", "SequentiallyConsistent", ":", "if", "(", "!", "Inst", "->", "hasAtomicStore", "(", ")", ")", "return", "nullptr", ";", "return", "Builder", ".", "CreateFence", "(", "AtomicOrdering", "::", "SequentiallyConsistent", ")", ";", "}", "llvm_unreachable", "(", "\"Unknown fence ordering in emitLeadingFence\"", ")", ";", "}", ""], "natrual_language": ["Custom", "Lower", "{", "."], "TS_V_token": ["VE", "VE", "\"Invalid fence: unordered/non-atomic\"", "\"Unknown fence ordering in emitLeadingFence\""], "File": "VEISelLowering1", "Func": "emitLeadingFence", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17698, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_override_options_after_change", "(", "void", ")", "{", "if", "(", "optimize", ">=", "3", "&&", "!", "OPTION_SET_P", "(", "flag_selective_scheduling", ")", "&&", "!", "OPTION_SET_P", "(", "flag_selective_scheduling2", ")", ")", "{", "flag_selective_scheduling2", "=", "1", ";", "flag_sel_sched_pipelining", "=", "1", ";", "}", "if", "(", "mflag_sched_control_spec", "==", "2", ")", "{", "mflag_sched_control_spec", "=", "flag_selective_scheduling2", "?", "1", ":", "0", ";", "}", "if", "(", "flag_sel_sched_pipelining", "&&", "flag_auto_inc_dec", ")", "{", "flag_auto_inc_dec", "=", "0", ";", "}", "}", ""], "natrual_language": ["Implement", "targetm.override_options_after_change", "."], "TS_V_token": ["ia64", "3", "1", "1", "2", "1", "0", "0"], "File": "ia64", "Func": "ia64_override_options_after_change", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17699, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_cannot_force_const_mem", "(", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "CONST_INT", ":", "case", "CONST_DOUBLE", ":", "case", "CONST_VECTOR", ":", "return", "false", ";", "case", "LABEL_REF", ":", "return", "flag_pic", "!=", "0", ";", "case", "SYMBOL_REF", ":", "if", "(", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", ")", "return", "true", ";", "else", "return", "flag_pic", "!=", "0", ";", "case", "CONST", ":", "return", "sparc_cannot_force_const_mem", "(", "mode", ",", "XEXP", "(", "x", ",", "0", ")", ")", ";", "case", "PLUS", ":", "case", "MINUS", ":", "return", "sparc_cannot_force_const_mem", "(", "mode", ",", "XEXP", "(", "x", ",", "0", ")", ")", "||", "sparc_cannot_force_const_mem", "(", "mode", ",", "XEXP", "(", "x", ",", "1", ")", ")", ";", "case", "UNSPEC", ":", "return", "true", ";", "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": ["sparc", "0", "0", "0", "0", "1"], "File": "sparc4", "Func": "sparc_cannot_force_const_mem", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17700, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "VETargetLowering", "::", "getJumpTableEncoding", "(", ")", "const", "{", "if", "(", "isPositionIndependent", "(", ")", ")", "return", "MachineJumpTableInfo", "::", "EK_Custom32", ";", "return", "TargetLowering", "::", "getJumpTableEncoding", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "entry", "encoding", "for", "a", "jump", "table", "in", "the", "current", "function", "."], "TS_V_token": ["VE", "VE"], "File": "VEISelLowering11", "Func": "getJumpTableEncoding", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17701, "Length": 27, "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", "->", "isThumb1Only", "(", ")", ")", "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", ";", "if", "(", "Arg", ".", "hasByValOrInAllocaAttr", "(", ")", ")", "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", ")", "{", "SplitRegs", ".", "push_back", "(", "Reg", ")", ";", "}", ")", ";", "if", "(", "!", "SplitRegs", ".", "empty", "(", ")", ")", "MIRBuilder", ".", "buildMerge", "(", "VRegs", "[", "Idx", "]", ",", "SplitRegs", ")", ";", "Idx", "++", ";", "}", "if", "(", "!", "MBB", ".", "empty", "(", ")", ")", "MIRBuilder", ".", "setInstr", "(", "*", "MBB", ".", "begin", "(", ")", ")", ";", "if", "(", "!", "handleAssignments", "(", "MIRBuilder", ",", "ArgInfos", ",", "ArgHandler", ")", ")", "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": ["ARM", "ARM", "ARM", "8", "4", "0"], "File": "ARMCallLowering33", "Func": "lowerFormalArguments", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17702, "Length": 356, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "processBlock", "(", "MachineBasicBlock", "&", "MBB", ")", "{", "bool", "Changed", "=", "false", ";", "const", "bool", "isPPC64", "=", "MBB", ".", "getParent", "(", ")", "->", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "isPPC64", "(", ")", ";", "const", "unsigned", "TOCReg", "=", "isPPC64", "?", "PPC", "::", "X2", ":", "PPC", "::", "R2", ";", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "if", "(", "!", "hasTOCLoReloc", "(", "MI", ")", ")", "continue", ";", "MI", ".", "addOperand", "(", "MachineOperand", "::", "CreateReg", "(", "TOCReg", ",", "false", ",", "true", ")", ")", ";", "Changed", "=", "true", ";", "}", "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", "PPC", "PPC", "PPC", "PPC", "PPC::X2", "PPC::R2"], "File": "PPCTOCRegDeps1", "Func": "processBlock", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17703, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "gen_func_t", "get_spec_check_gen_function", "(", "ds_t", "ts", ",", "int", "mode_no", ",", "bool", "simple_check_p", ",", "bool", "clearing_check_p", ")", "{", "static", "gen_func_t", "gen_ld_c_clr", "[", "]", "=", "{", "gen_movbi_clr", ",", "gen_movqi_clr", ",", "gen_movhi_clr", ",", "gen_movsi_clr", ",", "gen_movdi_clr", ",", "gen_movsf_clr", ",", "gen_movdf_clr", ",", "gen_movxf_clr", ",", "gen_movti_clr", ",", "gen_zero_extendqidi2_clr", ",", "gen_zero_extendhidi2_clr", ",", "gen_zero_extendsidi2_clr", ",", "}", ";", "static", "gen_func_t", "gen_ld_c_nc", "[", "]", "=", "{", "gen_movbi_nc", ",", "gen_movqi_nc", ",", "gen_movhi_nc", ",", "gen_movsi_nc", ",", "gen_movdi_nc", ",", "gen_movsf_nc", ",", "gen_movdf_nc", ",", "gen_movxf_nc", ",", "gen_movti_nc", ",", "gen_zero_extendqidi2_nc", ",", "gen_zero_extendhidi2_nc", ",", "gen_zero_extendsidi2_nc", ",", "}", ";", "static", "gen_func_t", "gen_chk_a_clr", "[", "]", "=", "{", "gen_advanced_load_check_clr_bi", ",", "gen_advanced_load_check_clr_qi", ",", "gen_advanced_load_check_clr_hi", ",", "gen_advanced_load_check_clr_si", ",", "gen_advanced_load_check_clr_di", ",", "gen_advanced_load_check_clr_sf", ",", "gen_advanced_load_check_clr_df", ",", "gen_advanced_load_check_clr_xf", ",", "gen_advanced_load_check_clr_ti", ",", "gen_advanced_load_check_clr_di", ",", "gen_advanced_load_check_clr_di", ",", "gen_advanced_load_check_clr_di", ",", "}", ";", "static", "gen_func_t", "gen_chk_a_nc", "[", "]", "=", "{", "gen_advanced_load_check_nc_bi", ",", "gen_advanced_load_check_nc_qi", ",", "gen_advanced_load_check_nc_hi", ",", "gen_advanced_load_check_nc_si", ",", "gen_advanced_load_check_nc_di", ",", "gen_advanced_load_check_nc_sf", ",", "gen_advanced_load_check_nc_df", ",", "gen_advanced_load_check_nc_xf", ",", "gen_advanced_load_check_nc_ti", ",", "gen_advanced_load_check_nc_di", ",", "gen_advanced_load_check_nc_di", ",", "gen_advanced_load_check_nc_di", ",", "}", ";", "static", "gen_func_t", "gen_chk_s", "[", "]", "=", "{", "gen_speculation_check_bi", ",", "gen_speculation_check_qi", ",", "gen_speculation_check_hi", ",", "gen_speculation_check_si", ",", "gen_speculation_check_di", ",", "gen_speculation_check_sf", ",", "gen_speculation_check_df", ",", "gen_speculation_check_xf", ",", "gen_speculation_check_ti", ",", "gen_speculation_check_di", ",", "gen_speculation_check_di", ",", "gen_speculation_check_di", ",", "}", ";", "gen_func_t", "*", "gen_check", ";", "if", "(", "ts", "&", "BEGIN_DATA", ")", "{", "if", "(", "simple_check_p", ")", "{", "gcc_assert", "(", "mflag_sched_spec_ldc", ")", ";", "if", "(", "clearing_check_p", ")", "gen_check", "=", "gen_ld_c_clr", ";", "else", "gen_check", "=", "gen_ld_c_nc", ";", "}", "else", "{", "if", "(", "clearing_check_p", ")", "gen_check", "=", "gen_chk_a_clr", ";", "else", "gen_check", "=", "gen_chk_a_nc", ";", "}", "}", "else", "if", "(", "ts", "&", "BEGIN_CONTROL", ")", "{", "if", "(", "simple_check_p", ")", "{", "gcc_assert", "(", "!", "ia64_needs_block_p", "(", "ts", ")", ")", ";", "if", "(", "clearing_check_p", ")", "gen_check", "=", "gen_ld_c_clr", ";", "else", "gen_check", "=", "gen_ld_c_nc", ";", "}", "else", "{", "gen_check", "=", "gen_chk_s", ";", "}", "}", "else", "gcc_unreachable", "(", ")", ";", "gcc_assert", "(", "mode_no", ">=", "0", ")", ";", "return", "gen_check", "[", "mode_no", "]", ";", "}", ""], "natrual_language": ["Return", "a", "function", "that", "will", "generate", "a", "check", "for", "speculation", "TS", "with", "mode", "MODE_NO", ".", "If", "simple", "check", "is", "needed", ",", "pass", "true", "for", "SIMPLE_CHECK_P", ".", "If", "clearing", "check", "is", "needed", ",", "pass", "true", "for", "CLEARING_CHECK_P", "."], "TS_V_token": ["ia64", "0"], "File": "ia64", "Func": "get_spec_check_gen_function", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17704, "Length": 297, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_expand_ashl_const", "(", "rtx", "operand", ",", "int", "count", ",", "machine_mode", "mode", ")", "{", "if", "(", "count", "==", "1", "||", "(", "count", "*", "ix86_cost", "->", "add", "<=", "ix86_cost", "->", "shift_const", "&&", "!", "optimize_insn_for_size_p", "(", ")", ")", ")", "{", "while", "(", "count", "--", ">", "0", ")", "emit_insn", "(", "gen_add2_insn", "(", "operand", ",", "operand", ")", ")", ";", "}", "else", "{", "rtx", "(", "*", "insn", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "insn", "=", "mode", "==", "DImode", "?", "gen_ashlsi3", ":", "gen_ashldi3", ";", "emit_insn", "(", "insn", "(", "operand", ",", "operand", ",", "GEN_INT", "(", "count", ")", ")", ")", ";", "}", "}", ""], "natrual_language": ["Helper", "function", "of", "ix86_split_ashl", "used", "to", "generate", "an", "SImode/DImode", "left", "shift", "by", "a", "constant", ",", "either", "using", "a", "single", "shift", "or", "a", "sequence", "of", "add", "instructions", "."], "TS_V_token": ["i386", "1", "0"], "File": "i386-expand", "Func": "ix86_expand_ashl_const", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17705, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_call_tls_get_addr", "(", "rtx", "sym", ",", "enum", "mips_symbol_type", "type", ",", "rtx", "v0", ")", "{", "rtx", "insn", ",", "loc", ",", "tga", ",", "a0", ";", "a0", "=", "gen_rtx_REG", "(", "Pmode", ",", "GP_ARG_FIRST", ")", ";", "if", "(", "!", "mips_tls_symbol", ")", "mips_tls_symbol", "=", "init_one_libfunc", "(", "\"__tls_get_addr\"", ")", ";", "loc", "=", "mips_unspec_address", "(", "sym", ",", "type", ")", ";", "start_sequence", "(", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "Pmode", ",", "a0", ",", "gen_rtx_LO_SUM", "(", "Pmode", ",", "pic_offset_table_rtx", ",", "loc", ")", ")", ")", ";", "tga", "=", "gen_rtx_MEM", "(", "Pmode", ",", "mips_tls_symbol", ")", ";", "insn", "=", "emit_call_insn", "(", "gen_call_value", "(", "v0", ",", "tga", ",", "const0_rtx", ",", "const0_rtx", ")", ")", ";", "CONST_OR_PURE_CALL_P", "(", "insn", ")", "=", "1", ";", "use_reg", "(", "&", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ",", "v0", ")", ";", "use_reg", "(", "&", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ",", "a0", ")", ";", "insn", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "return", "insn", ";", "}", ""], "natrual_language": ["Return", "an", "instruction", "sequence", "that", "calls", "__tls_get_addr", ".", "SYM", "is", "the", "TLS", "symbol", "we", "are", "referencing", "and", "TYPE", "is", "the", "symbol", "type", "to", "use", "(", "either", "global", "dynamic", "or", "local", "dynamic", ")", ".", "V0", "is", "an", "RTX", "for", "the", "return", "value", "location", "."], "TS_V_token": ["mips", "\"__tls_get_addr\"", "1"], "File": "mips3", "Func": "mips_call_tls_get_addr", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17706, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "handle_arm_mve_types_h", "(", ")", "{", "if", "(", "handle_arm_mve_types_p", ")", "{", "error", "(", "\"duplicate definition of %qs\"", ",", "\"arm_mve_types.h\"", ")", ";", "return", ";", "}", "handle_arm_mve_types_p", "=", "true", ";", "if", "(", "!", "TARGET_HAVE_MVE", ")", "{", "error", "(", "\"this definition requires the MVE ISA extension\"", ")", ";", "return", ";", "}", "register_builtin_types", "(", ")", ";", "for", "(", "unsigned", "int", "type_i", "=", "0", ";", "type_i", "<", "NUM_VECTOR_TYPES", ";", "++", "type_i", ")", "{", "vector_type_index", "type", "=", "vector_type_index", "(", "type_i", ")", ";", "register_vector_type", "(", "type", ")", ";", "if", "(", "type_i", "!=", "VECTOR_TYPE_mve_pred16_t", ")", "register_builtin_tuple_types", "(", "type", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "#", "pragma", "GCC", "arm", "``", "arm_mve_types.h", "''", "."], "TS_V_token": ["arm", "\"duplicate definition of %qs\"", "\"arm_mve_types.h\"", "\"this definition requires the MVE ISA extension\"", "0"], "File": "arm-mve-builtins", "Func": "handle_arm_mve_types_h", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17707, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "EquivSubstPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "const", "TargetInstrInfo", "*", "TII", "=", "Fn", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "if", "(", "!", "RNG", ")", "RNG", ".", "reset", "(", "Fn", ".", "getFunction", "(", ")", "->", "getParent", "(", ")", "->", "createRNG", "(", "this", ")", ")", ";", "bool", "Changed", "=", "false", ";", "std", "::", "vector", "<", "const", "EquivInsnFilter", "*", ">", "Candidates", ";", "for", "(", "MachineFunction", "::", "iterator", "BB", "=", "Fn", ".", "begin", "(", ")", ",", "E", "=", "Fn", ".", "end", "(", ")", ";", "BB", "!=", "E", ";", "++", "BB", ")", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "BB", "->", "begin", "(", ")", ";", "I", "!=", "BB", "->", "end", "(", ")", ";", ")", "{", "++", "PreEquivSubstInstructionCount", ";", "Candidates", ".", "clear", "(", ")", ";", "for", "(", "size_t", "i", "=", "0", ";", "i", "<", "array_lengthof", "(", "Filters", ")", ";", "i", "++", ")", "if", "(", "Filters", "[", "i", "]", "->", "check", "(", "*", "BB", ",", "*", "I", ")", ")", "Candidates", ".", "push_back", "(", "Filters", "[", "i", "]", ")", ";", "if", "(", "Candidates", ".", "empty", "(", ")", ")", "{", "++", "I", ";", "continue", ";", "}", "unsigned", "int", "Roll", "=", "RNG", "->", "Random", "(", "100", ")", ";", "++", "EquivSubstCandidates", ";", "if", "(", "Roll", ">=", "multicompiler", "::", "EquivSubstPercentage", ")", "{", "++", "I", ";", "continue", ";", "}", "unsigned", "int", "Pick", "=", "RNG", "->", "Random", "(", "Candidates", ".", "size", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "J", "=", "I", ";", "++", "I", ";", "Candidates", "[", "Pick", "]", "->", "subst", "(", "*", "BB", ",", "TII", ",", "J", ")", ";", "Changed", "=", "true", ";", "++", "EquivSubstituted", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "0", "100"], "File": "EquivSubst", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17708, "Length": 264, "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": 17709, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "{", "if", "(", "ExtraCode", "[", "1", "]", "!=", "0", ")", "return", "true", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "default", ":", "return", "true", ";", "case", "'a'", ":", "if", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "isReg", "(", ")", ")", "{", "O", "<<", "\"[\"", "<<", "ARMInstPrinter", "::", "getRegisterName", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "getReg", "(", ")", ")", "<<", "\"]\"", ";", "return", "false", ";", "}", "case", "'c'", ":", "if", "(", "!", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "isImm", "(", ")", ")", "return", "true", ";", "O", "<<", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "getImm", "(", ")", ";", "return", "false", ";", "case", "'P'", ":", "case", "'q'", ":", "printOperand", "(", "MI", ",", "OpNum", ",", "O", ")", ";", "return", "false", ";", "case", "'Q'", ":", "case", "'R'", ":", "case", "'H'", ":", "report_fatal_error", "(", "\"llvm does not support 'Q', 'R', and 'H' modifiers!\"", ")", ";", "return", "true", ";", "}", "}", "printOperand", "(", "MI", ",", "OpNum", ",", "O", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["ARM", "ARM", "0", "1", "0", "0", "\"[\"", "ARM", "\"]\"", "\"llvm does not support 'Q', 'R', and 'H' modifiers!\""], "File": "ARMAsmPrinter40", "Func": "PrintAsmOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17710, "Length": 190, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "Comet2RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "return", "CSR_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["Comet2", "Comet2"], "File": "Comet2RegisterInfo", "Func": "getCalleeSavedRegs", "Target": "Comet2", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17711, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"X86 Intel-Style Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 Intel-Style Assembly Printer\""], "File": "X86IntelAsmPrinter", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17712, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64TargetLowering", "::", "getByValTypeAlignment", "(", "Type", "*", "Ty", ")", "const", "{", "return", "4", ";", "}", ""], "natrual_language": ["Return", "the", "desired", "alignment", "for", "ByVal", "aggregate", "function", "arguments", "in", "the", "caller", "parameter", "area", "."], "TS_V_token": ["AArch64", "AArch64", "4"], "File": "AArch64ISelLowering109", "Func": "getByValTypeAlignment", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17713, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "xstormy16_split_cbranch", "(", "machine_mode", "mode", ",", "rtx", "label", ",", "rtx", "comparison", ",", "rtx", "dest", ")", "{", "rtx", "op0", "=", "XEXP", "(", "comparison", ",", "0", ")", ";", "rtx", "op1", "=", "XEXP", "(", "comparison", ",", "1", ")", ";", "rtx_insn", "*", "seq", ",", "*", "last_insn", ";", "rtx", "compare", ";", "start_sequence", "(", ")", ";", "xstormy16_expand_arith", "(", "mode", ",", "COMPARE", ",", "dest", ",", "op0", ",", "op1", ")", ";", "seq", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "gcc_assert", "(", "INSN_P", "(", "seq", ")", ")", ";", "last_insn", "=", "seq", ";", "while", "(", "NEXT_INSN", "(", "last_insn", ")", "!=", "NULL_RTX", ")", "last_insn", "=", "NEXT_INSN", "(", "last_insn", ")", ";", "compare", "=", "SET_SRC", "(", "XVECEXP", "(", "PATTERN", "(", "last_insn", ")", ",", "0", ",", "0", ")", ")", ";", "PUT_CODE", "(", "XEXP", "(", "compare", ",", "0", ")", ",", "GET_CODE", "(", "comparison", ")", ")", ";", "XEXP", "(", "compare", ",", "1", ")", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "label", ")", ";", "emit_insn", "(", "seq", ")", ";", "}", ""], "natrual_language": ["Take", "a", "SImode", "conditional", "branch", ",", "one", "of", "GT/LE/GTU/LEU", ",", "and", "split", "the", "arithmetic", "operation", ".", "Most", "of", "the", "work", "is", "done", "by", "xstormy16_expand_arith", "."], "TS_V_token": ["stormy16", "0", "1", "0", "0", "0", "1"], "File": "stormy16", "Func": "xstormy16_split_cbranch", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17714, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "VETargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "case", "VEISD", "::", "NAME", ":", "\\", "return", "\"VEISD::\"", "#", "NAME", ";", "switch", "(", "(", "VEISD", "::", "NodeType", ")", "Opcode", ")", "{", "case", "VEISD", "::", "FIRST_NUMBER", ":", "break", ";", "TARGET_NODE_CASE", "(", "Lo", ")", "TARGET_NODE_CASE", "(", "Hi", ")", "TARGET_NODE_CASE", "(", "GETFUNPLT", ")", "TARGET_NODE_CASE", "(", "CALL", ")", "TARGET_NODE_CASE", "(", "RET_FLAG", ")", "TARGET_NODE_CASE", "(", "GLOBAL_BASE_REG", ")", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["VE", "VE", "VEISD::NAME", "\"VEISD::\"", "VEISD::NodeType", "VEISD::FIRST_NUMBER"], "File": "VEISelLowering17", "Func": "getTargetNodeName", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17715, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86ATTInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "'%'", "<<", "getRegisterName", "(", "RegNo", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["X86", "X86"], "File": "X86ATTInstPrinter18", "Func": "printRegName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17716, "Length": 24, "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": 17717, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCFastISel", "::", "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", "PPCMaterializeFP", "(", "CFP", ",", "VT", ")", ";", "else", "if", "(", "const", "GlobalValue", "*", "GV", "=", "dyn_cast", "<", "GlobalValue", ">", "(", "C", ")", ")", "return", "PPCMaterializeGV", "(", "GV", ",", "VT", ")", ";", "else", "if", "(", "isa", "<", "ConstantInt", ">", "(", "C", ")", ")", "return", "PPCMaterializeInt", "(", "C", ",", "VT", ",", "VT", "!=", "MVT", "::", "i1", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Emit", "a", "constant", "in", "a", "register", "using", "target-specific", "logic", ",", "such", "as", "constant", "pool", "loads", "."], "TS_V_token": ["PowerPC", "PPC", "0", "PPC", "PPC", "PPC", "MVT::i1", "0"], "File": "PPCFastISel17", "Func": "fastMaterializeConstant", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17718, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_orphaned_high_part_p", "(", "mips_offset_table", "*", "htab", ",", "rtx_insn", "*", "insn", ")", "{", "enum", "mips_symbol_type", "type", ";", "rtx", "x", ",", "set", ";", "set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "set", ")", "{", "x", "=", "SET_SRC", "(", "set", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "HIGH", "&&", "absolute_symbolic_operand", "(", "XEXP", "(", "x", ",", "0", ")", ",", "VOIDmode", ")", ")", "return", "!", "mips_lo_sum_offset_lookup", "(", "htab", ",", "XEXP", "(", "x", ",", "0", ")", ",", "NO_INSERT", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", "&&", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_LOAD_GOT", "&&", "mips_symbolic_constant_p", "(", "XVECEXP", "(", "x", ",", "0", ",", "1", ")", ",", "SYMBOL_CONTEXT_LEA", ",", "&", "type", ")", "&&", "type", "==", "SYMBOL_GOTOFF_PAGE", ")", "return", "!", "mips_lo_sum_offset_lookup", "(", "htab", ",", "XVECEXP", "(", "x", ",", "0", ",", "1", ")", ",", "NO_INSERT", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "INSN", "is", "a", "SET", "of", "an", "orphaned", "high-part", "relocation", ".", "HTAB", "is", "a", "hash", "table", "of", "mips_lo_sum_offsets", "that", "describes", "all", "the", "LO_SUMs", "in", "the", "current", "function", "."], "TS_V_token": ["mips", "0", "0", "1", "0", "1", "0", "1"], "File": "mips", "Func": "mips_orphaned_high_part_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17719, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isThumb", "(", ")", "const", "{", "return", "STI", ".", "getFeatureBits", "(", ")", "[", "ARM", "::", "ModeThumb", "]", ";", "}", ""], "natrual_language": ["Tests", "whether", "the", "target", "is", "Thumb", "(", "little", "and", "big", "endian", ")", "."], "TS_V_token": ["ARM", "ARM::ModeThumb"], "File": "ARMAsmParser108", "Func": "isThumb", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17720, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_ls2_init_dfa_post_cycle_insn", "(", "void", ")", "{", "start_sequence", "(", ")", ";", "emit_insn", "(", "gen_ls2_alu1_turn_enabled_insn", "(", ")", ")", ";", "mips_ls2", ".", "alu1_turn_enabled_insn", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "start_sequence", "(", ")", ";", "emit_insn", "(", "gen_ls2_alu2_turn_enabled_insn", "(", ")", ")", ";", "mips_ls2", ".", "alu2_turn_enabled_insn", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "start_sequence", "(", ")", ";", "emit_insn", "(", "gen_ls2_falu1_turn_enabled_insn", "(", ")", ")", ";", "mips_ls2", ".", "falu1_turn_enabled_insn", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "start_sequence", "(", ")", ";", "emit_insn", "(", "gen_ls2_falu2_turn_enabled_insn", "(", ")", ")", ";", "mips_ls2", ".", "falu2_turn_enabled_insn", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "mips_ls2", ".", "alu1_core_unit_code", "=", "get_cpu_unit_code", "(", "\"ls2_alu1_core\"", ")", ";", "mips_ls2", ".", "alu2_core_unit_code", "=", "get_cpu_unit_code", "(", "\"ls2_alu2_core\"", ")", ";", "mips_ls2", ".", "falu1_core_unit_code", "=", "get_cpu_unit_code", "(", "\"ls2_falu1_core\"", ")", ";", "mips_ls2", ".", "falu2_core_unit_code", "=", "get_cpu_unit_code", "(", "\"ls2_falu2_core\"", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN", "hook", "for", "Loongson2", "."], "TS_V_token": ["mips", "\"ls2_alu1_core\"", "\"ls2_alu2_core\"", "\"ls2_falu1_core\"", "\"ls2_falu2_core\""], "File": "mips", "Func": "mips_ls2_init_dfa_post_cycle_insn", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17721, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "*", "function_builder", "::", "finish_name", "(", ")", "{", "obstack_1grow", "(", "&", "m_string_obstack", ",", "0", ")", ";", "return", "(", "char", "*", ")", "obstack_finish", "(", "&", "m_string_obstack", ")", ";", "}", ""], "natrual_language": ["Zero-terminate", "and", "complete", "the", "function", "name", "being", "built", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64-sve-builtins", "Func": "finish_name", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17722, "Length": 28, "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", "::", "ADDE", ":", "return", "PerformADDECombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SUBE", ":", "return", "PerformSUBECombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SDIVREM", ":", "case", "ISD", "::", "UDIVREM", ":", "return", "PerformDivRemCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SETCC", ":", "return", "PerformSETCCCombine", "(", "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::ADDE", "ISD::SUBE", "ISD::SDIVREM", "ISD::UDIVREM", "ISD::SETCC", "ISD::AND", "ISD::OR"], "File": "MipsISelLowering109", "Func": "PerformDAGCombine", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17723, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "i386_pe_seh_fini", "(", "FILE", "*", "f", ")", "{", "if", "(", "!", "TARGET_SEH", ")", "return", ";", "if", "(", "cfun", "->", "is_thunk", ")", "return", ";", "fputs", "(", "\"\\t.seh_endproc\\n\"", ",", "f", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "assembler", "directive", "for", "the", "end", "of", "the", "function", "."], "TS_V_token": ["i386", "\"\\t.seh_endproc\\n\""], "File": "winnt4", "Func": "i386_pe_seh_fini", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17724, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ATTRIBUTE_UNUSED", "x86_64_elf_unique_section", "(", "tree", "decl", ",", "int", "reloc", ")", "{", "if", "(", "ix86_in_large_data_p", "(", "decl", ")", ")", "{", "const", "char", "*", "prefix", "=", "NULL", ";", "bool", "one_only", "=", "DECL_COMDAT_GROUP", "(", "decl", ")", "&&", "!", "HAVE_COMDAT_GROUP", ";", "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", "?", "\".ld\"", ":", "\".ldata\"", ";", "break", ";", "case", "SECCAT_BSS", ":", "prefix", "=", "one_only", "?", "\".lb\"", ":", "\".lbss\"", ";", "break", ";", "case", "SECCAT_RODATA", ":", "case", "SECCAT_RODATA_MERGE_STR", ":", "case", "SECCAT_RODATA_MERGE_STR_INIT", ":", "case", "SECCAT_RODATA_MERGE_CONST", ":", "prefix", "=", "one_only", "?", "\".lr\"", ":", "\".lrodata\"", ";", "break", ";", "case", "SECCAT_SRODATA", ":", "case", "SECCAT_SDATA", ":", "case", "SECCAT_SBSS", ":", "gcc_unreachable", "(", ")", ";", "case", "SECCAT_TEXT", ":", "case", "SECCAT_TDATA", ":", "case", "SECCAT_TBSS", ":", "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": ["i386", "\".ld\"", "\".ldata\"", "\".lb\"", "\".lbss\"", "\".lr\"", "\".lrodata\"", "\".gnu.linkonce\"", "\"\"", "\".\""], "File": "i386", "Func": "x86_64_elf_unique_section", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17725, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SparcInstrInfo", "::", "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", "(", "I", "->", "getOpcode", "(", ")", "!=", "SP", "::", "BA", "&&", "I", "->", "getOpcode", "(", ")", "!=", "SP", "::", "BCOND", "&&", "I", "->", "getOpcode", "(", ")", "!=", "SP", "::", "FBCOND", ")", "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": ["Sparc", "Sparc", "\"code size not handled\"", "0", "SP::BA", "SP::BCOND", "SP::FBCOND"], "File": "SparcInstrInfo20", "Func": "removeBranch", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17726, "Length": 119, "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", ";", "}", "MipsMCInstLower", "MCInstLowering", "(", "Mang", ",", "*", "MF", ",", "*", "this", ")", ";", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "MCInst", "TmpInst0", ";", "SmallVector", "<", "MCInst", ",", "4", ">", "MCInsts", ";", "MCInstLowering", ".", "Lower", "(", "MI", ",", "TmpInst0", ")", ";", "if", "(", "!", "OutStreamer", ".", "hasRawTextSupport", "(", ")", "&&", "isDirective", "(", "Opc", ")", ")", "return", ";", "if", "(", "isUnalignedLoadStore", "(", "Opc", ")", ")", "{", "if", "(", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "{", "MCInst", "Directive", ";", "Directive", ".", "setOpcode", "(", "Mips", "::", "MACRO", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "Directive", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "TmpInst0", ")", ";", "Directive", ".", "setOpcode", "(", "Mips", "::", "NOMACRO", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "Directive", ")", ";", "}", "else", "{", "MCInstLowering", ".", "LowerUnalignedLoadStore", "(", "MI", ",", "MCInsts", ")", ";", "for", "(", "SmallVector", "<", "MCInst", ",", "4", ">", "::", "iterator", "I", "=", "MCInsts", ".", "begin", "(", ")", ";", "I", "!=", "MCInsts", ".", "end", "(", ")", ";", "++", "I", ")", "OutStreamer", ".", "EmitInstruction", "(", "*", "I", ")", ";", "}", "return", ";", "}", "if", "(", "!", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "{", "if", "(", "Opc", "==", "Mips", "::", "CPLOAD", ")", "MCInstLowering", ".", "LowerCPLOAD", "(", "MI", ",", "MCInsts", ")", ";", "else", "if", "(", "Opc", "==", "Mips", "::", "CPRESTORE", ")", "MCInstLowering", ".", "LowerCPRESTORE", "(", "MI", ",", "MCInsts", ")", ";", "if", "(", "!", "MCInsts", ".", "empty", "(", ")", ")", "{", "for", "(", "SmallVector", "<", "MCInst", ",", "4", ">", "::", "iterator", "I", "=", "MCInsts", ".", "begin", "(", ")", ";", "I", "!=", "MCInsts", ".", "end", "(", ")", ";", "++", "I", ")", "OutStreamer", ".", "EmitInstruction", "(", "*", "I", ")", ";", "return", ";", "}", "}", "if", "(", "Opc", "==", "Mips", "::", "SETGP01", ")", "{", "MCInstLowering", ".", "LowerSETGP01", "(", "MI", ",", "MCInsts", ")", ";", "for", "(", "SmallVector", "<", "MCInst", ",", "4", ">", "::", "iterator", "I", "=", "MCInsts", ".", "begin", "(", ")", ";", "I", "!=", "MCInsts", ".", "end", "(", ")", ";", "++", "I", ")", "OutStreamer", ".", "EmitInstruction", "(", "*", "I", ")", ";", "return", ";", "}", "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", "Mips", "4", "Mips::MACRO", "Mips::NOMACRO", "4", "Mips::CPLOAD", "Mips::CPRESTORE", "4", "Mips::SETGP01", "4"], "File": "MipsAsmPrinter100", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17727, "Length": 373, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "final_prescan_insn", "(", "rtx_insn", "*", "insn", ",", "rtx", "*", "opvec", "ATTRIBUTE_UNUSED", ",", "int", "noperands", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_DUMPISIZE", ")", "fprintf", "(", "asm_out_file", ",", "\"\\n! at %04x\\n\"", ",", "INSN_ADDRESSES", "(", "INSN_UID", "(", "insn", ")", ")", ")", ";", "if", "(", "TARGET_RELAX", ")", "{", "rtx", "note", ";", "note", "=", "find_reg_note", "(", "insn", ",", "REG_LABEL_OPERAND", ",", "NULL_RTX", ")", ";", "if", "(", "note", ")", "{", "rtx", "pattern", ";", "pattern", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pattern", ")", "==", "PARALLEL", ")", "pattern", "=", "XVECEXP", "(", "pattern", ",", "0", ",", "0", ")", ";", "switch", "(", "GET_CODE", "(", "pattern", ")", ")", "{", "case", "SET", ":", "if", "(", "GET_CODE", "(", "SET_SRC", "(", "pattern", ")", ")", "!=", "CALL", "&&", "get_attr_type", "(", "insn", ")", "!=", "TYPE_SFUNC", ")", "{", "targetm", ".", "asm_out", ".", "internal_label", "(", "asm_out_file", ",", "\"L\"", ",", "CODE_LABEL_NUMBER", "(", "XEXP", "(", "note", ",", "0", ")", ")", ")", ";", "break", ";", "}", "case", "CALL", ":", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t.uses %LL%d\\n\"", ",", "CODE_LABEL_NUMBER", "(", "XEXP", "(", "note", ",", "0", ")", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "}", "}", ""], "natrual_language": ["If", "defined", ",", "a", "C", "statement", "to", "be", "executed", "just", "prior", "to", "the", "output", "of", "assembler", "code", "for", "INSN", ",", "to", "modify", "the", "extracted", "operands", "so", "they", "will", "be", "output", "differently", ".", "Here", "the", "argument", "OPVEC", "is", "the", "vector", "containing", "the", "operands", "extracted", "from", "INSN", ",", "and", "NOPERANDS", "is", "the", "number", "of", "elements", "of", "the", "vector", "which", "contain", "meaningful", "data", "for", "this", "insn", ".", "The", "contents", "of", "this", "vector", "are", "what", "will", "be", "used", "to", "convert", "the", "insn", "template", "into", "assembler", "code", ",", "so", "you", "can", "change", "the", "assembler", "output", "by", "changing", "the", "contents", "of", "the", "vector", ".", "We", "use", "it", "to", "check", "if", "the", "current", "insn", "needs", "a", "nop", "in", "front", "of", "it", "because", "of", "load", "delays", ",", "and", "also", "to", "update", "the", "delay", "slot", "statistics", "."], "TS_V_token": ["sh", "\"\\n! at %04x\\n\"", "0", "0", "\"L\"", "0", "\"\\t.uses %LL%d\\n\"", "0"], "File": "sh4", "Func": "final_prescan_insn", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17728, "Length": 177, "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", "(", "!", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "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": ["powerpcspe"], "File": "powerpcspe", "Func": "chain_contains_only_swaps", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17729, "Length": 312, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "sh_find_equiv_gbr_addr", "(", "rtx_insn", "*", "insn", ",", "rtx", "mem", ")", "{", "if", "(", "!", "MEM_P", "(", "mem", ")", "||", "gbr_address_mem", "(", "mem", ",", "GET_MODE", "(", "mem", ")", ")", ")", "return", "NULL_RTX", ";", "if", "(", "side_effects_p", "(", "XEXP", "(", "mem", ",", "0", ")", ")", ")", "return", "NULL_RTX", ";", "if", "(", "df", "==", "NULL", ")", "return", "NULL_RTX", ";", "base_reg_disp", "gbr_disp", "=", "sh_find_base_reg_disp", "(", "insn", ",", "XEXP", "(", "mem", ",", "0", ")", ")", ";", "if", "(", "gbr_disp", ".", "is_reg", "(", ")", "&&", "REGNO", "(", "gbr_disp", ".", "reg", "(", ")", ")", "==", "GBR_REG", ")", "{", "for", "(", "df_ref", "d", "=", "DF_REG_DEF_CHAIN", "(", "GBR_REG", ")", ";", "d", "!=", "NULL", ";", "d", "=", "DF_REF_NEXT_REG", "(", "d", ")", ")", "{", "if", "(", "CALL_P", "(", "DF_REF_INSN", "(", "d", ")", ")", ")", "{", "if", "(", "REGNO_REG_SET_P", "(", "regs_invalidated_by_call_regset", ",", "GBR_REG", ")", ")", "return", "NULL_RTX", ";", "else", "continue", ";", "}", "else", "return", "NULL_RTX", ";", "}", "rtx", "disp", "=", "GEN_INT", "(", "gbr_disp", ".", "disp", "(", ")", ")", ";", "if", "(", "gbr_displacement", "(", "disp", ",", "GET_MODE", "(", "mem", ")", ")", ")", "return", "gen_rtx_PLUS", "(", "SImode", ",", "gen_rtx_REG", "(", "SImode", ",", "GBR_REG", ")", ",", "disp", ")", ";", "}", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Given", "an", "insn", "and", "a", "memory", "operand", ",", "try", "to", "find", "an", "equivalent", "GBR", "based", "memory", "address", "and", "return", "the", "corresponding", "new", "memory", "address", ".", "Return", "NULL_RTX", "if", "not", "found", "."], "TS_V_token": ["sh", "0", "0"], "File": "sh4", "Func": "sh_find_equiv_gbr_addr", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17730, "Length": 189, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TeeRISCFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "TeeRISCMachineFunctionInfo", "*", "TFI", "=", "MF", ".", "getInfo", "<", "TeeRISCMachineFunctionInfo", ">", "(", ")", ";", "const", "TeeRISCInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "TeeRISCInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "int", "FPOffset", "=", "TFI", "->", "getFPStackOffset", "(", ")", ";", "int", "RAOffset", "=", "TFI", "->", "getRAStackOffset", "(", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TeeRISC", "::", "ADD", ")", ",", "TeeRISC", "::", "SP", ")", ".", "addReg", "(", "TeeRISC", "::", "FP", ")", ".", "addReg", "(", "TeeRISC", "::", "ZERO", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TeeRISC", "::", "LD", ")", ",", "TeeRISC", "::", "FP", ")", ".", "addReg", "(", "TeeRISC", "::", "SP", ")", ".", "addImm", "(", "FPOffset", ")", ";", "}", "if", "(", "MFI", "->", "adjustsStack", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TeeRISC", "::", "LD", ")", ",", "TeeRISC", "::", "LR", ")", ".", "addReg", "(", "TeeRISC", "::", "SP", ")", ".", "addImm", "(", "RAOffset", ")", ";", "}", "int", "StackSize", "=", "(", "int", ")", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "StackSize", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TeeRISC", "::", "ADD_IMM", ")", ",", "TeeRISC", "::", "SP", ")", ".", "addReg", "(", "TeeRISC", "::", "SP", ")", ".", "addImm", "(", "StackSize", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["TeeRISC", "TeeRISC", "TeeRISC", "TeeRISC", "TeeRISC", "TeeRISC", "TeeRISC::ADD", "TeeRISC::SP", "TeeRISC::FP", "TeeRISC::ZERO", "TeeRISC::LD", "TeeRISC::FP", "TeeRISC::SP", "TeeRISC::LD", "TeeRISC::LR", "TeeRISC::SP", "TeeRISC::ADD_IMM", "TeeRISC::SP", "TeeRISC::SP"], "File": "TeeRISCFrameLowering", "Func": "emitEpilogue", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17731, "Length": 276, "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": ["VE"], "File": "VEMCExpr", "Func": "findAssociatedFragment", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17732, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "override", "{", "return", "createX86MachObjectWriter", "(", "OS", ",", "true", ",", "MachO", "::", "CPU_TYPE_X86_64", ",", "Subtype", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86AsmBackend (2)3", "Func": "createObjectWriter", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17733, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "switch", "(", "Kind", ")", "{", "case", "k_Immediate", ":", "OS", "<<", "\"Imm<\"", ";", "OS", "<<", "*", "Imm", ".", "Val", ";", "OS", "<<", "\">\"", ";", "break", ";", "case", "k_Memory", ":", "OS", "<<", "\"Mem<\"", ";", "Mem", ".", "Base", "->", "print", "(", "OS", ")", ";", "OS", "<<", "\", \"", ";", "OS", "<<", "*", "Mem", ".", "Off", ";", "OS", "<<", "\">\"", ";", "break", ";", "case", "k_RegisterIndex", ":", "OS", "<<", "\"RegIdx<\"", "<<", "RegIdx", ".", "Index", "<<", "\":\"", "<<", "RegIdx", ".", "Kind", "<<", "\", \"", "<<", "StringRef", "(", "RegIdx", ".", "Tok", ".", "Data", ",", "RegIdx", ".", "Tok", ".", "Length", ")", "<<", "\">\"", ";", "break", ";", "case", "k_Token", ":", "OS", "<<", "getToken", "(", ")", ";", "break", ";", "case", "k_RegList", ":", "OS", "<<", "\"RegList< \"", ";", "for", "(", "auto", "Reg", ":", "(", "*", "RegList", ".", "List", ")", ")", "OS", "<<", "Reg", "<<", "\" \"", ";", "OS", "<<", "\">\"", ";", "break", ";", "case", "k_RegPair", ":", "OS", "<<", "\"RegPair<\"", "<<", "RegIdx", ".", "Index", "<<", "\",\"", "<<", "RegIdx", ".", "Index", "+", "1", "<<", "\">\"", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["Mips", "\"Imm<\"", "\">\"", "\"Mem<\"", "\", \"", "\">\"", "\"RegIdx<\"", "\":\"", "\", \"", "\">\"", "\"RegList< \"", "\" \"", "\">\"", "\"RegPair<\"", "\",\"", "1", "\">\""], "File": "MipsAsmParser104", "Func": "print", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17734, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64TargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Don't know how to custom expand this\"", ")", ";", "case", "ISD", "::", "BITCAST", ":", "ReplaceBITCASTResults", "(", "N", ",", "Results", ",", "DAG", ")", ";", "return", ";", "case", "AArch64ISD", "::", "SADDV", ":", "ReplaceReductionResults", "(", "N", ",", "Results", ",", "DAG", ",", "ISD", "::", "ADD", ",", "AArch64ISD", "::", "SADDV", ")", ";", "return", ";", "case", "AArch64ISD", "::", "UADDV", ":", "ReplaceReductionResults", "(", "N", ",", "Results", ",", "DAG", ",", "ISD", "::", "ADD", ",", "AArch64ISD", "::", "UADDV", ")", ";", "return", ";", "case", "AArch64ISD", "::", "SMINV", ":", "ReplaceReductionResults", "(", "N", ",", "Results", ",", "DAG", ",", "ISD", "::", "SMIN", ",", "AArch64ISD", "::", "SMINV", ")", ";", "return", ";", "case", "AArch64ISD", "::", "UMINV", ":", "ReplaceReductionResults", "(", "N", ",", "Results", ",", "DAG", ",", "ISD", "::", "UMIN", ",", "AArch64ISD", "::", "UMINV", ")", ";", "return", ";", "case", "AArch64ISD", "::", "SMAXV", ":", "ReplaceReductionResults", "(", "N", ",", "Results", ",", "DAG", ",", "ISD", "::", "SMAX", ",", "AArch64ISD", "::", "SMAXV", ")", ";", "return", ";", "case", "AArch64ISD", "::", "UMAXV", ":", "ReplaceReductionResults", "(", "N", ",", "Results", ",", "DAG", ",", "ISD", "::", "UMAX", ",", "AArch64ISD", "::", "UMAXV", ")", ";", "return", ";", "case", "ISD", "::", "FP_TO_UINT", ":", "case", "ISD", "::", "FP_TO_SINT", ":", "assert", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i128", "&&", "\"unexpected illegal conversion\"", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_CMP_SWAP", ":", "ReplaceCMP_SWAP_128Results", "(", "N", ",", "Results", ",", "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": ["AArch64", "AArch64", "\"Don't know how to custom expand this\"", "ISD::BITCAST", "AArch64ISD::SADDV", "ISD::ADD", "AArch64ISD::SADDV", "AArch64ISD::UADDV", "ISD::ADD", "AArch64ISD::UADDV", "AArch64ISD::SMINV", "ISD::SMIN", "AArch64ISD::SMINV", "AArch64ISD::UMINV", "ISD::UMIN", "AArch64ISD::UMINV", "AArch64ISD::SMAXV", "ISD::SMAX", "AArch64ISD::SMAXV", "AArch64ISD::UMAXV", "ISD::UMAX", "AArch64ISD::UMAXV", "ISD::FP_TO_UINT", "ISD::FP_TO_SINT", "0", "MVT::i128", "\"unexpected illegal conversion\"", "ISD::ATOMIC_CMP_SWAP"], "File": "AArch64ISelLowering (2)", "Func": "ReplaceNodeResults", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17735, "Length": 244, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "csky_mangle_type", "(", "const_tree", "type", ")", "{", "if", "(", "TYPE_NAME", "(", "type", ")", "&&", "TREE_CODE", "(", "TYPE_NAME", "(", "type", ")", ")", "==", "TYPE_DECL", "&&", "DECL_NAME", "(", "TYPE_NAME", "(", "type", ")", ")", "&&", "!", "strcmp", "(", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "TYPE_NAME", "(", "type", ")", ")", ")", ",", "\"__fp16\"", ")", ")", "return", "\"__fp16\"", ";", "return", "NULL", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MANGLE_TYPE", "."], "TS_V_token": ["csky", "\"__fp16\"", "\"__fp16\""], "File": "csky", "Func": "csky_mangle_type", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17736, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "AArch64RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "AArch64FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "AArch64", "::", "SP", ")", ";", "Reserved", ".", "set", "(", "AArch64", "::", "XZR", ")", ";", "Reserved", ".", "set", "(", "AArch64", "::", "WSP", ")", ";", "Reserved", ".", "set", "(", "AArch64", "::", "WZR", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", "||", "TT", ".", "isOSDarwin", "(", ")", ")", "{", "Reserved", ".", "set", "(", "AArch64", "::", "FP", ")", ";", "Reserved", ".", "set", "(", "AArch64", "::", "W29", ")", ";", "}", "if", "(", "TT", ".", "isOSDarwin", "(", ")", "||", "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", "AArch64::SP", "AArch64::XZR", "AArch64::WSP", "AArch64::WZR", "AArch64::FP", "AArch64::W29", "AArch64::X18", "AArch64::W18", "AArch64::X19", "AArch64::W19"], "File": "AArch64RegisterInfo3", "Func": "getReservedRegs", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17737, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "*", "output_cbranch", "(", "rtx", "op", ",", "const", "char", "*", "label", ",", "int", "reversed", ",", "rtx_insn", "*", "insn", ")", "{", "static", "char", "string", "[", "64", "]", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "op", ")", ";", "rtx", "cc_reg", "=", "XEXP", "(", "op", ",", "0", ")", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "cc_reg", ")", ";", "int", "cc_regno", "=", "REGNO", "(", "cc_reg", ")", "-", "CR0_REGNO", ";", "int", "need_longbranch", "=", "label", "!=", "NULL", "&&", "get_attr_length", "(", "insn", ")", "==", "8", ";", "int", "really_reversed", "=", "reversed", "^", "need_longbranch", ";", "char", "*", "s", "=", "string", ";", "const", "char", "*", "ccode", ";", "const", "char", "*", "pred", ";", "rtx", "note", ";", "validate_condition_mode", "(", "code", ",", "mode", ")", ";", "if", "(", "really_reversed", ")", "{", "if", "(", "mode", "==", "CCFPmode", ")", "code", "=", "reverse_condition_maybe_unordered", "(", "code", ")", ";", "else", "code", "=", "reverse_condition", "(", "code", ")", ";", "}", "if", "(", "(", "!", "TARGET_FPRS", "&&", "TARGET_HARD_FLOAT", ")", "&&", "mode", "==", "CCFPmode", ")", "{", "switch", "(", "code", ")", "{", "case", "EQ", ":", "code", "=", "GT", ";", "break", ";", "case", "NE", ":", "code", "=", "UNLE", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "switch", "(", "code", ")", "{", "case", "NE", ":", "case", "LTGT", ":", "ccode", "=", "\"ne\"", ";", "break", ";", "case", "EQ", ":", "case", "UNEQ", ":", "ccode", "=", "\"eq\"", ";", "break", ";", "case", "GE", ":", "case", "GEU", ":", "ccode", "=", "\"ge\"", ";", "break", ";", "case", "GT", ":", "case", "GTU", ":", "case", "UNGT", ":", "ccode", "=", "\"gt\"", ";", "break", ";", "case", "LE", ":", "case", "LEU", ":", "ccode", "=", "\"le\"", ";", "break", ";", "case", "LT", ":", "case", "LTU", ":", "case", "UNLT", ":", "ccode", "=", "\"lt\"", ";", "break", ";", "case", "UNORDERED", ":", "ccode", "=", "\"un\"", ";", "break", ";", "case", "ORDERED", ":", "ccode", "=", "\"nu\"", ";", "break", ";", "case", "UNGE", ":", "ccode", "=", "\"nl\"", ";", "break", ";", "case", "UNLE", ":", "ccode", "=", "\"ng\"", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "pred", "=", "\"\"", ";", "note", "=", "find_reg_note", "(", "insn", ",", "REG_BR_PROB", ",", "NULL_RTX", ")", ";", "if", "(", "note", "!=", "NULL_RTX", ")", "{", "int", "prob", "=", "XINT", "(", "note", ",", "0", ")", "-", "REG_BR_PROB_BASE", "/", "2", ";", "if", "(", "rs6000_always_hint", "||", "(", "abs", "(", "prob", ")", ">", "REG_BR_PROB_BASE", "/", "100", "*", "48", "&&", "br_prob_note_reliable_p", "(", "note", ")", ")", ")", "{", "if", "(", "abs", "(", "prob", ")", ">", "REG_BR_PROB_BASE", "/", "20", "&&", "(", "(", "prob", ">", "0", ")", "^", "need_longbranch", ")", ")", "pred", "=", "\"+\"", ";", "else", "pred", "=", "\"-\"", ";", "}", "}", "if", "(", "label", "==", "NULL", ")", "s", "+=", "sprintf", "(", "s", ",", "\"b%slr%s \"", ",", "ccode", ",", "pred", ")", ";", "else", "s", "+=", "sprintf", "(", "s", ",", "\"b%s%s \"", ",", "ccode", ",", "pred", ")", ";", "if", "(", "reg_names", "[", "cc_regno", "+", "CR0_REGNO", "]", "[", "0", "]", "==", "'%'", ")", "*", "s", "++", "=", "'%'", ";", "s", "+=", "sprintf", "(", "s", ",", "\"%s\"", ",", "reg_names", "[", "cc_regno", "+", "CR0_REGNO", "]", ")", ";", "if", "(", "label", "!=", "NULL", ")", "{", "if", "(", "need_longbranch", ")", "s", "+=", "sprintf", "(", "s", ",", "\",$+8\\n\\tb %s\"", ",", "label", ")", ";", "else", "s", "+=", "sprintf", "(", "s", ",", "\",%s\"", ",", "label", ")", ";", "}", "return", "string", ";", "}", ""], "natrual_language": ["Output", "a", "conditional", "branch", "to", "LABEL", ".", "CODE", "is", "the", "comparison", "code", ".", "CC_MODE", "is", "the", "mode", "of", "the", "CC", "register", ".", "REVERSED", "is", "non-zero", "if", "we", "should", "reverse", "the", "sense", "of", "the", "comparison", ".", "INSN", "is", "the", "instruction", "."], "TS_V_token": ["rs6000", "64", "0", "8", "\"ne\"", "\"eq\"", "\"ge\"", "\"gt\"", "\"le\"", "\"lt\"", "\"un\"", "\"nu\"", "\"nl\"", "\"ng\"", "\"\"", "0", "2", "100", "48", "20", "0", "\"+\"", "\"-\"", "\"b%slr%s \"", "\"b%s%s \"", "0", "\"%s\"", "\",$+8\\n\\tb %s\"", "\",%s\""], "File": "rs60004", "Func": "output_cbranch", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17738, "Length": 508, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "return", "true", ";", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "assert", "(", "MO", ".", "isReg", "(", ")", "&&", "\"unexpected inline asm memory operand\"", ")", ";", "O", "<<", "\"[\"", "<<", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", "<<", "\"]\"", ";", "return", "false", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "."], "TS_V_token": ["ARM", "ARM", "0", "\"unexpected inline asm memory operand\"", "\"[\"", "\"]\""], "File": "ARMAsmPrinter100", "Func": "PrintAsmMemoryOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17739, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "section", "*", "mips_function_rodata_section", "(", "tree", "decl", ")", "{", "if", "(", "!", "TARGET_ABICALLS", "||", "TARGET_ABSOLUTE_ABICALLS", "||", "TARGET_GPWORD", ")", "return", "default_function_rodata_section", "(", "decl", ")", ";", "if", "(", "decl", "&&", "DECL_SECTION_NAME", "(", "decl", ")", ")", "{", "const", "char", "*", "name", "=", "DECL_SECTION_NAME", "(", "decl", ")", ";", "if", "(", "DECL_COMDAT_GROUP", "(", "decl", ")", "&&", "strncmp", "(", "name", ",", "\".gnu.linkonce.t.\"", ",", "16", ")", "==", "0", ")", "{", "char", "*", "rname", "=", "ASTRDUP", "(", "name", ")", ";", "rname", "[", "14", "]", "=", "'d'", ";", "return", "get_section", "(", "rname", ",", "SECTION_LINKONCE", "|", "SECTION_WRITE", ",", "decl", ")", ";", "}", "else", "if", "(", "flag_function_sections", "&&", "flag_data_sections", "&&", "strncmp", "(", "name", ",", "\".text.\"", ",", "6", ")", "==", "0", ")", "{", "char", "*", "rname", "=", "ASTRDUP", "(", "name", ")", ";", "memcpy", "(", "rname", "+", "1", ",", "\"data\"", ",", "4", ")", ";", "return", "get_section", "(", "rname", ",", "SECTION_WRITE", ",", "decl", ")", ";", "}", "}", "return", "data_section", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_FUNCTION_RODATA_SECTION", ".", "The", "complication", "here", "is", "that", ",", "with", "the", "combination", "TARGET_ABICALLS", "&", "&", "!", "TARGET_GPWORD", ",", "jump", "tables", "will", "use", "absolute", "addresses", ",", "and", "should", "therefore", "not", "be", "included", "in", "the", "read-only", "part", "of", "a", "DSO", ".", "Handle", "such", "cases", "by", "selecting", "a", "normal", "data", "section", "instead", "of", "a", "read-only", "one", ".", "The", "logic", "apes", "that", "in", "default_function_rodata_section", "."], "TS_V_token": ["mips", "\".gnu.linkonce.t.\"", "16", "0", "14", "\".text.\"", "6", "0", "1", "\"data\"", "4"], "File": "mips", "Func": "mips_function_rodata_section", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17740, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "arm_invalid_conversion", "(", "const_tree", "fromtype", ",", "const_tree", "totype", ")", "{", "if", "(", "element_mode", "(", "fromtype", ")", "!=", "element_mode", "(", "totype", ")", ")", "{", "if", "(", "TYPE_MODE", "(", "fromtype", ")", "==", "BFmode", ")", "return", "N_", "(", "\"invalid conversion from type %\"", ")", ";", "if", "(", "TYPE_MODE", "(", "totype", ")", "==", "BFmode", ")", "return", "N_", "(", "\"invalid conversion to type %\"", ")", ";", "}", "return", "NULL", ";", "}", ""], "natrual_language": ["Return", "the", "diagnostic", "message", "string", "if", "conversion", "from", "FROMTYPE", "to", "TOTYPE", "is", "not", "allowed", ",", "NULL", "otherwise", "."], "TS_V_token": ["arm", "\"invalid conversion from type %\"", "\"invalid conversion to type %\""], "File": "arm", "Func": "arm_invalid_conversion", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17741, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "relaxInstruction", "(", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "override", "{", "llvm_unreachable", "(", "\"relaxInstruction() should not be called\"", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["VE", "\"relaxInstruction() should not be called\""], "File": "VEAsmBackend", "Func": "relaxInstruction", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17742, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isReg", "(", ")", "const", "override", "{", "return", "Kind", "==", "Register", ";", "}", ""], "natrual_language": ["isReg", "-", "Is", "this", "a", "register", "operand", "?"], "TS_V_token": ["X86"], "File": "X86Operand (2)", "Func": "isReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17743, "Length": 13, "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": 17744, "Length": 443, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ARMRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMTargetMachine15", "Func": "getRegisterInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17745, "Length": 18, "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", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "else", "if", "(", "RC", "==", "SP", "::", "FPRegsRegisterClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STFri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "else", "if", "(", "RC", "==", "SP", "::", "DFPRegsRegisterClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STDFri", ")", ")", ".", "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": ["Sparc", "Sparc", "SP::IntRegsRegisterClass", "SP::STri", "0", "SP::FPRegsRegisterClass", "SP::STFri", "0", "SP::DFPRegsRegisterClass", "SP::STDFri", "0", "\"Can't store this register to stack slot\""], "File": "SparcInstrInfo22", "Func": "storeRegToStackSlot", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17746, "Length": 198, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "PPCTargetLowering", "::", "shouldExpandAtomicCmpXchgInIR", "(", "AtomicCmpXchgInst", "*", "AI", ")", "const", "{", "unsigned", "Size", "=", "AI", "->", "getNewValOperand", "(", ")", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "shouldInlineQuadwordAtomics", "(", ")", "&&", "Size", "==", "128", ")", "return", "AtomicExpansionKind", "::", "MaskedIntrinsic", ";", "return", "TargetLowering", "::", "shouldExpandAtomicCmpXchgInIR", "(", "AI", ")", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "atomic", "cmpxchg", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "."], "TS_V_token": ["PowerPC", "PPC", "128"], "File": "PPCISelLowering83", "Func": "shouldExpandAtomicCmpXchgInIR", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17747, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ia64_expand_vecint_minmax", "(", "enum", "rtx_code", "code", ",", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ")", "{", "rtx", "xops", "[", "6", "]", ";", "if", "(", "mode", "==", "V8QImode", "&&", "(", "code", "==", "UMIN", "||", "code", "==", "UMAX", ")", ")", "return", "false", ";", "if", "(", "mode", "==", "V4HImode", "&&", "(", "code", "==", "SMIN", "||", "code", "==", "SMAX", ")", ")", "return", "false", ";", "if", "(", "mode", "==", "V4HImode", "&&", "code", "==", "UMAX", ")", "{", "rtx", "x", ",", "tmp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "x", "=", "gen_rtx_US_MINUS", "(", "mode", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "tmp", ",", "x", ")", ")", ";", "emit_insn", "(", "gen_addv4hi3", "(", "operands", "[", "0", "]", ",", "tmp", ",", "operands", "[", "2", "]", ")", ")", ";", "return", "true", ";", "}", "xops", "[", "0", "]", "=", "operands", "[", "0", "]", ";", "xops", "[", "4", "]", "=", "xops", "[", "1", "]", "=", "operands", "[", "1", "]", ";", "xops", "[", "5", "]", "=", "xops", "[", "2", "]", "=", "operands", "[", "2", "]", ";", "switch", "(", "code", ")", "{", "case", "UMIN", ":", "code", "=", "LTU", ";", "break", ";", "case", "UMAX", ":", "code", "=", "GTU", ";", "break", ";", "case", "SMIN", ":", "code", "=", "LT", ";", "break", ";", "case", "SMAX", ":", "code", "=", "GT", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "xops", "[", "3", "]", "=", "gen_rtx_fmt_ee", "(", "code", ",", "VOIDmode", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ";", "ia64_expand_vecint_cmov", "(", "xops", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Emit", "an", "integral", "vector", "min", "or", "max", "operation", ".", "Return", "true", "if", "all", "done", "."], "TS_V_token": ["ia64", "6", "1", "2", "0", "2", "0", "0", "4", "1", "1", "5", "2", "2", "3", "1", "2"], "File": "ia64", "Func": "ia64_expand_vecint_minmax", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17748, "Length": 249, "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", ";", "return", "std", "::", "make_pair", "(", "domain", ",", "domain", "&&", "lookup", "(", "MI", "->", "getOpcode", "(", ")", ",", "domain", ")", "?", "0xe", ":", "0", ")", ";", "}", ""], "natrual_language": ["Return", "the", "current", "execution", "domain", "and", "bit", "mask", "of", "possible", "domains", "for", "instruction", "."], "TS_V_token": ["X86", "X86", "X86II::SSEDomainShift", "3", "0xe", "0"], "File": "X86InstrInfo139", "Func": "getExecutionDomain", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17749, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_mode_set", "(", "int", "entity", ",", "int", "mode", ",", "int", "prev_mode", "ATTRIBUTE_UNUSED", ",", "HARD_REG_SET", "regs_live", ")", "{", "switch", "(", "entity", ")", "{", "case", "X86_DIRFLAG", ":", "if", "(", "mode", "==", "X86_DIRFLAG_RESET", ")", "emit_insn", "(", "gen_cld", "(", ")", ")", ";", "break", ";", "case", "AVX_U128", ":", "if", "(", "mode", "==", "AVX_U128_CLEAN", ")", "ix86_avx_emit_vzeroupper", "(", "regs_live", ")", ";", "break", ";", "case", "I387_TRUNC", ":", "case", "I387_FLOOR", ":", "case", "I387_CEIL", ":", "case", "I387_MASK_PM", ":", "if", "(", "mode", "!=", "I387_CW_ANY", "&&", "mode", "!=", "I387_CW_UNINITIALIZED", ")", "emit_i387_cw_initialization", "(", "mode", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Generate", "one", "or", "more", "insns", "to", "set", "ENTITY", "to", "MODE", ".", "HARD_REG_LIVE", "is", "the", "set", "of", "hard", "registers", "live", "at", "the", "point", "where", "the", "insn", "(", "s", ")", "are", "to", "be", "inserted", "."], "TS_V_token": ["i386"], "File": "i3866", "Func": "ix86_emit_mode_set", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17750, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "pa_return_addr_rtx", "(", "int", "count", ",", "rtx", "frameaddr", ")", "{", "rtx", "label", ";", "rtx", "rp", ";", "rtx", "saved_rp", ";", "rtx", "ins", ";", "HOST_WIDE_INT", "insns", "[", "4", "]", ";", "int", "i", ",", "len", ";", "if", "(", "count", "!=", "0", ")", "return", "NULL_RTX", ";", "rp", "=", "get_hard_reg_initial_val", "(", "Pmode", ",", "2", ")", ";", "if", "(", "TARGET_64BIT", "||", "TARGET_NO_SPACE_REGS", ")", "return", "rp", ";", "saved_rp", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_move_insn", "(", "saved_rp", ",", "rp", ")", ";", "ins", "=", "copy_to_reg", "(", "gen_rtx_AND", "(", "Pmode", ",", "rp", ",", "MASK_RETURN_ADDR", ")", ")", ";", "label", "=", "gen_label_rtx", "(", ")", ";", "if", "(", "TARGET_PA_20", ")", "{", "insns", "[", "0", "]", "=", "0x4bc23fd1", ";", "insns", "[", "1", "]", "=", "-", "398405630", ";", "len", "=", "2", ";", "}", "else", "{", "insns", "[", "0", "]", "=", "0x4bc23fd1", ";", "insns", "[", "1", "]", "=", "0x004010a1", ";", "insns", "[", "2", "]", "=", "0x00011820", ";", "insns", "[", "3", "]", "=", "-", "532676606", ";", "len", "=", "4", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "len", ";", "i", "++", ")", "{", "rtx", "op0", "=", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "ins", ",", "i", "*", "4", ")", ")", ";", "rtx", "op1", "=", "GEN_INT", "(", "insns", "[", "i", "]", ")", ";", "emit_cmp_and_jump_insns", "(", "op0", ",", "op1", ",", "NE", ",", "NULL", ",", "SImode", ",", "0", ",", "label", ")", ";", "}", "emit_move_insn", "(", "saved_rp", ",", "gen_rtx_MEM", "(", "Pmode", ",", "memory_address", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "frameaddr", ",", "-", "24", ")", ")", ")", ")", ";", "emit_label", "(", "label", ")", ";", "return", "saved_rp", ";", "}", ""], "natrual_language": ["Fetch", "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", ".", "We", "want", "to", "ignore", "any", "export", "stub", "remnants", "here", ".", "To", "handle", "this", ",", "we", "examine", "the", "code", "at", "the", "return", "address", ",", "and", "if", "it", "is", "an", "export", "stub", ",", "we", "return", "a", "memory", "rtx", "for", "the", "stub", "return", "address", "stored", "at", "frame-24", ".", "The", "value", "returned", "is", "used", "in", "two", "different", "ways", ":", "1", ".", "To", "find", "a", "function", "'s", "caller", ".", "2", ".", "To", "change", "the", "return", "address", "for", "a", "function", ".", "This", "function", "handles", "most", "instances", "of", "case", "1", ";", "however", ",", "it", "will", "fail", "if", "there", "are", "two", "levels", "of", "stubs", "to", "execute", "on", "the", "return", "path", ".", "The", "only", "way", "I", "believe", "that", "can", "happen", "is", "if", "the", "return", "value", "needs", "a", "parameter", "relocation", ",", "which", "never", "happens", "for", "C", "code", ".", "This", "function", "handles", "most", "instances", "of", "case", "2", ";", "however", ",", "it", "will", "fail", "if", "we", "did", "not", "originally", "have", "stub", "code", "on", "the", "return", "path", "but", "will", "need", "stub", "code", "on", "the", "new", "return", "path", ".", "This", "can", "happen", "if", "the", "caller", "&", "callee", "are", "both", "in", "the", "main", "program", ",", "but", "the", "new", "return", "location", "is", "in", "a", "shared", "library", "."], "TS_V_token": ["pa", "4", "0", "2", "0", "0x4bc23fd1", "1", "398405630", "2", "0", "0x4bc23fd1", "1", "0x004010a1", "2", "0x00011820", "3", "532676606", "4", "0", "4", "0", "24"], "File": "pa", "Func": "pa_return_addr_rtx", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17751, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_invalid_builtin", "(", "enum", "rs6000_builtins", "fncode", ")", "{", "size_t", "uns_fncode", "=", "(", "size_t", ")", "fncode", ";", "const", "char", "*", "name", "=", "rs6000_builtin_info", "[", "uns_fncode", "]", ".", "name", ";", "HOST_WIDE_INT", "fnmask", "=", "rs6000_builtin_info", "[", "uns_fncode", "]", ".", "mask", ";", "gcc_assert", "(", "name", "!=", "NULL", ")", ";", "if", "(", "(", "fnmask", "&", "RS6000_BTM_CELL", ")", "!=", "0", ")", "error", "(", "\"%qs is only valid for the cell processor\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_VSX", ")", "!=", "0", ")", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"-mvsx\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_HTM", ")", "!=", "0", ")", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"-mhtm\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_ALTIVEC", ")", "!=", "0", ")", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"-maltivec\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "(", "RS6000_BTM_DFP", "|", "RS6000_BTM_P8_VECTOR", ")", ")", "==", "(", "RS6000_BTM_DFP", "|", "RS6000_BTM_P8_VECTOR", ")", ")", "error", "(", "\"%qs requires the %qs and %qs options\"", ",", "name", ",", "\"-mhard-dfp\"", ",", "\"-mpower8-vector\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_DFP", ")", "!=", "0", ")", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"-mhard-dfp\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_P8_VECTOR", ")", "!=", "0", ")", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"-mpower8-vector\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "(", "RS6000_BTM_P9_VECTOR", "|", "RS6000_BTM_64BIT", ")", ")", "==", "(", "RS6000_BTM_P9_VECTOR", "|", "RS6000_BTM_64BIT", ")", ")", "error", "(", "\"%qs requires the %qs and %qs options\"", ",", "name", ",", "\"-mcpu=power9\"", ",", "\"-m64\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_P9_VECTOR", ")", "!=", "0", ")", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"-mcpu=power9\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "(", "RS6000_BTM_P9_MISC", "|", "RS6000_BTM_64BIT", ")", ")", "==", "(", "RS6000_BTM_P9_MISC", "|", "RS6000_BTM_64BIT", ")", ")", "error", "(", "\"%qs requires the %qs and %qs options\"", ",", "name", ",", "\"-mcpu=power9\"", ",", "\"-m64\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_P9_MISC", ")", "==", "RS6000_BTM_P9_MISC", ")", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"-mcpu=power9\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_LDBL128", ")", "==", "RS6000_BTM_LDBL128", ")", "{", "if", "(", "!", "TARGET_HARD_FLOAT", ")", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"-mhard-float\"", ")", ";", "else", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "TARGET_IEEEQUAD", "?", "\"-mabi=ibmlongdouble\"", ":", "\"-mlong-double-128\"", ")", ";", "}", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_HARD_FLOAT", ")", "!=", "0", ")", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"-mhard-float\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_FLOAT128_HW", ")", "!=", "0", ")", "error", "(", "\"%qs requires ISA 3.0 IEEE 128-bit floating point\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_FLOAT128", ")", "!=", "0", ")", "error", "(", "\"%qs requires the %qs option\"", ",", "name", ",", "\"%<-mfloat128%>\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "(", "RS6000_BTM_POPCNTD", "|", "RS6000_BTM_POWERPC64", ")", ")", "==", "(", "RS6000_BTM_POPCNTD", "|", "RS6000_BTM_POWERPC64", ")", ")", "error", "(", "\"%qs requires the %qs (or newer), and %qs or %qs options\"", ",", "name", ",", "\"-mcpu=power7\"", ",", "\"-m64\"", ",", "\"-mpowerpc64\"", ")", ";", "else", "error", "(", "\"%qs is not supported with the current options\"", ",", "name", ")", ";", "}", ""], "natrual_language": ["Raise", "an", "error", "message", "for", "a", "builtin", "function", "that", "is", "called", "without", "the", "appropriate", "target", "options", "being", "set", "."], "TS_V_token": ["rs6000", "0", "\"%qs is only valid for the cell processor\"", "0", "\"%qs requires the %qs option\"", "\"-mvsx\"", "0", "\"%qs requires the %qs option\"", "\"-mhtm\"", "0", "\"%qs requires the %qs option\"", "\"-maltivec\"", "\"%qs requires the %qs and %qs options\"", "\"-mhard-dfp\"", "\"-mpower8-vector\"", "0", "\"%qs requires the %qs option\"", "\"-mhard-dfp\"", "0", "\"%qs requires the %qs option\"", "\"-mpower8-vector\"", "\"%qs requires the %qs and %qs options\"", "\"-mcpu=power9\"", "\"-m64\"", "0", "\"%qs requires the %qs option\"", "\"-mcpu=power9\"", "\"%qs requires the %qs and %qs options\"", "\"-mcpu=power9\"", "\"-m64\"", "\"%qs requires the %qs option\"", "\"-mcpu=power9\"", "\"%qs requires the %qs option\"", "\"-mhard-float\"", "\"%qs requires the %qs option\"", "\"-mabi=ibmlongdouble\"", "\"-mlong-double-128\"", "0", "\"%qs requires the %qs option\"", "\"-mhard-float\"", "0", "\"%qs requires ISA 3.0 IEEE 128-bit floating point\"", "0", "\"%qs requires the %qs option\"", "\"%<-mfloat128%>\"", "\"%qs requires the %qs (or newer), and %qs or %qs options\"", "\"-mcpu=power7\"", "\"-m64\"", "\"-mpowerpc64\"", "\"%qs is not supported with the current options\""], "File": "rs6000-call", "Func": "rs6000_invalid_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17752, "Length": 433, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Warning", "(", "SMLoc", "L", ",", "const", "Twine", "&", "Msg", ",", "ArrayRef", "<", "SMRange", ">", "Ranges", "=", "None", ")", "{", "return", "Parser", ".", "Warning", "(", "L", ",", "Msg", ",", "Ranges", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "warning", "at", "the", "location", "L", ",", "with", "the", "message", "Msg", "."], "TS_V_token": ["ARM"], "File": "ARMAsmParser (2)", "Func": "Warning", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17753, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_sim_next_cycle", "(", "struct", "mips_sim", "*", "state", ")", "{", "state", "->", "time", "++", ";", "state", "->", "insns_left", "=", "state", "->", "issue_rate", ";", "state_transition", "(", "state", "->", "dfa_state", ",", "0", ")", ";", "}", ""], "natrual_language": ["Advance", "STATE", "by", "one", "clock", "cycle", "."], "TS_V_token": ["mips", "0"], "File": "mips3", "Func": "mips_sim_next_cycle", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17754, "Length": 33, "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", ")", ".", "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\""], "File": "MipsAsmBackend10", "Func": "getFixupKind", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17755, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "aarch64_get_attributes", "(", "unsigned", "int", "f", ",", "machine_mode", "mode", ")", "{", "tree", "attrs", "=", "NULL_TREE", ";", "if", "(", "!", "aarch64_modifies_global_state_p", "(", "f", ",", "mode", ")", ")", "{", "if", "(", "aarch64_reads_global_state_p", "(", "f", ",", "mode", ")", ")", "attrs", "=", "aarch64_add_attribute", "(", "\"pure\"", ",", "attrs", ")", ";", "else", "attrs", "=", "aarch64_add_attribute", "(", "\"const\"", ",", "attrs", ")", ";", "}", "if", "(", "!", "flag_non_call_exceptions", "||", "!", "aarch64_could_trap_p", "(", "f", ",", "mode", ")", ")", "attrs", "=", "aarch64_add_attribute", "(", "\"nothrow\"", ",", "attrs", ")", ";", "return", "aarch64_add_attribute", "(", "\"leaf\"", ",", "attrs", ")", ";", "}", ""], "natrual_language": ["Return", "the", "appropriate", "function", "attributes", "."], "TS_V_token": ["aarch64", "\"pure\"", "\"const\"", "\"nothrow\"", "\"leaf\""], "File": "aarch64-builtins", "Func": "aarch64_get_attributes", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17756, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_overloaded_builtin_p", "(", "enum", "rs6000_builtins", "fncode", ")", "{", "return", "(", "rs6000_builtin_info", "[", "(", "int", ")", "fncode", "]", ".", "attr", "&", "RS6000_BTC_OVERLOADED", ")", "!=", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "builtin", "function", "is", "overloaded", "."], "TS_V_token": ["rs6000", "0"], "File": "rs6000-call", "Func": "rs6000_overloaded_builtin_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17757, "Length": 26, "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": 17758, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_scalar_mode_supported_p", "(", "scalar_mode", "mode", ")", "{", "if", "(", "mode", "==", "HFmode", ")", "return", "(", "arm_fp16_format", "!=", "ARM_FP16_FORMAT_NONE", ")", ";", "else", "if", "(", "ALL_FIXED_POINT_MODE_P", "(", "mode", ")", ")", "return", "true", ";", "else", "return", "default_scalar_mode_supported_p", "(", "mode", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SCALAR_MODE_SUPPORTED_P", ".", "This", "simply", "adds", "HFmode", "as", "a", "supported", "mode", ";", "even", "though", "we", "do", "n't", "implement", "arithmetic", "on", "this", "type", "directly", ",", "it", "'s", "supported", "by", "optabs", "conversions", ",", "much", "the", "way", "the", "double-word", "arithmetic", "is", "special-cased", "in", "the", "default", "hook", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_scalar_mode_supported_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17759, "Length": 40, "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": 17760, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_must_pass_in_stack", "(", "enum", "machine_mode", "mode", ",", "tree", "type", ")", "{", "if", "(", "DEFAULT_ABI", "==", "ABI_AIX", "||", "TARGET_64BIT", ")", "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", "TYPE", "must", "be", "passed", "on", "the", "stack", "and", "not", "in", "registers", "."], "TS_V_token": ["rs6000"], "File": "rs60003", "Func": "rs6000_must_pass_in_stack", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17761, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "splitFramePushPop", "(", ")", "const", "{", "return", "isTargetMachO", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "frame", "setup", "is", "split", "into", "two", "separate", "pushes", "(", "first", "r0-r7", ",", "lr", "then", "r8-r11", ")", ",", "principally", "so", "that", "the", "frame", "pointer", "is", "adjacent", "to", "lr", "."], "TS_V_token": ["ARM"], "File": "ARMSubtarget111", "Func": "splitFramePushPop", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17762, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "ARM64TargetLowering", "::", "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", "::", "VSELECT", ":", "return", "performVSelectCombine", "(", "N", ",", "DCI", ".", "DAG", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "performSTORECombine", "(", "N", ",", "DCI", ",", "DAG", ",", "Subtarget", ")", ";", "case", "ARM64ISD", "::", "BRCOND", ":", "return", "performBRCONDCombine", "(", "N", ",", "DCI", ",", "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": ["ARM64", "ARM64", "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::VSELECT", "ISD::STORE", "ARM64ISD::BRCOND"], "File": "ARM64ISelLowering", "Func": "PerformDAGCombine", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17763, "Length": 247, "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": "MipsAsmParser18", "Func": "tryParseRegister", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17764, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "addPreEmitPass", "(", ")", "{", "bool", "ShouldPrint", "=", "false", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "getX86Subtarget", "(", ")", ".", "hasSSE2", "(", ")", ")", "{", "addPass", "(", "createExecutionDependencyFixPass", "(", "&", "X86", "::", "VR128RegClass", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "if", "(", "UseVZeroUpper", ")", "{", "addPass", "(", "createX86IssueVZeroUpperPass", "(", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createX86PadShortFunctions", "(", ")", ")", ";", "addPass", "(", "createX86FixupLEAs", "(", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "if", "(", "getX86Subtarget", "(", ")", ".", "isTargetNaCl", "(", ")", ")", "{", "addPass", "(", "createX86NaClRewritePass", "(", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "return", "ShouldPrint", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["X86", "X86", "X86", "X86::VR128RegClass", "X86", "X86", "X86", "X86", "X86"], "File": "X86TargetMachine121", "Func": "addPreEmitPass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17765, "Length": 121, "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": 17766, "Length": 178, "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", "==", "NULL", ")", "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": "SparcISelLowering35", "Func": "getSingleConstraintMatchWeight", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17767, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64InstrInfo", "::", "getLoadStoreImmIdx", "(", "unsigned", "Opc", ")", "{", "switch", "(", "Opc", ")", "{", "default", ":", "return", "2", ";", "case", "AArch64", "::", "LDPXi", ":", "case", "AArch64", "::", "LDPDi", ":", "case", "AArch64", "::", "STPXi", ":", "case", "AArch64", "::", "STPDi", ":", "case", "AArch64", "::", "LDNPXi", ":", "case", "AArch64", "::", "LDNPDi", ":", "case", "AArch64", "::", "STNPXi", ":", "case", "AArch64", "::", "STNPDi", ":", "case", "AArch64", "::", "LDPQi", ":", "case", "AArch64", "::", "STPQi", ":", "case", "AArch64", "::", "LDNPQi", ":", "case", "AArch64", "::", "STNPQi", ":", "case", "AArch64", "::", "LDPWi", ":", "case", "AArch64", "::", "LDPSi", ":", "case", "AArch64", "::", "STPWi", ":", "case", "AArch64", "::", "STPSi", ":", "case", "AArch64", "::", "LDNPWi", ":", "case", "AArch64", "::", "LDNPSi", ":", "case", "AArch64", "::", "STNPWi", ":", "case", "AArch64", "::", "STNPSi", ":", "case", "AArch64", "::", "LDG", ":", "case", "AArch64", "::", "STGPi", ":", "case", "AArch64", "::", "LD1B_IMM", ":", "case", "AArch64", "::", "LD1B_H_IMM", ":", "case", "AArch64", "::", "LD1B_S_IMM", ":", "case", "AArch64", "::", "LD1B_D_IMM", ":", "case", "AArch64", "::", "LD1SB_H_IMM", ":", "case", "AArch64", "::", "LD1SB_S_IMM", ":", "case", "AArch64", "::", "LD1SB_D_IMM", ":", "case", "AArch64", "::", "LD1H_IMM", ":", "case", "AArch64", "::", "LD1H_S_IMM", ":", "case", "AArch64", "::", "LD1H_D_IMM", ":", "case", "AArch64", "::", "LD1SH_S_IMM", ":", "case", "AArch64", "::", "LD1SH_D_IMM", ":", "case", "AArch64", "::", "LD1W_IMM", ":", "case", "AArch64", "::", "LD1W_D_IMM", ":", "case", "AArch64", "::", "LD1SW_D_IMM", ":", "case", "AArch64", "::", "LD1D_IMM", ":", "case", "AArch64", "::", "ST1B_IMM", ":", "case", "AArch64", "::", "ST1B_H_IMM", ":", "case", "AArch64", "::", "ST1B_S_IMM", ":", "case", "AArch64", "::", "ST1B_D_IMM", ":", "case", "AArch64", "::", "ST1H_IMM", ":", "case", "AArch64", "::", "ST1H_S_IMM", ":", "case", "AArch64", "::", "ST1H_D_IMM", ":", "case", "AArch64", "::", "ST1W_IMM", ":", "case", "AArch64", "::", "ST1W_D_IMM", ":", "case", "AArch64", "::", "ST1D_IMM", ":", "case", "AArch64", "::", "LD1RB_IMM", ":", "case", "AArch64", "::", "LD1RB_H_IMM", ":", "case", "AArch64", "::", "LD1RB_S_IMM", ":", "case", "AArch64", "::", "LD1RB_D_IMM", ":", "case", "AArch64", "::", "LD1RSB_H_IMM", ":", "case", "AArch64", "::", "LD1RSB_S_IMM", ":", "case", "AArch64", "::", "LD1RSB_D_IMM", ":", "case", "AArch64", "::", "LD1RH_IMM", ":", "case", "AArch64", "::", "LD1RH_S_IMM", ":", "case", "AArch64", "::", "LD1RH_D_IMM", ":", "case", "AArch64", "::", "LD1RSH_S_IMM", ":", "case", "AArch64", "::", "LD1RSH_D_IMM", ":", "case", "AArch64", "::", "LD1RW_IMM", ":", "case", "AArch64", "::", "LD1RW_D_IMM", ":", "case", "AArch64", "::", "LD1RSW_IMM", ":", "case", "AArch64", "::", "LD1RD_IMM", ":", "case", "AArch64", "::", "LDNT1B_ZRI", ":", "case", "AArch64", "::", "LDNT1H_ZRI", ":", "case", "AArch64", "::", "LDNT1W_ZRI", ":", "case", "AArch64", "::", "LDNT1D_ZRI", ":", "case", "AArch64", "::", "STNT1B_ZRI", ":", "case", "AArch64", "::", "STNT1H_ZRI", ":", "case", "AArch64", "::", "STNT1W_ZRI", ":", "case", "AArch64", "::", "STNT1D_ZRI", ":", "case", "AArch64", "::", "LDNF1B_IMM", ":", "case", "AArch64", "::", "LDNF1B_H_IMM", ":", "case", "AArch64", "::", "LDNF1B_S_IMM", ":", "case", "AArch64", "::", "LDNF1B_D_IMM", ":", "case", "AArch64", "::", "LDNF1SB_H_IMM", ":", "case", "AArch64", "::", "LDNF1SB_S_IMM", ":", "case", "AArch64", "::", "LDNF1SB_D_IMM", ":", "case", "AArch64", "::", "LDNF1H_IMM", ":", "case", "AArch64", "::", "LDNF1H_S_IMM", ":", "case", "AArch64", "::", "LDNF1H_D_IMM", ":", "case", "AArch64", "::", "LDNF1SH_S_IMM", ":", "case", "AArch64", "::", "LDNF1SH_D_IMM", ":", "case", "AArch64", "::", "LDNF1W_IMM", ":", "case", "AArch64", "::", "LDNF1W_D_IMM", ":", "case", "AArch64", "::", "LDNF1SW_D_IMM", ":", "case", "AArch64", "::", "LDNF1D_IMM", ":", "return", "3", ";", "case", "AArch64", "::", "ADDG", ":", "case", "AArch64", "::", "STGOffset", ":", "case", "AArch64", "::", "LDR_PXI", ":", "case", "AArch64", "::", "STR_PXI", ":", "return", "2", ";", "}", "}", ""], "natrual_language": ["Returns", "the", "index", "for", "the", "immediate", "for", "a", "given", "instruction", "."], "TS_V_token": ["AArch64", "AArch64", "2", "AArch64::LDPXi", "AArch64::LDPDi", "AArch64::STPXi", "AArch64::STPDi", "AArch64::LDNPXi", "AArch64::LDNPDi", "AArch64::STNPXi", "AArch64::STNPDi", "AArch64::LDPQi", "AArch64::STPQi", "AArch64::LDNPQi", "AArch64::STNPQi", "AArch64::LDPWi", "AArch64::LDPSi", "AArch64::STPWi", "AArch64::STPSi", "AArch64::LDNPWi", "AArch64::LDNPSi", "AArch64::STNPWi", "AArch64::STNPSi", "AArch64::LDG", "AArch64::STGPi", "AArch64::LD1B_IMM", "AArch64::LD1B_H_IMM", "AArch64::LD1B_S_IMM", "AArch64::LD1B_D_IMM", "AArch64::LD1SB_H_IMM", "AArch64::LD1SB_S_IMM", "AArch64::LD1SB_D_IMM", "AArch64::LD1H_IMM", "AArch64::LD1H_S_IMM", "AArch64::LD1H_D_IMM", "AArch64::LD1SH_S_IMM", "AArch64::LD1SH_D_IMM", "AArch64::LD1W_IMM", "AArch64::LD1W_D_IMM", "AArch64::LD1SW_D_IMM", "AArch64::LD1D_IMM", "AArch64::ST1B_IMM", "AArch64::ST1B_H_IMM", "AArch64::ST1B_S_IMM", "AArch64::ST1B_D_IMM", "AArch64::ST1H_IMM", "AArch64::ST1H_S_IMM", "AArch64::ST1H_D_IMM", "AArch64::ST1W_IMM", "AArch64::ST1W_D_IMM", "AArch64::ST1D_IMM", "AArch64::LD1RB_IMM", "AArch64::LD1RB_H_IMM", "AArch64::LD1RB_S_IMM", "AArch64::LD1RB_D_IMM", "AArch64::LD1RSB_H_IMM", "AArch64::LD1RSB_S_IMM", "AArch64::LD1RSB_D_IMM", "AArch64::LD1RH_IMM", "AArch64::LD1RH_S_IMM", "AArch64::LD1RH_D_IMM", "AArch64::LD1RSH_S_IMM", "AArch64::LD1RSH_D_IMM", "AArch64::LD1RW_IMM", "AArch64::LD1RW_D_IMM", "AArch64::LD1RSW_IMM", "AArch64::LD1RD_IMM", "AArch64::LDNT1B_ZRI", "AArch64::LDNT1H_ZRI", "AArch64::LDNT1W_ZRI", "AArch64::LDNT1D_ZRI", "AArch64::STNT1B_ZRI", "AArch64::STNT1H_ZRI", "AArch64::STNT1W_ZRI", "AArch64::STNT1D_ZRI", "AArch64::LDNF1B_IMM", "AArch64::LDNF1B_H_IMM", "AArch64::LDNF1B_S_IMM", "AArch64::LDNF1B_D_IMM", "AArch64::LDNF1SB_H_IMM", "AArch64::LDNF1SB_S_IMM", "AArch64::LDNF1SB_D_IMM", "AArch64::LDNF1H_IMM", "AArch64::LDNF1H_S_IMM", "AArch64::LDNF1H_D_IMM", "AArch64::LDNF1SH_S_IMM", "AArch64::LDNF1SH_D_IMM", "AArch64::LDNF1W_IMM", "AArch64::LDNF1W_D_IMM", "AArch64::LDNF1SW_D_IMM", "AArch64::LDNF1D_IMM", "3", "AArch64::ADDG", "AArch64::STGOffset", "AArch64::LDR_PXI", "AArch64::STR_PXI", "2"], "File": "AArch64InstrInfo123", "Func": "getLoadStoreImmIdx", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17768, "Length": 487, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_conditional_register_usage", "(", "void", ")", "{", "int", "i", ";", "if", "(", "TARGET_DEBUG_TARGET", ")", "fprintf", "(", "stderr", ",", "\"rs6000_conditional_register_usage called\\n\"", ")", ";", "fixed_regs", "[", "64", "]", "=", "1", ";", "if", "(", "TARGET_64BIT", ")", "fixed_regs", "[", "13", "]", "=", "call_used_regs", "[", "13", "]", "=", "call_really_used_regs", "[", "13", "]", "=", "1", ";", "if", "(", "TARGET_SOFT_FLOAT", "||", "!", "TARGET_FPRS", ")", "for", "(", "i", "=", "32", ";", "i", "<", "64", ";", "i", "++", ")", "fixed_regs", "[", "i", "]", "=", "call_used_regs", "[", "i", "]", "=", "call_really_used_regs", "[", "i", "]", "=", "1", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_AIX", "||", "DEFAULT_ABI", "==", "ABI_ELFv2", ")", "call_really_used_regs", "[", "2", "]", "=", "0", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "PIC_OFFSET_TABLE_REGNUM", "!=", "INVALID_REGNUM", "&&", "flag_pic", "==", "2", ")", "fixed_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "1", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "PIC_OFFSET_TABLE_REGNUM", "!=", "INVALID_REGNUM", "&&", "flag_pic", "==", "1", ")", "fixed_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "call_used_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "call_really_used_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "1", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_DARWIN", "&&", "PIC_OFFSET_TABLE_REGNUM", "!=", "INVALID_REGNUM", ")", "fixed_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "call_used_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "call_really_used_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "1", ";", "if", "(", "TARGET_TOC", "&&", "TARGET_MINIMAL_TOC", ")", "fixed_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "call_used_regs", "[", "RS6000_PIC_OFFSET_TABLE_REGNUM", "]", "=", "1", ";", "if", "(", "TARGET_SPE", ")", "{", "global_regs", "[", "SPEFSCR_REGNO", "]", "=", "1", ";", "fixed_regs", "[", "14", "]", "=", "call_used_regs", "[", "14", "]", "=", "call_really_used_regs", "[", "14", "]", "=", "1", ";", "}", "if", "(", "!", "TARGET_ALTIVEC", "&&", "!", "TARGET_VSX", ")", "{", "for", "(", "i", "=", "FIRST_ALTIVEC_REGNO", ";", "i", "<=", "LAST_ALTIVEC_REGNO", ";", "++", "i", ")", "fixed_regs", "[", "i", "]", "=", "call_used_regs", "[", "i", "]", "=", "call_really_used_regs", "[", "i", "]", "=", "1", ";", "call_really_used_regs", "[", "VRSAVE_REGNO", "]", "=", "1", ";", "}", "if", "(", "TARGET_ALTIVEC", "||", "TARGET_VSX", ")", "global_regs", "[", "VSCR_REGNO", "]", "=", "1", ";", "if", "(", "TARGET_ALTIVEC_ABI", ")", "{", "for", "(", "i", "=", "FIRST_ALTIVEC_REGNO", ";", "i", "<", "FIRST_ALTIVEC_REGNO", "+", "20", ";", "++", "i", ")", "call_used_regs", "[", "i", "]", "=", "call_really_used_regs", "[", "i", "]", "=", "1", ";", "if", "(", "TARGET_XCOFF", ")", "for", "(", "i", "=", "FIRST_ALTIVEC_REGNO", "+", "20", ";", "i", "<", "FIRST_ALTIVEC_REGNO", "+", "32", ";", "++", "i", ")", "fixed_regs", "[", "i", "]", "=", "call_used_regs", "[", "i", "]", "=", "call_really_used_regs", "[", "i", "]", "=", "1", ";", "}", "}", ""], "natrual_language": ["Change", "register", "usage", "conditional", "on", "target", "flags", "."], "TS_V_token": ["rs6000", "\"rs6000_conditional_register_usage called\\n\"", "64", "1", "13", "13", "13", "1", "32", "64", "1", "2", "0", "2", "1", "1", "1", "1", "1", "1", "14", "14", "14", "1", "1", "1", "1", "20", "1", "20", "32", "1"], "File": "rs60004", "Func": "rs6000_conditional_register_usage", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17769, "Length": 362, "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": 17770, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "ARMBaseInstrInfo", "::", "commuteInstructionImpl", "(", "MachineInstr", "&", "MI", ",", "bool", "NewMI", ",", "unsigned", "OpIdx1", ",", "unsigned", "OpIdx2", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "ARM", "::", "MOVCCr", ":", "case", "ARM", "::", "t2MOVCCr", ":", "{", "Register", "PredReg", ";", "ARMCC", "::", "CondCodes", "CC", "=", "getInstrPredicate", "(", "MI", ",", "PredReg", ")", ";", "if", "(", "CC", "==", "ARMCC", "::", "AL", "||", "PredReg", "!=", "ARM", "::", "CPSR", ")", "return", "nullptr", ";", "MachineInstr", "*", "CommutedMI", "=", "TargetInstrInfo", "::", "commuteInstructionImpl", "(", "MI", ",", "NewMI", ",", "OpIdx1", ",", "OpIdx2", ")", ";", "if", "(", "!", "CommutedMI", ")", "return", "nullptr", ";", "CommutedMI", "->", "getOperand", "(", "CommutedMI", "->", "findFirstPredOperandIdx", "(", ")", ")", ".", "setImm", "(", "ARMCC", "::", "getOppositeCondition", "(", "CC", ")", ")", ";", "return", "CommutedMI", ";", "}", "}", "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": ["ARM", "ARM", "ARM::MOVCCr", "ARM::t2MOVCCr", "ARMCC::CondCodes", "ARMCC::AL", "ARM::CPSR", "ARMCC::getOppositeCondition"], "File": "ARMBaseInstrInfo110", "Func": "commuteInstructionImpl", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17771, "Length": 139, "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": 17772, "Length": 404, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsCallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "ArrayRef", "<", "Register", ">", "VRegs", ",", "FunctionLoweringInfo", "&", "FLI", ")", "const", "{", "MachineInstrBuilder", "Ret", "=", "MIRBuilder", ".", "buildInstrNoInsert", "(", "Mips", "::", "RetRA", ")", ";", "if", "(", "Val", "!=", "nullptr", "&&", "!", "isSupportedReturnType", "(", "Val", "->", "getType", "(", ")", ")", ")", "return", "false", ";", "if", "(", "!", "VRegs", ".", "empty", "(", ")", ")", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "const", "DataLayout", "&", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "const", "MipsTargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "MipsTargetLowering", ">", "(", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "RetInfos", ";", "SmallVector", "<", "unsigned", ",", "8", ">", "OrigArgIndices", ";", "ArgInfo", "ArgRetInfo", "(", "VRegs", ",", "Val", "->", "getType", "(", ")", ")", ";", "setArgFlags", "(", "ArgRetInfo", ",", "AttributeList", "::", "ReturnIndex", ",", "DL", ",", "F", ")", ";", "splitToValueTypes", "(", "DL", ",", "ArgRetInfo", ",", "0", ",", "RetInfos", ",", "OrigArgIndices", ")", ";", "SmallVector", "<", "ISD", "::", "OutputArg", ",", "8", ">", "Outs", ";", "subTargetRegTypeForCallingConv", "(", "F", ",", "RetInfos", ",", "OrigArgIndices", ",", "Outs", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "MipsCCState", "CCInfo", "(", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ",", "MF", ",", "ArgLocs", ",", "F", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "TLI", ".", "CCAssignFnForReturn", "(", ")", ")", ";", "setLocInfo", "(", "ArgLocs", ",", "Outs", ")", ";", "MipsOutgoingValueHandler", "RetHandler", "(", "MIRBuilder", ",", "MF", ".", "getRegInfo", "(", ")", ",", "Ret", ")", ";", "if", "(", "!", "RetHandler", ".", "handle", "(", "ArgLocs", ",", "RetInfos", ")", ")", "{", "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": ["Mips", "Mips", "Mips::RetRA", "Mips", "Mips", "8", "8", "0", "ISD::OutputArg", "8", "16", "Mips", "Mips"], "File": "MipsCallLowering16", "Func": "lowerReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17773, "Length": 284, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "ParamLoadedValue", ">", "ARMBaseInstrInfo", "::", "describeLoadedValue", "(", "const", "MachineInstr", "&", "MI", ",", "Register", "Reg", ")", "const", "{", "if", "(", "auto", "DstSrcPair", "=", "isCopyInstrImpl", "(", "MI", ")", ")", "{", "Register", "DstReg", "=", "DstSrcPair", "->", "Destination", "->", "getReg", "(", ")", ";", "if", "(", "DstReg", "!=", "Reg", ")", "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": ["ARM", "ARM"], "File": "ARMBaseInstrInfo110", "Func": "describeLoadedValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17774, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FixupLEAPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Func", ")", "{", "MF", "=", "&", "Func", ";", "TM", "=", "&", "Func", ".", "getTarget", "(", ")", ";", "const", "X86Subtarget", "&", "ST", "=", "TM", "->", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "ST", ".", "LEAusesAG", "(", ")", "&&", "!", "ST", ".", "slowLEA", "(", ")", ")", "return", "false", ";", "TII", "=", "static_cast", "<", "const", "X86InstrInfo", "*", ">", "(", "TM", "->", "getSubtargetImpl", "(", ")", "->", "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", "X86", "\"Start X86FixupLEAs\\n\"", "\"End X86FixupLEAs\\n\""], "File": "X86FixupLEAs36", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17775, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mt_expand_prologue", "(", "void", ")", "{", "rtx", "size_rtx", ",", "insn", ";", "unsigned", "int", "frame_size", ";", "if", "(", "mt_interrupt_function_p", "(", "current_function_decl", ")", ")", "{", "interrupt_handler", "=", "1", ";", "if", "(", "cfun", "->", "machine", ")", "cfun", "->", "machine", "->", "interrupt_handler", "=", "1", ";", "}", "mt_compute_frame_size", "(", "get_frame_size", "(", ")", ")", ";", "if", "(", "TARGET_DEBUG_STACK", ")", "mt_debug_stack", "(", "&", "current_frame_info", ")", ";", "frame_size", "=", "current_frame_info", ".", "total_size", ";", "if", "(", "CONST_OK_FOR_LETTER_P", "(", "frame_size", ",", "'O'", ")", ")", "size_rtx", "=", "GEN_INT", "(", "frame_size", ")", ";", "else", "{", "gcc_assert", "(", "!", "interrupt_handler", ")", ";", "size_rtx", "=", "gen_rtx_REG", "(", "SImode", ",", "GPR_R9", ")", ";", "insn", "=", "emit_move_insn", "(", "size_rtx", ",", "GEN_INT", "(", "frame_size", "&", "0xffff0000", ")", ")", ";", "insn", "=", "emit_insn", "(", "gen_iorsi3", "(", "size_rtx", ",", "size_rtx", ",", "GEN_INT", "(", "frame_size", "&", "0x0000ffff", ")", ")", ")", ";", "}", "if", "(", "frame_size", ")", "{", "insn", "=", "emit_insn", "(", "gen_subsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "size_rtx", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "REG_NOTES", "(", "insn", ")", "=", "gen_rtx_EXPR_LIST", "(", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "VOIDmode", ",", "stack_pointer_rtx", ",", "gen_rtx_MINUS", "(", "SImode", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "frame_size", ")", ")", ")", ",", "REG_NOTES", "(", "insn", ")", ")", ";", "}", "if", "(", "current_frame_info", ".", "reg_size", "!=", "0", "&&", "!", "CONST_OK_FOR_LETTER_P", "(", "frame_size", ",", "'O'", ")", ")", "emit_insn", "(", "gen_addsi3", "(", "size_rtx", ",", "size_rtx", ",", "stack_pointer_rtx", ")", ")", ";", "mt_emit_save_fp", "(", "FROM_PROCESSOR_TO_MEM", ",", "current_frame_info", ")", ";", "if", "(", "frame_pointer_needed", ")", "{", "insn", "=", "emit_move_insn", "(", "frame_pointer_rtx", ",", "stack_pointer_rtx", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "mt_emit_save_regs", "(", "FROM_PROCESSOR_TO_MEM", ",", "current_frame_info", ")", ";", "if", "(", "profile_flag", ")", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "prologue", "code", "."], "TS_V_token": ["mt", "1", "1", "0xffff0000", "0x0000ffff", "1", "0", "1"], "File": "mt", "Func": "mt_expand_prologue", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17776, "Length": 269, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintWeight", "OR1KTargetLowering", "::", "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", "'I'", ":", "case", "'J'", ":", "case", "'K'", ":", "case", "'L'", ":", "case", "'M'", ":", "case", "'N'", ":", "case", "'O'", ":", "if", "(", "isa", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "weight", "=", "CW_Constant", ";", "break", ";", "}", "return", "weight", ";", "}", ""], "natrual_language": ["Examine", "constraint", "string", "and", "operand", "type", "and", "determine", "a", "weight", "value", "."], "TS_V_token": ["OR1K", "OR1K"], "File": "OR1KISelLowering", "Func": "getSingleConstraintMatchWeight", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17777, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "hasStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "const", "MachineMemOperand", "*", "&", "MMO", ",", "int", "&", "FrameIndex", ")", "const", "{", "for", "(", "MachineInstr", "::", "mmo_iterator", "o", "=", "MI", "->", "memoperands_begin", "(", ")", ",", "oe", "=", "MI", "->", "memoperands_end", "(", ")", ";", "o", "!=", "oe", ";", "++", "o", ")", "{", "if", "(", "(", "*", "o", ")", "->", "isStore", "(", ")", "&&", "(", "*", "o", ")", "->", "getValue", "(", ")", ")", "if", "(", "const", "FixedStackPseudoSourceValue", "*", "Value", "=", "dyn_cast", "<", "const", "FixedStackPseudoSourceValue", ">", "(", "(", "*", "o", ")", "->", "getValue", "(", ")", ")", ")", "{", "FrameIndex", "=", "Value", "->", "getFrameIndex", "(", ")", ";", "MMO", "=", "*", "o", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "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": ["X86", "X86"], "File": "X86InstrInfo12", "Func": "hasStoreToStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17778, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "free_bundle_state", "(", "struct", "bundle_state", "*", "state", ")", "{", "state", "->", "next", "=", "free_bundle_state_chain", ";", "free_bundle_state_chain", "=", "state", ";", "}", ""], "natrual_language": ["The", "following", "function", "frees", "given", "bundle", "state", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "free_bundle_state", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17779, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "{", "return", "ARM", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["ARM", "ARM::NumTargetFixupKinds"], "File": "ARMAsmBackend (2)", "Func": "getNumFixupKinds", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17780, "Length": 12, "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": 17781, "Length": 66, "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": 17782, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "*", "output_cbranch", "(", "rtx", "op", ",", "const", "char", "*", "label", ",", "int", "reversed", ",", "rtx_insn", "*", "insn", ")", "{", "static", "char", "string", "[", "64", "]", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "op", ")", ";", "rtx", "cc_reg", "=", "XEXP", "(", "op", ",", "0", ")", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "cc_reg", ")", ";", "int", "cc_regno", "=", "REGNO", "(", "cc_reg", ")", "-", "CR0_REGNO", ";", "int", "need_longbranch", "=", "label", "!=", "NULL", "&&", "get_attr_length", "(", "insn", ")", "==", "8", ";", "int", "really_reversed", "=", "reversed", "^", "need_longbranch", ";", "char", "*", "s", "=", "string", ";", "const", "char", "*", "ccode", ";", "const", "char", "*", "pred", ";", "rtx", "note", ";", "validate_condition_mode", "(", "code", ",", "mode", ")", ";", "if", "(", "really_reversed", ")", "{", "if", "(", "mode", "==", "CCFPmode", ")", "code", "=", "reverse_condition_maybe_unordered", "(", "code", ")", ";", "else", "code", "=", "reverse_condition", "(", "code", ")", ";", "}", "switch", "(", "code", ")", "{", "case", "NE", ":", "case", "LTGT", ":", "ccode", "=", "\"ne\"", ";", "break", ";", "case", "EQ", ":", "case", "UNEQ", ":", "ccode", "=", "\"eq\"", ";", "break", ";", "case", "GE", ":", "case", "GEU", ":", "ccode", "=", "\"ge\"", ";", "break", ";", "case", "GT", ":", "case", "GTU", ":", "case", "UNGT", ":", "ccode", "=", "\"gt\"", ";", "break", ";", "case", "LE", ":", "case", "LEU", ":", "ccode", "=", "\"le\"", ";", "break", ";", "case", "LT", ":", "case", "LTU", ":", "case", "UNLT", ":", "ccode", "=", "\"lt\"", ";", "break", ";", "case", "UNORDERED", ":", "ccode", "=", "\"un\"", ";", "break", ";", "case", "ORDERED", ":", "ccode", "=", "\"nu\"", ";", "break", ";", "case", "UNGE", ":", "ccode", "=", "\"nl\"", ";", "break", ";", "case", "UNLE", ":", "ccode", "=", "\"ng\"", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "pred", "=", "\"\"", ";", "note", "=", "find_reg_note", "(", "insn", ",", "REG_BR_PROB", ",", "NULL_RTX", ")", ";", "if", "(", "note", "!=", "NULL_RTX", ")", "{", "int", "prob", "=", "profile_probability", "::", "from_reg_br_prob_note", "(", "XINT", "(", "note", ",", "0", ")", ")", ".", "to_reg_br_prob_base", "(", ")", "-", "REG_BR_PROB_BASE", "/", "2", ";", "if", "(", "rs6000_always_hint", "||", "(", "abs", "(", "prob", ")", ">", "REG_BR_PROB_BASE", "/", "100", "*", "48", "&&", "(", "profile_status_for_fn", "(", "cfun", ")", "!=", "PROFILE_GUESSED", ")", "&&", "br_prob_note_reliable_p", "(", "note", ")", ")", ")", "{", "if", "(", "abs", "(", "prob", ")", ">", "REG_BR_PROB_BASE", "/", "20", "&&", "(", "(", "prob", ">", "0", ")", "^", "need_longbranch", ")", ")", "pred", "=", "\"+\"", ";", "else", "pred", "=", "\"-\"", ";", "}", "}", "if", "(", "label", "==", "NULL", ")", "s", "+=", "sprintf", "(", "s", ",", "\"b%slr%s \"", ",", "ccode", ",", "pred", ")", ";", "else", "s", "+=", "sprintf", "(", "s", ",", "\"b%s%s \"", ",", "ccode", ",", "pred", ")", ";", "if", "(", "reg_names", "[", "cc_regno", "+", "CR0_REGNO", "]", "[", "0", "]", "==", "'%'", ")", "*", "s", "++", "=", "'%'", ";", "s", "+=", "sprintf", "(", "s", ",", "\"%s\"", ",", "reg_names", "[", "cc_regno", "+", "CR0_REGNO", "]", ")", ";", "if", "(", "label", "!=", "NULL", ")", "{", "if", "(", "need_longbranch", ")", "s", "+=", "sprintf", "(", "s", ",", "\",$+8\\n\\tb %s\"", ",", "label", ")", ";", "else", "s", "+=", "sprintf", "(", "s", ",", "\",%s\"", ",", "label", ")", ";", "}", "return", "string", ";", "}", ""], "natrual_language": ["Output", "a", "conditional", "branch", "to", "LABEL", ".", "CODE", "is", "the", "comparison", "code", ".", "CC_MODE", "is", "the", "mode", "of", "the", "CC", "register", ".", "REVERSED", "is", "non-zero", "if", "we", "should", "reverse", "the", "sense", "of", "the", "comparison", ".", "INSN", "is", "the", "instruction", "."], "TS_V_token": ["rs6000", "64", "0", "8", "\"ne\"", "\"eq\"", "\"ge\"", "\"gt\"", "\"le\"", "\"lt\"", "\"un\"", "\"nu\"", "\"nl\"", "\"ng\"", "\"\"", "0", "2", "100", "48", "20", "0", "\"+\"", "\"-\"", "\"b%slr%s \"", "\"b%s%s \"", "0", "\"%s\"", "\",$+8\\n\\tb %s\"", "\",%s\""], "File": "rs6000", "Func": "output_cbranch", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17783, "Length": 481, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{", "return", "createX86MachObjectWriter", "(", "OS", ",", "true", ",", "MachO", "::", "CPU_TYPE_X86_64", ",", "MachO", "::", "CPU_SUBTYPE_X86_64_ALL", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86AsmBackend76", "Func": "createObjectWriter", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17784, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "function_arg_advance_32", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "HOST_WIDE_INT", "bytes", ",", "HOST_WIDE_INT", "words", ")", "{", "int", "res", "=", "0", ";", "switch", "(", "mode", ")", "{", "default", ":", "break", ";", "case", "BLKmode", ":", "if", "(", "bytes", "<", "0", ")", "break", ";", "case", "DImode", ":", "case", "SImode", ":", "case", "HImode", ":", "case", "QImode", ":", "cum", "->", "words", "+=", "words", ";", "cum", "->", "nregs", "-=", "words", ";", "cum", "->", "regno", "+=", "words", ";", "if", "(", "cum", "->", "nregs", ">=", "0", ")", "res", "=", "words", ";", "if", "(", "cum", "->", "nregs", "<=", "0", ")", "{", "cum", "->", "nregs", "=", "0", ";", "cum", "->", "regno", "=", "0", ";", "}", "break", ";", "case", "OImode", ":", "gcc_unreachable", "(", ")", ";", "case", "DFmode", ":", "if", "(", "cum", "->", "float_in_sse", "<", "2", ")", "break", ";", "case", "SFmode", ":", "if", "(", "cum", "->", "float_in_sse", "<", "1", ")", "break", ";", "case", "V8SFmode", ":", "case", "V8SImode", ":", "case", "V64QImode", ":", "case", "V32HImode", ":", "case", "V16SImode", ":", "case", "V8DImode", ":", "case", "V16SFmode", ":", "case", "V8DFmode", ":", "case", "V32QImode", ":", "case", "V16HImode", ":", "case", "V4DFmode", ":", "case", "V4DImode", ":", "case", "TImode", ":", "case", "V16QImode", ":", "case", "V8HImode", ":", "case", "V4SImode", ":", "case", "V2DImode", ":", "case", "V4SFmode", ":", "case", "V2DFmode", ":", "if", "(", "!", "type", "||", "!", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "cum", "->", "sse_words", "+=", "words", ";", "cum", "->", "sse_nregs", "-=", "1", ";", "cum", "->", "sse_regno", "+=", "1", ";", "if", "(", "cum", "->", "sse_nregs", "<=", "0", ")", "{", "cum", "->", "sse_nregs", "=", "0", ";", "cum", "->", "sse_regno", "=", "0", ";", "}", "}", "break", ";", "case", "V8QImode", ":", "case", "V4HImode", ":", "case", "V2SImode", ":", "case", "V2SFmode", ":", "case", "V1TImode", ":", "case", "V1DImode", ":", "if", "(", "!", "type", "||", "!", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "cum", "->", "mmx_words", "+=", "words", ";", "cum", "->", "mmx_nregs", "-=", "1", ";", "cum", "->", "mmx_regno", "+=", "1", ";", "if", "(", "cum", "->", "mmx_nregs", "<=", "0", ")", "{", "cum", "->", "mmx_nregs", "=", "0", ";", "cum", "->", "mmx_regno", "=", "0", ";", "}", "}", "break", ";", "}", "return", "res", ";", "}", ""], "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", ".", ")", "Return", "a", "number", "of", "integer", "regsiters", "advanced", "over", "."], "TS_V_token": ["i386", "0", "0", "0", "0", "0", "0", "2", "1", "1", "1", "0", "0", "0", "1", "1", "0", "0", "0"], "File": "i3864", "Func": "function_arg_advance_32", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17785, "Length": 335, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "VEMCCodeEmitter", "::", "getBranchTargetOpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isReg", "(", ")", "||", "MO", ".", "isImm", "(", ")", ")", "return", "getMachineOpValue", "(", "MI", ",", "MO", ",", "Fixups", ",", "STI", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "MO", ".", "getExpr", "(", ")", ",", "(", "MCFixupKind", ")", "VE", "::", "fixup_ve_pc_lo32", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "."], "TS_V_token": ["VE", "VE", "0", "VE::fixup_ve_pc_lo32", "0"], "File": "VEMCCodeEmitter2", "Func": "getBranchTargetOpValue", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17786, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "Position", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DestinationRegister", ",", "unsigned", "SourceRegister", ",", "bool", "KillSource", ")", "const", "{", "if", "(", "!", "Lanai", "::", "GPRRegClass", ".", "contains", "(", "DestinationRegister", ",", "SourceRegister", ")", ")", "{", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "}", "BuildMI", "(", "MBB", ",", "Position", ",", "DL", ",", "get", "(", "Lanai", "::", "OR_I_LO", ")", ",", "DestinationRegister", ")", ".", "addReg", "(", "SourceRegister", ",", "getKillRegState", "(", "KillSource", ")", ")", ".", "addImm", "(", "0", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["Lanai", "Lanai", "Lanai::GPRRegClass", "\"Impossible reg-to-reg copy\"", "Lanai::OR_I_LO", "0"], "File": "LanaiInstrInfo (2)", "Func": "copyPhysReg", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17787, "Length": 85, "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": ["AArch64"], "File": "AArch64TargetTransformInfo1", "Func": "getAdjustedAnalysisPointer", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17788, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_cannot_force_const_mem", "(", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "CONST_INT", ":", "case", "CONST_WIDE_INT", ":", "case", "CONST_DOUBLE", ":", "case", "CONST_VECTOR", ":", "return", "false", ";", "case", "LABEL_REF", ":", "return", "flag_pic", "!=", "0", ";", "case", "SYMBOL_REF", ":", "if", "(", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", ")", "return", "true", ";", "else", "return", "flag_pic", "!=", "0", ";", "case", "CONST", ":", "return", "sparc_cannot_force_const_mem", "(", "mode", ",", "XEXP", "(", "x", ",", "0", ")", ")", ";", "case", "PLUS", ":", "case", "MINUS", ":", "return", "sparc_cannot_force_const_mem", "(", "mode", ",", "XEXP", "(", "x", ",", "0", ")", ")", "||", "sparc_cannot_force_const_mem", "(", "mode", ",", "XEXP", "(", "x", ",", "1", ")", ")", ";", "case", "UNSPEC", ":", "return", "true", ";", "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": ["sparc", "0", "0", "0", "0", "1"], "File": "sparc", "Func": "sparc_cannot_force_const_mem", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17789, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64TargetMachine", "::", "AArch64TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "LittleEndian", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ",", "LittleEndian", ")", ",", "isLittle", "(", "LittleEndian", ")", ",", "usingPBQP", "(", "false", ")", "{", "initAsmInfo", "(", ")", ";", "if", "(", "EnablePBQP", "&&", "Subtarget", ".", "isCortexA57", "(", ")", "&&", "OL", "!=", "CodeGenOpt", "::", "None", ")", "{", "usingPBQP", "=", "true", ";", "RegisterRegAlloc", "::", "setDefault", "(", "createDefaultPBQPRegisterAllocator", ")", ";", "}", "}", ""], "natrual_language": ["Create", "an", "AArch64", "architecture", "model", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine31", "Func": "AArch64TargetMachine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17790, "Length": 119, "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": 17791, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "emitEndOfAsmFile", "(", "Module", "&", "M", ")", "{", "for", "(", "std", "::", "map", "<", "const", "char", "*", ",", "const", "Mips16HardFloatInfo", "::", "FuncSignature", "*", ">", "::", "const_iterator", "it", "=", "StubsNeeded", ".", "begin", "(", ")", ";", "it", "!=", "StubsNeeded", ".", "end", "(", ")", ";", "++", "it", ")", "{", "const", "char", "*", "Symbol", "=", "it", "->", "first", ";", "const", "Mips16HardFloatInfo", "::", "FuncSignature", "*", "Signature", "=", "it", "->", "second", ";", "EmitFPCallStub", "(", "Symbol", ",", "Signature", ")", ";", "}", "OutStreamer", "->", "SwitchSection", "(", "OutContext", ".", "getObjectFileInfo", "(", ")", "->", "getTextSection", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "virtual", "method", "can", "be", "overridden", "by", "targets", "that", "want", "to", "emit", "something", "at", "the", "end", "of", "their", "file", "."], "TS_V_token": ["Mips", "Mips", "Mips16HardFloatInfo::FuncSignature", "Mips16HardFloatInfo::FuncSignature"], "File": "MipsAsmPrinter", "Func": "emitEndOfAsmFile", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17792, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "DLXPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createDLXDelaySlotFillerPass", "(", "getDLXTargetMachine", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["DLX", "DLX", "DLX", "DLX"], "File": "DLXTargetMachine", "Func": "addPreEmitPass", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17793, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_expand_sse_compare", "(", "const", "struct", "builtin_description", "*", "d", ",", "tree", "arglist", ",", "rtx", "target", ")", "{", "rtx", "pat", ";", "tree", "arg0", "=", "TREE_VALUE", "(", "arglist", ")", ";", "tree", "arg1", "=", "TREE_VALUE", "(", "TREE_CHAIN", "(", "arglist", ")", ")", ";", "rtx", "op0", "=", "expand_expr", "(", "arg0", ",", "NULL_RTX", ",", "VOIDmode", ",", "0", ")", ";", "rtx", "op1", "=", "expand_expr", "(", "arg1", ",", "NULL_RTX", ",", "VOIDmode", ",", "0", ")", ";", "rtx", "op2", ";", "enum", "machine_mode", "tmode", "=", "insn_data", "[", "d", "->", "icode", "]", ".", "operand", "[", "0", "]", ".", "mode", ";", "enum", "machine_mode", "mode0", "=", "insn_data", "[", "d", "->", "icode", "]", ".", "operand", "[", "1", "]", ".", "mode", ";", "enum", "machine_mode", "mode1", "=", "insn_data", "[", "d", "->", "icode", "]", ".", "operand", "[", "2", "]", ".", "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", ")", ";", "if", "(", "d", "->", "flag", "&", "BUILTIN_DESC_SWAP_OPERANDS", ")", "{", "rtx", "tmp", "=", "gen_reg_rtx", "(", "mode1", ")", ";", "emit_move_insn", "(", "tmp", ",", "op1", ")", ";", "op1", "=", "op0", ";", "op0", "=", "tmp", ";", "}", "if", "(", "optimize", "||", "!", "target", "||", "GET_MODE", "(", "target", ")", "!=", "tmode", "||", "!", "(", "*", "insn_data", "[", "d", "->", "icode", "]", ".", "operand", "[", "0", "]", ".", "predicate", ")", "(", "target", ",", "tmode", ")", ")", "target", "=", "gen_reg_rtx", "(", "tmode", ")", ";", "if", "(", "(", "optimize", "&&", "!", "register_operand", "(", "op0", ",", "mode0", ")", ")", "||", "!", "(", "*", "insn_data", "[", "d", "->", "icode", "]", ".", "operand", "[", "1", "]", ".", "predicate", ")", "(", "op0", ",", "mode0", ")", ")", "op0", "=", "copy_to_mode_reg", "(", "mode0", ",", "op0", ")", ";", "if", "(", "(", "optimize", "&&", "!", "register_operand", "(", "op1", ",", "mode1", ")", ")", "||", "!", "(", "*", "insn_data", "[", "d", "->", "icode", "]", ".", "operand", "[", "2", "]", ".", "predicate", ")", "(", "op1", ",", "mode1", ")", ")", "op1", "=", "copy_to_mode_reg", "(", "mode1", ",", "op1", ")", ";", "op2", "=", "gen_rtx_fmt_ee", "(", "comparison", ",", "mode0", ",", "op0", ",", "op1", ")", ";", "pat", "=", "GEN_FCN", "(", "d", "->", "icode", ")", "(", "target", ",", "op0", ",", "op1", ",", "op2", ")", ";", "if", "(", "!", "pat", ")", "return", "0", ";", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Subroutine", "of", "ix86_expand_builtin", "to", "take", "care", "of", "comparison", "insns", "."], "TS_V_token": ["i386", "0", "0", "0", "1", "2", "0", "1", "2", "0"], "File": "i3863", "Func": "ix86_expand_sse_compare", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17794, "Length": 381, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCFrameLowering", "::", "determineFrameLayout", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "FrameSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "unsigned", "MaxAlign", "=", "MFI", "->", "getMaxAlignment", "(", ")", ";", "unsigned", "TargetAlign", "=", "getStackAlignment", "(", ")", ";", "unsigned", "AlignMask", "=", "TargetAlign", "-", "1", ";", "bool", "DisableRedZone", "=", "MF", ".", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "NoRedZone", ")", ";", "if", "(", "!", "DisableRedZone", "&&", "FrameSize", "<=", "224", "&&", "!", "MFI", "->", "hasVarSizedObjects", "(", ")", "&&", "!", "MFI", "->", "adjustsStack", "(", ")", "&&", "!", "(", "Subtarget", ".", "isPPC64", "(", ")", "&&", "Subtarget", ".", "isSVR4ABI", "(", ")", "&&", "spillsCR", "(", "MF", ")", ")", "&&", "(", "!", "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", "PPC", "0", "PPC"], "File": "PPCFrameLowering13", "Func": "determineFrameLayout", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17795, "Length": 227, "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", "::", "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!\"", "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": "AArch64InstrInfo121", "Func": "getInstSizeInBytes", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17796, "Length": 345, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "UPT", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["UPT", "UPT::NumTargetFixupKinds"], "File": "UPTAsmBackend", "Func": "getNumFixupKinds", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17797, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ")", "const", "{", "if", "(", "VT", "!=", "MVT", "::", "f32", "&&", "VT", "!=", "MVT", "::", "f64", ")", "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": ["Mips", "Mips", "MVT::f32", "MVT::f64"], "File": "MipsISelLowering (2)", "Func": "isFPImmLegal", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17798, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_split_128bit_ok_p", "(", "rtx", "operands", "[", "]", ")", "{", "if", "(", "!", "reload_completed", ")", "return", "false", ";", "if", "(", "!", "gpr_or_gpr_p", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ")", ")", "return", "false", ";", "if", "(", "quad_load_store_p", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "128-bit", "move", "needs", "to", "be", "split", "."], "TS_V_token": ["rs6000", "0", "1", "0", "1"], "File": "rs6000", "Func": "rs6000_split_128bit_ok_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17799, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "gen_compare_reg_1", "(", "enum", "rtx_code", "code", ",", "rtx", "x", ",", "rtx", "y", ")", "{", "machine_mode", "mode", ";", "rtx", "cc_reg", ";", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "x", ")", ")", "==", "MODE_CC", ")", "return", "x", ";", "mode", "=", "SELECT_CC_MODE", "(", "code", ",", "x", ",", "y", ")", ";", "if", "(", "TARGET_V9", "&&", "GET_MODE_CLASS", "(", "GET_MODE", "(", "x", ")", ")", "==", "MODE_FLOAT", ")", "{", "int", "reg", ";", "static", "int", "next_fcc_reg", "=", "0", ";", "static", "rtx", "prev_args", "[", "4", "]", "[", "2", "]", ";", "for", "(", "reg", "=", "0", ";", "reg", "<", "4", ";", "reg", "++", ")", "if", "(", "prev_args", "[", "reg", "]", "[", "0", "]", "==", "x", "&&", "prev_args", "[", "reg", "]", "[", "1", "]", "==", "y", ")", "break", ";", "if", "(", "reg", "==", "4", ")", "{", "reg", "=", "next_fcc_reg", ";", "prev_args", "[", "reg", "]", "[", "0", "]", "=", "x", ";", "prev_args", "[", "reg", "]", "[", "1", "]", "=", "y", ";", "next_fcc_reg", "=", "(", "next_fcc_reg", "+", "1", ")", "&", "3", ";", "}", "cc_reg", "=", "gen_rtx_REG", "(", "mode", ",", "reg", "+", "SPARC_FIRST_V9_FCC_REG", ")", ";", "}", "cc_reg", "=", "gen_reg_rtx", "(", "mode", ")", ";", "else", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "x", ")", ")", "==", "MODE_FLOAT", ")", "cc_reg", "=", "gen_rtx_REG", "(", "mode", ",", "SPARC_FCC_REG", ")", ";", "else", "cc_reg", "=", "gen_rtx_REG", "(", "mode", ",", "SPARC_ICC_REG", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "cc_reg", ",", "gen_rtx_COMPARE", "(", "mode", ",", "x", ",", "y", ")", ")", ")", ";", "return", "cc_reg", ";", "}", ""], "natrual_language": ["Emit", "the", "compare", "insn", "and", "return", "the", "CC", "reg", "for", "a", "CODE", "comparison", "with", "operands", "X", "and", "Y", "."], "TS_V_token": ["sparc", "0", "4", "2", "0", "4", "0", "1", "4", "0", "1", "1", "3"], "File": "sparc", "Func": "gen_compare_reg_1", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17800, "Length": 232, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "ARMBaseRegisterInfo", "::", "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": "ARMBaseRegisterInfo20", "Func": "getReservedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17801, "Length": 79, "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": 17802, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "PPCRegisterInfo", "::", "getLargestLegalSuperClass", "(", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "if", "(", "Subtarget", ".", "hasVSX", "(", ")", ")", "{", "if", "(", "RC", "==", "&", "PPC", "::", "F8RCRegClass", ")", "return", "&", "PPC", "::", "VSFRCRegClass", ";", "else", "if", "(", "RC", "==", "&", "PPC", "::", "VRRCRegClass", ")", "return", "&", "PPC", "::", "VSRCRegClass", ";", "}", "return", "TargetRegisterInfo", "::", "getLargestLegalSuperClass", "(", "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": ["PowerPC", "PPC", "PPC::F8RCRegClass", "PPC::VSFRCRegClass", "PPC::VRRCRegClass", "PPC::VSRCRegClass"], "File": "PPCRegisterInfo22", "Func": "getLargestLegalSuperClass", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17803, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isLegalAddressingMode", "(", "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": "X86ISelLowering171", "Func": "isLegalAddressingMode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17804, "Length": 207, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "char", "nds32_byte_to_size", "(", "int", "byte", ")", "{", "switch", "(", "byte", ")", "{", "case", "4", ":", "return", "'w'", ";", "case", "2", ":", "return", "'h'", ";", "case", "1", ":", "return", "'b'", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["A", "helper", "function", "to", "return", "character", "based", "on", "byte", "size", "."], "TS_V_token": ["nds32", "4", "2", "1"], "File": "nds32-md-auxiliary", "Func": "nds32_byte_to_size", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17805, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "machine_function", "*", "mmix_init_machine_status", "(", "void", ")", "{", "return", "ggc_alloc_cleared", "(", "sizeof", "(", "struct", "machine_function", ")", ")", ";", "}", ""], "natrual_language": ["Set", "the", "per-function", "data", "."], "TS_V_token": ["mmix"], "File": "mmix3", "Func": "mmix_init_machine_status", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17806, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "ARM64TargetLowering", "::", "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", "ARM64ISD", "::", "BRCOND", ":", "return", "performBRCONDCombine", "(", "N", ",", "DCI", ",", "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": ["ARM64", "ARM64", "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", "ARM64ISD::BRCOND"], "File": "ARM64ISelLowering1", "Func": "PerformDAGCombine", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17807, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "UPTInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "DestReg", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "UPT", "::", "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": ["UPT", "UPT", "UPT::LDR", "0"], "File": "UPTInstrInfo", "Func": "loadRegFromStackSlot", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17808, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalMaskedGather", "(", "Type", "*", "DataTy", ",", "Align", "Alignment", ")", "{", "if", "(", "!", "supportsGather", "(", ")", ")", "return", "false", ";", "if", "(", "auto", "*", "DataVTy", "=", "dyn_cast", "<", "FixedVectorType", ">", "(", "DataTy", ")", ")", "{", "unsigned", "NumElts", "=", "DataVTy", "->", "getNumElements", "(", ")", ";", "if", "(", "NumElts", "==", "1", ")", "return", "false", ";", "if", "(", "ST", "->", "hasAVX512", "(", ")", "&&", "(", "NumElts", "==", "2", "||", "(", "NumElts", "==", "4", "&&", "!", "ST", "->", "hasVLX", "(", ")", ")", ")", ")", "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", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "gather", "."], "TS_V_token": ["X86", "X86", "1", "2", "4", "32", "64"], "File": "X86TargetTransformInfo (2)1", "Func": "isLegalMaskedGather", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17809, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCFastISel", "::", "fastEmit_i", "(", "MVT", "Ty", ",", "MVT", "VT", ",", "unsigned", "Opc", ",", "uint64_t", "Imm", ")", "{", "if", "(", "Opc", "!=", "ISD", "::", "Constant", ")", "return", "0", ";", "if", "(", "VT", "==", "MVT", "::", "i1", "&&", "Subtarget", "->", "useCRBits", "(", ")", ")", "{", "unsigned", "ImmReg", "=", "createResultReg", "(", "&", "PPC", "::", "CRBITRCRegClass", ")", ";", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "TII", ".", "get", "(", "Imm", "==", "0", "?", "PPC", "::", "CRUNSET", ":", "PPC", "::", "CRSET", ")", ",", "ImmReg", ")", ";", "return", "ImmReg", ";", "}", "if", "(", "VT", "!=", "MVT", "::", "i64", "&&", "VT", "!=", "MVT", "::", "i32", "&&", "VT", "!=", "MVT", "::", "i16", "&&", "VT", "!=", "MVT", "::", "i8", "&&", "VT", "!=", "MVT", "::", "i1", ")", "return", "0", ";", "const", "TargetRegisterClass", "*", "RC", "=", "(", "(", "VT", "==", "MVT", "::", "i64", ")", "?", "&", "PPC", "::", "G8RCRegClass", ":", "&", "PPC", "::", "GPRCRegClass", ")", ";", "if", "(", "VT", "==", "MVT", "::", "i64", ")", "return", "PPCMaterialize64BitInt", "(", "Imm", ",", "RC", ")", ";", "else", "return", "PPCMaterialize32BitInt", "(", "Imm", ",", "RC", ")", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "by", "target-independent", "code", "to", "request", "that", "an", "instruction", "with", "the", "given", "type", ",", "opcode", ",", "and", "immediate", "operand", "be", "emitted", "."], "TS_V_token": ["PowerPC", "PPC", "ISD::Constant", "0", "MVT::i1", "PPC::CRBITRCRegClass", "0", "PPC::CRUNSET", "PPC::CRSET", "MVT::i64", "MVT::i32", "MVT::i16", "MVT::i8", "MVT::i1", "0", "MVT::i64", "PPC::G8RCRegClass", "PPC::GPRCRegClass", "MVT::i64", "PPC", "PPC"], "File": "PPCFastISel25", "Func": "fastEmit_i", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17810, "Length": 178, "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": 17811, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64TargetLowering", "::", "getVaListSizeInBits", "(", "const", "DataLayout", "&", "DL", ",", "unsigned", "AS", ")", "const", "{", "if", "(", "Subtarget", "->", "isTargetDarwin", "(", ")", "||", "Subtarget", "->", "isTargetWindows", "(", ")", ")", "return", "getPointerTy", "(", "DL", ",", "AS", ")", ".", "getSizeInBits", "(", ")", ";", "return", "3", "*", "getPointerTy", "(", "DL", ",", "AS", ")", ".", "getSizeInBits", "(", ")", "+", "2", "*", "32", ";", "}", ""], "natrual_language": ["Returns", "the", "size", "of", "the", "platform", "'s", "va_list", "object", "."], "TS_V_token": ["AArch64", "AArch64", "3", "2", "32"], "File": "AArch64ISelLowering89", "Func": "getVaListSizeInBits", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17812, "Length": 60, "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", "(", ")", ";", "switch", "(", "MF", "->", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", ")", "{", "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", ";", "return", "CSR_64_AllRegs_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", "X86", "X86", "X86", "X86", "X86"], "File": "X86RegisterInfo32", "Func": "getCalleeSavedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17813, "Length": 461, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_avoid_lea_for_addr", "(", "rtx_insn", "*", "insn", ",", "rtx", "operands", "[", "]", ")", "{", "unsigned", "int", "regno0", ",", "regno1", ",", "regno2", ";", "int", "split_cost", ";", "struct", "ix86_address", "parts", ";", "int", "ok", ";", "if", "(", "REG_P", "(", "operands", "[", "1", "]", ")", "||", "(", "SImode_address_operand", "(", "operands", "[", "1", "]", ",", "VOIDmode", ")", "&&", "REG_P", "(", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ")", ")", ")", "return", "false", ";", "ok", "=", "ix86_decompose_address", "(", "operands", "[", "1", "]", ",", "&", "parts", ")", ";", "gcc_assert", "(", "ok", ")", ";", "if", "(", "(", "parts", ".", "base", "!=", "NULL_RTX", ")", "+", "(", "parts", ".", "index", "!=", "NULL_RTX", ")", "+", "(", "parts", ".", "disp", "!=", "NULL_RTX", ")", "+", "(", "parts", ".", "scale", ">", "1", ")", "<", "2", ")", "return", "false", ";", "if", "(", "parts", ".", "disp", "&&", "flag_pic", "&&", "!", "LEGITIMATE_PIC_OPERAND_P", "(", "parts", ".", "disp", ")", ")", "return", "false", ";", "regno0", "=", "true_regnum", "(", "operands", "[", "0", "]", ")", ";", "regno1", "=", "INVALID_REGNUM", ";", "regno2", "=", "INVALID_REGNUM", ";", "if", "(", "parts", ".", "base", ")", "regno1", "=", "true_regnum", "(", "parts", ".", "base", ")", ";", "if", "(", "parts", ".", "index", ")", "regno2", "=", "true_regnum", "(", "parts", ".", "index", ")", ";", "if", "(", "!", "TARGET_CPU_P", "(", "BONNELL", ")", "&&", "parts", ".", "scale", "==", "1", "&&", "(", "!", "parts", ".", "disp", "||", "parts", ".", "disp", "==", "const0_rtx", ")", "&&", "(", "regno0", "==", "regno1", "||", "regno0", "==", "regno2", ")", ")", "return", "true", ";", "if", "(", "!", "TARGET_AVOID_LEA_FOR_ADDR", "||", "optimize_function_for_size_p", "(", "cfun", ")", ")", "return", "false", ";", "split_cost", "=", "0", ";", "if", "(", "parts", ".", "base", "||", "parts", ".", "index", ")", "{", "if", "(", "regno1", "!=", "regno0", "&&", "regno2", "!=", "regno0", ")", "split_cost", "+=", "1", ";", "if", "(", "parts", ".", "base", "&&", "parts", ".", "index", ")", "split_cost", "+=", "1", ";", "if", "(", "parts", ".", "scale", ">", "1", ")", "{", "if", "(", "regno0", "!=", "regno1", ")", "split_cost", "+=", "1", ";", "else", "if", "(", "regno2", "==", "regno0", ")", "split_cost", "+=", "4", ";", "else", "split_cost", "+=", "parts", ".", "scale", ";", "}", "if", "(", "parts", ".", "disp", "&&", "parts", ".", "disp", "!=", "const0_rtx", ")", "split_cost", "+=", "1", ";", "split_cost", "-=", "1", ";", "}", "return", "!", "ix86_lea_outperforms", "(", "insn", ",", "regno0", ",", "regno1", ",", "regno2", ",", "split_cost", ",", "parts", ".", "scale", ">", "1", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "need", "to", "split", "lea", "into", "a", "sequence", "of", "instructions", "to", "avoid", "AGU", "stalls", "during", "peephole2", "."], "TS_V_token": ["i386", "1", "1", "1", "0", "1", "1", "2", "0", "1", "0", "1", "1", "1", "1", "4", "1", "1", "1"], "File": "i386", "Func": "ix86_avoid_lea_for_addr", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17814, "Length": 370, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isSchedulingBoundary", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineBasicBlock", "*", "MBB", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "MI", ".", "isDebugInstr", "(", ")", ")", "return", "false", ";", "if", "(", "MI", ".", "isTerminator", "(", ")", "||", "MI", ".", "isPosition", "(", ")", ")", "return", "true", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "INLINEASM_BR", ")", "return", "true", ";", "MachineBasicBlock", "::", "const_iterator", "I", "=", "MI", ";", "while", "(", "++", "I", "!=", "MBB", "->", "end", "(", ")", "&&", "I", "->", "isDebugInstr", "(", ")", ")", ";", "if", "(", "I", "!=", "MBB", "->", "end", "(", ")", "&&", "I", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2IT", ")", "return", "true", ";", "if", "(", "!", "MI", ".", "isCall", "(", ")", "&&", "MI", ".", "definesRegister", "(", "ARM", "::", "SP", ")", ")", "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": ["ARM", "ARM", "ARM::t2IT", "ARM::SP"], "File": "ARMBaseInstrInfo110", "Func": "isSchedulingBoundary", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17815, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_expand_vi_constant", "(", "machine_mode", "vmode", ",", "unsigned", "nelt", ",", "rtx", "target", ",", "rtx", "vals", ")", "{", "rtvec", "vec", "=", "shallow_copy_rtvec", "(", "XVEC", "(", "vals", ",", "0", ")", ")", ";", "unsigned", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "{", "rtx", "elem", "=", "RTVEC_ELT", "(", "vec", ",", "i", ")", ";", "if", "(", "!", "mips_constant_elt_p", "(", "elem", ")", ")", "RTVEC_ELT", "(", "vec", ",", "i", ")", "=", "CONST0_RTX", "(", "GET_MODE", "(", "elem", ")", ")", ";", "}", "emit_move_insn", "(", "target", ",", "gen_rtx_CONST_VECTOR", "(", "vmode", ",", "vec", ")", ")", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "mips_expand_vec_init", ",", "replacing", "all", "of", "the", "non-constant", "elements", "of", "VALS", "with", "zeros", ",", "copy", "the", "constant", "vector", "to", "TARGET", "."], "TS_V_token": ["mips", "0", "0"], "File": "mips", "Func": "mips_expand_vi_constant", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17816, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsRegisterInfo", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MipsFunctionInfo", "*", "MipsFI", "=", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "::", "getUnknownLoc", "(", ")", ")", ";", "bool", "isPIC", "=", "(", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", ";", "adjustMipsStackFrame", "(", "MF", ")", ";", "unsigned", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "0", "&&", "!", "MFI", "->", "hasCalls", "(", ")", ")", "return", ";", "int", "FPOffset", "=", "MipsFI", "->", "getFPStackOffset", "(", ")", ";", "int", "RAOffset", "=", "MipsFI", "->", "getRAStackOffset", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "NOREORDER", ")", ")", ";", "if", "(", "isPIC", "&&", "Subtarget", ".", "isABI_O32", "(", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "CPLOAD", ")", ")", ".", "addReg", "(", "getPICCallReg", "(", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "NOMACRO", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "ADDiu", ")", ",", "Mips", "::", "SP", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ".", "addImm", "(", "-", "StackSize", ")", ";", "if", "(", "MFI", "->", "hasCalls", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "SW", ")", ")", ".", "addReg", "(", "Mips", "::", "RA", ")", ".", "addImm", "(", "RAOffset", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "SW", ")", ")", ".", "addReg", "(", "Mips", "::", "FP", ")", ".", "addImm", "(", "FPOffset", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "ADDu", ")", ",", "Mips", "::", "FP", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ".", "addReg", "(", "Mips", "::", "ZERO", ")", ";", "}", "if", "(", "MipsFI", "->", "needGPSaveRestore", "(", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "CPRESTORE", ")", ")", ".", "addImm", "(", "MipsFI", "->", "getGPStackOffset", "(", ")", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "0", "Mips", "Mips", "Mips::NOREORDER", "Mips::CPLOAD", "Mips::NOMACRO", "Mips::ADDiu", "Mips::SP", "Mips::SP", "Mips::SW", "Mips::RA", "Mips::SP", "Mips::SW", "Mips::FP", "Mips::SP", "Mips::ADDu", "Mips::FP", "Mips::SP", "Mips::ZERO", "Mips", "Mips::CPRESTORE", "Mips"], "File": "MipsRegisterInfo38", "Func": "emitPrologue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17817, "Length": 417, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMConstantIslands", "::", "getOffsetOf", "(", "MachineInstr", "*", "MI", ")", "const", "{", "MachineBasicBlock", "*", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "unsigned", "Offset", "=", "BBInfo", "[", "MBB", "->", "getNumber", "(", ")", "]", ".", "Offset", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", "->", "begin", "(", ")", ";", "&", "*", "I", "!=", "MI", ";", "++", "I", ")", "{", "assert", "(", "I", "!=", "MBB", "->", "end", "(", ")", "&&", "\"Didn't find MI in its own basic block?\"", ")", ";", "Offset", "+=", "TII", "->", "getInstSizeInBytes", "(", "*", "I", ")", ";", "}", "return", "Offset", ";", "}", ""], "natrual_language": ["getOffsetOf", "-", "Return", "the", "current", "offset", "of", "the", "specified", "machine", "instruction", "from", "the", "start", "of", "the", "function", "."], "TS_V_token": ["ARM", "ARM", "\"Didn't find MI in its own basic block?\""], "File": "ARMConstantIslandPass", "Func": "getOffsetOf", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17818, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "*", "PPCInstrInfo", "::", "CreateTargetHazardRecognizer", "(", "const", "TargetMachine", "*", "TM", ",", "const", "ScheduleDAG", "*", "DAG", ")", "const", "{", "const", "TargetInstrInfo", "*", "TII", "=", "TM", "->", "getInstrInfo", "(", ")", ";", "(", "void", ")", "TII", ";", "assert", "(", "TII", "&&", "\"No InstrInfo?\"", ")", ";", "unsigned", "Directive", "=", "TM", "->", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "getDarwinDirective", "(", ")", ";", "if", "(", "Directive", "==", "PPC", "::", "DIR_440", ")", "{", "const", "InstrItineraryData", "*", "II", "=", "TM", "->", "getInstrItineraryData", "(", ")", ";", "return", "new", "PPCHazardRecognizer440", "(", "II", ",", "DAG", ")", ";", "}", "else", "{", "return", "new", "ScheduleHazardRecognizer", "(", ")", ";", "}", "}", ""], "natrual_language": ["Allocate", "and", "return", "a", "hazard", "recognizer", "to", "use", "for", "this", "target", "when", "scheduling", "the", "machine", "instructions", "before", "register", "allocation", "."], "TS_V_token": ["PowerPC", "PPC", "\"No InstrInfo?\"", "PPC", "PPC::DIR_440", "PPC"], "File": "PPCInstrInfo110", "Func": "CreateTargetHazardRecognizer", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17819, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StackOffset", "SparcFrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "Register", "&", "FrameReg", ")", "const", "{", "const", "SparcSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "SparcSubtarget", ">", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "SparcRegisterInfo", "*", "RegInfo", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "const", "SparcMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "SparcMachineFunctionInfo", ">", "(", ")", ";", "bool", "isFixed", "=", "MFI", ".", "isFixedObjectIndex", "(", "FI", ")", ";", "bool", "UseFP", ";", "if", "(", "FuncInfo", "->", "isLeafProc", "(", ")", ")", "{", "UseFP", "=", "false", ";", "}", "else", "if", "(", "isFixed", ")", "{", "UseFP", "=", "true", ";", "}", "else", "if", "(", "RegInfo", "->", "needsStackRealignment", "(", "MF", ")", ")", "{", "UseFP", "=", "false", ";", "}", "else", "{", "UseFP", "=", "true", ";", "}", "int64_t", "FrameOffset", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectOffset", "(", "FI", ")", "+", "Subtarget", ".", "getStackPointerBias", "(", ")", ";", "if", "(", "UseFP", ")", "{", "FrameReg", "=", "RegInfo", "->", "getFrameRegister", "(", "MF", ")", ";", "return", "StackOffset", "::", "getFixed", "(", "FrameOffset", ")", ";", "}", "else", "{", "FrameReg", "=", "SP", "::", "O6", ";", "return", "StackOffset", "::", "getFixed", "(", "FrameOffset", "+", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "SP::O6"], "File": "SparcFrameLowering20", "Func": "getFrameIndexReference", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17820, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isVirtualSection", "(", "const", "MCSection", "&", "Section", ")", "const", "{", "const", "MCSectionMachO", "&", "SMO", "=", "static_cast", "<", "const", "MCSectionMachO", "&", ">", "(", "Section", ")", ";", "return", "(", "SMO", ".", "getType", "(", ")", "==", "MCSectionMachO", "::", "S_ZEROFILL", "||", "SMO", ".", "getType", "(", ")", "==", "MCSectionMachO", "::", "S_GB_ZEROFILL", "||", "SMO", ".", "getType", "(", ")", "==", "MCSectionMachO", "::", "S_THREAD_LOCAL_ZEROFILL", ")", ";", "}", ""], "natrual_language": ["Check", "whether", "this", "section", "is", "``", "virtual", "''", ",", "that", "is", "has", "no", "actual", "object", "file", "contents", "."], "TS_V_token": ["X86"], "File": "X86AsmBackend29", "Func": "isVirtualSection", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17821, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86FastISel", "::", "fastMaterializeConstant", "(", "const", "Constant", "*", "C", ")", "{", "EVT", "CEVT", "=", "TLI", ".", "getValueType", "(", "DL", ",", "C", "->", "getType", "(", ")", ",", "true", ")", ";", "if", "(", "!", "CEVT", ".", "isSimple", "(", ")", ")", "return", "0", ";", "MVT", "VT", "=", "CEVT", ".", "getSimpleVT", "(", ")", ";", "if", "(", "const", "auto", "*", "CI", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "C", ")", ")", "return", "X86MaterializeInt", "(", "CI", ",", "VT", ")", ";", "if", "(", "const", "auto", "*", "CFP", "=", "dyn_cast", "<", "ConstantFP", ">", "(", "C", ")", ")", "return", "X86MaterializeFP", "(", "CFP", ",", "VT", ")", ";", "if", "(", "const", "auto", "*", "GV", "=", "dyn_cast", "<", "GlobalValue", ">", "(", "C", ")", ")", "return", "X86MaterializeGV", "(", "GV", ",", "VT", ")", ";", "if", "(", "isa", "<", "UndefValue", ">", "(", "C", ")", ")", "{", "unsigned", "Opc", "=", "0", ";", "switch", "(", "VT", ".", "SimpleTy", ")", "{", "default", ":", "break", ";", "case", "MVT", "::", "f32", ":", "if", "(", "!", "X86ScalarSSEf32", ")", "Opc", "=", "X86", "::", "LD_Fp032", ";", "break", ";", "case", "MVT", "::", "f64", ":", "if", "(", "!", "X86ScalarSSEf64", ")", "Opc", "=", "X86", "::", "LD_Fp064", ";", "break", ";", "case", "MVT", "::", "f80", ":", "Opc", "=", "X86", "::", "LD_Fp080", ";", "break", ";", "}", "if", "(", "Opc", ")", "{", "Register", "ResultReg", "=", "createResultReg", "(", "TLI", ".", "getRegClassFor", "(", "VT", ")", ")", ";", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "TII", ".", "get", "(", "Opc", ")", ",", "ResultReg", ")", ";", "return", "ResultReg", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["Emit", "a", "constant", "in", "a", "register", "using", "target-specific", "logic", ",", "such", "as", "constant", "pool", "loads", "."], "TS_V_token": ["X86", "X86", "0", "X86", "X86", "X86", "0", "MVT::f32", "X86", "X86::LD_Fp032", "MVT::f64", "X86", "X86::LD_Fp064", "MVT::f80", "X86::LD_Fp080", "0"], "File": "X86FastISel114", "Func": "fastMaterializeConstant", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17822, "Length": 246, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86FrameLowering", "::", "getWinEHFuncletFrameSize", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "X86MachineFunctionInfo", "*", "X86FI", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "unsigned", "CSSize", "=", "X86FI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "const", "auto", "&", "WinEHXMMSlotInfo", "=", "X86FI", "->", "getWinEHXMMSlotInfo", "(", ")", ";", "unsigned", "XMMSize", "=", "WinEHXMMSlotInfo", ".", "size", "(", ")", "*", "TRI", "->", "getSpillSize", "(", "X86", "::", "VR128RegClass", ")", ";", "unsigned", "UsedSize", ";", "EHPersonality", "Personality", "=", "classifyEHPersonality", "(", "MF", ".", "getFunction", "(", ")", ".", "getPersonalityFn", "(", ")", ")", ";", "if", "(", "Personality", "==", "EHPersonality", "::", "CoreCLR", ")", "{", "UsedSize", "=", "getPSPSlotOffsetFromSP", "(", "MF", ")", "+", "SlotSize", ";", "}", "else", "{", "UsedSize", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getMaxCallFrameSize", "(", ")", ";", "}", "unsigned", "FrameSizeMinusRBP", "=", "alignTo", "(", "CSSize", "+", "UsedSize", ",", "getStackAlign", "(", ")", ")", ";", "return", "FrameSizeMinusRBP", "+", "XMMSize", "-", "CSSize", ";", "}", ""], "natrual_language": ["Funclets", "only", "need", "to", "account", "for", "space", "for", "the", "callee", "saved", "registers", ",", "as", "the", "locals", "are", "accounted", "for", "in", "the", "parent", "'s", "stack", "frame", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86::VR128RegClass"], "File": "X86FrameLowering (2)3", "Func": "getWinEHFuncletFrameSize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17823, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "loongarch_scalar_mode_supported_p", "(", "scalar_mode", "mode", ")", "{", "if", "(", "ALL_FIXED_POINT_MODE_P", "(", "mode", ")", "&&", "GET_MODE_PRECISION", "(", "mode", ")", "<=", "2", "*", "BITS_PER_WORD", ")", "return", "true", ";", "return", "default_scalar_mode_supported_p", "(", "mode", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SCALAR_MODE_SUPPORTED_P", "."], "TS_V_token": ["loongarch", "2"], "File": "loongarch", "Func": "loongarch_scalar_mode_supported_p", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17824, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCTTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ")", "{", "if", "(", "ST", "->", "getMcpu", "(", ")", "==", "PPC", "::", "MCPU_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::MCPU_A2"], "File": "PPCTargetTransformInfo15", "Func": "getUnrollingPreferences", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17825, "Length": 62, "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", ")", ";", "}", ""], "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": "PPCRegisterInfo38", "Func": "resolveFrameIndex", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17826, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pa_trampoline_init", "(", "rtx", "m_tramp", ",", "tree", "fndecl", ",", "rtx", "chain_value", ")", "{", "rtx", "fnaddr", "=", "XEXP", "(", "DECL_RTL", "(", "fndecl", ")", ",", "0", ")", ";", "rtx", "start_addr", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "end_addr", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "line_length", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "r_tramp", ",", "tmp", ";", "emit_block_move", "(", "m_tramp", ",", "assemble_trampoline_template", "(", ")", ",", "GEN_INT", "(", "TRAMPOLINE_SIZE", ")", ",", "BLOCK_OP_NORMAL", ")", ";", "r_tramp", "=", "force_reg", "(", "Pmode", ",", "XEXP", "(", "m_tramp", ",", "0", ")", ")", ";", "if", "(", "!", "TARGET_64BIT", ")", "{", "tmp", "=", "adjust_address", "(", "m_tramp", ",", "Pmode", ",", "36", ")", ";", "emit_move_insn", "(", "tmp", ",", "fnaddr", ")", ";", "tmp", "=", "adjust_address", "(", "m_tramp", ",", "Pmode", ",", "40", ")", ";", "emit_move_insn", "(", "tmp", ",", "chain_value", ")", ";", "tmp", "=", "adjust_address", "(", "m_tramp", ",", "Pmode", ",", "44", ")", ";", "emit_move_insn", "(", "tmp", ",", "r_tramp", ")", ";", "tmp", "=", "adjust_address", "(", "m_tramp", ",", "Pmode", ",", "48", ")", ";", "emit_move_insn", "(", "tmp", ",", "gen_rtx_REG", "(", "Pmode", ",", "19", ")", ")", ";", "emit_insn", "(", "gen_andsi3", "(", "start_addr", ",", "r_tramp", ",", "GEN_INT", "(", "-", "MIN_CACHELINE_SIZE", ")", ")", ")", ";", "tmp", "=", "force_reg", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "r_tramp", ",", "TRAMPOLINE_CODE_SIZE", "-", "1", ")", ")", ";", "emit_insn", "(", "gen_andsi3", "(", "end_addr", ",", "tmp", ",", "GEN_INT", "(", "-", "MIN_CACHELINE_SIZE", ")", ")", ")", ";", "emit_move_insn", "(", "line_length", ",", "GEN_INT", "(", "MIN_CACHELINE_SIZE", ")", ")", ";", "emit_insn", "(", "gen_dcacheflushsi", "(", "start_addr", ",", "end_addr", ",", "line_length", ")", ")", ";", "emit_insn", "(", "gen_icacheflushsi", "(", "start_addr", ",", "end_addr", ",", "line_length", ",", "gen_reg_rtx", "(", "Pmode", ")", ",", "gen_reg_rtx", "(", "Pmode", ")", ")", ")", ";", "}", "else", "{", "tmp", "=", "adjust_address", "(", "m_tramp", ",", "Pmode", ",", "56", ")", ";", "emit_move_insn", "(", "tmp", ",", "fnaddr", ")", ";", "tmp", "=", "adjust_address", "(", "m_tramp", ",", "Pmode", ",", "64", ")", ";", "emit_move_insn", "(", "tmp", ",", "chain_value", ")", ";", "tmp", "=", "adjust_address", "(", "m_tramp", ",", "Pmode", ",", "16", ")", ";", "emit_move_insn", "(", "tmp", ",", "force_reg", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "r_tramp", ",", "32", ")", ")", ")", ";", "tmp", "=", "adjust_address", "(", "m_tramp", ",", "Pmode", ",", "24", ")", ";", "emit_move_insn", "(", "tmp", ",", "gen_rtx_REG", "(", "Pmode", ",", "27", ")", ")", ";", "tmp", "=", "force_reg", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "r_tramp", ",", "32", ")", ")", ";", "emit_insn", "(", "gen_anddi3", "(", "start_addr", ",", "tmp", ",", "GEN_INT", "(", "-", "MIN_CACHELINE_SIZE", ")", ")", ")", ";", "tmp", "=", "force_reg", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "tmp", ",", "TRAMPOLINE_CODE_SIZE", "-", "1", ")", ")", ";", "emit_insn", "(", "gen_anddi3", "(", "end_addr", ",", "tmp", ",", "GEN_INT", "(", "-", "MIN_CACHELINE_SIZE", ")", ")", ")", ";", "emit_move_insn", "(", "line_length", ",", "GEN_INT", "(", "MIN_CACHELINE_SIZE", ")", ")", ";", "emit_insn", "(", "gen_dcacheflushdi", "(", "start_addr", ",", "end_addr", ",", "line_length", ")", ")", ";", "emit_insn", "(", "gen_icacheflushdi", "(", "start_addr", ",", "end_addr", ",", "line_length", ",", "gen_reg_rtx", "(", "Pmode", ")", ",", "gen_reg_rtx", "(", "Pmode", ")", ")", ")", ";", "}", "emit_library_call", "(", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"__enable_execute_stack\"", ")", ",", "LCT_NORMAL", ",", "VOIDmode", ",", "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", ".", "Move", "the", "function", "address", "to", "the", "trampoline", "template", "at", "offset", "36", ".", "Move", "the", "static", "chain", "value", "to", "trampoline", "template", "at", "offset", "40", ".", "Move", "the", "trampoline", "address", "to", "trampoline", "template", "at", "offset", "44", ".", "Move", "r19", "to", "trampoline", "template", "at", "offset", "48", ".", "The", "latter", "two", "words", "create", "a", "plabel", "for", "the", "indirect", "call", "to", "the", "trampoline", ".", "A", "similar", "sequence", "is", "used", "for", "the", "64-bit", "port", "but", "the", "plabel", "is", "at", "the", "beginning", "of", "the", "trampoline", ".", "Finally", ",", "the", "cache", "entries", "for", "the", "trampoline", "code", "are", "flushed", ".", "This", "is", "necessary", "to", "ensure", "that", "the", "trampoline", "instruction", "sequence", "is", "written", "to", "memory", "prior", "to", "any", "attempts", "at", "prefetching", "the", "code", "sequence", "."], "TS_V_token": ["pa", "0", "0", "36", "40", "44", "48", "19", "1", "56", "64", "16", "32", "24", "27", "32", "1", "\"__enable_execute_stack\"", "0"], "File": "pa7", "Func": "pa_trampoline_init", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17827, "Length": 490, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_cannot_force_const_mem", "(", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "enum", "mips_symbol_type", "type", ";", "rtx", "base", ",", "offset", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "HIGH", ")", "return", "true", ";", "if", "(", "CONST_INT_P", "(", "x", ")", "&&", "mips_legitimate_constant_p", "(", "mode", ",", "x", ")", ")", "return", "true", ";", "split_const", "(", "x", ",", "&", "base", ",", "&", "offset", ")", ";", "if", "(", "mips_symbolic_constant_p", "(", "base", ",", "SYMBOL_CONTEXT_LEA", ",", "&", "type", ")", ")", "{", "if", "(", "mips_use_pcrel_pool_p", "[", "(", "int", ")", "type", "]", ")", "return", "false", ";", "if", "(", "SMALL_INT", "(", "offset", ")", "&&", "mips_symbol_insns", "(", "type", ",", "MAX_MACHINE_MODE", ")", ">", "0", ")", "return", "true", ";", "if", "(", "TARGET_MIPS16_PCREL_LOADS", "&&", "mips_got_symbol_type_p", "(", "type", ")", ")", "return", "true", ";", "}", "if", "(", "tls_referenced_p", "(", "x", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "can", "not", "be", "forced", "into", "a", "constant", "pool", "."], "TS_V_token": ["mips", "0"], "File": "mips4", "Func": "mips_cannot_force_const_mem", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17828, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMInstrInfo", "::", "reMaterialize", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "unsigned", "SubIdx", ",", "const", "MachineInstr", "*", "Orig", ",", "const", "TargetRegisterInfo", "&", "TRI", ")", "const", "{", "DebugLoc", "dl", "=", "Orig", "->", "getDebugLoc", "(", ")", ";", "unsigned", "Opcode", "=", "Orig", "->", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "break", ";", "case", "ARM", "::", "MOVi2pieces", ":", "{", "RI", ".", "emitLoadConstPool", "(", "MBB", ",", "I", ",", "dl", ",", "DestReg", ",", "SubIdx", ",", "Orig", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ",", "(", "ARMCC", "::", "CondCodes", ")", "Orig", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ",", "Orig", "->", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", ")", ";", "MachineInstr", "*", "NewMI", "=", "prior", "(", "I", ")", ";", "NewMI", "->", "getOperand", "(", "0", ")", ".", "setSubReg", "(", "SubIdx", ")", ";", "return", ";", "}", "}", "return", "ARMBaseInstrInfo", "::", "reMaterialize", "(", "MBB", ",", "I", ",", "DestReg", ",", "SubIdx", ",", "Orig", ",", "TRI", ")", ";", "}", ""], "natrual_language": ["Re-issue", "the", "specified", "'original", "'", "instruction", "at", "the", "specific", "location", "targeting", "a", "new", "destination", "register", "."], "TS_V_token": ["ARM", "ARM", "ARM::MOVi2pieces", "1", "ARMCC::CondCodes", "2", "3", "0", "ARM"], "File": "ARMInstrInfo12", "Func": "reMaterialize", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17829, "Length": 162, "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!\"", ")", ";", "break", ";", "}", "case", "ARMII", "::", "MiscFrm", ":", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "ARM", "::", "LEApcrelJT", ")", "{", "emitLEApcrelJTInstruction", "(", "MI", ")", ";", "break", ";", "}", "llvm_unreachable", "(", "\"Unhandled instruction encoding!\"", ")", ";", "break", ";", "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": "ARMCodeEmitter26", "Func": "emitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17830, "Length": 421, "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": 17831, "Length": 265, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "constant_pool_broadcast", "(", "void", ")", "{", "timevar_push", "(", "TV_MACH_DEP", ")", ";", "rtx_insn", "*", "insn", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "if", "(", "INSN_P", "(", "insn", ")", ")", "replace_constant_pool_with_broadcast", "(", "insn", ")", ";", "}", "timevar_pop", "(", "TV_MACH_DEP", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["For", "const", "vector", "having", "one", "duplicated", "value", ",", "there", "'s", "no", "need", "to", "put", "whole", "vector", "in", "the", "constant", "pool", "when", "target", "supports", "embedded", "broadcast", "."], "TS_V_token": ["i386", "0"], "File": "i386-features1", "Func": "constant_pool_broadcast", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17832, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_evpc_neon_vuzp", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "int", "i", ",", "odd", ",", "mask", ",", "nelt", "=", "d", "->", "nelt", ";", "rtx", "out0", ",", "out1", ",", "in0", ",", "in1", ";", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "int", "first_elem", ";", "int", "swap_nelt", ";", "if", "(", "GET_MODE_UNIT_SIZE", "(", "d", "->", "vmode", ")", ">=", "8", ")", "return", "false", ";", "swap_nelt", "=", "BYTES_BIG_ENDIAN", "&&", "!", "d", "->", "one_vector_p", "&&", "GET_MODE_SIZE", "(", "d", "->", "vmode", ")", "==", "8", "?", "d", "->", "nelt", ":", "0", ";", "first_elem", "=", "d", "->", "perm", "[", "neon_endian_lane_map", "(", "d", "->", "vmode", ",", "0", ")", "]", "^", "swap_nelt", ";", "if", "(", "first_elem", "==", "neon_endian_lane_map", "(", "d", "->", "vmode", ",", "0", ")", ")", "odd", "=", "0", ";", "else", "if", "(", "first_elem", "==", "neon_endian_lane_map", "(", "d", "->", "vmode", ",", "1", ")", ")", "odd", "=", "1", ";", "else", "return", "false", ";", "mask", "=", "(", "d", "->", "one_vector_p", "?", "nelt", "-", "1", ":", "2", "*", "nelt", "-", "1", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "i", "++", ")", "{", "unsigned", "elt", "=", "(", "neon_pair_endian_lane_map", "(", "d", "->", "vmode", ",", "i", ")", "*", "2", "+", "odd", ")", "&", "mask", ";", "if", "(", "(", "d", "->", "perm", "[", "i", "]", "^", "swap_nelt", ")", "!=", "neon_pair_endian_lane_map", "(", "d", "->", "vmode", ",", "elt", ")", ")", "return", "false", ";", "}", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "switch", "(", "d", "->", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_neon_vuzpv16qi_internal", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_neon_vuzpv8qi_internal", ";", "break", ";", "case", "V8HImode", ":", "gen", "=", "gen_neon_vuzpv8hi_internal", ";", "break", ";", "case", "V4HImode", ":", "gen", "=", "gen_neon_vuzpv4hi_internal", ";", "break", ";", "case", "V4SImode", ":", "gen", "=", "gen_neon_vuzpv4si_internal", ";", "break", ";", "case", "V2SImode", ":", "gen", "=", "gen_neon_vuzpv2si_internal", ";", "break", ";", "case", "V2SFmode", ":", "gen", "=", "gen_neon_vuzpv2sf_internal", ";", "break", ";", "case", "V4SFmode", ":", "gen", "=", "gen_neon_vuzpv4sf_internal", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "in0", "=", "d", "->", "op0", ";", "in1", "=", "d", "->", "op1", ";", "if", "(", "swap_nelt", "!=", "0", ")", "std", "::", "swap", "(", "in0", ",", "in1", ")", ";", "out0", "=", "d", "->", "target", ";", "out1", "=", "gen_reg_rtx", "(", "d", "->", "vmode", ")", ";", "if", "(", "odd", ")", "std", "::", "swap", "(", "out0", ",", "out1", ")", ";", "emit_insn", "(", "gen", "(", "out0", ",", "in0", ",", "in1", ",", "out1", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "for", "the", "VUZP", "insns", "."], "TS_V_token": ["arm", "8", "8", "0", "0", "0", "0", "1", "1", "1", "2", "1", "0", "2", "0"], "File": "arm5", "Func": "arm_evpc_neon_vuzp", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17833, "Length": 395, "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", "=", "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": ["TOY", "0", "8", "0xff"], "File": "TOYMCCodeEmitter", "Func": "EmitInstruction", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17834, "Length": 52, "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": 17835, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PromoteConstant", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "bool", "LocalChange", "=", "false", ";", "SmallPtrSet", "<", "Constant", "*", ",", "8", ">", "AlreadyChecked", ";", "for", "(", "Instruction", "&", "I", ":", "inst_range", "(", "&", "F", ")", ")", "{", "for", "(", "Value", "*", "Op", ":", "I", ".", "operand_values", "(", ")", ")", "{", "Constant", "*", "Cst", "=", "dyn_cast", "<", "Constant", ">", "(", "Op", ")", ";", "if", "(", "Cst", "&&", "!", "isa", "<", "GlobalValue", ">", "(", "Cst", ")", "&&", "!", "isa", "<", "ConstantExpr", ">", "(", "Cst", ")", "&&", "AlreadyChecked", ".", "insert", "(", "Cst", ")", ".", "second", ")", "LocalChange", "|=", "promoteConstant", "(", "Cst", ")", ";", "}", "}", "return", "LocalChange", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["AArch64", "AArch64", "8"], "File": "AArch64PromoteConstant3", "Func": "runOnFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17836, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "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": ["rs6000"], "File": "rs6000-c", "Func": "fully_fold_convert", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17837, "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", ")", ";", "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": 17838, "Length": 459, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", ",", "unsigned", ",", "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": "X86ISelLowering (2)8", "Func": "allowsMisalignedMemoryAccesses", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17839, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMELFStreamer", "::", "finishImpl", "(", ")", "{", "MCTargetStreamer", "&", "TS", "=", "*", "getTargetStreamer", "(", ")", ";", "ARMTargetStreamer", "&", "ATS", "=", "static_cast", "<", "ARMTargetStreamer", "&", ">", "(", "TS", ")", ";", "ATS", ".", "finishAttributeSection", "(", ")", ";", "MCELFStreamer", "::", "finishImpl", "(", ")", ";", "}", ""], "natrual_language": ["Streamer", "specific", "finalization", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "ARMELFStreamer22", "Func": "finishImpl", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17840, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "get_csky_live_regs", "(", "int", "*", "count", ")", "{", "int", "reg", ";", "unsigned", "int", "live_regs_mask", "=", "0", ";", "*", "count", "=", "0", ";", "for", "(", "reg", "=", "0", ";", "reg", "<", "CSKY_NGPR_REGS", ";", "reg", "++", ")", "{", "bool", "save", "=", "false", ";", "if", "(", "CSKY_TARGET_ARCH", "(", "CK801", ")", "&&", "reg", ">", "8", "&&", "reg", "<", "13", ")", "continue", ";", "if", "(", "(", "CSKY_TARGET_ARCH", "(", "CK801", ")", "||", "CSKY_TARGET_ARCH", "(", "CK802", ")", "||", "CSKY_TARGET_ARCH", "(", "CK803", ")", ")", "&&", "reg", ">", "15", ")", "break", ";", "if", "(", "df_regs_ever_live_p", "(", "reg", ")", "&&", "!", "call_used_regs", "[", "reg", "]", ")", "save", "=", "true", ";", "else", "if", "(", "frame_pointer_needed", "&&", "reg", "==", "HARD_FRAME_POINTER_REGNUM", ")", "save", "=", "true", ";", "else", "if", "(", "crtl", "->", "calls_eh_return", "&&", "reg", "==", "HARD_FRAME_POINTER_REGNUM", ")", "save", "=", "true", ";", "else", "if", "(", "(", "CSKY_TARGET_ARCH", "(", "CK801", ")", "||", "CSKY_TARGET_ARCH", "(", "CK802", ")", ")", "&&", "reg", "==", "CSKY_LR_REGNUM", "&&", "(", "!", "crtl", "->", "is_leaf", "||", "csky_far_jump_used_p", "(", ")", ")", ")", "save", "=", "true", ";", "else", "if", "(", "crtl", "->", "calls_eh_return", "&&", "reg", ">=", "CSKY_FIRST_EH_RETDATA_REGNUM", "&&", "reg", "<=", "CSKY_LAST_EH_RETDATA_REGNUM", ")", "save", "=", "true", ";", "if", "(", "reg", "==", "CSKY_STACKADJUST_REGNUM", "&&", "cfun", "->", "machine", "->", "reg_offset", ">", "CSKY_MAX_SP_ADJUST", "*", "2", ")", "save", "=", "true", ";", "if", "(", "save", ")", "{", "(", "*", "count", ")", "++", ";", "live_regs_mask", "|=", "(", "1", "<<", "reg", ")", ";", "}", "}", "return", "live_regs_mask", ";", "}", ""], "natrual_language": ["Return", "the", "mask", "of", "registers", "used", "by", "the", "current", "function", ".", "Set", "COUNT", "to", "the", "number", "of", "registers", "used", "."], "TS_V_token": ["csky", "0", "0", "0", "8", "13", "15", "2", "1"], "File": "csky", "Func": "get_csky_live_regs", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17841, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBank", "&", "AArch64RegisterBankInfo", "::", "getRegBankFromRegClass", "(", "const", "TargetRegisterClass", "&", "RC", ",", "LLT", ")", "const", "{", "switch", "(", "RC", ".", "getID", "(", ")", ")", "{", "case", "AArch64", "::", "FPR8RegClassID", ":", "case", "AArch64", "::", "FPR16RegClassID", ":", "case", "AArch64", "::", "FPR16_loRegClassID", ":", "case", "AArch64", "::", "FPR32_with_hsub_in_FPR16_loRegClassID", ":", "case", "AArch64", "::", "FPR32RegClassID", ":", "case", "AArch64", "::", "FPR64RegClassID", ":", "case", "AArch64", "::", "FPR64_loRegClassID", ":", "case", "AArch64", "::", "FPR128RegClassID", ":", "case", "AArch64", "::", "FPR128_loRegClassID", ":", "case", "AArch64", "::", "DDRegClassID", ":", "case", "AArch64", "::", "DDDRegClassID", ":", "case", "AArch64", "::", "DDDDRegClassID", ":", "case", "AArch64", "::", "QQRegClassID", ":", "case", "AArch64", "::", "QQQRegClassID", ":", "case", "AArch64", "::", "QQQQRegClassID", ":", "return", "getRegBank", "(", "AArch64", "::", "FPRRegBankID", ")", ";", "case", "AArch64", "::", "GPR32commonRegClassID", ":", "case", "AArch64", "::", "GPR32RegClassID", ":", "case", "AArch64", "::", "GPR32spRegClassID", ":", "case", "AArch64", "::", "GPR32sponlyRegClassID", ":", "case", "AArch64", "::", "GPR32argRegClassID", ":", "case", "AArch64", "::", "GPR32allRegClassID", ":", "case", "AArch64", "::", "GPR64commonRegClassID", ":", "case", "AArch64", "::", "GPR64RegClassID", ":", "case", "AArch64", "::", "GPR64spRegClassID", ":", "case", "AArch64", "::", "GPR64sponlyRegClassID", ":", "case", "AArch64", "::", "GPR64argRegClassID", ":", "case", "AArch64", "::", "GPR64allRegClassID", ":", "case", "AArch64", "::", "GPR64noipRegClassID", ":", "case", "AArch64", "::", "GPR64common_and_GPR64noipRegClassID", ":", "case", "AArch64", "::", "GPR64noip_and_tcGPR64RegClassID", ":", "case", "AArch64", "::", "tcGPR64RegClassID", ":", "case", "AArch64", "::", "rtcGPR64RegClassID", ":", "case", "AArch64", "::", "WSeqPairsClassRegClassID", ":", "case", "AArch64", "::", "XSeqPairsClassRegClassID", ":", "case", "AArch64", "::", "MatrixIndexGPR32_12_15RegClassID", ":", "case", "AArch64", "::", "GPR64_with_sub_32_in_MatrixIndexGPR32_12_15RegClassID", ":", "return", "getRegBank", "(", "AArch64", "::", "GPRRegBankID", ")", ";", "case", "AArch64", "::", "CCRRegClassID", ":", "return", "getRegBank", "(", "AArch64", "::", "CCRegBankID", ")", ";", "default", ":", "llvm_unreachable", "(", "\"Register class not supported\"", ")", ";", "}", "}", ""], "natrual_language": ["Get", "a", "register", "bank", "that", "covers", "RC", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::FPR8RegClassID", "AArch64::FPR16RegClassID", "AArch64::FPR16_loRegClassID", "AArch64::FPR32_with_hsub_in_FPR16_loRegClassID", "AArch64::FPR32RegClassID", "AArch64::FPR64RegClassID", "AArch64::FPR64_loRegClassID", "AArch64::FPR128RegClassID", "AArch64::FPR128_loRegClassID", "AArch64::DDRegClassID", "AArch64::DDDRegClassID", "AArch64::DDDDRegClassID", "AArch64::QQRegClassID", "AArch64::QQQRegClassID", "AArch64::QQQQRegClassID", "AArch64::FPRRegBankID", "AArch64::GPR32commonRegClassID", "AArch64::GPR32RegClassID", "AArch64::GPR32spRegClassID", "AArch64::GPR32sponlyRegClassID", "AArch64::GPR32argRegClassID", "AArch64::GPR32allRegClassID", "AArch64::GPR64commonRegClassID", "AArch64::GPR64RegClassID", "AArch64::GPR64spRegClassID", "AArch64::GPR64sponlyRegClassID", "AArch64::GPR64argRegClassID", "AArch64::GPR64allRegClassID", "AArch64::GPR64noipRegClassID", "AArch64::GPR64common_and_GPR64noipRegClassID", "AArch64::GPR64noip_and_tcGPR64RegClassID", "AArch64::tcGPR64RegClassID", "AArch64::rtcGPR64RegClassID", "AArch64::WSeqPairsClassRegClassID", "AArch64::XSeqPairsClassRegClassID", "AArch64::MatrixIndexGPR32_12_15RegClassID", "AArch64::GPR64_with_sub_32_in_MatrixIndexGPR32_12_15RegClassID", "AArch64::GPRRegBankID", "AArch64::CCRRegClassID", "AArch64::CCRegBankID", "\"Register class not supported\""], "File": "AArch64RegisterBankInfo11", "Func": "getRegBankFromRegClass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17842, "Length": 243, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LEGTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unimplemented operand\"", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["LEG", "LEG", "\"Unimplemented operand\"", "ISD::GlobalAddress"], "File": "LEGISelLowering", "Func": "LowerOperation", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17843, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "F2003fInstrInfo", "::", "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": ["F2003f", "F2003f"], "File": "F2003fInstrInfo", "Func": "isUnpredicatedTerminator", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17844, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MMIXPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createMMIXISelDag", "(", "getMMIXTargetMachine", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["MMIX", "MMIX", "MMIX", "MMIX"], "File": "MMIXTargetMachine", "Func": "addInstSelector", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17845, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_handle_attr_tune", "(", "const", "char", "*", "str", ",", "const", "char", "*", "pragma_or_attr", ")", "{", "const", "struct", "processor", "*", "tmp_tune", "=", "NULL", ";", "enum", "aarch64_parse_opt_result", "parse_res", "=", "aarch64_parse_tune", "(", "str", ",", "&", "tmp_tune", ")", ";", "if", "(", "parse_res", "==", "AARCH64_PARSE_OK", ")", "{", "gcc_assert", "(", "tmp_tune", ")", ";", "selected_tune", "=", "tmp_tune", ";", "explicit_tune_core", "=", "selected_tune", "->", "ident", ";", "return", "true", ";", "}", "switch", "(", "parse_res", ")", "{", "case", "AARCH64_PARSE_INVALID_ARG", ":", "error", "(", "\"unknown value %qs for 'tune' target %s\"", ",", "str", ",", "pragma_or_attr", ")", ";", "aarch64_print_hint_for_core", "(", "str", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Handle", "the", "argument", "STR", "to", "the", "tune=", "target", "attribute", ".", "PRAGMA_OR_ATTR", "is", "used", "in", "potential", "error", "messages", "."], "TS_V_token": ["aarch64", "\"unknown value %qs for 'tune' target %s\""], "File": "aarch644", "Func": "aarch64_handle_attr_tune", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17846, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "long", "arm_compute_save_reg0_reg12_mask", "(", "void", ")", "{", "unsigned", "long", "func_type", "=", "arm_current_func_type", "(", ")", ";", "unsigned", "long", "save_reg_mask", "=", "0", ";", "unsigned", "int", "reg", ";", "if", "(", "IS_INTERRUPT", "(", "func_type", ")", ")", "{", "unsigned", "int", "max_reg", ";", "if", "(", "ARM_FUNC_TYPE", "(", "func_type", ")", "==", "ARM_FT_FIQ", ")", "max_reg", "=", "7", ";", "else", "max_reg", "=", "12", ";", "for", "(", "reg", "=", "0", ";", "reg", "<=", "max_reg", ";", "reg", "++", ")", "if", "(", "df_regs_ever_live_p", "(", "reg", ")", "||", "(", "!", "crtl", "->", "is_leaf", "&&", "call_used_regs", "[", "reg", "]", ")", ")", "save_reg_mask", "|=", "(", "1", "<<", "reg", ")", ";", "if", "(", "flag_pic", "&&", "!", "TARGET_SINGLE_PIC_BASE", "&&", "arm_pic_register", "!=", "INVALID_REGNUM", "&&", "crtl", "->", "uses_pic_offset_table", ")", "save_reg_mask", "|=", "1", "<<", "PIC_OFFSET_TABLE_REGNUM", ";", "}", "else", "if", "(", "IS_VOLATILE", "(", "func_type", ")", ")", "{", "if", "(", "frame_pointer_needed", ")", "save_reg_mask", "|=", "1", "<<", "HARD_FRAME_POINTER_REGNUM", ";", "if", "(", "df_regs_ever_live_p", "(", "ARM_HARD_FRAME_POINTER_REGNUM", ")", ")", "save_reg_mask", "|=", "1", "<<", "ARM_HARD_FRAME_POINTER_REGNUM", ";", "if", "(", "df_regs_ever_live_p", "(", "THUMB_HARD_FRAME_POINTER_REGNUM", ")", ")", "save_reg_mask", "|=", "1", "<<", "THUMB_HARD_FRAME_POINTER_REGNUM", ";", "}", "else", "{", "for", "(", "reg", "=", "0", ";", "reg", "<=", "11", ";", "reg", "++", ")", "if", "(", "df_regs_ever_live_p", "(", "reg", ")", "&&", "callee_saved_reg_p", "(", "reg", ")", ")", "save_reg_mask", "|=", "(", "1", "<<", "reg", ")", ";", "if", "(", "frame_pointer_needed", ")", "save_reg_mask", "|=", "1", "<<", "HARD_FRAME_POINTER_REGNUM", ";", "if", "(", "flag_pic", "&&", "!", "TARGET_SINGLE_PIC_BASE", "&&", "arm_pic_register", "!=", "INVALID_REGNUM", "&&", "(", "df_regs_ever_live_p", "(", "PIC_OFFSET_TABLE_REGNUM", ")", "||", "crtl", "->", "uses_pic_offset_table", ")", ")", "save_reg_mask", "|=", "1", "<<", "PIC_OFFSET_TABLE_REGNUM", ";", "if", "(", "IS_STACKALIGN", "(", "func_type", ")", ")", "save_reg_mask", "|=", "1", ";", "}", "if", "(", "crtl", "->", "calls_eh_return", ")", "{", "unsigned", "int", "i", ";", "for", "(", "i", "=", "0", ";", ";", "i", "++", ")", "{", "reg", "=", "EH_RETURN_DATA_REGNO", "(", "i", ")", ";", "if", "(", "reg", "==", "INVALID_REGNUM", ")", "break", ";", "save_reg_mask", "|=", "1", "<<", "reg", ";", "}", "}", "return", "save_reg_mask", ";", "}", ""], "natrual_language": ["Compute", "the", "register", "save", "mask", "for", "registers", "0", "through", "12", "inclusive", ".", "This", "code", "is", "used", "by", "arm_compute_save_reg_mask", "."], "TS_V_token": ["arm", "0", "7", "12", "0", "1", "1", "1", "1", "1", "0", "11", "1", "1", "1", "1", "0", "1"], "File": "arm4", "Func": "arm_compute_save_reg0_reg12_mask", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17847, "Length": 298, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "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_X86", ")", ";", "}", ""], "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": ["X86", "X86", "ISD::OutputArg", "16", "X86"], "File": "X86ISelLowering (2)3", "Func": "CanLowerReturn", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17848, "Length": 66, "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_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", "+", "5", ";", "}", "else", "return", "2", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.builtin_vectorization_cost", "."], "TS_V_token": ["rs6000", "1", "3", "1", "4", "1", "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", "5", "2"], "File": "rs60007", "Func": "rs6000_builtin_vectorization_cost", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17849, "Length": 338, "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": 17850, "Length": 133, "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": 17851, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "nds32_expand_load_multiple", "(", "int", "base_regno", ",", "int", "count", ",", "rtx", "base_addr", ",", "rtx", "basemem", ")", "{", "int", "par_index", ";", "int", "offset", ";", "rtx", "result", ";", "rtx", "new_addr", ",", "mem", ",", "reg", ";", "result", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "count", ")", ")", ";", "for", "(", "par_index", "=", "0", ";", "par_index", "<", "count", ";", "par_index", "++", ")", "{", "offset", "=", "par_index", "*", "4", ";", "new_addr", "=", "plus_constant", "(", "Pmode", ",", "base_addr", ",", "offset", ")", ";", "mem", "=", "adjust_automodify_address_nv", "(", "basemem", ",", "SImode", ",", "new_addr", ",", "offset", ")", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "base_regno", "+", "par_index", ")", ";", "XVECEXP", "(", "result", ",", "0", ",", "par_index", ")", "=", "gen_rtx_SET", "(", "reg", ",", "mem", ")", ";", "}", "return", "result", ";", "}", ""], "natrual_language": ["Functions", "to", "expand", "load_multiple", "and", "store_multiple", ".", "They", "are", "auxiliary", "extern", "functions", "to", "help", "create", "rtx", "template", ".", "Check", "nds32-multiple.md", "file", "for", "the", "patterns", "."], "TS_V_token": ["nds32", "0", "4", "0"], "File": "nds32-memory-manipulation3", "Func": "nds32_expand_load_multiple", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17852, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "LoopInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "LoopInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "ScalarEvolutionWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "AssumptionCacheTracker", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "TargetTransformInfoWrapperPass", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["PowerPC"], "File": "PPCCTRLoops11", "Func": "getAnalysisUsage", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17853, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "getScalarShiftAmountTy", "(", "const", "DataLayout", "&", ",", "EVT", "VT", ")", "const", "override", "{", "return", "MVT", "::", "i8", ";", "}", ""], "natrual_language": ["Return", "the", "type", "to", "use", "for", "a", "scalar", "shift", "opcode", ",", "given", "the", "shifted", "amount", "type", "."], "TS_V_token": ["X86", "MVT::i8"], "File": "X86ISelLowering", "Func": "getScalarShiftAmountTy", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17854, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_expand_vector_extract", "(", "rtx", "target", ",", "rtx", "vec", ",", "int", "elt", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "vec", ")", ";", "machine_mode", "inner_mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "rtx", "mem", ";", "if", "(", "VECTOR_MEM_VSX_P", "(", "mode", ")", ")", "{", "switch", "(", "mode", ")", "{", "default", ":", "break", ";", "case", "V1TImode", ":", "gcc_assert", "(", "elt", "==", "0", "&&", "inner_mode", "==", "TImode", ")", ";", "emit_move_insn", "(", "target", ",", "gen_lowpart", "(", "TImode", ",", "vec", ")", ")", ";", "break", ";", "case", "V2DFmode", ":", "emit_insn", "(", "gen_vsx_extract_v2df", "(", "target", ",", "vec", ",", "GEN_INT", "(", "elt", ")", ")", ")", ";", "return", ";", "case", "V2DImode", ":", "emit_insn", "(", "gen_vsx_extract_v2di", "(", "target", ",", "vec", ",", "GEN_INT", "(", "elt", ")", ")", ")", ";", "return", ";", "case", "V4SFmode", ":", "emit_insn", "(", "gen_vsx_extract_v4sf", "(", "target", ",", "vec", ",", "GEN_INT", "(", "elt", ")", ")", ")", ";", "return", ";", "}", "}", "mem", "=", "assign_stack_temp", "(", "mode", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "emit_move_insn", "(", "mem", ",", "vec", ")", ";", "mem", "=", "adjust_address_nv", "(", "mem", ",", "inner_mode", ",", "elt", "*", "GET_MODE_SIZE", "(", "inner_mode", ")", ")", ";", "emit_move_insn", "(", "target", ",", "adjust_address_nv", "(", "mem", ",", "inner_mode", ",", "0", ")", ")", ";", "}", ""], "natrual_language": ["Extract", "field", "ELT", "from", "VEC", "into", "TARGET", "."], "TS_V_token": ["rs6000", "0", "0"], "File": "rs60004", "Func": "rs6000_expand_vector_extract", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17855, "Length": 189, "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": 17856, "Length": 68, "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": ["PowerPC"], "File": "PPCTargetMachine", "Func": "getDataLayout", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17857, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips16_local_alias", "(", "rtx", "func", ")", "{", "if", "(", "mips16_local_aliases", "==", "NULL", ")", "mips16_local_aliases", "=", "hash_map", "<", "nofree_string_hash", ",", "rtx", ">", "::", "create_ggc", "(", "37", ")", ";", "bool", "existed", ";", "const", "char", "*", "func_name", "=", "XSTR", "(", "func", ",", "0", ")", ";", "rtx", "*", "slot", "=", "&", "mips16_local_aliases", "->", "get_or_insert", "(", "func_name", ",", "&", "existed", ")", ";", "gcc_assert", "(", "slot", "!=", "NULL", ")", ";", "if", "(", "!", "existed", ")", "{", "rtx", "local", ";", "func_name", "=", "targetm", ".", "strip_name_encoding", "(", "XSTR", "(", "func", ",", "0", ")", ")", ";", "const", "char", "*", "local_name", "=", "ACONCAT", "(", "(", "\"__fn_local_\"", ",", "func_name", ",", "NULL", ")", ")", ";", "local", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "ggc_strdup", "(", "local_name", ")", ")", ";", "SYMBOL_REF_FLAGS", "(", "local", ")", "=", "SYMBOL_REF_FLAGS", "(", "func", ")", "|", "SYMBOL_FLAG_LOCAL", ";", "*", "slot", "=", "local", ";", "}", "return", "*", "slot", ";", "}", ""], "natrual_language": ["FUNC", "is", "the", "symbol", "for", "a", "locally-defined", "hard-float", "MIPS16", "function", ".", "Return", "a", "local", "alias", "for", "it", ",", "creating", "a", "new", "one", "if", "necessary", "."], "TS_V_token": ["mips", "37", "0", "0", "\"__fn_local_\""], "File": "mips", "Func": "mips16_local_alias", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17858, "Length": 139, "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", ">", "&", "OutVals", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "return", "DAG", ".", "getNode", "(", "Cpu0ISD", "::", "Ret", ",", "dl", ",", "MVT", "::", "Other", ",", "Chain", ",", "DAG", ".", "getRegister", "(", "Cpu0", "::", "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": ["Cpu0", "Cpu0", "ISD::OutputArg", "Cpu0ISD::Ret", "MVT::Other", "Cpu0::LR", "MVT::i32"], "File": "Cpu0ISelLowering2", "Func": "LowerReturn", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17859, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb2InstrInfo", "::", "ReplaceTailWithBranchTo", "(", "MachineBasicBlock", "::", "iterator", "Tail", ",", "MachineBasicBlock", "*", "NewDest", ")", "const", "{", "MachineBasicBlock", "*", "MBB", "=", "Tail", "->", "getParent", "(", ")", ";", "ARMFunctionInfo", "*", "AFI", "=", "MBB", "->", "getParent", "(", ")", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "if", "(", "!", "AFI", "->", "hasITBlocks", "(", ")", ")", "{", "TargetInstrInfoImpl", "::", "ReplaceTailWithBranchTo", "(", "Tail", ",", "NewDest", ")", ";", "return", ";", "}", "unsigned", "PredReg", "=", "0", ";", "ARMCC", "::", "CondCodes", "CC", "=", "llvm", "::", "getInstrPredicate", "(", "Tail", ",", "PredReg", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "Tail", ";", "if", "(", "CC", "!=", "ARMCC", "::", "AL", ")", "--", "MBBI", ";", "TargetInstrInfoImpl", "::", "ReplaceTailWithBranchTo", "(", "Tail", ",", "NewDest", ")", ";", "if", "(", "CC", "!=", "ARMCC", "::", "AL", ")", "{", "MachineBasicBlock", "::", "iterator", "E", "=", "MBB", "->", "begin", "(", ")", ";", "unsigned", "Count", "=", "4", ";", "while", "(", "Count", "&&", "MBBI", "!=", "E", ")", "{", "if", "(", "MBBI", "->", "isDebugValue", "(", ")", ")", "{", "--", "MBBI", ";", "continue", ";", "}", "if", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2IT", ")", "{", "unsigned", "Mask", "=", "MBBI", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "Count", "==", "4", ")", "MBBI", "->", "eraseFromParent", "(", ")", ";", "else", "{", "unsigned", "MaskOn", "=", "1", "<<", "Count", ";", "unsigned", "MaskOff", "=", "~", "(", "MaskOn", "-", "1", ")", ";", "MBBI", "->", "getOperand", "(", "1", ")", ".", "setImm", "(", "(", "Mask", "&", "MaskOff", ")", "|", "MaskOn", ")", ";", "}", "return", ";", "}", "--", "MBBI", ";", "--", "Count", ";", "}", "}", "}", ""], "natrual_language": ["Delete", "the", "instruction", "OldInst", "and", "everything", "after", "it", ",", "replacing", "it", "with", "an", "unconditional", "branch", "to", "NewDest", "."], "TS_V_token": ["ARM", "ARM", "ARM", "0", "ARMCC::CondCodes", "ARMCC::AL", "ARMCC::AL", "4", "ARM::t2IT", "1", "4", "1", "1", "1"], "File": "Thumb2InstrInfo15", "Func": "ReplaceTailWithBranchTo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17860, "Length": 249, "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", ",", "SDLoc", "DL", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "MipsCC", "MipsCCInfo", "(", "CallConv", ",", "Subtarget", "->", "isABI_O32", "(", ")", ",", "Subtarget", "->", "isFP64bit", "(", ")", ",", "CCInfo", ")", ";", "MipsCCInfo", ".", "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", "=", "OutVals", "[", "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", "(", ")", ")", "{", "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", "(", ")", ")", ";", "unsigned", "V0", "=", "Subtarget", "->", "isABI_N64", "(", ")", "?", "Mips", "::", "V0_64", ":", "Mips", "::", "V0", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "V0", ",", "Val", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "V0", ",", "getPointerTy", "(", ")", ")", ")", ";", "}", "RetOps", "[", "0", "]", "=", "Chain", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "RetOps", ".", "push_back", "(", "Flag", ")", ";", "return", "DAG", ".", "getNode", "(", "MipsISD", "::", "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": ["Mips", "Mips", "ISD::OutputArg", "16", "Mips", "Mips", "Mips", "4", "1", "0", "\"Can only return in registers!\"", "ISD::BITCAST", "1", "Mips", "Mips", "Mips", "Mips", "\"sret virtual register not created in the entry block\"", "Mips::V0_64", "Mips::V0", "1", "0", "MipsISD::Ret", "MVT::Other"], "File": "MipsISelLowering48", "Func": "LowerReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17861, "Length": 451, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "&", "SrcReg", ",", "unsigned", "&", "SrcReg2", ",", "int", "&", "CmpMask", ",", "int", "&", "CmpValue", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ARM", "::", "CMPri", ":", "case", "ARM", "::", "t2CMPri", ":", "case", "ARM", "::", "tCMPi8", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "0", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "return", "true", ";", "case", "ARM", "::", "CMPrr", ":", "case", "ARM", "::", "t2CMPrr", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "0", ";", "return", "true", ";", "case", "ARM", "::", "TSTri", ":", "case", "ARM", "::", "t2TSTri", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "0", ";", "CmpMask", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "CmpValue", "=", "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": ["ARM", "ARM", "ARM::CMPri", "ARM::t2CMPri", "ARM::tCMPi8", "0", "0", "0", "1", "ARM::CMPrr", "ARM::t2CMPrr", "0", "1", "0", "0", "ARM::TSTri", "ARM::t2TSTri", "0", "0", "1", "0"], "File": "ARMBaseInstrInfo1", "Func": "analyzeCompare", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17862, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_sISEL", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "operands", "[", "]", ")", "{", "rs6000_emit_int_cmove", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ",", "const1_rtx", ",", "const0_rtx", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "RTL", "for", "an", "sISEL", "pattern", "."], "TS_V_token": ["powerpcspe", "0", "1"], "File": "powerpcspe", "Func": "rs6000_emit_sISEL", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17863, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86Subtarget", "::", "X86Subtarget", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "X86TargetMachine", "&", "TM", ",", "unsigned", "StackAlignOverride", ")", ":", "X86GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "X86ProcFamily", "(", "Others", ")", ",", "PICStyle", "(", "PICStyles", "::", "None", ")", ",", "TM", "(", "TM", ")", ",", "TargetTriple", "(", "TT", ")", ",", "StackAlignOverride", "(", "StackAlignOverride", ")", ",", "In64BitMode", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", ",", "In32BitMode", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "x86", "&&", "TargetTriple", ".", "getEnvironment", "(", ")", "!=", "Triple", "::", "CODE16", ")", ",", "In16BitMode", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "x86", "&&", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "CODE16", ")", ",", "TSInfo", "(", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ")", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", ",", "FrameLowering", "(", "*", "this", ",", "getStackAlignment", "(", ")", ")", "{", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", "{", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "is64Bit", "(", ")", ")", "{", "setPICStyle", "(", "PICStyles", "::", "RIPRel", ")", ";", "}", "else", "if", "(", "isTargetCOFF", "(", ")", ")", "{", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "isPositionIndependent", "(", ")", ")", "setPICStyle", "(", "PICStyles", "::", "StubPIC", ")", ";", "else", "{", "assert", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "DynamicNoPIC", ")", ";", "setPICStyle", "(", "PICStyles", "::", "StubDynamicNoPIC", ")", ";", "}", "}", "else", "if", "(", "isTargetELF", "(", ")", ")", "{", "setPICStyle", "(", "PICStyles", "::", "GOT", ")", ";", "}", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86Subtarget99", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17864, "Length": 266, "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", ",", "AttributeSet", "::", "ReturnIndex", ",", "DL", ",", "F", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "SplitArgs", ";", "splitToValueTypes", "(", "OrigArg", ",", "SplitArgs", ",", "DL", ",", "MRI", ",", "[", "&", "]", "(", "ArrayRef", "<", "unsigned", ">", "Regs", ",", "ArrayRef", "<", "uint64_t", ">", "Offsets", ")", "{", "MIRBuilder", ".", "buildExtract", "(", "Regs", ",", "Offsets", ",", "VReg", ")", ";", "}", ")", ";", "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": "X86CallLowering16", "Func": "lowerReturn", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17865, "Length": 217, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StackOffset", "ARMFrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "Register", "&", "FrameReg", ")", "const", "{", "return", "StackOffset", "::", "getFixed", "(", "ResolveFrameIndexReference", "(", "MF", ",", "FI", ",", "FrameReg", ",", "0", ")", ")", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["ARM", "ARM", "0"], "File": "ARMFrameLowering100", "Func": "getFrameIndexReference", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17866, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "LC2200RegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["LC2200", "LC2200"], "File": "LC2200Subtarget", "Func": "getRegisterInfo", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17867, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "rs6000_find_base_term", "(", "rtx", "op", ")", "{", "rtx", "base", ";", "base", "=", "op", ";", "if", "(", "GET_CODE", "(", "base", ")", "==", "CONST", ")", "base", "=", "XEXP", "(", "base", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "base", ")", "==", "PLUS", ")", "base", "=", "XEXP", "(", "base", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "base", ")", "==", "UNSPEC", ")", "switch", "(", "XINT", "(", "base", ",", "1", ")", ")", "{", "case", "UNSPEC_TOCREL", ":", "case", "UNSPEC_MACHOPIC_OFFSET", ":", "return", "XVECEXP", "(", "base", ",", "0", ",", "0", ")", ";", "}", "return", "op", ";", "}", ""], "natrual_language": ["Implement", "FIND_BASE_TERM", "."], "TS_V_token": ["powerpcspe", "0", "0", "1", "0", "0"], "File": "powerpcspe", "Func": "rs6000_find_base_term", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17868, "Length": 90, "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": 17869, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86DomainReassignment", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "if", "(", "DisableX86DomainReassignment", ")", "return", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** Machine Function before Domain Reassignment *****\\n\"", ")", ";", "DEBUG", "(", "MF", ".", "print", "(", "dbgs", "(", ")", ")", ")", ";", "STI", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "STI", "->", "hasAVX512", "(", ")", ")", "return", "false", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "assert", "(", "MRI", "->", "isSSA", "(", ")", "&&", "\"Expected MIR to be in SSA form\"", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "initConverters", "(", ")", ";", "bool", "Changed", "=", "false", ";", "EnclosedEdges", ".", "clear", "(", ")", ";", "EnclosedInstrs", ".", "clear", "(", ")", ";", "std", "::", "vector", "<", "Closure", ">", "Closures", ";", "for", "(", "unsigned", "Idx", "=", "0", ";", "Idx", "<", "MRI", "->", "getNumVirtRegs", "(", ")", ";", "++", "Idx", ")", "{", "unsigned", "Reg", "=", "TargetRegisterInfo", "::", "index2VirtReg", "(", "Idx", ")", ";", "if", "(", "!", "isGPR", "(", "MRI", "->", "getRegClass", "(", "Reg", ")", ")", ")", "continue", ";", "if", "(", "EnclosedEdges", ".", "count", "(", "Reg", ")", ")", "continue", ";", "Closure", "C", "(", "{", "MaskDomain", "}", ")", ";", "buildClosure", "(", "C", ",", "Reg", ")", ";", "if", "(", "!", "C", ".", "empty", "(", ")", "&&", "C", ".", "isLegal", "(", "MaskDomain", ")", ")", "Closures", ".", "push_back", "(", "std", "::", "move", "(", "C", ")", ")", ";", "}", "for", "(", "Closure", "&", "C", ":", "Closures", ")", "if", "(", "isReassignmentProfitable", "(", "C", ",", "MaskDomain", ")", ")", "{", "reassign", "(", "C", ",", "MaskDomain", ")", ";", "++", "NumClosuresConverted", ";", "Changed", "=", "true", ";", "}", "DeleteContainerSeconds", "(", "Converters", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** Machine Function after Domain Reassignment *****\\n\"", ")", ";", "DEBUG", "(", "MF", ".", "print", "(", "dbgs", "(", ")", ")", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "\"***** Machine Function before Domain Reassignment *****\\n\"", "X86", "\"Expected MIR to be in SSA form\"", "0", "\"***** Machine Function after Domain Reassignment *****\\n\""], "File": "X86DomainReassignment1", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17870, "Length": 295, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_class_likely_spilled_p", "(", "reg_class_t", "rclass", ")", "{", "if", "(", "(", "TARGET_THUMB1", "&&", "rclass", "==", "LO_REGS", ")", "||", "rclass", "==", "CC_REG", ")", "return", "true", ";", "return", "default_class_likely_spilled_p", "(", "rclass", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CLASS_LIKELY_SPILLED_P", ".", "We", "need", "to", "define", "this", "for", "LO_REGS", "on", "Thumb-1", ".", "Otherwise", "we", "can", "end", "up", "using", "r0-r4", "for", "function", "arguments", ",", "r7", "for", "the", "stack", "frame", "and", "do", "n't", "have", "enough", "left", "over", "to", "do", "doubleword", "arithmetic", ".", "For", "Thumb-2", "all", "the", "potentially", "problematic", "instructions", "accept", "high", "registers", "so", "this", "is", "not", "necessary", ".", "Care", "needs", "to", "be", "taken", "to", "avoid", "adding", "new", "Thumb-2", "patterns", "that", "require", "many", "low", "registers", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_class_likely_spilled_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17871, "Length": 32, "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": 17872, "Length": 34, "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": 17873, "Length": 32, "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": 17874, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_vector_mode_supported_p", "(", "enum", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_FPU_ANY", "&&", "(", "(", "mode", "==", "V2SFmode", ")", "||", "(", "mode", "==", "V4SFmode", ")", "||", "(", "mode", "==", "V16SFmode", ")", ")", ")", "return", "true", ";", "else", "if", "(", "TARGET_SHMEDIA", "&&", "(", "(", "mode", "==", "V8QImode", ")", "||", "(", "mode", "==", "V2HImode", ")", "||", "(", "mode", "==", "V4HImode", ")", "||", "(", "mode", "==", "V2SImode", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implements", "target", "hook", "vector_mode_supported_p", "."], "TS_V_token": ["sh"], "File": "sh3", "Func": "sh_vector_mode_supported_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17875, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86WinCOFFStreamer", "::", "finishImpl", "(", ")", "{", "emitFrames", "(", "nullptr", ")", ";", "emitWindowsUnwindTables", "(", ")", ";", "MCWinCOFFStreamer", "::", "finishImpl", "(", ")", ";", "}", ""], "natrual_language": ["Streamer", "specific", "finalization", "."], "TS_V_token": ["X86", "X86"], "File": "X86WinCOFFStreamer13", "Func": "finishImpl", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17876, "Length": 23, "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": 17877, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "unsigned", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "SmallVector", "<", "MCInst", ",", "8", ">", "Instructions", ";", "unsigned", "MatchResult", "=", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ";", "switch", "(", "MatchResult", ")", "{", "default", ":", "break", ";", "case", "Match_Success", ":", "{", "if", "(", "processInstruction", "(", "Inst", ",", "IDLoc", ",", "Instructions", ")", ")", "return", "true", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Instructions", ".", "size", "(", ")", ";", "i", "++", ")", "Out", ".", "EmitInstruction", "(", "Instructions", "[", "i", "]", ")", ";", "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", "=", "(", "(", "MipsOperand", "*", ")", "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": ["Mips", "Mips", "8", "0", "\"instruction requires a CPU feature not currently enabled\"", "0U", "\"too few operands for instruction\"", "Mips", "\"invalid operand for instruction\"", "\"invalid instruction\""], "File": "MipsAsmParser102", "Func": "MatchAndEmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17878, "Length": 219, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "SparcTargetLowering", "::", "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": ["Sparc", "Sparc", "MVT::i32"], "File": "SparcISelLowering18", "Func": "getSetCCResultType", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17879, "Length": 35, "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": 17880, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreEmitPass2", "(", ")", "{", "addPass", "(", "createX86RetpolineThunksPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "may", "add", "passes", "immediately", "before", "machine", "code", "is", "emitted", "in", "this", "callback", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86TargetMachine109", "Func": "addPreEmitPass2", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17881, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "PPCTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "nullptr", ";", "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", "::", "FRE", ":", "return", "\"PPCISD::FRE\"", ";", "case", "PPCISD", "::", "FRSQRTE", ":", "return", "\"PPCISD::FRSQRTE\"", ";", "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", "::", "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", "::", "CALL", ":", "return", "\"PPCISD::CALL\"", ";", "case", "PPCISD", "::", "CALL_NOP", ":", "return", "\"PPCISD::CALL_NOP\"", ";", "case", "PPCISD", "::", "MTCTR", ":", "return", "\"PPCISD::MTCTR\"", ";", "case", "PPCISD", "::", "BCTRL", ":", "return", "\"PPCISD::BCTRL\"", ";", "case", "PPCISD", "::", "RET_FLAG", ":", "return", "\"PPCISD::RET_FLAG\"", ";", "case", "PPCISD", "::", "EH_SJLJ_SETJMP", ":", "return", "\"PPCISD::EH_SJLJ_SETJMP\"", ";", "case", "PPCISD", "::", "EH_SJLJ_LONGJMP", ":", "return", "\"PPCISD::EH_SJLJ_LONGJMP\"", ";", "case", "PPCISD", "::", "MFOCRF", ":", "return", "\"PPCISD::MFOCRF\"", ";", "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", "::", "BDNZ", ":", "return", "\"PPCISD::BDNZ\"", ";", "case", "PPCISD", "::", "BDZ", ":", "return", "\"PPCISD::BDZ\"", ";", "case", "PPCISD", "::", "MFFS", ":", "return", "\"PPCISD::MFFS\"", ";", "case", "PPCISD", "::", "FADDRTZ", ":", "return", "\"PPCISD::FADDRTZ\"", ";", "case", "PPCISD", "::", "TC_RETURN", ":", "return", "\"PPCISD::TC_RETURN\"", ";", "case", "PPCISD", "::", "CR6SET", ":", "return", "\"PPCISD::CR6SET\"", ";", "case", "PPCISD", "::", "CR6UNSET", ":", "return", "\"PPCISD::CR6UNSET\"", ";", "case", "PPCISD", "::", "ADDIS_TOC_HA", ":", "return", "\"PPCISD::ADDIS_TOC_HA\"", ";", "case", "PPCISD", "::", "LD_TOC_L", ":", "return", "\"PPCISD::LD_TOC_L\"", ";", "case", "PPCISD", "::", "ADDI_TOC_L", ":", "return", "\"PPCISD::ADDI_TOC_L\"", ";", "case", "PPCISD", "::", "PPC32_GOT", ":", "return", "\"PPCISD::PPC32_GOT\"", ";", "case", "PPCISD", "::", "ADDIS_GOT_TPREL_HA", ":", "return", "\"PPCISD::ADDIS_GOT_TPREL_HA\"", ";", "case", "PPCISD", "::", "LD_GOT_TPREL_L", ":", "return", "\"PPCISD::LD_GOT_TPREL_L\"", ";", "case", "PPCISD", "::", "ADD_TLS", ":", "return", "\"PPCISD::ADD_TLS\"", ";", "case", "PPCISD", "::", "ADDIS_TLSGD_HA", ":", "return", "\"PPCISD::ADDIS_TLSGD_HA\"", ";", "case", "PPCISD", "::", "ADDI_TLSGD_L", ":", "return", "\"PPCISD::ADDI_TLSGD_L\"", ";", "case", "PPCISD", "::", "GET_TLS_ADDR", ":", "return", "\"PPCISD::GET_TLS_ADDR\"", ";", "case", "PPCISD", "::", "ADDIS_TLSLD_HA", ":", "return", "\"PPCISD::ADDIS_TLSLD_HA\"", ";", "case", "PPCISD", "::", "ADDI_TLSLD_L", ":", "return", "\"PPCISD::ADDI_TLSLD_L\"", ";", "case", "PPCISD", "::", "GET_TLSLD_ADDR", ":", "return", "\"PPCISD::GET_TLSLD_ADDR\"", ";", "case", "PPCISD", "::", "ADDIS_DTPREL_HA", ":", "return", "\"PPCISD::ADDIS_DTPREL_HA\"", ";", "case", "PPCISD", "::", "ADDI_DTPREL_L", ":", "return", "\"PPCISD::ADDI_DTPREL_L\"", ";", "case", "PPCISD", "::", "VADD_SPLAT", ":", "return", "\"PPCISD::VADD_SPLAT\"", ";", "case", "PPCISD", "::", "SC", ":", "return", "\"PPCISD::SC\"", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["PowerPC", "PPC", "PPCISD::FSEL", "\"PPCISD::FSEL\"", "PPCISD::FCFID", "\"PPCISD::FCFID\"", "PPCISD::FCTIDZ", "\"PPCISD::FCTIDZ\"", "PPCISD::FCTIWZ", "\"PPCISD::FCTIWZ\"", "PPCISD::FRE", "\"PPCISD::FRE\"", "PPCISD::FRSQRTE", "\"PPCISD::FRSQRTE\"", "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::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::CALL", "\"PPCISD::CALL\"", "PPCISD::CALL_NOP", "\"PPCISD::CALL_NOP\"", "PPCISD::MTCTR", "\"PPCISD::MTCTR\"", "PPCISD::BCTRL", "\"PPCISD::BCTRL\"", "PPCISD::RET_FLAG", "\"PPCISD::RET_FLAG\"", "PPCISD::EH_SJLJ_SETJMP", "\"PPCISD::EH_SJLJ_SETJMP\"", "PPCISD::EH_SJLJ_LONGJMP", "\"PPCISD::EH_SJLJ_LONGJMP\"", "PPCISD::MFOCRF", "\"PPCISD::MFOCRF\"", "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::BDNZ", "\"PPCISD::BDNZ\"", "PPCISD::BDZ", "\"PPCISD::BDZ\"", "PPCISD::MFFS", "\"PPCISD::MFFS\"", "PPCISD::FADDRTZ", "\"PPCISD::FADDRTZ\"", "PPCISD::TC_RETURN", "\"PPCISD::TC_RETURN\"", "PPCISD::CR6SET", "\"PPCISD::CR6SET\"", "PPCISD::CR6UNSET", "\"PPCISD::CR6UNSET\"", "PPCISD::ADDIS_TOC_HA", "\"PPCISD::ADDIS_TOC_HA\"", "PPCISD::LD_TOC_L", "\"PPCISD::LD_TOC_L\"", "PPCISD::ADDI_TOC_L", "\"PPCISD::ADDI_TOC_L\"", "PPCISD::PPC32_GOT", "\"PPCISD::PPC32_GOT\"", "PPCISD::ADDIS_GOT_TPREL_HA", "\"PPCISD::ADDIS_GOT_TPREL_HA\"", "PPCISD::LD_GOT_TPREL_L", "\"PPCISD::LD_GOT_TPREL_L\"", "PPCISD::ADD_TLS", "\"PPCISD::ADD_TLS\"", "PPCISD::ADDIS_TLSGD_HA", "\"PPCISD::ADDIS_TLSGD_HA\"", "PPCISD::ADDI_TLSGD_L", "\"PPCISD::ADDI_TLSGD_L\"", "PPCISD::GET_TLS_ADDR", "\"PPCISD::GET_TLS_ADDR\"", "PPCISD::ADDIS_TLSLD_HA", "\"PPCISD::ADDIS_TLSLD_HA\"", "PPCISD::ADDI_TLSLD_L", "\"PPCISD::ADDI_TLSLD_L\"", "PPCISD::GET_TLSLD_ADDR", "\"PPCISD::GET_TLSLD_ADDR\"", "PPCISD::ADDIS_DTPREL_HA", "\"PPCISD::ADDIS_DTPREL_HA\"", "PPCISD::ADDI_DTPREL_L", "\"PPCISD::ADDI_DTPREL_L\"", "PPCISD::VADD_SPLAT", "\"PPCISD::VADD_SPLAT\"", "PPCISD::SC", "\"PPCISD::SC\""], "File": "PPCISelLowering148", "Func": "getTargetNodeName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17882, "Length": 496, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_symbolic_constant_p", "(", "rtx", "x", ",", "enum", "mips_symbol_context", "context", ",", "enum", "mips_symbol_type", "*", "symbol_type", ")", "{", "rtx", "offset", ";", "split_const", "(", "x", ",", "&", "x", ",", "&", "offset", ")", ";", "if", "(", "UNSPEC_ADDRESS_P", "(", "x", ")", ")", "{", "*", "symbol_type", "=", "UNSPEC_ADDRESS_TYPE", "(", "x", ")", ";", "x", "=", "UNSPEC_ADDRESS", "(", "x", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", ")", "{", "*", "symbol_type", "=", "mips_classify_symbol", "(", "x", ",", "context", ")", ";", "if", "(", "*", "symbol_type", "==", "SYMBOL_TLS", ")", "return", "false", ";", "}", "else", "return", "false", ";", "if", "(", "offset", "==", "const0_rtx", ")", "return", "true", ";", "switch", "(", "*", "symbol_type", ")", "{", "case", "SYMBOL_ABSOLUTE", ":", "case", "SYMBOL_64_HIGH", ":", "case", "SYMBOL_64_MID", ":", "case", "SYMBOL_64_LOW", ":", "if", "(", "Pmode", "==", "DImode", "&&", "!", "ABI_HAS_64BIT_SYMBOLS", ")", "return", "offset_within_block_p", "(", "x", ",", "INTVAL", "(", "offset", ")", ")", ";", "return", "true", ";", "case", "SYMBOL_PC_RELATIVE", ":", "if", "(", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", ")", "return", "true", ";", "case", "SYMBOL_GP_RELATIVE", ":", "return", "offset_within_block_p", "(", "x", ",", "INTVAL", "(", "offset", ")", ")", ";", "case", "SYMBOL_GOT_PAGE_OFST", ":", "case", "SYMBOL_GOTOFF_PAGE", ":", "return", "SMALL_INT", "(", "offset", ")", ";", "case", "SYMBOL_TPREL", ":", "case", "SYMBOL_DTPREL", ":", "return", "mips_offset_within_alignment_p", "(", "x", ",", "INTVAL", "(", "offset", ")", ")", ";", "case", "SYMBOL_GOT_DISP", ":", "case", "SYMBOL_GOTOFF_DISP", ":", "case", "SYMBOL_GOTOFF_CALL", ":", "case", "SYMBOL_GOTOFF_LOADGP", ":", "case", "SYMBOL_TLSGD", ":", "case", "SYMBOL_TLSLDM", ":", "case", "SYMBOL_GOTTPREL", ":", "case", "SYMBOL_TLS", ":", "case", "SYMBOL_HALF", ":", "return", "false", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "symbolic", "constant", "that", "can", "be", "calculated", "in", "the", "same", "way", "as", "a", "bare", "symbol", ".", "If", "it", "is", ",", "store", "the", "type", "of", "the", "symbol", "in", "*", "SYMBOL_TYPE", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_symbolic_constant_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17883, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCodeEmitter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "assert", "(", "(", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Default", "||", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Static", ")", "&&", "\"JIT relocation model must be set to static or default!\"", ")", ";", "JTI", "=", "(", "(", "ARMTargetMachine", "&", ")", "MF", ".", "getTarget", "(", ")", ")", ".", "getJITInfo", "(", ")", ";", "II", "=", "(", "(", "ARMTargetMachine", "&", ")", "MF", ".", "getTarget", "(", ")", ")", ".", "getInstrInfo", "(", ")", ";", "TD", "=", "(", "(", "ARMTargetMachine", "&", ")", "MF", ".", "getTarget", "(", ")", ")", ".", "getTargetData", "(", ")", ";", "Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "MCPEs", "=", "&", "MF", ".", "getConstantPool", "(", ")", "->", "getConstants", "(", ")", ";", "MJTEs", "=", "0", ";", "if", "(", "MF", ".", "getJumpTableInfo", "(", ")", ")", "MJTEs", "=", "&", "MF", ".", "getJumpTableInfo", "(", ")", "->", "getJumpTables", "(", ")", ";", "IsPIC", "=", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ";", "JTI", "->", "Initialize", "(", "MF", ",", "IsPIC", ")", ";", "MCE", ".", "setModuleInfo", "(", "&", "getAnalysis", "<", "MachineModuleInfo", ">", "(", ")", ")", ";", "do", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"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", ")", "emitInstruction", "(", "*", "I", ")", ";", "}", "}", "while", "(", "MCE", ".", "finishFunction", "(", "MF", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "\"JIT relocation model must be set to static or default!\"", "ARM", "ARM", "ARM", "ARM", "0", "\"JITTing function '\"", "\"'\\n\""], "File": "ARMCodeEmitter16", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17884, "Length": 299, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SparcTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Should not custom lower this!\"", ")", ";", "case", "ISD", "::", "FNEG", ":", "case", "ISD", "::", "FABS", ":", "return", "LowerF64Op", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "LowerRETURNADDR", "(", "Op", ",", "DAG", ",", "*", "this", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "llvm_unreachable", "(", "\"TLS not implemented for Sparc.\"", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "LowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "LowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FP_TO_SINT", ":", "return", "LowerFP_TO_SINT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SINT_TO_FP", ":", "return", "LowerSINT_TO_FP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBR_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ",", "*", "this", ")", ";", "case", "ISD", "::", "VAARG", ":", "return", "LowerVAARG", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "LowerDYNAMIC_STACKALLOC", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Sparc", "Sparc", "\"Should not custom lower this!\"", "ISD::FNEG", "ISD::FABS", "ISD::RETURNADDR", "ISD::FRAMEADDR", "ISD::GlobalTLSAddress", "\"TLS not implemented for Sparc.\"", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::ConstantPool", "ISD::FP_TO_SINT", "ISD::SINT_TO_FP", "ISD::BR_CC", "ISD::SELECT_CC", "ISD::VASTART", "ISD::VAARG", "ISD::DYNAMIC_STACKALLOC"], "File": "SparcISelLowering16", "Func": "LowerOperation", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17885, "Length": 222, "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", ")", ";", "}", "}", ""], "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"], "File": "MipsSEISelLowering12", "Func": "EmitInstrWithCustomInserter", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17886, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_use_pic_fn_addr_reg_p", "(", "const_rtx", "x", ")", "{", "if", "(", "!", "TARGET_USE_PIC_FN_ADDR_REG", ")", "return", "false", ";", "if", "(", "mips16_stub_function_p", "(", "x", ")", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", ")", "{", "if", "(", "TARGET_ABICALLS_PIC0", ")", "return", "false", ";", "if", "(", "TARGET_ABSOLUTE_ABICALLS", "&&", "mips_symbol_binds_local_p", "(", "x", ")", "&&", "!", "SYMBOL_REF_EXTERNAL_P", "(", "x", ")", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "calls", "to", "X", "might", "need", "$", "25", "to", "be", "valid", "on", "entry", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_use_pic_fn_addr_reg_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17887, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTTIImpl", "::", "isLoweredToCall", "(", "const", "Function", "*", "F", ")", "{", "if", "(", "!", "F", "->", "isIntrinsic", "(", ")", ")", "BaseT", "::", "isLoweredToCall", "(", "F", ")", ";", "if", "(", "F", "->", "getName", "(", ")", ".", "startswith", "(", "\"llvm.arm\"", ")", ")", "return", "false", ";", "switch", "(", "F", "->", "getIntrinsicID", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Intrinsic", "::", "powi", ":", "case", "Intrinsic", "::", "sin", ":", "case", "Intrinsic", "::", "cos", ":", "case", "Intrinsic", "::", "pow", ":", "case", "Intrinsic", "::", "log", ":", "case", "Intrinsic", "::", "log10", ":", "case", "Intrinsic", "::", "log2", ":", "case", "Intrinsic", "::", "exp", ":", "case", "Intrinsic", "::", "exp2", ":", "return", "true", ";", "case", "Intrinsic", "::", "sqrt", ":", "case", "Intrinsic", "::", "fabs", ":", "case", "Intrinsic", "::", "copysign", ":", "case", "Intrinsic", "::", "floor", ":", "case", "Intrinsic", "::", "ceil", ":", "case", "Intrinsic", "::", "trunc", ":", "case", "Intrinsic", "::", "rint", ":", "case", "Intrinsic", "::", "nearbyint", ":", "case", "Intrinsic", "::", "round", ":", "case", "Intrinsic", "::", "canonicalize", ":", "case", "Intrinsic", "::", "lround", ":", "case", "Intrinsic", "::", "llround", ":", "case", "Intrinsic", "::", "lrint", ":", "case", "Intrinsic", "::", "llrint", ":", "if", "(", "F", "->", "getReturnType", "(", ")", "->", "isDoubleTy", "(", ")", "&&", "!", "ST", "->", "hasFP64", "(", ")", ")", "return", "true", ";", "if", "(", "F", "->", "getReturnType", "(", ")", "->", "isHalfTy", "(", ")", "&&", "!", "ST", "->", "hasFullFP16", "(", ")", ")", "return", "true", ";", "return", "!", "ST", "->", "hasFPARMv8Base", "(", ")", "&&", "!", "ST", "->", "hasVFP2Base", "(", ")", ";", "case", "Intrinsic", "::", "masked_store", ":", "case", "Intrinsic", "::", "masked_load", ":", "case", "Intrinsic", "::", "masked_gather", ":", "case", "Intrinsic", "::", "masked_scatter", ":", "return", "!", "ST", "->", "hasMVEIntegerOps", "(", ")", ";", "case", "Intrinsic", "::", "sadd_with_overflow", ":", "case", "Intrinsic", "::", "uadd_with_overflow", ":", "case", "Intrinsic", "::", "ssub_with_overflow", ":", "case", "Intrinsic", "::", "usub_with_overflow", ":", "case", "Intrinsic", "::", "sadd_sat", ":", "case", "Intrinsic", "::", "uadd_sat", ":", "case", "Intrinsic", "::", "ssub_sat", ":", "case", "Intrinsic", "::", "usub_sat", ":", "return", "false", ";", "}", "return", "BaseT", "::", "isLoweredToCall", "(", "F", ")", ";", "}", ""], "natrual_language": ["Test", "whether", "calls", "to", "a", "function", "lower", "to", "actual", "program", "function", "calls", "."], "TS_V_token": ["ARM", "ARM", "\"llvm.arm\"", "Intrinsic::powi", "Intrinsic::sin", "Intrinsic::cos", "Intrinsic::pow", "Intrinsic::log", "Intrinsic::log10", "Intrinsic::log2", "Intrinsic::exp", "Intrinsic::exp2", "Intrinsic::sqrt", "Intrinsic::fabs", "Intrinsic::copysign", "Intrinsic::floor", "Intrinsic::ceil", "Intrinsic::trunc", "Intrinsic::rint", "Intrinsic::nearbyint", "Intrinsic::round", "Intrinsic::canonicalize", "Intrinsic::lround", "Intrinsic::llround", "Intrinsic::lrint", "Intrinsic::llrint", "ARM", "Intrinsic::masked_store", "Intrinsic::masked_load", "Intrinsic::masked_gather", "Intrinsic::masked_scatter", "Intrinsic::sadd_with_overflow", "Intrinsic::uadd_with_overflow", "Intrinsic::ssub_with_overflow", "Intrinsic::usub_with_overflow", "Intrinsic::sadd_sat", "Intrinsic::uadd_sat", "Intrinsic::ssub_sat", "Intrinsic::usub_sat"], "File": "ARMTargetTransformInfo1", "Func": "isLoweredToCall", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17888, "Length": 314, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "push_minipool_fix", "(", "rtx", "insn", ",", "HOST_WIDE_INT", "address", ",", "rtx", "*", "loc", ",", "enum", "machine_mode", "mode", ",", "rtx", "value", ")", "{", "Mfix", "*", "fix", "=", "(", "Mfix", "*", ")", "obstack_alloc", "(", "&", "minipool_obstack", ",", "sizeof", "(", "*", "fix", ")", ")", ";", "if", "(", "flag_pic", "&&", "GET_CODE", "(", "value", ")", "==", "SYMBOL_REF", ")", "value", "=", "aof_pic_entry", "(", "value", ")", ";", "fix", "->", "insn", "=", "insn", ";", "fix", "->", "address", "=", "address", ";", "fix", "->", "loc", "=", "loc", ";", "fix", "->", "mode", "=", "mode", ";", "fix", "->", "fix_size", "=", "MINIPOOL_FIX_SIZE", "(", "mode", ")", ";", "fix", "->", "value", "=", "value", ";", "fix", "->", "forwards", "=", "get_attr_pool_range", "(", "insn", ")", ";", "fix", "->", "backwards", "=", "get_attr_neg_pool_range", "(", "insn", ")", ";", "fix", "->", "minipool", "=", "NULL", ";", "gcc_assert", "(", "fix", "->", "forwards", "||", "fix", "->", "backwards", ")", ";", "if", "(", "ARM_DOUBLEWORD_ALIGN", "&&", "fix", "->", "fix_size", "==", "8", ")", "fix", "->", "forwards", "-=", "4", ";", "if", "(", "dump_file", ")", "{", "fprintf", "(", "dump_file", ",", "\";; %smode fixup for i%d; addr %lu, range (%ld,%ld): \"", ",", "GET_MODE_NAME", "(", "mode", ")", ",", "INSN_UID", "(", "insn", ")", ",", "(", "unsigned", "long", ")", "address", ",", "-", "1", "*", "(", "long", ")", "fix", "->", "backwards", ",", "(", "long", ")", "fix", "->", "forwards", ")", ";", "arm_print_value", "(", "dump_file", ",", "fix", "->", "value", ")", ";", "fprintf", "(", "dump_file", ",", "\"\\n\"", ")", ";", "}", "fix", "->", "next", "=", "NULL", ";", "if", "(", "minipool_fix_head", "!=", "NULL", ")", "minipool_fix_tail", "->", "next", "=", "fix", ";", "else", "minipool_fix_head", "=", "fix", ";", "minipool_fix_tail", "=", "fix", ";", "}", ""], "natrual_language": ["Record", "INSN", ",", "which", "will", "need", "fixing", "up", "to", "load", "a", "value", "from", "the", "minipool", ".", "ADDRESS", "is", "the", "offset", "of", "the", "insn", "since", "the", "start", "of", "the", "function", ";", "LOC", "is", "a", "pointer", "to", "the", "part", "of", "the", "insn", "which", "requires", "fixing", ";", "VALUE", "is", "the", "constant", "that", "must", "be", "loaded", ",", "which", "is", "of", "type", "MODE", "."], "TS_V_token": ["arm", "8", "4", "\";; %smode fixup for i%d; addr %lu, range (%ld,%ld): \"", "1", "\"\\n\""], "File": "arm3", "Func": "push_minipool_fix", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17889, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetELFStreamer", "::", "finish", "(", ")", "{", "MCAssembler", "&", "MCA", "=", "getStreamer", "(", ")", ".", "getAssembler", "(", ")", ";", "const", "MCObjectFileInfo", "&", "OFI", "=", "*", "MCA", ".", "getContext", "(", ")", ".", "getObjectFileInfo", "(", ")", ";", "MCSection", "&", "TextSection", "=", "*", "OFI", ".", "getTextSection", "(", ")", ";", "MCA", ".", "registerSection", "(", "TextSection", ")", ";", "MCSection", "&", "DataSection", "=", "*", "OFI", ".", "getDataSection", "(", ")", ";", "MCA", ".", "registerSection", "(", "DataSection", ")", ";", "MCSection", "&", "BSSSection", "=", "*", "OFI", ".", "getBSSSection", "(", ")", ";", "MCA", ".", "registerSection", "(", "BSSSection", ")", ";", "TextSection", ".", "setAlignment", "(", "Align", "(", "std", "::", "max", "(", "16u", ",", "TextSection", ".", "getAlignment", "(", ")", ")", ")", ")", ";", "DataSection", ".", "setAlignment", "(", "Align", "(", "std", "::", "max", "(", "16u", ",", "DataSection", ".", "getAlignment", "(", ")", ")", ")", ")", ";", "BSSSection", ".", "setAlignment", "(", "Align", "(", "std", "::", "max", "(", "16u", ",", "BSSSection", ".", "getAlignment", "(", ")", ")", ")", ")", ";", "if", "(", "RoundSectionSizes", ")", "{", "MCStreamer", "&", "OS", "=", "getStreamer", "(", ")", ";", "for", "(", "MCSection", "&", "S", ":", "MCA", ")", "{", "MCSectionELF", "&", "Section", "=", "static_cast", "<", "MCSectionELF", "&", ">", "(", "S", ")", ";", "unsigned", "Alignment", "=", "Section", ".", "getAlignment", "(", ")", ";", "if", "(", "Alignment", ")", "{", "OS", ".", "SwitchSection", "(", "&", "Section", ")", ";", "if", "(", "Section", ".", "UseCodeAlign", "(", ")", ")", "OS", ".", "emitCodeAlignment", "(", "Alignment", ",", "Alignment", ")", ";", "else", "OS", ".", "emitValueToAlignment", "(", "Alignment", ",", "0", ",", "1", ",", "Alignment", ")", ";", "}", "}", "}", "const", "FeatureBitset", "&", "Features", "=", "STI", ".", "getFeatureBits", "(", ")", ";", "unsigned", "EFlags", "=", "MCA", ".", "getELFHeaderEFlags", "(", ")", ";", "if", "(", "getABI", "(", ")", ".", "IsO32", "(", ")", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_ABI_O32", ";", "else", "if", "(", "getABI", "(", ")", ".", "IsN32", "(", ")", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_ABI2", ";", "if", "(", "Features", "[", "Mips", "::", "FeatureGP64Bit", "]", ")", "{", "if", "(", "getABI", "(", ")", ".", "IsO32", "(", ")", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_32BITMODE", ";", "}", "else", "if", "(", "Features", "[", "Mips", "::", "FeatureMips64r2", "]", "||", "Features", "[", "Mips", "::", "FeatureMips64", "]", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_32BITMODE", ";", "if", "(", "!", "Features", "[", "Mips", "::", "FeatureNoABICalls", "]", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_CPIC", ";", "if", "(", "Pic", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_PIC", "|", "ELF", "::", "EF_MIPS_CPIC", ";", "MCA", ".", "setELFHeaderEFlags", "(", "EFlags", ")", ";", "MipsELFStreamer", "&", "MEF", "=", "static_cast", "<", "MipsELFStreamer", "&", ">", "(", "Streamer", ")", ";", "MEF", ".", "EmitMipsOptionRecords", "(", ")", ";", "emitMipsAbiFlags", "(", ")", ";", "}", ""], "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": ["Mips", "Mips", "16u", "16u", "16u", "0", "1", "Mips::FeatureGP64Bit", "Mips::FeatureMips64r2", "Mips::FeatureMips64", "Mips::FeatureNoABICalls", "Mips", "Mips", "Mips", "Mips"], "File": "MipsTargetStreamer13", "Func": "finish", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17890, "Length": 407, "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": 17891, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZTargetLowering", "::", "mayBeEmittedAsTailCall", "(", "CallInst", "*", "CI", ")", "const", "{", "if", "(", "!", "CI", "->", "isTailCall", "(", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "may", "be", "able", "emit", "the", "call", "instruction", "as", "a", "tail", "call", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZISelLowering103", "Func": "mayBeEmittedAsTailCall", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17892, "Length": 27, "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": 17893, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "execute", "(", "function", "*", ")", "{", "return", "nds32_fp_as_gp", "(", ")", ";", "}", ""], "natrual_language": ["Main", "entry", "point", "for", "this", "pass", "."], "TS_V_token": ["nds32"], "File": "nds32-fp-as-gp", "Func": "execute", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17894, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "Cpu0MCExpr", "*", "Cpu0MCExpr", "::", "create", "(", "const", "MCSymbol", "*", "Symbol", ",", "Cpu0MCExpr", "::", "Cpu0ExprKind", "Kind", ",", "MCContext", "&", "Ctx", ")", "{", "const", "MCSymbolRefExpr", "*", "MCSym", "=", "MCSymbolRefExpr", "::", "create", "(", "Symbol", ",", "MCSymbolRefExpr", "::", "VK_None", ",", "Ctx", ")", ";", "return", "new", "(", "Ctx", ")", "Cpu0MCExpr", "(", "Kind", ",", "MCSym", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0"], "File": "Cpu0MCExpr", "Func": "create", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17895, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_function_specific_restore", "(", "struct", "gcc_options", "*", "opts", ",", "struct", "gcc_options", "*", ",", "struct", "cl_target_option", "*", "ptr", ")", "{", "enum", "processor_type", "old_tune", "=", "ix86_tune", ";", "enum", "processor_type", "old_arch", "=", "ix86_arch", ";", "unsigned", "HOST_WIDE_INT", "ix86_arch_mask", ";", "int", "i", ";", "opts", "->", "x_flag_pic", "=", "flag_pic", ";", "ix86_arch", "=", "(", "enum", "processor_type", ")", "ptr", "->", "arch", ";", "ix86_schedule", "=", "(", "enum", "attr_cpu", ")", "ptr", "->", "schedule", ";", "ix86_tune", "=", "(", "enum", "processor_type", ")", "ptr", "->", "tune", ";", "ix86_prefetch_sse", "=", "ptr", "->", "prefetch_sse", ";", "ix86_tune_defaulted", "=", "ptr", "->", "tune_defaulted", ";", "ix86_arch_specified", "=", "ptr", "->", "arch_specified", ";", "opts", "->", "x_ix86_isa_flags_explicit", "=", "ptr", "->", "x_ix86_isa_flags_explicit", ";", "opts", "->", "x_ix86_isa_flags2_explicit", "=", "ptr", "->", "x_ix86_isa_flags2_explicit", ";", "opts", "->", "x_recip_mask_explicit", "=", "ptr", "->", "x_recip_mask_explicit", ";", "opts", "->", "x_ix86_arch_string", "=", "ptr", "->", "x_ix86_arch_string", ";", "opts", "->", "x_ix86_tune_string", "=", "ptr", "->", "x_ix86_tune_string", ";", "opts", "->", "x_ix86_abi", "=", "ptr", "->", "x_ix86_abi", ";", "opts", "->", "x_ix86_asm_dialect", "=", "ptr", "->", "x_ix86_asm_dialect", ";", "opts", "->", "x_ix86_branch_cost", "=", "ptr", "->", "x_ix86_branch_cost", ";", "opts", "->", "x_ix86_dump_tunes", "=", "ptr", "->", "x_ix86_dump_tunes", ";", "opts", "->", "x_ix86_force_align_arg_pointer", "=", "ptr", "->", "x_ix86_force_align_arg_pointer", ";", "opts", "->", "x_ix86_force_drap", "=", "ptr", "->", "x_ix86_force_drap", ";", "opts", "->", "x_ix86_recip_name", "=", "ptr", "->", "x_ix86_recip_name", ";", "opts", "->", "x_ix86_section_threshold", "=", "ptr", "->", "x_ix86_section_threshold", ";", "opts", "->", "x_ix86_sse2avx", "=", "ptr", "->", "x_ix86_sse2avx", ";", "opts", "->", "x_ix86_stack_protector_guard", "=", "ptr", "->", "x_ix86_stack_protector_guard", ";", "opts", "->", "x_ix86_stringop_alg", "=", "ptr", "->", "x_ix86_stringop_alg", ";", "opts", "->", "x_ix86_tls_dialect", "=", "ptr", "->", "x_ix86_tls_dialect", ";", "opts", "->", "x_ix86_tune_ctrl_string", "=", "ptr", "->", "x_ix86_tune_ctrl_string", ";", "opts", "->", "x_ix86_tune_memcpy_strategy", "=", "ptr", "->", "x_ix86_tune_memcpy_strategy", ";", "opts", "->", "x_ix86_tune_memset_strategy", "=", "ptr", "->", "x_ix86_tune_memset_strategy", ";", "opts", "->", "x_ix86_tune_no_default", "=", "ptr", "->", "x_ix86_tune_no_default", ";", "ix86_tune_cost", "=", "processor_cost_table", "[", "ix86_tune", "]", ";", "if", "(", "opts", "->", "x_optimize_size", ")", "ix86_cost", "=", "&", "ix86_size_cost", ";", "else", "ix86_cost", "=", "ix86_tune_cost", ";", "if", "(", "old_arch", "!=", "ix86_arch", ")", "{", "ix86_arch_mask", "=", "HOST_WIDE_INT_1U", "<<", "ix86_arch", ";", "for", "(", "i", "=", "0", ";", "i", "<", "X86_ARCH_LAST", ";", "++", "i", ")", "ix86_arch_features", "[", "i", "]", "=", "!", "!", "(", "initial_ix86_arch_features", "[", "i", "]", "&", "ix86_arch_mask", ")", ";", "}", "if", "(", "old_tune", "!=", "ix86_tune", ")", "set_ix86_tune_features", "(", "opts", ",", "ix86_tune", ",", "false", ")", ";", "}", ""], "natrual_language": ["Restore", "the", "current", "options"], "TS_V_token": ["i386", "0"], "File": "i386-options", "Func": "ix86_function_specific_restore", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17896, "Length": 341, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86DomainReassignment", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "if", "(", "DisableX86DomainReassignment", ")", "return", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** Machine Function before Domain Reassignment *****\\n\"", ")", ";", "DEBUG", "(", "MF", ".", "print", "(", "dbgs", "(", ")", ")", ")", ";", "STI", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "STI", "->", "hasAVX512", "(", ")", ")", "return", "false", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "assert", "(", "MRI", "->", "isSSA", "(", ")", "&&", "\"Expected MIR to be in SSA form\"", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "initConverters", "(", ")", ";", "bool", "Changed", "=", "false", ";", "DenseSet", "<", "unsigned", ">", "EnclosedEdges", ";", "DenseMap", "<", "MachineInstr", "*", ",", "Closure", "*", ">", "EnclosedInstrs", ";", "std", "::", "vector", "<", "Closure", ">", "Closures", ";", "for", "(", "unsigned", "Idx", "=", "0", ";", "Idx", "<", "MRI", "->", "getNumVirtRegs", "(", ")", ";", "++", "Idx", ")", "{", "unsigned", "Reg", "=", "TargetRegisterInfo", "::", "index2VirtReg", "(", "Idx", ")", ";", "if", "(", "!", "isGPR", "(", "MRI", "->", "getRegClass", "(", "Reg", ")", ")", ")", "continue", ";", "if", "(", "EnclosedEdges", ".", "count", "(", "Reg", ")", ")", "continue", ";", "Closure", "C", "(", "TII", ",", "MRI", ",", "Converters", ",", "{", "MaskDomain", "}", ",", "EnclosedEdges", ",", "EnclosedInstrs", ")", ";", "C", ".", "buildClosure", "(", "Reg", ")", ";", "if", "(", "!", "C", ".", "empty", "(", ")", "&&", "C", ".", "isLegal", "(", "MaskDomain", ")", ")", "Closures", ".", "push_back", "(", "std", "::", "move", "(", "C", ")", ")", ";", "}", "for", "(", "Closure", "&", "C", ":", "Closures", ")", "if", "(", "C", ".", "isReassignmentProfitable", "(", "MaskDomain", ")", ")", "{", "C", ".", "Reassign", "(", "MaskDomain", ")", ";", "++", "NumClosuresConverted", ";", "Changed", "=", "true", ";", "}", "for", "(", "auto", "I", ":", "Converters", ")", "delete", "I", ".", "second", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** Machine Function after Domain Reassignment *****\\n\"", ")", ";", "DEBUG", "(", "MF", ".", "print", "(", "dbgs", "(", ")", ")", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "\"***** Machine Function before Domain Reassignment *****\\n\"", "X86", "\"Expected MIR to be in SSA form\"", "0", "\"***** Machine Function after Domain Reassignment *****\\n\""], "File": "X86DomainReassignment14", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17897, "Length": 317, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rs6000_handle_altivec_attribute", "(", "tree", "*", "node", ",", "tree", "name", "ATTRIBUTE_UNUSED", ",", "tree", "args", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add_attrs", ")", "{", "tree", "type", "=", "*", "node", ",", "result", "=", "NULL_TREE", ";", "enum", "machine_mode", "mode", ";", "int", "unsigned_p", ";", "char", "altivec_type", "=", "(", "(", "args", "&&", "TREE_CODE", "(", "args", ")", "==", "TREE_LIST", "&&", "TREE_VALUE", "(", "args", ")", "&&", "TREE_CODE", "(", "TREE_VALUE", "(", "args", ")", ")", "==", "IDENTIFIER_NODE", ")", "?", "*", "IDENTIFIER_POINTER", "(", "TREE_VALUE", "(", "args", ")", ")", ":", "'?'", ")", ";", "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", ")", ";", "if", "(", "type", "==", "long_unsigned_type_node", "||", "type", "==", "long_integer_type_node", ")", "{", "if", "(", "TARGET_64BIT", ")", "error", "(", "\"use of % in AltiVec types is invalid for 64-bit code\"", ")", ";", "else", "if", "(", "rs6000_warn_altivec_long", ")", "warning", "(", "0", ",", "\"use of % in AltiVec types is deprecated; use %\"", ")", ";", "}", "else", "if", "(", "type", "==", "long_long_unsigned_type_node", "||", "type", "==", "long_long_integer_type_node", ")", "error", "(", "\"use of % in AltiVec types is invalid\"", ")", ";", "else", "if", "(", "type", "==", "double_type_node", ")", "error", "(", "\"use of % in AltiVec types is invalid\"", ")", ";", "else", "if", "(", "type", "==", "long_double_type_node", ")", "error", "(", "\"use of % in AltiVec types is invalid\"", ")", ";", "else", "if", "(", "type", "==", "boolean_type_node", ")", "error", "(", "\"use of boolean types in AltiVec types is invalid\"", ")", ";", "else", "if", "(", "TREE_CODE", "(", "type", ")", "==", "COMPLEX_TYPE", ")", "error", "(", "\"use of % in AltiVec types is invalid\"", ")", ";", "switch", "(", "altivec_type", ")", "{", "case", "'v'", ":", "unsigned_p", "=", "TYPE_UNSIGNED", "(", "type", ")", ";", "switch", "(", "mode", ")", "{", "case", "SImode", ":", "result", "=", "(", "unsigned_p", "?", "unsigned_V4SI_type_node", ":", "V4SI_type_node", ")", ";", "break", ";", "case", "HImode", ":", "result", "=", "(", "unsigned_p", "?", "unsigned_V8HI_type_node", ":", "V8HI_type_node", ")", ";", "break", ";", "case", "QImode", ":", "result", "=", "(", "unsigned_p", "?", "unsigned_V16QI_type_node", ":", "V16QI_type_node", ")", ";", "break", ";", "case", "SFmode", ":", "result", "=", "V4SF_type_node", ";", "break", ";", "case", "V4SImode", ":", "case", "V8HImode", ":", "case", "V16QImode", ":", "case", "V4SFmode", ":", "result", "=", "type", ";", "default", ":", "break", ";", "}", "break", ";", "case", "'b'", ":", "switch", "(", "mode", ")", "{", "case", "SImode", ":", "case", "V4SImode", ":", "result", "=", "bool_V4SI_type_node", ";", "break", ";", "case", "HImode", ":", "case", "V8HImode", ":", "result", "=", "bool_V8HI_type_node", ";", "break", ";", "case", "QImode", ":", "case", "V16QImode", ":", "result", "=", "bool_V16QI_type_node", ";", "default", ":", "break", ";", "}", "break", ";", "case", "'p'", ":", "switch", "(", "mode", ")", "{", "case", "V8HImode", ":", "result", "=", "pixel_V8HI_type_node", ";", "default", ":", "break", ";", "}", "default", ":", "break", ";", "}", "if", "(", "result", "&&", "result", "!=", "type", "&&", "TYPE_READONLY", "(", "type", ")", ")", "result", "=", "build_qualified_type", "(", "result", ",", "TYPE_QUAL_CONST", ")", ";", "*", "no_add_attrs", "=", "true", ";", "if", "(", "result", ")", "*", "node", "=", "reconstruct_complex_type", "(", "*", "node", ",", "result", ")", ";", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "the", "``", "altivec", "''", "attribute", ".", "The", "attribute", "may", "have", "arguments", "as", "follows", ":", "__attribute__", "(", "(", "altivec", "(", "vector__", ")", ")", ")", "__attribute__", "(", "(", "altivec", "(", "pixel__", ")", ")", ")", "(", "always", "followed", "by", "'unsigned", "short", "'", ")", "__attribute__", "(", "(", "altivec", "(", "bool__", ")", ")", ")", "(", "always", "followed", "by", "'unsigned", "'", ")", "and", "may", "appear", "more", "than", "once", "(", "e.g.", ",", "'vector", "bool", "char", "'", ")", "in", "a", "given", "declaration", "."], "TS_V_token": ["rs6000", "\"use of % in AltiVec types is invalid for 64-bit code\"", "0", "\"use of % in AltiVec types is deprecated; use %\"", "\"use of % in AltiVec types is invalid\"", "\"use of % in AltiVec types is invalid\"", "\"use of % in AltiVec types is invalid\"", "\"use of boolean types in AltiVec types is invalid\"", "\"use of % in AltiVec types is invalid\""], "File": "rs60003", "Func": "rs6000_handle_altivec_attribute", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17898, "Length": 442, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "if", "(", "SystemZ", "::", "GR128BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "copyPhysReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "RI", ".", "getSubReg", "(", "DestReg", ",", "SystemZ", "::", "subreg_h64", ")", ",", "RI", ".", "getSubReg", "(", "SrcReg", ",", "SystemZ", "::", "subreg_h64", ")", ",", "KillSrc", ")", ";", "MachineInstrBuilder", "(", "*", "MBB", ".", "getParent", "(", ")", ",", "std", "::", "prev", "(", "MBBI", ")", ")", ".", "addReg", "(", "SrcReg", ",", "RegState", "::", "Implicit", ")", ";", "copyPhysReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "RI", ".", "getSubReg", "(", "DestReg", ",", "SystemZ", "::", "subreg_l64", ")", ",", "RI", ".", "getSubReg", "(", "SrcReg", ",", "SystemZ", "::", "subreg_l64", ")", ",", "KillSrc", ")", ";", "MachineInstrBuilder", "(", "*", "MBB", ".", "getParent", "(", ")", ",", "std", "::", "prev", "(", "MBBI", ")", ")", ".", "addReg", "(", "SrcReg", ",", "(", "getKillRegState", "(", "KillSrc", ")", "|", "RegState", "::", "Implicit", ")", ")", ";", "return", ";", "}", "if", "(", "SystemZ", "::", "GRX32BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "emitGRX32Move", "(", "MBB", ",", "MBBI", ",", "DL", ",", "DestReg", ",", "SrcReg", ",", "SystemZ", "::", "LR", ",", "32", ",", "KillSrc", ",", "false", ")", ";", "return", ";", "}", "unsigned", "Opcode", ";", "if", "(", "SystemZ", "::", "GR64BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "LGR", ";", "else", "if", "(", "SystemZ", "::", "FP32BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "STI", ".", "hasVector", "(", ")", "?", "SystemZ", "::", "LDR32", ":", "SystemZ", "::", "LER", ";", "else", "if", "(", "SystemZ", "::", "FP64BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "LDR", ";", "else", "if", "(", "SystemZ", "::", "FP128BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "LXR", ";", "else", "if", "(", "SystemZ", "::", "VR32BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "VLR32", ";", "else", "if", "(", "SystemZ", "::", "VR64BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "VLR64", ";", "else", "if", "(", "SystemZ", "::", "VR128BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "VLR", ";", "else", "if", "(", "SystemZ", "::", "AR32BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "CPYA", ";", "else", "if", "(", "SystemZ", "::", "AR32BitRegClass", ".", "contains", "(", "DestReg", ")", "&&", "SystemZ", "::", "GR32BitRegClass", ".", "contains", "(", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "SAR", ";", "else", "if", "(", "SystemZ", "::", "GR32BitRegClass", ".", "contains", "(", "DestReg", ")", "&&", "SystemZ", "::", "AR32BitRegClass", ".", "contains", "(", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "EAR", ";", "else", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "Opcode", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ::GR128BitRegClass", "SystemZ::subreg_h64", "SystemZ::subreg_h64", "SystemZ::subreg_l64", "SystemZ::subreg_l64", "SystemZ::GRX32BitRegClass", "SystemZ::LR", "32", "SystemZ::GR64BitRegClass", "SystemZ::LGR", "SystemZ::FP32BitRegClass", "SystemZ::LDR32", "SystemZ::LER", "SystemZ::FP64BitRegClass", "SystemZ::LDR", "SystemZ::FP128BitRegClass", "SystemZ::LXR", "SystemZ::VR32BitRegClass", "SystemZ::VLR32", "SystemZ::VR64BitRegClass", "SystemZ::VLR64", "SystemZ::VR128BitRegClass", "SystemZ::VLR", "SystemZ::AR32BitRegClass", "SystemZ::CPYA", "SystemZ::AR32BitRegClass", "SystemZ::GR32BitRegClass", "SystemZ::SAR", "SystemZ::GR32BitRegClass", "SystemZ::AR32BitRegClass", "SystemZ::EAR", "\"Impossible reg-to-reg copy\""], "File": "SystemZInstrInfo50", "Func": "copyPhysReg", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17899, "Length": 471, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sh_split_tst_subregs", "(", "rtx_insn", "*", "curr_insn", ",", "machine_mode", "subreg_mode", ",", "int", "subreg_offset", ",", "rtx", "operands", "[", "]", ")", "{", "gcc_assert", "(", "subreg_mode", "==", "QImode", "||", "subreg_mode", "==", "HImode", ")", ";", "sh_extending_set_of_reg", "eop0", "=", "sh_find_extending_set_of_reg", "(", "operands", "[", "0", "]", ",", "curr_insn", ")", ";", "sh_extending_set_of_reg", "eop1", "=", "sh_find_extending_set_of_reg", "(", "operands", "[", "1", "]", ",", "curr_insn", ")", ";", "if", "(", "eop0", ".", "ext_code", "==", "ZERO_EXTEND", "&&", "eop0", ".", "from_mode", "==", "subreg_mode", ")", "{", "emit_insn", "(", "gen_tstsi_t", "(", "eop0", ".", "use_as_extended_reg", "(", "curr_insn", ")", ",", "operands", "[", "1", "]", ")", ")", ";", "return", ";", "}", "if", "(", "eop1", ".", "ext_code", "==", "ZERO_EXTEND", "&&", "eop1", ".", "from_mode", "==", "subreg_mode", ")", "{", "emit_insn", "(", "gen_tstsi_t", "(", "operands", "[", "0", "]", ",", "eop1", ".", "use_as_extended_reg", "(", "curr_insn", ")", ")", ")", ";", "return", ";", "}", "if", "(", "eop0", ".", "ext_code", "==", "SIGN_EXTEND", "&&", "eop1", ".", "ext_code", "==", "SIGN_EXTEND", "&&", "eop0", ".", "from_mode", "==", "subreg_mode", "&&", "eop1", ".", "from_mode", "==", "subreg_mode", ")", "{", "emit_insn", "(", "gen_tstsi_t", "(", "eop0", ".", "use_as_extended_reg", "(", "curr_insn", ")", ",", "eop1", ".", "use_as_extended_reg", "(", "curr_insn", ")", ")", ")", ";", "return", ";", "}", "if", "(", "eop0", ".", "ext_code", "!=", "UNKNOWN", "&&", "eop1", ".", "ext_code", "==", "UNKNOWN", ")", "std", "::", "swap", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ")", ";", "rtx", "tmp0", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx", "tmp1", "=", "simplify_gen_subreg", "(", "subreg_mode", ",", "operands", "[", "0", "]", ",", "GET_MODE", "(", "operands", "[", "0", "]", ")", ",", "subreg_offset", ")", ";", "emit_insn", "(", "subreg_mode", "==", "QImode", "?", "gen_zero_extendqisi2", "(", "tmp0", ",", "tmp1", ")", ":", "gen_zero_extendhisi2", "(", "tmp0", ",", "tmp1", ")", ")", ";", "emit_insn", "(", "gen_tstsi_t", "(", "tmp0", ",", "operands", "[", "1", "]", ")", ")", ";", "}", ""], "natrual_language": ["Given", "the", "current", "insn", ",", "which", "is", "assumed", "to", "be", "the", "*", "tst", "<", "mode", ">", "_t_subregs", "insn", ",", "perform", "the", "necessary", "checks", "on", "the", "operands", "and", "split", "it", "accordingly", "."], "TS_V_token": ["sh", "0", "1", "1", "0", "0", "1", "0", "0", "1"], "File": "sh", "Func": "sh_split_tst_subregs", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17900, "Length": 273, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_dependencies_evaluation_hook", "(", "rtx_insn", "*", "head", ",", "rtx_insn", "*", "tail", ")", "{", "rtx_insn", "*", "insn", ";", "rtx_insn", "*", "first_arg", "=", "NULL", ";", "if", "(", "reload_completed", ")", "return", ";", "while", "(", "head", "!=", "tail", "&&", "DEBUG_INSN_P", "(", "head", ")", ")", "head", "=", "NEXT_INSN", "(", "head", ")", ";", "for", "(", "insn", "=", "tail", ";", "insn", "!=", "head", ";", "insn", "=", "PREV_INSN", "(", "insn", ")", ")", "if", "(", "INSN_P", "(", "insn", ")", "&&", "CALL_P", "(", "insn", ")", ")", "{", "first_arg", "=", "add_parameter_dependencies", "(", "insn", ",", "head", ")", ";", "if", "(", "first_arg", ")", "{", "basic_block", "bb", "=", "BLOCK_FOR_INSN", "(", "insn", ")", ";", "int", "rgn", "=", "CONTAINING_RGN", "(", "bb", "->", "index", ")", ";", "int", "nr_blks", "=", "RGN_NR_BLOCKS", "(", "rgn", ")", ";", "if", "(", "nr_blks", ">", "1", "&&", "BLOCK_TO_BB", "(", "bb", "->", "index", ")", "!=", "0", ")", "{", "edge", "e", ";", "edge_iterator", "ei", ";", "FOR_EACH_EDGE", "(", "e", ",", "ei", ",", "bb", "->", "preds", ")", "{", "if", "(", "rgn", "==", "CONTAINING_RGN", "(", "e", "->", "src", "->", "index", ")", "&&", "BLOCK_TO_BB", "(", "bb", "->", "index", ")", ">", "BLOCK_TO_BB", "(", "e", "->", "src", "->", "index", ")", ")", "add_dependee_for_func_arg", "(", "first_arg", ",", "e", "->", "src", ")", ";", "}", "}", "insn", "=", "first_arg", ";", "if", "(", "insn", "==", "head", ")", "break", ";", "}", "}", "else", "if", "(", "first_arg", ")", "avoid_func_arg_motion", "(", "first_arg", ",", "insn", ")", ";", "}", ""], "natrual_language": ["Hook", "for", "pre-reload", "schedule", "-", "avoid", "motion", "of", "function", "arguments", "passed", "in", "likely", "spilled", "HW", "registers", "."], "TS_V_token": ["i386", "1", "0"], "File": "i386", "Func": "ix86_dependencies_evaluation_hook", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17901, "Length": 217, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "expand_csky_stack_adjust", "(", "int", "offset", ")", "{", "rtx", "set", ";", "rtx_insn", "*", "insn", ";", "int", "size", "=", "(", "offset", ">", "0", "?", "offset", ":", "-", "offset", ")", ";", "if", "(", "offset", "==", "0", ")", "return", ";", "if", "(", "size", ">", "CSKY_MAX_SP_ADJUST", "*", "2", ")", "{", "rtx", "tmp", ",", "dwarf", ";", "gcc_assert", "(", "cfun", "->", "machine", "->", "reg_size", "!=", "0", "&&", "(", "cfun", "->", "machine", "->", "reg_mask", "&", "(", "1", "<<", "CSKY_STACKADJUST_REGNUM", ")", ")", ")", ";", "if", "(", "!", "flag_sched_prolog", ")", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "tmp", "=", "gen_rtx_REG", "(", "SImode", ",", "CSKY_STACKADJUST_REGNUM", ")", ";", "emit_move_insn", "(", "tmp", ",", "GEN_INT", "(", "size", ")", ")", ";", "if", "(", "offset", ">", "0", ")", "set", "=", "gen_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "tmp", ")", ";", "else", "set", "=", "gen_subsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "tmp", ")", ";", "insn", "=", "emit_insn", "(", "set", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "dwarf", "=", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "dwarf", ")", ";", "if", "(", "!", "flag_sched_prolog", ")", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", "else", "while", "(", "size", ")", "{", "int", "delta", "=", "(", "size", ">", "CSKY_MAX_SP_ADJUST", "?", "CSKY_MAX_SP_ADJUST", ":", "size", ")", ";", "if", "(", "offset", ">", "0", ")", "set", "=", "gen_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "delta", ")", ")", ";", "else", "set", "=", "gen_subsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "delta", ")", ")", ";", "insn", "=", "emit_insn", "(", "set", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "size", "-=", "delta", ";", "}", "}", ""], "natrual_language": ["Adjust", "the", "stack", "pointer", "by", "OFFSET", "bytes", ".", "OFFSET", "is", "negative", "if", "this", "is", "in", "the", "prologue", ",", "positive", "if", "in", "the", "epilogue", ".", "This", "may", "require", "multiple", "instructions", "and/or", "use", "of", "CSKY_STACKADJUST_REGNUM", "as", "a", "scratch", "register", ".", "Emit", "CFA", "notes", "as", "appropriate", "."], "TS_V_token": ["csky", "0", "0", "2", "0", "1", "0", "1", "0", "1"], "File": "csky", "Func": "expand_csky_stack_adjust", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17902, "Length": 262, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_function_value_1", "(", "const_tree", "valtype", ",", "const_tree", "fn_decl_or_type", ",", "machine_mode", "mode", ")", "{", "if", "(", "valtype", ")", "{", "tree", "fields", "[", "2", "]", ";", "int", "unsigned_p", ";", "const_tree", "func", ";", "if", "(", "fn_decl_or_type", "&&", "DECL_P", "(", "fn_decl_or_type", ")", ")", "func", "=", "fn_decl_or_type", ";", "else", "func", "=", "NULL", ";", "mode", "=", "TYPE_MODE", "(", "valtype", ")", ";", "unsigned_p", "=", "TYPE_UNSIGNED", "(", "valtype", ")", ";", "mode", "=", "promote_function_mode", "(", "valtype", ",", "mode", ",", "&", "unsigned_p", ",", "func", ",", "1", ")", ";", "bool", "has_cxx_zero_width_bf", "=", "false", ";", "bool", "has_cxx17_empty_base", "=", "false", ";", "int", "use_fpr", "=", "mips_fpr_return_fields", "(", "valtype", ",", "fields", ",", "&", "has_cxx_zero_width_bf", ",", "&", "has_cxx17_empty_base", ")", ";", "if", "(", "TARGET_HARD_FLOAT", "&&", "warn_psabi", "&&", "has_cxx_zero_width_bf", "&&", "!", "has_cxx17_empty_base", "&&", "use_fpr", "!=", "0", ")", "{", "static", "unsigned", "last_reported_type_uid", ";", "unsigned", "uid", "=", "TYPE_UID", "(", "TYPE_MAIN_VARIANT", "(", "valtype", ")", ")", ";", "if", "(", "uid", "!=", "last_reported_type_uid", ")", "{", "static", "const", "char", "*", "url", "=", "CHANGES_ROOT_URL", "\"gcc-12/changes.html#zero_width_bitfields\"", ";", "inform", "(", "input_location", ",", "\"the ABI for returning a value containing \"", "\"zero-width bit-fields but otherwise an aggregate \"", "\"with only one or two floating-point fields was \"", "\"changed in GCC %{12.1%}\"", ",", "url", ")", ";", "last_reported_type_uid", "=", "uid", ";", "}", "}", "if", "(", "has_cxx_zero_width_bf", ")", "use_fpr", "=", "0", ";", "if", "(", "TARGET_HARD_FLOAT", "&&", "warn_psabi", "&&", "use_fpr", "!=", "0", "&&", "has_cxx17_empty_base", ")", "{", "static", "unsigned", "last_reported_type_uid", ";", "unsigned", "uid", "=", "TYPE_UID", "(", "TYPE_MAIN_VARIANT", "(", "valtype", ")", ")", ";", "if", "(", "uid", "!=", "last_reported_type_uid", ")", "{", "static", "const", "char", "*", "url", "=", "CHANGES_ROOT_URL", "\"gcc-12/changes.html#mips_cxx17_empty_bases\"", ";", "inform", "(", "input_location", ",", "\"the ABI for returning a value with C++17 empty \"", "\"bases but otherwise an aggregate with only one or \"", "\"two floating-point fields was changed in GCC \"", "\"%{12.1%}\"", ",", "url", ")", ";", "last_reported_type_uid", "=", "uid", ";", "}", "}", "switch", "(", "use_fpr", ")", "{", "case", "1", ":", "return", "mips_return_fpr_single", "(", "mode", ",", "TYPE_MODE", "(", "TREE_TYPE", "(", "fields", "[", "0", "]", ")", ")", ")", ";", "case", "2", ":", "return", "mips_return_fpr_pair", "(", "mode", ",", "TYPE_MODE", "(", "TREE_TYPE", "(", "fields", "[", "0", "]", ")", ")", ",", "int_byte_position", "(", "fields", "[", "0", "]", ")", ",", "TYPE_MODE", "(", "TREE_TYPE", "(", "fields", "[", "1", "]", ")", ")", ",", "int_byte_position", "(", "fields", "[", "1", "]", ")", ")", ";", "}", "if", "(", "mips_return_in_msb", "(", "valtype", ")", ")", "{", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "valtype", ")", ";", "if", "(", "size", "%", "UNITS_PER_WORD", "!=", "0", ")", "{", "size", "+=", "UNITS_PER_WORD", "-", "size", "%", "UNITS_PER_WORD", ";", "mode", "=", "int_mode_for_size", "(", "size", "*", "BITS_PER_UNIT", ",", "0", ")", ".", "require", "(", ")", ";", "}", "}", "if", "(", "mips_abi", "!=", "ABI_EABI", "&&", "!", "FLOAT_TYPE_P", "(", "valtype", ")", ")", "return", "gen_rtx_REG", "(", "mode", ",", "GP_RETURN", ")", ";", "}", "if", "(", "!", "TARGET_MIPS16", ")", "{", "if", "(", "mode", "==", "TFmode", ")", "return", "mips_return_fpr_pair", "(", "mode", ",", "DImode", ",", "0", ",", "DImode", ",", "GET_MODE_SIZE", "(", "mode", ")", "/", "2", ")", ";", "if", "(", "mips_return_mode_in_fpr_p", "(", "mode", ")", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_FLOAT", ")", "return", "mips_return_fpr_pair", "(", "mode", ",", "GET_MODE_INNER", "(", "mode", ")", ",", "0", ",", "GET_MODE_INNER", "(", "mode", ")", ",", "GET_MODE_SIZE", "(", "mode", ")", "/", "2", ")", ";", "else", "return", "gen_rtx_REG", "(", "mode", ",", "FP_RETURN", ")", ";", "}", "}", "return", "gen_rtx_REG", "(", "mode", ",", "GP_RETURN", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_VALUE", "and", "TARGET_LIBCALL_VALUE", ".", "For", "normal", "calls", ",", "VALTYPE", "is", "the", "return", "type", "and", "MODE", "is", "VOIDmode", ".", "For", "libcalls", ",", "VALTYPE", "is", "null", "and", "MODE", "is", "the", "mode", "of", "the", "return", "value", "."], "TS_V_token": ["mips", "2", "1", "0", "\"gcc-12/changes.html#zero_width_bitfields\"", "\"the ABI for returning a value containing \"", "\"zero-width bit-fields but otherwise an aggregate \"", "\"with only one or two floating-point fields was \"", "\"changed in GCC %{12.1%}\"", "0", "0", "\"gcc-12/changes.html#mips_cxx17_empty_bases\"", "\"the ABI for returning a value with C++17 empty \"", "\"bases but otherwise an aggregate with only one or \"", "\"two floating-point fields was changed in GCC \"", "\"%{12.1%}\"", "1", "0", "2", "0", "0", "1", "1", "0", "0", "0", "2", "0", "2"], "File": "mips", "Func": "mips_function_value_1", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17903, "Length": 477, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "nds32_output_float_load", "(", "rtx", "*", "operands", ")", "{", "char", "buff", "[", "100", "]", ";", "const", "char", "*", "pattern", ";", "rtx", "addr", ",", "addr_op0", ",", "addr_op1", ";", "int", "dp", "=", "GET_MODE_SIZE", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", ")", "==", "8", ";", "addr", "=", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ";", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "REG", ":", "pattern", "=", "\"fl%ci\\t%%0, %%1\"", ";", "break", ";", "case", "PLUS", ":", "addr_op0", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "addr_op1", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "if", "(", "REG_P", "(", "addr_op0", ")", "&&", "REG_P", "(", "addr_op1", ")", ")", "pattern", "=", "\"fl%c\\t%%0, %%1\"", ";", "else", "if", "(", "REG_P", "(", "addr_op0", ")", "&&", "CONST_INT_P", "(", "addr_op1", ")", ")", "pattern", "=", "\"fl%ci\\t%%0, %%1\"", ";", "else", "if", "(", "GET_CODE", "(", "addr_op0", ")", "==", "MULT", "&&", "REG_P", "(", "addr_op1", ")", "&&", "REG_P", "(", "XEXP", "(", "addr_op0", ",", "0", ")", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "addr_op0", ",", "1", ")", ")", ")", "pattern", "=", "\"fl%c\\t%%0, %%1\"", ";", "else", "gcc_unreachable", "(", ")", ";", "break", ";", "case", "POST_MODIFY", ":", "addr_op0", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "addr_op1", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "if", "(", "REG_P", "(", "addr_op0", ")", "&&", "GET_CODE", "(", "addr_op1", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "addr_op1", ",", "1", ")", ")", ")", "pattern", "=", "\"fl%c.bi\\t%%0, %%1\"", ";", "else", "if", "(", "REG_P", "(", "addr_op0", ")", "&&", "GET_CODE", "(", "addr_op1", ")", "==", "PLUS", "&&", "CONST_INT_P", "(", "XEXP", "(", "addr_op1", ",", "1", ")", ")", ")", "pattern", "=", "\"fl%ci.bi\\t%%0, %%1\"", ";", "else", "gcc_unreachable", "(", ")", ";", "break", ";", "case", "POST_INC", ":", "if", "(", "REG_P", "(", "XEXP", "(", "addr", ",", "0", ")", ")", ")", "{", "if", "(", "dp", ")", "pattern", "=", "\"fl%ci.bi\\t%%0, %%1, 8\"", ";", "else", "pattern", "=", "\"fl%ci.bi\\t%%0, %%1, 4\"", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "break", ";", "case", "POST_DEC", ":", "if", "(", "REG_P", "(", "XEXP", "(", "addr", ",", "0", ")", ")", ")", "{", "if", "(", "dp", ")", "pattern", "=", "\"fl%ci.bi\\t%%0, %%1, -8\"", ";", "else", "pattern", "=", "\"fl%ci.bi\\t%%0, %%1, -4\"", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "sprintf", "(", "buff", ",", "pattern", ",", "dp", "?", "'d'", ":", "'s'", ")", ";", "output_asm_insn", "(", "buff", ",", "operands", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["output", "a", "float", "load", "instruction"], "TS_V_token": ["nds32", "100", "0", "8", "1", "0", "\"fl%ci\\t%%0, %%1\"", "0", "1", "\"fl%c\\t%%0, %%1\"", "\"fl%ci\\t%%0, %%1\"", "0", "1", "\"fl%c\\t%%0, %%1\"", "0", "1", "1", "\"fl%c.bi\\t%%0, %%1\"", "1", "\"fl%ci.bi\\t%%0, %%1\"", "0", "\"fl%ci.bi\\t%%0, %%1, 8\"", "\"fl%ci.bi\\t%%0, %%1, 4\"", "0", "\"fl%ci.bi\\t%%0, %%1, -8\"", "\"fl%ci.bi\\t%%0, %%1, -4\"", "\"\""], "File": "nds32-md-auxiliary", "Func": "nds32_output_float_load", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17904, "Length": 363, "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": 17905, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsSETargetLowering", "::", "addMSAIntType", "(", "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", "::", "BITCAST", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "LOAD", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "STORE", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "EXTRACT_VECTOR_ELT", ",", "Ty", ",", "Custom", ")", ";", "setOperationAction", "(", "ISD", "::", "INSERT_VECTOR_ELT", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "BUILD_VECTOR", ",", "Ty", ",", "Custom", ")", ";", "setOperationAction", "(", "ISD", "::", "UNDEF", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "ADD", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "AND", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "CTLZ", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "CTPOP", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "MUL", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "OR", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "SDIV", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "SREM", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "SHL", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "SRA", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "SRL", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "SUB", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "SMAX", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "SMIN", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "UDIV", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "UREM", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "UMAX", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "UMIN", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "VECTOR_SHUFFLE", ",", "Ty", ",", "Custom", ")", ";", "setOperationAction", "(", "ISD", "::", "VSELECT", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "XOR", ",", "Ty", ",", "Legal", ")", ";", "if", "(", "Ty", "==", "MVT", "::", "v4i32", "||", "Ty", "==", "MVT", "::", "v2i64", ")", "{", "setOperationAction", "(", "ISD", "::", "FP_TO_SINT", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "FP_TO_UINT", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "SINT_TO_FP", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "UINT_TO_FP", ",", "Ty", ",", "Legal", ")", ";", "}", "setOperationAction", "(", "ISD", "::", "SETCC", ",", "Ty", ",", "Legal", ")", ";", "setCondCodeAction", "(", "ISD", "::", "SETNE", ",", "Ty", ",", "Expand", ")", ";", "setCondCodeAction", "(", "ISD", "::", "SETGE", ",", "Ty", ",", "Expand", ")", ";", "setCondCodeAction", "(", "ISD", "::", "SETGT", ",", "Ty", ",", "Expand", ")", ";", "setCondCodeAction", "(", "ISD", "::", "SETUGE", ",", "Ty", ",", "Expand", ")", ";", "setCondCodeAction", "(", "ISD", "::", "SETUGT", ",", "Ty", ",", "Expand", ")", ";", "}", ""], "natrual_language": ["Enable", "MSA", "support", "for", "the", "given", "integer", "type", "and", "Register", "class", "."], "TS_V_token": ["Mips", "Mips", "MVT::SimpleValueType", "0", "ISD::BUILTIN_OP_END", "ISD::BITCAST", "ISD::LOAD", "ISD::STORE", "ISD::EXTRACT_VECTOR_ELT", "ISD::INSERT_VECTOR_ELT", "ISD::BUILD_VECTOR", "ISD::UNDEF", "ISD::ADD", "ISD::AND", "ISD::CTLZ", "ISD::CTPOP", "ISD::MUL", "ISD::OR", "ISD::SDIV", "ISD::SREM", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::SUB", "ISD::SMAX", "ISD::SMIN", "ISD::UDIV", "ISD::UREM", "ISD::UMAX", "ISD::UMIN", "ISD::VECTOR_SHUFFLE", "ISD::VSELECT", "ISD::XOR", "MVT::v4i32", "MVT::v2i64", "ISD::FP_TO_SINT", "ISD::FP_TO_UINT", "ISD::SINT_TO_FP", "ISD::UINT_TO_FP", "ISD::SETCC", "ISD::SETNE", "ISD::SETGE", "ISD::SETGT", "ISD::SETUGE", "ISD::SETUGT"], "File": "MipsSEISelLowering18", "Func": "addMSAIntType", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17906, "Length": 483, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "X86TargetLowering", "::", "getRegisterTypeForCallingConv", "(", "LLVMContext", "&", "Context", ",", "CallingConv", "::", "ID", "CC", ",", "EVT", "VT", ")", "const", "{", "if", "(", "VT", "==", "MVT", "::", "v32i1", "&&", "Subtarget", ".", "hasAVX512", "(", ")", "&&", "!", "Subtarget", ".", "hasBWI", "(", ")", ")", "return", "MVT", "::", "v32i8", ";", "if", "(", "VT", ".", "isVector", "(", ")", "&&", "VT", ".", "getVectorElementType", "(", ")", "==", "MVT", "::", "i1", "&&", "Subtarget", ".", "hasAVX512", "(", ")", "&&", "(", "!", "isPowerOf2_32", "(", "VT", ".", "getVectorNumElements", "(", ")", ")", "||", "(", "VT", ".", "getVectorNumElements", "(", ")", ">", "16", "&&", "!", "Subtarget", ".", "hasBWI", "(", ")", ")", "||", "(", "VT", ".", "getVectorNumElements", "(", ")", ">", "64", "&&", "Subtarget", ".", "hasBWI", "(", ")", ")", ")", ")", "return", "MVT", "::", "i8", ";", "if", "(", "VT", "==", "MVT", "::", "v64i1", "&&", "Subtarget", ".", "hasBWI", "(", ")", "&&", "!", "Subtarget", ".", "useAVX512Regs", "(", ")", "&&", "CC", "!=", "CallingConv", "::", "X86_RegCall", ")", "return", "MVT", "::", "v32i1", ";", "if", "(", "(", "VT", "==", "MVT", "::", "v32i16", "||", "VT", "==", "MVT", "::", "v64i8", ")", "&&", "!", "EnableOldKNLABI", "&&", "Subtarget", ".", "useAVX512Regs", "(", ")", "&&", "!", "Subtarget", ".", "hasBWI", "(", ")", ")", "return", "MVT", "::", "v16i32", ";", "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": ["X86", "X86", "MVT::v32i1", "MVT::v32i8", "MVT::i1", "16", "64", "MVT::i8", "MVT::v64i1", "X86", "MVT::v32i1", "MVT::v32i16", "MVT::v64i8", "MVT::v16i32"], "File": "X86ISelLowering (2)6", "Func": "getRegisterTypeForCallingConv", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17907, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLegalMaskedGather", "(", "Type", "*", "DataType", ",", "Align", "Alignment", ")", "const", "{", "return", "isLegalMaskedGatherScatter", "(", "DataType", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "gather", "."], "TS_V_token": ["AArch64"], "File": "AArch64TargetTransformInfo", "Func": "isLegalMaskedGather", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17908, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_pragma_target_parse", "(", "tree", "args", ",", "tree", "pop_target", ")", "{", "tree", "prev_tree", "=", "build_target_option_node", "(", "&", "global_options", ")", ";", "tree", "cur_tree", ";", "struct", "cl_target_option", "*", "prev_opt", ",", "*", "cur_opt", ";", "HOST_WIDE_INT", "prev_flags", ",", "cur_flags", ",", "diff_flags", ";", "HOST_WIDE_INT", "prev_bumask", ",", "cur_bumask", ",", "diff_bumask", ";", "if", "(", "TARGET_DEBUG_TARGET", ")", "{", "fprintf", "(", "stderr", ",", "\"\\n==================== rs6000_pragma_target_parse\\n\"", ")", ";", "fprintf", "(", "stderr", ",", "\"args:\"", ")", ";", "rs6000_debug_target_options", "(", "args", ",", "\" \"", ")", ";", "fprintf", "(", "stderr", ",", "\"\\n\"", ")", ";", "if", "(", "pop_target", ")", "{", "fprintf", "(", "stderr", ",", "\"pop_target:\\n\"", ")", ";", "debug_tree", "(", "pop_target", ")", ";", "}", "else", "fprintf", "(", "stderr", ",", "\"pop_target: \\n\"", ")", ";", "fprintf", "(", "stderr", ",", "\"--------------------\\n\"", ")", ";", "}", "if", "(", "!", "args", ")", "{", "cur_tree", "=", "(", "(", "pop_target", ")", "?", "pop_target", ":", "target_option_default_node", ")", ";", "cl_target_option_restore", "(", "&", "global_options", ",", "TREE_TARGET_OPTION", "(", "cur_tree", ")", ")", ";", "}", "else", "{", "rs6000_cpu_index", "=", "rs6000_tune_index", "=", "-", "1", ";", "if", "(", "!", "rs6000_inner_target_options", "(", "args", ",", "false", ")", "||", "!", "rs6000_option_override_internal", "(", "false", ")", "||", "(", "cur_tree", "=", "build_target_option_node", "(", "&", "global_options", ")", ")", "==", "NULL_TREE", ")", "{", "if", "(", "TARGET_DEBUG_BUILTIN", "||", "TARGET_DEBUG_TARGET", ")", "fprintf", "(", "stderr", ",", "\"invalid pragma\\n\"", ")", ";", "return", "false", ";", "}", "}", "target_option_current_node", "=", "cur_tree", ";", "if", "(", "rs6000_target_modify_macros_ptr", ")", "{", "prev_opt", "=", "TREE_TARGET_OPTION", "(", "prev_tree", ")", ";", "prev_bumask", "=", "prev_opt", "->", "x_rs6000_builtin_mask", ";", "prev_flags", "=", "prev_opt", "->", "x_rs6000_isa_flags", ";", "cur_opt", "=", "TREE_TARGET_OPTION", "(", "cur_tree", ")", ";", "cur_flags", "=", "cur_opt", "->", "x_rs6000_isa_flags", ";", "cur_bumask", "=", "cur_opt", "->", "x_rs6000_builtin_mask", ";", "diff_bumask", "=", "(", "prev_bumask", "^", "cur_bumask", ")", ";", "diff_flags", "=", "(", "prev_flags", "^", "cur_flags", ")", ";", "if", "(", "(", "diff_flags", "!=", "0", ")", "||", "(", "diff_bumask", "!=", "0", ")", ")", "{", "rs6000_target_modify_macros_ptr", "(", "false", ",", "prev_flags", "&", "diff_flags", ",", "prev_bumask", "&", "diff_bumask", ")", ";", "rs6000_target_modify_macros_ptr", "(", "true", ",", "cur_flags", "&", "diff_flags", ",", "cur_bumask", "&", "diff_bumask", ")", ";", "}", "}", "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": ["powerpcspe", "\"\\n==================== rs6000_pragma_target_parse\\n\"", "\"args:\"", "\" \"", "\"\\n\"", "\"pop_target:\\n\"", "\"pop_target: \\n\"", "\"--------------------\\n\"", "1", "\"invalid pragma\\n\"", "0", "0"], "File": "powerpcspe", "Func": "rs6000_pragma_target_parse", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17909, "Length": 307, "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", "||", "GET_CODE", "(", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ")", "!=", "MEM", ")", "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", "(", "GET_CODE", "(", "tocrel_expr", ")", "==", "MEM", ")", "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", "(", "GET_CODE", "(", "base", ")", "!=", "SYMBOL_REF", "||", "!", "CONSTANT_POOL_ADDRESS_P", "(", "base", ")", ")", "return", "false", ";", "else", "{", "rtx", "const_vector", "=", "get_pool_constant", "(", "base", ")", ";", "if", "(", "GET_CODE", "(", "const_vector", ")", "==", "SYMBOL_REF", "&&", "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-p8swap2", "Func": "const_load_sequence_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17910, "Length": 446, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_emit_stack_tie", "(", "rtx", "fp", ",", "bool", "hard_frame_needed", ")", "{", "rtvec", "p", ";", "int", "i", ";", "rtx", "regs", "[", "3", "]", ";", "i", "=", "0", ";", "regs", "[", "i", "++", "]", "=", "gen_rtx_REG", "(", "Pmode", ",", "STACK_POINTER_REGNUM", ")", ";", "if", "(", "hard_frame_needed", ")", "regs", "[", "i", "++", "]", "=", "gen_rtx_REG", "(", "Pmode", ",", "HARD_FRAME_POINTER_REGNUM", ")", ";", "if", "(", "!", "(", "REGNO", "(", "fp", ")", "==", "STACK_POINTER_REGNUM", "||", "(", "hard_frame_needed", "&&", "REGNO", "(", "fp", ")", "==", "HARD_FRAME_POINTER_REGNUM", ")", ")", ")", "regs", "[", "i", "++", "]", "=", "fp", ";", "p", "=", "rtvec_alloc", "(", "i", ")", ";", "while", "(", "--", "i", ">=", "0", ")", "{", "rtx", "mem", "=", "gen_frame_mem", "(", "BLKmode", ",", "regs", "[", "i", "]", ")", ";", "RTVEC_ELT", "(", "p", ",", "i", ")", "=", "gen_rtx_SET", "(", "mem", ",", "const0_rtx", ")", ";", "}", "emit_insn", "(", "gen_stack_tie", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "p", ")", ")", ")", ";", "}", ""], "natrual_language": ["This", "ties", "together", "stack", "memory", "(", "MEM", "with", "an", "alias", "set", "of", "rs6000_sr_alias_set", ")", "and", "the", "change", "to", "the", "stack", "pointer", "."], "TS_V_token": ["rs6000", "3", "0", "0"], "File": "rs6000-logue", "Func": "rs6000_emit_stack_tie", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17911, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "get_insn_spec_code", "(", "const_rtx", "insn", ")", "{", "rtx", "pat", ",", "reg", ",", "mem", ";", "pat", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "COND_EXEC", ")", "pat", "=", "COND_EXEC_CODE", "(", "pat", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "!=", "SET", ")", "return", "-", "1", ";", "reg", "=", "SET_DEST", "(", "pat", ")", ";", "if", "(", "!", "REG_P", "(", "reg", ")", ")", "return", "-", "1", ";", "mem", "=", "SET_SRC", "(", "pat", ")", ";", "if", "(", "GET_CODE", "(", "mem", ")", "==", "ZERO_EXTEND", ")", "mem", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "return", "get_spec_unspec_code", "(", "mem", ")", ";", "}", ""], "natrual_language": ["If", "INSN", "is", "a", "speculative", "load", ",", "return", "its", "UNSPEC", "code", ".", "Return", "-1", "otherwise", "."], "TS_V_token": ["ia64", "1", "1", "0"], "File": "ia64", "Func": "get_insn_spec_code", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17912, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FalkorMarkStridedAccesses", "::", "run", "(", ")", "{", "bool", "MadeChange", "=", "false", ";", "for", "(", "Loop", "*", "L", ":", "LI", ")", "for", "(", "Loop", "*", "LIt", ":", "depth_first", "(", "L", ")", ")", "MadeChange", "|=", "runOnLoop", "(", "*", "LIt", ")", ";", "return", "MadeChange", ";", "}", ""], "natrual_language": ["Run", "the", "analysis", "pass", "over", "a", "function", "and", "produce", "a", "dominator", "tree", "."], "TS_V_token": ["AArch64"], "File": "AArch64FalkorHWPFFix10", "Func": "run", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17913, "Length": 43, "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_i8neg", ":", "case", "ARMII", "::", "AddrModeT2_i8pos", ":", "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_i8neg", "ARMII::AddrModeT2_i8pos", "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": "ARMBaseRegisterInfo66", "Func": "getFrameIndexInstrOffset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17914, "Length": 327, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86TargetLowering", "::", "insertCopiesSplitCSR", "(", "MachineBasicBlock", "*", "Entry", ",", "const", "SmallVectorImpl", "<", "MachineBasicBlock", "*", ">", "&", "Exits", ")", "const", "{", "const", "X86RegisterInfo", "*", "TRI", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "const", "MCPhysReg", "*", "IStart", "=", "TRI", "->", "getCalleeSavedRegsViaCopy", "(", "Entry", "->", "getParent", "(", ")", ")", ";", "if", "(", "!", "IStart", ")", "return", ";", "const", "TargetInstrInfo", "*", "TII", "=", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "MachineRegisterInfo", "*", "MRI", "=", "&", "Entry", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "Entry", "->", "begin", "(", ")", ";", "for", "(", "const", "MCPhysReg", "*", "I", "=", "IStart", ";", "*", "I", ";", "++", "I", ")", "{", "const", "TargetRegisterClass", "*", "RC", "=", "nullptr", ";", "if", "(", "X86", "::", "GR64RegClass", ".", "contains", "(", "*", "I", ")", ")", "RC", "=", "&", "X86", "::", "GR64RegClass", ";", "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", ",", "MBBI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "NewVR", ")", ".", "addReg", "(", "*", "I", ")", ";", "for", "(", "auto", "*", "Exit", ":", "Exits", ")", "BuildMI", "(", "*", "Exit", ",", "Exit", "->", "getFirstTerminator", "(", ")", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "*", "I", ")", ".", "addReg", "(", "NewVR", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "explicit", "copies", "in", "entry", "and", "exit", "blocks", "."], "TS_V_token": ["X86", "X86", "X86", "X86::GR64RegClass", "X86::GR64RegClass", "\"Unexpected register class in CSRsViaCopy!\"", "\"Function should be nounwind in insertCopiesSplitCSR!\""], "File": "X86ISelLowering108", "Func": "insertCopiesSplitCSR", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17915, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rx_match_ccmode", "(", "rtx", "insn", ",", "machine_mode", "cc_mode", ")", "{", "rtx", "op1", ",", "flags", ";", "machine_mode", "flags_mode", ";", "gcc_checking_assert", "(", "XVECLEN", "(", "PATTERN", "(", "insn", ")", ",", "0", ")", "==", "2", ")", ";", "op1", "=", "XVECEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ",", "1", ")", ";", "gcc_checking_assert", "(", "GET_CODE", "(", "SET_SRC", "(", "op1", ")", ")", "==", "COMPARE", ")", ";", "flags", "=", "SET_DEST", "(", "op1", ")", ";", "flags_mode", "=", "GET_MODE", "(", "flags", ")", ";", "if", "(", "GET_MODE", "(", "SET_SRC", "(", "op1", ")", ")", "!=", "flags_mode", ")", "return", "false", ";", "if", "(", "GET_MODE_CLASS", "(", "flags_mode", ")", "!=", "MODE_CC", ")", "return", "false", ";", "if", "(", "flags_from_mode", "(", "flags_mode", ")", "&", "~", "flags_from_mode", "(", "cc_mode", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["A", "helper", "function", "for", "matching", "parallels", "that", "set", "the", "flags", "."], "TS_V_token": ["rx", "0", "2", "0", "1"], "File": "rx2", "Func": "rx_match_ccmode", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17916, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "PPCMCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "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", ")", ";", "unsigned", "OpNo", "=", "getOpIdxForMO", "(", "MI", ",", "MO", ")", ";", "unsigned", "Reg", "=", "PPCInstrInfo", "::", "getRegNumForOperand", "(", "MCII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ",", "MO", ".", "getReg", "(", ")", ",", "OpNo", ")", ";", "return", "CTX", ".", "getRegisterInfo", "(", ")", "->", "getEncodingValue", "(", "Reg", ")", ";", "}", "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", "PPC", "\"Relocation required in an instruction that we cannot encode!\""], "File": "PPCMCCodeEmitter13", "Func": "getMachineOpValue", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17917, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "DLXAsmParser", "::", "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", "(", ")", ",", "DLXOperand", "::", "CreateToken", "(", "\"s\"", ",", "NameLoc", ")", ")", ";", "Operands", ".", "insert", "(", "Operands", ".", "begin", "(", ")", "+", "1", ",", "DLXOperand", "::", "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", "(", ")", ",", "DLXOperand", "::", "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", ",", "DLXOperand", "::", "createImm", "(", "MCConstantExpr", "::", "create", "(", "LPCC", "::", "ICC_T", ",", "getContext", "(", ")", ")", ",", "NameLoc", ",", "NameLoc", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["DLX", "DLX", "\"st\"", "2", "1", "DLXOperand::CreateToken", "\"s\"", "1", "DLXOperand::createImm", "\"bt\"", "3", "2", "DLXOperand::CreateToken", "\"bt\"", "\"the destination register can't equal the base register in an \"", "\"instruction that modifies the base register.\"", "1", "DLXOperand::createImm"], "File": "DLXAsmParser", "Func": "ParseInstruction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17918, "Length": 344, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "fold_build_vec_cmp", "(", "tree_code", "code", ",", "tree", "type", ",", "tree", "arg0", ",", "tree", "arg1", ",", "gimple_stmt_iterator", "*", "gsi", ")", "{", "tree", "cmp_type", "=", "truth_type_for", "(", "type", ")", ";", "tree", "zero_vec", "=", "build_zero_cst", "(", "type", ")", ";", "tree", "minus_one_vec", "=", "build_minus_one_cst", "(", "type", ")", ";", "tree", "temp", "=", "create_tmp_reg_or_ssa_name", "(", "cmp_type", ")", ";", "gimple", "*", "g", "=", "gimple_build_assign", "(", "temp", ",", "code", ",", "arg0", ",", "arg1", ")", ";", "gsi_insert_before", "(", "gsi", ",", "g", ",", "GSI_SAME_STMT", ")", ";", "return", "fold_build3", "(", "VEC_COND_EXPR", ",", "type", ",", "temp", ",", "minus_one_vec", ",", "zero_vec", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "handle", "the", "gimple", "folding", "of", "a", "vector", "compare", "operation", ".", "This", "sets", "up", "true/false", "vectors", ",", "and", "uses", "the", "VEC_COND_EXPR", "operation", ".", "CODE", "indicates", "which", "comparison", "is", "to", "be", "made", ".", "(", "EQ", ",", "GT", ",", "...", ")", ".", "TYPE", "indicates", "the", "type", "of", "the", "result", "."], "TS_V_token": ["rs6000"], "File": "rs6000-builtin", "Func": "fold_build_vec_cmp", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17919, "Length": 92, "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": 17920, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ")", "{", "if", "(", "!", "ST", "->", "isMClass", "(", ")", ")", "return", "BasicTTIImplBase", "::", "getUnrollingPreferences", "(", "L", ",", "SE", ",", "UP", ")", ";", "UP", ".", "OptSizeThreshold", "=", "0", ";", "UP", ".", "PartialOptSizeThreshold", "=", "0", ";", "if", "(", "L", "->", "getHeader", "(", ")", "->", "getParent", "(", ")", "->", "hasOptSize", "(", ")", ")", "return", ";", "if", "(", "!", "ST", "->", "isThumb2", "(", ")", ")", "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", ";", "unsigned", "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", ".", "value_op_begin", "(", ")", ",", "I", ".", "value_op_end", "(", ")", ")", ";", "Cost", "+=", "getUserCost", "(", "&", "I", ",", "Operands", ",", "TargetTransformInfo", "::", "TCK_SizeAndLatency", ")", ";", "}", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Cost of loop: \"", "<<", "Cost", "<<", "\"\\n\"", ")", ";", "UP", ".", "Partial", "=", "true", ";", "UP", ".", "Runtime", "=", "true", ";", "UP", ".", "UpperBound", "=", "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": "ARMTargetTransformInfo35", "Func": "getUnrollingPreferences", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17921, "Length": 370, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "r10k_simplified_address_p", "(", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "return", "x", "==", "virtual_incoming_args_rtx", "||", "CONSTANT_P", "(", "x", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "worth", "r10k_simplify_address", "'s", "while", "replacing", "an", "address", "with", "X", ".", "We", "are", "looking", "for", "constants", ",", "and", "for", "addresses", "at", "a", "known", "offset", "from", "the", "incoming", "stack", "pointer", "."], "TS_V_token": ["mips", "1", "0"], "File": "mips", "Func": "r10k_simplified_address_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17922, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_register_passes", "(", "void", ")", "{", "nds32_register_pass", "(", "make_pass_nds32_fp_as_gp", ",", "PASS_POS_INSERT_BEFORE", ",", "\"ira\"", ")", ";", "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", "\"ira\"", "\"mach\""], "File": "nds32", "Func": "nds32_register_passes", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17923, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_valid_offset_p", "(", "rtx", "x", ",", "machine_mode", "mode", ")", "{", "if", "(", "!", "const_arith_operand", "(", "x", ",", "Pmode", ")", ")", "return", "false", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "UNITS_PER_WORD", "&&", "!", "SMALL_OPERAND", "(", "INTVAL", "(", "x", ")", "+", "GET_MODE_SIZE", "(", "mode", ")", "-", "UNITS_PER_WORD", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", ",", "for", "every", "base", "register", "BASE_REG", ",", "(", "plus", "BASE_REG", "X", ")", "can", "address", "a", "value", "of", "mode", "MODE", "."], "TS_V_token": ["mips"], "File": "mips4", "Func": "mips_valid_offset_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17924, "Length": 56, "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": 17925, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZTargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ")", "const", "{", "if", "(", "Imm", ".", "isZero", "(", ")", "||", "Imm", ".", "isNegZero", "(", ")", ")", "return", "true", ";", "if", "(", "!", "Subtarget", ".", "hasVector", "(", ")", ")", "return", "false", ";", "const", "SystemZInstrInfo", "*", "TII", "=", "static_cast", "<", "const", "SystemZInstrInfo", "*", ">", "(", "Subtarget", ".", "getInstrInfo", "(", ")", ")", ";", "unsigned", "Start", ",", "End", ";", "return", "analyzeFPImm", "(", "Imm", ",", "VT", ".", "getSizeInBits", "(", ")", ",", "Start", ",", "End", ",", "TII", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "can", "instruction", "select", "the", "specified", "FP", "immediate", "natively", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ"], "File": "SystemZISelLowering119", "Func": "isFPImmLegal", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17926, "Length": 87, "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": 17927, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "ArrayRef", "<", "Register", ">>", "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", ")", ";", "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", "0", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "4", "8", "4", "16", "AArch64"], "File": "AArch64CallLowering15", "Func": "lowerFormalArguments", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17928, "Length": 440, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SparcRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "getSubtargetImpl", "(", ")", "->", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcTargetMachine2", "Func": "getRegisterInfo", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17929, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "OR1KPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createOR1KDelaySlotFillerPass", "(", ")", ")", ";", "addPass", "(", "createNEMESISPass", "(", ")", ")", ";", "addPass", "(", "createZDCPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["OR1K", "OR1K", "OR1K"], "File": "OR1KTargetMachine1", "Func": "addPreEmitPass", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17930, "Length": 29, "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": 17931, "Length": 22, "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": 17932, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "AArch64RegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "if", "(", "CC", "==", "CallingConv", "::", "GHC", ")", "return", "CSR_AArch64_NoRegs_RegMask", ";", "if", "(", "CC", "==", "CallingConv", "::", "AnyReg", ")", "return", "CSR_AArch64_AllRegs_RegMask", ";", "if", "(", "CC", "==", "CallingConv", "::", "CXX_FAST_TLS", ")", "return", "CSR_AArch64_CXX_TLS_Darwin_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", "AArch64", "AArch64"], "File": "AArch64RegisterInfo (2)", "Func": "getCallPreservedMask", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17933, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ",", "bool", "OptForSize", ")", "const", "{", "bool", "IsLegal", "=", "false", ";", "const", "APInt", "ImmInt", "=", "Imm", ".", "bitcastToAPInt", "(", ")", ";", "if", "(", "VT", "==", "MVT", "::", "f64", ")", "IsLegal", "=", "AArch64_AM", "::", "getFP64Imm", "(", "ImmInt", ")", "!=", "-", "1", "||", "Imm", ".", "isPosZero", "(", ")", ";", "else", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "IsLegal", "=", "AArch64_AM", "::", "getFP32Imm", "(", "ImmInt", ")", "!=", "-", "1", "||", "Imm", ".", "isPosZero", "(", ")", ";", "else", "if", "(", "VT", "==", "MVT", "::", "f16", "&&", "Subtarget", "->", "hasFullFP16", "(", ")", ")", "IsLegal", "=", "AArch64_AM", "::", "getFP16Imm", "(", "ImmInt", ")", "!=", "-", "1", "||", "Imm", ".", "isPosZero", "(", ")", ";", "if", "(", "!", "IsLegal", "&&", "(", "VT", "==", "MVT", "::", "f64", "||", "VT", "==", "MVT", "::", "f32", ")", ")", "{", "SmallVector", "<", "AArch64_IMM", "::", "ImmInsnModel", ",", "4", ">", "Insn", ";", "AArch64_IMM", "::", "expandMOVImm", "(", "ImmInt", ".", "getZExtValue", "(", ")", ",", "VT", ".", "getSizeInBits", "(", ")", ",", "Insn", ")", ";", "unsigned", "Limit", "=", "(", "OptForSize", "?", "1", ":", "(", "Subtarget", "->", "hasFuseLiterals", "(", ")", "?", "5", ":", "2", ")", ")", ";", "IsLegal", "=", "Insn", ".", "size", "(", ")", "<=", "Limit", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "(", "IsLegal", "?", "\"Legal \"", ":", "\"Illegal \"", ")", "<<", "VT", ".", "getEVTString", "(", ")", "<<", "\" imm value: \"", ";", "Imm", ".", "dump", "(", ")", ";", ")", ";", "return", "IsLegal", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "can", "instruction", "select", "the", "specified", "FP", "immediate", "natively", "."], "TS_V_token": ["AArch64", "AArch64", "MVT::f64", "AArch64_AM::getFP64Imm", "1", "MVT::f32", "AArch64_AM::getFP32Imm", "1", "MVT::f16", "AArch64_AM::getFP16Imm", "1", "MVT::f64", "MVT::f32", "AArch64", "4", "AArch64", "1", "5", "2", "\"Legal \"", "\"Illegal \"", "\" imm value: \""], "File": "AArch64ISelLowering (2)2", "Func": "isFPImmLegal", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17934, "Length": 234, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "unsigned", "VReg", ")", "const", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "Function", "&", "F", "=", "*", "MF", ".", "getFunction", "(", ")", ";", "auto", "MIB", "=", "MIRBuilder", ".", "buildInstrNoInsert", "(", "AArch64", "::", "RET_ReallyLR", ")", ";", "assert", "(", "(", "(", "Val", "&&", "VReg", ")", "||", "(", "!", "Val", "&&", "!", "VReg", ")", ")", "&&", "\"Return value without a vreg\"", ")", ";", "bool", "Success", "=", "true", ";", "if", "(", "VReg", ")", "{", "const", "AArch64TargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "AArch64TargetLowering", ">", "(", ")", ";", "CCAssignFn", "*", "AssignFn", "=", "TLI", ".", "CCAssignFnForReturn", "(", "F", ".", "getCallingConv", "(", ")", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "auto", "&", "DL", "=", "F", ".", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "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", ")", ";", "}", ")", ";", "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", "8"], "File": "AArch64CallLowering18", "Func": "lowerReturn", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17935, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "init_cumulative_args", "(", "struct", "sparc_args", "*", "cum", ",", "tree", "fntype", ",", "rtx", "libname", "ATTRIBUTE_UNUSED", ",", "tree", "fndecl", "ATTRIBUTE_UNUSED", ")", "{", "cum", "->", "words", "=", "0", ";", "cum", "->", "prototype_p", "=", "fntype", "&&", "prototype_p", "(", "fntype", ")", ";", "cum", "->", "libcall_p", "=", "fntype", "==", "0", ";", "}", ""], "natrual_language": ["Handle", "the", "INIT_CUMULATIVE_ARGS", "macro", ".", "Initialize", "a", "variable", "CUM", "of", "type", "CUMULATIVE_ARGS", "for", "a", "call", "to", "a", "function", "whose", "data", "type", "is", "FNTYPE", ".", "For", "a", "library", "call", ",", "FNTYPE", "is", "0", "."], "TS_V_token": ["sparc", "0", "0"], "File": "sparc4", "Func": "init_cumulative_args", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17936, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMSubtarget", "::", "enablePostRAScheduler", "(", ")", "const", "{", "return", "(", "!", "isThumb", "(", ")", "||", "hasThumb2", "(", ")", ")", ";", "}", ""], "natrual_language": ["True", "if", "the", "subtarget", "should", "run", "a", "scheduler", "after", "register", "allocation", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMSubtarget60", "Func": "enablePostRAScheduler", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17937, "Length": 21, "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": 17938, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_finalize_stack_realign_flags", "(", "void", ")", "{", "unsigned", "int", "incoming_stack_boundary", "=", "(", "crtl", "->", "parm_stack_boundary", ">", "ix86_incoming_stack_boundary", "?", "crtl", "->", "parm_stack_boundary", ":", "ix86_incoming_stack_boundary", ")", ";", "unsigned", "int", "stack_realign", "=", "(", "incoming_stack_boundary", "<", "(", "crtl", "->", "is_leaf", "&&", "!", "ix86_current_function_calls_tls_descriptor", "?", "crtl", "->", "max_used_stack_slot_alignment", ":", "crtl", "->", "stack_alignment_needed", ")", ")", ";", "if", "(", "crtl", "->", "stack_realign_finalized", ")", "{", "gcc_assert", "(", "crtl", "->", "stack_realign_needed", "==", "stack_realign", ")", ";", "return", ";", "}", "if", "(", "stack_realign", "&&", "frame_pointer_needed", "&&", "crtl", "->", "is_leaf", "&&", "flag_omit_frame_pointer", "&&", "crtl", "->", "sp_is_unchanging", "&&", "!", "ix86_current_function_calls_tls_descriptor", "&&", "!", "crtl", "->", "accesses_prior_frames", "&&", "!", "cfun", "->", "calls_alloca", "&&", "!", "crtl", "->", "calls_eh_return", "&&", "!", "(", "STACK_CHECK_MOVING_SP", "&&", "flag_stack_check", "&&", "flag_exceptions", "&&", "cfun", "->", "can_throw_non_call_exceptions", ")", "&&", "!", "ix86_frame_pointer_required", "(", ")", "&&", "get_frame_size", "(", ")", "==", "0", "&&", "ix86_nsaved_sseregs", "(", ")", "==", "0", "&&", "ix86_varargs_gpr_size", "+", "ix86_varargs_fpr_size", "==", "0", ")", "{", "HARD_REG_SET", "set_up_by_prologue", ",", "prologue_used", ";", "basic_block", "bb", ";", "CLEAR_HARD_REG_SET", "(", "prologue_used", ")", ";", "CLEAR_HARD_REG_SET", "(", "set_up_by_prologue", ")", ";", "add_to_hard_reg_set", "(", "&", "set_up_by_prologue", ",", "Pmode", ",", "STACK_POINTER_REGNUM", ")", ";", "add_to_hard_reg_set", "(", "&", "set_up_by_prologue", ",", "Pmode", ",", "ARG_POINTER_REGNUM", ")", ";", "add_to_hard_reg_set", "(", "&", "set_up_by_prologue", ",", "Pmode", ",", "HARD_FRAME_POINTER_REGNUM", ")", ";", "FOR_EACH_BB_FN", "(", "bb", ",", "cfun", ")", "{", "rtx_insn", "*", "insn", ";", "FOR_BB_INSNS", "(", "bb", ",", "insn", ")", "if", "(", "NONDEBUG_INSN_P", "(", "insn", ")", "&&", "requires_stack_frame_p", "(", "insn", ",", "prologue_used", ",", "set_up_by_prologue", ")", ")", "{", "crtl", "->", "stack_realign_needed", "=", "stack_realign", ";", "crtl", "->", "stack_realign_finalized", "=", "true", ";", "return", ";", "}", "}", "if", "(", "crtl", "->", "drap_reg", ")", "{", "basic_block", "bb", "=", "ENTRY_BLOCK_PTR_FOR_FN", "(", "cfun", ")", "->", "next_bb", ";", "if", "(", "!", "REGNO_REG_SET_P", "(", "DF_LR_IN", "(", "bb", ")", ",", "REGNO", "(", "crtl", "->", "drap_reg", ")", ")", ")", "{", "crtl", "->", "drap_reg", "=", "NULL_RTX", ";", "crtl", "->", "need_drap", "=", "false", ";", "}", "}", "else", "cfun", "->", "machine", "->", "no_drap_save_restore", "=", "true", ";", "frame_pointer_needed", "=", "false", ";", "stack_realign", "=", "false", ";", "crtl", "->", "max_used_stack_slot_alignment", "=", "incoming_stack_boundary", ";", "crtl", "->", "stack_alignment_needed", "=", "incoming_stack_boundary", ";", "crtl", "->", "stack_alignment_estimated", "=", "incoming_stack_boundary", ";", "if", "(", "crtl", "->", "preferred_stack_boundary", ">", "incoming_stack_boundary", ")", "crtl", "->", "preferred_stack_boundary", "=", "incoming_stack_boundary", ";", "df_finish_pass", "(", "true", ")", ";", "df_scan_alloc", "(", "NULL", ")", ";", "df_scan_blocks", "(", ")", ";", "df_compute_regs_ever_live", "(", "true", ")", ";", "df_analyze", "(", ")", ";", "}", "crtl", "->", "stack_realign_needed", "=", "stack_realign", ";", "crtl", "->", "stack_realign_finalized", "=", "true", ";", "}", ""], "natrual_language": ["Finalize", "stack_realign_needed", "flag", ",", "which", "will", "guide", "prologue/epilogue", "to", "be", "generated", "in", "correct", "form", "."], "TS_V_token": ["i386", "0", "0", "0"], "File": "i3865", "Func": "ix86_finalize_stack_realign_flags", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17939, "Length": 374, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "moxie_compute_frame", "(", "void", ")", "{", "int", "stack_alignment", "=", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ";", "int", "padding_locals", ";", "int", "regno", ";", "cfun", "->", "machine", "->", "local_vars_size", "=", "get_frame_size", "(", ")", ";", "padding_locals", "=", "cfun", "->", "machine", "->", "local_vars_size", "%", "stack_alignment", ";", "if", "(", "padding_locals", ")", "padding_locals", "=", "stack_alignment", "-", "padding_locals", ";", "cfun", "->", "machine", "->", "local_vars_size", "+=", "padding_locals", ";", "cfun", "->", "machine", "->", "callee_saved_reg_size", "=", "0", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "df_regs_ever_live_p", "(", "regno", ")", "&&", "(", "!", "call_used_regs", "[", "regno", "]", ")", ")", "cfun", "->", "machine", "->", "callee_saved_reg_size", "+=", "4", ";", "cfun", "->", "machine", "->", "size_for_adjusting_sp", "=", "crtl", "->", "args", ".", "pretend_args_size", "+", "cfun", "->", "machine", "->", "local_vars_size", "+", "(", "ACCUMULATE_OUTGOING_ARGS", "?", "crtl", "->", "outgoing_args_size", ":", "0", ")", ";", "}", ""], "natrual_language": ["Compute", "the", "size", "of", "the", "local", "area", "and", "the", "size", "to", "be", "adjusted", "by", "the", "*", "prologue", "and", "epilogue", "."], "TS_V_token": ["moxie", "0", "0", "4", "0"], "File": "moxie2", "Func": "moxie_compute_frame", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17940, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mem_operand_gpr", "(", "rtx", "op", ",", "machine_mode", "mode", ")", "{", "unsigned", "HOST_WIDE_INT", "offset", ";", "int", "extra", ";", "rtx", "addr", "=", "XEXP", "(", "op", ",", "0", ")", ";", "op", "=", "address_offset", "(", "addr", ")", ";", "if", "(", "op", "==", "NULL_RTX", ")", "return", "true", ";", "offset", "=", "INTVAL", "(", "op", ")", ";", "if", "(", "TARGET_POWERPC64", "&&", "(", "offset", "&", "3", ")", "!=", "0", ")", "return", "false", ";", "extra", "=", "GET_MODE_SIZE", "(", "mode", ")", "-", "UNITS_PER_WORD", ";", "if", "(", "extra", "<", "0", ")", "extra", "=", "0", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "LO_SUM", ")", "offset", "=", "(", "(", "offset", "&", "0xffff", ")", "^", "0x8000", ")", "-", "0x8000", ";", "return", "offset", "+", "0x8000", "<", "0x10000u", "-", "extra", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "MEM", "operand", "is", "a", "memory", "operand", "suitable", "for", "use", "with", "a", "(", "full", "width", ",", "possibly", "multiple", ")", "gpr", "load/store", ".", "On", "powerpc64", "this", "means", "the", "offset", "must", "be", "divisible", "by", "4", ".", "Implements", "'", "Y", "'", "constraint", ".", "Accept", "direct", ",", "indexed", ",", "offset", ",", "lo_sum", "and", "tocref", ".", "Since", "this", "is", "a", "constraint", "function", "we", "know", "the", "operand", "has", "satisfied", "a", "suitable", "memory", "predicate", ".", "Offsetting", "a", "lo_sum", "should", "not", "be", "allowed", ",", "except", "where", "we", "know", "by", "alignment", "that", "a", "32k", "boundary", "is", "not", "crossed", ".", "Note", "that", "by", "``", "offsetting", "''", "here", "we", "mean", "a", "further", "offset", "to", "access", "parts", "of", "the", "MEM", ".", "It", "'s", "fine", "to", "have", "a", "lo_sum", "where", "the", "inner", "address", "is", "offset", "from", "a", "sym", ",", "since", "the", "same", "sym+offset", "will", "appear", "in", "the", "high", "part", "of", "the", "address", "calculation", "."], "TS_V_token": ["powerpcspe", "0", "3", "0", "0", "0", "0xffff", "0x8000", "0x8000", "0x8000", "0x10000u"], "File": "powerpcspe", "Func": "mem_operand_gpr", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17941, "Length": 117, "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": 17942, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMRegisterInfo", "::", "emitLoadConstPool", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "unsigned", "DestReg", ",", "int", "Val", ",", "unsigned", "Pred", ",", "unsigned", "PredReg", ",", "const", "TargetInstrInfo", "*", "TII", ",", "bool", "isThumb", ",", "DebugLoc", "dl", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineConstantPool", "*", "ConstantPool", "=", "MF", ".", "getConstantPool", "(", ")", ";", "Constant", "*", "C", "=", "ConstantInt", "::", "get", "(", "Type", "::", "Int32Ty", ",", "Val", ")", ";", "unsigned", "Idx", "=", "ConstantPool", "->", "getConstantPoolIndex", "(", "C", ",", "4", ")", ";", "if", "(", "isThumb", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", "->", "get", "(", "ARM", "::", "tLDRcp", ")", ",", "DestReg", ")", ".", "addConstantPoolIndex", "(", "Idx", ")", ";", "else", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", "->", "get", "(", "ARM", "::", "LDRcp", ")", ",", "DestReg", ")", ".", "addConstantPoolIndex", "(", "Idx", ")", ".", "addReg", "(", "0", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "Pred", ")", ".", "addReg", "(", "PredReg", ")", ";", "}", ""], "natrual_language": ["emitLoadConstPool", "-", "Emits", "a", "load", "from", "constpool", "to", "materialize", "the", "specified", "immediate", "."], "TS_V_token": ["ARM", "ARM", "4", "ARM::tLDRcp", "ARM::LDRcp", "0", "0"], "File": "ARMRegisterInfo13", "Func": "emitLoadConstPool", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17943, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_cost_data", "::", "adjust_vect_cost_per_loop", "(", "loop_vec_info", "loop_vinfo", ")", "{", "if", "(", "LOOP_VINFO_FULLY_WITH_LENGTH_P", "(", "loop_vinfo", ")", ")", "{", "rgroup_controls", "*", "rgc", ";", "unsigned", "int", "num_vectors_m1", ";", "unsigned", "int", "shift_cnt", "=", "0", ";", "FOR_EACH_VEC_ELT", "(", "LOOP_VINFO_LENS", "(", "loop_vinfo", ")", ",", "num_vectors_m1", ",", "rgc", ")", "if", "(", "rgc", "->", "type", ")", "shift_cnt", "+=", "num_vectors_m1", "+", "1", ";", "add_stmt_cost", "(", "shift_cnt", ",", "scalar_stmt", ",", "NULL", ",", "NULL", ",", "NULL_TREE", ",", "0", ",", "vect_body", ")", ";", "}", "}", ""], "natrual_language": ["For", "some", "target", "specific", "vectorization", "cost", "which", "ca", "n't", "be", "handled", "per", "stmt", ",", "we", "check", "the", "requisite", "conditions", "and", "adjust", "the", "vectorization", "cost", "accordingly", "if", "satisfied", ".", "One", "typical", "example", "is", "to", "model", "shift", "cost", "for", "vector", "with", "length", "by", "counting", "number", "of", "required", "lengths", "under", "condition", "LOOP_VINFO_FULLY_WITH_LENGTH_P", "."], "TS_V_token": ["rs6000", "0", "1", "0"], "File": "rs6000", "Func": "adjust_vect_cost_per_loop", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17944, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCELFStreamer", "::", "emitInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "PPCMCCodeEmitter", "*", "Emitter", "=", "static_cast", "<", "PPCMCCodeEmitter", "*", ">", "(", "getAssembler", "(", ")", ".", "getEmitterPtr", "(", ")", ")", ";", "if", "(", "!", "Emitter", "->", "isPrefixedInstruction", "(", "Inst", ")", ")", "{", "MCELFStreamer", "::", "emitInstruction", "(", "Inst", ",", "STI", ")", ";", "return", ";", "}", "emitPrefixedInstruction", "(", "Inst", ",", "STI", ")", ";", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC"], "File": "PPCELFStreamer7", "Func": "emitInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17945, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_init_builtins", "(", "void", ")", "{", "if", "(", "TARGET_FPU", ")", "sparc_fpu_init_builtins", "(", ")", ";", "if", "(", "TARGET_VIS", ")", "sparc_vis_init_builtins", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_INIT_BUILTINS", "target", "hook", ".", "Create", "builtin", "functions", "for", "special", "SPARC", "instructions", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "sparc_init_builtins", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17946, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "tls_call_delay", "(", "rtx", "trial", ")", "{", "rtx", "pat", ";", "if", "(", "TARGET_GNU_TLS", "||", "!", "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", "1", "1", "1", "1", "0", "1"], "File": "sparc3", "Func": "tls_call_delay", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17947, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arm_function_arg", "(", "cumulative_args_t", "pcum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "CUMULATIVE_ARGS", "*", "pcum", "=", "get_cumulative_args", "(", "pcum_v", ")", ";", "int", "nregs", ";", "if", "(", "mode", "==", "VOIDmode", ")", "return", "const0_rtx", ";", "if", "(", "pcum", "->", "pcs_variant", "<=", "ARM_PCS_AAPCS_LOCAL", ")", "{", "aapcs_layout_arg", "(", "pcum", ",", "mode", ",", "type", ",", "named", ")", ";", "return", "pcum", "->", "aapcs_reg", ";", "}", "if", "(", "TARGET_IWMMXT_ABI", "&&", "arm_vector_mode_supported_p", "(", "mode", ")", "&&", "pcum", "->", "named_count", ">", "pcum", "->", "nargs", "+", "1", ")", "{", "if", "(", "pcum", "->", "iwmmxt_nregs", "<=", "9", ")", "return", "gen_rtx_REG", "(", "mode", ",", "pcum", "->", "iwmmxt_nregs", "+", "FIRST_IWMMXT_REGNUM", ")", ";", "else", "{", "pcum", "->", "can_split", "=", "false", ";", "return", "NULL_RTX", ";", "}", "}", "if", "(", "(", "pcum", "->", "nregs", "&", "1", ")", "&&", "ARM_DOUBLEWORD_ALIGN", ")", "{", "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", ")", "pcum", "->", "nregs", "++", ";", "}", "if", "(", "pcum", "->", "can_split", ")", "nregs", "=", "1", ";", "else", "nregs", "=", "ARM_NUM_REGS2", "(", "mode", ",", "type", ")", ";", "if", "(", "!", "named", "||", "pcum", "->", "nregs", "+", "nregs", ">", "NUM_ARG_REGS", ")", "return", "NULL_RTX", ";", "return", "gen_rtx_REG", "(", "mode", ",", "pcum", "->", "nregs", ")", ";", "}", ""], "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", ")", ".", "On", "the", "ARM", ",", "normally", "the", "first", "16", "bytes", "are", "passed", "in", "registers", "r0-r3", ";", "all", "other", "arguments", "are", "passed", "on", "the", "stack", ".", "If", "(", "NAMED", "==", "0", ")", "(", "which", "happens", "only", "in", "assign_parms", ",", "since", "TARGET_SETUP_INCOMING_VARARGS", "is", "defined", ")", ",", "say", "it", "is", "passed", "in", "the", "stack", "(", "function_prologue", "will", "indeed", "make", "it", "pass", "in", "the", "stack", "if", "necessary", ")", "."], "TS_V_token": ["arm", "1", "9", "1", "0", "\"parameter passing for argument of type \"", "\"%qT changed in GCC 7.1\"", "0", "1"], "File": "arm6", "Func": "arm_function_arg", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17948, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "KudeyarTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "KudeyarPassConfig", "(", "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": ["Kudeyar", "Kudeyar", "Kudeyar"], "File": "KudeyarTargetMachine", "Func": "createPassConfig", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17949, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_expand_unop_vec_merge_builtin", "(", "enum", "insn_code", "icode", ",", "tree", "exp", ",", "rtx", "target", ")", "{", "rtx", "pat", ";", "tree", "arg0", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "rtx", "op1", ",", "op0", "=", "expand_normal", "(", "arg0", ")", ";", "machine_mode", "tmode", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "mode", ";", "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_args_builtin", "to", "take", "care", "of", "scalar", "unop", "insns", "with", "vec_merge", "."], "TS_V_token": ["i386", "0", "0", "1", "0", "1", "2", "0"], "File": "i386-expand", "Func": "ix86_expand_unop_vec_merge_builtin", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17950, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addIRPasses", "(", ")", "{", "if", "(", "TM", "->", "Options", ".", "ThreadModel", "==", "ThreadModel", "::", "Single", ")", "addPass", "(", "createLowerAtomicPass", "(", ")", ")", ";", "else", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableAtomicTidy", ")", "addPass", "(", "createCFGSimplificationPass", "(", "SimplifyCFGOptions", "(", ")", ".", "hoistCommonInsts", "(", "true", ")", ".", "sinkCommonInsts", "(", "true", ")", ",", "[", "this", "]", "(", "const", "Function", "&", "F", ")", "{", "const", "auto", "&", "ST", "=", "this", "->", "TM", "->", "getSubtarget", "<", "ARMSubtarget", ">", "(", "F", ")", ";", "return", "ST", ".", "hasAnyDataBarrier", "(", ")", "&&", "!", "ST", ".", "isThumb1Only", "(", ")", ";", "}", ")", ")", ";", "addPass", "(", "createMVEGatherScatterLoweringPass", "(", ")", ")", ";", "addPass", "(", "createMVELaneInterleavingPass", "(", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "if", "(", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "Aggressive", ")", "addPass", "(", "createARMParallelDSPPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createInterleavedAccessPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getTargetTriple", "(", ")", ".", "isOSWindows", "(", ")", ")", "addPass", "(", "createCFGuardCheckPass", "(", ")", ")", ";", "if", "(", "TM", "->", "Options", ".", "JMCInstrument", ")", "addPass", "(", "createJMCInstrumenterPass", "(", ")", ")", ";", "}", ""], "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": "ARMTargetMachine41", "Func": "addIRPasses", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17951, "Length": 202, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isThroughputPattern", "(", "MachineCombinerPattern", "Pattern", ")", "const", "{", "switch", "(", "Pattern", ")", "{", "default", ":", "break", ";", "case", "MachineCombinerPattern", "::", "FMULADDS_OP1", ":", "case", "MachineCombinerPattern", "::", "FMULADDS_OP2", ":", "case", "MachineCombinerPattern", "::", "FMULSUBS_OP1", ":", "case", "MachineCombinerPattern", "::", "FMULSUBS_OP2", ":", "case", "MachineCombinerPattern", "::", "FMULADDD_OP1", ":", "case", "MachineCombinerPattern", "::", "FMULADDD_OP2", ":", "case", "MachineCombinerPattern", "::", "FMULSUBD_OP1", ":", "case", "MachineCombinerPattern", "::", "FMULSUBD_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLAv1i32_indexed_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv1i32_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLAv1i64_indexed_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv1i64_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLAv2f32_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLAv2f32_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv2f64_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv2f64_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLAv2i32_indexed_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv2i32_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLAv2i64_indexed_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv2i64_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLAv4f32_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv4f32_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLAv4i32_indexed_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv4i32_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv1i32_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv1i64_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv2i32_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv2i64_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv2f32_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv2f64_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv4i32_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv4f32_OP2", ":", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "when", "a", "code", "sequence", "can", "improve", "throughput", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64InstrInfo109", "Func": "isThroughputPattern", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17952, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "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", ")", ";", "}", "}", ""], "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"], "File": "X86RegisterInfo41", "Func": "eliminateFrameIndex", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17953, "Length": 254, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TOYDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Selecting: \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"== custom Opcode \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "return", ";", "}", "SelectCode", "(", "Node", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["TOY", "TOY", "\"Selecting: \"", "\"\\n\"", "\"== custom Opcode \"", "\"\\n\""], "File": "TOYISelDAGToDAG1", "Func": "Select", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17954, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "isIndirectCall", "(", "const", "MachineInstr", "&", "MI", ")", "{", "int", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "case", "ARM", "::", "BLX", ":", "case", "ARM", "::", "BLX_noip", ":", "case", "ARM", "::", "BLX_pred", ":", "case", "ARM", "::", "BLX_pred_noip", ":", "case", "ARM", "::", "BX_CALL", ":", "case", "ARM", "::", "BMOVPCRX_CALL", ":", "case", "ARM", "::", "TCRETURNri", ":", "case", "ARM", "::", "TAILJMPr", ":", "case", "ARM", "::", "TAILJMPr4", ":", "case", "ARM", "::", "tBLXr", ":", "case", "ARM", "::", "tBLXr_noip", ":", "case", "ARM", "::", "tBLXNSr", ":", "case", "ARM", "::", "tBLXNS_CALL", ":", "case", "ARM", "::", "tBX_CALL", ":", "case", "ARM", "::", "tTAILJMPr", ":", "assert", "(", "MI", ".", "isCall", "(", "MachineInstr", "::", "IgnoreBundle", ")", ")", ";", "return", "true", ";", "case", "ARM", "::", "BL", ":", "case", "ARM", "::", "BL_pred", ":", "case", "ARM", "::", "BMOVPCB_CALL", ":", "case", "ARM", "::", "BL_PUSHLR", ":", "case", "ARM", "::", "BLXi", ":", "case", "ARM", "::", "TCRETURNdi", ":", "case", "ARM", "::", "TAILJMPd", ":", "case", "ARM", "::", "SVC", ":", "case", "ARM", "::", "HVC", ":", "case", "ARM", "::", "TPsoft", ":", "case", "ARM", "::", "tTAILJMPd", ":", "case", "ARM", "::", "t2SMC", ":", "case", "ARM", "::", "t2HVC", ":", "case", "ARM", "::", "tBL", ":", "case", "ARM", "::", "tBLXi", ":", "case", "ARM", "::", "tBL_PUSHLR", ":", "case", "ARM", "::", "tTAILJMPdND", ":", "case", "ARM", "::", "tSVC", ":", "case", "ARM", "::", "tTPsoft", ":", "assert", "(", "MI", ".", "isCall", "(", "MachineInstr", "::", "IgnoreBundle", ")", ")", ";", "return", "false", ";", "}", "assert", "(", "!", "MI", ".", "isCall", "(", "MachineInstr", "::", "IgnoreBundle", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "callsite", "is", "an", "indirect", "call", "."], "TS_V_token": ["ARM", "ARM::BLX", "ARM::BLX_noip", "ARM::BLX_pred", "ARM::BLX_pred_noip", "ARM::BX_CALL", "ARM::BMOVPCRX_CALL", "ARM::TCRETURNri", "ARM::TAILJMPr", "ARM::TAILJMPr4", "ARM::tBLXr", "ARM::tBLXr_noip", "ARM::tBLXNSr", "ARM::tBLXNS_CALL", "ARM::tBX_CALL", "ARM::tTAILJMPr", "ARM::BL", "ARM::BL_pred", "ARM::BMOVPCB_CALL", "ARM::BL_PUSHLR", "ARM::BLXi", "ARM::TCRETURNdi", "ARM::TAILJMPd", "ARM::SVC", "ARM::HVC", "ARM::TPsoft", "ARM::tTAILJMPd", "ARM::t2SMC", "ARM::t2HVC", "ARM::tBL", "ARM::tBLXi", "ARM::tBL_PUSHLR", "ARM::tTAILJMPdND", "ARM::tSVC", "ARM::tTPsoft"], "File": "ARMBaseInstrInfo (2)2", "Func": "isIndirectCall", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17955, "Length": 243, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "hasHighOperandLatency", "(", "const", "InstrItineraryData", "*", "ItinData", ",", "const", "MachineRegisterInfo", "*", "MRI", ",", "const", "MachineInstr", "*", "DefMI", ",", "unsigned", "DefIdx", ",", "const", "MachineInstr", "*", "UseMI", ",", "unsigned", "UseIdx", ")", "const", "{", "switch", "(", "DefMI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "X86", "::", "DIVSDrm", ":", "case", "X86", "::", "DIVSDrm_Int", ":", "case", "X86", "::", "DIVSDrr", ":", "case", "X86", "::", "DIVSDrr_Int", ":", "case", "X86", "::", "DIVSSrm", ":", "case", "X86", "::", "DIVSSrm_Int", ":", "case", "X86", "::", "DIVSSrr", ":", "case", "X86", "::", "DIVSSrr_Int", ":", "case", "X86", "::", "SQRTPDm", ":", "case", "X86", "::", "SQRTPDm_Int", ":", "case", "X86", "::", "SQRTPDr", ":", "case", "X86", "::", "SQRTPDr_Int", ":", "case", "X86", "::", "SQRTPSm", ":", "case", "X86", "::", "SQRTPSm_Int", ":", "case", "X86", "::", "SQRTPSr", ":", "case", "X86", "::", "SQRTPSr_Int", ":", "case", "X86", "::", "SQRTSDm", ":", "case", "X86", "::", "SQRTSDm_Int", ":", "case", "X86", "::", "SQRTSDr", ":", "case", "X86", "::", "SQRTSDr_Int", ":", "case", "X86", "::", "SQRTSSm", ":", "case", "X86", "::", "SQRTSSm_Int", ":", "case", "X86", "::", "SQRTSSr", ":", "case", "X86", "::", "SQRTSSr_Int", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Compute", "operand", "latency", "between", "a", "def", "of", "'Reg", "'", "and", "a", "use", "in", "the", "current", "loop", "."], "TS_V_token": ["X86", "X86", "X86::DIVSDrm", "X86::DIVSDrm_Int", "X86::DIVSDrr", "X86::DIVSDrr_Int", "X86::DIVSSrm", "X86::DIVSSrm_Int", "X86::DIVSSrr", "X86::DIVSSrr_Int", "X86::SQRTPDm", "X86::SQRTPDm_Int", "X86::SQRTPDr", "X86::SQRTPDr_Int", "X86::SQRTPSm", "X86::SQRTPSm_Int", "X86::SQRTPSr", "X86::SQRTPSr_Int", "X86::SQRTSDm", "X86::SQRTSDm_Int", "X86::SQRTSDr", "X86::SQRTSDr_Int", "X86::SQRTSSm", "X86::SQRTSSm_Int", "X86::SQRTSSr", "X86::SQRTSSr_Int"], "File": "X86InstrInfo53", "Func": "hasHighOperandLatency", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17956, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCSubtarget", "::", "overrideSchedPolicy", "(", "MachineSchedPolicy", "&", "Policy", ",", "MachineInstr", "*", "begin", ",", "MachineInstr", "*", "end", ",", "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": "PPCSubtarget (2)", "Func": "overrideSchedPolicy", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17957, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "gimple", "*", "gimple_folder", "::", "fold_to_pfalse", "(", ")", "{", "return", "gimple_build_assign", "(", "lhs", ",", "build_zero_cst", "(", "TREE_TYPE", "(", "lhs", ")", ")", ")", ";", "}", ""], "natrual_language": ["Fold", "the", "call", "to", "a", "PFALSE", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "fold_to_pfalse", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17958, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "xscale_sched_adjust_cost", "(", "rtx_insn", "*", "insn", ",", "int", "dep_type", ",", "rtx_insn", "*", "dep", ",", "int", "*", "cost", ")", "{", "if", "(", "dep_type", "==", "0", "&&", "recog_memoized", "(", "insn", ")", ">=", "0", "&&", "recog_memoized", "(", "dep", ")", ">=", "0", ")", "{", "int", "shift_opnum", "=", "get_attr_shift", "(", "insn", ")", ";", "enum", "attr_type", "attr_type", "=", "get_attr_type", "(", "dep", ")", ";", "if", "(", "shift_opnum", "!=", "0", "&&", "(", "attr_type", "==", "TYPE_ALU_SHIFT_IMM_LSL_1TO4", "||", "attr_type", "==", "TYPE_ALU_SHIFT_IMM_OTHER", "||", "attr_type", "==", "TYPE_ALUS_SHIFT_IMM", "||", "attr_type", "==", "TYPE_LOGIC_SHIFT_IMM", "||", "attr_type", "==", "TYPE_LOGICS_SHIFT_IMM", "||", "attr_type", "==", "TYPE_ALU_SHIFT_REG", "||", "attr_type", "==", "TYPE_ALUS_SHIFT_REG", "||", "attr_type", "==", "TYPE_LOGIC_SHIFT_REG", "||", "attr_type", "==", "TYPE_LOGICS_SHIFT_REG", "||", "attr_type", "==", "TYPE_MOV_SHIFT", "||", "attr_type", "==", "TYPE_MVN_SHIFT", "||", "attr_type", "==", "TYPE_MOV_SHIFT_REG", "||", "attr_type", "==", "TYPE_MVN_SHIFT_REG", ")", ")", "{", "rtx", "shifted_operand", ";", "int", "opno", ";", "extract_insn", "(", "insn", ")", ";", "shifted_operand", "=", "recog_data", ".", "operand", "[", "shift_opnum", "]", ";", "extract_insn", "(", "dep", ")", ";", "preprocess_constraints", "(", "dep", ")", ";", "for", "(", "opno", "=", "0", ";", "opno", "<", "recog_data", ".", "n_operands", ";", "opno", "++", ")", "{", "if", "(", "recog_data", ".", "operand_type", "[", "opno", "]", "==", "OP_IN", ")", "continue", ";", "if", "(", "reg_overlap_mentioned_p", "(", "recog_data", ".", "operand", "[", "opno", "]", ",", "shifted_operand", ")", ")", "{", "*", "cost", "=", "2", ";", "return", "false", ";", "}", "}", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Adjust", "cost", "hook", "for", "XScale", "."], "TS_V_token": ["arm", "0", "0", "0", "0", "0", "2"], "File": "arm", "Func": "xscale_sched_adjust_cost", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17959, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_valid_smw_lwm_base_p", "(", "rtx", "op", ")", "{", "rtx", "base_addr", ";", "if", "(", "!", "MEM_P", "(", "op", ")", ")", "return", "false", ";", "base_addr", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "REG_P", "(", "base_addr", ")", ")", "return", "true", ";", "else", "{", "if", "(", "GET_CODE", "(", "base_addr", ")", "==", "POST_INC", "&&", "REG_P", "(", "XEXP", "(", "base_addr", ",", "0", ")", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Auxiliary", "functions", "for", "lwm/smw", "."], "TS_V_token": ["nds32", "0", "0"], "File": "nds32-md-auxiliary", "Func": "nds32_valid_smw_lwm_base_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17960, "Length": 69, "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": 17961, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "match_to_right_bracket", "(", "void", ")", "{", "int", "lastpos", "=", "pos", "-", "1", ";", "while", "(", "lastpos", "<", "LINELEN", "-", "1", "&&", "linebuf", "[", "lastpos", "+", "1", "]", "!=", "']'", ")", "{", "if", "(", "linebuf", "[", "lastpos", "+", "1", "]", "==", "'\\n'", ")", "fatal", "(", "\"no ']' found before end of line.\\n\"", ")", ";", "++", "lastpos", ";", "}", "if", "(", "lastpos", ">=", "LINELEN", "-", "1", ")", "{", "diag", "(", "lastpos", ",", "\"line length overrun.\\n\"", ")", ";", "exit", "(", "1", ")", ";", "}", "if", "(", "lastpos", "<", "pos", ")", "return", "0", ";", "char", "*", "buf", "=", "(", "char", "*", ")", "malloc", "(", "lastpos", "-", "pos", "+", "2", ")", ";", "memcpy", "(", "buf", ",", "&", "linebuf", "[", "pos", "]", ",", "lastpos", "-", "pos", "+", "1", ")", ";", "buf", "[", "lastpos", "-", "pos", "+", "1", "]", "=", "'\\0'", ";", "pos", "=", "lastpos", "+", "1", ";", "return", "buf", ";", "}", ""], "natrual_language": ["Match", "a", "string", "up", "to", "but", "not", "including", "a", "'", "]", "'", ",", "and", "return", "its", "value", ",", "or", "zero", "if", "there", "is", "nothing", "before", "the", "'", "]", "'", ".", "Error", "if", "we", "do", "n't", "find", "such", "a", "character", "."], "TS_V_token": ["rs6000", "1", "1", "1", "1", "\"no ']' found before end of line.\\n\"", "1", "\"line length overrun.\\n\"", "1", "0", "2", "1", "1", "1"], "File": "rs6000-gen-builtins", "Func": "match_to_right_bracket", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17962, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "RegImmPair", ">", "AArch64InstrInfo", "::", "isAddImmediate", "(", "const", "MachineInstr", "&", "MI", ",", "Register", "Reg", ")", "const", "{", "int", "Sign", "=", "1", ";", "int64_t", "Offset", "=", "0", ";", "const", "MachineOperand", "&", "Op0", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "if", "(", "!", "Op0", ".", "isReg", "(", ")", "||", "Reg", "!=", "Op0", ".", "getReg", "(", ")", ")", "return", "None", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "None", ";", "case", "AArch64", "::", "SUBWri", ":", "case", "AArch64", "::", "SUBXri", ":", "case", "AArch64", "::", "SUBSWri", ":", "case", "AArch64", "::", "SUBSXri", ":", "Sign", "*=", "-", "1", ";", "LLVM_FALLTHROUGH", ";", "case", "AArch64", "::", "ADDSWri", ":", "case", "AArch64", "::", "ADDSXri", ":", "case", "AArch64", "::", "ADDWri", ":", "case", "AArch64", "::", "ADDXri", ":", "{", "if", "(", "!", "MI", ".", "getOperand", "(", "0", ")", ".", "isReg", "(", ")", "||", "!", "MI", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "||", "!", "MI", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", ")", "return", "None", ";", "int", "Shift", "=", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "assert", "(", "(", "Shift", "==", "0", "||", "Shift", "==", "12", ")", "&&", "\"Shift can be either 0 or 12\"", ")", ";", "Offset", "=", "Sign", "*", "(", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "<<", "Shift", ")", ";", "}", "}", "return", "RegImmPair", "{", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ",", "Offset", "}", ";", "}", ""], "natrual_language": ["If", "the", "specific", "machine", "instruction", "is", "an", "instruction", "that", "adds", "an", "immediate", "value", "and", "a", "register", ",", "and", "stores", "the", "result", "in", "the", "given", "register", "Reg", ",", "return", "a", "pair", "of", "the", "source", "register", "and", "the", "offset", "which", "has", "been", "added", "."], "TS_V_token": ["AArch64", "AArch64", "1", "0", "0", "AArch64::SUBWri", "AArch64::SUBXri", "AArch64::SUBSWri", "AArch64::SUBSXri", "1", "AArch64::ADDSWri", "AArch64::ADDSXri", "AArch64::ADDWri", "AArch64::ADDXri", "0", "1", "2", "3", "0", "12", "\"Shift can be either 0 or 12\"", "2", "1"], "File": "AArch64InstrInfo105", "Func": "isAddImmediate", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17963, "Length": 231, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "can_avoid_literal_pool_for_label_p", "(", "rtx", "x", ")", "{", "if", "(", "arm_disable_literal_pool", "&&", "SYMBOL_REF_P", "(", "x", ")", "&&", "CONSTANT_POOL_ADDRESS_P", "(", "x", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "can", "avoid", "creating", "a", "constant", "pool", "entry", "for", "x", "."], "TS_V_token": ["arm", "1", "0"], "File": "arm", "Func": "can_avoid_literal_pool_for_label_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17964, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "override", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "AArch64", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_aarch64_pcrel_adr_imm21\"", ",", "0", ",", "32", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_aarch64_pcrel_adrp_imm21\"", ",", "0", ",", "32", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_aarch64_add_imm12\"", ",", "10", ",", "12", ",", "0", "}", ",", "{", "\"fixup_aarch64_ldst_imm12_scale1\"", ",", "10", ",", "12", ",", "0", "}", ",", "{", "\"fixup_aarch64_ldst_imm12_scale2\"", ",", "10", ",", "12", ",", "0", "}", ",", "{", "\"fixup_aarch64_ldst_imm12_scale4\"", ",", "10", ",", "12", ",", "0", "}", ",", "{", "\"fixup_aarch64_ldst_imm12_scale8\"", ",", "10", ",", "12", ",", "0", "}", ",", "{", "\"fixup_aarch64_ldst_imm12_scale16\"", ",", "10", ",", "12", ",", "0", "}", ",", "{", "\"fixup_aarch64_ldr_pcrel_imm19\"", ",", "5", ",", "19", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_aarch64_movw\"", ",", "5", ",", "16", ",", "0", "}", ",", "{", "\"fixup_aarch64_pcrel_branch14\"", ",", "5", ",", "14", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_aarch64_pcrel_branch19\"", ",", "5", ",", "19", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_aarch64_pcrel_branch26\"", ",", "0", ",", "26", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_aarch64_pcrel_call26\"", ",", "0", ",", "26", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_aarch64_tlsdesc_call\"", ",", "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": ["AArch64", "AArch64::NumTargetFixupKinds", "\"fixup_aarch64_pcrel_adr_imm21\"", "0", "32", "\"fixup_aarch64_pcrel_adrp_imm21\"", "0", "32", "\"fixup_aarch64_add_imm12\"", "10", "12", "0", "\"fixup_aarch64_ldst_imm12_scale1\"", "10", "12", "0", "\"fixup_aarch64_ldst_imm12_scale2\"", "10", "12", "0", "\"fixup_aarch64_ldst_imm12_scale4\"", "10", "12", "0", "\"fixup_aarch64_ldst_imm12_scale8\"", "10", "12", "0", "\"fixup_aarch64_ldst_imm12_scale16\"", "10", "12", "0", "\"fixup_aarch64_ldr_pcrel_imm19\"", "5", "19", "\"fixup_aarch64_movw\"", "5", "16", "0", "\"fixup_aarch64_pcrel_branch14\"", "5", "14", "\"fixup_aarch64_pcrel_branch19\"", "5", "19", "\"fixup_aarch64_pcrel_branch26\"", "0", "26", "\"fixup_aarch64_pcrel_call26\"", "0", "26", "\"fixup_aarch64_tlsdesc_call\"", "0", "0", "0", "\"Invalid kind!\""], "File": "AArch64AsmBackend (2)", "Func": "getFixupKindInfo", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17965, "Length": 212, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_return", "(", "rtx", "insn", ")", "{", "if", "(", "sparc_leaf_function_p", ")", "{", "gcc_assert", "(", "!", "current_function_calls_eh_return", ")", ";", "return", "\"jmp\\t%%o7+%)%#\"", ";", "}", "else", "{", "if", "(", "current_function_calls_eh_return", ")", "{", "gcc_assert", "(", "!", "final_sequence", ")", ";", "if", "(", "!", "flag_delayed_branch", ")", "fputs", "(", "\"\\tadd\\t%fp, %g1, %fp\\n\"", ",", "asm_out_file", ")", ";", "if", "(", "TARGET_V9", ")", "fputs", "(", "\"\\treturn\\t%i7+8\\n\"", ",", "asm_out_file", ")", ";", "else", "fputs", "(", "\"\\trestore\\n\\tjmp\\t%o7+8\\n\"", ",", "asm_out_file", ")", ";", "if", "(", "flag_delayed_branch", ")", "fputs", "(", "\"\\t add\\t%sp, %g1, %sp\\n\"", ",", "asm_out_file", ")", ";", "else", "fputs", "(", "\"\\t nop\\n\"", ",", "asm_out_file", ")", ";", "}", "else", "if", "(", "final_sequence", ")", "{", "rtx", "delay", ",", "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", ")", ";", "output_restore", "(", "pat", ")", ";", "PATTERN", "(", "delay", ")", "=", "gen_blockage", "(", ")", ";", "INSN_CODE", "(", "delay", ")", "=", "-", "1", ";", "}", "}", "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", "\"jmp\\t%%o7+%)%#\"", "\"\\tadd\\t%fp, %g1, %fp\\n\"", "\"\\treturn\\t%i7+8\\n\"", "\"\\trestore\\n\\tjmp\\t%o7+8\\n\"", "\"\\t add\\t%sp, %g1, %sp\\n\"", "\"\\t nop\\n\"", "1", "0", "\"return\\t%%i7+%)%#\"", "\"jmp\\t%%i7+%)\"", "1", "\"return\\t%%i7+%)\\n\\t nop\"", "\"jmp\\t%%i7+%)\\n\\t restore\"", "\"restore\\n\\tjmp\\t%%o7+%)\\n\\t nop\"", "\"\""], "File": "sparc3", "Func": "output_return", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17966, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "selectBinaryOp", "(", "unsigned", "GenericOpc", ",", "unsigned", "RegBankID", ",", "unsigned", "OpSize", ")", "{", "switch", "(", "RegBankID", ")", "{", "case", "AArch64", "::", "GPRRegBankID", ":", "switch", "(", "OpSize", ")", "{", "case", "32", ":", "switch", "(", "GenericOpc", ")", "{", "case", "TargetOpcode", "::", "G_OR", ":", "return", "AArch64", "::", "ORRWrr", ";", "case", "TargetOpcode", "::", "G_XOR", ":", "return", "AArch64", "::", "EORWrr", ";", "case", "TargetOpcode", "::", "G_AND", ":", "return", "AArch64", "::", "ANDWrr", ";", "case", "TargetOpcode", "::", "G_ADD", ":", "return", "AArch64", "::", "ADDWrr", ";", "case", "TargetOpcode", "::", "G_SUB", ":", "return", "AArch64", "::", "SUBWrr", ";", "case", "TargetOpcode", "::", "G_SHL", ":", "return", "AArch64", "::", "LSLVWr", ";", "case", "TargetOpcode", "::", "G_LSHR", ":", "return", "AArch64", "::", "LSRVWr", ";", "case", "TargetOpcode", "::", "G_ASHR", ":", "return", "AArch64", "::", "ASRVWr", ";", "case", "TargetOpcode", "::", "G_SDIV", ":", "return", "AArch64", "::", "SDIVWr", ";", "case", "TargetOpcode", "::", "G_UDIV", ":", "return", "AArch64", "::", "UDIVWr", ";", "default", ":", "return", "GenericOpc", ";", "}", "case", "64", ":", "switch", "(", "GenericOpc", ")", "{", "case", "TargetOpcode", "::", "G_OR", ":", "return", "AArch64", "::", "ORRXrr", ";", "case", "TargetOpcode", "::", "G_XOR", ":", "return", "AArch64", "::", "EORXrr", ";", "case", "TargetOpcode", "::", "G_AND", ":", "return", "AArch64", "::", "ANDXrr", ";", "case", "TargetOpcode", "::", "G_ADD", ":", "return", "AArch64", "::", "ADDXrr", ";", "case", "TargetOpcode", "::", "G_SUB", ":", "return", "AArch64", "::", "SUBXrr", ";", "case", "TargetOpcode", "::", "G_SHL", ":", "return", "AArch64", "::", "LSLVXr", ";", "case", "TargetOpcode", "::", "G_LSHR", ":", "return", "AArch64", "::", "LSRVXr", ";", "case", "TargetOpcode", "::", "G_ASHR", ":", "return", "AArch64", "::", "ASRVXr", ";", "case", "TargetOpcode", "::", "G_SDIV", ":", "return", "AArch64", "::", "SDIVXr", ";", "case", "TargetOpcode", "::", "G_UDIV", ":", "return", "AArch64", "::", "UDIVXr", ";", "default", ":", "return", "GenericOpc", ";", "}", "}", "case", "AArch64", "::", "FPRRegBankID", ":", "switch", "(", "OpSize", ")", "{", "case", "32", ":", "switch", "(", "GenericOpc", ")", "{", "case", "TargetOpcode", "::", "G_FADD", ":", "return", "AArch64", "::", "FADDSrr", ";", "case", "TargetOpcode", "::", "G_FSUB", ":", "return", "AArch64", "::", "FSUBSrr", ";", "case", "TargetOpcode", "::", "G_FMUL", ":", "return", "AArch64", "::", "FMULSrr", ";", "case", "TargetOpcode", "::", "G_FDIV", ":", "return", "AArch64", "::", "FDIVSrr", ";", "default", ":", "return", "GenericOpc", ";", "}", "case", "64", ":", "switch", "(", "GenericOpc", ")", "{", "case", "TargetOpcode", "::", "G_FADD", ":", "return", "AArch64", "::", "FADDDrr", ";", "case", "TargetOpcode", "::", "G_FSUB", ":", "return", "AArch64", "::", "FSUBDrr", ";", "case", "TargetOpcode", "::", "G_FMUL", ":", "return", "AArch64", "::", "FMULDrr", ";", "case", "TargetOpcode", "::", "G_FDIV", ":", "return", "AArch64", "::", "FDIVDrr", ";", "default", ":", "return", "GenericOpc", ";", "}", "}", "}", ";", "return", "GenericOpc", ";", "}", ""], "natrual_language": ["Select", "and", "emit", "code", "for", "a", "binary", "operator", "instruction", ",", "which", "has", "an", "opcode", "which", "directly", "corresponds", "to", "the", "given", "ISD", "opcode", "."], "TS_V_token": ["AArch64", "AArch64::GPRRegBankID", "32", "AArch64::ORRWrr", "AArch64::EORWrr", "AArch64::ANDWrr", "AArch64::ADDWrr", "AArch64::SUBWrr", "AArch64::LSLVWr", "AArch64::LSRVWr", "AArch64::ASRVWr", "AArch64::SDIVWr", "AArch64::UDIVWr", "64", "AArch64::ORRXrr", "AArch64::EORXrr", "AArch64::ANDXrr", "AArch64::ADDXrr", "AArch64::SUBXrr", "AArch64::LSLVXr", "AArch64::LSRVXr", "AArch64::ASRVXr", "AArch64::SDIVXr", "AArch64::UDIVXr", "AArch64::FPRRegBankID", "32", "AArch64::FADDSrr", "AArch64::FSUBSrr", "AArch64::FMULSrr", "AArch64::FDIVSrr", "64", "AArch64::FADDDrr", "AArch64::FSUBDrr", "AArch64::FMULDrr", "AArch64::FDIVDrr"], "File": "AArch64InstructionSelector61", "Func": "selectBinaryOp", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17967, "Length": 383, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "csky_output_ck801_move", "(", "rtx", "insn", "ATTRIBUTE_UNUSED", ",", "rtx", "operands", "[", "]", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "rtx", "dst", "=", "operands", "[", "0", "]", ";", "rtx", "src", "=", "operands", "[", "1", "]", ";", "struct", "csky_address", "op1", ";", "if", "(", "REG_P", "(", "dst", ")", ")", "{", "if", "(", "REG_P", "(", "src", ")", ")", "return", "\"mov\\t%0, %1\"", ";", "else", "if", "(", "GET_CODE", "(", "src", ")", "==", "MEM", ")", "{", "decompose_csky_address", "(", "XEXP", "(", "src", ",", "0", ")", ",", "&", "op1", ")", ";", "if", "(", "op1", ".", "label", ")", "return", "\"lrw\\t%0, %1\"", ";", "else", "switch", "(", "GET_MODE", "(", "src", ")", ")", "{", "case", "E_HImode", ":", "return", "\"ld.h\\t%0, %1\"", ";", "case", "E_QImode", ":", "return", "\"ld.b\\t%0, %1\"", ";", "case", "E_SFmode", ":", "case", "E_SImode", ":", "return", "\"ld.w\\t%0, %1\"", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "if", "(", "GET_CODE", "(", "src", ")", "==", "CONST_INT", ")", "{", "if", "(", "REGNO", "(", "dst", ")", ">", "7", ")", "return", "\"lrw\\t%0, %x1\\t\"", ";", "else", "if", "(", "CSKY_CONST_OK_FOR_N", "(", "INTVAL", "(", "src", ")", "+", "1", ")", ")", "return", "\"movi\\t%0, %1\"", ";", "else", "if", "(", "CSKY_CONST_OK_FOR_T", "(", "INTVAL", "(", "src", ")", ")", ")", "return", "\"#\"", ";", "else", "if", "(", "csky_shifted_imm8_constant", "(", "INTVAL", "(", "src", ")", ",", "NULL", ",", "NULL", ")", ")", "return", "\"#\"", ";", "else", "return", "\"lrw\\t%0, %x1\\t\"", ";", "}", "else", "if", "(", "GET_CODE", "(", "src", ")", "==", "CONST_DOUBLE", "&&", "GET_MODE", "(", "src", ")", "==", "SFmode", ")", "{", "const", "REAL_VALUE_TYPE", "*", "d", ";", "long", "l", ";", "d", "=", "CONST_DOUBLE_REAL_VALUE", "(", "src", ")", ";", "REAL_VALUE_TO_TARGET_SINGLE", "(", "*", "d", ",", "l", ")", ";", "operands", "[", "1", "]", "=", "GEN_INT", "(", "l", ")", ";", "src", "=", "operands", "[", "1", "]", ";", "if", "(", "CSKY_CONST_OK_FOR_N", "(", "INTVAL", "(", "src", ")", "+", "1", ")", ")", "return", "\"movi\\t%0, %1\"", ";", "else", "return", "\"lrw\\t%0, %x1\\t\"", ";", "}", "else", "if", "(", "TARGET_ANCHOR", "&&", "GET_CODE", "(", "src", ")", "==", "SYMBOL_REF", ")", "{", "if", "(", "SYMBOL_REF_FUNCTION_P", "(", "src", ")", ")", "return", "\"lrw\\t%0, %1@BTEXT\"", ";", "else", "return", "\"lrw\\t%0, %1@BDATA\"", ";", "}", "else", "return", "\"lrw\\t%0, %1\"", ";", "}", "else", "if", "(", "GET_CODE", "(", "dst", ")", "==", "MEM", ")", "switch", "(", "GET_MODE", "(", "dst", ")", ")", "{", "case", "E_HImode", ":", "return", "\"st.h\\t%1, %0\"", ";", "case", "E_QImode", ":", "return", "\"st.b\\t%1, %0\"", ";", "case", "E_SImode", ":", "case", "E_SFmode", ":", "return", "\"st.w\\t%1, %0\"", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Output", "a", "move", "of", "a", "word", "or", "less", "value", ".", "Specific", "for", "ck801", "."], "TS_V_token": ["csky", "0", "1", "\"mov\\t%0, %1\"", "0", "\"lrw\\t%0, %1\"", "\"ld.h\\t%0, %1\"", "\"ld.b\\t%0, %1\"", "\"ld.w\\t%0, %1\"", "7", "\"lrw\\t%0, %x1\\t\"", "1", "\"movi\\t%0, %1\"", "\"#\"", "\"#\"", "\"lrw\\t%0, %x1\\t\"", "1", "1", "1", "\"movi\\t%0, %1\"", "\"lrw\\t%0, %x1\\t\"", "\"lrw\\t%0, %1@BTEXT\"", "\"lrw\\t%0, %1@BDATA\"", "\"lrw\\t%0, %1\"", "\"st.h\\t%1, %0\"", "\"st.b\\t%1, %0\"", "\"st.w\\t%1, %0\""], "File": "csky", "Func": "csky_output_ck801_move", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17968, "Length": 366, "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": ["ARM"], "File": "ARMTargetTransformInfo", "Func": "getAnalysisUsage", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17969, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcRegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "I", ";", "DebugLoc", "dl", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "int", "Size", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "SP", "::", "ADJCALLSTACKDOWN", ")", "Size", "=", "-", "Size", ";", "if", "(", "Size", ")", "BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "ADDri", ")", ",", "SP", "::", "O6", ")", ".", "addReg", "(", "SP", "::", "O6", ")", ".", "addImm", "(", "Size", ")", ";", "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": ["Sparc", "Sparc", "0", "SP::ADJCALLSTACKDOWN", "SP::ADDri", "SP::O6", "SP::O6"], "File": "SparcRegisterInfo12", "Func": "eliminateCallFramePseudoInstr", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17970, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SparcRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "int", "*", "Value", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", "&&", "\"Unexpected\"", ")", ";", "unsigned", "i", "=", "0", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "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", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "int", "Offset", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FrameIndex", ")", "+", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "Offset", ">=", "-", "4096", "&&", "Offset", "<=", "4095", ")", "{", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "SP", "::", "I6", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", "else", "{", "unsigned", "OffHi", "=", "(", "unsigned", ")", "Offset", ">>", "10U", ";", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "SETHIi", ")", ",", "SP", "::", "G1", ")", ".", "addImm", "(", "OffHi", ")", ";", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "ADDrr", ")", ",", "SP", "::", "G1", ")", ".", "addReg", "(", "SP", "::", "G1", ")", ".", "addReg", "(", "SP", "::", "I6", ")", ";", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "SP", "::", "G1", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", "&", "(", "(", "1", "<<", "10", ")", "-", "1", ")", ")", ";", "}", "return", "0", ";", "}", ""], "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\"", "0", "\"Instr doesn't have FrameIndex operand!\"", "1", "4096", "4095", "SP::I6", "1", "10U", "SP::SETHIi", "SP::G1", "SP::ADDrr", "SP::G1", "SP::G1", "SP::I6", "SP::G1", "1", "1", "10", "1", "0"], "File": "SparcRegisterInfo25", "Func": "eliminateFrameIndex", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17971, "Length": 314, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb2InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "RC", "==", "ARM", "::", "GPRRegisterClass", "||", "RC", "==", "ARM", "::", "tGPRRegisterClass", "||", "RC", "==", "ARM", "::", "tcGPRRegisterClass", "||", "RC", "==", "ARM", "::", "rGPRRegisterClass", "||", "RC", "==", "ARM", "::", "GPRnopcRegisterClass", ")", "{", "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", "::", "t2LDRi12", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ")", ";", "return", ";", "}", "ARMBaseInstrInfo", "::", "loadRegFromStackSlot", "(", "MBB", ",", "I", ",", "DestReg", ",", "FI", ",", "RC", ",", "TRI", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM::GPRRegisterClass", "ARM::tGPRRegisterClass", "ARM::tcGPRRegisterClass", "ARM::rGPRRegisterClass", "ARM::GPRnopcRegisterClass", "ARM::t2LDRi12", "0", "ARM"], "File": "Thumb2InstrInfo63", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17972, "Length": 202, "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": 17973, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "cortex_a9_sched_adjust_cost", "(", "rtx_insn", "*", "insn", ",", "rtx", "link", ",", "rtx_insn", "*", "dep", ",", "int", "*", "cost", ")", "{", "switch", "(", "REG_NOTE_KIND", "(", "link", ")", ")", "{", "case", "REG_DEP_ANTI", ":", "*", "cost", "=", "0", ";", "return", "false", ";", "case", "REG_DEP_TRUE", ":", "case", "REG_DEP_OUTPUT", ":", "if", "(", "recog_memoized", "(", "insn", ")", ">=", "0", "&&", "recog_memoized", "(", "dep", ")", ">=", "0", ")", "{", "if", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "SET", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "SET_DEST", "(", "PATTERN", "(", "insn", ")", ")", ")", ")", "==", "MODE_FLOAT", "||", "GET_MODE_CLASS", "(", "GET_MODE", "(", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ")", ")", "==", "MODE_FLOAT", ")", "{", "enum", "attr_type", "attr_type_insn", "=", "get_attr_type", "(", "insn", ")", ";", "enum", "attr_type", "attr_type_dep", "=", "get_attr_type", "(", "dep", ")", ";", "if", "(", "REG_P", "(", "SET_DEST", "(", "PATTERN", "(", "insn", ")", ")", ")", "&&", "REG_P", "(", "SET_DEST", "(", "PATTERN", "(", "dep", ")", ")", ")", "&&", "reg_overlap_mentioned_p", "(", "SET_DEST", "(", "PATTERN", "(", "insn", ")", ")", ",", "SET_DEST", "(", "PATTERN", "(", "dep", ")", ")", ")", ")", "{", "if", "(", "(", "attr_type_insn", "==", "TYPE_FMACS", "||", "attr_type_insn", "==", "TYPE_FMACD", ")", "&&", "(", "attr_type_dep", "==", "TYPE_FMACS", "||", "attr_type_dep", "==", "TYPE_FMACD", ")", ")", "{", "if", "(", "REG_NOTE_KIND", "(", "link", ")", "==", "REG_DEP_OUTPUT", ")", "*", "cost", "=", "insn_default_latency", "(", "dep", ")", "-", "3", ";", "else", "*", "cost", "=", "insn_default_latency", "(", "dep", ")", ";", "return", "false", ";", "}", "else", "{", "if", "(", "REG_NOTE_KIND", "(", "link", ")", "==", "REG_DEP_OUTPUT", ")", "*", "cost", "=", "insn_default_latency", "(", "dep", ")", "+", "1", ";", "else", "*", "cost", "=", "insn_default_latency", "(", "dep", ")", ";", "}", "return", "false", ";", "}", "}", "}", "}", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Adjust", "cost", "hook", "for", "Cortex", "A9", "."], "TS_V_token": ["arm", "0", "0", "0", "3", "1"], "File": "arm4", "Func": "cortex_a9_sched_adjust_cost", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17974, "Length": 278, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCLinuxAsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "const", "DataLayout", "*", "TD", "=", "TM", ".", "getDataLayout", "(", ")", ";", "bool", "isPPC64", "=", "TD", "->", "getPointerSizeInBits", "(", ")", "==", "64", ";", "PPCTargetStreamer", "&", "TS", "=", "static_cast", "<", "PPCTargetStreamer", "&", ">", "(", "*", "OutStreamer", ".", "getTargetStreamer", "(", ")", ")", ";", "if", "(", "!", "TOC", ".", "empty", "(", ")", ")", "{", "const", "MCSectionELF", "*", "Section", ";", "if", "(", "isPPC64", ")", "Section", "=", "OutStreamer", ".", "getContext", "(", ")", ".", "getELFSection", "(", "\".toc\"", ",", "ELF", "::", "SHT_PROGBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getReadOnly", "(", ")", ")", ";", "else", "Section", "=", "OutStreamer", ".", "getContext", "(", ")", ".", "getELFSection", "(", "\".got2\"", ",", "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", "=", "I", "->", "first", ";", "if", "(", "isPPC64", ")", "TS", ".", "emitTCEntry", "(", "*", "S", ")", ";", "else", "OutStreamer", ".", "EmitSymbolValue", "(", "S", ",", "4", ")", ";", "}", "}", "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", ")", ";", "}", "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", "PPC", "PPC", "\".toc\"", "\".got2\"", "PPC", "4", "0", "PPC", "8", "4"], "File": "PPCAsmPrinter6", "Func": "doFinalization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17975, "Length": 350, "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", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "bool", "Is64Bit", "=", "Subtarget", "->", "is64Bit", "(", ")", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "getTargetMachine", "(", ")", ",", "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", ".", "getValVT", "(", ")", ";", "if", "(", "(", "CopyVT", "==", "MVT", "::", "f32", "||", "CopyVT", "==", "MVT", "::", "f64", ")", "&&", "(", "(", "Is64Bit", "||", "Ins", "[", "i", "]", ".", "Flags", ".", "isInReg", "(", ")", ")", "&&", "!", "Subtarget", "->", "hasSSE1", "(", ")", ")", ")", "{", "report_fatal_error", "(", "\"SSE register return with SSE disabled\"", ")", ";", "}", "SDValue", "Val", ";", "if", "(", "VA", ".", "getLocReg", "(", ")", "==", "X86", "::", "ST0", "||", "VA", ".", "getLocReg", "(", ")", "==", "X86", "::", "ST1", ")", "{", "if", "(", "isScalarFPTypeInSSEReg", "(", "VA", ".", "getValVT", "(", ")", ")", ")", "CopyVT", "=", "MVT", "::", "f80", ";", "SDValue", "Ops", "[", "]", "=", "{", "Chain", ",", "InFlag", "}", ";", "Chain", "=", "SDValue", "(", "DAG", ".", "getMachineNode", "(", "X86", "::", "FpPOP_RETVAL", ",", "dl", ",", "CopyVT", ",", "MVT", "::", "Other", ",", "MVT", "::", "Glue", ",", "Ops", ",", "2", ")", ",", "1", ")", ";", "Val", "=", "Chain", ".", "getValue", "(", "0", ")", ";", "if", "(", "CopyVT", "!=", "VA", ".", "getValVT", "(", ")", ")", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "FP_ROUND", ",", "dl", ",", "VA", ".", "getValVT", "(", ")", ",", "Val", ",", "DAG", ".", "getIntPtrConstant", "(", "1", ")", ")", ";", "}", "else", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "CopyVT", ",", "InFlag", ")", ".", "getValue", "(", "1", ")", ";", "Val", "=", "Chain", ".", "getValue", "(", "0", ")", ";", "}", "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", "\"SSE register return with SSE disabled\"", "X86::ST0", "X86::ST1", "MVT::f80", "X86::FpPOP_RETVAL", "MVT::Other", "MVT::Glue", "2", "1", "0", "ISD::FP_ROUND", "1", "1", "0", "2"], "File": "X86ISelLowering121", "Func": "LowerCallResult", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17976, "Length": 379, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "ARMBaseRegisterInfo", "::", "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": "ARMBaseRegisterInfo12", "Func": "getReservedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17977, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TargetLoweringObjectFileNaCl", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "StaticCtorSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".init_array\"", ",", "ELF", "::", "SHT_INIT_ARRAY", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getDataRel", "(", ")", ")", ";", "StaticDtorSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".fini_array\"", ",", "ELF", "::", "SHT_FINI_ARRAY", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getDataRel", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["X86", "\".init_array\"", "\".fini_array\""], "File": "X86TargetObjectFile24", "Func": "Initialize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17978, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsCodeEmitter", "::", "getBranchTargetOpValueMM", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "OpNo", ")", "const", "{", "llvm_unreachable", "(", "\"Unimplemented function.\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "microMIPS", "branch", "target", "operand", "."], "TS_V_token": ["Mips", "Mips", "\"Unimplemented function.\"", "0"], "File": "MipsCodeEmitter11", "Func": "getBranchTargetOpValueMM", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17979, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "LanaiRegisterInfo", "*", "LRI", "=", "static_cast", "<", "const", "LanaiRegisterInfo", "*", ">", "(", "STI", ".", "getRegisterInfo", "(", ")", ")", ";", "int", "Offset", "=", "-", "4", ";", "MFI", "->", "CreateFixedObject", "(", "4", ",", "Offset", ",", "true", ")", ";", "Offset", "-=", "4", ";", "MFI", "->", "CreateFixedObject", "(", "4", ",", "Offset", ",", "true", ")", ";", "Offset", "-=", "4", ";", "if", "(", "LRI", "->", "hasBasePointer", "(", "MF", ")", ")", "{", "MFI", "->", "CreateFixedObject", "(", "4", ",", "Offset", ",", "true", ")", ";", "SavedRegs", ".", "reset", "(", "LRI", "->", "getBaseRegister", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai", "Lanai", "4", "4", "4", "4", "4", "4"], "File": "LanaiFrameLowering", "Func": "determineCalleeSaves", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17980, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0AsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "int", "Offset", "=", "0", ";", "if", "(", "ExtraCode", ")", "{", "return", "true", ";", "}", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "assert", "(", "MO", ".", "isReg", "(", ")", "&&", "\"unexpected inline asm memory operand\"", ")", ";", "O", "<<", "Offset", "<<", "\"($\"", "<<", "Cpu0InstPrinter", "::", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", "<<", "\")\"", ";", "return", "false", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "."], "TS_V_token": ["Cpu0", "Cpu0", "0", "\"unexpected inline asm memory operand\"", "\"($\"", "Cpu0", "\")\""], "File": "Cpu0AsmPrinter3", "Func": "PrintAsmMemoryOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17981, "Length": 86, "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": 17982, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"PPC CTR Loops\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["PowerPC", "\"PPC CTR Loops\""], "File": "PPCCTRLoops2", "Func": "getPassName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17983, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "getPreIndexedAddressParts", "(", "SDNode", "*", "N", ",", "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", "(", "Ptr", ".", "getNode", "(", ")", ",", "Base", ",", "Offset", ",", "AM", ",", "IsInc", ",", "DAG", ")", ")", "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": ["AArch64", "AArch64", "ISD::MemIndexedMode", "ISD::PRE_INC", "ISD::PRE_DEC"], "File": "AArch64ISelLowering (2)", "Func": "getPreIndexedAddressParts", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17984, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "standard_sse_constant_opcode", "(", "rtx_insn", "*", "insn", ",", "rtx", "x", ")", "{", "switch", "(", "standard_sse_constant_p", "(", "x", ")", ")", "{", "case", "1", ":", "switch", "(", "get_attr_mode", "(", "insn", ")", ")", "{", "case", "MODE_XI", ":", "return", "\"vpxord\\t%g0, %g0, %g0\"", ";", "case", "MODE_V16SF", ":", "return", "TARGET_AVX512DQ", "?", "\"vxorps\\t%g0, %g0, %g0\"", ":", "\"vpxord\\t%g0, %g0, %g0\"", ";", "case", "MODE_V8DF", ":", "return", "TARGET_AVX512DQ", "?", "\"vxorpd\\t%g0, %g0, %g0\"", ":", "\"vpxorq\\t%g0, %g0, %g0\"", ";", "case", "MODE_TI", ":", "return", "TARGET_AVX512VL", "?", "\"vpxord\\t%t0, %t0, %t0\"", ":", "\"%vpxor\\t%0, %d0\"", ";", "case", "MODE_V2DF", ":", "return", "\"%vxorpd\\t%0, %d0\"", ";", "case", "MODE_V4SF", ":", "return", "\"%vxorps\\t%0, %d0\"", ";", "case", "MODE_OI", ":", "return", "TARGET_AVX512VL", "?", "\"vpxord\\t%x0, %x0, %x0\"", ":", "\"vpxor\\t%x0, %x0, %x0\"", ";", "case", "MODE_V4DF", ":", "return", "\"vxorpd\\t%x0, %x0, %x0\"", ";", "case", "MODE_V8SF", ":", "return", "\"vxorps\\t%x0, %x0, %x0\"", ";", "default", ":", "break", ";", "}", "case", "2", ":", "if", "(", "TARGET_AVX512VL", "||", "get_attr_mode", "(", "insn", ")", "==", "MODE_XI", "||", "get_attr_mode", "(", "insn", ")", "==", "MODE_V8DF", "||", "get_attr_mode", "(", "insn", ")", "==", "MODE_V16SF", ")", "return", "\"vpternlogd\\t{$0xFF, %g0, %g0, %g0|%g0, %g0, %g0, 0xFF}\"", ";", "if", "(", "TARGET_AVX", ")", "return", "\"vpcmpeqd\\t%0, %0, %0\"", ";", "else", "return", "\"pcmpeqd\\t%0, %0\"", ";", "default", ":", "break", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "opcode", "of", "the", "special", "instruction", "to", "be", "used", "to", "load", "the", "constant", "X", "."], "TS_V_token": ["i386", "1", "\"vpxord\\t%g0, %g0, %g0\"", "\"vxorps\\t%g0, %g0, %g0\"", "\"vpxord\\t%g0, %g0, %g0\"", "\"vxorpd\\t%g0, %g0, %g0\"", "\"vpxorq\\t%g0, %g0, %g0\"", "\"vpxord\\t%t0, %t0, %t0\"", "\"%vpxor\\t%0, %d0\"", "\"%vxorpd\\t%0, %d0\"", "\"%vxorps\\t%0, %d0\"", "\"vpxord\\t%x0, %x0, %x0\"", "\"vpxor\\t%x0, %x0, %x0\"", "\"vxorpd\\t%x0, %x0, %x0\"", "\"vxorps\\t%x0, %x0, %x0\"", "2", "\"vpternlogd\\t{$0xFF, %g0, %g0, %g0|%g0, %g0, %g0, 0xFF}\"", "\"vpcmpeqd\\t%0, %0, %0\"", "\"pcmpeqd\\t%0, %0\""], "File": "i3864", "Func": "standard_sse_constant_opcode", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17985, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "pru_initial_elimination_offset", "(", "int", "from", ",", "int", "to", ")", "{", "int", "offset", ";", "switch", "(", "from", ")", "{", "case", "FRAME_POINTER_REGNUM", ":", "offset", "=", "cfun", "->", "machine", "->", "out_args_size", ";", "break", ";", "case", "ARG_POINTER_REGNUM", ":", "offset", "=", "cfun", "->", "machine", "->", "total_size", ";", "offset", "-=", "crtl", "->", "args", ".", "pretend_args_size", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "to", "==", "HARD_FRAME_POINTER_REGNUM", ")", "offset", "-=", "cfun", "->", "machine", "->", "total_size", "-", "crtl", "->", "args", ".", "pretend_args_size", ";", "return", "offset", ";", "}", ""], "natrual_language": ["Implement", "INITIAL_ELIMINATION_OFFSET", "macro", "."], "TS_V_token": ["pru"], "File": "pru", "Func": "pru_initial_elimination_offset", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17986, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "AArch64TargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "IsMemset", ",", "bool", "ZeroMemset", ",", "bool", "MemcpyStrSrc", ",", "MachineFunction", "&", "MF", ")", "const", "{", "bool", "Fast", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "Subtarget", "->", "hasFPARMv8", "(", ")", "&&", "!", "IsMemset", "&&", "Size", ">=", "16", "&&", "!", "F", ".", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", "&&", "(", "memOpAlign", "(", "SrcAlign", ",", "DstAlign", ",", "16", ")", "||", "(", "allowsMisalignedMemoryAccesses", "(", "MVT", "::", "f128", ",", "0", ",", "1", ",", "&", "Fast", ")", "&&", "Fast", ")", ")", ")", "return", "MVT", "::", "f128", ";", "if", "(", "Size", ">=", "8", "&&", "(", "memOpAlign", "(", "SrcAlign", ",", "DstAlign", ",", "8", ")", "||", "(", "allowsMisalignedMemoryAccesses", "(", "MVT", "::", "i64", ",", "0", ",", "1", ",", "&", "Fast", ")", "&&", "Fast", ")", ")", ")", "return", "MVT", "::", "i64", ";", "if", "(", "Size", ">=", "4", "&&", "(", "memOpAlign", "(", "SrcAlign", ",", "DstAlign", ",", "4", ")", "||", "(", "allowsMisalignedMemoryAccesses", "(", "MVT", "::", "i32", ",", "0", ",", "1", ",", "&", "Fast", ")", "&&", "Fast", ")", ")", ")", "return", "MVT", "::", "i32", ";", "return", "MVT", "::", "Other", ";", "}", ""], "natrual_language": ["It", "returns", "EVT", ":", ":Other", "if", "the", "type", "should", "be", "determined", "using", "generic", "target-independent", "logic", "."], "TS_V_token": ["AArch64", "AArch64", "16", "16", "MVT::f128", "0", "1", "MVT::f128", "8", "8", "MVT::i64", "0", "1", "MVT::i64", "4", "4", "MVT::i32", "0", "1", "MVT::i32", "MVT::Other"], "File": "AArch64ISelLowering", "Func": "getOptimalMemOpType", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17987, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "chain_already_loaded", "(", "rtx_insn", "*", "last", ")", "{", "for", "(", ";", "last", "!=", "NULL", ";", "last", "=", "PREV_INSN", "(", "last", ")", ")", "{", "if", "(", "NONJUMP_INSN_P", "(", "last", ")", ")", "{", "rtx", "patt", "=", "PATTERN", "(", "last", ")", ";", "if", "(", "GET_CODE", "(", "patt", ")", "==", "SET", ")", "{", "rtx", "lhs", "=", "XEXP", "(", "patt", ",", "0", ")", ";", "if", "(", "REG_P", "(", "lhs", ")", "&&", "REGNO", "(", "lhs", ")", "==", "STATIC_CHAIN_REGNUM", ")", "return", "true", ";", "}", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "TRUE", "iff", "the", "sequence", "ending", "in", "LAST", "sets", "the", "static", "chain", "."], "TS_V_token": ["powerpcspe", "0"], "File": "powerpcspe", "Func": "chain_already_loaded", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17988, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64TTIImpl", "::", "getPrefetchDistance", "(", ")", "{", "return", "ST", "->", "getPrefetchDistance", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "preferred", "prefetch", "distance", "in", "terms", "of", "instructions", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64TargetTransformInfo10", "Func": "getPrefetchDistance", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17989, "Length": 15, "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", ";", "}", "Reference", "CCRefs", "(", "getRegReferences", "(", "MI", ",", "SystemZ", "::", "CC", ")", ")", ";", "if", "(", "CCRefs", ".", "Def", ")", "{", "CCUsers", ".", "clear", "(", ")", ";", "CompleteCCUsers", "=", "true", ";", "}", "if", "(", "CompleteCCUsers", "&&", "CCRefs", ".", "Use", ")", "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"], "File": "SystemZElimCompare", "Func": "processBlock", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17990, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "optimizeCompareInstr", "(", "MachineInstr", "*", "Compare", ",", "unsigned", "SrcReg", ",", "unsigned", "SrcReg2", ",", "int", "Mask", ",", "int", "Value", ",", "const", "MachineRegisterInfo", "*", "MRI", ")", "const", "{", "assert", "(", "!", "SrcReg2", "&&", "\"Only optimizing constant comparisons so far\"", ")", ";", "bool", "IsLogical", "=", "(", "Compare", "->", "getDesc", "(", ")", ".", "TSFlags", "&", "SystemZII", "::", "IsLogical", ")", "!=", "0", ";", "if", "(", "Value", "==", "0", "&&", "!", "IsLogical", "&&", "removeIPMBasedCompare", "(", "Compare", ",", "SrcReg", ",", "MRI", ",", "&", "RI", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "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": ["SystemZ", "SystemZ", "\"Only optimizing constant comparisons so far\"", "SystemZII::IsLogical", "0", "0"], "File": "SystemZInstrInfo", "Func": "optimizeCompareInstr", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17991, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "get_num_immediates", "(", "rtx", "insn", ",", "int", "*", "imm", ",", "int", "*", "imm32", ",", "int", "*", "imm64", ")", "{", "imm_info", "imm_values", "=", "{", "0", ",", "0", ",", "0", "}", ";", "find_constant", "(", "insn", ",", "&", "imm_values", ")", ";", "*", "imm", "=", "imm_values", ".", "imm", ";", "*", "imm32", "=", "imm_values", ".", "imm32", ";", "*", "imm64", "=", "imm_values", ".", "imm64", ";", "return", "imm_values", ".", "imm32", "*", "4", "+", "imm_values", ".", "imm64", "*", "8", ";", "}", ""], "natrual_language": ["Return", "total", "size", "of", "immediate", "operands", "of", "an", "instruction", "along", "with", "number", "of", "corresponding", "immediate-operands", ".", "It", "initializes", "its", "parameters", "to", "zero", "befor", "calling", "FIND_CONSTANT", ".", "INSN", "is", "the", "input", "instruction", ".", "IMM", "is", "the", "total", "of", "immediates", ".", "IMM32", "is", "the", "number", "of", "32", "bit", "immediates", ".", "IMM64", "is", "the", "number", "of", "64", "bit", "immediates", "."], "TS_V_token": ["i386", "0", "0", "0", "4", "8"], "File": "i3864", "Func": "get_num_immediates", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17992, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_emit_set_const32", "(", "rtx", "op0", ",", "rtx", "op1", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "op0", ")", ";", "rtx", "temp", "=", "op0", ";", "if", "(", "can_create_pseudo_p", "(", ")", ")", "temp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "if", "(", "GET_CODE", "(", "op1", ")", "==", "CONST_INT", ")", "{", "gcc_assert", "(", "!", "small_int_operand", "(", "op1", ",", "mode", ")", "&&", "!", "const_high_operand", "(", "op1", ",", "mode", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "temp", ",", "GEN_INT", "(", "INTVAL", "(", "op1", ")", "&", "~", "(", "HOST_WIDE_INT", ")", "0x3ff", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "op0", ",", "gen_rtx_IOR", "(", "mode", ",", "temp", ",", "GEN_INT", "(", "INTVAL", "(", "op1", ")", "&", "0x3ff", ")", ")", ")", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "temp", ",", "gen_rtx_HIGH", "(", "mode", ",", "op1", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "op0", ",", "gen_rtx_LO_SUM", "(", "mode", ",", "temp", ",", "op1", ")", ")", ")", ";", "}", "}", ""], "natrual_language": ["We", "know", "it", "ca", "n't", "be", "done", "in", "one", "insn", "when", "we", "get", "here", ",", "the", "movsi", "expander", "guarentees", "this", "."], "TS_V_token": ["sparc", "0x3ff", "0x3ff"], "File": "sparc4", "Func": "sparc_emit_set_const32", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17993, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_option_override", "(", "void", ")", "{", "(", "void", ")", "rs6000_option_override_internal", "(", "true", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_OVERRIDE", ".", "On", "the", "RS/6000", "this", "is", "used", "to", "define", "the", "target", "cpu", "type", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_option_override", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17994, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetMachine", "::", "addPreRegAlloc", "(", "PassManagerBase", "&", "PM", ")", "{", "PM", ".", "add", "(", "createX86MaxStackAlignmentHeuristicPass", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86TargetMachine116", "Func": "addPreRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17995, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseTargetMachine", "::", "addPreISel", "(", "PassManagerBase", "&", "PM", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableGlobalMerge", ")", "PM", ".", "add", "(", "createGlobalMergePass", "(", "getTargetLowering", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["ARM", "ARM"], "File": "ARMTargetMachine61", "Func": "addPreISel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17996, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_expand_binop_builtin", "(", "enum", "insn_code", "icode", ",", "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", "tmode", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "mode", ";", "machine_mode", "mode0", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "mode", ";", "machine_mode", "mode1", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "2", "]", ".", "mode", ";", "if", "(", "VECTOR_MODE_P", "(", "mode0", ")", ")", "op0", "=", "safe_vector_operand", "(", "op0", ",", "mode0", ")", ";", "if", "(", "VECTOR_MODE_P", "(", "mode1", ")", ")", "op1", "=", "safe_vector_operand", "(", "op1", ",", "mode1", ")", ";", "if", "(", "optimize", "||", "!", "target", "||", "GET_MODE", "(", "target", ")", "!=", "tmode", "||", "!", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "predicate", "(", "target", ",", "tmode", ")", ")", "target", "=", "gen_reg_rtx", "(", "tmode", ")", ";", "if", "(", "GET_MODE", "(", "op1", ")", "==", "SImode", "&&", "mode1", "==", "TImode", ")", "{", "rtx", "x", "=", "gen_reg_rtx", "(", "V4SImode", ")", ";", "emit_insn", "(", "gen_sse2_loadd", "(", "x", ",", "op1", ")", ")", ";", "op1", "=", "gen_lowpart", "(", "TImode", ",", "x", ")", ";", "}", "if", "(", "!", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "predicate", "(", "op0", ",", "mode0", ")", ")", "op0", "=", "copy_to_mode_reg", "(", "mode0", ",", "op0", ")", ";", "if", "(", "!", "insn_data", "[", "icode", "]", ".", "operand", "[", "2", "]", ".", "predicate", "(", "op1", ",", "mode1", ")", ")", "op1", "=", "copy_to_mode_reg", "(", "mode1", ",", "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", "binop", "insns", "."], "TS_V_token": ["i386", "0", "1", "0", "1", "2", "0", "1", "2", "0"], "File": "i386-expand", "Func": "ix86_expand_binop_builtin", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17997, "Length": 301, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TTIImpl", "::", "getNumberOfRegisters", "(", "bool", "Vector", ")", "{", "if", "(", "Vector", "&&", "!", "ST", "->", "hasSSE1", "(", ")", ")", "return", "0", ";", "if", "(", "ST", "->", "is64Bit", "(", ")", ")", "{", "if", "(", "Vector", "&&", "ST", "->", "hasAVX512", "(", ")", ")", "return", "32", ";", "return", "16", ";", "}", "return", "8", ";", "}", ""], "natrual_language": ["\ufffd", "?", "Vector", "TTI", "begin", "\ufffd", "?"], "TS_V_token": ["X86", "X86", "0", "32", "16", "8"], "File": "X86TargetTransformInfo (2)", "Func": "getNumberOfRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 17998, "Length": 53, "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": 17999, "Length": 107, "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": 18000, "Length": 113, "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": "ARMAsmBackend (2)1", "Func": "writeNopData", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18001, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mmix_register_move_cost", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "reg_class_t", "from", ",", "reg_class_t", "to", ")", "{", "return", "(", "from", "==", "GENERAL_REGS", "&&", "from", "==", "to", ")", "?", "2", ":", "3", ";", "}", ""], "natrual_language": ["REGISTER_MOVE_COST", "."], "TS_V_token": ["mmix", "2", "3"], "File": "mmix", "Func": "mmix_register_move_cost", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18002, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_expand_vector_extract", "(", "rtx", "target", ",", "rtx", "vec", ",", "rtx", "elt", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "vec", ")", ";", "machine_mode", "inner_mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "rtx", "mem", ";", "if", "(", "VECTOR_MEM_VSX_P", "(", "mode", ")", "&&", "CONST_INT_P", "(", "elt", ")", ")", "{", "switch", "(", "mode", ")", "{", "default", ":", "break", ";", "case", "E_V1TImode", ":", "gcc_assert", "(", "INTVAL", "(", "elt", ")", "==", "0", "&&", "inner_mode", "==", "TImode", ")", ";", "emit_move_insn", "(", "target", ",", "gen_lowpart", "(", "TImode", ",", "vec", ")", ")", ";", "break", ";", "case", "E_V2DFmode", ":", "emit_insn", "(", "gen_vsx_extract_v2df", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "case", "E_V2DImode", ":", "emit_insn", "(", "gen_vsx_extract_v2di", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "case", "E_V4SFmode", ":", "emit_insn", "(", "gen_vsx_extract_v4sf", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "case", "E_V16QImode", ":", "if", "(", "TARGET_DIRECT_MOVE_64BIT", ")", "{", "emit_insn", "(", "gen_vsx_extract_v16qi", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "}", "else", "break", ";", "case", "E_V8HImode", ":", "if", "(", "TARGET_DIRECT_MOVE_64BIT", ")", "{", "emit_insn", "(", "gen_vsx_extract_v8hi", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "}", "else", "break", ";", "case", "E_V4SImode", ":", "if", "(", "TARGET_DIRECT_MOVE_64BIT", ")", "{", "emit_insn", "(", "gen_vsx_extract_v4si", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "}", "break", ";", "}", "}", "else", "if", "(", "VECTOR_MEM_VSX_P", "(", "mode", ")", "&&", "!", "CONST_INT_P", "(", "elt", ")", "&&", "TARGET_DIRECT_MOVE_64BIT", ")", "{", "if", "(", "GET_MODE", "(", "elt", ")", "!=", "DImode", ")", "{", "rtx", "tmp", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "convert_move", "(", "tmp", ",", "elt", ",", "0", ")", ";", "elt", "=", "tmp", ";", "}", "else", "if", "(", "!", "REG_P", "(", "elt", ")", ")", "elt", "=", "force_reg", "(", "DImode", ",", "elt", ")", ";", "switch", "(", "mode", ")", "{", "case", "E_V2DFmode", ":", "emit_insn", "(", "gen_vsx_extract_v2df_var", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "case", "E_V2DImode", ":", "emit_insn", "(", "gen_vsx_extract_v2di_var", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "case", "E_V4SFmode", ":", "emit_insn", "(", "gen_vsx_extract_v4sf_var", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "case", "E_V4SImode", ":", "emit_insn", "(", "gen_vsx_extract_v4si_var", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "case", "E_V8HImode", ":", "emit_insn", "(", "gen_vsx_extract_v8hi_var", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "case", "E_V16QImode", ":", "emit_insn", "(", "gen_vsx_extract_v16qi_var", "(", "target", ",", "vec", ",", "elt", ")", ")", ";", "return", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "gcc_assert", "(", "CONST_INT_P", "(", "elt", ")", ")", ";", "mem", "=", "assign_stack_temp", "(", "mode", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "emit_move_insn", "(", "mem", ",", "vec", ")", ";", "mem", "=", "adjust_address_nv", "(", "mem", ",", "inner_mode", ",", "INTVAL", "(", "elt", ")", "*", "GET_MODE_SIZE", "(", "inner_mode", ")", ")", ";", "emit_move_insn", "(", "target", ",", "adjust_address_nv", "(", "mem", ",", "inner_mode", ",", "0", ")", ")", ";", "}", ""], "natrual_language": ["Extract", "field", "ELT", "from", "VEC", "into", "TARGET", "."], "TS_V_token": ["powerpcspe", "0", "0", "0"], "File": "powerpcspe", "Func": "rs6000_expand_vector_extract", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18003, "Length": 458, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_vector_init", "(", "bool", "mmx_ok", ",", "rtx", "target", ",", "rtx", "vals", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "target", ")", ";", "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", ";", "if", "(", "n_elts", "!=", "XVECLEN", "(", "vals", ",", "0", ")", ")", "{", "rtx", "subtarget", "=", "target", ";", "x", "=", "XVECEXP", "(", "vals", ",", "0", ",", "0", ")", ";", "gcc_assert", "(", "GET_MODE_INNER", "(", "GET_MODE", "(", "x", ")", ")", "==", "inner_mode", ")", ";", "if", "(", "GET_MODE_NUNITS", "(", "GET_MODE", "(", "x", ")", ")", "*", "2", "==", "n_elts", ")", "{", "rtx", "ops", "[", "2", "]", "=", "{", "XVECEXP", "(", "vals", ",", "0", ",", "0", ")", ",", "XVECEXP", "(", "vals", ",", "0", ",", "1", ")", "}", ";", "if", "(", "inner_mode", "==", "QImode", "||", "inner_mode", "==", "HImode", "||", "inner_mode", "==", "TImode", "||", "inner_mode", "==", "HFmode", ")", "{", "unsigned", "int", "n_bits", "=", "n_elts", "*", "GET_MODE_SIZE", "(", "inner_mode", ")", ";", "scalar_mode", "elt_mode", "=", "inner_mode", "==", "TImode", "?", "DImode", ":", "SImode", ";", "n_bits", "/=", "GET_MODE_SIZE", "(", "elt_mode", ")", ";", "mode", "=", "mode_for_vector", "(", "elt_mode", ",", "n_bits", ")", ".", "require", "(", ")", ";", "inner_mode", "=", "mode_for_vector", "(", "elt_mode", ",", "n_bits", "/", "2", ")", ".", "require", "(", ")", ";", "ops", "[", "0", "]", "=", "gen_lowpart", "(", "inner_mode", ",", "ops", "[", "0", "]", ")", ";", "ops", "[", "1", "]", "=", "gen_lowpart", "(", "inner_mode", ",", "ops", "[", "1", "]", ")", ";", "subtarget", "=", "gen_reg_rtx", "(", "mode", ")", ";", "}", "ix86_expand_vector_init_concat", "(", "mode", ",", "subtarget", ",", "ops", ",", "2", ")", ";", "if", "(", "subtarget", "!=", "target", ")", "emit_move_insn", "(", "target", ",", "gen_lowpart", "(", "GET_MODE", "(", "target", ")", ",", "subtarget", ")", ")", ";", "return", ";", "}", "gcc_unreachable", "(", ")", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "n_elts", ";", "++", "i", ")", "{", "x", "=", "XVECEXP", "(", "vals", ",", "0", ",", "i", ")", ";", "if", "(", "!", "(", "CONST_SCALAR_INT_P", "(", "x", ")", "||", "CONST_DOUBLE_P", "(", "x", ")", "||", "CONST_FIXED_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", "&&", "ix86_expand_vector_init_one_nonzero", "(", "mmx_ok", ",", "mode", ",", "target", ",", "XVECEXP", "(", "vals", ",", "0", ",", "one_var", ")", ",", "one_var", ")", ")", "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", "2", "2", "0", "0", "0", "1", "2", "0", "0", "1", "1", "2", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "0"], "File": "i386-expand", "Func": "ix86_expand_vector_init", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18004, "Length": 504, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", "X86InstrInfo", "::", "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": ["X86", "X86", "0u"], "File": "X86InstrInfo (2)1", "Func": "decomposeMachineOperandsTargetFlags", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18005, "Length": 28, "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", ">", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "bool", "EnableOpt", "=", "MF", ".", "getTarget", "(", ")", ".", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "!", "skipFunction", "(", "F", ")", ";", "GISelKnownBits", "*", "KB", "=", "&", "getAnalysis", "<", "GISelKnownBitsAnalysis", ">", "(", ")", ".", "get", "(", "MF", ")", ";", "MachineDominatorTree", "*", "MDT", "=", "IsOptNone", "?", "nullptr", ":", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "AArch64PreLegalizerCombinerInfo", "PCInfo", "(", "EnableOpt", ",", "F", ".", "hasOptSize", "(", ")", ",", "F", ".", "hasMinSize", "(", ")", ",", "KB", ",", "MDT", ")", ";", "Combiner", "C", "(", "PCInfo", ",", "TPC", ")", ";", "return", "C", ".", "combineMachineInstrs", "(", "MF", ",", "nullptr", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64PreLegalizerCombiner", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18006, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "F2003fMCAsmStreamer", "::", "EmitInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "bool", "PrintSchedInfo", ")", "{", "MCStreamer", "::", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "if", "(", "ShowInst", ")", "{", "if", "(", "PrintSchedInfo", ")", "GetCommentOS", "(", ")", "<<", "\"\\n\"", ";", "Inst", ".", "dump_pretty", "(", "GetCommentOS", "(", ")", ",", "InstPrinter", ".", "get", "(", ")", ",", "\"\\n \"", ")", ";", "GetCommentOS", "(", ")", "<<", "\"\\n\"", ";", "}", "std", "::", "string", "Buffer", ";", "{", "raw_string_ostream", "TempStream", "(", "Buffer", ")", ";", "InstPrinter", "->", "printInst", "(", "&", "Inst", ",", "TempStream", ",", "\"\"", ",", "STI", ")", ";", "}", "OS", "<<", "Buffer", ".", "substr", "(", "1", ")", ";", "flushLabel", "(", "false", ")", ";", "if", "(", "PrintSchedInfo", ")", "{", "std", "::", "string", "SI", "=", "STI", ".", "getSchedInfoStr", "(", "Inst", ")", ";", "if", "(", "!", "SI", ".", "empty", "(", ")", ")", "GetCommentOS", "(", ")", "<<", "SI", ";", "}", "StringRef", "Comments", "=", "CommentToEmit", ";", "if", "(", "Comments", ".", "size", "(", ")", "&&", "Comments", ".", "back", "(", ")", "!=", "'\\n'", ")", "GetCommentOS", "(", ")", "<<", "\"\\n\"", ";", "EmitEOL", "(", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["F2003f", "F2003f", "\"\\n\"", "\"\\n \"", "\"\\n\"", "\"\"", "1", "\"\\n\""], "File": "F2003fMCAsmStreamer", "Func": "EmitInstruction", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18007, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCFastISel", "::", "fastEmitInst_rr", "(", "unsigned", "MachineInstOpcode", ",", "const", "TargetRegisterClass", "*", "RC", ",", "unsigned", "Op0", ",", "unsigned", "Op1", ")", "{", "const", "TargetRegisterClass", "*", "UseRC", "=", "(", "RC", "==", "&", "PPC", "::", "GPRCRegClass", "?", "&", "PPC", "::", "GPRC_and_GPRC_NOR0RegClass", ":", "(", "RC", "==", "&", "PPC", "::", "G8RCRegClass", "?", "&", "PPC", "::", "G8RC_and_G8RC_NOX0RegClass", ":", "RC", ")", ")", ";", "return", "FastISel", "::", "fastEmitInst_rr", "(", "MachineInstOpcode", ",", "UseRC", ",", "Op0", ",", "Op1", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "MachineInstr", "with", "two", "register", "operands", "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_rr", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18008, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "AArch64RegisterInfo", "::", "getCustomEHPadPreservedMask", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isTargetLinux", "(", ")", ")", "return", "CSR_AArch64_AAPCS_RegMask", ";", "return", "nullptr", ";", "}", ""], "natrual_language": ["Return", "a", "register", "mask", "for", "the", "registers", "preserved", "by", "the", "unwinder", ",", "or", "nullptr", "if", "no", "custom", "mask", "is", "needed", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64RegisterInfo25", "Func": "getCustomEHPadPreservedMask", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18009, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "hppa_fpstore_bypass_p", "(", "rtx", "out_insn", ",", "rtx", "in_insn", ")", "{", "enum", "machine_mode", "store_mode", ";", "enum", "machine_mode", "other_mode", ";", "rtx", "set", ";", "if", "(", "recog_memoized", "(", "in_insn", ")", "<", "0", "||", "get_attr_type", "(", "in_insn", ")", "!=", "TYPE_FPSTORE", "||", "recog_memoized", "(", "out_insn", ")", "<", "0", ")", "return", "0", ";", "store_mode", "=", "GET_MODE", "(", "SET_SRC", "(", "PATTERN", "(", "in_insn", ")", ")", ")", ";", "set", "=", "single_set", "(", "out_insn", ")", ";", "if", "(", "!", "set", ")", "return", "0", ";", "other_mode", "=", "GET_MODE", "(", "SET_SRC", "(", "set", ")", ")", ";", "return", "(", "GET_MODE_SIZE", "(", "store_mode", ")", "==", "GET_MODE_SIZE", "(", "other_mode", ")", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "there", "is", "a", "bypass", "for", "the", "output", "of", "OUT_INSN", "and", "the", "fp", "store", "IN_INSN", "."], "TS_V_token": ["pa", "0", "0", "0", "0"], "File": "pa3", "Func": "hppa_fpstore_bypass_p", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18010, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "AArch64RegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64TargetMachine14", "Func": "getRegisterInfo", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18011, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ix86_constant_alignment", "(", "tree", "exp", ",", "int", "align", ")", "{", "if", "(", "TREE_CODE", "(", "exp", ")", "==", "REAL_CST", "||", "TREE_CODE", "(", "exp", ")", "==", "VECTOR_CST", "||", "TREE_CODE", "(", "exp", ")", "==", "INTEGER_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": "i3864", "Func": "ix86_constant_alignment", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18012, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "TII", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "LIS", "=", "&", "getAnalysis", "<", "LiveIntervals", ">", "(", ")", ";", "bool", "Changed", "=", "false", ";", "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"], "File": "PPCTLSDynamicCall", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18013, "Length": 86, "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", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", "&&", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_SET_GOT", ")", "return", "true", ";", "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", "1"], "File": "i386", "Func": "ix86_pic_register_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18014, "Length": 129, "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", "=", "copy_to_reg", "(", "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", "(", "int_mode_for_mode", "(", "mode", ")", ".", "require", "(", ")", ")", ";", "expand_fix", "(", "xi", ",", "xa", ",", "0", ")", ";", "expand_float", "(", "xa", ",", "xi", ",", "0", ")", ";", "ix86_sse_copysign_to_positive", "(", "res", ",", "xa", ",", "res", ",", "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": "i386-expand", "Func": "ix86_expand_round", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18015, "Length": 217, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "AArch64TargetLowering", "::", "shouldExpandAtomicRMWInIR", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "if", "(", "AI", "->", "isFloatingPointOperation", "(", ")", ")", "return", "AtomicExpansionKind", "::", "CmpXChg", ";", "unsigned", "Size", "=", "AI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "Size", ">", "128", ")", "return", "AtomicExpansionKind", "::", "None", ";", "if", "(", "AI", "->", "getOperation", "(", ")", "==", "AtomicRMWInst", "::", "Nand", ")", "return", "AtomicExpansionKind", "::", "LLSC", ";", "return", "(", "Subtarget", "->", "hasLSE", "(", ")", "&&", "Size", "<", "128", ")", "?", "AtomicExpansionKind", "::", "None", ":", "AtomicExpansionKind", "::", "LLSC", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "IR-level", "AtomicExpand", "pass", "should", "expand", "the", "given", "AtomicRMW", ",", "if", "at", "all", "."], "TS_V_token": ["AArch64", "AArch64", "128", "128"], "File": "AArch64ISelLowering (2)3", "Func": "shouldExpandAtomicRMWInIR", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18016, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCDispatchGroupSBHazardRecognizer", "::", "EmitNoop", "(", ")", "{", "unsigned", "Directive", "=", "DAG", "->", "TM", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "getDarwinDirective", "(", ")", ";", "if", "(", "Directive", "==", "PPC", "::", "DIR_PWR6", "||", "Directive", "==", "PPC", "::", "DIR_PWR7", "||", "CurSlots", "==", "6", ")", "{", "CurGroup", ".", "clear", "(", ")", ";", "CurSlots", "=", "CurBranches", "=", "0", ";", "}", "else", "{", "CurGroup", ".", "push_back", "(", "0", ")", ";", "++", "CurSlots", ";", "}", "}", ""], "natrual_language": ["EmitNoop", "-", "This", "callback", "is", "invoked", "when", "a", "noop", "was", "added", "to", "the", "instruction", "stream", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::DIR_PWR6", "PPC::DIR_PWR7", "6", "0", "0"], "File": "PPCHazardRecognizers2", "Func": "EmitNoop", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18017, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "FISCInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "FISC", "::", "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": ["FISC", "FISC", "FISC::LDR", "0"], "File": "FISCInstrInfo", "Func": "loadRegFromStackSlot", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18018, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh2a_function_vector_p", "(", "tree", "func", ")", "{", "tree", "list", ";", "if", "(", "TREE_CODE", "(", "func", ")", "!=", "FUNCTION_DECL", ")", "return", "false", ";", "list", "=", "SH_ATTRIBUTES", "(", "func", ")", ";", "while", "(", "list", ")", "{", "if", "(", "is_attribute_p", "(", "\"function_vector\"", ",", "TREE_PURPOSE", "(", "list", ")", ")", ")", "return", "true", ";", "list", "=", "TREE_CHAIN", "(", "list", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "FUNC", "has", "been", "assigned", "the", "attribute", "``", "function_vector", "''", "."], "TS_V_token": ["sh", "\"function_vector\""], "File": "sh4", "Func": "sh2a_function_vector_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18019, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "mips_va_start", "(", "valist", ",", "nextarg", ")", "{", "\\", "if", "(", "TARGET_MIPS16", ")", "\\", "sorry", "(", "\"mips16 function profiling\"", ")", ";", "\\", "fprintf", "(", "FILE", ",", "\"\\t.set\\tnoat\\n\"", ")", ";", "\\", "fprintf", "(", "FILE", ",", "\"\\tmove\\t%s,%s\\t\\t# save current return address\\n\"", ",", "\\", "reg_names", "[", "GP_REG_FIRST", "+", "1", "]", ",", "reg_names", "[", "GP_REG_FIRST", "+", "31", "]", ")", ";", "\\", "if", "(", "!", "TARGET_NEWABI", ")", "\\", "{", "\\", "fprintf", "(", "FILE", ",", "\\", "\"\\t%s\\t%s,%s,%d\\t\\t# _mcount pops 2 words from stack\\n\"", ",", "\\", "TARGET_64BIT", "?", "\"dsubu\"", ":", "\"subu\"", ",", "\\", "reg_names", "[", "STACK_POINTER_REGNUM", "]", ",", "\\", "reg_names", "[", "STACK_POINTER_REGNUM", "]", ",", "\\", "Pmode", "==", "DImode", "?", "16", ":", "8", ")", ";", "\\", "}", "\\", "fprintf", "(", "FILE", ",", "\"\\tjal\\t_mcount\\n\"", ")", ";", "\\", "fprintf", "(", "FILE", ",", "\"\\t.set\\tat\\n\"", ")", ";", "\\", "}", ""], "natrual_language": ["Implement", "va_start", "."], "TS_V_token": ["mips", "\"mips16 function profiling\"", "\"\\t.set\\tnoat\\n\"", "\"\\tmove\\t%s,%s\\t\\t# save current return address\\n\"", "1", "31", "\"\\t%s\\t%s,%s,%d\\t\\t# _mcount pops 2 words from stack\\n\"", "\"dsubu\"", "\"subu\"", "16", "8", "\"\\tjal\\t_mcount\\n\"", "\"\\t.set\\tat\\n\""], "File": "mips5", "Func": "mips_va_start", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18020, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "hppa_can_use_return_insn_p", "(", "void", ")", "{", "return", "(", "reload_completed", "&&", "(", "compute_frame_size", "(", "get_frame_size", "(", ")", ",", "0", ")", "?", "0", ":", "1", ")", "&&", "!", "regs_ever_live", "[", "2", "]", "&&", "!", "frame_pointer_needed", ")", ";", "}", ""], "natrual_language": ["This", "is", "only", "valid", "once", "reload", "has", "completed", "because", "it", "depends", "on", "knowing", "exactly", "how", "much", "(", "if", "any", ")", "frame", "there", "is", "and", "...", "It", "'s", "only", "valid", "if", "there", "is", "no", "frame", "marker", "to", "de-allocate", "and", "...", "It", "'s", "only", "valid", "if", "%", "r2", "has", "n't", "been", "saved", "into", "the", "caller", "'s", "frame", "(", "we", "'re", "not", "profiling", "and", "%", "r2", "is", "n't", "live", "anywhere", ")", "."], "TS_V_token": ["pa", "0", "0", "1", "2"], "File": "pa3", "Func": "hppa_can_use_return_insn_p", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18021, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "TargetPassConfig", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["Mips"], "File": "MipsModuleISelDAGToDAG2", "Func": "getAnalysisUsage", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18022, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86OptimizeLEAPass", "::", "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", "(", ")", ";", "auto", "*", "PSI", "=", "&", "getAnalysis", "<", "ProfileSummaryInfoWrapperPass", ">", "(", ")", ".", "getPSI", "(", ")", ";", "auto", "*", "MBFI", "=", "(", "PSI", "&&", "PSI", "->", "hasProfileSummary", "(", ")", ")", "?", "&", "getAnalysis", "<", "LazyMachineBlockFrequencyInfoPass", ">", "(", ")", ".", "getBFI", "(", ")", ":", "nullptr", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "MemOpMap", "LEAs", ";", "InstrPos", ".", "clear", "(", ")", ";", "findLEAs", "(", "MBB", ",", "LEAs", ")", ";", "if", "(", "LEAs", ".", "empty", "(", ")", ")", "continue", ";", "Changed", "|=", "removeRedundantLEAs", "(", "LEAs", ")", ";", "bool", "OptForSize", "=", "MF", ".", "getFunction", "(", ")", ".", "hasOptSize", "(", ")", "||", "llvm", "::", "shouldOptimizeForSize", "(", "&", "MBB", ",", "PSI", ",", "MBFI", ")", ";", "if", "(", "OptForSize", ")", "Changed", "|=", "removeRedundantAddrCalc", "(", "LEAs", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86"], "File": "X86OptimizeLEAs10", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18023, "Length": 197, "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_i", ":", "OutOps", ".", "push_back", "(", "Op", ")", ";", "OutOps", ".", "push_back", "(", "CurDAG", "->", "getTargetConstant", "(", "0", ",", "SDLoc", "(", "Op", ")", ",", "MVT", "::", "i32", ")", ")", ";", "return", "false", ";", "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", "0", "MVT::i32", "Mips", "Mips", "0", "MVT::i32"], "File": "MipsSEISelDAGToDAG11", "Func": "SelectInlineAsmMemoryOperand", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18024, "Length": 366, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_dependencies_evaluation_hook", "(", "rtx_insn", "*", "head", ",", "rtx_insn", "*", "tail", ")", "{", "rtx_insn", "*", "insn", ",", "*", "next", ",", "*", "next_tail", ";", "if", "(", "!", "reload_completed", ")", "return", ";", "next_tail", "=", "NEXT_INSN", "(", "tail", ")", ";", "for", "(", "insn", "=", "head", ";", "insn", "!=", "next_tail", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "if", "(", "INSN_P", "(", "insn", ")", ")", "insn", "->", "call", "=", "0", ";", "for", "(", "insn", "=", "head", ";", "insn", "!=", "next_tail", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "if", "(", "INSN_P", "(", "insn", ")", "&&", "ia64_safe_itanium_class", "(", "insn", ")", "==", "ITANIUM_CLASS_IALU", ")", "{", "sd_iterator_def", "sd_it", ";", "dep_t", "dep", ";", "bool", "has_mem_op_consumer_p", "=", "false", ";", "FOR_EACH_DEP", "(", "insn", ",", "SD_LIST_FORW", ",", "sd_it", ",", "dep", ")", "{", "enum", "attr_itanium_class", "c", ";", "if", "(", "DEP_TYPE", "(", "dep", ")", "!=", "REG_DEP_TRUE", ")", "continue", ";", "next", "=", "DEP_CON", "(", "dep", ")", ";", "c", "=", "ia64_safe_itanium_class", "(", "next", ")", ";", "if", "(", "(", "c", "==", "ITANIUM_CLASS_ST", "||", "c", "==", "ITANIUM_CLASS_STF", ")", "&&", "ia64_st_address_bypass_p", "(", "insn", ",", "next", ")", ")", "{", "has_mem_op_consumer_p", "=", "true", ";", "break", ";", "}", "else", "if", "(", "(", "c", "==", "ITANIUM_CLASS_LD", "||", "c", "==", "ITANIUM_CLASS_FLD", "||", "c", "==", "ITANIUM_CLASS_FLDP", ")", "&&", "ia64_ld_address_bypass_p", "(", "insn", ",", "next", ")", ")", "{", "has_mem_op_consumer_p", "=", "true", ";", "break", ";", "}", "}", "insn", "->", "call", "=", "has_mem_op_consumer_p", ";", "}", "}", ""], "natrual_language": ["The", "following", "function", "marks", "insns", "who", "produce", "addresses", "for", "load", "and", "store", "insns", ".", "Such", "insns", "will", "be", "placed", "into", "M", "slots", "because", "it", "decrease", "latency", "time", "for", "Itanium1", "(", "see", "function", "`", "ia64_produce_address_p", "'", "and", "the", "DFA", "descriptions", ")", "."], "TS_V_token": ["ia64", "0"], "File": "ia64", "Func": "ia64_dependencies_evaluation_hook", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18025, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "VETargetLowering", "::", "ConstraintType", "VETargetLowering", "::", "getConstraintType", "(", "StringRef", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'v'", ":", "return", "C_RegisterClass", ";", "}", "}", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "."], "TS_V_token": ["VE", "VE", "VE", "1", "0"], "File": "VEISelLowering11", "Func": "getConstraintType", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18026, "Length": 52, "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": 18027, "Length": 38, "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", "::", "SwiftTail", ":", "if", "(", "!", "Is64Bit", ")", "return", "CSR_32_RegMask", ";", "return", "IsWin64", "?", "CSR_Win64_SwiftTail_RegMask", ":", "CSR_64_SwiftTail_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", ";", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "SwiftTail", ")", "return", "IsWin64", "?", "CSR_Win64_SwiftTail_RegMask", ":", "CSR_64_SwiftTail_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": "X86RegisterInfo56", "Func": "getCallPreservedMask", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18028, "Length": 473, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_return_in_memory", "(", "const_tree", "type", ",", "const_tree", "fndecl", ")", "{", "return", "TYPE_MODE", "(", "type", ")", "==", "BLKmode", "||", "(", "(", "TARGET_HITACHI", "||", "sh_attr_renesas_p", "(", "fndecl", ")", ")", "&&", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_RETURN_IN_MEMORY", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "sh_return_in_memory", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18029, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "MipsDAGToDAGISel", "::", "getGlobalBaseReg", "(", "bool", "IsForTls", ")", "{", "Register", "GlobalBaseReg", "=", "MF", "->", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", "->", "getGlobalBaseReg", "(", "*", "MF", ",", "IsForTls", ")", ";", "return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "getTargetLowering", "(", ")", "->", "getPointerTy", "(", "CurDAG", "->", "getDataLayout", "(", ")", ",", "0", ")", ")", ".", "getNode", "(", ")", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["Mips", "Mips", "Mips", "0"], "File": "MipsISelDAGToDAG36", "Func": "getGlobalBaseReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18030, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "sh_cfun_attr_renesas_p", "(", "void", ")", "{", "return", "sh_attr_renesas_p", "(", "current_function_decl", ")", ";", "}", ""], "natrual_language": ["True", "if", "__attribute__", "(", "(", "renesas", ")", ")", "or", "-mrenesas", ",", "for", "the", "current", "function", "."], "TS_V_token": ["sh"], "File": "sh3", "Func": "sh_cfun_attr_renesas_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18031, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_coproc_ldc_stc_legitimate_address", "(", "rtx", "op", ")", "{", "HOST_WIDE_INT", "range", ";", "if", "(", "!", "MEM_P", "(", "op", ")", ")", "return", "false", ";", "op", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "REG_P", "(", "op", ")", ")", "return", "true", ";", "switch", "GET_CODE", "(", "op", ")", "{", "case", "PLUS", ":", "{", "if", "(", "!", "REG_P", "(", "XEXP", "(", "op", ",", "0", ")", ")", ")", "return", "false", ";", "op", "=", "XEXP", "(", "op", ",", "1", ")", ";", "if", "(", "!", "CONST_INT_P", "(", "op", ")", ")", "return", "false", ";", "range", "=", "INTVAL", "(", "op", ")", ";", "if", "(", "!", "IN_RANGE", "(", "range", ",", "-", "1020", ",", "1020", ")", ")", "return", "false", ";", "return", "(", "range", "%", "4", ")", "==", "0", ";", "}", "case", "PRE_INC", ":", "case", "POST_INC", ":", "case", "PRE_DEC", ":", "case", "POST_DEC", ":", "return", "REG_P", "(", "XEXP", "(", "op", ",", "0", ")", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "returns", "true", "if", "OP", "is", "a", "valid", "memory", "operand", "for", "the", "ldc", "and", "stc", "coprocessor", "instructions", "and", "false", "otherwise", "."], "TS_V_token": ["arm", "0", "0", "1", "1020", "1020", "4", "0", "0"], "File": "arm", "Func": "arm_coproc_ldc_stc_legitimate_address", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18032, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "hasReservedCallFrame", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "!", "MF", ".", "getFrameInfo", "(", ")", ".", "hasVarSizedObjects", "(", ")", "&&", "!", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "getHasPushSequences", "(", ")", ";", "}", ""], "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": ["X86", "X86", "X86"], "File": "X86FrameLowering (2)2", "Func": "hasReservedCallFrame", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18033, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "mips_build_integer", "(", "struct", "mips_integer_op", "*", "codes", ",", "unsigned", "HOST_WIDE_INT", "value", ")", "{", "if", "(", "SMALL_OPERAND", "(", "value", ")", "||", "SMALL_OPERAND_UNSIGNED", "(", "value", ")", "||", "LUI_OPERAND", "(", "value", ")", ")", "{", "codes", "[", "0", "]", ".", "code", "=", "UNKNOWN", ";", "codes", "[", "0", "]", ".", "value", "=", "value", ";", "return", "1", ";", "}", "else", "if", "(", "(", "value", "&", "1", ")", "!=", "0", "||", "LUI_OPERAND", "(", "CONST_HIGH_PART", "(", "value", ")", ")", ")", "{", "return", "mips_build_lower", "(", "codes", ",", "value", ")", ";", "}", "else", "if", "(", "(", "value", "&", "0xffff", ")", "==", "0", ")", "{", "return", "mips_build_shift", "(", "codes", ",", "value", ")", ";", "}", "else", "{", "struct", "mips_integer_op", "alt_codes", "[", "MIPS_MAX_INTEGER_OPS", "]", ";", "unsigned", "int", "cost", ",", "alt_cost", ";", "cost", "=", "mips_build_shift", "(", "codes", ",", "value", ")", ";", "alt_cost", "=", "mips_build_lower", "(", "alt_codes", ",", "value", ")", ";", "if", "(", "alt_cost", "<", "cost", ")", "{", "memcpy", "(", "codes", ",", "alt_codes", ",", "alt_cost", "*", "sizeof", "(", "codes", "[", "0", "]", ")", ")", ";", "cost", "=", "alt_cost", ";", "}", "return", "cost", ";", "}", "}", ""], "natrual_language": ["Fill", "CODES", "with", "a", "sequence", "of", "rtl", "operations", "to", "load", "VALUE", ".", "Return", "the", "number", "of", "operations", "needed", "."], "TS_V_token": ["mips", "0", "0", "1", "1", "0", "0xffff", "0", "0"], "File": "mips", "Func": "mips_build_integer", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18034, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "VETargetMachine", "::", "VETargetMachine", "(", "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", "(", "RM", ")", ",", "getEffectiveCodeModel", "(", "CM", ",", "CodeModel", "::", "Small", ")", ",", "OL", ")", ",", "TLOF", "(", "createTLOF", "(", ")", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ")", "{", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "Aurora", "VE", "architecture", "model", "."], "TS_V_token": ["VE", "VE", "VE"], "File": "VETargetMachine8", "Func": "VETargetMachine", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18035, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "host_detect_local_cpu", "(", "int", "argc", ",", "const", "char", "*", "*", "argv", ")", "{", "const", "char", "*", "cpu", "=", "NULL", ";", "char", "*", "buf", "=", "NULL", ";", "kstat_ctl_t", "*", "kc", ";", "kstat_t", "*", "ksp", ";", "kstat_named_t", "*", "brand", "=", "NULL", ";", "char", "buf", "[", "128", "]", ";", "FILE", "*", "f", ";", "int", "i", ";", "if", "(", "argc", "<", "1", ")", "return", "NULL", ";", "if", "(", "strcmp", "(", "argv", "[", "0", "]", ",", "\"cpu\"", ")", "&&", "strcmp", "(", "argv", "[", "0", "]", ",", "\"tune\"", ")", ")", "return", "NULL", ";", "kc", "=", "kstat_open", "(", ")", ";", "if", "(", "kc", "!=", "NULL", ")", "{", "ksp", "=", "kstat_lookup", "(", "kc", ",", "CONST_CAST2", "(", "char", "*", ",", "const", "char", "*", ",", "\"cpu_info\"", ")", ",", "-", "1", ",", "NULL", ")", ";", "if", "(", "ksp", "!=", "NULL", "&&", "kstat_read", "(", "kc", ",", "ksp", ",", "NULL", ")", "!=", "-", "1", "&&", "ksp", "->", "ks_type", "==", "KSTAT_TYPE_NAMED", ")", "brand", "=", "(", "kstat_named_t", "*", ")", "kstat_data_lookup", "(", "ksp", ",", "CONST_CAST2", "(", "char", "*", ",", "const", "char", "*", ",", "\"brand\"", ")", ")", ";", "if", "(", "brand", "!=", "NULL", "&&", "brand", "->", "data_type", "==", "KSTAT_DATA_STRING", ")", "buf", "=", "KSTAT_NAMED_STR_PTR", "(", "brand", ")", ";", "}", "kstat_close", "(", "kc", ")", ";", "for", "(", "i", "=", "0", ";", "cpu_names", "[", "i", "]", ".", "name", "!=", "NULL", ";", "i", "++", ")", "if", "(", "strcmp", "(", "buf", ",", "cpu_names", "[", "i", "]", ".", "name", ")", "==", "0", ")", "cpu", "=", "cpu_names", "[", "i", "]", ".", "cpu", ";", "f", "=", "fopen", "(", "\"/proc/cpuinfo\"", ",", "\"r\"", ")", ";", "if", "(", "f", "==", "NULL", ")", "return", "NULL", ";", "while", "(", "fgets", "(", "buf", ",", "sizeof", "(", "buf", ")", ",", "f", ")", "!=", "NULL", ")", "if", "(", "startswith", "(", "buf", ",", "\"cpu\\t\\t:\"", ")", ")", "{", "for", "(", "i", "=", "0", ";", "cpu_names", "[", "i", "]", ".", "name", ";", "i", "++", ")", "if", "(", "strstr", "(", "buf", ",", "cpu_names", "[", "i", "]", ".", "name", ")", "!=", "NULL", ")", "{", "cpu", "=", "cpu_names", "[", "i", "]", ".", "cpu", ";", "break", ";", "}", "break", ";", "}", "fclose", "(", "f", ")", ";", "if", "(", "cpu", "==", "NULL", ")", "return", "NULL", ";", "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": ["sparc", "128", "1", "0", "\"cpu\"", "0", "\"tune\"", "\"cpu_info\"", "1", "1", "\"brand\"", "0", "0", "\"/proc/cpuinfo\"", "\"r\"", "\"cpu\\t\\t:\"", "0", "\"-m\"", "0", "\"=\""], "File": "driver-sparc", "Func": "host_detect_local_cpu", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18036, "Length": 365, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "StringRef", "getPassName", "(", ")", "const", "{", "return", "StringRef", "(", "\"LEG Assembly Printer\"", ")", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["LEG", "\"LEG Assembly Printer\""], "File": "LEGAsmPrinter", "Func": "getPassName", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18037, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "VEAsmParser", "::", "validateTargetOperandClass", "(", "MCParsedAsmOperand", "&", "GOp", ",", "unsigned", "Kind", ")", "{", "VEOperand", "&", "Op", "=", "(", "VEOperand", "&", ")", "GOp", ";", "switch", "(", "Kind", ")", "{", "default", ":", "break", ";", "case", "MCK_F32", ":", "if", "(", "Op", ".", "isReg", "(", ")", "&&", "VEOperand", "::", "MorphToF32Reg", "(", "Op", ")", ")", "return", "MCTargetAsmParser", "::", "Match_Success", ";", "break", ";", "case", "MCK_I32", ":", "if", "(", "Op", ".", "isReg", "(", ")", "&&", "VEOperand", "::", "MorphToI32Reg", "(", "Op", ")", ")", "return", "MCTargetAsmParser", "::", "Match_Success", ";", "break", ";", "case", "MCK_F128", ":", "if", "(", "Op", ".", "isReg", "(", ")", "&&", "VEOperand", "::", "MorphToF128Reg", "(", "Op", ")", ")", "return", "MCTargetAsmParser", "::", "Match_Success", ";", "break", ";", "case", "MCK_VM512", ":", "if", "(", "Op", ".", "isReg", "(", ")", "&&", "VEOperand", "::", "MorphToVM512Reg", "(", "Op", ")", ")", "return", "MCTargetAsmParser", "::", "Match_Success", ";", "break", ";", "case", "MCK_MISC", ":", "if", "(", "Op", ".", "isImm", "(", ")", "&&", "VEOperand", "::", "MorphToMISCReg", "(", "Op", ")", ")", "return", "MCTargetAsmParser", "::", "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": ["VE", "VE", "VE", "VE", "VEOperand::MorphToF32Reg", "VEOperand::MorphToI32Reg", "VEOperand::MorphToF128Reg", "VEOperand::MorphToVM512Reg", "VEOperand::MorphToMISCReg"], "File": "VEAsmParser (2)", "Func": "validateTargetOperandClass", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18038, "Length": 162, "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": 18039, "Length": 245, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "arm_handle_cmse_nonsecure_entry", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", ",", "int", ",", "bool", "*", "no_add_attrs", ")", "{", "tree", "fndecl", ";", "if", "(", "!", "use_cmse", ")", "{", "*", "no_add_attrs", "=", "true", ";", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute ignored without %<-mcmse%> \"", "\"option\"", ",", "name", ")", ";", "return", "NULL_TREE", ";", "}", "if", "(", "TREE_CODE", "(", "*", "node", ")", "!=", "FUNCTION_DECL", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute only applies to functions\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "return", "NULL_TREE", ";", "}", "fndecl", "=", "*", "node", ";", "if", "(", "!", "TREE_PUBLIC", "(", "fndecl", ")", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute has no effect on functions \"", "\"with static linkage\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "return", "NULL_TREE", ";", "}", "*", "no_add_attrs", "|=", "cmse_func_args_or_return_in_stack", "(", "fndecl", ",", "name", ",", "TREE_TYPE", "(", "fndecl", ")", ")", ";", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Called", "upon", "detection", "of", "the", "use", "of", "the", "cmse_nonsecure_entry", "attribute", ",", "this", "function", "will", "check", "whether", "the", "attribute", "is", "allowed", "here", "and", "will", "add", "the", "attribute", "to", "the", "function", "declaration", "tree", "or", "otherwise", "issue", "a", "warning", "."], "TS_V_token": ["arm", "\"%qE attribute ignored without %<-mcmse%> \"", "\"option\"", "\"%qE attribute only applies to functions\"", "\"%qE attribute has no effect on functions \"", "\"with static linkage\""], "File": "arm", "Func": "arm_handle_cmse_nonsecure_entry", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18040, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "classof", "(", "const", "MCStreamer", "*", "S", ")", "{", "return", "S", "->", "getKind", "(", ")", "==", "SK_MipsELFStreamer", ";", "}", ""], "natrual_language": ["Methods", "for", "support", "type", "inquiry", "through", "isa", ",", "cast", ",", "and", "dyn_cast", ":"], "TS_V_token": ["Mips", "Mips"], "File": "MipsELFStreamer3", "Func": "classof", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18041, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZInstrInfo", "::", "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": ["SystemZ", "SystemZ"], "File": "SystemZInstrInfo (2)2", "Func": "storeRegToStackSlot", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18042, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_split_xorsign", "(", "rtx", "operands", "[", "]", ")", "{", "machine_mode", "mode", ",", "vmode", ";", "rtx", "dest", ",", "op0", ",", "mask", ",", "x", ";", "dest", "=", "operands", "[", "0", "]", ";", "op0", "=", "operands", "[", "1", "]", ";", "mask", "=", "operands", "[", "3", "]", ";", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "vmode", "=", "GET_MODE", "(", "mask", ")", ";", "dest", "=", "lowpart_subreg", "(", "vmode", ",", "dest", ",", "mode", ")", ";", "x", "=", "gen_rtx_AND", "(", "vmode", ",", "dest", ",", "mask", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "x", ")", ")", ";", "op0", "=", "lowpart_subreg", "(", "vmode", ",", "op0", ",", "mode", ")", ";", "x", "=", "gen_rtx_XOR", "(", "vmode", ",", "dest", ",", "op0", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "x", ")", ")", ";", "}", ""], "natrual_language": ["Deconstruct", "an", "xorsign", "operation", "into", "bit", "masks", "."], "TS_V_token": ["i386", "0", "1", "3"], "File": "i386-expand", "Func": "ix86_split_xorsign", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18043, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCPassConfig", "::", "addPreSched2", "(", ")", "{", "if", "(", "getPPCSubtarget", "(", ")", ".", "hasVSX", "(", ")", ")", "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", "PPC"], "File": "PPCTargetMachine52", "Func": "addPreSched2", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18044, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "~", "SystemZELFRegisters", "(", ")", "{", "}", ""], "natrual_language": ["Destroys", "the", "object", ".", "Bogus", "destructor", "overriding", "base", "class", "destructor", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZRegisterInfo (2)1", "Func": "~SystemZELFRegisters", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18045, "Length": 6, "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", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"Expected a selected MF\""], "File": "AArch64PostSelectOptimize1", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18046, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_target_stack_probe", "(", "void", ")", "{", "if", "(", "flag_stack_check", "==", "STATIC_BUILTIN_STACK_CHECK", ")", "return", "false", ";", "return", "TARGET_STACK_PROBE", ";", "}", ""], "natrual_language": ["Decide", "whether", "we", "must", "probe", "the", "stack", "before", "any", "space", "allocation", "on", "this", "target", ".", "It", "'s", "essentially", "TARGET_STACK_PROBE", "except", "when", "-fstack-check", "causes", "the", "stack", "to", "be", "already", "probed", "differently", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_target_stack_probe", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18047, "Length": 19, "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", "(", "VOIDmode", ",", "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": "sparc4", "Func": "emit_adjust_base_to_offset", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18048, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_asm_file_end", "(", "void", ")", "{", "if", "(", "NEED_INDICATE_EXEC_STACK", ")", "file_end_indicate_exec_stack", "(", ")", ";", "}", ""], "natrual_language": ["If", "we", "are", "optimizing", "the", "global", "pointer", ",", "emit", "the", "text", "section", "now", "and", "any", "small", "externs", "which", "did", "not", "have", ".comm", ",", "etc", "that", "are", "needed", ".", "Also", ",", "give", "a", "warning", "if", "the", "data", "area", "is", "more", "than", "32K", "and", "-pic", "because", "3", "instructions", "are", "needed", "to", "reference", "the", "data", "pointers", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_asm_file_end", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18049, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "get_memref_parts", "(", "rtx", "mem", ",", "rtx", "*", "base", ",", "HOST_WIDE_INT", "*", "offset", ",", "HOST_WIDE_INT", "*", "size", ")", "{", "rtx", "addr_rtx", ";", "if", "MEM_SIZE_KNOWN_P", "(", "mem", ")", "*", "size", "=", "MEM_SIZE", "(", "mem", ")", ";", "else", "return", "false", ";", "addr_rtx", "=", "(", "XEXP", "(", "mem", ",", "0", ")", ")", ";", "if", "(", "GET_CODE", "(", "addr_rtx", ")", "==", "PRE_MODIFY", ")", "addr_rtx", "=", "XEXP", "(", "addr_rtx", ",", "1", ")", ";", "*", "offset", "=", "0", ";", "while", "(", "GET_CODE", "(", "addr_rtx", ")", "==", "PLUS", "&&", "CONST_INT_P", "(", "XEXP", "(", "addr_rtx", ",", "1", ")", ")", ")", "{", "*", "offset", "+=", "INTVAL", "(", "XEXP", "(", "addr_rtx", ",", "1", ")", ")", ";", "addr_rtx", "=", "XEXP", "(", "addr_rtx", ",", "0", ")", ";", "}", "if", "(", "!", "REG_P", "(", "addr_rtx", ")", ")", "return", "false", ";", "*", "base", "=", "addr_rtx", ";", "return", "true", ";", "}", ""], "natrual_language": ["Try", "to", "determine", "base/offset/size", "parts", "of", "the", "given", "MEM", ".", "Return", "true", "if", "successful", ",", "false", "if", "all", "the", "values", "could", "n't", "be", "determined", ".", "This", "function", "only", "looks", "for", "REG", "or", "REG+CONST", "address", "forms", ".", "REG+REG", "address", "form", "will", "return", "false", "."], "TS_V_token": ["rs6000", "0", "1", "0", "1", "1", "0"], "File": "rs6000", "Func": "get_memref_parts", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18050, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "altivec_expand_vec_set_builtin", "(", "tree", "arglist", ")", "{", "enum", "machine_mode", "tmode", ",", "mode1", ";", "tree", "arg0", ",", "arg1", ",", "arg2", ";", "int", "elt", ";", "rtx", "op0", ",", "op1", ";", "arg0", "=", "TREE_VALUE", "(", "arglist", ")", ";", "arg1", "=", "TREE_VALUE", "(", "TREE_CHAIN", "(", "arglist", ")", ")", ";", "arg2", "=", "TREE_VALUE", "(", "TREE_CHAIN", "(", "TREE_CHAIN", "(", "arglist", ")", ")", ")", ";", "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", ",", "0", ")", ";", "op1", "=", "expand_expr", "(", "arg1", ",", "NULL_RTX", ",", "mode1", ",", "0", ")", ";", "elt", "=", "get_element_number", "(", "TREE_TYPE", "(", "arg0", ")", ",", "arg2", ")", ";", "if", "(", "GET_MODE", "(", "op1", ")", "!=", "mode1", "&&", "GET_MODE", "(", "op1", ")", "!=", "VOIDmode", ")", "op1", "=", "convert_modes", "(", "mode1", ",", "GET_MODE", "(", "op1", ")", ",", "op1", ",", "true", ")", ";", "op0", "=", "force_reg", "(", "tmode", ",", "op0", ")", ";", "op1", "=", "force_reg", "(", "mode1", ",", "op1", ")", ";", "rs6000_expand_vector_set", "(", "op0", ",", "op1", ",", "elt", ")", ";", "return", "op0", ";", "}", ""], "natrual_language": ["Expand", "vec_set", "builtin", "."], "TS_V_token": ["rs6000", "0", "0"], "File": "rs60003", "Func": "altivec_expand_vec_set_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18051, "Length": 191, "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", ",", "StringRef", "SymName", "=", "StringRef", "(", ")", ",", "void", "*", "OpDecl", "=", "nullptr", ")", "{", "assert", "(", "(", "SegReg", "||", "BaseReg", "||", "IndexReg", ")", "&&", "\"Invalid memory operand!\"", ")", ";", "assert", "(", "(", "(", "Scale", "==", "1", "||", "Scale", "==", "2", "||", "Scale", "==", "4", "||", "Scale", "==", "8", ")", ")", "&&", "\"Invalid scale!\"", ")", ";", "auto", "Res", "=", "llvm", "::", "make_unique", "<", "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", "->", "Mem", ".", "ModeSize", "=", "ModeSize", ";", "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"], "File": "X86Operand (2)", "Func": "CreateMem", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18052, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_fp_comparison_sahf_cost", "(", "enum", "rtx_code", "code", ")", "{", "enum", "rtx_code", "bypass_code", ",", "first_code", ",", "second_code", ";", "if", "(", "!", "TARGET_USE_SAHF", "&&", "!", "optimize_size", ")", "return", "1024", ";", "ix86_fp_comparison_codes", "(", "code", ",", "&", "bypass_code", ",", "&", "first_code", ",", "&", "second_code", ")", ";", "return", "(", "bypass_code", "!=", "UNKNOWN", "||", "second_code", "!=", "UNKNOWN", ")", "+", "3", ";", "}", ""], "natrual_language": ["Return", "cost", "of", "comparison", "done", "using", "sahf", "operation", ".", "See", "ix86_fp_comparison_arithmetics_cost", "for", "the", "metrics", "."], "TS_V_token": ["i386", "1024", "3"], "File": "i3863", "Func": "ix86_fp_comparison_sahf_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18053, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "eligible_for_restore_insn", "(", "rtx", "trial", ",", "bool", "return_p", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "trial", ")", ";", "rtx", "src", "=", "SET_SRC", "(", "pat", ")", ";", "bool", "src_is_freg", "=", "false", ";", "rtx", "src_reg", ";", "src_reg", "=", "src", ";", "if", "(", "GET_CODE", "(", "src_reg", ")", "==", "SUBREG", ")", "src_reg", "=", "SUBREG_REG", "(", "src_reg", ")", ";", "if", "(", "GET_CODE", "(", "src_reg", ")", "==", "REG", "&&", "SPARC_FP_REG_P", "(", "REGNO", "(", "src_reg", ")", ")", ")", "src_is_freg", "=", "true", ";", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "src", ")", ")", "!=", "MODE_FLOAT", "&&", "arith_operand", "(", "src", ",", "GET_MODE", "(", "src", ")", ")", "&&", "!", "src_is_freg", ")", "{", "if", "(", "TARGET_ARCH64", ")", "return", "GET_MODE_SIZE", "(", "GET_MODE", "(", "src", ")", ")", "<=", "GET_MODE_SIZE", "(", "DImode", ")", ";", "else", "return", "GET_MODE_SIZE", "(", "GET_MODE", "(", "src", ")", ")", "<=", "GET_MODE_SIZE", "(", "SImode", ")", ";", "}", "else", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "src", ")", ")", "!=", "MODE_FLOAT", "&&", "arith_double_operand", "(", "src", ",", "GET_MODE", "(", "src", ")", ")", "&&", "!", "src_is_freg", ")", "return", "GET_MODE_SIZE", "(", "GET_MODE", "(", "src", ")", ")", "<=", "GET_MODE_SIZE", "(", "DImode", ")", ";", "else", "if", "(", "!", "TARGET_FPU", "&&", "register_operand", "(", "src", ",", "SFmode", ")", ")", "return", "1", ";", "else", "if", "(", "!", "TARGET_FPU", "&&", "TARGET_ARCH64", "&&", "register_operand", "(", "src", ",", "DFmode", ")", ")", "return", "1", ";", "else", "if", "(", "return_p", "&&", "TARGET_V9", "&&", "!", "epilogue_renumber", "(", "&", "pat", ",", "1", ")", ")", "return", "1", ";", "else", "if", "(", "GET_CODE", "(", "src", ")", "==", "PLUS", "&&", "register_operand", "(", "XEXP", "(", "src", ",", "0", ")", ",", "SImode", ")", "&&", "arith_operand", "(", "XEXP", "(", "src", ",", "1", ")", ",", "SImode", ")", ")", "return", "1", ";", "else", "if", "(", "GET_CODE", "(", "src", ")", "==", "PLUS", "&&", "register_operand", "(", "XEXP", "(", "src", ",", "0", ")", ",", "DImode", ")", "&&", "arith_double_operand", "(", "XEXP", "(", "src", ",", "1", ")", ",", "DImode", ")", ")", "return", "1", ";", "else", "if", "(", "GET_CODE", "(", "src", ")", "==", "LO_SUM", "&&", "!", "TARGET_CM_MEDMID", "&&", "(", "(", "register_operand", "(", "XEXP", "(", "src", ",", "0", ")", ",", "SImode", ")", "&&", "immediate_operand", "(", "XEXP", "(", "src", ",", "1", ")", ",", "SImode", ")", ")", "||", "(", "TARGET_ARCH64", "&&", "register_operand", "(", "XEXP", "(", "src", ",", "0", ")", ",", "DImode", ")", "&&", "immediate_operand", "(", "XEXP", "(", "src", ",", "1", ")", ",", "DImode", ")", ")", ")", ")", "return", "1", ";", "else", "if", "(", "GET_CODE", "(", "src", ")", "==", "ASHIFT", "&&", "(", "register_operand", "(", "XEXP", "(", "src", ",", "0", ")", ",", "SImode", ")", "||", "register_operand", "(", "XEXP", "(", "src", ",", "0", ")", ",", "DImode", ")", ")", "&&", "XEXP", "(", "src", ",", "1", ")", "==", "const1_rtx", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "TRIAL", ",", "an", "insn", ",", "can", "be", "combined", "with", "a", "'restore", "'", "instruction", ".", "RETURN_P", "is", "true", "if", "the", "v9", "variant", "'return", "'", "is", "to", "be", "considered", "in", "the", "test", "too", ".", "TRIAL", "must", "be", "a", "SET", "whose", "destination", "is", "a", "REG", "appropriate", "for", "the", "'restore", "'", "instruction", "or", ",", "if", "RETURN_P", "is", "true", ",", "for", "the", "'return", "'", "instruction", "."], "TS_V_token": ["sparc", "1", "1", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "0", "1", "1", "0", "0", "1", "1", "0"], "File": "sparc", "Func": "eligible_for_restore_insn", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18054, "Length": 427, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_reads_global_state_p", "(", "aarch64_simd_builtin_datum", "*", "d", ")", "{", "unsigned", "int", "flags", "=", "aarch64_call_properties", "(", "d", ")", ";", "if", "(", "flags", "&", "FLAG_READ_FPCR", ")", "return", "true", ";", "return", "flags", "&", "FLAG_READ_MEMORY", ";", "}", ""], "natrual_language": ["Return", "true", "if", "calls", "to", "the", "function", "could", "read", "some", "form", "of", "global", "state", "."], "TS_V_token": ["aarch64"], "File": "aarch64-builtins1", "Func": "aarch64_reads_global_state_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18055, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0FrameLowering", "::", "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": ["Cpu0", "Cpu0"], "File": "Cpu0FrameLowering3", "Func": "determineCalleeSaves", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18056, "Length": 20, "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", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"PPC DAG preprocessing replacing:\\nOld: \"", ")", ";", "LLVM_DEBUG", "(", "N", "->", "dump", "(", "CurDAG", ")", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\nNew: \"", ")", ";", "LLVM_DEBUG", "(", "Res", ".", "getNode", "(", ")", "->", "dump", "(", "CurDAG", ")", ")", ";", "LLVM_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": "PPCISelDAGToDAG31", "Func": "PreprocessISelDAG", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18057, "Length": 191, "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": 18058, "Length": 65, "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__35_8", ":", "if", "(", "Op", ".", "isImm", "(", ")", ")", "if", "(", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Op", ".", "getImm", "(", ")", ")", ")", "if", "(", "CE", "->", "getValue", "(", ")", "==", "8", ")", "return", "Match_Success", ";", "break", ";", "case", "MCK__35_16", ":", "if", "(", "Op", ".", "isImm", "(", ")", ")", "if", "(", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Op", ".", "getImm", "(", ")", ")", ")", "if", "(", "CE", "->", "getValue", "(", ")", "==", "16", ")", "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", ";", "return", "Match_rGPR", ";", "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", "8", "16", "\"expression value must be representable in 32 bits\"", "ARM::SP", "ARM::GPRRegClassID"], "File": "ARMAsmParser117", "Func": "validateTargetOperandClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18059, "Length": 315, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "prologue_saved_reg_p", "(", "int", "regno", ")", "{", "gcc_assert", "(", "GP_REG_P", "(", "regno", ")", ")", ";", "if", "(", "df_regs_ever_live_p", "(", "regno", ")", "&&", "!", "call_used_or_fixed_reg_p", "(", "regno", ")", ")", "return", "true", ";", "if", "(", "frame_pointer_needed", "&&", "regno", ">=", "HARD_FRAME_POINTER_REGNUM", "&&", "regno", "<", "HARD_FRAME_POINTER_REGNUM", "+", "GET_MODE_SIZE", "(", "Pmode", ")", ")", "return", "true", ";", "if", "(", "regno", "==", "RA_REGNUM", "&&", "df_regs_ever_live_p", "(", "RA_REGNUM", ")", ")", "return", "true", ";", "if", "(", "regno", "==", "RA_REGNUM", "+", "1", "&&", "df_regs_ever_live_p", "(", "RA_REGNUM", "+", "1", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "REGNO", "should", "be", "saved", "in", "the", "prologue", "."], "TS_V_token": ["pru", "1", "1"], "File": "pru", "Func": "prologue_saved_reg_p", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18060, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumberOfRegisters", "(", "bool", "Vector", ")", "{", "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": "AArch64TargetTransformInfo (2)", "Func": "getNumberOfRegisters", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18061, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_output_addr_const_extra", "(", "FILE", "*", "file", ",", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", ")", "switch", "(", "XINT", "(", "x", ",", "1", ")", ")", "{", "case", "UNSPEC_TOCREL", ":", "gcc_checking_assert", "(", "GET_CODE", "(", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", "==", "SYMBOL_REF", "&&", "REG_P", "(", "XVECEXP", "(", "x", ",", "0", ",", "1", ")", ")", "&&", "REGNO", "(", "XVECEXP", "(", "x", ",", "0", ",", "1", ")", ")", "==", "TOC_REGISTER", ")", ";", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "if", "(", "x", "==", "tocrel_base", "&&", "tocrel_offset", "!=", "const0_rtx", ")", "{", "if", "(", "INTVAL", "(", "tocrel_offset", ")", ">=", "0", ")", "fprintf", "(", "file", ",", "\"+\"", ")", ";", "output_addr_const", "(", "file", ",", "CONST_CAST_RTX", "(", "tocrel_offset", ")", ")", ";", "}", "if", "(", "!", "TARGET_AIX", "||", "(", "TARGET_ELF", "&&", "TARGET_MINIMAL_TOC", ")", ")", "{", "putc", "(", "'-'", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "toc_label_name", ")", ";", "need_toc_init", "=", "1", ";", "}", "else", "if", "(", "TARGET_ELF", ")", "fputs", "(", "\"@toc\"", ",", "file", ")", ";", "return", "true", ";", "case", "UNSPEC_MACHOPIC_OFFSET", ":", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "putc", "(", "'-'", ",", "file", ")", ";", "machopic_output_function_base_name", "(", "file", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA", "."], "TS_V_token": ["rs6000", "1", "0", "0", "0", "1", "0", "1", "0", "0", "0", "\"+\"", "1", "\"@toc\"", "0", "0"], "File": "rs60005", "Func": "rs6000_output_addr_const_extra", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18062, "Length": 212, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMFrameLowering", "::", "assignCalleeSavedSpillSlots", "(", "MachineFunction", "&", "MF", ",", "const", "TargetRegisterInfo", "*", "TRI", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "if", "(", "STI", ".", "hasV8_1MMainlineOps", "(", ")", "&&", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", "->", "isCmseNSEntryFunction", "(", ")", ")", "{", "CSI", ".", "emplace_back", "(", "ARM", "::", "FPCXTNS", ")", ";", "CSI", ".", "back", "(", ")", ".", "setRestored", "(", "false", ")", ";", "}", "const", "auto", "&", "AFI", "=", "*", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "if", "(", "AFI", ".", "shouldSignReturnAddress", "(", ")", ")", "{", "CSI", ".", "insert", "(", "find_if", "(", "CSI", ",", "[", "=", "]", "(", "const", "auto", "&", "CS", ")", "{", "Register", "Reg", "=", "CS", ".", "getReg", "(", ")", ";", "return", "Reg", "==", "ARM", "::", "R10", "||", "Reg", "==", "ARM", "::", "R11", "||", "Reg", "==", "ARM", "::", "R8", "||", "Reg", "==", "ARM", "::", "R9", "||", "ARM", "::", "DPRRegClass", ".", "contains", "(", "Reg", ")", ";", "}", ")", ",", "CalleeSavedInfo", "(", "ARM", "::", "R12", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "will", "assign", "callee", "saved", "gprs", "to", "volatile", "vector", "registers", "for", "prologue", "spills", "when", "applicable", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM::FPCXTNS", "ARM", "ARM::R10", "ARM::R11", "ARM::R8", "ARM::R9", "ARM::DPRRegClass", "ARM::R12"], "File": "ARMFrameLowering3", "Func": "assignCalleeSavedSpillSlots", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18063, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "hasHighOperandLatency", "(", "const", "InstrItineraryData", "*", "ItinData", ",", "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)", "Func": "hasHighOperandLatency", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18064, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "r10k_safe_mem_expr_p", "(", "tree", "expr", ",", "unsigned", "HOST_WIDE_INT", "offset", ")", "{", "HOST_WIDE_INT", "bitoffset", ",", "bitsize", ";", "tree", "inner", ",", "var_offset", ";", "machine_mode", "mode", ";", "int", "unsigned_p", ",", "reverse_p", ",", "volatile_p", ";", "inner", "=", "get_inner_reference", "(", "expr", ",", "&", "bitsize", ",", "&", "bitoffset", ",", "&", "var_offset", ",", "&", "mode", ",", "&", "unsigned_p", ",", "&", "reverse_p", ",", "&", "volatile_p", ",", "false", ")", ";", "if", "(", "!", "DECL_P", "(", "inner", ")", "||", "!", "DECL_SIZE_UNIT", "(", "inner", ")", "||", "var_offset", ")", "return", "false", ";", "offset", "+=", "bitoffset", "/", "BITS_PER_UNIT", ";", "return", "offset", "<", "tree_to_uhwi", "(", "DECL_SIZE_UNIT", "(", "inner", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "MEM", "with", "MEM_EXPR", "EXPR", "and", "MEM_OFFSET", "OFFSET", "is", "an", "in-range", "access", "to", "an", "automatic", "variable", ",", "or", "to", "an", "object", "with", "a", "link-time-constant", "address", "."], "TS_V_token": ["mips"], "File": "mips5", "Func": "r10k_safe_mem_expr_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18065, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86LowerTileCopy", "::", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "setPreservesAll", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["X86", "X86"], "File": "X86LowerTileCopy", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18066, "Length": 25, "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": 18067, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aapcs_layout_arg", "(", "CUMULATIVE_ARGS", "*", "pcum", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "int", "nregs", ",", "nregs2", ";", "int", "ncrn", ";", "if", "(", "pcum", "->", "aapcs_arg_processed", ")", "return", ";", "pcum", "->", "aapcs_arg_processed", "=", "true", ";", "if", "(", "!", "named", ")", "return", ";", "if", "(", "pcum", "->", "pcs_variant", "!=", "ARM_PCS_AAPCS", ")", "{", "int", "slot", "=", "aapcs_select_call_coproc", "(", "pcum", ",", "mode", ",", "type", ")", ";", "pcum", "->", "aapcs_cprc_slot", "=", "slot", ";", "if", "(", "slot", ">=", "0", ")", "{", "if", "(", "!", "pcum", "->", "aapcs_cprc_failed", "[", "slot", "]", ")", "{", "if", "(", "aapcs_cp_arg_layout", "[", "slot", "]", ".", "allocate", "(", "pcum", ",", "mode", ",", "type", ")", ")", "return", ";", "pcum", "->", "aapcs_cprc_failed", "[", "slot", "]", "=", "true", ";", "pcum", "->", "can_split", "=", "false", ";", "}", "gcc_assert", "(", "pcum", "->", "can_split", "==", "false", ")", ";", "return", ";", "}", "}", "ncrn", "=", "pcum", "->", "aapcs_ncrn", ";", "if", "(", "(", "ncrn", "&", "1", ")", "&&", "arm_needs_doubleword_align", "(", "mode", ",", "type", ")", ")", "ncrn", "++", ";", "nregs", "=", "ARM_NUM_REGS2", "(", "mode", ",", "type", ")", ";", "gcc_assert", "(", "nregs", ">=", "0", ")", ";", "nregs2", "=", "nregs", "?", "nregs", ":", "1", ";", "if", "(", "ncrn", "+", "nregs2", "<=", "NUM_ARG_REGS", ")", "{", "pcum", "->", "aapcs_reg", "=", "gen_rtx_REG", "(", "mode", ",", "ncrn", ")", ";", "pcum", "->", "aapcs_next_ncrn", "=", "ncrn", "+", "nregs", ";", "return", ";", "}", "if", "(", "ncrn", "<", "NUM_ARG_REGS", "&&", "pcum", "->", "can_split", ")", "{", "pcum", "->", "aapcs_reg", "=", "gen_rtx_REG", "(", "mode", ",", "ncrn", ")", ";", "pcum", "->", "aapcs_next_ncrn", "=", "NUM_ARG_REGS", ";", "pcum", "->", "aapcs_partial", "=", "(", "NUM_ARG_REGS", "-", "ncrn", ")", "*", "UNITS_PER_WORD", ";", "return", ";", "}", "pcum", "->", "aapcs_next_ncrn", "=", "NUM_ARG_REGS", ";", "return", ";", "}", ""], "natrual_language": ["Lay", "out", "a", "function", "argument", "using", "the", "AAPCS", "rules", ".", "The", "rule", "numbers", "referred", "to", "here", "are", "those", "in", "the", "AAPCS", "."], "TS_V_token": ["arm", "0", "1", "0", "1"], "File": "arm4", "Func": "aapcs_layout_arg", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18068, "Length": 270, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_d_target_versions", "(", "void", ")", "{", "d_add_builtin_version", "(", "\"AArch64\"", ")", ";", "d_add_builtin_version", "(", "\"D_HardFloat\"", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_D_CPU_VERSIONS", "for", "AArch64", "targets", "."], "TS_V_token": ["aarch64", "\"AArch64\"", "\"D_HardFloat\""], "File": "aarch64-d", "Func": "aarch64_d_target_versions", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18069, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ARM64TargetLowering", "::", "getScalingFactorCost", "(", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ")", "const", "{", "if", "(", "isLegalAddressingMode", "(", "AM", ",", "Ty", ")", ")", "return", "AM", ".", "Scale", "!=", "0", "&&", "AM", ".", "Scale", "!=", "1", ";", "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": ["ARM64", "ARM64", "0", "1", "1"], "File": "ARM64ISelLowering", "Func": "getScalingFactorCost", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18070, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsSETargetLowering", "::", "getOpndList", "(", "SmallVectorImpl", "<", "SDValue", ">", "&", "Ops", ",", "std", "::", "deque", "<", "std", "::", "pair", "<", "unsigned", ",", "SDValue", ">", ">", "&", "RegsToPass", ",", "bool", "IsPICCall", ",", "bool", "GlobalOrExternal", ",", "bool", "InternalLinkage", ",", "CallLoweringInfo", "&", "CLI", ",", "SDValue", "Callee", ",", "SDValue", "Chain", ")", "const", "{", "Ops", ".", "push_back", "(", "Callee", ")", ";", "MipsTargetLowering", "::", "getOpndList", "(", "Ops", ",", "RegsToPass", ",", "IsPICCall", ",", "GlobalOrExternal", ",", "InternalLinkage", ",", "CLI", ",", "Callee", ",", "Chain", ")", ";", "}", ""], "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"], "File": "MipsSEISelLowering (2)", "Func": "getOpndList", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18071, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sh_option_override", "(", "void", ")", "{", "int", "regno", ";", "SUBTARGET_OVERRIDE_OPTIONS", ";", "sh_cpu", "=", "PROCESSOR_SH1", ";", "assembler_dialect", "=", "0", ";", "if", "(", "TARGET_SH2", ")", "sh_cpu", "=", "PROCESSOR_SH2", ";", "if", "(", "TARGET_SH2E", ")", "sh_cpu", "=", "PROCESSOR_SH2E", ";", "if", "(", "TARGET_SH2A", ")", "sh_cpu", "=", "PROCESSOR_SH2A", ";", "if", "(", "TARGET_SH3", ")", "sh_cpu", "=", "PROCESSOR_SH3", ";", "if", "(", "TARGET_SH3E", ")", "sh_cpu", "=", "PROCESSOR_SH3E", ";", "if", "(", "TARGET_SH4", ")", "{", "assembler_dialect", "=", "1", ";", "sh_cpu", "=", "PROCESSOR_SH4", ";", "}", "if", "(", "TARGET_SH4A", ")", "{", "assembler_dialect", "=", "1", ";", "sh_cpu", "=", "PROCESSOR_SH4A", ";", "}", "if", "(", "!", "TARGET_SH3", "&&", "TARGET_USERMODE", ")", "TARGET_USERMODE", "=", "false", ";", "if", "(", "!", "strcmp", "(", "sh_div_str", ",", "\"call-div1\"", ")", ")", "sh_div_strategy", "=", "SH_DIV_CALL_DIV1", ";", "else", "if", "(", "!", "strcmp", "(", "sh_div_str", ",", "\"call-fp\"", ")", "&&", "TARGET_FPU_ANY", ")", "sh_div_strategy", "=", "SH_DIV_CALL_FP", ";", "else", "if", "(", "!", "strcmp", "(", "sh_div_str", ",", "\"call-table\"", ")", "&&", "TARGET_DYNSHIFT", ")", "sh_div_strategy", "=", "SH_DIV_CALL_TABLE", ";", "else", "{", "if", "(", "TARGET_HARD_SH4", ")", "sh_div_strategy", "=", "SH_DIV_CALL_TABLE", ";", "else", "if", "(", "TARGET_SH2A", ")", "sh_div_strategy", "=", "SH_DIV_INTRINSIC", ";", "else", "sh_div_strategy", "=", "SH_DIV_CALL_DIV1", ";", "}", "if", "(", "sh_divsi3_libfunc", "[", "0", "]", ")", ";", "else", "if", "(", "TARGET_DIVIDE_CALL_FP", ")", "sh_divsi3_libfunc", "=", "\"__sdivsi3_i4\"", ";", "else", "if", "(", "TARGET_DIVIDE_CALL_TABLE", ")", "sh_divsi3_libfunc", "=", "\"__sdivsi3_i4i\"", ";", "else", "sh_divsi3_libfunc", "=", "\"__sdivsi3\"", ";", "if", "(", "sh_branch_cost", "==", "-", "1", ")", "{", "sh_branch_cost", "=", "2", ";", "}", "if", "(", "!", "global_options_set", ".", "x_TARGET_ZDCBRANCH", "&&", "TARGET_HARD_SH4", ")", "TARGET_ZDCBRANCH", "=", "1", ";", "if", "(", "TARGET_FDPIC", "&&", "!", "flag_pic", ")", "flag_pic", "=", "2", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "!", "VALID_REGISTER_P", "(", "regno", ")", ")", "sh_register_names", "[", "regno", "]", "[", "0", "]", "=", "'\\0'", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "ADDREGNAMES_SIZE", ";", "regno", "++", ")", "if", "(", "!", "VALID_REGISTER_P", "(", "ADDREGNAMES_REGNO", "(", "regno", ")", ")", ")", "sh_additional_register_names", "[", "regno", "]", "[", "0", "]", "=", "'\\0'", ";", "if", "(", "flag_pic", "&&", "!", "TARGET_PREFERGOT", ")", "flag_no_function_cse", "=", "1", ";", "if", "(", "targetm", ".", "small_register_classes_for_mode_p", "(", "VOIDmode", ")", ")", "{", "if", "(", "!", "TARGET_HARD_SH4", "||", "flag_pic", ")", "flag_schedule_insns", "=", "0", ";", "else", "if", "(", "flag_exceptions", ")", "{", "if", "(", "flag_schedule_insns", "&&", "global_options_set", ".", "x_flag_schedule_insns", ")", "warning", "(", "0", ",", "\"ignoring %<-fschedule-insns%> because of exception \"", "\"handling bug\"", ")", ";", "flag_schedule_insns", "=", "0", ";", "}", "else", "if", "(", "flag_schedule_insns", "&&", "!", "global_options_set", ".", "x_flag_schedule_insns", ")", "flag_schedule_insns", "=", "0", ";", "}", "if", "(", "(", "flag_unwind_tables", "||", "flag_asynchronous_unwind_tables", "||", "flag_exceptions", "||", "flag_non_call_exceptions", ")", "&&", "flag_omit_frame_pointer", "&&", "!", "TARGET_ACCUMULATE_OUTGOING_ARGS", ")", "{", "warning", "(", "0", ",", "\"unwind tables currently require either a frame pointer \"", "\"or %<-maccumulate-outgoing-args%> for correctness\"", ")", ";", "TARGET_ACCUMULATE_OUTGOING_ARGS", "=", "1", ";", "}", "if", "(", "flag_unsafe_math_optimizations", ")", "{", "if", "(", "global_options_set", ".", "x_TARGET_FSCA", "==", "0", "&&", "TARGET_SH4A_FP", ")", "TARGET_FSCA", "=", "1", ";", "if", "(", "global_options_set", ".", "x_TARGET_FSRRA", "==", "0", "&&", "TARGET_SH4A_FP", ")", "TARGET_FSRRA", "=", "1", ";", "}", "TARGET_FSRRA", "=", "TARGET_FSRRA", "&&", "flag_unsafe_math_optimizations", "&&", "flag_finite_math_only", ";", "if", "(", "!", "global_options_set", ".", "x_TARGET_IEEE", ")", "TARGET_IEEE", "=", "!", "flag_finite_math_only", ";", "if", "(", "sh_fixed_range_str", ")", "sh_fix_range", "(", "sh_fixed_range_str", ")", ";", "if", "(", "flag_strict_volatile_bitfields", "<", "0", "&&", "abi_version_at_least", "(", "2", ")", ")", "flag_strict_volatile_bitfields", "=", "1", ";", "sh_override_options_after_change", "(", ")", ";", "selected_atomic_model_", "=", "parse_validate_atomic_model_option", "(", "sh_atomic_model_str", ")", ";", "register_sh_passes", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_OVERRIDE", "macro", ".", "Validate", "and", "override", "various", "options", ",", "and", "do", "some", "machine", "dependent", "initialization", "."], "TS_V_token": ["sh", "0", "1", "1", "\"call-div1\"", "\"call-fp\"", "\"call-table\"", "0", "\"__sdivsi3_i4\"", "\"__sdivsi3_i4i\"", "\"__sdivsi3\"", "1", "2", "1", "2", "0", "0", "0", "0", "1", "0", "0", "\"ignoring %<-fschedule-insns%> because of exception \"", "\"handling bug\"", "0", "0", "0", "\"unwind tables currently require either a frame pointer \"", "\"or %<-maccumulate-outgoing-args%> for correctness\"", "1", "0", "1", "0", "1", "0", "2", "1"], "File": "sh8", "Func": "sh_option_override", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18072, "Length": 504, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_hard_regno_nregs_internal", "(", "int", "regno", ",", "machine_mode", "mode", ")", "{", "unsigned", "HOST_WIDE_INT", "reg_size", ";", "if", "(", "FP_REGNO_P", "(", "regno", ")", ")", "reg_size", "=", "(", "VECTOR_MEM_VSX_P", "(", "mode", ")", "?", "UNITS_PER_VSX_WORD", ":", "UNITS_PER_FP_WORD", ")", ";", "else", "if", "(", "SPE_SIMD_REGNO_P", "(", "regno", ")", "&&", "TARGET_SPE", "&&", "SPE_VECTOR_MODE", "(", "mode", ")", ")", "reg_size", "=", "UNITS_PER_SPE_WORD", ";", "else", "if", "(", "ALTIVEC_REGNO_P", "(", "regno", ")", ")", "reg_size", "=", "UNITS_PER_ALTIVEC_WORD", ";", "else", "if", "(", "TARGET_E500_DOUBLE", "&&", "FLOAT_MODE_P", "(", "mode", ")", "&&", "mode", "!=", "SCmode", "&&", "!", "DECIMAL_FLOAT_MODE_P", "(", "mode", ")", "&&", "SPE_SIMD_REGNO_P", "(", "regno", ")", ")", "reg_size", "=", "UNITS_PER_FP_WORD", ";", "else", "reg_size", "=", "UNITS_PER_WORD", ";", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "reg_size", "-", "1", ")", "/", "reg_size", ";", "}", ""], "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", ".", "POWER", "and", "PowerPC", "GPRs", "hold", "32", "bits", "worth", ";", "PowerPC64", "GPRs", "and", "FPRs", "point", "register", "holds", "64", "bits", "worth", "."], "TS_V_token": ["rs6000", "1"], "File": "rs60005", "Func": "rs6000_hard_regno_nregs_internal", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18073, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "output_pcrel_opt_reloc", "(", "rtx", "label_num", ")", "{", "rtx", "operands", "[", "1", "]", "=", "{", "label_num", "}", ";", "output_asm_insn", "(", "\".reloc .Lpcrel%0-8,R_PPC64_PCREL_OPT,.-(.Lpcrel%0-8)\"", ",", "operands", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "relocation", "to", "tie", "the", "next", "instruction", "to", "a", "previous", "instruction", "that", "loads", "up", "an", "external", "address", ".", "This", "is", "used", "to", "do", "the", "PCREL_OPT", "optimization", ".", "Note", ",", "the", "label", "is", "generated", "after", "the", "PLD", "of", "the", "got", "pc-relative", "address", "to", "allow", "for", "the", "assembler", "to", "insert", "NOPs", "before", "the", "PLD", "instruction", ".", "The", "operand", "is", "a", "constant", "integer", "that", "is", "the", "label", "number", "."], "TS_V_token": ["rs6000", "1", "\".reloc .Lpcrel%0-8,R_PPC64_PCREL_OPT,.-(.Lpcrel%0-8)\""], "File": "rs6000", "Func": "output_pcrel_opt_reloc", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18074, "Length": 25, "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": 18075, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "F2003fDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "SDLoc", "dl", "(", "Node", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "Node", "->", "setNodeId", "(", "-", "1", ")", ";", "return", ";", "}", "switch", "(", "Node", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "FrameIndex", ":", "{", "int", "FI", "=", "cast", "<", "FrameIndexSDNode", ">", "(", "Node", ")", "->", "getIndex", "(", ")", ";", "SDValue", "TFI", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "TLI", "->", "getPointerTy", "(", "CurDAG", "->", "getDataLayout", "(", ")", ")", ")", ";", "CurDAG", "->", "SelectNodeTo", "(", "Node", ",", "F2003f", "::", "ATAframe", ",", "MVT", "::", "i32", ",", "TFI", ",", "CurDAG", "->", "getTargetConstant", "(", "0", ",", "dl", ",", "MVT", "::", "i16", ")", ")", ";", "return", ";", "}", "}", "SelectCode", "(", "Node", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["F2003f", "F2003f", "1", "ISD::FrameIndex", "F2003f::ATAframe", "MVT::i32", "0", "MVT::i16"], "File": "F2003fISelDAGToDAG", "Func": "Select", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18076, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "flushPendingInstructions", "(", "MCStreamer", "&", "Out", ")", "override", "{", "if", "(", "!", "inImplicitITBlock", "(", ")", ")", "{", "assert", "(", "PendingConditionalInsts", ".", "size", "(", ")", "==", "0", ")", ";", "return", ";", "}", "MCInst", "ITInst", ";", "ITInst", ".", "setOpcode", "(", "ARM", "::", "t2IT", ")", ";", "ITInst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "ITState", ".", "Cond", ")", ")", ";", "ITInst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "ITState", ".", "Mask", ")", ")", ";", "Out", ".", "EmitInstruction", "(", "ITInst", ",", "getSTI", "(", ")", ")", ";", "assert", "(", "PendingConditionalInsts", ".", "size", "(", ")", "<=", "4", ")", ";", "for", "(", "const", "MCInst", "&", "Inst", ":", "PendingConditionalInsts", ")", "{", "Out", ".", "EmitInstruction", "(", "Inst", ",", "getSTI", "(", ")", ")", ";", "}", "PendingConditionalInsts", ".", "clear", "(", ")", ";", "ITState", ".", "Mask", "=", "0", ";", "ITState", ".", "CurPosition", "=", "~", "0U", ";", "}", ""], "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": ["ARM", "0", "ARM::t2IT", "4", "0", "0U"], "File": "ARMAsmParser (2)4", "Func": "flushPendingInstructions", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18077, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LC2200InstrInfo", "::", "isAsCheapAsAMove", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "const", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "break", ";", "case", "LC2200", "::", "ADDI", ":", "return", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "LC2200", "::", "zero", ")", ";", "}", "return", "MI", ".", "isAsCheapAsAMove", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "instruction", "is", "as", "cheap", "as", "a", "move", "instruction", "."], "TS_V_token": ["LC2200", "LC2200", "LC2200::ADDI", "1", "1", "LC2200::zero"], "File": "LC2200InstrInfo", "Func": "isAsCheapAsAMove", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18078, "Length": 74, "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", ",", "[", "&", "]", "(", "ArrayRef", "<", "unsigned", ">", "Regs", ")", "{", "MIRBuilder", ".", "buildUnmerge", "(", "Regs", ",", "VReg", ")", ";", "}", ")", ";", "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": "X86CallLowering6", "Func": "lowerReturn", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18079, "Length": 209, "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", ">", "(", ")", ";", "AsmPrinter", "::", "runOnMachineFunction", "(", "MF", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips"], "File": "MipsAsmPrinter11", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18080, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 Atom pad short functions\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 Atom pad short functions\""], "File": "X86PadShortFunction (2)", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18081, "Length": 13, "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": 18082, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FixupSetCCPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "Changed", "=", "false", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "TII", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "SmallVector", "<", "MachineInstr", "*", ",", "4", ">", "ToErase", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "MachineInstr", "*", "FlagsDefMI", "=", "nullptr", ";", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "if", "(", "MI", ".", "definesRegister", "(", "X86", "::", "EFLAGS", ")", ")", "FlagsDefMI", "=", "&", "MI", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "!=", "X86", "::", "SETCCr", ")", "continue", ";", "MachineInstr", "*", "ZExt", "=", "nullptr", ";", "for", "(", "auto", "&", "Use", ":", "MRI", "->", "use_instructions", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", "if", "(", "Use", ".", "getOpcode", "(", ")", "==", "X86", "::", "MOVZX32rr8", ")", "ZExt", "=", "&", "Use", ";", "if", "(", "!", "ZExt", ")", "continue", ";", "if", "(", "!", "FlagsDefMI", ")", "continue", ";", "if", "(", "FlagsDefMI", "->", "readsRegister", "(", "X86", "::", "EFLAGS", ")", ")", "continue", ";", "++", "NumSubstZexts", ";", "Changed", "=", "true", ";", "const", "TargetRegisterClass", "*", "RC", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", "?", "&", "X86", "::", "GR32RegClass", ":", "&", "X86", "::", "GR32_ABCDRegClass", ";", "Register", "ZeroReg", "=", "MRI", "->", "createVirtualRegister", "(", "RC", ")", ";", "Register", "InsertReg", "=", "MRI", "->", "createVirtualRegister", "(", "RC", ")", ";", "BuildMI", "(", "MBB", ",", "FlagsDefMI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "X86", "::", "MOV32r0", ")", ",", "ZeroReg", ")", ";", "BuildMI", "(", "*", "ZExt", "->", "getParent", "(", ")", ",", "ZExt", ",", "ZExt", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "X86", "::", "INSERT_SUBREG", ")", ",", "InsertReg", ")", ".", "addReg", "(", "ZeroReg", ")", ".", "addReg", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addImm", "(", "X86", "::", "sub_8bit", ")", ";", "MRI", "->", "replaceRegWith", "(", "ZExt", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "InsertReg", ")", ";", "ToErase", ".", "push_back", "(", "ZExt", ")", ";", "}", "}", "for", "(", "auto", "&", "I", ":", "ToErase", ")", "I", "->", "eraseFromParent", "(", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "4", "X86::EFLAGS", "X86::SETCCr", "0", "X86::MOVZX32rr8", "X86::EFLAGS", "X86", "X86::GR32RegClass", "X86::GR32_ABCDRegClass", "X86::MOV32r0", "X86::INSERT_SUBREG", "0", "X86::sub_8bit", "0"], "File": "X86FixupSetCC6", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18083, "Length": 353, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseRegisterInfo", "::", "canRealignStack", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineRegisterInfo", "*", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "const", "ARMFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "const", "ARMSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "if", "(", "!", "TargetRegisterInfo", "::", "canRealignStack", "(", "MF", ")", ")", "return", "false", ";", "if", "(", "!", "MRI", "->", "canReserveReg", "(", "STI", ".", "getFramePointerReg", "(", ")", ")", ")", "return", "false", ";", "if", "(", "TFI", "->", "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", "ARM"], "File": "ARMBaseRegisterInfo", "Func": "canRealignStack", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18084, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86WinAllocaExpander", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "!", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "hasWinAlloca", "(", ")", ")", "return", "false", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "STI", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "STI", "->", "getRegisterInfo", "(", ")", ";", "StackPtr", "=", "TRI", "->", "getStackRegister", "(", ")", ";", "SlotSize", "=", "TRI", "->", "getSlotSize", "(", ")", ";", "StackProbeSize", "=", "4096", ";", "if", "(", "MF", ".", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "\"stack-probe-size\"", ")", ")", "{", "MF", ".", "getFunction", "(", ")", "->", "getFnAttribute", "(", "\"stack-probe-size\"", ")", ".", "getValueAsString", "(", ")", ".", "getAsInteger", "(", "0", ",", "StackProbeSize", ")", ";", "}", "LoweringMap", "Lowerings", ";", "computeLowerings", "(", "MF", ",", "Lowerings", ")", ";", "for", "(", "auto", "&", "P", ":", "Lowerings", ")", "lower", "(", "P", ".", "first", ",", "P", ".", "second", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "4096", "\"stack-probe-size\"", "\"stack-probe-size\"", "0"], "File": "X86WinAllocaExpander1", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18085, "Length": 156, "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", "<", "CAHPMCExpr", ">", "(", "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": ["CAHP", "\"Expr shouldn't be null!\"", "0", "CAHP"], "File": "CAHPAsmParser", "Func": "addExpr", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18086, "Length": 115, "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": 18087, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "PPCRegisterInfo", "::", "materializeFrameBaseRegister", "(", "MachineBasicBlock", "*", "MBB", ",", "int", "FrameIdx", ",", "int64_t", "Offset", ")", "const", "{", "unsigned", "ADDriOpc", "=", "TM", ".", "isPPC64", "(", ")", "?", "PPC", "::", "ADDI8", ":", "PPC", "::", "ADDI", ";", "MachineBasicBlock", "::", "iterator", "Ins", "=", "MBB", "->", "begin", "(", ")", ";", "DebugLoc", "DL", ";", "if", "(", "Ins", "!=", "MBB", "->", "end", "(", ")", ")", "DL", "=", "Ins", "->", "getDebugLoc", "(", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", "->", "getParent", "(", ")", ";", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "TII", ".", "get", "(", "ADDriOpc", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MBB", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "getPointerRegClass", "(", "MF", ")", ";", "Register", "BaseReg", "=", "MRI", ".", "createVirtualRegister", "(", "RC", ")", ";", "MRI", ".", "constrainRegClass", "(", "BaseReg", ",", "TII", ".", "getRegClass", "(", "MCID", ",", "0", ",", "this", ",", "MF", ")", ")", ";", "BuildMI", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "MCID", ",", "BaseReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "Offset", ")", ";", "return", "BaseReg", ";", "}", ""], "natrual_language": ["Insert", "defining", "instruction", "(", "s", ")", "for", "a", "pointer", "to", "FrameIdx", "before", "insertion", "point", "I", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::ADDI8", "PPC::ADDI", "PPC", "PPC", "0"], "File": "PPCRegisterInfo (2)3", "Func": "materializeFrameBaseRegister", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18088, "Length": 198, "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": 18089, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86LoadValueInjectionLoadHardeningPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** \"", "<<", "getPassName", "(", ")", "<<", "\" : \"", "<<", "MF", ".", "getName", "(", ")", "<<", "\" *****\\n\"", ")", ";", "STI", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "STI", "->", "useLVILoadHardening", "(", ")", ")", "return", "false", ";", "if", "(", "!", "STI", "->", "is64Bit", "(", ")", ")", "report_fatal_error", "(", "\"LVI load hardening is only supported on 64-bit\"", ",", "false", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "!", "F", ".", "hasOptNone", "(", ")", "&&", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "++", "NumFunctionsConsidered", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "STI", "->", "getRegisterInfo", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Building gadget graph...\\n\"", ")", ";", "const", "auto", "&", "MLI", "=", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "const", "auto", "&", "MDT", "=", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "const", "auto", "&", "MDF", "=", "getAnalysis", "<", "MachineDominanceFrontier", ">", "(", ")", ";", "std", "::", "unique_ptr", "<", "MachineGadgetGraph", ">", "Graph", "=", "getGadgetGraph", "(", "MF", ",", "MLI", ",", "MDT", ",", "MDF", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Building gadget graph... Done\\n\"", ")", ";", "if", "(", "Graph", "==", "nullptr", ")", "return", "false", ";", "if", "(", "EmitDotVerify", ")", "{", "writeGadgetGraph", "(", "outs", "(", ")", ",", "MF", ",", "Graph", ".", "get", "(", ")", ")", ";", "return", "false", ";", "}", "if", "(", "EmitDot", "||", "EmitDotOnly", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Emitting gadget graph...\\n\"", ")", ";", "std", "::", "error_code", "FileError", ";", "std", "::", "string", "FileName", "=", "\"lvi.\"", ";", "FileName", "+=", "MF", ".", "getName", "(", ")", ";", "FileName", "+=", "\".dot\"", ";", "raw_fd_ostream", "FileOut", "(", "FileName", ",", "FileError", ")", ";", "if", "(", "FileError", ")", "errs", "(", ")", "<<", "FileError", ".", "message", "(", ")", ";", "writeGadgetGraph", "(", "FileOut", ",", "MF", ",", "Graph", ".", "get", "(", ")", ")", ";", "FileOut", ".", "close", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Emitting gadget graph... Done\\n\"", ")", ";", "if", "(", "EmitDotOnly", ")", "return", "false", ";", "}", "int", "FencesInserted", ";", "if", "(", "!", "OptimizePluginPath", ".", "empty", "(", ")", ")", "{", "if", "(", "!", "OptimizeDL", ".", "isValid", "(", ")", ")", "{", "std", "::", "string", "ErrorMsg", ";", "OptimizeDL", "=", "llvm", "::", "sys", "::", "DynamicLibrary", "::", "getPermanentLibrary", "(", "OptimizePluginPath", ".", "c_str", "(", ")", ",", "&", "ErrorMsg", ")", ";", "if", "(", "!", "ErrorMsg", ".", "empty", "(", ")", ")", "report_fatal_error", "(", "Twine", "(", "\"Failed to load opt plugin: \\\"\"", ")", "+", "ErrorMsg", "+", "\"\\\"\"", ")", ";", "OptimizeCut", "=", "(", "OptimizeCutT", ")", "OptimizeDL", ".", "getAddressOfSymbol", "(", "\"optimize_cut\"", ")", ";", "if", "(", "!", "OptimizeCut", ")", "report_fatal_error", "(", "\"Invalid optimization plugin\"", ")", ";", "}", "FencesInserted", "=", "hardenLoadsWithPlugin", "(", "MF", ",", "std", "::", "move", "(", "Graph", ")", ")", ";", "}", "else", "{", "FencesInserted", "=", "hardenLoadsWithHeuristic", "(", "MF", ",", "std", "::", "move", "(", "Graph", ")", ")", ";", "}", "if", "(", "FencesInserted", ">", "0", ")", "++", "NumFunctionsMitigated", ";", "NumFences", "+=", "FencesInserted", ";", "return", "(", "FencesInserted", ">", "0", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "\"***** \"", "\" : \"", "\" *****\\n\"", "X86", "\"LVI load hardening is only supported on 64-bit\"", "\"Building gadget graph...\\n\"", "\"Building gadget graph... Done\\n\"", "\"Emitting gadget graph...\\n\"", "\"lvi.\"", "\".dot\"", "\"Emitting gadget graph... Done\\n\"", "\"Failed to load opt plugin: \\\"\"", "\"\\\"\"", "\"optimize_cut\"", "\"Invalid optimization plugin\"", "0", "0"], "File": "X86LoadValueInjectionLoadHardening", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18090, "Length": 469, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_mov_double_fpa_from_arm", "(", "rtx", "*", "operands", ")", "{", "int", "arm_reg0", "=", "REGNO", "(", "operands", "[", "1", "]", ")", ";", "rtx", "ops", "[", "2", "]", ";", "gcc_assert", "(", "arm_reg0", "!=", "IP_REGNUM", ")", ";", "ops", "[", "0", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "arm_reg0", ")", ";", "ops", "[", "1", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "1", "+", "arm_reg0", ")", ";", "output_asm_insn", "(", "\"stm%?fd\\t%|sp!, {%0, %1}\"", ",", "ops", ")", ";", "output_asm_insn", "(", "\"ldf%?d\\t%0, [%|sp], #8\"", ",", "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", "2", "0", "1", "1", "\"stm%?fd\\t%|sp!, {%0, %1}\"", "\"ldf%?d\\t%0, [%|sp], #8\"", "\"\""], "File": "arm3", "Func": "output_mov_double_fpa_from_arm", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18091, "Length": 78, "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", "(", "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": "mips", "Func": "mips_emit_unary", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18092, "Length": 36, "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": 18093, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "parse_mtune_ctrl_str", "(", "bool", "dump", ")", "{", "if", "(", "!", "ix86_tune_ctrl_string", ")", "return", ";", "char", "*", "next_feature_string", "=", "NULL", ";", "char", "*", "curr_feature_string", "=", "xstrdup", "(", "ix86_tune_ctrl_string", ")", ";", "char", "*", "orig", "=", "curr_feature_string", ";", "int", "i", ";", "do", "{", "bool", "clear", "=", "false", ";", "next_feature_string", "=", "strchr", "(", "curr_feature_string", ",", "','", ")", ";", "if", "(", "next_feature_string", ")", "*", "next_feature_string", "++", "=", "'\\0'", ";", "if", "(", "*", "curr_feature_string", "==", "'^'", ")", "{", "curr_feature_string", "++", ";", "clear", "=", "true", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "X86_TUNE_LAST", ";", "i", "++", ")", "{", "if", "(", "!", "strcmp", "(", "curr_feature_string", ",", "ix86_tune_feature_names", "[", "i", "]", ")", ")", "{", "ix86_tune_features", "[", "i", "]", "=", "!", "clear", ";", "if", "(", "dump", ")", "fprintf", "(", "stderr", ",", "\"Explicitly %s feature %s\\n\"", ",", "clear", "?", "\"clear\"", ":", "\"set\"", ",", "ix86_tune_feature_names", "[", "i", "]", ")", ";", "break", ";", "}", "}", "if", "(", "i", "==", "X86_TUNE_LAST", ")", "error", "(", "\"Unknown parameter to option -mtune-ctrl: %s\"", ",", "clear", "?", "curr_feature_string", "-", "1", ":", "curr_feature_string", ")", ";", "curr_feature_string", "=", "next_feature_string", ";", "}", "while", "(", "curr_feature_string", ")", ";", "free", "(", "orig", ")", ";", "}", ""], "natrual_language": ["parse", "-mtune-ctrl=", "option", ".", "When", "DUMP", "is", "true", ",", "print", "the", "features", "that", "are", "explicitly", "set", "."], "TS_V_token": ["i386", "0", "\"Explicitly %s feature %s\\n\"", "\"clear\"", "\"set\"", "\"Unknown parameter to option -mtune-ctrl: %s\"", "1"], "File": "i3864", "Func": "parse_mtune_ctrl_str", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18094, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "MipsTargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "IsMemset", ",", "bool", "ZeroMemset", ",", "bool", "MemcpyStrSrc", ",", "const", "AttributeList", "&", "FuncAttributes", ")", "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)4", "Func": "getOptimalMemOpType", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18095, "Length": 49, "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": 18096, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "csky_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "int", "nregs", "=", "CSKY_NUM_REGS", "(", "mode", ")", ";", "if", "(", "nregs", ">", "2", ")", "return", "false", ";", "if", "(", "regno", "<", "CSKY_NGPR_REGS", ")", "{", "if", "(", "nregs", "<", "2", ")", "return", "true", ";", "else", "if", "(", "TARGET_MINI_REGISTERS", ")", "return", "(", "regno", "<", "CSKY_LAST_MINI_REGNUM", ")", ";", "else", "if", "(", "CSKY_TARGET_ARCH", "(", "CK802", ")", "||", "CSKY_TARGET_ARCH", "(", "CK803", ")", "||", "!", "TARGET_HIGH_REGISTERS", ")", "return", "(", "regno", "<", "(", "CSKY_SP_REGNUM", "-", "1", ")", ")", ";", "else", "return", "(", "regno", "<", "(", "CSKY_SP_REGNUM", "-", "1", ")", "||", "(", "regno", ">=", "CSKY_LR_REGNUM", "&&", "regno", "<", "CSKY_LAST_HIGH_UNFIXED_REGNUM", ")", ")", ";", "}", "else", "if", "(", "regno", "==", "CSKY_CC_REGNUM", ")", "return", "(", "mode", "==", "CCmode", ")", ";", "else", "if", "(", "regno", "==", "CSKY_HI_REGNUM", "||", "regno", "==", "CSKY_LO_REGNUM", ")", "{", "if", "(", "!", "TARGET_DSP", "||", "mode", "==", "SFmode", "||", "mode", "==", "DFmode", ")", "return", "false", ";", "else", "if", "(", "nregs", "==", "2", ")", "return", "(", "regno", "==", "CSKY_HI_REGNUM", ")", ";", "else", "return", "true", ";", "}", "else", "if", "(", "CSKY_VREG_P", "(", "regno", ")", "&&", "TARGET_HARD_FLOAT", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_MODE_OK", ".", "Return", "true", "if", "REGNO", "is", "a", "valid", "register", "for", "holding", "a", "quantity", "of", "type", "MODE", "."], "TS_V_token": ["csky", "2", "2", "1", "1", "2"], "File": "csky", "Func": "csky_hard_regno_mode_ok", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18097, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getSymbol", "(", ")", "const", "{", "return", "S", ".", "c_str", "(", ")", ";", "}", ""], "natrual_language": ["Get", "the", "target", "address", "and", "flags", "for", "the", "named", "symbol", "."], "TS_V_token": ["ARM"], "File": "ARMConstantPoolValue", "Func": "getSymbol", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18098, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "(", ")", "{", "X86TargetMachine", "::", "registerAsmPrinter", "(", "createX86CodePrinterPass", ")", ";", "}", ""], "natrual_language": ["Base", "register", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86AsmPrinter24", "Func": "Register", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18099, "Length": 12, "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", "{", "if", "(", "Subtarget", "->", "isThumb", "(", ")", ")", "return", "false", ";", "MVT", "VT", ";", "SDValue", "Ptr", ";", "bool", "isSEXTLoad", "=", "false", ";", "if", "(", "LoadSDNode", "*", "LD", "=", "dyn_cast", "<", "LoadSDNode", ">", "(", "N", ")", ")", "{", "VT", "=", "LD", "->", "getMemoryVT", "(", ")", ";", "isSEXTLoad", "=", "LD", "->", "getExtensionType", "(", ")", "==", "ISD", "::", "SEXTLOAD", ";", "}", "else", "if", "(", "StoreSDNode", "*", "ST", "=", "dyn_cast", "<", "StoreSDNode", ">", "(", "N", ")", ")", "{", "VT", "=", "ST", "->", "getMemoryVT", "(", ")", ";", "}", "else", "return", "false", ";", "bool", "isInc", ";", "bool", "isLegal", "=", "getIndexedAddressParts", "(", "Op", ",", "VT", ",", "isSEXTLoad", ",", "Base", ",", "Offset", ",", "isInc", ",", "DAG", ")", ";", "if", "(", "isLegal", ")", "{", "AM", "=", "isInc", "?", "ISD", "::", "POST_INC", ":", "ISD", "::", "POST_DEC", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "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::POST_INC", "ISD::POST_DEC"], "File": "ARMISelLowering124", "Func": "getPostIndexedAddressParts", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18100, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PPCSubtarget", "::", "PPCSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "is64Bit", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", ":", "PPCGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "IsPPC64", "(", "is64Bit", ")", ",", "TargetTriple", "(", "TT", ")", ",", "OptLevel", "(", "OptLevel", ")", "{", "initializeEnvironment", "(", ")", ";", "resetSubtargetFeatures", "(", "CPU", ",", "FS", ")", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC"], "File": "PPCSubtarget33", "Func": "PPCSubtarget", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18101, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "X86TargetLowering", "::", "getPICJumpTableRelocBase", "(", "SDValue", "Table", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "usesGlobalOffsetTable", "(", ")", ")", "return", "DAG", ".", "getGLOBAL_OFFSET_TABLE", "(", "getPointerTy", "(", ")", ")", ";", "if", "(", "!", "Subtarget", "->", "is64Bit", "(", ")", ")", "return", "DAG", ".", "getNode", "(", "X86ISD", "::", "GlobalBaseReg", ",", "DebugLoc", "::", "getUnknownLoc", "(", ")", ",", "getPointerTy", "(", ")", ")", ";", "return", "Table", ";", "}", ""], "natrual_language": ["Returns", "relocation", "base", "for", "the", "given", "PIC", "jumptable", "."], "TS_V_token": ["X86", "X86", "X86ISD::GlobalBaseReg"], "File": "X86ISelLowering94", "Func": "getPICJumpTableRelocBase", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18102, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_le_vsx_move", "(", "rtx", "dest", ",", "rtx", "source", ",", "machine_mode", "mode", ")", "{", "gcc_assert", "(", "!", "BYTES_BIG_ENDIAN", "&&", "VECTOR_MEM_VSX_P", "(", "mode", ")", "&&", "!", "gpr_or_gpr_p", "(", "dest", ",", "source", ")", "&&", "(", "MEM_P", "(", "source", ")", "^", "MEM_P", "(", "dest", ")", ")", ")", ";", "if", "(", "MEM_P", "(", "source", ")", ")", "{", "gcc_assert", "(", "REG_P", "(", "dest", ")", "||", "GET_CODE", "(", "dest", ")", "==", "SUBREG", ")", ";", "rs6000_emit_le_vsx_load", "(", "dest", ",", "source", ",", "mode", ")", ";", "}", "else", "{", "if", "(", "!", "REG_P", "(", "source", ")", ")", "source", "=", "force_reg", "(", "mode", ",", "source", ")", ";", "rs6000_emit_le_vsx_store", "(", "dest", ",", "source", ",", "mode", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "a", "sequence", "representing", "a", "little-endian", "VSX", "load", "or", "store", ",", "moving", "data", "from", "SOURCE", "to", "DEST", "in", "mode", "MODE", ".", "This", "is", "done", "separately", "from", "rs6000_emit_move", "to", "ensure", "it", "is", "called", "only", "during", "expand", ".", "LE", "VSX", "loads", "and", "stores", "introduced", "later", "are", "handled", "with", "a", "split", ".", "The", "expand-time", "RTL", "generation", "allows", "us", "to", "optimize", "away", "redundant", "pairs", "of", "register-permutes", "."], "TS_V_token": ["rs6000"], "File": "rs60004", "Func": "rs6000_emit_le_vsx_move", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18103, "Length": 107, "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": ["powerpcspe", "1", "\"selector must be an integer constant in the range 0..%wi\"", "0"], "File": "powerpcspe", "Func": "get_element_number", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18104, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isCtlzFast", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "ctlz", "instruction", "is", "fast", "."], "TS_V_token": ["VE"], "File": "VEISelLowering", "Func": "isCtlzFast", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18105, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMBaseTargetMachine", "::", "ARMBaseTargetMachine", "(", "const", "Target", "&", "T", ",", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "isThumb", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ")", ",", "Subtarget", "(", "TT", ",", "FS", ",", "isThumb", ")", ",", "JITInfo", "(", ")", ",", "InstrItins", "(", "Subtarget", ".", "getInstrItineraryData", "(", ")", ")", "{", "DefRelocModel", "=", "getRelocationModel", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "ARM", "architecture", "model", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMTargetMachine34", "Func": "ARMBaseTargetMachine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18106, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"FISC Delay Slot Filler\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["FISC", "\"FISC Delay Slot Filler\""], "File": "FISCDelaySlotFiller", "Func": "getPassName", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18107, "Length": 13, "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", ")", ";", "ix86_set_indirect_branch_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", ")", ";", "ix86_set_indirect_branch_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_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", "(", "cfun", "->", "machine", "->", "func_type", "==", "TYPE_EXCEPTION", "?", "G_", "(", "\"%s instructions aren%'t allowed in an\"", "\" exception service routine\"", ")", ":", "G_", "(", "\"%s instructions aren%'t allowed in an\"", "\" interrupt service routine\"", ")", ",", "isa", ")", ";", "else", "sorry", "(", "\"%s instructions aren%'t allowed in a function with \"", "\"the % 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", "\"SSE\"", "\"MMX/3Dnow\"", "\"80387\"", "\"%s instructions aren%'t allowed in an\"", "\" exception service routine\"", "\"%s instructions aren%'t allowed in an\"", "\" interrupt service routine\"", "\"%s instructions aren%'t allowed in a function with \"", "\"the % attribute\""], "File": "i3868", "Func": "ix86_set_current_function", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18108, "Length": 353, "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", "->", "isBundle", "(", ")", ")", "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": "MipsAsmPrinter (2)1", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18109, "Length": 504, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "TOYSubtarget", "*", "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": ["TOY", "TOY"], "File": "TOYTargetMachine", "Func": "getSubtargetImpl", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18110, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "MachineOperand", "&", "getLdStBaseOp", "(", "const", "MachineInstr", "&", "MI", ")", "{", "unsigned", "Idx", "=", "isPairedLdSt", "(", "MI", ")", "?", "2", ":", "1", ";", "return", "MI", ".", "getOperand", "(", "Idx", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "base", "register", "operator", "of", "a", "load/store", "."], "TS_V_token": ["AArch64", "2", "1"], "File": "AArch64LoadStoreOptimizer", "Func": "getLdStBaseOp", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18111, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "ARMTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "assert", "(", "0", "&&", "\"Don't know how to custom lower this!\"", ")", ";", "abort", "(", ")", ";", "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", "::", "CALL", ":", "return", "LowerCALL", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RET", ":", "return", "LowerRET", "(", "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", "::", "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", "::", "FORMAL_ARGUMENTS", ":", "return", "LowerFORMAL_ARGUMENTS", "(", "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_WO_CHAIN", ":", "return", "LowerINTRINSIC_WO_CHAIN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BIT_CONVERT", ":", "return", "ExpandBIT_CONVERT", "(", "Op", ".", "getNode", "(", ")", ",", "DAG", ")", ";", "case", "ISD", "::", "SRL", ":", "case", "ISD", "::", "SRA", ":", "return", "ExpandSRx", "(", "Op", ".", "getNode", "(", ")", ",", "DAG", ",", "Subtarget", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["ARM", "ARM", "0", "\"Don't know how to custom lower this!\"", "ISD::ConstantPool", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::CALL", "ISD::RET", "ISD::SELECT_CC", "ISD::BR_CC", "ISD::BR_JT", "ISD::VASTART", "ISD::SINT_TO_FP", "ISD::UINT_TO_FP", "ISD::FP_TO_SINT", "ISD::FP_TO_UINT", "ISD::FCOPYSIGN", "ISD::FORMAL_ARGUMENTS", "ISD::RETURNADDR", "ISD::FRAMEADDR", "ISD::GLOBAL_OFFSET_TABLE", "ISD::INTRINSIC_WO_CHAIN", "ISD::BIT_CONVERT", "ISD::SRL", "ISD::SRA"], "File": "ARMISelLowering57", "Func": "LowerOperation", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18112, "Length": 327, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "TargetFrameInfo", "*", "getFrameInfo", "(", ")", "const", "{", "return", "&", "FrameInfo", ";", "}", ""], "natrual_language": ["getFrameInfo", "-", "Return", "the", "frame", "info", "object", "for", "the", "current", "function", "."], "TS_V_token": ["X86"], "File": "X86TargetMachine13", "Func": "getFrameInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18113, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_branch_slot_insn", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "!", "insn", "||", "!", "NONDEBUG_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_BRANCH", "||", "type", "==", "TYPE_JMPREG", ")", "return", "true", ";", "return", "false", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["The", "function", "returns", "true", "if", "INSN", "can", "be", "issued", "only", "from", "the", "branch", "slot", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "is_branch_slot_insn", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18114, "Length": 78, "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": 18115, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rename_dest", "(", "tag_insn_info", "*", "insn_info", ",", "tag_map_t", "&", "tag_map", ")", "{", "struct", "du_chain", "*", "chain", "=", "NULL", ";", "du_head_p", "head", "=", "NULL", ";", "int", "i", ";", "unsigned", "dest_regno", "=", "REGNO", "(", "insn_info", "->", "dest", ")", ";", "if", "(", "unsafe_rename_p", "(", "dest_regno", ")", ")", "return", "-", "1", ";", "rtx_insn", "*", "insn", "=", "insn_info", "->", "insn", ";", "operand_rr_info", "*", "dest_op_info", "=", "insn_rr", "[", "INSN_UID", "(", "insn", ")", "]", ".", "op_info", ";", "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", ")", ";", "for", "(", "chain", "=", "head", "->", "first", ";", "chain", ";", "chain", "=", "chain", "->", "next_use", ")", "if", "(", "chain", "->", "insn", "==", "insn", ")", "return", "rename_chain", "(", "insn_info", ",", "tag_map", ",", "head", ")", ";", "}", "return", "-", "1", ";", "}", ""], "natrual_language": ["Go", "through", "the", "def/use", "chains", "for", "the", "register", "and", "find", "the", "chain", "for", "this", "insn", "to", "rename", ".", "The", "function", "returns", "the", "hard", "register", "number", "in", "case", "of", "a", "successful", "rename", "and", "-1", "otherwise", "."], "TS_V_token": ["aarch64", "1", "0", "1"], "File": "falkor-tag-collision-avoidance", "Func": "rename_dest", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18116, "Length": 167, "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": 18117, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "postOffset", "(", ")", "const", "{", "return", "Offset", "+", "Size", ";", "}", ""], "natrual_language": ["Compute", "the", "offset", "immediately", "following", "this", "block", "."], "TS_V_token": ["CSKY"], "File": "CSKYConstantIslandPass", "Func": "postOffset", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18118, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "scalar_int_mode", "rs6000_abi_word_mode", "(", "void", ")", "{", "return", "TARGET_32BIT", "?", "SImode", ":", "DImode", ";", "}", ""], "natrual_language": ["The", "mode", "the", "ABI", "uses", "for", "a", "word", ".", "This", "is", "not", "the", "same", "as", "word_mode", "for", "-m32", "-mpowerpc64", ".", "This", "is", "used", "to", "implement", "various", "target", "hooks", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_abi_word_mode", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18119, "Length": 15, "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", "(", ")", ";", "unsigned", "Count", "=", "CSI", ".", "size", "(", ")", ";", "DebugLoc", "DL", ";", "assert", "(", "(", "Count", "&", "1", ")", "==", "0", "&&", "\"Odd number of callee-saved regs to spill!\"", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Count", ";", "i", "+=", "2", ")", "{", "unsigned", "idx", "=", "Count", "-", "i", "-", "2", ";", "unsigned", "Reg1", "=", "CSI", "[", "idx", "]", ".", "getReg", "(", ")", ";", "unsigned", "Reg2", "=", "CSI", "[", "idx", "+", "1", "]", ".", "getReg", "(", ")", ";", "assert", "(", "CSI", "[", "idx", "]", ".", "getFrameIdx", "(", ")", "+", "1", "==", "CSI", "[", "idx", "+", "1", "]", ".", "getFrameIdx", "(", ")", "&&", "\"Out of order callee saved regs!\"", ")", ";", "unsigned", "StrOpc", ";", "assert", "(", "(", "Count", "&", "1", ")", "==", "0", "&&", "\"Odd number of callee-saved regs to spill!\"", ")", ";", "assert", "(", "(", "i", "&", "1", ")", "==", "0", "&&", "\"Odd index for callee-saved reg spill!\"", ")", ";", "if", "(", "AArch64", "::", "GPR64RegClass", ".", "contains", "(", "Reg1", ")", ")", "{", "assert", "(", "AArch64", "::", "GPR64RegClass", ".", "contains", "(", "Reg2", ")", "&&", "\"Expected GPR64 callee-saved register pair!\"", ")", ";", "if", "(", "i", "==", "0", ")", "StrOpc", "=", "AArch64", "::", "STPXpre", ";", "else", "StrOpc", "=", "AArch64", "::", "STPXi", ";", "}", "else", "if", "(", "AArch64", "::", "FPR64RegClass", ".", "contains", "(", "Reg1", ")", ")", "{", "assert", "(", "AArch64", "::", "FPR64RegClass", ".", "contains", "(", "Reg2", ")", "&&", "\"Expected FPR64 callee-saved register pair!\"", ")", ";", "if", "(", "i", "==", "0", ")", "StrOpc", "=", "AArch64", "::", "STPDpre", ";", "else", "StrOpc", "=", "AArch64", "::", "STPDi", ";", "}", "else", "llvm_unreachable", "(", "\"Unexpected callee saved register!\"", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"CSR spill: (\"", "<<", "TRI", "->", "getName", "(", "Reg1", ")", "<<", "\", \"", "<<", "TRI", "->", "getName", "(", "Reg2", ")", "<<", "\") -> fi#(\"", "<<", "CSI", "[", "idx", "]", ".", "getFrameIdx", "(", ")", "<<", "\", \"", "<<", "CSI", "[", "idx", "+", "1", "]", ".", "getFrameIdx", "(", ")", "<<", "\")\\n\"", ")", ";", "const", "int", "Offset", "=", "(", "i", "==", "0", ")", "?", "-", "Count", ":", "i", ";", "assert", "(", "(", "Offset", ">=", "-", "64", "&&", "Offset", "<=", "63", ")", "&&", "\"Offset out of bounds for STP immediate\"", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "StrOpc", ")", ")", ";", "if", "(", "StrOpc", "==", "AArch64", "::", "STPDpre", "||", "StrOpc", "==", "AArch64", "::", "STPXpre", ")", "MIB", ".", "addReg", "(", "AArch64", "::", "SP", ",", "RegState", "::", "Define", ")", ";", "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", ")", ";", "}", "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", "1", "0", "\"Odd number of callee-saved regs to spill!\"", "0", "2", "2", "1", "1", "1", "\"Out of order callee saved regs!\"", "1", "0", "\"Odd number of callee-saved regs to spill!\"", "1", "0", "\"Odd index for callee-saved reg spill!\"", "AArch64::GPR64RegClass", "AArch64::GPR64RegClass", "\"Expected GPR64 callee-saved register pair!\"", "0", "AArch64::STPXpre", "AArch64::STPXi", "AArch64::FPR64RegClass", "AArch64::FPR64RegClass", "\"Expected FPR64 callee-saved register pair!\"", "0", "AArch64::STPDpre", "AArch64::STPDi", "\"Unexpected callee saved register!\"", "\"CSR spill: (\"", "\", \"", "\") -> fi#(\"", "\", \"", "1", "\")\\n\"", "0", "64", "63", "\"Offset out of bounds for STP immediate\"", "AArch64::STPDpre", "AArch64::STPXpre", "AArch64::SP", "AArch64::SP"], "File": "AArch64FrameLowering71", "Func": "spillCalleeSavedRegisters", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18120, "Length": 499, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_return_addr", "(", "int", "count", ",", "rtx", "frame", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "count", "!=", "0", ")", "return", "const0_rtx", ";", "return", "get_hard_reg_initial_val", "(", "Pmode", ",", "LR_REGNUM", ")", ";", "}", ""], "natrual_language": ["Implement", "RETURN_ADDR_RTX", ".", "We", "do", "not", "support", "moving", "back", "to", "a", "previous", "frame", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64", "Func": "aarch64_return_addr", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18121, "Length": 29, "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": 18122, "Length": 116, "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": 18123, "Length": 473, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "IndirectTlsSegRefs", "=", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"indirect-tls-seg-refs\"", ")", ";", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "\"indirect-tls-seg-refs\""], "File": "X86ISelDAGToDAG (2)1", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18124, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PassConfig", "::", "addPreISel", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnablePromoteConstant", ")", "addPass", "(", "createAArch64PromoteConstantPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createGlobalMergePass", "(", "TM", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createAArch64AddressTypePromotionPass", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine29", "Func": "addPreISel", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18125, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "canUseAsEpilogue", "(", "const", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "assert", "(", "MBB", ".", "getParent", "(", ")", "&&", "\"Block is not attached to a function!\"", ")", ";", "if", "(", "STI", ".", "isTargetWin64", "(", ")", "&&", "!", "MBB", ".", "succ_empty", "(", ")", "&&", "!", "MBB", ".", "isReturnBlock", "(", ")", ")", "return", "false", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "if", "(", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "hasSwiftAsyncContext", "(", ")", ")", "return", "!", "flagsNeedToBePreservedBeforeTheTerminators", "(", "MBB", ")", ";", "if", "(", "canUseLEAForSPInEpilogue", "(", "*", "MBB", ".", "getParent", "(", ")", ")", ")", "return", "true", ";", "return", "!", "flagsNeedToBePreservedBeforeTheTerminators", "(", "MBB", ")", ";", "}", ""], "natrual_language": ["Check", "whether", "or", "not", "the", "given", "MBB", "can", "be", "used", "as", "a", "epilogue", "for", "the", "target", "."], "TS_V_token": ["X86", "X86", "\"Block is not attached to a function!\"", "X86"], "File": "X86FrameLowering (2)3", "Func": "canUseAsEpilogue", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18126, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "SystemZTargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "LLT", "VT", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "Register", "Reg", "=", "StringSwitch", "<", "Register", ">", "(", "RegName", ")", ".", "Case", "(", "\"r15\"", ",", "SystemZ", "::", "R15D", ")", ".", "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": ["SystemZ", "SystemZ", "\"r15\"", "SystemZ::R15D", "0", "\"Invalid register name global variable\""], "File": "SystemZISelLowering (2)2", "Func": "getRegisterByName", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18127, "Length": 58, "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", ";", "bool", "NeedShadowCallStackProlog", "=", "false", ";", "computeCalleeSaveRegisterPairs", "(", "MF", ",", "CSI", ",", "TRI", ",", "RegPairs", ",", "NeedShadowCallStackProlog", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "if", "(", "NeedShadowCallStackProlog", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "AArch64", "::", "STRXpost", ")", ")", ".", "addReg", "(", "AArch64", "::", "X18", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "AArch64", "::", "LR", ")", ".", "addReg", "(", "AArch64", "::", "X18", ")", ".", "addImm", "(", "8", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "MBB", ".", "addLiveIn", "(", "AArch64", "::", "X18", ")", ";", "}", "for", "(", "auto", "RPII", "=", "RegPairs", ".", "rbegin", "(", ")", ",", "RPIE", "=", "RegPairs", ".", "rend", "(", ")", ";", "RPII", "!=", "RPIE", ";", "++", "RPII", ")", "{", "RegPairInfo", "RPI", "=", "*", "RPII", ";", "unsigned", "Reg1", "=", "RPI", ".", "Reg1", ";", "unsigned", "Reg2", "=", "RPI", ".", "Reg2", ";", "unsigned", "StrOpc", ";", "if", "(", "RPI", ".", "IsGPR", ")", "StrOpc", "=", "RPI", ".", "isPaired", "(", ")", "?", "AArch64", "::", "STPXi", ":", "AArch64", "::", "STRXui", ";", "else", "StrOpc", "=", "RPI", ".", "isPaired", "(", ")", "?", "AArch64", "::", "STPDi", ":", "AArch64", "::", "STRDui", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"CSR spill: (\"", "<<", "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", "(", "StrOpc", ")", ")", ";", "if", "(", "!", "MRI", ".", "isReserved", "(", "Reg1", ")", ")", "MBB", ".", "addLiveIn", "(", "Reg1", ")", ";", "if", "(", "RPI", ".", "isPaired", "(", ")", ")", "{", "if", "(", "!", "MRI", ".", "isReserved", "(", "Reg2", ")", ")", "MBB", ".", "addLiveIn", "(", "Reg2", ")", ";", "MIB", ".", "addReg", "(", "Reg2", ",", "getPrologueDeath", "(", "MF", ",", "Reg2", ")", ")", ";", "MIB", ".", "addMemOperand", "(", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "RPI", ".", "FrameIdx", "+", "1", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "8", ",", "8", ")", ")", ";", "}", "MIB", ".", "addReg", "(", "Reg1", ",", "getPrologueDeath", "(", "MF", ",", "Reg1", ")", ")", ".", "addReg", "(", "AArch64", "::", "SP", ")", ".", "addImm", "(", "RPI", ".", "Offset", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "MIB", ".", "addMemOperand", "(", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "RPI", ".", "FrameIdx", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "8", ",", "8", ")", ")", ";", "}", "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::STRXpost", "AArch64::X18", "AArch64::LR", "AArch64::X18", "8", "AArch64::X18", "AArch64::STPXi", "AArch64::STRXui", "AArch64::STPDi", "AArch64::STRDui", "\"CSR spill: (\"", "\", \"", "\") -> fi#(\"", "\", \"", "1", "\")\\n\"", "1", "8", "8", "AArch64::SP", "8", "8"], "File": "AArch64FrameLowering10", "Func": "spillCalleeSavedRegisters", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18128, "Length": 507, "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", "'d'", ":", "case", "'y'", ":", "case", "'r'", ":", "if", "(", "VT", "==", "MVT", "::", "i32", "||", "VT", "==", "MVT", "::", "i16", "||", "VT", "==", "MVT", "::", "i8", ")", "{", "if", "(", "Subtarget", "->", "inMips16Mode", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "CPU16RegsRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "CPURegsRegClass", ")", ";", "}", "if", "(", "VT", "==", "MVT", "::", "i64", "&&", "!", "HasMips64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "CPURegsRegClass", ")", ";", "if", "(", "VT", "==", "MVT", "::", "i64", "&&", "HasMips64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "CPU64RegsRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0u", ",", "static_cast", "<", "const", "TargetRegisterClass", "*", ">", "(", "0", ")", ")", ";", "case", "'f'", ":", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "FGR32RegClass", ")", ";", "if", "(", "(", "VT", "==", "MVT", "::", "f64", ")", "&&", "(", "!", "Subtarget", "->", "isSingleFloat", "(", ")", ")", ")", "{", "if", "(", "Subtarget", "->", "isFP64bit", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "FGR64RegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "AFGR64RegClass", ")", ";", "}", "break", ";", "case", "'c'", ":", "if", "(", "VT", "==", "MVT", "::", "i32", ")", "return", "std", "::", "make_pair", "(", "(", "unsigned", ")", "Mips", "::", "T9", ",", "&", "Mips", "::", "CPURegsRegClass", ")", ";", "assert", "(", "VT", "==", "MVT", "::", "i64", "&&", "\"Unexpected type.\"", ")", ";", "return", "std", "::", "make_pair", "(", "(", "unsigned", ")", "Mips", "::", "T9_64", ",", "&", "Mips", "::", "CPU64RegsRegClass", ")", ";", "case", "'l'", ":", "if", "(", "VT", "==", "MVT", "::", "i32", ")", "return", "std", "::", "make_pair", "(", "(", "unsigned", ")", "Mips", "::", "LO", ",", "&", "Mips", "::", "LORegsRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "(", "unsigned", ")", "Mips", "::", "LO64", ",", "&", "Mips", "::", "LORegs64RegClass", ")", ";", "case", "'x'", ":", "return", "std", "::", "make_pair", "(", "0u", ",", "static_cast", "<", "const", "TargetRegisterClass", "*", ">", "(", "0", ")", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["Mips", "Mips", "1", "0", "MVT::i32", "MVT::i16", "MVT::i8", "Mips", "0U", "Mips::CPU16RegsRegClass", "0U", "Mips::CPURegsRegClass", "MVT::i64", "Mips", "0U", "Mips::CPURegsRegClass", "MVT::i64", "Mips", "0U", "Mips::CPU64RegsRegClass", "0u", "0", "MVT::f32", "0U", "Mips::FGR32RegClass", "MVT::f64", "0U", "Mips::FGR64RegClass", "0U", "Mips::AFGR64RegClass", "MVT::i32", "Mips::T9", "Mips::CPURegsRegClass", "MVT::i64", "\"Unexpected type.\"", "Mips::T9_64", "Mips::CPU64RegsRegClass", "MVT::i32", "Mips::LO", "Mips::LORegsRegClass", "Mips::LO64", "Mips::LORegs64RegClass", "0u", "0"], "File": "MipsISelLowering133", "Func": "getRegForInlineAsmConstraint", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18129, "Length": 395, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SparcTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Should not custom lower this!\"", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "SDValue", "(", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "SDValue", "(", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "llvm_unreachable", "(", "\"TLS not implemented for Sparc.\"", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGLOBALADDRESS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "LowerCONSTANTPOOL", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FP_TO_SINT", ":", "return", "LowerFP_TO_SINT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SINT_TO_FP", ":", "return", "LowerSINT_TO_FP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBR_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ",", "*", "this", ")", ";", "case", "ISD", "::", "VAARG", ":", "return", "LowerVAARG", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "LowerDYNAMIC_STACKALLOC", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Sparc", "Sparc", "\"Should not custom lower this!\"", "ISD::RETURNADDR", "ISD::FRAMEADDR", "ISD::GlobalTLSAddress", "\"TLS not implemented for Sparc.\"", "ISD::GlobalAddress", "ISD::ConstantPool", "ISD::FP_TO_SINT", "ISD::SINT_TO_FP", "ISD::BR_CC", "ISD::SELECT_CC", "ISD::VASTART", "ISD::VAARG", "ISD::DYNAMIC_STACKALLOC"], "File": "SparcISelLowering22", "Func": "LowerOperation", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18130, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_sve_ldff1_operand_p", "(", "rtx", "op", ")", "{", "if", "(", "!", "MEM_P", "(", "op", ")", ")", "return", "false", ";", "struct", "aarch64_address_info", "addr", ";", "if", "(", "!", "aarch64_classify_address", "(", "&", "addr", ",", "XEXP", "(", "op", ",", "0", ")", ",", "GET_MODE", "(", "op", ")", ",", "false", ")", ")", "return", "false", ";", "if", "(", "addr", ".", "type", "==", "ADDRESS_REG_IMM", ")", "return", "known_eq", "(", "addr", ".", "const_offset", ",", "0", ")", ";", "return", "addr", ".", "type", "==", "ADDRESS_REG_REG", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "is", "a", "valid", "MEM", "operand", "for", "an", "SVE", "LDFF1", "instruction", "."], "TS_V_token": ["aarch64", "0", "0"], "File": "aarch64", "Func": "aarch64_sve_ldff1_operand_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18131, "Length": 74, "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", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "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", ";", "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", "AArch64::FP", "AArch64::SP"], "File": "AArch64RegisterInfo34", "Func": "needsFrameBaseReg", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18132, "Length": 172, "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": 18133, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "make_dispatcher_decl", "(", "const", "tree", "decl", ")", "{", "tree", "func_decl", ";", "char", "*", "func_name", ";", "tree", "fn_type", ",", "func_type", ";", "bool", "is_uniq", "=", "false", ";", "if", "(", "TREE_PUBLIC", "(", "decl", ")", "==", "0", ")", "is_uniq", "=", "true", ";", "func_name", "=", "make_name", "(", "decl", ",", "\"ifunc\"", ",", "is_uniq", ")", ";", "fn_type", "=", "TREE_TYPE", "(", "decl", ")", ";", "func_type", "=", "build_function_type", "(", "TREE_TYPE", "(", "fn_type", ")", ",", "TYPE_ARG_TYPES", "(", "fn_type", ")", ")", ";", "func_decl", "=", "build_fn_decl", "(", "func_name", ",", "func_type", ")", ";", "XDELETEVEC", "(", "func_name", ")", ";", "TREE_USED", "(", "func_decl", ")", "=", "1", ";", "DECL_CONTEXT", "(", "func_decl", ")", "=", "NULL_TREE", ";", "DECL_INITIAL", "(", "func_decl", ")", "=", "error_mark_node", ";", "DECL_ARTIFICIAL", "(", "func_decl", ")", "=", "1", ";", "DECL_EXTERNAL", "(", "func_decl", ")", "=", "1", ";", "TREE_PUBLIC", "(", "func_decl", ")", "=", "1", ";", "return", "func_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", ".", "Return", "the", "decl", "created", "."], "TS_V_token": ["i386", "0", "\"ifunc\"", "1", "1", "1", "1"], "File": "i3864", "Func": "make_dispatcher_decl", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18134, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "loongarch_symbolic_constant_p", "(", "rtx", "x", ",", "enum", "loongarch_symbol_type", "*", "symbol_type", ")", "{", "rtx", "offset", ";", "split_const", "(", "x", ",", "&", "x", ",", "&", "offset", ")", ";", "if", "(", "UNSPEC_ADDRESS_P", "(", "x", ")", ")", "{", "*", "symbol_type", "=", "UNSPEC_ADDRESS_TYPE", "(", "x", ")", ";", "x", "=", "UNSPEC_ADDRESS", "(", "x", ")", ";", "}", "else", "if", "(", "SYMBOL_REF_P", "(", "x", ")", "||", "LABEL_REF_P", "(", "x", ")", ")", "{", "*", "symbol_type", "=", "loongarch_classify_symbol", "(", "x", ")", ";", "if", "(", "*", "symbol_type", "==", "SYMBOL_TLS", ")", "return", "true", ";", "}", "else", "return", "false", ";", "if", "(", "offset", "==", "const0_rtx", ")", "return", "true", ";", "switch", "(", "*", "symbol_type", ")", "{", "case", "SYMBOL_TLS_IE", ":", "case", "SYMBOL_TLS_LE", ":", "case", "SYMBOL_TLSGD", ":", "case", "SYMBOL_TLSLDM", ":", "case", "SYMBOL_PCREL", ":", "case", "SYMBOL_PCREL64", ":", "return", "sext_hwi", "(", "INTVAL", "(", "offset", ")", ",", "32", ")", "==", "INTVAL", "(", "offset", ")", ";", "case", "SYMBOL_GOT_DISP", ":", "case", "SYMBOL_TLS", ":", "return", "false", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "symbolic", "constant", ".", "If", "it", "is", ",", "store", "the", "type", "of", "the", "symbol", "in", "*", "SYMBOL_TYPE", "."], "TS_V_token": ["loongarch", "32"], "File": "loongarch1", "Func": "loongarch_symbolic_constant_p", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18135, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstrBuilder", "emitInst", "(", "unsigned", "Opc", ",", "unsigned", "DstReg", ")", "{", "return", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "TII", ".", "get", "(", "Opc", ")", ",", "DstReg", ")", ";", "}", ""], "natrual_language": ["Callback", "used", "to", "implement", "the", ".inst", "directive", "."], "TS_V_token": ["Mips"], "File": "MipsFastISel", "Func": "emitInst", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18136, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86Subtarget", "::", "X86Subtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "const", "X86TargetMachine", "&", "TM", ",", "unsigned", "StackAlignOverride", ")", ":", "X86GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "X86ProcFamily", "(", "Others", ")", ",", "PICStyle", "(", "PICStyles", "::", "None", ")", ",", "TargetTriple", "(", "TT", ")", ",", "DL", "(", "computeDataLayout", "(", "TargetTriple", ")", ")", ",", "StackAlignOverride", "(", "StackAlignOverride", ")", ",", "In64BitMode", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", ",", "In32BitMode", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "x86", "&&", "TargetTriple", ".", "getEnvironment", "(", ")", "!=", "Triple", "::", "CODE16", ")", ",", "In16BitMode", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "x86", "&&", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "CODE16", ")", ",", "TSInfo", "(", "DL", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ")", ")", ",", "TLInfo", "(", "TM", ")", ",", "FrameLowering", "(", "TargetFrameLowering", "::", "StackGrowsDown", ",", "getStackAlignment", "(", ")", ",", "is64Bit", "(", ")", "?", "-", "8", ":", "-", "4", ")", "{", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", "{", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "is64Bit", "(", ")", ")", "{", "setPICStyle", "(", "PICStyles", "::", "RIPRel", ")", ";", "}", "else", "if", "(", "isTargetCOFF", "(", ")", ")", "{", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "setPICStyle", "(", "PICStyles", "::", "StubPIC", ")", ";", "else", "{", "assert", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "DynamicNoPIC", ")", ";", "setPICStyle", "(", "PICStyles", "::", "StubDynamicNoPIC", ")", ";", "}", "}", "else", "if", "(", "isTargetELF", "(", ")", ")", "{", "setPICStyle", "(", "PICStyles", "::", "GOT", ")", ";", "}", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86", "8", "4"], "File": "X86Subtarget105", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18137, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LoongArchFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["LoongArch", "LoongArch"], "File": "LoongArchFrameLowering", "Func": "emitEpilogue", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18138, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "X86TargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "X86PassConfig", "*", "PC", "=", "new", "X86PassConfig", "(", "this", ",", "PM", ")", ";", "if", "(", "X86EarlyIfConv", "&&", "Subtarget", ".", "hasCMov", "(", ")", ")", "PC", "->", "enablePass", "(", "&", "EarlyIfConverterID", ")", ";", "return", "PC", ";", "}", ""], "natrual_language": ["Create", "a", "pass", "configuration", "object", "to", "be", "used", "by", "addPassToEmitX", "methods", "for", "generating", "a", "pipeline", "of", "CodeGen", "passes", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86"], "File": "X86TargetMachine103", "Func": "createPassConfig", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18139, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_builtin_tm_store", "(", "tree", "type", ")", "{", "if", "(", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", ")", "{", "switch", "(", "tree_to_uhwi", "(", "TYPE_SIZE", "(", "type", ")", ")", ")", "{", "case", "64", ":", "return", "builtin_decl_explicit", "(", "BUILT_IN_TM_STORE_M64", ")", ";", "case", "128", ":", "return", "builtin_decl_explicit", "(", "BUILT_IN_TM_STORE_M128", ")", ";", "case", "256", ":", "return", "builtin_decl_explicit", "(", "BUILT_IN_TM_STORE_M256", ")", ";", "}", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Return", "the", "builtin", "decl", "needed", "to", "store", "a", "vector", "of", "TYPE", "."], "TS_V_token": ["i386", "64", "128", "256"], "File": "i3864", "Func": "ix86_builtin_tm_store", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18140, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "winnt_d_register_target_info", "(", "void", ")", "{", "const", "struct", "d_target_info_spec", "handlers", "[", "]", "=", "{", "{", "\"objectFormat\"", ",", "winnt_d_handle_target_object_format", "}", ",", "{", "NULL", ",", "NULL", "}", ",", "}", ";", "d_add_target_info_handlers", "(", "handlers", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_D_REGISTER_OS_TARGET_INFO", "for", "Windows", "targets", "."], "TS_V_token": ["i386", "\"objectFormat\""], "File": "winnt-d", "Func": "winnt_d_register_target_info", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18141, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "Cpu0DAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "unsigned", "GlobalBaseReg", "=", "MF", "->", "getInfo", "<", "Cpu0MachineFunctionInfo", ">", "(", ")", "->", "getGlobalBaseReg", "(", ")", ";", "return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "getTargetLowering", "(", ")", "->", "getPointerTy", "(", "CurDAG", "->", "getDataLayout", "(", ")", ")", ")", ".", "getNode", "(", ")", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0"], "File": "Cpu0ISelDAGToDAG", "Func": "getGlobalBaseReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18142, "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": ["Mips"], "File": "MipsAsmParser102", "Func": "isMem", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18143, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "getScalarShiftAmountTy", "(", "const", "DataLayout", "&", ",", "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": ["PowerPC", "MVT::i32"], "File": "PPCISelLowering (2)1", "Func": "getScalarShiftAmountTy", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18144, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "sparc_check_64", "(", "rtx", "x", ",", "rtx", "insn", ")", "{", "int", "set_once", "=", "0", ";", "rtx", "y", "=", "x", ";", "gcc_assert", "(", "GET_CODE", "(", "x", ")", "==", "REG", ")", ";", "if", "(", "GET_MODE", "(", "x", ")", "==", "DImode", ")", "y", "=", "gen_rtx_REG", "(", "SImode", ",", "REGNO", "(", "x", ")", "+", "WORDS_BIG_ENDIAN", ")", ";", "if", "(", "flag_expensive_optimizations", "&&", "REG_N_SETS", "(", "REGNO", "(", "y", ")", ")", "==", "1", ")", "set_once", "=", "1", ";", "if", "(", "insn", "==", "0", ")", "{", "if", "(", "set_once", ")", "insn", "=", "get_last_insn_anywhere", "(", ")", ";", "else", "return", "0", ";", "}", "while", "(", "(", "insn", "=", "PREV_INSN", "(", "insn", ")", ")", ")", "{", "switch", "(", "GET_CODE", "(", "insn", ")", ")", "{", "case", "JUMP_INSN", ":", "case", "NOTE", ":", "break", ";", "case", "CODE_LABEL", ":", "case", "CALL_INSN", ":", "default", ":", "if", "(", "!", "set_once", ")", "return", "0", ";", "break", ";", "case", "INSN", ":", "{", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "!=", "SET", ")", "return", "0", ";", "if", "(", "rtx_equal_p", "(", "x", ",", "SET_DEST", "(", "pat", ")", ")", ")", "return", "set_extends", "(", "insn", ")", ";", "if", "(", "y", "&&", "rtx_equal_p", "(", "y", ",", "SET_DEST", "(", "pat", ")", ")", ")", "return", "set_extends", "(", "insn", ")", ";", "if", "(", "reg_overlap_mentioned_p", "(", "SET_DEST", "(", "pat", ")", ",", "y", ")", ")", "return", "0", ";", "}", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "0", "if", "the", "high", "32", "bits", "of", "X", "(", "the", "low", "word", "of", "X", ",", "if", "DImode", ")", "are", "unknown", ".", "Return", "1", "if", "the", "high", "bits", "are", "zero", ",", "-1", "if", "the", "register", "is", "sign", "extended", "."], "TS_V_token": ["sparc", "0", "1", "1", "0", "0", "0", "0", "0", "0"], "File": "sparc3", "Func": "sparc_check_64", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18145, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCLinuxAsmPrinter", "::", "emitFunctionEntryLabel", "(", ")", "{", "if", "(", "!", "Subtarget", "->", "isPPC64", "(", ")", "&&", "(", "!", "isPositionIndependent", "(", ")", "||", "MF", "->", "getFunction", "(", ")", ".", "getParent", "(", ")", "->", "getPICLevel", "(", ")", "==", "PICLevel", "::", "SmallPIC", ")", ")", "return", "AsmPrinter", "::", "emitFunctionEntryLabel", "(", ")", ";", "if", "(", "!", "Subtarget", "->", "isPPC64", "(", ")", ")", "{", "const", "PPCFunctionInfo", "*", "PPCFI", "=", "MF", "->", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", ";", "if", "(", "PPCFI", "->", "usesPICBase", "(", ")", "&&", "!", "Subtarget", "->", "isSecurePlt", "(", ")", ")", "{", "MCSymbol", "*", "RelocSymbol", "=", "PPCFI", "->", "getPICOffsetSymbol", "(", ")", ";", "MCSymbol", "*", "PICBase", "=", "MF", "->", "getPICBaseSymbol", "(", ")", ";", "OutStreamer", "->", "emitLabel", "(", "RelocSymbol", ")", ";", "const", "MCExpr", "*", "OffsExpr", "=", "MCBinaryExpr", "::", "createSub", "(", "MCSymbolRefExpr", "::", "create", "(", "OutContext", ".", "getOrCreateSymbol", "(", "Twine", "(", "\".LTOC\"", ")", ")", ",", "OutContext", ")", ",", "MCSymbolRefExpr", "::", "create", "(", "PICBase", ",", "OutContext", ")", ",", "OutContext", ")", ";", "OutStreamer", "->", "emitValue", "(", "OffsExpr", ",", "4", ")", ";", "OutStreamer", "->", "emitLabel", "(", "CurrentFnSym", ")", ";", "return", ";", "}", "else", "return", "AsmPrinter", "::", "emitFunctionEntryLabel", "(", ")", ";", "}", "if", "(", "Subtarget", "->", "isELFv2ABI", "(", ")", ")", "{", "if", "(", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", "&&", "!", "MF", "->", "getRegInfo", "(", ")", ".", "use_empty", "(", "PPC", "::", "X2", ")", ")", "{", "const", "PPCFunctionInfo", "*", "PPCFI", "=", "MF", "->", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", ";", "MCSymbol", "*", "TOCSymbol", "=", "OutContext", ".", "getOrCreateSymbol", "(", "StringRef", "(", "\".TOC.\"", ")", ")", ";", "MCSymbol", "*", "GlobalEPSymbol", "=", "PPCFI", "->", "getGlobalEPSymbol", "(", ")", ";", "const", "MCExpr", "*", "TOCDeltaExpr", "=", "MCBinaryExpr", "::", "createSub", "(", "MCSymbolRefExpr", "::", "create", "(", "TOCSymbol", ",", "OutContext", ")", ",", "MCSymbolRefExpr", "::", "create", "(", "GlobalEPSymbol", ",", "OutContext", ")", ",", "OutContext", ")", ";", "OutStreamer", "->", "emitLabel", "(", "PPCFI", "->", "getTOCOffsetSymbol", "(", ")", ")", ";", "OutStreamer", "->", "emitValue", "(", "TOCDeltaExpr", ",", "8", ")", ";", "}", "return", "AsmPrinter", "::", "emitFunctionEntryLabel", "(", ")", ";", "}", "MCSectionSubPair", "Current", "=", "OutStreamer", "->", "getCurrentSection", "(", ")", ";", "MCSectionELF", "*", "Section", "=", "OutStreamer", "->", "getContext", "(", ")", ".", "getELFSection", "(", "\".opd\"", ",", "ELF", "::", "SHT_PROGBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "Section", ")", ";", "OutStreamer", "->", "emitLabel", "(", "CurrentFnSym", ")", ";", "OutStreamer", "->", "emitValueToAlignment", "(", "8", ")", ";", "MCSymbol", "*", "Symbol1", "=", "CurrentFnSymForSize", ";", "OutStreamer", "->", "emitValue", "(", "MCSymbolRefExpr", "::", "create", "(", "Symbol1", ",", "OutContext", ")", ",", "8", ")", ";", "MCSymbol", "*", "Symbol2", "=", "OutContext", ".", "getOrCreateSymbol", "(", "StringRef", "(", "\".TOC.\"", ")", ")", ";", "OutStreamer", "->", "emitValue", "(", "MCSymbolRefExpr", "::", "create", "(", "Symbol2", ",", "MCSymbolRefExpr", "::", "VK_PPC_TOCBASE", ",", "OutContext", ")", ",", "8", ")", ";", "OutStreamer", "->", "emitIntValue", "(", "0", ",", "8", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "Current", ".", "first", ",", "Current", ".", "second", ")", ";", "}", ""], "natrual_language": ["EmitFunctionEntryLabel", "-", "Emit", "the", "label", "that", "is", "the", "entrypoint", "for", "the", "function", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC", "\".LTOC\"", "4", "PPC::X2", "PPC", "PPC", "PPC", "\".TOC.\"", "PPC", "PPC", "8", "\".opd\"", "8", "8", "\".TOC.\"", "PPC", "8", "0", "8"], "File": "PPCAsmPrinter112", "Func": "emitFunctionEntryLabel", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18146, "Length": 450, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Mips VR4300 mulmul bugfix\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"Mips VR4300 mulmul bugfix\""], "File": "MipsMulMulBugPass", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18147, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"CHERI range checker\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"CHERI range checker\""], "File": "CheriRangeChecker", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18148, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "moxie_print_operand_address", "(", "FILE", "*", "file", ",", "machine_mode", ",", "rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "REG", ":", "fprintf", "(", "file", ",", "\"(%s)\"", ",", "reg_names", "[", "REGNO", "(", "x", ")", "]", ")", ";", "break", ";", "case", "PLUS", ":", "switch", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "{", "case", "CONST_INT", ":", "fprintf", "(", "file", ",", "\"%ld(%s)\"", ",", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "break", ";", "case", "SYMBOL_REF", ":", "output_addr_const", "(", "file", ",", "XEXP", "(", "x", ",", "1", ")", ")", ";", "fprintf", "(", "file", ",", "\"(%s)\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "break", ";", "case", "CONST", ":", "{", "rtx", "plus", "=", "XEXP", "(", "XEXP", "(", "x", ",", "1", ")", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "plus", ",", "0", ")", ")", "==", "SYMBOL_REF", "&&", "CONST_INT_P", "(", "XEXP", "(", "plus", ",", "1", ")", ")", ")", "{", "output_addr_const", "(", "file", ",", "XEXP", "(", "plus", ",", "0", ")", ")", ";", "fprintf", "(", "file", ",", "\"+%ld(%s)\"", ",", "INTVAL", "(", "XEXP", "(", "plus", ",", "1", ")", ")", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "}", "else", "abort", "(", ")", ";", "}", "break", ";", "default", ":", "abort", "(", ")", ";", "}", "break", ";", "default", ":", "output_addr_const", "(", "file", ",", "x", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["The", "PRINT_OPERAND_ADDRESS", "worker", "."], "TS_V_token": ["moxie", "\"(%s)\"", "1", "\"%ld(%s)\"", "1", "0", "1", "\"(%s)\"", "0", "1", "0", "0", "1", "0", "\"+%ld(%s)\"", "1", "0"], "File": "moxie", "Func": "moxie_print_operand_address", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18149, "Length": 247, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86TargetMachine", "::", "X86TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "is64Bit", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ")", ",", "Subtarget", "(", "TT", ",", "FS", ",", "is64Bit", ")", ",", "FrameInfo", "(", "*", "this", ",", "Subtarget", ")", ",", "ELFWriterInfo", "(", "is64Bit", ",", "true", ")", "{", "DefRelocModel", "=", "getRelocationModel", "(", ")", ";", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Default", ")", "{", "if", "(", "Subtarget", ".", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "setRelocationModel", "(", "Reloc", "::", "PIC_", ")", ";", "else", "setRelocationModel", "(", "Reloc", "::", "DynamicNoPIC", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "isTargetWin64", "(", ")", ")", "setRelocationModel", "(", "Reloc", "::", "PIC_", ")", ";", "else", "setRelocationModel", "(", "Reloc", "::", "Static", ")", ";", "}", "assert", "(", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Default", "&&", "\"Relocation mode not picked\"", ")", ";", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "DynamicNoPIC", ")", "{", "if", "(", "is64Bit", ")", "setRelocationModel", "(", "Reloc", "::", "PIC_", ")", ";", "else", "if", "(", "!", "Subtarget", ".", "isTargetDarwin", "(", ")", ")", "setRelocationModel", "(", "Reloc", "::", "Static", ")", ";", "}", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", "&&", "Subtarget", ".", "isTargetDarwin", "(", ")", "&&", "is64Bit", ")", "setRelocationModel", "(", "Reloc", "::", "PIC_", ")", ";", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "RIPRel", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "isTargetCygMing", "(", ")", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "StubPIC", ")", ";", "else", "{", "assert", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "DynamicNoPIC", ")", ";", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "StubDynamicNoPIC", ")", ";", "}", "}", "else", "if", "(", "Subtarget", ".", "isTargetELF", "(", ")", ")", "{", "Subtarget", ".", "setPICStyle", "(", "PICStyles", "::", "GOT", ")", ";", "}", "if", "(", "Subtarget", ".", "getPICStyle", "(", ")", "==", "PICStyles", "::", "None", ")", "setRelocationModel", "(", "Reloc", "::", "Static", ")", ";", "}", ""], "natrual_language": ["Create", "an", "X86", "target", "."], "TS_V_token": ["X86", "X86", "X86", "\"Relocation mode not picked\""], "File": "X86TargetMachine51", "Func": "X86TargetMachine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18150, "Length": 365, "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": ["PowerPC"], "File": "PPCAsmParser (2)", "Func": "Error", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18151, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_return_in_msb", "(", "const_tree", "valtype", ")", "{", "if", "(", "!", "TARGET_NEWABI", "||", "!", "TARGET_BIG_ENDIAN", "||", "!", "AGGREGATE_TYPE_P", "(", "valtype", ")", ")", "return", "false", ";", "tree", "fields", "[", "2", "]", ";", "bool", "has_cxx_zero_width_bf", "=", "false", ";", "bool", "has_cxx17_empty_base", "=", "false", ";", "return", "(", "mips_fpr_return_fields", "(", "valtype", ",", "fields", ",", "&", "has_cxx_zero_width_bf", ",", "&", "has_cxx17_empty_base", ")", "==", "0", "||", "has_cxx_zero_width_bf", ")", ";", "}", ""], "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": "mips", "Func": "mips_return_in_msb", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18152, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "xstormy16_build_builtin_va_list", "(", "void", ")", "{", "tree", "f_1", ",", "f_2", ",", "record", ",", "type_decl", ";", "record", "=", "(", "*", "lang_hooks", ".", "types", ".", "make_type", ")", "(", "RECORD_TYPE", ")", ";", "type_decl", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "TYPE_DECL", ",", "get_identifier", "(", "\"__va_list_tag\"", ")", ",", "record", ")", ";", "f_1", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"base\"", ")", ",", "ptr_type_node", ")", ";", "f_2", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"count\"", ")", ",", "unsigned_type_node", ")", ";", "DECL_FIELD_CONTEXT", "(", "f_1", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_2", ")", "=", "record", ";", "TYPE_STUB_DECL", "(", "record", ")", "=", "type_decl", ";", "TYPE_NAME", "(", "record", ")", "=", "type_decl", ";", "TYPE_FIELDS", "(", "record", ")", "=", "f_1", ";", "DECL_CHAIN", "(", "f_1", ")", "=", "f_2", ";", "layout_type", "(", "record", ")", ";", "return", "record", ";", "}", ""], "natrual_language": ["Build", "the", "va_list", "type", ".", "For", "this", "chip", ",", "va_list", "is", "a", "record", "containing", "a", "counter", "and", "a", "pointer", ".", "The", "counter", "is", "of", "type", "'int", "'", "and", "indicates", "how", "many", "bytes", "have", "been", "used", "to", "date", ".", "The", "pointer", "indicates", "the", "stack", "position", "for", "arguments", "that", "have", "not", "been", "passed", "in", "registers", ".", "To", "keep", "the", "layout", "nice", ",", "the", "pointer", "is", "first", "in", "the", "structure", "."], "TS_V_token": ["stormy16", "\"__va_list_tag\"", "\"base\"", "\"count\""], "File": "stormy16", "Func": "xstormy16_build_builtin_va_list", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18153, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "load_single_p", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "get_attr_type", "(", "insn", ")", "!=", "TYPE_LOAD", ")", "return", "false", ";", "if", "(", "INSN_CODE", "(", "insn", ")", "==", "CODE_FOR_move_di", "||", "INSN_CODE", "(", "insn", ")", "==", "CODE_FOR_move_df", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Functions", "to", "determine", "whether", "INSN", "is", "single-word", ",", "double-word", "or", "partial-word", "load/store", "insn", "."], "TS_V_token": ["nds32"], "File": "nds32-utils", "Func": "load_single_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18154, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcTargetMachine", "::", "SparcTargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "is64bit", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "is64bit", ")", ",", "DL", "(", "Subtarget", ".", "getDataLayout", "(", ")", ")", ",", "InstrInfo", "(", "Subtarget", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "FrameLowering", "(", "Subtarget", ")", ",", "STTI", "(", "&", "TLInfo", ")", ",", "VTTI", "(", "&", "TLInfo", ")", "{", "}", ""], "natrual_language": ["Create", "an", "ILP32", "architecture", "model", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc"], "File": "SparcTargetMachine29", "Func": "SparcTargetMachine", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18155, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "TOYRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "static", "const", "uint16_t", "CalleeSavedRegs", "[", "]", "=", "{", "TOY", "::", "LR", ",", "TOY", "::", "R2", ",", "TOY", "::", "R3", "}", ";", "return", "CalleeSavedRegs", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["TOY", "TOY", "TOY::LR", "TOY::R2", "TOY::R3"], "File": "TOYRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18156, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsPassConfig", "::", "addPreEmitPass", "(", ")", "{", "MipsTargetMachine", "&", "TM", "=", "getMipsTargetMachine", "(", ")", ";", "addPass", "(", "createMipsDelaySlotFillerPass", "(", "TM", ")", ")", ";", "if", "(", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "hasStandardEncoding", "(", ")", ")", "addPass", "(", "createMipsLongBranchPass", "(", "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"], "File": "MipsTargetMachine13", "Func": "addPreEmitPass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18157, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "parse_env_var", "(", "const", "char", "*", "str", ",", "char", "*", "*", "*", "pvalues", ")", "{", "const", "char", "*", "curval", ",", "*", "nextval", ";", "char", "*", "*", "values", ";", "unsigned", "num", "=", "1", ",", "i", ";", "curval", "=", "strchr", "(", "str", ",", "':'", ")", ";", "while", "(", "curval", ")", "{", "num", "++", ";", "curval", "=", "strchr", "(", "curval", "+", "1", ",", "':'", ")", ";", "}", "values", "=", "(", "char", "*", "*", ")", "xmalloc", "(", "num", "*", "sizeof", "(", "char", "*", ")", ")", ";", "curval", "=", "str", ";", "nextval", "=", "strchr", "(", "curval", ",", "':'", ")", ";", "if", "(", "nextval", "==", "NULL", ")", "nextval", "=", "strchr", "(", "curval", ",", "'\\0'", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "num", ";", "i", "++", ")", "{", "int", "l", "=", "nextval", "-", "curval", ";", "values", "[", "i", "]", "=", "(", "char", "*", ")", "xmalloc", "(", "l", "+", "1", ")", ";", "memcpy", "(", "values", "[", "i", "]", ",", "curval", ",", "l", ")", ";", "values", "[", "i", "]", "[", "l", "]", "=", "0", ";", "curval", "=", "nextval", "+", "1", ";", "nextval", "=", "strchr", "(", "curval", ",", "':'", ")", ";", "if", "(", "nextval", "==", "NULL", ")", "nextval", "=", "strchr", "(", "curval", ",", "'\\0'", ")", ";", "}", "*", "pvalues", "=", "values", ";", "return", "num", ";", "}", ""], "natrual_language": ["Parse", "STR", ",", "saving", "found", "tokens", "into", "PVALUES", "and", "return", "their", "number", ".", "Tokens", "are", "assumed", "to", "be", "delimited", "by", "'", ":", "'", "."], "TS_V_token": ["i386", "1", "1", "0", "1", "0", "1"], "File": "intelmic-mkoffload", "Func": "parse_env_var", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18158, "Length": 210, "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", ";", "const", "TargetRegisterClass", "*", "RCs", "[", "2", "]", "=", "{", "&", "X86", "::", "VR256RegClass", ",", "&", "X86", "::", "VR512RegClass", "}", ";", "for", "(", "auto", "*", "RC", ":", "RCs", ")", "{", "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", "2", "X86::VR256RegClass", "X86::VR512RegClass", "\"X86VZeroUpper state should be clear\"", "\"MBB #\"", "\" was Pass-through, is now Dirty-out.\\n\""], "File": "X86VZeroUpper36", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18159, "Length": 360, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "vfp3_const_double_index", "(", "rtx", "x", ")", "{", "REAL_VALUE_TYPE", "r", ",", "m", ";", "int", "sign", ",", "exponent", ";", "unsigned", "HOST_WIDE_INT", "mantissa", ",", "mant_hi", ";", "unsigned", "HOST_WIDE_INT", "mask", ";", "int", "point_pos", "=", "2", "*", "HOST_BITS_PER_WIDE_INT", "-", "1", ";", "bool", "fail", ";", "if", "(", "!", "TARGET_VFP3", "||", "!", "CONST_DOUBLE_P", "(", "x", ")", ")", "return", "-", "1", ";", "REAL_VALUE_FROM_CONST_DOUBLE", "(", "r", ",", "x", ")", ";", "if", "(", "REAL_VALUE_ISINF", "(", "r", ")", "||", "REAL_VALUE_ISNAN", "(", "r", ")", "||", "REAL_VALUE_MINUS_ZERO", "(", "r", ")", ")", "return", "-", "1", ";", "sign", "=", "REAL_VALUE_NEGATIVE", "(", "r", ")", "?", "1", ":", "0", ";", "r", "=", "real_value_abs", "(", "&", "r", ")", ";", "exponent", "=", "REAL_EXP", "(", "&", "r", ")", ";", "real_ldexp", "(", "&", "m", ",", "&", "r", ",", "point_pos", "-", "exponent", ")", ";", "wide_int", "w", "=", "real_to_integer", "(", "&", "m", ",", "&", "fail", ",", "HOST_BITS_PER_WIDE_INT", "*", "2", ")", ";", "mantissa", "=", "w", ".", "elt", "(", "0", ")", ";", "mant_hi", "=", "w", ".", "elt", "(", "1", ")", ";", "if", "(", "mantissa", "!=", "0", ")", "return", "-", "1", ";", "point_pos", "-=", "HOST_BITS_PER_WIDE_INT", ";", "mantissa", "=", "mant_hi", ";", "mask", "=", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "1", "<<", "(", "point_pos", "-", "5", ")", ")", "-", "1", ";", "if", "(", "(", "mantissa", "&", "mask", ")", "!=", "0", ")", "return", "-", "1", ";", "mantissa", ">>=", "point_pos", "-", "5", ";", "if", "(", "mantissa", "==", "0", ")", "return", "-", "1", ";", "gcc_assert", "(", "mantissa", ">=", "16", "&&", "mantissa", "<=", "31", ")", ";", "exponent", "=", "5", "-", "exponent", ";", "if", "(", "exponent", "<", "0", "||", "exponent", ">", "7", ")", "return", "-", "1", ";", "return", "(", "sign", "<<", "7", ")", "|", "(", "(", "exponent", "^", "3", ")", "<<", "4", ")", "|", "(", "mantissa", "-", "16", ")", ";", "}", ""], "natrual_language": ["Return", "an", "integer", "index", "for", "a", "VFPv3", "immediate", "operand", "X", "suitable", "for", "the", "fconst", "[", "sd", "]", "instruction", ",", "or", "-1", "if", "X", "is", "n't", "suitable", "."], "TS_V_token": ["arm", "2", "1", "1", "1", "1", "0", "2", "0", "1", "0", "1", "1", "5", "1", "0", "1", "5", "0", "1", "16", "31", "5", "0", "7", "1", "7", "3", "4", "16"], "File": "arm4", "Func": "vfp3_const_double_index", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18160, "Length": 278, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "std", "::", "unique_ptr", "<", "ARMOperand", ">", "CreateMem", "(", "unsigned", "BaseRegNum", ",", "const", "MCExpr", "*", "OffsetImm", ",", "unsigned", "OffsetRegNum", ",", "ARM_AM", "::", "ShiftOpc", "ShiftType", ",", "unsigned", "ShiftImm", ",", "unsigned", "Alignment", ",", "bool", "isNegative", ",", "SMLoc", "S", ",", "SMLoc", "E", ",", "SMLoc", "AlignmentLoc", "=", "SMLoc", "(", ")", ")", "{", "auto", "Op", "=", "std", "::", "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)3", "Func": "CreateMem", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18161, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "PPCTargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "LLT", "VT", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "bool", "isPPC64", "=", "Subtarget", ".", "isPPC64", "(", ")", ";", "bool", "is64Bit", "=", "isPPC64", "&&", "VT", "==", "LLT", "::", "scalar", "(", "64", ")", ";", "if", "(", "!", "is64Bit", "&&", "VT", "!=", "LLT", "::", "scalar", "(", "32", ")", ")", "report_fatal_error", "(", "\"Invalid register global variable type\"", ")", ";", "Register", "Reg", "=", "StringSwitch", "<", "Register", ">", "(", "RegName", ")", ".", "Case", "(", "\"r1\"", ",", "is64Bit", "?", "PPC", "::", "X1", ":", "PPC", "::", "R1", ")", ".", "Case", "(", "\"r2\"", ",", "isPPC64", "?", "Register", "(", ")", ":", "PPC", "::", "R2", ")", ".", "Case", "(", "\"r13\"", ",", "(", "is64Bit", "?", "PPC", "::", "X13", ":", "PPC", "::", "R13", ")", ")", ".", "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": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "64", "32", "\"Invalid register global variable type\"", "\"r1\"", "PPC::X1", "PPC::R1", "\"r2\"", "PPC", "PPC::R2", "\"r13\"", "PPC::X13", "PPC::R13", "\"Invalid register name global variable\""], "File": "PPCISelLowering100", "Func": "getRegisterByName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18162, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ATTRIBUTE_UNUSED", "i386_output_dwarf_dtprel", "(", "FILE", "*", "file", ",", "int", "size", ",", "rtx", "x", ")", "{", "fputs", "(", "ASM_LONG", ",", "file", ")", ";", "output_addr_const", "(", "file", ",", "x", ")", ";", "fputs", "(", "\"@dtpoff\"", ",", "file", ")", ";", "switch", "(", "size", ")", "{", "case", "4", ":", "break", ";", "case", "8", ":", "fputs", "(", "\", 0\"", ",", "file", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["This", "is", "called", "from", "dwarf2out.cc", "via", "TARGET_ASM_OUTPUT_DWARF_DTPREL", ".", "We", "need", "to", "emit", "DTP-relative", "relocations", "."], "TS_V_token": ["i386", "\"@dtpoff\"", "4", "8", "\", 0\""], "File": "i386", "Func": "i386_output_dwarf_dtprel", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18163, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_emit_prologue_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", ";", "if", "(", "bitmap_bit_p", "(", "components", ",", "0", ")", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ";", "rtx_insn", "*", "insn", "=", "emit_move_insn", "(", "reg", ",", "gen_rtx_REG", "(", "Pmode", ",", "LR_REGNO", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_REGISTER", ",", "NULL", ")", ";", "int", "offset", "=", "info", "->", "lr_save_offset", ";", "if", "(", "info", "->", "push_p", ")", "offset", "+=", "info", "->", "total_size", ";", "insn", "=", "emit_insn", "(", "gen_frame_store", "(", "reg", ",", "ptr_reg", ",", "offset", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "rtx", "lr", "=", "gen_rtx_REG", "(", "Pmode", ",", "LR_REGNO", ")", ";", "rtx", "mem", "=", "copy_rtx", "(", "SET_DEST", "(", "single_set", "(", "insn", ")", ")", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_OFFSET", ",", "gen_rtx_SET", "(", "mem", ",", "lr", ")", ")", ";", "}", "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_store", "(", "reg", ",", "ptr_reg", ",", "offset", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "rtx", "set", "=", "copy_rtx", "(", "single_set", "(", "insn", ")", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_OFFSET", ",", "set", ")", ";", "}", "offset", "+=", "reg_size", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_SHRINK_WRAP_EMIT_PROLOGUE_COMPONENTS", "."], "TS_V_token": ["rs6000", "4", "8", "0", "0", "1", "1", "32", "1"], "File": "rs60006", "Func": "rs6000_emit_prologue_components", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18164, "Length": 276, "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": 18165, "Length": 157, "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": 18166, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "indirect_thunk_prefix", "indirect_thunk_need_prefix", "(", "rtx_insn", "*", "insn", ")", "{", "enum", "indirect_thunk_prefix", "need_prefix", ";", "if", "(", "(", "cfun", "->", "machine", "->", "indirect_branch_type", "==", "indirect_branch_thunk_extern", ")", "&&", "ix86_notrack_prefixed_insn_p", "(", "insn", ")", ")", "{", "need_prefix", "=", "indirect_thunk_prefix_nt", ";", "}", "else", "need_prefix", "=", "indirect_thunk_prefix_none", ";", "return", "need_prefix", ";", "}", ""], "natrual_language": ["Return", "the", "prefix", "needed", "for", "an", "indirect", "branch", "INSN", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "indirect_thunk_need_prefix", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18167, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "gen_easy_altivec_constant", "(", "rtx", "op", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "op", ")", ";", "int", "nunits", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "rtx", "val", "=", "CONST_VECTOR_ELT", "(", "op", ",", "BYTES_BIG_ENDIAN", "?", "nunits", "-", "1", ":", "0", ")", ";", "unsigned", "step", "=", "nunits", "/", "4", ";", "unsigned", "copies", "=", "1", ";", "if", "(", "vspltis_constant", "(", "op", ",", "step", ",", "copies", ")", ")", "return", "gen_rtx_VEC_DUPLICATE", "(", "V4SImode", ",", "gen_lowpart", "(", "SImode", ",", "val", ")", ")", ";", "if", "(", "step", "==", "1", ")", "copies", "<<=", "1", ";", "else", "step", ">>=", "1", ";", "if", "(", "vspltis_constant", "(", "op", ",", "step", ",", "copies", ")", ")", "return", "gen_rtx_VEC_DUPLICATE", "(", "V8HImode", ",", "gen_lowpart", "(", "HImode", ",", "val", ")", ")", ";", "if", "(", "step", "==", "1", ")", "copies", "<<=", "1", ";", "else", "step", ">>=", "1", ";", "if", "(", "vspltis_constant", "(", "op", ",", "step", ",", "copies", ")", ")", "return", "gen_rtx_VEC_DUPLICATE", "(", "V16QImode", ",", "gen_lowpart", "(", "QImode", ",", "val", ")", ")", ";", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Generate", "a", "VEC_DUPLICATE", "representing", "a", "vspltis", "[", "bhw", "]", "instruction", "whose", "result", "is", "OP", ".", "Abort", "if", "it", "is", "not", "possible", "."], "TS_V_token": ["rs6000", "1", "0", "4", "1", "1", "1", "1", "1", "1", "1"], "File": "rs6000", "Func": "gen_easy_altivec_constant", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18168, "Length": 158, "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_TMM", ":", "\\", "if", "(", "index", ">", "7", ")", "\\", "*", "valid", "=", "0", ";", "\\", "return", "prefix", "##", "_TMM0", "+", "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", "7", "0", "0xf", "7", "0", "7", "0", "2", "0x7", "7", "5", "0", "7", "3", "0"], "File": "X86Disassembler24", "Func": "name", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18169, "Length": 474, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ia64_attribute_takes_identifier_p", "(", "const_tree", "attr_id", ")", "{", "if", "(", "is_attribute_p", "(", "\"model\"", ",", "attr_id", ")", ")", "return", "true", ";", "if", "(", "is_attribute_p", "(", "\"common_object\"", ",", "attr_id", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "TRUE", "iff", "the", "target", "attribute", "indicated", "by", "ATTR_ID", "takes", "a", "plain", "identifier", "as", "an", "argument", ",", "so", "the", "front", "end", "should", "n't", "look", "it", "up", "."], "TS_V_token": ["ia64", "\"model\"", "\"common_object\""], "File": "ia64", "Func": "ia64_attribute_takes_identifier_p", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18170, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"AdvSIMD Scalar Operation Optimization\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64", "\"AdvSIMD Scalar Operation Optimization\""], "File": "AArch64AdvSIMDScalarPass13", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18171, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "function_resolver", "::", "get_vector_type", "(", "type_suffix_index", "type", ")", "{", "return", "acle_vector_types", "[", "0", "]", "[", "type_suffixes", "[", "type", "]", ".", "vector_type", "]", ";", "}", ""], "natrual_language": ["Return", "the", "vector", "type", "associated", "with", "type", "suffix", "TYPE", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64-sve-builtins", "Func": "get_vector_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18172, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64CallLowering", "::", "splitToValueTypes", "(", "const", "ArgInfo", "&", "OrigArg", ",", "SmallVectorImpl", "<", "ArgInfo", ">", "&", "SplitArgs", ",", "const", "DataLayout", "&", "DL", ",", "MachineRegisterInfo", "&", "MRI", ",", "const", "SplitArgTy", "&", "PerformArgSplit", ")", "const", "{", "const", "AArch64TargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "AArch64TargetLowering", ">", "(", ")", ";", "LLVMContext", "&", "Ctx", "=", "OrigArg", ".", "Ty", "->", "getContext", "(", ")", ";", "SmallVector", "<", "EVT", ",", "4", ">", "SplitVTs", ";", "SmallVector", "<", "uint64_t", ",", "4", ">", "Offsets", ";", "ComputeValueVTs", "(", "TLI", ",", "DL", ",", "OrigArg", ".", "Ty", ",", "SplitVTs", ",", "&", "Offsets", ",", "0", ")", ";", "if", "(", "SplitVTs", ".", "size", "(", ")", "==", "1", ")", "{", "SplitArgs", ".", "emplace_back", "(", "OrigArg", ".", "Reg", ",", "SplitVTs", "[", "0", "]", ".", "getTypeForEVT", "(", "Ctx", ")", ",", "OrigArg", ".", "Flags", ",", "OrigArg", ".", "IsFixed", ")", ";", "return", ";", "}", "unsigned", "FirstRegIdx", "=", "SplitArgs", ".", "size", "(", ")", ";", "for", "(", "auto", "SplitVT", ":", "SplitVTs", ")", "{", "Type", "*", "SplitTy", "=", "SplitVT", ".", "getTypeForEVT", "(", "Ctx", ")", ";", "SplitArgs", ".", "push_back", "(", "ArgInfo", "{", "MRI", ".", "createGenericVirtualRegister", "(", "getLLTForType", "(", "*", "SplitTy", ",", "DL", ")", ")", ",", "SplitTy", ",", "OrigArg", ".", "Flags", ",", "OrigArg", ".", "IsFixed", "}", ")", ";", "}", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Offsets", ".", "size", "(", ")", ";", "++", "i", ")", "PerformArgSplit", "(", "SplitArgs", "[", "FirstRegIdx", "+", "i", "]", ".", "Reg", ",", "Offsets", "[", "i", "]", "*", "8", ")", ";", "}", ""], "natrual_language": ["Break", "OrigArgInfo", "into", "one", "or", "more", "pieces", "the", "calling", "convention", "can", "process", ",", "returned", "in", "SplitArgs", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "4", "4", "0", "1", "0", "0", "8"], "File": "AArch64CallLowering18", "Func": "splitToValueTypes", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18173, "Length": 231, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PostLegalizerCombiner", "::", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "TargetPassConfig", ">", "(", ")", ";", "AU", ".", "setPreservesCFG", "(", ")", ";", "getSelectionDAGFallbackAnalysisUsage", "(", "AU", ")", ";", "AU", ".", "addRequired", "<", "GISelKnownBitsAnalysis", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "GISelKnownBitsAnalysis", ">", "(", ")", ";", "if", "(", "!", "IsOptNone", ")", "{", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "GISelCSEAnalysisWrapperPass", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "GISelCSEAnalysisWrapperPass", ">", "(", ")", ";", "}", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64PostLegalizerCombiner (2)", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18174, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "swap_endian_selector_for_mode", "(", "machine_mode", "mode", ")", "{", "unsigned", "int", "swap1", "[", "16", "]", "=", "{", "15", ",", "14", ",", "13", ",", "12", ",", "11", ",", "10", ",", "9", ",", "8", ",", "7", ",", "6", ",", "5", ",", "4", ",", "3", ",", "2", ",", "1", ",", "0", "}", ";", "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", "*", "swaparray", ",", "i", ";", "rtx", "perm", "[", "16", "]", ";", "switch", "(", "mode", ")", "{", "case", "E_V1TImode", ":", "swaparray", "=", "swap1", ";", "break", ";", "case", "E_V2DFmode", ":", "case", "E_V2DImode", ":", "swaparray", "=", "swap2", ";", "break", ";", "case", "E_V4SFmode", ":", "case", "E_V4SImode", ":", "swaparray", "=", "swap4", ";", "break", ";", "case", "E_V8HImode", ":", "swaparray", "=", "swap8", ";", "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", "the", "permutation", "index", "for", "the", "swapping", "on", "the", "given", "vector", "mode", ".", "Note", "that", "the", "permutation", "index", "is", "correspondingly", "generated", "by", "endianness", ",", "it", "should", "be", "used", "by", "direct", "vector", "permutation", "."], "TS_V_token": ["rs6000", "16", "15", "14", "13", "12", "11", "10", "9", "8", "7", "6", "5", "4", "3", "2", "1", "0", "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", "16", "16"], "File": "rs6000-call", "Func": "swap_endian_selector_for_mode", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18175, "Length": 283, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "AArch64TargetLowering", "::", "getScalingFactorCost", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ")", "const", "{", "if", "(", "isLegalAddressingMode", "(", "DL", ",", "AM", ",", "Ty", ",", "AS", ")", ")", "return", "AM", ".", "Scale", "!=", "0", "&&", "AM", ".", "Scale", "!=", "1", ";", "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": ["AArch64", "AArch64", "0", "1", "1"], "File": "AArch64ISelLowering (2)", "Func": "getScalingFactorCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18176, "Length": 55, "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": ["ARM64"], "File": "ARM64AsmParser1", "Func": "getEndLoc", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18177, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_elf_asm_init_sections", "(", "void", ")", "{", "toc_section", "=", "get_unnamed_section", "(", "0", ",", "rs6000_elf_output_toc_section_asm_op", ",", "NULL", ")", ";", "sdata2_section", "=", "get_unnamed_section", "(", "SECTION_WRITE", ",", "output_section_asm_op", ",", "SDATA2_SECTION_ASM_OP", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_INIT_SECTIONS", "."], "TS_V_token": ["powerpcspe", "0"], "File": "powerpcspe", "Func": "rs6000_elf_asm_init_sections", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18178, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "CSKYInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "CSKY", "::", "LD16B", ":", "case", "CSKY", "::", "LD16H", ":", "case", "CSKY", "::", "LD16W", ":", "case", "CSKY", "::", "LD32B", ":", "case", "CSKY", "::", "LD32BS", ":", "case", "CSKY", "::", "LD32H", ":", "case", "CSKY", "::", "LD32HS", ":", "case", "CSKY", "::", "LD32W", ":", "case", "CSKY", "::", "FLD_S", ":", "case", "CSKY", "::", "FLD_D", ":", "case", "CSKY", "::", "f2FLD_S", ":", "case", "CSKY", "::", "f2FLD_D", ":", "case", "CSKY", "::", "RESTORE_CARRY", ":", "break", ";", "}", "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": ["CSKY", "CSKY", "0", "CSKY::LD16B", "CSKY::LD16H", "CSKY::LD16W", "CSKY::LD32B", "CSKY::LD32BS", "CSKY::LD32H", "CSKY::LD32HS", "CSKY::LD32W", "CSKY::FLD_S", "CSKY::FLD_D", "CSKY::f2FLD_S", "CSKY::f2FLD_D", "CSKY::RESTORE_CARRY", "1", "2", "2", "0", "1", "0", "0"], "File": "CSKYInstrInfo1", "Func": "isLoadFromStackSlot", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18179, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CSKYInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "O", ",", "unsigned", "RegNo", ")", "const", "{", "if", "(", "PrintBranchImmAsAddress", ")", "O", "<<", "getRegisterName", "(", "RegNo", ",", "ABIRegNames", "?", "CSKY", "::", "ABIRegAltName", ":", "CSKY", "::", "NoRegAltName", ")", ";", "else", "O", "<<", "getRegisterName", "(", "RegNo", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["CSKY", "CSKY", "CSKY::ABIRegAltName", "CSKY::NoRegAltName"], "File": "CSKYInstPrinter1", "Func": "printRegName", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18180, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "AArch64RegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "if", "(", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isTargetDarwin", "(", ")", ")", "return", "getDarwinCallPreservedMask", "(", "MF", ",", "CC", ")", ";", "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", "SCS", "?", "CSR_AArch64_SVE_AAPCS_SCS_RegMask", ":", "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", "AArch64", "AArch64"], "File": "AArch64RegisterInfo67", "Func": "getCallPreservedMask", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18181, "Length": 211, "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", "::", "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::NGetLnFrm", "ARMII::NSetLnFrm", "ARMII::NDupFrm", "ARMII::N1RegModImmFrm", "ARMII::N2RegFrm", "ARMII::N3RegFrm"], "File": "ARMCodeEmitter12", "Func": "emitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18182, "Length": 405, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "storeOfVectorConstantIsCheap", "(", "EVT", "MemVT", ",", "unsigned", "NumElem", ",", "unsigned", "AddrSpace", ")", "const", "override", "{", "return", "NumElem", ">", "2", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "expected", "to", "be", "cheaper", "to", "do", "a", "store", "of", "vector", "constant", "with", "the", "given", "size", "and", "type", "for", "the", "address", "space", "than", "to", "store", "the", "individual", "scalar", "element", "constants", "."], "TS_V_token": ["X86", "2"], "File": "X86ISelLowering", "Func": "storeOfVectorConstantIsCheap", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18183, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "long", "rs6000_arg_size", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "unsigned", "long", "size", ";", "if", "(", "mode", "!=", "BLKmode", ")", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "else", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "if", "(", "TARGET_32BIT", ")", "return", "(", "size", "+", "3", ")", ">>", "2", ";", "else", "return", "(", "size", "+", "7", ")", ">>", "3", ";", "}", ""], "natrual_language": ["Compute", "the", "size", "(", "in", "words", ")", "of", "a", "function", "argument", "."], "TS_V_token": ["powerpcspe", "3", "2", "7", "3"], "File": "powerpcspe", "Func": "rs6000_arg_size", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18184, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "expand_set_or_movmem_via_rep", "(", "rtx", "destmem", ",", "rtx", "srcmem", ",", "rtx", "destptr", ",", "rtx", "srcptr", ",", "rtx", "value", ",", "rtx", "orig_value", ",", "rtx", "count", ",", "machine_mode", "mode", ",", "bool", "issetmem", ")", "{", "rtx", "destexp", ";", "rtx", "srcexp", ";", "rtx", "countreg", ";", "HOST_WIDE_INT", "rounded_count", ";", "if", "(", "mode", "==", "QImode", "&&", "CONST_INT_P", "(", "count", ")", "&&", "!", "(", "INTVAL", "(", "count", ")", "&", "3", ")", "&&", "(", "!", "issetmem", "||", "orig_value", "==", "const0_rtx", ")", ")", "mode", "=", "SImode", ";", "if", "(", "destptr", "!=", "XEXP", "(", "destmem", ",", "0", ")", "||", "GET_MODE", "(", "destmem", ")", "!=", "BLKmode", ")", "destmem", "=", "adjust_automodify_address_nv", "(", "destmem", ",", "BLKmode", ",", "destptr", ",", "0", ")", ";", "countreg", "=", "ix86_zero_extend_to_Pmode", "(", "scale_counter", "(", "count", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ")", ";", "if", "(", "mode", "!=", "QImode", ")", "{", "destexp", "=", "gen_rtx_ASHIFT", "(", "Pmode", ",", "countreg", ",", "GEN_INT", "(", "exact_log2", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", ")", ")", ";", "destexp", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "destexp", ",", "destptr", ")", ";", "}", "else", "destexp", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "destptr", ",", "countreg", ")", ";", "if", "(", "(", "!", "issetmem", "||", "orig_value", "==", "const0_rtx", ")", "&&", "CONST_INT_P", "(", "count", ")", ")", "{", "rounded_count", "=", "(", "INTVAL", "(", "count", ")", "&", "~", "(", "(", "HOST_WIDE_INT", ")", "GET_MODE_SIZE", "(", "mode", ")", "-", "1", ")", ")", ";", "destmem", "=", "shallow_copy_rtx", "(", "destmem", ")", ";", "set_mem_size", "(", "destmem", ",", "rounded_count", ")", ";", "}", "else", "if", "(", "MEM_SIZE_KNOWN_P", "(", "destmem", ")", ")", "clear_mem_size", "(", "destmem", ")", ";", "if", "(", "issetmem", ")", "{", "value", "=", "force_reg", "(", "mode", ",", "gen_lowpart", "(", "mode", ",", "value", ")", ")", ";", "emit_insn", "(", "gen_rep_stos", "(", "destptr", ",", "countreg", ",", "destmem", ",", "value", ",", "destexp", ")", ")", ";", "}", "else", "{", "if", "(", "srcptr", "!=", "XEXP", "(", "srcmem", ",", "0", ")", "||", "GET_MODE", "(", "srcmem", ")", "!=", "BLKmode", ")", "srcmem", "=", "adjust_automodify_address_nv", "(", "srcmem", ",", "BLKmode", ",", "srcptr", ",", "0", ")", ";", "if", "(", "mode", "!=", "QImode", ")", "{", "srcexp", "=", "gen_rtx_ASHIFT", "(", "Pmode", ",", "countreg", ",", "GEN_INT", "(", "exact_log2", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", ")", ")", ";", "srcexp", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "srcexp", ",", "srcptr", ")", ";", "}", "else", "srcexp", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "srcptr", ",", "countreg", ")", ";", "if", "(", "CONST_INT_P", "(", "count", ")", ")", "{", "rounded_count", "=", "(", "INTVAL", "(", "count", ")", "&", "~", "(", "(", "HOST_WIDE_INT", ")", "GET_MODE_SIZE", "(", "mode", ")", "-", "1", ")", ")", ";", "srcmem", "=", "shallow_copy_rtx", "(", "srcmem", ")", ";", "set_mem_size", "(", "srcmem", ",", "rounded_count", ")", ";", "}", "else", "{", "if", "(", "MEM_SIZE_KNOWN_P", "(", "srcmem", ")", ")", "clear_mem_size", "(", "srcmem", ")", ";", "}", "emit_insn", "(", "gen_rep_mov", "(", "destptr", ",", "destmem", ",", "srcptr", ",", "srcmem", ",", "countreg", ",", "destexp", ",", "srcexp", ")", ")", ";", "}", "}", ""], "natrual_language": ["Output", "``", "rep", ";", "mov", "''", "or", "``", "rep", ";", "stos", "''", "instruction", "depending", "on", "ISSETMEM", "argument", ".", "When", "ISSETMEM", "is", "true", ",", "arguments", "SRCMEM", "and", "SRCPTR", "are", "ignored", ".", "When", "ISSETMEM", "is", "false", ",", "arguments", "VALUE", "and", "ORIG_VALUE", "are", "ignored", ".", "For", "setmem", "case", ",", "VALUE", "is", "a", "promoted", "to", "a", "wider", "size", "ORIG_VALUE", ".", "ORIG_VALUE", "is", "the", "original", "value", "passed", "to", "memset", "to", "fill", "the", "memory", "with", ".", "Other", "arguments", "have", "same", "meaning", "as", "for", "previous", "function", "."], "TS_V_token": ["i386", "3", "0", "0", "1", "0", "0", "1"], "File": "i3864", "Func": "expand_set_or_movmem_via_rep", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18185, "Length": 444, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "unsigned", "long", "ia64_rse_num_regs", "(", "unsigned", "long", "*", "bspstore", ",", "unsigned", "long", "*", "bsp", ")", "{", "unsigned", "long", "slots", "=", "(", "bsp", "-", "bspstore", ")", ";", "return", "slots", "-", "(", "ia64_rse_slot_num", "(", "bspstore", ")", "+", "slots", ")", "/", "0x40", ";", "}", ""], "natrual_language": ["Calculate", "the", "number", "of", "registers", "in", "the", "dirty", "partition", "starting", "at", "BSPSTORE", "with", "a", "size", "of", "DIRTY", "bytes", ".", "This", "is", "n't", "simply", "DIRTY", "divided", "by", "eight", "because", "the", "64th", "slot", "is", "used", "to", "store", "ar.rnat", "."], "TS_V_token": ["ia64", "0x40"], "File": "unwind-ia64", "Func": "ia64_rse_num_regs", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18186, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createMicroMipsSizeReductionPass", "(", ")", ")", ";", "addPass", "(", "createMipsDelaySlotFillerPass", "(", ")", ")", ";", "addPass", "(", "createMipsHazardSchedule", "(", ")", ")", ";", "addPass", "(", "createMipsLongBranchPass", "(", ")", ")", ";", "addPass", "(", "createMipsConstantIslandPass", "(", ")", ")", ";", "}", ""], "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"], "File": "MipsTargetMachine10", "Func": "addPreEmitPass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18187, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "X86AsmBackend", "::", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "X86", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"reloc_riprel_4byte\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_riprel_4byte_movq_load\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_riprel_4byte_relax\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_riprel_4byte_relax_rex\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"reloc_signed_4byte\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"reloc_signed_4byte_relax\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"reloc_global_offset_table\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"reloc_global_offset_table8\"", ",", "0", ",", "64", ",", "0", "}", ",", "{", "\"reloc_branch_4byte_pcrel\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "}", ";", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "assert", "(", "unsigned", "(", "Kind", "-", "FirstTargetFixupKind", ")", "<", "getNumFixupKinds", "(", ")", "&&", "\"Invalid kind!\"", ")", ";", "assert", "(", "Infos", "[", "Kind", "-", "FirstTargetFixupKind", "]", ".", "Name", "&&", "\"Empty fixup name!\"", ")", ";", "return", "Infos", "[", "Kind", "-", "FirstTargetFixupKind", "]", ";", "}", ""], "natrual_language": ["Get", "information", "on", "a", "fixup", "kind", "."], "TS_V_token": ["X86", "X86", "X86::NumTargetFixupKinds", "\"reloc_riprel_4byte\"", "0", "32", "\"reloc_riprel_4byte_movq_load\"", "0", "32", "\"reloc_riprel_4byte_relax\"", "0", "32", "\"reloc_riprel_4byte_relax_rex\"", "0", "32", "\"reloc_signed_4byte\"", "0", "32", "0", "\"reloc_signed_4byte_relax\"", "0", "32", "0", "\"reloc_global_offset_table\"", "0", "32", "0", "\"reloc_global_offset_table8\"", "0", "64", "0", "\"reloc_branch_4byte_pcrel\"", "0", "32", "\"Invalid kind!\"", "\"Empty fixup name!\""], "File": "X86AsmBackend17", "Func": "getFixupKindInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18188, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"MIPS Os16 Optimization\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"MIPS Os16 Optimization\""], "File": "MipsOs16", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18189, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "mmix_static_rtx_alignment", "(", "machine_mode", "mode", ")", "{", "return", "MAX", "(", "GET_MODE_ALIGNMENT", "(", "mode", ")", ",", "32", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_STATIC_RTX_ALIGNMENT", "."], "TS_V_token": ["mmix", "32"], "File": "mmix", "Func": "mmix_static_rtx_alignment", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18190, "Length": 20, "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": 18191, "Length": 234, "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", ")", ";", "splitToValueTypes", "(", "OrigArg", ",", "SplitArgs", ",", "DL", ",", "MRI", ",", "[", "&", "]", "(", "ArrayRef", "<", "unsigned", ">", "Regs", ")", "{", "MIRBuilder", ".", "buildMerge", "(", "VRegs", "[", "Idx", "]", ",", "Regs", ")", ";", "}", ")", ";", "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": "X86CallLowering6", "Func": "lowerFormalArguments", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18192, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"AZPR Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AZPR", "\"AZPR Assembly Printer\""], "File": "AZPRAsmPrinter", "Func": "getPassName", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18193, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "DestReg", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "Opc", "=", "0", ";", "if", "(", "RC", "==", "&", "SystemZ", "::", "GR32RegClass", "||", "RC", "==", "&", "SystemZ", "::", "ADDR32RegClass", ")", "Opc", "=", "SystemZ", "::", "MOV32rm", ";", "else", "if", "(", "RC", "==", "&", "SystemZ", "::", "GR64RegClass", "||", "RC", "==", "&", "SystemZ", "::", "ADDR64RegClass", ")", "{", "Opc", "=", "SystemZ", "::", "MOV64rm", ";", "}", "else", "if", "(", "RC", "==", "&", "SystemZ", "::", "FP32RegClass", ")", "{", "Opc", "=", "SystemZ", "::", "FMOV32rm", ";", "}", "else", "if", "(", "RC", "==", "&", "SystemZ", "::", "FP64RegClass", ")", "{", "Opc", "=", "SystemZ", "::", "FMOV64rm", ";", "}", "else", "if", "(", "RC", "==", "&", "SystemZ", "::", "GR64PRegClass", ")", "{", "Opc", "=", "SystemZ", "::", "MOV64Prm", ";", "}", "else", "if", "(", "RC", "==", "&", "SystemZ", "::", "GR128RegClass", ")", "{", "Opc", "=", "SystemZ", "::", "MOV128rm", ";", "}", "else", "llvm_unreachable", "(", "\"Unsupported regclass to load\"", ")", ";", "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": ["SystemZ", "SystemZ", "0", "SystemZ::GR32RegClass", "SystemZ::ADDR32RegClass", "SystemZ::MOV32rm", "SystemZ::GR64RegClass", "SystemZ::ADDR64RegClass", "SystemZ::MOV64rm", "SystemZ::FP32RegClass", "SystemZ::FMOV32rm", "SystemZ::FP64RegClass", "SystemZ::FMOV64rm", "SystemZ::GR64PRegClass", "SystemZ::MOV64Prm", "SystemZ::GR128RegClass", "SystemZ::MOV128rm", "\"Unsupported regclass to load\""], "File": "SystemZInstrInfo4", "Func": "loadRegFromStackSlot", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18194, "Length": 200, "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": 18195, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86DAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "OptForSize", "=", "MF", "->", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "Attribute", "::", "OptimizeForSize", ")", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "I", "++", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "!", "Subtarget", "->", "isTargetNaCl", "(", ")", "&&", "(", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", "&&", "!", "Subtarget", "->", "callRegIndirect", "(", ")", ")", "||", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "TC_RETURN", "&&", "(", "Subtarget", "->", "is64Bit", "(", ")", "||", "getTargetMachine", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", ")", ")", ")", ")", "{", "bool", "HasCallSeq", "=", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", ";", "SDValue", "Chain", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Load", "=", "N", "->", "getOperand", "(", "1", ")", ";", "if", "(", "!", "isCalleeLoad", "(", "Load", ",", "Chain", ",", "HasCallSeq", ")", ")", "continue", ";", "MoveBelowOrigChain", "(", "CurDAG", ",", "Load", ",", "SDValue", "(", "N", ",", "0", ")", ",", "Chain", ")", ";", "++", "NumLoadMoved", ";", "continue", ";", "}", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_ROUND", "&&", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "MVT", "SrcVT", "=", "N", "->", "getOperand", "(", "0", ")", ".", "getSimpleValueType", "(", ")", ";", "MVT", "DstVT", "=", "N", "->", "getSimpleValueType", "(", "0", ")", ";", "if", "(", "SrcVT", ".", "isVector", "(", ")", "||", "DstVT", ".", "isVector", "(", ")", ")", "continue", ";", "const", "X86TargetLowering", "*", "X86Lowering", "=", "static_cast", "<", "const", "X86TargetLowering", "*", ">", "(", "TLI", ")", ";", "bool", "SrcIsSSE", "=", "X86Lowering", "->", "isScalarFPTypeInSSEReg", "(", "SrcVT", ")", ";", "bool", "DstIsSSE", "=", "X86Lowering", "->", "isScalarFPTypeInSSEReg", "(", "DstVT", ")", ";", "if", "(", "SrcIsSSE", "&&", "DstIsSSE", ")", "continue", ";", "if", "(", "!", "SrcIsSSE", "&&", "!", "DstIsSSE", ")", "{", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "if", "(", "N", "->", "getConstantOperandVal", "(", "1", ")", ")", "continue", ";", "}", "MVT", "MemVT", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_ROUND", ")", "MemVT", "=", "DstVT", ";", "else", "MemVT", "=", "SrcIsSSE", "?", "SrcVT", ":", "DstVT", ";", "SDValue", "MemTmp", "=", "CurDAG", "->", "CreateStackTemporary", "(", "MemVT", ")", ";", "SDLoc", "dl", "(", "N", ")", ";", "SDValue", "Store", "=", "CurDAG", "->", "getTruncStore", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "dl", ",", "N", "->", "getOperand", "(", "0", ")", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "SDValue", "Result", "=", "CurDAG", "->", "getExtLoad", "(", "ISD", "::", "EXTLOAD", ",", "dl", ",", "DstVT", ",", "Store", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "false", ",", "0", ")", ";", "--", "I", ";", "CurDAG", "->", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "0", ")", ",", "Result", ")", ";", "++", "I", ";", "CurDAG", "->", "DeleteNode", "(", "N", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["X86", "X86", "X86ISD::CALL", "X86ISD::TC_RETURN", "X86ISD::CALL", "0", "1", "0", "ISD::FP_ROUND", "ISD::FP_EXTEND", "0", "0", "X86", "X86", "X86", "X86", "X86", "ISD::FP_EXTEND", "1", "ISD::FP_ROUND", "0", "0", "ISD::EXTLOAD", "0", "0"], "File": "X86ISelDAGToDAG131", "Func": "PreprocessISelDAG", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18196, "Length": 480, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_emit_i387_cosh", "(", "rtx", "op0", ",", "rtx", "op1", ")", "{", "rtx", "e1", "=", "gen_reg_rtx", "(", "XFmode", ")", ";", "rtx", "e2", "=", "gen_reg_rtx", "(", "XFmode", ")", ";", "rtx", "half", "=", "const_double_from_real_value", "(", "dconsthalf", ",", "XFmode", ")", ";", "rtx", "cst1", ";", "emit_insn", "(", "gen_expxf2", "(", "e1", ",", "op1", ")", ")", ";", "cst1", "=", "force_reg", "(", "XFmode", ",", "CONST1_RTX", "(", "XFmode", ")", ")", ";", "emit_insn", "(", "gen_divxf3", "(", "e2", ",", "cst1", ",", "e1", ")", ")", ";", "emit_insn", "(", "gen_addxf3", "(", "e2", ",", "e1", ",", "e2", ")", ")", ";", "half", "=", "force_reg", "(", "XFmode", ",", "half", ")", ";", "emit_insn", "(", "gen_mulxf3", "(", "op0", ",", "e2", ",", "half", ")", ")", ";", "}", ""], "natrual_language": ["Output", "code", "to", "perform", "an", "cosh", "XFmode", "calculation", "."], "TS_V_token": ["i386"], "File": "i386-expand", "Func": "ix86_emit_i387_cosh", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18197, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh2a_is_function_vector_call", "(", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "(", "SYMBOL_REF_FLAGS", "(", "x", ")", "&", "SYMBOL_FLAG_FUNCVEC_FUNCTION", ")", ")", "{", "tree", "tr", "=", "SYMBOL_REF_DECL", "(", "x", ")", ";", "if", "(", "sh2a_function_vector_p", "(", "tr", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "current", "function", "has", "been", "assigned", "the", "attribute", "'function_vector", "'", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "sh2a_is_function_vector_call", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18198, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "VETargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Should not custom lower this!\"", ")", ";", "case", "ISD", "::", "ATOMIC_FENCE", ":", "return", "lowerATOMIC_FENCE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "lowerBlockAddress", "(", "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", "::", "GlobalTLSAddress", ":", "return", "lowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "lowerLOAD", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "lowerSTORE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "lowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VAARG", ":", "return", "lowerVAARG", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["VE", "VE", "\"Should not custom lower this!\"", "ISD::ATOMIC_FENCE", "ISD::BlockAddress", "ISD::ConstantPool", "ISD::DYNAMIC_STACKALLOC", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::LOAD", "ISD::STORE", "ISD::VASTART", "ISD::VAARG"], "File": "VEISelLowering1", "Func": "LowerOperation", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18199, "Length": 162, "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", "(", "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": "mips", "Func": "r10k_needs_protection_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18200, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64AppleInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "unsigned", "Opcode", "=", "MI", "->", "getOpcode", "(", ")", ";", "StringRef", "Layout", ",", "Mnemonic", ";", "bool", "IsTbx", ";", "if", "(", "isTblTbxInstruction", "(", "MI", "->", "getOpcode", "(", ")", ",", "Layout", ",", "IsTbx", ")", ")", "{", "O", "<<", "\"\\t\"", "<<", "(", "IsTbx", "?", "\"tbx\"", ":", "\"tbl\"", ")", "<<", "Layout", "<<", "'\\t'", "<<", "getRegisterName", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "AArch64", "::", "vreg", ")", "<<", "\", \"", ";", "unsigned", "ListOpNum", "=", "IsTbx", "?", "2", ":", "1", ";", "printVectorList", "(", "MI", ",", "ListOpNum", ",", "STI", ",", "O", ",", "\"\"", ")", ";", "O", "<<", "\", \"", "<<", "getRegisterName", "(", "MI", "->", "getOperand", "(", "ListOpNum", "+", "1", ")", ".", "getReg", "(", ")", ",", "AArch64", "::", "vreg", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "return", ";", "}", "if", "(", "const", "LdStNInstrDesc", "*", "LdStDesc", "=", "getLdStNInstrDesc", "(", "Opcode", ")", ")", "{", "O", "<<", "\"\\t\"", "<<", "LdStDesc", "->", "Mnemonic", "<<", "LdStDesc", "->", "Layout", "<<", "'\\t'", ";", "int", "OpNum", "=", "LdStDesc", "->", "ListOperand", ";", "printVectorList", "(", "MI", ",", "OpNum", "++", ",", "STI", ",", "O", ",", "\"\"", ")", ";", "if", "(", "LdStDesc", "->", "HasLane", ")", "O", "<<", "'['", "<<", "MI", "->", "getOperand", "(", "OpNum", "++", ")", ".", "getImm", "(", ")", "<<", "']'", ";", "unsigned", "AddrReg", "=", "MI", "->", "getOperand", "(", "OpNum", "++", ")", ".", "getReg", "(", ")", ";", "O", "<<", "\", [\"", "<<", "getRegisterName", "(", "AddrReg", ")", "<<", "']'", ";", "if", "(", "LdStDesc", "->", "NaturalOffset", "!=", "0", ")", "{", "unsigned", "Reg", "=", "MI", "->", "getOperand", "(", "OpNum", "++", ")", ".", "getReg", "(", ")", ";", "if", "(", "Reg", "!=", "AArch64", "::", "XZR", ")", "O", "<<", "\", \"", "<<", "getRegisterName", "(", "Reg", ")", ";", "else", "{", "assert", "(", "LdStDesc", "->", "NaturalOffset", "&&", "\"no offset on post-inc instruction?\"", ")", ";", "O", "<<", "\", #\"", "<<", "LdStDesc", "->", "NaturalOffset", ";", "}", "}", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "return", ";", "}", "AArch64InstPrinter", "::", "printInst", "(", "MI", ",", "O", ",", "Annot", ",", "STI", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["AArch64", "AArch64", "\"\\t\"", "\"tbx\"", "\"tbl\"", "0", "AArch64::vreg", "\", \"", "2", "1", "\"\"", "\", \"", "1", "AArch64::vreg", "\"\\t\"", "\"\"", "\", [\"", "0", "AArch64::XZR", "\", \"", "\"no offset on post-inc instruction?\"", "\", #\"", "AArch64"], "File": "AArch64InstPrinter (2)", "Func": "printInst", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18201, "Length": 332, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "x86_can_output_mi_thunk", "(", "tree", "thunk", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "delta", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "vcall_offset", ",", "tree", "function", ")", "{", "if", "(", "TARGET_64BIT", ")", "return", "true", ";", "if", "(", "ix86_function_regparm", "(", "TREE_TYPE", "(", "function", ")", ",", "function", ")", "<", "3", ")", "return", "true", ";", "if", "(", "vcall_offset", ")", "return", "false", ";", "if", "(", "flag_pic", "&&", "!", "(", "*", "targetm", ".", "binds_local_p", ")", "(", "function", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Determine", "whether", "x86_output_mi_thunk", "can", "succeed", "."], "TS_V_token": ["i386", "3"], "File": "i3863", "Func": "x86_can_output_mi_thunk", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18202, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_lround", "(", "rtx", "op0", ",", "rtx", "op1", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "op1", ")", ";", "const", "struct", "real_format", "*", "fmt", ";", "REAL_VALUE_TYPE", "pred_half", ",", "half_minus_pred_half", ";", "rtx", "adj", ";", "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", ")", ";", "adj", "=", "force_reg", "(", "mode", ",", "const_double_from_real_value", "(", "pred_half", ",", "mode", ")", ")", ";", "ix86_sse_copysign_to_positive", "(", "adj", ",", "adj", ",", "force_reg", "(", "mode", ",", "op1", ")", ",", "NULL_RTX", ")", ";", "adj", "=", "expand_simple_binop", "(", "mode", ",", "PLUS", ",", "adj", ",", "op1", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "expand_fix", "(", "op0", ",", "adj", ",", "0", ")", ";", "}", ""], "natrual_language": ["Expand", "SSE", "sequence", "for", "computing", "lround", "from", "OP1", "storing", "into", "OP0", "."], "TS_V_token": ["i386", "1", "0", "0"], "File": "i386-expand", "Func": "ix86_expand_lround", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18203, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableAtomicTidy", ")", "addPass", "(", "createCFGSimplificationPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "EnableLoopDataPrefetch", ")", "addPass", "(", "createLoopDataPrefetchPass", "(", ")", ")", ";", "if", "(", "EnableFalkorHWPFFix", ")", "addPass", "(", "createFalkorMarkStridedAccessesPass", "(", ")", ")", ";", "}", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createInterleavedAccessPass", "(", ")", ")", ";", "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": "AArch64TargetMachine17", "Func": "addIRPasses", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18204, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_emit_scc", "(", "enum", "rtx_code", "code", ",", "rtx", "target", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "cmp_operands", "[", "0", "]", ")", ")", "!=", "MODE_INT", ")", "return", "false", ";", "target", "=", "gen_lowpart", "(", "GET_MODE", "(", "cmp_operands", "[", "0", "]", ")", ",", "target", ")", ";", "if", "(", "code", "==", "EQ", "||", "code", "==", "NE", ")", "{", "rtx", "zie", "=", "mips_zero_if_equal", "(", "cmp_operands", "[", "0", "]", ",", "cmp_operands", "[", "1", "]", ")", ";", "mips_emit_binary", "(", "code", ",", "target", ",", "zie", ",", "const0_rtx", ")", ";", "}", "else", "mips_emit_int_relational", "(", "code", ",", "0", ",", "target", ",", "cmp_operands", "[", "0", "]", ",", "cmp_operands", "[", "1", "]", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Try", "comparing", "cmp_operands", "[", "0", "]", "and", "cmp_operands", "[", "1", "]", "using", "rtl", "code", "CODE", ".", "Store", "the", "result", "in", "TARGET", "and", "return", "true", "if", "successful", ".", "On", "64-bit", "targets", ",", "TARGET", "may", "be", "wider", "than", "cmp_operands", "[", "0", "]", "."], "TS_V_token": ["mips", "0", "0", "0", "1", "0", "0", "1"], "File": "mips3", "Func": "mips_emit_scc", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18205, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ia32_multipass_dfa_lookahead", "(", "void", ")", "{", "if", "(", "reload_completed", ")", "return", "ix86_issue_rate", "(", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["How", "many", "alternative", "schedules", "to", "try", ".", "This", "should", "be", "as", "wide", "as", "the", "scheduling", "freedom", "in", "the", "DFA", ",", "but", "no", "wider", ".", "Making", "this", "value", "too", "large", "results", "extra", "work", "for", "the", "scheduler", "."], "TS_V_token": ["i386", "0"], "File": "x86-tune-sched", "Func": "ia32_multipass_dfa_lookahead", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18206, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_scalar_mode_supported_p", "(", "machine_mode", "mode", ")", "{", "return", "(", "mode", "==", "HFmode", "?", "true", ":", "default_scalar_mode_supported_p", "(", "mode", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SCALAR_MODE_SUPPORTED_P", "-", "return", "TRUE", "if", "MODE", "is", "HFmode", ",", "and", "punt", "to", "the", "generic", "implementation", "otherwise", "."], "TS_V_token": ["aarch64"], "File": "aarch644", "Func": "aarch64_scalar_mode_supported_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18207, "Length": 23, "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", "=", "ABI", ".", "IsN64", "(", ")", "?", "Mips", "::", "GP_64", ":", "Mips", "::", "GP", ";", "EVT", "Ty", "=", "ABI", ".", "IsN64", "(", ")", "?", "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", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "const", "uint32_t", "*", "Mask", "=", "TRI", "->", "getCallPreservedMask", "(", "CLI", ".", "DAG", ".", "getMachineFunction", "(", ")", ",", "CLI", ".", "CallConv", ")", ";", "assert", "(", "Mask", "&&", "\"Missing call preserved mask for calling convention\"", ")", ";", "if", "(", "Subtarget", ".", "inMips16HardFloat", "(", ")", ")", "{", "if", "(", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "CLI", ".", "Callee", ")", ")", "{", "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": "MipsISelLowering (2)4", "Func": "getOpndList", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18208, "Length": 387, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "X86Subtarget", "*", "X86TargetMachine", "::", "getSubtargetImpl", "(", "const", "Function", "&", "F", ")", "const", "{", "Attribute", "CPUAttr", "=", "F", ".", "getFnAttribute", "(", "\"target-cpu\"", ")", ";", "Attribute", "TuneAttr", "=", "F", ".", "getFnAttribute", "(", "\"tune-cpu\"", ")", ";", "Attribute", "FSAttr", "=", "F", ".", "getFnAttribute", "(", "\"target-features\"", ")", ";", "StringRef", "CPU", "=", "CPUAttr", ".", "isValid", "(", ")", "?", "CPUAttr", ".", "getValueAsString", "(", ")", ":", "(", "StringRef", ")", "TargetCPU", ";", "StringRef", "TuneCPU", "=", "TuneAttr", ".", "isValid", "(", ")", "?", "TuneAttr", ".", "getValueAsString", "(", ")", ":", "(", "StringRef", ")", "CPU", ";", "StringRef", "FS", "=", "FSAttr", ".", "isValid", "(", ")", "?", "FSAttr", ".", "getValueAsString", "(", ")", ":", "(", "StringRef", ")", "TargetFS", ";", "SmallString", "<", "512", ">", "Key", ";", "unsigned", "PreferVectorWidthOverride", "=", "0", ";", "Attribute", "PreferVecWidthAttr", "=", "F", ".", "getFnAttribute", "(", "\"prefer-vector-width\"", ")", ";", "if", "(", "PreferVecWidthAttr", ".", "isValid", "(", ")", ")", "{", "StringRef", "Val", "=", "PreferVecWidthAttr", ".", "getValueAsString", "(", ")", ";", "unsigned", "Width", ";", "if", "(", "!", "Val", ".", "getAsInteger", "(", "0", ",", "Width", ")", ")", "{", "Key", "+=", "'p'", ";", "Key", "+=", "Val", ";", "PreferVectorWidthOverride", "=", "Width", ";", "}", "}", "unsigned", "RequiredVectorWidth", "=", "UINT32_MAX", ";", "Attribute", "MinLegalVecWidthAttr", "=", "F", ".", "getFnAttribute", "(", "\"min-legal-vector-width\"", ")", ";", "if", "(", "MinLegalVecWidthAttr", ".", "isValid", "(", ")", ")", "{", "StringRef", "Val", "=", "MinLegalVecWidthAttr", ".", "getValueAsString", "(", ")", ";", "unsigned", "Width", ";", "if", "(", "!", "Val", ".", "getAsInteger", "(", "0", ",", "Width", ")", ")", "{", "Key", "+=", "'m'", ";", "Key", "+=", "Val", ";", "RequiredVectorWidth", "=", "Width", ";", "}", "}", "Key", "+=", "CPU", ";", "Key", "+=", "TuneCPU", ";", "unsigned", "FSStart", "=", "Key", ".", "size", "(", ")", ";", "bool", "SoftFloat", "=", "F", ".", "getFnAttribute", "(", "\"use-soft-float\"", ")", ".", "getValueAsBool", "(", ")", ";", "if", "(", "SoftFloat", ")", "Key", "+=", "FS", ".", "empty", "(", ")", "?", "\"+soft-float\"", ":", "\"+soft-float,\"", ";", "Key", "+=", "FS", ";", "FS", "=", "Key", ".", "substr", "(", "FSStart", ")", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "Key", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "std", "::", "make_unique", "<", "X86Subtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "TuneCPU", ",", "FS", ",", "*", "this", ",", "MaybeAlign", "(", "F", ".", "getParent", "(", ")", "->", "getOverrideStackAlignment", "(", ")", ")", ",", "PreferVectorWidthOverride", ",", "RequiredVectorWidth", ")", ";", "}", "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\"", "\"tune-cpu\"", "\"target-features\"", "512", "0", "\"prefer-vector-width\"", "0", "\"min-legal-vector-width\"", "0", "\"use-soft-float\"", "\"+soft-float\"", "\"+soft-float,\"", "X86"], "File": "X86TargetMachine114", "Func": "getSubtargetImpl", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18209, "Length": 363, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "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": ["AArch64"], "File": "AArch64LoadStoreOptimizer3", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18210, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_expand_ext_as_unaligned_load", "(", "rtx", "dest", ",", "rtx", "src", ",", "HOST_WIDE_INT", "width", ",", "HOST_WIDE_INT", "bitpos", ",", "bool", "unsigned_p", ")", "{", "rtx", "left", ",", "right", ",", "temp", ";", "rtx", "dest1", "=", "NULL_RTX", ";", "if", "(", "GET_MODE", "(", "dest", ")", "==", "DImode", "&&", "(", "REG_P", "(", "dest", ")", "||", "(", "SUBREG_P", "(", "dest", ")", "&&", "!", "MEM_P", "(", "SUBREG_REG", "(", "dest", ")", ")", ")", ")", "&&", "GET_MODE_BITSIZE", "(", "SImode", ")", "==", "width", ")", "{", "dest1", "=", "dest", ";", "dest", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "}", "if", "(", "!", "mips_get_unaligned_mem", "(", "src", ",", "width", ",", "bitpos", ",", "&", "left", ",", "&", "right", ")", ")", "return", "false", ";", "temp", "=", "gen_reg_rtx", "(", "GET_MODE", "(", "dest", ")", ")", ";", "if", "(", "GET_MODE", "(", "dest", ")", "==", "DImode", ")", "{", "emit_insn", "(", "gen_mov_ldl", "(", "temp", ",", "src", ",", "left", ")", ")", ";", "emit_insn", "(", "gen_mov_ldr", "(", "dest", ",", "copy_rtx", "(", "src", ")", ",", "right", ",", "temp", ")", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_mov_lwl", "(", "temp", ",", "src", ",", "left", ")", ")", ";", "emit_insn", "(", "gen_mov_lwr", "(", "dest", ",", "copy_rtx", "(", "src", ")", ",", "right", ",", "temp", ")", ")", ";", "}", "if", "(", "dest1", ")", "{", "if", "(", "unsigned_p", ")", "emit_insn", "(", "gen_zero_extendsidi2", "(", "dest1", ",", "dest", ")", ")", ";", "else", "emit_insn", "(", "gen_extendsidi2", "(", "dest1", ",", "dest", ")", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Try", "to", "use", "left/right", "loads", "to", "expand", "an", "``", "extv", "''", "or", "``", "extzv", "''", "pattern", ".", "DEST", ",", "SRC", ",", "WIDTH", "and", "BITPOS", "are", "the", "operands", "passed", "to", "the", "expander", ";", "the", "operation", "is", "the", "equivalent", "of", ":", "(", "set", "DEST", "(", "*", "_extract", "SRC", "WIDTH", "BITPOS", ")", ")", "Return", "true", "on", "success", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_expand_ext_as_unaligned_load", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18211, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PPCTargetLowering", "::", "ConstraintType", "PPCTargetLowering", "::", "getConstraintType", "(", "const", "std", "::", "string", "&", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'b'", ":", "case", "'r'", ":", "case", "'f'", ":", "case", "'v'", ":", "case", "'y'", ":", "return", "C_RegisterClass", ";", "case", "'Z'", ":", "return", "C_Memory", ";", "}", "}", "else", "if", "(", "Constraint", "==", "\"wc\"", ")", "{", "return", "C_RegisterClass", ";", "}", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "1", "0", "\"wc\""], "File": "PPCISelLowering (2)", "Func": "getConstraintType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18212, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "enablePostRAScheduler", "(", ")", "const", "override", "{", "return", "UsePostRAScheduler", ";", "}", ""], "natrual_language": ["True", "if", "the", "subtarget", "should", "run", "a", "scheduler", "after", "register", "allocation", "."], "TS_V_token": ["AArch64"], "File": "AArch64Subtarget (2)1", "Func": "enablePostRAScheduler", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18213, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FastISel", "*", "X86TargetLowering", "::", "createFastISel", "(", "MachineFunction", "&", "mf", ",", "MachineModuleInfo", "*", "mmo", ",", "DwarfWriter", "*", "dw", ",", "DenseMap", "<", "const", "Value", "*", ",", "unsigned", ">", "&", "vm", ",", "DenseMap", "<", "const", "BasicBlock", "*", ",", "MachineBasicBlock", "*", ">", "&", "bm", ",", "DenseMap", "<", "const", "AllocaInst", "*", ",", "int", ">", "&", "am", ",", "SmallSet", "<", "Instruction", "*", ",", "8", ">", "&", "cil", ")", "{", "return", "X86", "::", "createFastISel", "(", "mf", ",", "mmo", ",", "dw", ",", "vm", ",", "bm", ",", "am", ",", "cil", ")", ";", "}", ""], "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", "8", "X86::createFastISel"], "File": "X86ISelLowering144", "Func": "createFastISel", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18214, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "MachineInstr", "*", "getDef", "(", "unsigned", "Reg", ",", "const", "MachineRegisterInfo", "*", "MRI", ")", "{", "if", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "Reg", ")", ")", "return", "0", ";", "return", "MRI", "->", "getUniqueVRegDef", "(", "Reg", ")", ";", "}", ""], "natrual_language": ["Get", "the", "concrete", "record", "with", "the", "specified", "name", "."], "TS_V_token": ["SystemZ", "0"], "File": "SystemZInstrInfo11", "Func": "getDef", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18215, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "VERegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["VE", "VE"], "File": "VESubtarget", "Func": "getRegisterInfo", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18216, "Length": 18, "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": 18217, "Length": 312, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMAsmBackend", "::", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCInst", "&", "Res", ")", "const", "{", "unsigned", "RelaxedOp", "=", "getRelaxedOpcode", "(", "Inst", ".", "getOpcode", "(", ")", ")", ";", "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", "(", ")", ")", ";", "}", "if", "(", "(", "Inst", ".", "getOpcode", "(", ")", "==", "ARM", "::", "tCBZ", "||", "Inst", ".", "getOpcode", "(", ")", "==", "ARM", "::", "tCBNZ", ")", "&&", "RelaxedOp", "==", "ARM", "::", "tHINT", ")", "{", "Res", ".", "setOpcode", "(", "RelaxedOp", ")", ";", "Res", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "0", ")", ")", ";", "Res", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "14", ")", ")", ";", "Res", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "0", ")", ")", ";", "return", ";", "}", "Res", "=", "Inst", ";", "Res", ".", "setOpcode", "(", "RelaxedOp", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["ARM", "ARM", "256", "\"\\n\"", "\"unexpected instruction to relax: \"", "ARM::tCBZ", "ARM::tCBNZ", "ARM::tHINT", "0", "14", "0"], "File": "ARMAsmBackend11", "Func": "relaxInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18218, "Length": 168, "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": 18219, "Length": 275, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "PPCRegisterInfo", "::", "getPointerRegClass", "(", "unsigned", "Kind", ")", "const", "{", "if", "(", "Subtarget", ".", "isPPC64", "(", ")", ")", "return", "&", "PPC", "::", "G8RCRegClass", ";", "return", "&", "PPC", "::", "GPRCRegClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::G8RCRegClass", "PPC::GPRCRegClass"], "File": "PPCRegisterInfo21", "Func": "getPointerRegClass", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18220, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_jump_label_table", "(", "void", ")", "{", "if", "(", "pool_size", ")", "{", "fprintf", "(", "asm_out_file", ",", "\"\\t.align 2\\n\"", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "pool_size", ";", "i", "++", ")", "{", "pool_node", "*", "p", "=", "&", "pool_vector", "[", "i", "]", ";", "(", "*", "targetm", ".", "asm_out", ".", "internal_label", ")", "(", "asm_out_file", ",", "\"L\"", ",", "CODE_LABEL_NUMBER", "(", "p", "->", "label", ")", ")", ";", "output_asm_insn", "(", "\".long\t%O0\"", ",", "&", "p", "->", "value", ")", ";", "}", "pool_size", "=", "0", ";", "}", "return", "\"\"", ";", "}", ""], "natrual_language": ["Dump", "out", "any", "constants", "accumulated", "in", "the", "final", "pass", ".", "These", "will", "only", "be", "labels", "."], "TS_V_token": ["sh", "\"\\t.align 2\\n\"", "0", "\"L\"", "\".long\t%O0\"", "0", "\"\""], "File": "sh", "Func": "output_jump_label_table", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18221, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasMFence", "(", ")", "const", "{", "return", "hasSSE2", "(", ")", "||", "is64Bit", "(", ")", ";", "}", ""], "natrual_language": ["Use", "mfence", "if", "we", "have", "SSE2", "or", "we", "'re", "on", "x86-64", "(", "even", "if", "we", "asked", "for", "no-sse2", ")", "."], "TS_V_token": ["X86"], "File": "X86Subtarget (2)2", "Func": "hasMFence", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18222, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "align_ok_ldrd_strd", "(", "HOST_WIDE_INT", "align", ",", "HOST_WIDE_INT", "offset", ")", "{", "return", "(", "unaligned_access", "?", "(", "align", ">=", "BITS_PER_WORD", "&&", "(", "offset", "&", "3", ")", "==", "0", ")", ":", "(", "align", ">=", "2", "*", "BITS_PER_WORD", "&&", "(", "offset", "&", "7", ")", "==", "0", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "64-bit", "access", "with", "alignment", "ALIGN", "and", "with", "a", "constant", "offset", "OFFSET", "from", "the", "base", "pointer", "is", "permitted", "on", "this", "architecture", "."], "TS_V_token": ["arm", "3", "0", "2", "7", "0"], "File": "arm", "Func": "align_ok_ldrd_strd", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18223, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb1InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "bool", "tDest", "=", "ARM", "::", "tGPRRegClass", ".", "contains", "(", "DestReg", ")", ";", "bool", "tSrc", "=", "ARM", "::", "tGPRRegClass", ".", "contains", "(", "SrcReg", ")", ";", "unsigned", "Opc", "=", "ARM", "::", "tMOVgpr2gpr", ";", "if", "(", "tDest", "&&", "tSrc", ")", "Opc", "=", "ARM", "::", "tMOVr", ";", "else", "if", "(", "tSrc", ")", "Opc", "=", "ARM", "::", "tMOVtgpr2gpr", ";", "else", "if", "(", "tDest", ")", "Opc", "=", "ARM", "::", "tMOVgpr2tgpr", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "assert", "(", "ARM", "::", "GPRRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", "&&", "\"Thumb1 can only copy GPR registers\"", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["ARM", "ARM::tGPRRegClass", "ARM::tGPRRegClass", "ARM::tMOVgpr2gpr", "ARM::tMOVr", "ARM::tMOVtgpr2gpr", "ARM::tMOVgpr2tgpr", "ARM::GPRRegClass", "\"Thumb1 can only copy GPR registers\""], "File": "Thumb1InstrInfo11", "Func": "copyPhysReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18224, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMAsmPrinter", "::", "emitInlineAsmEnd", "(", "const", "MCSubtargetInfo", "&", "StartInfo", ",", "const", "MCSubtargetInfo", "*", "EndInfo", ")", "const", "{", "const", "bool", "WasThumb", "=", "isThumb", "(", "StartInfo", ")", ";", "if", "(", "EndInfo", "==", "NULL", "||", "WasThumb", "!=", "isThumb", "(", "*", "EndInfo", ")", ")", "{", "OutStreamer", ".", "EmitAssemblerFlag", "(", "WasThumb", "?", "MCAF_Code16", ":", "MCAF_Code32", ")", ";", "}", "}", ""], "natrual_language": ["Let", "the", "target", "do", "anything", "it", "needs", "to", "do", "after", "emitting", "inlineasm", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMAsmPrinter33", "Func": "emitInlineAsmEnd", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18225, "Length": 54, "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": 18226, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARM64InstrInfo", "::", "suppressLdStPair", "(", "MachineInstr", "*", "MI", ")", "const", "{", "if", "(", "MI", "->", "memoperands_empty", "(", ")", ")", "return", ";", "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": ["ARM64", "ARM64", "1", "\"Too many target MO flags\""], "File": "ARM64InstrInfo", "Func": "suppressLdStPair", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18227, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "xstormy16_asm_out_destructor", "(", "rtx", "symbol", ",", "int", "priority", ")", "{", "const", "char", "*", "section", "=", "\".dtors\"", ";", "char", "buf", "[", "16", "]", ";", "if", "(", "priority", "!=", "DEFAULT_INIT_PRIORITY", ")", "{", "sprintf", "(", "buf", ",", "\".dtors.%.5u\"", ",", "MAX_INIT_PRIORITY", "-", "priority", ")", ";", "section", "=", "buf", ";", "}", "switch_to_section", "(", "get_section", "(", "section", ",", "0", ",", "NULL", ")", ")", ";", "assemble_align", "(", "POINTER_SIZE", ")", ";", "assemble_integer", "(", "symbol", ",", "POINTER_SIZE", "/", "BITS_PER_UNIT", ",", "POINTER_SIZE", ",", "1", ")", ";", "}", ""], "natrual_language": ["Output", "constructors", "and", "destructors", ".", "Just", "like", "default_named_section_asm_out_", "*", "but", "do", "n't", "set", "the", "sections", "writable", "."], "TS_V_token": ["stormy16", "\".dtors\"", "16", "\".dtors.%.5u\"", "0", "1"], "File": "stormy164", "Func": "xstormy16_asm_out_destructor", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18228, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "add", "(", "MachineInstr", "*", "MI", ",", "unsigned", "Idx", ",", "Color", "C", ")", "{", "LastInst", "=", "MI", ";", "LastInstIdx", "=", "Idx", ";", "LastColor", "=", "C", ";", "assert", "(", "(", "KillInstIdx", "==", "0", "||", "LastInstIdx", "<", "KillInstIdx", ")", "&&", "\"Chain: broken invariant. A Chain can only be killed after its last \"", "\"def\"", ")", ";", "Insts", ".", "insert", "(", "MI", ")", ";", "}", ""], "natrual_language": ["Add", "a", "string", "to", "the", "builder", "."], "TS_V_token": ["AArch64", "0", "\"Chain: broken invariant. A Chain can only be killed after its last \"", "\"def\""], "File": "AArch64A57FPLoadBalancing", "Func": "add", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18229, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_le_vsx_load", "(", "rtx", "dest", ",", "rtx", "source", ",", "machine_mode", "mode", ")", "{", "rtx", "tmp", ",", "permute_mem", ",", "permute_reg", ";", "if", "(", "mode", "==", "TImode", "||", "mode", "==", "V1TImode", ")", "{", "mode", "=", "V2DImode", ";", "dest", "=", "gen_lowpart", "(", "V2DImode", ",", "dest", ")", ";", "source", "=", "adjust_address", "(", "source", ",", "V2DImode", ",", "0", ")", ";", "}", "tmp", "=", "can_create_pseudo_p", "(", ")", "?", "gen_reg_rtx_and_attrs", "(", "dest", ")", ":", "dest", ";", "permute_mem", "=", "rs6000_gen_le_vsx_permute", "(", "source", ",", "mode", ")", ";", "permute_reg", "=", "rs6000_gen_le_vsx_permute", "(", "tmp", ",", "mode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "tmp", ",", "permute_mem", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "permute_reg", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "little-endian", "load", "from", "vector", "memory", "location", "SOURCE", "to", "VSX", "register", "DEST", "in", "mode", "MODE", ".", "The", "load", "is", "done", "with", "two", "permuting", "insn", "'s", "that", "represent", "an", "lxvd2x", "and", "xxpermdi", "."], "TS_V_token": ["rs6000", "0"], "File": "rs60004", "Func": "rs6000_emit_le_vsx_load", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18230, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmPrinter", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "bool", "Result", "=", "AsmPrinter", "::", "doInitialization", "(", "M", ")", ";", "MMI", "=", "getAnalysisIfAvailable", "<", "MachineModuleInfo", ">", "(", ")", ";", "assert", "(", "MMI", ")", ";", "DW", "=", "getAnalysisIfAvailable", "<", "DwarfWriter", ">", "(", ")", ";", "assert", "(", "DW", "&&", "\"Dwarf Writer is not available\"", ")", ";", "DW", "->", "BeginModule", "(", "&", "M", ",", "MMI", ",", "O", ",", "this", ",", "TAI", ")", ";", "if", "(", "Subtarget", "->", "isTargetDarwin", "(", ")", ")", "Mang", "->", "setUseQuotes", "(", "true", ")", ";", "if", "(", "Subtarget", "->", "isTargetELF", "(", ")", ")", "{", "std", "::", "string", "CPUString", "=", "Subtarget", "->", "getCPUString", "(", ")", ";", "if", "(", "CPUString", "!=", "\"generic\"", ")", "O", "<<", "\"\\t.cpu \"", "<<", "CPUString", "<<", "'\\n'", ";", "if", "(", "Subtarget", "->", "hasVFP2", "(", ")", ")", "O", "<<", "\"\\t.eabi_attribute \"", "<<", "ARMBuildAttrs", "::", "VFP_arch", "<<", "\", 2\\n\"", ";", "if", "(", "!", "UnsafeFPMath", ")", "O", "<<", "\"\\t.eabi_attribute \"", "<<", "ARMBuildAttrs", "::", "ABI_FP_denormal", "<<", "\", 1\\n\"", "<<", "\"\\t.eabi_attribute \"", "<<", "ARMBuildAttrs", "::", "ABI_FP_exceptions", "<<", "\", 1\\n\"", ";", "if", "(", "FiniteOnlyFPMath", "(", ")", ")", "O", "<<", "\"\\t.eabi_attribute \"", "<<", "ARMBuildAttrs", "::", "ABI_FP_number_model", "<<", "\", 1\\n\"", ";", "else", "O", "<<", "\"\\t.eabi_attribute \"", "<<", "ARMBuildAttrs", "::", "ABI_FP_number_model", "<<", "\", 3\\n\"", ";", "O", "<<", "\"\\t.eabi_attribute \"", "<<", "ARMBuildAttrs", "::", "ABI_align8_needed", "<<", "\", 1\\n\"", "<<", "\"\\t.eabi_attribute \"", "<<", "ARMBuildAttrs", "::", "ABI_align8_preserved", "<<", "\", 1\\n\"", ";", "}", "return", "Result", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["ARM", "ARM", "\"Dwarf Writer is not available\"", "\"generic\"", "\"\\t.cpu \"", "\"\\t.eabi_attribute \"", "ARMBuildAttrs::VFP_arch", "\", 2\\n\"", "\"\\t.eabi_attribute \"", "ARMBuildAttrs::ABI_FP_denormal", "\", 1\\n\"", "\"\\t.eabi_attribute \"", "ARMBuildAttrs::ABI_FP_exceptions", "\", 1\\n\"", "\"\\t.eabi_attribute \"", "ARMBuildAttrs::ABI_FP_number_model", "\", 1\\n\"", "\"\\t.eabi_attribute \"", "ARMBuildAttrs::ABI_FP_number_model", "\", 3\\n\"", "\"\\t.eabi_attribute \"", "ARMBuildAttrs::ABI_align8_needed", "\", 1\\n\"", "\"\\t.eabi_attribute \"", "ARMBuildAttrs::ABI_align8_preserved", "\", 1\\n\""], "File": "ARMAsmPrinter31", "Func": "doInitialization", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18231, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "predict_jump", "(", "int", "prob", ")", "{", "rtx", "insn", "=", "get_last_insn", "(", ")", ";", "gcc_assert", "(", "JUMP_P", "(", "insn", ")", ")", ";", "add_int_reg_note", "(", "insn", ",", "REG_BR_PROB", ",", "prob", ")", ";", "}", ""], "natrual_language": ["Predict", "just", "emitted", "jump", "instruction", "to", "be", "taken", "with", "probability", "PROB", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "predict_jump", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18232, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"StackPU2 Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["StackPU2", "\"StackPU2 Assembly Printer\""], "File": "StackPU2AsmPrinter", "Func": "getPassName", "Target": "StackPU2", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18233, "Length": 11, "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": 18234, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "BuildSDIVPow2", "(", "SDNode", "*", "N", ",", "const", "APInt", "&", "Divisor", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDNode", "*", ">", "&", "Created", ")", "const", "{", "AttributeList", "Attr", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFunction", "(", ")", ".", "getAttributes", "(", ")", ";", "if", "(", "isIntDivCheap", "(", "N", "->", "getValueType", "(", "0", ")", ",", "Attr", ")", ")", "return", "SDValue", "(", "N", ",", "0", ")", ";", "EVT", "VT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "if", "(", "VT", ".", "isScalableVector", "(", ")", "||", "Subtarget", "->", "useSVEForFixedLengthVectors", "(", ")", ")", "return", "SDValue", "(", "N", ",", "0", ")", ";", "if", "(", "(", "VT", "!=", "MVT", "::", "i32", "&&", "VT", "!=", "MVT", "::", "i64", ")", "||", "!", "(", "Divisor", ".", "isPowerOf2", "(", ")", "||", "Divisor", ".", "isNegatedPowerOf2", "(", ")", ")", ")", "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", ")", ";", "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", ";", "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", "0", "MVT::i32", "MVT::i64", "0", "0", "1ULL", "1", "AArch64", "ISD::SETLT", "ISD::ADD", "AArch64ISD::CSEL", "ISD::SRA", "MVT::i64", "ISD::SUB", "0"], "File": "AArch64ISelLowering168", "Func": "BuildSDIVPow2", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18235, "Length": 375, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "x86_this_parameter", "(", "tree", "function", ")", "{", "tree", "type", "=", "TREE_TYPE", "(", "function", ")", ";", "bool", "aggr", "=", "aggregate_value_p", "(", "TREE_TYPE", "(", "type", ")", ",", "type", ")", "!=", "0", ";", "int", "nregs", ";", "if", "(", "TARGET_64BIT", ")", "{", "const", "int", "*", "parm_regs", ";", "if", "(", "ix86_function_type_abi", "(", "type", ")", "==", "MS_ABI", ")", "parm_regs", "=", "x86_64_ms_abi_int_parameter_registers", ";", "else", "parm_regs", "=", "x86_64_int_parameter_registers", ";", "return", "gen_rtx_REG", "(", "Pmode", ",", "parm_regs", "[", "aggr", "]", ")", ";", "}", "nregs", "=", "ix86_function_regparm", "(", "type", ",", "function", ")", ";", "if", "(", "nregs", ">", "0", "&&", "!", "stdarg_p", "(", "type", ")", ")", "{", "int", "regno", ";", "unsigned", "int", "ccvt", "=", "ix86_get_callcvt", "(", "type", ")", ";", "if", "(", "(", "ccvt", "&", "IX86_CALLCVT_FASTCALL", ")", "!=", "0", ")", "regno", "=", "aggr", "?", "DX_REG", ":", "CX_REG", ";", "else", "if", "(", "(", "ccvt", "&", "IX86_CALLCVT_THISCALL", ")", "!=", "0", ")", "{", "regno", "=", "CX_REG", ";", "if", "(", "aggr", ")", "return", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "4", ")", ")", ";", "}", "else", "{", "regno", "=", "AX_REG", ";", "if", "(", "aggr", ")", "{", "regno", "=", "DX_REG", ";", "if", "(", "nregs", "==", "1", ")", "return", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "4", ")", ")", ";", "}", "}", "return", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ";", "}", "return", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "aggr", "?", "8", ":", "4", ")", ")", ";", "}", ""], "natrual_language": ["Returns", "an", "expression", "indicating", "where", "the", "this", "parameter", "is", "located", "on", "entry", "to", "the", "FUNCTION", "."], "TS_V_token": ["i386", "0", "0", "0", "0", "4", "1", "4", "8", "4"], "File": "i386", "Func": "x86_this_parameter", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18236, "Length": 229, "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": 18237, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "getName", "(", ")", "{", "return", "DEBUG_TYPE", ";", "}", ""], "natrual_language": ["Return", "a", "string", "with", "the", "name", "of", "the", "plan", "and", "the", "applicable", "VFs", "and", "UFs", "."], "TS_V_token": ["Mips"], "File": "MipsInstructionSelector", "Func": "getName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18238, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "processInstruction", "(", "MCInst", "&", "Inst", ",", "SMLoc", "IDLoc", ",", "SmallVectorImpl", "<", "MCInst", ">", "&", "Instructions", ")", "{", "const", "MCInstrDesc", "&", "MCID", "=", "getInstDesc", "(", "Inst", ".", "getOpcode", "(", ")", ")", ";", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "if", "(", "MCID", ".", "hasDelaySlot", "(", ")", "&&", "Options", ".", "isReorder", "(", ")", ")", "{", "Instructions", ".", "push_back", "(", "Inst", ")", ";", "MCInst", "NopInst", ";", "NopInst", ".", "setOpcode", "(", "Mips", "::", "SLL", ")", ";", "NopInst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "Mips", "::", "ZERO", ")", ")", ";", "NopInst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "Mips", "::", "ZERO", ")", ")", ";", "NopInst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "0", ")", ")", ";", "Instructions", ".", "push_back", "(", "NopInst", ")", ";", "return", "false", ";", "}", "if", "(", "MCID", ".", "mayLoad", "(", ")", "||", "MCID", ".", "mayStore", "(", ")", ")", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "MCID", ".", "getNumOperands", "(", ")", ";", "i", "++", ")", "{", "const", "MCOperandInfo", "&", "OpInfo", "=", "MCID", ".", "OpInfo", "[", "i", "]", ";", "if", "(", "(", "OpInfo", ".", "OperandType", "==", "MCOI", "::", "OPERAND_MEMORY", ")", "||", "(", "OpInfo", ".", "OperandType", "==", "MCOI", "::", "OPERAND_UNKNOWN", ")", ")", "{", "MCOperand", "&", "Op", "=", "Inst", ".", "getOperand", "(", "i", ")", ";", "if", "(", "Op", ".", "isImm", "(", ")", ")", "{", "int", "MemOffset", "=", "Op", ".", "getImm", "(", ")", ";", "if", "(", "MemOffset", "<", "-", "32768", "||", "MemOffset", ">", "32767", ")", "{", "expandMemInst", "(", "Inst", ",", "IDLoc", ",", "Instructions", ",", "MCID", ".", "mayLoad", "(", ")", ",", "true", ")", ";", "return", "false", ";", "}", "}", "else", "if", "(", "Op", ".", "isExpr", "(", ")", ")", "{", "const", "MCExpr", "*", "Expr", "=", "Op", ".", "getExpr", "(", ")", ";", "if", "(", "Expr", "->", "getKind", "(", ")", "==", "MCExpr", "::", "SymbolRef", ")", "{", "const", "MCSymbolRefExpr", "*", "SR", "=", "static_cast", "<", "const", "MCSymbolRefExpr", "*", ">", "(", "Expr", ")", ";", "if", "(", "SR", "->", "getKind", "(", ")", "==", "MCSymbolRefExpr", "::", "VK_None", ")", "{", "expandMemInst", "(", "Inst", ",", "IDLoc", ",", "Instructions", ",", "MCID", ".", "mayLoad", "(", ")", ",", "false", ")", ";", "return", "false", ";", "}", "}", "else", "if", "(", "!", "isEvaluated", "(", "Expr", ")", ")", "{", "expandMemInst", "(", "Inst", ",", "IDLoc", ",", "Instructions", ",", "MCID", ".", "mayLoad", "(", ")", ",", "false", ")", ";", "return", "false", ";", "}", "}", "}", "}", "}", "if", "(", "needsExpansion", "(", "Inst", ")", ")", "expandInstruction", "(", "Inst", ",", "IDLoc", ",", "Instructions", ")", ";", "else", "Instructions", ".", "push_back", "(", "Inst", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Process", "a", "single", "instruction", "and", "collect", "debug", "info", "anchors", "."], "TS_V_token": ["Mips", "Mips", "Mips::SLL", "Mips::ZERO", "Mips::ZERO", "0", "0", "32768", "32767"], "File": "MipsAsmParser64", "Func": "processInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18239, "Length": 405, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "power10_sched_reorder", "(", "rtx_insn", "*", "*", "ready", ",", "int", "lastpos", ")", "{", "rtx", "mem1", ";", "if", "(", "!", "reload_completed", ")", "return", "cached_can_issue_more", ";", "if", "(", "load_store_pendulum", "!=", "0", ")", "{", "load_store_pendulum", "=", "0", ";", "return", "cached_can_issue_more", ";", "}", "if", "(", "TARGET_P10_FUSION", "&&", "is_fusable_store", "(", "last_scheduled_insn", ",", "&", "mem1", ")", ")", "{", "int", "pos", "=", "lastpos", ";", "while", "(", "pos", ">=", "0", ")", "{", "rtx", "mem2", ";", "if", "(", "is_fusable_store", "(", "ready", "[", "pos", "]", ",", "&", "mem2", ")", "&&", "(", "(", "INTEGRAL_MODE_P", "(", "GET_MODE", "(", "mem1", ")", ")", "&&", "adjacent_mem_locations", "(", "mem1", ",", "mem2", ")", ")", "||", "(", "FLOAT_MODE_P", "(", "GET_MODE", "(", "mem1", ")", ")", "&&", "(", "adjacent_mem_locations", "(", "mem1", ",", "mem2", ")", "==", "mem1", ")", ")", ")", ")", "{", "move_to_end_of_ready", "(", "ready", ",", "pos", ",", "lastpos", ")", ";", "load_store_pendulum", "=", "-", "1", ";", "break", ";", "}", "pos", "--", ";", "}", "}", "return", "cached_can_issue_more", ";", "}", ""], "natrual_language": ["Do", "Power10", "specific", "reordering", "of", "the", "ready", "list", "."], "TS_V_token": ["rs6000", "0", "0", "0", "1"], "File": "rs6000", "Func": "power10_sched_reorder", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18240, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_xcoff_select_rtx_section", "(", "enum", "machine_mode", "mode", ",", "rtx", "x", ",", "unsigned", "HOST_WIDE_INT", "align", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "ASM_OUTPUT_SPECIAL_POOL_ENTRY_P", "(", "x", ",", "mode", ")", ")", "toc_section", "(", ")", ";", "else", "read_only_private_data_section", "(", ")", ";", "}", ""], "natrual_language": ["Select", "section", "for", "constant", "in", "constant", "pool", ".", "On", "RS/6000", ",", "all", "constants", "are", "in", "the", "private", "read-only", "data", "area", ".", "However", ",", "if", "this", "is", "being", "placed", "in", "the", "TOC", "it", "must", "be", "output", "as", "a", "toc", "entry", "."], "TS_V_token": ["rs6000"], "File": "rs60003", "Func": "rs6000_xcoff_select_rtx_section", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18241, "Length": 36, "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": 18242, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86FrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "FrameReg", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "if", "(", "TRI", "->", "hasBasePointer", "(", "MF", ")", ")", "FrameReg", "=", "TRI", "->", "getBaseRegister", "(", ")", ";", "else", "if", "(", "TRI", "->", "needsStackRealignment", "(", "MF", ")", ")", "FrameReg", "=", "TRI", "->", "getStackRegister", "(", ")", ";", "else", "FrameReg", "=", "TRI", "->", "getFrameRegister", "(", "MF", ")", ";", "int", "Offset", "=", "MFI", ".", "getObjectOffset", "(", "FI", ")", "-", "getOffsetOfLocalArea", "(", ")", ";", "const", "X86MachineFunctionInfo", "*", "X86FI", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "unsigned", "CSSize", "=", "X86FI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "bool", "HasFP", "=", "hasFP", "(", "MF", ")", ";", "bool", "IsWin64Prologue", "=", "MF", ".", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", "->", "usesWindowsCFI", "(", ")", ";", "int64_t", "FPDelta", "=", "0", ";", "if", "(", "IsWin64Prologue", ")", "{", "assert", "(", "!", "MFI", ".", "hasCalls", "(", ")", "||", "(", "StackSize", "%", "16", ")", "==", "8", ")", ";", "uint64_t", "FrameSize", "=", "StackSize", "-", "SlotSize", ";", "if", "(", "X86FI", "->", "getRestoreBasePointer", "(", ")", ")", "FrameSize", "+=", "SlotSize", ";", "uint64_t", "NumBytes", "=", "FrameSize", "-", "CSSize", ";", "uint64_t", "SEHFrameOffset", "=", "calculateSetFPREG", "(", "NumBytes", ")", ";", "if", "(", "FI", "&&", "FI", "==", "X86FI", "->", "getFAIndex", "(", ")", ")", "return", "-", "SEHFrameOffset", ";", "FPDelta", "=", "FrameSize", "-", "SEHFrameOffset", ";", "assert", "(", "(", "!", "MFI", ".", "hasCalls", "(", ")", "||", "(", "FPDelta", "%", "16", ")", "==", "0", ")", "&&", "\"FPDelta isn't aligned per the Win64 ABI!\"", ")", ";", "}", "if", "(", "TRI", "->", "hasBasePointer", "(", "MF", ")", ")", "{", "assert", "(", "HasFP", "&&", "\"VLAs and dynamic stack realign, but no FP?!\"", ")", ";", "if", "(", "FI", "<", "0", ")", "{", "return", "Offset", "+", "SlotSize", "+", "FPDelta", ";", "}", "else", "{", "assert", "(", "(", "-", "(", "Offset", "+", "StackSize", ")", ")", "%", "MFI", ".", "getObjectAlignment", "(", "FI", ")", "==", "0", ")", ";", "return", "Offset", "+", "StackSize", ";", "}", "}", "else", "if", "(", "TRI", "->", "needsStackRealignment", "(", "MF", ")", ")", "{", "if", "(", "FI", "<", "0", ")", "{", "return", "Offset", "+", "SlotSize", "+", "FPDelta", ";", "}", "else", "{", "assert", "(", "(", "-", "(", "Offset", "+", "StackSize", ")", ")", "%", "MFI", ".", "getObjectAlignment", "(", "FI", ")", "==", "0", ")", ";", "return", "Offset", "+", "StackSize", ";", "}", "}", "else", "{", "if", "(", "!", "HasFP", ")", "return", "Offset", "+", "StackSize", ";", "Offset", "+=", "SlotSize", ";", "int", "TailCallReturnAddrDelta", "=", "X86FI", "->", "getTCReturnAddrDelta", "(", ")", ";", "if", "(", "TailCallReturnAddrDelta", "<", "0", ")", "Offset", "-=", "TailCallReturnAddrDelta", ";", "}", "return", "Offset", "+", "FPDelta", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86", "0", "16", "8", "X86", "X86", "16", "0", "\"FPDelta isn't aligned per the Win64 ABI!\"", "\"VLAs and dynamic stack realign, but no FP?!\"", "0", "0", "0", "0", "X86", "0"], "File": "X86FrameLowering102", "Func": "getFrameIndexReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18243, "Length": 413, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "X86TargetLowering", "::", "getRegisterTypeForCallingConv", "(", "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", "RegisterVT", ";", "}", "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": ["X86", "X86", "MVT::i1", "MVT::INVALID_SIMPLE_VALUE_TYPE"], "File": "X86ISelLowering101", "Func": "getRegisterTypeForCallingConv", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18244, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "vfp_output_vstmd", "(", "rtx", "*", "operands", ")", "{", "char", "pattern", "[", "100", "]", ";", "int", "p", ";", "int", "base", ";", "int", "i", ";", "rtx", "addr_reg", "=", "REG_P", "(", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ")", "?", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ":", "XEXP", "(", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ",", "0", ")", ";", "bool", "push_p", "=", "REGNO", "(", "addr_reg", ")", "==", "SP_REGNUM", ";", "if", "(", "push_p", ")", "strcpy", "(", "pattern", ",", "\"vpush%?.64\\t{%P1\"", ")", ";", "else", "strcpy", "(", "pattern", ",", "\"vstmdb%?.64\\t%m0!, {%P1\"", ")", ";", "p", "=", "strlen", "(", "pattern", ")", ";", "gcc_assert", "(", "REG_P", "(", "operands", "[", "1", "]", ")", ")", ";", "base", "=", "(", "REGNO", "(", "operands", "[", "1", "]", ")", "-", "FIRST_VFP_REGNUM", ")", "/", "2", ";", "for", "(", "i", "=", "1", ";", "i", "<", "XVECLEN", "(", "operands", "[", "2", "]", ",", "0", ")", ";", "i", "++", ")", "{", "p", "+=", "sprintf", "(", "&", "pattern", "[", "p", "]", ",", "\", d%d\"", ",", "base", "+", "i", ")", ";", "}", "strcpy", "(", "&", "pattern", "[", "p", "]", ",", "\"}\"", ")", ";", "output_asm_insn", "(", "pattern", ",", "operands", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "the", "assembly", "for", "a", "store", "multiple", "."], "TS_V_token": ["arm", "100", "0", "0", "0", "0", "0", "0", "0", "\"vpush%?.64\\t{%P1\"", "\"vstmdb%?.64\\t%m0!, {%P1\"", "1", "1", "2", "1", "2", "0", "\", d%d\"", "\"}\"", "\"\""], "File": "arm", "Func": "vfp_output_vstmd", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18245, "Length": 191, "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": 18246, "Length": 367, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "fldi_ok", "(", ")", "{", "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": "sh2", "Func": "fldi_ok", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18247, "Length": 14, "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": ["Mips"], "File": "MipsRegisterBankInfo10", "Func": "changingInstr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18248, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "uses_TOC", "(", "void", ")", "{", "rtx", "insn", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "if", "(", "INSN_P", "(", "insn", ")", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "int", "i", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", ")", "for", "(", "i", "=", "0", ";", "i", "<", "XVECLEN", "(", "pat", ",", "0", ")", ";", "i", "++", ")", "{", "rtx", "sub", "=", "XVECEXP", "(", "pat", ",", "0", ",", "i", ")", ";", "if", "(", "GET_CODE", "(", "sub", ")", "==", "USE", ")", "{", "sub", "=", "XEXP", "(", "sub", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "sub", ")", "==", "UNSPEC", "&&", "XINT", "(", "sub", ",", "1", ")", "==", "UNSPEC_TOC", ")", "return", "1", ";", "}", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["This", "retuns", "nonzero", "if", "the", "current", "function", "uses", "the", "TOC", ".", "This", "is", "determined", "by", "the", "presence", "of", "(", "unspec", "...", "7", ")", ",", "which", "is", "generated", "by", "the", "various", "load_toc_", "*", "patterns", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "1", "1", "0"], "File": "rs60003", "Func": "uses_TOC", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18249, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreEmitPass2", "(", ")", "{", "const", "Triple", "&", "TT", "=", "TM", "->", "getTargetTriple", "(", ")", ";", "const", "MCAsmInfo", "*", "MAI", "=", "TM", "->", "getMCAsmInfo", "(", ")", ";", "addPass", "(", "createX86RetpolineThunksPass", "(", ")", ")", ";", "if", "(", "TT", ".", "isOSWindows", "(", ")", "&&", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", "addPass", "(", "createX86AvoidTrailingCallPass", "(", ")", ")", ";", "if", "(", "!", "TT", ".", "isOSDarwin", "(", ")", "&&", "(", "!", "TT", ".", "isOSWindows", "(", ")", "||", "MAI", "->", "getExceptionHandlingType", "(", ")", "==", "ExceptionHandling", "::", "DwarfCFI", ")", ")", "addPass", "(", "createCFIInstrInserter", "(", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "may", "add", "passes", "immediately", "before", "machine", "code", "is", "emitted", "in", "this", "callback", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86TargetMachine125", "Func": "addPreEmitPass2", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18250, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "order_regs_for_local_alloc", "(", "void", ")", "{", "static", "int", "last_order_nonleaf", "=", "1", ";", "if", "(", "regs_ever_live", "[", "15", "]", "!=", "last_order_nonleaf", ")", "{", "last_order_nonleaf", "=", "!", "last_order_nonleaf", ";", "memcpy", "(", "(", "char", "*", ")", "reg_alloc_order", ",", "(", "const", "char", "*", ")", "reg_alloc_orders", "[", "last_order_nonleaf", "]", ",", "FIRST_PSEUDO_REGISTER", "*", "sizeof", "(", "int", ")", ")", ";", "}", "}", ""], "natrual_language": ["Choose", "the", "order", "in", "which", "to", "allocate", "hard", "registers", "for", "pseudo-registers", "local", "to", "a", "basic", "block", ".", "Store", "the", "desired", "register", "order", "in", "the", "array", "`", "reg_alloc_order", "'", ".", "Element", "0", "should", "be", "the", "register", "to", "allocate", "first", ";", "element", "1", ",", "the", "next", "register", ";", "and", "so", "on", "."], "TS_V_token": ["sparc", "1", "15"], "File": "sparc3", "Func": "order_regs_for_local_alloc", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18251, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_expand_vector_set_var_p9", "(", "rtx", "target", ",", "rtx", "val", ",", "rtx", "idx", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "target", ")", ";", "gcc_assert", "(", "VECTOR_MEM_VSX_P", "(", "mode", ")", "&&", "!", "CONST_INT_P", "(", "idx", ")", ")", ";", "machine_mode", "inner_mode", "=", "GET_MODE", "(", "val", ")", ";", "int", "width", "=", "GET_MODE_SIZE", "(", "inner_mode", ")", ";", "gcc_assert", "(", "width", ">=", "1", "&&", "width", "<=", "8", ")", ";", "int", "shift", "=", "exact_log2", "(", "width", ")", ";", "machine_mode", "idx_mode", "=", "GET_MODE", "(", "idx", ")", ";", "machine_mode", "shift_mode", ";", "rtx", "(", "*", "gen_ashl", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "rtx", "(", "*", "gen_pcvr1", ")", "(", "rtx", ",", "rtx", ")", ";", "rtx", "(", "*", "gen_pcvr2", ")", "(", "rtx", ",", "rtx", ")", ";", "if", "(", "TARGET_POWERPC64", ")", "{", "shift_mode", "=", "DImode", ";", "gen_ashl", "=", "gen_ashldi3", ";", "gen_pcvr1", "=", "BYTES_BIG_ENDIAN", "?", "gen_altivec_lvsl_reg_di", ":", "gen_altivec_lvsr_reg_di", ";", "gen_pcvr2", "=", "BYTES_BIG_ENDIAN", "?", "gen_altivec_lvsr_reg_di", ":", "gen_altivec_lvsl_reg_di", ";", "}", "else", "{", "shift_mode", "=", "SImode", ";", "gen_ashl", "=", "gen_ashlsi3", ";", "gen_pcvr1", "=", "BYTES_BIG_ENDIAN", "?", "gen_altivec_lvsl_reg_si", ":", "gen_altivec_lvsr_reg_si", ";", "gen_pcvr2", "=", "BYTES_BIG_ENDIAN", "?", "gen_altivec_lvsr_reg_si", ":", "gen_altivec_lvsl_reg_si", ";", "}", "rtx", "tmp", "=", "gen_reg_rtx", "(", "shift_mode", ")", ";", "idx", "=", "convert_modes", "(", "shift_mode", ",", "idx_mode", ",", "idx", ",", "1", ")", ";", "emit_insn", "(", "gen_ashl", "(", "tmp", ",", "idx", ",", "GEN_INT", "(", "shift", ")", ")", ")", ";", "rtx", "pcvr1", "=", "gen_reg_rtx", "(", "V16QImode", ")", ";", "emit_insn", "(", "gen_pcvr1", "(", "pcvr1", ",", "tmp", ")", ")", ";", "rtx", "sub_target", "=", "simplify_gen_subreg", "(", "V16QImode", ",", "target", ",", "mode", ",", "0", ")", ";", "rtx", "perm1", "=", "gen_altivec_vperm_v8hiv16qi", "(", "sub_target", ",", "sub_target", ",", "sub_target", ",", "pcvr1", ")", ";", "emit_insn", "(", "perm1", ")", ";", "rs6000_expand_vector_set", "(", "target", ",", "val", ",", "const0_rtx", ")", ";", "rtx", "pcvr2", "=", "gen_reg_rtx", "(", "V16QImode", ")", ";", "emit_insn", "(", "gen_pcvr2", "(", "pcvr2", ",", "tmp", ")", ")", ";", "rtx", "perm2", "=", "gen_altivec_vperm_v8hiv16qi", "(", "sub_target", ",", "sub_target", ",", "sub_target", ",", "pcvr2", ")", ";", "emit_insn", "(", "perm2", ")", ";", "}", ""], "natrual_language": ["Insert", "VAL", "into", "IDX", "of", "TARGET", ",", "VAL", "size", "is", "same", "of", "the", "vector", "element", ",", "IDX", "is", "variable", "and", "also", "counts", "by", "vector", "element", "size", "for", "p9", "and", "above", "."], "TS_V_token": ["rs6000", "1", "8", "1", "0"], "File": "rs60001", "Func": "rs6000_expand_vector_set_var_p9", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18252, "Length": 308, "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", "=", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "DebugLoc", "DL", "=", "I", "!=", "MBB", ".", "end", "(", ")", "?", "I", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "unsigned", "ADDu", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "DADDu", ":", "Mips", "::", "ADDu", ";", "unsigned", "ADDiu", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "DADDiu", ":", "Mips", "::", "ADDiu", ";", "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", "Mips", "Mips::DADDu", "Mips::ADDu", "Mips::DADDiu", "Mips::ADDiu", "16"], "File": "MipsSEInstrInfo18", "Func": "adjustStackPtr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18253, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "InstrInfo", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsSubtarget (2)", "Func": "getInstrInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18254, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64TargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Don't know how to custom expand this\"", ")", ";", "case", "ISD", "::", "BITCAST", ":", "ReplaceBITCASTResults", "(", "N", ",", "Results", ",", "DAG", ")", ";", "return", ";", "case", "ISD", "::", "VECREDUCE_ADD", ":", "case", "ISD", "::", "VECREDUCE_SMAX", ":", "case", "ISD", "::", "VECREDUCE_SMIN", ":", "case", "ISD", "::", "VECREDUCE_UMAX", ":", "case", "ISD", "::", "VECREDUCE_UMIN", ":", "Results", ".", "push_back", "(", "LowerVECREDUCE", "(", "SDValue", "(", "N", ",", "0", ")", ",", "DAG", ")", ")", ";", "return", ";", "case", "AArch64ISD", "::", "SADDV", ":", "ReplaceReductionResults", "(", "N", ",", "Results", ",", "DAG", ",", "ISD", "::", "ADD", ",", "AArch64ISD", "::", "SADDV", ")", ";", "return", ";", "case", "AArch64ISD", "::", "UADDV", ":", "ReplaceReductionResults", "(", "N", ",", "Results", ",", "DAG", ",", "ISD", "::", "ADD", ",", "AArch64ISD", "::", "UADDV", ")", ";", "return", ";", "case", "AArch64ISD", "::", "SMINV", ":", "ReplaceReductionResults", "(", "N", ",", "Results", ",", "DAG", ",", "ISD", "::", "SMIN", ",", "AArch64ISD", "::", "SMINV", ")", ";", "return", ";", "case", "AArch64ISD", "::", "UMINV", ":", "ReplaceReductionResults", "(", "N", ",", "Results", ",", "DAG", ",", "ISD", "::", "UMIN", ",", "AArch64ISD", "::", "UMINV", ")", ";", "return", ";", "case", "AArch64ISD", "::", "SMAXV", ":", "ReplaceReductionResults", "(", "N", ",", "Results", ",", "DAG", ",", "ISD", "::", "SMAX", ",", "AArch64ISD", "::", "SMAXV", ")", ";", "return", ";", "case", "AArch64ISD", "::", "UMAXV", ":", "ReplaceReductionResults", "(", "N", ",", "Results", ",", "DAG", ",", "ISD", "::", "UMAX", ",", "AArch64ISD", "::", "UMAXV", ")", ";", "return", ";", "case", "ISD", "::", "FP_TO_UINT", ":", "case", "ISD", "::", "FP_TO_SINT", ":", "assert", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i128", "&&", "\"unexpected illegal conversion\"", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_CMP_SWAP", ":", "ReplaceCMP_SWAP_128Results", "(", "N", ",", "Results", ",", "DAG", ",", "Subtarget", ")", ";", "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": ["AArch64", "AArch64", "\"Don't know how to custom expand this\"", "ISD::BITCAST", "ISD::VECREDUCE_ADD", "ISD::VECREDUCE_SMAX", "ISD::VECREDUCE_SMIN", "ISD::VECREDUCE_UMAX", "ISD::VECREDUCE_UMIN", "0", "AArch64ISD::SADDV", "ISD::ADD", "AArch64ISD::SADDV", "AArch64ISD::UADDV", "ISD::ADD", "AArch64ISD::UADDV", "AArch64ISD::SMINV", "ISD::SMIN", "AArch64ISD::SMINV", "AArch64ISD::UMINV", "ISD::UMIN", "AArch64ISD::UMINV", "AArch64ISD::SMAXV", "ISD::SMAX", "AArch64ISD::SMAXV", "AArch64ISD::UMAXV", "ISD::UMAX", "AArch64ISD::UMAXV", "ISD::FP_TO_UINT", "ISD::FP_TO_SINT", "0", "MVT::i128", "\"unexpected illegal conversion\"", "ISD::ATOMIC_CMP_SWAP"], "File": "AArch64ISelLowering (2)3", "Func": "ReplaceNodeResults", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18255, "Length": 290, "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", ")", ";", "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", ":", "CSR_SVR32_ColdCC_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", "PPC"], "File": "PPCRegisterInfo27", "Func": "getCallPreservedMask", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18256, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_emit_msub", "(", "rtx", "target", ",", "rtx", "m1", ",", "rtx", "m2", ",", "rtx", "a", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "target", ")", ";", "rtx", "dst", ";", "if", "(", "optab_handler", "(", "fms_optab", ",", "mode", ")", "!=", "CODE_FOR_nothing", ")", "dst", "=", "expand_ternary_op", "(", "mode", ",", "fms_optab", ",", "m1", ",", "m2", ",", "a", ",", "target", ",", "0", ")", ";", "else", "{", "a", "=", "expand_unop", "(", "mode", ",", "neg_optab", ",", "a", ",", "NULL_RTX", ",", "0", ")", ";", "dst", "=", "expand_ternary_op", "(", "mode", ",", "fma_optab", ",", "m1", ",", "m2", ",", "a", ",", "target", ",", "0", ")", ";", "}", "gcc_assert", "(", "dst", "!=", "NULL", ")", ";", "if", "(", "dst", "!=", "target", ")", "emit_move_insn", "(", "target", ",", "dst", ")", ";", "}", ""], "natrual_language": ["Generate", "a", "FMSUB", "instruction", ":", "dst", "=", "fma", "(", "m1", ",", "m2", ",", "-a", ")", "."], "TS_V_token": ["rs6000", "0", "0", "0"], "File": "rs60004", "Func": "rs6000_emit_msub", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18257, "Length": 116, "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", ")", ";", "if", "(", "!", "TM", ".", "getDataSections", "(", ")", ")", "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": "PPCAsmPrinter109", "Func": "emitGlobalVariable", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18258, "Length": 372, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_emit_stack_reset", "(", "rs6000_stack_t", "*", "info", ",", "rtx", "frame_reg_rtx", ",", "HOST_WIDE_INT", "frame_off", ",", "unsigned", "updt_regno", ")", "{", "if", "(", "frame_off", "==", "0", "&&", "REGNO", "(", "frame_reg_rtx", ")", "==", "updt_regno", ")", "return", "NULL_RTX", ";", "rtx", "updt_reg_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "updt_regno", ")", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", "||", "(", "TARGET_SPE_ABI", "&&", "info", "->", "spe_64bit_regs_used", "!=", "0", "&&", "info", "->", "first_gp_reg_save", "!=", "32", ")", ")", "return", "emit_insn", "(", "gen_stack_restore_tie", "(", "updt_reg_rtx", ",", "frame_reg_rtx", ",", "GEN_INT", "(", "frame_off", ")", ")", ")", ";", "if", "(", "frame_off", "!=", "0", ")", "return", "emit_insn", "(", "gen_add3_insn", "(", "updt_reg_rtx", ",", "frame_reg_rtx", ",", "GEN_INT", "(", "frame_off", ")", ")", ")", ";", "else", "return", "emit_move_insn", "(", "updt_reg_rtx", ",", "frame_reg_rtx", ")", ";", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Emit", "a", "sequence", "of", "insns", ",", "including", "a", "stack", "tie", "if", "needed", ",", "for", "resetting", "the", "stack", "pointer", ".", "If", "UPDT_REGNO", "is", "not", "1", ",", "then", "do", "n't", "reset", "the", "stack", "pointer", ",", "but", "move", "the", "base", "of", "the", "frame", "into", "reg", "UPDT_REGNO", "for", "use", "by", "out-of-line", "register", "restore", "routines", "."], "TS_V_token": ["rs6000", "0", "0", "32", "0"], "File": "rs60006", "Func": "rs6000_emit_stack_reset", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18259, "Length": 117, "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": 18260, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mmix_asm_output_mi_thunk", "(", "FILE", "*", "stream", ",", "tree", "thunk_fndecl", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", "ATTRIBUTE_UNUSED", ",", "tree", "func", ")", "{", "const", "char", "*", "regname", "=", "reg_names", "[", "MMIX_FIRST_INCOMING_ARG_REGNUM", "]", ";", "const", "char", "*", "fnname", "=", "IDENTIFIER_POINTER", "(", "DECL_ASSEMBLER_NAME", "(", "thunk_fndecl", ")", ")", ";", "assemble_start_function", "(", "thunk_fndecl", ",", "fnname", ")", ";", "if", "(", "delta", ">=", "0", "&&", "delta", "<", "65536", ")", "fprintf", "(", "stream", ",", "\"\\tINCL %s,%d\\n\"", ",", "regname", ",", "(", "int", ")", "delta", ")", ";", "else", "if", "(", "delta", "<", "0", "&&", "delta", ">=", "-", "255", ")", "fprintf", "(", "stream", ",", "\"\\tSUBU %s,%s,%d\\n\"", ",", "regname", ",", "regname", ",", "(", "int", ")", "-", "delta", ")", ";", "else", "{", "mmix_output_register_setting", "(", "stream", ",", "255", ",", "delta", ",", "1", ")", ";", "fprintf", "(", "stream", ",", "\"\\tADDU %s,%s,$255\\n\"", ",", "regname", ",", "regname", ")", ";", "}", "fprintf", "(", "stream", ",", "\"\\tJMP \"", ")", ";", "assemble_name", "(", "stream", ",", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "func", ")", ",", "0", ")", ",", "0", ")", ")", ";", "fprintf", "(", "stream", ",", "\"\\n\"", ")", ";", "assemble_end_function", "(", "thunk_fndecl", ",", "fnname", ")", ";", "}", ""], "natrual_language": ["ASM_OUTPUT_MI_THUNK", "."], "TS_V_token": ["mmix", "0", "65536", "\"\\tINCL %s,%d\\n\"", "0", "255", "\"\\tSUBU %s,%s,%d\\n\"", "255", "1", "\"\\tADDU %s,%s,$255\\n\"", "\"\\tJMP \"", "0", "0", "\"\\n\""], "File": "mmix", "Func": "mmix_asm_output_mi_thunk", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18261, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCCTRLoops", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "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": "PPCCTRLoops1", "Func": "runOnFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18262, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "shmedia_cleanup_truncate", "(", "rtx", "x", ")", "{", "int", "n_changes", "=", "0", ";", "subrtx_var_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX_VAR", "(", "iter", ",", "array", ",", "x", ",", "NONCONST", ")", "{", "rtx", "x", "=", "*", "iter", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "TRUNCATE", ")", "{", "rtx", "reg", "=", "XEXP", "(", "x", ",", "0", ")", ";", "machine_mode", "reg_mode", "=", "GET_MODE", "(", "reg", ")", ";", "if", "(", "REG_P", "(", "reg", ")", "&&", "GET_MODE_SIZE", "(", "reg_mode", ")", ">", "8", ")", "{", "int", "offset", "=", "subreg_lowpart_offset", "(", "DImode", ",", "reg_mode", ")", ";", "XEXP", "(", "x", ",", "0", ")", "=", "simplify_subreg", "(", "DImode", ",", "reg", ",", "reg_mode", ",", "offset", ")", ";", "n_changes", "+=", "1", ";", "iter", ".", "skip_subrtxes", "(", ")", ";", "}", "}", "}", "return", "n_changes", ";", "}", ""], "natrual_language": ["Look", "through", "X", "cleaning", "up", "truncates", "of", "registers", "that", "span", "multiple", "actual", "hard", "registers", ".", "Return", "the", "number", "of", "changes", "made", "."], "TS_V_token": ["sh", "0", "0", "8", "0", "1"], "File": "sh4", "Func": "shmedia_cleanup_truncate", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18263, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_small_data_pattern_1", "(", "rtx", "*", "loc", ",", "void", "*", "data", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "GET_CODE", "(", "*", "loc", ")", "==", "LO_SUM", ")", "return", "-", "1", ";", "return", "mips_rewrite_small_data_p", "(", "*", "loc", ")", ";", "}", ""], "natrual_language": ["A", "for_each_rtx", "callback", "for", "mips_small_data_pattern_p", "."], "TS_V_token": ["mips", "1"], "File": "mips3", "Func": "mips_small_data_pattern_1", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18264, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "std", "::", "vector", "<", "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", "*", "Func", "=", "MBB", ".", "getParent", "(", ")", "->", "getFunction", "(", ")", ";", "bool", "IsSEH", "=", "isAsynchronousEHPersonality", "(", "classifyEHPersonality", "(", "Func", "->", "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", ";", "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", ")", ".", "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", "X86::POP64r", "X86::POP32r", "0", "X86::GR64RegClass", "X86::GR32RegClass"], "File": "X86FrameLowering41", "Func": "restoreCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18265, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getCacheLineSize", "(", ")", "const", "override", "{", "return", "256", ";", "}", ""], "natrual_language": ["Return", "the", "target", "cache", "line", "size", "in", "bytes", "."], "TS_V_token": ["SystemZ", "256"], "File": "SystemZTargetTransformInfo", "Func": "getCacheLineSize", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18266, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSEInstrInfo", "::", "isCopyInstr", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "*", "&", "Src", ",", "const", "MachineOperand", "*", "&", "Dest", ")", "const", "{", "bool", "isDSPControlWrite", "=", "false", ";", "if", "(", "isReadOrWriteToDSPReg", "(", "MI", ",", "isDSPControlWrite", ")", ")", "{", "if", "(", "!", "MI", ".", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", "||", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "!=", "(", "1", "<<", "4", ")", ")", "return", "false", ";", "else", "if", "(", "isDSPControlWrite", ")", "{", "Src", "=", "&", "MI", ".", "getOperand", "(", "0", ")", ";", "Dest", "=", "&", "MI", ".", "getOperand", "(", "2", ")", ";", "}", "else", "{", "Dest", "=", "&", "MI", ".", "getOperand", "(", "0", ")", ";", "Src", "=", "&", "MI", ".", "getOperand", "(", "2", ")", ";", "}", "return", "true", ";", "}", "else", "if", "(", "MI", ".", "isMoveReg", "(", ")", "||", "isORCopyInst", "(", "MI", ")", ")", "{", "Dest", "=", "&", "MI", ".", "getOperand", "(", "0", ")", ";", "Src", "=", "&", "MI", ".", "getOperand", "(", "1", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "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": ["Mips", "Mips", "1", "1", "1", "4", "0", "2", "0", "2", "0", "1"], "File": "MipsSEInstrInfo11", "Func": "isCopyInstr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18267, "Length": 170, "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", "(", "slot", ",", "reg", ")", ")", ";", "if", "(", "reg2", ")", "emit_insn", "(", "gen_rtx_SET", "(", "adjust_address", "(", "slot", ",", "word_mode", ",", "UNITS_PER_WORD", ")", ",", "reg2", ")", ")", ";", "emit_insn", "(", "seq", ")", ";", "if", "(", "reg2", ")", "emit_insn", "(", "gen_rtx_SET", "(", "reg2", ",", "adjust_address", "(", "slot", ",", "word_mode", ",", "UNITS_PER_WORD", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "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": "sparc", "Func": "emit_and_preserve", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18268, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "OperandMatchResultTy", "CSKYAsmParser", "::", "tryParseRegister", "(", "unsigned", "&", "RegNo", ",", "SMLoc", "&", "StartLoc", ",", "SMLoc", "&", "EndLoc", ")", "{", "const", "AsmToken", "&", "Tok", "=", "getParser", "(", ")", ".", "getTok", "(", ")", ";", "StartLoc", "=", "Tok", ".", "getLoc", "(", ")", ";", "EndLoc", "=", "Tok", ".", "getEndLoc", "(", ")", ";", "StringRef", "Name", "=", "getLexer", "(", ")", ".", "getTok", "(", ")", ".", "getIdentifier", "(", ")", ";", "if", "(", "matchRegisterNameHelper", "(", "getSTI", "(", ")", ",", "(", "MCRegister", "&", ")", "RegNo", ",", "Name", ")", ")", "return", "MatchOperand_NoMatch", ";", "getParser", "(", ")", ".", "Lex", "(", ")", ";", "return", "MatchOperand_Success", ";", "}", ""], "natrual_language": ["tryParseRegister", "-", "parse", "one", "register", "if", "possible"], "TS_V_token": ["CSKY", "CSKY"], "File": "CSKYAsmParser", "Func": "tryParseRegister", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18269, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "size_type", "count", "(", ")", "const", "{", "return", "V", ".", "count", "(", ")", ";", "}", ""], "natrual_language": ["Return", "1", "if", "the", "specified", "key", "is", "in", "the", "map", ",", "0", "otherwise", "."], "TS_V_token": ["X86"], "File": "ImmutableGraph", "Func": "count", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18270, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "FixupSFBPass", "::", "buildCopy", "(", "MachineInstr", "*", "LoadInst", ",", "unsigned", "NLoadOpcode", ",", "int64_t", "LoadDisp", ",", "MachineInstr", "*", "StoreInst", ",", "unsigned", "NStoreOpcode", ",", "int64_t", "StoreDisp", ",", "unsigned", "Size", ",", "int64_t", "LMMOffset", ",", "int64_t", "SMMOffset", ")", "{", "MachineOperand", "&", "LoadBase", "=", "getBaseOperand", "(", "LoadInst", ")", ";", "MachineOperand", "&", "StoreBase", "=", "getBaseOperand", "(", "StoreInst", ")", ";", "MachineBasicBlock", "*", "MBB", "=", "LoadInst", "->", "getParent", "(", ")", ";", "MachineMemOperand", "*", "LMMO", "=", "*", "LoadInst", "->", "memoperands_begin", "(", ")", ";", "MachineMemOperand", "*", "SMMO", "=", "*", "StoreInst", "->", "memoperands_begin", "(", ")", ";", "unsigned", "Reg1", "=", "MRI", "->", "createVirtualRegister", "(", "TII", "->", "getRegClass", "(", "TII", "->", "get", "(", "NLoadOpcode", ")", ",", "0", ",", "TRI", ",", "*", "(", "MBB", "->", "getParent", "(", ")", ")", ")", ")", ";", "BuildMI", "(", "*", "MBB", ",", "LoadInst", ",", "LoadInst", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "NLoadOpcode", ")", ",", "Reg1", ")", ".", "add", "(", "LoadBase", ")", ".", "addImm", "(", "1", ")", ".", "addReg", "(", "X86", "::", "NoRegister", ")", ".", "addImm", "(", "LoadDisp", ")", ".", "addReg", "(", "X86", "::", "NoRegister", ")", ".", "addMemOperand", "(", "MBB", "->", "getParent", "(", ")", "->", "getMachineMemOperand", "(", "LMMO", ",", "LMMOffset", ",", "Size", ")", ")", ";", "DEBUG", "(", "LoadInst", "->", "getPrevNode", "(", ")", "->", "dump", "(", ")", ")", ";", "MachineInstr", "*", "StInst", "=", "StoreInst", ";", "if", "(", "StoreInst", "->", "getPrevNode", "(", ")", "==", "LoadInst", ")", "StInst", "=", "LoadInst", ";", "BuildMI", "(", "*", "MBB", ",", "StInst", ",", "StInst", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "NStoreOpcode", ")", ")", ".", "add", "(", "StoreBase", ")", ".", "addImm", "(", "1", ")", ".", "addReg", "(", "X86", "::", "NoRegister", ")", ".", "addImm", "(", "StoreDisp", ")", ".", "addReg", "(", "X86", "::", "NoRegister", ")", ".", "addReg", "(", "Reg1", ")", ".", "addMemOperand", "(", "MBB", "->", "getParent", "(", ")", "->", "getMachineMemOperand", "(", "SMMO", ",", "SMMOffset", ",", "Size", ")", ")", ";", "DEBUG", "(", "StInst", "->", "getPrevNode", "(", ")", "->", "dump", "(", ")", ")", ";", "}", ""], "natrual_language": ["Build", "and", "insert", "Res", "=", "COPY", "Op", "."], "TS_V_token": ["X86", "0", "1", "X86::NoRegister", "X86::NoRegister", "1", "X86::NoRegister", "X86::NoRegister"], "File": "X86FixupSFB", "Func": "buildCopy", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18271, "Length": 308, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "getOpcodeAfterMemoryUnfold", "(", "unsigned", "Opc", ",", "bool", "UnfoldLoad", ",", "bool", "UnfoldStore", ",", "unsigned", "*", "LoadRegIndex", ")", "const", "{", "DenseMap", "<", "unsigned", ",", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", ">", "::", "const_iterator", "I", "=", "MemOp2RegOpTable", ".", "find", "(", "Opc", ")", ";", "if", "(", "I", "==", "MemOp2RegOpTable", ".", "end", "(", ")", ")", "return", "0", ";", "bool", "FoldedLoad", "=", "I", "->", "second", ".", "second", "&", "TB_FOLDED_LOAD", ";", "bool", "FoldedStore", "=", "I", "->", "second", ".", "second", "&", "TB_FOLDED_STORE", ";", "if", "(", "UnfoldLoad", "&&", "!", "FoldedLoad", ")", "return", "0", ";", "if", "(", "UnfoldStore", "&&", "!", "FoldedStore", ")", "return", "0", ";", "if", "(", "LoadRegIndex", ")", "*", "LoadRegIndex", "=", "I", "->", "second", ".", "second", "&", "TB_INDEX_MASK", ";", "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", "0", "0"], "File": "X86InstrInfo (2)", "Func": "getOpcodeAfterMemoryUnfold", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18272, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"AArch64 Collect Linker Optimization Hint (LOH)\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64", "\"AArch64 Collect Linker Optimization Hint (LOH)\""], "File": "AArch64CollectLOH10", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18273, "Length": 13, "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": "TOYTargetMachine1", "Func": "createPassConfig", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18274, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "MipsAsmPrinter", "::", "getCurrentABIString", "(", ")", "const", "{", "switch", "(", "static_cast", "<", "MipsTargetMachine", "&", ">", "(", "TM", ")", ".", "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", "Mips", "\"abi32\"", "Mips", "\"abiN32\"", "Mips", "\"abi64\"", "Mips", "\"eabi32\"", "\"Unknown Mips ABI\""], "File": "MipsAsmPrinter1", "Func": "getCurrentABIString", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18275, "Length": 79, "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": 18276, "Length": 381, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Error", "(", "SMLoc", "L", ",", "const", "Twine", "&", "Msg", ",", "ArrayRef", "<", "SMRange", ">", "Ranges", "=", "None", ",", "bool", "MatchingInlineAsm", "=", "false", ")", "{", "if", "(", "MatchingInlineAsm", ")", "return", "true", ";", "return", "Parser", ".", "Error", "(", "L", ",", "Msg", ",", "Ranges", ")", ";", "}", ""], "natrual_language": ["Return", "an", "error", "at", "the", "location", "L", ",", "with", "the", "message", "Msg", "."], "TS_V_token": ["X86"], "File": "X86AsmParser (2)", "Func": "Error", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18277, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "rs6000_emit_fp_cror", "(", "rtx_code", "code", ",", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "rtx", "cond", "[", "2", "]", ";", "int", "n", "=", "0", ";", "if", "(", "code", "==", "LTGT", "||", "code", "==", "LE", "||", "code", "==", "UNLT", ")", "cond", "[", "n", "++", "]", "=", "gen_rtx_fmt_ee", "(", "LT", ",", "mode", ",", "x", ",", "const0_rtx", ")", ";", "if", "(", "code", "==", "LTGT", "||", "code", "==", "GE", "||", "code", "==", "UNGT", ")", "cond", "[", "n", "++", "]", "=", "gen_rtx_fmt_ee", "(", "GT", ",", "mode", ",", "x", ",", "const0_rtx", ")", ";", "if", "(", "code", "==", "LE", "||", "code", "==", "GE", "||", "code", "==", "UNEQ", ")", "cond", "[", "n", "++", "]", "=", "gen_rtx_fmt_ee", "(", "EQ", ",", "mode", ",", "x", ",", "const0_rtx", ")", ";", "if", "(", "code", "==", "UNLT", "||", "code", "==", "UNGT", "||", "code", "==", "UNEQ", ")", "cond", "[", "n", "++", "]", "=", "gen_rtx_fmt_ee", "(", "UNORDERED", ",", "mode", ",", "x", ",", "const0_rtx", ")", ";", "gcc_assert", "(", "n", "==", "2", ")", ";", "rtx", "cc", "=", "gen_reg_rtx", "(", "CCEQmode", ")", ";", "rtx", "logical", "=", "gen_rtx_IOR", "(", "mode", ",", "cond", "[", "0", "]", ",", "cond", "[", "1", "]", ")", ";", "emit_insn", "(", "gen_cceq_ior_compare", "(", "mode", ",", "cc", ",", "logical", ",", "cond", "[", "0", "]", ",", "x", ",", "cond", "[", "1", "]", ",", "x", ")", ")", ";", "return", "cc", ";", "}", ""], "natrual_language": ["Emit", "code", "doing", "a", "cror", "of", "two", "CR", "bits", ",", "for", "FP", "comparisons", "with", "a", "CODE", "that", "requires", "this", ".", "The", "result", "is", "mode", "MODE", "."], "TS_V_token": ["rs6000", "2", "0", "2", "0", "1", "0", "1"], "File": "rs6000", "Func": "rs6000_emit_fp_cror", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18278, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "PPCRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "PPCFrameLowering", "*", "PPCFI", "=", "static_cast", "<", "const", "PPCFrameLowering", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R0", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R1", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "RM", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R2", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R13", ")", ";", "}", "if", "(", "Subtarget", ".", "isPPC64", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R13", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R31", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X0", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X1", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X13", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X31", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "X2", ")", ";", "}", "}", "if", "(", "PPCFI", "->", "needsFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "R31", ")", ";", "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": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC::R0", "PPC::R1", "PPC::LR", "PPC::LR8", "PPC::RM", "PPC::R2", "PPC::R13", "PPC", "PPC::R13", "PPC::R31", "PPC::X0", "PPC::X1", "PPC::X13", "PPC::X31", "PPC::X2", "PPC", "PPC::R31"], "File": "PPCRegisterInfo92", "Func": "getReservedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18279, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86TargetLowering", "::", "insertSSPDeclarations", "(", "Module", "&", "M", ")", "const", "{", "if", "(", "Subtarget", ".", "getTargetTriple", "(", ")", ".", "isWindowsMSVCEnvironment", "(", ")", "||", "Subtarget", ".", "getTargetTriple", "(", ")", ".", "isWindowsItaniumEnvironment", "(", ")", ")", "{", "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", "::", "X86_FastCall", ")", ";", "F", "->", "addAttribute", "(", "1", ",", "Attribute", "::", "AttrKind", "::", "InReg", ")", ";", "}", "return", ";", "}", "auto", "GuardMode", "=", "getTargetMachine", "(", ")", ".", "Options", ".", "StackProtectorGuard", ";", "if", "(", "(", "GuardMode", "==", "llvm", "::", "StackProtectorGuards", "::", "TLS", "||", "GuardMode", "==", "llvm", "::", "StackProtectorGuards", "::", "None", ")", "&&", "hasStackGuardSlotTLS", "(", "Subtarget", ".", "getTargetTriple", "(", ")", ")", ")", "return", ";", "TargetLowering", "::", "insertSSPDeclarations", "(", "M", ")", ";", "}", ""], "natrual_language": ["Inserts", "necessary", "declarations", "for", "SSP", "(", "stack", "protection", ")", "purpose", "."], "TS_V_token": ["X86", "X86", "\"__security_cookie\"", "\"__security_check_cookie\"", "X86", "1"], "File": "X86ISelLowering101", "Func": "insertSSPDeclarations", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18280, "Length": 179, "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", "(", "VOIDmode", ",", "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": "sparc3", "Func": "emit_hard_tfmode_operation", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18281, "Length": 205, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "{", "return", "4", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["X86", "4"], "File": "X86MCCodeEmitter5", "Func": "getNumFixupKinds", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18282, "Length": 10, "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": 18283, "Length": 398, "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", "{", "if", "(", "RC", "==", "ARM", "::", "GPRRegisterClass", "||", "RC", "==", "ARM", "::", "tGPRRegisterClass", "||", "RC", "==", "ARM", "::", "tcGPRRegisterClass", "||", "RC", "==", "ARM", "::", "rGPRRegisterClass", ")", "{", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "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", ",", "TRI", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM::GPRRegisterClass", "ARM::tGPRRegisterClass", "ARM::tcGPRRegisterClass", "ARM::rGPRRegisterClass", "0", "ARM::t2STRi12", "0", "ARM"], "File": "Thumb2InstrInfo15", "Func": "storeRegToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18284, "Length": 208, "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": 18285, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64InstrInfo", "::", "isGPRZero", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ARM64", "::", "MOVZWi", ":", "case", "ARM64", "::", "MOVZXi", ":", "if", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", "&&", "MI", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "==", "0", ")", "{", "assert", "(", "MI", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", "==", "3", "&&", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "0", "&&", "\"invalid MOVZi operands\"", ")", ";", "return", "true", ";", "}", "break", ";", "case", "ARM64", "::", "ANDWri", ":", "return", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "ARM64", "::", "WZR", ";", "case", "ARM64", "::", "ANDXri", ":", "return", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "ARM64", "::", "XZR", ";", "case", "TargetOpcode", "::", "COPY", ":", "return", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "ARM64", "::", "WZR", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Does", "this", "instruction", "set", "its", "full", "destination", "register", "to", "zero", "?"], "TS_V_token": ["ARM64", "ARM64", "ARM64::MOVZWi", "ARM64::MOVZXi", "1", "1", "0", "3", "2", "0", "\"invalid MOVZi operands\"", "ARM64::ANDWri", "1", "ARM64::WZR", "ARM64::ANDXri", "1", "ARM64::XZR", "1", "ARM64::WZR"], "File": "ARM64InstrInfo", "Func": "isGPRZero", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18286, "Length": 166, "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", ";", "allocate_struct_function", "(", "decl", ",", "false", ")", ";", "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": "i3865", "Func": "ix86_code_end", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18287, "Length": 417, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getClearCacheBuiltinName", "(", ")", "const", "override", "{", "return", "nullptr", ";", "}", ""], "natrual_language": ["Intel", "processors", "have", "a", "unified", "instruction", "and", "data", "cache", "."], "TS_V_token": ["X86"], "File": "X86ISelLowering (2)1", "Func": "getClearCacheBuiltinName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18288, "Length": 13, "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", ";", "}", "}", "if", "(", "!", "TARGET_P9_VECTOR", "&&", "(", "rs6000_isa_flags_explicit", "&", "OPTION_MASK_P9_VECTOR", ")", "!=", "0", "&&", "TARGET_P9_DFORM_BOTH", ">", "0", ")", "{", "error", "(", "\"-mno-power9-vector turns off -mpower9-dform\"", ")", ";", "TARGET_P9_DFORM_BOTH", "=", "0", ";", "}", "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": ["powerpcspe", "\"power9-vector\"", "\"power8-vector\"", "\"vsx\"", "0", "0", "0", "0", "0", "\"-mno-%s turns off -m%s\"", "0", "0", "\"-mno-power9-vector turns off -mpower9-dform\"", "0"], "File": "powerpcspe", "Func": "rs6000_disable_incompatible_switches", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18289, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_class_likely_spilled_p", "(", "reg_class_t", "rclass", ")", "{", "switch", "(", "rclass", ")", "{", "case", "AREG", ":", "case", "DREG", ":", "case", "CREG", ":", "case", "BREG", ":", "case", "AD_REGS", ":", "case", "SIREG", ":", "case", "DIREG", ":", "case", "SSE_FIRST_REG", ":", "case", "FP_TOP_REG", ":", "case", "FP_SECOND_REG", ":", "case", "BND_REGS", ":", "return", "true", ";", "default", ":", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CLASS_LIKELY_SPILLED_P", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_class_likely_spilled_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18290, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_add_cfa_adjust_cfa_note", "(", "rtx", "insn", ",", "int", "size", ",", "rtx", "dest", ",", "rtx", "src", ")", "{", "rtx", "dwarf", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "dwarf", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "plus_constant", "(", "Pmode", ",", "src", ",", "size", ")", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_ADJUST_CFA", ",", "dwarf", ")", ";", "}", ""], "natrual_language": ["Add", "a", "REG_CFA_ADJUST_CFA", "REG", "note", "to", "INSN", ".", "SIZE", "is", "the", "offset", "to", "be", "adjusted", ".", "DEST", "and", "SRC", "might", "be", "stack_pointer_rtx", "or", "hard_frame_pointer_rtx", "."], "TS_V_token": ["arm", "1"], "File": "arm4", "Func": "arm_add_cfa_adjust_cfa_note", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18291, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "TeeRISCInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "assert", "(", "0", ")", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "TeeRISC", "::", "LD", ")", "{", "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": ["TeeRISC", "TeeRISC", "0", "TeeRISC::LD", "1", "2", "2", "0", "1", "0", "0"], "File": "TeeRISCInstrInfo", "Func": "isLoadFromStackSlot", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18292, "Length": 103, "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": 18293, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86CallFrameOptimization", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "STI", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "TFL", "=", "STI", "->", "getFrameLowering", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "const", "X86RegisterInfo", "&", "RegInfo", "=", "*", "static_cast", "<", "const", "X86RegisterInfo", "*", ">", "(", "STI", "->", "getRegisterInfo", "(", ")", ")", ";", "SlotSize", "=", "RegInfo", ".", "getSlotSize", "(", ")", ";", "assert", "(", "isPowerOf2_32", "(", "SlotSize", ")", "&&", "\"Expect power of 2 stack slot size\"", ")", ";", "Log2SlotSize", "=", "Log2_32", "(", "SlotSize", ")", ";", "if", "(", "!", "isLegal", "(", "MF", ")", ")", "return", "false", ";", "unsigned", "FrameSetupOpcode", "=", "TII", "->", "getCallFrameSetupOpcode", "(", ")", ";", "bool", "Changed", "=", "false", ";", "ContextVector", "CallSeqVector", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "FrameSetupOpcode", ")", "{", "CallContext", "Context", ";", "collectCallInfo", "(", "MF", ",", "MBB", ",", "MI", ",", "Context", ")", ";", "CallSeqVector", ".", "push_back", "(", "Context", ")", ";", "}", "if", "(", "!", "isProfitable", "(", "MF", ",", "CallSeqVector", ")", ")", "return", "false", ";", "for", "(", "auto", "CC", ":", "CallSeqVector", ")", "{", "if", "(", "CC", ".", "UsePush", ")", "{", "adjustCallSequence", "(", "MF", ",", "CC", ")", ";", "Changed", "=", "true", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "\"Expect power of 2 stack slot size\""], "File": "X86CallFrameOptimization17", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18294, "Length": 214, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMSubtarget", "::", "ARMSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "const", "ARMBaseTargetMachine", "&", "TM", ",", "bool", "IsLittle", ")", ":", "ARMGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "ARMProcFamily", "(", "Others", ")", ",", "ARMProcClass", "(", "None", ")", ",", "stackAlignment", "(", "4", ")", ",", "CPUString", "(", "CPU", ")", ",", "IsLittle", "(", "IsLittle", ")", ",", "TargetTriple", "(", "TT", ")", ",", "Options", "(", "TM", ".", "Options", ")", ",", "TM", "(", "TM", ")", ",", "TSInfo", "(", "*", "TM", ".", "getDataLayout", "(", ")", ")", ",", "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", "4", "ARM", "ARM", "ARM", "ARM"], "File": "ARMSubtarget23", "Func": "ARMSubtarget", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18295, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_cannot_modify_jumps_p", "(", ")", "{", "return", "(", "TARGET_SHMEDIA", "&&", "(", "reload_in_progress", "||", "reload_completed", ")", ")", ";", "}", ""], "natrual_language": ["SHmedia", "requires", "registers", "for", "branches", ",", "so", "we", "ca", "n't", "generate", "new", "branches", "past", "reload", "."], "TS_V_token": ["sh"], "File": "sh2", "Func": "sh_cannot_modify_jumps_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18296, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_issue_rate", "(", "void", ")", "{", "return", "current_tune", "->", "issue_rate", ";", "}", ""], "natrual_language": ["Most", "ARM", "cores", "are", "single", "issue", ",", "but", "some", "newer", "ones", "can", "dual", "issue", ".", "The", "scheduler", "descriptions", "rely", "on", "this", "being", "correct", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_issue_rate", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18297, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "gen_stm_seq", "(", "rtx", "*", "operands", ",", "int", "nops", ")", "{", "int", "i", ";", "int", "regs", "[", "MAX_LDM_STM_OPS", "]", ",", "mem_order", "[", "MAX_LDM_STM_OPS", "]", ";", "rtx", "mems", "[", "MAX_LDM_STM_OPS", "]", ";", "int", "base_reg", ";", "rtx", "base_reg_rtx", ";", "HOST_WIDE_INT", "offset", ";", "int", "write_back", "=", "FALSE", ";", "int", "stm_case", ";", "rtx", "addr", ";", "bool", "base_reg_dies", ";", "stm_case", "=", "store_multiple_sequence", "(", "operands", ",", "nops", ",", "nops", ",", "regs", ",", "NULL", ",", "mem_order", ",", "&", "base_reg", ",", "&", "offset", ",", "true", ")", ";", "if", "(", "stm_case", "==", "0", ")", "return", "false", ";", "base_reg_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "base_reg", ")", ";", "base_reg_dies", "=", "peep2_reg_dead_p", "(", "nops", ",", "base_reg_rtx", ")", ";", "if", "(", "TARGET_THUMB1", ")", "{", "gcc_assert", "(", "base_reg_dies", ")", ";", "write_back", "=", "TRUE", ";", "}", "if", "(", "stm_case", "==", "5", ")", "{", "gcc_assert", "(", "base_reg_dies", ")", ";", "emit_insn", "(", "gen_addsi3", "(", "base_reg_rtx", ",", "base_reg_rtx", ",", "GEN_INT", "(", "offset", ")", ")", ")", ";", "offset", "=", "0", ";", "}", "addr", "=", "plus_constant", "(", "Pmode", ",", "base_reg_rtx", ",", "offset", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nops", ";", "i", "++", ")", "{", "addr", "=", "plus_constant", "(", "Pmode", ",", "base_reg_rtx", ",", "offset", "+", "i", "*", "4", ")", ";", "mems", "[", "i", "]", "=", "adjust_automodify_address_nv", "(", "operands", "[", "nops", "+", "mem_order", "[", "i", "]", "]", ",", "SImode", ",", "addr", ",", "0", ")", ";", "}", "emit_insn", "(", "arm_gen_store_multiple_1", "(", "nops", ",", "regs", ",", "mems", ",", "base_reg_rtx", ",", "write_back", "?", "offset", "+", "i", "*", "4", ":", "0", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Called", "from", "a", "peephole2", "expander", "to", "turn", "a", "sequence", "of", "stores", "into", "an", "STM", "instruction", ".", "OPERANDS", "are", "the", "operands", "found", "by", "the", "peephole", "matcher", ";", "NOPS", "indicates", "how", "many", "separate", "stores", "we", "are", "trying", "to", "combine", ".", "Returns", "true", "iff", "we", "could", "generate", "a", "new", "instruction", "."], "TS_V_token": ["arm", "0", "5", "0", "0", "4", "0", "4", "0"], "File": "arm", "Func": "gen_stm_seq", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18298, "Length": 246, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "TargetPassConfig", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "LoopInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "LoopInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "ScalarEvolutionWrapperPass", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AArch64"], "File": "AArch64FalkorHWPFFix14", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18299, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmBackend", "::", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "if", "(", "Count", "%", "4", ")", "return", "false", ";", "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", "4", "4", "0", "0"], "File": "MipsAsmBackend", "Func": "writeNopData", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18300, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZTTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ")", "{", "bool", "HasCall", "=", "false", ";", "unsigned", "NumStores", "=", "0", ";", "for", "(", "auto", "&", "BB", ":", "L", "->", "blocks", "(", ")", ")", "for", "(", "auto", "&", "I", ":", "*", "BB", ")", "{", "if", "(", "isa", "<", "CallInst", ">", "(", "&", "I", ")", "||", "isa", "<", "InvokeInst", ">", "(", "&", "I", ")", ")", "{", "if", "(", "const", "Function", "*", "F", "=", "cast", "<", "CallBase", ">", "(", "I", ")", ".", "getCalledFunction", "(", ")", ")", "{", "if", "(", "isLoweredToCall", "(", "F", ")", ")", "HasCall", "=", "true", ";", "if", "(", "F", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "memcpy", "||", "F", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "memset", ")", "NumStores", "++", ";", "}", "else", "{", "HasCall", "=", "true", ";", "}", "}", "if", "(", "isa", "<", "StoreInst", ">", "(", "&", "I", ")", ")", "{", "Type", "*", "MemAccessTy", "=", "I", ".", "getOperand", "(", "0", ")", "->", "getType", "(", ")", ";", "NumStores", "+=", "getMemoryOpCost", "(", "Instruction", "::", "Store", ",", "MemAccessTy", ",", "None", ",", "0", ",", "TTI", "::", "TCK_RecipThroughput", ")", ";", "}", "}", "unsigned", "const", "Max", "=", "(", "NumStores", "?", "(", "12", "/", "NumStores", ")", ":", "UINT_MAX", ")", ";", "if", "(", "HasCall", ")", "{", "UP", ".", "FullUnrollMaxCount", "=", "Max", ";", "UP", ".", "MaxCount", "=", "1", ";", "return", ";", "}", "UP", ".", "MaxCount", "=", "Max", ";", "if", "(", "UP", ".", "MaxCount", "<=", "1", ")", "return", ";", "UP", ".", "Partial", "=", "UP", ".", "Runtime", "=", "true", ";", "UP", ".", "PartialThreshold", "=", "75", ";", "UP", ".", "DefaultUnrollRuntimeCount", "=", "4", ";", "UP", ".", "AllowExpensiveTripCount", "=", "true", ";", "UP", ".", "Force", "=", "true", ";", "}", ""], "natrual_language": ["Get", "target-customized", "preferences", "for", "the", "generic", "loop", "unrolling", "transformation", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "Intrinsic::memcpy", "Intrinsic::memset", "0", "0", "12", "1", "1", "75", "4"], "File": "SystemZTargetTransformInfo", "Func": "getUnrollingPreferences", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18301, "Length": 273, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "ia64_preferred_reload_class", "(", "rtx", "x", ",", "reg_class_t", "rclass", ")", "{", "switch", "(", "rclass", ")", "{", "case", "FR_REGS", ":", "case", "FP_REGS", ":", "if", "(", "MEM_P", "(", "x", ")", "&&", "MEM_VOLATILE_P", "(", "x", ")", ")", "return", "NO_REGS", ";", "if", "(", "CONSTANT_P", "(", "x", ")", ")", "return", "NO_REGS", ";", "break", ";", "case", "AR_M_REGS", ":", "case", "AR_I_REGS", ":", "if", "(", "!", "OBJECT_P", "(", "x", ")", ")", "return", "NO_REGS", ";", "break", ";", "default", ":", "break", ";", "}", "return", "rclass", ";", "}", ""], "natrual_language": ["Implement", "PREFERRED_RELOAD_CLASS", ".", "Place", "additional", "restrictions", "on", "CLASS", "to", "use", "when", "copying", "X", "into", "that", "class", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "ia64_preferred_reload_class", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18302, "Length": 77, "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": 18303, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addPreISel", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createARMParallelDSPPass", "(", ")", ")", ";", "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", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["ARM", "ARM", "ARM", "127"], "File": "ARMTargetMachine", "Func": "addPreISel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18304, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "expand_msb", "(", "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_fnma", "(", "e", ".", "vector_mode", "(", "0", ")", ")", ";", "else", "icode", "=", "code_for_aarch64_pred", "(", "UNSPEC_COND_FMLS", ",", "e", ".", "vector_mode", "(", "0", ")", ")", ";", "return", "e", ".", "use_pred_x_insn", "(", "icode", ")", ";", "}", "insn_code", "icode", "=", "e", ".", "direct_optab_handler", "(", "cond_fnma_optab", ")", ";", "return", "e", ".", "use_cond_insn", "(", "icode", ",", "merge_argno", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "call", "to", "svmsb", ",", "or", "svmls", "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_msb", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18305, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "setPreservesAll", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineModuleInfo", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "DwarfWriter", ">", "(", ")", ";", "PPCAsmPrinter", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCAsmPrinter107", "Func": "getAnalysisUsage", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18306, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "IsEligibleForTailCallOptimization", "(", "SDValue", "Callee", ",", "CallingConv", "::", "ID", "CalleeCC", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "!", "getTargetMachine", "(", ")", ".", "Options", ".", "GuaranteedTailCallOpt", ")", "return", "false", ";", "if", "(", "isVarArg", ")", "return", "false", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "CallingConv", "::", "ID", "CallerCC", "=", "MF", ".", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", ";", "if", "(", "CalleeCC", "==", "CallingConv", "::", "Fast", "&&", "CallerCC", "==", "CalleeCC", ")", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "Ins", ".", "size", "(", ")", ";", "i", "++", ")", "{", "ISD", "::", "ArgFlagsTy", "Flags", "=", "Ins", "[", "i", "]", ".", "Flags", ";", "if", "(", "Flags", ".", "isByVal", "(", ")", ")", "return", "false", ";", "}", "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", "ISD::InputArg", "0", "ISD::ArgFlagsTy"], "File": "PPCISelLowering (2)7", "Func": "IsEligibleForTailCallOptimization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18307, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "isProfitableToDupForIfCvt", "(", "MachineBasicBlock", "&", "MBB", ",", "unsigned", "NumInstrs", ")", "const", "{", "return", "NumInstrs", "&&", "NumInstrs", "==", "1", ";", "}", ""], "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": ["ARM", "1"], "File": "ARMBaseInstrInfo22", "Func": "isProfitableToDupForIfCvt", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18308, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcTargetMachine", "::", "SparcTargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "is64bit", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "is64bit", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "TLOF", "(", "make_unique", "<", "SparcELFTargetObjectFile", ">", "(", ")", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ",", "is64bit", ")", "{", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "ILP32", "architecture", "model", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc"], "File": "SparcTargetMachine49", "Func": "SparcTargetMachine", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18309, "Length": 95, "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": 18310, "Length": 323, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CCAssignFn", "*", "AArch64FastISel", "::", "CCAssignFnForCall", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "if", "(", "CC", "==", "CallingConv", "::", "WebKit_JS", ")", "return", "CC_AArch64_WebKit_JS", ";", "if", "(", "CC", "==", "CallingConv", "::", "GHC", ")", "return", "CC_AArch64_GHC", ";", "if", "(", "CC", "==", "CallingConv", "::", "CFGuard_Check", ")", "return", "CC_AArch64_Win64_CFGuard_Check", ";", "return", "Subtarget", "->", "isTargetDarwin", "(", ")", "?", "CC_AArch64_DarwinPCS", ":", "CC_AArch64_AAPCS", ";", "}", ""], "natrual_language": ["Selects", "the", "correct", "CCAssignFn", "for", "a", "given", "CallingConvention", "value", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64FastISel10", "Func": "CCAssignFnForCall", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18311, "Length": 58, "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": 18312, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "isProfitableToHoist", "(", "Instruction", "*", "I", ")", "const", "{", "if", "(", "!", "I", "->", "hasOneUse", "(", ")", ")", "return", "true", ";", "Instruction", "*", "User", "=", "I", "->", "user_back", "(", ")", ";", "assert", "(", "User", "&&", "\"A single use instruction with no uses.\"", ")", ";", "switch", "(", "I", "->", "getOpcode", "(", ")", ")", "{", "case", "Instruction", "::", "FMul", ":", "{", "if", "(", "User", "->", "getOpcode", "(", ")", "!=", "Instruction", "::", "FSub", "&&", "User", "->", "getOpcode", "(", ")", "!=", "Instruction", "::", "FAdd", ")", "return", "true", ";", "const", "TargetOptions", "&", "Options", "=", "getTargetMachine", "(", ")", ".", "Options", ";", "const", "Function", "*", "F", "=", "I", "->", "getFunction", "(", ")", ";", "const", "DataLayout", "&", "DL", "=", "F", "->", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "Type", "*", "Ty", "=", "User", "->", "getOperand", "(", "0", ")", "->", "getType", "(", ")", ";", "return", "!", "(", "isFMAFasterThanFMulAndFAdd", "(", "*", "F", ",", "Ty", ")", "&&", "isOperationLegalOrCustom", "(", "ISD", "::", "FMA", ",", "getValueType", "(", "DL", ",", "Ty", ")", ")", "&&", "(", "Options", ".", "AllowFPOpFusion", "==", "FPOpFusion", "::", "Fast", "||", "Options", ".", "UnsafeFPMath", ")", ")", ";", "}", "case", "Instruction", "::", "Load", ":", "{", "LoadInst", "*", "LI", "=", "cast", "<", "LoadInst", ">", "(", "I", ")", ";", "if", "(", "!", "LI", "->", "isUnordered", "(", ")", ")", "return", "true", ";", "if", "(", "User", "->", "getOpcode", "(", ")", "!=", "Instruction", "::", "Store", ")", "return", "true", ";", "if", "(", "I", "->", "getType", "(", ")", "->", "getTypeID", "(", ")", "!=", "Type", "::", "FloatTyID", ")", "return", "true", ";", "return", "false", ";", "}", "default", ":", "return", "true", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "profitable", "to", "hoist", "instruction", "in", "the", "then/else", "to", "before", "if", "."], "TS_V_token": ["PowerPC", "PPC", "\"A single use instruction with no uses.\"", "0", "ISD::FMA"], "File": "PPCISelLowering100", "Func": "isProfitableToHoist", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18313, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCPassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAtomicExpandPass", "(", "&", "getPPCTargetMachine", "(", ")", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["PowerPC", "PPC", "PPC"], "File": "PPCTargetMachine37", "Func": "addIRPasses", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18314, "Length": 25, "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", "(", ")", ",", "Idx", ")", ";", "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": "X86CallLowering11", "Func": "lowerFormalArguments", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18315, "Length": 312, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "pa_strip_name_encoding", "(", "const", "char", "*", "str", ")", "{", "str", "+=", "(", "*", "str", "==", "'@'", ")", ";", "str", "+=", "(", "*", "str", "==", "'*'", ")", ";", "return", "str", ";", "}", ""], "natrual_language": ["This", "is", "sort", "of", "inverse", "to", "pa_encode_section_info", "."], "TS_V_token": ["pa"], "File": "pa", "Func": "pa_strip_name_encoding", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18316, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "hasHighOperandLatency", "(", "const", "TargetSchedModel", "&", "SchedModel", ",", "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", ".", "nonpipelinedVFP", "(", ")", "&&", "(", "DDomain", "==", "ARMII", "::", "DomainVFP", "||", "UDomain", "==", "ARMII", "::", "DomainVFP", ")", ")", "return", "true", ";", "unsigned", "Latency", "=", "SchedModel", ".", "computeOperandLatency", "(", "&", "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)2", "Func": "hasHighOperandLatency", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18317, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FixupLEAPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "const", "X86Subtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "bool", "IsSlowLEA", "=", "ST", ".", "slowLEA", "(", ")", ";", "bool", "IsSlow3OpsLEA", "=", "ST", ".", "slow3OpsLEA", "(", ")", ";", "bool", "LEAUsesAG", "=", "ST", ".", "LEAusesAG", "(", ")", ";", "bool", "OptIncDec", "=", "!", "ST", ".", "slowIncDec", "(", ")", "||", "MF", ".", "getFunction", "(", ")", ".", "hasOptSize", "(", ")", ";", "bool", "UseLEAForSP", "=", "ST", ".", "useLeaForSP", "(", ")", ";", "TSM", ".", "init", "(", "&", "ST", ")", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "ST", ".", "getRegisterInfo", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Start X86FixupLEAs\\n\"", ";", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ";", "I", "!=", "MBB", ".", "end", "(", ")", ";", "++", "I", ")", "{", "if", "(", "!", "isLEA", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "continue", ";", "if", "(", "optTwoAddrLEA", "(", "I", ",", "MBB", ",", "OptIncDec", ",", "UseLEAForSP", ")", ")", "continue", ";", "if", "(", "IsSlowLEA", ")", "processInstructionForSlowLEA", "(", "I", ",", "MBB", ")", ";", "else", "if", "(", "IsSlow3OpsLEA", ")", "processInstrForSlow3OpLEA", "(", "I", ",", "MBB", ",", "OptIncDec", ")", ";", "}", "if", "(", "LEAUsesAG", ")", "{", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ";", "I", "!=", "MBB", ".", "end", "(", ")", ";", "++", "I", ")", "processInstruction", "(", "I", ",", "MBB", ")", ";", "}", "}", "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": "X86FixupLEAs23", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18318, "Length": 269, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "poly_int64", "vax_return_pops_args", "(", "tree", "fundecl", "ATTRIBUTE_UNUSED", ",", "tree", "funtype", "ATTRIBUTE_UNUSED", ",", "poly_int64", "size", ")", "{", "return", "size", ">", "255", "*", "4", "?", "0", ":", "(", "HOST_WIDE_INT", ")", "size", ";", "}", ""], "natrual_language": ["Value", "is", "the", "number", "of", "bytes", "of", "arguments", "automatically", "popped", "when", "returning", "from", "a", "subroutine", "call", ".", "FUNDECL", "is", "the", "declaration", "node", "of", "the", "function", "(", "as", "a", "tree", ")", ",", "FUNTYPE", "is", "the", "data", "type", "of", "the", "function", "(", "as", "a", "tree", ")", ",", "or", "for", "a", "library", "call", "it", "is", "an", "identifier", "node", "for", "the", "subroutine", "name", ".", "SIZE", "is", "the", "number", "of", "bytes", "of", "arguments", "passed", "on", "the", "stack", ".", "On", "the", "VAX", ",", "the", "RET", "insn", "pops", "a", "maximum", "of", "255", "args", "for", "any", "function", "."], "TS_V_token": ["vax", "255", "4", "0"], "File": "vax", "Func": "vax_return_pops_args", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18319, "Length": 31, "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": 18320, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TargetLowering", "::", "getVectorTypeBreakdownForCallingConv", "(", "LLVMContext", "&", "Context", ",", "CallingConv", "::", "ID", "CC", ",", "EVT", "VT", ",", "EVT", "&", "IntermediateVT", ",", "unsigned", "&", "NumIntermediates", ",", "MVT", "&", "RegisterVT", ")", "const", "{", "if", "(", "VT", ".", "isVector", "(", ")", "&&", "VT", ".", "getVectorElementType", "(", ")", "==", "MVT", "::", "i1", "&&", "Subtarget", ".", "hasAVX512", "(", ")", "&&", "(", "!", "isPowerOf2_32", "(", "VT", ".", "getVectorNumElements", "(", ")", ")", "||", "(", "VT", ".", "getVectorNumElements", "(", ")", ">", "16", "&&", "!", "Subtarget", ".", "hasBWI", "(", ")", ")", "||", "(", "VT", ".", "getVectorNumElements", "(", ")", ">", "64", "&&", "Subtarget", ".", "hasBWI", "(", ")", ")", ")", ")", "{", "RegisterVT", "=", "MVT", "::", "i8", ";", "IntermediateVT", "=", "MVT", "::", "i1", ";", "NumIntermediates", "=", "VT", ".", "getVectorNumElements", "(", ")", ";", "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": ["X86", "X86", "MVT::i1", "16", "64", "MVT::i8", "MVT::i1"], "File": "X86ISelLowering (2)7", "Func": "getVectorTypeBreakdownForCallingConv", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18321, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mips_pic_base_register", "(", "rtx", "temp", ")", "{", "if", "(", "!", "TARGET_MIPS16", ")", "return", "pic_offset_table_rtx", ";", "if", "(", "currently_expanding_to_rtl", ")", "return", "mips16_gp_pseudo_reg", "(", ")", ";", "if", "(", "can_create_pseudo_p", "(", ")", ")", "temp", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "if", "(", "TARGET_USE_GOT", ")", "mips_emit_move", "(", "temp", ",", "pic_offset_table_rtx", ")", ";", "else", "emit_insn", "(", "gen_load_const_gp", "(", "temp", ")", ")", ";", "return", "temp", ";", "}", ""], "natrual_language": ["Return", "a", "base", "register", "that", "holds", "pic_offset_table_rtx", ".", "TEMP", ",", "if", "nonnull", ",", "is", "a", "scratch", "Pmode", "base", "register", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_pic_base_register", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18322, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "mips_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": ["mips"], "File": "mips", "Func": "mips_constant_alignment", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18323, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCAIXAsmPrinter", "::", "emitEndOfAsmFile", "(", "Module", "&", "M", ")", "{", "if", "(", "M", ".", "empty", "(", ")", ")", "return", ";", "OutStreamer", "->", "SwitchSection", "(", "getObjFileLowering", "(", ")", ".", "getTOCBaseSection", "(", ")", ")", ";", "PPCTargetStreamer", "&", "TS", "=", "static_cast", "<", "PPCTargetStreamer", "&", ">", "(", "*", "OutStreamer", "->", "getTargetStreamer", "(", ")", ")", ";", "const", "unsigned", "EntryByteSize", "=", "Subtarget", "->", "isPPC64", "(", ")", "?", "8", ":", "4", ";", "const", "unsigned", "TOCEntriesByteSize", "=", "TOC", ".", "size", "(", ")", "*", "EntryByteSize", ";", "if", "(", "TOCEntriesByteSize", ">", "32767", ")", "{", "report_fatal_error", "(", "\"Handling of TOC entry displacement larger than 32767 \"", "\"is not yet implemented.\"", ")", ";", "}", "for", "(", "auto", "&", "I", ":", "TOC", ")", "{", "MCSectionXCOFF", "*", "TCEntry", "=", "cast", "<", "MCSectionXCOFF", ">", "(", "getObjFileLowering", "(", ")", ".", "getSectionForTOCEntry", "(", "I", ".", "first", ")", ")", ";", "cast", "<", "MCSymbolXCOFF", ">", "(", "I", ".", "second", ")", "->", "setContainingCsect", "(", "TCEntry", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "TCEntry", ")", ";", "OutStreamer", "->", "emitLabel", "(", "I", ".", "second", ")", ";", "TS", ".", "emitTCEntry", "(", "*", "I", ".", "first", ")", ";", "}", "}", ""], "natrual_language": ["This", "virtual", "method", "can", "be", "overridden", "by", "targets", "that", "want", "to", "emit", "something", "at", "the", "end", "of", "their", "file", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "8", "4", "32767", "\"Handling of TOC entry displacement larger than 32767 \"", "\"is not yet implemented.\""], "File": "PPCAsmPrinter62", "Func": "emitEndOfAsmFile", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18324, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "override", "{", "EmitMappingSymbol", "(", "\"$t\"", ")", ";", "MCELFStreamer", "::", "emitInstruction", "(", "Inst", ",", "STI", ")", ";", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["CSKY", "\"$t\""], "File": "CSKYELFStreamer", "Func": "emitInstruction", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18325, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "unsigned", "VReg", ")", "const", "{", "MachineInstr", "*", "Return", "=", "MIRBuilder", ".", "buildInstr", "(", "AArch64", "::", "RET_ReallyLR", ")", ";", "assert", "(", "Return", "&&", "\"Unable to build a return instruction?!\"", ")", ";", "assert", "(", "(", "(", "Val", "&&", "VReg", ")", "||", "(", "!", "Val", "&&", "!", "VReg", ")", ")", "&&", "\"Return value without a vreg\"", ")", ";", "if", "(", "VReg", ")", "{", "assert", "(", "Val", "->", "getType", "(", ")", "->", "isIntegerTy", "(", ")", "&&", "\"Type not supported yet\"", ")", ";", "unsigned", "Size", "=", "Val", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "assert", "(", "(", "Size", "==", "64", "||", "Size", "==", "32", ")", "&&", "\"Size not supported yet\"", ")", ";", "unsigned", "ResReg", "=", "(", "Size", "==", "32", ")", "?", "AArch64", "::", "W0", ":", "AArch64", "::", "X0", ";", "MIRBuilder", ".", "setInstr", "(", "*", "Return", ",", "true", ")", ";", "MachineInstr", "*", "Copy", "=", "MIRBuilder", ".", "buildInstr", "(", "TargetOpcode", "::", "COPY", ",", "ResReg", ",", "VReg", ")", ";", "(", "void", ")", "Copy", ";", "assert", "(", "Copy", "->", "getNextNode", "(", ")", "==", "Return", "&&", "\"The insertion did not happen where we expected\"", ")", ";", "MachineInstrBuilder", "(", "MIRBuilder", ".", "getMF", "(", ")", ",", "Return", ")", ".", "addReg", "(", "ResReg", ",", "RegState", "::", "Implicit", ")", ";", "}", "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": ["AArch64", "AArch64", "AArch64::RET_ReallyLR", "\"Unable to build a return instruction?!\"", "\"Return value without a vreg\"", "\"Type not supported yet\"", "64", "32", "\"Size not supported yet\"", "32", "AArch64::W0", "AArch64::X0", "\"The insertion did not happen where we expected\""], "File": "AArch64CallLowering43", "Func": "lowerReturn", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18326, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "ARMBaseRegisterInfo", "::", "getMatchingSuperRegClass", "(", "const", "TargetRegisterClass", "*", "A", ",", "const", "TargetRegisterClass", "*", "B", ",", "unsigned", "SubIdx", ")", "const", "{", "switch", "(", "SubIdx", ")", "{", "default", ":", "return", "0", ";", "case", "ARM", "::", "ssub_0", ":", "case", "ARM", "::", "ssub_1", ":", "case", "ARM", "::", "ssub_2", ":", "case", "ARM", "::", "ssub_3", ":", "{", "if", "(", "A", "->", "getSize", "(", ")", "==", "8", ")", "{", "if", "(", "B", "==", "&", "ARM", "::", "SPR_8RegClass", ")", "return", "&", "ARM", "::", "DPR_8RegClass", ";", "assert", "(", "B", "==", "&", "ARM", "::", "SPRRegClass", "&&", "\"Expecting SPR register class!\"", ")", ";", "if", "(", "A", "==", "&", "ARM", "::", "DPR_8RegClass", ")", "return", "A", ";", "return", "&", "ARM", "::", "DPR_VFP2RegClass", ";", "}", "if", "(", "A", "->", "getSize", "(", ")", "==", "16", ")", "{", "if", "(", "B", "==", "&", "ARM", "::", "SPR_8RegClass", ")", "return", "&", "ARM", "::", "QPR_8RegClass", ";", "return", "&", "ARM", "::", "QPR_VFP2RegClass", ";", "}", "if", "(", "A", "->", "getSize", "(", ")", "==", "32", ")", "{", "if", "(", "B", "==", "&", "ARM", "::", "SPR_8RegClass", ")", "return", "0", ";", "return", "&", "ARM", "::", "QQPR_VFP2RegClass", ";", "}", "assert", "(", "A", "->", "getSize", "(", ")", "==", "64", "&&", "\"Expecting a QQQQ register class!\"", ")", ";", "return", "0", ";", "}", "case", "ARM", "::", "dsub_0", ":", "case", "ARM", "::", "dsub_1", ":", "case", "ARM", "::", "dsub_2", ":", "case", "ARM", "::", "dsub_3", ":", "{", "if", "(", "A", "->", "getSize", "(", ")", "==", "16", ")", "{", "if", "(", "B", "==", "&", "ARM", "::", "DPR_VFP2RegClass", ")", "return", "&", "ARM", "::", "QPR_VFP2RegClass", ";", "if", "(", "B", "==", "&", "ARM", "::", "DPR_8RegClass", ")", "return", "0", ";", "return", "A", ";", "}", "if", "(", "A", "->", "getSize", "(", ")", "==", "32", ")", "{", "if", "(", "B", "==", "&", "ARM", "::", "DPR_VFP2RegClass", ")", "return", "&", "ARM", "::", "QQPR_VFP2RegClass", ";", "if", "(", "B", "==", "&", "ARM", "::", "DPR_8RegClass", ")", "return", "0", ";", "return", "A", ";", "}", "assert", "(", "A", "->", "getSize", "(", ")", "==", "64", "&&", "\"Expecting a QQQQ register class!\"", ")", ";", "if", "(", "B", "!=", "&", "ARM", "::", "DPRRegClass", ")", "return", "0", ";", "return", "A", ";", "}", "case", "ARM", "::", "dsub_4", ":", "case", "ARM", "::", "dsub_5", ":", "case", "ARM", "::", "dsub_6", ":", "case", "ARM", "::", "dsub_7", ":", "{", "if", "(", "A", "->", "getSize", "(", ")", "==", "64", "&&", "B", "==", "&", "ARM", "::", "DPRRegClass", ")", "return", "A", ";", "return", "0", ";", "}", "case", "ARM", "::", "qsub_0", ":", "case", "ARM", "::", "qsub_1", ":", "{", "if", "(", "A", "->", "getSize", "(", ")", "==", "32", ")", "{", "if", "(", "B", "==", "&", "ARM", "::", "QPR_VFP2RegClass", ")", "return", "&", "ARM", "::", "QQPR_VFP2RegClass", ";", "if", "(", "B", "==", "&", "ARM", "::", "QPR_8RegClass", ")", "return", "0", ";", "return", "A", ";", "}", "assert", "(", "A", "->", "getSize", "(", ")", "==", "64", "&&", "\"Expecting a QQQQ register class!\"", ")", ";", "if", "(", "B", "==", "&", "ARM", "::", "QPRRegClass", ")", "return", "A", ";", "return", "0", ";", "}", "case", "ARM", "::", "qsub_2", ":", "case", "ARM", "::", "qsub_3", ":", "{", "if", "(", "A", "->", "getSize", "(", ")", "==", "64", "&&", "B", "==", "&", "ARM", "::", "QPRRegClass", ")", "return", "A", ";", "return", "0", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["getMatchingSuperRegClass", "-", "Return", "a", "subclass", "of", "the", "specified", "register", "class", "A", "so", "that", "each", "register", "in", "it", "has", "a", "sub-register", "of", "the", "specified", "sub-register", "index", "which", "is", "in", "the", "specified", "register", "class", "B", "."], "TS_V_token": ["ARM", "ARM", "0", "ARM::ssub_0", "ARM::ssub_1", "ARM::ssub_2", "ARM::ssub_3", "8", "ARM::SPR_8RegClass", "ARM::DPR_8RegClass", "ARM::SPRRegClass", "\"Expecting SPR register class!\"", "ARM::DPR_8RegClass", "ARM::DPR_VFP2RegClass", "16", "ARM::SPR_8RegClass", "ARM::QPR_8RegClass", "ARM::QPR_VFP2RegClass", "32", "ARM::SPR_8RegClass", "0", "ARM::QQPR_VFP2RegClass", "64", "\"Expecting a QQQQ register class!\"", "0", "ARM::dsub_0", "ARM::dsub_1", "ARM::dsub_2", "ARM::dsub_3", "16", "ARM::DPR_VFP2RegClass", "ARM::QPR_VFP2RegClass", "ARM::DPR_8RegClass", "0", "32", "ARM::DPR_VFP2RegClass", "ARM::QQPR_VFP2RegClass", "ARM::DPR_8RegClass", "0", "64", "\"Expecting a QQQQ register class!\"", "ARM::DPRRegClass", "0", "ARM::dsub_4", "ARM::dsub_5", "ARM::dsub_6", "ARM::dsub_7", "64", "ARM::DPRRegClass", "0", "ARM::qsub_0", "ARM::qsub_1", "32", "ARM::QPR_VFP2RegClass", "ARM::QQPR_VFP2RegClass", "ARM::QPR_8RegClass", "0", "64", "\"Expecting a QQQQ register class!\"", "ARM::QPRRegClass", "0", "ARM::qsub_2", "ARM::qsub_3", "64", "ARM::QPRRegClass", "0", "0"], "File": "ARMBaseRegisterInfo1", "Func": "getMatchingSuperRegClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18327, "Length": 491, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "altivec_build_resolved_builtin", "(", "tree", "*", "args", ",", "int", "n", ",", "tree", "fntype", ",", "tree", "ret_type", ",", "rs6000_gen_builtins", "bif_id", ",", "rs6000_gen_builtins", "ovld_id", ")", "{", "tree", "argtypes", "=", "TYPE_ARG_TYPES", "(", "fntype", ")", ";", "tree", "arg_type", "[", "MAX_OVLD_ARGS", "]", ";", "tree", "fndecl", "=", "rs6000_builtin_decls", "[", "bif_id", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "n", ";", "i", "++", ")", "{", "arg_type", "[", "i", "]", "=", "TREE_VALUE", "(", "argtypes", ")", ";", "argtypes", "=", "TREE_CHAIN", "(", "argtypes", ")", ";", "}", "if", "(", "n", "==", "3", "&&", "ovld_id", "==", "RS6000_OVLD_VEC_CMPGE_P", "&&", "bif_id", "!=", "RS6000_BIF_VCMPGEFP_P", "&&", "bif_id", "!=", "RS6000_BIF_XVCMPGEDP_P", ")", "{", "std", "::", "swap", "(", "args", "[", "1", "]", ",", "args", "[", "2", "]", ")", ";", "std", "::", "swap", "(", "arg_type", "[", "1", "]", ",", "arg_type", "[", "2", "]", ")", ";", "args", "[", "0", "]", "=", "fold_build2", "(", "BIT_XOR_EXPR", ",", "TREE_TYPE", "(", "args", "[", "0", "]", ")", ",", "args", "[", "0", "]", ",", "build_int_cst", "(", "NULL_TREE", ",", "2", ")", ")", ";", "}", "for", "(", "int", "j", "=", "0", ";", "j", "<", "n", ";", "j", "++", ")", "args", "[", "j", "]", "=", "fully_fold_convert", "(", "arg_type", "[", "j", "]", ",", "args", "[", "j", "]", ")", ";", "gcc_assert", "(", "MAX_OVLD_ARGS", "<=", "4", ")", ";", "tree", "call", ";", "switch", "(", "n", ")", "{", "case", "0", ":", "call", "=", "build_call_expr", "(", "fndecl", ",", "0", ")", ";", "break", ";", "case", "1", ":", "call", "=", "build_call_expr", "(", "fndecl", ",", "1", ",", "args", "[", "0", "]", ")", ";", "break", ";", "case", "2", ":", "call", "=", "build_call_expr", "(", "fndecl", ",", "2", ",", "args", "[", "0", "]", ",", "args", "[", "1", "]", ")", ";", "break", ";", "case", "3", ":", "call", "=", "build_call_expr", "(", "fndecl", ",", "3", ",", "args", "[", "0", "]", ",", "args", "[", "1", "]", ",", "args", "[", "2", "]", ")", ";", "break", ";", "case", "4", ":", "call", "=", "build_call_expr", "(", "fndecl", ",", "4", ",", "args", "[", "0", "]", ",", "args", "[", "1", "]", ",", "args", "[", "2", "]", ",", "args", "[", "3", "]", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "fold_convert", "(", "ret_type", ",", "call", ")", ";", "}", ""], "natrual_language": ["Build", "a", "tree", "for", "a", "function", "call", "to", "an", "Altivec", "non-overloaded", "builtin", ".", "The", "overloaded", "builtin", "that", "matched", "the", "types", "and", "args", "is", "described", "by", "DESC", ".", "The", "N", "arguments", "are", "given", "in", "ARGS", ",", "respectively", ".", "Actually", "the", "only", "thing", "it", "does", "is", "calling", "fold_convert", "on", "ARGS", ",", "with", "a", "small", "exception", "for", "vec_", "{", "all", ",", "any", "}", "_", "{", "ge", ",", "le", "}", "predicates", "."], "TS_V_token": ["rs6000", "0", "3", "1", "2", "1", "2", "0", "0", "0", "2", "0", "4", "0", "0", "1", "1", "0", "2", "2", "0", "1", "3", "3", "0", "1", "2", "4", "4", "0", "1", "2", "3"], "File": "rs6000-c", "Func": "altivec_build_resolved_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18328, "Length": 342, "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": ["powerpcspe", "2", "10000"], "File": "powerpcspe", "Func": "rs6000_finish_cost", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18329, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcAsmPrinter", "::", "isBlockOnlyReachableByFallthrough", "(", "const", "MachineBasicBlock", "*", "MBB", ")", "const", "{", "if", "(", "MBB", "->", "isLandingPad", "(", ")", "||", "MBB", "->", "pred_empty", "(", ")", ")", "return", "false", ";", "MachineBasicBlock", "::", "const_pred_iterator", "PI", "=", "MBB", "->", "pred_begin", "(", ")", ",", "PI2", "=", "PI", ";", "++", "PI2", ";", "if", "(", "PI2", "!=", "MBB", "->", "pred_end", "(", ")", ")", "return", "false", ";", "const", "MachineBasicBlock", "*", "Pred", "=", "*", "PI", ";", "if", "(", "!", "Pred", "->", "isLayoutSuccessor", "(", "MBB", ")", ")", "return", "false", ";", "MachineBasicBlock", "::", "const_iterator", "I", "=", "Pred", "->", "end", "(", ")", ";", "while", "(", "I", "!=", "Pred", "->", "begin", "(", ")", "&&", "!", "(", "--", "I", ")", "->", "isTerminator", "(", ")", ")", ";", "return", "I", "==", "Pred", "->", "end", "(", ")", "||", "!", "I", "->", "isBarrier", "(", ")", ";", "}", ""], "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": ["Sparc", "Sparc"], "File": "SparcAsmPrinter16", "Func": "isBlockOnlyReachableByFallthrough", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18330, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CCAssignFn", "*", "AArch64FastISel", "::", "CCAssignFnForCall", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "if", "(", "CC", "==", "CallingConv", "::", "WebKit_JS", ")", "return", "CC_AArch64_WebKit_JS", ";", "if", "(", "CC", "==", "CallingConv", "::", "GHC", ")", "return", "CC_AArch64_GHC", ";", "return", "Subtarget", "->", "isTargetDarwin", "(", ")", "?", "CC_AArch64_DarwinPCS", ":", "CC_AArch64_AAPCS", ";", "}", ""], "natrual_language": ["Selects", "the", "correct", "CCAssignFn", "for", "a", "given", "CallingConvention", "value", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64FastISel (2)", "Func": "CCAssignFnForCall", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18331, "Length": 47, "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", "::", "tGPRRegClass", "||", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "SrcReg", ")", "&&", "isARMLowRegister", "(", "SrcReg", ")", ")", ")", "&&", "\"Unknown regclass!\"", ")", ";", "if", "(", "RC", "==", "&", "ARM", "::", "tGPRRegClass", "||", "(", "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", "(", "MF", ",", "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::tGPRRegClass", "ARM", "\"Unknown regclass!\"", "ARM::tGPRRegClass", "ARM", "ARM::tSTRspi", "0"], "File": "Thumb1InstrInfo21", "Func": "storeRegToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18332, "Length": 212, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86FastISel", "::", "fastMaterializeFloatZero", "(", "const", "ConstantFP", "*", "CF", ")", "{", "MVT", "VT", ";", "if", "(", "!", "isTypeLegal", "(", "CF", "->", "getType", "(", ")", ",", "VT", ")", ")", "return", "0", ";", "bool", "HasSSE1", "=", "Subtarget", "->", "hasSSE1", "(", ")", ";", "bool", "HasSSE2", "=", "Subtarget", "->", "hasSSE2", "(", ")", ";", "bool", "HasAVX512", "=", "Subtarget", "->", "hasAVX512", "(", ")", ";", "unsigned", "Opc", "=", "0", ";", "switch", "(", "VT", ".", "SimpleTy", ")", "{", "default", ":", "return", "0", ";", "case", "MVT", "::", "f32", ":", "Opc", "=", "HasAVX512", "?", "X86", "::", "AVX512_FsFLD0SS", ":", "HasSSE1", "?", "X86", "::", "FsFLD0SS", ":", "X86", "::", "LD_Fp032", ";", "break", ";", "case", "MVT", "::", "f64", ":", "Opc", "=", "HasAVX512", "?", "X86", "::", "AVX512_FsFLD0SD", ":", "HasSSE2", "?", "X86", "::", "FsFLD0SD", ":", "X86", "::", "LD_Fp064", ";", "break", ";", "case", "MVT", "::", "f80", ":", "return", "0", ";", "}", "Register", "ResultReg", "=", "createResultReg", "(", "TLI", ".", "getRegClassFor", "(", "VT", ")", ")", ";", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "TII", ".", "get", "(", "Opc", ")", ",", "ResultReg", ")", ";", "return", "ResultReg", ";", "}", ""], "natrual_language": ["Emit", "the", "floating-point", "constant", "+0.0", "in", "a", "register", "using", "target-", "specific", "logic", "."], "TS_V_token": ["X86", "X86", "0", "0", "0", "MVT::f32", "X86::AVX512_FsFLD0SS", "X86::FsFLD0SS", "X86::LD_Fp032", "MVT::f64", "X86::AVX512_FsFLD0SD", "X86::FsFLD0SD", "X86::LD_Fp064", "MVT::f80", "0"], "File": "X86FastISel56", "Func": "fastMaterializeFloatZero", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18333, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "SP", "::", "IntRegsRegisterClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "else", "if", "(", "RC", "==", "SP", "::", "FPRegsRegisterClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDFri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "else", "if", "(", "RC", "==", "SP", "::", "DFPRegsRegisterClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDDFri", ")", ",", "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": ["Sparc", "Sparc", "SP::IntRegsRegisterClass", "SP::LDri", "0", "SP::FPRegsRegisterClass", "SP::LDFri", "0", "SP::DFPRegsRegisterClass", "SP::LDDFri", "0", "\"Can't load this register from stack slot\""], "File": "SparcInstrInfo7", "Func": "loadRegFromStackSlot", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18334, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "rs6000_longcall_ref", "(", "rtx", "call_ref", ")", "{", "const", "char", "*", "call_name", ";", "tree", "node", ";", "if", "(", "GET_CODE", "(", "call_ref", ")", "!=", "SYMBOL_REF", ")", "return", "call_ref", ";", "call_name", "=", "XSTR", "(", "call_ref", ",", "0", ")", ";", "if", "(", "*", "call_name", "==", "'.'", ")", "{", "while", "(", "*", "call_name", "==", "'.'", ")", "call_name", "++", ";", "node", "=", "get_identifier", "(", "call_name", ")", ";", "call_ref", "=", "gen_rtx_SYMBOL_REF", "(", "VOIDmode", ",", "IDENTIFIER_POINTER", "(", "node", ")", ")", ";", "}", "return", "force_reg", "(", "Pmode", ",", "call_ref", ")", ";", "}", ""], "natrual_language": ["Return", "a", "reference", "suitable", "for", "calling", "a", "function", "with", "the", "longcall", "attribute", "."], "TS_V_token": ["powerpcspe", "0"], "File": "powerpcspe", "Func": "rs6000_longcall_ref", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18335, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "count_num_restricted", "(", "rtx_insn", "*", "insn", ",", "dispatch_windows", "*", "window_list", ")", "{", "enum", "dispatch_group", "group", "=", "get_insn_group", "(", "insn", ")", ";", "int", "imm_size", ";", "int", "num_imm_operand", ";", "int", "num_imm32_operand", ";", "int", "num_imm64_operand", ";", "if", "(", "group", "==", "disp_no_group", ")", "return", "0", ";", "if", "(", "group", "==", "disp_imm", ")", "{", "imm_size", "=", "get_num_immediates", "(", "insn", ",", "&", "num_imm_operand", ",", "&", "num_imm32_operand", ",", "&", "num_imm64_operand", ")", ";", "if", "(", "window_list", "->", "imm_size", "+", "imm_size", ">", "MAX_IMM_SIZE", "||", "num_imm_operand", "+", "window_list", "->", "num_imm", ">", "MAX_IMM", "||", "(", "num_imm32_operand", ">", "0", "&&", "(", "window_list", "->", "num_imm_32", "+", "num_imm32_operand", ">", "MAX_IMM_32", "||", "window_list", "->", "num_imm_64", "*", "2", "+", "num_imm32_operand", ">", "MAX_IMM_32", ")", ")", "||", "(", "num_imm64_operand", ">", "0", "&&", "(", "window_list", "->", "num_imm_64", "+", "num_imm64_operand", ">", "MAX_IMM_64", "||", "window_list", "->", "num_imm_32", "+", "num_imm64_operand", "*", "2", ">", "MAX_IMM_32", ")", ")", "||", "(", "window_list", "->", "imm_size", "+", "imm_size", "==", "MAX_IMM_SIZE", "&&", "num_imm64_operand", ">", "0", "&&", "(", "(", "window_list", "->", "num_imm_64", ">", "0", "&&", "window_list", "->", "num_insn", ">=", "2", ")", "||", "window_list", "->", "num_insn", ">=", "3", ")", ")", ")", "return", "BIG", ";", "return", "1", ";", "}", "if", "(", "(", "group", "==", "disp_load_store", "&&", "(", "window_list", "->", "num_loads", ">=", "MAX_LOAD", "||", "window_list", "->", "num_stores", ">=", "MAX_STORE", ")", ")", "||", "(", "(", "group", "==", "disp_load", "||", "group", "==", "disp_prefetch", ")", "&&", "window_list", "->", "num_loads", ">=", "MAX_LOAD", ")", "||", "(", "group", "==", "disp_store", "&&", "window_list", "->", "num_stores", ">=", "MAX_STORE", ")", ")", "return", "BIG", ";", "return", "1", ";", "}", ""], "natrual_language": ["Count", "number", "of", "GROUP", "restricted", "instructions", "in", "a", "dispatch", "window", "WINDOW_LIST", "."], "TS_V_token": ["i386", "0", "0", "2", "0", "2", "0", "0", "2", "3", "1", "1"], "File": "i3864", "Func": "count_num_restricted", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18336, "Length": 238, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_pic_register_p", "(", "rtx", "x", ")", "{", "if", "(", "!", "REG_P", "(", "x", ")", "||", "!", "pic_offset_table_rtx", ")", "return", "false", ";", "if", "(", "x", "==", "pic_offset_table_rtx", ")", "return", "true", ";", "if", "(", "!", "HARD_REGISTER_P", "(", "pic_offset_table_rtx", ")", "&&", "(", "HARD_REGISTER_P", "(", "x", ")", "||", "lra_in_progress", ")", "&&", "ORIGINAL_REGNO", "(", "x", ")", "==", "REGNO", "(", "pic_offset_table_rtx", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "representation", "of", "the", "PIC", "register", "."], "TS_V_token": ["sparc"], "File": "sparc7", "Func": "sparc_pic_register_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18337, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_pad_short_function", "(", "void", ")", "{", "edge", "e", ";", "edge_iterator", "ei", ";", "FOR_EACH_EDGE", "(", "e", ",", "ei", ",", "EXIT_BLOCK_PTR_FOR_FN", "(", "cfun", ")", "->", "preds", ")", "{", "rtx_insn", "*", "ret", "=", "BB_END", "(", "e", "->", "src", ")", ";", "if", "(", "JUMP_P", "(", "ret", ")", "&&", "ANY_RETURN_P", "(", "PATTERN", "(", "ret", ")", ")", ")", "{", "int", "insn_count", "=", "ix86_count_insn", "(", "e", "->", "src", ")", ";", "if", "(", "insn_count", "<", "4", ")", "{", "rtx_insn", "*", "insn", "=", "ret", ";", "while", "(", "insn", "&&", "(", "!", "NOTE_P", "(", "insn", ")", "||", "NOTE_KIND", "(", "insn", ")", "!=", "NOTE_INSN_EPILOGUE_BEG", ")", ")", "insn", "=", "PREV_INSN", "(", "insn", ")", ";", "if", "(", "!", "insn", ")", "insn", "=", "ret", ";", "insn_count", "=", "2", "*", "(", "4", "-", "insn_count", ")", ";", "emit_insn_before", "(", "gen_nops", "(", "GEN_INT", "(", "insn_count", ")", ")", ",", "insn", ")", ";", "}", "}", "}", "}", ""], "natrual_language": ["Pad", "short", "function", "to", "4", "instructions", "."], "TS_V_token": ["i386", "4", "2", "4"], "File": "i386", "Func": "ix86_pad_short_function", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18338, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SystemZInstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "INLINEASM", ")", "{", "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": "SystemZInstrInfo (2)2", "Func": "getInstSizeInBytes", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18339, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "unsigned", "long", "ia64_rse_slot_num", "(", "unsigned", "long", "*", "addr", ")", "{", "return", "(", "(", "(", "unsigned", "long", ")", "addr", ")", ">>", "3", ")", "&", "0x3f", ";", "}", ""], "natrual_language": ["RSE", "helper", "functions", "."], "TS_V_token": ["ia64", "3", "0x3f"], "File": "unwind-ia64", "Func": "ia64_rse_slot_num", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18340, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "rs6000_build_builtin_va_list", "(", "void", ")", "{", "tree", "f_gpr", ",", "f_fpr", ",", "f_res", ",", "f_ovf", ",", "f_sav", ",", "record", ",", "type_decl", ";", "if", "(", "DEFAULT_ABI", "!=", "ABI_V4", ")", "return", "build_pointer_type", "(", "char_type_node", ")", ";", "record", "=", "(", "*", "lang_hooks", ".", "types", ".", "make_type", ")", "(", "RECORD_TYPE", ")", ";", "type_decl", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "TYPE_DECL", ",", "get_identifier", "(", "\"__va_list_tag\"", ")", ",", "record", ")", ";", "f_gpr", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"gpr\"", ")", ",", "unsigned_char_type_node", ")", ";", "f_fpr", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"fpr\"", ")", ",", "unsigned_char_type_node", ")", ";", "f_res", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"reserved\"", ")", ",", "short_unsigned_type_node", ")", ";", "f_ovf", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"overflow_arg_area\"", ")", ",", "ptr_type_node", ")", ";", "f_sav", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "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_res", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_ovf", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_sav", ")", "=", "record", ";", "TYPE_STUB_DECL", "(", "record", ")", "=", "type_decl", ";", "TYPE_NAME", "(", "record", ")", "=", "type_decl", ";", "TYPE_FIELDS", "(", "record", ")", "=", "f_gpr", ";", "DECL_CHAIN", "(", "f_gpr", ")", "=", "f_fpr", ";", "DECL_CHAIN", "(", "f_fpr", ")", "=", "f_res", ";", "DECL_CHAIN", "(", "f_res", ")", "=", "f_ovf", ";", "DECL_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": ["rs6000", "\"__va_list_tag\"", "\"gpr\"", "\"fpr\"", "\"reserved\"", "\"overflow_arg_area\"", "\"reg_save_area\""], "File": "rs6000-call", "Func": "rs6000_build_builtin_va_list", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18341, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_darwin_file_start", "(", "void", ")", "{", "static", "const", "struct", "{", "const", "char", "*", "arg", ";", "const", "char", "*", "name", ";", "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", "(", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "rs6000_select", ")", ";", "i", "++", ")", "if", "(", "rs6000_select", "[", "i", "]", ".", "set_arch_p", "&&", "rs6000_select", "[", "i", "]", ".", "string", "&&", "rs6000_select", "[", "i", "]", ".", "string", "[", "0", "]", "!=", "'\\0'", ")", "cpu_id", "=", "rs6000_select", "[", "i", "]", ".", "string", ";", "i", "=", "0", ";", "while", "(", "mapping", "[", "i", "]", ".", "arg", "!=", "NULL", "&&", "strcmp", "(", "mapping", "[", "i", "]", ".", "arg", ",", "cpu_id", ")", "!=", "0", "&&", "(", "mapping", "[", "i", "]", ".", "if_set", "&", "target_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": "rs60003", "Func": "rs6000_darwin_file_start", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18342, "Length": 290, "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": 18343, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "dimode_scalar_chain", "::", "vector_const_cost", "(", "rtx", "exp", ")", "{", "gcc_assert", "(", "CONST_INT_P", "(", "exp", ")", ")", ";", "if", "(", "standard_sse_constant_p", "(", "exp", ",", "V2DImode", ")", ")", "return", "COSTS_N_INSNS", "(", "1", ")", ";", "return", "ix86_cost", "->", "sse_load", "[", "1", "]", ";", "}", ""], "natrual_language": ["Return", "a", "cost", "of", "building", "a", "vector", "costant", "instead", "of", "using", "a", "scalar", "one", "."], "TS_V_token": ["i386", "1", "1"], "File": "i3866", "Func": "vector_const_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18344, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"Mips Long Branch\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"Mips Long Branch\""], "File": "MipsLongBranch", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18345, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_emit_atomic_swap", "(", "machine_mode", "mode", ",", "rtx", "dst", ",", "rtx", "value", ",", "rtx", "mem", ",", "rtx", "model", ")", "{", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "gen", "=", "gen_aarch64_atomic_swpqi", ";", "break", ";", "case", "E_HImode", ":", "gen", "=", "gen_aarch64_atomic_swphi", ";", "break", ";", "case", "E_SImode", ":", "gen", "=", "gen_aarch64_atomic_swpsi", ";", "break", ";", "case", "E_DImode", ":", "gen", "=", "gen_aarch64_atomic_swpdi", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "emit_insn", "(", "gen", "(", "dst", ",", "mem", ",", "value", ",", "model", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "atomic", "swap", "."], "TS_V_token": ["aarch64"], "File": "aarch645", "Func": "aarch64_emit_atomic_swap", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18346, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "analyzeBranchPredicate", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBranchPredicate", "&", "MBP", ",", "bool", "AllowModify", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "end", "(", ")", ")", "return", "true", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "AArch64", "::", "SpeculationBarrierISBDSBEndBB", "||", "I", "->", "getOpcode", "(", ")", "==", "AArch64", "::", "SpeculationBarrierSBEndBB", ")", "{", "--", "I", ";", "}", "if", "(", "!", "isUnpredicatedTerminator", "(", "*", "I", ")", ")", "return", "true", ";", "MachineInstr", "*", "LastInst", "=", "&", "*", "I", ";", "unsigned", "LastOpc", "=", "LastInst", "->", "getOpcode", "(", ")", ";", "if", "(", "!", "isCondBranchOpcode", "(", "LastOpc", ")", ")", "return", "true", ";", "switch", "(", "LastOpc", ")", "{", "default", ":", "return", "true", ";", "case", "AArch64", "::", "CBZW", ":", "case", "AArch64", "::", "CBZX", ":", "case", "AArch64", "::", "CBNZW", ":", "case", "AArch64", "::", "CBNZX", ":", "break", ";", "}", ";", "MBP", ".", "TrueDest", "=", "LastInst", "->", "getOperand", "(", "1", ")", ".", "getMBB", "(", ")", ";", "assert", "(", "MBP", ".", "TrueDest", "&&", "\"expected!\"", ")", ";", "MBP", ".", "FalseDest", "=", "MBB", ".", "getNextNode", "(", ")", ";", "MBP", ".", "ConditionDef", "=", "nullptr", ";", "MBP", ".", "SingleUseCondition", "=", "false", ";", "MBP", ".", "LHS", "=", "LastInst", "->", "getOperand", "(", "0", ")", ";", "MBP", ".", "RHS", "=", "MachineOperand", "::", "CreateImm", "(", "0", ")", ";", "MBP", ".", "Predicate", "=", "LastOpc", "==", "AArch64", "::", "CBNZX", "?", "MachineBranchPredicate", "::", "PRED_NE", ":", "MachineBranchPredicate", "::", "PRED_EQ", ";", "return", "false", ";", "}", ""], "natrual_language": ["Analyze", "the", "branching", "code", "at", "the", "end", "of", "MBB", "and", "parse", "it", "into", "the", "MachineBranchPredicate", "structure", "if", "possible", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::SpeculationBarrierISBDSBEndBB", "AArch64::SpeculationBarrierSBEndBB", "AArch64::CBZW", "AArch64::CBZX", "AArch64::CBNZW", "AArch64::CBNZX", "1", "\"expected!\"", "0", "0", "AArch64::CBNZX"], "File": "AArch64InstrInfo105", "Func": "analyzeBranchPredicate", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18347, "Length": 233, "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": 18348, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", "ATTRIBUTE_UNUSED", ")", "{", "return", "(", "1", "&&", "(", "!", "TARGET_SHCOMPACT", "||", "current_function_args_info", ".", "stack_regs", "==", "0", ")", "&&", "!", "sh_cfun_interrupt_handler_p", "(", ")", "&&", "(", "!", "flag_pic", "||", "(", "decl", "&&", "!", "TREE_PUBLIC", "(", "decl", ")", ")", "||", "(", "decl", "&&", "DECL_VISIBILITY", "(", "decl", ")", "!=", "VISIBILITY_DEFAULT", ")", ")", ")", ";", "}", ""], "natrual_language": ["If", "PIC", ",", "we", "can", "not", "make", "sibling", "calls", "to", "global", "functions", "because", "the", "PLT", "requires", "r12", "to", "be", "live", "."], "TS_V_token": ["sh", "1", "0"], "File": "sh3", "Func": "sh_function_ok_for_sibcall", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18349, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_code_label", "*", "add_constant", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "rtx", "last_value", ")", "{", "int", "i", ";", "rtx_code_label", "*", "lab", ",", "*", "new_rtx", ";", "label_ref_list_t", "ref", ",", "newref", ";", "for", "(", "i", "=", "0", ";", "i", "<", "pool_size", ";", "i", "++", ")", "{", "if", "(", "x", "->", "code", "==", "pool_vector", "[", "i", "]", ".", "value", "->", "code", "&&", "mode", "==", "pool_vector", "[", "i", "]", ".", "mode", ")", "{", "if", "(", "x", "->", "code", "==", "CODE_LABEL", ")", "{", "if", "(", "XINT", "(", "x", ",", "3", ")", "!=", "XINT", "(", "pool_vector", "[", "i", "]", ".", "value", ",", "3", ")", ")", "continue", ";", "}", "if", "(", "rtx_equal_p", "(", "x", ",", "pool_vector", "[", "i", "]", ".", "value", ")", ")", "{", "lab", "=", "new_rtx", "=", "0", ";", "if", "(", "!", "last_value", "||", "!", "i", "||", "!", "rtx_equal_p", "(", "last_value", ",", "pool_vector", "[", "i", "-", "1", "]", ".", "value", ")", ")", "{", "new_rtx", "=", "gen_label_rtx", "(", ")", ";", "LABEL_REFS", "(", "new_rtx", ")", "=", "pool_vector", "[", "i", "]", ".", "label", ";", "pool_vector", "[", "i", "]", ".", "label", "=", "lab", "=", "new_rtx", ";", "}", "if", "(", "lab", "&&", "pool_window_label", ")", "{", "newref", "=", "(", "label_ref_list_t", ")", "pool_alloc", "(", "label_ref_list_pool", ")", ";", "newref", "->", "label", "=", "pool_window_label", ";", "ref", "=", "pool_vector", "[", "pool_window_last", "]", ".", "wend", ";", "newref", "->", "next", "=", "ref", ";", "pool_vector", "[", "pool_window_last", "]", ".", "wend", "=", "newref", ";", "}", "if", "(", "new_rtx", ")", "pool_window_label", "=", "new_rtx", ";", "pool_window_last", "=", "i", ";", "return", "lab", ";", "}", "}", "}", "pool_vector", "[", "pool_size", "]", ".", "value", "=", "x", ";", "if", "(", "last_value", "&&", "rtx_equal_p", "(", "last_value", ",", "pool_vector", "[", "pool_size", "-", "1", "]", ".", "value", ")", ")", "{", "lab", "=", "0", ";", "pool_vector", "[", "pool_size", "-", "1", "]", ".", "part_of_sequence_p", "=", "true", ";", "}", "else", "lab", "=", "gen_label_rtx", "(", ")", ";", "pool_vector", "[", "pool_size", "]", ".", "mode", "=", "mode", ";", "pool_vector", "[", "pool_size", "]", ".", "label", "=", "lab", ";", "pool_vector", "[", "pool_size", "]", ".", "wend", "=", "NULL", ";", "pool_vector", "[", "pool_size", "]", ".", "part_of_sequence_p", "=", "(", "lab", "==", "0", ")", ";", "if", "(", "lab", "&&", "pool_window_label", ")", "{", "newref", "=", "(", "label_ref_list_t", ")", "pool_alloc", "(", "label_ref_list_pool", ")", ";", "newref", "->", "label", "=", "pool_window_label", ";", "ref", "=", "pool_vector", "[", "pool_window_last", "]", ".", "wend", ";", "newref", "->", "next", "=", "ref", ";", "pool_vector", "[", "pool_window_last", "]", ".", "wend", "=", "newref", ";", "}", "if", "(", "lab", ")", "pool_window_label", "=", "lab", ";", "pool_window_last", "=", "pool_size", ";", "pool_size", "++", ";", "return", "lab", ";", "}", ""], "natrual_language": ["Add", "a", "constant", "to", "the", "pool", "and", "return", "its", "label", "."], "TS_V_token": ["sh", "0", "3", "3", "0", "1", "1", "0", "1", "0"], "File": "sh4", "Func": "add_constant", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18350, "Length": 401, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "push_regs", "(", "HARD_REG_SET", "*", "mask", ",", "bool", "interrupt_handler", ")", "{", "bool", "skip_fpscr", "=", "false", ";", "for", "(", "int", "i", "=", "interrupt_handler", "?", "LAST_BANKED_REG", "+", "1", ":", "0", ";", "i", "<", "FIRST_PSEUDO_REGISTER", ";", "i", "++", ")", "{", "if", "(", "i", "==", "FIRST_FP_REG", "&&", "interrupt_handler", "&&", "TARGET_FMOVD", "&&", "hard_reg_set_intersect_p", "(", "*", "mask", ",", "reg_class_contents", "[", "DF_REGS", "]", ")", ")", "{", "push", "(", "FPSCR_REG", ")", ";", "fpscr_set_from_mem", "(", "NORMAL_MODE", "(", "FP_MODE", ")", ",", "~", "*", "mask", ")", ";", "skip_fpscr", "=", "true", ";", "}", "if", "(", "i", "!=", "PR_REG", "&&", "(", "i", "!=", "FPSCR_REG", "||", "!", "skip_fpscr", ")", "&&", "TEST_HARD_REG_BIT", "(", "*", "mask", ",", "i", ")", ")", "{", "if", "(", "!", "(", "sh_cfun_resbank_handler_p", "(", ")", "&&", "(", "(", "i", ">=", "FIRST_GENERAL_REG", "&&", "i", "<", "LAST_GENERAL_REG", ")", "||", "i", "==", "MACH_REG", "||", "i", "==", "MACL_REG", "||", "i", "==", "GBR_REG", ")", ")", ")", "push", "(", "i", ")", ";", "}", "}", "if", "(", "interrupt_handler", ")", "{", "bool", "use_movml", "=", "false", ";", "if", "(", "TARGET_SH2A", ")", "{", "unsigned", "int", "count", "=", "0", ";", "for", "(", "int", "i", "=", "FIRST_BANKED_REG", ";", "i", "<=", "LAST_BANKED_REG", ";", "i", "++", ")", "if", "(", "TEST_HARD_REG_BIT", "(", "*", "mask", ",", "i", ")", ")", "count", "++", ";", "else", "break", ";", "if", "(", "count", "==", "LAST_BANKED_REG", "-", "FIRST_BANKED_REG", "+", "1", ")", "use_movml", "=", "true", ";", "}", "if", "(", "sh_cfun_resbank_handler_p", "(", ")", ")", ";", "else", "if", "(", "use_movml", ")", "{", "rtx", "x", ",", "mem", ",", "reg", ",", "set", ";", "rtx", "sp_reg", "=", "gen_rtx_REG", "(", "SImode", ",", "STACK_POINTER_REGNUM", ")", ";", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "x", "=", "gen_movml_push_banked", "(", "sp_reg", ")", ";", "x", "=", "emit_frame_insn", "(", "x", ")", ";", "for", "(", "int", "i", "=", "FIRST_BANKED_REG", ";", "i", "<=", "LAST_BANKED_REG", ";", "i", "++", ")", "{", "mem", "=", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "sp_reg", ",", "i", "*", "4", ")", ")", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "i", ")", ";", "add_reg_note", "(", "x", ",", "REG_CFA_OFFSET", ",", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ")", ";", "}", "set", "=", "gen_rtx_SET", "(", "sp_reg", ",", "plus_constant", "(", "Pmode", ",", "sp_reg", ",", "-", "32", ")", ")", ";", "add_reg_note", "(", "x", ",", "REG_CFA_ADJUST_CFA", ",", "set", ")", ";", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", "else", "for", "(", "int", "i", "=", "FIRST_BANKED_REG", ";", "i", "<=", "LAST_BANKED_REG", ";", "i", "++", ")", "if", "(", "TEST_HARD_REG_BIT", "(", "*", "mask", ",", "i", ")", ")", "push", "(", "i", ")", ";", "}", "if", "(", "TEST_HARD_REG_BIT", "(", "*", "mask", ",", "PR_REG", ")", "&&", "!", "sh_cfun_resbank_handler_p", "(", ")", ")", "push", "(", "PR_REG", ")", ";", "}", ""], "natrual_language": ["Generate", "code", "to", "push", "the", "regs", "specified", "in", "the", "mask", ".", "remember", "that", "the", "mask", "is", "of", "the", "internal", "shape", "of", "the", "regs", ",", "not", "the", "external", "shape", "-", "so", "go", "through", "the", "renumber", "vector"], "TS_V_token": ["sh", "1", "0", "0", "1", "4", "32"], "File": "sh", "Func": "push_regs", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18351, "Length": 408, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 LEA Fixup\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 LEA Fixup\""], "File": "X86FixupLEAs (2)", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18352, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "isSchedulingBoundary", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineBasicBlock", "*", "MBB", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "PPC", "::", "MFFS", "||", "MI", ".", "getOpcode", "(", ")", "==", "PPC", "::", "MTFSF", ")", "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": ["PowerPC", "PPC", "PPC::MFFS", "PPC::MTFSF"], "File": "PPCInstrInfo", "Func": "isSchedulingBoundary", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18353, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "fold_build_vec_cmp", "(", "tree_code", "code", ",", "tree", "type", ",", "tree", "arg0", ",", "tree", "arg1", ")", "{", "tree", "cmp_type", "=", "build_same_sized_truth_vector_type", "(", "type", ")", ";", "tree", "zero_vec", "=", "build_zero_cst", "(", "type", ")", ";", "tree", "minus_one_vec", "=", "build_minus_one_cst", "(", "type", ")", ";", "tree", "cmp", "=", "fold_build2", "(", "code", ",", "cmp_type", ",", "arg0", ",", "arg1", ")", ";", "return", "fold_build3", "(", "VEC_COND_EXPR", ",", "type", ",", "cmp", ",", "minus_one_vec", ",", "zero_vec", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "handle", "the", "gimple", "folding", "of", "a", "vector", "compare", "operation", ".", "This", "sets", "up", "true/false", "vectors", ",", "and", "uses", "the", "VEC_COND_EXPR", "operation", ".", "CODE", "indicates", "which", "comparison", "is", "to", "be", "made", ".", "(", "EQ", ",", "GT", ",", "...", ")", ".", "TYPE", "indicates", "the", "type", "of", "the", "result", "."], "TS_V_token": ["rs6000"], "File": "rs60007", "Func": "fold_build_vec_cmp", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18354, "Length": 70, "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", "(", ")", ")", ";", "}", "else", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "SystemZ", "::", "PATCHPOINT", ")", "return", "PatchPointOpers", "(", "&", "MI", ")", ".", "getNumPatchBytes", "(", ")", ";", "else", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "SystemZ", "::", "STACKMAP", ")", "return", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "else", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "SystemZ", "::", "FENTRY_CALL", ")", "return", "6", ";", "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", "SystemZ::PATCHPOINT", "SystemZ::STACKMAP", "1", "SystemZ::FENTRY_CALL", "6"], "File": "SystemZInstrInfo16", "Func": "getInstSizeInBytes", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18355, "Length": 147, "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", ")", ",", "IsGigaProcessor", "(", "false", ")", ",", "Has64BitSupport", "(", "false", ")", ",", "Use64BitRegs", "(", "false", ")", ",", "IsPPC64", "(", "is64Bit", ")", ",", "HasAltivec", "(", "false", ")", ",", "HasFSQRT", "(", "false", ")", ",", "HasSTFIWX", "(", "false", ")", ",", "HasLazyResolverStubs", "(", "false", ")", ",", "IsJITCodeModel", "(", "false", ")", ",", "TargetTriple", "(", "TT", ")", "{", "std", "::", "string", "CPUName", "=", "CPU", ";", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", "=", "\"generic\"", ";", "if", "(", "CPUName", "==", "\"generic\"", ")", "CPUName", "=", "GetCurrentPowerPCCPU", "(", ")", ";", "ParseSubtargetFeatures", "(", "CPUName", ",", "FS", ")", ";", "InstrItins", "=", "getInstrItineraryForCPU", "(", "CPUName", ")", ";", "if", "(", "is64Bit", ")", "{", "Has64BitSupport", "=", "true", ";", "Use64BitRegs", "=", "true", ";", "}", "if", "(", "use64BitRegs", "(", ")", "&&", "!", "has64BitSupport", "(", ")", ")", "Use64BitRegs", "=", "false", ";", "if", "(", "isDarwin", "(", ")", ")", "HasLazyResolverStubs", "=", "true", ";", "}", ""], "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\""], "File": "PPCSubtarget68", "Func": "PPCSubtarget", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18356, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mmix_legitimate_address_p", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ",", "bool", "strict_checking", ")", "{", "(", "(", "strict_checking", "\\", "&&", "(", "REGNO", "(", "X", ")", "<=", "MMIX_LAST_GENERAL_REGISTER", "\\", "||", "(", "reg_renumber", "[", "REGNO", "(", "X", ")", "]", ">", "0", "\\", "&&", "reg_renumber", "[", "REGNO", "(", "X", ")", "]", "<=", "MMIX_LAST_GENERAL_REGISTER", ")", ")", ")", "\\", "||", "(", "!", "strict_checking", "\\", "&&", "(", "REGNO", "(", "X", ")", "<=", "MMIX_LAST_GENERAL_REGISTER", "\\", "||", "REGNO", "(", "X", ")", ">=", "FIRST_PSEUDO_REGISTER", "\\", "||", "REGNO", "(", "X", ")", "==", "ARG_POINTER_REGNUM", ")", ")", ")", "if", "(", "REG_P", "(", "x", ")", "&&", "MMIX_REG_OK", "(", "x", ")", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "{", "rtx", "x1", "=", "XEXP", "(", "x", ",", "0", ")", ";", "rtx", "x2", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "!", "REG_P", "(", "x1", ")", ")", "{", "rtx", "tem", "=", "x1", ";", "x1", "=", "x2", ";", "x2", "=", "tem", ";", "}", "if", "(", "!", "REG_P", "(", "x1", ")", "||", "!", "MMIX_REG_OK", "(", "x1", ")", ")", "return", "TARGET_BASE_ADDRESSES", "&&", "mmix_constant_address_p", "(", "x", ")", ";", "if", "(", "REG_P", "(", "x2", ")", "&&", "MMIX_REG_OK", "(", "x2", ")", ")", "return", "1", ";", "if", "(", "satisfies_constraint_I", "(", "x2", ")", ")", "return", "1", ";", "return", "0", ";", "}", "return", "TARGET_BASE_ADDRESSES", "&&", "mmix_constant_address_p", "(", "x", ")", ";", "}", ""], "natrual_language": ["Return", "1", "if", "the", "address", "is", "OK", ",", "otherwise", "0", "."], "TS_V_token": ["mmix", "0", "1", "0", "1", "1", "1", "0"], "File": "mmix", "Func": "mmix_legitimate_address_p", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18357, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64SelectionDAGInfo", "::", "EmitTargetCodeForMemmove", "(", "SelectionDAG", "&", "DAG", ",", "const", "SDLoc", "&", "dl", ",", "SDValue", "Chain", ",", "SDValue", "Dst", ",", "SDValue", "Src", ",", "SDValue", "Size", ",", "Align", "Alignment", ",", "bool", "isVolatile", ",", "MachinePointerInfo", "DstPtrInfo", ",", "MachinePointerInfo", "SrcPtrInfo", ")", "const", "{", "const", "AArch64Subtarget", "&", "STI", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ";", "if", "(", "STI", ".", "hasMOPS", "(", ")", ")", "{", "return", "EmitMOPS", "(", "AArch64ISD", "::", "MOPS_MEMMOVE", ",", "DAG", ",", "dl", ",", "Chain", ",", "Dst", ",", "Src", ",", "Size", ",", "Alignment", ",", "isVolatile", ",", "DstPtrInfo", ",", "SrcPtrInfo", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memmove", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64ISD::MOPS_MEMMOVE"], "File": "AArch64SelectionDAGInfo25", "Func": "EmitTargetCodeForMemmove", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18358, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZInstPrinter", "::", "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": ["SystemZ", "SystemZ"], "File": "SystemZInstPrinter14", "Func": "printInst", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18359, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_set_reg_reg_piece_cost", "(", "machine_mode", "mode", ",", "unsigned", "int", "units", ")", "{", "return", "COSTS_N_INSNS", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "units", "-", "1", ")", "/", "units", ")", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "moving", "between", "two", "registers", "of", "mode", "MODE", ",", "assuming", "that", "the", "move", "will", "be", "in", "pieces", "of", "at", "most", "UNITS", "bytes", "."], "TS_V_token": ["mips", "1"], "File": "mips", "Func": "mips_set_reg_reg_piece_cost", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18360, "Length": 30, "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!\"", ")", ";", "}", "DOUT", "<<", "\"\\nFunction : \"", "<<", "MF", ".", "getFunction", "(", ")", "->", "getName", "(", ")", "<<", "\"\\n\"", ";", "DOUT", "<<", "\"<--------->\\n\"", ";", "MI", ".", "print", "(", "DOUT", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "getIndex", "(", ")", ";", "int", "stackSize", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "int", "spOffset", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FrameIndex", ")", ";", "DOUT", "<<", "\"FrameIndex : \"", "<<", "FrameIndex", "<<", "\"\\n\"", ";", "DOUT", "<<", "\"spOffset : \"", "<<", "spOffset", "<<", "\"\\n\"", ";", "DOUT", "<<", "\"stackSize : \"", "<<", "stackSize", "<<", "\"\\n\"", ";", "int", "Offset", "=", "(", "(", "spOffset", "<", "0", ")", "?", "(", "stackSize", "+", "(", "-", "(", "spOffset", "+", "4", ")", ")", ")", ":", "(", "spOffset", ")", ")", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "i", "-", "1", ")", ".", "getImm", "(", ")", ";", "DOUT", "<<", "\"Offset : \"", "<<", "Offset", "<<", "\"\\n\"", ";", "DOUT", "<<", "\"<--------->\\n\"", ";", "MI", ".", "getOperand", "(", "i", "-", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "getFrameRegister", "(", "MF", ")", ",", "false", ")", ";", "}", ""], "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\"", "1"], "File": "MipsRegisterInfo18", "Func": "eliminateFrameIndex", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18361, "Length": 257, "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": 18362, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMConstantIslands", "::", "verify", "(", ")", "{", "for", "(", "MachineFunction", "::", "iterator", "MBBI", "=", "MF", "->", "begin", "(", ")", ",", "E", "=", "MF", "->", "end", "(", ")", ";", "MBBI", "!=", "E", ";", "++", "MBBI", ")", "{", "MachineBasicBlock", "*", "MBB", "=", "MBBI", ";", "unsigned", "MBBId", "=", "MBB", "->", "getNumber", "(", ")", ";", "assert", "(", "!", "MBBId", "||", "BBInfo", "[", "MBBId", "-", "1", "]", ".", "postOffset", "(", ")", "<=", "BBInfo", "[", "MBBId", "]", ".", "Offset", ")", ";", "}", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Verifying \"", "<<", "CPUsers", ".", "size", "(", ")", "<<", "\" CP users.\\n\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CPUsers", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CPUser", "&", "U", "=", "CPUsers", "[", "i", "]", ";", "unsigned", "UserOffset", "=", "getUserOffset", "(", "U", ")", ";", "if", "(", "isCPEntryInRange", "(", "U", ".", "MI", ",", "UserOffset", ",", "U", ".", "CPEMI", ",", "U", ".", "getMaxDisp", "(", ")", "+", "2", ",", "U", ".", "NegOk", ",", "true", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"OK\\n\"", ")", ";", "continue", ";", "}", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Out of range.\\n\"", ")", ";", "dumpBBs", "(", ")", ";", "DEBUG", "(", "MF", "->", "dump", "(", ")", ")", ";", "llvm_unreachable", "(", "\"Constant pool entry out of range!\"", ")", ";", "}", "}", ""], "natrual_language": ["Check", "if", "this", "register", "bank", "is", "valid", "."], "TS_V_token": ["ARM", "ARM", "1", "\"Verifying \"", "\" CP users.\\n\"", "0", "2", "\"OK\\n\"", "\"Out of range.\\n\"", "\"Constant pool entry out of range!\""], "File": "ARMConstantIslandPass12", "Func": "verify", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18363, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "nds32_expand_load_multiple", "(", "int", "base_regno", ",", "int", "count", ",", "rtx", "base_addr", ",", "rtx", "basemem", ")", "{", "int", "par_index", ";", "int", "offset", ";", "rtx", "result", ";", "rtx", "new_addr", ",", "mem", ",", "reg", ";", "result", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "count", ")", ")", ";", "for", "(", "par_index", "=", "0", ";", "par_index", "<", "count", ";", "par_index", "++", ")", "{", "offset", "=", "par_index", "*", "4", ";", "new_addr", "=", "plus_constant", "(", "Pmode", ",", "base_addr", ",", "offset", ")", ";", "mem", "=", "adjust_automodify_address_nv", "(", "basemem", ",", "SImode", ",", "new_addr", ",", "offset", ")", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "base_regno", "+", "par_index", ")", ";", "XVECEXP", "(", "result", ",", "0", ",", "par_index", ")", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "reg", ",", "mem", ")", ";", "}", "return", "result", ";", "}", ""], "natrual_language": ["Functions", "to", "expand", "load_multiple", "and", "store_multiple", ".", "They", "are", "auxiliary", "extern", "functions", "to", "help", "create", "rtx", "template", ".", "Check", "nds32-multiple.md", "file", "for", "the", "patterns", "."], "TS_V_token": ["nds32", "0", "4", "0"], "File": "nds32-memory-manipulation2", "Func": "nds32_expand_load_multiple", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18364, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "constant_address_p", "(", "rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "LABEL_REF", ":", "case", "CONST_INT", ":", "case", "HIGH", ":", "return", "true", ";", "case", "CONST", ":", "if", "(", "flag_pic", "&&", "pic_address_needs_scratch", "(", "x", ")", ")", "return", "false", ";", "return", "sparc_legitimate_constant_p", "(", "Pmode", ",", "x", ")", ";", "case", "SYMBOL_REF", ":", "return", "!", "flag_pic", "&&", "sparc_legitimate_constant_p", "(", "Pmode", ",", "x", ")", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Determine", "if", "a", "given", "RTX", "is", "a", "valid", "constant", "address", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "constant_address_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18365, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "X86TargetLowering", "::", "shouldExpandAtomicLoadInIR", "(", "LoadInst", "*", "LI", ")", "const", "{", "Type", "*", "MemType", "=", "LI", "->", "getType", "(", ")", ";", "bool", "NoImplicitFloatOps", "=", "LI", "->", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ";", "if", "(", "MemType", "->", "getPrimitiveSizeInBits", "(", ")", "==", "64", "&&", "!", "Subtarget", ".", "is64Bit", "(", ")", "&&", "!", "Subtarget", ".", "useSoftFloat", "(", ")", "&&", "!", "NoImplicitFloatOps", "&&", "Subtarget", ".", "hasSSE2", "(", ")", ")", "return", "AtomicExpansionKind", "::", "None", ";", "return", "needsCmpXchgNb", "(", "MemType", ")", "?", "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", "64"], "File": "X86ISelLowering202", "Func": "shouldExpandAtomicLoadInIR", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18366, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "rs6000_parm_start", "(", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "unsigned", "int", "nwords", ")", "{", "unsigned", "int", "align", ";", "unsigned", "int", "parm_offset", ";", "align", "=", "function_arg_boundary", "(", "mode", ",", "type", ")", "/", "PARM_BOUNDARY", "-", "1", ";", "parm_offset", "=", "DEFAULT_ABI", "==", "ABI_V4", "?", "2", ":", "6", ";", "return", "nwords", "+", "(", "-", "(", "parm_offset", "+", "nwords", ")", "&", "align", ")", ";", "}", ""], "natrual_language": ["For", "a", "function", "parm", "of", "MODE", "and", "TYPE", ",", "return", "the", "starting", "word", "in", "the", "parameter", "area", ".", "NWORDS", "of", "the", "parameter", "area", "are", "already", "used", "."], "TS_V_token": ["rs6000", "1", "2", "6"], "File": "rs60003", "Func": "rs6000_parm_start", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18367, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "enableIndirectBrExpand", "(", ")", "const", "override", "{", "return", "useRetpolineIndirectBranches", "(", ")", ";", "}", ""], "natrual_language": ["If", "we", "are", "using", "indirect", "thunks", ",", "we", "need", "to", "expand", "indirectbr", "to", "avoid", "it", "lowering", "to", "an", "actual", "indirect", "jump", "."], "TS_V_token": ["X86"], "File": "X86Subtarget100", "Func": "enableIndirectBrExpand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18368, "Length": 13, "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", ";", "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": "i3864", "Func": "ix86_expand_strlen", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18369, "Length": 267, "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": 18370, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "function_arg_vector_value", "(", "int", "size", ",", "int", "slotno", ",", "bool", "named", ",", "int", "regno", ")", "{", "const", "int", "mult", "=", "(", "named", "?", "2", ":", "1", ")", ";", "unsigned", "int", "nwords", ";", "if", "(", "slotno", "==", "(", "named", "?", "SPARC_FP_ARG_MAX", ":", "SPARC_INT_ARG_MAX", ")", "-", "1", ")", "nwords", "=", "1", ";", "else", "nwords", "=", "CEIL_NWORDS", "(", "size", ")", ";", "rtx", "regs", "=", "gen_rtx_PARALLEL", "(", "BLKmode", ",", "rtvec_alloc", "(", "nwords", ")", ")", ";", "if", "(", "size", "<", "UNITS_PER_WORD", ")", "XVECEXP", "(", "regs", ",", "0", ",", "0", ")", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ",", "const0_rtx", ")", ";", "else", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "nwords", ";", "i", "++", ")", "XVECEXP", "(", "regs", ",", "0", ",", "i", ")", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "word_mode", ",", "regno", "+", "i", "*", "mult", ")", ",", "GEN_INT", "(", "i", "*", "UNITS_PER_WORD", ")", ")", ";", "return", "regs", ";", "}", ""], "natrual_language": ["Used", "by", "function_arg", "and", "sparc_function_value_1", "to", "implement", "the", "conventions", "for", "passing", "and", "returning", "BLKmode", "vectors", ".", "Return", "an", "expression", "valid", "as", "a", "return", "value", "for", "the", "FUNCTION_ARG", "and", "TARGET_FUNCTION_VALUE", ".", "SIZE", "is", "the", "size", "in", "bytes", "of", "the", "vector", ".", "REGNO", "is", "the", "FP", "hard", "register", "the", "vector", "will", "be", "passed", "in", "."], "TS_V_token": ["sparc", "2", "1", "1", "1", "0", "0", "0", "0"], "File": "sparc", "Func": "function_arg_vector_value", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18371, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64TargetMachine", "::", "AArch64TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "LittleEndian", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ",", "LittleEndian", ")", ",", "usingPBQP", "(", "false", ")", "{", "initAsmInfo", "(", ")", ";", "if", "(", "EnablePBQP", "&&", "Subtarget", ".", "isCortexA57", "(", ")", "&&", "OL", "!=", "CodeGenOpt", "::", "None", ")", "{", "usingPBQP", "=", "true", ";", "RegisterRegAlloc", "::", "setDefault", "(", "createAArch64A57PBQPRegAlloc", ")", ";", "}", "}", ""], "natrual_language": ["Create", "an", "AArch64", "architecture", "model", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine77", "Func": "AArch64TargetMachine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18372, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MicroMipsSizeReduce", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "if", "(", "!", "Subtarget", "->", "inMicroMipsMode", "(", ")", "||", "!", "Subtarget", "->", "hasMips32r2", "(", ")", "||", "Subtarget", "->", "hasMips32r6", "(", ")", ")", "return", "false", ";", "MipsII", "=", "static_cast", "<", "const", "MipsInstrInfo", "*", ">", "(", "Subtarget", "->", "getInstrInfo", "(", ")", ")", ";", "bool", "Modified", "=", "false", ";", "MachineFunction", "::", "iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "for", "(", ";", "I", "!=", "E", ";", "++", "I", ")", "Modified", "|=", "ReduceMBB", "(", "*", "I", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MicroMipsSizeReduction8", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18373, "Length": 109, "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": 18374, "Length": 20, "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": 18375, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "HOST_WIDE_INT", "compute_current_alignment", "(", "unsigned", "HOST_WIDE_INT", "base_align", ",", "unsigned", "HOST_WIDE_INT", "offset", ")", "{", "if", "(", "offset", "==", "0", ")", "return", "base_align", ";", "return", "min", "(", "base_align", ",", "offset", "&", "-", "offset", ")", ";", "}", ""], "natrual_language": ["Compute", "the", "alignment", "of", "pointer+OFFSET", "where", "the", "original", "alignment", "of", "pointer", "was", "BASE_ALIGN", "."], "TS_V_token": ["rs6000", "0"], "File": "rs60006", "Func": "compute_current_alignment", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18376, "Length": 35, "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", "=", "std", "::", "abs", "(", "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": "sh", "Func": "sh_dynamicalize_shift_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18377, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseRegisterInfo", "::", "getFrameRegister", "(", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "STI", ".", "isTargetDarwin", "(", ")", "||", "hasFP", "(", "MF", ")", ")", "return", "FramePtr", ";", "return", "ARM", "::", "SP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["ARM", "ARM", "ARM::SP"], "File": "ARMBaseRegisterInfo20", "Func": "getFrameRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18378, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_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", ";", "if", "(", "!", "ISA_HAS_LWL_LWR", ")", "bits", "=", "MIN", "(", "BITS_PER_WORD", ",", "MIN", "(", "MEM_ALIGN", "(", "src", ")", ",", "MEM_ALIGN", "(", "dest", ")", ")", ")", ";", "else", "{", "if", "(", "MEM_ALIGN", "(", "src", ")", "==", "BITS_PER_WORD", "/", "2", "&&", "MEM_ALIGN", "(", "dest", ")", "==", "BITS_PER_WORD", "/", "2", ")", "bits", "=", "BITS_PER_WORD", "/", "2", ";", "else", "bits", "=", "BITS_PER_WORD", ";", "}", "mode", "=", "mode_for_size", "(", "bits", ",", "MODE_INT", ",", "0", ")", ";", "delta", "=", "bits", "/", "BITS_PER_UNIT", ";", "regs", "=", "XALLOCAVEC", "(", "rtx", ",", "length", "/", "delta", ")", ";", "for", "(", "offset", "=", "0", ",", "i", "=", "0", ";", "offset", "+", "delta", "<=", "length", ";", "offset", "+=", "delta", ",", "i", "++", ")", "{", "regs", "[", "i", "]", "=", "gen_reg_rtx", "(", "mode", ")", ";", "if", "(", "MEM_ALIGN", "(", "src", ")", ">=", "bits", ")", "mips_emit_move", "(", "regs", "[", "i", "]", ",", "adjust_address", "(", "src", ",", "mode", ",", "offset", ")", ")", ";", "else", "{", "rtx", "part", "=", "adjust_address", "(", "src", ",", "BLKmode", ",", "offset", ")", ";", "set_mem_size", "(", "part", ",", "delta", ")", ";", "if", "(", "!", "mips_expand_ext_as_unaligned_load", "(", "regs", "[", "i", "]", ",", "part", ",", "bits", ",", "0", ",", "0", ")", ")", "gcc_unreachable", "(", ")", ";", "}", "}", "for", "(", "offset", "=", "0", ",", "i", "=", "0", ";", "offset", "+", "delta", "<=", "length", ";", "offset", "+=", "delta", ",", "i", "++", ")", "if", "(", "MEM_ALIGN", "(", "dest", ")", ">=", "bits", ")", "mips_emit_move", "(", "adjust_address", "(", "dest", ",", "mode", ",", "offset", ")", ",", "regs", "[", "i", "]", ")", ";", "else", "{", "rtx", "part", "=", "adjust_address", "(", "dest", ",", "BLKmode", ",", "offset", ")", ";", "set_mem_size", "(", "part", ",", "delta", ")", ";", "if", "(", "!", "mips_expand_ins_as_unaligned_store", "(", "part", ",", "regs", "[", "i", "]", ",", "bits", ",", "0", ")", ")", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "offset", "<", "length", ")", "{", "src", "=", "adjust_address", "(", "src", ",", "BLKmode", ",", "offset", ")", ";", "dest", "=", "adjust_address", "(", "dest", ",", "BLKmode", ",", "offset", ")", ";", "move_by_pieces", "(", "dest", ",", "src", ",", "length", "-", "offset", ",", "MIN", "(", "MEM_ALIGN", "(", "src", ")", ",", "MEM_ALIGN", "(", "dest", ")", ")", ",", "0", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "straight-line", "code", "to", "move", "LENGTH", "bytes", "from", "SRC", "to", "DEST", ".", "Assume", "that", "the", "areas", "do", "not", "overlap", "."], "TS_V_token": ["mips", "2", "2", "2", "0", "0", "0", "0", "0", "0", "0", "0", "0"], "File": "mips5", "Func": "mips_block_move_straight", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18379, "Length": 375, "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": 18380, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "AArch64TargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "MI", "->", "dump", "(", ")", ";", "assert", "(", "0", "&&", "\"Unexpected instruction for custom inserter!\"", ")", ";", "break", ";", "case", "AArch64", "::", "F128CSEL", ":", "return", "EmitF128CSEL", "(", "MI", ",", "BB", ")", ";", "case", "TargetOpcode", "::", "STACKMAP", ":", "case", "TargetOpcode", "::", "PATCHPOINT", ":", "return", "emitPatchPoint", "(", "MI", ",", "BB", ")", ";", "}", "llvm_unreachable", "(", "\"Unexpected instruction for custom inserter!\"", ")", ";", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["AArch64", "AArch64", "0", "\"Unexpected instruction for custom inserter!\"", "AArch64::F128CSEL", "\"Unexpected instruction for custom inserter!\""], "File": "AArch64ISelLowering84", "Func": "EmitInstrWithCustomInserter", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18381, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64AsmPrinter", "::", "emitStartOfAsmFile", "(", "Module", "&", "M", ")", "{", "if", "(", "!", "TM", ".", "getTargetTriple", "(", ")", ".", "isOSBinFormatELF", "(", ")", ")", "return", ";", "unsigned", "Flags", "=", "ELF", "::", "GNU_PROPERTY_AARCH64_FEATURE_1_BTI", "|", "ELF", "::", "GNU_PROPERTY_AARCH64_FEATURE_1_PAC", ";", "if", "(", "any_of", "(", "M", ",", "[", "]", "(", "const", "Function", "&", "F", ")", "{", "return", "!", "F", ".", "isDeclaration", "(", ")", "&&", "!", "F", ".", "hasFnAttribute", "(", "\"branch-target-enforcement\"", ")", ";", "}", ")", ")", "{", "Flags", "&=", "~", "ELF", "::", "GNU_PROPERTY_AARCH64_FEATURE_1_BTI", ";", "}", "if", "(", "(", "Flags", "&", "ELF", "::", "GNU_PROPERTY_AARCH64_FEATURE_1_BTI", ")", "==", "0", "&&", "any_of", "(", "M", ",", "[", "]", "(", "const", "Function", "&", "F", ")", "{", "return", "F", ".", "hasFnAttribute", "(", "\"branch-target-enforcement\"", ")", ";", "}", ")", ")", "{", "errs", "(", ")", "<<", "\"warning: some functions compiled with BTI and some compiled \"", "\"without BTI\\n\"", "<<", "\"warning: not setting BTI in feature flags\\n\"", ";", "}", "if", "(", "any_of", "(", "M", ",", "[", "]", "(", "const", "Function", "&", "F", ")", "{", "if", "(", "F", ".", "isDeclaration", "(", ")", ")", "return", "false", ";", "Attribute", "A", "=", "F", ".", "getFnAttribute", "(", "\"sign-return-address\"", ")", ";", "return", "!", "A", ".", "isStringAttribute", "(", ")", "||", "A", ".", "getValueAsString", "(", ")", "==", "\"none\"", ";", "}", ")", ")", "{", "Flags", "&=", "~", "ELF", "::", "GNU_PROPERTY_AARCH64_FEATURE_1_PAC", ";", "}", "if", "(", "Flags", "==", "0", ")", "return", ";", "MCSection", "*", "Cur", "=", "OutStreamer", "->", "getCurrentSectionOnly", "(", ")", ";", "MCSection", "*", "Nt", "=", "MMI", "->", "getContext", "(", ")", ".", "getELFSection", "(", "\".note.gnu.property\"", ",", "ELF", "::", "SHT_NOTE", ",", "ELF", "::", "SHF_ALLOC", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "Nt", ")", ";", "emitAlignment", "(", "Align", "(", "8", ")", ")", ";", "OutStreamer", "->", "emitInt32", "(", "4", ")", ";", "OutStreamer", "->", "emitInt32", "(", "4", "*", "4", ")", ";", "OutStreamer", "->", "emitInt32", "(", "ELF", "::", "NT_GNU_PROPERTY_TYPE_0", ")", ";", "OutStreamer", "->", "emitBytes", "(", "StringRef", "(", "\"GNU\"", ",", "4", ")", ")", ";", "OutStreamer", "->", "emitInt32", "(", "ELF", "::", "GNU_PROPERTY_AARCH64_FEATURE_1_AND", ")", ";", "OutStreamer", "->", "emitInt32", "(", "4", ")", ";", "OutStreamer", "->", "emitInt32", "(", "Flags", ")", ";", "OutStreamer", "->", "emitInt32", "(", "0", ")", ";", "OutStreamer", "->", "endSection", "(", "Nt", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "Cur", ")", ";", "}", ""], "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", "\"branch-target-enforcement\"", "0", "\"branch-target-enforcement\"", "\"warning: some functions compiled with BTI and some compiled \"", "\"without BTI\\n\"", "\"warning: not setting BTI in feature flags\\n\"", "\"sign-return-address\"", "\"none\"", "0", "\".note.gnu.property\"", "8", "4", "4", "4", "\"GNU\"", "4", "4", "0"], "File": "AArch64AsmPrinter14", "Func": "emitStartOfAsmFile", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18382, "Length": 328, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mmix_reorg", "(", "void", ")", "{", "int", "regno", ";", "for", "(", "regno", "=", "MMIX_LAST_STACK_REGISTER_REGNUM", ";", "regno", ">=", "0", ";", "regno", "--", ")", "if", "(", "(", "df_regs_ever_live_p", "(", "regno", ")", "&&", "!", "call_used_or_fixed_reg_p", "(", "regno", ")", ")", "||", "(", "regno", "==", "MMIX_FRAME_POINTER_REGNUM", "&&", "frame_pointer_needed", ")", ")", "break", ";", "if", "(", "!", "TARGET_ABI_GNU", "&&", "regno", "<", "crtl", "->", "args", ".", "info", ".", "regs", "-", "1", ")", "{", "regno", "=", "crtl", "->", "args", ".", "info", ".", "regs", "-", "1", ";", "if", "(", "regno", ">", "MMIX_RETURN_VALUE_REGNUM", "-", "1", ")", "regno", "=", "MMIX_RETURN_VALUE_REGNUM", "-", "1", ";", "}", "cfun", "->", "machine", "->", "highest_saved_stack_register", "=", "regno", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MACHINE_DEPENDENT_REORG", ".", "No", "actual", "rearrangements", "done", "here", ";", "just", "virtually", "by", "calculating", "the", "highest", "saved", "stack", "register", "number", "used", "to", "modify", "the", "register", "numbers", "at", "output", "time", "."], "TS_V_token": ["mmix", "0", "1", "1", "1", "1"], "File": "mmix", "Func": "mmix_reorg", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18383, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "F2003fTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "F2003fPassConfig", "(", "*", "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": ["F2003f", "F2003f", "F2003f"], "File": "F2003fTargetMachine", "Func": "createPassConfig", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18384, "Length": 22, "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": 18385, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16TargetLowering", "::", "getOpndList", "(", "SmallVectorImpl", "<", "SDValue", ">", "&", "Ops", ",", "std", "::", "deque", "<", "std", "::", "pair", "<", "unsigned", ",", "SDValue", ">", ">", "&", "RegsToPass", ",", "bool", "IsPICCall", ",", "bool", "GlobalOrExternal", ",", "bool", "InternalLinkage", ",", "CallLoweringInfo", "&", "CLI", ",", "SDValue", "Callee", ",", "SDValue", "Chain", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "CLI", ".", "DAG", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MipsFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "const", "char", "*", "Mips16HelperFunction", "=", "0", ";", "bool", "NeedMips16Helper", "=", "false", ";", "if", "(", "getTargetMachine", "(", ")", ".", "Options", ".", "UseSoftFloat", "&&", "Subtarget", "->", "inMips16HardFloat", "(", ")", ")", "{", "bool", "LookupHelper", "=", "true", ";", "if", "(", "ExternalSymbolSDNode", "*", "S", "=", "dyn_cast", "<", "ExternalSymbolSDNode", ">", "(", "CLI", ".", "Callee", ")", ")", "{", "Mips16Libcall", "Find", "=", "{", "RTLIB", "::", "UNKNOWN_LIBCALL", ",", "S", "->", "getSymbol", "(", ")", "}", ";", "if", "(", "std", "::", "binary_search", "(", "HardFloatLibCalls", ",", "array_endof", "(", "HardFloatLibCalls", ")", ",", "Find", ")", ")", "LookupHelper", "=", "false", ";", "else", "{", "Mips16IntrinsicHelperType", "IntrinsicFind", "=", "{", "S", "->", "getSymbol", "(", ")", ",", "\"\"", "}", ";", "if", "(", "std", "::", "binary_search", "(", "Mips16IntrinsicHelper", ",", "array_endof", "(", "Mips16IntrinsicHelper", ")", ",", "IntrinsicFind", ")", ")", "{", "const", "Mips16IntrinsicHelperType", "*", "h", "=", "(", "std", "::", "find", "(", "Mips16IntrinsicHelper", ",", "array_endof", "(", "Mips16IntrinsicHelper", ")", ",", "IntrinsicFind", ")", ")", ";", "Mips16HelperFunction", "=", "h", "->", "Helper", ";", "NeedMips16Helper", "=", "true", ";", "LookupHelper", "=", "false", ";", "}", "}", "}", "else", "if", "(", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "CLI", ".", "Callee", ")", ")", "{", "Mips16Libcall", "Find", "=", "{", "RTLIB", "::", "UNKNOWN_LIBCALL", ",", "G", "->", "getGlobal", "(", ")", "->", "getName", "(", ")", ".", "data", "(", ")", "}", ";", "if", "(", "std", "::", "binary_search", "(", "HardFloatLibCalls", ",", "array_endof", "(", "HardFloatLibCalls", ")", ",", "Find", ")", ")", "LookupHelper", "=", "false", ";", "}", "if", "(", "LookupHelper", ")", "Mips16HelperFunction", "=", "getMips16HelperFunction", "(", "CLI", ".", "RetTy", ",", "CLI", ".", "Args", ",", "NeedMips16Helper", ")", ";", "}", "SDValue", "JumpTarget", "=", "Callee", ";", "if", "(", "IsPICCall", "||", "!", "GlobalOrExternal", ")", "{", "unsigned", "V0Reg", "=", "Mips", "::", "V0", ";", "if", "(", "NeedMips16Helper", ")", "{", "RegsToPass", ".", "push_front", "(", "std", "::", "make_pair", "(", "V0Reg", ",", "Callee", ")", ")", ";", "JumpTarget", "=", "DAG", ".", "getExternalSymbol", "(", "Mips16HelperFunction", ",", "getPointerTy", "(", ")", ")", ";", "ExternalSymbolSDNode", "*", "S", "=", "cast", "<", "ExternalSymbolSDNode", ">", "(", "JumpTarget", ")", ";", "JumpTarget", "=", "getAddrGlobal", "(", "S", ",", "JumpTarget", ".", "getValueType", "(", ")", ",", "DAG", ",", "MipsII", "::", "MO_GOT", ",", "Chain", ",", "FuncInfo", "->", "callPtrInfo", "(", "S", "->", "getSymbol", "(", ")", ")", ")", ";", "}", "else", "RegsToPass", ".", "push_front", "(", "std", "::", "make_pair", "(", "(", "unsigned", ")", "Mips", "::", "T9", ",", "Callee", ")", ")", ";", "}", "Ops", ".", "push_back", "(", "JumpTarget", ")", ";", "MipsTargetLowering", "::", "getOpndList", "(", "Ops", ",", "RegsToPass", ",", "IsPICCall", ",", "GlobalOrExternal", ",", "InternalLinkage", ",", "CLI", ",", "Callee", ",", "Chain", ")", ";", "}", ""], "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", "Mips", "Mips", "0", "Mips", "Mips", "Mips", "Mips", "\"\"", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::V0", "Mips", "Mips", "MipsII::MO_GOT", "Mips::T9", "Mips"], "File": "Mips16ISelLowering29", "Func": "getOpndList", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18386, "Length": 465, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_sve_ptrue_svpattern_p", "(", "rtx", "x", ",", "struct", "simd_immediate_info", "*", "info", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "!=", "CONST", ")", "return", "false", ";", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "UNSPEC", "||", "XINT", "(", "x", ",", "1", ")", "!=", "UNSPEC_PTRUE", ")", "return", "false", ";", "if", "(", "info", ")", "{", "aarch64_svpattern", "pattern", "=", "(", "aarch64_svpattern", ")", "INTVAL", "(", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "machine_mode", "pred_mode", "=", "GET_MODE", "(", "XVECEXP", "(", "x", ",", "0", ",", "1", ")", ")", ";", "scalar_int_mode", "int_mode", "=", "aarch64_sve_element_int_mode", "(", "pred_mode", ")", ";", "*", "info", "=", "simd_immediate_info", "(", "int_mode", ",", "pattern", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "an", "UNSPEC_PTRUE", "constant", "of", "the", "form", ":", "(", "const", "(", "unspec", "[", "PATTERN", "ZERO", "]", "UNSPEC_PTRUE", ")", ")", "where", "PATTERN", "is", "the", "svpattern", "as", "a", "CONST_INT", "and", "where", "ZERO", "is", "a", "zero", "constant", "of", "the", "required", "PTRUE", "mode", "(", "which", "can", "have", "fewer", "elements", "than", "X", "'s", "mode", ",", "if", "zero", "bits", "are", "significant", ")", ".", "If", "so", ",", "and", "if", "INFO", "is", "nonnull", ",", "describe", "the", "immediate", "in", "INFO", "."], "TS_V_token": ["aarch64", "0", "1", "0", "0", "0", "1"], "File": "aarch64", "Func": "aarch64_sve_ptrue_svpattern_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18387, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "stackSlotSize", "(", ")", "{", "return", "8", ";", "}", ""], "natrual_language": ["Stack", "slot", "size", "(", "4", "bytes", ")"], "TS_V_token": ["FISC", "8"], "File": "FISCFrameLowering", "Func": "stackSlotSize", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18388, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_hardreg_mov_ok", "(", "rtx", "dst", ",", "rtx", "src", ")", "{", "if", "(", "REG_P", "(", "dst", ")", "&&", "HARD_REGISTER_P", "(", "dst", ")", "&&", "!", "REG_P", "(", "src", ")", "&&", "!", "MEM_P", "(", "src", ")", "&&", "!", "x86_64_immediate_operand", "(", "src", ",", "GET_MODE", "(", "dst", ")", ")", "&&", "ix86_class_likely_spilled_p", "(", "REGNO_REG_CLASS", "(", "REGNO", "(", "dst", ")", ")", ")", "&&", "!", "reload_completed", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "set", "of", "DST", "by", "the", "expression", "SRC", "should", "be", "allowed", ".", "This", "prevents", "complex", "sets", "of", "likely_spilled", "hard", "regs", "before", "reload", "."], "TS_V_token": ["i386"], "File": "i3861", "Func": "ix86_hardreg_mov_ok", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18389, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "aarch64_simd_clone_usable", "(", "struct", "cgraph_node", "*", "node", ")", "{", "switch", "(", "node", "->", "simdclone", "->", "vecsize_mangle", ")", "{", "case", "'n'", ":", "if", "(", "!", "TARGET_SIMD", ")", "return", "-", "1", ";", "return", "0", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_SIMD_CLONE_USABLE", "."], "TS_V_token": ["aarch64", "1", "0"], "File": "aarch64", "Func": "aarch64_simd_clone_usable", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18390, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "avoid_func_arg_motion", "(", "rtx_insn", "*", "first_arg", ",", "rtx_insn", "*", "insn", ")", "{", "rtx", "set", ";", "rtx", "tmp", ";", "if", "(", "INSN_P", "(", "insn", ")", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "PARALLEL", "&&", "GET_CODE", "(", "XVECEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ",", "0", ")", ")", "==", "UNSPEC", "&&", "XINT", "(", "XVECEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ",", "0", ")", ",", "1", ")", "==", "UNSPEC_BNDSTX", ")", "{", "add_dependence", "(", "first_arg", ",", "insn", ",", "REG_DEP_ANTI", ")", ";", "return", ";", "}", "set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "!", "set", ")", "return", ";", "tmp", "=", "SET_DEST", "(", "set", ")", ";", "if", "(", "REG_P", "(", "tmp", ")", ")", "{", "add_dependence", "(", "first_arg", ",", "insn", ",", "REG_DEP_OUTPUT", ")", ";", "return", ";", "}", "add_dependence", "(", "first_arg", ",", "insn", ",", "REG_DEP_ANTI", ")", ";", "}", ""], "natrual_language": ["Add", "output", "or", "anti", "dependency", "from", "insn", "to", "first_arg", "to", "restrict", "its", "code", "motion", "."], "TS_V_token": ["i386", "0", "0", "0", "0", "1"], "File": "i3864", "Func": "avoid_func_arg_motion", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18391, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "assignCustomValue", "(", "const", "ARMCallLowering", "::", "ArgInfo", "&", "Arg", ",", "ArrayRef", "<", "CCValAssign", ">", "VAs", ")", "override", "{", "CCValAssign", "VA", "=", "VAs", "[", "0", "]", ";", "assert", "(", "VA", ".", "needsCustom", "(", ")", "&&", "\"Value doesn't need custom handling\"", ")", ";", "assert", "(", "VA", ".", "getValVT", "(", ")", "==", "MVT", "::", "f64", "&&", "\"Unsupported type\"", ")", ";", "CCValAssign", "NextVA", "=", "VAs", "[", "1", "]", ";", "assert", "(", "NextVA", ".", "needsCustom", "(", ")", "&&", "\"Value doesn't need custom handling\"", ")", ";", "assert", "(", "NextVA", ".", "getValVT", "(", ")", "==", "MVT", "::", "f64", "&&", "\"Unsupported type\"", ")", ";", "assert", "(", "VA", ".", "getValNo", "(", ")", "==", "NextVA", ".", "getValNo", "(", ")", "&&", "\"Values belong to different arguments\"", ")", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Value should be in reg\"", ")", ";", "assert", "(", "NextVA", ".", "isRegLoc", "(", ")", "&&", "\"Value should be in reg\"", ")", ";", "unsigned", "NewRegs", "[", "]", "=", "{", "MRI", ".", "createGenericVirtualRegister", "(", "LLT", "::", "scalar", "(", "32", ")", ")", ",", "MRI", ".", "createGenericVirtualRegister", "(", "LLT", "::", "scalar", "(", "32", ")", ")", "}", ";", "assignValueToReg", "(", "NewRegs", "[", "0", "]", ",", "VA", ".", "getLocReg", "(", ")", ",", "VA", ")", ";", "assignValueToReg", "(", "NewRegs", "[", "1", "]", ",", "NextVA", ".", "getLocReg", "(", ")", ",", "NextVA", ")", ";", "bool", "IsLittle", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "isLittle", "(", ")", ";", "if", "(", "!", "IsLittle", ")", "std", "::", "swap", "(", "NewRegs", "[", "0", "]", ",", "NewRegs", "[", "1", "]", ")", ";", "MIRBuilder", ".", "buildSequence", "(", "Arg", ".", "Reg", ",", "NewRegs", ",", "{", "0", ",", "32", "}", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Handle", "custom", "values", ",", "which", "may", "be", "passed", "into", "one", "or", "more", "of", "VAs", "."], "TS_V_token": ["ARM", "ARM", "0", "\"Value doesn't need custom handling\"", "MVT::f64", "\"Unsupported type\"", "1", "\"Value doesn't need custom handling\"", "MVT::f64", "\"Unsupported type\"", "\"Values belong to different arguments\"", "\"Value should be in reg\"", "\"Value should be in reg\"", "32", "32", "0", "1", "ARM", "0", "1", "0", "32", "1"], "File": "ARMCallLowering18", "Func": "assignCustomValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18392, "Length": 249, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MINA32MCExpr", "*", "MINA32MCExpr", "::", "create", "(", "VariantKind", "Kind", ",", "const", "MCExpr", "*", "Expr", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "MINA32MCExpr", "(", "Kind", ",", "Expr", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["MINA32", "MINA32", "MINA32", "MINA32"], "File": "MINA32MCExpr", "Func": "create", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18393, "Length": 33, "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_\"", ")", ";", "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", ")", "private_data_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_\"", "\"\\t.file\\t\"", "\"\\t.extern %s\\n\""], "File": "rs60003", "Func": "rs6000_xcoff_file_start", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18394, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mips_idiv_insns", "(", "void", ")", "{", "int", "count", ";", "count", "=", "1", ";", "if", "(", "TARGET_CHECK_ZERO_DIV", ")", "{", "if", "(", "GENERATE_DIVIDE_TRAPS", ")", "count", "++", ";", "else", "count", "+=", "2", ";", "}", "if", "(", "TARGET_FIX_R4000", "||", "TARGET_FIX_R4400", ")", "count", "++", ";", "return", "count", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "needed", "for", "an", "integer", "division", "."], "TS_V_token": ["mips", "1", "2"], "File": "mips4", "Func": "mips_idiv_insns", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18395, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "split_double_mode", "(", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ",", "int", "num", ",", "rtx", "lo_half", "[", "]", ",", "rtx", "hi_half", "[", "]", ")", "{", "machine_mode", "half_mode", ";", "unsigned", "int", "byte", ";", "rtx", "mem_op", "=", "NULL_RTX", ";", "int", "mem_num", "=", "0", ";", "switch", "(", "mode", ")", "{", "case", "E_TImode", ":", "half_mode", "=", "DImode", ";", "break", ";", "case", "E_DImode", ":", "half_mode", "=", "SImode", ";", "break", ";", "case", "E_P2HImode", ":", "half_mode", "=", "HImode", ";", "break", ";", "case", "E_P2QImode", ":", "half_mode", "=", "QImode", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "byte", "=", "GET_MODE_SIZE", "(", "half_mode", ")", ";", "while", "(", "num", "--", ")", "{", "rtx", "op", "=", "operands", "[", "num", "]", ";", "if", "(", "MEM_P", "(", "op", ")", ")", "{", "if", "(", "mem_op", "&&", "rtx_equal_p", "(", "op", ",", "mem_op", ")", ")", "{", "lo_half", "[", "num", "]", "=", "lo_half", "[", "mem_num", "]", ";", "hi_half", "[", "num", "]", "=", "hi_half", "[", "mem_num", "]", ";", "}", "else", "{", "mem_op", "=", "op", ";", "mem_num", "=", "num", ";", "lo_half", "[", "num", "]", "=", "adjust_address", "(", "op", ",", "half_mode", ",", "0", ")", ";", "hi_half", "[", "num", "]", "=", "adjust_address", "(", "op", ",", "half_mode", ",", "byte", ")", ";", "}", "}", "else", "{", "lo_half", "[", "num", "]", "=", "simplify_gen_subreg", "(", "half_mode", ",", "op", ",", "GET_MODE", "(", "op", ")", "==", "VOIDmode", "?", "mode", ":", "GET_MODE", "(", "op", ")", ",", "0", ")", ";", "hi_half", "[", "num", "]", "=", "simplify_gen_subreg", "(", "half_mode", ",", "op", ",", "GET_MODE", "(", "op", ")", "==", "VOIDmode", "?", "mode", ":", "GET_MODE", "(", "op", ")", ",", "byte", ")", ";", "}", "}", "}", ""], "natrual_language": ["Split", "one", "or", "more", "double-mode", "RTL", "references", "into", "pairs", "of", "half-mode", "references", ".", "The", "RTL", "can", "be", "REG", ",", "offsettable", "MEM", ",", "integer", "constant", ",", "or", "CONST_DOUBLE", ".", "``", "operands", "''", "is", "a", "pointer", "to", "an", "array", "of", "double-mode", "RTLs", "to", "split", "and", "``", "num", "''", "is", "its", "length", ".", "lo_half", "and", "hi_half", "are", "output", "arrays", "that", "parallel", "``", "operands", "''", "."], "TS_V_token": ["i386", "0", "0", "0"], "File": "i386-expand1", "Func": "split_double_mode", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18396, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isLegalAddImmediate", "(", "int64_t", "Immed", ")", "const", "{", "if", "(", "Immed", "==", "std", "::", "numeric_limits", "<", "int64_t", ">", "::", "min", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Illegal add imm \"", "<<", "Immed", "<<", "\": avoid UB for INT64_MIN\\n\"", ")", ";", "return", "false", ";", "}", "Immed", "=", "std", "::", "abs", "(", "Immed", ")", ";", "bool", "IsLegal", "=", "(", "(", "Immed", ">>", "12", ")", "==", "0", "||", "(", "(", "Immed", "&", "0xfff", ")", "==", "0", "&&", "Immed", ">>", "24", "==", "0", ")", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Is \"", "<<", "Immed", "<<", "\" legal add imm: \"", "<<", "(", "IsLegal", "?", "\"yes\"", ":", "\"no\"", ")", "<<", "\"\\n\"", ")", ";", "return", "IsLegal", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "immediate", "is", "legal", "add", "immediate", ",", "that", "is", "the", "target", "has", "add", "instructions", "which", "can", "add", "a", "register", "and", "the", "immediate", "without", "having", "to", "materialize", "the", "immediate", "into", "a", "register", "."], "TS_V_token": ["AArch64", "AArch64", "\"Illegal add imm \"", "\": avoid UB for INT64_MIN\\n\"", "12", "0", "0xfff", "0", "24", "0", "\"Is \"", "\" legal add imm: \"", "\"yes\"", "\"no\"", "\"\\n\""], "File": "AArch64ISelLowering (2)2", "Func": "isLegalAddImmediate", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18397, "Length": 108, "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": 18398, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_save_regs_using_mov", "(", "HOST_WIDE_INT", "cfa_offset", ")", "{", "unsigned", "int", "regno", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "GENERAL_REGNO_P", "(", "regno", ")", "&&", "ix86_save_reg", "(", "regno", ",", "true", ",", "true", ")", ")", "{", "ix86_emit_save_reg_using_mov", "(", "word_mode", ",", "regno", ",", "cfa_offset", ")", ";", "cfa_offset", "-=", "UNITS_PER_WORD", ";", "}", "}", ""], "natrual_language": ["Emit", "code", "to", "save", "registers", "using", "MOV", "insns", ".", "First", "register", "is", "restored", "from", "POINTER", "+", "OFFSET", "."], "TS_V_token": ["i386", "0"], "File": "i386", "Func": "ix86_emit_save_regs_using_mov", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18399, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_output_indirect_branch_via_reg", "(", "rtx", "call_op", ",", "bool", "sibcall_p", ")", "{", "char", "thunk_name_buf", "[", "32", "]", ";", "char", "*", "thunk_name", ";", "enum", "indirect_thunk_prefix", "need_prefix", "=", "indirect_thunk_need_prefix", "(", "current_output_insn", ")", ";", "int", "regno", "=", "REGNO", "(", "call_op", ")", ";", "if", "(", "cfun", "->", "machine", "->", "indirect_branch_type", "!=", "indirect_branch_thunk_inline", ")", "{", "if", "(", "cfun", "->", "machine", "->", "indirect_branch_type", "==", "indirect_branch_thunk", ")", "{", "int", "i", "=", "regno", ";", "if", "(", "i", ">=", "FIRST_REX_INT_REG", ")", "i", "-=", "(", "FIRST_REX_INT_REG", "-", "LAST_INT_REG", "-", "1", ")", ";", "if", "(", "need_prefix", "==", "indirect_thunk_prefix_bnd", ")", "indirect_thunks_bnd_used", "|=", "1", "<<", "i", ";", "else", "indirect_thunks_used", "|=", "1", "<<", "i", ";", "}", "indirect_thunk_name", "(", "thunk_name_buf", ",", "regno", ",", "need_prefix", ",", "false", ")", ";", "thunk_name", "=", "thunk_name_buf", ";", "}", "else", "thunk_name", "=", "NULL", ";", "if", "(", "sibcall_p", ")", "{", "if", "(", "thunk_name", "!=", "NULL", ")", "{", "if", "(", "need_prefix", "==", "indirect_thunk_prefix_bnd", ")", "fprintf", "(", "asm_out_file", ",", "\"\\tbnd jmp\\t%s\\n\"", ",", "thunk_name", ")", ";", "else", "fprintf", "(", "asm_out_file", ",", "\"\\tjmp\\t%s\\n\"", ",", "thunk_name", ")", ";", "}", "else", "output_indirect_thunk", "(", "need_prefix", ",", "regno", ")", ";", "}", "else", "{", "if", "(", "thunk_name", "!=", "NULL", ")", "{", "if", "(", "need_prefix", "==", "indirect_thunk_prefix_bnd", ")", "fprintf", "(", "asm_out_file", ",", "\"\\tbnd call\\t%s\\n\"", ",", "thunk_name", ")", ";", "else", "fprintf", "(", "asm_out_file", ",", "\"\\tcall\\t%s\\n\"", ",", "thunk_name", ")", ";", "return", ";", "}", "char", "indirectlabel1", "[", "32", "]", ";", "char", "indirectlabel2", "[", "32", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "indirectlabel1", ",", "INDIRECT_LABEL", ",", "indirectlabelno", "++", ")", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "indirectlabel2", ",", "INDIRECT_LABEL", ",", "indirectlabelno", "++", ")", ";", "if", "(", "need_prefix", "==", "indirect_thunk_prefix_bnd", ")", "fputs", "(", "\"\\tbnd jmp\\t\"", ",", "asm_out_file", ")", ";", "else", "fputs", "(", "\"\\tjmp\\t\"", ",", "asm_out_file", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "indirectlabel2", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "indirectlabel1", ")", ";", "if", "(", "thunk_name", "!=", "NULL", ")", "{", "if", "(", "need_prefix", "==", "indirect_thunk_prefix_bnd", ")", "fprintf", "(", "asm_out_file", ",", "\"\\tbnd jmp\\t%s\\n\"", ",", "thunk_name", ")", ";", "else", "fprintf", "(", "asm_out_file", ",", "\"\\tjmp\\t%s\\n\"", ",", "thunk_name", ")", ";", "}", "else", "output_indirect_thunk", "(", "need_prefix", ",", "regno", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "indirectlabel2", ")", ";", "if", "(", "need_prefix", "==", "indirect_thunk_prefix_bnd", ")", "fputs", "(", "\"\\tbnd call\\t\"", ",", "asm_out_file", ")", ";", "else", "fputs", "(", "\"\\tcall\\t\"", ",", "asm_out_file", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "indirectlabel1", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "}", "}", ""], "natrual_language": ["Output", "indirect", "branch", "via", "a", "call", "and", "return", "thunk", ".", "CALL_OP", "is", "a", "register", "which", "contains", "the", "branch", "target", ".", "XASM", "is", "the", "assembly", "template", "for", "CALL_OP", ".", "Branch", "is", "a", "tail", "call", "if", "SIBCALL_P", "is", "true", ".", "A", "normal", "call", "is", "converted", "to", ":", "call", "__x86_indirect_thunk_reg", "and", "a", "tail", "call", "is", "converted", "to", ":", "jmp", "__x86_indirect_thunk_reg"], "TS_V_token": ["i386", "32", "1", "1", "1", "\"\\tbnd jmp\\t%s\\n\"", "\"\\tjmp\\t%s\\n\"", "\"\\tbnd call\\t%s\\n\"", "\"\\tcall\\t%s\\n\"", "32", "32", "\"\\tbnd jmp\\t\"", "\"\\tjmp\\t\"", "\"\\tbnd jmp\\t%s\\n\"", "\"\\tjmp\\t%s\\n\"", "\"\\tbnd call\\t\"", "\"\\tcall\\t\""], "File": "i3867", "Func": "ix86_output_indirect_branch_via_reg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18400, "Length": 365, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsCodeEmitter", "::", "getMachineOpValue", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "&", "MO", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "TM", ".", "getRegisterInfo", "(", ")", "->", "getEncodingValue", "(", "MO", ".", "getReg", "(", ")", ")", ";", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "else", "if", "(", "MO", ".", "isGlobal", "(", ")", ")", "emitGlobalAddress", "(", "MO", ".", "getGlobal", "(", ")", ",", "getRelocation", "(", "MI", ",", "MO", ")", ",", "true", ")", ";", "else", "if", "(", "MO", ".", "isSymbol", "(", ")", ")", "emitExternalSymbolAddress", "(", "MO", ".", "getSymbolName", "(", ")", ",", "getRelocation", "(", "MI", ",", "MO", ")", ")", ";", "else", "if", "(", "MO", ".", "isCPI", "(", ")", ")", "emitConstPoolAddress", "(", "MO", ".", "getIndex", "(", ")", ",", "getRelocation", "(", "MI", ",", "MO", ")", ")", ";", "else", "if", "(", "MO", ".", "isJTI", "(", ")", ")", "emitJumpTableAddress", "(", "MO", ".", "getIndex", "(", ")", ",", "getRelocation", "(", "MI", ",", "MO", ")", ")", ";", "else", "if", "(", "MO", ".", "isMBB", "(", ")", ")", "emitMachineBasicBlock", "(", "MO", ".", "getMBB", "(", ")", ",", "getRelocation", "(", "MI", ",", "MO", ")", ")", ";", "else", "llvm_unreachable", "(", "\"Unable to encode MachineOperand!\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["Mips", "Mips", "\"Unable to encode MachineOperand!\"", "0"], "File": "MipsCodeEmitter", "Func": "getMachineOpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18401, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "gen_push", "(", "rtx", "arg", ")", "{", "struct", "machine_function", "*", "m", "=", "cfun", "->", "machine", ";", "if", "(", "m", "->", "fs", ".", "cfa_reg", "==", "stack_pointer_rtx", ")", "m", "->", "fs", ".", "cfa_offset", "+=", "UNITS_PER_WORD", ";", "m", "->", "fs", ".", "sp_offset", "+=", "UNITS_PER_WORD", ";", "if", "(", "REG_P", "(", "arg", ")", "&&", "GET_MODE", "(", "arg", ")", "!=", "word_mode", ")", "arg", "=", "gen_rtx_REG", "(", "word_mode", ",", "REGNO", "(", "arg", ")", ")", ";", "return", "gen_rtx_SET", "(", "gen_rtx_MEM", "(", "word_mode", ",", "gen_rtx_PRE_DEC", "(", "Pmode", ",", "stack_pointer_rtx", ")", ")", ",", "arg", ")", ";", "}", ""], "natrual_language": ["Code", "to", "generate", "prologue", "and", "epilogue", "sequences"], "TS_V_token": ["i386"], "File": "i386", "Func": "gen_push", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18402, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "OpenRISCRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", "->", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "return", "(", "TFI", "->", "hasFP", "(", "*", "MF", ")", "?", "CSR_FP_SaveList", ":", "CSR_SaveList", ")", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["OpenRISC", "OpenRISC"], "File": "OpenRISCRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "OpenRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18403, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ")", "const", "{", "OS", ".", "write_zeros", "(", "Count", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsAsmBackend18", "Func": "writeNopData", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18404, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 Atom LEA Fixup\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 Atom LEA Fixup\""], "File": "X86FixupLEAs12", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18405, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ")", "const", "override", "{", "uint64_t", "NumNops", "=", "Count", "/", "4", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "!=", "NumNops", ";", "++", "i", ")", "support", "::", "endian", "::", "write", "<", "uint32_t", ">", "(", "OS", ",", "0x60000000", ",", "Endian", ")", ";", "OS", ".", "write_zeros", "(", "Count", "%", "4", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["PowerPC", "4", "0", "support::endian", "0x60000000", "4"], "File": "PPCAsmBackend (2)1", "Func": "writeNopData", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18406, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 FP Stackifier\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 FP Stackifier\""], "File": "X86FloatingPoint", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18407, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMFrameLowering", "::", "enableShrinkWrapping", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "hasMinSize", "(", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "will", "correctly", "handle", "shrink", "wrapping", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMFrameLowering51", "Func": "enableShrinkWrapping", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18408, "Length": 31, "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": 18409, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64TargetLowering", "::", "isFMAFasterThanFMulAndFAdd", "(", "EVT", "VT", ")", "const", "{", "VT", "=", "VT", ".", "getScalarType", "(", ")", ";", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "case", "MVT", "::", "f32", ":", "case", "MVT", "::", "f64", ":", "return", "true", ";", "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": ["ARM64", "ARM64", "MVT::f32", "MVT::f64"], "File": "ARM64ISelLowering", "Func": "isFMAFasterThanFMulAndFAdd", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18410, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "unsigned", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "unsigned", "MatchResult", ";", "MatchResult", "=", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ";", "switch", "(", "MatchResult", ")", "{", "default", ":", "break", ";", "case", "Match_Success", ":", "if", "(", "validateInstruction", "(", "Inst", ",", "Operands", ")", ")", "{", "forwardITPosition", "(", ")", ";", "return", "true", ";", "}", "{", "bool", "wasInITBlock", "=", "inITBlock", "(", ")", ";", "while", "(", "processInstruction", "(", "Inst", ",", "Operands", ")", ")", ";", "if", "(", "wasInITBlock", "&&", "hasV8Ops", "(", ")", "&&", "isThumb", "(", ")", "&&", "!", "isV8EligibleForIT", "(", "&", "Inst", ",", "2", ")", ")", "{", "Warning", "(", "IDLoc", ",", "\"deprecated instruction in IT block\"", ")", ";", "}", "}", "forwardITPosition", "(", ")", ";", "if", "(", "Inst", ".", "getOpcode", "(", ")", "==", "ARM", "::", "ITasm", ")", "return", "false", ";", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "Out", ".", "EmitInstruction", "(", "Inst", ")", ";", "return", "false", ";", "case", "Match_MissingFeature", ":", "{", "assert", "(", "ErrorInfo", "&&", "\"Unknown missing feature!\"", ")", ";", "std", "::", "string", "Msg", "=", "\"instruction requires:\"", ";", "unsigned", "Mask", "=", "1", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "(", "sizeof", "(", "ErrorInfo", ")", "*", "8", "-", "1", ")", ";", "++", "i", ")", "{", "if", "(", "ErrorInfo", "&", "Mask", ")", "{", "Msg", "+=", "\" \"", ";", "Msg", "+=", "getSubtargetFeatureName", "(", "ErrorInfo", "&", "Mask", ")", ";", "}", "Mask", "<<=", "1", ";", "}", "return", "Error", "(", "IDLoc", ",", "Msg", ")", ";", "}", "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_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\"", ")", ";", "case", "Match_ImmRange0_15", ":", "{", "SMLoc", "ErrorLoc", "=", "(", "(", "ARMOperand", "*", ")", "Operands", "[", "ErrorInfo", "]", ")", "->", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "return", "Error", "(", "ErrorLoc", ",", "\"immediate operand must be in the range [0,15]\"", ")", ";", "}", "case", "Match_ImmRange0_239", ":", "{", "SMLoc", "ErrorLoc", "=", "(", "(", "ARMOperand", "*", ")", "Operands", "[", "ErrorInfo", "]", ")", "->", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "return", "Error", "(", "ErrorLoc", ",", "\"immediate operand must be in the range [0,239]\"", ")", ";", "}", "}", "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", "2", "\"deprecated instruction in IT block\"", "ARM::ITasm", "\"Unknown missing feature!\"", "\"instruction requires:\"", "1", "0", "8", "1", "\" \"", "1", "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\"", "ARM", "\"immediate operand must be in the range [0,15]\"", "ARM", "\"immediate operand must be in the range [0,239]\"", "\"Implement any new match types added!\""], "File": "ARMAsmParser102", "Func": "MatchAndEmitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18411, "Length": 485, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "function_builder", "::", "add_unique_function", "(", "const", "function_instance", "&", "instance", ",", "tree", "return_type", ",", "vec", "<", "tree", ">", "&", "argument_types", ",", "uint64_t", "required_extensions", ",", "bool", "force_direct_overloads", ")", "{", "char", "*", "name", "=", "get_name", "(", "instance", ",", "false", ")", ";", "tree", "fntype", "=", "build_function_type_array", "(", "return_type", ",", "argument_types", ".", "length", "(", ")", ",", "argument_types", ".", "address", "(", ")", ")", ";", "tree", "attrs", "=", "get_attributes", "(", "instance", ")", ";", "registered_function", "&", "rfn", "=", "add_function", "(", "instance", ",", "name", ",", "fntype", ",", "attrs", ",", "required_extensions", ",", "false", ",", "false", ")", ";", "hashval_t", "hash", "=", "instance", ".", "hash", "(", ")", ";", "registered_function", "*", "*", "rfn_slot", "=", "function_table", "->", "find_slot_with_hash", "(", "instance", ",", "hash", ",", "INSERT", ")", ";", "gcc_assert", "(", "!", "*", "rfn_slot", ")", ";", "*", "rfn_slot", "=", "&", "rfn", ";", "char", "*", "overload_name", "=", "get_name", "(", "instance", ",", "true", ")", ";", "if", "(", "strcmp", "(", "name", ",", "overload_name", ")", "!=", "0", ")", "{", "tree", "attrs", "=", "get_attributes", "(", "instance", ")", ";", "bool", "placeholder_p", "=", "!", "(", "m_direct_overloads", "||", "force_direct_overloads", ")", ";", "add_function", "(", "instance", ",", "overload_name", ",", "fntype", ",", "attrs", ",", "required_extensions", ",", "false", ",", "placeholder_p", ")", ";", "}", "obstack_free", "(", "&", "m_string_obstack", ",", "name", ")", ";", "}", ""], "natrual_language": ["Add", "a", "built-in", "function", "for", "INSTANCE", ",", "with", "the", "argument", "types", "given", "by", "ARGUMENT_TYPES", "and", "the", "return", "type", "given", "by", "RETURN_TYPE", ".", "NAME", "is", "the", "``", "full", "''", "name", "for", "C", "function", ".", "OVERLOAD_NAME", "is", "the", "``", "short", "''", "name", "for", "C++", "overloaded", "function", ".", "OVERLOAD_NAME", "can", "be", "nullptr", "because", "some", "instance", "does", "n't", "have", "C++", "overloaded", "function", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64-sve-builtins1", "Func": "add_unique_function", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18412, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createLanaiDelaySlotFillerPass", "(", "getLanaiTargetMachine", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai", "Lanai"], "File": "LanaiTargetMachine", "Func": "addPreEmitPass", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18413, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitAssignment", "(", "MCSymbol", "*", "S", ",", "const", "MCExpr", "*", "Value", ")", "override", "{", "auto", "*", "Symbol", "=", "cast", "<", "MCSymbolELF", ">", "(", "S", ")", ";", "if", "(", "Value", "->", "getKind", "(", ")", "!=", "MCExpr", "::", "SymbolRef", ")", "return", ";", "const", "auto", "&", "RhsSym", "=", "cast", "<", "MCSymbolELF", ">", "(", "static_cast", "<", "const", "MCSymbolRefExpr", "*", ">", "(", "Value", ")", "->", "getSymbol", "(", ")", ")", ";", "unsigned", "Other", "=", "Symbol", "->", "getOther", "(", ")", ";", "Other", "&=", "~", "ELF", "::", "STO_PPC64_LOCAL_MASK", ";", "Other", "|=", "RhsSym", ".", "getOther", "(", ")", "&", "ELF", "::", "STO_PPC64_LOCAL_MASK", ";", "Symbol", "->", "setOther", "(", "Other", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "assignment", "of", "Value", "to", "Symbol", "."], "TS_V_token": ["PowerPC", "PPC", "PPC"], "File": "PPCMCTargetDesc (2)", "Func": "emitAssignment", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18414, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsMCCodeEmitter", "::", "getBranchTargetOpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"getBranchTargetOpValue expects only expressions or immediates\"", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "0", ",", "Expr", ",", "MCFixupKind", "(", "Mips", "::", "fixup_Mips_PC16", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "."], "TS_V_token": ["Mips", "Mips", "\"getBranchTargetOpValue expects only expressions or immediates\"", "0", "Mips::fixup_Mips_PC16", "0"], "File": "MipsMCCodeEmitter13", "Func": "getBranchTargetOpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18415, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rx_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": ["rx"], "File": "rx", "Func": "rx_reg_dead_or_unused_after_insn", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18416, "Length": 36, "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", "(", "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", "(", "GET_CODE", "(", "op", ")", "!=", "CONST_INT", "||", "INTVAL", "(", "op", ")", "!=", "len", "/", "2", "+", "i", ")", "return", "0", ";", "}", "for", "(", "unsigned", "int", "i", "=", "len", "/", "2", ";", "i", "<", "len", ";", "++", "i", ")", "{", "rtx", "op", "=", "XVECEXP", "(", "parallel", ",", "0", ",", "i", ")", ";", "if", "(", "GET_CODE", "(", "op", ")", "!=", "CONST_INT", "||", "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", "0", "1", "0", "0", "2", "4", "8", "16", "0", "0", "2", "0", "2", "0", "2", "0", "2", "0", "1"], "File": "rs6000-p8swap2", "Func": "insn_is_swap_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18417, "Length": 215, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "arm_preferred_simd_mode", "(", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_NEON", ")", "switch", "(", "mode", ")", "{", "case", "SFmode", ":", "return", "TARGET_NEON_VECTORIZE_DOUBLE", "?", "V2SFmode", ":", "V4SFmode", ";", "case", "SImode", ":", "return", "TARGET_NEON_VECTORIZE_DOUBLE", "?", "V2SImode", ":", "V4SImode", ";", "case", "HImode", ":", "return", "TARGET_NEON_VECTORIZE_DOUBLE", "?", "V4HImode", ":", "V8HImode", ";", "case", "QImode", ":", "return", "TARGET_NEON_VECTORIZE_DOUBLE", "?", "V8QImode", ":", "V16QImode", ";", "case", "DImode", ":", "if", "(", "!", "TARGET_NEON_VECTORIZE_DOUBLE", ")", "return", "V2DImode", ";", "break", ";", "default", ":", ";", "}", "if", "(", "TARGET_REALLY_IWMMXT", ")", "switch", "(", "mode", ")", "{", "case", "SImode", ":", "return", "V2SImode", ";", "case", "HImode", ":", "return", "V4HImode", ";", "case", "QImode", ":", "return", "V8QImode", ";", "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": "arm4", "Func": "arm_preferred_simd_mode", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18418, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "ix86_veclibabi_acml", "(", "combined_fn", "fn", ",", "tree", "type_out", ",", "tree", "type_in", ")", "{", "char", "name", "[", "20", "]", "=", "\"__vr.._\"", ";", "tree", "fntype", ",", "new_fndecl", ",", "args", ";", "unsigned", "arity", ";", "const", "char", "*", "bname", ";", "machine_mode", "el_mode", ",", "in_mode", ";", "int", "n", ",", "in_n", ";", "if", "(", "!", "TARGET_64BIT", "||", "!", "flag_unsafe_math_optimizations", ")", "return", "NULL_TREE", ";", "el_mode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "type_out", ")", ")", ";", "n", "=", "TYPE_VECTOR_SUBPARTS", "(", "type_out", ")", ";", "in_mode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "type_in", ")", ")", ";", "in_n", "=", "TYPE_VECTOR_SUBPARTS", "(", "type_in", ")", ";", "if", "(", "el_mode", "!=", "in_mode", "||", "n", "!=", "in_n", ")", "return", "NULL_TREE", ";", "switch", "(", "fn", ")", "{", "CASE_CFN_SIN", ":", "CASE_CFN_COS", ":", "CASE_CFN_EXP", ":", "CASE_CFN_LOG", ":", "CASE_CFN_LOG2", ":", "CASE_CFN_LOG10", ":", "if", "(", "el_mode", "==", "DFmode", "&&", "n", "==", "2", ")", "{", "name", "[", "4", "]", "=", "'d'", ";", "name", "[", "5", "]", "=", "'2'", ";", "}", "else", "if", "(", "el_mode", "==", "SFmode", "&&", "n", "==", "4", ")", "{", "name", "[", "4", "]", "=", "'s'", ";", "name", "[", "5", "]", "=", "'4'", ";", "}", "else", "return", "NULL_TREE", ";", "break", ";", "default", ":", "return", "NULL_TREE", ";", "}", "tree", "fndecl", "=", "mathfn_built_in", "(", "el_mode", "==", "DFmode", "?", "double_type_node", ":", "float_type_node", ",", "fn", ")", ";", "bname", "=", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "fndecl", ")", ")", ";", "sprintf", "(", "name", "+", "7", ",", "\"%s\"", ",", "bname", "+", "10", ")", ";", "arity", "=", "0", ";", "for", "(", "args", "=", "DECL_ARGUMENTS", "(", "fndecl", ")", ";", "args", ";", "args", "=", "TREE_CHAIN", "(", "args", ")", ")", "arity", "++", ";", "if", "(", "arity", "==", "1", ")", "fntype", "=", "build_function_type_list", "(", "type_out", ",", "type_in", ",", "NULL", ")", ";", "else", "fntype", "=", "build_function_type_list", "(", "type_out", ",", "type_in", ",", "type_in", ",", "NULL", ")", ";", "new_fndecl", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FUNCTION_DECL", ",", "get_identifier", "(", "name", ")", ",", "fntype", ")", ";", "TREE_PUBLIC", "(", "new_fndecl", ")", "=", "1", ";", "DECL_EXTERNAL", "(", "new_fndecl", ")", "=", "1", ";", "DECL_IS_NOVOPS", "(", "new_fndecl", ")", "=", "1", ";", "TREE_READONLY", "(", "new_fndecl", ")", "=", "1", ";", "return", "new_fndecl", ";", "}", ""], "natrual_language": ["Handler", "for", "an", "ACML-style", "interface", "to", "a", "library", "with", "vectorized", "intrinsics", "."], "TS_V_token": ["i386", "20", "\"__vr.._\"", "2", "4", "5", "4", "4", "5", "7", "\"%s\"", "10", "0", "1", "1", "1", "1", "1"], "File": "i386", "Func": "ix86_veclibabi_acml", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18419, "Length": 329, "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", "QImode", ":", "return", "(", "ADDR_DIFF_VEC_FLAGS", "(", "diff_vec", ")", ".", "offset_unsigned", "?", "\"bl\\t%___gnu_thumb1_case_uqi\"", ":", "\"bl\\t%___gnu_thumb1_case_sqi\"", ")", ";", "case", "HImode", ":", "return", "(", "ADDR_DIFF_VEC_FLAGS", "(", "diff_vec", ")", ".", "offset_unsigned", "?", "\"bl\\t%___gnu_thumb1_case_uhi\"", ":", "\"bl\\t%___gnu_thumb1_case_shi\"", ")", ";", "case", "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": "arm4", "Func": "thumb1_output_casesi", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18420, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64TargetMachine", "::", "AArch64TargetMachine", "(", "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", ",", "bool", "LittleEndian", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "Options", ".", "MCOptions", ",", "LittleEndian", ")", ",", "TT", ",", "computeDefaultCPU", "(", "TT", ",", "CPU", ")", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "TT", ",", "RM", ")", ",", "getEffectiveAArch64CodeModel", "(", "TT", ",", "CM", ",", "JIT", ")", ",", "OL", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", ",", "isLittle", "(", "LittleEndian", ")", "{", "initAsmInfo", "(", ")", ";", "if", "(", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "{", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "this", "->", "Options", ".", "NoTrapAfterNoreturn", "=", "true", ";", "}", "if", "(", "getMCAsmInfo", "(", ")", "->", "usesWindowsCFI", "(", ")", ")", "{", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "}", "if", "(", "this", "->", "Options", ".", "TLSSize", "==", "0", ")", "this", "->", "Options", ".", "TLSSize", "=", "24", ";", "if", "(", "(", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Small", "||", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Kernel", ")", "&&", "this", "->", "Options", ".", "TLSSize", ">", "32", ")", "this", "->", "Options", ".", "TLSSize", "=", "32", ";", "else", "if", "(", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Tiny", "&&", "this", "->", "Options", ".", "TLSSize", ">", "24", ")", "this", "->", "Options", ".", "TLSSize", "=", "24", ";", "if", "(", "getOptLevel", "(", ")", "<=", "EnableGlobalISelAtO", "&&", "TT", ".", "getArch", "(", ")", "!=", "Triple", "::", "aarch64_32", "&&", "!", "(", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", "&&", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", ")", "{", "setGlobalISel", "(", "true", ")", ";", "setGlobalISelAbort", "(", "GlobalISelAbortMode", "::", "Disable", ")", ";", "}", "setMachineOutliner", "(", "true", ")", ";", "setSupportsDefaultOutlining", "(", "true", ")", ";", "setSupportsDebugEntryValues", "(", "true", ")", ";", "}", ""], "natrual_language": ["Create", "an", "AArch64", "architecture", "model", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "0", "24", "32", "32", "24", "24"], "File": "AArch64TargetMachine38", "Func": "AArch64TargetMachine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18421, "Length": 311, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "VERegisterInfo", "::", "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", "VEFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "Register", "FrameReg", ";", "int", "Offset", ";", "Offset", "=", "TFI", "->", "getFrameIndexReference", "(", "MF", ",", "FrameIndex", ",", "FrameReg", ")", ".", "getFixed", "(", ")", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "2", ")", ".", "getImm", "(", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "VE", "::", "STQrii", ")", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "Register", "SrcReg", "=", "MI", ".", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", ";", "Register", "SrcHiReg", "=", "getSubReg", "(", "SrcReg", ",", "VE", "::", "sub_even", ")", ";", "Register", "SrcLoReg", "=", "getSubReg", "(", "SrcReg", ",", "VE", "::", "sub_odd", ")", ";", "MachineInstr", "*", "StMI", "=", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "VE", "::", "STrii", ")", ")", ".", "addReg", "(", "FrameReg", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcLoReg", ")", ";", "replaceFI", "(", "MF", ",", "II", ",", "*", "StMI", ",", "dl", ",", "0", ",", "Offset", ",", "FrameReg", ")", ";", "MI", ".", "setDesc", "(", "TII", ".", "get", "(", "VE", "::", "STrii", ")", ")", ";", "MI", ".", "getOperand", "(", "3", ")", ".", "setReg", "(", "SrcHiReg", ")", ";", "Offset", "+=", "8", ";", "}", "else", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "VE", "::", "LDQrii", ")", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "Register", "DestReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "Register", "DestHiReg", "=", "getSubReg", "(", "DestReg", ",", "VE", "::", "sub_even", ")", ";", "Register", "DestLoReg", "=", "getSubReg", "(", "DestReg", ",", "VE", "::", "sub_odd", ")", ";", "MachineInstr", "*", "StMI", "=", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "VE", "::", "LDrii", ")", ",", "DestLoReg", ")", ".", "addReg", "(", "FrameReg", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ";", "replaceFI", "(", "MF", ",", "II", ",", "*", "StMI", ",", "dl", ",", "1", ",", "Offset", ",", "FrameReg", ")", ";", "MI", ".", "setDesc", "(", "TII", ".", "get", "(", "VE", "::", "LDrii", ")", ")", ";", "MI", ".", "getOperand", "(", "0", ")", ".", "setReg", "(", "DestHiReg", ")", ";", "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": ["VE", "VE", "0", "\"Unexpected\"", "VE", "2", "VE::STQrii", "3", "VE::sub_even", "VE::sub_odd", "VE::STrii", "0", "0", "0", "VE::STrii", "3", "8", "VE::LDQrii", "0", "VE::sub_even", "VE::sub_odd", "VE::LDrii", "0", "0", "1", "VE::LDrii", "0", "8"], "File": "VERegisterInfo", "Func": "eliminateFrameIndex", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18422, "Length": 466, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCRegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "const", "unsigned", "DefaultSafety", "=", "1", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "PPC", "::", "G8RCRegClassID", ":", "case", "PPC", "::", "GPRCRegClassID", ":", "{", "unsigned", "FP", "=", "TFI", "->", "hasFP", "(", "MF", ")", "?", "1", ":", "0", ";", "return", "32", "-", "FP", "-", "DefaultSafety", ";", "}", "case", "PPC", "::", "F8RCRegClassID", ":", "case", "PPC", "::", "F4RCRegClassID", ":", "case", "PPC", "::", "VRRCRegClassID", ":", "return", "32", "-", "DefaultSafety", ";", "case", "PPC", "::", "CRRCRegClassID", ":", "return", "8", "-", "DefaultSafety", ";", "}", "}", ""], "natrual_language": ["Return", "the", "register", "pressure", "``", "high", "water", "mark", "''", "for", "the", "specific", "register", "class", "."], "TS_V_token": ["PowerPC", "PPC", "1", "0", "PPC::G8RCRegClassID", "PPC::GPRCRegClassID", "1", "0", "32", "PPC::F8RCRegClassID", "PPC::F4RCRegClassID", "PPC::VRRCRegClassID", "32", "PPC::CRRCRegClassID", "8"], "File": "PPCRegisterInfo14", "Func": "getRegPressureLimit", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18423, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_return_in_memory", "(", "const_tree", "type", ",", "const_tree", "fntype", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_MACHO", "&&", "rs6000_darwin64_abi", "&&", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", "&&", "int_size_in_bytes", "(", "type", ")", ">", "0", ")", "{", "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", ",", "type", ",", "true", ",", "true", ")", ";", "if", "(", "valret", ")", "return", "false", ";", "}", "if", "(", "rs6000_discover_homogeneous_aggregate", "(", "TYPE_MODE", "(", "type", ")", ",", "type", ",", "NULL", ",", "NULL", ")", ")", "return", "false", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_ELFv2", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "(", "unsigned", "HOST_WIDE_INT", ")", "int_size_in_bytes", "(", "type", ")", "<=", "16", ")", "return", "false", ";", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "(", "aix_struct_return", "||", "(", "unsigned", "HOST_WIDE_INT", ")", "int_size_in_bytes", "(", "type", ")", ">", "8", ")", ")", "return", "true", ";", "if", "(", "TARGET_32BIT", "&&", "!", "TARGET_ALTIVEC_ABI", "&&", "ALTIVEC_VECTOR_MODE", "(", "TYPE_MODE", "(", "type", ")", ")", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", "&&", "int_size_in_bytes", "(", "type", ")", ">", "(", "TARGET_ALTIVEC_ABI", "?", "16", ":", "8", ")", ")", "{", "static", "bool", "warned_for_return_big_vectors", "=", "false", ";", "if", "(", "!", "warned_for_return_big_vectors", ")", "{", "warning", "(", "0", ",", "\"GCC vector returned by reference: \"", "\"non-standard ABI extension with no compatibility guarantee\"", ")", ";", "warned_for_return_big_vectors", "=", "true", ";", "}", "return", "true", ";", "}", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "TARGET_IEEEQUAD", "&&", "FLOAT128_IEEE_P", "(", "TYPE_MODE", "(", "type", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "a", "nonzero", "value", "to", "say", "to", "return", "the", "function", "value", "in", "memory", ",", "just", "as", "large", "structures", "are", "always", "returned", ".", "TYPE", "will", "be", "the", "data", "type", "of", "the", "value", ",", "and", "FNTYPE", "will", "be", "the", "type", "of", "the", "function", "doing", "the", "returning", ",", "or", "@", "code", "{", "NULL", "}", "for", "libcalls", ".", "The", "AIX", "ABI", "for", "the", "RS/6000", "specifies", "that", "all", "structures", "are", "returned", "in", "memory", ".", "The", "Darwin", "ABI", "does", "the", "same", ".", "The", "SVR4", "ABI", "specifies", "that", "structures", "<", "=", "8", "bytes", "are", "returned", "in", "r3/r4", ",", "but", "a", "draft", "put", "them", "in", "memory", ",", "and", "GCC", "used", "to", "implement", "the", "draft", "instead", "of", "the", "final", "standard", ".", "Therefore", ",", "aix_struct_return", "controls", "this", "instead", "of", "DEFAULT_ABI", ";", "V.4", "targets", "needing", "backward", "compatibility", "can", "change", "DRAFT_V4_STRUCT_RET", "to", "override", "the", "default", ",", "and", "-m", "switches", "get", "the", "final", "word", ".", "See", "rs6000_override_options", "for", "more", "details", ".", "The", "PPC32", "SVR4", "ABI", "uses", "IEEE", "double", "extended", "for", "long", "double", ",", "if", "128-bit", "long", "double", "support", "is", "enabled", ".", "These", "values", "are", "returned", "in", "memory", ".", "int_size_in_bytes", "returns", "-1", "for", "variable", "size", "objects", ",", "which", "go", "in", "memory", "always", ".", "The", "cast", "to", "unsigned", "makes", "-1", ">", "8", "."], "TS_V_token": ["rs6000", "0", "0", "16", "8", "16", "8", "0", "\"GCC vector returned by reference: \"", "\"non-standard ABI extension with no compatibility guarantee\""], "File": "rs60005", "Func": "rs6000_return_in_memory", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18424, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcTargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "APInt", "&", "KnownZero", ",", "APInt", "&", "KnownOne", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "APInt", "KnownZero2", ",", "KnownOne2", ";", "KnownZero", "=", "KnownOne", "=", "APInt", "(", "KnownZero", ".", "getBitWidth", "(", ")", ",", "0", ")", ";", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "SPISD", "::", "SELECT_ICC", ":", "case", "SPISD", "::", "SELECT_XCC", ":", "case", "SPISD", "::", "SELECT_FCC", ":", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "1", ")", ",", "KnownZero", ",", "KnownOne", ",", "Depth", "+", "1", ")", ";", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "0", ")", ",", "KnownZero2", ",", "KnownOne2", ",", "Depth", "+", "1", ")", ";", "KnownOne", "&=", "KnownOne2", ";", "KnownZero", "&=", "KnownZero2", ";", "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", "0", "SPISD::SELECT_ICC", "SPISD::SELECT_XCC", "SPISD::SELECT_FCC", "1", "1", "0", "1"], "File": "SparcISelLowering", "Func": "computeKnownBitsForTargetNode", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18425, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", "=", "0", ")", "const", "override", "{", "return", "&", "LoongArch", "::", "GPRRegClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["LoongArch", "0", "LoongArch::GPRRegClass"], "File": "LoongArchRegisterInfo", "Func": "getPointerRegClass", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18426, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_rop_should_change_byte_p", "(", "int", "t", ")", "{", "return", "t", "==", "0xc2", "||", "t", "==", "0xc3", "||", "t", "==", "0xca", "||", "t", "==", "0xcb", ";", "}", ""], "natrual_language": ["Return", "true", "if", "T", "is", "one", "of", "the", "bytes", "we", "should", "avoid", "with", "-mmitigate-rop", "."], "TS_V_token": ["i386", "0xc2", "0xc3", "0xca", "0xcb"], "File": "i3865", "Func": "ix86_rop_should_change_byte_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18427, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetLowering", "::", "HandleByVal", "(", "CCState", "*", "State", ",", "unsigned", "&", "Size", ",", "Align", "Alignment", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFL", "=", "Subtarget", ".", "getFrameLowering", "(", ")", ";", "assert", "(", "Size", "&&", "\"Byval argument's size shouldn't be 0.\"", ")", ";", "Alignment", "=", "std", "::", "min", "(", "Alignment", ",", "TFL", "->", "getStackAlign", "(", ")", ")", ";", "unsigned", "FirstReg", "=", "0", ";", "unsigned", "NumRegs", "=", "0", ";", "if", "(", "State", "->", "getCallingConv", "(", ")", "!=", "CallingConv", "::", "Fast", ")", "{", "unsigned", "RegSizeInBytes", "=", "Subtarget", ".", "getGPRSizeInBytes", "(", ")", ";", "ArrayRef", "<", "MCPhysReg", ">", "IntArgRegs", "=", "ABI", ".", "GetByValArgRegs", "(", ")", ";", "const", "MCPhysReg", "*", "ShadowRegs", "=", "ABI", ".", "IsO32", "(", ")", "?", "IntArgRegs", ".", "data", "(", ")", ":", "Mips64DPRegs", ";", "assert", "(", "Alignment", ">=", "Align", "(", "RegSizeInBytes", ")", "&&", "\"Byval argument's alignment should be a multiple of RegSizeInBytes.\"", ")", ";", "FirstReg", "=", "State", "->", "getFirstUnallocated", "(", "IntArgRegs", ")", ";", "if", "(", "(", "Alignment", ">", "RegSizeInBytes", ")", "&&", "(", "FirstReg", "%", "2", ")", ")", "{", "State", "->", "AllocateReg", "(", "IntArgRegs", "[", "FirstReg", "]", ",", "ShadowRegs", "[", "FirstReg", "]", ")", ";", "++", "FirstReg", ";", "}", "Size", "=", "alignTo", "(", "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": "MipsISelLowering107", "Func": "HandleByVal", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18428, "Length": 237, "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": 18429, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "insn_refs_are_delayed", "(", "rtx", "insn", ")", "{", "return", "(", "(", "GET_CODE", "(", "insn", ")", "==", "INSN", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "SEQUENCE", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "USE", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "CLOBBER", "&&", "get_attr_type", "(", "insn", ")", "==", "TYPE_MILLI", ")", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "references", "for", "INSN", "are", "delayed", ".", "Millicode", "insns", "are", "actually", "function", "calls", "with", "some", "special", "constraints", "on", "arguments", "and", "register", "usage", ".", "Millicode", "calls", "always", "expect", "their", "arguments", "in", "the", "integer", "argument", "registers", ",", "and", "always", "return", "their", "result", "in", "%", "r29", "(", "ret1", ")", ".", "They", "are", "expected", "to", "clobber", "their", "arguments", ",", "%", "r1", ",", "%", "r29", ",", "and", "the", "return", "pointer", "which", "is", "%", "r31", "on", "32-bit", "and", "%", "r2", "on", "64-bit", ",", "and", "nothing", "else", ".", "This", "function", "tells", "reorg", "that", "the", "references", "to", "arguments", "and", "millicode", "calls", "do", "not", "appear", "to", "happen", "until", "after", "the", "millicode", "call", ".", "This", "allows", "reorg", "to", "put", "insns", "which", "set", "the", "argument", "registers", "into", "the", "delay", "slot", "of", "the", "millicode", "call", "--", "thus", "they", "act", "more", "like", "traditional", "CALL_INSNs", ".", "Note", "we", "can", "not", "consider", "side", "effects", "of", "the", "insn", "to", "be", "delayed", "because", "the", "branch", "and", "link", "insn", "will", "clobber", "the", "return", "pointer", ".", "If", "we", "happened", "to", "use", "the", "return", "pointer", "in", "the", "delay", "slot", "of", "the", "call", ",", "then", "we", "lose", ".", "get_attr_type", "will", "try", "to", "recognize", "the", "given", "insn", ",", "so", "make", "sure", "to", "filter", "out", "things", "it", "will", "not", "accept", "--", "SEQUENCE", ",", "USE", "and", "CLOBBER", "insns", "in", "particular", "."], "TS_V_token": ["pa"], "File": "pa3", "Func": "insn_refs_are_delayed", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18430, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "Dcpu16RegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Dcpu16"], "File": "Dcpu16TargetMachine (2)", "Func": "getRegisterInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18431, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARM64RegisterInfo", "::", "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", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "TII", "->", "get", "(", "ARM64", "::", "ADDXri", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MBB", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", "->", "getParent", "(", ")", ";", "MRI", ".", "constrainRegClass", "(", "BaseReg", ",", "TII", "->", "getRegClass", "(", "MCID", ",", "0", ",", "this", ",", "MF", ")", ")", ";", "unsigned", "Shifter", "=", "ARM64_AM", "::", "getShifterImm", "(", "ARM64_AM", "::", "LSL", ",", "0", ")", ";", "BuildMI", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "MCID", ",", "BaseReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "Offset", ")", ".", "addImm", "(", "Shifter", ")", ";", "}", ""], "natrual_language": ["Insert", "defining", "instruction", "(", "s", ")", "for", "a", "pointer", "to", "FrameIdx", "before", "insertion", "point", "I", "."], "TS_V_token": ["ARM64", "ARM64", "ARM64::ADDXri", "0", "ARM64_AM::getShifterImm", "ARM64_AM::LSL", "0"], "File": "ARM64RegisterInfo", "Func": "materializeFrameBaseRegister", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18432, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "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": ["PowerPC", "PPC"], "File": "PPCISelLowering (2)", "Func": "isOffsetFoldingLegal", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18433, "Length": 16, "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": 18434, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "X86TargetLowering", "::", "LowerAsmOutputForConstraint", "(", "SDValue", "&", "Chain", ",", "SDValue", "*", "Flag", ",", "SDLoc", "DL", ",", "const", "AsmOperandInfo", "&", "OpInfo", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "X86", "::", "CondCode", "Cond", "=", "parseConstraintCode", "(", "OpInfo", ".", "ConstraintCode", ")", ";", "if", "(", "Cond", "==", "X86", "::", "COND_INVALID", ")", "return", "SDValue", "(", ")", ";", "if", "(", "OpInfo", ".", "ConstraintVT", ".", "isVector", "(", ")", "||", "!", "OpInfo", ".", "ConstraintVT", ".", "isInteger", "(", ")", "||", "OpInfo", ".", "ConstraintVT", ".", "getSizeInBits", "(", ")", "<", "8", ")", "report_fatal_error", "(", "\"Flag output operand is of invalid type\"", ")", ";", "SDValue", "EFlags", ";", "if", "(", "Flag", ")", "{", "EFlags", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "X86", "::", "EFLAGS", ",", "MVT", "::", "i32", ",", "*", "Flag", ")", ";", "Chain", "=", "EFlags", ".", "getValue", "(", "1", ")", ";", "}", "else", "EFlags", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "X86", "::", "EFLAGS", ",", "MVT", "::", "i32", ")", ";", "SDValue", "CC", "=", "getSETCC", "(", "Cond", ",", "EFlags", ",", "DL", ",", "DAG", ")", ";", "SDValue", "Result", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ZERO_EXTEND", ",", "DL", ",", "OpInfo", ".", "ConstraintVT", ",", "CC", ")", ";", "return", "Result", ";", "}", ""], "natrual_language": ["Handle", "Lowering", "flag", "assembly", "outputs", "."], "TS_V_token": ["X86", "X86", "X86::CondCode", "X86::COND_INVALID", "8", "\"Flag output operand is of invalid type\"", "X86::EFLAGS", "MVT::i32", "1", "X86::EFLAGS", "MVT::i32", "ISD::ZERO_EXTEND"], "File": "X86ISelLowering234", "Func": "LowerAsmOutputForConstraint", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18435, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "arm_dbx_register_number", "(", "unsigned", "int", "regno", ")", "{", "if", "(", "regno", "<", "16", ")", "return", "regno", ";", "if", "(", "IS_FPA_REGNUM", "(", "regno", ")", ")", "return", "(", "TARGET_AAPCS_BASED", "?", "96", ":", "16", ")", "+", "regno", "-", "FIRST_FPA_REGNUM", ";", "if", "(", "IS_VFP_REGNUM", "(", "regno", ")", ")", "return", "64", "+", "regno", "-", "FIRST_VFP_REGNUM", ";", "if", "(", "IS_IWMMXT_GR_REGNUM", "(", "regno", ")", ")", "return", "104", "+", "regno", "-", "FIRST_IWMMXT_GR_REGNUM", ";", "if", "(", "IS_IWMMXT_REGNUM", "(", "regno", ")", ")", "return", "112", "+", "regno", "-", "FIRST_IWMMXT_REGNUM", ";", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Map", "internal", "gcc", "register", "numbers", "to", "DWARF2", "register", "numbers", "."], "TS_V_token": ["arm", "16", "96", "16", "64", "104", "112"], "File": "arm3", "Func": "arm_dbx_register_number", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18436, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZInstrInfo", "::", "insertSelect", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DstReg", ",", "ArrayRef", "<", "MachineOperand", ">", "Pred", ",", "unsigned", "TrueReg", ",", "unsigned", "FalseReg", ")", "const", "{", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "MRI", ".", "getRegClass", "(", "DstReg", ")", ";", "assert", "(", "Pred", ".", "size", "(", ")", "==", "2", "&&", "\"Invalid condition\"", ")", ";", "unsigned", "CCValid", "=", "Pred", "[", "0", "]", ".", "getImm", "(", ")", ";", "unsigned", "CCMask", "=", "Pred", "[", "1", "]", ".", "getImm", "(", ")", ";", "unsigned", "Opc", ";", "if", "(", "SystemZ", "::", "GRX32BitRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "if", "(", "STI", ".", "hasLoadStoreOnCond2", "(", ")", ")", "Opc", "=", "SystemZ", "::", "LOCRMux", ";", "else", "{", "Opc", "=", "SystemZ", "::", "LOCR", ";", "MRI", ".", "constrainRegClass", "(", "DstReg", ",", "&", "SystemZ", "::", "GR32BitRegClass", ")", ";", "}", "}", "else", "if", "(", "SystemZ", "::", "GR64BitRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opc", "=", "SystemZ", "::", "LOCGR", ";", "else", "llvm_unreachable", "(", "\"Invalid register class\"", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DstReg", ")", ".", "addReg", "(", "FalseReg", ")", ".", "addReg", "(", "TrueReg", ")", ".", "addImm", "(", "CCValid", ")", ".", "addImm", "(", "CCMask", ")", ";", "}", ""], "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": ["SystemZ", "SystemZ", "2", "\"Invalid condition\"", "0", "1", "SystemZ::GRX32BitRegClass", "SystemZ::LOCRMux", "SystemZ::LOCR", "SystemZ::GR32BitRegClass", "SystemZ::GR64BitRegClass", "SystemZ::LOCGR", "\"Invalid register class\""], "File": "SystemZInstrInfo26", "Func": "insertSelect", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18437, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "aarch64_vec_fpconst_pow_of_2", "(", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "!=", "CONST_VECTOR", ")", "return", "-", "1", ";", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "x", ")", ")", "!=", "MODE_VECTOR_FLOAT", ")", "return", "-", "1", ";", "int", "firstval", "=", "aarch64_fpconst_pow_of_2", "(", "CONST_VECTOR_ELT", "(", "x", ",", "0", ")", ")", ";", "if", "(", "firstval", "<=", "0", ")", "return", "-", "1", ";", "for", "(", "int", "i", "=", "1", ";", "i", "<", "CONST_VECTOR_NUNITS", "(", "x", ")", ";", "i", "++", ")", "if", "(", "aarch64_fpconst_pow_of_2", "(", "CONST_VECTOR_ELT", "(", "x", ",", "i", ")", ")", "!=", "firstval", ")", "return", "-", "1", ";", "return", "firstval", ";", "}", ""], "natrual_language": ["If", "X", "is", "a", "vector", "of", "equal", "CONST_DOUBLE", "values", "and", "that", "value", "is", "Y", ",", "return", "the", "aarch64_fpconst_pow_of_2", "of", "Y", ".", "Otherwise", "return", "-1", "."], "TS_V_token": ["aarch64", "1", "1", "0", "0", "1", "1", "1"], "File": "aarch643", "Func": "aarch64_vec_fpconst_pow_of_2", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18438, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "r10k_uncached_address_p", "(", "unsigned", "HOST_WIDE_INT", "address", ")", "{", "unsigned", "HOST_WIDE_INT", "upper", ";", "if", "(", "address", "+", "0x60000000", "<", "0x20000000", ")", "return", "true", ";", "if", "(", "Pmode", "==", "DImode", ")", "{", "upper", "=", "(", "address", ">>", "40", ")", "&", "0xf9ffff", ";", "if", "(", "upper", "==", "0x900000", "||", "upper", "==", "0xb80000", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "ADDRESS", "is", "known", "to", "be", "an", "uncached", "address", "on", "R10K", "systems", "."], "TS_V_token": ["mips", "0x60000000", "0x20000000", "40", "0xf9ffff", "0x900000", "0xb80000"], "File": "mips", "Func": "r10k_uncached_address_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18439, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_can_use_simple_return_p", "(", "void", ")", "{", "HARD_REG_SET", "live_regs_mask", ";", "int", "d", ";", "if", "(", "TARGET_SHMEDIA", "||", "(", "TARGET_SHCOMPACT", "&&", "(", "crtl", "->", "args", ".", "info", ".", "call_cookie", "&", "CALL_COOKIE_RET_TRAMP", "(", "1", ")", ")", ")", ")", "return", "false", ";", "if", "(", "!", "reload_completed", "||", "frame_pointer_needed", ")", "return", "false", ";", "if", "(", "optimize_function_for_size_p", "(", "cfun", ")", ")", "return", "false", ";", "d", "=", "calc_live_regs", "(", "&", "live_regs_mask", ")", ";", "if", "(", "rounded_frame_size", "(", "d", ")", ">", "4", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "appropriate", "to", "emit", "`", "ret", "'", "instructions", "in", "the", "body", "of", "a", "function", "."], "TS_V_token": ["sh", "1", "4"], "File": "sh4", "Func": "sh_can_use_simple_return_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18440, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_le_vsx_move", "(", "rtx", "dest", ",", "rtx", "source", ",", "machine_mode", "mode", ")", "{", "gcc_assert", "(", "!", "BYTES_BIG_ENDIAN", "&&", "VECTOR_MEM_VSX_P", "(", "mode", ")", "&&", "!", "TARGET_P9_VECTOR", "&&", "!", "gpr_or_gpr_p", "(", "dest", ",", "source", ")", "&&", "(", "MEM_P", "(", "source", ")", "^", "MEM_P", "(", "dest", ")", ")", ")", ";", "if", "(", "MEM_P", "(", "source", ")", ")", "{", "gcc_assert", "(", "REG_P", "(", "dest", ")", "||", "GET_CODE", "(", "dest", ")", "==", "SUBREG", ")", ";", "rs6000_emit_le_vsx_load", "(", "dest", ",", "source", ",", "mode", ")", ";", "}", "else", "{", "if", "(", "!", "REG_P", "(", "source", ")", ")", "source", "=", "force_reg", "(", "mode", ",", "source", ")", ";", "rs6000_emit_le_vsx_store", "(", "dest", ",", "source", ",", "mode", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "a", "sequence", "representing", "a", "little-endian", "VSX", "load", "or", "store", ",", "moving", "data", "from", "SOURCE", "to", "DEST", "in", "mode", "MODE", ".", "This", "is", "done", "separately", "from", "rs6000_emit_move", "to", "ensure", "it", "is", "called", "only", "during", "expand", ".", "LE", "VSX", "loads", "and", "stores", "introduced", "later", "are", "handled", "with", "a", "split", ".", "The", "expand-time", "RTL", "generation", "allows", "us", "to", "optimize", "away", "redundant", "pairs", "of", "register-permutes", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_emit_le_vsx_move", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18441, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_expand_sve_dupq", "(", "rtx", "target", ",", "machine_mode", "mode", ",", "rtx", "src", ")", "{", "machine_mode", "src_mode", "=", "GET_MODE", "(", "src", ")", ";", "gcc_assert", "(", "GET_MODE_INNER", "(", "mode", ")", "==", "GET_MODE_INNER", "(", "src_mode", ")", ")", ";", "insn_code", "icode", "=", "(", "BYTES_BIG_ENDIAN", "?", "code_for_aarch64_vec_duplicate_vq_be", "(", "mode", ")", ":", "code_for_aarch64_vec_duplicate_vq_le", "(", "mode", ")", ")", ";", "unsigned", "int", "i", "=", "0", ";", "expand_operand", "ops", "[", "3", "]", ";", "create_output_operand", "(", "&", "ops", "[", "i", "++", "]", ",", "target", ",", "mode", ")", ";", "create_output_operand", "(", "&", "ops", "[", "i", "++", "]", ",", "src", ",", "src_mode", ")", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "{", "unsigned", "int", "nelts_per_vq", "=", "128", "/", "GET_MODE_UNIT_BITSIZE", "(", "mode", ")", ";", "rtx", "sel", "=", "aarch64_gen_stepped_int_parallel", "(", "nelts_per_vq", ",", "nelts_per_vq", "-", "1", ",", "-", "1", ")", ";", "create_fixed_operand", "(", "&", "ops", "[", "i", "++", "]", ",", "sel", ")", ";", "}", "expand_insn", "(", "icode", ",", "i", ",", "ops", ")", ";", "return", "ops", "[", "0", "]", ".", "value", ";", "}", ""], "natrual_language": ["Duplicate", "128-bit", "Advanced", "SIMD", "vector", "SRC", "so", "that", "it", "fills", "an", "SVE", "register", "of", "mode", "MODE", ".", "Use", "TARGET", "for", "the", "result", "if", "it", "'s", "nonnull", "and", "convenient", ".", "The", "two", "vector", "modes", "must", "have", "the", "same", "element", "mode", ".", "The", "behavior", "is", "to", "duplicate", "architectural", "lane", "N", "of", "SRC", "into", "architectural", "lanes", "N", "+", "I", "*", "STEP", "of", "the", "result", ".", "On", "big-endian", "targets", ",", "architectural", "lane", "0", "of", "an", "Advanced", "SIMD", "vector", "is", "the", "last", "element", "of", "the", "vector", "in", "memory", "layout", ",", "so", "for", "big-endian", "targets", "this", "operation", "has", "the", "effect", "of", "reversing", "SRC", "before", "duplicating", "it", ".", "Callers", "need", "to", "account", "for", "this", "."], "TS_V_token": ["aarch64", "0", "3", "128", "1", "1", "0"], "File": "aarch64", "Func": "aarch64_expand_sve_dupq", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18442, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "rs6000_data_alignment", "(", "tree", "type", ",", "unsigned", "int", "align", ",", "enum", "data_align", "how", ")", "{", "if", "(", "how", "!=", "align_opt", ")", "{", "if", "(", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", "&&", "align", "<", "128", ")", "align", "=", "128", ";", "}", "if", "(", "how", "!=", "align_abi", ")", "{", "if", "(", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", "&&", "TYPE_MODE", "(", "TREE_TYPE", "(", "type", ")", ")", "==", "QImode", ")", "{", "if", "(", "align", "<", "BITS_PER_WORD", ")", "align", "=", "BITS_PER_WORD", ";", "}", "}", "return", "align", ";", "}", ""], "natrual_language": ["Return", "alignment", "of", "TYPE", ".", "Existing", "alignment", "is", "ALIGN", ".", "HOW", "selects", "whether", "the", "alignment", "is", "abi", "mandated", ",", "optional", ",", "or", "both", "abi", "and", "optional", "alignment", "."], "TS_V_token": ["rs6000", "128", "128"], "File": "rs6000", "Func": "rs6000_data_alignment", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18443, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "loongarch_can_use_return_insn", "(", "void", ")", "{", "return", "reload_completed", "&&", "cfun", "->", "machine", "->", "frame", ".", "total_size", "==", "0", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "this", "function", "is", "known", "to", "have", "a", "null", "epilogue", ".", "This", "allows", "the", "optimizer", "to", "omit", "jumps", "to", "jumps", "if", "no", "stack", "was", "created", "."], "TS_V_token": ["loongarch", "0"], "File": "loongarch", "Func": "loongarch_can_use_return_insn", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18444, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_simd_check_vect_par_cnst_half", "(", "rtx", "op", ",", "machine_mode", "mode", ",", "bool", "high", ")", "{", "rtx", "ideal", "=", "aarch64_simd_vect_par_cnst_half", "(", "mode", ",", "high", ")", ";", "HOST_WIDE_INT", "count_op", "=", "XVECLEN", "(", "op", ",", "0", ")", ";", "HOST_WIDE_INT", "count_ideal", "=", "XVECLEN", "(", "ideal", ",", "0", ")", ";", "int", "i", "=", "0", ";", "if", "(", "!", "VECTOR_MODE_P", "(", "mode", ")", ")", "return", "false", ";", "if", "(", "count_op", "!=", "count_ideal", ")", "return", "false", ";", "for", "(", "i", "=", "0", ";", "i", "<", "count_ideal", ";", "i", "++", ")", "{", "rtx", "elt_op", "=", "XVECEXP", "(", "op", ",", "0", ",", "i", ")", ";", "rtx", "elt_ideal", "=", "XVECEXP", "(", "ideal", ",", "0", ",", "i", ")", ";", "if", "(", "!", "CONST_INT_P", "(", "elt_op", ")", "||", "INTVAL", "(", "elt_ideal", ")", "!=", "INTVAL", "(", "elt_op", ")", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Check", "OP", "for", "validity", "as", "a", "PARALLEL", "RTX", "vector", "with", "elements", "numbering", "the", "lanes", "of", "either", "the", "high", "(", "HIGH", "==", "TRUE", ")", "or", "low", "lanes", ",", "from", "the", "perspective", "of", "the", "architecture", ".", "See", "the", "diagram", "above", "aarch64_simd_vect_par_cnst_half", "for", "more", "details", "."], "TS_V_token": ["aarch64", "0", "0", "0", "0", "0", "0"], "File": "aarch642", "Func": "aarch64_simd_check_vect_par_cnst_half", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18445, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "DCPU16InstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["Dcpu16", "DCPU16"], "File": "Dcpu16TargetMachine", "Func": "getInstrInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18446, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "rs6000_special_round_type_align", "(", "tree", "type", ",", "unsigned", "int", "computed", ",", "unsigned", "int", "specified", ")", "{", "unsigned", "int", "align", "=", "MAX", "(", "computed", ",", "specified", ")", ";", "tree", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";", "while", "(", "field", "!=", "NULL", "&&", "TREE_CODE", "(", "field", ")", "!=", "FIELD_DECL", ")", "field", "=", "DECL_CHAIN", "(", "field", ")", ";", "if", "(", "field", "!=", "NULL", "&&", "field", "!=", "type", ")", "{", "type", "=", "TREE_TYPE", "(", "field", ")", ";", "while", "(", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", ")", "type", "=", "TREE_TYPE", "(", "type", ")", ";", "if", "(", "type", "!=", "error_mark_node", "&&", "TYPE_MODE", "(", "type", ")", "==", "DFmode", ")", "align", "=", "MAX", "(", "align", ",", "64", ")", ";", "}", "return", "align", ";", "}", ""], "natrual_language": ["Darwin", ",", "AIX", "increases", "natural", "record", "alignment", "to", "doubleword", "if", "the", "first", "field", "is", "an", "FP", "double", "while", "the", "FP", "fields", "remain", "word", "aligned", "."], "TS_V_token": ["rs6000", "64"], "File": "rs60004", "Func": "rs6000_special_round_type_align", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18447, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "vax_notice_update_cc", "(", "rtx", "exp", ",", "rtx", "insn", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "GET_CODE", "(", "exp", ")", "==", "SET", ")", "{", "if", "(", "GET_CODE", "(", "SET_SRC", "(", "exp", ")", ")", "==", "CALL", ")", "CC_STATUS_INIT", ";", "else", "if", "(", "GET_CODE", "(", "SET_DEST", "(", "exp", ")", ")", "!=", "ZERO_EXTRACT", "&&", "GET_CODE", "(", "SET_DEST", "(", "exp", ")", ")", "!=", "PC", ")", "{", "cc_status", ".", "flags", "=", "0", ";", "switch", "(", "GET_CODE", "(", "SET_SRC", "(", "exp", ")", ")", ")", "{", "case", "NEG", ":", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "exp", ")", ")", "==", "MODE_FLOAT", ")", "break", ";", "case", "AND", ":", "case", "IOR", ":", "case", "XOR", ":", "case", "NOT", ":", "case", "MEM", ":", "case", "REG", ":", "cc_status", ".", "flags", "=", "CC_NO_OVERFLOW", ";", "break", ";", "default", ":", "break", ";", "}", "cc_status", ".", "value1", "=", "SET_DEST", "(", "exp", ")", ";", "cc_status", ".", "value2", "=", "SET_SRC", "(", "exp", ")", ";", "}", "}", "else", "if", "(", "GET_CODE", "(", "exp", ")", "==", "PARALLEL", "&&", "GET_CODE", "(", "XVECEXP", "(", "exp", ",", "0", ",", "0", ")", ")", "==", "SET", ")", "{", "if", "(", "GET_CODE", "(", "SET_SRC", "(", "XVECEXP", "(", "exp", ",", "0", ",", "0", ")", ")", ")", "==", "CALL", ")", "CC_STATUS_INIT", ";", "else", "if", "(", "GET_CODE", "(", "SET_DEST", "(", "XVECEXP", "(", "exp", ",", "0", ",", "0", ")", ")", ")", "!=", "PC", ")", "{", "cc_status", ".", "flags", "=", "0", ";", "cc_status", ".", "value1", "=", "SET_DEST", "(", "XVECEXP", "(", "exp", ",", "0", ",", "0", ")", ")", ";", "cc_status", ".", "value2", "=", "SET_SRC", "(", "XVECEXP", "(", "exp", ",", "0", ",", "0", ")", ")", ";", "}", "else", "CC_STATUS_INIT", ";", "}", "else", "CC_STATUS_INIT", ";", "if", "(", "cc_status", ".", "value1", "&&", "REG_P", "(", "cc_status", ".", "value1", ")", "&&", "cc_status", ".", "value2", "&&", "reg_overlap_mentioned_p", "(", "cc_status", ".", "value1", ",", "cc_status", ".", "value2", ")", ")", "cc_status", ".", "value2", "=", "0", ";", "if", "(", "cc_status", ".", "value1", "&&", "MEM_P", "(", "cc_status", ".", "value1", ")", "&&", "cc_status", ".", "value2", "&&", "MEM_P", "(", "cc_status", ".", "value2", ")", ")", "cc_status", ".", "value2", "=", "0", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "NOTICE_UPDATE_CC", "."], "TS_V_token": ["vax", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"], "File": "vax", "Func": "vax_notice_update_cc", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18448, "Length": 322, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "n9_2r1w_consumed_by_ex_dep_p", "(", "rtx_insn", "*", "consumer", ",", "rtx", "def_reg", ")", "{", "rtx", "use_rtx", ";", "switch", "(", "get_attr_type", "(", "consumer", ")", ")", "{", "case", "TYPE_ALU", ":", "if", "(", "movd44_even_dep_p", "(", "consumer", ",", "def_reg", ")", ")", "return", "true", ";", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "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", "=", "PATTERN", "(", "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", ":", "if", "(", "post_update_insn_p", "(", "consumer", ")", ")", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "else", "use_rtx", "=", "extract_mem_rtx", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_STORE", ":", "if", "(", "post_update_insn_p", "(", "consumer", ")", ")", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "else", "use_rtx", "=", "extract_mem_rtx", "(", "consumer", ")", ";", "if", "(", "reg_overlap_p", "(", "def_reg", ",", "use_rtx", ")", ")", "return", "true", ";", "if", "(", "!", "post_update_insn_p", "(", "consumer", ")", "&&", "!", "immed_offset_p", "(", "extract_mem_rtx", "(", "consumer", ")", ")", ")", "return", "false", ";", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_LOAD_MULTIPLE", ":", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_STORE_MULTIPLE", ":", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "if", "(", "reg_overlap_p", "(", "def_reg", ",", "use_rtx", ")", ")", "return", "true", ";", "use_rtx", "=", "extract_nth_access_rtx", "(", "consumer", ",", "0", ")", ";", "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", "0"], "File": "nds32-pipelines-auxiliary", "Func": "n9_2r1w_consumed_by_ex_dep_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18449, "Length": 344, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_output_function_prologue", "(", "FILE", "*", "f", ",", "HOST_WIDE_INT", "frame_size", ")", "{", "unsigned", "long", "func_type", ";", "gcc_assert", "(", "!", "arm_ccfsm_state", "&&", "!", "arm_target_insn", ")", ";", "func_type", "=", "arm_current_func_type", "(", ")", ";", "switch", "(", "(", "int", ")", "ARM_FUNC_TYPE", "(", "func_type", ")", ")", "{", "default", ":", "case", "ARM_FT_NORMAL", ":", "break", ";", "case", "ARM_FT_INTERWORKED", ":", "asm_fprintf", "(", "f", ",", "\"\\t%@ Function supports interworking.\\n\"", ")", ";", "break", ";", "case", "ARM_FT_ISR", ":", "asm_fprintf", "(", "f", ",", "\"\\t%@ Interrupt Service Routine.\\n\"", ")", ";", "break", ";", "case", "ARM_FT_FIQ", ":", "asm_fprintf", "(", "f", ",", "\"\\t%@ Fast Interrupt Service Routine.\\n\"", ")", ";", "break", ";", "case", "ARM_FT_EXCEPTION", ":", "asm_fprintf", "(", "f", ",", "\"\\t%@ ARM Exception Handler.\\n\"", ")", ";", "break", ";", "}", "if", "(", "IS_NAKED", "(", "func_type", ")", ")", "asm_fprintf", "(", "f", ",", "\"\\t%@ Naked Function: prologue and epilogue provided by programmer.\\n\"", ")", ";", "if", "(", "IS_VOLATILE", "(", "func_type", ")", ")", "asm_fprintf", "(", "f", ",", "\"\\t%@ Volatile: function does not return.\\n\"", ")", ";", "if", "(", "IS_NESTED", "(", "func_type", ")", ")", "asm_fprintf", "(", "f", ",", "\"\\t%@ Nested: function declared inside another function.\\n\"", ")", ";", "if", "(", "IS_STACKALIGN", "(", "func_type", ")", ")", "asm_fprintf", "(", "f", ",", "\"\\t%@ Stack Align: May be called with mis-aligned SP.\\n\"", ")", ";", "if", "(", "IS_CMSE_ENTRY", "(", "func_type", ")", ")", "asm_fprintf", "(", "f", ",", "\"\\t%@ Non-secure entry function: called from non-secure code.\\n\"", ")", ";", "asm_fprintf", "(", "f", ",", "\"\\t%@ args = %d, pretend = %d, frame = %wd\\n\"", ",", "crtl", "->", "args", ".", "size", ",", "crtl", "->", "args", ".", "pretend_args_size", ",", "frame_size", ")", ";", "asm_fprintf", "(", "f", ",", "\"\\t%@ frame_needed = %d, uses_anonymous_args = %d\\n\"", ",", "frame_pointer_needed", ",", "cfun", "->", "machine", "->", "uses_anonymous_args", ")", ";", "if", "(", "cfun", "->", "machine", "->", "lr_save_eliminated", ")", "asm_fprintf", "(", "f", ",", "\"\\t%@ link register save eliminated.\\n\"", ")", ";", "if", "(", "crtl", "->", "calls_eh_return", ")", "asm_fprintf", "(", "f", ",", "\"\\t@ Calls __builtin_eh_return.\\n\"", ")", ";", "}", ""], "natrual_language": ["Place", "some", "comments", "into", "the", "assembler", "stream", "describing", "the", "current", "function", "."], "TS_V_token": ["arm", "\"\\t%@ Function supports interworking.\\n\"", "\"\\t%@ Interrupt Service Routine.\\n\"", "\"\\t%@ Fast Interrupt Service Routine.\\n\"", "\"\\t%@ ARM Exception Handler.\\n\"", "\"\\t%@ Naked Function: prologue and epilogue provided by programmer.\\n\"", "\"\\t%@ Volatile: function does not return.\\n\"", "\"\\t%@ Nested: function declared inside another function.\\n\"", "\"\\t%@ Stack Align: May be called with mis-aligned SP.\\n\"", "\"\\t%@ Non-secure entry function: called from non-secure code.\\n\"", "\"\\t%@ args = %d, pretend = %d, frame = %wd\\n\"", "\"\\t%@ frame_needed = %d, uses_anonymous_args = %d\\n\"", "\"\\t%@ link register save eliminated.\\n\"", "\"\\t@ Calls __builtin_eh_return.\\n\""], "File": "arm6", "Func": "arm_output_function_prologue", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18450, "Length": 233, "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", ")", ")", "{", "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": "PPCAsmParser42", "Func": "ParseInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18451, "Length": 384, "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": 18452, "Length": 186, "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": 18453, "Length": 38, "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": "X86OptimizeLEAs12", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18454, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "X86RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "bool", "HasAVX", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "hasAVX", "(", ")", ";", "bool", "HasAVX512", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "hasAVX512", "(", ")", ";", "assert", "(", "MF", "&&", "\"MachineFunction required\"", ")", ";", "switch", "(", "MF", "->", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", ")", "{", "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", "::", "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", "::", "Cold", ":", "if", "(", "Is64Bit", ")", "return", "CSR_64_MostRegs_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", "\"MachineFunction required\""], "File": "X86RegisterInfo35", "Func": "getCalleeSavedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18455, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_split_copysign_const", "(", "rtx", "operands", "[", "]", ")", "{", "machine_mode", "mode", ",", "vmode", ";", "rtx", "dest", ",", "op0", ",", "mask", ",", "x", ";", "dest", "=", "operands", "[", "0", "]", ";", "op0", "=", "operands", "[", "1", "]", ";", "mask", "=", "operands", "[", "3", "]", ";", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "vmode", "=", "GET_MODE", "(", "mask", ")", ";", "dest", "=", "simplify_gen_subreg", "(", "vmode", ",", "dest", ",", "mode", ",", "0", ")", ";", "x", "=", "gen_rtx_AND", "(", "vmode", ",", "dest", ",", "mask", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "x", ")", ")", ";", "if", "(", "op0", "!=", "CONST0_RTX", "(", "vmode", ")", ")", "{", "x", "=", "gen_rtx_IOR", "(", "vmode", ",", "dest", ",", "op0", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "x", ")", ")", ";", "}", "}", ""], "natrual_language": ["Deconstruct", "a", "copysign", "operation", "into", "bit", "masks", ".", "Operand", "0", "is", "known", "to", "be", "a", "constant", ",", "and", "so", "has", "already", "been", "expanded", "into", "a", "vector", "constant", "."], "TS_V_token": ["i386", "0", "1", "3", "0"], "File": "i3864", "Func": "ix86_split_copysign_const", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18456, "Length": 129, "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": 18457, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "OR1KAsmParser", "::", "ParseInstruction", "(", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ")", "{", "size_t", "dotLoc", "=", "Name", ".", "find", "(", "'.'", ")", ";", "Operands", ".", "push_back", "(", "OR1KOperand", "::", "CreateToken", "(", "Name", ".", "substr", "(", "0", ",", "dotLoc", ")", ",", "NameLoc", ")", ")", ";", "if", "(", "dotLoc", "<", "Name", ".", "size", "(", ")", ")", "{", "size_t", "dotLoc2", "=", "Name", ".", "rfind", "(", "'.'", ")", ";", "if", "(", "dotLoc", "==", "dotLoc2", ")", "Operands", ".", "push_back", "(", "OR1KOperand", "::", "CreateToken", "(", "Name", ".", "substr", "(", "dotLoc", ")", ",", "NameLoc", ")", ")", ";", "else", "{", "Operands", ".", "push_back", "(", "OR1KOperand", "::", "CreateToken", "(", "Name", ".", "substr", "(", "dotLoc", ",", "dotLoc2", "-", "dotLoc", ")", ",", "NameLoc", ")", ")", ";", "Operands", ".", "push_back", "(", "OR1KOperand", "::", "CreateToken", "(", "Name", ".", "substr", "(", "dotLoc2", ")", ",", "NameLoc", ")", ")", ";", "}", "}", "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", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["OR1K", "OR1K", "OR1KOperand::CreateToken", "0", "OR1KOperand::CreateToken", "OR1KOperand::CreateToken", "OR1KOperand::CreateToken"], "File": "OR1KAsmParser", "Func": "ParseInstruction", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18458, "Length": 217, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "handle_arm_sve_h", "(", ")", "{", "if", "(", "function_table", ")", "{", "error", "(", "\"duplicate definition of %qs\"", ",", "\"arm_sve.h\"", ")", ";", "return", ";", "}", "sve_switcher", "sve", ";", "for", "(", "unsigned", "int", "type_i", "=", "0", ";", "type_i", "<", "NUM_VECTOR_TYPES", ";", "++", "type_i", ")", "{", "vector_type_index", "type", "=", "vector_type_index", "(", "type_i", ")", ";", "register_vector_type", "(", "type", ")", ";", "if", "(", "type", "!=", "VECTOR_TYPE_svbool_t", ")", "for", "(", "unsigned", "int", "count", "=", "2", ";", "count", "<=", "MAX_TUPLE_SIZE", ";", "++", "count", ")", "register_tuple_type", "(", "count", ",", "type", ")", ";", "}", "register_svpattern", "(", ")", ";", "register_svprfop", "(", ")", ";", "function_table", "=", "new", "hash_table", "<", "registered_function_hasher", ">", "(", "1023", ")", ";", "function_builder", "builder", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "function_groups", ")", ";", "++", "i", ")", "builder", ".", "register_function_group", "(", "function_groups", "[", "i", "]", ")", ";", "}", ""], "natrual_language": ["Implement", "#", "pragma", "GCC", "aarch64", "``", "arm_sve.h", "''", "."], "TS_V_token": ["aarch64", "\"duplicate definition of %qs\"", "\"arm_sve.h\"", "0", "2", "1023", "0"], "File": "aarch64-sve-builtins", "Func": "handle_arm_sve_h", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18459, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCMCExpr", "::", "evaluateAsConstant", "(", "int64_t", "&", "Res", ")", "const", "{", "MCValue", "Value", ";", "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": ["PowerPC", "PPC"], "File": "PPCMCExpr11", "Func": "evaluateAsConstant", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18460, "Length": 60, "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", "->", "isTargetNaCl", "(", ")", "||", "!", "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": "ARMSelectionDAGInfo23", "Func": "EmitTargetCodeForMemset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18461, "Length": 342, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ")", "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": "AArch64ISelLowering105", "Func": "isLegalAddressingMode", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18462, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsAsmParser", "::", "checkTargetMatchPredicate", "(", "MCInst", "&", "Inst", ")", "{", "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"], "File": "MipsAsmParser38", "Func": "checkTargetMatchPredicate", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18463, "Length": 14, "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": "PPCMCExpr6", "Func": "create", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18464, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "isCoalescableExtInstr", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "&", "SrcReg", ",", "unsigned", "&", "DstReg", ",", "unsigned", "&", "SubIdx", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "PPC", "::", "EXTSW", ":", "case", "PPC", "::", "EXTSW_32", ":", "case", "PPC", "::", "EXTSW_32_64", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "DstReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SubIdx", "=", "PPC", "::", "sub_32", ";", "return", "true", ";", "}", "}", ""], "natrual_language": ["isCoalescableExtInstr", "-", "Return", "true", "if", "the", "instruction", "is", "a", "``", "coalescable", "''", "extension", "instruction", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::EXTSW", "PPC::EXTSW_32", "PPC::EXTSW_32_64", "1", "0", "PPC::sub_32"], "File": "PPCInstrInfo (2)2", "Func": "isCoalescableExtInstr", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18465, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ")", "const", "{", "if", "(", "Imm", ".", "isPosZero", "(", ")", "&&", "(", "VT", "==", "MVT", "::", "f64", "||", "VT", "==", "MVT", "::", "f32", "||", "(", "VT", "==", "MVT", "::", "f16", "&&", "Subtarget", "->", "hasFullFP16", "(", ")", ")", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Legal fp imm: materialize 0 using the zero register\\n\"", ")", ";", "return", "true", ";", "}", "StringRef", "FPType", ";", "bool", "IsLegal", "=", "false", ";", "SmallString", "<", "128", ">", "ImmStrVal", ";", "Imm", ".", "toString", "(", "ImmStrVal", ")", ";", "if", "(", "VT", "==", "MVT", "::", "f64", ")", "{", "FPType", "=", "\"f64\"", ";", "IsLegal", "=", "AArch64_AM", "::", "getFP64Imm", "(", "Imm", ")", "!=", "-", "1", ";", "}", "else", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "{", "FPType", "=", "\"f32\"", ";", "IsLegal", "=", "AArch64_AM", "::", "getFP32Imm", "(", "Imm", ")", "!=", "-", "1", ";", "}", "else", "if", "(", "VT", "==", "MVT", "::", "f16", "&&", "Subtarget", "->", "hasFullFP16", "(", ")", ")", "{", "FPType", "=", "\"f16\"", ";", "IsLegal", "=", "AArch64_AM", "::", "getFP16Imm", "(", "Imm", ")", "!=", "-", "1", ";", "}", "if", "(", "IsLegal", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Legal \"", "<<", "FPType", "<<", "\" imm value: \"", "<<", "ImmStrVal", "<<", "\"\\n\"", ")", ";", "return", "true", ";", "}", "if", "(", "!", "FPType", ".", "empty", "(", ")", ")", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Illegal \"", "<<", "FPType", "<<", "\" imm value: \"", "<<", "ImmStrVal", "<<", "\"\\n\"", ")", ";", "else", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Illegal fp imm \"", "<<", "ImmStrVal", "<<", "\": unsupported fp type\\n\"", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "can", "instruction", "select", "the", "specified", "FP", "immediate", "natively", "."], "TS_V_token": ["AArch64", "AArch64", "MVT::f64", "MVT::f32", "MVT::f16", "\"Legal fp imm: materialize 0 using the zero register\\n\"", "128", "MVT::f64", "\"f64\"", "AArch64_AM::getFP64Imm", "1", "MVT::f32", "\"f32\"", "AArch64_AM::getFP32Imm", "1", "MVT::f16", "\"f16\"", "AArch64_AM::getFP16Imm", "1", "\"Legal \"", "\" imm value: \"", "\"\\n\"", "\"Illegal \"", "\" imm value: \"", "\"\\n\"", "\"Illegal fp imm \"", "\": unsupported fp type\\n\""], "File": "AArch64ISelLowering", "Func": "isFPImmLegal", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18466, "Length": 242, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "loongarch_return_addr", "(", "int", "count", ",", "rtx", "frame", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "count", "!=", "0", ")", "return", "const0_rtx", ";", "return", "get_hard_reg_initial_val", "(", "Pmode", ",", "RETURN_ADDR_REGNUM", ")", ";", "}", ""], "natrual_language": ["Implement", "RETURN_ADDR_RTX", ".", "We", "do", "not", "support", "moving", "back", "to", "a", "previous", "frame", "."], "TS_V_token": ["loongarch", "0"], "File": "loongarch", "Func": "loongarch_return_addr", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18467, "Length": 29, "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": 18468, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "rs6000_force_indexed_or_indirect_mem", "(", "rtx", "x", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "x", ")", ";", "gcc_assert", "(", "MEM_P", "(", "x", ")", ")", ";", "if", "(", "can_create_pseudo_p", "(", ")", "&&", "!", "indexed_or_indirect_operand", "(", "x", ",", "mode", ")", ")", "{", "rtx", "addr", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PRE_INC", "||", "GET_CODE", "(", "addr", ")", "==", "PRE_DEC", ")", "{", "rtx", "reg", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "HOST_WIDE_INT", "size", "=", "GET_MODE_SIZE", "(", "GET_MODE", "(", "x", ")", ")", ";", "rtx", "size_rtx", "=", "GEN_INT", "(", "(", "GET_CODE", "(", "addr", ")", "==", "PRE_DEC", ")", "?", "-", "size", ":", "size", ")", ";", "gcc_assert", "(", "REG_P", "(", "reg", ")", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "reg", ",", "reg", ",", "size_rtx", ")", ")", ";", "addr", "=", "reg", ";", "}", "else", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PRE_MODIFY", ")", "{", "rtx", "reg", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "rtx", "expr", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "gcc_assert", "(", "REG_P", "(", "reg", ")", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "expr", ")", "==", "PLUS", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "reg", ",", "XEXP", "(", "expr", ",", "0", ")", ",", "XEXP", "(", "expr", ",", "1", ")", ")", ")", ";", "addr", "=", "reg", ";", "}", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", ")", "{", "rtx", "op0", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "rtx", "op1", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "op0", "=", "force_reg", "(", "Pmode", ",", "op0", ")", ";", "op1", "=", "force_reg", "(", "Pmode", ",", "op1", ")", ";", "x", "=", "replace_equiv_address", "(", "x", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "op0", ",", "op1", ")", ")", ";", "}", "else", "x", "=", "replace_equiv_address", "(", "x", ",", "force_reg", "(", "Pmode", ",", "addr", ")", ")", ";", "}", "return", "x", ";", "}", ""], "natrual_language": ["Given", "a", "memory", "reference", ",", "if", "it", "is", "not", "a", "reg", "or", "reg+reg", "addressing", ",", "convert", "to", "such", "a", "form", "to", "deal", "with", "memory", "reference", "instructions", "like", "STFIWX", "and", "LDBRX", "that", "only", "take", "reg+reg", "addressing", "."], "TS_V_token": ["rs6000", "0", "0", "0", "1", "0", "1", "0", "1"], "File": "rs6000", "Func": "rs6000_force_indexed_or_indirect_mem", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18469, "Length": 292, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "unwind_info_type", "ia64_debug_unwind_info", "(", "void", ")", "{", "return", "UI_TARGET", ";", "}", ""], "natrual_language": ["Implement", "TARGET_DEBUG_UNWIND_INFO", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "ia64_debug_unwind_info", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18470, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_free_sched_context", "(", "void", "*", "_sc", ")", "{", "gcc_assert", "(", "_sc", "!=", "NULL", ")", ";", "free", "(", "_sc", ")", ";", "}", ""], "natrual_language": ["Free", "_SC", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_free_sched_context", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18471, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "ix86_cc_modes_compatible", "(", "machine_mode", "m1", ",", "machine_mode", "m2", ")", "{", "if", "(", "m1", "==", "m2", ")", "return", "m1", ";", "if", "(", "GET_MODE_CLASS", "(", "m1", ")", "!=", "MODE_CC", "||", "GET_MODE_CLASS", "(", "m2", ")", "!=", "MODE_CC", ")", "return", "VOIDmode", ";", "if", "(", "(", "m1", "==", "CCGCmode", "&&", "m2", "==", "CCGOCmode", ")", "||", "(", "m1", "==", "CCGOCmode", "&&", "m2", "==", "CCGCmode", ")", ")", "return", "CCGCmode", ";", "if", "(", "(", "m1", "==", "CCNOmode", "&&", "m2", "==", "CCGOCmode", ")", "||", "(", "m1", "==", "CCGOCmode", "&&", "m2", "==", "CCNOmode", ")", ")", "return", "CCNOmode", ";", "if", "(", "m1", "==", "CCZmode", "&&", "(", "m2", "==", "CCGCmode", "||", "m2", "==", "CCGOCmode", "||", "m2", "==", "CCNOmode", ")", ")", "return", "m2", ";", "else", "if", "(", "m2", "==", "CCZmode", "&&", "(", "m1", "==", "CCGCmode", "||", "m1", "==", "CCGOCmode", "||", "m1", "==", "CCNOmode", ")", ")", "return", "m1", ";", "switch", "(", "m1", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "E_CCmode", ":", "case", "E_CCGCmode", ":", "case", "E_CCGOCmode", ":", "case", "E_CCNOmode", ":", "case", "E_CCAmode", ":", "case", "E_CCCmode", ":", "case", "E_CCOmode", ":", "case", "E_CCPmode", ":", "case", "E_CCSmode", ":", "case", "E_CCZmode", ":", "switch", "(", "m2", ")", "{", "default", ":", "return", "VOIDmode", ";", "case", "E_CCmode", ":", "case", "E_CCGCmode", ":", "case", "E_CCGOCmode", ":", "case", "E_CCNOmode", ":", "case", "E_CCAmode", ":", "case", "E_CCCmode", ":", "case", "E_CCOmode", ":", "case", "E_CCPmode", ":", "case", "E_CCSmode", ":", "case", "E_CCZmode", ":", "return", "CCmode", ";", "}", "case", "E_CCFPmode", ":", "return", "VOIDmode", ";", "}", "}", ""], "natrual_language": ["If", "two", "condition", "code", "modes", "are", "compatible", ",", "return", "a", "condition", "code", "mode", "which", "is", "compatible", "with", "both", ".", "Otherwise", ",", "return", "VOIDmode", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_cc_modes_compatible", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18472, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToAddress", "(", "Register", "ValVReg", ",", "Register", "Addr", ",", "uint64_t", "Size", ",", "MachinePointerInfo", "&", "MPO", ",", "CCValAssign", "&", "VA", ")", "override", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "auto", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MPO", ",", "MachineMemOperand", "::", "MOLoad", "|", "MachineMemOperand", "::", "MOInvariant", ",", "Size", ",", "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": ["X86"], "File": "X86CallLowering18", "Func": "assignValueToAddress", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18473, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetMachine", "::", "addPreEmitPass", "(", "PassManagerBase", "&", "PM", ")", "{", "PM", ".", "add", "(", "createMipsDelaySlotFillerPass", "(", "*", "this", ")", ")", ";", "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"], "File": "MipsTargetMachine61", "Func": "addPreEmitPass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18474, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "standard_sse_constant_opcode", "(", "rtx_insn", "*", "insn", ",", "rtx", "x", ")", "{", "machine_mode", "mode", ";", "gcc_assert", "(", "TARGET_SSE", ")", ";", "mode", "=", "GET_MODE", "(", "x", ")", ";", "if", "(", "x", "==", "const0_rtx", "||", "const0_operand", "(", "x", ",", "mode", ")", ")", "{", "switch", "(", "get_attr_mode", "(", "insn", ")", ")", "{", "case", "MODE_XI", ":", "return", "\"vpxord\\t%g0, %g0, %g0\"", ";", "case", "MODE_OI", ":", "return", "(", "TARGET_AVX512VL", "?", "\"vpxord\\t%x0, %x0, %x0\"", ":", "\"vpxor\\t%x0, %x0, %x0\"", ")", ";", "case", "MODE_TI", ":", "return", "(", "TARGET_AVX512VL", "?", "\"vpxord\\t%t0, %t0, %t0\"", ":", "\"%vpxor\\t%0, %d0\"", ")", ";", "case", "MODE_V8DF", ":", "return", "(", "TARGET_AVX512DQ", "?", "\"vxorpd\\t%g0, %g0, %g0\"", ":", "\"vpxorq\\t%g0, %g0, %g0\"", ")", ";", "case", "MODE_V4DF", ":", "return", "\"vxorpd\\t%x0, %x0, %x0\"", ";", "case", "MODE_V2DF", ":", "return", "\"%vxorpd\\t%0, %d0\"", ";", "case", "MODE_V16SF", ":", "return", "(", "TARGET_AVX512DQ", "?", "\"vxorps\\t%g0, %g0, %g0\"", ":", "\"vpxord\\t%g0, %g0, %g0\"", ")", ";", "case", "MODE_V8SF", ":", "return", "\"vxorps\\t%x0, %x0, %x0\"", ";", "case", "MODE_V4SF", ":", "return", "\"%vxorps\\t%0, %d0\"", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "if", "(", "x", "==", "constm1_rtx", "||", "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", ")", ";", "return", "(", "TARGET_AVX", "?", "\"vpcmpeqd\\t%0, %0, %0\"", ":", "\"pcmpeqd\\t%0, %0\"", ")", ";", "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", "\"vpxord\\t%g0, %g0, %g0\"", "\"vpxord\\t%x0, %x0, %x0\"", "\"vpxor\\t%x0, %x0, %x0\"", "\"vpxord\\t%t0, %t0, %t0\"", "\"%vpxor\\t%0, %d0\"", "\"vxorpd\\t%g0, %g0, %g0\"", "\"vpxorq\\t%g0, %g0, %g0\"", "\"vxorpd\\t%x0, %x0, %x0\"", "\"%vxorpd\\t%0, %d0\"", "\"vxorps\\t%g0, %g0, %g0\"", "\"vpxord\\t%g0, %g0, %g0\"", "\"vxorps\\t%x0, %x0, %x0\"", "\"%vxorps\\t%0, %d0\"", "\"vpternlogd\\t{$0xFF, %g0, %g0, %g0|%g0, %g0, %g0, 0xFF}\"", "\"vpcmpeqd\\t%0, %0, %0\"", "\"pcmpeqd\\t%0, %0\""], "File": "i3866", "Func": "standard_sse_constant_opcode", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18475, "Length": 232, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "parse_codes", "parse_ovld", "(", "void", ")", "{", "parse_codes", "result", "=", "PC_OK", ";", "diag", "=", "&", "ovld_diag", ";", "if", "(", "!", "advance_line", "(", "ovld_file", ")", ")", "return", "PC_OK", ";", "while", "(", "result", "==", "PC_OK", ")", "result", "=", "parse_ovld_stanza", "(", ")", ";", "if", "(", "result", "==", "PC_EOFILE", ")", "return", "PC_OK", ";", "return", "result", ";", "}", ""], "natrual_language": ["Parse", "the", "overload", "file", "."], "TS_V_token": ["rs6000"], "File": "rs6000-gen-builtins", "Func": "parse_ovld", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18476, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Dead register definitions\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM64", "\"Dead register definitions\""], "File": "ARM64DeadRegisterDefinitionsPass", "Func": "getPassName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18477, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "restore_non_core_regs", "(", "phase1_vrs", "*", "vrs", ")", "{", "if", "(", "(", "vrs", "->", "demand_save_flags", "&", "DEMAND_SAVE_VFP", ")", "==", "0", ")", "__gnu_Unwind_Restore_VFP", "(", "&", "vrs", "->", "vfp", ")", ";", "}", ""], "natrual_language": ["Restore", "coprocessor", "state", "after", "phase1", "unwinding", "."], "TS_V_token": ["arm", "0"], "File": "unwind-arm", "Func": "restore_non_core_regs", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18478, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiFrameLowering", "::", "determineFrameLayout", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "LanaiRegisterInfo", "*", "LRI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "FrameSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "unsigned", "StackAlign", "=", "LRI", "->", "needsStackRealignment", "(", "MF", ")", "?", "MFI", "->", "getMaxAlignment", "(", ")", ":", "getStackAlignment", "(", ")", ";", "unsigned", "MaxCallFrameSize", "=", "MFI", "->", "getMaxCallFrameSize", "(", ")", ";", "if", "(", "MFI", "->", "hasVarSizedObjects", "(", ")", ")", "MaxCallFrameSize", "=", "alignTo", "(", "MaxCallFrameSize", ",", "StackAlign", ")", ";", "MFI", "->", "setMaxCallFrameSize", "(", "MaxCallFrameSize", ")", ";", "if", "(", "!", "(", "hasReservedCallFrame", "(", "MF", ")", "&&", "MFI", "->", "adjustsStack", "(", ")", ")", ")", "FrameSize", "+=", "MaxCallFrameSize", ";", "FrameSize", "=", "alignTo", "(", "FrameSize", ",", "StackAlign", ")", ";", "MFI", "->", "setStackSize", "(", "FrameSize", ")", ";", "}", ""], "natrual_language": ["Determine", "the", "frame", "layout", "but", "do", "not", "update", "the", "machine", "function", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai"], "File": "LanaiFrameLowering", "Func": "determineFrameLayout", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18479, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64_MC", "::", "isQForm", "(", "const", "MCInst", "&", "MI", ",", "const", "MCInstrInfo", "*", "MCII", ")", "{", "const", "auto", "&", "FPR128", "=", "AArch64MCRegisterClasses", "[", "AArch64", "::", "FPR128RegClassID", "]", ";", "return", "llvm", "::", "any_of", "(", "MI", ",", "[", "&", "]", "(", "const", "MCOperand", "&", "Op", ")", "{", "return", "Op", ".", "isReg", "(", ")", "&&", "FPR128", ".", "contains", "(", "Op", ".", "getReg", "(", ")", ")", ";", "}", ")", ";", "}", ""], "natrual_language": ["Returns", "whether", "the", "instruction", "is", "in", "Q", "form", "(", "128", "bit", "operands", ")"], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64::FPR128RegClassID"], "File": "AArch64MCTargetDesc (2)1", "Func": "isQForm", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18480, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "isStoreToStackSlotPostFE", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "isFrameStoreOpcode", "(", "MI", ".", "getOpcode", "(", ")", ")", ")", "{", "unsigned", "Reg", ";", "if", "(", "(", "Reg", "=", "isStoreToStackSlot", "(", "MI", ",", "FrameIndex", ")", ")", ")", "return", "Reg", ";", "const", "MachineMemOperand", "*", "Dummy", ";", "return", "hasStoreToStackSlot", "(", "MI", ",", "Dummy", ",", "FrameIndex", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["isStoreToStackSlotPostFE", "-", "Check", "for", "post-frame", "ptr", "elimination", "stack", "locations", "as", "well", "."], "TS_V_token": ["X86", "X86", "0"], "File": "X86InstrInfo (2)1", "Func": "isStoreToStackSlotPostFE", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18481, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_symbol_insns", "(", "enum", "mips_symbol_type", "type", ",", "machine_mode", "mode", ")", "{", "return", "mips_symbol_insns_1", "(", "type", ",", "mode", ")", "*", "(", "TARGET_MIPS16", "?", "2", ":", "1", ")", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "needed", "to", "load", "a", "symbol", "of", "the", "given", "type", "into", "a", "register", ".", "If", "valid", "in", "an", "address", ",", "the", "same", "number", "of", "instructions", "are", "needed", "for", "loads", "and", "stores", ".", "Treat", "extended", "mips16", "instructions", "as", "two", "instructions", "."], "TS_V_token": ["mips", "2", "1"], "File": "mips4", "Func": "mips_symbol_insns", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18482, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMFastISel", "::", "fastEmitInst_rrr", "(", "unsigned", "MachineInstOpcode", ",", "const", "TargetRegisterClass", "*", "RC", ",", "unsigned", "Op0", ",", "bool", "Op0IsKill", ",", "unsigned", "Op1", ",", "bool", "Op1IsKill", ",", "unsigned", "Op2", ",", "bool", "Op2IsKill", ")", "{", "unsigned", "ResultReg", "=", "createResultReg", "(", "RC", ")", ";", "const", "MCInstrDesc", "&", "II", "=", "TII", ".", "get", "(", "MachineInstOpcode", ")", ";", "Op0", "=", "constrainOperandRegClass", "(", "II", ",", "Op0", ",", "1", ")", ";", "Op1", "=", "constrainOperandRegClass", "(", "II", ",", "Op1", ",", "2", ")", ";", "Op2", "=", "constrainOperandRegClass", "(", "II", ",", "Op1", ",", "3", ")", ";", "if", "(", "II", ".", "getNumDefs", "(", ")", ">=", "1", ")", "{", "AddOptionalDefs", "(", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "II", ",", "ResultReg", ")", ".", "addReg", "(", "Op0", ",", "Op0IsKill", "*", "RegState", "::", "Kill", ")", ".", "addReg", "(", "Op1", ",", "Op1IsKill", "*", "RegState", "::", "Kill", ")", ".", "addReg", "(", "Op2", ",", "Op2IsKill", "*", "RegState", "::", "Kill", ")", ")", ";", "}", "else", "{", "AddOptionalDefs", "(", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "II", ")", ".", "addReg", "(", "Op0", ",", "Op0IsKill", "*", "RegState", "::", "Kill", ")", ".", "addReg", "(", "Op1", ",", "Op1IsKill", "*", "RegState", "::", "Kill", ")", ".", "addReg", "(", "Op2", ",", "Op2IsKill", "*", "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", "three", "register", "operands", "and", "a", "result", "register", "in", "the", "given", "register", "class", "."], "TS_V_token": ["ARM", "ARM", "1", "2", "3", "1", "0"], "File": "ARMFastISel (3)", "Func": "fastEmitInst_rrr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18483, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "dump_tree_root_info", "(", "fma_forest", "*", "forest", ",", "fma_root_node", "*", "node", ")", "{", "node", "->", "dump_info", "(", "forest", ")", ";", "}", ""], "natrual_language": ["Wrapper", "around", "fma_root_node", ":", ":dump_info", "for", "use", "as", "parameter", "of", "function", "pointer", "type", "in", "func_fma_steering", ":", ":dfs", "."], "TS_V_token": ["aarch64"], "File": "cortex-a57-fma-steering", "Func": "dump_tree_root_info", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18484, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_fp_absneg_operator", "(", "enum", "rtx_code", "code", ",", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ")", "{", "rtx", "set", ",", "dst", ",", "src", ";", "bool", "use_sse", "=", "false", ";", "bool", "vector_mode", "=", "VECTOR_MODE_P", "(", "mode", ")", ";", "machine_mode", "vmode", "=", "mode", ";", "rtvec", "par", ";", "if", "(", "vector_mode", "||", "mode", "==", "TFmode", ")", "use_sse", "=", "true", ";", "else", "if", "(", "TARGET_SSE_MATH", ")", "{", "use_sse", "=", "SSE_FLOAT_MODE_P", "(", "mode", ")", ";", "if", "(", "mode", "==", "SFmode", ")", "vmode", "=", "V4SFmode", ";", "else", "if", "(", "mode", "==", "DFmode", ")", "vmode", "=", "V2DFmode", ";", "}", "dst", "=", "operands", "[", "0", "]", ";", "src", "=", "operands", "[", "1", "]", ";", "set", "=", "gen_rtx_fmt_e", "(", "code", ",", "mode", ",", "src", ")", ";", "set", "=", "gen_rtx_SET", "(", "dst", ",", "set", ")", ";", "if", "(", "use_sse", ")", "{", "rtx", "mask", ",", "use", ",", "clob", ";", "mask", "=", "ix86_build_signbit_mask", "(", "vmode", ",", "vector_mode", ",", "code", "==", "ABS", ")", ";", "use", "=", "gen_rtx_USE", "(", "VOIDmode", ",", "mask", ")", ";", "if", "(", "vector_mode", "||", "mode", "==", "TFmode", ")", "par", "=", "gen_rtvec", "(", "2", ",", "set", ",", "use", ")", ";", "else", "{", "clob", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "CCmode", ",", "FLAGS_REG", ")", ")", ";", "par", "=", "gen_rtvec", "(", "3", ",", "set", ",", "use", ",", "clob", ")", ";", "}", "}", "else", "{", "rtx", "clob", ";", "clob", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "CCmode", ",", "FLAGS_REG", ")", ")", ";", "par", "=", "gen_rtvec", "(", "2", ",", "set", ",", "clob", ")", ";", "}", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "par", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "code", "for", "floating", "point", "ABS", "or", "NEG", "."], "TS_V_token": ["i386", "0", "1", "2", "3", "2"], "File": "i386-expand1", "Func": "ix86_expand_fp_absneg_operator", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18485, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_function_arg_alignment", "(", "machine_mode", "mode", ",", "const_tree", "type", ",", "unsigned", "int", "*", "abi_break", ")", "{", "*", "abi_break", "=", "0", ";", "if", "(", "!", "type", ")", "return", "GET_MODE_ALIGNMENT", "(", "mode", ")", ";", "if", "(", "integer_zerop", "(", "TYPE_SIZE", "(", "type", ")", ")", ")", "return", "0", ";", "gcc_assert", "(", "TYPE_MODE", "(", "type", ")", "==", "mode", ")", ";", "if", "(", "!", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "return", "TYPE_ALIGN", "(", "TYPE_MAIN_VARIANT", "(", "type", ")", ")", ";", "if", "(", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", ")", "return", "TYPE_ALIGN", "(", "TREE_TYPE", "(", "type", ")", ")", ";", "unsigned", "int", "alignment", "=", "0", ";", "unsigned", "int", "bitfield_alignment", "=", "0", ";", "for", "(", "tree", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";", "field", ";", "field", "=", "DECL_CHAIN", "(", "field", ")", ")", "if", "(", "TREE_CODE", "(", "field", ")", "==", "FIELD_DECL", ")", "{", "alignment", "=", "std", "::", "max", "(", "alignment", ",", "DECL_ALIGN", "(", "field", ")", ")", ";", "if", "(", "DECL_BIT_FIELD_TYPE", "(", "field", ")", ")", "bitfield_alignment", "=", "std", "::", "max", "(", "bitfield_alignment", ",", "TYPE_ALIGN", "(", "DECL_BIT_FIELD_TYPE", "(", "field", ")", ")", ")", ";", "}", "if", "(", "bitfield_alignment", ">", "alignment", ")", "{", "*", "abi_break", "=", "alignment", ";", "return", "bitfield_alignment", ";", "}", "return", "alignment", ";", "}", ""], "natrual_language": ["Given", "MODE", "and", "TYPE", "of", "a", "function", "argument", ",", "return", "the", "alignment", "in", "bits", ".", "The", "idea", "is", "to", "suppress", "any", "stronger", "alignment", "requested", "by", "the", "user", "and", "opt", "for", "the", "natural", "alignment", "(", "specified", "in", "AAPCS64", "\\S", "4.1", ")", ".", "This", "is", "a", "helper", "function", "for", "local", "use", "only", "."], "TS_V_token": ["aarch64", "0", "0", "0", "0"], "File": "aarch641", "Func": "aarch64_function_arg_alignment", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18486, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_branch", "(", "int", "logic", ",", "rtx", "insn", ",", "rtx", "*", "operands", ")", "{", "switch", "(", "get_attr_length", "(", "insn", ")", ")", "{", "case", "6", ":", "if", "(", "!", "TARGET_RELAX", ")", "{", "int", "label", "=", "lf", "++", ";", "rtx", "op0", "=", "operands", "[", "0", "]", ";", "if", "(", "final_sequence", "&&", "!", "INSN_ANNULLED_BRANCH_P", "(", "XVECEXP", "(", "final_sequence", ",", "0", ",", "0", ")", ")", "&&", "get_attr_length", "(", "XVECEXP", "(", "final_sequence", ",", "0", ",", "1", ")", ")", ")", "{", "asm_fprintf", "(", "asm_out_file", ",", "\"\\tb%s%ss\\t%LLF%d\\n\"", ",", "logic", "?", "\"f\"", ":", "\"t\"", ",", "ASSEMBLER_DIALECT", "?", "\"/\"", ":", "\".\"", ",", "label", ")", ";", "print_slot", "(", "final_sequence", ")", ";", "}", "else", "asm_fprintf", "(", "asm_out_file", ",", "\"\\tb%s\\t%LLF%d\\n\"", ",", "logic", "?", "\"f\"", ":", "\"t\"", ",", "label", ")", ";", "output_asm_insn", "(", "\"bra\\t%l0\"", ",", "&", "op0", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tnop\\n\"", ")", ";", "(", "*", "targetm", ".", "asm_out", ".", "internal_label", ")", "(", "asm_out_file", ",", "\"LF\"", ",", "label", ")", ";", "return", "\"\"", ";", "}", "case", "2", ":", "return", "logic", "?", "\"bt%.\\t%l0\"", ":", "\"bf%.\\t%l0\"", ";", "case", "8", ":", "if", "(", "!", "TARGET_RELAX", ")", "{", "int", "label", "=", "lf", "++", ";", "gcc_assert", "(", "!", "final_sequence", "||", "!", "(", "INSN_ANNULLED_BRANCH_P", "(", "XVECEXP", "(", "final_sequence", ",", "0", ",", "0", ")", ")", ")", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"b%s%ss\\t%LLF%d\\n\"", ",", "logic", "?", "\"f\"", ":", "\"t\"", ",", "ASSEMBLER_DIALECT", "?", "\"/\"", ":", "\".\"", ",", "label", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tnop\\n\"", ")", ";", "output_asm_insn", "(", "\"bra\\t%l0\"", ",", "operands", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tnop\\n\"", ")", ";", "(", "*", "targetm", ".", "asm_out", ".", "internal_label", ")", "(", "asm_out_file", ",", "\"LF\"", ",", "label", ")", ";", "return", "\"\"", ";", "}", "case", "4", ":", "{", "char", "buffer", "[", "10", "]", ";", "sprintf", "(", "buffer", ",", "\"b%s%ss\\t%%l0\"", ",", "logic", "?", "\"t\"", ":", "\"f\"", ",", "ASSEMBLER_DIALECT", "?", "\"/\"", ":", "\".\"", ")", ";", "output_asm_insn", "(", "buffer", ",", "&", "operands", "[", "0", "]", ")", ";", "return", "\"nop\"", ";", "}", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Output", "a", "conditional/unconditional", "branch", "to", "LABEL", ".", "COND", "is", "the", "string", "condition", ".", "INSN", "is", "the", "instruction", "."], "TS_V_token": ["sh", "6", "0", "0", "0", "0", "1", "\"\\tb%s%ss\\t%LLF%d\\n\"", "\"f\"", "\"t\"", "\"/\"", "\".\"", "\"\\tb%s\\t%LLF%d\\n\"", "\"f\"", "\"t\"", "\"bra\\t%l0\"", "\"\\tnop\\n\"", "\"LF\"", "\"\"", "2", "\"bt%.\\t%l0\"", "\"bf%.\\t%l0\"", "8", "0", "0", "\"b%s%ss\\t%LLF%d\\n\"", "\"f\"", "\"t\"", "\"/\"", "\".\"", "\"\\tnop\\n\"", "\"bra\\t%l0\"", "\"\\tnop\\n\"", "\"LF\"", "\"\"", "4", "10", "\"b%s%ss\\t%%l0\"", "\"t\"", "\"f\"", "\"/\"", "\".\"", "0", "\"nop\""], "File": "sh3", "Func": "output_branch", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18487, "Length": 315, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTargetLowering", "::", "getExceptionPointerRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "{", "return", "Subtarget", ".", "isPPC64", "(", ")", "?", "PPC", "::", "X3", ":", "PPC", "::", "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": ["PowerPC", "PPC", "PPC", "PPC::X3", "PPC::R3"], "File": "PPCISelLowering (2)2", "Func": "getExceptionPointerRegister", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18488, "Length": 28, "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": 18489, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "shouldExtendGSIndex", "(", "EVT", "VT", ",", "EVT", "&", "EltTy", ")", "const", "{", "if", "(", "VT", ".", "getVectorElementType", "(", ")", "==", "MVT", "::", "i8", "||", "VT", ".", "getVectorElementType", "(", ")", "==", "MVT", "::", "i16", ")", "{", "EltTy", "=", "MVT", "::", "i32", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "index", "type", "for", "a", "masked", "gather/scatter", "requires", "extending", "."], "TS_V_token": ["AArch64", "AArch64", "MVT::i8", "MVT::i16", "MVT::i32"], "File": "AArch64ISelLowering (2)2", "Func": "shouldExtendGSIndex", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18490, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "sh_contains_memref_p", "(", "rtx", "insn", ")", "{", "return", "for_each_rtx", "(", "&", "PATTERN", "(", "insn", ")", ",", "&", "sh_contains_memref_p_1", ",", "NULL", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "iff", "INSN", "contains", "a", "MEM", "."], "TS_V_token": ["sh"], "File": "sh3", "Func": "sh_contains_memref_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18491, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMConstantPoolValue", "::", "print", "(", "raw_ostream", "&", "O", ")", "const", "{", "if", "(", "GV", ")", "O", "<<", "GV", "->", "getName", "(", ")", ";", "else", "O", "<<", "S", ";", "if", "(", "Modifier", ")", "O", "<<", "\"(\"", "<<", "Modifier", "<<", "\")\"", ";", "if", "(", "PCAdjust", "!=", "0", ")", "{", "O", "<<", "\"-(LPC\"", "<<", "LabelId", "<<", "\"+\"", "<<", "(", "unsigned", ")", "PCAdjust", ";", "if", "(", "AddCurrentAddress", ")", "O", "<<", "\"-.\"", ";", "O", "<<", "\")\"", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["ARM", "ARM", "\"(\"", "\")\"", "0", "\"-(LPC\"", "\"+\"", "\"-.\"", "\")\""], "File": "ARMConstantPoolValue7", "Func": "print", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18492, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "isPredicable", "(", "MachineInstr", "*", "MI", ")", "const", "{", "unsigned", "OpC", "=", "MI", "->", "getOpcode", "(", ")", ";", "switch", "(", "OpC", ")", "{", "default", ":", "return", "false", ";", "case", "PPC", "::", "B", ":", "case", "PPC", "::", "BLR", ":", "case", "PPC", "::", "BCTR", ":", "case", "PPC", "::", "BCTR8", ":", "case", "PPC", "::", "BCTRL", ":", "case", "PPC", "::", "BCTRL8", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "instruction", "can", "be", "predicated", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::B", "PPC::BLR", "PPC::BCTR", "PPC::BCTR8", "PPC::BCTRL", "PPC::BCTRL8"], "File": "PPCInstrInfo (2)", "Func": "isPredicable", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18493, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_force_unary", "(", "machine_mode", "mode", ",", "enum", "rtx_code", "code", ",", "rtx", "op0", ")", "{", "rtx", "reg", ";", "reg", "=", "gen_reg_rtx", "(", "mode", ")", ";", "mips_emit_unary", "(", "code", ",", "reg", ",", "op0", ")", ";", "return", "reg", ";", "}", ""], "natrual_language": ["Compute", "(", "CODE", "OP0", ")", "and", "store", "the", "result", "in", "a", "new", "register", "of", "mode", "MODE", ".", "Return", "that", "new", "register", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_force_unary", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18494, "Length": 38, "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": 18495, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "if", "(", "EnableMCInst", ")", "{", "printInstructionThroughMCStreamer", "(", "MI", ")", ";", "}", "else", "{", "int", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "ARM", "::", "CONSTPOOL_ENTRY", ")", "EmitAlignment", "(", "2", ")", ";", "printInstruction", "(", "MI", ")", ";", "OutStreamer", ".", "AddBlankLine", "(", ")", ";", "}", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["ARM", "ARM", "ARM::CONSTPOOL_ENTRY", "2"], "File": "ARMAsmPrinter100", "Func": "EmitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18496, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMFastISel", "::", "fastEmitInst_rr", "(", "unsigned", "MachineInstOpcode", ",", "const", "TargetRegisterClass", "*", "RC", ",", "unsigned", "Op0", ",", "bool", "Op0IsKill", ",", "unsigned", "Op1", ",", "bool", "Op1IsKill", ")", "{", "unsigned", "ResultReg", "=", "createResultReg", "(", "RC", ")", ";", "const", "MCInstrDesc", "&", "II", "=", "TII", ".", "get", "(", "MachineInstOpcode", ")", ";", "Op0", "=", "constrainOperandRegClass", "(", "II", ",", "Op0", ",", "1", ")", ";", "Op1", "=", "constrainOperandRegClass", "(", "II", ",", "Op1", ",", "2", ")", ";", "if", "(", "II", ".", "getNumDefs", "(", ")", ">=", "1", ")", "{", "AddOptionalDefs", "(", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "II", ",", "ResultReg", ")", ".", "addReg", "(", "Op0", ",", "Op0IsKill", "*", "RegState", "::", "Kill", ")", ".", "addReg", "(", "Op1", ",", "Op1IsKill", "*", "RegState", "::", "Kill", ")", ")", ";", "}", "else", "{", "AddOptionalDefs", "(", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "II", ")", ".", "addReg", "(", "Op0", ",", "Op0IsKill", "*", "RegState", "::", "Kill", ")", ".", "addReg", "(", "Op1", ",", "Op1IsKill", "*", "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", "two", "register", "operands", "and", "a", "result", "register", "in", "the", "given", "register", "class", "."], "TS_V_token": ["ARM", "ARM", "1", "2", "1", "0"], "File": "ARMFastISel (2)2", "Func": "fastEmitInst_rr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18497, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SystemZTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "DCI", ".", "DAG", ";", "unsigned", "Opcode", "=", "N", "->", "getOpcode", "(", ")", ";", "if", "(", "Opcode", "==", "ISD", "::", "SIGN_EXTEND", ")", "{", "SDValue", "N0", "=", "N", "->", "getOperand", "(", "0", ")", ";", "EVT", "VT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "if", "(", "N0", ".", "hasOneUse", "(", ")", "&&", "N0", ".", "getOpcode", "(", ")", "==", "ISD", "::", "SRA", ")", "{", "auto", "*", "SraAmt", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "N0", ".", "getOperand", "(", "1", ")", ")", ";", "SDValue", "Inner", "=", "N0", ".", "getOperand", "(", "0", ")", ";", "if", "(", "SraAmt", "&&", "Inner", ".", "hasOneUse", "(", ")", "&&", "Inner", ".", "getOpcode", "(", ")", "==", "ISD", "::", "SHL", ")", "{", "if", "(", "auto", "*", "ShlAmt", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Inner", ".", "getOperand", "(", "1", ")", ")", ")", "{", "unsigned", "Extra", "=", "(", "VT", ".", "getSizeInBits", "(", ")", "-", "N0", ".", "getValueType", "(", ")", ".", "getSizeInBits", "(", ")", ")", ";", "unsigned", "NewShlAmt", "=", "ShlAmt", "->", "getZExtValue", "(", ")", "+", "Extra", ";", "unsigned", "NewSraAmt", "=", "SraAmt", "->", "getZExtValue", "(", ")", "+", "Extra", ";", "EVT", "ShiftVT", "=", "N0", ".", "getOperand", "(", "1", ")", ".", "getValueType", "(", ")", ";", "SDValue", "Ext", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ANY_EXTEND", ",", "SDLoc", "(", "Inner", ")", ",", "VT", ",", "Inner", ".", "getOperand", "(", "0", ")", ")", ";", "SDValue", "Shl", "=", "DAG", ".", "getNode", "(", "ISD", "::", "SHL", ",", "SDLoc", "(", "Inner", ")", ",", "VT", ",", "Ext", ",", "DAG", ".", "getConstant", "(", "NewShlAmt", ",", "ShiftVT", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "ISD", "::", "SRA", ",", "SDLoc", "(", "N0", ")", ",", "VT", ",", "Shl", ",", "DAG", ".", "getConstant", "(", "NewSraAmt", ",", "ShiftVT", ")", ")", ";", "}", "}", "}", "}", "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": ["SystemZ", "SystemZ", "ISD::SIGN_EXTEND", "0", "0", "ISD::SRA", "1", "0", "ISD::SHL", "1", "1", "ISD::ANY_EXTEND", "0", "ISD::SHL", "ISD::SRA"], "File": "SystemZISelLowering106", "Func": "PerformDAGCombine", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18498, "Length": 299, "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", "::", "TailCall", ":", "return", "\"MipsISD::TailCall\"", ";", "case", "MipsISD", "::", "Hi", ":", "return", "\"MipsISD::Hi\"", ";", "case", "MipsISD", "::", "Lo", ":", "return", "\"MipsISD::Lo\"", ";", "case", "MipsISD", "::", "GPRel", ":", "return", "\"MipsISD::GPRel\"", ";", "case", "MipsISD", "::", "ThreadPointer", ":", "return", "\"MipsISD::ThreadPointer\"", ";", "case", "MipsISD", "::", "Ret", ":", "return", "\"MipsISD::Ret\"", ";", "case", "MipsISD", "::", "EH_RETURN", ":", "return", "\"MipsISD::EH_RETURN\"", ";", "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", "::", "TruncIntFP", ":", "return", "\"MipsISD::TruncIntFP\"", ";", "case", "MipsISD", "::", "ExtractLOHI", ":", "return", "\"MipsISD::ExtractLOHI\"", ";", "case", "MipsISD", "::", "InsertLOHI", ":", "return", "\"MipsISD::InsertLOHI\"", ";", "case", "MipsISD", "::", "Mult", ":", "return", "\"MipsISD::Mult\"", ";", "case", "MipsISD", "::", "Multu", ":", "return", "\"MipsISD::Multu\"", ";", "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", "::", "DivRem16", ":", "return", "\"MipsISD::DivRem16\"", ";", "case", "MipsISD", "::", "DivRemU16", ":", "return", "\"MipsISD::DivRemU16\"", ";", "case", "MipsISD", "::", "BuildPairF64", ":", "return", "\"MipsISD::BuildPairF64\"", ";", "case", "MipsISD", "::", "ExtractElementF64", ":", "return", "\"MipsISD::ExtractElementF64\"", ";", "case", "MipsISD", "::", "Wrapper", ":", "return", "\"MipsISD::Wrapper\"", ";", "case", "MipsISD", "::", "Sync", ":", "return", "\"MipsISD::Sync\"", ";", "case", "MipsISD", "::", "Ext", ":", "return", "\"MipsISD::Ext\"", ";", "case", "MipsISD", "::", "Ins", ":", "return", "\"MipsISD::Ins\"", ";", "case", "MipsISD", "::", "LWL", ":", "return", "\"MipsISD::LWL\"", ";", "case", "MipsISD", "::", "LWR", ":", "return", "\"MipsISD::LWR\"", ";", "case", "MipsISD", "::", "SWL", ":", "return", "\"MipsISD::SWL\"", ";", "case", "MipsISD", "::", "SWR", ":", "return", "\"MipsISD::SWR\"", ";", "case", "MipsISD", "::", "LDL", ":", "return", "\"MipsISD::LDL\"", ";", "case", "MipsISD", "::", "LDR", ":", "return", "\"MipsISD::LDR\"", ";", "case", "MipsISD", "::", "SDL", ":", "return", "\"MipsISD::SDL\"", ";", "case", "MipsISD", "::", "SDR", ":", "return", "\"MipsISD::SDR\"", ";", "case", "MipsISD", "::", "EXTP", ":", "return", "\"MipsISD::EXTP\"", ";", "case", "MipsISD", "::", "EXTPDP", ":", "return", "\"MipsISD::EXTPDP\"", ";", "case", "MipsISD", "::", "EXTR_S_H", ":", "return", "\"MipsISD::EXTR_S_H\"", ";", "case", "MipsISD", "::", "EXTR_W", ":", "return", "\"MipsISD::EXTR_W\"", ";", "case", "MipsISD", "::", "EXTR_R_W", ":", "return", "\"MipsISD::EXTR_R_W\"", ";", "case", "MipsISD", "::", "EXTR_RS_W", ":", "return", "\"MipsISD::EXTR_RS_W\"", ";", "case", "MipsISD", "::", "SHILO", ":", "return", "\"MipsISD::SHILO\"", ";", "case", "MipsISD", "::", "MTHLIP", ":", "return", "\"MipsISD::MTHLIP\"", ";", "case", "MipsISD", "::", "MULT", ":", "return", "\"MipsISD::MULT\"", ";", "case", "MipsISD", "::", "MULTU", ":", "return", "\"MipsISD::MULTU\"", ";", "case", "MipsISD", "::", "MADD_DSP", ":", "return", "\"MipsISD::MADD_DSP\"", ";", "case", "MipsISD", "::", "MADDU_DSP", ":", "return", "\"MipsISD::MADDU_DSP\"", ";", "case", "MipsISD", "::", "MSUB_DSP", ":", "return", "\"MipsISD::MSUB_DSP\"", ";", "case", "MipsISD", "::", "MSUBU_DSP", ":", "return", "\"MipsISD::MSUBU_DSP\"", ";", "case", "MipsISD", "::", "SHLL_DSP", ":", "return", "\"MipsISD::SHLL_DSP\"", ";", "case", "MipsISD", "::", "SHRA_DSP", ":", "return", "\"MipsISD::SHRA_DSP\"", ";", "case", "MipsISD", "::", "SHRL_DSP", ":", "return", "\"MipsISD::SHRL_DSP\"", ";", "case", "MipsISD", "::", "SETCC_DSP", ":", "return", "\"MipsISD::SETCC_DSP\"", ";", "case", "MipsISD", "::", "SELECT_CC_DSP", ":", "return", "\"MipsISD::SELECT_CC_DSP\"", ";", "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::TailCall", "\"MipsISD::TailCall\"", "MipsISD::Hi", "\"MipsISD::Hi\"", "MipsISD::Lo", "\"MipsISD::Lo\"", "MipsISD::GPRel", "\"MipsISD::GPRel\"", "MipsISD::ThreadPointer", "\"MipsISD::ThreadPointer\"", "MipsISD::Ret", "\"MipsISD::Ret\"", "MipsISD::EH_RETURN", "\"MipsISD::EH_RETURN\"", "MipsISD::FPBrcond", "\"MipsISD::FPBrcond\"", "MipsISD::FPCmp", "\"MipsISD::FPCmp\"", "MipsISD::CMovFP_T", "\"MipsISD::CMovFP_T\"", "MipsISD::CMovFP_F", "\"MipsISD::CMovFP_F\"", "MipsISD::TruncIntFP", "\"MipsISD::TruncIntFP\"", "MipsISD::ExtractLOHI", "\"MipsISD::ExtractLOHI\"", "MipsISD::InsertLOHI", "\"MipsISD::InsertLOHI\"", "MipsISD::Mult", "\"MipsISD::Mult\"", "MipsISD::Multu", "\"MipsISD::Multu\"", "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::DivRem16", "\"MipsISD::DivRem16\"", "MipsISD::DivRemU16", "\"MipsISD::DivRemU16\"", "MipsISD::BuildPairF64", "\"MipsISD::BuildPairF64\"", "MipsISD::ExtractElementF64", "\"MipsISD::ExtractElementF64\"", "MipsISD::Wrapper", "\"MipsISD::Wrapper\"", "MipsISD::Sync", "\"MipsISD::Sync\"", "MipsISD::Ext", "\"MipsISD::Ext\"", "MipsISD::Ins", "\"MipsISD::Ins\"", "MipsISD::LWL", "\"MipsISD::LWL\"", "MipsISD::LWR", "\"MipsISD::LWR\"", "MipsISD::SWL", "\"MipsISD::SWL\"", "MipsISD::SWR", "\"MipsISD::SWR\"", "MipsISD::LDL", "\"MipsISD::LDL\"", "MipsISD::LDR", "\"MipsISD::LDR\"", "MipsISD::SDL", "\"MipsISD::SDL\"", "MipsISD::SDR", "\"MipsISD::SDR\"", "MipsISD::EXTP", "\"MipsISD::EXTP\"", "MipsISD::EXTPDP", "\"MipsISD::EXTPDP\"", "MipsISD::EXTR_S_H", "\"MipsISD::EXTR_S_H\"", "MipsISD::EXTR_W", "\"MipsISD::EXTR_W\"", "MipsISD::EXTR_R_W", "\"MipsISD::EXTR_R_W\"", "MipsISD::EXTR_RS_W", "\"MipsISD::EXTR_RS_W\"", "MipsISD::SHILO", "\"MipsISD::SHILO\"", "MipsISD::MTHLIP", "\"MipsISD::MTHLIP\"", "MipsISD::MULT", "\"MipsISD::MULT\"", "MipsISD::MULTU", "\"MipsISD::MULTU\"", "MipsISD::MADD_DSP", "\"MipsISD::MADD_DSP\"", "MipsISD::MADDU_DSP", "\"MipsISD::MADDU_DSP\"", "MipsISD::MSUB_DSP", "\"MipsISD::MSUB_DSP\"", "MipsISD::MSUBU_DSP", "\"MipsISD::MSUBU_DSP\"", "MipsISD::SHLL_DSP", "\"MipsISD::SHLL_DSP\"", "MipsISD::SHRA_DSP", "\"MipsISD::SHRA_DSP\"", "MipsISD::SHRL_DSP", "\"MipsISD::SHRL_DSP\"", "MipsISD::SETCC_DSP", "\"MipsISD::SETCC_DSP\"", "MipsISD::SELECT_CC_DSP", "\"MipsISD::SELECT_CC_DSP\""], "File": "MipsISelLowering (2)", "Func": "getTargetNodeName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18499, "Length": 488, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0AsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "if", "(", "MI", "->", "isDebugValue", "(", ")", ")", "{", "SmallString", "<", "128", ">", "Str", ";", "raw_svector_ostream", "OS", "(", "Str", ")", ";", "PrinterDebugValueComment", "(", "MI", ",", "OS", ")", ";", "return", ";", "}", "MachineBasicBlock", "::", "const_instr_iterator", "I", "=", "MI", "->", "getIterator", "(", ")", ";", "MachineBasicBlock", "::", "const_instr_iterator", "E", "=", "MI", "->", "getParent", "(", ")", "->", "instr_end", "(", ")", ";", "do", "{", "if", "(", "emitPseudoExpansionLowering", "(", "*", "OutStreamer", ",", "&", "*", "I", ")", ")", "continue", ";", "if", "(", "I", "->", "isPseudo", "(", ")", ")", "llvm_unreachable", "(", "\"Pseudo opcode found in EmitInstruction()\"", ")", ";", "MCInst", "TmpInst0", ";", "MCInstLowering", ".", "Lower", "(", "&", "*", "I", ",", "TmpInst0", ")", ";", "OutStreamer", "->", "EmitInstruction", "(", "TmpInst0", ",", "getSubtargetInfo", "(", ")", ")", ";", "}", "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": ["Cpu0", "Cpu0", "128", "\"Pseudo opcode found in EmitInstruction()\""], "File": "Cpu0AsmPrinter3", "Func": "EmitInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18500, "Length": 140, "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", "::", "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::GPR32RegClassID", "Mips::GPR64RegClassID", "Mips::DSPRegsRegClassID", "28", "Mips::FGR32RegClassID", "32", "Mips::AFGR64RegClassID", "16", "Mips::FGR64RegClassID", "32"], "File": "MipsRegisterInfo6", "Func": "getRegPressureLimit", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18501, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "loongarch_first_stack_step", "(", "struct", "loongarch_frame_info", "*", "frame", ")", "{", "if", "(", "IMM12_OPERAND", "(", "frame", "->", "total_size", ")", ")", "return", "frame", "->", "total_size", ";", "HOST_WIDE_INT", "min_first_step", "=", "LARCH_STACK_ALIGN", "(", "frame", "->", "total_size", "-", "frame", "->", "fp_sp_offset", ")", ";", "HOST_WIDE_INT", "max_first_step", "=", "IMM_REACH", "/", "2", "-", "PREFERRED_STACK_BOUNDARY", "/", "8", ";", "HOST_WIDE_INT", "min_second_step", "=", "frame", "->", "total_size", "-", "max_first_step", ";", "gcc_assert", "(", "min_first_step", "<=", "max_first_step", ")", ";", "if", "(", "!", "IMM12_OPERAND", "(", "min_second_step", ")", "&&", "frame", "->", "total_size", "%", "IMM_REACH", "<", "IMM_REACH", "/", "2", "&&", "frame", "->", "total_size", "%", "IMM_REACH", ">=", "min_first_step", ")", "return", "frame", "->", "total_size", "%", "IMM_REACH", ";", "return", "max_first_step", ";", "}", ""], "natrual_language": ["For", "stack", "frames", "that", "ca", "n't", "be", "allocated", "with", "a", "single", "ADDI", "instruction", ",", "compute", "the", "best", "value", "to", "initially", "allocate", ".", "It", "must", "at", "a", "minimum", "allocate", "enough", "space", "to", "spill", "the", "callee-saved", "registers", "."], "TS_V_token": ["loongarch", "2", "8", "2"], "File": "loongarch", "Func": "loongarch_first_stack_step", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18502, "Length": 102, "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": ["AArch64"], "File": "AArch64TargetMachine11", "Func": "getObjFileLowering", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18503, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"PowerPC Branch Selector\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["PowerPC", "\"PowerPC Branch Selector\""], "File": "PPCBranchSelector", "Func": "getPassName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18504, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "AArch64FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "AArch64", "::", "FP", ":", "AArch64", "::", "SP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64::FP", "AArch64::SP"], "File": "AArch64RegisterInfo (2)", "Func": "getFrameRegister", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18505, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mmix_reorg", "(", "void", ")", "{", "int", "regno", ";", "for", "(", "regno", "=", "MMIX_LAST_STACK_REGISTER_REGNUM", ";", "regno", ">=", "0", ";", "regno", "--", ")", "if", "(", "(", "regs_ever_live", "[", "regno", "]", "&&", "!", "call_used_regs", "[", "regno", "]", ")", "||", "(", "regno", "==", "MMIX_FRAME_POINTER_REGNUM", "&&", "frame_pointer_needed", ")", ")", "break", ";", "if", "(", "!", "TARGET_ABI_GNU", "&&", "regno", "<", "current_function_args_info", ".", "regs", "-", "1", ")", "{", "regno", "=", "current_function_args_info", ".", "regs", "-", "1", ";", "if", "(", "regno", ">", "MMIX_RETURN_VALUE_REGNUM", "-", "1", ")", "regno", "=", "MMIX_RETURN_VALUE_REGNUM", "-", "1", ";", "}", "cfun", "->", "machine", "->", "highest_saved_stack_register", "=", "regno", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MACHINE_DEPENDENT_REORG", ".", "No", "actual", "rearrangements", "done", "here", ";", "just", "virtually", "by", "calculating", "the", "highest", "saved", "stack", "register", "number", "used", "to", "modify", "the", "register", "numbers", "at", "output", "time", "."], "TS_V_token": ["mmix", "0", "1", "1", "1", "1"], "File": "mmix3", "Func": "mmix_reorg", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18506, "Length": 94, "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_PAIRED_FLOAT", "&&", "mode", "==", "SFmode", ")", "return", "V2SFmode", ";", "return", "word_mode", ";", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.preferred_simd_mode", "."], "TS_V_token": ["rs6000"], "File": "rs60007", "Func": "rs6000_preferred_simd_mode", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18507, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_mode_after", "(", "int", "entity", ",", "int", "mode", ",", "rtx_insn", "*", "insn", ")", "{", "switch", "(", "entity", ")", "{", "case", "X86_DIRFLAG", ":", "return", "mode", ";", "case", "AVX_U128", ":", "return", "ix86_avx_u128_mode_after", "(", "mode", ",", "insn", ")", ";", "case", "I387_TRUNC", ":", "case", "I387_FLOOR", ":", "case", "I387_CEIL", ":", "return", "mode", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "mode", "that", "an", "insn", "results", "in", "."], "TS_V_token": ["i386"], "File": "i3868", "Func": "ix86_mode_after", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18508, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mt_debug_stack", "(", "struct", "mt_frame_info", "*", "info", ")", "{", "int", "regno", ";", "if", "(", "!", "info", ")", "{", "error", "(", "\"info pointer NULL\"", ")", ";", "gcc_unreachable", "(", ")", ";", "}", "fprintf", "(", "stderr", ",", "\"\\nStack information for function %s:\\n\"", ",", "(", "(", "current_function_decl", "&&", "DECL_NAME", "(", "current_function_decl", ")", ")", "?", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "current_function_decl", ")", ")", ":", "\"\"", ")", ")", ";", "fprintf", "(", "stderr", ",", "\"\\ttotal_size = %d\\n\"", ",", "info", "->", "total_size", ")", ";", "fprintf", "(", "stderr", ",", "\"\\tpretend_size = %d\\n\"", ",", "info", "->", "pretend_size", ")", ";", "fprintf", "(", "stderr", ",", "\"\\targs_size = %d\\n\"", ",", "info", "->", "args_size", ")", ";", "fprintf", "(", "stderr", ",", "\"\\textra_size = %d\\n\"", ",", "info", "->", "extra_size", ")", ";", "fprintf", "(", "stderr", ",", "\"\\treg_size = %d\\n\"", ",", "info", "->", "reg_size", ")", ";", "fprintf", "(", "stderr", ",", "\"\\tvar_size = %d\\n\"", ",", "info", "->", "var_size", ")", ";", "fprintf", "(", "stderr", ",", "\"\\tframe_size = %d\\n\"", ",", "info", "->", "frame_size", ")", ";", "fprintf", "(", "stderr", ",", "\"\\treg_mask = 0x%x\\n\"", ",", "info", "->", "reg_mask", ")", ";", "fprintf", "(", "stderr", ",", "\"\\tsave_fp = %d\\n\"", ",", "info", "->", "save_fp", ")", ";", "fprintf", "(", "stderr", ",", "\"\\tsave_lr = %d\\n\"", ",", "info", "->", "save_lr", ")", ";", "fprintf", "(", "stderr", ",", "\"\\tinitialized = %d\\n\"", ",", "info", "->", "initialized", ")", ";", "fprintf", "(", "stderr", ",", "\"\\tsaved registers =\"", ")", ";", "for", "(", "regno", "=", "GPR_R0", ";", "regno", "<=", "GPR_LAST", ";", "regno", "++", ")", "if", "(", "(", "1", "<<", "regno", ")", "&", "info", "->", "reg_mask", ")", "fprintf", "(", "stderr", ",", "\" %s\"", ",", "reg_names", "[", "regno", "]", ")", ";", "putc", "(", "'\\n'", ",", "stderr", ")", ";", "fflush", "(", "stderr", ")", ";", "}", ""], "natrual_language": ["Print", "debugging", "information", "for", "a", "frame", "."], "TS_V_token": ["mt", "\"info pointer NULL\"", "\"\\nStack information for function %s:\\n\"", "\"\"", "\"\\ttotal_size = %d\\n\"", "\"\\tpretend_size = %d\\n\"", "\"\\targs_size = %d\\n\"", "\"\\textra_size = %d\\n\"", "\"\\treg_size = %d\\n\"", "\"\\tvar_size = %d\\n\"", "\"\\tframe_size = %d\\n\"", "\"\\treg_mask = 0x%x\\n\"", "\"\\tsave_fp = %d\\n\"", "\"\\tsave_lr = %d\\n\"", "\"\\tinitialized = %d\\n\"", "\"\\tsaved registers =\"", "1", "\" %s\""], "File": "mt", "Func": "mt_debug_stack", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18509, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_print_ldpstp_address", "(", "FILE", "*", "f", ",", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "return", "aarch64_print_address_internal", "(", "f", ",", "mode", ",", "x", ",", "ADDR_QUERY_LDP_STP", ")", ";", "}", ""], "natrual_language": ["Print", "address", "'", "x", "'", "of", "a", "LDP/STP", "with", "mode", "'mode", "'", "."], "TS_V_token": ["aarch64"], "File": "aarch645", "Func": "aarch64_print_ldpstp_address", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18510, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1FrameLowering", "::", "hasReservedCallFrame", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "FFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "CFSize", "=", "FFI", "->", "getMaxCallFrameSize", "(", ")", ";", "if", "(", "CFSize", ">=", "(", "(", "1", "<<", "8", ")", "-", "1", ")", "*", "4", "/", "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", "1", "8", "1", "4", "2"], "File": "Thumb1FrameLowering (2)", "Func": "hasReservedCallFrame", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18511, "Length": 66, "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", ")", ",", "ReserveX18", "(", "TT", ".", "isOSDarwin", "(", ")", "||", "TT", ".", "isOSWindows", "(", ")", ")", ",", "IsLittle", "(", "LittleEndian", ")", ",", "TargetTriple", "(", "TT", ")", ",", "FrameLowering", "(", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "FS", ",", "CPU", ")", ")", ",", "TSInfo", "(", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", "{", "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", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64Subtarget18", "Func": "AArch64Subtarget", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18512, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isVerboseAsm", "(", ")", "const", "override", "{", "return", "IsVerboseAsm", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "streamer", "supports", "verbose", "assembly", "and", "if", "it", "is", "enabled", "."], "TS_V_token": ["F2003f"], "File": "F2003fMCAsmStreamer", "Func": "isVerboseAsm", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18513, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "split_stack_prologue_scratch_regno", "(", "void", ")", "{", "if", "(", "TARGET_64BIT", ")", "return", "R11_REG", ";", "else", "{", "bool", "is_fastcall", ",", "is_thiscall", ";", "int", "regparm", ";", "is_fastcall", "=", "(", "lookup_attribute", "(", "\"fastcall\"", ",", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "cfun", "->", "decl", ")", ")", ")", "!=", "NULL", ")", ";", "is_thiscall", "=", "(", "lookup_attribute", "(", "\"thiscall\"", ",", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "cfun", "->", "decl", ")", ")", ")", "!=", "NULL", ")", ";", "regparm", "=", "ix86_function_regparm", "(", "TREE_TYPE", "(", "cfun", "->", "decl", ")", ",", "cfun", "->", "decl", ")", ";", "if", "(", "is_fastcall", ")", "{", "if", "(", "DECL_STATIC_CHAIN", "(", "cfun", "->", "decl", ")", ")", "{", "sorry", "(", "\"%<-fsplit-stack%> does not support fastcall with \"", "\"nested function\"", ")", ";", "return", "INVALID_REGNUM", ";", "}", "return", "AX_REG", ";", "}", "else", "if", "(", "is_thiscall", ")", "{", "if", "(", "!", "DECL_STATIC_CHAIN", "(", "cfun", "->", "decl", ")", ")", "return", "DX_REG", ";", "return", "AX_REG", ";", "}", "else", "if", "(", "regparm", "<", "3", ")", "{", "if", "(", "!", "DECL_STATIC_CHAIN", "(", "cfun", "->", "decl", ")", ")", "return", "CX_REG", ";", "else", "{", "if", "(", "regparm", ">=", "2", ")", "{", "sorry", "(", "\"%<-fsplit-stack%> does not support 2 register \"", "\"parameters for a nested function\"", ")", ";", "return", "INVALID_REGNUM", ";", "}", "return", "DX_REG", ";", "}", "}", "else", "{", "sorry", "(", "\"%<-fsplit-stack%> does not support 3 register parameters\"", ")", ";", "return", "INVALID_REGNUM", ";", "}", "}", "}", ""], "natrual_language": ["Return", "a", "scratch", "register", "to", "use", "in", "the", "split", "stack", "prologue", ".", "The", "split", "stack", "prologue", "is", "used", "for", "-fsplit-stack", ".", "It", "is", "the", "first", "instructions", "in", "the", "function", ",", "even", "before", "the", "regular", "prologue", ".", "The", "scratch", "register", "can", "be", "any", "caller-saved", "register", "which", "is", "not", "used", "for", "parameters", "or", "for", "the", "static", "chain", "."], "TS_V_token": ["i386", "\"fastcall\"", "\"thiscall\"", "\"%<-fsplit-stack%> does not support fastcall with \"", "\"nested function\"", "3", "2", "\"%<-fsplit-stack%> does not support 2 register \"", "\"parameters for a nested function\"", "\"%<-fsplit-stack%> does not support 3 register parameters\""], "File": "i386", "Func": "split_stack_prologue_scratch_regno", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18514, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "SystemZMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "RegClass", "=", "CSI", "[", "i", "]", ".", "getRegClass", "(", ")", ";", "if", "(", "RegClass", "==", "&", "SystemZ", "::", "FP64RegClass", ")", "loadRegFromStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", ",", "RegClass", ")", ";", "}", "unsigned", "LowReg", "=", "MFI", "->", "getLowReg", "(", ")", ",", "HighReg", "=", "MFI", "->", "getHighReg", "(", ")", ";", "unsigned", "StartOffset", "=", "RegSpillOffsets", "[", "LowReg", "]", ";", "if", "(", "StartOffset", ")", "{", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "(", "LowReg", "==", "HighReg", "?", "SystemZ", "::", "MOV64rm", ":", "SystemZ", "::", "MOV64rmm", ")", ")", ")", ";", "MIB", ".", "addReg", "(", "LowReg", ",", "RegState", "::", "Define", ")", ";", "if", "(", "LowReg", "!=", "HighReg", ")", "MIB", ".", "addReg", "(", "HighReg", ",", "RegState", "::", "Define", ")", ";", "MIB", ".", "addReg", "(", "(", "RegInfo", "->", "hasFP", "(", "MF", ")", "?", "SystemZ", "::", "R11D", ":", "SystemZ", "::", "R15D", ")", ")", ";", "MIB", ".", "addImm", "(", "StartOffset", ")", ";", "if", "(", "LowReg", "==", "HighReg", ")", "MIB", ".", "addReg", "(", "0", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "if", "(", "Reg", "!=", "LowReg", "&&", "Reg", "!=", "HighReg", ")", "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::FP64RegClass", "SystemZ::MOV64rm", "SystemZ::MOV64rmm", "SystemZ::R11D", "SystemZ::R15D", "0", "0"], "File": "SystemZInstrInfo4", "Func": "restoreCalleeSavedRegisters", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18515, "Length": 367, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "getTOCSaveOffset", "(", "bool", "isELFv2ABI", ")", "{", "return", "isELFv2ABI", "?", "24", ":", "40", ";", "}", ""], "natrual_language": ["getTOCSaveOffset", "-", "Return", "the", "previous", "frame", "offset", "to", "save", "the", "TOC", "register", "\ufffd", "?", "64-bit", "SVR4", "ABI", "only", "."], "TS_V_token": ["PowerPC", "24", "40"], "File": "PPCFrameLowering21", "Func": "getTOCSaveOffset", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18516, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "PPCRegisterInfo", "::", "getLargestLegalSuperClass", "(", "const", "TargetRegisterClass", "*", "RC", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "if", "(", "Subtarget", ".", "hasVSX", "(", ")", ")", "{", "if", "(", "TM", ".", "isELFv2ABI", "(", ")", "||", "Subtarget", ".", "isAIXABI", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "hasP9Vector", "(", ")", "&&", "EnableGPRToVecSpills", "&&", "RC", "==", "&", "PPC", "::", "G8RCRegClass", ")", "{", "InflateGP8RC", "++", ";", "return", "&", "PPC", "::", "SPILLTOVSRRCRegClass", ";", "}", "if", "(", "RC", "==", "&", "PPC", "::", "GPRCRegClass", "&&", "EnableGPRToVecSpills", ")", "InflateGPRC", "++", ";", "}", "if", "(", "RC", "==", "&", "PPC", "::", "F8RCRegClass", ")", "return", "&", "PPC", "::", "VSFRCRegClass", ";", "else", "if", "(", "RC", "==", "&", "PPC", "::", "VRRCRegClass", ")", "return", "&", "PPC", "::", "VSRCRegClass", ";", "else", "if", "(", "RC", "==", "&", "PPC", "::", "F4RCRegClass", "&&", "Subtarget", ".", "hasP8Vector", "(", ")", ")", "return", "&", "PPC", "::", "VSSRCRegClass", ";", "}", "return", "TargetRegisterInfo", "::", "getLargestLegalSuperClass", "(", "RC", ",", "MF", ")", ";", "}", ""], "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": ["PowerPC", "PPC", "PPC", "PPC", "PPC::G8RCRegClass", "PPC::SPILLTOVSRRCRegClass", "PPC::GPRCRegClass", "PPC::F8RCRegClass", "PPC::VSFRCRegClass", "PPC::VRRCRegClass", "PPC::VSRCRegClass", "PPC::F4RCRegClass", "PPC::VSSRCRegClass"], "File": "PPCRegisterInfo60", "Func": "getLargestLegalSuperClass", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18517, "Length": 165, "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": 18518, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FastISel", "*", "MipsTargetLowering", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "funcInfo", ",", "const", "TargetLibraryInfo", "*", "libInfo", ")", "const", "{", "if", "(", "!", "funcInfo", ".", "MF", "->", "getTarget", "(", ")", ".", "Options", ".", "EnableFastISel", ")", "return", "TargetLowering", "::", "createFastISel", "(", "funcInfo", ",", "libInfo", ")", ";", "return", "Mips", "::", "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": ["Mips", "Mips", "Mips::createFastISel"], "File": "MipsISelLowering (2)5", "Func": "createFastISel", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18519, "Length": 53, "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", ";", "for", "(", "reg", "=", "LAST_IWMMXT_REGNUM", ";", "reg", ">=", "FIRST_IWMMXT_REGNUM", ";", "reg", "--", ")", "if", "(", "df_regs_ever_live_p", "(", "reg", ")", "&&", "!", "call_used_regs", "[", "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_HARD_FLOAT", "&&", "TARGET_VFP", ")", "{", "start_reg", "=", "FIRST_VFP_REGNUM", ";", "for", "(", "reg", "=", "FIRST_VFP_REGNUM", ";", "reg", "<", "LAST_VFP_REGNUM", ";", "reg", "+=", "2", ")", "{", "if", "(", "(", "!", "df_regs_ever_live_p", "(", "reg", ")", "||", "call_used_regs", "[", "reg", "]", ")", "&&", "(", "!", "df_regs_ever_live_p", "(", "reg", "+", "1", ")", "||", "call_used_regs", "[", "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", "1", "2", "2", "2"], "File": "arm4", "Func": "arm_save_coproc_regs", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18520, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LEGPassConfig", "::", "addPreEmitPass", "(", ")", "{", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["LEG", "LEG"], "File": "LEGTargetMachine", "Func": "addPreEmitPass", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18521, "Length": 8, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcTargetMachine", "::", "addPreEmitPass", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "PM", ".", "add", "(", "createSparcFPMoverPass", "(", "*", "this", ")", ")", ";", "PM", ".", "add", "(", "createSparcDelaySlotFillerPass", "(", "*", "this", ")", ")", ";", "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"], "File": "SparcTargetMachine", "Func": "addPreEmitPass", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18522, "Length": 41, "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": 18523, "Length": 277, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_expand_builtin_compare", "(", "enum", "mips_builtin_type", "builtin_type", ",", "enum", "insn_code", "icode", ",", "enum", "mips_fp_condition", "cond", ",", "rtx", "target", ",", "tree", "arglist", ")", "{", "rtx", "label1", ",", "label2", ",", "if_then_else", ";", "rtx", "pat", ",", "cmp_result", ",", "ops", "[", "MAX_RECOG_OPERANDS", "]", ";", "rtx", "target_if_equal", ",", "target_if_unequal", ";", "int", "cmp_value", ",", "i", ";", "if", "(", "target", "==", "0", "||", "GET_MODE", "(", "target", ")", "!=", "SImode", ")", "target", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "cmp_result", "=", "mips_prepare_builtin_target", "(", "icode", ",", "0", ",", "0", ")", ";", "for", "(", "i", "=", "1", ";", "i", "<", "insn_data", "[", "icode", "]", ".", "n_operands", "-", "1", ";", "i", "++", ")", "ops", "[", "i", "]", "=", "mips_prepare_builtin_arg", "(", "icode", ",", "i", ",", "&", "arglist", ")", ";", "switch", "(", "insn_data", "[", "icode", "]", ".", "n_operands", ")", "{", "case", "4", ":", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "cmp_result", ",", "ops", "[", "1", "]", ",", "ops", "[", "2", "]", ",", "GEN_INT", "(", "cond", ")", ")", ";", "break", ";", "case", "6", ":", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "cmp_result", ",", "ops", "[", "1", "]", ",", "ops", "[", "2", "]", ",", "ops", "[", "3", "]", ",", "ops", "[", "4", "]", ",", "GEN_INT", "(", "cond", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "builtin_type", "==", "MIPS_BUILTIN_CMP_ALL", ")", "{", "cmp_value", "=", "-", "1", ";", "target_if_equal", "=", "const1_rtx", ";", "target_if_unequal", "=", "const0_rtx", ";", "}", "else", "{", "cmp_value", "=", "0", ";", "target_if_equal", "=", "const0_rtx", ";", "target_if_unequal", "=", "const1_rtx", ";", "if", "(", "builtin_type", "==", "MIPS_BUILTIN_CMP_UPPER", ")", "cmp_result", "=", "simplify_gen_subreg", "(", "CCmode", ",", "cmp_result", ",", "CCV2mode", ",", "4", ")", ";", "else", "if", "(", "builtin_type", "==", "MIPS_BUILTIN_CMP_LOWER", ")", "cmp_result", "=", "simplify_gen_subreg", "(", "CCmode", ",", "cmp_result", ",", "CCV2mode", ",", "0", ")", ";", "}", "emit_move_insn", "(", "target", ",", "target_if_equal", ")", ";", "emit_insn", "(", "pat", ")", ";", "label1", "=", "gen_label_rtx", "(", ")", ";", "label2", "=", "gen_label_rtx", "(", ")", ";", "if_then_else", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "gen_rtx_fmt_ee", "(", "NE", ",", "GET_MODE", "(", "cmp_result", ")", ",", "cmp_result", ",", "GEN_INT", "(", "cmp_value", ")", ")", ",", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "label1", ")", ",", "pc_rtx", ")", ";", "emit_jump_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "pc_rtx", ",", "if_then_else", ")", ")", ";", "emit_jump_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "pc_rtx", ",", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "label2", ")", ")", ")", ";", "emit_barrier", "(", ")", ";", "emit_label", "(", "label1", ")", ";", "emit_move_insn", "(", "target", ",", "target_if_unequal", ")", ";", "emit_label", "(", "label2", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Expand", "a", "comparison", "builtin", "of", "type", "BUILTIN_TYPE", ".", "ICODE", "is", "the", "code", "of", "the", "comparison", "instruction", "and", "COND", "is", "the", "condition", "it", "should", "test", ".", "ARGLIST", "is", "the", "list", "of", "function", "arguments", "and", "TARGET", ",", "if", "nonnull", ",", "suggests", "a", "good", "place", "to", "put", "the", "boolean", "result", "."], "TS_V_token": ["mips", "0", "0", "0", "1", "1", "4", "1", "2", "6", "1", "2", "3", "4", "1", "0", "4", "0"], "File": "mips3", "Func": "mips_expand_builtin_compare", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18524, "Length": 389, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "long", "arm_compute_func_type", "(", "void", ")", "{", "unsigned", "long", "type", "=", "ARM_FT_UNKNOWN", ";", "tree", "a", ";", "tree", "attr", ";", "gcc_assert", "(", "TREE_CODE", "(", "current_function_decl", ")", "==", "FUNCTION_DECL", ")", ";", "if", "(", "optimize", ">", "0", "&&", "(", "TREE_NOTHROW", "(", "current_function_decl", ")", "||", "!", "(", "flag_unwind_tables", "||", "(", "flag_exceptions", "&&", "arm_except_unwind_info", "(", "&", "global_options", ")", "!=", "UI_SJLJ", ")", ")", ")", "&&", "TREE_THIS_VOLATILE", "(", "current_function_decl", ")", ")", "type", "|=", "ARM_FT_VOLATILE", ";", "if", "(", "cfun", "->", "static_chain_decl", "!=", "NULL", ")", "type", "|=", "ARM_FT_NESTED", ";", "attr", "=", "DECL_ATTRIBUTES", "(", "current_function_decl", ")", ";", "a", "=", "lookup_attribute", "(", "\"naked\"", ",", "attr", ")", ";", "if", "(", "a", "!=", "NULL_TREE", ")", "type", "|=", "ARM_FT_NAKED", ";", "a", "=", "lookup_attribute", "(", "\"isr\"", ",", "attr", ")", ";", "if", "(", "a", "==", "NULL_TREE", ")", "a", "=", "lookup_attribute", "(", "\"interrupt\"", ",", "attr", ")", ";", "if", "(", "a", "==", "NULL_TREE", ")", "type", "|=", "TARGET_INTERWORK", "?", "ARM_FT_INTERWORKED", ":", "ARM_FT_NORMAL", ";", "else", "type", "|=", "arm_isr_value", "(", "TREE_VALUE", "(", "a", ")", ")", ";", "if", "(", "lookup_attribute", "(", "\"cmse_nonsecure_entry\"", ",", "attr", ")", ")", "type", "|=", "ARM_FT_CMSE_ENTRY", ";", "return", "type", ";", "}", ""], "natrual_language": ["Computes", "the", "type", "of", "the", "current", "function", "."], "TS_V_token": ["arm", "0", "\"naked\"", "\"isr\"", "\"interrupt\"", "\"cmse_nonsecure_entry\""], "File": "arm", "Func": "arm_compute_func_type", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18525, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CSKYDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "if", "(", "N", "->", "isMachineOpcode", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"== \"", ";", "N", "->", "dump", "(", "CurDAG", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "N", "->", "setNodeId", "(", "-", "1", ")", ";", "return", ";", "}", "SDLoc", "Dl", "(", "N", ")", ";", "unsigned", "Opcode", "=", "N", "->", "getOpcode", "(", ")", ";", "bool", "IsSelected", "=", "false", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "ADDCARRY", ":", "IsSelected", "=", "selectAddCarry", "(", "N", ")", ";", "break", ";", "case", "ISD", "::", "SUBCARRY", ":", "IsSelected", "=", "selectSubCarry", "(", "N", ")", ";", "break", ";", "case", "ISD", "::", "GLOBAL_OFFSET_TABLE", ":", "{", "Register", "GP", "=", "Subtarget", "->", "getInstrInfo", "(", ")", "->", "getGlobalBaseReg", "(", "*", "MF", ")", ";", "ReplaceNode", "(", "N", ",", "CurDAG", "->", "getRegister", "(", "GP", ",", "N", "->", "getValueType", "(", "0", ")", ")", ".", "getNode", "(", ")", ")", ";", "IsSelected", "=", "true", ";", "break", ";", "}", "case", "ISD", "::", "FrameIndex", ":", "{", "SDValue", "Imm", "=", "CurDAG", "->", "getTargetConstant", "(", "0", ",", "Dl", ",", "MVT", "::", "i32", ")", ";", "int", "FI", "=", "cast", "<", "FrameIndexSDNode", ">", "(", "N", ")", "->", "getIndex", "(", ")", ";", "SDValue", "TFI", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "MVT", "::", "i32", ")", ";", "ReplaceNode", "(", "N", ",", "CurDAG", "->", "getMachineNode", "(", "Subtarget", "->", "hasE2", "(", ")", "?", "CSKY", "::", "ADDI32", ":", "CSKY", "::", "ADDI16XZ", ",", "Dl", ",", "MVT", "::", "i32", ",", "TFI", ",", "Imm", ")", ")", ";", "IsSelected", "=", "true", ";", "break", ";", "}", "case", "ISD", "::", "INLINEASM", ":", "case", "ISD", "::", "INLINEASM_BR", ":", "IsSelected", "=", "selectInlineAsm", "(", "N", ")", ";", "break", ";", "}", "if", "(", "IsSelected", ")", "return", ";", "SelectCode", "(", "N", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["CSKY", "CSKY", "\"== \"", "\"\\n\"", "1", "ISD::ADDCARRY", "ISD::SUBCARRY", "ISD::GLOBAL_OFFSET_TABLE", "0", "ISD::FrameIndex", "0", "MVT::i32", "MVT::i32", "CSKY::ADDI32", "CSKY::ADDI16XZ", "MVT::i32", "ISD::INLINEASM", "ISD::INLINEASM_BR"], "File": "CSKYISelDAGToDAG", "Func": "Select", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18526, "Length": 284, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCodeEmitter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "TargetMachine", "&", "Target", "=", "const_cast", "<", "TargetMachine", "&", ">", "(", "MF", ".", "getTarget", "(", ")", ")", ";", "assert", "(", "(", "Target", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Default", "||", "Target", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Static", ")", "&&", "\"JIT relocation model must be set to static or default!\"", ")", ";", "JTI", "=", "static_cast", "<", "ARMJITInfo", "*", ">", "(", "Target", ".", "getJITInfo", "(", ")", ")", ";", "II", "=", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "Target", ".", "getInstrInfo", "(", ")", ")", ";", "TD", "=", "Target", ".", "getDataLayout", "(", ")", ";", "Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "MCPEs", "=", "&", "MF", ".", "getConstantPool", "(", ")", "->", "getConstants", "(", ")", ";", "MJTEs", "=", "nullptr", ";", "if", "(", "MF", ".", "getJumpTableInfo", "(", ")", ")", "MJTEs", "=", "&", "MF", ".", "getJumpTableInfo", "(", ")", "->", "getJumpTables", "(", ")", ";", "IsPIC", "=", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ";", "IsThumb", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", "->", "isThumbFunction", "(", ")", ";", "JTI", "->", "Initialize", "(", "MF", ",", "IsPIC", ")", ";", "MMI", "=", "&", "getAnalysis", "<", "MachineModuleInfo", ">", "(", ")", ";", "MCE", ".", "setModuleInfo", "(", "MMI", ")", ";", "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", "::", "iterator", "I", "=", "MBB", "->", "begin", "(", ")", ",", "E", "=", "MBB", "->", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "emitInstruction", "(", "*", "I", ")", ";", "}", "}", "while", "(", "MCE", ".", "finishFunction", "(", "MF", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "\"JIT relocation model must be set to static or default!\"", "ARM", "ARM", "ARM", "ARM", "\"JITTing function '\"", "\"'\\n\""], "File": "ARMCodeEmitter14", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18527, "Length": 308, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "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", ",", "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", "(", ")", ",", "OutVals", "[", "i", "]", ",", "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": "PPCISelLowering115", "Func": "LowerReturn", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18528, "Length": 263, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_size_return_regs", "(", "void", ")", "{", "enum", "machine_mode", "mode", ";", "if", "(", "current_function_return_rtx", "!=", "0", ")", "mode", "=", "GET_MODE", "(", "current_function_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": "arm3", "Func": "arm_size_return_regs", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18529, "Length": 42, "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", ";", "break", ";", "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": "rs60006", "Func": "altivec_expand_ld_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18530, "Length": 289, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_tls_symbol_ref_1", "(", "rtx", "*", "x", ",", "void", "*", "data", "ATTRIBUTE_UNUSED", ")", "{", "return", "RS6000_SYMBOL_REF_TLS_P", "(", "*", "x", ")", ";", "}", ""], "natrual_language": ["Return", "1", "if", "*", "X", "is", "a", "thread-local", "symbol", ".", "This", "is", "the", "same", "as", "rs6000_tls_symbol_ref", "except", "for", "the", "type", "of", "the", "unused", "argument", "."], "TS_V_token": ["rs6000"], "File": "rs60003", "Func": "rs6000_tls_symbol_ref_1", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18531, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "SparcRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcTargetMachine", "Func": "getRegisterInfo", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18532, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_gimple_fold_builtin", "(", "gimple_stmt_iterator", "*", "gsi", ")", "{", "bool", "changed", "=", "false", ";", "gimple", "stmt", "=", "gsi_stmt", "(", "*", "gsi", ")", ";", "tree", "call", "=", "gimple_call_fn", "(", "stmt", ")", ";", "tree", "fndecl", ";", "gimple", "new_stmt", "=", "NULL", ";", "if", "(", "call", ")", "{", "fndecl", "=", "gimple_call_fndecl", "(", "stmt", ")", ";", "if", "(", "fndecl", ")", "{", "int", "fcode", "=", "DECL_FUNCTION_CODE", "(", "fndecl", ")", ";", "int", "nargs", "=", "gimple_call_num_args", "(", "stmt", ")", ";", "tree", "*", "args", "=", "(", "nargs", ">", "0", "?", "gimple_call_arg_ptr", "(", "stmt", ",", "0", ")", ":", "&", "error_mark_node", ")", ";", "switch", "(", "fcode", ")", "{", "BUILTIN_VALL", "(", "UNOP", ",", "reduc_plus_scal_", ",", "10", ")", "new_stmt", "=", "gimple_build_assign", "(", "gimple_call_lhs", "(", "stmt", ")", ",", "REDUC_PLUS_EXPR", ",", "args", "[", "0", "]", ")", ";", "break", ";", "BUILTIN_VDQIF", "(", "UNOP", ",", "reduc_smax_scal_", ",", "10", ")", "BUILTIN_VDQ_BHSI", "(", "UNOPU", ",", "reduc_umax_scal_", ",", "10", ")", "new_stmt", "=", "gimple_build_assign", "(", "gimple_call_lhs", "(", "stmt", ")", ",", "REDUC_MAX_EXPR", ",", "args", "[", "0", "]", ")", ";", "break", ";", "BUILTIN_VDQIF", "(", "UNOP", ",", "reduc_smin_scal_", ",", "10", ")", "BUILTIN_VDQ_BHSI", "(", "UNOPU", ",", "reduc_umin_scal_", ",", "10", ")", "new_stmt", "=", "gimple_build_assign", "(", "gimple_call_lhs", "(", "stmt", ")", ",", "REDUC_MIN_EXPR", ",", "args", "[", "0", "]", ")", ";", "break", ";", "default", ":", "break", ";", "}", "}", "}", "if", "(", "new_stmt", ")", "{", "gsi_replace", "(", "gsi", ",", "new_stmt", ",", "true", ")", ";", "changed", "=", "true", ";", "}", "return", "changed", ";", "}", ""], "natrual_language": ["Implement", "TARGET_GIMPLE_FOLD_BUILTIN", "."], "TS_V_token": ["aarch64", "0", "0", "10", "0", "10", "10", "0", "10", "10", "0"], "File": "aarch64-builtins2", "Func": "aarch64_gimple_fold_builtin", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18533, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_builtin_valid_without_lhs", "(", "enum", "rs6000_gen_builtins", "fn_code", ",", "tree", "fndecl", ")", "{", "if", "(", "TREE_TYPE", "(", "TREE_TYPE", "(", "fndecl", ")", ")", "==", "void_type_node", ")", "return", "true", ";", "switch", "(", "fn_code", ")", "{", "case", "RS6000_BIF_STVX_V16QI", ":", "case", "RS6000_BIF_STVX_V8HI", ":", "case", "RS6000_BIF_STVX_V4SI", ":", "case", "RS6000_BIF_STVX_V4SF", ":", "case", "RS6000_BIF_STVX_V2DI", ":", "case", "RS6000_BIF_STVX_V2DF", ":", "case", "RS6000_BIF_STXVW4X_V16QI", ":", "case", "RS6000_BIF_STXVW4X_V8HI", ":", "case", "RS6000_BIF_STXVW4X_V4SF", ":", "case", "RS6000_BIF_STXVW4X_V4SI", ":", "case", "RS6000_BIF_STXVD2X_V2DF", ":", "case", "RS6000_BIF_STXVD2X_V2DI", ":", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Helper", "function", "to", "sort", "out", "which", "built-ins", "may", "be", "valid", "without", "having", "a", "LHS", "."], "TS_V_token": ["rs6000"], "File": "rs6000-builtin", "Func": "rs6000_builtin_valid_without_lhs", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18534, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiInstrInfo", "::", "analyzeSelect", "(", "const", "MachineInstr", "&", "MI", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "unsigned", "&", "TrueOp", ",", "unsigned", "&", "FalseOp", ",", "bool", "&", "Optimizable", ")", "const", "{", "assert", "(", "MI", ".", "getOpcode", "(", ")", "==", "Lanai", "::", "SELECT", "&&", "\"unknown select instruction\"", ")", ";", "TrueOp", "=", "1", ";", "FalseOp", "=", "2", ";", "Cond", ".", "push_back", "(", "MI", ".", "getOperand", "(", "3", ")", ")", ";", "Optimizable", "=", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Analyze", "the", "given", "select", "instruction", ",", "returning", "true", "if", "it", "can", "not", "be", "understood", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai::SELECT", "\"unknown select instruction\"", "1", "2", "3"], "File": "LanaiInstrInfo (2)", "Func": "analyzeSelect", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18535, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "MipsAsmBackend", "::", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "{", "return", "createMipsELFObjectWriter", "(", "OS", ",", "TheTriple", ",", "IsN32", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsAsmBackend17", "Func": "createObjectWriter", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18536, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "sh_handle_interrupt_handler_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", ";", "}", "else", "if", "(", "TARGET_SHCOMPACT", ")", "{", "error", "(", "\"attribute interrupt_handler is not compatible with -m5-compact\"", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "an", "``", "interrupt_handler", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["sh", "\"%qE attribute only applies to functions\"", "\"attribute interrupt_handler is not compatible with -m5-compact\""], "File": "sh4", "Func": "sh_handle_interrupt_handler_attribute", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18537, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86IntelAsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "const", "TargetData", "*", "TD", "=", "TM", ".", "getTargetData", "(", ")", ";", "for", "(", "Module", "::", "const_global_iterator", "I", "=", "M", ".", "global_begin", "(", ")", ",", "E", "=", "M", ".", "global_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "I", "->", "isDeclaration", "(", ")", ")", "continue", ";", "if", "(", "EmitSpecialLLVMGlobal", "(", "I", ")", ")", "continue", ";", "std", "::", "string", "name", "=", "Mang", "->", "getValueName", "(", "I", ")", ";", "Constant", "*", "C", "=", "I", "->", "getInitializer", "(", ")", ";", "unsigned", "Align", "=", "TD", "->", "getPreferredAlignmentLog", "(", "I", ")", ";", "bool", "bCustomSegment", "=", "false", ";", "switch", "(", "I", "->", "getLinkage", "(", ")", ")", "{", "case", "GlobalValue", "::", "CommonLinkage", ":", "case", "GlobalValue", "::", "LinkOnceAnyLinkage", ":", "case", "GlobalValue", "::", "LinkOnceODRLinkage", ":", "case", "GlobalValue", "::", "WeakAnyLinkage", ":", "case", "GlobalValue", "::", "WeakODRLinkage", ":", "SwitchToDataSection", "(", "\"\"", ")", ";", "O", "<<", "name", "<<", "\"?\\tsegment common 'COMMON'\\n\"", ";", "bCustomSegment", "=", "true", ";", "break", ";", "case", "GlobalValue", "::", "AppendingLinkage", ":", "SwitchToDataSection", "(", "\"\"", ")", ";", "O", "<<", "name", "<<", "\"?\\tsegment public 'DATA'\\n\"", ";", "bCustomSegment", "=", "true", ";", "break", ";", "case", "GlobalValue", "::", "DLLExportLinkage", ":", "DLLExportedGVs", ".", "insert", "(", "name", ")", ";", "case", "GlobalValue", "::", "ExternalLinkage", ":", "O", "<<", "\"\\tpublic \"", "<<", "name", "<<", "\"\\n\"", ";", "case", "GlobalValue", "::", "InternalLinkage", ":", "SwitchToSection", "(", "TAI", "->", "getDataSection", "(", ")", ")", ";", "break", ";", "default", ":", "assert", "(", "0", "&&", "\"Unknown linkage type!\"", ")", ";", "}", "if", "(", "!", "bCustomSegment", ")", "EmitAlignment", "(", "Align", ",", "I", ")", ";", "O", "<<", "name", "<<", "\":\"", ";", "if", "(", "VerboseAsm", ")", "O", "<<", "name", "<<", "\"\\t\\t\\t\\t\"", "<<", "TAI", "->", "getCommentString", "(", ")", "<<", "\" \"", "<<", "I", "->", "getName", "(", ")", ";", "O", "<<", "'\\n'", ";", "EmitGlobalConstant", "(", "C", ")", ";", "if", "(", "bCustomSegment", ")", "O", "<<", "name", "<<", "\"?\\tends\\n\"", ";", "}", "if", "(", "!", "DLLExportedGVs", ".", "empty", "(", ")", "||", "!", "DLLExportedFns", ".", "empty", "(", ")", ")", "{", "SwitchToDataSection", "(", "\"\"", ")", ";", "O", "<<", "\"; WARNING: The following code is valid only with MASM v8.x\"", "<<", "\"and (possible) higher\\n\"", "<<", "\"; This version of MASM is usually shipped with Microsoft \"", "<<", "\"Visual Studio 2005\\n\"", "<<", "\"; or (possible) further versions. Unfortunately, there is no \"", "<<", "\"way to support\\n\"", "<<", "\"; dllexported symbols in the earlier versions of MASM in fully \"", "<<", "\"automatic way\\n\\n\"", ";", "O", "<<", "\"_drectve\\t segment info alias('.drectve')\\n\"", ";", "}", "for", "(", "StringSet", "<", ">", "::", "iterator", "i", "=", "DLLExportedGVs", ".", "begin", "(", ")", ",", "e", "=", "DLLExportedGVs", ".", "end", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "O", "<<", "\"\\t db ' /EXPORT:\"", "<<", "i", "->", "getKeyData", "(", ")", "<<", "\",data'\\n\"", ";", "for", "(", "StringSet", "<", ">", "::", "iterator", "i", "=", "DLLExportedFns", ".", "begin", "(", ")", ",", "e", "=", "DLLExportedFns", ".", "end", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "O", "<<", "\"\\t db ' /EXPORT:\"", "<<", "i", "->", "getKeyData", "(", ")", "<<", "\"'\\n\"", ";", "if", "(", "!", "DLLExportedGVs", ".", "empty", "(", ")", "||", "!", "DLLExportedFns", ".", "empty", "(", ")", ")", "O", "<<", "\"_drectve\\t ends\\n\"", ";", "bool", "Result", "=", "AsmPrinter", "::", "doFinalization", "(", "M", ")", ";", "SwitchToDataSection", "(", "\"\"", ")", ";", "O", "<<", "\"\\tend\\n\"", ";", "return", "Result", ";", "}", ""], "natrual_language": ["doFinalization", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "any", "necessary", "clean", "up", "after", "all", "passes", "have", "run", "."], "TS_V_token": ["X86", "X86", "\"\"", "\"?\\tsegment common 'COMMON'\\n\"", "\"\"", "\"?\\tsegment public 'DATA'\\n\"", "\"\\tpublic \"", "\"\\n\"", "0", "\"Unknown linkage type!\"", "\":\"", "\"\\t\\t\\t\\t\"", "\" \"", "\"?\\tends\\n\"", "\"\"", "\"; WARNING: The following code is valid only with MASM v8.x\"", "\"and (possible) higher\\n\"", "\"; This version of MASM is usually shipped with Microsoft \"", "\"Visual Studio 2005\\n\"", "\"; or (possible) further versions. Unfortunately, there is no \"", "\"way to support\\n\"", "\"; dllexported symbols in the earlier versions of MASM in fully \"", "\"automatic way\\n\\n\"", "\"_drectve\\t segment info alias('.drectve')\\n\"", "\"\\t db ' /EXPORT:\"", "\",data'\\n\"", "\"\\t db ' /EXPORT:\"", "\"'\\n\"", "\"_drectve\\t ends\\n\"", "\"\"", "\"\\tend\\n\""], "File": "X86IntelAsmPrinter1", "Func": "doFinalization", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18538, "Length": 464, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "F2003fMCAsmStreamer", "::", "AddComment", "(", "const", "Twine", "&", "T", ",", "bool", "EOL", ")", "{", "if", "(", "!", "IsVerboseAsm", ")", "return", ";", "T", ".", "toVector", "(", "CommentToEmit", ")", ";", "if", "(", "EOL", ")", "CommentToEmit", ".", "push_back", "(", "'\\n'", ")", ";", "}", ""], "natrual_language": ["Add", "a", "textual", "comment", "."], "TS_V_token": ["F2003f", "F2003f"], "File": "F2003fMCAsmStreamer", "Func": "AddComment", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18539, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "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", "(", ")", ";", "}", "EmitFunctionHeader", "(", ")", ";", "EmitFunctionBody", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86"], "File": "X86AsmPrinter21", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18540, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_cannot_force_const_mem", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "HIGH", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "UNSPEC", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "PLUS", "&&", "SYMBOL_REF_P", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ")", "&&", "SYMBOL_REF_TLS_MODEL", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ")", "!=", "0", ")", "return", "true", ";", "return", "TARGET_ELF", "&&", "tls_referenced_p", "(", "x", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CANNOT_FORCE_CONST_MEM", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "0", "0", "0"], "File": "rs6000", "Func": "rs6000_cannot_force_const_mem", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18541, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "i386_pe_dllexport_p", "(", "tree", "decl", ")", "{", "if", "(", "TREE_CODE", "(", "decl", ")", "!=", "VAR_DECL", "&&", "TREE_CODE", "(", "decl", ")", "!=", "FUNCTION_DECL", ")", "return", "false", ";", "if", "(", "lookup_attribute", "(", "\"dllexport\"", ",", "DECL_ATTRIBUTES", "(", "decl", ")", ")", ")", "return", "true", ";", "if", "(", "associated_type", "(", "decl", ")", "&&", "lookup_attribute", "(", "\"dllexport\"", ",", "TYPE_ATTRIBUTES", "(", "associated_type", "(", "decl", ")", ")", ")", ")", "return", "i386_pe_type_dllexport_p", "(", "decl", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "DECL", "is", "a", "dllexport", "'d", "object", "."], "TS_V_token": ["i386", "\"dllexport\"", "\"dllexport\""], "File": "winnt3", "Func": "i386_pe_dllexport_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18542, "Length": 72, "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": 18543, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86ATTAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "if", "(", "IDVal", "==", "\".word\"", ")", "return", "ParseDirectiveWord", "(", "2", ",", "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", "\".word\"", "2"], "File": "X86AsmParser101", "Func": "ParseDirective", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18544, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FixupLEAPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Func", ")", "{", "TM", "=", "&", "Func", ".", "getTarget", "(", ")", ";", "const", "X86Subtarget", "&", "ST", "=", "TM", "->", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "ST", ".", "LEAusesAG", "(", ")", "&&", "!", "ST", ".", "slowLEA", "(", ")", ")", "return", "false", ";", "TII", "=", "static_cast", "<", "const", "X86InstrInfo", "*", ">", "(", "TM", "->", "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", "X86", "\"Start X86FixupLEAs\\n\"", "\"End X86FixupLEAs\\n\""], "File": "X86FixupLEAs21", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18545, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SICMCCodeEmitter", "::", "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": ["SIC", "SIC", "0", "8", "1", "8", "0xff"], "File": "SICMCCodeEmitter", "Func": "EmitInstruction", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18546, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBankInfo", "*", "AArch64Subtarget", "::", "getRegBankInfo", "(", ")", "const", "{", "return", "RegBankInfo", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["If", "the", "information", "for", "the", "register", "banks", "is", "available", ",", "return", "it", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64Subtarget (2)1", "Func": "getRegBankInfo", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18547, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmInstrumentation", "::", "EmitInstruction", "(", "MCStreamer", "&", "Out", ",", "const", "MCInst", "&", "Inst", ")", "{", "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": "X86AsmInstrumentation", "Func": "EmitInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18548, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isValid", "(", ")", "{", "return", "isFIBase", "(", ")", "||", "(", "isRegBase", "(", ")", "&&", "getReg", "(", ")", "!=", "0", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "this", "iterator", "is", "still", "pointing", "at", "a", "valid", "entry", "."], "TS_V_token": ["AArch64", "0"], "File": "AArch64FastISel1", "Func": "isValid", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18549, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86DAGToDAGISel", "::", "IsProfitableToFold", "(", "SDValue", "N", ",", "SDNode", "*", "U", ",", "SDNode", "*", "Root", ")", "const", "{", "if", "(", "OptLevel", "==", "CodeGenOpt", "::", "None", ")", "return", "false", ";", "if", "(", "!", "N", ".", "hasOneUse", "(", ")", ")", "return", "false", ";", "if", "(", "N", ".", "getOpcode", "(", ")", "!=", "ISD", "::", "LOAD", ")", "return", "true", ";", "if", "(", "U", "==", "Root", ")", "{", "switch", "(", "U", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "X86ISD", "::", "ADD", ":", "case", "X86ISD", "::", "SUB", ":", "case", "X86ISD", "::", "AND", ":", "case", "X86ISD", "::", "XOR", ":", "case", "X86ISD", "::", "OR", ":", "case", "ISD", "::", "ADD", ":", "case", "ISD", "::", "ADDCARRY", ":", "case", "ISD", "::", "AND", ":", "case", "ISD", "::", "OR", ":", "case", "ISD", "::", "XOR", ":", "{", "SDValue", "Op1", "=", "U", "->", "getOperand", "(", "1", ")", ";", "if", "(", "ConstantSDNode", "*", "Imm", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op1", ")", ")", "if", "(", "Imm", "->", "getAPIntValue", "(", ")", ".", "isSignedIntN", "(", "8", ")", ")", "return", "false", ";", "if", "(", "Op1", ".", "getOpcode", "(", ")", "==", "X86ISD", "::", "Wrapper", ")", "{", "SDValue", "Val", "=", "Op1", ".", "getOperand", "(", "0", ")", ";", "if", "(", "Val", ".", "getOpcode", "(", ")", "==", "ISD", "::", "TargetGlobalTLSAddress", ")", "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": ["X86", "X86", "ISD::LOAD", "X86ISD::ADD", "X86ISD::SUB", "X86ISD::AND", "X86ISD::XOR", "X86ISD::OR", "ISD::ADD", "ISD::ADDCARRY", "ISD::AND", "ISD::OR", "ISD::XOR", "1", "8", "X86ISD::Wrapper", "0", "ISD::TargetGlobalTLSAddress"], "File": "X86ISelDAGToDAG122", "Func": "IsProfitableToFold", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18550, "Length": 213, "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": 18551, "Length": 350, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_scalar_mode_supported_p", "(", "scalar_mode", "mode", ")", "{", "if", "(", "TARGET_32BIT", "&&", "mode", "==", "TImode", ")", "return", "false", ";", "if", "(", "DECIMAL_FLOAT_MODE_P", "(", "mode", ")", ")", "return", "default_decimal_float_supported_p", "(", ")", ";", "else", "if", "(", "TARGET_FLOAT128_TYPE", "&&", "(", "mode", "==", "KFmode", "||", "mode", "==", "IFmode", ")", ")", "return", "true", ";", "else", "return", "default_scalar_mode_supported_p", "(", "mode", ")", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "scalar_mode_supported_p", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_scalar_mode_supported_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18552, "Length": 57, "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\"", ")", ";", "DOUT", "<<", "\"<--------->\\n\"", ";", "MI", ".", "print", "(", "DOUT", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "getIndex", "(", ")", ";", "int", "stackSize", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "int", "spOffset", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FrameIndex", ")", ";", "DOUT", "<<", "\"FrameIndex : \"", "<<", "FrameIndex", "<<", "\"\\n\"", ";", "DOUT", "<<", "\"spOffset : \"", "<<", "spOffset", "<<", "\"\\n\"", ";", "DOUT", "<<", "\"stackSize : \"", "<<", "stackSize", "<<", "\"\\n\"", ";", "int", "Offset", "=", "(", "(", "spOffset", "<", "0", ")", "?", "(", "stackSize", "+", "(", "-", "(", "spOffset", "+", "4", ")", ")", ")", ":", "(", "spOffset", ")", ")", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "i", "-", "1", ")", ".", "getImm", "(", ")", ";", "DOUT", "<<", "\"Offset : \"", "<<", "Offset", "<<", "\"\\n\"", ";", "DOUT", "<<", "\"<--------->\\n\"", ";", "MI", ".", "getOperand", "(", "i", "-", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "getFrameRegister", "(", "MF", ")", ",", "false", ")", ";", "}", ""], "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\"", "1"], "File": "MipsRegisterInfo25", "Func": "eliminateFrameIndex", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18553, "Length": 262, "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", "(", ")", ";", "ModifiedRegs", ".", "resize", "(", "TRI", "->", "getNumRegs", "(", ")", ")", ";", "UsedRegs", ".", "resize", "(", "TRI", "->", "getNumRegs", "(", ")", ")", ";", "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": "AArch64LoadStoreOptimizer14", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18554, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86DAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "SDValue", "Op0", ",", "Op1", ",", "Op2", ",", "Op3", ",", "Op4", ";", "switch", "(", "ConstraintID", ")", "{", "case", "InlineAsm", "::", "Constraint_o", ":", "case", "InlineAsm", "::", "Constraint_v", ":", "default", ":", "return", "true", ";", "case", "InlineAsm", "::", "Constraint_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": "X86ISelDAGToDAG116", "Func": "SelectInlineAsmMemoryOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18555, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "rs6000_libcall_value", "(", "machine_mode", "mode", ")", "{", "unsigned", "int", "regno", ";", "if", "(", "TARGET_32BIT", "&&", "TARGET_POWERPC64", "&&", "mode", "==", "DImode", ")", "return", "rs6000_parallel_return", "(", "mode", ",", "2", ",", "SImode", ",", "GP_ARG_RETURN", ",", "1", ")", ";", "if", "(", "DECIMAL_FLOAT_MODE_P", "(", "mode", ")", "&&", "TARGET_HARD_FLOAT", "&&", "TARGET_FPRS", ")", "regno", "=", "(", "mode", "==", "TDmode", ")", "?", "FP_ARG_RETURN", "+", "1", ":", "FP_ARG_RETURN", ";", "else", "if", "(", "SCALAR_FLOAT_MODE_P", "(", "mode", ")", "&&", "TARGET_HARD_FLOAT", "&&", "TARGET_FPRS", "&&", "(", "(", "TARGET_SINGLE_FLOAT", "&&", "mode", "==", "SFmode", ")", "||", "TARGET_DOUBLE_FLOAT", ")", ")", "regno", "=", "FP_ARG_RETURN", ";", "else", "if", "(", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "mode", ")", "&&", "TARGET_ALTIVEC", "&&", "TARGET_ALTIVEC_ABI", ")", "regno", "=", "ALTIVEC_ARG_RETURN", ";", "else", "if", "(", "COMPLEX_MODE_P", "(", "mode", ")", "&&", "targetm", ".", "calls", ".", "split_complex_arg", ")", "return", "rs6000_complex_function_value", "(", "mode", ")", ";", "else", "if", "(", "TARGET_E500_DOUBLE", "&&", "TARGET_HARD_FLOAT", "&&", "(", "mode", "==", "DFmode", "||", "mode", "==", "DCmode", "||", "mode", "==", "TFmode", "||", "mode", "==", "TCmode", ")", ")", "return", "spe_build_register_parallel", "(", "mode", ",", "GP_ARG_RETURN", ")", ";", "else", "regno", "=", "GP_ARG_RETURN", ";", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "}", ""], "natrual_language": ["Define", "how", "to", "find", "the", "value", "returned", "by", "a", "library", "function", "assuming", "the", "value", "has", "mode", "MODE", "."], "TS_V_token": ["rs6000", "2", "1", "1"], "File": "rs60004", "Func": "rs6000_libcall_value", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18556, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_sibcall", "(", "rtx_insn", "*", "insn", ",", "rtx", "call_operand", ")", "{", "rtx", "operands", "[", "1", "]", ";", "gcc_assert", "(", "flag_delayed_branch", ")", ";", "operands", "[", "0", "]", "=", "call_operand", ";", "if", "(", "sparc_leaf_function_p", "||", "TARGET_FLAT", ")", "{", "gcc_assert", "(", "!", "(", "LEAF_SIBCALL_SLOT_RESERVED_P", "&&", "final_sequence", ")", ")", ";", "if", "(", "final_sequence", ")", "output_asm_insn", "(", "\"sethi\\t%%hi(%a0), %%g1\\n\\tjmp\\t%%g1 + %%lo(%a0)%#\"", ",", "operands", ")", ";", "else", "output_asm_insn", "(", "\"or\\t%%o7, %%g0, %%g1\\n\\tcall\\t%a0, 0\\n\\t or\\t%%g1, %%g0, %%o7\"", ",", "operands", ")", ";", "}", "else", "{", "output_asm_insn", "(", "\"call\\t%a0, 0\"", ",", "operands", ")", ";", "if", "(", "final_sequence", ")", "{", "rtx_insn", "*", "delay", ";", "rtx", "pat", ";", "delay", "=", "NEXT_INSN", "(", "insn", ")", ";", "gcc_assert", "(", "delay", ")", ";", "pat", "=", "PATTERN", "(", "delay", ")", ";", "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", "output_restore", "(", "NULL_RTX", ")", ";", "}", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "a", "sibling", "call", "."], "TS_V_token": ["sparc", "1", "0", "\"sethi\\t%%hi(%a0), %%g1\\n\\tjmp\\t%%g1 + %%lo(%a0)%#\"", "\"or\\t%%o7, %%g0, %%g1\\n\\tcall\\t%a0, 0\\n\\t or\\t%%g1, %%g0, %%o7\"", "\"call\\t%a0, 0\"", "1", "0", "\"\""], "File": "sparc", "Func": "output_sibcall", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18557, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86FrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "FrameReg", ")", "const", "{", "const", "X86RegisterInfo", "*", "RegInfo", "=", "static_cast", "<", "const", "X86RegisterInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "FrameReg", "=", "(", "RegInfo", "->", "needsStackRealignment", "(", "MF", ")", ")", "?", "RegInfo", "->", "getStackRegister", "(", ")", ":", "RegInfo", "->", "getFrameRegister", "(", "MF", ")", ";", "return", "getFrameIndexOffset", "(", "MF", ",", "FI", ")", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86FrameLowering47", "Func": "getFrameIndexReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18558, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_gen_store_pair", "(", "machine_mode", "mode", ",", "rtx", "mem1", ",", "rtx", "reg1", ",", "rtx", "mem2", ",", "rtx", "reg2", ")", "{", "switch", "(", "mode", ")", "{", "case", "DImode", ":", "return", "gen_store_pairdi", "(", "mem1", ",", "reg1", ",", "mem2", ",", "reg2", ")", ";", "case", "DFmode", ":", "return", "gen_store_pairdf", "(", "mem1", ",", "reg1", ",", "mem2", ",", "reg2", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Generate", "and", "return", "a", "store", "pair", "instruction", "of", "mode", "MODE", "to", "store", "register", "REG1", "to", "MEM1", "and", "register", "REG2", "to", "MEM2", "."], "TS_V_token": ["aarch64"], "File": "aarch642", "Func": "aarch64_gen_store_pair", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18559, "Length": 63, "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": ["SystemZ"], "File": "SystemZRegisterInfo (2)", "Func": "trackLivenessAfterRegAlloc", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18560, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "indirect_thunk_name", "(", "char", "name", "[", "32", "]", ",", "unsigned", "int", "regno", ",", "enum", "indirect_thunk_prefix", "need_prefix", ",", "bool", "ret_p", ")", "{", "if", "(", "regno", "!=", "INVALID_REGNUM", "&&", "regno", "!=", "CX_REG", "&&", "ret_p", ")", "gcc_unreachable", "(", ")", ";", "if", "(", "USE_HIDDEN_LINKONCE", ")", "{", "const", "char", "*", "prefix", ";", "if", "(", "need_prefix", "==", "indirect_thunk_prefix_bnd", ")", "prefix", "=", "\"_bnd\"", ";", "else", "if", "(", "need_prefix", "==", "indirect_thunk_prefix_nt", "&&", "regno", "!=", "INVALID_REGNUM", ")", "{", "prefix", "=", "\"_nt\"", ";", "}", "else", "prefix", "=", "\"\"", ";", "const", "char", "*", "ret", "=", "ret_p", "?", "\"return\"", ":", "\"indirect\"", ";", "if", "(", "regno", "!=", "INVALID_REGNUM", ")", "{", "const", "char", "*", "reg_prefix", ";", "if", "(", "LEGACY_INT_REGNO_P", "(", "regno", ")", ")", "reg_prefix", "=", "TARGET_64BIT", "?", "\"r\"", ":", "\"e\"", ";", "else", "reg_prefix", "=", "\"\"", ";", "sprintf", "(", "name", ",", "\"__x86_%s_thunk%s_%s%s\"", ",", "ret", ",", "prefix", ",", "reg_prefix", ",", "reg_names", "[", "regno", "]", ")", ";", "}", "else", "sprintf", "(", "name", ",", "\"__x86_%s_thunk%s\"", ",", "ret", ",", "prefix", ")", ";", "}", "else", "{", "if", "(", "regno", "!=", "INVALID_REGNUM", ")", "{", "if", "(", "need_prefix", "==", "indirect_thunk_prefix_bnd", ")", "ASM_GENERATE_INTERNAL_LABEL", "(", "name", ",", "\"LITBR\"", ",", "regno", ")", ";", "else", "ASM_GENERATE_INTERNAL_LABEL", "(", "name", ",", "\"LITR\"", ",", "regno", ")", ";", "}", "else", "{", "if", "(", "ret_p", ")", "{", "if", "(", "need_prefix", "==", "indirect_thunk_prefix_bnd", ")", "ASM_GENERATE_INTERNAL_LABEL", "(", "name", ",", "\"LRTB\"", ",", "0", ")", ";", "else", "ASM_GENERATE_INTERNAL_LABEL", "(", "name", ",", "\"LRT\"", ",", "0", ")", ";", "}", "else", "{", "if", "(", "need_prefix", "==", "indirect_thunk_prefix_bnd", ")", "ASM_GENERATE_INTERNAL_LABEL", "(", "name", ",", "\"LITB\"", ",", "0", ")", ";", "else", "ASM_GENERATE_INTERNAL_LABEL", "(", "name", ",", "\"LIT\"", ",", "0", ")", ";", "}", "}", "}", "}", ""], "natrual_language": ["Fills", "in", "the", "label", "name", "that", "should", "be", "used", "for", "the", "indirect", "thunk", "."], "TS_V_token": ["i386", "32", "\"_bnd\"", "\"_nt\"", "\"\"", "\"return\"", "\"indirect\"", "\"r\"", "\"e\"", "\"\"", "\"__x86_%s_thunk%s_%s%s\"", "\"__x86_%s_thunk%s\"", "\"LITBR\"", "\"LITR\"", "\"LRTB\"", "0", "\"LRT\"", "0", "\"LITB\"", "0", "\"LIT\"", "0"], "File": "i3867", "Func": "indirect_thunk_name", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18561, "Length": 254, "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", "->", "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": "ARMBaseRegisterInfo27", "Func": "getCalleeSavedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18562, "Length": 229, "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": ["SystemZ"], "File": "SystemZAsmParser10", "Func": "getStartLoc", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18563, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "unsigned", "*", "SystemZRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "static", "const", "unsigned", "CalleeSavedRegs", "[", "]", "=", "{", "SystemZ", "::", "R6D", ",", "SystemZ", "::", "R7D", ",", "SystemZ", "::", "R8D", ",", "SystemZ", "::", "R9D", ",", "SystemZ", "::", "R10D", ",", "SystemZ", "::", "R11D", ",", "SystemZ", "::", "R12D", ",", "SystemZ", "::", "R13D", ",", "SystemZ", "::", "R14D", ",", "SystemZ", "::", "R15D", ",", "SystemZ", "::", "F8L", ",", "SystemZ", "::", "F9L", ",", "SystemZ", "::", "F10L", ",", "SystemZ", "::", "F11L", ",", "SystemZ", "::", "F12L", ",", "SystemZ", "::", "F13L", ",", "SystemZ", "::", "F14L", ",", "SystemZ", "::", "F15L", ",", "0", "}", ";", "return", "CalleeSavedRegs", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ::R6D", "SystemZ::R7D", "SystemZ::R8D", "SystemZ::R9D", "SystemZ::R10D", "SystemZ::R11D", "SystemZ::R12D", "SystemZ::R13D", "SystemZ::R14D", "SystemZ::R15D", "SystemZ::F8L", "SystemZ::F9L", "SystemZ::F10L", "SystemZ::F11L", "SystemZ::F12L", "SystemZ::F13L", "SystemZ::F14L", "SystemZ::F15L", "0"], "File": "SystemZRegisterInfo13", "Func": "getCalleeSavedRegs", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18564, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBlockPlacement", "::", "fixBackwardsWLS", "(", "MachineLoop", "*", "ML", ")", "{", "MachineInstr", "*", "WlsInstr", "=", "findWLS", "(", "ML", ")", ";", "if", "(", "!", "WlsInstr", ")", "return", "false", ";", "MachineBasicBlock", "*", "Predecessor", "=", "WlsInstr", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "*", "LoopExit", "=", "getWhileLoopStartTargetBB", "(", "*", "WlsInstr", ")", ";", "if", "(", "!", "LoopExit", "->", "getPrevNode", "(", ")", ")", "return", "false", ";", "if", "(", "blockIsBefore", "(", "Predecessor", ",", "LoopExit", ")", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "DEBUG_PREFIX", "<<", "\"Found a backwards WLS from \"", "<<", "Predecessor", "->", "getFullName", "(", ")", "<<", "\" to \"", "<<", "LoopExit", "->", "getFullName", "(", ")", "<<", "\"\\n\"", ")", ";", "for", "(", "auto", "It", "=", "++", "LoopExit", "->", "getIterator", "(", ")", ";", "It", "!=", "Predecessor", "->", "getIterator", "(", ")", ";", "++", "It", ")", "{", "MachineBasicBlock", "*", "MBB", "=", "&", "*", "It", ";", "for", "(", "auto", "&", "Terminator", ":", "MBB", "->", "terminators", "(", ")", ")", "{", "if", "(", "!", "isWhileLoopStart", "(", "Terminator", ")", ")", "continue", ";", "MachineBasicBlock", "*", "WLSTarget", "=", "getWhileLoopStartTargetBB", "(", "Terminator", ")", ";", "if", "(", "WLSTarget", "==", "Predecessor", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "DEBUG_PREFIX", "<<", "\"Can't move Predecessor\"", "\"block as it would convert a WLS from forward to a \"", "\"backwards branching WLS\\n\"", ")", ";", "return", "false", ";", "}", "}", "}", "moveBasicBlock", "(", "Predecessor", ",", "LoopExit", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Checks", "if", "loop", "has", "a", "backwards", "branching", "WLS", ",", "and", "if", "possible", ",", "fixes", "it", "."], "TS_V_token": ["ARM", "ARM", "\"Found a backwards WLS from \"", "\" to \"", "\"\\n\"", "\"Can't move Predecessor\"", "\"block as it would convert a WLS from forward to a \"", "\"backwards branching WLS\\n\""], "File": "ARMBlockPlacement", "Func": "fixBackwardsWLS", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18565, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0SEFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "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", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "Cpu0ABIInfo", "ABI", "=", "STI", ".", "getABI", "(", ")", ";", "unsigned", "SP", "=", "Cpu0", "::", "SP", ";", "unsigned", "FP", "=", "Cpu0", "::", "FP", ";", "unsigned", "ZERO", "=", "Cpu0", "::", "ZERO", ";", "unsigned", "ADDu", "=", "Cpu0", "::", "ADDu", ";", "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", "(", "Cpu0FI", "->", "callsEhReturn", "(", ")", ")", "{", "const", "TargetRegisterClass", "*", "RC", "=", "&", "Cpu0", "::", "GPROutRegClass", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MBBI", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "MFI", ".", "getCalleeSavedInfo", "(", ")", ".", "size", "(", ")", ";", "++", "i", ")", "--", "I", ";", "for", "(", "int", "J", "=", "0", ";", "J", "<", "ABI", ".", "EhDataRegSize", "(", ")", ";", "++", "J", ")", "{", "TII", ".", "loadRegFromStackSlot", "(", "MBB", ",", "I", ",", "ABI", ".", "GetEhDataReg", "(", "J", ")", ",", "Cpu0FI", "->", "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": ["Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0::SP", "Cpu0::FP", "Cpu0::ZERO", "Cpu0::ADDu", "0", "Cpu0", "Cpu0::GPROutRegClass", "0", "0", "Cpu0"], "File": "Cpu0SEFrameLowering", "Func": "emitEpilogue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18566, "Length": 334, "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", "(", ")", "||", "!", "STI", ".", "needsSwapsForVSXMemOps", "(", ")", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "initialize", "(", "MF", ")", ";", "if", "(", "gatherVectorInstructions", "(", ")", ")", "{", "formWebs", "(", ")", ";", "recordUnoptimizableWebs", "(", ")", ";", "markSwapsForRemoval", "(", ")", ";", "Changed", "=", "removeSwaps", "(", ")", ";", "}", "delete", "EC", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC", "PPC", "PPC"], "File": "PPCVSXSwapRemoval11", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18567, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCRegisterInfo", "::", "hasReservedSpillSlot", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Reg", ",", "int", "&", "FrameIdx", ")", "const", "{", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", "&&", "PPC", "::", "CR2", "<=", "Reg", "&&", "Reg", "<=", "PPC", "::", "CR4", ")", "{", "if", "(", "Subtarget", ".", "isPPC64", "(", ")", ")", "FrameIdx", "=", "0", ";", "else", "{", "const", "PPCFunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", ";", "FrameIdx", "=", "FI", "->", "getCRSpillFrameIndex", "(", ")", ";", "}", "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": ["PowerPC", "PPC", "PPC::CR2", "PPC::CR4", "PPC", "0", "PPC", "PPC"], "File": "PPCRegisterInfo (2)", "Func": "hasReservedSpillSlot", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18568, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "*", "iq2000_output_conditional_branch", "(", "rtx_insn", "*", "insn", ",", "rtx", "*", "operands", ",", "int", "two_operands_p", ",", "int", "float_p", ",", "int", "inverted_p", ",", "int", "length", ")", "{", "static", "char", "buffer", "[", "200", "]", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "operands", "[", "0", "]", ")", ";", "int", "need_z_p", ";", "const", "char", "*", "op1", "=", "\"%z2\"", ";", "const", "char", "*", "op2", "=", "(", "two_operands_p", "?", "\",%z3\"", ":", "\",%.\"", ")", ";", "const", "char", "*", "comp", "=", "(", "float_p", "?", "\"%F0\"", ":", "\"%C0\"", ")", ";", "const", "char", "*", "inverted_comp", "=", "(", "float_p", "?", "\"%W0\"", ":", "\"%N0\"", ")", ";", "iq2000_branch_likely", "=", "(", "final_sequence", "&&", "INSN_ANNULLED_BRANCH_P", "(", "insn", ")", ")", ";", "if", "(", "!", "two_operands_p", ")", "{", "switch", "(", "code", ")", "{", "case", "GTU", ":", "code", "=", "NE", ";", "break", ";", "case", "LEU", ":", "code", "=", "EQ", ";", "break", ";", "case", "GEU", ":", "code", "=", "EQ", ";", "op1", "=", "\"%.\"", ";", "break", ";", "case", "LTU", ":", "code", "=", "NE", ";", "op1", "=", "\"%.\"", ";", "break", ";", "default", ":", "break", ";", "}", "}", "need_z_p", "=", "(", "!", "float_p", "&&", "code", "!=", "EQ", "&&", "code", "!=", "NE", ")", ";", "if", "(", "need_z_p", ")", "op2", "=", "\"\"", ";", "buffer", "[", "0", "]", "=", "'\\0'", ";", "switch", "(", "length", ")", "{", "case", "4", ":", "case", "8", ":", "if", "(", "float_p", ")", "sprintf", "(", "buffer", ",", "\"b%s%%?\\t%%Z2%%1\"", ",", "inverted_p", "?", "inverted_comp", ":", "comp", ")", ";", "else", "sprintf", "(", "buffer", ",", "\"b%s%s%%?\\t%s%s,%%1\"", ",", "inverted_p", "?", "inverted_comp", ":", "comp", ",", "need_z_p", "?", "\"z\"", ":", "\"\"", ",", "op1", ",", "op2", ")", ";", "return", "buffer", ";", "case", "12", ":", "case", "16", ":", "{", "const", "char", "*", "target", "=", "(", "(", "iq2000_branch_likely", "||", "length", "==", "16", ")", "?", "\".+16\"", ":", "\".+12\"", ")", ";", "char", "*", "c", ";", "c", "=", "strchr", "(", "buffer", ",", "'\\0'", ")", ";", "if", "(", "float_p", ")", "sprintf", "(", "c", ",", "\"b%s\\t%%Z2%s\"", ",", "inverted_p", "?", "comp", ":", "inverted_comp", ",", "target", ")", ";", "else", "sprintf", "(", "c", ",", "\"b%s%s\\t%s%s,%s\"", ",", "inverted_p", "?", "comp", ":", "inverted_comp", ",", "need_z_p", "?", "\"z\"", ":", "\"\"", ",", "op1", ",", "op2", ",", "target", ")", ";", "strcat", "(", "c", ",", "\"\\n\\tnop\\n\\tj\\t%1\"", ")", ";", "if", "(", "length", "==", "16", ")", "strcat", "(", "buffer", ",", "\"\\n\\tnop\"", ")", ";", "return", "buffer", ";", "}", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Output", "assembly", "instructions", "to", "perform", "a", "conditional", "branch", ".", "INSN", "is", "the", "branch", "instruction", ".", "OPERANDS", "[", "0", "]", "is", "the", "condition", ".", "OPERANDS", "[", "1", "]", "is", "the", "target", "of", "the", "branch", ".", "OPERANDS", "[", "2", "]", "is", "the", "target", "of", "the", "first", "operand", "to", "the", "condition", ".", "If", "TWO_OPERANDS_P", "is", "nonzero", "the", "comparison", "takes", "two", "operands", ";", "OPERANDS", "[", "3", "]", "will", "be", "the", "second", "operand", ".", "If", "INVERTED_P", "is", "nonzero", "we", "are", "to", "branch", "if", "the", "condition", "does", "not", "hold", ".", "If", "FLOAT_P", "is", "nonzero", "this", "is", "a", "floating-point", "comparison", ".", "LENGTH", "is", "the", "length", "(", "in", "bytes", ")", "of", "the", "sequence", "we", "are", "to", "generate", ".", "That", "tells", "us", "whether", "to", "generate", "a", "simple", "conditional", "branch", ",", "or", "a", "reversed", "conditional", "branch", "around", "a", "`", "jr", "'", "instruction", "."], "TS_V_token": ["iq2000", "200", "0", "\"%z2\"", "\",%z3\"", "\",%.\"", "\"%F0\"", "\"%C0\"", "\"%W0\"", "\"%N0\"", "\"%.\"", "\"%.\"", "\"\"", "0", "4", "8", "\"b%s%%?\\t%%Z2%%1\"", "\"b%s%s%%?\\t%s%s,%%1\"", "\"z\"", "\"\"", "12", "16", "16", "\".+16\"", "\".+12\"", "\"b%s\\t%%Z2%s\"", "\"b%s%s\\t%s%s,%s\"", "\"z\"", "\"\"", "\"\\n\\tnop\\n\\tj\\t%1\"", "16", "\"\\n\\tnop\"", "0"], "File": "iq2000", "Func": "iq2000_output_conditional_branch", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18569, "Length": 369, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_force_address", "(", "rtx", "x", ",", "machine_mode", "mode", ")", "{", "if", "(", "!", "mips_legitimate_address_p", "(", "mode", ",", "x", ",", "false", ")", ")", "x", "=", "force_reg", "(", "Pmode", ",", "x", ")", ";", "return", "x", ";", "}", ""], "natrual_language": ["If", "X", "is", "not", "a", "valid", "address", "for", "mode", "MODE", ",", "force", "it", "into", "a", "register", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_force_address", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18570, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "PPCTargetLowering", "::", "getSDagStackGuard", "(", "const", "Module", "&", "M", ")", "const", "{", "if", "(", "Subtarget", ".", "isAIXABI", "(", ")", ")", "return", "M", ".", "getGlobalVariable", "(", "AIXSSPCanaryWordName", ")", ";", "return", "TargetLowering", "::", "getSDagStackGuard", "(", "M", ")", ";", "}", ""], "natrual_language": ["Return", "the", "variable", "that", "'s", "previously", "inserted", "by", "insertSSPDeclarations", ",", "if", "any", ",", "otherwise", "return", "nullptr", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCISelLowering109", "Func": "getSDagStackGuard", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18571, "Length": 38, "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", "::", "tGPRRegClass", "||", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "SrcReg", ")", "&&", "isARMLowRegister", "(", "SrcReg", ")", ")", ")", "&&", "\"Unknown regclass!\"", ")", ";", "if", "(", "RC", "==", "&", "ARM", "::", "tGPRRegClass", "||", "(", "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", "(", "MF", ",", "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::tGPRRegClass", "ARM", "\"Unknown regclass!\"", "ARM::tGPRRegClass", "ARM", "ARM::tSTRspi", "0"], "File": "Thumb1InstrInfo30", "Func": "storeRegToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18572, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "CanLowerReturn", "(", "CallingConv", "::", "ID", "CallConv", ",", "MachineFunction", "&", "MF", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "LLVMContext", "&", "Context", ")", "const", "{", "CCAssignFn", "*", "RetCC", "=", "CallConv", "==", "CallingConv", "::", "WebKit_JS", "?", "RetCC_AArch64_WebKit_JS", ":", "RetCC_AArch64_AAPCS", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "MF", ",", "RVLocs", ",", "Context", ")", ";", "return", "CCInfo", ".", "CheckReturn", "(", "Outs", ",", "RetCC", ")", ";", "}", ""], "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": ["AArch64", "AArch64", "ISD::OutputArg", "AArch64", "AArch64", "16"], "File": "AArch64ISelLowering (2)", "Func": "CanLowerReturn", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18573, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLoweringBase", "::", "AtomicRMWExpansionKind", "AArch64TargetLowering", "::", "shouldExpandAtomicRMWInIR", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "unsigned", "Size", "=", "AI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "return", "Size", "<=", "128", "?", "AtomicRMWExpansionKind", "::", "LLSC", ":", "AtomicRMWExpansionKind", "::", "None", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "IR-level", "AtomicExpand", "pass", "should", "expand", "the", "given", "AtomicRMW", ",", "if", "at", "all", "."], "TS_V_token": ["AArch64", "AArch64", "128"], "File": "AArch64ISelLowering116", "Func": "shouldExpandAtomicRMWInIR", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18574, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ia32_multipass_dfa_lookahead", "(", "void", ")", "{", "switch", "(", "ix86_tune", ")", "{", "case", "PROCESSOR_PENTIUM", ":", "case", "PROCESSOR_LAKEMONT", ":", "return", "2", ";", "case", "PROCESSOR_PENTIUMPRO", ":", "case", "PROCESSOR_K6", ":", "return", "1", ";", "case", "PROCESSOR_BDVER1", ":", "case", "PROCESSOR_BDVER2", ":", "case", "PROCESSOR_BDVER3", ":", "case", "PROCESSOR_BDVER4", ":", "return", "4", ";", "case", "PROCESSOR_CORE2", ":", "case", "PROCESSOR_NEHALEM", ":", "case", "PROCESSOR_SANDYBRIDGE", ":", "case", "PROCESSOR_HASWELL", ":", "case", "PROCESSOR_BONNELL", ":", "case", "PROCESSOR_SILVERMONT", ":", "case", "PROCESSOR_KNL", ":", "case", "PROCESSOR_INTEL", ":", "if", "(", "reload_completed", ")", "return", "ix86_issue_rate", "(", ")", ";", "return", "0", ";", "default", ":", "return", "0", ";", "}", "}", ""], "natrual_language": ["How", "many", "alternative", "schedules", "to", "try", ".", "This", "should", "be", "as", "wide", "as", "the", "scheduling", "freedom", "in", "the", "DFA", ",", "but", "no", "wider", ".", "Making", "this", "value", "too", "large", "results", "extra", "work", "for", "the", "scheduler", "."], "TS_V_token": ["i386", "2", "1", "4", "0", "0"], "File": "i3865", "Func": "ia32_multipass_dfa_lookahead", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18575, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "getIntImmCostInst", "(", "unsigned", "Opc", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ",", "Instruction", "*", "Inst", "=", "nullptr", ")", "{", "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": ["Lanai"], "File": "LanaiTargetTransformInfo16", "Func": "getIntImmCostInst", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18576, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "rs6000_trampoline_size", "(", "void", ")", "{", "int", "ret", "=", "0", ";", "switch", "(", "DEFAULT_ABI", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "ABI_AIX", ":", "ret", "=", "(", "TARGET_32BIT", ")", "?", "12", ":", "24", ";", "break", ";", "case", "ABI_ELFv2", ":", "gcc_assert", "(", "!", "TARGET_32BIT", ")", ";", "ret", "=", "32", ";", "break", ";", "case", "ABI_DARWIN", ":", "case", "ABI_V4", ":", "ret", "=", "(", "TARGET_32BIT", ")", "?", "40", ":", "48", ";", "break", ";", "}", "return", "ret", ";", "}", ""], "natrual_language": ["Length", "in", "units", "of", "the", "trampoline", "for", "entering", "a", "nested", "function", "."], "TS_V_token": ["powerpcspe", "0", "12", "24", "32", "40", "48"], "File": "powerpcspe", "Func": "rs6000_trampoline_size", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18577, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "divmod_p", "(", "rtx_insn", "*", "insn", ")", "{", "gcc_assert", "(", "get_attr_type", "(", "insn", ")", "==", "TYPE_DIV", ")", ";", "if", "(", "INSN_CODE", "(", "insn", ")", "==", "CODE_FOR_divmodsi4", "||", "INSN_CODE", "(", "insn", ")", "==", "CODE_FOR_udivmodsi4", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Check", "if", "the", "DIV", "insn", "needs", "two", "write", "ports", "."], "TS_V_token": ["nds32"], "File": "nds32-utils", "Func": "divmod_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18578, "Length": 41, "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": "Mips16ISelDAGToDAG6", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18579, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_load_locked", "(", "enum", "machine_mode", "mode", ",", "rtx", "reg", ",", "rtx", "mem", ")", "{", "rtx", "(", "*", "fn", ")", "(", "rtx", ",", "rtx", ")", "=", "NULL", ";", "if", "(", "mode", "==", "SImode", ")", "fn", "=", "gen_load_locked_si", ";", "else", "if", "(", "mode", "==", "DImode", ")", "fn", "=", "gen_load_locked_di", ";", "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": "rs60003", "Func": "emit_load_locked", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18580, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "rs6000_starting_frame_offset", "(", "void", ")", "{", "if", "(", "FRAME_GROWS_DOWNWARD", ")", "return", "0", ";", "return", "RS6000_STARTING_FRAME_OFFSET", ";", "}", ""], "natrual_language": ["Implement", "TARGET_STARTING_FRAME_OFFSET", "."], "TS_V_token": ["powerpcspe", "0"], "File": "powerpcspe", "Func": "rs6000_starting_frame_offset", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18581, "Length": 18, "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": ["rs6000", "64", "32", "0", "0", "0", "\"\\t.extern %s\\n\"", "0", "0", "0", "\"\\t.extern %s\\n\""], "File": "rs60004", "Func": "rs6000_output_savres_externs", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18582, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "MINA32", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["MINA32", "MINA32::NumTargetFixupKinds"], "File": "MINA32AsmBackend", "Func": "getNumFixupKinds", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18583, "Length": 13, "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", "(", "!", "host_integerp", "(", "arg", ",", "1", ")", "||", "(", "elt", "=", "tree_low_cst", "(", "arg", ",", "1", ")", ",", "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", "1", "1", "\"selector must be an integer constant in the range 0..%wi\"", "0"], "File": "rs60003", "Func": "get_element_number", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18584, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ARMTTIImpl", "::", "getNumMemOps", "(", "const", "IntrinsicInst", "*", "I", ")", "const", "{", "MemOp", "MOp", ";", "unsigned", "DstAddrSpace", "=", "~", "0u", ";", "unsigned", "SrcAddrSpace", "=", "~", "0u", ";", "const", "Function", "*", "F", "=", "I", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "if", "(", "const", "auto", "*", "MC", "=", "dyn_cast", "<", "MemTransferInst", ">", "(", "I", ")", ")", "{", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "MC", "->", "getLength", "(", ")", ")", ";", "if", "(", "!", "C", ")", "return", "-", "1", ";", "const", "unsigned", "Size", "=", "C", "->", "getValue", "(", ")", ".", "getZExtValue", "(", ")", ";", "const", "Align", "DstAlign", "=", "*", "MC", "->", "getDestAlign", "(", ")", ";", "const", "Align", "SrcAlign", "=", "*", "MC", "->", "getSourceAlign", "(", ")", ";", "MOp", "=", "MemOp", "::", "Copy", "(", "Size", ",", "false", ",", "DstAlign", ",", "SrcAlign", ",", "false", ",", "false", ")", ";", "DstAddrSpace", "=", "MC", "->", "getDestAddressSpace", "(", ")", ";", "SrcAddrSpace", "=", "MC", "->", "getSourceAddressSpace", "(", ")", ";", "}", "else", "if", "(", "const", "auto", "*", "MS", "=", "dyn_cast", "<", "MemSetInst", ">", "(", "I", ")", ")", "{", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "MS", "->", "getLength", "(", ")", ")", ";", "if", "(", "!", "C", ")", "return", "-", "1", ";", "const", "unsigned", "Size", "=", "C", "->", "getValue", "(", ")", ".", "getZExtValue", "(", ")", ";", "const", "Align", "DstAlign", "=", "*", "MS", "->", "getDestAlign", "(", ")", ";", "MOp", "=", "MemOp", "::", "Set", "(", "Size", ",", "false", ",", "DstAlign", ",", "false", ",", "false", ")", ";", "DstAddrSpace", "=", "MS", "->", "getDestAddressSpace", "(", ")", ";", "}", "else", "llvm_unreachable", "(", "\"Expected a memcpy/move or memset!\"", ")", ";", "unsigned", "Limit", ",", "Factor", "=", "2", ";", "switch", "(", "I", "->", "getIntrinsicID", "(", ")", ")", "{", "case", "Intrinsic", "::", "memcpy", ":", "Limit", "=", "TLI", "->", "getMaxStoresPerMemcpy", "(", "F", "->", "hasMinSize", "(", ")", ")", ";", "break", ";", "case", "Intrinsic", "::", "memmove", ":", "Limit", "=", "TLI", "->", "getMaxStoresPerMemmove", "(", "F", "->", "hasMinSize", "(", ")", ")", ";", "break", ";", "case", "Intrinsic", "::", "memset", ":", "Limit", "=", "TLI", "->", "getMaxStoresPerMemset", "(", "F", "->", "hasMinSize", "(", ")", ")", ";", "Factor", "=", "1", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Expected a memcpy/move or memset!\"", ")", ";", "}", "std", "::", "vector", "<", "EVT", ">", "MemOps", ";", "if", "(", "getTLI", "(", ")", "->", "findOptimalMemOpLowering", "(", "MemOps", ",", "Limit", ",", "MOp", ",", "DstAddrSpace", ",", "SrcAddrSpace", ",", "F", "->", "getAttributes", "(", ")", ")", ")", "return", "MemOps", ".", "size", "(", ")", "*", "Factor", ";", "return", "-", "1", ";", "}", ""], "natrual_language": ["Given", "a", "memcpy/memset/memmove", "instruction", ",", "return", "the", "number", "of", "memory", "operations", "performed", ",", "via", "querying", "findOptimalMemOpLowering", "."], "TS_V_token": ["ARM", "ARM", "0u", "0u", "1", "1", "\"Expected a memcpy/move or memset!\"", "2", "Intrinsic::memcpy", "Intrinsic::memmove", "Intrinsic::memset", "1", "\"Expected a memcpy/move or memset!\"", "1"], "File": "ARMTargetTransformInfo41", "Func": "getNumMemOps", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18585, "Length": 389, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isTruncateFree", "(", "EVT", "VT1", ",", "EVT", "VT2", ")", "const", "{", "if", "(", "VT1", ".", "isVector", "(", ")", "||", "VT2", ".", "isVector", "(", ")", "||", "!", "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": ["AArch64", "AArch64"], "File": "AArch64ISelLowering (2)", "Func": "isTruncateFree", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18586, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86Subtarget", "::", "X86Subtarget", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "TuneCPU", ",", "StringRef", "FS", ",", "const", "X86TargetMachine", "&", "TM", ",", "MaybeAlign", "StackAlignOverride", ",", "unsigned", "PreferVectorWidthOverride", ",", "unsigned", "RequiredVectorWidth", ")", ":", "X86GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "TuneCPU", ",", "FS", ")", ",", "PICStyle", "(", "PICStyles", "::", "Style", "::", "None", ")", ",", "TM", "(", "TM", ")", ",", "TargetTriple", "(", "TT", ")", ",", "StackAlignOverride", "(", "StackAlignOverride", ")", ",", "PreferVectorWidthOverride", "(", "PreferVectorWidthOverride", ")", ",", "RequiredVectorWidth", "(", "RequiredVectorWidth", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "CPU", ",", "TuneCPU", ",", "FS", ")", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", ",", "FrameLowering", "(", "*", "this", ",", "getStackAlignment", "(", ")", ")", "{", "if", "(", "!", "isPositionIndependent", "(", ")", ")", "setPICStyle", "(", "PICStyles", "::", "Style", "::", "None", ")", ";", "else", "if", "(", "is64Bit", "(", ")", ")", "setPICStyle", "(", "PICStyles", "::", "Style", "::", "RIPRel", ")", ";", "else", "if", "(", "isTargetCOFF", "(", ")", ")", "setPICStyle", "(", "PICStyles", "::", "Style", "::", "None", ")", ";", "else", "if", "(", "isTargetDarwin", "(", ")", ")", "setPICStyle", "(", "PICStyles", "::", "Style", "::", "StubPIC", ")", ";", "else", "if", "(", "isTargetELF", "(", ")", ")", "setPICStyle", "(", "PICStyles", "::", "Style", "::", "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": "X86Subtarget3", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18587, "Length": 253, "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": 18588, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "F2003fRegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "return", "&", "F2003f", "::", "RegRegClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["F2003f", "F2003f", "F2003f::RegRegClass"], "File": "F2003fRegisterInfo", "Func": "getPointerRegClass", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18589, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "lowerInterleavedLoad", "(", "LoadInst", "*", "LI", ",", "ArrayRef", "<", "ShuffleVectorInst", "*", ">", "Shuffles", ",", "ArrayRef", "<", "unsigned", ">", "Indices", ",", "unsigned", "Factor", ")", "const", "{", "assert", "(", "Factor", ">=", "2", "&&", "Factor", "<=", "getMaxSupportedInterleaveFactor", "(", ")", "&&", "\"Invalid interleave factor\"", ")", ";", "assert", "(", "!", "Shuffles", ".", "empty", "(", ")", "&&", "\"Empty shufflevector input\"", ")", ";", "assert", "(", "Shuffles", ".", "size", "(", ")", "==", "Indices", ".", "size", "(", ")", "&&", "\"Unmatched number of shufflevectors and indices\"", ")", ";", "VectorType", "*", "VecTy", "=", "Shuffles", "[", "0", "]", "->", "getType", "(", ")", ";", "Type", "*", "EltTy", "=", "VecTy", "->", "getVectorElementType", "(", ")", ";", "const", "DataLayout", "&", "DL", "=", "LI", "->", "getModule", "(", ")", "->", "getDataLayout", "(", ")", ";", "unsigned", "VecSize", "=", "DL", ".", "getTypeSizeInBits", "(", "VecTy", ")", ";", "bool", "EltIs64Bits", "=", "DL", ".", "getTypeSizeInBits", "(", "EltTy", ")", "==", "64", ";", "if", "(", "!", "Subtarget", "->", "hasNEON", "(", ")", "||", "(", "VecSize", "!=", "64", "&&", "VecSize", "!=", "128", ")", "||", "EltIs64Bits", ")", "return", "false", ";", "if", "(", "EltTy", "->", "isPointerTy", "(", ")", ")", "VecTy", "=", "VectorType", "::", "get", "(", "DL", ".", "getIntPtrType", "(", "EltTy", ")", ",", "VecTy", "->", "getVectorNumElements", "(", ")", ")", ";", "static", "const", "Intrinsic", "::", "ID", "LoadInts", "[", "3", "]", "=", "{", "Intrinsic", "::", "arm_neon_vld2", ",", "Intrinsic", "::", "arm_neon_vld3", ",", "Intrinsic", "::", "arm_neon_vld4", "}", ";", "IRBuilder", "<", ">", "Builder", "(", "LI", ")", ";", "SmallVector", "<", "Value", "*", ",", "2", ">", "Ops", ";", "Type", "*", "Int8Ptr", "=", "Builder", ".", "getInt8PtrTy", "(", "LI", "->", "getPointerAddressSpace", "(", ")", ")", ";", "Ops", ".", "push_back", "(", "Builder", ".", "CreateBitCast", "(", "LI", "->", "getPointerOperand", "(", ")", ",", "Int8Ptr", ")", ")", ";", "Ops", ".", "push_back", "(", "Builder", ".", "getInt32", "(", "LI", "->", "getAlignment", "(", ")", ")", ")", ";", "Type", "*", "Tys", "[", "]", "=", "{", "VecTy", ",", "Int8Ptr", "}", ";", "Function", "*", "VldnFunc", "=", "Intrinsic", "::", "getDeclaration", "(", "LI", "->", "getModule", "(", ")", ",", "LoadInts", "[", "Factor", "-", "2", "]", ",", "Tys", ")", ";", "CallInst", "*", "VldN", "=", "Builder", ".", "CreateCall", "(", "VldnFunc", ",", "Ops", ",", "\"vldN\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Shuffles", ".", "size", "(", ")", ";", "i", "++", ")", "{", "ShuffleVectorInst", "*", "SV", "=", "Shuffles", "[", "i", "]", ";", "unsigned", "Index", "=", "Indices", "[", "i", "]", ";", "Value", "*", "SubVec", "=", "Builder", ".", "CreateExtractValue", "(", "VldN", ",", "Index", ")", ";", "if", "(", "EltTy", "->", "isPointerTy", "(", ")", ")", "SubVec", "=", "Builder", ".", "CreateIntToPtr", "(", "SubVec", ",", "SV", "->", "getType", "(", ")", ")", ";", "SV", "->", "replaceAllUsesWith", "(", "SubVec", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Lower", "interleaved", "load", "(", "s", ")", "into", "target", "specific", "instructions/intrinsics", "."], "TS_V_token": ["ARM", "ARM", "2", "\"Invalid interleave factor\"", "\"Empty shufflevector input\"", "\"Unmatched number of shufflevectors and indices\"", "0", "64", "64", "128", "Intrinsic::ID", "3", "Intrinsic::arm_neon_vld2", "Intrinsic::arm_neon_vld3", "Intrinsic::arm_neon_vld4", "2", "Intrinsic::getDeclaration", "2", "\"vldN\"", "0"], "File": "ARMISelLowering (2)2", "Func": "lowerInterleavedLoad", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18590, "Length": 408, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SICMCCodeEmitter", "::", "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": ["SIC", "SIC", "32"], "File": "SICMCCodeEmitter", "Func": "getMachineOpValue", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18591, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsCodeEmitter", "::", "emitInstruction", "(", "const", "MachineInstr", "&", "MI", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"JIT: \"", "<<", "(", "void", "*", ")", "MCE", ".", "getCurrentPCValue", "(", ")", "<<", "\":\\t\"", "<<", "MI", ")", ";", "MCE", ".", "processDebugLoc", "(", "MI", ".", "getDebugLoc", "(", ")", ",", "true", ")", ";", "if", "(", "(", "MI", ".", "getDesc", "(", ")", ".", "TSFlags", "&", "MipsII", "::", "FormMask", ")", "==", "MipsII", "::", "Pseudo", ")", "return", ";", "emitWord", "(", "getBinaryCodeForInstr", "(", "MI", ")", ")", ";", "++", "NumEmitted", ";", "MCE", ".", "processDebugLoc", "(", "MI", ".", "getDebugLoc", "(", ")", ",", "false", ")", ";", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["Mips", "Mips", "\"JIT: \"", "\":\\t\"", "MipsII::FormMask", "MipsII::Pseudo"], "File": "MipsCodeEmitter10", "Func": "emitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18592, "Length": 94, "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": 18593, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "VEFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "if", "(", "isLeafProc", "(", "MF", ")", ")", "{", "VEMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "VEMachineFunctionInfo", ">", "(", ")", ";", "MFI", "->", "setLeafProc", "(", "true", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["VE", "VE", "VE", "VE"], "File": "VEFrameLowering", "Func": "determineCalleeSaves", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18594, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"ARM64 Conditional Compares\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM64", "\"ARM64 Conditional Compares\""], "File": "ARM64ConditionalCompares", "Func": "getPassName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18595, "Length": 12, "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": 18596, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "arm_handle_notshared_attribute", "(", "tree", "*", "node", ",", "tree", "name", "ATTRIBUTE_UNUSED", ",", "tree", "args", "ATTRIBUTE_UNUSED", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add_attrs", ")", "{", "tree", "decl", "=", "TYPE_NAME", "(", "*", "node", ")", ";", "if", "(", "decl", ")", "{", "DECL_VISIBILITY", "(", "decl", ")", "=", "VISIBILITY_HIDDEN", ";", "DECL_VISIBILITY_SPECIFIED", "(", "decl", ")", "=", "1", ";", "*", "no_add_attrs", "=", "false", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "the", "``", "notshared", "''", "attribute", ".", "This", "attribute", "is", "another", "way", "of", "requesting", "hidden", "visibility", ".", "ARM", "'s", "compiler", "supports", "``", "__declspec", "(", "notshared", ")", "''", ";", "we", "support", "the", "same", "thing", "via", "an", "attribute", "."], "TS_V_token": ["arm", "1"], "File": "arm", "Func": "arm_handle_notshared_attribute", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18597, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 vzeroupper inserter\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 vzeroupper inserter\""], "File": "X86VZeroUpper (2)2", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18598, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "ix86_handle_selectany_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", "ATTRIBUTE_UNUSED", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add_attrs", ")", "{", "if", "(", "TREE_CODE", "(", "*", "node", ")", "==", "VAR_DECL", "&&", "TREE_PUBLIC", "(", "*", "node", ")", "&&", "(", "DECL_INITIAL", "(", "*", "node", ")", "||", "TYPE_NEEDS_CONSTRUCTING", "(", "TREE_TYPE", "(", "*", "node", ")", ")", ")", ")", "make_decl_one_only", "(", "*", "node", ")", ";", "else", "{", "error", "(", "\"%qs attribute applies only to initialized variables\"", "\" with external linkage\"", ",", "IDENTIFIER_POINTER", "(", "name", ")", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "a", "``", "selectany", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["i386", "\"%qs attribute applies only to initialized variables\"", "\" with external linkage\""], "File": "winnt3", "Func": "ix86_handle_selectany_attribute", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18599, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleDAGInstrs", "*", "createPostMachineScheduler", "(", "MachineSchedContext", "*", "C", ")", "const", "override", "{", "return", "new", "ScheduleDAGMI", "(", "C", ",", "llvm", "::", "make_unique", "<", "SystemZPostRASchedStrategy", ">", "(", "C", ")", ",", "true", ")", ";", "}", ""], "natrual_language": ["Similar", "to", "createMachineScheduler", "but", "used", "when", "postRA", "machine", "scheduling", "is", "enabled", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZTargetMachine10", "Func": "createPostMachineScheduler", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18600, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64TTIImpl", "::", "getCacheLineSize", "(", ")", "{", "return", "ST", "->", "getCacheLineSize", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "target", "cache", "line", "size", "in", "bytes", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64TargetTransformInfo10", "Func": "getCacheLineSize", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18601, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "SMShadowTracker", ".", "startFunction", "(", "MF", ")", ";", "CodeEmitter", ".", "reset", "(", "TM", ".", "getTarget", "(", ")", ".", "createMCCodeEmitter", "(", "*", "Subtarget", "->", "getInstrInfo", "(", ")", ",", "*", "Subtarget", "->", "getRegisterInfo", "(", ")", ",", "MF", ".", "getContext", "(", ")", ")", ")", ";", "EmitFPOData", "=", "Subtarget", "->", "isTargetWin32", "(", ")", "&&", "MF", ".", "getMMI", "(", ")", ".", "getModule", "(", ")", "->", "getCodeViewFlag", "(", ")", ";", "SetupMachineFunction", "(", "MF", ")", ";", "if", "(", "Subtarget", "->", "isTargetCOFF", "(", ")", ")", "{", "bool", "Local", "=", "MF", ".", "getFunction", "(", ")", ".", "hasLocalLinkage", "(", ")", ";", "OutStreamer", "->", "BeginCOFFSymbolDef", "(", "CurrentFnSym", ")", ";", "OutStreamer", "->", "EmitCOFFSymbolStorageClass", "(", "Local", "?", "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", "(", ")", ";", "emitXRayTable", "(", ")", ";", "EmitFPOData", "=", "false", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86AsmPrinter10", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18602, "Length": 170, "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", "(", "mode", "==", "BLKmode", ")", "bytes", "=", "int_size_in_bytes", "(", "type", ")", ";", "else", "bytes", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "words", "=", "(", "bytes", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "if", "(", "type", ")", "mode", "=", "type_natural_mode", "(", "type", ",", "NULL", ",", "false", ")", ";", "if", "(", "(", "type", "&&", "POINTER_BOUNDS_TYPE_P", "(", "type", ")", ")", "||", "POINTER_BOUNDS_MODE_P", "(", "mode", ")", ")", "{", "if", "(", "cum", "->", "bnds_in_bt", ")", "{", "cum", "->", "bnds_in_bt", "--", ";", "return", ";", "}", "if", "(", "cum", "->", "force_bnd_pass", ")", "cum", "->", "force_bnd_pass", "--", ";", "cum", "->", "bnd_regno", "++", ";", "return", ";", "}", "cum", "->", "bnds_in_bt", "=", "0", ";", "if", "(", "cum", "->", "force_bnd_pass", ")", "{", "cum", "->", "bnd_regno", "+=", "cum", "->", "force_bnd_pass", ";", "cum", "->", "force_bnd_pass", "=", "0", ";", "}", "if", "(", "TARGET_64BIT", "&&", "(", "cum", "?", "cum", "->", "call_abi", ":", "ix86_abi", ")", "==", "MS_ABI", ")", "nregs", "=", "function_arg_advance_ms_64", "(", "cum", ",", "bytes", ",", "words", ")", ";", "else", "if", "(", "TARGET_64BIT", ")", "nregs", "=", "function_arg_advance_64", "(", "cum", ",", "mode", ",", "type", ",", "words", ",", "named", ")", ";", "else", "nregs", "=", "function_arg_advance_32", "(", "cum", ",", "mode", ",", "type", ",", "bytes", ",", "words", ")", ";", "if", "(", "cum", "->", "stdarg", ")", "cum", "->", "force_bnd_pass", "=", "nregs", ";", "if", "(", "!", "nregs", ")", "cum", "->", "bnds_in_bt", "=", "chkp_type_bounds_count", "(", "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": ["i386", "1", "0", "0"], "File": "i3864", "Func": "ix86_function_arg_advance", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18603, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "UPTInstrInfo", "::", "analyzeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "&", "TBB", ",", "MachineBasicBlock", "*", "&", "FBB", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "bool", "AllowModify", ")", "const", "{", "bool", "HasCondBranch", "=", "false", ";", "TBB", "=", "nullptr", ";", "FBB", "=", "nullptr", ";", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "UPT", "::", "JMP", ")", "{", "MachineBasicBlock", "*", "TargetBB", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "if", "(", "HasCondBranch", ")", "{", "FBB", "=", "TargetBB", ";", "}", "else", "{", "TBB", "=", "TargetBB", ";", "}", "}", "else", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "UPT", "::", "Bcc", ")", "{", "MachineBasicBlock", "*", "TargetBB", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getMBB", "(", ")", ";", "TBB", "=", "TargetBB", ";", "Cond", ".", "push_back", "(", "MI", ".", "getOperand", "(", "0", ")", ")", ";", "HasCondBranch", "=", "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": ["UPT", "UPT", "UPT::JMP", "0", "UPT::Bcc", "1", "0"], "File": "UPTInstrInfo", "Func": "analyzeBranch", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18604, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isProfitableToUnpredicate", "(", "MachineBasicBlock", "&", "TMBB", ",", "MachineBasicBlock", "&", "FMBB", ")", "const", "{", "return", "Subtarget", ".", "isSwift", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "'s", "profitable", "to", "unpredicate", "one", "side", "of", "a", "'diamond", "'", ",", "i.e", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMBaseInstrInfo (2)", "Func": "isProfitableToUnpredicate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18605, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rename_single_chain", "(", "du_head_p", "head", ",", "HARD_REG_SET", "*", "unavailable", ")", "{", "int", "best_new_reg", ";", "int", "n_uses", "=", "0", ";", "struct", "du_chain", "*", "tmp", ";", "int", "reg", "=", "head", "->", "regno", ";", "enum", "reg_class", "super_class", "=", "NO_REGS", ";", "if", "(", "head", "->", "cannot_rename", ")", "return", "false", ";", "if", "(", "fixed_regs", "[", "reg", "]", "||", "global_regs", "[", "reg", "]", "||", "(", "frame_pointer_needed", "&&", "reg", "==", "HARD_FRAME_POINTER_REGNUM", ")", ")", "return", "false", ";", "for", "(", "tmp", "=", "head", "->", "first", ";", "tmp", ";", "tmp", "=", "tmp", "->", "next_use", ")", "{", "if", "(", "DEBUG_INSN_P", "(", "tmp", "->", "insn", ")", ")", "continue", ";", "n_uses", "++", ";", "*", "unavailable", "|=", "~", "reg_class_contents", "[", "tmp", "->", "cl", "]", ";", "super_class", "=", "reg_class_superunion", "[", "(", "int", ")", "super_class", "]", "[", "(", "int", ")", "tmp", "->", "cl", "]", ";", "}", "if", "(", "n_uses", "<", "1", ")", "return", "false", ";", "best_new_reg", "=", "find_rename_reg", "(", "head", ",", "super_class", ",", "unavailable", ",", "reg", ",", "false", ")", ";", "if", "(", "dump_file", ")", "{", "fprintf", "(", "dump_file", ",", "\"Register %s in insn %d\"", ",", "reg_names", "[", "reg", "]", ",", "INSN_UID", "(", "head", "->", "first", "->", "insn", ")", ")", ";", "if", "(", "head", "->", "call_abis", ")", "fprintf", "(", "dump_file", ",", "\" crosses a call\"", ")", ";", "}", "if", "(", "best_new_reg", "==", "reg", ")", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"; no available better choice\\n\"", ")", ";", "return", "false", ";", "}", "if", "(", "regrename_do_replace", "(", "head", ",", "best_new_reg", ")", ")", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\", renamed as %s\\n\"", ",", "reg_names", "[", "best_new_reg", "]", ")", ";", "df_set_regs_ever_live", "(", "best_new_reg", ",", "true", ")", ";", "}", "else", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\", renaming as %s failed\\n\"", ",", "reg_names", "[", "best_new_reg", "]", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Rename", "the", "register", "HEAD-", ">", "regno", "in", "all", "the", "insns", "in", "the", "chain", "HEAD", "to", "any", "register", "not", "in", "the", "set", "UNAVAILABLE", ".", "Adapted", "from", "rename_chains", "in", "regrename.c", "."], "TS_V_token": ["aarch64", "0", "1", "\"Register %s in insn %d\"", "\" crosses a call\"", "\"; no available better choice\\n\"", "\", renamed as %s\\n\"", "\", renaming as %s failed\\n\""], "File": "cortex-a57-fma-steering", "Func": "rename_single_chain", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18606, "Length": 277, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "aarch64_d_handle_target_float_abi", "(", "void", ")", "{", "const", "char", "*", "abi", "=", "\"hard\"", ";", "return", "build_string_literal", "(", "strlen", "(", "abi", ")", "+", "1", ",", "abi", ")", ";", "}", ""], "natrual_language": ["Handle", "a", "call", "to", "`", "__traits", "(", "getTargetInfo", ",", "``", "floatAbi", "''", ")", "'", "."], "TS_V_token": ["aarch64", "\"hard\"", "1"], "File": "aarch64-d", "Func": "aarch64_d_handle_target_float_abi", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18607, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WinEHStatePass", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "TheModule", "=", "&", "M", ";", "FrameEscape", "=", "Intrinsic", "::", "getDeclaration", "(", "TheModule", ",", "Intrinsic", "::", "localescape", ")", ";", "FrameRecover", "=", "Intrinsic", "::", "getDeclaration", "(", "TheModule", ",", "Intrinsic", "::", "localrecover", ")", ";", "FrameAddress", "=", "Intrinsic", "::", "getDeclaration", "(", "TheModule", ",", "Intrinsic", "::", "frameaddress", ")", ";", "RestoreFrame", "=", "Intrinsic", "::", "getDeclaration", "(", "TheModule", ",", "Intrinsic", "::", "x86_seh_restoreframe", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["X86", "Intrinsic::getDeclaration", "Intrinsic::localescape", "Intrinsic::getDeclaration", "Intrinsic::localrecover", "Intrinsic::getDeclaration", "Intrinsic::frameaddress", "Intrinsic::getDeclaration", "Intrinsic::x86_seh_restoreframe"], "File": "X86WinEHState", "Func": "doInitialization", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18608, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_expand_vec_perm", "(", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ",", "rtx", "sel", ",", "unsigned", "int", "nelt", ")", "{", "machine_mode", "vmode", "=", "GET_MODE", "(", "target", ")", ";", "bool", "one_vector_p", "=", "rtx_equal_p", "(", "op0", ",", "op1", ")", ";", "rtx", "mask", ";", "mask", "=", "aarch64_simd_gen_const_vector_dup", "(", "vmode", ",", "one_vector_p", "?", "nelt", "-", "1", ":", "2", "*", "nelt", "-", "1", ")", ";", "sel", "=", "expand_simple_binop", "(", "vmode", ",", "AND", ",", "sel", ",", "mask", ",", "NULL", ",", "0", ",", "OPTAB_LIB_WIDEN", ")", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "{", "if", "(", "!", "one_vector_p", ")", "mask", "=", "aarch64_simd_gen_const_vector_dup", "(", "vmode", ",", "nelt", "-", "1", ")", ";", "sel", "=", "expand_simple_binop", "(", "vmode", ",", "XOR", ",", "sel", ",", "mask", ",", "NULL", ",", "0", ",", "OPTAB_LIB_WIDEN", ")", ";", "}", "aarch64_expand_vec_perm_1", "(", "target", ",", "op0", ",", "op1", ",", "sel", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "vec_perm", "with", "the", "operands", "given", "by", "TARGET", ",", "OP0", ",", "OP1", "and", "SEL", ".", "NELT", "is", "the", "number", "of", "elements", "in", "the", "vector", "."], "TS_V_token": ["aarch64", "1", "2", "1", "0", "1", "0"], "File": "aarch64", "Func": "aarch64_expand_vec_perm", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18609, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "ARMBaseRegisterInfo", "::", "getNoPreservedMask", "(", ")", "const", "{", "return", "CSR_NoRegs_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "register", "mask", "that", "clobbers", "everything", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMBaseRegisterInfo", "Func": "getNoPreservedMask", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18610, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_valid_offset_p", "(", "rtx", "x", ",", "machine_mode", "mode", ")", "{", "if", "(", "!", "const_arith_operand", "(", "x", ",", "Pmode", ")", ")", "return", "false", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "UNITS_PER_WORD", "&&", "!", "SMALL_OPERAND", "(", "INTVAL", "(", "x", ")", "+", "GET_MODE_SIZE", "(", "mode", ")", "-", "UNITS_PER_WORD", ")", ")", "return", "false", ";", "if", "(", "MSA_SUPPORTED_MODE_P", "(", "mode", ")", "&&", "!", "mips_signed_immediate_p", "(", "INTVAL", "(", "x", ")", ",", "10", ",", "mips_ldst_scaled_shift", "(", "mode", ")", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", ",", "for", "every", "base", "register", "BASE_REG", ",", "(", "plus", "BASE_REG", "X", ")", "can", "address", "a", "value", "of", "mode", "MODE", "."], "TS_V_token": ["mips", "10"], "File": "mips", "Func": "mips_valid_offset_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18611, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "isPredicated", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "instruction", "is", "already", "predicated", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCInstrInfo (2)", "Func": "isPredicated", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18612, "Length": 16, "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", "=", "*", "Subtarget", ".", "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": "PPCRegisterInfo22", "Func": "lowerCRSpilling", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18613, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "int", "regno_or_subregno", "(", "rtx", "op", ")", "{", "if", "(", "REG_P", "(", "op", ")", ")", "return", "REGNO", "(", "op", ")", ";", "else", "if", "(", "SUBREG_P", "(", "op", ")", ")", "return", "subreg_regno", "(", "op", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "return", "the", "register", "number", "of", "a", "RTX", "."], "TS_V_token": ["rs6000"], "File": "rs60006", "Func": "regno_or_subregno", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18614, "Length": 42, "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": 18615, "Length": 243, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mark_reg_gr_used_mask", "(", "rtx", "reg", ",", "void", "*", "data", "ATTRIBUTE_UNUSED", ")", "{", "unsigned", "int", "regno", "=", "REGNO", "(", "reg", ")", ";", "if", "(", "regno", "<", "32", ")", "{", "unsigned", "int", "i", ",", "n", "=", "hard_regno_nregs", "[", "regno", "]", "[", "GET_MODE", "(", "reg", ")", "]", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n", ";", "++", "i", ")", "current_frame_info", ".", "gr_used_mask", "|=", "1", "<<", "(", "regno", "+", "i", ")", ";", "}", "}", ""], "natrual_language": ["Helper", "function", "for", "ia64_compute_frame_size", ",", "called", "through", "diddle_return_value", ".", "Mark", "REG", "in", "current_frame_info.gr_used_mask", "."], "TS_V_token": ["ia64", "32", "0", "1"], "File": "ia643", "Func": "mark_reg_gr_used_mask", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18616, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_insn_has_flexible_gp_ref_p", "(", "rtx_insn", "*", "insn", ")", "{", "return", "(", "get_attr_got", "(", "insn", ")", "!=", "GOT_UNSET", "||", "mips_small_data_pattern_p", "(", "PATTERN", "(", "insn", ")", ")", "||", "reg_overlap_mentioned_p", "(", "pic_offset_table_rtx", ",", "PATTERN", "(", "insn", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "INSN", "refers", "to", "the", "global", "pointer", "in", "a", "``", "flexible", "''", "way", ".", "See", "mips_cfun_has_flexible_gp_ref_p", "for", "details", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_insn_has_flexible_gp_ref_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18617, "Length": 38, "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", ")", ";", "fprintf", "(", "stream", ",", "\"\\t.align %u\\n\"", ",", "align", "/", "BITS_PER_UNIT", ")", ";", "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", "\"\\t.align %u\\n\"", "\"object\"", "\"\\t.align %u\\n\"", "\"\\t.block \"", "\"\\n\""], "File": "pa5", "Func": "pa_asm_output_aligned_bss", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18618, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_expand_atomic_qihi", "(", "union", "mips_gen_fn_ptrs", "generator", ",", "rtx", "result", ",", "rtx", "mem", ",", "rtx", "oldval", ",", "rtx", "newval", ")", "{", "rtx", "orig_addr", ",", "memsi_addr", ",", "memsi", ",", "shift", ",", "shiftsi", ",", "unshifted_mask", ";", "rtx", "unshifted_mask_reg", ",", "mask", ",", "inverted_mask", ",", "si_op", ";", "rtx", "res", "=", "NULL", ";", "machine_mode", "mode", ";", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "orig_addr", "=", "force_reg", "(", "Pmode", ",", "XEXP", "(", "mem", ",", "0", ")", ")", ";", "memsi_addr", "=", "mips_force_binary", "(", "Pmode", ",", "AND", ",", "orig_addr", ",", "force_reg", "(", "Pmode", ",", "GEN_INT", "(", "-", "4", ")", ")", ")", ";", "memsi", "=", "gen_rtx_MEM", "(", "SImode", ",", "memsi_addr", ")", ";", "set_mem_alias_set", "(", "memsi", ",", "ALIAS_SET_MEMORY_BARRIER", ")", ";", "MEM_VOLATILE_P", "(", "memsi", ")", "=", "MEM_VOLATILE_P", "(", "mem", ")", ";", "shift", "=", "mips_force_binary", "(", "Pmode", ",", "AND", ",", "orig_addr", ",", "GEN_INT", "(", "3", ")", ")", ";", "if", "(", "TARGET_BIG_ENDIAN", ")", "mips_emit_binary", "(", "XOR", ",", "shift", ",", "shift", ",", "GEN_INT", "(", "mode", "==", "QImode", "?", "3", ":", "2", ")", ")", ";", "mips_emit_binary", "(", "ASHIFT", ",", "shift", ",", "shift", ",", "GEN_INT", "(", "3", ")", ")", ";", "shiftsi", "=", "force_reg", "(", "SImode", ",", "gen_lowpart", "(", "SImode", ",", "shift", ")", ")", ";", "unshifted_mask", "=", "GEN_INT", "(", "GET_MODE_MASK", "(", "mode", ")", ")", ";", "unshifted_mask_reg", "=", "force_reg", "(", "SImode", ",", "unshifted_mask", ")", ";", "mask", "=", "mips_force_binary", "(", "SImode", ",", "ASHIFT", ",", "unshifted_mask_reg", ",", "shiftsi", ")", ";", "inverted_mask", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "inverted_mask", ",", "gen_rtx_NOT", "(", "SImode", ",", "mask", ")", ")", ")", ";", "if", "(", "oldval", "!=", "const0_rtx", ")", "{", "oldval", "=", "convert_modes", "(", "SImode", ",", "mode", ",", "oldval", ",", "true", ")", ";", "oldval", "=", "force_reg", "(", "SImode", ",", "oldval", ")", ";", "oldval", "=", "mips_force_binary", "(", "SImode", ",", "ASHIFT", ",", "oldval", ",", "shiftsi", ")", ";", "}", "if", "(", "newval", "&&", "newval", "!=", "const0_rtx", ")", "{", "newval", "=", "convert_modes", "(", "SImode", ",", "mode", ",", "newval", ",", "true", ")", ";", "newval", "=", "force_reg", "(", "SImode", ",", "newval", ")", ";", "newval", "=", "mips_force_binary", "(", "SImode", ",", "ASHIFT", ",", "newval", ",", "shiftsi", ")", ";", "}", "if", "(", "result", ")", "res", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "if", "(", "newval", ")", "si_op", "=", "generator", ".", "fn_6", "(", "res", ",", "memsi", ",", "mask", ",", "inverted_mask", ",", "oldval", ",", "newval", ")", ";", "else", "if", "(", "result", ")", "si_op", "=", "generator", ".", "fn_5", "(", "res", ",", "memsi", ",", "mask", ",", "inverted_mask", ",", "oldval", ")", ";", "else", "si_op", "=", "generator", ".", "fn_4", "(", "memsi", ",", "mask", ",", "inverted_mask", ",", "oldval", ")", ";", "emit_insn", "(", "si_op", ")", ";", "if", "(", "result", ")", "{", "mips_emit_binary", "(", "AND", ",", "res", ",", "res", ",", "mask", ")", ";", "mips_emit_binary", "(", "LSHIFTRT", ",", "res", ",", "res", ",", "shiftsi", ")", ";", "mips_emit_move", "(", "result", ",", "gen_lowpart", "(", "GET_MODE", "(", "result", ")", ",", "res", ")", ")", ";", "}", "}", ""], "natrual_language": ["Expand", "a", "QI", "or", "HI", "mode", "atomic", "memory", "operation", ".", "GENERATOR", "contains", "a", "pointer", "to", "the", "gen_", "*", "function", "that", "generates", "the", "SI", "mode", "underlying", "atomic", "operation", "using", "masks", "that", "we", "calculate", ".", "RESULT", "is", "the", "return", "register", "for", "the", "operation", ".", "Its", "value", "is", "NULL", "if", "unused", ".", "MEM", "is", "the", "location", "of", "the", "atomic", "access", ".", "OLDVAL", "is", "the", "first", "operand", "for", "the", "operation", ".", "NEWVAL", "is", "the", "optional", "second", "operand", "for", "the", "operation", ".", "Its", "value", "is", "NULL", "if", "unused", "."], "TS_V_token": ["mips", "0", "4", "3", "3", "2", "3"], "File": "mips4", "Func": "mips_expand_atomic_qihi", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18619, "Length": 452, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mergeStoresAfterLegalization", "(", "EVT", "MemVT", ")", "const", "override", "{", "return", "!", "MemVT", ".", "isVector", "(", ")", ";", "}", ""], "natrual_language": ["Do", "not", "merge", "vector", "stores", "after", "legalization", "because", "that", "may", "conflict", "with", "x86-specific", "store", "splitting", "optimizations", "."], "TS_V_token": ["X86"], "File": "X86ISelLowering10", "Func": "mergeStoresAfterLegalization", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18620, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "CallLowering", "*", "AArch64Subtarget", "::", "getCallLowering", "(", ")", "const", "{", "if", "(", "!", "CallLoweringInfo", ")", "CallLoweringInfo", ".", "reset", "(", "new", "AArch64CallLowering", "(", "TLInfo", ")", ")", ";", "return", "CallLoweringInfo", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Methods", "used", "by", "Global", "ISel", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64Subtarget11", "Func": "getCallLowering", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18621, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "PPC64LinuxTargetObjectFile", "::", "getDebugThreadLocalSymbol", "(", "const", "MCSymbol", "*", "Sym", ")", "const", "{", "const", "MCExpr", "*", "Expr", "=", "MCSymbolRefExpr", "::", "Create", "(", "Sym", ",", "MCSymbolRefExpr", "::", "VK_PPC_DTPREL", ",", "getContext", "(", ")", ")", ";", "return", "MCBinaryExpr", "::", "CreateAdd", "(", "Expr", ",", "MCConstantExpr", "::", "Create", "(", "0x8000", ",", "getContext", "(", ")", ")", ",", "getContext", "(", ")", ")", ";", "}", ""], "natrual_language": ["Describe", "a", "TLS", "variable", "address", "within", "debug", "info", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "0x8000"], "File": "PPCTargetObjectFile1", "Func": "getDebugThreadLocalSymbol", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18622, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "ix86_rewrite_tls_address", "(", "rtx", "pattern", ")", "{", "pattern", "=", "copy_insn", "(", "pattern", ")", ";", "ix86_rewrite_tls_address_1", "(", "&", "pattern", ")", ";", "return", "pattern", ";", "}", ""], "natrual_language": ["Rewrite", "instruction", "pattern", "involvning", "TLS", "address", "so", "that", "it", "refers", "to", "a", "default", "TLS", "address", "space", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_rewrite_tls_address", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18623, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createThumb2SizeReductionPass", "(", ")", ")", ";", "addPass", "(", "createUnpackMachineBundles", "(", "[", "]", "(", "const", "MachineFunction", "&", "MF", ")", "{", "return", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "isThumb2", "(", ")", ";", "}", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createARMBlockPlacementPass", "(", ")", ")", ";", "addPass", "(", "createARMOptimizeBarriersPass", "(", ")", ")", ";", "}", "}", ""], "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", "ARM", "ARM"], "File": "ARMTargetMachine1", "Func": "addPreEmitPass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18624, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mmix_asm_output_source_filename", "(", "FILE", "*", "stream", ",", "const", "char", "*", "name", ")", "{", "fprintf", "(", "stream", ",", "\"# 1 \"", ")", ";", "OUTPUT_QUOTED_STRING", "(", "stream", ",", "name", ")", ";", "fprintf", "(", "stream", ",", "\"\\n\"", ")", ";", "}", ""], "natrual_language": ["ASM_OUTPUT_SOURCE_FILENAME", "."], "TS_V_token": ["mmix", "\"# 1 \"", "\"\\n\""], "File": "mmix", "Func": "mmix_asm_output_source_filename", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18625, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_asm_trampoline_template", "(", "FILE", "*", "f", ")", "{", "if", "(", "TARGET_REDUCED_REGS", ")", "{", "sorry", "(", "\"a nested function is not supported for reduced registers\"", ")", ";", "}", "else", "{", "asm_fprintf", "(", "f", ",", "\"\\t! Trampoline code template\\n\"", ")", ";", "asm_fprintf", "(", "f", ",", "\"\\t! This code fragment will be copied \"", "\"into stack on demand\\n\"", ")", ";", "asm_fprintf", "(", "f", ",", "\"\\tmfusr\\t$r16,$pc\\n\"", ")", ";", "asm_fprintf", "(", "f", ",", "\"\\tlwi\\t$r15,[$r16 + 20] \"", "\"! load nested function address\\n\"", ")", ";", "asm_fprintf", "(", "f", ",", "\"\\tlwi\\t$r16,[$r16 + 16] \"", "\"! load chain_value\\n\"", ")", ";", "asm_fprintf", "(", "f", ",", "\"\\tjr\\t$r15\\n\"", ")", ";", "}", "asm_fprintf", "(", "f", ",", "\"\\t! space for saving chain_value\\n\"", ")", ";", "assemble_aligned_integer", "(", "UNITS_PER_WORD", ",", "const0_rtx", ")", ";", "asm_fprintf", "(", "f", ",", "\"\\t! space for saving nested function address\\n\"", ")", ";", "assemble_aligned_integer", "(", "UNITS_PER_WORD", ",", "const0_rtx", ")", ";", "}", ""], "natrual_language": ["Trampolines", "for", "Nested", "Functions", "."], "TS_V_token": ["nds32", "\"a nested function is not supported for reduced registers\"", "\"\\t! Trampoline code template\\n\"", "\"\\t! This code fragment will be copied \"", "\"into stack on demand\\n\"", "\"\\tmfusr\\t$r16,$pc\\n\"", "\"\\tlwi\\t$r15,[$r16 + 20] \"", "\"! load nested function address\\n\"", "\"\\tlwi\\t$r16,[$r16 + 16] \"", "\"! load chain_value\\n\"", "\"\\tjr\\t$r15\\n\"", "\"\\t! space for saving chain_value\\n\"", "\"\\t! space for saving nested function address\\n\""], "File": "nds32", "Func": "nds32_asm_trampoline_template", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18626, "Length": 97, "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_br24abs\"", ",", "6", ",", "24", ",", "0", "}", ",", "{", "\"fixup_ppc_brcond14abs\"", ",", "16", ",", "14", ",", "0", "}", ",", "{", "\"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_br24abs\"", "6", "24", "0", "\"fixup_ppc_brcond14abs\"", "16", "14", "0", "\"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": "PPCAsmBackend1", "Func": "getFixupKindInfo", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18627, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "lowerInterleavedLoad", "(", "LoadInst", "*", "LI", ",", "ArrayRef", "<", "ShuffleVectorInst", "*", ">", "Shuffles", ",", "ArrayRef", "<", "unsigned", ">", "Indices", ",", "unsigned", "Factor", ")", "const", "{", "assert", "(", "Factor", ">=", "2", "&&", "Factor", "<=", "getMaxSupportedInterleaveFactor", "(", ")", "&&", "\"Invalid interleave factor\"", ")", ";", "assert", "(", "!", "Shuffles", ".", "empty", "(", ")", "&&", "\"Empty shufflevector input\"", ")", ";", "assert", "(", "Shuffles", ".", "size", "(", ")", "==", "Indices", ".", "size", "(", ")", "&&", "\"Unmatched number of shufflevectors and indices\"", ")", ";", "VectorType", "*", "VecTy", "=", "Shuffles", "[", "0", "]", "->", "getType", "(", ")", ";", "Type", "*", "EltTy", "=", "VecTy", "->", "getVectorElementType", "(", ")", ";", "const", "DataLayout", "&", "DL", "=", "LI", "->", "getModule", "(", ")", "->", "getDataLayout", "(", ")", ";", "unsigned", "VecSize", "=", "DL", ".", "getTypeAllocSizeInBits", "(", "VecTy", ")", ";", "bool", "EltIs64Bits", "=", "DL", ".", "getTypeAllocSizeInBits", "(", "EltTy", ")", "==", "64", ";", "if", "(", "(", "VecSize", "!=", "64", "&&", "VecSize", "!=", "128", ")", "||", "EltIs64Bits", ")", "return", "false", ";", "if", "(", "EltTy", "->", "isPointerTy", "(", ")", ")", "VecTy", "=", "VectorType", "::", "get", "(", "DL", ".", "getIntPtrType", "(", "EltTy", ")", ",", "VecTy", "->", "getVectorNumElements", "(", ")", ")", ";", "static", "const", "Intrinsic", "::", "ID", "LoadInts", "[", "3", "]", "=", "{", "Intrinsic", "::", "arm_neon_vld2", ",", "Intrinsic", "::", "arm_neon_vld3", ",", "Intrinsic", "::", "arm_neon_vld4", "}", ";", "Function", "*", "VldnFunc", "=", "Intrinsic", "::", "getDeclaration", "(", "LI", "->", "getModule", "(", ")", ",", "LoadInts", "[", "Factor", "-", "2", "]", ",", "VecTy", ")", ";", "IRBuilder", "<", ">", "Builder", "(", "LI", ")", ";", "SmallVector", "<", "Value", "*", ",", "2", ">", "Ops", ";", "Type", "*", "Int8Ptr", "=", "Builder", ".", "getInt8PtrTy", "(", "LI", "->", "getPointerAddressSpace", "(", ")", ")", ";", "Ops", ".", "push_back", "(", "Builder", ".", "CreateBitCast", "(", "LI", "->", "getPointerOperand", "(", ")", ",", "Int8Ptr", ")", ")", ";", "Ops", ".", "push_back", "(", "Builder", ".", "getInt32", "(", "LI", "->", "getAlignment", "(", ")", ")", ")", ";", "CallInst", "*", "VldN", "=", "Builder", ".", "CreateCall", "(", "VldnFunc", ",", "Ops", ",", "\"vldN\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Shuffles", ".", "size", "(", ")", ";", "i", "++", ")", "{", "ShuffleVectorInst", "*", "SV", "=", "Shuffles", "[", "i", "]", ";", "unsigned", "Index", "=", "Indices", "[", "i", "]", ";", "Value", "*", "SubVec", "=", "Builder", ".", "CreateExtractValue", "(", "VldN", ",", "Index", ")", ";", "if", "(", "EltTy", "->", "isPointerTy", "(", ")", ")", "SubVec", "=", "Builder", ".", "CreateIntToPtr", "(", "SubVec", ",", "SV", "->", "getType", "(", ")", ")", ";", "SV", "->", "replaceAllUsesWith", "(", "SubVec", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Lower", "interleaved", "load", "(", "s", ")", "into", "target", "specific", "instructions/intrinsics", "."], "TS_V_token": ["ARM", "ARM", "2", "\"Invalid interleave factor\"", "\"Empty shufflevector input\"", "\"Unmatched number of shufflevectors and indices\"", "0", "64", "64", "128", "Intrinsic::ID", "3", "Intrinsic::arm_neon_vld2", "Intrinsic::arm_neon_vld3", "Intrinsic::arm_neon_vld4", "Intrinsic::getDeclaration", "2", "2", "\"vldN\"", "0"], "File": "ARMISelLowering136", "Func": "lowerInterleavedLoad", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18628, "Length": 389, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_avx_u128_mode_needed", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "DEBUG_INSN_P", "(", "insn", ")", ")", "return", "AVX_U128_ANY", ";", "if", "(", "CALL_P", "(", "insn", ")", ")", "{", "rtx", "link", ";", "for", "(", "link", "=", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ";", "link", ";", "link", "=", "XEXP", "(", "link", ",", "1", ")", ")", "{", "if", "(", "GET_CODE", "(", "XEXP", "(", "link", ",", "0", ")", ")", "==", "USE", ")", "{", "rtx", "arg", "=", "XEXP", "(", "XEXP", "(", "link", ",", "0", ")", ",", "0", ")", ";", "if", "(", "ix86_check_avx_upper_register", "(", "arg", ")", ")", "return", "AVX_U128_DIRTY", ";", "}", "}", "bool", "avx_upper_reg_found", "=", "false", ";", "note_stores", "(", "insn", ",", "ix86_check_avx_upper_stores", ",", "&", "avx_upper_reg_found", ")", ";", "if", "(", "avx_upper_reg_found", ")", "return", "AVX_U128_DIRTY", ";", "const", "function_abi", "&", "abi", "=", "insn_callee_abi", "(", "insn", ")", ";", "if", "(", "!", "hard_reg_set_subset_p", "(", "reg_class_contents", "[", "SSE_REGS", "]", ",", "abi", ".", "mode_clobbers", "(", "V4DImode", ")", ")", ")", "return", "AVX_U128_ANY", ";", "return", "AVX_U128_CLEAN", ";", "}", "subrtx_iterator", "::", "array_type", "array", ";", "rtx", "set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "set", ")", "{", "rtx", "dest", "=", "SET_DEST", "(", "set", ")", ";", "rtx", "src", "=", "SET_SRC", "(", "set", ")", ";", "if", "(", "ix86_check_avx_upper_register", "(", "dest", ")", ")", "{", "if", "(", "standard_sse_constant_p", "(", "src", ",", "GET_MODE", "(", "dest", ")", ")", "!=", "1", ")", "return", "AVX_U128_DIRTY", ";", "else", "return", "AVX_U128_ANY", ";", "}", "else", "{", "FOR_EACH_SUBRTX", "(", "iter", ",", "array", ",", "src", ",", "NONCONST", ")", "if", "(", "ix86_check_avx_upper_register", "(", "*", "iter", ")", ")", "return", "AVX_U128_DIRTY", ";", "}", "return", "AVX_U128_ANY", ";", "}", "FOR_EACH_SUBRTX", "(", "iter", ",", "array", ",", "PATTERN", "(", "insn", ")", ",", "NONCONST", ")", "if", "(", "ix86_check_avx_upper_register", "(", "*", "iter", ")", ")", "return", "AVX_U128_DIRTY", ";", "return", "AVX_U128_ANY", ";", "}", ""], "natrual_language": ["Return", "needed", "mode", "for", "entity", "in", "optimize_mode_switching", "pass", "."], "TS_V_token": ["i386", "1", "0", "0", "0", "1"], "File": "i386", "Func": "ix86_avx_u128_mode_needed", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18629, "Length": 270, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "OutgoingValueHandler", "::", "assignValueToReg", "(", "unsigned", "ValVReg", ",", "const", "CCValAssign", "&", "VA", ",", "const", "EVT", "&", "VT", ")", "{", "unsigned", "PhysReg", "=", "VA", ".", "getLocReg", "(", ")", ";", "const", "MipsSubtarget", "&", "STI", "=", "static_cast", "<", "const", "MipsSubtarget", "&", ">", "(", "MIRBuilder", ".", "getMF", "(", ")", ".", "getSubtarget", "(", ")", ")", ";", "if", "(", "VT", "==", "MVT", "::", "f64", "&&", "PhysReg", ">=", "Mips", "::", "A0", "&&", "PhysReg", "<=", "Mips", "::", "A3", ")", "{", "MIRBuilder", ".", "buildInstr", "(", "STI", ".", "isFP64bit", "(", ")", "?", "Mips", "::", "ExtractElementF64_64", ":", "Mips", "::", "ExtractElementF64", ")", ".", "addDef", "(", "PhysReg", "+", "(", "STI", ".", "isLittle", "(", ")", "?", "1", ":", "0", ")", ")", ".", "addUse", "(", "ValVReg", ")", ".", "addImm", "(", "1", ")", ".", "constrainAllUses", "(", "MIRBuilder", ".", "getTII", "(", ")", ",", "*", "STI", ".", "getRegisterInfo", "(", ")", ",", "*", "STI", ".", "getRegBankInfo", "(", ")", ")", ";", "MIRBuilder", ".", "buildInstr", "(", "STI", ".", "isFP64bit", "(", ")", "?", "Mips", "::", "ExtractElementF64_64", ":", "Mips", "::", "ExtractElementF64", ")", ".", "addDef", "(", "PhysReg", "+", "(", "STI", ".", "isLittle", "(", ")", "?", "0", ":", "1", ")", ")", ".", "addUse", "(", "ValVReg", ")", ".", "addImm", "(", "0", ")", ".", "constrainAllUses", "(", "MIRBuilder", ".", "getTII", "(", ")", ",", "*", "STI", ".", "getRegisterInfo", "(", ")", ",", "*", "STI", ".", "getRegBankInfo", "(", ")", ")", ";", "}", "else", "if", "(", "VT", "==", "MVT", "::", "f32", "&&", "PhysReg", ">=", "Mips", "::", "A0", "&&", "PhysReg", "<=", "Mips", "::", "A3", ")", "{", "MIRBuilder", ".", "buildInstr", "(", "Mips", "::", "MFC1", ")", ".", "addDef", "(", "PhysReg", ")", ".", "addUse", "(", "ValVReg", ")", ".", "constrainAllUses", "(", "MIRBuilder", ".", "getTII", "(", ")", ",", "*", "STI", ".", "getRegisterInfo", "(", ")", ",", "*", "STI", ".", "getRegBankInfo", "(", ")", ")", ";", "}", "else", "{", "unsigned", "ExtReg", "=", "extendRegister", "(", "ValVReg", ",", "VA", ")", ";", "MIRBuilder", ".", "buildCopy", "(", "PhysReg", ",", "ExtReg", ")", ";", "MIB", ".", "addUse", "(", "PhysReg", ",", "RegState", "::", "Implicit", ")", ";", "}", "}", ""], "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": ["Mips", "Mips", "Mips", "MVT::f64", "Mips::A0", "Mips::A3", "Mips::ExtractElementF64_64", "Mips::ExtractElementF64", "1", "0", "1", "Mips::ExtractElementF64_64", "Mips::ExtractElementF64", "0", "1", "0", "MVT::f32", "Mips::A0", "Mips::A3", "Mips::MFC1"], "File": "MipsCallLowering27", "Func": "assignValueToReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18630, "Length": 310, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "unique_ptr", "<", "PBQPRAConstraint", ">", "AArch64Subtarget", "::", "getCustomPBQPConstraints", "(", ")", "const", "{", "return", "llvm", "::", "make_unique", "<", "A57PBQPConstraints", ">", "(", ")", ";", "}", ""], "natrual_language": ["Return", "PBQPConstraint", "(", "s", ")", "for", "the", "target", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64Subtarget35", "Func": "getCustomPBQPConstraints", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18631, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetLowering", "::", "LowerOperationWrapper", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "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": ["This", "callback", "is", "invoked", "by", "the", "type", "legalizer", "to", "legalize", "nodes", "with", "an", "illegal", "operand", "type", "but", "legal", "result", "types", "."], "TS_V_token": ["Mips", "Mips", "0", "0"], "File": "MipsISelLowering (2)", "Func": "LowerOperationWrapper", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18632, "Length": 72, "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", ")", ";", "}", ""], "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"], "File": "rs60004", "Func": "rs6000_set_up_by_prologue", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18633, "Length": 38, "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", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "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", "8", "80", "128", "ARM::SP"], "File": "ARMBaseRegisterInfo22", "Func": "needsFrameBaseReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18634, "Length": 327, "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", ")", ";", "rtx", "rhs", "=", "SET_SRC", "(", "body", ")", ";", "swap_const_vector_halves", "(", "rhs", ")", ";", "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", ";", "}", "}", ""], "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": "rs60004", "Func": "handle_special_swappables", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18635, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "expand_vec_perm_broadcast_1", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "elt", "=", "d", "->", "perm", "[", "0", "]", ",", "nelt2", "=", "d", "->", "nelt", "/", "2", ";", "machine_mode", "vmode", "=", "d", "->", "vmode", ";", "unsigned", "char", "perm2", "[", "4", "]", ";", "rtx", "op0", "=", "d", "->", "op0", ",", "dest", ";", "bool", "ok", ";", "switch", "(", "vmode", ")", "{", "case", "V4DFmode", ":", "case", "V8SFmode", ":", "gcc_unreachable", "(", ")", ";", "case", "V2DFmode", ":", "case", "V2DImode", ":", "case", "V4SFmode", ":", "case", "V4SImode", ":", "gcc_unreachable", "(", ")", ";", "case", "V8HImode", ":", "case", "V16QImode", ":", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "do", "{", "rtx", "dest", ";", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", "=", "vmode", "==", "V16QImode", "?", "gen_vec_interleave_lowv16qi", ":", "gen_vec_interleave_lowv8hi", ";", "if", "(", "elt", ">=", "nelt2", ")", "{", "gen", "=", "vmode", "==", "V16QImode", "?", "gen_vec_interleave_highv16qi", ":", "gen_vec_interleave_highv8hi", ";", "elt", "-=", "nelt2", ";", "}", "nelt2", "/=", "2", ";", "dest", "=", "gen_reg_rtx", "(", "vmode", ")", ";", "emit_insn", "(", "gen", "(", "dest", ",", "op0", ",", "op0", ")", ")", ";", "vmode", "=", "get_mode_wider_vector", "(", "vmode", ")", ";", "op0", "=", "gen_lowpart", "(", "vmode", ",", "dest", ")", ";", "}", "while", "(", "vmode", "!=", "V4SImode", ")", ";", "memset", "(", "perm2", ",", "elt", ",", "4", ")", ";", "dest", "=", "gen_reg_rtx", "(", "V4SImode", ")", ";", "ok", "=", "expand_vselect", "(", "dest", ",", "op0", ",", "perm2", ",", "4", ",", "d", "->", "testing_p", ")", ";", "gcc_assert", "(", "ok", ")", ";", "if", "(", "!", "d", "->", "testing_p", ")", "emit_move_insn", "(", "d", "->", "target", ",", "gen_lowpart", "(", "d", "->", "vmode", ",", "dest", ")", ")", ";", "return", "true", ";", "case", "V64QImode", ":", "case", "V32QImode", ":", "case", "V16HImode", ":", "case", "V8SImode", ":", "case", "V4DImode", ":", "gcc_assert", "(", "!", "TARGET_AVX2", "||", "d", "->", "perm", "[", "0", "]", ")", ";", "return", "false", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["A", "subroutine", "of", "ix86_expand_vec_perm_builtin_1", ".", "Implement", "broadcast", "permutations", ".", "We", "assume", "that", "expand_vec_perm_1", "has", "already", "failed", "."], "TS_V_token": ["i386", "0", "2", "4", "2", "4", "4", "0"], "File": "i3864", "Func": "expand_vec_perm_broadcast_1", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18636, "Length": 298, "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": 18637, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "dimode_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_STV_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": "i3866", "Func": "make_vector_copies", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18638, "Length": 425, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_expand_sve_const_pred_1", "(", "rtx", "target", ",", "rtx_vector_builder", "&", "builder", ",", "bool", "allow_recurse_p", ")", "{", "if", "(", "builder", ".", "encoded_nelts", "(", ")", "==", "1", ")", "return", "aarch64_emit_set_immediate", "(", "target", ",", "builder", ")", ";", "unsigned", "int", "elt_size", "=", "aarch64_widest_sve_pred_elt_size", "(", "builder", ")", ";", "if", "(", "int", "vl", "=", "aarch64_partial_ptrue_length", "(", "builder", ",", "elt_size", ")", ")", "{", "machine_mode", "mode", "=", "aarch64_sve_pred_mode", "(", "elt_size", ")", ".", "require", "(", ")", ";", "if", "(", "aarch64_svpattern_for_vl", "(", "mode", ",", "vl", ")", "!=", "AARCH64_NUM_SVPATTERNS", ")", "return", "aarch64_emit_set_immediate", "(", "target", ",", "builder", ")", ";", "return", "aarch64_sve_move_pred_via_while", "(", "target", ",", "mode", ",", "vl", ")", ";", "}", "if", "(", "!", "allow_recurse_p", ")", "return", "NULL_RTX", ";", "if", "(", "INTVAL", "(", "builder", ".", "elt", "(", "0", ")", ")", "==", "0", ")", "if", "(", "rtx", "res", "=", "aarch64_expand_sve_const_pred_eor", "(", "target", ",", "builder", ",", "elt_size", ")", ")", "return", "res", ";", "for", "(", "unsigned", "int", "i", "=", "elt_size", ";", "i", "<=", "8", ";", "i", "*=", "2", ")", "if", "(", "rtx", "res", "=", "aarch64_expand_sve_const_pred_trn", "(", "target", ",", "builder", ",", "elt_size", ",", "i", ")", ")", "return", "res", ";", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Subroutine", "of", "aarch64_expand_sve_const_pred", ".", "Try", "to", "load", "the", "VNx16BI", "constant", "in", "BUILDER", "into", "an", "SVE", "predicate", "register", ".", "Return", "the", "register", "on", "success", ",", "otherwise", "return", "null", ".", "Use", "TARGET", "for", "the", "register", "if", "nonnull", "and", "convenient", ".", "ALLOW_RECURSE_P", "is", "true", "if", "we", "can", "use", "methods", "that", "would", "call", "this", "function", "recursively", "."], "TS_V_token": ["aarch64", "1", "0", "0", "8", "2"], "File": "aarch64", "Func": "aarch64_expand_sve_const_pred_1", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18639, "Length": 175, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "X86TargetLowering", "::", "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", ")", "&&", "!", "F", "->", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ")", "{", "if", "(", "Size", ">=", "16", "&&", "(", "!", "Subtarget", "->", "isUnalignedMem16Slow", "(", ")", "||", "(", "(", "DstAlign", "==", "0", "||", "DstAlign", ">=", "16", ")", "&&", "(", "SrcAlign", "==", "0", "||", "SrcAlign", ">=", "16", ")", ")", ")", ")", "{", "if", "(", "Size", ">=", "32", ")", "{", "if", "(", "Subtarget", "->", "hasInt256", "(", ")", ")", "return", "MVT", "::", "v8i32", ";", "if", "(", "Subtarget", "->", "hasFp256", "(", ")", ")", "return", "MVT", "::", "v8f32", ";", "}", "if", "(", "Subtarget", "->", "hasSSE2", "(", ")", ")", "return", "MVT", "::", "v4i32", ";", "if", "(", "Subtarget", "->", "hasSSE1", "(", ")", ")", "return", "MVT", "::", "v4f32", ";", "}", "else", "if", "(", "!", "MemcpyStrSrc", "&&", "Size", ">=", "8", "&&", "!", "Subtarget", "->", "is64Bit", "(", ")", "&&", "Subtarget", "->", "hasSSE2", "(", ")", ")", "{", "return", "MVT", "::", "f64", ";", "}", "}", "if", "(", "Subtarget", "->", "is64Bit", "(", ")", "&&", "Size", ">=", "8", ")", "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": ["X86", "X86", "16", "0", "16", "0", "16", "32", "MVT::v8i32", "MVT::v8f32", "MVT::v4i32", "MVT::v4f32", "8", "MVT::f64", "8", "MVT::i64", "MVT::i32"], "File": "X86ISelLowering (2)3", "Func": "getOptimalMemOpType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18640, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiInstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "&", "MI", ",", "Register", "&", "SrcReg", ",", "Register", "&", "SrcReg2", ",", "int", "&", "CmpMask", ",", "int", "&", "CmpValue", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Lanai", "::", "SFSUB_F_RI_LO", ":", "case", "Lanai", "::", "SFSUB_F_RI_HI", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "Register", "(", ")", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "return", "true", ";", "case", "Lanai", "::", "SFSUB_F_RR", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "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": ["Lanai", "Lanai", "Lanai::SFSUB_F_RI_LO", "Lanai::SFSUB_F_RI_HI", "0", "0", "1", "Lanai::SFSUB_F_RR", "0", "1", "0", "0"], "File": "LanaiInstrInfo15", "Func": "analyzeCompare", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18641, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalNTStore", "(", "Type", "*", "DataType", ",", "llvm", "::", "Align", "Alignment", ")", "{", "unsigned", "DataSize", "=", "DL", ".", "getTypeStoreSize", "(", "DataType", ")", ";", "if", "(", "ST", "->", "hasSSE4A", "(", ")", "&&", "(", "DataType", "->", "isFloatTy", "(", ")", "||", "DataType", "->", "isDoubleTy", "(", ")", ")", ")", "return", "true", ";", "if", "(", "Alignment", "<", "DataSize", "||", "DataSize", "<", "4", "||", "DataSize", ">", "32", "||", "!", "isPowerOf2_32", "(", "DataSize", ")", ")", "return", "false", ";", "if", "(", "DataSize", "==", "32", ")", "return", "ST", "->", "hasAVX", "(", ")", ";", "else", "if", "(", "DataSize", "==", "16", ")", "return", "ST", "->", "hasSSE1", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "nontemporal", "store", "."], "TS_V_token": ["X86", "X86", "4", "32", "32", "16"], "File": "X86TargetTransformInfo72", "Func": "isLegalNTStore", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18642, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_xscale_rtx_costs", "(", "rtx", "x", ",", "int", "code", ",", "int", "outer_code", ",", "int", "*", "total", ")", "{", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "x", ")", ";", "if", "(", "TARGET_THUMB", ")", "{", "*", "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", "=", "8", ";", "return", "true", ";", "}", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", "||", "mode", "==", "DImode", ")", "{", "*", "total", "=", "30", ";", "return", "true", ";", "}", "if", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "CONST_INT", ")", "{", "unsigned", "HOST_WIDE_INT", "i", "=", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", "&", "(", "unsigned", "HOST_WIDE_INT", ")", "0xffffffff", ")", ";", "int", "cost", ",", "const_ok", "=", "const_ok_for_arm", "(", "i", ")", ";", "unsigned", "HOST_WIDE_INT", "masked_const", ";", "cost", "=", "2", ";", "if", "(", "!", "const_ok", ")", "cost", "+=", "1", ";", "masked_const", "=", "i", "&", "0xffff8000", ";", "if", "(", "masked_const", "!=", "0", "&&", "masked_const", "!=", "0xffff8000", ")", "{", "masked_const", "=", "i", "&", "0xf8000000", ";", "if", "(", "masked_const", "==", "0", "||", "masked_const", "==", "0xf8000000", ")", "cost", "+=", "1", ";", "else", "cost", "+=", "2", ";", "}", "*", "total", "=", "cost", ";", "return", "true", ";", "}", "*", "total", "=", "8", "+", "(", "REG_OR_SUBREG_REG", "(", "XEXP", "(", "x", ",", "0", ")", ")", "?", "0", ":", "4", ")", "+", "(", "REG_OR_SUBREG_REG", "(", "XEXP", "(", "x", ",", "1", ")", ")", "?", "0", ":", "4", ")", ";", "return", "true", ";", "case", "COMPARE", ":", "if", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "MULT", ")", "*", "total", "=", "4", "+", "rtx_cost", "(", "XEXP", "(", "x", ",", "0", ")", ",", "code", ")", ";", "else", "*", "total", "=", "arm_rtx_costs_1", "(", "x", ",", "code", ",", "outer_code", ")", ";", "return", "true", ";", "default", ":", "*", "total", "=", "arm_rtx_costs_1", "(", "x", ",", "code", ",", "outer_code", ")", ";", "return", "true", ";", "}", "}", ""], "natrual_language": ["RTX", "cost", "for", "XScale", "CPUs", ".", "Thumb-2", "is", "not", "supported", "on", "any", "xscale", "cores", ",", "so", "it", "can", "be", "ignored", "."], "TS_V_token": ["arm", "0", "1", "0", "0", "8", "30", "1", "1", "0xffffffff", "2", "1", "0xffff8000", "0", "0xffff8000", "0xf8000000", "0", "0xf8000000", "1", "2", "8", "0", "0", "4", "1", "0", "4", "0", "4", "0"], "File": "arm3", "Func": "arm_xscale_rtx_costs", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18643, "Length": 368, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "arm_gen_compare_reg", "(", "rtx_code", "code", ",", "rtx", "x", ",", "rtx", "y", ",", "rtx", "scratch", ")", "{", "if", "(", "GET_MODE", "(", "x", ")", "==", "DImode", "||", "GET_MODE", "(", "y", ")", "==", "DImode", ")", "return", "arm_gen_dicompare_reg", "(", "code", ",", "x", ",", "y", ",", "scratch", ")", ";", "machine_mode", "mode", "=", "SELECT_CC_MODE", "(", "code", ",", "x", ",", "y", ")", ";", "rtx", "cc_reg", "=", "gen_rtx_REG", "(", "mode", ",", "CC_REGNUM", ")", ";", "if", "(", "mode", "==", "CC_RSBmode", ")", "{", "if", "(", "!", "scratch", ")", "scratch", "=", "gen_rtx_SCRATCH", "(", "SImode", ")", ";", "emit_insn", "(", "gen_rsb_imm_compare_scratch", "(", "scratch", ",", "GEN_INT", "(", "~", "UINTVAL", "(", "x", ")", ")", ",", "y", ")", ")", ";", "}", "else", "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", ".", "FP", "means", "this", "is", "a", "floating", "point", "compare", ":", "I", "do", "n't", "think", "that", "it", "is", "needed", "on", "the", "arm", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_gen_compare_reg", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18644, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "sh_can_redirect_branch", "(", "rtx", "branch1", ",", "rtx", "branch2", ")", "{", "if", "(", "flag_expensive_optimizations", "&&", "simplejump_p", "(", "branch2", ")", ")", "{", "rtx", "dest", "=", "XEXP", "(", "SET_SRC", "(", "single_set", "(", "branch2", ")", ")", ",", "0", ")", ";", "rtx", "insn", ";", "int", "distance", ";", "for", "(", "distance", "=", "0", ",", "insn", "=", "NEXT_INSN", "(", "branch1", ")", ";", "insn", "&&", "distance", "<", "256", ";", "insn", "=", "PREV_INSN", "(", "insn", ")", ")", "{", "if", "(", "insn", "==", "dest", ")", "return", "1", ";", "else", "distance", "+=", "get_attr_length", "(", "insn", ")", ";", "}", "for", "(", "distance", "=", "0", ",", "insn", "=", "NEXT_INSN", "(", "branch1", ")", ";", "insn", "&&", "distance", "<", "256", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "if", "(", "insn", "==", "dest", ")", "return", "1", ";", "else", "distance", "+=", "get_attr_length", "(", "insn", ")", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "'s", "possible", "to", "redirect", "BRANCH1", "to", "the", "destination", "of", "an", "unconditional", "jump", "BRANCH2", ".", "We", "only", "want", "to", "do", "this", "if", "the", "resulting", "branch", "will", "have", "a", "short", "displacement", "."], "TS_V_token": ["sh", "0", "0", "256", "1", "0", "256", "1", "0"], "File": "sh3", "Func": "sh_can_redirect_branch", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18645, "Length": 137, "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", "(", ")", ")", ";", "auto", "Ptr", "=", "AI", "->", "getPointerOperand", "(", ")", ";", "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", "(", "Ptr", ",", "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": "X86ISelLowering (2)8", "Func": "lowerIdempotentRMWIntoFencedLoad", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18646, "Length": 205, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "PPCFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "GuaranteedTailCallOpt", "&&", "I", "->", "getOpcode", "(", ")", "==", "PPC", "::", "ADJCALLSTACKUP", ")", "{", "if", "(", "int", "CalleeAmt", "=", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ")", "{", "bool", "is64Bit", "=", "Subtarget", ".", "isPPC64", "(", ")", ";", "CalleeAmt", "*=", "-", "1", ";", "unsigned", "StackReg", "=", "is64Bit", "?", "PPC", "::", "X1", ":", "PPC", "::", "R1", ";", "unsigned", "TmpReg", "=", "is64Bit", "?", "PPC", "::", "X0", ":", "PPC", "::", "R0", ";", "unsigned", "ADDIInstr", "=", "is64Bit", "?", "PPC", "::", "ADDI8", ":", "PPC", "::", "ADDI", ";", "unsigned", "ADDInstr", "=", "is64Bit", "?", "PPC", "::", "ADD8", ":", "PPC", "::", "ADD4", ";", "unsigned", "LISInstr", "=", "is64Bit", "?", "PPC", "::", "LIS8", ":", "PPC", "::", "LIS", ";", "unsigned", "ORIInstr", "=", "is64Bit", "?", "PPC", "::", "ORI8", ":", "PPC", "::", "ORI", ";", "const", "DebugLoc", "&", "dl", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "isInt", "<", "16", ">", "(", "CalleeAmt", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "TII", ".", "get", "(", "ADDIInstr", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "CalleeAmt", ")", ";", "}", "else", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "I", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "LISInstr", ")", ",", "TmpReg", ")", ".", "addImm", "(", "CalleeAmt", ">>", "16", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ORIInstr", ")", ",", "TmpReg", ")", ".", "addReg", "(", "TmpReg", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "CalleeAmt", "&", "0xFFFF", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ADDInstr", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "TmpReg", ")", ";", "}", "}", "}", "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": ["PowerPC", "PPC", "PPC::ADJCALLSTACKUP", "1", "PPC", "1", "PPC::X1", "PPC::R1", "PPC::X0", "PPC::R0", "PPC::ADDI8", "PPC::ADDI", "PPC::ADD8", "PPC::ADD4", "PPC::LIS8", "PPC::LIS", "PPC::ORI8", "PPC::ORI", "16", "16", "0xFFFF"], "File": "PPCFrameLowering10", "Func": "eliminateCallFramePseudoInstr", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18647, "Length": 333, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasVectorBlend", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "has", "a", "vector", "blend", "instruction", "."], "TS_V_token": ["X86"], "File": "X86ISelLowering", "Func": "hasVectorBlend", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18648, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "mips_get_compress_on_name", "(", "unsigned", "int", "flags", ")", "{", "if", "(", "flags", "==", "MASK_MIPS16", ")", "return", "\"mips16\"", ";", "return", "\"micromips\"", ";", "}", ""], "natrual_language": ["Return", "the", "attribute", "name", "associated", "with", "MASK_MIPS16", "and", "MASK_MICROMIPS", "flags", "FLAGS", "."], "TS_V_token": ["mips", "\"mips16\"", "\"micromips\""], "File": "mips", "Func": "mips_get_compress_on_name", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18649, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ArrayRef", "<", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">>", "ARMBaseInstrInfo", "::", "getSerializableBitmaskMachineOperandTargetFlags", "(", ")", "const", "{", "using", "namespace", "ARMII", ";", "static", "const", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">", "TargetFlags", "[", "]", "=", "{", "{", "MO_GOT", ",", "\"arm-got\"", "}", ",", "{", "MO_SBREL", ",", "\"arm-sbrel\"", "}", ",", "{", "MO_DLLIMPORT", ",", "\"arm-dllimport\"", "}", ",", "{", "MO_SECREL", ",", "\"arm-secrel\"", "}", ",", "{", "MO_NONLAZY", ",", "\"arm-nonlazy\"", "}", "}", ";", "return", "makeArrayRef", "(", "TargetFlags", ")", ";", "}", ""], "natrual_language": ["Return", "an", "array", "that", "contains", "the", "bitmask", "target", "flag", "values", "and", "their", "names", "."], "TS_V_token": ["ARM", "ARM", "ARM", "\"arm-got\"", "\"arm-sbrel\"", "\"arm-dllimport\"", "\"arm-secrel\"", "\"arm-nonlazy\""], "File": "ARMBaseInstrInfo18", "Func": "getSerializableBitmaskMachineOperandTargetFlags", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18650, "Length": 78, "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": ["Mips"], "File": "MipsAsmBackend (2)1", "Func": "relaxInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18651, "Length": 21, "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", "::", "ADDIStocHA", ":", "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::ADDIStocHA", "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": "PPCInstrInfo65", "Func": "isReallyTriviallyReMaterializable", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18652, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_final_compare_vec", "(", "rtx", "str1", ",", "rtx", "str2", ",", "rtx", "result", ",", "rtx", "s1addr", ",", "rtx", "s2addr", ",", "rtx", "orig_src1", ",", "rtx", "orig_src2", ",", "rtx", "off_reg", ",", "rtx", "vec_result", ")", "{", "if", "(", "TARGET_P9_VECTOR", ")", "{", "rtx", "diffix", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx", "chr1", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx", "chr2", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx", "chr1_di", "=", "simplify_gen_subreg", "(", "DImode", ",", "chr1", ",", "SImode", ",", "0", ")", ";", "rtx", "chr2_di", "=", "simplify_gen_subreg", "(", "DImode", ",", "chr2", ",", "SImode", ",", "0", ")", ";", "emit_insn", "(", "gen_vclzlsbb_v16qi", "(", "diffix", ",", "vec_result", ")", ")", ";", "emit_insn", "(", "gen_vextublx", "(", "chr1", ",", "diffix", ",", "str1", ")", ")", ";", "emit_insn", "(", "gen_vextublx", "(", "chr2", ",", "diffix", ",", "str2", ")", ")", ";", "do_sub3", "(", "result", ",", "chr1_di", ",", "chr2_di", ")", ";", "}", "else", "{", "gcc_assert", "(", "TARGET_P8_VECTOR", ")", ";", "rtx", "diffix", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "rtx", "result_gbbd", "=", "gen_reg_rtx", "(", "V16QImode", ")", ";", "emit_insn", "(", "gen_p8v_vgbbd", "(", "result_gbbd", ",", "vec_result", ")", ")", ";", "rtx", "result_shifted", "=", "gen_reg_rtx", "(", "V16QImode", ")", ";", "int", "shift_amt", "=", "(", "BYTES_BIG_ENDIAN", ")", "?", "7", ":", "9", ";", "emit_insn", "(", "gen_altivec_vsldoi_v16qi", "(", "result_shifted", ",", "result_gbbd", ",", "result_gbbd", ",", "GEN_INT", "(", "shift_amt", ")", ")", ")", ";", "rtx", "diffix_df", "=", "simplify_gen_subreg", "(", "DFmode", ",", "diffix", ",", "DImode", ",", "0", ")", ";", "emit_insn", "(", "gen_p8_mfvsrd_3_v16qi", "(", "diffix_df", ",", "result_shifted", ")", ")", ";", "rtx", "count", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "emit_insn", "(", "gen_clzdi2", "(", "count", ",", "diffix", ")", ")", ";", "else", "emit_insn", "(", "gen_ctzdi2", "(", "count", ",", "diffix", ")", ")", ";", "do_add3", "(", "off_reg", ",", "off_reg", ",", "count", ")", ";", "rtx", "chr1", "=", "gen_reg_rtx", "(", "QImode", ")", ";", "rtx", "chr2", "=", "gen_reg_rtx", "(", "QImode", ")", ";", "rtx", "addr1", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "s1addr", ",", "off_reg", ")", ";", "do_load_for_compare_from_addr", "(", "QImode", ",", "chr1", ",", "addr1", ",", "orig_src1", ")", ";", "rtx", "addr2", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "s2addr", ",", "off_reg", ")", ";", "do_load_for_compare_from_addr", "(", "QImode", ",", "chr2", ",", "addr2", ",", "orig_src2", ")", ";", "machine_mode", "rmode", "=", "GET_MODE", "(", "result", ")", ";", "rtx", "chr1_rm", "=", "simplify_gen_subreg", "(", "rmode", ",", "chr1", ",", "QImode", ",", "0", ")", ";", "rtx", "chr2_rm", "=", "simplify_gen_subreg", "(", "rmode", ",", "chr2", ",", "QImode", ",", "0", ")", ";", "do_sub3", "(", "result", ",", "chr1_rm", ",", "chr2_rm", ")", ";", "}", "return", ";", "}", ""], "natrual_language": ["Generate", "the", "final", "sequence", "that", "identifies", "the", "differing", "byte", "and", "generates", "the", "final", "result", ",", "taking", "into", "account", "zero", "bytes", ":", "P8", ":", "vgbbd", "0,0", "vsldoi", "0,0,0,9", "mfvsrd", "9,32", "addi", "10,9", ",", "-1", "#", "count", "trailing", "zero", "bits", "andc", "9,10,9", "popcntd", "9,9", "lbzx", "10,28,9", "#", "use", "that", "offset", "to", "load", "differing", "byte", "lbzx", "3,29,9", "subf", "3,3,10", "#", "subtract", "for", "final", "result", "P9", ":", "vclzlsbb", "#", "counts", "trailing", "bytes", "with", "lsb=0", "vextublx", "#", "extract", "differing", "byte", "STR1", "is", "the", "reg", "rtx", "for", "data", "from", "string", "1", ".", "STR2", "is", "the", "reg", "rtx", "for", "data", "from", "string", "2", ".", "RESULT", "is", "the", "reg", "rtx", "for", "the", "comparison", "result", ".", "S1ADDR", "is", "the", "register", "to", "use", "for", "the", "base", "address", "of", "the", "first", "string", ".", "S2ADDR", "is", "the", "register", "to", "use", "for", "the", "base", "address", "of", "the", "second", "string", ".", "ORIG_SRC1", "is", "the", "unmodified", "rtx", "for", "the", "first", "string", ".", "ORIG_SRC2", "is", "the", "unmodified", "rtx", "for", "the", "second", "string", ".", "OFF_REG", "is", "the", "register", "to", "use", "for", "the", "string", "offset", "for", "loads", ".", "VEC_RESULT", "is", "the", "rtx", "for", "the", "vector", "result", "indicating", "the", "byte", "difference", "."], "TS_V_token": ["rs6000", "0", "0", "7", "9", "0", "0", "0"], "File": "rs6000-string", "Func": "emit_final_compare_vec", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18653, "Length": 379, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isAcceptableChar", "(", "char", "C", ")", "{", "return", "(", "C", ">=", "'a'", "&&", "C", "<=", "'z'", ")", "||", "C", "==", "'F'", "||", "C", "==", "'R'", "||", "C", "==", "'V'", "||", "C", "==", "'X'", "||", "(", "C", ">=", "'0'", "&&", "C", "<=", "'9'", ")", "||", "C", "==", "'\\''", "||", "C", "==", "'_'", "||", "C", "==", "'-'", ";", "}", ""], "natrual_language": ["Return", "true", "if", "C", "is", "an", "acceptable", "character", "inside", "a", "symbol", "name", "."], "TS_V_token": ["F2003f"], "File": "F2003fMCAsmInfo", "Func": "isAcceptableChar", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18654, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCHazardRecognizer970", "::", "EmitInstruction", "(", "SUnit", "*", "SU", ")", "{", "const", "SDNode", "*", "Node", "=", "SU", "->", "getNode", "(", ")", "->", "getFlaggedMachineNode", "(", ")", ";", "bool", "isFirst", ",", "isSingle", ",", "isCracked", ",", "isLoad", ",", "isStore", ";", "PPCII", "::", "PPC970_Unit", "InstrType", "=", "GetInstrType", "(", "Node", "->", "getOpcode", "(", ")", ",", "isFirst", ",", "isSingle", ",", "isCracked", ",", "isLoad", ",", "isStore", ")", ";", "if", "(", "InstrType", "==", "PPCII", "::", "PPC970_Pseudo", ")", "return", ";", "unsigned", "Opcode", "=", "Node", "->", "getMachineOpcode", "(", ")", ";", "if", "(", "Opcode", "==", "PPC", "::", "MTCTR", ")", "HasCTRSet", "=", "true", ";", "if", "(", "isStore", ")", "{", "unsigned", "ThisStoreSize", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "assert", "(", "0", "&&", "\"Unknown store instruction!\"", ")", ";", "case", "PPC", "::", "STB", ":", "case", "PPC", "::", "STB8", ":", "case", "PPC", "::", "STBU", ":", "case", "PPC", "::", "STBU8", ":", "case", "PPC", "::", "STBX", ":", "case", "PPC", "::", "STBX8", ":", "case", "PPC", "::", "STVEBX", ":", "ThisStoreSize", "=", "1", ";", "break", ";", "case", "PPC", "::", "STH", ":", "case", "PPC", "::", "STH8", ":", "case", "PPC", "::", "STHU", ":", "case", "PPC", "::", "STHU8", ":", "case", "PPC", "::", "STHX", ":", "case", "PPC", "::", "STHX8", ":", "case", "PPC", "::", "STVEHX", ":", "case", "PPC", "::", "STHBRX", ":", "ThisStoreSize", "=", "2", ";", "break", ";", "case", "PPC", "::", "STFS", ":", "case", "PPC", "::", "STFSU", ":", "case", "PPC", "::", "STFSX", ":", "case", "PPC", "::", "STWX", ":", "case", "PPC", "::", "STWX8", ":", "case", "PPC", "::", "STWUX", ":", "case", "PPC", "::", "STW", ":", "case", "PPC", "::", "STW8", ":", "case", "PPC", "::", "STWU", ":", "case", "PPC", "::", "STWU8", ":", "case", "PPC", "::", "STVEWX", ":", "case", "PPC", "::", "STFIWX", ":", "case", "PPC", "::", "STWBRX", ":", "ThisStoreSize", "=", "4", ";", "break", ";", "case", "PPC", "::", "STD_32", ":", "case", "PPC", "::", "STDX_32", ":", "case", "PPC", "::", "STD", ":", "case", "PPC", "::", "STDU", ":", "case", "PPC", "::", "STFD", ":", "case", "PPC", "::", "STFDX", ":", "case", "PPC", "::", "STDX", ":", "case", "PPC", "::", "STDUX", ":", "ThisStoreSize", "=", "8", ";", "break", ";", "case", "PPC", "::", "STVX", ":", "case", "PPC", "::", "STVXL", ":", "ThisStoreSize", "=", "16", ";", "break", ";", "}", "StoreSize", "[", "NumStores", "]", "=", "ThisStoreSize", ";", "StorePtr1", "[", "NumStores", "]", "=", "Node", "->", "getOperand", "(", "1", ")", ";", "StorePtr2", "[", "NumStores", "]", "=", "Node", "->", "getOperand", "(", "2", ")", ";", "++", "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", "PPCII::PPC970_Unit", "PPCII::PPC970_Pseudo", "PPC::MTCTR", "0", "\"Unknown store instruction!\"", "PPC::STB", "PPC::STB8", "PPC::STBU", "PPC::STBU8", "PPC::STBX", "PPC::STBX8", "PPC::STVEBX", "1", "PPC::STH", "PPC::STH8", "PPC::STHU", "PPC::STHU8", "PPC::STHX", "PPC::STHX8", "PPC::STVEHX", "PPC::STHBRX", "2", "PPC::STFS", "PPC::STFSU", "PPC::STFSX", "PPC::STWX", "PPC::STWX8", "PPC::STWUX", "PPC::STW", "PPC::STW8", "PPC::STWU", "PPC::STWU8", "PPC::STVEWX", "PPC::STFIWX", "PPC::STWBRX", "4", "PPC::STD_32", "PPC::STDX_32", "PPC::STD", "PPC::STDU", "PPC::STFD", "PPC::STFDX", "PPC::STDX", "PPC::STDUX", "8", "PPC::STVX", "PPC::STVXL", "16", "1", "2", "PPCII::PPC970_BRU", "4", "5"], "File": "PPCHazardRecognizers19", "Func": "EmitInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18655, "Length": 404, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "neon_immediate_valid_for_shift", "(", "rtx", "op", ",", "machine_mode", "mode", ",", "rtx", "*", "modconst", ",", "int", "*", "elementwidth", ",", "bool", "isleftshift", ")", "{", "unsigned", "int", "innersize", "=", "GET_MODE_SIZE", "(", "GET_MODE_INNER", "(", "mode", ")", ")", ";", "unsigned", "int", "n_elts", "=", "CONST_VECTOR_NUNITS", "(", "op", ")", ",", "i", ";", "unsigned", "HOST_WIDE_INT", "last_elt", "=", "0", ";", "unsigned", "HOST_WIDE_INT", "maxshift", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n_elts", ";", "i", "++", ")", "{", "rtx", "el", "=", "CONST_VECTOR_ELT", "(", "op", ",", "i", ")", ";", "unsigned", "HOST_WIDE_INT", "elpart", ";", "if", "(", "CONST_INT_P", "(", "el", ")", ")", "elpart", "=", "INTVAL", "(", "el", ")", ";", "else", "if", "(", "CONST_DOUBLE_P", "(", "el", ")", ")", "return", "0", ";", "else", "gcc_unreachable", "(", ")", ";", "if", "(", "i", "!=", "0", "&&", "elpart", "!=", "last_elt", ")", "return", "0", ";", "last_elt", "=", "elpart", ";", "}", "maxshift", "=", "innersize", "*", "8", ";", "if", "(", "isleftshift", ")", "{", "if", "(", "last_elt", ">=", "maxshift", ")", "return", "0", ";", "}", "else", "{", "if", "(", "last_elt", "==", "0", "||", "last_elt", ">", "maxshift", ")", "return", "0", ";", "}", "if", "(", "elementwidth", ")", "*", "elementwidth", "=", "innersize", "*", "8", ";", "if", "(", "modconst", ")", "*", "modconst", "=", "CONST_VECTOR_ELT", "(", "op", ",", "0", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "rtx", "OP", "is", "legal", "for", "use", "in", "a", "VSHR", "or", "VSHL", "instruction", ".", "If", "the", "immediate", "is", "valid", ",", "write", "a", "constant", "suitable", "for", "using", "as", "an", "operand", "to", "VSHR/VSHL", "to", "*", "MODCONST", "and", "the", "corresponding", "element", "width", "to", "*", "ELEMENTWIDTH", ".", "ISLEFTSHIFT", "is", "for", "determine", "left", "or", "right", "shift", ",", "because", "they", "have", "different", "limitations", "."], "TS_V_token": ["arm", "0", "0", "0", "0", "0", "8", "0", "0", "0", "8", "0", "1"], "File": "arm4", "Func": "neon_immediate_valid_for_shift", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18656, "Length": 196, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "UPTFrameLowering", "::", "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": ["UPT", "UPT"], "File": "UPTFrameLowering", "Func": "hasFP", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18657, "Length": 16, "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": 18658, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "SmallVector", "<", "MachineInstr", "*", ",", "4", ">", "NewMIs", ";", "if", "(", "StoreRegToStackSlot", "(", "MF", ",", "SrcReg", ",", "isKill", ",", "FrameIdx", ",", "RC", ",", "NewMIs", ")", ")", "{", "PPCFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", ";", "FuncInfo", "->", "setSpillsCR", "(", ")", ";", "}", "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", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FrameIdx", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FrameIdx", ")", ")", ";", "NewMIs", ".", "back", "(", ")", "->", "addMemOperand", "(", "MF", ",", "MMO", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["PowerPC", "PPC", "4", "PPC", "PPC", "0"], "File": "PPCInstrInfo110", "Func": "storeRegToStackSlot", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18659, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCMIPeephole", "::", "initialize", "(", "MachineFunction", "&", "MFParm", ")", "{", "MF", "=", "&", "MFParm", ";", "MRI", "=", "&", "MF", "->", "getRegInfo", "(", ")", ";", "MDT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "MPDT", "=", "&", "getAnalysis", "<", "MachinePostDominatorTree", ">", "(", ")", ";", "MBFI", "=", "&", "getAnalysis", "<", "MachineBlockFrequencyInfo", ">", "(", ")", ";", "EntryFreq", "=", "MBFI", "->", "getEntryFreq", "(", ")", ";", "TII", "=", "MF", "->", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"*** PowerPC MI peephole pass ***\\n\\n\"", ")", ";", "LLVM_DEBUG", "(", "MF", "->", "dump", "(", ")", ")", ";", "}", ""], "natrual_language": ["Initialize", "the", "strategy", "after", "building", "the", "DAG", "for", "a", "new", "region", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "\"*** PowerPC MI peephole pass ***\\n\\n\""], "File": "PPCMIPeephole", "Func": "initialize", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18660, "Length": 96, "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": ["Cpu0"], "File": "Cpu0TargetMachine1", "Func": "getDataLayout", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18661, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "X86TargetLowering", "::", "getRegisterTypeForCallingConv", "(", "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", "RegisterVT", ";", "}", "if", "(", "VT", "==", "MVT", "::", "v3f16", "&&", "Subtarget", ".", "hasFP16", "(", ")", ")", "return", "MVT", "::", "v8f16", ";", "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": ["X86", "X86", "MVT::i1", "MVT::INVALID_SIMPLE_VALUE_TYPE", "MVT::v3f16", "MVT::v8f16"], "File": "X86ISelLowering (2)5", "Func": "getRegisterTypeForCallingConv", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18662, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "get_dest_uid", "(", "rtx", "label", ",", "int", "max_uid", ")", "{", "rtx", "dest", "=", "next_real_insn", "(", "label", ")", ";", "int", "dest_uid", ";", "if", "(", "!", "dest", ")", "return", "0", ";", "dest_uid", "=", "INSN_UID", "(", "dest", ")", ";", "while", "(", "dest_uid", ">=", "max_uid", ")", "{", "dest", "=", "NEXT_INSN", "(", "dest", ")", ";", "dest_uid", "=", "INSN_UID", "(", "dest", ")", ";", "}", "if", "(", "GET_CODE", "(", "dest", ")", "==", "JUMP_INSN", "&&", "GET_CODE", "(", "PATTERN", "(", "dest", ")", ")", "==", "RETURN", ")", "return", "0", ";", "return", "dest_uid", ";", "}", ""], "natrual_language": ["Return", "the", "UID", "of", "the", "insn", "that", "follows", "the", "specified", "label", "."], "TS_V_token": ["sh", "0", "0"], "File": "sh3", "Func": "get_dest_uid", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18663, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_end_ll_sc_sync_block", "(", "void", ")", "{", "if", "(", "!", "ISA_HAS_LL_SC", ")", "output_asm_insn", "(", "\".set\\tpop\"", ",", "0", ")", ";", "}", ""], "natrual_language": ["End", "a", "block", "started", "by", "mips_start_ll_sc_sync_block", "."], "TS_V_token": ["mips", "\".set\\tpop\"", "0"], "File": "mips", "Func": "mips_end_ll_sc_sync_block", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18664, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "find_r0_life_regions", "(", "basic_block", "b", ")", "{", "rtx_insn", "*", "end", ",", "*", "insn", ";", "rtx", "pset", ";", "rtx", "r0_reg", ";", "int", "live", ";", "int", "set", ";", "int", "death", "=", "0", ";", "if", "(", "REGNO_REG_SET_P", "(", "df_get_live_in", "(", "b", ")", ",", "R0_REG", ")", ")", "{", "set", "=", "1", ";", "live", "=", "1", ";", "}", "else", "{", "set", "=", "0", ";", "live", "=", "0", ";", "}", "insn", "=", "BB_HEAD", "(", "b", ")", ";", "end", "=", "BB_END", "(", "b", ")", ";", "r0_reg", "=", "gen_rtx_REG", "(", "SImode", ",", "R0_REG", ")", ";", "while", "(", "1", ")", "{", "if", "(", "INSN_P", "(", "insn", ")", ")", "{", "if", "(", "find_regno_note", "(", "insn", ",", "REG_DEAD", ",", "R0_REG", ")", ")", "{", "death", "++", ";", "live", "=", "0", ";", "}", "if", "(", "!", "live", "&&", "(", "pset", "=", "single_set", "(", "insn", ")", ")", "&&", "reg_overlap_mentioned_p", "(", "r0_reg", ",", "SET_DEST", "(", "pset", ")", ")", "&&", "!", "find_regno_note", "(", "insn", ",", "REG_UNUSED", ",", "R0_REG", ")", ")", "{", "set", "++", ";", "live", "=", "1", ";", "}", "}", "if", "(", "insn", "==", "end", ")", "break", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ";", "}", "return", "set", "-", "death", ";", "}", ""], "natrual_language": ["Count", "life", "regions", "of", "r0", "for", "a", "block", "."], "TS_V_token": ["sh", "0", "1", "1", "0", "0", "1", "0", "1"], "File": "sh4", "Func": "find_r0_life_regions", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18665, "Length": 187, "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\"", ";", "}", "}", ""], "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\""], "File": "PPCISelLowering114", "Func": "getTargetNodeName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18666, "Length": 368, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isProfitableToIfCvt", "(", "MachineBasicBlock", "&", "MBB", ",", "unsigned", "NumCycles", ",", "unsigned", "ExtraPredCycles", ",", "const", "BranchProbability", "&", "Probability", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Second", "variant", "of", "isProfitableToIfCvt", "."], "TS_V_token": ["PowerPC"], "File": "PPCInstrInfo", "Func": "isProfitableToIfCvt", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18667, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCFrameLowering", "::", "determineFrameLayout", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "FrameSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "unsigned", "MaxAlign", "=", "MFI", "->", "getMaxAlignment", "(", ")", ";", "unsigned", "TargetAlign", "=", "getStackAlignment", "(", ")", ";", "unsigned", "AlignMask", "=", "TargetAlign", "-", "1", ";", "bool", "DisableRedZone", "=", "MF", ".", "getFunction", "(", ")", "->", "getFnAttributes", "(", ")", ".", "hasAttribute", "(", "Attributes", "::", "NoRedZone", ")", ";", "if", "(", "!", "DisableRedZone", "&&", "FrameSize", "<=", "224", "&&", "!", "MFI", "->", "hasVarSizedObjects", "(", ")", "&&", "!", "MFI", "->", "adjustsStack", "(", ")", "&&", "!", "(", "Subtarget", ".", "isPPC64", "(", ")", "&&", "Subtarget", ".", "isSVR4ABI", "(", ")", "&&", "spillsCR", "(", "MF", ")", ")", "&&", "(", "!", "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", "PPC", "0", "PPC"], "File": "PPCFrameLowering43", "Func": "determineFrameLayout", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18668, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseRegisterInfo", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "(", "NoFramePointerElim", "||", "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": "ARMBaseRegisterInfo20", "Func": "hasFP", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18669, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64RegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "AArch64FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "AArch64", "::", "GPR32RegClassID", ":", "case", "AArch64", "::", "GPR32spRegClassID", ":", "case", "AArch64", "::", "GPR32allRegClassID", ":", "case", "AArch64", "::", "GPR64spRegClassID", ":", "case", "AArch64", "::", "GPR64allRegClassID", ":", "case", "AArch64", "::", "GPR64RegClassID", ":", "case", "AArch64", "::", "GPR32commonRegClassID", ":", "case", "AArch64", "::", "GPR64commonRegClassID", ":", "return", "32", "-", "1", "-", "(", "TFI", "->", "hasFP", "(", "MF", ")", "||", "TT", ".", "isOSDarwin", "(", ")", ")", "-", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "getNumXRegisterReserved", "(", ")", "-", "hasBasePointer", "(", "MF", ")", ";", "case", "AArch64", "::", "FPR8RegClassID", ":", "case", "AArch64", "::", "FPR16RegClassID", ":", "case", "AArch64", "::", "FPR32RegClassID", ":", "case", "AArch64", "::", "FPR64RegClassID", ":", "case", "AArch64", "::", "FPR128RegClassID", ":", "return", "32", ";", "case", "AArch64", "::", "DDRegClassID", ":", "case", "AArch64", "::", "DDDRegClassID", ":", "case", "AArch64", "::", "DDDDRegClassID", ":", "case", "AArch64", "::", "QQRegClassID", ":", "case", "AArch64", "::", "QQQRegClassID", ":", "case", "AArch64", "::", "QQQQRegClassID", ":", "return", "32", ";", "case", "AArch64", "::", "FPR128_loRegClassID", ":", "case", "AArch64", "::", "FPR64_loRegClassID", ":", "case", "AArch64", "::", "FPR16_loRegClassID", ":", "return", "16", ";", "}", "}", ""], "natrual_language": ["Return", "the", "register", "pressure", "``", "high", "water", "mark", "''", "for", "the", "specific", "register", "class", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "0", "AArch64::GPR32RegClassID", "AArch64::GPR32spRegClassID", "AArch64::GPR32allRegClassID", "AArch64::GPR64spRegClassID", "AArch64::GPR64allRegClassID", "AArch64::GPR64RegClassID", "AArch64::GPR32commonRegClassID", "AArch64::GPR64commonRegClassID", "32", "1", "AArch64", "AArch64::FPR8RegClassID", "AArch64::FPR16RegClassID", "AArch64::FPR32RegClassID", "AArch64::FPR64RegClassID", "AArch64::FPR128RegClassID", "32", "AArch64::DDRegClassID", "AArch64::DDDRegClassID", "AArch64::DDDDRegClassID", "AArch64::QQRegClassID", "AArch64::QQQRegClassID", "AArch64::QQQQRegClassID", "32", "AArch64::FPR128_loRegClassID", "AArch64::FPR64_loRegClassID", "AArch64::FPR16_loRegClassID", "16"], "File": "AArch64RegisterInfo21", "Func": "getRegPressureLimit", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18670, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Sched", "::", "Preference", "PPCTargetLowering", "::", "getSchedulingPreference", "(", "SDNode", "*", "N", ")", "const", "{", "if", "(", "DisableILPPref", "||", "PPCSubTarget", ".", "enableMachineScheduler", "(", ")", ")", "return", "TargetLowering", "::", "getSchedulingPreference", "(", "N", ")", ";", "return", "Sched", "::", "ILP", ";", "}", ""], "natrual_language": ["Some", "scheduler", ",", "e.g", "."], "TS_V_token": ["PowerPC", "PPC", "PPC"], "File": "PPCISelLowering (2)", "Func": "getSchedulingPreference", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18671, "Length": 37, "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", "(", "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": "AArch64TargetMachine14", "Func": "addIRPasses", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18672, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumberOfRegisters", "(", "unsigned", "ClassID", ")", "const", "{", "bool", "VectorRegs", "=", "(", "ClassID", "==", "1", ")", ";", "if", "(", "VectorRegs", ")", "{", "return", "0", ";", "}", "return", "64", ";", "}", ""], "natrual_language": ["\ufffd", "?", "Vector", "TTI", "begin", "\ufffd", "?"], "TS_V_token": ["VE", "1", "0", "64"], "File": "VETargetTransformInfo", "Func": "getNumberOfRegisters", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18673, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_is_valid_mask", "(", "rtx", "mask", ",", "int", "*", "b", ",", "int", "*", "e", ",", "machine_mode", "mode", ")", "{", "unsigned", "HOST_WIDE_INT", "val", "=", "INTVAL", "(", "mask", ")", ";", "unsigned", "HOST_WIDE_INT", "bit", ";", "int", "nb", ",", "ne", ";", "int", "n", "=", "GET_MODE_PRECISION", "(", "mode", ")", ";", "if", "(", "mode", "!=", "DImode", "&&", "mode", "!=", "SImode", ")", "return", "false", ";", "if", "(", "INTVAL", "(", "mask", ")", ">=", "0", ")", "{", "bit", "=", "val", "&", "-", "val", ";", "ne", "=", "exact_log2", "(", "bit", ")", ";", "nb", "=", "exact_log2", "(", "val", "+", "bit", ")", ";", "}", "else", "if", "(", "val", "+", "1", "==", "0", ")", "{", "nb", "=", "n", ";", "ne", "=", "0", ";", "}", "else", "if", "(", "val", "&", "1", ")", "{", "val", "=", "~", "val", ";", "bit", "=", "val", "&", "-", "val", ";", "nb", "=", "exact_log2", "(", "bit", ")", ";", "ne", "=", "exact_log2", "(", "val", "+", "bit", ")", ";", "}", "else", "{", "bit", "=", "val", "&", "-", "val", ";", "ne", "=", "exact_log2", "(", "bit", ")", ";", "if", "(", "val", "+", "bit", "==", "0", ")", "nb", "=", "n", ";", "else", "nb", "=", "0", ";", "}", "nb", "--", ";", "if", "(", "nb", "<", "0", "||", "ne", "<", "0", "||", "nb", ">=", "n", "||", "ne", ">=", "n", ")", "return", "false", ";", "if", "(", "b", ")", "*", "b", "=", "nb", ";", "if", "(", "e", ")", "*", "e", "=", "ne", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "whether", "MASK", "(", "a", "CONST_INT", ")", "is", "a", "valid", "mask", "for", "any", "rlwinm", ",", "rldicl", ",", "rldicr", ",", "or", "rldic", "instruction", "in", "mode", "MODE", ".", "If", "so", ",", "if", "E", "is", "not", "zero", ",", "store", "there", "the", "bit", "offset", "(", "counted", "from", "the", "right", ")", "where", "the", "single", "stretch", "of", "1", "bits", "begins", ";", "and", "similarly", "for", "B", ",", "the", "bit", "offset", "where", "it", "ends", "."], "TS_V_token": ["rs6000", "0", "1", "0", "0", "1", "0", "0", "0", "0"], "File": "rs6000", "Func": "rs6000_is_valid_mask", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18674, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_fp_absneg_operator", "(", "enum", "rtx_code", "code", ",", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ")", "{", "rtx", "mask", ",", "set", ",", "dst", ",", "src", ";", "bool", "use_sse", "=", "false", ";", "bool", "vector_mode", "=", "VECTOR_MODE_P", "(", "mode", ")", ";", "machine_mode", "vmode", "=", "mode", ";", "if", "(", "vector_mode", ")", "use_sse", "=", "true", ";", "else", "if", "(", "mode", "==", "TFmode", ")", "use_sse", "=", "true", ";", "else", "if", "(", "TARGET_SSE_MATH", ")", "{", "use_sse", "=", "SSE_FLOAT_MODE_P", "(", "mode", ")", ";", "if", "(", "mode", "==", "SFmode", ")", "vmode", "=", "V4SFmode", ";", "else", "if", "(", "mode", "==", "DFmode", ")", "vmode", "=", "V2DFmode", ";", "}", "if", "(", "use_sse", ")", "mask", "=", "ix86_build_signbit_mask", "(", "vmode", ",", "vector_mode", ",", "code", "==", "ABS", ")", ";", "else", "mask", "=", "NULL_RTX", ";", "dst", "=", "operands", "[", "0", "]", ";", "src", "=", "operands", "[", "1", "]", ";", "set", "=", "gen_rtx_fmt_e", "(", "code", ",", "mode", ",", "src", ")", ";", "set", "=", "gen_rtx_SET", "(", "dst", ",", "set", ")", ";", "if", "(", "mask", ")", "{", "rtx", "use", ",", "clob", ";", "rtvec", "par", ";", "use", "=", "gen_rtx_USE", "(", "VOIDmode", ",", "mask", ")", ";", "if", "(", "vector_mode", ")", "par", "=", "gen_rtvec", "(", "2", ",", "set", ",", "use", ")", ";", "else", "{", "clob", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "CCmode", ",", "FLAGS_REG", ")", ")", ";", "par", "=", "gen_rtvec", "(", "3", ",", "set", ",", "use", ",", "clob", ")", ";", "}", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "par", ")", ")", ";", "}", "else", "emit_insn", "(", "set", ")", ";", "}", ""], "natrual_language": ["Generate", "code", "for", "floating", "point", "ABS", "or", "NEG", "."], "TS_V_token": ["i386", "0", "1", "2", "3"], "File": "i3865", "Func": "ix86_expand_fp_absneg_operator", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18675, "Length": 238, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "x86_extended_QIreg_mentioned_p", "(", "rtx_insn", "*", "insn", ")", "{", "int", "i", ";", "extract_insn_cached", "(", "insn", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "recog_data", ".", "n_operands", ";", "i", "++", ")", "if", "(", "GENERAL_REG_P", "(", "recog_data", ".", "operand", "[", "i", "]", ")", "&&", "!", "QI_REGNO_P", "(", "REGNO", "(", "recog_data", ".", "operand", "[", "i", "]", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "nonzero", "when", "QImode", "register", "that", "must", "be", "represented", "via", "REX", "prefix", "is", "used", "."], "TS_V_token": ["i386", "0"], "File": "i386", "Func": "x86_extended_QIreg_mentioned_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18676, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_block_move_straight", "(", "rtx", "dest", ",", "rtx", "src", ",", "HOST_WIDE_INT", "length", ")", "{", "HOST_WIDE_INT", "offset", ",", "delta", ";", "unsigned", "HOST_WIDE_INT", "bits", ";", "int", "i", ";", "enum", "machine_mode", "mode", ";", "rtx", "*", "regs", ";", "if", "(", "MEM_ALIGN", "(", "src", ")", "==", "BITS_PER_WORD", "/", "2", "&&", "MEM_ALIGN", "(", "dest", ")", "==", "BITS_PER_WORD", "/", "2", ")", "bits", "=", "BITS_PER_WORD", "/", "2", ";", "else", "bits", "=", "BITS_PER_WORD", ";", "mode", "=", "mode_for_size", "(", "bits", ",", "MODE_INT", ",", "0", ")", ";", "delta", "=", "bits", "/", "BITS_PER_UNIT", ";", "regs", "=", "alloca", "(", "sizeof", "(", "rtx", ")", "*", "length", "/", "delta", ")", ";", "for", "(", "offset", "=", "0", ",", "i", "=", "0", ";", "offset", "+", "delta", "<=", "length", ";", "offset", "+=", "delta", ",", "i", "++", ")", "{", "regs", "[", "i", "]", "=", "gen_reg_rtx", "(", "mode", ")", ";", "if", "(", "MEM_ALIGN", "(", "src", ")", ">=", "bits", ")", "emit_move_insn", "(", "regs", "[", "i", "]", ",", "adjust_address", "(", "src", ",", "mode", ",", "offset", ")", ")", ";", "else", "{", "rtx", "part", "=", "adjust_address", "(", "src", ",", "BLKmode", ",", "offset", ")", ";", "if", "(", "!", "mips_expand_unaligned_load", "(", "regs", "[", "i", "]", ",", "part", ",", "bits", ",", "0", ")", ")", "gcc_unreachable", "(", ")", ";", "}", "}", "for", "(", "offset", "=", "0", ",", "i", "=", "0", ";", "offset", "+", "delta", "<=", "length", ";", "offset", "+=", "delta", ",", "i", "++", ")", "if", "(", "MEM_ALIGN", "(", "dest", ")", ">=", "bits", ")", "emit_move_insn", "(", "adjust_address", "(", "dest", ",", "mode", ",", "offset", ")", ",", "regs", "[", "i", "]", ")", ";", "else", "{", "rtx", "part", "=", "adjust_address", "(", "dest", ",", "BLKmode", ",", "offset", ")", ";", "if", "(", "!", "mips_expand_unaligned_store", "(", "part", ",", "regs", "[", "i", "]", ",", "bits", ",", "0", ")", ")", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "offset", "<", "length", ")", "{", "src", "=", "adjust_address", "(", "src", ",", "BLKmode", ",", "offset", ")", ";", "dest", "=", "adjust_address", "(", "dest", ",", "BLKmode", ",", "offset", ")", ";", "move_by_pieces", "(", "dest", ",", "src", ",", "length", "-", "offset", ",", "MIN", "(", "MEM_ALIGN", "(", "src", ")", ",", "MEM_ALIGN", "(", "dest", ")", ")", ",", "0", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "straight-line", "code", "to", "move", "LENGTH", "bytes", "from", "SRC", "to", "DEST", ".", "Assume", "that", "the", "areas", "do", "not", "overlap", "."], "TS_V_token": ["mips", "2", "2", "2", "0", "0", "0", "0", "0", "0", "0", "0"], "File": "mips3", "Func": "mips_block_move_straight", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18677, "Length": 335, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_operands_ok_for_move_multiple", "(", "rtx", "*", "operands", ",", "bool", "load", ",", "machine_mode", "mode", ")", "{", "HOST_WIDE_INT", "offval_1", ",", "offval_2", ",", "msize", ";", "rtx", "mem_1", ",", "mem_2", ",", "reg_1", ",", "reg_2", ",", "base_1", ",", "base_2", ",", "offset_1", ",", "offset_2", ";", "if", "(", "load", ")", "{", "mem_1", "=", "operands", "[", "1", "]", ";", "mem_2", "=", "operands", "[", "3", "]", ";", "reg_1", "=", "operands", "[", "0", "]", ";", "reg_2", "=", "operands", "[", "2", "]", ";", "}", "else", "{", "mem_1", "=", "operands", "[", "0", "]", ";", "mem_2", "=", "operands", "[", "2", "]", ";", "reg_1", "=", "operands", "[", "1", "]", ";", "reg_2", "=", "operands", "[", "3", "]", ";", "}", "gcc_assert", "(", "REG_P", "(", "reg_1", ")", "&&", "REG_P", "(", "reg_2", ")", ")", ";", "if", "(", "REGNO", "(", "reg_1", ")", "!=", "REGNO", "(", "reg_2", ")", ")", "return", "false", ";", "if", "(", "!", "extract_base_offset_in_addr", "(", "mem_1", ",", "&", "base_1", ",", "&", "offset_1", ")", ")", "return", "false", ";", "if", "(", "!", "extract_base_offset_in_addr", "(", "mem_2", ",", "&", "base_2", ",", "&", "offset_2", ")", ")", "return", "false", ";", "if", "(", "!", "rtx_equal_p", "(", "base_1", ",", "base_2", ")", ")", "return", "false", ";", "offval_1", "=", "INTVAL", "(", "offset_1", ")", ";", "offval_2", "=", "INTVAL", "(", "offset_2", ")", ";", "msize", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "offval_1", "+", "msize", "!=", "offval_2", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Given", "OPERANDS", "of", "consecutive", "load/store", ",", "check", "if", "we", "can", "merge", "them", "into", "move", "multiple", ".", "LOAD", "is", "true", "if", "they", "are", "load", "instructions", ".", "MODE", "is", "the", "mode", "of", "memory", "operands", "."], "TS_V_token": ["i386", "1", "3", "0", "2", "0", "2", "1", "3"], "File": "i386", "Func": "ix86_operands_ok_for_move_multiple", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18678, "Length": 214, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{", "return", "0", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["X86", "0"], "File": "X86AsmBackend9", "Func": "createObjectWriter", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18679, "Length": 14, "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": 18680, "Length": 333, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "splitValueIntoRegisterParts", "(", "SelectionDAG", "&", "DAG", ",", "const", "SDLoc", "&", "DL", ",", "SDValue", "Val", ",", "SDValue", "*", "Parts", ",", "unsigned", "NumParts", ",", "MVT", "PartVT", ",", "Optional", "<", "CallingConv", "::", "ID", ">", "CC", ")", "const", "{", "bool", "IsABIRegCopy", "=", "CC", ".", "hasValue", "(", ")", ";", "EVT", "ValueVT", "=", "Val", ".", "getValueType", "(", ")", ";", "if", "(", "IsABIRegCopy", "&&", "(", "ValueVT", "==", "MVT", "::", "f16", "||", "ValueVT", "==", "MVT", "::", "bf16", ")", "&&", "PartVT", "==", "MVT", "::", "f32", ")", "{", "unsigned", "ValueBits", "=", "ValueVT", ".", "getSizeInBits", "(", ")", ";", "unsigned", "PartBits", "=", "PartVT", ".", "getSizeInBits", "(", ")", ";", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "DL", ",", "MVT", "::", "getIntegerVT", "(", "ValueBits", ")", ",", "Val", ")", ";", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ANY_EXTEND", ",", "DL", ",", "MVT", "::", "getIntegerVT", "(", "PartBits", ")", ",", "Val", ")", ";", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "DL", ",", "PartVT", ",", "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": ["ARM", "ARM", "MVT::f16", "MVT::bf16", "MVT::f32", "ISD::BITCAST", "MVT::getIntegerVT", "ISD::ANY_EXTEND", "MVT::getIntegerVT", "ISD::BITCAST", "0"], "File": "ARMISelLowering (2)5", "Func": "splitValueIntoRegisterParts", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18681, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "TargetRegisterClass", "*", "getRegClass", "(", "const", "MachineInstr", "&", "MI", ",", "Register", "Reg", ")", "{", "if", "(", "MI", ".", "getParent", "(", ")", "==", "nullptr", ")", "return", "nullptr", ";", "const", "MachineFunction", "*", "MF", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "return", "MF", "?", "MF", "->", "getRegInfo", "(", ")", ".", "getRegClassOrNull", "(", "Reg", ")", ":", "nullptr", ";", "}", ""], "natrual_language": ["Given", "a", "machine", "instruction", "descriptor", ",", "returns", "the", "register", "class", "constraint", "for", "OpNum", ",", "or", "NULL", "."], "TS_V_token": ["AArch64"], "File": "AArch64InstrInfo51", "Func": "getRegClass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18682, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_9bit_offset_address_p", "(", "rtx", "x", ",", "machine_mode", "mode", ")", "{", "struct", "mips_address_info", "addr", ";", "return", "(", "mips_classify_address", "(", "&", "addr", ",", "x", ",", "mode", ",", "false", ")", "&&", "addr", ".", "type", "==", "ADDRESS_REG", "&&", "CONST_INT_P", "(", "addr", ".", "offset", ")", "&&", "MIPS_9BIT_OFFSET_P", "(", "INTVAL", "(", "addr", ".", "offset", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "legitimate", "address", "with", "a", "9-bit", "offset", ".", "MODE", "is", "the", "mode", "of", "the", "value", "being", "accessed", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_9bit_offset_address_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18683, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "PPCTargetLowering", "::", "emitMaskedAtomicCmpXchgIntrinsic", "(", "IRBuilderBase", "&", "Builder", ",", "AtomicCmpXchgInst", "*", "CI", ",", "Value", "*", "AlignedAddr", ",", "Value", "*", "CmpVal", ",", "Value", "*", "NewVal", ",", "Value", "*", "Mask", ",", "AtomicOrdering", "Ord", ")", "const", "{", "assert", "(", "shouldInlineQuadwordAtomics", "(", ")", "&&", "\"Only support quadword now\"", ")", ";", "Module", "*", "M", "=", "Builder", ".", "GetInsertBlock", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "Type", "*", "ValTy", "=", "CmpVal", "->", "getType", "(", ")", ";", "assert", "(", "ValTy", "->", "getPrimitiveSizeInBits", "(", ")", "==", "128", ")", ";", "Function", "*", "IntCmpXchg", "=", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "Intrinsic", "::", "ppc_cmpxchg_i128", ")", ";", "Type", "*", "Int64Ty", "=", "Type", "::", "getInt64Ty", "(", "M", "->", "getContext", "(", ")", ")", ";", "Value", "*", "CmpLo", "=", "Builder", ".", "CreateTrunc", "(", "CmpVal", ",", "Int64Ty", ",", "\"cmp_lo\"", ")", ";", "Value", "*", "CmpHi", "=", "Builder", ".", "CreateTrunc", "(", "Builder", ".", "CreateLShr", "(", "CmpVal", ",", "64", ")", ",", "Int64Ty", ",", "\"cmp_hi\"", ")", ";", "Value", "*", "NewLo", "=", "Builder", ".", "CreateTrunc", "(", "NewVal", ",", "Int64Ty", ",", "\"new_lo\"", ")", ";", "Value", "*", "NewHi", "=", "Builder", ".", "CreateTrunc", "(", "Builder", ".", "CreateLShr", "(", "NewVal", ",", "64", ")", ",", "Int64Ty", ",", "\"new_hi\"", ")", ";", "Value", "*", "Addr", "=", "Builder", ".", "CreateBitCast", "(", "AlignedAddr", ",", "Type", "::", "getInt8PtrTy", "(", "M", "->", "getContext", "(", ")", ")", ")", ";", "emitLeadingFence", "(", "Builder", ",", "CI", ",", "Ord", ")", ";", "Value", "*", "LoHi", "=", "Builder", ".", "CreateCall", "(", "IntCmpXchg", ",", "{", "Addr", ",", "CmpLo", ",", "CmpHi", ",", "NewLo", ",", "NewHi", "}", ")", ";", "emitTrailingFence", "(", "Builder", ",", "CI", ",", "Ord", ")", ";", "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\"", ")", ";", "}", ""], "natrual_language": ["Perform", "a", "masked", "cmpxchg", "using", "a", "target-specific", "intrinsic", "."], "TS_V_token": ["PowerPC", "PPC", "\"Only support quadword now\"", "128", "Intrinsic::getDeclaration", "Intrinsic::ppc_cmpxchg_i128", "\"cmp_lo\"", "64", "\"cmp_hi\"", "\"new_lo\"", "64", "\"new_hi\"", "0", "\"lo\"", "1", "\"hi\"", "\"lo64\"", "\"hi64\"", "64", "\"val64\""], "File": "PPCISelLowering83", "Func": "emitMaskedAtomicCmpXchgIntrinsic", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18684, "Length": 333, "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": 18685, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "first_fp_reg_to_save", "(", "void", ")", "{", "int", "first_reg", ";", "for", "(", "first_reg", "=", "14", "+", "32", ";", "first_reg", "<=", "63", ";", "first_reg", "++", ")", "if", "(", "regs_ever_live", "[", "first_reg", "]", ")", "break", ";", "return", "first_reg", ";", "}", ""], "natrual_language": ["Similar", ",", "for", "FP", "regs", "."], "TS_V_token": ["rs6000", "14", "32", "63"], "File": "rs60003", "Func": "first_fp_reg_to_save", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18686, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "replaceBranchWithTailCall", "(", "MachineBasicBlock", "&", "MBB", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "BranchCond", ",", "const", "MachineInstr", "&", "TailCall", ")", "const", "{", "assert", "(", "canMakeTailCallConditional", "(", "BranchCond", ",", "TailCall", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "end", "(", ")", ";", "while", "(", "I", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "--", "I", ";", "if", "(", "I", "->", "isDebugValue", "(", ")", ")", "continue", ";", "if", "(", "!", "I", "->", "isBranch", "(", ")", ")", "assert", "(", "0", "&&", "\"Can't find the branch to replace!\"", ")", ";", "X86", "::", "CondCode", "CC", "=", "X86", "::", "getCondFromBranchOpc", "(", "I", "->", "getOpcode", "(", ")", ")", ";", "assert", "(", "BranchCond", ".", "size", "(", ")", "==", "1", ")", ";", "if", "(", "CC", "!=", "BranchCond", "[", "0", "]", ".", "getImm", "(", ")", ")", "continue", ";", "break", ";", "}", "unsigned", "Opc", "=", "TailCall", ".", "getOpcode", "(", ")", "==", "X86", "::", "TCRETURNdi", "?", "X86", "::", "TCRETURNdicc", ":", "X86", "::", "TCRETURNdi64cc", ";", "auto", "MIB", "=", "BuildMI", "(", "MBB", ",", "I", ",", "MBB", ".", "findDebugLoc", "(", "I", ")", ",", "get", "(", "Opc", ")", ")", ";", "MIB", "->", "addOperand", "(", "TailCall", ".", "getOperand", "(", "0", ")", ")", ";", "MIB", ".", "addImm", "(", "0", ")", ";", "MIB", "->", "addOperand", "(", "BranchCond", "[", "0", "]", ")", ";", "MIB", ".", "copyImplicitOps", "(", "TailCall", ")", ";", "LivePhysRegs", "LiveRegs", "(", "getRegisterInfo", "(", ")", ")", ";", "LiveRegs", ".", "addLiveOuts", "(", "MBB", ")", ";", "SmallVector", "<", "std", "::", "pair", "<", "unsigned", ",", "const", "MachineOperand", "*", ">", ",", "8", ">", "Clobbers", ";", "LiveRegs", ".", "stepForward", "(", "*", "MIB", ",", "Clobbers", ")", ";", "for", "(", "const", "auto", "&", "C", ":", "Clobbers", ")", "{", "MIB", ".", "addReg", "(", "C", ".", "first", ",", "RegState", "::", "Implicit", ")", ";", "MIB", ".", "addReg", "(", "C", ".", "first", ",", "RegState", "::", "Implicit", "|", "RegState", "::", "Define", ")", ";", "}", "I", "->", "eraseFromParent", "(", ")", ";", "}", ""], "natrual_language": ["Replace", "the", "conditional", "branch", "in", "MBB", "with", "a", "conditional", "tail", "call", "."], "TS_V_token": ["X86", "X86", "0", "\"Can't find the branch to replace!\"", "X86::CondCode", "X86::getCondFromBranchOpc", "1", "0", "X86::TCRETURNdi", "X86::TCRETURNdicc", "X86::TCRETURNdi64cc", "0", "0", "0", "8"], "File": "X86InstrInfo113", "Func": "replaceBranchWithTailCall", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18687, "Length": 298, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pa_assemble_integer", "(", "rtx", "x", ",", "unsigned", "int", "size", ",", "int", "aligned_p", ")", "{", "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", ")", ";", "return", "true", ";", "}", "return", "default_assemble_integer", "(", "x", ",", "size", ",", "aligned_p", ")", ";", "}", ""], "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": "pa4", "Func": "pa_assemble_integer", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18688, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "Mips64GOT", "::", "emit", "(", "MemoryRegion", "&", "pRegion", ")", "{", "uint64_t", "*", "buffer", "=", "reinterpret_cast", "<", "uint64_t", "*", ">", "(", "pRegion", ".", "begin", "(", ")", ")", ";", "uint64_t", "result", "=", "0", ";", "for", "(", "iterator", "it", "=", "begin", "(", ")", ",", "ie", "=", "end", "(", ")", ";", "it", "!=", "ie", ";", "++", "it", ",", "++", "buffer", ")", "{", "Mips64GOTEntry", "*", "got", "=", "&", "(", "llvm", "::", "cast", "<", "Mips64GOTEntry", ">", "(", "(", "*", "it", ")", ")", ")", ";", "*", "buffer", "=", "static_cast", "<", "uint64_t", ">", "(", "got", "->", "getValue", "(", ")", ")", ";", "result", "+=", "got", "->", "size", "(", ")", ";", "}", "return", "result", ";", "}", ""], "natrual_language": ["Output", "the", "remark", "via", "the", "diagnostic", "handler", "and", "to", "the", "optimization", "record", "file", "."], "TS_V_token": ["Mips", "Mips", "0", "Mips", "Mips"], "File": "MipsGOT", "Func": "emit", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18689, "Length": 106, "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", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "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": "MipsSubtarget66", "Func": "MipsSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18690, "Length": 464, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "if", "(", "IDVal", "==", "\".word\"", ")", "return", "ParseDirectiveWord", "(", "2", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "if", "(", "IDVal", "==", "\".llong\"", ")", "return", "ParseDirectiveWord", "(", "8", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "if", "(", "IDVal", "==", "\".tc\"", ")", "return", "ParseDirectiveTC", "(", "isPPC64", "(", ")", "?", "8", ":", "4", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "if", "(", "IDVal", "==", "\".machine\"", ")", "return", "ParseDirectiveMachine", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["PowerPC", "PPC", "\".word\"", "2", "\".llong\"", "8", "\".tc\"", "PPC", "8", "4", "\".machine\""], "File": "PPCAsmParser14", "Func": "ParseDirective", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18691, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "ExtAddrMode", ">", "X86InstrInfo", "::", "getAddrModeFromMemoryOp", "(", "const", "MachineInstr", "&", "MemI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "const", "MCInstrDesc", "&", "Desc", "=", "MemI", ".", "getDesc", "(", ")", ";", "int", "MemRefBegin", "=", "X86II", "::", "getMemoryOperandNo", "(", "Desc", ".", "TSFlags", ")", ";", "if", "(", "MemRefBegin", "<", "0", ")", "return", "None", ";", "MemRefBegin", "+=", "X86II", "::", "getOperandBias", "(", "Desc", ")", ";", "auto", "&", "BaseOp", "=", "MemI", ".", "getOperand", "(", "MemRefBegin", "+", "X86", "::", "AddrBaseReg", ")", ";", "if", "(", "!", "BaseOp", ".", "isReg", "(", ")", ")", "return", "None", ";", "const", "MachineOperand", "&", "DispMO", "=", "MemI", ".", "getOperand", "(", "MemRefBegin", "+", "X86", "::", "AddrDisp", ")", ";", "if", "(", "!", "DispMO", ".", "isImm", "(", ")", ")", "return", "None", ";", "ExtAddrMode", "AM", ";", "AM", ".", "BaseReg", "=", "BaseOp", ".", "getReg", "(", ")", ";", "AM", ".", "ScaledReg", "=", "MemI", ".", "getOperand", "(", "MemRefBegin", "+", "X86", "::", "AddrIndexReg", ")", ".", "getReg", "(", ")", ";", "AM", ".", "Scale", "=", "MemI", ".", "getOperand", "(", "MemRefBegin", "+", "X86", "::", "AddrScaleAmt", ")", ".", "getImm", "(", ")", ";", "AM", ".", "Displacement", "=", "DispMO", ".", "getImm", "(", ")", ";", "return", "AM", ";", "}", ""], "natrual_language": ["Target", "dependent", "implementation", "to", "get", "the", "values", "constituting", "the", "address", "MachineInstr", "that", "is", "accessing", "memory", "."], "TS_V_token": ["X86", "X86", "X86II::getMemoryOperandNo", "0", "X86II::getOperandBias", "X86::AddrBaseReg", "X86::AddrDisp", "X86::AddrIndexReg", "X86::AddrScaleAmt"], "File": "X86InstrInfo (2)3", "Func": "getAddrModeFromMemoryOp", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18692, "Length": 181, "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": 18693, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_pad_arg_upward", "(", "enum", "machine_mode", "mode", ",", "tree", "type", ")", "{", "if", "(", "!", "TARGET_AAPCS_BASED", ")", "return", "DEFAULT_FUNCTION_ARG_PADDING", "(", "mode", ",", "type", ")", "==", "upward", ";", "if", "(", "type", "&&", "BYTES_BIG_ENDIAN", "&&", "INTEGRAL_TYPE_P", "(", "type", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["For", "use", "by", "FUNCTION_ARG_PADDING", "(", "MODE", ",", "TYPE", ")", ".", "Return", "true", "if", "an", "argument", "passed", "on", "the", "stack", "should", "be", "padded", "upwards", ",", "i.e", ".", "if", "the", "least-significant", "byte", "has", "useful", "data", ".", "For", "legacy", "APCS", "ABIs", "we", "use", "the", "default", ".", "For", "AAPCS", "based", "ABIs", "small", "aggregate", "types", "are", "placed", "in", "the", "lowest", "memory", "address", "."], "TS_V_token": ["arm"], "File": "arm3", "Func": "arm_pad_arg_upward", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18694, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "shouldAlignPointerArgs", "(", "CallInst", "*", "CI", ",", "unsigned", "&", "MinSize", ",", "unsigned", "&", "PrefAlign", ")", "const", "{", "if", "(", "!", "isa", "<", "MemIntrinsic", ">", "(", "CI", ")", ")", "return", "false", ";", "MinSize", "=", "8", ";", "PrefAlign", "=", "(", "Subtarget", "->", "hasV6Ops", "(", ")", "&&", "!", "Subtarget", "->", "isMClass", "(", ")", "?", "8", ":", "4", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "pointer", "arguments", "to", "CI", "should", "be", "aligned", "by", "aligning", "the", "object", "whose", "address", "is", "being", "passed", "."], "TS_V_token": ["ARM", "ARM", "8", "8", "4"], "File": "ARMISelLowering (2)2", "Func": "shouldAlignPointerArgs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18695, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "findCommutedOpIndices", "(", "MachineInstr", "*", "MI", ",", "unsigned", "&", "SrcOpIdx1", ",", "unsigned", "&", "SrcOpIdx2", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "X86", "::", "BLENDPDrri", ":", "case", "X86", "::", "BLENDPSrri", ":", "case", "X86", "::", "PBLENDWrri", ":", "case", "X86", "::", "VBLENDPDrri", ":", "case", "X86", "::", "VBLENDPSrri", ":", "case", "X86", "::", "VBLENDPDYrri", ":", "case", "X86", "::", "VBLENDPSYrri", ":", "case", "X86", "::", "VPBLENDDrri", ":", "case", "X86", "::", "VPBLENDDYrri", ":", "case", "X86", "::", "VPBLENDWrri", ":", "case", "X86", "::", "VPBLENDWYrri", ":", "SrcOpIdx1", "=", "1", ";", "SrcOpIdx2", "=", "2", ";", "return", "true", ";", "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::BLENDPDrri", "X86::BLENDPSrri", "X86::PBLENDWrri", "X86::VBLENDPDrri", "X86::VBLENDPSrri", "X86::VBLENDPDYrri", "X86::VBLENDPSYrri", "X86::VPBLENDDrri", "X86::VPBLENDDYrri", "X86::VPBLENDWrri", "X86::VPBLENDWYrri", "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": "X86InstrInfo110", "Func": "findCommutedOpIndices", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18696, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "opt_machine_mode", "arm_get_mask_mode", "(", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_HAVE_MVE", ")", "return", "arm_mode_to_pred_mode", "(", "mode", ")", ";", "return", "default_get_mask_mode", "(", "mode", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VECTORIZE_GET_MASK_MODE", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_get_mask_mode", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18697, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "shouldExpandAtomicStoreInIR", "(", "StoreInst", "*", "SI", ")", "const", "{", "unsigned", "Size", "=", "SI", "->", "getValueOperand", "(", ")", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "Size", "!=", "128", ")", "return", "false", ";", "return", "!", "isOpSuitableForLDPSTP", "(", "SI", ")", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "(", "atomic", ")", "store", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "into", "."], "TS_V_token": ["AArch64", "AArch64", "128"], "File": "AArch64ISelLowering (2)2", "Func": "shouldExpandAtomicStoreInIR", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18698, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1RegisterInfo", "::", "saveScavengerRegister", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "MachineBasicBlock", "::", "iterator", "&", "UseMI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "unsigned", "Reg", ")", "const", "{", "DebugLoc", "DL", ";", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", ".", "get", "(", "ARM", "::", "tMOVr", ")", ")", ".", "addReg", "(", "ARM", "::", "R12", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ")", ";", "bool", "done", "=", "false", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "II", "=", "I", ";", "!", "done", "&&", "II", "!=", "UseMI", ";", "++", "II", ")", "{", "if", "(", "II", "->", "isDebugValue", "(", ")", ")", "continue", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "II", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "const", "MachineOperand", "&", "MO", "=", "II", "->", "getOperand", "(", "i", ")", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", "||", "MO", ".", "isUndef", "(", ")", "||", "!", "MO", ".", "getReg", "(", ")", "||", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "MO", ".", "getReg", "(", ")", ")", ")", "continue", ";", "if", "(", "MO", ".", "getReg", "(", ")", "==", "ARM", "::", "R12", ")", "{", "UseMI", "=", "II", ";", "done", "=", "true", ";", "break", ";", "}", "}", "}", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "UseMI", ",", "DL", ",", "TII", ".", "get", "(", "ARM", "::", "tMOVr", ")", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "ARM", "::", "R12", ",", "RegState", "::", "Kill", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Spill", "the", "register", "so", "it", "can", "be", "used", "by", "the", "register", "scavenger", "."], "TS_V_token": ["ARM", "ARM::tMOVr", "ARM::R12", "0", "ARM::R12", "ARM::tMOVr", "ARM::R12"], "File": "Thumb1RegisterInfo17", "Func": "saveScavengerRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18699, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "PPCRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "PPCFrameLowering", "*", "PPCFI", "=", "static_cast", "<", "const", "PPCFrameLowering", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "ZERO", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "ZERO8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "FP", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "FP8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "CTR", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "CTR8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R1", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "RM", ")", ";", "if", "(", "!", "Subtarget", ".", "isDarwinABI", "(", ")", "||", "!", "Subtarget", ".", "hasAltivec", "(", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "VRSAVE", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R2", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R13", ")", ";", "}", "if", "(", "Subtarget", ".", "isPPC64", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R13", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X1", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X13", ")", ";", "if", "(", "PPCFI", "->", "needsFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "X31", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "X2", ")", ";", "}", "}", "if", "(", "PPCFI", "->", "needsFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "R31", ")", ";", "if", "(", "!", "Subtarget", ".", "hasAltivec", "(", ")", ")", "for", "(", "TargetRegisterClass", "::", "iterator", "I", "=", "PPC", "::", "VRRCRegClass", ".", "begin", "(", ")", ",", "IE", "=", "PPC", "::", "VRRCRegClass", ".", "end", "(", ")", ";", "I", "!=", "IE", ";", "++", "I", ")", "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": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC::ZERO", "PPC::ZERO8", "PPC::FP", "PPC::FP8", "PPC::CTR", "PPC::CTR8", "PPC::R1", "PPC::LR", "PPC::LR8", "PPC::RM", "PPC::VRSAVE", "PPC::R2", "PPC::R13", "PPC", "PPC::R13", "PPC::X1", "PPC::X13", "PPC", "PPC::X31", "PPC::X2", "PPC", "PPC::R31", "PPC::VRRCRegClass", "PPC::VRRCRegClass"], "File": "PPCRegisterInfo19", "Func": "getReservedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18700, "Length": 331, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86RegisterInfo", "::", "canRealignStack", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "MachineRegisterInfo", "*", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "if", "(", "!", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "RealignStack", ")", "return", "false", ";", "if", "(", "!", "MRI", "->", "canReserveReg", "(", "FramePtr", ")", ")", "return", "false", ";", "if", "(", "MFI", "->", "hasVarSizedObjects", "(", ")", ")", "return", "MRI", "->", "canReserveReg", "(", "BasePtr", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["True", "if", "the", "stack", "can", "be", "realigned", "for", "the", "target", "."], "TS_V_token": ["X86", "X86"], "File": "X86RegisterInfo24", "Func": "canRealignStack", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18701, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetLowering", "::", "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": ["Mips", "Mips"], "File": "MipsISelLowering (2)", "Func": "isOffsetFoldingLegal", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18702, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseInstrInfo", "::", "getPartialRegUpdateClearance", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "OpNum", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "auto", "PartialUpdateClearance", "=", "Subtarget", ".", "getPartialUpdateClearance", "(", ")", ";", "if", "(", "!", "PartialUpdateClearance", ")", "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", "=", "3", ";", "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", "PartialUpdateClearance", ";", "}", ""], "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", "3", "0", "1", "0", "0", "ARM::SPRRegClass", "ARM::ssub_0", "ARM::DPRRegClass", "0"], "File": "ARMBaseInstrInfo (2)2", "Func": "getPartialRegUpdateClearance", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18703, "Length": 269, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StackOffset", "SystemZFrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "Register", "&", "FrameReg", ")", "const", "{", "StackOffset", "Offset", "=", "TargetFrameLowering", "::", "getFrameIndexReference", "(", "MF", ",", "FI", ",", "FrameReg", ")", ";", "return", "Offset", "+", "StackOffset", "::", "getFixed", "(", "SystemZMC", "::", "CallFrameSize", ")", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZMC::CallFrameSize"], "File": "SystemZFrameLowering3", "Func": "getFrameIndexReference", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18704, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sh_symbian_mark_dllexport", "(", "tree", "decl", ")", "{", "const", "char", "*", "oldname", ";", "char", "*", "newname", ";", "rtx", "rtlname", ";", "tree", "idp", ";", "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", ")", ";", "if", "(", "sh_symbian_dllimport_name_p", "(", "oldname", ")", ")", "{", "oldname", "+=", "strlen", "(", "DLL_IMPORT_PREFIX", ")", ";", "DECL_NON_ADDR_CONST_P", "(", "decl", ")", "=", "0", ";", "}", "else", "if", "(", "sh_symbian_dllexport_name_p", "(", "oldname", ")", ")", "return", ";", "newname", "=", "alloca", "(", "strlen", "(", "DLL_EXPORT_PREFIX", ")", "+", "strlen", "(", "oldname", ")", "+", "1", ")", ";", "sprintf", "(", "newname", ",", "\"%s%s\"", ",", "DLL_EXPORT_PREFIX", ",", "oldname", ")", ";", "idp", "=", "get_identifier", "(", "newname", ")", ";", "XEXP", "(", "DECL_RTL", "(", "decl", ")", ",", "0", ")", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "IDENTIFIER_POINTER", "(", "idp", ")", ")", ";", "}", ""], "natrual_language": ["Mark", "a", "DECL", "as", "being", "dllexport", "'d", ".", "Note", "that", "we", "override", "the", "previous", "setting", "(", "e.g", ".", ":", "dllimport", ")", "."], "TS_V_token": ["sh", "0", "0", "0", "0", "1", "\"%s%s\"", "0"], "File": "symbian", "Func": "sh_symbian_mark_dllexport", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18705, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "IA64RegisterInfo", "::", "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", "(", ")", ";", "DebugLoc", "dl", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "bool", "FP", "=", "hasFP", "(", "MF", ")", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "getIndex", "(", ")", ";", "unsigned", "BaseRegister", "=", "FP", "?", "IA64", "::", "r5", ":", "IA64", "::", "r12", ";", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "BaseRegister", ",", "false", ")", ";", "int", "Offset", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FrameIndex", ")", ";", "Offset", "+=", "MF", ".", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "if", "(", "Offset", "<=", "8191", "&&", "Offset", ">=", "-", "8192", ")", "{", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "IA64", "::", "r22", ",", "false", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "IA64", "::", "ADDIMM22", ")", ",", "IA64", "::", "r22", ")", ".", "addReg", "(", "BaseRegister", ")", ".", "addImm", "(", "Offset", ")", ";", "}", "else", "{", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "IA64", "::", "r22", ",", "false", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "IA64", "::", "MOVLIMM64", ")", ",", "IA64", "::", "r22", ")", ".", "addImm", "(", "Offset", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "IA64", "::", "ADD", ")", ",", "IA64", "::", "r22", ")", ".", "addReg", "(", "BaseRegister", ")", ".", "addReg", "(", "IA64", "::", "r22", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["IA64", "IA64", "0", "\"Unexpected\"", "0", "\"Instr doesn't have FrameIndex operand!\"", "IA64::r5", "IA64::r12", "8191", "8192", "IA64::r22", "IA64::ADDIMM22", "IA64::r22", "IA64::r22", "IA64::MOVLIMM64", "IA64::r22", "IA64::ADD", "IA64::r22", "IA64::r22"], "File": "IA64RegisterInfo", "Func": "eliminateFrameIndex", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18706, "Length": 320, "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": 18707, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "mips16_call_stub_mode_suffix", "(", "machine_mode", "mode", ")", "{", "if", "(", "mode", "==", "SFmode", ")", "return", "\"sf\"", ";", "else", "if", "(", "mode", "==", "DFmode", ")", "return", "\"df\"", ";", "else", "if", "(", "mode", "==", "SCmode", ")", "return", "\"sc\"", ";", "else", "if", "(", "mode", "==", "DCmode", ")", "return", "\"dc\"", ";", "else", "if", "(", "mode", "==", "V2SFmode", ")", "{", "gcc_assert", "(", "TARGET_PAIRED_SINGLE_FLOAT", ")", ";", "return", "\"df\"", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "two-character", "string", "that", "identifies", "floating-point", "return", "mode", "MODE", "in", "the", "name", "of", "a", "MIPS16", "function", "stub", "."], "TS_V_token": ["mips", "\"sf\"", "\"df\"", "\"sc\"", "\"dc\"", "\"df\""], "File": "mips", "Func": "mips16_call_stub_mode_suffix", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18708, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseTargetMachine", "::", "addPreRegAlloc", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "!", "Subtarget", ".", "isThumb1Only", "(", ")", ")", "PM", ".", "add", "(", "createARMLoadStoreOptimizationPass", "(", "true", ")", ")", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "Subtarget", ".", "isCortexA9", "(", ")", ")", "PM", ".", "add", "(", "createMLxExpansionPass", "(", ")", ")", ";", "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"], "File": "ARMTargetMachine87", "Func": "addPreRegAlloc", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18709, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "insn_uses_reg_mem", "(", "unsigned", "int", "regno", ",", "rtx", "insn", ")", "{", "df_ref", "use", ";", "FOR_EACH_INSN_USE", "(", "use", ",", "insn", ")", "if", "(", "DF_REF_REG_MEM_P", "(", "use", ")", "&&", "regno", "==", "DF_REF_REGNO", "(", "use", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Function", "checks", "if", "instruction", "INSN", "uses", "register", "number", "REGNO", "as", "a", "part", "of", "address", "expression", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "insn_uses_reg_mem", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18710, "Length": 42, "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", ")", ";", "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": "X86FloatingPoint23", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18711, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "i386_pe_strip_name_encoding_full", "(", "const", "char", "*", "str", ")", "{", "const", "char", "*", "p", ";", "const", "char", "*", "name", "=", "default_strip_name_encoding", "(", "str", ")", ";", "if", "(", "*", "name", "==", "'@'", ")", "name", "++", ";", "p", "=", "strchr", "(", "name", ",", "'@'", ")", ";", "if", "(", "p", ")", "return", "ggc_alloc_string", "(", "name", ",", "p", "-", "name", ")", ";", "return", "name", ";", "}", ""], "natrual_language": ["Also", "strip", "the", "fastcall", "prefix", "and", "stdcall", "suffix", "."], "TS_V_token": ["i386"], "File": "winnt", "Func": "i386_pe_strip_name_encoding_full", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18712, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rs6000_init_stack_protect_guard", "(", "void", ")", "{", "if", "(", "rs6000_stack_protector_guard", "==", "SSP_GLOBAL", ")", "return", "default_stack_protect_guard", "(", ")", ";", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Only", "create", "the", "global", "variable", "for", "the", "stack", "protect", "guard", "if", "we", "are", "using", "the", "global", "flavor", "of", "that", "guard", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_init_stack_protect_guard", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18713, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"DLX DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["DLX", "\"DLX DAG->DAG Pattern Instruction Selection\""], "File": "DLXISelDAGToDAG", "Func": "getPassName", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18714, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "MachineBranchProbabilityInfo", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["Mips"], "File": "MipsDelaySlotFiller", "Func": "getAnalysisUsage", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18715, "Length": 27, "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", "'f'", ":", "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": "SparcAsmPrinter12", "Func": "PrintAsmOperand", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18716, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "getOpcode_EXTEND", "(", "unsigned", "Opcode", ")", "{", "switch", "(", "Opcode", ")", "{", "case", "ISD", "::", "ANY_EXTEND", ":", "case", "ISD", "::", "ANY_EXTEND_VECTOR_INREG", ":", "return", "ISD", "::", "ANY_EXTEND", ";", "case", "ISD", "::", "ZERO_EXTEND", ":", "case", "ISD", "::", "ZERO_EXTEND_VECTOR_INREG", ":", "return", "ISD", "::", "ZERO_EXTEND", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "case", "ISD", "::", "SIGN_EXTEND_VECTOR_INREG", ":", "return", "ISD", "::", "SIGN_EXTEND", ";", "}", "llvm_unreachable", "(", "\"Unknown opcode\"", ")", ";", "}", ""], "natrual_language": ["Convert", "*", "_EXTEND_VECTOR_INREG", "to", "*", "_EXTEND", "opcode", "."], "TS_V_token": ["X86", "ISD::ANY_EXTEND", "ISD::ANY_EXTEND_VECTOR_INREG", "ISD::ANY_EXTEND", "ISD::ZERO_EXTEND", "ISD::ZERO_EXTEND_VECTOR_INREG", "ISD::ZERO_EXTEND", "ISD::SIGN_EXTEND", "ISD::SIGN_EXTEND_VECTOR_INREG", "ISD::SIGN_EXTEND", "\"Unknown opcode\""], "File": "X86ISelLowering (2)5", "Func": "getOpcode_EXTEND", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18717, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "expand_vselect_vconcat", "(", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ",", "const", "unsigned", "char", "*", "perm", ",", "unsigned", "nelt", ")", "{", "machine_mode", "v2mode", ";", "rtx", "x", ";", "v2mode", "=", "GET_MODE_2XWIDER_MODE", "(", "GET_MODE", "(", "op0", ")", ")", ";", "x", "=", "gen_rtx_VEC_CONCAT", "(", "v2mode", ",", "op0", ",", "op1", ")", ";", "return", "expand_vselect", "(", "target", ",", "x", ",", "perm", ",", "nelt", ")", ";", "}", ""], "natrual_language": ["Similar", ",", "but", "generate", "a", "vec_concat", "from", "op0", "and", "op1", "as", "well", "."], "TS_V_token": ["ia64"], "File": "ia644", "Func": "expand_vselect_vconcat", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18718, "Length": 63, "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": 18719, "Length": 48, "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": 18720, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsSEFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MipsFunctionInfo", "*", "MipsFI", "=", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "MipsABIInfo", "ABI", "=", "STI", ".", "getABI", "(", ")", ";", "unsigned", "RA", "=", "ABI", ".", "GetReturnAddress", "(", ")", ";", "unsigned", "FP", "=", "ABI", ".", "GetFramePtr", "(", ")", ";", "unsigned", "BP", "=", "ABI", ".", "GetBasePtr", "(", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "setAliasRegs", "(", "MF", ",", "SavedRegs", ",", "RA", ")", ";", "setAliasRegs", "(", "MF", ",", "SavedRegs", ",", "FP", ")", ";", "}", "if", "(", "hasBP", "(", "MF", ")", ")", "setAliasRegs", "(", "MF", ",", "SavedRegs", ",", "BP", ")", ";", "if", "(", "MipsFI", "->", "callsEhReturn", "(", ")", ")", "MipsFI", "->", "createEhDataRegsFI", "(", "MF", ")", ";", "if", "(", "MipsFI", "->", "isISR", "(", ")", ")", "MipsFI", "->", "createISRRegFI", "(", "MF", ")", ";", "if", "(", "ExpandPseudo", "(", "MF", ")", ".", "expand", "(", ")", ")", "{", "const", "TargetRegisterClass", "&", "RC", "=", "STI", ".", "isGP64bit", "(", ")", "?", "Mips", "::", "GPR64RegClass", ":", "Mips", "::", "GPR32RegClass", ";", "int", "FI", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "CreateStackObject", "(", "TRI", "->", "getSpillSize", "(", "RC", ")", ",", "TRI", "->", "getSpillAlign", "(", "RC", ")", ",", "false", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "FI", ")", ";", "}", "uint64_t", "MaxSPOffset", "=", "estimateStackSize", "(", "MF", ")", ";", "if", "(", "STI", ".", "isCheri", "(", ")", ")", "{", "if", "(", "STI", ".", "isABI_CheriPureCap", "(", ")", ")", "{", "if", "(", "isInt", "<", "10", ">", "(", "MaxSPOffset", ")", ")", "return", ";", "}", "else", "if", "(", "isInt", "<", "15", ">", "(", "MaxSPOffset", ")", ")", "return", ";", "}", "else", "if", "(", "isIntN", "(", "STI", ".", "hasMSA", "(", ")", "?", "10", ":", "16", ",", "MaxSPOffset", ")", "&&", "!", "MF", ".", "getFrameInfo", "(", ")", ".", "hasVarSizedObjects", "(", ")", ")", "return", ";", "const", "TargetRegisterClass", "&", "RC", "=", "ABI", ".", "ArePtrs64bit", "(", ")", "?", "Mips", "::", "GPR64RegClass", ":", "Mips", "::", "GPR32RegClass", ";", "int", "FI", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "CreateStackObject", "(", "TRI", "->", "getSpillSize", "(", "RC", ")", ",", "TRI", "->", "getSpillAlign", "(", "RC", ")", ",", "false", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "FI", ")", ";", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::GPR64RegClass", "Mips::GPR32RegClass", "10", "15", "10", "16", "Mips::GPR64RegClass", "Mips::GPR32RegClass"], "File": "MipsSEFrameLowering40", "Func": "determineCalleeSaves", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18721, "Length": 373, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "X86TargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "IsZeroVal", ",", "bool", "MemcpyStrSrc", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "IsZeroVal", "&&", "!", "F", "->", "getFnAttributes", "(", ")", ".", "hasAttribute", "(", "Attributes", "::", "NoImplicitFloat", ")", ")", "{", "if", "(", "Size", ">=", "16", "&&", "(", "Subtarget", "->", "isUnalignedMemAccessFast", "(", ")", "||", "(", "(", "DstAlign", "==", "0", "||", "DstAlign", ">=", "16", ")", "&&", "(", "SrcAlign", "==", "0", "||", "SrcAlign", ">=", "16", ")", ")", ")", ")", "{", "if", "(", "Size", ">=", "32", ")", "{", "if", "(", "Subtarget", "->", "hasInt256", "(", ")", ")", "return", "MVT", "::", "v8i32", ";", "if", "(", "Subtarget", "->", "hasFp256", "(", ")", ")", "return", "MVT", "::", "v8f32", ";", "}", "if", "(", "Subtarget", "->", "hasSSE2", "(", ")", ")", "return", "MVT", "::", "v4i32", ";", "if", "(", "Subtarget", "->", "hasSSE1", "(", ")", ")", "return", "MVT", "::", "v4f32", ";", "}", "else", "if", "(", "!", "MemcpyStrSrc", "&&", "Size", ">=", "8", "&&", "!", "Subtarget", "->", "is64Bit", "(", ")", "&&", "Subtarget", "->", "hasSSE2", "(", ")", ")", "{", "return", "MVT", "::", "f64", ";", "}", "}", "if", "(", "Subtarget", "->", "is64Bit", "(", ")", "&&", "Size", ">=", "8", ")", "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": ["X86", "X86", "16", "0", "16", "0", "16", "32", "MVT::v8i32", "MVT::v8f32", "MVT::v4i32", "MVT::v4f32", "8", "MVT::f64", "8", "MVT::i64", "MVT::i32"], "File": "X86ISelLowering178", "Func": "getOptimalMemOpType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18722, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLegalMaskedScatter", "(", "Type", "*", "Ty", ",", "Align", "Alignment", ")", "{", "return", "isLegalMaskedGather", "(", "Ty", ",", "Alignment", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "scatter", "."], "TS_V_token": ["ARM"], "File": "ARMTargetTransformInfo (2)1", "Func": "isLegalMaskedScatter", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18723, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "unsigned", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "{", "if", "(", "PPCSubTarget", ".", "isSVR4ABI", "(", ")", "&&", "!", "PPCSubTarget", ".", "isPPC64", "(", ")", ")", "{", "return", "LowerFormalArguments_SVR4", "(", "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": "PPCISelLowering70", "Func": "LowerFormalArguments", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18724, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCDispatchGroupSBHazardRecognizer", "::", "RecedeCycle", "(", ")", "{", "llvm_unreachable", "(", "\"Bottom-up scheduling not supported\"", ")", ";", "}", ""], "natrual_language": ["RecedeCycle", "-", "This", "callback", "is", "invoked", "whenever", "the", "next", "bottom-up", "instruction", "to", "be", "scheduled", "can", "not", "issue", "in", "the", "current", "cycle", ",", "either", "because", "of", "latency", "or", "resource", "conflicts", "."], "TS_V_token": ["PowerPC", "PPC", "\"Bottom-up scheduling not supported\""], "File": "PPCHazardRecognizers", "Func": "RecedeCycle", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18725, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64AsmPrinter", "::", "emitEndOfAsmFile", "(", "Module", "&", "M", ")", "{", "emitHwasanMemaccessSymbols", "(", "M", ")", ";", "const", "Triple", "&", "TT", "=", "TM", ".", "getTargetTriple", "(", ")", ";", "if", "(", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "{", "MachineModuleInfoMachO", "&", "MMIMacho", "=", "MMI", "->", "getObjFileInfo", "<", "MachineModuleInfoMachO", ">", "(", ")", ";", "auto", "Stubs", "=", "MMIMacho", ".", "getAuthGVStubList", "(", ")", ";", "if", "(", "!", "Stubs", ".", "empty", "(", ")", ")", "{", "OutStreamer", "->", "SwitchSection", "(", "OutContext", ".", "getMachOSection", "(", "\"__DATA\"", ",", "\"__auth_ptr\"", ",", "MachO", "::", "S_REGULAR", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ")", ";", "emitAlignment", "(", "Align", "(", "8", ")", ")", ";", "for", "(", "auto", "&", "Stub", ":", "Stubs", ")", "emitAuthenticatedPointer", "(", "*", "OutStreamer", ",", "Stub", ".", "first", ",", "Stub", ".", "second", ")", ";", "OutStreamer", "->", "AddBlankLine", "(", ")", ";", "}", "OutStreamer", "->", "emitAssemblerFlag", "(", "MCAF_SubsectionsViaSymbols", ")", ";", "}", "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": ["AArch64", "AArch64", "\"__DATA\"", "\"__auth_ptr\"", "8"], "File": "AArch64AsmPrinter41", "Func": "emitEndOfAsmFile", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18726, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "Cpu0RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "static", "const", "uint16_t", "CalleeSavedRegs", "[", "]", "=", "{", "0", "}", ";", "return", "CalleeSavedRegs", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["Cpu0", "Cpu0", "0"], "File": "Cpu0RegisterInfo1", "Func": "getCalleeSavedRegs", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18727, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "generate_host_descr_file", "(", "const", "char", "*", "host_compiler", ")", "{", "const", "char", "*", "src_filename", "=", "make_temp_file", "(", "\"_host_descr.c\"", ")", ";", "const", "char", "*", "obj_filename", "=", "make_temp_file", "(", "\"_host_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 void *__OFFLOAD_TABLE__;\\n\"", "\"extern void *__offload_image_intelmic_start;\\n\"", "\"extern void *__offload_image_intelmic_end;\\n\\n\"", "\"static const void *__offload_target_data[] = {\\n\"", "\" &__offload_image_intelmic_start, &__offload_image_intelmic_end\\n\"", "\"};\\n\\n\"", ")", ";", "fprintf", "(", "src_file", ",", "\"#ifdef __cplusplus\\n\"", "\"extern \\\"C\\\"\\n\"", "\"#endif\\n\"", "\"void GOMP_offload_register (void *, int, void *);\\n\"", "\"#ifdef __cplusplus\\n\"", "\"extern \\\"C\\\"\\n\"", "\"#endif\\n\"", "\"void GOMP_offload_unregister (void *, int, void *);\\n\\n\"", "\"__attribute__((constructor))\\n\"", "\"static void\\n\"", "\"init (void)\\n\"", "\"{\\n\"", "\" GOMP_offload_register (&__OFFLOAD_TABLE__, %d, __offload_target_data);\\n\"", "\"}\\n\\n\"", ",", "GOMP_DEVICE_INTEL_MIC", ")", ";", "fprintf", "(", "src_file", ",", "\"__attribute__((destructor))\\n\"", "\"static void\\n\"", "\"fini (void)\\n\"", "\"{\\n\"", "\" GOMP_offload_unregister (&__OFFLOAD_TABLE__, %d, __offload_target_data);\\n\"", "\"}\\n\"", ",", "GOMP_DEVICE_INTEL_MIC", ")", ";", "fclose", "(", "src_file", ")", ";", "unsigned", "new_argc", "=", "0", ";", "const", "char", "*", "new_argv", "[", "9", "]", ";", "new_argv", "[", "new_argc", "++", "]", "=", "host_compiler", ";", "new_argv", "[", "new_argc", "++", "]", "=", "\"-c\"", ";", "new_argv", "[", "new_argc", "++", "]", "=", "\"-fPIC\"", ";", "new_argv", "[", "new_argc", "++", "]", "=", "\"-shared\"", ";", "if", "(", "target_ilp32", ")", "new_argv", "[", "new_argc", "++", "]", "=", "\"-m32\"", ";", "else", "new_argv", "[", "new_argc", "++", "]", "=", "\"-m64\"", ";", "new_argv", "[", "new_argc", "++", "]", "=", "src_filename", ";", "new_argv", "[", "new_argc", "++", "]", "=", "\"-o\"", ";", "new_argv", "[", "new_argc", "++", "]", "=", "obj_filename", ";", "new_argv", "[", "new_argc", "++", "]", "=", "NULL", ";", "fork_execute", "(", "new_argv", "[", "0", "]", ",", "CONST_CAST", "(", "char", "*", "*", ",", "new_argv", ")", ",", "false", ")", ";", "return", "obj_filename", ";", "}", ""], "natrual_language": ["Generates", "object", "file", "with", "the", "host", "side", "descriptor", "."], "TS_V_token": ["i386", "\"_host_descr.c\"", "\"_host_descr.o\"", "\"w\"", "\"cannot open '%s'\"", "\"extern void *__OFFLOAD_TABLE__;\\n\"", "\"extern void *__offload_image_intelmic_start;\\n\"", "\"extern void *__offload_image_intelmic_end;\\n\\n\"", "\"static const void *__offload_target_data[] = {\\n\"", "\" &__offload_image_intelmic_start, &__offload_image_intelmic_end\\n\"", "\"};\\n\\n\"", "\"#ifdef __cplusplus\\n\"", "\"extern \\\"C\\\"\\n\"", "\"#endif\\n\"", "\"void GOMP_offload_register (void *, int, void *);\\n\"", "\"#ifdef __cplusplus\\n\"", "\"extern \\\"C\\\"\\n\"", "\"#endif\\n\"", "\"void GOMP_offload_unregister (void *, int, void *);\\n\\n\"", "\"__attribute__((constructor))\\n\"", "\"static void\\n\"", "\"init (void)\\n\"", "\"{\\n\"", "\" GOMP_offload_register (&__OFFLOAD_TABLE__, %d, __offload_target_data);\\n\"", "\"}\\n\\n\"", "\"__attribute__((destructor))\\n\"", "\"static void\\n\"", "\"fini (void)\\n\"", "\"{\\n\"", "\" GOMP_offload_unregister (&__OFFLOAD_TABLE__, %d, __offload_target_data);\\n\"", "\"}\\n\"", "0", "9", "\"-c\"", "\"-fPIC\"", "\"-shared\"", "\"-m32\"", "\"-m64\"", "\"-o\"", "0"], "File": "intelmic-mkoffload2", "Func": "generate_host_descr_file", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18728, "Length": 247, "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": 18729, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "vax_file_start", "(", "void", ")", "{", "default_file_start", "(", ")", ";", "if", "(", "write_symbols", "==", "DBX_DEBUG", ")", "fprintf", "(", "asm_out_file", ",", "\"___vax_%c_doubles:\\n\"", ",", "ASM_DOUBLE_CHAR", ")", ";", "}", ""], "natrual_language": ["When", "debugging", "with", "stabs", ",", "we", "want", "to", "output", "an", "extra", "dummy", "label", "so", "that", "gas", "can", "distinguish", "between", "D_float", "and", "G_float", "prior", "to", "processing", "the", ".stabs", "directive", "identifying", "type", "double", "."], "TS_V_token": ["vax", "\"___vax_%c_doubles:\\n\""], "File": "vax", "Func": "vax_file_start", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18730, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "AArch64TargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "IsMemset", ",", "bool", "ZeroMemset", ",", "bool", "MemcpyStrSrc", ",", "MachineFunction", "&", "MF", ")", "const", "{", "bool", "Fast", ";", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "Subtarget", "->", "hasFPARMv8", "(", ")", "&&", "!", "IsMemset", "&&", "Size", ">=", "16", "&&", "!", "F", "->", "getAttributes", "(", ")", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "NoImplicitFloat", ")", "&&", "(", "memOpAlign", "(", "SrcAlign", ",", "DstAlign", ",", "16", ")", "||", "(", "allowsMisalignedMemoryAccesses", "(", "MVT", "::", "f128", ",", "0", ",", "1", ",", "&", "Fast", ")", "&&", "Fast", ")", ")", ")", "return", "MVT", "::", "f128", ";", "return", "Size", ">=", "8", "?", "MVT", "::", "i64", ":", "MVT", "::", "i32", ";", "}", ""], "natrual_language": ["It", "returns", "EVT", ":", ":Other", "if", "the", "type", "should", "be", "determined", "using", "generic", "target-independent", "logic", "."], "TS_V_token": ["AArch64", "AArch64", "16", "16", "MVT::f128", "0", "1", "MVT::f128", "8", "MVT::i64", "MVT::i32"], "File": "AArch64ISelLowering117", "Func": "getOptimalMemOpType", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18731, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addRequired", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "FunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["ARM64"], "File": "ARM64AddressTypePromotion", "Func": "getAnalysisUsage", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18732, "Length": 42, "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", "(", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "SCS", ")", "report_fatal_error", "(", "\"ShadowCallStack attribute not supported on Darwin.\"", ")", ";", "return", "getDarwinCallPreservedMask", "(", "MF", ",", "CC", ")", ";", "}", "if", "(", "CC", "==", "CallingConv", "::", "AArch64_VectorCall", ")", "return", "SCS", "?", "CSR_AArch64_AAVPCS_SCS_RegMask", ":", "CSR_AArch64_AAVPCS_RegMask", ";", "if", "(", "CC", "==", "CallingConv", "::", "AArch64_SVE_VectorCall", ")", "return", "SCS", "?", "CSR_AArch64_SVE_AAPCS_SCS_RegMask", ":", "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", "::", "SwiftTail", ")", "{", "if", "(", "SCS", ")", "report_fatal_error", "(", "\"ShadowCallStack attribute not supported with swifttail\"", ")", ";", "return", "CSR_AArch64_AAPCS_SwiftTail_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", "\"ShadowCallStack attribute not supported on Darwin.\"", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "\"ShadowCallStack attribute not supported with swifttail\"", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64RegisterInfo25", "Func": "getCallPreservedMask", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18733, "Length": 229, "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", ".", "getTarget", "(", ")", ".", "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": "PPCRegisterInfo (2)", "Func": "lowerCRSpilling", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18734, "Length": 308, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "function_expander", "::", "get_reg_target", "(", ")", "{", "machine_mode", "target_mode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "TREE_TYPE", "(", "fndecl", ")", ")", ")", ";", "if", "(", "!", "possible_target", "||", "GET_MODE", "(", "possible_target", ")", "!=", "target_mode", ")", "possible_target", "=", "gen_reg_rtx", "(", "target_mode", ")", ";", "return", "possible_target", ";", "}", ""], "natrual_language": ["Return", "a", "REG", "rtx", "that", "can", "be", "used", "for", "the", "result", "of", "the", "function", ",", "using", "the", "preferred", "target", "if", "suitable", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "get_reg_target", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18735, "Length": 44, "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": 18736, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_mov_double_arm_from_fpa", "(", "rtx", "*", "operands", ")", "{", "int", "arm_reg0", "=", "REGNO", "(", "operands", "[", "0", "]", ")", ";", "rtx", "ops", "[", "2", "]", ";", "gcc_assert", "(", "arm_reg0", "!=", "IP_REGNUM", ")", ";", "ops", "[", "0", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "arm_reg0", ")", ";", "ops", "[", "1", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "1", "+", "arm_reg0", ")", ";", "output_asm_insn", "(", "\"stf%?d\\t%1, [%|sp, #-8]!\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"ldm%?fd\\t%|sp!, {%0, %1}\"", ",", "ops", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "a", "move", "from", "an", "fpa", "register", "to", "arm", "registers", ".", "OPERANDS", "[", "0", "]", "is", "the", "first", "registers", "of", "an", "arm", "register", "pair", ".", "OPERANDS", "[", "1", "]", "is", "an", "fpa", "register", "."], "TS_V_token": ["arm", "0", "2", "0", "1", "1", "\"stf%?d\\t%1, [%|sp, #-8]!\"", "\"ldm%?fd\\t%|sp!, {%0, %1}\"", "\"\""], "File": "arm3", "Func": "output_mov_double_arm_from_fpa", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18737, "Length": 78, "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", "(", ")", ";", "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": "AArch64RedundantCopyElimination12", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18738, "Length": 71, "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", ":", "case", "G_SDIV", ":", "case", "G_UDIV", ":", "case", "G_SREM", ":", "case", "G_UREM", ":", "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", ";", "case", "G_SELECT", ":", "OperandsMapping", "=", "getOperandsMapping", "(", "{", "&", "Mips", "::", "ValueMappings", "[", "Mips", "::", "GPRIdx", "]", ",", "&", "Mips", "::", "ValueMappings", "[", "Mips", "::", "GPRIdx", "]", ",", "&", "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", "Mips::ValueMappings", "Mips::GPRIdx", "Mips::ValueMappings", "Mips::GPRIdx", "Mips::ValueMappings", "Mips::GPRIdx", "Mips::ValueMappings", "Mips::GPRIdx", "1"], "File": "MipsRegisterBankInfo", "Func": "getInstrMapping", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18739, "Length": 284, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_expand_int_compare", "(", "enum", "rtx_code", "code", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "enum", "machine_mode", "cmpmode", ";", "rtx", "tmp", ",", "flags", ";", "cmpmode", "=", "SELECT_CC_MODE", "(", "code", ",", "op0", ",", "op1", ")", ";", "flags", "=", "gen_rtx_REG", "(", "cmpmode", ",", "FLAGS_REG", ")", ";", "tmp", "=", "gen_rtx_COMPARE", "(", "cmpmode", ",", "op0", ",", "op1", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "flags", ",", "tmp", ")", ")", ";", "return", "gen_rtx_fmt_ee", "(", "code", ",", "VOIDmode", ",", "flags", ",", "const0_rtx", ")", ";", "}", ""], "natrual_language": ["Generate", "insn", "patterns", "to", "do", "an", "integer", "compare", "of", "OPERANDS", "."], "TS_V_token": ["i386"], "File": "i3863", "Func": "ix86_expand_int_compare", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18740, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_split_stlf_stall_load", "(", ")", "{", "rtx_insn", "*", "insn", ",", "*", "start", "=", "get_insns", "(", ")", ";", "unsigned", "window", "=", "0", ";", "for", "(", "insn", "=", "start", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "if", "(", "!", "NONDEBUG_INSN_P", "(", "insn", ")", ")", "continue", ";", "window", "++", ";", "if", "(", "window", ">", "(", "unsigned", ")", "x86_stlf_window_ninsns", ")", "return", ";", "if", "(", "any_uncondjump_p", "(", "insn", ")", "||", "ANY_RETURN_P", "(", "PATTERN", "(", "insn", ")", ")", "||", "CALL_P", "(", "insn", ")", ")", "return", ";", "rtx", "set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "!", "set", ")", "continue", ";", "rtx", "src", "=", "SET_SRC", "(", "set", ")", ";", "if", "(", "!", "MEM_P", "(", "src", ")", "||", "GET_MODE", "(", "src", ")", "!=", "E_V2DFmode", "||", "!", "MEM_EXPR", "(", "src", ")", "||", "TREE_CODE", "(", "get_base_address", "(", "MEM_EXPR", "(", "src", ")", ")", ")", "!=", "PARM_DECL", ")", "continue", ";", "rtx", "zero", "=", "CONST0_RTX", "(", "V2DFmode", ")", ";", "rtx", "dest", "=", "SET_DEST", "(", "set", ")", ";", "rtx", "m", "=", "adjust_address", "(", "src", ",", "DFmode", ",", "0", ")", ";", "rtx", "loadlpd", "=", "gen_sse2_loadlpd", "(", "dest", ",", "zero", ",", "m", ")", ";", "emit_insn_before", "(", "loadlpd", ",", "insn", ")", ";", "m", "=", "adjust_address", "(", "src", ",", "DFmode", ",", "8", ")", ";", "rtx", "loadhpd", "=", "gen_sse2_loadhpd", "(", "dest", ",", "dest", ",", "m", ")", ";", "if", "(", "dump_file", "&&", "(", "dump_flags", "&", "TDF_DETAILS", ")", ")", "{", "fputs", "(", "\"Due to potential STLF stall, split instruction:\\n\"", ",", "dump_file", ")", ";", "print_rtl_single", "(", "dump_file", ",", "insn", ")", ";", "fputs", "(", "\"To:\\n\"", ",", "dump_file", ")", ";", "print_rtl_single", "(", "dump_file", ",", "loadlpd", ")", ";", "print_rtl_single", "(", "dump_file", ",", "loadhpd", ")", ";", "}", "PATTERN", "(", "insn", ")", "=", "loadhpd", ";", "INSN_CODE", "(", "insn", ")", "=", "-", "1", ";", "gcc_assert", "(", "recog_memoized", "(", "insn", ")", "!=", "-", "1", ")", ";", "}", "}", ""], "natrual_language": ["Split", "vector", "load", "from", "parm_decl", "to", "elemental", "loads", "to", "avoid", "STLF", "stalls", "."], "TS_V_token": ["i386", "0", "0", "8", "\"Due to potential STLF stall, split instruction:\\n\"", "\"To:\\n\"", "1", "1"], "File": "i386", "Func": "ix86_split_stlf_stall_load", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18741, "Length": 288, "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": 18742, "Length": 421, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "loongarch_int_order_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", "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", "integer", "ordering", "test", "CODE", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_int_order_operand_ok_p", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18743, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_simd_clone_usable", "(", "struct", "cgraph_node", "*", "node", ")", "{", "switch", "(", "node", "->", "simdclone", "->", "vecsize_mangle", ")", "{", "case", "'b'", ":", "if", "(", "!", "TARGET_SSE2", ")", "return", "-", "1", ";", "if", "(", "!", "TARGET_AVX", ")", "return", "0", ";", "return", "TARGET_AVX512F", "?", "3", ":", "TARGET_AVX2", "?", "2", ":", "1", ";", "case", "'c'", ":", "if", "(", "!", "TARGET_AVX", ")", "return", "-", "1", ";", "return", "TARGET_AVX512F", "?", "2", ":", "TARGET_AVX2", "?", "1", ":", "0", ";", "case", "'d'", ":", "if", "(", "!", "TARGET_AVX2", ")", "return", "-", "1", ";", "return", "TARGET_AVX512F", "?", "1", ":", "0", ";", "case", "'e'", ":", "if", "(", "!", "TARGET_AVX512F", ")", "return", "-", "1", ";", "return", "0", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["If", "SIMD", "clone", "NODE", "ca", "n't", "be", "used", "in", "a", "vectorized", "loop", "in", "current", "function", ",", "return", "-1", ",", "otherwise", "return", "a", "badness", "of", "using", "it", "(", "0", "if", "it", "is", "most", "desirable", "from", "vecsize_mangle", "point", "of", "view", ",", "1", "slightly", "less", "desirable", ",", "etc", ".", ")", "."], "TS_V_token": ["i386", "1", "0", "3", "2", "1", "1", "2", "1", "0", "1", "1", "0", "1", "0"], "File": "i386", "Func": "ix86_simd_clone_usable", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18744, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "getSubtargetImpl", "(", ")", "->", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsTargetMachine19", "Func": "getRegisterInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18745, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "FIXUPLEA_DESC", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86"], "File": "X86FixupLEAs (2)2", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18746, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getMaxInlineSizeThreshold", "(", ")", "const", "{", "return", "64", ";", "}", ""], "natrual_language": ["Returns", "the", "maximum", "memset", "/", "memcpy", "size", "that", "still", "makes", "it", "profitable", "to", "inline", "the", "call", "."], "TS_V_token": ["ARM64", "64"], "File": "ARM64Subtarget", "Func": "getMaxInlineSizeThreshold", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18747, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mep_expand_binary_intrinsic", "(", "int", "ATTRIBUTE_UNUSED", "immediate", ",", "int", "ATTRIBUTE_UNUSED", "immediate3", ",", "int", "ATTRIBUTE_UNUSED", "reg", ",", "int", "ATTRIBUTE_UNUSED", "reg3", ",", "rtx", "*", "operands", "ATTRIBUTE_UNUSED", ")", "{", "return", "false", ";", "}", ""], "natrual_language": ["Likewise", ",", "but", "apply", "a", "binary", "operation", "to", "OPERANDS", "[", "1", "]", "and", "OPERANDS", "[", "2", "]", ".", "OPERANDS", "[", "1", "]", "is", "a", "register_operand", ",", "OPERANDS", "[", "2", "]", "can", "be", "a", "general_operand", ".", "IMMEDIATE", "and", "IMMEDIATE3", "are", "intrinsics", "that", "take", "an", "immediate", "third", "operand", ".", "REG", "and", "REG3", "take", "register", "operands", "only", "."], "TS_V_token": ["mep"], "File": "mep", "Func": "mep_expand_binary_intrinsic", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18748, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "pru_invalid_within_doloop", "(", "const", "rtx_insn", "*", "insn", ")", "{", "if", "(", "CALL_P", "(", "insn", ")", ")", "return", "\"Function call in the loop.\"", ";", "if", "(", "JUMP_P", "(", "insn", ")", "&&", "INSN_CODE", "(", "insn", ")", "==", "CODE_FOR_return", ")", "return", "\"Return from a call instruction in the loop.\"", ";", "if", "(", "NONDEBUG_INSN_P", "(", "insn", ")", "&&", "INSN_CODE", "(", "insn", ")", "<", "0", "&&", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "ASM_INPUT", "||", "asm_noperands", "(", "PATTERN", "(", "insn", ")", ")", ">=", "0", ")", ")", "return", "\"Loop contains asm statement.\"", ";", "return", "NULL", ";", "}", ""], "natrual_language": ["NULL", "if", "INSN", "insn", "is", "valid", "within", "a", "low-overhead", "loop", ".", "Otherwise", "return", "why", "doloop", "can", "not", "be", "applied", "."], "TS_V_token": ["pru", "\"Function call in the loop.\"", "\"Return from a call instruction in the loop.\"", "0", "0", "\"Loop contains asm statement.\""], "File": "pru", "Func": "pru_invalid_within_doloop", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18749, "Length": 82, "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": 18750, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "host_detect_local_cpu", "(", "int", "argc", ",", "const", "char", "*", "*", "argv", ")", "{", "const", "char", "*", "val", "=", "NULL", ";", "char", "buf", "[", "128", "]", ";", "FILE", "*", "f", "=", "NULL", ";", "bool", "arch", ";", "const", "struct", "vendor_cpu", "*", "cpu_table", "=", "NULL", ";", "if", "(", "argc", "<", "1", ")", "goto", "not_found", ";", "arch", "=", "strcmp", "(", "argv", "[", "0", "]", ",", "\"arch\"", ")", "==", "0", ";", "if", "(", "!", "arch", "&&", "strcmp", "(", "argv", "[", "0", "]", ",", "\"cpu\"", ")", "!=", "0", "&&", "strcmp", "(", "argv", "[", "0", "]", ",", "\"tune\"", ")", ")", "goto", "not_found", ";", "f", "=", "fopen", "(", "\"/proc/cpuinfo\"", ",", "\"r\"", ")", ";", "if", "(", "f", "==", "NULL", ")", "goto", "not_found", ";", "while", "(", "fgets", "(", "buf", ",", "sizeof", "(", "buf", ")", ",", "f", ")", "!=", "NULL", ")", "{", "if", "(", "strncmp", "(", "buf", ",", "\"CPU implementer\"", ",", "sizeof", "(", "\"CPU implementer\"", ")", "-", "1", ")", "==", "0", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "vendors", "[", "i", "]", ".", "vendor_no", "!=", "NULL", ";", "i", "++", ")", "if", "(", "strstr", "(", "buf", ",", "vendors", "[", "i", "]", ".", "vendor_no", ")", "!=", "NULL", ")", "{", "cpu_table", "=", "vendors", "[", "i", "]", ".", "vendor_parts", ";", "break", ";", "}", "}", "if", "(", "strncmp", "(", "buf", ",", "\"CPU part\"", ",", "sizeof", "(", "\"CPU part\"", ")", "-", "1", ")", "==", "0", ")", "{", "int", "i", ";", "if", "(", "cpu_table", "==", "NULL", ")", "goto", "not_found", ";", "for", "(", "i", "=", "0", ";", "cpu_table", "[", "i", "]", ".", "part_no", "!=", "NULL", ";", "i", "++", ")", "if", "(", "strstr", "(", "buf", ",", "cpu_table", "[", "i", "]", ".", "part_no", ")", "!=", "NULL", ")", "{", "val", "=", "arch", "?", "cpu_table", "[", "i", "]", ".", "arch_name", ":", "cpu_table", "[", "i", "]", ".", "cpu_name", ";", "break", ";", "}", "break", ";", "}", "}", "fclose", "(", "f", ")", ";", "if", "(", "val", "==", "NULL", ")", "goto", "not_found", ";", "return", "concat", "(", "\"-m\"", ",", "argv", "[", "0", "]", ",", "\"=\"", ",", "val", ",", "NULL", ")", ";", "not_found", ":", "{", "unsigned", "int", "i", ";", "unsigned", "int", "opt", ";", "const", "char", "*", "search", "[", "]", "=", "{", "NULL", ",", "\"arch\"", "}", ";", "if", "(", "f", ")", "fclose", "(", "f", ")", ";", "search", "[", "0", "]", "=", "argv", "[", "0", "]", ";", "for", "(", "opt", "=", "0", ";", "opt", "<", "ARRAY_SIZE", "(", "search", ")", ";", "opt", "++", ")", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "configure_default_options", ")", ";", "i", "++", ")", "if", "(", "strcmp", "(", "configure_default_options", "[", "i", "]", ".", "name", ",", "search", "[", "opt", "]", ")", "==", "0", ")", "return", "concat", "(", "\"-m\"", ",", "search", "[", "opt", "]", ",", "\"=\"", ",", "configure_default_options", "[", "i", "]", ".", "value", ",", "NULL", ")", ";", "return", "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": ["arm", "128", "1", "0", "\"arch\"", "0", "0", "\"cpu\"", "0", "0", "\"tune\"", "\"/proc/cpuinfo\"", "\"r\"", "\"CPU implementer\"", "\"CPU implementer\"", "1", "0", "0", "\"CPU part\"", "\"CPU part\"", "1", "0", "0", "\"-m\"", "0", "\"=\"", "\"arch\"", "0", "0", "0", "0", "0", "\"-m\"", "\"=\""], "File": "driver-arm2", "Func": "host_detect_local_cpu", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18751, "Length": 446, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "MipsInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsTargetMachine", "Func": "getInstrInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18752, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_gen_compare_reg_maybe_ze", "(", "RTX_CODE", "code", ",", "rtx", "x", ",", "rtx", "y", ",", "machine_mode", "y_mode", ")", "{", "if", "(", "y_mode", "==", "E_QImode", "||", "y_mode", "==", "E_HImode", ")", "{", "if", "(", "CONST_INT_P", "(", "y", ")", ")", "y", "=", "GEN_INT", "(", "INTVAL", "(", "y", ")", "&", "GET_MODE_MASK", "(", "y_mode", ")", ")", ";", "else", "{", "rtx", "t", ",", "cc_reg", ";", "machine_mode", "cc_mode", ";", "t", "=", "gen_rtx_ZERO_EXTEND", "(", "SImode", ",", "y", ")", ";", "t", "=", "gen_rtx_COMPARE", "(", "CC_SWPmode", ",", "t", ",", "x", ")", ";", "cc_mode", "=", "CC_SWPmode", ";", "cc_reg", "=", "gen_rtx_REG", "(", "cc_mode", ",", "CC_REGNUM", ")", ";", "emit_set_insn", "(", "cc_reg", ",", "t", ")", ";", "return", "cc_reg", ";", "}", "}", "return", "aarch64_gen_compare_reg", "(", "code", ",", "x", ",", "y", ")", ";", "}", ""], "natrual_language": ["Similarly", ",", "but", "maybe", "zero-extend", "Y", "if", "Y_MODE", "<", "SImode", "."], "TS_V_token": ["aarch64"], "File": "aarch646", "Func": "aarch64_gen_compare_reg_maybe_ze", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18753, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_load_insn", "(", "rtx", "insn", ",", "rtx", "*", "load_mem", ")", "{", "if", "(", "!", "insn", "||", "!", "INSN_P", "(", "insn", ")", ")", "return", "false", ";", "if", "(", "CALL_P", "(", "insn", ")", ")", "return", "false", ";", "return", "is_load_insn1", "(", "PATTERN", "(", "insn", ")", ",", "load_mem", ")", ";", "}", ""], "natrual_language": ["Determine", "if", "INSN", "loads", "from", "memory", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "is_load_insn", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18754, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", "const", "{", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "MCContext", "&", "Ctx", "=", "Asm", ".", "getContext", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "+", "7", ")", "/", "8", ";", "unsigned", "FullSize", ";", "switch", "(", "(", "unsigned", ")", "Kind", ")", "{", "case", "FK_Data_2", ":", "case", "Mips", "::", "fixup_Mips_16", ":", "case", "Mips", "::", "fixup_MICROMIPS_PC10_S1", ":", "FullSize", "=", "2", ";", "break", ";", "case", "FK_Data_8", ":", "case", "Mips", "::", "fixup_Mips_64", ":", "FullSize", "=", "8", ";", "break", ";", "case", "FK_Data_4", ":", "default", ":", "FullSize", "=", "4", ";", "break", ";", "}", "uint64_t", "CurVal", "=", "0", ";", "bool", "microMipsLEByteOrder", "=", "needsMMLEByteOrder", "(", "(", "unsigned", ")", "Kind", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittle", "?", "(", "microMipsLEByteOrder", "?", "calculateMMLEIndex", "(", "i", ")", ":", "i", ")", ":", "(", "FullSize", "-", "1", "-", "i", ")", ";", "CurVal", "|=", "(", "uint64_t", ")", "(", "(", "uint8_t", ")", "Data", "[", "Offset", "+", "Idx", "]", ")", "<<", "(", "i", "*", "8", ")", ";", "}", "uint64_t", "Mask", "=", "(", "(", "uint64_t", ")", "(", "-", "1", ")", ">>", "(", "64", "-", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", ")", ";", "CurVal", "|=", "Value", "&", "Mask", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittle", "?", "(", "microMipsLEByteOrder", "?", "calculateMMLEIndex", "(", "i", ")", ":", "i", ")", ":", "(", "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": ["Mips", "Mips", "7", "8", "Mips::fixup_Mips_16", "Mips::fixup_MICROMIPS_PC10_S1", "2", "Mips::fixup_Mips_64", "8", "4", "0", "Mips", "0", "Mips", "1", "8", "1", "64", "0", "Mips", "1", "8", "0xff"], "File": "MipsAsmBackend15", "Func": "applyFixup", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18755, "Length": 326, "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", "fndecl", "=", "add_builtin_function", "(", "d", "->", "name", ",", "ftype", ",", "d", "->", "fcode", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "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-builtins6", "Func": "aarch64_init_fcmla_laneq_builtins", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18756, "Length": 136, "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", "->", "isTargetIOS", "(", ")", "&&", "!", "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)1", "Func": "createFastISel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18757, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "OR1KRegisterInfo", "::", "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": ["OR1K", "OR1K"], "File": "OR1KRegisterInfo", "Func": "processFunctionBeforeFrameFinalized", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18758, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "sh_build_builtin_va_list", "(", "void", ")", "{", "tree", "f_next_o", ",", "f_next_o_limit", ",", "f_next_fp", ",", "f_next_fp_limit", ",", "f_next_stack", ";", "tree", "record", ";", "if", "(", "TARGET_SH5", "||", "(", "!", "TARGET_SH2E", "&&", "!", "TARGET_SH4", ")", "||", "TARGET_HITACHI", "||", "sh_cfun_attr_renesas_p", "(", ")", ")", "return", "ptr_type_node", ";", "record", "=", "(", "*", "lang_hooks", ".", "types", ".", "make_type", ")", "(", "RECORD_TYPE", ")", ";", "f_next_o", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"__va_next_o\"", ")", ",", "ptr_type_node", ")", ";", "f_next_o_limit", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"__va_next_o_limit\"", ")", ",", "ptr_type_node", ")", ";", "f_next_fp", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"__va_next_fp\"", ")", ",", "ptr_type_node", ")", ";", "f_next_fp_limit", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"__va_next_fp_limit\"", ")", ",", "ptr_type_node", ")", ";", "f_next_stack", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"__va_next_stack\"", ")", ",", "ptr_type_node", ")", ";", "DECL_FIELD_CONTEXT", "(", "f_next_o", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_next_o_limit", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_next_fp", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_next_fp_limit", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_next_stack", ")", "=", "record", ";", "TYPE_FIELDS", "(", "record", ")", "=", "f_next_o", ";", "TREE_CHAIN", "(", "f_next_o", ")", "=", "f_next_o_limit", ";", "TREE_CHAIN", "(", "f_next_o_limit", ")", "=", "f_next_fp", ";", "TREE_CHAIN", "(", "f_next_fp", ")", "=", "f_next_fp_limit", ";", "TREE_CHAIN", "(", "f_next_fp_limit", ")", "=", "f_next_stack", ";", "layout_type", "(", "record", ")", ";", "return", "record", ";", "}", ""], "natrual_language": ["Define", "the", "`", "__builtin_va_list", "'", "type", "for", "the", "ABI", "."], "TS_V_token": ["sh", "\"__va_next_o\"", "\"__va_next_o_limit\"", "\"__va_next_fp\"", "\"__va_next_fp_limit\"", "\"__va_next_stack\""], "File": "sh3", "Func": "sh_build_builtin_va_list", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18759, "Length": 205, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "SystemZRegisterInfo", "::", "getCrossCopyRegClass", "(", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "if", "(", "RC", "==", "&", "SystemZ", "::", "CCRRegClass", ")", "return", "&", "SystemZ", "::", "GR32BitRegClass", ";", "return", "RC", ";", "}", ""], "natrual_language": ["getCrossCopyRegClass", "-", "Returns", "a", "legal", "register", "class", "to", "copy", "a", "register", "in", "the", "specified", "class", "to", "or", "from", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ::CCRRegClass", "SystemZ::GR32BitRegClass"], "File": "SystemZRegisterInfo10", "Func": "getCrossCopyRegClass", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18760, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_use_load_post_increment", "(", "machine_mode", "mode", ")", "{", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "GET_MODE_SIZE", "(", "E_DImode", ")", ")", ";", "}", ""], "natrual_language": ["Function", "that", "determine", "whether", "a", "load", "postincrement", "is", "a", "good", "thing", "to", "use", "for", "a", "given", "mode", "."], "TS_V_token": ["nds32"], "File": "nds32", "Func": "nds32_use_load_post_increment", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18761, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86Subtarget", "::", "X86Subtarget", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "X86TargetMachine", "&", "TM", ",", "unsigned", "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": "X86Subtarget", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18762, "Length": 293, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createExecutionDependencyFixPass", "(", "&", "X86", "::", "VR128XRegClass", ")", ")", ";", "if", "(", "UseVZeroUpper", ")", "addPass", "(", "createX86IssueVZeroUpperPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createX86FixupBWInsts", "(", ")", ")", ";", "addPass", "(", "createX86PadShortFunctions", "(", ")", ")", ";", "addPass", "(", "createX86FixupLEAs", "(", ")", ")", ";", "addPass", "(", "createX86EvexToVexInsts", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["X86", "X86", "X86::VR128XRegClass", "X86", "X86", "X86", "X86", "X86"], "File": "X86TargetMachine133", "Func": "addPreEmitPass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18763, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "crx_function_arg_advance", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "int", "named", "ATTRIBUTE_UNUSED", ")", "{", "int", "l", "=", "GET_MODE_BITSIZE", "(", "mode", ")", "/", "BITS_PER_WORD", ";", "if", "(", "!", "last_parm_in_reg", ")", "return", ";", "if", "(", "targetm", ".", "calls", ".", "must_pass_in_stack", "(", "mode", ",", "type", ")", "||", "(", "cum", "->", "ints", "<", "0", ")", ")", "return", ";", "if", "(", "mode", "==", "SImode", "||", "mode", "==", "HImode", "||", "mode", "==", "QImode", "||", "mode", "==", "DImode", ")", "{", "if", "(", "l", "<=", "1", ")", "cum", "->", "ints", "+=", "1", ";", "else", "cum", "->", "ints", "+=", "l", ";", "}", "else", "if", "(", "mode", "==", "SFmode", "||", "mode", "==", "DFmode", ")", "cum", "->", "ints", "+=", "l", ";", "else", "if", "(", "(", "mode", ")", "==", "BLKmode", ")", "{", "if", "(", "(", "l", "=", "enough_regs_for_param", "(", "cum", ",", "type", ",", "mode", ")", ")", "!=", "0", ")", "cum", "->", "ints", "+=", "l", ";", "}", "}", ""], "natrual_language": ["Implements", "the", "macro", "FUNCTION_ARG_ADVANCE", "defined", "in", "crx.h", "."], "TS_V_token": ["crx", "0", "1", "1", "0"], "File": "crx", "Func": "crx_function_arg_advance", "Target": "crx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18764, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "chkp_type_has_function_pointer", "(", "const_tree", "type", ")", "{", "bool", "res", "=", "false", ";", "if", "(", "POINTER_TYPE_P", "(", "type", ")", "&&", "FUNC_OR_METHOD_TYPE_P", "(", "TREE_TYPE", "(", "type", ")", ")", ")", "res", "=", "true", ";", "else", "if", "(", "RECORD_OR_UNION_TYPE_P", "(", "type", ")", ")", "{", "tree", "field", ";", "for", "(", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";", "field", ";", "field", "=", "DECL_CHAIN", "(", "field", ")", ")", "if", "(", "TREE_CODE", "(", "field", ")", "==", "FIELD_DECL", ")", "res", "=", "res", "||", "chkp_type_has_function_pointer", "(", "TREE_TYPE", "(", "field", ")", ")", ";", "}", "else", "if", "(", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", ")", "res", "=", "chkp_type_has_function_pointer", "(", "TREE_TYPE", "(", "type", ")", ")", ";", "return", "res", ";", "}", ""], "natrual_language": ["Return", "1", "if", "type", "TYPE", "is", "a", "pointer", "to", "function", "type", "or", "a", "structure", "having", "a", "pointer", "to", "function", "type", "as", "one", "of", "its", "fields", ".", "Otherwise", "return", "0", "."], "TS_V_token": ["pru"], "File": "pru-passes", "Func": "chkp_type_has_function_pointer", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18765, "Length": 108, "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": 18766, "Length": 210, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64CA53ErratumStub", "::", "applyFixup", "(", "FragmentRef", "&", "pSrcFragRef", ",", "IRBuilder", "&", "pBuilder", ",", "BranchIsland", "&", "pIsland", ")", "{", "assert", "(", "isMyDuty", "(", "pSrcFragRef", ")", ")", ";", "std", "::", "string", "sym_name", "(", "\"__\"", ")", ";", "sym_name", ".", "append", "(", "name", "(", ")", ")", ".", "append", "(", "llvm", "::", "utohexstr", "(", "pIsland", ".", "numOfStubs", "(", ")", ")", ")", ".", "append", "(", "\"@\"", ")", ".", "append", "(", "pIsland", ".", "name", "(", ")", ")", ";", "LDSymbol", "*", "stub_sym", "=", "pBuilder", ".", "AddSymbol", "<", "IRBuilder", "::", "Force", ",", "IRBuilder", "::", "Unresolve", ">", "(", "sym_name", ",", "ResolveInfo", "::", "NoType", ",", "ResolveInfo", "::", "Define", ",", "ResolveInfo", "::", "Local", ",", "size", "(", ")", ",", "initSymValue", "(", ")", ",", "FragmentRef", "::", "Create", "(", "*", "this", ",", "initSymValue", "(", ")", ")", ",", "ResolveInfo", "::", "Default", ")", ";", "setSymInfo", "(", "stub_sym", "->", "resolveInfo", "(", ")", ")", ";", "FragmentRef", "*", "target", "=", "FragmentRef", "::", "Create", "(", "*", "pSrcFragRef", ".", "frag", "(", ")", ",", "pSrcFragRef", ".", "offset", "(", ")", "+", "getErratumInsnOffset", "(", ")", "+", "AArch64InsnHelpers", "::", "InsnSize", ")", ";", "ResolveInfo", "*", "target_info", "=", "pBuilder", ".", "CreateLocalSymbol", "(", "*", "target", ")", ";", "fixup_iterator", "it", "=", "fixup_begin", "(", ")", ";", "Relocation", "*", "reloc", "=", "Relocation", "::", "Create", "(", "(", "*", "it", ")", "->", "type", "(", ")", ",", "*", "(", "FragmentRef", "::", "Create", "(", "*", "this", ",", "(", "*", "it", ")", "->", "offset", "(", ")", ")", ")", ",", "(", "*", "it", ")", "->", "addend", "(", ")", ")", ";", "reloc", "->", "setSymInfo", "(", "target_info", ")", ";", "std", "::", "unique_ptr", "<", "unsigned", "[", "]", ">", "code", "(", "new", "unsigned", "[", "getErratumSequenceSize", "(", ")", "/", "4", "]", ")", ";", "pSrcFragRef", ".", "memcpy", "(", "code", ".", "get", "(", ")", ",", "getErratumSequenceSize", "(", ")", ",", "0", ")", ";", "reloc", "->", "target", "(", ")", "=", "code", "[", "getErratumInsnOffset", "(", ")", "/", "AArch64InsnHelpers", "::", "InsnSize", "]", ";", "pIsland", ".", "addRelocation", "(", "*", "reloc", ")", ";", "++", "it", ";", "reloc", "=", "Relocation", "::", "Create", "(", "(", "*", "it", ")", "->", "type", "(", ")", ",", "*", "(", "FragmentRef", "::", "Create", "(", "*", "this", ",", "(", "*", "it", ")", "->", "offset", "(", ")", ")", ")", ",", "(", "*", "it", ")", "->", "addend", "(", ")", ")", ";", "reloc", "->", "setSymInfo", "(", "target_info", ")", ";", "reloc", "->", "target", "(", ")", "=", "AArch64InsnHelpers", "::", "buildBranchInsn", "(", ")", ";", "pIsland", ".", "addRelocation", "(", "*", "reloc", ")", ";", "assert", "(", "(", "++", "it", ")", "==", "fixup_end", "(", ")", ")", ";", "}", ""], "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", "\"__\"", "\"@\"", "AArch64", "4", "0", "AArch64", "AArch64"], "File": "AArch64CA53ErratumStub", "Func": "applyFixup", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18767, "Length": 390, "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", ";", "reg", "=", "crtl", "->", "return_bnd", ";", "if", "(", "reg", ")", "{", "i", "=", "REGNO", "(", "reg", ")", ";", "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", "0"], "File": "i3867", "Func": "ix86_save_reg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18768, "Length": 364, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"X86 FP_REG_KILL inserter\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 FP_REG_KILL inserter\""], "File": "X86FloatingPointRegKill", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18769, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "setFrameAdjustment", "(", "MachineInstr", "&", "I", ",", "int64_t", "V", ")", "const", "{", "assert", "(", "isFrameInstr", "(", "I", ")", ")", ";", "if", "(", "isFrameSetup", "(", "I", ")", ")", "I", ".", "getOperand", "(", "2", ")", ".", "setImm", "(", "V", ")", ";", "else", "I", ".", "getOperand", "(", "1", ")", ".", "setImm", "(", "V", ")", ";", "}", ""], "natrual_language": ["Sets", "the", "stack", "pointer", "adjustment", "made", "inside", "the", "frame", "made", "up", "by", "this", "instruction", "."], "TS_V_token": ["X86", "2", "1"], "File": "X86InstrInfo (2)2", "Func": "setFrameAdjustment", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18770, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_ubranch", "(", "rtx", "dest", ",", "rtx_insn", "*", "insn", ")", "{", "static", "char", "string", "[", "64", "]", ";", "bool", "v9_form", "=", "false", ";", "int", "delta", ";", "char", "*", "p", ";", "delta", "=", "5000000", ";", "if", "(", "INSN_ADDRESSES_SET_P", "(", ")", ")", "delta", "=", "(", "INSN_ADDRESSES", "(", "INSN_UID", "(", "dest", ")", ")", "-", "INSN_ADDRESSES", "(", "INSN_UID", "(", "insn", ")", ")", ")", ";", "if", "(", "TARGET_V9", "&&", "delta", ">=", "-", "260000", "&&", "delta", "<", "260000", ")", "v9_form", "=", "true", ";", "if", "(", "TARGET_CBCOND", ")", "{", "bool", "emit_nop", "=", "emit_cbcond_nop", "(", "insn", ")", ";", "bool", "far", "=", "false", ";", "const", "char", "*", "rval", ";", "if", "(", "delta", "<", "-", "500", "||", "delta", ">", "500", ")", "far", "=", "true", ";", "if", "(", "far", ")", "{", "if", "(", "v9_form", ")", "rval", "=", "\"ba,a,pt\\t%%xcc, %l0\"", ";", "else", "rval", "=", "\"b,a\\t%l0\"", ";", "}", "else", "{", "if", "(", "emit_nop", ")", "rval", "=", "\"cwbe\\t%%g0, %%g0, %l0\\n\\tnop\"", ";", "else", "rval", "=", "\"cwbe\\t%%g0, %%g0, %l0\"", ";", "}", "return", "rval", ";", "}", "if", "(", "v9_form", ")", "strcpy", "(", "string", ",", "\"ba%*,pt\\t%%xcc, \"", ")", ";", "else", "strcpy", "(", "string", ",", "\"b%*\\t\"", ")", ";", "p", "=", "strchr", "(", "string", ",", "'\\0'", ")", ";", "*", "p", "++", "=", "'%'", ";", "*", "p", "++", "=", "'l'", ";", "*", "p", "++", "=", "'0'", ";", "*", "p", "++", "=", "'%'", ";", "*", "p", "++", "=", "'('", ";", "*", "p", "=", "'\\0'", ";", "return", "string", ";", "}", ""], "natrual_language": ["Output", "an", "unconditional", "branch", "to", "LABEL", ".", "INSN", "is", "the", "instruction", "."], "TS_V_token": ["sparc", "64", "5000000", "260000", "260000", "500", "500", "\"ba,a,pt\\t%%xcc, %l0\"", "\"b,a\\t%l0\"", "\"cwbe\\t%%g0, %%g0, %l0\\n\\tnop\"", "\"cwbe\\t%%g0, %%g0, %l0\"", "\"ba%*,pt\\t%%xcc, \"", "\"b%*\\t\""], "File": "sparc4", "Func": "output_ubranch", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18771, "Length": 223, "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": 18772, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "fits_dispatch_window", "(", "rtx_insn", "*", "insn", ")", "{", "dispatch_windows", "*", "window_list", "=", "dispatch_window_list", ";", "dispatch_windows", "*", "window_list_next", "=", "dispatch_window_list", "->", "next", ";", "unsigned", "int", "num_restrict", ";", "enum", "dispatch_group", "group", "=", "get_insn_group", "(", "insn", ")", ";", "enum", "insn_path", "path", "=", "get_insn_path", "(", "insn", ")", ";", "int", "sum", ";", "if", "(", "group", "==", "disp_jcc", "||", "group", "==", "disp_cmp", ")", "return", "false", ";", "if", "(", "group", "==", "disp_no_group", "||", "group", "==", "disp_branch", ")", "return", "true", ";", "if", "(", "window_list_next", ")", "window_list", "=", "window_list_next", ";", "if", "(", "window_list", "->", "window_num", "==", "1", ")", "{", "sum", "=", "window_list", "->", "prev", "->", "window_size", "+", "window_list", "->", "window_size", ";", "if", "(", "sum", "==", "32", "||", "(", "min_insn_size", "(", "insn", ")", "+", "sum", ")", ">=", "48", ")", "return", "true", ";", "}", "num_restrict", "=", "count_num_restricted", "(", "insn", ",", "window_list", ")", ";", "if", "(", "num_restrict", ">", "num_allowable_groups", "[", "group", "]", ")", "return", "false", ";", "if", "(", "window_list", "->", "window_num", "==", "0", ")", "{", "if", "(", "path", "==", "path_double", "&&", "(", "window_list", "->", "num_uops", "+", "2", ")", ">", "MAX_INSN", ")", "return", "false", ";", "else", "if", "(", "path", "!=", "path_single", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["This", "function", "returns", "true", "if", "insn", "satisfies", "dispatch", "rules", "on", "the", "last", "window", "scheduled", "."], "TS_V_token": ["i386", "1", "32", "48", "0", "2"], "File": "i3864", "Func": "fits_dispatch_window", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18773, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "or1k_function_arg_advance", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", ",", "bool", "named", ")", "{", "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", ";", "}", ""], "natrual_language": ["Worker", "for", "TARGET_FUNCTION_ARG_ADVANCE", ".", "Update", "the", "cumulative", "args", "descriptor", "CUM_V", "to", "advance", "past", "the", "next", "function", "argument", ".", "Note", ",", "this", "is", "not", "called", "for", "arguments", "passed", "on", "the", "stack", "."], "TS_V_token": ["or1k", "2"], "File": "or1k2", "Func": "or1k_function_arg_advance", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18774, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "AArch64RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "assert", "(", "MF", "&&", "\"Invalid MachineFunction pointer.\"", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "GHC", ")", "return", "CSR_AArch64_NoRegs_SaveList", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AnyReg", ")", "return", "CSR_AArch64_AllRegs_SaveList", ";", "if", "(", "MF", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isTargetDarwin", "(", ")", ")", "return", "getDarwinCalleeSavedRegs", "(", "MF", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "CFGuard_Check", ")", "return", "CSR_Win_AArch64_CFGuard_Check_SaveList", ";", "if", "(", "MF", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isTargetWindows", "(", ")", ")", "return", "CSR_Win_AArch64_AAPCS_SaveList", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AArch64_VectorCall", ")", "return", "CSR_AArch64_AAVPCS_SaveList", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AArch64_SVE_VectorCall", ")", "return", "CSR_AArch64_SVE_AAPCS_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", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "Win64", ")", "return", "CSR_AArch64_AAPCS_X18_SaveList", ";", "if", "(", "hasSVEArgsOrReturn", "(", "MF", ")", ")", "return", "CSR_AArch64_SVE_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", "AArch64"], "File": "AArch64RegisterInfo21", "Func": "getCalleeSavedRegs", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18775, "Length": 246, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mask_low_and_shift_p", "(", "machine_mode", "mode", ",", "rtx", "mask", ",", "rtx", "shift", ",", "int", "maxlen", ")", "{", "return", "IN_RANGE", "(", "mask_low_and_shift_len", "(", "mode", ",", "mask", ",", "shift", ")", ",", "1", ",", "maxlen", ")", ";", "}", ""], "natrual_language": ["Check", "if", "MASK", "and", "SHIFT", "are", "valid", "in", "mask-low-and-shift-left", "operation", "if", "MAXLEN", "is", "the", "maxium", "length", "of", "consecutive", "bits", "that", "can", "make", "up", "MASK", ".", "MODE", "is", "the", "mode", "of", "the", "operation", ".", "See", "mask_low_and_shift_len", "for", "the", "actual", "definition", "."], "TS_V_token": ["mips", "1"], "File": "mips", "Func": "mask_low_and_shift_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18776, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_split_compare_and_swap", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "rval", ",", "mem", ",", "oldval", ",", "newval", ",", "scratch", ";", "machine_mode", "mode", ";", "bool", "is_weak", ";", "rtx_code_label", "*", "label1", ",", "*", "label2", ";", "rtx", "x", ",", "cond", ";", "rval", "=", "operands", "[", "0", "]", ";", "mem", "=", "operands", "[", "1", "]", ";", "oldval", "=", "operands", "[", "2", "]", ";", "newval", "=", "operands", "[", "3", "]", ";", "is_weak", "=", "(", "operands", "[", "4", "]", "!=", "const0_rtx", ")", ";", "scratch", "=", "operands", "[", "7", "]", ";", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "label1", "=", "NULL", ";", "if", "(", "!", "is_weak", ")", "{", "label1", "=", "gen_label_rtx", "(", ")", ";", "emit_label", "(", "label1", ")", ";", "}", "label2", "=", "gen_label_rtx", "(", ")", ";", "aarch64_emit_load_exclusive", "(", "mode", ",", "rval", ",", "mem", ",", "operands", "[", "5", "]", ")", ";", "cond", "=", "aarch64_gen_compare_reg", "(", "NE", ",", "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", ")", ";", "aarch64_emit_unlikely_jump", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "pc_rtx", ",", "x", ")", ")", ";", "aarch64_emit_store_exclusive", "(", "mode", ",", "scratch", ",", "mem", ",", "newval", ",", "operands", "[", "5", "]", ")", ";", "if", "(", "!", "is_weak", ")", "{", "x", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "scratch", ",", "const0_rtx", ")", ";", "x", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "x", ",", "gen_rtx_LABEL_REF", "(", "Pmode", ",", "label1", ")", ",", "pc_rtx", ")", ";", "aarch64_emit_unlikely_jump", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "pc_rtx", ",", "x", ")", ")", ";", "}", "else", "{", "cond", "=", "gen_rtx_REG", "(", "CCmode", ",", "CC_REGNUM", ")", ";", "x", "=", "gen_rtx_COMPARE", "(", "CCmode", ",", "scratch", ",", "const0_rtx", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "cond", ",", "x", ")", ")", ";", "}", "emit_label", "(", "label2", ")", ";", "}", ""], "natrual_language": ["Split", "a", "compare", "and", "swap", "pattern", "."], "TS_V_token": ["aarch64", "0", "1", "2", "3", "4", "7", "5", "5"], "File": "aarch642", "Func": "aarch64_split_compare_and_swap", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18777, "Length": 290, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "AArch64Subtarget", "*", "AArch64TargetMachine", "::", "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", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "CPU", "+", "FS", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "llvm", "::", "make_unique", "<", "AArch64Subtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "*", "this", ",", "isLittle", ")", ";", "}", "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": ["AArch64", "AArch64", "AArch64", "\"target-cpu\"", "\"target-features\"", "AArch64"], "File": "AArch64TargetMachine (2)3", "Func": "getSubtargetImpl", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18778, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "loongarch_split_move", "(", "rtx", "dest", ",", "rtx", "src", ",", "rtx", "insn_", ")", "{", "rtx", "low_dest", ";", "gcc_checking_assert", "(", "loongarch_split_move_p", "(", "dest", ",", "src", ")", ")", ";", "if", "(", "FP_REG_RTX_P", "(", "dest", ")", "||", "FP_REG_RTX_P", "(", "src", ")", ")", "{", "if", "(", "!", "TARGET_64BIT", "&&", "GET_MODE", "(", "dest", ")", "==", "DImode", ")", "emit_insn", "(", "gen_move_doubleword_fprdi", "(", "dest", ",", "src", ")", ")", ";", "else", "if", "(", "!", "TARGET_64BIT", "&&", "GET_MODE", "(", "dest", ")", "==", "DFmode", ")", "emit_insn", "(", "gen_move_doubleword_fprdf", "(", "dest", ",", "src", ")", ")", ";", "else", "if", "(", "TARGET_64BIT", "&&", "GET_MODE", "(", "dest", ")", "==", "TFmode", ")", "emit_insn", "(", "gen_move_doubleword_fprtf", "(", "dest", ",", "src", ")", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "else", "{", "low_dest", "=", "loongarch_subword", "(", "dest", ",", "false", ")", ";", "if", "(", "REG_P", "(", "low_dest", ")", "&&", "reg_overlap_mentioned_p", "(", "low_dest", ",", "src", ")", ")", "{", "loongarch_emit_move", "(", "loongarch_subword", "(", "dest", ",", "true", ")", ",", "loongarch_subword", "(", "src", ",", "true", ")", ")", ";", "loongarch_emit_move", "(", "low_dest", ",", "loongarch_subword", "(", "src", ",", "false", ")", ")", ";", "}", "else", "{", "loongarch_emit_move", "(", "low_dest", ",", "loongarch_subword", "(", "src", ",", "false", ")", ")", ";", "loongarch_emit_move", "(", "loongarch_subword", "(", "dest", ",", "true", ")", ",", "loongarch_subword", "(", "src", ",", "true", ")", ")", ";", "}", "}", "rtx_insn", "*", "insn", "=", "(", "rtx_insn", "*", ")", "insn_", ";", "struct", "loongarch_address_info", "addr", "=", "{", "}", ";", "if", "(", "insn", ")", "{", "rtx_insn", "*", "next", "=", "next_nonnote_nondebug_insn_bb", "(", "insn", ")", ";", "if", "(", "next", ")", "{", "rtx", "set", "=", "single_set", "(", "next", ")", ";", "if", "(", "set", "&&", "SET_SRC", "(", "set", ")", "==", "dest", ")", "{", "if", "(", "MEM_P", "(", "src", ")", ")", "{", "rtx", "tmp", "=", "XEXP", "(", "src", ",", "0", ")", ";", "loongarch_classify_address", "(", "&", "addr", ",", "tmp", ",", "GET_MODE", "(", "tmp", ")", ",", "true", ")", ";", "if", "(", "addr", ".", "reg", "&&", "!", "reg_overlap_mentioned_p", "(", "dest", ",", "addr", ".", "reg", ")", ")", "validate_change", "(", "next", ",", "&", "SET_SRC", "(", "set", ")", ",", "src", ",", "false", ")", ";", "}", "else", "validate_change", "(", "next", ",", "&", "SET_SRC", "(", "set", ")", ",", "src", ",", "false", ")", ";", "}", "}", "}", "}", ""], "natrual_language": ["Split", "a", "move", "from", "SRC", "to", "DEST", ",", "given", "that", "loongarch_split_move_p", "holds", ".", "SPLIT_TYPE", "describes", "the", "split", "condition", "."], "TS_V_token": ["loongarch", "0"], "File": "loongarch", "Func": "loongarch_split_move", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18779, "Length": 342, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "emitStackProbe", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "DebugLoc", "&", "DL", ",", "bool", "InProlog", ")", "const", "{", "const", "X86Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "STI", ".", "isTargetWindowsCoreCLR", "(", ")", ")", "{", "if", "(", "InProlog", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "X86", "::", "STACKALLOC_W_PROBING", ")", ")", ".", "addImm", "(", "0", ")", ";", "}", "else", "{", "emitStackProbeInline", "(", "MF", ",", "MBB", ",", "MBBI", ",", "DL", ",", "false", ")", ";", "}", "}", "else", "{", "emitStackProbeCall", "(", "MF", ",", "MBB", ",", "MBBI", ",", "DL", ",", "InProlog", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "target", "stack", "probe", "code", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86::STACKALLOC_W_PROBING", "0"], "File": "X86FrameLowering1", "Func": "emitStackProbe", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18780, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "UnwindOpcodeAssembler", "::", "EmitSPOffset", "(", "int64_t", "Offset", ")", "{", "if", "(", "Offset", ">", "0x200", ")", "{", "uint8_t", "Buff", "[", "16", "]", ";", "Buff", "[", "0", "]", "=", "ARM", "::", "EHABI", "::", "UNWIND_OPCODE_INC_VSP_ULEB128", ";", "size_t", "ULEBSize", "=", "encodeULEB128", "(", "(", "Offset", "-", "0x204", ")", ">>", "2", ",", "Buff", "+", "1", ")", ";", "emitBytes", "(", "Buff", ",", "ULEBSize", "+", "1", ")", ";", "}", "else", "if", "(", "Offset", ">", "0", ")", "{", "if", "(", "Offset", ">", "0x100", ")", "{", "EmitInt8", "(", "ARM", "::", "EHABI", "::", "UNWIND_OPCODE_INC_VSP", "|", "0x3fu", ")", ";", "Offset", "-=", "0x100", ";", "}", "EmitInt8", "(", "ARM", "::", "EHABI", "::", "UNWIND_OPCODE_INC_VSP", "|", "static_cast", "<", "uint8_t", ">", "(", "(", "Offset", "-", "4", ")", ">>", "2", ")", ")", ";", "}", "else", "if", "(", "Offset", "<", "0", ")", "{", "while", "(", "Offset", "<", "-", "0x100", ")", "{", "EmitInt8", "(", "ARM", "::", "EHABI", "::", "UNWIND_OPCODE_DEC_VSP", "|", "0x3fu", ")", ";", "Offset", "+=", "0x100", ";", "}", "EmitInt8", "(", "ARM", "::", "EHABI", "::", "UNWIND_OPCODE_DEC_VSP", "|", "static_cast", "<", "uint8_t", ">", "(", "(", "(", "-", "Offset", ")", "-", "4", ")", ">>", "2", ")", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "unwind", "opcodes", "to", "add", "$", "sp", "with", "an", "offset", "."], "TS_V_token": ["ARM", "0x200", "16", "0", "ARM::EHABI", "0x204", "2", "1", "1", "0", "0x100", "ARM::EHABI", "0x3fu", "0x100", "ARM::EHABI", "4", "2", "0", "0x100", "ARM::EHABI", "0x3fu", "0x100", "ARM::EHABI", "4", "2"], "File": "ARMUnwindOpAsm5", "Func": "EmitSPOffset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18781, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "ix86_find_base_term", "(", "rtx", "x", ")", "{", "rtx", "term", ";", "if", "(", "TARGET_64BIT", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "!=", "CONST", ")", "return", "x", ";", "term", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "term", ")", "==", "PLUS", "&&", "(", "CONST_INT_P", "(", "XEXP", "(", "term", ",", "1", ")", ")", "||", "GET_CODE", "(", "XEXP", "(", "term", ",", "1", ")", ")", "==", "CONST_DOUBLE", ")", ")", "term", "=", "XEXP", "(", "term", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "term", ")", "!=", "UNSPEC", "||", "(", "XINT", "(", "term", ",", "1", ")", "!=", "UNSPEC_GOTPCREL", "&&", "XINT", "(", "term", ",", "1", ")", "!=", "UNSPEC_PCREL", ")", ")", "return", "x", ";", "return", "XVECEXP", "(", "term", ",", "0", ",", "0", ")", ";", "}", "return", "ix86_delegitimize_address", "(", "x", ")", ";", "}", ""], "natrual_language": ["If", "X", "is", "a", "machine", "specific", "address", "(", "i.e", ".", "a", "symbol", "or", "label", "being", "referenced", "as", "a", "displacement", "from", "the", "GOT", "implemented", "using", "an", "UNSPEC", ")", ",", "then", "return", "the", "base", "term", ".", "Otherwise", "return", "X", "."], "TS_V_token": ["i386", "0", "1", "1", "0", "1", "1", "0", "0"], "File": "i3864", "Func": "ix86_find_base_term", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18782, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_in_loop_reduction_latency", "(", "vec_info", "*", "vinfo", ",", "stmt_vec_info", "stmt_info", ",", "tree", "vectype", ",", "unsigned", "int", "vec_flags", ")", "{", "const", "cpu_vector_cost", "*", "vec_costs", "=", "aarch64_tune_params", ".", "vec_costs", ";", "const", "sve_vec_cost", "*", "sve_costs", "=", "nullptr", ";", "if", "(", "vec_flags", "&", "VEC_ANY_SVE", ")", "sve_costs", "=", "aarch64_tune_params", ".", "vec_costs", "->", "sve", ";", "if", "(", "sve_costs", ")", "{", "unsigned", "int", "latency", "=", "aarch64_sve_in_loop_reduction_latency", "(", "vinfo", ",", "stmt_info", ",", "vectype", ",", "sve_costs", ")", ";", "if", "(", "latency", ")", "return", "latency", ";", "}", "if", "(", "vec_flags", "==", "0", ")", "{", "if", "(", "FLOAT_TYPE_P", "(", "vectype", ")", ")", "return", "vec_costs", "->", "scalar_fp_stmt_cost", ";", "return", "vec_costs", "->", "scalar_int_stmt_cost", ";", "}", "const", "simd_vec_cost", "*", "simd_costs", "=", "aarch64_simd_vec_costs_for_flags", "(", "vec_flags", ")", ";", "if", "(", "FLOAT_TYPE_P", "(", "vectype", ")", ")", "return", "simd_costs", "->", "fp_stmt_cost", ";", "return", "simd_costs", "->", "int_stmt_cost", ";", "}", ""], "natrual_language": ["STMT_INFO", "describes", "a", "loop-carried", "operation", "in", "the", "original", "scalar", "code", "that", "we", "are", "considering", "implementing", "as", "a", "reduction", ".", "Return", "one", "of", "the", "following", "values", ",", "depending", "on", "VEC_FLAGS", ":", "-", "If", "VEC_FLAGS", "is", "zero", ",", "return", "the", "loop", "carry", "latency", "of", "the", "original", "scalar", "operation", ".", "-", "If", "VEC_FLAGS", "&", "VEC_ADVSIMD", ",", "return", "the", "loop", "carry", "latency", "of", "the", "the", "Advanced", "SIMD", "implementation", ".", "-", "If", "VEC_FLAGS", "&", "VEC_ANY_SVE", ",", "return", "the", "loop", "carry", "latency", "of", "the", "SVE", "implementation", ".", "VECTYPE", "is", "the", "type", "of", "vector", "that", "the", "vectorizer", "is", "considering", "using", "for", "STMT_INFO", ",", "which", "might", "be", "different", "from", "the", "type", "of", "vector", "described", "by", "VEC_FLAGS", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch641", "Func": "aarch64_in_loop_reduction_latency", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18783, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_asm_output_pool_epilogue", "(", "FILE", "*", "f", ",", "const", "char", "*", ",", "tree", ",", "HOST_WIDE_INT", "offset", ")", "{", "if", "(", "(", "offset", "&", "3", ")", "&&", "aarch64_can_use_per_function_literal_pools_p", "(", ")", ")", "ASM_OUTPUT_ALIGN", "(", "f", ",", "2", ")", ";", "}", ""], "natrual_language": ["Implement", "ASM_OUTPUT_POOL_EPILOGUE", "."], "TS_V_token": ["aarch64", "3", "2"], "File": "aarch64", "Func": "aarch64_asm_output_pool_epilogue", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18784, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_cpu_name_lookup", "(", "const", "char", "*", "name", ")", "{", "size_t", "i", ";", "if", "(", "name", "!=", "NULL", ")", "{", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "processor_target_table", ")", ";", "i", "++", ")", "if", "(", "!", "strcmp", "(", "name", ",", "processor_target_table", "[", "i", "]", ".", "name", ")", ")", "return", "(", "int", ")", "i", ";", "}", "return", "-", "1", ";", "}", ""], "natrual_language": ["Look", "up", "a", "processor", "name", "for", "-mcpu=xxx", "and", "-mtune=xxx", ".", "Return", "-1", "if", "the", "name", "is", "invalid", "."], "TS_V_token": ["rs6000", "0", "1"], "File": "rs6000", "Func": "rs6000_cpu_name_lookup", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18785, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "*", "aarch64_output_sve_vector_inc_dec", "(", "const", "char", "*", "operands", ",", "rtx", "x", ")", "{", "int", "factor", ";", "unsigned", "int", "nelts_per_vq", ";", "if", "(", "!", "aarch64_sve_vector_inc_dec_immediate_p", "(", "x", ",", "&", "factor", ",", "&", "nelts_per_vq", ")", ")", "gcc_unreachable", "(", ")", ";", "if", "(", "factor", "<", "0", ")", "return", "aarch64_output_sve_cnt_immediate", "(", "\"dec\"", ",", "operands", ",", "AARCH64_SV_ALL", ",", "-", "factor", ",", "nelts_per_vq", ")", ";", "else", "return", "aarch64_output_sve_cnt_immediate", "(", "\"inc\"", ",", "operands", ",", "AARCH64_SV_ALL", ",", "factor", ",", "nelts_per_vq", ")", ";", "}", ""], "natrual_language": ["Return", "the", "asm", "template", "for", "an", "SVE", "vector", "INC", "or", "DEC", "instruction", ".", "OPERANDS", "gives", "the", "operands", "before", "the", "vector", "count", "and", "X", "is", "the", "value", "of", "the", "vector", "count", "operand", "itself", "."], "TS_V_token": ["aarch64", "0", "\"dec\"", "\"inc\""], "File": "aarch64", "Func": "aarch64_output_sve_vector_inc_dec", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18786, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64TargetLowering", "::", "getPreIndexedAddressParts", "(", "SDNode", "*", "N", ",", "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", "(", "Ptr", ".", "getNode", "(", ")", ",", "Base", ",", "Offset", ",", "AM", ",", "IsInc", ",", "DAG", ")", ")", "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": ["ARM64", "ARM64", "ISD::MemIndexedMode", "ISD::PRE_INC", "ISD::PRE_DEC"], "File": "ARM64ISelLowering", "Func": "getPreIndexedAddressParts", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18787, "Length": 148, "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", ";", "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": ["Mips", "Mips", "4", "\"Branch of destination \"", "\" from \"", "\" max delta=\"", "\" from \"", "\" to \"", "\" offset \"", "\"\\t\""], "File": "MipsConstantIslandPass (2)1", "Func": "isBBInRange", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18788, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rx_fuse_in_memory_bitop", "(", "rtx", "*", "operands", ",", "rtx_insn", "*", "curr_insn", ",", "rtx", "(", "*", "gen_insn", ")", "(", "rtx", ",", "rtx", ")", ")", "{", "rtx", "op2_reg", "=", "SUBREG_P", "(", "operands", "[", "2", "]", ")", "?", "SUBREG_REG", "(", "operands", "[", "2", "]", ")", ":", "operands", "[", "2", "]", ";", "set_of_reg", "op2_def", "=", "rx_find_set_of_reg", "(", "op2_reg", ",", "curr_insn", ",", "prev_nonnote_nondebug_insn_bb", ")", ";", "if", "(", "op2_def", ".", "set_src", "==", "NULL_RTX", "||", "!", "MEM_P", "(", "op2_def", ".", "set_src", ")", "||", "GET_MODE", "(", "op2_def", ".", "set_src", ")", "!=", "QImode", "||", "!", "rx_is_restricted_memory_address", "(", "XEXP", "(", "op2_def", ".", "set_src", ",", "0", ")", ",", "GET_MODE", "(", "op2_def", ".", "set_src", ")", ")", "||", "reg_used_between_p", "(", "operands", "[", "2", "]", ",", "op2_def", ".", "insn", ",", "curr_insn", ")", "||", "!", "rx_reg_dead_or_unused_after_insn", "(", "curr_insn", ",", "REGNO", "(", "op2_reg", ")", ")", ")", "return", "false", ";", "rtx", "mem", "=", "op2_def", ".", "set_src", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "mem", ",", "0", ")", ")", "==", "POST_INC", "||", "GET_CODE", "(", "XEXP", "(", "mem", ",", "0", ")", ")", "==", "PRE_INC", "||", "GET_CODE", "(", "XEXP", "(", "mem", ",", "0", ")", ")", "==", "POST_DEC", "||", "GET_CODE", "(", "XEXP", "(", "mem", ",", "0", ")", ")", "==", "PRE_DEC", ")", "return", "false", ";", "rtx_insn", "*", "op0_use", "=", "rx_find_use_of_reg", "(", "operands", "[", "0", "]", ",", "curr_insn", ",", "next_nonnote_nondebug_insn_bb", ")", ";", "if", "(", "op0_use", "==", "NULL", "||", "!", "(", "GET_CODE", "(", "PATTERN", "(", "op0_use", ")", ")", "==", "SET", "&&", "RX_REG_P", "(", "XEXP", "(", "PATTERN", "(", "op0_use", ")", ",", "1", ")", ")", "&&", "reg_overlap_mentioned_p", "(", "operands", "[", "0", "]", ",", "XEXP", "(", "PATTERN", "(", "op0_use", ")", ",", "1", ")", ")", "&&", "rtx_equal_p", "(", "mem", ",", "XEXP", "(", "PATTERN", "(", "op0_use", ")", ",", "0", ")", ")", ")", "||", "!", "rx_reg_dead_or_unused_after_insn", "(", "op0_use", ",", "REGNO", "(", "operands", "[", "0", "]", ")", ")", "||", "reg_set_between_p", "(", "operands", "[", "2", "]", ",", "curr_insn", ",", "op0_use", ")", ")", "return", "false", ";", "for", "(", "rtx_insn", "*", "i", "=", "next_nonnote_nondebug_insn_bb", "(", "op2_def", ".", "insn", ")", ";", "i", "!=", "NULL", "&&", "i", "!=", "op0_use", ";", "i", "=", "next_nonnote_nondebug_insn_bb", "(", "i", ")", ")", "if", "(", "volatile_insn_p", "(", "PATTERN", "(", "i", ")", ")", "||", "CALL_P", "(", "i", ")", ")", "return", "false", ";", "emit_insn", "(", "gen_insn", "(", "mem", ",", "gen_lowpart", "(", "QImode", ",", "operands", "[", "1", "]", ")", ")", ")", ";", "set_insn_deleted", "(", "op2_def", ".", "insn", ")", ";", "set_insn_deleted", "(", "op0_use", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Try", "to", "fuse", "the", "current", "bit-operation", "insn", "with", "the", "surrounding", "memory", "load", "and", "store", "."], "TS_V_token": ["rx", "2", "2", "2", "0", "2", "0", "0", "0", "0", "0", "1", "0", "1", "0", "0", "2", "1"], "File": "rx", "Func": "rx_fuse_in_memory_bitop", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18789, "Length": 382, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "Sparc", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["Sparc", "Sparc::NumTargetFixupKinds"], "File": "SparcAsmBackend", "Func": "getNumFixupKinds", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18790, "Length": 13, "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", ".", "getTargetData", "(", ")", "->", "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": "ARMSelectionDAGInfo3", "Func": "EmitTargetCodeForMemset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18791, "Length": 336, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "split_stack_prologue_scratch_regno", "(", "void", ")", "{", "if", "(", "TARGET_64BIT", ")", "return", "R11_REG", ";", "else", "{", "bool", "is_fastcall", ",", "is_thiscall", ";", "int", "regparm", ";", "is_fastcall", "=", "(", "lookup_attribute", "(", "\"fastcall\"", ",", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "cfun", "->", "decl", ")", ")", ")", "!=", "NULL", ")", ";", "is_thiscall", "=", "(", "lookup_attribute", "(", "\"thiscall\"", ",", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "cfun", "->", "decl", ")", ")", ")", "!=", "NULL", ")", ";", "regparm", "=", "ix86_function_regparm", "(", "TREE_TYPE", "(", "cfun", "->", "decl", ")", ",", "cfun", "->", "decl", ")", ";", "if", "(", "is_fastcall", ")", "{", "if", "(", "DECL_STATIC_CHAIN", "(", "cfun", "->", "decl", ")", ")", "{", "sorry", "(", "\"-fsplit-stack does not support fastcall with \"", "\"nested function\"", ")", ";", "return", "INVALID_REGNUM", ";", "}", "return", "AX_REG", ";", "}", "else", "if", "(", "is_thiscall", ")", "{", "if", "(", "!", "DECL_STATIC_CHAIN", "(", "cfun", "->", "decl", ")", ")", "return", "DX_REG", ";", "return", "AX_REG", ";", "}", "else", "if", "(", "regparm", "<", "3", ")", "{", "if", "(", "!", "DECL_STATIC_CHAIN", "(", "cfun", "->", "decl", ")", ")", "return", "CX_REG", ";", "else", "{", "if", "(", "regparm", ">=", "2", ")", "{", "sorry", "(", "\"-fsplit-stack does not support 2 register \"", "\"parameters for a nested function\"", ")", ";", "return", "INVALID_REGNUM", ";", "}", "return", "DX_REG", ";", "}", "}", "else", "{", "sorry", "(", "\"-fsplit-stack does not support 3 register parameters\"", ")", ";", "return", "INVALID_REGNUM", ";", "}", "}", "}", ""], "natrual_language": ["Return", "a", "scratch", "register", "to", "use", "in", "the", "split", "stack", "prologue", ".", "The", "split", "stack", "prologue", "is", "used", "for", "-fsplit-stack", ".", "It", "is", "the", "first", "instructions", "in", "the", "function", ",", "even", "before", "the", "regular", "prologue", ".", "The", "scratch", "register", "can", "be", "any", "caller-saved", "register", "which", "is", "not", "used", "for", "parameters", "or", "for", "the", "static", "chain", "."], "TS_V_token": ["i386", "\"fastcall\"", "\"thiscall\"", "\"-fsplit-stack does not support fastcall with \"", "\"nested function\"", "3", "2", "\"-fsplit-stack does not support 2 register \"", "\"parameters for a nested function\"", "\"-fsplit-stack does not support 3 register parameters\""], "File": "i3864", "Func": "split_stack_prologue_scratch_regno", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18792, "Length": 193, "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", ":", "{", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "Instructions", ".", "push_back", "(", "Inst", ")", ";", "break", ";", "case", "SP", "::", "SET", ":", "if", "(", "expandSET", "(", "Inst", ",", "IDLoc", ",", "Instructions", ")", ")", "return", "true", ";", "break", ";", "}", "for", "(", "const", "MCInst", "&", "I", ":", "Instructions", ")", "{", "Out", ".", "EmitInstruction", "(", "I", ",", "getSTI", "(", ")", ")", ";", "}", "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", "SP::SET", "\"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": "SparcAsmParser12", "Func": "MatchAndEmitInstruction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18793, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMAsmParser", "::", "checkTargetMatchPredicate", "(", "MCInst", "&", "Inst", ")", "{", "unsigned", "Opc", "=", "Inst", ".", "getOpcode", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "getInstDesc", "(", "Opc", ")", ";", "if", "(", "MCID", ".", "TSFlags", "&", "ARMII", "::", "ThumbArithFlagSetting", ")", "{", "assert", "(", "MCID", ".", "hasOptionalDef", "(", ")", "&&", "\"optionally flag setting instruction missing optional def operand\"", ")", ";", "assert", "(", "MCID", ".", "NumOperands", "==", "Inst", ".", "getNumOperands", "(", ")", "&&", "\"operand count mismatch!\"", ")", ";", "unsigned", "OpNo", ";", "for", "(", "OpNo", "=", "0", ";", "!", "MCID", ".", "OpInfo", "[", "OpNo", "]", ".", "isOptionalDef", "(", ")", "&&", "OpNo", "<", "MCID", ".", "NumOperands", ";", "++", "OpNo", ")", ";", "if", "(", "isThumbOne", "(", ")", "&&", "Inst", ".", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", "!=", "ARM", "::", "CPSR", ")", "return", "Match_MnemonicFail", ";", "if", "(", "isThumbTwo", "(", ")", "&&", "Inst", ".", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", "!=", "ARM", "::", "CPSR", "&&", "!", "inITBlock", "(", ")", ")", "return", "Match_RequiresITBlock", ";", "if", "(", "isThumbTwo", "(", ")", "&&", "Inst", ".", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", "==", "ARM", "::", "CPSR", "&&", "inITBlock", "(", ")", ")", "return", "Match_RequiresNotITBlock", ";", "}", "else", "if", "(", "Opc", "==", "ARM", "::", "tADDhirr", "&&", "isThumbOne", "(", ")", "&&", "isARMLowRegister", "(", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", "&&", "isARMLowRegister", "(", "Inst", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ")", "return", "Match_RequiresThumb2", ";", "else", "if", "(", "Opc", "==", "ARM", "::", "tMOVr", "&&", "isThumbOne", "(", ")", "&&", "!", "hasV6Ops", "(", ")", "&&", "isARMLowRegister", "(", "Inst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", "&&", "isARMLowRegister", "(", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ")", "return", "Match_RequiresV6", ";", "return", "Match_Success", ";", "}", ""], "natrual_language": ["checkTargetMatchPredicate", "-", "Validate", "the", "instruction", "match", "against", "any", "complex", "target", "predicates", "not", "expressible", "via", "match", "classes", "."], "TS_V_token": ["ARM", "ARM", "ARMII::ThumbArithFlagSetting", "\"optionally flag setting instruction missing optional def operand\"", "\"operand count mismatch!\"", "0", "ARM::CPSR", "ARM::CPSR", "ARM::CPSR", "ARM::tADDhirr", "ARM", "1", "ARM", "2", "ARM::tMOVr", "ARM", "0", "ARM", "1"], "File": "ARMAsmParser (2)1", "Func": "checkTargetMatchPredicate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18794, "Length": 276, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "RCPair", "ARMTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "const", "std", "::", "string", "&", "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", ")", "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", "0U", "ARM::SPRRegClass", "\"{cc}\"", "ARM::CPSR", "ARM::CCRRegClass"], "File": "ARMISelLowering132", "Func": "getRegForInlineAsmConstraint", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18795, "Length": 352, "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", "<<", "\" 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 \"", "\"Base.Reg \"", "0", "\"nul\"", "\" Base.FrameIndex \"", "\" Scale\"", "\"IndexReg \"", "0", "\"nul\"", "\" Disp \"", "\"GV \"", "\"nul\"", "\" CP \"", "\"nul\"", "\"ES \"", "\"nul\"", "\" JT\"", "\" Align\""], "File": "X86ISelDAGToDAG56", "Func": "dump", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18796, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "generate_target_offloadend_file", "(", "const", "char", "*", "target_compiler", ")", "{", "char", "*", "dump_filename", "=", "concat", "(", "dumppfx", ",", "\"_target_offloadend.c\"", ",", "NULL", ")", ";", "const", "char", "*", "src_filename", "=", "save_temps", "?", "dump_filename", ":", "make_temp_file", "(", "\"_target_offloadend.c\"", ")", ";", "const", "char", "*", "obj_filename", "=", "save_temps", "?", "concat", "(", "dumppfx", ",", "\"_target_offloadend.o\"", ",", "NULL", ")", ":", "make_temp_file", "(", "\"_target_offloadend.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", ",", "\"const void *const __offload_funcs_end[0]\\n\"", "\"__attribute__ ((__used__, visibility (\\\"hidden\\\"),\\n\"", "\"section (\\\".gnu.offload_funcs\\\"))) = { };\\n\\n\"", "\"const void *const __offload_vars_end[0]\\n\"", "\"__attribute__ ((__used__, visibility (\\\"hidden\\\"),\\n\"", "\"section (\\\".gnu.offload_vars\\\"))) = { };\\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", "__offload_", "*", "_end", "symbols", "for", "the", "target", "library", "."], "TS_V_token": ["i386", "\"_target_offloadend.c\"", "\"_target_offloadend.c\"", "\"_target_offloadend.o\"", "\"_target_offloadend.o\"", "\"w\"", "\"cannot open '%s'\"", "\"const void *const __offload_funcs_end[0]\\n\"", "\"__attribute__ ((__used__, visibility (\\\"hidden\\\"),\\n\"", "\"section (\\\".gnu.offload_funcs\\\"))) = { };\\n\\n\"", "\"const void *const __offload_vars_end[0]\\n\"", "\"__attribute__ ((__used__, visibility (\\\"hidden\\\"),\\n\"", "\"section (\\\".gnu.offload_vars\\\"))) = { };\\n\"", "\"-save-temps\"", "\"-v\"", "\"-dumpdir\"", "\"\"", "\"-dumpbase\"", "\"-dumpbase-ext\"", "\".c\"", "\"-c\"", "\"-shared\"", "\"-fPIC\"", "\"-o\""], "File": "intelmic-mkoffload", "Func": "generate_target_offloadend_file", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18797, "Length": 266, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "rs6000_address_for_fpconvert", "(", "rtx", "x", ")", "{", "rtx", "addr", ";", "gcc_assert", "(", "MEM_P", "(", "x", ")", ")", ";", "addr", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "can_create_pseudo_p", "(", ")", "&&", "!", "legitimate_indirect_address_p", "(", "addr", ",", "reload_completed", ")", "&&", "!", "legitimate_indexed_address_p", "(", "addr", ",", "reload_completed", ")", ")", "{", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PRE_INC", "||", "GET_CODE", "(", "addr", ")", "==", "PRE_DEC", ")", "{", "rtx", "reg", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "HOST_WIDE_INT", "size", "=", "GET_MODE_SIZE", "(", "GET_MODE", "(", "x", ")", ")", ";", "rtx", "size_rtx", "=", "GEN_INT", "(", "(", "GET_CODE", "(", "addr", ")", "==", "PRE_DEC", ")", "?", "-", "size", ":", "size", ")", ";", "gcc_assert", "(", "REG_P", "(", "reg", ")", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "reg", ",", "reg", ",", "size_rtx", ")", ")", ";", "addr", "=", "reg", ";", "}", "else", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PRE_MODIFY", ")", "{", "rtx", "reg", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "rtx", "expr", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "gcc_assert", "(", "REG_P", "(", "reg", ")", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "expr", ")", "==", "PLUS", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "reg", ",", "XEXP", "(", "expr", ",", "0", ")", ",", "XEXP", "(", "expr", ",", "1", ")", ")", ")", ";", "addr", "=", "reg", ";", "}", "x", "=", "replace_equiv_address", "(", "x", ",", "copy_addr_to_reg", "(", "addr", ")", ")", ";", "}", "return", "x", ";", "}", ""], "natrual_language": ["Given", "a", "memory", "reference", ",", "if", "it", "is", "not", "a", "reg", "or", "reg+reg", "addressing", ",", "convert", "to", "such", "a", "form", "to", "deal", "with", "memory", "reference", "instructions", "like", "STFIWX", "that", "only", "take", "reg+reg", "addressing", "."], "TS_V_token": ["rs6000", "0", "0", "0", "1", "0", "1"], "File": "rs60007", "Func": "rs6000_address_for_fpconvert", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18798, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 Lower Tile Copy\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 Lower Tile Copy\""], "File": "X86LowerTileCopy", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18799, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isReg", "(", ")", "const", "override", "{", "return", "Kind", "==", "k_Register", "&&", "!", "Reg", ".", "isVector", ";", "}", ""], "natrual_language": ["isReg", "-", "Is", "this", "a", "register", "operand", "?"], "TS_V_token": ["ARM64"], "File": "ARM64AsmParser1", "Func": "isReg", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18800, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCPassConfig", "::", "addPreEmitPass2", "(", ")", "{", "addPass", "(", "createPPCExpandAtomicPseudoPass", "(", ")", ")", ";", "addPass", "(", "createPPCBranchSelectionPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "may", "add", "passes", "immediately", "before", "machine", "code", "is", "emitted", "in", "this", "callback", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC"], "File": "PPCTargetMachine40", "Func": "addPreEmitPass2", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18801, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "builtin_decl", "(", "unsigned", "int", "code", ",", "bool", ")", "{", "if", "(", "code", ">=", "vec_safe_length", "(", "registered_functions", ")", ")", "return", "error_mark_node", ";", "return", "(", "*", "registered_functions", ")", "[", "code", "]", "->", "decl", ";", "}", ""], "natrual_language": ["Return", "the", "function", "decl", "with", "RVV", "function", "subcode", "CODE", ",", "or", "error_mark_node", "if", "no", "such", "function", "exists", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "builtin_decl", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18802, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arm_gen_load_multiple_1", "(", "int", "count", ",", "int", "*", "regs", ",", "rtx", "*", "mems", ",", "rtx", "basereg", ",", "HOST_WIDE_INT", "wback_offset", ")", "{", "int", "i", "=", "0", ",", "j", ";", "rtx", "result", ";", "if", "(", "!", "multiple_operation_profitable_p", "(", "false", ",", "count", ",", "0", ")", ")", "{", "rtx", "seq", ";", "start_sequence", "(", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "count", ";", "i", "++", ")", "emit_move_insn", "(", "gen_rtx_REG", "(", "SImode", ",", "regs", "[", "i", "]", ")", ",", "mems", "[", "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", "(", "VOIDmode", ",", "basereg", ",", "plus_constant", "(", "Pmode", ",", "basereg", ",", "wback_offset", ")", ")", ";", "i", "=", "1", ";", "count", "++", ";", "}", "for", "(", "j", "=", "0", ";", "i", "<", "count", ";", "i", "++", ",", "j", "++", ")", "XVECEXP", "(", "result", ",", "0", ",", "i", ")", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "SImode", ",", "regs", "[", "j", "]", ")", ",", "mems", "[", "j", "]", ")", ";", "return", "result", ";", "}", ""], "natrual_language": ["Generate", "a", "load-multiple", "instruction", ".", "COUNT", "is", "the", "number", "of", "loads", "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", "1", "0", "0", "0", "0", "1", "0", "0"], "File": "arm4", "Func": "arm_gen_load_multiple_1", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18803, "Length": 228, "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", "(", ")", ";", "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": "X86RegisterInfo21", "Func": "getCalleeSavedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18804, "Length": 196, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SHUXIRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "SHUXI", "::", "SP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["SHUXI", "SHUXI", "SHUXI::SP"], "File": "SHUXIRegisterInfo", "Func": "getFrameRegister", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18805, "Length": 18, "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", "(", "TM", ".", "getSubtargetImpl", "(", ")", "->", "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": "SystemZInstrInfo (2)", "Func": "PredicateInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18806, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "ArrayRef", "<", "Register", ">>", "VRegs", ")", "const", "{", "auto", "&", "TLI", "=", "*", "getTLI", "<", "ARMTargetLowering", ">", "(", ")", ";", "auto", "Subtarget", "=", "TLI", ".", "getSubtarget", "(", ")", ";", "if", "(", "Subtarget", "->", "isThumb1Only", "(", ")", ")", "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", ";", "if", "(", "Arg", ".", "hasByValOrInAllocaAttr", "(", ")", ")", "return", "false", ";", "}", "CCAssignFn", "*", "AssignFn", "=", "TLI", ".", "CCAssignFnForCall", "(", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ")", ";", "FormalArgHandler", "ArgHandler", "(", "MIRBuilder", ",", "MIRBuilder", ".", "getMF", "(", ")", ".", "getRegInfo", "(", ")", ",", "AssignFn", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "SplitArgInfos", ";", "unsigned", "Idx", "=", "0", ";", "for", "(", "auto", "&", "Arg", ":", "F", ".", "args", "(", ")", ")", "{", "ArgInfo", "OrigArgInfo", "(", "VRegs", "[", "Idx", "]", ",", "Arg", ".", "getType", "(", ")", ")", ";", "setArgFlags", "(", "OrigArgInfo", ",", "Idx", "+", "AttributeList", "::", "FirstArgIndex", ",", "DL", ",", "F", ")", ";", "splitToValueTypes", "(", "OrigArgInfo", ",", "SplitArgInfos", ",", "MF", ")", ";", "Idx", "++", ";", "}", "if", "(", "!", "MBB", ".", "empty", "(", ")", ")", "MIRBuilder", ".", "setInstr", "(", "*", "MBB", ".", "begin", "(", ")", ")", ";", "if", "(", "!", "handleAssignments", "(", "MIRBuilder", ",", "SplitArgInfos", ",", "ArgHandler", ")", ")", "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": ["ARM", "ARM", "ARM", "8", "0"], "File": "ARMCallLowering1", "Func": "lowerFormalArguments", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18807, "Length": 306, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "eligible_for_sibcall_delay", "(", "rtx_insn", "*", "trial", ")", "{", "rtx", "pat", ";", "if", "(", "get_attr_in_branch_delay", "(", "trial", ")", "==", "IN_BRANCH_DELAY_FALSE", ")", "return", "0", ";", "if", "(", "!", "NONJUMP_INSN_P", "(", "trial", ")", ")", "return", "0", ";", "pat", "=", "PATTERN", "(", "trial", ")", ";", "if", "(", "sparc_leaf_function_p", "||", "TARGET_FLAT", ")", "{", "if", "(", "LEAF_SIBCALL_SLOT_RESERVED_P", ")", "return", "0", ";", "if", "(", "reg_mentioned_p", "(", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ",", "pat", ")", ")", "return", "0", ";", "return", "1", ";", "}", "if", "(", "GET_CODE", "(", "pat", ")", "!=", "SET", ")", "return", "0", ";", "if", "(", "GET_CODE", "(", "SET_DEST", "(", "pat", ")", ")", "!=", "REG", "||", "(", "REGNO", "(", "SET_DEST", "(", "pat", ")", ")", ">=", "8", "&&", "REGNO", "(", "SET_DEST", "(", "pat", ")", ")", "<", "24", ")", "||", "!", "SPARC_INT_REG_P", "(", "REGNO", "(", "SET_DEST", "(", "pat", ")", ")", ")", ")", "return", "0", ";", "if", "(", "reg_mentioned_p", "(", "gen_rtx_REG", "(", "Pmode", ",", "15", ")", ",", "pat", ")", ")", "return", "0", ";", "return", "eligible_for_restore_insn", "(", "trial", ",", "false", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "TRIAL", "can", "go", "into", "the", "sibling", "call", "'s", "delay", "slot", "."], "TS_V_token": ["sparc", "0", "0", "0", "1", "0", "1", "0", "8", "24", "0", "15", "0"], "File": "sparc", "Func": "eligible_for_sibcall_delay", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18808, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86DiscriminateMemOps", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DISubprogram", "*", "FDI", "=", "MF", ".", "getFunction", "(", ")", ".", "getSubprogram", "(", ")", ";", "if", "(", "!", "FDI", "||", "!", "FDI", "->", "getUnit", "(", ")", "->", "getDebugInfoForProfiling", "(", ")", ")", "return", "false", ";", "const", "DILocation", "*", "ReferenceDI", "=", "DILocation", "::", "get", "(", "FDI", "->", "getContext", "(", ")", ",", "FDI", "->", "getLine", "(", ")", ",", "0", ",", "FDI", ")", ";", "DenseMap", "<", "Location", ",", "unsigned", ">", "MemOpDiscriminators", ";", "MemOpDiscriminators", "[", "diToLocation", "(", "ReferenceDI", ")", "]", "=", "0", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "const", "auto", "&", "DI", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "if", "(", "!", "DI", ")", "continue", ";", "Location", "Loc", "=", "diToLocation", "(", "DI", ")", ";", "MemOpDiscriminators", "[", "Loc", "]", "=", "std", "::", "max", "(", "MemOpDiscriminators", "[", "Loc", "]", ",", "DI", "->", "getBaseDiscriminator", "(", ")", ")", ";", "}", "}", "DenseMap", "<", "Location", ",", "DenseSet", "<", "unsigned", ">>", "Seen", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "if", "(", "X86II", "::", "getMemoryOperandNo", "(", "MI", ".", "getDesc", "(", ")", ".", "TSFlags", ")", "<", "0", ")", "continue", ";", "const", "DILocation", "*", "DI", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "if", "(", "!", "DI", ")", "{", "DI", "=", "ReferenceDI", ";", "}", "DenseSet", "<", "unsigned", ">", "&", "Set", "=", "Seen", "[", "diToLocation", "(", "DI", ")", "]", ";", "const", "std", "::", "pair", "<", "DenseSet", "<", "unsigned", ">", "::", "iterator", ",", "bool", ">", "TryInsert", "=", "Set", ".", "insert", "(", "DI", "->", "getBaseDiscriminator", "(", ")", ")", ";", "if", "(", "!", "TryInsert", ".", "second", ")", "{", "DI", "=", "DI", "->", "setBaseDiscriminator", "(", "++", "MemOpDiscriminators", "[", "diToLocation", "(", "DI", ")", "]", ")", ";", "updateDebugInfo", "(", "&", "MI", ",", "DI", ")", ";", "Changed", "=", "true", ";", "const", "std", "::", "pair", "<", "DenseSet", "<", "unsigned", ">", "::", "iterator", ",", "bool", ">", "MustInsert", "=", "Set", ".", "insert", "(", "DI", "->", "getBaseDiscriminator", "(", ")", ")", ";", "if", "(", "!", "MustInsert", ".", "second", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Unable to create a unique discriminator in \"", "<<", "DI", "->", "getFilename", "(", ")", "<<", "\" Line: \"", "<<", "DI", "->", "getLine", "(", ")", "<<", "\" Column: \"", "<<", "DI", "->", "getColumn", "(", ")", "<<", "\". This is likely due to a large macro expansion.\\n\"", ")", ";", "}", "}", "ReferenceDI", "=", "DI", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "0", "0", "X86II::getMemoryOperandNo", "0", "\"Unable to create a unique discriminator in \"", "\" Line: \"", "\" Column: \"", "\". This is likely due to a large macro expansion.\\n\""], "File": "X86DiscriminateMemOps1", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18809, "Length": 386, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "invalid_e500_subreg", "(", "rtx", "op", ",", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_E500_DOUBLE", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "==", "SUBREG", "&&", "(", "mode", "==", "SImode", "||", "mode", "==", "DImode", "||", "mode", "==", "TImode", "||", "mode", "==", "DDmode", "||", "mode", "==", "TDmode", "||", "mode", "==", "PTImode", ")", "&&", "REG_P", "(", "SUBREG_REG", "(", "op", ")", ")", "&&", "(", "GET_MODE", "(", "SUBREG_REG", "(", "op", ")", ")", "==", "DFmode", "||", "GET_MODE", "(", "SUBREG_REG", "(", "op", ")", ")", "==", "TFmode", ")", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "SUBREG", "&&", "(", "mode", "==", "DFmode", "||", "mode", "==", "TFmode", ")", "&&", "REG_P", "(", "SUBREG_REG", "(", "op", ")", ")", "&&", "(", "GET_MODE", "(", "SUBREG_REG", "(", "op", ")", ")", "==", "DImode", "||", "GET_MODE", "(", "SUBREG_REG", "(", "op", ")", ")", "==", "TImode", "||", "GET_MODE", "(", "SUBREG_REG", "(", "op", ")", ")", "==", "PTImode", "||", "GET_MODE", "(", "SUBREG_REG", "(", "op", ")", ")", "==", "DDmode", "||", "GET_MODE", "(", "SUBREG_REG", "(", "op", ")", ")", "==", "TDmode", ")", ")", "return", "true", ";", "}", "if", "(", "TARGET_SPE", "&&", "GET_CODE", "(", "op", ")", "==", "SUBREG", "&&", "mode", "==", "SImode", "&&", "REG_P", "(", "SUBREG_REG", "(", "op", ")", ")", "&&", "SPE_VECTOR_MODE", "(", "GET_MODE", "(", "SUBREG_REG", "(", "op", ")", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "OP", "is", "an", "invalid", "SUBREG", "operation", "on", "the", "e500", "."], "TS_V_token": ["rs6000"], "File": "rs60004", "Func": "invalid_e500_subreg", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18810, "Length": 207, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_expand_int_addcc", "(", "rtx", "operands", "[", "]", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "operands", "[", "1", "]", ")", ";", "rtx", "flags", ";", "rtx", "(", "*", "insn", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "rtx", "compare_op", ";", "rtx", "val", "=", "const0_rtx", ";", "bool", "fpcmp", "=", "false", ";", "machine_mode", "mode", ";", "rtx", "op0", "=", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ";", "rtx", "op1", "=", "XEXP", "(", "operands", "[", "1", "]", ",", "1", ")", ";", "if", "(", "operands", "[", "3", "]", "!=", "const1_rtx", "&&", "operands", "[", "3", "]", "!=", "constm1_rtx", ")", "return", "false", ";", "if", "(", "!", "ix86_expand_carry_flag_compare", "(", "code", ",", "op0", ",", "op1", ",", "&", "compare_op", ")", ")", "return", "false", ";", "code", "=", "GET_CODE", "(", "compare_op", ")", ";", "flags", "=", "XEXP", "(", "compare_op", ",", "0", ")", ";", "if", "(", "GET_MODE", "(", "flags", ")", "==", "CCFPmode", "||", "GET_MODE", "(", "flags", ")", "==", "CCFPUmode", ")", "{", "fpcmp", "=", "true", ";", "code", "=", "ix86_fp_compare_code_to_integer", "(", "code", ")", ";", "}", "if", "(", "code", "!=", "LTU", ")", "{", "val", "=", "constm1_rtx", ";", "if", "(", "fpcmp", ")", "PUT_CODE", "(", "compare_op", ",", "reverse_condition_maybe_unordered", "(", "GET_CODE", "(", "compare_op", ")", ")", ")", ";", "else", "PUT_CODE", "(", "compare_op", ",", "reverse_condition", "(", "GET_CODE", "(", "compare_op", ")", ")", ")", ";", "}", "mode", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", ";", "if", "(", "(", "code", "==", "LTU", ")", "==", "(", "operands", "[", "3", "]", "==", "constm1_rtx", ")", ")", "{", "switch", "(", "mode", ")", "{", "case", "QImode", ":", "insn", "=", "gen_subqi3_carry", ";", "break", ";", "case", "HImode", ":", "insn", "=", "gen_subhi3_carry", ";", "break", ";", "case", "SImode", ":", "insn", "=", "gen_subsi3_carry", ";", "break", ";", "case", "DImode", ":", "insn", "=", "gen_subdi3_carry", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "{", "switch", "(", "mode", ")", "{", "case", "QImode", ":", "insn", "=", "gen_addqi3_carry", ";", "break", ";", "case", "HImode", ":", "insn", "=", "gen_addhi3_carry", ";", "break", ";", "case", "SImode", ":", "insn", "=", "gen_addsi3_carry", ";", "break", ";", "case", "DImode", ":", "insn", "=", "gen_adddi3_carry", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "emit_insn", "(", "insn", "(", "operands", "[", "0", "]", ",", "operands", "[", "2", "]", ",", "val", ",", "flags", ",", "compare_op", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Expand", "conditional", "increment", "or", "decrement", "using", "adb/sbb", "instructions", ".", "The", "default", "case", "using", "setcc", "followed", "by", "the", "conditional", "move", "can", "be", "done", "by", "generic", "code", "."], "TS_V_token": ["i386", "1", "1", "0", "1", "1", "3", "3", "0", "0", "3", "0", "2"], "File": "i3864", "Func": "ix86_expand_int_addcc", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18811, "Length": 362, "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", "(", ")", ")", "{", "SectionKind", "Kind", "=", "CPE", ".", "getSectionKind", "(", "TM", ".", "getDataLayout", "(", ")", ")", ";", "const", "Constant", "*", "C", "=", "CPE", ".", "Val", ".", "ConstVal", ";", "if", "(", "const", "MCSectionCOFF", "*", "S", "=", "dyn_cast", "<", "MCSectionCOFF", ">", "(", "getObjFileLowering", "(", ")", ".", "getSectionForConstant", "(", "Kind", ",", "C", ")", ")", ")", "{", "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": "X86AsmPrinter64", "Func": "GetCPISymbol", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18812, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "finish", "(", ")", "override", "{", "for", "(", "auto", "*", "Sym", ":", "UpdateOther", ")", "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": "PPCMCTargetDesc (2)1", "Func": "finish", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18813, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetStreamer", "::", "emitLoadWithImmOffset", "(", "unsigned", "Opcode", ",", "unsigned", "DstReg", ",", "unsigned", "BaseReg", ",", "int64_t", "Offset", ",", "unsigned", "TmpReg", ",", "SMLoc", "IDLoc", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "{", "if", "(", "isInt", "<", "16", ">", "(", "Offset", ")", ")", "{", "emitRRI", "(", "Opcode", ",", "DstReg", ",", "BaseReg", ",", "Offset", ",", "IDLoc", ",", "STI", ")", ";", "return", ";", "}", "unsigned", "LoOffset", "=", "Offset", "&", "0x0000ffff", ";", "unsigned", "HiOffset", "=", "(", "Offset", "&", "0xffff0000", ")", ">>", "16", ";", "if", "(", "LoOffset", "&", "0x8000", ")", "HiOffset", "++", ";", "emitRI", "(", "Mips", "::", "LUi", ",", "TmpReg", ",", "HiOffset", ",", "IDLoc", ",", "STI", ")", ";", "if", "(", "BaseReg", "!=", "Mips", "::", "ZERO", ")", "emitRRR", "(", "Mips", "::", "ADDu", ",", "TmpReg", ",", "TmpReg", ",", "BaseReg", ",", "IDLoc", ",", "STI", ")", ";", "emitRRI", "(", "Opcode", ",", "DstReg", ",", "TmpReg", ",", "LoOffset", ",", "IDLoc", ",", "STI", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "load", "instruction", "with", "an", "immediate", "offset", "."], "TS_V_token": ["Mips", "Mips", "16", "0x0000ffff", "0xffff0000", "16", "0x8000", "Mips::LUi", "Mips::ZERO", "Mips::ADDu"], "File": "MipsTargetStreamer (2)1", "Func": "emitLoadWithImmOffset", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18814, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rx_small_data_operand", "(", "rtx", "op", ")", "{", "if", "(", "rx_small_data_limit", "==", "0", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "SYMBOL_REF", ")", "return", "SYMBOL_REF_SMALL_P", "(", "op", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "is", "a", "reference", "to", "an", "object", "in", "a", "small", "data", "area", "."], "TS_V_token": ["rx", "0"], "File": "rx", "Func": "rx_small_data_operand", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18815, "Length": 36, "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", "Offset", "=", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "?", "0x28", ":", "0x14", ";", "return", "SegmentOffset", "(", "IRB", ",", "Offset", ",", "getAddressSpace", "(", ")", ")", ";", "}", "}", "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"], "File": "X86ISelLowering (2)6", "Func": "getIRStackGuard", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18816, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_vector_mode_supported_p", "(", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_SSE", "&&", "VALID_SSE_REG_MODE", "(", "mode", ")", ")", "return", "true", ";", "if", "(", "TARGET_SSE2", "&&", "VALID_SSE2_REG_MODE", "(", "mode", ")", ")", "return", "true", ";", "if", "(", "TARGET_AVX", "&&", "VALID_AVX256_REG_MODE", "(", "mode", ")", ")", "return", "true", ";", "if", "(", "TARGET_AVX512F", "&&", "VALID_AVX512F_REG_MODE", "(", "mode", ")", ")", "return", "true", ";", "if", "(", "(", "TARGET_MMX", "||", "TARGET_MMX_WITH_SSE", ")", "&&", "VALID_MMX_REG_MODE", "(", "mode", ")", ")", "return", "true", ";", "if", "(", "(", "TARGET_3DNOW", "||", "TARGET_MMX_WITH_SSE", ")", "&&", "VALID_MMX_REG_MODE_3DNOW", "(", "mode", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implements", "target", "hook", "vector_mode_supported_p", "."], "TS_V_token": ["i386"], "File": "i3861", "Func": "ix86_vector_mode_supported_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18817, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetLowering", "::", "CanLowerReturn", "(", "CallingConv", "::", "ID", "CallConv", ",", "MachineFunction", "&", "MF", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "LLVMContext", "&", "Context", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "MipsCCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "Context", ")", ";", "return", "CCInfo", ".", "CheckReturn", "(", "Outs", ",", "RetCC_Mips", ")", ";", "}", ""], "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": ["Mips", "Mips", "ISD::OutputArg", "16", "Mips", "Mips"], "File": "MipsISelLowering3", "Func": "CanLowerReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18818, "Length": 70, "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", "=", "aarch64_reg_save_mode", "(", "cfun", "->", "decl", ",", "regno1", ")", ";", "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": "aarch646", "Func": "aarch64_push_regs", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18819, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "OutgoingValueHandler", "::", "getStackAddress", "(", "const", "CCValAssign", "&", "VA", ",", "MachineMemOperand", "*", "&", "MMO", ")", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFL", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "LLT", "p0", "=", "LLT", "::", "pointer", "(", "0", ",", "32", ")", ";", "LLT", "s32", "=", "LLT", "::", "scalar", "(", "32", ")", ";", "auto", "SPReg", "=", "MIRBuilder", ".", "buildCopy", "(", "p0", ",", "Register", "(", "Mips", "::", "SP", ")", ")", ";", "unsigned", "Offset", "=", "VA", ".", "getLocMemOffset", "(", ")", ";", "auto", "OffsetReg", "=", "MIRBuilder", ".", "buildConstant", "(", "s32", ",", "Offset", ")", ";", "auto", "AddrReg", "=", "MIRBuilder", ".", "buildPtrAdd", "(", "p0", ",", "SPReg", ",", "OffsetReg", ")", ";", "MachinePointerInfo", "MPO", "=", "MachinePointerInfo", "::", "getStack", "(", "MIRBuilder", ".", "getMF", "(", ")", ",", "Offset", ")", ";", "unsigned", "Size", "=", "alignTo", "(", "VA", ".", "getValVT", "(", ")", ".", "getSizeInBits", "(", ")", ",", "8", ")", "/", "8", ";", "unsigned", "Align", "=", "MinAlign", "(", "TFL", "->", "getStackAlignment", "(", ")", ",", "Offset", ")", ";", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MPO", ",", "MachineMemOperand", "::", "MOStore", ",", "Size", ",", "Align", ")", ";", "return", "AddrReg", ".", "getReg", "(", "0", ")", ";", "}", ""], "natrual_language": ["Materialize", "a", "VReg", "containing", "the", "address", "of", "the", "specified", "stack-based", "object", "."], "TS_V_token": ["Mips", "0", "32", "32", "Mips::SP", "8", "8", "0"], "File": "MipsCallLowering23", "Func": "getStackAddress", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18820, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SystemZTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "ZERO_EXTEND", ":", "return", "combineZERO_EXTEND", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "return", "combineSIGN_EXTEND", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SIGN_EXTEND_INREG", ":", "return", "combineSIGN_EXTEND_INREG", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "MERGE_HIGH", ":", "case", "SystemZISD", "::", "MERGE_LOW", ":", "return", "combineMERGE", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "combineLOAD", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "combineSTORE", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "VECTOR_SHUFFLE", ":", "return", "combineVECTOR_SHUFFLE", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "EXTRACT_VECTOR_ELT", ":", "return", "combineEXTRACT_VECTOR_ELT", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "JOIN_DWORDS", ":", "return", "combineJOIN_DWORDS", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "FP_ROUND", ":", "return", "combineFP_ROUND", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "FP_EXTEND", ":", "return", "combineFP_EXTEND", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "BSWAP", ":", "return", "combineBSWAP", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "BR_CCMASK", ":", "return", "combineBR_CCMASK", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "SELECT_CCMASK", ":", "return", "combineSELECT_CCMASK", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "GET_CCMASK", ":", "return", "combineGET_CCMASK", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SDIV", ":", "case", "ISD", "::", "UDIV", ":", "case", "ISD", "::", "SREM", ":", "case", "ISD", "::", "UREM", ":", "return", "combineIntDIVREM", "(", "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": ["SystemZ", "SystemZ", "ISD::ZERO_EXTEND", "ISD::SIGN_EXTEND", "ISD::SIGN_EXTEND_INREG", "SystemZISD::MERGE_HIGH", "SystemZISD::MERGE_LOW", "ISD::LOAD", "ISD::STORE", "ISD::VECTOR_SHUFFLE", "ISD::EXTRACT_VECTOR_ELT", "SystemZISD::JOIN_DWORDS", "ISD::FP_ROUND", "ISD::FP_EXTEND", "ISD::BSWAP", "SystemZISD::BR_CCMASK", "SystemZISD::SELECT_CCMASK", "SystemZISD::GET_CCMASK", "ISD::SDIV", "ISD::UDIV", "ISD::SREM", "ISD::UREM"], "File": "SystemZISelLowering (2)3", "Func": "PerformDAGCombine", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18821, "Length": 263, "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": 18822, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64MCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "TLSDESCCALL", ")", "{", "MCFixupKind", "Fixup", "=", "MCFixupKind", "(", "AArch64", "::", "fixup_aarch64_tlsdesc_call", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "MI", ".", "getOperand", "(", "0", ")", ".", "getExpr", "(", ")", ",", "Fixup", ")", ")", ";", "return", ";", "}", "uint64_t", "Binary", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "support", "::", "endian", "::", "Writer", "<", "support", "::", "little", ">", "(", "OS", ")", ".", "write", "<", "uint32_t", ">", "(", "Binary", ")", ";", "++", "MCNumEmitted", ";", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::TLSDESCCALL", "AArch64::fixup_aarch64_tlsdesc_call", "0", "0", "support::endian", "support::little"], "File": "AArch64MCCodeEmitter12", "Func": "encodeInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18823, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addPreISel", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableGlobalMerge", "&&", "!", "getARMSubtarget", "(", ")", ".", "isTargetNaCl", "(", ")", ")", "addPass", "(", "createGlobalMergePass", "(", "TM", "->", "getTargetLowering", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMTargetMachine46", "Func": "addPreISel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18824, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "OptimizeLEAPass", "::", "isReplaceable", "(", "const", "MachineInstr", "&", "First", ",", "const", "MachineInstr", "&", "Last", ",", "int64_t", "&", "AddrDispShift", ")", "const", "{", "assert", "(", "isLEA", "(", "First", ")", "&&", "isLEA", "(", "Last", ")", "&&", "\"The function works only with LEA instructions\"", ")", ";", "AddrDispShift", "=", "getAddrDispShift", "(", "Last", ",", "1", ",", "First", ",", "1", ")", ";", "if", "(", "MRI", "->", "getRegClass", "(", "First", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", "!=", "MRI", "->", "getRegClass", "(", "Last", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", "return", "false", ";", "for", "(", "auto", "&", "MO", ":", "MRI", "->", "use_operands", "(", "Last", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", "{", "MachineInstr", "&", "MI", "=", "*", "MO", ".", "getParent", "(", ")", ";", "const", "MCInstrDesc", "&", "Desc", "=", "MI", ".", "getDesc", "(", ")", ";", "int", "MemOpNo", "=", "X86II", "::", "getMemoryOperandNo", "(", "Desc", ".", "TSFlags", ",", "MI", ".", "getOpcode", "(", ")", ")", ";", "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", "\"The function works only with LEA instructions\"", "1", "1", "0", "0", "0", "X86II::getMemoryOperandNo", "0", "X86II::getOperandBias", "X86::AddrBaseReg", "0", "X86::AddrBaseReg", "X86::AddrDisp", "32", "X86::AddrDisp"], "File": "X86OptimizeLEAs1", "Func": "isReplaceable", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18825, "Length": 286, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "X86RegisterInfo", "::", "getLargestLegalSuperClass", "(", "const", "TargetRegisterClass", "*", "RC", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "RC", "==", "&", "X86", "::", "GR8_NOREXRegClass", ")", "return", "RC", ";", "const", "TargetRegisterClass", "*", "Super", "=", "RC", ";", "TargetRegisterClass", "::", "sc_iterator", "I", "=", "RC", "->", "getSuperClasses", "(", ")", ";", "do", "{", "switch", "(", "Super", "->", "getID", "(", ")", ")", "{", "case", "X86", "::", "GR8RegClassID", ":", "case", "X86", "::", "GR16RegClassID", ":", "case", "X86", "::", "GR32RegClassID", ":", "case", "X86", "::", "GR64RegClassID", ":", "case", "X86", "::", "FR32RegClassID", ":", "case", "X86", "::", "FR64RegClassID", ":", "case", "X86", "::", "RFP32RegClassID", ":", "case", "X86", "::", "RFP64RegClassID", ":", "case", "X86", "::", "RFP80RegClassID", ":", "case", "X86", "::", "VR128RegClassID", ":", "case", "X86", "::", "VR256RegClassID", ":", "if", "(", "Super", "->", "getSize", "(", ")", "==", "RC", "->", "getSize", "(", ")", ")", "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": ["X86", "X86", "X86::GR8_NOREXRegClass", "X86::GR8RegClassID", "X86::GR16RegClassID", "X86::GR32RegClassID", "X86::GR64RegClassID", "X86::FR32RegClassID", "X86::FR64RegClassID", "X86::RFP32RegClassID", "X86::RFP64RegClassID", "X86::RFP80RegClassID", "X86::VR128RegClassID", "X86::VR256RegClassID"], "File": "X86RegisterInfo (2)", "Func": "getLargestLegalSuperClass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18826, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_block_move_loop", "(", "rtx", "dest", ",", "rtx", "src", ",", "HOST_WIDE_INT", "length", ",", "HOST_WIDE_INT", "bytes_per_iter", ")", "{", "rtx_code_label", "*", "label", ";", "rtx", "src_reg", ",", "dest_reg", ",", "final_src", ",", "test", ";", "HOST_WIDE_INT", "leftover", ";", "leftover", "=", "length", "%", "bytes_per_iter", ";", "length", "-=", "leftover", ";", "mips_adjust_block_mem", "(", "src", ",", "bytes_per_iter", ",", "&", "src_reg", ",", "&", "src", ")", ";", "mips_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", ")", ";", "label", "=", "gen_label_rtx", "(", ")", ";", "emit_label", "(", "label", ")", ";", "mips_block_move_straight", "(", "dest", ",", "src", ",", "bytes_per_iter", ")", ";", "mips_emit_move", "(", "src_reg", ",", "plus_constant", "(", "Pmode", ",", "src_reg", ",", "bytes_per_iter", ")", ")", ";", "mips_emit_move", "(", "dest_reg", ",", "plus_constant", "(", "Pmode", ",", "dest_reg", ",", "bytes_per_iter", ")", ")", ";", "test", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "src_reg", ",", "final_src", ")", ";", "if", "(", "Pmode", "==", "DImode", ")", "emit_jump_insn", "(", "gen_cbranchdi4", "(", "test", ",", "src_reg", ",", "final_src", ",", "label", ")", ")", ";", "else", "emit_jump_insn", "(", "gen_cbranchsi4", "(", "test", ",", "src_reg", ",", "final_src", ",", "label", ")", ")", ";", "if", "(", "leftover", ")", "mips_block_move_straight", "(", "dest", ",", "src", ",", "leftover", ")", ";", "}", ""], "natrual_language": ["Move", "LENGTH", "bytes", "from", "SRC", "to", "DEST", "using", "a", "loop", "that", "moves", "MAX_MOVE_BYTES", "per", "iteration", ".", "LENGTH", "must", "be", "at", "least", "MAX_MOVE_BYTES", ".", "Assume", "that", "the", "memory", "regions", "do", "not", "overlap", "."], "TS_V_token": ["mips", "0", "0"], "File": "mips4", "Func": "mips_block_move_loop", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18827, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64MacroFusion", "::", "apply", "(", "ScheduleDAGInstrs", "*", "DAGInstrs", ")", "{", "ScheduleDAGMI", "*", "DAG", "=", "static_cast", "<", "ScheduleDAGMI", "*", ">", "(", "DAGInstrs", ")", ";", "for", "(", "SUnit", "&", "ASU", ":", "DAG", "->", "SUnits", ")", "scheduleAdjacentImpl", "(", "DAG", ",", "&", "ASU", ",", "ASU", ".", "Succs", ",", "false", ")", ";", "scheduleAdjacentImpl", "(", "DAG", ",", "&", "DAG", "->", "ExitSU", ",", "DAG", "->", "ExitSU", ".", "Preds", ",", "true", ")", ";", "}", ""], "natrual_language": ["Apply", "the", "profile", "inference", "algorithm", "for", "a", "given", "function", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64MacroFusion13", "Func": "apply", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18828, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "GeneralShuffle", "::", "add", "(", "SDValue", "Op", ",", "unsigned", "Elem", ")", "{", "unsigned", "BytesPerElement", "=", "VT", ".", "getVectorElementType", "(", ")", ".", "getStoreSize", "(", ")", ";", "EVT", "FromVT", "=", "Op", ".", "getNode", "(", ")", "?", "Op", ".", "getValueType", "(", ")", ":", "VT", ";", "unsigned", "FromBytesPerElement", "=", "FromVT", ".", "getVectorElementType", "(", ")", ".", "getStoreSize", "(", ")", ";", "if", "(", "FromBytesPerElement", "<", "BytesPerElement", ")", "return", "false", ";", "unsigned", "Byte", "=", "(", "(", "Elem", "*", "FromBytesPerElement", ")", "%", "SystemZ", "::", "VectorBytes", "+", "(", "FromBytesPerElement", "-", "BytesPerElement", ")", ")", ";", "while", "(", "Op", ".", "getNode", "(", ")", ")", "{", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "ISD", "::", "BITCAST", ")", "Op", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "else", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "ISD", "::", "VECTOR_SHUFFLE", "&&", "Op", ".", "hasOneUse", "(", ")", ")", "{", "SmallVector", "<", "int", ",", "SystemZ", "::", "VectorBytes", ">", "OpBytes", ";", "if", "(", "!", "getVPermMask", "(", "Op", ",", "OpBytes", ")", ")", "break", ";", "int", "NewByte", ";", "if", "(", "!", "getShuffleInput", "(", "OpBytes", ",", "Byte", ",", "BytesPerElement", ",", "NewByte", ")", ")", "break", ";", "if", "(", "NewByte", "<", "0", ")", "{", "addUndef", "(", ")", ";", "return", "true", ";", "}", "Op", "=", "Op", ".", "getOperand", "(", "unsigned", "(", "NewByte", ")", "/", "SystemZ", "::", "VectorBytes", ")", ";", "Byte", "=", "unsigned", "(", "NewByte", ")", "%", "SystemZ", "::", "VectorBytes", ";", "}", "else", "if", "(", "Op", ".", "isUndef", "(", ")", ")", "{", "addUndef", "(", ")", ";", "return", "true", ";", "}", "else", "break", ";", "}", "unsigned", "OpNo", "=", "0", ";", "for", "(", ";", "OpNo", "<", "Ops", ".", "size", "(", ")", ";", "++", "OpNo", ")", "if", "(", "Ops", "[", "OpNo", "]", "==", "Op", ")", "break", ";", "if", "(", "OpNo", "==", "Ops", ".", "size", "(", ")", ")", "Ops", ".", "push_back", "(", "Op", ")", ";", "unsigned", "Base", "=", "OpNo", "*", "SystemZ", "::", "VectorBytes", "+", "Byte", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "BytesPerElement", ";", "++", "I", ")", "Bytes", ".", "push_back", "(", "Base", "+", "I", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Add", "a", "string", "to", "the", "builder", "."], "TS_V_token": ["SystemZ", "SystemZ::VectorBytes", "ISD::BITCAST", "0", "ISD::VECTOR_SHUFFLE", "SystemZ::VectorBytes", "0", "SystemZ::VectorBytes", "SystemZ::VectorBytes", "0", "SystemZ::VectorBytes", "0"], "File": "SystemZISelLowering (2)2", "Func": "add", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18829, "Length": 326, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_expand_before_return", "(", "void", ")", "{", "if", "(", "TARGET_CALL_CLOBBERED_GP", ")", "emit_clobber", "(", "pic_offset_table_rtx", ")", ";", "}", ""], "natrual_language": ["Emit", "any", "instructions", "needed", "before", "a", "return", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_expand_before_return", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18830, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86Subtarget", "::", "X86Subtarget", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "X86TargetMachine", "&", "TM", ",", "unsigned", "StackAlignOverride", ",", "unsigned", "PreferVectorWidthOverride", ",", "unsigned", "RequiredVectorWidth", ")", ":", "X86GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "X86ProcFamily", "(", "Others", ")", ",", "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", "X86"], "File": "X86Subtarget111", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18831, "Length": 298, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiRegisterInfo", "::", "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": ["Lanai", "Lanai"], "File": "LanaiRegisterInfo", "Func": "requiresRegisterScavenging", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18832, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCCTRLoops", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "LI", "=", "&", "getAnalysis", "<", "LoopInfoWrapperPass", ">", "(", ")", ".", "getLoopInfo", "(", ")", ";", "SE", "=", "&", "getAnalysis", "<", "ScalarEvolution", ">", "(", ")", ";", "DT", "=", "&", "getAnalysis", "<", "DominatorTreeWrapperPass", ">", "(", ")", ".", "getDomTree", "(", ")", ";", "DataLayoutPass", "*", "DLP", "=", "getAnalysisIfAvailable", "<", "DataLayoutPass", ">", "(", ")", ";", "DL", "=", "DLP", "?", "&", "DLP", "->", "getDataLayout", "(", ")", ":", "nullptr", ";", "auto", "*", "TLIP", "=", "getAnalysisIfAvailable", "<", "TargetLibraryInfoWrapperPass", ">", "(", ")", ";", "LibInfo", "=", "TLIP", "?", "&", "TLIP", "->", "getTLI", "(", ")", ":", "nullptr", ";", "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": "PPCCTRLoops22", "Func": "runOnFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18833, "Length": 158, "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": 18834, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isExtractSubvectorCheap", "(", "EVT", "ResVT", ",", "EVT", "SrcVT", ",", "unsigned", "Index", ")", "const", "{", "if", "(", "!", "isOperationLegalOrCustom", "(", "ISD", "::", "EXTRACT_SUBVECTOR", ",", "ResVT", ")", ")", "return", "false", ";", "if", "(", "ResVT", ".", "getVectorElementType", "(", ")", "==", "MVT", "::", "i1", ")", "return", "Index", "==", "0", "||", "(", "(", "ResVT", ".", "getSizeInBits", "(", ")", "==", "SrcVT", ".", "getSizeInBits", "(", ")", "*", "2", ")", "&&", "(", "Index", "==", "ResVT", ".", "getVectorNumElements", "(", ")", ")", ")", ";", "return", "(", "Index", "%", "ResVT", ".", "getVectorNumElements", "(", ")", ")", "==", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "EXTRACT_SUBVECTOR", "is", "cheap", "for", "this", "result", "type", "with", "this", "index", "."], "TS_V_token": ["X86", "X86", "ISD::EXTRACT_SUBVECTOR", "MVT::i1", "0", "2", "0"], "File": "X86ISelLowering (2)5", "Func": "isExtractSubvectorCheap", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18835, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64MCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "verifyInstructionPredicates", "(", "MI", ",", "computeAvailableFeatures", "(", "STI", ".", "getFeatureBits", "(", ")", ")", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "TLSDESCCALL", ")", "{", "MCFixupKind", "Fixup", "=", "MCFixupKind", "(", "AArch64", "::", "fixup_aarch64_tlsdesc_call", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "MI", ".", "getOperand", "(", "0", ")", ".", "getExpr", "(", ")", ",", "Fixup", ")", ")", ";", "return", ";", "}", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "CompilerBarrier", "||", "MI", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "SPACE", "||", "MI", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "EH_SjLj_Setup", ")", "{", "return", ";", "}", "uint64_t", "Binary", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "support", "::", "endian", "::", "write", "<", "uint32_t", ">", "(", "OS", ",", "Binary", ",", "support", "::", "little", ")", ";", "++", "MCNumEmitted", ";", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::TLSDESCCALL", "AArch64::fixup_aarch64_tlsdesc_call", "0", "0", "AArch64::CompilerBarrier", "AArch64::SPACE", "AArch64::EH_SjLj_Setup", "support::endian", "support::little"], "File": "AArch64MCCodeEmitter38", "Func": "encodeInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18836, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "clear", "(", ")", "{", "TagStores", ".", "clear", "(", ")", ";", "}", ""], "natrual_language": ["Clear", "all", "timers", "in", "this", "group", "."], "TS_V_token": ["AArch64"], "File": "AArch64FrameLowering (2)1", "Func": "clear", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18837, "Length": 12, "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", ",", "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", ";", "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", ")", ")", ")", ";", "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": "ia645", "Func": "ia64_expand_compare", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18838, "Length": 484, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sh_delegitimize_address", "(", "rtx", "orig_x", ")", "{", "rtx", "x", ",", "y", ";", "orig_x", "=", "delegitimize_mem_from_attrs", "(", "orig_x", ")", ";", "x", "=", "orig_x", ";", "if", "(", "MEM_P", "(", "x", ")", ")", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST", ")", "{", "y", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "y", ")", "==", "UNSPEC", ")", "{", "if", "(", "XINT", "(", "y", ",", "1", ")", "==", "UNSPEC_GOT", "||", "XINT", "(", "y", ",", "1", ")", "==", "UNSPEC_GOTOFF", "||", "XINT", "(", "y", ",", "1", ")", "==", "UNSPEC_SYMOFF", ")", "return", "XVECEXP", "(", "y", ",", "0", ",", "0", ")", ";", "else", "if", "(", "XINT", "(", "y", ",", "1", ")", "==", "UNSPEC_PCREL_SYMOFF", ")", "{", "if", "(", "GET_CODE", "(", "XVECEXP", "(", "y", ",", "0", ",", "0", ")", ")", "==", "CONST", ")", "{", "rtx", "symplt", "=", "XEXP", "(", "XVECEXP", "(", "y", ",", "0", ",", "0", ")", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "symplt", ")", "==", "UNSPEC", "&&", "(", "XINT", "(", "symplt", ",", "1", ")", "==", "UNSPEC_PLT", "||", "XINT", "(", "symplt", ",", "1", ")", "==", "UNSPEC_PCREL", ")", ")", "return", "XVECEXP", "(", "symplt", ",", "0", ",", "0", ")", ";", "}", "}", "else", "if", "(", "TARGET_SHMEDIA", "&&", "(", "XINT", "(", "y", ",", "1", ")", "==", "UNSPEC_EXTRACT_S16", "||", "XINT", "(", "y", ",", "1", ")", "==", "UNSPEC_EXTRACT_U16", ")", ")", "{", "rtx", "offset", "=", "XVECEXP", "(", "y", ",", "0", ",", "1", ")", ";", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "XVECEXP", "(", "y", ",", "0", ",", "0", ")", ",", "offset", ")", ";", "if", "(", "MEM_P", "(", "orig_x", ")", ")", "x", "=", "replace_equiv_address_nv", "(", "orig_x", ",", "x", ")", ";", "return", "x", ";", "}", "}", "}", "return", "orig_x", ";", "}", ""], "natrual_language": ["In", "the", "name", "of", "slightly", "smaller", "debug", "output", ",", "and", "to", "cater", "to", "general", "assembler", "lossage", ",", "recognize", "various", "UNSPEC", "sequences", "and", "turn", "them", "back", "into", "a", "direct", "symbol", "reference", "."], "TS_V_token": ["sh", "0", "0", "1", "1", "1", "0", "0", "1", "0", "0", "0", "0", "0", "1", "1", "0", "0", "1", "1", "0", "1", "0", "0"], "File": "sh5", "Func": "sh_delegitimize_address", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18839, "Length": 278, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "thumb_pop", "(", "FILE", "*", "f", ",", "unsigned", "long", "mask", ")", "{", "int", "regno", ";", "int", "lo_mask", "=", "mask", "&", "0xFF", ";", "int", "pushed_words", "=", "0", ";", "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", ",", "\", \"", ")", ";", "pushed_words", "++", ";", "}", "}", "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", "0", "1", "1", "\"\\tpop\\t{\"", "0", "1", "1", "\"%r\"", "1", "0", "\", \"", "1", "\"}\\n\"", "1", "0xFF", "\", \"", "\"%r\"", "\"}\\n\""], "File": "arm6", "Func": "thumb_pop", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18840, "Length": 206, "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": 18841, "Length": 255, "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": 18842, "Length": 257, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isIntDivCheap", "(", "EVT", "VT", ",", "AttributeList", "Attr", ")", "const", "override", "{", "return", "true", ";", "}", ""], "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": ["VE"], "File": "VEISelLowering11", "Func": "isIntDivCheap", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18843, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "or1k_return_in_memory", "(", "const_tree", "type", ",", "const_tree", ")", "{", "const", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "return", "(", "size", "==", "-", "1", "||", "size", ">", "(", "2", "*", "UNITS_PER_WORD", ")", ")", ";", "}", ""], "natrual_language": ["worker", "function", "for", "TARGET_RETURN_IN_MEMORY", ".", "Returns", "true", "if", "the", "argument", "of", "TYPE", "should", "be", "returned", "in", "memory", ".", "On", "OpenRISC", "this", "is", "any", "value", "larger", "than", "64-bits", "."], "TS_V_token": ["or1k", "1", "2"], "File": "or1k", "Func": "or1k_return_in_memory", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18844, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_strip_shift", "(", "rtx", "x", ")", "{", "rtx", "op", "=", "x", ";", "if", "(", "(", "GET_CODE", "(", "op", ")", "==", "ASHIFT", "||", "GET_CODE", "(", "op", ")", "==", "ASHIFTRT", "||", "GET_CODE", "(", "op", ")", "==", "LSHIFTRT", "||", "GET_CODE", "(", "op", ")", "==", "ROTATERT", "||", "GET_CODE", "(", "op", ")", "==", "ROTATE", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "op", ",", "1", ")", ")", ")", "return", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "MULT", "&&", "CONST_INT_P", "(", "XEXP", "(", "op", ",", "1", ")", ")", "&&", "(", "(", "unsigned", ")", "exact_log2", "(", "INTVAL", "(", "XEXP", "(", "op", ",", "1", ")", ")", ")", ")", "<", "64", ")", "return", "XEXP", "(", "op", ",", "0", ")", ";", "return", "x", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "rtx", "cost", "calculation", ".", "Strip", "a", "shift", "expression", "from", "X", ".", "Returns", "the", "inner", "operand", "if", "successful", ",", "or", "the", "original", "expression", "on", "failure", "."], "TS_V_token": ["aarch64", "1", "0", "1", "1", "64", "0"], "File": "aarch64", "Func": "aarch64_strip_shift", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18845, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "LEGTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "LEGPassConfig", "(", "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": ["LEG", "LEG", "LEG"], "File": "LEGTargetMachine", "Func": "createPassConfig", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18846, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "unique_ptr", "<", "DLXOperand", ">", "DLXAsmParser", "::", "parseIdentifier", "(", ")", "{", "SMLoc", "Start", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "SMLoc", "End", "=", "SMLoc", "::", "getFromPointer", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "1", ")", ";", "const", "MCExpr", "*", "Res", ",", "*", "RHS", "=", "nullptr", ";", "DLXMCExpr", "::", "VariantKind", "Kind", "=", "DLXMCExpr", "::", "VK_DLX_None", ";", "if", "(", "Lexer", ".", "getKind", "(", ")", "!=", "AsmToken", "::", "Identifier", ")", "return", "nullptr", ";", "StringRef", "Identifier", ";", "if", "(", "Parser", ".", "parseIdentifier", "(", "Identifier", ")", ")", "return", "nullptr", ";", "if", "(", "Identifier", ".", "equals_lower", "(", "\"hi\"", ")", ")", "Kind", "=", "DLXMCExpr", "::", "VK_DLX_ABS_HI", ";", "else", "if", "(", "Identifier", ".", "equals_lower", "(", "\"lo\"", ")", ")", "Kind", "=", "DLXMCExpr", "::", "VK_DLX_ABS_LO", ";", "if", "(", "Kind", "!=", "DLXMCExpr", "::", "VK_DLX_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", "!=", "DLXMCExpr", "::", "VK_DLX_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", "=", "DLXMCExpr", "::", "create", "(", "Kind", ",", "Expr", ",", "getContext", "(", ")", ")", ";", "if", "(", "RHS", ")", "Res", "=", "MCBinaryExpr", "::", "createAdd", "(", "Res", ",", "RHS", ",", "getContext", "(", ")", ")", ";", "return", "DLXOperand", "::", "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": ["DLX", "DLX", "DLX", "1", "DLX", "DLX", "DLX", "\"hi\"", "DLX", "DLX", "\"lo\"", "DLX", "DLX", "DLX", "DLX", "\"Expected '('\"", "DLX", "DLX", "\"Expected ')'\"", "1", "DLX", "DLXOperand::createImm"], "File": "DLXAsmParser", "Func": "parseIdentifier", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18847, "Length": 350, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_return_in_memory", "(", "const_tree", "type", ",", "const_tree", "fntype", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_MACHO", "&&", "rs6000_darwin64_abi", "&&", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", "&&", "int_size_in_bytes", "(", "type", ")", ">", "0", ")", "{", "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", ",", "type", ",", "true", ",", "true", ")", ";", "if", "(", "valret", ")", "return", "false", ";", "}", "if", "(", "rs6000_discover_homogeneous_aggregate", "(", "TYPE_MODE", "(", "type", ")", ",", "type", ",", "NULL", ",", "NULL", ")", ")", "return", "false", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_ELFv2", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "(", "unsigned", "HOST_WIDE_INT", ")", "int_size_in_bytes", "(", "type", ")", "<=", "16", ")", "return", "false", ";", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "(", "aix_struct_return", "||", "(", "unsigned", "HOST_WIDE_INT", ")", "int_size_in_bytes", "(", "type", ")", ">", "8", ")", ")", "return", "true", ";", "if", "(", "TARGET_32BIT", "&&", "!", "TARGET_ALTIVEC_ABI", "&&", "ALTIVEC_VECTOR_MODE", "(", "TYPE_MODE", "(", "type", ")", ")", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", "&&", "int_size_in_bytes", "(", "type", ")", ">", "(", "TARGET_ALTIVEC_ABI", "?", "16", ":", "8", ")", ")", "{", "static", "bool", "warned_for_return_big_vectors", "=", "false", ";", "if", "(", "!", "warned_for_return_big_vectors", ")", "{", "warning", "(", "OPT_Wpsabi", ",", "\"GCC vector returned by reference: \"", "\"non-standard ABI extension with no compatibility guarantee\"", ")", ";", "warned_for_return_big_vectors", "=", "true", ";", "}", "return", "true", ";", "}", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "TARGET_IEEEQUAD", "&&", "FLOAT128_IEEE_P", "(", "TYPE_MODE", "(", "type", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "a", "nonzero", "value", "to", "say", "to", "return", "the", "function", "value", "in", "memory", ",", "just", "as", "large", "structures", "are", "always", "returned", ".", "TYPE", "will", "be", "the", "data", "type", "of", "the", "value", ",", "and", "FNTYPE", "will", "be", "the", "type", "of", "the", "function", "doing", "the", "returning", ",", "or", "@", "code", "{", "NULL", "}", "for", "libcalls", ".", "The", "AIX", "ABI", "for", "the", "RS/6000", "specifies", "that", "all", "structures", "are", "returned", "in", "memory", ".", "The", "Darwin", "ABI", "does", "the", "same", ".", "The", "SVR4", "ABI", "specifies", "that", "structures", "<", "=", "8", "bytes", "are", "returned", "in", "r3/r4", ",", "but", "a", "draft", "put", "them", "in", "memory", ",", "and", "GCC", "used", "to", "implement", "the", "draft", "instead", "of", "the", "final", "standard", ".", "Therefore", ",", "aix_struct_return", "controls", "this", "instead", "of", "DEFAULT_ABI", ";", "V.4", "targets", "needing", "backward", "compatibility", "can", "change", "DRAFT_V4_STRUCT_RET", "to", "override", "the", "default", ",", "and", "-m", "switches", "get", "the", "final", "word", ".", "See", "rs6000_override_options", "for", "more", "details", ".", "The", "PPC32", "SVR4", "ABI", "uses", "IEEE", "double", "extended", "for", "long", "double", ",", "if", "128-bit", "long", "double", "support", "is", "enabled", ".", "These", "values", "are", "returned", "in", "memory", ".", "int_size_in_bytes", "returns", "-1", "for", "variable", "size", "objects", ",", "which", "go", "in", "memory", "always", ".", "The", "cast", "to", "unsigned", "makes", "-1", ">", "8", "."], "TS_V_token": ["rs6000", "0", "0", "16", "8", "16", "8", "\"GCC vector returned by reference: \"", "\"non-standard ABI extension with no compatibility guarantee\""], "File": "rs60006", "Func": "rs6000_return_in_memory", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18848, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_sibcall_aix", "(", "rtx", "value", ",", "rtx", "func_desc", ",", "rtx", "flag", ",", "rtx", "cookie", ")", "{", "rtx", "call", "[", "2", "]", ";", "rtx", "insn", ";", "gcc_assert", "(", "INTVAL", "(", "cookie", ")", "==", "0", ")", ";", "call", "[", "0", "]", "=", "gen_rtx_CALL", "(", "VOIDmode", ",", "gen_rtx_MEM", "(", "SImode", ",", "func_desc", ")", ",", "flag", ")", ";", "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", ")", ")", ";", "use_reg", "(", "&", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ",", "gen_rtx_REG", "(", "Pmode", ",", "LR_REGNO", ")", ")", ";", "}", ""], "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": "rs60005", "Func": "rs6000_sibcall_aix", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18849, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcTargetLowering", "::", "ConstraintType", "SparcTargetLowering", "::", "getConstraintType", "(", "const", "std", "::", "string", "&", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'r'", ":", "return", "C_RegisterClass", ";", "}", "}", "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": "SparcISelLowering1", "Func": "getConstraintType", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18850, "Length": 56, "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": 18851, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "thumb1_extra_regs_pushed", "(", "arm_stack_offsets", "*", "offsets", ",", "bool", "for_prologue", ")", "{", "HOST_WIDE_INT", "amount", ";", "unsigned", "long", "live_regs_mask", "=", "offsets", "->", "saved_regs_mask", ";", "unsigned", "long", "l_mask", "=", "live_regs_mask", "&", "(", "for_prologue", "?", "0x40ff", ":", "0xff", ")", ";", "unsigned", "long", "high_regs_pushed", "=", "bit_count", "(", "live_regs_mask", "&", "0x0f00", ")", ";", "int", "n_free", ",", "reg_base", ",", "size", ";", "if", "(", "!", "for_prologue", "&&", "frame_pointer_needed", ")", "amount", "=", "offsets", "->", "locals_base", "-", "offsets", "->", "saved_regs", ";", "else", "amount", "=", "offsets", "->", "outgoing_args", "-", "offsets", "->", "saved_regs", ";", "if", "(", "!", "optimize_size", "&&", "amount", "!=", "512", ")", "return", "0", ";", "if", "(", "high_regs_pushed", "!=", "0", ")", "return", "0", ";", "if", "(", "l_mask", "==", "0", "&&", "(", "for_prologue", "||", "TARGET_BACKTRACE", "||", "(", "live_regs_mask", "&", "1", "<<", "LR_REGNUM", ")", "==", "0", "||", "TARGET_INTERWORK", "||", "crtl", "->", "args", ".", "pretend_args_size", "!=", "0", ")", ")", "return", "0", ";", "if", "(", "for_prologue", "&&", "(", "(", "flag_pic", "&&", "arm_pic_register", "!=", "INVALID_REGNUM", ")", "||", "(", "!", "frame_pointer_needed", "&&", "CALLER_INTERWORKING_SLOT_SIZE", ">", "0", ")", ")", ")", "return", "0", ";", "reg_base", "=", "0", ";", "n_free", "=", "0", ";", "if", "(", "!", "for_prologue", ")", "{", "size", "=", "arm_size_return_regs", "(", ")", ";", "reg_base", "=", "ARM_NUM_INTS", "(", "size", ")", ";", "live_regs_mask", ">>=", "reg_base", ";", "}", "while", "(", "reg_base", "+", "n_free", "<", "8", "&&", "!", "(", "live_regs_mask", "&", "1", ")", "&&", "(", "for_prologue", "||", "call_used_regs", "[", "reg_base", "+", "n_free", "]", ")", ")", "{", "live_regs_mask", ">>=", "1", ";", "n_free", "++", ";", "}", "if", "(", "n_free", "==", "0", ")", "return", "0", ";", "gcc_assert", "(", "amount", "/", "4", "*", "4", "==", "amount", ")", ";", "if", "(", "amount", ">=", "512", "&&", "(", "amount", "-", "n_free", "*", "4", ")", "<", "512", ")", "return", "(", "amount", "-", "508", ")", "/", "4", ";", "if", "(", "amount", "<=", "n_free", "*", "4", ")", "return", "amount", "/", "4", ";", "return", "0", ";", "}", ""], "natrual_language": ["Given", "the", "stack", "offsets", "and", "register", "mask", "in", "OFFSETS", ",", "decide", "how", "many", "additional", "registers", "to", "push", "instead", "of", "subtracting", "a", "constant", "from", "SP", ".", "For", "epilogues", "the", "principle", "is", "the", "same", "except", "we", "use", "pop", ".", "FOR_PROLOGUE", "indicates", "which", "we", "'re", "generating", "."], "TS_V_token": ["arm", "0x40ff", "0xff", "0x0f00", "512", "0", "0", "0", "0", "1", "0", "0", "0", "0", "0", "0", "0", "8", "1", "1", "0", "0", "4", "4", "512", "4", "512", "508", "4", "4", "4", "0"], "File": "arm4", "Func": "thumb1_extra_regs_pushed", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18852, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMConstantIslands", "::", "getOffsetOf", "(", "MachineInstr", "*", "MI", ")", "const", "{", "MachineBasicBlock", "*", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "unsigned", "Offset", "=", "BBInfo", "[", "MBB", "->", "getNumber", "(", ")", "]", ".", "Offset", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", "->", "begin", "(", ")", ";", "&", "*", "I", "!=", "MI", ";", "++", "I", ")", "{", "assert", "(", "I", "!=", "MBB", "->", "end", "(", ")", "&&", "\"Didn't find MI in its own basic block?\"", ")", ";", "Offset", "+=", "TII", "->", "GetInstSizeInBytes", "(", "I", ")", ";", "}", "return", "Offset", ";", "}", ""], "natrual_language": ["getOffsetOf", "-", "Return", "the", "current", "offset", "of", "the", "specified", "machine", "instruction", "from", "the", "start", "of", "the", "function", "."], "TS_V_token": ["ARM", "ARM", "\"Didn't find MI in its own basic block?\""], "File": "ARMConstantIslandPass (2)1", "Func": "getOffsetOf", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18853, "Length": 85, "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", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "X86Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "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", "X86", "X86::PUSH64r", "X86::PUSH32r", "0", "1", "X86::GR64RegClass", "X86::GR32RegClass", "0", "1", "X86::GR64RegClass", "X86::GR32RegClass", "1"], "File": "X86FrameLowering109", "Func": "spillCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18854, "Length": 314, "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": 18855, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZMCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "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", "8", "8", "0", "8"], "File": "SystemZMCCodeEmitter3", "Func": "encodeInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18856, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "{", "return", "OR1K", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["OR1K", "OR1K::NumTargetFixupKinds"], "File": "OR1KAsmBackend", "Func": "getNumFixupKinds", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18857, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "PPCTTIImpl", "::", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ",", "TTI", "::", "OperandValueKind", "Op1Info", ",", "TTI", "::", "OperandValueKind", "Op2Info", ",", "TTI", "::", "OperandValueProperties", "Opd1PropInfo", ",", "TTI", "::", "OperandValueProperties", "Opd2PropInfo", ",", "ArrayRef", "<", "const", "Value", "*", ">", "Args", ",", "const", "Instruction", "*", "CxtI", ")", "{", "assert", "(", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", "&&", "\"Invalid opcode\"", ")", ";", "if", "(", "CostKind", "!=", "TTI", "::", "TCK_RecipThroughput", ")", "return", "BaseT", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "CostKind", ",", "Op1Info", ",", "Op2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ",", "Args", ",", "CxtI", ")", ";", "int", "Cost", "=", "BaseT", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "CostKind", ",", "Op1Info", ",", "Op2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ")", ";", "return", "vectorCostAdjustment", "(", "Cost", ",", "Opcode", ",", "Ty", ",", "nullptr", ")", ";", "}", ""], "natrual_language": ["This", "is", "an", "approximation", "of", "reciprocal", "throughput", "of", "a", "math/logic", "op", "."], "TS_V_token": ["PowerPC", "PPC", "\"Invalid opcode\""], "File": "PPCTargetTransformInfo12", "Func": "getArithmeticInstrCost", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18858, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "nds32_debugger_regno", "(", "unsigned", "int", "regno", ")", "{", "if", "(", "NDS32_IS_FPR_REGNUM", "(", "regno", ")", ")", "return", "regno", "+", "4", ";", "return", "regno", ";", "}", ""], "natrual_language": ["Map", "internal", "gcc", "register", "numbers", "to", "DWARF2", "register", "numbers", "."], "TS_V_token": ["nds32", "4"], "File": "nds321", "Func": "nds32_debugger_regno", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18859, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MF", ".", "setHasWinCFI", "(", "false", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "!", "STI", ".", "is64Bit", "(", ")", "||", "!", "MF", ".", "hasEHFunclets", "(", ")", "||", "classifyEHPersonality", "(", "F", ".", "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": "X86FrameLowering (2)2", "Func": "processFunctionBeforeFrameFinalized", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18860, "Length": 324, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "crx_return_in_memory", "(", "tree", "type", ",", "tree", "fntype", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TYPE_MODE", "(", "type", ")", "==", "BLKmode", ")", "{", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "return", "(", "size", "==", "-", "1", "||", "size", ">", "8", ")", ";", "}", "else", "return", "false", ";", "}", ""], "natrual_language": ["Implements", "hook", "TARGET_RETURN_IN_MEMORY", "."], "TS_V_token": ["crx", "1", "8"], "File": "crx", "Func": "crx_return_in_memory", "Target": "crx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18861, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_simd_expand_builtin", "(", "int", "fcode", ",", "tree", "exp", ",", "rtx", "target", ")", "{", "if", "(", "fcode", "==", "AARCH64_SIMD_BUILTIN_LANE_CHECK", ")", "{", "rtx", "totalsize", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ")", ";", "rtx", "elementsize", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "1", ")", ")", ";", "if", "(", "CONST_INT_P", "(", "totalsize", ")", "&&", "CONST_INT_P", "(", "elementsize", ")", "&&", "UINTVAL", "(", "elementsize", ")", "!=", "0", "&&", "UINTVAL", "(", "totalsize", ")", "!=", "0", ")", "{", "rtx", "lane_idx", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "2", ")", ")", ";", "if", "(", "CONST_INT_P", "(", "lane_idx", ")", ")", "aarch64_simd_lane_bounds", "(", "lane_idx", ",", "0", ",", "UINTVAL", "(", "totalsize", ")", "/", "UINTVAL", "(", "elementsize", ")", ",", "exp", ")", ";", "else", "error", "(", "\"%Klane index must be a constant immediate\"", ",", "exp", ")", ";", "}", "else", "error", "(", "\"%Ktotal size and element size must be a non-zero constant immediate\"", ",", "exp", ")", ";", "return", "const0_rtx", ";", "}", "aarch64_simd_builtin_datum", "*", "d", "=", "&", "aarch64_simd_builtin_data", "[", "fcode", "-", "AARCH64_SIMD_PATTERN_START", "]", ";", "enum", "insn_code", "icode", "=", "d", "->", "code", ";", "builtin_simd_arg", "args", "[", "SIMD_MAX_BUILTIN_ARGS", "+", "1", "]", ";", "int", "num_args", "=", "insn_data", "[", "d", "->", "code", "]", ".", "n_operands", ";", "int", "is_void", "=", "0", ";", "int", "k", ";", "is_void", "=", "!", "!", "(", "d", "->", "qualifiers", "[", "0", "]", "&", "qualifier_void", ")", ";", "num_args", "+=", "is_void", ";", "for", "(", "k", "=", "1", ";", "k", "<", "num_args", ";", "k", "++", ")", "{", "int", "qualifiers_k", "=", "k", ";", "int", "operands_k", "=", "k", "-", "is_void", ";", "int", "expr_args_k", "=", "k", "-", "1", ";", "if", "(", "d", "->", "qualifiers", "[", "qualifiers_k", "]", "&", "qualifier_lane_index", ")", "args", "[", "k", "]", "=", "SIMD_ARG_LANE_INDEX", ";", "else", "if", "(", "d", "->", "qualifiers", "[", "qualifiers_k", "]", "&", "qualifier_immediate", ")", "args", "[", "k", "]", "=", "SIMD_ARG_CONSTANT", ";", "else", "if", "(", "d", "->", "qualifiers", "[", "qualifiers_k", "]", "&", "qualifier_maybe_immediate", ")", "{", "rtx", "arg", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "(", "expr_args_k", ")", ")", ")", ";", "bool", "op_const_int_p", "=", "(", "CONST_INT_P", "(", "arg", ")", "&&", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "operands_k", "]", ".", "predicate", ")", "(", "arg", ",", "insn_data", "[", "icode", "]", ".", "operand", "[", "operands_k", "]", ".", "mode", ")", ")", ";", "args", "[", "k", "]", "=", "op_const_int_p", "?", "SIMD_ARG_CONSTANT", ":", "SIMD_ARG_COPY_TO_REG", ";", "}", "else", "args", "[", "k", "]", "=", "SIMD_ARG_COPY_TO_REG", ";", "}", "args", "[", "k", "]", "=", "SIMD_ARG_STOP", ";", "return", "aarch64_simd_expand_args", "(", "target", ",", "icode", ",", "!", "is_void", ",", "exp", ",", "&", "args", "[", "1", "]", ")", ";", "}", ""], "natrual_language": ["Expand", "an", "AArch64", "AdvSIMD", "builtin", "(", "intrinsic", ")", "."], "TS_V_token": ["aarch64", "0", "1", "0", "0", "2", "0", "\"%Klane index must be a constant immediate\"", "\"%Ktotal size and element size must be a non-zero constant immediate\"", "1", "0", "0", "1", "1", "1"], "File": "aarch64-builtins2", "Func": "aarch64_simd_expand_builtin", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18862, "Length": 386, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsTargetLowering", "*", "MipsTargetLowering", "::", "create", "(", "MipsTargetMachine", "&", "TM", ")", "{", "if", "(", "TM", ".", "getSubtargetImpl", "(", ")", "->", "inMips16Mode", "(", ")", ")", "return", "llvm", "::", "createMips16TargetLowering", "(", "TM", ")", ";", "return", "llvm", "::", "createMipsSETargetLowering", "(", "TM", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsISelLowering (2)", "Func": "create", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18863, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "ARMTargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", "DL", ",", "LLVMContext", "&", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "getPointerTy", "(", "DL", ")", ";", "if", "(", "(", "Subtarget", "->", "hasMVEIntegerOps", "(", ")", "&&", "(", "VT", "==", "MVT", "::", "v2i64", "||", "VT", "==", "MVT", "::", "v4i32", "||", "VT", "==", "MVT", "::", "v8i16", "||", "VT", "==", "MVT", "::", "v16i8", ")", ")", "||", "(", "Subtarget", "->", "hasMVEFloatOps", "(", ")", "&&", "(", "VT", "==", "MVT", "::", "v2f64", "||", "VT", "==", "MVT", "::", "v4f32", "||", "VT", "==", "MVT", "::", "v8f16", ")", ")", ")", "return", "MVT", "::", "getVectorVT", "(", "MVT", "::", "i1", ",", "VT", ".", "getVectorElementCount", "(", ")", ")", ";", "return", "VT", ".", "changeVectorElementTypeToInteger", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["ARM", "ARM", "MVT::v2i64", "MVT::v4i32", "MVT::v8i16", "MVT::v16i8", "MVT::v2f64", "MVT::v4f32", "MVT::v8f16", "MVT::getVectorVT", "MVT::i1"], "File": "ARMISelLowering12", "Func": "getSetCCResultType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18864, "Length": 121, "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": 18865, "Length": 44, "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": 18866, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "SystemZMCInstLower", "Lower", "(", "Mang", ",", "MF", "->", "getContext", "(", ")", ",", "*", "this", ")", ";", "MCInst", "LoweredMI", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "SystemZ", "::", "Return", ":", "LoweredMI", "=", "MCInstBuilder", "(", "SystemZ", "::", "BR", ")", ".", "addReg", "(", "SystemZ", "::", "R14D", ")", ";", "break", ";", "case", "SystemZ", "::", "CallBRASL", ":", "LoweredMI", "=", "MCInstBuilder", "(", "SystemZ", "::", "BRASL", ")", ".", "addReg", "(", "SystemZ", "::", "R14D", ")", ".", "addExpr", "(", "Lower", ".", "getExpr", "(", "MI", "->", "getOperand", "(", "0", ")", ",", "MCSymbolRefExpr", "::", "VK_PLT", ")", ")", ";", "break", ";", "case", "SystemZ", "::", "CallBASR", ":", "LoweredMI", "=", "MCInstBuilder", "(", "SystemZ", "::", "BASR", ")", ".", "addReg", "(", "SystemZ", "::", "R14D", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ";", "break", ";", "case", "SystemZ", "::", "CallJG", ":", "LoweredMI", "=", "MCInstBuilder", "(", "SystemZ", "::", "JG", ")", ".", "addExpr", "(", "Lower", ".", "getExpr", "(", "MI", "->", "getOperand", "(", "0", ")", ",", "MCSymbolRefExpr", "::", "VK_PLT", ")", ")", ";", "break", ";", "case", "SystemZ", "::", "CallBR", ":", "LoweredMI", "=", "MCInstBuilder", "(", "SystemZ", "::", "BR", ")", ".", "addReg", "(", "SystemZ", "::", "R1D", ")", ";", "break", ";", "case", "SystemZ", "::", "IILF64", ":", "LoweredMI", "=", "MCInstBuilder", "(", "SystemZ", "::", "IILF", ")", ".", "addReg", "(", "SystemZMC", "::", "getRegAsGR32", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", ".", "addImm", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ")", ";", "break", ";", "case", "SystemZ", "::", "IIHF64", ":", "LoweredMI", "=", "MCInstBuilder", "(", "SystemZ", "::", "IIHF", ")", ".", "addReg", "(", "SystemZMC", "::", "getRegAsGRH32", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", ".", "addImm", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ")", ";", "break", ";", "case", "SystemZ", "::", "RISBHH", ":", "case", "SystemZ", "::", "RISBHL", ":", "LoweredMI", "=", "lowerRIEfLow", "(", "MI", ",", "SystemZ", "::", "RISBHG", ")", ";", "break", ";", "case", "SystemZ", "::", "RISBLH", ":", "case", "SystemZ", "::", "RISBLL", ":", "LoweredMI", "=", "lowerRIEfLow", "(", "MI", ",", "SystemZ", "::", "RISBLG", ")", ";", "break", ";", "case", "SystemZ", "::", "NAME", "##", "64", ":", "LoweredMI", "=", "lowerRILow", "(", "MI", ",", "SystemZ", "::", "NAME", ")", ";", "break", "LOWER_LOW", "(", "IILL", ")", ";", "LOWER_LOW", "(", "IILH", ")", ";", "LOWER_LOW", "(", "NILL", ")", ";", "LOWER_LOW", "(", "NILH", ")", ";", "LOWER_LOW", "(", "NILF", ")", ";", "LOWER_LOW", "(", "OILL", ")", ";", "LOWER_LOW", "(", "OILH", ")", ";", "LOWER_LOW", "(", "OILF", ")", ";", "LOWER_LOW", "(", "XILF", ")", ";", "case", "SystemZ", "::", "NAME", "##", "64", ":", "LoweredMI", "=", "lowerRIHigh", "(", "MI", ",", "SystemZ", "::", "NAME", ")", ";", "break", "LOWER_HIGH", "(", "IIHL", ")", ";", "LOWER_HIGH", "(", "IIHH", ")", ";", "LOWER_HIGH", "(", "NIHL", ")", ";", "LOWER_HIGH", "(", "NIHH", ")", ";", "LOWER_HIGH", "(", "NIHF", ")", ";", "LOWER_HIGH", "(", "OIHL", ")", ";", "LOWER_HIGH", "(", "OIHH", ")", ";", "LOWER_HIGH", "(", "OIHF", ")", ";", "LOWER_HIGH", "(", "XIHF", ")", ";", "default", ":", "Lower", ".", "lower", "(", "MI", ",", "LoweredMI", ")", ";", "break", ";", "}", "OutStreamer", ".", "EmitInstruction", "(", "LoweredMI", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ::Return", "SystemZ::BR", "SystemZ::R14D", "SystemZ::CallBRASL", "SystemZ::BRASL", "SystemZ::R14D", "0", "SystemZ::CallBASR", "SystemZ::BASR", "SystemZ::R14D", "0", "SystemZ::CallJG", "SystemZ::JG", "0", "SystemZ::CallBR", "SystemZ::BR", "SystemZ::R1D", "SystemZ::IILF64", "SystemZ::IILF", "SystemZMC::getRegAsGR32", "0", "2", "SystemZ::IIHF64", "SystemZ::IIHF", "SystemZMC::getRegAsGRH32", "0", "2", "SystemZ::RISBHH", "SystemZ::RISBHL", "SystemZ::RISBHG", "SystemZ::RISBLH", "SystemZ::RISBLL", "SystemZ::RISBLG", "SystemZ::NAME", "64", "SystemZ::NAME", "SystemZ::NAME", "64", "SystemZ::NAME"], "File": "SystemZAsmPrinter36", "Func": "EmitInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18867, "Length": 492, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PassConfig", "::", "addPreISel", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnablePromoteConstant", ")", "addPass", "(", "createAArch64PromoteConstantPass", "(", ")", ")", ";", "if", "(", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableGlobalMerge", "==", "cl", "::", "BOU_UNSET", ")", "||", "EnableGlobalMerge", "==", "cl", "::", "BOU_TRUE", ")", "{", "bool", "OnlyOptimizeForSize", "=", "(", "TM", "->", "getOptLevel", "(", ")", "<", "CodeGenOpt", "::", "Aggressive", ")", "&&", "(", "EnableGlobalMerge", "==", "cl", "::", "BOU_UNSET", ")", ";", "addPass", "(", "createGlobalMergePass", "(", "TM", ",", "4095", ",", "OnlyOptimizeForSize", ")", ")", ";", "}", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableAddressTypePromotion", ")", "addPass", "(", "createAArch64AddressTypePromotionPass", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["AArch64", "AArch64", "AArch64", "4095", "AArch64"], "File": "AArch64TargetMachine28", "Func": "addPreISel", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18868, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_emit_epilogue_components", "(", "sbitmap", "components", ")", "{", "aarch64_process_components", "(", "components", ",", "false", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SHRINK_WRAP_EMIT_EPILOGUE_COMPONENTS", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_emit_epilogue_components", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18869, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"FISC Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["FISC", "\"FISC Assembly Printer\""], "File": "FISCAsmPrinter", "Func": "getPassName", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18870, "Length": 13, "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": 18871, "Length": 27, "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", "&&", "(", "TARGET_SOFT_FLOAT", "||", "TARGET_VFP", ")", ")", ")", ")", ";", "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": "arm4", "Func": "arm_legitimate_address_outer_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18872, "Length": 505, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VETargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ",", "bool", "ForCodeSize", ")", "const", "{", "return", "VT", "==", "MVT", "::", "f32", "||", "VT", "==", "MVT", "::", "f64", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "can", "instruction", "select", "the", "specified", "FP", "immediate", "natively", "."], "TS_V_token": ["VE", "VE", "MVT::f32", "MVT::f64"], "File": "VEISelLowering", "Func": "isFPImmLegal", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18873, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "scalar_int_mode", "aarch64_sve_container_int_mode", "(", "machine_mode", "mode", ")", "{", "return", "int_mode_for_size", "(", "aarch64_sve_container_bits", "(", "mode", ")", ",", "0", ")", ".", "require", "(", ")", ";", "}", ""], "natrual_language": ["Return", "an", "integer", "element", "mode", "that", "contains", "exactly", "aarch64_sve_container_bits", "(", "MODE", ")", "bits", ".", "This", "is", "wider", "than", "aarch64_sve_element_int_mode", "if", "MODE", "is", "a", "partial", "vector", ",", "otherwise", "it", "'s", "the", "same", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64", "Func": "aarch64_sve_container_int_mode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18874, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Align", "PPCTargetLowering", "::", "getPrefLoopAlignment", "(", "MachineLoop", "*", "ML", ")", "const", "{", "switch", "(", "Subtarget", ".", "getCPUDirective", "(", ")", ")", "{", "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", ":", "case", "PPC", "::", "DIR_PWR_FUTURE", ":", "{", "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", "PPC::DIR_PWR_FUTURE", "1", "32", "PPC", "0", "32", "16", "32", "32"], "File": "PPCISelLowering101", "Func": "getPrefLoopAlignment", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18875, "Length": 238, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64DAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "switch", "(", "ConstraintID", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected asm memory constraint\"", ")", ";", "case", "InlineAsm", "::", "Constraint_m", ":", "case", "InlineAsm", "::", "Constraint_o", ":", "case", "InlineAsm", "::", "Constraint_Q", ":", "const", "TargetRegisterInfo", "*", "TRI", "=", "Subtarget", "->", "getRegisterInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "TRC", "=", "TRI", "->", "getPointerRegClass", "(", "*", "MF", ")", ";", "SDLoc", "dl", "(", "Op", ")", ";", "SDValue", "RC", "=", "CurDAG", "->", "getTargetConstant", "(", "TRC", "->", "getID", "(", ")", ",", "dl", ",", "MVT", "::", "i64", ")", ";", "SDValue", "NewOp", "=", "SDValue", "(", "CurDAG", "->", "getMachineNode", "(", "TargetOpcode", "::", "COPY_TO_REGCLASS", ",", "dl", ",", "Op", ".", "getValueType", "(", ")", ",", "Op", ",", "RC", ")", ",", "0", ")", ";", "OutOps", ".", "push_back", "(", "NewOp", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["AArch64", "AArch64", "\"Unexpected asm memory constraint\"", "MVT::i64", "0"], "File": "AArch64ISelDAGToDAG1", "Func": "SelectInlineAsmMemoryOperand", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18876, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_builtin_vectorization_cost", "(", "enum", "vect_cost_for_stmt", "type_of_cost", ",", "tree", "vectype", ",", "int", ")", "{", "bool", "fp", "=", "false", ";", "machine_mode", "mode", "=", "TImode", ";", "int", "index", ";", "if", "(", "vectype", "!=", "NULL", ")", "{", "fp", "=", "FLOAT_TYPE_P", "(", "vectype", ")", ";", "mode", "=", "TYPE_MODE", "(", "vectype", ")", ";", "}", "switch", "(", "type_of_cost", ")", "{", "case", "scalar_stmt", ":", "return", "fp", "?", "ix86_cost", "->", "addss", ":", "COSTS_N_INSNS", "(", "1", ")", ";", "case", "scalar_load", ":", "return", "COSTS_N_INSNS", "(", "fp", "?", "ix86_cost", "->", "sse_load", "[", "0", "]", ":", "ix86_cost", "->", "int_load", "[", "2", "]", ")", "/", "2", ";", "case", "scalar_store", ":", "return", "COSTS_N_INSNS", "(", "fp", "?", "ix86_cost", "->", "sse_store", "[", "0", "]", ":", "ix86_cost", "->", "int_store", "[", "2", "]", ")", "/", "2", ";", "case", "vector_stmt", ":", "return", "ix86_vec_cost", "(", "mode", ",", "fp", "?", "ix86_cost", "->", "addss", ":", "ix86_cost", "->", "sse_op", ")", ";", "case", "vector_load", ":", "index", "=", "sse_store_index", "(", "mode", ")", ";", "if", "(", "index", "<", "0", ")", "index", "=", "2", ";", "return", "COSTS_N_INSNS", "(", "ix86_cost", "->", "sse_load", "[", "index", "]", ")", "/", "2", ";", "case", "vector_store", ":", "index", "=", "sse_store_index", "(", "mode", ")", ";", "if", "(", "index", "<", "0", ")", "index", "=", "2", ";", "return", "COSTS_N_INSNS", "(", "ix86_cost", "->", "sse_store", "[", "index", "]", ")", "/", "2", ";", "case", "vec_to_scalar", ":", "case", "scalar_to_vec", ":", "return", "ix86_vec_cost", "(", "mode", ",", "ix86_cost", "->", "sse_op", ")", ";", "case", "unaligned_load", ":", "index", "=", "sse_store_index", "(", "mode", ")", ";", "if", "(", "index", "<", "0", ")", "index", "=", "2", ";", "return", "COSTS_N_INSNS", "(", "ix86_cost", "->", "sse_unaligned_load", "[", "index", "]", ")", "/", "2", ";", "case", "unaligned_store", ":", "index", "=", "sse_store_index", "(", "mode", ")", ";", "if", "(", "index", "<", "0", ")", "index", "=", "2", ";", "return", "COSTS_N_INSNS", "(", "ix86_cost", "->", "sse_unaligned_store", "[", "index", "]", ")", "/", "2", ";", "case", "vector_gather_load", ":", "return", "ix86_vec_cost", "(", "mode", ",", "COSTS_N_INSNS", "(", "ix86_cost", "->", "gather_static", "+", "ix86_cost", "->", "gather_per_elt", "*", "TYPE_VECTOR_SUBPARTS", "(", "vectype", ")", ")", "/", "2", ")", ";", "case", "vector_scatter_store", ":", "return", "ix86_vec_cost", "(", "mode", ",", "COSTS_N_INSNS", "(", "ix86_cost", "->", "scatter_static", "+", "ix86_cost", "->", "scatter_per_elt", "*", "TYPE_VECTOR_SUBPARTS", "(", "vectype", ")", ")", "/", "2", ")", ";", "case", "cond_branch_taken", ":", "return", "ix86_cost", "->", "cond_taken_branch_cost", ";", "case", "cond_branch_not_taken", ":", "return", "ix86_cost", "->", "cond_not_taken_branch_cost", ";", "case", "vec_perm", ":", "case", "vec_promote_demote", ":", "return", "ix86_vec_cost", "(", "mode", ",", "ix86_cost", "->", "sse_op", ")", ";", "case", "vec_construct", ":", "{", "int", "n", "=", "TYPE_VECTOR_SUBPARTS", "(", "vectype", ")", ";", "if", "(", "GET_MODE_BITSIZE", "(", "mode", ")", "<=", "128", ")", "return", "(", "n", "-", "1", ")", "*", "ix86_cost", "->", "sse_op", ";", "else", "if", "(", "GET_MODE_BITSIZE", "(", "mode", ")", "==", "256", ")", "return", "(", "(", "n", "-", "2", ")", "*", "ix86_cost", "->", "sse_op", "+", "ix86_vec_cost", "(", "mode", ",", "ix86_cost", "->", "addss", ")", ")", ";", "else", "if", "(", "GET_MODE_BITSIZE", "(", "mode", ")", "==", "512", ")", "return", "(", "(", "n", "-", "4", ")", "*", "ix86_cost", "->", "sse_op", "+", "3", "*", "ix86_vec_cost", "(", "mode", ",", "ix86_cost", "->", "addss", ")", ")", ";", "gcc_unreachable", "(", ")", ";", "}", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.builtin_vectorization_cost", "."], "TS_V_token": ["i386", "1", "0", "2", "2", "0", "2", "2", "0", "2", "2", "0", "2", "2", "0", "2", "2", "0", "2", "2", "2", "2", "128", "1", "256", "2", "512", "4", "3"], "File": "i386", "Func": "ix86_builtin_vectorization_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18877, "Length": 483, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_stack_protect_guard", "(", "void", ")", "{", "if", "(", "TARGET_SSP_TLS_GUARD", ")", "{", "tree", "type_node", "=", "lang_hooks", ".", "types", ".", "type_for_mode", "(", "ptr_mode", ",", "1", ")", ";", "int", "qual", "=", "ENCODE_QUAL_ADDR_SPACE", "(", "ix86_stack_protector_guard_reg", ")", ";", "tree", "type", "=", "build_qualified_type", "(", "type_node", ",", "qual", ")", ";", "tree", "t", ";", "if", "(", "global_options_set", ".", "x_ix86_stack_protector_guard_symbol_str", ")", "{", "t", "=", "ix86_tls_stack_chk_guard_decl", ";", "if", "(", "t", "==", "NULL", ")", "{", "rtx", "x", ";", "t", "=", "build_decl", "(", "UNKNOWN_LOCATION", ",", "VAR_DECL", ",", "get_identifier", "(", "ix86_stack_protector_guard_symbol_str", ")", ",", "type", ")", ";", "TREE_STATIC", "(", "t", ")", "=", "1", ";", "TREE_PUBLIC", "(", "t", ")", "=", "1", ";", "DECL_EXTERNAL", "(", "t", ")", "=", "1", ";", "TREE_USED", "(", "t", ")", "=", "1", ";", "TREE_THIS_VOLATILE", "(", "t", ")", "=", "1", ";", "DECL_ARTIFICIAL", "(", "t", ")", "=", "1", ";", "DECL_IGNORED_P", "(", "t", ")", "=", "1", ";", "x", "=", "DECL_RTL", "(", "t", ")", ";", "RTX_FLAG", "(", "x", ",", "used", ")", "=", "1", ";", "ix86_tls_stack_chk_guard_decl", "=", "t", ";", "}", "}", "else", "{", "tree", "asptrtype", "=", "build_pointer_type", "(", "type", ")", ";", "t", "=", "build_int_cst", "(", "asptrtype", ",", "ix86_stack_protector_guard_offset", ")", ";", "t", "=", "build2", "(", "MEM_REF", ",", "asptrtype", ",", "t", ",", "build_int_cst", "(", "asptrtype", ",", "0", ")", ")", ";", "}", "return", "t", ";", "}", "return", "default_stack_protect_guard", "(", ")", ";", "}", ""], "natrual_language": ["If", "using", "TLS", "guards", ",", "do", "n't", "waste", "time", "creating", "and", "expanding", "__stack_chk_guard", "decl", "and", "MEM", "as", "we", "are", "going", "to", "ignore", "it", "."], "TS_V_token": ["i386", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0"], "File": "i3867", "Func": "ix86_stack_protect_guard", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18878, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mmix_use_simple_return", "(", "void", ")", "{", "int", "regno", ";", "int", "stack_space_to_allocate", "=", "(", "crtl", "->", "outgoing_args_size", "+", "crtl", "->", "args", ".", "pretend_args_size", "+", "get_frame_size", "(", ")", "+", "7", ")", "&", "~", "7", ";", "if", "(", "!", "TARGET_USE_RETURN_INSN", "||", "!", "reload_completed", ")", "return", "0", ";", "for", "(", "regno", "=", "255", ";", "regno", ">=", "MMIX_FIRST_GLOBAL_REGNUM", ";", "regno", "--", ")", "if", "(", "(", "(", "(", "regno", "!=", "MMIX_FRAME_POINTER_REGNUM", "||", "!", "frame_pointer_needed", ")", "&&", "df_regs_ever_live_p", "(", "regno", ")", "&&", "!", "call_used_regs", "[", "regno", "]", ")", ")", "||", "IS_MMIX_EH_RETURN_DATA_REG", "(", "regno", ")", ")", "return", "0", ";", "if", "(", "frame_pointer_needed", ")", "stack_space_to_allocate", "+=", "8", ";", "if", "(", "MMIX_CFUN_HAS_LANDING_PAD", ")", "stack_space_to_allocate", "+=", "16", ";", "else", "if", "(", "MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS", ")", "stack_space_to_allocate", "+=", "8", ";", "return", "stack_space_to_allocate", "==", "0", ";", "}", ""], "natrual_language": ["Nonzero", "when", "the", "function", "epilogue", "is", "simple", "enough", "that", "a", "single", "``", "POP", "%", "d,0", "''", "should", "be", "used", "even", "within", "the", "function", "."], "TS_V_token": ["mmix", "7", "7", "0", "255", "0", "8", "16", "8", "0"], "File": "mmix4", "Func": "mmix_use_simple_return", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18879, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_hard_regno_call_part_clobbered", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_32BIT", "&&", "TARGET_POWERPC64", "&&", "GET_MODE_SIZE", "(", "mode", ")", ">", "4", "&&", "INT_REGNO_P", "(", "regno", ")", ")", "return", "true", ";", "if", "(", "TARGET_VSX", "&&", "FP_REGNO_P", "(", "regno", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", ">", "8", "&&", "!", "FLOAT128_2REG_P", "(", "mode", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_CALL_PART_CLOBBERED", "."], "TS_V_token": ["rs6000", "4", "8"], "File": "rs60007", "Func": "rs6000_hard_regno_call_part_clobbered", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18880, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arm_trampoline_adjust_address", "(", "rtx", "addr", ")", "{", "if", "(", "TARGET_THUMB", "&&", "!", "TARGET_FDPIC", ")", "addr", "=", "expand_simple_binop", "(", "Pmode", ",", "IOR", ",", "addr", ",", "const1_rtx", ",", "NULL", ",", "0", ",", "OPTAB_LIB_WIDEN", ")", ";", "return", "addr", ";", "}", ""], "natrual_language": ["Thumb", "trampolines", "should", "be", "entered", "in", "thumb", "mode", ",", "so", "set", "the", "bottom", "bit", "of", "the", "address", "."], "TS_V_token": ["arm", "0"], "File": "arm", "Func": "arm_trampoline_adjust_address", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18881, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StackOffset", "(", "const", "StackOffset", "&", "Other", ")", ":", "Bytes", "(", "Other", ".", "Bytes", ")", "{", "}", ""], "natrual_language": ["Offset", "from", "the", "stack", "pointer", "."], "TS_V_token": ["AArch64"], "File": "AArch64StackOffset1", "Func": "StackOffset", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18882, "Length": 16, "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": ["Cpu0"], "File": "Cpu0ISelLowering", "Func": "addLiveIn", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18883, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64TargetLowering", "::", "isLegalAddImmediate", "(", "int64_t", "Immed", ")", "const", "{", "if", "(", "(", "Immed", ">>", "12", ")", "==", "0", "||", "(", "(", "Immed", "&", "0xfff", ")", "==", "0", "&&", "Immed", ">>", "24", "==", "0", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "immediate", "is", "legal", "add", "immediate", ",", "that", "is", "the", "target", "has", "add", "instructions", "which", "can", "add", "a", "register", "and", "the", "immediate", "without", "having", "to", "materialize", "the", "immediate", "into", "a", "register", "."], "TS_V_token": ["ARM64", "ARM64", "12", "0", "0xfff", "0", "24", "0"], "File": "ARM64ISelLowering", "Func": "isLegalAddImmediate", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18884, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "TargetFrameInfo", "*", "getFrameInfo", "(", ")", "const", "{", "return", "&", "FrameInfo", ";", "}", ""], "natrual_language": ["getFrameInfo", "-", "Return", "the", "frame", "info", "object", "for", "the", "current", "function", "."], "TS_V_token": ["IA64"], "File": "IA64TargetMachine", "Func": "getFrameInfo", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18885, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "getScalarShiftAmountTy", "(", "const", "DataLayout", "&", ",", "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": ["Sparc", "MVT::i32"], "File": "SparcISelLowering (2)2", "Func": "getScalarShiftAmountTy", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18886, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "AArch64NamedImmMapper", "::", "toString", "(", "uint32_t", "Value", ",", "uint64_t", "FeatureBits", ",", "bool", "&", "Valid", ")", "const", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "NumMappings", ";", "++", "i", ")", "{", "if", "(", "Mappings", "[", "i", "]", ".", "isValueEqual", "(", "Value", ",", "FeatureBits", ")", ")", "{", "Valid", "=", "true", ";", "return", "Mappings", "[", "i", "]", ".", "Name", ";", "}", "}", "Valid", "=", "false", ";", "return", "StringRef", "(", ")", ";", "}", ""], "natrual_language": ["Convert", "to", "a", "decimal", "representation", "in", "a", "string", "."], "TS_V_token": ["AArch64", "AArch64", "0"], "File": "AArch64BaseInfo26", "Func": "toString", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18887, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "OpenRISCTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "OpenRISCPassConfig", "(", "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": ["OpenRISC", "OpenRISC", "OpenRISC"], "File": "OpenRISCTargetMachine", "Func": "createPassConfig", "Target": "OpenRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18888, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_avx_u128_mode_after", "(", "int", "mode", ",", "rtx_insn", "*", "insn", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "vzeroupper_operation", "(", "pat", ",", "VOIDmode", ")", "||", "vzeroall_operation", "(", "pat", ",", "VOIDmode", ")", ")", "return", "AVX_U128_CLEAN", ";", "if", "(", "CALL_P", "(", "insn", ")", ")", "{", "bool", "avx_upper_reg_found", "=", "false", ";", "note_stores", "(", "pat", ",", "ix86_check_avx_upper_stores", ",", "&", "avx_upper_reg_found", ")", ";", "return", "avx_upper_reg_found", "?", "AVX_U128_DIRTY", ":", "AVX_U128_CLEAN", ";", "}", "return", "mode", ";", "}", ""], "natrual_language": ["Calculate", "mode", "of", "upper", "128bit", "AVX", "registers", "after", "the", "insn", "."], "TS_V_token": ["i386"], "File": "i3867", "Func": "ix86_avx_u128_mode_after", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18889, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "X86MCInstLower", "MCInstLowering", "(", "Mang", ",", "*", "MF", ",", "*", "this", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "llvm_unreachable", "(", "\"Should be handled target independently\"", ")", ";", "case", "X86", "::", "Int_MemBarrier", ":", "if", "(", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "OutStreamer", ".", "EmitRawText", "(", "StringRef", "(", "\"\\t#MEMBARRIER\"", ")", ")", ";", "return", ";", "case", "X86", "::", "EH_RETURN", ":", "case", "X86", "::", "EH_RETURN64", ":", "{", "unsigned", "Reg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "OutStreamer", ".", "AddComment", "(", "StringRef", "(", "\"eh_return, addr: %\"", ")", "+", "X86ATTInstPrinter", "::", "getRegisterName", "(", "Reg", ")", ")", ";", "break", ";", "}", "case", "X86", "::", "TAILJMPr", ":", "case", "X86", "::", "TAILJMPd", ":", "case", "X86", "::", "TAILJMPd64", ":", "OutStreamer", ".", "AddComment", "(", "\"TAILCALL\"", ")", ";", "break", ";", "case", "X86", "::", "TLS_addr32", ":", "case", "X86", "::", "TLS_addr64", ":", "case", "X86", "::", "TLS_base_addr32", ":", "case", "X86", "::", "TLS_base_addr64", ":", "return", "LowerTlsAddr", "(", "OutStreamer", ",", "MCInstLowering", ",", "*", "MI", ")", ";", "case", "X86", "::", "MOVPC32r", ":", "{", "MCSymbol", "*", "PICBase", "=", "MF", "->", "getPICBaseSymbol", "(", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "MCInstBuilder", "(", "X86", "::", "CALLpcrel32", ")", ".", "addExpr", "(", "MCSymbolRefExpr", "::", "Create", "(", "PICBase", ",", "OutContext", ")", ")", ")", ";", "OutStreamer", ".", "EmitLabel", "(", "PICBase", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "MCInstBuilder", "(", "X86", "::", "POP32r", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", ";", "return", ";", "}", "case", "X86", "::", "ADD32ri", ":", "{", "if", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getTargetFlags", "(", ")", "!=", "X86II", "::", "MO_GOT_ABSOLUTE_ADDRESS", ")", "break", ";", "MCSymbol", "*", "DotSym", "=", "OutContext", ".", "CreateTempSymbol", "(", ")", ";", "OutStreamer", ".", "EmitLabel", "(", "DotSym", ")", ";", "MCSymbol", "*", "OpSym", "=", "MCInstLowering", ".", "GetSymbolFromOperand", "(", "MI", "->", "getOperand", "(", "2", ")", ")", ";", "const", "MCExpr", "*", "DotExpr", "=", "MCSymbolRefExpr", "::", "Create", "(", "DotSym", ",", "OutContext", ")", ";", "const", "MCExpr", "*", "PICBase", "=", "MCSymbolRefExpr", "::", "Create", "(", "MF", "->", "getPICBaseSymbol", "(", ")", ",", "OutContext", ")", ";", "DotExpr", "=", "MCBinaryExpr", "::", "CreateSub", "(", "DotExpr", ",", "PICBase", ",", "OutContext", ")", ";", "DotExpr", "=", "MCBinaryExpr", "::", "CreateAdd", "(", "MCSymbolRefExpr", "::", "Create", "(", "OpSym", ",", "OutContext", ")", ",", "DotExpr", ",", "OutContext", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "MCInstBuilder", "(", "X86", "::", "ADD32ri", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ".", "addExpr", "(", "DotExpr", ")", ")", ";", "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": ["X86", "X86", "X86", "\"Should be handled target independently\"", "X86::Int_MemBarrier", "\"\\t#MEMBARRIER\"", "X86::EH_RETURN", "X86::EH_RETURN64", "0", "\"eh_return, addr: %\"", "X86", "X86::TAILJMPr", "X86::TAILJMPd", "X86::TAILJMPd64", "\"TAILCALL\"", "X86::TLS_addr32", "X86::TLS_addr64", "X86::TLS_base_addr32", "X86::TLS_base_addr64", "X86::MOVPC32r", "X86::CALLpcrel32", "X86::POP32r", "0", "X86::ADD32ri", "2", "X86II::MO_GOT_ABSOLUTE_ADDRESS", "2", "X86::ADD32ri", "0", "1"], "File": "X86MCInstLower23", "Func": "EmitInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18890, "Length": 435, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "expand_small_cpymem_or_setmem", "(", "rtx", "destmem", ",", "rtx", "srcmem", ",", "rtx", "destptr", ",", "rtx", "srcptr", ",", "rtx", "value", ",", "rtx", "vec_value", ",", "rtx", "count", ",", "int", "size", ",", "rtx", "done_label", ",", "bool", "issetmem", ")", "{", "rtx_code_label", "*", "label", "=", "ix86_expand_aligntest", "(", "count", ",", "size", ",", "false", ")", ";", "machine_mode", "mode", "=", "int_mode_for_size", "(", "size", "*", "BITS_PER_UNIT", ",", "1", ")", ".", "else_blk", "(", ")", ";", "rtx", "modesize", ";", "int", "n", ";", "if", "(", "issetmem", ")", "{", "if", "(", "!", "vec_value", ")", "{", "if", "(", "GET_MODE", "(", "value", ")", "==", "VOIDmode", "&&", "size", ">", "8", ")", "mode", "=", "Pmode", ";", "else", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "GET_MODE_SIZE", "(", "GET_MODE", "(", "value", ")", ")", ")", "mode", "=", "GET_MODE", "(", "value", ")", ";", "}", "else", "mode", "=", "GET_MODE", "(", "vec_value", ")", ",", "value", "=", "vec_value", ";", "}", "else", "{", "if", "(", "size", ">=", "32", ")", "mode", "=", "TARGET_AVX", "?", "V32QImode", ":", "TARGET_SSE", "?", "V16QImode", ":", "DImode", ";", "else", "if", "(", "size", ">=", "16", ")", "mode", "=", "TARGET_SSE", "?", "V16QImode", ":", "DImode", ";", "srcmem", "=", "change_address", "(", "srcmem", ",", "mode", ",", "srcptr", ")", ";", "}", "destmem", "=", "change_address", "(", "destmem", ",", "mode", ",", "destptr", ")", ";", "modesize", "=", "GEN_INT", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "gcc_assert", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "size", ")", ";", "for", "(", "n", "=", "0", ";", "n", "*", "GET_MODE_SIZE", "(", "mode", ")", "<", "size", ";", "n", "++", ")", "{", "if", "(", "issetmem", ")", "emit_move_insn", "(", "destmem", ",", "gen_lowpart", "(", "mode", ",", "value", ")", ")", ";", "else", "{", "emit_move_insn", "(", "destmem", ",", "srcmem", ")", ";", "srcmem", "=", "offset_address", "(", "srcmem", ",", "modesize", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "}", "destmem", "=", "offset_address", "(", "destmem", ",", "modesize", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "}", "destmem", "=", "offset_address", "(", "destmem", ",", "count", ",", "1", ")", ";", "destmem", "=", "offset_address", "(", "destmem", ",", "GEN_INT", "(", "-", "2", "*", "size", ")", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "if", "(", "!", "issetmem", ")", "{", "srcmem", "=", "offset_address", "(", "srcmem", ",", "count", ",", "1", ")", ";", "srcmem", "=", "offset_address", "(", "srcmem", ",", "GEN_INT", "(", "-", "2", "*", "size", ")", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "}", "for", "(", "n", "=", "0", ";", "n", "*", "GET_MODE_SIZE", "(", "mode", ")", "<", "size", ";", "n", "++", ")", "{", "if", "(", "issetmem", ")", "emit_move_insn", "(", "destmem", ",", "gen_lowpart", "(", "mode", ",", "value", ")", ")", ";", "else", "{", "emit_move_insn", "(", "destmem", ",", "srcmem", ")", ";", "srcmem", "=", "offset_address", "(", "srcmem", ",", "modesize", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "}", "destmem", "=", "offset_address", "(", "destmem", ",", "modesize", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "}", "emit_jump_insn", "(", "gen_jump", "(", "done_label", ")", ")", ";", "emit_barrier", "(", ")", ";", "emit_label", "(", "label", ")", ";", "LABEL_NUSES", "(", "label", ")", "=", "1", ";", "}", ""], "natrual_language": ["Test", "if", "COUNT", "&", "SIZE", "is", "nonzero", "and", "if", "so", ",", "expand", "movme", "or", "setmem", "sequence", "that", "is", "valid", "for", "SIZE", "..", "2", "*", "SIZE-1", "bytes", "and", "jump", "to", "DONE_LABEL", "."], "TS_V_token": ["i386", "1", "8", "32", "16", "0", "1", "2", "1", "2", "0", "1"], "File": "i386-expand", "Func": "expand_small_cpymem_or_setmem", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18891, "Length": 455, "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": 18892, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64CallLowering", "::", "splitToValueTypes", "(", "const", "ArgInfo", "&", "OrigArg", ",", "SmallVectorImpl", "<", "ArgInfo", ">", "&", "SplitArgs", ",", "const", "DataLayout", "&", "DL", ",", "MachineRegisterInfo", "&", "MRI", ",", "CallingConv", "::", "ID", "CallConv", ")", "const", "{", "const", "AArch64TargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "AArch64TargetLowering", ">", "(", ")", ";", "LLVMContext", "&", "Ctx", "=", "OrigArg", ".", "Ty", "->", "getContext", "(", ")", ";", "if", "(", "OrigArg", ".", "Ty", "->", "isVoidTy", "(", ")", ")", "return", ";", "SmallVector", "<", "EVT", ",", "4", ">", "SplitVTs", ";", "SmallVector", "<", "uint64_t", ",", "4", ">", "Offsets", ";", "ComputeValueVTs", "(", "TLI", ",", "DL", ",", "OrigArg", ".", "Ty", ",", "SplitVTs", ",", "&", "Offsets", ",", "0", ")", ";", "if", "(", "SplitVTs", ".", "size", "(", ")", "==", "1", ")", "{", "SplitArgs", ".", "emplace_back", "(", "OrigArg", ".", "Regs", "[", "0", "]", ",", "SplitVTs", "[", "0", "]", ".", "getTypeForEVT", "(", "Ctx", ")", ",", "OrigArg", ".", "Flags", "[", "0", "]", ",", "OrigArg", ".", "IsFixed", ")", ";", "return", ";", "}", "assert", "(", "OrigArg", ".", "Regs", ".", "size", "(", ")", "==", "SplitVTs", ".", "size", "(", ")", "&&", "\"Regs / types mismatch\"", ")", ";", "bool", "NeedsRegBlock", "=", "TLI", ".", "functionArgumentNeedsConsecutiveRegisters", "(", "OrigArg", ".", "Ty", ",", "CallConv", ",", "false", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "SplitVTs", ".", "size", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "Type", "*", "SplitTy", "=", "SplitVTs", "[", "i", "]", ".", "getTypeForEVT", "(", "Ctx", ")", ";", "SplitArgs", ".", "emplace_back", "(", "OrigArg", ".", "Regs", "[", "i", "]", ",", "SplitTy", ",", "OrigArg", ".", "Flags", "[", "0", "]", ",", "OrigArg", ".", "IsFixed", ")", ";", "if", "(", "NeedsRegBlock", ")", "SplitArgs", ".", "back", "(", ")", ".", "Flags", "[", "0", "]", ".", "setInConsecutiveRegs", "(", ")", ";", "}", "SplitArgs", ".", "back", "(", ")", ".", "Flags", "[", "0", "]", ".", "setInConsecutiveRegsLast", "(", ")", ";", "}", ""], "natrual_language": ["Break", "OrigArgInfo", "into", "one", "or", "more", "pieces", "the", "calling", "convention", "can", "process", ",", "returned", "in", "SplitArgs", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "4", "4", "0", "1", "0", "0", "0", "\"Regs / types mismatch\"", "0", "0", "0", "0"], "File": "AArch64CallLowering12", "Func": "splitToValueTypes", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18893, "Length": 284, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_expand_ghost_gp_insns", "(", "void", ")", "{", "if", "(", "!", "TARGET_USE_GOT", "||", "cfun", "->", "machine", "->", "global_pointer", "==", "INVALID_REGNUM", "||", "mips_must_initialize_gp_p", "(", ")", ")", "return", "false", ";", "if", "(", "!", "mips_has_long_branch_p", "(", ")", ")", "return", "false", ";", "cfun", "->", "machine", "->", "must_initialize_gp_p", "=", "true", ";", "split_all_insns_noflow", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["If", "we", "are", "using", "a", "GOT", ",", "but", "have", "not", "decided", "to", "use", "a", "global", "pointer", "yet", ",", "see", "whether", "we", "need", "one", "to", "implement", "long", "branches", ".", "Convert", "the", "ghost", "global-pointer", "instructions", "into", "real", "ones", "if", "so", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_expand_ghost_gp_insns", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18894, "Length": 53, "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", ".", "getObjectAlign", "(", "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", ".", "isDebugInstr", "(", ")", ")", "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", "++", ";", "}", "}", "}", "llvm", "::", "stable_sort", "(", "SortingObjects", ",", "X86FrameSortingComparator", "(", ")", ")", ";", "int", "i", "=", "0", ";", "for", "(", "auto", "&", "Obj", ":", "SortingObjects", ")", "{", "if", "(", "!", "Obj", ".", "IsValid", ")", "break", ";", "ObjectsToAllocate", "[", "i", "++", "]", "=", "Obj", ".", "ObjectIndex", ";", "}", "if", "(", "!", "TRI", "->", "hasStackRealignment", "(", "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)3", "Func": "orderFrameObjects", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18895, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "rs6000_libcall_value", "(", "enum", "machine_mode", "mode", ")", "{", "unsigned", "int", "regno", ";", "if", "(", "TARGET_32BIT", "&&", "TARGET_POWERPC64", "&&", "mode", "==", "DImode", ")", "{", "return", "gen_rtx_PARALLEL", "(", "DImode", ",", "gen_rtvec", "(", "2", ",", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "SImode", ",", "GP_ARG_RETURN", ")", ",", "const0_rtx", ")", ",", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "SImode", ",", "GP_ARG_RETURN", "+", "1", ")", ",", "GEN_INT", "(", "4", ")", ")", ")", ")", ";", "}", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", "&&", "TARGET_HARD_FLOAT", "&&", "TARGET_FPRS", ")", "regno", "=", "FP_ARG_RETURN", ";", "else", "if", "(", "ALTIVEC_VECTOR_MODE", "(", "mode", ")", "&&", "TARGET_ALTIVEC", "&&", "TARGET_ALTIVEC_ABI", ")", "regno", "=", "ALTIVEC_ARG_RETURN", ";", "else", "if", "(", "COMPLEX_MODE_P", "(", "mode", ")", "&&", "targetm", ".", "calls", ".", "split_complex_arg", ")", "return", "rs6000_complex_function_value", "(", "mode", ")", ";", "else", "if", "(", "TARGET_E500_DOUBLE", "&&", "TARGET_HARD_FLOAT", "&&", "(", "mode", "==", "DFmode", "||", "mode", "==", "DCmode", ")", ")", "return", "spe_build_register_parallel", "(", "mode", ",", "GP_ARG_RETURN", ")", ";", "else", "regno", "=", "GP_ARG_RETURN", ";", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "}", ""], "natrual_language": ["Define", "how", "to", "find", "the", "value", "returned", "by", "a", "library", "function", "assuming", "the", "value", "has", "mode", "MODE", "."], "TS_V_token": ["rs6000", "2", "1", "4"], "File": "rs60003", "Func": "rs6000_libcall_value", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18896, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "PPCTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "TargetPassConfig", "*", "PassConfig", "=", "new", "PPCPassConfig", "(", "this", ",", "PM", ")", ";", "PassConfig", "->", "setEnableTailMerge", "(", "false", ")", ";", "return", "PassConfig", ";", "}", ""], "natrual_language": ["Create", "a", "pass", "configuration", "object", "to", "be", "used", "by", "addPassToEmitX", "methods", "for", "generating", "a", "pipeline", "of", "CodeGen", "passes", "."], "TS_V_token": ["PowerPC", "PPC", "PPC"], "File": "PPCTargetMachine31", "Func": "createPassConfig", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18897, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "direct_return", "(", ")", "{", "if", "(", "reload_completed", ")", "{", "d30v_stack_t", "*", "info", "=", "d30v_stack_info", "(", ")", ";", "if", "(", "info", "->", "total_size", "==", "0", ")", "return", "1", ";", "if", "(", "info", "->", "total_size", "==", "info", "->", "vars_size", "&&", "IN_RANGE_P", "(", "info", "->", "total_size", ",", "1", ",", "31", ")", ")", "return", "1", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "non-zero", "if", "this", "function", "is", "known", "to", "have", "a", "null", "epilogue", "."], "TS_V_token": ["d30v", "0", "1", "1", "31", "1", "0"], "File": "d30v", "Func": "direct_return", "Target": "d30v", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18898, "Length": 58, "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", "(", ")", "&&", "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": "ARMBaseRegisterInfo13", "Func": "getCallPreservedMask", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18899, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "LanaiRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "Lanai", "::", "R0", ")", ";", "Reserved", ".", "set", "(", "Lanai", "::", "R1", ")", ";", "Reserved", ".", "set", "(", "Lanai", "::", "PC", ")", ";", "Reserved", ".", "set", "(", "Lanai", "::", "R2", ")", ";", "Reserved", ".", "set", "(", "Lanai", "::", "SP", ")", ";", "Reserved", ".", "set", "(", "Lanai", "::", "R4", ")", ";", "Reserved", ".", "set", "(", "Lanai", "::", "FP", ")", ";", "Reserved", ".", "set", "(", "Lanai", "::", "R5", ")", ";", "Reserved", ".", "set", "(", "Lanai", "::", "RR1", ")", ";", "Reserved", ".", "set", "(", "Lanai", "::", "R10", ")", ";", "Reserved", ".", "set", "(", "Lanai", "::", "RR2", ")", ";", "Reserved", ".", "set", "(", "Lanai", "::", "R11", ")", ";", "Reserved", ".", "set", "(", "Lanai", "::", "RCA", ")", ";", "Reserved", ".", "set", "(", "Lanai", "::", "R15", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "getBaseRegister", "(", ")", ")", ";", "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": ["Lanai", "Lanai", "Lanai::R0", "Lanai::R1", "Lanai::PC", "Lanai::R2", "Lanai::SP", "Lanai::R4", "Lanai::FP", "Lanai::R5", "Lanai::RR1", "Lanai::R10", "Lanai::RR2", "Lanai::R11", "Lanai::RCA", "Lanai::R15"], "File": "LanaiRegisterInfo (2)1", "Func": "getReservedRegs", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18900, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_register_pragmas", "(", "void", ")", "{", "targetm", ".", "target_option", ".", "pragma_parse", "=", "ix86_pragma_target_parse", ";", "c_register_addr_space", "(", "\"__seg_fs\"", ",", "ADDR_SPACE_SEG_FS", ")", ";", "c_register_addr_space", "(", "\"__seg_gs\"", ",", "ADDR_SPACE_SEG_GS", ")", ";", "REGISTER_SUBTARGET_PRAGMAS", "(", ")", ";", "}", ""], "natrual_language": ["Register", "target", "pragmas", ".", "We", "need", "to", "add", "the", "hook", "for", "parsing", "#", "pragma", "GCC", "option", "here", "rather", "than", "in", "i386.cc", "since", "it", "will", "pull", "in", "various", "preprocessor", "functions", ",", "and", "those", "are", "not", "present", "in", "languages", "like", "fortran", "without", "a", "preprocessor", "."], "TS_V_token": ["i386", "\"__seg_fs\"", "\"__seg_gs\""], "File": "i386-c", "Func": "ix86_register_pragmas", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18901, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emit_fusion_load_store", "(", "rtx", "load_store_reg", ",", "rtx", "addis_reg", ",", "rtx", "offset", ",", "const", "char", "*", "insn_str", ")", "{", "rtx", "fuse_ops", "[", "10", "]", ";", "char", "insn_template", "[", "80", "]", ";", "fuse_ops", "[", "0", "]", "=", "load_store_reg", ";", "fuse_ops", "[", "1", "]", "=", "addis_reg", ";", "if", "(", "CONST_INT_P", "(", "offset", ")", "&&", "satisfies_constraint_I", "(", "offset", ")", ")", "{", "sprintf", "(", "insn_template", ",", "\"%s %%0,%%2(%%1)\"", ",", "insn_str", ")", ";", "fuse_ops", "[", "2", "]", "=", "offset", ";", "output_asm_insn", "(", "insn_template", ",", "fuse_ops", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "offset", ")", "==", "UNSPEC", "&&", "XINT", "(", "offset", ",", "1", ")", "==", "UNSPEC_TOCREL", ")", "{", "if", "(", "TARGET_ELF", ")", "sprintf", "(", "insn_template", ",", "\"%s %%0,%%2@toc@l(%%1)\"", ",", "insn_str", ")", ";", "else", "if", "(", "TARGET_XCOFF", ")", "sprintf", "(", "insn_template", ",", "\"%s %%0,%%2@l(%%1)\"", ",", "insn_str", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "fuse_ops", "[", "2", "]", "=", "XVECEXP", "(", "offset", ",", "0", ",", "0", ")", ";", "output_asm_insn", "(", "insn_template", ",", "fuse_ops", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "offset", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "offset", ",", "0", ")", ")", "==", "UNSPEC", "&&", "XINT", "(", "XEXP", "(", "offset", ",", "0", ")", ",", "1", ")", "==", "UNSPEC_TOCREL", "&&", "CONST_INT_P", "(", "XEXP", "(", "offset", ",", "1", ")", ")", ")", "{", "rtx", "tocrel_unspec", "=", "XEXP", "(", "offset", ",", "0", ")", ";", "if", "(", "TARGET_ELF", ")", "sprintf", "(", "insn_template", ",", "\"%s %%0,%%2+%%3@toc@l(%%1)\"", ",", "insn_str", ")", ";", "else", "if", "(", "TARGET_XCOFF", ")", "sprintf", "(", "insn_template", ",", "\"%s %%0,%%2+%%3@l(%%1)\"", ",", "insn_str", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "fuse_ops", "[", "2", "]", "=", "XVECEXP", "(", "tocrel_unspec", ",", "0", ",", "0", ")", ";", "fuse_ops", "[", "3", "]", "=", "XEXP", "(", "offset", ",", "1", ")", ";", "output_asm_insn", "(", "insn_template", ",", "fuse_ops", ")", ";", "}", "else", "if", "(", "TARGET_ELF", "&&", "!", "TARGET_POWERPC64", "&&", "CONSTANT_P", "(", "offset", ")", ")", "{", "sprintf", "(", "insn_template", ",", "\"%s %%0,%%2@l(%%1)\"", ",", "insn_str", ")", ";", "fuse_ops", "[", "2", "]", "=", "offset", ";", "output_asm_insn", "(", "insn_template", ",", "fuse_ops", ")", ";", "}", "else", "fatal_insn", "(", "\"Unable to generate load/store offset for fusion\"", ",", "offset", ")", ";", "return", ";", "}", ""], "natrual_language": ["Emit", "a", "D-form", "load", "or", "store", "instruction", "that", "is", "the", "second", "instruction", "of", "a", "fusion", "sequence", "."], "TS_V_token": ["rs6000", "10", "80", "0", "1", "\"%s %%0,%%2(%%1)\"", "2", "1", "\"%s %%0,%%2@toc@l(%%1)\"", "\"%s %%0,%%2@l(%%1)\"", "2", "0", "0", "0", "0", "1", "1", "0", "\"%s %%0,%%2+%%3@toc@l(%%1)\"", "\"%s %%0,%%2+%%3@l(%%1)\"", "2", "0", "0", "3", "1", "\"%s %%0,%%2@l(%%1)\"", "2", "\"Unable to generate load/store offset for fusion\""], "File": "rs60005", "Func": "emit_fusion_load_store", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18902, "Length": 327, "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": 18903, "Length": 231, "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": "PPCAsmPrinter118", "Func": "doFinalization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18904, "Length": 487, "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": 18905, "Length": 42, "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": 18906, "Length": 311, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86WinAllocaExpander", "::", "lower", "(", "MachineInstr", "*", "MI", ",", "Lowering", "L", ")", "{", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineBasicBlock", "*", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "*", "MI", ";", "int64_t", "Amount", "=", "getWinAllocaAmount", "(", "MI", ",", "MRI", ")", ";", "if", "(", "Amount", "==", "0", ")", "{", "MI", "->", "eraseFromParent", "(", ")", ";", "return", ";", "}", "bool", "Is64Bit", "=", "STI", "->", "is64Bit", "(", ")", ";", "bool", "Is64BitAlloca", "=", "MI", "->", "getOpcode", "(", ")", "==", "X86", "::", "WIN_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::WIN_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": "X86WinAllocaExpander", "Func": "lower", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18907, "Length": 464, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseTargetMachine", "::", "addInstSelector", "(", "PassManagerBase", "&", "PM", ")", "{", "PM", ".", "add", "(", "createARMISelDag", "(", "*", "this", ",", "getOptLevel", "(", ")", ")", ")", ";", "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": "ARMTargetMachine61", "Func": "addInstSelector", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18908, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAtomicExpandPass", "(", "TM", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableSVEPostVec", ")", "addPass", "(", "createSVEPostVectorizePass", "(", ")", ")", ";", "if", "(", "TM", "->", "getTargetFeatureString", "(", ")", ".", "count", "(", "\"sve\"", ")", ")", "addPass", "(", "createSVEExpandLibCallPass", "(", ")", ")", ";", "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", "&&", "LowerGatherScatterToInterleaved", ")", "{", "addPass", "(", "createEarlyCSEPass", "(", ")", ")", ";", "addPass", "(", "createInterleavedGatherScatterPass", "(", "TM", ")", ")", ";", "addPass", "(", "createInstructionCombiningPass", "(", ")", ")", ";", "}", "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", "\"sve\""], "File": "AArch64TargetMachine52", "Func": "addIRPasses", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18909, "Length": 203, "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", "=", "std", "::", "max", "<", "uint32_t", ">", "(", "RC", "->", "getSize", "(", ")", ",", "16", ")", ";", "bool", "isAligned", "=", "(", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", "->", "getStackAlignment", "(", ")", ">=", "Alignment", ")", "||", "RI", ".", "canRealignStack", "(", "MF", ")", ";", "unsigned", "Opc", "=", "getStoreRegOpcode", "(", "SrcReg", ",", "RC", ",", "isAligned", ",", "Subtarget", ")", ";", "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\"", "16"], "File": "X86InstrInfo142", "Func": "storeRegToStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18910, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "LanaiSubtarget", "&", "LanaiSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "initSubtargetFeatures", "(", "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": ["Lanai", "Lanai", "Lanai"], "File": "LanaiSubtarget", "Func": "initializeSubtargetDependencies", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18911, "Length": 25, "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": 18912, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "buildLoad", "(", "Register", "Val", ",", "Register", "Addr", ",", "uint64_t", "Size", ",", "unsigned", "Alignment", ",", "MachinePointerInfo", "&", "MPO", ")", "{", "auto", "MMO", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getMachineMemOperand", "(", "MPO", ",", "MachineMemOperand", "::", "MOLoad", ",", "Size", ",", "Alignment", ")", ";", "MIRBuilder", ".", "buildLoad", "(", "Val", ",", "Addr", ",", "*", "MMO", ")", ";", "}", ""], "natrual_language": ["Build", "and", "insert", "a", "G_LOAD", "instruction", ",", "while", "constructing", "the", "MachineMemOperand", "."], "TS_V_token": ["ARM"], "File": "ARMCallLowering1", "Func": "buildLoad", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18913, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "reg_class", "arm_regno_class", "(", "int", "regno", ")", "{", "if", "(", "regno", "==", "PC_REGNUM", ")", "return", "NO_REGS", ";", "if", "(", "IS_VPR_REGNUM", "(", "regno", ")", ")", "return", "VPR_REG", ";", "if", "(", "IS_PAC_REGNUM", "(", "regno", ")", ")", "return", "PAC_REG", ";", "if", "(", "TARGET_THUMB1", ")", "{", "if", "(", "regno", "==", "STACK_POINTER_REGNUM", ")", "return", "STACK_REG", ";", "if", "(", "regno", "==", "CC_REGNUM", ")", "return", "CC_REG", ";", "if", "(", "regno", "<", "8", ")", "return", "LO_REGS", ";", "return", "HI_REGS", ";", "}", "if", "(", "TARGET_THUMB2", "&&", "regno", "<", "8", ")", "return", "LO_REGS", ";", "if", "(", "regno", "<=", "LAST_ARM_REGNUM", "||", "regno", "==", "FRAME_POINTER_REGNUM", "||", "regno", "==", "ARG_POINTER_REGNUM", ")", "return", "TARGET_THUMB2", "?", "HI_REGS", ":", "GENERAL_REGS", ";", "if", "(", "regno", "==", "CC_REGNUM", "||", "regno", "==", "VFPCC_REGNUM", ")", "return", "TARGET_THUMB2", "?", "CC_REG", ":", "NO_REGS", ";", "if", "(", "IS_VFP_REGNUM", "(", "regno", ")", ")", "{", "if", "(", "regno", "<=", "D7_VFP_REGNUM", ")", "return", "VFP_D0_D7_REGS", ";", "else", "if", "(", "regno", "<=", "LAST_LO_VFP_REGNUM", ")", "return", "VFP_LO_REGS", ";", "else", "return", "VFP_HI_REGS", ";", "}", "if", "(", "IS_IWMMXT_REGNUM", "(", "regno", ")", ")", "return", "IWMMXT_REGS", ";", "if", "(", "IS_IWMMXT_GR_REGNUM", "(", "regno", ")", ")", "return", "IWMMXT_GR_REGS", ";", "return", "NO_REGS", ";", "}", ""], "natrual_language": ["For", "efficiency", "and", "historical", "reasons", "LO_REGS", ",", "HI_REGS", "and", "CC_REGS", "are", "not", "used", "in", "arm", "mode", "."], "TS_V_token": ["arm", "8", "8"], "File": "arm1", "Func": "arm_regno_class", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18914, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64TargetStreamer", "::", "finish", "(", ")", "{", "ConstantPools", "->", "emitAll", "(", "Streamer", ")", ";", "}", ""], "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": ["AArch64", "AArch64"], "File": "AArch64TargetStreamer", "Func": "finish", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18915, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "hasFP", "(", "MF", ")", ")", "return", "FramePtr", ";", "return", "ARM", "::", "SP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["ARM", "ARM", "ARM::SP"], "File": "ARMBaseRegisterInfo29", "Func": "getFrameRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18916, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mmix_libcall_value", "(", "machine_mode", "mode", ",", "const_rtx", "fun", "ATTRIBUTE_UNUSED", ")", "{", "return", "gen_rtx_REG", "(", "mode", ",", "MMIX_RETURN_VALUE_REGNUM", ")", ";", "}", ""], "natrual_language": ["Implements", "TARGET_LIBCALL_VALUE", "."], "TS_V_token": ["mmix"], "File": "mmix", "Func": "mmix_libcall_value", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18917, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86TTIImpl", "::", "getIntImmCost", "(", "Intrinsic", "::", "ID", "IID", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "switch", "(", "IID", ")", "{", "default", ":", "return", "TTI", "::", "TCC_Free", ";", "case", "Intrinsic", "::", "sadd_with_overflow", ":", "case", "Intrinsic", "::", "uadd_with_overflow", ":", "case", "Intrinsic", "::", "ssub_with_overflow", ":", "case", "Intrinsic", "::", "usub_with_overflow", ":", "case", "Intrinsic", "::", "smul_with_overflow", ":", "case", "Intrinsic", "::", "umul_with_overflow", ":", "if", "(", "(", "Idx", "==", "1", ")", "&&", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", "&&", "isInt", "<", "32", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "break", ";", "case", "Intrinsic", "::", "experimental_stackmap", ":", "if", "(", "(", "Idx", "<", "2", ")", "||", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", "&&", "isInt", "<", "64", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "break", ";", "case", "Intrinsic", "::", "experimental_patchpoint_void", ":", "case", "Intrinsic", "::", "experimental_patchpoint_i64", ":", "if", "(", "(", "Idx", "<", "4", ")", "||", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", "&&", "isInt", "<", "64", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "break", ";", "}", "return", "X86TTIImpl", "::", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["X86", "X86", "Intrinsic::ID", "0", "Intrinsic::sadd_with_overflow", "Intrinsic::uadd_with_overflow", "Intrinsic::ssub_with_overflow", "Intrinsic::usub_with_overflow", "Intrinsic::smul_with_overflow", "Intrinsic::umul_with_overflow", "1", "64", "32", "Intrinsic::experimental_stackmap", "2", "64", "64", "Intrinsic::experimental_patchpoint_void", "Intrinsic::experimental_patchpoint_i64", "4", "64", "64", "X86"], "File": "X86TargetTransformInfo (2)", "Func": "getIntImmCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18918, "Length": 230, "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": 18919, "Length": 11, "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": 18920, "Length": 30, "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": 18921, "Length": 434, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "PredicateInstruction", "(", "MachineInstr", "&", "MI", ",", "ArrayRef", "<", "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", "(", "Opcode", "==", "SystemZ", "::", "Trap", ")", "{", "MI", ".", "setDesc", "(", "get", "(", "SystemZ", "::", "CondTrap", ")", ")", ";", "MachineInstrBuilder", "(", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ".", "addImm", "(", "CCValid", ")", ".", "addImm", "(", "CCMask", ")", ".", "addReg", "(", "SystemZ", "::", "CC", ",", "RegState", "::", "Implicit", ")", ";", "return", "true", ";", "}", "if", "(", "Opcode", "==", "SystemZ", "::", "Return", ")", "{", "MI", ".", "setDesc", "(", "get", "(", "SystemZ", "::", "CondReturn", ")", ")", ";", "MachineInstrBuilder", "(", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ".", "addImm", "(", "CCValid", ")", ".", "addImm", "(", "CCMask", ")", ".", "addReg", "(", "SystemZ", "::", "CC", ",", "RegState", "::", "Implicit", ")", ";", "return", "true", ";", "}", "if", "(", "Opcode", "==", "SystemZ", "::", "CallJG", ")", "{", "MachineOperand", "FirstOp", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "const", "uint32_t", "*", "RegMask", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getRegMask", "(", ")", ";", "MI", ".", "RemoveOperand", "(", "1", ")", ";", "MI", ".", "RemoveOperand", "(", "0", ")", ";", "MI", ".", "setDesc", "(", "get", "(", "SystemZ", "::", "CallBRCL", ")", ")", ";", "MachineInstrBuilder", "(", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ".", "addImm", "(", "CCValid", ")", ".", "addImm", "(", "CCMask", ")", ".", "addOperand", "(", "FirstOp", ")", ".", "addRegMask", "(", "RegMask", ")", ".", "addReg", "(", "SystemZ", "::", "CC", ",", "RegState", "::", "Implicit", ")", ";", "return", "true", ";", "}", "if", "(", "Opcode", "==", "SystemZ", "::", "CallBR", ")", "{", "const", "uint32_t", "*", "RegMask", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getRegMask", "(", ")", ";", "MI", ".", "RemoveOperand", "(", "0", ")", ";", "MI", ".", "setDesc", "(", "get", "(", "SystemZ", "::", "CallBCR", ")", ")", ";", "MachineInstrBuilder", "(", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ".", "addImm", "(", "CCValid", ")", ".", "addImm", "(", "CCMask", ")", ".", "addRegMask", "(", "RegMask", ")", ".", "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::Trap", "SystemZ::CondTrap", "SystemZ::CC", "SystemZ::Return", "SystemZ::CondReturn", "SystemZ::CC", "SystemZ::CallJG", "0", "1", "1", "0", "SystemZ::CallBRCL", "SystemZ::CC", "SystemZ::CallBR", "0", "0", "SystemZ::CallBCR", "SystemZ::CC"], "File": "SystemZInstrInfo26", "Func": "PredicateInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18922, "Length": 406, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_return_in_memory", "(", "const_tree", "type", ",", "const_tree", "fndecl", ")", "{", "if", "(", "TARGET_SH5", ")", "{", "if", "(", "TYPE_MODE", "(", "type", ")", "==", "BLKmode", ")", "return", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "int_size_in_bytes", "(", "type", ")", ")", ">", "8", ";", "else", "return", "GET_MODE_SIZE", "(", "TYPE_MODE", "(", "type", ")", ")", ">", "8", ";", "}", "else", "{", "return", "(", "TYPE_MODE", "(", "type", ")", "==", "BLKmode", "||", "(", "(", "TARGET_HITACHI", "||", "sh_attr_renesas_p", "(", "fndecl", ")", ")", "&&", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", ")", ")", ";", "}", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_RETURN_IN_MEMORY", "."], "TS_V_token": ["sh", "8", "8"], "File": "sh4", "Func": "sh_return_in_memory", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18923, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ia64_libcall_value", "(", "machine_mode", "mode", ",", "const_rtx", "fun", "ATTRIBUTE_UNUSED", ")", "{", "return", "gen_rtx_REG", "(", "mode", ",", "(", "(", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", "||", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_FLOAT", ")", "&&", "(", "mode", ")", "!=", "TFmode", ")", "?", "FR_RET_FIRST", ":", "GR_RET_FIRST", ")", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_LIBCALL_VALUE", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "ia64_libcall_value", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18924, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "compute_int_layout", "(", "int", "bitpos", ",", "assign_data_t", "*", "data", ",", "int", "*", "pnregs", ")", "{", "if", "(", "data", "->", "intoffset", "<", "0", ")", "return", "false", ";", "const", "int", "intoffset", "=", "data", "->", "intoffset", ";", "data", "->", "intoffset", "=", "-", "1", ";", "const", "int", "this_slotno", "=", "data", "->", "slotno", "+", "intoffset", "/", "BITS_PER_WORD", ";", "const", "unsigned", "int", "startbit", "=", "ROUND_DOWN", "(", "intoffset", ",", "BITS_PER_WORD", ")", ";", "const", "unsigned", "int", "endbit", "=", "ROUND_UP", "(", "bitpos", ",", "BITS_PER_WORD", ")", ";", "int", "nregs", "=", "(", "endbit", "-", "startbit", ")", "/", "BITS_PER_WORD", ";", "if", "(", "nregs", ">", "0", "&&", "nregs", ">", "SPARC_INT_ARG_MAX", "-", "this_slotno", ")", "{", "nregs", "=", "SPARC_INT_ARG_MAX", "-", "this_slotno", ";", "data", "->", "stack", "=", "1", ";", "}", "if", "(", "nregs", "<=", "0", ")", "return", "false", ";", "*", "pnregs", "=", "nregs", ";", "return", "true", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "function_arg_record_value", ".", "Compute", "the", "number", "of", "integer", "registers", "to", "be", "assigned", "between", "PARMS-", ">", "intoffset", "and", "BITPOS", ".", "Return", "true", "if", "at", "least", "one", "integer", "register", "is", "assigned", "or", "false", "otherwise", "."], "TS_V_token": ["sparc", "0", "1", "0", "1", "0"], "File": "sparc", "Func": "compute_int_layout", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18925, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmBackend", "::", "emitInstructionBegin", "(", "MCObjectStreamer", "&", "OS", ",", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "CanPadInst", "=", "canPadInst", "(", "Inst", ",", "OS", ")", ";", "if", "(", "!", "canPadBranches", "(", "OS", ")", ")", "return", ";", "if", "(", "!", "isMacroFused", "(", "PrevInst", ",", "Inst", ")", ")", "PendingBA", "=", "nullptr", ";", "if", "(", "!", "CanPadInst", ")", "return", ";", "if", "(", "PendingBA", "&&", "OS", ".", "getCurrentFragment", "(", ")", "->", "getPrevNode", "(", ")", "==", "PendingBA", ")", "{", "return", ";", "}", "if", "(", "needAlign", "(", "Inst", ")", "||", "(", "(", "AlignBranchType", "&", "X86", "::", "AlignBranchFused", ")", "&&", "isFirstMacroFusibleInst", "(", "Inst", ",", "*", "MCII", ")", ")", ")", "{", "OS", ".", "insert", "(", "PendingBA", "=", "new", "MCBoundaryAlignFragment", "(", "AlignBoundary", ",", "STI", ")", ")", ";", "}", "}", ""], "natrual_language": ["Give", "the", "target", "a", "chance", "to", "manipulate", "state", "related", "to", "instruction", "alignment", "(", "e.g", "."], "TS_V_token": ["X86", "X86", "X86::AlignBranchFused"], "File": "X86AsmBackend (2)1", "Func": "emitInstructionBegin", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18926, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_set_reg_reg_cost", "(", "machine_mode", "mode", ")", "{", "unsigned", "int", "units", "=", "UNITS_PER_WORD", ";", "switch", "(", "GET_MODE_CLASS", "(", "mode", ")", ")", "{", "default", ":", "break", ";", "case", "MODE_CC", ":", "units", "=", "GET_MODE_SIZE", "(", "CCmode", ")", ";", "break", ";", "case", "MODE_FLOAT", ":", "if", "(", "(", "TARGET_SSE", "&&", "mode", "==", "TFmode", ")", "||", "(", "TARGET_80387", "&&", "mode", "==", "XFmode", ")", "||", "(", "(", "TARGET_80387", "||", "TARGET_SSE2", ")", "&&", "mode", "==", "DFmode", ")", "||", "(", "(", "TARGET_80387", "||", "TARGET_SSE", ")", "&&", "mode", "==", "SFmode", ")", ")", "units", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "break", ";", "case", "MODE_COMPLEX_FLOAT", ":", "if", "(", "(", "TARGET_SSE", "&&", "mode", "==", "TCmode", ")", "||", "(", "TARGET_80387", "&&", "mode", "==", "XCmode", ")", "||", "(", "(", "TARGET_80387", "||", "TARGET_SSE2", ")", "&&", "mode", "==", "DCmode", ")", "||", "(", "(", "TARGET_80387", "||", "TARGET_SSE", ")", "&&", "mode", "==", "SCmode", ")", ")", "units", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "break", ";", "case", "MODE_VECTOR_INT", ":", "case", "MODE_VECTOR_FLOAT", ":", "if", "(", "(", "TARGET_AVX512F", "&&", "VALID_AVX512F_REG_MODE", "(", "mode", ")", ")", "||", "(", "TARGET_AVX", "&&", "VALID_AVX256_REG_MODE", "(", "mode", ")", ")", "||", "(", "TARGET_SSE2", "&&", "VALID_SSE2_REG_MODE", "(", "mode", ")", ")", "||", "(", "TARGET_SSE", "&&", "VALID_SSE_REG_MODE", "(", "mode", ")", ")", "||", "(", "TARGET_MMX", "&&", "VALID_MMX_REG_MODE", "(", "mode", ")", ")", ")", "units", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "}", "return", "COSTS_N_INSNS", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "units", "-", "1", ")", "/", "units", ")", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "moving", "between", "two", "registers", "of", "mode", "MODE", "."], "TS_V_token": ["i386", "1"], "File": "i3864", "Func": "ix86_set_reg_reg_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18927, "Length": 225, "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": 18928, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "AArch64TargetLowering", "::", "getSafeStackPointerLocation", "(", "IRBuilder", "<", ">", "&", "IRB", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "isTargetAndroid", "(", ")", ")", "return", "TargetLowering", "::", "getSafeStackPointerLocation", "(", "IRB", ")", ";", "const", "unsigned", "TlsOffset", "=", "0x48", ";", "Module", "*", "M", "=", "IRB", ".", "GetInsertBlock", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "Function", "*", "ThreadPointerFunc", "=", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "Intrinsic", "::", "thread_pointer", ")", ";", "return", "IRB", ".", "CreatePointerCast", "(", "IRB", ".", "CreateConstGEP1_32", "(", "IRB", ".", "CreateCall", "(", "ThreadPointerFunc", ")", ",", "TlsOffset", ")", ",", "Type", "::", "getInt8PtrTy", "(", "IRB", ".", "getContext", "(", ")", ")", "->", "getPointerTo", "(", "0", ")", ")", ";", "}", ""], "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": ["AArch64", "AArch64", "0x48", "Intrinsic::getDeclaration", "Intrinsic::thread_pointer", "0"], "File": "AArch64ISelLowering (2)", "Func": "getSafeStackPointerLocation", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18929, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "MipsAbiFlags", "::", "emit", "(", "const", "MipsAbiFlags", "&", "pInfo", ",", "MemoryRegion", "&", "pRegion", ")", "{", "auto", "*", "buf", "=", "reinterpret_cast", "<", "ElfMipsAbiFlags", "*", ">", "(", "pRegion", ".", "begin", "(", ")", ")", ";", "buf", "->", "version", "=", "0", ";", "buf", "->", "isa_level", "=", "pInfo", ".", "m_IsaLevel", ";", "buf", "->", "isa_rev", "=", "pInfo", ".", "m_IsaRev", ";", "buf", "->", "gpr_size", "=", "pInfo", ".", "m_GprSize", ";", "buf", "->", "cpr1_size", "=", "pInfo", ".", "m_Cpr1Size", ";", "buf", "->", "cpr2_size", "=", "pInfo", ".", "m_Cpr2Size", ";", "buf", "->", "fp_abi", "=", "pInfo", ".", "m_FpAbi", ";", "buf", "->", "isa_ext", "=", "pInfo", ".", "m_IsaExt", ";", "buf", "->", "ases", "=", "pInfo", ".", "m_Ases", ";", "buf", "->", "flags1", "=", "pInfo", ".", "m_Flags1", ";", "buf", "->", "flags2", "=", "0", ";", "return", "size", "(", ")", ";", "}", ""], "natrual_language": ["Output", "the", "remark", "via", "the", "diagnostic", "handler", "and", "to", "the", "optimization", "record", "file", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "0", "0"], "File": "MipsAbiFlags", "Func": "emit", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18930, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64RegisterInfo", "::", "isFrameOffsetLegal", "(", "const", "MachineInstr", "*", "MI", ",", "Register", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "assert", "(", "MI", "&&", "\"Unable to get the legal offset for nil instruction.\"", ")", ";", "StackOffset", "SaveOffset", "=", "StackOffset", "::", "getFixed", "(", "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", "\"Unable to get the legal offset for nil instruction.\"", "AArch64", "AArch64"], "File": "AArch64RegisterInfo25", "Func": "isFrameOffsetLegal", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18931, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ia64_register_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "from", ",", "reg_class_t", "to", ")", "{", "if", "(", "to", "==", "ADDL_REGS", ")", "to", "=", "GR_REGS", ";", "if", "(", "from", "==", "ADDL_REGS", ")", "from", "=", "GR_REGS", ";", "if", "(", "from", "<", "to", ")", "{", "reg_class_t", "tmp", "=", "to", ";", "to", "=", "from", ",", "from", "=", "tmp", ";", "}", "if", "(", "mode", "==", "XFmode", "||", "mode", "==", "RFmode", ")", "{", "if", "(", "to", "!=", "GR_REGS", "||", "from", "!=", "GR_REGS", ")", "return", "memory_move_cost", "(", "mode", ",", "to", ",", "false", ")", ";", "else", "return", "3", ";", "}", "switch", "(", "to", ")", "{", "case", "PR_REGS", ":", "if", "(", "from", "==", "PR_REGS", ")", "return", "3", ";", "if", "(", "from", "!=", "GR_REGS", ")", "return", "memory_move_cost", "(", "mode", ",", "to", ",", "false", ")", ";", "break", ";", "case", "BR_REGS", ":", "if", "(", "from", "!=", "GR_REGS", "&&", "from", "!=", "GR_AND_BR_REGS", ")", "return", "memory_move_cost", "(", "mode", ",", "to", ",", "false", ")", ";", "break", ";", "case", "AR_I_REGS", ":", "case", "AR_M_REGS", ":", "if", "(", "from", "!=", "GR_REGS", ")", "return", "memory_move_cost", "(", "mode", ",", "to", ",", "false", ")", ";", "break", ";", "case", "GR_REGS", ":", "case", "FR_REGS", ":", "case", "FP_REGS", ":", "case", "GR_AND_FR_REGS", ":", "case", "GR_AND_BR_REGS", ":", "case", "ALL_REGS", ":", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "2", ";", "}", ""], "natrual_language": ["Calulate", "the", "cost", "of", "moving", "data", "from", "a", "register", "in", "class", "FROM", "to", "one", "in", "class", "TO", ",", "using", "MODE", "."], "TS_V_token": ["ia64", "3", "3", "2"], "File": "ia64", "Func": "ia64_register_move_cost", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18932, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "output_compiler_stub", "(", ")", "{", "char", "tmp_buf", "[", "256", "]", ";", "char", "label_buf", "[", "256", "]", ";", "char", "*", "label", ";", "tree", "tmp_stub", ",", "stub", ";", "if", "(", "!", "flag_pic", ")", "for", "(", "stub", "=", "stub_list", ";", "stub", ";", "stub", "=", "TREE_CHAIN", "(", "stub", ")", ")", "{", "fprintf", "(", "asm_out_file", ",", "\"%s:\\n\"", ",", "IDENTIFIER_POINTER", "(", "STUB_LABEL_NAME", "(", "stub", ")", ")", ")", ";", "if", "(", "write_symbols", "==", "DBX_DEBUG", "||", "write_symbols", "==", "XCOFF_DEBUG", ")", "fprintf", "(", "asm_out_file", ",", "\"\\t.stabd 68,0,%d\\n\"", ",", "STUB_LINE_NUMBER", "(", "stub", ")", ")", ";", "if", "(", "IDENTIFIER_POINTER", "(", "STUB_FUNCTION_NAME", "(", "stub", ")", ")", "[", "0", "]", "==", "'*'", ")", "strcpy", "(", "label_buf", ",", "IDENTIFIER_POINTER", "(", "STUB_FUNCTION_NAME", "(", "stub", ")", ")", "+", "1", ")", ";", "else", "{", "label_buf", "[", "0", "]", "=", "'_'", ";", "strcpy", "(", "label_buf", "+", "1", ",", "IDENTIFIER_POINTER", "(", "STUB_FUNCTION_NAME", "(", "stub", ")", ")", ")", ";", "}", "strcpy", "(", "tmp_buf", ",", "\"lis r12,hi16(\"", ")", ";", "strcat", "(", "tmp_buf", ",", "label_buf", ")", ";", "strcat", "(", "tmp_buf", ",", "\")\\n\\tori r12,r12,lo16(\"", ")", ";", "strcat", "(", "tmp_buf", ",", "label_buf", ")", ";", "strcat", "(", "tmp_buf", ",", "\")\\n\\tmtctr r12\\n\\tbctr\"", ")", ";", "output_asm_insn", "(", "tmp_buf", ",", "0", ")", ";", "if", "(", "write_symbols", "==", "DBX_DEBUG", "||", "write_symbols", "==", "XCOFF_DEBUG", ")", "fprintf", "(", "asm_out_file", ",", "\"\\t.stabd 68,0,%d\\n\"", ",", "STUB_LINE_NUMBER", "(", "stub", ")", ")", ";", "}", "stub_list", "=", "0", ";", "}", ""], "natrual_language": ["OUTPUT_COMPILER_STUB", "outputs", "the", "compiler", "generated", "stub", "for", "handling", "procedure", "calls", "from", "the", "linked", "list", "and", "initializes", "the", "linked", "list", "."], "TS_V_token": ["rs6000", "256", "256", "\"%s:\\n\"", "\"\\t.stabd 68,0,%d\\n\"", "0", "1", "0", "1", "\"lis r12,hi16(\"", "\")\\n\\tori r12,r12,lo16(\"", "\")\\n\\tmtctr r12\\n\\tbctr\"", "0", "\"\\t.stabd 68,0,%d\\n\"", "0"], "File": "rs60002", "Func": "output_compiler_stub", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18933, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZTTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ")", "{", "bool", "HasCall", "=", "false", ";", "unsigned", "NumStores", "=", "0", ";", "for", "(", "auto", "&", "BB", ":", "L", "->", "blocks", "(", ")", ")", "for", "(", "auto", "&", "I", ":", "*", "BB", ")", "{", "if", "(", "isa", "<", "CallInst", ">", "(", "&", "I", ")", "||", "isa", "<", "InvokeInst", ">", "(", "&", "I", ")", ")", "{", "ImmutableCallSite", "CS", "(", "&", "I", ")", ";", "if", "(", "const", "Function", "*", "F", "=", "CS", ".", "getCalledFunction", "(", ")", ")", "{", "if", "(", "isLoweredToCall", "(", "F", ")", ")", "HasCall", "=", "true", ";", "if", "(", "F", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "memcpy", "||", "F", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "memset", ")", "NumStores", "++", ";", "}", "else", "{", "HasCall", "=", "true", ";", "}", "}", "if", "(", "isa", "<", "StoreInst", ">", "(", "&", "I", ")", ")", "{", "Type", "*", "MemAccessTy", "=", "I", ".", "getOperand", "(", "0", ")", "->", "getType", "(", ")", ";", "NumStores", "+=", "getMemoryOpCost", "(", "Instruction", "::", "Store", ",", "MemAccessTy", ",", "None", ",", "0", ")", ";", "}", "}", "unsigned", "const", "Max", "=", "(", "NumStores", "?", "(", "12", "/", "NumStores", ")", ":", "UINT_MAX", ")", ";", "if", "(", "HasCall", ")", "{", "UP", ".", "FullUnrollMaxCount", "=", "Max", ";", "UP", ".", "MaxCount", "=", "1", ";", "return", ";", "}", "UP", ".", "MaxCount", "=", "Max", ";", "if", "(", "UP", ".", "MaxCount", "<=", "1", ")", "return", ";", "UP", ".", "Partial", "=", "UP", ".", "Runtime", "=", "true", ";", "UP", ".", "PartialThreshold", "=", "75", ";", "UP", ".", "DefaultUnrollRuntimeCount", "=", "4", ";", "UP", ".", "AllowExpensiveTripCount", "=", "true", ";", "UP", ".", "Force", "=", "true", ";", "}", ""], "natrual_language": ["Get", "target-customized", "preferences", "for", "the", "generic", "loop", "unrolling", "transformation", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "Intrinsic::memcpy", "Intrinsic::memset", "0", "0", "12", "1", "1", "75", "4"], "File": "SystemZTargetTransformInfo25", "Func": "getUnrollingPreferences", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18934, "Length": 270, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_debug_legitimize_address", "(", "rtx", "x", ",", "rtx", "oldx", ",", "machine_mode", "mode", ")", "{", "rtx", "ret", ";", "rtx_insn", "*", "insns", ";", "start_sequence", "(", ")", ";", "ret", "=", "rs6000_legitimize_address", "(", "x", ",", "oldx", ",", "mode", ")", ";", "insns", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "if", "(", "ret", "!=", "x", ")", "{", "fprintf", "(", "stderr", ",", "\"\\nrs6000_legitimize_address: mode %s, old code %s, \"", "\"new code %s, modified\\n\"", ",", "GET_MODE_NAME", "(", "mode", ")", ",", "GET_RTX_NAME", "(", "GET_CODE", "(", "x", ")", ")", ",", "GET_RTX_NAME", "(", "GET_CODE", "(", "ret", ")", ")", ")", ";", "fprintf", "(", "stderr", ",", "\"Original address:\\n\"", ")", ";", "debug_rtx", "(", "x", ")", ";", "fprintf", "(", "stderr", ",", "\"oldx:\\n\"", ")", ";", "debug_rtx", "(", "oldx", ")", ";", "fprintf", "(", "stderr", ",", "\"New address:\\n\"", ")", ";", "debug_rtx", "(", "ret", ")", ";", "if", "(", "insns", ")", "{", "fprintf", "(", "stderr", ",", "\"Insns added:\\n\"", ")", ";", "debug_rtx_list", "(", "insns", ",", "20", ")", ";", "}", "}", "else", "{", "fprintf", "(", "stderr", ",", "\"\\nrs6000_legitimize_address: mode %s, code %s, no change:\\n\"", ",", "GET_MODE_NAME", "(", "mode", ")", ",", "GET_RTX_NAME", "(", "GET_CODE", "(", "x", ")", ")", ")", ";", "debug_rtx", "(", "x", ")", ";", "}", "if", "(", "insns", ")", "emit_insn", "(", "insns", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Debug", "version", "of", "rs6000_legitimize_address", "."], "TS_V_token": ["rs6000", "\"\\nrs6000_legitimize_address: mode %s, old code %s, \"", "\"new code %s, modified\\n\"", "\"Original address:\\n\"", "\"oldx:\\n\"", "\"New address:\\n\"", "\"Insns added:\\n\"", "20", "\"\\nrs6000_legitimize_address: mode %s, code %s, no change:\\n\""], "File": "rs6000", "Func": "rs6000_debug_legitimize_address", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18935, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_rtx_shift_left_p", "(", "rtx", "x", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "x", ")", ";", "if", "(", "code", "==", "MULT", "&&", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", "&&", "exact_log2", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", ">", "0", ")", "return", "true", ";", "if", "(", "code", "==", "ASHIFT", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "X", "is", "either", "an", "arithmetic", "shift", "left", ",", "or", "is", "a", "multiplication", "by", "a", "power", "of", "two", "."], "TS_V_token": ["arm", "1", "1", "0"], "File": "aarch-common", "Func": "arm_rtx_shift_left_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18936, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86CondBrFoldingPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "X86Subtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "ST", ".", "threewayBranchProfitable", "(", ")", ")", "return", "false", ";", "const", "X86InstrInfo", "*", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "const", "MachineBranchProbabilityInfo", "*", "MBPI", "=", "&", "getAnalysis", "<", "MachineBranchProbabilityInfo", ">", "(", ")", ";", "X86CondBrFolding", "CondBr", "(", "TII", ",", "MBPI", ",", "MF", ")", ";", "return", "CondBr", ".", "optimize", "(", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86CondBrFolding", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18937, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ia64_function_arg_boundary", "(", "enum", "machine_mode", "mode", ",", "tree", "type", ")", "{", "if", "(", "mode", "==", "TFmode", "&&", "TARGET_HPUX", "&&", "TARGET_ILP32", ")", "return", "PARM_BOUNDARY", "*", "2", ";", "if", "(", "type", ")", "{", "if", "(", "TYPE_ALIGN", "(", "type", ")", ">", "PARM_BOUNDARY", ")", "return", "PARM_BOUNDARY", "*", "2", ";", "else", "return", "PARM_BOUNDARY", ";", "}", "if", "(", "GET_MODE_BITSIZE", "(", "mode", ")", ">", "PARM_BOUNDARY", ")", "return", "PARM_BOUNDARY", "*", "2", ";", "else", "return", "PARM_BOUNDARY", ";", "}", ""], "natrual_language": ["Arguments", "with", "alignment", "larger", "than", "8", "bytes", "start", "at", "the", "next", "even", "boundary", ".", "On", "ILP32", "HPUX", ",", "TFmode", "arguments", "start", "on", "next", "even", "boundary", "even", "though", "their", "normal", "alignment", "is", "8", "bytes", ".", "See", "ia64_function_arg", "."], "TS_V_token": ["ia64", "2", "2", "2"], "File": "ia643", "Func": "ia64_function_arg_boundary", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18938, "Length": 69, "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": 18939, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ")", "const", "{", "static", "const", "char", "Nops", "[", "10", "]", "[", "11", "]", "=", "{", "\"\\x90\"", ",", "\"\\x66\\x90\"", ",", "\"\\x0f\\x1f\\x00\"", ",", "\"\\x0f\\x1f\\x40\\x00\"", ",", "\"\\x0f\\x1f\\x44\\x00\\x00\"", ",", "\"\\x66\\x0f\\x1f\\x44\\x00\\x00\"", ",", "\"\\x0f\\x1f\\x80\\x00\\x00\\x00\\x00\"", ",", "\"\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", ",", "\"\\x66\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", ",", "\"\\x66\\x2e\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", ",", "}", ";", "if", "(", "!", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "FeatureNOPL", "]", ")", "{", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "<", "Count", ";", "++", "i", ")", "OS", "<<", "'\\x90'", ";", "return", "true", ";", "}", "uint64_t", "MaxNopLength", "=", "10", ";", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "ProcIntelSLM", "]", ")", "MaxNopLength", "=", "7", ";", "else", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "FeatureFast15ByteNOP", "]", ")", "MaxNopLength", "=", "15", ";", "else", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "FeatureFast11ByteNOP", "]", ")", "MaxNopLength", "=", "11", ";", "do", "{", "const", "uint8_t", "ThisNopLength", "=", "(", "uint8_t", ")", "std", "::", "min", "(", "Count", ",", "MaxNopLength", ")", ";", "const", "uint8_t", "Prefixes", "=", "ThisNopLength", "<=", "10", "?", "0", ":", "ThisNopLength", "-", "10", ";", "for", "(", "uint8_t", "i", "=", "0", ";", "i", "<", "Prefixes", ";", "i", "++", ")", "OS", "<<", "'\\x66'", ";", "const", "uint8_t", "Rest", "=", "ThisNopLength", "-", "Prefixes", ";", "if", "(", "Rest", "!=", "0", ")", "OS", ".", "write", "(", "Nops", "[", "Rest", "-", "1", "]", ",", "Rest", ")", ";", "Count", "-=", "ThisNopLength", ";", "}", "while", "(", "Count", "!=", "0", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["X86", "X86", "10", "11", "\"\\x90\"", "\"\\x66\\x90\"", "\"\\x0f\\x1f\\x00\"", "\"\\x0f\\x1f\\x40\\x00\"", "\"\\x0f\\x1f\\x44\\x00\\x00\"", "\"\\x66\\x0f\\x1f\\x44\\x00\\x00\"", "\"\\x0f\\x1f\\x80\\x00\\x00\\x00\\x00\"", "\"\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", "\"\\x66\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", "\"\\x66\\x2e\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", "X86::FeatureNOPL", "0", "10", "X86::ProcIntelSLM", "7", "X86::FeatureFast15ByteNOP", "15", "X86::FeatureFast11ByteNOP", "11", "10", "0", "10", "0", "0", "1", "0"], "File": "X86AsmBackend (2)2", "Func": "writeNopData", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18940, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "PPCFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "GuaranteedTailCallOpt", "&&", "I", "->", "getOpcode", "(", ")", "==", "PPC", "::", "ADJCALLSTACKUP", ")", "{", "if", "(", "int", "CalleeAmt", "=", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ")", "{", "bool", "is64Bit", "=", "Subtarget", ".", "isPPC64", "(", ")", ";", "CalleeAmt", "*=", "-", "1", ";", "unsigned", "StackReg", "=", "is64Bit", "?", "PPC", "::", "X1", ":", "PPC", "::", "R1", ";", "unsigned", "TmpReg", "=", "is64Bit", "?", "PPC", "::", "X0", ":", "PPC", "::", "R0", ";", "unsigned", "ADDIInstr", "=", "is64Bit", "?", "PPC", "::", "ADDI8", ":", "PPC", "::", "ADDI", ";", "unsigned", "ADDInstr", "=", "is64Bit", "?", "PPC", "::", "ADD8", ":", "PPC", "::", "ADD4", ";", "unsigned", "LISInstr", "=", "is64Bit", "?", "PPC", "::", "LIS8", ":", "PPC", "::", "LIS", ";", "unsigned", "ORIInstr", "=", "is64Bit", "?", "PPC", "::", "ORI8", ":", "PPC", "::", "ORI", ";", "MachineInstr", "*", "MI", "=", "I", ";", "DebugLoc", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "isInt", "<", "16", ">", "(", "CalleeAmt", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "TII", ".", "get", "(", "ADDIInstr", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "CalleeAmt", ")", ";", "}", "else", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "I", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "LISInstr", ")", ",", "TmpReg", ")", ".", "addImm", "(", "CalleeAmt", ">>", "16", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ORIInstr", ")", ",", "TmpReg", ")", ".", "addReg", "(", "TmpReg", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "CalleeAmt", "&", "0xFFFF", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ADDInstr", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "TmpReg", ")", ";", "}", "}", "}", "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": ["PowerPC", "PPC", "PPC::ADJCALLSTACKUP", "1", "PPC", "1", "PPC::X1", "PPC::R1", "PPC::X0", "PPC::R0", "PPC::ADDI8", "PPC::ADDI", "PPC::ADD8", "PPC::ADD4", "PPC::LIS8", "PPC::LIS", "PPC::ORI8", "PPC::ORI", "16", "16", "0xFFFF"], "File": "PPCFrameLowering53", "Func": "eliminateCallFramePseudoInstr", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18941, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SVEVecStackRegion", "::", "emitPrologue", "(", "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", ";", "}", "unsigned", "TmpBasereg", "=", "Basereg", ";", "if", "(", "CSRs", ".", "size", "(", ")", ">", "0", "&&", "(", "(", "(", "AddedSize", "+", "Offset", ")", "-", "Scale", ")", ">", "(", "uint64_t", ")", "Scale", "*", "255", ")", ")", "{", "TmpBasereg", "=", "adjustRegBySVE", "(", "MF", ",", "MBB", ",", "MBBI", ",", "DL", ",", "Basereg", ",", "0", ",", "false", ")", ";", "Offset", "=", "0", ";", "}", "adjustRegBySVE", "(", "MF", ",", "MBB", ",", "MBBI", ",", "DL", ",", "Basereg", ",", "this", "->", "getRegionSize", "(", ")", "+", "AddedSize", ",", "false", ",", "AArch64", "::", "SP", ")", ";", "AddedSize", "=", "0", ";", "SaveRestoreSVEFromPointer", "(", "MF", ",", "MBB", ",", "MBBI", ",", "DL", ",", "Offset", ",", "TmpBasereg", ",", "true", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["AArch64", "0", "0", "0", "255", "0", "0", "AArch64::SP", "0"], "File": "AArch64FrameLowering62", "Func": "emitPrologue", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18942, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64ExpandPseudo", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "TII", "=", "static_cast", "<", "const", "ARM64InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "Modified", "|=", "expandMBB", "(", "MBB", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM64", "ARM64", "ARM64"], "File": "ARM64ExpandPseudoInsts", "Func": "runOnMachineFunction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18943, "Length": 54, "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": ["AArch64", "\"Invalid base register access!\""], "File": "AArch64FastISel (2)", "Func": "getReg", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18944, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "isCoalescableExtInstr", "(", "const", "MachineInstr", "&", "MI", ",", "Register", "&", "SrcReg", ",", "Register", "&", "DstReg", ",", "unsigned", "&", "SubIdx", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "X86", "::", "MOVSX16rr8", ":", "case", "X86", "::", "MOVZX16rr8", ":", "case", "X86", "::", "MOVSX32rr8", ":", "case", "X86", "::", "MOVZX32rr8", ":", "case", "X86", "::", "MOVSX64rr8", ":", "if", "(", "!", "Subtarget", ".", "is64Bit", "(", ")", ")", "return", "false", ";", "LLVM_FALLTHROUGH", ";", "case", "X86", "::", "MOVSX32rr16", ":", "case", "X86", "::", "MOVZX32rr16", ":", "case", "X86", "::", "MOVSX64rr16", ":", "case", "X86", "::", "MOVSX64rr32", ":", "{", "if", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getSubReg", "(", ")", "||", "MI", ".", "getOperand", "(", "1", ")", ".", "getSubReg", "(", ")", ")", "return", "false", ";", "SrcReg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "DstReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unreachable!\"", ")", ";", "case", "X86", "::", "MOVSX16rr8", ":", "case", "X86", "::", "MOVZX16rr8", ":", "case", "X86", "::", "MOVSX32rr8", ":", "case", "X86", "::", "MOVZX32rr8", ":", "case", "X86", "::", "MOVSX64rr8", ":", "SubIdx", "=", "X86", "::", "sub_8bit", ";", "break", ";", "case", "X86", "::", "MOVSX32rr16", ":", "case", "X86", "::", "MOVZX32rr16", ":", "case", "X86", "::", "MOVSX64rr16", ":", "SubIdx", "=", "X86", "::", "sub_16bit", ";", "break", ";", "case", "X86", "::", "MOVSX64rr32", ":", "SubIdx", "=", "X86", "::", "sub_32bit", ";", "break", ";", "}", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["isCoalescableExtInstr", "-", "Return", "true", "if", "the", "instruction", "is", "a", "``", "coalescable", "''", "extension", "instruction", "."], "TS_V_token": ["X86", "X86", "X86::MOVSX16rr8", "X86::MOVZX16rr8", "X86::MOVSX32rr8", "X86::MOVZX32rr8", "X86::MOVSX64rr8", "X86::MOVSX32rr16", "X86::MOVZX32rr16", "X86::MOVSX64rr16", "X86::MOVSX64rr32", "0", "1", "1", "0", "\"Unreachable!\"", "X86::MOVSX16rr8", "X86::MOVZX16rr8", "X86::MOVSX32rr8", "X86::MOVZX32rr8", "X86::MOVSX64rr8", "X86::sub_8bit", "X86::MOVSX32rr16", "X86::MOVZX32rr16", "X86::MOVSX64rr16", "X86::sub_16bit", "X86::MOVSX64rr32", "X86::sub_32bit"], "File": "X86InstrInfo (2)3", "Func": "isCoalescableExtInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18945, "Length": 245, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", ",", "unsigned", ",", "bool", "*", "Fast", ")", "const", "{", "if", "(", "DisablePPCUnaligned", ")", "return", "false", ";", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "if", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "isVector", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "hasVSX", "(", ")", ")", "{", "if", "(", "VT", "!=", "MVT", "::", "v2f64", "&&", "VT", "!=", "MVT", "::", "v2i64", ")", "return", "false", ";", "}", "else", "{", "return", "false", ";", "}", "}", "if", "(", "VT", "==", "MVT", "::", "ppcf128", ")", "return", "false", ";", "if", "(", "Fast", ")", "*", "Fast", "=", "true", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "MVT::v2f64", "MVT::v2i64", "MVT::ppcf128"], "File": "PPCISelLowering148", "Func": "allowsMisalignedMemoryAccesses", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18946, "Length": 108, "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", "(", "!", "regs_ever_live", "[", "reg", "]", ")", "return", "reg", ";", "if", "(", "cfun", "->", "machine", "->", "uses_anonymous_args", "&&", "current_function_pretend_args_size", ">", "0", ")", "return", "LAST_ARG_REGNUM", ";", "if", "(", "!", "cfun", "->", "machine", "->", "uses_anonymous_args", "&&", "current_function_args_size", ">=", "0", "&&", "current_function_args_size", "<=", "(", "LAST_ARG_REGNUM", "*", "UNITS_PER_WORD", ")", "&&", "cfun", "->", "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", ";", "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", "1"], "File": "arm3", "Func": "thumb_find_work_register", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18947, "Length": 114, "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": 18948, "Length": 14, "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_DARWIN_STUB", ":", "Suffix", "=", "\"$stub\"", ";", "break", ";", "case", "X86II", "::", "MO_DARWIN_NONLAZY", ":", "case", "X86II", "::", "MO_DARWIN_NONLAZY_PIC_BASE", ":", "Suffix", "=", "\"$non_lazy_ptr\"", ";", "break", ";", "}", "if", "(", "!", "Suffix", ".", "empty", "(", ")", ")", "Name", "+=", "DL", ".", "getPrivateGlobalPrefix", "(", ")", ";", "unsigned", "PrefixLen", "=", "Name", ".", "size", "(", ")", ";", "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", "(", ")", ";", "}", "unsigned", "OrigLen", "=", "Name", ".", "size", "(", ")", "-", "PrefixLen", ";", "Name", "+=", "Suffix", ";", "if", "(", "!", "Sym", ")", "Sym", "=", "Ctx", ".", "getOrCreateSymbol", "(", "Name", ")", ";", "StringRef", "OrigName", "=", "StringRef", "(", "Name", ")", ".", "substr", "(", "PrefixLen", ",", "OrigLen", ")", ";", "switch", "(", "MO", ".", "getTargetFlags", "(", ")", ")", "{", "default", ":", "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", ";", "}", "case", "X86II", "::", "MO_DARWIN_STUB", ":", "{", "MachineModuleInfoImpl", "::", "StubValueTy", "&", "StubSym", "=", "getMachOMMI", "(", ")", ".", "getFnStubEntry", "(", "Sym", ")", ";", "if", "(", "StubSym", ".", "getPointer", "(", ")", ")", "return", "Sym", ";", "if", "(", "MO", ".", "isGlobal", "(", ")", ")", "{", "StubSym", "=", "MachineModuleInfoImpl", "::", "StubValueTy", "(", "AsmPrinter", ".", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ",", "!", "MO", ".", "getGlobal", "(", ")", "->", "hasInternalLinkage", "(", ")", ")", ";", "}", "else", "{", "StubSym", "=", "MachineModuleInfoImpl", "::", "StubValueTy", "(", "Ctx", ".", "getOrCreateSymbol", "(", "OrigName", ")", ",", "false", ")", ";", "}", "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_DARWIN_STUB", "\"$stub\"", "X86II::MO_DARWIN_NONLAZY", "X86II::MO_DARWIN_NONLAZY_PIC_BASE", "\"$non_lazy_ptr\"", "X86II::MO_DARWIN_NONLAZY", "X86II::MO_DARWIN_NONLAZY_PIC_BASE", "\"Extern symbol not handled yet\"", "X86II::MO_DARWIN_STUB"], "File": "X86MCInstLower113", "Func": "GetSymbolFromOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18949, "Length": 461, "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": ["PowerPC"], "File": "PPCTargetMachine17", "Func": "getInstrItineraryData", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18950, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "IA64RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "IA64", "::", "r0", ")", ";", "Reserved", ".", "set", "(", "IA64", "::", "r1", ")", ";", "Reserved", ".", "set", "(", "IA64", "::", "r2", ")", ";", "Reserved", ".", "set", "(", "IA64", "::", "r5", ")", ";", "Reserved", ".", "set", "(", "IA64", "::", "r12", ")", ";", "Reserved", ".", "set", "(", "IA64", "::", "r13", ")", ";", "Reserved", ".", "set", "(", "IA64", "::", "r22", ")", ";", "Reserved", ".", "set", "(", "IA64", "::", "rp", ")", ";", "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": ["IA64", "IA64", "IA64::r0", "IA64::r1", "IA64::r2", "IA64::r5", "IA64::r12", "IA64::r13", "IA64::r22", "IA64::rp"], "File": "IA64RegisterInfo", "Func": "getReservedRegs", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18951, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64InstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "const", "MCInstrDesc", "&", "MCID", "=", "MI", ".", "getDesc", "(", ")", ";", "const", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "MCAsmInfo", "&", "MAI", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", ";", "if", "(", "MCID", ".", "getSize", "(", ")", ")", "return", "MCID", ".", "getSize", "(", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "INLINEASM", ")", "return", "getInlineAsmLength", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getSymbolName", "(", ")", ",", "MAI", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "TargetOpcode", "::", "BUNDLE", ":", "return", "getInstBundleLength", "(", "MI", ")", ";", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "KILL", ":", "case", "TargetOpcode", "::", "CFI_INSTRUCTION", ":", "case", "TargetOpcode", "::", "EH_LABEL", ":", "case", "TargetOpcode", "::", "GC_LABEL", ":", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "case", "AArch64", "::", "TLSDESCCALL", ":", "return", "0", ";", "default", ":", "llvm_unreachable", "(", "\"Unknown instruction class\"", ")", ";", "}", "}", ""], "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", "AArch64::TLSDESCCALL", "0", "\"Unknown instruction class\""], "File": "AArch64InstrInfo39", "Func": "getInstSizeInBytes", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18952, "Length": 174, "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": 18953, "Length": 181, "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": 18954, "Length": 21, "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": 18955, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "machine_function", "*", "iq2000_init_machine_status", "(", "void", ")", "{", "struct", "machine_function", "*", "f", ";", "f", "=", "ggc_alloc_cleared", "(", "sizeof", "(", "struct", "machine_function", ")", ")", ";", "return", "f", ";", "}", ""], "natrual_language": ["Allocate", "a", "chunk", "of", "memory", "for", "per-function", "machine-dependent", "data", "."], "TS_V_token": ["iq2000"], "File": "iq20002", "Func": "iq2000_init_machine_status", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18956, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "scalar_int_mode", "rs6000_eh_return_filter_mode", "(", "void", ")", "{", "return", "TARGET_32BIT", "?", "SImode", ":", "word_mode", ";", "}", ""], "natrual_language": ["target", "hook", "eh_return_filter_mode"], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_eh_return_filter_mode", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18957, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "StackPU2TargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "Base", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "ProgmemDataSection", "=", "Ctx", ".", "getELFSection", "(", "\".progmem.data\"", ",", "ELF", "::", "SHT_PROGBITS", ",", "ELF", "::", "SHF_ALLOC", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["StackPU2", "StackPU2", "\".progmem.data\""], "File": "StackPU2TargetObjectFile", "Func": "Initialize", "Target": "StackPU2", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18958, "Length": 42, "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": 18959, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnFunction", "(", "Function", "&", "F", ")", "override", "{", "if", "(", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "PHINodeSet", "PromotablePHINodes", "=", "getPromotablePHINodes", "(", "F", ")", ";", "B2IMap", "Bool2IntMap", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "&", "BB", ":", "F", ")", "{", "for", "(", "auto", "&", "I", ":", "BB", ")", "{", "if", "(", "auto", "*", "R", "=", "dyn_cast", "<", "ReturnInst", ">", "(", "&", "I", ")", ")", "if", "(", "F", ".", "getReturnType", "(", ")", "->", "isIntegerTy", "(", "1", ")", ")", "Changed", "|=", "runOnUse", "(", "R", "->", "getOperandUse", "(", "0", ")", ",", "PromotablePHINodes", ",", "Bool2IntMap", ")", ";", "if", "(", "auto", "*", "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": "PPCBoolRetToInt15", "Func": "runOnFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18960, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_print_operand_address", "(", "FILE", "*", "file", ",", "machine_mode", ",", "rtx", "addr", ")", "{", "if", "(", "this_is_asm_operands", "&&", "!", "address_operand", "(", "addr", ",", "VOIDmode", ")", ")", "output_operand_lossage", "(", "\"invalid constraints for operand\"", ")", ";", "else", "ix86_print_operand_address_as", "(", "file", ",", "addr", ",", "ADDR_SPACE_GENERIC", ",", "false", ")", ";", "}", ""], "natrual_language": ["Print", "a", "memory", "operand", "whose", "address", "is", "ADDR", "."], "TS_V_token": ["i386", "\"invalid constraints for operand\""], "File": "i386", "Func": "ix86_print_operand_address", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18961, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "size_t", "ARMToTHMStub", "::", "size", "(", ")", "const", "{", "return", "m_Size", ";", "}", ""], "natrual_language": ["The", "number", "of", "name/type", "pairs", "is", "returned", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMToTHMStub", "Func": "size", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18962, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addPreSched2", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createARMLoadStoreOptimizationPass", "(", ")", ")", ";", "printAndVerify", "(", "\"After ARM load / store optimizer\"", ")", ";", "if", "(", "getARMSubtarget", "(", ")", ".", "hasNEON", "(", ")", ")", "addPass", "(", "createExecutionDependencyFixPass", "(", "&", "ARM", "::", "DPRRegClass", ")", ")", ";", "}", "addPass", "(", "createARMExpandPseudoPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "!", "getARMSubtarget", "(", ")", ".", "isThumb1Only", "(", ")", ")", "{", "if", "(", "getARMSubtarget", "(", ")", ".", "restrictIT", "(", ")", "&&", "!", "getARMSubtarget", "(", ")", ".", "prefers32BitThumb", "(", ")", ")", "addPass", "(", "createThumb2SizeReductionPass", "(", ")", ")", ";", "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", "\"After ARM load / store optimizer\"", "ARM", "ARM::DPRRegClass", "ARM", "ARM", "ARM", "ARM", "ARM"], "File": "ARMTargetMachine35", "Func": "addPreSched2", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18963, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "IsEligibleForTailCallOptimization", "(", "SDValue", "Callee", ",", "CallingConv", "::", "ID", "CalleeCC", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "!", "GuaranteedTailCallOpt", ")", "return", "false", ";", "if", "(", "isVarArg", ")", "return", "false", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "CallingConv", "::", "ID", "CallerCC", "=", "MF", ".", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", ";", "if", "(", "CalleeCC", "==", "CallingConv", "::", "Fast", "&&", "CallerCC", "==", "CalleeCC", ")", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "Ins", ".", "size", "(", ")", ";", "i", "++", ")", "{", "ISD", "::", "ArgFlagsTy", "Flags", "=", "Ins", "[", "i", "]", ".", "Flags", ";", "if", "(", "Flags", ".", "isByVal", "(", ")", ")", "return", "false", ";", "}", "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", "ISD::InputArg", "0", "ISD::ArgFlagsTy"], "File": "PPCISelLowering107", "Func": "IsEligibleForTailCallOptimization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18964, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "rs6000_builtin_mask_calculate", "(", "void", ")", "{", "return", "(", "(", "(", "TARGET_ALTIVEC", ")", "?", "RS6000_BTM_ALTIVEC", ":", "0", ")", "|", "(", "(", "TARGET_VSX", ")", "?", "RS6000_BTM_VSX", ":", "0", ")", "|", "(", "(", "TARGET_SPE", ")", "?", "RS6000_BTM_SPE", ":", "0", ")", "|", "(", "(", "TARGET_PAIRED_FLOAT", ")", "?", "RS6000_BTM_PAIRED", ":", "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_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", ")", "?", "RS6000_BTM_LDBL128", ":", "0", ")", "|", "(", "(", "TARGET_FLOAT128_TYPE", ")", "?", "RS6000_BTM_FLOAT128", ":", "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"], "File": "rs60006", "Func": "rs6000_builtin_mask_calculate", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18965, "Length": 222, "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": 18966, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "PPCRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "const", "PPCFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "ZERO", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "FP", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "BP", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "CTR", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "CTR8", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R1", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "LR", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "LR8", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "RM", ")", ";", "if", "(", "!", "Subtarget", ".", "isDarwinABI", "(", ")", "||", "!", "Subtarget", ".", "hasAltivec", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "VRSAVE", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "const", "PPCFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", ";", "if", "(", "!", "TM", ".", "isPPC64", "(", ")", "||", "FuncInfo", "->", "usesTOCBasePtr", "(", ")", "||", "MF", ".", "hasInlineAsm", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R2", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R13", ")", ";", "}", "if", "(", "Subtarget", ".", "isAIXABI", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R2", ")", ";", "if", "(", "TM", ".", "isPPC64", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R13", ")", ";", "if", "(", "TFI", "->", "needsFP", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R31", ")", ";", "bool", "IsPositionIndependent", "=", "TM", ".", "isPositionIndependent", "(", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "{", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", "&&", "!", "TM", ".", "isPPC64", "(", ")", "&&", "IsPositionIndependent", ")", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R29", ")", ";", "else", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R30", ")", ";", "}", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", "&&", "!", "TM", ".", "isPPC64", "(", ")", "&&", "IsPositionIndependent", ")", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R30", ")", ";", "if", "(", "!", "Subtarget", ".", "hasAltivec", "(", ")", ")", "for", "(", "TargetRegisterClass", "::", "iterator", "I", "=", "PPC", "::", "VRRCRegClass", ".", "begin", "(", ")", ",", "IE", "=", "PPC", "::", "VRRCRegClass", ".", "end", "(", ")", ";", "I", "!=", "IE", ";", "++", "I", ")", "markSuperRegs", "(", "Reserved", ",", "*", "I", ")", ";", "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": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC::ZERO", "PPC::FP", "PPC::BP", "PPC::CTR", "PPC::CTR8", "PPC::R1", "PPC::LR", "PPC::LR8", "PPC::RM", "PPC::VRSAVE", "PPC", "PPC", "PPC", "PPC::R2", "PPC::R13", "PPC::R2", "PPC", "PPC::R13", "PPC::R31", "PPC", "PPC::R29", "PPC::R30", "PPC", "PPC::R30", "PPC::VRRCRegClass", "PPC::VRRCRegClass"], "File": "PPCRegisterInfo76", "Func": "getReservedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18967, "Length": 406, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_function_arg_alignment", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "unsigned", "int", "alignment", ";", "if", "(", "type", ")", "{", "if", "(", "!", "integer_zerop", "(", "TYPE_SIZE", "(", "type", ")", ")", ")", "{", "if", "(", "TYPE_MODE", "(", "type", ")", "==", "mode", ")", "alignment", "=", "TYPE_ALIGN", "(", "type", ")", ";", "else", "alignment", "=", "GET_MODE_ALIGNMENT", "(", "mode", ")", ";", "}", "else", "alignment", "=", "0", ";", "}", "else", "alignment", "=", "GET_MODE_ALIGNMENT", "(", "mode", ")", ";", "return", "alignment", ";", "}", ""], "natrual_language": ["Given", "MODE", "and", "TYPE", "of", "a", "function", "argument", ",", "return", "the", "alignment", "in", "bits", ".", "The", "idea", "is", "to", "suppress", "any", "stronger", "alignment", "requested", "by", "the", "user", "and", "opt", "for", "the", "natural", "alignment", "(", "specified", "in", "AAPCS64", "\\S", "4.1", ")", ".", "This", "is", "a", "helper", "function", "for", "local", "use", "only", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch642", "Func": "aarch64_function_arg_alignment", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18968, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "x86_extended_reg_mentioned_p", "(", "rtx", "insn", ")", "{", "subrtx_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX", "(", "iter", ",", "array", ",", "INSN_P", "(", "insn", ")", "?", "PATTERN", "(", "insn", ")", ":", "insn", ",", "NONCONST", ")", "{", "const_rtx", "x", "=", "*", "iter", ";", "if", "(", "REG_P", "(", "x", ")", "&&", "(", "REX_INT_REGNO_P", "(", "REGNO", "(", "x", ")", ")", "||", "REX_SSE_REGNO_P", "(", "REGNO", "(", "x", ")", ")", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "when", "INSN", "mentions", "register", "that", "must", "be", "encoded", "using", "REX", "prefix", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "x86_extended_reg_mentioned_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18969, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "aarch64_simd_container_mode", "(", "scalar_mode", "mode", ",", "poly_int64", "width", ")", "{", "if", "(", "TARGET_SVE", "&&", "known_eq", "(", "width", ",", "BITS_PER_SVE_VECTOR", ")", ")", "switch", "(", "mode", ")", "{", "case", "E_DFmode", ":", "return", "VNx2DFmode", ";", "case", "E_SFmode", ":", "return", "VNx4SFmode", ";", "case", "E_HFmode", ":", "return", "VNx8HFmode", ";", "case", "E_DImode", ":", "return", "VNx2DImode", ";", "case", "E_SImode", ":", "return", "VNx4SImode", ";", "case", "E_HImode", ":", "return", "VNx8HImode", ";", "case", "E_QImode", ":", "return", "VNx16QImode", ";", "default", ":", "return", "word_mode", ";", "}", "gcc_assert", "(", "known_eq", "(", "width", ",", "64", ")", "||", "known_eq", "(", "width", ",", "128", ")", ")", ";", "if", "(", "TARGET_SIMD", ")", "{", "if", "(", "known_eq", "(", "width", ",", "128", ")", ")", "switch", "(", "mode", ")", "{", "case", "E_DFmode", ":", "return", "V2DFmode", ";", "case", "E_SFmode", ":", "return", "V4SFmode", ";", "case", "E_HFmode", ":", "return", "V8HFmode", ";", "case", "E_SImode", ":", "return", "V4SImode", ";", "case", "E_HImode", ":", "return", "V8HImode", ";", "case", "E_QImode", ":", "return", "V16QImode", ";", "case", "E_DImode", ":", "return", "V2DImode", ";", "default", ":", "break", ";", "}", "else", "switch", "(", "mode", ")", "{", "case", "E_SFmode", ":", "return", "V2SFmode", ";", "case", "E_HFmode", ":", "return", "V4HFmode", ";", "case", "E_SImode", ":", "return", "V2SImode", ";", "case", "E_HImode", ":", "return", "V4HImode", ";", "case", "E_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": "aarch645", "Func": "aarch64_simd_container_mode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18970, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_insert_attributes", "(", "tree", "decl", ",", "tree", "*", "attributes", ")", "{", "if", "(", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", ")", "{", "tree", "func_attrs", ";", "tree", "intr", ",", "excp", ",", "reset", ";", "func_attrs", "=", "*", "attributes", ";", "nds32_check_isr_attrs_conflict", "(", "decl", ",", "func_attrs", ")", ";", "intr", "=", "lookup_attribute", "(", "\"interrupt\"", ",", "func_attrs", ")", ";", "excp", "=", "lookup_attribute", "(", "\"exception\"", ",", "func_attrs", ")", ";", "reset", "=", "lookup_attribute", "(", "\"reset\"", ",", "func_attrs", ")", ";", "if", "(", "intr", "||", "excp", ")", "{", "tree", "id_list", ";", "unsigned", "int", "lower_bound", ",", "upper_bound", ";", "lower_bound", "=", "(", "intr", ")", "?", "(", "0", ")", ":", "(", "1", ")", ";", "upper_bound", "=", "(", "intr", ")", "?", "(", "63", ")", ":", "(", "8", ")", ";", "id_list", "=", "(", "intr", ")", "?", "(", "TREE_VALUE", "(", "intr", ")", ")", ":", "(", "TREE_VALUE", "(", "excp", ")", ")", ";", "while", "(", "id_list", ")", "{", "tree", "id", ";", "id", "=", "TREE_VALUE", "(", "id_list", ")", ";", "if", "(", "TREE_CODE", "(", "id", ")", "!=", "INTEGER_CST", "||", "wi", "::", "ltu_p", "(", "wi", "::", "to_wide", "(", "id", ")", ",", "lower_bound", ")", "||", "wi", "::", "gtu_p", "(", "wi", "::", "to_wide", "(", "id", ")", ",", "upper_bound", ")", ")", "error", "(", "\"invalid id value for interrupt/exception attribute\"", ")", ";", "id_list", "=", "TREE_CHAIN", "(", "id_list", ")", ";", "}", "}", "else", "if", "(", "reset", ")", "{", "tree", "id_list", ";", "tree", "id", ";", "tree", "nmi", ",", "warm", ";", "unsigned", "int", "lower_bound", ";", "unsigned", "int", "upper_bound", ";", "id_list", "=", "TREE_VALUE", "(", "reset", ")", ";", "id", "=", "TREE_VALUE", "(", "id_list", ")", ";", "lower_bound", "=", "0", ";", "upper_bound", "=", "64", ";", "if", "(", "TREE_CODE", "(", "id", ")", "!=", "INTEGER_CST", "||", "wi", "::", "ltu_p", "(", "wi", "::", "to_wide", "(", "id", ")", ",", "lower_bound", ")", "||", "wi", "::", "gtu_p", "(", "wi", "::", "to_wide", "(", "id", ")", ",", "upper_bound", ")", ")", "error", "(", "\"invalid id value for reset attribute\"", ")", ";", "nmi", "=", "lookup_attribute", "(", "\"nmi\"", ",", "func_attrs", ")", ";", "warm", "=", "lookup_attribute", "(", "\"warm\"", ",", "func_attrs", ")", ";", "if", "(", "nmi", "!=", "NULL_TREE", ")", "{", "tree", "nmi_func_list", ";", "tree", "nmi_func", ";", "nmi_func_list", "=", "TREE_VALUE", "(", "nmi", ")", ";", "nmi_func", "=", "TREE_VALUE", "(", "nmi_func_list", ")", ";", "if", "(", "TREE_CODE", "(", "nmi_func", ")", "!=", "IDENTIFIER_NODE", ")", "error", "(", "\"invalid nmi function for reset attribute\"", ")", ";", "}", "if", "(", "warm", "!=", "NULL_TREE", ")", "{", "tree", "warm_func_list", ";", "tree", "warm_func", ";", "warm_func_list", "=", "TREE_VALUE", "(", "warm", ")", ";", "warm_func", "=", "TREE_VALUE", "(", "warm_func_list", ")", ";", "if", "(", "TREE_CODE", "(", "warm_func", ")", "!=", "IDENTIFIER_NODE", ")", "error", "(", "\"invalid warm function for reset attribute\"", ")", ";", "}", "}", "else", "{", "return", ";", "}", "}", "}", ""], "natrual_language": ["Add", "some", "checking", "when", "inserting", "attributes", "."], "TS_V_token": ["nds32", "\"interrupt\"", "\"exception\"", "\"reset\"", "0", "1", "63", "8", "\"invalid id value for interrupt/exception attribute\"", "0", "64", "\"invalid id value for reset attribute\"", "\"nmi\"", "\"warm\"", "\"invalid nmi function for reset attribute\"", "\"invalid warm function for reset attribute\""], "File": "nds325", "Func": "nds32_insert_attributes", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18971, "Length": 400, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mep_expand_unary_intrinsic", "(", "int", "ATTRIBUTE_UNUSED", "intrinsic", ",", "rtx", "*", "operands", "ATTRIBUTE_UNUSED", ")", "{", "return", "false", ";", "}", ""], "natrual_language": ["Apply", "the", "given", "unary", "intrinsic", "to", "OPERANDS", "[", "1", "]", "and", "store", "it", "on", "OPERANDS", "[", "0", "]", ".", "Report", "an", "error", "if", "the", "instruction", "could", "not", "be", "synthesized", ".", "OPERANDS", "[", "1", "]", "is", "a", "register_operand", ".", "For", "sign", "and", "zero", "extensions", ",", "it", "may", "be", "smaller", "than", "SImode", "."], "TS_V_token": ["mep"], "File": "mep", "Func": "mep_expand_unary_intrinsic", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18972, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CSKYAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "Operands", ".", "push_back", "(", "CSKYOperand", "::", "createToken", "(", "Name", ",", "NameLoc", ")", ")", ";", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "return", "false", ";", "if", "(", "parseOperand", "(", "Operands", ",", "Name", ")", ")", "return", "true", ";", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "getLexer", "(", ")", ".", "Lex", "(", ")", ";", "if", "(", "parseOperand", "(", "Operands", ",", "Name", ")", ")", "return", "true", ";", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "getParser", "(", ")", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token\"", ")", ";", "}", "getParser", "(", ")", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["CSKY", "CSKY", "CSKYOperand::createToken", "\"unexpected token\""], "File": "CSKYAsmParser", "Func": "ParseInstruction", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18973, "Length": 151, "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": 18974, "Length": 52, "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": 18975, "Length": 415, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "ARMElfTargetObjectFile", "::", "getTTypeGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "Mangler", "*", "Mang", ",", "MachineModuleInfo", "*", "MMI", ",", "unsigned", "Encoding", ",", "MCStreamer", "&", "Streamer", ")", "const", "{", "assert", "(", "Encoding", "==", "DW_EH_PE_absptr", "&&", "\"Can handle absptr encoding only\"", ")", ";", "Triple", "T", "(", "MMI", "->", "getModule", "(", ")", "->", "getTargetTriple", "(", ")", ")", ";", "if", "(", "T", ".", "isOSNaCl", "(", ")", ")", "return", "TargetLoweringObjectFileELF", "::", "getTTypeGlobalReference", "(", "GV", ",", "Mang", ",", "MMI", ",", "Encoding", ",", "Streamer", ")", ";", "return", "MCSymbolRefExpr", "::", "Create", "(", "getSymbol", "(", "*", "Mang", ",", "GV", ")", ",", "MCSymbolRefExpr", "::", "VK_ARM_TARGET2", ",", "getContext", "(", ")", ")", ";", "}", ""], "natrual_language": ["The", "mach-o", "version", "of", "this", "method", "defaults", "to", "returning", "a", "stub", "reference", "."], "TS_V_token": ["ARM", "ARM", "\"Can handle absptr encoding only\"", "ARM"], "File": "ARMTargetObjectFile31", "Func": "getTTypeGlobalReference", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18976, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "MachineInstr", "*", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "unsigned", ">", "&", "Ops", ",", "MachineInstr", "*", "LoadMI", ")", "const", "{", "return", "0", ";", "}", ""], "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": ["Sparc", "0"], "File": "SparcInstrInfo18", "Func": "foldMemoryOperandImpl", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18977, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBasicBlockUtils", "::", "isBBInRange", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "DestBB", ",", "unsigned", "MaxDisp", ")", "const", "{", "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": "ARMBasicBlockInfo", "Func": "isBBInRange", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18978, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86TargetLowering", "::", "LowerOperationWrapper", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDValue", "Res", "=", "LowerOperation", "(", "SDValue", "(", "N", ",", "0", ")", ",", "DAG", ")", ";", "if", "(", "!", "Res", ".", "getNode", "(", ")", ")", "return", ";", "if", "(", "N", "->", "getNumValues", "(", ")", "==", "1", ")", "{", "Results", ".", "push_back", "(", "Res", ")", ";", "return", ";", "}", "assert", "(", "(", "N", "->", "getNumValues", "(", ")", "==", "Res", "->", "getNumValues", "(", ")", ")", "&&", "\"Lowering returned the wrong number of results!\"", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "N", "->", "getNumValues", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Results", ".", "push_back", "(", "Res", ".", "getValue", "(", "I", ")", ")", ";", "}", ""], "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": ["X86", "X86", "0", "1", "\"Lowering returned the wrong number of results!\"", "0"], "File": "X86ISelLowering (2)6", "Func": "LowerOperationWrapper", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18979, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isKMergeMasked", "(", ")", "const", "{", "return", "(", "Attributes", "&", "KMergeMasked", ")", "!=", "0", ";", "}", ""], "natrual_language": ["Returns", "true", "iff", "the", "group", "of", "FMA", "opcodes", "holds", "k-merge-masked", "opcodes", "."], "TS_V_token": ["X86", "0"], "File": "X86InstrFMA3Info11", "Func": "isKMergeMasked", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18980, "Length": 16, "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": 18981, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_sve_ldr_operand_p", "(", "rtx", "op", ")", "{", "struct", "aarch64_address_info", "addr", ";", "return", "(", "MEM_P", "(", "op", ")", "&&", "aarch64_classify_address", "(", "&", "addr", ",", "XEXP", "(", "op", ",", "0", ")", ",", "GET_MODE", "(", "op", ")", ",", "false", ",", "ADDR_QUERY_ANY", ")", "&&", "addr", ".", "type", "==", "ADDRESS_REG_IMM", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "is", "a", "valid", "MEM", "operand", "for", "an", "SVE", "LDR", "instruction", ".", "The", "conditions", "for", "STR", "are", "the", "same", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64", "Func": "aarch64_sve_ldr_operand_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18982, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "AArch64RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "assert", "(", "MF", "&&", "\"Invalid MachineFunction pointer.\"", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "GHC", ")", "return", "CSR_AArch64_NoRegs_SaveList", ";", "if", "(", "MF", "->", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AnyReg", ")", "return", "CSR_AArch64_AllRegs_SaveList", ";", "else", "return", "CSR_AArch64_AAPCS_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["AArch64", "AArch64", "\"Invalid MachineFunction pointer.\"", "AArch64", "AArch64", "AArch64"], "File": "AArch64RegisterInfo3", "Func": "getCalleeSavedRegs", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18983, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "gen_reg_or_parallel", "(", "enum", "machine_mode", "mode", ",", "enum", "machine_mode", "orig_mode", ",", "unsigned", "int", "regno", ")", "{", "rtx", "tmp", ";", "if", "(", "orig_mode", "!=", "BLKmode", ")", "tmp", "=", "gen_rtx_REG", "(", "orig_mode", ",", "regno", ")", ";", "else", "{", "tmp", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "tmp", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "tmp", ",", "const0_rtx", ")", ";", "tmp", "=", "gen_rtx_PARALLEL", "(", "orig_mode", ",", "gen_rtvec", "(", "1", ",", "tmp", ")", ")", ";", "}", "return", "tmp", ";", "}", ""], "natrual_language": ["We", "want", "to", "pass", "a", "value", "in", "REGNO", "whose", "``", "natural", "''", "mode", "is", "MODE", ".", "However", ",", "this", "may", "not", "agree", "with", "the", "mode", "that", "the", "type", "system", "has", "chosen", "for", "the", "register", ",", "which", "is", "ORIG_MODE", ".", "If", "ORIG_MODE", "is", "not", "BLKmode", ",", "then", "we", "can", "go", "ahead", "and", "use", "it", ".", "Otherwise", "we", "have", "to", "build", "a", "PARALLEL", "instead", "."], "TS_V_token": ["i386", "1"], "File": "i3863", "Func": "gen_reg_or_parallel", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18984, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "xstormy16_extra_constraint_p", "(", "rtx", "x", ",", "int", "c", ")", "{", "switch", "(", "c", ")", "{", "case", "'Q'", ":", "return", "(", "GET_CODE", "(", "x", ")", "==", "MEM", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "POST_INC", "&&", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", "==", "stack_pointer_rtx", ")", ";", "case", "'R'", ":", "return", "(", "GET_CODE", "(", "x", ")", "==", "MEM", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "PRE_DEC", "&&", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", "==", "stack_pointer_rtx", ")", ";", "case", "'S'", ":", "return", "(", "GET_CODE", "(", "x", ")", "==", "MEM", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "CONST_INT", "&&", "xstormy16_legitimate_address_p", "(", "VOIDmode", ",", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ")", ";", "case", "'T'", ":", "return", "0", ";", "case", "'U'", ":", "return", "(", "GET_CODE", "(", "x", ")", "==", "CONST_INT", "&&", "(", "INTVAL", "(", "x", ")", "<", "2", "||", "INTVAL", "(", "x", ")", ">", "15", ")", ")", ";", "case", "'Z'", ":", "return", "(", "GET_CODE", "(", "x", ")", "==", "CONST_INT", "&&", "(", "INTVAL", "(", "x", ")", "==", "0", ")", ")", ";", "case", "'W'", ":", "return", "xstormy16_below100_operand", "(", "x", ",", "GET_MODE", "(", "x", ")", ")", ";", "default", ":", "return", "0", ";", "}", "}", ""], "natrual_language": ["A", "C", "expression", "that", "defines", "the", "optional", "machine-dependent", "constraint", "letters", "(", "`", "Q", "'", ",", "`", "R", "'", ",", "`", "S", "'", ",", "`", "T", "'", ",", "`", "U", "'", ")", "that", "can", "be", "used", "to", "segregate", "specific", "types", "of", "operands", ",", "usually", "memory", "references", ",", "for", "the", "target", "machine", ".", "Normally", "this", "macro", "will", "not", "be", "defined", ".", "If", "it", "is", "required", "for", "a", "particular", "target", "machine", ",", "it", "should", "return", "1", "if", "VALUE", "corresponds", "to", "the", "operand", "type", "represented", "by", "the", "constraint", "letter", "C.", "If", "C", "is", "not", "defined", "as", "an", "extra", "constraint", ",", "the", "value", "returned", "should", "be", "0", "regardless", "of", "VALUE", "."], "TS_V_token": ["stormy16", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "2", "15", "0", "0"], "File": "stormy163", "Func": "xstormy16_extra_constraint_p", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18985, "Length": 210, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", ">=", "CodeGenOpt", "::", "Aggressive", "&&", "EnableLoadStoreOpt", ")", "addPass", "(", "createAArch64LoadStoreOptimizationPass", "(", ")", ")", ";", "if", "(", "EnableA53Fix835769", ")", "addPass", "(", "createAArch64A53Fix835769", "(", ")", ")", ";", "if", "(", "EnableBranchTargets", ")", "addPass", "(", "createAArch64BranchTargetsPass", "(", ")", ")", ";", "if", "(", "BranchRelaxation", ")", "addPass", "(", "&", "BranchRelaxationPassID", ")", ";", "if", "(", "TM", "->", "getTargetTriple", "(", ")", ".", "isOSWindows", "(", ")", ")", "addPass", "(", "createCFGuardLongjmpPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableCompressJumpTables", ")", "addPass", "(", "createAArch64CompressJumpTablesPass", "(", ")", ")", ";", "addPass", "(", "createAArch64ExpandHardenedPseudosPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableCollectLOH", "&&", "TM", "->", "getTargetTriple", "(", ")", ".", "isOSBinFormatMachO", "(", ")", ")", "addPass", "(", "createAArch64CollectLOHPass", "(", ")", ")", ";", "addPass", "(", "createUnpackMachineBundles", "(", "nullptr", ")", ")", ";", "}", ""], "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", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine9", "Func": "addPreEmitPass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18986, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int64_t", "getRegNo", "(", ")", "const", "{", "return", "RegNo", ";", "}", ""], "natrual_language": ["getSubExpr", "-", "Get", "the", "child", "of", "this", "expression", "."], "TS_V_token": ["X86"], "File": "X86MCExpr (2)", "Func": "getRegNo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18987, "Length": 10, "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": ["iq2000", "1", "0", "0", "0", "1", "0"], "File": "iq20002", "Func": "symbolic_expression_p", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18988, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsInstrInfo", "::", "removeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "int", "*", "BytesRemoved", ")", "const", "{", "assert", "(", "!", "BytesRemoved", "&&", "\"code size not handled\"", ")", ";", "MachineBasicBlock", "::", "reverse_iterator", "I", "=", "MBB", ".", "rbegin", "(", ")", ",", "REnd", "=", "MBB", ".", "rend", "(", ")", ";", "unsigned", "removed", ";", "while", "(", "I", "!=", "REnd", "&&", "I", "->", "isDebugValue", "(", ")", ")", "++", "I", ";", "if", "(", "I", "==", "REnd", ")", "return", "0", ";", "MachineBasicBlock", "::", "iterator", "FirstBr", "=", "++", "I", ".", "getReverse", "(", ")", ";", "for", "(", "removed", "=", "0", ";", "I", "!=", "REnd", "&&", "removed", "<", "2", ";", "++", "I", ",", "++", "removed", ")", "if", "(", "!", "getAnalyzableBrOpc", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "break", ";", "MBB", ".", "erase", "(", "(", "--", "I", ")", ".", "getReverse", "(", ")", ",", "FirstBr", ")", ";", "return", "removed", ";", "}", ""], "natrual_language": ["Remove", "the", "branching", "code", "at", "the", "end", "of", "the", "specific", "MBB", "."], "TS_V_token": ["Mips", "Mips", "\"code size not handled\"", "0", "0", "2"], "File": "MipsInstrInfo16", "Func": "removeBranch", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18989, "Length": 135, "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": 18990, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "bool", "HasAVX", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "hasAVX", "(", ")", ";", "MachineInstrBuilder", "MIB", "(", "*", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "X86", "::", "MOV32r0", ":", "return", "Expand2AddrUndef", "(", "MIB", ",", "get", "(", "X86", "::", "XOR32rr", ")", ")", ";", "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", "Expand2AddrUndef", "(", "MIB", ",", "get", "(", "X86", "::", "KXORWrr", ")", ")", ";", "case", "X86", "::", "KSET1B", ":", "case", "X86", "::", "KSET1W", ":", "return", "Expand2AddrUndef", "(", "MIB", ",", "get", "(", "X86", "::", "KXNORWrr", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["X86", "X86", "X86", "X86::MOV32r0", "X86::XOR32rr", "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::KSET1B", "X86::KSET1W", "X86::KXNORWrr"], "File": "X86InstrInfo (2)", "Func": "expandPostRAPseudo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18991, "Length": 334, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_no_early_alu_shift_value_dep", "(", "rtx", "producer", ",", "rtx", "consumer", ")", "{", "rtx", "value", ",", "op", ";", "rtx", "early_op", ";", "if", "(", "!", "arm_get_set_operands", "(", "producer", ",", "consumer", ",", "&", "value", ",", "&", "op", ")", ")", "return", "0", ";", "if", "(", "(", "early_op", "=", "arm_find_shift_sub_rtx", "(", "op", ")", ")", ")", "if", "(", "!", "reg_overlap_mentioned_p", "(", "value", ",", "XEXP", "(", "early_op", ",", "0", ")", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "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", "1", "0"], "File": "aarch-common", "Func": "arm_no_early_alu_shift_value_dep", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18992, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addRequired", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "FunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AArch64"], "File": "AArch64AddressTypePromotion", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18993, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "get_load_info", "(", "rtx_insn", "*", "insn", ",", "struct", "loop", "*", "loop", ",", "rtx", "*", "dest", ",", "rtx", "*", "base", ",", "rtx", "*", "offset", ",", "bool", "*", "pre_post", ",", "bool", "*", "ldp", ")", "{", "if", "(", "!", "INSN_P", "(", "insn", ")", "||", "recog_memoized", "(", "insn", ")", "<", "0", ")", "return", "false", ";", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "unsigned", "code", "=", "GET_CODE", "(", "pat", ")", ";", "bool", "load_pair", "=", "(", "code", "==", "PARALLEL", ")", ";", "if", "(", "load_pair", ")", "{", "pat", "=", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ";", "code", "=", "GET_CODE", "(", "pat", ")", ";", "}", "if", "(", "code", "!=", "SET", ")", "return", "false", ";", "rtx", "dest_rtx", "=", "SET_DEST", "(", "pat", ")", ";", "if", "(", "!", "REG_P", "(", "dest_rtx", ")", ")", "return", "false", ";", "unsigned", "regno", "=", "REGNO", "(", "dest_rtx", ")", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "dest_rtx", ")", ";", "machine_mode", "inner_mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "if", "(", "!", "GET_MODE_SIZE", "(", "mode", ")", ".", "is_constant", "(", ")", ")", "return", "false", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ".", "to_constant", "(", ")", "!=", "GET_MODE_SIZE", "(", "inner_mode", ")", ".", "to_constant", "(", ")", ")", "return", "false", ";", "if", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", ".", "to_constant", "(", ")", "<<", "load_pair", ")", ">", "GET_MODE_SIZE", "(", "OImode", ")", ")", "return", "false", ";", "if", "(", "regno", "==", "SP_REGNUM", ")", "return", "false", ";", "if", "(", "valid_src_p", "(", "SET_SRC", "(", "pat", ")", ",", "insn", ",", "loop", ",", "pre_post", ",", "base", ",", "offset", ",", "load_pair", ")", ")", "{", "*", "dest", "=", "dest_rtx", ";", "*", "ldp", "=", "load_pair", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "INSN", "is", "a", "strided", "load", "in", "LOOP", ".", "If", "it", "is", "a", "strided", "load", ",", "set", "the", "DEST", ",", "BASE", "and", "OFFSET", ".", "Also", ",", "if", "this", "is", "a", "pre/post", "increment", "load", ",", "set", "PRE_POST", "to", "true", ".", "The", "routine", "does", "checks", "on", "the", "destination", "of", "the", "insn", "and", "depends", "on", "STRIDED_LOAD_P", "to", "check", "the", "source", "and", "fill", "in", "the", "BASE", "and", "OFFSET", "."], "TS_V_token": ["aarch64", "0", "0", "0"], "File": "falkor-tag-collision-avoidance", "Func": "get_load_info", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18994, "Length": 264, "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", "(", ")", ";", "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": ["X86", "X86"], "File": "X86ISelLowering114", "Func": "isTruncateFree", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18995, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMConstantIslands", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "MachineConstantPool", "&", "MCP", "=", "*", "Fn", ".", "getConstantPool", "(", ")", ";", "TII", "=", "Fn", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "AFI", "=", "Fn", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "isThumb", "=", "AFI", "->", "isThumbFunction", "(", ")", ";", "HasFarJump", "=", "false", ";", "Fn", ".", "RenumberBlocks", "(", ")", ";", "AFI", "->", "setAlign", "(", "isThumb", "?", "1U", ":", "2U", ")", ";", "std", "::", "vector", "<", "MachineInstr", "*", ">", "CPEMIs", ";", "if", "(", "!", "MCP", ".", "isEmpty", "(", ")", ")", "{", "DoInitialPlacement", "(", "Fn", ",", "CPEMIs", ")", ";", "if", "(", "isThumb", ")", "AFI", "->", "setAlign", "(", "2U", ")", ";", "}", "AFI", "->", "initConstPoolEntryUId", "(", "CPEMIs", ".", "size", "(", ")", ")", ";", "InitialFunctionScan", "(", "Fn", ",", "CPEMIs", ")", ";", "CPEMIs", ".", "clear", "(", ")", ";", "RemoveUnusedCPEntries", "(", ")", ";", "bool", "MadeChange", "=", "false", ";", "while", "(", "true", ")", "{", "bool", "Change", "=", "false", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CPUsers", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "Change", "|=", "HandleConstantPoolUser", "(", "Fn", ",", "i", ")", ";", "DEBUG", "(", "dumpBBs", "(", ")", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "ImmBranches", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "Change", "|=", "FixUpImmediateBr", "(", "Fn", ",", "ImmBranches", "[", "i", "]", ")", ";", "DEBUG", "(", "dumpBBs", "(", ")", ")", ";", "if", "(", "!", "Change", ")", "break", ";", "MadeChange", "=", "true", ";", "}", "verify", "(", "Fn", ")", ";", "if", "(", "!", "HasFarJump", "&&", "AFI", "->", "isLRSpilledForFarJump", "(", ")", "&&", "isThumb", ")", "MadeChange", "|=", "UndoLRSpillRestore", "(", ")", ";", "BBSizes", ".", "clear", "(", ")", ";", "BBOffsets", ".", "clear", "(", ")", ";", "WaterList", ".", "clear", "(", ")", ";", "CPUsers", ".", "clear", "(", ")", ";", "CPEntries", ".", "clear", "(", ")", ";", "ImmBranches", ".", "clear", "(", ")", ";", "PushPopMIs", ".", "clear", "(", ")", ";", "return", "MadeChange", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "1U", "2U", "2U", "0", "0"], "File": "ARMConstantIslandPass18", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18996, "Length": 315, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FrameLowering", "::", "canUseRedZone", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "!", "EnableRedZone", ")", "return", "false", ";", "if", "(", "MF", ".", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "NoRedZone", ")", ")", "return", "false", ";", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "AArch64FunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "unsigned", "NumBytes", "=", "AFI", "->", "getLocalStackSize", "(", ")", ";", "if", "(", "MFI", "->", "hasCalls", "(", ")", "||", "hasFP", "(", "MF", ")", "||", "NumBytes", ">", "128", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Can", "this", "function", "use", "the", "red", "zone", "for", "local", "allocations", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "128"], "File": "AArch64FrameLowering34", "Func": "canUseRedZone", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18997, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ia64_gimplify_va_arg", "(", "tree", "valist", ",", "tree", "type", ",", "gimple_seq", "*", "pre_p", ",", "gimple_seq", "*", "post_p", ")", "{", "if", "(", "pass_by_reference", "(", "NULL", ",", "TYPE_MODE", "(", "type", ")", ",", "type", ",", "false", ")", ")", "{", "tree", "ptrtype", "=", "build_pointer_type", "(", "type", ")", ";", "tree", "addr", "=", "std_gimplify_va_arg_expr", "(", "valist", ",", "ptrtype", ",", "pre_p", ",", "post_p", ")", ";", "return", "build_va_arg_indirect_ref", "(", "addr", ")", ";", "}", "if", "(", "(", "TREE_CODE", "(", "type", ")", "==", "REAL_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "INTEGER_TYPE", ")", "?", "int_size_in_bytes", "(", "type", ")", ">", "8", ":", "TYPE_ALIGN", "(", "type", ")", ">", "8", "*", "BITS_PER_UNIT", ")", "{", "tree", "t", "=", "fold_build_pointer_plus_hwi", "(", "valist", ",", "2", "*", "UNITS_PER_WORD", "-", "1", ")", ";", "t", "=", "build2", "(", "BIT_AND_EXPR", ",", "TREE_TYPE", "(", "t", ")", ",", "t", ",", "build_int_cst", "(", "TREE_TYPE", "(", "t", ")", ",", "-", "2", "*", "UNITS_PER_WORD", ")", ")", ";", "gimplify_assign", "(", "unshare_expr", "(", "valist", ")", ",", "t", ",", "pre_p", ")", ";", "}", "return", "std_gimplify_va_arg_expr", "(", "valist", ",", "type", ",", "pre_p", ",", "post_p", ")", ";", "}", ""], "natrual_language": ["Implement", "va_arg", "."], "TS_V_token": ["ia64", "8", "8", "2", "1", "2"], "File": "ia644", "Func": "ia64_gimplify_va_arg", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 18998, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SICRegisterInfo", "&", "SICInstrInfo", "::", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["SIC", "SIC", "SIC"], "File": "SICInstrInfo", "Func": "getRegisterInfo", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18999, "Length": 14, "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": 19000, "Length": 333, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCCTRLoops", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"********* PPC CTR Loops *********\\n\"", ")", ";", "bool", "Changed", "=", "false", ";", "MLI", "=", "&", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "TII", "=", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "for", "(", "MachineLoopInfo", "::", "iterator", "I", "=", "MLI", "->", "begin", "(", ")", ",", "E", "=", "MLI", "->", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "MachineLoop", "*", "L", "=", "*", "I", ";", "if", "(", "!", "L", "->", "getParentLoop", "(", ")", ")", "{", "Changed", "|=", "convertToCTRLoop", "(", "L", ")", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC", "PPC", "\"********* PPC CTR Loops *********\\n\""], "File": "PPCCTRLoops2", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19001, "Length": 114, "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": 19002, "Length": 323, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "HOST_WIDE_INT", "htm_spr_num", "(", "enum", "rs6000_builtins", "code", ")", "{", "if", "(", "code", "==", "HTM_BUILTIN_GET_TFHAR", "||", "code", "==", "HTM_BUILTIN_SET_TFHAR", ")", "return", "TFHAR_SPR", ";", "else", "if", "(", "code", "==", "HTM_BUILTIN_GET_TFIAR", "||", "code", "==", "HTM_BUILTIN_SET_TFIAR", ")", "return", "TFIAR_SPR", ";", "else", "if", "(", "code", "==", "HTM_BUILTIN_GET_TEXASR", "||", "code", "==", "HTM_BUILTIN_SET_TEXASR", ")", "return", "TEXASR_SPR", ";", "gcc_assert", "(", "code", "==", "HTM_BUILTIN_GET_TEXASRU", "||", "code", "==", "HTM_BUILTIN_SET_TEXASRU", ")", ";", "return", "TEXASRU_SPR", ";", "}", ""], "natrual_language": ["Return", "the", "appropriate", "SPR", "number", "associated", "with", "the", "given", "builtin", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "htm_spr_num", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19003, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LEGTargetLowering", "::", "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", ")", ";", "if", "(", "!", "CCInfo", ".", "CheckReturn", "(", "Outs", ",", "RetCC_LEG", ")", ")", "{", "return", "false", ";", "}", "if", "(", "CCInfo", ".", "getNextStackOffset", "(", ")", "!=", "0", "&&", "isVarArg", ")", "{", "return", "false", ";", "}", "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": ["LEG", "LEG", "ISD::OutputArg", "16", "LEG", "0"], "File": "LEGISelLowering", "Func": "CanLowerReturn", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19004, "Length": 93, "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", "::", "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::RESTORE_VRSAVE", "1", "1", "2", "2", "0", "0"], "File": "PPCInstrInfo (2)", "Func": "isLoadFromStackSlot", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19005, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_setup_incoming_varargs", "(", "cumulative_args_t", "ca", ",", "const", "function_arg_info", "&", "arg", ",", "int", "*", "pretend_args_size", ",", "int", "second_time", "ATTRIBUTE_UNUSED", ")", "{", "unsigned", "int", "total_args_regs", ";", "unsigned", "int", "num_of_used_regs", ";", "unsigned", "int", "remaining_reg_count", ";", "CUMULATIVE_ARGS", "*", "cum", ";", "if", "(", "TARGET_HARD_FLOAT", ")", "return", ";", "cum", "=", "get_cumulative_args", "(", "ca", ")", ";", "total_args_regs", "=", "NDS32_MAX_GPR_REGS_FOR_ARGS", "+", "NDS32_GPR_ARG_FIRST_REGNUM", ";", "num_of_used_regs", "=", "NDS32_AVAILABLE_REGNUM_FOR_GPR_ARG", "(", "cum", "->", "gpr_offset", ",", "arg", ".", "mode", ",", "arg", ".", "type", ")", "+", "NDS32_NEED_N_REGS_FOR_ARG", "(", "arg", ".", "mode", ",", "arg", ".", "type", ")", ";", "remaining_reg_count", "=", "total_args_regs", "-", "num_of_used_regs", ";", "*", "pretend_args_size", "=", "remaining_reg_count", "*", "UNITS_PER_WORD", ";", "return", ";", "}", ""], "natrual_language": ["Implementing", "the", "Varargs", "Macros", "."], "TS_V_token": ["nds32"], "File": "nds32", "Func": "nds32_setup_incoming_varargs", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19006, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "assert", "(", "0", "&&", "\"RelaxInstruction() is not implemented\"", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["TeeRISC", "0", "\"RelaxInstruction() is not implemented\""], "File": "TeeRISCAsmBackend", "Func": "fixupNeedsRelaxation", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19007, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "MipsOutgoingValueHandler", "::", "getStackAddress", "(", "const", "CCValAssign", "&", "VA", ",", "MachineMemOperand", "*", "&", "MMO", ")", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFL", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "LLT", "p0", "=", "LLT", "::", "pointer", "(", "0", ",", "32", ")", ";", "LLT", "s32", "=", "LLT", "::", "scalar", "(", "32", ")", ";", "auto", "SPReg", "=", "MIRBuilder", ".", "buildCopy", "(", "p0", ",", "Register", "(", "Mips", "::", "SP", ")", ")", ";", "unsigned", "Offset", "=", "VA", ".", "getLocMemOffset", "(", ")", ";", "auto", "OffsetReg", "=", "MIRBuilder", ".", "buildConstant", "(", "s32", ",", "Offset", ")", ";", "auto", "AddrReg", "=", "MIRBuilder", ".", "buildPtrAdd", "(", "p0", ",", "SPReg", ",", "OffsetReg", ")", ";", "MachinePointerInfo", "MPO", "=", "MachinePointerInfo", "::", "getStack", "(", "MIRBuilder", ".", "getMF", "(", ")", ",", "Offset", ")", ";", "unsigned", "Size", "=", "alignTo", "(", "VA", ".", "getValVT", "(", ")", ".", "getSizeInBits", "(", ")", ",", "8", ")", "/", "8", ";", "Align", "Alignment", "=", "commonAlignment", "(", "TFL", "->", "getStackAlign", "(", ")", ",", "Offset", ")", ";", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MPO", ",", "MachineMemOperand", "::", "MOStore", ",", "Size", ",", "Alignment", ")", ";", "return", "AddrReg", ".", "getReg", "(", "0", ")", ";", "}", ""], "natrual_language": ["Materialize", "a", "VReg", "containing", "the", "address", "of", "the", "specified", "stack-based", "object", "."], "TS_V_token": ["Mips", "Mips", "0", "32", "32", "Mips::SP", "8", "8", "0"], "File": "MipsCallLowering16", "Func": "getStackAddress", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19008, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_sse_copysign_to_positive", "(", "rtx", "result", ",", "rtx", "abs_value", ",", "rtx", "sign", ",", "rtx", "mask", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "sign", ")", ";", "rtx", "sgn", "=", "gen_reg_rtx", "(", "mode", ")", ";", "if", "(", "mask", "==", "NULL_RTX", ")", "{", "machine_mode", "vmode", ";", "if", "(", "mode", "==", "SFmode", ")", "vmode", "=", "V4SFmode", ";", "else", "if", "(", "mode", "==", "DFmode", ")", "vmode", "=", "V2DFmode", ";", "else", "vmode", "=", "mode", ";", "mask", "=", "ix86_build_signbit_mask", "(", "vmode", ",", "VECTOR_MODE_P", "(", "mode", ")", ",", "false", ")", ";", "if", "(", "!", "VECTOR_MODE_P", "(", "mode", ")", ")", "{", "rtx", "tmp", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "1", ",", "const0_rtx", ")", ")", ";", "tmp", "=", "gen_rtx_VEC_SELECT", "(", "mode", ",", "mask", ",", "tmp", ")", ";", "mask", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "mask", ",", "tmp", ")", ")", ";", "}", "}", "else", "mask", "=", "gen_rtx_NOT", "(", "mode", ",", "mask", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "sgn", ",", "gen_rtx_AND", "(", "mode", ",", "mask", ",", "sign", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "result", ",", "gen_rtx_IOR", "(", "mode", ",", "abs_value", ",", "sgn", ")", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "copysign", "from", "SIGN", "to", "the", "positive", "value", "ABS_VALUE", "storing", "in", "RESULT", ".", "If", "MASK", "is", "non-null", ",", "it", "shall", "be", "a", "mask", "to", "mask", "out", "the", "sign-bit", "."], "TS_V_token": ["i386", "1"], "File": "i386-expand", "Func": "ix86_sse_copysign_to_positive", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19009, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "sh_remove_overlapping_post_inc", "(", "rtx", "dst", ",", "rtx", "src", ")", "{", "if", "(", "!", "MEM_P", "(", "src", ")", ")", "return", "src", ";", "rtx", "addr", "=", "XEXP", "(", "src", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "POST_INC", "&&", "reg_overlap_mentioned_p", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "dst", ")", ")", "return", "replace_equiv_address", "(", "src", ",", "XEXP", "(", "addr", ",", "0", ")", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "addr", ")", "!=", "POST_MODIFY", ")", ";", "return", "src", ";", "}", ""], "natrual_language": ["Given", "a", "move", "insn", "destiation", "and", "a", "source", ",", "make", "sure", "that", "the", "move", "source", "operand", "is", "not", "a", "post-inc", "mem", "load", "with", "the", "same", "address", "reg", "as", "the", "destination", ".", "Returns", "the", "modified", "source", "operand", "with", "the", "post-inc", "removed", "if", "necessary", "."], "TS_V_token": ["sh", "0", "0", "0"], "File": "sh", "Func": "sh_remove_overlapping_post_inc", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19010, "Length": 79, "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_pointer", "&&", "VECTOR_MODE_P", "(", "op_mode", ")", ")", "op_mode", "=", "GET_MODE_INNER", "(", "op_mode", ")", ";", "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-builtins4", "Func": "arm_init_builtin", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19011, "Length": 402, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "altivec_expand_vec_set_builtin", "(", "tree", "exp", ")", "{", "machine_mode", "tmode", ",", "mode1", ";", "tree", "arg0", ",", "arg1", ",", "arg2", ";", "int", "elt", ";", "rtx", "op0", ",", "op1", ";", "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", "&&", "GET_MODE", "(", "op1", ")", "!=", "VOIDmode", ")", "op1", "=", "convert_modes", "(", "mode1", ",", "GET_MODE", "(", "op1", ")", ",", "op1", ",", "true", ")", ";", "op0", "=", "force_reg", "(", "tmode", ",", "op0", ")", ";", "op1", "=", "force_reg", "(", "mode1", ",", "op1", ")", ";", "rs6000_expand_vector_set", "(", "op0", ",", "op1", ",", "elt", ")", ";", "return", "op0", ";", "}", ""], "natrual_language": ["Expand", "vec_set", "builtin", "."], "TS_V_token": ["powerpcspe", "0", "1", "2"], "File": "powerpcspe", "Func": "altivec_expand_vec_set_builtin", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19012, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "return", "AsmPrinter", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCAsmPrinter (2)1", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19013, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "addPreRegAlloc", "(", ")", "{", "PM", "->", "add", "(", "createX86MaxStackAlignmentHeuristicPass", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86TargetMachine87", "Func": "addPreRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19014, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "shmedia_reserve_space_for_target_registers_p", "(", "int", "regs_saved", ",", "HARD_REG_SET", "*", "live_regs_mask", ")", "{", "if", "(", "optimize_size", ")", "return", "0", ";", "return", "shmedia_target_regs_stack_space", "(", "live_regs_mask", ")", "<=", "regs_saved", ";", "}", ""], "natrual_language": ["Decide", "whether", "we", "should", "reserve", "space", "for", "callee-save", "target", "registers", ",", "in", "case", "target", "register", "allocation", "wants", "to", "use", "them", ".", "REGS_SAVED", "is", "the", "space", ",", "in", "bytes", ",", "that", "is", "already", "required", "for", "register", "saves", ".", "LIVE_REGS_MASK", "is", "the", "register", "mask", "calculated", "by", "calc_live_regs", "."], "TS_V_token": ["sh", "0"], "File": "sh3", "Func": "shmedia_reserve_space_for_target_registers_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19015, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PostLegalizerLowering", "::", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "TargetPassConfig", ">", "(", ")", ";", "AU", ".", "setPreservesCFG", "(", ")", ";", "getSelectionDAGFallbackAnalysisUsage", "(", "AU", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64PostLegalizerLowering", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19016, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "toc_hash_eq", "(", "const", "void", "*", "h1", ",", "const", "void", "*", "h2", ")", "{", "rtx", "r1", "=", "(", "(", "const", "struct", "toc_hash_struct", "*", ")", "h1", ")", "->", "key", ";", "rtx", "r2", "=", "(", "(", "const", "struct", "toc_hash_struct", "*", ")", "h2", ")", "->", "key", ";", "if", "(", "(", "(", "const", "struct", "toc_hash_struct", "*", ")", "h1", ")", "->", "key_mode", "!=", "(", "(", "const", "struct", "toc_hash_struct", "*", ")", "h2", ")", "->", "key_mode", ")", "return", "0", ";", "return", "rtx_equal_p", "(", "r1", ",", "r2", ")", ";", "}", ""], "natrual_language": ["Compare", "H1", "and", "H2", "for", "equivalence", "."], "TS_V_token": ["rs6000", "0"], "File": "rs60003", "Func": "toc_hash_eq", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19017, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBlockPlacement", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "const", "ARMSubtarget", "&", "ST", "=", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "if", "(", "!", "ST", ".", "hasLOB", "(", ")", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "DEBUG_PREFIX", "<<", "\"Running on \"", "<<", "MF", ".", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "MLI", "=", "&", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "ST", ".", "getInstrInfo", "(", ")", ")", ";", "BBUtils", "=", "std", "::", "unique_ptr", "<", "ARMBasicBlockUtils", ">", "(", "new", "ARMBasicBlockUtils", "(", "MF", ")", ")", ";", "MF", ".", "RenumberBlocks", "(", ")", ";", "BBUtils", "->", "computeAllBlockSizes", "(", ")", ";", "BBUtils", "->", "adjustBBOffsetsAfter", "(", "&", "MF", ".", "front", "(", ")", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "*", "ML", ":", "*", "MLI", ")", "{", "MachineBasicBlock", "*", "Preheader", "=", "ML", "->", "getLoopPredecessor", "(", ")", ";", "if", "(", "!", "Preheader", ")", "continue", ";", "for", "(", "auto", "&", "Terminator", ":", "Preheader", "->", "terminators", "(", ")", ")", "{", "if", "(", "Terminator", ".", "getOpcode", "(", ")", "!=", "ARM", "::", "t2WhileLoopStart", ")", "continue", ";", "MachineBasicBlock", "*", "LoopExit", "=", "Terminator", ".", "getOperand", "(", "1", ")", ".", "getMBB", "(", ")", ";", "if", "(", "!", "LoopExit", "->", "getPrevNode", "(", ")", ")", "continue", ";", "if", "(", "blockIsBefore", "(", "Preheader", ",", "LoopExit", ")", ")", "continue", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "DEBUG_PREFIX", "<<", "\"Found a backwards WLS from \"", "<<", "Preheader", "->", "getFullName", "(", ")", "<<", "\" to \"", "<<", "LoopExit", "->", "getFullName", "(", ")", "<<", "\"\\n\"", ")", ";", "bool", "CanMove", "=", "true", ";", "for", "(", "auto", "&", "LoopExitTerminator", ":", "LoopExit", "->", "terminators", "(", ")", ")", "{", "if", "(", "LoopExitTerminator", ".", "getOpcode", "(", ")", "!=", "ARM", "::", "t2WhileLoopStart", ")", "continue", ";", "MachineBasicBlock", "*", "LoopExit2", "=", "LoopExitTerminator", ".", "getOperand", "(", "1", ")", ".", "getMBB", "(", ")", ";", "if", "(", "!", "blockIsBefore", "(", "LoopExit2", ",", "LoopExit", ")", "&&", "(", "LoopExit2", "==", "Preheader", "||", "blockIsBefore", "(", "LoopExit2", ",", "Preheader", ")", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "DEBUG_PREFIX", "<<", "\"Can't move the target block as it would \"", "\"introduce a new backwards WLS branch\\n\"", ")", ";", "CanMove", "=", "false", ";", "break", ";", "}", "}", "if", "(", "CanMove", ")", "{", "for", "(", "auto", "It", "=", "LoopExit", "->", "getIterator", "(", ")", ";", "It", "!=", "Preheader", "->", "getIterator", "(", ")", ";", "It", "++", ")", "{", "MachineBasicBlock", "*", "MBB", "=", "&", "*", "It", ";", "for", "(", "auto", "&", "Terminator", ":", "MBB", "->", "terminators", "(", ")", ")", "{", "if", "(", "Terminator", ".", "getOpcode", "(", ")", "!=", "ARM", "::", "t2LoopEnd", "&&", "Terminator", ".", "getOpcode", "(", ")", "!=", "ARM", "::", "t2LoopEndDec", ")", "continue", ";", "MachineBasicBlock", "*", "LETarget", "=", "Terminator", ".", "getOperand", "(", "2", ")", ".", "getMBB", "(", ")", ";", "if", "(", "LETarget", "==", "LoopExit", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "DEBUG_PREFIX", "<<", "\"Can't move the target block as it would \"", "\"introduce a new forwards LE branch\\n\"", ")", ";", "CanMove", "=", "false", ";", "break", ";", "}", "}", "}", "if", "(", "!", "CanMove", ")", "break", ";", "}", "if", "(", "CanMove", ")", "{", "moveBasicBlock", "(", "LoopExit", ",", "Preheader", ")", ";", "Changed", "=", "true", ";", "break", ";", "}", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "\"Running on \"", "\"\\n\"", "ARM", "ARM", "ARM", "ARM::t2WhileLoopStart", "1", "\"Found a backwards WLS from \"", "\" to \"", "\"\\n\"", "ARM::t2WhileLoopStart", "1", "\"Can't move the target block as it would \"", "\"introduce a new backwards WLS branch\\n\"", "ARM::t2LoopEnd", "ARM::t2LoopEndDec", "2", "\"Can't move the target block as it would \"", "\"introduce a new forwards LE branch\\n\""], "File": "ARMBlockPlacement3", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19018, "Length": 503, "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": 19019, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetMachine", "::", "addInstSelector", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "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": "PPCTargetMachine17", "Func": "addInstSelector", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19020, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "rs6000_builtin_mask_for_load", "(", "void", ")", "{", "if", "(", "(", "TARGET_ALTIVEC", "&&", "!", "TARGET_VSX", ")", "||", "(", "TARGET_VSX", "&&", "!", "TARGET_EFFICIENT_UNALIGNED_VSX", ")", ")", "return", "altivec_builtin_mask_for_load", ";", "else", "return", "0", ";", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.builtin_mask_for_load", "."], "TS_V_token": ["rs6000", "0"], "File": "rs6000-builtin", "Func": "rs6000_builtin_mask_for_load", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19021, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "TargetRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Dcpu16"], "File": "Dcpu16TargetMachine", "Func": "getRegisterInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19022, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"VE DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["VE", "\"VE DAG->DAG Pattern Instruction Selection\""], "File": "VEISelDAGToDAG", "Func": "getPassName", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19023, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "setReg", "(", "unsigned", "Reg", ")", "{", "assert", "(", "isRegBase", "(", ")", "&&", "\"Invalid base register access!\"", ")", ";", "Base", ".", "Reg", "=", "Reg", ";", "}", ""], "natrual_language": ["Assigns", "the", "associated", "register", "for", "this", "edge", "."], "TS_V_token": ["AArch64", "\"Invalid base register access!\""], "File": "AArch64FastISel (2)", "Func": "setReg", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19024, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_elim_entry_set_got", "(", "rtx", "reg", ")", "{", "basic_block", "bb", "=", "ENTRY_BLOCK_PTR_FOR_FN", "(", "cfun", ")", "->", "next_bb", ";", "rtx_insn", "*", "c_insn", "=", "BB_HEAD", "(", "bb", ")", ";", "if", "(", "!", "NONDEBUG_INSN_P", "(", "c_insn", ")", ")", "c_insn", "=", "next_nonnote_nondebug_insn", "(", "c_insn", ")", ";", "if", "(", "c_insn", "&&", "NONJUMP_INSN_P", "(", "c_insn", ")", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "c_insn", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", ")", "{", "rtx", "vec", "=", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "vec", ")", "==", "SET", "&&", "XINT", "(", "XEXP", "(", "vec", ",", "1", ")", ",", "1", ")", "==", "UNSPEC_SET_GOT", "&&", "REGNO", "(", "XEXP", "(", "vec", ",", "0", ")", ")", "==", "REGNO", "(", "reg", ")", ")", "delete_insn", "(", "c_insn", ")", ";", "}", "}", "}", ""], "natrual_language": ["Delete", "SET_GOT", "right", "after", "entry", "block", "if", "it", "is", "allocated", "to", "reg", "."], "TS_V_token": ["i386", "0", "0", "1", "1", "0"], "File": "i386", "Func": "ix86_elim_entry_set_got", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19025, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_expand_sse_comi", "(", "const", "struct", "builtin_description", "*", "d", ",", "tree", "exp", ",", "rtx", "target", ")", "{", "rtx", "pat", ",", "set_dst", ";", "tree", "arg0", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "tree", "arg1", "=", "CALL_EXPR_ARG", "(", "exp", ",", "1", ")", ";", "rtx", "op0", "=", "expand_normal", "(", "arg0", ")", ";", "rtx", "op1", "=", "expand_normal", "(", "arg1", ")", ";", "enum", "insn_code", "icode", "=", "d", "->", "icode", ";", "const", "struct", "insn_data_d", "*", "insn_p", "=", "&", "insn_data", "[", "icode", "]", ";", "machine_mode", "mode0", "=", "insn_p", "->", "operand", "[", "0", "]", ".", "mode", ";", "machine_mode", "mode1", "=", "insn_p", "->", "operand", "[", "1", "]", ".", "mode", ";", "if", "(", "VECTOR_MODE_P", "(", "mode0", ")", ")", "op0", "=", "safe_vector_operand", "(", "op0", ",", "mode0", ")", ";", "if", "(", "VECTOR_MODE_P", "(", "mode1", ")", ")", "op1", "=", "safe_vector_operand", "(", "op1", ",", "mode1", ")", ";", "enum", "rtx_code", "comparison", "=", "d", "->", "comparison", ";", "rtx", "const_val", "=", "const0_rtx", ";", "bool", "check_unordered", "=", "false", ";", "machine_mode", "mode", "=", "CCFPmode", ";", "switch", "(", "comparison", ")", "{", "case", "LE", ":", "case", "LT", ":", "std", "::", "swap", "(", "op0", ",", "op1", ")", ";", "comparison", "=", "swap_condition", "(", "comparison", ")", ";", "case", "GT", ":", "case", "GE", ":", "break", ";", "case", "EQ", ":", "check_unordered", "=", "true", ";", "mode", "=", "CCZmode", ";", "break", ";", "case", "NE", ":", "check_unordered", "=", "true", ";", "mode", "=", "CCZmode", ";", "const_val", "=", "const1_rtx", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "target", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_move_insn", "(", "target", ",", "const_val", ")", ";", "target", "=", "gen_rtx_SUBREG", "(", "QImode", ",", "target", ",", "0", ")", ";", "if", "(", "(", "optimize", "&&", "!", "register_operand", "(", "op0", ",", "mode0", ")", ")", "||", "!", "insn_p", "->", "operand", "[", "0", "]", ".", "predicate", "(", "op0", ",", "mode0", ")", ")", "op0", "=", "copy_to_mode_reg", "(", "mode0", ",", "op0", ")", ";", "if", "(", "(", "optimize", "&&", "!", "register_operand", "(", "op1", ",", "mode1", ")", ")", "||", "!", "insn_p", "->", "operand", "[", "1", "]", ".", "predicate", "(", "op1", ",", "mode1", ")", ")", "op1", "=", "copy_to_mode_reg", "(", "mode1", ",", "op1", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op0", ",", "op1", ")", ";", "if", "(", "!", "pat", ")", "return", "0", ";", "set_dst", "=", "SET_DEST", "(", "pat", ")", ";", "emit_insn", "(", "pat", ")", ";", "return", "ix86_ssecom_setcc", "(", "comparison", ",", "check_unordered", ",", "mode", ",", "set_dst", ",", "target", ")", ";", "}", ""], "natrual_language": ["Subroutine", "of", "ix86_expand_builtin", "to", "take", "care", "of", "comi", "insns", "."], "TS_V_token": ["i386", "0", "1", "0", "1", "0", "0", "1", "0"], "File": "i386-expand1", "Func": "ix86_expand_sse_comi", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19026, "Length": 377, "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": 19027, "Length": 425, "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_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", "5", "20"], "File": "sh", "Func": "multcosts", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19028, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "ARMBaseInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMTargetMachine32", "Func": "getInstrInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19029, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "add_constant", "(", "struct", "mips16_constant_pool", "*", "pool", ",", "rtx", "value", ",", "enum", "machine_mode", "mode", ")", "{", "struct", "mips16_constant", "*", "*", "p", ",", "*", "c", ";", "bool", "first_of_size_p", ";", "first_of_size_p", "=", "true", ";", "for", "(", "p", "=", "&", "pool", "->", "first", ";", "*", "p", "!=", "0", ";", "p", "=", "&", "(", "*", "p", ")", "->", "next", ")", "{", "if", "(", "mode", "==", "(", "*", "p", ")", "->", "mode", "&&", "rtx_equal_p", "(", "value", ",", "(", "*", "p", ")", "->", "value", ")", ")", "return", "(", "*", "p", ")", "->", "label", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "<", "GET_MODE_SIZE", "(", "(", "*", "p", ")", "->", "mode", ")", ")", "break", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "GET_MODE_SIZE", "(", "(", "*", "p", ")", "->", "mode", ")", ")", "first_of_size_p", "=", "false", ";", "}", "if", "(", "pool", "->", "first", "==", "0", ")", "pool", "->", "highest_address", "=", "pool", "->", "insn_address", "-", "(", "UNITS_PER_WORD", "-", "2", ")", "+", "0x8000", ";", "pool", "->", "highest_address", "-=", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "first_of_size_p", ")", "pool", "->", "highest_address", "-=", "GET_MODE_SIZE", "(", "mode", ")", "-", "1", ";", "c", "=", "(", "struct", "mips16_constant", "*", ")", "xmalloc", "(", "sizeof", "*", "c", ")", ";", "c", "->", "value", "=", "value", ";", "c", "->", "mode", "=", "mode", ";", "c", "->", "label", "=", "gen_label_rtx", "(", ")", ";", "c", "->", "next", "=", "*", "p", ";", "*", "p", "=", "c", ";", "return", "c", "->", "label", ";", "}", ""], "natrual_language": ["Add", "a", "constant", "to", "the", "pool", "and", "return", "its", "label", "."], "TS_V_token": ["mips", "0", "0", "2", "0x8000", "1"], "File": "mips3", "Func": "add_constant", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19030, "Length": 230, "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": ["MMIX"], "File": "MMIXTargetMachine", "Func": "getObjFileLowering", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19031, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "get_csky_barrier_cost", "(", "rtx_insn", "*", "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": ["csky", "50", "20", "50", "10", "10"], "File": "csky", "Func": "get_csky_barrier_cost", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19032, "Length": 79, "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": ["LC3"], "File": "LC3AsmBackend", "Func": "fixupNeedsRelaxation", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19033, "Length": 28, "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", ")", ";", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "X86", "target", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86TargetMachine30", "Func": "X86TargetMachine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19034, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_hard_regno_mode_ok", "(", "int", "regno", ",", "machine_mode", "mode", ")", "{", "int", "last_regno", "=", "regno", "+", "rs6000_hard_regno_nregs", "[", "mode", "]", "[", "regno", "]", "-", "1", ";", "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", "&&", "GET_MODE_SIZE", "(", "mode", ")", "==", "UNITS_PER_FP_WORD", ")", "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": ["rs6000", "1", "1", "0", "16", "0", "2", "0", "1", "1", "1", "0", "1"], "File": "rs60005", "Func": "rs6000_hard_regno_mode_ok", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19035, "Length": 333, "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", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "TLOF", "(", "createTLOF", "(", "Triple", "(", "getTargetTriple", "(", ")", ")", ")", ")", ",", "DL", "(", "computeDataLayout", "(", "Triple", "(", "TT", ")", ")", ")", ",", "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": "X86TargetMachine39", "Func": "X86TargetMachine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19036, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "SparcMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "SparcMachineFunctionInfo", ">", "(", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "SparcInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "SparcInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "int", "NumBytes", "=", "(", "int", ")", "MFI", "->", "getStackSize", "(", ")", ";", "unsigned", "SAVEri", "=", "SP", "::", "SAVEri", ";", "unsigned", "SAVErr", "=", "SP", "::", "SAVErr", ";", "if", "(", "FuncInfo", "->", "isLeafProc", "(", ")", ")", "{", "if", "(", "NumBytes", "==", "0", ")", "return", ";", "SAVEri", "=", "SP", "::", "ADDri", ";", "SAVErr", "=", "SP", "::", "ADDrr", ";", "}", "NumBytes", "=", "-", "SubTarget", ".", "getAdjustedFrameSize", "(", "NumBytes", ")", ";", "emitSPAdjustment", "(", "MF", ",", "MBB", ",", "MBBI", ",", "NumBytes", ",", "SAVErr", ",", "SAVEri", ")", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "MCRegisterInfo", "*", "MRI", "=", "MMI", ".", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MCSymbol", "*", "FrameLabel", "=", "MMI", ".", "getContext", "(", ")", ".", "CreateTempSymbol", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "PROLOG_LABEL", ")", ")", ".", "addSym", "(", "FrameLabel", ")", ";", "unsigned", "regFP", "=", "MRI", "->", "getDwarfRegNum", "(", "SP", "::", "I6", ",", "true", ")", ";", "MMI", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createDefCfaRegister", "(", "FrameLabel", ",", "regFP", ")", ")", ";", "MMI", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createWindowSave", "(", "FrameLabel", ")", ")", ";", "unsigned", "regInRA", "=", "MRI", "->", "getDwarfRegNum", "(", "SP", "::", "I7", ",", "true", ")", ";", "unsigned", "regOutRA", "=", "MRI", "->", "getDwarfRegNum", "(", "SP", "::", "O7", ",", "true", ")", ";", "MMI", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createRegister", "(", "FrameLabel", ",", "regOutRA", ",", "regInRA", ")", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "SP::SAVEri", "SP::SAVErr", "0", "SP::ADDri", "SP::ADDrr", "SP", "SP::PROLOG_LABEL", "SP::I6", "SP::I7", "SP::O7"], "File": "SparcFrameLowering44", "Func": "emitPrologue", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19037, "Length": 328, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "processInstruction", "(", "MCInst", "&", "Inst", ",", "SMLoc", "IDLoc", ",", "SmallVectorImpl", "<", "MCInst", ">", "&", "Instructions", ")", "{", "const", "MCInstrDesc", "&", "MCID", "=", "getInstDesc", "(", "Inst", ".", "getOpcode", "(", ")", ")", ";", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "if", "(", "MCID", ".", "hasDelaySlot", "(", ")", "&&", "Options", ".", "isReorder", "(", ")", ")", "{", "Instructions", ".", "push_back", "(", "Inst", ")", ";", "MCInst", "NopInst", ";", "NopInst", ".", "setOpcode", "(", "Mips", "::", "SLL", ")", ";", "NopInst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "Mips", "::", "ZERO", ")", ")", ";", "NopInst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "Mips", "::", "ZERO", ")", ")", ";", "NopInst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "0", ")", ")", ";", "Instructions", ".", "push_back", "(", "NopInst", ")", ";", "return", "false", ";", "}", "if", "(", "MCID", ".", "mayLoad", "(", ")", "||", "MCID", ".", "mayStore", "(", ")", ")", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "MCID", ".", "getNumOperands", "(", ")", ";", "i", "++", ")", "{", "const", "MCOperandInfo", "&", "OpInfo", "=", "MCID", ".", "OpInfo", "[", "i", "]", ";", "if", "(", "(", "OpInfo", ".", "OperandType", "==", "MCOI", "::", "OPERAND_MEMORY", ")", "||", "(", "OpInfo", ".", "OperandType", "==", "MCOI", "::", "OPERAND_UNKNOWN", ")", ")", "{", "MCOperand", "&", "Op", "=", "Inst", ".", "getOperand", "(", "i", ")", ";", "if", "(", "Op", ".", "isImm", "(", ")", ")", "{", "int", "MemOffset", "=", "Op", ".", "getImm", "(", ")", ";", "if", "(", "MemOffset", "<", "-", "32768", "||", "MemOffset", ">", "32767", ")", "{", "expandMemInst", "(", "Inst", ",", "IDLoc", ",", "Instructions", ",", "MCID", ".", "mayLoad", "(", ")", ",", "true", ")", ";", "return", "false", ";", "}", "}", "else", "if", "(", "Op", ".", "isExpr", "(", ")", ")", "{", "const", "MCExpr", "*", "Expr", "=", "Op", ".", "getExpr", "(", ")", ";", "if", "(", "Expr", "->", "getKind", "(", ")", "==", "MCExpr", "::", "SymbolRef", ")", "{", "const", "MCSymbolRefExpr", "*", "SR", "=", "static_cast", "<", "const", "MCSymbolRefExpr", "*", ">", "(", "Expr", ")", ";", "if", "(", "SR", "->", "getKind", "(", ")", "==", "MCSymbolRefExpr", "::", "VK_None", ")", "{", "expandMemInst", "(", "Inst", ",", "IDLoc", ",", "Instructions", ",", "MCID", ".", "mayLoad", "(", ")", ",", "false", ")", ";", "return", "false", ";", "}", "}", "else", "if", "(", "!", "isEvaluated", "(", "Expr", ")", ")", "{", "expandMemInst", "(", "Inst", ",", "IDLoc", ",", "Instructions", ",", "MCID", ".", "mayLoad", "(", ")", ",", "false", ")", ";", "return", "false", ";", "}", "}", "}", "}", "}", "if", "(", "needsExpansion", "(", "Inst", ")", ")", "expandInstruction", "(", "Inst", ",", "IDLoc", ",", "Instructions", ")", ";", "else", "Instructions", ".", "push_back", "(", "Inst", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Process", "a", "single", "instruction", "and", "collect", "debug", "info", "anchors", "."], "TS_V_token": ["Mips", "Mips", "Mips::SLL", "Mips::ZERO", "Mips::ZERO", "0", "0", "32768", "32767"], "File": "MipsAsmParser102", "Func": "processInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19038, "Length": 405, "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", ">", "(", ")", ";", "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": "ARMExpandPseudoInsts (2)", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19039, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_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", ",", "fp_saved", ";", "local_cum", "=", "*", "get_cumulative_args", "(", "cum", ")", ";", "if", "(", "!", "TYPE_NO_NAMED_ARGS_STDARG_P", "(", "TREE_TYPE", "(", "current_function_decl", ")", ")", ")", "mips_function_arg_advance", "(", "pack_cumulative_args", "(", "&", "local_cum", ")", ",", "arg", ")", ";", "gp_saved", "=", "MAX_ARGS_IN_REGISTERS", "-", "local_cum", ".", "num_gprs", ";", "fp_saved", "=", "(", "EABI_FLOAT_VARARGS_P", "?", "MAX_ARGS_IN_REGISTERS", "-", "local_cum", ".", "num_fprs", ":", "0", ")", ";", "if", "(", "!", "no_rtl", ")", "{", "if", "(", "gp_saved", ">", "0", ")", "{", "rtx", "ptr", ",", "mem", ";", "ptr", "=", "plus_constant", "(", "Pmode", ",", "virtual_incoming_args_rtx", ",", "REG_PARM_STACK_SPACE", "(", "cfun", "->", "decl", ")", "-", "gp_saved", "*", "UNITS_PER_WORD", ")", ";", "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", "(", "fp_saved", ">", "0", ")", "{", "machine_mode", "mode", ";", "int", "off", ",", "i", ";", "off", "=", "ROUND_DOWN", "(", "-", "gp_saved", "*", "UNITS_PER_WORD", ",", "UNITS_PER_FPVALUE", ")", ";", "off", "-=", "fp_saved", "*", "UNITS_PER_FPREG", ";", "mode", "=", "TARGET_SINGLE_FLOAT", "?", "SFmode", ":", "DFmode", ";", "for", "(", "i", "=", "local_cum", ".", "num_fprs", ";", "i", "<", "MAX_ARGS_IN_REGISTERS", ";", "i", "+=", "MAX_FPRS_PER_FMT", ")", "{", "rtx", "ptr", ",", "mem", ";", "ptr", "=", "plus_constant", "(", "Pmode", ",", "virtual_incoming_args_rtx", ",", "off", ")", ";", "mem", "=", "gen_frame_mem", "(", "mode", ",", "ptr", ")", ";", "set_mem_alias_set", "(", "mem", ",", "get_varargs_alias_set", "(", ")", ")", ";", "mips_emit_move", "(", "mem", ",", "gen_rtx_REG", "(", "mode", ",", "FP_ARG_FIRST", "+", "i", ")", ")", ";", "off", "+=", "UNITS_PER_HWFPVALUE", ";", "}", "}", "}", "if", "(", "REG_PARM_STACK_SPACE", "(", "cfun", "->", "decl", ")", "==", "0", ")", "cfun", "->", "machine", "->", "varargs_size", "=", "(", "gp_saved", "*", "UNITS_PER_WORD", "+", "fp_saved", "*", "UNITS_PER_FPREG", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["mips", "0", "0", "0", "0"], "File": "mips1", "Func": "mips_setup_incoming_varargs", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19040, "Length": 292, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "i386_pe_mark_dllimport", "(", "tree", "decl", ")", "{", "const", "char", "*", "oldname", ";", "char", "*", "newname", ";", "tree", "idp", ";", "rtx", "rtlname", ",", "newrtl", ";", "rtx", "symref", ";", "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", ")", ";", "if", "(", "i386_pe_dllexport_name_p", "(", "oldname", ")", ")", "{", "error", "(", "\"%qs declared as both exported to and imported from a DLL\"", ",", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "decl", ")", ")", ")", ";", "return", ";", "}", "else", "if", "(", "i386_pe_dllimport_name_p", "(", "oldname", ")", ")", "{", "gcc_assert", "(", "DECL_EXTERNAL", "(", "decl", ")", "&&", "TREE_PUBLIC", "(", "decl", ")", "&&", "DECL_DLLIMPORT_P", "(", "decl", ")", ")", ";", "return", ";", "}", "newname", "=", "alloca", "(", "strlen", "(", "DLL_IMPORT_PREFIX", ")", "+", "strlen", "(", "oldname", ")", "+", "1", ")", ";", "sprintf", "(", "newname", ",", "\"%s%s\"", ",", "DLL_IMPORT_PREFIX", ",", "oldname", ")", ";", "idp", "=", "get_identifier", "(", "newname", ")", ";", "symref", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "IDENTIFIER_POINTER", "(", "idp", ")", ")", ";", "SYMBOL_REF_DECL", "(", "symref", ")", "=", "decl", ";", "newrtl", "=", "gen_rtx_MEM", "(", "Pmode", ",", "symref", ")", ";", "XEXP", "(", "DECL_RTL", "(", "decl", ")", ",", "0", ")", "=", "newrtl", ";", "DECL_DLLIMPORT_P", "(", "decl", ")", "=", "1", ";", "}", ""], "natrual_language": ["Mark", "a", "DECL", "as", "being", "dllimport", "'d", "."], "TS_V_token": ["i386", "0", "0", "0", "\"%qs declared as both exported to and imported from a DLL\"", "1", "\"%s%s\"", "0", "1"], "File": "winnt3", "Func": "i386_pe_mark_dllimport", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19041, "Length": 214, "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": 19042, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPreAllocLoadStoreOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "TD", "=", "Fn", ".", "getTarget", "(", ")", ".", "getDataLayout", "(", ")", ";", "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": "ARMLoadStoreOptimizer16", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19043, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "ARMBaseInstrInfo", "::", "insertOutlinedCall", "(", "Module", "&", "M", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "It", ",", "MachineFunction", "&", "MF", ",", "const", "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": "ARMBaseInstrInfo128", "Func": "insertOutlinedCall", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19044, "Length": 460, "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", ")", "{", "assert", "(", "(", "isThumb", "(", ")", "||", "hasARMOps", "(", ")", ")", "&&", "\"Target must either be thumb or support ARM operations!\"", ")", ";", "GISelAccessor", "*", "GISel", "=", "new", "GISelAccessor", "(", ")", ";", "ARMGISelActualAccessor", "*", "GISel", "=", "new", "ARMGISelActualAccessor", "(", ")", ";", "GISel", "->", "CallLoweringInfo", ".", "reset", "(", "new", "ARMCallLowering", "(", "*", "getTargetLowering", "(", ")", ")", ")", ";", "GISel", "->", "Legalizer", ".", "reset", "(", "new", "ARMLegalizerInfo", "(", "*", "this", ")", ")", ";", "auto", "*", "RBI", "=", "new", "ARMRegisterBankInfo", "(", "*", "getRegisterInfo", "(", ")", ")", ";", "GISel", "->", "InstSelector", ".", "reset", "(", "createARMInstructionSelector", "(", "*", "static_cast", "<", "const", "ARMBaseTargetMachine", "*", ">", "(", "&", "TM", ")", ",", "*", "this", ",", "*", "RBI", ")", ")", ";", "GISel", "->", "RegBankInfo", ".", "reset", "(", "RBI", ")", ";", "setGISelAccessor", "(", "*", "GISel", ")", ";", "}", ""], "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", "ARM", "\"Target must either be thumb or support ARM operations!\"", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM"], "File": "ARMSubtarget51", "Func": "ARMSubtarget", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19045, "Length": 256, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "extract_base_offset_in_addr", "(", "rtx", "mem", ",", "rtx", "*", "base", ",", "rtx", "*", "offset", ")", "{", "rtx", "addr", ";", "gcc_assert", "(", "MEM_P", "(", "mem", ")", ")", ";", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "if", "(", "REG_P", "(", "addr", ")", ")", "{", "*", "base", "=", "addr", ";", "*", "offset", "=", "const0_rtx", ";", "return", "true", ";", "}", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "addr", ",", "1", ")", ")", ")", "{", "*", "base", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "*", "offset", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "return", "true", ";", "}", "*", "base", "=", "NULL_RTX", ";", "*", "offset", "=", "NULL_RTX", ";", "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": ["aarch64", "0", "0", "1", "0", "1"], "File": "aarch64", "Func": "extract_base_offset_in_addr", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19046, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_function_specific_restore", "(", "struct", "gcc_options", "*", "opts", ",", "struct", "gcc_options", "*", ",", "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": ["rs6000"], "File": "rs6000", "Func": "rs6000_function_specific_restore", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19047, "Length": 44, "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": 19048, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_asm_function_prologue", "(", "FILE", "*", "file", ")", "{", "int", "r", ";", "const", "char", "*", "func_name", ";", "tree", "attrs", ";", "tree", "name", ";", "fprintf", "(", "file", ",", "\"\\t! BEGIN PROLOGUE\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\t! fp needed: %d\\n\"", ",", "frame_pointer_needed", ")", ";", "fprintf", "(", "file", ",", "\"\\t! pretend_args: %d\\n\"", ",", "cfun", "->", "machine", "->", "va_args_size", ")", ";", "fprintf", "(", "file", ",", "\"\\t! local_size: %d\\n\"", ",", "cfun", "->", "machine", "->", "local_size", ")", ";", "fprintf", "(", "file", ",", "\"\\t! out_args_size: %d\\n\"", ",", "cfun", "->", "machine", "->", "out_args_size", ")", ";", "fprintf", "(", "file", ",", "\"\\t! registers ever_live: \"", ")", ";", "for", "(", "r", "=", "0", ";", "r", "<", "65", ";", "r", "++", ")", "{", "if", "(", "df_regs_ever_live_p", "(", "r", ")", ")", "fprintf", "(", "file", ",", "\"%s, \"", ",", "reg_names", "[", "r", "]", ")", ";", "}", "fputc", "(", "'\\n'", ",", "file", ")", ";", "fprintf", "(", "file", ",", "\"\\t! function attributes: \"", ")", ";", "attrs", "=", "DECL_ATTRIBUTES", "(", "current_function_decl", ")", ";", "if", "(", "!", "attrs", ")", "fprintf", "(", "file", ",", "\"None\"", ")", ";", "func_name", "=", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "current_function_decl", ")", ")", ";", "nds32_construct_isr_vectors_information", "(", "attrs", ",", "func_name", ")", ";", "while", "(", "attrs", ")", "{", "name", "=", "TREE_PURPOSE", "(", "attrs", ")", ";", "fprintf", "(", "file", ",", "\"%s \"", ",", "IDENTIFIER_POINTER", "(", "name", ")", ")", ";", "attrs", "=", "TREE_CHAIN", "(", "attrs", ")", ";", "}", "fputc", "(", "'\\n'", ",", "file", ")", ";", "}", ""], "natrual_language": ["The", "content", "produced", "from", "this", "function", "will", "be", "placed", "before", "prologue", "body", "."], "TS_V_token": ["nds32", "\"\\t! BEGIN PROLOGUE\\n\"", "\"\\t! fp needed: %d\\n\"", "\"\\t! pretend_args: %d\\n\"", "\"\\t! local_size: %d\\n\"", "\"\\t! out_args_size: %d\\n\"", "\"\\t! registers ever_live: \"", "0", "65", "\"%s, \"", "\"\\t! function attributes: \"", "\"None\"", "\"%s \""], "File": "nds32", "Func": "nds32_asm_function_prologue", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19049, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "OR1KRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["OR1K", "OR1K"], "File": "OR1KInstrInfo1", "Func": "getRegisterInfo", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19050, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "make_var_decl", "(", "tree", "type", ",", "const", "char", "*", "name", ")", "{", "tree", "new_decl", ";", "new_decl", "=", "build_decl", "(", "UNKNOWN_LOCATION", ",", "VAR_DECL", ",", "get_identifier", "(", "name", ")", ",", "type", ")", ";", "DECL_EXTERNAL", "(", "new_decl", ")", "=", "1", ";", "TREE_STATIC", "(", "new_decl", ")", "=", "1", ";", "TREE_PUBLIC", "(", "new_decl", ")", "=", "1", ";", "DECL_INITIAL", "(", "new_decl", ")", "=", "0", ";", "DECL_ARTIFICIAL", "(", "new_decl", ")", "=", "0", ";", "DECL_PRESERVE_P", "(", "new_decl", ")", "=", "1", ";", "make_decl_one_only", "(", "new_decl", ",", "DECL_ASSEMBLER_NAME", "(", "new_decl", ")", ")", ";", "assemble_variable", "(", "new_decl", ",", "0", ",", "0", ",", "0", ")", ";", "return", "new_decl", ";", "}", ""], "natrual_language": ["Returns", "a", "extern", ",", "comdat", "VAR_DECL", "of", "type", "TYPE", "and", "name", "NAME", "."], "TS_V_token": ["i386", "1", "1", "1", "0", "0", "1", "0", "0", "0"], "File": "i386-builtins", "Func": "make_var_decl", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19051, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "SparcRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "SparcSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "SparcSubtarget", ">", "(", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "G1", ")", ";", "if", "(", "ReserveAppRegisters", ")", "{", "Reserved", ".", "set", "(", "SP", "::", "G2", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "G3", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "G4", ")", ";", "}", "if", "(", "!", "Subtarget", ".", "is64Bit", "(", ")", ")", "Reserved", ".", "set", "(", "SP", "::", "G5", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "O6", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "I6", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "I7", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "G0", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "G6", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "G7", ")", ";", "if", "(", "!", "Subtarget", ".", "isV9", "(", ")", ")", "{", "for", "(", "unsigned", "n", "=", "0", ";", "n", "!=", "16", ";", "++", "n", ")", "{", "for", "(", "MCRegAliasIterator", "AI", "(", "SP", "::", "D16", "+", "n", ",", "this", ",", "true", ")", ";", "AI", ".", "isValid", "(", ")", ";", "++", "AI", ")", "Reserved", ".", "set", "(", "*", "AI", ")", ";", "}", "}", "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", "Sparc", "Sparc", "SP::G1", "SP::G2", "SP::G3", "SP::G4", "SP::G5", "SP::O6", "SP::I6", "SP::I7", "SP::G0", "SP::G6", "SP::G7", "0", "16", "SP::D16"], "File": "SparcRegisterInfo30", "Func": "getReservedRegs", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19052, "Length": 212, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "UPTInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "StringRef", "(", "getRegisterName", "(", "RegNo", ")", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["UPT", "UPT"], "File": "UPTInstPrinter", "Func": "printRegName", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19053, "Length": 25, "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": 19054, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "mips_msa_output_division", "(", "const", "char", "*", "division", ",", "rtx", "*", "operands", ")", "{", "const", "char", "*", "s", ";", "s", "=", "division", ";", "if", "(", "TARGET_CHECK_ZERO_DIV", ")", "{", "output_asm_insn", "(", "\"%(bnz.%v0\\t%w2,1f\"", ",", "operands", ")", ";", "output_asm_insn", "(", "s", ",", "operands", ")", ";", "s", "=", "\"break\\t7%)\\n1:\"", ";", "}", "return", "s", ";", "}", ""], "natrual_language": ["Return", "the", "assembly", "code", "for", "MSA", "DIV_", "{", "S", ",", "U", "}", ".DF", "or", "MOD_", "{", "S", ",", "U", "}", ".DF", "instructions", ",", "which", "has", "the", "operands", "given", "by", "OPERANDS", ".", "Add", "in", "a", "divide-by-zero", "check", "if", "needed", "."], "TS_V_token": ["mips", "\"%(bnz.%v0\\t%w2,1f\"", "\"break\\t7%)\\n1:\""], "File": "mips", "Func": "mips_msa_output_division", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19055, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineLoopInfo", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachinePostDominatorTree", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineLoopInfo", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["Mips"], "File": "CheriAddressingModeFolder", "Func": "getAnalysisUsage", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19056, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "X86Subtarget", "::", "classifyLocalReference", "(", "const", "GlobalValue", "*", "GV", ")", "const", "{", "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", "<", "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_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": "X86Subtarget (2)3", "Func": "classifyLocalReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19057, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "AU", ".", "addRequired", "<", "MachineBranchProbabilityInfo", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["X86"], "File": "X86CondBrFolding", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19058, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_pragma_target_parse", "(", "tree", "args", ",", "tree", "pop_target", ")", "{", "tree", "prev_tree", "=", "build_target_option_node", "(", "&", "global_options", ",", "&", "global_options_set", ")", ";", "tree", "cur_tree", ";", "struct", "cl_target_option", "*", "prev_opt", ";", "struct", "cl_target_option", "*", "cur_opt", ";", "HOST_WIDE_INT", "prev_isa", ";", "HOST_WIDE_INT", "cur_isa", ";", "HOST_WIDE_INT", "diff_isa", ";", "HOST_WIDE_INT", "prev_isa2", ";", "HOST_WIDE_INT", "cur_isa2", ";", "HOST_WIDE_INT", "diff_isa2", ";", "enum", "processor_type", "prev_arch", ";", "enum", "processor_type", "prev_tune", ";", "enum", "processor_type", "cur_arch", ";", "enum", "processor_type", "cur_tune", ";", "if", "(", "!", "args", ")", "{", "cur_tree", "=", "(", "pop_target", "?", "pop_target", ":", "target_option_default_node", ")", ";", "cl_target_option_restore", "(", "&", "global_options", ",", "&", "global_options_set", ",", "TREE_TARGET_OPTION", "(", "cur_tree", ")", ")", ";", "}", "else", "{", "cur_tree", "=", "ix86_valid_target_attribute_tree", "(", "NULL_TREE", ",", "args", ",", "&", "global_options", ",", "&", "global_options_set", ",", "0", ")", ";", "if", "(", "!", "cur_tree", "||", "cur_tree", "==", "error_mark_node", ")", "{", "cl_target_option_restore", "(", "&", "global_options", ",", "&", "global_options_set", ",", "TREE_TARGET_OPTION", "(", "prev_tree", ")", ")", ";", "return", "false", ";", "}", "}", "target_option_current_node", "=", "cur_tree", ";", "ix86_reset_previous_fndecl", "(", ")", ";", "prev_opt", "=", "TREE_TARGET_OPTION", "(", "prev_tree", ")", ";", "cur_opt", "=", "TREE_TARGET_OPTION", "(", "cur_tree", ")", ";", "prev_isa", "=", "prev_opt", "->", "x_ix86_isa_flags", ";", "cur_isa", "=", "cur_opt", "->", "x_ix86_isa_flags", ";", "diff_isa", "=", "(", "prev_isa", "^", "cur_isa", ")", ";", "prev_isa2", "=", "prev_opt", "->", "x_ix86_isa_flags2", ";", "cur_isa2", "=", "cur_opt", "->", "x_ix86_isa_flags2", ";", "diff_isa2", "=", "(", "prev_isa2", "^", "cur_isa2", ")", ";", "prev_arch", "=", "(", "enum", "processor_type", ")", "prev_opt", "->", "arch", ";", "prev_tune", "=", "(", "enum", "processor_type", ")", "prev_opt", "->", "tune", ";", "cur_arch", "=", "(", "enum", "processor_type", ")", "cur_opt", "->", "arch", ";", "cur_tune", "=", "(", "enum", "processor_type", ")", "cur_opt", "->", "tune", ";", "if", "(", "cur_arch", "==", "prev_arch", ")", "cur_arch", "=", "prev_arch", "=", "PROCESSOR_max", ";", "if", "(", "cur_tune", "==", "prev_tune", ")", "cur_tune", "=", "prev_tune", "=", "PROCESSOR_max", ";", "cpp_force_token_locations", "(", "parse_in", ",", "BUILTINS_LOCATION", ")", ";", "ix86_target_macros_internal", "(", "prev_isa", "&", "diff_isa", ",", "prev_isa2", "&", "diff_isa2", ",", "prev_arch", ",", "prev_tune", ",", "(", "enum", "fpmath_unit", ")", "prev_opt", "->", "x_ix86_fpmath", ",", "cpp_undef", ")", ";", "cpp_stop_forcing_token_locations", "(", "parse_in", ")", ";", "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", ";", "cpp_force_token_locations", "(", "parse_in", ",", "BUILTINS_LOCATION", ")", ";", "ix86_target_macros_internal", "(", "cur_isa", "&", "diff_isa", ",", "cur_isa2", "&", "diff_isa2", ",", "cur_arch", ",", "cur_tune", ",", "(", "enum", "fpmath_unit", ")", "cur_opt", "->", "x_ix86_fpmath", ",", "cpp_define", ")", ";", "cpp_stop_forcing_token_locations", "(", "parse_in", ")", ";", "cpp_opts", "->", "warn_unused_macros", "=", "saved_warn_unused_macros", ";", "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": ["i386", "0", "0"], "File": "i386-c", "Func": "ix86_pragma_target_parse", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19059, "Length": 382, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CSKYFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["CSKY", "CSKY"], "File": "CSKYFrameLowering", "Func": "emitPrologue", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19060, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SystemZSelectionDAGInfo", "::", "EmitTargetCodeForMemset", "(", "SelectionDAG", "&", "DAG", ",", "SDLoc", "DL", ",", "SDValue", "Chain", ",", "SDValue", "Dst", ",", "SDValue", "Byte", ",", "SDValue", "Size", ",", "unsigned", "Align", ",", "bool", "IsVolatile", ",", "MachinePointerInfo", "DstPtrInfo", ")", "const", "{", "EVT", "DstVT", "=", "Dst", ".", "getValueType", "(", ")", ";", "if", "(", "IsVolatile", ")", "return", "SDValue", "(", ")", ";", "if", "(", "ConstantSDNode", "*", "CSize", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Size", ")", ")", "{", "uint64_t", "Bytes", "=", "CSize", "->", "getZExtValue", "(", ")", ";", "if", "(", "Bytes", "==", "0", ")", "return", "SDValue", "(", ")", ";", "if", "(", "ConstantSDNode", "*", "CByte", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Byte", ")", ")", "{", "uint64_t", "ByteVal", "=", "CByte", "->", "getZExtValue", "(", ")", ";", "if", "(", "ByteVal", "==", "0", "||", "ByteVal", "==", "255", "?", "Bytes", "<=", "16", "&&", "CountPopulation_64", "(", "Bytes", ")", "<=", "2", ":", "Bytes", "<=", "4", ")", "{", "unsigned", "Size1", "=", "Bytes", "==", "16", "?", "8", ":", "1", "<<", "findLastSet", "(", "Bytes", ")", ";", "unsigned", "Size2", "=", "Bytes", "-", "Size1", ";", "SDValue", "Chain1", "=", "memsetStore", "(", "DAG", ",", "DL", ",", "Chain", ",", "Dst", ",", "ByteVal", ",", "Size1", ",", "Align", ",", "DstPtrInfo", ")", ";", "if", "(", "Size2", "==", "0", ")", "return", "Chain1", ";", "Dst", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ADD", ",", "DL", ",", "DstVT", ",", "Dst", ",", "DAG", ".", "getConstant", "(", "Size1", ",", "DstVT", ")", ")", ";", "DstPtrInfo", "=", "DstPtrInfo", ".", "getWithOffset", "(", "Size1", ")", ";", "SDValue", "Chain2", "=", "memsetStore", "(", "DAG", ",", "DL", ",", "Chain", ",", "Dst", ",", "ByteVal", ",", "Size2", ",", "std", "::", "min", "(", "Align", ",", "Size1", ")", ",", "DstPtrInfo", ")", ";", "return", "DAG", ".", "getNode", "(", "ISD", "::", "TokenFactor", ",", "DL", ",", "MVT", "::", "Other", ",", "Chain1", ",", "Chain2", ")", ";", "}", "}", "else", "{", "if", "(", "Bytes", "<=", "2", ")", "{", "SDValue", "Chain1", "=", "DAG", ".", "getStore", "(", "Chain", ",", "DL", ",", "Byte", ",", "Dst", ",", "DstPtrInfo", ",", "false", ",", "false", ",", "Align", ")", ";", "if", "(", "Bytes", "==", "1", ")", "return", "Chain1", ";", "SDValue", "Dst2", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ADD", ",", "DL", ",", "DstVT", ",", "Dst", ",", "DAG", ".", "getConstant", "(", "1", ",", "DstVT", ")", ")", ";", "SDValue", "Chain2", "=", "DAG", ".", "getStore", "(", "Chain", ",", "DL", ",", "Byte", ",", "Dst2", ",", "DstPtrInfo", ".", "getWithOffset", "(", "1", ")", ",", "false", ",", "false", ",", "1", ")", ";", "return", "DAG", ".", "getNode", "(", "ISD", "::", "TokenFactor", ",", "DL", ",", "MVT", "::", "Other", ",", "Chain1", ",", "Chain2", ")", ";", "}", "}", "assert", "(", "Bytes", ">=", "2", "&&", "\"Should have dealt with 0- and 1-byte cases already\"", ")", ";", "if", "(", "Bytes", "<=", "0x101", ")", "{", "Chain", "=", "DAG", ".", "getStore", "(", "Chain", ",", "DL", ",", "Byte", ",", "Dst", ",", "DstPtrInfo", ",", "false", ",", "false", ",", "Align", ")", ";", "SDValue", "Dst2", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ADD", ",", "DL", ",", "DstVT", ",", "Dst", ",", "DAG", ".", "getConstant", "(", "1", ",", "DstVT", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "SystemZISD", "::", "MVC", ",", "DL", ",", "MVT", "::", "Other", ",", "Chain", ",", "Dst2", ",", "Dst", ",", "DAG", ".", "getConstant", "(", "Bytes", "-", "1", ",", "MVT", "::", "i32", ")", ")", ";", "}", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memset", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "0", "255", "16", "2", "4", "16", "8", "1", "0", "ISD::ADD", "ISD::TokenFactor", "MVT::Other", "2", "1", "ISD::ADD", "1", "1", "1", "ISD::TokenFactor", "MVT::Other", "2", "\"Should have dealt with 0- and 1-byte cases already\"", "0x101", "ISD::ADD", "1", "SystemZISD::MVC", "MVT::Other", "1", "MVT::i32"], "File": "SystemZSelectionDAGInfo7", "Func": "EmitTargetCodeForMemset", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19061, "Length": 507, "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", "&&", "!", "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::f32", "ARM_AM::getFP32Imm", "1", "MVT::f64", "ARM_AM::getFP64Imm", "1"], "File": "ARMISelLowering (2)2", "Func": "isFPImmLegal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19062, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMConstantIslands", "::", "verify", "(", "MachineFunction", "&", "MF", ")", "{", "assert", "(", "BBOffsets", ".", "size", "(", ")", "==", "BBSizes", ".", "size", "(", ")", ")", ";", "for", "(", "unsigned", "i", "=", "1", ",", "e", "=", "BBOffsets", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "assert", "(", "BBOffsets", "[", "i", "-", "1", "]", "+", "BBSizes", "[", "i", "-", "1", "]", "==", "BBOffsets", "[", "i", "]", ")", ";", "if", "(", "!", "isThumb", ")", "return", ";", "for", "(", "MachineFunction", "::", "iterator", "MBBI", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "MBBI", "!=", "E", ";", "++", "MBBI", ")", "{", "MachineBasicBlock", "*", "MBB", "=", "MBBI", ";", "if", "(", "!", "MBB", "->", "empty", "(", ")", "&&", "MBB", "->", "begin", "(", ")", "->", "getOpcode", "(", ")", "==", "ARM", "::", "CONSTPOOL_ENTRY", ")", "{", "unsigned", "MBBId", "=", "MBB", "->", "getNumber", "(", ")", ";", "assert", "(", "(", "BBOffsets", "[", "MBBId", "]", "%", "4", "==", "0", "&&", "BBSizes", "[", "MBBId", "]", "%", "4", "==", "0", ")", "||", "(", "BBOffsets", "[", "MBBId", "]", "%", "4", "!=", "0", "&&", "BBSizes", "[", "MBBId", "]", "%", "4", "!=", "0", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["Check", "if", "this", "register", "bank", "is", "valid", "."], "TS_V_token": ["ARM", "ARM", "1", "1", "1", "ARM::CONSTPOOL_ENTRY", "4", "0", "4", "0", "4", "0", "4", "0"], "File": "ARMConstantIslandPass11", "Func": "verify", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19063, "Length": 190, "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", ";", "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", "SP", "SP::ADDrr", "SP::ADDri"], "File": "SparcFrameLowering (2)", "Func": "emitEpilogue", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19064, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "std", "::", "string", "&", "ARMToTHMStub", "::", "name", "(", ")", "const", "{", "return", "m_Name", ";", "}", ""], "natrual_language": ["Gets", "the", "name", "of", "the", "pass", "we", "are", "mixed", "into", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMToTHMStub", "Func": "name", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19065, "Length": 16, "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": ["Mips"], "File": "MipsSubtarget (2)3", "Func": "getStackAlignment", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19066, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "shouldScheduleLoadsNear", "(", "SDNode", "*", "Load1", ",", "SDNode", "*", "Load2", ",", "int64_t", "Offset1", ",", "int64_t", "Offset2", ",", "unsigned", "NumLoads", ")", "const", "{", "assert", "(", "Offset2", ">", "Offset1", ")", ";", "if", "(", "(", "Offset2", "-", "Offset1", ")", "/", "8", ">", "64", ")", "return", "false", ";", "unsigned", "Opc1", "=", "Load1", "->", "getMachineOpcode", "(", ")", ";", "unsigned", "Opc2", "=", "Load2", "->", "getMachineOpcode", "(", ")", ";", "if", "(", "Opc1", "!=", "Opc2", ")", "return", "false", ";", "switch", "(", "Opc1", ")", "{", "default", ":", "break", ";", "case", "X86", "::", "LD_Fp32m", ":", "case", "X86", "::", "LD_Fp64m", ":", "case", "X86", "::", "LD_Fp80m", ":", "case", "X86", "::", "MMX_MOVD64rm", ":", "case", "X86", "::", "MMX_MOVQ64rm", ":", "return", "false", ";", "}", "EVT", "VT", "=", "Load1", "->", "getValueType", "(", "0", ")", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "{", "if", "(", "TM", ".", "getSubtargetImpl", "(", ")", "->", "is64Bit", "(", ")", ")", "{", "if", "(", "NumLoads", ">=", "3", ")", "return", "false", ";", "}", "else", "if", "(", "NumLoads", ")", "return", "false", ";", "break", ";", "}", "case", "MVT", "::", "i8", ":", "case", "MVT", "::", "i16", ":", "case", "MVT", "::", "i32", ":", "case", "MVT", "::", "i64", ":", "case", "MVT", "::", "f32", ":", "case", "MVT", "::", "f64", ":", "if", "(", "NumLoads", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["shouldScheduleLoadsNear", "-", "This", "is", "a", "used", "by", "the", "pre-regalloc", "scheduler", "to", "determine", "(", "in", "conjunction", "with", "areLoadsFromSameBasePtr", ")", "if", "two", "loads", "should", "be", "scheduled", "togther", "."], "TS_V_token": ["X86", "X86", "8", "64", "X86::LD_Fp32m", "X86::LD_Fp64m", "X86::LD_Fp80m", "X86::MMX_MOVD64rm", "X86::MMX_MOVQ64rm", "0", "3", "MVT::i8", "MVT::i16", "MVT::i32", "MVT::i64", "MVT::f32", "MVT::f64"], "File": "X86InstrInfo134", "Func": "shouldScheduleLoadsNear", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19067, "Length": 211, "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", ")", "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"], "File": "PPCHazardRecognizers15", "Func": "getHazardType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19068, "Length": 263, "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", ")", ";", "fprintf", "(", "data", "->", "file", ",", "\"\\t.rename %s,\\\"%s\\\"\\n\"", ",", "buffer", ",", "name", ")", ";", "}", "if", "(", "data", "->", "function_descriptor", ")", "{", "fputs", "(", "\"\\t.globl .\"", ",", "data", "->", "file", ")", ";", "RS6000_OUTPUT_BASENAME", "(", "data", "->", "file", ",", "buffer", ")", ";", "putc", "(", "'\\n'", ",", "data", "->", "file", ")", ";", "}", "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", ")", ";", "fprintf", "(", "data", "->", "file", ",", "\"\\t.rename %s,\\\"%s\\\"\\n\"", ",", "buffer", ",", "name", ")", ";", "}", "if", "(", "data", "->", "function_descriptor", ")", "{", "fputs", "(", "\"\\t.lglobl .\"", ",", "data", "->", "file", ")", ";", "RS6000_OUTPUT_BASENAME", "(", "data", "->", "file", ",", "buffer", ")", ";", "putc", "(", "'\\n'", ",", "data", "->", "file", ")", ";", "}", "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": ["powerpcspe", "\"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": "powerpcspe", "Func": "rs6000_declare_alias", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19069, "Length": 445, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCELFStreamer", "::", "emitLabel", "(", "MCSymbol", "*", "Symbol", ",", "SMLoc", "Loc", ")", "{", "LastLabel", "=", "Symbol", ";", "LastLabelLoc", "=", "Loc", ";", "MCELFStreamer", "::", "emitLabel", "(", "Symbol", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "label", "for", "Symbol", "into", "the", "current", "section", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCELFStreamer", "Func": "emitLabel", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19070, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1FrameLowering", "::", "hasReservedCallFrame", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "CFSize", "=", "MFI", ".", "getMaxCallFrameSize", "(", ")", ";", "if", "(", "CFSize", ">=", "(", "(", "1", "<<", "8", ")", "-", "1", ")", "*", "4", "/", "2", ")", "return", "false", ";", "return", "!", "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": ["ARM", "1", "8", "1", "4", "2"], "File": "Thumb1FrameLowering (2)1", "Func": "hasReservedCallFrame", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19071, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "static", "rtx", "next_consecutive_mem", "(", "rtx", "mem", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "HOST_WIDE_INT", "offset", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "rtx", "addr", "=", "plus_constant", "(", "Pmode", ",", "XEXP", "(", "mem", ",", "0", ")", ",", "offset", ")", ";", "return", "adjust_automodify_address", "(", "mem", ",", "mode", ",", "addr", ",", "offset", ")", ";", "}", ""], "natrual_language": ["Helper", "for", "gen_movmem_ldrd_strd", ".", "Increase", "the", "address", "of", "memory", "rtxby", "mode", "size", "."], "TS_V_token": ["arm", "0"], "File": "arm", "Func": "next_consecutive_mem", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19072, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_valid_lo_sum_p", "(", "enum", "mips_symbol_type", "symbol_type", ",", "machine_mode", "mode", ")", "{", "if", "(", "mips_symbol_insns", "(", "symbol_type", ",", "mode", ")", "==", "0", ")", "return", "false", ";", "if", "(", "mips_lo_relocs", "[", "symbol_type", "]", "==", "NULL", ")", "return", "false", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "UNITS_PER_WORD", "&&", "GET_MODE_BITSIZE", "(", "mode", ")", ">", "GET_MODE_ALIGNMENT", "(", "mode", ")", ")", "return", "false", ";", "if", "(", "MSA_SUPPORTED_MODE_P", "(", "mode", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "LO_SUM", "can", "address", "a", "value", "of", "mode", "MODE", "when", "the", "LO_SUM", "symbol", "has", "type", "SYMBOL_TYPE", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips_valid_lo_sum_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19073, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_coproc_builtin_available", "(", "enum", "unspecv", "builtin", ")", "{", "if", "(", "TARGET_THUMB1", ")", "return", "false", ";", "switch", "(", "builtin", ")", "{", "case", "VUNSPEC_CDP", ":", "case", "VUNSPEC_LDC", ":", "case", "VUNSPEC_LDCL", ":", "case", "VUNSPEC_STC", ":", "case", "VUNSPEC_STCL", ":", "case", "VUNSPEC_MCR", ":", "case", "VUNSPEC_MRC", ":", "if", "(", "arm_arch4", ")", "return", "true", ";", "break", ";", "case", "VUNSPEC_CDP2", ":", "case", "VUNSPEC_LDC2", ":", "case", "VUNSPEC_LDC2L", ":", "case", "VUNSPEC_STC2", ":", "case", "VUNSPEC_STC2L", ":", "case", "VUNSPEC_MCR2", ":", "case", "VUNSPEC_MRC2", ":", "if", "(", "arm_arch5", ")", "return", "true", ";", "break", ";", "case", "VUNSPEC_MCRR", ":", "case", "VUNSPEC_MRRC", ":", "if", "(", "arm_arch6", "||", "arm_arch5te", ")", "return", "true", ";", "break", ";", "case", "VUNSPEC_MCRR2", ":", "case", "VUNSPEC_MRRC2", ":", "if", "(", "arm_arch6", ")", "return", "true", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "checks", "for", "the", "availability", "of", "the", "coprocessor", "builtin", "passed", "in", "BUILTIN", "for", "the", "current", "target", ".", "Returns", "true", "if", "it", "is", "available", "and", "false", "otherwise", ".", "If", "a", "BUILTIN", "is", "passed", "for", "which", "this", "function", "has", "not", "been", "implemented", "it", "will", "cause", "an", "exception", "."], "TS_V_token": ["arm"], "File": "arm6", "Func": "arm_coproc_builtin_available", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19074, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FISCRegisterInfo", "::", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "live-ins", "should", "be", "tracked", "after", "register", "allocation", "."], "TS_V_token": ["FISC", "FISC"], "File": "FISCRegisterInfo", "Func": "trackLivenessAfterRegAlloc", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19075, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86DAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "OptForSize", "=", "MF", "->", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "OptimizeForSize", ")", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "I", "++", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "(", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", "&&", "!", "Subtarget", "->", "callRegIndirect", "(", ")", ")", "||", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "TC_RETURN", "&&", "(", "Subtarget", "->", "is64Bit", "(", ")", "||", "getTargetMachine", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", ")", ")", ")", ")", "{", "bool", "HasCallSeq", "=", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", ";", "SDValue", "Chain", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Load", "=", "N", "->", "getOperand", "(", "1", ")", ";", "if", "(", "!", "isCalleeLoad", "(", "Load", ",", "Chain", ",", "HasCallSeq", ")", ")", "continue", ";", "MoveBelowOrigChain", "(", "CurDAG", ",", "Load", ",", "SDValue", "(", "N", ",", "0", ")", ",", "Chain", ")", ";", "++", "NumLoadMoved", ";", "continue", ";", "}", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_ROUND", "&&", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "MVT", "SrcVT", "=", "N", "->", "getOperand", "(", "0", ")", ".", "getSimpleValueType", "(", ")", ";", "MVT", "DstVT", "=", "N", "->", "getSimpleValueType", "(", "0", ")", ";", "if", "(", "SrcVT", ".", "isVector", "(", ")", "||", "DstVT", ".", "isVector", "(", ")", ")", "continue", ";", "const", "X86TargetLowering", "*", "X86Lowering", "=", "static_cast", "<", "const", "X86TargetLowering", "*", ">", "(", "TLI", ")", ";", "bool", "SrcIsSSE", "=", "X86Lowering", "->", "isScalarFPTypeInSSEReg", "(", "SrcVT", ")", ";", "bool", "DstIsSSE", "=", "X86Lowering", "->", "isScalarFPTypeInSSEReg", "(", "DstVT", ")", ";", "if", "(", "SrcIsSSE", "&&", "DstIsSSE", ")", "continue", ";", "if", "(", "!", "SrcIsSSE", "&&", "!", "DstIsSSE", ")", "{", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "if", "(", "N", "->", "getConstantOperandVal", "(", "1", ")", ")", "continue", ";", "}", "MVT", "MemVT", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_ROUND", ")", "MemVT", "=", "DstVT", ";", "else", "MemVT", "=", "SrcIsSSE", "?", "SrcVT", ":", "DstVT", ";", "SDValue", "MemTmp", "=", "CurDAG", "->", "CreateStackTemporary", "(", "MemVT", ")", ";", "SDLoc", "dl", "(", "N", ")", ";", "SDValue", "Store", "=", "CurDAG", "->", "getTruncStore", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "dl", ",", "N", "->", "getOperand", "(", "0", ")", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "SDValue", "Result", "=", "CurDAG", "->", "getExtLoad", "(", "ISD", "::", "EXTLOAD", ",", "dl", ",", "DstVT", ",", "Store", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "false", ",", "0", ")", ";", "--", "I", ";", "CurDAG", "->", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "0", ")", ",", "Result", ")", ";", "++", "I", ";", "CurDAG", "->", "DeleteNode", "(", "N", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["X86", "X86", "X86ISD::CALL", "X86ISD::TC_RETURN", "X86ISD::CALL", "0", "1", "0", "ISD::FP_ROUND", "ISD::FP_EXTEND", "0", "0", "X86", "X86", "X86", "X86", "X86", "ISD::FP_EXTEND", "1", "ISD::FP_ROUND", "0", "0", "ISD::EXTLOAD", "0", "0"], "File": "X86ISelDAGToDAG142", "Func": "PreprocessISelDAG", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19076, "Length": 481, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "iq2000_pass_by_reference", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "int", "size", ";", "if", "(", "cum", "&&", "targetm", ".", "calls", ".", "must_pass_in_stack", "(", "arg", ")", ")", "{", "CUMULATIVE_ARGS", "temp", ";", "temp", "=", "*", "cum", ";", "if", "(", "iq2000_function_arg", "(", "pack_cumulative_args", "(", "&", "temp", ")", ",", "arg", ")", "!=", "0", ")", "return", "1", ";", "}", "if", "(", "arg", ".", "type", "==", "NULL_TREE", "||", "arg", ".", "mode", "==", "DImode", "||", "arg", ".", "mode", "==", "DFmode", ")", "return", "0", ";", "size", "=", "int_size_in_bytes", "(", "arg", ".", "type", ")", ";", "return", "size", "==", "-", "1", "||", "size", ">", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Return", "true", "when", "an", "argument", "must", "be", "passed", "by", "reference", "."], "TS_V_token": ["iq2000", "0", "1", "0", "1"], "File": "iq2000", "Func": "iq2000_pass_by_reference", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19077, "Length": 109, "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", "(", ")", "||", "MFI", "->", "hasCopyImplyingStackAdjustment", "(", ")", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86FrameLowering112", "Func": "hasFP", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19078, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mt_final_prescan_insn", "(", "rtx", "insn", ",", "rtx", "*", "opvec", "ATTRIBUTE_UNUSED", ",", "int", "noperands", "ATTRIBUTE_UNUSED", ")", "{", "rtx", "prev_i", ";", "enum", "attr_type", "prev_attr", ";", "mt_nops_required", "=", "0", ";", "mt_nop_reasons", "=", "\"\"", ";", "if", "(", "TARGET_MS2", ")", "return", ";", "if", "(", "!", "INSN_P", "(", "insn", ")", ")", "return", ";", "for", "(", "prev_i", "=", "PREV_INSN", "(", "insn", ")", ";", "prev_i", "!=", "NULL", "&&", "(", "!", "INSN_P", "(", "prev_i", ")", "||", "GET_CODE", "(", "PATTERN", "(", "prev_i", ")", ")", "==", "USE", "||", "GET_CODE", "(", "PATTERN", "(", "prev_i", ")", ")", "==", "CLOBBER", ")", ";", "prev_i", "=", "PREV_INSN", "(", "prev_i", ")", ")", "{", "if", "(", "BARRIER_P", "(", "prev_i", ")", ")", "return", ";", "}", "if", "(", "prev_i", "==", "NULL", "||", "!", "INSN_P", "(", "prev_i", ")", ")", "return", ";", "prev_attr", "=", "mt_get_attr_type", "(", "prev_i", ")", ";", "if", "(", "prev_attr", "==", "TYPE_BRANCH", ")", "return", ";", "switch", "(", "mt_get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_LOAD", ":", "case", "TYPE_STORE", ":", "if", "(", "(", "prev_attr", "==", "TYPE_LOAD", "||", "prev_attr", "==", "TYPE_STORE", ")", "&&", "TARGET_MS1_64_001", ")", "{", "mt_nops_required", "=", "1", ";", "mt_nop_reasons", "=", "\"consecutive mem ops\"", ";", "}", "case", "TYPE_ARITH", ":", "case", "TYPE_COMPLEX", ":", "if", "(", "prev_attr", "==", "TYPE_LOAD", "&&", "insn_true_dependent_p", "(", "prev_i", ",", "insn", ")", ")", "{", "mt_nops_required", "=", "1", ";", "mt_nop_reasons", "=", "\"load->arith dependency delay\"", ";", "}", "break", ";", "case", "TYPE_BRANCH", ":", "if", "(", "insn_dependent_p", "(", "prev_i", ",", "insn", ")", ")", "{", "if", "(", "prev_attr", "==", "TYPE_ARITH", "&&", "TARGET_MS1_64_001", ")", "{", "mt_nops_required", "=", "1", ";", "mt_nop_reasons", "=", "\"arith->branch dependency delay\"", ";", "}", "else", "if", "(", "prev_attr", "==", "TYPE_LOAD", ")", "{", "if", "(", "TARGET_MS1_64_001", ")", "mt_nops_required", "=", "2", ";", "else", "mt_nops_required", "=", "1", ";", "mt_nop_reasons", "=", "\"load->branch dependency delay\"", ";", "}", "}", "break", ";", "default", ":", "fatal_insn", "(", "\"mt_final_prescan_insn, invalid insn #1\"", ",", "insn", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["The", "following", "determines", "the", "number", "of", "nops", "that", "need", "to", "be", "inserted", "between", "the", "previous", "instructions", "and", "current", "instruction", "to", "avoid", "pipeline", "hazards", "on", "the", "mt", "processor", ".", "Remember", "that", "the", "function", "is", "not", "called", "for", "asm", "insns", "."], "TS_V_token": ["mt", "0", "\"\"", "1", "\"consecutive mem ops\"", "1", "\"load->arith dependency delay\"", "1", "\"arith->branch dependency delay\"", "2", "1", "\"load->branch dependency delay\"", "\"mt_final_prescan_insn, invalid insn #1\""], "File": "mt", "Func": "mt_final_prescan_insn", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19079, "Length": 277, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rx_get_stack_layout", "(", "unsigned", "int", "*", "lowest", ",", "unsigned", "int", "*", "highest", ",", "unsigned", "int", "*", "register_mask", ",", "unsigned", "int", "*", "frame_size", ",", "unsigned", "int", "*", "stack_size", ")", "{", "unsigned", "int", "reg", ";", "unsigned", "int", "low", ";", "unsigned", "int", "high", ";", "unsigned", "int", "fixed_reg", "=", "0", ";", "unsigned", "int", "save_mask", ";", "unsigned", "int", "pushed_mask", ";", "unsigned", "int", "unneeded_pushes", ";", "if", "(", "is_naked_func", "(", "NULL_TREE", ")", ")", "{", "*", "lowest", "=", "0", ";", "*", "highest", "=", "0", ";", "*", "register_mask", "=", "0", ";", "*", "frame_size", "=", "0", ";", "*", "stack_size", "=", "0", ";", "return", ";", "}", "for", "(", "save_mask", "=", "high", "=", "low", "=", "0", ",", "reg", "=", "1", ";", "reg", "<", "CC_REGNUM", ";", "reg", "++", ")", "{", "if", "(", "(", "df_regs_ever_live_p", "(", "reg", ")", "||", "(", "call_used_regs", "[", "reg", "]", "&&", "is_interrupt_func", "(", "NULL_TREE", ")", "&&", "!", "crtl", "->", "is_leaf", ")", ")", "&&", "(", "!", "call_used_regs", "[", "reg", "]", "||", "is_interrupt_func", "(", "NULL_TREE", ")", "||", "(", "is_fast_interrupt_func", "(", "NULL_TREE", ")", "&&", "!", "IN_RANGE", "(", "reg", ",", "10", ",", "13", ")", ")", ")", ")", "{", "if", "(", "low", "==", "0", ")", "low", "=", "reg", ";", "high", "=", "reg", ";", "save_mask", "|=", "1", "<<", "reg", ";", "}", "if", "(", "low", "!=", "0", "&&", "fixed_reg", "==", "0", "&&", "fixed_regs", "[", "reg", "]", ")", "fixed_reg", "=", "reg", ";", "}", "if", "(", "MUST_SAVE_ACC_REGISTER", "&&", "bit_count", "(", "save_mask", ")", "<", "2", ")", "{", "save_mask", "|=", "(", "1", "<<", "13", ")", "|", "(", "1", "<<", "14", ")", ";", "if", "(", "low", "==", "0", ")", "low", "=", "13", ";", "if", "(", "high", "==", "0", "||", "low", "==", "high", ")", "high", "=", "low", "+", "1", ";", "}", "pushed_mask", "=", "(", "HOST_WIDE_INT_M1U", "<<", "low", ")", "&", "~", "(", "HOST_WIDE_INT_M1U", "<<", "(", "high", "+", "1", ")", ")", ";", "unneeded_pushes", "=", "(", "pushed_mask", "&", "(", "~", "save_mask", ")", ")", "&", "pushed_mask", ";", "if", "(", "(", "fixed_reg", "&&", "fixed_reg", "<=", "high", ")", "||", "(", "optimize_function_for_speed_p", "(", "cfun", ")", "&&", "bit_count", "(", "save_mask", ")", "<", "bit_count", "(", "unneeded_pushes", ")", ")", ")", "{", "*", "lowest", "=", "0", ";", "*", "highest", "=", "0", ";", "*", "register_mask", "=", "save_mask", ";", "}", "else", "{", "*", "lowest", "=", "low", ";", "*", "highest", "=", "high", ";", "*", "register_mask", "=", "0", ";", "}", "*", "frame_size", "=", "rx_round_up", "(", "get_frame_size", "(", ")", ",", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ")", ";", "if", "(", "crtl", "->", "args", ".", "size", ">", "0", ")", "*", "frame_size", "+=", "rx_round_up", "(", "crtl", "->", "args", ".", "size", ",", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ")", ";", "*", "stack_size", "=", "rx_round_up", "(", "crtl", "->", "outgoing_args_size", ",", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ")", ";", "}", ""], "natrual_language": ["Returns", "either", "the", "lowest", "numbered", "and", "highest", "numbered", "registers", "that", "occupy", "the", "call-saved", "area", "of", "the", "stack", "frame", ",", "if", "the", "registers", "are", "stored", "as", "a", "contiguous", "block", ",", "or", "else", "a", "bitmask", "of", "the", "individual", "registers", "if", "they", "are", "stored", "piecemeal", ".", "Also", "computes", "the", "size", "of", "the", "frame", "and", "the", "size", "of", "the", "outgoing", "arguments", "block", "(", "in", "bytes", ")", "."], "TS_V_token": ["rx", "0", "0", "0", "0", "0", "0", "0", "1", "10", "13", "0", "1", "0", "0", "2", "1", "13", "1", "14", "0", "13", "0", "1", "1", "0", "0", "0", "0"], "File": "rx3", "Func": "rx_get_stack_layout", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19080, "Length": 418, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "SparcRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "SP", "::", "I6", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["Sparc", "Sparc", "SP::I6"], "File": "SparcRegisterInfo18", "Func": "getFrameRegister", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19081, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleDAGInstrs", "*", "createPostMachineScheduler", "(", "MachineSchedContext", "*", "C", ")", "const", "override", "{", "return", "new", "ScheduleDAGMI", "(", "C", ",", "make_unique", "<", "SystemZPostRASchedStrategy", ">", "(", "C", ")", ",", "true", ")", ";", "}", ""], "natrual_language": ["Similar", "to", "createMachineScheduler", "but", "used", "when", "postRA", "machine", "scheduling", "is", "enabled", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZTargetMachine41", "Func": "createPostMachineScheduler", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19082, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_output_function_prologue", "(", "FILE", "*", "file", ")", "{", "if", "(", "!", "cfun", "->", "is_thunk", ")", "{", "rs6000_output_savres_externs", "(", "file", ")", ";", "const", "char", "*", "curr_machine", "=", "rs6000_machine_from_flags", "(", ")", ";", "if", "(", "rs6000_machine", "!=", "curr_machine", ")", "{", "rs6000_machine", "=", "curr_machine", ";", "emit_asm_machine", "(", ")", ";", "}", "}", "if", "(", "rs6000_global_entry_point_prologue_needed_p", "(", ")", ")", "{", "const", "char", "*", "name", "=", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "current_function_decl", ")", ",", "0", ")", ",", "0", ")", ";", "(", "*", "targetm", ".", "asm_out", ".", "internal_label", ")", "(", "file", ",", "\"LCF\"", ",", "rs6000_pic_labelno", ")", ";", "if", "(", "TARGET_CMODEL", "!=", "CMODEL_LARGE", ")", "{", "char", "buf", "[", "256", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "buf", ",", "\"LCF\"", ",", "rs6000_pic_labelno", ")", ";", "fprintf", "(", "file", ",", "\"0:\\taddis 2,12,.TOC.-\"", ")", ";", "assemble_name", "(", "file", ",", "buf", ")", ";", "fprintf", "(", "file", ",", "\"@ha\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\taddi 2,2,.TOC.-\"", ")", ";", "assemble_name", "(", "file", ",", "buf", ")", ";", "fprintf", "(", "file", ",", "\"@l\\n\"", ")", ";", "}", "else", "{", "char", "buf", "[", "256", "]", ";", "fprintf", "(", "file", ",", "\"\\t.reloc .,R_PPC64_ENTRY\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\tld 2,\"", ")", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "buf", ",", "\"LCL\"", ",", "rs6000_pic_labelno", ")", ";", "assemble_name", "(", "file", ",", "buf", ")", ";", "fprintf", "(", "file", ",", "\"-\"", ")", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "buf", ",", "\"LCF\"", ",", "rs6000_pic_labelno", ")", ";", "assemble_name", "(", "file", ",", "buf", ")", ";", "fprintf", "(", "file", ",", "\"(12)\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\tadd 2,2,12\\n\"", ")", ";", "}", "fputs", "(", "\"\\t.localentry\\t\"", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "name", ")", ";", "fputs", "(", "\",.-\"", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "name", ")", ";", "fputs", "(", "\"\\n\"", ",", "file", ")", ";", "}", "else", "if", "(", "rs6000_pcrel_p", "(", ")", ")", "{", "const", "char", "*", "name", "=", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "current_function_decl", ")", ",", "0", ")", ",", "0", ")", ";", "fputs", "(", "\"\\t.localentry\\t\"", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "name", ")", ";", "fputs", "(", "\",1\\n\"", ",", "file", ")", ";", "}", "if", "(", "TARGET_PROFILE_KERNEL", "&&", "crtl", "->", "profile", ")", "{", "gcc_assert", "(", "DEFAULT_ABI", "==", "ABI_AIX", "||", "DEFAULT_ABI", "==", "ABI_ELFv2", ")", ";", "gcc_assert", "(", "!", "TARGET_32BIT", ")", ";", "asm_fprintf", "(", "file", ",", "\"\\tmflr %s\\n\"", ",", "reg_names", "[", "0", "]", ")", ";", "if", "(", "DEFAULT_ABI", "!=", "ABI_ELFv2", "&&", "cfun", "->", "static_chain_decl", "!=", "NULL", ")", "{", "asm_fprintf", "(", "file", ",", "\"\\tstd %s,24(%s)\\n\"", ",", "reg_names", "[", "STATIC_CHAIN_REGNUM", "]", ",", "reg_names", "[", "1", "]", ")", ";", "fprintf", "(", "file", ",", "\"\\tbl %s\\n\"", ",", "RS6000_MCOUNT", ")", ";", "asm_fprintf", "(", "file", ",", "\"\\tld %s,24(%s)\\n\"", ",", "reg_names", "[", "STATIC_CHAIN_REGNUM", "]", ",", "reg_names", "[", "1", "]", ")", ";", "}", "else", "fprintf", "(", "file", ",", "\"\\tbl %s\\n\"", ",", "RS6000_MCOUNT", ")", ";", "}", "rs6000_pic_labelno", "++", ";", "}", ""], "natrual_language": ["Write", "function", "prologue", "."], "TS_V_token": ["rs6000", "0", "0", "\"LCF\"", "256", "\"LCF\"", "\"0:\\taddis 2,12,.TOC.-\"", "\"@ha\\n\"", "\"\\taddi 2,2,.TOC.-\"", "\"@l\\n\"", "256", "\"\\t.reloc .,R_PPC64_ENTRY\\n\"", "\"\\tld 2,\"", "\"LCL\"", "\"-\"", "\"LCF\"", "\"(12)\\n\"", "\"\\tadd 2,2,12\\n\"", "\"\\t.localentry\\t\"", "\",.-\"", "\"\\n\"", "0", "0", "\"\\t.localentry\\t\"", "\",1\\n\"", "\"\\tmflr %s\\n\"", "0", "\"\\tstd %s,24(%s)\\n\"", "1", "\"\\tbl %s\\n\"", "\"\\tld %s,24(%s)\\n\"", "1", "\"\\tbl %s\\n\""], "File": "rs6000-logue", "Func": "rs6000_output_function_prologue", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19083, "Length": 427, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcTargetMachine", "::", "SparcTargetMachine", "(", "const", "Target", "&", "T", ",", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "is64bit", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ")", ",", "Subtarget", "(", "TT", ",", "FS", ",", "is64bit", ")", ",", "DataLayout", "(", "Subtarget", ".", "getDataLayout", "(", ")", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "InstrInfo", "(", "Subtarget", ")", ",", "FrameLowering", "(", "Subtarget", ")", "{", "}", ""], "natrual_language": ["Create", "an", "ILP32", "architecture", "model", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc"], "File": "SparcTargetMachine4", "Func": "SparcTargetMachine", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19084, "Length": 75, "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": "ARMISelLowering (2)1", "Func": "getSubtarget", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19085, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetMachine", "::", "addPreRegAlloc", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "PM", ".", "add", "(", "createX86MaxStackAlignmentCalculatorPass", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86TargetMachine40", "Func": "addPreRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19086, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "VEInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "Register", "DestReg", ",", "int", "FI", ",", "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", "(", "*", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "if", "(", "RC", "==", "&", "VE", "::", "I64RegClass", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "VE", "::", "LDSri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", "else", "if", "(", "RC", "==", "&", "VE", "::", "I32RegClass", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "VE", "::", "LDLri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", "else", "if", "(", "RC", "==", "&", "VE", "::", "F32RegClass", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "VE", "::", "LDUri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", "else", "report_fatal_error", "(", "\"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": ["VE", "VE", "VE::I64RegClass", "VE::LDSri", "0", "VE::I32RegClass", "VE::LDLri", "0", "VE::F32RegClass", "VE::LDUri", "0", "\"Can't load this register from stack slot\""], "File": "VEInstrInfo15", "Func": "loadRegFromStackSlot", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19087, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsRegisterInfo", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "prior", "(", "MBB", ".", "end", "(", ")", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MipsFunctionInfo", "*", "MipsFI", "=", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "int", "NumBytes", "=", "(", "int", ")", "MFI", "->", "getStackSize", "(", ")", ";", "int", "FPOffset", "=", "MipsFI", "->", "getFPStackOffset", "(", ")", ";", "int", "RAOffset", "=", "MipsFI", "->", "getRAStackOffset", "(", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "ADDu", ")", ",", "Mips", "::", "SP", ")", ".", "addReg", "(", "Mips", "::", "FP", ")", ".", "addReg", "(", "Mips", "::", "ZERO", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "LW", ")", ")", ".", "addReg", "(", "Mips", "::", "FP", ")", ".", "addImm", "(", "FPOffset", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ";", "}", "if", "(", "MFI", "->", "hasCalls", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "LW", ")", ")", ".", "addReg", "(", "Mips", "::", "RA", ")", ".", "addImm", "(", "RAOffset", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ";", "}", "if", "(", "NumBytes", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "ADDiu", ")", ",", "Mips", "::", "SP", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ".", "addImm", "(", "NumBytes", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::ADDu", "Mips::SP", "Mips::FP", "Mips::ZERO", "Mips::LW", "Mips::FP", "Mips::SP", "Mips::LW", "Mips::RA", "Mips::SP", "Mips::ADDiu", "Mips::SP", "Mips::SP"], "File": "MipsRegisterInfo45", "Func": "emitEpilogue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19088, "Length": 261, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_sve_float_mul_immediate_p", "(", "rtx", "x", ")", "{", "rtx", "elt", ";", "return", "(", "const_vec_duplicate_p", "(", "x", ",", "&", "elt", ")", "&&", "CONST_DOUBLE_P", "(", "elt", ")", "&&", "(", "real_equal", "(", "CONST_DOUBLE_REAL_VALUE", "(", "elt", ")", ",", "&", "dconsthalf", ")", "||", "real_equal", "(", "CONST_DOUBLE_REAL_VALUE", "(", "elt", ")", ",", "&", "dconst2", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "valid", "immediate", "operand", "for", "an", "SVE", "FMUL", "instruction", "."], "TS_V_token": ["aarch64"], "File": "aarch641", "Func": "aarch64_sve_float_mul_immediate_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19089, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_process_one_target_attr", "(", "char", "*", "arg_str", ")", "{", "bool", "invert", "=", "false", ";", "size_t", "len", "=", "strlen", "(", "arg_str", ")", ";", "if", "(", "len", "==", "0", ")", "{", "error", "(", "\"malformed % pragma or attribute\"", ")", ";", "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", ")", ";", "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", "(", "\"pragma or attribute % does not accept an argument\"", ",", "str_to_check", ")", ";", "return", "false", ";", "}", "if", "(", "invert", "&&", "!", "p_attr", "->", "allow_neg", ")", "{", "error", "(", "\"pragma or attribute % does not allow a negated form\"", ",", "str_to_check", ")", ";", "return", "false", ";", "}", "switch", "(", "p_attr", "->", "attr_type", ")", "{", "case", "aarch64_attr_custom", ":", "gcc_assert", "(", "p_attr", "->", "handler", ")", ";", "if", "(", "!", "p_attr", "->", "handler", "(", "arg", ")", ")", "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", "(", "\"pragma or attribute % is not valid\"", ",", "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 % pragma or attribute\"", "1", "3", "\"no-\"", "3", "0", "3", "0", "\"pragma or attribute % does not accept an argument\"", "\"pragma or attribute % does not allow a negated form\"", "\"pragma or attribute % is not valid\""], "File": "aarch645", "Func": "aarch64_process_one_target_attr", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19090, "Length": 442, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "*", "rs6000_init_cost", "(", "struct", "loop", "*", "loop_info", ")", "{", "rs6000_cost_data", "*", "data", "=", "XNEW", "(", "struct", "_rs6000_cost_data", ")", ";", "data", "->", "loop_info", "=", "loop_info", ";", "data", "->", "cost", "[", "vect_prologue", "]", "=", "0", ";", "data", "->", "cost", "[", "vect_body", "]", "=", "0", ";", "data", "->", "cost", "[", "vect_epilogue", "]", "=", "0", ";", "return", "data", ";", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.init_cost", "."], "TS_V_token": ["rs6000", "0", "0", "0"], "File": "rs60004", "Func": "rs6000_init_cost", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19091, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "CSKYTargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", "DL", ",", "LLVMContext", "&", "Context", ",", "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": ["CSKY", "CSKY", "MVT::i32"], "File": "CSKYISelLowering", "Func": "getSetCCResultType", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19092, "Length": 41, "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": ["CSKY", "\"Expr shouldn't be null!\""], "File": "CSKYAsmParser", "Func": "addExpr", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19093, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "RegDomain", "getDomain", "(", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "{", "if", "(", "isGPR", "(", "RC", ")", ")", "return", "GPRDomain", ";", "if", "(", "isMask", "(", "RC", ",", "TRI", ")", ")", "return", "MaskDomain", ";", "return", "OtherDomain", ";", "}", ""], "natrual_language": ["Get", "the", "MDNode", "for", "this", "AliasScopeNode", "'s", "domain", "."], "TS_V_token": ["X86"], "File": "X86DomainReassignment", "Func": "getDomain", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19094, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XNCMFrameLowering", "::", "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", "(", ")", ";", "XNCMMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "XNCMMachineFunctionInfo", ">", "(", ")", ";", "MFI", "->", "setCalleeSavedFrameSize", "(", "CSI", ".", "size", "(", ")", "*", "2", ")", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "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": ["XNCM", "XNCM", "XNCM", "XNCM", "2", "0", "1"], "File": "XNCMFrameLowering", "Func": "spillCalleeSavedRegisters", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19095, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_get_strip_length", "(", "int", "c", ")", "{", "switch", "(", "c", ")", "{", "ARM_NAME_ENCODING_LENGTHS", "default", ":", "return", "0", ";", "}", "}", ""], "natrual_language": ["Return", "the", "length", "of", "a", "function", "name", "prefix", "that", "starts", "with", "the", "character", "'", "c", "'", "."], "TS_V_token": ["arm", "0"], "File": "arm", "Func": "arm_get_strip_length", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19096, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "construct_plt_address", "(", "rtx", "symbol", ")", "{", "rtx", "tmp", ",", "unspec", ";", "gcc_assert", "(", "GET_CODE", "(", "symbol", ")", "==", "SYMBOL_REF", ")", ";", "gcc_assert", "(", "ix86_cmodel", "==", "CM_LARGE_PIC", "&&", "!", "TARGET_PECOFF", ")", ";", "gcc_assert", "(", "Pmode", "==", "DImode", ")", ";", "tmp", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "unspec", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "symbol", ")", ",", "UNSPEC_PLTOFF", ")", ";", "emit_move_insn", "(", "tmp", ",", "gen_rtx_CONST", "(", "Pmode", ",", "unspec", ")", ")", ";", "emit_insn", "(", "gen_add2_insn", "(", "tmp", ",", "pic_offset_table_rtx", ")", ")", ";", "return", "tmp", ";", "}", ""], "natrual_language": ["For", "given", "symbol", "(", "function", ")", "construct", "code", "to", "compute", "address", "of", "it", "'s", "PLT", "entry", "in", "large", "x86-64", "PIC", "model", "."], "TS_V_token": ["i386", "1"], "File": "i386-expand", "Func": "construct_plt_address", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19097, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mmix_conditional_register_usage", "(", "void", ")", "{", "int", "i", ";", "if", "(", "TARGET_ABI_GNU", ")", "{", "static", "const", "int", "gnu_abi_reg_alloc_order", "[", "]", "=", "MMIX_GNU_ABI_REG_ALLOC_ORDER", ";", "for", "(", "i", "=", "0", ";", "i", "<", "FIRST_PSEUDO_REGISTER", ";", "i", "++", ")", "reg_alloc_order", "[", "i", "]", "=", "gnu_abi_reg_alloc_order", "[", "i", "]", ";", "for", "(", "i", "=", "15", ";", "i", "<=", "30", ";", "i", "++", ")", "call_used_regs", "[", "i", "]", "=", "0", ";", "for", "(", "i", "=", "MMIX_RESERVED_GNU_ARG_0_REGNUM", ";", "i", "<", "MMIX_RESERVED_GNU_ARG_0_REGNUM", "+", "MMIX_MAX_ARGS_IN_REGS", ";", "i", "++", ")", "fixed_regs", "[", "i", "]", "=", "0", ";", "}", "if", "(", "!", "TARGET_TOPLEVEL_SYMBOLS", ")", "for", "(", "i", "=", "0", ";", "i", "<", "FIRST_PSEUDO_REGISTER", ";", "i", "++", ")", "if", "(", "reg_names", "[", "i", "]", "[", "0", "]", "==", "':'", ")", "reg_names", "[", "i", "]", "++", ";", "}", ""], "natrual_language": ["CONDITIONAL_REGISTER_USAGE", "."], "TS_V_token": ["mmix", "0", "15", "30", "0", "0", "0", "0"], "File": "mmix3", "Func": "mmix_conditional_register_usage", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19098, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMCodeEmitter", "::", "getMachineOpValue", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "&", "MO", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "getARMRegisterNumbering", "(", "MO", ".", "getReg", "(", ")", ")", ";", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "else", "if", "(", "MO", ".", "isGlobal", "(", ")", ")", "emitGlobalAddress", "(", "MO", ".", "getGlobal", "(", ")", ",", "ARM", "::", "reloc_arm_branch", ",", "true", ",", "false", ")", ";", "else", "if", "(", "MO", ".", "isSymbol", "(", ")", ")", "emitExternalSymbolAddress", "(", "MO", ".", "getSymbolName", "(", ")", ",", "ARM", "::", "reloc_arm_branch", ")", ";", "else", "if", "(", "MO", ".", "isCPI", "(", ")", ")", "{", "const", "TargetInstrDesc", "&", "TID", "=", "MI", ".", "getDesc", "(", ")", ";", "unsigned", "Reloc", "=", "(", "(", "TID", ".", "TSFlags", "&", "ARMII", "::", "FormMask", ")", "==", "ARMII", "::", "VFPLdStFrm", ")", "?", "ARM", "::", "reloc_arm_vfp_cp_entry", ":", "ARM", "::", "reloc_arm_cp_entry", ";", "emitConstPoolAddress", "(", "MO", ".", "getIndex", "(", ")", ",", "Reloc", ")", ";", "}", "else", "if", "(", "MO", ".", "isJTI", "(", ")", ")", "emitJumpTableAddress", "(", "MO", ".", "getIndex", "(", ")", ",", "ARM", "::", "reloc_arm_relative", ")", ";", "else", "if", "(", "MO", ".", "isMBB", "(", ")", ")", "emitMachineBasicBlock", "(", "MO", ".", "getMBB", "(", ")", ",", "ARM", "::", "reloc_arm_branch", ")", ";", "else", "llvm_unreachable", "(", "\"Unable to encode MachineOperand!\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM::reloc_arm_branch", "ARM::reloc_arm_branch", "ARMII::FormMask", "ARMII::VFPLdStFrm", "ARM::reloc_arm_vfp_cp_entry", "ARM::reloc_arm_cp_entry", "ARM::reloc_arm_relative", "ARM::reloc_arm_branch", "\"Unable to encode MachineOperand!\"", "0"], "File": "ARMCodeEmitter10", "Func": "getMachineOpValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19099, "Length": 219, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "FISCDisassembler", "::", "getInstruction", "(", "MCInst", "&", "Instr", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "VStream", ",", "raw_ostream", "&", "CStream", ")", "const", "{", "uint32_t", "Insn", ";", "DecodeStatus", "Result", "=", "readInstruction32", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn", ")", ";", "if", "(", "Result", "==", "MCDisassembler", "::", "Fail", ")", "return", "Result", ";", "Result", "=", "decodeInstruction", "(", "DecoderTableFISC32", ",", "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": ["FISC", "FISC", "FISC", "4"], "File": "FISCDisassembler", "Func": "getInstruction", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19100, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_hpux_init_libfuncs", "(", "void", ")", "{", "ia64_init_libfuncs", "(", ")", ";", "set_optab_libfunc", "(", "sdiv_optab", ",", "SImode", ",", "0", ")", ";", "set_optab_libfunc", "(", "udiv_optab", ",", "SImode", ",", "0", ")", ";", "set_optab_libfunc", "(", "smod_optab", ",", "SImode", ",", "0", ")", ";", "set_optab_libfunc", "(", "umod_optab", ",", "SImode", ",", "0", ")", ";", "set_optab_libfunc", "(", "sdiv_optab", ",", "DImode", ",", "\"__milli_divI\"", ")", ";", "set_optab_libfunc", "(", "udiv_optab", ",", "DImode", ",", "\"__milli_divU\"", ")", ";", "set_optab_libfunc", "(", "smod_optab", ",", "DImode", ",", "\"__milli_remI\"", ")", ";", "set_optab_libfunc", "(", "umod_optab", ",", "DImode", ",", "\"__milli_remU\"", ")", ";", "set_optab_libfunc", "(", "smin_optab", ",", "TFmode", ",", "\"_U_Qfmin\"", ")", ";", "set_optab_libfunc", "(", "smax_optab", ",", "TFmode", ",", "\"_U_Qfmax\"", ")", ";", "set_optab_libfunc", "(", "abs_optab", ",", "TFmode", ",", "\"_U_Qfabs\"", ")", ";", "cmptf_libfunc", "=", "init_one_libfunc", "(", "\"_U_Qfcmp\"", ")", ";", "set_optab_libfunc", "(", "eq_optab", ",", "TFmode", ",", "0", ")", ";", "set_optab_libfunc", "(", "ne_optab", ",", "TFmode", ",", "0", ")", ";", "set_optab_libfunc", "(", "gt_optab", ",", "TFmode", ",", "0", ")", ";", "set_optab_libfunc", "(", "ge_optab", ",", "TFmode", ",", "0", ")", ";", "set_optab_libfunc", "(", "lt_optab", ",", "TFmode", ",", "0", ")", ";", "set_optab_libfunc", "(", "le_optab", ",", "TFmode", ",", "0", ")", ";", "}", ""], "natrual_language": ["Rename", "all", "the", "TFmode", "libfuncs", "using", "the", "HPUX", "conventions", "."], "TS_V_token": ["ia64", "0", "0", "0", "0", "\"__milli_divI\"", "\"__milli_divU\"", "\"__milli_remI\"", "\"__milli_remU\"", "\"_U_Qfmin\"", "\"_U_Qfmax\"", "\"_U_Qfabs\"", "\"_U_Qfcmp\"", "0", "0", "0", "0", "0", "0"], "File": "ia64", "Func": "ia64_hpux_init_libfuncs", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19101, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_lea_for_add_ok", "(", "rtx_insn", "*", "insn", ",", "rtx", "operands", "[", "]", ")", "{", "unsigned", "int", "regno0", "=", "true_regnum", "(", "operands", "[", "0", "]", ")", ";", "unsigned", "int", "regno1", "=", "true_regnum", "(", "operands", "[", "1", "]", ")", ";", "unsigned", "int", "regno2", "=", "true_regnum", "(", "operands", "[", "2", "]", ")", ";", "if", "(", "regno0", "!=", "regno1", "&&", "regno0", "!=", "regno2", ")", "return", "true", ";", "if", "(", "!", "TARGET_OPT_AGU", "||", "optimize_function_for_size_p", "(", "cfun", ")", ")", "return", "false", ";", "return", "ix86_lea_outperforms", "(", "insn", ",", "regno0", ",", "regno1", ",", "regno2", ",", "0", ",", "false", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "ok", "to", "optimize", "an", "ADD", "operation", "to", "LEA", "operation", "to", "avoid", "flag", "register", "consumation", ".", "For", "most", "processors", ",", "ADD", "is", "faster", "than", "LEA", ".", "For", "the", "processors", "like", "BONNELL", ",", "if", "the", "destination", "register", "of", "LEA", "holds", "an", "actual", "address", "which", "will", "be", "used", "soon", ",", "LEA", "is", "better", "and", "otherwise", "ADD", "is", "better", "."], "TS_V_token": ["i386", "0", "1", "2", "0"], "File": "i386", "Func": "ix86_lea_for_add_ok", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19102, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "arm_dbx_register_number", "(", "unsigned", "int", "regno", ")", "{", "if", "(", "regno", "<", "16", ")", "return", "regno", ";", "if", "(", "IS_VFP_REGNUM", "(", "regno", ")", ")", "{", "if", "(", "VFP_REGNO_OK_FOR_SINGLE", "(", "regno", ")", ")", "return", "64", "+", "regno", "-", "FIRST_VFP_REGNUM", ";", "else", "return", "256", "+", "(", "regno", "-", "FIRST_VFP_REGNUM", ")", "/", "2", ";", "}", "if", "(", "IS_IWMMXT_GR_REGNUM", "(", "regno", ")", ")", "return", "104", "+", "regno", "-", "FIRST_IWMMXT_GR_REGNUM", ";", "if", "(", "IS_IWMMXT_REGNUM", "(", "regno", ")", ")", "return", "112", "+", "regno", "-", "FIRST_IWMMXT_REGNUM", ";", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Map", "internal", "gcc", "register", "numbers", "to", "DWARF2", "register", "numbers", "."], "TS_V_token": ["arm", "16", "64", "256", "2", "104", "112"], "File": "arm4", "Func": "arm_dbx_register_number", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19103, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTI", "::", "isLegalMaskedStore", "(", "Type", "*", "DataType", ",", "int", "Consecutive", ")", "const", "{", "return", "isLegalMaskedLoad", "(", "DataType", ",", "Consecutive", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "store", "."], "TS_V_token": ["X86", "X86"], "File": "X86TargetTransformInfo98", "Func": "isLegalMaskedStore", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19104, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_expand_mov_immediate", "(", "rtx", "dest", ",", "rtx", "imm", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "gcc_assert", "(", "mode", "==", "SImode", "||", "mode", "==", "DImode", ")", ";", "if", "(", "GET_CODE", "(", "imm", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "imm", ")", "==", "LABEL_REF", "||", "GET_CODE", "(", "imm", ")", "==", "CONST", ")", "{", "rtx", "mem", ",", "base", ",", "offset", ";", "enum", "aarch64_symbol_type", "sty", ";", "split_const", "(", "imm", ",", "&", "base", ",", "&", "offset", ")", ";", "sty", "=", "aarch64_classify_symbol", "(", "base", ",", "offset", ")", ";", "switch", "(", "sty", ")", "{", "case", "SYMBOL_FORCE_TO_MEM", ":", "if", "(", "offset", "!=", "const0_rtx", "&&", "targetm", ".", "cannot_force_const_mem", "(", "mode", ",", "imm", ")", ")", "{", "gcc_assert", "(", "can_create_pseudo_p", "(", ")", ")", ";", "base", "=", "aarch64_force_temporary", "(", "mode", ",", "dest", ",", "base", ")", ";", "base", "=", "aarch64_add_offset", "(", "mode", ",", "NULL", ",", "base", ",", "INTVAL", "(", "offset", ")", ")", ";", "aarch64_emit_move", "(", "dest", ",", "base", ")", ";", "return", ";", "}", "mem", "=", "force_const_mem", "(", "ptr_mode", ",", "imm", ")", ";", "gcc_assert", "(", "mem", ")", ";", "if", "(", "aarch64_nopcrelative_literal_loads", ")", "{", "gcc_assert", "(", "can_create_pseudo_p", "(", ")", ")", ";", "base", "=", "gen_reg_rtx", "(", "ptr_mode", ")", ";", "aarch64_expand_mov_immediate", "(", "base", ",", "XEXP", "(", "mem", ",", "0", ")", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "ptr_mode", ",", "base", ")", ";", "}", "if", "(", "mode", "!=", "ptr_mode", ")", "mem", "=", "gen_rtx_ZERO_EXTEND", "(", "mode", ",", "mem", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "mem", ")", ")", ";", "return", ";", "case", "SYMBOL_SMALL_TLSGD", ":", "case", "SYMBOL_SMALL_TLSDESC", ":", "case", "SYMBOL_SMALL_TLSIE", ":", "case", "SYMBOL_SMALL_GOT_28K", ":", "case", "SYMBOL_SMALL_GOT_4G", ":", "case", "SYMBOL_TINY_GOT", ":", "case", "SYMBOL_TINY_TLSIE", ":", "if", "(", "offset", "!=", "const0_rtx", ")", "{", "gcc_assert", "(", "can_create_pseudo_p", "(", ")", ")", ";", "base", "=", "aarch64_force_temporary", "(", "mode", ",", "dest", ",", "base", ")", ";", "base", "=", "aarch64_add_offset", "(", "mode", ",", "NULL", ",", "base", ",", "INTVAL", "(", "offset", ")", ")", ";", "aarch64_emit_move", "(", "dest", ",", "base", ")", ";", "return", ";", "}", "case", "SYMBOL_SMALL_ABSOLUTE", ":", "case", "SYMBOL_TINY_ABSOLUTE", ":", "case", "SYMBOL_TLSLE12", ":", "case", "SYMBOL_TLSLE24", ":", "case", "SYMBOL_TLSLE32", ":", "case", "SYMBOL_TLSLE48", ":", "aarch64_load_symref_appropriately", "(", "dest", ",", "imm", ",", "sty", ")", ";", "return", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "if", "(", "!", "CONST_INT_P", "(", "imm", ")", ")", "{", "if", "(", "GET_CODE", "(", "imm", ")", "==", "HIGH", ")", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "imm", ")", ")", ";", "else", "{", "rtx", "mem", "=", "force_const_mem", "(", "mode", ",", "imm", ")", ";", "gcc_assert", "(", "mem", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "mem", ")", ")", ";", "}", "return", ";", "}", "aarch64_internal_mov_immediate", "(", "dest", ",", "imm", ",", "true", ",", "GET_MODE", "(", "dest", ")", ")", ";", "}", ""], "natrual_language": ["Set", "DEST", "to", "immediate", "IMM", ".", "For", "SVE", "vector", "modes", ",", "GEN_VEC_DUPLICATE", "is", "a", "pattern", "that", "can", "be", "used", "to", "set", "DEST", "to", "a", "replicated", "scalar", "element", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch643", "Func": "aarch64_expand_mov_immediate", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19105, "Length": 417, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalMaskedGather", "(", "Type", "*", "DataTy", ")", "{", "if", "(", "isa", "<", "VectorType", ">", "(", "DataTy", ")", "&&", "!", "isPowerOf2_32", "(", "DataTy", "->", "getVectorNumElements", "(", ")", ")", ")", "return", "false", ";", "Type", "*", "ScalarTy", "=", "DataTy", "->", "getScalarType", "(", ")", ";", "int", "DataWidth", "=", "isa", "<", "PointerType", ">", "(", "ScalarTy", ")", "?", "DL", ".", "getPointerSizeInBits", "(", ")", ":", "ScalarTy", "->", "getPrimitiveSizeInBits", "(", ")", ";", "return", "(", "DataWidth", "==", "32", "||", "DataWidth", "==", "64", ")", "&&", "ST", "->", "hasAVX512", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "gather", "."], "TS_V_token": ["X86", "X86", "32", "64"], "File": "X86TargetTransformInfo11", "Func": "isLegalMaskedGather", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19106, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "n13_consumed_by_e2_dep_p", "(", "rtx_insn", "*", "consumer", ",", "rtx", "def_reg", ")", "{", "rtx", "use_rtx", ";", "switch", "(", "get_attr_type", "(", "consumer", ")", ")", "{", "case", "TYPE_ALU", ":", "case", "TYPE_STORE", ":", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_ALU_SHIFT", ":", "use_rtx", "=", "extract_shift_reg", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_PBSADA", ":", "return", "pbsada_insn_rt_dep_reg_p", "(", "consumer", ",", "def_reg", ")", ";", "case", "TYPE_STORE_MULTIPLE", ":", "use_rtx", "=", "extract_nth_access_rtx", "(", "consumer", ",", "0", ")", ";", "break", ";", "case", "TYPE_BRANCH", ":", "use_rtx", "=", "extract_branch_condition_rtx", "(", "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", "E2", "."], "TS_V_token": ["nds32", "0"], "File": "nds32-pipelines-auxiliary", "Func": "n13_consumed_by_e2_dep_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19107, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMLoc", "getEndLoc", "(", ")", "const", "{", "return", "EndLoc", ";", "}", ""], "natrual_language": ["getEndLoc", "-", "Get", "the", "location", "of", "the", "last", "token", "of", "this", "operand", "."], "TS_V_token": ["X86"], "File": "X86AsmParser (2)2", "Func": "getEndLoc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19108, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isShuffleMaskLegal", "(", "const", "SmallVectorImpl", "<", "int", ">", "&", "M", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "if", "(", "VT", ".", "getScalarType", "(", ")", "==", "MVT", "::", "i1", ")", "return", "false", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "false", ";", "return", "isTypeLegal", "(", "VT", ".", "getSimpleVT", "(", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "can", "use", "this", "to", "indicate", "that", "they", "only", "support", "some", "VECTOR_SHUFFLE", "operations", ",", "those", "with", "specific", "masks", "."], "TS_V_token": ["X86", "X86", "MVT::i1", "64"], "File": "X86ISelLowering1", "Func": "isShuffleMaskLegal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19109, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetIRAnalysis", "AArch64TargetMachine", "::", "getTargetIRAnalysis", "(", ")", "{", "return", "TargetIRAnalysis", "(", "[", "this", "]", "(", "const", "Function", "&", "F", ")", "{", "return", "TargetTransformInfo", "(", "AArch64TTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetIRAnalysis", "appropriate", "for", "the", "target", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine10", "Func": "getTargetIRAnalysis", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19110, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_expand_sve_const_vector_sel", "(", "rtx", "target", ",", "rtx", "src", ")", "{", "gcc_assert", "(", "CONST_VECTOR_NELTS_PER_PATTERN", "(", "src", ")", "==", "2", ")", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "src", ")", ";", "machine_mode", "pred_mode", "=", "aarch64_sve_pred_mode", "(", "mode", ")", ";", "unsigned", "int", "npatterns", "=", "CONST_VECTOR_NPATTERNS", "(", "src", ")", ";", "if", "(", "aarch64_svpattern_for_vl", "(", "pred_mode", ",", "npatterns", ")", "==", "AARCH64_NUM_SVPATTERNS", ")", "return", "NULL_RTX", ";", "rtx_vector_builder", "pred_builder", "(", "pred_mode", ",", "npatterns", ",", "2", ")", ";", "rtx_vector_builder", "true_builder", "(", "mode", ",", "npatterns", ",", "1", ")", ";", "rtx_vector_builder", "false_builder", "(", "mode", ",", "npatterns", ",", "1", ")", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "npatterns", ";", "++", "i", ")", "{", "true_builder", ".", "quick_push", "(", "CONST_VECTOR_ENCODED_ELT", "(", "src", ",", "i", ")", ")", ";", "pred_builder", ".", "quick_push", "(", "CONST1_RTX", "(", "BImode", ")", ")", ";", "}", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "npatterns", ";", "++", "i", ")", "{", "false_builder", ".", "quick_push", "(", "CONST_VECTOR_ENCODED_ELT", "(", "src", ",", "i", "+", "npatterns", ")", ")", ";", "pred_builder", ".", "quick_push", "(", "CONST0_RTX", "(", "BImode", ")", ")", ";", "}", "expand_operand", "ops", "[", "4", "]", ";", "create_output_operand", "(", "&", "ops", "[", "0", "]", ",", "target", ",", "mode", ")", ";", "create_input_operand", "(", "&", "ops", "[", "1", "]", ",", "true_builder", ".", "build", "(", ")", ",", "mode", ")", ";", "create_input_operand", "(", "&", "ops", "[", "2", "]", ",", "false_builder", ".", "build", "(", ")", ",", "mode", ")", ";", "create_input_operand", "(", "&", "ops", "[", "3", "]", ",", "pred_builder", ".", "build", "(", ")", ",", "pred_mode", ")", ";", "expand_insn", "(", "code_for_vcond_mask", "(", "mode", ",", "mode", ")", ",", "4", ",", "ops", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["SRC", "is", "an", "SVE", "CONST_VECTOR", "that", "contains", "N", "``", "foreground", "''", "values", "followed", "by", "N", "``", "background", "''", "values", ".", "Try", "to", "move", "it", "into", "TARGET", "using", ":", "PTRUE", "PRED.", "<", "T", ">", ",", "VL", "<", "N", ">", "MOV", "TRUE.", "<", "T", ">", ",", "#", "<", "foreground", ">", "MOV", "FALSE.", "<", "T", ">", ",", "#", "<", "background", ">", "SEL", "TARGET.", "<", "T", ">", ",", "PRED.", "<", "T", ">", ",", "TRUE.", "<", "T", ">", ",", "FALSE.", "<", "T", ">", "The", "PTRUE", "is", "always", "a", "single", "instruction", "but", "the", "MOVs", "might", "need", "a", "longer", "sequence", ".", "If", "the", "background", "value", "is", "zero", "(", "as", "it", "often", "is", ")", ",", "the", "sequence", "can", "sometimes", "collapse", "to", "a", "PTRUE", "followed", "by", "a", "zero-predicated", "move", ".", "Return", "the", "target", "on", "success", ",", "otherwise", "return", "null", "."], "TS_V_token": ["aarch64", "2", "2", "1", "1", "0", "0", "4", "0", "1", "2", "3", "4"], "File": "aarch641", "Func": "aarch64_expand_sve_const_vector_sel", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19111, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "cmse_nonsecure_entry_clear_before_return", "(", "void", ")", "{", "int", "regno", ",", "maxregno", "=", "TARGET_HARD_FLOAT", "?", "LAST_VFP_REGNUM", ":", "IP_REGNUM", ";", "uint32_t", "padding_bits_to_clear", "=", "0", ";", "auto_sbitmap", "to_clear_bitmap", "(", "maxregno", "+", "1", ")", ";", "rtx", "r1_reg", ",", "result_rtl", ",", "clearing_reg", "=", "NULL_RTX", ";", "tree", "result_type", ";", "bitmap_clear", "(", "to_clear_bitmap", ")", ";", "bitmap_set_range", "(", "to_clear_bitmap", ",", "R0_REGNUM", ",", "NUM_ARG_REGS", ")", ";", "bitmap_set_bit", "(", "to_clear_bitmap", ",", "IP_REGNUM", ")", ";", "if", "(", "TARGET_HARD_FLOAT", ")", "{", "int", "float_bits", "=", "D7_VFP_REGNUM", "-", "FIRST_VFP_REGNUM", "+", "1", ";", "bitmap_set_range", "(", "to_clear_bitmap", ",", "FIRST_VFP_REGNUM", ",", "float_bits", ")", ";", "emit_use", "(", "gen_rtx_REG", "(", "SImode", ",", "IP_REGNUM", ")", ")", ";", "bitmap_clear_bit", "(", "to_clear_bitmap", ",", "IP_REGNUM", ")", ";", "emit_use", "(", "gen_rtx_REG", "(", "SImode", ",", "4", ")", ")", ";", "bitmap_clear_bit", "(", "to_clear_bitmap", ",", "4", ")", ";", "}", "for", "(", "regno", "=", "NUM_ARG_REGS", ";", "regno", "<=", "maxregno", ";", "regno", "++", ")", "{", "if", "(", "IN_RANGE", "(", "regno", ",", "FIRST_VFP_REGNUM", ",", "D7_VFP_REGNUM", ")", ")", "continue", ";", "if", "(", "IN_RANGE", "(", "regno", ",", "IP_REGNUM", ",", "PC_REGNUM", ")", ")", "continue", ";", "if", "(", "call_used_regs", "[", "regno", "]", ")", "bitmap_set_bit", "(", "to_clear_bitmap", ",", "regno", ")", ";", "}", "result_type", "=", "TREE_TYPE", "(", "DECL_RESULT", "(", "current_function_decl", ")", ")", ";", "if", "(", "!", "VOID_TYPE_P", "(", "result_type", ")", ")", "{", "uint64_t", "to_clear_return_mask", ";", "result_rtl", "=", "arm_function_value", "(", "result_type", ",", "current_function_decl", ",", "0", ")", ";", "gcc_assert", "(", "REG_P", "(", "result_rtl", ")", ")", ";", "to_clear_return_mask", "=", "compute_not_to_clear_mask", "(", "result_type", ",", "result_rtl", ",", "0", ",", "&", "padding_bits_to_clear", ")", ";", "if", "(", "to_clear_return_mask", ")", "{", "gcc_assert", "(", "(", "unsigned", ")", "maxregno", "<", "sizeof", "(", "long", "long", ")", "*", "__CHAR_BIT__", ")", ";", "for", "(", "regno", "=", "R0_REGNUM", ";", "regno", "<=", "maxregno", ";", "regno", "++", ")", "{", "if", "(", "to_clear_return_mask", "&", "(", "1ULL", "<<", "regno", ")", ")", "bitmap_clear_bit", "(", "to_clear_bitmap", ",", "regno", ")", ";", "}", "}", "}", "if", "(", "padding_bits_to_clear", "!=", "0", ")", "{", "int", "to_clear_bitmap_size", "=", "SBITMAP_SIZE", "(", "(", "sbitmap", ")", "to_clear_bitmap", ")", ";", "auto_sbitmap", "to_clear_arg_regs_bitmap", "(", "to_clear_bitmap_size", ")", ";", "bitmap_clear", "(", "to_clear_arg_regs_bitmap", ")", ";", "bitmap_set_range", "(", "to_clear_arg_regs_bitmap", ",", "R1_REGNUM", ",", "NUM_ARG_REGS", "-", "1", ")", ";", "gcc_assert", "(", "bitmap_subset_p", "(", "to_clear_arg_regs_bitmap", ",", "to_clear_bitmap", ")", ")", ";", "}", "clearing_reg", "=", "gen_rtx_REG", "(", "SImode", ",", "TARGET_THUMB1", "?", "R0_REGNUM", ":", "LR_REGNUM", ")", ";", "r1_reg", "=", "gen_rtx_REG", "(", "SImode", ",", "R0_REGNUM", "+", "1", ")", ";", "cmse_clear_registers", "(", "to_clear_bitmap", ",", "&", "padding_bits_to_clear", ",", "1", ",", "r1_reg", ",", "clearing_reg", ")", ";", "}", ""], "natrual_language": ["Clear", "caller", "saved", "registers", "not", "used", "to", "pass", "return", "values", "and", "leaked", "condition", "flags", "before", "exiting", "a", "cmse_nonsecure_entry", "function", "."], "TS_V_token": ["arm", "0", "1", "1", "4", "4", "0", "0", "1ULL", "0", "1", "1", "1"], "File": "arm7", "Func": "cmse_nonsecure_entry_clear_before_return", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19112, "Length": 376, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmBackend", "::", "relaxInstruction", "(", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "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", "(", ")", ")", ";", "}", "Inst", ".", "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": "X86AsmBackend", "Func": "relaxInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19113, "Length": 94, "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", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "isLittle", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "CPU", ",", "Options", ",", "isLittle", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "TT", ",", "RM", ")", ",", "CM", ",", "OL", ")", ",", "TargetABI", "(", "computeTargetABI", "(", "TT", ",", "CPU", ",", "Options", ")", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ",", "isLittle", ")", ",", "isLittle", "(", "isLittle", ")", "{", "if", "(", "Options", ".", "FloatABIType", "==", "FloatABI", "::", "Default", ")", "this", "->", "Options", ".", "FloatABIType", "=", "Subtarget", ".", "isTargetHardFloat", "(", ")", "?", "FloatABI", "::", "Hard", ":", "FloatABI", "::", "Soft", ";", "if", "(", "Options", ".", "EABIVersion", "==", "EABI", "::", "Default", "||", "Options", ".", "EABIVersion", "==", "EABI", "::", "Unknown", ")", "{", "if", "(", "Subtarget", ".", "isTargetGNUAEABI", "(", ")", ")", "this", "->", "Options", ".", "EABIVersion", "=", "EABI", "::", "GNU", ";", "else", "this", "->", "Options", ".", "EABIVersion", "=", "EABI", "::", "EABI5", ";", "}", "}", ""], "natrual_language": ["Create", "an", "ARM", "architecture", "model", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMTargetMachine59", "Func": "ARMBaseTargetMachine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19114, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "MipsInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "InstrInfo", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsTargetMachine1", "Func": "getInstrInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19115, "Length": 17, "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": 19116, "Length": 33, "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\"", ",", "1", ",", "24", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_t2_ldst_pcrel_12\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "|", "MCFixupKindInfo", "::", "FKF_IsAlignedDownTo32Bits", "}", ",", "{", "\"fixup_arm_pcrel_10\"", ",", "1", ",", "24", ",", "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\"", ",", "1", ",", "24", ",", "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_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\"", "1", "24", "\"fixup_t2_ldst_pcrel_12\"", "0", "32", "\"fixup_arm_pcrel_10\"", "1", "24", "\"fixup_t2_pcrel_10\"", "0", "32", "\"fixup_thumb_adr_pcrel_10\"", "0", "8", "\"fixup_arm_adr_pcrel_12\"", "1", "24", "\"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_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": "ARMAsmBackend69", "Func": "getFixupKindInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19117, "Length": 370, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_can_change_mode_class", "(", "machine_mode", "from", ",", "machine_mode", "to", ",", "reg_class_t", "rclass", ")", "{", "if", "(", "TARGET_ARCH64", "&&", "GET_MODE_SIZE", "(", "from", ")", "==", "4", "&&", "GET_MODE_SIZE", "(", "to", ")", "!=", "4", ")", "return", "!", "reg_classes_intersect_p", "(", "rclass", ",", "FP_REGS", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CAN_CHANGE_MODE_CLASS", ".", "Borrowed", "from", "the", "PA", "port", ".", "SImode", "loads", "to", "floating-point", "registers", "are", "not", "zero-extended", ".", "The", "definition", "for", "LOAD_EXTEND_OP", "specifies", "that", "integer", "loads", "narrower", "than", "BITS_PER_WORD", "will", "be", "zero-extended", ".", "As", "a", "result", ",", "we", "inhibit", "changes", "from", "SImode", "unless", "they", "are", "to", "a", "mode", "that", "is", "identical", "in", "size", ".", "Likewise", "for", "SFmode", ",", "since", "word-mode", "paradoxical", "subregs", "are", "problematic", "on", "big-endian", "architectures", "."], "TS_V_token": ["sparc", "4", "4"], "File": "sparc", "Func": "sparc_can_change_mode_class", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19118, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "ARMBaseRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "ARMSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "const", "ARMFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "SP", ")", ";", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "PC", ")", ";", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "FPSCR", ")", ";", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "APSR_NZCV", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "getFramePointerReg", "(", "STI", ")", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "BasePtr", ")", ";", "if", "(", "STI", ".", "isR9Reserved", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "R9", ")", ";", "if", "(", "!", "STI", ".", "hasVFP3", "(", ")", "||", "STI", ".", "hasD16", "(", ")", ")", "{", "static_assert", "(", "ARM", "::", "D31", "==", "ARM", "::", "D16", "+", "15", ",", "\"Register list not consecutive!\"", ")", ";", "for", "(", "unsigned", "R", "=", "0", ";", "R", "<", "16", ";", "++", "R", ")", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "D16", "+", "R", ")", ";", "}", "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", ")", ")", "markSuperRegs", "(", "Reserved", ",", "*", "I", ")", ";", "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": ["ARM", "ARM", "ARM", "ARM", "ARM", "ARM::SP", "ARM::PC", "ARM::FPSCR", "ARM::APSR_NZCV", "ARM::R9", "ARM::D31", "ARM::D16", "15", "\"Register list not consecutive!\"", "0", "16", "ARM::D16", "ARM::GPRPairRegClass"], "File": "ARMBaseRegisterInfo10", "Func": "getReservedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19119, "Length": 275, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "AArch64InstrInfo", "::", "getMemScale", "(", "unsigned", "Opc", ")", "{", "switch", "(", "Opc", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Opcode has unknown scale!\"", ")", ";", "case", "AArch64", "::", "LDRBBui", ":", "case", "AArch64", "::", "LDURBBi", ":", "case", "AArch64", "::", "LDRSBWui", ":", "case", "AArch64", "::", "LDURSBWi", ":", "case", "AArch64", "::", "STRBBui", ":", "case", "AArch64", "::", "STURBBi", ":", "return", "1", ";", "case", "AArch64", "::", "LDRHHui", ":", "case", "AArch64", "::", "LDURHHi", ":", "case", "AArch64", "::", "LDRSHWui", ":", "case", "AArch64", "::", "LDURSHWi", ":", "case", "AArch64", "::", "STRHHui", ":", "case", "AArch64", "::", "STURHHi", ":", "return", "2", ";", "case", "AArch64", "::", "LDRSui", ":", "case", "AArch64", "::", "LDURSi", ":", "case", "AArch64", "::", "LDRSpre", ":", "case", "AArch64", "::", "LDRSWui", ":", "case", "AArch64", "::", "LDURSWi", ":", "case", "AArch64", "::", "LDRWpre", ":", "case", "AArch64", "::", "LDRWui", ":", "case", "AArch64", "::", "LDURWi", ":", "case", "AArch64", "::", "STRSui", ":", "case", "AArch64", "::", "STURSi", ":", "case", "AArch64", "::", "STRSpre", ":", "case", "AArch64", "::", "STRWui", ":", "case", "AArch64", "::", "STURWi", ":", "case", "AArch64", "::", "STRWpre", ":", "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", "::", "LDRDpre", ":", "case", "AArch64", "::", "LDRXui", ":", "case", "AArch64", "::", "LDURXi", ":", "case", "AArch64", "::", "LDRXpre", ":", "case", "AArch64", "::", "STRDui", ":", "case", "AArch64", "::", "STURDi", ":", "case", "AArch64", "::", "STRDpre", ":", "case", "AArch64", "::", "STRXui", ":", "case", "AArch64", "::", "STURXi", ":", "case", "AArch64", "::", "STRXpre", ":", "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", "::", "STRQpre", ":", "case", "AArch64", "::", "LDPQi", ":", "case", "AArch64", "::", "LDRQpre", ":", "case", "AArch64", "::", "STPQi", ":", "case", "AArch64", "::", "STGOffset", ":", "case", "AArch64", "::", "STZGOffset", ":", "case", "AArch64", "::", "ST2GOffset", ":", "case", "AArch64", "::", "STZ2GOffset", ":", "case", "AArch64", "::", "STGPi", ":", "return", "16", ";", "}", "}", ""], "natrual_language": ["Scaling", "factor", "for", "(", "scaled", "or", "unscaled", ")", "load", "or", "store", "."], "TS_V_token": ["AArch64", "AArch64", "\"Opcode has unknown scale!\"", "AArch64::LDRBBui", "AArch64::LDURBBi", "AArch64::LDRSBWui", "AArch64::LDURSBWi", "AArch64::STRBBui", "AArch64::STURBBi", "1", "AArch64::LDRHHui", "AArch64::LDURHHi", "AArch64::LDRSHWui", "AArch64::LDURSHWi", "AArch64::STRHHui", "AArch64::STURHHi", "2", "AArch64::LDRSui", "AArch64::LDURSi", "AArch64::LDRSpre", "AArch64::LDRSWui", "AArch64::LDURSWi", "AArch64::LDRWpre", "AArch64::LDRWui", "AArch64::LDURWi", "AArch64::STRSui", "AArch64::STURSi", "AArch64::STRSpre", "AArch64::STRWui", "AArch64::STURWi", "AArch64::STRWpre", "AArch64::LDPSi", "AArch64::LDPSWi", "AArch64::LDPWi", "AArch64::STPSi", "AArch64::STPWi", "4", "AArch64::LDRDui", "AArch64::LDURDi", "AArch64::LDRDpre", "AArch64::LDRXui", "AArch64::LDURXi", "AArch64::LDRXpre", "AArch64::STRDui", "AArch64::STURDi", "AArch64::STRDpre", "AArch64::STRXui", "AArch64::STURXi", "AArch64::STRXpre", "AArch64::LDPDi", "AArch64::LDPXi", "AArch64::STPDi", "AArch64::STPXi", "8", "AArch64::LDRQui", "AArch64::LDURQi", "AArch64::STRQui", "AArch64::STURQi", "AArch64::STRQpre", "AArch64::LDPQi", "AArch64::LDRQpre", "AArch64::STPQi", "AArch64::STGOffset", "AArch64::STZGOffset", "AArch64::ST2GOffset", "AArch64::STZ2GOffset", "AArch64::STGPi", "16"], "File": "AArch64InstrInfo105", "Func": "getMemScale", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19120, "Length": 338, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCRegisterInfo", "::", "lowerCRSpilling", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "unsigned", "FrameIndex", ",", "int", "SPAdj", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "DebugLoc", "dl", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "const", "TargetRegisterClass", "*", "G8RC", "=", "&", "PPC", "::", "G8RCRegClass", ";", "const", "TargetRegisterClass", "*", "GPRC", "=", "&", "PPC", "::", "GPRCRegClass", ";", "const", "TargetRegisterClass", "*", "RC", "=", "Subtarget", ".", "isPPC64", "(", ")", "?", "G8RC", ":", "GPRC", ";", "unsigned", "Reg", "=", "findScratchRegister", "(", "II", ",", "RS", ",", "RC", ",", "SPAdj", ")", ";", "unsigned", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MFCRpseud", ")", ",", "Reg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "isKill", "(", ")", ")", ")", ";", "if", "(", "SrcReg", "!=", "PPC", "::", "CR0", ")", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "RLWINM", ")", ",", "Reg", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "PPCRegisterInfo", "::", "getRegisterNumbering", "(", "SrcReg", ")", "*", "4", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "31", ")", ";", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "STW", ")", ")", ".", "addReg", "(", "Reg", ",", "getKillRegState", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ")", ")", ",", "FrameIndex", ")", ";", "MBB", ".", "erase", "(", "II", ")", ";", "}", ""], "natrual_language": ["lowerCRSpilling", "-", "Generate", "the", "code", "for", "spilling", "a", "CR", "register", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::G8RCRegClass", "PPC::GPRCRegClass", "PPC", "0", "PPC::MFCRpseud", "0", "PPC::CR0", "PPC::RLWINM", "PPC", "4", "0", "31", "PPC::STW", "1"], "File": "PPCRegisterInfo21", "Func": "lowerCRSpilling", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19121, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86IntelInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "uint64_t", "Address", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "raw_ostream", "&", "OS", ")", "{", "printInstFlags", "(", "MI", ",", "OS", ",", "STI", ")", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "X86", "::", "DATA16_PREFIX", "&&", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "Is16Bit", "]", ")", "{", "OS", "<<", "\"\\tdata32\"", ";", "}", "else", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "Address", ",", "OS", ")", "&&", "!", "printVecCompareInstr", "(", "MI", ",", "OS", ")", ")", "printInstruction", "(", "MI", ",", "Address", ",", "OS", ")", ";", "printAnnotation", "(", "OS", ",", "Annot", ")", ";", "if", "(", "CommentStream", ")", "EmitAnyX86InstComments", "(", "MI", ",", "*", "CommentStream", ",", "MII", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["X86", "X86", "X86::DATA16_PREFIX", "X86::Is16Bit", "\"\\tdata32\"", "X86"], "File": "X86IntelInstPrinter14", "Func": "printInst", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19122, "Length": 116, "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": 19123, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "XNCMTargetLowering", "::", "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", "::", "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", ")", ";", "default", ":", "llvm_unreachable", "(", "\"unimplemented operand\"", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["XNCM", "XNCM", "ISD::SHL", "ISD::SRL", "ISD::SRA", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::ExternalSymbol", "ISD::BR_CC", "ISD::SELECT_CC", "ISD::SIGN_EXTEND", "\"unimplemented operand\""], "File": "XNCMISelLowering", "Func": "LowerOperation", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19124, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isStridedAccess", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "return", "llvm", "::", "any_of", "(", "MI", ".", "memoperands", "(", ")", ",", "[", "]", "(", "MachineMemOperand", "*", "MMO", ")", "{", "return", "MMO", "->", "getFlags", "(", ")", "&", "MOStridedAccess", ";", "}", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "given", "load", "or", "store", "is", "a", "strided", "memory", "access", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64InstrInfo (2)", "Func": "isStridedAccess", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19125, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "SDValue", "getTruncateOrZeroExtend", "(", "SDValue", "V", ",", "SelectionDAG", "&", "DAG", ",", "MVT", "ToVT", ")", "{", "SDNodeTreeBuilder", "b", "(", "V", ",", "&", "DAG", ")", ";", "MVT", "VT", "=", "V", ".", "getSimpleValueType", "(", ")", ";", "if", "(", "VT", ".", "bitsLT", "(", "ToVT", ")", ")", "return", "b", ".", "ZERO_EXTEND", "(", "V", ",", "ToVT", ")", ";", "else", "if", "(", "VT", ".", "bitsGT", "(", "ToVT", ")", ")", "return", "b", ".", "TRUNCATE", "(", "V", ",", "ToVT", ")", ";", "return", "V", ";", "}", ""], "natrual_language": ["Return", "a", "SCEV", "corresponding", "to", "a", "conversion", "of", "the", "input", "value", "to", "the", "specified", "type", "."], "TS_V_token": ["X86"], "File": "X86ParabixISelLowering", "Func": "getTruncateOrZeroExtend", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19126, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_unspec2", "(", "rtx", "target", ",", "int", "code", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "target", ",", "gen_rtx_UNSPEC", "(", "GET_MODE", "(", "target", ")", ",", "gen_rtvec", "(", "2", ",", "op0", ",", "op1", ")", ",", "code", ")", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "(", "set", "TARGET", "(", "unspec", "[", "OP0", "OP1", "]", "CODE", ")", ")", "."], "TS_V_token": ["aarch64", "2"], "File": "aarch64", "Func": "emit_unspec2", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19127, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ix86_atom_sched_reorder", "(", "FILE", "*", "dump", ",", "int", "sched_verbose", ",", "rtx_insn", "*", "*", "ready", ",", "int", "*", "pn_ready", ",", "int", "clock_var", ")", "{", "int", "issue_rate", "=", "-", "1", ";", "int", "n_ready", "=", "*", "pn_ready", ";", "int", "i", ";", "rtx_insn", "*", "insn", ";", "int", "index", "=", "-", "1", ";", "issue_rate", "=", "ix86_issue_rate", "(", ")", ";", "if", "(", "!", "TARGET_CPU_P", "(", "BONNELL", ")", "&&", "!", "TARGET_CPU_P", "(", "SILVERMONT", ")", "&&", "!", "TARGET_CPU_P", "(", "INTEL", ")", ")", "return", "issue_rate", ";", "if", "(", "n_ready", "<=", "1", ")", "return", "issue_rate", ";", "if", "(", "!", "reload_completed", ")", "return", "issue_rate", ";", "if", "(", "(", "index", "=", "do_reorder_for_imul", "(", "ready", ",", "n_ready", ")", ")", ">=", "0", ")", "{", "if", "(", "sched_verbose", ">", "1", ")", "fprintf", "(", "dump", ",", "\";;\\tatom sched_reorder: put %d insn on top\\n\"", ",", "INSN_UID", "(", "ready", "[", "index", "]", ")", ")", ";", "insn", "=", "ready", "[", "index", "]", ";", "for", "(", "i", "=", "index", ";", "i", "<", "n_ready", "-", "1", ";", "i", "++", ")", "ready", "[", "i", "]", "=", "ready", "[", "i", "+", "1", "]", ";", "ready", "[", "n_ready", "-", "1", "]", "=", "insn", ";", "return", "issue_rate", ";", "}", "if", "(", "clock_var", "!=", "0", "&&", "!", "sel_sched_p", "(", ")", "&&", "swap_top_of_ready_list", "(", "ready", ",", "n_ready", ")", ")", "{", "if", "(", "sched_verbose", ">", "1", ")", "fprintf", "(", "dump", ",", "\";;\\tslm sched_reorder: swap %d and %d insns\\n\"", ",", "INSN_UID", "(", "ready", "[", "n_ready", "-", "1", "]", ")", ",", "INSN_UID", "(", "ready", "[", "n_ready", "-", "2", "]", ")", ")", ";", "insn", "=", "ready", "[", "n_ready", "-", "1", "]", ";", "ready", "[", "n_ready", "-", "1", "]", "=", "ready", "[", "n_ready", "-", "2", "]", ";", "ready", "[", "n_ready", "-", "2", "]", "=", "insn", ";", "}", "return", "issue_rate", ";", "}", ""], "natrual_language": ["Perform", "possible", "reodering", "of", "ready", "list", "for", "Atom/Silvermont", "only", ".", "Return", "issue", "rate", "."], "TS_V_token": ["i386", "1", "1", "1", "0", "1", "\";;\\tatom sched_reorder: put %d insn on top\\n\"", "1", "1", "1", "0", "1", "\";;\\tslm sched_reorder: swap %d and %d insns\\n\"", "1", "2", "1", "1", "2", "2"], "File": "x86-tune-sched-atom", "Func": "ix86_atom_sched_reorder", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19128, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_split_128bit_move_p", "(", "rtx", "dst", ",", "rtx", "src", ")", "{", "return", "(", "!", "REG_P", "(", "src", ")", "||", "!", "(", "FP_REGNUM_P", "(", "REGNO", "(", "dst", ")", ")", "&&", "FP_REGNUM_P", "(", "REGNO", "(", "src", ")", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "should", "split", "a", "move", "from", "128-bit", "value", "SRC", "to", "128-bit", "register", "DEST", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_split_128bit_move_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19129, "Length": 39, "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": ["LC2200"], "File": "LC2200AsmParser", "Func": "getStartLoc", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19130, "Length": 11, "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", ")", "{", "emitThumbRegPlusImmediate", "(", "MBB", ",", "MBBI", ",", "dl", ",", "ARM", "::", "SP", ",", "ARM", "::", "SP", ",", "NumBytes", ",", "TII", ",", "MRI", ")", ";", "}", ""], "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": "Thumb1RegisterInfo15", "Func": "emitSPUpdate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19131, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Sparc", "::", "Fixups", "getFixupKind", "(", ")", "const", "{", "return", "getFixupKind", "(", "Kind", ")", ";", "}", ""], "natrual_language": ["getFixupKind", "-", "Get", "the", "fixup", "kind", "of", "this", "expression", "."], "TS_V_token": ["Sparc", "Sparc::Fixups"], "File": "SparcMCExpr", "Func": "getFixupKind", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19132, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "ARMSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "const", "ARMFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "return", "getFramePointerReg", "(", "STI", ")", ";", "return", "ARM", "::", "SP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM", "ARM::SP"], "File": "ARMBaseRegisterInfo10", "Func": "getFrameRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19133, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMMCCodeEmitter", "::", "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", ")", ";", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "ARM", "::", "HasMVEIntegerOps", "]", ")", "return", "RegNo", ";", "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!\"", ")", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["ARM", "ARM", "ARM::HasMVEIntegerOps", "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!\""], "File": "ARMMCCodeEmitter16", "Func": "getMachineOpValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19134, "Length": 244, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "dump", "(", ")", "{", "errs", "(", ")", "<<", "\"XNCMISelAddressMode \"", "<<", "this", "<<", "'\\n'", ";", "if", "(", "BaseType", "==", "RegBase", "&&", "Base", ".", "Reg", ".", "getNode", "(", ")", "!=", "0", ")", "{", "errs", "(", ")", "<<", "\"Base.Reg \"", ";", "Base", ".", "Reg", ".", "getNode", "(", ")", "->", "dump", "(", ")", ";", "}", "else", "if", "(", "BaseType", "==", "FrameIndexBase", ")", "{", "errs", "(", ")", "<<", "\" Base.FrameIndex \"", "<<", "Base", ".", "FrameIndex", "<<", "'\\n'", ";", "}", "errs", "(", ")", "<<", "\" Disp \"", "<<", "Disp", "<<", "'\\n'", ";", "if", "(", "GV", ")", "{", "errs", "(", ")", "<<", "\"GV \"", ";", "GV", "->", "dump", "(", ")", ";", "}", "else", "if", "(", "CP", ")", "{", "errs", "(", ")", "<<", "\" CP \"", ";", "CP", "->", "dump", "(", ")", ";", "errs", "(", ")", "<<", "\" Align\"", "<<", "Align", "<<", "'\\n'", ";", "}", "else", "if", "(", "ES", ")", "{", "errs", "(", ")", "<<", "\"ES \"", ";", "errs", "(", ")", "<<", "ES", "<<", "'\\n'", ";", "}", "else", "if", "(", "JT", "!=", "-", "1", ")", "errs", "(", ")", "<<", "\" JT\"", "<<", "JT", "<<", "\" Align\"", "<<", "Align", "<<", "'\\n'", ";", "}", ""], "natrual_language": ["Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "."], "TS_V_token": ["XNCM", "\"XNCMISelAddressMode \"", "0", "\"Base.Reg \"", "\" Base.FrameIndex \"", "\" Disp \"", "\"GV \"", "\" CP \"", "\" Align\"", "\"ES \"", "1", "\" JT\"", "\" Align\""], "File": "XNCMISelDAGToDAG", "Func": "dump", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19135, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "vax_maybe_split_dimode_move", "(", "rtx", "*", "operands", ")", "{", "return", "(", "TARGET_QMATH", "&&", "(", "!", "MEM_P", "(", "operands", "[", "0", "]", ")", "||", "GET_CODE", "(", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ")", "==", "PRE_DEC", "||", "GET_CODE", "(", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ")", "==", "POST_INC", "||", "!", "illegal_addsub_di_memory_operand", "(", "operands", "[", "0", "]", ",", "DImode", ")", ")", "&&", "(", "(", "CONST_INT_P", "(", "operands", "[", "1", "]", ")", "&&", "(", "unsigned", "HOST_WIDE_INT", ")", "INTVAL", "(", "operands", "[", "1", "]", ")", ">=", "64", ")", "||", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "CONST_DOUBLE", ")", ")", ";", "}", ""], "natrual_language": ["Output", "integer", "move", "instructions", "."], "TS_V_token": ["vax", "0", "0", "0", "0", "0", "0", "1", "1", "64", "1"], "File": "vax", "Func": "vax_maybe_split_dimode_move", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19136, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "PPCSubtarget", "*", "getSubtargetImpl", "(", ")", "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": ["PowerPC", "PPC"], "File": "PPCTargetMachine15", "Func": "getSubtargetImpl", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19137, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "UnwindOpcodeAssembler", "::", "Finalize", "(", "unsigned", "&", "PersonalityIndex", ",", "SmallVectorImpl", "<", "uint8_t", ">", "&", "Result", ")", "{", "UnwindOpcodeStreamer", "OpStreamer", "(", "Result", ")", ";", "if", "(", "HasPersonality", ")", "{", "PersonalityIndex", "=", "ARM", "::", "EHABI", "::", "NUM_PERSONALITY_INDEX", ";", "size_t", "TotalSize", "=", "Ops", ".", "size", "(", ")", "+", "1", ";", "size_t", "RoundUpSize", "=", "(", "TotalSize", "+", "3", ")", "/", "4", "*", "4", ";", "Result", ".", "resize", "(", "RoundUpSize", ")", ";", "OpStreamer", ".", "EmitSize", "(", "RoundUpSize", ")", ";", "}", "else", "{", "if", "(", "PersonalityIndex", "==", "ARM", "::", "EHABI", "::", "NUM_PERSONALITY_INDEX", ")", "PersonalityIndex", "=", "(", "Ops", ".", "size", "(", ")", "<=", "3", ")", "?", "ARM", "::", "EHABI", "::", "AEABI_UNWIND_CPP_PR0", ":", "ARM", "::", "EHABI", "::", "AEABI_UNWIND_CPP_PR1", ";", "if", "(", "PersonalityIndex", "==", "ARM", "::", "EHABI", "::", "AEABI_UNWIND_CPP_PR0", ")", "{", "assert", "(", "Ops", ".", "size", "(", ")", "<=", "3", "&&", "\"too many opcodes for __aeabi_unwind_cpp_pr0\"", ")", ";", "Result", ".", "resize", "(", "4", ")", ";", "OpStreamer", ".", "EmitPersonalityIndex", "(", "PersonalityIndex", ")", ";", "}", "else", "{", "size_t", "TotalSize", "=", "Ops", ".", "size", "(", ")", "+", "2", ";", "size_t", "RoundUpSize", "=", "(", "TotalSize", "+", "3", ")", "/", "4", "*", "4", ";", "Result", ".", "resize", "(", "RoundUpSize", ")", ";", "OpStreamer", ".", "EmitPersonalityIndex", "(", "PersonalityIndex", ")", ";", "OpStreamer", ".", "EmitSize", "(", "RoundUpSize", ")", ";", "}", "}", "for", "(", "size_t", "i", "=", "OpBegins", ".", "size", "(", ")", "-", "1", ";", "i", ">", "0", ";", "--", "i", ")", "for", "(", "size_t", "j", "=", "OpBegins", "[", "i", "-", "1", "]", ",", "end", "=", "OpBegins", "[", "i", "]", ";", "j", "<", "end", ";", "++", "j", ")", "OpStreamer", ".", "EmitByte", "(", "Ops", "[", "j", "]", ")", ";", "OpStreamer", ".", "FillFinishOpcode", "(", ")", ";", "Reset", "(", ")", ";", "}", ""], "natrual_language": ["Finalize", "the", "unwind", "opcode", "sequence", "for", "emitBytes", "(", ")"], "TS_V_token": ["ARM", "ARM::EHABI", "1", "3", "4", "4", "ARM::EHABI", "3", "ARM::EHABI", "ARM::EHABI", "ARM::EHABI", "3", "\"too many opcodes for __aeabi_unwind_cpp_pr0\"", "4", "2", "3", "4", "4", "1", "0", "1"], "File": "ARMUnwindOpAsm (2)", "Func": "Finalize", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19138, "Length": 266, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arm_expand_neon_builtin", "(", "int", "fcode", ",", "tree", "exp", ",", "rtx", "target", ")", "{", "if", "(", "fcode", ">=", "ARM_BUILTIN_NEON_BASE", "&&", "!", "TARGET_NEON", ")", "{", "fatal_error", "(", "input_location", ",", "\"You must enable NEON instructions\"", "\" (e.g. %<-mfloat-abi=softfp%> %<-mfpu=neon%>)\"", "\" to use these intrinsics.\"", ")", ";", "return", "const0_rtx", ";", "}", "arm_builtin_datum", "*", "d", "=", "&", "neon_builtin_data", "[", "fcode", "-", "ARM_BUILTIN_NEON_PATTERN_START", "]", ";", "return", "arm_expand_builtin_1", "(", "fcode", ",", "exp", ",", "target", ",", "d", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "Neon", "builtin", ",", "i.e", ".", "those", "registered", "only", "if", "TARGET_NEON", "holds", ".", "Most", "of", "these", "are", "``", "special", "''", "because", "they", "do", "n't", "have", "symbolic", "constants", "defined", "per-instruction", "or", "per", "instruction-variant", ".", "Instead", ",", "the", "required", "info", "is", "looked", "up", "in", "the", "table", "neon_builtin_data", "."], "TS_V_token": ["arm", "\"You must enable NEON instructions\"", "\" (e.g. %<-mfloat-abi=softfp%> %<-mfpu=neon%>)\"", "\" to use these intrinsics.\""], "File": "arm-builtins", "Func": "arm_expand_neon_builtin", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19139, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "gen_shifty_op", "(", "int", "code", ",", "rtx", "*", "operands", ")", "{", "int", "value", "=", "INTVAL", "(", "operands", "[", "2", "]", ")", ";", "int", "max", ",", "i", ";", "value", "=", "value", "&", "31", ";", "if", "(", "value", "==", "31", ")", "{", "if", "(", "code", "==", "LSHIFTRT", ")", "{", "emit_insn", "(", "gen_rotlsi3_1", "(", "operands", "[", "0", "]", ",", "operands", "[", "0", "]", ")", ")", ";", "emit_insn", "(", "gen_movt", "(", "operands", "[", "0", "]", ",", "get_t_reg_rtx", "(", ")", ")", ")", ";", "return", ";", "}", "else", "if", "(", "code", "==", "ASHIFT", ")", "{", "if", "(", "REG_P", "(", "operands", "[", "0", "]", ")", "&&", "REGNO", "(", "operands", "[", "0", "]", ")", "==", "0", ")", "{", "emit_insn", "(", "gen_andsi3", "(", "operands", "[", "0", "]", ",", "operands", "[", "0", "]", ",", "const1_rtx", ")", ")", ";", "emit_insn", "(", "gen_rotlsi3_31", "(", "operands", "[", "0", "]", ",", "operands", "[", "0", "]", ")", ")", ";", "return", ";", "}", "}", "}", "else", "if", "(", "value", "==", "0", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "operands", "[", "0", "]", ",", "operands", "[", "0", "]", ")", ")", ";", "return", ";", "}", "max", "=", "ashl_lshr_seq", "[", "value", "]", ".", "insn_count", ";", "for", "(", "i", "=", "0", ";", "i", "<", "max", ";", "i", "++", ")", "gen_ashift", "(", "code", ",", "ashl_lshr_seq", "[", "value", "]", ".", "amount", "[", "i", "]", ",", "operands", "[", "0", "]", ")", ";", "}", ""], "natrual_language": ["Output", "RTL", "to", "split", "a", "constant", "shift", "into", "its", "component", "SH", "constant", "shift", "instructions", "."], "TS_V_token": ["sh", "2", "31", "31", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"], "File": "sh", "Func": "gen_shifty_op", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19140, "Length": 219, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mmix_file_end", "(", "void", ")", "{", "data_section", "(", ")", ";", "}", ""], "natrual_language": ["TARGET_ASM_FILE_END", "."], "TS_V_token": ["mmix"], "File": "mmix3", "Func": "mmix_file_end", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19141, "Length": 12, "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": 19142, "Length": 386, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMElfTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "bool", "isAAPCS_ABI", "=", "static_cast", "<", "const", "ARMTargetMachine", "&", ">", "(", "TM", ")", ".", "TargetABI", "==", "ARMTargetMachine", "::", "ARMABI", "::", "ARM_ABI_AAPCS", ";", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "InitializeELF", "(", "isAAPCS_ABI", ")", ";", "if", "(", "isAAPCS_ABI", "&&", "!", "Triple", "(", "TM", ".", "getTargetTriple", "(", ")", ")", ".", "isOSNaCl", "(", ")", ")", "{", "LSDASection", "=", "nullptr", ";", "}", "AttributesSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".ARM.attributes\"", ",", "ELF", "::", "SHT_ARM_ATTRIBUTES", ",", "0", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARMABI::ARM_ABI_AAPCS", "\".ARM.attributes\"", "ARM", "0"], "File": "ARMTargetObjectFile32", "Func": "Initialize", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19143, "Length": 92, "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": 19144, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCRegisterInfo", "::", "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", "->", "hasCalls", "(", ")", "&&", "(", "!", "ALIGN_STACK", "||", "MaxAlign", "<=", "TargetAlign", ")", ")", "{", "MFI", "->", "setStackSize", "(", "0", ")", ";", "return", ";", "}", "unsigned", "maxCallFrameSize", "=", "MFI", "->", "getMaxCallFrameSize", "(", ")", ";", "unsigned", "minCallFrameSize", "=", "PPCFrameInfo", "::", "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", "PPC"], "File": "PPCRegisterInfo5", "Func": "determineFrameLayout", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19145, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "AArch64TargetLowering", "::", "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", "::", "aarch64_ldaxp", ":", "Intrinsic", "::", "aarch64_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", "::", "aarch64_ldaxr", ":", "Intrinsic", "::", "aarch64_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": ["AArch64", "AArch64", "128", "Intrinsic::ID", "Intrinsic::aarch64_ldaxp", "Intrinsic::aarch64_ldxp", "Intrinsic::getDeclaration", "\"lohi\"", "0", "\"lo\"", "1", "\"hi\"", "\"lo64\"", "\"hi64\"", "64", "\"val64\"", "Intrinsic::ID", "Intrinsic::aarch64_ldaxr", "Intrinsic::aarch64_ldxr", "Intrinsic::getDeclaration"], "File": "AArch64ISelLowering23", "Func": "emitLoadLinked", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19146, "Length": 311, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "AArch64TargetLowering", "::", "shouldExpandAtomicCmpXchgInIR", "(", "AtomicCmpXchgInst", "*", "AI", ")", "const", "{", "if", "(", "Subtarget", "->", "hasLSE", "(", ")", ")", "return", "AtomicExpansionKind", "::", "None", ";", "if", "(", "getTargetMachine", "(", ")", ".", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ")", "return", "AtomicExpansionKind", "::", "None", ";", "return", "AtomicExpansionKind", "::", "LLSC", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "atomic", "cmpxchg", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ISelLowering129", "Func": "shouldExpandAtomicCmpXchgInIR", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19147, "Length": 51, "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": 19148, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_unary_operator", "(", "enum", "rtx_code", "code", ",", "enum", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ")", "{", "int", "matching_memory", ";", "rtx", "src", ",", "dst", ",", "op", ",", "clob", ";", "dst", "=", "operands", "[", "0", "]", ";", "src", "=", "operands", "[", "1", "]", ";", "matching_memory", "=", "0", ";", "if", "(", "MEM_P", "(", "dst", ")", ")", "{", "if", "(", "rtx_equal_p", "(", "dst", ",", "src", ")", ")", "matching_memory", "=", "1", ";", "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", "0", "1", "2", "0", "0"], "File": "i3863", "Func": "ix86_expand_unary_operator", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19149, "Length": 190, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_parallel_return", "(", "machine_mode", "mode", ",", "int", "n_elts", ",", "machine_mode", "elt_mode", ",", "unsigned", "int", "regno", ",", "unsigned", "int", "reg_stride", ")", "{", "rtx", "par", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "rtvec_alloc", "(", "n_elts", ")", ")", ";", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n_elts", ";", "i", "++", ")", "{", "rtx", "r", "=", "gen_rtx_REG", "(", "elt_mode", ",", "regno", ")", ";", "rtx", "off", "=", "GEN_INT", "(", "i", "*", "GET_MODE_SIZE", "(", "elt_mode", ")", ")", ";", "XVECEXP", "(", "par", ",", "0", ",", "i", ")", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "r", ",", "off", ")", ";", "regno", "+=", "reg_stride", ";", "}", "return", "par", ";", "}", ""], "natrual_language": ["Return", "an", "rtx", "describing", "a", "return", "value", "of", "MODE", "as", "a", "PARALLEL", "in", "N_ELTS", "registers", ",", "each", "of", "mode", "ELT_MODE", ",", "starting", "at", "REGNO", ",", "stride", "REG_STRIDE", "."], "TS_V_token": ["rs6000", "0", "0"], "File": "rs6000", "Func": "rs6000_parallel_return", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19150, "Length": 102, "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": ["Mips"], "File": "MipsTargetMachine19", "Func": "getDataLayout", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19151, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "init_cumulative_args", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "tree", "fntype", ",", "rtx", "libname", "ATTRIBUTE_UNUSED", ",", "int", "incoming", ",", "int", "libcall", ",", "int", "n_named_args", ",", "tree", "fndecl", "ATTRIBUTE_UNUSED", ",", "machine_mode", "return_mode", "ATTRIBUTE_UNUSED", ")", "{", "static", "CUMULATIVE_ARGS", "zero_cumulative", ";", "*", "cum", "=", "zero_cumulative", ";", "cum", "->", "words", "=", "0", ";", "cum", "->", "fregno", "=", "FP_ARG_MIN_REG", ";", "cum", "->", "vregno", "=", "ALTIVEC_ARG_MIN_REG", ";", "cum", "->", "prototype", "=", "(", "fntype", "&&", "prototype_p", "(", "fntype", ")", ")", ";", "cum", "->", "call_cookie", "=", "(", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "libcall", ")", "?", "CALL_LIBCALL", ":", "CALL_NORMAL", ")", ";", "cum", "->", "sysv_gregno", "=", "GP_ARG_MIN_REG", ";", "cum", "->", "stdarg", "=", "stdarg_p", "(", "fntype", ")", ";", "cum", "->", "libcall", "=", "libcall", ";", "cum", "->", "nargs_prototype", "=", "0", ";", "if", "(", "incoming", "||", "cum", "->", "prototype", ")", "cum", "->", "nargs_prototype", "=", "n_named_args", ";", "if", "(", "(", "!", "fntype", "&&", "rs6000_default_long_calls", ")", "||", "(", "fntype", "&&", "lookup_attribute", "(", "\"longcall\"", ",", "TYPE_ATTRIBUTES", "(", "fntype", ")", ")", "&&", "!", "lookup_attribute", "(", "\"shortcall\"", ",", "TYPE_ATTRIBUTES", "(", "fntype", ")", ")", ")", ")", "cum", "->", "call_cookie", "|=", "CALL_LONG", ";", "if", "(", "TARGET_DEBUG_ARG", ")", "{", "fprintf", "(", "stderr", ",", "\"\\ninit_cumulative_args:\"", ")", ";", "if", "(", "fntype", ")", "{", "tree", "ret_type", "=", "TREE_TYPE", "(", "fntype", ")", ";", "fprintf", "(", "stderr", ",", "\" ret code = %s,\"", ",", "get_tree_code_name", "(", "TREE_CODE", "(", "ret_type", ")", ")", ")", ";", "}", "if", "(", "cum", "->", "call_cookie", "&", "CALL_LONG", ")", "fprintf", "(", "stderr", ",", "\" longcall,\"", ")", ";", "fprintf", "(", "stderr", ",", "\" proto = %d, nargs = %d\\n\"", ",", "cum", "->", "prototype", ",", "cum", "->", "nargs_prototype", ")", ";", "}", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", ")", "{", "cum", "->", "escapes", "=", "call_ABI_of_interest", "(", "fndecl", ")", ";", "if", "(", "cum", "->", "escapes", ")", "{", "tree", "return_type", ";", "if", "(", "fntype", ")", "{", "return_type", "=", "TREE_TYPE", "(", "fntype", ")", ";", "return_mode", "=", "TYPE_MODE", "(", "return_type", ")", ";", "}", "else", "return_type", "=", "lang_hooks", ".", "types", ".", "type_for_mode", "(", "return_mode", ",", "0", ")", ";", "if", "(", "return_type", "!=", "NULL", ")", "{", "if", "(", "TREE_CODE", "(", "return_type", ")", "==", "RECORD_TYPE", "&&", "TYPE_TRANSPARENT_AGGR", "(", "return_type", ")", ")", "{", "return_type", "=", "TREE_TYPE", "(", "first_field", "(", "return_type", ")", ")", ";", "return_mode", "=", "TYPE_MODE", "(", "return_type", ")", ";", "}", "if", "(", "AGGREGATE_TYPE_P", "(", "return_type", ")", "&&", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "int_size_in_bytes", "(", "return_type", ")", "<=", "8", ")", ")", "rs6000_returns_struct", "=", "true", ";", "}", "if", "(", "SCALAR_FLOAT_MODE_NOT_VECTOR_P", "(", "return_mode", ")", ")", "rs6000_passes_float", "=", "true", ";", "else", "if", "(", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "return_mode", ")", "||", "SPE_VECTOR_MODE", "(", "return_mode", ")", ")", "rs6000_passes_vector", "=", "true", ";", "}", "}", "if", "(", "fntype", "&&", "!", "TARGET_ALTIVEC", "&&", "TARGET_ALTIVEC_ABI", "&&", "ALTIVEC_VECTOR_MODE", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "fntype", ")", ")", ")", ")", "{", "error", "(", "\"cannot return value in vector register because\"", "\" altivec instructions are disabled, use -maltivec\"", "\" to enable them\"", ")", ";", "}", "}", ""], "natrual_language": ["Handle", "the", "INIT_CUMULATIVE_ARGS", "macro", ".", "Initialize", "a", "variable", "CUM", "of", "type", "CUMULATIVE_ARGS", "for", "a", "call", "to", "a", "function", "whose", "data", "type", "is", "FNTYPE", ".", "For", "a", "library", "call", ",", "FNTYPE", "is", "0", "."], "TS_V_token": ["rs6000", "0", "0", "\"longcall\"", "\"shortcall\"", "\"\\ninit_cumulative_args:\"", "\" ret code = %s,\"", "\" longcall,\"", "\" proto = %d, nargs = %d\\n\"", "0", "8", "\"cannot return value in vector register because\"", "\" altivec instructions are disabled, use -maltivec\"", "\" to enable them\""], "File": "rs60005", "Func": "init_cumulative_args", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19152, "Length": 428, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "SparcMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "SparcMachineFunctionInfo", ">", "(", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "SparcInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "SparcInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "int", "NumBytes", "=", "(", "int", ")", "MFI", "->", "getStackSize", "(", ")", ";", "unsigned", "SAVEri", "=", "SP", "::", "SAVEri", ";", "unsigned", "SAVErr", "=", "SP", "::", "SAVErr", ";", "if", "(", "FuncInfo", "->", "isLeafProc", "(", ")", ")", "{", "if", "(", "NumBytes", "==", "0", ")", "return", ";", "SAVEri", "=", "SP", "::", "ADDri", ";", "SAVErr", "=", "SP", "::", "ADDrr", ";", "}", "NumBytes", "=", "-", "MF", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "SparcSubtarget", ">", "(", ")", ".", "getAdjustedFrameSize", "(", "NumBytes", ")", ";", "emitSPAdjustment", "(", "MF", ",", "MBB", ",", "MBBI", ",", "NumBytes", ",", "SAVErr", ",", "SAVEri", ")", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "MCRegisterInfo", "*", "MRI", "=", "MMI", ".", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "regFP", "=", "MRI", "->", "getDwarfRegNum", "(", "SP", "::", "I6", ",", "true", ")", ";", "unsigned", "CFIIndex", "=", "MMI", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createDefCfaRegister", "(", "nullptr", ",", "regFP", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "CFIIndex", "=", "MMI", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createWindowSave", "(", "nullptr", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "unsigned", "regInRA", "=", "MRI", "->", "getDwarfRegNum", "(", "SP", "::", "I7", ",", "true", ")", ";", "unsigned", "regOutRA", "=", "MRI", "->", "getDwarfRegNum", "(", "SP", "::", "O7", ",", "true", ")", ";", "CFIIndex", "=", "MMI", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createRegister", "(", "nullptr", ",", "regOutRA", ",", "regInRA", ")", ")", ";", "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": ["Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "SP::SAVEri", "SP::SAVErr", "0", "SP::ADDri", "SP::ADDrr", "Sparc", "SP", "SP::I6", "SP::I7", "SP::O7"], "File": "SparcFrameLowering45", "Func": "emitPrologue", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19153, "Length": 378, "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": ["CJG"], "File": "CJGSubtarget", "Func": "getRegisterInfo", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19154, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMSubtarget", "::", "enableMachineScheduler", "(", ")", "const", "{", "if", "(", "isMClass", "(", ")", "&&", "hasMinSize", "(", ")", ")", "return", "false", ";", "return", "useMachineScheduler", "(", ")", ";", "}", ""], "natrual_language": ["Enable", "the", "MachineScheduler", "pass", "for", "all", "X86", "subtargets", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMSubtarget14", "Func": "enableMachineScheduler", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19155, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCSubtarget", "::", "enablePostRAScheduler", "(", "CodeGenOpt", "::", "Level", "OptLevel", ",", "TargetSubtargetInfo", "::", "AntiDepBreakMode", "&", "Mode", ",", "RegClassVector", "&", "CriticalPathRCs", ")", "const", "{", "Mode", "=", "TargetSubtargetInfo", "::", "ANTIDEP_CRITICAL", ";", "CriticalPathRCs", ".", "clear", "(", ")", ";", "if", "(", "isPPC64", "(", ")", ")", "CriticalPathRCs", ".", "push_back", "(", "&", "PPC", "::", "G8RCRegClass", ")", ";", "else", "CriticalPathRCs", ".", "push_back", "(", "&", "PPC", "::", "GPRCRegClass", ")", ";", "CriticalPathRCs", ".", "push_back", "(", "&", "PPC", "::", "F8RCRegClass", ")", ";", "CriticalPathRCs", ".", "push_back", "(", "&", "PPC", "::", "VRRCRegClass", ")", ";", "return", "OptLevel", ">=", "CodeGenOpt", "::", "Default", ";", "}", ""], "natrual_language": ["True", "if", "the", "subtarget", "should", "run", "a", "scheduler", "after", "register", "allocation", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::G8RCRegClass", "PPC::GPRCRegClass", "PPC::F8RCRegClass", "PPC::VRRCRegClass"], "File": "PPCSubtarget11", "Func": "enablePostRAScheduler", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19156, "Length": 89, "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", "ADDu", "=", "ABI", ".", "GetPtrAdduOp", "(", ")", ";", "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", "(", "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", ")", ";", "}", "}", "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"], "File": "MipsSEFrameLowering24", "Func": "emitEpilogue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19157, "Length": 349, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "unsigned", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "unsigned", "MatchResult", ";", "MatchResult", "=", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ";", "switch", "(", "MatchResult", ")", "{", "default", ":", "break", ";", "case", "Match_Success", ":", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "Out", ".", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "return", "false", ";", "case", "Match_MissingFeature", ":", "{", "assert", "(", "ErrorInfo", "&&", "\"Unknown missing feature!\"", ")", ";", "std", "::", "string", "Msg", "=", "\"instruction requires:\"", ";", "unsigned", "Mask", "=", "1", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "sizeof", "(", "ErrorInfo", ")", "*", "8", "-", "1", ";", "++", "I", ")", "{", "if", "(", "ErrorInfo", "&", "Mask", ")", "{", "Msg", "+=", "\" \"", ";", "Msg", "+=", "getSubtargetFeatureName", "(", "ErrorInfo", "&", "Mask", ")", ";", "}", "Mask", "<<=", "1", ";", "}", "return", "Error", "(", "IDLoc", ",", "Msg", ")", ";", "}", "case", "Match_InvalidOperand", ":", "{", "SMLoc", "ErrorLoc", "=", "IDLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "0U", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "IDLoc", ",", "\"too few operands for instruction\"", ")", ";", "ErrorLoc", "=", "(", "(", "SystemZOperand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "\"invalid operand for instruction\"", ")", ";", "}", "case", "Match_MnemonicFail", ":", "return", "Error", "(", "IDLoc", ",", "\"invalid instruction\"", ")", ";", "}", "llvm_unreachable", "(", "\"Unexpected match type\"", ")", ";", "}", ""], "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": ["SystemZ", "SystemZ", "\"Unknown missing feature!\"", "\"instruction requires:\"", "1", "0", "8", "1", "\" \"", "1", "0U", "\"too few operands for instruction\"", "SystemZ", "\"invalid operand for instruction\"", "\"invalid instruction\"", "\"Unexpected match type\""], "File": "SystemZAsmParser3", "Func": "MatchAndEmitInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19158, "Length": 251, "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": 19159, "Length": 116, "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": ["OR1K"], "File": "OR1KAsmParser1", "Func": "isImm", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19160, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "poly_int64", "xstormy16_push_rounding", "(", "poly_int64", "bytes", ")", "{", "return", "(", "bytes", "+", "1", ")", "&", "~", "1", ";", "}", ""], "natrual_language": ["Implement", "PUSH_ROUNDING", "."], "TS_V_token": ["stormy16", "1", "1"], "File": "stormy16", "Func": "xstormy16_push_rounding", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19161, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_option_save", "(", "struct", "cl_target_option", "*", "ptr", ",", "struct", "gcc_options", "*", "opts", ")", "{", "ptr", "->", "x_aarch64_override_tune_string", "=", "opts", "->", "x_aarch64_override_tune_string", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_SAVE", "."], "TS_V_token": ["aarch64"], "File": "aarch643", "Func": "aarch64_option_save", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19162, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_finalize_stack_realign_flags", "(", "void", ")", "{", "unsigned", "int", "incoming_stack_boundary", "=", "(", "crtl", "->", "parm_stack_boundary", ">", "ix86_incoming_stack_boundary", "?", "crtl", "->", "parm_stack_boundary", ":", "ix86_incoming_stack_boundary", ")", ";", "unsigned", "int", "stack_realign", "=", "(", "incoming_stack_boundary", "<", "(", "crtl", "->", "is_leaf", "?", "crtl", "->", "max_used_stack_slot_alignment", ":", "crtl", "->", "stack_alignment_needed", ")", ")", ";", "if", "(", "crtl", "->", "stack_realign_finalized", ")", "{", "gcc_assert", "(", "crtl", "->", "stack_realign_needed", "==", "stack_realign", ")", ";", "return", ";", "}", "if", "(", "stack_realign", "&&", "frame_pointer_needed", "&&", "crtl", "->", "is_leaf", "&&", "flag_omit_frame_pointer", "&&", "crtl", "->", "sp_is_unchanging", "&&", "!", "ix86_current_function_calls_tls_descriptor", "&&", "!", "crtl", "->", "accesses_prior_frames", "&&", "!", "cfun", "->", "calls_alloca", "&&", "!", "crtl", "->", "calls_eh_return", "&&", "!", "(", "flag_stack_check", "&&", "STACK_CHECK_MOVING_SP", ")", "&&", "!", "ix86_frame_pointer_required", "(", ")", "&&", "get_frame_size", "(", ")", "==", "0", "&&", "ix86_nsaved_sseregs", "(", ")", "==", "0", "&&", "ix86_varargs_gpr_size", "+", "ix86_varargs_fpr_size", "==", "0", ")", "{", "HARD_REG_SET", "set_up_by_prologue", ",", "prologue_used", ";", "basic_block", "bb", ";", "CLEAR_HARD_REG_SET", "(", "prologue_used", ")", ";", "CLEAR_HARD_REG_SET", "(", "set_up_by_prologue", ")", ";", "add_to_hard_reg_set", "(", "&", "set_up_by_prologue", ",", "Pmode", ",", "STACK_POINTER_REGNUM", ")", ";", "add_to_hard_reg_set", "(", "&", "set_up_by_prologue", ",", "Pmode", ",", "ARG_POINTER_REGNUM", ")", ";", "add_to_hard_reg_set", "(", "&", "set_up_by_prologue", ",", "Pmode", ",", "HARD_FRAME_POINTER_REGNUM", ")", ";", "FOR_EACH_BB_FN", "(", "bb", ",", "cfun", ")", "{", "rtx_insn", "*", "insn", ";", "FOR_BB_INSNS", "(", "bb", ",", "insn", ")", "if", "(", "NONDEBUG_INSN_P", "(", "insn", ")", "&&", "requires_stack_frame_p", "(", "insn", ",", "prologue_used", ",", "set_up_by_prologue", ")", ")", "{", "crtl", "->", "stack_realign_needed", "=", "stack_realign", ";", "crtl", "->", "stack_realign_finalized", "=", "true", ";", "return", ";", "}", "}", "if", "(", "crtl", "->", "drap_reg", ")", "{", "basic_block", "bb", "=", "ENTRY_BLOCK_PTR_FOR_FN", "(", "cfun", ")", "->", "next_bb", ";", "if", "(", "!", "REGNO_REG_SET_P", "(", "DF_LR_IN", "(", "bb", ")", ",", "REGNO", "(", "crtl", "->", "drap_reg", ")", ")", ")", "{", "crtl", "->", "drap_reg", "=", "NULL_RTX", ";", "crtl", "->", "need_drap", "=", "false", ";", "}", "}", "else", "cfun", "->", "machine", "->", "no_drap_save_restore", "=", "true", ";", "frame_pointer_needed", "=", "false", ";", "stack_realign", "=", "false", ";", "crtl", "->", "max_used_stack_slot_alignment", "=", "incoming_stack_boundary", ";", "crtl", "->", "stack_alignment_needed", "=", "incoming_stack_boundary", ";", "crtl", "->", "stack_alignment_estimated", "=", "incoming_stack_boundary", ";", "if", "(", "crtl", "->", "preferred_stack_boundary", ">", "incoming_stack_boundary", ")", "crtl", "->", "preferred_stack_boundary", "=", "incoming_stack_boundary", ";", "df_finish_pass", "(", "true", ")", ";", "df_scan_alloc", "(", "NULL", ")", ";", "df_scan_blocks", "(", ")", ";", "df_compute_regs_ever_live", "(", "true", ")", ";", "df_analyze", "(", ")", ";", "}", "crtl", "->", "stack_realign_needed", "=", "stack_realign", ";", "crtl", "->", "stack_realign_finalized", "=", "true", ";", "}", ""], "natrual_language": ["Finalize", "stack_realign_needed", "flag", ",", "which", "will", "guide", "prologue/epilogue", "to", "be", "generated", "in", "correct", "form", "."], "TS_V_token": ["i386", "0", "0", "0"], "File": "i3864", "Func": "ix86_finalize_stack_realign_flags", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19163, "Length": 365, "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": 19164, "Length": 301, "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": ["powerpcspe", "0", "0"], "File": "powerpcspe", "Func": "register_to_reg_type", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19165, "Length": 134, "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": 19166, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "CAHPMCCodeEmitter", "::", "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": ["CAHP", "CAHP", "\"Unhandled expression!\"", "0"], "File": "CAHPMCCodeEmitter", "Func": "getMachineOpValue", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19167, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64AsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ",", "MCContext", "&", "Ctx", ")", "const", "{", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "MCFixupKindInfo", "Info", "=", "getFixupKindInfo", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "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": "AArch64AsmBackend48", "Func": "applyFixup", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19168, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pro_epilogue_adjust_stack", "(", "rtx", "dest", ",", "rtx", "src", ",", "rtx", "offset", ",", "int", "style", ")", "{", "rtx", "insn", ";", "if", "(", "!", "TARGET_64BIT", ")", "insn", "=", "emit_insn", "(", "gen_pro_epilogue_adjust_stack_1", "(", "dest", ",", "src", ",", "offset", ")", ")", ";", "else", "if", "(", "x86_64_immediate_operand", "(", "offset", ",", "DImode", ")", ")", "insn", "=", "emit_insn", "(", "gen_pro_epilogue_adjust_stack_rex64", "(", "dest", ",", "src", ",", "offset", ")", ")", ";", "else", "{", "rtx", "r11", ";", "gcc_assert", "(", "style", ")", ";", "r11", "=", "gen_rtx_REG", "(", "DImode", ",", "FIRST_REX_INT_REG", "+", "3", ")", ";", "insn", "=", "emit_insn", "(", "gen_rtx_SET", "(", "DImode", ",", "r11", ",", "offset", ")", ")", ";", "if", "(", "style", "<", "0", ")", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "insn", "=", "emit_insn", "(", "gen_pro_epilogue_adjust_stack_rex64_2", "(", "dest", ",", "src", ",", "r11", ",", "offset", ")", ")", ";", "}", "if", "(", "style", "<", "0", ")", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", ""], "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", "3", "0", "1", "0", "1"], "File": "i3863", "Func": "pro_epilogue_adjust_stack", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19169, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "shouldConvertFpToSat", "(", "unsigned", "Op", ",", "EVT", "FPVT", ",", "EVT", "VT", ")", "const", "override", "{", "return", "Op", "!=", "ISD", "::", "FP_TO_UINT_SAT", "&&", "isOperationLegalOrCustom", "(", "Op", ",", "VT", ")", ";", "}", ""], "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": ["X86", "ISD::FP_TO_UINT_SAT"], "File": "X86ISelLowering10", "Func": "shouldConvertFpToSat", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19170, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "pa_shadd_constant_p", "(", "int", "val", ")", "{", "if", "(", "val", "==", "1", "||", "val", "==", "2", "||", "val", "==", "3", ")", "return", "1", ";", "else", "return", "0", ";", "}", ""], "natrual_language": ["Return", "1", "if", "the", "given", "constant", "is", "2", ",", "4", ",", "or", "8", ".", "These", "are", "the", "valid", "constants", "for", "shadd", "instructions", "."], "TS_V_token": ["pa", "1", "2", "3", "1", "0"], "File": "pa", "Func": "pa_shadd_constant_p", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19171, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "or1k_compute_frame_layout", "(", "void", ")", "{", "HOST_WIDE_INT", "local_vars_size", ",", "args_size", ",", "save_reg_size", ";", "local_vars_size", "=", "get_frame_size", "(", ")", ";", "local_vars_size", "=", "ROUND_UP", "(", "local_vars_size", ",", "UNITS_PER_WORD", ")", ";", "args_size", "=", "crtl", "->", "outgoing_args_size", ";", "args_size", "=", "ROUND_UP", "(", "args_size", ",", "UNITS_PER_WORD", ")", ";", "save_reg_size", "=", "0", ";", "for", "(", "int", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "callee_saved_regno_p", "(", "regno", ")", ")", "save_reg_size", "+=", "UNITS_PER_WORD", ";", "cfun", "->", "machine", "->", "local_vars_size", "=", "local_vars_size", ";", "cfun", "->", "machine", "->", "args_size", "=", "args_size", ";", "cfun", "->", "machine", "->", "callee_saved_reg_size", "=", "save_reg_size", ";", "cfun", "->", "machine", "->", "total_size", "=", "save_reg_size", "+", "local_vars_size", "+", "args_size", ";", "}", ""], "natrual_language": ["Worker", "for", "TARGET_COMPUTE_FRAME_LAYOUT", ".", "Compute", "and", "populate", "machine", "specific", "function", "attributes", "which", "are", "globally", "accessible", "via", "cfun-", ">", "machine", ".", "These", "include", "the", "sizes", "needed", "for", "stack", "stored", "local", "variables", ",", "callee", "saved", "registers", "and", "space", "for", "stack", "arguments", "which", "may", "be", "passed", "to", "a", "next", "function", ".", "The", "values", "are", "used", "for", "the", "epilogue", ",", "prologue", "and", "eliminations", ".", "OpenRISC", "stack", "grows", "downwards", "and", "contains", ":", "--", "--", "previous", "frame", "--", "--", "--", "--", "current", "func", "arg", "[", "n", "]", "current", "func", "arg", "[", "0", "]", "<", "--", "r2", "[", "HFP", ",", "AP", "]", "--", "--", "current", "stack", "frame", "--", "-", "^", "--", "-\\", "return", "address", "r9", "|", "|", "old", "frame", "pointer", "r2", "(", "+", ")", "|", "--", "machine-", ">", "total_size", "callee", "saved", "regs", "|", "|", ">", "machine-", ">", "callee_saved_reg_size", "local", "variables", "|", "|", ">", "machine-", ">", "local_vars_size", "<", "-FP", "next", "function", "args", "<", "--", "r1", "[", "SP", "]", "--", "-/", ">", "machine-", ">", "args_size", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "|", "(", "-", ")", "(", "future", ")", "|", "V", "All", "of", "these", "contents", "are", "optional", "."], "TS_V_token": ["or1k", "0", "0"], "File": "or1k", "Func": "or1k_compute_frame_layout", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19172, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createMipsExpandPseudoPass", "(", ")", ")", ";", "addPass", "(", "createMicroMipsSizeReducePass", "(", ")", ")", ";", "if", "(", "EnableMulMulFix", ")", "addPass", "(", "createMipsMulMulBugPass", "(", ")", ")", ";", "addPass", "(", "createMipsDelaySlotFillerPass", "(", ")", ")", ";", "addPass", "(", "createMipsBranchExpansion", "(", ")", ")", ";", "addPass", "(", "createMipsConstantIslandPass", "(", ")", ")", ";", "}", ""], "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"], "File": "MipsTargetMachine (2)1", "Func": "addPreEmitPass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19173, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "MipsTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'d'", ":", "case", "'y'", ":", "case", "'r'", ":", "if", "(", "VT", "==", "MVT", "::", "i32", "||", "VT", "==", "MVT", "::", "i16", "||", "VT", "==", "MVT", "::", "i8", ")", "{", "if", "(", "Subtarget", "->", "inMips16Mode", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "CPU16RegsRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "CPURegsRegClass", ")", ";", "}", "if", "(", "VT", "==", "MVT", "::", "i64", "&&", "!", "HasMips64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "CPURegsRegClass", ")", ";", "if", "(", "VT", "==", "MVT", "::", "i64", "&&", "HasMips64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "CPU64RegsRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0u", ",", "static_cast", "<", "const", "TargetRegisterClass", "*", ">", "(", "0", ")", ")", ";", "case", "'f'", ":", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "FGR32RegClass", ")", ";", "if", "(", "(", "VT", "==", "MVT", "::", "f64", ")", "&&", "(", "!", "Subtarget", "->", "isSingleFloat", "(", ")", ")", ")", "{", "if", "(", "Subtarget", "->", "isFP64bit", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "FGR64RegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Mips", "::", "AFGR64RegClass", ")", ";", "}", "break", ";", "case", "'c'", ":", "if", "(", "VT", "==", "MVT", "::", "i32", ")", "return", "std", "::", "make_pair", "(", "(", "unsigned", ")", "Mips", "::", "T9", ",", "&", "Mips", "::", "CPURegsRegClass", ")", ";", "assert", "(", "VT", "==", "MVT", "::", "i64", "&&", "\"Unexpected type.\"", ")", ";", "return", "std", "::", "make_pair", "(", "(", "unsigned", ")", "Mips", "::", "T9_64", ",", "&", "Mips", "::", "CPU64RegsRegClass", ")", ";", "case", "'l'", ":", "if", "(", "VT", "==", "MVT", "::", "i32", ")", "return", "std", "::", "make_pair", "(", "(", "unsigned", ")", "Mips", "::", "LO", ",", "&", "Mips", "::", "LORegsRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "(", "unsigned", ")", "Mips", "::", "LO64", ",", "&", "Mips", "::", "LORegs64RegClass", ")", ";", "case", "'x'", ":", "return", "std", "::", "make_pair", "(", "0u", ",", "static_cast", "<", "const", "TargetRegisterClass", "*", ">", "(", "0", ")", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["Mips", "Mips", "1", "0", "MVT::i32", "MVT::i16", "MVT::i8", "Mips", "0U", "Mips::CPU16RegsRegClass", "0U", "Mips::CPURegsRegClass", "MVT::i64", "Mips", "0U", "Mips::CPURegsRegClass", "MVT::i64", "Mips", "0U", "Mips::CPU64RegsRegClass", "0u", "0", "MVT::f32", "0U", "Mips::FGR32RegClass", "MVT::f64", "0U", "Mips::FGR64RegClass", "0U", "Mips::AFGR64RegClass", "MVT::i32", "Mips::T9", "Mips::CPURegsRegClass", "MVT::i64", "\"Unexpected type.\"", "Mips::T9_64", "Mips::CPU64RegsRegClass", "MVT::i32", "Mips::LO", "Mips::LORegsRegClass", "Mips::LO64", "Mips::LORegs64RegClass", "0u", "0"], "File": "MipsISelLowering2", "Func": "getRegForInlineAsmConstraint", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19174, "Length": 395, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", "&&", "ExtraCode", "[", "0", "]", "!=", "'a'", ")", "return", "true", ";", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "assert", "(", "MO", ".", "isReg", "(", ")", "&&", "\"unexpected inline asm memory operand\"", ")", ";", "O", "<<", "\"[\"", "<<", "AArch64InstPrinter", "::", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", "<<", "\"]\"", ";", "return", "false", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "."], "TS_V_token": ["AArch64", "AArch64", "0", "0", "\"unexpected inline asm memory operand\"", "\"[\"", "AArch64", "\"]\""], "File": "AArch64AsmPrinter", "Func": "PrintAsmMemoryOperand", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19175, "Length": 89, "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": 19176, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "pa_output_dbra", "(", "rtx", "*", "operands", ",", "rtx_insn", "*", "insn", ",", "int", "which_alternative", ")", "{", "int", "length", "=", "get_attr_length", "(", "insn", ")", ";", "if", "(", "branch_to_delay_slot_p", "(", "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", "xdelay", ";", "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", ")", "{", "if", "(", "branch_needs_nop_p", "(", "insn", ")", ")", "return", "\"addib,%C2,n %1,%0,%3%#\"", ";", "else", "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", ":", "if", "(", "dbr_sequence_length", "(", ")", "==", "0", "||", "(", "nullify", "&&", "forward_branch_p", "(", "insn", ")", ")", ")", "{", "nullify", "=", "1", ";", "xdelay", "=", "0", ";", "operands", "[", "4", "]", "=", "GEN_INT", "(", "length", ")", ";", "}", "else", "{", "xdelay", "=", "1", ";", "operands", "[", "4", "]", "=", "GEN_INT", "(", "length", "+", "4", ")", ";", "}", "if", "(", "nullify", ")", "output_asm_insn", "(", "\"addib,%N2,n %1,%0,.+%4\"", ",", "operands", ")", ";", "else", "output_asm_insn", "(", "\"addib,%N2 %1,%0,.+%4\"", ",", "operands", ")", ";", "return", "pa_output_lbranch", "(", "operands", "[", "3", "]", ",", "insn", ",", "xdelay", ")", ";", "}", "}", "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", "(", "length", "==", "24", ")", "return", "\"{comb|cmpb},%S2 %%r0,%4,%3\\n\\t{fldws|fldw} -16(%%r30),%0\"", ";", "else", "if", "(", "length", "==", "28", ")", "return", "\"{comclr|cmpclr},%B2 %%r0,%4,%%r0\\n\\tb %3\\n\\t{fldws|fldw} -16(%%r30),%0\"", ";", "else", "{", "operands", "[", "5", "]", "=", "GEN_INT", "(", "length", "-", "16", ")", ";", "output_asm_insn", "(", "\"{comb|cmpb},%B2 %%r0,%4,.+%5\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"{fldws|fldw} -16(%%r30),%0\"", ",", "operands", ")", ";", "return", "pa_output_lbranch", "(", "operands", "[", "3", "]", ",", "insn", ",", "0", ")", ";", "}", "}", "else", "{", "output_asm_insn", "(", "\"ldw %0,%4\"", ",", "operands", ")", ";", "if", "(", "length", "==", "12", ")", "return", "\"addib,%C2 %1,%4,%3\\n\\tstw %4,%0\"", ";", "else", "if", "(", "length", "==", "16", ")", "return", "\"addi,%N2 %1,%4,%4\\n\\tb %3\\n\\tstw %4,%0\"", ";", "else", "{", "operands", "[", "5", "]", "=", "GEN_INT", "(", "length", "-", "4", ")", ";", "output_asm_insn", "(", "\"addib,%N2 %1,%4,.+%5\\n\\tstw %4,%0\"", ",", "operands", ")", ";", "return", "pa_output_lbranch", "(", "operands", "[", "3", "]", ",", "insn", ",", "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,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\"", "0", "1", "0", "4", "1", "4", "4", "\"addib,%N2,n %1,%0,.+%4\"", "\"addib,%N2 %1,%0,.+%4\"", "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\"", "28", "\"{comclr|cmpclr},%B2 %%r0,%4,%%r0\\n\\tb %3\\n\\t{fldws|fldw} -16(%%r30),%0\"", "5", "16", "\"{comb|cmpb},%B2 %%r0,%4,.+%5\"", "\"{fldws|fldw} -16(%%r30),%0\"", "3", "0", "\"ldw %0,%4\"", "12", "\"addib,%C2 %1,%4,%3\\n\\tstw %4,%0\"", "16", "\"addi,%N2 %1,%4,%4\\n\\tb %3\\n\\tstw %4,%0\"", "5", "4", "\"addib,%N2 %1,%4,.+%5\\n\\tstw %4,%0\"", "3", "0"], "File": "pa", "Func": "pa_output_dbra", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19177, "Length": 497, "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": 19178, "Length": 120, "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": 19179, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isPreLd", "(", "const", "MachineInstr", "&", "MI", ")", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "AArch64", "::", "LDRWpre", ":", "case", "AArch64", "::", "LDRXpre", ":", "case", "AArch64", "::", "LDRSpre", ":", "case", "AArch64", "::", "LDRDpre", ":", "case", "AArch64", "::", "LDRQpre", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Returns", "whether", "the", "instruction", "is", "a", "pre-indexed", "load", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::LDRWpre", "AArch64::LDRXpre", "AArch64::LDRSpre", "AArch64::LDRDpre", "AArch64::LDRQpre"], "File": "AArch64InstrInfo105", "Func": "isPreLd", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19180, "Length": 55, "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", "(", ")", ";", "OriginalArgWasFloatVector", ".", "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": "MipsCCState12", "Func": "AnalyzeFormalArguments", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19181, "Length": 50, "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 attribute(target(\\\"%s\\\"))\"", ",", "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", "{", "error", "(", "\"attribute(target(\\\"%s\\\")) is unknown\"", ",", "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 attribute(target(\\\"%s\\\"))\"", "\"auto fpu selection not currently permitted here\"", "\"attribute(target(\\\"%s\\\")) is unknown\""], "File": "arm6", "Func": "arm_valid_target_attribute_rec", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19182, "Length": 262, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "rs6000_preferred_simd_mode", "(", "scalar_mode", "mode", ")", "{", "opt_machine_mode", "vmode", "=", "mode_for_vector", "(", "mode", ",", "16", "/", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "if", "(", "vmode", ".", "exists", "(", ")", "&&", "!", "VECTOR_MEM_NONE_P", "(", "vmode", ".", "require", "(", ")", ")", ")", "return", "vmode", ".", "require", "(", ")", ";", "return", "word_mode", ";", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.preferred_simd_mode", "."], "TS_V_token": ["rs6000", "16"], "File": "rs6000", "Func": "rs6000_preferred_simd_mode", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19183, "Length": 52, "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", "(", "int", "i", "=", "2", ",", "e", "=", "MI", ".", "getNumOperands", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "if", "(", "MI", ".", "getOperand", "(", "i", ")", ".", "isImplicit", "(", ")", "||", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isReg", "(", ")", ")", "continue", ";", "unsigned", "Reg", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "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", ";", "}", "}", "}", "}", "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\""], "File": "ARMBaseInstrInfo10", "Func": "verifyInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19184, "Length": 274, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "X86RegisterInfo", "::", "getSubClassWithSubReg", "(", "const", "TargetRegisterClass", "*", "RC", ",", "unsigned", "Idx", ")", "const", "{", "if", "(", "!", "Is64Bit", "&&", "Idx", "==", "X86", "::", "sub_8bit", ")", "Idx", "=", "X86", "::", "sub_8bit_hi", ";", "return", "X86GenRegisterInfo", "::", "getSubClassWithSubReg", "(", "RC", ",", "Idx", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "largest", "legal", "sub-class", "of", "RC", "that", "supports", "the", "sub-register", "index", "Idx", "."], "TS_V_token": ["X86", "X86", "X86::sub_8bit", "X86::sub_8bit_hi", "X86"], "File": "X86RegisterInfo (2)", "Func": "getSubClassWithSubReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19185, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "split_double_mode", "(", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ",", "int", "num", ",", "rtx", "lo_half", "[", "]", ",", "rtx", "hi_half", "[", "]", ")", "{", "machine_mode", "half_mode", ";", "unsigned", "int", "byte", ";", "switch", "(", "mode", ")", "{", "case", "TImode", ":", "half_mode", "=", "DImode", ";", "break", ";", "case", "DImode", ":", "half_mode", "=", "SImode", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "byte", "=", "GET_MODE_SIZE", "(", "half_mode", ")", ";", "while", "(", "num", "--", ")", "{", "rtx", "op", "=", "operands", "[", "num", "]", ";", "if", "(", "MEM_P", "(", "op", ")", ")", "{", "lo_half", "[", "num", "]", "=", "adjust_address", "(", "op", ",", "half_mode", ",", "0", ")", ";", "hi_half", "[", "num", "]", "=", "adjust_address", "(", "op", ",", "half_mode", ",", "byte", ")", ";", "}", "else", "{", "lo_half", "[", "num", "]", "=", "simplify_gen_subreg", "(", "half_mode", ",", "op", ",", "GET_MODE", "(", "op", ")", "==", "VOIDmode", "?", "mode", ":", "GET_MODE", "(", "op", ")", ",", "0", ")", ";", "hi_half", "[", "num", "]", "=", "simplify_gen_subreg", "(", "half_mode", ",", "op", ",", "GET_MODE", "(", "op", ")", "==", "VOIDmode", "?", "mode", ":", "GET_MODE", "(", "op", ")", ",", "byte", ")", ";", "}", "}", "}", ""], "natrual_language": ["Split", "one", "or", "more", "double-mode", "RTL", "references", "into", "pairs", "of", "half-mode", "references", ".", "The", "RTL", "can", "be", "REG", ",", "offsettable", "MEM", ",", "integer", "constant", ",", "or", "CONST_DOUBLE", ".", "``", "operands", "''", "is", "a", "pointer", "to", "an", "array", "of", "double-mode", "RTLs", "to", "split", "and", "``", "num", "''", "is", "its", "length", ".", "lo_half", "and", "hi_half", "are", "output", "arrays", "that", "parallel", "``", "operands", "''", "."], "TS_V_token": ["i386", "0", "0"], "File": "i3864", "Func": "split_double_mode", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19186, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "MCAsmParser", "&", "Parser", "=", "getParser", "(", ")", ";", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "if", "(", "IDVal", "==", "\".word\"", ")", "return", "ParseDirectiveWord", "(", "2", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "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", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["X86", "X86", "\".word\"", "2", "\".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\""], "File": "X86AsmParser17", "Func": "ParseDirective", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19187, "Length": 281, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "function_arg_32", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "machine_mode", "mode", ",", "machine_mode", "orig_mode", ",", "const_tree", "type", ",", "HOST_WIDE_INT", "bytes", ",", "HOST_WIDE_INT", "words", ")", "{", "bool", "error_p", "=", "false", ";", "if", "(", "mode", "==", "VOIDmode", ")", "return", "constm1_rtx", ";", "if", "(", "TARGET_IAMCU", ")", "{", "if", "(", "!", "VECTOR_MODE_P", "(", "mode", ")", "&&", "bytes", "<=", "8", ")", "goto", "pass_in_reg", ";", "return", "NULL_RTX", ";", "}", "switch", "(", "mode", ")", "{", "default", ":", "break", ";", "case", "E_BLKmode", ":", "if", "(", "bytes", "<", "0", ")", "break", ";", "case", "E_DImode", ":", "case", "E_SImode", ":", "case", "E_HImode", ":", "case", "E_QImode", ":", "pass_in_reg", ":", "if", "(", "words", "<=", "cum", "->", "nregs", ")", "{", "int", "regno", "=", "cum", "->", "regno", ";", "if", "(", "cum", "->", "fastcall", ")", "{", "if", "(", "mode", "==", "BLKmode", "||", "mode", "==", "DImode", "||", "(", "type", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", ")", ")", "break", ";", "if", "(", "regno", "==", "AX_REG", ")", "regno", "=", "CX_REG", ";", "}", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "}", "break", ";", "case", "E_DFmode", ":", "if", "(", "cum", "->", "float_in_sse", "==", "-", "1", ")", "error_p", "=", "true", ";", "if", "(", "cum", "->", "float_in_sse", "<", "2", ")", "break", ";", "case", "E_SFmode", ":", "if", "(", "cum", "->", "float_in_sse", "==", "-", "1", ")", "error_p", "=", "true", ";", "if", "(", "cum", "->", "float_in_sse", "<", "1", ")", "break", ";", "case", "E_TImode", ":", "case", "E_V16QImode", ":", "case", "E_V8HImode", ":", "case", "E_V4SImode", ":", "case", "E_V2DImode", ":", "case", "E_V8HFmode", ":", "case", "E_V8BFmode", ":", "case", "E_V4SFmode", ":", "case", "E_V2DFmode", ":", "if", "(", "!", "type", "||", "!", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "if", "(", "cum", "->", "sse_nregs", ")", "return", "gen_reg_or_parallel", "(", "mode", ",", "orig_mode", ",", "cum", "->", "sse_regno", "+", "FIRST_SSE_REG", ")", ";", "}", "break", ";", "case", "E_OImode", ":", "case", "E_XImode", ":", "gcc_unreachable", "(", ")", ";", "case", "E_V64QImode", ":", "case", "E_V32HImode", ":", "case", "E_V16SImode", ":", "case", "E_V8DImode", ":", "case", "E_V32HFmode", ":", "case", "E_V32BFmode", ":", "case", "E_V16SFmode", ":", "case", "E_V8DFmode", ":", "case", "E_V16HFmode", ":", "case", "E_V16BFmode", ":", "case", "E_V8SFmode", ":", "case", "E_V8SImode", ":", "case", "E_V32QImode", ":", "case", "E_V16HImode", ":", "case", "E_V4DFmode", ":", "case", "E_V4DImode", ":", "if", "(", "!", "type", "||", "!", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "if", "(", "cum", "->", "sse_nregs", ")", "return", "gen_reg_or_parallel", "(", "mode", ",", "orig_mode", ",", "cum", "->", "sse_regno", "+", "FIRST_SSE_REG", ")", ";", "}", "break", ";", "case", "E_V8QImode", ":", "case", "E_V4HImode", ":", "case", "E_V4HFmode", ":", "case", "E_V4BFmode", ":", "case", "E_V2SImode", ":", "case", "E_V2SFmode", ":", "case", "E_V1TImode", ":", "case", "E_V1DImode", ":", "if", "(", "!", "type", "||", "!", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "if", "(", "cum", "->", "mmx_nregs", ")", "return", "gen_reg_or_parallel", "(", "mode", ",", "orig_mode", ",", "cum", "->", "mmx_regno", "+", "FIRST_MMX_REG", ")", ";", "}", "break", ";", "}", "if", "(", "error_p", ")", "{", "cum", "->", "float_in_sse", "=", "0", ";", "error", "(", "\"calling %qD with SSE calling convention without \"", "\"SSE/SSE2 enabled\"", ",", "cum", "->", "decl", ")", ";", "sorry", "(", "\"this is a GCC bug that can be worked around by adding \"", "\"attribute used to function called\"", ")", ";", "}", "return", "NULL_RTX", ";", "}", ""], "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", ")", "."], "TS_V_token": ["i386", "8", "0", "1", "2", "1", "1", "0", "\"calling %qD with SSE calling convention without \"", "\"SSE/SSE2 enabled\"", "\"this is a GCC bug that can be worked around by adding \"", "\"attribute used to function called\""], "File": "i3861", "Func": "function_arg_32", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19188, "Length": 461, "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": 19189, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RegDefsUses", "::", "init", "(", "const", "MachineInstr", "&", "MI", ")", "{", "update", "(", "MI", ",", "0", ",", "MI", ".", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", ")", ";", "if", "(", "MI", ".", "isCall", "(", ")", ")", "Defs", ".", "set", "(", "Mips", "::", "RA", ")", ";", "if", "(", "MI", ".", "isBranch", "(", ")", ")", "{", "update", "(", "MI", ",", "MI", ".", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", ",", "MI", ".", "getNumOperands", "(", ")", ")", ";", "Defs", ".", "reset", "(", "Mips", "::", "AT", ")", ";", "}", "}", ""], "natrual_language": ["Initialize", "the", "machine", "model", "for", "instruction", "scheduling", "."], "TS_V_token": ["Mips", "0", "Mips::RA", "Mips::AT"], "File": "MipsDelaySlotFiller", "Func": "init", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19190, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ")", "{", "printInstruction", "(", "MI", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMInstPrinter32", "Func": "printInst", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19191, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsResolved", ")", "const", "{", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "MCContext", "&", "Ctx", "=", "Asm", ".", "getContext", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "+", "7", ")", "/", "8", ";", "unsigned", "FullSize", ";", "switch", "(", "(", "unsigned", ")", "Kind", ")", "{", "case", "FK_Data_2", ":", "case", "Mips", "::", "fixup_Mips_16", ":", "case", "Mips", "::", "fixup_MICROMIPS_PC10_S1", ":", "FullSize", "=", "2", ";", "break", ";", "case", "FK_Data_8", ":", "case", "Mips", "::", "fixup_Mips_64", ":", "FullSize", "=", "8", ";", "break", ";", "case", "FK_Data_4", ":", "default", ":", "FullSize", "=", "4", ";", "break", ";", "}", "uint64_t", "CurVal", "=", "0", ";", "bool", "microMipsLEByteOrder", "=", "needsMMLEByteOrder", "(", "(", "unsigned", ")", "Kind", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "Endian", "==", "support", "::", "little", "?", "(", "microMipsLEByteOrder", "?", "calculateMMLEIndex", "(", "i", ")", ":", "i", ")", ":", "(", "FullSize", "-", "1", "-", "i", ")", ";", "CurVal", "|=", "(", "uint64_t", ")", "(", "(", "uint8_t", ")", "Data", "[", "Offset", "+", "Idx", "]", ")", "<<", "(", "i", "*", "8", ")", ";", "}", "uint64_t", "Mask", "=", "(", "(", "uint64_t", ")", "(", "-", "1", ")", ">>", "(", "64", "-", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", ")", ";", "CurVal", "|=", "Value", "&", "Mask", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "Endian", "==", "support", "::", "little", "?", "(", "microMipsLEByteOrder", "?", "calculateMMLEIndex", "(", "i", ")", ":", "i", ")", ":", "(", "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": ["Mips", "Mips", "7", "8", "Mips::fixup_Mips_16", "Mips::fixup_MICROMIPS_PC10_S1", "2", "Mips::fixup_Mips_64", "8", "4", "0", "Mips", "0", "support::little", "Mips", "1", "8", "1", "64", "0", "support::little", "Mips", "1", "8", "0xff"], "File": "MipsAsmBackend18", "Func": "applyFixup", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19192, "Length": 334, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_code_label", "*", "add_constant", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "rtx", "last_value", ")", "{", "int", "i", ";", "rtx_code_label", "*", "lab", ",", "*", "new_rtx", ";", "label_ref_list_t", "ref", ",", "newref", ";", "for", "(", "i", "=", "0", ";", "i", "<", "pool_size", ";", "i", "++", ")", "{", "if", "(", "x", "->", "code", "==", "pool_vector", "[", "i", "]", ".", "value", "->", "code", "&&", "mode", "==", "pool_vector", "[", "i", "]", ".", "mode", ")", "{", "if", "(", "x", "->", "code", "==", "CODE_LABEL", ")", "{", "if", "(", "XINT", "(", "x", ",", "3", ")", "!=", "XINT", "(", "pool_vector", "[", "i", "]", ".", "value", ",", "3", ")", ")", "continue", ";", "}", "if", "(", "rtx_equal_p", "(", "x", ",", "pool_vector", "[", "i", "]", ".", "value", ")", ")", "{", "lab", "=", "new_rtx", "=", "0", ";", "if", "(", "!", "last_value", "||", "!", "i", "||", "!", "rtx_equal_p", "(", "last_value", ",", "pool_vector", "[", "i", "-", "1", "]", ".", "value", ")", ")", "{", "new_rtx", "=", "gen_label_rtx", "(", ")", ";", "LABEL_REFS", "(", "new_rtx", ")", "=", "pool_vector", "[", "i", "]", ".", "label", ";", "pool_vector", "[", "i", "]", ".", "label", "=", "lab", "=", "new_rtx", ";", "}", "if", "(", "lab", "&&", "pool_window_label", ")", "{", "newref", "=", "label_ref_list_d_pool", ".", "allocate", "(", ")", ";", "newref", "->", "label", "=", "pool_window_label", ";", "ref", "=", "pool_vector", "[", "pool_window_last", "]", ".", "wend", ";", "newref", "->", "next", "=", "ref", ";", "pool_vector", "[", "pool_window_last", "]", ".", "wend", "=", "newref", ";", "}", "if", "(", "new_rtx", ")", "pool_window_label", "=", "new_rtx", ";", "pool_window_last", "=", "i", ";", "return", "lab", ";", "}", "}", "}", "pool_vector", "[", "pool_size", "]", ".", "value", "=", "x", ";", "if", "(", "last_value", "&&", "rtx_equal_p", "(", "last_value", ",", "pool_vector", "[", "pool_size", "-", "1", "]", ".", "value", ")", ")", "{", "lab", "=", "0", ";", "pool_vector", "[", "pool_size", "-", "1", "]", ".", "part_of_sequence_p", "=", "true", ";", "}", "else", "lab", "=", "gen_label_rtx", "(", ")", ";", "pool_vector", "[", "pool_size", "]", ".", "mode", "=", "mode", ";", "pool_vector", "[", "pool_size", "]", ".", "label", "=", "lab", ";", "pool_vector", "[", "pool_size", "]", ".", "wend", "=", "NULL", ";", "pool_vector", "[", "pool_size", "]", ".", "part_of_sequence_p", "=", "(", "lab", "==", "0", ")", ";", "if", "(", "lab", "&&", "pool_window_label", ")", "{", "newref", "=", "label_ref_list_d_pool", ".", "allocate", "(", ")", ";", "newref", "->", "label", "=", "pool_window_label", ";", "ref", "=", "pool_vector", "[", "pool_window_last", "]", ".", "wend", ";", "newref", "->", "next", "=", "ref", ";", "pool_vector", "[", "pool_window_last", "]", ".", "wend", "=", "newref", ";", "}", "if", "(", "lab", ")", "pool_window_label", "=", "lab", ";", "pool_window_last", "=", "pool_size", ";", "pool_size", "++", ";", "return", "lab", ";", "}", ""], "natrual_language": ["Add", "a", "constant", "to", "the", "pool", "and", "return", "its", "label", "."], "TS_V_token": ["sh", "0", "3", "3", "0", "1", "1", "0", "1", "0"], "File": "sh5", "Func": "add_constant", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19193, "Length": 397, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZTargetMachine", "::", "addInstSelector", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "PM", ".", "add", "(", "createSystemZISelDag", "(", "*", "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": ["SystemZ", "SystemZ", "SystemZ"], "File": "SystemZTargetMachine1", "Func": "addInstSelector", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19194, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "single_const_operand", "(", "rtx", "op", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "big_const_operand", "(", "op", ",", "mode", ")", "||", "GET_CODE", "(", "op", ")", "==", "CONST", "||", "GET_CODE", "(", "op", ")", "==", "LABEL_REF", "||", "GET_CODE", "(", "op", ")", "==", "SYMBOL_REF", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "truth", "value", "of", "whether", "OP", "is", "a", "constant", "that", "require", "only", "one", "load", "to", "put", "in", "a", "register", "."], "TS_V_token": ["mt", "0", "1"], "File": "mt", "Func": "single_const_operand", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19195, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "machine_mode", "ix86_mpx_bound_mode", "(", ")", "{", "if", "(", "!", "TARGET_MPX", ")", "{", "if", "(", "flag_check_pointer_bounds", ")", "warning", "(", "0", ",", "\"Pointer Checker requires MPX support on this target.\"", "\" Use -mmpx options to enable MPX.\"", ")", ";", "return", "VOIDmode", ";", "}", "return", "BNDmode", ";", "}", ""], "natrual_language": ["Return", "mode", "to", "be", "used", "for", "bounds", "or", "VOIDmode", "if", "bounds", "are", "not", "supported", "."], "TS_V_token": ["i386", "0", "\"Pointer Checker requires MPX support on this target.\"", "\" Use -mmpx options to enable MPX.\""], "File": "i3864", "Func": "ix86_mpx_bound_mode", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19196, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "ReachingDefAnalysis", ">", "(", ")", ";", "AU", ".", "setPreservesCFG", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["ARM"], "File": "ARMFixCortexA57AES1742098Pass", "Func": "getAnalysisUsage", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19197, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_issue_rate", "(", "void", ")", "{", "switch", "(", "mips_tune", ")", "{", "case", "PROCESSOR_74KC", ":", "case", "PROCESSOR_74KF2_1", ":", "case", "PROCESSOR_74KF1_1", ":", "case", "PROCESSOR_74KF3_2", ":", "case", "PROCESSOR_R10000", ":", "return", "4", ";", "case", "PROCESSOR_20KC", ":", "case", "PROCESSOR_R4130", ":", "case", "PROCESSOR_R5400", ":", "case", "PROCESSOR_R5500", ":", "case", "PROCESSOR_R5900", ":", "case", "PROCESSOR_R7000", ":", "case", "PROCESSOR_R9000", ":", "case", "PROCESSOR_OCTEON", ":", "case", "PROCESSOR_OCTEON2", ":", "case", "PROCESSOR_OCTEON3", ":", "return", "2", ";", "case", "PROCESSOR_SB1", ":", "case", "PROCESSOR_SB1A", ":", "return", "3", ";", "case", "PROCESSOR_LOONGSON_2E", ":", "case", "PROCESSOR_LOONGSON_2F", ":", "case", "PROCESSOR_LOONGSON_3A", ":", "case", "PROCESSOR_P5600", ":", "return", "4", ";", "case", "PROCESSOR_XLP", ":", "return", "(", "reload_completed", "?", "4", ":", "3", ")", ";", "default", ":", "return", "1", ";", "}", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "that", "can", "be", "issued", "per", "cycle", "."], "TS_V_token": ["mips", "4", "2", "3", "4", "4", "3", "1"], "File": "mips4", "Func": "mips_issue_rate", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19198, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZPassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createSystemZElimComparePass", "(", "getSystemZTargetMachine", "(", ")", ")", ",", "false", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createSystemZShortenInstPass", "(", "getSystemZTargetMachine", "(", ")", ")", ",", "false", ")", ";", "addPass", "(", "createSystemZLongBranchPass", "(", "getSystemZTargetMachine", "(", ")", ")", ")", ";", "}", ""], "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": "SystemZTargetMachine12", "Func": "addPreEmitPass", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19199, "Length": 62, "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": ["Cpu0"], "File": "Cpu0AsmBackend", "Func": "mayNeedRelaxation", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19200, "Length": 20, "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", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "bool", "Is64Bit", "=", "Subtarget", "->", "is64Bit", "(", ")", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_X86", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "EVT", "CopyVT", "=", "VA", ".", "getValVT", "(", ")", ";", "if", "(", "(", "CopyVT", "==", "MVT", "::", "f32", "||", "CopyVT", "==", "MVT", "::", "f64", ")", "&&", "(", "(", "Is64Bit", "||", "Ins", "[", "i", "]", ".", "Flags", ".", "isInReg", "(", ")", ")", "&&", "!", "Subtarget", "->", "hasSSE1", "(", ")", ")", ")", "{", "llvm_report_error", "(", "\"SSE register return with SSE disabled\"", ")", ";", "}", "if", "(", "(", "VA", ".", "getLocReg", "(", ")", "==", "X86", "::", "ST0", "||", "VA", ".", "getLocReg", "(", ")", "==", "X86", "::", "ST1", ")", "&&", "isScalarFPTypeInSSEReg", "(", "VA", ".", "getValVT", "(", ")", ")", ")", "{", "CopyVT", "=", "MVT", "::", "f80", ";", "}", "SDValue", "Val", ";", "if", "(", "Is64Bit", "&&", "CopyVT", ".", "isVector", "(", ")", "&&", "CopyVT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "{", "if", "(", "VA", ".", "getLocReg", "(", ")", "==", "X86", "::", "XMM0", "||", "VA", ".", "getLocReg", "(", ")", "==", "X86", "::", "XMM1", ")", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "MVT", "::", "v2i64", ",", "InFlag", ")", ".", "getValue", "(", "1", ")", ";", "Val", "=", "Chain", ".", "getValue", "(", "0", ")", ";", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "EXTRACT_VECTOR_ELT", ",", "dl", ",", "MVT", "::", "i64", ",", "Val", ",", "DAG", ".", "getConstant", "(", "0", ",", "MVT", "::", "i64", ")", ")", ";", "}", "else", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "MVT", "::", "i64", ",", "InFlag", ")", ".", "getValue", "(", "1", ")", ";", "Val", "=", "Chain", ".", "getValue", "(", "0", ")", ";", "}", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BIT_CONVERT", ",", "dl", ",", "CopyVT", ",", "Val", ")", ";", "}", "else", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "CopyVT", ",", "InFlag", ")", ".", "getValue", "(", "1", ")", ";", "Val", "=", "Chain", ".", "getValue", "(", "0", ")", ";", "}", "InFlag", "=", "Chain", ".", "getValue", "(", "2", ")", ";", "if", "(", "CopyVT", "!=", "VA", ".", "getValVT", "(", ")", ")", "{", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "FP_ROUND", ",", "dl", ",", "VA", ".", "getValVT", "(", ")", ",", "Val", ",", "DAG", ".", "getIntPtrConstant", "(", "1", ")", ")", ";", "}", "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", "\"SSE register return with SSE disabled\"", "X86::ST0", "X86::ST1", "MVT::f80", "64", "X86::XMM0", "X86::XMM1", "MVT::v2i64", "1", "0", "ISD::EXTRACT_VECTOR_ELT", "MVT::i64", "0", "MVT::i64", "MVT::i64", "1", "0", "ISD::BIT_CONVERT", "1", "0", "2", "ISD::FP_ROUND", "1"], "File": "X86ISelLowering144", "Func": "LowerCallResult", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19201, "Length": 486, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mep_adjust_cost", "(", "rtx_insn", "*", "insn", ",", "rtx", "link", ",", "rtx_insn", "*", "dep_insn", ",", "int", "cost", ")", "{", "int", "cost_specified", ";", "if", "(", "REG_NOTE_KIND", "(", "link", ")", "!=", "0", ")", "{", "if", "(", "REG_NOTE_KIND", "(", "link", ")", "==", "REG_DEP_OUTPUT", "&&", "global_reg_mentioned_p", "(", "PATTERN", "(", "insn", ")", ")", "&&", "global_reg_mentioned_p", "(", "PATTERN", "(", "dep_insn", ")", ")", ")", "return", "1", ";", "return", "0", ";", "}", "if", "(", "recog_memoized", "(", "dep_insn", ")", "<", "0", ")", "return", "cost", ";", "if", "(", "!", "TARGET_H1", ")", "{", "cost_specified", "=", "get_attr_latency", "(", "dep_insn", ")", ";", "if", "(", "cost_specified", "!=", "0", ")", "return", "cost_specified", ";", "}", "return", "cost", ";", "}", ""], "natrual_language": ["Scheduling", "hooks", "for", "VLIW", "mode", ".", "Conceptually", "this", "is", "very", "simple", ":", "we", "have", "a", "two-pack", "architecture", "that", "takes", "one", "core", "insn", "and", "one", "coprocessor", "insn", "to", "make", "up", "either", "a", "32-", "or", "64-bit", "instruction", "word", "(", "depending", "on", "the", "option", "bit", "set", "in", "the", "chip", ")", ".", "I.e", ".", "in", "VL32", "mode", ",", "we", "can", "pack", "one", "16-bit", "core", "insn", "and", "one", "16-bit", "cop", "insn", ";", "in", "VL64", "mode", "we", "can", "pack", "one", "16-bit", "core", "insn", "and", "one", "48-bit", "cop", "insn", "or", "two", "32-bit", "core/cop", "insns", ".", "In", "practice", ",", "instruction", "selection", "will", "be", "a", "bear", ".", "Consider", "in", "VL64", "mode", "the", "following", "insns", "add", "$", "1", ",", "1", "cmov", "$", "cr0", ",", "$", "0", "these", "can", "not", "pack", ",", "since", "the", "add", "is", "a", "16-bit", "core", "insn", "and", "cmov", "is", "a", "32-bit", "cop", "insn", ".", "However", ",", "add3", "$", "1", ",", "$", "1", ",", "1", "cmov", "$", "cr0", ",", "$", "0", "packs", "just", "fine", ".", "For", "good", "VLIW", "code", "generation", "in", "VL64", "mode", ",", "we", "will", "have", "to", "have", "32-bit", "alternatives", "for", "many", "of", "the", "common", "core", "insns", ".", "Not", "implemented", "."], "TS_V_token": ["mep", "0", "1", "0", "0", "0"], "File": "mep", "Func": "mep_adjust_cost", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19202, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_debug_legitimize_reload_address", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "int", "opnum", ",", "int", "type", ",", "int", "ind_levels", ",", "int", "*", "win", ")", "{", "rtx", "ret", "=", "rs6000_legitimize_reload_address", "(", "x", ",", "mode", ",", "opnum", ",", "type", ",", "ind_levels", ",", "win", ")", ";", "fprintf", "(", "stderr", ",", "\"\\nrs6000_legitimize_reload_address: mode = %s, opnum = %d, \"", "\"type = %d, ind_levels = %d, win = %d, original addr:\\n\"", ",", "GET_MODE_NAME", "(", "mode", ")", ",", "opnum", ",", "type", ",", "ind_levels", ",", "*", "win", ")", ";", "debug_rtx", "(", "x", ")", ";", "if", "(", "x", "==", "ret", ")", "fprintf", "(", "stderr", ",", "\"Same address returned\\n\"", ")", ";", "else", "if", "(", "!", "ret", ")", "fprintf", "(", "stderr", ",", "\"NULL returned\\n\"", ")", ";", "else", "{", "fprintf", "(", "stderr", ",", "\"New address:\\n\"", ")", ";", "debug_rtx", "(", "ret", ")", ";", "}", "return", "ret", ";", "}", ""], "natrual_language": ["Debug", "version", "of", "rs6000_legitimize_reload_address", "."], "TS_V_token": ["rs6000", "\"\\nrs6000_legitimize_reload_address: mode = %s, opnum = %d, \"", "\"type = %d, ind_levels = %d, win = %d, original addr:\\n\"", "\"Same address returned\\n\"", "\"NULL returned\\n\"", "\"New address:\\n\""], "File": "rs60004", "Func": "rs6000_debug_legitimize_reload_address", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19203, "Length": 114, "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": 19204, "Length": 43, "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": 19205, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "std", "::", "string", "NewOpcode", ";", "if", "(", "parseOptionalToken", "(", "AsmToken", "::", "Plus", ")", ")", "{", "NewOpcode", "=", "Name", ";", "NewOpcode", "+=", "'+'", ";", "Name", "=", "NewOpcode", ";", "}", "if", "(", "parseOptionalToken", "(", "AsmToken", "::", "Minus", ")", ")", "{", "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", "(", "parseOptionalToken", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "return", "false", ";", "if", "(", "ParseOperand", "(", "Operands", ")", ")", "return", "true", ";", "while", "(", "!", "parseOptionalToken", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "parseToken", "(", "AsmToken", "::", "Comma", ")", "||", "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)3", "Func": "ParseInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19206, "Length": 345, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "ARMTargetLowering", "::", "shouldExpandAtomicCmpXchgInIR", "(", "AtomicCmpXchgInst", "*", "AI", ")", "const", "{", "bool", "HasAtomicCmpXchg", "=", "!", "Subtarget", "->", "isThumb", "(", ")", "||", "Subtarget", "->", "hasV8MBaselineOps", "(", ")", ";", "if", "(", "getTargetMachine", "(", ")", ".", "getOptLevel", "(", ")", "!=", "0", "&&", "HasAtomicCmpXchg", ")", "return", "AtomicExpansionKind", "::", "LLSC", ";", "return", "AtomicExpansionKind", "::", "None", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "atomic", "cmpxchg", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "."], "TS_V_token": ["ARM", "ARM", "0"], "File": "ARMISelLowering (2)6", "Func": "shouldExpandAtomicCmpXchgInIR", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19207, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "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", ";", "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": ["AArch64", "AArch64", "MVT::f32", "MVT::f64"], "File": "AArch64ISelLowering (2)3", "Func": "isFMAFasterThanFMulAndFAdd", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19208, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARM64TargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Don't know how to custom expand this\"", ")", ";", "case", "ISD", "::", "FP_TO_UINT", ":", "case", "ISD", "::", "FP_TO_SINT", ":", "assert", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i128", "&&", "\"unexpected illegal conversion\"", ")", ";", "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": ["ARM64", "ARM64", "\"Don't know how to custom expand this\"", "ISD::FP_TO_UINT", "ISD::FP_TO_SINT", "0", "MVT::i128", "\"unexpected illegal conversion\""], "File": "ARM64ISelLowering", "Func": "ReplaceNodeResults", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19209, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "&", "MI", ",", "Register", "&", "SrcReg", ",", "Register", "&", "SrcReg2", ",", "int64_t", "&", "CmpMask", ",", "int64_t", "&", "CmpValue", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ARM", "::", "CMPri", ":", "case", "ARM", "::", "t2CMPri", ":", "case", "ARM", "::", "tCMPi8", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "0", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "return", "true", ";", "case", "ARM", "::", "CMPrr", ":", "case", "ARM", "::", "t2CMPrr", ":", "case", "ARM", "::", "tCMPr", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "0", ";", "return", "true", ";", "case", "ARM", "::", "TSTri", ":", "case", "ARM", "::", "t2TSTri", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "0", ";", "CmpMask", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "CmpValue", "=", "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": ["ARM", "ARM", "ARM::CMPri", "ARM::t2CMPri", "ARM::tCMPi8", "0", "0", "0", "1", "ARM::CMPrr", "ARM::t2CMPrr", "ARM::tCMPr", "0", "1", "0", "0", "ARM::TSTri", "ARM::t2TSTri", "0", "0", "1", "0"], "File": "ARMBaseInstrInfo110", "Func": "analyzeCompare", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19210, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "isCoalescableExtInstr", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "&", "SrcReg", ",", "unsigned", "&", "DstReg", ",", "unsigned", "&", "SubIdx", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "X86", "::", "MOVSX16rr8", ":", "case", "X86", "::", "MOVZX16rr8", ":", "case", "X86", "::", "MOVSX32rr8", ":", "case", "X86", "::", "MOVZX32rr8", ":", "case", "X86", "::", "MOVSX64rr8", ":", "if", "(", "!", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ")", "return", "false", ";", "case", "X86", "::", "MOVSX32rr16", ":", "case", "X86", "::", "MOVZX32rr16", ":", "case", "X86", "::", "MOVSX64rr16", ":", "case", "X86", "::", "MOVSX64rr32", ":", "{", "if", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getSubReg", "(", ")", "||", "MI", ".", "getOperand", "(", "1", ")", ".", "getSubReg", "(", ")", ")", "return", "false", ";", "SrcReg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "DstReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unreachable!\"", ")", ";", "case", "X86", "::", "MOVSX16rr8", ":", "case", "X86", "::", "MOVZX16rr8", ":", "case", "X86", "::", "MOVSX32rr8", ":", "case", "X86", "::", "MOVZX32rr8", ":", "case", "X86", "::", "MOVSX64rr8", ":", "SubIdx", "=", "X86", "::", "sub_8bit", ";", "break", ";", "case", "X86", "::", "MOVSX32rr16", ":", "case", "X86", "::", "MOVZX32rr16", ":", "case", "X86", "::", "MOVSX64rr16", ":", "SubIdx", "=", "X86", "::", "sub_16bit", ";", "break", ";", "case", "X86", "::", "MOVSX64rr32", ":", "SubIdx", "=", "X86", "::", "sub_32bit", ";", "break", ";", "}", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["isCoalescableExtInstr", "-", "Return", "true", "if", "the", "instruction", "is", "a", "``", "coalescable", "''", "extension", "instruction", "."], "TS_V_token": ["X86", "X86", "X86::MOVSX16rr8", "X86::MOVZX16rr8", "X86::MOVSX32rr8", "X86::MOVZX32rr8", "X86::MOVSX64rr8", "X86", "X86::MOVSX32rr16", "X86::MOVZX32rr16", "X86::MOVSX64rr16", "X86::MOVSX64rr32", "0", "1", "1", "0", "\"Unreachable!\"", "X86::MOVSX16rr8", "X86::MOVZX16rr8", "X86::MOVSX32rr8", "X86::MOVZX32rr8", "X86::MOVSX64rr8", "X86::sub_8bit", "X86::MOVSX32rr16", "X86::MOVZX32rr16", "X86::MOVSX64rr16", "X86::sub_16bit", "X86::MOVSX64rr32", "X86::sub_32bit"], "File": "X86InstrInfo (2)", "Func": "isCoalescableExtInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19211, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ldv_expand_builtin", "(", "rtx", "target", ",", "insn_code", "icode", ",", "rtx", "*", "op", ",", "machine_mode", "tmode", ")", "{", "if", "(", "target", "==", "0", "||", "GET_MODE", "(", "target", ")", "!=", "tmode", "||", "!", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "predicate", "(", "target", ",", "tmode", ")", ")", "target", "=", "gen_reg_rtx", "(", "tmode", ")", ";", "op", "[", "1", "]", "=", "copy_to_mode_reg", "(", "Pmode", ",", "op", "[", "1", "]", ")", ";", "bool", "blk", "=", "(", "icode", "==", "CODE_FOR_altivec_lvlx", "||", "icode", "==", "CODE_FOR_altivec_lvlxl", "||", "icode", "==", "CODE_FOR_altivec_lvrx", "||", "icode", "==", "CODE_FOR_altivec_lvrxl", ")", ";", "if", "(", "icode", "==", "CODE_FOR_altivec_lvx_v1ti", "||", "icode", "==", "CODE_FOR_altivec_lvx_v2df", "||", "icode", "==", "CODE_FOR_altivec_lvx_v2di", "||", "icode", "==", "CODE_FOR_altivec_lvx_v4sf", "||", "icode", "==", "CODE_FOR_altivec_lvx_v4si", "||", "icode", "==", "CODE_FOR_altivec_lvx_v8hi", "||", "icode", "==", "CODE_FOR_altivec_lvx_v16qi", ")", "{", "rtx", "rawaddr", ";", "if", "(", "op", "[", "0", "]", "==", "const0_rtx", ")", "rawaddr", "=", "op", "[", "1", "]", ";", "else", "{", "op", "[", "0", "]", "=", "copy_to_mode_reg", "(", "Pmode", ",", "op", "[", "0", "]", ")", ";", "rawaddr", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "op", "[", "1", "]", ",", "op", "[", "0", "]", ")", ";", "}", "rtx", "addr", "=", "gen_rtx_AND", "(", "Pmode", ",", "rawaddr", ",", "gen_rtx_CONST_INT", "(", "Pmode", ",", "-", "16", ")", ")", ";", "addr", "=", "gen_rtx_MEM", "(", "blk", "?", "BLKmode", ":", "tmode", ",", "addr", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "target", ",", "addr", ")", ")", ";", "}", "else", "{", "rtx", "addr", ";", "if", "(", "op", "[", "0", "]", "==", "const0_rtx", ")", "addr", "=", "gen_rtx_MEM", "(", "blk", "?", "BLKmode", ":", "tmode", ",", "op", "[", "1", "]", ")", ";", "else", "{", "op", "[", "0", "]", "=", "copy_to_mode_reg", "(", "Pmode", ",", "op", "[", "0", "]", ")", ";", "addr", "=", "gen_rtx_MEM", "(", "blk", "?", "BLKmode", ":", "tmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "op", "[", "1", "]", ",", "op", "[", "0", "]", ")", ")", ";", "}", "rtx", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "addr", ")", ";", "if", "(", "!", "pat", ")", "return", "0", ";", "emit_insn", "(", "pat", ")", ";", "}", "return", "target", ";", "}", ""], "natrual_language": ["Expand", "an", "AltiVec", "vector", "load", "builtin", ",", "and", "return", "the", "expanded", "rtx", "."], "TS_V_token": ["rs6000", "0", "0", "1", "1", "0", "1", "0", "0", "1", "0", "16", "0", "1", "0", "0", "1", "0", "0"], "File": "rs6000-builtin", "Func": "ldv_expand_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19212, "Length": 324, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "loongarch_rewrite_small_data", "(", "rtx", "pattern", ")", "{", "pattern", "=", "copy_insn", "(", "pattern", ")", ";", "loongarch_rewrite_small_data_1", "(", "&", "pattern", ")", ";", "return", "pattern", ";", "}", ""], "natrual_language": ["Rewrite", "instruction", "pattern", "PATTERN", "so", "that", "it", "refers", "to", "small", "data", "using", "explicit", "relocations", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_rewrite_small_data", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19213, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rws_update", "(", "int", "regno", ",", "struct", "reg_flags", "flags", ",", "int", "pred", ")", "{", "if", "(", "pred", ")", "rws_sum", "[", "regno", "]", ".", "write_count", "++", ";", "else", "rws_sum", "[", "regno", "]", ".", "write_count", "=", "2", ";", "rws_sum", "[", "regno", "]", ".", "written_by_fp", "|=", "flags", ".", "is_fp", ";", "rws_sum", "[", "regno", "]", ".", "written_by_and", "=", "flags", ".", "is_and", ";", "rws_sum", "[", "regno", "]", ".", "written_by_or", "=", "flags", ".", "is_or", ";", "rws_sum", "[", "regno", "]", ".", "first_pred", "=", "pred", ";", "}", ""], "natrual_language": ["Update", "*", "RWS", "for", "REGNO", ",", "which", "is", "being", "written", "by", "the", "current", "instruction", ",", "with", "predicate", "PRED", ",", "and", "associated", "register", "flags", "in", "FLAGS", "."], "TS_V_token": ["ia64", "2"], "File": "ia64", "Func": "rws_update", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19214, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SystemZRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "SystemZFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "SystemZ", "::", "R11D", ":", "SystemZ", "::", "R15D", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ::R11D", "SystemZ::R15D"], "File": "SystemZRegisterInfo (2)", "Func": "getFrameRegister", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19215, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTargetLowering", "::", "getNumRegistersForCallingConv", "(", "LLVMContext", "&", "Context", ",", "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": "PPCISelLowering124", "Func": "getNumRegistersForCallingConv", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19216, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "int", "shiftcosts", "(", "rtx", "x", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "GET_MODE", "(", "x", ")", ")", ">", "UNITS_PER_WORD", ")", "{", "if", "(", "GET_MODE", "(", "x", ")", "==", "DImode", "&&", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", "&&", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "1", ")", "return", "2", ";", "return", "-", "1", ";", "}", "if", "(", "!", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "return", "SH_DYNAMIC_SHIFT_COST", ";", "int", "value", "=", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", "&", "31", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "ASHIFTRT", ")", "{", "int", "cost", "=", "ashiftrt_insns", "[", "value", "]", ";", "if", "(", "cost", ">", "1", "+", "SH_DYNAMIC_SHIFT_COST", ")", "cost", "=", "1", "+", "SH_DYNAMIC_SHIFT_COST", ";", "return", "cost", ";", "}", "else", "return", "ashl_lshr_seq", "[", "value", "]", ".", "insn_count", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "a", "shift", "."], "TS_V_token": ["sh", "1", "1", "1", "2", "1", "1", "1", "31", "1", "1"], "File": "sh", "Func": "shiftcosts", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19217, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_unwind_emit_set", "(", "FILE", "*", "asm_out_file", ",", "rtx", "p", ")", "{", "rtx", "e0", ";", "rtx", "e1", ";", "e0", "=", "XEXP", "(", "p", ",", "0", ")", ";", "e1", "=", "XEXP", "(", "p", ",", "1", ")", ";", "switch", "(", "GET_CODE", "(", "e0", ")", ")", "{", "case", "MEM", ":", "if", "(", "GET_CODE", "(", "XEXP", "(", "e0", ",", "0", ")", ")", "!=", "PRE_DEC", "||", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "e0", ",", "0", ")", ",", "0", ")", ")", "!=", "REG", "||", "REGNO", "(", "XEXP", "(", "XEXP", "(", "e0", ",", "0", ")", ",", "0", ")", ")", "!=", "SP_REGNUM", ")", "abort", "(", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t.save \"", ")", ";", "if", "(", "IS_VFP_REGNUM", "(", "REGNO", "(", "e1", ")", ")", ")", "asm_fprintf", "(", "asm_out_file", ",", "\"{d%d}\\n\"", ",", "(", "REGNO", "(", "e1", ")", "-", "FIRST_VFP_REGNUM", ")", "/", "2", ")", ";", "else", "asm_fprintf", "(", "asm_out_file", ",", "\"{%r}\\n\"", ",", "REGNO", "(", "e1", ")", ")", ";", "break", ";", "case", "REG", ":", "if", "(", "REGNO", "(", "e0", ")", "==", "SP_REGNUM", ")", "{", "if", "(", "GET_CODE", "(", "e1", ")", "!=", "PLUS", "||", "GET_CODE", "(", "XEXP", "(", "e1", ",", "0", ")", ")", "!=", "REG", "||", "REGNO", "(", "XEXP", "(", "e1", ",", "0", ")", ")", "!=", "SP_REGNUM", "||", "GET_CODE", "(", "XEXP", "(", "e1", ",", "1", ")", ")", "!=", "CONST_INT", ")", "abort", "(", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t.pad #%wd\\n\"", ",", "-", "INTVAL", "(", "XEXP", "(", "e1", ",", "1", ")", ")", ")", ";", "}", "else", "if", "(", "REGNO", "(", "e0", ")", "==", "HARD_FRAME_POINTER_REGNUM", ")", "{", "HOST_WIDE_INT", "offset", ";", "unsigned", "reg", ";", "if", "(", "GET_CODE", "(", "e1", ")", "==", "PLUS", ")", "{", "if", "(", "GET_CODE", "(", "XEXP", "(", "e1", ",", "0", ")", ")", "!=", "REG", "||", "GET_CODE", "(", "XEXP", "(", "e1", ",", "1", ")", ")", "!=", "CONST_INT", ")", "abort", "(", ")", ";", "reg", "=", "REGNO", "(", "XEXP", "(", "e1", ",", "0", ")", ")", ";", "offset", "=", "INTVAL", "(", "XEXP", "(", "e1", ",", "1", ")", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t.setfp %r, %r, #%wd\\n\"", ",", "HARD_FRAME_POINTER_REGNUM", ",", "reg", ",", "INTVAL", "(", "XEXP", "(", "e1", ",", "1", ")", ")", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "e1", ")", "==", "REG", ")", "{", "reg", "=", "REGNO", "(", "e1", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t.setfp %r, %r\\n\"", ",", "HARD_FRAME_POINTER_REGNUM", ",", "reg", ")", ";", "}", "else", "abort", "(", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "e1", ")", "==", "REG", "&&", "REGNO", "(", "e1", ")", "==", "SP_REGNUM", ")", "{", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t.movsp %r\\n\"", ",", "REGNO", "(", "e0", ")", ")", ";", "}", "else", "abort", "(", ")", ";", "break", ";", "default", ":", "abort", "(", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "unwind", "directives", "for", "a", "SET", "."], "TS_V_token": ["arm", "0", "1", "0", "0", "0", "0", "0", "\"\\t.save \"", "\"{d%d}\\n\"", "2", "\"{%r}\\n\"", "0", "0", "1", "\"\\t.pad #%wd\\n\"", "1", "0", "1", "0", "1", "\"\\t.setfp %r, %r, #%wd\\n\"", "1", "\"\\t.setfp %r, %r\\n\"", "\"\\t.movsp %r\\n\""], "File": "arm3", "Func": "arm_unwind_emit_set", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19218, "Length": 415, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "try_issue_insn", "(", "struct", "bundle_state", "*", "curr_state", ",", "rtx", "insn", ")", "{", "if", "(", "insn", "&&", "state_transition", "(", "curr_state", "->", "dfa_state", ",", "insn", ")", ">=", "0", ")", "{", "free_bundle_state", "(", "curr_state", ")", ";", "return", "FALSE", ";", "}", "return", "TRUE", ";", "}", ""], "natrual_language": ["The", "following", "function", "tries", "to", "issue", "INSN", "for", "the", "current", "state", "without", "advancing", "processor", "cycle", ".", "If", "it", "failed", ",", "the", "function", "returns", "FALSE", "and", "frees", "the", "current", "state", "."], "TS_V_token": ["ia64", "0"], "File": "ia64", "Func": "try_issue_insn", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19219, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_split_128bit_move", "(", "rtx", "dst", ",", "rtx", "src", ")", "{", "rtx", "dst_lo", ",", "dst_hi", ";", "rtx", "src_lo", ",", "src_hi", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "dst", ")", ";", "gcc_assert", "(", "mode", "==", "TImode", "||", "mode", "==", "TFmode", ")", ";", "gcc_assert", "(", "!", "(", "side_effects_p", "(", "src", ")", "||", "side_effects_p", "(", "dst", ")", ")", ")", ";", "gcc_assert", "(", "mode", "==", "GET_MODE", "(", "src", ")", "||", "GET_MODE", "(", "src", ")", "==", "VOIDmode", ")", ";", "if", "(", "REG_P", "(", "dst", ")", "&&", "REG_P", "(", "src", ")", ")", "{", "int", "src_regno", "=", "REGNO", "(", "src", ")", ";", "int", "dst_regno", "=", "REGNO", "(", "dst", ")", ";", "if", "(", "FP_REGNUM_P", "(", "dst_regno", ")", "&&", "GP_REGNUM_P", "(", "src_regno", ")", ")", "{", "src_lo", "=", "gen_lowpart", "(", "word_mode", ",", "src", ")", ";", "src_hi", "=", "gen_highpart", "(", "word_mode", ",", "src", ")", ";", "emit_insn", "(", "gen_aarch64_movlow_di", "(", "mode", ",", "dst", ",", "src_lo", ")", ")", ";", "emit_insn", "(", "gen_aarch64_movhigh_di", "(", "mode", ",", "dst", ",", "src_hi", ")", ")", ";", "return", ";", "}", "else", "if", "(", "GP_REGNUM_P", "(", "dst_regno", ")", "&&", "FP_REGNUM_P", "(", "src_regno", ")", ")", "{", "dst_lo", "=", "gen_lowpart", "(", "word_mode", ",", "dst", ")", ";", "dst_hi", "=", "gen_highpart", "(", "word_mode", ",", "dst", ")", ";", "emit_insn", "(", "gen_aarch64_movdi_low", "(", "mode", ",", "dst_lo", ",", "src", ")", ")", ";", "emit_insn", "(", "gen_aarch64_movdi_high", "(", "mode", ",", "dst_hi", ",", "src", ")", ")", ";", "return", ";", "}", "}", "dst_lo", "=", "gen_lowpart", "(", "word_mode", ",", "dst", ")", ";", "dst_hi", "=", "gen_highpart", "(", "word_mode", ",", "dst", ")", ";", "src_lo", "=", "gen_lowpart", "(", "word_mode", ",", "src", ")", ";", "src_hi", "=", "gen_highpart_mode", "(", "word_mode", ",", "mode", ",", "src", ")", ";", "if", "(", "reg_overlap_mentioned_p", "(", "dst_lo", ",", "src_hi", ")", ")", "{", "aarch64_emit_move", "(", "dst_hi", ",", "src_hi", ")", ";", "aarch64_emit_move", "(", "dst_lo", ",", "src_lo", ")", ";", "}", "else", "{", "aarch64_emit_move", "(", "dst_lo", ",", "src_lo", ")", ";", "aarch64_emit_move", "(", "dst_hi", ",", "src_hi", ")", ";", "}", "}", ""], "natrual_language": ["Split", "a", "128-bit", "move", "operation", "into", "two", "64-bit", "move", "operations", ",", "taking", "care", "to", "handle", "partial", "overlap", "of", "register", "to", "register", "copies", ".", "Special", "cases", "are", "needed", "when", "moving", "between", "GP", "regs", "and", "FP", "regs", ".", "SRC", "can", "be", "a", "register", ",", "constant", "or", "memory", ";", "DST", "a", "register", "or", "memory", ".", "If", "either", "operand", "is", "memory", "it", "must", "not", "have", "any", "side", "effects", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_split_128bit_move", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19220, "Length": 300, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "CJG", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["CJG", "CJG::NumTargetFixupKinds"], "File": "CJGAsmBackend", "Func": "getNumFixupKinds", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19221, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMSubtarget", "::", "useFastISel", "(", ")", "const", "{", "return", "TM", ".", "Options", ".", "EnableFastISel", "&&", "(", "(", "isTargetMachO", "(", ")", "&&", "!", "isThumb1Only", "(", ")", ")", "||", "(", "isTargetLinux", "(", ")", "&&", "!", "isThumb", "(", ")", ")", "||", "(", "isTargetNaCl", "(", ")", "&&", "!", "isThumb", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["True", "if", "fast-isel", "is", "used", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMSubtarget59", "Func": "useFastISel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19222, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "or1k_can_change_mode_class", "(", "machine_mode", "from", ",", "machine_mode", "to", ",", "reg_class_t", "rclass", ")", "{", "if", "(", "rclass", "==", "FLAG_REGS", ")", "return", "from", "==", "to", ";", "return", "true", ";", "}", ""], "natrual_language": ["Worker", "for", "TARGET_CAN_CHANGE_MODE_CLASS", ".", "Returns", "true", "if", "its", "ok", "to", "change", "a", "register", "in", "class", "RCLASS", "from", "mode", "FROM", "to", "mode", "TO", ".", "In", "general", "OpenRISC", "registers", ",", "other", "than", "special", "flags", ",", "handle", "all", "supported", "classes", "."], "TS_V_token": ["or1k"], "File": "or1k", "Func": "or1k_can_change_mode_class", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19223, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getReg", "(", ")", "const", "{", "if", "(", "Kind", "==", "k_RegisterIndex", "&&", "RegIdx", ".", "Index", "==", "0", "&&", "RegIdx", ".", "Kind", "&", "RegKind_GPR", ")", "return", "getGPR32Reg", "(", ")", ";", "assert", "(", "Kind", "==", "k_PhysRegister", "&&", "\"Invalid access!\"", ")", ";", "return", "PhysReg", ".", "Num", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["Mips", "0", "\"Invalid access!\""], "File": "MipsAsmParser45", "Func": "getReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19224, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "machopic_output_stub", "(", "FILE", "*", "file", ",", "const", "char", "*", "symb", ",", "const", "char", "*", "stub", ")", "{", "unsigned", "int", "length", ";", "char", "*", "binder_name", ",", "*", "symbol_name", ",", "lazy_ptr_name", "[", "32", "]", ";", "int", "label", "=", "++", "current_machopic_label_num", ";", "gcc_assert", "(", "!", "TARGET_64BIT", ")", ";", "symb", "=", "targetm", ".", "strip_name_encoding", "(", "symb", ")", ";", "length", "=", "strlen", "(", "stub", ")", ";", "binder_name", "=", "XALLOCAVEC", "(", "char", ",", "length", "+", "32", ")", ";", "GEN_BINDER_NAME_FOR_STUB", "(", "binder_name", ",", "stub", ",", "length", ")", ";", "length", "=", "strlen", "(", "symb", ")", ";", "symbol_name", "=", "XALLOCAVEC", "(", "char", ",", "length", "+", "32", ")", ";", "GEN_SYMBOL_NAME_FOR_SYMBOL", "(", "symbol_name", ",", "symb", ",", "length", ")", ";", "sprintf", "(", "lazy_ptr_name", ",", "\"L%d$lz\"", ",", "label", ")", ";", "if", "(", "MACHOPIC_ATT_STUB", ")", "switch_to_section", "(", "darwin_sections", "[", "machopic_picsymbol_stub3_section", "]", ")", ";", "else", "if", "(", "MACHOPIC_PURE", ")", "switch_to_section", "(", "darwin_sections", "[", "machopic_picsymbol_stub2_section", "]", ")", ";", "else", "switch_to_section", "(", "darwin_sections", "[", "machopic_symbol_stub_section", "]", ")", ";", "fprintf", "(", "file", ",", "\"%s:\\n\"", ",", "stub", ")", ";", "fprintf", "(", "file", ",", "\"\\t.indirect_symbol %s\\n\"", ",", "symbol_name", ")", ";", "if", "(", "MACHOPIC_ATT_STUB", ")", "{", "fprintf", "(", "file", ",", "\"\\thlt ; hlt ; hlt ; hlt ; hlt\\n\"", ")", ";", "}", "else", "if", "(", "MACHOPIC_PURE", ")", "{", "rtx", "tmp", "=", "gen_rtx_REG", "(", "SImode", ",", "2", ")", ";", "output_set_got", "(", "tmp", ",", "NULL_RTX", ")", ";", "fprintf", "(", "file", ",", "\"LPC$%d:\\tmovl\\t%s-LPC$%d(%%ecx),%%ecx\\n\"", ",", "label", ",", "lazy_ptr_name", ",", "label", ")", ";", "fprintf", "(", "file", ",", "\"\\tjmp\\t*%%ecx\\n\"", ")", ";", "}", "else", "fprintf", "(", "file", ",", "\"\\tjmp\\t*%s\\n\"", ",", "lazy_ptr_name", ")", ";", "if", "(", "MACHOPIC_ATT_STUB", ")", "return", ";", "fprintf", "(", "file", ",", "\"%s:\\n\"", ",", "binder_name", ")", ";", "if", "(", "MACHOPIC_PURE", ")", "{", "fprintf", "(", "file", ",", "\"\\tlea\\t%s-%s(%%ecx),%%ecx\\n\"", ",", "lazy_ptr_name", ",", "binder_name", ")", ";", "fprintf", "(", "file", ",", "\"\\tpushl\\t%%ecx\\n\"", ")", ";", "}", "else", "fprintf", "(", "file", ",", "\"\\tpushl\\t$%s\\n\"", ",", "lazy_ptr_name", ")", ";", "fputs", "(", "\"\\tjmp\\tdyld_stub_binding_helper\\n\"", ",", "file", ")", ";", "if", "(", "MACHOPIC_PURE", ")", "{", "switch_to_section", "(", "darwin_sections", "[", "machopic_lazy_symbol_ptr2_section", "]", ")", ";", "}", "else", "switch_to_section", "(", "darwin_sections", "[", "machopic_lazy_symbol_ptr3_section", "]", ")", ";", "fprintf", "(", "file", ",", "\"%s:\\n\"", ",", "lazy_ptr_name", ")", ";", "fprintf", "(", "file", ",", "\"\\t.indirect_symbol %s\\n\"", ",", "symbol_name", ")", ";", "fprintf", "(", "file", ",", "ASM_LONG", "\"%s\\n\"", ",", "binder_name", ")", ";", "}", ""], "natrual_language": ["Generate", "external", "symbol", "indirection", "stubs", "(", "PIC", "and", "non-PIC", ")", "."], "TS_V_token": ["i386", "32", "32", "32", "\"L%d$lz\"", "\"%s:\\n\"", "\"\\t.indirect_symbol %s\\n\"", "\"\\thlt ; hlt ; hlt ; hlt ; hlt\\n\"", "2", "\"LPC$%d:\\tmovl\\t%s-LPC$%d(%%ecx),%%ecx\\n\"", "\"\\tjmp\\t*%%ecx\\n\"", "\"\\tjmp\\t*%s\\n\"", "\"%s:\\n\"", "\"\\tlea\\t%s-%s(%%ecx),%%ecx\\n\"", "\"\\tpushl\\t%%ecx\\n\"", "\"\\tpushl\\t$%s\\n\"", "\"\\tjmp\\tdyld_stub_binding_helper\\n\"", "\"%s:\\n\"", "\"\\t.indirect_symbol %s\\n\"", "\"%s\\n\""], "File": "i386", "Func": "machopic_output_stub", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19225, "Length": 345, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "init_cumulative_args", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "tree", "fntype", ",", "rtx", "libname", ",", "tree", "fndecl", ")", "{", "static", "CUMULATIVE_ARGS", "zero_cum", ";", "tree", "param", ",", "next_param", ";", "if", "(", "TARGET_DEBUG_ARG", ")", "{", "fprintf", "(", "stderr", ",", "\"\\ninit_cumulative_args (\"", ")", ";", "if", "(", "fntype", ")", "fprintf", "(", "stderr", ",", "\"fntype code = %s, ret code = %s\"", ",", "tree_code_name", "[", "(", "int", ")", "TREE_CODE", "(", "fntype", ")", "]", ",", "tree_code_name", "[", "(", "int", ")", "TREE_CODE", "(", "TREE_TYPE", "(", "fntype", ")", ")", "]", ")", ";", "else", "fprintf", "(", "stderr", ",", "\"no fntype\"", ")", ";", "if", "(", "libname", ")", "fprintf", "(", "stderr", ",", "\", libname = %s\"", ",", "XSTR", "(", "libname", ",", "0", ")", ")", ";", "}", "*", "cum", "=", "zero_cum", ";", "cum", "->", "nregs", "=", "ix86_regparm", ";", "if", "(", "TARGET_SSE", ")", "cum", "->", "sse_nregs", "=", "SSE_REGPARM_MAX", ";", "if", "(", "TARGET_MMX", ")", "cum", "->", "mmx_nregs", "=", "MMX_REGPARM_MAX", ";", "cum", "->", "warn_sse", "=", "true", ";", "cum", "->", "warn_mmx", "=", "true", ";", "cum", "->", "maybe_vaarg", "=", "false", ";", "if", "(", "fntype", "&&", "!", "TARGET_64BIT", ")", "{", "if", "(", "lookup_attribute", "(", "\"fastcall\"", ",", "TYPE_ATTRIBUTES", "(", "fntype", ")", ")", ")", "{", "cum", "->", "nregs", "=", "2", ";", "cum", "->", "fastcall", "=", "1", ";", "}", "else", "cum", "->", "nregs", "=", "ix86_function_regparm", "(", "fntype", ",", "fndecl", ")", ";", "}", "cum", "->", "float_in_sse", "=", "ix86_function_sseregparm", "(", "fntype", ",", "fndecl", ")", ";", "if", "(", "cum", "->", "nregs", "||", "cum", "->", "mmx_nregs", "||", "cum", "->", "sse_nregs", ")", "{", "for", "(", "param", "=", "(", "fntype", ")", "?", "TYPE_ARG_TYPES", "(", "fntype", ")", ":", "0", ";", "param", "!=", "0", ";", "param", "=", "next_param", ")", "{", "next_param", "=", "TREE_CHAIN", "(", "param", ")", ";", "if", "(", "next_param", "==", "0", "&&", "TREE_VALUE", "(", "param", ")", "!=", "void_type_node", ")", "{", "if", "(", "!", "TARGET_64BIT", ")", "{", "cum", "->", "nregs", "=", "0", ";", "cum", "->", "sse_nregs", "=", "0", ";", "cum", "->", "mmx_nregs", "=", "0", ";", "cum", "->", "warn_sse", "=", "0", ";", "cum", "->", "warn_mmx", "=", "0", ";", "cum", "->", "fastcall", "=", "0", ";", "cum", "->", "float_in_sse", "=", "0", ";", "}", "cum", "->", "maybe_vaarg", "=", "true", ";", "}", "}", "}", "if", "(", "(", "!", "fntype", "&&", "!", "libname", ")", "||", "(", "fntype", "&&", "!", "TYPE_ARG_TYPES", "(", "fntype", ")", ")", ")", "cum", "->", "maybe_vaarg", "=", "true", ";", "if", "(", "TARGET_DEBUG_ARG", ")", "fprintf", "(", "stderr", ",", "\", nregs=%d )\\n\"", ",", "cum", "->", "nregs", ")", ";", "return", ";", "}", ""], "natrual_language": ["Handle", "the", "INIT_CUMULATIVE_ARGS", "macro", ".", "Initialize", "a", "variable", "CUM", "of", "type", "CUMULATIVE_ARGS", "for", "a", "call", "to", "a", "function", "whose", "data", "type", "is", "FNTYPE", ".", "For", "a", "library", "call", ",", "FNTYPE", "is", "0", "."], "TS_V_token": ["i386", "\"\\ninit_cumulative_args (\"", "\"fntype code = %s, ret code = %s\"", "\"no fntype\"", "\", libname = %s\"", "0", "\"fastcall\"", "2", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "\", nregs=%d )\\n\""], "File": "i3863", "Func": "init_cumulative_args", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19226, "Length": 370, "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\"", ")", ";", "unsigned", "NewVReg", "=", "MRI", ".", "createVirtualRegister", "(", "SrcRC", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "SUBREG_TO_REG", ")", ",", "NewVReg", ")", ".", "addImm", "(", "1", ")", ".", "addOperand", "(", "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\"", ")", ";", "unsigned", "NewVReg", "=", "MRI", ".", "createVirtualRegister", "(", "DstRC", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "NewVReg", ")", ".", "addOperand", "(", "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": "PPCVSXCopy1", "Func": "processBlock", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19227, "Length": 350, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "Register", "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", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", "->", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "*", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlign", "(", "FI", ")", ")", ";", "if", "(", "RC", "==", "&", "SP", "::", "I64RegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STXri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "IntRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "IntPairRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STDri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "FPRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STFri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "SP", "::", "DFPRegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STDFri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "SP", "::", "QFPRegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STQFri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "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": ["Sparc", "Sparc", "SP::I64RegsRegClass", "SP::STXri", "0", "SP::IntRegsRegClass", "SP::STri", "0", "SP::IntPairRegClass", "SP::STDri", "0", "SP::FPRegsRegClass", "SP::STFri", "0", "SP::DFPRegsRegClass", "SP::STDFri", "0", "SP::QFPRegsRegClass", "SP::STQFri", "0", "\"Can't store this register to stack slot\""], "File": "SparcInstrInfo24", "Func": "storeRegToStackSlot", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19228, "Length": 430, "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": 19229, "Length": 371, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "KudeyarRegisterInfo", "::", "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", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "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", ")", "?", "Kudeyar", "::", "FP", ":", "Kudeyar", "::", "SP", ")", ";", "int", "Offset", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FrameIndex", ")", ";", "Offset", "+=", "4", ";", "if", "(", "!", "TFI", "->", "hasFP", "(", "MF", ")", ")", "Offset", "+=", "MF", ".", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "else", "Offset", "+=", "4", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "Kudeyar", "::", "ADD_RR", ")", "{", "MI", ".", "setDesc", "(", "TII", ".", "get", "(", "Kudeyar", "::", "MOV_RR", ")", ")", ";", "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", "(", "Kudeyar", "::", "SUB_RR", ")", ",", "DstReg", ")", ".", "addReg", "(", "DstReg", ")", ".", "addImm", "(", "-", "Offset", ")", ";", "else", "BuildMI", "(", "MBB", ",", "llvm", "::", "next", "(", "II", ")", ",", "dl", ",", "TII", ".", "get", "(", "Kudeyar", "::", "ADD_RR", ")", ",", "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": ["Kudeyar", "Kudeyar", "0", "\"Unexpected\"", "0", "\"Instr doesn't have FrameIndex operand!\"", "Kudeyar::FP", "Kudeyar::SP", "4", "4", "1", "Kudeyar::ADD_RR", "Kudeyar::MOV_RR", "0", "0", "0", "Kudeyar::SUB_RR", "Kudeyar::ADD_RR", "1"], "File": "KudeyarRegisterInfo", "Func": "eliminateFrameIndex", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19230, "Length": 385, "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", ";", "switch", "(", "type_of_cost", ")", "{", "case", "scalar_stmt", ":", "return", "aarch64_tune_params", ".", "vec_costs", "->", "scalar_stmt_cost", ";", "case", "scalar_load", ":", "return", "aarch64_tune_params", ".", "vec_costs", "->", "scalar_load_cost", ";", "case", "scalar_store", ":", "return", "aarch64_tune_params", ".", "vec_costs", "->", "scalar_store_cost", ";", "case", "vector_stmt", ":", "return", "aarch64_tune_params", ".", "vec_costs", "->", "vec_stmt_cost", ";", "case", "vector_load", ":", "return", "aarch64_tune_params", ".", "vec_costs", "->", "vec_align_load_cost", ";", "case", "vector_store", ":", "return", "aarch64_tune_params", ".", "vec_costs", "->", "vec_store_cost", ";", "case", "vec_to_scalar", ":", "return", "aarch64_tune_params", ".", "vec_costs", "->", "vec_to_scalar_cost", ";", "case", "scalar_to_vec", ":", "return", "aarch64_tune_params", ".", "vec_costs", "->", "scalar_to_vec_cost", ";", "case", "unaligned_load", ":", "return", "aarch64_tune_params", ".", "vec_costs", "->", "vec_unalign_load_cost", ";", "case", "unaligned_store", ":", "return", "aarch64_tune_params", ".", "vec_costs", "->", "vec_unalign_store_cost", ";", "case", "cond_branch_taken", ":", "return", "aarch64_tune_params", ".", "vec_costs", "->", "cond_taken_branch_cost", ";", "case", "cond_branch_not_taken", ":", "return", "aarch64_tune_params", ".", "vec_costs", "->", "cond_not_taken_branch_cost", ";", "case", "vec_perm", ":", "return", "aarch64_tune_params", ".", "vec_costs", "->", "vec_permute_cost", ";", "case", "vec_promote_demote", ":", "return", "aarch64_tune_params", ".", "vec_costs", "->", "vec_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": "aarch643", "Func": "aarch64_builtin_vectorization_cost", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19231, "Length": 189, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "useAA", "(", ")", "const", "LLVM_OVERRIDE", "{", "return", "true", ";", "}", ""], "natrual_language": ["Enable", "use", "of", "alias", "analysis", "during", "code", "generation", "(", "during", "MI", "scheduling", ",", "DAGCombine", ",", "etc", ".", ")", "."], "TS_V_token": ["SystemZ"], "File": "SystemZSubtarget31", "Func": "useAA", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19232, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "ix86_local_alignment", "(", "tree", "exp", ",", "machine_mode", "mode", ",", "unsigned", "int", "align", ")", "{", "tree", "type", ",", "decl", ";", "if", "(", "exp", "&&", "DECL_P", "(", "exp", ")", ")", "{", "type", "=", "TREE_TYPE", "(", "exp", ")", ";", "decl", "=", "exp", ";", "}", "else", "{", "type", "=", "exp", ";", "decl", "=", "NULL", ";", "}", "if", "(", "!", "TARGET_64BIT", "&&", "align", "==", "64", "&&", "ix86_preferred_stack_boundary", "<", "64", "&&", "(", "mode", "==", "DImode", "||", "(", "type", "&&", "TYPE_MODE", "(", "type", ")", "==", "DImode", ")", ")", "&&", "(", "!", "type", "||", "!", "TYPE_USER_ALIGN", "(", "type", ")", ")", "&&", "(", "!", "decl", "||", "!", "DECL_USER_ALIGN", "(", "decl", ")", ")", ")", "align", "=", "32", ";", "if", "(", "!", "type", ")", "{", "if", "(", "mode", "==", "XFmode", "&&", "align", "<", "GET_MODE_ALIGNMENT", "(", "DFmode", ")", ")", "align", "=", "GET_MODE_ALIGNMENT", "(", "DFmode", ")", ";", "return", "align", ";", "}", "if", "(", "TARGET_IAMCU", ")", "return", "align", ";", "if", "(", "TARGET_64BIT", "&&", "optimize_function_for_speed_p", "(", "cfun", ")", "&&", "TARGET_SSE", ")", "{", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "(", "va_list_type_node", "==", "NULL_TREE", "||", "(", "TYPE_MAIN_VARIANT", "(", "type", ")", "!=", "TYPE_MAIN_VARIANT", "(", "va_list_type_node", ")", ")", ")", "&&", "TYPE_SIZE", "(", "type", ")", "&&", "TREE_CODE", "(", "TYPE_SIZE", "(", "type", ")", ")", "==", "INTEGER_CST", "&&", "wi", "::", "geu_p", "(", "TYPE_SIZE", "(", "type", ")", ",", "128", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "if", "(", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", ")", "{", "if", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "type", ")", ")", "==", "DFmode", "&&", "align", "<", "64", ")", "return", "64", ";", "if", "(", "ALIGN_MODE_128", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "type", ")", ")", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "else", "if", "(", "TREE_CODE", "(", "type", ")", "==", "COMPLEX_TYPE", ")", "{", "if", "(", "TYPE_MODE", "(", "type", ")", "==", "DCmode", "&&", "align", "<", "64", ")", "return", "64", ";", "if", "(", "(", "TYPE_MODE", "(", "type", ")", "==", "XCmode", "||", "TYPE_MODE", "(", "type", ")", "==", "TCmode", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "else", "if", "(", "(", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "UNION_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "QUAL_UNION_TYPE", ")", "&&", "TYPE_FIELDS", "(", "type", ")", ")", "{", "if", "(", "DECL_MODE", "(", "TYPE_FIELDS", "(", "type", ")", ")", "==", "DFmode", "&&", "align", "<", "64", ")", "return", "64", ";", "if", "(", "ALIGN_MODE_128", "(", "DECL_MODE", "(", "TYPE_FIELDS", "(", "type", ")", ")", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "else", "if", "(", "TREE_CODE", "(", "type", ")", "==", "REAL_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "INTEGER_TYPE", ")", "{", "if", "(", "TYPE_MODE", "(", "type", ")", "==", "DFmode", "&&", "align", "<", "64", ")", "return", "64", ";", "if", "(", "ALIGN_MODE_128", "(", "TYPE_MODE", "(", "type", ")", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "return", "align", ";", "}", ""], "natrual_language": ["Compute", "the", "alignment", "for", "a", "local", "variable", ".", "TYPE", "is", "the", "data", "type", ",", "and", "ALIGN", "is", "the", "alignment", "that", "the", "object", "would", "ordinarily", "have", ".", "The", "value", "of", "this", "macro", "is", "used", "instead", "of", "that", "alignment", "to", "align", "the", "object", "."], "TS_V_token": ["i386", "64", "64", "32", "128", "128", "128", "64", "64", "128", "128", "64", "64", "128", "128", "64", "64", "128", "128", "64", "64", "128", "128"], "File": "i3866", "Func": "ix86_local_alignment", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19233, "Length": 456, "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", ",", "computeDataLayout", "(", "TT", ",", "CPU", ",", "Options", ",", "isLittle", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "TargetABI", "(", "computeTargetABI", "(", "Triple", "(", "TT", ")", ",", "CPU", ",", "Options", ")", ")", ",", "TLOF", "(", "createTLOF", "(", "Triple", "(", "getTargetTriple", "(", ")", ")", ")", ")", ",", "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": "ARMTargetMachine29", "Func": "ARMBaseTargetMachine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19234, "Length": 150, "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", "V64QImode", ":", "case", "V32QImode", ":", "case", "V16QImode", ":", "case", "V32HImode", ":", "case", "V16HImode", ":", "case", "V8HImode", ":", "case", "V16SImode", ":", "case", "V8SImode", ":", "case", "V4SImode", ":", "case", "V8DImode", ":", "case", "V4DImode", ":", "case", "V2DImode", ":", "gcc_assert", "(", "vect", ")", ";", "case", "V16SFmode", ":", "case", "V8SFmode", ":", "case", "V4SFmode", ":", "case", "V8DFmode", ":", "case", "V4DFmode", ":", "case", "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": "i3864", "Func": "ix86_build_const_vector", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19235, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_emit_sve_invert_fp_cond", "(", "rtx", "target", ",", "rtx_code", "code", ",", "rtx", "pred", ",", "bool", "known_ptrue_p", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "machine_mode", "pred_mode", "=", "GET_MODE", "(", "pred", ")", ";", "rtx", "tmp", "=", "gen_reg_rtx", "(", "pred_mode", ")", ";", "aarch64_emit_sve_fp_cond", "(", "tmp", ",", "code", ",", "pred", ",", "known_ptrue_p", ",", "op0", ",", "op1", ")", ";", "aarch64_emit_unop", "(", "target", ",", "one_cmpl_optab", ",", "tmp", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "SVE", "equivalent", "of", ":", "(", "set", "TMP", "(", "unspec", "[", "PRED", "KNOWN_PTRUE_P", "OP0", "OP1", "]", "UNSPEC_COND_", "<", "X", ">", ")", ")", "(", "set", "TARGET", "(", "not", "TMP", ")", ")", "where", "<", "X", ">", "is", "the", "operation", "associated", "with", "comparison", "CODE", ".", "KNOWN_PTRUE_P", "is", "true", "if", "PRED", "is", "known", "to", "be", "a", "PTRUE", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_emit_sve_invert_fp_cond", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19236, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86IntelAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "this", "->", "MF", "=", "&", "MF", ";", "SetupMachineFunction", "(", "MF", ")", ";", "O", "<<", "\"\\n\\n\"", ";", "EmitConstantPool", "(", "MF", ".", "getConstantPool", "(", ")", ")", ";", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "unsigned", "CC", "=", "F", "->", "getCallingConv", "(", ")", ";", "if", "(", "CC", "==", "CallingConv", "::", "X86_StdCall", "||", "CC", "==", "CallingConv", "::", "X86_FastCall", ")", "FunctionInfoMap", "[", "F", "]", "=", "*", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "decorateName", "(", "CurrentFnName", ",", "F", ")", ";", "SwitchToTextSection", "(", "\"_text\"", ",", "F", ")", ";", "unsigned", "FnAlign", "=", "4", ";", "if", "(", "F", "->", "hasFnAttr", "(", "Attribute", "::", "OptimizeForSize", ")", ")", "FnAlign", "=", "1", ";", "switch", "(", "F", "->", "getLinkage", "(", ")", ")", "{", "default", ":", "assert", "(", "0", "&&", "\"Unsupported linkage type!\"", ")", ";", "case", "Function", "::", "PrivateLinkage", ":", "case", "Function", "::", "InternalLinkage", ":", "EmitAlignment", "(", "FnAlign", ")", ";", "break", ";", "case", "Function", "::", "DLLExportLinkage", ":", "DLLExportedFns", ".", "insert", "(", "CurrentFnName", ")", ";", "case", "Function", "::", "ExternalLinkage", ":", "O", "<<", "\"\\tpublic \"", "<<", "CurrentFnName", "<<", "\"\\n\"", ";", "EmitAlignment", "(", "FnAlign", ")", ";", "break", ";", "}", "O", "<<", "CurrentFnName", "<<", "\"\\tproc near\\n\"", ";", "for", "(", "MachineFunction", "::", "const_iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "!", "I", "->", "pred_empty", "(", ")", ")", "{", "printBasicBlockLabel", "(", "I", ",", "true", ",", "true", ")", ";", "O", "<<", "'\\n'", ";", "}", "for", "(", "MachineBasicBlock", "::", "const_iterator", "II", "=", "I", "->", "begin", "(", ")", ",", "E", "=", "I", "->", "end", "(", ")", ";", "II", "!=", "E", ";", "++", "II", ")", "{", "printMachineInstruction", "(", "II", ")", ";", "}", "}", "EmitJumpTableInfo", "(", "MF", ".", "getJumpTableInfo", "(", ")", ",", "MF", ")", ";", "O", "<<", "CurrentFnName", "<<", "\"\\tendp\\n\"", ";", "O", ".", "flush", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "\"\\n\\n\"", "X86", "X86", "X86", "\"_text\"", "4", "1", "0", "\"Unsupported linkage type!\"", "\"\\tpublic \"", "\"\\n\"", "\"\\tproc near\\n\"", "\"\\tendp\\n\""], "File": "X86IntelAsmPrinter", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19237, "Length": 308, "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": 19238, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstPrinterCommon", "::", "printPCRelImm", "(", "const", "MCInst", "*", "MI", ",", "uint64_t", "Address", ",", "unsigned", "OpNo", ",", "raw_ostream", "&", "O", ")", "{", "const", "MCOperand", "&", "Op", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "if", "(", "Op", ".", "isImm", "(", ")", ")", "{", "if", "(", "PrintBranchImmAsAddress", ")", "{", "uint64_t", "Target", "=", "Address", "+", "Op", ".", "getImm", "(", ")", ";", "if", "(", "MAI", ".", "getCodePointerSize", "(", ")", "==", "4", ")", "Target", "&=", "0xffffffff", ";", "O", "<<", "formatHex", "(", "Target", ")", ";", "}", "else", "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", "{", "Op", ".", "getExpr", "(", ")", "->", "print", "(", "O", ",", "&", "MAI", ")", ";", "}", "}", "}", ""], "natrual_language": ["value", "(", "e.g", "."], "TS_V_token": ["X86", "X86", "4", "0xffffffff", "\"unknown pcrel immediate operand\""], "File": "X86InstPrinterCommon6", "Func": "printPCRelImm", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19239, "Length": 168, "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", "(", "!", "EnableTailPredication", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Tail-predication not enabled.\\n\"", ")", ";", "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", "\"Tail-predication not enabled.\\n\"", "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": "ARMTargetTransformInfo40", "Func": "preferPredicateOverEpilogue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19240, "Length": 211, "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": 19241, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "bool", "IsN64", "=", "Subtarget", ".", "isABI_N64", "(", ")", ";", "if", "(", "Subtarget", ".", "inMips16Mode", "(", ")", ")", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "Mips", "::", "S0", ":", "Mips", "::", "SP", ";", "else", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "(", "IsN64", "?", "Mips", "::", "FP_64", ":", "Mips", "::", "FP", ")", ":", "(", "IsN64", "?", "Mips", "::", "SP_64", ":", "Mips", "::", "SP", ")", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips::S0", "Mips::SP", "Mips::FP_64", "Mips::FP", "Mips::SP_64", "Mips::SP"], "File": "MipsRegisterInfo", "Func": "getFrameRegister", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19242, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_xcoff_declare_function_name", "(", "FILE", "*", "file", ",", "const", "char", "*", "name", ",", "tree", "decl", ")", "{", "char", "*", "buffer", "=", "(", "char", "*", ")", "alloca", "(", "strlen", "(", "name", ")", "+", "1", ")", ";", "char", "*", "p", ";", "int", "dollar_inside", "=", "0", ";", "struct", "declare_alias_data", "data", "=", "{", "file", ",", "false", "}", ";", "strcpy", "(", "buffer", ",", "name", ")", ";", "p", "=", "strchr", "(", "buffer", ",", "'$'", ")", ";", "while", "(", "p", ")", "{", "*", "p", "=", "'_'", ";", "dollar_inside", "++", ";", "p", "=", "strchr", "(", "p", "+", "1", ",", "'$'", ")", ";", "}", "if", "(", "TREE_PUBLIC", "(", "decl", ")", ")", "{", "if", "(", "!", "RS6000_WEAK", "||", "!", "DECL_WEAK", "(", "decl", ")", ")", "{", "if", "(", "dollar_inside", ")", "{", "fprintf", "(", "file", ",", "\"\\t.rename .%s,\\\".%s\\\"\\n\"", ",", "buffer", ",", "name", ")", ";", "fprintf", "(", "file", ",", "\"\\t.rename %s,\\\"%s\\\"\\n\"", ",", "buffer", ",", "name", ")", ";", "}", "fputs", "(", "\"\\t.globl .\"", ",", "file", ")", ";", "RS6000_OUTPUT_BASENAME", "(", "file", ",", "buffer", ")", ";", "putc", "(", "'\\n'", ",", "file", ")", ";", "}", "}", "else", "{", "if", "(", "dollar_inside", ")", "{", "fprintf", "(", "file", ",", "\"\\t.rename .%s,\\\".%s\\\"\\n\"", ",", "buffer", ",", "name", ")", ";", "fprintf", "(", "file", ",", "\"\\t.rename %s,\\\"%s\\\"\\n\"", ",", "buffer", ",", "name", ")", ";", "}", "fputs", "(", "\"\\t.lglobl .\"", ",", "file", ")", ";", "RS6000_OUTPUT_BASENAME", "(", "file", ",", "buffer", ")", ";", "putc", "(", "'\\n'", ",", "file", ")", ";", "}", "fputs", "(", "\"\\t.csect \"", ",", "file", ")", ";", "RS6000_OUTPUT_BASENAME", "(", "file", ",", "buffer", ")", ";", "fputs", "(", "TARGET_32BIT", "?", "\"[DS]\\n\"", ":", "\"[DS],3\\n\"", ",", "file", ")", ";", "RS6000_OUTPUT_BASENAME", "(", "file", ",", "buffer", ")", ";", "fputs", "(", "\":\\n\"", ",", "file", ")", ";", "symtab_node", "::", "get", "(", "decl", ")", "->", "call_for_symbol_and_aliases", "(", "rs6000_declare_alias", ",", "&", "data", ",", "true", ")", ";", "fputs", "(", "TARGET_32BIT", "?", "\"\\t.long .\"", ":", "\"\\t.llong .\"", ",", "file", ")", ";", "RS6000_OUTPUT_BASENAME", "(", "file", ",", "buffer", ")", ";", "fputs", "(", "\", TOC[tc0], 0\\n\"", ",", "file", ")", ";", "in_section", "=", "NULL", ";", "switch_to_section", "(", "function_section", "(", "decl", ")", ")", ";", "putc", "(", "'.'", ",", "file", ")", ";", "RS6000_OUTPUT_BASENAME", "(", "file", ",", "buffer", ")", ";", "fputs", "(", "\":\\n\"", ",", "file", ")", ";", "data", ".", "function_descriptor", "=", "true", ";", "symtab_node", "::", "get", "(", "decl", ")", "->", "call_for_symbol_and_aliases", "(", "rs6000_declare_alias", ",", "&", "data", ",", "true", ")", ";", "if", "(", "!", "DECL_IGNORED_P", "(", "decl", ")", ")", "{", "if", "(", "write_symbols", "==", "DBX_DEBUG", "||", "write_symbols", "==", "XCOFF_DEBUG", ")", "xcoffout_declare_function", "(", "file", ",", "decl", ",", "buffer", ")", ";", "else", "if", "(", "write_symbols", "==", "DWARF2_DEBUG", ")", "{", "name", "=", "(", "*", "targetm", ".", "strip_name_encoding", ")", "(", "name", ")", ";", "fprintf", "(", "file", ",", "\"\\t.function .%s,.%s,2,0\\n\"", ",", "name", ",", "name", ")", ";", "}", "}", "return", ";", "}", ""], "natrual_language": ["This", "macro", "produces", "the", "initial", "definition", "of", "a", "function", "name", ".", "On", "the", "RS/6000", ",", "we", "need", "to", "place", "an", "extra", "'", ".", "'", "in", "the", "function", "name", "and", "output", "the", "function", "descriptor", ".", "Dollar", "signs", "are", "converted", "to", "underscores", ".", "The", "csect", "for", "the", "function", "will", "have", "already", "been", "created", "when", "text_section", "was", "selected", ".", "We", "do", "have", "to", "go", "back", "to", "that", "csect", ",", "however", ".", "The", "third", "and", "fourth", "parameters", "to", "the", ".function", "pseudo-op", "(", "16", "and", "044", ")", "are", "placeholders", "which", "no", "longer", "have", "any", "use", ".", "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", "1", "0", "1", "\"\\t.rename .%s,\\\".%s\\\"\\n\"", "\"\\t.rename %s,\\\"%s\\\"\\n\"", "\"\\t.globl .\"", "\"\\t.rename .%s,\\\".%s\\\"\\n\"", "\"\\t.rename %s,\\\"%s\\\"\\n\"", "\"\\t.lglobl .\"", "\"\\t.csect \"", "\"[DS]\\n\"", "\"[DS],3\\n\"", "\":\\n\"", "\"\\t.long .\"", "\"\\t.llong .\"", "\", TOC[tc0], 0\\n\"", "\":\\n\"", "\"\\t.function .%s,.%s,2,0\\n\""], "File": "rs60005", "Func": "rs6000_xcoff_declare_function_name", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19243, "Length": 418, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "AArch64Subtarget", "*", "AArch64TargetMachine", "::", "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", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "CPU", "+", "FS", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "llvm", "::", "make_unique", "<", "AArch64Subtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "*", "this", ",", "isLittle", ")", ";", "GISelAccessor", "*", "GISel", "=", "new", "GISelAccessor", "(", ")", ";", "AArch64GISelActualAccessor", "*", "GISel", "=", "new", "AArch64GISelActualAccessor", "(", ")", ";", "GISel", "->", "CallLoweringInfo", ".", "reset", "(", "new", "AArch64CallLowering", "(", "*", "I", "->", "getTargetLowering", "(", ")", ")", ")", ";", "GISel", "->", "Legalizer", ".", "reset", "(", "new", "AArch64LegalizerInfo", "(", ")", ")", ";", "auto", "*", "RBI", "=", "new", "AArch64RegisterBankInfo", "(", "*", "I", "->", "getRegisterInfo", "(", ")", ")", ";", "GISel", "->", "InstSelector", ".", "reset", "(", "createAArch64InstructionSelector", "(", "*", "this", ",", "*", "I", ",", "*", "RBI", ")", ")", ";", "GISel", "->", "RegBankInfo", ".", "reset", "(", "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": ["AArch64", "AArch64", "AArch64", "\"target-cpu\"", "\"target-features\"", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine67", "Func": "getSubtargetImpl", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19244, "Length": 239, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_d_register_target_info", "(", "void", ")", "{", "const", "struct", "d_target_info_spec", "handlers", "[", "]", "=", "{", "{", "\"floatAbi\"", ",", "rs6000_d_handle_target_float_abi", "}", ",", "{", "\"objectFormat\"", ",", "rs6000_d_handle_target_object_format", "}", ",", "{", "NULL", ",", "NULL", "}", ",", "}", ";", "d_add_target_info_handlers", "(", "handlers", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_D_REGISTER_CPU_TARGET_INFO", "."], "TS_V_token": ["rs6000", "\"floatAbi\"", "\"objectFormat\""], "File": "rs6000-d", "Func": "rs6000_d_register_target_info", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19245, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0TargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ")", "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": ["Cpu0", "Cpu0", "0", "1"], "File": "Cpu0ISelLowering", "Func": "isLegalAddressingMode", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19246, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMSubtarget", "&", "ARMSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "initializeEnvironment", "(", ")", ";", "resetSubtargetFeatures", "(", "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": ["ARM", "ARM", "ARM"], "File": "ARMSubtarget (2)", "Func": "initializeSubtargetDependencies", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19247, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "CSKYTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected instr type to insert\"", ")", ";", "case", "CSKY", "::", "FSELS", ":", "case", "CSKY", "::", "FSELD", ":", "if", "(", "Subtarget", ".", "hasE2", "(", ")", ")", "return", "emitSelectPseudo", "(", "MI", ",", "BB", ",", "CSKY", "::", "BT32", ")", ";", "else", "return", "emitSelectPseudo", "(", "MI", ",", "BB", ",", "CSKY", "::", "BT16", ")", ";", "case", "CSKY", "::", "ISEL32", ":", "return", "emitSelectPseudo", "(", "MI", ",", "BB", ",", "CSKY", "::", "BT32", ")", ";", "case", "CSKY", "::", "ISEL16", ":", "return", "emitSelectPseudo", "(", "MI", ",", "BB", ",", "CSKY", "::", "BT16", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["CSKY", "CSKY", "\"Unexpected instr type to insert\"", "CSKY::FSELS", "CSKY::FSELD", "CSKY::BT32", "CSKY::BT16", "CSKY::ISEL32", "CSKY::BT32", "CSKY::ISEL16", "CSKY::BT16"], "File": "CSKYISelLowering3", "Func": "EmitInstrWithCustomInserter", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19248, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0AsmPrinter", "::", "emitFrameDirective", "(", ")", "{", "const", "TargetRegisterInfo", "&", "RI", "=", "*", "TM", ".", "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": "Cpu0AsmPrinter1", "Func": "emitFrameDirective", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19249, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "UPTSubtarget", "&", "UPTSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "std", "::", "string", "CPUName", "=", "CPU", ";", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", "=", "\"generic-upt\"", ";", "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": ["UPT", "UPT", "UPT", "\"generic-upt\""], "File": "UPTSubtarget", "Func": "initializeSubtargetDependencies", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19250, "Length": 44, "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!\"", ")", ";", "}", ""], "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!\""], "File": "ARMMCCodeEmitter10", "Func": "getMachineOpValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19251, "Length": 217, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "x86_function_profiler", "(", "FILE", "*", "file", ",", "int", "labelno", "ATTRIBUTE_UNUSED", ")", "{", "const", "char", "*", "mcount_name", "=", "(", "flag_fentry", "?", "MCOUNT_NAME_BEFORE_PROLOGUE", ":", "MCOUNT_NAME", ")", ";", "if", "(", "TARGET_64BIT", ")", "{", "fprintf", "(", "file", ",", "\"\\tleaq\\t%sP%d(%%rip),%%r11\\n\"", ",", "LPREFIX", ",", "labelno", ")", ";", "if", "(", "!", "TARGET_PECOFF", "&&", "flag_pic", ")", "fprintf", "(", "file", ",", "\"1:\\tcall\\t*%s@GOTPCREL(%%rip)\\n\"", ",", "mcount_name", ")", ";", "else", "x86_print_call_or_nop", "(", "file", ",", "mcount_name", ")", ";", "}", "else", "if", "(", "flag_pic", ")", "{", "fprintf", "(", "file", ",", "\"\\tleal\\t%sP%d@GOTOFF(%%ebx),%%\"", "PROFILE_COUNT_REGISTER", "\"\\n\"", ",", "LPREFIX", ",", "labelno", ")", ";", "fprintf", "(", "file", ",", "\"1:\\tcall\\t*%s@GOT(%%ebx)\\n\"", ",", "mcount_name", ")", ";", "}", "else", "{", "fprintf", "(", "file", ",", "\"\\tmovl\\t$%sP%d,%%\"", "PROFILE_COUNT_REGISTER", "\"\\n\"", ",", "LPREFIX", ",", "labelno", ")", ";", "x86_print_call_or_nop", "(", "file", ",", "mcount_name", ")", ";", "}", "if", "(", "flag_record_mcount", ")", "{", "fprintf", "(", "file", ",", "\"\\t.section __mcount_loc, \\\"a\\\",@progbits\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\t.%s 1b\\n\"", ",", "TARGET_64BIT", "?", "\"quad\"", ":", "\"long\"", ")", ";", "fprintf", "(", "file", ",", "\"\\t.previous\\n\"", ")", ";", "}", "}", ""], "natrual_language": ["Output", "assembler", "code", "to", "FILE", "to", "increment", "profiler", "label", "#", "LABELNO", "for", "profiling", "a", "function", "entry", "."], "TS_V_token": ["i386", "\"\\tleaq\\t%sP%d(%%rip),%%r11\\n\"", "\"1:\\tcall\\t*%s@GOTPCREL(%%rip)\\n\"", "\"\\tleal\\t%sP%d@GOTOFF(%%ebx),%%\"", "\"\\n\"", "\"1:\\tcall\\t*%s@GOT(%%ebx)\\n\"", "\"\\tmovl\\t$%sP%d,%%\"", "\"\\n\"", "\"\\t.section __mcount_loc, \\\"a\\\",@progbits\\n\"", "\"\\t.%s 1b\\n\"", "\"quad\"", "\"long\"", "\"\\t.previous\\n\""], "File": "i3864", "Func": "x86_function_profiler", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19252, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FastISel", "*", "MipsTargetLowering", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "funcInfo", ",", "const", "TargetLibraryInfo", "*", "libInfo", ")", "const", "{", "if", "(", "!", "EnableMipsFastISel", ")", "return", "TargetLowering", "::", "createFastISel", "(", "funcInfo", ",", "libInfo", ")", ";", "return", "Mips", "::", "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": ["Mips", "Mips", "Mips", "Mips::createFastISel"], "File": "MipsISelLowering (2)1", "Func": "createFastISel", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19253, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_output_32bit_xfer", "(", "char", "direction", ",", "unsigned", "int", "gpreg", ",", "unsigned", "int", "fpreg", ")", "{", "fprintf", "(", "asm_out_file", ",", "\"\\tm%cc1\\t%s,%s\\n\"", ",", "direction", ",", "reg_names", "[", "gpreg", "]", ",", "reg_names", "[", "fpreg", "]", ")", ";", "}", ""], "natrual_language": ["Write", "instructions", "to", "move", "a", "32-bit", "value", "between", "general", "register", "GPREG", "and", "floating-point", "register", "FPREG", ".", "DIRECTION", "is", "'t", "'", "to", "move", "from", "GPREG", "to", "FPREG", "and", "'", "f", "'", "to", "move", "in", "the", "opposite", "direction", "."], "TS_V_token": ["mips", "\"\\tm%cc1\\t%s,%s\\n\""], "File": "mips", "Func": "mips_output_32bit_xfer", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19254, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SICSubtarget", "*", "getSubtargetImpl", "(", ")", "const", "{", "return", "&", "DefaultSubtarget", ";", "}", ""], "natrual_language": ["Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "."], "TS_V_token": ["SIC", "SIC"], "File": "SICTargetMachine", "Func": "getSubtargetImpl", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19255, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTargetLowering", "::", "getByValTypeAlignment", "(", "Type", "*", "Ty", ",", "const", "DataLayout", "&", "DL", ")", "const", "{", "Align", "Alignment", "=", "Subtarget", ".", "isPPC64", "(", ")", "?", "Align", "(", "8", ")", ":", "Align", "(", "4", ")", ";", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", "||", "Subtarget", ".", "hasQPX", "(", ")", ")", "getMaxByValAlign", "(", "Ty", ",", "Alignment", ",", "Subtarget", ".", "hasQPX", "(", ")", "?", "Align", "(", "32", ")", ":", "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", "32", "16"], "File": "PPCISelLowering146", "Func": "getByValTypeAlignment", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19256, "Length": 80, "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": 19257, "Length": 52, "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", ";", "MachineBasicBlock", "::", "iterator", "PI", "=", "doMergeWithPrevious", "?", "std", "::", "prev", "(", "MBBI", ")", ":", "MBBI", ";", "MachineBasicBlock", "::", "iterator", "NI", "=", "doMergeWithPrevious", "?", "0", ":", "std", "::", "next", "(", "MBBI", ")", ";", "unsigned", "Opc", "=", "PI", "->", "getOpcode", "(", ")", ";", "int", "Offset", "=", "0", ";", "if", "(", "(", "Opc", "==", "X86", "::", "ADD64ri32", "||", "Opc", "==", "X86", "::", "ADD64ri8", "||", "Opc", "==", "X86", "::", "ADD32ri", "||", "Opc", "==", "X86", "::", "ADD32ri8", "||", "Opc", "==", "X86", "::", "LEA32r", "||", "Opc", "==", "X86", "::", "LEA64_32r", ")", "&&", "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", "X86::LEA32r", "X86::LEA64_32r", "0", "2", "X86::SUB64ri32", "X86::SUB64ri8", "X86::SUB32ri", "X86::SUB32ri8", "0", "2"], "File": "X86FrameLowering (2)", "Func": "mergeSPUpdates", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19258, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "pa_fmpysuboperands", "(", "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", "]", ")", ")", "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": "pa", "Func": "pa_fmpysuboperands", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19259, "Length": 322, "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", ";", "genExecuteOnly", "=", "ARM_TM", ".", "getSubtargetImpl", "(", ")", "->", "genExecuteOnly", "(", ")", ";", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "InitializeELF", "(", "isAAPCS_ABI", ")", ";", "if", "(", "isAAPCS_ABI", ")", "{", "LSDASection", "=", "nullptr", ";", "}", "AttributesSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".ARM.attributes\"", ",", "ELF", "::", "SHT_ARM_ATTRIBUTES", ",", "0", ")", ";", "if", "(", "genExecuteOnly", ")", "{", "unsigned", "Type", "=", "ELF", "::", "SHT_PROGBITS", ";", "unsigned", "Flags", "=", "ELF", "::", "SHF_EXECINSTR", "|", "ELF", "::", "SHF_ALLOC", "|", "ELF", "::", "SHF_ARM_PURECODE", ";", "TextSection", "=", "Ctx", ".", "getELFSection", "(", "\".text\"", ",", "Type", ",", "Flags", ",", "0", ",", "\"\"", ",", "0U", ")", ";", "}", "}", ""], "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", "ARM", "\".ARM.attributes\"", "ARM", "0", "ARM", "\".text\"", "0", "\"\"", "0U"], "File": "ARMTargetObjectFile1", "Func": "Initialize", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19260, "Length": 144, "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": 19261, "Length": 220, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "!", "getARMSubtarget", "(", ")", ".", "isThumb1Only", "(", ")", ")", "PM", "->", "add", "(", "createARMLoadStoreOptimizationPass", "(", "true", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "getARMSubtarget", "(", ")", ".", "isCortexA9", "(", ")", ")", "PM", "->", "add", "(", "createMLxExpansionPass", "(", ")", ")", ";", "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"], "File": "ARMTargetMachine62", "Func": "addPreRegAlloc", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19262, "Length": 67, "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", ")", ";", "SDLoc", "dl", "(", "N", ")", ";", "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", "(", ")", ";", "if", "(", "!", "Subtarget", "->", "isThumb1Only", "(", ")", "&&", "Subtarget", "->", "hasV6T2Ops", "(", ")", ")", "{", "SDValue", "R", "=", "PerformCMOVToBFICombine", "(", "N", ",", "DAG", ")", ";", "if", "(", "R", ")", "return", "R", ";", "}", "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", ";", "DAG", ".", "computeKnownBits", "(", "SDValue", "(", "N", ",", "0", ")", ",", "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": "ARMISelLowering (2)2", "Func": "PerformCMOVCombine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19263, "Length": 422, "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", ";", "}", "}", "}", "for", "(", "auto", "MI", ":", "ToRemove", ")", "{", "MI", "->", "eraseFromParent", "(", ")", ";", "++", "NumDMBsRemoved", ";", "}", "return", "NumDMBsRemoved", ">", "0", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "1", "ARM::DMB", "0", "0", "0", "0"], "File": "ARMOptimizeBarriersPass", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19264, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "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": ["SystemZ", "SystemZ", "\".insn\""], "File": "SystemZAsmParser (2)1", "Func": "ParseDirective", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19265, "Length": 38, "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\"", ",", "\"fmodl\"", ",", "\"log10l\"", ",", "\"log2l\"", ",", "\"logl\"", ",", "\"nearbyintl\"", ",", "\"powl\"", ",", "\"rintl\"", ",", "\"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\"", "\"fmodl\"", "\"log10l\"", "\"log2l\"", "\"logl\"", "\"nearbyintl\"", "\"powl\"", "\"rintl\"", "\"sinl\"", "\"sqrtl\"", "\"truncl\"", "0"], "File": "MipsCCState8", "Func": "isF128SoftLibCall", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19266, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "unsigned", "Opc", "=", "0", ",", "ZeroReg", "=", "0", ";", "if", "(", "Cpu0", "::", "CPURegsRegClass", ".", "contains", "(", "DestReg", ")", ")", "{", "if", "(", "Cpu0", "::", "CPURegsRegClass", ".", "contains", "(", "SrcReg", ")", ")", "Opc", "=", "Cpu0", "::", "ADD", ",", "ZeroReg", "=", "Cpu0", "::", "ZERO", ";", "else", "if", "(", "SrcReg", "==", "Cpu0", "::", "HI", ")", "Opc", "=", "Cpu0", "::", "MFHI", ",", "SrcReg", "=", "0", ";", "else", "if", "(", "SrcReg", "==", "Cpu0", "::", "LO", ")", "Opc", "=", "Cpu0", "::", "MFLO", ",", "SrcReg", "=", "0", ";", "}", "else", "if", "(", "Cpu0", "::", "CPURegsRegClass", ".", "contains", "(", "SrcReg", ")", ")", "{", "if", "(", "DestReg", "==", "Cpu0", "::", "HI", ")", "Opc", "=", "Cpu0", "::", "MTHI", ",", "DestReg", "=", "0", ";", "else", "if", "(", "DestReg", "==", "Cpu0", "::", "LO", ")", "Opc", "=", "Cpu0", "::", "MTLO", ",", "DestReg", "=", "0", ";", "}", "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": ["Cpu0", "Cpu0", "0", "0", "Cpu0::CPURegsRegClass", "Cpu0::CPURegsRegClass", "Cpu0::ADD", "Cpu0::ZERO", "Cpu0::HI", "Cpu0::MFHI", "0", "Cpu0::LO", "Cpu0::MFLO", "0", "Cpu0::CPURegsRegClass", "Cpu0::HI", "Cpu0::MTHI", "0", "Cpu0::LO", "Cpu0::MTLO", "0", "\"Cannot copy registers\""], "File": "Cpu0InstrInfo1", "Func": "copyPhysReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19267, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "AArch64FunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "if", "(", "AFI", "->", "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": "AArch64CleanupLocalDynamicTLSPass1", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19268, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "long", "arm_compute_save_reg0_reg12_mask", "(", "void", ")", "{", "unsigned", "long", "func_type", "=", "arm_current_func_type", "(", ")", ";", "unsigned", "long", "save_reg_mask", "=", "0", ";", "unsigned", "int", "reg", ";", "if", "(", "IS_INTERRUPT", "(", "func_type", ")", ")", "{", "unsigned", "int", "max_reg", ";", "if", "(", "ARM_FUNC_TYPE", "(", "func_type", ")", "==", "ARM_FT_FIQ", ")", "max_reg", "=", "7", ";", "else", "max_reg", "=", "12", ";", "for", "(", "reg", "=", "0", ";", "reg", "<=", "max_reg", ";", "reg", "++", ")", "if", "(", "reg_needs_saving_p", "(", "reg", ")", ")", "save_reg_mask", "|=", "(", "1", "<<", "reg", ")", ";", "if", "(", "PIC_REGISTER_MAY_NEED_SAVING", "&&", "crtl", "->", "uses_pic_offset_table", ")", "save_reg_mask", "|=", "1", "<<", "PIC_OFFSET_TABLE_REGNUM", ";", "}", "else", "if", "(", "IS_VOLATILE", "(", "func_type", ")", ")", "{", "if", "(", "frame_pointer_needed", ")", "save_reg_mask", "|=", "1", "<<", "HARD_FRAME_POINTER_REGNUM", ";", "if", "(", "df_regs_ever_live_p", "(", "ARM_HARD_FRAME_POINTER_REGNUM", ")", ")", "save_reg_mask", "|=", "1", "<<", "ARM_HARD_FRAME_POINTER_REGNUM", ";", "if", "(", "df_regs_ever_live_p", "(", "THUMB_HARD_FRAME_POINTER_REGNUM", ")", ")", "save_reg_mask", "|=", "1", "<<", "THUMB_HARD_FRAME_POINTER_REGNUM", ";", "}", "else", "{", "for", "(", "reg", "=", "0", ";", "reg", "<=", "11", ";", "reg", "++", ")", "if", "(", "df_regs_ever_live_p", "(", "reg", ")", "&&", "callee_saved_reg_p", "(", "reg", ")", ")", "save_reg_mask", "|=", "(", "1", "<<", "reg", ")", ";", "if", "(", "frame_pointer_needed", ")", "save_reg_mask", "|=", "1", "<<", "HARD_FRAME_POINTER_REGNUM", ";", "if", "(", "PIC_REGISTER_MAY_NEED_SAVING", "&&", "(", "df_regs_ever_live_p", "(", "PIC_OFFSET_TABLE_REGNUM", ")", "||", "crtl", "->", "uses_pic_offset_table", ")", ")", "save_reg_mask", "|=", "1", "<<", "PIC_OFFSET_TABLE_REGNUM", ";", "if", "(", "IS_STACKALIGN", "(", "func_type", ")", ")", "save_reg_mask", "|=", "1", ";", "}", "if", "(", "crtl", "->", "calls_eh_return", ")", "{", "unsigned", "int", "i", ";", "for", "(", "i", "=", "0", ";", ";", "i", "++", ")", "{", "reg", "=", "EH_RETURN_DATA_REGNO", "(", "i", ")", ";", "if", "(", "reg", "==", "INVALID_REGNUM", ")", "break", ";", "save_reg_mask", "|=", "1", "<<", "reg", ";", "}", "}", "return", "save_reg_mask", ";", "}", ""], "natrual_language": ["Compute", "the", "register", "save", "mask", "for", "registers", "0", "through", "12", "inclusive", ".", "This", "code", "is", "used", "by", "arm_compute_save_reg_mask", "."], "TS_V_token": ["arm", "0", "7", "12", "0", "1", "1", "1", "1", "1", "0", "11", "1", "1", "1", "1", "0", "1"], "File": "arm", "Func": "arm_compute_save_reg0_reg12_mask", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19269, "Length": 272, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "r10k_needs_protection_p_store", "(", "rtx", "x", ",", "const_rtx", "pat", "ATTRIBUTE_UNUSED", ",", "void", "*", "data", ")", "{", "rtx_insn", "*", "*", "insn_ptr", ";", "insn_ptr", "=", "(", "rtx_insn", "*", "*", ")", "data", ";", "if", "(", "*", "insn_ptr", "&&", "r10k_needs_protection_p_1", "(", "x", ",", "*", "insn_ptr", ")", ")", "*", "insn_ptr", "=", "NULL", ";", "}", ""], "natrual_language": ["A", "note_stores", "callback", "for", "which", "DATA", "points", "to", "an", "instruction", "pointer", ".", "If", "*", "DATA", "is", "nonnull", ",", "make", "it", "null", "if", "it", "X", "contains", "a", "MEM", "that", "is", "not", "safe", "from", "R10K", "speculation", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "r10k_needs_protection_p_store", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19270, "Length": 49, "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": 19271, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_avx_u128_mode_needed", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "CALL_P", "(", "insn", ")", ")", "{", "rtx", "link", ";", "for", "(", "link", "=", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ";", "link", ";", "link", "=", "XEXP", "(", "link", ",", "1", ")", ")", "{", "if", "(", "GET_CODE", "(", "XEXP", "(", "link", ",", "0", ")", ")", "==", "USE", ")", "{", "rtx", "arg", "=", "XEXP", "(", "XEXP", "(", "link", ",", "0", ")", ",", "0", ")", ";", "if", "(", "ix86_check_avx256_register", "(", "arg", ")", ")", "return", "AVX_U128_DIRTY", ";", "}", "}", "return", "AVX_U128_CLEAN", ";", "}", "subrtx_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX", "(", "iter", ",", "array", ",", "PATTERN", "(", "insn", ")", ",", "NONCONST", ")", "if", "(", "ix86_check_avx256_register", "(", "*", "iter", ")", ")", "return", "AVX_U128_DIRTY", ";", "return", "AVX_U128_ANY", ";", "}", ""], "natrual_language": ["Return", "needed", "mode", "for", "entity", "in", "optimize_mode_switching", "pass", "."], "TS_V_token": ["i386", "1", "0", "0", "0"], "File": "i3864", "Func": "ix86_avx_u128_mode_needed", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19272, "Length": 120, "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": 19273, "Length": 197, "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", ")", ";", "}", "}", "unsigned", "UnrollCount", "=", "4", ";", "if", "(", "ST", "->", "isThumb1Only", "(", ")", ")", "{", "unsigned", "ExitingValues", "=", "0", ";", "SmallVector", "<", "BasicBlock", "*", ",", "4", ">", "ExitBlocks", ";", "L", "->", "getExitBlocks", "(", "ExitBlocks", ")", ";", "for", "(", "auto", "*", "Exit", ":", "ExitBlocks", ")", "{", "unsigned", "LiveOuts", "=", "count_if", "(", "Exit", "->", "phis", "(", ")", ",", "[", "]", "(", "auto", "&", "PH", ")", "{", "return", "PH", ".", "getNumOperands", "(", ")", "!=", "1", "||", "!", "isa", "<", "GetElementPtrInst", ">", "(", "PH", ".", "getOperand", "(", "0", ")", ")", ";", "}", ")", ";", "ExitingValues", "=", "ExitingValues", "<", "LiveOuts", "?", "LiveOuts", ":", "ExitingValues", ";", "}", "if", "(", "ExitingValues", ")", "UnrollCount", "/=", "ExitingValues", ";", "if", "(", "UnrollCount", "<=", "1", ")", "return", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Cost of loop: \"", "<<", "Cost", "<<", "\"\\n\"", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Default Runtime Unroll Count: \"", "<<", "UnrollCount", "<<", "\"\\n\"", ")", ";", "UP", ".", "Partial", "=", "true", ";", "UP", ".", "Runtime", "=", "true", ";", "UP", ".", "UnrollRemainder", "=", "true", ";", "UP", ".", "DefaultUnrollRuntimeCount", "=", "UnrollCount", ";", "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", "4", "0", "4", "1", "0", "1", "\"Cost of loop: \"", "\"\\n\"", "\"Default Runtime Unroll Count: \"", "\"\\n\"", "60", "12"], "File": "ARMTargetTransformInfo41", "Func": "getUnrollingPreferences", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19274, "Length": 483, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "TargetFrameInfo", "*", "getFrameInfo", "(", ")", "const", "{", "return", "&", "FrameInfo", ";", "}", ""], "natrual_language": ["getFrameInfo", "-", "Return", "the", "frame", "info", "object", "for", "the", "current", "function", "."], "TS_V_token": ["Mips"], "File": "MipsTargetMachine12", "Func": "getFrameInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19275, "Length": 14, "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", "::", "tGPRRegisterClass", ")", ";", "else", "return", "RCPair", "(", "0U", ",", "ARM", "::", "GPRRegisterClass", ")", ";", "case", "'h'", ":", "if", "(", "Subtarget", "->", "isThumb", "(", ")", ")", "return", "RCPair", "(", "0U", ",", "ARM", "::", "hGPRRegisterClass", ")", ";", "break", ";", "case", "'r'", ":", "return", "RCPair", "(", "0U", ",", "ARM", "::", "GPRRegisterClass", ")", ";", "case", "'w'", ":", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "RCPair", "(", "0U", ",", "ARM", "::", "SPRRegisterClass", ")", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "RCPair", "(", "0U", ",", "ARM", "::", "DPRRegisterClass", ")", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "128", ")", "return", "RCPair", "(", "0U", ",", "ARM", "::", "QPRRegisterClass", ")", ";", "break", ";", "case", "'x'", ":", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "RCPair", "(", "0U", ",", "ARM", "::", "SPR_8RegisterClass", ")", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "RCPair", "(", "0U", ",", "ARM", "::", "DPR_8RegisterClass", ")", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "128", ")", "return", "RCPair", "(", "0U", ",", "ARM", "::", "QPR_8RegisterClass", ")", ";", "break", ";", "case", "'t'", ":", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "RCPair", "(", "0U", ",", "ARM", "::", "SPRRegisterClass", ")", ";", "break", ";", "}", "}", "if", "(", "StringRef", "(", "\"{cc}\"", ")", ".", "equals_lower", "(", "Constraint", ")", ")", "return", "std", "::", "make_pair", "(", "unsigned", "(", "ARM", "::", "CPSR", ")", ",", "ARM", "::", "CCRRegisterClass", ")", ";", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["ARM", "ARM", "1", "0", "0U", "ARM::tGPRRegisterClass", "0U", "ARM::GPRRegisterClass", "0U", "ARM::hGPRRegisterClass", "0U", "ARM::GPRRegisterClass", "MVT::f32", "0U", "ARM::SPRRegisterClass", "64", "0U", "ARM::DPRRegisterClass", "128", "0U", "ARM::QPRRegisterClass", "MVT::f32", "0U", "ARM::SPR_8RegisterClass", "64", "0U", "ARM::DPR_8RegisterClass", "128", "0U", "ARM::QPR_8RegisterClass", "MVT::f32", "0U", "ARM::SPRRegisterClass", "\"{cc}\"", "ARM::CPSR", "ARM::CCRRegisterClass"], "File": "ARMISelLowering114", "Func": "getRegForInlineAsmConstraint", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19276, "Length": 295, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "registers_ok_for_ldd_peep", "(", "rtx", "reg1", ",", "rtx", "reg2", ")", "{", "if", "(", "GET_CODE", "(", "reg1", ")", "!=", "REG", "||", "GET_CODE", "(", "reg2", ")", "!=", "REG", ")", "return", "0", ";", "if", "(", "REGNO", "(", "reg1", ")", "%", "2", "!=", "0", ")", "return", "0", ";", "if", "(", "TARGET_V9", "&&", "REGNO", "(", "reg1", ")", "<", "32", ")", "return", "0", ";", "return", "(", "REGNO", "(", "reg1", ")", "==", "REGNO", "(", "reg2", ")", "-", "1", ")", ";", "}", ""], "natrual_language": ["Return", "1", "if", "REGNO", "(", "reg1", ")", "is", "even", "and", "REGNO", "(", "reg1", ")", "==", "REGNO", "(", "reg2", ")", "-", "1", ".", "This", "makes", "them", "candidates", "for", "using", "ldd", "and", "std", "insns", ".", "Note", "reg1", "and", "reg2", "*", "must", "*", "be", "hard", "registers", "."], "TS_V_token": ["sparc", "0", "2", "0", "0", "32", "0", "1"], "File": "sparc3", "Func": "registers_ok_for_ldd_peep", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19277, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsMCCodeEmitter", "::", "getJumpOffset16OpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"getJumpOffset16OpValue expects only expressions or an immediate\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getJumpOffset16OpValue", "-", "Return", "binary", "encoding", "of", "the", "jump", "target", "operand", "."], "TS_V_token": ["Mips", "Mips", "\"getJumpOffset16OpValue expects only expressions or an immediate\"", "0"], "File": "MipsMCCodeEmitter (2)", "Func": "getJumpOffset16OpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19278, "Length": 69, "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", "QImode", ":", "fn", "=", "gen_load_lockedqi", ";", "break", ";", "case", "HImode", ":", "fn", "=", "gen_load_lockedhi", ";", "break", ";", "case", "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", "DImode", ":", "fn", "=", "gen_load_lockeddi", ";", "break", ";", "case", "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": "rs60004", "Func": "emit_load_locked", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19279, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "LanaiRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RegisterInfo", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Lanai", "Lanai"], "File": "LanaiInstrInfo (2)", "Func": "getRegisterInfo", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19280, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "new", "X86ExecutionDomainFix", "(", ")", ")", ";", "addPass", "(", "createBreakFalseDeps", "(", ")", ")", ";", "}", "addPass", "(", "createX86IndirectBranchTrackingPass", "(", ")", ")", ";", "if", "(", "UseVZeroUpper", ")", "addPass", "(", "createX86IssueVZeroUpperPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createX86FixupBWInsts", "(", ")", ")", ";", "addPass", "(", "createX86PadShortFunctions", "(", ")", ")", ";", "addPass", "(", "createX86FixupLEAs", "(", ")", ")", ";", "addPass", "(", "createX86EvexToVexInsts", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86TargetMachine20", "Func": "addPreEmitPass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19281, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "global_reg_mentioned_p_1", "(", "const_rtx", "x", ")", "{", "int", "regno", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "SUBREG", ":", "if", "(", "REG_P", "(", "SUBREG_REG", "(", "x", ")", ")", ")", "{", "if", "(", "REGNO", "(", "SUBREG_REG", "(", "x", ")", ")", "<", "FIRST_PSEUDO_REGISTER", "&&", "global_regs", "[", "subreg_regno", "(", "x", ")", "]", ")", "return", "true", ";", "return", "false", ";", "}", "break", ";", "case", "REG", ":", "regno", "=", "REGNO", "(", "x", ")", ";", "if", "(", "regno", "<", "FIRST_PSEUDO_REGISTER", "&&", "global_regs", "[", "regno", "]", ")", "return", "true", ";", "return", "false", ";", "case", "CALL", ":", "return", "true", ";", "default", ":", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "global_reg_mentioned_p", ",", "returns", "1", "if", "*", "LOC", "mentions", "a", "global", "register", "."], "TS_V_token": ["mep"], "File": "mep", "Func": "global_reg_mentioned_p_1", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19282, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isImm", "(", ")", "const", "override", "{", "return", "Kind", "==", "IMMEDIATE", ";", "}", ""], "natrual_language": ["isImm", "-", "Is", "this", "an", "immediate", "operand", "?"], "TS_V_token": ["Lanai"], "File": "LanaiAsmParser (2)", "Func": "isImm", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19283, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VZeroUpperInserter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "X86Subtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "ST", ".", "hasAVX", "(", ")", "||", "!", "ST", ".", "insertVZEROUPPER", "(", ")", ")", "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": "X86VZeroUpper (2)2", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19284, "Length": 349, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZPostRASchedStrategy", "::", "initialize", "(", "ScheduleDAGMI", "*", "dag", ")", "{", "DAG", "=", "dag", ";", "HazardRec", ".", "setDAG", "(", "dag", ")", ";", "HazardRec", ".", "Reset", "(", ")", ";", "}", ""], "natrual_language": ["Initialize", "the", "strategy", "after", "building", "the", "DAG", "for", "a", "new", "region", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZMachineScheduler13", "Func": "initialize", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19285, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "swap_reorder", "(", "rtx_insn", "*", "*", "a", ",", "int", "n", ")", "{", "rtx_insn", "*", "insn", "=", "a", "[", "n", "-", "1", "]", ";", "int", "i", "=", "n", "-", "2", ";", "while", "(", "i", ">=", "0", "&&", "rank_for_reorder", "(", "a", "+", "i", ",", "&", "insn", ")", ">=", "0", ")", "{", "a", "[", "i", "+", "1", "]", "=", "a", "[", "i", "]", ";", "i", "-=", "1", ";", "}", "a", "[", "i", "+", "1", "]", "=", "insn", ";", "}", ""], "natrual_language": ["Resort", "the", "array", "A", "in", "which", "only", "element", "at", "index", "N", "may", "be", "out", "of", "order", "."], "TS_V_token": ["sh", "1", "2", "0", "0", "1", "1", "1"], "File": "sh", "Func": "swap_reorder", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19286, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "loongarch_emit_int_compare", "(", "enum", "rtx_code", "*", "code", ",", "rtx", "*", "op0", ",", "rtx", "*", "op1", ")", "{", "static", "const", "enum", "rtx_code", "mag_comparisons", "[", "]", "[", "2", "]", "=", "{", "{", "LEU", ",", "LTU", "}", ",", "{", "GTU", ",", "GEU", "}", ",", "{", "LE", ",", "LT", "}", ",", "{", "GT", ",", "GE", "}", "}", ";", "if", "(", "splittable_const_int_operand", "(", "*", "op1", ",", "VOIDmode", ")", ")", "{", "HOST_WIDE_INT", "rhs", "=", "INTVAL", "(", "*", "op1", ")", ";", "if", "(", "*", "code", "==", "EQ", "||", "*", "code", "==", "NE", ")", "{", "if", "(", "IMM12_OPERAND", "(", "-", "rhs", ")", ")", "{", "*", "op0", "=", "loongarch_force_binary", "(", "GET_MODE", "(", "*", "op0", ")", ",", "PLUS", ",", "*", "op0", ",", "GEN_INT", "(", "-", "rhs", ")", ")", ";", "*", "op1", "=", "const0_rtx", ";", "}", "}", "else", "{", "for", "(", "size_t", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "mag_comparisons", ")", ";", "i", "++", ")", "{", "HOST_WIDE_INT", "new_rhs", ";", "bool", "increment", "=", "*", "code", "==", "mag_comparisons", "[", "i", "]", "[", "0", "]", ";", "bool", "decrement", "=", "*", "code", "==", "mag_comparisons", "[", "i", "]", "[", "1", "]", ";", "if", "(", "!", "increment", "&&", "!", "decrement", ")", "continue", ";", "new_rhs", "=", "rhs", "+", "(", "increment", "?", "1", ":", "-", "1", ")", ";", "if", "(", "loongarch_integer_cost", "(", "new_rhs", ")", "<", "loongarch_integer_cost", "(", "rhs", ")", "&&", "(", "rhs", "<", "0", ")", "==", "(", "new_rhs", "<", "0", ")", ")", "{", "*", "op1", "=", "GEN_INT", "(", "new_rhs", ")", ";", "*", "code", "=", "mag_comparisons", "[", "i", "]", "[", "increment", "]", ";", "}", "break", ";", "}", "}", "}", "loongarch_extend_comparands", "(", "*", "code", ",", "op0", ",", "op1", ")", ";", "*", "op0", "=", "force_reg", "(", "word_mode", ",", "*", "op0", ")", ";", "if", "(", "*", "op1", "!=", "const0_rtx", ")", "*", "op1", "=", "force_reg", "(", "word_mode", ",", "*", "op1", ")", ";", "}", ""], "natrual_language": ["Convert", "a", "comparison", "into", "something", "that", "can", "be", "used", "in", "a", "branch", ".", "On", "entry", ",", "*", "OP0", "and", "*", "OP1", "are", "the", "values", "being", "compared", "and", "*", "CODE", "is", "the", "code", "used", "to", "compare", "them", ".", "Update", "them", "to", "describe", "the", "final", "comparison", "."], "TS_V_token": ["loongarch", "2", "0", "0", "1", "1", "1", "0", "0"], "File": "loongarch", "Func": "loongarch_emit_int_compare", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19287, "Length": 291, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "LC3TargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "NULL", ";", "case", "LC3ISD", "::", "RET_FLAG", ":", "return", "\"RetFlag\"", ";", "case", "LC3ISD", "::", "LOAD_SYM", ":", "return", "\"LOAD_SYM\"", ";", "case", "LC3ISD", "::", "MOVEi16", ":", "return", "\"MOVEi16\"", ";", "case", "LC3ISD", "::", "CALL", ":", "return", "\"CALL\"", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["LC3", "LC3", "LC3ISD::RET_FLAG", "\"RetFlag\"", "LC3ISD::LOAD_SYM", "\"LOAD_SYM\"", "LC3ISD::MOVEi16", "\"MOVEi16\"", "LC3ISD::CALL", "\"CALL\""], "File": "LC3ISelLowering", "Func": "getTargetNodeName", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19288, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "THUMB2_SIZE_REDUCE_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM"], "File": "Thumb2SizeReduction10", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19289, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLegalMaskedStore", "(", "Type", "*", "DataType", ")", "{", "return", "ST", "->", "hasSVE", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "store", "."], "TS_V_token": ["AArch64"], "File": "AArch64TargetTransformInfo31", "Func": "isLegalMaskedStore", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19290, "Length": 16, "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": 19291, "Length": 58, "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": 19292, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "loongarch_output_order_conditional_branch", "(", "rtx_insn", "*", "insn", ",", "rtx", "*", "operands", ",", "bool", "inverted_p", ")", "{", "const", "char", "*", "branch", "[", "2", "]", ";", "if", "(", "operands", "[", "3", "]", "!=", "const0_rtx", ")", "{", "if", "(", "REGNO", "(", "operands", "[", "2", "]", ")", "==", "REGNO", "(", "operands", "[", "3", "]", ")", ")", "{", "switch", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", ")", "{", "case", "LT", ":", "case", "LTU", ":", "case", "GT", ":", "case", "GTU", ":", "inverted_p", "=", "!", "inverted_p", ";", "case", "LE", ":", "case", "LEU", ":", "case", "GE", ":", "case", "GEU", ":", "branch", "[", "!", "inverted_p", "]", "=", "LARCH_BRANCH", "(", "\"b\"", ",", "\"%0\"", ")", ";", "branch", "[", "inverted_p", "]", "=", "\"\\t# branch never\"", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "{", "switch", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", ")", "{", "case", "LE", ":", "case", "LEU", ":", "case", "GT", ":", "case", "GTU", ":", "case", "LT", ":", "case", "LTU", ":", "case", "GE", ":", "case", "GEU", ":", "branch", "[", "!", "inverted_p", "]", "=", "LARCH_BRANCH", "(", "\"b%C1\"", ",", "\"%2,%3,%0\"", ")", ";", "branch", "[", "inverted_p", "]", "=", "LARCH_BRANCH", "(", "\"b%N1\"", ",", "\"%2,%3,%0\"", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "}", "else", "{", "switch", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", ")", "{", "case", "LEU", ":", "case", "GTU", ":", "case", "LTU", ":", "case", "GEU", ":", "case", "LE", ":", "case", "GT", ":", "case", "LT", ":", "case", "GE", ":", "branch", "[", "!", "inverted_p", "]", "=", "LARCH_BRANCH", "(", "\"b%C1\"", ",", "\"%2,$r0,%0\"", ")", ";", "branch", "[", "inverted_p", "]", "=", "LARCH_BRANCH", "(", "\"b%N1\"", ",", "\"%2,$r0,%0\"", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "return", "loongarch_output_conditional_branch", "(", "insn", ",", "operands", ",", "branch", "[", "1", "]", ",", "branch", "[", "0", "]", ")", ";", "}", ""], "natrual_language": ["Return", "the", "assembly", "code", "for", "INSN", ",", "which", "branches", "to", "OPERANDS", "[", "0", "]", "if", "some", "ordering", "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": ["loongarch", "2", "3", "2", "3", "1", "\"b\"", "\"%0\"", "\"\\t# branch never\"", "1", "\"b%C1\"", "\"%2,%3,%0\"", "\"b%N1\"", "\"%2,%3,%0\"", "1", "\"b%C1\"", "\"%2,$r0,%0\"", "\"b%N1\"", "\"%2,$r0,%0\"", "1", "0"], "File": "loongarch", "Func": "loongarch_output_order_conditional_branch", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19293, "Length": 288, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "distance_agu_use", "(", "unsigned", "int", "regno0", ",", "rtx_insn", "*", "insn", ")", "{", "basic_block", "bb", "=", "BLOCK_FOR_INSN", "(", "insn", ")", ";", "int", "distance", "=", "0", ";", "bool", "found", "=", "false", ";", "bool", "redefined", "=", "false", ";", "if", "(", "insn", "!=", "BB_END", "(", "bb", ")", ")", "distance", "=", "distance_agu_use_in_bb", "(", "regno0", ",", "insn", ",", "distance", ",", "NEXT_INSN", "(", "insn", ")", ",", "&", "found", ",", "&", "redefined", ")", ";", "if", "(", "!", "found", "&&", "!", "redefined", "&&", "distance", "<", "LEA_SEARCH_THRESHOLD", ")", "{", "edge", "e", ";", "edge_iterator", "ei", ";", "bool", "simple_loop", "=", "false", ";", "FOR_EACH_EDGE", "(", "e", ",", "ei", ",", "bb", "->", "succs", ")", "if", "(", "e", "->", "dest", "==", "bb", ")", "{", "simple_loop", "=", "true", ";", "break", ";", "}", "if", "(", "simple_loop", ")", "distance", "=", "distance_agu_use_in_bb", "(", "regno0", ",", "insn", ",", "distance", ",", "BB_HEAD", "(", "bb", ")", ",", "&", "found", ",", "&", "redefined", ")", ";", "else", "{", "int", "shortest_dist", "=", "-", "1", ";", "bool", "found_in_bb", "=", "false", ";", "bool", "redefined_in_bb", "=", "false", ";", "FOR_EACH_EDGE", "(", "e", ",", "ei", ",", "bb", "->", "succs", ")", "{", "int", "bb_dist", "=", "distance_agu_use_in_bb", "(", "regno0", ",", "insn", ",", "distance", ",", "BB_HEAD", "(", "e", "->", "dest", ")", ",", "&", "found_in_bb", ",", "&", "redefined_in_bb", ")", ";", "if", "(", "found_in_bb", ")", "{", "if", "(", "shortest_dist", "<", "0", ")", "shortest_dist", "=", "bb_dist", ";", "else", "if", "(", "bb_dist", ">", "0", ")", "shortest_dist", "=", "MIN", "(", "bb_dist", ",", "shortest_dist", ")", ";", "found", "=", "true", ";", "}", "}", "distance", "=", "shortest_dist", ";", "}", "}", "if", "(", "!", "found", "||", "redefined", ")", "return", "-", "1", ";", "return", "distance", ">>", "1", ";", "}", ""], "natrual_language": ["Return", "the", "distance", "between", "INSN", "and", "the", "next", "insn", "that", "uses", "register", "number", "REGNO0", "in", "memory", "address", ".", "Return", "-1", "if", "no", "such", "a", "use", "is", "found", "within", "LEA_SEARCH_THRESHOLD", "or", "REGNO0", "is", "set", "."], "TS_V_token": ["i386", "0", "1", "0", "0", "1", "1"], "File": "i386", "Func": "distance_agu_use", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19294, "Length": 257, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "emitFunctionBodyEnd", "(", ")", "{", "MipsTargetStreamer", "&", "TS", "=", "getTargetStreamer", "(", ")", ";", "if", "(", "!", "Subtarget", "->", "inMips16Mode", "(", ")", ")", "{", "TS", ".", "emitDirectiveSetAt", "(", ")", ";", "TS", ".", "emitDirectiveSetMacro", "(", ")", ";", "TS", ".", "emitDirectiveSetReorder", "(", ")", ";", "}", "TS", ".", "emitDirectiveEnd", "(", "CurrentFnSym", "->", "getName", "(", ")", ")", ";", "if", "(", "!", "InConstantPool", ")", "return", ";", "InConstantPool", "=", "false", ";", "OutStreamer", "->", "emitDataRegion", "(", "MCDR_DataRegionEnd", ")", ";", "}", ""], "natrual_language": ["Targets", "can", "override", "this", "to", "emit", "stuff", "after", "the", "last", "basic", "block", "in", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips"], "File": "MipsAsmPrinter", "Func": "emitFunctionBodyEnd", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19295, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_load_constant_and_splat", "(", "machine_mode", "mode", ",", "REAL_VALUE_TYPE", "dconst", ")", "{", "rtx", "reg", ";", "if", "(", "mode", "==", "SFmode", "||", "mode", "==", "DFmode", ")", "{", "rtx", "d", "=", "const_double_from_real_value", "(", "dconst", ",", "mode", ")", ";", "reg", "=", "force_reg", "(", "mode", ",", "d", ")", ";", "}", "else", "if", "(", "mode", "==", "V4SFmode", ")", "{", "rtx", "d", "=", "const_double_from_real_value", "(", "dconst", ",", "SFmode", ")", ";", "rtvec", "v", "=", "gen_rtvec", "(", "4", ",", "d", ",", "d", ",", "d", ",", "d", ")", ";", "reg", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rs6000_expand_vector_init", "(", "reg", ",", "gen_rtx_PARALLEL", "(", "mode", ",", "v", ")", ")", ";", "}", "else", "if", "(", "mode", "==", "V2DFmode", ")", "{", "rtx", "d", "=", "const_double_from_real_value", "(", "dconst", ",", "DFmode", ")", ";", "rtvec", "v", "=", "gen_rtvec", "(", "2", ",", "d", ",", "d", ")", ";", "reg", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rs6000_expand_vector_init", "(", "reg", ",", "gen_rtx_PARALLEL", "(", "mode", ",", "v", ")", ")", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "return", "reg", ";", "}", ""], "natrual_language": ["Load", "up", "a", "constant", ".", "If", "the", "mode", "is", "a", "vector", "mode", ",", "splat", "the", "value", "across", "all", "of", "the", "vector", "elements", "."], "TS_V_token": ["rs6000", "4", "2"], "File": "rs6000", "Func": "rs6000_load_constant_and_splat", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19296, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1FrameLowering", "::", "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", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "bool", "isVarArg", "=", "AFI", "->", "getArgRegsSaveSize", "(", ")", ">", "0", ";", "DebugLoc", "DL", "=", "MI", "!=", "MBB", ".", "end", "(", ")", "?", "MI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "ARM", "::", "tPOP", ")", ")", ";", "AddDefaultPred", "(", "MIB", ")", ";", "bool", "NeedsPop", "=", "false", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "if", "(", "Reg", "==", "ARM", "::", "LR", ")", "{", "if", "(", "MBB", ".", "succ_empty", "(", ")", ")", "{", "if", "(", "isVarArg", ")", "continue", ";", "if", "(", "!", "STI", ".", "hasV5TOps", "(", ")", ")", "continue", ";", "Reg", "=", "ARM", "::", "PC", ";", "(", "*", "MIB", ")", ".", "setDesc", "(", "TII", ".", "get", "(", "ARM", "::", "tPOP_RET", ")", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "MIB", ".", "copyImplicitOps", "(", "*", "MI", ")", ";", "MI", "=", "MBB", ".", "erase", "(", "MI", ")", ";", "}", "else", "continue", ";", "}", "MIB", ".", "addReg", "(", "Reg", ",", "getDefRegState", "(", "true", ")", ")", ";", "NeedsPop", "=", "true", ";", "}", "if", "(", "NeedsPop", ")", "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": "Thumb1FrameLowering2", "Func": "restoreCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19297, "Length": 306, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LC3RegisterInfo", "::", "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": ["LC3", "LC3"], "File": "LC3RegisterInfo", "Func": "useFPForScavengingIndex", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19298, "Length": 16, "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": 19299, "Length": 402, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "CSKYRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "CSKYSubtarget", "&", "STI", "=", "MF", "->", "getSubtarget", "<", "CSKYSubtarget", ">", "(", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"interrupt\"", ")", ")", "{", "return", "CSR_GPR_ISR_SaveList", ";", "}", "return", "CSR_I32_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["CSKY", "CSKY", "CSKY", "CSKY", "\"interrupt\""], "File": "CSKYRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19300, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "SelectAddressEVXRegReg", "(", "SDValue", "N", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Index", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "for", "(", "SDNode", "*", "U", ":", "N", "->", "uses", "(", ")", ")", "{", "if", "(", "MemSDNode", "*", "Memop", "=", "dyn_cast", "<", "MemSDNode", ">", "(", "U", ")", ")", "{", "if", "(", "Memop", "->", "getMemoryVT", "(", ")", "==", "MVT", "::", "f64", ")", "{", "Base", "=", "N", ".", "getOperand", "(", "0", ")", ";", "Index", "=", "N", ".", "getOperand", "(", "1", ")", ";", "return", "true", ";", "}", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["SelectAddressEVXRegReg", "-", "Given", "the", "specified", "addressed", ",", "check", "to", "see", "if", "it", "can", "be", "more", "efficiently", "represented", "as", "[", "r+imm", "]", "."], "TS_V_token": ["PowerPC", "PPC", "MVT::f64", "0", "1"], "File": "PPCISelLowering11", "Func": "SelectAddressEVXRegReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19301, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getReg", "(", ")", "const", "override", "{", "assert", "(", "Kind", "==", "Register", "&&", "\"Invalid type access!\"", ")", ";", "return", "Reg", ".", "RegNum", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["CSKY", "\"Invalid type access!\""], "File": "CSKYAsmParser", "Func": "getReg", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19302, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "X86TargetLowering", "::", "getPICJumpTableRelocBaseExpr", "(", "const", "MachineFunction", "*", "MF", ",", "unsigned", "JTI", ",", "MCContext", "&", "Ctx", ")", "const", "{", "if", "(", "Subtarget", ".", "isPICStyleRIPRel", "(", ")", "||", "Subtarget", ".", "is64Bit", "(", ")", ")", "return", "TargetLowering", "::", "getPICJumpTableRelocBaseExpr", "(", "MF", ",", "JTI", ",", "Ctx", ")", ";", "return", "MCSymbolRefExpr", "::", "create", "(", "MF", "->", "getPICBaseSymbol", "(", ")", ",", "Ctx", ")", ";", "}", ""], "natrual_language": ["This", "returns", "the", "relocation", "base", "for", "the", "given", "PIC", "jumptable", ",", "the", "same", "as", "getPICJumpTableRelocBase", ",", "but", "as", "an", "MCExpr", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering107", "Func": "getPICJumpTableRelocBaseExpr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19303, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_file_end", "(", "void", ")", "{", "tree", "name_tree", ";", "struct", "extern_list", "*", "p", ";", "if", "(", "extern_head", ")", "{", "fputs", "(", "\"\\n\"", ",", "asm_out_file", ")", ";", "for", "(", "p", "=", "extern_head", ";", "p", "!=", "0", ";", "p", "=", "p", "->", "next", ")", "{", "name_tree", "=", "get_identifier", "(", "p", "->", "name", ")", ";", "if", "(", "!", "TREE_ASM_WRITTEN", "(", "name_tree", ")", "&&", "TREE_SYMBOL_REFERENCED", "(", "name_tree", ")", ")", "{", "TREE_ASM_WRITTEN", "(", "name_tree", ")", "=", "1", ";", "if", "(", "TARGET_IRIX", "&&", "mips_abi", "==", "ABI_32", "&&", "p", "->", "size", "==", "-", "1", ")", "{", "fputs", "(", "\"\\t.globl \"", ",", "asm_out_file", ")", ";", "assemble_name", "(", "asm_out_file", ",", "p", "->", "name", ")", ";", "fputs", "(", "\" .text\\n\"", ",", "asm_out_file", ")", ";", "}", "else", "{", "fputs", "(", "\"\\t.extern\\t\"", ",", "asm_out_file", ")", ";", "assemble_name", "(", "asm_out_file", ",", "p", "->", "name", ")", ";", "fprintf", "(", "asm_out_file", ",", "\", %d\\n\"", ",", "p", "->", "size", ")", ";", "}", "}", "}", "}", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_FILE_END", ".", "When", "using", "assembler", "macros", ",", "emit", ".externs", "for", "any", "small-data", "variables", "that", "turned", "out", "to", "be", "external", "."], "TS_V_token": ["mips", "\"\\n\"", "0", "1", "1", "\"\\t.globl \"", "\" .text\\n\"", "\"\\t.extern\\t\"", "\", %d\\n\""], "File": "mips3", "Func": "mips_file_end", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19304, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "&", "SrcReg", ",", "unsigned", "&", "SrcReg2", ",", "int", "&", "CmpMask", ",", "int", "&", "CmpValue", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ARM", "::", "CMPri", ":", "case", "ARM", "::", "t2CMPri", ":", "case", "ARM", "::", "tCMPi8", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "0", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "return", "true", ";", "case", "ARM", "::", "CMPrr", ":", "case", "ARM", "::", "t2CMPrr", ":", "case", "ARM", "::", "tCMPr", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "0", ";", "return", "true", ";", "case", "ARM", "::", "TSTri", ":", "case", "ARM", "::", "t2TSTri", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "0", ";", "CmpMask", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "CmpValue", "=", "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": ["ARM", "ARM", "ARM::CMPri", "ARM::t2CMPri", "ARM::tCMPi8", "0", "0", "0", "1", "ARM::CMPrr", "ARM::t2CMPrr", "ARM::tCMPr", "0", "1", "0", "0", "ARM::TSTri", "ARM::t2TSTri", "0", "0", "1", "0"], "File": "ARMBaseInstrInfo10", "Func": "analyzeCompare", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19305, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "split_double_mode", "(", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ",", "int", "num", ",", "rtx", "lo_half", "[", "]", ",", "rtx", "hi_half", "[", "]", ")", "{", "machine_mode", "half_mode", ";", "unsigned", "int", "byte", ";", "switch", "(", "mode", ")", "{", "case", "E_TImode", ":", "half_mode", "=", "DImode", ";", "break", ";", "case", "E_DImode", ":", "half_mode", "=", "SImode", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "byte", "=", "GET_MODE_SIZE", "(", "half_mode", ")", ";", "while", "(", "num", "--", ")", "{", "rtx", "op", "=", "operands", "[", "num", "]", ";", "if", "(", "MEM_P", "(", "op", ")", ")", "{", "lo_half", "[", "num", "]", "=", "adjust_address", "(", "op", ",", "half_mode", ",", "0", ")", ";", "hi_half", "[", "num", "]", "=", "adjust_address", "(", "op", ",", "half_mode", ",", "byte", ")", ";", "}", "else", "{", "lo_half", "[", "num", "]", "=", "simplify_gen_subreg", "(", "half_mode", ",", "op", ",", "GET_MODE", "(", "op", ")", "==", "VOIDmode", "?", "mode", ":", "GET_MODE", "(", "op", ")", ",", "0", ")", ";", "hi_half", "[", "num", "]", "=", "simplify_gen_subreg", "(", "half_mode", ",", "op", ",", "GET_MODE", "(", "op", ")", "==", "VOIDmode", "?", "mode", ":", "GET_MODE", "(", "op", ")", ",", "byte", ")", ";", "}", "}", "}", ""], "natrual_language": ["Split", "one", "or", "more", "double-mode", "RTL", "references", "into", "pairs", "of", "half-mode", "references", ".", "The", "RTL", "can", "be", "REG", ",", "offsettable", "MEM", ",", "integer", "constant", ",", "or", "CONST_DOUBLE", ".", "``", "operands", "''", "is", "a", "pointer", "to", "an", "array", "of", "double-mode", "RTLs", "to", "split", "and", "``", "num", "''", "is", "its", "length", ".", "lo_half", "and", "hi_half", "are", "output", "arrays", "that", "parallel", "``", "operands", "''", "."], "TS_V_token": ["i386", "0", "0"], "File": "i3867", "Func": "split_double_mode", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19306, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FISCAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getString", "(", ")", ";", "if", "(", "IDVal", "==", "\".ent\"", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".end\"", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".frame\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".set\"", ")", "{", "return", "parseDirectiveSet", "(", ")", ";", "}", "if", "(", "IDVal", "==", "\".fmask\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".mask\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".gpword\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".byte\"", ")", "return", "parseDirectiveWord", "(", "1", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "if", "(", "IDVal", "==", "\".half\"", ")", "return", "parseDirectiveWord", "(", "2", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "if", "(", "IDVal", "==", "\".word\"", ")", "return", "parseDirectiveWord", "(", "4", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "if", "(", "IDVal", "==", "\".nword\"", ")", "return", "parseDirectiveWord", "(", "8", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "if", "(", "IDVal", "==", "\".xword\"", ")", "return", "parseDirectiveWord", "(", "8", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["FISC", "FISC", "\".ent\"", "\".end\"", "\".frame\"", "\".set\"", "\".fmask\"", "\".mask\"", "\".gpword\"", "\".byte\"", "1", "\".half\"", "2", "\".word\"", "4", "\".nword\"", "8", "\".xword\"", "8"], "File": "FISCAsmParser", "Func": "ParseDirective", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19307, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "unsigned", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "SmallVector", "<", "MCInst", ",", "8", ">", "Instructions", ";", "unsigned", "MatchResult", "=", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ";", "switch", "(", "MatchResult", ")", "{", "default", ":", "break", ";", "case", "Match_Success", ":", "{", "if", "(", "processInstruction", "(", "Inst", ",", "IDLoc", ",", "Instructions", ")", ")", "return", "true", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Instructions", ".", "size", "(", ")", ";", "i", "++", ")", "Out", ".", "EmitInstruction", "(", "Instructions", "[", "i", "]", ",", "STI", ")", ";", "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", "=", "(", "(", "MipsOperand", "*", ")", "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": ["Mips", "Mips", "8", "0", "\"instruction requires a CPU feature not currently enabled\"", "0U", "\"too few operands for instruction\"", "Mips", "\"invalid operand for instruction\"", "\"invalid instruction\""], "File": "MipsAsmParser29", "Func": "MatchAndEmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19308, "Length": 221, "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": "X86ISelLowering149", "Func": "LowerCallResult", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19309, "Length": 380, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesAll", "(", ")", ";", "AU", ".", "addRequired", "<", "VirtRegMap", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "LiveIntervals", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["X86"], "File": "X86TileConfig (2)", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19310, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_force_load_from_GOT_p", "(", "rtx", "x", ")", "{", "return", "(", "(", "TARGET_64BIT", "||", "(", "!", "flag_pic", "&&", "HAVE_AS_IX86_GOT32X", ")", ")", "&&", "!", "TARGET_PECOFF", "&&", "!", "TARGET_MACHO", "&&", "(", "!", "flag_pic", "||", "this_is_asm_operands", ")", "&&", "ix86_cmodel", "!=", "CM_LARGE", "&&", "ix86_cmodel", "!=", "CM_LARGE_PIC", "&&", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_FUNCTION_P", "(", "x", ")", "&&", "(", "!", "flag_plt", "||", "(", "SYMBOL_REF_DECL", "(", "x", ")", "&&", "lookup_attribute", "(", "\"noplt\"", ",", "DECL_ATTRIBUTES", "(", "SYMBOL_REF_DECL", "(", "x", ")", ")", ")", ")", ")", "&&", "!", "SYMBOL_REF_LOCAL_P", "(", "x", ")", ")", ";", "}", ""], "natrual_language": ["True", "if", "the", "function", "symbol", "operand", "X", "should", "be", "loaded", "from", "GOT", ".", "NB", ":", "In", "32-bit", "mode", ",", "only", "non-PIC", "is", "allowed", "in", "inline", "assembly", "statements", ",", "since", "a", "PIC", "register", "could", "not", "be", "available", "at", "the", "call", "site", "."], "TS_V_token": ["i386", "\"noplt\""], "File": "i3861", "Func": "ix86_force_load_from_GOT_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19311, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "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": "SystemZMCAsmBackend13", "Func": "relaxInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19312, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmBackend", "::", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "{", "unsigned", "RelaxedOp", "=", "getRelaxedOpcode", "(", "Inst", ".", "getOpcode", "(", ")", ")", ";", "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", "256", "\"\\n\"", "\"unexpected instruction to relax: \""], "File": "X86AsmBackend (2)3", "Func": "relaxInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19313, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_init_bf16_types", "(", "void", ")", "{", "aarch64_bf16_type_node", "=", "make_node", "(", "REAL_TYPE", ")", ";", "TYPE_PRECISION", "(", "aarch64_bf16_type_node", ")", "=", "16", ";", "SET_TYPE_MODE", "(", "aarch64_bf16_type_node", ",", "BFmode", ")", ";", "layout_type", "(", "aarch64_bf16_type_node", ")", ";", "lang_hooks", ".", "types", ".", "register_builtin_type", "(", "aarch64_bf16_type_node", ",", "\"__bf16\"", ")", ";", "aarch64_bf16_ptr_type_node", "=", "build_pointer_type", "(", "aarch64_bf16_type_node", ")", ";", "}", ""], "natrual_language": ["Initialize", "the", "backend", "REAL_TYPE", "type", "supporting", "bfloat", "types", "."], "TS_V_token": ["aarch64", "16", "\"__bf16\""], "File": "aarch64-builtins", "Func": "aarch64_init_bf16_types", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19314, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "ARMBaseInstrInfo", "::", "optimizeSelect", "(", "MachineInstr", "*", "MI", ",", "SmallPtrSetImpl", "<", "MachineInstr", "*", ">", "&", "SeenMIs", ",", "bool", "PreferFalse", ")", "const", "{", "assert", "(", "(", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "MOVCCr", "||", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2MOVCCr", ")", "&&", "\"Unknown select instruction\"", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MachineInstr", "*", "DefMI", "=", "canFoldIntoMOVCC", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ",", "MRI", ",", "this", ")", ";", "bool", "Invert", "=", "!", "DefMI", ";", "if", "(", "!", "DefMI", ")", "DefMI", "=", "canFoldIntoMOVCC", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ",", "MRI", ",", "this", ")", ";", "if", "(", "!", "DefMI", ")", "return", "nullptr", ";", "MachineOperand", "FalseReg", "=", "MI", "->", "getOperand", "(", "Invert", "?", "2", ":", "1", ")", ";", "unsigned", "DestReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "PreviousClass", "=", "MRI", ".", "getRegClass", "(", "FalseReg", ".", "getReg", "(", ")", ")", ";", "if", "(", "!", "MRI", ".", "constrainRegClass", "(", "DestReg", ",", "PreviousClass", ")", ")", "return", "nullptr", ";", "MachineInstrBuilder", "NewMI", "=", "BuildMI", "(", "*", "MI", "->", "getParent", "(", ")", ",", "MI", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "DefMI", "->", "getDesc", "(", ")", ",", "DestReg", ")", ";", "const", "MCInstrDesc", "&", "DefDesc", "=", "DefMI", "->", "getDesc", "(", ")", ";", "for", "(", "unsigned", "i", "=", "1", ",", "e", "=", "DefDesc", ".", "getNumOperands", "(", ")", ";", "i", "!=", "e", "&&", "!", "DefDesc", ".", "OpInfo", "[", "i", "]", ".", "isPredicate", "(", ")", ";", "++", "i", ")", "NewMI", ".", "addOperand", "(", "DefMI", "->", "getOperand", "(", "i", ")", ")", ";", "unsigned", "CondCode", "=", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "if", "(", "Invert", ")", "NewMI", ".", "addImm", "(", "ARMCC", "::", "getOppositeCondition", "(", "ARMCC", "::", "CondCodes", "(", "CondCode", ")", ")", ")", ";", "else", "NewMI", ".", "addImm", "(", "CondCode", ")", ";", "NewMI", ".", "addOperand", "(", "MI", "->", "getOperand", "(", "4", ")", ")", ";", "if", "(", "NewMI", "->", "hasOptionalDef", "(", ")", ")", "AddDefaultCC", "(", "NewMI", ")", ";", "FalseReg", ".", "setImplicit", "(", ")", ";", "NewMI", ".", "addOperand", "(", "FalseReg", ")", ";", "NewMI", "->", "tieOperands", "(", "0", ",", "NewMI", "->", "getNumOperands", "(", ")", "-", "1", ")", ";", "SeenMIs", ".", "insert", "(", "NewMI", ")", ";", "SeenMIs", ".", "erase", "(", "DefMI", ")", ";", "DefMI", "->", "eraseFromParent", "(", ")", ";", "return", "NewMI", ";", "}", ""], "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": ["ARM", "ARM", "ARM::MOVCCr", "ARM::t2MOVCCr", "\"Unknown select instruction\"", "2", "1", "2", "1", "0", "1", "3", "ARMCC::getOppositeCondition", "ARMCC::CondCodes", "4", "0", "1"], "File": "ARMBaseInstrInfo113", "Func": "optimizeSelect", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19315, "Length": 394, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_can_use_bitci_p", "(", "HOST_WIDE_INT", "ival", ")", "{", "return", "(", "TARGET_ISA_V3", "&&", "(", "ival", "<", "0", ")", "&&", "satisfies_constraint_Iu15", "(", "gen_int_mode", "(", "~", "ival", ",", "SImode", ")", ")", ")", ";", "}", ""], "natrual_language": ["Function", "to", "check", "if", "'bitci", "'", "instruction", "can", "be", "used", "with", "IVAL", "."], "TS_V_token": ["nds32", "0"], "File": "nds32-predicates", "Func": "nds32_can_use_bitci_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19316, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Instruction", "*", "getRoot", "(", ")", "{", "return", "Root", ";", "}", ""], "natrual_language": ["Similar", "to", "getMemoryRoot", ",", "but", "also", "flushes", "PendingConstrainedFP", "(", "Strict", ")", "items", "."], "TS_V_token": ["ARM"], "File": "ARMParallelDSP1", "Func": "getRoot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19317, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_multi_write", "(", "void", ")", "{", "struct", "mips_multi_member", "*", "member", ";", "unsigned", "int", "i", ";", "FOR_EACH_VEC_ELT", "(", "mips_multi_members", ",", "i", ",", "member", ")", "if", "(", "member", "->", "is_label_p", ")", "fprintf", "(", "asm_out_file", ",", "\"%s\\n\"", ",", "member", "->", "format", ")", ";", "else", "output_asm_insn", "(", "member", "->", "format", ",", "member", "->", "operands", ")", ";", "}", ""], "natrual_language": ["Write", "out", "the", "asm", "code", "for", "the", "current", "multi-insn", "sequence", "."], "TS_V_token": ["mips", "\"%s\\n\""], "File": "mips", "Func": "mips_multi_write", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19318, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "X86TargetLowering", "::", "getSSPStackGuardCheck", "(", "const", "Module", "&", "M", ")", "const", "{", "if", "(", "Subtarget", ".", "getTargetTriple", "(", ")", ".", "isWindowsMSVCEnvironment", "(", ")", "||", "Subtarget", ".", "getTargetTriple", "(", ")", ".", "isWindowsItaniumEnvironment", "(", ")", ")", "{", "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 (2)8", "Func": "getSSPStackGuardCheck", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19319, "Length": 54, "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", ";", "exception_section", "=", "data_section", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_INIT_SECTIONS", "."], "TS_V_token": ["rs6000", "0", "0", "0"], "File": "rs60004", "Func": "rs6000_xcoff_asm_init_sections", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19320, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "mips_preferred_simd_mode", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_PAIRED_SINGLE_FLOAT", "&&", "mode", "==", "SFmode", ")", "return", "V2SFmode", ";", "return", "word_mode", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VECTORIZE_PREFERRED_SIMD_MODE", "."], "TS_V_token": ["mips"], "File": "mips4", "Func": "mips_preferred_simd_mode", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19321, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCRegisterInfo", "::", "lowerCRSpilling", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "unsigned", "FrameIndex", ",", "int", "SPAdj", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "DebugLoc", "dl", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "const", "TargetRegisterClass", "*", "G8RC", "=", "&", "PPC", "::", "G8RCRegClass", ";", "const", "TargetRegisterClass", "*", "GPRC", "=", "&", "PPC", "::", "GPRCRegClass", ";", "const", "TargetRegisterClass", "*", "RC", "=", "Subtarget", ".", "isPPC64", "(", ")", "?", "G8RC", ":", "GPRC", ";", "unsigned", "Reg", "=", "findScratchRegister", "(", "II", ",", "RS", ",", "RC", ",", "SPAdj", ")", ";", "unsigned", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "bool", "LP64", "=", "Subtarget", ".", "isPPC64", "(", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MFCRpseud", ")", ",", "Reg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "isKill", "(", ")", ")", ")", ";", "if", "(", "SrcReg", "!=", "PPC", "::", "CR0", ")", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "RLWINM", ")", ",", "Reg", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "getPPCRegisterNumbering", "(", "SrcReg", ")", "*", "4", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "31", ")", ";", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "LP64", "?", "PPC", "::", "STW8", ":", "PPC", "::", "STW", ")", ")", ".", "addReg", "(", "Reg", ",", "getKillRegState", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ")", ")", ",", "FrameIndex", ")", ";", "MBB", ".", "erase", "(", "II", ")", ";", "}", ""], "natrual_language": ["lowerCRSpilling", "-", "Generate", "the", "code", "for", "spilling", "a", "CR", "register", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::G8RCRegClass", "PPC::GPRCRegClass", "PPC", "0", "PPC", "PPC::MFCRpseud", "0", "PPC::CR0", "PPC::RLWINM", "PPC", "4", "0", "31", "PPC::STW8", "PPC::STW", "1"], "File": "PPCRegisterInfo84", "Func": "lowerCRSpilling", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19322, "Length": 273, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "X86", "::", "MOV8rm", ":", "case", "X86", "::", "MOV16rm", ":", "case", "X86", "::", "MOV32rm", ":", "case", "X86", "::", "MOV64rm", ":", "case", "X86", "::", "LD_Fp64m", ":", "case", "X86", "::", "MOVSSrm", ":", "case", "X86", "::", "MOVSDrm", ":", "case", "X86", "::", "MOVAPSrm", ":", "case", "X86", "::", "MOVAPDrm", ":", "case", "X86", "::", "MOVDQArm", ":", "case", "X86", "::", "MMX_MOVD64rm", ":", "case", "X86", "::", "MMX_MOVQ64rm", ":", "if", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "isFI", "(", ")", "&&", "MI", "->", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", "&&", "MI", "->", "getOperand", "(", "3", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "4", ")", ".", "isImm", "(", ")", "&&", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "1", "&&", "MI", "->", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", "==", "0", "&&", "MI", "->", "getOperand", "(", "4", ")", ".", "getImm", "(", ")", "==", "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": ["X86", "X86", "X86::MOV8rm", "X86::MOV16rm", "X86::MOV32rm", "X86::MOV64rm", "X86::LD_Fp64m", "X86::MOVSSrm", "X86::MOVSDrm", "X86::MOVAPSrm", "X86::MOVAPDrm", "X86::MOVDQArm", "X86::MMX_MOVD64rm", "X86::MMX_MOVQ64rm", "1", "2", "3", "4", "2", "1", "3", "0", "4", "0", "1", "0", "0"], "File": "X86InstrInfo108", "Func": "isLoadFromStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19323, "Length": 208, "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": 19324, "Length": 228, "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": ["Sparc", "MVT::i32"], "File": "SparcISelLowering", "Func": "getScalarShiftAmountTy", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19325, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "DLXMCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "Inst", ",", "raw_ostream", "&", "Ostream", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "SubtargetInfo", ")", "const", "{", "unsigned", "Value", "=", "getBinaryCodeForInstr", "(", "Inst", ",", "Fixups", ",", "SubtargetInfo", ")", ";", "++", "MCNumEmitted", ";", "for", "(", "int", "i", "=", "(", "4", "-", "1", ")", "*", "8", ";", "i", ">=", "0", ";", "i", "-=", "8", ")", "Ostream", "<<", "static_cast", "<", "char", ">", "(", "(", "Value", ">>", "i", ")", "&", "0xff", ")", ";", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["DLX", "DLX", "4", "1", "8", "0", "8", "0xff"], "File": "DLXMCCodeEmitter", "Func": "encodeInstruction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19326, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isMBBSafeToOutlineFrom", "(", "MachineBasicBlock", "&", "MBB", ",", "unsigned", "&", "Flags", ")", "const", "{", "assert", "(", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ".", "tracksLiveness", "(", ")", "&&", "\"Suitable Machine Function for outlining must track liveness\"", ")", ";", "LiveRegUnits", "LRU", "(", "getRegisterInfo", "(", ")", ")", ";", "std", "::", "for_each", "(", "MBB", ".", "rbegin", "(", ")", ",", "MBB", ".", "rend", "(", ")", ",", "[", "&", "LRU", "]", "(", "MachineInstr", "&", "MI", ")", "{", "LRU", ".", "accumulate", "(", "MI", ")", ";", "}", ")", ";", "bool", "R12AvailableInBlock", "=", "LRU", ".", "available", "(", "ARM", "::", "R12", ")", ";", "bool", "CPSRAvailableInBlock", "=", "LRU", ".", "available", "(", "ARM", "::", "CPSR", ")", ";", "if", "(", "R12AvailableInBlock", "&&", "CPSRAvailableInBlock", ")", "Flags", "|=", "MachineOutlinerMBBFlags", "::", "UnsafeRegsDead", ";", "LRU", ".", "addLiveOuts", "(", "MBB", ")", ";", "if", "(", "R12AvailableInBlock", "&&", "!", "LRU", ".", "available", "(", "ARM", "::", "R12", ")", ")", "return", "false", ";", "if", "(", "CPSRAvailableInBlock", "&&", "!", "LRU", ".", "available", "(", "ARM", "::", "CPSR", ")", ")", "return", "false", ";", "if", "(", "any_of", "(", "MBB", ",", "[", "]", "(", "MachineInstr", "&", "MI", ")", "{", "return", "MI", ".", "isCall", "(", ")", ";", "}", ")", ")", "Flags", "|=", "MachineOutlinerMBBFlags", "::", "HasCalls", ";", "if", "(", "!", "LRU", ".", "available", "(", "ARM", "::", "LR", ")", ")", "Flags", "|=", "MachineOutlinerMBBFlags", "::", "LRUnavailableSomewhere", ";", "return", "true", ";", "}", ""], "natrual_language": ["Optional", "target", "hook", "that", "returns", "true", "if", "MBB", "is", "safe", "to", "outline", "from", ",", "and", "returns", "any", "target-specific", "information", "in", "Flags", "."], "TS_V_token": ["ARM", "ARM", "\"Suitable Machine Function for outlining must track liveness\"", "ARM::R12", "ARM::CPSR", "ARM::R12", "ARM::CPSR", "ARM::LR"], "File": "ARMBaseInstrInfo116", "Func": "isMBBSafeToOutlineFrom", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19327, "Length": 207, "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", "=", "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": "i3864", "Func": "add_insn_window", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19328, "Length": 252, "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", ".", "hasMSInlineAsm", "(", ")", "||", "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": "X86FrameLowering (2)1", "Func": "hasFP", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19329, "Length": 112, "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", ";", "return", "Match_rGPR", ";", "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": "ARMAsmParser (2)2", "Func": "validateTargetOperandClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19330, "Length": 225, "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\"", ",", "\"fmodl\"", ",", "\"log10l\"", ",", "\"log2l\"", ",", "\"logl\"", ",", "\"nearbyintl\"", ",", "\"powl\"", ",", "\"rintl\"", ",", "\"sinl\"", ",", "\"sqrtl\"", ",", "\"truncl\"", "}", ";", "const", "char", "*", "const", "*", "End", "=", "LibCalls", "+", "array_lengthof", "(", "LibCalls", ")", ";", "MipsTargetLowering", "::", "LTStr", "Comp", ";", "for", "(", "const", "char", "*", "const", "*", "I", "=", "LibCalls", ";", "I", "<", "End", "-", "1", ";", "++", "I", ")", "assert", "(", "Comp", "(", "*", "I", ",", "*", "(", "I", "+", "1", ")", ")", ")", ";", "return", "std", "::", "binary_search", "(", "LibCalls", ",", "End", ",", "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\"", "\"fmodl\"", "\"log10l\"", "\"log2l\"", "\"logl\"", "\"nearbyintl\"", "\"powl\"", "\"rintl\"", "\"sinl\"", "\"sqrtl\"", "\"truncl\"", "Mips", "1", "1"], "File": "MipsISelLowering (2)", "Func": "isF128SoftLibCall", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19331, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_check_avx256_register", "(", "const_rtx", "exp", ")", "{", "if", "(", "SUBREG_P", "(", "exp", ")", ")", "exp", "=", "SUBREG_REG", "(", "exp", ")", ";", "return", "(", "REG_P", "(", "exp", ")", "&&", "VALID_AVX256_REG_OR_OI_MODE", "(", "GET_MODE", "(", "exp", ")", ")", ")", ";", "}", ""], "natrual_language": ["Check", "if", "a", "256bit", "AVX", "register", "is", "referenced", "inside", "of", "EXP", "."], "TS_V_token": ["i386"], "File": "i3865", "Func": "ix86_check_avx256_register", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19332, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCFunctionInfo", "::", "isLiveInZExt", "(", "Register", "VReg", ")", "const", "{", "for", "(", "const", "std", "::", "pair", "<", "Register", ",", "ISD", "::", "ArgFlagsTy", ">", "&", "LiveIn", ":", "LiveInAttrs", ")", "if", "(", "LiveIn", ".", "first", "==", "VReg", ")", "return", "LiveIn", ".", "second", ".", "isZExt", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "returns", "true", "if", "the", "specified", "vreg", "is", "a", "live-in", "register", "and", "zero-extended", "."], "TS_V_token": ["PowerPC", "PPC", "ISD::ArgFlagsTy"], "File": "PPCMachineFunctionInfo10", "Func": "isLiveInZExt", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19333, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_expand_sve_vcond", "(", "machine_mode", "data_mode", ",", "machine_mode", "cmp_mode", ",", "rtx", "*", "ops", ")", "{", "machine_mode", "pred_mode", "=", "aarch64_get_mask_mode", "(", "GET_MODE_NUNITS", "(", "cmp_mode", ")", ",", "GET_MODE_SIZE", "(", "cmp_mode", ")", ")", ".", "require", "(", ")", ";", "rtx", "pred", "=", "gen_reg_rtx", "(", "pred_mode", ")", ";", "if", "(", "FLOAT_MODE_P", "(", "cmp_mode", ")", ")", "{", "if", "(", "aarch64_expand_sve_vec_cmp_float", "(", "pred", ",", "GET_CODE", "(", "ops", "[", "3", "]", ")", ",", "ops", "[", "4", "]", ",", "ops", "[", "5", "]", ",", "true", ")", ")", "std", "::", "swap", "(", "ops", "[", "1", "]", ",", "ops", "[", "2", "]", ")", ";", "}", "else", "aarch64_expand_sve_vec_cmp_int", "(", "pred", ",", "GET_CODE", "(", "ops", "[", "3", "]", ")", ",", "ops", "[", "4", "]", ",", "ops", "[", "5", "]", ")", ";", "rtvec", "vec", "=", "gen_rtvec", "(", "3", ",", "pred", ",", "ops", "[", "1", "]", ",", "ops", "[", "2", "]", ")", ";", "emit_set_insn", "(", "ops", "[", "0", "]", ",", "gen_rtx_UNSPEC", "(", "data_mode", ",", "vec", ",", "UNSPEC_SEL", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "an", "SVE", "vcond", "pattern", "with", "operands", "OPS", ".", "DATA_MODE", "is", "the", "mode", "of", "the", "data", "being", "selected", "and", "CMP_MODE", "is", "the", "mode", "of", "the", "values", "being", "compared", "."], "TS_V_token": ["aarch64", "3", "4", "5", "1", "2", "3", "4", "5", "3", "1", "2", "0"], "File": "aarch645", "Func": "aarch64_expand_sve_vcond", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19334, "Length": 155, "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", ";", "}", "}", "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\""], "File": "ARMBaseInstrInfo128", "Func": "verifyInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19335, "Length": 359, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LC2200AsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "if", "(", "emitPseudoExpansionLowering", "(", "*", "OutStreamer", ",", "MI", ")", ")", "return", ";", "MCInst", "TmpInst", ";", "TmpInst", ".", "setOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "for", "(", "const", "MachineOperand", "&", "MO", ":", "MI", "->", "operands", "(", ")", ")", "{", "MCOperand", "MCOp", ";", "if", "(", "LowerLC2200MachineOperandToMCOperand", "(", "MO", ",", "MCOp", ",", "*", "this", ")", ")", "TmpInst", ".", "addOperand", "(", "MCOp", ")", ";", "}", "EmitToStreamer", "(", "*", "OutStreamer", ",", "TmpInst", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["LC2200", "LC2200", "LC2200"], "File": "LC2200AsmPrinter", "Func": "EmitInstruction", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19336, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_expand_store_builtin", "(", "enum", "insn_code", "icode", ",", "tree", "arglist", ")", "{", "rtx", "pat", ";", "tree", "arg0", "=", "TREE_VALUE", "(", "arglist", ")", ";", "tree", "arg1", "=", "TREE_VALUE", "(", "TREE_CHAIN", "(", "arglist", ")", ")", ";", "rtx", "op0", "=", "expand_expr", "(", "arg0", ",", "NULL_RTX", ",", "VOIDmode", ",", "0", ")", ";", "rtx", "op1", "=", "expand_expr", "(", "arg1", ",", "NULL_RTX", ",", "VOIDmode", ",", "0", ")", ";", "enum", "machine_mode", "mode0", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "mode", ";", "enum", "machine_mode", "mode1", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "mode", ";", "if", "(", "VECTOR_MODE_P", "(", "mode1", ")", ")", "op1", "=", "safe_vector_operand", "(", "op1", ",", "mode1", ")", ";", "op0", "=", "gen_rtx_MEM", "(", "mode0", ",", "copy_to_mode_reg", "(", "Pmode", ",", "op0", ")", ")", ";", "op1", "=", "copy_to_mode_reg", "(", "mode1", ",", "op1", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op0", ",", "op1", ")", ";", "if", "(", "pat", ")", "emit_insn", "(", "pat", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Subroutine", "of", "ix86_expand_builtin", "to", "take", "care", "of", "stores", "."], "TS_V_token": ["i386", "0", "0", "0", "1", "0"], "File": "i3863", "Func": "ix86_expand_store_builtin", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19337, "Length": 158, "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", ";", "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", ")", "&&", "save_reg_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", ")", ";", "}", "if", "(", "cfun", "->", "machine", "->", "save_toc_in_prologue", ")", "bitmap_set_bit", "(", "components", ",", "2", ")", ";", "return", "components", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SHRINK_WRAP_GET_SEPARATE_COMPONENTS", "."], "TS_V_token": ["rs6000", "64", "4", "8", "8", "32", "0x8000", "0x7fff", "1", "64", "0x8000", "0x7fff", "0x8000", "0x7fff", "0", "2"], "File": "rs60007", "Func": "rs6000_get_separate_components", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19338, "Length": 427, "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", "{", "if", "(", "Subtarget", "->", "isThumb1Only", "(", ")", ")", "return", "false", ";", "EVT", "VT", ";", "SDValue", "Ptr", ";", "bool", "isSEXTLoad", "=", "false", ";", "if", "(", "LoadSDNode", "*", "LD", "=", "dyn_cast", "<", "LoadSDNode", ">", "(", "N", ")", ")", "{", "VT", "=", "LD", "->", "getMemoryVT", "(", ")", ";", "Ptr", "=", "LD", "->", "getBasePtr", "(", ")", ";", "isSEXTLoad", "=", "LD", "->", "getExtensionType", "(", ")", "==", "ISD", "::", "SEXTLOAD", ";", "}", "else", "if", "(", "StoreSDNode", "*", "ST", "=", "dyn_cast", "<", "StoreSDNode", ">", "(", "N", ")", ")", "{", "VT", "=", "ST", "->", "getMemoryVT", "(", ")", ";", "Ptr", "=", "ST", "->", "getBasePtr", "(", ")", ";", "}", "else", "return", "false", ";", "bool", "isInc", ";", "bool", "isLegal", "=", "false", ";", "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", "ARM", "ISD::ADD", "ISD::POST_INC", "ISD::POST_DEC"], "File": "ARMISelLowering (2)", "Func": "getPostIndexedAddressParts", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19339, "Length": 264, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "iq2000_libcall_value", "(", "machine_mode", "mode", ",", "const_rtx", "fun", "ATTRIBUTE_UNUSED", ")", "{", "return", "gen_rtx_REG", "(", "(", "(", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_INT", "||", "GET_MODE_SIZE", "(", "mode", ")", ">=", "4", ")", "?", "mode", ":", "SImode", ")", ",", "GP_RETURN", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_LIBCALL_VALUE", "."], "TS_V_token": ["iq2000", "4"], "File": "iq2000", "Func": "iq2000_libcall_value", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19340, "Length": 41, "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": ["LC2200"], "File": "LC2200RegisterInfo", "Func": "requiresRegisterScavenging", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19341, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_emit_compare", "(", "enum", "rtx_code", "*", "code", ",", "rtx", "*", "op0", ",", "rtx", "*", "op1", ",", "bool", "need_eq_ne_p", ")", "{", "rtx", "cmp_op0", "=", "*", "op0", ";", "rtx", "cmp_op1", "=", "*", "op1", ";", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "*", "op0", ")", ")", "==", "MODE_INT", ")", "{", "if", "(", "!", "need_eq_ne_p", "&&", "*", "op1", "==", "const0_rtx", ")", ";", "else", "if", "(", "*", "code", "==", "EQ", "||", "*", "code", "==", "NE", ")", "{", "if", "(", "need_eq_ne_p", ")", "{", "*", "op0", "=", "mips_zero_if_equal", "(", "cmp_op0", ",", "cmp_op1", ")", ";", "*", "op1", "=", "const0_rtx", ";", "}", "else", "*", "op1", "=", "force_reg", "(", "GET_MODE", "(", "cmp_op0", ")", ",", "cmp_op1", ")", ";", "}", "else", "if", "(", "!", "need_eq_ne_p", "&&", "TARGET_CB_MAYBE", ")", "{", "bool", "swap", "=", "false", ";", "switch", "(", "*", "code", ")", "{", "case", "LE", ":", "swap", "=", "true", ";", "*", "code", "=", "GE", ";", "break", ";", "case", "GT", ":", "swap", "=", "true", ";", "*", "code", "=", "LT", ";", "break", ";", "case", "LEU", ":", "swap", "=", "true", ";", "*", "code", "=", "GEU", ";", "break", ";", "case", "GTU", ":", "swap", "=", "true", ";", "*", "code", "=", "LTU", ";", "break", ";", "case", "GE", ":", "case", "LT", ":", "case", "GEU", ":", "case", "LTU", ":", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "*", "op1", "=", "force_reg", "(", "GET_MODE", "(", "cmp_op0", ")", ",", "cmp_op1", ")", ";", "if", "(", "swap", ")", "{", "rtx", "tmp", "=", "*", "op1", ";", "*", "op1", "=", "*", "op0", ";", "*", "op0", "=", "tmp", ";", "}", "}", "else", "{", "bool", "invert", "=", "false", ";", "*", "op0", "=", "gen_reg_rtx", "(", "GET_MODE", "(", "cmp_op0", ")", ")", ";", "mips_emit_int_order_test", "(", "*", "code", ",", "&", "invert", ",", "*", "op0", ",", "cmp_op0", ",", "cmp_op1", ")", ";", "*", "code", "=", "(", "invert", "?", "EQ", ":", "NE", ")", ";", "*", "op1", "=", "const0_rtx", ";", "}", "}", "else", "if", "(", "ALL_FIXED_POINT_MODE_P", "(", "GET_MODE", "(", "cmp_op0", ")", ")", ")", "{", "*", "op0", "=", "gen_rtx_REG", "(", "CCDSPmode", ",", "CCDSP_CC_REGNUM", ")", ";", "mips_emit_binary", "(", "*", "code", ",", "*", "op0", ",", "cmp_op0", ",", "cmp_op1", ")", ";", "*", "code", "=", "NE", ";", "*", "op1", "=", "const0_rtx", ";", "}", "else", "{", "enum", "rtx_code", "cmp_code", ";", "cmp_code", "=", "*", "code", ";", "if", "(", "ISA_HAS_CCF", ")", "{", "*", "code", "=", "NE", ";", "*", "op0", "=", "gen_reg_rtx", "(", "CCFmode", ")", ";", "}", "else", "{", "*", "code", "=", "mips_reversed_fp_cond", "(", "&", "cmp_code", ")", "?", "EQ", ":", "NE", ";", "if", "(", "ISA_HAS_8CC", ")", "*", "op0", "=", "mips_allocate_fcc", "(", "CCmode", ")", ";", "else", "*", "op0", "=", "gen_rtx_REG", "(", "CCmode", ",", "FPSW_REGNUM", ")", ";", "}", "*", "op1", "=", "const0_rtx", ";", "mips_emit_binary", "(", "cmp_code", ",", "*", "op0", ",", "cmp_op0", ",", "cmp_op1", ")", ";", "}", "}", ""], "natrual_language": ["Convert", "a", "comparison", "into", "something", "that", "can", "be", "used", "in", "a", "branch", "or", "conditional", "move", ".", "On", "entry", ",", "*", "OP0", "and", "*", "OP1", "are", "the", "values", "being", "compared", "and", "*", "CODE", "is", "the", "code", "used", "to", "compare", "them", ".", "Update", "*", "CODE", ",", "*", "OP0", "and", "*", "OP1", "so", "that", "they", "describe", "the", "final", "comparison", ".", "If", "NEED_EQ_NE_P", ",", "then", "only", "EQ", "or", "NE", "comparisons", "against", "zero", "are", "possible", ",", "otherwise", "any", "standard", "branch", "condition", "can", "be", "used", ".", "The", "standard", "branch", "conditions", "are", ":", "-", "EQ", "or", "NE", "between", "two", "registers", ".", "-", "any", "comparison", "between", "a", "register", "and", "zero", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_emit_compare", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19342, "Length": 428, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "constant_generates_xxspltiw", "(", "vec_const_128bit_type", "*", "vsx_const", ")", "{", "if", "(", "!", "TARGET_SPLAT_WORD_CONSTANT", "||", "!", "TARGET_PREFIXED", "||", "!", "TARGET_VSX", ")", "return", "0", ";", "if", "(", "!", "vsx_const", "->", "all_words_same", ")", "return", "0", ";", "if", "(", "vsx_const", "->", "all_bytes_same", ")", "return", "0", ";", "if", "(", "vsx_const", "->", "all_half_words_same", ")", "{", "unsigned", "short", "h_word", "=", "vsx_const", "->", "half_words", "[", "0", "]", ";", "short", "sign_h_word", "=", "(", "(", "h_word", "&", "0xffff", ")", "^", "0x8000", ")", "-", "0x8000", ";", "if", "(", "EASY_VECTOR_15", "(", "sign_h_word", ")", ")", "return", "0", ";", "}", "unsigned", "int", "word", "=", "vsx_const", "->", "words", "[", "0", "]", ";", "int", "sign_word", "=", "(", "(", "word", "&", "0xffffffff", ")", "^", "0x80000000", ")", "-", "0x80000000", ";", "if", "(", "EASY_VECTOR_15", "(", "sign_word", ")", ")", "return", "0", ";", "return", "vsx_const", "->", "words", "[", "0", "]", ";", "}", ""], "natrual_language": ["Determine", "if", "a", "vector", "constant", "can", "be", "loaded", "with", "XXSPLTIW", ".", "Return", "zero", "if", "the", "XXSPLTIW", "instruction", "can", "not", "be", "used", ".", "Otherwise", "return", "the", "immediate", "value", "to", "be", "used", "with", "the", "XXSPLTIW", "instruction", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "0xffff", "0x8000", "0x8000", "0", "0", "0xffffffff", "0x80000000", "0x80000000", "0", "0"], "File": "rs6000", "Func": "constant_generates_xxspltiw", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19343, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_cmp_code_to_pcmp_immediate", "(", "enum", "rtx_code", "code", ",", "machine_mode", "mode", ")", "{", "if", "(", "FLOAT_MODE_P", "(", "mode", ")", ")", "return", "ix86_fp_cmp_code_to_pcmp_immediate", "(", "code", ")", ";", "return", "ix86_int_cmp_code_to_pcmp_immediate", "(", "code", ")", ";", "}", ""], "natrual_language": ["Return", "immediate", "value", "to", "be", "used", "in", "UNSPEC_PCMP", "for", "comparison", "CODE", "in", "MODE", "."], "TS_V_token": ["i386"], "File": "i386-expand", "Func": "ix86_cmp_code_to_pcmp_immediate", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19344, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "size_t", "AArch64CA53ErratumStub", "::", "size", "(", ")", "const", "{", "return", "m_Size", ";", "}", ""], "natrual_language": ["The", "number", "of", "name/type", "pairs", "is", "returned", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64CA53ErratumStub", "Func": "size", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19345, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ExpandPseudo", "::", "expand", "(", ")", "{", "bool", "Expanded", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "BB", "=", "MF", ".", "begin", "(", ")", ",", "BBEnd", "=", "MF", ".", "end", "(", ")", ";", "BB", "!=", "BBEnd", ";", "++", "BB", ")", "for", "(", "Iter", "I", "=", "BB", "->", "begin", "(", ")", ",", "End", "=", "BB", "->", "end", "(", ")", ";", "I", "!=", "End", ";", ")", "Expanded", "|=", "expandInstr", "(", "*", "BB", ",", "I", "++", ")", ";", "return", "Expanded", ";", "}", ""], "natrual_language": ["expand", "-", "Expand", "a", "record", "into", "a", "set", "of", "elements", "if", "possible", "."], "TS_V_token": ["Mips"], "File": "MipsSEFrameLowering", "Func": "expand", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19346, "Length": 79, "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", "{", "if", "(", "RC", "==", "ARM", "::", "GPRRegisterClass", "||", "RC", "==", "ARM", "::", "tGPRRegisterClass", "||", "RC", "==", "ARM", "::", "tcGPRRegisterClass", "||", "RC", "==", "ARM", "::", "rGPRRegisterClass", "||", "RC", "==", "ARM", "::", "GPRnopcRegisterClass", ")", "{", "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", "::", "t2STRi12", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ")", ";", "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::GPRRegisterClass", "ARM::tGPRRegisterClass", "ARM::tcGPRRegisterClass", "ARM::rGPRRegisterClass", "ARM::GPRnopcRegisterClass", "ARM::t2STRi12", "0", "ARM"], "File": "Thumb2InstrInfo41", "Func": "storeRegToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19347, "Length": 212, "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": 19348, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "if", "(", "STI", ".", "isTargetIOS", "(", ")", ")", "return", "true", ";", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "(", "(", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "&&", "MFI", "->", "hasCalls", "(", ")", ")", "||", "RegInfo", "->", "needsStackRealignment", "(", "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": "ARMFrameLowering", "Func": "hasFP", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19349, "Length": 93, "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", ";", "if", "(", "TARGET_GENERAL_REGS_ONLY", ")", "error", "(", "\"argument of type %qT not permitted with -mgeneral-regs-only\"", ",", "type", ")", ";", "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", "\"argument of type %qT not permitted with -mgeneral-regs-only\""], "File": "arm8", "Func": "aapcs_vfp_is_call_or_return_candidate", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19350, "Length": 170, "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": 19351, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "create_TOC_reference", "(", "rtx", "symbol", ",", "rtx", "largetoc_reg", ")", "{", "rtx", "tocrel", ",", "tocreg", ",", "hi", ";", "gcc_assert", "(", "TARGET_TOC", ")", ";", "if", "(", "TARGET_DEBUG_ADDR", ")", "{", "if", "(", "SYMBOL_REF_P", "(", "symbol", ")", ")", "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": ["rs6000", "\"\\ncreate_TOC_reference, (symbol_ref %s)\\n\"", "0", "\"\\ncreate_TOC_reference, code %s:\\n\"", "2"], "File": "rs6000", "Func": "create_TOC_reference", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19352, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "void", "desc_abi", "(", "unsigned", "char", "abi", ",", "unsigned", "char", "context", ",", "struct", "unw_state_record", "*", "sr", ")", "{", "sr", "->", "unwabi", "=", "(", "abi", "<<", "8", ")", "|", "context", ";", "}", ""], "natrual_language": ["Prologue", "descriptors", "."], "TS_V_token": ["ia64", "8"], "File": "unwind-ia641", "Func": "desc_abi", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19353, "Length": 32, "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": 19354, "Length": 136, "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", "&&", "!", "is_complex_IBM_long_double", "(", "mode", ")", "&&", "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": ["powerpcspe", "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": "powerpcspe", "Func": "rs6000_function_arg_boundary", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19355, "Length": 266, "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", "(", "(", "unsigned", ")", "Fixup", ".", "getKind", "(", ")", "==", "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": "ARMAsmBackend (2)2", "Func": "shouldForceRelocation", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19356, "Length": 234, "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": 19357, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_n9_3r2w_mm_to_ex_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "rtx", "def_reg", ";", "switch", "(", "get_attr_type", "(", "producer", ")", ")", "{", "case", "TYPE_LOAD", ":", "case", "TYPE_MUL", ":", "case", "TYPE_MAC", ":", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "break", ";", "case", "TYPE_DIV", ":", "if", "(", "divmod_p", "(", "producer", ")", ")", "{", "rtx", "def_reg1", "=", "SET_DEST", "(", "parallel_element", "(", "producer", ",", "0", ")", ")", ";", "rtx", "def_reg2", "=", "SET_DEST", "(", "parallel_element", "(", "producer", ",", "1", ")", ")", ";", "return", "(", "n9_3r2w_consumed_by_ex_dep_p", "(", "consumer", ",", "def_reg1", ")", "||", "n9_3r2w_consumed_by_ex_dep_p", "(", "consumer", ",", "def_reg2", ")", ")", ";", "}", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "n9_3r2w_consumed_by_ex_dep_p", "(", "consumer", ",", "def_reg", ")", ";", "}", ""], "natrual_language": ["Check", "dependencies", "from", "MM", "to", "EX", "."], "TS_V_token": ["nds32", "0", "1"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n9_3r2w_mm_to_ex_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19358, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZMCAsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsResolved", ")", "const", "{", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "BitSize", "=", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ";", "unsigned", "Size", "=", "(", "BitSize", "+", "7", ")", "/", "8", ";", "assert", "(", "Offset", "+", "Size", "<=", "Data", ".", "size", "(", ")", "&&", "\"Invalid fixup offset!\"", ")", ";", "Value", "=", "extractBitsForFixup", "(", "Kind", ",", "Value", ")", ";", "if", "(", "BitSize", "<", "64", ")", "Value", "&=", "(", "(", "uint64_t", ")", "1", "<<", "BitSize", ")", "-", "1", ";", "unsigned", "ShiftValue", "=", "(", "Size", "*", "8", ")", "-", "8", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "!=", "Size", ";", "++", "I", ")", "{", "Data", "[", "Offset", "+", "I", "]", "|=", "uint8_t", "(", "Value", ">>", "ShiftValue", ")", ";", "ShiftValue", "-=", "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": ["SystemZ", "SystemZ", "7", "8", "\"Invalid fixup offset!\"", "64", "1", "1", "8", "8", "0", "8"], "File": "SystemZMCAsmBackend1", "Func": "applyFixup", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19359, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86DAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "OptForSize", "=", "MF", "->", "getFunction", "(", ")", "->", "hasFnAttr", "(", "Attribute", "::", "OptimizeForSize", ")", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "I", "++", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", "||", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "TC_RETURN", ")", ")", "{", "bool", "HasCallSeq", "=", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", ";", "SDValue", "Chain", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Load", "=", "N", "->", "getOperand", "(", "1", ")", ";", "if", "(", "!", "isCalleeLoad", "(", "Load", ",", "Chain", ",", "HasCallSeq", ")", ")", "continue", ";", "MoveBelowOrigChain", "(", "CurDAG", ",", "Load", ",", "SDValue", "(", "N", ",", "0", ")", ",", "Chain", ")", ";", "++", "NumLoadMoved", ";", "continue", ";", "}", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_ROUND", "&&", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "EVT", "SrcVT", "=", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", ";", "EVT", "DstVT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "bool", "SrcIsSSE", "=", "X86Lowering", ".", "isScalarFPTypeInSSEReg", "(", "SrcVT", ")", ";", "bool", "DstIsSSE", "=", "X86Lowering", ".", "isScalarFPTypeInSSEReg", "(", "DstVT", ")", ";", "if", "(", "SrcIsSSE", "&&", "DstIsSSE", ")", "continue", ";", "if", "(", "!", "SrcIsSSE", "&&", "!", "DstIsSSE", ")", "{", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "if", "(", "N", "->", "getConstantOperandVal", "(", "1", ")", ")", "continue", ";", "}", "EVT", "MemVT", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_ROUND", ")", "MemVT", "=", "DstVT", ";", "else", "MemVT", "=", "SrcIsSSE", "?", "SrcVT", ":", "DstVT", ";", "SDValue", "MemTmp", "=", "CurDAG", "->", "CreateStackTemporary", "(", "MemVT", ")", ";", "DebugLoc", "dl", "=", "N", "->", "getDebugLoc", "(", ")", ";", "SDValue", "Store", "=", "CurDAG", "->", "getTruncStore", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "dl", ",", "N", "->", "getOperand", "(", "0", ")", ",", "MemTmp", ",", "NULL", ",", "0", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "SDValue", "Result", "=", "CurDAG", "->", "getExtLoad", "(", "ISD", "::", "EXTLOAD", ",", "dl", ",", "DstVT", ",", "Store", ",", "MemTmp", ",", "NULL", ",", "0", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "--", "I", ";", "CurDAG", "->", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "0", ")", ",", "Result", ")", ";", "++", "I", ";", "CurDAG", "->", "DeleteNode", "(", "N", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["X86", "X86", "X86ISD::CALL", "X86ISD::TC_RETURN", "X86ISD::CALL", "0", "1", "0", "ISD::FP_ROUND", "ISD::FP_EXTEND", "0", "0", "X86", "X86", "ISD::FP_EXTEND", "1", "ISD::FP_ROUND", "0", "0", "0", "ISD::EXTLOAD", "0", "0", "0"], "File": "X86ISelDAGToDAG132", "Func": "PreprocessISelDAG", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19360, "Length": 412, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "F2003fRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "return", "CSR_NoRegs_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["F2003f", "F2003f"], "File": "F2003fRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19361, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_member_type_forces_blk", "(", "const_tree", "field", ",", "machine_mode", "mode", ")", "{", "return", "(", "mode", "==", "XFmode", "&&", "(", "TREE_CODE", "(", "DECL_FIELD_CONTEXT", "(", "field", ")", ")", "==", "UNION_TYPE", "||", "TREE_CODE", "(", "DECL_FIELD_CONTEXT", "(", "field", ")", ")", "==", "QUAL_UNION_TYPE", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "structure", ",", "union", "or", "array", "with", "MODE", "containing", "FIELD", "should", "be", "accessed", "using", "BLKmode", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_member_type_forces_blk", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19362, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "int", "arm_const_inline_cost", "(", "enum", "rtx_code", "code", ",", "rtx", "val", ")", "{", "return", "arm_gen_constant", "(", "code", ",", "SImode", ",", "NULL_RTX", ",", "INTVAL", "(", "val", ")", ",", "NULL_RTX", ",", "NULL_RTX", ",", "1", ",", "0", ")", ";", "}", ""], "natrual_language": ["Cost", "of", "loading", "a", "SImode", "constant", "."], "TS_V_token": ["arm", "1", "0"], "File": "arm", "Func": "arm_const_inline_cost", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19363, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0InstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "'$'", "<<", "StringRef", "(", "getRegisterName", "(", "RegNo", ")", ")", ".", "lower", "(", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["Cpu0", "Cpu0"], "File": "Cpu0InstPrinter", "Func": "printRegName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19364, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "detect_processor_freebsd", "(", "void", ")", "{", "return", "\"powerpc\"", ";", "}", ""], "natrual_language": ["Currently", "returns", "default", "powerpc", "."], "TS_V_token": ["rs6000", "\"powerpc\""], "File": "driver-rs6000", "Func": "detect_processor_freebsd", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19365, "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", ",", "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": "ARMSelectionDAGInfo18", "Func": "EmitTargetCodeForMemmove", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19366, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{", "return", "createAArch64ELFObjectWriter", "(", "OS", ",", "OSABI", ",", "IsLittle", ")", ";", "}", ""], "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": "AArch64AsmBackend16", "Func": "createObjectWriter", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19367, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TOYPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "addPass", "(", "createTOYPreRegAlloc", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["TOY", "TOY", "TOY"], "File": "TOYTargetMachine", "Func": "addPreRegAlloc", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19368, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb1InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "Register", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "assert", "(", "(", "RC", "->", "hasSuperClassEq", "(", "&", "ARM", "::", "tGPRRegClass", ")", "||", "(", "Register", "::", "isPhysicalRegister", "(", "DestReg", ")", "&&", "isARMLowRegister", "(", "DestReg", ")", ")", ")", "&&", "\"Unknown regclass!\"", ")", ";", "if", "(", "RC", "->", "hasSuperClassEq", "(", "&", "ARM", "::", "tGPRRegClass", ")", "||", "(", "Register", "::", "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", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlign", "(", "FI", ")", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tLDRspi", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "}", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM::tGPRRegClass", "ARM", "\"Unknown regclass!\"", "ARM::tGPRRegClass", "ARM", "ARM::tLDRspi", "0", "ARMCC::AL"], "File": "Thumb1InstrInfo20", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19369, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_struct_value_rtx", "(", "tree", "type", ",", "int", "incoming", "ATTRIBUTE_UNUSED", ")", "{", "static", "bool", "warnedsse", ",", "warnedmmx", ";", "if", "(", "type", ")", "{", "enum", "machine_mode", "mode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "type", ")", ")", ";", "if", "(", "!", "TARGET_SSE", "&&", "!", "warnedsse", ")", "{", "if", "(", "mode", "==", "TImode", "||", "(", "VECTOR_MODE_P", "(", "mode", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "==", "16", ")", ")", "{", "warnedsse", "=", "true", ";", "warning", "(", "0", ",", "\"SSE vector return without SSE enabled \"", "\"changes the ABI\"", ")", ";", "}", "}", "if", "(", "!", "TARGET_MMX", "&&", "!", "warnedmmx", ")", "{", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "==", "8", ")", "{", "warnedmmx", "=", "true", ";", "warning", "(", "0", ",", "\"MMX vector return without MMX enabled \"", "\"changes the ABI\"", ")", ";", "}", "}", "}", "return", "NULL", ";", "}", ""], "natrual_language": ["When", "returning", "SSE", "vector", "types", ",", "we", "have", "a", "choice", "of", "either", "(", "1", ")", "being", "abi", "incompatible", "with", "a", "-march", "switch", ",", "or", "(", "2", ")", "generating", "an", "error", ".", "Given", "no", "good", "solution", ",", "I", "think", "the", "safest", "thing", "is", "one", "warning", ".", "The", "user", "wo", "n't", "be", "able", "to", "use", "-Werror", ",", "but", "....", "Choose", "the", "STRUCT_VALUE_RTX", "hook", "because", "that", "'s", "(", "at", "present", ")", "only", "called", "in", "response", "to", "actually", "generating", "a", "caller", "or", "callee", "that", "uses", "such", "a", "type", ".", "As", "opposed", "to", "RETURN_IN_MEMORY", ",", "which", "is", "called", "via", "aggregate_value_p", "for", "general", "type", "probing", "from", "tree-ssa", "."], "TS_V_token": ["i386", "16", "0", "\"SSE vector return without SSE enabled \"", "\"changes the ABI\"", "8", "0", "\"MMX vector return without MMX enabled \"", "\"changes the ABI\""], "File": "i3863", "Func": "ix86_struct_value_rtx", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19370, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "FISCInstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["FISC", "FISC"], "File": "FISCSubtarget", "Func": "getInstrInfo", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19371, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsHazardSchedule", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "MipsSubtarget", "*", "STI", "=", "&", "static_cast", "<", "const", "MipsSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "if", "(", "!", "STI", "->", "hasMips32r6", "(", ")", "||", "STI", "->", "inMicroMipsMode", "(", ")", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "const", "MipsInstrInfo", "*", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "FI", "=", "MF", ".", "begin", "(", ")", ";", "FI", "!=", "MF", ".", "end", "(", ")", ";", "++", "FI", ")", "{", "for", "(", "Iter", "I", "=", "FI", "->", "begin", "(", ")", ";", "I", "!=", "FI", "->", "end", "(", ")", ";", "++", "I", ")", "{", "if", "(", "!", "TII", "->", "HasForbiddenSlot", "(", "*", "I", ")", ")", "continue", ";", "Iter", "Inst", ";", "bool", "LastInstInFunction", "=", "std", "::", "next", "(", "I", ")", "==", "FI", "->", "end", "(", ")", "&&", "std", "::", "next", "(", "FI", ")", "==", "MF", ".", "end", "(", ")", ";", "if", "(", "!", "LastInstInFunction", ")", "{", "std", "::", "pair", "<", "Iter", ",", "bool", ">", "Res", "=", "getNextMachineInstr", "(", "std", "::", "next", "(", "I", ")", ",", "&", "*", "FI", ")", ";", "LastInstInFunction", "|=", "Res", ".", "second", ";", "Inst", "=", "Res", ".", "first", ";", "}", "if", "(", "LastInstInFunction", "||", "!", "TII", "->", "SafeInForbiddenSlot", "(", "*", "Inst", ")", ")", "{", "Changed", "=", "true", ";", "MIBundleBuilder", "(", "&", "*", "I", ")", ".", "append", "(", "BuildMI", "(", "MF", ",", "I", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "Mips", "::", "NOP", ")", ")", ")", ";", "NumInsertedNops", "++", ";", "}", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::NOP"], "File": "MipsHazardSchedule1", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19372, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "unsigned", "int", "execute", "(", "function", "*", ")", "{", "return", "frame_header_opt", "(", ")", ";", "}", ""], "natrual_language": ["Main", "entry", "point", "for", "this", "pass", "."], "TS_V_token": ["mips"], "File": "frame-header-opt", "Func": "execute", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19373, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmPrinter", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "bool", "Result", "=", "AsmPrinter", "::", "doInitialization", "(", "M", ")", ";", "DW", "=", "getAnalysisIfAvailable", "<", "DwarfWriter", ">", "(", ")", ";", "if", "(", "Subtarget", "->", "isThumb", "(", ")", ")", "O", "<<", "\"\\t.syntax unified\\n\"", ";", "if", "(", "Subtarget", "->", "isTargetELF", "(", ")", ")", "{", "std", "::", "string", "CPUString", "=", "Subtarget", "->", "getCPUString", "(", ")", ";", "if", "(", "CPUString", "!=", "\"generic\"", ")", "O", "<<", "\"\\t.cpu \"", "<<", "CPUString", "<<", "'\\n'", ";", "if", "(", "Subtarget", "->", "hasVFP2", "(", ")", ")", "O", "<<", "\"\\t.eabi_attribute \"", "<<", "ARMBuildAttrs", "::", "VFP_arch", "<<", "\", 2\\n\"", ";", "if", "(", "!", "UnsafeFPMath", ")", "O", "<<", "\"\\t.eabi_attribute \"", "<<", "ARMBuildAttrs", "::", "ABI_FP_denormal", "<<", "\", 1\\n\"", "<<", "\"\\t.eabi_attribute \"", "<<", "ARMBuildAttrs", "::", "ABI_FP_exceptions", "<<", "\", 1\\n\"", ";", "if", "(", "FiniteOnlyFPMath", "(", ")", ")", "O", "<<", "\"\\t.eabi_attribute \"", "<<", "ARMBuildAttrs", "::", "ABI_FP_number_model", "<<", "\", 1\\n\"", ";", "else", "O", "<<", "\"\\t.eabi_attribute \"", "<<", "ARMBuildAttrs", "::", "ABI_FP_number_model", "<<", "\", 3\\n\"", ";", "O", "<<", "\"\\t.eabi_attribute \"", "<<", "ARMBuildAttrs", "::", "ABI_align8_needed", "<<", "\", 1\\n\"", "<<", "\"\\t.eabi_attribute \"", "<<", "ARMBuildAttrs", "::", "ABI_align8_preserved", "<<", "\", 1\\n\"", ";", "if", "(", "Subtarget", "->", "isAAPCS_ABI", "(", ")", "&&", "FloatABIType", "==", "FloatABI", "::", "Hard", ")", "O", "<<", "\"\\t.eabi_attribute \"", "<<", "ARMBuildAttrs", "::", "ABI_HardFP_use", "<<", "\", 3\\n\"", "<<", "\"\\t.eabi_attribute \"", "<<", "ARMBuildAttrs", "::", "ABI_VFP_args", "<<", "\", 1\\n\"", ";", "}", "return", "Result", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["ARM", "ARM", "\"\\t.syntax unified\\n\"", "\"generic\"", "\"\\t.cpu \"", "\"\\t.eabi_attribute \"", "ARMBuildAttrs::VFP_arch", "\", 2\\n\"", "\"\\t.eabi_attribute \"", "ARMBuildAttrs::ABI_FP_denormal", "\", 1\\n\"", "\"\\t.eabi_attribute \"", "ARMBuildAttrs::ABI_FP_exceptions", "\", 1\\n\"", "\"\\t.eabi_attribute \"", "ARMBuildAttrs::ABI_FP_number_model", "\", 1\\n\"", "\"\\t.eabi_attribute \"", "ARMBuildAttrs::ABI_FP_number_model", "\", 3\\n\"", "\"\\t.eabi_attribute \"", "ARMBuildAttrs::ABI_align8_needed", "\", 1\\n\"", "\"\\t.eabi_attribute \"", "ARMBuildAttrs::ABI_align8_preserved", "\", 1\\n\"", "\"\\t.eabi_attribute \"", "ARMBuildAttrs::ABI_HardFP_use", "\", 3\\n\"", "\"\\t.eabi_attribute \"", "ARMBuildAttrs::ABI_VFP_args", "\", 1\\n\""], "File": "ARMAsmPrinter20", "Func": "doInitialization", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19374, "Length": 198, "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", "(", ")", "->", "stripPointerCastsSafe", "(", ")", ")", ";", "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", ")", ")", ";", "F", ".", "addFnAttr", "(", "\"no-frame-pointer-elim\"", ",", "\"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\"", "\"no-frame-pointer-elim\"", "\"true\""], "File": "X86WinEHState2", "Func": "runOnFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19375, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", ")", "{", "unsigned", "long", "func_type", ";", "if", "(", "cfun", "->", "machine", "->", "sibcall_blocked", ")", "return", "false", ";", "if", "(", "TARGET_THUMB1", ")", "return", "false", ";", "if", "(", "TARGET_VXWORKS_RTP", "&&", "flag_pic", "&&", "!", "targetm", ".", "binds_local_p", "(", "decl", ")", ")", "return", "false", ";", "if", "(", "TARGET_INTERWORK", "&&", "decl", "&&", "TREE_PUBLIC", "(", "decl", ")", "&&", "!", "TREE_ASM_WRITTEN", "(", "decl", ")", ")", "return", "false", ";", "func_type", "=", "arm_current_func_type", "(", ")", ";", "if", "(", "IS_INTERRUPT", "(", "func_type", ")", ")", "return", "false", ";", "if", "(", "!", "VOID_TYPE_P", "(", "TREE_TYPE", "(", "DECL_RESULT", "(", "cfun", "->", "decl", ")", ")", ")", ")", "{", "rtx", "a", ",", "b", ";", "tree", "decl_or_type", "=", "decl", ";", "if", "(", "!", "decl", ")", "decl_or_type", "=", "TREE_TYPE", "(", "TREE_TYPE", "(", "CALL_EXPR_FN", "(", "exp", ")", ")", ")", ";", "a", "=", "arm_function_value", "(", "TREE_TYPE", "(", "exp", ")", ",", "decl_or_type", ",", "false", ")", ";", "b", "=", "arm_function_value", "(", "TREE_TYPE", "(", "DECL_RESULT", "(", "cfun", "->", "decl", ")", ")", ",", "cfun", "->", "decl", ",", "false", ")", ";", "if", "(", "!", "rtx_equal_p", "(", "a", ",", "b", ")", ")", "return", "false", ";", "}", "if", "(", "IS_STACKALIGN", "(", "func_type", ")", ")", "return", "false", ";", "if", "(", "TARGET_AAPCS_BASED", "&&", "arm_abi", "==", "ARM_ABI_AAPCS", "&&", "decl", "&&", "DECL_WEAK", "(", "decl", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "non-zero", "if", "it", "is", "ok", "to", "make", "a", "tail-call", "to", "DECL", "."], "TS_V_token": ["arm"], "File": "arm5", "Func": "arm_function_ok_for_sibcall", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19376, "Length": 212, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SHUXITargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "const", "SDLoc", "&", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "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": ["SHUXI", "SHUXI", "ISD::InputArg", "16", "0", "1", "2", "0"], "File": "SHUXIISelLowering", "Func": "LowerCallResult", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19377, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "AArch64TargetLowering", "::", "shouldExpandAtomicLoadInIR", "(", "LoadInst", "*", "LI", ")", "const", "{", "unsigned", "Size", "=", "LI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "return", "Size", "==", "128", "?", "AtomicExpansionKind", "::", "LLSC", ":", "AtomicExpansionKind", "::", "None", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "(", "atomic", ")", "load", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "."], "TS_V_token": ["AArch64", "AArch64", "128"], "File": "AArch64ISelLowering (2)", "Func": "shouldExpandAtomicLoadInIR", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19378, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mmix_initial_elimination_offset", "(", "int", "fromreg", ",", "int", "toreg", ")", "{", "int", "regno", ";", "int", "fp_sp_offset", "=", "(", "get_frame_size", "(", ")", "+", "current_function_outgoing_args_size", "+", "7", ")", "&", "~", "7", ";", "if", "(", "fromreg", "==", "MMIX_ARG_POINTER_REGNUM", "&&", "toreg", "==", "MMIX_FRAME_POINTER_REGNUM", ")", "return", "0", ";", "for", "(", "regno", "=", "MMIX_FIRST_GLOBAL_REGNUM", ";", "regno", "<=", "255", ";", "regno", "++", ")", "if", "(", "(", "regs_ever_live", "[", "regno", "]", "&&", "!", "call_used_regs", "[", "regno", "]", ")", "||", "IS_MMIX_EH_RETURN_DATA_REG", "(", "regno", ")", ")", "fp_sp_offset", "+=", "8", ";", "return", "fp_sp_offset", "+", "(", "MMIX_CFUN_HAS_LANDING_PAD", "?", "16", ":", "(", "MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS", "?", "8", ":", "0", ")", ")", "+", "(", "fromreg", "==", "MMIX_ARG_POINTER_REGNUM", "?", "0", ":", "8", ")", ";", "}", ""], "natrual_language": ["The", "difference", "between", "the", "(", "imaginary", ")", "frame", "pointer", "and", "the", "stack", "pointer", ".", "Used", "to", "eliminate", "the", "frame", "pointer", "."], "TS_V_token": ["mmix", "7", "7", "0", "255", "8", "16", "8", "0", "0", "8"], "File": "mmix3", "Func": "mmix_initial_elimination_offset", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19379, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "xstormy16_initialize_trampoline", "(", "rtx", "addr", ",", "rtx", "fnaddr", ",", "rtx", "static_chain", ")", "{", "rtx", "reg_addr", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "temp", "=", "gen_reg_rtx", "(", "HImode", ")", ";", "rtx", "reg_fnaddr", "=", "gen_reg_rtx", "(", "HImode", ")", ";", "rtx", "reg_addr_mem", ";", "reg_addr_mem", "=", "gen_rtx_MEM", "(", "HImode", ",", "reg_addr", ")", ";", "emit_move_insn", "(", "reg_addr", ",", "addr", ")", ";", "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", ")", ")", ";", "emit_move_insn", "(", "temp", ",", "static_chain", ")", ";", "emit_move_insn", "(", "reg_addr_mem", ",", "temp", ")", ";", "emit_insn", "(", "gen_addhi3", "(", "reg_addr", ",", "reg_addr", ",", "const2_rtx", ")", ")", ";", "emit_move_insn", "(", "reg_fnaddr", ",", "fnaddr", ")", ";", "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", ")", ")", ";", "emit_insn", "(", "gen_lshrhi3", "(", "reg_fnaddr", ",", "reg_fnaddr", ",", "GEN_INT", "(", "8", ")", ")", ")", ";", "emit_move_insn", "(", "reg_addr_mem", ",", "reg_fnaddr", ")", ";", "}", ""], "natrual_language": ["Initialize", "the", "variable", "parts", "of", "a", "trampoline", ".", "ADDR", "is", "an", "RTX", "for", "the", "address", "of", "the", "trampoline", ";", "FNADDR", "is", "an", "RTX", "for", "the", "address", "of", "the", "nested", "function", ";", "STATIC_CHAIN", "is", "an", "RTX", "for", "the", "static", "chain", "value", "that", "should", "be", "passed", "to", "the", "function", "when", "it", "is", "called", "."], "TS_V_token": ["stormy16", "0x3130", "0xFF", "0x0200", "8"], "File": "stormy163", "Func": "xstormy16_initialize_trampoline", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19380, "Length": 199, "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", "TargetRegisterInfo", "*", "TRI", "=", "MF", "->", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "if", "(", "!", "ExtraCode", "||", "!", "ExtraCode", "[", "0", "]", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected operand for inline assembly\"", ")", ";", "case", "MachineOperand", "::", "MO_Register", ":", "if", "(", "printModifiedFPRAsmOperand", "(", "MO", ",", "TRI", ",", "AArch64", "::", "VPR128RegClass", ",", "O", ")", ")", "O", "<<", "AArch64InstPrinter", "::", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "O", "<<", "'#'", "<<", "MO", ".", "getImm", "(", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_FPImmediate", ":", "assert", "(", "MO", ".", "getFPImm", "(", ")", "->", "isExactlyValue", "(", "0.0", ")", "&&", "\"Only FP 0.0 expected\"", ")", ";", "O", "<<", "\"#0.0\"", ";", "break", ";", "case", "MachineOperand", "::", "MO_BlockAddress", ":", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "return", "printSymbolicAddress", "(", "MO", ",", "false", ",", "\"\"", ",", "O", ")", ";", "}", "return", "false", ";", "}", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "default", ":", "return", "AsmPrinter", "::", "PrintAsmOperand", "(", "MI", ",", "OpNum", ",", "AsmVariant", ",", "ExtraCode", ",", "O", ")", ";", "case", "'c'", ":", "if", "(", "!", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "isImm", "(", ")", ")", "return", "true", ";", "O", "<<", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "getImm", "(", ")", ";", "return", "false", ";", "case", "'w'", ":", "return", "printModifiedGPRAsmOperand", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ",", "TRI", ",", "AArch64", "::", "GPR32RegClass", ",", "O", ")", ";", "case", "'x'", ":", "return", "printModifiedGPRAsmOperand", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ",", "TRI", ",", "AArch64", "::", "GPR64RegClass", ",", "O", ")", ";", "case", "'H'", ":", "case", "'Q'", ":", "case", "'R'", ":", "llvm_unreachable", "(", "\"FIXME: Unimplemented register pairs\"", ")", ";", "case", "'b'", ":", "return", "printModifiedFPRAsmOperand", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ",", "TRI", ",", "AArch64", "::", "FPR8RegClass", ",", "O", ")", ";", "case", "'h'", ":", "return", "printModifiedFPRAsmOperand", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ",", "TRI", ",", "AArch64", "::", "FPR16RegClass", ",", "O", ")", ";", "case", "'s'", ":", "return", "printModifiedFPRAsmOperand", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ",", "TRI", ",", "AArch64", "::", "FPR32RegClass", ",", "O", ")", ";", "case", "'d'", ":", "return", "printModifiedFPRAsmOperand", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ",", "TRI", ",", "AArch64", "::", "FPR64RegClass", ",", "O", ")", ";", "case", "'q'", ":", "return", "printModifiedFPRAsmOperand", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ",", "TRI", ",", "AArch64", "::", "FPR128RegClass", ",", "O", ")", ";", "case", "'A'", ":", "return", "printSymbolicAddress", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ",", "false", ",", "\"\"", ",", "O", ")", ";", "case", "'L'", ":", "return", "printSymbolicAddress", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ",", "true", ",", "\"lo12\"", ",", "O", ")", ";", "case", "'G'", ":", "return", "printSymbolicAddress", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ",", "true", ",", "\"hi12\"", ",", "O", ")", ";", "}", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["AArch64", "AArch64", "0", "\"Unexpected operand for inline assembly\"", "AArch64::VPR128RegClass", "AArch64", "0.0", "\"Only FP 0.0 expected\"", "\"#0.0\"", "\"\"", "0", "AArch64::GPR32RegClass", "AArch64::GPR64RegClass", "\"FIXME: Unimplemented register pairs\"", "AArch64::FPR8RegClass", "AArch64::FPR16RegClass", "AArch64::FPR32RegClass", "AArch64::FPR64RegClass", "AArch64::FPR128RegClass", "\"\"", "\"lo12\"", "\"hi12\""], "File": "AArch64AsmPrinter17", "Func": "PrintAsmOperand", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19381, "Length": 489, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 avoid trailing call pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 avoid trailing call pass\""], "File": "X86AvoidTrailingCall3", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19382, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsInstrInfo", "::", "insertNoop", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "DebugLoc", "DL", ";", "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": "MipsInstrInfo8", "Func": "insertNoop", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19383, "Length": 54, "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": 19384, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_cannot_change_mode_class", "(", "enum", "machine_mode", "from", ",", "enum", "machine_mode", "to", ",", "enum", "reg_class", "class", ")", "{", "if", "(", "to", "==", "SFmode", "&&", "VECTOR_MODE_P", "(", "from", ")", "&&", "GET_MODE_INNER", "(", "from", ")", "==", "SFmode", ")", "return", "(", "reg_classes_intersect_p", "(", "GENERAL_REGS", ",", "class", ")", ")", ";", "if", "(", "GET_MODE_SIZE", "(", "from", ")", "!=", "GET_MODE_SIZE", "(", "to", ")", ")", "{", "if", "(", "TARGET_LITTLE_ENDIAN", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "to", ")", "<", "8", "||", "GET_MODE_SIZE", "(", "from", ")", "<", "8", ")", "return", "reg_classes_intersect_p", "(", "DF_REGS", ",", "class", ")", ";", "}", "else", "{", "if", "(", "GET_MODE_SIZE", "(", "from", ")", "<", "8", ")", "return", "reg_classes_intersect_p", "(", "DF_HI_REGS", ",", "class", ")", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "the", "class", "of", "registers", "for", "which", "a", "mode", "change", "from", "FROM", "to", "TO", "is", "invalid", "."], "TS_V_token": ["sh", "8", "8", "8", "0"], "File": "sh3", "Func": "sh_cannot_change_mode_class", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19385, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ia64_epilogue_uses", "(", "int", "regno", ")", "{", "switch", "(", "regno", ")", "{", "case", "R_GR", "(", "1", ")", ":", "return", "!", "(", "TARGET_AUTO_PIC", "||", "TARGET_NO_PIC", ")", ";", "case", "IN_REG", "(", "0", ")", ":", "case", "IN_REG", "(", "1", ")", ":", "case", "IN_REG", "(", "2", ")", ":", "case", "IN_REG", "(", "3", ")", ":", "case", "IN_REG", "(", "4", ")", ":", "case", "IN_REG", "(", "5", ")", ":", "case", "IN_REG", "(", "6", ")", ":", "case", "IN_REG", "(", "7", ")", ":", "return", "lookup_attribute", "(", "\"syscall_linkage\"", ",", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "current_function_decl", ")", ")", ")", "!=", "NULL", ";", "case", "R_BR", "(", "0", ")", ":", "return", "1", ";", "case", "AR_PFS_REGNUM", ":", "return", "1", ";", "default", ":", "return", "0", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "REGNO", "is", "used", "by", "the", "epilogue", "."], "TS_V_token": ["ia64", "1", "0", "1", "2", "3", "4", "5", "6", "7", "\"syscall_linkage\"", "0", "1", "1", "0"], "File": "ia64", "Func": "ia64_epilogue_uses", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19386, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"PPC Lower MASS Entries\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["PowerPC", "\"PPC Lower MASS Entries\""], "File": "PPCLowerMASSVEntries", "Func": "getPassName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19387, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "optimizeCompareInstr", "(", "MachineInstr", "*", "Compare", ",", "unsigned", "SrcReg", ",", "unsigned", "SrcReg2", ",", "int", "Mask", ",", "int", "Value", ",", "const", "MachineRegisterInfo", "*", "MRI", ")", "const", "{", "assert", "(", "!", "SrcReg2", "&&", "\"Only optimizing constant comparisons so far\"", ")", ";", "bool", "IsLogical", "=", "(", "Compare", "->", "getDesc", "(", ")", ".", "TSFlags", "&", "SystemZII", "::", "IsLogical", ")", "!=", "0", ";", "return", "Value", "==", "0", "&&", "!", "IsLogical", "&&", "removeIPMBasedCompare", "(", "Compare", ",", "SrcReg", ",", "MRI", ",", "&", "RI", ")", ";", "}", ""], "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": ["SystemZ", "SystemZ", "\"Only optimizing constant comparisons so far\"", "SystemZII::IsLogical", "0", "0"], "File": "SystemZInstrInfo47", "Func": "optimizeCompareInstr", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19388, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_expand_msa_shuffle", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "rtx", "x", ",", "elts", "[", "MAX_VECT_LEN", "]", ";", "rtvec", "v", ";", "rtx_insn", "*", "insn", ";", "unsigned", "i", ";", "if", "(", "!", "ISA_HAS_MSA", ")", "return", "false", ";", "for", "(", "i", "=", "0", ";", "i", "<", "d", "->", "nelt", ";", "i", "++", ")", "elts", "[", "i", "]", "=", "GEN_INT", "(", "d", "->", "perm", "[", "i", "]", ")", ";", "v", "=", "gen_rtvec_v", "(", "d", "->", "nelt", ",", "elts", ")", ";", "x", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "v", ")", ";", "if", "(", "!", "mips_const_vector_shuffle_set_p", "(", "x", ",", "d", "->", "vmode", ")", ")", "return", "false", ";", "x", "=", "gen_rtx_VEC_SELECT", "(", "d", "->", "vmode", ",", "d", "->", "op0", ",", "x", ")", ";", "x", "=", "gen_rtx_SET", "(", "d", "->", "target", ",", "x", ")", ";", "insn", "=", "emit_insn", "(", "x", ")", ";", "if", "(", "recog_memoized", "(", "insn", ")", "<", "0", ")", "{", "remove_insn", "(", "insn", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Construct", "(", "set", "target", "(", "vec_select", "op0", "(", "parallel", "selector", ")", ")", ")", "and", "return", "true", "if", "that", "'s", "a", "valid", "instruction", "in", "the", "active", "ISA", "."], "TS_V_token": ["mips", "0", "0"], "File": "mips", "Func": "mips_expand_msa_shuffle", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19389, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsFrameLowering", "::", "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", "->", "hasStackRealignment", "(", "MF", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsFrameLowering22", "Func": "hasFP", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19390, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isLoadBitCastBeneficial", "(", "EVT", "LoadVT", ",", "EVT", "BitcastVT", ",", "const", "SelectionDAG", "&", "DAG", ",", "const", "MachineMemOperand", "&", "MMO", ")", "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", ";", "if", "(", "LoadVT", ".", "isVector", "(", ")", "&&", "BitcastVT", ".", "isVector", "(", ")", "&&", "isTypeLegal", "(", "LoadVT", ")", "&&", "isTypeLegal", "(", "BitcastVT", ")", ")", "return", "true", ";", "return", "TargetLowering", "::", "isLoadBitCastBeneficial", "(", "LoadVT", ",", "BitcastVT", ",", "DAG", ",", "MMO", ")", ";", "}", ""], "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)5", "Func": "isLoadBitCastBeneficial", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19391, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCTargetLowering", "::", "LowerAsmOperandForConstraint", "(", "SDValue", "Op", ",", "char", "Letter", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "Ops", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDValue", "Result", "(", "0", ",", "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", ";", "unsigned", "Value", "=", "CST", "->", "getZExtValue", "(", ")", ";", "switch", "(", "Letter", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown constraint letter!\"", ")", ";", "case", "'I'", ":", "if", "(", "(", "short", ")", "Value", "==", "(", "int", ")", "Value", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "case", "'J'", ":", "case", "'L'", ":", "if", "(", "(", "short", ")", "Value", "==", "0", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "case", "'K'", ":", "if", "(", "(", "Value", ">>", "16", ")", "==", "0", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "case", "'M'", ":", "if", "(", "Value", ">", "31", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "case", "'N'", ":", "if", "(", "(", "int", ")", "Value", ">", "0", "&&", "isPowerOf2_32", "(", "Value", ")", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "case", "'O'", ":", "if", "(", "Value", "==", "0", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "case", "'P'", ":", "if", "(", "(", "short", ")", "-", "Value", "==", "(", "int", ")", "-", "Value", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "}", "break", ";", "}", "}", "if", "(", "Result", ".", "getNode", "(", ")", ")", "{", "Ops", ".", "push_back", "(", "Result", ")", ";", "return", ";", "}", "TargetLowering", "::", "LowerAsmOperandForConstraint", "(", "Op", ",", "Letter", ",", "Ops", ",", "DAG", ")", ";", "}", ""], "natrual_language": ["Lower", "the", "specified", "operand", "into", "the", "Ops", "vector", "."], "TS_V_token": ["PowerPC", "PPC", "0", "0", "\"Unknown constraint letter!\"", "0", "16", "0", "31", "0", "0"], "File": "PPCISelLowering115", "Func": "LowerAsmOperandForConstraint", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19392, "Length": 360, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "ARMOperand", "CreateReg", "(", "unsigned", "RegNum", ",", "bool", "Writeback", ")", "{", "ARMOperand", "Res", ";", "Res", ".", "Kind", "=", "Register", ";", "Res", ".", "Reg", ".", "RegNum", "=", "RegNum", ";", "Res", ".", "Reg", ".", "Writeback", "=", "Writeback", ";", "return", "Res", ";", "}", ""], "natrual_language": ["CreateReg", "-", "Allocate", "a", "single", "virtual", "register", "for", "the", "given", "type", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMAsmParser79", "Func": "CreateReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19393, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rbt_dump", "(", "struct", "rbt_strings", "*", "t", ",", "struct", "rbt_string_node", "*", "subtree", ")", "{", "if", "(", "subtree", "!=", "t", "->", "rbt_nil", ")", "{", "rbt_dump", "(", "t", ",", "subtree", "->", "left", ")", ";", "fprintf", "(", "stderr", ",", "\"%s\\n\"", ",", "subtree", "->", "str", ")", ";", "rbt_dump", "(", "t", ",", "subtree", "->", "right", ")", ";", "}", "}", ""], "natrual_language": ["Inorder", "dump", "of", "the", "binary", "search", "tree", "."], "TS_V_token": ["rs6000", "\"%s\\n\""], "File": "rbtree", "Func": "rbt_dump", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19394, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "hppa_address_cost", "(", "rtx", "X", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "addr_space_t", "as", "ATTRIBUTE_UNUSED", ",", "bool", "speed", "ATTRIBUTE_UNUSED", ")", "{", "switch", "(", "GET_CODE", "(", "X", ")", ")", "{", "case", "REG", ":", "case", "PLUS", ":", "case", "LO_SUM", ":", "return", "1", ";", "case", "HIGH", ":", "return", "2", ";", "default", ":", "return", "4", ";", "}", "}", ""], "natrual_language": ["For", "the", "HPPA", ",", "REG", "and", "REG+CONST", "is", "cost", "0", "and", "addresses", "involving", "symbolic", "constants", "are", "cost", "2", ".", "PIC", "addresses", "are", "very", "expensive", ".", "It", "is", "no", "coincidence", "that", "this", "has", "the", "same", "structure", "as", "GO_IF_LEGITIMATE_ADDRESS", "."], "TS_V_token": ["pa", "1", "2", "4"], "File": "pa", "Func": "hppa_address_cost", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19395, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "thumb_unexpanded_epilogue", "(", "void", ")", "{", "int", "regno", ";", "unsigned", "long", "live_regs_mask", "=", "0", ";", "int", "high_regs_pushed", "=", "0", ";", "int", "had_to_push_lr", ";", "int", "size", ";", "if", "(", "return_used_this_function", ")", "return", "\"\"", ";", "if", "(", "IS_NAKED", "(", "arm_current_func_type", "(", ")", ")", ")", "return", "\"\"", ";", "live_regs_mask", "=", "thumb_compute_save_reg_mask", "(", ")", ";", "high_regs_pushed", "=", "bit_count", "(", "live_regs_mask", "&", "0x0f00", ")", ";", "size", "=", "arm_size_return_regs", "(", ")", ";", "if", "(", "high_regs_pushed", ")", "{", "unsigned", "long", "mask", "=", "live_regs_mask", "&", "0xff", ";", "int", "next_hi_reg", ";", "if", "(", "size", "<=", "12", ")", "mask", "|=", "1", "<<", "3", ";", "if", "(", "size", "<=", "8", ")", "mask", "|=", "1", "<<", "2", ";", "if", "(", "mask", "==", "0", ")", "internal_error", "(", "\"no low registers available for popping high registers\"", ")", ";", "for", "(", "next_hi_reg", "=", "8", ";", "next_hi_reg", "<", "13", ";", "next_hi_reg", "++", ")", "if", "(", "live_regs_mask", "&", "(", "1", "<<", "next_hi_reg", ")", ")", "break", ";", "while", "(", "high_regs_pushed", ")", "{", "for", "(", "regno", "=", "0", ";", "regno", "<=", "LAST_LO_REGNUM", ";", "regno", "++", ")", "{", "if", "(", "mask", "&", "(", "1", "<<", "regno", ")", ")", "high_regs_pushed", "--", ";", "if", "(", "high_regs_pushed", "==", "0", ")", "break", ";", "}", "mask", "&=", "(", "2", "<<", "regno", ")", "-", "1", ";", "thumb_pushpop", "(", "asm_out_file", ",", "mask", ",", "0", ",", "NULL", ",", "mask", ")", ";", "for", "(", "regno", "=", "0", ";", "regno", "<=", "LAST_LO_REGNUM", ";", "regno", "++", ")", "{", "if", "(", "mask", "&", "(", "1", "<<", "regno", ")", ")", "{", "asm_fprintf", "(", "asm_out_file", ",", "\"\\tmov\\t%r, %r\\n\"", ",", "next_hi_reg", ",", "regno", ")", ";", "for", "(", "next_hi_reg", "++", ";", "next_hi_reg", "<", "13", ";", "next_hi_reg", "++", ")", "if", "(", "live_regs_mask", "&", "(", "1", "<<", "next_hi_reg", ")", ")", "break", ";", "}", "}", "}", "live_regs_mask", "&=", "~", "0x0f00", ";", "}", "had_to_push_lr", "=", "(", "live_regs_mask", "&", "(", "1", "<<", "LR_REGNUM", ")", ")", "!=", "0", ";", "live_regs_mask", "&=", "0xff", ";", "if", "(", "current_function_pretend_args_size", "==", "0", "||", "TARGET_BACKTRACE", ")", "{", "if", "(", "had_to_push_lr", ")", "live_regs_mask", "|=", "1", "<<", "PC_REGNUM", ";", "if", "(", "live_regs_mask", ")", "thumb_pushpop", "(", "asm_out_file", ",", "live_regs_mask", ",", "FALSE", ",", "NULL", ",", "live_regs_mask", ")", ";", "if", "(", "!", "had_to_push_lr", ")", "thumb_exit", "(", "asm_out_file", ",", "LR_REGNUM", ")", ";", "}", "else", "{", "if", "(", "live_regs_mask", ")", "thumb_pushpop", "(", "asm_out_file", ",", "live_regs_mask", ",", "FALSE", ",", "NULL", ",", "live_regs_mask", ")", ";", "if", "(", "had_to_push_lr", ")", "{", "if", "(", "size", ">", "12", ")", "{", "asm_fprintf", "(", "asm_out_file", ",", "\"\\tmov\\t%r, %r\\n\"", ",", "IP_REGNUM", ",", "LAST_ARG_REGNUM", ")", ";", "}", "thumb_pushpop", "(", "asm_out_file", ",", "1", "<<", "LAST_ARG_REGNUM", ",", "0", ",", "NULL", ",", "1", "<<", "LAST_ARG_REGNUM", ")", ";", "if", "(", "size", ">", "12", ")", "{", "asm_fprintf", "(", "asm_out_file", ",", "\"\\tmov\\t%r, %r\\n\"", ",", "LR_REGNUM", ",", "LAST_ARG_REGNUM", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\tmov\\t%r, %r\\n\"", ",", "LAST_ARG_REGNUM", ",", "IP_REGNUM", ")", ";", "regno", "=", "LR_REGNUM", ";", "}", "else", "regno", "=", "LAST_ARG_REGNUM", ";", "}", "else", "regno", "=", "LR_REGNUM", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\tadd\\t%r, %r, #%d\\n\"", ",", "SP_REGNUM", ",", "SP_REGNUM", ",", "current_function_pretend_args_size", ")", ";", "thumb_exit", "(", "asm_out_file", ",", "regno", ")", ";", "}", "return", "\"\"", ";", "}", ""], "natrual_language": ["The", "bits", "which", "are", "n't", "usefully", "expanded", "as", "rtl", "."], "TS_V_token": ["arm", "0", "0", "\"\"", "\"\"", "0x0f00", "0xff", "12", "1", "3", "8", "1", "2", "0", "\"no low registers available for popping high registers\"", "8", "13", "1", "0", "1", "0", "2", "1", "0", "0", "1", "\"\\tmov\\t%r, %r\\n\"", "13", "1", "0x0f00", "1", "0", "0xff", "0", "1", "12", "\"\\tmov\\t%r, %r\\n\"", "1", "0", "1", "12", "\"\\tmov\\t%r, %r\\n\"", "\"\\tmov\\t%r, %r\\n\"", "\"\\tadd\\t%r, %r, #%d\\n\"", "\"\""], "File": "arm3", "Func": "thumb_unexpanded_epilogue", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19396, "Length": 474, "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": 19397, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "override", "{", "assert", "(", "0", "&&", "\"fixupNeedsRelaxation() unimplemented\"", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["Sparc", "0", "\"fixupNeedsRelaxation() unimplemented\""], "File": "SparcAsmBackend22", "Func": "fixupNeedsRelaxation", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19398, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsFastISel", "::", "fastMaterializeConstant", "(", "const", "Constant", "*", "C", ")", "{", "if", "(", "!", "TargetSupported", ")", "return", "0", ";", "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", "(", "UnsupportedFPMode", ")", "?", "0", ":", "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", "0", "0"], "File": "MipsFastISel", "Func": "fastMaterializeConstant", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19399, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "StringRef", "getPassName", "(", ")", "const", "{", "return", "StringRef", "(", "\"CJG Assembly Printer\"", ")", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["CJG", "\"CJG Assembly Printer\""], "File": "CJGAsmPrinter", "Func": "getPassName", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19400, "Length": 14, "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": 19401, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StackOffset", "X86FrameLowering", "::", "getFrameIndexReferencePreferSP", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "Register", "&", "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", ")", ";", "if", "(", "!", "IgnoreSPUpdates", "&&", "!", "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": "X86FrameLowering12", "Func": "getFrameIndexReferencePreferSP", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19402, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "scalar_chain", "::", "emit_conversion_insns", "(", "rtx", "insns", ",", "rtx_insn", "*", "after", ")", "{", "if", "(", "!", "control_flow_insn_p", "(", "after", ")", ")", "{", "emit_insn_after", "(", "insns", ",", "after", ")", ";", "return", ";", "}", "basic_block", "bb", "=", "BLOCK_FOR_INSN", "(", "after", ")", ";", "edge", "e", "=", "find_fallthru_edge", "(", "bb", "->", "succs", ")", ";", "gcc_assert", "(", "e", ")", ";", "basic_block", "new_bb", "=", "split_edge", "(", "e", ")", ";", "emit_insn_after", "(", "insns", ",", "BB_HEAD", "(", "new_bb", ")", ")", ";", "}", ""], "natrual_language": ["Insert", "generated", "conversion", "instruction", "sequence", "INSNS", "after", "instruction", "AFTER", ".", "New", "BB", "may", "be", "required", "in", "case", "instruction", "has", "EH", "region", "attached", "."], "TS_V_token": ["i386"], "File": "i386-features", "Func": "emit_conversion_insns", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19403, "Length": 74, "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": 19404, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "MipsOperand", "*", "CreateReg", "(", "unsigned", "RegNum", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{", "MipsOperand", "*", "Op", "=", "new", "MipsOperand", "(", "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": ["Mips", "Mips", "Mips", "Mips"], "File": "MipsAsmParser102", "Func": "CreateReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19405, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_function_specific_restore", "(", "struct", "gcc_options", "*", "opts", ",", "struct", "cl_target_option", "*", "ptr", ")", "{", "enum", "processor_type", "old_tune", "=", "ix86_tune", ";", "enum", "processor_type", "old_arch", "=", "ix86_arch", ";", "unsigned", "int", "ix86_arch_mask", ";", "int", "i", ";", "opts", "->", "x_flag_pic", "=", "flag_pic", ";", "ix86_arch", "=", "(", "enum", "processor_type", ")", "ptr", "->", "arch", ";", "ix86_schedule", "=", "(", "enum", "attr_cpu", ")", "ptr", "->", "schedule", ";", "ix86_tune", "=", "(", "enum", "processor_type", ")", "ptr", "->", "tune", ";", "x86_prefetch_sse", "=", "ptr", "->", "prefetch_sse", ";", "opts", "->", "x_ix86_branch_cost", "=", "ptr", "->", "branch_cost", ";", "ix86_tune_defaulted", "=", "ptr", "->", "tune_defaulted", ";", "ix86_arch_specified", "=", "ptr", "->", "arch_specified", ";", "opts", "->", "x_ix86_isa_flags_explicit", "=", "ptr", "->", "x_ix86_isa_flags_explicit", ";", "opts", "->", "x_ix86_target_flags_explicit", "=", "ptr", "->", "x_ix86_target_flags_explicit", ";", "opts", "->", "x_recip_mask_explicit", "=", "ptr", "->", "x_recip_mask_explicit", ";", "opts", "->", "x_ix86_arch_string", "=", "ptr", "->", "x_ix86_arch_string", ";", "opts", "->", "x_ix86_tune_string", "=", "ptr", "->", "x_ix86_tune_string", ";", "opts", "->", "x_ix86_cmodel", "=", "ptr", "->", "x_ix86_cmodel", ";", "opts", "->", "x_ix86_abi", "=", "ptr", "->", "x_ix86_abi", ";", "opts", "->", "x_ix86_asm_dialect", "=", "ptr", "->", "x_ix86_asm_dialect", ";", "opts", "->", "x_ix86_branch_cost", "=", "ptr", "->", "x_ix86_branch_cost", ";", "opts", "->", "x_ix86_dump_tunes", "=", "ptr", "->", "x_ix86_dump_tunes", ";", "opts", "->", "x_ix86_force_align_arg_pointer", "=", "ptr", "->", "x_ix86_force_align_arg_pointer", ";", "opts", "->", "x_ix86_force_drap", "=", "ptr", "->", "x_ix86_force_drap", ";", "opts", "->", "x_ix86_incoming_stack_boundary_arg", "=", "ptr", "->", "x_ix86_incoming_stack_boundary_arg", ";", "opts", "->", "x_ix86_pmode", "=", "ptr", "->", "x_ix86_pmode", ";", "opts", "->", "x_ix86_preferred_stack_boundary_arg", "=", "ptr", "->", "x_ix86_preferred_stack_boundary_arg", ";", "opts", "->", "x_ix86_recip_name", "=", "ptr", "->", "x_ix86_recip_name", ";", "opts", "->", "x_ix86_regparm", "=", "ptr", "->", "x_ix86_regparm", ";", "opts", "->", "x_ix86_section_threshold", "=", "ptr", "->", "x_ix86_section_threshold", ";", "opts", "->", "x_ix86_sse2avx", "=", "ptr", "->", "x_ix86_sse2avx", ";", "opts", "->", "x_ix86_stack_protector_guard", "=", "ptr", "->", "x_ix86_stack_protector_guard", ";", "opts", "->", "x_ix86_stringop_alg", "=", "ptr", "->", "x_ix86_stringop_alg", ";", "opts", "->", "x_ix86_tls_dialect", "=", "ptr", "->", "x_ix86_tls_dialect", ";", "opts", "->", "x_ix86_tune_ctrl_string", "=", "ptr", "->", "x_ix86_tune_ctrl_string", ";", "opts", "->", "x_ix86_tune_memcpy_strategy", "=", "ptr", "->", "x_ix86_tune_memcpy_strategy", ";", "opts", "->", "x_ix86_tune_memset_strategy", "=", "ptr", "->", "x_ix86_tune_memset_strategy", ";", "opts", "->", "x_ix86_tune_no_default", "=", "ptr", "->", "x_ix86_tune_no_default", ";", "opts", "->", "x_ix86_veclibabi_type", "=", "ptr", "->", "x_ix86_veclibabi_type", ";", "ix86_tune_cost", "=", "processor_target_table", "[", "ix86_tune", "]", ".", "cost", ";", "if", "(", "opts", "->", "x_optimize_size", ")", "ix86_cost", "=", "&", "ix86_size_cost", ";", "else", "ix86_cost", "=", "ix86_tune_cost", ";", "if", "(", "old_arch", "!=", "ix86_arch", ")", "{", "ix86_arch_mask", "=", "1u", "<<", "ix86_arch", ";", "for", "(", "i", "=", "0", ";", "i", "<", "X86_ARCH_LAST", ";", "++", "i", ")", "ix86_arch_features", "[", "i", "]", "=", "!", "!", "(", "initial_ix86_arch_features", "[", "i", "]", "&", "ix86_arch_mask", ")", ";", "}", "if", "(", "old_tune", "!=", "ix86_tune", ")", "set_ix86_tune_features", "(", "ix86_tune", ",", "false", ")", ";", "}", ""], "natrual_language": ["Restore", "the", "current", "options"], "TS_V_token": ["i386", "1u", "0"], "File": "i3864", "Func": "ix86_function_specific_restore", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19406, "Length": 394, "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": 19407, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isFPImm", "(", ")", "const", "{", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "if", "(", "!", "CE", ")", "return", "false", ";", "int", "Val", "=", "ARM_AM", "::", "getFP32Imm", "(", "APInt", "(", "32", ",", "CE", "->", "getValue", "(", ")", ")", ")", ";", "return", "Val", "!=", "-", "1", ";", "}", ""], "natrual_language": ["isFPImm", "-", "Tests", "if", "this", "is", "a", "MO_FPImmediate", "operand", "."], "TS_V_token": ["ARM", "ARM_AM::getFP32Imm", "32", "1"], "File": "ARMAsmParser (2)", "Func": "isFPImm", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19408, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "SystemZSelectionDAGInfo", "::", "EmitTargetCodeForMemchr", "(", "SelectionDAG", "&", "DAG", ",", "SDLoc", "DL", ",", "SDValue", "Chain", ",", "SDValue", "Src", ",", "SDValue", "Char", ",", "SDValue", "Length", ",", "MachinePointerInfo", "SrcPtrInfo", ")", "const", "{", "EVT", "PtrVT", "=", "Src", ".", "getValueType", "(", ")", ";", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "PtrVT", ",", "MVT", "::", "Other", ",", "MVT", "::", "Glue", ")", ";", "Length", "=", "DAG", ".", "getZExtOrTrunc", "(", "Length", ",", "DL", ",", "PtrVT", ")", ";", "Char", "=", "DAG", ".", "getZExtOrTrunc", "(", "Char", ",", "DL", ",", "MVT", "::", "i32", ")", ";", "Char", "=", "DAG", ".", "getNode", "(", "ISD", "::", "AND", ",", "DL", ",", "MVT", "::", "i32", ",", "Char", ",", "DAG", ".", "getConstant", "(", "255", ",", "MVT", "::", "i32", ")", ")", ";", "SDValue", "Limit", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ADD", ",", "DL", ",", "PtrVT", ",", "Src", ",", "Length", ")", ";", "SDValue", "End", "=", "DAG", ".", "getNode", "(", "SystemZISD", "::", "SEARCH_STRING", ",", "DL", ",", "VTs", ",", "Chain", ",", "Limit", ",", "Src", ",", "Char", ")", ";", "Chain", "=", "End", ".", "getValue", "(", "1", ")", ";", "SDValue", "Glue", "=", "End", ".", "getValue", "(", "2", ")", ";", "SmallVector", "<", "SDValue", ",", "5", ">", "Ops", ";", "Ops", ".", "push_back", "(", "End", ")", ";", "Ops", ".", "push_back", "(", "DAG", ".", "getConstant", "(", "0", ",", "PtrVT", ")", ")", ";", "Ops", ".", "push_back", "(", "DAG", ".", "getConstant", "(", "SystemZ", "::", "CCMASK_SRST", ",", "MVT", "::", "i32", ")", ")", ";", "Ops", ".", "push_back", "(", "DAG", ".", "getConstant", "(", "SystemZ", "::", "CCMASK_SRST_FOUND", ",", "MVT", "::", "i32", ")", ")", ";", "Ops", ".", "push_back", "(", "Glue", ")", ";", "VTs", "=", "DAG", ".", "getVTList", "(", "PtrVT", ",", "MVT", "::", "Glue", ")", ";", "End", "=", "DAG", ".", "getNode", "(", "SystemZISD", "::", "SELECT_CCMASK", ",", "DL", ",", "VTs", ",", "Ops", ")", ";", "return", "std", "::", "make_pair", "(", "End", ",", "Chain", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memchr", ",", "in", "cases", "where", "that", "is", "faster", "than", "a", "libcall", "."], "TS_V_token": ["SystemZ", "SystemZ", "MVT::Other", "MVT::Glue", "MVT::i32", "ISD::AND", "MVT::i32", "255", "MVT::i32", "ISD::ADD", "SystemZISD::SEARCH_STRING", "1", "2", "5", "0", "SystemZ::CCMASK_SRST", "MVT::i32", "SystemZ::CCMASK_SRST_FOUND", "MVT::i32", "MVT::Glue", "SystemZISD::SELECT_CCMASK"], "File": "SystemZSelectionDAGInfo22", "Func": "EmitTargetCodeForMemchr", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19409, "Length": 297, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SVEIntrinsicOpts", "::", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "AU", ".", "setPreservesCFG", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AArch64"], "File": "SVEIntrinsicOpts", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19410, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "OR1KDAGToDAGISel", "::", "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": ["OR1K", "OR1K"], "File": "OR1KISelDAGToDAG", "Func": "SelectInlineAsmMemoryOperand", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19411, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mem_operand_gpr", "(", "rtx", "op", ",", "machine_mode", "mode", ")", "{", "unsigned", "HOST_WIDE_INT", "offset", ";", "int", "extra", ";", "rtx", "addr", "=", "XEXP", "(", "op", ",", "0", ")", ";", "op", "=", "address_offset", "(", "addr", ")", ";", "if", "(", "op", "==", "NULL_RTX", ")", "return", "true", ";", "offset", "=", "INTVAL", "(", "op", ")", ";", "if", "(", "TARGET_POWERPC64", "&&", "(", "offset", "&", "3", ")", "!=", "0", ")", "return", "false", ";", "extra", "=", "GET_MODE_SIZE", "(", "mode", ")", "-", "UNITS_PER_WORD", ";", "if", "(", "extra", "<", "0", ")", "extra", "=", "0", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "LO_SUM", ")", "offset", "=", "(", "(", "offset", "&", "0xffff", ")", "^", "0x8000", ")", "-", "0x8000", ";", "return", "offset", "+", "0x8000", "<", "0x10000u", "-", "extra", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "MEM", "operand", "is", "a", "memory", "operand", "suitable", "for", "use", "with", "a", "(", "full", "width", ",", "possibly", "multiple", ")", "gpr", "load/store", ".", "On", "powerpc64", "this", "means", "the", "offset", "must", "be", "divisible", "by", "4", ".", "Implements", "'", "Y", "'", "constraint", ".", "Accept", "direct", ",", "indexed", ",", "offset", ",", "lo_sum", "and", "tocref", ".", "Since", "this", "is", "a", "constraint", "function", "we", "know", "the", "operand", "has", "satisfied", "a", "suitable", "memory", "predicate", ".", "Offsetting", "a", "lo_sum", "should", "not", "be", "allowed", ",", "except", "where", "we", "know", "by", "alignment", "that", "a", "32k", "boundary", "is", "not", "crossed", ".", "Note", "that", "by", "``", "offsetting", "''", "here", "we", "mean", "a", "further", "offset", "to", "access", "parts", "of", "the", "MEM", ".", "It", "'s", "fine", "to", "have", "a", "lo_sum", "where", "the", "inner", "address", "is", "offset", "from", "a", "sym", ",", "since", "the", "same", "sym+offset", "will", "appear", "in", "the", "high", "part", "of", "the", "address", "calculation", "."], "TS_V_token": ["rs6000", "0", "3", "0", "0", "0", "0xffff", "0x8000", "0x8000", "0x8000", "0x10000u"], "File": "rs60004", "Func": "mem_operand_gpr", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19412, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "TargetSubtargetInfo", "*", "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": ["SHUXI"], "File": "SHUXITargetMachine", "Func": "getSubtargetImpl", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19413, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalMaskedLoad", "(", "Type", "*", "DataTy", ")", "{", "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": "X86TargetTransformInfo102", "Func": "isLegalMaskedLoad", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19414, "Length": 130, "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", "||", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_PARTIAL_INT", ")", "return", "false", ";", "if", "(", "STACK_REGNO_P", "(", "regno", ")", ")", "return", "VALID_FP_MODE_P", "(", "mode", ")", ";", "if", "(", "MASK_REGNO_P", "(", "regno", ")", ")", "return", "(", "VALID_MASK_REG_MODE", "(", "mode", ")", "||", "(", "TARGET_AVX512BW", "&&", "VALID_MASK_AVX512BW_MODE", "(", "mode", ")", ")", ")", ";", "if", "(", "SSE_REGNO_P", "(", "regno", ")", ")", "{", "if", "(", "TARGET_AVX512F", "&&", "(", "mode", "==", "XImode", "||", "VALID_AVX512F_REG_MODE", "(", "mode", ")", "||", "VALID_AVX512F_SCALAR_MODE", "(", "mode", ")", ")", ")", "return", "true", ";", "if", "(", "(", "TARGET_AVX5124FMAPS", "||", "TARGET_AVX5124VNNIW", ")", "&&", "(", "mode", "==", "V64SFmode", "||", "mode", "==", "V64SImode", ")", "&&", "MOD4_SSE_REGNO_P", "(", "regno", ")", ")", "return", "true", ";", "if", "(", "TARGET_AVX512VL", "&&", "(", "mode", "==", "OImode", "||", "mode", "==", "TImode", "||", "VALID_AVX256_REG_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", ")", ")", "return", "true", ";", "else", "if", "(", "VALID_FP_MODE_P", "(", "mode", ")", ")", "return", "true", ";", "else", "if", "(", "VALID_DFP_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": "i3868", "Func": "ix86_hard_regno_mode_ok", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19415, "Length": 331, "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": ["SIC"], "File": "SICTargetMachine", "Func": "getObjFileLowering", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19416, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_lo_sum_offset_lookup", "(", "mips_offset_table", "*", "htab", ",", "rtx", "x", ",", "enum", "insert_option", "option", ")", "{", "rtx", "base", ",", "offset", ";", "mips_lo_sum_offset", "*", "*", "slot", ";", "struct", "mips_lo_sum_offset", "*", "entry", ";", "split_const", "(", "x", ",", "&", "base", ",", "&", "offset", ")", ";", "if", "(", "UNSPEC_ADDRESS_P", "(", "base", ")", ")", "base", "=", "UNSPEC_ADDRESS", "(", "base", ")", ";", "slot", "=", "htab", "->", "find_slot_with_hash", "(", "base", ",", "mips_hash_base", "(", "base", ")", ",", "option", ")", ";", "if", "(", "slot", "==", "NULL", ")", "return", "false", ";", "entry", "=", "(", "struct", "mips_lo_sum_offset", "*", ")", "*", "slot", ";", "if", "(", "option", "==", "INSERT", ")", "{", "if", "(", "entry", "==", "NULL", ")", "{", "entry", "=", "XNEW", "(", "struct", "mips_lo_sum_offset", ")", ";", "entry", "->", "base", "=", "base", ";", "entry", "->", "offset", "=", "INTVAL", "(", "offset", ")", ";", "*", "slot", "=", "entry", ";", "}", "else", "{", "if", "(", "INTVAL", "(", "offset", ")", ">", "entry", "->", "offset", ")", "entry", "->", "offset", "=", "INTVAL", "(", "offset", ")", ";", "}", "}", "return", "INTVAL", "(", "offset", ")", "<=", "entry", "->", "offset", ";", "}", ""], "natrual_language": ["Look", "up", "symbolic", "constant", "X", "in", "HTAB", ",", "which", "is", "a", "hash", "table", "of", "mips_lo_sum_offsets", ".", "If", "OPTION", "is", "NO_INSERT", ",", "return", "true", "if", "X", "can", "be", "paired", "with", "a", "recorded", "LO_SUM", ",", "otherwise", "record", "X", "in", "the", "table", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_lo_sum_offset_lookup", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19417, "Length": 169, "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": 19418, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isToken", "(", ")", "const", "override", "{", "return", "Kind", "==", "Token", ";", "}", ""], "natrual_language": ["isToken", "-", "Is", "this", "a", "token", "operand", "?"], "TS_V_token": ["PowerPC"], "File": "PPCAsmParser (2)1", "Func": "isToken", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19419, "Length": 13, "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": 19420, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "bool", "is64Bit", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ";", "bool", "isWin64", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "isTargetWin64", "(", ")", ";", "unsigned", "SlotSize", "=", "is64Bit", "?", "8", ":", "4", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "unsigned", "FPReg", "=", "RI", ".", "getFrameRegister", "(", "MF", ")", ";", "X86MachineFunctionInfo", "*", "X86FI", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "unsigned", "CalleeFrameSize", "=", "0", ";", "unsigned", "Opc", "=", "is64Bit", "?", "X86", "::", "PUSH64r", ":", "X86", "::", "PUSH32r", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "if", "(", "Reg", "==", "FPReg", ")", "continue", ";", "if", "(", "!", "X86", "::", "VR128RegClass", ".", "contains", "(", "Reg", ")", "&&", "!", "isWin64", ")", "{", "CalleeFrameSize", "+=", "SlotSize", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opc", ")", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ";", "}", "else", "{", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "storeRegToStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "true", ",", "CSI", "[", "i", "-", "1", "]", ".", "getFrameIdx", "(", ")", ",", "RC", ",", "&", "RI", ")", ";", "}", "}", "X86FI", "->", "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": ["X86", "X86", "X86", "X86", "8", "4", "X86", "X86", "X86", "0", "X86::PUSH64r", "X86::PUSH32r", "0", "1", "X86::VR128RegClass", "1", "X86"], "File": "X86InstrInfo41", "Func": "spillCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19421, "Length": 291, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnFunction", "(", "Function", "&", "F", ")", "override", "{", "this", "->", "F", "=", "&", "F", ";", "LI", "=", "&", "getAnalysis", "<", "LoopInfoWrapperPass", ">", "(", ")", ".", "getLoopInfo", "(", ")", ";", "bool", "Changed", "=", "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", ")", "Changed", "|=", "runOnLoop", "(", "*", "L", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["AArch64"], "File": "SVEAddressingModes", "Func": "runOnFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19422, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_return_address_signing_enabled", "(", "void", ")", "{", "gcc_assert", "(", "cfun", "->", "machine", "->", "frame", ".", "laid_out", ")", ";", "return", "(", "aarch64_ra_sign_scope", "==", "AARCH64_FUNCTION_ALL", "||", "(", "aarch64_ra_sign_scope", "==", "AARCH64_FUNCTION_NON_LEAF", "&&", "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": "aarch644", "Func": "aarch64_return_address_signing_enabled", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19423, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "i386_pe_dllimport_p", "(", "tree", "decl", ")", "{", "if", "(", "TREE_CODE", "(", "decl", ")", "!=", "VAR_DECL", "&&", "TREE_CODE", "(", "decl", ")", "!=", "FUNCTION_DECL", ")", "return", "false", ";", "if", "(", "lookup_attribute", "(", "\"dllimport\"", ",", "DECL_ATTRIBUTES", "(", "decl", ")", ")", ")", "return", "true", ";", "if", "(", "associated_type", "(", "decl", ")", "&&", "lookup_attribute", "(", "\"dllimport\"", ",", "TYPE_ATTRIBUTES", "(", "associated_type", "(", "decl", ")", ")", ")", ")", "return", "i386_pe_type_dllimport_p", "(", "decl", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "non-zero", "if", "DECL", "is", "a", "dllimport", "'d", "object", "."], "TS_V_token": ["i386", "\"dllimport\"", "\"dllimport\""], "File": "winnt3", "Func": "i386_pe_dllimport_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19424, "Length": 72, "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": 19425, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "FISCInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "FISC", "::", "MOVrr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["FISC", "FISC", "FISC::MOVrr"], "File": "FISCInstrInfo", "Func": "copyPhysReg", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19426, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "Cpu0MachineFunctionInfo", "*", "Cpu0FI", "=", "MF", ".", "getInfo", "<", "Cpu0MachineFunctionInfo", ">", "(", ")", ";", "unsigned", "i", "=", "0", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "LLVM_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", ")", ";", "LLVM_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", ";", "if", "(", "Cpu0FI", "->", "isOutArgFI", "(", "FrameIndex", ")", "||", "Cpu0FI", "->", "isDynAllocFI", "(", "FrameIndex", ")", "||", "(", "FrameIndex", ">=", "MinCSFI", "&&", "FrameIndex", "<=", "MaxCSFI", ")", ")", "FrameReg", "=", "Cpu0", "::", "SP", ";", "else", "FrameReg", "=", "getFrameRegister", "(", "MF", ")", ";", "int64_t", "Offset", ";", "if", "(", "Cpu0FI", "->", "isOutArgFI", "(", "FrameIndex", ")", "||", "Cpu0FI", "->", "isGPFI", "(", "FrameIndex", ")", "||", "Cpu0FI", "->", "isDynAllocFI", "(", "FrameIndex", ")", ")", "Offset", "=", "spOffset", ";", "else", "Offset", "=", "spOffset", "+", "(", "int64_t", ")", "stackSize", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "getImm", "(", ")", ";", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\"Offset : \"", "<<", "Offset", "<<", "\"\\n\"", "<<", "\"<--------->\\n\"", ")", ";", "if", "(", "!", "MI", ".", "isDebugValue", "(", ")", "&&", "!", "isInt", "<", "16", ">", "(", "Offset", ")", ")", "{", "assert", "(", "\"(!MI.isDebugValue() && !isInt<16>(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": ["Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "0", "\"Instr doesn't have FrameIndex operand!\"", "\"\\nFunction : \"", "\"\\n\"", "\"<--------->\\n\"", "\"FrameIndex : \"", "\"\\n\"", "\"spOffset : \"", "\"\\n\"", "\"stackSize : \"", "\"\\n\"", "0", "1", "0", "1", "Cpu0", "Cpu0", "Cpu0::SP", "Cpu0", "Cpu0", "Cpu0", "1", "\"Offset : \"", "\"\\n\"", "\"<--------->\\n\"", "16", "\"(!MI.isDebugValue() && !isInt<16>(Offset))\"", "1"], "File": "Cpu0RegisterInfo", "Func": "eliminateFrameIndex", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19427, "Length": 431, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsTargetLowering", "::", "getNumRegistersForCallingConv", "(", "LLVMContext", "&", "Context", ",", "CallingConv", "::", "ID", "CC", ",", "EVT", "VT", ")", "const", "{", "if", "(", "VT", ".", "isVector", "(", ")", ")", "return", "divideCeil", "(", "VT", ".", "getSizeInBits", "(", ")", ",", "Subtarget", ".", "isABI_O32", "(", ")", "?", "32", ":", "64", ")", ";", "return", "MipsTargetLowering", "::", "getNumRegisters", "(", "Context", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Certain", "targets", "require", "unusual", "breakdowns", "of", "certain", "types", "."], "TS_V_token": ["Mips", "Mips", "32", "64", "Mips"], "File": "MipsISelLowering111", "Func": "getNumRegistersForCallingConv", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19428, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "const", "{", "static", "const", "char", "Nops32Bit", "[", "10", "]", "[", "11", "]", "=", "{", "\"\\x90\"", ",", "\"\\x66\\x90\"", ",", "\"\\x0f\\x1f\\x00\"", ",", "\"\\x0f\\x1f\\x40\\x00\"", ",", "\"\\x0f\\x1f\\x44\\x00\\x00\"", ",", "\"\\x66\\x0f\\x1f\\x44\\x00\\x00\"", ",", "\"\\x0f\\x1f\\x80\\x00\\x00\\x00\\x00\"", ",", "\"\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", ",", "\"\\x66\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", ",", "\"\\x66\\x2e\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", ",", "}", ";", "static", "const", "char", "Nops16Bit", "[", "4", "]", "[", "11", "]", "=", "{", "\"\\x90\"", ",", "\"\\x66\\x90\"", ",", "\"\\x8d\\x74\\x00\"", ",", "\"\\x8d\\xb4\\x00\\x00\"", ",", "}", ";", "const", "char", "(", "*", "Nops", ")", "[", "11", "]", "=", "STI", "->", "getFeatureBits", "(", ")", "[", "X86", "::", "Is16Bit", "]", "?", "Nops16Bit", ":", "Nops32Bit", ";", "uint64_t", "MaxNopLength", "=", "(", "uint64_t", ")", "getMaximumNopSize", "(", "*", "STI", ")", ";", "do", "{", "const", "uint8_t", "ThisNopLength", "=", "(", "uint8_t", ")", "std", "::", "min", "(", "Count", ",", "MaxNopLength", ")", ";", "const", "uint8_t", "Prefixes", "=", "ThisNopLength", "<=", "10", "?", "0", ":", "ThisNopLength", "-", "10", ";", "for", "(", "uint8_t", "i", "=", "0", ";", "i", "<", "Prefixes", ";", "i", "++", ")", "OS", "<<", "'\\x66'", ";", "const", "uint8_t", "Rest", "=", "ThisNopLength", "-", "Prefixes", ";", "if", "(", "Rest", "!=", "0", ")", "OS", ".", "write", "(", "Nops", "[", "Rest", "-", "1", "]", ",", "Rest", ")", ";", "Count", "-=", "ThisNopLength", ";", "}", "while", "(", "Count", "!=", "0", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["X86", "X86", "10", "11", "\"\\x90\"", "\"\\x66\\x90\"", "\"\\x0f\\x1f\\x00\"", "\"\\x0f\\x1f\\x40\\x00\"", "\"\\x0f\\x1f\\x44\\x00\\x00\"", "\"\\x66\\x0f\\x1f\\x44\\x00\\x00\"", "\"\\x0f\\x1f\\x80\\x00\\x00\\x00\\x00\"", "\"\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", "\"\\x66\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", "\"\\x66\\x2e\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", "4", "11", "\"\\x90\"", "\"\\x66\\x90\"", "\"\\x8d\\x74\\x00\"", "\"\\x8d\\xb4\\x00\\x00\"", "11", "X86::Is16Bit", "10", "0", "10", "0", "0", "1", "0"], "File": "X86AsmBackend (2)1", "Func": "writeNopData", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19429, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_discover_homogeneous_aggregate", "(", "machine_mode", "mode", ",", "const_tree", "type", ",", "machine_mode", "*", "elt_mode", ",", "int", "*", "n_elts", ")", "{", "if", "(", "DEFAULT_ABI", "==", "ABI_ELFv2", "&&", "type", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "machine_mode", "field_mode", "=", "VOIDmode", ";", "int", "field_count", "=", "rs6000_aggregate_candidate", "(", "type", ",", "&", "field_mode", ")", ";", "if", "(", "field_count", ">", "0", ")", "{", "int", "n_regs", "=", "(", "SCALAR_FLOAT_MODE_P", "(", "field_mode", ")", "?", "(", "GET_MODE_SIZE", "(", "field_mode", ")", "+", "7", ")", ">>", "3", ":", "1", ")", ";", "if", "(", "field_count", "*", "n_regs", "<=", "AGGR_ARG_NUM_REG", ")", "{", "if", "(", "elt_mode", ")", "*", "elt_mode", "=", "field_mode", ";", "if", "(", "n_elts", ")", "*", "n_elts", "=", "field_count", ";", "return", "true", ";", "}", "}", "}", "if", "(", "elt_mode", ")", "*", "elt_mode", "=", "mode", ";", "if", "(", "n_elts", ")", "*", "n_elts", "=", "1", ";", "return", "false", ";", "}", ""], "natrual_language": ["If", "an", "argument", ",", "whose", "type", "is", "described", "by", "TYPE", "and", "MODE", ",", "is", "a", "homogeneous", "float", "or", "vector", "aggregate", "that", "shall", "be", "passed", "in", "FP/vector", "registers", "according", "to", "the", "ELFv2", "ABI", ",", "return", "the", "homogeneous", "element", "mode", "in", "*", "ELT_MODE", "and", "the", "number", "of", "elements", "in", "*", "N_ELTS", ",", "and", "return", "TRUE", ".", "Otherwise", ",", "set", "*", "ELT_MODE", "to", "MODE", "and", "*", "N_ELTS", "to", "1", ",", "and", "return", "FALSE", "."], "TS_V_token": ["rs6000", "0", "7", "3", "1", "1"], "File": "rs60004", "Func": "rs6000_discover_homogeneous_aggregate", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19430, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "DLXInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "Position", ",", "unsigned", "SourceRegister", ",", "bool", "IsKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RegisterClass", ",", "const", "TargetRegisterInfo", "*", "RegisterInfo", ")", "const", "{", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXInstrInfo", "Func": "storeRegToStackSlot", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19431, "Length": 36, "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", "(", ")", ";", "const", "X86RegisterInfo", "*", "RegInfo", "=", "static_cast", "<", "const", "X86RegisterInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "unsigned", "SlotSize", "=", "RegInfo", "->", "getSlotSize", "(", ")", ";", "X86MachineFunctionInfo", "*", "X86FI", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "unsigned", "CalleeSavedFrameSize", "=", "0", ";", "int", "SpillSlotOffset", "=", "getOffsetOfLocalArea", "(", ")", "+", "X86FI", "->", "getTCReturnAddrDelta", "(", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "SpillSlotOffset", "-=", "SlotSize", ";", "MFI", "->", "CreateFixedSpillStackObject", "(", "SlotSize", ",", "SpillSlotOffset", ")", ";", "unsigned", "FPReg", "=", "RegInfo", "->", "getFrameRegister", "(", "MF", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "CSI", ".", "size", "(", ")", ";", "++", "i", ")", "{", "if", "(", "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", ";", "const", "TargetRegisterClass", "*", "RC", "=", "RegInfo", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "SpillSlotOffset", "-=", "abs", "(", "SpillSlotOffset", ")", "%", "RC", "->", "getAlignment", "(", ")", ";", "SpillSlotOffset", "-=", "RC", "->", "getSize", "(", ")", ";", "int", "SlotIndex", "=", "MFI", "->", "CreateFixedSpillStackObject", "(", "RC", "->", "getSize", "(", ")", ",", "SpillSlotOffset", ")", ";", "CSI", "[", "i", "-", "1", "]", ".", "setFrameIdx", "(", "SlotIndex", ")", ";", "MFI", "->", "ensureMaxAlignment", "(", "RC", "->", "getAlignment", "(", ")", ")", ";", "}", "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", "X86", "X86", "0", "X86", "0", "0", "1", "X86::GR64RegClass", "X86::GR32RegClass", "1", "X86", "0", "1", "X86::GR64RegClass", "X86::GR32RegClass", "1"], "File": "X86FrameLowering115", "Func": "assignCalleeSavedSpillSlots", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19432, "Length": 409, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "timode_scalar_to_vector_candidate_p", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "def_set", "=", "pseudo_reg_set", "(", "insn", ")", ";", "if", "(", "!", "def_set", ")", "return", "false", ";", "rtx", "src", "=", "SET_SRC", "(", "def_set", ")", ";", "rtx", "dst", "=", "SET_DEST", "(", "def_set", ")", ";", "if", "(", "GET_MODE", "(", "dst", ")", "!=", "TImode", ")", "return", "false", ";", "if", "(", "MEM_P", "(", "dst", ")", ")", "{", "if", "(", "misaligned_operand", "(", "dst", ",", "TImode", ")", "&&", "!", "TARGET_SSE_UNALIGNED_STORE_OPTIMAL", ")", "return", "false", ";", "switch", "(", "GET_CODE", "(", "src", ")", ")", "{", "default", ":", "return", "false", ";", "case", "REG", ":", "case", "CONST_WIDE_INT", ":", "return", "true", ";", "case", "CONST_INT", ":", "return", "standard_sse_constant_p", "(", "src", ",", "TImode", ")", ";", "}", "}", "else", "if", "(", "MEM_P", "(", "src", ")", ")", "{", "return", "(", "REG_P", "(", "dst", ")", "&&", "(", "!", "misaligned_operand", "(", "src", ",", "TImode", ")", "||", "TARGET_SSE_UNALIGNED_LOAD_OPTIMAL", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["The", "TImode", "version", "of", "scalar_to_vector_candidate_p", "."], "TS_V_token": ["i386"], "File": "i386-features", "Func": "timode_scalar_to_vector_candidate_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19433, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64TargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Don't know how to custom expand this\"", ")", ";", "case", "ISD", "::", "FP_TO_UINT", ":", "case", "ISD", "::", "FP_TO_SINT", ":", "assert", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i128", "&&", "\"unexpected illegal conversion\"", ")", ";", "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": ["AArch64", "AArch64", "\"Don't know how to custom expand this\"", "ISD::FP_TO_UINT", "ISD::FP_TO_SINT", "0", "MVT::i128", "\"unexpected illegal conversion\""], "File": "AArch64ISelLowering23", "Func": "ReplaceNodeResults", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19434, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "postKnownBits", "(", "unsigned", "LogAlign", "=", "0", ")", "const", "{", "return", "std", "::", "max", "(", "std", "::", "max", "(", "unsigned", "(", "PostAlign", ")", ",", "LogAlign", ")", ",", "internalKnownBits", "(", ")", ")", ";", "}", ""], "natrual_language": ["Compute", "the", "number", "of", "known", "low", "bits", "of", "postOffset", "."], "TS_V_token": ["ARM", "0"], "File": "ARMBasicBlockInfo", "Func": "postKnownBits", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19435, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "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": ["PowerPC"], "File": "PPCSubtarget (2)", "Func": "getStackAlignment", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19436, "Length": 10, "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": 19437, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64_ELFTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "SupportDebugThreadLocalLocation", "=", "false", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64TargetObjectFile10", "Func": "Initialize", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19438, "Length": 29, "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": 19439, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "unw_access_gr", "(", "struct", "_Unwind_Context", "*", "info", ",", "int", "regnum", ",", "unsigned", "long", "*", "val", ",", "char", "*", "nat", ",", "int", "write", ")", "{", "unsigned", "long", "*", "addr", ",", "*", "nat_addr", "=", "0", ",", "nat_mask", "=", "0", ",", "dummy_nat", ";", "struct", "unw_ireg", "*", "ireg", ";", "if", "(", "(", "unsigned", ")", "regnum", "-", "1", ">=", "127", ")", "abort", "(", ")", ";", "if", "(", "regnum", "<", "1", ")", "{", "nat_addr", "=", "addr", "=", "&", "dummy_nat", ";", "dummy_nat", "=", "0", ";", "}", "else", "if", "(", "regnum", "<", "32", ")", "{", "ireg", "=", "&", "info", "->", "ireg", "[", "regnum", "-", "2", "]", ";", "addr", "=", "ireg", "->", "loc", ";", "if", "(", "addr", ")", "{", "nat_addr", "=", "addr", "+", "ireg", "->", "nat", ".", "off", ";", "switch", "(", "ireg", "->", "nat", ".", "type", ")", "{", "case", "UNW_NAT_VAL", ":", "if", "(", "write", ")", "{", "if", "(", "*", "nat", ")", "{", "addr", "[", "0", "]", "=", "0", ";", "addr", "[", "1", "]", "=", "0x1fffe", ";", "return", ";", "}", "addr", "[", "1", "]", "=", "0x1003e", ";", "}", "else", "if", "(", "addr", "[", "0", "]", "==", "0", "&&", "addr", "[", "1", "]", "==", "0x1ffe", ")", "{", "*", "val", "=", "0", ";", "*", "nat", "=", "1", ";", "return", ";", "}", "case", "UNW_NAT_NONE", ":", "dummy_nat", "=", "0", ";", "nat_addr", "=", "&", "dummy_nat", ";", "break", ";", "case", "UNW_NAT_MEMSTK", ":", "nat_mask", "=", "1UL", "<<", "(", "(", "long", ")", "addr", "&", "0x1f8", ")", "/", "8", ";", "break", ";", "case", "UNW_NAT_REGSTK", ":", "nat_addr", "=", "ia64_rse_rnat_addr", "(", "addr", ")", ";", "if", "(", "(", "unsigned", "long", ")", "nat_addr", ">=", "info", "->", "regstk_top", ")", "nat_addr", "=", "&", "info", "->", "rnat", ";", "nat_mask", "=", "1UL", "<<", "ia64_rse_slot_num", "(", "addr", ")", ";", "break", ";", "}", "}", "}", "else", "{", "addr", "=", "ia64_rse_skip_regs", "(", "(", "unsigned", "long", "*", ")", "info", "->", "bsp", ",", "regnum", "-", "32", ")", ";", "nat_addr", "=", "ia64_rse_rnat_addr", "(", "addr", ")", ";", "if", "(", "(", "unsigned", "long", ")", "nat_addr", ">=", "info", "->", "regstk_top", ")", "nat_addr", "=", "&", "info", "->", "rnat", ";", "nat_mask", "=", "1UL", "<<", "ia64_rse_slot_num", "(", "addr", ")", ";", "}", "if", "(", "write", ")", "{", "*", "addr", "=", "*", "val", ";", "if", "(", "*", "nat", ")", "*", "nat_addr", "|=", "nat_mask", ";", "else", "*", "nat_addr", "&=", "~", "nat_mask", ";", "}", "else", "{", "*", "val", "=", "*", "addr", ";", "*", "nat", "=", "(", "*", "nat_addr", "&", "nat_mask", ")", "!=", "0", ";", "}", "}", ""], "natrual_language": ["Unwind", "accessors", "."], "TS_V_token": ["ia64", "0", "0", "1", "127", "1", "0", "32", "2", "0", "0", "1", "0x1fffe", "1", "0x1003e", "0", "0", "1", "0x1ffe", "0", "1", "0", "1UL", "0x1f8", "8", "1UL", "32", "1UL", "0"], "File": "unwind-ia64", "Func": "unw_access_gr", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19440, "Length": 384, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_split_logical_inner", "(", "rtx", "dest", ",", "rtx", "op1", ",", "rtx", "op2", ",", "enum", "rtx_code", "code", ",", "machine_mode", "mode", ",", "bool", "complement_final_p", ",", "bool", "complement_op1_p", ",", "bool", "complement_op2_p", ")", "{", "rtx", "bool_rtx", ";", "if", "(", "op2", "&&", "GET_CODE", "(", "op2", ")", "==", "CONST_INT", "&&", "(", "mode", "==", "SImode", "||", "(", "mode", "==", "DImode", "&&", "TARGET_POWERPC64", ")", ")", "&&", "!", "complement_final_p", "&&", "!", "complement_op1_p", "&&", "!", "complement_op2_p", ")", "{", "HOST_WIDE_INT", "mask", "=", "GET_MODE_MASK", "(", "mode", ")", ";", "HOST_WIDE_INT", "value", "=", "INTVAL", "(", "op2", ")", "&", "mask", ";", "if", "(", "code", "==", "AND", ")", "{", "if", "(", "value", "==", "0", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "const0_rtx", ")", ")", ";", "return", ";", "}", "else", "if", "(", "value", "==", "mask", ")", "{", "if", "(", "!", "rtx_equal_p", "(", "dest", ",", "op1", ")", ")", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "op1", ")", ")", ";", "return", ";", "}", "}", "else", "if", "(", "code", "==", "IOR", "||", "code", "==", "XOR", ")", "{", "if", "(", "value", "==", "0", ")", "{", "if", "(", "!", "rtx_equal_p", "(", "dest", ",", "op1", ")", ")", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "op1", ")", ")", ";", "return", ";", "}", "}", "}", "if", "(", "code", "==", "AND", "&&", "mode", "==", "SImode", "&&", "!", "complement_final_p", "&&", "!", "complement_op1_p", "&&", "!", "complement_op2_p", ")", "{", "emit_insn", "(", "gen_andsi3", "(", "dest", ",", "op1", ",", "op2", ")", ")", ";", "return", ";", "}", "if", "(", "complement_op1_p", ")", "op1", "=", "gen_rtx_NOT", "(", "mode", ",", "op1", ")", ";", "if", "(", "complement_op2_p", ")", "op2", "=", "gen_rtx_NOT", "(", "mode", ",", "op2", ")", ";", "if", "(", "!", "complement_op1_p", "&&", "complement_op2_p", ")", "std", "::", "swap", "(", "op1", ",", "op2", ")", ";", "bool_rtx", "=", "(", "(", "code", "==", "NOT", ")", "?", "gen_rtx_NOT", "(", "mode", ",", "op1", ")", ":", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "op1", ",", "op2", ")", ")", ";", "if", "(", "complement_final_p", ")", "bool_rtx", "=", "gen_rtx_NOT", "(", "mode", ",", "bool_rtx", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "bool_rtx", ")", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "rs6000_split_logical", "to", "emit", "a", "logical", "instruction", "after", "spliting", "the", "operation", "to", "single", "GPR", "registers", ".", "DEST", "is", "the", "destination", "register", ".", "OP1", "and", "OP2", "are", "the", "input", "source", "registers", ".", "CODE", "is", "the", "base", "operation", "(", "AND", ",", "IOR", ",", "XOR", ",", "NOT", ")", ".", "MODE", "is", "the", "machine", "mode", ".", "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", "0", "0"], "File": "rs60004", "Func": "rs6000_split_logical_inner", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19441, "Length": 326, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_unspec_insn_p", "(", "rtx", "x", ")", "{", "subrtx_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX", "(", "i", ",", "array", ",", "x", ",", "ALL", ")", "if", "(", "*", "i", "!=", "NULL", "&&", "(", "GET_CODE", "(", "*", "i", ")", "==", "UNSPEC", "||", "GET_CODE", "(", "*", "i", ")", "==", "UNSPEC_VOLATILE", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "insn", "contains", "any", "UNSPECs", "or", "UNSPEC_VOLATILEs", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "sh_unspec_insn_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19442, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_sim_wait_reg", "(", "struct", "mips_sim", "*", "state", ",", "rtx_insn", "*", "insn", ",", "rtx", "reg", ")", "{", "unsigned", "int", "regno", ",", "end_regno", ";", "end_regno", "=", "END_REGNO", "(", "reg", ")", ";", "for", "(", "regno", "=", "REGNO", "(", "reg", ")", ";", "regno", "<", "end_regno", ";", "regno", "++", ")", "if", "(", "state", "->", "last_set", "[", "regno", "]", ".", "insn", "!=", "0", ")", "{", "unsigned", "int", "t", ";", "t", "=", "(", "state", "->", "last_set", "[", "regno", "]", ".", "time", "+", "insn_latency", "(", "state", "->", "last_set", "[", "regno", "]", ".", "insn", ",", "insn", ")", ")", ";", "while", "(", "state", "->", "time", "<", "t", ")", "mips_sim_next_cycle", "(", "state", ")", ";", "}", "}", ""], "natrual_language": ["Advance", "simulation", "state", "STATE", "until", "instruction", "INSN", "can", "read", "register", "REG", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips_sim_wait_reg", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19443, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "abi_v4_pass_in_fpr", "(", "machine_mode", "mode", ",", "bool", "named", ")", "{", "if", "(", "!", "TARGET_HARD_FLOAT", ")", "return", "false", ";", "if", "(", "mode", "==", "DFmode", ")", "return", "true", ";", "if", "(", "mode", "==", "SFmode", "&&", "named", ")", "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": "rs6000-call", "Func": "abi_v4_pass_in_fpr", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19444, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86MCInstrAnalysis", "::", "evaluateBranch", "(", "const", "MCInst", "&", "Inst", ",", "uint64_t", "Addr", ",", "uint64_t", "Size", ",", "uint64_t", "&", "Target", ")", "const", "{", "if", "(", "Inst", ".", "getNumOperands", "(", ")", "==", "0", "||", "Info", "->", "get", "(", "Inst", ".", "getOpcode", "(", ")", ")", ".", "OpInfo", "[", "0", "]", ".", "OperandType", "!=", "MCOI", "::", "OPERAND_PCREL", ")", "return", "false", ";", "Target", "=", "Addr", "+", "Size", "+", "Inst", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Given", "a", "branch", "instruction", "try", "to", "get", "the", "address", "the", "branch", "targets", "."], "TS_V_token": ["X86", "X86", "0", "0", "0"], "File": "X86MCTargetDesc13", "Func": "evaluateBranch", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19445, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "dimode_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", ")", ")", ")", "{", "start_sequence", "(", ")", ";", "if", "(", "!", "TARGET_INTER_UNIT_MOVES_TO_VEC", ")", "{", "rtx", "tmp", "=", "assign_386_stack_local", "(", "DImode", ",", "SLOT_STV_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", ")", ";", "}", "else", "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", ")", ")", ")", ";", "}", "rtx_insn", "*", "seq", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "rtx_insn", "*", "insn", "=", "DF_REF_INSN", "(", "ref", ")", ";", "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", ")", ",", "INSN_UID", "(", "insn", ")", ")", ";", "}", "for", "(", "ref", "=", "DF_REG_USE_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", ")", ";", "replace_with_subreg_in_insn", "(", "insn", ",", "reg", ",", "vreg", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\" Replaced r%d with r%d in insn %d\\n\"", ",", "regno", ",", "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", "4", "2", "0", "0", "0", "4", "0", "0", "0", "\" Copied r%d to a vector register r%d for insn %d\\n\"", "\" Replaced r%d with r%d in insn %d\\n\""], "File": "i3868", "Func": "make_vector_copies", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19446, "Length": 432, "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": 19447, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "getARMSubtarget", "(", ")", ".", "isThumb2", "(", ")", ")", "{", "if", "(", "!", "getARMSubtarget", "(", ")", ".", "prefers32BitThumb", "(", ")", ")", "addPass", "(", "createThumb2SizeReductionPass", "(", ")", ")", ";", "addPass", "(", "&", "UnpackMachineBundlesID", ")", ";", "}", "addPass", "(", "createARMOptimizeBarriersPass", "(", ")", ")", ";", "addPass", "(", "createARMConstantIslandPass", "(", ")", ")", ";", "}", ""], "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", "ARM", "ARM", "ARM"], "File": "ARMTargetMachine25", "Func": "addPreEmitPass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19448, "Length": 58, "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": 19449, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mmix_legitimate_constant_p", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ")", "{", "RTX_CODE", "code", "=", "GET_CODE", "(", "x", ")", ";", "if", "(", "code", "==", "CONST_INT", "||", "code", "==", "CONST_DOUBLE", ")", "return", "1", ";", "return", "CONSTANT_ADDRESS_P", "(", "x", ")", ";", "}", ""], "natrual_language": ["LEGITIMATE_CONSTANT_P", "."], "TS_V_token": ["mmix", "1"], "File": "mmix", "Func": "mmix_legitimate_constant_p", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19450, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsMCInstLower", "::", "Initialize", "(", "Mangler", "*", "M", ",", "MCContext", "*", "C", ")", "{", "Mang", "=", "M", ";", "Ctx", "=", "C", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsMCInstLower13", "Func": "Initialize", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19451, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsSEFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "MipsFunctionInfo", "*", "MipsFI", "=", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "MipsABIInfo", "ABI", "=", "STI", ".", "getABI", "(", ")", ";", "unsigned", "FP", "=", "ABI", ".", "GetFramePtr", "(", ")", ";", "unsigned", "BP", "=", "ABI", ".", "IsN64", "(", ")", "?", "Mips", "::", "S7_64", ":", "Mips", "::", "S7", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "setAliasRegs", "(", "MF", ",", "SavedRegs", ",", "FP", ")", ";", "if", "(", "hasBP", "(", "MF", ")", ")", "setAliasRegs", "(", "MF", ",", "SavedRegs", ",", "BP", ")", ";", "if", "(", "MipsFI", "->", "callsEhReturn", "(", ")", ")", "MipsFI", "->", "createEhDataRegsFI", "(", ")", ";", "if", "(", "ExpandPseudo", "(", "MF", ")", ".", "expand", "(", ")", ")", "{", "const", "TargetRegisterClass", "*", "RC", "=", "STI", ".", "hasMips64", "(", ")", "?", "&", "Mips", "::", "GPR64RegClass", ":", "&", "Mips", "::", "GPR32RegClass", ";", "int", "FI", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "CreateStackObject", "(", "RC", "->", "getSize", "(", ")", ",", "RC", "->", "getAlignment", "(", ")", ",", "false", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "FI", ")", ";", "}", "uint64_t", "MaxSPOffset", "=", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", "->", "getIncomingArgSize", "(", ")", "+", "estimateStackSize", "(", "MF", ")", ";", "if", "(", "isInt", "<", "16", ">", "(", "MaxSPOffset", ")", ")", "return", ";", "const", "TargetRegisterClass", "*", "RC", "=", "ABI", ".", "ArePtrs64bit", "(", ")", "?", "&", "Mips", "::", "GPR64RegClass", ":", "&", "Mips", "::", "GPR32RegClass", ";", "int", "FI", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "CreateStackObject", "(", "RC", "->", "getSize", "(", ")", ",", "RC", "->", "getAlignment", "(", ")", ",", "false", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "FI", ")", ";", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::S7_64", "Mips::S7", "Mips", "Mips", "Mips", "Mips::GPR64RegClass", "Mips::GPR32RegClass", "Mips", "16", "Mips::GPR64RegClass", "Mips::GPR32RegClass"], "File": "MipsSEFrameLowering", "Func": "determineCalleeSaves", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19452, "Length": 279, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCInstrInfo", "::", "genAlternativeCodeSequence", "(", "MachineInstr", "&", "Root", ",", "MachineCombinerPattern", "Pattern", ",", "SmallVectorImpl", "<", "MachineInstr", "*", ">", "&", "InsInstrs", ",", "SmallVectorImpl", "<", "MachineInstr", "*", ">", "&", "DelInstrs", ",", "DenseMap", "<", "unsigned", ",", "unsigned", ">", "&", "InstrIdxForVirtReg", ")", "const", "{", "switch", "(", "Pattern", ")", "{", "case", "MachineCombinerPattern", "::", "REASSOC_XY_AMM_BMM", ":", "case", "MachineCombinerPattern", "::", "REASSOC_XMM_AMM_BMM", ":", "case", "MachineCombinerPattern", "::", "REASSOC_XY_BCA", ":", "case", "MachineCombinerPattern", "::", "REASSOC_XY_BAC", ":", "reassociateFMA", "(", "Root", ",", "Pattern", ",", "InsInstrs", ",", "DelInstrs", ",", "InstrIdxForVirtReg", ")", ";", "break", ";", "default", ":", "TargetInstrInfo", "::", "genAlternativeCodeSequence", "(", "Root", ",", "Pattern", ",", "InsInstrs", ",", "DelInstrs", ",", "InstrIdxForVirtReg", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["When", "getMachineCombinerPatterns", "(", ")", "finds", "potential", "patterns", ",", "this", "function", "generates", "the", "instructions", "that", "could", "replace", "the", "original", "code", "sequence", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCInstrInfo", "Func": "genAlternativeCodeSequence", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19453, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_xcoff_file_end", "(", "void", ")", "{", "text_section", "(", ")", ";", "fputs", "(", "\"_section_.text:\\n\"", ",", "asm_out_file", ")", ";", "data_section", "(", ")", ";", "fputs", "(", "TARGET_32BIT", "?", "\"\\t.long _section_.text\\n\"", ":", "\"\\t.llong _section_.text\\n\"", ",", "asm_out_file", ")", ";", "}", ""], "natrual_language": ["Output", "at", "end", "of", "assembler", "file", ".", "On", "the", "RS/6000", ",", "referencing", "data", "should", "automatically", "pull", "in", "text", "."], "TS_V_token": ["rs6000", "\"_section_.text:\\n\"", "\"\\t.long _section_.text\\n\"", "\"\\t.llong _section_.text\\n\""], "File": "rs60003", "Func": "rs6000_xcoff_file_end", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19454, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPostRegAlloc", "(", ")", "{", "if", "(", "CustomRegAlloc", ")", "addPass", "(", "createX86RegisterAllocator", "(", ")", ")", ";", "addPass", "(", "createX86FloatingPointStackifierPass", "(", ")", ")", ";", "}", ""], "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"], "File": "X86TargetMachine34", "Func": "addPostRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19455, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "ARMBaseRegisterInfo", "::", "getThisReturnPreservedMask", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "if", "(", "CC", "==", "CallingConv", "::", "GHC", ")", "return", "nullptr", ";", "return", "(", "STI", ".", "isTargetIOS", "(", ")", "&&", "!", "STI", ".", "isAAPCS_ABI", "(", ")", ")", "?", "CSR_iOS_ThisReturn_RegMask", ":", "CSR_AAPCS_ThisReturn_RegMask", ";", "}", ""], "natrual_language": ["getThisReturnPreservedMask", "-", "Returns", "a", "call", "preserved", "mask", "specific", "to", "the", "case", "that", "'returned", "'", "is", "on", "an", "i32", "first", "argument", "if", "the", "calling", "convention", "is", "one", "that", "can", "(", "partially", ")", "model", "this", "attribute", "with", "a", "preserved", "mask", "(", "i.e", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMBaseRegisterInfo15", "Func": "getThisReturnPreservedMask", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19456, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "x86_extended_reg_mentioned_p", "(", "rtx", "insn", ")", "{", "return", "for_each_rtx", "(", "&", "PATTERN", "(", "insn", ")", ",", "extended_reg_mentioned_1", ",", "NULL", ")", ";", "}", ""], "natrual_language": ["Return", "true", "when", "INSN", "mentions", "register", "that", "must", "be", "encoded", "using", "REX", "prefix", "."], "TS_V_token": ["i386"], "File": "i3863", "Func": "x86_extended_reg_mentioned_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19457, "Length": 22, "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", "::", "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", "::", "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", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64ISelLowering134", "Func": "CCAssignFnForCall", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19458, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_float_exceptions_rounding_supported_p", "(", "void", ")", "{", "return", "TARGET_80387", "||", "TARGET_SSE_MATH", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FLOAT_EXCEPTIONS_ROUNDING_SUPPORTED_P", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_float_exceptions_rounding_supported_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19459, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "RegInfo", "->", "needsStackRealignment", "(", "MF", ")", "||", "MFI", ".", "hasVarSizedObjects", "(", ")", "||", "MFI", ".", "isFrameAddressTaken", "(", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcFrameLowering (2)1", "Func": "hasFP", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19460, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "CSKYRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "RegInfo", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["CSKY", "CSKY"], "File": "CSKYSubtarget", "Func": "getRegisterInfo", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19461, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "detect_caches_intel", "(", "bool", "xeon_mp", ",", "unsigned", "max_level", ",", "unsigned", "max_ext_level", ",", "unsigned", "*", "l2sizekb", ")", "{", "struct", "cache_desc", "level1", "=", "{", "0", ",", "0", ",", "0", "}", ",", "level2", "=", "{", "0", ",", "0", ",", "0", "}", ",", "level3", "=", "{", "0", ",", "0", ",", "0", "}", ";", "if", "(", "max_level", ">=", "4", ")", "detect_caches_cpuid4", "(", "&", "level1", ",", "&", "level2", ",", "&", "level3", ")", ";", "else", "if", "(", "max_level", ">=", "2", ")", "detect_caches_cpuid2", "(", "xeon_mp", ",", "&", "level1", ",", "&", "level2", ")", ";", "else", "return", "\"\"", ";", "if", "(", "level1", ".", "sizekb", "==", "0", ")", "return", "\"\"", ";", "if", "(", "level3", ".", "sizekb", ")", "level2", "=", "level3", ";", "if", "(", "level2", ".", "sizekb", "==", "0", "&&", "max_ext_level", ">=", "0x80000006", ")", "detect_l2_cache", "(", "&", "level2", ")", ";", "*", "l2sizekb", "=", "level2", ".", "sizekb", ";", "return", "describe_cache", "(", "level1", ",", "level2", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "description", "of", "caches", "for", "an", "Intel", "processor", "."], "TS_V_token": ["i386", "0", "0", "0", "0", "0", "0", "0", "0", "0", "4", "2", "\"\"", "0", "\"\"", "0", "0x80000006"], "File": "driver-i386", "Func": "detect_caches_intel", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19462, "Length": 147, "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": 19463, "Length": 380, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSEInstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", "->", "getParent", "(", ")", ";", "switch", "(", "MI", "->", "getDesc", "(", ")", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Mips", "::", "RetRA", ":", "expandRetRA", "(", "MBB", ",", "MI", ")", ";", "break", ";", "case", "Mips", "::", "BuildPairF64", ":", "expandBuildPairF64", "(", "MBB", ",", "MI", ",", "false", ")", ";", "break", ";", "case", "Mips", "::", "ExtractElementF64", ":", "expandExtractElementF64", "(", "MBB", ",", "MI", ",", "false", ")", ";", "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::RetRA", "Mips::BuildPairF64", "Mips::ExtractElementF64", "Mips::MIPSeh_return32", "Mips::MIPSeh_return64"], "File": "MipsSEInstrInfo25", "Func": "expandPostRAPseudo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19464, "Length": 118, "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": 19465, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isUsedByReturnOnly", "(", "SDNode", "*", "N", ",", "SDValue", "&", "Chain", ")", "const", "{", "if", "(", "N", "->", "getNumValues", "(", ")", "!=", "1", "||", "!", "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", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "return", "false", ";", "bool", "HasRet", "=", "false", ";", "for", "(", "SDNode", "::", "use_iterator", "UI", "=", "Copy", "->", "use_begin", "(", ")", ",", "UE", "=", "Copy", "->", "use_end", "(", ")", ";", "UI", "!=", "UE", ";", "++", "UI", ")", "{", "if", "(", "UI", "->", "getOpcode", "(", ")", "!=", "X86ISD", "::", "RET_FLAG", ")", "return", "false", ";", "if", "(", "UI", "->", "getNumOperands", "(", ")", ">", "4", ")", "return", "false", ";", "if", "(", "UI", "->", "getNumOperands", "(", ")", "==", "4", "&&", "UI", "->", "getOperand", "(", "UI", "->", "getNumOperands", "(", ")", "-", "1", ")", ".", "getValueType", "(", ")", "!=", "MVT", "::", "Glue", ")", "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": ["X86", "X86", "1", "1", "0", "ISD::CopyToReg", "1", "MVT::Glue", "0", "ISD::FP_EXTEND", "X86ISD::RET_FLAG", "4", "4", "1", "MVT::Glue"], "File": "X86ISelLowering (2)5", "Func": "isUsedByReturnOnly", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19466, "Length": 236, "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", "(", "MF", ".", "hasEHFunclets", "(", ")", ")", "return", "true", ";", "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": "AArch64FrameLowering103", "Func": "hasFP", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19467, "Length": 133, "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": 19468, "Length": 30, "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": 19469, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "SMShadowTracker", ".", "startFunction", "(", "MF", ")", ";", "CodeEmitter", ".", "reset", "(", "TM", ".", "getTarget", "(", ")", ".", "createMCCodeEmitter", "(", "*", "Subtarget", "->", "getInstrInfo", "(", ")", ",", "*", "Subtarget", "->", "getRegisterInfo", "(", ")", ",", "MF", ".", "getContext", "(", ")", ")", ")", ";", "EmitFPOData", "=", "Subtarget", "->", "isTargetWin32", "(", ")", "&&", "MF", ".", "getMMI", "(", ")", ".", "getModule", "(", ")", "->", "getCodeViewFlag", "(", ")", ";", "SetupMachineFunction", "(", "MF", ")", ";", "if", "(", "Subtarget", "->", "isTargetCOFF", "(", ")", ")", "{", "bool", "Local", "=", "MF", ".", "getFunction", "(", ")", "->", "hasLocalLinkage", "(", ")", ";", "OutStreamer", "->", "BeginCOFFSymbolDef", "(", "CurrentFnSym", ")", ";", "OutStreamer", "->", "EmitCOFFSymbolStorageClass", "(", "Local", "?", "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", "(", ")", ";", "emitXRayTable", "(", ")", ";", "EmitFPOData", "=", "false", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86AsmPrinter57", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19470, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addPreEmitPass2", "(", ")", "{", "addPass", "(", "createARMConstantIslandPass", "(", ")", ")", ";", "addPass", "(", "createARMLowOverheadLoopsPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getTargetTriple", "(", ")", ".", "isOSWindows", "(", ")", ")", "addPass", "(", "createCFGuardLongjmpPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "may", "add", "passes", "immediately", "before", "machine", "code", "is", "emitted", "in", "this", "callback", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "ARMTargetMachine103", "Func": "addPreEmitPass2", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19471, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "tree", "function_instance", "::", "tuple_type", "(", "unsigned", "int", "i", ")", "const", "{", "unsigned", "int", "num_vectors", "=", "vectors_per_tuple", "(", ")", ";", "return", "acle_vector_types", "[", "num_vectors", "-", "1", "]", "[", "type_suffix", "(", "i", ")", ".", "vector_type", "]", ";", "}", ""], "natrual_language": ["If", "the", "function", "operates", "on", "tuples", "of", "vectors", ",", "return", "the", "tuple", "type", "associated", "with", "type", "suffix", "I", ",", "otherwise", "return", "the", "vector", "type", "associated", "with", "type", "suffix", "I", "."], "TS_V_token": ["aarch64", "1"], "File": "aarch64-sve-builtins", "Func": "tuple_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19472, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "dimode_scalar_to_vector_candidate_p", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "def_set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "!", "def_set", ")", "return", "false", ";", "if", "(", "has_non_address_hard_reg", "(", "insn", ")", ")", "return", "false", ";", "rtx", "src", "=", "SET_SRC", "(", "def_set", ")", ";", "rtx", "dst", "=", "SET_DEST", "(", "def_set", ")", ";", "if", "(", "GET_CODE", "(", "src", ")", "==", "COMPARE", ")", "return", "convertible_comparison_p", "(", "insn", ")", ";", "if", "(", "(", "GET_MODE", "(", "src", ")", "!=", "DImode", "&&", "!", "CONST_INT_P", "(", "src", ")", ")", "||", "GET_MODE", "(", "dst", ")", "!=", "DImode", ")", "return", "false", ";", "if", "(", "!", "REG_P", "(", "dst", ")", "&&", "!", "MEM_P", "(", "dst", ")", ")", "return", "false", ";", "switch", "(", "GET_CODE", "(", "src", ")", ")", "{", "case", "ASHIFTRT", ":", "if", "(", "!", "TARGET_AVX512VL", ")", "return", "false", ";", "case", "ASHIFT", ":", "case", "LSHIFTRT", ":", "if", "(", "!", "CONST_INT_P", "(", "XEXP", "(", "src", ",", "1", ")", ")", "||", "!", "IN_RANGE", "(", "INTVAL", "(", "XEXP", "(", "src", ",", "1", ")", ")", ",", "0", ",", "63", ")", ")", "return", "false", ";", "break", ";", "case", "PLUS", ":", "case", "MINUS", ":", "case", "IOR", ":", "case", "XOR", ":", "case", "AND", ":", "if", "(", "!", "REG_P", "(", "XEXP", "(", "src", ",", "1", ")", ")", "&&", "!", "MEM_P", "(", "XEXP", "(", "src", ",", "1", ")", ")", "&&", "!", "CONST_INT_P", "(", "XEXP", "(", "src", ",", "1", ")", ")", ")", "return", "false", ";", "if", "(", "GET_MODE", "(", "XEXP", "(", "src", ",", "1", ")", ")", "!=", "DImode", "&&", "!", "CONST_INT_P", "(", "XEXP", "(", "src", ",", "1", ")", ")", ")", "return", "false", ";", "break", ";", "case", "NEG", ":", "case", "NOT", ":", "break", ";", "case", "REG", ":", "return", "true", ";", "case", "MEM", ":", "case", "CONST_INT", ":", "return", "REG_P", "(", "dst", ")", ";", "default", ":", "return", "false", ";", "}", "if", "(", "!", "REG_P", "(", "XEXP", "(", "src", ",", "0", ")", ")", "&&", "!", "MEM_P", "(", "XEXP", "(", "src", ",", "0", ")", ")", "&&", "!", "CONST_INT_P", "(", "XEXP", "(", "src", ",", "0", ")", ")", "&&", "(", "GET_CODE", "(", "src", ")", "!=", "AND", "||", "GET_CODE", "(", "XEXP", "(", "src", ",", "0", ")", ")", "!=", "NOT", "||", "!", "REG_P", "(", "XEXP", "(", "XEXP", "(", "src", ",", "0", ")", ",", "0", ")", ")", ")", ")", "return", "false", ";", "if", "(", "GET_MODE", "(", "XEXP", "(", "src", ",", "0", ")", ")", "!=", "DImode", "&&", "!", "CONST_INT_P", "(", "XEXP", "(", "src", ",", "0", ")", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["The", "DImode", "version", "of", "scalar_to_vector_candidate_p", "."], "TS_V_token": ["i386", "1", "1", "0", "63", "1", "1", "1", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0"], "File": "i3868", "Func": "dimode_scalar_to_vector_candidate_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19473, "Length": 393, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_simd_dup_constant", "(", "rtx", "vals", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "vals", ")", ";", "machine_mode", "inner_mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "int", "n_elts", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "bool", "all_same", "=", "true", ";", "rtx", "x", ";", "int", "i", ";", "if", "(", "GET_CODE", "(", "vals", ")", "!=", "CONST_VECTOR", ")", "return", "NULL_RTX", ";", "for", "(", "i", "=", "1", ";", "i", "<", "n_elts", ";", "++", "i", ")", "{", "x", "=", "CONST_VECTOR_ELT", "(", "vals", ",", "i", ")", ";", "if", "(", "!", "rtx_equal_p", "(", "x", ",", "CONST_VECTOR_ELT", "(", "vals", ",", "0", ")", ")", ")", "all_same", "=", "false", ";", "}", "if", "(", "!", "all_same", ")", "return", "NULL_RTX", ";", "x", "=", "copy_to_mode_reg", "(", "inner_mode", ",", "CONST_VECTOR_ELT", "(", "vals", ",", "0", ")", ")", ";", "return", "gen_rtx_VEC_DUPLICATE", "(", "mode", ",", "x", ")", ";", "}", ""], "natrual_language": ["If", "VALS", "is", "a", "vector", "constant", "that", "can", "be", "loaded", "into", "a", "register", "using", "DUP", ",", "generate", "instructions", "to", "do", "so", "and", "return", "an", "RTX", "to", "assign", "to", "the", "register", ".", "Otherwise", "return", "NULL_RTX", "."], "TS_V_token": ["aarch64", "1", "0", "0"], "File": "aarch642", "Func": "aarch64_simd_dup_constant", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19474, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "*", "output_e500_flip_gt_bit", "(", "rtx", "dst", ",", "rtx", "src", ")", "{", "static", "char", "string", "[", "64", "]", ";", "int", "a", ",", "b", ";", "gcc_assert", "(", "GET_CODE", "(", "dst", ")", "==", "REG", "&&", "CR_REGNO_P", "(", "REGNO", "(", "dst", ")", ")", "&&", "GET_CODE", "(", "src", ")", "==", "REG", "&&", "CR_REGNO_P", "(", "REGNO", "(", "src", ")", ")", ")", ";", "a", "=", "4", "*", "(", "REGNO", "(", "dst", ")", "-", "CR0_REGNO", ")", "+", "1", ";", "b", "=", "4", "*", "(", "REGNO", "(", "src", ")", "-", "CR0_REGNO", ")", "+", "1", ";", "sprintf", "(", "string", ",", "\"crnot %d,%d\"", ",", "a", ",", "b", ")", ";", "return", "string", ";", "}", ""], "natrual_language": ["Return", "the", "string", "to", "flip", "the", "GT", "bit", "on", "a", "CR", "."], "TS_V_token": ["powerpcspe", "64", "4", "1", "4", "1", "\"crnot %d,%d\""], "File": "powerpcspe", "Func": "output_e500_flip_gt_bit", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19475, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "_Unwind_Reason_Code", "unwind_phase2_forced", "(", "_Unwind_Control_Block", "*", "ucbp", ",", "phase2_vrs", "*", "entry_vrs", ",", "int", "resuming", ")", "{", "_Unwind_Stop_Fn", "stop_fn", "=", "(", "_Unwind_Stop_Fn", ")", "UCB_FORCED_STOP_FN", "(", "ucbp", ")", ";", "void", "*", "stop_arg", "=", "(", "void", "*", ")", "UCB_FORCED_STOP_ARG", "(", "ucbp", ")", ";", "_Unwind_Reason_Code", "pr_result", "=", "0", ";", "phase1_vrs", "saved_vrs", ",", "next_vrs", ";", "saved_vrs", ".", "core", "=", "entry_vrs", "->", "core", ";", "saved_vrs", ".", "demand_save_flags", "=", "0", ";", "do", "{", "_Unwind_State", "action", ";", "_Unwind_Reason_Code", "entry_code", ";", "_Unwind_Reason_Code", "stop_code", ";", "entry_code", "=", "get_eit_entry", "(", "ucbp", ",", "saved_vrs", ".", "core", ".", "r", "[", "R_PC", "]", ")", ";", "if", "(", "resuming", ")", "{", "action", "=", "_US_UNWIND_FRAME_RESUME", "|", "_US_FORCE_UNWIND", ";", "resuming", "=", "0", ";", "}", "else", "action", "=", "_US_UNWIND_FRAME_STARTING", "|", "_US_FORCE_UNWIND", ";", "if", "(", "entry_code", "==", "_URC_OK", ")", "{", "UCB_SAVED_CALLSITE_ADDR", "(", "ucbp", ")", "=", "saved_vrs", ".", "core", ".", "r", "[", "R_PC", "]", ";", "next_vrs", "=", "saved_vrs", ";", "pr_result", "=", "(", "(", "personality_routine", ")", "UCB_PR_ADDR", "(", "ucbp", ")", ")", "(", "action", ",", "ucbp", ",", "(", "void", "*", ")", "&", "next_vrs", ")", ";", "saved_vrs", ".", "prev_sp", "=", "next_vrs", ".", "core", ".", "r", "[", "R_SP", "]", ";", "}", "else", "{", "action", "|=", "_US_END_OF_STACK", ";", "saved_vrs", ".", "prev_sp", "=", "saved_vrs", ".", "core", ".", "r", "[", "R_SP", "]", ";", "}", "stop_code", "=", "stop_fn", "(", "1", ",", "action", ",", "ucbp", "->", "exception_class", ",", "ucbp", ",", "(", "void", "*", ")", "&", "saved_vrs", ",", "stop_arg", ")", ";", "if", "(", "stop_code", "!=", "_URC_NO_REASON", ")", "return", "_URC_FAILURE", ";", "if", "(", "entry_code", "!=", "_URC_OK", ")", "return", "entry_code", ";", "saved_vrs", "=", "next_vrs", ";", "}", "while", "(", "pr_result", "==", "_URC_CONTINUE_UNWIND", ")", ";", "if", "(", "pr_result", "!=", "_URC_INSTALL_CONTEXT", ")", "{", "return", "_URC_FAILURE", ";", "}", "restore_core_regs", "(", "&", "saved_vrs", ".", "core", ")", ";", "}", ""], "natrual_language": ["Perform", "phase2", "forced", "unwinding", "."], "TS_V_token": ["arm", "0", "0", "0", "1"], "File": "unwind-arm", "Func": "unwind_phase2_forced", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19476, "Length": 271, "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": 19477, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "host_detect_local_cpu", "(", "int", "argc", ",", "const", "char", "*", "*", "argv", ")", "{", "const", "char", "*", "val", "=", "NULL", ";", "char", "buf", "[", "128", "]", ";", "FILE", "*", "f", "=", "NULL", ";", "bool", "arch", ";", "const", "struct", "vendor_cpu", "*", "cpu_table", "=", "NULL", ";", "char", "*", "fcpu_info", "=", "NULL", ";", "if", "(", "argc", "<", "1", ")", "goto", "not_found", ";", "arch", "=", "strcmp", "(", "argv", "[", "0", "]", ",", "\"arch\"", ")", "==", "0", ";", "if", "(", "!", "arch", "&&", "strcmp", "(", "argv", "[", "0", "]", ",", "\"cpu\"", ")", "!=", "0", "&&", "strcmp", "(", "argv", "[", "0", "]", ",", "\"tune\"", ")", ")", "goto", "not_found", ";", "fcpu_info", "=", "getenv", "(", "\"GCC_CPUINFO\"", ")", ";", "if", "(", "fcpu_info", ")", "f", "=", "fopen", "(", "fcpu_info", ",", "\"r\"", ")", ";", "else", "f", "=", "fopen", "(", "\"/proc/cpuinfo\"", ",", "\"r\"", ")", ";", "if", "(", "f", "==", "NULL", ")", "goto", "not_found", ";", "while", "(", "fgets", "(", "buf", ",", "sizeof", "(", "buf", ")", ",", "f", ")", "!=", "NULL", ")", "{", "if", "(", "strncmp", "(", "buf", ",", "\"CPU implementer\"", ",", "sizeof", "(", "\"CPU implementer\"", ")", "-", "1", ")", "==", "0", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "vendors_table", "[", "i", "]", ".", "vendor_no", "!=", "NULL", ";", "i", "++", ")", "if", "(", "strstr", "(", "buf", ",", "vendors_table", "[", "i", "]", ".", "vendor_no", ")", "!=", "NULL", ")", "{", "cpu_table", "=", "vendors_table", "[", "i", "]", ".", "vendor_parts", ";", "break", ";", "}", "}", "if", "(", "strncmp", "(", "buf", ",", "\"CPU part\"", ",", "sizeof", "(", "\"CPU part\"", ")", "-", "1", ")", "==", "0", ")", "{", "int", "i", ";", "if", "(", "cpu_table", "==", "NULL", ")", "goto", "not_found", ";", "for", "(", "i", "=", "0", ";", "cpu_table", "[", "i", "]", ".", "part_no", "!=", "NULL", ";", "i", "++", ")", "if", "(", "strstr", "(", "buf", ",", "cpu_table", "[", "i", "]", ".", "part_no", ")", "!=", "NULL", ")", "{", "val", "=", "arch", "?", "cpu_table", "[", "i", "]", ".", "arch_name", ":", "cpu_table", "[", "i", "]", ".", "cpu_name", ";", "break", ";", "}", "break", ";", "}", "}", "if", "(", "val", ")", "{", "fclose", "(", "f", ")", ";", "return", "concat", "(", "\"-m\"", ",", "argv", "[", "0", "]", ",", "\"=\"", ",", "val", ",", "NULL", ")", ";", "}", "not_found", ":", "{", "unsigned", "int", "i", ";", "unsigned", "int", "opt", ";", "const", "char", "*", "search", "[", "]", "=", "{", "NULL", ",", "\"arch\"", "}", ";", "if", "(", "f", ")", "fclose", "(", "f", ")", ";", "search", "[", "0", "]", "=", "argv", "[", "0", "]", ";", "for", "(", "opt", "=", "0", ";", "opt", "<", "ARRAY_SIZE", "(", "search", ")", ";", "opt", "++", ")", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "configure_default_options", ")", ";", "i", "++", ")", "if", "(", "strcmp", "(", "configure_default_options", "[", "i", "]", ".", "name", ",", "search", "[", "opt", "]", ")", "==", "0", ")", "return", "concat", "(", "\"-m\"", ",", "search", "[", "opt", "]", ",", "\"=\"", ",", "configure_default_options", "[", "i", "]", ".", "value", ",", "NULL", ")", ";", "return", "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": ["arm", "128", "1", "0", "\"arch\"", "0", "0", "\"cpu\"", "0", "0", "\"tune\"", "\"GCC_CPUINFO\"", "\"r\"", "\"/proc/cpuinfo\"", "\"r\"", "\"CPU implementer\"", "\"CPU implementer\"", "1", "0", "0", "\"CPU part\"", "\"CPU part\"", "1", "0", "0", "\"-m\"", "0", "\"=\"", "\"arch\"", "0", "0", "0", "0", "0", "\"-m\"", "\"=\""], "File": "driver-arm1", "Func": "host_detect_local_cpu", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19478, "Length": 470, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "hasLowDefLatency", "(", "const", "TargetSchedModel", "&", "SchedModel", ",", "const", "MachineInstr", "&", "DefMI", ",", "unsigned", "DefIdx", ")", "const", "{", "const", "InstrItineraryData", "*", "ItinData", "=", "SchedModel", ".", "getInstrItineraries", "(", ")", ";", "if", "(", "!", "ItinData", "||", "ItinData", "->", "isEmpty", "(", ")", ")", "return", "false", ";", "unsigned", "DDomain", "=", "DefMI", ".", "getDesc", "(", ")", ".", "TSFlags", "&", "ARMII", "::", "DomainMask", ";", "if", "(", "DDomain", "==", "ARMII", "::", "DomainGeneral", ")", "{", "unsigned", "DefClass", "=", "DefMI", ".", "getDesc", "(", ")", ".", "getSchedClass", "(", ")", ";", "int", "DefCycle", "=", "ItinData", "->", "getOperandCycle", "(", "DefClass", ",", "DefIdx", ")", ";", "return", "(", "DefCycle", "!=", "-", "1", "&&", "DefCycle", "<=", "2", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Compute", "operand", "latency", "of", "a", "def", "of", "'Reg", "'", "."], "TS_V_token": ["ARM", "ARM", "ARMII::DomainMask", "ARMII::DomainGeneral", "1", "2"], "File": "ARMBaseInstrInfo (2)2", "Func": "hasLowDefLatency", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19479, "Length": 111, "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": 19480, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isVectorLoadExtDesirable", "(", "SDValue", "ExtVal", ")", "const", "{", "return", "ExtVal", ".", "getValueType", "(", ")", ".", "isScalableVector", "(", ")", "||", "useSVEForFixedLengthVectorVT", "(", "ExtVal", ".", "getValueType", "(", ")", ",", "Subtarget", "->", "useSVEForFixedLengthVectors", "(", ")", ")", ";", "}", ""], "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": "AArch64ISelLowering69", "Func": "isVectorLoadExtDesirable", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19481, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16FrameLowering", "::", "hasReservedCallFrame", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "isInt", "<", "15", ">", "(", "MFI", ".", "getMaxCallFrameSize", "(", ")", ")", "&&", "!", "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", "15"], "File": "Mips16FrameLowering12", "Func": "hasReservedCallFrame", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19482, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CJGInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "if", "(", "CJG", "::", "GPRegsRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "CJG", "::", "CPYrr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", "else", "{", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "}", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["CJG", "CJG", "CJG::GPRegsRegClass", "CJG::CPYrr", "\"Impossible reg-to-reg copy\""], "File": "CJGInstrInfo", "Func": "copyPhysReg", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19483, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "PPCRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "PPCFrameLowering", "*", "PPCFI", "=", "static_cast", "<", "const", "PPCFrameLowering", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "ZERO", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "ZERO8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "FP", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "FP8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "BP", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "BP8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "CTR", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "CTR8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R1", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "RM", ")", ";", "if", "(", "!", "Subtarget", ".", "isDarwinABI", "(", ")", "||", "!", "Subtarget", ".", "hasAltivec", "(", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "VRSAVE", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R2", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R13", ")", ";", "}", "if", "(", "Subtarget", ".", "isPPC64", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R13", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X1", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X13", ")", ";", "if", "(", "PPCFI", "->", "needsFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "X31", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "X30", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "X2", ")", ";", "}", "}", "if", "(", "PPCFI", "->", "needsFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "R31", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "R30", ")", ";", "if", "(", "!", "Subtarget", ".", "hasAltivec", "(", ")", ")", "for", "(", "TargetRegisterClass", "::", "iterator", "I", "=", "PPC", "::", "VRRCRegClass", ".", "begin", "(", ")", ",", "IE", "=", "PPC", "::", "VRRCRegClass", ".", "end", "(", ")", ";", "I", "!=", "IE", ";", "++", "I", ")", "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": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC::ZERO", "PPC::ZERO8", "PPC::FP", "PPC::FP8", "PPC::BP", "PPC::BP8", "PPC::CTR", "PPC::CTR8", "PPC::R1", "PPC::LR", "PPC::LR8", "PPC::RM", "PPC::VRSAVE", "PPC::R2", "PPC::R13", "PPC", "PPC::R13", "PPC::X1", "PPC::X13", "PPC", "PPC::X31", "PPC::X30", "PPC::X2", "PPC", "PPC::R31", "PPC::R30", "PPC::VRRCRegClass", "PPC::VRRCRegClass"], "File": "PPCRegisterInfo (2)", "Func": "getReservedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19484, "Length": 381, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "LegalizerInfo", "*", "X86Subtarget", "::", "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": ["X86", "X86", "\"Access to GlobalISel APIs not set\""], "File": "X86Subtarget109", "Func": "getLegalizerInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19485, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "gen_pop", "(", "rtx", "arg", ")", "{", "if", "(", "REG_P", "(", "arg", ")", "&&", "GET_MODE", "(", "arg", ")", "!=", "word_mode", ")", "arg", "=", "gen_rtx_REG", "(", "word_mode", ",", "REGNO", "(", "arg", ")", ")", ";", "return", "gen_rtx_SET", "(", "arg", ",", "gen_rtx_MEM", "(", "word_mode", ",", "gen_rtx_POST_INC", "(", "Pmode", ",", "stack_pointer_rtx", ")", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "an", "``", "pop", "''", "pattern", "for", "input", "ARG", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "gen_pop", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19486, "Length": 52, "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": 19487, "Length": 311, "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": 19488, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arm_expand_ternop_builtin", "(", "enum", "insn_code", "icode", ",", "tree", "exp", ",", "rtx", "target", ")", "{", "rtx", "pat", ";", "tree", "arg0", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "tree", "arg1", "=", "CALL_EXPR_ARG", "(", "exp", ",", "1", ")", ";", "tree", "arg2", "=", "CALL_EXPR_ARG", "(", "exp", ",", "2", ")", ";", "rtx", "op0", "=", "expand_normal", "(", "arg0", ")", ";", "rtx", "op1", "=", "expand_normal", "(", "arg1", ")", ";", "rtx", "op2", "=", "expand_normal", "(", "arg2", ")", ";", "rtx", "op3", "=", "NULL_RTX", ";", "bool", "builtin_sha1cpm_p", "=", "false", ";", "if", "(", "insn_data", "[", "icode", "]", ".", "n_operands", "==", "5", ")", "{", "gcc_assert", "(", "icode", "==", "CODE_FOR_crypto_sha1c", "||", "icode", "==", "CODE_FOR_crypto_sha1p", "||", "icode", "==", "CODE_FOR_crypto_sha1m", ")", ";", "builtin_sha1cpm_p", "=", "true", ";", "}", "machine_mode", "tmode", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "mode", ";", "machine_mode", "mode0", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "mode", ";", "machine_mode", "mode1", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "2", "]", ".", "mode", ";", "machine_mode", "mode2", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "3", "]", ".", "mode", ";", "if", "(", "VECTOR_MODE_P", "(", "mode0", ")", ")", "op0", "=", "safe_vector_operand", "(", "op0", ",", "mode0", ")", ";", "if", "(", "VECTOR_MODE_P", "(", "mode1", ")", ")", "op1", "=", "safe_vector_operand", "(", "op1", ",", "mode1", ")", ";", "if", "(", "VECTOR_MODE_P", "(", "mode2", ")", ")", "op2", "=", "safe_vector_operand", "(", "op2", ",", "mode2", ")", ";", "if", "(", "!", "target", "||", "GET_MODE", "(", "target", ")", "!=", "tmode", "||", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "predicate", ")", "(", "target", ",", "tmode", ")", ")", "target", "=", "gen_reg_rtx", "(", "tmode", ")", ";", "gcc_assert", "(", "(", "GET_MODE", "(", "op0", ")", "==", "mode0", "||", "GET_MODE", "(", "op0", ")", "==", "VOIDmode", ")", "&&", "(", "GET_MODE", "(", "op1", ")", "==", "mode1", "||", "GET_MODE", "(", "op1", ")", "==", "VOIDmode", ")", "&&", "(", "GET_MODE", "(", "op2", ")", "==", "mode2", "||", "GET_MODE", "(", "op2", ")", "==", "VOIDmode", ")", ")", ";", "if", "(", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "predicate", ")", "(", "op0", ",", "mode0", ")", ")", "op0", "=", "copy_to_mode_reg", "(", "mode0", ",", "op0", ")", ";", "if", "(", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "2", "]", ".", "predicate", ")", "(", "op1", ",", "mode1", ")", ")", "op1", "=", "copy_to_mode_reg", "(", "mode1", ",", "op1", ")", ";", "if", "(", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "3", "]", ".", "predicate", ")", "(", "op2", ",", "mode2", ")", ")", "op2", "=", "copy_to_mode_reg", "(", "mode2", ",", "op2", ")", ";", "if", "(", "builtin_sha1cpm_p", ")", "op3", "=", "GEN_INT", "(", "TARGET_BIG_END", "?", "1", ":", "0", ")", ";", "if", "(", "builtin_sha1cpm_p", ")", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op0", ",", "op1", ",", "op2", ",", "op3", ")", ";", "else", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op0", ",", "op1", ",", "op2", ")", ";", "if", "(", "!", "pat", ")", "return", "0", ";", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Function", "to", "expand", "ternary", "builtins", "."], "TS_V_token": ["arm", "0", "1", "2", "5", "0", "1", "2", "3", "0", "1", "2", "3", "1", "0", "0"], "File": "arm-builtins2", "Func": "arm_expand_ternop_builtin", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19489, "Length": 480, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_promote_prototypes", "(", "const_tree", "t", "ATTRIBUTE_UNUSED", ")", "{", "return", "!", "TARGET_AAPCS_BASED", ";", "}", ""], "natrual_language": ["We", "ca", "n't", "rely", "on", "the", "caller", "doing", "the", "proper", "promotion", "when", "using", "APCS", "or", "ATPCS", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_promote_prototypes", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19490, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsFrameLowering", "*", "MipsFrameLowering", "::", "create", "(", "MipsTargetMachine", "&", "TM", ",", "const", "MipsSubtarget", "&", "ST", ")", "{", "if", "(", "TM", ".", "getSubtargetImpl", "(", ")", "->", "inMips16Mode", "(", ")", ")", "return", "llvm", "::", "createMips16FrameLowering", "(", "ST", ")", ";", "return", "llvm", "::", "createMipsSEFrameLowering", "(", "ST", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsFrameLowering", "Func": "create", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19491, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "pa_singlemove_string", "(", "rtx", "*", "operands", ")", "{", "HOST_WIDE_INT", "intval", ";", "if", "(", "GET_CODE", "(", "operands", "[", "0", "]", ")", "==", "MEM", ")", "return", "\"stw %r1,%0\"", ";", "if", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "MEM", ")", "return", "\"ldw %1,%0\"", ";", "if", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "CONST_DOUBLE", ")", "{", "long", "i", ";", "REAL_VALUE_TYPE", "d", ";", "gcc_assert", "(", "GET_MODE", "(", "operands", "[", "1", "]", ")", "==", "SFmode", ")", ";", "REAL_VALUE_FROM_CONST_DOUBLE", "(", "d", ",", "operands", "[", "1", "]", ")", ";", "REAL_VALUE_TO_TARGET_SINGLE", "(", "d", ",", "i", ")", ";", "operands", "[", "1", "]", "=", "GEN_INT", "(", "i", ")", ";", "}", "if", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "CONST_INT", ")", "{", "intval", "=", "INTVAL", "(", "operands", "[", "1", "]", ")", ";", "if", "(", "VAL_14_BITS_P", "(", "intval", ")", ")", "return", "\"ldi %1,%0\"", ";", "else", "if", "(", "(", "intval", "&", "0x7ff", ")", "==", "0", ")", "return", "\"ldil L'%1,%0\"", ";", "else", "if", "(", "pa_zdepi_cint_p", "(", "intval", ")", ")", "return", "\"{zdepi %Z1,%0|depwi,z %Z1,%0}\"", ";", "else", "return", "\"ldil L'%1,%0\\n\\tldo R'%1(%0),%0\"", ";", "}", "return", "\"copy %1,%0\"", ";", "}", ""], "natrual_language": ["Return", "the", "best", "assembler", "insn", "template", "for", "moving", "operands", "[", "1", "]", "into", "operands", "[", "0", "]", "as", "a", "fullword", "."], "TS_V_token": ["pa", "0", "\"stw %r1,%0\"", "1", "\"ldw %1,%0\"", "1", "1", "1", "1", "1", "1", "\"ldi %1,%0\"", "0x7ff", "0", "\"ldil L'%1,%0\"", "\"{zdepi %Z1,%0|depwi,z %Z1,%0}\"", "\"ldil L'%1,%0\\n\\tldo R'%1(%0),%0\"", "\"copy %1,%0\""], "File": "pa4", "Func": "pa_singlemove_string", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19492, "Length": 170, "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": ["Sparc"], "File": "SparcDisassembler1", "Func": "getRegInfo", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19493, "Length": 16, "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": 19494, "Length": 256, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "sh_build_builtin_va_list", "(", "void", ")", "{", "tree", "f_next_o", ",", "f_next_o_limit", ",", "f_next_fp", ",", "f_next_fp_limit", ",", "f_next_stack", ";", "tree", "record", ",", "type_decl", ";", "if", "(", "TARGET_SH5", "||", "(", "!", "TARGET_SH2E", "&&", "!", "TARGET_SH4", ")", "||", "TARGET_HITACHI", "||", "sh_cfun_attr_renesas_p", "(", ")", ")", "return", "ptr_type_node", ";", "record", "=", "(", "*", "lang_hooks", ".", "types", ".", "make_type", ")", "(", "RECORD_TYPE", ")", ";", "type_decl", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "TYPE_DECL", ",", "get_identifier", "(", "\"__va_list_tag\"", ")", ",", "record", ")", ";", "f_next_o", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"__va_next_o\"", ")", ",", "ptr_type_node", ")", ";", "f_next_o_limit", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"__va_next_o_limit\"", ")", ",", "ptr_type_node", ")", ";", "f_next_fp", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"__va_next_fp\"", ")", ",", "ptr_type_node", ")", ";", "f_next_fp_limit", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"__va_next_fp_limit\"", ")", ",", "ptr_type_node", ")", ";", "f_next_stack", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"__va_next_stack\"", ")", ",", "ptr_type_node", ")", ";", "DECL_FIELD_CONTEXT", "(", "f_next_o", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_next_o_limit", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_next_fp", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_next_fp_limit", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_next_stack", ")", "=", "record", ";", "TYPE_STUB_DECL", "(", "record", ")", "=", "type_decl", ";", "TYPE_NAME", "(", "record", ")", "=", "type_decl", ";", "TYPE_FIELDS", "(", "record", ")", "=", "f_next_o", ";", "DECL_CHAIN", "(", "f_next_o", ")", "=", "f_next_o_limit", ";", "DECL_CHAIN", "(", "f_next_o_limit", ")", "=", "f_next_fp", ";", "DECL_CHAIN", "(", "f_next_fp", ")", "=", "f_next_fp_limit", ";", "DECL_CHAIN", "(", "f_next_fp_limit", ")", "=", "f_next_stack", ";", "layout_type", "(", "record", ")", ";", "return", "record", ";", "}", ""], "natrual_language": ["Define", "the", "`", "__builtin_va_list", "'", "type", "for", "the", "ABI", "."], "TS_V_token": ["sh", "\"__va_list_tag\"", "\"__va_next_o\"", "\"__va_next_o_limit\"", "\"__va_next_fp\"", "\"__va_next_fp_limit\"", "\"__va_next_stack\""], "File": "sh4", "Func": "sh_build_builtin_va_list", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19495, "Length": 247, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "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", "(", ")", ";", "SystemZMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "unsigned", "CalleeFrameSize", "=", "0", ";", "unsigned", "LowReg", "=", "0", ",", "HighReg", "=", "0", ",", "StartOffset", "=", "-", "1U", ",", "EndOffset", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "if", "(", "!", "SystemZ", "::", "FP64RegClass", ".", "contains", "(", "Reg", ")", ")", "{", "unsigned", "Offset", "=", "RegSpillOffsets", "[", "Reg", "]", ";", "CalleeFrameSize", "+=", "8", ";", "if", "(", "StartOffset", ">", "Offset", ")", "{", "LowReg", "=", "Reg", ";", "StartOffset", "=", "Offset", ";", "}", "if", "(", "EndOffset", "<", "Offset", ")", "{", "HighReg", "=", "Reg", ";", "EndOffset", "=", "RegSpillOffsets", "[", "Reg", "]", ";", "}", "}", "}", "MFI", "->", "setCalleeSavedFrameSize", "(", "CalleeFrameSize", ")", ";", "MFI", "->", "setLowReg", "(", "LowReg", ")", ";", "MFI", "->", "setHighReg", "(", "HighReg", ")", ";", "if", "(", "StartOffset", ")", "{", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "(", "LowReg", "==", "HighReg", "?", "SystemZ", "::", "MOV64mr", ":", "SystemZ", "::", "MOV64mrm", ")", ")", ")", ";", "MIB", ".", "addReg", "(", "SystemZ", "::", "R15D", ")", ".", "addImm", "(", "StartOffset", ")", ";", "if", "(", "LowReg", "==", "HighReg", ")", "MIB", ".", "addReg", "(", "0", ")", ";", "MIB", ".", "addReg", "(", "LowReg", ",", "RegState", "::", "Kill", ")", ";", "if", "(", "LowReg", "!=", "HighReg", ")", "MIB", ".", "addReg", "(", "HighReg", ",", "RegState", "::", "Kill", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "if", "(", "Reg", "!=", "LowReg", "&&", "Reg", "!=", "HighReg", ")", "MIB", ".", "addReg", "(", "Reg", ",", "RegState", "::", "ImplicitKill", ")", ";", "}", "}", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "if", "(", "SystemZ", "::", "FP64RegClass", ".", "contains", "(", "Reg", ")", ")", "{", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "storeRegToStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "true", ",", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", ",", "&", "SystemZ", "::", "FP64RegClass", ",", "&", "RI", ")", ";", "}", "}", "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": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "0", "0", "0", "1U", "0", "0", "SystemZ::FP64RegClass", "8", "SystemZ::MOV64mr", "SystemZ::MOV64mrm", "SystemZ::R15D", "0", "0", "0", "SystemZ::FP64RegClass", "SystemZ::FP64RegClass"], "File": "SystemZInstrInfo25", "Func": "spillCalleeSavedRegisters", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19496, "Length": 470, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "rs6000_emit_vector_cond_expr", "(", "rtx", "dest", ",", "rtx", "op_true", ",", "rtx", "op_false", ",", "rtx", "cond", ",", "rtx", "cc_op0", ",", "rtx", "cc_op1", ")", "{", "machine_mode", "dest_mode", "=", "GET_MODE", "(", "dest", ")", ";", "machine_mode", "mask_mode", "=", "GET_MODE", "(", "cc_op0", ")", ";", "enum", "rtx_code", "rcode", "=", "GET_CODE", "(", "cond", ")", ";", "machine_mode", "cc_mode", "=", "CCmode", ";", "rtx", "mask", ";", "rtx", "cond2", ";", "bool", "invert_move", "=", "false", ";", "if", "(", "VECTOR_UNIT_NONE_P", "(", "dest_mode", ")", ")", "return", "0", ";", "gcc_assert", "(", "GET_MODE_SIZE", "(", "dest_mode", ")", "==", "GET_MODE_SIZE", "(", "mask_mode", ")", "&&", "GET_MODE_NUNITS", "(", "dest_mode", ")", "==", "GET_MODE_NUNITS", "(", "mask_mode", ")", ")", ";", "switch", "(", "rcode", ")", "{", "case", "NE", ":", "case", "UNLE", ":", "case", "UNLT", ":", "case", "UNGE", ":", "case", "UNGT", ":", "invert_move", "=", "true", ";", "rcode", "=", "reverse_condition_maybe_unordered", "(", "rcode", ")", ";", "if", "(", "rcode", "==", "UNKNOWN", ")", "return", "0", ";", "break", ";", "case", "GE", ":", "case", "LE", ":", "if", "(", "GET_MODE_CLASS", "(", "mask_mode", ")", "==", "MODE_VECTOR_INT", ")", "{", "invert_move", "=", "true", ";", "rcode", "=", "reverse_condition", "(", "rcode", ")", ";", "}", "break", ";", "case", "GTU", ":", "case", "GEU", ":", "case", "LTU", ":", "case", "LEU", ":", "cc_mode", "=", "CCUNSmode", ";", "if", "(", "rcode", "==", "GEU", "||", "rcode", "==", "LEU", ")", "{", "invert_move", "=", "true", ";", "rcode", "=", "reverse_condition", "(", "rcode", ")", ";", "}", "break", ";", "default", ":", "break", ";", "}", "mask", "=", "rs6000_emit_vector_compare", "(", "rcode", ",", "cc_op0", ",", "cc_op1", ",", "mask_mode", ")", ";", "if", "(", "!", "mask", ")", "return", "0", ";", "if", "(", "invert_move", ")", "std", "::", "swap", "(", "op_true", ",", "op_false", ")", ";", "if", "(", "GET_MODE_CLASS", "(", "dest_mode", ")", "==", "MODE_VECTOR_INT", "&&", "(", "GET_CODE", "(", "op_true", ")", "==", "CONST_VECTOR", "||", "GET_CODE", "(", "op_false", ")", "==", "CONST_VECTOR", ")", ")", "{", "rtx", "constant_0", "=", "CONST0_RTX", "(", "dest_mode", ")", ";", "rtx", "constant_m1", "=", "CONSTM1_RTX", "(", "dest_mode", ")", ";", "if", "(", "op_true", "==", "constant_m1", "&&", "op_false", "==", "constant_0", ")", "{", "emit_move_insn", "(", "dest", ",", "mask", ")", ";", "return", "1", ";", "}", "else", "if", "(", "op_true", "==", "constant_0", "&&", "op_false", "==", "constant_m1", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "gen_rtx_NOT", "(", "dest_mode", ",", "mask", ")", ")", ")", ";", "return", "1", ";", "}", "if", "(", "op_true", "==", "constant_m1", ")", "op_true", "=", "mask", ";", "if", "(", "op_false", "==", "constant_0", ")", "op_false", "=", "mask", ";", "}", "if", "(", "!", "REG_P", "(", "op_true", ")", "&&", "!", "SUBREG_P", "(", "op_true", ")", ")", "op_true", "=", "force_reg", "(", "dest_mode", ",", "op_true", ")", ";", "if", "(", "!", "REG_P", "(", "op_false", ")", "&&", "!", "SUBREG_P", "(", "op_false", ")", ")", "op_false", "=", "force_reg", "(", "dest_mode", ",", "op_false", ")", ";", "cond2", "=", "gen_rtx_fmt_ee", "(", "NE", ",", "cc_mode", ",", "gen_lowpart", "(", "dest_mode", ",", "mask", ")", ",", "CONST0_RTX", "(", "dest_mode", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "gen_rtx_IF_THEN_ELSE", "(", "dest_mode", ",", "cond2", ",", "op_true", ",", "op_false", ")", ")", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Emit", "vector", "conditional", "expression", ".", "DEST", "is", "destination", ".", "OP1", "and", "OP2", "are", "two", "VEC_COND_EXPR", "operands", ".", "CC_OP0", "and", "CC_OP1", "are", "the", "two", "operands", "for", "the", "relation", "operation", "COND", "."], "TS_V_token": ["powerpcspe", "0", "0", "0", "1", "1", "1"], "File": "powerpcspe", "Func": "rs6000_emit_vector_cond_expr", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19497, "Length": 454, "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": 19498, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16InstrInfo", "::", "adjustStackPtr", "(", "unsigned", "SP", ",", "int64_t", "Amount", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "DebugLoc", "DL", "=", "I", "!=", "MBB", ".", "end", "(", ")", "?", "I", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "if", "(", "isInt", "<", "16", ">", "(", "Amount", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Mips", "::", "AddiuSpImmX16", ")", ")", ".", "addImm", "(", "Amount", ")", ";", "else", "adjustStackPtrBigUnrestricted", "(", "SP", ",", "Amount", ",", "MBB", ",", "I", ")", ";", "}", ""], "natrual_language": ["Adjust", "SP", "by", "Amount", "bytes", "."], "TS_V_token": ["Mips", "Mips", "16", "Mips::AddiuSpImmX16"], "File": "Mips16InstrInfo21", "Func": "adjustStackPtr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19499, "Length": 87, "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": 19500, "Length": 293, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0DAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "Ret", "=", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "return", "Ret", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Cpu0", "Cpu0"], "File": "Cpu0ISelDAGToDAG", "Func": "runOnMachineFunction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19501, "Length": 24, "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": ["PowerPC"], "File": "PPCISelLowering (2)2", "Func": "convertSetCCLogicToBitwiseLogic", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19502, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCMCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "verifyInstructionPredicates", "(", "MI", ",", "computeAvailableFeatures", "(", "STI", ".", "getFeatureBits", "(", ")", ")", ")", ";", "uint64_t", "Bits", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "unsigned", "Size", "=", "getInstSizeInBytes", "(", "MI", ")", ";", "support", "::", "endianness", "E", "=", "IsLittleEndian", "?", "support", "::", "little", ":", "support", "::", "big", ";", "switch", "(", "Size", ")", "{", "case", "0", ":", "break", ";", "case", "4", ":", "support", "::", "endian", "::", "write", "<", "uint32_t", ">", "(", "OS", ",", "Bits", ",", "E", ")", ";", "break", ";", "case", "8", ":", "support", "::", "endian", "::", "write", "<", "uint32_t", ">", "(", "OS", ",", "Bits", ">>", "32", ",", "E", ")", ";", "support", "::", "endian", "::", "write", "<", "uint32_t", ">", "(", "OS", ",", "Bits", ",", "E", ")", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Invalid instruction size\"", ")", ";", "}", "++", "MCNumEmitted", ";", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["PowerPC", "PPC", "support::endianness", "support::little", "support::big", "0", "4", "support::endian", "8", "support::endian", "32", "support::endian", "\"Invalid instruction size\""], "File": "PPCMCCodeEmitter13", "Func": "encodeInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19503, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "DLXInstrInfo", "::", "expandPostRAPseudo", "(", "MachineInstr", "&", "MI", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXInstrInfo", "Func": "expandPostRAPseudo", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19504, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAIXAsmPrinter", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "if", "(", "M", ".", "alias_size", "(", ")", ">", "0u", ")", "report_fatal_error", "(", "\"module has aliases, which LLVM does not yet support for AIX\"", ")", ";", "const", "bool", "Result", "=", "PPCAsmPrinter", "::", "doInitialization", "(", "M", ")", ";", "auto", "setCsectAlignment", "=", "[", "this", "]", "(", "const", "GlobalObject", "*", "GO", ")", "{", "if", "(", "GO", "->", "isDeclarationForLinker", "(", ")", ")", "return", ";", "SectionKind", "GOKind", "=", "getObjFileLowering", "(", ")", ".", "getKindForGlobal", "(", "GO", ",", "TM", ")", ";", "MCSectionXCOFF", "*", "Csect", "=", "cast", "<", "MCSectionXCOFF", ">", "(", "getObjFileLowering", "(", ")", ".", "SectionForGlobal", "(", "GO", ",", "GOKind", ",", "TM", ")", ")", ";", "Align", "GOAlign", "=", "getGVAlignment", "(", "GO", ",", "GO", "->", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ")", ";", "if", "(", "GOAlign", ">", "Csect", "->", "getAlignment", "(", ")", ")", "Csect", "->", "setAlignment", "(", "GOAlign", ")", ";", "}", ";", "for", "(", "const", "auto", "&", "G", ":", "M", ".", "globals", "(", ")", ")", "setCsectAlignment", "(", "&", "G", ")", ";", "for", "(", "const", "auto", "&", "F", ":", "M", ")", "setCsectAlignment", "(", "&", "F", ")", ";", "return", "Result", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["PowerPC", "PPC", "0u", "\"module has aliases, which LLVM does not yet support for AIX\"", "PPC"], "File": "PPCAsmPrinter121", "Func": "doInitialization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19505, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb2SizeReduce", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "TargetMachine", "&", "TM", "=", "MF", ".", "getTarget", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "Thumb2InstrInfo", "*", ">", "(", "TM", ".", "getInstrInfo", "(", ")", ")", ";", "STI", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Modified", "|=", "ReduceMBB", "(", "*", "I", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM"], "File": "Thumb2SizeReduction37", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19506, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ia64_direct_return", "(", ")", "{", "if", "(", "reload_completed", "&&", "!", "frame_pointer_needed", ")", "{", "ia64_compute_frame_size", "(", "get_frame_size", "(", ")", ")", ";", "return", "(", "current_frame_info", ".", "total_size", "==", "0", "&&", "current_frame_info", ".", "n_spilled", "==", "0", "&&", "current_frame_info", ".", "reg_save_b0", "==", "0", "&&", "current_frame_info", ".", "reg_save_pr", "==", "0", "&&", "current_frame_info", ".", "reg_save_ar_pfs", "==", "0", "&&", "current_frame_info", ".", "reg_save_ar_unat", "==", "0", "&&", "current_frame_info", ".", "reg_save_ar_lc", "==", "0", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "1", "if", "br.ret", "can", "do", "all", "the", "work", "required", "to", "return", "from", "a", "function", "."], "TS_V_token": ["ia64", "0", "0", "0", "0", "0", "0", "0", "0"], "File": "ia642", "Func": "ia64_direct_return", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19507, "Length": 70, "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", ".", "getTarget", "(", ")", ".", "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": "AArch64RegisterInfo1", "Func": "eliminateFrameIndex", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19508, "Length": 298, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "PPCFrameInfo", "*", "getFrameInfo", "(", ")", "const", "{", "return", "&", "FrameInfo", ";", "}", ""], "natrual_language": ["getFrameInfo", "-", "Return", "the", "frame", "info", "object", "for", "the", "current", "function", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCTargetMachine11", "Func": "getFrameInfo", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19509, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips16_constant_cost", "(", "int", "code", ",", "HOST_WIDE_INT", "x", ")", "{", "switch", "(", "code", ")", "{", "case", "ASHIFT", ":", "case", "ASHIFTRT", ":", "case", "LSHIFTRT", ":", "if", "(", "IN_RANGE", "(", "x", ",", "1", ",", "8", ")", ")", "return", "0", ";", "return", "COSTS_N_INSNS", "(", "1", ")", ";", "case", "PLUS", ":", "if", "(", "IN_RANGE", "(", "x", ",", "-", "128", ",", "127", ")", ")", "return", "0", ";", "if", "(", "SMALL_OPERAND", "(", "x", ")", ")", "return", "COSTS_N_INSNS", "(", "1", ")", ";", "return", "-", "1", ";", "case", "LEU", ":", "if", "(", "x", "==", "-", "1", ")", "return", "-", "1", ";", "case", "LE", ":", "x", "+=", "1", ";", "case", "XOR", ":", "case", "LT", ":", "case", "LTU", ":", "if", "(", "IN_RANGE", "(", "x", ",", "0", ",", "255", ")", ")", "return", "0", ";", "if", "(", "SMALL_OPERAND_UNSIGNED", "(", "x", ")", ")", "return", "COSTS_N_INSNS", "(", "1", ")", ";", "return", "-", "1", ";", "case", "EQ", ":", "case", "NE", ":", "if", "(", "x", "==", "0", ")", "return", "0", ";", "return", "-", "1", ";", "default", ":", "return", "-", "1", ";", "}", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "X", "when", "used", "as", "an", "operand", "to", "the", "MIPS16", "instruction", "that", "implements", "CODE", ".", "Return", "-1", "if", "there", "is", "no", "such", "instruction", ",", "or", "if", "X", "is", "not", "a", "valid", "immediate", "operand", "for", "it", "."], "TS_V_token": ["mips", "1", "8", "0", "1", "128", "127", "0", "1", "1", "1", "1", "1", "0", "255", "0", "1", "1", "0", "0", "1", "1"], "File": "mips", "Func": "mips16_constant_cost", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19510, "Length": 168, "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", ")", ")", "{", "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": ["powerpcspe", "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": "powerpcspe", "Func": "rs6000_arg_partial_bytes", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19511, "Length": 352, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_copysign", "(", "rtx", "operands", "[", "]", ")", "{", "enum", "machine_mode", "mode", ",", "vmode", ";", "rtx", "dest", ",", "op0", ",", "op1", ",", "mask", ",", "nmask", ";", "dest", "=", "operands", "[", "0", "]", ";", "op0", "=", "operands", "[", "1", "]", ";", "op1", "=", "operands", "[", "2", "]", ";", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "vmode", "=", "mode", "==", "SFmode", "?", "V4SFmode", ":", "V2DFmode", ";", "if", "(", "GET_CODE", "(", "op0", ")", "==", "CONST_DOUBLE", ")", "{", "rtvec", "v", ";", "if", "(", "real_isneg", "(", "CONST_DOUBLE_REAL_VALUE", "(", "op0", ")", ")", ")", "op0", "=", "simplify_unary_operation", "(", "ABS", ",", "mode", ",", "op0", ",", "mode", ")", ";", "if", "(", "op0", "==", "CONST0_RTX", "(", "mode", ")", ")", "op0", "=", "CONST0_RTX", "(", "vmode", ")", ";", "else", "{", "if", "(", "mode", "==", "SFmode", ")", "v", "=", "gen_rtvec", "(", "4", ",", "op0", ",", "CONST0_RTX", "(", "SFmode", ")", ",", "CONST0_RTX", "(", "SFmode", ")", ",", "CONST0_RTX", "(", "SFmode", ")", ")", ";", "else", "v", "=", "gen_rtvec", "(", "2", ",", "op0", ",", "CONST0_RTX", "(", "DFmode", ")", ")", ";", "op0", "=", "force_reg", "(", "vmode", ",", "gen_rtx_CONST_VECTOR", "(", "vmode", ",", "v", ")", ")", ";", "}", "mask", "=", "ix86_build_signbit_mask", "(", "mode", ",", "0", ",", "0", ")", ";", "if", "(", "mode", "==", "SFmode", ")", "emit_insn", "(", "gen_copysignsf3_const", "(", "dest", ",", "op0", ",", "op1", ",", "mask", ")", ")", ";", "else", "emit_insn", "(", "gen_copysigndf3_const", "(", "dest", ",", "op0", ",", "op1", ",", "mask", ")", ")", ";", "}", "else", "{", "nmask", "=", "ix86_build_signbit_mask", "(", "mode", ",", "0", ",", "1", ")", ";", "mask", "=", "ix86_build_signbit_mask", "(", "mode", ",", "0", ",", "0", ")", ";", "if", "(", "mode", "==", "SFmode", ")", "emit_insn", "(", "gen_copysignsf3_var", "(", "dest", ",", "NULL", ",", "op0", ",", "op1", ",", "nmask", ",", "mask", ")", ")", ";", "else", "emit_insn", "(", "gen_copysigndf3_var", "(", "dest", ",", "NULL", ",", "op0", ",", "op1", ",", "nmask", ",", "mask", ")", ")", ";", "}", "}", ""], "natrual_language": ["Expand", "a", "copysign", "operation", ".", "Special", "case", "operand", "0", "being", "a", "constant", "."], "TS_V_token": ["i386", "0", "1", "2", "4", "2", "0", "0", "0", "1", "0", "0"], "File": "i3863", "Func": "ix86_expand_copysign", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19512, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMTargetLowering", "::", "getNumInterleavedAccesses", "(", "VectorType", "*", "VecTy", ",", "const", "DataLayout", "&", "DL", ")", "const", "{", "return", "(", "DL", ".", "getTypeSizeInBits", "(", "VecTy", ")", "+", "127", ")", "/", "128", ";", "}", ""], "natrual_language": ["Returns", "the", "number", "of", "interleaved", "accesses", "that", "will", "be", "generated", "when", "lowering", "accesses", "of", "the", "given", "type", "."], "TS_V_token": ["ARM", "ARM", "127", "128"], "File": "ARMISelLowering (2)5", "Func": "getNumInterleavedAccesses", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19513, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsCodeEmitter", "::", "emitInstruction", "(", "const", "MachineInstr", "&", "MI", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"JIT: \"", "<<", "(", "void", "*", ")", "MCE", ".", "getCurrentPCValue", "(", ")", "<<", "\":\\t\"", "<<", "MI", ")", ";", "MCE", ".", "processDebugLoc", "(", "MI", ".", "getDebugLoc", "(", ")", ",", "true", ")", ";", "if", "(", "(", "MI", ".", "getDesc", "(", ")", ".", "TSFlags", "&", "MipsII", "::", "FormMask", ")", "==", "MipsII", "::", "Pseudo", ")", "return", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "Mips", "::", "USW", ":", "NumEmitted", "+=", "emitUSW", "(", "MI", ")", ";", "break", ";", "case", "Mips", "::", "ULW", ":", "NumEmitted", "+=", "emitULW", "(", "MI", ")", ";", "break", ";", "case", "Mips", "::", "ULH", ":", "NumEmitted", "+=", "emitULH", "(", "MI", ")", ";", "break", ";", "case", "Mips", "::", "ULHu", ":", "NumEmitted", "+=", "emitULHu", "(", "MI", ")", ";", "break", ";", "case", "Mips", "::", "USH", ":", "NumEmitted", "+=", "emitUSH", "(", "MI", ")", ";", "break", ";", "default", ":", "emitWordLE", "(", "getBinaryCodeForInstr", "(", "MI", ")", ")", ";", "++", "NumEmitted", ";", "break", ";", "}", "MCE", ".", "processDebugLoc", "(", "MI", ".", "getDebugLoc", "(", ")", ",", "false", ")", ";", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["Mips", "Mips", "\"JIT: \"", "\":\\t\"", "MipsII::FormMask", "MipsII::Pseudo", "Mips::USW", "Mips::ULW", "Mips::ULH", "Mips::ULHu", "Mips::USH"], "File": "MipsCodeEmitter14", "Func": "emitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19514, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "&", "SrcReg", ",", "unsigned", "&", "SrcReg2", ",", "int", "&", "CmpMask", ",", "int", "&", "CmpValue", ")", "const", "{", "assert", "(", "MI", ".", "getNumOperands", "(", ")", ">=", "2", "&&", "\"All AArch64 cmps should have 2 operands\"", ")", ";", "if", "(", "!", "MI", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", ")", "return", "false", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "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", "2", "\"All AArch64 cmps should have 2 operands\"", "1", "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": "AArch64InstrInfo (2)", "Func": "analyzeCompare", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19515, "Length": 303, "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", "::", "ADDE", ":", "return", "PerformADDECombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SUBE", ":", "return", "PerformSUBECombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "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::ADDE", "ISD::SUBE", "ISD::SDIVREM", "ISD::UDIVREM", "ISD::SELECT", "ISD::AND", "ISD::OR"], "File": "MipsISelLowering (2)3", "Func": "PerformDAGCombine", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19516, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isToken", "(", ")", "const", "override", "{", "return", "Kind", "==", "k_Token", ";", "}", ""], "natrual_language": ["isToken", "-", "Is", "this", "a", "token", "operand", "?"], "TS_V_token": ["Sparc"], "File": "SparcAsmParser", "Func": "isToken", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19517, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "flags", "(", ")", "const", "{", "return", "0x0", ";", "}", ""], "natrual_language": ["Get", "the", "flags", "for", "this", "GlobalValue", "(", "see", "struct", "GVFlags", ")", "."], "TS_V_token": ["X86", "0x0"], "File": "X86GNUInfo", "Func": "flags", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19518, "Length": 10, "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": 19519, "Length": 33, "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": 19520, "Length": 98, "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", ":", "case", "Mips", "::", "DSLL_MM64R6", ":", "case", "Mips", "::", "DSRL_MM64R6", ":", "case", "Mips", "::", "DSRA_MM64R6", ":", "case", "Mips", "::", "DROTR_MM64R6", ":", "LowerLargeShift", "(", "TmpInst", ")", ";", "break", ";", "case", "Mips", "::", "DINS", ":", "LowerDins", "(", "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", ")", ";", "unsigned", "Opcode", "=", "TmpInst", ".", "getOpcode", "(", ")", ";", "if", "(", "(", "Opcode", "!=", "Mips", "::", "NOP", ")", "&&", "(", "Opcode", "!=", "Mips", "::", "SLL", ")", "&&", "(", "Opcode", "!=", "Mips", "::", "SLL_MM", ")", "&&", "!", "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", "(", ")", ";", "Opcode", "=", "NewOpcode", ";", "TmpInst", ".", "setOpcode", "(", "NewOpcode", ")", ";", "Binary", "=", "getBinaryCodeForInstr", "(", "TmpInst", ",", "Fixups", ",", "STI", ")", ";", "}", "}", "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::DSLL_MM64R6", "Mips::DSRL_MM64R6", "Mips::DSRA_MM64R6", "Mips::DROTR_MM64R6", "Mips::DINS", "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", "\"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", "\"Desc.getSize() returns 0\""], "File": "MipsMCCodeEmitter15", "Func": "encodeInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19521, "Length": 397, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZPostRASchedStrategy", "::", "releaseTopNode", "(", "SUnit", "*", "SU", ")", "{", "const", "MCSchedClassDesc", "*", "SC", "=", "DAG", "->", "getSchedClass", "(", "SU", ")", ";", "bool", "AffectsGrouping", "=", "(", "SC", "->", "isValid", "(", ")", "&&", "(", "SC", "->", "BeginGroup", "||", "SC", "->", "EndGroup", ")", ")", ";", "SU", "->", "isScheduleHigh", "=", "(", "AffectsGrouping", "||", "SU", "->", "isUnbuffered", ")", ";", "Available", ".", "insert", "(", "SU", ")", ";", "}", ""], "natrual_language": ["SU", "has", "had", "all", "predecessor", "dependencies", "resolved", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZMachineScheduler13", "Func": "releaseTopNode", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19522, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMConstantIslands", "::", "verify", "(", ")", "{", "for", "(", "MachineFunction", "::", "iterator", "MBBI", "=", "MF", "->", "begin", "(", ")", ",", "E", "=", "MF", "->", "end", "(", ")", ";", "MBBI", "!=", "E", ";", "++", "MBBI", ")", "{", "MachineBasicBlock", "*", "MBB", "=", "MBBI", ";", "unsigned", "Align", "=", "MBB", "->", "getAlignment", "(", ")", ";", "unsigned", "MBBId", "=", "MBB", "->", "getNumber", "(", ")", ";", "assert", "(", "BBInfo", "[", "MBBId", "]", ".", "Offset", "%", "(", "1u", "<<", "Align", ")", "==", "0", ")", ";", "assert", "(", "!", "MBBId", "||", "BBInfo", "[", "MBBId", "-", "1", "]", ".", "postOffset", "(", ")", "<=", "BBInfo", "[", "MBBId", "]", ".", "Offset", ")", ";", "}", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CPUsers", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CPUser", "&", "U", "=", "CPUsers", "[", "i", "]", ";", "unsigned", "UserOffset", "=", "GetUserOffset", "(", "U", ")", ";", "assert", "(", "CPEIsInRange", "(", "U", ".", "MI", ",", "UserOffset", ",", "U", ".", "CPEMI", ",", "U", ".", "getMaxDisp", "(", ")", ",", "U", ".", "NegOk", ")", "&&", "\"Constant pool entry out of range!\"", ")", ";", "}", "}", ""], "natrual_language": ["Check", "if", "this", "register", "bank", "is", "valid", "."], "TS_V_token": ["ARM", "ARM", "1u", "0", "1", "0", "\"Constant pool entry out of range!\""], "File": "ARMConstantIslandPass51", "Func": "verify", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19523, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isFpMLxInstruction", "(", "unsigned", "Opcode", ",", "unsigned", "&", "MulOpc", ",", "unsigned", "&", "AddSubOpc", ",", "bool", "&", "NegAcc", ",", "bool", "&", "HasLane", ")", "const", "{", "DenseMap", "<", "unsigned", ",", "unsigned", ">", "::", "const_iterator", "I", "=", "MLxEntryMap", ".", "find", "(", "Opcode", ")", ";", "if", "(", "I", "==", "MLxEntryMap", ".", "end", "(", ")", ")", "return", "false", ";", "const", "ARM_MLxEntry", "&", "Entry", "=", "ARM_MLxTable", "[", "I", "->", "second", "]", ";", "MulOpc", "=", "Entry", ".", "MulOpc", ";", "AddSubOpc", "=", "Entry", ".", "AddSubOpc", ";", "NegAcc", "=", "Entry", ".", "NegAcc", ";", "HasLane", "=", "Entry", ".", "HasLane", ";", "return", "true", ";", "}", ""], "natrual_language": ["isFpMLxInstruction", "-", "This", "version", "also", "returns", "the", "multiply", "opcode", "and", "the", "addition", "/", "subtraction", "opcode", "to", "expand", "to", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "ARMBaseInstrInfo (2)", "Func": "isFpMLxInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19524, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "addGlobalInstructionSelect", "(", ")", "{", "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": ["X86", "X86"], "File": "X86TargetMachine133", "Func": "addGlobalInstructionSelect", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19525, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Thumb IT blocks insertion pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"Thumb IT blocks insertion pass\""], "File": "Thumb2ITBlockPass31", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19526, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "gpr_or_gpr_p", "(", "rtx", "op0", ",", "rtx", "op1", ")", "{", "return", "(", "(", "REG_P", "(", "op0", ")", "&&", "INT_REGNO_P", "(", "REGNO", "(", "op0", ")", ")", ")", "||", "(", "REG_P", "(", "op1", ")", "&&", "INT_REGNO_P", "(", "REGNO", "(", "op1", ")", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "either", "operand", "is", "a", "general", "purpose", "register", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "gpr_or_gpr_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19527, "Length": 44, "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": 19528, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "xlogue_layout", "::", "count_stub_managed_regs", "(", ")", "{", "bool", "hfp", "=", "frame_pointer_needed", "||", "stack_realign_fp", ";", "unsigned", "i", ",", "count", ";", "unsigned", "regno", ";", "for", "(", "count", "=", "i", "=", "MIN_REGS", ";", "i", "<", "MAX_REGS", ";", "++", "i", ")", "{", "regno", "=", "REG_ORDER", "[", "i", "]", ";", "if", "(", "regno", "==", "BP_REG", "&&", "hfp", ")", "continue", ";", "if", "(", "!", "ix86_save_reg", "(", "regno", ",", "false", ",", "false", ")", ")", "break", ";", "++", "count", ";", "}", "return", "count", ";", "}", ""], "natrual_language": ["Determine", "how", "many", "clobbered", "registers", "can", "be", "saved", "by", "the", "stub", ".", "Returns", "the", "count", "of", "registers", "the", "stub", "will", "save", "and", "restore", "."], "TS_V_token": ["i386"], "File": "i386-features", "Func": "count_stub_managed_regs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19529, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64InstrInfo", "::", "getLoadStoreImmIdx", "(", "unsigned", "Opc", ")", "{", "switch", "(", "Opc", ")", "{", "default", ":", "return", "2", ";", "case", "AArch64", "::", "LDPXi", ":", "case", "AArch64", "::", "LDPDi", ":", "case", "AArch64", "::", "STPXi", ":", "case", "AArch64", "::", "STPDi", ":", "case", "AArch64", "::", "LDNPXi", ":", "case", "AArch64", "::", "LDNPDi", ":", "case", "AArch64", "::", "STNPXi", ":", "case", "AArch64", "::", "STNPDi", ":", "case", "AArch64", "::", "LDPQi", ":", "case", "AArch64", "::", "STPQi", ":", "case", "AArch64", "::", "LDNPQi", ":", "case", "AArch64", "::", "STNPQi", ":", "case", "AArch64", "::", "LDPWi", ":", "case", "AArch64", "::", "LDPSi", ":", "case", "AArch64", "::", "STPWi", ":", "case", "AArch64", "::", "STPSi", ":", "case", "AArch64", "::", "LDNPWi", ":", "case", "AArch64", "::", "LDNPSi", ":", "case", "AArch64", "::", "STNPWi", ":", "case", "AArch64", "::", "STNPSi", ":", "case", "AArch64", "::", "LDG", ":", "case", "AArch64", "::", "STGPi", ":", "case", "AArch64", "::", "LD1B_IMM", ":", "case", "AArch64", "::", "LD1H_IMM", ":", "case", "AArch64", "::", "LD1W_IMM", ":", "case", "AArch64", "::", "LD1D_IMM", ":", "case", "AArch64", "::", "ST1B_IMM", ":", "case", "AArch64", "::", "ST1H_IMM", ":", "case", "AArch64", "::", "ST1W_IMM", ":", "case", "AArch64", "::", "ST1D_IMM", ":", "case", "AArch64", "::", "LD1B_H_IMM", ":", "case", "AArch64", "::", "LD1SB_H_IMM", ":", "case", "AArch64", "::", "LD1H_S_IMM", ":", "case", "AArch64", "::", "LD1SH_S_IMM", ":", "case", "AArch64", "::", "LD1W_D_IMM", ":", "case", "AArch64", "::", "LD1SW_D_IMM", ":", "case", "AArch64", "::", "ST1B_H_IMM", ":", "case", "AArch64", "::", "ST1H_S_IMM", ":", "case", "AArch64", "::", "ST1W_D_IMM", ":", "case", "AArch64", "::", "LD1B_S_IMM", ":", "case", "AArch64", "::", "LD1SB_S_IMM", ":", "case", "AArch64", "::", "LD1H_D_IMM", ":", "case", "AArch64", "::", "LD1SH_D_IMM", ":", "case", "AArch64", "::", "ST1B_S_IMM", ":", "case", "AArch64", "::", "ST1H_D_IMM", ":", "case", "AArch64", "::", "LD1B_D_IMM", ":", "case", "AArch64", "::", "LD1SB_D_IMM", ":", "case", "AArch64", "::", "ST1B_D_IMM", ":", "case", "AArch64", "::", "LD1RB_IMM", ":", "case", "AArch64", "::", "LD1RB_H_IMM", ":", "case", "AArch64", "::", "LD1RB_S_IMM", ":", "case", "AArch64", "::", "LD1RB_D_IMM", ":", "case", "AArch64", "::", "LD1RSB_H_IMM", ":", "case", "AArch64", "::", "LD1RSB_S_IMM", ":", "case", "AArch64", "::", "LD1RSB_D_IMM", ":", "case", "AArch64", "::", "LD1RH_IMM", ":", "case", "AArch64", "::", "LD1RH_S_IMM", ":", "case", "AArch64", "::", "LD1RH_D_IMM", ":", "case", "AArch64", "::", "LD1RSH_S_IMM", ":", "case", "AArch64", "::", "LD1RSH_D_IMM", ":", "case", "AArch64", "::", "LD1RW_IMM", ":", "case", "AArch64", "::", "LD1RW_D_IMM", ":", "case", "AArch64", "::", "LD1RSW_IMM", ":", "case", "AArch64", "::", "LD1RD_IMM", ":", "return", "3", ";", "case", "AArch64", "::", "ADDG", ":", "case", "AArch64", "::", "STGOffset", ":", "case", "AArch64", "::", "LDR_PXI", ":", "case", "AArch64", "::", "STR_PXI", ":", "return", "2", ";", "}", "}", ""], "natrual_language": ["Returns", "the", "index", "for", "the", "immediate", "for", "a", "given", "instruction", "."], "TS_V_token": ["AArch64", "AArch64", "2", "AArch64::LDPXi", "AArch64::LDPDi", "AArch64::STPXi", "AArch64::STPDi", "AArch64::LDNPXi", "AArch64::LDNPDi", "AArch64::STNPXi", "AArch64::STNPDi", "AArch64::LDPQi", "AArch64::STPQi", "AArch64::LDNPQi", "AArch64::STNPQi", "AArch64::LDPWi", "AArch64::LDPSi", "AArch64::STPWi", "AArch64::STPSi", "AArch64::LDNPWi", "AArch64::LDNPSi", "AArch64::STNPWi", "AArch64::STNPSi", "AArch64::LDG", "AArch64::STGPi", "AArch64::LD1B_IMM", "AArch64::LD1H_IMM", "AArch64::LD1W_IMM", "AArch64::LD1D_IMM", "AArch64::ST1B_IMM", "AArch64::ST1H_IMM", "AArch64::ST1W_IMM", "AArch64::ST1D_IMM", "AArch64::LD1B_H_IMM", "AArch64::LD1SB_H_IMM", "AArch64::LD1H_S_IMM", "AArch64::LD1SH_S_IMM", "AArch64::LD1W_D_IMM", "AArch64::LD1SW_D_IMM", "AArch64::ST1B_H_IMM", "AArch64::ST1H_S_IMM", "AArch64::ST1W_D_IMM", "AArch64::LD1B_S_IMM", "AArch64::LD1SB_S_IMM", "AArch64::LD1H_D_IMM", "AArch64::LD1SH_D_IMM", "AArch64::ST1B_S_IMM", "AArch64::ST1H_D_IMM", "AArch64::LD1B_D_IMM", "AArch64::LD1SB_D_IMM", "AArch64::ST1B_D_IMM", "AArch64::LD1RB_IMM", "AArch64::LD1RB_H_IMM", "AArch64::LD1RB_S_IMM", "AArch64::LD1RB_D_IMM", "AArch64::LD1RSB_H_IMM", "AArch64::LD1RSB_S_IMM", "AArch64::LD1RSB_D_IMM", "AArch64::LD1RH_IMM", "AArch64::LD1RH_S_IMM", "AArch64::LD1RH_D_IMM", "AArch64::LD1RSH_S_IMM", "AArch64::LD1RSH_D_IMM", "AArch64::LD1RW_IMM", "AArch64::LD1RW_D_IMM", "AArch64::LD1RSW_IMM", "AArch64::LD1RD_IMM", "3", "AArch64::ADDG", "AArch64::STGOffset", "AArch64::LDR_PXI", "AArch64::STR_PXI", "2"], "File": "AArch64InstrInfo105", "Func": "getLoadStoreImmIdx", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19530, "Length": 367, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "LanaiRegisterInfo", "::", "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": ["Lanai", "Lanai"], "File": "LanaiRegisterInfo", "Func": "getCallPreservedMask", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19531, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "addInstruction", "(", "TagStoreInstr", "I", ")", "{", "assert", "(", "(", "TagStores", ".", "empty", "(", ")", "||", "TagStores", ".", "back", "(", ")", ".", "Offset", "+", "TagStores", ".", "back", "(", ")", ".", "Size", "==", "I", ".", "Offset", ")", "&&", "\"Non-adjacent tag store instructions.\"", ")", ";", "TagStores", ".", "push_back", "(", "I", ")", ";", "}", ""], "natrual_language": ["Record", "pressure", "difference", "induced", "by", "the", "given", "operand", "list", "to", "node", "with", "index", "Idx", "."], "TS_V_token": ["AArch64", "\"Non-adjacent tag store instructions.\""], "File": "AArch64FrameLowering (2)1", "Func": "addInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19532, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mem_ok_for_ldrd_strd", "(", "rtx", "mem", ",", "rtx", "*", "base", ",", "rtx", "*", "offset", ",", "HOST_WIDE_INT", "*", "align", ")", "{", "rtx", "addr", ";", "gcc_assert", "(", "base", "!=", "NULL", "&&", "offset", "!=", "NULL", ")", ";", "if", "(", "side_effects_p", "(", "mem", ")", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "mem", ")", "==", "SUBREG", ")", "return", "false", ";", "gcc_assert", "(", "MEM_P", "(", "mem", ")", ")", ";", "*", "offset", "=", "const0_rtx", ";", "*", "align", "=", "MEM_ALIGN", "(", "mem", ")", ";", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "if", "(", "!", "arm_legitimate_address_p", "(", "DImode", ",", "addr", ",", "reload_in_progress", "||", "reload_completed", ")", ")", "return", "false", ";", "if", "(", "REG_P", "(", "addr", ")", ")", "{", "*", "base", "=", "addr", ";", "return", "true", ";", "}", "else", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", "||", "GET_CODE", "(", "addr", ")", "==", "MINUS", ")", "{", "*", "base", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "*", "offset", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "return", "(", "REG_P", "(", "*", "base", ")", "&&", "CONST_INT_P", "(", "*", "offset", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Helper", "for", "gen_operands_ldrd_strd", ".", "Returns", "true", "iff", "the", "memory", "operand", "MEM", "'s", "address", "contains", "an", "immediate", "offset", "from", "the", "base", "register", "and", "has", "no", "side", "effects", ",", "in", "which", "case", "it", "sets", "BASE", "and", "OFFSET", "accordingly", "."], "TS_V_token": ["arm", "0", "0", "1"], "File": "arm7", "Func": "mem_ok_for_ldrd_strd", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19533, "Length": 178, "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": 19534, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "SetupMachineFunction", "(", "MF", ")", ";", "if", "(", "Subtarget", "->", "isTargetCOFF", "(", ")", "&&", "!", "Subtarget", "->", "isTargetEnvMacho", "(", ")", ")", "{", "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", "(", ")", ";", "}", "EmitFunctionHeader", "(", ")", ";", "EmitFunctionBody", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86"], "File": "X86AsmPrinter101", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19535, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_prepare_sve_cond_int_fma", "(", "rtx", "*", "operands", ",", "rtx_code", "code", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", ";", "if", "(", "rtx", "shifts", "=", "aarch64_convert_mult_to_shift", "(", "operands", "[", "3", "]", ",", "code", ")", ")", "{", "rtx", "product", "=", "expand_binop", "(", "mode", ",", "vashl_optab", ",", "operands", "[", "2", "]", ",", "shifts", ",", "NULL_RTX", ",", "true", ",", "OPTAB_DIRECT", ")", ";", "emit_insn", "(", "gen_cond", "(", "code", ",", "mode", ",", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ",", "operands", "[", "4", "]", ",", "product", ",", "operands", "[", "5", "]", ")", ")", ";", "return", "true", ";", "}", "operands", "[", "3", "]", "=", "force_reg", "(", "mode", ",", "operands", "[", "3", "]", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Likewise", ",", "but", "for", "a", "conditional", "pattern", "."], "TS_V_token": ["aarch64", "0", "3", "2", "0", "1", "4", "5", "3", "3"], "File": "aarch64", "Func": "aarch64_prepare_sve_cond_int_fma", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19536, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCPassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAtomicExpandPass", "(", "&", "getPPCTargetMachine", "(", ")", ")", ")", ";", "bool", "UsePrefetching", "=", "Triple", "(", "TM", "->", "getTargetTriple", "(", ")", ")", ".", "getVendor", "(", ")", "==", "Triple", "::", "BGQ", "&&", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ";", "if", "(", "EnablePrefetch", ".", "getNumOccurrences", "(", ")", ">", "0", ")", "UsePrefetching", "=", "EnablePrefetch", ";", "if", "(", "UsePrefetching", ")", "addPass", "(", "createPPCLoopDataPrefetchPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "Aggressive", "&&", "EnableGEPOpt", ")", "{", "addPass", "(", "createSeparateConstOffsetFromGEPPass", "(", "TM", ",", "true", ")", ")", ";", "addPass", "(", "createEarlyCSEPass", "(", ")", ")", ";", "addPass", "(", "createLICMPass", "(", ")", ")", ";", "}", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "0", "PPC"], "File": "PPCTargetMachine32", "Func": "addIRPasses", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19537, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "vr4130_swap_insns_p", "(", "rtx", "insn1", ",", "rtx", "insn2", ")", "{", "rtx", "dep", ";", "for", "(", "dep", "=", "INSN_DEPEND", "(", "insn1", ")", ";", "dep", "!=", "0", ";", "dep", "=", "XEXP", "(", "dep", ",", "1", ")", ")", "if", "(", "REG_NOTE_KIND", "(", "dep", ")", "==", "REG_DEP_ANTI", "&&", "INSN_PRIORITY", "(", "XEXP", "(", "dep", ",", "0", ")", ")", ">", "INSN_PRIORITY", "(", "insn2", ")", "&&", "recog_memoized", "(", "XEXP", "(", "dep", ",", "0", ")", ")", ">=", "0", "&&", "get_attr_vr4130_class", "(", "XEXP", "(", "dep", ",", "0", ")", ")", "==", "VR4130_CLASS_ALU", ")", "return", "false", ";", "if", "(", "vr4130_last_insn", "!=", "0", "&&", "recog_memoized", "(", "insn1", ")", ">=", "0", "&&", "recog_memoized", "(", "insn2", ")", ">=", "0", ")", "{", "enum", "attr_vr4130_class", "class1", "=", "get_attr_vr4130_class", "(", "insn1", ")", ";", "enum", "attr_vr4130_class", "class2", "=", "get_attr_vr4130_class", "(", "insn2", ")", ";", "if", "(", "class1", "!=", "class2", "||", "class1", "==", "VR4130_CLASS_ALU", ")", "{", "bool", "dep1", "=", "vr4130_true_reg_dependence_p", "(", "insn1", ")", ";", "bool", "dep2", "=", "vr4130_true_reg_dependence_p", "(", "insn2", ")", ";", "if", "(", "dep1", "!=", "dep2", ")", "return", "dep1", ";", "if", "(", "class1", "!=", "VR4130_CLASS_ALU", "&&", "recog_memoized", "(", "vr4130_last_insn", ")", ">=", "0", "&&", "class1", "==", "get_attr_vr4130_class", "(", "vr4130_last_insn", ")", ")", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["A", "TUNE_MIPS4130", "helper", "function", ".", "Given", "that", "INSN1", "is", "at", "the", "head", "of", "the", "ready", "queue", "and", "that", "INSN2", "is", "the", "instruction", "after", "it", ",", "return", "true", "if", "it", "is", "worth", "promoting", "INSN2", "ahead", "of", "INSN1", ".", "Look", "for", "cases", "in", "which", "INSN1", "and", "INSN2", "can", "probably", "issue", "in", "parallel", ",", "but", "for", "which", "(", "INSN2", ",", "INSN1", ")", "should", "be", "less", "sensitive", "to", "instruction", "alignment", "than", "(", "INSN1", ",", "INSN2", ")", ".", "See", "4130.md", "for", "more", "details", "."], "TS_V_token": ["mips", "0", "1", "0", "0", "0", "0", "0", "0", "0", "0"], "File": "mips3", "Func": "vr4130_swap_insns_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19538, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isVirtualSection", "(", "const", "MCSection", "&", "Section", ")", "const", "{", "const", "MCSectionMachO", "&", "SMO", "=", "static_cast", "<", "const", "MCSectionMachO", "&", ">", "(", "Section", ")", ";", "return", "(", "SMO", ".", "getType", "(", ")", "==", "MCSectionMachO", "::", "S_ZEROFILL", "||", "SMO", ".", "getType", "(", ")", "==", "MCSectionMachO", "::", "S_GB_ZEROFILL", ")", ";", "}", ""], "natrual_language": ["Check", "whether", "this", "section", "is", "``", "virtual", "''", ",", "that", "is", "has", "no", "actual", "object", "file", "contents", "."], "TS_V_token": ["X86"], "File": "X86AsmBackend9", "Func": "isVirtualSection", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19539, "Length": 49, "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": ["Sparc"], "File": "SparcAsmParser", "Func": "getStartLoc", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19540, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "thumb_pushpop", "(", "FILE", "*", "f", ",", "unsigned", "long", "mask", ",", "int", "push", ",", "int", "*", "cfa_offset", ",", "unsigned", "long", "real_regs", ")", "{", "int", "regno", ";", "int", "lo_mask", "=", "mask", "&", "0xFF", ";", "int", "pushed_words", "=", "0", ";", "gcc_assert", "(", "mask", ")", ";", "if", "(", "lo_mask", "==", "0", "&&", "!", "push", "&&", "(", "mask", "&", "(", "1", "<<", "PC_REGNUM", ")", ")", ")", "{", "thumb_exit", "(", "f", ",", "-", "1", ")", ";", "return", ";", "}", "if", "(", "ARM_EABI_UNWIND_TABLES", "&&", "push", ")", "{", "fprintf", "(", "f", ",", "\"\\t.save\\t{\"", ")", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "15", ";", "regno", "++", ")", "{", "if", "(", "real_regs", "&", "(", "1", "<<", "regno", ")", ")", "{", "if", "(", "real_regs", "&", "(", "(", "1", "<<", "regno", ")", "-", "1", ")", ")", "fprintf", "(", "f", ",", "\", \"", ")", ";", "asm_fprintf", "(", "f", ",", "\"%r\"", ",", "regno", ")", ";", "}", "}", "fprintf", "(", "f", ",", "\"}\\n\"", ")", ";", "}", "fprintf", "(", "f", ",", "\"\\t%s\\t{\"", ",", "push", "?", "\"push\"", ":", "\"pop\"", ")", ";", "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", ",", "\", \"", ")", ";", "pushed_words", "++", ";", "}", "}", "if", "(", "push", "&&", "(", "mask", "&", "(", "1", "<<", "LR_REGNUM", ")", ")", ")", "{", "if", "(", "mask", "&", "0xFF", ")", "fprintf", "(", "f", ",", "\", \"", ")", ";", "asm_fprintf", "(", "f", ",", "\"%r\"", ",", "LR_REGNUM", ")", ";", "pushed_words", "++", ";", "}", "else", "if", "(", "!", "push", "&&", "(", "mask", "&", "(", "1", "<<", "PC_REGNUM", ")", ")", ")", "{", "if", "(", "TARGET_INTERWORK", "||", "TARGET_BACKTRACE", "||", "current_function_calls_eh_return", ")", "{", "fprintf", "(", "f", ",", "\"}\\n\"", ")", ";", "thumb_exit", "(", "f", ",", "-", "1", ")", ";", "return", ";", "}", "else", "{", "if", "(", "mask", "&", "0xFF", ")", "fprintf", "(", "f", ",", "\", \"", ")", ";", "asm_fprintf", "(", "f", ",", "\"%r\"", ",", "PC_REGNUM", ")", ";", "}", "}", "fprintf", "(", "f", ",", "\"}\\n\"", ")", ";", "if", "(", "push", "&&", "pushed_words", "&&", "dwarf2out_do_frame", "(", ")", ")", "{", "char", "*", "l", "=", "dwarf2out_cfi_label", "(", ")", ";", "int", "pushed_mask", "=", "real_regs", ";", "*", "cfa_offset", "+=", "pushed_words", "*", "4", ";", "dwarf2out_def_cfa", "(", "l", ",", "SP_REGNUM", ",", "*", "cfa_offset", ")", ";", "pushed_words", "=", "0", ";", "pushed_mask", "=", "real_regs", ";", "for", "(", "regno", "=", "0", ";", "regno", "<=", "14", ";", "regno", "++", ",", "pushed_mask", ">>=", "1", ")", "{", "if", "(", "pushed_mask", "&", "1", ")", "dwarf2out_reg_save", "(", "l", ",", "regno", ",", "4", "*", "pushed_words", "++", "-", "*", "cfa_offset", ")", ";", "}", "}", "}", ""], "natrual_language": ["Emit", "code", "to", "push", "or", "pop", "registers", "to", "or", "from", "the", "stack", ".", "F", "is", "the", "assembly", "file", ".", "MASK", "is", "the", "registers", "to", "push", "or", "pop", ".", "PUSH", "is", "nonzero", "if", "we", "should", "push", ",", "and", "zero", "if", "we", "should", "pop", ".", "For", "debugging", "output", ",", "if", "pushing", ",", "adjust", "CFA_OFFSET", "by", "the", "amount", "of", "space", "added", "to", "the", "stack", ".", "REAL_REGS", "should", "have", "the", "same", "number", "of", "bits", "set", "as", "MASK", ",", "and", "will", "be", "used", "instead", "(", "in", "the", "same", "order", ")", "to", "describe", "which", "registers", "were", "saved", "-", "this", "is", "used", "to", "mark", "the", "save", "slots", "when", "we", "push", "high", "registers", "after", "moving", "them", "to", "low", "registers", "."], "TS_V_token": ["arm", "0xFF", "0", "0", "1", "1", "\"\\t.save\\t{\"", "0", "15", "1", "1", "1", "\", \"", "\"%r\"", "\"}\\n\"", "\"\\t%s\\t{\"", "\"push\"", "\"pop\"", "0", "1", "1", "\"%r\"", "1", "0", "\", \"", "1", "0xFF", "\", \"", "\"%r\"", "1", "\"}\\n\"", "1", "0xFF", "\", \"", "\"%r\"", "\"}\\n\"", "4", "0", "0", "14", "1", "1", "4"], "File": "arm3", "Func": "thumb_pushpop", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19541, "Length": 433, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsLongBranch", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "if", "(", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "&&", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "isABI_O32", "(", ")", "&&", "F", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", "->", "globalBaseRegSet", "(", ")", ")", "emitGPDisp", "(", "F", ",", "TII", ")", ";", "if", "(", "SkipLongBranch", ")", "return", "true", ";", "MF", "=", "&", "F", ";", "initMBBInfo", "(", ")", ";", "bool", "IsPIC", "=", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", ";", "SmallVector", "<", "MBBInfo", ",", "16", ">", "::", "iterator", "I", ",", "E", "=", "MBBInfos", ".", "end", "(", ")", ";", "bool", "EverMadeChange", "=", "false", ",", "MadeChange", "=", "true", ";", "while", "(", "MadeChange", ")", "{", "MadeChange", "=", "false", ";", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "!", "I", "->", "Br", "||", "I", "->", "HasLongBranch", ")", "continue", ";", "if", "(", "!", "ForceLongBranch", ")", "{", "int64_t", "Offset", "=", "computeOffset", "(", "I", "->", "Br", ")", ";", "if", "(", "(", "I", "->", "Br", "->", "isConditionalBranch", "(", ")", "||", "IsPIC", ")", "&&", "isInt", "<", "16", ">", "(", "Offset", "/", "4", ")", ")", "continue", ";", "if", "(", "I", "->", "Br", "->", "isUnconditionalBranch", "(", ")", "&&", "!", "IsPIC", "&&", "isInt", "<", "26", ">", "(", "Offset", "/", "4", ")", ")", "continue", ";", "}", "expandToLongBranch", "(", "*", "I", ")", ";", "++", "LongBranches", ";", "EverMadeChange", "=", "MadeChange", "=", "true", ";", "}", "}", "if", "(", "EverMadeChange", ")", "MF", "->", "RenumberBlocks", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "16", "16", "4", "26", "4"], "File": "MipsLongBranch11", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19542, "Length": 254, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCTargetLowering", "::", "insertSSPDeclarations", "(", "Module", "&", "M", ")", "const", "{", "if", "(", "Subtarget", ".", "isAIXABI", "(", ")", ")", "{", "M", ".", "getOrInsertGlobal", "(", "AIXSSPCanaryWordName", ",", "Type", "::", "getInt8PtrTy", "(", "M", ".", "getContext", "(", ")", ")", ")", ";", "return", ";", "}", "if", "(", "!", "Subtarget", ".", "isTargetLinux", "(", ")", ")", "return", "TargetLowering", "::", "insertSSPDeclarations", "(", "M", ")", ";", "}", ""], "natrual_language": ["Inserts", "necessary", "declarations", "for", "SSP", "(", "stack", "protection", ")", "purpose", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCISelLowering109", "Func": "insertSSPDeclarations", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19543, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "tree", "def_builtin_const2", "(", "HOST_WIDE_INT", "mask", ",", "const", "char", "*", "name", ",", "enum", "ix86_builtin_func_type", "tcode", ",", "enum", "ix86_builtins", "code", ")", "{", "tree", "decl", "=", "def_builtin2", "(", "mask", ",", "name", ",", "tcode", ",", "code", ")", ";", "if", "(", "decl", ")", "TREE_READONLY", "(", "decl", ")", "=", "1", ";", "else", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "const_p", "=", "true", ";", "return", "decl", ";", "}", ""], "natrual_language": ["Like", "def_builtin", ",", "but", "also", "marks", "the", "function", "decl", "``", "const", "''", "."], "TS_V_token": ["i386", "1"], "File": "i3866", "Func": "def_builtin_const2", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19544, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "analyzeSelect", "(", "const", "MachineInstr", "*", "MI", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "unsigned", "&", "TrueOp", ",", "unsigned", "&", "FalseOp", ",", "bool", "&", "Optimizable", ")", "const", "{", "assert", "(", "(", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "MOVCCr", "||", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2MOVCCr", ")", "&&", "\"Unknown select instruction\"", ")", ";", "TrueOp", "=", "1", ";", "FalseOp", "=", "2", ";", "Cond", ".", "push_back", "(", "MI", "->", "getOperand", "(", "3", ")", ")", ";", "Cond", ".", "push_back", "(", "MI", "->", "getOperand", "(", "4", ")", ")", ";", "Optimizable", "=", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Analyze", "the", "given", "select", "instruction", ",", "returning", "true", "if", "it", "can", "not", "be", "understood", "."], "TS_V_token": ["ARM", "ARM", "ARM::MOVCCr", "ARM::t2MOVCCr", "\"Unknown select instruction\"", "1", "2", "3", "4"], "File": "ARMBaseInstrInfo (2)", "Func": "analyzeSelect", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19545, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "unspec_cmla", "(", "int", "rot", ")", "{", "switch", "(", "rot", ")", "{", "case", "0", ":", "return", "UNSPEC_CMLA", ";", "case", "90", ":", "return", "UNSPEC_CMLA90", ";", "case", "180", ":", "return", "UNSPEC_CMLA180", ";", "case", "270", ":", "return", "UNSPEC_CMLA270", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "UNSPEC_CMLA", "*", "unspec", "for", "rotation", "amount", "ROT", "."], "TS_V_token": ["aarch64", "0", "90", "180", "270"], "File": "aarch64-sve-builtins-base", "Func": "unspec_cmla", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19546, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "csky_class_likely_spilled_p", "(", "reg_class_t", "rclass", ")", "{", "if", "(", "(", "TARGET_MINI_REGISTERS", "&&", "rclass", "==", "MINI_REGS", ")", "||", "rclass", "==", "C_REGS", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CLASS_LIKELY_SPILLED_P", ".", "We", "need", "to", "define", "this", "for", "MINI_REGS", "when", "we", "only", "use", "r0", "-", "r7", ".", "Otherwise", "we", "can", "end", "up", "using", "r0-r4", "for", "function", "arguments", ",", "and", "do", "n't", "have", "enough", "left", "over", "to", "do", "doubleword", "arithmetic", "."], "TS_V_token": ["csky"], "File": "csky", "Func": "csky_class_likely_spilled_p", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19547, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "TOYRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "TOY", "::", "SP", ")", ";", "Reserved", ".", "set", "(", "TOY", "::", "LR", ")", ";", "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": ["TOY", "TOY", "TOY::SP", "TOY::LR"], "File": "TOYRegisterInfo1", "Func": "getReservedRegs", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19548, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "def_builtin", "(", "const", "char", "*", "name", ",", "tree", "type", ",", "enum", "rs6000_builtins", "code", ")", "{", "tree", "t", ";", "unsigned", "classify", "=", "rs6000_builtin_info", "[", "(", "int", ")", "code", "]", ".", "attr", ";", "const", "char", "*", "attr_string", "=", "\"\"", ";", "gcc_assert", "(", "name", "!=", "NULL", ")", ";", "gcc_assert", "(", "IN_RANGE", "(", "(", "int", ")", "code", ",", "0", ",", "(", "int", ")", "RS6000_BUILTIN_COUNT", ")", ")", ";", "if", "(", "rs6000_builtin_decls", "[", "(", "int", ")", "code", "]", ")", "fatal_error", "(", "input_location", ",", "\"internal error: builtin function %s already processed\"", ",", "name", ")", ";", "rs6000_builtin_decls", "[", "(", "int", ")", "code", "]", "=", "t", "=", "add_builtin_function", "(", "name", ",", "type", ",", "(", "int", ")", "code", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "if", "(", "(", "classify", "&", "RS6000_BTC_CONST", ")", "!=", "0", ")", "{", "TREE_READONLY", "(", "t", ")", "=", "1", ";", "TREE_NOTHROW", "(", "t", ")", "=", "1", ";", "attr_string", "=", "\", pure\"", ";", "}", "else", "if", "(", "(", "classify", "&", "RS6000_BTC_PURE", ")", "!=", "0", ")", "{", "DECL_PURE_P", "(", "t", ")", "=", "1", ";", "TREE_NOTHROW", "(", "t", ")", "=", "1", ";", "attr_string", "=", "\", const\"", ";", "}", "else", "if", "(", "(", "classify", "&", "RS6000_BTC_FP", ")", "!=", "0", ")", "{", "TREE_NOTHROW", "(", "t", ")", "=", "1", ";", "if", "(", "flag_rounding_math", ")", "{", "DECL_PURE_P", "(", "t", ")", "=", "1", ";", "DECL_IS_NOVOPS", "(", "t", ")", "=", "1", ";", "attr_string", "=", "\", fp, pure\"", ";", "}", "else", "{", "TREE_READONLY", "(", "t", ")", "=", "1", ";", "attr_string", "=", "\", fp, const\"", ";", "}", "}", "else", "if", "(", "(", "classify", "&", "RS6000_BTC_ATTR_MASK", ")", "!=", "0", ")", "gcc_unreachable", "(", ")", ";", "if", "(", "TARGET_DEBUG_BUILTIN", ")", "fprintf", "(", "stderr", ",", "\"rs6000_builtin, code = %4d, %s%s\\n\"", ",", "(", "int", ")", "code", ",", "name", ",", "attr_string", ")", ";", "}", ""], "natrual_language": ["Add", "a", "SPARC", "builtin", "function", "with", "NAME", ",", "ICODE", ",", "CODE", "and", "TYPE", ".", "Return", "the", "function", "decl", "or", "NULL_TREE", "if", "the", "builtin", "was", "not", "added", "."], "TS_V_token": ["rs6000", "\"\"", "0", "\"internal error: builtin function %s already processed\"", "0", "1", "1", "\", pure\"", "0", "1", "1", "\", const\"", "0", "1", "1", "1", "\", fp, pure\"", "1", "\", fp, const\"", "0", "\"rs6000_builtin, code = %4d, %s%s\\n\""], "File": "rs60004", "Func": "def_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19549, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLittleEndian", "(", ")", "const", "{", "return", "IsLittleEndian", ";", "}", ""], "natrual_language": ["Tests", "whether", "the", "target", "triple", "is", "little", "endian", "."], "TS_V_token": ["AArch64"], "File": "AArch64Subtarget50", "Func": "isLittleEndian", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19550, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_set_reg_reg_cost", "(", "machine_mode", "mode", ")", "{", "unsigned", "int", "units", "=", "UNITS_PER_WORD", ";", "switch", "(", "GET_MODE_CLASS", "(", "mode", ")", ")", "{", "default", ":", "break", ";", "case", "MODE_CC", ":", "units", "=", "GET_MODE_SIZE", "(", "CCmode", ")", ";", "break", ";", "case", "MODE_FLOAT", ":", "if", "(", "(", "TARGET_SSE", "&&", "mode", "==", "TFmode", ")", "||", "(", "TARGET_80387", "&&", "mode", "==", "XFmode", ")", "||", "(", "(", "TARGET_80387", "||", "TARGET_SSE2", ")", "&&", "mode", "==", "DFmode", ")", "||", "(", "(", "TARGET_80387", "||", "TARGET_SSE", ")", "&&", "mode", "==", "SFmode", ")", ")", "units", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "break", ";", "case", "MODE_COMPLEX_FLOAT", ":", "if", "(", "(", "TARGET_SSE", "&&", "mode", "==", "TCmode", ")", "||", "(", "TARGET_80387", "&&", "mode", "==", "XCmode", ")", "||", "(", "(", "TARGET_80387", "||", "TARGET_SSE2", ")", "&&", "mode", "==", "DCmode", ")", "||", "(", "(", "TARGET_80387", "||", "TARGET_SSE", ")", "&&", "mode", "==", "SCmode", ")", ")", "units", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "break", ";", "case", "MODE_VECTOR_INT", ":", "case", "MODE_VECTOR_FLOAT", ":", "if", "(", "(", "TARGET_AVX512F", "&&", "VALID_AVX512F_REG_MODE", "(", "mode", ")", ")", "||", "(", "TARGET_AVX", "&&", "VALID_AVX256_REG_MODE", "(", "mode", ")", ")", "||", "(", "TARGET_SSE2", "&&", "VALID_SSE2_REG_MODE", "(", "mode", ")", ")", "||", "(", "TARGET_SSE", "&&", "VALID_SSE_REG_MODE", "(", "mode", ")", ")", "||", "(", "(", "TARGET_MMX", "||", "TARGET_MMX_WITH_SSE", ")", "&&", "VALID_MMX_REG_MODE", "(", "mode", ")", ")", ")", "units", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "}", "return", "COSTS_N_INSNS", "(", "CEIL", "(", "GET_MODE_SIZE", "(", "mode", ")", ",", "units", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "moving", "between", "two", "registers", "of", "mode", "MODE", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_set_reg_reg_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19551, "Length": 226, "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": 19552, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips16_copy_fpr_return_value", "(", "void", ")", "{", "rtx", "fn", ",", "insn", ",", "retval", ";", "tree", "return_type", ";", "machine_mode", "return_mode", ";", "const", "char", "*", "name", ";", "return_type", "=", "DECL_RESULT", "(", "current_function_decl", ")", ";", "return_mode", "=", "DECL_MODE", "(", "return_type", ")", ";", "name", "=", "ACONCAT", "(", "(", "\"__mips16_ret_\"", ",", "mips16_call_stub_mode_suffix", "(", "return_mode", ")", ",", "NULL", ")", ")", ";", "fn", "=", "mips16_stub_function", "(", "name", ")", ";", "SYMBOL_REF_FLAGS", "(", "fn", ")", "|=", "SYMBOL_FLAG_BIND_NOW", ";", "retval", "=", "gen_rtx_REG", "(", "return_mode", ",", "GP_RETURN", ")", ";", "insn", "=", "mips_expand_call", "(", "MIPS_CALL_EPILOGUE", ",", "retval", ",", "fn", ",", "const0_rtx", ",", "NULL_RTX", ",", "false", ")", ";", "use_reg", "(", "&", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ",", "retval", ")", ";", "}", ""], "natrual_language": ["The", "current", "function", "is", "a", "MIPS16", "function", "that", "returns", "a", "value", "in", "an", "FPR", ".", "Copy", "the", "return", "value", "from", "its", "soft-float", "to", "its", "hard-float", "location", ".", "libgcc2", "has", "special", "non-MIPS16", "helper", "functions", "for", "each", "case", "."], "TS_V_token": ["mips", "\"__mips16_ret_\""], "File": "mips", "Func": "mips16_copy_fpr_return_value", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19553, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "OR1KRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", "&&", "\"Unexpected\"", ")", ";", "unsigned", "i", "=", "0", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "bool", "HasFP", "=", "TFI", "->", "hasFP", "(", "MF", ")", ";", "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", "(", ")", ";", "int", "Offset", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FrameIndex", ")", "+", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "!", "HasFP", "||", "(", "needsStackRealignment", "(", "MF", ")", "&&", "FrameIndex", ">=", "0", ")", ")", "Offset", "+=", "MF", ".", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "unsigned", "FrameReg", "=", "getFrameRegister", "(", "MF", ")", ";", "if", "(", "FrameIndex", ">=", "0", ")", "{", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "FrameReg", "=", "getBaseRegister", "(", ")", ";", "else", "if", "(", "needsStackRealignment", "(", "MF", ")", ")", "FrameReg", "=", "OR1K", "::", "R1", ";", "}", "if", "(", "!", "isInt", "<", "16", ">", "(", "Offset", ")", ")", "{", "assert", "(", "RS", "&&", "\"Register scavenging must be on\"", ")", ";", "unsigned", "Reg", "=", "RS", "->", "FindUnusedReg", "(", "&", "OR1K", "::", "GPRRegClass", ")", ";", "if", "(", "!", "Reg", ")", "Reg", "=", "RS", "->", "scavengeRegister", "(", "&", "OR1K", "::", "GPRRegClass", ",", "II", ",", "SPAdj", ")", ";", "assert", "(", "Reg", "&&", "\"Register scavenger failed\"", ")", ";", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "OR1K", "::", "MOVHI", ")", ",", "Reg", ")", ".", "addImm", "(", "(", "uint32_t", ")", "Offset", ">>", "16", ")", ";", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "OR1K", "::", "ORI", ")", ",", "Reg", ")", ".", "addReg", "(", "Reg", ")", ".", "addImm", "(", "Offset", "&", "0xffffU", ")", ";", "MI", ".", "setDesc", "(", "TII", ".", "get", "(", "OR1K", "::", "ADD", ")", ")", ";", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "Reg", ",", "false", ",", "false", ",", "true", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "ChangeToRegister", "(", "FrameReg", ",", "false", ")", ";", "return", ";", "}", "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": ["OR1K", "OR1K", "0", "\"Unexpected\"", "0", "\"Instr doesn't have FrameIndex operand!\"", "1", "0", "0", "OR1K::R1", "16", "\"Register scavenging must be on\"", "OR1K::GPRRegClass", "OR1K::GPRRegClass", "\"Register scavenger failed\"", "OR1K::MOVHI", "16", "OR1K::ORI", "0xffffU", "OR1K::ADD", "1", "1"], "File": "OR1KRegisterInfo", "Func": "eliminateFrameIndex", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19554, "Length": 445, "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", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "GetMemOperand", "(", "MBB", ",", "FI", ",", "MachineMemOperand", "::", "MOStore", ")", ";", "unsigned", "Opc", "=", "0", ";", "if", "(", "Mips", "::", "CPURegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opc", "=", "IsN64", "?", "Mips", "::", "SW_P8", ":", "Mips", "::", "SW", ";", "else", "if", "(", "Mips", "::", "CPU64RegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opc", "=", "IsN64", "?", "Mips", "::", "SD_P8", ":", "Mips", "::", "SD", ";", "else", "if", "(", "Mips", "::", "FGR32RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opc", "=", "IsN64", "?", "Mips", "::", "SWC1_P8", ":", "Mips", "::", "SWC1", ";", "else", "if", "(", "Mips", "::", "AFGR64RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opc", "=", "Mips", "::", "SDC1", ";", "else", "if", "(", "Mips", "::", "FGR64RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "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", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["Mips", "Mips", "0", "Mips::CPURegsRegClass", "Mips::SW_P8", "Mips::SW", "Mips::CPU64RegsRegClass", "Mips::SD_P8", "Mips::SD", "Mips::FGR32RegClass", "Mips::SWC1_P8", "Mips::SWC1", "Mips::AFGR64RegClass", "Mips::SDC1", "Mips::FGR64RegClass", "Mips::SDC164_P8", "Mips::SDC164", "\"Register class not handled!\"", "0"], "File": "MipsInstrInfo20", "Func": "storeRegToStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19555, "Length": 236, "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", "accessible_reg_set", "&=", "~", "reg_class_contents", "[", "DSP_ACC_REGS", "]", ";", "if", "(", "!", "ISA_HAS_HILO", ")", "accessible_reg_set", "&=", "~", "reg_class_contents", "[", "MD_REGS", "]", ";", "if", "(", "!", "TARGET_HARD_FLOAT", ")", "accessible_reg_set", "&=", "~", "(", "reg_class_contents", "[", "FP_REGS", "]", "|", "reg_class_contents", "[", "ST_REGS", "]", ")", ";", "else", "if", "(", "!", "ISA_HAS_8CC", ")", "{", "accessible_reg_set", "&=", "~", "reg_class_contents", "[", "ST_REGS", "]", ";", "if", "(", "!", "ISA_HAS_CCF", ")", "SET_HARD_REG_BIT", "(", "accessible_reg_set", ",", "FPSW_REGNUM", ")", ";", "fixed_regs", "[", "FPSW_REGNUM", "]", "=", "1", ";", "}", "if", "(", "TARGET_MIPS16", ")", "{", "fixed_regs", "[", "18", "]", "=", "1", ";", "fixed_regs", "[", "19", "]", "=", "1", ";", "fixed_regs", "[", "20", "]", "=", "1", ";", "fixed_regs", "[", "21", "]", "=", "1", ";", "fixed_regs", "[", "22", "]", "=", "1", ";", "fixed_regs", "[", "23", "]", "=", "1", ";", "fixed_regs", "[", "26", "]", "=", "1", ";", "fixed_regs", "[", "27", "]", "=", "1", ";", "fixed_regs", "[", "30", "]", "=", "1", ";", "if", "(", "optimize_size", ")", "{", "fixed_regs", "[", "8", "]", "=", "1", ";", "fixed_regs", "[", "9", "]", "=", "1", ";", "fixed_regs", "[", "10", "]", "=", "1", ";", "fixed_regs", "[", "11", "]", "=", "1", ";", "fixed_regs", "[", "12", "]", "=", "1", ";", "fixed_regs", "[", "13", "]", "=", "1", ";", "fixed_regs", "[", "14", "]", "=", "1", ";", "fixed_regs", "[", "15", "]", "=", "1", ";", "}", "operand_reg_set", "&=", "~", "reg_class_contents", "[", "MD_REGS", "]", ";", "}", "if", "(", "mips_abi", "==", "ABI_64", ")", "{", "int", "regno", ";", "for", "(", "regno", "=", "FP_REG_FIRST", "+", "20", ";", "regno", "<", "FP_REG_FIRST", "+", "24", ";", "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_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", "1", "19", "1", "20", "1", "21", "1", "22", "1", "23", "1", "26", "1", "27", "1", "30", "1", "8", "1", "9", "1", "10", "1", "11", "1", "12", "1", "13", "1", "14", "1", "15", "1", "20", "24", "1", "21", "31", "2", "1", "2"], "File": "mips", "Func": "mips_conditional_register_usage", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19556, "Length": 357, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "detect_processor_aix", "(", "void", ")", "{", "switch", "(", "_system_configuration", ".", "implementation", ")", "{", "case", "0x0008", ":", "return", "\"601\"", ";", "case", "0x0020", ":", "return", "\"603\"", ";", "case", "0x0010", ":", "return", "\"604\"", ";", "case", "0x0040", ":", "return", "\"620\"", ";", "case", "0x0080", ":", "return", "\"630\"", ";", "case", "0x0100", ":", "case", "0x0200", ":", "case", "0x0400", ":", "return", "\"rs64\"", ";", "case", "0x0800", ":", "return", "\"power4\"", ";", "case", "0x2000", ":", "if", "(", "_system_configuration", ".", "version", "==", "0x0F0000", ")", "return", "\"power5\"", ";", "else", "return", "\"power5+\"", ";", "case", "0x4000", ":", "return", "\"power6\"", ";", "case", "0x8000", ":", "return", "\"power7\"", ";", "case", "0x10000", ":", "return", "\"power8\"", ";", "default", ":", "return", "\"powerpc\"", ";", "}", "}", ""], "natrual_language": ["Returns", "the", "processor", "implementation", "on", "AIX", "."], "TS_V_token": ["rs6000", "0x0008", "\"601\"", "0x0020", "\"603\"", "0x0010", "\"604\"", "0x0040", "\"620\"", "0x0080", "\"630\"", "0x0100", "0x0200", "0x0400", "\"rs64\"", "0x0800", "\"power4\"", "0x2000", "0x0F0000", "\"power5\"", "\"power5+\"", "0x4000", "\"power6\"", "0x8000", "\"power7\"", "0x10000", "\"power8\"", "\"powerpc\""], "File": "driver-rs60002", "Func": "detect_processor_aix", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19557, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "lxvrse_expand_builtin", "(", "rtx", "target", ",", "insn_code", "icode", ",", "rtx", "*", "op", ",", "machine_mode", "tmode", ",", "machine_mode", "smode", ")", "{", "rtx", "pat", ",", "addr", ";", "op", "[", "1", "]", "=", "copy_to_mode_reg", "(", "Pmode", ",", "op", "[", "1", "]", ")", ";", "if", "(", "op", "[", "0", "]", "==", "const0_rtx", ")", "addr", "=", "gen_rtx_MEM", "(", "tmode", ",", "op", "[", "1", "]", ")", ";", "else", "{", "op", "[", "0", "]", "=", "copy_to_mode_reg", "(", "Pmode", ",", "op", "[", "0", "]", ")", ";", "addr", "=", "gen_rtx_MEM", "(", "smode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "op", "[", "1", "]", ",", "op", "[", "0", "]", ")", ")", ";", "}", "rtx", "discratch", "=", "gen_reg_rtx", "(", "V2DImode", ")", ";", "rtx", "tiscratch", "=", "gen_reg_rtx", "(", "TImode", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "tiscratch", ",", "addr", ")", ";", "if", "(", "!", "pat", ")", "return", "0", ";", "emit_insn", "(", "pat", ")", ";", "rtx", "temp1", ";", "if", "(", "icode", "==", "CODE_FOR_vsx_lxvrbx", ")", "{", "temp1", "=", "simplify_gen_subreg", "(", "V16QImode", ",", "tiscratch", ",", "TImode", ",", "0", ")", ";", "emit_insn", "(", "gen_vsx_sign_extend_v16qi_v2di", "(", "discratch", ",", "temp1", ")", ")", ";", "}", "else", "if", "(", "icode", "==", "CODE_FOR_vsx_lxvrhx", ")", "{", "temp1", "=", "simplify_gen_subreg", "(", "V8HImode", ",", "tiscratch", ",", "TImode", ",", "0", ")", ";", "emit_insn", "(", "gen_vsx_sign_extend_v8hi_v2di", "(", "discratch", ",", "temp1", ")", ")", ";", "}", "else", "if", "(", "icode", "==", "CODE_FOR_vsx_lxvrwx", ")", "{", "temp1", "=", "simplify_gen_subreg", "(", "V4SImode", ",", "tiscratch", ",", "TImode", ",", "0", ")", ";", "emit_insn", "(", "gen_vsx_sign_extend_v4si_v2di", "(", "discratch", ",", "temp1", ")", ")", ";", "}", "else", "if", "(", "icode", "==", "CODE_FOR_vsx_lxvrdx", ")", "discratch", "=", "simplify_gen_subreg", "(", "V2DImode", ",", "tiscratch", ",", "TImode", ",", "0", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "rtx", "temp2", "=", "simplify_gen_subreg", "(", "TImode", ",", "discratch", ",", "V2DImode", ",", "0", ")", ";", "emit_insn", "(", "gen_extendditi2_vector", "(", "target", ",", "temp2", ")", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Expand", "a", "builtin", "function", "that", "loads", "a", "scalar", "into", "a", "vector", "register", "with", "sign", "extension", ",", "and", "return", "the", "expanded", "rtx", "."], "TS_V_token": ["rs6000", "1", "1", "0", "1", "0", "0", "1", "0", "0", "0", "0", "0", "0", "0"], "File": "rs6000-builtin1", "Func": "lxvrse_expand_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19558, "Length": 294, "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": ["CAHP", "\"\"", "\"'\"", "\"'\""], "File": "CAHPAsmParser", "Func": "print", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19559, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "altivec_expand_vec_perm_le", "(", "rtx", "operands", "[", "4", "]", ")", "{", "rtx", "notx", ",", "iorx", ",", "unspec", ";", "rtx", "target", "=", "operands", "[", "0", "]", ";", "rtx", "op0", "=", "operands", "[", "1", "]", ";", "rtx", "op1", "=", "operands", "[", "2", "]", ";", "rtx", "sel", "=", "operands", "[", "3", "]", ";", "rtx", "tmp", "=", "target", ";", "rtx", "norreg", "=", "gen_reg_rtx", "(", "V16QImode", ")", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "target", ")", ";", "if", "(", "!", "REG_P", "(", "op0", ")", ")", "op0", "=", "force_reg", "(", "mode", ",", "op0", ")", ";", "if", "(", "!", "REG_P", "(", "op1", ")", ")", "op1", "=", "force_reg", "(", "mode", ",", "op1", ")", ";", "if", "(", "!", "REG_P", "(", "sel", ")", ")", "sel", "=", "force_reg", "(", "V16QImode", ",", "sel", ")", ";", "if", "(", "!", "REG_P", "(", "target", ")", ")", "tmp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "notx", "=", "gen_rtx_NOT", "(", "V16QImode", ",", "sel", ")", ";", "iorx", "=", "(", "TARGET_P8_VECTOR", "?", "gen_rtx_IOR", "(", "V16QImode", ",", "notx", ",", "notx", ")", ":", "gen_rtx_AND", "(", "V16QImode", ",", "notx", ",", "notx", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "norreg", ",", "iorx", ")", ")", ";", "unspec", "=", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "3", ",", "op1", ",", "op0", ",", "norreg", ")", ",", "UNSPEC_VPERM", ")", ";", "if", "(", "!", "REG_P", "(", "target", ")", ")", "{", "emit_move_insn", "(", "tmp", ",", "unspec", ")", ";", "unspec", "=", "tmp", ";", "}", "emit_move_insn", "(", "target", ",", "unspec", ")", ";", "}", ""], "natrual_language": ["Similarly", "to", "altivec_expand_vec_perm_const_le", ",", "we", "must", "adjust", "the", "permute", "control", "vector", ".", "But", "here", "it", "'s", "not", "a", "constant", ",", "so", "we", "must", "generate", "a", "vector", "NAND", "or", "NOR", "to", "do", "the", "adjustment", "."], "TS_V_token": ["rs6000", "4", "0", "1", "2", "3", "3"], "File": "rs60004", "Func": "altivec_expand_vec_perm_le", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19560, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isStridedAccess", "(", "const", "MachineInstr", "&", "MI", ")", "{", "return", "llvm", "::", "any_of", "(", "MI", ".", "memoperands", "(", ")", ",", "[", "]", "(", "MachineMemOperand", "*", "MMO", ")", "{", "return", "MMO", "->", "getFlags", "(", ")", "&", "MOStridedAccess", ";", "}", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "given", "load", "or", "store", "is", "a", "strided", "memory", "access", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64InstrInfo (2)1", "Func": "isStridedAccess", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19561, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mmix_setup_incoming_varargs", "(", "cumulative_args_t", "args_so_farp_v", ",", "machine_mode", "mode", ",", "tree", "vartype", ",", "int", "*", "pretend_sizep", ",", "int", "second_time", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "args_so_farp", "=", "get_cumulative_args", "(", "args_so_farp_v", ")", ";", "if", "(", "args_so_farp", "->", "regs", "+", "1", "<", "MMIX_MAX_ARGS_IN_REGS", ")", "*", "pretend_sizep", "=", "(", "MMIX_MAX_ARGS_IN_REGS", "-", "(", "args_so_farp", "->", "regs", "+", "1", ")", ")", "*", "8", ";", "if", "(", "(", "7", "+", "(", "MMIX_FUNCTION_ARG_SIZE", "(", "mode", ",", "vartype", ")", ")", ")", "/", "8", "!=", "1", ")", "internal_error", "(", "\"MMIX Internal: Last named vararg would not fit in a register\"", ")", ";", "}", ""], "natrual_language": ["SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["mmix", "1", "1", "8", "7", "8", "1", "\"MMIX Internal: Last named vararg would not fit in a register\""], "File": "mmix4", "Func": "mmix_setup_incoming_varargs", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19562, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "ARMTargetLowering", "::", "getOptimalMemOpType", "(", "const", "MemOp", "&", "Op", ",", "const", "AttributeList", "&", "FuncAttributes", ")", "const", "{", "if", "(", "(", "Op", ".", "isMemcpy", "(", ")", "||", "Op", ".", "isZeroMemset", "(", ")", ")", "&&", "Subtarget", "->", "hasNEON", "(", ")", "&&", "!", "FuncAttributes", ".", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ")", "{", "bool", "Fast", ";", "if", "(", "Op", ".", "size", "(", ")", ">=", "16", "&&", "(", "Op", ".", "isAligned", "(", "Align", "(", "16", ")", ")", "||", "(", "allowsMisalignedMemoryAccesses", "(", "MVT", "::", "v2f64", ",", "0", ",", "1", ",", "MachineMemOperand", "::", "MONone", ",", "&", "Fast", ")", "&&", "Fast", ")", ")", ")", "{", "return", "MVT", "::", "v2f64", ";", "}", "else", "if", "(", "Op", ".", "size", "(", ")", ">=", "8", "&&", "(", "Op", ".", "isAligned", "(", "Align", "(", "8", ")", ")", "||", "(", "allowsMisalignedMemoryAccesses", "(", "MVT", "::", "f64", ",", "0", ",", "1", ",", "MachineMemOperand", "::", "MONone", ",", "&", "Fast", ")", "&&", "Fast", ")", ")", ")", "{", "return", "MVT", "::", "f64", ";", "}", "}", "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", "0", "1", "MVT::v2f64", "8", "8", "MVT::f64", "0", "1", "MVT::f64", "MVT::Other"], "File": "ARMISelLowering103", "Func": "getOptimalMemOpType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19563, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mep_register_move_cost", "(", "machine_mode", "mode", ",", "enum", "reg_class", "from", ",", "enum", "reg_class", "to", ")", "{", "if", "(", "mep_have_copro_copro_moves_p", "&&", "reg_class_subset_p", "(", "from", ",", "CR_REGS", ")", "&&", "reg_class_subset_p", "(", "to", ",", "CR_REGS", ")", ")", "{", "if", "(", "TARGET_32BIT_CR_REGS", "&&", "GET_MODE_SIZE", "(", "mode", ")", ">", "UNITS_PER_WORD", ")", "return", "4", ";", "return", "2", ";", "}", "if", "(", "reg_class_subset_p", "(", "from", ",", "CR_REGS", ")", "&&", "reg_class_subset_p", "(", "to", ",", "CR_REGS", ")", ")", "{", "if", "(", "TARGET_32BIT_CR_REGS", "&&", "GET_MODE_SIZE", "(", "mode", ")", ">", "UNITS_PER_WORD", ")", "return", "8", ";", "return", "4", ";", "}", "if", "(", "reg_class_subset_p", "(", "from", ",", "CR_REGS", ")", "||", "reg_class_subset_p", "(", "to", ",", "CR_REGS", ")", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "UNITS_PER_WORD", ")", "return", "4", ";", "return", "2", ";", "}", "if", "(", "mep_secondary_memory_needed", "(", "from", ",", "to", ",", "mode", ")", ")", "return", "1000", ";", "if", "(", "MEP_NONGENERAL_CLASS", "(", "from", ")", "&&", "MEP_NONGENERAL_CLASS", "(", "to", ")", ")", "return", "1000", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "4", ")", "return", "4", ";", "return", "2", ";", "}", ""], "natrual_language": ["Implement", "REGISTER_MOVE_COST", ".", "Return", "2", "for", "direct", "single-register", "moves", ",", "4", "for", "direct", "double-register", "moves", ",", "and", "1000", "for", "anything", "that", "requires", "a", "temporary", "register", "or", "temporary", "stack", "slot", "."], "TS_V_token": ["mep", "4", "2", "8", "4", "4", "2", "1000", "1000", "4", "4", "2"], "File": "mep", "Func": "mep_register_move_cost", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19564, "Length": 165, "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": 19565, "Length": 50, "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", ")", ",", "ReserveX18", "(", "TT", ".", "isOSDarwin", "(", ")", ")", ",", "IsLittle", "(", "LittleEndian", ")", ",", "CPUString", "(", "CPU", ")", ",", "TargetTriple", "(", "TT", ")", ",", "FrameLowering", "(", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "FS", ")", ")", ",", "TSInfo", "(", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", ",", "GISel", "(", ")", "{", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64Subtarget4", "Func": "AArch64Subtarget", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19566, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 Atom pad short functions\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 Atom pad short functions\""], "File": "X86PadShortFunction (2)1", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19567, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "assert", "(", "0", "&&", "\"fixupNeedsRelaxation() unimplemented\"", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["Sparc", "0", "\"fixupNeedsRelaxation() unimplemented\""], "File": "SparcAsmBackend12", "Func": "fixupNeedsRelaxation", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19568, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "function_expander", "::", "map_to_unspecs", "(", "int", "unspec_for_sint", ",", "int", "unspec_for_uint", ",", "int", "unspec_for_fp", ",", "unsigned", "int", "merge_argno", ")", "{", "machine_mode", "mode", "=", "vector_mode", "(", "0", ")", ";", "int", "unspec", "=", "(", "!", "type_suffix", "(", "0", ")", ".", "integer_p", "?", "unspec_for_fp", ":", "type_suffix", "(", "0", ")", ".", "unsigned_p", "?", "unspec_for_uint", ":", "unspec_for_sint", ")", ";", "if", "(", "pred", "==", "PRED_x", ")", "{", "insn_code", "icode", "=", "maybe_code_for_aarch64_pred", "(", "unspec", ",", "mode", ")", ";", "if", "(", "icode", "!=", "CODE_FOR_nothing", ")", "return", "use_pred_x_insn", "(", "icode", ")", ";", "}", "if", "(", "pred", "==", "PRED_none", "||", "pred", "==", "PRED_x", ")", "{", "insn_code", "icode", "=", "maybe_code_for_aarch64_sve", "(", "unspec", ",", "mode", ")", ";", "if", "(", "icode", "!=", "CODE_FOR_nothing", ")", "return", "use_unpred_insn", "(", "icode", ")", ";", "}", "insn_code", "icode", "=", "code_for_cond", "(", "unspec", ",", "vector_mode", "(", "0", ")", ")", ";", "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", ">", "''", "for", "PRED_x", "functions", ";", "this", "is", "a", "predicated", "pattern", "(", "2", ")", "``", "aarch64_sve_", "<", "optab", ">", "<", "mode", ">", "''", "for", "PRED_none", "and", "PRED_x", "functions", ";", "this", "is", "an", "unpredicated", "pattern", "(", "3", ")", "``", "cond_", "<", "optab", ">", "<", "mode", ">", "''", "otherwise", "where", "<", "optab", ">", "corresponds", "to", ":", "-", "UNSPEC_FOR_SINT", "for", "signed", "integers", "-", "UNSPEC_FOR_UINT", "for", "unsigned", "integers", "-", "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"], "File": "aarch64-sve-builtins", "Func": "map_to_unspecs", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19569, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "PPCDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "if", "(", "!", "GlobalBaseReg", ")", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "PPCSubTarget", "->", "getInstrInfo", "(", ")", ";", "MachineBasicBlock", "&", "FirstMBB", "=", "MF", "->", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "FirstMBB", ".", "begin", "(", ")", ";", "const", "Module", "*", "M", "=", "MF", "->", "getFunction", "(", ")", "->", "getParent", "(", ")", ";", "DebugLoc", "dl", ";", "if", "(", "PPCLowering", "->", "getPointerTy", "(", ")", "==", "MVT", "::", "i32", ")", "{", "if", "(", "PPCSubTarget", "->", "isTargetELF", "(", ")", ")", "{", "GlobalBaseReg", "=", "PPC", "::", "R30", ";", "if", "(", "M", "->", "getPICLevel", "(", ")", "==", "PICLevel", "::", "Small", ")", "{", "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", ")", ";", "unsigned", "TempReg", "=", "RegInfo", "->", "createVirtualRegister", "(", "&", "PPC", "::", "GPRCRegClass", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "UpdateGBR", ")", ")", ".", "addReg", "(", "GlobalBaseReg", ")", ".", "addReg", "(", "TempReg", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "GlobalBaseReg", ")", ";", "MF", "->", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", "->", "setUsesPICBase", "(", "true", ")", ";", "}", "}", "else", "{", "GlobalBaseReg", "=", "RegInfo", "->", "createVirtualRegister", "(", "&", "PPC", "::", "GPRC_NOR0RegClass", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MovePCtoLR", ")", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MFLR", ")", ",", "GlobalBaseReg", ")", ";", "}", "}", "else", "{", "GlobalBaseReg", "=", "RegInfo", "->", "createVirtualRegister", "(", "&", "PPC", "::", "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", "(", ")", ")", ".", "getNode", "(", ")", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "MVT::i32", "PPC", "PPC::R30", "PPC::MoveGOTtoLR", "PPC::MFLR", "PPC", "PPC::MovePCtoLR", "PPC::MFLR", "PPC::GPRCRegClass", "PPC::UpdateGBR", "PPC", "PPC::GPRC_NOR0RegClass", "PPC::MovePCtoLR", "PPC::MFLR", "PPC::G8RC_NOX0RegClass", "PPC::MovePCtoLR8", "PPC::MFLR8", "PPC"], "File": "PPCISelDAGToDAG32", "Func": "getGlobalBaseReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19570, "Length": 392, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_get_pic_call_symbol", "(", "rtx", "*", "operands", ",", "int", "args_size_opno", ")", "{", "rtx", "args_size", ",", "symbol", ";", "if", "(", "!", "TARGET_RELAX_PIC_CALLS", "||", "args_size_opno", "==", "-", "1", ")", "return", "false", ";", "args_size", "=", "operands", "[", "args_size_opno", "]", ";", "if", "(", "GET_CODE", "(", "args_size", ")", "!=", "UNSPEC", ")", "return", "false", ";", "gcc_assert", "(", "XINT", "(", "args_size", ",", "1", ")", "==", "UNSPEC_CALL_ATTR", ")", ";", "symbol", "=", "XVECEXP", "(", "args_size", ",", "0", ",", "1", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "symbol", ")", "==", "SYMBOL_REF", ")", ";", "operands", "[", "args_size_opno", "]", "=", "symbol", ";", "return", "true", ";", "}", ""], "natrual_language": ["OPERANDS", "[", "ARGS_SIZE_OPNO", "]", "is", "the", "arg_size", "operand", "of", "a", "CALL", "expression", ".", "See", "if", "instead", "of", "the", "arg_size", "argument", "it", "contains", "the", "call", "attributes", ".", "If", "yes", "return", "true", "along", "with", "setting", "OPERANDS", "[", "ARGS_SIZE_OPNO", "]", "to", "the", "function", "symbol", "from", "the", "call", "attributes", ".", "Also", "return", "false", "if", "ARGS_SIZE_OPNO", "is", "-1", "."], "TS_V_token": ["mips", "1", "1", "0", "1"], "File": "mips", "Func": "mips_get_pic_call_symbol", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19571, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "BuildCFI", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "DebugLoc", "&", "DL", ",", "const", "MCCFIInstruction", "&", "CFIInst", ",", "MachineInstr", "::", "MIFlag", "Flag", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "CFIInst", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ".", "setMIFlag", "(", "Flag", ")", ";", "}", ""], "natrual_language": ["Wraps", "up", "getting", "a", "CFI", "index", "and", "building", "a", "MachineInstr", "for", "it", "."], "TS_V_token": ["X86", "X86"], "File": "X86FrameLowering (2)3", "Func": "BuildCFI", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19572, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "ARMBaseRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "uint16_t", "*", "RegList", "=", "(", "STI", ".", "isTargetIOS", "(", ")", "&&", "!", "STI", ".", "isAAPCS_ABI", "(", ")", ")", "?", "CSR_iOS_SaveList", ":", "CSR_AAPCS_SaveList", ";", "if", "(", "!", "MF", ")", "return", "RegList", ";", "const", "Function", "*", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "if", "(", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "GHC", ")", "{", "return", "CSR_NoRegs_SaveList", ";", "}", "else", "if", "(", "F", "->", "hasFnAttribute", "(", "\"interrupt\"", ")", ")", "{", "if", "(", "STI", ".", "isMClass", "(", ")", ")", "{", "return", "CSR_AAPCS_SaveList", ";", "}", "else", "if", "(", "F", "->", "getFnAttribute", "(", "\"interrupt\"", ")", ".", "getValueAsString", "(", ")", "==", "\"FIQ\"", ")", "{", "return", "CSR_FIQ_SaveList", ";", "}", "else", "{", "return", "CSR_GenericInt_SaveList", ";", "}", "}", "return", "RegList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["ARM", "ARM", "\"interrupt\"", "\"interrupt\"", "\"FIQ\""], "File": "ARMBaseRegisterInfo31", "Func": "getCalleeSavedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19573, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FISCRegisterInfo", "::", "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": ["FISC", "FISC"], "File": "FISCRegisterInfo", "Func": "requiresRegisterScavenging", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19574, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "nds32_legitimize_ict_address", "(", "rtx", "x", ")", "{", "rtx", "symbol", "=", "x", ";", "rtx", "addr", "=", "x", ";", "rtx", "reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "nds32_indirect_call_referenced_p", "(", "x", ")", ")", ";", "addr", "=", "gen_rtx_UNSPEC", "(", "SImode", ",", "gen_rtvec", "(", "1", ",", "symbol", ")", ",", "UNSPEC_ICT", ")", ";", "addr", "=", "gen_rtx_CONST", "(", "SImode", ",", "addr", ")", ";", "emit_insn", "(", "gen_sethi", "(", "reg", ",", "addr", ")", ")", ";", "x", "=", "gen_const_mem", "(", "SImode", ",", "gen_rtx_LO_SUM", "(", "Pmode", ",", "reg", ",", "addr", ")", ")", ";", "return", "x", ";", "}", ""], "natrual_language": ["Expand", "ICT", "symbol", ".", "Example", "for", "@", "ICT", "and", "ICT", "model=large", ":", "la", "$", "r0", ",", "symbol", "@", "ICT", "-", ">", "sethi", "$", "rt", ",", "hi20", "(", "symbol", "@", "ICT", ")", "lwi", "$", "r0", ",", "[", "$", "rt", "+", "lo12", "(", "symbol", "@", "ICT", ")", "]"], "TS_V_token": ["nds32", "1"], "File": "nds32-md-auxiliary", "Func": "nds32_legitimize_ict_address", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19575, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "SystemZTTIImpl", "::", "getIntImmCost", "(", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "BitSize", ">", "64", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "Imm", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", ")", "{", "if", "(", "isInt", "<", "32", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Basic", ";", "if", "(", "isUInt", "<", "32", ">", "(", "Imm", ".", "getZExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Basic", ";", "if", "(", "(", "Imm", ".", "getZExtValue", "(", ")", "&", "0xffffffff", ")", "==", "0", ")", "return", "TTI", "::", "TCC_Basic", ";", "return", "2", "*", "TTI", "::", "TCC_Basic", ";", "}", "return", "4", "*", "TTI", "::", "TCC_Basic", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "64", "0", "64", "32", "32", "0xffffffff", "0", "2", "4"], "File": "SystemZTargetTransformInfo1", "Func": "getIntImmCost", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19576, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "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": "mmix3", "Func": "mmix_starting_frame_offset", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19577, "Length": 29, "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": 19578, "Length": 321, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "tree", "def_builtin_pure2", "(", "HOST_WIDE_INT", "mask", ",", "const", "char", "*", "name", ",", "enum", "ix86_builtin_func_type", "tcode", ",", "enum", "ix86_builtins", "code", ")", "{", "tree", "decl", "=", "def_builtin2", "(", "mask", ",", "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": "i3867", "Func": "def_builtin_pure2", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19579, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "dump_constants_1", "(", "enum", "machine_mode", "mode", ",", "rtx", "value", ",", "rtx", "insn", ")", "{", "switch", "(", "GET_MODE_CLASS", "(", "mode", ")", ")", "{", "case", "MODE_INT", ":", "{", "rtx", "size", "=", "GEN_INT", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "return", "emit_insn_after", "(", "gen_consttable_int", "(", "value", ",", "size", ")", ",", "insn", ")", ";", "}", "case", "MODE_FLOAT", ":", "return", "emit_insn_after", "(", "gen_consttable_float", "(", "value", ")", ",", "insn", ")", ";", "case", "MODE_VECTOR_FLOAT", ":", "case", "MODE_VECTOR_INT", ":", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "CONST_VECTOR_NUNITS", "(", "value", ")", ";", "i", "++", ")", "insn", "=", "dump_constants_1", "(", "GET_MODE_INNER", "(", "mode", ")", ",", "CONST_VECTOR_ELT", "(", "value", ",", "i", ")", ",", "insn", ")", ";", "return", "insn", ";", "}", "default", ":", "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": "mips3", "Func": "dump_constants_1", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19580, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "SystemZFrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "Register", "&", "FrameReg", ")", "const", "{", "int64_t", "Offset", "=", "TargetFrameLowering", "::", "getFrameIndexReference", "(", "MF", ",", "FI", ",", "FrameReg", ")", ";", "return", "Offset", "+", "SystemZMC", "::", "CallFrameSize", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZMC::CallFrameSize"], "File": "SystemZFrameLowering1", "Func": "getFrameIndexReference", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19581, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "CAHPRegisterInfo", "::", "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": ["CAHP", "CAHP"], "File": "CAHPRegisterInfo", "Func": "getCallPreservedMask", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19582, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "evaluateBranch", "(", "const", "MCInst", "&", "Inst", ",", "uint64_t", "Addr", ",", "uint64_t", "Size", ",", "uint64_t", "&", "Target", ")", "const", "{", "if", "(", "Info", "->", "get", "(", "Inst", ".", "getOpcode", "(", ")", ")", ".", "OpInfo", "[", "0", "]", ".", "OperandType", "!=", "MCOI", "::", "OPERAND_PCREL", ")", "return", "false", ";", "int64_t", "Imm", "=", "Inst", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "Target", "=", "Addr", "+", "Imm", "+", "8", ";", "return", "true", ";", "}", ""], "natrual_language": ["Given", "a", "branch", "instruction", "try", "to", "get", "the", "address", "the", "branch", "targets", "."], "TS_V_token": ["ARM", "0", "0", "8"], "File": "ARMMCTargetDesc3", "Func": "evaluateBranch", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19583, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "or1k_expand_atomic_compare_and_swap", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "boolval", ",", "retval", ",", "mem", ",", "oldval", ",", "newval", ";", "rtx", "label1", ",", "label2", ";", "machine_mode", "mode", ";", "bool", "is_weak", ";", "boolval", "=", "operands", "[", "0", "]", ";", "retval", "=", "operands", "[", "1", "]", ";", "mem", "=", "operands", "[", "2", "]", ";", "oldval", "=", "operands", "[", "3", "]", ";", "newval", "=", "operands", "[", "4", "]", ";", "is_weak", "=", "(", "INTVAL", "(", "operands", "[", "5", "]", ")", "!=", "0", ")", ";", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "if", "(", "reg_overlap_mentioned_p", "(", "retval", ",", "oldval", ")", ")", "oldval", "=", "copy_to_reg", "(", "oldval", ")", ";", "label1", "=", "NULL_RTX", ";", "if", "(", "!", "is_weak", ")", "{", "label1", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "gen_label_rtx", "(", ")", ")", ";", "emit_label", "(", "XEXP", "(", "label1", ",", "0", ")", ")", ";", "}", "label2", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "gen_label_rtx", "(", ")", ")", ";", "emit_load_locked", "(", "mode", ",", "retval", ",", "mem", ")", ";", "emit_compare", "(", "EQ", ",", "retval", ",", "oldval", ")", ";", "emit_unlikely_jump", "(", "EQ", ",", "label2", ")", ";", "emit_store_conditional", "(", "mode", ",", "mem", ",", "newval", ")", ";", "if", "(", "!", "is_weak", ")", "emit_unlikely_jump", "(", "EQ", ",", "label1", ")", ";", "emit_label", "(", "XEXP", "(", "label2", ",", "0", ")", ")", ";", "emit_insn", "(", "gen_sne_sr_f", "(", "boolval", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "an", "atomic", "compare", "and", "swap", "operation", ".", "Emits", "the", "RTX", "to", "perform", "a", "compare", "and", "swap", "operation", ".", "This", "function", "takes", "8", "RTX", "arguments", "in", "the", "OPERANDS", "array", ".", "The", "compare", "and", "swap", "operation", "loads", "a", "value", "from", "memory", "(", "OPERANDS", "[", "2", "]", ")", "and", "compares", "it", "with", "an", "expected", "value", "(", "OPERANDS", "[", "3", "]", ")", ",", "if", "the", "values", "are", "equal", "it", "stores", "a", "new", "value", "(", "OPERANDS", "[", "4", "]", ")", "to", "memory", ".", "The", "argument", "OPERANDS", "[", "0", "]", "represents", "a", "boolean", "result", "which", "will", "be", "set", "to", "true", "if", "the", "operation", "succeeds", ".", "A", "return", "value", "(", "OPERANDS", "[", "1", "]", ")", "will", "be", "set", "to", "what", "was", "loaded", "from", "memory", ".", "The", "argument", "OPERAND", "[", "5", "]", "is", "used", "to", "indicate", "if", "the", "compare", "and", "swap", "is", "to", "be", "treated", "as", "weak", ".", "OpenRISC", "does", "not", "use", "OPERANDS", "[", "5", "]", "or", "OPERANDS", "[", "6", "]", "which", "provide", "memory", "model", "details", ".", "For", "OpenRISC", "this", "emits", "RTX", "which", "will", "translate", "to", "assembly", "using", "the", "'", "l.lwa", "'", "(", "load", "word", "atomic", ")", "and", "'", "l.swa", "'", "(", "store", "word", "atomic", ")", "instructions", "."], "TS_V_token": ["or1k", "0", "1", "2", "3", "4", "5", "0", "0", "0"], "File": "or1k", "Func": "or1k_expand_atomic_compare_and_swap", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19584, "Length": 211, "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": 19585, "Length": 11, "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": 19586, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "DLXInstrInfo", "::", "areMemAccessesTriviallyDisjoint", "(", "MachineInstr", "&", "MIa", ",", "MachineInstr", "&", "MIb", ",", "AliasAnalysis", "*", ")", "const", "{", "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": ["DLX", "DLX"], "File": "DLXInstrInfo", "Func": "areMemAccessesTriviallyDisjoint", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19587, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64AsmPrinter", "::", "emitEndOfAsmFile", "(", "Module", "&", "M", ")", "{", "emitHwasanMemaccessSymbols", "(", "M", ")", ";", "const", "Triple", "&", "TT", "=", "TM", ".", "getTargetTriple", "(", ")", ";", "if", "(", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "{", "OutStreamer", "->", "emitAssemblerFlag", "(", "MCAF_SubsectionsViaSymbols", ")", ";", "}", "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": ["AArch64", "AArch64"], "File": "AArch64AsmPrinter1", "Func": "emitEndOfAsmFile", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19588, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "addPreEmitPass", "(", ")", "{", "bool", "ShouldPrint", "=", "false", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "getX86Subtarget", "(", ")", ".", "hasSSE2", "(", ")", ")", "{", "addPass", "(", "createExecutionDependencyFixPass", "(", "&", "X86", "::", "VR128RegClass", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "if", "(", "UseVZeroUpper", ")", "{", "addPass", "(", "createX86IssueVZeroUpperPass", "(", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createX86PadShortFunctions", "(", ")", ")", ";", "addPass", "(", "createX86FixupLEAs", "(", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "return", "ShouldPrint", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["X86", "X86", "X86", "X86::VR128RegClass", "X86", "X86", "X86"], "File": "X86TargetMachine", "Func": "addPreEmitPass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19589, "Length": 98, "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", "{", "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", "{", "const", "TargetRegisterInfo", "*", "TRI", "=", "&", "getRegisterInfo", "(", ")", ";", "MachineInstr", "*", "MovMI", "=", "0", ";", "unsigned", "subRegIdx", "[", "]", "=", "{", "SP", "::", "sub_even", ",", "SP", "::", "sub_odd", "}", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "2", ";", "++", "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", "(", "SP", "::", "FMOVS", ")", ",", "Dst", ")", ".", "addReg", "(", "Src", ")", ";", "}", "MovMI", "->", "addRegisterDefined", "(", "DestReg", ",", "TRI", ")", ";", "if", "(", "KillSrc", ")", "MovMI", "->", "addRegisterKilled", "(", "SrcReg", ",", "TRI", ")", ";", "}", "}", "else", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["Sparc", "Sparc", "SP::IntRegsRegClass", "SP::ORrr", "SP::G0", "SP::FPRegsRegClass", "SP::FMOVS", "SP::DFPRegsRegClass", "SP::FMOVD", "0", "SP::sub_even", "SP::sub_odd", "0", "2", "\"Bad sub-register\"", "SP::FMOVS", "\"Impossible reg-to-reg copy\""], "File": "SparcInstrInfo2", "Func": "copyPhysReg", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19590, "Length": 315, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "VEInstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["VE", "VE"], "File": "VESubtarget", "Func": "getInstrInfo", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19591, "Length": 14, "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": 19592, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isBarrier", "(", ")", "const", "{", "return", "Kind", "==", "k_Barrier", ";", "}", ""], "natrual_language": ["Tests", "if", "this", "is", "an", "Order", "dependence", "that", "is", "marked", "as", "a", "barrier", "."], "TS_V_token": ["ARM64"], "File": "ARM64AsmParser", "Func": "isBarrier", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19593, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCFunctionInfo", "::", "isLiveInZExt", "(", "unsigned", "VReg", ")", "const", "{", "for", "(", "const", "std", "::", "pair", "<", "unsigned", ",", "ISD", "::", "ArgFlagsTy", ">", "&", "LiveIn", ":", "LiveInAttrs", ")", "if", "(", "LiveIn", ".", "first", "==", "VReg", ")", "return", "LiveIn", ".", "second", ".", "isZExt", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "returns", "true", "if", "the", "specified", "vreg", "is", "a", "live-in", "register", "and", "zero-extended", "."], "TS_V_token": ["PowerPC", "PPC", "ISD::ArgFlagsTy"], "File": "PPCMachineFunctionInfo1", "Func": "isLiveInZExt", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19594, "Length": 49, "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": 19595, "Length": 135, "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", "getFramePointerReg", "(", "STI", ")", ";", "return", "ARM", "::", "SP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM", "ARM::SP"], "File": "ARMBaseRegisterInfo11", "Func": "getFrameRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19596, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "RCPair", "ARMTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "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'", ":", "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", ")", "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::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", "0U", "ARM::SPRRegClass", "\"{cc}\"", "ARM::CPSR", "ARM::CCRRegClass"], "File": "ARMISelLowering (2)", "Func": "getRegForInlineAsmConstraint", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19597, "Length": 326, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CAHPAsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ")", "const", "{", "if", "(", "(", "Count", "%", "2", ")", "!=", "0", ")", "return", "false", ";", "Count", "/=", "2", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "<", "Count", ";", "++", "i", ")", "OS", ".", "write", "(", "\"\\0\\0\"", ",", "2", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["CAHP", "CAHP", "2", "0", "2", "0", "\"\\0\\0\"", "2"], "File": "CAHPAsmBackend", "Func": "writeNopData", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19598, "Length": 58, "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_lo16\"", ",", "16", ",", "16", ",", "0", "}", ",", "{", "\"fixup_ppc_ha16\"", ",", "16", ",", "16", ",", "0", "}", ",", "{", "\"fixup_ppc_lo14\"", ",", "16", ",", "14", ",", "0", "}", ",", "{", "\"fixup_ppc_toc\"", ",", "0", ",", "64", ",", "0", "}", ",", "{", "\"fixup_ppc_toc16\"", ",", "16", ",", "16", ",", "0", "}", ",", "{", "\"fixup_ppc_toc16_ds\"", ",", "16", ",", "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_lo16\"", "16", "16", "0", "\"fixup_ppc_ha16\"", "16", "16", "0", "\"fixup_ppc_lo14\"", "16", "14", "0", "\"fixup_ppc_toc\"", "0", "64", "0", "\"fixup_ppc_toc16\"", "16", "16", "0", "\"fixup_ppc_toc16_ds\"", "16", "14", "0", "\"fixup_ppc_tlsreg\"", "0", "0", "0", "\"fixup_ppc_nofixup\"", "0", "0", "0", "\"Invalid kind!\""], "File": "PPCAsmBackend28", "Func": "getFixupKindInfo", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19599, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCFastISel", "::", "fastSelectInstruction", "(", "const", "Instruction", "*", "I", ")", "{", "switch", "(", "I", "->", "getOpcode", "(", ")", ")", "{", "case", "Instruction", "::", "Load", ":", "return", "SelectLoad", "(", "I", ")", ";", "case", "Instruction", "::", "Store", ":", "return", "SelectStore", "(", "I", ")", ";", "case", "Instruction", "::", "Br", ":", "return", "SelectBranch", "(", "I", ")", ";", "case", "Instruction", "::", "IndirectBr", ":", "return", "SelectIndirectBr", "(", "I", ")", ";", "case", "Instruction", "::", "FPExt", ":", "return", "SelectFPExt", "(", "I", ")", ";", "case", "Instruction", "::", "FPTrunc", ":", "return", "SelectFPTrunc", "(", "I", ")", ";", "case", "Instruction", "::", "SIToFP", ":", "return", "SelectIToFP", "(", "I", ",", "true", ")", ";", "case", "Instruction", "::", "UIToFP", ":", "return", "SelectIToFP", "(", "I", ",", "false", ")", ";", "case", "Instruction", "::", "FPToSI", ":", "return", "SelectFPToI", "(", "I", ",", "true", ")", ";", "case", "Instruction", "::", "FPToUI", ":", "return", "SelectFPToI", "(", "I", ",", "false", ")", ";", "case", "Instruction", "::", "Add", ":", "return", "SelectBinaryIntOp", "(", "I", ",", "ISD", "::", "ADD", ")", ";", "case", "Instruction", "::", "Or", ":", "return", "SelectBinaryIntOp", "(", "I", ",", "ISD", "::", "OR", ")", ";", "case", "Instruction", "::", "Sub", ":", "return", "SelectBinaryIntOp", "(", "I", ",", "ISD", "::", "SUB", ")", ";", "case", "Instruction", "::", "Call", ":", "if", "(", "TM", ".", "getTargetTriple", "(", ")", ".", "isOSAIX", "(", ")", ")", "break", ";", "return", "selectCall", "(", "I", ")", ";", "case", "Instruction", "::", "Ret", ":", "return", "SelectRet", "(", "I", ")", ";", "case", "Instruction", "::", "Trunc", ":", "return", "SelectTrunc", "(", "I", ")", ";", "case", "Instruction", "::", "ZExt", ":", "case", "Instruction", "::", "SExt", ":", "return", "SelectIntExt", "(", "I", ")", ";", "default", ":", "break", ";", "}", "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": ["PowerPC", "PPC", "ISD::ADD", "ISD::OR", "ISD::SUB"], "File": "PPCFastISel (2)2", "Func": "fastSelectInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19600, "Length": 255, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_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", ")", ";", "enum", "rs6000_builtins", "fn_code", "=", "(", "enum", "rs6000_builtins", ")", "DECL_FUNCTION_CODE", "(", "fndecl", ")", ";", "tree", "arg0", ",", "arg1", ",", "lhs", ";", "switch", "(", "fn_code", ")", "{", "case", "ALTIVEC_BUILTIN_VADDUBM", ":", "case", "ALTIVEC_BUILTIN_VADDUHM", ":", "case", "ALTIVEC_BUILTIN_VADDUWM", ":", "case", "P8V_BUILTIN_VADDUDM", ":", "case", "ALTIVEC_BUILTIN_VADDFP", ":", "case", "VSX_BUILTIN_XVADDDP", ":", "{", "arg0", "=", "gimple_call_arg", "(", "stmt", ",", "0", ")", ";", "arg1", "=", "gimple_call_arg", "(", "stmt", ",", "1", ")", ";", "lhs", "=", "gimple_call_lhs", "(", "stmt", ")", ";", "gimple", "*", "g", "=", "gimple_build_assign", "(", "lhs", ",", "PLUS_EXPR", ",", "arg0", ",", "arg1", ")", ";", "gimple_set_location", "(", "g", ",", "gimple_location", "(", "stmt", ")", ")", ";", "gsi_replace", "(", "gsi", ",", "g", ",", "true", ")", ";", "return", "true", ";", "}", "case", "ALTIVEC_BUILTIN_VSUBUBM", ":", "case", "ALTIVEC_BUILTIN_VSUBUHM", ":", "case", "ALTIVEC_BUILTIN_VSUBUWM", ":", "case", "P8V_BUILTIN_VSUBUDM", ":", "case", "ALTIVEC_BUILTIN_VSUBFP", ":", "case", "VSX_BUILTIN_XVSUBDP", ":", "{", "arg0", "=", "gimple_call_arg", "(", "stmt", ",", "0", ")", ";", "arg1", "=", "gimple_call_arg", "(", "stmt", ",", "1", ")", ";", "lhs", "=", "gimple_call_lhs", "(", "stmt", ")", ";", "gimple", "*", "g", "=", "gimple_build_assign", "(", "lhs", ",", "MINUS_EXPR", ",", "arg0", ",", "arg1", ")", ";", "gimple_set_location", "(", "g", ",", "gimple_location", "(", "stmt", ")", ")", ";", "gsi_replace", "(", "gsi", ",", "g", ",", "true", ")", ";", "return", "true", ";", "}", "case", "ALTIVEC_BUILTIN_VMULESB", ":", "case", "ALTIVEC_BUILTIN_VMULESH", ":", "case", "ALTIVEC_BUILTIN_VMULEUB", ":", "case", "ALTIVEC_BUILTIN_VMULEUH", ":", "{", "arg0", "=", "gimple_call_arg", "(", "stmt", ",", "0", ")", ";", "arg1", "=", "gimple_call_arg", "(", "stmt", ",", "1", ")", ";", "lhs", "=", "gimple_call_lhs", "(", "stmt", ")", ";", "gimple", "*", "g", "=", "gimple_build_assign", "(", "lhs", ",", "VEC_WIDEN_MULT_EVEN_EXPR", ",", "arg0", ",", "arg1", ")", ";", "gimple_set_location", "(", "g", ",", "gimple_location", "(", "stmt", ")", ")", ";", "gsi_replace", "(", "gsi", ",", "g", ",", "true", ")", ";", "return", "true", ";", "}", "case", "ALTIVEC_BUILTIN_VMULOSB", ":", "case", "ALTIVEC_BUILTIN_VMULOSH", ":", "case", "ALTIVEC_BUILTIN_VMULOUB", ":", "case", "ALTIVEC_BUILTIN_VMULOUH", ":", "{", "arg0", "=", "gimple_call_arg", "(", "stmt", ",", "0", ")", ";", "arg1", "=", "gimple_call_arg", "(", "stmt", ",", "1", ")", ";", "lhs", "=", "gimple_call_lhs", "(", "stmt", ")", ";", "gimple", "*", "g", "=", "gimple_build_assign", "(", "lhs", ",", "VEC_WIDEN_MULT_ODD_EXPR", ",", "arg0", ",", "arg1", ")", ";", "gimple_set_location", "(", "g", ",", "gimple_location", "(", "stmt", ")", ")", ";", "gsi_replace", "(", "gsi", ",", "g", ",", "true", ")", ";", "return", "true", ";", "}", "default", ":", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Fold", "a", "machine-dependent", "built-in", "in", "GIMPLE", ".", "(", "For", "folding", "into", "a", "constant", ",", "use", "rs6000_fold_builtin", ".", ")"], "TS_V_token": ["rs6000", "0", "1", "0", "1", "0", "1", "0", "1"], "File": "rs60006", "Func": "rs6000_gimple_fold_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19601, "Length": 388, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmParser", "::", "ParseInstruction", "(", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ")", "{", "OwningPtr", "<", "ARMOperand", ">", "Op", ";", "size_t", "Start", "=", "0", ",", "Next", "=", "Name", ".", "find", "(", "'.'", ")", ";", "StringRef", "Head", "=", "Name", ".", "slice", "(", "Start", ",", "Next", ")", ";", "unsigned", "CC", "=", "StringSwitch", "<", "unsigned", ">", "(", "Head", ".", "substr", "(", "Head", ".", "size", "(", ")", "-", "2", ")", ")", ".", "Case", "(", "\"eq\"", ",", "ARMCC", "::", "EQ", ")", ".", "Case", "(", "\"ne\"", ",", "ARMCC", "::", "NE", ")", ".", "Case", "(", "\"hs\"", ",", "ARMCC", "::", "HS", ")", ".", "Case", "(", "\"lo\"", ",", "ARMCC", "::", "LO", ")", ".", "Case", "(", "\"mi\"", ",", "ARMCC", "::", "MI", ")", ".", "Case", "(", "\"pl\"", ",", "ARMCC", "::", "PL", ")", ".", "Case", "(", "\"vs\"", ",", "ARMCC", "::", "VS", ")", ".", "Case", "(", "\"vc\"", ",", "ARMCC", "::", "VC", ")", ".", "Case", "(", "\"hi\"", ",", "ARMCC", "::", "HI", ")", ".", "Case", "(", "\"ls\"", ",", "ARMCC", "::", "LS", ")", ".", "Case", "(", "\"ge\"", ",", "ARMCC", "::", "GE", ")", ".", "Case", "(", "\"lt\"", ",", "ARMCC", "::", "LT", ")", ".", "Case", "(", "\"gt\"", ",", "ARMCC", "::", "GT", ")", ".", "Case", "(", "\"le\"", ",", "ARMCC", "::", "LE", ")", ".", "Case", "(", "\"al\"", ",", "ARMCC", "::", "AL", ")", ".", "Default", "(", "~", "0U", ")", ";", "if", "(", "CC", "!=", "~", "0U", ")", "{", "Head", "=", "Head", ".", "slice", "(", "0", ",", "Head", ".", "size", "(", ")", "-", "2", ")", ";", "}", "else", "CC", "=", "ARMCC", "::", "AL", ";", "ARMOperand", "::", "CreateToken", "(", "Op", ",", "Head", ",", "NameLoc", ")", ";", "Operands", ".", "push_back", "(", "Op", ".", "take", "(", ")", ")", ";", "ARMOperand", "::", "CreateCondCode", "(", "Op", ",", "ARMCC", "::", "CondCodes", "(", "CC", ")", ",", "NameLoc", ")", ";", "Operands", ".", "push_back", "(", "Op", ".", "take", "(", ")", ")", ";", "while", "(", "Next", "!=", "StringRef", "::", "npos", ")", "{", "Start", "=", "Next", ";", "Next", "=", "Name", ".", "find", "(", "'.'", ",", "Start", "+", "1", ")", ";", "Head", "=", "Name", ".", "slice", "(", "Start", ",", "Next", ")", ";", "ARMOperand", "::", "CreateToken", "(", "Op", ",", "Head", ",", "NameLoc", ")", ";", "Operands", ".", "push_back", "(", "Op", ".", "take", "(", ")", ")", ";", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "OwningPtr", "<", "ARMOperand", ">", "Op", ";", "if", "(", "ParseOperand", "(", "Op", ")", ")", "return", "true", ";", "Operands", ".", "push_back", "(", "Op", ".", "take", "(", ")", ")", ";", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "ParseOperand", "(", "Op", ")", ")", "return", "true", ";", "Operands", ".", "push_back", "(", "Op", ".", "take", "(", ")", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["ARM", "ARM", "ARM", "0", "2", "\"eq\"", "ARMCC::EQ", "\"ne\"", "ARMCC::NE", "\"hs\"", "ARMCC::HS", "\"lo\"", "ARMCC::LO", "\"mi\"", "ARMCC::MI", "\"pl\"", "ARMCC::PL", "\"vs\"", "ARMCC::VS", "\"vc\"", "ARMCC::VC", "\"hi\"", "ARMCC::HI", "\"ls\"", "ARMCC::LS", "\"ge\"", "ARMCC::GE", "\"lt\"", "ARMCC::LT", "\"gt\"", "ARMCC::GT", "\"le\"", "ARMCC::LE", "\"al\"", "ARMCC::AL", "0U", "0U", "0", "2", "ARMCC::AL", "ARM", "ARM", "ARMCC::CondCodes", "1", "ARM", "ARM"], "File": "ARMAsmParser32", "Func": "ParseInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19602, "Length": 445, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "addPass", "(", "createMipsOptimizePICCallPass", "(", "getMipsTargetMachine", "(", ")", ")", ")", ";", "}", ""], "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": "MipsTargetMachine46", "Func": "addPreRegAlloc", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19603, "Length": 18, "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", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "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": "SystemZRegisterInfo47", "Func": "eliminateFrameIndex", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19604, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "OR1KFrameLowering", "::", "determineFrameLayout", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "FrameSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "unsigned", "StackAlign", "=", "TRI", "->", "needsStackRealignment", "(", "MF", ")", "?", "MFI", "->", "getMaxAlignment", "(", ")", ":", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", "->", "getStackAlignment", "(", ")", ";", "unsigned", "maxCallFrameSize", "=", "MFI", "->", "getMaxCallFrameSize", "(", ")", ";", "if", "(", "MFI", "->", "hasVarSizedObjects", "(", ")", ")", "maxCallFrameSize", "=", "RoundUpToAlignment", "(", "maxCallFrameSize", ",", "StackAlign", ")", ";", "MFI", "->", "setMaxCallFrameSize", "(", "maxCallFrameSize", ")", ";", "if", "(", "!", "(", "hasReservedCallFrame", "(", "MF", ")", "&&", "MFI", "->", "adjustsStack", "(", ")", ")", ")", "FrameSize", "+=", "maxCallFrameSize", ";", "FrameSize", "=", "RoundUpToAlignment", "(", "FrameSize", ",", "StackAlign", ")", ";", "MFI", "->", "setStackSize", "(", "FrameSize", ")", ";", "}", ""], "natrual_language": ["Determine", "the", "frame", "layout", "but", "do", "not", "update", "the", "machine", "function", "."], "TS_V_token": ["OR1K", "OR1K"], "File": "OR1KFrameLowering", "Func": "determineFrameLayout", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19605, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "X86RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "TargetFrameInfo", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", ";", "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": "X86RegisterInfo40", "Func": "getReservedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19606, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "X86RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "bool", "callsEHReturn", "=", "false", ";", "bool", "ghcCall", "=", "false", ";", "if", "(", "MF", ")", "{", "callsEHReturn", "=", "MF", "->", "getMMI", "(", ")", ".", "callsEHReturn", "(", ")", ";", "const", "Function", "*", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "ghcCall", "=", "(", "F", "?", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "GHC", ":", "false", ")", ";", "}", "if", "(", "ghcCall", ")", "return", "CSR_NoRegs_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"], "File": "X86RegisterInfo36", "Func": "getCalleeSavedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19607, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "X86InstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["X86", "X86"], "File": "X86TargetMachine", "Func": "getInstrInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19608, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "Register", "DestReg", ",", "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", "(", "LoadOpcode", ")", ",", "DestReg", ")", ",", "FrameIdx", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZInstrInfo16", "Func": "loadRegFromStackSlot", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19609, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCSubtarget", "::", "enableMachineScheduler", "(", ")", "const", "{", "return", "needsAggressiveScheduling", "(", "DarwinDirective", ")", ";", "}", ""], "natrual_language": ["Enable", "the", "MachineScheduler", "pass", "for", "all", "X86", "subtargets", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCSubtarget (2)", "Func": "enableMachineScheduler", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19610, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_override_options_after_change", "(", "void", ")", "{", "ix86_default_align", "(", "&", "global_options", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE", "hook", "."], "TS_V_token": ["i386"], "File": "i3865", "Func": "ix86_override_options_after_change", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19611, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "aarch64_constant_alignment", "(", "const_tree", "exp", ",", "HOST_WIDE_INT", "align", ")", "{", "if", "(", "TREE_CODE", "(", "exp", ")", "==", "STRING_CST", "&&", "!", "optimize_size", ")", "return", "MAX", "(", "align", ",", "BITS_PER_WORD", ")", ";", "return", "align", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CONSTANT_ALIGNMENT", ".", "Make", "strings", "word-aligned", "so", "that", "strcpy", "from", "constants", "will", "be", "faster", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_constant_alignment", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19612, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMTargetLowering", "::", "getMaxSupportedInterleaveFactor", "(", ")", "const", "{", "if", "(", "Subtarget", "->", "hasNEON", "(", ")", ")", "return", "4", ";", "if", "(", "Subtarget", "->", "hasMVEIntegerOps", "(", ")", ")", "return", "4", ";", "return", "TargetLoweringBase", "::", "getMaxSupportedInterleaveFactor", "(", ")", ";", "}", ""], "natrual_language": ["Get", "the", "maximum", "supported", "factor", "for", "interleaved", "memory", "accesses", "."], "TS_V_token": ["ARM", "ARM", "4", "4"], "File": "ARMISelLowering180", "Func": "getMaxSupportedInterleaveFactor", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19613, "Length": 38, "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", "(", ")", "/", "8", ")", "&&", "\"Stack slot too small for store\"", ")", ";", "unsigned", "Alignment", "=", "(", "RC", "->", "getSize", "(", ")", "/", "8", ")", "==", "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", "8", "\"Stack slot too small for store\"", "8", "32", "32", "16"], "File": "X86InstrInfo47", "Func": "storeRegToStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19614, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "emit_frame_insn", "(", "rtx", "x", ")", "{", "rtx_insn", "*", "insn", "=", "emit_insn", "(", "x", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "return", "insn", ";", "}", ""], "natrual_language": ["Wrapper", "around", "emit_insn", "that", "sets", "RTX_FRAME_RELATED_P", "on", "the", "insn", "."], "TS_V_token": ["sh", "1"], "File": "sh", "Func": "emit_frame_insn", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19615, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64CallLowering", "::", "splitToValueTypes", "(", "const", "ArgInfo", "&", "OrigArg", ",", "SmallVectorImpl", "<", "ArgInfo", ">", "&", "SplitArgs", ",", "const", "DataLayout", "&", "DL", ",", "MachineRegisterInfo", "&", "MRI", ",", "CallingConv", "::", "ID", "CallConv", ")", "const", "{", "const", "AArch64TargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "AArch64TargetLowering", ">", "(", ")", ";", "LLVMContext", "&", "Ctx", "=", "OrigArg", ".", "Ty", "->", "getContext", "(", ")", ";", "if", "(", "OrigArg", ".", "Ty", "->", "isVoidTy", "(", ")", ")", "return", ";", "SmallVector", "<", "EVT", ",", "4", ">", "SplitVTs", ";", "SmallVector", "<", "uint64_t", ",", "4", ">", "Offsets", ";", "ComputeValueVTs", "(", "TLI", ",", "DL", ",", "OrigArg", ".", "Ty", ",", "SplitVTs", ",", "&", "Offsets", ",", "0", ")", ";", "if", "(", "SplitVTs", ".", "size", "(", ")", "==", "1", ")", "{", "SplitArgs", ".", "emplace_back", "(", "OrigArg", ".", "Regs", "[", "0", "]", ",", "SplitVTs", "[", "0", "]", ".", "getTypeForEVT", "(", "Ctx", ")", ",", "OrigArg", ".", "Flags", ",", "OrigArg", ".", "IsFixed", ")", ";", "return", ";", "}", "assert", "(", "OrigArg", ".", "Regs", ".", "size", "(", ")", "==", "SplitVTs", ".", "size", "(", ")", "&&", "\"Regs / types mismatch\"", ")", ";", "bool", "NeedsRegBlock", "=", "TLI", ".", "functionArgumentNeedsConsecutiveRegisters", "(", "OrigArg", ".", "Ty", ",", "CallConv", ",", "false", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "SplitVTs", ".", "size", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "Type", "*", "SplitTy", "=", "SplitVTs", "[", "i", "]", ".", "getTypeForEVT", "(", "Ctx", ")", ";", "SplitArgs", ".", "emplace_back", "(", "OrigArg", ".", "Regs", "[", "i", "]", ",", "SplitTy", ",", "OrigArg", ".", "Flags", ",", "OrigArg", ".", "IsFixed", ")", ";", "if", "(", "NeedsRegBlock", ")", "SplitArgs", ".", "back", "(", ")", ".", "Flags", ".", "setInConsecutiveRegs", "(", ")", ";", "}", "SplitArgs", ".", "back", "(", ")", ".", "Flags", ".", "setInConsecutiveRegsLast", "(", ")", ";", "}", ""], "natrual_language": ["Break", "OrigArgInfo", "into", "one", "or", "more", "pieces", "the", "calling", "convention", "can", "process", ",", "returned", "in", "SplitArgs", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "4", "4", "0", "1", "0", "0", "\"Regs / types mismatch\"", "0"], "File": "AArch64CallLowering14", "Func": "splitToValueTypes", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19616, "Length": 272, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_xcoff_asm_globalize_decl_name", "(", "FILE", "*", "stream", ",", "tree", "decl", ")", "{", "const", "char", "*", "name", "=", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "decl", ")", ",", "0", ")", ",", "0", ")", ";", "fputs", "(", "GLOBAL_ASM_OP", ",", "stream", ")", ";", "RS6000_OUTPUT_BASENAME", "(", "stream", ",", "name", ")", ";", "fputs", "(", "rs6000_xcoff_visibility", "(", "decl", ")", ",", "stream", ")", ";", "putc", "(", "'\\n'", ",", "stream", ")", ";", "}", ""], "natrual_language": ["Output", "assembly", "language", "to", "globalize", "a", "symbol", "from", "a", "DECL", ",", "possibly", "with", "visibility", "."], "TS_V_token": ["powerpcspe", "0", "0"], "File": "powerpcspe", "Func": "rs6000_xcoff_asm_globalize_decl_name", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19617, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_sim_finish_insn", "(", "struct", "mips_sim", "*", "state", ",", "rtx_insn", "*", "insn", ")", "{", "if", "(", "JUMP_P", "(", "insn", ")", ")", "mips_sim_issue_nop", "(", "state", ")", ";", "switch", "(", "GET_CODE", "(", "SEQ_BEGIN", "(", "insn", ")", ")", ")", "{", "case", "CODE_LABEL", ":", "case", "CALL_INSN", ":", "mips_sim_reset", "(", "state", ")", ";", "break", ";", "case", "JUMP_INSN", ":", "if", "(", "INSN_ANNULLED_BRANCH_P", "(", "SEQ_BEGIN", "(", "insn", ")", ")", ")", "mips_sim_reset", "(", "state", ")", ";", "break", ";", "default", ":", "break", ";", "}", "}", ""], "natrual_language": ["Update", "simulation", "state", "STATE", "so", "that", "it", "'s", "ready", "to", "accept", "the", "instruction", "after", "INSN", ".", "INSN", "should", "be", "part", "of", "the", "main", "rtl", "chain", ",", "not", "a", "member", "of", "a", "SEQUENCE", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_sim_finish_insn", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19618, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "PPCTargetLowering", "::", "shouldExpandAtomicCmpXchgInIR", "(", "AtomicCmpXchgInst", "*", "AI", ")", "const", "{", "unsigned", "Size", "=", "AI", "->", "getNewValOperand", "(", ")", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "EnableQuadwordAtomics", "&&", "Subtarget", ".", "hasQuadwordAtomics", "(", ")", "&&", "Size", "==", "128", ")", "return", "AtomicExpansionKind", "::", "MaskedIntrinsic", ";", "return", "TargetLowering", "::", "shouldExpandAtomicCmpXchgInIR", "(", "AI", ")", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "atomic", "cmpxchg", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "."], "TS_V_token": ["PowerPC", "PPC", "128"], "File": "PPCISelLowering11", "Func": "shouldExpandAtomicCmpXchgInIR", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19619, "Length": 58, "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": 19620, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsLongBranch", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "const", "MipsInstrInfo", "*", "TII", "=", "static_cast", "<", "const", "MipsInstrInfo", "*", ">", "(", "TM", ".", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ")", ";", "const", "MipsSubtarget", "&", "STI", "=", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "if", "(", "STI", ".", "inMips16Mode", "(", ")", "||", "!", "STI", ".", "enableLongBranchPass", "(", ")", ")", "return", "false", ";", "if", "(", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "&&", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "isABI_O32", "(", ")", "&&", "F", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", "->", "globalBaseRegSet", "(", ")", ")", "emitGPDisp", "(", "F", ",", "TII", ")", ";", "if", "(", "SkipLongBranch", ")", "return", "true", ";", "MF", "=", "&", "F", ";", "initMBBInfo", "(", ")", ";", "SmallVectorImpl", "<", "MBBInfo", ">", "::", "iterator", "I", ",", "E", "=", "MBBInfos", ".", "end", "(", ")", ";", "bool", "EverMadeChange", "=", "false", ",", "MadeChange", "=", "true", ";", "while", "(", "MadeChange", ")", "{", "MadeChange", "=", "false", ";", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "!", "I", "->", "Br", "||", "I", "->", "HasLongBranch", ")", "continue", ";", "int", "ShVal", "=", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "inMicroMipsMode", "(", ")", "?", "2", ":", "4", ";", "int64_t", "Offset", "=", "computeOffset", "(", "I", "->", "Br", ")", "/", "ShVal", ";", "if", "(", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "isTargetNaCl", "(", ")", ")", "{", "Offset", "*=", "2", ";", "}", "if", "(", "!", "ForceLongBranch", "&&", "isInt", "<", "16", ">", "(", "Offset", ")", ")", "continue", ";", "I", "->", "HasLongBranch", "=", "true", ";", "I", "->", "Size", "+=", "LongBranchSeqSize", "*", "4", ";", "++", "LongBranches", ";", "EverMadeChange", "=", "MadeChange", "=", "true", ";", "}", "}", "if", "(", "!", "EverMadeChange", ")", "return", "true", ";", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "{", "uint64_t", "Address", "=", "0", ";", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "Address", "+=", "I", "->", "Size", ",", "++", "I", ")", "I", "->", "Address", "=", "Address", ";", "}", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "if", "(", "I", "->", "HasLongBranch", ")", "expandToLongBranch", "(", "*", "I", ")", ";", "MF", "->", "RenumberBlocks", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "2", "4", "Mips", "2", "16", "4", "0"], "File": "MipsLongBranch30", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19621, "Length": 381, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "expand_vselect", "(", "rtx", "target", ",", "rtx", "op0", ",", "const", "unsigned", "char", "*", "perm", ",", "unsigned", "nelt", ",", "bool", "testing_p", ")", "{", "unsigned", "int", "i", ";", "rtx", "x", ",", "save_vconcat", ";", "int", "icode", ";", "if", "(", "vselect_insn", "==", "NULL_RTX", ")", "init_vselect_insn", "(", ")", ";", "x", "=", "XEXP", "(", "SET_SRC", "(", "PATTERN", "(", "vselect_insn", ")", ")", ",", "1", ")", ";", "PUT_NUM_ELEM", "(", "XVEC", "(", "x", ",", "0", ")", ",", "nelt", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "XVECEXP", "(", "x", ",", "0", ",", "i", ")", "=", "GEN_INT", "(", "perm", "[", "i", "]", ")", ";", "save_vconcat", "=", "XEXP", "(", "SET_SRC", "(", "PATTERN", "(", "vselect_insn", ")", ")", ",", "0", ")", ";", "XEXP", "(", "SET_SRC", "(", "PATTERN", "(", "vselect_insn", ")", ")", ",", "0", ")", "=", "op0", ";", "PUT_MODE", "(", "SET_SRC", "(", "PATTERN", "(", "vselect_insn", ")", ")", ",", "GET_MODE", "(", "target", ")", ")", ";", "SET_DEST", "(", "PATTERN", "(", "vselect_insn", ")", ")", "=", "target", ";", "icode", "=", "recog_memoized", "(", "vselect_insn", ")", ";", "if", "(", "icode", ">=", "0", "&&", "!", "testing_p", ")", "emit_insn", "(", "copy_rtx", "(", "PATTERN", "(", "vselect_insn", ")", ")", ")", ";", "SET_DEST", "(", "PATTERN", "(", "vselect_insn", ")", ")", "=", "const0_rtx", ";", "XEXP", "(", "SET_SRC", "(", "PATTERN", "(", "vselect_insn", ")", ")", ",", "0", ")", "=", "save_vconcat", ";", "INSN_CODE", "(", "vselect_insn", ")", "=", "-", "1", ";", "return", "icode", ">=", "0", ";", "}", ""], "natrual_language": ["Construct", "(", "set", "target", "(", "vec_select", "op0", "(", "parallel", "perm", ")", ")", ")", "and", "return", "true", "if", "that", "'s", "a", "valid", "instruction", "in", "the", "active", "ISA", "."], "TS_V_token": ["i386", "1", "0", "0", "0", "0", "0", "0", "0", "1", "0"], "File": "i386-expand", "Func": "expand_vselect", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19622, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "uint16_t", ",", "uint16_t", ">", "ARMBaseInstrInfo", "::", "getExecutionDomain", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "VMOVD", "&&", "!", "isPredicated", "(", "MI", ")", ")", "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", "ARMII::DomainMask", "ARMII::DomainNEON", "0", "ARMII::DomainNEONA8", "0", "ARMII::DomainVFP", "0", "0"], "File": "ARMBaseInstrInfo (2)4", "Func": "getExecutionDomain", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19623, "Length": 145, "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", "(", "0", ",", "0", ")", ";", "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", ";", "unsigned", "Value", "=", "CST", "->", "getZExtValue", "(", ")", ";", "switch", "(", "Letter", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown constraint letter!\"", ")", ";", "case", "'I'", ":", "if", "(", "(", "short", ")", "Value", "==", "(", "int", ")", "Value", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "case", "'J'", ":", "case", "'L'", ":", "if", "(", "(", "short", ")", "Value", "==", "0", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "case", "'K'", ":", "if", "(", "(", "Value", ">>", "16", ")", "==", "0", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "case", "'M'", ":", "if", "(", "Value", ">", "31", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "case", "'N'", ":", "if", "(", "(", "int", ")", "Value", ">", "0", "&&", "isPowerOf2_32", "(", "Value", ")", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "case", "'O'", ":", "if", "(", "Value", "==", "0", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "case", "'P'", ":", "if", "(", "(", "short", ")", "-", "Value", "==", "(", "int", ")", "-", "Value", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "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", "0", "0", "1", "0", "\"Unknown constraint letter!\"", "0", "16", "0", "31", "0", "0"], "File": "PPCISelLowering (2)", "Func": "LowerAsmOperandForConstraint", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19624, "Length": 383, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"ARM Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"ARM Instruction Selection\""], "File": "ARMISelDAGToDAG", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19625, "Length": 11, "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": 19626, "Length": 45, "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_FPImmediate", ":", "{", "assert", "(", "MO", ".", "getFPImm", "(", ")", "->", "isZero", "(", ")", "&&", "\"Only fp imm 0.0 is supported\"", ")", ";", "MCOp", "=", "MCOperand", "::", "CreateFPImm", "(", "0.0", ")", ";", "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!\"", "\"Only fp imm 0.0 is supported\"", "0.0"], "File": "AArch64MCInstLower5", "Func": "lowerOperand", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19627, "Length": 289, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mep_expand_setcc_1", "(", "enum", "rtx_code", "code", ",", "rtx", "dest", ",", "rtx", "op1", ",", "rtx", "op2", ")", "{", "rtx", "tmp", ";", "switch", "(", "code", ")", "{", "case", "GT", ":", "case", "GTU", ":", "tmp", "=", "op1", ",", "op1", "=", "op2", ",", "op2", "=", "tmp", ";", "code", "=", "swap_condition", "(", "code", ")", ";", "case", "LT", ":", "case", "LTU", ":", "op1", "=", "force_reg", "(", "SImode", ",", "op1", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "gen_rtx_fmt_ee", "(", "code", ",", "SImode", ",", "op1", ",", "op2", ")", ")", ")", ";", "return", "true", ";", "case", "EQ", ":", "if", "(", "op2", "!=", "const0_rtx", ")", "op1", "=", "expand_binop", "(", "SImode", ",", "sub_optab", ",", "op1", ",", "op2", ",", "NULL", ",", "1", ",", "OPTAB_WIDEN", ")", ";", "mep_expand_setcc_1", "(", "LTU", ",", "dest", ",", "op1", ",", "const1_rtx", ")", ";", "return", "true", ";", "case", "NE", ":", "if", "(", "optimize_size", "&&", "op2", "!=", "const0_rtx", ")", "return", "false", ";", "if", "(", "op2", "!=", "const0_rtx", ")", "op1", "=", "expand_binop", "(", "SImode", ",", "sub_optab", ",", "op1", ",", "op2", ",", "NULL", ",", "1", ",", "OPTAB_WIDEN", ")", ";", "op2", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "mep_expand_setcc_1", "(", "LTU", ",", "op2", ",", "op1", ",", "const1_rtx", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "gen_rtx_XOR", "(", "SImode", ",", "op2", ",", "const1_rtx", ")", ")", ")", ";", "return", "true", ";", "case", "LE", ":", "if", "(", "GET_CODE", "(", "op2", ")", "!=", "CONST_INT", "||", "INTVAL", "(", "op2", ")", "==", "0x7ffffff", ")", "return", "false", ";", "op2", "=", "GEN_INT", "(", "INTVAL", "(", "op2", ")", "+", "1", ")", ";", "return", "mep_expand_setcc_1", "(", "LT", ",", "dest", ",", "op1", ",", "op2", ")", ";", "case", "LEU", ":", "if", "(", "GET_CODE", "(", "op2", ")", "!=", "CONST_INT", "||", "INTVAL", "(", "op2", ")", "==", "-", "1", ")", "return", "false", ";", "op2", "=", "GEN_INT", "(", "trunc_int_for_mode", "(", "INTVAL", "(", "op2", ")", "+", "1", ",", "SImode", ")", ")", ";", "return", "mep_expand_setcc_1", "(", "LTU", ",", "dest", ",", "op1", ",", "op2", ")", ";", "case", "GE", ":", "if", "(", "GET_CODE", "(", "op2", ")", "!=", "CONST_INT", "||", "INTVAL", "(", "op2", ")", "==", "trunc_int_for_mode", "(", "0x80000000", ",", "SImode", ")", ")", "return", "false", ";", "op2", "=", "GEN_INT", "(", "INTVAL", "(", "op2", ")", "-", "1", ")", ";", "return", "mep_expand_setcc_1", "(", "GT", ",", "dest", ",", "op1", ",", "op2", ")", ";", "case", "GEU", ":", "if", "(", "GET_CODE", "(", "op2", ")", "!=", "CONST_INT", "||", "op2", "==", "const0_rtx", ")", "return", "false", ";", "op2", "=", "GEN_INT", "(", "trunc_int_for_mode", "(", "INTVAL", "(", "op2", ")", "-", "1", ",", "SImode", ")", ")", ";", "return", "mep_expand_setcc_1", "(", "GTU", ",", "dest", ",", "op1", ",", "op2", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "a", "setcc", "instruction", "in", "its", "entirity", "."], "TS_V_token": ["mep", "1", "1", "0x7ffffff", "1", "1", "1", "0x80000000", "1", "1"], "File": "mep", "Func": "mep_expand_setcc_1", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19628, "Length": 416, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcTargetMachine", "::", "SparcTargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "is64bit", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "TLOF", "(", "make_unique", "<", "SparcELFTargetObjectFile", ">", "(", ")", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ",", "is64bit", ")", "{", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "ILP32", "architecture", "model", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc"], "File": "SparcTargetMachine46", "Func": "SparcTargetMachine", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19629, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_add_new_builtins", "(", "HOST_WIDE_INT", "isa", ",", "HOST_WIDE_INT", "isa2", ")", "{", "isa", "&=", "~", "OPTION_MASK_ISA_64BIT", ";", "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", ";", "}", "}", "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"], "File": "i3868", "Func": "ix86_add_new_builtins", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19630, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TOYRegisterInfo", "::", "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": ["TOY", "TOY"], "File": "TOYRegisterInfo1", "Func": "requiresRegisterScavenging", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19631, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_output_aligned_decl_common", "(", "FILE", "*", "stream", ",", "tree", "decl", ",", "const", "char", "*", "name", ",", "unsigned", "HOST_WIDE_INT", "size", ",", "unsigned", "int", "align", ")", "{", "if", "(", "TARGET_EMBEDDED_DATA", "&&", "TARGET_UNINIT_CONST_IN_RODATA", "&&", "TREE_CODE", "(", "decl", ")", "==", "VAR_DECL", "&&", "TREE_READONLY", "(", "decl", ")", "&&", "(", "DECL_INITIAL", "(", "decl", ")", "==", "0", "||", "DECL_INITIAL", "(", "decl", ")", "==", "error_mark_node", ")", ")", "{", "if", "(", "TREE_PUBLIC", "(", "decl", ")", "&&", "DECL_NAME", "(", "decl", ")", ")", "targetm", ".", "asm_out", ".", "globalize_label", "(", "stream", ",", "name", ")", ";", "switch_to_section", "(", "readonly_data_section", ")", ";", "ASM_OUTPUT_ALIGN", "(", "stream", ",", "floor_log2", "(", "align", "/", "BITS_PER_UNIT", ")", ")", ";", "mips_declare_object", "(", "stream", ",", "name", ",", "\"\"", ",", "\":\\n\\t.space\\t\"", "HOST_WIDE_INT_PRINT_UNSIGNED", "\"\\n\"", ",", "size", ")", ";", "}", "else", "mips_declare_common_object", "(", "stream", ",", "name", ",", "\"\\n\\t.comm\\t\"", ",", "size", ",", "align", ",", "true", ")", ";", "}", ""], "natrual_language": ["Implement", "ASM_OUTPUT_ALIGNED_DECL_COMMON", ".", "This", "is", "usually", "the", "same", "as", "the", "elfos.h", "version", ",", "but", "we", "also", "need", "to", "handle", "-muninit-const-in-rodata", "."], "TS_V_token": ["mips", "0", "\"\"", "\":\\n\\t.space\\t\"", "\"\\n\"", "\"\\n\\t.comm\\t\""], "File": "mips", "Func": "mips_output_aligned_decl_common", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19632, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "KudeyarRegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "return", "&", "Kudeyar", "::", "GPRRegClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["Kudeyar", "Kudeyar", "Kudeyar::GPRRegClass"], "File": "KudeyarRegisterInfo", "Func": "getPointerRegClass", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19633, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86ATTInstPrinter", "::", "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", "(", "CommentStream", ")", "HasCustomInstComment", "=", "EmitAnyX86InstComments", "(", "MI", ",", "*", "CommentStream", ",", "MII", ",", "getRegisterName", ")", ";", "unsigned", "Flags", "=", "MI", "->", "getFlags", "(", ")", ";", "if", "(", "(", "TSFlags", "&", "X86II", "::", "LOCK", ")", "||", "(", "Flags", "&", "X86", "::", "IP_HAS_LOCK", ")", ")", "OS", "<<", "\"\\tlock\\t\"", ";", "if", "(", "(", "TSFlags", "&", "X86II", "::", "NOTRACK", ")", "||", "(", "Flags", "&", "X86", "::", "IP_HAS_NOTRACK", ")", ")", "OS", "<<", "\"\\tnotrack\\t\"", ";", "if", "(", "Flags", "&", "X86", "::", "IP_HAS_REPEAT_NE", ")", "OS", "<<", "\"\\trepne\\t\"", ";", "else", "if", "(", "Flags", "&", "X86", "::", "IP_HAS_REPEAT", ")", "OS", "<<", "\"\\trep\\t\"", ";", "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", "]", ")", ")", "{", "MCInst", "Data32MI", "(", "*", "MI", ")", ";", "Data32MI", ".", "setOpcode", "(", "X86", "::", "DATA32_PREFIX", ")", ";", "printInstruction", "(", "&", "Data32MI", ",", "OS", ")", ";", "}", "else", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "OS", ")", ")", "printInstruction", "(", "MI", ",", "OS", ")", ";", "printAnnotation", "(", "OS", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["X86", "X86", "X86", "X86II::LOCK", "X86::IP_HAS_LOCK", "\"\\tlock\\t\"", "X86II::NOTRACK", "X86::IP_HAS_NOTRACK", "\"\\tnotrack\\t\"", "X86::IP_HAS_REPEAT_NE", "\"\\trepne\\t\"", "X86::IP_HAS_REPEAT", "\"\\trep\\t\"", "X86::CALLpcrel32", "X86::Mode64Bit", "\"\\tcallq\\t\"", "0", "X86::DATA16_PREFIX", "X86::Mode16Bit", "X86::DATA32_PREFIX"], "File": "X86ATTInstPrinter35", "Func": "printInst", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19634, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_remove_extra_call_preserved_regs", "(", "rtx_insn", "*", "insn", ",", "HARD_REG_SET", "*", "return_set", ")", "{", "if", "(", "aarch64_simd_call_p", "(", "insn", ")", ")", "{", "for", "(", "int", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "FP_SIMD_SAVED_REGNUM_P", "(", "regno", ")", ")", "CLEAR_HARD_REG_BIT", "(", "*", "return_set", ",", "regno", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_REMOVE_EXTRA_CALL_PRESERVED_REGS", ".", "If", "INSN", "calls", "a", "function", "that", "uses", "the", "SIMD", "ABI", ",", "take", "advantage", "of", "the", "extra", "call-preserved", "registers", "that", "the", "ABI", "provides", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch646", "Func": "aarch64_remove_extra_call_preserved_regs", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19635, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_set_tune", "(", "const", "struct", "mips_cpu_info", "*", "info", ")", "{", "if", "(", "info", "!=", "0", ")", "{", "mips_tune_info", "=", "info", ";", "mips_tune", "=", "info", "->", "cpu", ";", "}", "}", ""], "natrual_language": ["Likewise", "for", "tuning", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips_set_tune", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19636, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "promote_duplicated_reg", "(", "machine_mode", "mode", ",", "rtx", "val", ")", "{", "machine_mode", "valmode", "=", "GET_MODE", "(", "val", ")", ";", "rtx", "tmp", ";", "int", "nops", "=", "mode", "==", "DImode", "?", "3", ":", "2", ";", "gcc_assert", "(", "mode", "==", "SImode", "||", "mode", "==", "DImode", "||", "val", "==", "const0_rtx", ")", ";", "if", "(", "val", "==", "const0_rtx", ")", "return", "copy_to_mode_reg", "(", "mode", ",", "CONST0_RTX", "(", "mode", ")", ")", ";", "if", "(", "CONST_INT_P", "(", "val", ")", ")", "{", "HOST_WIDE_INT", "v", "=", "INTVAL", "(", "val", ")", "&", "255", ";", "v", "|=", "v", "<<", "8", ";", "v", "|=", "v", "<<", "16", ";", "if", "(", "mode", "==", "DImode", ")", "v", "|=", "(", "v", "<<", "16", ")", "<<", "16", ";", "return", "copy_to_mode_reg", "(", "mode", ",", "gen_int_mode", "(", "v", ",", "mode", ")", ")", ";", "}", "if", "(", "valmode", "==", "VOIDmode", ")", "valmode", "=", "QImode", ";", "if", "(", "valmode", "!=", "QImode", ")", "val", "=", "gen_lowpart", "(", "QImode", ",", "val", ")", ";", "if", "(", "mode", "==", "QImode", ")", "return", "val", ";", "if", "(", "!", "TARGET_PARTIAL_REG_STALL", ")", "nops", "--", ";", "if", "(", "ix86_cost", "->", "mult_init", "[", "mode", "==", "DImode", "?", "3", ":", "2", "]", "+", "ix86_cost", "->", "mult_bit", "*", "(", "mode", "==", "DImode", "?", "8", ":", "4", ")", "<=", "(", "ix86_cost", "->", "shift_const", "+", "ix86_cost", "->", "add", ")", "*", "nops", "+", "(", "COSTS_N_INSNS", "(", "TARGET_PARTIAL_REG_STALL", "==", "0", ")", ")", ")", "{", "rtx", "reg", "=", "convert_modes", "(", "mode", ",", "QImode", ",", "val", ",", "true", ")", ";", "tmp", "=", "promote_duplicated_reg", "(", "mode", ",", "const1_rtx", ")", ";", "return", "expand_simple_binop", "(", "mode", ",", "MULT", ",", "reg", ",", "tmp", ",", "NULL", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "}", "else", "{", "rtx", "reg", "=", "convert_modes", "(", "mode", ",", "QImode", ",", "val", ",", "true", ")", ";", "if", "(", "!", "TARGET_PARTIAL_REG_STALL", ")", "if", "(", "mode", "==", "SImode", ")", "emit_insn", "(", "gen_movsi_insv_1", "(", "reg", ",", "reg", ")", ")", ";", "else", "emit_insn", "(", "gen_movdi_insv_1", "(", "reg", ",", "reg", ")", ")", ";", "else", "{", "tmp", "=", "expand_simple_binop", "(", "mode", ",", "ASHIFT", ",", "reg", ",", "GEN_INT", "(", "8", ")", ",", "NULL", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "reg", "=", "expand_simple_binop", "(", "mode", ",", "IOR", ",", "reg", ",", "tmp", ",", "reg", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "}", "tmp", "=", "expand_simple_binop", "(", "mode", ",", "ASHIFT", ",", "reg", ",", "GEN_INT", "(", "16", ")", ",", "NULL", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "reg", "=", "expand_simple_binop", "(", "mode", ",", "IOR", ",", "reg", ",", "tmp", ",", "reg", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "if", "(", "mode", "==", "SImode", ")", "return", "reg", ";", "tmp", "=", "expand_simple_binop", "(", "mode", ",", "ASHIFT", ",", "reg", ",", "GEN_INT", "(", "32", ")", ",", "NULL", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "reg", "=", "expand_simple_binop", "(", "mode", ",", "IOR", ",", "reg", ",", "tmp", ",", "reg", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "return", "reg", ";", "}", "}", ""], "natrual_language": ["Helper", "function", "for", "memcpy", ".", "For", "QImode", "value", "0xXY", "produce", "0xXYXYXYXY", "of", "wide", "specified", "by", "MODE", ".", "This", "is", "essentially", "a", "*", "0x10101010", ",", "but", "we", "can", "do", "slightly", "better", "than", "synth_mult", "by", "unwinding", "the", "sequence", "by", "hand", "on", "CPUs", "with", "slow", "multiply", "."], "TS_V_token": ["i386", "3", "2", "255", "8", "16", "16", "16", "3", "2", "8", "4", "0", "1", "8", "1", "1", "16", "1", "1", "32", "1", "1"], "File": "i3864", "Func": "promote_duplicated_reg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19637, "Length": 448, "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", "||", "!", "TARGET_VECTORIZE_BUILTINS", ")", "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": ["powerpcspe", "\"rs6000_builtin_md_vectorized_function (%s, %s, %s)\\n\"", "4", "4", "2", "2", "4", "4", "2", "2"], "File": "powerpcspe", "Func": "rs6000_builtin_md_vectorized_function", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19638, "Length": 278, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isFMAFasterThanFMulAndFAdd", "(", "EVT", "VT", ")", "const", "{", "VT", "=", "VT", ".", "getScalarType", "(", ")", ";", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "case", "MVT", "::", "f16", ":", "case", "MVT", "::", "f32", ":", "case", "MVT", "::", "f64", ":", "return", "true", ";", "case", "MVT", "::", "f128", ":", "return", "false", ";", "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": ["AArch64", "AArch64", "MVT::f16", "MVT::f32", "MVT::f64", "MVT::f128"], "File": "AArch64ISelLowering109", "Func": "isFMAFasterThanFMulAndFAdd", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19639, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "isStoreToStackSlotPostFE", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "unsigned", "Dummy", ";", "if", "(", "isFrameStoreOpcode", "(", "MI", ".", "getOpcode", "(", ")", ",", "Dummy", ")", ")", "{", "unsigned", "Reg", ";", "if", "(", "(", "Reg", "=", "isStoreToStackSlot", "(", "MI", ",", "FrameIndex", ")", ")", ")", "return", "Reg", ";", "SmallVector", "<", "const", "MachineMemOperand", "*", ",", "1", ">", "Accesses", ";", "if", "(", "hasStoreToStackSlot", "(", "MI", ",", "Accesses", ")", ")", "{", "FrameIndex", "=", "cast", "<", "FixedStackPseudoSourceValue", ">", "(", "Accesses", ".", "front", "(", ")", "->", "getPseudoValue", "(", ")", ")", "->", "getFrameIndex", "(", ")", ";", "return", "1", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["isStoreToStackSlotPostFE", "-", "Check", "for", "post-frame", "ptr", "elimination", "stack", "locations", "as", "well", "."], "TS_V_token": ["X86", "X86", "1", "1", "0"], "File": "X86InstrInfo1", "Func": "isStoreToStackSlotPostFE", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19640, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TargetLowering", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "unsigned", "FPDiff", "=", "RegInfo", "->", "hasFP", "(", "MF", ")", "?", "1", ":", "0", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "X86", "::", "GR32RegClassID", ":", "return", "4", "-", "FPDiff", ";", "case", "X86", "::", "GR64RegClassID", ":", "return", "8", "-", "FPDiff", ";", "case", "X86", "::", "VR128RegClassID", ":", "return", "Subtarget", "->", "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", "8", "X86::VR128RegClassID", "10", "4", "X86::VR64RegClassID", "4"], "File": "X86ISelLowering73", "Func": "getRegPressureLimit", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19641, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCScoreboardHazardRecognizer", "::", "EmitInstruction", "(", "SUnit", "*", "SU", ")", "{", "const", "MCInstrDesc", "*", "MCID", "=", "DAG", "->", "getInstrDesc", "(", "SU", ")", ";", "if", "(", "!", "MCID", ")", "return", ";", "ScoreboardHazardRecognizer", "::", "EmitInstruction", "(", "SU", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCHazardRecognizers26", "Func": "EmitInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19642, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "PPCTTIImpl", "::", "getIntImmCostInst", "(", "unsigned", "Opcode", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ",", "Instruction", "*", "Inst", ")", "{", "if", "(", "DisablePPCConstHoist", ")", "return", "BaseT", "::", "getIntImmCostInst", "(", "Opcode", ",", "Idx", ",", "Imm", ",", "Ty", ",", "CostKind", ",", "Inst", ")", ";", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", ")", "return", "~", "0U", ";", "unsigned", "ImmIdx", "=", "~", "0U", ";", "bool", "ShiftedFree", "=", "false", ",", "RunFree", "=", "false", ",", "UnsignedFree", "=", "false", ",", "ZeroFree", "=", "false", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "TTI", "::", "TCC_Free", ";", "case", "Instruction", "::", "GetElementPtr", ":", "if", "(", "Idx", "==", "0", ")", "return", "2", "*", "TTI", "::", "TCC_Basic", ";", "return", "TTI", "::", "TCC_Free", ";", "case", "Instruction", "::", "And", ":", "RunFree", "=", "true", ";", "LLVM_FALLTHROUGH", ";", "case", "Instruction", "::", "Add", ":", "case", "Instruction", "::", "Or", ":", "case", "Instruction", "::", "Xor", ":", "ShiftedFree", "=", "true", ";", "LLVM_FALLTHROUGH", ";", "case", "Instruction", "::", "Sub", ":", "case", "Instruction", "::", "Mul", ":", "case", "Instruction", "::", "Shl", ":", "case", "Instruction", "::", "LShr", ":", "case", "Instruction", "::", "AShr", ":", "ImmIdx", "=", "1", ";", "break", ";", "case", "Instruction", "::", "ICmp", ":", "UnsignedFree", "=", "true", ";", "ImmIdx", "=", "1", ";", "LLVM_FALLTHROUGH", ";", "case", "Instruction", "::", "Select", ":", "ZeroFree", "=", "true", ";", "break", ";", "case", "Instruction", "::", "PHI", ":", "case", "Instruction", "::", "Call", ":", "case", "Instruction", "::", "Ret", ":", "case", "Instruction", "::", "Load", ":", "case", "Instruction", "::", "Store", ":", "break", ";", "}", "if", "(", "ZeroFree", "&&", "Imm", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "Idx", "==", "ImmIdx", "&&", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", ")", "{", "if", "(", "isInt", "<", "16", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "RunFree", ")", "{", "if", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "32", "&&", "(", "isShiftedMask_32", "(", "Imm", ".", "getZExtValue", "(", ")", ")", "||", "isShiftedMask_32", "(", "~", "Imm", ".", "getZExtValue", "(", ")", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "ST", "->", "isPPC64", "(", ")", "&&", "(", "isShiftedMask_64", "(", "Imm", ".", "getZExtValue", "(", ")", ")", "||", "isShiftedMask_64", "(", "~", "Imm", ".", "getZExtValue", "(", ")", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "}", "if", "(", "UnsignedFree", "&&", "isUInt", "<", "16", ">", "(", "Imm", ".", "getZExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "ShiftedFree", "&&", "(", "Imm", ".", "getZExtValue", "(", ")", "&", "0xFFFF", ")", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "}", "return", "PPCTTIImpl", "::", "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": ["PowerPC", "PPC", "PPC", "0", "0U", "0U", "0", "2", "1", "1", "0", "64", "16", "32", "PPC", "16", "0xFFFF", "0", "PPC"], "File": "PPCTargetTransformInfo1", "Func": "getIntImmCostInst", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19643, "Length": 434, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "getIntImmCost", "(", "Intrinsic", "::", "ID", "IID", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "{", "return", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["Lanai", "Intrinsic::ID"], "File": "LanaiTargetTransformInfo", "Func": "getIntImmCost", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19644, "Length": 30, "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", "(", ")", ",", "64", ")", ";", "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", "64", "X86::sub_32bit"], "File": "X86InstrInfo (2)1", "Func": "classifyLEAReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19645, "Length": 349, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_file_start", "(", "void", ")", "{", "ia64_flag_var_tracking", "=", "flag_var_tracking", ";", "flag_var_tracking", "=", "0", ";", "default_file_start", "(", ")", ";", "emit_safe_across_calls", "(", ")", ";", "}", ""], "natrual_language": ["Begin", "the", "assembly", "file", "."], "TS_V_token": ["ia64", "0"], "File": "ia643", "Func": "ia64_file_start", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19646, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_move_imm", "(", "HOST_WIDE_INT", "val", ",", "machine_mode", "mode", ")", "{", "scalar_int_mode", "int_mode", ";", "if", "(", "!", "is_a", "<", "scalar_int_mode", ">", "(", "mode", ",", "&", "int_mode", ")", ")", "return", "false", ";", "if", "(", "aarch64_movw_imm", "(", "val", ",", "int_mode", ")", "||", "aarch64_movw_imm", "(", "~", "val", ",", "int_mode", ")", ")", "return", "1", ";", "return", "aarch64_bitmask_imm", "(", "val", ",", "int_mode", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "val", "is", "an", "immediate", "that", "can", "be", "loaded", "into", "a", "register", "in", "a", "single", "instruction", "."], "TS_V_token": ["aarch64", "1"], "File": "aarch64", "Func": "aarch64_move_imm", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19647, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "unsigned", "VReg", ")", "const", "{", "assert", "(", "!", "Val", "==", "!", "VReg", "&&", "\"Return value without a vreg\"", ")", ";", "auto", "Ret", "=", "AddDefaultPred", "(", "MIRBuilder", ".", "buildInstrNoInsert", "(", "ARM", "::", "BX_RET", ")", ")", ";", "if", "(", "!", "lowerReturnVal", "(", "MIRBuilder", ",", "Val", ",", "VReg", ",", "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::BX_RET"], "File": "ARMCallLowering12", "Func": "lowerReturn", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19648, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "breakPartialRegDependency", "(", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "OpNum", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "unsigned", "Reg", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "getReg", "(", ")", ";", "if", "(", "MI", "->", "killsRegister", "(", "Reg", ",", "TRI", ")", ")", "return", ";", "if", "(", "X86", "::", "VR128RegClass", ".", "contains", "(", "Reg", ")", ")", "{", "bool", "HasAVX", "=", "Subtarget", ".", "hasAVX", "(", ")", ";", "unsigned", "Opc", "=", "HasAVX", "?", "X86", "::", "VXORPSrr", ":", "X86", "::", "XORPSrr", ";", "BuildMI", "(", "*", "MI", "->", "getParent", "(", ")", ",", "MI", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "Opc", ")", ",", "Reg", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Undef", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Undef", ")", ";", "}", "else", "if", "(", "X86", "::", "VR256RegClass", ".", "contains", "(", "Reg", ")", ")", "{", "unsigned", "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", ")", ";", "}", "else", "return", ";", "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"], "File": "X86InstrInfo (2)2", "Func": "breakPartialRegDependency", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19649, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_noce_conversion_profitable_p", "(", "rtx_insn", "*", "seq", ",", "struct", "noce_if_info", "*", "if_info", ")", "{", "if", "(", "TARGET_ONE_IF_CONV_INSN", "&&", "if_info", "->", "speed_p", ")", "{", "int", "cmov_cnt", "=", "0", ";", "for", "(", "rtx_insn", "*", "insn", "=", "seq", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "rtx", "set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "!", "set", ")", "continue", ";", "if", "(", "GET_CODE", "(", "SET_SRC", "(", "set", ")", ")", "!=", "IF_THEN_ELSE", ")", "continue", ";", "rtx", "src", "=", "SET_SRC", "(", "set", ")", ";", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "src", ")", ";", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_INT", "&&", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_FLOAT", ")", "continue", ";", "if", "(", "(", "!", "REG_P", "(", "XEXP", "(", "src", ",", "1", ")", ")", "&&", "!", "MEM_P", "(", "XEXP", "(", "src", ",", "1", ")", ")", ")", "||", "(", "!", "REG_P", "(", "XEXP", "(", "src", ",", "2", ")", ")", "&&", "!", "MEM_P", "(", "XEXP", "(", "src", ",", "2", ")", ")", ")", ")", "continue", ";", "if", "(", "++", "cmov_cnt", ">", "1", ")", "return", "false", ";", "}", "}", "return", "default_noce_conversion_profitable_p", "(", "seq", ",", "if_info", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "SEQ", "is", "a", "good", "candidate", "as", "a", "replacement", "for", "the", "if-convertible", "sequence", "described", "in", "IF_INFO", "."], "TS_V_token": ["i386", "0", "1", "1", "2", "2", "1"], "File": "i3866", "Func": "ix86_noce_conversion_profitable_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19650, "Length": 183, "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", "(", "nullptr", ",", "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", "1", "0", "13"], "File": "SparcISelLowering18", "Func": "LowerAsmOperandForConstraint", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19651, "Length": 158, "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", ")", ",", "IsNaN2008bit", "(", "false", ")", ",", "IsGP64bit", "(", "false", ")", ",", "HasVFPU", "(", "false", ")", ",", "HasCnMips", "(", "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", ")", ",", "TargetTriple", "(", "TT", ")", "{", "std", "::", "string", "CPUName", "=", "CPU", ";", "CPUName", "=", "selectMipsCPU", "(", "TT", ",", "CPUName", ")", ";", "ParseSubtargetFeatures", "(", "CPUName", ",", "FS", ")", ";", "if", "(", "InMips16Mode", "&&", "!", "TM", "->", "Options", ".", "UseSoftFloat", ")", "{", "TM", "->", "Options", ".", "UseSoftFloat", "=", "true", ";", "TM", "->", "Options", ".", "FloatABIType", "=", "FloatABI", "::", "Soft", ";", "InMips16HardFloat", "=", "true", ";", "}", "PreviousInMips16Mode", "=", "InMips16Mode", ";", "InstrItins", "=", "getInstrItineraryForCPU", "(", "CPUName", ")", ";", "if", "(", "MipsArchVersion", "==", "Mips1", ")", "report_fatal_error", "(", "\"Code generation for MIPS-I is not implemented\"", ",", "false", ")", ";", "if", "(", "MipsArchVersion", "==", "Mips2", ")", "report_fatal_error", "(", "\"Code generation for MIPS-II is not implemented\"", ",", "false", ")", ";", "if", "(", "MipsArchVersion", "==", "Mips3", ")", "report_fatal_error", "(", "\"Code generation for MIPS-III is not implemented\"", ",", "false", ")", ";", "if", "(", "MipsArchVersion", "==", "Mips5", ")", "report_fatal_error", "(", "\"Code generation for MIPS-V is not implemented\"", ",", "false", ")", ";", "assert", "(", "MipsABI", "!=", "UnknownABI", ")", ";", "assert", "(", "(", "(", "(", "getFeatureBits", "(", ")", "&", "Mips", "::", "FeatureO32", ")", "!=", "0", ")", "+", "(", "(", "getFeatureBits", "(", ")", "&", "Mips", "::", "FeatureEABI", ")", "!=", "0", ")", "+", "(", "(", "getFeatureBits", "(", ")", "&", "Mips", "::", "FeatureN32", ")", "!=", "0", ")", "+", "(", "(", "getFeatureBits", "(", ")", "&", "Mips", "::", "FeatureN64", ")", "!=", "0", ")", ")", "==", "1", ")", ";", "assert", "(", "(", "(", "!", "isGP64bit", "(", ")", "&&", "(", "isABI_O32", "(", ")", "||", "isABI_EABI", "(", ")", ")", ")", "||", "(", "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", "(", "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", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "\"Code generation for MIPS-I is not implemented\"", "Mips", "Mips", "\"Code generation for MIPS-II is not implemented\"", "Mips", "Mips", "\"Code generation for MIPS-III is not implemented\"", "Mips", "Mips", "\"Code generation for MIPS-V is not implemented\"", "Mips", "Mips::FeatureO32", "0", "Mips::FeatureEABI", "0", "Mips::FeatureN32", "0", "Mips::FeatureN64", "0", "1", "\"Invalid Arch & ABI pair.\"", "\"MSA requires a 64-bit FPU register file (FR=1 mode). \"", "\"See -mattr=+fp64.\"", "\"linux\"", "Mips"], "File": "MipsSubtarget45", "Func": "MipsSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19652, "Length": 477, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_override_options", "(", "void", ")", "{", "unsigned", "long", "cpu_isa", "=", "0", ";", "unsigned", "long", "arch_isa", "=", "0", ";", "aarch64_isa_flags", "=", "0", ";", "bool", "valid_cpu", "=", "true", ";", "bool", "valid_tune", "=", "true", ";", "bool", "valid_arch", "=", "true", ";", "selected_cpu", "=", "NULL", ";", "selected_arch", "=", "NULL", ";", "selected_tune", "=", "NULL", ";", "if", "(", "aarch64_cpu_string", ")", "valid_cpu", "=", "aarch64_validate_mcpu", "(", "aarch64_cpu_string", ",", "&", "selected_cpu", ",", "&", "cpu_isa", ")", ";", "if", "(", "aarch64_arch_string", ")", "valid_arch", "=", "aarch64_validate_march", "(", "aarch64_arch_string", ",", "&", "selected_arch", ",", "&", "arch_isa", ")", ";", "if", "(", "aarch64_tune_string", ")", "valid_tune", "=", "aarch64_validate_mtune", "(", "aarch64_tune_string", ",", "&", "selected_tune", ")", ";", "if", "(", "!", "selected_cpu", ")", "{", "if", "(", "selected_arch", ")", "{", "selected_cpu", "=", "&", "all_cores", "[", "selected_arch", "->", "ident", "]", ";", "aarch64_isa_flags", "=", "arch_isa", ";", "explicit_arch", "=", "selected_arch", "->", "arch", ";", "}", "else", "{", "selected_cpu", "=", "aarch64_get_tune_cpu", "(", "aarch64_none", ")", ";", "aarch64_isa_flags", "=", "TARGET_CPU_DEFAULT", ">>", "6", ";", "}", "if", "(", "selected_tune", ")", "explicit_tune_core", "=", "selected_tune", "->", "ident", ";", "}", "else", "if", "(", "selected_arch", ")", "{", "if", "(", "selected_arch", "->", "arch", "!=", "selected_cpu", "->", "arch", ")", "{", "warning", "(", "0", ",", "\"switch -mcpu=%s conflicts with -march=%s switch\"", ",", "all_architectures", "[", "selected_cpu", "->", "arch", "]", ".", "name", ",", "selected_arch", "->", "name", ")", ";", "}", "aarch64_isa_flags", "=", "arch_isa", ";", "explicit_arch", "=", "selected_arch", "->", "arch", ";", "explicit_tune_core", "=", "selected_tune", "?", "selected_tune", "->", "ident", ":", "selected_cpu", "->", "ident", ";", "}", "else", "{", "aarch64_isa_flags", "=", "cpu_isa", ";", "explicit_tune_core", "=", "selected_tune", "?", "selected_tune", "->", "ident", ":", "selected_cpu", "->", "ident", ";", "gcc_assert", "(", "selected_cpu", ")", ";", "selected_arch", "=", "&", "all_architectures", "[", "selected_cpu", "->", "arch", "]", ";", "explicit_arch", "=", "selected_arch", "->", "arch", ";", "}", "if", "(", "!", "selected_arch", ")", "{", "gcc_assert", "(", "selected_cpu", ")", ";", "selected_arch", "=", "&", "all_architectures", "[", "selected_cpu", "->", "arch", "]", ";", "}", "if", "(", "!", "selected_tune", ")", "selected_tune", "=", "selected_cpu", ";", "if", "(", "TARGET_ILP32", ")", "error", "(", "\"Assembler does not support -mabi=ilp32\"", ")", ";", "if", "(", "(", "aarch64_cpu_string", "&&", "valid_cpu", ")", "||", "(", "aarch64_tune_string", "&&", "valid_tune", ")", ")", "gcc_assert", "(", "explicit_tune_core", "!=", "aarch64_none", ")", ";", "if", "(", "(", "aarch64_cpu_string", "&&", "valid_cpu", ")", "||", "(", "aarch64_arch_string", "&&", "valid_arch", ")", ")", "gcc_assert", "(", "explicit_arch", "!=", "aarch64_no_arch", ")", ";", "aarch64_override_options_internal", "(", "&", "global_options", ")", ";", "target_option_default_node", "=", "target_option_current_node", "=", "build_target_option_node", "(", "&", "global_options", ")", ";", "aarch64_register_fma_steering", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_OVERRIDE", "."], "TS_V_token": ["aarch64", "0", "0", "0", "6", "0", "\"switch -mcpu=%s conflicts with -march=%s switch\"", "\"Assembler does not support -mabi=ilp32\""], "File": "aarch643", "Func": "aarch64_override_options", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19653, "Length": 361, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "AArch64TargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "IsMemset", ",", "bool", "ZeroMemset", ",", "bool", "MemcpyStrSrc", ",", "const", "AttributeList", "&", "FuncAttributes", ")", "const", "{", "bool", "CanImplicitFloat", "=", "!", "FuncAttributes", ".", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ";", "bool", "CanUseNEON", "=", "Subtarget", "->", "hasNEON", "(", ")", "&&", "CanImplicitFloat", ";", "bool", "CanUseFP", "=", "Subtarget", "->", "hasFPARMv8", "(", ")", "&&", "CanImplicitFloat", ";", "bool", "IsSmallMemset", "=", "IsMemset", "&&", "Size", "<", "32", ";", "auto", "AlignmentIsAcceptable", "=", "[", "&", "]", "(", "EVT", "VT", ",", "unsigned", "AlignCheck", ")", "{", "if", "(", "memOpAlign", "(", "SrcAlign", ",", "DstAlign", ",", "AlignCheck", ")", ")", "return", "true", ";", "bool", "Fast", ";", "return", "allowsMisalignedMemoryAccesses", "(", "VT", ",", "0", ",", "1", ",", "MachineMemOperand", "::", "MONone", ",", "&", "Fast", ")", "&&", "Fast", ";", "}", ";", "if", "(", "CanUseNEON", "&&", "IsMemset", "&&", "!", "IsSmallMemset", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "v2i64", ",", "16", ")", ")", "return", "MVT", "::", "v2i64", ";", "if", "(", "CanUseFP", "&&", "!", "IsSmallMemset", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "f128", ",", "16", ")", ")", "return", "MVT", "::", "f128", ";", "if", "(", "Size", ">=", "8", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "i64", ",", "8", ")", ")", "return", "MVT", "::", "i64", ";", "if", "(", "Size", ">=", "4", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "i32", ",", "4", ")", ")", "return", "MVT", "::", "i32", ";", "return", "MVT", "::", "Other", ";", "}", ""], "natrual_language": ["It", "returns", "EVT", ":", ":Other", "if", "the", "type", "should", "be", "determined", "using", "generic", "target-independent", "logic", "."], "TS_V_token": ["AArch64", "AArch64", "32", "0", "1", "MVT::v2i64", "16", "MVT::v2i64", "MVT::f128", "16", "MVT::f128", "8", "MVT::i64", "8", "MVT::i64", "4", "MVT::i32", "4", "MVT::i32", "MVT::Other"], "File": "AArch64ISelLowering (2)3", "Func": "getOptimalMemOpType", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19654, "Length": 216, "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": ["ARM"], "File": "ARMSLSHardening", "Func": "getAnalysisUsage", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19655, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Relocator", "::", "Result", "unsupported", "(", "Relocation", "&", "pReloc", ",", "X86_64Relocator", "&", "pParent", ")", "{", "return", "Relocator", "::", "Unsupported", ";", "}", ""], "natrual_language": ["The", "instruction", "is", "unsupported", "."], "TS_V_token": ["X86", "X86"], "File": "X86Relocator", "Func": "unsupported", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19656, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSETargetLowering", "::", "isEligibleForTailCallOptimization", "(", "const", "CCState", "&", "CCInfo", ",", "unsigned", "NextStackOffset", ",", "const", "MipsFunctionInfo", "&", "FI", ")", "const", "{", "if", "(", "!", "EnableMipsTailCalls", ")", "return", "false", ";", "if", "(", "FI", ".", "isISR", "(", ")", ")", "return", "false", ";", "if", "(", "CCInfo", ".", "getInRegsParamsCount", "(", ")", ">", "0", "||", "FI", ".", "hasByvalArg", "(", ")", ")", "return", "false", ";", "return", "NextStackOffset", "<=", "FI", ".", "getIncomingArgSize", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "call", "can", "be", "lowered", "as", "a", "tail", "call", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "0"], "File": "MipsSEISelLowering (2)4", "Func": "isEligibleForTailCallOptimization", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19657, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "AArch64FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "AArch64InstrInfo", "*", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "unsigned", "Opc", "=", "I", "->", "getOpcode", "(", ")", ";", "bool", "IsDestroy", "=", "Opc", "==", "TII", "->", "getCallFrameDestroyOpcode", "(", ")", ";", "uint64_t", "CalleePopAmount", "=", "IsDestroy", "?", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ":", "0", ";", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "int64_t", "Amount", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "Amount", "=", "alignTo", "(", "Amount", ",", "getStackAlign", "(", ")", ")", ";", "if", "(", "!", "IsDestroy", ")", "Amount", "=", "-", "Amount", ";", "if", "(", "CalleePopAmount", "==", "0", ")", "{", "assert", "(", "Amount", ">", "-", "0xffffff", "&&", "Amount", "<", "0xffffff", "&&", "\"call frame too large\"", ")", ";", "emitFrameOffset", "(", "MBB", ",", "I", ",", "DL", ",", "AArch64", "::", "SP", ",", "AArch64", "::", "SP", ",", "{", "Amount", ",", "MVT", "::", "i8", "}", ",", "TII", ")", ";", "}", "}", "else", "if", "(", "CalleePopAmount", "!=", "0", ")", "{", "assert", "(", "CalleePopAmount", "<", "0xffffff", "&&", "\"call frame too large\"", ")", ";", "emitFrameOffset", "(", "MBB", ",", "I", ",", "DL", ",", "AArch64", "::", "SP", ",", "AArch64", "::", "SP", ",", "{", "-", "(", "int64_t", ")", "CalleePopAmount", ",", "MVT", "::", "i8", "}", ",", "TII", ")", ";", "}", "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": ["AArch64", "AArch64", "AArch64", "AArch64", "1", "0", "0", "0", "0xffffff", "0xffffff", "\"call frame too large\"", "AArch64::SP", "AArch64::SP", "MVT::i8", "0", "0xffffff", "\"call frame too large\"", "AArch64::SP", "AArch64::SP", "MVT::i8"], "File": "AArch64FrameLowering100", "Func": "eliminateCallFramePseudoInstr", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19658, "Length": 244, "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": ["ARM"], "File": "ARMSubtarget (2)", "Func": "getTargetTriple", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19659, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_rip_relative_addr_p", "(", "struct", "ix86_address", "*", "parts", ")", "{", "rtx", "base", ",", "index", ",", "disp", ";", "base", "=", "parts", "->", "base", ";", "index", "=", "parts", "->", "index", ";", "disp", "=", "parts", "->", "disp", ";", "if", "(", "disp", "&&", "!", "base", "&&", "!", "index", ")", "{", "if", "(", "TARGET_64BIT", ")", "{", "rtx", "symbol", "=", "disp", ";", "if", "(", "GET_CODE", "(", "disp", ")", "==", "CONST", ")", "symbol", "=", "XEXP", "(", "disp", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "symbol", ")", "==", "PLUS", "&&", "CONST_INT_P", "(", "XEXP", "(", "symbol", ",", "1", ")", ")", ")", "symbol", "=", "XEXP", "(", "symbol", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "symbol", ")", "==", "LABEL_REF", "||", "(", "GET_CODE", "(", "symbol", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_TLS_MODEL", "(", "symbol", ")", "==", "0", ")", "||", "(", "GET_CODE", "(", "symbol", ")", "==", "UNSPEC", "&&", "(", "XINT", "(", "symbol", ",", "1", ")", "==", "UNSPEC_GOTPCREL", "||", "XINT", "(", "symbol", ",", "1", ")", "==", "UNSPEC_PCREL", "||", "XINT", "(", "symbol", ",", "1", ")", "==", "UNSPEC_GOTNTPOFF", ")", ")", ")", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Check", "whether", "x86", "address", "PARTS", "is", "a", "pc-relative", "address", "."], "TS_V_token": ["i386", "0", "1", "0", "0", "1", "1", "1"], "File": "i386", "Func": "ix86_rip_relative_addr_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19660, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCLinuxAsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "const", "DataLayout", "*", "TD", "=", "TM", ".", "getDataLayout", "(", ")", ";", "bool", "isPPC64", "=", "TD", "->", "getPointerSizeInBits", "(", ")", "==", "64", ";", "PPCTargetStreamer", "&", "TS", "=", "static_cast", "<", "PPCTargetStreamer", "&", ">", "(", "*", "OutStreamer", ".", "getTargetStreamer", "(", ")", ")", ";", "if", "(", "!", "TOC", ".", "empty", "(", ")", ")", "{", "const", "MCSectionELF", "*", "Section", ";", "if", "(", "isPPC64", ")", "Section", "=", "OutStreamer", ".", "getContext", "(", ")", ".", "getELFSection", "(", "\".toc\"", ",", "ELF", "::", "SHT_PROGBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getReadOnly", "(", ")", ")", ";", "else", "Section", "=", "OutStreamer", ".", "getContext", "(", ")", ".", "getELFSection", "(", "\".got2\"", ",", "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", "(", ")", ")", ";", "if", "(", "isPPC64", ")", "TS", ".", "emitTCEntry", "(", "*", "S", ")", ";", "else", "OutStreamer", ".", "EmitSymbolValue", "(", "S", ",", "4", ")", ";", "}", "}", "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", ")", ";", "}", "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", "PPC", "PPC", "\".toc\"", "\".got2\"", "PPC", "4", "0", "PPC", "8", "4"], "File": "PPCAsmPrinter45", "Func": "doFinalization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19661, "Length": 359, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_d_has_stdcall_convention", "(", "unsigned", "int", "*", "link_system", ",", "unsigned", "int", "*", "link_windows", ")", "{", "if", "(", "ix86_abi", "==", "MS_ABI", ")", "{", "*", "link_system", "=", "1", ";", "*", "link_windows", "=", "(", "!", "TARGET_64BIT", ")", "?", "1", ":", "0", ";", "}", "else", "{", "*", "link_system", "=", "0", ";", "*", "link_windows", "=", "0", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_D_HAS_STDCALL_CONVENTION", "for", "x86", "targets", "."], "TS_V_token": ["i386", "1", "1", "0", "0", "0"], "File": "i386-d", "Func": "ix86_d_has_stdcall_convention", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19662, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "breakPartialRegDependency", "(", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "OpNum", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "unsigned", "Reg", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "getReg", "(", ")", ";", "if", "(", "X86", "::", "VR128RegClass", ".", "contains", "(", "Reg", ")", ")", "{", "bool", "HasAVX", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "hasAVX", "(", ")", ";", "unsigned", "Opc", "=", "HasAVX", "?", "X86", "::", "VXORPSrr", ":", "X86", "::", "XORPSrr", ";", "BuildMI", "(", "*", "MI", "->", "getParent", "(", ")", ",", "MI", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "Opc", ")", ",", "Reg", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Undef", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Undef", ")", ";", "}", "else", "if", "(", "X86", "::", "VR256RegClass", ".", "contains", "(", "Reg", ")", ")", "{", "unsigned", "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", ")", ";", "}", "else", "return", ";", "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", "X86::VXORPSrr", "X86::XORPSrr", "X86::VR256RegClass", "X86::sub_xmm", "X86::VXORPSrr"], "File": "X86InstrInfo116", "Func": "breakPartialRegDependency", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19663, "Length": 216, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "xstormy16_expand_casesi", "(", "rtx", "index", ",", "rtx", "lower_bound", ",", "rtx", "range", ",", "rtx", "table", ",", "rtx", "default_label", ")", "{", "HOST_WIDE_INT", "range_i", "=", "INTVAL", "(", "range", ")", ";", "rtx", "int_index", ";", "if", "(", "range_i", ">=", "8192", ")", "sorry", "(", "\"switch statement of size %lu entries too large\"", ",", "(", "unsigned", "long", ")", "range_i", ")", ";", "index", "=", "expand_binop", "(", "SImode", ",", "sub_optab", ",", "index", ",", "lower_bound", ",", "NULL_RTX", ",", "0", ",", "OPTAB_LIB_WIDEN", ")", ";", "emit_cmp_and_jump_insns", "(", "index", ",", "range", ",", "GTU", ",", "NULL_RTX", ",", "SImode", ",", "1", ",", "default_label", ")", ";", "int_index", "=", "gen_lowpart_common", "(", "HImode", ",", "index", ")", ";", "emit_insn", "(", "gen_ashlhi3", "(", "int_index", ",", "int_index", ",", "const2_rtx", ")", ")", ";", "emit_jump_insn", "(", "gen_tablejump_pcrel", "(", "int_index", ",", "table", ")", ")", ";", "}", ""], "natrual_language": ["Expander", "for", "the", "`", "casesi", "'", "pattern", ".", "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", "8192", "\"switch statement of size %lu entries too large\"", "0", "1"], "File": "stormy16", "Func": "xstormy16_expand_casesi", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19664, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "getMemOperandWithOffset", "(", "const", "MachineInstr", "&", "MemOp", ",", "const", "MachineOperand", "*", "&", "BaseOp", ",", "int64_t", "&", "Offset", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "const", "MCInstrDesc", "&", "Desc", "=", "MemOp", ".", "getDesc", "(", ")", ";", "int", "MemRefBegin", "=", "X86II", "::", "getMemoryOperandNo", "(", "Desc", ".", "TSFlags", ")", ";", "if", "(", "MemRefBegin", "<", "0", ")", "return", "false", ";", "MemRefBegin", "+=", "X86II", "::", "getOperandBias", "(", "Desc", ")", ";", "BaseOp", "=", "&", "MemOp", ".", "getOperand", "(", "MemRefBegin", "+", "X86", "::", "AddrBaseReg", ")", ";", "if", "(", "!", "BaseOp", "->", "isReg", "(", ")", ")", "return", "false", ";", "if", "(", "MemOp", ".", "getOperand", "(", "MemRefBegin", "+", "X86", "::", "AddrScaleAmt", ")", ".", "getImm", "(", ")", "!=", "1", ")", "return", "false", ";", "if", "(", "MemOp", ".", "getOperand", "(", "MemRefBegin", "+", "X86", "::", "AddrIndexReg", ")", ".", "getReg", "(", ")", "!=", "X86", "::", "NoRegister", ")", "return", "false", ";", "const", "MachineOperand", "&", "DispMO", "=", "MemOp", ".", "getOperand", "(", "MemRefBegin", "+", "X86", "::", "AddrDisp", ")", ";", "if", "(", "!", "DispMO", ".", "isImm", "(", ")", ")", "return", "false", ";", "Offset", "=", "DispMO", ".", "getImm", "(", ")", ";", "if", "(", "!", "BaseOp", "->", "isReg", "(", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Get", "the", "base", "operand", "and", "byte", "offset", "of", "an", "instruction", "that", "reads/writes", "memory", "."], "TS_V_token": ["X86", "X86", "X86II::getMemoryOperandNo", "0", "X86II::getOperandBias", "X86::AddrBaseReg", "X86::AddrScaleAmt", "1", "X86::AddrIndexReg", "X86::NoRegister", "X86::AddrDisp"], "File": "X86InstrInfo151", "Func": "getMemOperandWithOffset", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19665, "Length": 192, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_invalid_builtin", "(", "enum", "rs6000_builtins", "fncode", ")", "{", "size_t", "uns_fncode", "=", "(", "size_t", ")", "fncode", ";", "const", "char", "*", "name", "=", "rs6000_builtin_info", "[", "uns_fncode", "]", ".", "name", ";", "HOST_WIDE_INT", "fnmask", "=", "rs6000_builtin_info", "[", "uns_fncode", "]", ".", "mask", ";", "gcc_assert", "(", "name", "!=", "NULL", ")", ";", "if", "(", "(", "fnmask", "&", "RS6000_BTM_CELL", ")", "!=", "0", ")", "error", "(", "\"Builtin function %s is only valid for the cell processor\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_VSX", ")", "!=", "0", ")", "error", "(", "\"Builtin function %s requires the -mvsx option\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_HTM", ")", "!=", "0", ")", "error", "(", "\"Builtin function %s requires the -mhtm option\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_ALTIVEC", ")", "!=", "0", ")", "error", "(", "\"Builtin function %s requires the -maltivec option\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_PAIRED", ")", "!=", "0", ")", "error", "(", "\"Builtin function %s requires the -mpaired option\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_SPE", ")", "!=", "0", ")", "error", "(", "\"Builtin function %s requires the -mspe option\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "(", "RS6000_BTM_DFP", "|", "RS6000_BTM_P8_VECTOR", ")", ")", "==", "(", "RS6000_BTM_DFP", "|", "RS6000_BTM_P8_VECTOR", ")", ")", "error", "(", "\"Builtin function %s requires the -mhard-dfp and\"", "\" -mpower8-vector options\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_DFP", ")", "!=", "0", ")", "error", "(", "\"Builtin function %s requires the -mhard-dfp option\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_P8_VECTOR", ")", "!=", "0", ")", "error", "(", "\"Builtin function %s requires the -mpower8-vector option\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "(", "RS6000_BTM_P9_VECTOR", "|", "RS6000_BTM_64BIT", ")", ")", "==", "(", "RS6000_BTM_P9_VECTOR", "|", "RS6000_BTM_64BIT", ")", ")", "error", "(", "\"Builtin function %s requires the -mcpu=power9 and\"", "\" -m64 options\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_P9_VECTOR", ")", "!=", "0", ")", "error", "(", "\"Builtin function %s requires the -mcpu=power9 option\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "(", "RS6000_BTM_P9_MISC", "|", "RS6000_BTM_64BIT", ")", ")", "==", "(", "RS6000_BTM_P9_MISC", "|", "RS6000_BTM_64BIT", ")", ")", "error", "(", "\"Builtin function %s requires the -mcpu=power9 and\"", "\" -m64 options\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_P9_MISC", ")", "==", "RS6000_BTM_P9_MISC", ")", "error", "(", "\"Builtin function %s requires the -mcpu=power9 option\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "(", "RS6000_BTM_HARD_FLOAT", "|", "RS6000_BTM_LDBL128", ")", ")", "==", "(", "RS6000_BTM_HARD_FLOAT", "|", "RS6000_BTM_LDBL128", ")", ")", "error", "(", "\"Builtin function %s requires the -mhard-float and\"", "\" -mlong-double-128 options\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_HARD_FLOAT", ")", "!=", "0", ")", "error", "(", "\"Builtin function %s requires the -mhard-float option\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_FLOAT128", ")", "!=", "0", ")", "error", "(", "\"Builtin function %s requires the -mfloat128 option\"", ",", "name", ")", ";", "else", "error", "(", "\"Builtin function %s is not supported with the current options\"", ",", "name", ")", ";", "}", ""], "natrual_language": ["Raise", "an", "error", "message", "for", "a", "builtin", "function", "that", "is", "called", "without", "the", "appropriate", "target", "options", "being", "set", "."], "TS_V_token": ["powerpcspe", "0", "\"Builtin function %s is only valid for the cell processor\"", "0", "\"Builtin function %s requires the -mvsx option\"", "0", "\"Builtin function %s requires the -mhtm option\"", "0", "\"Builtin function %s requires the -maltivec option\"", "0", "\"Builtin function %s requires the -mpaired option\"", "0", "\"Builtin function %s requires the -mspe option\"", "\"Builtin function %s requires the -mhard-dfp and\"", "\" -mpower8-vector options\"", "0", "\"Builtin function %s requires the -mhard-dfp option\"", "0", "\"Builtin function %s requires the -mpower8-vector option\"", "\"Builtin function %s requires the -mcpu=power9 and\"", "\" -m64 options\"", "0", "\"Builtin function %s requires the -mcpu=power9 option\"", "\"Builtin function %s requires the -mcpu=power9 and\"", "\" -m64 options\"", "\"Builtin function %s requires the -mcpu=power9 option\"", "\"Builtin function %s requires the -mhard-float and\"", "\" -mlong-double-128 options\"", "0", "\"Builtin function %s requires the -mhard-float option\"", "0", "\"Builtin function %s requires the -mfloat128 option\"", "\"Builtin function %s is not supported with the current options\""], "File": "powerpcspe", "Func": "rs6000_invalid_builtin", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19666, "Length": 378, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"PowerPC Branch Selector\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["PowerPC", "\"PowerPC Branch Selector\""], "File": "PPCBranchSelector (2)1", "Func": "getPassName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19667, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "expand_vec_perm_1", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "i", ",", "nelt", "=", "d", "->", "nelt", ";", "unsigned", "char", "perm2", "[", "MAX_VECT_LEN", "]", ";", "if", "(", "d", "->", "one_operand_p", ")", "{", "if", "(", "expand_vec_perm_identity", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vselect", "(", "d", "->", "target", ",", "d", "->", "op0", ",", "d", "->", "perm", ",", "nelt", ")", ")", "return", "true", ";", "}", "if", "(", "expand_vselect_vconcat", "(", "d", "->", "target", ",", "d", "->", "op0", ",", "d", "->", "op1", ",", "d", "->", "perm", ",", "nelt", ")", ")", "return", "true", ";", "if", "(", "!", "d", "->", "one_operand_p", ")", "{", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "{", "unsigned", "e", "=", "d", "->", "perm", "[", "i", "]", ";", "if", "(", "e", ">=", "nelt", ")", "e", "-=", "nelt", ";", "else", "e", "+=", "nelt", ";", "perm2", "[", "i", "]", "=", "e", ";", "}", "if", "(", "expand_vselect_vconcat", "(", "d", "->", "target", ",", "d", "->", "op1", ",", "d", "->", "op0", ",", "perm2", ",", "nelt", ")", ")", "return", "true", ";", "}", "if", "(", "expand_vec_perm_shrp", "(", "d", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Try", "to", "instantiate", "D", "in", "a", "single", "instruction", "."], "TS_V_token": ["ia64", "0"], "File": "ia64", "Func": "expand_vec_perm_1", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19668, "Length": 186, "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": 19669, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "function_checker", "::", "require_immediate_lane_index", "(", "unsigned", "int", "rel_argno", ",", "unsigned", "int", "group_size", ")", "{", "unsigned", "int", "argno", "=", "m_base_arg", "+", "rel_argno", ";", "if", "(", "!", "argument_exists_p", "(", "argno", ")", ")", "return", "true", ";", "machine_mode", "mode", "=", "TYPE_MODE", "(", "type_argument_type", "(", "m_fntype", ",", "argno", ")", ")", ";", "gcc_assert", "(", "VECTOR_MODE_P", "(", "mode", ")", ")", ";", "unsigned", "int", "nlanes", "=", "128", "/", "(", "group_size", "*", "GET_MODE_UNIT_BITSIZE", "(", "mode", ")", ")", ";", "return", "require_immediate_range", "(", "rel_argno", ",", "0", ",", "nlanes", "-", "1", ")", ";", "}", ""], "natrual_language": ["Check", "that", "argument", "REL_ARGNO", "is", "suitable", "for", "indexing", "argument", "REL_ARGNO", "-", "1", ",", "in", "groups", "of", "GROUP_SIZE", "elements", ".", "REL_ARGNO", "counts", "from", "the", "end", "of", "the", "predication", "arguments", "."], "TS_V_token": ["aarch64", "128", "0", "1"], "File": "aarch64-sve-builtins", "Func": "require_immediate_lane_index", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19670, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VZeroUpperInserter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "X86Subtarget", "&", "ST", "=", "MF", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "ST", ".", "hasAVX", "(", ")", "||", "ST", ".", "hasAVX512", "(", ")", ")", "return", "false", ";", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "EverMadeChange", "=", "false", ";", "bool", "YMMUsed", "=", "false", ";", "const", "TargetRegisterClass", "*", "RC", "=", "&", "X86", "::", "VR256RegClass", ";", "for", "(", "TargetRegisterClass", "::", "iterator", "i", "=", "RC", "->", "begin", "(", ")", ",", "e", "=", "RC", "->", "end", "(", ")", ";", "i", "!=", "e", ";", "i", "++", ")", "{", "if", "(", "!", "MRI", ".", "reg_nodbg_empty", "(", "*", "i", ")", ")", "{", "YMMUsed", "=", "true", ";", "break", ";", "}", "}", "if", "(", "!", "YMMUsed", ")", "{", "return", "false", ";", "}", "assert", "(", "BlockStates", ".", "empty", "(", ")", "&&", "DirtySuccessors", ".", "empty", "(", ")", "&&", "\"X86VZeroUpper state should be clear\"", ")", ";", "BlockStates", ".", "resize", "(", "MF", ".", "getNumBlockIDs", "(", ")", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "processBasicBlock", "(", "*", "I", ")", ";", "if", "(", "checkFnHasLiveInYmm", "(", "MRI", ")", ")", "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", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"MBB #\"", "<<", "MBB", ".", "getNumber", "(", ")", "<<", "\" was Pass-through, is now Dirty-out.\\n\"", ")", ";", "for", "(", "MachineBasicBlock", "::", "succ_iterator", "SI", "=", "MBB", ".", "succ_begin", "(", ")", ",", "SE", "=", "MBB", ".", "succ_end", "(", ")", ";", "SI", "!=", "SE", ";", "++", "SI", ")", "addDirtySuccessor", "(", "*", "*", "SI", ")", ";", "}", "}", "BlockStates", ".", "clear", "(", ")", ";", "return", "EverMadeChange", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86::VR256RegClass", "\"X86VZeroUpper state should be clear\"", "\"MBB #\"", "\" was Pass-through, is now Dirty-out.\\n\""], "File": "X86VZeroUpper18", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19671, "Length": 358, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "pa_function_arg_size", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "HOST_WIDE_INT", "size", ";", "size", "=", "mode", "!=", "BLKmode", "?", "GET_MODE_SIZE", "(", "mode", ")", ":", "int_size_in_bytes", "(", "type", ")", ";", "return", "CEIL", "(", "size", ",", "UNITS_PER_WORD", ")", ";", "}", ""], "natrual_language": ["Figure", "out", "the", "size", "in", "words", "of", "the", "function", "argument", "."], "TS_V_token": ["pa"], "File": "pa", "Func": "pa_function_arg_size", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19672, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_pass_by_reference", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "if", "(", "(", "type", "&&", "POINTER_BOUNDS_TYPE_P", "(", "type", ")", ")", "||", "POINTER_BOUNDS_MODE_P", "(", "mode", ")", ")", "return", "false", ";", "if", "(", "TARGET_64BIT", ")", "{", "enum", "calling_abi", "call_abi", "=", "cum", "?", "cum", "->", "call_abi", ":", "ix86_abi", ";", "if", "(", "call_abi", "==", "MS_ABI", ")", "{", "HOST_WIDE_INT", "msize", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "type", ")", "{", "if", "(", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", ")", "return", "true", ";", "if", "(", "RECORD_OR_UNION_TYPE_P", "(", "type", ")", ")", "{", "msize", "=", "int_size_in_bytes", "(", "type", ")", ";", "}", "}", "return", "msize", "!=", "1", "&&", "msize", "!=", "2", "&&", "msize", "!=", "4", "&&", "msize", "!=", "8", ";", "}", "else", "if", "(", "type", "&&", "int_size_in_bytes", "(", "type", ")", "==", "-", "1", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "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", "."], "TS_V_token": ["i386", "1", "2", "4", "8", "1"], "File": "i3865", "Func": "ix86_pass_by_reference", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19673, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ")", "const", "{", "EVT", "VT", "=", "getValueType", "(", "DL", ",", "Ty", ",", "true", ")", ";", "if", "(", "!", "isLegalAddressImmediate", "(", "AM", ".", "BaseOffs", ",", "VT", ",", "Subtarget", ")", ")", "return", "false", ";", "if", "(", "AM", ".", "BaseGV", ")", "return", "false", ";", "switch", "(", "AM", ".", "Scale", ")", "{", "case", "0", ":", "break", ";", "case", "1", ":", "if", "(", "Subtarget", "->", "isThumb1Only", "(", ")", ")", "return", "false", ";", "default", ":", "if", "(", "AM", ".", "BaseOffs", ")", "return", "false", ";", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "if", "(", "Subtarget", "->", "isThumb2", "(", ")", ")", "return", "isLegalT2ScaledAddressingMode", "(", "AM", ",", "VT", ")", ";", "int", "Scale", "=", "AM", ".", "Scale", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "return", "false", ";", "case", "MVT", "::", "i1", ":", "case", "MVT", "::", "i8", ":", "case", "MVT", "::", "i32", ":", "if", "(", "Scale", "<", "0", ")", "Scale", "=", "-", "Scale", ";", "if", "(", "Scale", "==", "1", ")", "return", "true", ";", "return", "isPowerOf2_32", "(", "Scale", "&", "~", "1", ")", ";", "case", "MVT", "::", "i16", ":", "case", "MVT", "::", "i64", ":", "if", "(", "(", "(", "unsigned", ")", "AM", ".", "HasBaseReg", "+", "Scale", ")", "<=", "2", ")", "return", "true", ";", "return", "false", ";", "case", "MVT", "::", "isVoid", ":", "if", "(", "Scale", "&", "1", ")", "return", "false", ";", "return", "isPowerOf2_32", "(", "Scale", ")", ";", "}", "}", "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": ["ARM", "ARM", "0", "1", "MVT::i1", "MVT::i8", "MVT::i32", "0", "1", "1", "MVT::i16", "MVT::i64", "2", "MVT::isVoid", "1"], "File": "ARMISelLowering (2)2", "Func": "isLegalAddressingMode", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19674, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_handle_cconv_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "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", ",", "\"%qs attribute only applies to functions\"", ",", "IDENTIFIER_POINTER", "(", "name", ")", ")", ";", "*", "no_add_attrs", "=", "true", ";", "return", "NULL_TREE", ";", "}", "if", "(", "is_attribute_p", "(", "\"regparm\"", ",", "name", ")", ")", "{", "tree", "cst", ";", "if", "(", "lookup_attribute", "(", "\"fastcall\"", ",", "TYPE_ATTRIBUTES", "(", "*", "node", ")", ")", ")", "{", "error", "(", "\"fastcall and regparm attributes are not compatible\"", ")", ";", "}", "cst", "=", "TREE_VALUE", "(", "args", ")", ";", "if", "(", "TREE_CODE", "(", "cst", ")", "!=", "INTEGER_CST", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qs attribute requires an integer constant argument\"", ",", "IDENTIFIER_POINTER", "(", "name", ")", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "else", "if", "(", "compare_tree_int", "(", "cst", ",", "REGPARM_MAX", ")", ">", "0", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"argument to %qs attribute larger than %d\"", ",", "IDENTIFIER_POINTER", "(", "name", ")", ",", "REGPARM_MAX", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "return", "NULL_TREE", ";", "}", "if", "(", "TARGET_64BIT", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qs attribute ignored\"", ",", "IDENTIFIER_POINTER", "(", "name", ")", ")", ";", "*", "no_add_attrs", "=", "true", ";", "return", "NULL_TREE", ";", "}", "if", "(", "is_attribute_p", "(", "\"fastcall\"", ",", "name", ")", ")", "{", "if", "(", "lookup_attribute", "(", "\"cdecl\"", ",", "TYPE_ATTRIBUTES", "(", "*", "node", ")", ")", ")", "{", "error", "(", "\"fastcall and cdecl attributes are not compatible\"", ")", ";", "}", "if", "(", "lookup_attribute", "(", "\"stdcall\"", ",", "TYPE_ATTRIBUTES", "(", "*", "node", ")", ")", ")", "{", "error", "(", "\"fastcall and stdcall attributes are not compatible\"", ")", ";", "}", "if", "(", "lookup_attribute", "(", "\"regparm\"", ",", "TYPE_ATTRIBUTES", "(", "*", "node", ")", ")", ")", "{", "error", "(", "\"fastcall and regparm attributes are not compatible\"", ")", ";", "}", "}", "else", "if", "(", "is_attribute_p", "(", "\"stdcall\"", ",", "name", ")", ")", "{", "if", "(", "lookup_attribute", "(", "\"cdecl\"", ",", "TYPE_ATTRIBUTES", "(", "*", "node", ")", ")", ")", "{", "error", "(", "\"stdcall and cdecl attributes are not compatible\"", ")", ";", "}", "if", "(", "lookup_attribute", "(", "\"fastcall\"", ",", "TYPE_ATTRIBUTES", "(", "*", "node", ")", ")", ")", "{", "error", "(", "\"stdcall and fastcall attributes are not compatible\"", ")", ";", "}", "}", "else", "if", "(", "is_attribute_p", "(", "\"cdecl\"", ",", "name", ")", ")", "{", "if", "(", "lookup_attribute", "(", "\"stdcall\"", ",", "TYPE_ATTRIBUTES", "(", "*", "node", ")", ")", ")", "{", "error", "(", "\"stdcall and cdecl attributes are not compatible\"", ")", ";", "}", "if", "(", "lookup_attribute", "(", "\"fastcall\"", ",", "TYPE_ATTRIBUTES", "(", "*", "node", ")", ")", ")", "{", "error", "(", "\"fastcall and cdecl attributes are not compatible\"", ")", ";", "}", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "``", "cdecl", "''", ",", "``", "stdcall", "''", ",", "``", "fastcall", "''", ",", "``", "regparm", "''", "and", "``", "sseregparm", "''", "calling", "convention", "attributes", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["i386", "\"%qs attribute only applies to functions\"", "\"regparm\"", "\"fastcall\"", "\"fastcall and regparm attributes are not compatible\"", "\"%qs attribute requires an integer constant argument\"", "0", "\"argument to %qs attribute larger than %d\"", "\"%qs attribute ignored\"", "\"fastcall\"", "\"cdecl\"", "\"fastcall and cdecl attributes are not compatible\"", "\"stdcall\"", "\"fastcall and stdcall attributes are not compatible\"", "\"regparm\"", "\"fastcall and regparm attributes are not compatible\"", "\"stdcall\"", "\"cdecl\"", "\"stdcall and cdecl attributes are not compatible\"", "\"fastcall\"", "\"stdcall and fastcall attributes are not compatible\"", "\"cdecl\"", "\"stdcall\"", "\"stdcall and cdecl attributes are not compatible\"", "\"fastcall\"", "\"fastcall and cdecl attributes are not compatible\""], "File": "i3863", "Func": "ix86_handle_cconv_attribute", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19675, "Length": 389, "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", "(", "arm_address_register_rtx_p", "(", "x", ",", "strict_p", ")", ")", "return", "1", ";", "use_ldrd", "=", "(", "TARGET_LDRD", "&&", "(", "mode", "==", "DImode", "||", "(", "mode", "==", "DFmode", "&&", "(", "TARGET_SOFT_FLOAT", "||", "TARGET_VFP", ")", ")", ")", ")", ";", "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", ")", ")", ")", "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", "(", "arm_disable_literal_pool", "&&", "code", "==", "SYMBOL_REF", "&&", "CONSTANT_POOL_ADDRESS_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": "arm4", "Func": "thumb2_legitimate_address_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19676, "Length": 476, "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", "::", "PLI", ":", "case", "PPC", "::", "PLI8", ":", "case", "PPC", "::", "LIS", ":", "case", "PPC", "::", "LIS8", ":", "case", "PPC", "::", "ADDIStocHA", ":", "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", "::", "XXSPLTI32DX", ":", "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", ":", "case", "PPC", "::", "XXSETACCZ", ":", "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::PLI", "PPC::PLI8", "PPC::LIS", "PPC::LIS8", "PPC::ADDIStocHA", "PPC::ADDIStocHA8", "PPC::ADDItocL", "PPC::LOAD_STACK_GUARD", "PPC::XXLXORz", "PPC::XXLXORspz", "PPC::XXLXORdpz", "PPC::XXLEQVOnes", "PPC::XXSPLTI32DX", "PPC::V_SET0B", "PPC::V_SET0H", "PPC::V_SET0", "PPC::V_SETALLONESB", "PPC::V_SETALLONESH", "PPC::V_SETALLONES", "PPC::CRSET", "PPC::CRUNSET", "PPC::XXSETACCZ"], "File": "PPCInstrInfo28", "Func": "isReallyTriviallyReMaterializable", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19677, "Length": 162, "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", "{", "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", "\"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": "X86AsmBackend (2)2", "Func": "applyFixup", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19678, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "X86TargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", "DL", ",", "LLVMContext", "&", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "Subtarget", "->", "hasAVX512", "(", ")", "?", "MVT", "::", "i1", ":", "MVT", "::", "i8", ";", "if", "(", "VT", ".", "isSimple", "(", ")", ")", "{", "MVT", "VVT", "=", "VT", ".", "getSimpleVT", "(", ")", ";", "const", "unsigned", "NumElts", "=", "VVT", ".", "getVectorNumElements", "(", ")", ";", "const", "MVT", "EltVT", "=", "VVT", ".", "getVectorElementType", "(", ")", ";", "if", "(", "VVT", ".", "is512BitVector", "(", ")", ")", "{", "if", "(", "Subtarget", "->", "hasAVX512", "(", ")", ")", "if", "(", "EltVT", "==", "MVT", "::", "i32", "||", "EltVT", "==", "MVT", "::", "i64", "||", "EltVT", "==", "MVT", "::", "f32", "||", "EltVT", "==", "MVT", "::", "f64", ")", "switch", "(", "NumElts", ")", "{", "case", "8", ":", "return", "MVT", "::", "v8i1", ";", "case", "16", ":", "return", "MVT", "::", "v16i1", ";", "}", "if", "(", "Subtarget", "->", "hasBWI", "(", ")", ")", "if", "(", "EltVT", "==", "MVT", "::", "i8", "||", "EltVT", "==", "MVT", "::", "i16", ")", "switch", "(", "NumElts", ")", "{", "case", "32", ":", "return", "MVT", "::", "v32i1", ";", "case", "64", ":", "return", "MVT", "::", "v64i1", ";", "}", "}", "if", "(", "VVT", ".", "is256BitVector", "(", ")", "||", "VVT", ".", "is128BitVector", "(", ")", ")", "{", "if", "(", "Subtarget", "->", "hasVLX", "(", ")", ")", "if", "(", "EltVT", "==", "MVT", "::", "i32", "||", "EltVT", "==", "MVT", "::", "i64", "||", "EltVT", "==", "MVT", "::", "f32", "||", "EltVT", "==", "MVT", "::", "f64", ")", "switch", "(", "NumElts", ")", "{", "case", "2", ":", "return", "MVT", "::", "v2i1", ";", "case", "4", ":", "return", "MVT", "::", "v4i1", ";", "case", "8", ":", "return", "MVT", "::", "v8i1", ";", "}", "if", "(", "Subtarget", "->", "hasBWI", "(", ")", "&&", "Subtarget", "->", "hasVLX", "(", ")", ")", "if", "(", "EltVT", "==", "MVT", "::", "i8", "||", "EltVT", "==", "MVT", "::", "i16", ")", "switch", "(", "NumElts", ")", "{", "case", "8", ":", "return", "MVT", "::", "v8i1", ";", "case", "16", ":", "return", "MVT", "::", "v16i1", ";", "case", "32", ":", "return", "MVT", "::", "v32i1", ";", "}", "}", "}", "return", "VT", ".", "changeVectorElementTypeToInteger", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["X86", "X86", "MVT::i1", "MVT::i8", "MVT::i32", "MVT::i64", "MVT::f32", "MVT::f64", "8", "MVT::v8i1", "16", "MVT::v16i1", "MVT::i8", "MVT::i16", "32", "MVT::v32i1", "64", "MVT::v64i1", "MVT::i32", "MVT::i64", "MVT::f32", "MVT::f64", "2", "MVT::v2i1", "4", "MVT::v4i1", "8", "MVT::v8i1", "MVT::i8", "MVT::i16", "8", "MVT::v8i1", "16", "MVT::v16i1", "32", "MVT::v32i1"], "File": "X86ISelLowering (2)3", "Func": "getSetCCResultType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19679, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64AsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "if", "(", "emitPseudoExpansionLowering", "(", "OutStreamer", ",", "MI", ")", ")", "return", ";", "if", "(", "AArch64FI", "->", "getLOHRelated", "(", ")", ".", "count", "(", "MI", ")", ")", "{", "MCSymbol", "*", "LOHLabel", "=", "GetTempSymbol", "(", "\"loh\"", ",", "LOHLabelCounter", "++", ")", ";", "LOHInstToLabel", "[", "MI", "]", "=", "LOHLabel", ";", "OutStreamer", ".", "EmitLabel", "(", "LOHLabel", ")", ";", "}", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "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", ";", "}", "case", "AArch64", "::", "TCRETURNri", ":", "{", "MCInst", "TmpInst", ";", "TmpInst", ".", "setOpcode", "(", "AArch64", "::", "BR", ")", ";", "TmpInst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", ";", "EmitToStreamer", "(", "OutStreamer", ",", "TmpInst", ")", ";", "return", ";", "}", "case", "AArch64", "::", "TCRETURNdi", ":", "{", "MCOperand", "Dest", ";", "MCInstLowering", ".", "lowerOperand", "(", "MI", "->", "getOperand", "(", "0", ")", ",", "Dest", ")", ";", "MCInst", "TmpInst", ";", "TmpInst", ".", "setOpcode", "(", "AArch64", "::", "B", ")", ";", "TmpInst", ".", "addOperand", "(", "Dest", ")", ";", "EmitToStreamer", "(", "OutStreamer", ",", "TmpInst", ")", ";", "return", ";", "}", "case", "AArch64", "::", "TLSDESC_BLR", ":", "{", "MCOperand", "Callee", ",", "Sym", ";", "MCInstLowering", ".", "lowerOperand", "(", "MI", "->", "getOperand", "(", "0", ")", ",", "Callee", ")", ";", "MCInstLowering", ".", "lowerOperand", "(", "MI", "->", "getOperand", "(", "1", ")", ",", "Sym", ")", ";", "MCInst", "TLSDescCall", ";", "TLSDescCall", ".", "setOpcode", "(", "AArch64", "::", "TLSDESCCALL", ")", ";", "TLSDescCall", ".", "addOperand", "(", "Sym", ")", ";", "EmitToStreamer", "(", "OutStreamer", ",", "TLSDescCall", ")", ";", "MCInst", "BLR", ";", "BLR", ".", "setOpcode", "(", "AArch64", "::", "BLR", ")", ";", "BLR", ".", "addOperand", "(", "Callee", ")", ";", "EmitToStreamer", "(", "OutStreamer", ",", "BLR", ")", ";", "return", ";", "}", "case", "TargetOpcode", "::", "STACKMAP", ":", "return", "LowerSTACKMAP", "(", "OutStreamer", ",", "SM", ",", "*", "MI", ")", ";", "case", "TargetOpcode", "::", "PATCHPOINT", ":", "return", "LowerPATCHPOINT", "(", "OutStreamer", ",", "SM", ",", "*", "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": ["AArch64", "AArch64", "AArch64", "\"loh\"", "AArch64::DBG_VALUE", "128", "AArch64::TCRETURNri", "AArch64::BR", "0", "AArch64::TCRETURNdi", "0", "AArch64::B", "AArch64::TLSDESC_BLR", "0", "1", "AArch64::TLSDESCCALL", "AArch64::BLR"], "File": "AArch64AsmPrinter2", "Func": "EmitInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19680, "Length": 380, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_d_target_versions", "(", "void", ")", "{", "if", "(", "TARGET_64BIT", ")", "{", "d_add_builtin_version", "(", "\"X86_64\"", ")", ";", "if", "(", "TARGET_X32", ")", "d_add_builtin_version", "(", "\"D_X32\"", ")", ";", "}", "else", "d_add_builtin_version", "(", "\"X86\"", ")", ";", "if", "(", "TARGET_80387", ")", "d_add_builtin_version", "(", "\"D_HardFloat\"", ")", ";", "else", "d_add_builtin_version", "(", "\"D_SoftFloat\"", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_D_CPU_VERSIONS", "for", "x86", "targets", "."], "TS_V_token": ["i386", "\"X86_64\"", "\"D_X32\"", "\"X86\"", "\"D_HardFloat\"", "\"D_SoftFloat\""], "File": "i386-d", "Func": "ix86_d_target_versions", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19681, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "int", "and_xor_ior_costs", "(", "rtx", "x", ",", "int", "code", ")", "{", "const", "int", "cost_scale", "=", "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", "(", "(", "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", "0xff", "0xffff", "1", "2", "2", "3"], "File": "sh", "Func": "and_xor_ior_costs", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19682, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mmix_output_shiftvalue_op_from_str", "(", "FILE", "*", "stream", ",", "const", "char", "*", "mainop", ",", "int64_t", "value", ")", "{", "static", "const", "char", "*", "const", "op_part", "[", "]", "=", "{", "\"L\"", ",", "\"ML\"", ",", "\"MH\"", ",", "\"H\"", "}", ";", "int", "i", ";", "if", "(", "!", "mmix_shiftable_wyde_value", "(", "value", ")", ")", "{", "char", "s", "[", "sizeof", "(", "\"0xffffffffffffffff\"", ")", "]", ";", "sprintf", "(", "s", ",", "\"%#\"", "PRIx64", ",", "value", ")", ";", "internal_error", "(", "\"MMIX Internal: %s is not a shiftable int\"", ",", "s", ")", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "4", ";", "i", "++", ")", "{", "if", "(", "value", "&", "0xffff", ")", "{", "fprintf", "(", "stream", ",", "\"%s%s\"", ",", "mainop", ",", "op_part", "[", "i", "]", ")", ";", "return", ";", "}", "value", ">>=", "16", ";", "}", "fprintf", "(", "stream", ",", "\"%sL\"", ",", "mainop", ")", ";", "}", ""], "natrual_language": ["Print", "operator", "suitable", "for", "doing", "something", "with", "a", "shiftable", "wyde", ".", "The", "type", "of", "operator", "is", "passed", "as", "an", "asm", "output", "modifier", "."], "TS_V_token": ["mmix", "\"L\"", "\"ML\"", "\"MH\"", "\"H\"", "\"0xffffffffffffffff\"", "\"%#\"", "\"MMIX Internal: %s is not a shiftable int\"", "0", "4", "0xffff", "\"%s%s\"", "16", "\"%sL\""], "File": "mmix4", "Func": "mmix_output_shiftvalue_op_from_str", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19683, "Length": 128, "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": 19684, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "X86_64MachoTargetObjectFile", "::", "getTTypeGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "Mangler", "*", "Mang", ",", "MachineModuleInfo", "*", "MMI", ",", "unsigned", "Encoding", ",", "MCStreamer", "&", "Streamer", ")", "const", "{", "if", "(", "Encoding", "&", "(", "DW_EH_PE_indirect", "|", "DW_EH_PE_pcrel", ")", ")", "{", "const", "MCSymbol", "*", "Sym", "=", "getSymbol", "(", "*", "Mang", ",", "GV", ")", ";", "const", "MCExpr", "*", "Res", "=", "MCSymbolRefExpr", "::", "Create", "(", "Sym", ",", "MCSymbolRefExpr", "::", "VK_GOTPCREL", ",", "getContext", "(", ")", ")", ";", "const", "MCExpr", "*", "Four", "=", "MCConstantExpr", "::", "Create", "(", "4", ",", "getContext", "(", ")", ")", ";", "return", "MCBinaryExpr", "::", "CreateAdd", "(", "Res", ",", "Four", ",", "getContext", "(", ")", ")", ";", "}", "return", "TargetLoweringObjectFileMachO", "::", "getTTypeGlobalReference", "(", "GV", ",", "Mang", ",", "MMI", ",", "Encoding", ",", "Streamer", ")", ";", "}", ""], "natrual_language": ["The", "mach-o", "version", "of", "this", "method", "defaults", "to", "returning", "a", "stub", "reference", "."], "TS_V_token": ["X86", "X86", "4"], "File": "X86TargetObjectFile34", "Func": "getTTypeGlobalReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19685, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pa_modes_tieable_p", "(", "machine_mode", "mode1", ",", "machine_mode", "mode2", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "mode1", ")", "!=", "GET_MODE_CLASS", "(", "mode2", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "TRUE", "if", "it", "is", "a", "good", "idea", "to", "tie", "two", "pseudo", "registers", "when", "one", "has", "mode", "MODE1", "and", "one", "has", "mode", "MODE2", ".", "If", "HARD_REGNO_MODE_OK", "could", "produce", "different", "values", "for", "MODE1", "and", "MODE2", ",", "for", "any", "hard", "reg", ",", "then", "this", "must", "be", "FALSE", "for", "correct", "output", ".", "We", "should", "return", "FALSE", "for", "QImode", "and", "HImode", "because", "these", "modes", "are", "not", "ok", "in", "the", "floating-point", "registers", ".", "However", ",", "this", "prevents", "tieing", "these", "modes", "to", "SImode", "and", "DImode", "in", "the", "general", "registers", ".", "So", ",", "this", "is", "n't", "a", "good", "idea", ".", "We", "rely", "on", "HARD_REGNO_MODE_OK", "and", "CANNOT_CHANGE_MODE_CLASS", "to", "prevent", "these", "modes", "from", "being", "used", "in", "the", "floating-point", "registers", "."], "TS_V_token": ["pa"], "File": "pa", "Func": "pa_modes_tieable_p", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19686, "Length": 30, "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": ["Sparc"], "File": "SparcTargetMachine17", "Func": "getDataLayout", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19687, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_expand_mask_vec_cmp", "(", "rtx", "dest", ",", "enum", "rtx_code", "code", ",", "rtx", "cmp_op0", ",", "rtx", "cmp_op1", ")", "{", "machine_mode", "mask_mode", "=", "GET_MODE", "(", "dest", ")", ";", "machine_mode", "cmp_mode", "=", "GET_MODE", "(", "cmp_op0", ")", ";", "rtx", "imm", "=", "GEN_INT", "(", "ix86_cmp_code_to_pcmp_immediate", "(", "code", ",", "cmp_mode", ")", ")", ";", "int", "unspec_code", ";", "rtx", "unspec", ";", "switch", "(", "code", ")", "{", "case", "LEU", ":", "case", "GTU", ":", "case", "GEU", ":", "case", "LTU", ":", "unspec_code", "=", "UNSPEC_UNSIGNED_PCMP", ";", "break", ";", "default", ":", "unspec_code", "=", "UNSPEC_PCMP", ";", "}", "unspec", "=", "gen_rtx_UNSPEC", "(", "mask_mode", ",", "gen_rtvec", "(", "3", ",", "cmp_op0", ",", "cmp_op1", ",", "imm", ")", ",", "unspec_code", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "unspec", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Expand", "AVX-512", "vector", "comparison", "."], "TS_V_token": ["i386", "3"], "File": "i386-expand", "Func": "ix86_expand_mask_vec_cmp", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19688, "Length": 116, "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", ")", "{", "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", "0", "1", "1", "0", "2", "2", "0", "0", "3", "0"], "File": "VEInstrInfo1", "Func": "isStoreToStackSlot", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19689, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TOYRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "MachineFrameInfo", "*", "MFI", "=", "&", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "FI", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "getIndex", "(", ")", ";", "unsigned", "ImmOpIdx", "=", "0", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", ";", "case", "TOY", "::", "LDR", ":", "case", "TOY", "::", "STR", ":", "ImmOpIdx", "=", "FIOperandNum", "+", "1", ";", "break", ";", "}", "MachineOperand", "&", "ImmOp", "=", "MI", ".", "getOperand", "(", "ImmOpIdx", ")", ";", "int", "Offset", "=", "MFI", "->", "getObjectOffset", "(", "FI", ")", "+", "MFI", "->", "getStackSize", "(", ")", "+", "ImmOp", ".", "getImm", "(", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "TOY", "::", "SP", ",", "false", ")", ";", "ImmOp", ".", "setImm", "(", "Offset", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["TOY", "TOY", "0", "TOY::LDR", "TOY::STR", "1", "TOY::SP"], "File": "TOYRegisterInfo1", "Func": "eliminateFrameIndex", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19690, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetRegisterClass", "*", "ARMTargetLowering", "::", "getRegClassFor", "(", "EVT", "VT", ")", "const", "{", "if", "(", "Subtarget", "->", "hasNEON", "(", ")", ")", "{", "if", "(", "VT", "==", "MVT", "::", "v4i64", ")", "return", "ARM", "::", "QQPRRegisterClass", ";", "else", "if", "(", "VT", "==", "MVT", "::", "v8i64", ")", "return", "ARM", "::", "QQQQPRRegisterClass", ";", "}", "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::QQPRRegisterClass", "MVT::v8i64", "ARM::QQQQPRRegisterClass"], "File": "ARMISelLowering114", "Func": "getRegClassFor", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19691, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"CHERI invalidate pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"CHERI invalidate pass\""], "File": "CheriStackInvalidatePass", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19692, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "unqualifiedInlineAsmVariant", "(", ")", "const", "override", "{", "return", "1", ";", "}", ""], "natrual_language": ["The", "default", "variant", "to", "use", "in", "unqualified", "asm", "instructions", "."], "TS_V_token": ["PowerPC", "1"], "File": "PPCTargetMachine19", "Func": "unqualifiedInlineAsmVariant", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19693, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "fixup_modeless_constant", "(", "rtx", "x", ",", "machine_mode", "mode", ")", "{", "if", "(", "GET_MODE", "(", "x", ")", "==", "VOIDmode", ")", "x", "=", "convert_to_mode", "(", "mode", ",", "x", ",", "1", ")", ";", "return", "x", ";", "}", ""], "natrual_language": ["Fixup", "modeless", "constants", "to", "fit", "required", "mode", "."], "TS_V_token": ["i386", "1"], "File": "i386-expand", "Func": "fixup_modeless_constant", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19694, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "ARMBaseInstrInfo", "::", "optimizeSelect", "(", "MachineInstr", "&", "MI", ",", "SmallPtrSetImpl", "<", "MachineInstr", "*", ">", "&", "SeenMIs", ",", "bool", "PreferFalse", ")", "const", "{", "assert", "(", "(", "MI", ".", "getOpcode", "(", ")", "==", "ARM", "::", "MOVCCr", "||", "MI", ".", "getOpcode", "(", ")", "==", "ARM", "::", "t2MOVCCr", ")", "&&", "\"Unknown select instruction\"", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MachineInstr", "*", "DefMI", "=", "canFoldIntoMOVCC", "(", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ",", "MRI", ",", "this", ")", ";", "bool", "Invert", "=", "!", "DefMI", ";", "if", "(", "!", "DefMI", ")", "DefMI", "=", "canFoldIntoMOVCC", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ",", "MRI", ",", "this", ")", ";", "if", "(", "!", "DefMI", ")", "return", "nullptr", ";", "MachineOperand", "FalseReg", "=", "MI", ".", "getOperand", "(", "Invert", "?", "2", ":", "1", ")", ";", "Register", "DestReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "PreviousClass", "=", "MRI", ".", "getRegClass", "(", "FalseReg", ".", "getReg", "(", ")", ")", ";", "if", "(", "!", "MRI", ".", "constrainRegClass", "(", "DestReg", ",", "PreviousClass", ")", ")", "return", "nullptr", ";", "MachineInstrBuilder", "NewMI", "=", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "DefMI", "->", "getDesc", "(", ")", ",", "DestReg", ")", ";", "const", "MCInstrDesc", "&", "DefDesc", "=", "DefMI", "->", "getDesc", "(", ")", ";", "for", "(", "unsigned", "i", "=", "1", ",", "e", "=", "DefDesc", ".", "getNumOperands", "(", ")", ";", "i", "!=", "e", "&&", "!", "DefDesc", ".", "OpInfo", "[", "i", "]", ".", "isPredicate", "(", ")", ";", "++", "i", ")", "NewMI", ".", "add", "(", "DefMI", "->", "getOperand", "(", "i", ")", ")", ";", "unsigned", "CondCode", "=", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "if", "(", "Invert", ")", "NewMI", ".", "addImm", "(", "ARMCC", "::", "getOppositeCondition", "(", "ARMCC", "::", "CondCodes", "(", "CondCode", ")", ")", ")", ";", "else", "NewMI", ".", "addImm", "(", "CondCode", ")", ";", "NewMI", ".", "add", "(", "MI", ".", "getOperand", "(", "4", ")", ")", ";", "if", "(", "NewMI", "->", "hasOptionalDef", "(", ")", ")", "NewMI", ".", "add", "(", "condCodeOp", "(", ")", ")", ";", "FalseReg", ".", "setImplicit", "(", ")", ";", "NewMI", ".", "add", "(", "FalseReg", ")", ";", "NewMI", "->", "tieOperands", "(", "0", ",", "NewMI", "->", "getNumOperands", "(", ")", "-", "1", ")", ";", "SeenMIs", ".", "insert", "(", "NewMI", ")", ";", "SeenMIs", ".", "erase", "(", "DefMI", ")", ";", "if", "(", "DefMI", "->", "getParent", "(", ")", "!=", "MI", ".", "getParent", "(", ")", ")", "NewMI", "->", "clearKillInfo", "(", ")", ";", "DefMI", "->", "eraseFromParent", "(", ")", ";", "return", "NewMI", ";", "}", ""], "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": ["ARM", "ARM", "ARM::MOVCCr", "ARM::t2MOVCCr", "\"Unknown select instruction\"", "2", "1", "2", "1", "0", "1", "3", "ARMCC::getOppositeCondition", "ARMCC::CondCodes", "4", "0", "1"], "File": "ARMBaseInstrInfo110", "Func": "optimizeSelect", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19695, "Length": 418, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_set_reg_reg_cost", "(", "machine_mode", "mode", ")", "{", "unsigned", "int", "units", "=", "UNITS_PER_WORD", ";", "switch", "(", "GET_MODE_CLASS", "(", "mode", ")", ")", "{", "default", ":", "break", ";", "case", "MODE_CC", ":", "units", "=", "GET_MODE_SIZE", "(", "CCmode", ")", ";", "break", ";", "case", "MODE_FLOAT", ":", "if", "(", "(", "TARGET_SSE", "&&", "mode", "==", "TFmode", ")", "||", "(", "TARGET_80387", "&&", "mode", "==", "XFmode", ")", "||", "(", "(", "TARGET_80387", "||", "TARGET_SSE2", ")", "&&", "mode", "==", "DFmode", ")", "||", "(", "(", "TARGET_80387", "||", "TARGET_SSE", ")", "&&", "mode", "==", "SFmode", ")", ")", "units", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "break", ";", "case", "MODE_COMPLEX_FLOAT", ":", "if", "(", "(", "TARGET_SSE", "&&", "mode", "==", "TCmode", ")", "||", "(", "TARGET_80387", "&&", "mode", "==", "XCmode", ")", "||", "(", "(", "TARGET_80387", "||", "TARGET_SSE2", ")", "&&", "mode", "==", "DCmode", ")", "||", "(", "(", "TARGET_80387", "||", "TARGET_SSE", ")", "&&", "mode", "==", "SCmode", ")", ")", "units", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "break", ";", "case", "MODE_VECTOR_INT", ":", "case", "MODE_VECTOR_FLOAT", ":", "if", "(", "(", "TARGET_AVX512F", "&&", "VALID_AVX512F_REG_MODE", "(", "mode", ")", ")", "||", "(", "TARGET_AVX", "&&", "VALID_AVX256_REG_MODE", "(", "mode", ")", ")", "||", "(", "TARGET_SSE2", "&&", "VALID_SSE2_REG_MODE", "(", "mode", ")", ")", "||", "(", "TARGET_SSE", "&&", "VALID_SSE_REG_MODE", "(", "mode", ")", ")", "||", "(", "TARGET_MMX", "&&", "VALID_MMX_REG_MODE", "(", "mode", ")", ")", ")", "units", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "}", "return", "COSTS_N_INSNS", "(", "CEIL", "(", "GET_MODE_SIZE", "(", "mode", ")", ",", "units", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "moving", "between", "two", "registers", "of", "mode", "MODE", "."], "TS_V_token": ["i386"], "File": "i3865", "Func": "ix86_set_reg_reg_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19696, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ck803_rtx_costs", "(", "rtx", "x", ",", "int", "code", ",", "int", "outer_code", "ATTRIBUTE_UNUSED", ",", "int", "*", "total", ",", "bool", "speed", "ATTRIBUTE_UNUSED", ")", "{", "switch", "(", "code", ")", "{", "case", "SET", ":", "if", "(", "MEM_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "{", "struct", "csky_address", "op1", ";", "bool", "address_valid", "=", "decompose_csky_address", "(", "XEXP", "(", "XEXP", "(", "x", ",", "1", ")", ",", "0", ")", ",", "&", "op1", ")", ";", "if", "(", "op1", ".", "index", ")", "{", "*", "total", "=", "COSTS_N_INSNS", "(", "3", ")", ";", "return", "true", ";", "}", "else", "if", "(", "address_valid", ")", "{", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", ";", "return", "true", ";", "}", "}", "if", "(", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "PLUS", ")", ")", "{", "rtx", "sub_exp", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "REG_P", "(", "XEXP", "(", "sub_exp", ",", "0", ")", ")", "&&", "REG_P", "(", "XEXP", "(", "sub_exp", ",", "1", ")", ")", ")", "{", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", ";", "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", "ck803", "."], "TS_V_token": ["csky", "1", "1", "0", "3", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "2", "0", "0xffffffff", "0", "1", "3"], "File": "csky", "Func": "ck803_rtx_costs", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19697, "Length": 282, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "AArch64TargetLowering", "::", "emitLoadLinked", "(", "IRBuilderBase", "&", "Builder", ",", "Type", "*", "ValueTy", ",", "Value", "*", "Addr", ",", "AtomicOrdering", "Ord", ")", "const", "{", "Module", "*", "M", "=", "Builder", ".", "GetInsertBlock", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "bool", "IsAcquire", "=", "isAcquireOrStronger", "(", "Ord", ")", ";", "if", "(", "ValueTy", "->", "getPrimitiveSizeInBits", "(", ")", "==", "128", ")", "{", "Intrinsic", "::", "ID", "Int", "=", "IsAcquire", "?", "Intrinsic", "::", "aarch64_ldaxp", ":", "Intrinsic", "::", "aarch64_ldxp", ";", "Function", "*", "Ldxr", "=", "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", ",", "ValueTy", ",", "\"lo64\"", ")", ";", "Hi", "=", "Builder", ".", "CreateZExt", "(", "Hi", ",", "ValueTy", ",", "\"hi64\"", ")", ";", "return", "Builder", ".", "CreateOr", "(", "Lo", ",", "Builder", ".", "CreateShl", "(", "Hi", ",", "ConstantInt", "::", "get", "(", "ValueTy", ",", "64", ")", ")", ",", "\"val64\"", ")", ";", "}", "Type", "*", "Tys", "[", "]", "=", "{", "Addr", "->", "getType", "(", ")", "}", ";", "Intrinsic", "::", "ID", "Int", "=", "IsAcquire", "?", "Intrinsic", "::", "aarch64_ldaxr", ":", "Intrinsic", "::", "aarch64_ldxr", ";", "Function", "*", "Ldxr", "=", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "Int", ",", "Tys", ")", ";", "const", "DataLayout", "&", "DL", "=", "M", "->", "getDataLayout", "(", ")", ";", "IntegerType", "*", "IntEltTy", "=", "Builder", ".", "getIntNTy", "(", "DL", ".", "getTypeSizeInBits", "(", "ValueTy", ")", ")", ";", "CallInst", "*", "CI", "=", "Builder", ".", "CreateCall", "(", "Ldxr", ",", "Addr", ")", ";", "CI", "->", "addParamAttr", "(", "0", ",", "Attribute", "::", "get", "(", "Builder", ".", "getContext", "(", ")", ",", "Attribute", "::", "ElementType", ",", "ValueTy", ")", ")", ";", "Value", "*", "Trunc", "=", "Builder", ".", "CreateTrunc", "(", "CI", ",", "IntEltTy", ")", ";", "return", "Builder", ".", "CreateBitCast", "(", "Trunc", ",", "ValueTy", ")", ";", "}", ""], "natrual_language": ["Perform", "a", "load-linked", "operation", "on", "Addr", ",", "returning", "a", "``", "Value", "*", "''", "with", "the", "corresponding", "pointee", "type", "."], "TS_V_token": ["AArch64", "AArch64", "128", "Intrinsic::ID", "Intrinsic::aarch64_ldaxp", "Intrinsic::aarch64_ldxp", "Intrinsic::getDeclaration", "\"lohi\"", "0", "\"lo\"", "1", "\"hi\"", "\"lo64\"", "\"hi64\"", "64", "\"val64\"", "Intrinsic::ID", "Intrinsic::aarch64_ldaxr", "Intrinsic::aarch64_ldxr", "Intrinsic::getDeclaration", "0"], "File": "AArch64ISelLowering69", "Func": "emitLoadLinked", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19698, "Length": 338, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsSEFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "MipsSEInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "MipsSEInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "int64_t", "Amount", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "Mips", "::", "ADJCALLSTACKDOWN", ")", "Amount", "=", "-", "Amount", ";", "unsigned", "SP", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "SP_64", ":", "Mips", "::", "SP", ";", "TII", ".", "adjustStackPtr", "(", "SP", ",", "Amount", ",", "MBB", ",", "I", ")", ";", "}", "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": ["Mips", "Mips", "Mips", "Mips", "0", "Mips::ADJCALLSTACKDOWN", "Mips::SP_64", "Mips::SP"], "File": "MipsSEFrameLowering34", "Func": "eliminateCallFramePseudoInstr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19699, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "PPCRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R0", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R1", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "RM", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R2", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R13", ")", ";", "}", "if", "(", "Subtarget", ".", "isPPC64", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R13", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R31", ")", ";", "if", "(", "!", "EnableRegisterScavenging", ")", "Reserved", ".", "set", "(", "PPC", "::", "R0", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X0", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X1", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X13", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X31", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "X2", ")", ";", "}", "}", "if", "(", "needsFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "R31", ")", ";", "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": ["PowerPC", "PPC", "PPC::R0", "PPC::R1", "PPC::LR", "PPC::LR8", "PPC::RM", "PPC::R2", "PPC::R13", "PPC", "PPC::R13", "PPC::R31", "PPC::R0", "PPC::X0", "PPC::X1", "PPC::X13", "PPC::X31", "PPC::X2", "PPC::R31"], "File": "PPCRegisterInfo65", "Func": "getReservedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19700, "Length": 210, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PPC", "::", "AddrMode", "PPCTargetLowering", "::", "SelectForceXFormMode", "(", "SDValue", "N", ",", "SDValue", "&", "Disp", ",", "SDValue", "&", "Base", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "PPC", "::", "AddrMode", "Mode", "=", "PPC", "::", "AM_XForm", ";", "int16_t", "ForceXFormImm", "=", "0", ";", "if", "(", "provablyDisjointOr", "(", "DAG", ",", "N", ")", "&&", "!", "isIntS16Immediate", "(", "N", ".", "getOperand", "(", "1", ")", ",", "ForceXFormImm", ")", ")", "{", "Disp", "=", "N", ".", "getOperand", "(", "0", ")", ";", "Base", "=", "N", ".", "getOperand", "(", "1", ")", ";", "return", "Mode", ";", "}", "if", "(", "N", ".", "getOpcode", "(", ")", "==", "ISD", "::", "ADD", "&&", "(", "!", "isIntS16Immediate", "(", "N", ".", "getOperand", "(", "1", ")", ",", "ForceXFormImm", ")", "||", "!", "N", ".", "getOperand", "(", "1", ")", ".", "hasOneUse", "(", ")", "||", "!", "N", ".", "getOperand", "(", "0", ")", ".", "hasOneUse", "(", ")", ")", ")", "{", "Disp", "=", "N", ".", "getOperand", "(", "0", ")", ";", "Base", "=", "N", ".", "getOperand", "(", "1", ")", ";", "return", "Mode", ";", "}", "Disp", "=", "DAG", ".", "getRegister", "(", "Subtarget", ".", "isPPC64", "(", ")", "?", "PPC", "::", "ZERO8", ":", "PPC", "::", "ZERO", ",", "N", ".", "getValueType", "(", ")", ")", ";", "Base", "=", "N", ";", "return", "Mode", ";", "}", ""], "natrual_language": ["SelectForceXFormMode", "-", "Given", "the", "specified", "address", ",", "force", "it", "to", "be", "represented", "as", "an", "indexed", "[", "r+r", "]", "operation", "(", "an", "XForm", "instruction", ")", "."], "TS_V_token": ["PowerPC", "PPC::AddrMode", "PPC", "PPC::AddrMode", "PPC::AM_XForm", "0", "1", "0", "1", "ISD::ADD", "1", "1", "0", "0", "1", "PPC", "PPC::ZERO8", "PPC::ZERO"], "File": "PPCISelLowering109", "Func": "SelectForceXFormMode", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19701, "Length": 192, "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": 19702, "Length": 369, "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", "::", "BGEZC", ":", "case", "Mips", "::", "BGTZC", ":", "case", "Mips", "::", "BLTZC", ":", "case", "Mips", "::", "BEQZC", ":", "case", "Mips", "::", "BNEZC", ":", "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", "::", "BLTC", ":", "case", "Mips", "::", "BGEUC", ":", "case", "Mips", "::", "BLTUC", ":", "case", "Mips", "::", "BEQC", ":", "case", "Mips", "::", "BNEC", ":", "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::BGEZC", "Mips::BGTZC", "Mips::BLTZC", "Mips::BEQZC", "Mips::BNEZC", "Mips::BLEZC64", "Mips::BGEZC64", "Mips::BGTZC64", "Mips::BLTZC64", "Mips::BEQZC64", "Mips::BNEZC64", "0", "Mips::ZERO", "0", "Mips::ZERO_64", "Mips::BGEC", "Mips::BLTC", "Mips::BGEUC", "Mips::BLTUC", "Mips::BEQC", "Mips::BNEC", "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": "MipsAsmParser37", "Func": "checkTargetMatchPredicate", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19703, "Length": 369, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "important_for_bundling_p", "(", "rtx_insn", "*", "insn", ")", "{", "return", "(", "INSN_P", "(", "insn", ")", "&&", "ia64_safe_itanium_class", "(", "insn", ")", "!=", "ITANIUM_CLASS_IGNORE", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "USE", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "CLOBBER", ")", ";", "}", ""], "natrual_language": ["True", "when", "INSN", "is", "important", "for", "bundling", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "important_for_bundling_p", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19704, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "ix86_fixup_binary_operands", "(", "enum", "rtx_code", "code", ",", "enum", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ")", "{", "int", "matching_memory", ";", "rtx", "src1", ",", "src2", ",", "dst", ";", "dst", "=", "operands", "[", "0", "]", ";", "src1", "=", "operands", "[", "1", "]", ";", "src2", "=", "operands", "[", "2", "]", ";", "if", "(", "GET_RTX_CLASS", "(", "code", ")", "==", "RTX_COMM_ARITH", "&&", "(", "rtx_equal_p", "(", "dst", ",", "src2", ")", "||", "immediate_operand", "(", "src1", ",", "mode", ")", ")", ")", "{", "rtx", "temp", "=", "src1", ";", "src1", "=", "src2", ";", "src2", "=", "temp", ";", "}", "matching_memory", "=", "0", ";", "if", "(", "GET_CODE", "(", "dst", ")", "==", "MEM", ")", "{", "if", "(", "rtx_equal_p", "(", "dst", ",", "src1", ")", ")", "matching_memory", "=", "1", ";", "else", "if", "(", "GET_RTX_CLASS", "(", "code", ")", "==", "RTX_COMM_ARITH", "&&", "rtx_equal_p", "(", "dst", ",", "src2", ")", ")", "matching_memory", "=", "2", ";", "else", "dst", "=", "gen_reg_rtx", "(", "mode", ")", ";", "}", "if", "(", "GET_CODE", "(", "src1", ")", "==", "MEM", "&&", "GET_CODE", "(", "src2", ")", "==", "MEM", ")", "{", "if", "(", "matching_memory", "!=", "2", ")", "src2", "=", "force_reg", "(", "mode", ",", "src2", ")", ";", "else", "src1", "=", "force_reg", "(", "mode", ",", "src1", ")", ";", "}", "if", "(", "(", "CONSTANT_P", "(", "src1", ")", "||", "(", "!", "matching_memory", "&&", "GET_CODE", "(", "src1", ")", "==", "MEM", ")", ")", "&&", "GET_RTX_CLASS", "(", "code", ")", "!=", "RTX_COMM_ARITH", ")", "src1", "=", "force_reg", "(", "mode", ",", "src1", ")", ";", "src1", "=", "operands", "[", "1", "]", "=", "src1", ";", "src2", "=", "operands", "[", "2", "]", "=", "src2", ";", "return", "dst", ";", "}", ""], "natrual_language": ["Fix", "up", "OPERANDS", "to", "satisfy", "ix86_binary_operator_ok", ".", "Return", "the", "destination", "to", "use", "for", "the", "operation", ".", "If", "different", "from", "the", "true", "destination", "in", "operands", "[", "0", "]", ",", "a", "copy", "operation", "will", "be", "required", "."], "TS_V_token": ["i386", "0", "1", "2", "0", "1", "2", "2", "1", "2"], "File": "i3863", "Func": "ix86_fixup_binary_operands", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19705, "Length": 247, "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": 19706, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_restore_callee_saves", "(", "machine_mode", "mode", ",", "HOST_WIDE_INT", "start_offset", ",", "unsigned", "start", ",", "unsigned", "limit", ",", "bool", "skip_wb", ",", "rtx", "*", "cfi_ops", ")", "{", "rtx", "base_rtx", "=", "stack_pointer_rtx", ";", "rtx", "(", "*", "gen_mem_ref", ")", "(", "machine_mode", ",", "rtx", ")", "=", "(", "frame_pointer_needed", "?", "gen_frame_mem", ":", "gen_rtx_MEM", ")", ";", "unsigned", "regno", ";", "unsigned", "regno2", ";", "HOST_WIDE_INT", "offset", ";", "for", "(", "regno", "=", "aarch64_next_callee_save", "(", "start", ",", "limit", ")", ";", "regno", "<=", "limit", ";", "regno", "=", "aarch64_next_callee_save", "(", "regno", "+", "1", ",", "limit", ")", ")", "{", "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_mem_ref", "(", "mode", ",", "plus_constant", "(", "Pmode", ",", "base_rtx", ",", "offset", ")", ")", ";", "regno2", "=", "aarch64_next_callee_save", "(", "regno", "+", "1", ",", "limit", ")", ";", "if", "(", "regno2", "<=", "limit", "&&", "(", "(", "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_mem_ref", "(", "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": "aarch642", "Func": "aarch64_restore_callee_saves", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19707, "Length": 304, "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": 19708, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "hasAndNotCompare", "(", "SDValue", "Y", ")", "const", "{", "EVT", "VT", "=", "Y", ".", "getValueType", "(", ")", ";", "if", "(", "VT", ".", "isVector", "(", ")", ")", "return", "false", ";", "if", "(", "!", "Subtarget", ".", "hasBMI", "(", ")", ")", "return", "false", ";", "if", "(", "VT", "!=", "MVT", "::", "i32", "&&", "VT", "!=", "MVT", "::", "i64", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "should", "transform", ":", "(", "X", "&", "Y", ")", "==", "Y", "\ufffd", "?", "(", "~X", "&", "Y", ")", "==", "0", "(", "X", "&", "Y", ")", "!", "=", "Y", "\ufffd", "?", "(", "~X", "&", "Y", ")", "!", "=", "0", "."], "TS_V_token": ["X86", "X86", "MVT::i32", "MVT::i64"], "File": "X86ISelLowering", "Func": "hasAndNotCompare", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19709, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["PowerPC"], "File": "PPCEarlyReturn", "Func": "getAnalysisUsage", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19710, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_const_double_by_parts", "(", "rtx", "val", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "val", ")", ";", "rtx", "part", ";", "if", "(", "optimize_size", "||", "arm_ld_sched", ")", "return", "true", ";", "if", "(", "mode", "==", "VOIDmode", ")", "mode", "=", "DImode", ";", "part", "=", "gen_highpart_mode", "(", "SImode", ",", "mode", ",", "val", ")", ";", "gcc_assert", "(", "CONST_INT_P", "(", "part", ")", ")", ";", "if", "(", "const_ok_for_arm", "(", "INTVAL", "(", "part", ")", ")", "||", "const_ok_for_arm", "(", "~", "INTVAL", "(", "part", ")", ")", ")", "return", "true", ";", "part", "=", "gen_lowpart", "(", "SImode", ",", "val", ")", ";", "gcc_assert", "(", "CONST_INT_P", "(", "part", ")", ")", ";", "if", "(", "const_ok_for_arm", "(", "INTVAL", "(", "part", ")", ")", "||", "const_ok_for_arm", "(", "~", "INTVAL", "(", "part", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "worthwhile", "to", "split", "a", "64-bit", "constant", "into", "two", "32-bit", "operations", ".", "This", "is", "the", "case", "if", "optimizing", "for", "size", ",", "or", "if", "we", "have", "load", "delay", "slots", ",", "or", "if", "one", "32-bit", "part", "can", "be", "done", "with", "a", "single", "data", "operation", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_const_double_by_parts", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19711, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "AArch64TargetLowering", "::", "getSSPStackGuardCheck", "(", "const", "Module", "&", "M", ")", "const", "{", "if", "(", "Subtarget", "->", "getTargetTriple", "(", ")", ".", "isWindowsMSVCEnvironment", "(", ")", ")", "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": ["AArch64", "AArch64", "\"__security_check_cookie\""], "File": "AArch64ISelLowering131", "Func": "getSSPStackGuardCheck", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19712, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sparc_expand_builtin", "(", "tree", "exp", ",", "rtx", "target", ",", "rtx", "subtarget", "ATTRIBUTE_UNUSED", ",", "enum", "machine_mode", "tmode", ",", "int", "ignore", "ATTRIBUTE_UNUSED", ")", "{", "tree", "arglist", ";", "tree", "fndecl", "=", "TREE_OPERAND", "(", "TREE_OPERAND", "(", "exp", ",", "0", ")", ",", "0", ")", ";", "unsigned", "int", "icode", "=", "DECL_FUNCTION_CODE", "(", "fndecl", ")", ";", "rtx", "pat", ",", "op", "[", "4", "]", ";", "enum", "machine_mode", "mode", "[", "4", "]", ";", "int", "arg_count", "=", "0", ";", "mode", "[", "arg_count", "]", "=", "tmode", ";", "if", "(", "target", "==", "0", "||", "GET_MODE", "(", "target", ")", "!=", "tmode", "||", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "predicate", ")", "(", "target", ",", "tmode", ")", ")", "op", "[", "arg_count", "]", "=", "gen_reg_rtx", "(", "tmode", ")", ";", "else", "op", "[", "arg_count", "]", "=", "target", ";", "for", "(", "arglist", "=", "TREE_OPERAND", "(", "exp", ",", "1", ")", ";", "arglist", ";", "arglist", "=", "TREE_CHAIN", "(", "arglist", ")", ")", "{", "tree", "arg", "=", "TREE_VALUE", "(", "arglist", ")", ";", "arg_count", "++", ";", "mode", "[", "arg_count", "]", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "arg_count", "]", ".", "mode", ";", "op", "[", "arg_count", "]", "=", "expand_expr", "(", "arg", ",", "NULL_RTX", ",", "VOIDmode", ",", "0", ")", ";", "if", "(", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "arg_count", "]", ".", "predicate", ")", "(", "op", "[", "arg_count", "]", ",", "mode", "[", "arg_count", "]", ")", ")", "op", "[", "arg_count", "]", "=", "copy_to_mode_reg", "(", "mode", "[", "arg_count", "]", ",", "op", "[", "arg_count", "]", ")", ";", "}", "switch", "(", "arg_count", ")", "{", "case", "1", ":", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op", "[", "0", "]", ",", "op", "[", "1", "]", ")", ";", "break", ";", "case", "2", ":", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op", "[", "0", "]", ",", "op", "[", "1", "]", ",", "op", "[", "2", "]", ")", ";", "break", ";", "case", "3", ":", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op", "[", "0", "]", ",", "op", "[", "1", "]", ",", "op", "[", "2", "]", ",", "op", "[", "3", "]", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "!", "pat", ")", "return", "NULL_RTX", ";", "emit_insn", "(", "pat", ")", ";", "return", "op", "[", "0", "]", ";", "}", ""], "natrual_language": ["Handle", "TARGET_EXPAND_BUILTIN", "target", "hook", ".", "Expand", "builtin", "functions", "for", "sparc", "intrinsics", "."], "TS_V_token": ["sparc", "0", "0", "4", "4", "0", "0", "0", "1", "0", "1", "0", "1", "2", "0", "1", "2", "3", "0", "1", "2", "3", "0"], "File": "sparc3", "Func": "sparc_expand_builtin", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19713, "Length": 358, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_print_patchable_function_entry", "(", "FILE", "*", "file", ",", "unsigned", "HOST_WIDE_INT", "patch_area_size", ",", "bool", "record_p", ")", "{", "unsigned", "int", "flags", "=", "SECTION_WRITE", "|", "SECTION_RELRO", ";", "if", "(", "!", "(", "TARGET_64BIT", "&&", "DEFAULT_ABI", "!=", "ABI_ELFv2", ")", "&&", "HAVE_GAS_SECTION_LINK_ORDER", ")", "flags", "|=", "SECTION_LINK_ORDER", ";", "default_print_patchable_function_entry_1", "(", "file", ",", "patch_area_size", ",", "record_p", ",", "flags", ")", ";", "}", ""], "natrual_language": ["Write", "PATCH_AREA_SIZE", "NOPs", "into", "the", "asm", "outfile", "FILE", "around", "a", "function", "entry", ".", "If", "RECORD_P", "is", "true", "and", "the", "target", "supports", "named", "sections", ",", "the", "location", "of", "the", "NOPs", "will", "be", "recorded", "in", "a", "special", "object", "section", "called", "``", "__patchable_function_entries", "''", ".", "This", "routine", "may", "be", "called", "twice", "per", "function", "to", "put", "NOPs", "before", "and", "after", "the", "function", "entry", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_print_patchable_function_entry", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19714, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", ",", "unsigned", ",", "bool", "*", "Fast", ")", "const", "{", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "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 (3)", "Func": "allowsMisalignedMemoryAccesses", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19715, "Length": 146, "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": 19716, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetMachine", "::", "addInstSelector", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "PM", ".", "add", "(", "createX86ISelDag", "(", "*", "this", ",", "OptLevel", ")", ")", ";", "if", "(", "EnableFastISel", ")", "PM", ".", "add", "(", "createDeadMachineInstructionElimPass", "(", ")", ")", ";", "PM", ".", "add", "(", "createX87FPRegKillInserterPass", "(", ")", ")", ";", "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"], "File": "X86TargetMachine40", "Func": "addInstSelector", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19717, "Length": 54, "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": 19718, "Length": 119, "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": 19719, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "getNumInterleavedAccesses", "(", "VectorType", "*", "VecTy", ",", "const", "DataLayout", "&", "DL", ")", "{", "return", "(", "DL", ".", "getTypeSizeInBits", "(", "VecTy", ")", "+", "127", ")", "/", "128", ";", "}", ""], "natrual_language": ["Returns", "the", "number", "of", "interleaved", "accesses", "that", "will", "be", "generated", "when", "lowering", "accesses", "of", "the", "given", "type", "."], "TS_V_token": ["ARM", "127", "128"], "File": "ARMISelLowering146", "Func": "getNumInterleavedAccesses", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19720, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "seh_emit_stackalloc", "(", "FILE", "*", "f", ",", "struct", "seh_frame_state", "*", "seh", ",", "HOST_WIDE_INT", "offset", ")", "{", "gcc_assert", "(", "offset", "<", "0", ")", ";", "offset", "=", "-", "offset", ";", "if", "(", "seh", "->", "cfa_reg", "==", "stack_pointer_rtx", ")", "seh", "->", "cfa_offset", "+=", "offset", ";", "seh", "->", "sp_offset", "+=", "offset", ";", "if", "(", "offset", "<", "SEH_MAX_FRAME_SIZE", ")", "fprintf", "(", "f", ",", "\"\\t.seh_stackalloc\\t\"", "HOST_WIDE_INT_PRINT_DEC", "\"\\n\"", ",", "offset", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "assembler", "directive", "to", "adjust", "RSP", "by", "OFFSET", "."], "TS_V_token": ["i386", "0", "\"\\t.seh_stackalloc\\t\"", "\"\\n\""], "File": "winnt", "Func": "seh_emit_stackalloc", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19721, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasRawTextSupport", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "asm", "streamer", "supports", "emitting", "unformatted", "text", "to", "the", ".s", "file", "with", "EmitRawText", "."], "TS_V_token": ["F2003f"], "File": "F2003fMCAsmStreamer", "Func": "hasRawTextSupport", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19722, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "AArch64TargetLowering", "::", "getSafeStackPointerLocation", "(", "IRBuilder", "<", ">", "&", "IRB", ")", "const", "{", "if", "(", "Subtarget", "->", "isTargetAndroid", "(", ")", ")", "return", "UseTlsOffset", "(", "IRB", ",", "0x48", ")", ";", "if", "(", "Subtarget", "->", "isTargetFuchsia", "(", ")", ")", "return", "UseTlsOffset", "(", "IRB", ",", "-", "0x8", ")", ";", "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": ["AArch64", "AArch64", "0x48", "0x8"], "File": "AArch64ISelLowering (2)3", "Func": "getSafeStackPointerLocation", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19723, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_simd_clone_adjust", "(", "struct", "cgraph_node", "*", "node", ")", "{", "const", "char", "*", "str", "=", "NULL", ";", "if", "(", "!", "node", "->", "definition", ")", "return", ";", "gcc_assert", "(", "node", "->", "decl", "==", "cfun", "->", "decl", ")", ";", "switch", "(", "node", "->", "simdclone", "->", "vecsize_mangle", ")", "{", "case", "'b'", ":", "if", "(", "!", "TARGET_SSE2", ")", "str", "=", "\"sse2\"", ";", "break", ";", "case", "'c'", ":", "if", "(", "TARGET_PREFER_AVX128", ")", "{", "if", "(", "!", "TARGET_AVX", ")", "str", "=", "\"avx,prefer-vector-width=256\"", ";", "else", "str", "=", "\"prefer-vector-width=256\"", ";", "}", "else", "if", "(", "!", "TARGET_AVX", ")", "str", "=", "\"avx\"", ";", "break", ";", "case", "'d'", ":", "if", "(", "TARGET_PREFER_AVX128", ")", "{", "if", "(", "!", "TARGET_AVX2", ")", "str", "=", "\"avx2,prefer-vector-width=256\"", ";", "else", "str", "=", "\"prefer-vector-width=256\"", ";", "}", "else", "if", "(", "!", "TARGET_AVX2", ")", "str", "=", "\"avx2\"", ";", "break", ";", "case", "'e'", ":", "if", "(", "TARGET_PREFER_AVX256", ")", "{", "if", "(", "!", "TARGET_AVX512F", ")", "str", "=", "\"avx512f,prefer-vector-width=512\"", ";", "else", "str", "=", "\"prefer-vector-width=512\"", ";", "}", "else", "if", "(", "!", "TARGET_AVX512F", ")", "str", "=", "\"avx512f\"", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "str", "==", "NULL", ")", "return", ";", "push_cfun", "(", "NULL", ")", ";", "tree", "args", "=", "build_tree_list", "(", "NULL_TREE", ",", "build_string", "(", "strlen", "(", "str", ")", ",", "str", ")", ")", ";", "bool", "ok", "=", "ix86_valid_target_attribute_p", "(", "node", "->", "decl", ",", "NULL", ",", "args", ",", "0", ")", ";", "gcc_assert", "(", "ok", ")", ";", "pop_cfun", "(", ")", ";", "ix86_reset_previous_fndecl", "(", ")", ";", "ix86_set_current_function", "(", "node", "->", "decl", ")", ";", "}", ""], "natrual_language": ["Add", "target", "attribute", "to", "SIMD", "clone", "NODE", "if", "needed", "."], "TS_V_token": ["i386", "\"sse2\"", "\"avx,prefer-vector-width=256\"", "\"prefer-vector-width=256\"", "\"avx\"", "\"avx2,prefer-vector-width=256\"", "\"prefer-vector-width=256\"", "\"avx2\"", "\"avx512f,prefer-vector-width=512\"", "\"prefer-vector-width=512\"", "\"avx512f\"", "0"], "File": "i386-options", "Func": "ix86_simd_clone_adjust", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19724, "Length": 239, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "nds32_expand_prologue_v3push", "(", "void", ")", "{", "int", "fp_adjust", ";", "int", "sp_adjust", ";", "int", "fpr_space", "=", "0", ";", "unsigned", "Rb", ",", "Re", ";", "nds32_compute_stack_frame", "(", ")", ";", "if", "(", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", ">", "0", ")", "df_set_regs_ever_live", "(", "FP_REGNUM", ",", "1", ")", ";", "if", "(", "cfun", "->", "machine", "->", "naked_p", ")", "return", ";", "Rb", "=", "cfun", "->", "machine", "->", "callee_saved_first_gpr_regno", ";", "Re", "=", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", ";", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "if", "(", "satisfies_constraint_Iu08", "(", "GEN_INT", "(", "sp_adjust", ")", ")", "&&", "NDS32_DOUBLE_WORD_ALIGN_P", "(", "sp_adjust", ")", ")", "{", "nds32_emit_stack_v3push", "(", "Rb", ",", "Re", ",", "sp_adjust", ")", ";", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "int", "fpr_position", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", ";", "nds32_emit_push_fpr_callee_saved", "(", "fpr_position", ")", ";", "}", "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", "+", "sp_adjust", ";", "nds32_emit_adjust_frame", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ",", "fp_adjust", ")", ";", "}", "}", "else", "{", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "fpr_space", "=", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "nds32_emit_stack_v3push", "(", "Rb", ",", "Re", ",", "fpr_space", ")", ";", "nds32_emit_push_fpr_callee_saved", "(", "0", ")", ";", "}", "else", "{", "nds32_emit_stack_v3push", "(", "Rb", ",", "Re", ",", "0", ")", ";", "}", "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", ";", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "fp_adjust", "=", "fp_adjust", "+", "fpr_space", ";", "}", "nds32_emit_adjust_frame", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ",", "fp_adjust", ")", ";", "}", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "sp_adjust", "=", "sp_adjust", "-", "fpr_space", ";", "}", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "-", "1", "*", "sp_adjust", ")", ";", "}", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", ""], "natrual_language": ["Function", "for", "v3push", "prologue", "."], "TS_V_token": ["nds32", "0", "0", "1", "0", "0", "1"], "File": "nds325", "Func": "nds32_expand_prologue_v3push", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19725, "Length": 348, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64DCFunction", "&", "getParent", "(", ")", "{", "return", "static_cast", "<", "AArch64DCFunction", "&", ">", "(", "DCBasicBlock", "::", "getParent", "(", ")", ")", ";", "}", ""], "natrual_language": ["getParent", "-", "Return", "the", "last", "analyzed", "interval", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64DCBasicBlock", "Func": "getParent", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19726, "Length": 21, "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", "&&", "std", "::", "find", "(", "Order", ".", "begin", "(", ")", ",", "Order", ".", "end", "(", ")", ",", "PairedPhys", ")", "!=", "Order", ".", "end", "(", ")", ")", "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": "ARMBaseRegisterInfo15", "Func": "getRegAllocationHints", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19727, "Length": 288, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "MVT", "getShiftAmountTy", "(", "EVT", "LHSTy", ")", "const", "{", "return", "MVT", "::", "i8", ";", "}", ""], "natrual_language": ["Returns", "the", "type", "for", "the", "shift", "amount", "of", "a", "shift", "opcode", "."], "TS_V_token": ["XNCM", "MVT::i8"], "File": "XNCMISelLowering", "Func": "getShiftAmountTy", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19728, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "class", "VISIBILITY_HIDDEN", "X86MCInstLower", "{", "MCContext", "&", "Ctx", ";", "Mangler", "*", "Mang", ";", "X86AsmPrinter", "&", "AsmPrinter", ";", "const", "X86Subtarget", "&", "getSubtarget", "(", ")", "const", ";", "public", ":", "X86MCInstLower", "(", "MCContext", "&", "ctx", ",", "Mangler", "*", "mang", ",", "X86AsmPrinter", "&", "asmprinter", ")", ":", "Ctx", "(", "ctx", ")", ",", "Mang", "(", "mang", ")", ",", "AsmPrinter", "(", "asmprinter", ")", "{", "}", "void", "Lower", "(", "const", "MachineInstr", "*", "MI", ",", "MCInst", "&", "OutMI", ")", "const", ";", "MCSymbol", "*", "GetPICBaseSymbol", "(", ")", "const", ";", "MCSymbol", "*", "GetSymbolFromOperand", "(", "const", "MachineOperand", "&", "MO", ")", "const", ";", "MCOperand", "LowerSymbolOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCSymbol", "*", "Sym", ")", "const", ";", "private", ":", "MachineModuleInfoMachO", "&", "getMachOMMI", "(", ")", "const", ";", "}", ""], "natrual_language": ["getSubtarget", "-", "Return", "the", "subtarget", "for", "which", "this", "machine", "code", "is", "being", "compiled", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86MCInstLower2", "Func": "getSubtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19729, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", "ATTRIBUTE_UNUSED", ")", "{", "return", "(", "1", "&&", "!", "sh_cfun_interrupt_handler_p", "(", ")", "&&", "(", "!", "flag_pic", "||", "TARGET_FDPIC", "||", "(", "decl", "&&", "!", "(", "TREE_PUBLIC", "(", "decl", ")", "||", "DECL_WEAK", "(", "decl", ")", ")", ")", "||", "(", "decl", "&&", "DECL_VISIBILITY", "(", "decl", ")", "!=", "VISIBILITY_DEFAULT", ")", ")", ")", ";", "}", ""], "natrual_language": ["If", "PIC", ",", "we", "can", "not", "make", "sibling", "calls", "to", "global", "functions", "because", "the", "PLT", "requires", "r12", "to", "be", "live", "."], "TS_V_token": ["sh", "1"], "File": "sh", "Func": "sh_function_ok_for_sibcall", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19730, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "nds32_legitimize_pic_address", "(", "rtx", "x", ")", "{", "rtx", "addr", "=", "x", ";", "rtx", "reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "pat", ";", "int", "relax_group_id", "=", "nds32_alloc_relax_group_id", "(", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", "||", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "(", "CONSTANT_POOL_ADDRESS_P", "(", "x", ")", "||", "SYMBOL_REF_LOCAL_P", "(", "x", ")", ")", ")", ")", "{", "addr", "=", "gen_rtx_UNSPEC", "(", "SImode", ",", "gen_rtvec", "(", "1", ",", "x", ")", ",", "UNSPEC_GOTOFF", ")", ";", "addr", "=", "gen_rtx_CONST", "(", "SImode", ",", "addr", ")", ";", "emit_insn", "(", "gen_sym_got", "(", "reg", ",", "addr", ",", "GEN_INT", "(", "relax_group_id", ")", ")", ")", ";", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "reg", ",", "pic_offset_table_rtx", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", ")", "{", "addr", "=", "gen_rtx_UNSPEC", "(", "SImode", ",", "gen_rtvec", "(", "1", ",", "x", ")", ",", "UNSPEC_GOT", ")", ";", "addr", "=", "gen_rtx_CONST", "(", "SImode", ",", "addr", ")", ";", "emit_insn", "(", "gen_sym_got", "(", "reg", ",", "addr", ",", "GEN_INT", "(", "relax_group_id", ")", ")", ")", ";", "x", "=", "gen_const_mem", "(", "SImode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "pic_offset_table_rtx", ",", "reg", ")", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST", ")", "{", "addr", "=", "XEXP", "(", "x", ",", "0", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", ")", ";", "rtx", "op0", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "rtx", "op1", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "if", "(", "(", "GET_CODE", "(", "op0", ")", "==", "LABEL_REF", "||", "(", "GET_CODE", "(", "op0", ")", "==", "SYMBOL_REF", "&&", "(", "CONSTANT_POOL_ADDRESS_P", "(", "op0", ")", "||", "SYMBOL_REF_LOCAL_P", "(", "op0", ")", ")", ")", ")", "&&", "GET_CODE", "(", "op1", ")", "==", "CONST_INT", ")", "{", "pat", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "op0", ")", ",", "UNSPEC_GOTOFF", ")", ";", "pat", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "pat", ",", "op1", ")", ";", "pat", "=", "gen_rtx_CONST", "(", "Pmode", ",", "pat", ")", ";", "emit_insn", "(", "gen_sym_got", "(", "reg", ",", "pat", ",", "GEN_INT", "(", "relax_group_id", ")", ")", ")", ";", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "reg", ",", "pic_offset_table_rtx", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "op0", ")", "==", "SYMBOL_REF", "&&", "GET_CODE", "(", "op1", ")", "==", "CONST_INT", ")", "{", "addr", "=", "gen_rtx_UNSPEC", "(", "SImode", ",", "gen_rtvec", "(", "1", ",", "op0", ")", ",", "UNSPEC_GOT", ")", ";", "addr", "=", "gen_rtx_CONST", "(", "SImode", ",", "addr", ")", ";", "emit_insn", "(", "gen_sym_got", "(", "reg", ",", "addr", ",", "GEN_INT", "(", "relax_group_id", ")", ")", ")", ";", "addr", "=", "gen_const_mem", "(", "SImode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "pic_offset_table_rtx", ",", "reg", ")", ")", ";", "emit_move_insn", "(", "reg", ",", "addr", ")", ";", "if", "(", "satisfies_constraint_Is15", "(", "op1", ")", ")", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "reg", ",", "op1", ")", ";", "else", "{", "rtx", "tmp_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_movsi", "(", "tmp_reg", ",", "op1", ")", ")", ";", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "reg", ",", "tmp_reg", ")", ";", "}", "}", "else", "{", "debug_rtx", "(", "x", ")", ";", "gcc_unreachable", "(", ")", ";", "}", "}", "return", "x", ";", "}", ""], "natrual_language": ["Expand", "PIC", "code", "for", "@", "GOTOFF", "and", "@", "GOT", ".", "Example", "for", "@", "GOTOFF", ":", "la", "$", "r0", ",", "symbol", "@", "GOTOFF", "-", ">", "sethi", "$", "ta", ",", "hi20", "(", "symbol", "@", "GOTOFF", ")", "ori", "$", "ta", ",", "$", "ta", ",", "lo12", "(", "symbol", "@", "GOTOFF", ")", "add", "$", "r0", ",", "$", "ta", ",", "$", "gp", "Example", "for", "@", "GOT", ":", "la", "$", "r0", ",", "symbol", "@", "GOT", "-", ">", "sethi", "$", "ta", ",", "hi20", "(", "symbol", "@", "GOT", ")", "ori", "$", "ta", ",", "$", "ta", ",", "lo12", "(", "symbol", "@", "GOT", ")", "lw", "$", "r0", ",", "[", "$", "ta", "+", "$", "gp", "]"], "TS_V_token": ["nds32", "1", "1", "0", "0", "1", "1", "1"], "File": "nds32-md-auxiliary", "Func": "nds32_legitimize_pic_address", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19731, "Length": 483, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86TTI", "::", "PopcntSupportKind", "X86TTI", "::", "getPopcntSupport", "(", "unsigned", "TyWidth", ")", "const", "{", "assert", "(", "isPowerOf2_32", "(", "TyWidth", ")", "&&", "\"Ty width must be power of 2\"", ")", ";", "return", "ST", "->", "hasPOPCNT", "(", ")", "?", "PSK_FastHardware", ":", "PSK_Software", ";", "}", ""], "natrual_language": ["Return", "hardware", "support", "for", "population", "count", "."], "TS_V_token": ["X86", "X86", "X86", "\"Ty width must be power of 2\""], "File": "X86TargetTransformInfo112", "Func": "getPopcntSupport", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19732, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_builtin_vectorization_cost", "(", "enum", "vect_cost_for_stmt", "type_of_cost", ",", "tree", "vectype", ",", "int", ")", "{", "unsigned", "elements", ";", "switch", "(", "type_of_cost", ")", "{", "case", "scalar_stmt", ":", "return", "ix86_cost", "->", "scalar_stmt_cost", ";", "case", "scalar_load", ":", "return", "ix86_cost", "->", "scalar_load_cost", ";", "case", "scalar_store", ":", "return", "ix86_cost", "->", "scalar_store_cost", ";", "case", "vector_stmt", ":", "return", "ix86_cost", "->", "vec_stmt_cost", ";", "case", "vector_load", ":", "return", "ix86_cost", "->", "vec_align_load_cost", ";", "case", "vector_store", ":", "return", "ix86_cost", "->", "vec_store_cost", ";", "case", "vec_to_scalar", ":", "return", "ix86_cost", "->", "vec_to_scalar_cost", ";", "case", "scalar_to_vec", ":", "return", "ix86_cost", "->", "scalar_to_vec_cost", ";", "case", "unaligned_load", ":", "case", "unaligned_store", ":", "return", "ix86_cost", "->", "vec_unalign_load_cost", ";", "case", "cond_branch_taken", ":", "return", "ix86_cost", "->", "cond_taken_branch_cost", ";", "case", "cond_branch_not_taken", ":", "return", "ix86_cost", "->", "cond_not_taken_branch_cost", ";", "case", "vec_perm", ":", "case", "vec_promote_demote", ":", "return", "ix86_cost", "->", "vec_stmt_cost", ";", "case", "vec_construct", ":", "elements", "=", "TYPE_VECTOR_SUBPARTS", "(", "vectype", ")", ";", "return", "ix86_cost", "->", "vec_stmt_cost", "*", "(", "elements", "/", "2", "+", "1", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.builtin_vectorization_cost", "."], "TS_V_token": ["i386", "2", "1"], "File": "i3865", "Func": "ix86_builtin_vectorization_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19733, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mep_setup_incoming_varargs", "(", "cumulative_args_t", "cum", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "tree", "type", "ATTRIBUTE_UNUSED", ",", "int", "*", "pretend_size", ",", "int", "second_time", "ATTRIBUTE_UNUSED", ")", "{", "int", "nsave", "=", "4", "-", "(", "get_cumulative_args", "(", "cum", ")", "->", "nregs", "+", "1", ")", ";", "if", "(", "nsave", ">", "0", ")", "cfun", "->", "machine", "->", "arg_regs_to_save", "=", "nsave", ";", "*", "pretend_size", "=", "nsave", "*", "4", ";", "}", ""], "natrual_language": ["Function", "args", "in", "registers", "."], "TS_V_token": ["mep", "4", "1", "0", "4"], "File": "mep", "Func": "mep_setup_incoming_varargs", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19734, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "mode_supports_pre_incdec_p", "(", "machine_mode", "mode", ")", "{", "return", "(", "(", "reg_addr", "[", "mode", "]", ".", "addr_mask", "[", "RELOAD_REG_ANY", "]", "&", "RELOAD_REG_PRE_INCDEC", ")", "!=", "0", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "say", "whether", "a", "mode", "supports", "PRE_INC", "or", "PRE_DEC", "."], "TS_V_token": ["powerpcspe", "0"], "File": "powerpcspe", "Func": "mode_supports_pre_incdec_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19735, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", "const", "override", "{", "unsigned", "Size", "=", "1", "<<", "getFixupKindLog2Size", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "assert", "(", "Fixup", ".", "getOffset", "(", ")", "+", "Size", "<=", "DataSize", "&&", "\"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)3", "Func": "applyFixup", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19736, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SVEIntrinsicOpts", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "bool", "Changed", "=", "false", ";", "SmallSetVector", "<", "Function", "*", ",", "4", ">", "Functions", ";", "for", "(", "auto", "&", "F", ":", "M", ".", "getFunctionList", "(", ")", ")", "{", "if", "(", "!", "F", ".", "isDeclaration", "(", ")", ")", "continue", ";", "switch", "(", "F", ".", "getIntrinsicID", "(", ")", ")", "{", "case", "Intrinsic", "::", "aarch64_sve_ptrue", ":", "for", "(", "User", "*", "U", ":", "F", ".", "users", "(", ")", ")", "Functions", ".", "insert", "(", "cast", "<", "Instruction", ">", "(", "U", ")", "->", "getFunction", "(", ")", ")", ";", "break", ";", "default", ":", "break", ";", "}", "}", "if", "(", "!", "Functions", ".", "empty", "(", ")", ")", "Changed", "|=", "optimizeFunctions", "(", "Functions", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["AArch64", "4", "Intrinsic::aarch64_sve_ptrue"], "File": "SVEIntrinsicOpts5", "Func": "runOnModule", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19737, "Length": 119, "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": 19738, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isTypeDesirableForOp", "(", "unsigned", "Opc", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "isTypeLegal", "(", "VT", ")", ")", "return", "false", ";", "if", "(", "Opc", "==", "ISD", "::", "SHL", "&&", "VT", ".", "isVector", "(", ")", "&&", "VT", ".", "getVectorElementType", "(", ")", "==", "MVT", "::", "i8", ")", "return", "false", ";", "if", "(", "Opc", "==", "ISD", "::", "MUL", "&&", "VT", "==", "MVT", "::", "i8", ")", "return", "false", ";", "if", "(", "VT", "==", "MVT", "::", "i16", ")", "{", "switch", "(", "Opc", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "LOAD", ":", "case", "ISD", "::", "SIGN_EXTEND", ":", "case", "ISD", "::", "ZERO_EXTEND", ":", "case", "ISD", "::", "ANY_EXTEND", ":", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRL", ":", "case", "ISD", "::", "SUB", ":", "case", "ISD", "::", "ADD", ":", "case", "ISD", "::", "MUL", ":", "case", "ISD", "::", "AND", ":", "case", "ISD", "::", "OR", ":", "case", "ISD", "::", "XOR", ":", "return", "false", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "has", "native", "support", "for", "the", "specified", "value", "type", "and", "it", "is", "'desirable", "'", "to", "use", "the", "type", "for", "the", "given", "node", "type", "."], "TS_V_token": ["X86", "X86", "ISD::SHL", "MVT::i8", "ISD::MUL", "MVT::i8", "MVT::i16", "ISD::LOAD", "ISD::SIGN_EXTEND", "ISD::ZERO_EXTEND", "ISD::ANY_EXTEND", "ISD::SHL", "ISD::SRL", "ISD::SUB", "ISD::ADD", "ISD::MUL", "ISD::AND", "ISD::OR", "ISD::XOR"], "File": "X86ISelLowering (2)8", "Func": "isTypeDesirableForOp", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19739, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsRegisterInfo", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MipsFunctionInfo", "*", "MipsFI", "=", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "if", "(", "MipsFI", "->", "needGPSaveRestore", "(", ")", ")", "MFI", "->", "setObjectOffset", "(", "MipsFI", "->", "getGPFI", "(", ")", ",", "MipsFI", "->", "getGPStackOffset", "(", ")", ")", ";", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsRegisterInfo14", "Func": "processFunctionBeforeFrameFinalized", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19740, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "SICRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", ")", "const", "{", "return", "CSR_O32_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["SIC", "SIC"], "File": "SICRegisterInfo", "Func": "getCallPreservedMask", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19741, "Length": 22, "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", "=", "(", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", "->", "getStackAlignment", "(", ")", ">=", "Alignment", ")", "||", "RI", ".", "canRealignStack", "(", "MF", ")", ";", "unsigned", "Opc", "=", "getLoadRegOpcode", "(", "DestReg", ",", "RC", ",", "isAligned", ",", "Subtarget", ")", ";", "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": "X86InstrInfo142", "Func": "loadRegFromStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19742, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mmix_output_register_setting", "(", "FILE", "*", "stream", ",", "int", "regno", ",", "HOST_WIDEST_INT", "value", ",", "int", "do_begin_end", ")", "{", "if", "(", "do_begin_end", ")", "fprintf", "(", "stream", ",", "\"\\t\"", ")", ";", "if", "(", "mmix_shiftable_wyde_value", "(", "(", "unsigned", "HOST_WIDEST_INT", ")", "value", ")", ")", "{", "mmix_output_shiftvalue_op_from_str", "(", "stream", ",", "\"SET\"", ",", "(", "unsigned", "HOST_WIDEST_INT", ")", "value", ")", ";", "fprintf", "(", "stream", ",", "\" %s,\"", ",", "reg_names", "[", "regno", "]", ")", ";", "mmix_output_shifted_value", "(", "stream", ",", "(", "unsigned", "HOST_WIDEST_INT", ")", "value", ")", ";", "}", "else", "if", "(", "mmix_shiftable_wyde_value", "(", "-", "(", "unsigned", "HOST_WIDEST_INT", ")", "value", ")", ")", "{", "mmix_output_shiftvalue_op_from_str", "(", "stream", ",", "\"SET\"", ",", "-", "(", "unsigned", "HOST_WIDEST_INT", ")", "value", ")", ";", "fprintf", "(", "stream", ",", "\" %s,\"", ",", "reg_names", "[", "regno", "]", ")", ";", "mmix_output_shifted_value", "(", "stream", ",", "-", "(", "unsigned", "HOST_WIDEST_INT", ")", "value", ")", ";", "fprintf", "(", "stream", ",", "\"\\n\\tNEGU %s,0,%s\"", ",", "reg_names", "[", "regno", "]", ",", "reg_names", "[", "regno", "]", ")", ";", "}", "else", "if", "(", "mmix_shiftable_wyde_value", "(", "~", "(", "unsigned", "HOST_WIDEST_INT", ")", "value", ")", ")", "{", "mmix_output_shiftvalue_op_from_str", "(", "stream", ",", "\"SET\"", ",", "~", "(", "unsigned", "HOST_WIDEST_INT", ")", "value", ")", ";", "fprintf", "(", "stream", ",", "\" %s,\"", ",", "reg_names", "[", "regno", "]", ")", ";", "mmix_output_shifted_value", "(", "stream", ",", "~", "(", "unsigned", "HOST_WIDEST_INT", ")", "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", ";", "HOST_WIDEST_INT", "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\"", "\"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": "mmix3", "Func": "mmix_output_register_setting", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19743, "Length": 413, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "hasReassociableOperands", "(", "const", "MachineInstr", "&", "Inst", ",", "const", "MachineBasicBlock", "*", "MBB", ")", "{", "assert", "(", "(", "Inst", ".", "getNumOperands", "(", ")", "==", "3", "||", "Inst", ".", "getNumOperands", "(", ")", "==", "4", ")", "&&", "\"Reassociation needs binary operators\"", ")", ";", "const", "MachineOperand", "&", "Op1", "=", "Inst", ".", "getOperand", "(", "1", ")", ";", "const", "MachineOperand", "&", "Op2", "=", "Inst", ".", "getOperand", "(", "2", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MBB", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "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", ";", "}", "MachineInstr", "*", "MI1", "=", "nullptr", ";", "MachineInstr", "*", "MI2", "=", "nullptr", ";", "if", "(", "Op1", ".", "isReg", "(", ")", "&&", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "Op1", ".", "getReg", "(", ")", ")", ")", "MI1", "=", "MRI", ".", "getUniqueVRegDef", "(", "Op1", ".", "getReg", "(", ")", ")", ";", "if", "(", "Op2", ".", "isReg", "(", ")", "&&", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "Op2", ".", "getReg", "(", ")", ")", ")", "MI2", "=", "MRI", ".", "getUniqueVRegDef", "(", "Op2", ".", "getReg", "(", ")", ")", ";", "if", "(", "MI1", "&&", "MI2", "&&", "MI1", "->", "getParent", "(", ")", "==", "MBB", "&&", "MI2", "->", "getParent", "(", ")", "==", "MBB", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "when", "\\P", "Inst", "has", "reassociable", "operands", "in", "the", "same", "\\P", "MBB", "."], "TS_V_token": ["X86", "3", "4", "\"Reassociation needs binary operators\"", "1", "2", "4", "3", "3", "X86::EFLAGS", "\"Unexpected operand in reassociable instruction\"", "3"], "File": "X86InstrInfo123", "Func": "hasReassociableOperands", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19744, "Length": 242, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "IsDesirableToPromoteOp", "(", "SDValue", "Op", ",", "EVT", "&", "PVT", ")", "const", "{", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "if", "(", "VT", "!=", "MVT", "::", "i16", ")", "return", "false", ";", "bool", "Promote", "=", "false", ";", "bool", "Commute", "=", "false", ";", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "case", "ISD", "::", "ZERO_EXTEND", ":", "case", "ISD", "::", "ANY_EXTEND", ":", "Promote", "=", "true", ";", "break", ";", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRL", ":", "{", "SDValue", "N0", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "if", "(", "MayFoldLoad", "(", "N0", ")", "&&", "MayFoldIntoStore", "(", "Op", ")", ")", "return", "false", ";", "Promote", "=", "true", ";", "break", ";", "}", "case", "ISD", "::", "ADD", ":", "case", "ISD", "::", "MUL", ":", "case", "ISD", "::", "AND", ":", "case", "ISD", "::", "OR", ":", "case", "ISD", "::", "XOR", ":", "Commute", "=", "true", ";", "case", "ISD", "::", "SUB", ":", "{", "SDValue", "N0", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "SDValue", "N1", "=", "Op", ".", "getOperand", "(", "1", ")", ";", "if", "(", "!", "Commute", "&&", "MayFoldLoad", "(", "N1", ")", ")", "return", "false", ";", "if", "(", "MayFoldLoad", "(", "N0", ")", "&&", "(", "!", "isa", "<", "ConstantSDNode", ">", "(", "N1", ")", "||", "MayFoldIntoStore", "(", "Op", ")", ")", ")", "return", "false", ";", "if", "(", "MayFoldLoad", "(", "N1", ")", "&&", "(", "!", "isa", "<", "ConstantSDNode", ">", "(", "N0", ")", "||", "MayFoldIntoStore", "(", "Op", ")", ")", ")", "return", "false", ";", "Promote", "=", "true", ";", "}", "}", "PVT", "=", "MVT", "::", "i32", ";", "return", "Promote", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "has", "native", "support", "for", "the", "specified", "value", "type", "and", "it", "is", "'desirable", "'", "to", "use", "the", "type", "."], "TS_V_token": ["X86", "X86", "MVT::i16", "ISD::SIGN_EXTEND", "ISD::ZERO_EXTEND", "ISD::ANY_EXTEND", "ISD::SHL", "ISD::SRL", "0", "ISD::ADD", "ISD::MUL", "ISD::AND", "ISD::OR", "ISD::XOR", "ISD::SUB", "0", "1", "MVT::i32"], "File": "X86ISelLowering (3)", "Func": "IsDesirableToPromoteOp", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19745, "Length": 257, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasReservedCallFrame", "(", "const", "MachineFunction", "&", "MF", ")", "const", "override", "{", "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": ["VE"], "File": "VEFrameLowering", "Func": "hasReservedCallFrame", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19746, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSection", "*", "X86WindowsTargetObjectFile", "::", "getSectionForConstant", "(", "const", "DataLayout", "&", "DL", ",", "SectionKind", "Kind", ",", "const", "Constant", "*", "C", ",", "unsigned", "&", "Align", ")", "const", "{", "if", "(", "Kind", ".", "isMergeableConst", "(", ")", "&&", "C", ")", "{", "const", "unsigned", "Characteristics", "=", "COFF", "::", "IMAGE_SCN_CNT_INITIALIZED_DATA", "|", "COFF", "::", "IMAGE_SCN_MEM_READ", "|", "COFF", "::", "IMAGE_SCN_LNK_COMDAT", ";", "std", "::", "string", "COMDATSymName", ";", "if", "(", "Kind", ".", "isMergeableConst4", "(", ")", ")", "{", "if", "(", "Align", "<=", "4", ")", "{", "COMDATSymName", "=", "\"__real@\"", "+", "scalarConstantToHexString", "(", "C", ")", ";", "Align", "=", "4", ";", "}", "}", "else", "if", "(", "Kind", ".", "isMergeableConst8", "(", ")", ")", "{", "if", "(", "Align", "<=", "8", ")", "{", "COMDATSymName", "=", "\"__real@\"", "+", "scalarConstantToHexString", "(", "C", ")", ";", "Align", "=", "8", ";", "}", "}", "else", "if", "(", "Kind", ".", "isMergeableConst16", "(", ")", ")", "{", "if", "(", "Align", "<=", "16", ")", "{", "COMDATSymName", "=", "\"__xmm@\"", "+", "scalarConstantToHexString", "(", "C", ")", ";", "Align", "=", "16", ";", "}", "}", "else", "if", "(", "Kind", ".", "isMergeableConst32", "(", ")", ")", "{", "if", "(", "Align", "<=", "32", ")", "{", "COMDATSymName", "=", "\"__ymm@\"", "+", "scalarConstantToHexString", "(", "C", ")", ";", "Align", "=", "32", ";", "}", "}", "if", "(", "!", "COMDATSymName", ".", "empty", "(", ")", ")", "return", "getContext", "(", ")", ".", "getCOFFSection", "(", "\".rdata\"", ",", "Characteristics", ",", "Kind", ",", "COMDATSymName", ",", "COFF", "::", "IMAGE_COMDAT_SELECT_ANY", ")", ";", "}", "return", "TargetLoweringObjectFile", "::", "getSectionForConstant", "(", "DL", ",", "Kind", ",", "C", ",", "Align", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constant", "with", "the", "SectionKind", ",", "return", "a", "section", "that", "it", "should", "be", "placed", "in", "."], "TS_V_token": ["X86", "X86", "4", "\"__real@\"", "4", "8", "\"__real@\"", "8", "16", "\"__xmm@\"", "16", "32", "\"__ymm@\"", "32", "\".rdata\""], "File": "X86TargetObjectFile17", "Func": "getSectionForConstant", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19747, "Length": 229, "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", "(", "*", "cmpgt", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "rtx", "tmp", ",", "dest", ",", "zero", ";", "switch", "(", "imode", ")", "{", "case", "V8QImode", ":", "if", "(", "high_p", ")", "unpack", "=", "gen_loongson_punpckhbh", ";", "else", "unpack", "=", "gen_loongson_punpcklbh", ";", "cmpgt", "=", "gen_loongson_pcmpgtb", ";", "break", ";", "case", "V4HImode", ":", "if", "(", "high_p", ")", "unpack", "=", "gen_loongson_punpckhhw", ";", "else", "unpack", "=", "gen_loongson_punpcklhw", ";", "cmpgt", "=", "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", "(", "cmpgt", "(", "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"], "File": "mips4", "Func": "mips_expand_vec_unpack", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19748, "Length": 205, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86TargetLowering", "::", "LowerOperationWrapper", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDValue", "Res", "=", "LowerOperation", "(", "SDValue", "(", "N", ",", "0", ")", ",", "DAG", ")", ";", "if", "(", "!", "Res", ".", "getNode", "(", ")", ")", "return", ";", "assert", "(", "(", "N", "->", "getNumValues", "(", ")", "<=", "Res", "->", "getNumValues", "(", ")", ")", "&&", "\"Lowering returned the wrong number of results!\"", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "N", "->", "getNumValues", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Results", ".", "push_back", "(", "Res", ".", "getValue", "(", "I", ")", ")", ";", "}", ""], "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": ["X86", "X86", "0", "\"Lowering returned the wrong number of results!\"", "0"], "File": "X86ISelLowering (2)8", "Func": "LowerOperationWrapper", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19749, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "VETargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "VEPassConfig", "(", "*", "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": ["VE", "VE", "VE"], "File": "VETargetMachine", "Func": "createPassConfig", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19750, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "machine_mode", "arm_select_dominance_cc_mode", "(", "rtx", "x", ",", "rtx", "y", ",", "HOST_WIDE_INT", "cond_or", ")", "{", "enum", "rtx_code", "cond1", ",", "cond2", ";", "int", "swapped", "=", "0", ";", "if", "(", "(", "arm_select_cc_mode", "(", "cond1", "=", "GET_CODE", "(", "x", ")", ",", "XEXP", "(", "x", ",", "0", ")", ",", "XEXP", "(", "x", ",", "1", ")", ")", "!=", "CCmode", ")", "||", "(", "arm_select_cc_mode", "(", "cond2", "=", "GET_CODE", "(", "y", ")", ",", "XEXP", "(", "y", ",", "0", ")", ",", "XEXP", "(", "y", ",", "1", ")", ")", "!=", "CCmode", ")", ")", "return", "CCmode", ";", "if", "(", "cond_or", "==", "DOM_CC_NX_OR_Y", ")", "cond1", "=", "reverse_condition", "(", "cond1", ")", ";", "if", "(", "cond1", "!=", "cond2", "&&", "!", "comparison_dominates_p", "(", "cond1", ",", "cond2", ")", "&&", "(", "swapped", "=", "1", ",", "!", "comparison_dominates_p", "(", "cond2", ",", "cond1", ")", ")", ")", "return", "CCmode", ";", "if", "(", "swapped", ")", "{", "enum", "rtx_code", "temp", "=", "cond1", ";", "cond1", "=", "cond2", ";", "cond2", "=", "temp", ";", "}", "switch", "(", "cond1", ")", "{", "case", "EQ", ":", "if", "(", "cond_or", "==", "DOM_CC_X_AND_Y", ")", "return", "CC_DEQmode", ";", "switch", "(", "cond2", ")", "{", "case", "EQ", ":", "return", "CC_DEQmode", ";", "case", "LE", ":", "return", "CC_DLEmode", ";", "case", "LEU", ":", "return", "CC_DLEUmode", ";", "case", "GE", ":", "return", "CC_DGEmode", ";", "case", "GEU", ":", "return", "CC_DGEUmode", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "case", "LT", ":", "if", "(", "cond_or", "==", "DOM_CC_X_AND_Y", ")", "return", "CC_DLTmode", ";", "switch", "(", "cond2", ")", "{", "case", "LT", ":", "return", "CC_DLTmode", ";", "case", "LE", ":", "return", "CC_DLEmode", ";", "case", "NE", ":", "return", "CC_DNEmode", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "case", "GT", ":", "if", "(", "cond_or", "==", "DOM_CC_X_AND_Y", ")", "return", "CC_DGTmode", ";", "switch", "(", "cond2", ")", "{", "case", "GT", ":", "return", "CC_DGTmode", ";", "case", "GE", ":", "return", "CC_DGEmode", ";", "case", "NE", ":", "return", "CC_DNEmode", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "case", "LTU", ":", "if", "(", "cond_or", "==", "DOM_CC_X_AND_Y", ")", "return", "CC_DLTUmode", ";", "switch", "(", "cond2", ")", "{", "case", "LTU", ":", "return", "CC_DLTUmode", ";", "case", "LEU", ":", "return", "CC_DLEUmode", ";", "case", "NE", ":", "return", "CC_DNEmode", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "case", "GTU", ":", "if", "(", "cond_or", "==", "DOM_CC_X_AND_Y", ")", "return", "CC_DGTUmode", ";", "switch", "(", "cond2", ")", "{", "case", "GTU", ":", "return", "CC_DGTUmode", ";", "case", "GEU", ":", "return", "CC_DGEUmode", ";", "case", "NE", ":", "return", "CC_DNEmode", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "case", "NE", ":", "gcc_assert", "(", "cond1", "==", "cond2", ")", ";", "return", "CC_DNEmode", ";", "case", "LE", ":", "gcc_assert", "(", "cond1", "==", "cond2", ")", ";", "return", "CC_DLEmode", ";", "case", "GE", ":", "gcc_assert", "(", "cond1", "==", "cond2", ")", ";", "return", "CC_DGEmode", ";", "case", "LEU", ":", "gcc_assert", "(", "cond1", "==", "cond2", ")", ";", "return", "CC_DLEUmode", ";", "case", "GEU", ":", "gcc_assert", "(", "cond1", "==", "cond2", ")", ";", "return", "CC_DGEUmode", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Select", "a", "dominance", "comparison", "mode", "if", "possible", "for", "a", "test", "of", "the", "general", "form", "(", "OP", "(", "COND_OR", "(", "X", ")", "(", "Y", ")", ")", "(", "const_int", "0", ")", ")", ".", "We", "support", "three", "forms", ".", "COND_OR", "==", "DOM_CC_X_AND_Y", "=", ">", "(", "X", "&", "&", "Y", ")", "COND_OR", "==", "DOM_CC_NX_OR_Y", "=", ">", "(", "(", "!", "X", ")", "||", "Y", ")", "COND_OR", "==", "DOM_CC_X_OR_Y", "=", ">", "(", "X", "||", "Y", ")", "In", "all", "cases", "OP", "will", "be", "either", "EQ", "or", "NE", ",", "but", "we", "do", "n't", "need", "to", "know", "which", "here", ".", "If", "we", "are", "unable", "to", "support", "a", "dominance", "comparison", "we", "return", "CC", "mode", ".", "This", "will", "then", "fail", "to", "match", "for", "the", "RTL", "expressions", "that", "generate", "this", "call", "."], "TS_V_token": ["arm", "0", "0", "1", "0", "1", "1"], "File": "arm3", "Func": "arm_select_dominance_cc_mode", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19751, "Length": 450, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_mode_needed", "(", "int", "entity", ",", "rtx_insn", "*", "insn", ")", "{", "switch", "(", "entity", ")", "{", "case", "X86_DIRFLAG", ":", "return", "ix86_dirflag_mode_needed", "(", "insn", ")", ";", "case", "AVX_U128", ":", "return", "ix86_avx_u128_mode_needed", "(", "insn", ")", ";", "case", "I387_ROUNDEVEN", ":", "case", "I387_TRUNC", ":", "case", "I387_FLOOR", ":", "case", "I387_CEIL", ":", "return", "ix86_i387_mode_needed", "(", "entity", ",", "insn", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "needed", "mode", "for", "entity", "in", "optimize_mode_switching", "pass", "."], "TS_V_token": ["i386", "0"], "File": "i386", "Func": "ix86_mode_needed", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19752, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "override", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "ARM64", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_arm64_pcrel_adr_imm21\"", ",", "0", ",", "32", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_arm64_pcrel_adrp_imm21\"", ",", "0", ",", "32", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_arm64_add_imm12\"", ",", "10", ",", "12", ",", "0", "}", ",", "{", "\"fixup_arm64_ldst_imm12_scale1\"", ",", "10", ",", "12", ",", "0", "}", ",", "{", "\"fixup_arm64_ldst_imm12_scale2\"", ",", "10", ",", "12", ",", "0", "}", ",", "{", "\"fixup_arm64_ldst_imm12_scale4\"", ",", "10", ",", "12", ",", "0", "}", ",", "{", "\"fixup_arm64_ldst_imm12_scale8\"", ",", "10", ",", "12", ",", "0", "}", ",", "{", "\"fixup_arm64_ldst_imm12_scale16\"", ",", "10", ",", "12", ",", "0", "}", ",", "{", "\"fixup_arm64_ldr_pcrel_imm19\"", ",", "5", ",", "19", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_arm64_movw\"", ",", "5", ",", "16", ",", "0", "}", ",", "{", "\"fixup_arm64_pcrel_branch14\"", ",", "5", ",", "14", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_arm64_pcrel_branch19\"", ",", "5", ",", "19", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_arm64_pcrel_branch26\"", ",", "0", ",", "26", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_arm64_pcrel_call26\"", ",", "0", ",", "26", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_arm64_tlsdesc_call\"", ",", "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": ["ARM64", "ARM64::NumTargetFixupKinds", "\"fixup_arm64_pcrel_adr_imm21\"", "0", "32", "\"fixup_arm64_pcrel_adrp_imm21\"", "0", "32", "\"fixup_arm64_add_imm12\"", "10", "12", "0", "\"fixup_arm64_ldst_imm12_scale1\"", "10", "12", "0", "\"fixup_arm64_ldst_imm12_scale2\"", "10", "12", "0", "\"fixup_arm64_ldst_imm12_scale4\"", "10", "12", "0", "\"fixup_arm64_ldst_imm12_scale8\"", "10", "12", "0", "\"fixup_arm64_ldst_imm12_scale16\"", "10", "12", "0", "\"fixup_arm64_ldr_pcrel_imm19\"", "5", "19", "\"fixup_arm64_movw\"", "5", "16", "0", "\"fixup_arm64_pcrel_branch14\"", "5", "14", "\"fixup_arm64_pcrel_branch19\"", "5", "19", "\"fixup_arm64_pcrel_branch26\"", "0", "26", "\"fixup_arm64_pcrel_call26\"", "0", "26", "\"fixup_arm64_tlsdesc_call\"", "0", "0", "0", "\"Invalid kind!\""], "File": "ARM64AsmBackend1", "Func": "getFixupKindInfo", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19753, "Length": 212, "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", "LblOperand", "=", "Inst", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "Bcc", "?", "1", ":", "0", ";", "if", "(", "Info", "->", "get", "(", "Inst", ".", "getOpcode", "(", ")", ")", ".", "OpInfo", "[", "LblOperand", "]", ".", "OperandType", "!=", "MCOI", "::", "OPERAND_PCREL", ")", "return", "false", ";", "int64_t", "Imm", "=", "Inst", ".", "getOperand", "(", "LblOperand", ")", ".", "getImm", "(", ")", ";", "Target", "=", "Addr", "+", "Imm", ";", "return", "true", ";", "}", ""], "natrual_language": ["Given", "a", "branch", "instruction", "try", "to", "get", "the", "address", "the", "branch", "targets", "."], "TS_V_token": ["AArch64", "AArch64::Bcc", "1", "0"], "File": "AArch64MCTargetDesc26", "Func": "evaluateBranch", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19754, "Length": 89, "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", "||", "!", "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": "sparc4", "Func": "eligible_for_call_delay", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19755, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcTargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "APInt", "&", "KnownZero", ",", "APInt", "&", "KnownOne", ",", "const", "APInt", "&", "DemandedElts", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "APInt", "KnownZero2", ",", "KnownOne2", ";", "KnownZero", "=", "KnownOne", "=", "APInt", "(", "KnownZero", ".", "getBitWidth", "(", ")", ",", "0", ")", ";", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "SPISD", "::", "SELECT_ICC", ":", "case", "SPISD", "::", "SELECT_XCC", ":", "case", "SPISD", "::", "SELECT_FCC", ":", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "1", ")", ",", "KnownZero", ",", "KnownOne", ",", "Depth", "+", "1", ")", ";", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "0", ")", ",", "KnownZero2", ",", "KnownOne2", ",", "Depth", "+", "1", ")", ";", "KnownOne", "&=", "KnownOne2", ";", "KnownZero", "&=", "KnownZero2", ";", "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", "0", "SPISD::SELECT_ICC", "SPISD::SELECT_XCC", "SPISD::SELECT_FCC", "1", "1", "0", "1"], "File": "SparcISelLowering31", "Func": "computeKnownBitsForTargetNode", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19756, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "current_file_function_operand", "(", "rtx", "sym_ref", ")", "{", "if", "(", "ENCODED_SHORT_CALL_ATTR_P", "(", "XSTR", "(", "sym_ref", ",", "0", ")", ")", ")", "return", "1", ";", "if", "(", "sym_ref", "==", "XEXP", "(", "DECL_RTL", "(", "current_function_decl", ")", ",", "0", ")", "&&", "!", "DECL_WEAK", "(", "current_function_decl", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "1", "if", "the", "operand", "is", "a", "SYMBOL_REF", "for", "a", "function", "known", "to", "be", "in", "this", "file", "and", "the", "function", "is", "not", "weakly", "defined", "."], "TS_V_token": ["arm", "0", "1", "0", "1", "0"], "File": "arm3", "Func": "current_file_function_operand", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19757, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "LLT", "getStackValueStoreType", "(", "const", "DataLayout", "&", "DL", ",", "const", "CCValAssign", "&", "VA", ",", "ISD", "::", "ArgFlagsTy", "Flags", ")", "const", "override", "{", "if", "(", "Flags", ".", "isPointer", "(", ")", ")", "return", "CallLowering", "::", "ValueHandler", "::", "getStackValueStoreType", "(", "DL", ",", "VA", ",", "Flags", ")", ";", "return", "getStackValueStoreTypeHack", "(", "VA", ")", ";", "}", ""], "natrual_language": ["Return", "the", "in-memory", "size", "to", "write", "for", "the", "argument", "at", "VA", "."], "TS_V_token": ["AArch64", "ISD::ArgFlagsTy"], "File": "AArch64CallLowering13", "Func": "getStackValueStoreType", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19758, "Length": 50, "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", "(", ")", ";", "unsigned", "Offset", "=", "getTargetMachine", "(", ")", ".", "Options", ".", "StackProtectorGuardOffset", ";", "if", "(", "Offset", "==", "(", "unsigned", ")", "-", "1", ")", "Offset", "=", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "?", "0x28", ":", "0x14", ";", "const", "auto", "&", "GuardReg", "=", "getTargetMachine", "(", ")", ".", "Options", ".", "StackProtectorGuardReg", ";", "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", "1", "0x28", "0x14", "\"fs\"", "X86AS::FS", "\"gs\"", "X86AS::GS"], "File": "X86ISelLowering101", "Func": "getIRStackGuard", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19759, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "i960_build_va_list", "(", ")", "{", "return", "build_array_type", "(", "unsigned_type_node", ",", "build_index_type", "(", "size_one_node", ")", ")", ";", "}", ""], "natrual_language": ["Define", "the", "`", "__builtin_va_list", "'", "type", "for", "the", "ABI", "."], "TS_V_token": ["i960"], "File": "i960", "Func": "i960_build_va_list", "Target": "i960", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19760, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64InstrInfo", "::", "isGPRCopy", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "TargetOpcode", "::", "COPY", ":", "{", "unsigned", "DstReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "return", "(", "ARM64", "::", "GPR32RegClass", ".", "contains", "(", "DstReg", ")", "||", "ARM64", "::", "GPR64RegClass", ".", "contains", "(", "DstReg", ")", ")", ";", "}", "case", "ARM64", "::", "ORRXrs", ":", "if", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "ARM64", "::", "XZR", ")", "{", "assert", "(", "MI", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", "==", "4", "&&", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "==", "0", "&&", "\"invalid ORRrs operands\"", ")", ";", "return", "true", ";", "}", "case", "ARM64", "::", "ADDXri", ":", "if", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "0", ")", "{", "assert", "(", "MI", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", "==", "4", "&&", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "==", "0", "&&", "\"invalid ADDXri operands\"", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Does", "this", "instruction", "rename", "a", "GPR", "without", "modifying", "bits", "?"], "TS_V_token": ["ARM64", "ARM64", "0", "ARM64::GPR32RegClass", "ARM64::GPR64RegClass", "ARM64::ORRXrs", "1", "ARM64::XZR", "4", "3", "0", "\"invalid ORRrs operands\"", "ARM64::ADDXri", "2", "0", "4", "3", "0", "\"invalid ADDXri operands\""], "File": "ARM64InstrInfo", "Func": "isGPRCopy", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19761, "Length": 184, "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": ["LC2200"], "File": "LC2200AsmParser", "Func": "isImm", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19762, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZLDCleanup", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "*", "F", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "TII", "=", "static_cast", "<", "const", "SystemZInstrInfo", "*", ">", "(", "F", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MF", "=", "&", "F", ";", "SystemZMachineFunctionInfo", "*", "MFI", "=", "F", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "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": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "2", "0"], "File": "SystemZLDCleanup (2)1", "Func": "runOnMachineFunction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19763, "Length": 103, "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_ZEXTLOAD", ":", "case", "G_SEXTLOAD", ":", "case", "G_GEP", ":", "case", "G_AND", ":", "case", "G_OR", ":", "case", "G_XOR", ":", "case", "G_SHL", ":", "case", "G_ASHR", ":", "case", "G_LSHR", ":", "case", "G_SDIV", ":", "case", "G_UDIV", ":", "case", "G_SREM", ":", "case", "G_UREM", ":", "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", ";", "case", "G_SELECT", ":", "OperandsMapping", "=", "getOperandsMapping", "(", "{", "&", "Mips", "::", "ValueMappings", "[", "Mips", "::", "GPRIdx", "]", ",", "&", "Mips", "::", "ValueMappings", "[", "Mips", "::", "GPRIdx", "]", ",", "&", "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", "Mips::ValueMappings", "Mips::GPRIdx", "Mips::ValueMappings", "Mips::GPRIdx", "Mips::ValueMappings", "Mips::GPRIdx", "Mips::ValueMappings", "Mips::GPRIdx", "1"], "File": "MipsRegisterBankInfo12", "Func": "getInstrMapping", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19764, "Length": 290, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalMaskedScatter", "(", "Type", "*", "DataType", ",", "Align", "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": "X86TargetTransformInfo (2)1", "Func": "isLegalMaskedScatter", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19765, "Length": 34, "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": 19766, "Length": 488, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "or1k_output_mi_thunk", "(", "FILE", "*", "file", ",", "tree", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", ",", "tree", "function", ")", "{", "rtx", "this_rtx", ",", "funexp", ";", "rtx_insn", "*", "insn", ";", "reload_completed", "=", "1", ";", "epilogue_completed", "=", "1", ";", "emit_note", "(", "NOTE_INSN_PROLOGUE_END", ")", ";", "if", "(", "aggregate_value_p", "(", "TREE_TYPE", "(", "TREE_TYPE", "(", "function", ")", ")", ",", "function", ")", ")", "this_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "4", ")", ";", "else", "this_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "3", ")", ";", "if", "(", "delta", ")", "{", "rtx", "delta_rtx", "=", "GEN_INT", "(", "delta", ")", ";", "if", "(", "!", "satisfies_constraint_I", "(", "delta_rtx", ")", ")", "{", "rtx", "scratch", "=", "gen_rtx_REG", "(", "Pmode", ",", "PE_TMP_REGNUM", ")", ";", "emit_move_insn", "(", "scratch", ",", "delta_rtx", ")", ";", "delta_rtx", "=", "scratch", ";", "}", "emit_insn", "(", "gen_add2_insn", "(", "this_rtx", ",", "delta_rtx", ")", ")", ";", "}", "if", "(", "vcall_offset", ")", "{", "rtx", "scratch", "=", "gen_rtx_REG", "(", "Pmode", ",", "PE_TMP_REGNUM", ")", ";", "HOST_WIDE_INT", "lo", "=", "sext_hwi", "(", "vcall_offset", ",", "16", ")", ";", "HOST_WIDE_INT", "hi", "=", "vcall_offset", "-", "lo", ";", "rtx", "tmp", ";", "tmp", "=", "gen_rtx_MEM", "(", "Pmode", ",", "this_rtx", ")", ";", "emit_move_insn", "(", "scratch", ",", "tmp", ")", ";", "if", "(", "hi", "!=", "0", ")", "{", "rtx", "scratch2", "=", "gen_rtx_REG", "(", "Pmode", ",", "RV_REGNUM", ")", ";", "emit_move_insn", "(", "scratch2", ",", "GEN_INT", "(", "hi", ")", ")", ";", "emit_insn", "(", "gen_add2_insn", "(", "scratch", ",", "scratch2", ")", ")", ";", "}", "tmp", "=", "plus_constant", "(", "Pmode", ",", "scratch", ",", "lo", ")", ";", "tmp", "=", "gen_rtx_MEM", "(", "Pmode", ",", "tmp", ")", ";", "emit_move_insn", "(", "scratch", ",", "tmp", ")", ";", "emit_insn", "(", "gen_add2_insn", "(", "this_rtx", ",", "scratch", ")", ")", ";", "}", "if", "(", "!", "TREE_USED", "(", "function", ")", ")", "{", "assemble_external", "(", "function", ")", ";", "TREE_USED", "(", "function", ")", "=", "1", ";", "}", "funexp", "=", "XEXP", "(", "DECL_RTL", "(", "function", ")", ",", "0", ")", ";", "gcc_assert", "(", "SYMBOL_REF_LOCAL_P", "(", "funexp", ")", ")", ";", "funexp", "=", "gen_rtx_MEM", "(", "FUNCTION_MODE", ",", "funexp", ")", ";", "insn", "=", "emit_call_insn", "(", "gen_sibcall", "(", "funexp", ",", "const0_rtx", ")", ")", ";", "SIBLING_CALL_P", "(", "insn", ")", "=", "1", ";", "emit_barrier", "(", ")", ";", "insn", "=", "get_insns", "(", ")", ";", "shorten_branches", "(", "insn", ")", ";", "final_start_function", "(", "insn", ",", "file", ",", "1", ")", ";", "final", "(", "insn", ",", "file", ",", "1", ")", ";", "final_end_function", "(", ")", ";", "reload_completed", "=", "0", ";", "epilogue_completed", "=", "0", ";", "}", ""], "natrual_language": ["Worker", "for", "TARGET_ASM_OUTPUT_MI_THUNK", ".", "Output", "the", "assembler", "code", "for", "a", "thunk", "function", ".", "THUNK_DECL", "is", "the", "declaration", "for", "the", "thunk", "function", "itself", ",", "FUNCTION", "is", "the", "decl", "for", "the", "target", "function", ".", "DELTA", "is", "an", "immediate", "constant", "offset", "to", "be", "added", "to", "THIS", ".", "If", "VCALL_OFFSET", "is", "nonzero", ",", "the", "word", "at", "address", "(", "*", "THIS", "+", "VCALL_OFFSET", ")", "should", "be", "additionally", "added", "to", "THIS", "."], "TS_V_token": ["or1k", "1", "1", "4", "3", "16", "0", "1", "0", "1", "1", "1", "0", "0"], "File": "or1k2", "Func": "or1k_output_mi_thunk", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19767, "Length": 374, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCLinuxAsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "const", "DataLayout", "&", "DL", "=", "getDataLayout", "(", ")", ";", "bool", "isPPC64", "=", "DL", ".", "getPointerSizeInBits", "(", ")", "==", "64", ";", "PPCTargetStreamer", "&", "TS", "=", "static_cast", "<", "PPCTargetStreamer", "&", ">", "(", "*", "OutStreamer", "->", "getTargetStreamer", "(", ")", ")", ";", "if", "(", "!", "TOC", ".", "empty", "(", ")", ")", "{", "MCSectionELF", "*", "Section", ";", "if", "(", "isPPC64", ")", "Section", "=", "OutStreamer", "->", "getContext", "(", ")", ".", "getELFSection", "(", "\".toc\"", ",", "ELF", "::", "SHT_PROGBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ")", ";", "else", "Section", "=", "OutStreamer", "->", "getContext", "(", ")", ".", "getELFSection", "(", "\".got2\"", ",", "ELF", "::", "SHT_PROGBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "Section", ")", ";", "for", "(", "const", "auto", "&", "TOCMapPair", ":", "TOC", ")", "{", "const", "MCSymbol", "*", "const", "TOCEntryTarget", "=", "TOCMapPair", ".", "first", ";", "MCSymbol", "*", "const", "TOCEntryLabel", "=", "TOCMapPair", ".", "second", ";", "OutStreamer", "->", "emitLabel", "(", "TOCEntryLabel", ")", ";", "if", "(", "isPPC64", ")", "{", "TS", ".", "emitTCEntry", "(", "*", "TOCEntryTarget", ")", ";", "}", "else", "{", "OutStreamer", "->", "emitValueToAlignment", "(", "4", ")", ";", "OutStreamer", "->", "emitSymbolValue", "(", "TOCEntryTarget", ",", "4", ")", ";", "}", "}", "}", "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", "PPC", "PPC", "\".toc\"", "\".got2\"", "PPC", "4", "4"], "File": "PPCAsmPrinter64", "Func": "doFinalization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19768, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "Subtarget", ".", "getFrameLowering", "(", ")", ";", "if", "(", "!", "TM", ".", "isPPC64", "(", ")", ")", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "PPC", "::", "R31", ":", "PPC", "::", "R1", ";", "else", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "PPC", "::", "X31", ":", "PPC", "::", "X1", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC::R31", "PPC::R1", "PPC::X31", "PPC::X1"], "File": "PPCRegisterInfo15", "Func": "getFrameRegister", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19769, "Length": 80, "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": 19770, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "splitFramePushPop", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", "->", "shouldSignReturnAddress", "(", ")", ")", "return", "true", ";", "return", "(", "getFramePointerReg", "(", ")", "==", "ARM", "::", "R7", "&&", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", ")", "||", "isThumb1Only", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "frame", "setup", "is", "split", "into", "two", "separate", "pushes", "(", "first", "r0-r7", ",", "lr", "then", "r8-r11", ")", ",", "principally", "so", "that", "the", "frame", "pointer", "is", "adjacent", "to", "lr", "."], "TS_V_token": ["ARM", "ARM", "ARM::R7"], "File": "ARMSubtarget118", "Func": "splitFramePushPop", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19771, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_ubranch", "(", "rtx", "dest", ",", "int", "label", ",", "rtx", "insn", ")", "{", "static", "char", "string", "[", "64", "]", ";", "bool", "v9_form", "=", "false", ";", "char", "*", "p", ";", "if", "(", "TARGET_V9", "&&", "INSN_ADDRESSES_SET_P", "(", ")", ")", "{", "int", "delta", "=", "(", "INSN_ADDRESSES", "(", "INSN_UID", "(", "dest", ")", ")", "-", "INSN_ADDRESSES", "(", "INSN_UID", "(", "insn", ")", ")", ")", ";", "if", "(", "delta", ">=", "-", "260000", "&&", "delta", "<", "260000", ")", "v9_form", "=", "true", ";", "}", "if", "(", "v9_form", ")", "strcpy", "(", "string", ",", "\"ba%*,pt\\t%%xcc, \"", ")", ";", "else", "strcpy", "(", "string", ",", "\"b%*\\t\"", ")", ";", "p", "=", "strchr", "(", "string", ",", "'\\0'", ")", ";", "*", "p", "++", "=", "'%'", ";", "*", "p", "++", "=", "'l'", ";", "*", "p", "++", "=", "'0'", "+", "label", ";", "*", "p", "++", "=", "'%'", ";", "*", "p", "++", "=", "'('", ";", "*", "p", "=", "'\\0'", ";", "return", "string", ";", "}", ""], "natrual_language": ["Output", "an", "unconditional", "branch", "to", "LABEL", ".", "INSN", "is", "the", "instruction", "."], "TS_V_token": ["sparc", "64", "260000", "260000", "\"ba%*,pt\\t%%xcc, \"", "\"b%*\\t\""], "File": "sparc3", "Func": "output_ubranch", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19772, "Length": 146, "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", "=", "(", "GET_CODE", "(", "bytes_rtx", ")", "==", "CONST_INT", ")", ";", "HOST_WIDE_INT", "align", ";", "HOST_WIDE_INT", "bytes", ";", "int", "offset", ";", "int", "clear_bytes", ";", "int", "clear_step", ";", "if", "(", "!", "constp", ")", "return", "0", ";", "gcc_assert", "(", "GET_CODE", "(", "align_rtx", ")", "==", "CONST_INT", ")", ";", "align", "=", "INTVAL", "(", "align_rtx", ")", "*", "BITS_PER_UNIT", ";", "bytes", "=", "INTVAL", "(", "bytes_rtx", ")", ";", "if", "(", "bytes", "<=", "0", ")", "return", "1", ";", "if", "(", "TARGET_ALTIVEC", "&&", "align", ">=", "128", ")", "clear_step", "=", "16", ";", "else", "if", "(", "TARGET_POWERPC64", "&&", "(", "align", ">=", "64", "||", "!", "STRICT_ALIGNMENT", ")", ")", "clear_step", "=", "8", ";", "else", "if", "(", "TARGET_SPE", "&&", "align", ">=", "64", ")", "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", ";", "for", "(", "offset", "=", "0", ";", "bytes", ">", "0", ";", "offset", "+=", "clear_bytes", ",", "bytes", "-=", "clear_bytes", ")", "{", "machine_mode", "mode", "=", "BLKmode", ";", "rtx", "dest", ";", "if", "(", "bytes", ">=", "16", "&&", "TARGET_ALTIVEC", "&&", "align", ">=", "128", ")", "{", "clear_bytes", "=", "16", ";", "mode", "=", "V4SImode", ";", "}", "else", "if", "(", "bytes", ">=", "8", "&&", "TARGET_SPE", "&&", "align", ">=", "64", ")", "{", "clear_bytes", "=", "8", ";", "mode", "=", "V2SImode", ";", "}", "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", ")", "&&", "GET_CODE", "(", "XEXP", "(", "addr", ",", "1", ")", ")", "==", "CONST_INT", "&&", "(", "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": ["powerpcspe", "0", "1", "3", "0", "0", "1", "128", "16", "64", "8", "64", "8", "4", "3", "0", "8", "0", "0", "0", "16", "128", "16", "8", "64", "8", "8", "64", "8", "0", "64", "0", "1", "1", "3", "0", "4", "32", "4", "2", "16", "2", "1", "1"], "File": "powerpcspe", "Func": "expand_block_clear", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19773, "Length": 455, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "csky_legitimate_constant_p", "(", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "return", "(", "!", "csky_cannot_force_const_mem", "(", "mode", ",", "x", ")", "&&", "CONSTANT_P", "(", "x", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LEGITIMATE_CONSTANT_P", ".", "Returns", "nonzero", "if", "the", "constant", "value", "X", "is", "a", "legitimate", "general", "operand", ".", "It", "is", "given", "that", "X", "satisfies", "CONSTANT_P", "or", "is", "a", "CONST_DOUBLE", "."], "TS_V_token": ["csky"], "File": "csky", "Func": "csky_legitimate_constant_p", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19774, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "loongarch_expand_conditional_move", "(", "rtx", "*", "operands", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "operands", "[", "1", "]", ")", ";", "rtx", "op0", "=", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ";", "rtx", "op1", "=", "XEXP", "(", "operands", "[", "1", "]", ",", "1", ")", ";", "if", "(", "FLOAT_MODE_P", "(", "GET_MODE", "(", "op1", ")", ")", ")", "loongarch_emit_float_compare", "(", "&", "code", ",", "&", "op0", ",", "&", "op1", ")", ";", "else", "{", "loongarch_extend_comparands", "(", "code", ",", "&", "op0", ",", "&", "op1", ")", ";", "op0", "=", "force_reg", "(", "word_mode", ",", "op0", ")", ";", "if", "(", "code", "==", "EQ", "||", "code", "==", "NE", ")", "{", "op0", "=", "loongarch_zero_if_equal", "(", "op0", ",", "op1", ")", ";", "op1", "=", "const0_rtx", ";", "}", "else", "{", "bool", "invert", "=", "false", ";", "rtx", "target", "=", "gen_reg_rtx", "(", "GET_MODE", "(", "op0", ")", ")", ";", "loongarch_emit_int_order_test", "(", "code", ",", "&", "invert", ",", "target", ",", "op0", ",", "op1", ")", ";", "code", "=", "invert", "?", "EQ", ":", "NE", ";", "op0", "=", "target", ";", "op1", "=", "const0_rtx", ";", "}", "}", "rtx", "cond", "=", "gen_rtx_fmt_ee", "(", "code", ",", "GET_MODE", "(", "op0", ")", ",", "op0", ",", "op1", ")", ";", "if", "(", "INTEGRAL_MODE_P", "(", "GET_MODE", "(", "operands", "[", "2", "]", ")", ")", "&&", "register_operand", "(", "operands", "[", "2", "]", ",", "VOIDmode", ")", "&&", "register_operand", "(", "operands", "[", "3", "]", ",", "VOIDmode", ")", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", ";", "rtx", "temp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rtx", "temp2", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "temp", ",", "gen_rtx_IF_THEN_ELSE", "(", "mode", ",", "cond", ",", "operands", "[", "2", "]", ",", "const0_rtx", ")", ")", ")", ";", "cond", "=", "gen_rtx_fmt_ee", "(", "(", "code", "==", "EQ", ")", "?", "NE", ":", "EQ", ",", "GET_MODE", "(", "op0", ")", ",", "op0", ",", "op1", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "temp2", ",", "gen_rtx_IF_THEN_ELSE", "(", "mode", ",", "cond", ",", "operands", "[", "3", "]", ",", "const0_rtx", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "operands", "[", "0", "]", ",", "gen_rtx_IOR", "(", "mode", ",", "temp", ",", "temp2", ")", ")", ")", ";", "}", "else", "emit_insn", "(", "gen_rtx_SET", "(", "operands", "[", "0", "]", ",", "gen_rtx_IF_THEN_ELSE", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", ",", "cond", ",", "operands", "[", "2", "]", ",", "operands", "[", "3", "]", ")", ")", ")", ";", "}", ""], "natrual_language": ["Perform", "the", "comparison", "in", "OPERANDS", "[", "1", "]", ".", "Move", "OPERANDS", "[", "2", "]", "into", "OPERANDS", "[", "0", "]", "if", "the", "condition", "holds", ",", "otherwise", "move", "OPERANDS", "[", "3", "]", "into", "OPERANDS", "[", "0", "]", "."], "TS_V_token": ["loongarch", "1", "1", "0", "1", "1", "2", "2", "3", "0", "2", "3", "0", "0", "0", "2", "3"], "File": "loongarch", "Func": "loongarch_expand_conditional_move", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19775, "Length": 368, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseTargetMachine", "::", "addPreRegAlloc", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "if", "(", "Subtarget", ".", "hasNEON", "(", ")", ")", "PM", ".", "add", "(", "createNEONPreAllocPass", "(", ")", ")", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "!", "DisableLdStOpti", "&&", "!", "Subtarget", ".", "isThumb", "(", ")", ")", "PM", ".", "add", "(", "createARMLoadStoreOptimizationPass", "(", "true", ")", ")", ";", "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"], "File": "ARMTargetMachine16", "Func": "addPreRegAlloc", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19776, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_emit_set_const64_longway", "(", "rtx", "op0", ",", "rtx", "temp", ",", "unsigned", "HOST_WIDE_INT", "high_bits", ",", "unsigned", "HOST_WIDE_INT", "low_bits", ")", "{", "rtx", "sub_temp", "=", "op0", ";", "if", "(", "can_create_pseudo_p", "(", ")", ")", "sub_temp", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "if", "(", "(", "high_bits", "&", "0xfffffc00", ")", "!=", "0", ")", "{", "emit_insn", "(", "gen_safe_HIGH64", "(", "temp", ",", "high_bits", ")", ")", ";", "if", "(", "(", "high_bits", "&", "~", "0xfffffc00", ")", "!=", "0", ")", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "sub_temp", ",", "gen_safe_OR64", "(", "temp", ",", "(", "high_bits", "&", "0x3ff", ")", ")", ")", ")", ";", "else", "sub_temp", "=", "temp", ";", "}", "else", "{", "emit_insn", "(", "gen_safe_SET64", "(", "temp", ",", "high_bits", ")", ")", ";", "sub_temp", "=", "temp", ";", "}", "if", "(", "can_create_pseudo_p", "(", ")", ")", "{", "rtx", "temp2", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "rtx", "temp3", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "rtx", "temp4", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "temp4", ",", "gen_rtx_ASHIFT", "(", "DImode", ",", "sub_temp", ",", "GEN_INT", "(", "32", ")", ")", ")", ")", ";", "emit_insn", "(", "gen_safe_HIGH64", "(", "temp2", ",", "low_bits", ")", ")", ";", "if", "(", "(", "low_bits", "&", "~", "0xfffffc00", ")", "!=", "0", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "temp3", ",", "gen_safe_OR64", "(", "temp2", ",", "(", "low_bits", "&", "0x3ff", ")", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "op0", ",", "gen_rtx_PLUS", "(", "DImode", ",", "temp4", ",", "temp3", ")", ")", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "op0", ",", "gen_rtx_PLUS", "(", "DImode", ",", "temp4", ",", "temp2", ")", ")", ")", ";", "}", "}", "else", "{", "rtx", "low1", "=", "GEN_INT", "(", "(", "low_bits", ">>", "(", "32", "-", "12", ")", ")", "&", "0xfff", ")", ";", "rtx", "low2", "=", "GEN_INT", "(", "(", "low_bits", ">>", "(", "32", "-", "12", "-", "12", ")", ")", "&", "0xfff", ")", ";", "rtx", "low3", "=", "GEN_INT", "(", "(", "low_bits", ">>", "(", "32", "-", "12", "-", "12", "-", "8", ")", ")", "&", "0x0ff", ")", ";", "int", "to_shift", "=", "12", ";", "if", "(", "low1", "!=", "const0_rtx", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "op0", ",", "gen_rtx_ASHIFT", "(", "DImode", ",", "sub_temp", ",", "GEN_INT", "(", "to_shift", ")", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "op0", ",", "gen_rtx_IOR", "(", "DImode", ",", "op0", ",", "low1", ")", ")", ")", ";", "sub_temp", "=", "op0", ";", "to_shift", "=", "12", ";", "}", "else", "{", "to_shift", "+=", "12", ";", "}", "if", "(", "low2", "!=", "const0_rtx", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "op0", ",", "gen_rtx_ASHIFT", "(", "DImode", ",", "sub_temp", ",", "GEN_INT", "(", "to_shift", ")", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "op0", ",", "gen_rtx_IOR", "(", "DImode", ",", "op0", ",", "low2", ")", ")", ")", ";", "sub_temp", "=", "op0", ";", "to_shift", "=", "8", ";", "}", "else", "{", "to_shift", "+=", "8", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "op0", ",", "gen_rtx_ASHIFT", "(", "DImode", ",", "sub_temp", ",", "GEN_INT", "(", "to_shift", ")", ")", ")", ")", ";", "if", "(", "low3", "!=", "const0_rtx", ")", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "op0", ",", "gen_rtx_IOR", "(", "DImode", ",", "op0", ",", "low3", ")", ")", ")", ";", "}", "}", ""], "natrual_language": ["Full", "64-bit", "constant", "decomposition", ".", "Even", "though", "this", "is", "the", "'worst", "'", "case", ",", "we", "still", "optimize", "a", "few", "things", "away", "."], "TS_V_token": ["sparc", "0xfffffc00", "0", "0xfffffc00", "0", "0x3ff", "32", "0xfffffc00", "0", "0x3ff", "32", "12", "0xfff", "32", "12", "12", "0xfff", "32", "12", "12", "8", "0x0ff", "12", "12", "12", "8", "8"], "File": "sparc4", "Func": "sparc_emit_set_const64_longway", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19777, "Length": 496, "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": ["rs6000", "0", "1", "0", "0", "0", "1"], "File": "rs60006", "Func": "rs6000_emit_p9_fp_minmax", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19778, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "ARMBaseRegisterInfo", "::", "getCallPreservedMask", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "if", "(", "CC", "==", "CallingConv", "::", "GHC", ")", "return", "CSR_NoRegs_RegMask", ";", "return", "(", "STI", ".", "isTargetIOS", "(", ")", "&&", "!", "STI", ".", "isAAPCS_ABI", "(", ")", ")", "?", "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"], "File": "ARMBaseRegisterInfo15", "Func": "getCallPreservedMask", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19779, "Length": 46, "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": "MipsSEFrameLowering1", "Func": "emitEpilogue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19780, "Length": 369, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsInstrInfo", "::", "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": "MipsInstrInfo11", "Func": "isStoreToStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19781, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmPrinter", "::", "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", ")", "{", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "case", "'D'", ":", "Offset", "+=", "4", ";", "break", ";", "case", "'M'", ":", "if", "(", "Subtarget", "->", "isLittle", "(", ")", ")", "Offset", "+=", "4", ";", "break", ";", "case", "'L'", ":", "if", "(", "!", "Subtarget", "->", "isLittle", "(", ")", ")", "Offset", "+=", "4", ";", "break", ";", "default", ":", "return", "true", ";", "}", "}", "O", "<<", "Offset", "<<", "\"($\"", "<<", "MipsInstPrinter", "::", "getRegisterName", "(", "BaseMO", ".", "getReg", "(", ")", ")", "<<", "\")\"", ";", "return", "false", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "."], "TS_V_token": ["Mips", "Mips", "1", "\"Insufficient operands\"", "1", "\"Unexpected base pointer for inline asm memory operand.\"", "\"Unexpected offset for inline asm memory operand.\"", "0", "4", "4", "4", "\"($\"", "Mips", "\")\""], "File": "MipsAsmPrinter25", "Func": "PrintAsmMemoryOperand", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19782, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "sh_register_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "srcclass", ",", "reg_class_t", "dstclass", ")", "{", "if", "(", "dstclass", "==", "T_REGS", "||", "dstclass", "==", "PR_REGS", ")", "return", "10", ";", "if", "(", "dstclass", "==", "MAC_REGS", "&&", "srcclass", "==", "MAC_REGS", ")", "return", "4", ";", "if", "(", "mode", "==", "SImode", "&&", "!", "TARGET_SHMEDIA", "&&", "TARGET_FMOVD", "&&", "REGCLASS_HAS_FP_REG", "(", "srcclass", ")", "&&", "REGCLASS_HAS_FP_REG", "(", "dstclass", ")", ")", "return", "4", ";", "if", "(", "REGCLASS_HAS_FP_REG", "(", "dstclass", ")", "&&", "srcclass", "==", "T_REGS", ")", "return", "(", "(", "TARGET_HARD_SH4", "&&", "!", "optimize_size", ")", "?", "10", ":", "7", ")", ";", "if", "(", "(", "REGCLASS_HAS_FP_REG", "(", "dstclass", ")", "&&", "srcclass", "==", "MAC_REGS", ")", "||", "(", "dstclass", "==", "MAC_REGS", "&&", "REGCLASS_HAS_FP_REG", "(", "srcclass", ")", ")", ")", "return", "9", ";", "if", "(", "(", "REGCLASS_HAS_FP_REG", "(", "dstclass", ")", "&&", "REGCLASS_HAS_GENERAL_REG", "(", "srcclass", ")", ")", "||", "(", "REGCLASS_HAS_GENERAL_REG", "(", "dstclass", ")", "&&", "REGCLASS_HAS_FP_REG", "(", "srcclass", ")", ")", ")", "{", "int", "addend", "=", "(", "mode", "==", "Pmode", ")", "?", "40", ":", "0", ";", "return", "(", "(", "(", "TARGET_SHMEDIA", "?", "4", ":", "TARGET_FMOVD", "?", "8", ":", "12", ")", "+", "addend", ")", "*", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "7", ")", "/", "8U", ")", ")", ";", "}", "if", "(", "(", "dstclass", "==", "FPUL_REGS", "&&", "REGCLASS_HAS_GENERAL_REG", "(", "srcclass", ")", ")", "||", "(", "srcclass", "==", "FPUL_REGS", "&&", "REGCLASS_HAS_GENERAL_REG", "(", "dstclass", ")", ")", ")", "return", "5", ";", "if", "(", "(", "dstclass", "==", "FPUL_REGS", "&&", "(", "srcclass", "==", "PR_REGS", "||", "srcclass", "==", "MAC_REGS", "||", "srcclass", "==", "T_REGS", ")", ")", "||", "(", "srcclass", "==", "FPUL_REGS", "&&", "(", "dstclass", "==", "PR_REGS", "||", "dstclass", "==", "MAC_REGS", ")", ")", ")", "return", "7", ";", "if", "(", "(", "srcclass", "==", "TARGET_REGS", "&&", "!", "REGCLASS_HAS_GENERAL_REG", "(", "dstclass", ")", ")", "||", "(", "(", "dstclass", ")", "==", "TARGET_REGS", "&&", "!", "REGCLASS_HAS_GENERAL_REG", "(", "srcclass", ")", ")", ")", "return", "20", ";", "if", "(", "TARGET_SHMEDIA", "&&", "(", "(", "srcclass", ")", "==", "TARGET_REGS", "||", "(", "srcclass", ")", "==", "SIBCALL_REGS", ")", ")", "{", "if", "(", "sh_gettrcost", ">=", "0", ")", "return", "sh_gettrcost", ";", "else", "if", "(", "!", "TARGET_PT_FIXED", ")", "return", "100", ";", "}", "if", "(", "(", "srcclass", "==", "FPSCR_REGS", "&&", "!", "REGCLASS_HAS_GENERAL_REG", "(", "dstclass", ")", ")", "||", "(", "dstclass", "==", "FPSCR_REGS", "&&", "!", "REGCLASS_HAS_GENERAL_REG", "(", "srcclass", ")", ")", ")", "return", "4", ";", "if", "(", "TARGET_SHMEDIA", "||", "(", "TARGET_FMOVD", "&&", "!", "REGCLASS_HAS_GENERAL_REG", "(", "srcclass", ")", "&&", "!", "REGCLASS_HAS_GENERAL_REG", "(", "dstclass", ")", ")", ")", "return", "2", "*", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "7", ")", "/", "8U", ")", ";", "return", "2", "*", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "3", ")", "/", "4U", ")", ";", "}", ""], "natrual_language": ["If", "SECONDARY", "*", "_RELOAD_CLASS", "says", "something", "about", "the", "src/dst", "pair", ",", "regclass", "uses", "this", "information", ".", "Hence", ",", "the", "general", "register", "<", "-", ">", "floating", "point", "register", "information", "here", "is", "not", "used", "for", "SFmode", "."], "TS_V_token": ["sh", "10", "4", "4", "10", "7", "9", "40", "0", "4", "8", "12", "7", "8U", "5", "7", "20", "0", "100", "4", "2", "7", "8U", "2", "3", "4U"], "File": "sh4", "Func": "sh_register_move_cost", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19783, "Length": 408, "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": 19784, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86WinCOFFStreamer", "::", "finishImpl", "(", ")", "{", "emitFrames", "(", "nullptr", ")", ";", "EmitWindowsUnwindTables", "(", ")", ";", "MCWinCOFFStreamer", "::", "finishImpl", "(", ")", ";", "}", ""], "natrual_language": ["Streamer", "specific", "finalization", "."], "TS_V_token": ["X86", "X86"], "File": "X86WinCOFFStreamer1", "Func": "finishImpl", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19785, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseInstrInfo", "::", "getPartialRegUpdateClearance", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "OpNum", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "auto", "PartialUpdateClearance", "=", "Subtarget", ".", "getPartialUpdateClearance", "(", ")", ";", "if", "(", "!", "PartialUpdateClearance", ")", "return", "0", ";", "assert", "(", "TRI", "&&", "\"Need TRI instance\"", ")", ";", "const", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNum", ")", ";", "if", "(", "MO", ".", "readsReg", "(", ")", ")", "return", "0", ";", "Register", "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", "=", "3", ";", "break", ";", "default", ":", "return", "0", ";", "}", "if", "(", "UseOp", "!=", "-", "1", "&&", "MI", ".", "getOperand", "(", "UseOp", ")", ".", "readsReg", "(", ")", ")", "return", "0", ";", "if", "(", "Register", "::", "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", "PartialUpdateClearance", ";", "}", ""], "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", "3", "0", "1", "0", "0", "ARM::SPRRegClass", "ARM::ssub_0", "ARM::DPRRegClass", "0"], "File": "ARMBaseInstrInfo110", "Func": "getPartialRegUpdateClearance", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19786, "Length": 269, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_cannot_change_mode_class", "(", "enum", "machine_mode", "from", ",", "enum", "machine_mode", "to", ",", "enum", "reg_class", "class", ")", "{", "if", "(", "MIN", "(", "GET_MODE_SIZE", "(", "from", ")", ",", "GET_MODE_SIZE", "(", "to", ")", ")", "<=", "UNITS_PER_WORD", "&&", "MAX", "(", "GET_MODE_SIZE", "(", "from", ")", ",", "GET_MODE_SIZE", "(", "to", ")", ")", ">", "UNITS_PER_WORD", ")", "{", "if", "(", "TARGET_BIG_ENDIAN", ")", "{", "if", "(", "FP_INC", ">", "1", "&&", "reg_classes_intersect_p", "(", "FP_REGS", ",", "class", ")", ")", "return", "true", ";", "}", "else", "{", "if", "(", "reg_classes_intersect_p", "(", "ACC_REGS", ",", "class", ")", ")", "return", "true", ";", "}", "}", "if", "(", "TARGET_FLOAT64", "&&", "from", "==", "SImode", "&&", "GET_MODE_SIZE", "(", "to", ")", ">=", "UNITS_PER_WORD", "&&", "reg_classes_intersect_p", "(", "FP_REGS", ",", "class", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "CANNOT_CHANGE_MODE_CLASS", "."], "TS_V_token": ["mips", "1"], "File": "mips3", "Func": "mips_cannot_change_mode_class", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19787, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FastISel", "::", "tryToFoldLoadIntoMI", "(", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "LoadInst", "*", "LI", ")", "{", "const", "Value", "*", "Ptr", "=", "LI", "->", "getPointerOperand", "(", ")", ";", "X86AddressMode", "AM", ";", "if", "(", "!", "X86SelectAddress", "(", "Ptr", ",", "AM", ")", ")", "return", "false", ";", "const", "X86InstrInfo", "&", "XII", "=", "(", "const", "X86InstrInfo", "&", ")", "TII", ";", "unsigned", "Size", "=", "DL", ".", "getTypeAllocSize", "(", "LI", "->", "getType", "(", ")", ")", ";", "SmallVector", "<", "MachineOperand", ",", "8", ">", "AddrOps", ";", "AM", ".", "getFullAddress", "(", "AddrOps", ")", ";", "MachineInstr", "*", "Result", "=", "XII", ".", "foldMemoryOperandImpl", "(", "*", "FuncInfo", ".", "MF", ",", "*", "MI", ",", "OpNo", ",", "AddrOps", ",", "FuncInfo", ".", "InsertPt", ",", "Size", ",", "LI", "->", "getAlign", "(", ")", ",", "true", ")", ";", "if", "(", "!", "Result", ")", "return", "false", ";", "unsigned", "OperandNo", "=", "0", ";", "for", "(", "MachineInstr", "::", "mop_iterator", "I", "=", "Result", "->", "operands_begin", "(", ")", ",", "E", "=", "Result", "->", "operands_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ",", "++", "OperandNo", ")", "{", "MachineOperand", "&", "MO", "=", "*", "I", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", "||", "MO", ".", "isDef", "(", ")", "||", "MO", ".", "getReg", "(", ")", "!=", "AM", ".", "IndexReg", ")", "continue", ";", "Register", "IndexReg", "=", "constrainOperandRegClass", "(", "Result", "->", "getDesc", "(", ")", ",", "MO", ".", "getReg", "(", ")", ",", "OperandNo", ")", ";", "if", "(", "IndexReg", "==", "MO", ".", "getReg", "(", ")", ")", "continue", ";", "MO", ".", "setReg", "(", "IndexReg", ")", ";", "}", "uint32_t", "Hash", "=", "MI", "->", "getPrototypeHash", "(", ")", ";", "if", "(", "Hash", ")", "Result", "->", "setPrototypeHash", "(", "MI", "->", "getPrototypeHash", "(", ")", ")", ";", "Result", "->", "addMemOperand", "(", "*", "FuncInfo", ".", "MF", ",", "createMachineMemOperandFor", "(", "LI", ")", ")", ";", "Result", "->", "cloneInstrSymbols", "(", "*", "FuncInfo", ".", "MF", ",", "*", "MI", ")", ";", "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": ["X86", "X86", "X86", "X86", "X86", "X86", "8", "0"], "File": "X86FastISel18", "Func": "tryToFoldLoadIntoMI", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19788, "Length": 316, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_split_fp_branch", "(", "enum", "rtx_code", "code", ",", "rtx", "op1", ",", "rtx", "op2", ",", "rtx", "target1", ",", "rtx", "target2", ",", "rtx", "tmp", ",", "rtx", "pushed", ")", "{", "rtx", "second", ",", "bypass", ";", "rtx", "label", "=", "NULL_RTX", ";", "rtx", "condition", ";", "int", "bypass_probability", "=", "-", "1", ",", "second_probability", "=", "-", "1", ",", "probability", "=", "-", "1", ";", "rtx", "i", ";", "if", "(", "target2", "!=", "pc_rtx", ")", "{", "rtx", "tmp", "=", "target2", ";", "code", "=", "reverse_condition_maybe_unordered", "(", "code", ")", ";", "target2", "=", "target1", ";", "target1", "=", "tmp", ";", "}", "condition", "=", "ix86_expand_fp_compare", "(", "code", ",", "op1", ",", "op2", ",", "tmp", ",", "&", "second", ",", "&", "bypass", ")", ";", "if", "(", "pushed", ")", "ix86_free_from_memory", "(", "GET_MODE", "(", "pushed", ")", ")", ";", "if", "(", "split_branch_probability", ">=", "0", ")", "{", "probability", "=", "split_branch_probability", ";", "if", "(", "bypass", ")", "bypass_probability", "=", "1", ";", "if", "(", "second", ")", "second_probability", "=", "1", ";", "}", "if", "(", "bypass", "!=", "NULL_RTX", ")", "{", "label", "=", "gen_label_rtx", "(", ")", ";", "i", "=", "emit_jump_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "pc_rtx", ",", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "bypass", ",", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "label", ")", ",", "pc_rtx", ")", ")", ")", ";", "if", "(", "bypass_probability", ">=", "0", ")", "REG_NOTES", "(", "i", ")", "=", "gen_rtx_EXPR_LIST", "(", "REG_BR_PROB", ",", "GEN_INT", "(", "bypass_probability", ")", ",", "REG_NOTES", "(", "i", ")", ")", ";", "}", "i", "=", "emit_jump_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "pc_rtx", ",", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "condition", ",", "target1", ",", "target2", ")", ")", ")", ";", "if", "(", "probability", ">=", "0", ")", "REG_NOTES", "(", "i", ")", "=", "gen_rtx_EXPR_LIST", "(", "REG_BR_PROB", ",", "GEN_INT", "(", "probability", ")", ",", "REG_NOTES", "(", "i", ")", ")", ";", "if", "(", "second", "!=", "NULL_RTX", ")", "{", "i", "=", "emit_jump_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "pc_rtx", ",", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "second", ",", "target1", ",", "target2", ")", ")", ")", ";", "if", "(", "second_probability", ">=", "0", ")", "REG_NOTES", "(", "i", ")", "=", "gen_rtx_EXPR_LIST", "(", "REG_BR_PROB", ",", "GEN_INT", "(", "second_probability", ")", ",", "REG_NOTES", "(", "i", ")", ")", ";", "}", "if", "(", "label", "!=", "NULL_RTX", ")", "emit_label", "(", "label", ")", ";", "}", ""], "natrual_language": ["Split", "branch", "based", "on", "floating", "point", "condition", "."], "TS_V_token": ["i386", "1", "1", "1", "0", "1", "1", "0", "0", "0"], "File": "i3863", "Func": "ix86_split_fp_branch", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19789, "Length": 331, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_sve_ld1r_operand_p", "(", "rtx", "op", ")", "{", "struct", "aarch64_address_info", "addr", ";", "scalar_mode", "mode", ";", "return", "(", "MEM_P", "(", "op", ")", "&&", "is_a", "<", "scalar_mode", ">", "(", "GET_MODE", "(", "op", ")", ",", "&", "mode", ")", "&&", "aarch64_classify_address", "(", "&", "addr", ",", "XEXP", "(", "op", ",", "0", ")", ",", "mode", ",", "false", ")", "&&", "addr", ".", "type", "==", "ADDRESS_REG_IMM", "&&", "offset_6bit_unsigned_scaled_p", "(", "mode", ",", "addr", ".", "const_offset", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "is", "a", "valid", "MEM", "operand", "for", "an", "SVE", "LD1R", "instruction", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64", "Func": "aarch64_sve_ld1r_operand_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19790, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "registers_ok_for_quad_peep", "(", "rtx", "reg1", ",", "rtx", "reg2", ")", "{", "if", "(", "GET_CODE", "(", "reg1", ")", "!=", "REG", "||", "GET_CODE", "(", "reg2", ")", "!=", "REG", ")", "return", "0", ";", "if", "(", "!", "FP_REGNO_P", "(", "REGNO", "(", "reg1", ")", ")", "||", "!", "FP_REGNO_P", "(", "REGNO", "(", "reg2", ")", ")", ")", "return", "0", ";", "return", "(", "REGNO", "(", "reg1", ")", "==", "REGNO", "(", "reg2", ")", "-", "1", ")", ";", "}", ""], "natrual_language": ["Return", "1", "if", "REGNO", "(", "reg1", ")", "==", "REGNO", "(", "reg2", ")", "-", "1", "making", "them", "candidates", "for", "lfq", "and", "stfq", "insns", ".", "Note", "reg1", "and", "reg2", "*", "must", "*", "be", "hard", "registers", ".", "To", "be", "sure", "we", "will", "abort", "if", "we", "are", "passed", "pseudo", "registers", "."], "TS_V_token": ["powerpcspe", "0", "0", "1"], "File": "powerpcspe", "Func": "registers_ok_for_quad_peep", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19791, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "AArch64RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "AArch64FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "WSP", ")", ";", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "WZR", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", "||", "TT", ".", "isOSDarwin", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "W29", ")", ";", "if", "(", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isX18Reserved", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "W18", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "W19", ")", ";", "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": ["AArch64", "AArch64", "AArch64", "AArch64::WSP", "AArch64::WZR", "AArch64::W29", "AArch64", "AArch64::W18", "AArch64::W19"], "File": "AArch64RegisterInfo17", "Func": "getReservedRegs", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19792, "Length": 124, "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", "(", "!", "VECTOR_MODE_P", "(", "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": ["rs6000", "1", "1"], "File": "rs60004", "Func": "mark_swaps_for_removal", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19793, "Length": 188, "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_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"], "File": "mips", "Func": "mips_swap_registers", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19794, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_start_file", "(", "void", ")", "{", "struct", "cl_target_option", "*", "default_options", "=", "TREE_TARGET_OPTION", "(", "target_option_default_node", ")", ";", "const", "struct", "processor", "*", "default_arch", "=", "aarch64_get_arch", "(", "default_options", "->", "x_explicit_arch", ")", ";", "unsigned", "long", "default_isa_flags", "=", "default_options", "->", "x_aarch64_isa_flags", ";", "std", "::", "string", "extension", "=", "aarch64_get_extension_string_for_isa_flags", "(", "default_isa_flags", ",", "default_arch", "->", "flags", ")", ";", "aarch64_last_printed_arch_string", "=", "default_arch", "->", "name", "+", "extension", ";", "aarch64_last_printed_tune_string", "=", "\"\"", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t.arch %s\\n\"", ",", "aarch64_last_printed_arch_string", ".", "c_str", "(", ")", ")", ";", "default_file_start", "(", ")", ";", "}", ""], "natrual_language": ["Implements", "TARGET_ASM_FILE_START", ".", "Output", "the", "assembly", "header", "."], "TS_V_token": ["aarch64", "\"\"", "\"\\t.arch %s\\n\""], "File": "aarch643", "Func": "aarch64_start_file", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19795, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "const_vector_equal_evenodd_p", "(", "rtx", "op", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "op", ")", ";", "int", "i", ",", "nunits", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "if", "(", "GET_CODE", "(", "op", ")", "!=", "CONST_VECTOR", "||", "nunits", "!=", "CONST_VECTOR_NUNITS", "(", "op", ")", ")", "return", "false", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nunits", ";", "i", "+=", "2", ")", "if", "(", "CONST_VECTOR_ELT", "(", "op", ",", "i", ")", "!=", "CONST_VECTOR_ELT", "(", "op", ",", "i", "+", "1", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Helper", "function", "of", "ix86_expand_mul_widen_evenodd", ".", "Return", "true", "if", "op", "is", "CONST_VECTOR", "with", "all", "odd", "elements", "equal", "to", "their", "preceding", "element", "."], "TS_V_token": ["i386", "0", "2", "1"], "File": "i386-expand", "Func": "const_vector_equal_evenodd_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19796, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createSparcDelaySlotFillerPass", "(", "getSparcTargetMachine", "(", ")", ")", ")", ";", "if", "(", "this", "->", "getSparcTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "insertNOPLoad", "(", ")", ")", "{", "addPass", "(", "new", "InsertNOPLoad", "(", "getSparcTargetMachine", "(", ")", ")", ")", ";", "}", "if", "(", "this", "->", "getSparcTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "fixFSMULD", "(", ")", ")", "{", "addPass", "(", "new", "FixFSMULD", "(", "getSparcTargetMachine", "(", ")", ")", ")", ";", "}", "if", "(", "this", "->", "getSparcTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "replaceFMULS", "(", ")", ")", "{", "addPass", "(", "new", "ReplaceFMULS", "(", "getSparcTargetMachine", "(", ")", ")", ")", ";", "}", "if", "(", "this", "->", "getSparcTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "fixAllFDIVSQRT", "(", ")", ")", "{", "addPass", "(", "new", "FixAllFDIVSQRT", "(", "getSparcTargetMachine", "(", ")", ")", ")", ";", "}", "}", ""], "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", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc"], "File": "SparcTargetMachine51", "Func": "addPreEmitPass", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19797, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "LanaiInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "Lanai", "::", "LDW_RI", ")", "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": ["Lanai", "Lanai", "Lanai::LDW_RI", "1", "2", "2", "0", "1", "0", "0"], "File": "LanaiInstrInfo18", "Func": "isLoadFromStackSlot", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19798, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "process_cfa_register", "(", "FILE", "*", "out_file", ",", "rtx", "pat", ",", "bool", "unwind", ")", "{", "rtx", "dest", "=", "SET_DEST", "(", "pat", ")", ";", "rtx", "src", "=", "SET_SRC", "(", "pat", ")", ";", "int", "dest_regno", "=", "REGNO", "(", "dest", ")", ";", "int", "src_regno", ";", "if", "(", "src", "==", "pc_rtx", ")", "{", "if", "(", "unwind", ")", "fprintf", "(", "out_file", ",", "\"\\t.save rp, r%d\\n\"", ",", "ia64_debugger_regno", "(", "dest_regno", ")", ")", ";", "return", ";", "}", "src_regno", "=", "REGNO", "(", "src", ")", ";", "switch", "(", "src_regno", ")", "{", "case", "PR_REG", "(", "0", ")", ":", "gcc_assert", "(", "dest_regno", "==", "current_frame_info", ".", "r", "[", "reg_save_pr", "]", ")", ";", "if", "(", "unwind", ")", "fprintf", "(", "out_file", ",", "\"\\t.save pr, r%d\\n\"", ",", "ia64_debugger_regno", "(", "dest_regno", ")", ")", ";", "break", ";", "case", "AR_UNAT_REGNUM", ":", "gcc_assert", "(", "dest_regno", "==", "current_frame_info", ".", "r", "[", "reg_save_ar_unat", "]", ")", ";", "if", "(", "unwind", ")", "fprintf", "(", "out_file", ",", "\"\\t.save ar.unat, r%d\\n\"", ",", "ia64_debugger_regno", "(", "dest_regno", ")", ")", ";", "break", ";", "case", "AR_LC_REGNUM", ":", "gcc_assert", "(", "dest_regno", "==", "current_frame_info", ".", "r", "[", "reg_save_ar_lc", "]", ")", ";", "if", "(", "unwind", ")", "fprintf", "(", "out_file", ",", "\"\\t.save ar.lc, r%d\\n\"", ",", "ia64_debugger_regno", "(", "dest_regno", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["This", "function", "processes", "a", "SET", "pattern", "for", "REG_CFA_REGISTER", "."], "TS_V_token": ["ia64", "\"\\t.save rp, r%d\\n\"", "0", "\"\\t.save pr, r%d\\n\"", "\"\\t.save ar.unat, r%d\\n\"", "\"\\t.save ar.lc, r%d\\n\""], "File": "ia641", "Func": "process_cfa_register", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19799, "Length": 190, "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\"", ";", "unsigned", "CPUFSWidth", "=", "Key", ".", "size", "(", ")", ";", "unsigned", "PreferVectorWidthOverride", "=", "0", ";", "if", "(", "F", ".", "hasFnAttribute", "(", "\"prefer-vector-width\"", ")", ")", "{", "StringRef", "Val", "=", "F", ".", "getFnAttribute", "(", "\"prefer-vector-width\"", ")", ".", "getValueAsString", "(", ")", ";", "unsigned", "Width", ";", "if", "(", "!", "Val", ".", "getAsInteger", "(", "0", ",", "Width", ")", ")", "{", "Key", "+=", "\",prefer-vector-width=\"", ";", "Key", "+=", "Val", ";", "PreferVectorWidthOverride", "=", "Width", ";", "}", "}", "unsigned", "RequiredVectorWidth", "=", "UINT32_MAX", ";", "if", "(", "F", ".", "hasFnAttribute", "(", "\"min-legal-vector-width\"", ")", ")", "{", "StringRef", "Val", "=", "F", ".", "getFnAttribute", "(", "\"min-legal-vector-width\"", ")", ".", "getValueAsString", "(", ")", ";", "unsigned", "Width", ";", "if", "(", "!", "Val", ".", "getAsInteger", "(", "0", ",", "Width", ")", ")", "{", "Key", "+=", "\",min-legal-vector-width=\"", ";", "Key", "+=", "Val", ";", "RequiredVectorWidth", "=", "Width", ";", "}", "}", "FS", "=", "Key", ".", "slice", "(", "CPU", ".", "size", "(", ")", ",", "CPUFSWidth", ")", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "Key", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "llvm", "::", "make_unique", "<", "X86Subtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "*", "this", ",", "Options", ".", "StackAlignmentOverride", ",", "PreferVectorWidthOverride", ",", "RequiredVectorWidth", ")", ";", "}", "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\"", "0", "\"prefer-vector-width\"", "\"prefer-vector-width\"", "0", "\",prefer-vector-width=\"", "\"min-legal-vector-width\"", "\"min-legal-vector-width\"", "0", "\",min-legal-vector-width=\"", "X86"], "File": "X86TargetMachine102", "Func": "getSubtargetImpl", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19800, "Length": 343, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "MipsDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "unsigned", "GlobalBaseReg", "=", "MF", "->", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", "->", "getGlobalBaseReg", "(", ")", ";", "return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "TLI", ".", "getPointerTy", "(", ")", ")", ".", "getNode", "(", ")", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsISelDAGToDAG", "Func": "getGlobalBaseReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19801, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCDarwinAsmPrinter", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "static", "const", "char", "*", "const", "CPUDirectives", "[", "]", "=", "{", "\"\"", ",", "\"ppc\"", ",", "\"ppc601\"", ",", "\"ppc602\"", ",", "\"ppc603\"", ",", "\"ppc7400\"", ",", "\"ppc750\"", ",", "\"ppc970\"", ",", "\"ppc64\"", "}", ";", "unsigned", "Directive", "=", "Subtarget", ".", "getDarwinDirective", "(", ")", ";", "if", "(", "Subtarget", ".", "isGigaProcessor", "(", ")", "&&", "Directive", "<", "PPC", "::", "DIR_970", ")", "Directive", "=", "PPC", "::", "DIR_970", ";", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", "&&", "Directive", "<", "PPC", "::", "DIR_7400", ")", "Directive", "=", "PPC", "::", "DIR_7400", ";", "if", "(", "Subtarget", ".", "isPPC64", "(", ")", "&&", "Directive", "<", "PPC", "::", "DIR_970", ")", "Directive", "=", "PPC", "::", "DIR_64", ";", "assert", "(", "Directive", "<=", "PPC", "::", "DIR_64", "&&", "\"Directive out of range.\"", ")", ";", "O", "<<", "\"\\t.machine \"", "<<", "CPUDirectives", "[", "Directive", "]", "<<", "'\\n'", ";", "bool", "Result", "=", "AsmPrinter", "::", "doInitialization", "(", "M", ")", ";", "assert", "(", "MMI", ")", ";", "TargetLoweringObjectFileMachO", "&", "TLOFMacho", "=", "static_cast", "<", "TargetLoweringObjectFileMachO", "&", ">", "(", "getObjFileLowering", "(", ")", ")", ";", "OutStreamer", ".", "SwitchSection", "(", "TLOFMacho", ".", "getTextCoalSection", "(", ")", ")", ";", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "{", "OutStreamer", ".", "SwitchSection", "(", "TLOFMacho", ".", "getMachOSection", "(", "\"__TEXT\"", ",", "\"__picsymbolstub1\"", ",", "MCSectionMachO", "::", "S_SYMBOL_STUBS", "|", "MCSectionMachO", "::", "S_ATTR_PURE_INSTRUCTIONS", ",", "32", ",", "SectionKind", "::", "getText", "(", ")", ")", ")", ";", "}", "else", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "DynamicNoPIC", ")", "{", "OutStreamer", ".", "SwitchSection", "(", "TLOFMacho", ".", "getMachOSection", "(", "\"__TEXT\"", ",", "\"__symbol_stub1\"", ",", "MCSectionMachO", "::", "S_SYMBOL_STUBS", "|", "MCSectionMachO", "::", "S_ATTR_PURE_INSTRUCTIONS", ",", "16", ",", "SectionKind", "::", "getText", "(", ")", ")", ")", ";", "}", "OutStreamer", ".", "SwitchSection", "(", "getObjFileLowering", "(", ")", ".", "getTextSection", "(", ")", ")", ";", "return", "Result", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["PowerPC", "PPC", "\"\"", "\"ppc\"", "\"ppc601\"", "\"ppc602\"", "\"ppc603\"", "\"ppc7400\"", "\"ppc750\"", "\"ppc970\"", "\"ppc64\"", "PPC::DIR_970", "PPC::DIR_970", "PPC::DIR_7400", "PPC::DIR_7400", "PPC", "PPC::DIR_970", "PPC::DIR_64", "PPC::DIR_64", "\"Directive out of range.\"", "\"\\t.machine \"", "\"__TEXT\"", "\"__picsymbolstub1\"", "32", "\"__TEXT\"", "\"__symbol_stub1\"", "16"], "File": "PPCAsmPrinter18", "Func": "doInitialization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19802, "Length": 277, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "aarch64_ldrstr_offset_compare", "(", "const", "void", "*", "x", ",", "const", "void", "*", "y", ")", "{", "const", "rtx", "*", "operands_1", "=", "(", "const", "rtx", "*", ")", "x", ";", "const", "rtx", "*", "operands_2", "=", "(", "const", "rtx", "*", ")", "y", ";", "rtx", "mem_1", ",", "mem_2", ",", "base", ",", "offset_1", ",", "offset_2", ";", "if", "(", "MEM_P", "(", "operands_1", "[", "0", "]", ")", ")", "mem_1", "=", "operands_1", "[", "0", "]", ";", "else", "mem_1", "=", "operands_1", "[", "1", "]", ";", "if", "(", "MEM_P", "(", "operands_2", "[", "0", "]", ")", ")", "mem_2", "=", "operands_2", "[", "0", "]", ";", "else", "mem_2", "=", "operands_2", "[", "1", "]", ";", "extract_base_offset_in_addr", "(", "mem_1", ",", "&", "base", ",", "&", "offset_1", ")", ";", "extract_base_offset_in_addr", "(", "mem_2", ",", "&", "base", ",", "&", "offset_2", ")", ";", "gcc_assert", "(", "offset_1", "!=", "NULL_RTX", "&&", "offset_2", "!=", "NULL_RTX", ")", ";", "return", "wi", "::", "cmps", "(", "INTVAL", "(", "offset_1", ")", ",", "INTVAL", "(", "offset_2", ")", ")", ";", "}", ""], "natrual_language": ["Taking", "X", "and", "Y", "to", "be", "pairs", "of", "RTX", ",", "one", "pointing", "to", "a", "MEM", "rtx", "and", "the", "other", "pointing", "to", "a", "REG", "rtx", "containing", "an", "offset", ",", "compare", "the", "offsets", "of", "the", "two", "pairs", ".", "Return", ":", "1", "iff", "offset", "(", "X", ")", ">", "offset", "(", "Y", ")", "0", "iff", "offset", "(", "X", ")", "==", "offset", "(", "Y", ")", "-1", "iff", "offset", "(", "X", ")", "<", "offset", "(", "Y", ")"], "TS_V_token": ["aarch64", "0", "0", "1", "0", "0", "1"], "File": "aarch64", "Func": "aarch64_ldrstr_offset_compare", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19803, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_return_in_memory", "(", "const_tree", "type", ",", "const_tree", "fndecl", "ATTRIBUTE_UNUSED", ")", "{", "HOST_WIDE_INT", "size", ";", "machine_mode", "ag_mode", ";", "int", "count", ";", "if", "(", "!", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "TREE_CODE", "(", "type", ")", "!=", "COMPLEX_TYPE", "&&", "TREE_CODE", "(", "type", ")", "!=", "VECTOR_TYPE", ")", "return", "false", ";", "if", "(", "aarch64_vfp_is_call_or_return_candidate", "(", "TYPE_MODE", "(", "type", ")", ",", "type", ",", "&", "ag_mode", ",", "&", "count", ",", "NULL", ")", ")", "return", "false", ";", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "return", "(", "size", "<", "0", "||", "size", ">", "2", "*", "UNITS_PER_WORD", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_RETURN_IN_MEMORY", ".", "If", "the", "type", "T", "of", "the", "result", "of", "a", "function", "is", "such", "that", "void", "func", "(", "T", "arg", ")", "would", "require", "that", "arg", "be", "passed", "as", "a", "value", "in", "a", "register", "(", "or", "set", "of", "registers", ")", "according", "to", "the", "parameter", "passing", "rules", ",", "then", "the", "result", "is", "returned", "in", "the", "same", "registers", "as", "would", "be", "used", "for", "such", "an", "argument", "."], "TS_V_token": ["aarch64", "0", "2"], "File": "aarch642", "Func": "aarch64_return_in_memory", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19804, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmBackend", "::", "emitInstructionBegin", "(", "MCObjectStreamer", "&", "OS", ",", "const", "MCInst", "&", "Inst", ")", "{", "CanPadInst", "=", "canPadInst", "(", "Inst", ",", "OS", ")", ";", "if", "(", "!", "canPadBranches", "(", "OS", ")", ")", "return", ";", "if", "(", "!", "isMacroFused", "(", "PrevInst", ",", "Inst", ")", ")", "PendingBA", "=", "nullptr", ";", "if", "(", "!", "CanPadInst", ")", "return", ";", "if", "(", "PendingBA", "&&", "OS", ".", "getCurrentFragment", "(", ")", "->", "getPrevNode", "(", ")", "==", "PendingBA", ")", "{", "return", ";", "}", "if", "(", "needAlign", "(", "Inst", ")", "||", "(", "(", "AlignBranchType", "&", "X86", "::", "AlignBranchFused", ")", "&&", "isFirstMacroFusibleInst", "(", "Inst", ",", "*", "MCII", ")", ")", ")", "{", "OS", ".", "insert", "(", "PendingBA", "=", "new", "MCBoundaryAlignFragment", "(", "AlignBoundary", ")", ")", ";", "}", "}", ""], "natrual_language": ["Give", "the", "target", "a", "chance", "to", "manipulate", "state", "related", "to", "instruction", "alignment", "(", "e.g", "."], "TS_V_token": ["X86", "X86", "X86::AlignBranchFused"], "File": "X86AsmBackend14", "Func": "emitInstructionBegin", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19805, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "VEInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "unsigned", "AltIdx", "=", "VE", "::", "AsmName", ";", "OS", "<<", "'%'", "<<", "getRegisterName", "(", "RegNo", ",", "AltIdx", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["VE", "VE", "VE::AsmName"], "File": "VEInstPrinter4", "Func": "printRegName", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19806, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "loongarch_call_tls_get_addr", "(", "rtx", "sym", ",", "enum", "loongarch_symbol_type", "type", ",", "rtx", "v0", ")", "{", "rtx", "loc", ",", "a0", ";", "rtx_insn", "*", "insn", ";", "a0", "=", "gen_rtx_REG", "(", "Pmode", ",", "GP_ARG_FIRST", ")", ";", "if", "(", "!", "loongarch_tls_symbol", ")", "loongarch_tls_symbol", "=", "init_one_libfunc", "(", "\"__tls_get_addr\"", ")", ";", "loc", "=", "loongarch_unspec_address", "(", "sym", ",", "type", ")", ";", "start_sequence", "(", ")", ";", "if", "(", "type", "==", "SYMBOL_TLSLDM", ")", "emit_insn", "(", "loongarch_got_load_tls_ld", "(", "a0", ",", "loc", ")", ")", ";", "else", "if", "(", "type", "==", "SYMBOL_TLSGD", ")", "emit_insn", "(", "loongarch_got_load_tls_gd", "(", "a0", ",", "loc", ")", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "insn", "=", "emit_call_insn", "(", "gen_call_value_internal", "(", "v0", ",", "loongarch_tls_symbol", ",", "const0_rtx", ")", ")", ";", "RTL_CONST_CALL_P", "(", "insn", ")", "=", "1", ";", "use_reg", "(", "&", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ",", "a0", ")", ";", "insn", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "return", "insn", ";", "}", ""], "natrual_language": ["Return", "an", "instruction", "sequence", "that", "calls", "__tls_get_addr", ".", "SYM", "is", "the", "TLS", "symbol", "we", "are", "referencing", "and", "TYPE", "is", "the", "symbol", "type", "to", "use", "(", "either", "global", "dynamic", "or", "local", "dynamic", ")", ".", "V0", "is", "an", "RTX", "for", "the", "return", "value", "location", "."], "TS_V_token": ["loongarch", "\"__tls_get_addr\"", "1"], "File": "loongarch", "Func": "loongarch_call_tls_get_addr", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19807, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "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", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "Context", ")", ";", "return", "CCInfo", ".", "CheckReturn", "(", "Outs", ",", "RetCC_X86", ")", ";", "}", ""], "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": ["X86", "X86", "ISD::OutputArg", "16", "X86"], "File": "X86ISelLowering (2)1", "Func": "CanLowerReturn", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19808, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getString", "(", ")", ";", "if", "(", "IDVal", "==", "\".ent\"", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".end\"", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".frame\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".set\"", ")", "{", "return", "parseDirectiveSet", "(", ")", ";", "}", "if", "(", "IDVal", "==", "\".fmask\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".mask\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".gpword\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".word\"", ")", "{", "parseDirectiveWord", "(", "4", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".mips_hack_stocg\"", ")", "return", "parseDirectiveMipsHackStocg", "(", ")", ";", "if", "(", "IDVal", "==", "\".mips_hack_elf_flags\"", ")", "return", "parseDirectiveMipsHackELFFlags", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["Mips", "Mips", "\".ent\"", "\".end\"", "\".frame\"", "\".set\"", "\".fmask\"", "\".mask\"", "\".gpword\"", "\".word\"", "4", "\".mips_hack_stocg\"", "Mips", "\".mips_hack_elf_flags\"", "Mips"], "File": "MipsAsmParser79", "Func": "ParseDirective", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19809, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1RegisterInfo", "::", "hasReservedCallFrame", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "FFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "CFSize", "=", "FFI", "->", "getMaxCallFrameSize", "(", ")", ";", "if", "(", "CFSize", ">=", "(", "(", "1", "<<", "8", ")", "-", "1", ")", "*", "4", "/", "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", "1", "8", "1", "4", "2"], "File": "Thumb1RegisterInfo7", "Func": "hasReservedCallFrame", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19810, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "reverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "if", "(", "Cond", "[", "0", "]", ".", "getImm", "(", ")", "!=", "-", "1", ")", "{", "AArch64CC", "::", "CondCode", "CC", "=", "(", "AArch64CC", "::", "CondCode", ")", "(", "int", ")", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ";", "Cond", "[", "0", "]", ".", "setImm", "(", "AArch64CC", "::", "getInvertedCondCode", "(", "CC", ")", ")", ";", "}", "else", "{", "switch", "(", "Cond", "[", "1", "]", ".", "getImm", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown conditional branch!\"", ")", ";", "case", "AArch64", "::", "CBZW", ":", "Cond", "[", "1", "]", ".", "setImm", "(", "AArch64", "::", "CBNZW", ")", ";", "break", ";", "case", "AArch64", "::", "CBNZW", ":", "Cond", "[", "1", "]", ".", "setImm", "(", "AArch64", "::", "CBZW", ")", ";", "break", ";", "case", "AArch64", "::", "CBZX", ":", "Cond", "[", "1", "]", ".", "setImm", "(", "AArch64", "::", "CBNZX", ")", ";", "break", ";", "case", "AArch64", "::", "CBNZX", ":", "Cond", "[", "1", "]", ".", "setImm", "(", "AArch64", "::", "CBZX", ")", ";", "break", ";", "case", "AArch64", "::", "TBZW", ":", "Cond", "[", "1", "]", ".", "setImm", "(", "AArch64", "::", "TBNZW", ")", ";", "break", ";", "case", "AArch64", "::", "TBNZW", ":", "Cond", "[", "1", "]", ".", "setImm", "(", "AArch64", "::", "TBZW", ")", ";", "break", ";", "case", "AArch64", "::", "TBZX", ":", "Cond", "[", "1", "]", ".", "setImm", "(", "AArch64", "::", "TBNZX", ")", ";", "break", ";", "case", "AArch64", "::", "TBNZX", ":", "Cond", "[", "1", "]", ".", "setImm", "(", "AArch64", "::", "TBZX", ")", ";", "break", ";", "}", "}", "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": ["AArch64", "AArch64", "0", "1", "AArch64CC::CondCode", "AArch64CC::CondCode", "0", "0", "AArch64CC::getInvertedCondCode", "1", "\"Unknown conditional branch!\"", "AArch64::CBZW", "1", "AArch64::CBNZW", "AArch64::CBNZW", "1", "AArch64::CBZW", "AArch64::CBZX", "1", "AArch64::CBNZX", "AArch64::CBNZX", "1", "AArch64::CBZX", "AArch64::TBZW", "1", "AArch64::TBNZW", "AArch64::TBNZW", "1", "AArch64::TBZW", "AArch64::TBZX", "1", "AArch64::TBNZX", "AArch64::TBNZX", "1", "AArch64::TBZX"], "File": "AArch64InstrInfo (2)", "Func": "reverseBranchCondition", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19811, "Length": 246, "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": 19812, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "loongarch_expand_prologue", "(", "void", ")", "{", "struct", "loongarch_frame_info", "*", "frame", "=", "&", "cfun", "->", "machine", "->", "frame", ";", "HOST_WIDE_INT", "size", "=", "frame", "->", "total_size", ";", "HOST_WIDE_INT", "tmp", ";", "rtx", "insn", ";", "if", "(", "flag_stack_usage_info", ")", "current_function_static_stack_size", "=", "size", ";", "if", "(", "flag_stack_check", "==", "STATIC_BUILTIN_STACK_CHECK", "||", "flag_stack_clash_protection", ")", "{", "if", "(", "crtl", "->", "is_leaf", "&&", "!", "cfun", "->", "calls_alloca", ")", "{", "if", "(", "size", ">", "PROBE_INTERVAL", "&&", "size", ">", "get_stack_check_protect", "(", ")", ")", "{", "tmp", "=", "size", "-", "get_stack_check_protect", "(", ")", ";", "loongarch_emit_probe_stack_range", "(", "get_stack_check_protect", "(", ")", ",", "tmp", ")", ";", "}", "}", "else", "if", "(", "size", ">", "0", ")", "loongarch_emit_probe_stack_range", "(", "get_stack_check_protect", "(", ")", ",", "size", ")", ";", "}", "if", "(", "(", "frame", "->", "mask", "|", "frame", "->", "fmask", ")", "!=", "0", ")", "{", "HOST_WIDE_INT", "step1", "=", "MIN", "(", "size", ",", "loongarch_first_stack_step", "(", "frame", ")", ")", ";", "insn", "=", "gen_add3_insn", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "step1", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "emit_insn", "(", "insn", ")", ")", "=", "1", ";", "size", "-=", "step1", ";", "loongarch_for_each_saved_reg", "(", "size", ",", "loongarch_save_reg", ")", ";", "}", "if", "(", "frame_pointer_needed", ")", "{", "insn", "=", "gen_add3_insn", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "frame", "->", "hard_frame_pointer_offset", "-", "size", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "emit_insn", "(", "insn", ")", ")", "=", "1", ";", "loongarch_emit_stack_tie", "(", ")", ";", "}", "if", "(", "size", ">", "0", ")", "{", "if", "(", "IMM12_OPERAND", "(", "-", "size", ")", ")", "{", "insn", "=", "gen_add3_insn", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "size", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "emit_insn", "(", "insn", ")", ")", "=", "1", ";", "}", "else", "{", "loongarch_emit_move", "(", "LARCH_PROLOGUE_TEMP", "(", "Pmode", ")", ",", "GEN_INT", "(", "-", "size", ")", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "LARCH_PROLOGUE_TEMP", "(", "Pmode", ")", ")", ")", ";", "insn", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "size", ")", ";", "insn", "=", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "insn", ")", ";", "loongarch_set_frame_expr", "(", "insn", ")", ";", "}", "}", "}", ""], "natrual_language": ["Expand", "the", "``", "prologue", "''", "pattern", "."], "TS_V_token": ["loongarch", "0", "0", "1", "1", "0", "1"], "File": "loongarch", "Func": "loongarch_expand_prologue", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19813, "Length": 314, "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", "(", ")", "&&", "(", "optimizeCompareZero", "(", "MI", ",", "CCUsers", ")", "||", "fuseCompareAndBranch", "(", "MI", ",", "CCUsers", ")", ")", ")", "{", "++", "MBBI", ";", "MI", "->", "removeFromParent", "(", ")", ";", "Changed", "=", "true", ";", "CCUsers", ".", "clear", "(", ")", ";", "CompleteCCUsers", "=", "true", ";", "continue", ";", "}", "Reference", "CCRefs", "(", "getRegReferences", "(", "MI", ",", "SystemZ", "::", "CC", ")", ")", ";", "if", "(", "CCRefs", ".", "Def", ")", "{", "CCUsers", ".", "clear", "(", ")", ";", "CompleteCCUsers", "=", "!", "CCRefs", ".", "IndirectDef", ";", "}", "if", "(", "CompleteCCUsers", "&&", "CCRefs", ".", "Use", ")", "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"], "File": "SystemZElimCompare1", "Func": "processBlock", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19814, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "vax_md_asm_adjust", "(", "vec", "<", "rtx", ">", "&", "outputs", "ATTRIBUTE_UNUSED", ",", "vec", "<", "rtx", ">", "&", "inputs", "ATTRIBUTE_UNUSED", ",", "vec", "<", "machine_mode", ">", "&", "input_modes", "ATTRIBUTE_UNUSED", ",", "vec", "<", "const", "char", "*", ">", "&", "constraints", "ATTRIBUTE_UNUSED", ",", "vec", "<", "rtx", ">", "&", "clobbers", ",", "HARD_REG_SET", "&", "clobbered_regs", ",", "location_t", ")", "{", "clobbers", ".", "safe_push", "(", "gen_rtx_REG", "(", "CCmode", ",", "VAX_PSL_REGNUM", ")", ")", ";", "SET_HARD_REG_BIT", "(", "clobbered_regs", ",", "VAX_PSL_REGNUM", ")", ";", "return", "NULL", ";", "}", ""], "natrual_language": ["Mark", "PSL", "as", "clobbered", "for", "compatibility", "with", "the", "CC0", "representation", "."], "TS_V_token": ["vax"], "File": "vax", "Func": "vax_md_asm_adjust", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19815, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "AArch64PLT", "::", "emit", "(", "MemoryRegion", "&", "pRegion", ")", "{", "uint64_t", "result", "=", "0x0", ";", "iterator", "it", "=", "begin", "(", ")", ";", "unsigned", "char", "*", "buffer", "=", "pRegion", ".", "begin", "(", ")", ";", "memcpy", "(", "buffer", ",", "llvm", "::", "cast", "<", "AArch64PLT0", ">", "(", "(", "*", "it", ")", ")", ".", "getValue", "(", ")", ",", "AArch64PLT0", "::", "EntrySize", ")", ";", "result", "+=", "AArch64PLT0", "::", "EntrySize", ";", "++", "it", ";", "AArch64PLT1", "*", "plt1", "=", "NULL", ";", "AArch64PLT", "::", "iterator", "ie", "=", "end", "(", ")", ";", "while", "(", "it", "!=", "ie", ")", "{", "plt1", "=", "&", "(", "llvm", "::", "cast", "<", "AArch64PLT1", ">", "(", "*", "it", ")", ")", ";", "memcpy", "(", "buffer", "+", "result", ",", "plt1", "->", "getValue", "(", ")", ",", "AArch64PLT1", "::", "EntrySize", ")", ";", "result", "+=", "AArch64PLT1", "::", "EntrySize", ";", "++", "it", ";", "}", "return", "result", ";", "}", ""], "natrual_language": ["Output", "the", "remark", "via", "the", "diagnostic", "handler", "and", "to", "the", "optimization", "record", "file", "."], "TS_V_token": ["AArch64", "AArch64", "0x0", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64PLT", "Func": "emit", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19816, "Length": 137, "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": 19817, "Length": 45, "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": 19818, "Length": 77, "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", ":", "if", "(", "ForceAllBaseRegAlloc", ")", "return", "true", ";", "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": "ARMBaseRegisterInfo1", "Func": "needsFrameBaseReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19819, "Length": 330, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Mips PseudoInstrs Expansion\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"Mips PseudoInstrs Expansion\""], "File": "MipsExpandPseudo", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19820, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitInst", "(", "uint32_t", "Inst", ")", "{", "char", "Buffer", "[", "4", "]", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "4", ";", "++", "I", ")", "{", "Buffer", "[", "I", "]", "=", "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", "0", "4", "8", "4"], "File": "AArch64ELFStreamer", "Func": "emitInst", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19821, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTTIImpl", "::", "isHardwareLoopProfitable", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "AssumptionCache", "&", "AC", ",", "TargetLibraryInfo", "*", "LibInfo", ",", "HardwareLoopInfo", "&", "HWLoopInfo", ")", "{", "const", "PPCTargetMachine", "&", "TM", "=", "ST", "->", "getTargetMachine", "(", ")", ";", "TargetSchedModel", "SchedModel", ";", "SchedModel", ".", "init", "(", "ST", ")", ";", "unsigned", "ConstTripCount", "=", "SE", ".", "getSmallConstantTripCount", "(", "L", ")", ";", "if", "(", "ConstTripCount", "&&", "ConstTripCount", "<", "SmallCTRLoopThreshold", ")", "{", "SmallPtrSet", "<", "const", "Value", "*", ",", "32", ">", "EphValues", ";", "CodeMetrics", "::", "collectEphemeralValues", "(", "L", ",", "&", "AC", ",", "EphValues", ")", ";", "CodeMetrics", "Metrics", ";", "for", "(", "BasicBlock", "*", "BB", ":", "L", "->", "blocks", "(", ")", ")", "Metrics", ".", "analyzeBasicBlock", "(", "BB", ",", "*", "this", ",", "EphValues", ")", ";", "if", "(", "Metrics", ".", "NumInsts", "<=", "(", "6", "*", "SchedModel", ".", "getIssueWidth", "(", ")", ")", ")", "return", "false", ";", "}", "for", "(", "Loop", "::", "block_iterator", "I", "=", "L", "->", "block_begin", "(", ")", ",", "IE", "=", "L", "->", "block_end", "(", ")", ";", "I", "!=", "IE", ";", "++", "I", ")", "if", "(", "mightUseCTR", "(", "*", "I", ",", "LibInfo", ")", ")", "return", "false", ";", "SmallVector", "<", "BasicBlock", "*", ",", "4", ">", "ExitingBlocks", ";", "L", "->", "getExitingBlocks", "(", "ExitingBlocks", ")", ";", "for", "(", "auto", "&", "BB", ":", "ExitingBlocks", ")", "{", "Instruction", "*", "TI", "=", "BB", "->", "getTerminator", "(", ")", ";", "if", "(", "!", "TI", ")", "continue", ";", "if", "(", "BranchInst", "*", "BI", "=", "dyn_cast", "<", "BranchInst", ">", "(", "TI", ")", ")", "{", "uint64_t", "TrueWeight", "=", "0", ",", "FalseWeight", "=", "0", ";", "if", "(", "!", "BI", "->", "isConditional", "(", ")", "||", "!", "BI", "->", "extractProfMetadata", "(", "TrueWeight", ",", "FalseWeight", ")", ")", "continue", ";", "bool", "TrueIsExit", "=", "!", "L", "->", "contains", "(", "BI", "->", "getSuccessor", "(", "0", ")", ")", ";", "if", "(", "(", "TrueIsExit", "&&", "FalseWeight", "<", "TrueWeight", ")", "||", "(", "!", "TrueIsExit", "&&", "FalseWeight", ">", "TrueWeight", ")", ")", "return", "false", ";", "}", "}", "LLVMContext", "&", "C", "=", "L", "->", "getHeader", "(", ")", "->", "getContext", "(", ")", ";", "HWLoopInfo", ".", "CountType", "=", "TM", ".", "isPPC64", "(", ")", "?", "Type", "::", "getInt64Ty", "(", "C", ")", ":", "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": ["PowerPC", "PPC", "PPC", "32", "6", "4", "0", "0", "0", "PPC", "1"], "File": "PPCTargetTransformInfo10", "Func": "isHardwareLoopProfitable", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19822, "Length": 360, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "vector_init_fpmerge", "(", "rtx", "target", ",", "rtx", "elt", ")", "{", "rtx", "t1", ",", "t2", ",", "t2_low", ",", "t3", ",", "t3_low", ";", "t1", "=", "gen_reg_rtx", "(", "V4QImode", ")", ";", "elt", "=", "convert_modes", "(", "SImode", ",", "QImode", ",", "elt", ",", "true", ")", ";", "emit_move_insn", "(", "gen_lowpart", "(", "SImode", ",", "t1", ")", ",", "elt", ")", ";", "t2", "=", "gen_reg_rtx", "(", "V8QImode", ")", ";", "t2_low", "=", "gen_lowpart", "(", "V4QImode", ",", "t2", ")", ";", "emit_insn", "(", "gen_fpmerge_vis", "(", "t2", ",", "t1", ",", "t1", ")", ")", ";", "t3", "=", "gen_reg_rtx", "(", "V8QImode", ")", ";", "t3_low", "=", "gen_lowpart", "(", "V4QImode", ",", "t3", ")", ";", "emit_insn", "(", "gen_fpmerge_vis", "(", "t3", ",", "t2_low", ",", "t2_low", ")", ")", ";", "emit_insn", "(", "gen_fpmerge_vis", "(", "target", ",", "t3_low", ",", "t3_low", ")", ")", ";", "}", ""], "natrual_language": ["Subroutine", "of", "sparc_expand_vector_init", ".", "Emit", "code", "to", "initialize", "all", "fields", "of", "TARGET", "to", "ELT", "in", "V8QI", "by", "means", "of", "VIS", "FPMERGE", "insn", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "vector_init_fpmerge", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19823, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMIndirectThunks", "::", "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": ["ARM", "ARM"], "File": "ARMSLSHardening", "Func": "doInitialization", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19824, "Length": 21, "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", "::", "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::MUL", "ISD::INTRINSIC_W_CHAIN", "ISD::RETURNADDR", "ISD::FRAMEADDR"], "File": "PPCISelLowering148", "Func": "LowerOperation", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19825, "Length": 496, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "targetSchedulesPostRAScheduling", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["True", "if", "subtarget", "inserts", "the", "final", "scheduling", "pass", "on", "its", "own", "."], "TS_V_token": ["SystemZ"], "File": "SystemZTargetMachine1", "Func": "targetSchedulesPostRAScheduling", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19826, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "override", "{", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "llvm_unreachable", "(", "\"getFixupKindInfo() unimplemented\"", ")", ";", "}", ""], "natrual_language": ["Get", "information", "on", "a", "fixup", "kind", "."], "TS_V_token": ["VE", "\"getFixupKindInfo() unimplemented\""], "File": "VEAsmBackend1", "Func": "getFixupKindInfo", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19827, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "__inline__", "static", "unsigned", "long", "long", "sh_media_LDHI_L", "(", "void", "*", "p", ",", "int", "s", ")", "{", "unsigned", "long", "long", "res", ";", "__asm__", "(", "\"ldhi.l\t%m1, %0\"", ":", "\"=r\"", "(", "res", ")", ":", "\"o\"", "(", "(", "(", "char", "*", ")", "p", ")", "[", "s", "]", ")", ")", ";", "return", "res", ";", "}", ""], "natrual_language": ["Misaligned", "Access", "Support", "intrinsics"], "TS_V_token": ["sh", "\"ldhi.l\t%m1, %0\"", "\"=r\"", "\"o\""], "File": "ushmedia", "Func": "sh_media_LDHI_L", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19828, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pa_output_function_epilogue", "(", "FILE", "*", "file", ",", "HOST_WIDE_INT", "size", "ATTRIBUTE_UNUSED", ")", "{", "rtx", "insn", "=", "get_last_insn", "(", ")", ";", "last_address", "=", "0", ";", "if", "(", "GET_CODE", "(", "insn", ")", "==", "NOTE", ")", "insn", "=", "prev_real_insn", "(", "insn", ")", ";", "if", "(", "insn", "&&", "GET_CODE", "(", "insn", ")", "==", "INSN", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "SEQUENCE", ")", "insn", "=", "XVECEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ",", "0", ")", ";", "if", "(", "insn", "&&", "GET_CODE", "(", "insn", ")", "==", "CALL_INSN", ")", "{", "fputs", "(", "\"\\tnop\\n\"", ",", "file", ")", ";", "last_address", "+=", "4", ";", "}", "fputs", "(", "\"\\t.EXIT\\n\\t.PROCEND\\n\"", ",", "file", ")", ";", "if", "(", "TARGET_SOM", "&&", "TARGET_GAS", ")", "{", "forget_section", "(", ")", ";", "}", "if", "(", "INSN_ADDRESSES_SET_P", "(", ")", ")", "{", "insn", "=", "get_last_nonnote_insn", "(", ")", ";", "last_address", "+=", "INSN_ADDRESSES", "(", "INSN_UID", "(", "insn", ")", ")", ";", "if", "(", "INSN_P", "(", "insn", ")", ")", "last_address", "+=", "insn_default_length", "(", "insn", ")", ";", "last_address", "=", "(", "(", "last_address", "+", "FUNCTION_BOUNDARY", "/", "BITS_PER_UNIT", "-", "1", ")", "&", "~", "(", "FUNCTION_BOUNDARY", "/", "BITS_PER_UNIT", "-", "1", ")", ")", ";", "}", "update_total_code_bytes", "(", "last_address", ")", ";", "}", ""], "natrual_language": ["This", "function", "generates", "the", "assembly", "code", "for", "function", "exit", ".", "Args", "are", "as", "for", "output_function_prologue", "(", ")", ".", "The", "function", "epilogue", "should", "not", "depend", "on", "the", "current", "stack", "pointer", "!", "It", "should", "use", "the", "frame", "pointer", "only", ".", "This", "is", "mandatory", "because", "of", "alloca", ";", "we", "also", "take", "advantage", "of", "it", "to", "omit", "stack", "adjustments", "before", "returning", "."], "TS_V_token": ["pa", "0", "0", "0", "\"\\tnop\\n\"", "4", "\"\\t.EXIT\\n\\t.PROCEND\\n\"", "1", "1"], "File": "pa3", "Func": "pa_output_function_epilogue", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19829, "Length": 185, "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", ",", "false", "}", ";", "traverse_record_type", "<", "classify_data_t", ",", "classify_registers", ">", "(", "type", ",", "named", ",", "&", "data", ")", ";", "if", "(", "data", ".", "fp_regs", "&&", "!", "data", ".", "fp_regs_in_first_word", "&&", "slotno", ">=", "SPARC_FP_ARG_MAX", "-", "1", ")", "return", "-", "1", ";", "if", "(", "!", "data", ".", "fp_regs", "&&", "data", ".", "int_regs", "&&", "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": "sparc5", "Func": "function_arg_slotno", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19830, "Length": 440, "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", "=", "CTX", ".", "getRegisterInfo", "(", ")", ".", "getEncodingValue", "(", "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!\"", ")", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["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!\""], "File": "ARMMCCodeEmitter14", "Func": "getMachineOpValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19831, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mmix_eh_return_handler_rtx", "(", ")", "{", "return", "gen_rtx_REG", "(", "Pmode", ",", "MMIX_INCOMING_RETURN_ADDRESS_REGNUM", ")", ";", "}", ""], "natrual_language": ["EH_RETURN_HANDLER_RTX", "."], "TS_V_token": ["mmix"], "File": "mmix2", "Func": "mmix_eh_return_handler_rtx", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19832, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMInstrInfo", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "if", "(", "!", "AFI", "->", "isThumbFunction", "(", ")", "||", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "ARM", "::", "tPUSH", ")", ")", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "MIB", ".", "addReg", "(", "Reg", ",", "false", ",", "false", ",", "true", ")", ";", "}", "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::tPUSH", "0", "1"], "File": "ARMInstrInfo31", "Func": "spillCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19833, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86Subtarget", "::", "isLegalToCallImmediateAddr", "(", ")", "const", "{", "if", "(", "Is64Bit", "||", "isTargetWin32", "(", ")", ")", "return", "false", ";", "return", "isTargetELF", "(", ")", "||", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "subtarget", "allows", "calls", "to", "immediate", "address", "."], "TS_V_token": ["X86", "X86"], "File": "X86Subtarget41", "Func": "isLegalToCallImmediateAddr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19834, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMAsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsResolved", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "const", "{", "unsigned", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "if", "(", "Kind", ">=", "FirstLiteralRelocationKind", ")", "return", ";", "MCContext", "&", "Ctx", "=", "Asm", ".", "getContext", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "Asm", ",", "Fixup", ",", "Target", ",", "Value", ",", "IsResolved", ",", "Ctx", ",", "STI", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "const", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Kind", ")", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "assert", "(", "Offset", "+", "NumBytes", "<=", "Data", ".", "size", "(", ")", "&&", "\"Invalid fixup offset!\"", ")", ";", "unsigned", "FullSizeBytes", ";", "if", "(", "Endian", "==", "support", "::", "big", ")", "{", "FullSizeBytes", "=", "getFixupKindContainerSizeBytes", "(", "Kind", ")", ";", "assert", "(", "(", "Offset", "+", "FullSizeBytes", ")", "<=", "Data", ".", "size", "(", ")", "&&", "\"Invalid fixup size!\"", ")", ";", "assert", "(", "NumBytes", "<=", "FullSizeBytes", "&&", "\"Invalid fixup size!\"", ")", ";", "}", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "Endian", "==", "support", "::", "little", "?", "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!\"", "support::big", "\"Invalid fixup size!\"", "\"Invalid fixup size!\"", "0", "support::little", "1", "8", "0xff"], "File": "ARMAsmBackend33", "Func": "applyFixup", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19835, "Length": 229, "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": 19836, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "shift_op", "(", "rtx", "op", ",", "HOST_WIDE_INT", "*", "amountp", ")", "{", "const", "char", "*", "mnem", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "op", ")", ";", "switch", "(", "GET_CODE", "(", "XEXP", "(", "op", ",", "1", ")", ")", ")", "{", "case", "REG", ":", "case", "SUBREG", ":", "*", "amountp", "=", "-", "1", ";", "break", ";", "case", "CONST_INT", ":", "*", "amountp", "=", "INTVAL", "(", "XEXP", "(", "op", ",", "1", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "switch", "(", "code", ")", "{", "case", "ASHIFT", ":", "mnem", "=", "\"asl\"", ";", "break", ";", "case", "ASHIFTRT", ":", "mnem", "=", "\"asr\"", ";", "break", ";", "case", "LSHIFTRT", ":", "mnem", "=", "\"lsr\"", ";", "break", ";", "case", "ROTATE", ":", "gcc_assert", "(", "*", "amountp", "!=", "-", "1", ")", ";", "*", "amountp", "=", "32", "-", "*", "amountp", ";", "case", "ROTATERT", ":", "mnem", "=", "\"ror\"", ";", "break", ";", "case", "MULT", ":", "gcc_assert", "(", "*", "amountp", "!=", "-", "1", ")", ";", "*", "amountp", "=", "int_log2", "(", "*", "amountp", ")", ";", "return", "\"asl\"", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "*", "amountp", "!=", "-", "1", ")", "{", "if", "(", "code", "==", "ROTATERT", ")", "*", "amountp", "&=", "31", ";", "else", "if", "(", "*", "amountp", "!=", "(", "*", "amountp", "&", "31", ")", ")", "{", "if", "(", "code", "==", "ASHIFT", ")", "mnem", "=", "\"lsr\"", ";", "*", "amountp", "=", "32", ";", "}", "if", "(", "*", "amountp", "==", "0", ")", "return", "NULL", ";", "}", "return", "mnem", ";", "}", ""], "natrual_language": ["Ensure", "valid", "constant", "shifts", "and", "return", "the", "appropriate", "shift", "mnemonic", "for", "the", "operation", "code", ".", "The", "returned", "result", "should", "not", "be", "overwritten", ".", "OP", "is", "the", "rtx", "code", "of", "the", "shift", ".", "On", "exit", ",", "*", "AMOUNTP", "will", "be", "-1", "if", "the", "shift", "is", "by", "a", "register", ",", "or", "a", "constant", "shift", "."], "TS_V_token": ["arm", "1", "1", "1", "\"asl\"", "\"asr\"", "\"lsr\"", "1", "32", "\"ror\"", "1", "\"asl\"", "1", "31", "31", "\"lsr\"", "32", "0"], "File": "arm3", "Func": "shift_op", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19837, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "bit_count", "(", "unsigned", "long", "value", ")", "{", "unsigned", "long", "count", "=", "0", ";", "while", "(", "value", ")", "{", "count", "++", ";", "value", "&=", "value", "-", "1", ";", "}", "return", "count", ";", "}", ""], "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": ["arm", "0", "1"], "File": "arm", "Func": "bit_count", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19838, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "arm_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", ")", "{", "unsigned", "*", "cost", "=", "(", "unsigned", "*", ")", "data", ";", "unsigned", "retval", "=", "0", ";", "if", "(", "flag_vect_cost_model", ")", "{", "tree", "vectype", "=", "stmt_info", "?", "stmt_vectype", "(", "stmt_info", ")", ":", "NULL_TREE", ";", "int", "stmt_cost", "=", "arm_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", "[", "where", "]", "+=", "retval", ";", "}", "return", "retval", ";", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.add_stmt_cost", "."], "TS_V_token": ["arm", "0", "50"], "File": "arm", "Func": "arm_add_stmt_cost", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19839, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", "&&", "\"Unexpected\"", ")", ";", "unsigned", "i", "=", "0", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "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", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "int", "Offset", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FrameIndex", ")", "+", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "Offset", ">=", "-", "4096", "&&", "Offset", "<=", "4095", ")", "{", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "SP", "::", "I6", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", "else", "{", "unsigned", "OffHi", "=", "(", "unsigned", ")", "Offset", ">>", "10U", ";", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "SETHIi", ")", ",", "SP", "::", "G1", ")", ".", "addImm", "(", "OffHi", ")", ";", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "ADDrr", ")", ",", "SP", "::", "G1", ")", ".", "addReg", "(", "SP", "::", "G1", ")", ".", "addReg", "(", "SP", "::", "I6", ")", ";", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "SP", "::", "G1", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", "&", "(", "(", "1", "<<", "10", ")", "-", "1", ")", ")", ";", "}", "}", ""], "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\"", "0", "\"Instr doesn't have FrameIndex operand!\"", "1", "4096", "4095", "SP::I6", "1", "10U", "SP::SETHIi", "SP::G1", "SP::ADDrr", "SP::G1", "SP::G1", "SP::I6", "SP::G1", "1", "1", "10", "1"], "File": "SparcRegisterInfo12", "Func": "eliminateFrameIndex", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19840, "Length": 307, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ARMSubtarget", "&", "ARMMCInstLower", "::", "getSubtarget", "(", ")", "const", "{", "return", "AsmPrinter", ".", "getSubtarget", "(", ")", ";", "}", ""], "natrual_language": ["getSubtarget", "-", "Return", "the", "subtarget", "for", "which", "this", "machine", "code", "is", "being", "compiled", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMMCInstLower2", "Func": "getSubtarget", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19841, "Length": 18, "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_V8DImode", ":", "case", "E_V4DImode", ":", "case", "E_V2DImode", ":", "gcc_assert", "(", "vect", ")", ";", "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": "i3861", "Func": "ix86_build_const_vector", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19842, "Length": 166, "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", "&&", "!", "is_global_var", "(", "exp", ")", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "exp", ")", "==", "VAR_DECL", "&&", "DECL_SECTION_NAME", "(", "exp", ")", ")", "{", "const", "char", "*", "section", "=", "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", "<=", "0", "||", "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", "0"], "File": "i3864", "Func": "ix86_in_large_data_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19843, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "vax_output_conditional_branch", "(", "enum", "rtx_code", "code", ")", "{", "switch", "(", "code", ")", "{", "case", "EQ", ":", "return", "\"jeql %l0\"", ";", "case", "NE", ":", "return", "\"jneq %l0\"", ";", "case", "GT", ":", "return", "\"jgtr %l0\"", ";", "case", "LT", ":", "return", "\"jlss %l0\"", ";", "case", "GTU", ":", "return", "\"jgtru %l0\"", ";", "case", "LTU", ":", "return", "\"jlssu %l0\"", ";", "case", "GE", ":", "return", "\"jgeq %l0\"", ";", "case", "LE", ":", "return", "\"jleq %l0\"", ";", "case", "GEU", ":", "return", "\"jgequ %l0\"", ";", "case", "LEU", ":", "return", "\"jlequ %l0\"", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Output", "a", "conditional", "branch", "."], "TS_V_token": ["vax", "\"jeql %l0\"", "\"jneq %l0\"", "\"jgtr %l0\"", "\"jlss %l0\"", "\"jgtru %l0\"", "\"jlssu %l0\"", "\"jgeq %l0\"", "\"jleq %l0\"", "\"jgequ %l0\"", "\"jlequ %l0\""], "File": "vax3", "Func": "vax_output_conditional_branch", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19844, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86MCInstrAnalysis", "::", "clearsSuperRegisters", "(", "const", "MCRegisterInfo", "&", "MRI", ",", "const", "MCInst", "&", "Inst", ",", "APInt", "&", "Mask", ")", "const", "{", "const", "MCInstrDesc", "&", "Desc", "=", "Info", "->", "get", "(", "Inst", ".", "getOpcode", "(", ")", ")", ";", "unsigned", "NumDefs", "=", "Desc", ".", "getNumDefs", "(", ")", ";", "unsigned", "NumImplicitDefs", "=", "Desc", ".", "getNumImplicitDefs", "(", ")", ";", "assert", "(", "Mask", ".", "getBitWidth", "(", ")", "==", "NumDefs", "+", "NumImplicitDefs", "&&", "\"Unexpected number of bits in the mask!\"", ")", ";", "bool", "HasVEX", "=", "(", "Desc", ".", "TSFlags", "&", "X86II", "::", "EncodingMask", ")", "==", "X86II", "::", "VEX", ";", "bool", "HasEVEX", "=", "(", "Desc", ".", "TSFlags", "&", "X86II", "::", "EncodingMask", ")", "==", "X86II", "::", "EVEX", ";", "bool", "HasXOP", "=", "(", "Desc", ".", "TSFlags", "&", "X86II", "::", "EncodingMask", ")", "==", "X86II", "::", "XOP", ";", "const", "MCRegisterClass", "&", "GR32RC", "=", "MRI", ".", "getRegClass", "(", "X86", "::", "GR32RegClassID", ")", ";", "const", "MCRegisterClass", "&", "VR128XRC", "=", "MRI", ".", "getRegClass", "(", "X86", "::", "VR128XRegClassID", ")", ";", "const", "MCRegisterClass", "&", "VR256XRC", "=", "MRI", ".", "getRegClass", "(", "X86", "::", "VR256XRegClassID", ")", ";", "auto", "ClearsSuperReg", "=", "[", "=", "]", "(", "unsigned", "RegID", ")", "{", "if", "(", "GR32RC", ".", "contains", "(", "RegID", ")", ")", "return", "true", ";", "if", "(", "!", "HasEVEX", "&&", "!", "HasVEX", "&&", "!", "HasXOP", ")", "return", "false", ";", "return", "VR128XRC", ".", "contains", "(", "RegID", ")", "||", "VR256XRC", ".", "contains", "(", "RegID", ")", ";", "}", ";", "Mask", ".", "clearAllBits", "(", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "NumDefs", ";", "I", "<", "E", ";", "++", "I", ")", "{", "const", "MCOperand", "&", "Op", "=", "Inst", ".", "getOperand", "(", "I", ")", ";", "if", "(", "ClearsSuperReg", "(", "Op", ".", "getReg", "(", ")", ")", ")", "Mask", ".", "setBit", "(", "I", ")", ";", "}", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "NumImplicitDefs", ";", "I", "<", "E", ";", "++", "I", ")", "{", "const", "MCPhysReg", "Reg", "=", "Desc", ".", "getImplicitDefs", "(", ")", "[", "I", "]", ";", "if", "(", "ClearsSuperReg", "(", "Reg", ")", ")", "Mask", ".", "setBit", "(", "NumDefs", "+", "I", ")", ";", "}", "return", "Mask", ".", "getBoolValue", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "at", "least", "one", "of", "the", "register", "writes", "performed", "by", "."], "TS_V_token": ["X86", "X86", "\"Unexpected number of bits in the mask!\"", "X86II::EncodingMask", "X86II::VEX", "X86II::EncodingMask", "X86II::EVEX", "X86II::EncodingMask", "X86II::XOP", "X86::GR32RegClassID", "X86::VR128XRegClassID", "X86::VR256XRegClassID", "0", "0"], "File": "X86MCTargetDesc13", "Func": "clearsSuperRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19845, "Length": 330, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "SystemZSelectionDAGInfo", "::", "EmitTargetCodeForStrcmp", "(", "SelectionDAG", "&", "DAG", ",", "SDLoc", "DL", ",", "SDValue", "Chain", ",", "SDValue", "Src1", ",", "SDValue", "Src2", ",", "MachinePointerInfo", "Op1PtrInfo", ",", "MachinePointerInfo", "Op2PtrInfo", ")", "const", "{", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "Src1", ".", "getValueType", "(", ")", ",", "MVT", "::", "Other", ",", "MVT", "::", "Glue", ")", ";", "SDValue", "Unused", "=", "DAG", ".", "getNode", "(", "SystemZISD", "::", "STRCMP", ",", "DL", ",", "VTs", ",", "Chain", ",", "Src1", ",", "Src2", ",", "DAG", ".", "getConstant", "(", "0", ",", "DL", ",", "MVT", "::", "i32", ")", ")", ";", "Chain", "=", "Unused", ".", "getValue", "(", "1", ")", ";", "SDValue", "Glue", "=", "Chain", ".", "getValue", "(", "2", ")", ";", "return", "std", "::", "make_pair", "(", "addIPMSequence", "(", "DL", ",", "Glue", ",", "DAG", ")", ",", "Chain", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "strcmp", ",", "in", "cases", "where", "that", "is", "faster", "than", "a", "libcall", "."], "TS_V_token": ["SystemZ", "SystemZ", "MVT::Other", "MVT::Glue", "SystemZISD::STRCMP", "0", "MVT::i32", "1", "2"], "File": "SystemZSelectionDAGInfo (2)", "Func": "EmitTargetCodeForStrcmp", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19846, "Length": 130, "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", ".", "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": "ARMBaseRegisterInfo16", "Func": "getCalleeSavedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19847, "Length": 247, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "AArch64InstrInfo", "::", "insertOutlinedCall", "(", "Module", "&", "M", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "It", ",", "MachineFunction", "&", "MF", ",", "outliner", "::", "Candidate", "&", "C", ")", "const", "{", "if", "(", "C", ".", "CallConstructionID", "==", "MachineOutlinerTailCall", ")", "{", "It", "=", "MBB", ".", "insert", "(", "It", ",", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "TCRETURNdi", ")", ")", ".", "addGlobalAddress", "(", "M", ".", "getNamedValue", "(", "MF", ".", "getName", "(", ")", ")", ")", ".", "addImm", "(", "0", ")", ")", ";", "return", "It", ";", "}", "if", "(", "C", ".", "CallConstructionID", "==", "MachineOutlinerNoLRSave", "||", "C", ".", "CallConstructionID", "==", "MachineOutlinerThunk", ")", "{", "It", "=", "MBB", ".", "insert", "(", "It", ",", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "BL", ")", ")", ".", "addGlobalAddress", "(", "M", ".", "getNamedValue", "(", "MF", ".", "getName", "(", ")", ")", ")", ")", ";", "return", "It", ";", "}", "MachineBasicBlock", "::", "iterator", "CallPt", ";", "MachineInstr", "*", "Save", ";", "MachineInstr", "*", "Restore", ";", "if", "(", "C", ".", "CallConstructionID", "==", "MachineOutlinerRegSave", ")", "{", "Register", "Reg", "=", "findRegisterToSaveLRTo", "(", "C", ")", ";", "assert", "(", "Reg", "&&", "\"No callee-saved register available?\"", ")", ";", "if", "(", "!", "MBB", ".", "isLiveIn", "(", "AArch64", "::", "LR", ")", ")", "MBB", ".", "addLiveIn", "(", "AArch64", "::", "LR", ")", ";", "Save", "=", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "ORRXrs", ")", ",", "Reg", ")", ".", "addReg", "(", "AArch64", "::", "XZR", ")", ".", "addReg", "(", "AArch64", "::", "LR", ")", ".", "addImm", "(", "0", ")", ";", "Restore", "=", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "ORRXrs", ")", ",", "AArch64", "::", "LR", ")", ".", "addReg", "(", "AArch64", "::", "XZR", ")", ".", "addReg", "(", "Reg", ")", ".", "addImm", "(", "0", ")", ";", "}", "else", "{", "Save", "=", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "STRXpre", ")", ")", ".", "addReg", "(", "AArch64", "::", "SP", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "AArch64", "::", "LR", ")", ".", "addReg", "(", "AArch64", "::", "SP", ")", ".", "addImm", "(", "-", "16", ")", ";", "Restore", "=", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "LDRXpost", ")", ")", ".", "addReg", "(", "AArch64", "::", "SP", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "AArch64", "::", "LR", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "AArch64", "::", "SP", ")", ".", "addImm", "(", "16", ")", ";", "}", "It", "=", "MBB", ".", "insert", "(", "It", ",", "Save", ")", ";", "It", "++", ";", "It", "=", "MBB", ".", "insert", "(", "It", ",", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "BL", ")", ")", ".", "addGlobalAddress", "(", "M", ".", "getNamedValue", "(", "MF", ".", "getName", "(", ")", ")", ")", ")", ";", "CallPt", "=", "It", ";", "It", "++", ";", "It", "=", "MBB", ".", "insert", "(", "It", ",", "Restore", ")", ";", "return", "CallPt", ";", "}", ""], "natrual_language": ["Insert", "a", "call", "to", "an", "outlined", "function", "into", "the", "program", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::TCRETURNdi", "0", "AArch64::BL", "\"No callee-saved register available?\"", "AArch64::LR", "AArch64::LR", "AArch64::ORRXrs", "AArch64::XZR", "AArch64::LR", "0", "AArch64::ORRXrs", "AArch64::LR", "AArch64::XZR", "0", "AArch64::STRXpre", "AArch64::SP", "AArch64::LR", "AArch64::SP", "16", "AArch64::LDRXpost", "AArch64::SP", "AArch64::LR", "AArch64::SP", "16", "AArch64::BL"], "File": "AArch64InstrInfo51", "Func": "insertOutlinedCall", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19848, "Length": 464, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "SystemZInstrInfo", "::", "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": ["SystemZ", "SystemZ"], "File": "SystemZInstrInfo14", "Func": "foldMemoryOperandImpl", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19849, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isAsCheapAsAMove", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "hasCustomCheapAsMoveHandling", "(", ")", ")", "return", "MI", ".", "isAsCheapAsAMove", "(", ")", ";", "unsigned", "Imm", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "AArch64", "::", "ADDWri", ":", "case", "AArch64", "::", "ADDXri", ":", "case", "AArch64", "::", "SUBWri", ":", "case", "AArch64", "::", "SUBXri", ":", "return", "(", "Subtarget", ".", "getProcFamily", "(", ")", "==", "AArch64Subtarget", "::", "ExynosM1", "||", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "==", "0", ")", ";", "case", "AArch64", "::", "ADDWrs", ":", "case", "AArch64", "::", "ADDXrs", ":", "case", "AArch64", "::", "SUBWrs", ":", "case", "AArch64", "::", "SUBXrs", ":", "Imm", "=", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "return", "(", "Subtarget", ".", "getProcFamily", "(", ")", "==", "AArch64Subtarget", "::", "ExynosM1", "&&", "AArch64_AM", "::", "getArithShiftValue", "(", "Imm", ")", "<", "4", ")", ";", "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", "::", "ANDWrs", ":", "case", "AArch64", "::", "ANDXrs", ":", "case", "AArch64", "::", "BICWrs", ":", "case", "AArch64", "::", "BICXrs", ":", "case", "AArch64", "::", "EONWrs", ":", "case", "AArch64", "::", "EONXrs", ":", "case", "AArch64", "::", "EORWrs", ":", "case", "AArch64", "::", "EORXrs", ":", "case", "AArch64", "::", "ORNWrs", ":", "case", "AArch64", "::", "ORNXrs", ":", "case", "AArch64", "::", "ORRWrs", ":", "case", "AArch64", "::", "ORRXrs", ":", "Imm", "=", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "return", "(", "Subtarget", ".", "getProcFamily", "(", ")", "==", "AArch64Subtarget", "::", "ExynosM1", "&&", "AArch64_AM", "::", "getShiftValue", "(", "Imm", ")", "<", "4", "&&", "AArch64_AM", "::", "getShiftType", "(", "Imm", ")", "==", "AArch64_AM", "::", "LSL", ")", ";", "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::ADDWri", "AArch64::ADDXri", "AArch64::SUBWri", "AArch64::SUBXri", "AArch64", "3", "0", "AArch64::ADDWrs", "AArch64::ADDXrs", "AArch64::SUBWrs", "AArch64::SUBXrs", "3", "AArch64", "AArch64_AM::getArithShiftValue", "4", "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::ANDWrs", "AArch64::ANDXrs", "AArch64::BICWrs", "AArch64::BICXrs", "AArch64::EONWrs", "AArch64::EONXrs", "AArch64::EORWrs", "AArch64::EORXrs", "AArch64::ORNWrs", "AArch64::ORNXrs", "AArch64::ORRWrs", "AArch64::ORRXrs", "3", "AArch64", "AArch64_AM::getShiftValue", "4", "AArch64_AM::getShiftType", "AArch64_AM::LSL", "AArch64::MOVi32imm", "32", "AArch64::MOVi64imm", "64", "\"Unknown opcode to check as cheap as a move!\""], "File": "AArch64InstrInfo114", "Func": "isAsCheapAsAMove", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19850, "Length": 381, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 LEA Optimize\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 LEA Optimize\""], "File": "X86OptimizeLEAs (2)", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19851, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_floorceildf_32", "(", "rtx", "operand0", ",", "rtx", "operand1", ",", "bool", "do_floor", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "operand0", ")", ";", "rtx", "xa", ",", "TWO52", ",", "tmp", ",", "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", ")", ";", "xa", "=", "expand_simple_binop", "(", "mode", ",", "PLUS", ",", "xa", ",", "TWO52", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "xa", "=", "expand_simple_binop", "(", "mode", ",", "MINUS", ",", "xa", ",", "TWO52", ",", "xa", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "ix86_sse_copysign_to_positive", "(", "xa", ",", "xa", ",", "res", ",", "mask", ")", ";", "one", "=", "force_reg", "(", "mode", ",", "const_double_from_real_value", "(", "do_floor", "?", "dconst1", ":", "dconstm1", ",", "mode", ")", ")", ";", "tmp", "=", "ix86_expand_sse_compare_mask", "(", "UNGT", ",", "xa", ",", "res", ",", "!", "do_floor", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "tmp", ",", "gen_rtx_AND", "(", "mode", ",", "one", ",", "tmp", ")", ")", ")", ";", "tmp", "=", "expand_simple_binop", "(", "mode", ",", "MINUS", ",", "xa", ",", "tmp", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "emit_move_insn", "(", "res", ",", "tmp", ")", ";", "emit_label", "(", "label", ")", ";", "LABEL_NUSES", "(", "label", ")", "=", "1", ";", "emit_move_insn", "(", "operand0", ",", "res", ")", ";", "}", ""], "natrual_language": ["Expand", "SSE2", "sequence", "for", "computing", "floor", "or", "ceil", "from", "OPERAND1", "storing", "into", "OPERAND0", "."], "TS_V_token": ["i386", "0", "0", "0", "1"], "File": "i3864", "Func": "ix86_expand_floorceildf_32", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19852, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_symbian_dllexport_p", "(", "tree", "decl", ")", "{", "tree", "exp", ";", "if", "(", "TREE_CODE", "(", "decl", ")", "!=", "VAR_DECL", "&&", "TREE_CODE", "(", "decl", ")", "!=", "FUNCTION_DECL", ")", "return", "false", ";", "exp", "=", "lookup_attribute", "(", "\"dllexport\"", ",", "DECL_ATTRIBUTES", "(", "decl", ")", ")", ";", "if", "(", "exp", "==", "NULL", ")", "{", "tree", "class", "=", "sh_symbian_associated_type", "(", "decl", ")", ";", "if", "(", "class", ")", "exp", "=", "lookup_attribute", "(", "\"dllexport\"", ",", "TYPE_ATTRIBUTES", "(", "class", ")", ")", ";", "}", "if", "(", "exp", ")", "{", "print_node_brief", "(", "stderr", ",", "\"dllexport:\"", ",", "decl", ",", "0", ")", ";", "fprintf", "(", "stderr", ",", "\"\\n\"", ")", ";", "}", "else", "if", "(", "TREE_CODE", "(", "decl", ")", "!=", "FUNCTION_DECL", ")", "{", "print_node_brief", "(", "stderr", ",", "\"no dllexport:\"", ",", "decl", ",", "0", ")", ";", "fprintf", "(", "stderr", ",", "\"\\n\"", ")", ";", "}", "return", "exp", "?", "true", ":", "false", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "DECL", "is", "a", "dllexport", "'d", "object", "."], "TS_V_token": ["sh", "\"dllexport\"", "\"dllexport\"", "\"dllexport:\"", "0", "\"\\n\"", "\"no dllexport:\"", "0", "\"\\n\""], "File": "symbian", "Func": "sh_symbian_dllexport_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19853, "Length": 135, "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": 19854, "Length": 406, "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": 19855, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LC2200AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["LC2200", "LC2200"], "File": "LC2200AsmParser", "Func": "ParseDirective", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19856, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getMaxCallFrameSize", "(", ")", "const", "{", "return", "MaxCallFrameSize", ";", "}", ""], "natrual_language": ["Return", "the", "maximum", "size", "of", "a", "call", "frame", "that", "must", "be", "allocated", "for", "an", "outgoing", "function", "call", "."], "TS_V_token": ["Mips"], "File": "MipsMachineFunction13", "Func": "getMaxCallFrameSize", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19857, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "AZPRInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["AZPR", "AZPR"], "File": "AZPRTargetMachine", "Func": "getInstrInfo", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19858, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLegalMaskedStore", "(", "Type", "*", "DataTy", ",", "MaybeAlign", "Alignment", ")", "{", "return", "isLegalMaskedLoad", "(", "DataTy", ",", "Alignment", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "store", "."], "TS_V_token": ["ARM"], "File": "ARMTargetTransformInfo1", "Func": "isLegalMaskedStore", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19859, "Length": 20, "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", ")", ")", "{", "FeatureBitset", "FBS", "=", "ComputeAvailableFeatures", "(", "getSTI", "(", ")", ".", "getFeatureBits", "(", ")", ")", ";", "std", "::", "string", "Suggestion", "=", "MipsMnemonicSpellCheck", "(", "Name", ",", "FBS", ")", ";", "return", "Error", "(", "NameLoc", ",", "\"unknown instruction\"", "+", "Suggestion", ")", ";", "}", "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", "Mips", "\"unknown instruction\"", "MipsOperand::CreateToken", "\"unexpected token in argument list\"", "\"unexpected token in argument list\"", "\"unexpected token in argument list\""], "File": "MipsAsmParser (2)4", "Func": "ParseInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19860, "Length": 324, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_function_specific_restore", "(", "struct", "gcc_options", "*", "opts", ",", "struct", "cl_target_option", "*", "ptr", ")", "{", "enum", "processor_type", "old_tune", "=", "ix86_tune", ";", "enum", "processor_type", "old_arch", "=", "ix86_arch", ";", "unsigned", "int", "ix86_arch_mask", ";", "int", "i", ";", "opts", "->", "x_flag_pic", "=", "flag_pic", ";", "ix86_arch", "=", "(", "enum", "processor_type", ")", "ptr", "->", "arch", ";", "ix86_schedule", "=", "(", "enum", "attr_cpu", ")", "ptr", "->", "schedule", ";", "ix86_tune", "=", "(", "enum", "processor_type", ")", "ptr", "->", "tune", ";", "x86_prefetch_sse", "=", "ptr", "->", "prefetch_sse", ";", "opts", "->", "x_ix86_branch_cost", "=", "ptr", "->", "branch_cost", ";", "ix86_tune_defaulted", "=", "ptr", "->", "tune_defaulted", ";", "ix86_arch_specified", "=", "ptr", "->", "arch_specified", ";", "opts", "->", "x_ix86_isa_flags_explicit", "=", "ptr", "->", "x_ix86_isa_flags_explicit", ";", "opts", "->", "x_ix86_isa_flags2_explicit", "=", "ptr", "->", "x_ix86_isa_flags2_explicit", ";", "opts", "->", "x_recip_mask_explicit", "=", "ptr", "->", "x_recip_mask_explicit", ";", "opts", "->", "x_ix86_arch_string", "=", "ptr", "->", "x_ix86_arch_string", ";", "opts", "->", "x_ix86_tune_string", "=", "ptr", "->", "x_ix86_tune_string", ";", "opts", "->", "x_ix86_cmodel", "=", "ptr", "->", "x_ix86_cmodel", ";", "opts", "->", "x_ix86_abi", "=", "ptr", "->", "x_ix86_abi", ";", "opts", "->", "x_ix86_asm_dialect", "=", "ptr", "->", "x_ix86_asm_dialect", ";", "opts", "->", "x_ix86_branch_cost", "=", "ptr", "->", "x_ix86_branch_cost", ";", "opts", "->", "x_ix86_dump_tunes", "=", "ptr", "->", "x_ix86_dump_tunes", ";", "opts", "->", "x_ix86_force_align_arg_pointer", "=", "ptr", "->", "x_ix86_force_align_arg_pointer", ";", "opts", "->", "x_ix86_force_drap", "=", "ptr", "->", "x_ix86_force_drap", ";", "opts", "->", "x_ix86_incoming_stack_boundary_arg", "=", "ptr", "->", "x_ix86_incoming_stack_boundary_arg", ";", "opts", "->", "x_ix86_pmode", "=", "ptr", "->", "x_ix86_pmode", ";", "opts", "->", "x_ix86_preferred_stack_boundary_arg", "=", "ptr", "->", "x_ix86_preferred_stack_boundary_arg", ";", "opts", "->", "x_ix86_recip_name", "=", "ptr", "->", "x_ix86_recip_name", ";", "opts", "->", "x_ix86_regparm", "=", "ptr", "->", "x_ix86_regparm", ";", "opts", "->", "x_ix86_section_threshold", "=", "ptr", "->", "x_ix86_section_threshold", ";", "opts", "->", "x_ix86_sse2avx", "=", "ptr", "->", "x_ix86_sse2avx", ";", "opts", "->", "x_ix86_stack_protector_guard", "=", "ptr", "->", "x_ix86_stack_protector_guard", ";", "opts", "->", "x_ix86_stringop_alg", "=", "ptr", "->", "x_ix86_stringop_alg", ";", "opts", "->", "x_ix86_tls_dialect", "=", "ptr", "->", "x_ix86_tls_dialect", ";", "opts", "->", "x_ix86_tune_ctrl_string", "=", "ptr", "->", "x_ix86_tune_ctrl_string", ";", "opts", "->", "x_ix86_tune_memcpy_strategy", "=", "ptr", "->", "x_ix86_tune_memcpy_strategy", ";", "opts", "->", "x_ix86_tune_memset_strategy", "=", "ptr", "->", "x_ix86_tune_memset_strategy", ";", "opts", "->", "x_ix86_tune_no_default", "=", "ptr", "->", "x_ix86_tune_no_default", ";", "opts", "->", "x_ix86_veclibabi_type", "=", "ptr", "->", "x_ix86_veclibabi_type", ";", "ix86_tune_cost", "=", "processor_target_table", "[", "ix86_tune", "]", ".", "cost", ";", "if", "(", "opts", "->", "x_optimize_size", ")", "ix86_cost", "=", "&", "ix86_size_cost", ";", "else", "ix86_cost", "=", "ix86_tune_cost", ";", "if", "(", "old_arch", "!=", "ix86_arch", ")", "{", "ix86_arch_mask", "=", "1u", "<<", "ix86_arch", ";", "for", "(", "i", "=", "0", ";", "i", "<", "X86_ARCH_LAST", ";", "++", "i", ")", "ix86_arch_features", "[", "i", "]", "=", "!", "!", "(", "initial_ix86_arch_features", "[", "i", "]", "&", "ix86_arch_mask", ")", ";", "}", "if", "(", "old_tune", "!=", "ix86_tune", ")", "set_ix86_tune_features", "(", "ix86_tune", ",", "false", ")", ";", "}", ""], "natrual_language": ["Restore", "the", "current", "options"], "TS_V_token": ["i386", "1u", "0"], "File": "i3866", "Func": "ix86_function_specific_restore", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19861, "Length": 394, "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": 19862, "Length": 23, "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\"", ")", ";", "Chain", "=", "emitCLC", "(", "DAG", ",", "DL", ",", "Chain", ",", "Src1", ",", "Src2", ",", "Bytes", ")", ";", "SDValue", "Glue", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "return", "std", "::", "make_pair", "(", "addIPMSequence", "(", "DL", ",", "Glue", ",", "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": "SystemZSelectionDAGInfo20", "Func": "EmitTargetCodeForMemcmp", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19863, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mem_operand_ds_form", "(", "rtx", "op", ",", "machine_mode", "mode", ")", "{", "unsigned", "HOST_WIDE_INT", "offset", ";", "int", "extra", ";", "rtx", "addr", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "address_is_prefixed", "(", "addr", ",", "mode", ",", "NON_PREFIXED_DS", ")", ")", "return", "true", ";", "if", "(", "!", "offsettable_address_p", "(", "false", ",", "mode", ",", "addr", ")", ")", "return", "false", ";", "op", "=", "address_offset", "(", "addr", ")", ";", "if", "(", "op", "==", "NULL_RTX", ")", "return", "true", ";", "offset", "=", "INTVAL", "(", "op", ")", ";", "if", "(", "(", "offset", "&", "3", ")", "!=", "0", ")", "return", "false", ";", "extra", "=", "GET_MODE_SIZE", "(", "mode", ")", "-", "UNITS_PER_WORD", ";", "if", "(", "extra", "<", "0", ")", "extra", "=", "0", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "LO_SUM", ")", "offset", "=", "(", "(", "offset", "&", "0xffff", ")", "^", "0x8000", ")", "-", "0x8000", ";", "return", "SIGNED_16BIT_OFFSET_EXTRA_P", "(", "offset", ",", "extra", ")", ";", "}", ""], "natrual_language": ["As", "above", ",", "but", "for", "DS-FORM", "VSX", "insns", ".", "Unlike", "mem_operand_gpr", ",", "enforce", "an", "offset", "divisible", "by", "4", "even", "for", "32-bit", "."], "TS_V_token": ["rs6000", "0", "3", "0", "0", "0", "0xffff", "0x8000", "0x8000"], "File": "rs6000", "Func": "mem_operand_ds_form", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19864, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "extract_branch_target_rtx", "(", "rtx_insn", "*", "insn", ")", "{", "gcc_assert", "(", "CALL_P", "(", "insn", ")", "||", "JUMP_P", "(", "insn", ")", ")", ";", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "body", ")", "==", "SET", ")", "{", "if", "(", "GET_CODE", "(", "SET_SRC", "(", "body", ")", ")", "==", "IF_THEN_ELSE", ")", "return", "NULL_RTX", ";", "return", "SET_SRC", "(", "body", ")", ";", "}", "if", "(", "GET_CODE", "(", "body", ")", "==", "CALL", ")", "return", "XEXP", "(", "body", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "body", ")", "==", "PARALLEL", ")", "{", "rtx", "first_rtx", "=", "parallel_element", "(", "body", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "first_rtx", ")", "==", "SET", ")", "return", "SET_SRC", "(", "first_rtx", ")", ";", "if", "(", "GET_CODE", "(", "first_rtx", ")", "==", "CALL", ")", "return", "XEXP", "(", "first_rtx", ",", "0", ")", ";", "}", "if", "(", "GET_CODE", "(", "body", ")", "==", "COND_EXEC", ")", "{", "rtx", "addr_rtx", "=", "XEXP", "(", "body", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "addr_rtx", ")", "==", "SET", ")", "return", "SET_SRC", "(", "addr_rtx", ")", ";", "if", "(", "GET_CODE", "(", "addr_rtx", ")", "==", "PARALLEL", ")", "{", "rtx", "first_rtx", "=", "parallel_element", "(", "addr_rtx", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "first_rtx", ")", "==", "SET", ")", "{", "rtx", "call_rtx", "=", "SET_SRC", "(", "first_rtx", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "call_rtx", ")", "==", "CALL", ")", ";", "return", "XEXP", "(", "call_rtx", ",", "0", ")", ";", "}", "if", "(", "GET_CODE", "(", "first_rtx", ")", "==", "CALL", ")", "return", "XEXP", "(", "first_rtx", ",", "0", ")", ";", "}", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Extract", "the", "rtx", "representing", "the", "branch", "target", "to", "help", "recognize", "data", "hazards", "."], "TS_V_token": ["nds32", "0", "0", "0", "1", "0", "0", "0"], "File": "nds32-utils", "Func": "extract_branch_target_rtx", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19865, "Length": 247, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "isCopyInstrImpl", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "*", "&", "Src", ",", "const", "MachineOperand", "*", "&", "Dest", ")", "const", "{", "if", "(", "MI", ".", "isMoveReg", "(", ")", ")", "{", "Dest", "=", "&", "MI", ".", "getOperand", "(", "0", ")", ";", "Src", "=", "&", "MI", ".", "getOperand", "(", "1", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "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": "X86InstrInfo1", "Func": "isCopyInstrImpl", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19866, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "shouldInsertFencesForAtomic", "(", "const", "Instruction", "*", "I", ")", "const", "{", "return", "InsertFencesForAtomic", ";", "}", ""], "natrual_language": ["Helper", "functions", "for", "atomic", "operations", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMISelLowering (2)5", "Func": "shouldInsertFencesForAtomic", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19867, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ")", "const", "{", "static", "const", "char", "Nops", "[", "10", "]", "[", "11", "]", "=", "{", "\"\\x90\"", ",", "\"\\x66\\x90\"", ",", "\"\\x0f\\x1f\\x00\"", ",", "\"\\x0f\\x1f\\x40\\x00\"", ",", "\"\\x0f\\x1f\\x44\\x00\\x00\"", ",", "\"\\x66\\x0f\\x1f\\x44\\x00\\x00\"", ",", "\"\\x0f\\x1f\\x80\\x00\\x00\\x00\\x00\"", ",", "\"\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", ",", "\"\\x66\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", ",", "\"\\x66\\x2e\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", ",", "}", ";", "uint64_t", "MaxNopLength", "=", "(", "uint64_t", ")", "getMaximumNopSize", "(", ")", ";", "do", "{", "const", "uint8_t", "ThisNopLength", "=", "(", "uint8_t", ")", "std", "::", "min", "(", "Count", ",", "MaxNopLength", ")", ";", "const", "uint8_t", "Prefixes", "=", "ThisNopLength", "<=", "10", "?", "0", ":", "ThisNopLength", "-", "10", ";", "for", "(", "uint8_t", "i", "=", "0", ";", "i", "<", "Prefixes", ";", "i", "++", ")", "OS", "<<", "'\\x66'", ";", "const", "uint8_t", "Rest", "=", "ThisNopLength", "-", "Prefixes", ";", "if", "(", "Rest", "!=", "0", ")", "OS", ".", "write", "(", "Nops", "[", "Rest", "-", "1", "]", ",", "Rest", ")", ";", "Count", "-=", "ThisNopLength", ";", "}", "while", "(", "Count", "!=", "0", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["X86", "X86", "10", "11", "\"\\x90\"", "\"\\x66\\x90\"", "\"\\x0f\\x1f\\x00\"", "\"\\x0f\\x1f\\x40\\x00\"", "\"\\x0f\\x1f\\x44\\x00\\x00\"", "\"\\x66\\x0f\\x1f\\x44\\x00\\x00\"", "\"\\x0f\\x1f\\x80\\x00\\x00\\x00\\x00\"", "\"\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", "\"\\x66\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", "\"\\x66\\x2e\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", "10", "0", "10", "0", "0", "1", "0"], "File": "X86AsmBackend14", "Func": "writeNopData", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19868, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_final_prescan_insn", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "aarch64_madd_needs_nop", "(", "insn", ")", ")", "fprintf", "(", "asm_out_file", ",", "\"\\tnop // between mem op and mult-accumulate\\n\"", ")", ";", "}", ""], "natrual_language": ["Implement", "FINAL_PRESCAN_INSN", "."], "TS_V_token": ["aarch64", "\"\\tnop // between mem op and mult-accumulate\\n\""], "File": "aarch64", "Func": "aarch64_final_prescan_insn", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19869, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ArrayRef", "<", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">>", "MipsInstrInfo", "::", "getSerializableDirectMachineOperandTargetFlags", "(", ")", "const", "{", "using", "namespace", "MipsII", ";", "static", "const", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">", "Flags", "[", "]", "=", "{", "{", "MO_GOT", ",", "\"mips-got\"", "}", ",", "{", "MO_GOT_CALL", ",", "\"mips-got-call\"", "}", ",", "{", "MO_GPREL", ",", "\"mips-gprel\"", "}", ",", "{", "MO_ABS_HI", ",", "\"mips-abs-hi\"", "}", ",", "{", "MO_ABS_LO", ",", "\"mips-abs-lo\"", "}", ",", "{", "MO_TLSGD", ",", "\"mips-tlsgd\"", "}", ",", "{", "MO_TLSLDM", ",", "\"mips-tlsldm\"", "}", ",", "{", "MO_DTPREL_HI", ",", "\"mips-dtprel-hi\"", "}", ",", "{", "MO_DTPREL_LO", ",", "\"mips-dtprel-lo\"", "}", ",", "{", "MO_GOTTPREL", ",", "\"mips-gottprel\"", "}", ",", "{", "MO_TPREL_HI", ",", "\"mips-tprel-hi\"", "}", ",", "{", "MO_TPREL_LO", ",", "\"mips-tprel-lo\"", "}", ",", "{", "MO_GPOFF_HI", ",", "\"mips-gpoff-hi\"", "}", ",", "{", "MO_GPOFF_LO", ",", "\"mips-gpoff-lo\"", "}", ",", "{", "MO_GOT_DISP", ",", "\"mips-got-disp\"", "}", ",", "{", "MO_GOT_PAGE", ",", "\"mips-got-page\"", "}", ",", "{", "MO_GOT_OFST", ",", "\"mips-got-ofst\"", "}", ",", "{", "MO_HIGHER", ",", "\"mips-higher\"", "}", ",", "{", "MO_HIGHEST", ",", "\"mips-highest\"", "}", ",", "{", "MO_GOT_HI16", ",", "\"mips-got-hi16\"", "}", ",", "{", "MO_GOT_LO16", ",", "\"mips-got-lo16\"", "}", ",", "{", "MO_CALL_HI16", ",", "\"mips-call-hi16\"", "}", ",", "{", "MO_CALL_LO16", ",", "\"mips-call-lo16\"", "}", "}", ";", "return", "makeArrayRef", "(", "Flags", ")", ";", "}", ""], "natrual_language": ["Return", "an", "array", "that", "contains", "the", "direct", "target", "flag", "values", "and", "their", "names", "."], "TS_V_token": ["Mips", "Mips", "Mips", "\"mips-got\"", "\"mips-got-call\"", "\"mips-gprel\"", "\"mips-abs-hi\"", "\"mips-abs-lo\"", "\"mips-tlsgd\"", "\"mips-tlsldm\"", "\"mips-dtprel-hi\"", "\"mips-dtprel-lo\"", "\"mips-gottprel\"", "\"mips-tprel-hi\"", "\"mips-tprel-lo\"", "\"mips-gpoff-hi\"", "\"mips-gpoff-lo\"", "\"mips-got-disp\"", "\"mips-got-page\"", "\"mips-got-ofst\"", "\"mips-higher\"", "\"mips-highest\"", "\"mips-got-hi16\"", "\"mips-got-lo16\"", "\"mips-call-hi16\"", "\"mips-call-lo16\""], "File": "MipsInstrInfo", "Func": "getSerializableDirectMachineOperandTargetFlags", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19870, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ArrayRef", "<", "MCPhysReg", ">", "Cpu0ABIInfo", "::", "GetVarArgRegs", "(", ")", "const", "{", "if", "(", "IsO32", "(", ")", ")", "return", "makeArrayRef", "(", "O32IntRegs", ")", ";", "if", "(", "IsS32", "(", ")", ")", "return", "makeArrayRef", "(", "S32IntRegs", ")", ";", "llvm_unreachable", "(", "\"Unhandled ABI\"", ")", ";", "}", ""], "natrual_language": ["The", "registers", "to", "use", "for", "the", "variable", "argument", "list", "."], "TS_V_token": ["Cpu0", "Cpu0", "\"Unhandled ABI\""], "File": "Cpu0ABIInfo", "Func": "GetVarArgRegs", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19871, "Length": 42, "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": 19872, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sparc_struct_value_rtx", "(", "tree", "fndecl", ",", "int", "incoming", ")", "{", "if", "(", "TARGET_ARCH64", ")", "return", "0", ";", "else", "{", "rtx", "mem", ";", "if", "(", "incoming", ")", "mem", "=", "gen_frame_mem", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "frame_pointer_rtx", ",", "STRUCT_VALUE_OFFSET", ")", ")", ";", "else", "mem", "=", "gen_frame_mem", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "STRUCT_VALUE_OFFSET", ")", ")", ";", "if", "(", "incoming", "==", "2", "&&", "sparc_std_struct_return", "&&", "TYPE_SIZE_UNIT", "(", "TREE_TYPE", "(", "fndecl", ")", ")", "&&", "TREE_CODE", "(", "TYPE_SIZE_UNIT", "(", "TREE_TYPE", "(", "fndecl", ")", ")", ")", "==", "INTEGER_CST", ")", "{", "rtx", "ret_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "31", ")", ";", "rtx", "scratch", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx_code_label", "*", "endlab", "=", "gen_label_rtx", "(", ")", ";", "tree", "size", "=", "TYPE_SIZE_UNIT", "(", "TREE_TYPE", "(", "fndecl", ")", ")", ";", "rtx", "size_rtx", "=", "GEN_INT", "(", "TREE_INT_CST_LOW", "(", "size", ")", "&", "0xfff", ")", ";", "rtx", "temp_val", "=", "assign_stack_local", "(", "Pmode", ",", "TREE_INT_CST_LOW", "(", "size", ")", ",", "0", ")", ";", "emit_move_insn", "(", "scratch", ",", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "ret_reg", ",", "8", ")", ")", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "ret_reg", ",", "ret_reg", ",", "GEN_INT", "(", "4", ")", ")", ")", ";", "emit_cmp_and_jump_insns", "(", "scratch", ",", "size_rtx", ",", "EQ", ",", "const0_rtx", ",", "SImode", ",", "0", ",", "endlab", ")", ";", "emit_insn", "(", "gen_sub3_insn", "(", "ret_reg", ",", "ret_reg", ",", "GEN_INT", "(", "4", ")", ")", ")", ";", "emit_move_insn", "(", "mem", ",", "XEXP", "(", "temp_val", ",", "0", ")", ")", ";", "emit_label", "(", "endlab", ")", ";", "}", "return", "mem", ";", "}", "}", ""], "natrual_language": ["Handle", "the", "TARGET_STRUCT_VALUE", "target", "hook", ".", "Return", "where", "to", "find", "the", "structure", "return", "value", "address", "."], "TS_V_token": ["sparc", "0", "2", "31", "0xfff", "0", "8", "4", "0", "4", "0"], "File": "sparc4", "Func": "sparc_struct_value_rtx", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19873, "Length": 244, "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", ".", "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", ")", "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": "MipsCodeEmitter21", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19874, "Length": 254, "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": 19875, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ",", "bool", "ForCodeSize", ")", "const", "{", "if", "(", "!", "VT", ".", "isSimple", "(", ")", "||", "!", "Subtarget", ".", "hasVSX", "(", ")", ")", "return", "false", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "return", "false", ";", "case", "MVT", "::", "f32", ":", "case", "MVT", "::", "f64", ":", "if", "(", "Subtarget", ".", "hasPrefixInstrs", "(", ")", ")", "{", "return", "true", ";", "}", "LLVM_FALLTHROUGH", ";", "case", "MVT", "::", "ppcf128", ":", "return", "Imm", ".", "isPosZero", "(", ")", ";", "}", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "can", "instruction", "select", "the", "specified", "FP", "immediate", "natively", "."], "TS_V_token": ["PowerPC", "PPC", "MVT::f32", "MVT::f64", "MVT::ppcf128"], "File": "PPCISelLowering109", "Func": "isFPImmLegal", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19876, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_function_arg_advance", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "int", "regno", ",", "padding", ";", "function_arg_slotno", "(", "cum", ",", "mode", ",", "type", ",", "named", ",", "false", ",", "&", "regno", ",", "&", "padding", ")", ";", "cum", "->", "words", "+=", "padding", ";", "if", "(", "TARGET_ARCH32", ")", "cum", "->", "words", "+=", "(", "mode", "==", "BLKmode", "?", "CEIL_NWORDS", "(", "int_size_in_bytes", "(", "type", ")", ")", ":", "CEIL_NWORDS", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", ")", ";", "else", "{", "if", "(", "type", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "int", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "if", "(", "size", "<=", "8", ")", "++", "cum", "->", "words", ";", "else", "if", "(", "size", "<=", "16", ")", "cum", "->", "words", "+=", "2", ";", "else", "++", "cum", "->", "words", ";", "}", "else", "cum", "->", "words", "+=", "(", "mode", "==", "BLKmode", "?", "CEIL_NWORDS", "(", "int_size_in_bytes", "(", "type", ")", ")", ":", "CEIL_NWORDS", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", ")", ";", "}", "}", ""], "natrual_language": ["Handle", "the", "TARGET_FUNCTION_ARG_ADVANCE", "hook", ".", "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": ["sparc", "8", "16", "2"], "File": "sparc5", "Func": "sparc_function_arg_advance", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19877, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_linux_float_exceptions_rounding_supported_p", "(", "void", ")", "{", "if", "(", "OPTION_GLIBC", ")", "return", "true", ";", "else", "return", "TARGET_HARD_FLOAT", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FLOAT_EXCEPTIONS_ROUNDING_SUPPORTED_P", "."], "TS_V_token": ["rs6000"], "File": "rs6000-linux", "Func": "rs6000_linux_float_exceptions_rounding_supported_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19878, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_mode_dependent_address_p", "(", "const_rtx", "addr", ",", "addr_space_t", "as", "ATTRIBUTE_UNUSED", ")", "{", "return", "rs6000_mode_dependent_address_ptr", "(", "addr", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MODE_DEPENDENT_ADDRESS_P", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_mode_dependent_address_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19879, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "DestSourcePair", ">", "AArch64InstrInfo", "::", "isCopyInstrImpl", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "ORRWrs", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "AArch64", "::", "WZR", "&&", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "==", "0x0", ")", "{", "return", "DestSourcePair", "{", "MI", ".", "getOperand", "(", "0", ")", ",", "MI", ".", "getOperand", "(", "2", ")", "}", ";", "}", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "ORRXrs", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "AArch64", "::", "XZR", "&&", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "==", "0x0", ")", "{", "return", "DestSourcePair", "{", "MI", ".", "getOperand", "(", "0", ")", ",", "MI", ".", "getOperand", "(", "2", ")", "}", ";", "}", "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": ["AArch64", "AArch64", "AArch64::ORRWrs", "1", "AArch64::WZR", "3", "0x0", "0", "2", "AArch64::ORRXrs", "1", "AArch64::XZR", "3", "0x0", "0", "2"], "File": "AArch64InstrInfo104", "Func": "isCopyInstrImpl", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19880, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isCheapToSpeculateCttz", "(", ")", "const", "{", "return", "Subtarget", "->", "hasV6T2Ops", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "cheap", "to", "speculate", "a", "call", "to", "intrinsic", "cttz", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMISelLowering (2)2", "Func": "isCheapToSpeculateCttz", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19881, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "toc_section", "(", ")", "{", "}", ""], "natrual_language": ["This", "is", "just", "a", "placeholder", "to", "make", "linking", "work", "without", "having", "to", "add", "this", "to", "the", "generic", "Darwin", "EXTRA_SECTIONS", ".", "If", "-mcall-aix", "is", "ever", "needed", "for", "Darwin", "(", "not", "too", "likely", "!", ")", "this", "would", "have", "to", "get", "a", "real", "definition", "."], "TS_V_token": ["rs6000"], "File": "rs60002", "Func": "toc_section", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19882, "Length": 6, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "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": ["X86", "X86"], "File": "X86FrameLowering (2)", "Func": "hasReservedCallFrame", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19883, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "offset_9bit_signed_scaled_p", "(", "machine_mode", "mode", ",", "poly_int64", "offset", ")", "{", "HOST_WIDE_INT", "multiple", ";", "return", "(", "constant_multiple_p", "(", "offset", ",", "GET_MODE_SIZE", "(", "mode", ")", ",", "&", "multiple", ")", "&&", "IN_RANGE", "(", "multiple", ",", "-", "256", ",", "255", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OFFSET", "is", "a", "signed", "9-bit", "value", "multiplied", "by", "the", "size", "of", "MODE", "."], "TS_V_token": ["aarch64", "256", "255"], "File": "aarch64", "Func": "offset_9bit_signed_scaled_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19884, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pa_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", "arg_size", "=", "pa_function_arg_size", "(", "mode", ",", "type", ")", ";", "cum", "->", "nargs_prototype", "--", ";", "cum", "->", "words", "+=", "(", "arg_size", "+", "(", "(", "cum", "->", "words", "&", "01", ")", "&&", "type", "!=", "NULL_TREE", "&&", "arg_size", ">", "1", ")", ")", ";", "}", ""], "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": ["pa", "01", "1"], "File": "pa7", "Func": "pa_function_arg_advance", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19885, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "findDeadCallerSavedReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "const", "TargetRegisterInfo", "&", "TRI", ",", "bool", "Is64Bit", ")", "{", "const", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "Function", "*", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "if", "(", "!", "F", "||", "MF", "->", "getMMI", "(", ")", ".", "callsEHReturn", "(", ")", ")", "return", "0", ";", "static", "const", "uint16_t", "CallerSavedRegs32Bit", "[", "]", "=", "{", "X86", "::", "EAX", ",", "X86", "::", "EDX", ",", "X86", "::", "ECX", ",", "0", "}", ";", "static", "const", "uint16_t", "CallerSavedRegs64Bit", "[", "]", "=", "{", "X86", "::", "RAX", ",", "X86", "::", "RDX", ",", "X86", "::", "RCX", ",", "X86", "::", "RSI", ",", "X86", "::", "RDI", ",", "X86", "::", "R8", ",", "X86", "::", "R9", ",", "X86", "::", "R10", ",", "X86", "::", "R11", ",", "0", "}", ";", "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", ")", ";", "}", "const", "uint16_t", "*", "CS", "=", "Is64Bit", "?", "CallerSavedRegs64Bit", ":", "CallerSavedRegs32Bit", ";", "for", "(", ";", "*", "CS", ";", "++", "CS", ")", "if", "(", "!", "Uses", ".", "count", "(", "*", "CS", ")", ")", "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", "0", "X86::EAX", "X86::EDX", "X86::ECX", "0", "X86::RAX", "X86::RDX", "X86::RCX", "X86::RSI", "X86::RDI", "X86::R8", "X86::R9", "X86::R10", "X86::R11", "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", "0"], "File": "X86FrameLowering (2)", "Func": "findDeadCallerSavedReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19886, "Length": 360, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc_expand_prologue", "(", "void", ")", "{", "HOST_WIDE_INT", "size", ";", "rtx_insn", "*", "insn", ";", "sparc_leaf_function_p", "=", "optimize", ">", "0", "&&", "crtl", "->", "is_leaf", "&&", "only_leaf_regs_used", "(", ")", ";", "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", "||", "flag_stack_clash_protection", ")", "{", "if", "(", "crtl", "->", "is_leaf", "&&", "!", "cfun", "->", "calls_alloca", ")", "{", "if", "(", "size", ">", "PROBE_INTERVAL", "&&", "size", ">", "get_stack_check_protect", "(", ")", ")", "sparc_emit_probe_stack_range", "(", "get_stack_check_protect", "(", ")", ",", "size", "-", "get_stack_check_protect", "(", ")", ")", ";", "}", "else", "if", "(", "size", ">", "0", ")", "sparc_emit_probe_stack_range", "(", "get_stack_check_protect", "(", ")", ",", "size", ")", ";", "}", "if", "(", "size", "==", "0", ")", ";", "else", "if", "(", "sparc_leaf_function_p", ")", "{", "rtx", "size_int_rtx", "=", "GEN_INT", "(", "-", "size", ")", ";", "if", "(", "size", "<=", "4096", ")", "insn", "=", "emit_insn", "(", "gen_stack_pointer_inc", "(", "size_int_rtx", ")", ")", ";", "else", "if", "(", "size", "<=", "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", "-", "size", ")", ")", ")", ";", "}", "else", "{", "rtx", "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_FRAME_RELATED_EXPR", ",", "gen_stack_pointer_inc", "(", "size_int_rtx", ")", ")", ";", "}", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "emit_insn", "(", "gen_frame_blockage", "(", ")", ")", ";", "}", "else", "{", "rtx", "size_int_rtx", "=", "GEN_INT", "(", "-", "size", ")", ";", "if", "(", "size", "<=", "4096", ")", "emit_window_save", "(", "size_int_rtx", ")", ";", "else", "if", "(", "size", "<=", "8192", ")", "{", "emit_window_save", "(", "GEN_INT", "(", "-", "4096", ")", ")", ";", "emit_insn", "(", "gen_stack_pointer_inc", "(", "GEN_INT", "(", "4096", "-", "size", ")", ")", ")", ";", "emit_insn", "(", "gen_frame_blockage", "(", ")", ")", ";", "}", "else", "{", "rtx", "size_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "emit_move_insn", "(", "size_rtx", ",", "size_int_rtx", ")", ";", "emit_window_save", "(", "size_rtx", ")", ";", "}", "}", "if", "(", "sparc_leaf_function_p", ")", "{", "sparc_frame_base_reg", "=", "stack_pointer_rtx", ";", "sparc_frame_base_offset", "=", "size", "+", "SPARC_STACK_BIAS", ";", "}", "else", "{", "sparc_frame_base_reg", "=", "hard_frame_pointer_rtx", ";", "sparc_frame_base_offset", "=", "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", ")", ";", "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", "PIC", "register", "if", "needed", "."], "TS_V_token": ["sparc", "0", "0", "0", "4096", "8192", "4096", "1", "4096", "1", "1", "4096", "8192", "4096", "4096", "1", "0"], "File": "sparc1", "Func": "sparc_expand_prologue", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19887, "Length": 385, "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": ["rs6000", "12"], "File": "rs60005", "Func": "rs6000_live_on_entry", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19888, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "supersparc_adjust_cost", "(", "rtx", "insn", ",", "rtx", "link", ",", "rtx", "dep_insn", ",", "int", "cost", ")", "{", "enum", "attr_type", "insn_type", ";", "if", "(", "!", "recog_memoized", "(", "insn", ")", ")", "return", "0", ";", "insn_type", "=", "get_attr_type", "(", "insn", ")", ";", "if", "(", "REG_NOTE_KIND", "(", "link", ")", "==", "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": "sparc3", "Func": "supersparc_adjust_cost", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19889, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_destroy_cost_data", "(", "void", "*", "data", ")", "{", "free", "(", "data", ")", ";", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.destroy_cost_data", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_destroy_cost_data", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19890, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "FramePtr", ":", "StackPtr", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["X86", "X86"], "File": "X86RegisterInfo37", "Func": "getFrameRegister", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19891, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "mayBeEmittedAsTailCall", "(", "const", "CallInst", "*", "CI", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "isSVR4ABI", "(", ")", "||", "!", "Subtarget", ".", "isPPC64", "(", ")", ")", "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", "PPC", "\"disable-tail-calls\"", "\"true\""], "File": "PPCISelLowering (2)7", "Func": "mayBeEmittedAsTailCall", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19892, "Length": 167, "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", "(", "auto", "L", "=", "df_begin", "(", "I", ")", ",", "LE", "=", "df_end", "(", "I", ")", ";", "L", "!=", "LE", ";", "++", "L", ")", "if", "(", "L", "->", "isInnermost", "(", ")", ")", "runOnLoop", "(", "*", "*", "L", ",", "Fn", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64FalkorHWPFFix8", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19893, "Length": 149, "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", "(", "PseudoSourceValue", "::", "getFixedStack", "(", "FI", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "0", ",", "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", "0", "ARM::tRestore", "0"], "File": "Thumb1InstrInfo11", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19894, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDLoc", "dl", "(", "N", ")", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Do not know how to custom type legalize this operation!\"", ")", ";", "case", "ISD", "::", "READCYCLECOUNTER", ":", "{", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "MVT", "::", "i32", ",", "MVT", "::", "i32", ",", "MVT", "::", "Other", ")", ";", "SDValue", "RTB", "=", "DAG", ".", "getNode", "(", "PPCISD", "::", "READ_TIME_BASE", ",", "dl", ",", "VTs", ",", "N", "->", "getOperand", "(", "0", ")", ")", ";", "Results", ".", "push_back", "(", "RTB", ")", ";", "Results", ".", "push_back", "(", "RTB", ".", "getValue", "(", "1", ")", ")", ";", "Results", ".", "push_back", "(", "RTB", ".", "getValue", "(", "2", ")", ")", ";", "break", ";", "}", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "{", "if", "(", "cast", "<", "ConstantSDNode", ">", "(", "N", "->", "getOperand", "(", "1", ")", ")", "->", "getZExtValue", "(", ")", "!=", "Intrinsic", "::", "loop_decrement", ")", "break", ";", "assert", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i1", "&&", "\"Unexpected result type for CTR decrement intrinsic\"", ")", ";", "EVT", "SVT", "=", "getSetCCResultType", "(", "DAG", ".", "getDataLayout", "(", ")", ",", "*", "DAG", ".", "getContext", "(", ")", ",", "N", "->", "getValueType", "(", "0", ")", ")", ";", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "SVT", ",", "MVT", "::", "Other", ")", ";", "SDValue", "NewInt", "=", "DAG", ".", "getNode", "(", "N", "->", "getOpcode", "(", ")", ",", "dl", ",", "VTs", ",", "N", "->", "getOperand", "(", "0", ")", ",", "N", "->", "getOperand", "(", "1", ")", ")", ";", "Results", ".", "push_back", "(", "DAG", ".", "getNode", "(", "ISD", "::", "TRUNCATE", ",", "dl", ",", "MVT", "::", "i1", ",", "NewInt", ")", ")", ";", "Results", ".", "push_back", "(", "NewInt", ".", "getValue", "(", "1", ")", ")", ";", "break", ";", "}", "case", "ISD", "::", "VAARG", ":", "{", "if", "(", "!", "Subtarget", ".", "isSVR4ABI", "(", ")", "||", "Subtarget", ".", "isPPC64", "(", ")", ")", "return", ";", "EVT", "VT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "if", "(", "VT", "==", "MVT", "::", "i64", ")", "{", "SDValue", "NewNode", "=", "LowerVAARG", "(", "SDValue", "(", "N", ",", "1", ")", ",", "DAG", ")", ";", "Results", ".", "push_back", "(", "NewNode", ")", ";", "Results", ".", "push_back", "(", "NewNode", ".", "getValue", "(", "1", ")", ")", ";", "}", "return", ";", "}", "case", "ISD", "::", "FP_TO_SINT", ":", "case", "ISD", "::", "FP_TO_UINT", ":", "if", "(", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", "==", "MVT", "::", "ppcf128", ")", "return", ";", "Results", ".", "push_back", "(", "LowerFP_TO_INT", "(", "SDValue", "(", "N", ",", "0", ")", ",", "DAG", ",", "dl", ")", ")", ";", "return", ";", "case", "ISD", "::", "TRUNCATE", ":", "{", "EVT", "TrgVT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "if", "(", "TrgVT", ".", "isVector", "(", ")", "&&", "isOperationCustom", "(", "N", "->", "getOpcode", "(", ")", ",", "TrgVT", ")", "&&", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", ".", "getSizeInBits", "(", ")", "<=", "128", ")", "Results", ".", "push_back", "(", "LowerTRUNCATEVector", "(", "SDValue", "(", "N", ",", "0", ")", ",", "DAG", ")", ")", ";", "return", ";", "}", "case", "ISD", "::", "BITCAST", ":", "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": ["PowerPC", "PPC", "\"Do not know how to custom type legalize this operation!\"", "ISD::READCYCLECOUNTER", "MVT::i32", "MVT::i32", "MVT::Other", "PPCISD::READ_TIME_BASE", "0", "1", "2", "ISD::INTRINSIC_W_CHAIN", "1", "Intrinsic::loop_decrement", "0", "MVT::i1", "\"Unexpected result type for CTR decrement intrinsic\"", "0", "MVT::Other", "0", "1", "ISD::TRUNCATE", "MVT::i1", "1", "ISD::VAARG", "PPC", "0", "MVT::i64", "1", "1", "ISD::FP_TO_SINT", "ISD::FP_TO_UINT", "0", "MVT::ppcf128", "0", "ISD::TRUNCATE", "0", "0", "128", "0", "ISD::BITCAST"], "File": "PPCISelLowering140", "Func": "ReplaceNodeResults", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19895, "Length": 494, "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": 19896, "Length": 143, "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": 19897, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "assert", "(", "&", "MF", ".", "front", "(", ")", "==", "&", "MBB", "&&", "\"Shrink-wrapping not yet supported\"", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "Mips16InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "Mips16InstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "0", "&&", "!", "MFI", ".", "adjustsStack", "(", ")", ")", "return", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "MCRegisterInfo", "*", "MRI", "=", "MMI", ".", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MachineLocation", "DstML", ",", "SrcML", ";", "TII", ".", "makeFrame", "(", "Mips", "::", "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", "(", ")", ")", "{", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "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", "DReg", "=", "MRI", "->", "getDwarfRegNum", "(", "Reg", ",", "true", ")", ";", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createOffset", "(", "nullptr", ",", "DReg", ",", "Offset", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "}", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "MoveR3216", ")", ",", "Mips", "::", "S0", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "\"Shrink-wrapping not yet supported\"", "Mips", "Mips", "0", "Mips::SP", "Mips::MoveR3216", "Mips::S0", "Mips::SP"], "File": "Mips16FrameLowering23", "Func": "emitPrologue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19898, "Length": 382, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "{", "return", "3", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["X86", "3"], "File": "X86MCCodeEmitter69", "Func": "getNumFixupKinds", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19899, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"OR1K Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["OR1K", "\"OR1K Assembly Printer\""], "File": "OR1KAsmPrinter", "Func": "getPassName", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19900, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addIRPasses", "(", ")", "{", "if", "(", "getARMSubtarget", "(", ")", ".", "isTargetNaCl", "(", ")", ")", "{", "addPass", "(", "createInsertDivideCheckPass", "(", ")", ")", ";", "}", "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"], "File": "ARMTargetMachine46", "Func": "addIRPasses", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19901, "Length": 33, "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": ["Mips"], "File": "MipsAsmPrinter54", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19902, "Length": 21, "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": 19903, "Length": 346, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "!", "getMipsSubtarget", "(", ")", ".", "hasMips64", "(", ")", ")", "PM", ".", "add", "(", "createMipsEmitGPRestorePass", "(", "getMipsTargetMachine", "(", ")", ")", ")", ";", "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", "Mips", "Mips"], "File": "MipsTargetMachine86", "Func": "addPreRegAlloc", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19904, "Length": 34, "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", ";", "if", "(", "Arg", ".", "hasByValOrInAllocaAttr", "(", ")", ")", "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": "ARMCallLowering13", "Func": "lowerFormalArguments", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19905, "Length": 344, "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": 19906, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "return", "LowerOperationWrapper", "(", "N", ",", "Results", ",", "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": ["SystemZ", "SystemZ"], "File": "SystemZISelLowering (2)2", "Func": "ReplaceNodeResults", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19907, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCFastISel", "::", "fastLowerArguments", "(", ")", "{", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "by", "target-independent", "code", "to", "do", "target-", "specific", "argument", "lowering", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCFastISel (2)", "Func": "fastLowerArguments", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19908, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetLowering", "::", "HandleByVal", "(", "CCState", "*", "State", ",", "unsigned", "&", "size", ")", "const", "{", "unsigned", "reg", "=", "State", "->", "AllocateReg", "(", "GPRArgRegs", ",", "4", ")", ";", "assert", "(", "(", "State", "->", "getCallOrPrologue", "(", ")", "==", "Prologue", "||", "State", "->", "getCallOrPrologue", "(", ")", "==", "Call", ")", "&&", "\"unhandled ParmContext\"", ")", ";", "if", "(", "(", "!", "State", "->", "isFirstByValRegValid", "(", ")", ")", "&&", "(", "ARM", "::", "R0", "<=", "reg", ")", "&&", "(", "reg", "<=", "ARM", "::", "R3", ")", ")", "{", "State", "->", "setFirstByValReg", "(", "reg", ")", ";", "if", "(", "State", "->", "getCallOrPrologue", "(", ")", "==", "Call", ")", "{", "unsigned", "excess", "=", "4", "*", "(", "ARM", "::", "R4", "-", "reg", ")", ";", "assert", "(", "size", ">=", "excess", "&&", "\"expected larger existing stack allocation\"", ")", ";", "size", "-=", "excess", ";", "}", "}", "while", "(", "State", "->", "AllocateReg", "(", "GPRArgRegs", ",", "4", ")", ")", ";", "}", ""], "natrual_language": ["Target-specific", "cleanup", "for", "formal", "ByVal", "parameters", "."], "TS_V_token": ["ARM", "ARM", "4", "\"unhandled ParmContext\"", "ARM::R0", "ARM::R3", "4", "ARM::R4", "\"expected larger existing stack allocation\"", "4"], "File": "ARMISelLowering116", "Func": "HandleByVal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19909, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "SMLoc", "Loc", "=", "DirectiveID", ".", "getLoc", "(", ")", ";", "if", "(", "IDVal", "==", "\".hword\"", ")", "return", "parseDirectiveWord", "(", "2", ",", "Loc", ")", ";", "if", "(", "IDVal", "==", "\".word\"", ")", "return", "parseDirectiveWord", "(", "4", ",", "Loc", ")", ";", "if", "(", "IDVal", "==", "\".xword\"", ")", "return", "parseDirectiveWord", "(", "8", ",", "Loc", ")", ";", "if", "(", "IDVal", "==", "\".tlsdesccall\"", ")", "return", "parseDirectiveTLSDescCall", "(", "Loc", ")", ";", "return", "parseDirectiveLOH", "(", "IDVal", ",", "Loc", ")", ";", "}", ""], "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": "AArch64AsmParser45", "Func": "ParseDirective", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19910, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "match_bracketed_pair", "(", "typeinfo", "*", "typedata", ",", "char", "open", ",", "char", "close", ",", "restriction", "restr", ")", "{", "if", "(", "linebuf", "[", "pos", "]", "==", "open", ")", "{", "safe_inc_pos", "(", ")", ";", "int", "oldpos", "=", "pos", ";", "char", "*", "x", "=", "match_integer", "(", ")", ";", "if", "(", "x", "==", "NULL", ")", "{", "diag", "(", "oldpos", ",", "\"malformed integer.\\n\"", ")", ";", "return", "0", ";", "}", "consume_whitespace", "(", ")", ";", "if", "(", "linebuf", "[", "pos", "]", "!=", "','", ")", "{", "diag", "(", "pos", ",", "\"missing comma.\\n\"", ")", ";", "return", "0", ";", "}", "safe_inc_pos", "(", ")", ";", "consume_whitespace", "(", ")", ";", "oldpos", "=", "pos", ";", "char", "*", "y", "=", "match_integer", "(", ")", ";", "if", "(", "y", "==", "NULL", ")", "{", "diag", "(", "oldpos", ",", "\"malformed integer.\\n\"", ")", ";", "return", "0", ";", "}", "typedata", "->", "restr", "=", "restr", ";", "typedata", "->", "val1", "=", "x", ";", "typedata", "->", "val2", "=", "y", ";", "consume_whitespace", "(", ")", ";", "if", "(", "linebuf", "[", "pos", "]", "!=", "close", ")", "{", "diag", "(", "pos", ",", "\"malformed restriction.\\n\"", ")", ";", "return", "0", ";", "}", "safe_inc_pos", "(", ")", ";", "return", "1", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Helper", "routine", "for", "match_const_restriction", "."], "TS_V_token": ["rs6000", "\"malformed integer.\\n\"", "0", "\"missing comma.\\n\"", "0", "\"malformed integer.\\n\"", "0", "\"malformed restriction.\\n\"", "0", "1", "0"], "File": "rs6000-gen-builtins", "Func": "match_bracketed_pair", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19911, "Length": 181, "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": 19912, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MandarinTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "Op", ".", "dump", "(", ")", ";", "DAG", ".", "dump", "(", ")", ";", "llvm_unreachable", "(", "\"Should not custom lower this!\"", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBR_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EXTRACT_VECTOR_ELT", ":", "return", "LowerEXTRACT_VECTOR_ELT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "case", "ISD", "::", "ConstantPool", ":", "return", "LowerAddress", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Mandarin", "\"Should not custom lower this!\"", "ISD::BR_CC", "ISD::SELECT_CC", "ISD::EXTRACT_VECTOR_ELT", "ISD::GlobalAddress", "ISD::ConstantPool"], "File": "MandarinISelLowering", "Func": "LowerOperation", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19913, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "AArch64InstrInfo", "::", "getTailDuplicateSize", "(", "CodeGenOpt", "::", "Level", "OptLevel", ")", "const", "{", "return", "OptLevel", ">=", "CodeGenOpt", "::", "Aggressive", "?", "6", ":", "2", ";", "}", ""], "natrual_language": ["Returns", "the", "target-specific", "default", "value", "for", "tail", "duplication", "."], "TS_V_token": ["AArch64", "AArch64", "6", "2"], "File": "AArch64InstrInfo105", "Func": "getTailDuplicateSize", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19914, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MMIXFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "SavedRegs", ".", "set", "(", "MMIX", "::", "r253", ")", ";", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["MMIX", "MMIX", "MMIX::r253"], "File": "MMIXFrameLowering", "Func": "determineCalleeSaves", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19915, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "iq2000_setup_incoming_varargs", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "tree", "type", "ATTRIBUTE_UNUSED", ",", "int", "*", "pretend_size", ",", "int", "no_rtl", ")", "{", "unsigned", "int", "iq2000_off", "=", "!", "cum", "->", "last_arg_fp", ";", "unsigned", "int", "iq2000_fp_off", "=", "cum", "->", "last_arg_fp", ";", "if", "(", "(", "cum", "->", "arg_words", "<", "MAX_ARGS_IN_REGISTERS", "-", "iq2000_off", ")", ")", "{", "int", "iq2000_save_gp_regs", "=", "MAX_ARGS_IN_REGISTERS", "-", "cum", "->", "arg_words", "-", "iq2000_off", ";", "int", "iq2000_save_fp_regs", "=", "(", "MAX_ARGS_IN_REGISTERS", "-", "cum", "->", "fp_arg_words", "-", "iq2000_fp_off", ")", ";", "if", "(", "iq2000_save_gp_regs", "<", "0", ")", "iq2000_save_gp_regs", "=", "0", ";", "if", "(", "iq2000_save_fp_regs", "<", "0", ")", "iq2000_save_fp_regs", "=", "0", ";", "*", "pretend_size", "=", "(", "(", "iq2000_save_gp_regs", "*", "UNITS_PER_WORD", ")", "+", "(", "iq2000_save_fp_regs", "*", "UNITS_PER_FPREG", ")", ")", ";", "if", "(", "!", "(", "no_rtl", ")", ")", "{", "if", "(", "cum", "->", "arg_words", "<", "MAX_ARGS_IN_REGISTERS", "-", "iq2000_off", ")", "{", "rtx", "ptr", ",", "mem", ";", "ptr", "=", "plus_constant", "(", "virtual_incoming_args_rtx", ",", "-", "(", "iq2000_save_gp_regs", "*", "UNITS_PER_WORD", ")", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "BLKmode", ",", "ptr", ")", ";", "move_block_from_reg", "(", "cum", "->", "arg_words", "+", "GP_ARG_FIRST", "+", "iq2000_off", ",", "mem", ",", "iq2000_save_gp_regs", ")", ";", "}", "}", "}", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["iq2000", "0", "0", "0", "0"], "File": "iq20002", "Func": "iq2000_setup_incoming_varargs", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19916, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "use_toc_relative_ref", "(", "rtx", "sym", ")", "{", "return", "(", "(", "constant_pool_expr_p", "(", "sym", ")", "&&", "ASM_OUTPUT_SPECIAL_POOL_ENTRY_P", "(", "get_pool_constant", "(", "sym", ")", ",", "get_pool_mode", "(", "sym", ")", ")", ")", "||", "(", "TARGET_CMODEL", "==", "CMODEL_MEDIUM", "&&", "SYMBOL_REF_LOCAL_P", "(", "sym", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "iff", "the", "given", "SYMBOL_REF", "refers", "to", "a", "constant", "pool", "entry", "that", "we", "have", "put", "in", "the", "TOC", ",", "or", "for", "cmodel=medium", ",", "if", "the", "SYMBOL_REF", "can", "be", "addressed", "relative", "to", "the", "toc", "pointer", "."], "TS_V_token": ["rs6000"], "File": "rs60004", "Func": "use_toc_relative_ref", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19917, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_387_reg_move", "(", "rtx", "insn", ",", "rtx", "*", "operands", ")", "{", "if", "(", "REG_P", "(", "operands", "[", "0", "]", ")", ")", "{", "if", "(", "REG_P", "(", "operands", "[", "1", "]", ")", "&&", "find_regno_note", "(", "insn", ",", "REG_DEAD", ",", "REGNO", "(", "operands", "[", "1", "]", ")", ")", ")", "{", "if", "(", "REGNO", "(", "operands", "[", "0", "]", ")", "==", "FIRST_STACK_REG", ")", "return", "output_387_ffreep", "(", "operands", ",", "0", ")", ";", "return", "\"fstp\\t%y0\"", ";", "}", "if", "(", "STACK_TOP_P", "(", "operands", "[", "0", "]", ")", ")", "return", "\"fld%Z1\\t%y1\"", ";", "return", "\"fst\\t%y0\"", ";", "}", "else", "if", "(", "MEM_P", "(", "operands", "[", "0", "]", ")", ")", "{", "gcc_assert", "(", "REG_P", "(", "operands", "[", "1", "]", ")", ")", ";", "if", "(", "find_regno_note", "(", "insn", ",", "REG_DEAD", ",", "REGNO", "(", "operands", "[", "1", "]", ")", ")", ")", "return", "\"fstp%Z0\\t%y0\"", ";", "else", "{", "if", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", "==", "XFmode", ")", "return", "\"fstp%Z0\\t%y0\\n\\tfld%Z0\\t%y0\"", ";", "else", "return", "\"fst%Z0\\t%y0\"", ";", "}", "}", "else", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Output", "code", "to", "perform", "an", "x87", "FP", "register", "move", ",", "from", "OPERANDS", "[", "1", "]", "to", "OPERANDS", "[", "0", "]", "."], "TS_V_token": ["i386", "0", "1", "1", "0", "0", "\"fstp\\t%y0\"", "0", "\"fld%Z1\\t%y1\"", "\"fst\\t%y0\"", "0", "1", "1", "\"fstp%Z0\\t%y0\"", "0", "\"fstp%Z0\\t%y0\\n\\tfld%Z0\\t%y0\"", "\"fst%Z0\\t%y0\""], "File": "i3864", "Func": "output_387_reg_move", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19918, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLegalMaskedStore", "(", "Type", "*", "DataTy", ")", "{", "return", "isLegalMaskedLoad", "(", "DataTy", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "store", "."], "TS_V_token": ["ARM"], "File": "ARMTargetTransformInfo22", "Func": "isLegalMaskedStore", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19919, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_memory_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "rclass", ",", "bool", "in", "ATTRIBUTE_UNUSED", ")", "{", "int", "ret", ";", "if", "(", "TARGET_DEBUG_COST", ")", "dbg_cost_ctrl", "++", ";", "if", "(", "reg_classes_intersect_p", "(", "rclass", ",", "GENERAL_REGS", ")", ")", "ret", "=", "4", "*", "hard_regno_nregs", "(", "0", ",", "mode", ")", ";", "else", "if", "(", "(", "reg_classes_intersect_p", "(", "rclass", ",", "FLOAT_REGS", ")", "||", "reg_classes_intersect_p", "(", "rclass", ",", "VSX_REGS", ")", ")", ")", "ret", "=", "4", "*", "hard_regno_nregs", "(", "32", ",", "mode", ")", ";", "else", "if", "(", "reg_classes_intersect_p", "(", "rclass", ",", "ALTIVEC_REGS", ")", ")", "ret", "=", "4", "*", "hard_regno_nregs", "(", "FIRST_ALTIVEC_REGNO", ",", "mode", ")", ";", "else", "ret", "=", "4", "+", "rs6000_register_move_cost", "(", "mode", ",", "rclass", ",", "GENERAL_REGS", ")", ";", "if", "(", "TARGET_DEBUG_COST", ")", "{", "if", "(", "dbg_cost_ctrl", "==", "1", ")", "fprintf", "(", "stderr", ",", "\"rs6000_memory_move_cost: ret=%d, mode=%s, rclass=%s, in=%d\\n\"", ",", "ret", ",", "GET_MODE_NAME", "(", "mode", ")", ",", "reg_class_names", "[", "rclass", "]", ",", "in", ")", ";", "dbg_cost_ctrl", "--", ";", "}", "return", "ret", ";", "}", ""], "natrual_language": ["A", "C", "expressions", "returning", "the", "cost", "of", "moving", "data", "of", "MODE", "from", "a", "register", "to", "or", "from", "memory", "."], "TS_V_token": ["rs6000", "4", "0", "4", "32", "4", "4", "1", "\"rs6000_memory_move_cost: ret=%d, mode=%s, rclass=%s, in=%d\\n\""], "File": "rs6000", "Func": "rs6000_memory_move_cost", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19920, "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", ")", ";", "if", "(", "!", "table", ")", "{", "assert", "(", "(", "Subtarget", ".", "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\"", "3", "\"256-bit vector operations only available in AVX2\"", "\"Cannot change domain\"", "1"], "File": "X86InstrInfo (2)2", "Func": "setExecutionDomain", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19921, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "ARMSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "STI", ".", "getFrameLowering", "(", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "return", "getFramePointerReg", "(", "STI", ")", ";", "return", "ARM", "::", "SP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM::SP"], "File": "ARMBaseRegisterInfo22", "Func": "getFrameRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19922, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcAsmPrinter", "::", "isBlockOnlyReachableByFallthrough", "(", "const", "MachineBasicBlock", "*", "MBB", ")", "const", "{", "if", "(", "MBB", "->", "isLandingPad", "(", ")", "||", "MBB", "->", "pred_empty", "(", ")", ")", "return", "false", ";", "MachineBasicBlock", "::", "const_pred_iterator", "PI", "=", "MBB", "->", "pred_begin", "(", ")", ",", "PI2", "=", "PI", ";", "++", "PI2", ";", "if", "(", "PI2", "!=", "MBB", "->", "pred_end", "(", ")", ")", "return", "false", ";", "const", "MachineBasicBlock", "*", "Pred", "=", "*", "PI", ";", "if", "(", "!", "Pred", "->", "isLayoutSuccessor", "(", "MBB", ")", ")", "return", "false", ";", "MachineBasicBlock", "::", "const_iterator", "I", "=", "Pred", "->", "end", "(", ")", ";", "while", "(", "I", "!=", "Pred", "->", "begin", "(", ")", "&&", "!", "(", "--", "I", ")", "->", "getDesc", "(", ")", ".", "isTerminator", "(", ")", ")", ";", "return", "I", "==", "Pred", "->", "end", "(", ")", "||", "!", "I", "->", "getDesc", "(", ")", ".", "isBarrier", "(", ")", ";", "}", ""], "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": ["Sparc", "Sparc"], "File": "SparcAsmPrinter28", "Func": "isBlockOnlyReachableByFallthrough", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19923, "Length": 138, "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": 19924, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "save_restore_insns", "(", "int", "store_p", ")", "{", "long", "mask", "=", "cfun", "->", "machine", "->", "mask", ";", "int", "regno", ";", "rtx", "base_reg_rtx", ";", "HOST_WIDE_INT", "base_offset", ";", "HOST_WIDE_INT", "gp_offset", ";", "HOST_WIDE_INT", "end_offset", ";", "gcc_assert", "(", "!", "frame_pointer_needed", "||", "BITSET_P", "(", "mask", ",", "HARD_FRAME_POINTER_REGNUM", "-", "GP_REG_FIRST", ")", ")", ";", "if", "(", "mask", "==", "0", ")", "{", "base_reg_rtx", "=", "0", ",", "base_offset", "=", "0", ";", "return", ";", "}", "gp_offset", "=", "cfun", "->", "machine", "->", "gp_sp_offset", ";", "end_offset", "=", "gp_offset", "-", "(", "cfun", "->", "machine", "->", "gp_reg_size", "-", "GET_MODE_SIZE", "(", "gpr_mode", ")", ")", ";", "if", "(", "gp_offset", "<", "0", "||", "end_offset", "<", "0", ")", "internal_error", "(", "\"% (%ld) or % (%ld) is less than zero\"", ",", "(", "long", ")", "gp_offset", ",", "(", "long", ")", "end_offset", ")", ";", "else", "if", "(", "gp_offset", "<", "32768", ")", "base_reg_rtx", "=", "stack_pointer_rtx", ",", "base_offset", "=", "0", ";", "else", "{", "int", "regno", ";", "int", "reg_save_count", "=", "0", ";", "for", "(", "regno", "=", "GP_REG_LAST", ";", "regno", ">=", "GP_REG_FIRST", ";", "regno", "--", ")", "if", "(", "BITSET_P", "(", "mask", ",", "regno", "-", "GP_REG_FIRST", ")", ")", "reg_save_count", "+=", "1", ";", "base_offset", "=", "gp_offset", "-", "(", "(", "reg_save_count", "-", "1", ")", "*", "4", ")", ";", "base_reg_rtx", "=", "iq2000_add_large_offset_to_sp", "(", "base_offset", ")", ";", "}", "for", "(", "regno", "=", "GP_REG_LAST", ";", "regno", ">=", "GP_REG_FIRST", ";", "regno", "--", ")", "{", "if", "(", "BITSET_P", "(", "mask", ",", "regno", "-", "GP_REG_FIRST", ")", ")", "{", "rtx", "reg_rtx", ";", "rtx", "mem_rtx", "=", "gen_rtx_MEM", "(", "gpr_mode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "base_reg_rtx", ",", "GEN_INT", "(", "gp_offset", "-", "base_offset", ")", ")", ")", ";", "reg_rtx", "=", "gen_rtx_REG", "(", "gpr_mode", ",", "regno", ")", ";", "if", "(", "store_p", ")", "iq2000_emit_frame_related_store", "(", "mem_rtx", ",", "reg_rtx", ",", "gp_offset", ")", ";", "else", "{", "emit_move_insn", "(", "reg_rtx", ",", "mem_rtx", ")", ";", "}", "gp_offset", "-=", "GET_MODE_SIZE", "(", "gpr_mode", ")", ";", "}", "}", "}", ""], "natrual_language": ["Save", "or", "restore", "instructions", "based", "on", "whether", "this", "is", "the", "prologue", "or", "epilogue", ".", "prologue", "is", "1", "for", "the", "prologue", "."], "TS_V_token": ["iq2000", "0", "0", "0", "0", "0", "\"% (%ld) or % (%ld) is less than zero\"", "32768", "0", "0", "1", "1", "4"], "File": "iq2000", "Func": "save_restore_insns", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19925, "Length": 283, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmBackend", "::", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "if", "(", "Inst", ".", "getFlags", "(", ")", "&", "X86", "::", "EXTRA_DO_NOT_RELAX", ")", "return", "false", ";", "if", "(", "getRelaxedOpcodeBranch", "(", "Inst", ",", "false", ")", "!=", "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": ["X86", "X86", "X86::EXTRA_DO_NOT_RELAX", "1"], "File": "X86AsmBackend14", "Func": "mayNeedRelaxation", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19926, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "SelectAddressRegReg", "(", "SDValue", "N", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Index", ",", "SelectionDAG", "&", "DAG", ",", "unsigned", "EncodingAlignment", ")", "const", "{", "int16_t", "imm", "=", "0", ";", "if", "(", "N", ".", "getOpcode", "(", ")", "==", "ISD", "::", "ADD", ")", "{", "if", "(", "hasSPE", "(", ")", "&&", "SelectAddressEVXRegReg", "(", "N", ",", "Base", ",", "Index", ",", "DAG", ")", ")", "return", "true", ";", "if", "(", "isIntS16Immediate", "(", "N", ".", "getOperand", "(", "1", ")", ",", "imm", ")", "&&", "(", "!", "EncodingAlignment", "||", "!", "(", "imm", "%", "EncodingAlignment", ")", ")", ")", "return", "false", ";", "if", "(", "N", ".", "getOperand", "(", "1", ")", ".", "getOpcode", "(", ")", "==", "PPCISD", "::", "Lo", ")", "return", "false", ";", "Base", "=", "N", ".", "getOperand", "(", "0", ")", ";", "Index", "=", "N", ".", "getOperand", "(", "1", ")", ";", "return", "true", ";", "}", "else", "if", "(", "N", ".", "getOpcode", "(", ")", "==", "ISD", "::", "OR", ")", "{", "if", "(", "isIntS16Immediate", "(", "N", ".", "getOperand", "(", "1", ")", ",", "imm", ")", "&&", "(", "!", "EncodingAlignment", "||", "!", "(", "imm", "%", "EncodingAlignment", ")", ")", ")", "return", "false", ";", "KnownBits", "LHSKnown", "=", "DAG", ".", "computeKnownBits", "(", "N", ".", "getOperand", "(", "0", ")", ")", ";", "if", "(", "LHSKnown", ".", "Zero", ".", "getBoolValue", "(", ")", ")", "{", "KnownBits", "RHSKnown", "=", "DAG", ".", "computeKnownBits", "(", "N", ".", "getOperand", "(", "1", ")", ")", ";", "if", "(", "~", "(", "LHSKnown", ".", "Zero", "|", "RHSKnown", ".", "Zero", ")", "==", "0", ")", "{", "Base", "=", "N", ".", "getOperand", "(", "0", ")", ";", "Index", "=", "N", ".", "getOperand", "(", "1", ")", ";", "return", "true", ";", "}", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["SelectAddressRegReg", "-", "Given", "the", "specified", "addressed", ",", "check", "to", "see", "if", "it", "can", "be", "more", "efficiently", "represented", "as", "[", "r+imm", "]", "."], "TS_V_token": ["PowerPC", "PPC", "0", "ISD::ADD", "1", "1", "PPCISD::Lo", "0", "1", "ISD::OR", "1", "0", "1", "0", "0", "1"], "File": "PPCISelLowering103", "Func": "SelectAddressRegReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19927, "Length": 262, "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": ["LC3"], "File": "LC3Subtarget", "Func": "getInstrItineraryData", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19928, "Length": 14, "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", ":", "case", "tGPRRegClassID", ":", "return", "getRegBank", "(", "ARM", "::", "GPRRegBankID", ")", ";", "case", "SPR_8RegClassID", ":", "case", "SPRRegClassID", ":", "case", "DPR_8RegClassID", ":", "case", "DPRRegClassID", ":", "return", "getRegBank", "(", "ARM", "::", "FPRRegBankID", ")", ";", "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", "ARM::FPRRegBankID", "\"Unsupported register kind\"", "\"Switch should handle all register classes\""], "File": "ARMRegisterBankInfo16", "Func": "getRegBankFromRegClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19929, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "seh_cfa_adjust_cfa", "(", "FILE", "*", "f", ",", "struct", "seh_frame_state", "*", "seh", ",", "rtx", "pat", ")", "{", "rtx", "dest", ",", "src", ";", "HOST_WIDE_INT", "reg_offset", "=", "0", ";", "unsigned", "int", "dest_regno", ";", "dest", "=", "SET_DEST", "(", "pat", ")", ";", "src", "=", "SET_SRC", "(", "pat", ")", ";", "if", "(", "GET_CODE", "(", "src", ")", "==", "PLUS", ")", "{", "reg_offset", "=", "INTVAL", "(", "XEXP", "(", "src", ",", "1", ")", ")", ";", "src", "=", "XEXP", "(", "src", ",", "0", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "src", ")", "==", "MINUS", ")", "{", "reg_offset", "=", "-", "INTVAL", "(", "XEXP", "(", "src", ",", "1", ")", ")", ";", "src", "=", "XEXP", "(", "src", ",", "0", ")", ";", "}", "gcc_assert", "(", "src", "==", "stack_pointer_rtx", ")", ";", "gcc_assert", "(", "seh", "->", "cfa_reg", "==", "stack_pointer_rtx", ")", ";", "dest_regno", "=", "REGNO", "(", "dest", ")", ";", "if", "(", "dest_regno", "==", "STACK_POINTER_REGNUM", ")", "seh_emit_stackalloc", "(", "f", ",", "seh", ",", "reg_offset", ")", ";", "else", "if", "(", "dest_regno", "==", "HARD_FRAME_POINTER_REGNUM", ")", "{", "HOST_WIDE_INT", "offset", ";", "seh", "->", "cfa_reg", "=", "dest", ";", "seh", "->", "cfa_offset", "-=", "reg_offset", ";", "offset", "=", "seh", "->", "sp_offset", "-", "seh", "->", "cfa_offset", ";", "gcc_assert", "(", "(", "offset", "&", "15", ")", "==", "0", ")", ";", "gcc_assert", "(", "IN_RANGE", "(", "offset", ",", "0", ",", "240", ")", ")", ";", "fputs", "(", "\"\\t.seh_setframe\\t\"", ",", "f", ")", ";", "print_reg", "(", "seh", "->", "cfa_reg", ",", "0", ",", "f", ")", ";", "fprintf", "(", "f", ",", "\", \"", "HOST_WIDE_INT_PRINT_DEC", "\"\\n\"", ",", "offset", ")", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Process", "REG_CFA_ADJUST_CFA", "for", "SEH", "."], "TS_V_token": ["i386", "0", "1", "0", "1", "0", "15", "0", "0", "240", "\"\\t.seh_setframe\\t\"", "0", "\", \"", "\"\\n\""], "File": "winnt", "Func": "seh_cfa_adjust_cfa", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19930, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ia64_expand_atomic_op", "(", "enum", "rtx_code", "code", ",", "rtx", "mem", ",", "rtx", "val", ",", "rtx", "old_dst", ",", "rtx", "new_dst", ")", "{", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "rtx", "old_reg", ",", "new_reg", ",", "cmp_reg", ",", "ar_ccv", ",", "label", ";", "enum", "insn_code", "icode", ";", "if", "(", "(", "mode", "==", "SImode", "||", "mode", "==", "DImode", ")", "&&", "(", "code", "==", "PLUS", "||", "code", "==", "MINUS", ")", "&&", "fetchadd_operand", "(", "val", ",", "mode", ")", ")", "{", "if", "(", "code", "==", "MINUS", ")", "val", "=", "GEN_INT", "(", "-", "INTVAL", "(", "val", ")", ")", ";", "if", "(", "!", "old_dst", ")", "old_dst", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_memory_barrier", "(", ")", ")", ";", "if", "(", "mode", "==", "SImode", ")", "icode", "=", "CODE_FOR_fetchadd_acq_si", ";", "else", "icode", "=", "CODE_FOR_fetchadd_acq_di", ";", "emit_insn", "(", "GEN_FCN", "(", "icode", ")", "(", "old_dst", ",", "mem", ",", "val", ")", ")", ";", "if", "(", "new_dst", ")", "{", "new_reg", "=", "expand_simple_binop", "(", "mode", ",", "PLUS", ",", "old_dst", ",", "val", ",", "new_dst", ",", "true", ",", "OPTAB_WIDEN", ")", ";", "if", "(", "new_reg", "!=", "new_dst", ")", "emit_move_insn", "(", "new_dst", ",", "new_reg", ")", ";", "}", "return", ";", "}", "gcc_assert", "(", "MEM_VOLATILE_P", "(", "mem", ")", ")", ";", "old_reg", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "cmp_reg", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "label", "=", "gen_label_rtx", "(", ")", ";", "if", "(", "mode", "!=", "DImode", ")", "{", "val", "=", "simplify_gen_subreg", "(", "DImode", ",", "val", ",", "mode", ",", "0", ")", ";", "emit_insn", "(", "gen_extend_insn", "(", "cmp_reg", ",", "mem", ",", "DImode", ",", "mode", ",", "1", ")", ")", ";", "}", "else", "emit_move_insn", "(", "cmp_reg", ",", "mem", ")", ";", "emit_label", "(", "label", ")", ";", "ar_ccv", "=", "gen_rtx_REG", "(", "DImode", ",", "AR_CCV_REGNUM", ")", ";", "emit_move_insn", "(", "old_reg", ",", "cmp_reg", ")", ";", "emit_move_insn", "(", "ar_ccv", ",", "cmp_reg", ")", ";", "if", "(", "old_dst", ")", "emit_move_insn", "(", "old_dst", ",", "gen_lowpart", "(", "mode", ",", "cmp_reg", ")", ")", ";", "new_reg", "=", "cmp_reg", ";", "if", "(", "code", "==", "NOT", ")", "{", "new_reg", "=", "expand_simple_unop", "(", "DImode", ",", "NOT", ",", "new_reg", ",", "NULL_RTX", ",", "true", ")", ";", "code", "=", "AND", ";", "}", "new_reg", "=", "expand_simple_binop", "(", "DImode", ",", "code", ",", "new_reg", ",", "val", ",", "NULL_RTX", ",", "true", ",", "OPTAB_DIRECT", ")", ";", "if", "(", "mode", "!=", "DImode", ")", "new_reg", "=", "gen_lowpart", "(", "mode", ",", "new_reg", ")", ";", "if", "(", "new_dst", ")", "emit_move_insn", "(", "new_dst", ",", "new_reg", ")", ";", "switch", "(", "mode", ")", "{", "case", "QImode", ":", "icode", "=", "CODE_FOR_cmpxchg_rel_qi", ";", "break", ";", "case", "HImode", ":", "icode", "=", "CODE_FOR_cmpxchg_rel_hi", ";", "break", ";", "case", "SImode", ":", "icode", "=", "CODE_FOR_cmpxchg_rel_si", ";", "break", ";", "case", "DImode", ":", "icode", "=", "CODE_FOR_cmpxchg_rel_di", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "emit_insn", "(", "GEN_FCN", "(", "icode", ")", "(", "cmp_reg", ",", "mem", ",", "ar_ccv", ",", "new_reg", ")", ")", ";", "emit_cmp_and_jump_insns", "(", "cmp_reg", ",", "old_reg", ",", "NE", ",", "NULL", ",", "DImode", ",", "true", ",", "label", ")", ";", "}", ""], "natrual_language": ["Expand", "an", "atomic", "operation", ".", "We", "want", "to", "perform", "MEM", "<", "CODE", ">", "=", "VAL", "atomically", ".", "This", "differs", "from", "the", "generic", "code", "in", "that", "we", "know", "about", "the", "zero-extending", "properties", "of", "cmpxchg", ",", "and", "the", "zero-extending", "requirements", "of", "ar.ccv", ".", "We", "also", "know", "that", "ld.acq+cmpxchg.rel", "equals", "a", "full", "barrier", ".", "The", "loop", "we", "want", "to", "generate", "looks", "like", "cmp_reg", "=", "mem", ";", "label", ":", "old_reg", "=", "cmp_reg", ";", "new_reg", "=", "cmp_reg", "op", "val", ";", "cmp_reg", "=", "compare-and-swap", "(", "mem", ",", "old_reg", ",", "new_reg", ")", "if", "(", "cmp_reg", "!", "=", "old_reg", ")", "goto", "label", ";", "Note", "that", "we", "only", "do", "the", "plain", "load", "from", "memory", "once", ".", "Subsequent", "iterations", "use", "the", "value", "loaded", "by", "the", "compare-and-swap", "pattern", "."], "TS_V_token": ["ia64", "0", "1"], "File": "ia643", "Func": "ia64_expand_atomic_op", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19931, "Length": 457, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TargetLowering", "::", "ComputeNumSignBitsForTargetNode", "(", "SDValue", "Op", ",", "unsigned", "Depth", ")", "const", "{", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "X86ISD", "::", "SETCC_CARRY", ")", "return", "Op", ".", "getValueType", "(", ")", ".", "getScalarType", "(", ")", ".", "getSizeInBits", "(", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Determine", "the", "number", "of", "bits", "in", "the", "operation", "that", "are", "sign", "bits", "."], "TS_V_token": ["X86", "X86", "X86ISD::SETCC_CARRY", "1"], "File": "X86ISelLowering (2)1", "Func": "ComputeNumSignBitsForTargetNode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19932, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "getTgtMemIntrinsic", "(", "IntrinsicInfo", "&", "Info", ",", "const", "CallInst", "&", "I", ",", "unsigned", "Intrinsic", ")", "const", "{", "const", "IntrinsicData", "*", "IntrData", "=", "getIntrinsicWithChain", "(", "Intrinsic", ")", ";", "if", "(", "!", "IntrData", ")", "return", "false", ";", "switch", "(", "IntrData", "->", "Type", ")", "{", "case", "LOADA", ":", "case", "LOADU", ":", "{", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_W_CHAIN", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVT", "(", "I", ".", "getType", "(", ")", ")", ";", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "0", ")", ";", "Info", ".", "offset", "=", "0", ";", "Info", ".", "align", "=", "(", "IntrData", "->", "Type", "==", "LOADA", "?", "Info", ".", "memVT", ".", "getSizeInBits", "(", ")", "/", "8", ":", "1", ")", ";", "Info", ".", "vol", "=", "false", ";", "Info", ".", "readMem", "=", "true", ";", "Info", ".", "writeMem", "=", "false", ";", "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": ["X86", "X86", "ISD::INTRINSIC_W_CHAIN", "MVT::getVT", "0", "0", "8", "1"], "File": "X86ISelLowering197", "Func": "getTgtMemIntrinsic", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19933, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiFrameLowering", "::", "determineFrameLayout", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "LanaiRegisterInfo", "*", "LRI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "FrameSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "Align", "StackAlign", "=", "LRI", "->", "needsStackRealignment", "(", "MF", ")", "?", "MFI", ".", "getMaxAlign", "(", ")", ":", "getStackAlign", "(", ")", ";", "unsigned", "MaxCallFrameSize", "=", "MFI", ".", "getMaxCallFrameSize", "(", ")", ";", "if", "(", "MFI", ".", "hasVarSizedObjects", "(", ")", ")", "MaxCallFrameSize", "=", "alignTo", "(", "MaxCallFrameSize", ",", "StackAlign", ")", ";", "MFI", ".", "setMaxCallFrameSize", "(", "MaxCallFrameSize", ")", ";", "if", "(", "!", "(", "hasReservedCallFrame", "(", "MF", ")", "&&", "MFI", ".", "adjustsStack", "(", ")", ")", ")", "FrameSize", "+=", "MaxCallFrameSize", ";", "FrameSize", "=", "alignTo", "(", "FrameSize", ",", "StackAlign", ")", ";", "MFI", ".", "setStackSize", "(", "FrameSize", ")", ";", "}", ""], "natrual_language": ["Determine", "the", "frame", "layout", "but", "do", "not", "update", "the", "machine", "function", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai"], "File": "LanaiFrameLowering2", "Func": "determineFrameLayout", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19934, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "X86RegisterInfo", "&", "RegInfo", "=", "*", "static_cast", "<", "const", "X86RegisterInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "unsigned", "StackPtr", "=", "RegInfo", ".", "getStackRegister", "(", ")", ";", "bool", "reseveCallFrame", "=", "hasReservedCallFrame", "(", "MF", ")", ";", "int", "Opcode", "=", "I", "->", "getOpcode", "(", ")", ";", "bool", "isDestroy", "=", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ";", "const", "X86Subtarget", "&", "STI", "=", "MF", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "bool", "IsLP64", "=", "STI", ".", "isTarget64BitLP64", "(", ")", ";", "DebugLoc", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "uint64_t", "Amount", "=", "!", "reseveCallFrame", "?", "I", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ":", "0", ";", "uint64_t", "CalleeAmt", "=", "isDestroy", "?", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ":", "0", ";", "I", "=", "MBB", ".", "erase", "(", "I", ")", ";", "if", "(", "!", "reseveCallFrame", ")", "{", "if", "(", "Amount", "==", "0", ")", "return", ";", "unsigned", "StackAlign", "=", "MF", ".", "getTarget", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "getFrameLowering", "(", ")", "->", "getStackAlignment", "(", ")", ";", "Amount", "=", "(", "Amount", "+", "StackAlign", "-", "1", ")", "/", "StackAlign", "*", "StackAlign", ";", "MachineInstr", "*", "New", "=", "nullptr", ";", "if", "(", "Opcode", "==", "TII", ".", "getCallFrameSetupOpcode", "(", ")", ")", "{", "New", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "getSUBriOpcode", "(", "IsLP64", ",", "Amount", ")", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ")", ";", "Amount", "-=", "CalleeAmt", ";", "if", "(", "Amount", ")", "{", "unsigned", "Opc", "=", "getADDriOpcode", "(", "IsLP64", ",", "Amount", ")", ";", "New", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "}", "if", "(", "New", ")", "{", "New", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "return", ";", "}", "if", "(", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", "&&", "CalleeAmt", ")", "{", "unsigned", "Opc", "=", "getSUBriOpcode", "(", "IsLP64", ",", "CalleeAmt", ")", ";", "MachineInstr", "*", "New", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "CalleeAmt", ")", ";", "New", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "B", "=", "MBB", ".", "begin", "(", ")", ";", "while", "(", "I", "!=", "B", "&&", "!", "std", "::", "prev", "(", "I", ")", "->", "isCall", "(", ")", ")", "--", "I", ";", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "}", ""], "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", "X86", "X86", "X86", "X86", "0", "0", "1", "0", "0", "1", "3", "3"], "File": "X86FrameLowering120", "Func": "eliminateCallFramePseudoInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19935, "Length": 477, "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_ARMSOImm", ":", "if", "(", "Op", "->", "isImm", "(", ")", ")", "{", "const", "MCExpr", "*", "SOExpr", "=", "Op", "->", "getImm", "(", ")", ";", "int64_t", "Value", ";", "if", "(", "!", "SOExpr", "->", "EvaluateAsAbsolute", "(", "Value", ")", ")", "return", "Match_Success", ";", "assert", "(", "(", "Value", ">=", "INT32_MIN", "&&", "Value", "<=", "INT32_MAX", ")", "&&", "\"expression value must be representiable in 32 bits\"", ")", ";", "}", "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", "ARM", "\"expression value must be representiable in 32 bits\"", "ARM::GPRRegClassID"], "File": "ARMAsmParser (2)", "Func": "validateTargetOperandClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19936, "Length": 176, "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": 19937, "Length": 371, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCTTI", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "UnrollingPreferences", "&", "UP", ")", "const", "{", "if", "(", "ST", "->", "getDarwinDirective", "(", ")", "==", "PPC", "::", "DIR_A2", ")", "{", "UP", ".", "Partial", "=", "UP", ".", "Runtime", "=", "true", ";", "}", "}", ""], "natrual_language": ["Get", "target-customized", "preferences", "for", "the", "generic", "loop", "unrolling", "transformation", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::DIR_A2"], "File": "PPCTargetTransformInfo (2)", "Func": "getUnrollingPreferences", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19938, "Length": 40, "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": 19939, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "rs6000_builtin_mask_calculate", "(", "void", ")", "{", "return", "(", "(", "(", "TARGET_ALTIVEC", ")", "?", "RS6000_BTM_ALTIVEC", ":", "0", ")", "|", "(", "(", "TARGET_VSX", ")", "?", "RS6000_BTM_VSX", ":", "0", ")", "|", "(", "(", "TARGET_SPE", ")", "?", "RS6000_BTM_SPE", ":", "0", ")", "|", "(", "(", "TARGET_PAIRED_FLOAT", ")", "?", "RS6000_BTM_PAIRED", ":", "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_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", ")", "?", "RS6000_BTM_LDBL128", ":", "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"], "File": "rs60004", "Func": "rs6000_builtin_mask_calculate", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19940, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "function_arg_union_value", "(", "int", "size", ",", "machine_mode", "mode", ",", "int", "slotno", ",", "int", "regno", ")", "{", "int", "nwords", "=", "ROUND_ADVANCE", "(", "size", ")", ",", "i", ";", "rtx", "regs", ";", "if", "(", "nwords", "==", "0", ")", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "if", "(", "slotno", "==", "SPARC_INT_ARG_MAX", "-", "1", ")", "nwords", "=", "1", ";", "regs", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "rtvec_alloc", "(", "nwords", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nwords", ";", "i", "++", ")", "{", "XVECEXP", "(", "regs", ",", "0", ",", "i", ")", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "word_mode", ",", "regno", ")", ",", "GEN_INT", "(", "UNITS_PER_WORD", "*", "i", ")", ")", ";", "regno", "++", ";", "}", "return", "regs", ";", "}", ""], "natrual_language": ["Used", "by", "function_arg", "and", "sparc_function_value_1", "to", "implement", "the", "conventions", "of", "the", "64-bit", "ABI", "for", "passing", "and", "returning", "unions", ".", "Return", "an", "expression", "valid", "as", "a", "return", "value", "for", "the", "FUNCTION_ARG", "and", "TARGET_FUNCTION_VALUE", ".", "SIZE", "is", "the", "size", "in", "bytes", "of", "the", "union", ".", "MODE", "is", "the", "argument", "'s", "machine", "mode", ".", "REGNO", "is", "the", "hard", "register", "the", "union", "will", "be", "passed", "in", "."], "TS_V_token": ["sparc", "0", "1", "1", "0", "0"], "File": "sparc4", "Func": "function_arg_union_value", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19941, "Length": 118, "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": 19942, "Length": 240, "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", "&&", "GET_MODE", "(", "op1", ")", "!=", "VOIDmode", ")", "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-expand", "Func": "ix86_expand_vec_set_builtin", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19943, "Length": 205, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "neon_vector_mem_operand", "(", "rtx", "op", ",", "int", "type", ",", "bool", "strict", ")", "{", "rtx", "ind", ";", "if", "(", "!", "(", "reload_in_progress", "||", "reload_completed", ")", "&&", "(", "reg_mentioned_p", "(", "frame_pointer_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "arg_pointer_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "virtual_incoming_args_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "virtual_outgoing_args_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "virtual_stack_dynamic_rtx", ",", "op", ")", "||", "reg_mentioned_p", "(", "virtual_stack_vars_rtx", ",", "op", ")", ")", ")", "return", "!", "strict", ";", "if", "(", "!", "MEM_P", "(", "op", ")", ")", "return", "FALSE", ";", "ind", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "reload_completed", "&&", "(", "GET_CODE", "(", "ind", ")", "==", "LABEL_REF", "||", "(", "GET_CODE", "(", "ind", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "ind", ",", "0", ")", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "ind", ",", "0", ")", ",", "0", ")", ")", "==", "LABEL_REF", "&&", "CONST_INT_P", "(", "XEXP", "(", "XEXP", "(", "ind", ",", "0", ")", ",", "1", ")", ")", ")", ")", ")", "return", "TRUE", ";", "if", "(", "REG_P", "(", "ind", ")", ")", "return", "arm_address_register_rtx_p", "(", "ind", ",", "0", ")", ";", "if", "(", "(", "type", "!=", "1", "&&", "GET_CODE", "(", "ind", ")", "==", "POST_INC", ")", "||", "(", "type", "==", "0", "&&", "GET_CODE", "(", "ind", ")", "==", "PRE_DEC", ")", ")", "return", "arm_address_register_rtx_p", "(", "XEXP", "(", "ind", ",", "0", ")", ",", "0", ")", ";", "if", "(", "type", "==", "2", "&&", "GET_CODE", "(", "ind", ")", "==", "POST_MODIFY", "&&", "GET_CODE", "(", "XEXP", "(", "ind", ",", "1", ")", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "XEXP", "(", "ind", ",", "1", ")", ",", "1", ")", ")", ")", "return", "true", ";", "if", "(", "type", "==", "0", "&&", "GET_CODE", "(", "ind", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "ind", ",", "0", ")", ")", "&&", "REG_MODE_OK_FOR_BASE_P", "(", "XEXP", "(", "ind", ",", "0", ")", ",", "VOIDmode", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "ind", ",", "1", ")", ")", "&&", "INTVAL", "(", "XEXP", "(", "ind", ",", "1", ")", ")", ">", "-", "1024", "&&", "(", "INTVAL", "(", "XEXP", "(", "ind", ",", "1", ")", ")", "<", "(", "VALID_NEON_QREG_MODE", "(", "GET_MODE", "(", "op", ")", ")", "?", "1016", ":", "1024", ")", ")", "&&", "(", "INTVAL", "(", "XEXP", "(", "ind", ",", "1", ")", ")", "&", "3", ")", "==", "0", ")", "return", "TRUE", ";", "return", "FALSE", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "OP", "is", "a", "memory", "operand", "which", "we", "can", "load", "or", "store", "a", "vector", "to/from", ".", "TYPE", "is", "one", "of", "the", "following", "values", ":", "0", "-", "Vector", "load/stor", "(", "vldr", ")", "1", "-", "Core", "registers", "(", "ldm", ")", "2", "-", "Element/structure", "loads", "(", "vld1", ")"], "TS_V_token": ["arm", "0", "0", "0", "0", "0", "1", "0", "1", "0", "0", "0", "2", "1", "1", "1", "0", "0", "0", "1", "1", "1024", "1", "1016", "1024", "1", "3", "0"], "File": "arm4", "Func": "neon_vector_mem_operand", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19944, "Length": 368, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "csky_minipool_load_p", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "op1", ",", "addr", ";", "extract_insn_cached", "(", "insn", ")", ";", "op1", "=", "recog_data", ".", "operand", "[", "1", "]", ";", "if", "(", "CONSTANT_P", "(", "op1", ")", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "op1", ")", "==", "ZERO_EXTEND", "||", "GET_CODE", "(", "op1", ")", "==", "SIGN_EXTEND", ")", "op1", "=", "XEXP", "(", "op1", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "op1", ")", "!=", "MEM", ")", "return", "false", ";", "addr", "=", "XEXP", "(", "op1", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", "&&", "CONST_INT_P", "(", "XEXP", "(", "addr", ",", "1", ")", ")", ")", "addr", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "return", "GET_CODE", "(", "addr", ")", "==", "LABEL_REF", ";", "}", ""], "natrual_language": ["Return", "true", "if", "INSN", "is", "a", "minipool", "load", "or", "instruction", "that", "will", "be", "converted", "to", "one", ".", "It", "is", "assumed", "that", "INSN", "has", "type", "attribute", "``", "load", "''", "."], "TS_V_token": ["csky", "1", "0", "0", "1", "0"], "File": "csky", "Func": "csky_minipool_load_p", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19945, "Length": 120, "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": 19946, "Length": 287, "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", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "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": "rs60007", "Func": "rs6000_const_not_ok_for_debug_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19947, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "return", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["DLX"], "File": "DLXISelDAGToDAG", "Func": "runOnMachineFunction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19948, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nds32_expand_cpymemsi_loop_unknown_size", "(", "rtx", "dstmem", ",", "rtx", "srcmem", ",", "rtx", "size", ",", "rtx", "alignment", ")", "{", "rtx", "dst_base_reg", ",", "src_base_reg", ";", "rtx", "dst_itr", ",", "src_itr", ";", "rtx", "dstmem_m", ",", "srcmem_m", ",", "dst_itr_m", ",", "src_itr_m", ";", "rtx", "dst_end", ";", "rtx", "size_least_3_bit", ";", "rtx", "double_word_end", ";", "rtx", "double_word_mode_loop", ",", "byte_mode_entry", ",", "byte_mode_loop", ",", "end_label", ";", "rtx", "tmp", ";", "rtx", "mask_least_3_bit", ";", "int", "start_regno", ";", "bool", "align_to_4_bytes", "=", "(", "INTVAL", "(", "alignment", ")", "&", "3", ")", "==", "0", ";", "if", "(", "TARGET_ISA_V3M", "&&", "!", "align_to_4_bytes", ")", "return", "0", ";", "if", "(", "TARGET_REDUCED_REGS", ")", "start_regno", "=", "2", ";", "else", "start_regno", "=", "16", ";", "dst_itr", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "src_itr", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "dst_end", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "tmp", "=", "gen_reg_rtx", "(", "QImode", ")", ";", "mask_least_3_bit", "=", "GEN_INT", "(", "~", "7", ")", ";", "double_word_mode_loop", "=", "gen_label_rtx", "(", ")", ";", "byte_mode_entry", "=", "gen_label_rtx", "(", ")", ";", "byte_mode_loop", "=", "gen_label_rtx", "(", ")", ";", "end_label", "=", "gen_label_rtx", "(", ")", ";", "dst_base_reg", "=", "copy_to_mode_reg", "(", "Pmode", ",", "XEXP", "(", "dstmem", ",", "0", ")", ")", ";", "src_base_reg", "=", "copy_to_mode_reg", "(", "Pmode", ",", "XEXP", "(", "srcmem", ",", "0", ")", ")", ";", "size_least_3_bit", "=", "expand_binop", "(", "SImode", ",", "and_optab", ",", "size", ",", "mask_least_3_bit", ",", "NULL_RTX", ",", "0", ",", "OPTAB_WIDEN", ")", ";", "dst_end", "=", "expand_binop", "(", "Pmode", ",", "add_optab", ",", "dst_base_reg", ",", "size", ",", "NULL_RTX", ",", "0", ",", "OPTAB_WIDEN", ")", ";", "emit_move_insn", "(", "dst_itr", ",", "dst_base_reg", ")", ";", "emit_move_insn", "(", "src_itr", ",", "src_base_reg", ")", ";", "emit_cmp_and_jump_insns", "(", "size_least_3_bit", ",", "const0_rtx", ",", "EQ", ",", "NULL", ",", "SImode", ",", "1", ",", "byte_mode_entry", ")", ";", "double_word_end", "=", "expand_binop", "(", "Pmode", ",", "add_optab", ",", "dst_base_reg", ",", "size_least_3_bit", ",", "NULL_RTX", ",", "0", ",", "OPTAB_WIDEN", ")", ";", "emit_label", "(", "double_word_mode_loop", ")", ";", "src_itr_m", "=", "src_itr", ";", "dst_itr_m", "=", "dst_itr", ";", "srcmem_m", "=", "srcmem", ";", "dstmem_m", "=", "dstmem", ";", "nds32_emit_mem_move_block", "(", "start_regno", ",", "2", ",", "&", "dst_itr_m", ",", "&", "dstmem_m", ",", "&", "src_itr_m", ",", "&", "srcmem_m", ",", "true", ")", ";", "emit_move_insn", "(", "dst_itr", ",", "dst_itr_m", ")", ";", "emit_move_insn", "(", "src_itr", ",", "src_itr_m", ")", ";", "emit_cmp_and_jump_insns", "(", "double_word_end", ",", "dst_itr", ",", "NE", ",", "NULL", ",", "Pmode", ",", "1", ",", "double_word_mode_loop", ")", ";", "emit_label", "(", "byte_mode_entry", ")", ";", "emit_cmp_and_jump_insns", "(", "dst_itr", ",", "dst_end", ",", "EQ", ",", "NULL", ",", "Pmode", ",", "1", ",", "end_label", ")", ";", "emit_label", "(", "byte_mode_loop", ")", ";", "nds32_emit_post_inc_load_store", "(", "tmp", ",", "src_itr", ",", "QImode", ",", "true", ")", ";", "nds32_emit_post_inc_load_store", "(", "tmp", ",", "dst_itr", ",", "QImode", ",", "false", ")", ";", "emit_cmp_and_jump_insns", "(", "dst_itr", ",", "dst_end", ",", "NE", ",", "NULL", ",", "SImode", ",", "1", ",", "byte_mode_loop", ")", ";", "emit_label", "(", "end_label", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Auxiliary", "function", "for", "expand", "cpymem", "pattern", "."], "TS_V_token": ["nds32", "3", "0", "0", "2", "16", "7", "0", "0", "0", "0", "1", "0", "2", "1", "1", "1"], "File": "nds32-memory-manipulation", "Func": "nds32_expand_cpymemsi_loop_unknown_size", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19949, "Length": 424, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "csky_function_arg_advance", "(", "cumulative_args_t", "pcum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "pcum", "=", "get_cumulative_args", "(", "pcum_v", ")", ";", "int", "param_size", "=", "csky_num_arg_regs", "(", "mode", ",", "type", ")", ";", "if", "(", "*", "pcum", "+", "param_size", ">", "CSKY_NPARM_REGS", ")", "*", "pcum", "=", "CSKY_NPARM_REGS", ";", "else", "*", "pcum", "+=", "param_size", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_ARG_ADVANCE", "."], "TS_V_token": ["csky"], "File": "csky2", "Func": "csky_function_arg_advance", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19950, "Length": 58, "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": 19951, "Length": 80, "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", ")", "{", "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": "X86FrameLowering112", "Func": "orderFrameObjects", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19952, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "X86TargetMachine", "&", "getTargetMachine", "(", ")", "{", "return", "static_cast", "<", "const", "X86TargetMachine", "&", ">", "(", "TM", ")", ";", "}", ""], "natrual_language": ["Return", "the", "target", "machine", "(", "if", "available", ")", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86ISelDAGToDAG103", "Func": "getTargetMachine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19953, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseInstrInfo", "::", "isLoadFromStackSlotPostFE", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "const", "MachineMemOperand", "*", "Dummy", ";", "return", "MI", "->", "mayLoad", "(", ")", "&&", "hasLoadFromStackSlot", "(", "MI", ",", "Dummy", ",", "FrameIndex", ")", ";", "}", ""], "natrual_language": ["isLoadFromStackSlotPostFE", "-", "Check", "for", "post-frame", "ptr", "elimination", "stack", "locations", "as", "well", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMBaseInstrInfo (2)", "Func": "isLoadFromStackSlotPostFE", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19954, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToReg", "(", "Register", "ValVReg", ",", "Register", "PhysReg", ",", "CCValAssign", "&", "VA", ")", "override", "{", "MIB", ".", "addUse", "(", "PhysReg", ",", "RegState", "::", "Implicit", ")", ";", "Register", "ExtReg", ";", "unsigned", "PhysRegSize", "=", "MRI", ".", "getTargetRegisterInfo", "(", ")", "->", "getRegSizeInBits", "(", "PhysReg", ",", "MRI", ")", ";", "unsigned", "ValSize", "=", "VA", ".", "getValVT", "(", ")", ".", "getSizeInBits", "(", ")", ";", "unsigned", "LocSize", "=", "VA", ".", "getLocVT", "(", ")", ".", "getSizeInBits", "(", ")", ";", "if", "(", "PhysRegSize", ">", "ValSize", "&&", "LocSize", "==", "ValSize", ")", "{", "assert", "(", "(", "PhysRegSize", "==", "128", "||", "PhysRegSize", "==", "80", ")", "&&", "\"We expect that to be 128 bit\"", ")", ";", "auto", "MIB", "=", "MIRBuilder", ".", "buildAnyExt", "(", "LLT", "::", "scalar", "(", "PhysRegSize", ")", ",", "ValVReg", ")", ";", "ExtReg", "=", "MIB", ".", "getReg", "(", "0", ")", ";", "}", "else", "ExtReg", "=", "extendRegister", "(", "ValVReg", ",", "VA", ")", ";", "MIRBuilder", ".", "buildCopy", "(", "PhysReg", ",", "ExtReg", ")", ";", "}", ""], "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", "128", "80", "\"We expect that to be 128 bit\"", "0"], "File": "X86CallLowering18", "Func": "assignValueToReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19955, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"SystemZ Long Branch\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["SystemZ", "\"SystemZ Long Branch\""], "File": "SystemZLongBranch10", "Func": "getPassName", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19956, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_could_trap_p", "(", "aarch64_simd_builtin_datum", "*", "d", ")", "{", "unsigned", "int", "flags", "=", "aarch64_call_properties", "(", "d", ")", ";", "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-builtins1", "Func": "aarch64_could_trap_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19957, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "DCPU16TargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "LowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ExternalSymbol", ":", "return", "LowerExternalSymbol", "(", "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", ")", ";", "case", "ISD", "::", "ROTL", ":", "return", "LowerROT", "(", "Op", ",", "DAG", ",", "true", ")", ";", "case", "ISD", "::", "ROTR", ":", "return", "LowerROT", "(", "Op", ",", "DAG", ",", "false", ")", ";", "case", "ISD", "::", "SMUL_LOHI", ":", "return", "LowerMUL_LOHI", "(", "Op", ",", "DAG", ",", "true", ")", ";", "case", "ISD", "::", "UMUL_LOHI", ":", "return", "LowerMUL_LOHI", "(", "Op", ",", "DAG", ",", "false", ")", ";", "case", "ISD", "::", "JumpTable", ":", "return", "LowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "default", ":", "llvm_unreachable", "(", "\"unimplemented operand\"", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Dcpu16", "DCPU16", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::ExternalSymbol", "ISD::BR_CC", "ISD::SELECT_CC", "ISD::SIGN_EXTEND", "ISD::RETURNADDR", "ISD::FRAMEADDR", "ISD::ROTL", "ISD::ROTR", "ISD::SMUL_LOHI", "ISD::UMUL_LOHI", "ISD::JumpTable", "\"unimplemented operand\""], "File": "Dcpu16ISelLowering", "Func": "LowerOperation", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19958, "Length": 209, "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", "&&", "mips16_hard_float", ")", "{", "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_conv_libfunc", "(", "sfix_optab", ",", "SImode", ",", "SFmode", ",", "\"__mips16_fix_truncsfsi\"", ")", ";", "set_conv_libfunc", "(", "sfloat_optab", ",", "SFmode", ",", "SImode", ",", "\"__mips16_floatsisf\"", ")", ";", "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_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\"", ")", ";", "}", "}", "else", "gofast_maybe_init_libfuncs", "(", ")", ";", "}", ""], "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_fix_truncsfsi\"", "\"__mips16_floatsisf\"", "\"__mips16_adddf3\"", "\"__mips16_subdf3\"", "\"__mips16_muldf3\"", "\"__mips16_divdf3\"", "\"__mips16_eqdf2\"", "\"__mips16_nedf2\"", "\"__mips16_gtdf2\"", "\"__mips16_gedf2\"", "\"__mips16_ltdf2\"", "\"__mips16_ledf2\"", "\"__mips16_extendsfdf2\"", "\"__mips16_truncdfsf2\"", "\"__mips16_fix_truncdfsi\"", "\"__mips16_floatsidf\""], "File": "mips3", "Func": "mips_init_libfuncs", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19959, "Length": 297, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "TargetPassConfig", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["ARM"], "File": "ARMCodeGenPrepare", "Func": "getAnalysisUsage", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19960, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "NEONPreAllocPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "TII", "=", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "MFI", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "MFI", "!=", "E", ";", "++", "MFI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MFI", ";", "Modified", "|=", "PreAllocNEONRegisters", "(", "MBB", ")", ";", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM"], "File": "NEONPreAllocPass", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19961, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "rs6000_emit_savres_rtx", "(", "rs6000_stack_t", "*", "info", ",", "rtx", "frame_reg_rtx", ",", "int", "save_area_offset", ",", "int", "lr_offset", ",", "machine_mode", "reg_mode", ",", "int", "sel", ")", "{", "int", "i", ";", "int", "offset", ",", "start_reg", ",", "end_reg", ",", "n_regs", ",", "use_reg", ";", "int", "reg_size", "=", "GET_MODE_SIZE", "(", "reg_mode", ")", ";", "rtx", "sym", ";", "rtvec", "p", ";", "rtx", "par", ";", "rtx_insn", "*", "insn", ";", "offset", "=", "0", ";", "start_reg", "=", "(", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_GPR", "?", "info", "->", "first_gp_reg_save", ":", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_FPR", "?", "info", "->", "first_fp_reg_save", ":", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_VR", "?", "info", "->", "first_altivec_reg_save", ":", "-", "1", ")", ";", "end_reg", "=", "(", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_GPR", "?", "32", ":", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_FPR", "?", "64", ":", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_VR", "?", "LAST_ALTIVEC_REGNO", "+", "1", ":", "-", "1", ")", ";", "n_regs", "=", "end_reg", "-", "start_reg", ";", "p", "=", "rtvec_alloc", "(", "3", "+", "(", "(", "sel", "&", "SAVRES_LR", ")", "?", "1", ":", "0", ")", "+", "(", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_VR", "?", "1", ":", "0", ")", "+", "n_regs", ")", ";", "if", "(", "!", "(", "sel", "&", "SAVRES_SAVE", ")", "&&", "(", "sel", "&", "SAVRES_LR", ")", ")", "RTVEC_ELT", "(", "p", ",", "offset", "++", ")", "=", "ret_rtx", ";", "RTVEC_ELT", "(", "p", ",", "offset", "++", ")", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "Pmode", ",", "LR_REGNO", ")", ")", ";", "sym", "=", "rs6000_savres_routine_sym", "(", "info", ",", "sel", ")", ";", "RTVEC_ELT", "(", "p", ",", "offset", "++", ")", "=", "gen_rtx_USE", "(", "VOIDmode", ",", "sym", ")", ";", "use_reg", "=", "ptr_regno_for_savres", "(", "sel", ")", ";", "if", "(", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_VR", ")", "{", "RTVEC_ELT", "(", "p", ",", "offset", "++", ")", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "Pmode", ",", "use_reg", ")", ")", ";", "RTVEC_ELT", "(", "p", ",", "offset", "++", ")", "=", "gen_rtx_USE", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ")", ";", "}", "else", "RTVEC_ELT", "(", "p", ",", "offset", "++", ")", "=", "gen_rtx_USE", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "Pmode", ",", "use_reg", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "end_reg", "-", "start_reg", ";", "i", "++", ")", "RTVEC_ELT", "(", "p", ",", "i", "+", "offset", ")", "=", "gen_frame_set", "(", "gen_rtx_REG", "(", "reg_mode", ",", "start_reg", "+", "i", ")", ",", "frame_reg_rtx", ",", "save_area_offset", "+", "reg_size", "*", "i", ",", "(", "sel", "&", "SAVRES_SAVE", ")", "!=", "0", ")", ";", "if", "(", "(", "sel", "&", "SAVRES_SAVE", ")", "&&", "(", "sel", "&", "SAVRES_LR", ")", ")", "RTVEC_ELT", "(", "p", ",", "i", "+", "offset", ")", "=", "gen_frame_store", "(", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ",", "frame_reg_rtx", ",", "lr_offset", ")", ";", "par", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "p", ")", ";", "if", "(", "!", "(", "sel", "&", "SAVRES_SAVE", ")", "&&", "(", "sel", "&", "SAVRES_LR", ")", ")", "{", "insn", "=", "emit_jump_insn", "(", "par", ")", ";", "JUMP_LABEL", "(", "insn", ")", "=", "ret_rtx", ";", "}", "else", "insn", "=", "emit_insn", "(", "par", ")", ";", "return", "insn", ";", "}", ""], "natrual_language": ["Construct", "a", "parallel", "rtx", "describing", "the", "effect", "of", "a", "call", "to", "an", "out-of-line", "register", "save/restore", "routine", ",", "and", "emit", "the", "insn", "or", "jump_insn", "as", "appropriate", "."], "TS_V_token": ["rs6000", "0", "1", "32", "64", "1", "1", "3", "1", "0", "1", "0", "0", "0", "0", "0"], "File": "rs60006", "Func": "rs6000_emit_savres_rtx", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19962, "Length": 477, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "optimizeCompareInstr", "(", "MachineInstr", "&", "CmpInstr", ",", "Register", "SrcReg", ",", "Register", "SrcReg2", ",", "int", "CmpMask", ",", "int", "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", ")", ";", "assert", "(", "(", "CmpValue", "==", "0", "||", "CmpValue", "==", "1", "||", "CmpValue", "==", "2", ")", "&&", "\"CmpValue must be 0, 1, or 2!\"", ")", ";", "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", "1", "2", "\"CmpValue must be 0, 1, or 2!\"", "0", "0", "0", "0", "1"], "File": "AArch64InstrInfo11", "Func": "optimizeCompareInstr", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19963, "Length": 287, "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": 19964, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "hashval_t", "toc_hasher", "::", "hash", "(", "toc_hash_struct", "*", "thc", ")", "{", "return", "rs6000_hash_constant", "(", "thc", "->", "key", ")", "^", "thc", "->", "key_mode", ";", "}", ""], "natrual_language": ["Hash", "function", "for", "builtin", "functions", "with", "up", "to", "3", "arguments", "and", "a", "return", "type", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "hash", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19965, "Length": 23, "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": 19966, "Length": 330, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_darwin64_record_arg", "(", "CUMULATIVE_ARGS", "*", "orig_cum", ",", "tree", "type", ",", "int", "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": "rs60003", "Func": "rs6000_darwin64_record_arg", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19967, "Length": 196, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "addPreRegAlloc", "(", ")", "{", "PM", ".", "add", "(", "createX86MaxStackAlignmentHeuristicPass", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86TargetMachine43", "Func": "addPreRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19968, "Length": 20, "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": 19969, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "OR1KAsmParser", "::", "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", ":", "Out", ".", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "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", "=", "Operands", "[", "ErrorInfo", "]", "->", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "\"invalid operand for instruction\"", ")", ";", "}", "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": ["OR1K", "OR1K", "\"instruction use requires option to be enabled\"", "\"unrecognized instruction mnemonic\"", "0U", "\"too few operands for instruction\"", "\"invalid operand for instruction\"", "\"Unknown match type detected!\""], "File": "OR1KAsmParser1", "Func": "MatchAndEmitInstruction", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19970, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "mips_spill_class", "(", "reg_class_t", "rclass", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_MIPS16", ")", "return", "SPILL_REGS", ";", "return", "NO_REGS", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SPILL_CLASS", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_spill_class", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19971, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_emit_i387_asinh", "(", "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", "cst1", ",", "tmp", ";", "rtx_code_label", "*", "jump_label", "=", "gen_label_rtx", "(", ")", ";", "rtx_insn", "*", "insn", ";", "emit_insn", "(", "gen_mulxf3", "(", "e1", ",", "op1", ",", "op1", ")", ")", ";", "cst1", "=", "force_reg", "(", "XFmode", ",", "CONST1_RTX", "(", "XFmode", ")", ")", ";", "emit_insn", "(", "gen_addxf3", "(", "e2", ",", "e1", ",", "cst1", ")", ")", ";", "emit_insn", "(", "gen_sqrtxf2", "(", "e2", ",", "e2", ")", ")", ";", "emit_insn", "(", "gen_addxf3", "(", "e2", ",", "e2", ",", "cst1", ")", ")", ";", "emit_insn", "(", "gen_divxf3", "(", "e1", ",", "e1", ",", "e2", ")", ")", ";", "emit_insn", "(", "gen_fxamxf2_i387", "(", "scratch", ",", "op1", ")", ")", ";", "emit_insn", "(", "gen_absxf2", "(", "e2", ",", "op1", ")", ")", ";", "emit_insn", "(", "gen_addxf3", "(", "e1", ",", "e1", ",", "e2", ")", ")", ";", "ix86_emit_i387_log1p", "(", "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", ";", "emit_move_insn", "(", "op0", ",", "e2", ")", ";", "}", ""], "natrual_language": ["Output", "code", "to", "perform", "an", "asinh", "XFmode", "calculation", "."], "TS_V_token": ["i386", "0x02", "50", "100", "1"], "File": "i386-expand", "Func": "ix86_emit_i387_asinh", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19972, "Length": 266, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addIRTranslator", "(", ")", "{", "addPass", "(", "new", "IRTranslator", "(", ")", ")", ";", "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": ["ARM", "ARM"], "File": "ARMTargetMachine", "Func": "addIRTranslator", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19973, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"Mips Constant Islands\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"Mips Constant Islands\""], "File": "MipsConstantIslandPass", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19974, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FastPreTileConfig", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MFunc", ")", "{", "MF", "=", "&", "MFunc", ";", "MRI", "=", "&", "MFunc", ".", "getRegInfo", "(", ")", ";", "ST", "=", "&", "MFunc", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "TII", "=", "ST", "->", "getInstrInfo", "(", ")", ";", "X86FI", "=", "MFunc", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "MFI", "=", "&", "MFunc", ".", "getFrameInfo", "(", ")", ";", "TRI", "=", "ST", "->", "getRegisterInfo", "(", ")", ";", "CfgSS", "=", "-", "1", ";", "unsigned", "NumVirtRegs", "=", "MRI", "->", "getNumVirtRegs", "(", ")", ";", "bool", "HasVirtTileReg", "=", "false", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "NumVirtRegs", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "Register", "VirtReg", "=", "Register", "::", "index2VirtReg", "(", "I", ")", ";", "if", "(", "MRI", "->", "getRegClass", "(", "VirtReg", ")", "->", "getID", "(", ")", "==", "X86", "::", "TILERegClassID", ")", "{", "HasVirtTileReg", "=", "true", ";", "break", ";", "}", "}", "if", "(", "!", "HasVirtTileReg", ")", "return", "false", ";", "StackSlotForVirtReg", ".", "resize", "(", "NumVirtRegs", ")", ";", "MayLiveAcrossBlocks", ".", "clear", "(", ")", ";", "MayLiveAcrossBlocks", ".", "resize", "(", "NumVirtRegs", "*", "3", ")", ";", "bool", "Change", "=", "false", ";", "assert", "(", "MRI", "->", "isSSA", "(", ")", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MFunc", ")", "canonicalizePHIs", "(", "MBB", ")", ";", "ReversePostOrderTraversal", "<", "MachineFunction", "*", ">", "RPOT", "(", "MF", ")", ";", "for", "(", "MachineBasicBlock", "*", "MBB", ":", "RPOT", ")", "{", "convertPHIs", "(", "*", "MBB", ")", ";", "Change", "|=", "configBasicBlock", "(", "*", "MBB", ")", ";", "}", "if", "(", "Change", ")", "InitializeTileConfigStackSpace", "(", ")", ";", "StackSlotForVirtReg", ".", "clear", "(", ")", ";", "return", "Change", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "1", "0", "X86::TILERegClassID", "3"], "File": "X86FastPreTileConfig", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19975, "Length": 255, "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": 19976, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "SparcSubtarget", "*", "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": ["Sparc", "Sparc"], "File": "SparcTargetMachine", "Func": "getSubtargetImpl", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19977, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_validate_mcpu", "(", "const", "char", "*", "str", ",", "const", "struct", "processor", "*", "*", "res", ",", "unsigned", "long", "*", "isa_flags", ")", "{", "enum", "aarch64_parse_opt_result", "parse_res", "=", "aarch64_parse_cpu", "(", "str", ",", "res", ",", "isa_flags", ")", ";", "if", "(", "parse_res", "==", "AARCH64_PARSE_OK", ")", "return", "true", ";", "switch", "(", "parse_res", ")", "{", "case", "AARCH64_PARSE_MISSING_ARG", ":", "error", "(", "\"missing cpu name in %<-mcpu=%s%>\"", ",", "str", ")", ";", "break", ";", "case", "AARCH64_PARSE_INVALID_ARG", ":", "error", "(", "\"unknown value %qs for -mcpu\"", ",", "str", ")", ";", "aarch64_print_hint_for_core", "(", "str", ")", ";", "break", ";", "case", "AARCH64_PARSE_INVALID_FEATURE", ":", "error", "(", "\"invalid feature modifier in %<-mcpu=%s%>\"", ",", "str", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Validate", "a", "command-line", "-mcpu", "option", ".", "Parse", "the", "cpu", "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 cpu name in %<-mcpu=%s%>\"", "\"unknown value %qs for -mcpu\"", "\"invalid feature modifier in %<-mcpu=%s%>\""], "File": "aarch644", "Func": "aarch64_validate_mcpu", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19978, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "symbian_class_needs_attribute_p", "(", "tree", "ctype", ",", "const", "char", "*", "attribute_name", ")", "{", "VEC", "(", "tree", ",", "gc", ")", "*", "method_vec", ";", "method_vec", "=", "CLASSTYPE_METHOD_VEC", "(", "ctype", ")", ";", "if", "(", "TYPE_POLYMORPHIC_P", "(", "ctype", ")", "&&", "method_vec", "&&", "lookup_attribute", "(", "attribute_name", ",", "DECL_ATTRIBUTES", "(", "VEC_index", "(", "tree", ",", "method_vec", ",", "0", ")", ")", ")", ")", "return", "true", ";", "if", "(", "TREE_CODE", "(", "ctype", ")", "==", "RECORD_TYPE", ")", "{", "unsigned", "int", "len", ";", "len", "=", "method_vec", "?", "VEC_length", "(", "tree", ",", "method_vec", ")", ":", "0", ";", "for", "(", ";", "len", "--", ";", ")", "{", "tree", "member", "=", "VEC_index", "(", "tree", ",", "method_vec", ",", "len", ")", ";", "if", "(", "!", "member", ")", "continue", ";", "for", "(", "member", "=", "OVL_CURRENT", "(", "member", ")", ";", "member", ";", "member", "=", "OVL_NEXT", "(", "member", ")", ")", "{", "if", "(", "TREE_CODE", "(", "member", ")", "!=", "FUNCTION_DECL", ")", "continue", ";", "if", "(", "DECL_PURE_VIRTUAL_P", "(", "member", ")", ")", "continue", ";", "if", "(", "!", "DECL_VIRTUAL_P", "(", "member", ")", ")", "continue", ";", "if", "(", "lookup_attribute", "(", "attribute_name", ",", "DECL_ATTRIBUTES", "(", "member", ")", ")", ")", "{", "print_node_brief", "(", "stderr", ",", "\"\"", ",", "ctype", ",", "0", ")", ";", "fprintf", "(", "stderr", ",", "\" inherits %s because\"", ",", "attribute_name", ")", ";", "print_node_brief", "(", "stderr", ",", "\"\"", ",", "member", ",", "0", ")", ";", "fprintf", "(", "stderr", ",", "\" has it.\\n\"", ")", ";", "return", "true", ";", "}", "}", "}", "}", "print_node_brief", "(", "stderr", ",", "\"\"", ",", "ctype", ",", "0", ")", ";", "fprintf", "(", "stderr", ",", "\" does not inherit %s\\n\"", ",", "attribute_name", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Decide", "if", "a", "class", "needs", "to", "have", "an", "attribute", "because", "one", "of", "its", "member", "functions", "has", "the", "attribute", "."], "TS_V_token": ["sh", "0", "0", "\"\"", "0", "\" inherits %s because\"", "\"\"", "0", "\" has it.\\n\"", "\"\"", "0", "\" does not inherit %s\\n\""], "File": "symbian", "Func": "symbian_class_needs_attribute_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19979, "Length": 243, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSection", "*", "DLXTargetObjectFile", "::", "getSectionForConstant", "(", "const", "DataLayout", "&", "DL", ",", "SectionKind", "Kind", ",", "const", "Constant", "*", "C", ",", "unsigned", "&", "Align", ")", "const", "{", "if", "(", "isConstantInSmallSection", "(", "DL", ",", "C", ")", ")", "return", "SmallDataSection", ";", "return", "TargetLoweringObjectFileELF", "::", "getSectionForConstant", "(", "DL", ",", "Kind", ",", "C", ",", "Align", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constant", "with", "the", "SectionKind", ",", "return", "a", "section", "that", "it", "should", "be", "placed", "in", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXTargetObjectFile", "Func": "getSectionForConstant", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19980, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_trunc", "(", "rtx", "operand0", ",", "rtx", "operand1", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "operand0", ")", ";", "rtx", "xa", ",", "xi", ",", "TWO52", ",", "res", ",", "mask", ";", "rtx_code_label", "*", "label", ";", "TWO52", "=", "ix86_gen_TWO52", "(", "mode", ")", ";", "res", "=", "copy_to_reg", "(", "operand1", ")", ";", "xa", "=", "ix86_expand_sse_fabs", "(", "res", ",", "&", "mask", ")", ";", "label", "=", "ix86_expand_sse_compare_and_jump", "(", "UNLE", ",", "TWO52", ",", "xa", ",", "false", ")", ";", "xi", "=", "gen_reg_rtx", "(", "int_mode_for_mode", "(", "mode", ")", ".", "require", "(", ")", ")", ";", "expand_fix", "(", "xi", ",", "res", ",", "0", ")", ";", "expand_float", "(", "xa", ",", "xi", ",", "0", ")", ";", "if", "(", "HONOR_SIGNED_ZEROS", "(", "mode", ")", ")", "ix86_sse_copysign_to_positive", "(", "xa", ",", "xa", ",", "res", ",", "mask", ")", ";", "emit_move_insn", "(", "res", ",", "xa", ")", ";", "emit_label", "(", "label", ")", ";", "LABEL_NUSES", "(", "label", ")", "=", "1", ";", "emit_move_insn", "(", "operand0", ",", "res", ")", ";", "}", ""], "natrual_language": ["Expand", "SSE", "sequence", "for", "computing", "trunc", "from", "OPERAND1", "storing", "into", "OPERAND0", "."], "TS_V_token": ["i386", "0", "0", "1"], "File": "i386-expand", "Func": "ix86_expand_trunc", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19981, "Length": 147, "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", "(", "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": "AArch64TargetTransformInfo32", "Func": "getArithmeticInstrCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19982, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mvs_free_label_list", "(", ")", "{", "if", "(", "label_anchor", ")", "{", "label_node_t", "*", "last_lp", "=", "label_anchor", ";", "while", "(", "last_lp", "->", "label_next", ")", "last_lp", "=", "last_lp", "->", "label_next", ";", "last_lp", "->", "label_next", "=", "free_anchor", ";", "free_anchor", "=", "label_anchor", ";", "}", "label_anchor", "=", "0", ";", "}", ""], "natrual_language": ["The", "label", "list", "for", "the", "current", "page", "freed", "by", "linking", "the", "list", "onto", "the", "free", "label", "element", "chain", "."], "TS_V_token": ["i370", "0"], "File": "i370", "Func": "mvs_free_label_list", "Target": "i370", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19983, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "add_constant", "(", "rtx", "x", ",", "enum", "machine_mode", "mode", ",", "rtx", "last_value", ")", "{", "int", "i", ";", "rtx", "lab", ",", "new", ",", "ref", ",", "newref", ";", "for", "(", "i", "=", "0", ";", "i", "<", "pool_size", ";", "i", "++", ")", "{", "if", "(", "x", "->", "code", "==", "pool_vector", "[", "i", "]", ".", "value", "->", "code", "&&", "mode", "==", "pool_vector", "[", "i", "]", ".", "mode", ")", "{", "if", "(", "x", "->", "code", "==", "CODE_LABEL", ")", "{", "if", "(", "XINT", "(", "x", ",", "3", ")", "!=", "XINT", "(", "pool_vector", "[", "i", "]", ".", "value", ",", "3", ")", ")", "continue", ";", "}", "if", "(", "rtx_equal_p", "(", "x", ",", "pool_vector", "[", "i", "]", ".", "value", ")", ")", "{", "lab", "=", "new", "=", "0", ";", "if", "(", "!", "last_value", "||", "!", "i", "||", "!", "rtx_equal_p", "(", "last_value", ",", "pool_vector", "[", "i", "-", "1", "]", ".", "value", ")", ")", "{", "new", "=", "gen_label_rtx", "(", ")", ";", "LABEL_REFS", "(", "new", ")", "=", "pool_vector", "[", "i", "]", ".", "label", ";", "pool_vector", "[", "i", "]", ".", "label", "=", "lab", "=", "new", ";", "}", "if", "(", "lab", "&&", "pool_window_label", ")", "{", "newref", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "pool_window_label", ")", ";", "ref", "=", "pool_vector", "[", "pool_window_last", "]", ".", "wend", ";", "LABEL_NEXTREF", "(", "newref", ")", "=", "ref", ";", "pool_vector", "[", "pool_window_last", "]", ".", "wend", "=", "newref", ";", "}", "if", "(", "new", ")", "pool_window_label", "=", "new", ";", "pool_window_last", "=", "i", ";", "return", "lab", ";", "}", "}", "}", "pool_vector", "[", "pool_size", "]", ".", "value", "=", "x", ";", "if", "(", "last_value", "&&", "rtx_equal_p", "(", "last_value", ",", "pool_vector", "[", "pool_size", "-", "1", "]", ".", "value", ")", ")", "{", "lab", "=", "0", ";", "pool_vector", "[", "pool_size", "-", "1", "]", ".", "part_of_sequence_p", "=", "true", ";", "}", "else", "lab", "=", "gen_label_rtx", "(", ")", ";", "pool_vector", "[", "pool_size", "]", ".", "mode", "=", "mode", ";", "pool_vector", "[", "pool_size", "]", ".", "label", "=", "lab", ";", "pool_vector", "[", "pool_size", "]", ".", "wend", "=", "NULL_RTX", ";", "pool_vector", "[", "pool_size", "]", ".", "part_of_sequence_p", "=", "(", "lab", "==", "0", ")", ";", "if", "(", "lab", "&&", "pool_window_label", ")", "{", "newref", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "pool_window_label", ")", ";", "ref", "=", "pool_vector", "[", "pool_window_last", "]", ".", "wend", ";", "LABEL_NEXTREF", "(", "newref", ")", "=", "ref", ";", "pool_vector", "[", "pool_window_last", "]", ".", "wend", "=", "newref", ";", "}", "if", "(", "lab", ")", "pool_window_label", "=", "lab", ";", "pool_window_last", "=", "pool_size", ";", "pool_size", "++", ";", "return", "lab", ";", "}", ""], "natrual_language": ["Add", "a", "constant", "to", "the", "pool", "and", "return", "its", "label", "."], "TS_V_token": ["sh", "0", "3", "3", "0", "1", "1", "0", "1", "0"], "File": "sh3", "Func": "add_constant", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19984, "Length": 386, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SICInstrInfo", "::", "adjustStackPtr", "(", "unsigned", "SP", ",", "int64_t", "Amount", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "DebugLoc", "DL", "=", "I", "!=", "MBB", ".", "end", "(", ")", "?", "I", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "unsigned", "ADDR", "=", "SIC", "::", "ADD", ";", "unsigned", "SUBR", "=", "SIC", "::", "SUB", ";", "unsigned", "LDi", "=", "SIC", "::", "LDi", ";", "unsigned", "LDi4", "=", "SIC", "::", "LDi4", ";", "unsigned", "LDiL", "=", "SIC", "::", "LDiL", ";", "unsigned", "T", "=", "SIC", "::", "T", ";", "if", "(", "isUInt", "<", "20", ">", "(", "Amount", ")", ")", "{", "if", "(", "isUInt", "<", "12", ">", "(", "Amount", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "LDi", ")", ",", "T", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "LDi4", ")", ",", "T", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ADDR", ")", ",", "SP", ")", ".", "addReg", "(", "SP", ")", ".", "addReg", "(", "T", ")", ";", "}", "else", "if", "(", "isUInt", "<", "20", ">", "(", "-", "Amount", ")", ")", "{", "if", "(", "isUInt", "<", "12", ">", "(", "-", "Amount", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "LDi", ")", ",", "T", ")", ".", "addImm", "(", "-", "Amount", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "LDi4", ")", ",", "T", ")", ".", "addImm", "(", "-", "Amount", ")", ";", "}", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SUBR", ")", ",", "SP", ")", ".", "addReg", "(", "SP", ")", ".", "addReg", "(", "T", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "LDiL", ")", ",", "T", ")", ".", "addImm", "(", "Amount", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ADDR", ")", ",", "SP", ")", ".", "addReg", "(", "SP", ")", ".", "addReg", "(", "T", ")", ";", "}", "}", ""], "natrual_language": ["Adjust", "SP", "by", "Amount", "bytes", "."], "TS_V_token": ["SIC", "SIC", "SIC::ADD", "SIC::SUB", "SIC::LDi", "SIC::LDi4", "SIC::LDiL", "SIC::T", "20", "12", "20", "12"], "File": "SICInstrInfo", "Func": "adjustStackPtr", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19985, "Length": 331, "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", ";", "unsigned", "Src1Reg", "=", "getRegForValue", "(", "Src1Val", ")", ";", "if", "(", "!", "Src1Reg", ")", "return", "false", ";", "unsigned", "Src2Reg", "=", "getRegForValue", "(", "Src2Val", ")", ";", "if", "(", "!", "Src2Reg", ")", "return", "false", ";", "if", "(", "NeedExtraOp", ")", "Src1Reg", "=", "emitLogicalOp_ri", "(", "ISD", "::", "XOR", ",", "MVT", "::", "i32", ",", "Src1Reg", ",", "1", ")", ";", "unsigned", "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": "AArch64FastISel21", "Func": "optimizeSelect", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19986, "Length": 312, "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": ["AArch64"], "File": "AArch64CallLowering", "Func": "supportSwiftError", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19987, "Length": 11, "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": 19988, "Length": 199, "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": 19989, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isSafeMemOpType", "(", "MVT", "VT", ")", "const", "{", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "X86ScalarSSEf32", ";", "else", "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)", "Func": "isSafeMemOpType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19990, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Emitter", "<", "CodeEmitter", ">", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "MMI", "=", "&", "getAnalysis", "<", "MachineModuleInfo", ">", "(", ")", ";", "MCE", ".", "setModuleInfo", "(", "MMI", ")", ";", "II", "=", "TM", ".", "getInstrInfo", "(", ")", ";", "TD", "=", "TM", ".", "getTargetData", "(", ")", ";", "Is64BitMode", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ";", "IsPIC", "=", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ";", "do", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"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": "X86CodeEmitter28", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19991, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Relocator", "::", "Result", "unsupported", "(", "Relocation", "&", "pReloc", ",", "AArch64Relocator", "&", "pParent", ")", "{", "return", "Relocator", "::", "Unsupported", ";", "}", ""], "natrual_language": ["The", "instruction", "is", "unsupported", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64Relocator", "Func": "unsupported", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19992, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "loongarch_symbol_insns", "(", "enum", "loongarch_symbol_type", "type", ",", "machine_mode", "mode", ")", "{", "switch", "(", "type", ")", "{", "case", "SYMBOL_GOT_DISP", ":", "if", "(", "mode", "!=", "MAX_MACHINE_MODE", ")", "return", "0", ";", "return", "3", ";", "case", "SYMBOL_TLSGD", ":", "case", "SYMBOL_TLSLDM", ":", "return", "1", ";", "case", "SYMBOL_TLS", ":", "return", "0", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "number", "of", "instructions", "necessary", "to", "reference", "a", "symbol", "."], "TS_V_token": ["loongarch", "0", "3", "1", "0"], "File": "loongarch", "Func": "loongarch_symbol_insns", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19993, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ThumbRegisterInfo", "::", "useFPForScavengingIndex", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "isThumb1Only", "(", ")", ")", "{", "return", "false", ";", "}", "return", "true", ";", "}", ""], "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": ["ARM", "ARM"], "File": "ThumbRegisterInfo10", "Func": "useFPForScavengingIndex", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19994, "Length": 36, "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": 19995, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86TTI", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "UnrollingPreferences", "&", "UP", ")", "const", "{", "if", "(", "!", "UsePartialUnrolling", ")", "return", ";", "unsigned", "MaxOps", ";", "if", "(", "PartialUnrollingThreshold", ".", "getNumOccurrences", "(", ")", ">", "0", ")", "{", "MaxOps", "=", "PartialUnrollingThreshold", ";", "}", "else", "if", "(", "ST", "->", "isAtom", "(", ")", ")", "{", "MaxOps", "=", "10", ";", "}", "else", "if", "(", "ST", "->", "hasFSGSBase", "(", ")", "&&", "ST", "->", "hasXOP", "(", ")", ")", "{", "MaxOps", "=", "40", ";", "}", "else", "if", "(", "ST", "->", "hasFMA4", "(", ")", ")", "{", "return", ";", "}", "else", "if", "(", "ST", "->", "hasAVX", "(", ")", "||", "ST", "->", "hasSSE42", "(", ")", ")", "{", "MaxOps", "=", "28", ";", "}", "else", "if", "(", "ST", "->", "hasSSSE3", "(", ")", ")", "{", "MaxOps", "=", "18", ";", "}", "else", "{", "return", ";", "}", "for", "(", "Loop", "::", "block_iterator", "I", "=", "L", "->", "block_begin", "(", ")", ",", "E", "=", "L", "->", "block_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "BasicBlock", "*", "BB", "=", "*", "I", ";", "for", "(", "BasicBlock", "::", "iterator", "J", "=", "BB", "->", "begin", "(", ")", ",", "JE", "=", "BB", "->", "end", "(", ")", ";", "J", "!=", "JE", ";", "++", "J", ")", "if", "(", "isa", "<", "CallInst", ">", "(", "J", ")", "||", "isa", "<", "InvokeInst", ">", "(", "J", ")", ")", "{", "ImmutableCallSite", "CS", "(", "J", ")", ";", "if", "(", "const", "Function", "*", "F", "=", "CS", ".", "getCalledFunction", "(", ")", ")", "{", "if", "(", "!", "isLoweredToCall", "(", "F", ")", ")", "continue", ";", "}", "return", ";", "}", "}", "UP", ".", "Partial", "=", "UP", ".", "Runtime", "=", "true", ";", "UP", ".", "PartialThreshold", "=", "UP", ".", "PartialOptSizeThreshold", "=", "MaxOps", ";", "}", ""], "natrual_language": ["Get", "target-customized", "preferences", "for", "the", "generic", "loop", "unrolling", "transformation", "."], "TS_V_token": ["X86", "X86", "0", "10", "40", "28", "18"], "File": "X86TargetTransformInfo76", "Func": "getUnrollingPreferences", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19996, "Length": 270, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "section", "*", "pa_select_section", "(", "tree", "exp", ",", "int", "reloc", ",", "unsigned", "HOST_WIDE_INT", "align", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TREE_CODE", "(", "exp", ")", "==", "VAR_DECL", "&&", "TREE_READONLY", "(", "exp", ")", "&&", "!", "TREE_THIS_VOLATILE", "(", "exp", ")", "&&", "DECL_INITIAL", "(", "exp", ")", "&&", "(", "DECL_INITIAL", "(", "exp", ")", "==", "error_mark_node", "||", "TREE_CONSTANT", "(", "DECL_INITIAL", "(", "exp", ")", ")", ")", "&&", "!", "(", "reloc", "&", "pa_reloc_rw_mask", "(", ")", ")", ")", "{", "if", "(", "TARGET_SOM", "&&", "DECL_ONE_ONLY", "(", "exp", ")", "&&", "!", "DECL_WEAK", "(", "exp", ")", ")", "return", "som_one_only_readonly_data_section", ";", "else", "return", "readonly_data_section", ";", "}", "else", "if", "(", "CONSTANT_CLASS_P", "(", "exp", ")", "&&", "!", "(", "reloc", "&", "pa_reloc_rw_mask", "(", ")", ")", ")", "return", "readonly_data_section", ";", "else", "if", "(", "TARGET_SOM", "&&", "TREE_CODE", "(", "exp", ")", "==", "VAR_DECL", "&&", "DECL_ONE_ONLY", "(", "exp", ")", "&&", "!", "DECL_WEAK", "(", "exp", ")", ")", "return", "som_one_only_data_section", ";", "else", "return", "data_section", ";", "}", ""], "natrual_language": ["On", "hpux10", ",", "the", "linker", "will", "give", "an", "error", "if", "we", "have", "a", "reference", "in", "the", "read-only", "data", "section", "to", "a", "symbol", "defined", "in", "a", "shared", "library", ".", "Therefore", ",", "expressions", "that", "might", "require", "a", "reloc", "can", "not", "be", "placed", "in", "the", "read-only", "data", "section", "."], "TS_V_token": ["pa"], "File": "pa", "Func": "pa_select_section", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19997, "Length": 143, "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", "(", "useNeonVector", "(", "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", ")", ";", "MemOpCost", "*=", "getSVEGatherScatterOverhead", "(", "Opcode", ")", ";", "return", "LT", ".", "first", "*", "MemOpCost", "*", "getMaxNumElements", "(", "LegalVF", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "Gather", "/", "Scatter", "operation", "."], "TS_V_token": ["AArch64", "AArch64", "1", "0"], "File": "AArch64TargetTransformInfo24", "Func": "getGatherScatterOpCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19998, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_generate_version_dispatcher_body", "(", "void", "*", "node_p", ")", "{", "tree", "resolver_decl", ";", "basic_block", "empty_bb", ";", "tree", "default_ver_decl", ";", "struct", "cgraph_node", "*", "versn", ";", "struct", "cgraph_node", "*", "node", ";", "struct", "cgraph_function_version_info", "*", "node_version_info", "=", "NULL", ";", "struct", "cgraph_function_version_info", "*", "versn_info", "=", "NULL", ";", "node", "=", "(", "cgraph_node", "*", ")", "node_p", ";", "node_version_info", "=", "node", "->", "function_version", "(", ")", ";", "gcc_assert", "(", "node", "->", "dispatcher_function", "&&", "node_version_info", "!=", "NULL", ")", ";", "if", "(", "node_version_info", "->", "dispatcher_resolver", ")", "return", "node_version_info", "->", "dispatcher_resolver", ";", "default_ver_decl", "=", "node_version_info", "->", "next", "->", "this_node", "->", "decl", ";", "node", "->", "definition", "=", "false", ";", "resolver_decl", "=", "make_resolver_func", "(", "default_ver_decl", ",", "node", "->", "decl", ",", "&", "empty_bb", ")", ";", "node_version_info", "->", "dispatcher_resolver", "=", "resolver_decl", ";", "push_cfun", "(", "DECL_STRUCT_FUNCTION", "(", "resolver_decl", ")", ")", ";", "auto_vec", "<", "tree", ",", "2", ">", "fn_ver_vec", ";", "for", "(", "versn_info", "=", "node_version_info", "->", "next", ";", "versn_info", ";", "versn_info", "=", "versn_info", "->", "next", ")", "{", "versn", "=", "versn_info", "->", "this_node", ";", "if", "(", "DECL_VINDEX", "(", "versn", "->", "decl", ")", ")", "sorry", "(", "\"Virtual function multiversioning not supported\"", ")", ";", "fn_ver_vec", ".", "safe_push", "(", "versn", "->", "decl", ")", ";", "}", "dispatch_function_versions", "(", "resolver_decl", ",", "&", "fn_ver_vec", ",", "&", "empty_bb", ")", ";", "cgraph_edge", "::", "rebuild_edges", "(", ")", ";", "pop_cfun", "(", ")", ";", "return", "resolver_decl", ";", "}", ""], "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": ["i386", "2", "\"Virtual function multiversioning not supported\""], "File": "i3864", "Func": "ix86_generate_version_dispatcher_body", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 19999, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ARMBaseRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", "->", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMSubtarget (2)1", "Func": "getRegisterInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20000, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint32_t", "generateCompactUnwindEncoding", "(", "ArrayRef", "<", "MCCFIInstruction", ">", "Instrs", ")", "const", "override", "{", "return", "generateCompactUnwindEncodingImpl", "(", "Instrs", ")", ";", "}", ""], "natrual_language": ["Generate", "compact", "unwind", "encoding", "for", "the", "function", "based", "on", "the", "CFI", "instructions", "."], "TS_V_token": ["X86"], "File": "X86AsmBackend (2)", "Func": "generateCompactUnwindEncoding", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20001, "Length": 19, "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": 20002, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "x86_elf_aligned_common", "(", "FILE", "*", "file", ",", "const", "char", "*", "name", ",", "unsigned", "HOST_WIDE_INT", "size", ",", "int", "align", ")", "{", "if", "(", "(", "ix86_cmodel", "==", "CM_MEDIUM", "||", "ix86_cmodel", "==", "CM_MEDIUM_PIC", ")", "&&", "size", ">", "(", "unsigned", "int", ")", "ix86_section_threshold", ")", "fputs", "(", "\"\\t.largecomm\\t\"", ",", "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", "opcode", "for", "large", "objects", "."], "TS_V_token": ["i386", "\"\\t.largecomm\\t\"", "\",\"", "\",%u\\n\""], "File": "i3864", "Func": "x86_elf_aligned_common", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20003, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "override", "{", "bool", "Changed", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "FI", "=", "F", ".", "begin", "(", ")", ",", "FE", "=", "F", ".", "end", "(", ")", ";", "FI", "!=", "FE", ";", "++", "FI", ")", "Changed", "|=", "runOnMachineBasicBlock", "(", "*", "FI", ")", ";", "if", "(", "Changed", ")", "F", ".", "getRegInfo", "(", ")", ".", "invalidateLiveness", "(", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips"], "File": "MipsDelaySlotFiller", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20004, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_cannot_force_const_mem", "(", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "CONST_INT", ":", "case", "CONST_WIDE_INT", ":", "case", "CONST_DOUBLE", ":", "case", "CONST_VECTOR", ":", "return", "false", ";", "default", ":", "break", ";", "}", "return", "!", "ix86_legitimate_constant_p", "(", "mode", ",", "x", ")", ";", "}", ""], "natrual_language": ["Determine", "if", "it", "'s", "legal", "to", "put", "X", "into", "the", "constant", "pool", ".", "This", "is", "not", "possible", "for", "the", "address", "of", "thread-local", "symbols", ",", "which", "is", "checked", "above", "."], "TS_V_token": ["i386"], "File": "i3865", "Func": "ix86_cannot_force_const_mem", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20005, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCRegisterInfo", "::", "materializeFrameBaseRegister", "(", "MachineBasicBlock", "*", "MBB", ",", "unsigned", "BaseReg", ",", "int", "FrameIdx", ",", "int64_t", "Offset", ")", "const", "{", "unsigned", "ADDriOpc", "=", "Subtarget", ".", "isPPC64", "(", ")", "?", "PPC", "::", "ADDI8", ":", "PPC", "::", "ADDI", ";", "MachineBasicBlock", "::", "iterator", "Ins", "=", "MBB", "->", "begin", "(", ")", ";", "DebugLoc", "DL", ";", "if", "(", "Ins", "!=", "MBB", "->", "end", "(", ")", ")", "DL", "=", "Ins", "->", "getDebugLoc", "(", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", "->", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "TII", ".", "get", "(", "ADDriOpc", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MBB", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MRI", ".", "constrainRegClass", "(", "BaseReg", ",", "TII", ".", "getRegClass", "(", "MCID", ",", "0", ",", "this", ",", "MF", ")", ")", ";", "BuildMI", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "MCID", ",", "BaseReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "Offset", ")", ";", "}", ""], "natrual_language": ["Insert", "defining", "instruction", "(", "s", ")", "for", "a", "pointer", "to", "FrameIdx", "before", "insertion", "point", "I", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::ADDI8", "PPC::ADDI", "0"], "File": "PPCRegisterInfo68", "Func": "materializeFrameBaseRegister", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20006, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "mips_sync_insn2_template", "(", "enum", "attr_sync_insn2", "type", ")", "{", "switch", "(", "type", ")", "{", "case", "SYNC_INSN2_NOP", ":", "gcc_unreachable", "(", ")", ";", "case", "SYNC_INSN2_AND", ":", "return", "\"and\\t%0,%1,%z2\"", ";", "case", "SYNC_INSN2_XOR", ":", "return", "\"xor\\t%0,%1,%z2\"", ";", "case", "SYNC_INSN2_NOT", ":", "return", "\"nor\\t%0,%1,%.\"", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "asm", "template", "associated", "with", "sync_insn2", "value", "TYPE", "."], "TS_V_token": ["mips", "\"and\\t%0,%1,%z2\"", "\"xor\\t%0,%1,%z2\"", "\"nor\\t%0,%1,%.\""], "File": "mips", "Func": "mips_sync_insn2_template", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20007, "Length": 47, "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", ")", ")", "{", "default", ":", "break", ";", "case", "Match_Success", ":", "ProcessInstruction", "(", "Inst", ",", "Operands", ")", ";", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "Out", ".", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "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", ":", "{", "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\"", "\"unrecognized instruction mnemonic\"", "0ULL", "\"too few operands for instruction\"", "PPC", "\"invalid operand for instruction\"", "\"Implement any new match types added!\""], "File": "PPCAsmParser51", "Func": "MatchAndEmitInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20008, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "has_inlined_assembly", "(", "function", "*", "fn", ")", "{", "basic_block", "bb", ";", "gimple_stmt_iterator", "gsi", ";", "if", "(", "fn", "->", "cfg", "==", "NULL", ")", "return", "true", ";", "FOR_EACH_BB_FN", "(", "bb", ",", "fn", ")", "for", "(", "gsi", "=", "gsi_start_bb", "(", "bb", ")", ";", "!", "gsi_end_p", "(", "gsi", ")", ";", "gsi_next", "(", "&", "gsi", ")", ")", "if", "(", "gimple_code", "(", "gsi_stmt", "(", "gsi", ")", ")", "==", "GIMPLE_ASM", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "function", "has", "inline", "assembly", "code", "or", "if", "we", "can", "not", "be", "certain", "that", "it", "does", "not", ".", "False", "if", "we", "know", "that", "there", "is", "no", "inline", "assembly", "."], "TS_V_token": ["mips"], "File": "frame-header-opt", "Func": "has_inlined_assembly", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20009, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "F2003fRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "F2003f", "::", "F5", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["F2003f", "F2003f", "F2003f::F5"], "File": "F2003fRegisterInfo", "Func": "getFrameRegister", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20010, "Length": 18, "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": 20011, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "safe_vector_operand", "(", "rtx", "x", ",", "enum", "machine_mode", "mode", ")", "{", "if", "(", "x", "==", "const0_rtx", ")", "x", "=", "CONST0_RTX", "(", "mode", ")", ";", "return", "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": ["i386"], "File": "i3863", "Func": "safe_vector_operand", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20012, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_init_pic_reg", "(", "void", ")", "{", "edge", "entry_edge", ";", "rtx_insn", "*", "seq", ";", "if", "(", "!", "crtl", "->", "uses_pic_offset_table", ")", "return", ";", "start_sequence", "(", ")", ";", "load_got_register", "(", ")", ";", "if", "(", "!", "TARGET_VXWORKS_RTP", ")", "emit_move_insn", "(", "pic_offset_table_rtx", ",", "global_offset_table_rtx", ")", ";", "seq", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "entry_edge", "=", "single_succ_edge", "(", "ENTRY_BLOCK_PTR_FOR_FN", "(", "cfun", ")", ")", ";", "insert_insn_on_edge", "(", "seq", ",", "entry_edge", ")", ";", "commit_one_edge_insertion", "(", "entry_edge", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_INIT_PIC_REG", "."], "TS_V_token": ["sparc"], "File": "sparc7", "Func": "sparc_init_pic_reg", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20013, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XNCMRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "RegScavenger", "*", "RS", ")", "const", "{", "llvm_unreachable", "(", "0", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["XNCM", "XNCM", "0"], "File": "XNCMRegisterInfo", "Func": "eliminateFrameIndex", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20014, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ")", "const", "{", "unsigned", "NumBytes", "=", "getFixupKindInfo", "(", "Fixup", ".", "getKind", "(", ")", ")", ".", "TargetSize", "/", "8", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ".", "getKind", "(", ")", ",", "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": ["AArch64", "8", "\"Invalid fixup offset!\"", "0", "8", "0xff"], "File": "AArch64AsmBackend16", "Func": "applyFixup", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20015, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "aarch64_sched_adjust_priority", "(", "rtx_insn", "*", "insn", ",", "int", "priority", ")", "{", "rtx", "x", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "SET", ")", "{", "x", "=", "SET_SRC", "(", "x", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", "&&", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_SHA1H", ")", "return", "priority", "+", "10", ";", "}", "return", "priority", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_SCHED_ADJUST_PRIORITY", "hook", ".", "Adjust", "priority", "of", "sha1h", "instructions", "so", "they", "are", "scheduled", "before", "other", "SHA1", "instructions", "."], "TS_V_token": ["aarch64", "1", "10"], "File": "aarch64", "Func": "aarch64_sched_adjust_priority", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20016, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "TM", "=", "static_cast", "<", "const", "PPCTargetMachine", "*", ">", "(", "&", "MF", ".", "getTarget", "(", ")", ")", ";", "TII", "=", "TM", "->", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "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"], "File": "PPCTLSDynamicCall11", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20017, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isLegalICmpImmediate", "(", "int64_t", "Immed", ")", "const", "{", "if", "(", "Immed", "<", "0", ")", "Immed", "*=", "-", "1", ";", "return", "isLegalAddImmediate", "(", "Immed", ")", ";", "}", ""], "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": ["AArch64", "AArch64", "0", "1"], "File": "AArch64ISelLowering (2)1", "Func": "isLegalICmpImmediate", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20018, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", "||", "!", "RunPreEmitPeephole", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "const", "PPCInstrInfo", "*", "TII", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "SmallVector", "<", "MachineInstr", "*", ",", "4", ">", "InstrsToErase", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "{", "MachineInstr", "*", "DefMIToErase", "=", "nullptr", ";", "if", "(", "TII", "->", "convertToImmediateForm", "(", "MI", ",", "&", "DefMIToErase", ")", ")", "{", "Changed", "=", "true", ";", "NumRRConvertedInPreEmit", "++", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Converted instruction to imm form: \"", ")", ";", "LLVM_DEBUG", "(", "MI", ".", "dump", "(", ")", ")", ";", "if", "(", "DefMIToErase", ")", "{", "InstrsToErase", ".", "push_back", "(", "DefMIToErase", ")", ";", "}", "}", "}", "}", "for", "(", "MachineInstr", "*", "MI", ":", "InstrsToErase", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"PPC pre-emit peephole: erasing instruction: \"", ")", ";", "LLVM_DEBUG", "(", "MI", "->", "dump", "(", ")", ")", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "NumRemovedInPreEmit", "++", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "4", "\"Converted instruction to imm form: \"", "\"PPC pre-emit peephole: erasing instruction: \""], "File": "PPCPreEmitPeephole14", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20019, "Length": 177, "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_LO8_REGNUM_P", "(", "regno", ")", "?", "FP_LO8_REGS", ":", "FP_LO_REGNUM_P", "(", "regno", ")", "?", "FP_LO_REGS", ":", "FP_REGS", ")", ";", "if", "(", "PR_REGNUM_P", "(", "regno", ")", ")", "return", "PR_LO_REGNUM_P", "(", "regno", ")", "?", "PR_LO_REGS", ":", "PR_HI_REGS", ";", "if", "(", "regno", "==", "FFR_REGNUM", "||", "regno", "==", "FFRT_REGNUM", ")", "return", "FFR_REGS", ";", "return", "NO_REGS", ";", "}", ""], "natrual_language": ["Implement", "REGNO_REG_CLASS", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_regno_regclass", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20020, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "bool", "is64Bit", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ";", "unsigned", "SlotSize", "=", "is64Bit", "?", "8", ":", "4", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "X86MachineFunctionInfo", "*", "X86FI", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "X86FI", "->", "setCalleeSavedFrameSize", "(", "CSI", ".", "size", "(", ")", "*", "SlotSize", ")", ";", "unsigned", "Opc", "=", "is64Bit", "?", "X86", "::", "PUSH64r", ":", "X86", "::", "PUSH32r", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opc", ")", ")", ".", "addReg", "(", "Reg", ",", "false", ",", "false", ",", "true", ")", ";", "}", "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", "8", "4", "X86", "X86", "X86", "X86", "X86::PUSH64r", "X86::PUSH32r", "0", "1"], "File": "X86InstrInfo101", "Func": "spillCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20021, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sparc_legitimize_address", "(", "rtx", "x", ",", "rtx", "oldx", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ")", "{", "rtx", "orig_x", "=", "x", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "MULT", ")", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "XEXP", "(", "x", ",", "1", ")", ",", "force_operand", "(", "XEXP", "(", "x", ",", "0", ")", ",", "NULL_RTX", ")", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "MULT", ")", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "XEXP", "(", "x", ",", "0", ")", ",", "force_operand", "(", "XEXP", "(", "x", ",", "1", ")", ",", "NULL_RTX", ")", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "PLUS", ")", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "force_operand", "(", "XEXP", "(", "x", ",", "0", ")", ",", "NULL_RTX", ")", ",", "XEXP", "(", "x", ",", "1", ")", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "PLUS", ")", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "XEXP", "(", "x", ",", "0", ")", ",", "force_operand", "(", "XEXP", "(", "x", ",", "1", ")", ",", "NULL_RTX", ")", ")", ";", "if", "(", "x", "!=", "orig_x", "&&", "sparc_legitimate_address_p", "(", "mode", ",", "x", ",", "FALSE", ")", ")", "return", "x", ";", "if", "(", "sparc_tls_referenced_p", "(", "x", ")", ")", "x", "=", "sparc_legitimize_tls_address", "(", "x", ")", ";", "else", "if", "(", "flag_pic", ")", "x", "=", "sparc_legitimize_pic_address", "(", "x", ",", "NULL_RTX", ")", ";", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "CONSTANT_ADDRESS_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "XEXP", "(", "x", ",", "0", ")", ",", "copy_to_mode_reg", "(", "Pmode", ",", "XEXP", "(", "x", ",", "1", ")", ")", ")", ";", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "CONSTANT_ADDRESS_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", ")", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "XEXP", "(", "x", ",", "1", ")", ",", "copy_to_mode_reg", "(", "Pmode", ",", "XEXP", "(", "x", ",", "0", ")", ")", ")", ";", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "x", ")", "==", "CONST", "||", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", ")", "x", "=", "copy_to_suggested_reg", "(", "x", ",", "NULL_RTX", ",", "Pmode", ")", ";", "return", "x", ";", "}", ""], "natrual_language": ["Try", "machine-dependent", "ways", "of", "modifying", "an", "illegitimate", "address", "X", "to", "be", "legitimate", ".", "If", "we", "find", "one", ",", "return", "the", "new", ",", "valid", "address", ".", "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", ".", "MODE", "is", "the", "mode", "of", "the", "operand", "pointed", "to", "by", "X", ".", "On", "SPARC", ",", "change", "REG+N", "into", "REG+REG", ",", "and", "REG+", "(", "X", "*", "Y", ")", "into", "REG+REG", "."], "TS_V_token": ["sparc", "0", "1", "0", "1", "0", "1", "0", "0", "1", "1", "0", "1", "1", "0", "1", "0", "1", "0"], "File": "sparc", "Func": "sparc_legitimize_address", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20022, "Length": 385, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "mips_build_lower", "(", "struct", "mips_integer_op", "*", "codes", ",", "unsigned", "HOST_WIDE_INT", "value", ")", "{", "unsigned", "HOST_WIDE_INT", "high", ";", "unsigned", "int", "i", ";", "high", "=", "value", "&", "~", "(", "unsigned", "HOST_WIDE_INT", ")", "0xffff", ";", "if", "(", "!", "LUI_OPERAND", "(", "high", ")", "&&", "(", "value", "&", "0x18000", ")", "==", "0x18000", ")", "{", "i", "=", "mips_build_integer", "(", "codes", ",", "CONST_HIGH_PART", "(", "value", ")", ")", ";", "codes", "[", "i", "]", ".", "code", "=", "PLUS", ";", "codes", "[", "i", "]", ".", "value", "=", "CONST_LOW_PART", "(", "value", ")", ";", "}", "else", "{", "i", "=", "mips_build_integer", "(", "codes", ",", "high", ")", ";", "codes", "[", "i", "]", ".", "code", "=", "IOR", ";", "codes", "[", "i", "]", ".", "value", "=", "value", "&", "0xffff", ";", "}", "return", "i", "+", "1", ";", "}", ""], "natrual_language": ["As", "for", "mips_build_shift", ",", "but", "assume", "that", "the", "final", "action", "will", "be", "an", "IOR", "or", "PLUS", "operation", "."], "TS_V_token": ["mips", "0xffff", "0x18000", "0x18000", "0xffff", "1"], "File": "mips", "Func": "mips_build_lower", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20023, "Length": 123, "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", ",", "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": "AArch64ISelLowering117", "Func": "PerformDAGCombine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20024, "Length": 461, "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", ";", "unsigned", "Flags", "=", "MI", "->", "getFlags", "(", ")", ";", "if", "(", "(", "TSFlags", "&", "X86II", "::", "LOCK", ")", "||", "(", "Flags", "&", "X86", "::", "IP_HAS_LOCK", ")", ")", "OS", "<<", "\"\\tlock\\t\"", ";", "if", "(", "Flags", "&", "X86", "::", "IP_HAS_REPEAT_NE", ")", "OS", "<<", "\"\\trepne\\t\"", ";", "else", "if", "(", "Flags", "&", "X86", "::", "IP_HAS_REPEAT", ")", "OS", "<<", "\"\\trep\\t\"", ";", "if", "(", "(", "TSFlags", "&", "X86II", "::", "NOTRACK", ")", "||", "(", "Flags", "&", "X86", "::", "IP_HAS_NOTRACK", ")", ")", "OS", "<<", "\"\\tnotrack\\t\"", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "X86", "::", "DATA16_PREFIX", "&&", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "Mode16Bit", "]", ")", "{", "OS", "<<", "\"\\tdata32\"", ";", "}", "else", "printInstruction", "(", "MI", ",", "OS", ")", ";", "printAnnotation", "(", "OS", ",", "Annot", ")", ";", "if", "(", "CommentStream", ")", "EmitAnyX86InstComments", "(", "MI", ",", "*", "CommentStream", ",", "MII", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["X86", "X86", "X86II::LOCK", "X86::IP_HAS_LOCK", "\"\\tlock\\t\"", "X86::IP_HAS_REPEAT_NE", "\"\\trepne\\t\"", "X86::IP_HAS_REPEAT", "\"\\trep\\t\"", "X86II::NOTRACK", "X86::IP_HAS_NOTRACK", "\"\\tnotrack\\t\"", "X86::DATA16_PREFIX", "X86::Mode16Bit", "\"\\tdata32\"", "X86"], "File": "X86IntelInstPrinter9", "Func": "printInst", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20025, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAsmPrinter", "::", "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", "true", ";", "case", "'c'", ":", "break", ";", "case", "'L'", ":", "if", "(", "!", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isReg", "(", ")", "||", "OpNo", "+", "1", "==", "MI", "->", "getNumOperands", "(", ")", "||", "!", "MI", "->", "getOperand", "(", "OpNo", "+", "1", ")", ".", "isReg", "(", ")", ")", "return", "true", ";", "++", "OpNo", ";", "break", ";", "case", "'I'", ":", "if", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isImm", "(", ")", ")", "O", "<<", "\"i\"", ";", "return", "false", ";", "}", "}", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["PowerPC", "PPC", "0", "1", "0", "0", "1", "1", "\"i\""], "File": "PPCAsmPrinter1", "Func": "PrintAsmOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20026, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "copy_fp_args", "(", "rtx", "insn", ")", "{", "rtx", "link", ";", "rtx", "xoperands", "[", "2", "]", ";", "for", "(", "link", "=", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ";", "link", ";", "link", "=", "XEXP", "(", "link", ",", "1", ")", ")", "{", "int", "arg_mode", ",", "regno", ";", "rtx", "use", "=", "XEXP", "(", "link", ",", "0", ")", ";", "if", "(", "!", "(", "GET_CODE", "(", "use", ")", "==", "USE", "&&", "GET_CODE", "(", "XEXP", "(", "use", ",", "0", ")", ")", "==", "REG", "&&", "FUNCTION_ARG_REGNO_P", "(", "REGNO", "(", "XEXP", "(", "use", ",", "0", ")", ")", ")", ")", ")", "continue", ";", "arg_mode", "=", "GET_MODE", "(", "XEXP", "(", "use", ",", "0", ")", ")", ";", "regno", "=", "REGNO", "(", "XEXP", "(", "use", ",", "0", ")", ")", ";", "if", "(", "regno", ">=", "32", "&&", "regno", "<=", "39", ")", "{", "if", "(", "arg_mode", "==", "SFmode", ")", "{", "xoperands", "[", "0", "]", "=", "XEXP", "(", "use", ",", "0", ")", ";", "xoperands", "[", "1", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "26", "-", "(", "regno", "-", "32", ")", "/", "2", ")", ";", "output_asm_insn", "(", "\"{fstws|fstw} %0,-16(%%sr0,%%r30)\"", ",", "xoperands", ")", ";", "output_asm_insn", "(", "\"ldw -16(%%sr0,%%r30),%1\"", ",", "xoperands", ")", ";", "}", "else", "{", "xoperands", "[", "0", "]", "=", "XEXP", "(", "use", ",", "0", ")", ";", "xoperands", "[", "1", "]", "=", "gen_rtx_REG", "(", "DImode", ",", "25", "-", "(", "regno", "-", "34", ")", "/", "2", ")", ";", "output_asm_insn", "(", "\"{fstds|fstd} %0,-16(%%sr0,%%r30)\"", ",", "xoperands", ")", ";", "output_asm_insn", "(", "\"ldw -12(%%sr0,%%r30),%R1\"", ",", "xoperands", ")", ";", "output_asm_insn", "(", "\"ldw -16(%%sr0,%%r30),%1\"", ",", "xoperands", ")", ";", "}", "}", "}", "}", ""], "natrual_language": ["Copy", "any", "FP", "arguments", "in", "INSN", "into", "integer", "registers", "."], "TS_V_token": ["pa", "2", "1", "0", "0", "0", "0", "0", "32", "39", "0", "0", "1", "26", "32", "2", "\"{fstws|fstw} %0,-16(%%sr0,%%r30)\"", "\"ldw -16(%%sr0,%%r30),%1\"", "0", "0", "1", "25", "34", "2", "\"{fstds|fstd} %0,-16(%%sr0,%%r30)\"", "\"ldw -12(%%sr0,%%r30),%R1\"", "\"ldw -16(%%sr0,%%r30),%1\""], "File": "pa3", "Func": "copy_fp_args", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20027, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "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", "=", "TII", ".", "getFrameSize", "(", "*", "I", ")", ";", "uint64_t", "InternalAmt", "=", "(", "isDestroy", "||", "Amount", ")", "?", "TII", ".", "getFrameAdjustment", "(", "*", "I", ")", ":", "0", ";", "I", "=", "MBB", ".", "erase", "(", "I", ")", ";", "auto", "InsertPos", "=", "skipDebugInstructionsForward", "(", "I", ",", "MBB", ".", "end", "(", ")", ")", ";", "if", "(", "isDestroy", "&&", "blockEndIsUnreachable", "(", "MBB", ",", "I", ")", ")", "return", "I", ";", "if", "(", "!", "reserveCallFrame", ")", "{", "Amount", "=", "alignTo", "(", "Amount", ",", "getStackAlign", "(", ")", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "bool", "WindowsCFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", "->", "usesWindowsCFI", "(", ")", ";", "bool", "DwarfCFI", "=", "!", "WindowsCFI", "&&", "MF", ".", "needsFrameMoves", "(", ")", ";", "bool", "HasDwarfEHHandlers", "=", "!", "WindowsCFI", "&&", "!", "MF", ".", "getLandingPads", "(", ")", ".", "empty", "(", ")", ";", "if", "(", "HasDwarfEHHandlers", "&&", "!", "isDestroy", "&&", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "getHasPushSequences", "(", ")", ")", "BuildCFI", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "MCCFIInstruction", "::", "createGnuArgsSize", "(", "nullptr", ",", "Amount", ")", ")", ";", "if", "(", "Amount", "==", "0", ")", "return", "I", ";", "Amount", "-=", "InternalAmt", ";", "if", "(", "isDestroy", "&&", "InternalAmt", "&&", "DwarfCFI", "&&", "!", "hasFP", "(", "MF", ")", ")", "BuildCFI", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "MCCFIInstruction", "::", "createAdjustCfaOffset", "(", "nullptr", ",", "-", "InternalAmt", ")", ")", ";", "int64_t", "StackAdjustment", "=", "isDestroy", "?", "Amount", ":", "-", "Amount", ";", "if", "(", "StackAdjustment", ")", "{", "StackAdjustment", "+=", "mergeSPUpdates", "(", "MBB", ",", "InsertPos", ",", "true", ")", ";", "StackAdjustment", "+=", "mergeSPUpdates", "(", "MBB", ",", "InsertPos", ",", "false", ")", ";", "if", "(", "StackAdjustment", ")", "{", "if", "(", "!", "(", "F", ".", "hasMinSize", "(", ")", "&&", "adjustStackWithPops", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "StackAdjustment", ")", ")", ")", "BuildStackAdjustment", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "StackAdjustment", ",", "false", ")", ";", "}", "}", "if", "(", "DwarfCFI", "&&", "!", "hasFP", "(", "MF", ")", ")", "{", "int64_t", "CfaAdjustment", "=", "-", "StackAdjustment", ";", "if", "(", "CfaAdjustment", ")", "{", "BuildCFI", "(", "MBB", ",", "InsertPos", ",", "DL", ",", "MCCFIInstruction", "::", "createAdjustCfaOffset", "(", "nullptr", ",", "CfaAdjustment", ")", ")", ";", "}", "}", "return", "I", ";", "}", "if", "(", "InternalAmt", ")", "{", "MachineBasicBlock", "::", "iterator", "CI", "=", "I", ";", "MachineBasicBlock", "::", "iterator", "B", "=", "MBB", ".", "begin", "(", ")", ";", "while", "(", "CI", "!=", "B", "&&", "!", "std", "::", "prev", "(", "CI", ")", "->", "isCall", "(", ")", ")", "--", "CI", ";", "BuildStackAdjustment", "(", "MBB", ",", "CI", ",", "DL", ",", "-", "InternalAmt", ",", "false", ")", ";", "}", "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": ["X86", "X86", "0", "X86", "0"], "File": "X86FrameLowering (2)3", "Func": "eliminateCallFramePseudoInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20028, "Length": 472, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CSKYSubtarget", "&", "CSKYSubtarget", "::", "initializeSubtargetDependencies", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPUName", ",", "StringRef", "TuneCPUName", ",", "StringRef", "FS", ")", "{", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", "=", "\"generic\"", ";", "if", "(", "TuneCPUName", ".", "empty", "(", ")", ")", "TuneCPUName", "=", "CPUName", ";", "UseHardFloat", "=", "false", ";", "UseHardFloatABI", "=", "false", ";", "HasFPUv2SingleFloat", "=", "false", ";", "HasFPUv2DoubleFloat", "=", "false", ";", "HasFPUv3HalfWord", "=", "false", ";", "HasFPUv3HalfFloat", "=", "false", ";", "HasFPUv3SingleFloat", "=", "false", ";", "HasFPUv3DoubleFloat", "=", "false", ";", "HasFdivdu", "=", "false", ";", "HasFLOATE1", "=", "false", ";", "HasFLOAT1E2", "=", "false", ";", "HasFLOAT1E3", "=", "false", ";", "HasFLOAT3E4", "=", "false", ";", "HasFLOAT7E60", "=", "false", ";", "HasExtendLrw", "=", "false", ";", "HasBTST16", "=", "false", ";", "HasTrust", "=", "false", ";", "HasJAVA", "=", "false", ";", "HasCache", "=", "false", ";", "HasNVIC", "=", "false", ";", "HasDSP", "=", "false", ";", "HasDSP1E2", "=", "false", ";", "HasDSPE60", "=", "false", ";", "HasDSPV2", "=", "false", ";", "HasDSP_Silan", "=", "false", ";", "HasDoloop", "=", "false", ";", "HasHardwareDivide", "=", "false", ";", "HasHighRegisters", "=", "false", ";", "HasVDSPV2", "=", "false", ";", "HasVDSP2E3", "=", "false", ";", "HasVDSP2E60F", "=", "false", ";", "ReadTPHard", "=", "false", ";", "HasVDSPV1_128", "=", "false", ";", "UseCCRT", "=", "false", ";", "DumpConstPool", "=", "false", ";", "EnableInterruptAttribute", "=", "false", ";", "HasPushPop", "=", "false", ";", "HasSTM", "=", "false", ";", "SmartMode", "=", "false", ";", "EnableStackSize", "=", "false", ";", "HasE1", "=", "false", ";", "HasE2", "=", "false", ";", "Has2E3", "=", "false", ";", "HasMP", "=", "false", ";", "Has3E3r1", "=", "false", ";", "Has3r1E3r2", "=", "false", ";", "Has3r2E3r3", "=", "false", ";", "Has3E7", "=", "false", ";", "HasMP1E2", "=", "false", ";", "Has7E10", "=", "false", ";", "Has10E60", "=", "false", ";", "ParseSubtargetFeatures", "(", "CPUName", ",", "TuneCPUName", ",", "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": ["CSKY", "CSKY", "CSKY", "\"generic\""], "File": "CSKYSubtarget1", "Func": "initializeSubtargetDependencies", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20029, "Length": 263, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64FrameLowering", "::", "getWinEHParentFrameOffset", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "0", ";", "}", ""], "natrual_language": ["The", "parent", "frame", "offset", "(", "aka", "dispFrame", ")", "is", "only", "used", "on", "X86_64", "to", "retrieve", "the", "parent", "'s", "frame", "pointer", "."], "TS_V_token": ["AArch64", "AArch64", "0"], "File": "AArch64FrameLowering (2)1", "Func": "getWinEHParentFrameOffset", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20030, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", "const", "override", "{", "Value", "=", "adjustFixupValue", "(", "Fixup", ".", "getKind", "(", ")", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittleEndian", "?", "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", "1", "8", "0xff"], "File": "PPCAsmBackend", "Func": "applyFixup", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20031, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "const_vector_elt_as_int", "(", "rtx", "op", ",", "unsigned", "int", "elt", ")", "{", "rtx", "tmp", ";", "gcc_assert", "(", "GET_MODE", "(", "op", ")", "!=", "V2DImode", "&&", "GET_MODE", "(", "op", ")", "!=", "V2DFmode", ")", ";", "tmp", "=", "CONST_VECTOR_ELT", "(", "op", ",", "elt", ")", ";", "if", "(", "GET_MODE", "(", "op", ")", "==", "V4SFmode", ")", "tmp", "=", "gen_lowpart", "(", "SImode", ",", "tmp", ")", ";", "return", "INTVAL", "(", "tmp", ")", ";", "}", ""], "natrual_language": ["Interpret", "element", "ELT", "of", "the", "CONST_VECTOR", "OP", "as", "an", "integer", "value", ".", "If", "the", "mode", "of", "OP", "is", "MODE_VECTOR_INT", ",", "this", "simply", "returns", "the", "corresponding", "element", "of", "the", "vector", ",", "but", "for", "V4SFmode", ",", "the", "corresponding", "``", "float", "''", "is", "interpreted", "as", "an", "SImode", "integer", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "const_vector_elt_as_int", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20032, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ")", "const", "{", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "+", "7", ")", "/", "8", ";", "unsigned", "FullSize", ";", "switch", "(", "(", "unsigned", ")", "Kind", ")", "{", "case", "FK_Data_2", ":", "case", "Mips", "::", "fixup_Mips_16", ":", "FullSize", "=", "2", ";", "break", ";", "case", "FK_Data_8", ":", "case", "Mips", "::", "fixup_Mips_64", ":", "FullSize", "=", "8", ";", "break", ";", "case", "FK_Data_4", ":", "default", ":", "FullSize", "=", "4", ";", "break", ";", "}", "uint64_t", "CurVal", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittle", "?", "i", ":", "(", "FullSize", "-", "1", "-", "i", ")", ";", "CurVal", "|=", "(", "uint64_t", ")", "(", "(", "uint8_t", ")", "Data", "[", "Offset", "+", "Idx", "]", ")", "<<", "(", "i", "*", "8", ")", ";", "}", "uint64_t", "Mask", "=", "(", "(", "uint64_t", ")", "(", "-", "1", ")", ">>", "(", "64", "-", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", ")", ";", "CurVal", "|=", "Value", "&", "Mask", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittle", "?", "i", ":", "(", "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": ["Mips", "7", "8", "Mips::fixup_Mips_16", "2", "Mips::fixup_Mips_64", "8", "4", "0", "0", "1", "8", "1", "64", "0", "1", "8", "0xff"], "File": "MipsAsmBackend20", "Func": "applyFixup", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20033, "Length": 266, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_bd_has_dispatch", "(", "rtx_insn", "*", "insn", ",", "int", "action", ")", "{", "if", "(", "(", "TARGET_CPU_P", "(", "BDVER1", ")", "||", "TARGET_CPU_P", "(", "BDVER2", ")", "||", "TARGET_CPU_P", "(", "BDVER3", ")", "||", "TARGET_CPU_P", "(", "BDVER4", ")", ")", "&&", "flag_dispatch_scheduler", ")", "switch", "(", "action", ")", "{", "default", ":", "return", "false", ";", "case", "IS_DISPATCH_ON", ":", "return", "true", ";", "case", "IS_CMP", ":", "return", "is_cmp", "(", "insn", ")", ";", "case", "DISPATCH_VIOLATION", ":", "return", "dispatch_violation", "(", ")", ";", "case", "FITS_DISPATCH_WINDOW", ":", "return", "fits_dispatch_window", "(", "insn", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "Dispatch", "Scheduling", "is", "supported", "."], "TS_V_token": ["i386"], "File": "x86-tune-sched-bd", "Func": "ix86_bd_has_dispatch", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20034, "Length": 84, "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", "{", "const", "ARMSubtarget", "&", "Subtarget", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "if", "(", "!", "Subtarget", ".", "isAAPCS_ABI", "(", ")", "||", "Subtarget", ".", "isTargetMachO", "(", ")", "||", "Subtarget", ".", "isTargetWindows", "(", ")", ")", "return", "SDValue", "(", ")", ";", "const", "ARMTargetLowering", "&", "TLI", "=", "*", "Subtarget", ".", "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", "(", "DAG", ")", ";", "CLI", ".", "setDebugLoc", "(", "dl", ")", ".", "setChain", "(", "Chain", ")", ".", "setCallee", "(", "TLI", ".", "getLibcallCallingConv", "(", "RTLIB", "::", "MEMSET", ")", ",", "Type", "::", "getVoidTy", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ",", "DAG", ".", "getExternalSymbol", "(", "TLI", ".", "getLibcallName", "(", "RTLIB", "::", "MEMSET", ")", ",", "TLI", ".", "getPointerTy", "(", ")", ")", ",", "std", "::", "move", "(", "Args", ")", ",", "0", ")", ".", "setDiscardResult", "(", ")", ";", "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": "ARMSelectionDAGInfo12", "Func": "EmitTargetCodeForMemset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20035, "Length": 354, "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": 20036, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMFrameInfo", "::", "hasReservedCallFrame", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "FFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "CFSize", "=", "FFI", "->", "getMaxCallFrameSize", "(", ")", ";", "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", "1", "12", "1", "2"], "File": "ARMFrameInfo", "Func": "hasReservedCallFrame", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20037, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "standard_80387_constant_rtx", "(", "int", "idx", ")", "{", "int", "i", ";", "if", "(", "!", "ext_80387_constants_init", ")", "init_ext_80387_constants", "(", ")", ";", "switch", "(", "idx", ")", "{", "case", "3", ":", "case", "4", ":", "case", "5", ":", "case", "6", ":", "case", "7", ":", "i", "=", "idx", "-", "3", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "CONST_DOUBLE_FROM_REAL_VALUE", "(", "ext_80387_constants_table", "[", "i", "]", ",", "XFmode", ")", ";", "}", ""], "natrual_language": ["Return", "the", "CONST_DOUBLE", "representing", "the", "80387", "constant", "that", "is", "loaded", "by", "the", "specified", "special", "instruction", ".", "The", "argument", "IDX", "matches", "the", "return", "value", "from", "standard_80387_constant_p", "."], "TS_V_token": ["i386", "3", "4", "5", "6", "7", "3"], "File": "i3863", "Func": "standard_80387_constant_rtx", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20038, "Length": 66, "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": ["ARM64"], "File": "ARM64AsmParser1", "Func": "getStartLoc", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20039, "Length": 11, "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", ":", "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", "0", "0", "1", "2", "2", "0", "1", "0", "0"], "File": "AArch64InstrInfo1", "Func": "isStoreToStackSlot", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20040, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_modes_tieable_p", "(", "machine_mode", "mode1", ",", "machine_mode", "mode2", ")", "{", "if", "(", "mode1", "==", "PTImode", "||", "mode1", "==", "OOmode", "||", "mode1", "==", "XOmode", "||", "mode2", "==", "PTImode", "||", "mode2", "==", "OOmode", "||", "mode2", "==", "XOmode", ")", "return", "mode1", "==", "mode2", ";", "if", "(", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "mode1", ")", ")", "return", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "mode2", ")", ";", "if", "(", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "mode2", ")", ")", "return", "false", ";", "if", "(", "SCALAR_FLOAT_MODE_P", "(", "mode1", ")", ")", "return", "SCALAR_FLOAT_MODE_P", "(", "mode2", ")", ";", "if", "(", "SCALAR_FLOAT_MODE_P", "(", "mode2", ")", ")", "return", "false", ";", "if", "(", "GET_MODE_CLASS", "(", "mode1", ")", "==", "MODE_CC", ")", "return", "GET_MODE_CLASS", "(", "mode2", ")", "==", "MODE_CC", ";", "if", "(", "GET_MODE_CLASS", "(", "mode2", ")", "==", "MODE_CC", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MODES_TIEABLE_P", ".", "PTImode", "can", "not", "tie", "with", "other", "modes", "because", "PTImode", "is", "restricted", "to", "even", "GPR", "registers", ",", "and", "TImode", "can", "go", "in", "any", "GPR", "as", "well", "as", "VSX", "registers", "(", "PR", "57744", ")", ".", "Similarly", ",", "do", "n't", "allow", "OOmode", "(", "vector", "pair", ",", "restricted", "to", "even", "VSX", "registers", ")", "or", "XOmode", "(", "vector", "quad", ",", "restricted", "to", "FPR", "registers", "divisible", "by", "4", ")", "to", "tie", "with", "other", "modes", ".", "Altivec/VSX", "vector", "tests", "were", "moved", "ahead", "of", "scalar", "float", "mode", ",", "so", "that", "IEEE", "128-bit", "floating", "point", "on", "VSX", "systems", "ties", "with", "other", "vectors", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_modes_tieable_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20041, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "Cpu0RegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Cpu0", "Cpu0"], "File": "Cpu0TargetMachine1", "Func": "getRegisterInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20042, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnModule", "(", "Module", "&", "M", ")", "override", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "getPassName", "(", ")", "<<", "'\\n'", ")", ";", "if", "(", "skipModule", "(", "M", ")", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "PromotionCacheTy", "PromotionCache", ";", "for", "(", "auto", "&", "MF", ":", "M", ")", "{", "Changed", "|=", "runOnFunction", "(", "MF", ",", "PromotionCache", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["AArch64"], "File": "AArch64PromoteConstant", "Func": "runOnModule", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20043, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_arg_partial_bytes", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "bool", "named", ")", "{", "struct", "mips_arg_info", "info", ";", "mips_arg_info", "(", "cum", ",", "mode", ",", "type", ",", "named", ",", "&", "info", ")", ";", "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": "mips3", "Func": "mips_arg_partial_bytes", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20044, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86CallFrameOptimization", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "TFL", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "if", "(", "!", "isLegal", "(", "MF", ")", ")", "return", "false", ";", "unsigned", "FrameSetupOpcode", "=", "TII", "->", "getCallFrameSetupOpcode", "(", ")", ";", "bool", "Changed", "=", "false", ";", "ContextMap", "CallSeqMap", ";", "for", "(", "MachineFunction", "::", "iterator", "BB", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "BB", "!=", "E", ";", "++", "BB", ")", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "BB", "->", "begin", "(", ")", ";", "I", "!=", "BB", "->", "end", "(", ")", ";", "++", "I", ")", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "FrameSetupOpcode", ")", "{", "CallContext", "&", "Context", "=", "CallSeqMap", "[", "I", "]", ";", "collectCallInfo", "(", "MF", ",", "*", "BB", ",", "I", ",", "Context", ")", ";", "}", "if", "(", "!", "isProfitable", "(", "MF", ",", "CallSeqMap", ")", ")", "return", "false", ";", "for", "(", "auto", "CC", ":", "CallSeqMap", ")", "if", "(", "CC", ".", "second", ".", "UsePush", ")", "Changed", "|=", "adjustCallSequence", "(", "MF", ",", "CC", ".", "first", ",", "CC", ".", "second", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86"], "File": "X86CallFrameOptimization29", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20045, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "sh_extending_set_of_reg", "::", "use_as_extended_reg", "(", "rtx_insn", "*", "use_at_insn", ")", "const", "{", "gcc_assert", "(", "insn", "!=", "NULL", "&&", "set_src", "!=", "NULL", "&&", "set_rtx", "!=", "NULL", ")", ";", "gcc_assert", "(", "ext_code", "==", "SIGN_EXTEND", "||", "ext_code", "==", "ZERO_EXTEND", ")", ";", "gcc_assert", "(", "from_mode", "==", "QImode", "||", "from_mode", "==", "HImode", ")", ";", "if", "(", "MEM_P", "(", "set_src", ")", "&&", "ext_code", "==", "SIGN_EXTEND", ")", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"use_as_extended_reg: converting non-extending mem load in \"", "\"insn %d into sign-extending load\\n\"", ",", "INSN_UID", "(", "insn", ")", ")", ";", "rtx", "r", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx_insn", "*", "i0", ";", "if", "(", "from_mode", "==", "QImode", ")", "i0", "=", "sh_check_add_incdec_notes", "(", "emit_insn_after", "(", "gen_extendqisi2", "(", "r", ",", "set_src", ")", ",", "insn", ")", ")", ";", "else", "if", "(", "from_mode", "==", "HImode", ")", "i0", "=", "sh_check_add_incdec_notes", "(", "emit_insn_after", "(", "gen_extendhisi2", "(", "r", ",", "set_src", ")", ",", "insn", ")", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "emit_insn_after", "(", "gen_move_insn", "(", "XEXP", "(", "set_rtx", ",", "0", ")", ",", "gen_lowpart", "(", "GET_MODE", "(", "set_src", ")", ",", "r", ")", ")", ",", "i0", ")", ";", "set_insn_deleted", "(", "insn", ")", ";", "return", "r", ";", "}", "else", "{", "rtx", "extension_dst", "=", "XEXP", "(", "set_rtx", ",", "0", ")", ";", "if", "(", "GET_MODE", "(", "extension_dst", ")", "!=", "SImode", ")", "extension_dst", "=", "simplify_gen_subreg", "(", "SImode", ",", "extension_dst", ",", "GET_MODE", "(", "extension_dst", ")", ",", "0", ")", ";", "if", "(", "modified_between_p", "(", "extension_dst", ",", "insn", ",", "use_at_insn", ")", ")", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"use_as_extended_reg: dest reg %d of extending insn %d is \"", "\"modified, inserting a reg-reg copy\\n\"", ",", "REGNO", "(", "extension_dst", ")", ",", "INSN_UID", "(", "insn", ")", ")", ";", "rtx", "r", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn_after", "(", "gen_move_insn", "(", "r", ",", "extension_dst", ")", ",", "insn", ")", ";", "return", "r", ";", "}", "else", "{", "sh_remove_reg_dead_or_unused_notes", "(", "insn", ",", "REGNO", "(", "extension_dst", ")", ")", ";", "return", "extension_dst", ";", "}", "}", "}", ""], "natrual_language": ["Given", "a", "reg", "that", "is", "known", "to", "be", "sign", "or", "zero", "extended", "at", "some", "insn", ",", "take", "the", "appropriate", "measures", "so", "that", "the", "extended", "value", "can", "be", "used", "as", "a", "reg", "at", "the", "specified", "insn", "and", "return", "the", "resulting", "reg", "rtx", "."], "TS_V_token": ["sh", "\"use_as_extended_reg: converting non-extending mem load in \"", "\"insn %d into sign-extending load\\n\"", "0", "0", "0", "\"use_as_extended_reg: dest reg %d of extending insn %d is \"", "\"modified, inserting a reg-reg copy\\n\""], "File": "sh", "Func": "use_as_extended_reg", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20046, "Length": 288, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "aarch64_simd_attr_length_rglist", "(", "machine_mode", "mode", ")", "{", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", ".", "to_constant", "(", ")", "/", "UNITS_PER_VREG", ")", "*", "4", ";", "}", ""], "natrual_language": ["Compute", "and", "return", "the", "length", "of", "aarch64_simd_reglist", "<", "mode", ">", ",", "where", "<", "mode", ">", "is", "one", "of", "VSTRUCT", "modes", ":", "OI", ",", "CI", ",", "EI", ",", "or", "XI", "."], "TS_V_token": ["aarch64", "4"], "File": "aarch64", "Func": "aarch64_simd_attr_length_rglist", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20047, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "APInt", "&", "KnownZero", ",", "APInt", "&", "KnownOne", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "unsigned", "BitWidth", "=", "KnownOne", ".", "getBitWidth", "(", ")", ";", "KnownZero", "=", "KnownOne", "=", "APInt", "(", "BitWidth", ",", "0", ")", ";", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ARMISD", "::", "ADDC", ":", "case", "ARMISD", "::", "ADDE", ":", "case", "ARMISD", "::", "SUBC", ":", "case", "ARMISD", "::", "SUBE", ":", "if", "(", "Op", ".", "getResNo", "(", ")", "==", "0", ")", "break", ";", "KnownZero", "|=", "APInt", "::", "getHighBitsSet", "(", "BitWidth", ",", "BitWidth", "-", "1", ")", ";", "break", ";", "case", "ARMISD", "::", "CMOV", ":", "{", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "0", ")", ",", "KnownZero", ",", "KnownOne", ",", "Depth", "+", "1", ")", ";", "if", "(", "KnownZero", "==", "0", "&&", "KnownOne", "==", "0", ")", "return", ";", "APInt", "KnownZeroRHS", ",", "KnownOneRHS", ";", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "1", ")", ",", "KnownZeroRHS", ",", "KnownOneRHS", ",", "Depth", "+", "1", ")", ";", "KnownZero", "&=", "KnownZeroRHS", ";", "KnownOne", "&=", "KnownOneRHS", ";", "return", ";", "}", "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", "::", "arm_ldaex", ":", "case", "Intrinsic", "::", "arm_ldrex", ":", "{", "EVT", "VT", "=", "cast", "<", "MemIntrinsicSDNode", ">", "(", "Op", ")", "->", "getMemoryVT", "(", ")", ";", "unsigned", "MemBits", "=", "VT", ".", "getScalarType", "(", ")", ".", "getSizeInBits", "(", ")", ";", "KnownZero", "|=", "APInt", "::", "getHighBitsSet", "(", "BitWidth", ",", "BitWidth", "-", "MemBits", ")", ";", "return", ";", "}", "}", "}", "}", "}", ""], "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": ["ARM", "ARM", "0", "ARMISD::ADDC", "ARMISD::ADDE", "ARMISD::SUBC", "ARMISD::SUBE", "0", "1", "ARMISD::CMOV", "0", "1", "0", "0", "1", "1", "ISD::INTRINSIC_W_CHAIN", "1", "Intrinsic::ID", "Intrinsic::ID", "Intrinsic::arm_ldaex", "Intrinsic::arm_ldrex"], "File": "ARMISelLowering (2)", "Func": "computeKnownBitsForTargetNode", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20048, "Length": 291, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "Register", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "assert", "(", "MFI", ".", "getObjectSize", "(", "FrameIdx", ")", ">=", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", "&&", "\"Stack slot too small for store\"", ")", ";", "if", "(", "RC", "->", "getID", "(", ")", "==", "X86", "::", "TILERegClassID", ")", "{", "unsigned", "Opc", "=", "X86", "::", "TILESTORED", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "Register", "VirtReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "X86", "::", "GR64_NOSPRegClass", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DebugLoc", "(", ")", ",", "get", "(", "X86", "::", "MOV64ri", ")", ",", "VirtReg", ")", ".", "addImm", "(", "64", ")", ";", "MachineInstr", "*", "NewMI", "=", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "MI", ",", "DebugLoc", "(", ")", ",", "get", "(", "Opc", ")", ")", ",", "FrameIdx", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "MachineOperand", "&", "MO", "=", "NewMI", "->", "getOperand", "(", "2", ")", ";", "MO", ".", "setReg", "(", "VirtReg", ")", ";", "MO", ".", "setIsKill", "(", "true", ")", ";", "}", "else", "{", "unsigned", "Alignment", "=", "std", "::", "max", "<", "uint32_t", ">", "(", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", ",", "16", ")", ";", "bool", "isAligned", "=", "(", "Subtarget", ".", "getFrameLowering", "(", ")", "->", "getStackAlign", "(", ")", ">=", "Alignment", ")", "||", "(", "RI", ".", "canRealignStack", "(", "MF", ")", "&&", "!", "MFI", ".", "isFixedObjectIndex", "(", "FrameIdx", ")", ")", ";", "unsigned", "Opc", "=", "getStoreRegOpcode", "(", "SrcReg", ",", "RC", ",", "isAligned", ",", "Subtarget", ")", ";", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "MI", ",", "DebugLoc", "(", ")", ",", "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\"", "X86::TILERegClassID", "X86::TILESTORED", "X86::GR64_NOSPRegClass", "X86::MOV64ri", "64", "2", "16"], "File": "X86InstrInfo (2)3", "Func": "storeRegToStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20049, "Length": 315, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "feature_count", "(", "const", "arm_feature_set", "*", "set", ")", "{", "return", "(", "bit_count", "(", "ARM_FSET_CPU1", "(", "*", "set", ")", ")", "+", "bit_count", "(", "ARM_FSET_CPU2", "(", "*", "set", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "features", "in", "feature-set", "SET", "."], "TS_V_token": ["arm"], "File": "arm5", "Func": "feature_count", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20050, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_division_cost", "(", "const", "struct", "processor_costs", "*", "cost", ",", "enum", "machine_mode", "mode", ")", "{", "machine_mode", "inner_mode", "=", "mode", ";", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", ")", "inner_mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "if", "(", "SSE_FLOAT_MODE_P", "(", "mode", ")", "&&", "TARGET_SSE_MATH", ")", "return", "inner_mode", "==", "DFmode", "?", "cost", "->", "divsd", ":", "cost", "->", "divss", ";", "else", "if", "(", "X87_FLOAT_MODE_P", "(", "mode", ")", ")", "return", "cost", "->", "fdiv", ";", "else", "if", "(", "FLOAT_MODE_P", "(", "mode", ")", ")", "return", "ix86_vec_cost", "(", "mode", ",", "inner_mode", "==", "DFmode", "?", "cost", "->", "divsd", ":", "cost", "->", "divss", ",", "true", ")", ";", "else", "return", "cost", "->", "divide", "[", "MODE_INDEX", "(", "mode", ")", "]", ";", "}", ""], "natrual_language": ["Return", "cost", "of", "multiplication", "in", "MODE", "."], "TS_V_token": ["i386"], "File": "i3867", "Func": "ix86_division_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20051, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "canUseAsEpilogue", "(", "const", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "assert", "(", "MBB", ".", "getParent", "(", ")", "&&", "\"Block is not attached to a function!\"", ")", ";", "if", "(", "MBB", ".", "getParent", "(", ")", "->", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "isTargetWin64", "(", ")", "&&", "!", "MBB", ".", "succ_empty", "(", ")", "&&", "!", "MBB", ".", "isReturnBlock", "(", ")", ")", "return", "false", ";", "if", "(", "canUseLEAForSPInEpilogue", "(", "*", "MBB", ".", "getParent", "(", ")", ")", ")", "return", "true", ";", "return", "!", "terminatorsNeedFlagsAsInput", "(", "MBB", ")", ";", "}", ""], "natrual_language": ["Check", "whether", "or", "not", "the", "given", "MBB", "can", "be", "used", "as", "a", "epilogue", "for", "the", "target", "."], "TS_V_token": ["X86", "X86", "\"Block is not attached to a function!\"", "X86"], "File": "X86FrameLowering81", "Func": "canUseAsEpilogue", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20052, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "dominates", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "const_iterator", "A", ",", "MachineBasicBlock", "::", "const_iterator", "B", ")", "{", "auto", "MBBEnd", "=", "MBB", ".", "end", "(", ")", ";", "if", "(", "B", "==", "MBBEnd", ")", "return", "true", ";", "MachineBasicBlock", "::", "const_iterator", "I", "=", "MBB", ".", "begin", "(", ")", ";", "for", "(", ";", "&", "*", "I", "!=", "A", "&&", "&", "*", "I", "!=", "B", ";", "++", "I", ")", ";", "return", "&", "*", "I", "==", "A", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "B1", "occurs", "before", "B2", "in", "the", "trace", ",", "or", "if", "it", "is", "the", "same", "block", "as", "B2", "."], "TS_V_token": ["X86"], "File": "X86FastPreTileConfig", "Func": "dominates", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20053, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_asm_function_begin_epilogue", "(", "FILE", "*", "file", ")", "{", "fprintf", "(", "file", ",", "\"\\t! BEGIN EPILOGUE\\n\"", ")", ";", "}", ""], "natrual_language": ["Before", "rtl", "epilogue", "has", "been", "expanded", ",", "this", "function", "is", "used", "."], "TS_V_token": ["nds32", "\"\\t! BEGIN EPILOGUE\\n\""], "File": "nds32", "Func": "nds32_asm_function_begin_epilogue", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20054, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_is_noplt_call_p", "(", "rtx", "sym", ")", "{", "const_tree", "decl", "=", "SYMBOL_REF_DECL", "(", "sym", ")", ";", "if", "(", "flag_pic", "&&", "decl", "&&", "(", "!", "flag_plt", "||", "lookup_attribute", "(", "\"noplt\"", ",", "DECL_ATTRIBUTES", "(", "decl", ")", ")", ")", "&&", "!", "targetm", ".", "binds_local_p", "(", "decl", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "calls", "to", "symbol-ref", "SYM", "should", "not", "go", "through", "plt", "stubs", "."], "TS_V_token": ["aarch64", "\"noplt\""], "File": "aarch64", "Func": "aarch64_is_noplt_call_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20055, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ia64_function_arg", "(", "cumulative_args_t", "cum", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "return", "ia64_function_arg_1", "(", "cum", ",", "mode", ",", "type", ",", "named", ",", "false", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCION_ARG", "target", "hook", "."], "TS_V_token": ["ia64"], "File": "ia644", "Func": "ia64_function_arg", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20056, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "assert", "(", "MBBI", "->", "isReturn", "(", ")", "&&", "\"Can only insert epilog into returning blocks\"", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "AArch64InstrInfo", "*", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "const", "AArch64RegisterInfo", "*", "RegInfo", "=", "static_cast", "<", "const", "AArch64RegisterInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "RetOpcode", "=", "MBBI", "->", "getOpcode", "(", ")", ";", "int", "NumBytes", "=", "MFI", "->", "getStackSize", "(", ")", ";", "const", "AArch64FunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "uint64_t", "ArgumentPopSize", "=", "0", ";", "if", "(", "RetOpcode", "==", "AArch64", "::", "TCRETURNdi", "||", "RetOpcode", "==", "AArch64", "::", "TCRETURNri", ")", "{", "MachineOperand", "&", "StackAdjust", "=", "MBBI", "->", "getOperand", "(", "1", ")", ";", "ArgumentPopSize", "=", "StackAdjust", ".", "getImm", "(", ")", ";", "}", "else", "{", "ArgumentPopSize", "=", "AFI", "->", "getArgumentStackToRestore", "(", ")", ";", "}", "NumBytes", "+=", "ArgumentPopSize", ";", "unsigned", "NumRestores", "=", "0", ";", "MachineBasicBlock", "::", "iterator", "LastPopI", "=", "MBBI", ";", "const", "MCPhysReg", "*", "CSRegs", "=", "RegInfo", "->", "getCalleeSavedRegs", "(", "&", "MF", ")", ";", "if", "(", "LastPopI", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "do", "{", "++", "NumRestores", ";", "--", "LastPopI", ";", "}", "while", "(", "LastPopI", "!=", "MBB", ".", "begin", "(", ")", "&&", "isCSRestore", "(", "LastPopI", ",", "CSRegs", ")", ")", ";", "if", "(", "!", "isCSRestore", "(", "LastPopI", ",", "CSRegs", ")", ")", "{", "++", "LastPopI", ";", "--", "NumRestores", ";", "}", "}", "NumBytes", "-=", "NumRestores", "*", "16", ";", "assert", "(", "NumBytes", ">=", "0", "&&", "\"Negative stack allocation size!?\"", ")", ";", "if", "(", "!", "hasFP", "(", "MF", ")", ")", "{", "if", "(", "!", "canUseRedZone", "(", "MF", ")", ")", "emitFrameOffset", "(", "MBB", ",", "LastPopI", ",", "DL", ",", "AArch64", "::", "SP", ",", "AArch64", "::", "SP", ",", "NumBytes", ",", "TII", ")", ";", "return", ";", "}", "if", "(", "NumBytes", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", ")", "emitFrameOffset", "(", "MBB", ",", "LastPopI", ",", "DL", ",", "AArch64", "::", "SP", ",", "AArch64", "::", "FP", ",", "-", "(", "NumRestores", "-", "1", ")", "*", "16", ",", "TII", ",", "MachineInstr", "::", "NoFlags", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["AArch64", "AArch64", "\"Can only insert epilog into returning blocks\"", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "0", "AArch64::TCRETURNdi", "AArch64::TCRETURNri", "1", "0", "16", "0", "\"Negative stack allocation size!?\"", "AArch64::SP", "AArch64::SP", "AArch64::SP", "AArch64::FP", "1", "16"], "File": "AArch64FrameLowering44", "Func": "emitEpilogue", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20057, "Length": 370, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTTIImpl", "::", "isLegalMaskedGather", "(", "Type", "*", "Ty", ",", "Align", "Alignment", ")", "{", "if", "(", "!", "EnableMaskedGatherScatters", "||", "!", "ST", "->", "hasMVEIntegerOps", "(", ")", ")", "return", "false", ";", "if", "(", "isa", "<", "VectorType", ">", "(", "Ty", ")", ")", "return", "false", ";", "unsigned", "EltWidth", "=", "Ty", "->", "getScalarSizeInBits", "(", ")", ";", "return", "(", "(", "EltWidth", "==", "32", "&&", "Alignment", ">=", "4", ")", "||", "(", "EltWidth", "==", "16", "&&", "Alignment", ">=", "2", ")", "||", "EltWidth", "==", "8", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "gather", "."], "TS_V_token": ["ARM", "ARM", "32", "4", "16", "2", "8"], "File": "ARMTargetTransformInfo14", "Func": "isLegalMaskedGather", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20058, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FastISel", "*", "ARM", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "funcInfo", ")", "{", "const", "TargetMachine", "&", "TM", "=", "funcInfo", ".", "MF", "->", "getTarget", "(", ")", ";", "const", "ARMSubtarget", "*", "Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "if", "(", "Subtarget", "->", "isTargetIOS", "(", ")", "&&", "!", "Subtarget", "->", "isThumb1Only", "(", ")", "&&", "!", "DisableARMFastISel", ")", "return", "new", "ARMFastISel", "(", "funcInfo", ")", ";", "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", "ARM", "0"], "File": "ARMFastISel41", "Func": "createFastISel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20059, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_maybe_emit_fp_cmove", "(", "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", ")", ";", "rtx", "compare_rtx", ";", "rtx", "cmove_rtx", ";", "rtx", "clobber_rtx", ";", "if", "(", "!", "can_create_pseudo_p", "(", ")", ")", "return", "0", ";", "if", "(", "!", "(", "compare_mode", "==", "result_mode", "||", "(", "compare_mode", "==", "SFmode", "&&", "result_mode", "==", "DFmode", ")", "||", "(", "compare_mode", "==", "DFmode", "&&", "result_mode", "==", "SFmode", ")", ")", ")", "return", "false", ";", "switch", "(", "code", ")", "{", "case", "EQ", ":", "case", "GE", ":", "case", "GT", ":", "break", ";", "case", "NE", ":", "case", "LT", ":", "case", "LE", ":", "code", "=", "swap_condition", "(", "code", ")", ";", "std", "::", "swap", "(", "op0", ",", "op1", ")", ";", "break", ";", "default", ":", "return", "false", ";", "}", "compare_rtx", "=", "gen_rtx_fmt_ee", "(", "code", ",", "CCFPmode", ",", "op0", ",", "op1", ")", ";", "cmove_rtx", "=", "gen_rtx_SET", "(", "dest", ",", "gen_rtx_IF_THEN_ELSE", "(", "result_mode", ",", "compare_rtx", ",", "true_cond", ",", "false_cond", ")", ")", ";", "clobber_rtx", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_SCRATCH", "(", "V2DImode", ")", ")", ";", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "cmove_rtx", ",", "clobber_rtx", ")", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Possibly", "emit", "a", "floating", "point", "conditional", "move", "by", "generating", "a", "compare", "that", "sets", "a", "mask", "instruction", "and", "a", "XXSEL", "select", "instruction", ".", "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", "false", "if", "the", "operation", "can", "not", "be", "generated", ",", "and", "true", "if", "we", "could", "generate", "the", "instruction", "."], "TS_V_token": ["rs6000", "0", "1", "0", "2"], "File": "rs6000", "Func": "rs6000_maybe_emit_fp_cmove", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20060, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "VEFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "assert", "(", "&", "MF", ".", "front", "(", ")", "==", "&", "MBB", "&&", "\"Shrink-wrapping not yet supported\"", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "VEInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "const", "VERegisterInfo", "&", "RegInfo", "=", "*", "STI", ".", "getRegisterInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", ";", "bool", "NeedsStackRealignment", "=", "RegInfo", ".", "needsStackRealignment", "(", "MF", ")", ";", "if", "(", "!", "NeedsStackRealignment", "&&", "MFI", ".", "getMaxAlign", "(", ")", ">", "getStackAlign", "(", ")", ")", "report_fatal_error", "(", "\"Function \\\"\"", "+", "Twine", "(", "MF", ".", "getName", "(", ")", ")", "+", "\"\\\" required \"", "\"stack re-alignment, but LLVM couldn't handle it \"", "\"(probably because it has a dynamic alloca).\"", ")", ";", "uint64_t", "NumBytes", "=", "MFI", ".", "getStackSize", "(", ")", ";", "NumBytes", "=", "STI", ".", "getAdjustedFrameSize", "(", "NumBytes", ")", ";", "NumBytes", "=", "alignTo", "(", "NumBytes", ",", "MFI", ".", "getMaxAlign", "(", ")", ")", ";", "MFI", ".", "setStackSize", "(", "NumBytes", ")", ";", "emitPrologueInsns", "(", "MF", ",", "MBB", ",", "MBBI", ",", "NumBytes", ",", "true", ")", ";", "MaybeAlign", "RuntimeAlign", "=", "NeedsStackRealignment", "?", "MaybeAlign", "(", "MFI", ".", "getMaxAlign", "(", ")", ")", ":", "None", ";", "emitSPAdjustment", "(", "MF", ",", "MBB", ",", "MBBI", ",", "-", "(", "int64_t", ")", "NumBytes", ",", "RuntimeAlign", ")", ";", "if", "(", "hasBP", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "VE", "::", "ORri", ")", ",", "VE", "::", "SX17", ")", ".", "addReg", "(", "VE", "::", "SX11", ")", ".", "addImm", "(", "0", ")", ";", "}", "emitSPExtend", "(", "MF", ",", "MBB", ",", "MBBI", ")", ";", "Register", "RegFP", "=", "RegInfo", ".", "getDwarfRegNum", "(", "VE", "::", "SX9", ",", "true", ")", ";", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createDefCfaRegister", "(", "nullptr", ",", "RegFP", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createWindowSave", "(", "nullptr", ")", ")", ";", "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": ["VE", "VE", "\"Shrink-wrapping not yet supported\"", "VE", "VE", "\"Function \\\"\"", "\"\\\" required \"", "\"stack re-alignment, but LLVM couldn't handle it \"", "\"(probably because it has a dynamic alloca).\"", "VE::ORri", "VE::SX17", "VE::SX11", "0", "VE::SX9"], "File": "VEFrameLowering", "Func": "emitPrologue", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20061, "Length": 349, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "pa_asm_output_aligned_local", "(", "FILE", "*", "stream", ",", "const", "char", "*", "name", ",", "unsigned", "HOST_WIDE_INT", "size", ",", "unsigned", "int", "align", ")", "{", "switch_to_section", "(", "bss_section", ")", ";", "fprintf", "(", "stream", ",", "\"\\t.align %u\\n\"", ",", "align", "/", "BITS_PER_UNIT", ")", ";", "fprintf", "(", "stream", ",", "\"%s\"", ",", "LOCAL_ASM_OP", ")", ";", "assemble_name", "(", "stream", ",", "name", ")", ";", "fprintf", "(", "stream", ",", "\"\\n\"", ")", ";", "ASM_OUTPUT_LABEL", "(", "stream", ",", "name", ")", ";", "fprintf", "(", "stream", ",", "\"\\t.block \"", "HOST_WIDE_INT_PRINT_UNSIGNED", "\"\\n\"", ",", "size", ")", ";", "}", ""], "natrual_language": ["We", "ca", "n't", "use", ".comm", "for", "local", "common", "storage", "as", "the", "SOM", "linker", "effectively", "treats", "the", "symbol", "as", "universal", "and", "uses", "the", "same", "storage", "for", "local", "symbols", "with", "the", "same", "name", "in", "different", "object", "files", ".", "The", ".block", "directive", "reserves", "an", "uninitialized", "block", "of", "storage", ".", "However", ",", "it", "'s", "not", "common", "storage", ".", "Fortunately", ",", "GCC", "never", "requests", "common", "storage", "with", "the", "same", "name", "in", "any", "given", "translation", "unit", "."], "TS_V_token": ["pa", "\"\\t.align %u\\n\"", "\"%s\"", "\"\\n\"", "\"\\t.block \"", "\"\\n\""], "File": "pa4", "Func": "pa_asm_output_aligned_local", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20062, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "assert", "(", "ConstraintID", "==", "InlineAsm", "::", "Constraint_m", "&&", "\"unexpected asm memory constraint\"", ")", ";", "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": ["ARM", "ARM", "\"unexpected asm memory constraint\""], "File": "ARMISelDAGToDAG23", "Func": "SelectInlineAsmMemoryOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20063, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "AArch64RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "assert", "(", "MF", "&&", "\"Invalid MachineFunction pointer.\"", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "GHC", ")", "return", "CSR_AArch64_NoRegs_SaveList", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AnyReg", ")", "return", "CSR_AArch64_AllRegs_SaveList", ";", "if", "(", "MF", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isTargetDarwin", "(", ")", ")", "return", "getDarwinCalleeSavedRegs", "(", "MF", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "CFGuard_Check", ")", "return", "CSR_Win_AArch64_CFGuard_Check_SaveList", ";", "if", "(", "MF", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isTargetWindows", "(", ")", ")", "return", "CSR_Win_AArch64_AAPCS_SaveList", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AArch64_VectorCall", ")", "return", "CSR_AArch64_AAVPCS_SaveList", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AArch64_SVE_VectorCall", ")", "return", "CSR_AArch64_SVE_AAPCS_SaveList", ";", "if", "(", "MF", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "getTargetLowering", "(", ")", "->", "supportSwiftError", "(", ")", "&&", "MF", "->", "getFunction", "(", ")", ".", "getAttributes", "(", ")", ".", "hasAttrSomewhere", "(", "Attribute", "::", "SwiftError", ")", ")", "return", "CSR_AArch64_AAPCS_SwiftError_SaveList", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "SwiftTail", ")", "return", "CSR_AArch64_AAPCS_SwiftTail_SaveList", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "PreserveMost", ")", "return", "CSR_AArch64_RT_MostRegs_SaveList", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "Win64", ")", "return", "CSR_AArch64_AAPCS_X18_SaveList", ";", "if", "(", "hasSVEArgsOrReturn", "(", "MF", ")", ")", "return", "CSR_AArch64_SVE_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", "AArch64", "AArch64"], "File": "AArch64RegisterInfo25", "Func": "getCalleeSavedRegs", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20064, "Length": 265, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "assignCustomValue", "(", "const", "ARMCallLowering", "::", "ArgInfo", "&", "Arg", ",", "ArrayRef", "<", "CCValAssign", ">", "VAs", ")", "override", "{", "assert", "(", "Arg", ".", "Regs", ".", "size", "(", ")", "==", "1", "&&", "\"Can't handle multple regs yet\"", ")", ";", "CCValAssign", "VA", "=", "VAs", "[", "0", "]", ";", "assert", "(", "VA", ".", "needsCustom", "(", ")", "&&", "\"Value doesn't need custom handling\"", ")", ";", "if", "(", "VA", ".", "getValVT", "(", ")", "!=", "MVT", "::", "f64", ")", "return", "0", ";", "CCValAssign", "NextVA", "=", "VAs", "[", "1", "]", ";", "assert", "(", "NextVA", ".", "needsCustom", "(", ")", "&&", "\"Value doesn't need custom handling\"", ")", ";", "assert", "(", "NextVA", ".", "getValVT", "(", ")", "==", "MVT", "::", "f64", "&&", "\"Unsupported type\"", ")", ";", "assert", "(", "VA", ".", "getValNo", "(", ")", "==", "NextVA", ".", "getValNo", "(", ")", "&&", "\"Values belong to different arguments\"", ")", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Value should be in reg\"", ")", ";", "assert", "(", "NextVA", ".", "isRegLoc", "(", ")", "&&", "\"Value should be in reg\"", ")", ";", "Register", "NewRegs", "[", "]", "=", "{", "MRI", ".", "createGenericVirtualRegister", "(", "LLT", "::", "scalar", "(", "32", ")", ")", ",", "MRI", ".", "createGenericVirtualRegister", "(", "LLT", "::", "scalar", "(", "32", ")", ")", "}", ";", "assignValueToReg", "(", "NewRegs", "[", "0", "]", ",", "VA", ".", "getLocReg", "(", ")", ",", "VA", ")", ";", "assignValueToReg", "(", "NewRegs", "[", "1", "]", ",", "NextVA", ".", "getLocReg", "(", ")", ",", "NextVA", ")", ";", "bool", "IsLittle", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "isLittle", "(", ")", ";", "if", "(", "!", "IsLittle", ")", "std", "::", "swap", "(", "NewRegs", "[", "0", "]", ",", "NewRegs", "[", "1", "]", ")", ";", "MIRBuilder", ".", "buildMerge", "(", "Arg", ".", "Regs", "[", "0", "]", ",", "NewRegs", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Handle", "custom", "values", ",", "which", "may", "be", "passed", "into", "one", "or", "more", "of", "VAs", "."], "TS_V_token": ["ARM", "ARM", "1", "\"Can't handle multple regs yet\"", "0", "\"Value doesn't need custom handling\"", "MVT::f64", "0", "1", "\"Value doesn't need custom handling\"", "MVT::f64", "\"Unsupported type\"", "\"Values belong to different arguments\"", "\"Value should be in reg\"", "\"Value should be in reg\"", "32", "32", "0", "1", "ARM", "0", "1", "0", "1"], "File": "ARMCallLowering", "Func": "assignCustomValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20065, "Length": 261, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mips_expand_thread_pointer", "(", "rtx", "tp", ")", "{", "rtx", "fn", ";", "if", "(", "TARGET_MIPS16", ")", "{", "if", "(", "!", "mips16_rdhwr_stub", ")", "mips16_rdhwr_stub", "=", "new", "mips16_rdhwr_one_only_stub", "(", ")", ";", "fn", "=", "mips16_stub_call_address", "(", "mips16_rdhwr_stub", ")", ";", "emit_insn", "(", "PMODE_INSN", "(", "gen_tls_get_tp_mips16", ",", "(", "tp", ",", "fn", ")", ")", ")", ";", "}", "else", "emit_insn", "(", "PMODE_INSN", "(", "gen_tls_get_tp", ",", "(", "tp", ")", ")", ")", ";", "return", "tp", ";", "}", ""], "natrual_language": ["Return", "a", "pseudo", "register", "that", "contains", "the", "current", "thread", "pointer", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_expand_thread_pointer", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20066, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "gen_stdcall_or_fastcall_suffix", "(", "tree", "decl", ",", "bool", "fastcall", ")", "{", "int", "total", "=", "0", ";", "const", "char", "*", "asmname", "=", "IDENTIFIER_POINTER", "(", "DECL_ASSEMBLER_NAME", "(", "decl", ")", ")", ";", "char", "*", "newsym", ";", "char", "*", "p", ";", "tree", "formal_type", ";", "if", "(", "*", "asmname", "==", "'*'", "||", "strchr", "(", "asmname", ",", "'@'", ")", ")", "return", "DECL_ASSEMBLER_NAME", "(", "decl", ")", ";", "formal_type", "=", "TYPE_ARG_TYPES", "(", "TREE_TYPE", "(", "decl", ")", ")", ";", "if", "(", "formal_type", "!=", "NULL_TREE", ")", "{", "if", "(", "TREE_VALUE", "(", "tree_last", "(", "formal_type", ")", ")", "!=", "void_type_node", ")", "return", "DECL_ASSEMBLER_NAME", "(", "decl", ")", ";", "while", "(", "TREE_VALUE", "(", "formal_type", ")", "!=", "void_type_node", "&&", "COMPLETE_TYPE_P", "(", "TREE_VALUE", "(", "formal_type", ")", ")", ")", "{", "int", "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", "+", "8", "+", "1", ")", ";", "p", "=", "newsym", ";", "if", "(", "fastcall", ")", "*", "p", "++", "=", "FASTCALL_PREFIX", ";", "sprintf", "(", "p", ",", "\"%s@%d\"", ",", "asmname", ",", "total", "/", "BITS_PER_UNIT", ")", ";", "return", "get_identifier", "(", "newsym", ")", ";", "}", ""], "natrual_language": ["Return", "string", "which", "is", "the", "former", "assembler", "name", "modified", "with", "a", "suffix", "consisting", "of", "an", "atsign", "(", "@", ")", "followed", "by", "the", "number", "of", "bytes", "of", "arguments", ".", "If", "FASTCALL", "is", "true", ",", "also", "add", "the", "FASTCALL_PREFIX", "."], "TS_V_token": ["i386", "0", "1", "1", "1", "8", "1", "\"%s@%d\""], "File": "winnt3", "Func": "gen_stdcall_or_fastcall_suffix", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20067, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ix86_use_fcomi_compare", "(", "enum", "rtx_code", "code", "ATTRIBUTE_UNUSED", ")", "{", "enum", "rtx_code", "swapped_code", "=", "swap_condition", "(", "code", ")", ";", "return", "(", "(", "ix86_fp_comparison_cost", "(", "code", ")", "==", "ix86_fp_comparison_fcomi_cost", "(", "code", ")", ")", "||", "(", "ix86_fp_comparison_cost", "(", "swapped_code", ")", "==", "ix86_fp_comparison_fcomi_cost", "(", "swapped_code", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "should", "use", "an", "FCOMI", "instruction", "for", "this", "fp", "comparison", "."], "TS_V_token": ["i386"], "File": "i3863", "Func": "ix86_use_fcomi_compare", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20068, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "MachineLoopInfo", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "ProfileSummaryInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "LazyMachineBlockFrequencyInfoPass", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["X86"], "File": "X86FixupBWInsts", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20069, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "new", "X86ExecutionDomainFix", "(", ")", ")", ";", "addPass", "(", "createBreakFalseDeps", "(", ")", ")", ";", "}", "addPass", "(", "createX86IndirectBranchTrackingPass", "(", ")", ")", ";", "if", "(", "UseVZeroUpper", ")", "addPass", "(", "createX86IssueVZeroUpperPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createX86FixupBWInsts", "(", ")", ")", ";", "addPass", "(", "createX86PadShortFunctions", "(", ")", ")", ";", "addPass", "(", "createX86FixupLEAs", "(", ")", ")", ";", "addPass", "(", "createX86EvexToVexInsts", "(", ")", ")", ";", "}", "addPass", "(", "createX86DiscriminateMemOpsPass", "(", ")", ")", ";", "addPass", "(", "createX86InsertPrefetchPass", "(", ")", ")", ";", "addPass", "(", "createX86InsertX87waitPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86TargetMachine16", "Func": "addPreEmitPass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20070, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SystemZRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZInstrInfo (2)2", "Func": "getRegisterInfo", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20071, "Length": 12, "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", "::", "SelectCC", ":", "return", "\"MipsISD::SelectCC\"", ";", "case", "MipsISD", "::", "FPSelectCC", ":", "return", "\"MipsISD::FPSelectCC\"", ";", "case", "MipsISD", "::", "FPBrcond", ":", "return", "\"MipsISD::FPBrcond\"", ";", "case", "MipsISD", "::", "FPCmp", ":", "return", "\"MipsISD::FPCmp\"", ";", "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\"", ";", "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::SelectCC", "\"MipsISD::SelectCC\"", "MipsISD::FPSelectCC", "\"MipsISD::FPSelectCC\"", "MipsISD::FPBrcond", "\"MipsISD::FPBrcond\"", "MipsISD::FPCmp", "\"MipsISD::FPCmp\"", "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\""], "File": "MipsISelLowering36", "Func": "getTargetNodeName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20072, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMConstantPoolValue", "::", "hasSameValue", "(", "ARMConstantPoolValue", "*", "ACPV", ")", "{", "if", "(", "ACPV", "->", "Kind", "==", "Kind", "&&", "ACPV", "->", "CVal", "==", "CVal", "&&", "ACPV", "->", "PCAdjust", "==", "PCAdjust", "&&", "CPV_streq", "(", "ACPV", "->", "S", ",", "S", ")", "&&", "ACPV", "->", "Modifier", "==", "Modifier", ")", "{", "if", "(", "ACPV", "->", "LabelId", "==", "LabelId", ")", "return", "true", ";", "if", "(", "Kind", "==", "ARMCP", "::", "CPValue", "||", "Kind", "==", "ARMCP", "::", "CPExtSymbol", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["hasSameValue", "-", "Return", "true", "if", "this", "ARM", "constpool", "value", "can", "share", "the", "same", "constantpool", "entry", "as", "another", "ARM", "constpool", "value", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARMCP::CPValue", "ARMCP::CPExtSymbol"], "File": "ARMConstantPoolValue10", "Func": "hasSameValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20073, "Length": 79, "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", ":", "case", "TargetOpcode", "::", "G_SUB", ":", "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": "X86RegisterBankInfo9", "Func": "getInstrMapping", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20074, "Length": 91, "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": 20075, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "detect_processor_freebsd", "(", "void", ")", "{", "return", "\"powerpc\"", ";", "}", ""], "natrual_language": ["Currently", "returns", "default", "powerpc", "."], "TS_V_token": ["powerpcspe", "\"powerpc\""], "File": "driver-powerpcspe", "Func": "detect_processor_freebsd", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20076, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsSubtarget", "*", "MipsTargetMachine", "::", "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", ";", "bool", "hasMips16Attr", "=", "!", "FnAttrs", ".", "getAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "\"mips16\"", ")", ".", "hasAttribute", "(", "Attribute", "::", "None", ")", ";", "bool", "hasNoMips16Attr", "=", "!", "FnAttrs", ".", "getAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "\"nomips16\"", ")", ".", "hasAttribute", "(", "Attribute", "::", "None", ")", ";", "Attribute", "SFAttr", "=", "FnAttrs", ".", "getAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "\"use-soft-float\"", ")", ";", "bool", "softFloat", "=", "!", "SFAttr", ".", "hasAttribute", "(", "Attribute", "::", "None", ")", "?", "SFAttr", ".", "getValueAsString", "(", ")", "==", "\"true\"", ":", "Options", ".", "UseSoftFloat", ";", "if", "(", "hasMips16Attr", ")", "FS", "+=", "FS", ".", "empty", "(", ")", "?", "\"+mips16\"", ":", "\",+mips16\"", ";", "else", "if", "(", "hasNoMips16Attr", ")", "FS", "+=", "FS", ".", "empty", "(", ")", "?", "\"-mips16\"", ":", "\",-mips16\"", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "CPU", "+", "FS", "+", "(", "softFloat", "?", "\"use-soft-float=true\"", ":", "\"use-soft-float=false\"", ")", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "llvm", "::", "make_unique", "<", "MipsSubtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "isLittle", ",", "*", "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": ["Mips", "Mips", "Mips", "\"target-cpu\"", "\"target-features\"", "Mips", "\"mips16\"", "Mips", "\"nomips16\"", "\"use-soft-float\"", "\"true\"", "Mips", "\"+mips16\"", "\",+mips16\"", "Mips", "\"-mips16\"", "\",-mips16\"", "\"use-soft-float=true\"", "\"use-soft-float=false\"", "Mips"], "File": "MipsTargetMachine28", "Func": "getSubtargetImpl", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20077, "Length": 281, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "altivec_build_resolved_builtin", "(", "tree", "*", "args", ",", "int", "n", ",", "const", "struct", "altivec_builtin_types", "*", "desc", ")", "{", "tree", "impl_fndecl", "=", "rs6000_builtin_decls", "[", "desc", "->", "overloaded_code", "]", ";", "tree", "ret_type", "=", "rs6000_builtin_type", "(", "desc", "->", "ret_type", ")", ";", "tree", "argtypes", "=", "TYPE_ARG_TYPES", "(", "TREE_TYPE", "(", "impl_fndecl", ")", ")", ";", "tree", "arglist", "=", "NULL_TREE", ",", "arg_type", "[", "3", "]", ";", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n", ";", "i", "++", ")", "arg_type", "[", "i", "]", "=", "TREE_VALUE", "(", "argtypes", ")", ",", "argtypes", "=", "TREE_CHAIN", "(", "argtypes", ")", ";", "if", "(", "desc", "->", "code", "==", "ALTIVEC_BUILTIN_VCMPGE_P", "&&", "desc", "->", "overloaded_code", "!=", "ALTIVEC_BUILTIN_VCMPGEFP_P", ")", "{", "tree", "t", ";", "t", "=", "args", "[", "2", "]", ",", "args", "[", "2", "]", "=", "args", "[", "1", "]", ",", "args", "[", "1", "]", "=", "t", ";", "t", "=", "arg_type", "[", "2", "]", ",", "arg_type", "[", "2", "]", "=", "arg_type", "[", "1", "]", ",", "arg_type", "[", "1", "]", "=", "t", ";", "args", "[", "0", "]", "=", "fold_build2", "(", "BIT_XOR_EXPR", ",", "TREE_TYPE", "(", "args", "[", "0", "]", ")", ",", "args", "[", "0", "]", ",", "build_int_cst", "(", "NULL_TREE", ",", "2", ")", ")", ";", "}", "while", "(", "--", "n", ">=", "0", ")", "arglist", "=", "tree_cons", "(", "NULL_TREE", ",", "fold_convert", "(", "arg_type", "[", "n", "]", ",", "args", "[", "n", "]", ")", ",", "arglist", ")", ";", "return", "fold_convert", "(", "ret_type", ",", "build_function_call_expr", "(", "impl_fndecl", ",", "arglist", ")", ")", ";", "}", ""], "natrual_language": ["Build", "a", "tree", "for", "a", "function", "call", "to", "an", "Altivec", "non-overloaded", "builtin", ".", "The", "overloaded", "builtin", "that", "matched", "the", "types", "and", "args", "is", "described", "by", "DESC", ".", "The", "N", "arguments", "are", "given", "in", "ARGS", ",", "respectively", ".", "Actually", "the", "only", "thing", "it", "does", "is", "calling", "fold_convert", "on", "ARGS", ",", "with", "a", "small", "exception", "for", "vec_", "{", "all", ",", "any", "}", "_", "{", "ge", ",", "le", "}", "predicates", "."], "TS_V_token": ["rs6000", "3", "0", "2", "2", "1", "1", "2", "2", "1", "1", "0", "0", "0", "2", "0"], "File": "rs6000-c2", "Func": "altivec_build_resolved_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20078, "Length": 232, "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", ".", "enableLongBranchPass", "(", ")", ")", "addPass", "(", "createMipsLongBranchPass", "(", "TM", ")", ")", ";", "if", "(", "Subtarget", ".", "inMips16Mode", "(", ")", "||", "Subtarget", ".", "allowMixed16_32", "(", ")", ")", "addPass", "(", "createMipsConstantIslandPass", "(", "TM", ")", ")", ";", "if", "(", "getMipsSubtarget", "(", ")", ".", "isTargetNaCl", "(", ")", ")", "{", "addPass", "(", "createMipsNaClRewritePass", "(", ")", ")", ";", "}", "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", "Mips", "Mips"], "File": "MipsTargetMachine73", "Func": "addPreEmitPass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20079, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsSubtarget", "*", "getSubtargetImpl", "(", ")", "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": ["Mips", "Mips"], "File": "MipsTargetMachine19", "Func": "getSubtargetImpl", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20080, "Length": 14, "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", ";", "if", "(", "Subtarget", ".", "isFPXX", "(", ")", ")", "return", "CSR_O32_FPXX_SaveList", ";", "return", "CSR_O32_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["Mips", "Mips"], "File": "MipsRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20081, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "return", ";", "case", "SP", "::", "GETPCX", ":", "LowerGETPCXAndEmitMCInsts", "(", "MI", ",", "getSubtargetInfo", "(", ")", ")", ";", "return", ";", "}", "MachineBasicBlock", "::", "const_instr_iterator", "I", "=", "MI", "->", "getIterator", "(", ")", ";", "MachineBasicBlock", "::", "const_instr_iterator", "E", "=", "MI", "->", "getParent", "(", ")", "->", "instr_end", "(", ")", ";", "do", "{", "MCInst", "TmpInst", ";", "LowerSparcMachineInstrToMCInst", "(", "&", "*", "I", ",", "TmpInst", ",", "*", "this", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "TmpInst", ")", ";", "}", "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": ["Sparc", "Sparc", "SP::GETPCX", "Sparc"], "File": "SparcAsmPrinter12", "Func": "EmitInstruction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20082, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToAddress", "(", "unsigned", "ValVReg", ",", "unsigned", "Addr", ",", "uint64_t", "Size", ",", "MachinePointerInfo", "&", "MPO", ",", "CCValAssign", "&", "VA", ")", "override", "{", "assert", "(", "(", "Size", "==", "1", "||", "Size", "==", "2", "||", "Size", "==", "4", "||", "Size", "==", "8", ")", "&&", "\"Unsupported size\"", ")", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "SExt", "||", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "ZExt", ")", "{", "Size", "=", "4", ";", "assert", "(", "MRI", ".", "getType", "(", "ValVReg", ")", ".", "isScalar", "(", ")", "&&", "\"Only scalars supported atm\"", ")", ";", "auto", "LoadVReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "LLT", "::", "scalar", "(", "32", ")", ")", ";", "buildLoad", "(", "LoadVReg", ",", "Addr", ",", "Size", ",", "0", ",", "MPO", ")", ";", "MIRBuilder", ".", "buildTrunc", "(", "ValVReg", ",", "LoadVReg", ")", ";", "}", "else", "{", "buildLoad", "(", "ValVReg", ",", "Addr", ",", "Size", ",", "0", ",", "MPO", ")", ";", "}", "}", ""], "natrual_language": ["An", "overload", "which", "takes", "an", "ArgInfo", "if", "additional", "information", "about", "the", "arg", "is", "needed", "."], "TS_V_token": ["ARM", "1", "2", "4", "8", "\"Unsupported size\"", "4", "\"Only scalars supported atm\"", "32", "0", "0"], "File": "ARMCallLowering (2)", "Func": "assignValueToAddress", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20083, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_declare_function_name", "(", "FILE", "*", "stream", ",", "const", "char", "*", "name", ",", "tree", "fndecl", ")", "{", "tree", "target_parts", "=", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "fndecl", ")", ";", "struct", "cl_target_option", "*", "targ_options", ";", "if", "(", "target_parts", ")", "targ_options", "=", "TREE_TARGET_OPTION", "(", "target_parts", ")", ";", "else", "targ_options", "=", "TREE_TARGET_OPTION", "(", "target_option_current_node", ")", ";", "gcc_assert", "(", "targ_options", ")", ";", "const", "struct", "processor", "*", "this_arch", "=", "aarch64_get_arch", "(", "targ_options", "->", "x_explicit_arch", ")", ";", "unsigned", "long", "isa_flags", "=", "targ_options", "->", "x_aarch64_isa_flags", ";", "std", "::", "string", "extension", "=", "aarch64_get_extension_string_for_isa_flags", "(", "isa_flags", ",", "this_arch", "->", "flags", ")", ";", "std", "::", "string", "to_print", "=", "this_arch", "->", "name", "+", "extension", ";", "if", "(", "to_print", "!=", "aarch64_last_printed_arch_string", ")", "{", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t.arch %s\\n\"", ",", "to_print", ".", "c_str", "(", ")", ")", ";", "aarch64_last_printed_arch_string", "=", "to_print", ";", "}", "const", "struct", "processor", "*", "this_tune", "=", "aarch64_get_tune_cpu", "(", "targ_options", "->", "x_explicit_tune_core", ")", ";", "if", "(", "flag_debug_asm", "&&", "aarch64_last_printed_tune_string", "!=", "this_tune", "->", "name", ")", "{", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\"", "ASM_COMMENT_START", "\".tune %s\\n\"", ",", "this_tune", "->", "name", ")", ";", "aarch64_last_printed_tune_string", "=", "this_tune", "->", "name", ";", "}", "ASM_OUTPUT_TYPE_DIRECTIVE", "(", "stream", ",", "name", ",", "\"function\"", ")", ";", "ASM_OUTPUT_LABEL", "(", "stream", ",", "name", ")", ";", "}", ""], "natrual_language": ["Implement", "ASM_DECLARE_FUNCTION_NAME", ".", "Output", "the", "ISA", "features", "used", "by", "the", "function", "fndecl", "."], "TS_V_token": ["aarch64", "\"\\t.arch %s\\n\"", "\"\\t\"", "\".tune %s\\n\"", "\"function\""], "File": "aarch643", "Func": "aarch64_declare_function_name", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20084, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcSubtarget", "&", "SparcSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "UseSoftMulDiv", "=", "false", ";", "IsV9", "=", "false", ";", "IsLeon", "=", "false", ";", "V8DeprecatedInsts", "=", "false", ";", "IsVIS", "=", "false", ";", "HasHardQuad", "=", "false", ";", "UsePopc", "=", "false", ";", "UseSoftFloat", "=", "false", ";", "HasNoFSMULD", "=", "false", ";", "HasNoFMULS", "=", "false", ";", "HasLeonCasa", "=", "false", ";", "HasUmacSmac", "=", "false", ";", "PerformSDIVReplace", "=", "false", ";", "InsertNOPLoad", "=", "false", ";", "FixAllFDIVSQRT", "=", "false", ";", "DetectRoundChange", "=", "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": "SparcSubtarget35", "Func": "initializeSubtargetDependencies", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20085, "Length": 123, "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": 20086, "Length": 190, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86LoadValueInjectionRetHardeningPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** \"", "<<", "getPassName", "(", ")", "<<", "\" : \"", "<<", "MF", ".", "getName", "(", ")", "<<", "\" *****\\n\"", ")", ";", "const", "X86Subtarget", "*", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "Subtarget", "->", "useLVIControlFlowIntegrity", "(", ")", "||", "!", "Subtarget", "->", "is64Bit", "(", ")", ")", "return", "false", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "!", "F", ".", "hasOptNone", "(", ")", "&&", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "++", "NumFunctionsConsidered", ";", "const", "X86RegisterInfo", "*", "TRI", "=", "Subtarget", "->", "getRegisterInfo", "(", ")", ";", "const", "X86InstrInfo", "*", "TII", "=", "Subtarget", "->", "getInstrInfo", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "for", "(", "auto", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "MBBI", "!=", "MBB", ".", "end", "(", ")", ";", "++", "MBBI", ")", "{", "if", "(", "MBBI", "->", "getOpcode", "(", ")", "!=", "X86", "::", "RETQ", ")", "continue", ";", "unsigned", "ClobberReg", "=", "TRI", "->", "findDeadCallerSavedReg", "(", "MBB", ",", "MBBI", ")", ";", "if", "(", "ClobberReg", "!=", "X86", "::", "NoRegister", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "X86", "::", "POP64r", ")", ")", ".", "addReg", "(", "ClobberReg", ",", "RegState", "::", "Define", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameDestroy", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "X86", "::", "LFENCE", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "X86", "::", "JMP64r", ")", ")", ".", "addReg", "(", "ClobberReg", ")", ";", "MBB", ".", "erase", "(", "MBBI", ")", ";", "}", "else", "{", "MachineInstr", "*", "Fence", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "X86", "::", "LFENCE", ")", ")", ";", "addRegOffset", "(", "BuildMI", "(", "MBB", ",", "Fence", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "X86", "::", "SHL64mi", ")", ")", ",", "X86", "::", "RSP", ",", "false", ",", "0", ")", ".", "addImm", "(", "0", ")", "->", "addRegisterDead", "(", "X86", "::", "EFLAGS", ",", "TRI", ")", ";", "}", "++", "NumFences", ";", "Modified", "=", "true", ";", "break", ";", "}", "}", "if", "(", "Modified", ")", "++", "NumFunctionsMitigated", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "\"***** \"", "\" : \"", "\" *****\\n\"", "X86", "X86", "X86", "X86", "X86::RETQ", "X86::NoRegister", "X86::POP64r", "X86::LFENCE", "X86::JMP64r", "X86::LFENCE", "X86::SHL64mi", "X86::RSP", "0", "0", "X86::EFLAGS"], "File": "X86LoadValueInjectionRetHardening4", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20087, "Length": 375, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "host_detect_local_cpu", "(", "int", "argc", ",", "const", "char", "*", "*", "argv", ")", "{", "const", "char", "*", "val", "=", "NULL", ";", "char", "buf", "[", "128", "]", ";", "FILE", "*", "f", "=", "NULL", ";", "bool", "arch", ";", "const", "struct", "vendor_cpu", "*", "cpu_table", "=", "NULL", ";", "if", "(", "argc", "<", "1", ")", "goto", "not_found", ";", "arch", "=", "strcmp", "(", "argv", "[", "0", "]", ",", "\"arch\"", ")", "==", "0", ";", "if", "(", "!", "arch", "&&", "strcmp", "(", "argv", "[", "0", "]", ",", "\"cpu\"", ")", "!=", "0", "&&", "strcmp", "(", "argv", "[", "0", "]", ",", "\"tune\"", ")", ")", "goto", "not_found", ";", "f", "=", "fopen", "(", "\"/proc/cpuinfo\"", ",", "\"r\"", ")", ";", "if", "(", "f", "==", "NULL", ")", "goto", "not_found", ";", "while", "(", "fgets", "(", "buf", ",", "sizeof", "(", "buf", ")", ",", "f", ")", "!=", "NULL", ")", "{", "if", "(", "strncmp", "(", "buf", ",", "\"CPU implementer\"", ",", "sizeof", "(", "\"CPU implementer\"", ")", "-", "1", ")", "==", "0", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "vendors", "[", "i", "]", ".", "vendor_no", "!=", "NULL", ";", "i", "++", ")", "if", "(", "strstr", "(", "buf", ",", "vendors", "[", "i", "]", ".", "vendor_no", ")", "!=", "NULL", ")", "{", "cpu_table", "=", "vendors", "[", "i", "]", ".", "vendor_parts", ";", "break", ";", "}", "}", "if", "(", "strncmp", "(", "buf", ",", "\"CPU part\"", ",", "sizeof", "(", "\"CPU part\"", ")", "-", "1", ")", "==", "0", ")", "{", "int", "i", ";", "if", "(", "cpu_table", "==", "NULL", ")", "goto", "not_found", ";", "for", "(", "i", "=", "0", ";", "cpu_table", "[", "i", "]", ".", "part_no", "!=", "NULL", ";", "i", "++", ")", "if", "(", "strstr", "(", "buf", ",", "cpu_table", "[", "i", "]", ".", "part_no", ")", "!=", "NULL", ")", "{", "val", "=", "arch", "?", "cpu_table", "[", "i", "]", ".", "arch_name", ":", "cpu_table", "[", "i", "]", ".", "cpu_name", ";", "break", ";", "}", "break", ";", "}", "}", "if", "(", "val", ")", "{", "fclose", "(", "f", ")", ";", "return", "concat", "(", "\"-m\"", ",", "argv", "[", "0", "]", ",", "\"=\"", ",", "val", ",", "NULL", ")", ";", "}", "not_found", ":", "{", "unsigned", "int", "i", ";", "unsigned", "int", "opt", ";", "const", "char", "*", "search", "[", "]", "=", "{", "NULL", ",", "\"arch\"", "}", ";", "if", "(", "f", ")", "fclose", "(", "f", ")", ";", "search", "[", "0", "]", "=", "argv", "[", "0", "]", ";", "for", "(", "opt", "=", "0", ";", "opt", "<", "ARRAY_SIZE", "(", "search", ")", ";", "opt", "++", ")", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "configure_default_options", ")", ";", "i", "++", ")", "if", "(", "strcmp", "(", "configure_default_options", "[", "i", "]", ".", "name", ",", "search", "[", "opt", "]", ")", "==", "0", ")", "return", "concat", "(", "\"-m\"", ",", "search", "[", "opt", "]", ",", "\"=\"", ",", "configure_default_options", "[", "i", "]", ".", "value", ",", "NULL", ")", ";", "return", "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": ["arm", "128", "1", "0", "\"arch\"", "0", "0", "\"cpu\"", "0", "0", "\"tune\"", "\"/proc/cpuinfo\"", "\"r\"", "\"CPU implementer\"", "\"CPU implementer\"", "1", "0", "0", "\"CPU part\"", "\"CPU part\"", "1", "0", "0", "\"-m\"", "0", "\"=\"", "\"arch\"", "0", "0", "0", "0", "0", "\"-m\"", "\"=\""], "File": "driver-arm3", "Func": "host_detect_local_cpu", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20088, "Length": 443, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "add_to_dispatch_window", "(", "rtx_insn", "*", "insn", ")", "{", "int", "byte_len", ";", "dispatch_windows", "*", "window_list", ";", "dispatch_windows", "*", "next_list", ";", "dispatch_windows", "*", "window0_list", ";", "enum", "insn_path", "path", ";", "enum", "dispatch_group", "insn_group", ";", "bool", "insn_fits", ";", "int", "num_insn", ";", "int", "num_uops", ";", "int", "window_num", ";", "int", "insn_num_uops", ";", "int", "sum", ";", "if", "(", "INSN_CODE", "(", "insn", ")", "<", "0", ")", "return", ";", "byte_len", "=", "ix86_min_insn_size", "(", "insn", ")", ";", "window_list", "=", "dispatch_window_list", ";", "next_list", "=", "window_list", "->", "next", ";", "path", "=", "get_insn_path", "(", "insn", ")", ";", "insn_group", "=", "get_insn_group", "(", "insn", ")", ";", "if", "(", "next_list", ")", "window_list", "=", "dispatch_window_list", "->", "next", ";", "if", "(", "path", "==", "path_single", ")", "insn_num_uops", "=", "1", ";", "else", "if", "(", "path", "==", "path_double", ")", "insn_num_uops", "=", "2", ";", "else", "insn_num_uops", "=", "(", "int", ")", "path", ";", "num_insn", "=", "window_list", "->", "num_insn", ";", "num_uops", "=", "window_list", "->", "num_uops", ";", "window_num", "=", "window_list", "->", "window_num", ";", "insn_fits", "=", "fits_dispatch_window", "(", "insn", ")", ";", "if", "(", "num_insn", ">=", "MAX_INSN", "||", "num_uops", "+", "insn_num_uops", ">", "MAX_INSN", "||", "!", "(", "insn_fits", ")", ")", "{", "window_num", "=", "~", "window_num", "&", "1", ";", "window_list", "=", "allocate_next_window", "(", "window_num", ")", ";", "}", "if", "(", "window_num", "==", "0", ")", "{", "add_insn_window", "(", "insn", ",", "window_list", ",", "insn_num_uops", ")", ";", "if", "(", "window_list", "->", "num_insn", ">=", "MAX_INSN", "&&", "insn_group", "==", "disp_branch", ")", "{", "process_end_window", "(", ")", ";", "return", ";", "}", "}", "else", "if", "(", "window_num", "==", "1", ")", "{", "window0_list", "=", "window_list", "->", "prev", ";", "sum", "=", "window0_list", "->", "window_size", "+", "window_list", "->", "window_size", ";", "if", "(", "sum", "==", "32", "||", "(", "byte_len", "+", "sum", ")", ">=", "48", ")", "{", "process_end_window", "(", ")", ";", "window_list", "=", "dispatch_window_list", ";", "}", "add_insn_window", "(", "insn", ",", "window_list", ",", "insn_num_uops", ")", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "if", "(", "is_end_basic_block", "(", "insn_group", ")", ")", "{", "process_end_window", "(", ")", ";", "return", ";", "}", "}", ""], "natrual_language": ["Adds", "a", "scheduled", "instruction", ",", "INSN", ",", "to", "the", "current", "dispatch", "window", ".", "If", "the", "total", "bytes", "of", "instructions", "or", "the", "number", "of", "instructions", "in", "the", "window", "exceed", "allowable", ",", "it", "allocates", "a", "new", "window", "."], "TS_V_token": ["i386", "0", "1", "2", "1", "0", "1", "32", "48"], "File": "x86-tune-sched-bd", "Func": "add_to_dispatch_window", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20089, "Length": 305, "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": 20090, "Length": 130, "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", ")", ",", "AllowMixed16_32", "(", "Mixed16_32", "|", "Mips_Os16", ")", ",", "Os16", "(", "Mips_Os16", ")", ",", "HasMSA", "(", "false", ")", ",", "UseTCCInDIV", "(", "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", "(", ")", "||", "isABI_EABI", "(", ")", ")", ")", "||", "(", "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", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "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": "MipsSubtarget54", "Func": "MipsSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20091, "Length": 460, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{", "return", "createCpu0ELFObjectWriter", "(", "OS", ",", "MCELFObjectTargetWriter", "::", "getOSABI", "(", "OSType", ")", ",", "IsLittle", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["Cpu0", "Cpu0"], "File": "Cpu0AsmBackend1", "Func": "createObjectWriter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20092, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "MipsInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "MipsInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "SP", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "SP_64", ":", "Mips", "::", "SP", ";", "unsigned", "FP", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "FP_64", ":", "Mips", "::", "FP", ";", "unsigned", "ZERO", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "ZERO_64", ":", "Mips", "::", "ZERO", ";", "unsigned", "ADDu", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "DADDu", ":", "Mips", "::", "ADDu", ";", "unsigned", "ADDiu", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "DADDiu", ":", "Mips", "::", "ADDiu", ";", "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", ")", ";", "}", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "!", "StackSize", ")", "return", ";", "if", "(", "isInt", "<", "16", ">", "(", "StackSize", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ADDiu", ")", ",", "SP", ")", ".", "addReg", "(", "SP", ")", ".", "addImm", "(", "StackSize", ")", ";", "else", "{", "unsigned", "ATReg", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "AT_64", ":", "Mips", "::", "AT", ";", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", "->", "setEmitNOAT", "(", ")", ";", "Mips", "::", "loadImmediate", "(", "StackSize", ",", "STI", ".", "isABI_N64", "(", ")", ",", "TII", ",", "MBB", ",", "MBBI", ",", "dl", ",", "false", ",", "0", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ADDu", ")", ",", "SP", ")", ".", "addReg", "(", "SP", ")", ".", "addReg", "(", "ATReg", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips::SP_64", "Mips::SP", "Mips::FP_64", "Mips::FP", "Mips::ZERO_64", "Mips::ZERO", "Mips::DADDu", "Mips::ADDu", "Mips::DADDiu", "Mips::ADDiu", "0", "16", "Mips::AT_64", "Mips::AT", "Mips", "Mips::loadImmediate", "0"], "File": "MipsFrameLowering10", "Func": "emitEpilogue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20093, "Length": 364, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "F2003fInstrInfo", "::", "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", "->", "isDebugValue", "(", ")", ")", "continue", ";", "if", "(", "!", "isUnpredicatedTerminator", "(", "*", "I", ")", ")", "break", ";", "if", "(", "!", "I", "->", "isBranch", "(", ")", ")", "return", "true", ";", "if", "(", "I", "->", "isIndirectBranch", "(", ")", ")", "return", "true", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "F2003f", "::", "KRZx", ")", "{", "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", "(", "getMalkrzFromFiMalkrz", "(", "I", "->", "getOpcode", "(", ")", ")", "==", "F2003f", "::", "MALKRZx", "&&", "\"Invalid conditional branch\"", ")", ";", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "FBB", "=", "TBB", ";", "TBB", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "Cond", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "I", "->", "getOpcode", "(", ")", ")", ")", ";", "for", "(", "unsigned", "i", "=", "1", ";", "i", "<", "I", "->", "getNumOperands", "(", ")", ";", "i", "++", ")", "{", "Cond", ".", "push_back", "(", "I", "->", "getOperand", "(", "i", ")", ")", ";", "}", "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": ["F2003f", "F2003f", "F2003f::KRZx", "0", "0", "0", "F2003f::MALKRZx", "\"Invalid conditional branch\"", "0", "1"], "File": "F2003fInstrInfo", "Func": "analyzeBranch", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20094, "Length": 330, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "gen_conditional_branch", "(", "rtx", "*", "operands", ",", "enum", "rtx_code", "code", ")", "{", "rtx", "op0", ",", "op1", ",", "target", ";", "mips_emit_compare", "(", "&", "code", ",", "&", "op0", ",", "&", "op1", ",", "TARGET_MIPS16", ")", ";", "target", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "gen_rtx_fmt_ee", "(", "code", ",", "GET_MODE", "(", "op0", ")", ",", "op0", ",", "op1", ")", ",", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "operands", "[", "0", "]", ")", ",", "pc_rtx", ")", ";", "emit_jump_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "pc_rtx", ",", "target", ")", ")", ";", "}", ""], "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": ["mips", "0"], "File": "mips3", "Func": "gen_conditional_branch", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20095, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "LoongArchMCCodeEmitter", "::", "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!\"", ")", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["LoongArch", "LoongArch", "\"Unhandled expression!\""], "File": "LoongArchMCCodeEmitter", "Func": "getMachineOpValue", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20096, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "mode_supports_dq_form", "(", "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": "rs6000", "Func": "mode_supports_dq_form", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20097, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "VEInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "uint64_t", "Address", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "raw_ostream", "&", "OS", ")", "{", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "STI", ",", "OS", ")", ")", "printInstruction", "(", "MI", ",", "Address", ",", "STI", ",", "OS", ")", ";", "printAnnotation", "(", "OS", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["VE", "VE"], "File": "VEInstPrinter1", "Func": "printInst", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20098, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rs6000_builtin_vectorized_libmass", "(", "combined_fn", "fn", ",", "tree", "type_out", ",", "tree", "type_in", ")", "{", "char", "name", "[", "32", "]", ";", "const", "char", "*", "suffix", "=", "NULL", ";", "tree", "fntype", ",", "new_fndecl", ",", "bdecl", "=", "NULL_TREE", ";", "int", "n_args", "=", "1", ";", "const", "char", "*", "bname", ";", "machine_mode", "el_mode", ",", "in_mode", ";", "int", "n", ",", "in_n", ";", "if", "(", "!", "flag_unsafe_math_optimizations", "||", "!", "TARGET_VSX", ")", "return", "NULL_TREE", ";", "el_mode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "type_out", ")", ")", ";", "n", "=", "TYPE_VECTOR_SUBPARTS", "(", "type_out", ")", ";", "in_mode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "type_in", ")", ")", ";", "in_n", "=", "TYPE_VECTOR_SUBPARTS", "(", "type_in", ")", ";", "if", "(", "el_mode", "!=", "in_mode", "||", "n", "!=", "in_n", ")", "return", "NULL_TREE", ";", "switch", "(", "fn", ")", "{", "CASE_CFN_ATAN2", ":", "CASE_CFN_HYPOT", ":", "CASE_CFN_POW", ":", "n_args", "=", "2", ";", "gcc_fallthrough", "(", ")", ";", "CASE_CFN_ACOS", ":", "CASE_CFN_ACOSH", ":", "CASE_CFN_ASIN", ":", "CASE_CFN_ASINH", ":", "CASE_CFN_ATAN", ":", "CASE_CFN_ATANH", ":", "CASE_CFN_CBRT", ":", "CASE_CFN_COS", ":", "CASE_CFN_COSH", ":", "CASE_CFN_ERF", ":", "CASE_CFN_ERFC", ":", "CASE_CFN_EXP2", ":", "CASE_CFN_EXP", ":", "CASE_CFN_EXPM1", ":", "CASE_CFN_LGAMMA", ":", "CASE_CFN_LOG10", ":", "CASE_CFN_LOG1P", ":", "CASE_CFN_LOG2", ":", "CASE_CFN_LOG", ":", "CASE_CFN_SIN", ":", "CASE_CFN_SINH", ":", "CASE_CFN_SQRT", ":", "CASE_CFN_TAN", ":", "CASE_CFN_TANH", ":", "if", "(", "el_mode", "==", "DFmode", "&&", "n", "==", "2", ")", "{", "bdecl", "=", "mathfn_built_in", "(", "double_type_node", ",", "fn", ")", ";", "suffix", "=", "\"d2\"", ";", "}", "else", "if", "(", "el_mode", "==", "SFmode", "&&", "n", "==", "4", ")", "{", "bdecl", "=", "mathfn_built_in", "(", "float_type_node", ",", "fn", ")", ";", "suffix", "=", "\"4\"", ";", "}", "else", "return", "NULL_TREE", ";", "if", "(", "!", "bdecl", ")", "return", "NULL_TREE", ";", "break", ";", "default", ":", "return", "NULL_TREE", ";", "}", "gcc_assert", "(", "suffix", "!=", "NULL", ")", ";", "bname", "=", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "bdecl", ")", ")", ";", "if", "(", "!", "bname", ")", "return", "NULL_TREE", ";", "strcpy", "(", "name", ",", "bname", "+", "strlen", "(", "\"__builtin_\"", ")", ")", ";", "strcat", "(", "name", ",", "suffix", ")", ";", "if", "(", "n_args", "==", "1", ")", "fntype", "=", "build_function_type_list", "(", "type_out", ",", "type_in", ",", "NULL", ")", ";", "else", "if", "(", "n_args", "==", "2", ")", "fntype", "=", "build_function_type_list", "(", "type_out", ",", "type_in", ",", "type_in", ",", "NULL", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "new_fndecl", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FUNCTION_DECL", ",", "get_identifier", "(", "name", ")", ",", "fntype", ")", ";", "TREE_PUBLIC", "(", "new_fndecl", ")", "=", "1", ";", "DECL_EXTERNAL", "(", "new_fndecl", ")", "=", "1", ";", "DECL_IS_NOVOPS", "(", "new_fndecl", ")", "=", "1", ";", "TREE_READONLY", "(", "new_fndecl", ")", "=", "1", ";", "return", "new_fndecl", ";", "}", ""], "natrual_language": ["Handler", "for", "the", "Mathematical", "Acceleration", "Subsystem", "(", "mass", ")", "interface", "to", "a", "library", "with", "vectorized", "intrinsics", "."], "TS_V_token": ["rs6000", "32", "1", "2", "2", "\"d2\"", "4", "\"4\"", "\"__builtin_\"", "1", "2", "1", "1", "1", "1"], "File": "rs6000", "Func": "rs6000_builtin_vectorized_libmass", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20099, "Length": 386, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "TOCKey", "getEmptyKey", "(", ")", "{", "return", "{", "nullptr", ",", "MCSymbolRefExpr", "::", "VariantKind", "::", "VK_None", "}", ";", "}", ""], "natrual_language": ["Empty", "key", ":", "no", "key", "should", "be", "generated", "that", "has", "no", "DILocalVariable", "."], "TS_V_token": ["PowerPC"], "File": "PPCAsmPrinter (2)3", "Func": "getEmptyKey", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20100, "Length": 19, "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", "->", "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": "ARMBaseRegisterInfo10", "Func": "getCalleeSavedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20101, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "PPCDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "if", "(", "!", "GlobalBaseReg", ")", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "TM", ".", "getInstrInfo", "(", ")", ";", "MachineBasicBlock", "&", "FirstMBB", "=", "MF", "->", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "FirstMBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", ";", "if", "(", "PPCLowering", "->", "getPointerTy", "(", ")", "==", "MVT", "::", "i32", ")", "{", "if", "(", "PPCSubTarget", "->", "isTargetELF", "(", ")", ")", "GlobalBaseReg", "=", "PPC", "::", "R30", ";", "else", "GlobalBaseReg", "=", "RegInfo", "->", "createVirtualRegister", "(", "&", "PPC", "::", "GPRC_NOR0RegClass", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MovePCtoLR", ")", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MFLR", ")", ",", "GlobalBaseReg", ")", ";", "if", "(", "PPCSubTarget", "->", "isTargetELF", "(", ")", ")", "{", "unsigned", "TempReg", "=", "RegInfo", "->", "createVirtualRegister", "(", "&", "PPC", "::", "GPRCRegClass", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "GetGBRO", ")", ",", "TempReg", ")", ".", "addReg", "(", "GlobalBaseReg", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "UpdateGBR", ")", ")", ".", "addReg", "(", "GlobalBaseReg", ")", ".", "addReg", "(", "TempReg", ")", ";", "MF", "->", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", "->", "setUsesPICBase", "(", "true", ")", ";", "}", "}", "else", "{", "GlobalBaseReg", "=", "RegInfo", "->", "createVirtualRegister", "(", "&", "PPC", "::", "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", "(", ")", ")", ".", "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", "PPC::R30", "PPC::GPRC_NOR0RegClass", "PPC::MovePCtoLR", "PPC::MFLR", "PPC", "PPC::GPRCRegClass", "PPC::GetGBRO", "PPC::UpdateGBR", "PPC", "PPC::G8RC_NOX0RegClass", "PPC::MovePCtoLR8", "PPC::MFLR8", "PPC"], "File": "PPCISelDAGToDAG102", "Func": "getGlobalBaseReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20102, "Length": 292, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "PPCDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "if", "(", "!", "GlobalBaseReg", ")", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "PPCSubTarget", "->", "getInstrInfo", "(", ")", ";", "MachineBasicBlock", "&", "FirstMBB", "=", "MF", "->", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "FirstMBB", ".", "begin", "(", ")", ";", "const", "Module", "*", "M", "=", "MF", "->", "getFunction", "(", ")", "->", "getParent", "(", ")", ";", "DebugLoc", "dl", ";", "if", "(", "PPCLowering", "->", "getPointerTy", "(", ")", "==", "MVT", "::", "i32", ")", "{", "if", "(", "PPCSubTarget", "->", "isTargetELF", "(", ")", ")", "{", "GlobalBaseReg", "=", "PPC", "::", "R30", ";", "if", "(", "M", "->", "getPICLevel", "(", ")", "==", "PICLevel", "::", "Small", ")", "{", "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", ")", ";", "unsigned", "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_NOR0RegClass", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MovePCtoLR", ")", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MFLR", ")", ",", "GlobalBaseReg", ")", ";", "}", "}", "else", "{", "GlobalBaseReg", "=", "RegInfo", "->", "createVirtualRegister", "(", "&", "PPC", "::", "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", "(", ")", ")", ".", "getNode", "(", ")", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "MVT::i32", "PPC", "PPC::R30", "PPC::MoveGOTtoLR", "PPC::MFLR", "PPC", "PPC::MovePCtoLR", "PPC::MFLR", "PPC::GPRCRegClass", "PPC::UpdateGBR", "PPC", "PPC::GPRC_NOR0RegClass", "PPC::MovePCtoLR", "PPC::MFLR", "PPC::G8RC_NOX0RegClass", "PPC::MovePCtoLR8", "PPC::MFLR8", "PPC"], "File": "PPCISelDAGToDAG79", "Func": "getGlobalBaseReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20103, "Length": 389, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FISCTargetLowering", "::", "ConstraintType", "FISCTargetLowering", "::", "getConstraintType", "(", "StringRef", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'c'", ":", "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": ["FISC", "FISC", "FISC", "1", "0"], "File": "FISCISelLowering", "Func": "getConstraintType", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20104, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_rtx_costs_wrapper", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "int", "outer", ",", "int", "param", ",", "int", "*", "cost", ",", "bool", "speed", ")", "{", "bool", "result", "=", "aarch64_rtx_costs", "(", "x", ",", "mode", ",", "outer", ",", "param", ",", "cost", ",", "speed", ")", ";", "if", "(", "dump_file", "&&", "flag_aarch64_verbose_cost", ")", "{", "print_rtl_single", "(", "dump_file", ",", "x", ")", ";", "fprintf", "(", "dump_file", ",", "\"\\n%s cost: %d (%s)\\n\"", ",", "speed", "?", "\"Hot\"", ":", "\"Cold\"", ",", "*", "cost", ",", "result", "?", "\"final\"", ":", "\"partial\"", ")", ";", "}", "return", "result", ";", "}", ""], "natrual_language": ["Wrapper", "around", "aarch64_rtx_costs", ",", "dumps", "the", "partial", ",", "or", "total", "cost", "calculated", "for", "X", ".", "This", "cost", "is", "stored", "in", "*", "COST", ".", "Returns", "true", "if", "the", "total", "cost", "of", "X", "was", "calculated", "."], "TS_V_token": ["aarch64", "\"\\n%s cost: %d (%s)\\n\"", "\"Hot\"", "\"Cold\"", "\"final\"", "\"partial\""], "File": "aarch64", "Func": "aarch64_rtx_costs_wrapper", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20105, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "func_fma_steering", "::", "dfs", "(", "void", "(", "*", "process_forest", ")", "(", "fma_forest", "*", ")", ",", "void", "(", "*", "process_root", ")", "(", "fma_forest", "*", ",", "fma_root_node", "*", ")", ",", "void", "(", "*", "process_node", ")", "(", "fma_forest", "*", ",", "fma_node", "*", ")", ",", "bool", "free", ")", "{", "auto_vec", "<", "fma_node", "*", ">", "to_process", ";", "auto_vec", "<", "fma_node", "*", ">", "to_free", ";", "std", "::", "list", "<", "fma_forest", "*", ">", "::", "iterator", "forest_iter", ";", "for", "(", "forest_iter", "=", "this", "->", "m_fma_forests", ".", "begin", "(", ")", ";", "forest_iter", "!=", "this", "->", "m_fma_forests", ".", "end", "(", ")", ";", "++", "forest_iter", ")", "{", "std", "::", "list", "<", "fma_root_node", "*", ">", "::", "iterator", "root_iter", ";", "if", "(", "process_forest", ")", "process_forest", "(", "*", "forest_iter", ")", ";", "for", "(", "root_iter", "=", "(", "*", "forest_iter", ")", "->", "get_roots", "(", ")", "->", "begin", "(", ")", ";", "root_iter", "!=", "(", "*", "forest_iter", ")", "->", "get_roots", "(", ")", "->", "end", "(", ")", ";", "++", "root_iter", ")", "{", "if", "(", "process_root", ")", "process_root", "(", "*", "forest_iter", ",", "*", "root_iter", ")", ";", "to_process", ".", "safe_push", "(", "*", "root_iter", ")", ";", "}", "while", "(", "!", "to_process", ".", "is_empty", "(", ")", ")", "{", "fma_node", "*", "node", ";", "std", "::", "list", "<", "fma_node", "*", ">", "::", "iterator", "child_iter", ";", "node", "=", "to_process", ".", "pop", "(", ")", ";", "if", "(", "process_node", ")", "process_node", "(", "*", "forest_iter", ",", "node", ")", ";", "for", "(", "child_iter", "=", "node", "->", "get_children", "(", ")", "->", "begin", "(", ")", ";", "child_iter", "!=", "node", "->", "get_children", "(", ")", "->", "end", "(", ")", ";", "++", "child_iter", ")", "to_process", ".", "safe_push", "(", "*", "child_iter", ")", ";", "if", "(", "free", ")", "to_free", ".", "safe_push", "(", "node", ")", ";", "}", "if", "(", "free", ")", "{", "delete", "*", "forest_iter", ";", "while", "(", "!", "to_free", ".", "is_empty", "(", ")", ")", "{", "fma_node", "*", "node", "=", "to_free", ".", "pop", "(", ")", ";", "if", "(", "node", "->", "root_p", "(", ")", ")", "delete", "static_cast", "<", "fma_root_node", "*", ">", "(", "node", ")", ";", "else", "delete", "node", ";", "}", "}", "}", "}", ""], "natrual_language": ["Perform", "a", "depth-first", "search", "of", "the", "forests", "of", "fma_node", "in", "THIS-", ">", "m_fma_forests", ",", "calling", "PROCESS_FOREST", "(", ")", "on", "each", "fma_forest", "object", "in", "THIS-", ">", "m_fma_forests", "list", ",", "PROCESS_ROOT", "(", ")", "on", "each", "tree", "root", "and", "PROCESS_NODE", "(", ")", "on", "each", "node", ".", "If", "FREE", "is", "true", ",", "free", "all", "std", ":", ":list", "in", "the", "same", "dfs", "."], "TS_V_token": ["aarch64"], "File": "cortex-a57-fma-steering", "Func": "dfs", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20106, "Length": 324, "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": 20107, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb2InstrInfo", "::", "ReplaceTailWithBranchTo", "(", "MachineBasicBlock", "::", "iterator", "Tail", ",", "MachineBasicBlock", "*", "NewDest", ")", "const", "{", "MachineBasicBlock", "*", "MBB", "=", "Tail", "->", "getParent", "(", ")", ";", "ARMFunctionInfo", "*", "AFI", "=", "MBB", "->", "getParent", "(", ")", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "if", "(", "!", "AFI", "->", "hasITBlocks", "(", ")", ")", "{", "TargetInstrInfoImpl", "::", "ReplaceTailWithBranchTo", "(", "Tail", ",", "NewDest", ")", ";", "return", ";", "}", "unsigned", "PredReg", "=", "0", ";", "ARMCC", "::", "CondCodes", "CC", "=", "getInstrPredicate", "(", "Tail", ",", "PredReg", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "Tail", ";", "if", "(", "CC", "!=", "ARMCC", "::", "AL", ")", "--", "MBBI", ";", "TargetInstrInfoImpl", "::", "ReplaceTailWithBranchTo", "(", "Tail", ",", "NewDest", ")", ";", "if", "(", "CC", "!=", "ARMCC", "::", "AL", ")", "{", "MachineBasicBlock", "::", "iterator", "E", "=", "MBB", "->", "begin", "(", ")", ";", "unsigned", "Count", "=", "4", ";", "while", "(", "Count", "&&", "MBBI", "!=", "E", ")", "{", "if", "(", "MBBI", "->", "isDebugValue", "(", ")", ")", "{", "--", "MBBI", ";", "continue", ";", "}", "if", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2IT", ")", "{", "unsigned", "Mask", "=", "MBBI", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "Count", "==", "4", ")", "MBBI", "->", "eraseFromParent", "(", ")", ";", "else", "{", "unsigned", "MaskOn", "=", "1", "<<", "Count", ";", "unsigned", "MaskOff", "=", "~", "(", "MaskOn", "-", "1", ")", ";", "MBBI", "->", "getOperand", "(", "1", ")", ".", "setImm", "(", "(", "Mask", "&", "MaskOff", ")", "|", "MaskOn", ")", ";", "}", "return", ";", "}", "--", "MBBI", ";", "--", "Count", ";", "}", "}", "}", ""], "natrual_language": ["Delete", "the", "instruction", "OldInst", "and", "everything", "after", "it", ",", "replacing", "it", "with", "an", "unconditional", "branch", "to", "NewDest", "."], "TS_V_token": ["ARM", "ARM", "ARM", "0", "ARMCC::CondCodes", "ARMCC::AL", "ARMCC::AL", "4", "ARM::t2IT", "1", "4", "1", "1", "1"], "File": "Thumb2InstrInfo17", "Func": "ReplaceTailWithBranchTo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20108, "Length": 247, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "isFMAFasterThanFMulAndFAdd", "(", "const", "Function", "&", "F", ",", "Type", "*", "Ty", ")", "const", "{", "switch", "(", "Ty", "->", "getScalarType", "(", ")", "->", "getTypeID", "(", ")", ")", "{", "case", "Type", "::", "FloatTyID", ":", "case", "Type", "::", "DoubleTyID", ":", "return", "true", ";", "case", "Type", "::", "FP128TyID", ":", "return", "EnableQuadPrecision", "&&", "Subtarget", ".", "hasP9Vector", "(", ")", ";", "default", ":", "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"], "File": "PPCISelLowering101", "Func": "isFMAFasterThanFMulAndFAdd", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20109, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86DAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "OptForSize", "=", "MF", "->", "getFunction", "(", ")", "->", "optForSize", "(", ")", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "I", "++", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "(", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", "&&", "!", "Subtarget", "->", "callRegIndirect", "(", ")", ")", "||", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "TC_RETURN", "&&", "(", "Subtarget", "->", "is64Bit", "(", ")", "||", "getTargetMachine", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", ")", ")", ")", ")", "{", "bool", "HasCallSeq", "=", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", ";", "SDValue", "Chain", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Load", "=", "N", "->", "getOperand", "(", "1", ")", ";", "if", "(", "!", "isCalleeLoad", "(", "Load", ",", "Chain", ",", "HasCallSeq", ")", ")", "continue", ";", "MoveBelowOrigChain", "(", "CurDAG", ",", "Load", ",", "SDValue", "(", "N", ",", "0", ")", ",", "Chain", ")", ";", "++", "NumLoadMoved", ";", "continue", ";", "}", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_ROUND", "&&", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "MVT", "SrcVT", "=", "N", "->", "getOperand", "(", "0", ")", ".", "getSimpleValueType", "(", ")", ";", "MVT", "DstVT", "=", "N", "->", "getSimpleValueType", "(", "0", ")", ";", "if", "(", "SrcVT", ".", "isVector", "(", ")", "||", "DstVT", ".", "isVector", "(", ")", ")", "continue", ";", "const", "X86TargetLowering", "*", "X86Lowering", "=", "static_cast", "<", "const", "X86TargetLowering", "*", ">", "(", "TLI", ")", ";", "bool", "SrcIsSSE", "=", "X86Lowering", "->", "isScalarFPTypeInSSEReg", "(", "SrcVT", ")", ";", "bool", "DstIsSSE", "=", "X86Lowering", "->", "isScalarFPTypeInSSEReg", "(", "DstVT", ")", ";", "if", "(", "SrcIsSSE", "&&", "DstIsSSE", ")", "continue", ";", "if", "(", "!", "SrcIsSSE", "&&", "!", "DstIsSSE", ")", "{", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "if", "(", "N", "->", "getConstantOperandVal", "(", "1", ")", ")", "continue", ";", "}", "MVT", "MemVT", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_ROUND", ")", "MemVT", "=", "DstVT", ";", "else", "MemVT", "=", "SrcIsSSE", "?", "SrcVT", ":", "DstVT", ";", "SDValue", "MemTmp", "=", "CurDAG", "->", "CreateStackTemporary", "(", "MemVT", ")", ";", "SDLoc", "dl", "(", "N", ")", ";", "SDValue", "Store", "=", "CurDAG", "->", "getTruncStore", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "dl", ",", "N", "->", "getOperand", "(", "0", ")", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "SDValue", "Result", "=", "CurDAG", "->", "getExtLoad", "(", "ISD", "::", "EXTLOAD", ",", "dl", ",", "DstVT", ",", "Store", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "false", ",", "0", ")", ";", "--", "I", ";", "CurDAG", "->", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "0", ")", ",", "Result", ")", ";", "++", "I", ";", "CurDAG", "->", "DeleteNode", "(", "N", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["X86", "X86", "X86ISD::CALL", "X86ISD::TC_RETURN", "X86ISD::CALL", "0", "1", "0", "ISD::FP_ROUND", "ISD::FP_EXTEND", "0", "0", "X86", "X86", "X86", "X86", "X86", "ISD::FP_EXTEND", "1", "ISD::FP_ROUND", "0", "0", "ISD::EXTLOAD", "0", "0"], "File": "X86ISelDAGToDAG114", "Func": "PreprocessISelDAG", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20110, "Length": 470, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "std", "::", "string", "&", "AArch64CA53ErratumStub", "::", "name", "(", ")", "const", "{", "return", "m_Name", ";", "}", ""], "natrual_language": ["Gets", "the", "name", "of", "the", "pass", "we", "are", "mixed", "into", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64CA53ErratumStub", "Func": "name", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20111, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBankInfo", "::", "InstructionMapping", "&", "MipsRegisterBankInfo", "::", "getInstrMapping", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "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_TRUNC", ":", "case", "G_ADD", ":", "case", "G_SUB", ":", "case", "G_MUL", ":", "case", "G_UMULH", ":", "case", "G_LOAD", ":", "case", "G_STORE", ":", "case", "G_ZEXTLOAD", ":", "case", "G_SEXTLOAD", ":", "case", "G_GEP", ":", "case", "G_AND", ":", "case", "G_OR", ":", "case", "G_XOR", ":", "case", "G_SHL", ":", "case", "G_ASHR", ":", "case", "G_LSHR", ":", "case", "G_SDIV", ":", "case", "G_UDIV", ":", "case", "G_SREM", ":", "case", "G_UREM", ":", "OperandsMapping", "=", "&", "Mips", "::", "ValueMappings", "[", "Mips", "::", "GPRIdx", "]", ";", "break", ";", "case", "G_FADD", ":", "case", "G_FSUB", ":", "case", "G_FMUL", ":", "case", "G_FDIV", ":", "{", "unsigned", "Size", "=", "MRI", ".", "getType", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "getSizeInBits", "(", ")", ";", "assert", "(", "(", "Size", "==", "32", "||", "Size", "==", "64", ")", "&&", "\"Unsupported floating point size\"", ")", ";", "OperandsMapping", "=", "Size", "==", "32", "?", "&", "Mips", "::", "ValueMappings", "[", "Mips", "::", "SPRIdx", "]", ":", "&", "Mips", "::", "ValueMappings", "[", "Mips", "::", "DPRIdx", "]", ";", "break", ";", "}", "case", "G_FCONSTANT", ":", "{", "unsigned", "Size", "=", "MRI", ".", "getType", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "getSizeInBits", "(", ")", ";", "assert", "(", "(", "Size", "==", "32", "||", "Size", "==", "64", ")", "&&", "\"Unsupported floating point size\"", ")", ";", "const", "RegisterBankInfo", "::", "ValueMapping", "*", "FPRValueMapping", "=", "Size", "==", "32", "?", "&", "Mips", "::", "ValueMappings", "[", "Mips", "::", "SPRIdx", "]", ":", "&", "Mips", "::", "ValueMappings", "[", "Mips", "::", "DPRIdx", "]", ";", "OperandsMapping", "=", "getOperandsMapping", "(", "{", "FPRValueMapping", ",", "nullptr", "}", ")", ";", "break", ";", "}", "case", "G_CONSTANT", ":", "case", "G_FRAME_INDEX", ":", "case", "G_GLOBAL_VALUE", ":", "case", "G_BRCOND", ":", "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", ";", "case", "G_SELECT", ":", "OperandsMapping", "=", "getOperandsMapping", "(", "{", "&", "Mips", "::", "ValueMappings", "[", "Mips", "::", "GPRIdx", "]", ",", "&", "Mips", "::", "ValueMappings", "[", "Mips", "::", "GPRIdx", "]", ",", "&", "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", "0", "32", "64", "\"Unsupported floating point size\"", "32", "Mips::ValueMappings", "Mips::SPRIdx", "Mips::ValueMappings", "Mips::DPRIdx", "0", "32", "64", "\"Unsupported floating point size\"", "32", "Mips::ValueMappings", "Mips::SPRIdx", "Mips::ValueMappings", "Mips::DPRIdx", "Mips::ValueMappings", "Mips::GPRIdx", "Mips::ValueMappings", "Mips::GPRIdx", "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": "MipsRegisterBankInfo28", "Func": "getInstrMapping", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20112, "Length": 499, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_binary_operator", "(", "enum", "rtx_code", "code", ",", "enum", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ")", "{", "rtx", "src1", ",", "src2", ",", "dst", ",", "op", ",", "clob", ";", "dst", "=", "ix86_fixup_binary_operands", "(", "code", ",", "mode", ",", "operands", ")", ";", "src1", "=", "operands", "[", "1", "]", ";", "src2", "=", "operands", "[", "2", "]", ";", "op", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "dst", ",", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "src1", ",", "src2", ")", ")", ";", "if", "(", "reload_in_progress", ")", "{", "gcc_assert", "(", "code", "==", "PLUS", ")", ";", "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", "binary", "operator", ".", "Make", "the", "expansion", "closer", "to", "the", "actual", "machine", ",", "then", "just", "general_operand", ",", "which", "will", "allow", "3", "separate", "memory", "references", "(", "one", "output", ",", "two", "input", ")", "in", "a", "single", "insn", "."], "TS_V_token": ["i386", "1", "2", "2", "0", "0"], "File": "i3863", "Func": "ix86_expand_binary_operator", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20113, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "selectBinaryOp", "(", "unsigned", "GenericOpc", ",", "unsigned", "RegBankID", ",", "unsigned", "OpSize", ")", "{", "switch", "(", "RegBankID", ")", "{", "case", "AArch64", "::", "GPRRegBankID", ":", "if", "(", "OpSize", "<=", "32", ")", "{", "assert", "(", "(", "OpSize", "==", "32", "||", "(", "GenericOpc", "!=", "TargetOpcode", "::", "G_SDIV", "&&", "GenericOpc", "!=", "TargetOpcode", "::", "G_UDIV", "&&", "GenericOpc", "!=", "TargetOpcode", "::", "G_LSHR", "&&", "GenericOpc", "!=", "TargetOpcode", "::", "G_ASHR", ")", ")", "&&", "\"operation should have been legalized before now\"", ")", ";", "switch", "(", "GenericOpc", ")", "{", "case", "TargetOpcode", "::", "G_OR", ":", "return", "AArch64", "::", "ORRWrr", ";", "case", "TargetOpcode", "::", "G_XOR", ":", "return", "AArch64", "::", "EORWrr", ";", "case", "TargetOpcode", "::", "G_AND", ":", "return", "AArch64", "::", "ANDWrr", ";", "case", "TargetOpcode", "::", "G_ADD", ":", "assert", "(", "OpSize", "!=", "32", "&&", "\"s32 G_ADD should have been selected\"", ")", ";", "return", "AArch64", "::", "ADDWrr", ";", "case", "TargetOpcode", "::", "G_SUB", ":", "return", "AArch64", "::", "SUBWrr", ";", "case", "TargetOpcode", "::", "G_SHL", ":", "return", "AArch64", "::", "LSLVWr", ";", "case", "TargetOpcode", "::", "G_LSHR", ":", "return", "AArch64", "::", "LSRVWr", ";", "case", "TargetOpcode", "::", "G_ASHR", ":", "return", "AArch64", "::", "ASRVWr", ";", "case", "TargetOpcode", "::", "G_SDIV", ":", "return", "AArch64", "::", "SDIVWr", ";", "case", "TargetOpcode", "::", "G_UDIV", ":", "return", "AArch64", "::", "UDIVWr", ";", "default", ":", "return", "GenericOpc", ";", "}", "}", "else", "if", "(", "OpSize", "==", "64", ")", "{", "switch", "(", "GenericOpc", ")", "{", "case", "TargetOpcode", "::", "G_OR", ":", "return", "AArch64", "::", "ORRXrr", ";", "case", "TargetOpcode", "::", "G_XOR", ":", "return", "AArch64", "::", "EORXrr", ";", "case", "TargetOpcode", "::", "G_AND", ":", "return", "AArch64", "::", "ANDXrr", ";", "case", "TargetOpcode", "::", "G_GEP", ":", "return", "AArch64", "::", "ADDXrr", ";", "case", "TargetOpcode", "::", "G_SUB", ":", "return", "AArch64", "::", "SUBXrr", ";", "case", "TargetOpcode", "::", "G_SHL", ":", "return", "AArch64", "::", "LSLVXr", ";", "case", "TargetOpcode", "::", "G_LSHR", ":", "return", "AArch64", "::", "LSRVXr", ";", "case", "TargetOpcode", "::", "G_ASHR", ":", "return", "AArch64", "::", "ASRVXr", ";", "case", "TargetOpcode", "::", "G_SDIV", ":", "return", "AArch64", "::", "SDIVXr", ";", "case", "TargetOpcode", "::", "G_UDIV", ":", "return", "AArch64", "::", "UDIVXr", ";", "default", ":", "return", "GenericOpc", ";", "}", "}", "case", "AArch64", "::", "FPRRegBankID", ":", "switch", "(", "OpSize", ")", "{", "case", "32", ":", "switch", "(", "GenericOpc", ")", "{", "case", "TargetOpcode", "::", "G_FADD", ":", "return", "AArch64", "::", "FADDSrr", ";", "case", "TargetOpcode", "::", "G_FSUB", ":", "return", "AArch64", "::", "FSUBSrr", ";", "case", "TargetOpcode", "::", "G_FMUL", ":", "return", "AArch64", "::", "FMULSrr", ";", "case", "TargetOpcode", "::", "G_FDIV", ":", "return", "AArch64", "::", "FDIVSrr", ";", "default", ":", "return", "GenericOpc", ";", "}", "case", "64", ":", "switch", "(", "GenericOpc", ")", "{", "case", "TargetOpcode", "::", "G_FADD", ":", "return", "AArch64", "::", "FADDDrr", ";", "case", "TargetOpcode", "::", "G_FSUB", ":", "return", "AArch64", "::", "FSUBDrr", ";", "case", "TargetOpcode", "::", "G_FMUL", ":", "return", "AArch64", "::", "FMULDrr", ";", "case", "TargetOpcode", "::", "G_FDIV", ":", "return", "AArch64", "::", "FDIVDrr", ";", "case", "TargetOpcode", "::", "G_OR", ":", "return", "AArch64", "::", "ORRv8i8", ";", "default", ":", "return", "GenericOpc", ";", "}", "}", "}", ";", "return", "GenericOpc", ";", "}", ""], "natrual_language": ["Select", "and", "emit", "code", "for", "a", "binary", "operator", "instruction", ",", "which", "has", "an", "opcode", "which", "directly", "corresponds", "to", "the", "given", "ISD", "opcode", "."], "TS_V_token": ["AArch64", "AArch64::GPRRegBankID", "32", "32", "\"operation should have been legalized before now\"", "AArch64::ORRWrr", "AArch64::EORWrr", "AArch64::ANDWrr", "32", "\"s32 G_ADD should have been selected\"", "AArch64::ADDWrr", "AArch64::SUBWrr", "AArch64::LSLVWr", "AArch64::LSRVWr", "AArch64::ASRVWr", "AArch64::SDIVWr", "AArch64::UDIVWr", "64", "AArch64::ORRXrr", "AArch64::EORXrr", "AArch64::ANDXrr", "AArch64::ADDXrr", "AArch64::SUBXrr", "AArch64::LSLVXr", "AArch64::LSRVXr", "AArch64::ASRVXr", "AArch64::SDIVXr", "AArch64::UDIVXr", "AArch64::FPRRegBankID", "32", "AArch64::FADDSrr", "AArch64::FSUBSrr", "AArch64::FMULSrr", "AArch64::FDIVSrr", "64", "AArch64::FADDDrr", "AArch64::FSUBDrr", "AArch64::FMULDrr", "AArch64::FDIVDrr", "AArch64::ORRv8i8"], "File": "AArch64InstructionSelector30", "Func": "selectBinaryOp", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20114, "Length": 444, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "override", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "VE", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_ve_reflong\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_ve_srel32\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_ve_hi32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_ve_lo32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_ve_pc_hi32\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_ve_pc_lo32\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_ve_got_hi32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_ve_got_lo32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_ve_gotoff_hi32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_ve_gotoff_lo32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_ve_plt_hi32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_ve_plt_lo32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_ve_tls_gd_hi32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_ve_tls_gd_lo32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_ve_tpoff_hi32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_ve_tpoff_lo32\"", ",", "0", ",", "32", ",", "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": ["VE", "VE::NumTargetFixupKinds", "\"fixup_ve_reflong\"", "0", "32", "0", "\"fixup_ve_srel32\"", "0", "32", "\"fixup_ve_hi32\"", "0", "32", "0", "\"fixup_ve_lo32\"", "0", "32", "0", "\"fixup_ve_pc_hi32\"", "0", "32", "\"fixup_ve_pc_lo32\"", "0", "32", "\"fixup_ve_got_hi32\"", "0", "32", "0", "\"fixup_ve_got_lo32\"", "0", "32", "0", "\"fixup_ve_gotoff_hi32\"", "0", "32", "0", "\"fixup_ve_gotoff_lo32\"", "0", "32", "0", "\"fixup_ve_plt_hi32\"", "0", "32", "0", "\"fixup_ve_plt_lo32\"", "0", "32", "0", "\"fixup_ve_tls_gd_hi32\"", "0", "32", "0", "\"fixup_ve_tls_gd_lo32\"", "0", "32", "0", "\"fixup_ve_tpoff_hi32\"", "0", "32", "0", "\"fixup_ve_tpoff_lo32\"", "0", "32", "0", "\"Invalid kind!\""], "File": "VEAsmBackend4", "Func": "getFixupKindInfo", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20115, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "LC2200RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "static", "const", "MCPhysReg", "ReservedGPR32", "[", "]", "=", "{", "LC2200", "::", "zero", ",", "LC2200", "::", "sp", ",", "LC2200", "::", "fp", ",", "LC2200", "::", "pc", "}", ";", "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": ["LC2200", "LC2200", "LC2200::zero", "LC2200::sp", "LC2200::fp", "LC2200::pc"], "File": "LC2200RegisterInfo", "Func": "getReservedRegs", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20116, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64LoadStoreOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "const", "TargetMachine", "&", "TM", "=", "Fn", ".", "getTarget", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "ARM64InstrInfo", "*", ">", "(", "TM", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "TM", ".", "getRegisterInfo", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "auto", "&", "MBB", ":", "Fn", ")", "Modified", "|=", "optimizeBlock", "(", "MBB", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM64", "ARM64", "ARM64"], "File": "ARM64LoadStoreOptimizer1", "Func": "runOnMachineFunction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20117, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0InstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", "->", "getParent", "(", ")", ";", "switch", "(", "MI", "->", "getDesc", "(", ")", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "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": ["Cpu0", "Cpu0"], "File": "Cpu0InstrInfo1", "Func": "expandPostRAPseudo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20118, "Length": 53, "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", ")", ";", "}", "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": "i3864", "Func": "ix86_function_arg_boundary", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20119, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "ia64_function_arg_boundary", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "if", "(", "mode", "==", "TFmode", "&&", "TARGET_HPUX", "&&", "TARGET_ILP32", ")", "return", "PARM_BOUNDARY", "*", "2", ";", "if", "(", "type", ")", "{", "if", "(", "TYPE_ALIGN", "(", "type", ")", ">", "PARM_BOUNDARY", ")", "return", "PARM_BOUNDARY", "*", "2", ";", "else", "return", "PARM_BOUNDARY", ";", "}", "if", "(", "GET_MODE_BITSIZE", "(", "mode", ")", ">", "PARM_BOUNDARY", ")", "return", "PARM_BOUNDARY", "*", "2", ";", "else", "return", "PARM_BOUNDARY", ";", "}", ""], "natrual_language": ["Arguments", "with", "alignment", "larger", "than", "8", "bytes", "start", "at", "the", "next", "even", "boundary", ".", "On", "ILP32", "HPUX", ",", "TFmode", "arguments", "start", "on", "next", "even", "boundary", "even", "though", "their", "normal", "alignment", "is", "8", "bytes", ".", "See", "ia64_function_arg", "."], "TS_V_token": ["ia64", "2", "2", "2"], "File": "ia64", "Func": "ia64_function_arg_boundary", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20120, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCAIXAsmPrinter", "::", "emitEndOfAsmFile", "(", "Module", "&", "M", ")", "{", "if", "(", "M", ".", "empty", "(", ")", "&&", "TOCDataGlobalVars", ".", "empty", "(", ")", ")", "return", ";", "OutStreamer", "->", "SwitchSection", "(", "getObjFileLowering", "(", ")", ".", "getTOCBaseSection", "(", ")", ")", ";", "PPCTargetStreamer", "*", "TS", "=", "static_cast", "<", "PPCTargetStreamer", "*", ">", "(", "OutStreamer", "->", "getTargetStreamer", "(", ")", ")", ";", "for", "(", "auto", "&", "I", ":", "TOC", ")", "{", "MCSectionXCOFF", "*", "TCEntry", ";", "if", "(", "I", ".", "first", ".", "second", "==", "MCSymbolRefExpr", "::", "VariantKind", "::", "VK_PPC_AIX_TLSGDM", ")", "{", "SmallString", "<", "128", ">", "Name", ";", "StringRef", "Prefix", "=", "\".\"", ";", "Name", "+=", "Prefix", ";", "Name", "+=", "I", ".", "first", ".", "first", "->", "getName", "(", ")", ";", "MCSymbol", "*", "S", "=", "OutContext", ".", "getOrCreateSymbol", "(", "Name", ")", ";", "TCEntry", "=", "cast", "<", "MCSectionXCOFF", ">", "(", "getObjFileLowering", "(", ")", ".", "getSectionForTOCEntry", "(", "S", ",", "TM", ")", ")", ";", "}", "else", "{", "TCEntry", "=", "cast", "<", "MCSectionXCOFF", ">", "(", "getObjFileLowering", "(", ")", ".", "getSectionForTOCEntry", "(", "I", ".", "first", ".", "first", ",", "TM", ")", ")", ";", "}", "OutStreamer", "->", "SwitchSection", "(", "TCEntry", ")", ";", "OutStreamer", "->", "emitLabel", "(", "I", ".", "second", ")", ";", "if", "(", "TS", "!=", "nullptr", ")", "TS", "->", "emitTCEntry", "(", "*", "I", ".", "first", ".", "first", ",", "I", ".", "first", ".", "second", ")", ";", "}", "for", "(", "const", "auto", "*", "GV", ":", "TOCDataGlobalVars", ")", "emitGlobalVariableHelper", "(", "GV", ")", ";", "}", ""], "natrual_language": ["This", "virtual", "method", "can", "be", "overridden", "by", "targets", "that", "want", "to", "emit", "something", "at", "the", "end", "of", "their", "file", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "128", "\".\""], "File": "PPCAsmPrinter122", "Func": "emitEndOfAsmFile", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20121, "Length": 224, "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", "::", "tGPRRegClass", "||", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "DestReg", ")", "&&", "isARMLowRegister", "(", "DestReg", ")", ")", ")", "&&", "\"Unknown regclass!\"", ")", ";", "if", "(", "RC", "==", "&", "ARM", "::", "tGPRRegClass", "||", "(", "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", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tLDRspi", ")", ",", "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::tGPRRegClass", "ARM", "\"Unknown regclass!\"", "ARM::tGPRRegClass", "ARM", "ARM::tLDRspi", "0"], "File": "Thumb1InstrInfo30", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20122, "Length": 200, "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", ".", "Zero", "&=", "Known2", ".", "Zero", ";", "Known", ".", "One", "&=", "Known2", ".", "One", ";", "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", "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": "AArch64ISelLowering104", "Func": "computeKnownBitsForTargetNode", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20123, "Length": 400, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "arm_debugger_regno", "(", "unsigned", "int", "regno", ")", "{", "if", "(", "regno", "<", "16", ")", "return", "regno", ";", "if", "(", "IS_VFP_REGNUM", "(", "regno", ")", ")", "{", "if", "(", "VFP_REGNO_OK_FOR_SINGLE", "(", "regno", ")", ")", "return", "64", "+", "regno", "-", "FIRST_VFP_REGNUM", ";", "else", "return", "256", "+", "(", "regno", "-", "FIRST_VFP_REGNUM", ")", "/", "2", ";", "}", "if", "(", "IS_IWMMXT_GR_REGNUM", "(", "regno", ")", ")", "return", "104", "+", "regno", "-", "FIRST_IWMMXT_GR_REGNUM", ";", "if", "(", "IS_IWMMXT_REGNUM", "(", "regno", ")", ")", "return", "112", "+", "regno", "-", "FIRST_IWMMXT_REGNUM", ";", "if", "(", "IS_PAC_REGNUM", "(", "regno", ")", ")", "return", "DWARF_PAC_REGNUM", ";", "return", "DWARF_FRAME_REGISTERS", ";", "}", ""], "natrual_language": ["Map", "internal", "gcc", "register", "numbers", "to", "DWARF2", "register", "numbers", "."], "TS_V_token": ["arm", "16", "64", "256", "2", "104", "112"], "File": "arm1", "Func": "arm_debugger_regno", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20124, "Length": 95, "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", "(", ")", ")", ";", "if", "(", "MMI", ")", "{", "MachineModuleInfoMachO", "&", "MMIMacho", "=", "MMI", "->", "getObjFileInfo", "<", "MachineModuleInfoMachO", ">", "(", ")", ";", "if", "(", "MAI", "->", "doesSupportExceptionHandling", "(", ")", ")", "{", "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", ")", ";", "}", "}", "}", "MachineModuleInfoMachO", "::", "SymbolListTy", "Stubs", "=", "MMIMacho", ".", "GetGVStubList", "(", ")", ";", "if", "(", "!", "Stubs", ".", "empty", "(", ")", ")", "{", "OutStreamer", "->", "SwitchSection", "(", "TLOFMacho", ".", "getNonLazySymbolPointerSection", "(", ")", ")", ";", "EmitAlignment", "(", "isPPC64", "?", "Align", "(", "8", ")", ":", "Align", "(", "4", ")", ")", ";", "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", "(", ")", ";", "}", "}", "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", "8", "4", "0", "0", "PPC", "8", "4", "PPC", "8", "4"], "File": "PPCAsmPrinter101", "Func": "doFinalization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20125, "Length": 312, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "getMachineCombinerPatterns", "(", "MachineInstr", "&", "Root", ",", "SmallVectorImpl", "<", "MachineCombinerPattern", ">", "&", "Patterns", ")", "const", "{", "if", "(", "Subtarget", ".", "getTargetMachine", "(", ")", ".", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "Aggressive", ")", "return", "false", ";", "if", "(", "!", "Root", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getTarget", "(", ")", ".", "Options", ".", "UnsafeFPMath", ")", "return", "false", ";", "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": ["PowerPC", "PPC"], "File": "PPCInstrInfo (2)2", "Func": "getMachineCombinerPatterns", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20126, "Length": 72, "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": 20127, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64DummyPA", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "STI", "=", "&", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "STI", "->", "getRegisterInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "for", "(", "auto", "MBBI", "=", "MBB", ".", "begin", "(", ")", ",", "End", "=", "MBB", ".", "end", "(", ")", ";", "MBBI", "!=", "End", ";", ")", "{", "auto", "&", "MI", "=", "*", "MBBI", "++", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "AArch64", "::", "PACIA", ":", "case", "AArch64", "::", "PACIB", ":", "case", "AArch64", "::", "PACDA", ":", "case", "AArch64", "::", "PACDB", ":", "case", "AArch64", "::", "AUTIA", ":", "case", "AArch64", "::", "AUTIB", ":", "case", "AArch64", "::", "AUTDA", ":", "case", "AArch64", "::", "AUTDB", ":", "Changed", "=", "convertBasicPAInstr", "(", "MBB", ",", "MI", ")", "|", "Changed", ";", "break", ";", "case", "AArch64", "::", "PACIASP", ":", "case", "AArch64", "::", "PACIBSP", ":", "case", "AArch64", "::", "AUTIASP", ":", "case", "AArch64", "::", "AUTIBSP", ":", "Changed", "=", "convertSpPAInstr", "(", "MBB", ",", "MI", ")", "|", "Changed", ";", "break", ";", "case", "AArch64", "::", "RETAA", ":", "case", "AArch64", "::", "RETAB", ":", "Changed", "=", "convertRetPAInstr", "(", "MBB", ",", "MI", ")", "|", "Changed", ";", "break", ";", "case", "AArch64", "::", "PACGA", ":", "case", "AArch64", "::", "PACDZA", ":", "case", "AArch64", "::", "PACDZB", ":", "case", "AArch64", "::", "PACIZA", ":", "case", "AArch64", "::", "PACIZB", ":", "case", "AArch64", "::", "PACIA1716", ":", "case", "AArch64", "::", "PACIAZ", ":", "case", "AArch64", "::", "PACIB1716", ":", "case", "AArch64", "::", "PACIBZ", ":", "case", "AArch64", "::", "AUTDZA", ":", "case", "AArch64", "::", "AUTDZB", ":", "case", "AArch64", "::", "AUTIZA", ":", "case", "AArch64", "::", "AUTIZB", ":", "case", "AArch64", "::", "AUTIA1716", ":", "case", "AArch64", "::", "AUTIAZ", ":", "case", "AArch64", "::", "AUTIB1716", ":", "case", "AArch64", "::", "AUTIBZ", ":", "llvm_unreachable", "(", "\"unsupported\"", ")", ";", "}", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64::PACIA", "AArch64::PACIB", "AArch64::PACDA", "AArch64::PACDB", "AArch64::AUTIA", "AArch64::AUTIB", "AArch64::AUTDA", "AArch64::AUTDB", "AArch64::PACIASP", "AArch64::PACIBSP", "AArch64::AUTIASP", "AArch64::AUTIBSP", "AArch64::RETAA", "AArch64::RETAB", "AArch64::PACGA", "AArch64::PACDZA", "AArch64::PACDZB", "AArch64::PACIZA", "AArch64::PACIZB", "AArch64::PACIA1716", "AArch64::PACIAZ", "AArch64::PACIB1716", "AArch64::PACIBZ", "AArch64::AUTDZA", "AArch64::AUTDZB", "AArch64::AUTIZA", "AArch64::AUTIZB", "AArch64::AUTIA1716", "AArch64::AUTIAZ", "AArch64::AUTIB1716", "AArch64::AUTIBZ", "\"unsupported\""], "File": "AArch64DummyPA", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20128, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsBranchExpansion", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "TargetMachine", "&", "TM", "=", "MF", ".", "getTarget", "(", ")", ";", "IsPIC", "=", "TM", ".", "isPositionIndependent", "(", ")", ";", "ABI", "=", "static_cast", "<", "const", "MipsTargetMachine", "&", ">", "(", "TM", ")", ".", "getABI", "(", ")", ";", "STI", "=", "&", "static_cast", "<", "const", "MipsSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "TII", "=", "static_cast", "<", "const", "MipsInstrInfo", "*", ">", "(", "STI", "->", "getInstrInfo", "(", ")", ")", ";", "if", "(", "IsPIC", "&&", "ABI", ".", "IsO32", "(", ")", "&&", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", "->", "globalBaseRegSet", "(", ")", ")", "emitGPDisp", "(", "MF", ",", "TII", ")", ";", "MFp", "=", "&", "MF", ";", "ForceLongBranchFirstPass", "=", "ForceLongBranch", ";", "bool", "longBranchChanged", "=", "handlePossibleLongBranch", "(", ")", ";", "bool", "forbiddenSlotChanged", "=", "handleForbiddenSlot", "(", ")", ";", "bool", "Changed", "=", "longBranchChanged", "||", "forbiddenSlotChanged", ";", "while", "(", "forbiddenSlotChanged", ")", "{", "longBranchChanged", "=", "handlePossibleLongBranch", "(", ")", ";", "if", "(", "!", "longBranchChanged", ")", "break", ";", "forbiddenSlotChanged", "=", "handleForbiddenSlot", "(", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsBranchExpansion", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20129, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CSKYAsmPrinter", "::", "emitFunctionBodyEnd", "(", ")", "{", "if", "(", "!", "InConstantPool", ")", "return", ";", "InConstantPool", "=", "false", ";", "}", ""], "natrual_language": ["Targets", "can", "override", "this", "to", "emit", "stuff", "after", "the", "last", "basic", "block", "in", "the", "function", "."], "TS_V_token": ["CSKY", "CSKY"], "File": "CSKYAsmPrinter1", "Func": "emitFunctionBodyEnd", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20130, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "rs6000_special_round_type_align", "(", "tree", "type", ",", "unsigned", "int", "computed", ",", "unsigned", "int", "specified", ")", "{", "unsigned", "int", "align", "=", "MAX", "(", "computed", ",", "specified", ")", ";", "tree", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";", "while", "(", "field", "!=", "NULL", "&&", "TREE_CODE", "(", "field", ")", "!=", "FIELD_DECL", ")", "field", "=", "DECL_CHAIN", "(", "field", ")", ";", "if", "(", "field", "!=", "NULL", "&&", "field", "!=", "type", ")", "{", "type", "=", "TREE_TYPE", "(", "field", ")", ";", "while", "(", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", ")", "type", "=", "TREE_TYPE", "(", "type", ")", ";", "if", "(", "type", "!=", "error_mark_node", "&&", "TYPE_MODE", "(", "type", ")", "==", "DFmode", ")", "align", "=", "MAX", "(", "align", ",", "64", ")", ";", "}", "return", "align", ";", "}", ""], "natrual_language": ["Darwin", ",", "AIX", "increases", "natural", "record", "alignment", "to", "doubleword", "if", "the", "first", "field", "is", "an", "FP", "double", "while", "the", "FP", "fields", "remain", "word", "aligned", "."], "TS_V_token": ["powerpcspe", "64"], "File": "powerpcspe", "Func": "rs6000_special_round_type_align", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20131, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "SystemZSelectionDAGInfo", "::", "EmitTargetCodeForMemchr", "(", "SelectionDAG", "&", "DAG", ",", "const", "SDLoc", "&", "DL", ",", "SDValue", "Chain", ",", "SDValue", "Src", ",", "SDValue", "Char", ",", "SDValue", "Length", ",", "MachinePointerInfo", "SrcPtrInfo", ")", "const", "{", "EVT", "PtrVT", "=", "Src", ".", "getValueType", "(", ")", ";", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "PtrVT", ",", "MVT", "::", "i32", ",", "MVT", "::", "Other", ")", ";", "Length", "=", "DAG", ".", "getZExtOrTrunc", "(", "Length", ",", "DL", ",", "PtrVT", ")", ";", "Char", "=", "DAG", ".", "getZExtOrTrunc", "(", "Char", ",", "DL", ",", "MVT", "::", "i32", ")", ";", "Char", "=", "DAG", ".", "getNode", "(", "ISD", "::", "AND", ",", "DL", ",", "MVT", "::", "i32", ",", "Char", ",", "DAG", ".", "getConstant", "(", "255", ",", "DL", ",", "MVT", "::", "i32", ")", ")", ";", "SDValue", "Limit", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ADD", ",", "DL", ",", "PtrVT", ",", "Src", ",", "Length", ")", ";", "SDValue", "End", "=", "DAG", ".", "getNode", "(", "SystemZISD", "::", "SEARCH_STRING", ",", "DL", ",", "VTs", ",", "Chain", ",", "Limit", ",", "Src", ",", "Char", ")", ";", "SDValue", "CCReg", "=", "End", ".", "getValue", "(", "1", ")", ";", "Chain", "=", "End", ".", "getValue", "(", "2", ")", ";", "SDValue", "Ops", "[", "]", "=", "{", "End", ",", "DAG", ".", "getConstant", "(", "0", ",", "DL", ",", "PtrVT", ")", ",", "DAG", ".", "getConstant", "(", "SystemZ", "::", "CCMASK_SRST", ",", "DL", ",", "MVT", "::", "i32", ")", ",", "DAG", ".", "getConstant", "(", "SystemZ", "::", "CCMASK_SRST_FOUND", ",", "DL", ",", "MVT", "::", "i32", ")", ",", "CCReg", "}", ";", "End", "=", "DAG", ".", "getNode", "(", "SystemZISD", "::", "SELECT_CCMASK", ",", "DL", ",", "PtrVT", ",", "Ops", ")", ";", "return", "std", "::", "make_pair", "(", "End", ",", "Chain", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memchr", ",", "in", "cases", "where", "that", "is", "faster", "than", "a", "libcall", "."], "TS_V_token": ["SystemZ", "SystemZ", "MVT::i32", "MVT::Other", "MVT::i32", "ISD::AND", "MVT::i32", "255", "MVT::i32", "ISD::ADD", "SystemZISD::SEARCH_STRING", "1", "2", "0", "SystemZ::CCMASK_SRST", "MVT::i32", "SystemZ::CCMASK_SRST_FOUND", "MVT::i32", "SystemZISD::SELECT_CCMASK"], "File": "SystemZSelectionDAGInfo2", "Func": "EmitTargetCodeForMemchr", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20132, "Length": 268, "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": 20133, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsSEInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "unsigned", "Opc", "=", "0", ",", "ZeroReg", "=", "0", ";", "if", "(", "Mips", "::", "GPR32RegClass", ".", "contains", "(", "DestReg", ")", ")", "{", "if", "(", "Mips", "::", "GPR32RegClass", ".", "contains", "(", "SrcReg", ")", ")", "{", "Opc", "=", "Mips", "::", "ADDu", ",", "ZeroReg", "=", "Mips", "::", "ZERO", ";", "}", "else", "if", "(", "Mips", "::", "FGR32RegClass", ".", "contains", "(", "SrcReg", ")", ")", "{", "Opc", "=", "Mips", "::", "MFC1", ";", "}", "}", "else", "if", "(", "Mips", "::", "GPR32RegClass", ".", "contains", "(", "SrcReg", ")", ")", "{", "if", "(", "Mips", "::", "FGR32RegClass", ".", "contains", "(", "DestReg", ")", ")", "{", "Opc", "=", "Mips", "::", "MTC1", ";", "}", "}", "else", "if", "(", "Mips", "::", "FGR32RegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "Opc", "=", "Mips", "::", "FMOV_S", ";", "}", "else", "if", "(", "Mips", "::", "AFGR64RegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "Opc", "=", "Mips", "::", "FMOV_D32", ";", "}", "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", ")", ")", ";", "if", "(", "ZeroReg", ")", "MIB", ".", "addReg", "(", "ZeroReg", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["Mips", "Mips", "0", "0", "Mips::GPR32RegClass", "Mips::GPR32RegClass", "Mips::ADDu", "Mips::ZERO", "Mips::FGR32RegClass", "Mips::MFC1", "Mips::GPR32RegClass", "Mips::FGR32RegClass", "Mips::MTC1", "Mips::FGR32RegClass", "Mips::FMOV_S", "Mips::AFGR64RegClass", "Mips::FMOV_D32", "\"Cannot copy registers\""], "File": "MipsSEInstrInfo25", "Func": "copyPhysReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20134, "Length": 239, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ")", "{", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "O", ")", "&&", "!", "printSparcAliasInstr", "(", "MI", ",", "O", ")", ")", "printInstruction", "(", "MI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc"], "File": "SparcInstPrinter14", "Func": "printInst", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20135, "Length": 51, "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": 20136, "Length": 103, "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": 20137, "Length": 33, "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": 20138, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_arg_partial_bytes", "(", "cumulative_args_t", "cum", ",", "machine_mode", "mode", ",", "tree", "type", ",", "bool", "named", ")", "{", "struct", "mips_arg_info", "info", ";", "mips_get_arg_info", "(", "&", "info", ",", "get_cumulative_args", "(", "cum", ")", ",", "mode", ",", "type", ",", "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": "mips4", "Func": "mips_arg_partial_bytes", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20139, "Length": 54, "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", "<", "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", ")", ";", "SplitRegs", ".", "push_back", "(", "Info", ".", "Reg", ")", ";", "}", "PerformArgSplit", "(", "SplitRegs", ")", ";", "}", ""], "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", "8", "0"], "File": "X86CallLowering6", "Func": "splitToValueTypes", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20140, "Length": 210, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "AArch64TTIImpl", "::", "getArithmeticReductionCost", "(", "unsigned", "Opcode", ",", "VectorType", "*", "ValTy", ",", "bool", "IsPairwiseForm", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "if", "(", "isa", "<", "ScalableVectorType", ">", "(", "ValTy", ")", ")", "return", "getArithmeticReductionCostSVE", "(", "Opcode", ",", "ValTy", ",", "IsPairwiseForm", ",", "CostKind", ")", ";", "if", "(", "IsPairwiseForm", ")", "return", "BaseT", "::", "getArithmeticReductionCost", "(", "Opcode", ",", "ValTy", ",", "IsPairwiseForm", ",", "CostKind", ")", ";", "std", "::", "pair", "<", "int", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "ValTy", ")", ";", "MVT", "MTy", "=", "LT", ".", "second", ";", "int", "ISD", "=", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", ";", "assert", "(", "ISD", "&&", "\"Invalid opcode\"", ")", ";", "static", "const", "CostTblEntry", "CostTblNoPairwise", "[", "]", "{", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v8i8", ",", "1", "}", ",", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v16i8", ",", "1", "}", ",", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v4i16", ",", "1", "}", ",", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v8i16", ",", "1", "}", ",", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v4i32", ",", "1", "}", ",", "}", ";", "if", "(", "const", "auto", "*", "Entry", "=", "CostTableLookup", "(", "CostTblNoPairwise", ",", "ISD", ",", "MTy", ")", ")", "return", "LT", ".", "first", "*", "Entry", "->", "Cost", ";", "return", "BaseT", "::", "getArithmeticReductionCost", "(", "Opcode", ",", "ValTy", ",", "IsPairwiseForm", ",", "CostKind", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "vector", "reduction", "intrinsics", "."], "TS_V_token": ["AArch64", "AArch64", "\"Invalid opcode\"", "ISD::ADD", "MVT::v8i8", "1", "ISD::ADD", "MVT::v16i8", "1", "ISD::ADD", "MVT::v4i16", "1", "ISD::ADD", "MVT::v8i16", "1", "ISD::ADD", "MVT::v4i32", "1"], "File": "AArch64TargetTransformInfo36", "Func": "getArithmeticReductionCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20141, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "Subtarget", "=", "&", "MF", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMISelDAGToDAG108", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20142, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "MipsInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "MipsInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "SP", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "SP_64", ":", "Mips", "::", "SP", ";", "unsigned", "FP", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "FP_64", ":", "Mips", "::", "FP", ";", "unsigned", "ZERO", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "ZERO_64", ":", "Mips", "::", "ZERO", ";", "unsigned", "ADDu", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "DADDu", ":", "Mips", "::", "ADDu", ";", "unsigned", "ADDiu", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "DADDiu", ":", "Mips", "::", "ADDiu", ";", "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", ")", ";", "}", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "!", "StackSize", ")", "return", ";", "if", "(", "isInt", "<", "16", ">", "(", "StackSize", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ADDiu", ")", ",", "SP", ")", ".", "addReg", "(", "SP", ")", ".", "addImm", "(", "StackSize", ")", ";", "else", "expandLargeImm", "(", "SP", ",", "StackSize", ",", "STI", ".", "isABI_N64", "(", ")", ",", "TII", ",", "MBB", ",", "MBBI", ",", "dl", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips::SP_64", "Mips::SP", "Mips::FP_64", "Mips::FP", "Mips::ZERO_64", "Mips::ZERO", "Mips::DADDu", "Mips::ADDu", "Mips::DADDiu", "Mips::ADDiu", "0", "16"], "File": "MipsFrameLowering25", "Func": "emitEpilogue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20143, "Length": 300, "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": 20144, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPreAllocLoadStoreOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "if", "(", "AssumeMisalignedLoadStores", "||", "skipFunction", "(", "*", "Fn", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "TD", "=", "&", "Fn", ".", "getDataLayout", "(", ")", ";", "STI", "=", "&", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "Fn", ".", "getSubtarget", "(", ")", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "STI", "->", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "Fn", ".", "getRegInfo", "(", ")", ";", "MF", "=", "&", "Fn", ";", "AA", "=", "&", "getAnalysis", "<", "AAResultsWrapperPass", ">", "(", ")", ".", "getAAResults", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MFI", ":", "Fn", ")", "Modified", "|=", "RescheduleLoadStoreInstrs", "(", "&", "MFI", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMLoadStoreOptimizer24", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20145, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_shift_p", "(", "enum", "rtx_code", "code", ")", "{", "return", "code", "==", "ASHIFT", "||", "code", "==", "ASHIFTRT", "||", "code", "==", "LSHIFTRT", ";", "}", ""], "natrual_language": ["Return", "true", "iff", "CODE", "is", "a", "shift", "supported", "in", "combination", "with", "arithmetic", "instructions", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_shift_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20146, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "lowerInterleavedLoad", "(", "LoadInst", "*", "LI", ",", "ArrayRef", "<", "ShuffleVectorInst", "*", ">", "Shuffles", ",", "ArrayRef", "<", "unsigned", ">", "Indices", ",", "unsigned", "Factor", ")", "const", "{", "assert", "(", "Factor", ">=", "2", "&&", "Factor", "<=", "getMaxSupportedInterleaveFactor", "(", ")", "&&", "\"Invalid interleave factor\"", ")", ";", "assert", "(", "!", "Shuffles", ".", "empty", "(", ")", "&&", "\"Empty shufflevector input\"", ")", ";", "assert", "(", "Shuffles", ".", "size", "(", ")", "==", "Indices", ".", "size", "(", ")", "&&", "\"Unmatched number of shufflevectors and indices\"", ")", ";", "const", "DataLayout", "&", "DL", "=", "LI", "->", "getModule", "(", ")", "->", "getDataLayout", "(", ")", ";", "VectorType", "*", "VecTy", "=", "Shuffles", "[", "0", "]", "->", "getType", "(", ")", ";", "unsigned", "VecSize", "=", "DL", ".", "getTypeSizeInBits", "(", "VecTy", ")", ";", "if", "(", "!", "Subtarget", "->", "hasNEON", "(", ")", "||", "(", "VecSize", "!=", "64", "&&", "VecSize", "!=", "128", ")", ")", "return", "false", ";", "Type", "*", "EltTy", "=", "VecTy", "->", "getVectorElementType", "(", ")", ";", "if", "(", "EltTy", "->", "isPointerTy", "(", ")", ")", "VecTy", "=", "VectorType", "::", "get", "(", "DL", ".", "getIntPtrType", "(", "EltTy", ")", ",", "VecTy", "->", "getVectorNumElements", "(", ")", ")", ";", "Type", "*", "PtrTy", "=", "VecTy", "->", "getPointerTo", "(", "LI", "->", "getPointerAddressSpace", "(", ")", ")", ";", "Type", "*", "Tys", "[", "2", "]", "=", "{", "VecTy", ",", "PtrTy", "}", ";", "static", "const", "Intrinsic", "::", "ID", "LoadInts", "[", "3", "]", "=", "{", "Intrinsic", "::", "aarch64_neon_ld2", ",", "Intrinsic", "::", "aarch64_neon_ld3", ",", "Intrinsic", "::", "aarch64_neon_ld4", "}", ";", "Function", "*", "LdNFunc", "=", "Intrinsic", "::", "getDeclaration", "(", "LI", "->", "getModule", "(", ")", ",", "LoadInts", "[", "Factor", "-", "2", "]", ",", "Tys", ")", ";", "IRBuilder", "<", ">", "Builder", "(", "LI", ")", ";", "Value", "*", "Ptr", "=", "Builder", ".", "CreateBitCast", "(", "LI", "->", "getPointerOperand", "(", ")", ",", "PtrTy", ")", ";", "CallInst", "*", "LdN", "=", "Builder", ".", "CreateCall", "(", "LdNFunc", ",", "Ptr", ",", "\"ldN\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Shuffles", ".", "size", "(", ")", ";", "i", "++", ")", "{", "ShuffleVectorInst", "*", "SVI", "=", "Shuffles", "[", "i", "]", ";", "unsigned", "Index", "=", "Indices", "[", "i", "]", ";", "Value", "*", "SubVec", "=", "Builder", ".", "CreateExtractValue", "(", "LdN", ",", "Index", ")", ";", "if", "(", "EltTy", "->", "isPointerTy", "(", ")", ")", "SubVec", "=", "Builder", ".", "CreateIntToPtr", "(", "SubVec", ",", "SVI", "->", "getType", "(", ")", ")", ";", "SVI", "->", "replaceAllUsesWith", "(", "SubVec", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Lower", "interleaved", "load", "(", "s", ")", "into", "target", "specific", "instructions/intrinsics", "."], "TS_V_token": ["AArch64", "AArch64", "2", "\"Invalid interleave factor\"", "\"Empty shufflevector input\"", "\"Unmatched number of shufflevectors and indices\"", "0", "64", "128", "2", "Intrinsic::ID", "3", "Intrinsic::aarch64_neon_ld2", "Intrinsic::aarch64_neon_ld3", "Intrinsic::aarch64_neon_ld4", "Intrinsic::getDeclaration", "2", "\"ldN\"", "0"], "File": "AArch64ISelLowering (2)", "Func": "lowerInterleavedLoad", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20147, "Length": 369, "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_Immediate", ";", "}", "}", "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": "SparcISelLowering (2)2", "Func": "getConstraintType", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20148, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_split_logical_inner", "(", "rtx", "dest", ",", "rtx", "op1", ",", "rtx", "op2", ",", "enum", "rtx_code", "code", ",", "machine_mode", "mode", ",", "bool", "complement_final_p", ",", "bool", "complement_op1_p", ",", "bool", "complement_op2_p", ")", "{", "rtx", "bool_rtx", ";", "if", "(", "op2", "&&", "GET_CODE", "(", "op2", ")", "==", "CONST_INT", "&&", "(", "mode", "==", "SImode", "||", "(", "mode", "==", "DImode", "&&", "TARGET_POWERPC64", ")", ")", "&&", "!", "complement_final_p", "&&", "!", "complement_op1_p", "&&", "!", "complement_op2_p", ")", "{", "HOST_WIDE_INT", "mask", "=", "GET_MODE_MASK", "(", "mode", ")", ";", "HOST_WIDE_INT", "value", "=", "INTVAL", "(", "op2", ")", "&", "mask", ";", "if", "(", "code", "==", "AND", ")", "{", "if", "(", "value", "==", "0", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "const0_rtx", ")", ")", ";", "return", ";", "}", "else", "if", "(", "value", "==", "mask", ")", "{", "if", "(", "!", "rtx_equal_p", "(", "dest", ",", "op1", ")", ")", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "op1", ")", ")", ";", "return", ";", "}", "}", "else", "if", "(", "code", "==", "IOR", "||", "code", "==", "XOR", ")", "{", "if", "(", "value", "==", "0", ")", "{", "if", "(", "!", "rtx_equal_p", "(", "dest", ",", "op1", ")", ")", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "op1", ")", ")", ";", "return", ";", "}", "}", "}", "if", "(", "code", "==", "AND", "&&", "mode", "==", "SImode", "&&", "!", "complement_final_p", "&&", "!", "complement_op1_p", "&&", "!", "complement_op2_p", ")", "{", "emit_insn", "(", "gen_andsi3", "(", "dest", ",", "op1", ",", "op2", ")", ")", ";", "return", ";", "}", "if", "(", "complement_op1_p", ")", "op1", "=", "gen_rtx_NOT", "(", "mode", ",", "op1", ")", ";", "if", "(", "complement_op2_p", ")", "op2", "=", "gen_rtx_NOT", "(", "mode", ",", "op2", ")", ";", "if", "(", "!", "complement_op1_p", "&&", "complement_op2_p", ")", "std", "::", "swap", "(", "op1", ",", "op2", ")", ";", "bool_rtx", "=", "(", "(", "code", "==", "NOT", ")", "?", "gen_rtx_NOT", "(", "mode", ",", "op1", ")", ":", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "op1", ",", "op2", ")", ")", ";", "if", "(", "complement_final_p", ")", "bool_rtx", "=", "gen_rtx_NOT", "(", "mode", ",", "bool_rtx", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "bool_rtx", ")", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "rs6000_split_logical", "to", "emit", "a", "logical", "instruction", "after", "spliting", "the", "operation", "to", "single", "GPR", "registers", ".", "DEST", "is", "the", "destination", "register", ".", "OP1", "and", "OP2", "are", "the", "input", "source", "registers", ".", "CODE", "is", "the", "base", "operation", "(", "AND", ",", "IOR", ",", "XOR", ",", "NOT", ")", ".", "MODE", "is", "the", "machine", "mode", ".", "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", "0", "0"], "File": "rs60005", "Func": "rs6000_split_logical_inner", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20149, "Length": 318, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sh_print_operand_address", "(", "FILE", "*", "stream", ",", "machine_mode", ",", "rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "REG", ":", "case", "SUBREG", ":", "fprintf", "(", "stream", ",", "\"@%s\"", ",", "reg_names", "[", "true_regnum", "(", "x", ")", "]", ")", ";", "break", ";", "case", "PLUS", ":", "{", "rtx", "base", "=", "XEXP", "(", "x", ",", "0", ")", ";", "rtx", "index", "=", "XEXP", "(", "x", ",", "1", ")", ";", "switch", "(", "GET_CODE", "(", "index", ")", ")", "{", "case", "CONST_INT", ":", "fprintf", "(", "stream", ",", "\"@(%d,%s)\"", ",", "(", "int", ")", "INTVAL", "(", "index", ")", ",", "reg_names", "[", "true_regnum", "(", "base", ")", "]", ")", ";", "break", ";", "case", "REG", ":", "case", "SUBREG", ":", "{", "int", "base_num", "=", "true_regnum", "(", "base", ")", ";", "int", "index_num", "=", "true_regnum", "(", "index", ")", ";", "fprintf", "(", "stream", ",", "\"@(r0,%s)\"", ",", "reg_names", "[", "MAX", "(", "base_num", ",", "index_num", ")", "]", ")", ";", "break", ";", "}", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "break", ";", "case", "PRE_DEC", ":", "fprintf", "(", "stream", ",", "\"@-%s\"", ",", "reg_names", "[", "true_regnum", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "break", ";", "case", "POST_INC", ":", "fprintf", "(", "stream", ",", "\"@%s+\"", ",", "reg_names", "[", "true_regnum", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "break", ";", "default", ":", "x", "=", "mark_constant_pool_use", "(", "x", ")", ";", "output_addr_const", "(", "stream", ",", "x", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Print", "the", "operand", "address", "in", "x", "to", "the", "stream", "."], "TS_V_token": ["sh", "\"@%s\"", "0", "1", "\"@(%d,%s)\"", "\"@(r0,%s)\"", "\"@-%s\"", "0", "\"@%s+\"", "0"], "File": "sh5", "Func": "sh_print_operand_address", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20150, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "expand_vec_perm_shrp", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "i", ",", "nelt", "=", "d", "->", "nelt", ",", "shift", ",", "mask", ";", "rtx", "tmp", ",", "hi", ",", "lo", ";", "if", "(", "d", "->", "vmode", "==", "V2SFmode", ")", "return", "false", ";", "mask", "=", "(", "d", "->", "one_operand_p", "?", "nelt", "-", "1", ":", "2", "*", "nelt", "-", "1", ")", ";", "shift", "=", "d", "->", "perm", "[", "0", "]", ";", "if", "(", "BYTES_BIG_ENDIAN", "&&", "shift", ">", "nelt", ")", "return", "false", ";", "for", "(", "i", "=", "1", ";", "i", "<", "nelt", ";", "++", "i", ")", "if", "(", "d", "->", "perm", "[", "i", "]", "!=", "(", "(", "shift", "+", "i", ")", "&", "mask", ")", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "hi", "=", "shift", "<", "nelt", "?", "d", "->", "op1", ":", "d", "->", "op0", ";", "lo", "=", "shift", "<", "nelt", "?", "d", "->", "op0", ":", "d", "->", "op1", ";", "shift", "%=", "nelt", ";", "shift", "*=", "GET_MODE_UNIT_SIZE", "(", "d", "->", "vmode", ")", "*", "BITS_PER_UNIT", ";", "gcc_assert", "(", "IN_RANGE", "(", "shift", ",", "1", ",", "63", ")", ")", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "shift", "=", "64", "-", "shift", ";", "tmp", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "hi", "=", "gen_lowpart", "(", "DImode", ",", "hi", ")", ";", "lo", "=", "gen_lowpart", "(", "DImode", ",", "lo", ")", ";", "emit_insn", "(", "gen_shrp", "(", "tmp", ",", "hi", ",", "lo", ",", "GEN_INT", "(", "shift", ")", ")", ")", ";", "emit_move_insn", "(", "d", "->", "target", ",", "gen_lowpart", "(", "d", "->", "vmode", ",", "tmp", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Try", "to", "expand", "D", "via", "a", "shrp", "instruction", "."], "TS_V_token": ["ia64", "1", "2", "1", "0", "1", "1", "63", "64"], "File": "ia64", "Func": "expand_vec_perm_shrp", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20151, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "{", "if", "(", "ExtraCode", "[", "1", "]", "!=", "0", ")", "return", "true", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "default", ":", "return", "true", ";", "case", "'a'", ":", "if", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "isReg", "(", ")", ")", "{", "O", "<<", "\"[\"", "<<", "ARMInstPrinter", "::", "getRegisterName", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "getReg", "(", ")", ")", "<<", "\"]\"", ";", "return", "false", ";", "}", "case", "'c'", ":", "if", "(", "!", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "isImm", "(", ")", ")", "return", "true", ";", "O", "<<", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "getImm", "(", ")", ";", "return", "false", ";", "case", "'P'", ":", "case", "'q'", ":", "printOperand", "(", "MI", ",", "OpNum", ",", "O", ")", ";", "return", "false", ";", "case", "'Q'", ":", "case", "'R'", ":", "case", "'H'", ":", "return", "true", ";", "}", "}", "printOperand", "(", "MI", ",", "OpNum", ",", "O", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["ARM", "ARM", "0", "1", "0", "0", "\"[\"", "ARM", "\"]\""], "File": "ARMAsmPrinter32", "Func": "PrintAsmOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20152, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCFastISel", "::", "fastMaterializeAlloca", "(", "const", "AllocaInst", "*", "AI", ")", "{", "if", "(", "!", "FuncInfo", ".", "StaticAllocaMap", ".", "count", "(", "AI", ")", ")", "return", "0", ";", "MVT", "VT", ";", "if", "(", "!", "isLoadTypeLegal", "(", "AI", "->", "getType", "(", ")", ",", "VT", ")", ")", "return", "0", ";", "DenseMap", "<", "const", "AllocaInst", "*", ",", "int", ">", "::", "iterator", "SI", "=", "FuncInfo", ".", "StaticAllocaMap", ".", "find", "(", "AI", ")", ";", "if", "(", "SI", "!=", "FuncInfo", ".", "StaticAllocaMap", ".", "end", "(", ")", ")", "{", "unsigned", "ResultReg", "=", "createResultReg", "(", "&", "PPC", "::", "G8RC_and_G8RC_NOX0RegClass", ")", ";", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "TII", ".", "get", "(", "PPC", "::", "ADDI8", ")", ",", "ResultReg", ")", ".", "addFrameIndex", "(", "SI", "->", "second", ")", ".", "addImm", "(", "0", ")", ";", "return", "ResultReg", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Emit", "an", "alloca", "address", "in", "a", "register", "using", "target-specific", "logic", "."], "TS_V_token": ["PowerPC", "PPC", "0", "0", "PPC::G8RC_and_G8RC_NOX0RegClass", "PPC::ADDI8", "0", "0"], "File": "PPCFastISel (2)", "Func": "fastMaterializeAlloca", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20153, "Length": 136, "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": 20154, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsExpandPseudo", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "bool", "Changed", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "F", ".", "begin", "(", ")", ";", "I", "!=", "F", ".", "end", "(", ")", ";", "++", "I", ")", "Changed", "|=", "runOnMachineBasicBlock", "(", "*", "I", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsExpandPseudo", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20155, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_for_each_saved_gpr_and_fpr", "(", "HOST_WIDE_INT", "sp_offset", ",", "mips_save_restore_fn", "fn", ")", "{", "machine_mode", "fpr_mode", ";", "int", "regno", ";", "const", "struct", "mips_frame_info", "*", "frame", "=", "&", "cfun", "->", "machine", "->", "frame", ";", "HOST_WIDE_INT", "offset", ";", "unsigned", "int", "mask", ";", "offset", "=", "frame", "->", "gp_sp_offset", "-", "sp_offset", ";", "mask", "=", "frame", "->", "mask", ";", "if", "(", "TARGET_MICROMIPS", ")", "umips_build_save_restore", "(", "fn", ",", "&", "mask", ",", "&", "offset", ")", ";", "for", "(", "regno", "=", "GP_REG_LAST", ";", "regno", ">=", "GP_REG_FIRST", ";", "regno", "--", ")", "if", "(", "BITSET_P", "(", "mask", ",", "regno", "-", "GP_REG_FIRST", ")", ")", "{", "if", "(", "regno", "==", "RETURN_ADDR_REGNUM", ")", "cfun", "->", "machine", "->", "frame", ".", "ra_fp_offset", "=", "offset", "+", "sp_offset", ";", "mips_save_restore_reg", "(", "word_mode", ",", "regno", ",", "offset", ",", "fn", ")", ";", "offset", "-=", "UNITS_PER_WORD", ";", "}", "offset", "=", "cfun", "->", "machine", "->", "frame", ".", "fp_sp_offset", "-", "sp_offset", ";", "fpr_mode", "=", "(", "TARGET_SINGLE_FLOAT", "?", "SFmode", ":", "DFmode", ")", ";", "for", "(", "regno", "=", "FP_REG_LAST", "-", "MAX_FPRS_PER_FMT", "+", "1", ";", "regno", ">=", "FP_REG_FIRST", ";", "regno", "-=", "MAX_FPRS_PER_FMT", ")", "if", "(", "BITSET_P", "(", "cfun", "->", "machine", "->", "frame", ".", "fmask", ",", "regno", "-", "FP_REG_FIRST", ")", ")", "{", "if", "(", "!", "TARGET_FLOAT64", "&&", "TARGET_DOUBLE_FLOAT", "&&", "(", "fixed_regs", "[", "regno", "]", "||", "fixed_regs", "[", "regno", "+", "1", "]", ")", ")", "{", "if", "(", "fixed_regs", "[", "regno", "]", ")", "mips_save_restore_reg", "(", "SFmode", ",", "regno", "+", "1", ",", "offset", ",", "fn", ")", ";", "else", "mips_save_restore_reg", "(", "SFmode", ",", "regno", ",", "offset", ",", "fn", ")", ";", "}", "else", "mips_save_restore_reg", "(", "fpr_mode", ",", "regno", ",", "offset", ",", "fn", ")", ";", "offset", "-=", "GET_MODE_SIZE", "(", "fpr_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": ["mips", "1", "1", "1"], "File": "mips", "Func": "mips_for_each_saved_gpr_and_fpr", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20156, "Length": 259, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TargetLowering", "::", "getByValTypeAlignment", "(", "Type", "*", "Ty", ")", "const", "{", "if", "(", "Subtarget", "->", "is64Bit", "(", ")", ")", "{", "unsigned", "TyAlign", "=", "TD", "->", "getABITypeAlignment", "(", "Ty", ")", ";", "if", "(", "TyAlign", ">", "8", ")", "return", "TyAlign", ";", "return", "8", ";", "}", "unsigned", "Align", "=", "4", ";", "if", "(", "Subtarget", "->", "hasXMM", "(", ")", ")", "getMaxByValAlign", "(", "Ty", ",", "Align", ")", ";", "return", "Align", ";", "}", ""], "natrual_language": ["Return", "the", "desired", "alignment", "for", "ByVal", "aggregate", "function", "arguments", "in", "the", "caller", "parameter", "area", "."], "TS_V_token": ["X86", "X86", "8", "8", "4"], "File": "X86ISelLowering191", "Func": "getByValTypeAlignment", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20157, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "gen_df_reg", "(", "rtx", "reg", ",", "int", "low", ")", "{", "int", "regno", "=", "REGNO", "(", "reg", ")", ";", "if", "(", "(", "WORDS_BIG_ENDIAN", "==", "0", ")", "^", "(", "low", "!=", "0", ")", ")", "regno", "+=", "(", "TARGET_ARCH64", "&&", "regno", "<", "32", ")", "?", "1", ":", "2", ";", "return", "gen_rtx_REG", "(", "DFmode", ",", "regno", ")", ";", "}", ""], "natrual_language": ["Generate", "a", "DFmode", "part", "of", "a", "hard", "TFmode", "register", ".", "REG", "is", "the", "TFmode", "hard", "register", ",", "LOW", "is", "1", "for", "the", "low", "64bit", "of", "the", "register", "and", "0", "otherwise", "."], "TS_V_token": ["sparc", "0", "0", "32", "1", "2"], "File": "sparc3", "Func": "gen_df_reg", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20158, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAtomicExpandLoadLinkedPass", "(", "TM", ")", ")", ";", "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": ["AArch64", "AArch64"], "File": "AArch64TargetMachine3", "Func": "addIRPasses", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20159, "Length": 43, "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": ["SystemZ", "8", "0"], "File": "SystemZISelLowering", "Func": "getPreferredVectorAction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20160, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "setReg", "(", "unsigned", "Val", ")", "{", "Contents", ".", "RegNum", "=", "Val", ";", "}", ""], "natrual_language": ["Assigns", "the", "associated", "register", "for", "this", "edge", "."], "TS_V_token": ["PowerPC"], "File": "PPCCTRLoops2", "Func": "setReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20161, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "getMemOperandWithOffsetWidth", "(", "const", "MachineInstr", "&", "LdSt", ",", "const", "MachineOperand", "*", "&", "BaseReg", ",", "int64_t", "&", "Offset", ",", "unsigned", "&", "Width", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "!", "LdSt", ".", "mayLoadOrStore", "(", ")", ")", "return", "false", ";", "if", "(", "LdSt", ".", "getNumExplicitOperands", "(", ")", "!=", "3", ")", "return", "false", ";", "if", "(", "!", "LdSt", ".", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", "||", "(", "!", "LdSt", ".", "getOperand", "(", "2", ")", ".", "isReg", "(", ")", "&&", "!", "LdSt", ".", "getOperand", "(", "2", ")", ".", "isFI", "(", ")", ")", ")", "return", "false", ";", "if", "(", "!", "LdSt", ".", "hasOneMemOperand", "(", ")", ")", "return", "false", ";", "Width", "=", "(", "*", "LdSt", ".", "memoperands_begin", "(", ")", ")", "->", "getSize", "(", ")", ";", "Offset", "=", "LdSt", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "BaseReg", "=", "&", "LdSt", ".", "getOperand", "(", "2", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "get", "the", "base", "operand", ",", "byte", "offset", "of", "an", "instruction", "and", "the", "memory", "width", "."], "TS_V_token": ["PowerPC", "PPC", "3", "1", "2", "2", "1", "2"], "File": "PPCInstrInfo65", "Func": "getMemOperandWithOffsetWidth", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20162, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "iq2000_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", ")", ";", "unsigned", "int", "iq2000_off", "=", "!", "cum", "->", "last_arg_fp", ";", "unsigned", "int", "iq2000_fp_off", "=", "cum", "->", "last_arg_fp", ";", "if", "(", "(", "cum", "->", "arg_words", "<", "MAX_ARGS_IN_REGISTERS", "-", "iq2000_off", ")", ")", "{", "int", "iq2000_save_gp_regs", "=", "MAX_ARGS_IN_REGISTERS", "-", "cum", "->", "arg_words", "-", "iq2000_off", ";", "int", "iq2000_save_fp_regs", "=", "(", "MAX_ARGS_IN_REGISTERS", "-", "cum", "->", "fp_arg_words", "-", "iq2000_fp_off", ")", ";", "if", "(", "iq2000_save_gp_regs", "<", "0", ")", "iq2000_save_gp_regs", "=", "0", ";", "if", "(", "iq2000_save_fp_regs", "<", "0", ")", "iq2000_save_fp_regs", "=", "0", ";", "*", "pretend_size", "=", "(", "(", "iq2000_save_gp_regs", "*", "UNITS_PER_WORD", ")", "+", "(", "iq2000_save_fp_regs", "*", "UNITS_PER_FPREG", ")", ")", ";", "if", "(", "!", "(", "no_rtl", ")", ")", "{", "if", "(", "cum", "->", "arg_words", "<", "MAX_ARGS_IN_REGISTERS", "-", "iq2000_off", ")", "{", "rtx", "ptr", ",", "mem", ";", "ptr", "=", "plus_constant", "(", "Pmode", ",", "virtual_incoming_args_rtx", ",", "-", "(", "iq2000_save_gp_regs", "*", "UNITS_PER_WORD", ")", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "BLKmode", ",", "ptr", ")", ";", "move_block_from_reg", "(", "cum", "->", "arg_words", "+", "GP_ARG_FIRST", "+", "iq2000_off", ",", "mem", ",", "iq2000_save_gp_regs", ")", ";", "}", "}", "}", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["iq2000", "0", "0", "0", "0"], "File": "iq20003", "Func": "iq2000_setup_incoming_varargs", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20163, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "find_regmode_weight", "(", "basic_block", "b", ",", "machine_mode", "mode", ")", "{", "rtx_insn", "*", "insn", ",", "*", "next_tail", ",", "*", "head", ",", "*", "tail", ";", "get_ebb_head_tail", "(", "b", ",", "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": "sh", "Func": "find_regmode_weight", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20164, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "ix86_select_alt_pic_regnum", "(", "void", ")", "{", "if", "(", "ix86_use_pseudo_pic_reg", "(", ")", ")", "return", "INVALID_REGNUM", ";", "if", "(", "crtl", "->", "is_leaf", "&&", "!", "crtl", "->", "profile", "&&", "!", "ix86_current_function_calls_tls_descriptor", ")", "{", "int", "i", ",", "drap", ";", "if", "(", "crtl", "->", "drap_reg", ")", "drap", "=", "REGNO", "(", "crtl", "->", "drap_reg", ")", ";", "else", "drap", "=", "-", "1", ";", "for", "(", "i", "=", "2", ";", "i", ">=", "0", ";", "--", "i", ")", "if", "(", "i", "!=", "drap", "&&", "!", "df_regs_ever_live_p", "(", "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", "1", "2", "0"], "File": "i386", "Func": "ix86_select_alt_pic_regnum", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20165, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "const_ok_for_dimode_op", "(", "HOST_WIDE_INT", "i", ",", "enum", "rtx_code", "code", ")", "{", "HOST_WIDE_INT", "hi_val", "=", "(", "i", ">>", "32", ")", "&", "0xFFFFFFFF", ";", "HOST_WIDE_INT", "lo_val", "=", "i", "&", "0xFFFFFFFF", ";", "rtx", "hi", "=", "GEN_INT", "(", "hi_val", ")", ";", "rtx", "lo", "=", "GEN_INT", "(", "lo_val", ")", ";", "if", "(", "TARGET_THUMB1", ")", "return", "0", ";", "switch", "(", "code", ")", "{", "case", "AND", ":", "case", "IOR", ":", "case", "XOR", ":", "return", "(", "const_ok_for_op", "(", "hi_val", ",", "code", ")", "||", "hi_val", "==", "0xFFFFFFFF", ")", "&&", "(", "const_ok_for_op", "(", "lo_val", ",", "code", ")", "||", "lo_val", "==", "0xFFFFFFFF", ")", ";", "case", "PLUS", ":", "return", "arm_not_operand", "(", "hi", ",", "SImode", ")", "&&", "arm_add_operand", "(", "lo", ",", "SImode", ")", ";", "default", ":", "return", "0", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "I", "is", "a", "valid", "di", "mode", "constant", "for", "the", "operation", "CODE", "."], "TS_V_token": ["arm", "32", "0xFFFFFFFF", "0xFFFFFFFF", "0", "0xFFFFFFFF", "0xFFFFFFFF", "0"], "File": "arm4", "Func": "const_ok_for_dimode_op", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20166, "Length": 118, "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": ["LEG"], "File": "LEGAsmBackend", "Func": "relaxInstruction", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20167, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ia64_first_cycle_multipass_dfa_lookahead", "(", "void", ")", "{", "return", "(", "reload_completed", "?", "6", ":", "4", ")", ";", "}", ""], "natrual_language": ["If", "the", "following", "function", "returns", "TRUE", ",", "we", "will", "use", "the", "DFA", "insn", "scheduler", "."], "TS_V_token": ["ia64", "6", "4"], "File": "ia64", "Func": "ia64_first_cycle_multipass_dfa_lookahead", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20168, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "rs6000_build_va_list", "(", ")", "{", "tree", "f_gpr", ",", "f_fpr", ",", "f_ovf", ",", "f_sav", ",", "record", ",", "type_decl", ";", "if", "(", "DEFAULT_ABI", "!=", "ABI_V4", ")", "return", "build_pointer_type", "(", "char_type_node", ")", ";", "record", "=", "make_lang_type", "(", "RECORD_TYPE", ")", ";", "type_decl", "=", "build_decl", "(", "TYPE_DECL", ",", "get_identifier", "(", "\"__va_list_tag\"", ")", ",", "record", ")", ";", "f_gpr", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"gpr\"", ")", ",", "unsigned_char_type_node", ")", ";", "f_fpr", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"fpr\"", ")", ",", "unsigned_char_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", ")", ";", "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": ["rs6000", "\"__va_list_tag\"", "\"gpr\"", "\"fpr\"", "\"overflow_arg_area\"", "\"reg_save_area\""], "File": "rs60002", "Func": "rs6000_build_va_list", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20169, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MMIXMCCodeEmitter", "::", "getJumpTargetOpValue", "(", "const", "MCInst", "&", "Inst", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "SubtargetInfo", ")", "const", "{", "const", "MCOperand", "&", "MCOp", "=", "Inst", ".", "getOperand", "(", "OpNo", ")", ";", "MCFixupKind", "Kind", "=", "static_cast", "<", "MCFixupKind", ">", "(", "MMIX", "::", "fixup_mmix_rel_24", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "MCOp", ".", "getExpr", "(", ")", ",", "Kind", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getJumpTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "jump", "target", "operand", "."], "TS_V_token": ["MMIX", "MMIX", "MMIX::fixup_mmix_rel_24", "0", "0"], "File": "MMIXMCCodeEmitter", "Func": "getJumpTargetOpValue", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20170, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0AsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Cpu0FI", "=", "MF", ".", "getInfo", "<", "Cpu0FunctionInfo", ">", "(", ")", ";", "AsmPrinter", "::", "runOnMachineFunction", "(", "MF", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0", "Cpu0"], "File": "Cpu0AsmPrinter1", "Func": "runOnMachineFunction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20171, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "emit_fusion_p9_load", "(", "rtx", "reg", ",", "rtx", "mem", ",", "rtx", "tmp_reg", ")", "{", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "reg", ")", ";", "rtx", "hi", ";", "rtx", "lo", ";", "rtx", "addr", ";", "const", "char", "*", "load_string", ";", "int", "r", ";", "if", "(", "GET_CODE", "(", "mem", ")", "==", "FLOAT_EXTEND", "||", "GET_CODE", "(", "mem", ")", "==", "ZERO_EXTEND", ")", "{", "mem", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "}", "if", "(", "GET_CODE", "(", "reg", ")", "==", "SUBREG", ")", "{", "gcc_assert", "(", "SUBREG_BYTE", "(", "reg", ")", "==", "0", ")", ";", "reg", "=", "SUBREG_REG", "(", "reg", ")", ";", "}", "if", "(", "!", "REG_P", "(", "reg", ")", ")", "fatal_insn", "(", "\"emit_fusion_p9_load, bad reg #1\"", ",", "reg", ")", ";", "r", "=", "REGNO", "(", "reg", ")", ";", "if", "(", "FP_REGNO_P", "(", "r", ")", ")", "{", "if", "(", "mode", "==", "SFmode", ")", "load_string", "=", "\"lfs\"", ";", "else", "if", "(", "mode", "==", "DFmode", "||", "mode", "==", "DImode", ")", "load_string", "=", "\"lfd\"", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "else", "if", "(", "ALTIVEC_REGNO_P", "(", "r", ")", "&&", "TARGET_P9_DFORM_SCALAR", ")", "{", "if", "(", "mode", "==", "SFmode", ")", "load_string", "=", "\"lxssp\"", ";", "else", "if", "(", "mode", "==", "DFmode", "||", "mode", "==", "DImode", ")", "load_string", "=", "\"lxsd\"", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "else", "if", "(", "INT_REGNO_P", "(", "r", ")", ")", "{", "switch", "(", "mode", ")", "{", "case", "QImode", ":", "load_string", "=", "\"lbz\"", ";", "break", ";", "case", "HImode", ":", "load_string", "=", "\"lhz\"", ";", "break", ";", "case", "SImode", ":", "case", "SFmode", ":", "load_string", "=", "\"lwz\"", ";", "break", ";", "case", "DImode", ":", "case", "DFmode", ":", "if", "(", "!", "TARGET_POWERPC64", ")", "gcc_unreachable", "(", ")", ";", "load_string", "=", "\"ld\"", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "fatal_insn", "(", "\"emit_fusion_p9_load, bad reg #2\"", ",", "reg", ")", ";", "if", "(", "!", "MEM_P", "(", "mem", ")", ")", "fatal_insn", "(", "\"emit_fusion_p9_load not MEM\"", ",", "mem", ")", ";", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "fusion_split_address", "(", "addr", ",", "&", "hi", ",", "&", "lo", ")", ";", "emit_fusion_addis", "(", "tmp_reg", ",", "hi", ",", "\"power9 load fusion\"", ",", "GET_MODE_NAME", "(", "mode", ")", ")", ";", "emit_fusion_load_store", "(", "reg", ",", "tmp_reg", ",", "lo", ",", "load_string", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Return", "a", "string", "to", "fuse", "an", "addis", "instruction", "with", "a", "load", "using", "extended", "fusion", ".", "The", "address", "that", "is", "used", "is", "the", "logical", "address", "that", "was", "formed", "during", "peephole2", ":", "(", "lo_sum", "(", "high", ")", "(", "low-part", ")", ")", "The", "code", "is", "complicated", ",", "so", "we", "call", "output_asm_insn", "directly", ",", "and", "just", "return", "``", "''", "."], "TS_V_token": ["rs6000", "0", "0", "\"emit_fusion_p9_load, bad reg #1\"", "\"lfs\"", "\"lfd\"", "\"lxssp\"", "\"lxsd\"", "\"lbz\"", "\"lhz\"", "\"lwz\"", "\"ld\"", "\"emit_fusion_p9_load, bad reg #2\"", "\"emit_fusion_p9_load not MEM\"", "0", "\"power9 load fusion\"", "\"\""], "File": "rs60006", "Func": "emit_fusion_p9_load", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20172, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCLoopPreIncPrep", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "LI", "=", "&", "getAnalysis", "<", "LoopInfoWrapperPass", ">", "(", ")", ".", "getLoopInfo", "(", ")", ";", "SE", "=", "&", "getAnalysis", "<", "ScalarEvolutionWrapperPass", ">", "(", ")", ".", "getSE", "(", ")", ";", "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"], "File": "PPCLoopPreIncPrep10", "Func": "runOnFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20173, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "xstormy16_preferred_reload_class", "(", "rtx", "x", ",", "reg_class_t", "rclass", ")", "{", "if", "(", "rclass", "==", "GENERAL_REGS", "&&", "(", "MEM_P", "(", "x", ")", "||", "GET_CODE", "(", "x", ")", "==", "POST_INC", "||", "GET_CODE", "(", "x", ")", "==", "PRE_DEC", "||", "GET_CODE", "(", "x", ")", "==", "PRE_MODIFY", ")", ")", "return", "EIGHT_REGS", ";", "return", "rclass", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_PREFERRED_RELOAD_CLASS", "and", "TARGET_PREFERRED_OUTPUT_RELOAD_CLASS", "."], "TS_V_token": ["stormy16"], "File": "stormy16", "Func": "xstormy16_preferred_reload_class", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20174, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "TOYDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "llvm_unreachable", "(", "\"getGlobalBaseReg not implemented yet!\\n\"", ")", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["TOY", "TOY", "\"getGlobalBaseReg not implemented yet!\\n\""], "File": "TOYISelDAGToDAG", "Func": "getGlobalBaseReg", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20175, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mep_frame_expr", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "note", ",", "expr", ";", "note", "=", "find_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "0", ")", ";", "expr", "=", "(", "note", "!=", "0", "?", "XEXP", "(", "note", ",", "0", ")", ":", "copy_rtx", "(", "PATTERN", "(", "insn", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "expr", ")", "=", "1", ";", "return", "expr", ";", "}", ""], "natrual_language": ["Return", "the", "effect", "of", "frame-related", "instruction", "INSN", "."], "TS_V_token": ["mep", "0", "0", "0", "1"], "File": "mep", "Func": "mep_frame_expr", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20176, "Length": 59, "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": 20177, "Length": 494, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcTargetMachine", "::", "SparcTargetMachine", "(", "const", "Target", "&", "T", ",", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "is64bit", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ")", ",", "Subtarget", "(", "TT", ",", "FS", ",", "is64bit", ")", ",", "DataLayout", "(", "Subtarget", ".", "getDataLayout", "(", ")", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "InstrInfo", "(", "Subtarget", ")", ",", "FrameInfo", "(", "TargetFrameInfo", "::", "StackGrowsDown", ",", "8", ",", "0", ")", "{", "}", ""], "natrual_language": ["Create", "an", "ILP32", "architecture", "model", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "8", "0"], "File": "SparcTargetMachine5", "Func": "SparcTargetMachine", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20178, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMBaseTargetMachine", "::", "ARMBaseTargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "JITInfo", "(", ")", ",", "InstrItins", "(", "Subtarget", ".", "getInstrItineraryData", "(", ")", ")", "{", "if", "(", "FloatABIType", "==", "FloatABI", "::", "Default", ")", "FloatABIType", "=", "FloatABI", "::", "Soft", ";", "}", ""], "natrual_language": ["Create", "an", "ARM", "architecture", "model", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMTargetMachine89", "Func": "ARMBaseTargetMachine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20179, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "pru_arg_partial_bytes", "(", "cumulative_args_t", ",", "const", "function_arg_info", "&", ")", "{", "return", "0", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ARG_PARTIAL_BYTES", ".", "PRU", "never", "splits", "any", "arguments", "between", "registers", "and", "memory", ",", "so", "we", "can", "return", "0", "."], "TS_V_token": ["pru", "0"], "File": "pru", "Func": "pru_arg_partial_bytes", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20180, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "loongarch_symbol_insns", "(", "enum", "loongarch_symbol_type", "type", ",", "machine_mode", "mode", ")", "{", "switch", "(", "type", ")", "{", "case", "SYMBOL_GOT_DISP", ":", "if", "(", "!", "TARGET_EXPLICIT_RELOCS", "&&", "mode", "!=", "MAX_MACHINE_MODE", ")", "return", "0", ";", "return", "3", ";", "case", "SYMBOL_PCREL", ":", "case", "SYMBOL_TLS_IE", ":", "case", "SYMBOL_TLS_LE", ":", "return", "2", ";", "case", "SYMBOL_TLSGD", ":", "case", "SYMBOL_TLSLDM", ":", "return", "3", ";", "case", "SYMBOL_PCREL64", ":", "return", "5", ";", "case", "SYMBOL_TLS", ":", "return", "0", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "number", "of", "instructions", "necessary", "to", "reference", "a", "symbol", "."], "TS_V_token": ["loongarch", "0", "3", "2", "3", "5", "0"], "File": "loongarch1", "Func": "loongarch_symbol_insns", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20181, "Length": 74, "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", ";", "HasVectorPackedDecimalEnhancement2", "=", "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": "SystemZSubtarget19", "Func": "initializeSubtargetDependencies", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20182, "Length": 79, "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", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "Entry", "->", "begin", "(", ")", ";", "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!\"", ")", ";", "Register", "NewVR", "=", "MRI", "->", "createVirtualRegister", "(", "RC", ")", ";", "assert", "(", "Entry", "->", "getParent", "(", ")", "->", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "NoUnwind", ")", "&&", "\"Function should be nounwind in insertCopiesSplitCSR!\"", ")", ";", "Entry", "->", "addLiveIn", "(", "*", "I", ")", ";", "BuildMI", "(", "*", "Entry", ",", "MBBI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "NewVR", ")", ".", "addReg", "(", "*", "I", ")", ";", "for", "(", "auto", "*", "Exit", ":", "Exits", ")", "BuildMI", "(", "*", "Exit", ",", "Exit", "->", "getFirstTerminator", "(", ")", ",", "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)2", "Func": "insertCopiesSplitCSR", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20183, "Length": 271, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmPrinter", "::", "emitStartOfAsmFile", "(", "Module", "&", "M", ")", "{", "const", "Triple", "&", "TT", "=", "TM", ".", "getTargetTriple", "(", ")", ";", "if", "(", "TT", ".", "isOSBinFormatELF", "(", ")", ")", "{", "unsigned", "FeatureFlagsAnd", "=", "0", ";", "if", "(", "M", ".", "getModuleFlag", "(", "\"cf-protection-branch\"", ")", ")", "FeatureFlagsAnd", "|=", "ELF", "::", "GNU_PROPERTY_X86_FEATURE_1_IBT", ";", "if", "(", "M", ".", "getModuleFlag", "(", "\"cf-protection-return\"", ")", ")", "FeatureFlagsAnd", "|=", "ELF", "::", "GNU_PROPERTY_X86_FEATURE_1_SHSTK", ";", "if", "(", "FeatureFlagsAnd", ")", "{", "if", "(", "!", "TT", ".", "isArch32Bit", "(", ")", "&&", "!", "TT", ".", "isArch64Bit", "(", ")", ")", "llvm_unreachable", "(", "\"CFProtection used on invalid architecture!\"", ")", ";", "MCSection", "*", "Cur", "=", "OutStreamer", "->", "getCurrentSectionOnly", "(", ")", ";", "MCSection", "*", "Nt", "=", "MMI", "->", "getContext", "(", ")", ".", "getELFSection", "(", "\".note.gnu.property\"", ",", "ELF", "::", "SHT_NOTE", ",", "ELF", "::", "SHF_ALLOC", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "Nt", ")", ";", "int", "WordSize", "=", "TT", ".", "isArch64Bit", "(", ")", "?", "8", ":", "4", ";", "emitAlignment", "(", "WordSize", "==", "4", "?", "Align", "(", "4", ")", ":", "Align", "(", "8", ")", ")", ";", "OutStreamer", "->", "emitIntValue", "(", "4", ",", "4", ")", ";", "OutStreamer", "->", "emitIntValue", "(", "8", "+", "WordSize", ",", "4", ")", ";", "OutStreamer", "->", "emitIntValue", "(", "ELF", "::", "NT_GNU_PROPERTY_TYPE_0", ",", "4", ")", ";", "OutStreamer", "->", "emitBytes", "(", "StringRef", "(", "\"GNU\"", ",", "4", ")", ")", ";", "OutStreamer", "->", "emitInt32", "(", "ELF", "::", "GNU_PROPERTY_X86_FEATURE_1_AND", ")", ";", "OutStreamer", "->", "emitInt32", "(", "4", ")", ";", "OutStreamer", "->", "emitInt32", "(", "FeatureFlagsAnd", ")", ";", "emitAlignment", "(", "WordSize", "==", "4", "?", "Align", "(", "4", ")", ":", "Align", "(", "8", ")", ")", ";", "OutStreamer", "->", "endSection", "(", "Nt", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "Cur", ")", ";", "}", "}", "if", "(", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "OutStreamer", "->", "SwitchSection", "(", "getObjFileLowering", "(", ")", ".", "getTextSection", "(", ")", ")", ";", "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", "(", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86", ")", "{", "Feat00Flags", "|=", "1", ";", "}", "if", "(", "M", ".", "getModuleFlag", "(", "\"cfguard\"", ")", ")", "Feat00Flags", "|=", "0x800", ";", "OutStreamer", "->", "emitSymbolAttribute", "(", "S", ",", "MCSA_Global", ")", ";", "OutStreamer", "->", "emitAssignment", "(", "S", ",", "MCConstantExpr", "::", "create", "(", "Feat00Flags", ",", "MMI", "->", "getContext", "(", ")", ")", ")", ";", "}", "OutStreamer", "->", "emitSyntaxDirective", "(", ")", ";", "bool", "is16", "=", "TT", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "CODE16", ";", "if", "(", "M", ".", "getModuleInlineAsm", "(", ")", ".", "empty", "(", ")", "&&", "is16", ")", "OutStreamer", "->", "emitAssemblerFlag", "(", "MCAF_Code16", ")", ";", "}", ""], "natrual_language": ["This", "virtual", "method", "can", "be", "overridden", "by", "targets", "that", "want", "to", "emit", "something", "at", "the", "start", "of", "their", "file", "."], "TS_V_token": ["X86", "X86", "0", "\"cf-protection-branch\"", "X86", "\"cf-protection-return\"", "X86", "\"CFProtection used on invalid architecture!\"", "\".note.gnu.property\"", "8", "4", "4", "4", "8", "4", "4", "8", "4", "4", "\"GNU\"", "4", "X86", "4", "4", "4", "8", "\"@feat.00\"", "0", "1", "\"cfguard\"", "0x800"], "File": "X86AsmPrinter10", "Func": "emitStartOfAsmFile", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20184, "Length": 446, "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": ["Mips"], "File": "MipsMCExpr", "Func": "classof", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20185, "Length": 22, "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", "(", ")", ";", "if", "(", "!", "AFI", "->", "hasStackFrame", "(", ")", ")", "{", "if", "(", "NumBytes", "!=", "0", ")", "emitSPUpdate", "(", "MBB", ",", "MBBI", ",", "TII", ",", "dl", ",", "*", "this", ",", "NumBytes", ")", ";", "}", "else", "{", "const", "unsigned", "*", "CSRegs", "=", "getCalleeSavedRegs", "(", ")", ";", "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", ")", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ARM", "::", "tPOP", ")", ")", ")", ".", "addReg", "(", "ARM", "::", "R3", ")", ";", "emitSPUpdate", "(", "MBB", ",", "MBBI", ",", "TII", ",", "dl", ",", "*", "this", ",", "VARegSaveSize", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ARM", "::", "tBX_RET_vararg", ")", ")", ".", "addReg", "(", "ARM", "::", "R3", ")", ";", "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", "ARM::R3", "ARM::tBX_RET_vararg", "ARM::R3"], "File": "Thumb1RegisterInfo13", "Func": "emitEpilogue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20186, "Length": 462, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "rs6000_pltseq_template", "(", "rtx", "*", "operands", ",", "int", "which", ")", "{", "const", "char", "*", "rel64", "=", "TARGET_64BIT", "?", "\"64\"", ":", "\"\"", ";", "char", "tls", "[", "30", "]", ";", "tls", "[", "0", "]", "=", "0", ";", "if", "(", "GET_CODE", "(", "operands", "[", "3", "]", ")", "==", "UNSPEC", ")", "{", "char", "off", "=", "which", "==", "RS6000_PLTSEQ_PLT_PCREL34", "?", "'8'", ":", "'4'", ";", "if", "(", "XINT", "(", "operands", "[", "3", "]", ",", "1", ")", "==", "UNSPEC_TLSGD", ")", "sprintf", "(", "tls", ",", "\".reloc .-%c,R_PPC%s_TLSGD,%%3\\n\\t\"", ",", "off", ",", "rel64", ")", ";", "else", "if", "(", "XINT", "(", "operands", "[", "3", "]", ",", "1", ")", "==", "UNSPEC_TLSLD", ")", "sprintf", "(", "tls", ",", "\".reloc .-%c,R_PPC%s_TLSLD,%%&\\n\\t\"", ",", "off", ",", "rel64", ")", ";", "}", "gcc_assert", "(", "DEFAULT_ABI", "==", "ABI_ELFv2", "||", "DEFAULT_ABI", "==", "ABI_V4", ")", ";", "static", "char", "str", "[", "96", "]", ";", "char", "off", "=", "WORDS_BIG_ENDIAN", "?", "'2'", ":", "'4'", ";", "const", "char", "*", "addend", "=", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "TARGET_SECURE_PLT", "&&", "flag_pic", "==", "2", "?", "\"+32768\"", ":", "\"\"", ")", ";", "switch", "(", "which", ")", "{", "case", "RS6000_PLTSEQ_TOCSAVE", ":", "sprintf", "(", "str", ",", "\"st%s\\n\\t\"", "\"%s.reloc .-4,R_PPC%s_PLTSEQ,%%z2\"", ",", "TARGET_64BIT", "?", "\"d 2,24(1)\"", ":", "\"w 2,12(1)\"", ",", "tls", ",", "rel64", ")", ";", "break", ";", "case", "RS6000_PLTSEQ_PLT16_HA", ":", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "!", "flag_pic", ")", "sprintf", "(", "str", ",", "\"lis %%0,0\\n\\t\"", "\"%s.reloc .-%c,R_PPC%s_PLT16_HA,%%z2\"", ",", "tls", ",", "off", ",", "rel64", ")", ";", "else", "sprintf", "(", "str", ",", "\"addis %%0,%%1,0\\n\\t\"", "\"%s.reloc .-%c,R_PPC%s_PLT16_HA,%%z2%s\"", ",", "tls", ",", "off", ",", "rel64", ",", "addend", ")", ";", "break", ";", "case", "RS6000_PLTSEQ_PLT16_LO", ":", "sprintf", "(", "str", ",", "\"l%s %%0,0(%%1)\\n\\t\"", "\"%s.reloc .-%c,R_PPC%s_PLT16_LO%s,%%z2%s\"", ",", "TARGET_64BIT", "?", "\"d\"", ":", "\"wz\"", ",", "tls", ",", "off", ",", "rel64", ",", "TARGET_64BIT", "?", "\"_DS\"", ":", "\"\"", ",", "addend", ")", ";", "break", ";", "case", "RS6000_PLTSEQ_MTCTR", ":", "sprintf", "(", "str", ",", "\"mtctr %%1\\n\\t\"", "\"%s.reloc .-4,R_PPC%s_PLTSEQ,%%z2%s\"", ",", "tls", ",", "rel64", ",", "addend", ")", ";", "break", ";", "case", "RS6000_PLTSEQ_PLT_PCREL34", ":", "sprintf", "(", "str", ",", "\"pl%s %%0,0(0),1\\n\\t\"", "\"%s.reloc .-8,R_PPC%s_PLT_PCREL34_NOTOC,%%z2\"", ",", "TARGET_64BIT", "?", "\"d\"", ":", "\"wz\"", ",", "tls", ",", "rel64", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "str", ";", "}", ""], "natrual_language": ["Output", "indirect", "call", "insns", ".", "WHICH", "is", "0", "for", "tocsave", ",", "1", "for", "plt16_ha", ",", "2", "for", "plt16_lo", ",", "3", "for", "mtctr", "."], "TS_V_token": ["rs6000", "\"64\"", "\"\"", "30", "0", "0", "3", "3", "1", "\".reloc .-%c,R_PPC%s_TLSGD,%%3\\n\\t\"", "3", "1", "\".reloc .-%c,R_PPC%s_TLSLD,%%&\\n\\t\"", "96", "2", "\"+32768\"", "\"\"", "\"st%s\\n\\t\"", "\"%s.reloc .-4,R_PPC%s_PLTSEQ,%%z2\"", "\"d 2,24(1)\"", "\"w 2,12(1)\"", "\"lis %%0,0\\n\\t\"", "\"%s.reloc .-%c,R_PPC%s_PLT16_HA,%%z2\"", "\"addis %%0,%%1,0\\n\\t\"", "\"%s.reloc .-%c,R_PPC%s_PLT16_HA,%%z2%s\"", "\"l%s %%0,0(%%1)\\n\\t\"", "\"%s.reloc .-%c,R_PPC%s_PLT16_LO%s,%%z2%s\"", "\"d\"", "\"wz\"", "\"_DS\"", "\"\"", "\"mtctr %%1\\n\\t\"", "\"%s.reloc .-4,R_PPC%s_PLTSEQ,%%z2%s\"", "\"pl%s %%0,0(0),1\\n\\t\"", "\"%s.reloc .-8,R_PPC%s_PLT_PCREL34_NOTOC,%%z2\"", "\"d\"", "\"wz\""], "File": "rs6000", "Func": "rs6000_pltseq_template", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20187, "Length": 320, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_function_value_regno_p", "(", "const", "unsigned", "int", "regno", ")", "{", "if", "(", "regno", "==", "GP_RETURN", "||", "regno", "==", "FP_RETURN", "||", "(", "FP_RETURN", "!=", "GP_RETURN", "&&", "regno", "==", "FP_RETURN", "+", "2", ")", ")", "return", "true", ";", "if", "(", "(", "mips_abi", "==", "ABI_32", "&&", "TARGET_FLOAT32", ")", "&&", "FP_RETURN", "!=", "GP_RETURN", "&&", "(", "regno", "==", "FP_RETURN", "+", "1", "||", "regno", "==", "FP_RETURN", "+", "3", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_VALUE_REGNO_P", ".", "On", "the", "MIPS", ",", "R2", "R3", "and", "F0", "F2", "are", "the", "only", "register", "thus", "used", "."], "TS_V_token": ["mips", "2", "1", "3"], "File": "mips", "Func": "mips_function_value_regno_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20188, "Length": 70, "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", "{", "Value", "=", "adjustFixupValue", "(", "Fixup", ".", "getKind", "(", ")", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "4", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittleEndian", "?", "i", ":", "3", "-", "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": ["Sparc", "0", "4", "3", "8", "0xff"], "File": "SparcAsmBackend1", "Func": "applyFixup", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20189, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "rs6000_c_mode_for_suffix", "(", "char", "suffix", ")", "{", "if", "(", "TARGET_FLOAT128_TYPE", ")", "{", "if", "(", "suffix", "==", "'q'", "||", "suffix", "==", "'Q'", ")", "return", "(", "FLOAT128_IEEE_P", "(", "TFmode", ")", ")", "?", "TFmode", ":", "KFmode", ";", "}", "return", "VOIDmode", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "c_mode_for_suffix", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_c_mode_for_suffix", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20190, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0AsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "if", "(", "MI", "->", "isDebugValue", "(", ")", ")", "{", "SmallString", "<", "128", ">", "Str", ";", "raw_svector_ostream", "OS", "(", "Str", ")", ";", "PrintDebugValueComment", "(", "MI", ",", "OS", ")", ";", "return", ";", "}", "MCInst", "TmpInst0", ";", "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": ["Cpu0", "Cpu0", "128"], "File": "Cpu0AsmPrinter2", "Func": "EmitInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20191, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "fusion_p9_p", "(", "rtx", "addis_reg", ",", "rtx", "addis_value", ",", "rtx", "dest", ",", "rtx", "src", ")", "{", "rtx", "addr", ",", "mem", ",", "offset", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "src", ")", ";", "if", "(", "!", "base_reg_operand", "(", "addis_reg", ",", "GET_MODE", "(", "addis_reg", ")", ")", ")", "return", "false", ";", "if", "(", "!", "fusion_gpr_addis", "(", "addis_value", ",", "GET_MODE", "(", "addis_value", ")", ")", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "src", ")", "==", "FLOAT_EXTEND", "||", "GET_CODE", "(", "src", ")", "==", "ZERO_EXTEND", ")", "src", "=", "XEXP", "(", "src", ",", "0", ")", ";", "if", "(", "fpr_reg_operand", "(", "src", ",", "mode", ")", "||", "int_reg_operand", "(", "src", ",", "mode", ")", ")", "{", "if", "(", "!", "MEM_P", "(", "dest", ")", ")", "return", "false", ";", "mem", "=", "dest", ";", "}", "else", "if", "(", "MEM_P", "(", "src", ")", ")", "{", "if", "(", "!", "fpr_reg_operand", "(", "dest", ",", "mode", ")", "&&", "!", "int_reg_operand", "(", "dest", ",", "mode", ")", ")", "return", "false", ";", "mem", "=", "src", ";", "}", "else", "return", "false", ";", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", ")", "{", "if", "(", "!", "rtx_equal_p", "(", "addis_reg", ",", "XEXP", "(", "addr", ",", "0", ")", ")", ")", "return", "false", ";", "return", "satisfies_constraint_I", "(", "XEXP", "(", "addr", ",", "1", ")", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "addr", ")", "==", "LO_SUM", ")", "{", "if", "(", "!", "rtx_equal_p", "(", "addis_reg", ",", "XEXP", "(", "addr", ",", "0", ")", ")", ")", "return", "false", ";", "offset", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "if", "(", "TARGET_XCOFF", "||", "(", "TARGET_ELF", "&&", "TARGET_POWERPC64", ")", ")", "return", "small_toc_ref", "(", "offset", ",", "GET_MODE", "(", "offset", ")", ")", ";", "else", "if", "(", "TARGET_ELF", "&&", "!", "TARGET_POWERPC64", ")", "return", "CONSTANT_P", "(", "offset", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "peephole2", "can", "combine", "a", "load/store", "involving", "a", "combination", "of", "an", "addis", "instruction", "and", "the", "memory", "operation", ".", "This", "was", "added", "to", "the", "ISA", "3.0", "(", "power9", ")", "hardware", "."], "TS_V_token": ["powerpcspe", "0", "0", "0", "1", "0", "1"], "File": "powerpcspe", "Func": "fusion_p9_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20192, "Length": 287, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "AARCH64_ADVSIMD_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64"], "File": "AArch64AdvSIMDScalarPass", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20193, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMem", "(", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["AArch64"], "File": "AArch64AsmParser13", "Func": "isMem", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20194, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "addPreEmitPass", "(", ")", "{", "bool", "ShouldPrint", "=", "false", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "getX86Subtarget", "(", ")", ".", "hasSSE2", "(", ")", ")", "{", "addPass", "(", "createExecutionDependencyFixPass", "(", "&", "X86", "::", "VR128RegClass", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "if", "(", "getX86Subtarget", "(", ")", ".", "hasAVX", "(", ")", "&&", "UseVZeroUpper", ")", "{", "addPass", "(", "createX86IssueVZeroUpperPass", "(", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "getX86Subtarget", "(", ")", ".", "padShortFunctions", "(", ")", ")", "{", "addPass", "(", "createX86PadShortFunctions", "(", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "getX86Subtarget", "(", ")", ".", "LEAusesAG", "(", ")", ")", "{", "addPass", "(", "createX86FixupLEAs", "(", ")", ")", ";", "ShouldPrint", "=", "true", ";", "}", "return", "ShouldPrint", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["X86", "X86", "X86", "X86::VR128RegClass", "X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86TargetMachine1", "Func": "addPreEmitPass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20195, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_libgcc_floating_mode_supported_p", "(", "scalar_float_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_SFmode", ":", "case", "E_DFmode", ":", "case", "E_TFmode", ":", "return", "true", ";", "case", "E_KFmode", ":", "return", "TARGET_FLOAT128_TYPE", "&&", "!", "TARGET_IEEEQUAD", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Target", "hook", "for", "libgcc_floating_mode_supported_p", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_libgcc_floating_mode_supported_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20196, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_start_ll_sc_sync_block", "(", "void", ")", "{", "if", "(", "!", "ISA_HAS_LL_SC", ")", "{", "output_asm_insn", "(", "\".set\\tpush\"", ",", "0", ")", ";", "if", "(", "TARGET_64BIT", ")", "output_asm_insn", "(", "\".set\\tmips3\"", ",", "0", ")", ";", "else", "output_asm_insn", "(", "\".set\\tmips2\"", ",", "0", ")", ";", "}", "}", ""], "natrual_language": ["Start", "a", "block", "of", "code", "that", "needs", "access", "to", "the", "LL", ",", "SC", "and", "SYNC", "instructions", "."], "TS_V_token": ["mips", "\".set\\tpush\"", "0", "\".set\\tmips3\"", "0", "\".set\\tmips2\"", "0"], "File": "mips", "Func": "mips_start_ll_sc_sync_block", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20197, "Length": 41, "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", "=", "aarch64_reg_save_mode", "(", "regno1", ")", ";", "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": "aarch64", "Func": "aarch64_push_regs", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20198, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "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", ")", "{", "unsigned", "StackAlign", "=", "getStackAlignment", "(", ")", ";", "Amount", "=", "alignTo", "(", "Amount", ",", "StackAlign", ")", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "Function", "*", "Fn", "=", "MF", ".", "getFunction", "(", ")", ";", "bool", "WindowsCFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", "->", "usesWindowsCFI", "(", ")", ";", "bool", "DwarfCFI", "=", "!", "WindowsCFI", "&&", "(", "MMI", ".", "hasDebugInfo", "(", ")", "||", "Fn", "->", "needsUnwindTableEntry", "(", ")", ")", ";", "bool", "HasDwarfEHHandlers", "=", "!", "WindowsCFI", "&&", "!", "MF", ".", "getMMI", "(", ")", ".", "getLandingPads", "(", ")", ".", "empty", "(", ")", ";", "if", "(", "HasDwarfEHHandlers", "&&", "!", "isDestroy", "&&", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "getHasPushSequences", "(", ")", ")", "BuildCFI", "(", "MBB", ",", "I", ",", "DL", ",", "MCCFIInstruction", "::", "createGnuArgsSize", "(", "nullptr", ",", "Amount", ")", ")", ";", "if", "(", "Amount", "==", "0", ")", "return", "I", ";", "Amount", "-=", "InternalAmt", ";", "if", "(", "isDestroy", "&&", "InternalAmt", "&&", "DwarfCFI", "&&", "!", "hasFP", "(", "MF", ")", ")", "BuildCFI", "(", "MBB", ",", "I", ",", "DL", ",", "MCCFIInstruction", "::", "createAdjustCfaOffset", "(", "nullptr", ",", "-", "InternalAmt", ")", ")", ";", "int64_t", "StackAdjustment", "=", "isDestroy", "?", "Amount", ":", "-", "Amount", ";", "int64_t", "CfaAdjustment", "=", "-", "StackAdjustment", ";", "if", "(", "StackAdjustment", ")", "{", "StackAdjustment", "+=", "mergeSPUpdates", "(", "MBB", ",", "I", ",", "true", ")", ";", "StackAdjustment", "+=", "mergeSPUpdates", "(", "MBB", ",", "I", ",", "false", ")", ";", "if", "(", "StackAdjustment", ")", "{", "if", "(", "!", "(", "Fn", "->", "optForMinSize", "(", ")", "&&", "adjustStackWithPops", "(", "MBB", ",", "I", ",", "DL", ",", "StackAdjustment", ")", ")", ")", "BuildStackAdjustment", "(", "MBB", ",", "I", ",", "DL", ",", "StackAdjustment", ",", "false", ")", ";", "}", "}", "if", "(", "DwarfCFI", "&&", "!", "hasFP", "(", "MF", ")", ")", "{", "if", "(", "CfaAdjustment", ")", "{", "BuildCFI", "(", "MBB", ",", "I", ",", "DL", ",", "MCCFIInstruction", "::", "createAdjustCfaOffset", "(", "nullptr", ",", "CfaAdjustment", ")", ")", ";", "}", "}", "return", "I", ";", "}", "if", "(", "isDestroy", "&&", "InternalAmt", ")", "{", "MachineBasicBlock", "::", "iterator", "CI", "=", "I", ";", "MachineBasicBlock", "::", "iterator", "B", "=", "MBB", ".", "begin", "(", ")", ";", "while", "(", "CI", "!=", "B", "&&", "!", "std", "::", "prev", "(", "CI", ")", "->", "isCall", "(", ")", ")", "--", "CI", ";", "BuildStackAdjustment", "(", "MBB", ",", "CI", ",", "DL", ",", "-", "InternalAmt", ",", "false", ")", ";", "}", "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": ["X86", "X86", "0", "0", "1", "0", "X86", "0"], "File": "X86FrameLowering102", "Func": "eliminateCallFramePseudoInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20199, "Length": 484, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "TeeRISCTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "assert", "(", "0", "&&", "\"LowerOperation() is Not implemented\"", ")", ";", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["TeeRISC", "TeeRISC", "0", "\"LowerOperation() is Not implemented\""], "File": "TeeRISCISelLowering", "Func": "LowerOperation", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20200, "Length": 27, "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", "getPPCRegisterNumbering", "(", "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": "PPCCodeEmitter20", "Func": "getMachineOpValue", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20201, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_setup_incoming_varargs", "(", "cumulative_args_t", "ca", ",", "machine_mode", "mode", ",", "tree", "type", ",", "int", "*", "pretend_args_size", ",", "int", "second_time", "ATTRIBUTE_UNUSED", ")", "{", "unsigned", "int", "total_args_regs", ";", "unsigned", "int", "num_of_used_regs", ";", "unsigned", "int", "remaining_reg_count", ";", "CUMULATIVE_ARGS", "*", "cum", ";", "if", "(", "TARGET_HARD_FLOAT", ")", "return", ";", "cum", "=", "get_cumulative_args", "(", "ca", ")", ";", "total_args_regs", "=", "NDS32_MAX_GPR_REGS_FOR_ARGS", "+", "NDS32_GPR_ARG_FIRST_REGNUM", ";", "num_of_used_regs", "=", "NDS32_AVAILABLE_REGNUM_FOR_GPR_ARG", "(", "cum", "->", "gpr_offset", ",", "mode", ",", "type", ")", "+", "NDS32_NEED_N_REGS_FOR_ARG", "(", "mode", ",", "type", ")", ";", "remaining_reg_count", "=", "total_args_regs", "-", "num_of_used_regs", ";", "*", "pretend_args_size", "=", "remaining_reg_count", "*", "UNITS_PER_WORD", ";", "return", ";", "}", ""], "natrual_language": ["Implementing", "the", "Varargs", "Macros", "."], "TS_V_token": ["nds32"], "File": "nds322", "Func": "nds32_setup_incoming_varargs", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20202, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "AArch64FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "AArch64InstrInfo", "*", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "unsigned", "Opc", "=", "I", "->", "getOpcode", "(", ")", ";", "bool", "IsDestroy", "=", "Opc", "==", "TII", "->", "getCallFrameDestroyOpcode", "(", ")", ";", "uint64_t", "CalleePopAmount", "=", "IsDestroy", "?", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ":", "0", ";", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "unsigned", "Align", "=", "getStackAlignment", "(", ")", ";", "int64_t", "Amount", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "Amount", "=", "alignTo", "(", "Amount", ",", "Align", ")", ";", "if", "(", "!", "IsDestroy", ")", "Amount", "=", "-", "Amount", ";", "if", "(", "CalleePopAmount", "==", "0", ")", "{", "assert", "(", "Amount", ">", "-", "0xffffff", "&&", "Amount", "<", "0xffffff", "&&", "\"call frame too large\"", ")", ";", "emitFrameOffset", "(", "MBB", ",", "I", ",", "DL", ",", "AArch64", "::", "SP", ",", "AArch64", "::", "SP", ",", "{", "Amount", ",", "MVT", "::", "i8", "}", ",", "TII", ")", ";", "}", "}", "else", "if", "(", "CalleePopAmount", "!=", "0", ")", "{", "assert", "(", "CalleePopAmount", "<", "0xffffff", "&&", "\"call frame too large\"", ")", ";", "emitFrameOffset", "(", "MBB", ",", "I", ",", "DL", ",", "AArch64", "::", "SP", ",", "AArch64", "::", "SP", ",", "{", "-", "(", "int64_t", ")", "CalleePopAmount", ",", "MVT", "::", "i8", "}", ",", "TII", ")", ";", "}", "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": ["AArch64", "AArch64", "AArch64", "AArch64", "1", "0", "0", "0", "0xffffff", "0xffffff", "\"call frame too large\"", "AArch64::SP", "AArch64::SP", "MVT::i8", "0", "0xffffff", "\"call frame too large\"", "AArch64::SP", "AArch64::SP", "MVT::i8"], "File": "AArch64FrameLowering103", "Func": "eliminateCallFramePseudoInstr", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20203, "Length": 249, "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": 20204, "Length": 260, "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": 20205, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "TM", "=", "static_cast", "<", "const", "PPCTargetMachine", "*", ">", "(", "&", "MF", ".", "getTarget", "(", ")", ")", ";", "TII", "=", "TM", "->", "getInstrInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "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"], "File": "PPCInstrInfo85", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20206, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_xcoff_declare_function_name", "(", "FILE", "*", "file", ",", "const", "char", "*", "name", ",", "tree", "decl", ")", "{", "char", "*", "buffer", "=", "(", "char", "*", ")", "alloca", "(", "strlen", "(", "name", ")", "+", "1", ")", ";", "char", "*", "p", ";", "int", "dollar_inside", "=", "0", ";", "struct", "declare_alias_data", "data", "=", "{", "file", ",", "false", "}", ";", "strcpy", "(", "buffer", ",", "name", ")", ";", "p", "=", "strchr", "(", "buffer", ",", "'$'", ")", ";", "while", "(", "p", ")", "{", "*", "p", "=", "'_'", ";", "dollar_inside", "++", ";", "p", "=", "strchr", "(", "p", "+", "1", ",", "'$'", ")", ";", "}", "if", "(", "TREE_PUBLIC", "(", "decl", ")", ")", "{", "if", "(", "!", "RS6000_WEAK", "||", "!", "DECL_WEAK", "(", "decl", ")", ")", "{", "if", "(", "dollar_inside", ")", "{", "fprintf", "(", "file", ",", "\"\\t.rename .%s,\\\".%s\\\"\\n\"", ",", "buffer", ",", "name", ")", ";", "fprintf", "(", "file", ",", "\"\\t.rename %s,\\\"%s\\\"\\n\"", ",", "buffer", ",", "name", ")", ";", "}", "fputs", "(", "\"\\t.globl .\"", ",", "file", ")", ";", "RS6000_OUTPUT_BASENAME", "(", "file", ",", "buffer", ")", ";", "fputs", "(", "rs6000_xcoff_visibility", "(", "decl", ")", ",", "file", ")", ";", "putc", "(", "'\\n'", ",", "file", ")", ";", "}", "}", "else", "{", "if", "(", "dollar_inside", ")", "{", "fprintf", "(", "file", ",", "\"\\t.rename .%s,\\\".%s\\\"\\n\"", ",", "buffer", ",", "name", ")", ";", "fprintf", "(", "file", ",", "\"\\t.rename %s,\\\"%s\\\"\\n\"", ",", "buffer", ",", "name", ")", ";", "}", "fputs", "(", "\"\\t.lglobl .\"", ",", "file", ")", ";", "RS6000_OUTPUT_BASENAME", "(", "file", ",", "buffer", ")", ";", "putc", "(", "'\\n'", ",", "file", ")", ";", "}", "fputs", "(", "\"\\t.csect \"", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "buffer", ")", ";", "fputs", "(", "TARGET_32BIT", "?", "\"\\n\"", ":", "\",3\\n\"", ",", "file", ")", ";", "ASM_OUTPUT_LABEL", "(", "file", ",", "buffer", ")", ";", "symtab_node", "::", "get", "(", "decl", ")", "->", "call_for_symbol_and_aliases", "(", "rs6000_declare_alias", ",", "&", "data", ",", "true", ")", ";", "fputs", "(", "TARGET_32BIT", "?", "\"\\t.long .\"", ":", "\"\\t.llong .\"", ",", "file", ")", ";", "RS6000_OUTPUT_BASENAME", "(", "file", ",", "buffer", ")", ";", "fputs", "(", "\", TOC[tc0], 0\\n\"", ",", "file", ")", ";", "in_section", "=", "NULL", ";", "switch_to_section", "(", "function_section", "(", "decl", ")", ")", ";", "putc", "(", "'.'", ",", "file", ")", ";", "ASM_OUTPUT_LABEL", "(", "file", ",", "buffer", ")", ";", "data", ".", "function_descriptor", "=", "true", ";", "symtab_node", "::", "get", "(", "decl", ")", "->", "call_for_symbol_and_aliases", "(", "rs6000_declare_alias", ",", "&", "data", ",", "true", ")", ";", "if", "(", "!", "DECL_IGNORED_P", "(", "decl", ")", ")", "{", "if", "(", "dwarf_debuginfo_p", "(", ")", ")", "{", "name", "=", "(", "*", "targetm", ".", "strip_name_encoding", ")", "(", "name", ")", ";", "fprintf", "(", "file", ",", "\"\\t.function .%s,.%s,2,0\\n\"", ",", "name", ",", "name", ")", ";", "}", "}", "return", ";", "}", ""], "natrual_language": ["This", "macro", "produces", "the", "initial", "definition", "of", "a", "function", "name", ".", "On", "the", "RS/6000", ",", "we", "need", "to", "place", "an", "extra", "'", ".", "'", "in", "the", "function", "name", "and", "output", "the", "function", "descriptor", ".", "Dollar", "signs", "are", "converted", "to", "underscores", ".", "The", "csect", "for", "the", "function", "will", "have", "already", "been", "created", "when", "text_section", "was", "selected", ".", "We", "do", "have", "to", "go", "back", "to", "that", "csect", ",", "however", ".", "The", "third", "and", "fourth", "parameters", "to", "the", ".function", "pseudo-op", "(", "16", "and", "044", ")", "are", "placeholders", "which", "no", "longer", "have", "any", "use", ".", "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", "1", "0", "1", "\"\\t.rename .%s,\\\".%s\\\"\\n\"", "\"\\t.rename %s,\\\"%s\\\"\\n\"", "\"\\t.globl .\"", "\"\\t.rename .%s,\\\".%s\\\"\\n\"", "\"\\t.rename %s,\\\"%s\\\"\\n\"", "\"\\t.lglobl .\"", "\"\\t.csect \"", "\"\\n\"", "\",3\\n\"", "\"\\t.long .\"", "\"\\t.llong .\"", "\", TOC[tc0], 0\\n\"", "\"\\t.function .%s,.%s,2,0\\n\""], "File": "rs60001", "Func": "rs6000_xcoff_declare_function_name", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20207, "Length": 394, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_store_insn", "(", "rtx", "insn", ")", "{", "if", "(", "!", "insn", "||", "!", "INSN_P", "(", "insn", ")", ")", "return", "false", ";", "return", "is_store_insn1", "(", "PATTERN", "(", "insn", ")", ")", ";", "}", ""], "natrual_language": ["Determine", "if", "INSN", "stores", "to", "memory", "."], "TS_V_token": ["rs6000"], "File": "rs60003", "Func": "is_store_insn", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20208, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "rs6000_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", "(", "SImode", ",", "CA_REGNO", ")", ")", ";", "SET_HARD_REG_BIT", "(", "clobbered_regs", ",", "CA_REGNO", ")", ";", "return", "NULL", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MD_ASM_ADJUST", ".", "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": "rs60001", "Func": "rs6000_md_asm_adjust", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20209, "Length": 66, "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": 20210, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "*", "output_cbranch", "(", "rtx", "op", ",", "const", "char", "*", "label", ",", "int", "reversed", ",", "rtx", "insn", ")", "{", "static", "char", "string", "[", "64", "]", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "op", ")", ";", "rtx", "cc_reg", "=", "XEXP", "(", "op", ",", "0", ")", ";", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "cc_reg", ")", ";", "int", "cc_regno", "=", "REGNO", "(", "cc_reg", ")", "-", "CR0_REGNO", ";", "int", "need_longbranch", "=", "label", "!=", "NULL", "&&", "get_attr_length", "(", "insn", ")", "==", "8", ";", "int", "really_reversed", "=", "reversed", "^", "need_longbranch", ";", "char", "*", "s", "=", "string", ";", "const", "char", "*", "ccode", ";", "const", "char", "*", "pred", ";", "rtx", "note", ";", "validate_condition_mode", "(", "code", ",", "mode", ")", ";", "if", "(", "really_reversed", ")", "{", "if", "(", "mode", "==", "CCFPmode", ")", "code", "=", "reverse_condition_maybe_unordered", "(", "code", ")", ";", "else", "code", "=", "reverse_condition", "(", "code", ")", ";", "}", "if", "(", "(", "TARGET_E500", "&&", "!", "TARGET_FPRS", "&&", "TARGET_HARD_FLOAT", ")", "&&", "mode", "==", "CCFPmode", ")", "{", "switch", "(", "code", ")", "{", "case", "EQ", ":", "code", "=", "GT", ";", "break", ";", "case", "NE", ":", "code", "=", "UNLE", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "switch", "(", "code", ")", "{", "case", "NE", ":", "case", "LTGT", ":", "ccode", "=", "\"ne\"", ";", "break", ";", "case", "EQ", ":", "case", "UNEQ", ":", "ccode", "=", "\"eq\"", ";", "break", ";", "case", "GE", ":", "case", "GEU", ":", "ccode", "=", "\"ge\"", ";", "break", ";", "case", "GT", ":", "case", "GTU", ":", "case", "UNGT", ":", "ccode", "=", "\"gt\"", ";", "break", ";", "case", "LE", ":", "case", "LEU", ":", "ccode", "=", "\"le\"", ";", "break", ";", "case", "LT", ":", "case", "LTU", ":", "case", "UNLT", ":", "ccode", "=", "\"lt\"", ";", "break", ";", "case", "UNORDERED", ":", "ccode", "=", "\"un\"", ";", "break", ";", "case", "ORDERED", ":", "ccode", "=", "\"nu\"", ";", "break", ";", "case", "UNGE", ":", "ccode", "=", "\"nl\"", ";", "break", ";", "case", "UNLE", ":", "ccode", "=", "\"ng\"", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "pred", "=", "\"\"", ";", "note", "=", "find_reg_note", "(", "insn", ",", "REG_BR_PROB", ",", "NULL_RTX", ")", ";", "if", "(", "note", "!=", "NULL_RTX", ")", "{", "int", "prob", "=", "INTVAL", "(", "XEXP", "(", "note", ",", "0", ")", ")", "-", "REG_BR_PROB_BASE", "/", "2", ";", "if", "(", "rs6000_always_hint", "||", "abs", "(", "prob", ")", ">", "REG_BR_PROB_BASE", "/", "100", "*", "48", ")", "{", "if", "(", "abs", "(", "prob", ")", ">", "REG_BR_PROB_BASE", "/", "20", "&&", "(", "(", "prob", ">", "0", ")", "^", "need_longbranch", ")", ")", "pred", "=", "\"+\"", ";", "else", "pred", "=", "\"-\"", ";", "}", "}", "if", "(", "label", "==", "NULL", ")", "s", "+=", "sprintf", "(", "s", ",", "\"{b%sr|b%slr%s} \"", ",", "ccode", ",", "ccode", ",", "pred", ")", ";", "else", "s", "+=", "sprintf", "(", "s", ",", "\"{b%s|b%s%s} \"", ",", "ccode", ",", "ccode", ",", "pred", ")", ";", "if", "(", "reg_names", "[", "cc_regno", "+", "CR0_REGNO", "]", "[", "0", "]", "==", "'%'", ")", "*", "s", "++", "=", "'%'", ";", "s", "+=", "sprintf", "(", "s", ",", "\"%s\"", ",", "reg_names", "[", "cc_regno", "+", "CR0_REGNO", "]", ")", ";", "if", "(", "label", "!=", "NULL", ")", "{", "if", "(", "need_longbranch", ")", "s", "+=", "sprintf", "(", "s", ",", "\",$+8\\n\\tb %s\"", ",", "label", ")", ";", "else", "s", "+=", "sprintf", "(", "s", ",", "\",%s\"", ",", "label", ")", ";", "}", "return", "string", ";", "}", ""], "natrual_language": ["Output", "a", "conditional", "branch", "to", "LABEL", ".", "CODE", "is", "the", "comparison", "code", ".", "CC_MODE", "is", "the", "mode", "of", "the", "CC", "register", ".", "REVERSED", "is", "non-zero", "if", "we", "should", "reverse", "the", "sense", "of", "the", "comparison", ".", "INSN", "is", "the", "instruction", "."], "TS_V_token": ["rs6000", "64", "0", "8", "\"ne\"", "\"eq\"", "\"ge\"", "\"gt\"", "\"le\"", "\"lt\"", "\"un\"", "\"nu\"", "\"nl\"", "\"ng\"", "\"\"", "0", "2", "100", "48", "20", "0", "\"+\"", "\"-\"", "\"{b%sr|b%slr%s} \"", "\"{b%s|b%s%s} \"", "0", "\"%s\"", "\",$+8\\n\\tb %s\"", "\",%s\""], "File": "rs60003", "Func": "output_cbranch", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20211, "Length": 510, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MLxExpansion", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "TII", "=", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "Fn", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "Fn", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "Fn", ".", "getRegInfo", "(", ")", ";", "const", "ARMSubtarget", "*", "STI", "=", "&", "Fn", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "isLikeA9", "=", "STI", "->", "isLikeA9", "(", ")", "||", "STI", "->", "isSwift", "(", ")", ";", "isSwift", "=", "STI", "->", "isSwift", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "Fn", ")", "Modified", "|=", "ExpandFPMLxInstructions", "(", "MBB", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "MLxExpansionPass (2)", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20212, "Length": 116, "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": 20213, "Length": 497, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "if", "(", "SystemZ", "::", "GR128BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "copyPhysReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "RI", ".", "getSubReg", "(", "DestReg", ",", "SystemZ", "::", "subreg_h64", ")", ",", "RI", ".", "getSubReg", "(", "SrcReg", ",", "SystemZ", "::", "subreg_h64", ")", ",", "KillSrc", ")", ";", "copyPhysReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "RI", ".", "getSubReg", "(", "DestReg", ",", "SystemZ", "::", "subreg_l64", ")", ",", "RI", ".", "getSubReg", "(", "SrcReg", ",", "SystemZ", "::", "subreg_l64", ")", ",", "KillSrc", ")", ";", "return", ";", "}", "if", "(", "SystemZ", "::", "GRX32BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "emitGRX32Move", "(", "MBB", ",", "MBBI", ",", "DL", ",", "DestReg", ",", "SrcReg", ",", "SystemZ", "::", "LR", ",", "32", ",", "KillSrc", ",", "false", ")", ";", "return", ";", "}", "unsigned", "Opcode", ";", "if", "(", "SystemZ", "::", "GR64BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "LGR", ";", "else", "if", "(", "SystemZ", "::", "FP32BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "STI", ".", "hasVector", "(", ")", "?", "SystemZ", "::", "LDR32", ":", "SystemZ", "::", "LER", ";", "else", "if", "(", "SystemZ", "::", "FP64BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "LDR", ";", "else", "if", "(", "SystemZ", "::", "FP128BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "LXR", ";", "else", "if", "(", "SystemZ", "::", "VR32BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "VLR32", ";", "else", "if", "(", "SystemZ", "::", "VR64BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "VLR64", ";", "else", "if", "(", "SystemZ", "::", "VR128BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "VLR", ";", "else", "if", "(", "SystemZ", "::", "AR32BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "CPYA", ";", "else", "if", "(", "SystemZ", "::", "AR32BitRegClass", ".", "contains", "(", "DestReg", ")", "&&", "SystemZ", "::", "GR32BitRegClass", ".", "contains", "(", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "SAR", ";", "else", "if", "(", "SystemZ", "::", "GR32BitRegClass", ".", "contains", "(", "DestReg", ")", "&&", "SystemZ", "::", "AR32BitRegClass", ".", "contains", "(", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "EAR", ";", "else", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "Opcode", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ::GR128BitRegClass", "SystemZ::subreg_h64", "SystemZ::subreg_h64", "SystemZ::subreg_l64", "SystemZ::subreg_l64", "SystemZ::GRX32BitRegClass", "SystemZ::LR", "32", "SystemZ::GR64BitRegClass", "SystemZ::LGR", "SystemZ::FP32BitRegClass", "SystemZ::LDR32", "SystemZ::LER", "SystemZ::FP64BitRegClass", "SystemZ::LDR", "SystemZ::FP128BitRegClass", "SystemZ::LXR", "SystemZ::VR32BitRegClass", "SystemZ::VLR32", "SystemZ::VR64BitRegClass", "SystemZ::VLR64", "SystemZ::VR128BitRegClass", "SystemZ::VLR", "SystemZ::AR32BitRegClass", "SystemZ::CPYA", "SystemZ::AR32BitRegClass", "SystemZ::GR32BitRegClass", "SystemZ::SAR", "SystemZ::GR32BitRegClass", "SystemZ::AR32BitRegClass", "SystemZ::EAR", "\"Impossible reg-to-reg copy\""], "File": "SystemZInstrInfo24", "Func": "copyPhysReg", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20214, "Length": 412, "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", "(", "(", "Subtarget", ".", "hasAVX2", "(", ")", "||", "Domain", "<", "3", ")", "&&", "\"256-bit vector operations only available in AVX2\"", ")", ";", "table", "=", "lookupAVX2", "(", "MI", ".", "getOpcode", "(", ")", ",", "dom", ")", ";", "}", "if", "(", "!", "table", ")", "{", "table", "=", "lookupAVX512", "(", "MI", ".", "getOpcode", "(", ")", ",", "dom", ")", ";", "if", "(", "dom", "==", "3", "&&", "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\"", "3", "3", "4", "\"Cannot change domain\"", "1"], "File": "X86InstrInfo97", "Func": "setExecutionDomain", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20215, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_insert_attributes", "(", "tree", "fndecl", ",", "tree", "*", "attributes", ")", "{", "const", "char", "*", "mode", ";", "if", "(", "!", "TARGET_FLIP_THUMB", ")", "return", ";", "if", "(", "TREE_CODE", "(", "fndecl", ")", "!=", "FUNCTION_DECL", "||", "DECL_EXTERNAL", "(", "fndecl", ")", "||", "fndecl_built_in_p", "(", "fndecl", ")", "||", "DECL_ARTIFICIAL", "(", "fndecl", ")", ")", "return", ";", "if", "(", "current_function_decl", ")", "{", "mode", "=", "TARGET_THUMB", "?", "\"thumb\"", ":", "\"arm\"", ";", "add_attribute", "(", "mode", ",", "attributes", ")", ";", "return", ";", "}", "if", "(", "lookup_attribute", "(", "\"target\"", ",", "*", "attributes", ")", "!=", "NULL", ")", "return", ";", "mode", "=", "thumb_flipper", "?", "\"thumb\"", ":", "\"arm\"", ";", "add_attribute", "(", "mode", ",", "attributes", ")", ";", "thumb_flipper", "=", "!", "thumb_flipper", ";", "}", ""], "natrual_language": ["For", "testing", ".", "Insert", "thumb", "or", "arm", "modes", "alternatively", "on", "functions", "."], "TS_V_token": ["arm", "\"thumb\"", "\"arm\"", "\"target\"", "\"thumb\"", "\"arm\""], "File": "arm", "Func": "arm_insert_attributes", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20216, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_setup_reg_addr_masks", "(", "void", ")", "{", "ssize_t", "rc", ",", "reg", ",", "m", ",", "nregs", ";", "addr_mask_type", "any_addr_mask", ",", "addr_mask", ";", "for", "(", "m", "=", "0", ";", "m", "<", "NUM_MACHINE_MODES", ";", "++", "m", ")", "{", "machine_mode", "m2", "=", "(", "machine_mode", ")", "m", ";", "bool", "complex_p", "=", "false", ";", "bool", "small_int_p", "=", "(", "m2", "==", "QImode", "||", "m2", "==", "HImode", "||", "m2", "==", "SImode", ")", ";", "size_t", "msize", ";", "if", "(", "COMPLEX_MODE_P", "(", "m2", ")", ")", "{", "complex_p", "=", "true", ";", "m2", "=", "GET_MODE_INNER", "(", "m2", ")", ";", "}", "msize", "=", "GET_MODE_SIZE", "(", "m2", ")", ";", "bool", "indexed_only_p", "=", "(", "m", "==", "SDmode", "&&", "TARGET_NO_SDMODE_STACK", ")", ";", "any_addr_mask", "=", "0", ";", "for", "(", "rc", "=", "FIRST_RELOAD_REG_CLASS", ";", "rc", "<=", "LAST_RELOAD_REG_CLASS", ";", "rc", "++", ")", "{", "addr_mask", "=", "0", ";", "reg", "=", "reload_reg_map", "[", "rc", "]", ".", "reg", ";", "if", "(", "reg", ">=", "0", "&&", "rs6000_hard_regno_mode_ok_p", "[", "m", "]", "[", "reg", "]", ")", "{", "bool", "small_int_vsx_p", "=", "(", "small_int_p", "&&", "(", "rc", "==", "RELOAD_REG_FPR", "||", "rc", "==", "RELOAD_REG_VMX", ")", ")", ";", "nregs", "=", "rs6000_hard_regno_nregs", "[", "m", "]", "[", "reg", "]", ";", "addr_mask", "|=", "RELOAD_REG_VALID", ";", "if", "(", "small_int_vsx_p", ")", "addr_mask", "|=", "RELOAD_REG_INDEXED", ";", "else", "if", "(", "nregs", ">", "1", "||", "m", "==", "BLKmode", "||", "complex_p", ")", "addr_mask", "|=", "RELOAD_REG_MULTIPLE", ";", "else", "addr_mask", "|=", "RELOAD_REG_INDEXED", ";", "if", "(", "TARGET_UPDATE", "&&", "(", "rc", "==", "RELOAD_REG_GPR", "||", "rc", "==", "RELOAD_REG_FPR", ")", "&&", "msize", "<=", "8", "&&", "!", "VECTOR_MODE_P", "(", "m2", ")", "&&", "!", "FLOAT128_VECTOR_P", "(", "m2", ")", "&&", "!", "complex_p", "&&", "!", "small_int_vsx_p", "&&", "(", "m2", "!=", "DFmode", "||", "!", "TARGET_UPPER_REGS_DF", ")", "&&", "(", "m2", "!=", "SFmode", "||", "!", "TARGET_UPPER_REGS_SF", ")", "&&", "!", "(", "TARGET_E500_DOUBLE", "&&", "msize", "==", "8", ")", ")", "{", "addr_mask", "|=", "RELOAD_REG_PRE_INCDEC", ";", "switch", "(", "m", ")", "{", "default", ":", "addr_mask", "|=", "RELOAD_REG_PRE_MODIFY", ";", "break", ";", "case", "DImode", ":", "if", "(", "TARGET_POWERPC64", ")", "addr_mask", "|=", "RELOAD_REG_PRE_MODIFY", ";", "break", ";", "case", "DFmode", ":", "case", "DDmode", ":", "if", "(", "TARGET_DF_INSN", ")", "addr_mask", "|=", "RELOAD_REG_PRE_MODIFY", ";", "break", ";", "}", "}", "}", "if", "(", "(", "addr_mask", "!=", "0", ")", "&&", "!", "indexed_only_p", "&&", "msize", "<=", "8", "&&", "(", "rc", "==", "RELOAD_REG_GPR", "||", "(", "(", "msize", "==", "8", "||", "m2", "==", "SFmode", ")", "&&", "(", "rc", "==", "RELOAD_REG_FPR", "||", "(", "rc", "==", "RELOAD_REG_VMX", "&&", "TARGET_P9_DFORM_SCALAR", ")", ")", ")", ")", ")", "addr_mask", "|=", "RELOAD_REG_OFFSET", ";", "else", "if", "(", "(", "addr_mask", "!=", "0", ")", "&&", "!", "indexed_only_p", "&&", "msize", "==", "16", "&&", "TARGET_P9_DFORM_VECTOR", "&&", "(", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "m2", ")", "||", "(", "m2", "==", "TImode", "&&", "TARGET_VSX_TIMODE", ")", ")", ")", "{", "addr_mask", "|=", "RELOAD_REG_OFFSET", ";", "if", "(", "rc", "==", "RELOAD_REG_FPR", "||", "rc", "==", "RELOAD_REG_VMX", ")", "addr_mask", "|=", "RELOAD_REG_QUAD_OFFSET", ";", "}", "if", "(", "rc", "==", "RELOAD_REG_VMX", "&&", "msize", "==", "16", "&&", "(", "addr_mask", "&", "RELOAD_REG_VALID", ")", "!=", "0", ")", "addr_mask", "|=", "RELOAD_REG_AND_M16", ";", "reg_addr", "[", "m", "]", ".", "addr_mask", "[", "rc", "]", "=", "addr_mask", ";", "any_addr_mask", "|=", "addr_mask", ";", "}", "reg_addr", "[", "m", "]", ".", "addr_mask", "[", "RELOAD_REG_ANY", "]", "=", "any_addr_mask", ";", "}", "}", ""], "natrual_language": ["Update", "the", "addr", "mask", "bits", "in", "reg_addr", "to", "help", "secondary", "reload", "and", "go", "if", "legitimate", "address", "support", "to", "figure", "out", "the", "appropriate", "addressing", "to", "use", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "1", "8", "8", "0", "8", "8", "0", "16", "16", "0"], "File": "rs60006", "Func": "rs6000_setup_reg_addr_masks", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20217, "Length": 483, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "nds32_md_asm_adjust", "(", "vec", "<", "rtx", ">", "&", "outputs", "ATTRIBUTE_UNUSED", ",", "vec", "<", "rtx", ">", "&", "inputs", "ATTRIBUTE_UNUSED", ",", "vec", "<", "const", "char", "*", ">", "&", "constraints", "ATTRIBUTE_UNUSED", ",", "vec", "<", "rtx", ">", "&", "clobbers", ",", "HARD_REG_SET", "&", "clobbered_regs", ")", "{", "clobbers", ".", "safe_push", "(", "gen_rtx_REG", "(", "SImode", ",", "TA_REGNUM", ")", ")", ";", "SET_HARD_REG_BIT", "(", "clobbered_regs", ",", "TA_REGNUM", ")", ";", "return", "NULL", ";", "}", ""], "natrual_language": ["Miscellaneous", "Parameters", "."], "TS_V_token": ["nds32"], "File": "nds325", "Func": "nds32_md_asm_adjust", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20218, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_gpr_tls_address_pattern_p", "(", "rtx", "mem", ")", "{", "gcc_assert", "(", "MEM_P", "(", "mem", ")", ")", ";", "rtx", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "subrtx_var_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX_VAR", "(", "iter", ",", "array", ",", "addr", ",", "ALL", ")", "{", "rtx", "op", "=", "*", "iter", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "UNSPEC", ")", "switch", "(", "XINT", "(", "op", ",", "1", ")", ")", "{", "case", "UNSPEC_GOTNTPOFF", ":", "return", "true", ";", "case", "UNSPEC_TPOFF", ":", "if", "(", "!", "TARGET_64BIT", ")", "return", "true", ";", "break", ";", "default", ":", "break", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "TLS", "address", "requires", "insn", "using", "integer", "registers", ".", "It", "'s", "used", "to", "prevent", "KMOV/VMOV", "in", "TLS", "code", "sequences", "which", "require", "integer", "MOV", "instructions", ",", "refer", "to", "PR103275", "."], "TS_V_token": ["i386", "0", "1"], "File": "i386", "Func": "ix86_gpr_tls_address_pattern_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20219, "Length": 95, "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", "::", "TailCall", ":", "return", "\"MipsISD::TailCall\"", ";", "case", "MipsISD", "::", "Hi", ":", "return", "\"MipsISD::Hi\"", ";", "case", "MipsISD", "::", "Lo", ":", "return", "\"MipsISD::Lo\"", ";", "case", "MipsISD", "::", "GPRel", ":", "return", "\"MipsISD::GPRel\"", ";", "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", "::", "Wrapper", ":", "return", "\"MipsISD::Wrapper\"", ";", "case", "MipsISD", "::", "DynAlloc", ":", "return", "\"MipsISD::DynAlloc\"", ";", "case", "MipsISD", "::", "Sync", ":", "return", "\"MipsISD::Sync\"", ";", "case", "MipsISD", "::", "Ext", ":", "return", "\"MipsISD::Ext\"", ";", "case", "MipsISD", "::", "Ins", ":", "return", "\"MipsISD::Ins\"", ";", "case", "MipsISD", "::", "LWL", ":", "return", "\"MipsISD::LWL\"", ";", "case", "MipsISD", "::", "LWR", ":", "return", "\"MipsISD::LWR\"", ";", "case", "MipsISD", "::", "SWL", ":", "return", "\"MipsISD::SWL\"", ";", "case", "MipsISD", "::", "SWR", ":", "return", "\"MipsISD::SWR\"", ";", "case", "MipsISD", "::", "LDL", ":", "return", "\"MipsISD::LDL\"", ";", "case", "MipsISD", "::", "LDR", ":", "return", "\"MipsISD::LDR\"", ";", "case", "MipsISD", "::", "SDL", ":", "return", "\"MipsISD::SDL\"", ";", "case", "MipsISD", "::", "SDR", ":", "return", "\"MipsISD::SDR\"", ";", "case", "MipsISD", "::", "EXTP", ":", "return", "\"MipsISD::EXTP\"", ";", "case", "MipsISD", "::", "EXTPDP", ":", "return", "\"MipsISD::EXTPDP\"", ";", "case", "MipsISD", "::", "EXTR_S_H", ":", "return", "\"MipsISD::EXTR_S_H\"", ";", "case", "MipsISD", "::", "EXTR_W", ":", "return", "\"MipsISD::EXTR_W\"", ";", "case", "MipsISD", "::", "EXTR_R_W", ":", "return", "\"MipsISD::EXTR_R_W\"", ";", "case", "MipsISD", "::", "EXTR_RS_W", ":", "return", "\"MipsISD::EXTR_RS_W\"", ";", "case", "MipsISD", "::", "SHILO", ":", "return", "\"MipsISD::SHILO\"", ";", "case", "MipsISD", "::", "MTHLIP", ":", "return", "\"MipsISD::MTHLIP\"", ";", "case", "MipsISD", "::", "MULT", ":", "return", "\"MipsISD::MULT\"", ";", "case", "MipsISD", "::", "MULTU", ":", "return", "\"MipsISD::MULTU\"", ";", "case", "MipsISD", "::", "MADD_DSP", ":", "return", "\"MipsISD::MADD_DSPDSP\"", ";", "case", "MipsISD", "::", "MADDU_DSP", ":", "return", "\"MipsISD::MADDU_DSP\"", ";", "case", "MipsISD", "::", "MSUB_DSP", ":", "return", "\"MipsISD::MSUB_DSP\"", ";", "case", "MipsISD", "::", "MSUBU_DSP", ":", "return", "\"MipsISD::MSUBU_DSP\"", ";", "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::TailCall", "\"MipsISD::TailCall\"", "MipsISD::Hi", "\"MipsISD::Hi\"", "MipsISD::Lo", "\"MipsISD::Lo\"", "MipsISD::GPRel", "\"MipsISD::GPRel\"", "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::Wrapper", "\"MipsISD::Wrapper\"", "MipsISD::DynAlloc", "\"MipsISD::DynAlloc\"", "MipsISD::Sync", "\"MipsISD::Sync\"", "MipsISD::Ext", "\"MipsISD::Ext\"", "MipsISD::Ins", "\"MipsISD::Ins\"", "MipsISD::LWL", "\"MipsISD::LWL\"", "MipsISD::LWR", "\"MipsISD::LWR\"", "MipsISD::SWL", "\"MipsISD::SWL\"", "MipsISD::SWR", "\"MipsISD::SWR\"", "MipsISD::LDL", "\"MipsISD::LDL\"", "MipsISD::LDR", "\"MipsISD::LDR\"", "MipsISD::SDL", "\"MipsISD::SDL\"", "MipsISD::SDR", "\"MipsISD::SDR\"", "MipsISD::EXTP", "\"MipsISD::EXTP\"", "MipsISD::EXTPDP", "\"MipsISD::EXTPDP\"", "MipsISD::EXTR_S_H", "\"MipsISD::EXTR_S_H\"", "MipsISD::EXTR_W", "\"MipsISD::EXTR_W\"", "MipsISD::EXTR_R_W", "\"MipsISD::EXTR_R_W\"", "MipsISD::EXTR_RS_W", "\"MipsISD::EXTR_RS_W\"", "MipsISD::SHILO", "\"MipsISD::SHILO\"", "MipsISD::MTHLIP", "\"MipsISD::MTHLIP\"", "MipsISD::MULT", "\"MipsISD::MULT\"", "MipsISD::MULTU", "\"MipsISD::MULTU\"", "MipsISD::MADD_DSP", "\"MipsISD::MADD_DSPDSP\"", "MipsISD::MADDU_DSP", "\"MipsISD::MADDU_DSP\"", "MipsISD::MSUB_DSP", "\"MipsISD::MSUB_DSP\"", "MipsISD::MSUBU_DSP", "\"MipsISD::MSUBU_DSP\""], "File": "MipsISelLowering101", "Func": "getTargetNodeName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20220, "Length": 400, "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": ["Sparc"], "File": "SparcTargetMachine2", "Func": "getDataLayout", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20221, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "bool", "IsN64", "=", "Subtarget", ".", "isABI_N64", "(", ")", ";", "if", "(", "Subtarget", ".", "inMips16Mode", "(", ")", ")", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "Mips", "::", "S0", ":", "Mips", "::", "SP", ";", "else", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "(", "IsN64", "?", "Mips", "::", "FP_64", ":", "Mips", "::", "FP", ")", ":", "(", "IsN64", "?", "Mips", "::", "SP_64", ":", "Mips", "::", "SP", ")", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips::S0", "Mips::SP", "Mips::FP_64", "Mips::FP", "Mips::SP_64", "Mips::SP"], "File": "MipsRegisterInfo30", "Func": "getFrameRegister", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20222, "Length": 94, "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": 20223, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "LLVM_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", ")", ";", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\"FrameIndex : \"", "<<", "FrameIndex", "<<", "\"\\n\"", "<<", "\"spOffset : \"", "<<", "spOffset", "<<", "\"\\n\"", "<<", "\"stackSize : \"", "<<", "stackSize", "<<", "\"\\n\"", "<<", "\"alignment : \"", "<<", "DebugStr", "(", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectAlign", "(", "FrameIndex", ")", ")", "<<", "\"\\n\"", ")", ";", "eliminateFI", "(", "MI", ",", "FIOperandNum", ",", "FrameIndex", ",", "stackSize", ",", "spOffset", ",", "RS", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["Mips", "Mips", "\"\\nFunction : \"", "\"\\n\"", "\"<--------->\\n\"", "\"FrameIndex : \"", "\"\\n\"", "\"spOffset : \"", "\"\\n\"", "\"stackSize : \"", "\"\\n\"", "\"alignment : \"", "\"\\n\""], "File": "MipsRegisterInfo35", "Func": "eliminateFrameIndex", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20224, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "X86_64MachoTargetObjectFile", "::", "getTTypeGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "unsigned", "Encoding", ",", "Mangler", "&", "Mang", ",", "const", "TargetMachine", "&", "TM", ",", "MachineModuleInfo", "*", "MMI", ",", "MCStreamer", "&", "Streamer", ")", "const", "{", "if", "(", "Encoding", "&", "(", "DW_EH_PE_indirect", "|", "DW_EH_PE_pcrel", ")", ")", "{", "const", "MCSymbol", "*", "Sym", "=", "TM", ".", "getSymbol", "(", "GV", ",", "Mang", ")", ";", "const", "MCExpr", "*", "Res", "=", "MCSymbolRefExpr", "::", "Create", "(", "Sym", ",", "MCSymbolRefExpr", "::", "VK_GOTPCREL", ",", "getContext", "(", ")", ")", ";", "const", "MCExpr", "*", "Four", "=", "MCConstantExpr", "::", "Create", "(", "4", ",", "getContext", "(", ")", ")", ";", "return", "MCBinaryExpr", "::", "CreateAdd", "(", "Res", ",", "Four", ",", "getContext", "(", ")", ")", ";", "}", "return", "TargetLoweringObjectFileMachO", "::", "getTTypeGlobalReference", "(", "GV", ",", "Encoding", ",", "Mang", ",", "TM", ",", "MMI", ",", "Streamer", ")", ";", "}", ""], "natrual_language": ["The", "mach-o", "version", "of", "this", "method", "defaults", "to", "returning", "a", "stub", "reference", "."], "TS_V_token": ["X86", "X86", "4"], "File": "X86TargetObjectFile25", "Func": "getTTypeGlobalReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20225, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86TargetLowering", "::", "ConstraintType", "X86TargetLowering", "::", "getConstraintType", "(", "StringRef", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'R'", ":", "case", "'q'", ":", "case", "'Q'", ":", "case", "'f'", ":", "case", "'t'", ":", "case", "'u'", ":", "case", "'y'", ":", "case", "'x'", ":", "case", "'v'", ":", "case", "'Y'", ":", "case", "'l'", ":", "case", "'k'", ":", "return", "C_RegisterClass", ";", "case", "'a'", ":", "case", "'b'", ":", "case", "'c'", ":", "case", "'d'", ":", "case", "'S'", ":", "case", "'D'", ":", "case", "'A'", ":", "return", "C_Register", ";", "case", "'I'", ":", "case", "'J'", ":", "case", "'K'", ":", "case", "'N'", ":", "case", "'G'", ":", "case", "'L'", ":", "case", "'M'", ":", "return", "C_Immediate", ";", "case", "'C'", ":", "case", "'e'", ":", "case", "'Z'", ":", "return", "C_Other", ";", "default", ":", "break", ";", "}", "}", "else", "if", "(", "Constraint", ".", "size", "(", ")", "==", "2", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'Y'", ":", "switch", "(", "Constraint", "[", "1", "]", ")", "{", "default", ":", "break", ";", "case", "'z'", ":", "case", "'0'", ":", "return", "C_Register", ";", "case", "'i'", ":", "case", "'m'", ":", "case", "'k'", ":", "case", "'t'", ":", "case", "'2'", ":", "return", "C_RegisterClass", ";", "}", "}", "}", "else", "if", "(", "parseConstraintCode", "(", "Constraint", ")", "!=", "X86", "::", "COND_INVALID", ")", "return", "C_Other", ";", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "."], "TS_V_token": ["X86", "X86", "X86", "1", "0", "2", "0", "1", "X86::COND_INVALID"], "File": "X86ISelLowering (2)6", "Func": "getConstraintType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20226, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Instruction", "*", "ARMTargetLowering", "::", "emitLeadingFence", "(", "IRBuilder", "<", ">", "&", "Builder", ",", "Instruction", "*", "Inst", ",", "AtomicOrdering", "Ord", ")", "const", "{", "switch", "(", "Ord", ")", "{", "case", "AtomicOrdering", "::", "NotAtomic", ":", "case", "AtomicOrdering", "::", "Unordered", ":", "llvm_unreachable", "(", "\"Invalid fence: unordered/non-atomic\"", ")", ";", "case", "AtomicOrdering", "::", "Monotonic", ":", "case", "AtomicOrdering", "::", "Acquire", ":", "return", "nullptr", ";", "case", "AtomicOrdering", "::", "SequentiallyConsistent", ":", "if", "(", "!", "Inst", "->", "hasAtomicStore", "(", ")", ")", "return", "nullptr", ";", "case", "AtomicOrdering", "::", "Release", ":", "case", "AtomicOrdering", "::", "AcquireRelease", ":", "if", "(", "Subtarget", "->", "preferISHSTBarriers", "(", ")", ")", "return", "makeDMB", "(", "Builder", ",", "ARM_MB", "::", "ISHST", ")", ";", "else", "return", "makeDMB", "(", "Builder", ",", "ARM_MB", "::", "ISH", ")", ";", "}", "llvm_unreachable", "(", "\"Unknown fence ordering in emitLeadingFence\"", ")", ";", "}", ""], "natrual_language": ["Custom", "Lower", "{", "."], "TS_V_token": ["ARM", "ARM", "\"Invalid fence: unordered/non-atomic\"", "ARM_MB::ISHST", "ARM_MB::ISH", "\"Unknown fence ordering in emitLeadingFence\""], "File": "ARMISelLowering108", "Func": "emitLeadingFence", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20227, "Length": 117, "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": 20228, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addPreISel", "(", ")", "{", "const", "ARMSubtarget", "*", "Subtarget", "=", "&", "getARMSubtarget", "(", ")", ";", "if", "(", "Subtarget", "->", "hasAnyDataBarrier", "(", ")", "&&", "!", "Subtarget", "->", "isThumb1Only", "(", ")", ")", "addPass", "(", "createAtomicExpandLoadLinkedPass", "(", "TM", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createGlobalMergePass", "(", "TM", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "ARMTargetMachine45", "Func": "addPreISel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20229, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "::", "HazardType", "ARMHazardRecognizer", "::", "getHazardType", "(", "SUnit", "*", "SU", ")", "{", "MachineInstr", "*", "MI", "=", "SU", "->", "getInstr", "(", ")", ";", "if", "(", "!", "MI", "->", "isDebugValue", "(", ")", ")", "{", "if", "(", "ITBlockSize", "&&", "MI", "!=", "ITBlockMIs", "[", "ITBlockSize", "-", "1", "]", ")", "return", "Hazard", ";", "const", "TargetInstrDesc", "&", "TID", "=", "MI", "->", "getDesc", "(", ")", ";", "if", "(", "LastMI", "&&", "(", "TID", ".", "TSFlags", "&", "ARMII", "::", "DomainMask", ")", "!=", "ARMII", "::", "DomainGeneral", ")", "{", "MachineInstr", "*", "DefMI", "=", "LastMI", ";", "const", "TargetInstrDesc", "&", "LastTID", "=", "LastMI", "->", "getDesc", "(", ")", ";", "if", "(", "!", "LastTID", ".", "isBarrier", "(", ")", "&&", "(", "LastTID", ".", "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", "(", "Stalls", "==", "0", ")", "Stalls", "=", "4", ";", "return", "Hazard", ";", "}", "}", "}", "return", "ScoreboardHazardRecognizer", "::", "getHazardType", "(", "SU", ")", ";", "}", ""], "natrual_language": ["getHazardType", "-", "Return", "the", "hazard", "type", "of", "emitting", "this", "node", "."], "TS_V_token": ["ARM", "ARM", "1", "ARMII::DomainMask", "ARMII::DomainGeneral", "ARMII::DomainMask", "ARMII::DomainGeneral", "0", "4"], "File": "ARMHazardRecognizer10", "Func": "getHazardType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20230, "Length": 219, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "loongarch_secondary_reload", "(", "bool", "in_p", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ",", "reg_class_t", "rclass", ",", "machine_mode", "mode", ",", "secondary_reload_info", "*", "sri", "ATTRIBUTE_UNUSED", ")", "{", "int", "regno", ";", "regno", "=", "true_regnum", "(", "x", ")", ";", "if", "(", "reg_class_subset_p", "(", "rclass", ",", "FP_REGS", ")", ")", "{", "if", "(", "regno", "<", "0", "||", "(", "MEM_P", "(", "x", ")", "&&", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "4", "||", "GET_MODE_SIZE", "(", "mode", ")", "==", "8", ")", ")", ")", "return", "NO_REGS", ";", "if", "(", "GP_REG_P", "(", "regno", ")", "||", "x", "==", "CONST0_RTX", "(", "mode", ")", ")", "return", "NO_REGS", ";", "if", "(", "CONSTANT_P", "(", "x", ")", "&&", "!", "targetm", ".", "cannot_force_const_mem", "(", "mode", ",", "x", ")", ")", "return", "NO_REGS", ";", "if", "(", "FP_REG_P", "(", "regno", ")", "&&", "loongarch_mode_ok_for_mov_fmt_p", "(", "mode", ")", ")", "return", "NO_REGS", ";", "return", "GR_REGS", ";", "}", "if", "(", "FP_REG_P", "(", "regno", ")", ")", "return", "reg_class_subset_p", "(", "rclass", ",", "GR_REGS", ")", "?", "NO_REGS", ":", "GR_REGS", ";", "return", "NO_REGS", ";", "}", ""], "natrual_language": ["Return", "the", "register", "class", "required", "for", "a", "secondary", "register", "when", "copying", "between", "one", "of", "the", "registers", "in", "RCLASS", "and", "value", "X", ",", "which", "has", "mode", "MODE", ".", "X", "is", "the", "source", "of", "the", "move", "if", "IN_P", ",", "otherwise", "it", "is", "the", "destination", ".", "Return", "NO_REGS", "if", "no", "secondary", "register", "is", "needed", "."], "TS_V_token": ["loongarch", "0", "4", "8"], "File": "loongarch", "Func": "loongarch_secondary_reload", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20231, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "UPTFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\">> FrameLowering::emitPrologue <<\\n\"", ")", ";", "MachineFrameInfo", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "const", "MCRegisterInfo", "*", "MRI", "=", "MF", ".", "getMMI", "(", ")", ".", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "computeStackSize", "(", "MF", ")", ";", "if", "(", "!", "StackSize", ")", "{", "return", ";", "}", "unsigned", "StackReg", "=", "UPT", "::", "SP", ";", "unsigned", "OffsetReg", "=", "materializeOffset", "(", "MF", ",", "MBB", ",", "MBBI", ",", "(", "unsigned", ")", "StackSize", ")", ";", "if", "(", "OffsetReg", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "UPT", "::", "SUBR", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addReg", "(", "OffsetReg", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "UPT", "::", "SUBI", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addImm", "(", "StackSize", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "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", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createOffset", "(", "nullptr", ",", "MRI", "->", "getDwarfRegNum", "(", "I", "->", "getReg", "(", ")", ",", "1", ")", ",", "Offset", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "}", "}", "uint64_t", "StackSize", "=", "4", "*", "16", ";", "MF", ".", "getFrameInfo", "(", ")", ".", "setStackSize", "(", "StackSize", ")", ";", "unsigned", "StackReg", "=", "UPT", "::", "SP", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "UPT", "::", "SUBI", ")", ",", "StackReg", ")", ".", "addReg", "(", "UPT", "::", "SP", ")", ".", "addImm", "(", "StackSize", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["UPT", "UPT", "\">> FrameLowering::emitPrologue <<\\n\"", "UPT::SP", "UPT::SUBR", "UPT::SUBI", "0", "1", "4", "16", "UPT::SP", "UPT::SUBI", "UPT::SP"], "File": "UPTFrameLowering", "Func": "emitPrologue", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20232, "Length": 438, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh2a_function_vector_p", "(", "tree", "func", ")", "{", "if", "(", "TREE_CODE", "(", "func", ")", "!=", "FUNCTION_DECL", ")", "return", "false", ";", "for", "(", "tree", "list", "=", "SH_ATTRIBUTES", "(", "func", ")", ";", "list", ";", "list", "=", "TREE_CHAIN", "(", "list", ")", ")", "if", "(", "is_attribute_p", "(", "\"function_vector\"", ",", "TREE_PURPOSE", "(", "list", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "FUNC", "has", "been", "assigned", "the", "attribute", "``", "function_vector", "''", "."], "TS_V_token": ["sh", "\"function_vector\""], "File": "sh6", "Func": "sh2a_function_vector_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20233, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "*", "cygwin_gt_pch_get_address", "(", "size_t", "sz", ",", "int", "fd", ")", "{", "void", "*", "base", ";", "off_t", "p", "=", "lseek", "(", "fd", ",", "0", ",", "SEEK_CUR", ")", ";", "if", "(", "p", "==", "(", "off_t", ")", "-", "1", ")", "fatal_error", "(", "\"can't get position in PCH file: %m\"", ")", ";", "if", "(", "(", "size_t", ")", "p", "<", "sz", ")", "{", "if", "(", "ftruncate", "(", "fd", ",", "sz", ")", "==", "-", "1", ")", "fatal_error", "(", "\"can't extend PCH file: %m\"", ")", ";", "}", "base", "=", "mmap", "(", "NULL", ",", "sz", ",", "PROT_READ", "|", "PROT_WRITE", ",", "MAP_PRIVATE", ",", "fd", ",", "0", ")", ";", "if", "(", "base", "==", "MAP_FAILED", ")", "base", "=", "NULL", ";", "else", "munmap", "(", "base", ",", "sz", ")", ";", "if", "(", "lseek", "(", "fd", ",", "p", ",", "SEEK_SET", ")", "==", "(", "off_t", ")", "-", "1", ")", "fatal_error", "(", "\"can't set position in PCH file: %m\"", ")", ";", "return", "base", ";", "}", ""], "natrual_language": ["Identify", "an", "address", "that", "'s", "likely", "to", "be", "free", "in", "a", "subsequent", "invocation", "of", "the", "compiler", ".", "The", "area", "should", "be", "able", "to", "hold", "SIZE", "bytes", ".", "FD", "is", "an", "open", "file", "descriptor", "if", "the", "host", "would", "like", "to", "probe", "with", "mmap", "."], "TS_V_token": ["i386", "0", "1", "\"can't get position in PCH file: %m\"", "1", "\"can't extend PCH file: %m\"", "0", "1", "\"can't set position in PCH file: %m\""], "File": "host-cygwin2", "Func": "cygwin_gt_pch_get_address", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20234, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "DCPU16FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "DCPU16MachineFunctionInfo", "*", "DCPU16FI", "=", "MF", ".", "getInfo", "<", "DCPU16MachineFunctionInfo", ">", "(", ")", ";", "const", "DCPU16InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "DCPU16InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "DL", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "uint64_t", "NumBytes", "=", "StackSize", "-", "DCPU16FI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "MFI", "->", "setOffsetAdjustment", "(", "-", "NumBytes", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "DCPU16", "::", "PUSH16r", ")", ")", ".", "addReg", "(", "DCPU16", "::", "J", ",", "RegState", "::", "Kill", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "DCPU16", "::", "MOV16rr", ")", ",", "DCPU16", "::", "J", ")", ".", "addReg", "(", "DCPU16", "::", "SP", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "llvm", "::", "next", "(", "MF", ".", "begin", "(", ")", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "I", "->", "addLiveIn", "(", "DCPU16", "::", "J", ")", ";", "}", "while", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", "&&", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "DCPU16", "::", "PUSH16r", ")", ")", "++", "MBBI", ";", "if", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "NumBytes", ")", "{", "if", "(", "NumBytes", ")", "{", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "DCPU16", "::", "SUB16ri", ")", ",", "DCPU16", "::", "SP", ")", ".", "addReg", "(", "DCPU16", "::", "SP", ")", ".", "addImm", "(", "NumBytes", ")", ";", "MI", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "}", "}", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Dcpu16", "DCPU16", "DCPU16", "DCPU16", "DCPU16", "DCPU16", "DCPU16", "DCPU16", "DCPU16::PUSH16r", "DCPU16::J", "DCPU16::MOV16rr", "DCPU16::J", "DCPU16::SP", "DCPU16::J", "DCPU16::PUSH16r", "DCPU16::SUB16ri", "DCPU16::SP", "DCPU16::SP", "3"], "File": "Dcpu16FrameLowering", "Func": "emitPrologue", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20235, "Length": 342, "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": 20236, "Length": 68, "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", "::", "set_loop_iterations", ":", "case", "Intrinsic", "::", "test_set_loop_iterations", ":", "case", "Intrinsic", "::", "loop_decrement", ":", "case", "Intrinsic", "::", "loop_decrement_reg", ":", "return", "true", ";", "}", "}", "return", "false", ";", "}", ";", "auto", "ScanLoop", "=", "[", "&", "]", "(", "Loop", "*", "L", ")", "{", "for", "(", "auto", "*", "BB", ":", "L", "->", "getBlocks", "(", ")", ")", "{", "for", "(", "auto", "&", "I", ":", "*", "BB", ")", "{", "if", "(", "maybeLoweredToCall", "(", "I", ")", "||", "IsHardwareLoopIntrinsic", "(", "I", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"ARMHWLoops: Bad instruction: \"", "<<", "I", "<<", "\"\\n\"", ")", ";", "return", "false", ";", "}", "}", "}", "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", "=", "true", ";", "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::set_loop_iterations", "Intrinsic::test_set_loop_iterations", "Intrinsic::loop_decrement", "Intrinsic::loop_decrement_reg", "\"ARMHWLoops: Bad instruction: \"", "\"\\n\"", "1"], "File": "ARMTargetTransformInfo3", "Func": "isHardwareLoopProfitable", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20237, "Length": 397, "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", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "TT", ",", "RM", ")", ",", "CM", ",", "OL", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", "{", "if", "(", "(", "TT", ".", "isOSWindows", "(", ")", "&&", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", "||", "TT", ".", "isPS4", "(", ")", ")", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "X86", "target", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86TargetMachine108", "Func": "X86TargetMachine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20238, "Length": 122, "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": ["X86"], "File": "X86TargetMachine20", "Func": "getDataLayout", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20239, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_memory_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "rclass", ",", "bool", "in", ")", "{", "return", "(", "mips_cost", "->", "memory_latency", "+", "memory_move_secondary_cost", "(", "mode", ",", "rclass", ",", "in", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MEMORY_MOVE_COST", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_memory_move_cost", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20240, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86IntelInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "OS", ",", "StringRef", "Annot", ")", "{", "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", "X86"], "File": "X86IntelInstPrinter27", "Func": "printInst", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20241, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "csky_preferred_reload_class", "(", "rtx", "x", ",", "reg_class_t", "rclass", ")", "{", "if", "(", "TARGET_HARD_FLOAT", "&&", "CONST_DOUBLE_P", "(", "x", ")", "&&", "(", "GET_MODE", "(", "x", ")", "==", "DFmode", "||", "GET_MODE", "(", "x", ")", "==", "SFmode", ")", "&&", "rclass", "==", "NO_REGS", ")", "return", "GENERAL_REGS", ";", "return", "rclass", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PREFERRED_RELOAD_CLASS", ".", "Given", "an", "rtx", "X", "being", "reloaded", "into", "a", "reg", "required", "to", "be", "in", "class", "CLASS", ",", "return", "the", "class", "of", "reg", "to", "actually", "use", ".", "In", "general", "this", "is", "just", "CLASS", "."], "TS_V_token": ["csky"], "File": "csky", "Func": "csky_preferred_reload_class", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20242, "Length": 47, "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": 20243, "Length": 259, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "xxspltib_constant_p", "(", "rtx", "op", ",", "machine_mode", "mode", ",", "int", "*", "num_insns_ptr", ",", "int", "*", "constant_ptr", ")", "{", "size_t", "nunits", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "size_t", "i", ";", "HOST_WIDE_INT", "value", ";", "rtx", "element", ";", "*", "num_insns_ptr", "=", "-", "1", ";", "*", "constant_ptr", "=", "256", ";", "if", "(", "!", "TARGET_P9_VECTOR", ")", "return", "false", ";", "if", "(", "mode", "==", "VOIDmode", ")", "mode", "=", "GET_MODE", "(", "op", ")", ";", "else", "if", "(", "mode", "!=", "GET_MODE", "(", "op", ")", "&&", "GET_MODE", "(", "op", ")", "!=", "VOIDmode", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "VEC_DUPLICATE", ")", "{", "if", "(", "mode", "!=", "V16QImode", "&&", "mode", "!=", "V8HImode", "&&", "mode", "!=", "V4SImode", "&&", "mode", "!=", "V2DImode", ")", "return", "false", ";", "element", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "!", "CONST_INT_P", "(", "element", ")", ")", "return", "false", ";", "value", "=", "INTVAL", "(", "element", ")", ";", "if", "(", "!", "IN_RANGE", "(", "value", ",", "-", "128", ",", "127", ")", ")", "return", "false", ";", "}", "else", "if", "(", "GET_CODE", "(", "op", ")", "==", "CONST_VECTOR", ")", "{", "if", "(", "mode", "!=", "V16QImode", "&&", "mode", "!=", "V8HImode", "&&", "mode", "!=", "V4SImode", "&&", "mode", "!=", "V2DImode", ")", "return", "false", ";", "element", "=", "CONST_VECTOR_ELT", "(", "op", ",", "0", ")", ";", "if", "(", "!", "CONST_INT_P", "(", "element", ")", ")", "return", "false", ";", "value", "=", "INTVAL", "(", "element", ")", ";", "if", "(", "!", "IN_RANGE", "(", "value", ",", "-", "128", ",", "127", ")", ")", "return", "false", ";", "for", "(", "i", "=", "1", ";", "i", "<", "nunits", ";", "i", "++", ")", "{", "element", "=", "CONST_VECTOR_ELT", "(", "op", ",", "i", ")", ";", "if", "(", "!", "CONST_INT_P", "(", "element", ")", ")", "return", "false", ";", "if", "(", "value", "!=", "INTVAL", "(", "element", ")", ")", "return", "false", ";", "}", "}", "else", "if", "(", "CONST_INT_P", "(", "op", ")", ")", "{", "if", "(", "!", "SCALAR_INT_MODE_P", "(", "mode", ")", ")", "return", "false", ";", "value", "=", "INTVAL", "(", "op", ")", ";", "if", "(", "!", "IN_RANGE", "(", "value", ",", "-", "128", ",", "127", ")", ")", "return", "false", ";", "if", "(", "!", "IN_RANGE", "(", "value", ",", "-", "1", ",", "0", ")", ")", "{", "if", "(", "!", "(", "reg_addr", "[", "mode", "]", ".", "addr_mask", "[", "RELOAD_REG_VMX", "]", "&", "RELOAD_REG_VALID", ")", ")", "return", "false", ";", "if", "(", "EASY_VECTOR_15", "(", "value", ")", ")", "return", "false", ";", "}", "}", "else", "return", "false", ";", "if", "(", "(", "mode", "==", "V4SImode", "||", "mode", "==", "V8HImode", ")", "&&", "!", "IN_RANGE", "(", "value", ",", "-", "1", ",", "0", ")", "&&", "EASY_VECTOR_15", "(", "value", ")", ")", "return", "false", ";", "if", "(", "mode", "==", "V16QImode", ")", "*", "num_insns_ptr", "=", "1", ";", "else", "if", "(", "IN_RANGE", "(", "value", ",", "-", "1", ",", "0", ")", ")", "*", "num_insns_ptr", "=", "1", ";", "else", "if", "(", "vsx_prefixed_constant", "(", "op", ",", "mode", ")", ")", "return", "false", ";", "else", "*", "num_insns_ptr", "=", "2", ";", "*", "constant_ptr", "=", "(", "int", ")", "value", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "is", "of", "the", "given", "MODE", "and", "can", "be", "synthesized", "with", "ISA", "3.0", "instructions", "(", "xxspltib", ",", "vupkhsb/vextsb2w/vextb2d", ")", ".", "Return", "the", "number", "of", "instructions", "needed", "(", "1", "or", "2", ")", "into", "the", "address", "pointed", "via", "NUM_INSNS_PTR", ".", "Return", "the", "constant", "that", "is", "being", "split", "via", "CONSTANT_PTR", "."], "TS_V_token": ["rs6000", "1", "256", "0", "128", "127", "0", "128", "127", "1", "128", "127", "1", "0", "1", "0", "1", "1", "0", "1", "2"], "File": "rs6000", "Func": "xxspltib_constant_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20244, "Length": 469, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "Mips16InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "Mips16InstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "0", "&&", "!", "MFI", ".", "adjustsStack", "(", ")", ")", "return", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "MCRegisterInfo", "*", "MRI", "=", "MMI", ".", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "TII", ".", "makeFrame", "(", "Mips", "::", "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", ".", "empty", "(", ")", ")", "{", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "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", "DReg", "=", "MRI", "->", "getDwarfRegNum", "(", "Reg", ",", "true", ")", ";", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createOffset", "(", "nullptr", ",", "DReg", ",", "Offset", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "}", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "MoveR3216", ")", ",", "Mips", "::", "S0", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "0", "Mips::SP", "Mips::MoveR3216", "Mips::S0", "Mips::SP"], "File": "Mips16FrameLowering17", "Func": "emitPrologue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20245, "Length": 363, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "getVectorVT", "(", "EVT", "ElemVT", ",", "unsigned", "NumElems", ")", "const", "{", "return", "EVT", "::", "getVectorVT", "(", "*", "DAG", ".", "getContext", "(", ")", ",", "ElemVT", ",", "NumElems", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "EVT", "that", "represents", "a", "vector", "EC.Min", "elements", "in", "length", ",", "where", "each", "element", "is", "of", "type", "VT", "."], "TS_V_token": ["VE"], "File": "VECustomDAG1", "Func": "getVectorVT", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20246, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mmix_reorg", "(", "void", ")", "{", "int", "regno", ";", "for", "(", "regno", "=", "MMIX_LAST_STACK_REGISTER_REGNUM", ";", "regno", ">=", "0", ";", "regno", "--", ")", "if", "(", "(", "df_regs_ever_live_p", "(", "regno", ")", "&&", "!", "call_used_regs", "[", "regno", "]", ")", "||", "(", "regno", "==", "MMIX_FRAME_POINTER_REGNUM", "&&", "frame_pointer_needed", ")", ")", "break", ";", "if", "(", "!", "TARGET_ABI_GNU", "&&", "regno", "<", "crtl", "->", "args", ".", "info", ".", "regs", "-", "1", ")", "{", "regno", "=", "crtl", "->", "args", ".", "info", ".", "regs", "-", "1", ";", "if", "(", "regno", ">", "MMIX_RETURN_VALUE_REGNUM", "-", "1", ")", "regno", "=", "MMIX_RETURN_VALUE_REGNUM", "-", "1", ";", "}", "cfun", "->", "machine", "->", "highest_saved_stack_register", "=", "regno", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MACHINE_DEPENDENT_REORG", ".", "No", "actual", "rearrangements", "done", "here", ";", "just", "virtually", "by", "calculating", "the", "highest", "saved", "stack", "register", "number", "used", "to", "modify", "the", "register", "numbers", "at", "output", "time", "."], "TS_V_token": ["mmix", "0", "1", "1", "1", "1"], "File": "mmix4", "Func": "mmix_reorg", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20247, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "section", "*", "pa_select_section", "(", "tree", "exp", ",", "int", "reloc", ",", "unsigned", "HOST_WIDE_INT", "align", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TREE_CODE", "(", "exp", ")", "==", "VAR_DECL", "&&", "TREE_READONLY", "(", "exp", ")", "&&", "!", "TREE_THIS_VOLATILE", "(", "exp", ")", "&&", "DECL_INITIAL", "(", "exp", ")", "&&", "(", "DECL_INITIAL", "(", "exp", ")", "==", "error_mark_node", "||", "TREE_CONSTANT", "(", "DECL_INITIAL", "(", "exp", ")", ")", ")", "&&", "!", "reloc", ")", "{", "if", "(", "TARGET_SOM", "&&", "DECL_ONE_ONLY", "(", "exp", ")", "&&", "!", "DECL_WEAK", "(", "exp", ")", ")", "return", "som_one_only_readonly_data_section", ";", "else", "return", "readonly_data_section", ";", "}", "else", "if", "(", "CONSTANT_CLASS_P", "(", "exp", ")", "&&", "!", "reloc", ")", "return", "readonly_data_section", ";", "else", "if", "(", "TARGET_SOM", "&&", "TREE_CODE", "(", "exp", ")", "==", "VAR_DECL", "&&", "DECL_ONE_ONLY", "(", "exp", ")", "&&", "!", "DECL_WEAK", "(", "exp", ")", ")", "return", "som_one_only_data_section", ";", "else", "return", "data_section", ";", "}", ""], "natrual_language": ["On", "hpux10", ",", "the", "linker", "will", "give", "an", "error", "if", "we", "have", "a", "reference", "in", "the", "read-only", "data", "section", "to", "a", "symbol", "defined", "in", "a", "shared", "library", ".", "Therefore", ",", "expressions", "that", "might", "require", "a", "reloc", "can", "not", "be", "placed", "in", "the", "read-only", "data", "section", "."], "TS_V_token": ["pa"], "File": "pa4", "Func": "pa_select_section", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20248, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "ARMBaseInstrInfo", "::", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "unsigned", ">", "&", "Ops", ",", "MachineInstr", "*", "LoadMI", ")", "const", "{", "return", "0", ";", "}", ""], "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": ["ARM", "ARM", "0"], "File": "ARMBaseInstrInfo114", "Func": "foldMemoryOperandImpl", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20249, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TeeRISCAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "TeeRISCMCInstLower", "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": ["TeeRISC", "TeeRISC", "TeeRISC"], "File": "TeeRISCAsmPrinter", "Func": "EmitInstruction", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20250, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "findCommutedOpIndices", "(", "MachineInstr", "&", "MI", ",", "unsigned", "&", "SrcOpIdx1", ",", "unsigned", "&", "SrcOpIdx2", ")", "const", "{", "if", "(", "!", "MI", ".", "isCommutable", "(", ")", ")", "return", "false", ";", "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", ":", "return", "fixCommutedOpIndices", "(", "SrcOpIdx1", ",", "SrcOpIdx2", ",", "1", ",", "2", ")", ";", "}", "return", "false", ";", "}", "default", ":", "const", "X86InstrFMA3Group", "*", "FMA3Group", "=", "X86InstrFMA3Info", "::", "getFMA3Group", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "if", "(", "FMA3Group", ")", "return", "findFMA3CommutedOpIndices", "(", "MI", ",", "SrcOpIdx1", ",", "SrcOpIdx2", ",", "*", "FMA3Group", ")", ";", "return", "TargetInstrInfo", "::", "findCommutedOpIndices", "(", "MI", ",", "SrcOpIdx1", ",", "SrcOpIdx2", ")", ";", "}", "return", "false", ";", "}", ""], "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", "X86"], "File": "X86InstrInfo121", "Func": "findCommutedOpIndices", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20251, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "vax_file_start", "(", "void", ")", "{", "default_file_start", "(", ")", ";", "}", ""], "natrual_language": ["When", "debugging", "with", "stabs", ",", "we", "want", "to", "output", "an", "extra", "dummy", "label", "so", "that", "gas", "can", "distinguish", "between", "D_float", "and", "G_float", "prior", "to", "processing", "the", ".stabs", "directive", "identifying", "type", "double", "."], "TS_V_token": ["vax"], "File": "vax1", "Func": "vax_file_start", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20252, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16HardFloat", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "auto", "&", "TM", "=", "static_cast", "<", "const", "MipsTargetMachine", "&", ">", "(", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ".", "getTM", "<", "TargetMachine", ">", "(", ")", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"Run on Module Mips16HardFloat\\n\"", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "Module", "::", "iterator", "F", "=", "M", ".", "begin", "(", ")", ",", "E", "=", "M", ".", "end", "(", ")", ";", "F", "!=", "E", ";", "++", "F", ")", "{", "if", "(", "F", "->", "hasFnAttribute", "(", "\"nomips16\"", ")", "&&", "F", "->", "hasFnAttribute", "(", "\"use-soft-float\"", ")", ")", "{", "removeUseSoftFloat", "(", "*", "F", ")", ";", "continue", ";", "}", "if", "(", "F", "->", "isDeclaration", "(", ")", "||", "F", "->", "hasFnAttribute", "(", "\"mips16_fp_stub\"", ")", "||", "F", "->", "hasFnAttribute", "(", "\"nomips16\"", ")", ")", "continue", ";", "Modified", "|=", "fixupFPReturnAndCall", "(", "*", "F", ",", "&", "M", ",", "TM", ")", ";", "FPParamVariant", "V", "=", "whichFPParamVariantNeeded", "(", "*", "F", ")", ";", "if", "(", "V", "!=", "NoSig", ")", "{", "Modified", "=", "true", ";", "createFPFnStub", "(", "&", "*", "F", ",", "&", "M", ",", "V", ",", "TM", ")", ";", "}", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["Mips", "Mips", "Mips", "\"Run on Module Mips16HardFloat\\n\"", "\"nomips16\"", "\"use-soft-float\"", "\"mips16_fp_stub\"", "\"nomips16\""], "File": "Mips16HardFloat27", "Func": "runOnModule", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20253, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ArrayRef", "<", "MCPhysReg", ">", "ARMBaseRegisterInfo", "::", "getIntraCallClobberedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "static", "const", "MCPhysReg", "IntraCallClobberedRegs", "[", "]", "=", "{", "ARM", "::", "R12", "}", ";", "return", "ArrayRef", "<", "MCPhysReg", ">", "(", "IntraCallClobberedRegs", ")", ";", "}", ""], "natrual_language": ["Return", "a", "list", "of", "all", "of", "the", "registers", "which", "are", "clobbered", "``", "inside", "''", "a", "call", "to", "the", "given", "function", "."], "TS_V_token": ["ARM", "ARM", "ARM::R12"], "File": "ARMBaseRegisterInfo", "Func": "getIntraCallClobberedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20254, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "function_arg_record_value_1", "(", "const_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", "=", "DECL_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", "(", "tree_fits_uhwi_p", "(", "bit_position", "(", "field", ")", ")", ")", "bitpos", "+=", "int_bit_position", "(", "field", ")", ";", "}", "if", "(", "TREE_CODE", "(", "TREE_TYPE", "(", "field", ")", ")", "==", "RECORD_TYPE", ")", "function_arg_record_value_1", "(", "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", ")", "{", "if", "(", "parms", "->", "intoffset", "!=", "-", "1", ")", "{", "unsigned", "int", "startbit", ",", "endbit", ";", "int", "intslots", ",", "this_slotno", ";", "startbit", "=", "parms", "->", "intoffset", "&", "-", "BITS_PER_WORD", ";", "endbit", "=", "(", "bitpos", "+", "BITS_PER_WORD", "-", "1", ")", "&", "-", "BITS_PER_WORD", ";", "intslots", "=", "(", "endbit", "-", "startbit", ")", "/", "BITS_PER_WORD", ";", "this_slotno", "=", "parms", "->", "slotno", "+", "parms", "->", "intoffset", "/", "BITS_PER_WORD", ";", "if", "(", "intslots", ">", "0", "&&", "intslots", ">", "SPARC_INT_ARG_MAX", "-", "this_slotno", ")", "{", "intslots", "=", "MAX", "(", "0", ",", "SPARC_INT_ARG_MAX", "-", "this_slotno", ")", ";", "parms", "->", "stack", "=", "1", ";", "}", "parms", "->", "nregs", "+=", "intslots", ";", "parms", "->", "intoffset", "=", "-", "1", ";", "}", "if", "(", "TREE_CODE", "(", "TREE_TYPE", "(", "field", ")", ")", "==", "VECTOR_TYPE", "&&", "DECL_MODE", "(", "field", ")", "==", "BLKmode", ")", "parms", "->", "nregs", "+=", "TYPE_VECTOR_SUBPARTS", "(", "TREE_TYPE", "(", "field", ")", ")", ";", "else", "if", "(", "TREE_CODE", "(", "TREE_TYPE", "(", "field", ")", ")", "==", "COMPLEX_TYPE", ")", "parms", "->", "nregs", "+=", "2", ";", "else", "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", "determine", "how", "many", "registers", "will", "be", "required", "."], "TS_V_token": ["sparc", "0", "1", "1", "0", "0", "1", "1", "2", "1", "1"], "File": "sparc4", "Func": "function_arg_record_value_1", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20255, "Length": 391, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZShortenInst", "::", "processBlock", "(", "MachineBasicBlock", "&", "MBB", ")", "{", "bool", "Changed", "=", "false", ";", "unsigned", "LiveLow", "=", "0", ";", "unsigned", "LiveHigh", "=", "0", ";", "for", "(", "auto", "SI", "=", "MBB", ".", "succ_begin", "(", ")", ",", "SE", "=", "MBB", ".", "succ_end", "(", ")", ";", "SI", "!=", "SE", ";", "++", "SI", ")", "{", "for", "(", "auto", "LI", "=", "(", "*", "SI", ")", "->", "livein_begin", "(", ")", ",", "LE", "=", "(", "*", "SI", ")", "->", "livein_end", "(", ")", ";", "LI", "!=", "LE", ";", "++", "LI", ")", "{", "unsigned", "Reg", "=", "*", "LI", ";", "assert", "(", "Reg", "<", "SystemZ", "::", "NUM_TARGET_REGS", "&&", "\"Invalid register number\"", ")", ";", "LiveLow", "|=", "LowGPRs", "[", "Reg", "]", ";", "LiveHigh", "|=", "HighGPRs", "[", "Reg", "]", ";", "}", "}", "for", "(", "auto", "MBBI", "=", "MBB", ".", "rbegin", "(", ")", ",", "MBBE", "=", "MBB", ".", "rend", "(", ")", ";", "MBBI", "!=", "MBBE", ";", "++", "MBBI", ")", "{", "MachineInstr", "&", "MI", "=", "*", "MBBI", ";", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "Opcode", "==", "SystemZ", "::", "IILF", ")", "Changed", "|=", "shortenIIF", "(", "MI", ",", "LowGPRs", ",", "LiveHigh", ",", "SystemZ", "::", "LLILL", ",", "SystemZ", "::", "LLILH", ")", ";", "else", "if", "(", "Opcode", "==", "SystemZ", "::", "IIHF", ")", "Changed", "|=", "shortenIIF", "(", "MI", ",", "HighGPRs", ",", "LiveLow", ",", "SystemZ", "::", "LLIHL", ",", "SystemZ", "::", "LLIHH", ")", ";", "unsigned", "UsedLow", "=", "0", ";", "unsigned", "UsedHigh", "=", "0", ";", "for", "(", "auto", "MOI", "=", "MI", ".", "operands_begin", "(", ")", ",", "MOE", "=", "MI", ".", "operands_end", "(", ")", ";", "MOI", "!=", "MOE", ";", "++", "MOI", ")", "{", "MachineOperand", "&", "MO", "=", "*", "MOI", ";", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "if", "(", "unsigned", "Reg", "=", "MO", ".", "getReg", "(", ")", ")", "{", "assert", "(", "Reg", "<", "SystemZ", "::", "NUM_TARGET_REGS", "&&", "\"Invalid register number\"", ")", ";", "if", "(", "MO", ".", "isDef", "(", ")", ")", "{", "LiveLow", "&=", "~", "LowGPRs", "[", "Reg", "]", ";", "LiveHigh", "&=", "~", "HighGPRs", "[", "Reg", "]", ";", "}", "else", "if", "(", "!", "MO", ".", "isUndef", "(", ")", ")", "{", "UsedLow", "|=", "LowGPRs", "[", "Reg", "]", ";", "UsedHigh", "|=", "HighGPRs", "[", "Reg", "]", ";", "}", "}", "}", "}", "LiveLow", "|=", "UsedLow", ";", "LiveHigh", "|=", "UsedHigh", ";", "}", "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", "0", "0", "SystemZ::NUM_TARGET_REGS", "\"Invalid register number\"", "SystemZ::IILF", "SystemZ::LLILL", "SystemZ::LLILH", "SystemZ::IIHF", "SystemZ::LLIHL", "SystemZ::LLIHH", "0", "0", "SystemZ::NUM_TARGET_REGS", "\"Invalid register number\""], "File": "SystemZShortenInst1", "Func": "processBlock", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20256, "Length": 360, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mt_set_memflags", "(", "rtx", "ref", ")", "{", "rtx", "insn", ";", "int", "in_struct_p", ",", "volatile_p", ";", "if", "(", "GET_CODE", "(", "ref", ")", "!=", "MEM", ")", "return", ";", "in_struct_p", "=", "MEM_IN_STRUCT_P", "(", "ref", ")", ";", "volatile_p", "=", "MEM_VOLATILE_P", "(", "ref", ")", ";", "if", "(", "!", "in_struct_p", "&&", "!", "volatile_p", ")", "return", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "mt_set_memflags_1", "(", "insn", ",", "in_struct_p", ",", "volatile_p", ")", ";", "}", ""], "natrual_language": ["Look", "for", "any", "MEMs", "in", "the", "current", "sequence", "of", "insns", "and", "set", "the", "in-struct", ",", "unchanging", ",", "and", "volatile", "flags", "from", "the", "flags", "in", "REF", ".", "If", "REF", "is", "not", "a", "MEM", ",", "do", "n't", "do", "anything", "."], "TS_V_token": ["mt"], "File": "mt", "Func": "mt_set_memflags", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20257, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"X86 Maximal Stack Alignment Calculator\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 Maximal Stack Alignment Calculator\""], "File": "X86RegisterInfo33", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20258, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_setup_incoming_varargs", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "tree", "type", ",", "int", "*", "pretend_size", "ATTRIBUTE_UNUSED", ",", "int", "no_rtl", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "CUMULATIVE_ARGS", "local_cum", ";", "int", "gr_saved", ",", "vr_saved", ";", "local_cum", "=", "*", "cum", ";", "aarch64_function_arg_advance", "(", "pack_cumulative_args", "(", "&", "local_cum", ")", ",", "mode", ",", "type", ",", "true", ")", ";", "gr_saved", "=", "NUM_ARG_REGS", "-", "local_cum", ".", "aapcs_ncrn", ";", "vr_saved", "=", "NUM_FP_ARG_REGS", "-", "local_cum", ".", "aapcs_nvrn", ";", "if", "(", "TARGET_GENERAL_REGS_ONLY", ")", "{", "if", "(", "local_cum", ".", "aapcs_nvrn", ">", "0", ")", "sorry", "(", "\"%qs and floating point or vector arguments\"", ",", "\"-mgeneral-regs-only\"", ")", ";", "vr_saved", "=", "0", ";", "}", "if", "(", "!", "no_rtl", ")", "{", "if", "(", "gr_saved", ">", "0", ")", "{", "rtx", "ptr", ",", "mem", ";", "ptr", "=", "plus_constant", "(", "Pmode", ",", "virtual_incoming_args_rtx", ",", "-", "gr_saved", "*", "UNITS_PER_WORD", ")", ";", "mem", "=", "gen_frame_mem", "(", "BLKmode", ",", "ptr", ")", ";", "set_mem_alias_set", "(", "mem", ",", "get_varargs_alias_set", "(", ")", ")", ";", "move_block_from_reg", "(", "local_cum", ".", "aapcs_ncrn", "+", "R0_REGNUM", ",", "mem", ",", "gr_saved", ")", ";", "}", "if", "(", "vr_saved", ">", "0", ")", "{", "machine_mode", "mode", "=", "TImode", ";", "int", "off", ",", "i", ";", "off", "=", "-", "AARCH64_ROUND_UP", "(", "gr_saved", "*", "UNITS_PER_WORD", ",", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ")", ";", "off", "-=", "vr_saved", "*", "UNITS_PER_VREG", ";", "for", "(", "i", "=", "local_cum", ".", "aapcs_nvrn", ";", "i", "<", "NUM_FP_ARG_REGS", ";", "++", "i", ")", "{", "rtx", "ptr", ",", "mem", ";", "ptr", "=", "plus_constant", "(", "Pmode", ",", "virtual_incoming_args_rtx", ",", "off", ")", ";", "mem", "=", "gen_frame_mem", "(", "mode", ",", "ptr", ")", ";", "set_mem_alias_set", "(", "mem", ",", "get_varargs_alias_set", "(", ")", ")", ";", "aarch64_emit_move", "(", "mem", ",", "gen_rtx_REG", "(", "mode", ",", "V0_REGNUM", "+", "i", ")", ")", ";", "off", "+=", "UNITS_PER_VREG", ";", "}", "}", "}", "cfun", "->", "machine", "->", "frame", ".", "saved_varargs_size", "=", "(", "AARCH64_ROUND_UP", "(", "gr_saved", "*", "UNITS_PER_WORD", ",", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ")", "+", "vr_saved", "*", "UNITS_PER_VREG", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["aarch64", "0", "\"%qs and floating point or vector arguments\"", "\"-mgeneral-regs-only\"", "0", "0", "0"], "File": "aarch642", "Func": "aarch64_setup_incoming_varargs", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20259, "Length": 298, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "X86TargetLowering", "::", "getPICJumpTableRelocBaseExpr", "(", "const", "MachineFunction", "*", "MF", ",", "unsigned", "JTI", ",", "MCContext", "&", "Ctx", ")", "const", "{", "if", "(", "Subtarget", "->", "isPICStyleRIPRel", "(", ")", ")", "return", "TargetLowering", "::", "getPICJumpTableRelocBaseExpr", "(", "MF", ",", "JTI", ",", "Ctx", ")", ";", "return", "MCSymbolRefExpr", "::", "Create", "(", "getPICBaseSymbol", "(", "MF", ",", "Ctx", ")", ",", "Ctx", ")", ";", "}", ""], "natrual_language": ["This", "returns", "the", "relocation", "base", "for", "the", "given", "PIC", "jumptable", ",", "the", "same", "as", "getPICJumpTableRelocBase", ",", "but", "as", "an", "MCExpr", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering144", "Func": "getPICJumpTableRelocBaseExpr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20260, "Length": 57, "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", ":", "{", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "Instructions", ".", "push_back", "(", "Inst", ")", ";", "break", ";", "case", "SP", "::", "SET", ":", "if", "(", "expandSET", "(", "Inst", ",", "IDLoc", ",", "Instructions", ")", ")", "return", "true", ";", "break", ";", "}", "for", "(", "const", "MCInst", "&", "I", ":", "Instructions", ")", "{", "Out", ".", "emitInstruction", "(", "I", ",", "getSTI", "(", ")", ")", ";", "}", "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", "SP::SET", "\"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": "SparcAsmParser1", "Func": "MatchAndEmitInstruction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20261, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isScalarFPTypeInSSEReg", "(", "EVT", "VT", ")", "const", "{", "return", "(", "VT", "==", "MVT", "::", "f64", "&&", "Subtarget", ".", "hasSSE2", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "f32", "&&", "Subtarget", ".", "hasSSE1", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "f16", "&&", "Subtarget", ".", "hasFP16", "(", ")", ")", ";", "}", ""], "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", "X86", "MVT::f64", "MVT::f32", "MVT::f16"], "File": "X86ISelLowering100", "Func": "isScalarFPTypeInSSEReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20262, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MINA32AsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsResolved", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "const", "{", "adjustFixupValue", "(", "Fixup", ",", "Target", ",", "Value", ",", "&", "Asm", ".", "getContext", "(", ")", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "MCFixupKindInfo", "Info", "=", "getFixupKindInfo", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "auto", "NumBits", "=", "Info", ".", "TargetSize", "+", "Info", ".", "TargetOffset", ";", "auto", "NumBytes", "=", "(", "NumBits", "/", "8", ")", "+", "(", "(", "NumBits", "%", "8", ")", "==", "0", "?", "0", ":", "1", ")", ";", "Value", "<<=", "Info", ".", "TargetOffset", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "assert", "(", "Offset", "+", "NumBytes", "<=", "Data", ".", "size", "(", ")", "&&", "\"Invalid fixup offset!\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "NumBytes", ";", "++", "i", ")", "{", "uint8_t", "mask", "=", "(", "(", "Value", ">>", "(", "i", "*", "8", ")", ")", "&", "0xFF", ")", ";", "Data", "[", "Offset", "+", "i", "]", "|=", "mask", ";", "}", "}", ""], "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": ["MINA32", "MINA32", "8", "8", "0", "0", "1", "\"Invalid fixup offset!\"", "0", "8", "0xFF"], "File": "MINA32AsmBackend", "Func": "applyFixup", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20263, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_gen_store_pair", "(", "machine_mode", "mode", ",", "rtx", "mem1", ",", "rtx", "reg1", ",", "rtx", "mem2", ",", "rtx", "reg2", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_DImode", ":", "return", "gen_store_pairdi", "(", "mem1", ",", "reg1", ",", "mem2", ",", "reg2", ")", ";", "case", "E_DFmode", ":", "return", "gen_store_pairdf", "(", "mem1", ",", "reg1", ",", "mem2", ",", "reg2", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Generate", "and", "return", "a", "store", "pair", "instruction", "of", "mode", "MODE", "to", "store", "register", "REG1", "to", "MEM1", "and", "register", "REG2", "to", "MEM2", "."], "TS_V_token": ["aarch64"], "File": "aarch645", "Func": "aarch64_gen_store_pair", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20264, "Length": 63, "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", ";", "Register", "SplatReg", "=", "SMI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "Register", "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", "(", ")", ")", ";", "Register", "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": "PPCQPXLoadSplat3", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20265, "Length": 505, "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", ";", "MCSymbol", "*", "Symbol", "=", "CLI", ".", "Symbol", ";", "if", "(", "CC", "==", "CallingConv", "::", "Fast", ")", "return", "false", ";", "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", "(", "Symbol", ")", "DestAddress", "=", "materializeExternalCallSym", "(", "Symbol", ")", ";", "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": "MipsFastISel10", "Func": "fastLowerCall", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20266, "Length": 431, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MMIXAsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsResolved", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "const", "{", "MCContext", "&", "Ctx", "=", "Asm", ".", "getContext", "(", ")", ";", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "MCFixupKindInfo", "Info", "=", "getFixupKindInfo", "(", "Kind", ")", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "if", "(", "Kind", "==", "static_cast", "<", "MCFixupKind", ">", "(", "MMIX", "::", "fixup_mmix_rel_16", ")", "||", "Kind", "==", "static_cast", "<", "MCFixupKind", ">", "(", "MMIX", "::", "fixup_mmix_rel_24", ")", ")", "Data", "[", "Offset", "]", "&=", "0xfe", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "Value", "<<=", "Info", ".", "TargetOffset", ";", "unsigned", "NumBytes", "=", "(", "Info", ".", "TargetSize", "+", "7", ")", "/", "8", ";", "assert", "(", "Offset", "+", "NumBytes", "<=", "Data", ".", "size", "(", ")", "&&", "\"Invalid fixup offset!\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "4", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "3", "-", "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": ["MMIX", "MMIX", "MMIX::fixup_mmix_rel_16", "MMIX::fixup_mmix_rel_24", "0xfe", "7", "8", "\"Invalid fixup offset!\"", "0", "4", "3", "8", "0xff"], "File": "MMIXAsmBackend", "Func": "applyFixup", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20267, "Length": 206, "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", ")", ",", "PICStyle", "(", "PICStyles", "::", "None", ")", ",", "X86SSELevel", "(", "NoMMXSSE", ")", ",", "X863DNowLevel", "(", "NoThreeDNow", ")", ",", "HasCMov", "(", "false", ")", ",", "HasX86_64", "(", "false", ")", ",", "HasPOPCNT", "(", "false", ")", ",", "HasSSE4A", "(", "false", ")", ",", "HasAVX", "(", "false", ")", ",", "HasAES", "(", "false", ")", ",", "HasCLMUL", "(", "false", ")", ",", "HasFMA3", "(", "false", ")", ",", "HasFMA4", "(", "false", ")", ",", "HasMOVBE", "(", "false", ")", ",", "HasRDRAND", "(", "false", ")", ",", "HasF16C", "(", "false", ")", ",", "HasLZCNT", "(", "false", ")", ",", "HasBMI", "(", "false", ")", ",", "IsBTMemSlow", "(", "false", ")", ",", "IsUAMemFast", "(", "false", ")", ",", "HasVectorUAMem", "(", "false", ")", ",", "HasCmpxchg16b", "(", "false", ")", ",", "stackAlignment", "(", "8", ")", ",", "MaxInlineSizeThreshold", "(", "128", ")", ",", "TargetTriple", "(", "TT", ")", ",", "In64BitMode", "(", "is64Bit", ")", ",", "InNaClMode", "(", "false", ")", "{", "if", "(", "!", "FS", ".", "empty", "(", ")", "||", "!", "CPU", ".", "empty", "(", ")", ")", "{", "std", "::", "string", "CPUName", "=", "CPU", ";", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "{", "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", "{", "AutoDetectSubtargetFeatures", "(", ")", ";", "if", "(", "In64BitMode", ")", "{", "HasX86_64", "=", "true", ";", "ToggleFeature", "(", "X86", "::", "Feature64Bit", ")", ";", "HasCMov", "=", "true", ";", "ToggleFeature", "(", "X86", "::", "FeatureCMOV", ")", ";", "if", "(", "!", "HasAVX", "&&", "X86SSELevel", "<", "SSE2", ")", "{", "X86SSELevel", "=", "SSE2", ";", "ToggleFeature", "(", "X86", "::", "FeatureSSE1", ")", ";", "ToggleFeature", "(", "X86", "::", "FeatureSSE2", ")", ";", "}", "}", "}", "if", "(", "In64BitMode", ")", "ToggleFeature", "(", "X86", "::", "Mode64Bit", ")", ";", "if", "(", "isTargetNaCl", "(", ")", ")", "{", "InNaClMode", "=", "true", ";", "ToggleFeature", "(", "X86", "::", "ModeNaCl", ")", ";", "}", "if", "(", "HasAVX", ")", "X86SSELevel", "=", "NoMMXSSE", ";", "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", "(", "EnableSegmentedStacks", "&&", "!", "isTargetELF", "(", ")", ")", "report_fatal_error", "(", "\"Segmented stacks are only implemented on ELF.\"", ")", ";", "if", "(", "StackAlignOverride", ")", "stackAlignment", "=", "StackAlignOverride", ";", "else", "if", "(", "isTargetDarwin", "(", ")", "||", "isTargetFreeBSD", "(", ")", "||", "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", "8", "128", "\"generic\"", "\"+64bit,+sse2,\"", "\"+64bit,+sse2\"", "X86", "X86::Feature64Bit", "X86::FeatureCMOV", "X86", "X86", "X86::FeatureSSE1", "X86::FeatureSSE2", "X86::Mode64Bit", "X86::ModeNaCl", "X86", "\"Subtarget features: SSELevel \"", "X86", "\", 3DNowLevel \"", "X86", "\", 64bit \"", "X86", "\"\\n\"", "X86", "\"64-bit code requested on a subtarget that doesn't support it!\"", "\"Segmented stacks are only implemented on ELF.\"", "16"], "File": "X86Subtarget92", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20268, "Length": 443, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "DestSourcePair", ">", "MipsSEInstrInfo", "::", "isCopyInstrImpl", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "bool", "isDSPControlWrite", "=", "false", ";", "if", "(", "isReadOrWriteToDSPReg", "(", "MI", ",", "isDSPControlWrite", ")", ")", "{", "if", "(", "!", "MI", ".", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", "||", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "!=", "(", "1", "<<", "4", ")", ")", "return", "None", ";", "else", "if", "(", "isDSPControlWrite", ")", "{", "return", "DestSourcePair", "{", "MI", ".", "getOperand", "(", "2", ")", ",", "MI", ".", "getOperand", "(", "0", ")", "}", ";", "}", "else", "{", "return", "DestSourcePair", "{", "MI", ".", "getOperand", "(", "0", ")", ",", "MI", ".", "getOperand", "(", "2", ")", "}", ";", "}", "}", "else", "if", "(", "MI", ".", "isMoveReg", "(", ")", "||", "isORCopyInst", "(", "MI", ")", "||", "isCIncOffsetCopyInst", "(", "MI", ")", ")", "{", "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": ["Mips", "Mips", "1", "1", "1", "4", "2", "0", "0", "2", "0", "1"], "File": "MipsSEInstrInfo30", "Func": "isCopyInstrImpl", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20269, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "rs6000_output_load_multiple", "(", "rtx", "operands", "[", "3", "]", ")", "{", "int", "i", ",", "j", ";", "int", "words", "=", "XVECLEN", "(", "operands", "[", "0", "]", ",", "0", ")", ";", "rtx", "xop", "[", "10", "]", ";", "if", "(", "XVECLEN", "(", "operands", "[", "0", "]", ",", "0", ")", "==", "1", ")", "return", "\"{l|lwz} %2,0(%1)\"", ";", "for", "(", "i", "=", "0", ";", "i", "<", "words", ";", "i", "++", ")", "if", "(", "refers_to_regno_p", "(", "REGNO", "(", "operands", "[", "2", "]", ")", "+", "i", ",", "REGNO", "(", "operands", "[", "2", "]", ")", "+", "i", "+", "1", ",", "operands", "[", "1", "]", ",", "0", ")", ")", "{", "if", "(", "i", "==", "words", "-", "1", ")", "{", "xop", "[", "0", "]", "=", "GEN_INT", "(", "4", "*", "(", "words", "-", "1", ")", ")", ";", "xop", "[", "1", "]", "=", "operands", "[", "1", "]", ";", "xop", "[", "2", "]", "=", "operands", "[", "2", "]", ";", "output_asm_insn", "(", "\"{lsi|lswi} %2,%1,%0\\n\\t{l|lwz} %1,%0(%1)\"", ",", "xop", ")", ";", "return", "\"\"", ";", "}", "else", "if", "(", "i", "==", "0", ")", "{", "xop", "[", "0", "]", "=", "GEN_INT", "(", "4", "*", "(", "words", "-", "1", ")", ")", ";", "xop", "[", "1", "]", "=", "operands", "[", "1", "]", ";", "xop", "[", "2", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "REGNO", "(", "operands", "[", "2", "]", ")", "+", "1", ")", ";", "output_asm_insn", "(", "\"{cal %1,4(%1)|addi %1,%1,4}\\n\\t{lsi|lswi} %2,%1,%0\\n\\t{l|lwz} %1,-4(%1)\"", ",", "xop", ")", ";", "return", "\"\"", ";", "}", "else", "{", "for", "(", "j", "=", "0", ";", "j", "<", "words", ";", "j", "++", ")", "if", "(", "j", "!=", "i", ")", "{", "xop", "[", "0", "]", "=", "GEN_INT", "(", "j", "*", "4", ")", ";", "xop", "[", "1", "]", "=", "operands", "[", "1", "]", ";", "xop", "[", "2", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "REGNO", "(", "operands", "[", "2", "]", ")", "+", "j", ")", ";", "output_asm_insn", "(", "\"{l|lwz} %2,%0(%1)\"", ",", "xop", ")", ";", "}", "xop", "[", "0", "]", "=", "GEN_INT", "(", "i", "*", "4", ")", ";", "xop", "[", "1", "]", "=", "operands", "[", "1", "]", ";", "output_asm_insn", "(", "\"{l|lwz} %1,%0(%1)\"", ",", "xop", ")", ";", "return", "\"\"", ";", "}", "}", "return", "\"{lsi|lswi} %2,%1,%N0\"", ";", "}", ""], "natrual_language": ["Return", "a", "string", "to", "perform", "a", "load_multiple", "operation", ".", "operands", "[", "0", "]", "is", "the", "vector", ".", "operands", "[", "1", "]", "is", "the", "source", "address", ".", "operands", "[", "2", "]", "is", "the", "first", "destination", "register", "."], "TS_V_token": ["rs6000", "3", "0", "0", "10", "0", "0", "1", "\"{l|lwz} %2,0(%1)\"", "0", "2", "2", "1", "1", "0", "1", "0", "4", "1", "1", "1", "2", "2", "\"{lsi|lswi} %2,%1,%0\\n\\t{l|lwz} %1,%0(%1)\"", "\"\"", "0", "0", "4", "1", "1", "1", "2", "2", "1", "\"{cal %1,4(%1)|addi %1,%1,4}\\n\\t{lsi|lswi} %2,%1,%0\\n\\t{l|lwz} %1,-4(%1)\"", "\"\"", "0", "0", "4", "1", "1", "2", "2", "\"{l|lwz} %2,%0(%1)\"", "0", "4", "1", "1", "\"{l|lwz} %1,%0(%1)\"", "\"\"", "\"{lsi|lswi} %2,%1,%N0\""], "File": "rs60003", "Func": "rs6000_output_load_multiple", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20270, "Length": 332, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "make_attribute", "(", "const", "char", "*", "name", ",", "const", "char", "*", "arg_name", ",", "tree", "chain", ")", "{", "tree", "attr_name", ";", "tree", "attr_arg_name", ";", "tree", "attr_args", ";", "tree", "attr", ";", "attr_name", "=", "get_identifier", "(", "name", ")", ";", "attr_arg_name", "=", "build_string", "(", "strlen", "(", "arg_name", ")", ",", "arg_name", ")", ";", "attr_args", "=", "tree_cons", "(", "NULL_TREE", ",", "attr_arg_name", ",", "NULL_TREE", ")", ";", "attr", "=", "tree_cons", "(", "attr_name", ",", "attr_args", ",", "chain", ")", ";", "return", "attr", ";", "}", ""], "natrual_language": ["Makes", "a", "function", "attribute", "of", "the", "form", "NAME", "(", "ARG_NAME", ")", "and", "chains", "it", "to", "CHAIN", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "make_attribute", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20271, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_output_function_prologue", "(", "FILE", "*", "file", ")", "{", "int", "mask", ",", "grsave", ",", "grsave_prev", ";", "if", "(", "current_frame_info", ".", "need_regstk", ")", "fprintf", "(", "file", ",", "\"\\t.regstk %d, %d, %d, %d\\n\"", ",", "current_frame_info", ".", "n_input_regs", ",", "current_frame_info", ".", "n_local_regs", ",", "current_frame_info", ".", "n_output_regs", ",", "current_frame_info", ".", "n_rotate_regs", ")", ";", "if", "(", "ia64_except_unwind_info", "(", "&", "global_options", ")", "!=", "UI_TARGET", ")", "return", ";", "mask", "=", "0", ";", "grsave", "=", "grsave_prev", "=", "0", ";", "if", "(", "current_frame_info", ".", "r", "[", "reg_save_b0", "]", "!=", "0", ")", "{", "mask", "|=", "8", ";", "grsave", "=", "grsave_prev", "=", "current_frame_info", ".", "r", "[", "reg_save_b0", "]", ";", "}", "if", "(", "current_frame_info", ".", "r", "[", "reg_save_ar_pfs", "]", "!=", "0", "&&", "(", "grsave_prev", "==", "0", "||", "current_frame_info", ".", "r", "[", "reg_save_ar_pfs", "]", "==", "grsave_prev", "+", "1", ")", ")", "{", "mask", "|=", "4", ";", "if", "(", "grsave_prev", "==", "0", ")", "grsave", "=", "current_frame_info", ".", "r", "[", "reg_save_ar_pfs", "]", ";", "grsave_prev", "=", "current_frame_info", ".", "r", "[", "reg_save_ar_pfs", "]", ";", "}", "if", "(", "current_frame_info", ".", "r", "[", "reg_fp", "]", "!=", "0", "&&", "(", "grsave_prev", "==", "0", "||", "current_frame_info", ".", "r", "[", "reg_fp", "]", "==", "grsave_prev", "+", "1", ")", ")", "{", "mask", "|=", "2", ";", "if", "(", "grsave_prev", "==", "0", ")", "grsave", "=", "HARD_FRAME_POINTER_REGNUM", ";", "grsave_prev", "=", "current_frame_info", ".", "r", "[", "reg_fp", "]", ";", "}", "if", "(", "current_frame_info", ".", "r", "[", "reg_save_pr", "]", "!=", "0", "&&", "(", "grsave_prev", "==", "0", "||", "current_frame_info", ".", "r", "[", "reg_save_pr", "]", "==", "grsave_prev", "+", "1", ")", ")", "{", "mask", "|=", "1", ";", "if", "(", "grsave_prev", "==", "0", ")", "grsave", "=", "current_frame_info", ".", "r", "[", "reg_save_pr", "]", ";", "}", "if", "(", "mask", "&&", "TARGET_GNU_AS", ")", "fprintf", "(", "file", ",", "\"\\t.prologue %d, %d\\n\"", ",", "mask", ",", "ia64_debugger_regno", "(", "grsave", ")", ")", ";", "else", "fputs", "(", "\"\\t.prologue\\n\"", ",", "file", ")", ";", "if", "(", "current_frame_info", ".", "spill_cfa_off", "!=", "-", "16", ")", "fprintf", "(", "file", ",", "\"\\t.spill %ld\\n\"", ",", "(", "long", ")", "(", "current_frame_info", ".", "spill_cfa_off", "+", "current_frame_info", ".", "spill_size", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "function", "prologue", "."], "TS_V_token": ["ia64", "\"\\t.regstk %d, %d, %d, %d\\n\"", "0", "0", "0", "8", "0", "0", "1", "4", "0", "0", "0", "1", "2", "0", "0", "0", "1", "1", "0", "\"\\t.prologue %d, %d\\n\"", "\"\\t.prologue\\n\"", "16", "\"\\t.spill %ld\\n\""], "File": "ia641", "Func": "ia64_output_function_prologue", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20272, "Length": 313, "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": 20273, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "&", "SrcReg", ",", "unsigned", "&", "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", "(", ")", ";", "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"], "File": "PPCInstrInfo100", "Func": "analyzeCompare", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20274, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_load_pic_register", "(", "unsigned", "long", "saved_regs", "ATTRIBUTE_UNUSED", ")", "{", "rtx", "l1", ",", "labelno", ",", "pic_tmp", ",", "pic_rtx", ",", "pic_reg", ";", "if", "(", "crtl", "->", "uses_pic_offset_table", "==", "0", "||", "TARGET_SINGLE_PIC_BASE", ")", "return", ";", "gcc_assert", "(", "flag_pic", ")", ";", "pic_reg", "=", "cfun", "->", "machine", "->", "pic_reg", ";", "if", "(", "TARGET_VXWORKS_RTP", ")", "{", "pic_rtx", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "VXWORKS_GOTT_BASE", ")", ";", "pic_rtx", "=", "gen_rtx_CONST", "(", "Pmode", ",", "pic_rtx", ")", ";", "emit_insn", "(", "gen_pic_load_addr_32bit", "(", "pic_reg", ",", "pic_rtx", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "pic_reg", ",", "gen_rtx_MEM", "(", "Pmode", ",", "pic_reg", ")", ")", ")", ";", "pic_tmp", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "VXWORKS_GOTT_INDEX", ")", ";", "emit_insn", "(", "gen_pic_offset_arm", "(", "pic_reg", ",", "pic_reg", ",", "pic_tmp", ")", ")", ";", "}", "else", "{", "labelno", "=", "GEN_INT", "(", "pic_labelno", "++", ")", ";", "l1", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "labelno", ")", ",", "UNSPEC_PIC_LABEL", ")", ";", "l1", "=", "gen_rtx_CONST", "(", "VOIDmode", ",", "l1", ")", ";", "pic_rtx", "=", "plus_constant", "(", "Pmode", ",", "l1", ",", "TARGET_ARM", "?", "8", ":", "4", ")", ";", "pic_rtx", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "pic_rtx", ")", ",", "UNSPEC_GOTSYM_OFF", ")", ";", "pic_rtx", "=", "gen_rtx_CONST", "(", "Pmode", ",", "pic_rtx", ")", ";", "if", "(", "TARGET_32BIT", ")", "{", "emit_insn", "(", "gen_pic_load_addr_unified", "(", "pic_reg", ",", "pic_rtx", ",", "labelno", ")", ")", ";", "}", "else", "{", "if", "(", "arm_pic_register", "!=", "INVALID_REGNUM", "&&", "REGNO", "(", "pic_reg", ")", ">", "LAST_LO_REGNUM", ")", "{", "pic_tmp", "=", "gen_rtx_REG", "(", "SImode", ",", "thumb_find_work_register", "(", "saved_regs", ")", ")", ";", "emit_insn", "(", "gen_pic_load_addr_thumb1", "(", "pic_tmp", ",", "pic_rtx", ")", ")", ";", "emit_insn", "(", "gen_movsi", "(", "pic_offset_table_rtx", ",", "pic_tmp", ")", ")", ";", "emit_insn", "(", "gen_pic_add_dot_plus_four", "(", "pic_reg", ",", "pic_reg", ",", "labelno", ")", ")", ";", "}", "else", "if", "(", "arm_pic_register", "!=", "INVALID_REGNUM", "&&", "arm_pic_register", ">", "LAST_LO_REGNUM", "&&", "REGNO", "(", "pic_reg", ")", "<=", "LAST_LO_REGNUM", ")", "{", "emit_insn", "(", "gen_pic_load_addr_unified", "(", "pic_reg", ",", "pic_rtx", ",", "labelno", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_REG", "(", "Pmode", ",", "arm_pic_register", ")", ",", "pic_reg", ")", ";", "emit_use", "(", "gen_rtx_REG", "(", "Pmode", ",", "arm_pic_register", ")", ")", ";", "}", "else", "emit_insn", "(", "gen_pic_load_addr_unified", "(", "pic_reg", ",", "pic_rtx", ",", "labelno", ")", ")", ";", "}", "}", "emit_use", "(", "pic_reg", ")", ";", "}", ""], "natrual_language": ["Generate", "code", "to", "load", "the", "PIC", "register", ".", "In", "thumb", "mode", "SCRATCH", "is", "a", "low", "register", "."], "TS_V_token": ["arm", "0", "1", "8", "4", "1"], "File": "arm5", "Func": "arm_load_pic_register", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20275, "Length": 344, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rs6000_d_handle_target_float_abi", "(", "void", ")", "{", "const", "char", "*", "abi", ";", "if", "(", "TARGET_HARD_FLOAT", ")", "abi", "=", "\"hard\"", ";", "else", "if", "(", "TARGET_SOFT_FLOAT", ")", "abi", "=", "\"soft\"", ";", "else", "abi", "=", "\"\"", ";", "return", "build_string_literal", "(", "strlen", "(", "abi", ")", "+", "1", ",", "abi", ")", ";", "}", ""], "natrual_language": ["Handle", "a", "call", "to", "`", "__traits", "(", "getTargetInfo", ",", "``", "floatAbi", "''", ")", "'", "."], "TS_V_token": ["rs6000", "\"hard\"", "\"soft\"", "\"\"", "1"], "File": "rs6000-d", "Func": "rs6000_d_handle_target_float_abi", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20276, "Length": 48, "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": 20277, "Length": 368, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86DAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "OptForSize", "=", "MF", "->", "getFunction", "(", ")", ".", "optForSize", "(", ")", ";", "OptForMinSize", "=", "MF", "->", "getFunction", "(", ")", ".", "optForMinSize", "(", ")", ";", "assert", "(", "(", "!", "OptForMinSize", "||", "OptForSize", ")", "&&", "\"OptForMinSize implies OptForSize\"", ")", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "&", "*", "I", "++", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "(", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", "&&", "!", "Subtarget", "->", "slowTwoMemOps", "(", ")", ")", "||", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "TC_RETURN", "&&", "(", "Subtarget", "->", "is64Bit", "(", ")", "||", "!", "getTargetMachine", "(", ")", ".", "isPositionIndependent", "(", ")", ")", ")", ")", ")", "{", "bool", "HasCallSeq", "=", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", ";", "SDValue", "Chain", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Load", "=", "N", "->", "getOperand", "(", "1", ")", ";", "if", "(", "!", "isCalleeLoad", "(", "Load", ",", "Chain", ",", "HasCallSeq", ")", ")", "continue", ";", "moveBelowOrigChain", "(", "CurDAG", ",", "Load", ",", "SDValue", "(", "N", ",", "0", ")", ",", "Chain", ")", ";", "++", "NumLoadMoved", ";", "continue", ";", "}", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_ROUND", "&&", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "MVT", "SrcVT", "=", "N", "->", "getOperand", "(", "0", ")", ".", "getSimpleValueType", "(", ")", ";", "MVT", "DstVT", "=", "N", "->", "getSimpleValueType", "(", "0", ")", ";", "if", "(", "SrcVT", ".", "isVector", "(", ")", "||", "DstVT", ".", "isVector", "(", ")", ")", "continue", ";", "const", "X86TargetLowering", "*", "X86Lowering", "=", "static_cast", "<", "const", "X86TargetLowering", "*", ">", "(", "TLI", ")", ";", "bool", "SrcIsSSE", "=", "X86Lowering", "->", "isScalarFPTypeInSSEReg", "(", "SrcVT", ")", ";", "bool", "DstIsSSE", "=", "X86Lowering", "->", "isScalarFPTypeInSSEReg", "(", "DstVT", ")", ";", "if", "(", "SrcIsSSE", "&&", "DstIsSSE", ")", "continue", ";", "if", "(", "!", "SrcIsSSE", "&&", "!", "DstIsSSE", ")", "{", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "if", "(", "N", "->", "getConstantOperandVal", "(", "1", ")", ")", "continue", ";", "}", "MVT", "MemVT", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_ROUND", ")", "MemVT", "=", "DstVT", ";", "else", "MemVT", "=", "SrcIsSSE", "?", "SrcVT", ":", "DstVT", ";", "SDValue", "MemTmp", "=", "CurDAG", "->", "CreateStackTemporary", "(", "MemVT", ")", ";", "SDLoc", "dl", "(", "N", ")", ";", "SDValue", "Store", "=", "CurDAG", "->", "getTruncStore", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "dl", ",", "N", "->", "getOperand", "(", "0", ")", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ")", ";", "SDValue", "Result", "=", "CurDAG", "->", "getExtLoad", "(", "ISD", "::", "EXTLOAD", ",", "dl", ",", "DstVT", ",", "Store", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ")", ";", "--", "I", ";", "CurDAG", "->", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "0", ")", ",", "Result", ")", ";", "++", "I", ";", "CurDAG", "->", "DeleteNode", "(", "N", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["X86", "X86", "\"OptForMinSize implies OptForSize\"", "X86ISD::CALL", "X86ISD::TC_RETURN", "X86ISD::CALL", "0", "1", "0", "ISD::FP_ROUND", "ISD::FP_EXTEND", "0", "0", "X86", "X86", "X86", "X86", "X86", "ISD::FP_EXTEND", "1", "ISD::FP_ROUND", "0", "ISD::EXTLOAD", "0"], "File": "X86ISelDAGToDAG31", "Func": "PreprocessISelDAG", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20278, "Length": 479, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "machine_function", "*", "mep_init_machine_status", "(", "void", ")", "{", "return", "ggc_cleared_alloc", "<", "machine_function", ">", "(", ")", ";", "}", ""], "natrual_language": ["Functions", "to", "save", "and", "restore", "machine-specific", "function", "data", "."], "TS_V_token": ["mep"], "File": "mep", "Func": "mep_init_machine_status", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20279, "Length": 18, "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": 20280, "Length": 353, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getMaxCallFrameSize", "(", ")", "const", "{", "return", "MaxCallFrameSize", ";", "}", ""], "natrual_language": ["Return", "the", "maximum", "size", "of", "a", "call", "frame", "that", "must", "be", "allocated", "for", "an", "outgoing", "function", "call", "."], "TS_V_token": ["Cpu0"], "File": "Cpu0MachineFunction", "Func": "getMaxCallFrameSize", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20281, "Length": 10, "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": 20282, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "function_resolver", "::", "check_num_arguments", "(", "unsigned", "int", "expected", ")", "{", "if", "(", "m_arglist", ".", "length", "(", ")", "<", "expected", ")", "error_at", "(", "location", ",", "\"too few arguments to function %qE\"", ",", "fndecl", ")", ";", "else", "if", "(", "m_arglist", ".", "length", "(", ")", ">", "expected", ")", "error_at", "(", "location", ",", "\"too many arguments to function %qE\"", ",", "fndecl", ")", ";", "return", "m_arglist", ".", "length", "(", ")", "==", "expected", ";", "}", ""], "natrual_language": ["Require", "the", "function", "to", "have", "exactly", "EXPECTED", "arguments", ".", "Return", "true", "if", "it", "does", ",", "otherwise", "report", "an", "appropriate", "error", "."], "TS_V_token": ["aarch64", "\"too few arguments to function %qE\"", "\"too many arguments to function %qE\""], "File": "aarch64-sve-builtins", "Func": "check_num_arguments", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20283, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasExtractInsert", "(", ")", "const", "{", "return", "!", "inMips16Mode", "(", ")", "&&", "hasMips32r2", "(", ")", ";", "}", ""], "natrual_language": ["Features", "related", "to", "the", "presence", "of", "specific", "instructions", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsSubtarget (2)", "Func": "hasExtractInsert", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20284, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", ",", "unsigned", "Align", ",", "MachineMemOperand", "::", "Flags", "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", ";", "}", "}", "if", "(", "!", "!", "(", "Flags", "&", "MachineMemOperand", "::", "MONonTemporal", ")", "&&", "VT", ".", "isVector", "(", ")", ")", "{", "if", "(", "!", "!", "(", "Flags", "&", "MachineMemOperand", "::", "MOLoad", ")", ")", "return", "(", "Align", "<", "16", "||", "!", "Subtarget", ".", "hasSSE41", "(", ")", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["X86", "X86", "128", "256", "16"], "File": "X86ISelLowering (2)6", "Func": "allowsMisalignedMemoryAccesses", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20285, "Length": 132, "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", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "Gather", "/", "Scatter", "operation", "."], "TS_V_token": ["AArch64", "AArch64", "1", "0"], "File": "AArch64TargetTransformInfo28", "Func": "getGatherScatterOpCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20286, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "mips_get_compress_mode", "(", "tree", "decl", ")", "{", "unsigned", "int", "flags", ",", "force_on", ";", "flags", "=", "mips_base_compression_flags", ";", "if", "(", "decl", ")", "{", "tree", "parent", "=", "decl_function_context", "(", "decl", ")", ";", "if", "(", "parent", ")", "decl", "=", "parent", ";", "force_on", "=", "mips_get_compress_on_flags", "(", "DECL_ATTRIBUTES", "(", "decl", ")", ")", ";", "if", "(", "force_on", ")", "return", "force_on", ";", "flags", "&=", "~", "mips_get_compress_off_flags", "(", "DECL_ATTRIBUTES", "(", "decl", ")", ")", ";", "}", "return", "flags", ";", "}", ""], "natrual_language": ["Return", "the", "compression", "mode", "that", "should", "be", "used", "for", "function", "DECL", ".", "Return", "the", "ambient", "setting", "if", "DECL", "is", "null", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_get_compress_mode", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20287, "Length": 73, "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": ["X86"], "File": "X86TargetMachine11", "Func": "getObjFileLowering", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20288, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsFrameInfo", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MipsFunctionInfo", "*", "MipsFI", "=", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "const", "MipsRegisterInfo", "*", "RegInfo", "=", "static_cast", "<", "const", "MipsRegisterInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "const", "MipsInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "MipsInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "bool", "isPIC", "=", "(", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", ";", "adjustMipsStackFrame", "(", "MF", ")", ";", "unsigned", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "0", "&&", "!", "MFI", "->", "adjustsStack", "(", ")", ")", "return", ";", "int", "FPOffset", "=", "MipsFI", "->", "getFPStackOffset", "(", ")", ";", "int", "RAOffset", "=", "MipsFI", "->", "getRAStackOffset", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "NOREORDER", ")", ")", ";", "if", "(", "isPIC", "&&", "STI", ".", "isABI_O32", "(", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "CPLOAD", ")", ")", ".", "addReg", "(", "RegInfo", "->", "getPICCallReg", "(", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "NOMACRO", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "ADDiu", ")", ",", "Mips", "::", "SP", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ".", "addImm", "(", "-", "StackSize", ")", ";", "if", "(", "MFI", "->", "adjustsStack", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "SW", ")", ")", ".", "addReg", "(", "Mips", "::", "RA", ")", ".", "addImm", "(", "RAOffset", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "SW", ")", ")", ".", "addReg", "(", "Mips", "::", "FP", ")", ".", "addImm", "(", "FPOffset", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "ADDu", ")", ",", "Mips", "::", "FP", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ".", "addReg", "(", "Mips", "::", "ZERO", ")", ";", "}", "if", "(", "MipsFI", "->", "needGPSaveRestore", "(", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "CPRESTORE", ")", ")", ".", "addImm", "(", "MipsFI", "->", "getGPStackOffset", "(", ")", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "0", "Mips", "Mips", "Mips::NOREORDER", "Mips::CPLOAD", "Mips::NOMACRO", "Mips::ADDiu", "Mips::SP", "Mips::SP", "Mips::SW", "Mips::RA", "Mips::SP", "Mips::SW", "Mips::FP", "Mips::SP", "Mips::ADDu", "Mips::FP", "Mips::SP", "Mips::ZERO", "Mips", "Mips::CPRESTORE", "Mips"], "File": "MipsFrameInfo", "Func": "emitPrologue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20289, "Length": 462, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "OpenRISCDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "DebugLoc", "dl", "=", "Node", "->", "getDebugLoc", "(", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"Selecting: \"", ")", ";", "DEBUG", "(", "Node", "->", "dump", "(", "CurDAG", ")", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"== \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "return", "NULL", ";", "}", "SDNode", "*", "ResNode", "=", "SelectCode", "(", "Node", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"=> \"", ")", ";", "if", "(", "ResNode", "==", "NULL", "||", "ResNode", "==", "Node", ")", "DEBUG", "(", "Node", "->", "dump", "(", "CurDAG", ")", ")", ";", "else", "DEBUG", "(", "ResNode", "->", "dump", "(", "CurDAG", ")", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "return", "ResNode", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["OpenRISC", "OpenRISC", "\"Selecting: \"", "\"\\n\"", "\"== \"", "\"\\n\"", "\"=> \"", "\"\\n\""], "File": "OpenRISCISelDAGToDAG", "Func": "Select", "Target": "OpenRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20290, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_n13_e2_to_e1_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "rtx", "def_reg", ";", "switch", "(", "get_attr_type", "(", "producer", ")", ")", "{", "case", "TYPE_LOAD", ":", "case", "TYPE_STORE", ":", "case", "TYPE_LOAD_MULTIPLE", ":", "case", "TYPE_STORE_MULTIPLE", ":", "if", "(", "!", "post_update_insn_p", "(", "producer", ")", ")", "return", "false", ";", "def_reg", "=", "extract_base_reg", "(", "producer", ")", ";", "break", ";", "case", "TYPE_ALU", ":", "case", "TYPE_ALU_SHIFT", ":", "case", "TYPE_PBSAD", ":", "case", "TYPE_PBSADA", ":", "case", "TYPE_MUL", ":", "case", "TYPE_MAC", ":", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "break", ";", "case", "TYPE_BRANCH", ":", "return", "true", ";", "case", "TYPE_DIV", ":", "if", "(", "divmod_p", "(", "producer", ")", ")", "{", "rtx", "def_reg1", "=", "SET_DEST", "(", "parallel_element", "(", "producer", ",", "0", ")", ")", ";", "rtx", "def_reg2", "=", "SET_DEST", "(", "parallel_element", "(", "producer", ",", "1", ")", ")", ";", "return", "(", "n13_consumed_by_e1_dep_p", "(", "consumer", ",", "def_reg1", ")", "||", "n13_consumed_by_e1_dep_p", "(", "consumer", ",", "def_reg2", ")", ")", ";", "}", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "n13_consumed_by_e1_dep_p", "(", "consumer", ",", "def_reg", ")", ";", "}", ""], "natrual_language": ["Check", "dependencies", "from", "E2", "to", "E1", "."], "TS_V_token": ["nds32", "0", "1"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n13_e2_to_e1_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20291, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "add_attribute", "(", "const", "char", "*", "mode", ",", "tree", "*", "attributes", ")", "{", "size_t", "len", "=", "strlen", "(", "mode", ")", ";", "tree", "value", "=", "build_string", "(", "len", ",", "mode", ")", ";", "TREE_TYPE", "(", "value", ")", "=", "build_array_type", "(", "char_type_node", ",", "build_index_type", "(", "size_int", "(", "len", ")", ")", ")", ";", "*", "attributes", "=", "tree_cons", "(", "get_identifier", "(", "\"target\"", ")", ",", "build_tree_list", "(", "NULL_TREE", ",", "value", ")", ",", "*", "attributes", ")", ";", "}", ""], "natrual_language": ["Add", "attribute", "NAME", "to", "ATTRS", "."], "TS_V_token": ["arm", "\"target\""], "File": "arm", "Func": "add_attribute", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20292, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "big_const_operand", "(", "rtx", "op", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "==", "CONST_INT", "&&", "CONST_OK_FOR_LETTER_P", "(", "INTVAL", "(", "op", ")", ",", "'M'", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "truth", "value", "of", "whether", "OP", "is", "a", "constant", "that", "requires", "two", "loads", "to", "put", "in", "a", "register", "."], "TS_V_token": ["mt", "1", "0"], "File": "mt", "Func": "big_const_operand", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20293, "Length": 38, "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", ":", "case", "X86", "::", "FsFLD0SS", ":", "case", "X86", "::", "FsFLD0SD", ":", "return", "Expand2AddrUndef", "(", "MI", ",", "get", "(", "HasAVX", "?", "X86", "::", "VXORPSrr", ":", "X86", "::", "XORPSrr", ")", ")", ";", "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::FsFLD0SS", "X86::FsFLD0SD", "X86::VXORPSrr", "X86::XORPSrr", "X86::TEST8ri_NOREX", "X86::TEST8ri"], "File": "X86InstrInfo132", "Func": "expandPostRAPseudo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20294, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "ARMTargetLowering", "::", "BuildSDIVPow2", "(", "SDNode", "*", "N", ",", "const", "APInt", "&", "Divisor", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDNode", "*", ">", "&", "Created", ")", "const", "{", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "SDIV", ")", "return", "SDValue", "(", ")", ";", "const", "auto", "&", "ST", "=", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "DAG", ".", "getSubtarget", "(", ")", ")", ";", "const", "auto", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "const", "bool", "MinSize", "=", "MF", ".", "getFunction", "(", ")", ".", "optForMinSize", "(", ")", ";", "const", "bool", "HasDivide", "=", "ST", ".", "isThumb", "(", ")", "?", "ST", ".", "hasDivideInThumbMode", "(", ")", ":", "ST", ".", "hasDivideInARMMode", "(", ")", ";", "if", "(", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", ".", "isVector", "(", ")", ")", "return", "SDValue", "(", ")", ";", "if", "(", "!", "(", "MinSize", "&&", "HasDivide", ")", ")", "return", "SDValue", "(", ")", ";", "if", "(", "!", "ST", ".", "isThumb", "(", ")", ")", "return", "SDValue", "(", "N", ",", "0", ")", ";", "if", "(", "Divisor", ".", "sgt", "(", "128", ")", ")", "return", "SDValue", "(", ")", ";", "return", "SDValue", "(", "N", ",", "0", ")", ";", "}", ""], "natrual_language": ["Targets", "may", "override", "this", "function", "to", "provide", "custom", "SDIV", "lowering", "for", "power-of-2", "denominators", "."], "TS_V_token": ["ARM", "ARM", "ISD::SDIV", "ARM", "ARM", "0", "0", "128", "0"], "File": "ARMISelLowering (3)", "Func": "BuildSDIVPow2", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20295, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "or1k_delegitimize_address", "(", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", ")", "{", "if", "(", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_GOTOFF", ")", "return", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ";", "}", "else", "if", "(", "MEM_P", "(", "x", ")", ")", "{", "rtx", "addr", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "LO_SUM", "&&", "XEXP", "(", "addr", ",", "0", ")", "==", "pic_offset_table_rtx", ")", "{", "rtx", "inner", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "inner", ")", "==", "UNSPEC", "&&", "XINT", "(", "inner", ",", "1", ")", "==", "UNSPEC_GOT", ")", "return", "XVECEXP", "(", "inner", ",", "0", ",", "0", ")", ";", "}", "}", "return", "delegitimize_mem_from_attrs", "(", "x", ")", ";", "}", ""], "natrual_language": ["Worker", "for", "TARGET_DELEGITIMIZE_ADDRESS", ".", "In", "the", "name", "of", "slightly", "smaller", "debug", "output", ",", "and", "to", "cater", "to", "general", "assembler", "lossage", ",", "recognize", "PIC+GOTOFF", "and", "turn", "it", "back", "into", "a", "direct", "symbol", "reference", "."], "TS_V_token": ["or1k", "1", "0", "0", "0", "0", "1", "1", "0", "0"], "File": "or1k", "Func": "or1k_delegitimize_address", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20296, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", ">=", "CodeGenOpt", "::", "Aggressive", "&&", "EnableLoadStoreOpt", ")", "addPass", "(", "createAArch64LoadStoreOptimizationPass", "(", ")", ")", ";", "if", "(", "EnableA53Fix835769", ")", "addPass", "(", "createAArch64A53Fix835769", "(", ")", ")", ";", "if", "(", "BranchRelaxation", ")", "addPass", "(", "&", "BranchRelaxationPassID", ")", ";", "if", "(", "EnableBranchTargets", ")", "addPass", "(", "createAArch64BranchTargetsPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableCompressJumpTables", ")", "addPass", "(", "createAArch64CompressJumpTablesPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableCollectLOH", "&&", "TM", "->", "getTargetTriple", "(", ")", ".", "isOSBinFormatMachO", "(", ")", ")", "addPass", "(", "createAArch64CollectLOHPass", "(", ")", ")", ";", "}", ""], "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", "AArch64", "AArch64"], "File": "AArch64TargetMachine (2)3", "Func": "addPreEmitPass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20297, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCSection", "*", "SystemZMCAsmInfo", "::", "getNonexecutableStackSection", "(", "MCContext", "&", "Ctx", ")", "const", "{", "return", "Ctx", ".", "getELFSection", "(", "\".note.GNU-stack\"", ",", "ELF", "::", "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": "SystemZMCAsmInfo", "Func": "getNonexecutableStackSection", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20298, "Length": 34, "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": ["AArch64"], "File": "AArch64PromoteConstant (2)", "Func": "runOnModule", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20299, "Length": 48, "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": 20300, "Length": 429, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "X86RegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "{", "return", "&", "getInstrInfo", "(", ")", "->", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["X86", "X86"], "File": "X86TargetMachine18", "Func": "getRegisterInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20301, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "get_template", "(", "state_t", "state", ",", "int", "pos", ")", "{", "switch", "(", "pos", ")", "{", "case", "3", ":", "if", "(", "cpu_unit_reservation_p", "(", "state", ",", "_0mmi_", ")", ")", "return", "1", ";", "else", "if", "(", "cpu_unit_reservation_p", "(", "state", ",", "_0mii_", ")", ")", "return", "0", ";", "else", "if", "(", "cpu_unit_reservation_p", "(", "state", ",", "_0mmb_", ")", ")", "return", "7", ";", "else", "if", "(", "cpu_unit_reservation_p", "(", "state", ",", "_0mib_", ")", ")", "return", "6", ";", "else", "if", "(", "cpu_unit_reservation_p", "(", "state", ",", "_0mbb_", ")", ")", "return", "5", ";", "else", "if", "(", "cpu_unit_reservation_p", "(", "state", ",", "_0bbb_", ")", ")", "return", "4", ";", "else", "if", "(", "cpu_unit_reservation_p", "(", "state", ",", "_0mmf_", ")", ")", "return", "3", ";", "else", "if", "(", "cpu_unit_reservation_p", "(", "state", ",", "_0mfi_", ")", ")", "return", "2", ";", "else", "if", "(", "cpu_unit_reservation_p", "(", "state", ",", "_0mfb_", ")", ")", "return", "8", ";", "else", "if", "(", "cpu_unit_reservation_p", "(", "state", ",", "_0mlx_", ")", ")", "return", "9", ";", "else", "gcc_unreachable", "(", ")", ";", "case", "6", ":", "if", "(", "cpu_unit_reservation_p", "(", "state", ",", "_1mmi_", ")", ")", "return", "1", ";", "else", "if", "(", "cpu_unit_reservation_p", "(", "state", ",", "_1mii_", ")", ")", "return", "0", ";", "else", "if", "(", "cpu_unit_reservation_p", "(", "state", ",", "_1mmb_", ")", ")", "return", "7", ";", "else", "if", "(", "cpu_unit_reservation_p", "(", "state", ",", "_1mib_", ")", ")", "return", "6", ";", "else", "if", "(", "cpu_unit_reservation_p", "(", "state", ",", "_1mbb_", ")", ")", "return", "5", ";", "else", "if", "(", "cpu_unit_reservation_p", "(", "state", ",", "_1bbb_", ")", ")", "return", "4", ";", "else", "if", "(", "_1mmf_", ">=", "0", "&&", "cpu_unit_reservation_p", "(", "state", ",", "_1mmf_", ")", ")", "return", "3", ";", "else", "if", "(", "cpu_unit_reservation_p", "(", "state", ",", "_1mfi_", ")", ")", "return", "2", ";", "else", "if", "(", "cpu_unit_reservation_p", "(", "state", ",", "_1mfb_", ")", ")", "return", "8", ";", "else", "if", "(", "cpu_unit_reservation_p", "(", "state", ",", "_1mlx_", ")", ")", "return", "9", ";", "else", "gcc_unreachable", "(", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["The", "function", "returns", "code", "of", "a", "possible", "template", "for", "given", "position", "and", "state", ".", "The", "function", "should", "be", "called", "only", "with", "2", "values", "of", "position", "equal", "to", "3", "or", "6", ".", "We", "avoid", "generating", "F", "NOPs", "by", "putting", "templates", "containing", "F", "insns", "at", "the", "end", "of", "the", "template", "search", "because", "undocumented", "anomaly", "in", "McKinley", "derived", "cores", "which", "can", "cause", "stalls", "if", "an", "F-unit", "insn", "(", "including", "a", "NOP", ")", "is", "issued", "within", "a", "six-cycle", "window", "after", "reading", "certain", "application", "registers", "(", "such", "as", "ar.bsp", ")", ".", "Furthermore", ",", "power-considerations", "also", "argue", "against", "the", "use", "of", "F-unit", "instructions", "unless", "they", "'re", "really", "needed", "."], "TS_V_token": ["ia64", "3", "1", "0", "7", "6", "5", "4", "3", "2", "8", "9", "6", "1", "0", "7", "6", "5", "4", "0", "3", "2", "8", "9"], "File": "ia64", "Func": "get_template", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20302, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "AArch64TargetStreamer", "::", "addConstantPoolEntry", "(", "const", "MCExpr", "*", "Expr", ",", "unsigned", "Size", ")", "{", "return", "ConstantPools", "->", "addEntry", "(", "Streamer", ",", "Expr", ",", "Size", ")", ";", "}", ""], "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": "AArch64TargetStreamer1", "Func": "addConstantPoolEntry", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20303, "Length": 29, "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", "(", "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", ")", ".", "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::GPRPair_with_gsub_1_in_rGPRRegClass", "ARM::t2STRDi8", "ARM::gsub_0", "ARM::gsub_1", "0", "0", "ARMCC::AL", "ARM"], "File": "Thumb2InstrInfo (2)1", "Func": "storeRegToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20304, "Length": 327, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_save_callee_saves", "(", "machine_mode", "mode", ",", "poly_int64", "start_offset", ",", "unsigned", "start", ",", "unsigned", "limit", ",", "bool", "skip_wb", ")", "{", "rtx_insn", "*", "insn", ";", "unsigned", "regno", ";", "unsigned", "regno2", ";", "for", "(", "regno", "=", "aarch64_next_callee_save", "(", "start", ",", "limit", ")", ";", "regno", "<=", "limit", ";", "regno", "=", "aarch64_next_callee_save", "(", "regno", "+", "1", ",", "limit", ")", ")", "{", "rtx", "reg", ",", "mem", ";", "poly_int64", "offset", ";", "if", "(", "skip_wb", "&&", "(", "regno", "==", "cfun", "->", "machine", "->", "frame", ".", "wb_candidate1", "||", "regno", "==", "cfun", "->", "machine", "->", "frame", ".", "wb_candidate2", ")", ")", "continue", ";", "if", "(", "cfun", "->", "machine", "->", "reg_is_wrapped_separately", "[", "regno", "]", ")", "continue", ";", "reg", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "offset", "=", "start_offset", "+", "cfun", "->", "machine", "->", "frame", ".", "reg_offset", "[", "regno", "]", ";", "mem", "=", "gen_frame_mem", "(", "mode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_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", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "insn", "=", "emit_insn", "(", "aarch64_gen_store_pair", "(", "mode", ",", "mem", ",", "reg", ",", "mem2", ",", "reg2", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "XVECEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ",", "1", ")", ")", "=", "1", ";", "regno", "=", "regno2", ";", "}", "else", "insn", "=", "emit_move_insn", "(", "mem", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "}", ""], "natrual_language": ["Emit", "code", "to", "save", "the", "callee-saved", "registers", "from", "register", "number", "START", "to", "LIMIT", "to", "the", "stack", "at", "the", "location", "starting", "at", "offset", "START_OFFSET", ",", "skipping", "any", "write-back", "candidates", "if", "SKIP_WB", "is", "true", "."], "TS_V_token": ["aarch64", "1", "1", "0", "1", "1", "1"], "File": "aarch645", "Func": "aarch64_save_callee_saves", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20305, "Length": 305, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Instruction", "*", "ARMTargetLowering", "::", "emitLeadingFence", "(", "IRBuilderBase", "&", "Builder", ",", "Instruction", "*", "Inst", ",", "AtomicOrdering", "Ord", ")", "const", "{", "switch", "(", "Ord", ")", "{", "case", "AtomicOrdering", "::", "NotAtomic", ":", "case", "AtomicOrdering", "::", "Unordered", ":", "llvm_unreachable", "(", "\"Invalid fence: unordered/non-atomic\"", ")", ";", "case", "AtomicOrdering", "::", "Monotonic", ":", "case", "AtomicOrdering", "::", "Acquire", ":", "return", "nullptr", ";", "case", "AtomicOrdering", "::", "SequentiallyConsistent", ":", "if", "(", "!", "Inst", "->", "hasAtomicStore", "(", ")", ")", "return", "nullptr", ";", "LLVM_FALLTHROUGH", ";", "case", "AtomicOrdering", "::", "Release", ":", "case", "AtomicOrdering", "::", "AcquireRelease", ":", "if", "(", "Subtarget", "->", "preferISHSTBarriers", "(", ")", ")", "return", "makeDMB", "(", "Builder", ",", "ARM_MB", "::", "ISHST", ")", ";", "else", "return", "makeDMB", "(", "Builder", ",", "ARM_MB", "::", "ISH", ")", ";", "}", "llvm_unreachable", "(", "\"Unknown fence ordering in emitLeadingFence\"", ")", ";", "}", ""], "natrual_language": ["Custom", "Lower", "{", "."], "TS_V_token": ["ARM", "ARM", "\"Invalid fence: unordered/non-atomic\"", "ARM_MB::ISHST", "ARM_MB::ISH", "\"Unknown fence ordering in emitLeadingFence\""], "File": "ARMISelLowering (2)5", "Func": "emitLeadingFence", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20306, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Cpu0 Assmebly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Cpu0", "\"Cpu0 Assmebly Printer\""], "File": "Cpu0AsmPrinter3", "Func": "getPassName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20307, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isThroughputPattern", "(", "MachineCombinerPattern", "Pattern", ")", "const", "{", "switch", "(", "Pattern", ")", "{", "default", ":", "break", ";", "case", "MachineCombinerPattern", "::", "FMULADDS_OP1", ":", "case", "MachineCombinerPattern", "::", "FMULADDS_OP2", ":", "case", "MachineCombinerPattern", "::", "FMULSUBS_OP1", ":", "case", "MachineCombinerPattern", "::", "FMULSUBS_OP2", ":", "case", "MachineCombinerPattern", "::", "FMULADDD_OP1", ":", "case", "MachineCombinerPattern", "::", "FMULADDD_OP2", ":", "case", "MachineCombinerPattern", "::", "FMULSUBD_OP1", ":", "case", "MachineCombinerPattern", "::", "FMULSUBD_OP2", ":", "case", "MachineCombinerPattern", "::", "FNMULSUBS_OP1", ":", "case", "MachineCombinerPattern", "::", "FNMULSUBD_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv1i32_indexed_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv1i32_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLAv1i64_indexed_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv1i64_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLAv2f32_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLAv2f32_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv2f64_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv2f64_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLAv2i32_indexed_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv2i32_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLAv2i64_indexed_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv2i64_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLAv4f32_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv4f32_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLAv4i32_indexed_OP1", ":", "case", "MachineCombinerPattern", "::", "FMLAv4i32_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv1i32_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv1i64_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv2i32_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv2i64_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv2f32_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv2f64_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv4i32_indexed_OP2", ":", "case", "MachineCombinerPattern", "::", "FMLSv4f32_OP2", ":", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "when", "a", "code", "sequence", "can", "improve", "throughput", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64InstrInfo113", "Func": "isThroughputPattern", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20308, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "address_offset", "(", "rtx", "op", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "==", "PRE_INC", "||", "GET_CODE", "(", "op", ")", "==", "PRE_DEC", ")", "op", "=", "XEXP", "(", "op", ",", "0", ")", ";", "else", "if", "(", "GET_CODE", "(", "op", ")", "==", "PRE_MODIFY", "||", "GET_CODE", "(", "op", ")", "==", "LO_SUM", ")", "op", "=", "XEXP", "(", "op", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "CONST", ")", "op", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "PLUS", ")", "op", "=", "XEXP", "(", "op", ",", "1", ")", ";", "if", "(", "CONST_INT_P", "(", "op", ")", ")", "return", "op", ";", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Given", "an", "address", ",", "return", "a", "constant", "offset", "term", "if", "one", "exists", "."], "TS_V_token": ["rs6000", "0", "1", "0", "1"], "File": "rs6000", "Func": "address_offset", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20309, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmBackend", "::", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "return", "!", "isInt", "<", "8", ">", "(", "Value", ")", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["X86", "X86", "8"], "File": "X86AsmBackend (2)1", "Func": "fixupNeedsRelaxation", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20310, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "canMergeStoresTo", "(", "unsigned", "AddressSpace", ",", "EVT", "MemVT", ",", "const", "SelectionDAG", "&", "DAG", ")", "const", "{", "bool", "NoFloat", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ";", "if", "(", "NoFloat", ")", "{", "unsigned", "MaxIntSize", "=", "Subtarget", ".", "is64Bit", "(", ")", "?", "64", ":", "32", ";", "return", "(", "MemVT", ".", "getSizeInBits", "(", ")", "<=", "MaxIntSize", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "if", "it", "'s", "reasonable", "to", "merge", "stores", "to", "MemVT", "size", "."], "TS_V_token": ["X86", "X86", "64", "32"], "File": "X86ISelLowering143", "Func": "canMergeStoresTo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20311, "Length": 72, "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": 20312, "Length": 103, "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", ".", "getSubtargetImpl", "(", ")", "->", "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": "ARMHazardRecognizer23", "Func": "getHazardType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20313, "Length": 291, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "legitimize_pic_address", "(", "rtx", "orig", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "reg", ")", "{", "if", "(", "GET_CODE", "(", "orig", ")", "==", "SYMBOL_REF", ")", "{", "rtx", "pic_ref", ",", "address", ";", "rtx", "insn", ";", "if", "(", "reg", "==", "0", ")", "{", "gcc_assert", "(", "!", "reload_in_progress", "&&", "!", "reload_completed", ")", ";", "reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "}", "if", "(", "flag_pic", "==", "2", ")", "{", "rtx", "temp_reg", "=", "(", "(", "reload_in_progress", "||", "reload_completed", ")", "?", "reg", ":", "gen_reg_rtx", "(", "Pmode", ")", ")", ";", "if", "(", "TARGET_ARCH64", ")", "{", "emit_insn", "(", "gen_movdi_high_pic", "(", "temp_reg", ",", "orig", ")", ")", ";", "emit_insn", "(", "gen_movdi_lo_sum_pic", "(", "temp_reg", ",", "temp_reg", ",", "orig", ")", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_movsi_high_pic", "(", "temp_reg", ",", "orig", ")", ")", ";", "emit_insn", "(", "gen_movsi_lo_sum_pic", "(", "temp_reg", ",", "temp_reg", ",", "orig", ")", ")", ";", "}", "address", "=", "temp_reg", ";", "}", "else", "address", "=", "orig", ";", "pic_ref", "=", "gen_const_mem", "(", "Pmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "pic_offset_table_rtx", ",", "address", ")", ")", ";", "current_function_uses_pic_offset_table", "=", "1", ";", "insn", "=", "emit_move_insn", "(", "reg", ",", "pic_ref", ")", ";", "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", "(", "reg", "==", "0", ")", "{", "gcc_assert", "(", "!", "reload_in_progress", "&&", "!", "reload_completed", ")", ";", "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", "(", "SMALL_INT", "(", "offset", ")", ")", "return", "plus_constant", "(", "base", ",", "INTVAL", "(", "offset", ")", ")", ";", "else", "if", "(", "!", "reload_in_progress", "&&", "!", "reload_completed", ")", "offset", "=", "force_reg", "(", "Pmode", ",", "offset", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "return", "gen_rtx_PLUS", "(", "Pmode", ",", "base", ",", "offset", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "orig", ")", "==", "LABEL_REF", ")", "current_function_uses_pic_offset_table", "=", "1", ";", "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": ["sparc", "0", "2", "1", "0", "0", "0", "0", "0", "0", "0", "0", "1", "0", "1"], "File": "sparc3", "Func": "legitimize_pic_address", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20314, "Length": 410, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "X86_64GOT", "&", "X86_64GNULDBackend", "::", "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": ["X86", "X86", "X86"], "File": "X86LDBackend", "Func": "getGOT", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20315, "Length": 22, "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": 20316, "Length": 16, "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", ";", "const", "CallBase", "*", "CB", "=", "CLI", ".", "CB", ";", "if", "(", "isTailCall", ")", "{", "if", "(", "Subtarget", ".", "useLongCalls", "(", ")", "&&", "!", "(", "CB", "&&", "CB", "->", "isMustTailCall", "(", ")", ")", ")", "isTailCall", "=", "false", ";", "else", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", "&&", "Subtarget", ".", "isPPC64", "(", ")", ")", "isTailCall", "=", "IsEligibleForTailCallOptimization_64SVR4", "(", "Callee", ",", "CallConv", ",", "CB", ",", "isVarArg", ",", "Outs", ",", "Ins", ",", "DAG", ")", ";", "else", "isTailCall", "=", "IsEligibleForTailCallOptimization", "(", "Callee", ",", "CallConv", ",", "isVarArg", ",", "Ins", ",", "DAG", ")", ";", "if", "(", "isTailCall", ")", "{", "++", "NumTailCalls", ";", "if", "(", "!", "getTargetMachine", "(", ")", ".", "Options", ".", "GuaranteedTailCallOpt", ")", "++", "NumSiblingCalls", ";", "assert", "(", "(", "Subtarget", ".", "isUsingPCRelativeCalls", "(", ")", "||", "isa", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", ")", "&&", "\"Callee should be an llvm::Function object.\"", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"TCO caller: \"", "<<", "DAG", ".", "getMachineFunction", "(", ")", ".", "getName", "(", ")", "<<", "\"\\nTCO callee: \"", ")", ";", "LLVM_DEBUG", "(", "Callee", ".", "dump", "(", ")", ")", ";", "}", "}", "if", "(", "!", "isTailCall", "&&", "CB", "&&", "CB", "->", "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", ")", ";", "CallFlags", "CFlags", "(", "CallConv", ",", "isTailCall", ",", "isVarArg", ",", "isPatchPoint", ",", "isIndirectCall", "(", "Callee", ",", "DAG", ",", "Subtarget", ",", "isPatchPoint", ")", ",", "Subtarget", ".", "is64BitELFABI", "(", ")", "&&", "any_of", "(", "Outs", ",", "[", "]", "(", "ISD", "::", "OutputArg", "Arg", ")", "{", "return", "Arg", ".", "Flags", ".", "isNest", "(", ")", ";", "}", ")", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", "&&", "Subtarget", ".", "isPPC64", "(", ")", ")", "return", "LowerCall_64SVR4", "(", "Chain", ",", "Callee", ",", "CFlags", ",", "Outs", ",", "OutVals", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ",", "CB", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "return", "LowerCall_32SVR4", "(", "Chain", ",", "Callee", ",", "CFlags", ",", "Outs", ",", "OutVals", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ",", "CB", ")", ";", "if", "(", "Subtarget", ".", "isAIXABI", "(", ")", ")", "return", "LowerCall_AIX", "(", "Chain", ",", "Callee", ",", "CFlags", ",", "Outs", ",", "OutVals", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ",", "CB", ")", ";", "return", "LowerCall_Darwin", "(", "Chain", ",", "Callee", ",", "CFlags", ",", "Outs", ",", "OutVals", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ",", "CB", ")", ";", "}", ""], "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.\"", "\"TCO caller: \"", "\"\\nTCO callee: \"", "\"failed to perform tail call elimination on a call \"", "\"site marked musttail\"", "ISD::OutputArg", "PPC"], "File": "PPCISelLowering101", "Func": "LowerCall", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20317, "Length": 508, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_atomic_assign_expand_fenv", "(", "tree", "*", "hold", ",", "tree", "*", "clear", ",", "tree", "*", "update", ")", "{", "if", "(", "!", "TARGET_FPU", ")", "return", ";", "const", "unsigned", "HOST_WIDE_INT", "accrued_exception_mask", "=", "0x1f", "<<", "5", ";", "const", "unsigned", "HOST_WIDE_INT", "trap_enable_mask", "=", "0x1f", "<<", "23", ";", "tree", "fenv_var", "=", "create_tmp_var_raw", "(", "unsigned_type_node", ")", ";", "TREE_ADDRESSABLE", "(", "fenv_var", ")", "=", "1", ";", "tree", "fenv_addr", "=", "build_fold_addr_expr", "(", "fenv_var", ")", ";", "tree", "stfsr", "=", "sparc_builtins", "[", "SPARC_BUILTIN_STFSR", "]", ";", "tree", "hold_stfsr", "=", "build4", "(", "TARGET_EXPR", ",", "unsigned_type_node", ",", "fenv_var", ",", "build_call_expr", "(", "stfsr", ",", "1", ",", "fenv_addr", ")", ",", "NULL_TREE", ",", "NULL_TREE", ")", ";", "tree", "tmp1_var", "=", "create_tmp_var_raw", "(", "unsigned_type_node", ")", ";", "TREE_ADDRESSABLE", "(", "tmp1_var", ")", "=", "1", ";", "tree", "masked_fenv_var", "=", "build2", "(", "BIT_AND_EXPR", ",", "unsigned_type_node", ",", "fenv_var", ",", "build_int_cst", "(", "unsigned_type_node", ",", "~", "(", "accrued_exception_mask", "|", "trap_enable_mask", ")", ")", ")", ";", "tree", "hold_mask", "=", "build4", "(", "TARGET_EXPR", ",", "unsigned_type_node", ",", "tmp1_var", ",", "masked_fenv_var", ",", "NULL_TREE", ",", "NULL_TREE", ")", ";", "tree", "tmp1_addr", "=", "build_fold_addr_expr", "(", "tmp1_var", ")", ";", "tree", "ldfsr", "=", "sparc_builtins", "[", "SPARC_BUILTIN_LDFSR", "]", ";", "tree", "hold_ldfsr", "=", "build_call_expr", "(", "ldfsr", ",", "1", ",", "tmp1_addr", ")", ";", "*", "hold", "=", "compound_expr", "(", "compound_expr", "(", "hold_stfsr", ",", "hold_mask", ")", ",", "hold_ldfsr", ")", ";", "*", "clear", "=", "build_call_expr", "(", "ldfsr", ",", "1", ",", "tmp1_addr", ")", ";", "tree", "tmp2_var", "=", "create_tmp_var_raw", "(", "unsigned_type_node", ")", ";", "TREE_ADDRESSABLE", "(", "tmp2_var", ")", "=", "1", ";", "tree", "tmp2_addr", "=", "build_fold_addr_expr", "(", "tmp2_var", ")", ";", "tree", "update_stfsr", "=", "build4", "(", "TARGET_EXPR", ",", "unsigned_type_node", ",", "tmp2_var", ",", "build_call_expr", "(", "stfsr", ",", "1", ",", "tmp2_addr", ")", ",", "NULL_TREE", ",", "NULL_TREE", ")", ";", "tree", "update_ldfsr", "=", "build_call_expr", "(", "ldfsr", ",", "1", ",", "fenv_addr", ")", ";", "tree", "atomic_feraiseexcept", "=", "builtin_decl_implicit", "(", "BUILT_IN_ATOMIC_FERAISEEXCEPT", ")", ";", "tree", "update_call", "=", "build_call_expr", "(", "atomic_feraiseexcept", ",", "1", ",", "fold_convert", "(", "integer_type_node", ",", "tmp2_var", ")", ")", ";", "if", "(", "SPARC_LOW_FE_EXCEPT_VALUES", ")", "{", "tree", "shifted_tmp2_var", "=", "build2", "(", "RSHIFT_EXPR", ",", "unsigned_type_node", ",", "tmp2_var", ",", "build_int_cst", "(", "unsigned_type_node", ",", "5", ")", ")", ";", "tree", "update_shift", "=", "build2", "(", "MODIFY_EXPR", ",", "void_type_node", ",", "tmp2_var", ",", "shifted_tmp2_var", ")", ";", "update_call", "=", "compound_expr", "(", "update_shift", ",", "update_call", ")", ";", "}", "*", "update", "=", "compound_expr", "(", "compound_expr", "(", "update_stfsr", ",", "update_ldfsr", ")", ",", "update_call", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ATOMIC_ASSIGN_EXPAND_FENV", "hook", "."], "TS_V_token": ["sparc", "0x1f", "5", "0x1f", "23", "1", "1", "1", "1", "1", "1", "1", "1", "1", "5"], "File": "sparc", "Func": "sparc_atomic_assign_expand_fenv", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20318, "Length": 359, "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", "(", "createInterleavedAccessPass", "(", ")", ")", ";", "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", "1"], "File": "AArch64TargetMachine16", "Func": "addIRPasses", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20319, "Length": 146, "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", "(", ")", ")", "{", "SectionKind", "Kind", "=", "CPE", ".", "getSectionKind", "(", "TM", ".", "getDataLayout", "(", ")", ")", ";", "const", "Constant", "*", "C", "=", "CPE", ".", "Val", ".", "ConstVal", ";", "if", "(", "const", "MCSectionCOFF", "*", "S", "=", "dyn_cast", "<", "MCSectionCOFF", ">", "(", "getObjFileLowering", "(", ")", ".", "getSectionForConstant", "(", "Kind", ",", "C", ")", ")", ")", "{", "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": "X86AsmPrinter23", "Func": "GetCPISymbol", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20320, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "DestSourcePair", ">", "ARMBaseInstrInfo", "::", "isCopyInstrImpl", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "!", "MI", ".", "isMoveReg", "(", ")", "||", "(", "MI", ".", "getOpcode", "(", ")", "==", "ARM", "::", "VORRq", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "!=", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ")", "return", "None", ";", "return", "DestSourcePair", "{", "MI", ".", "getOperand", "(", "0", ")", ",", "MI", ".", "getOperand", "(", "1", ")", "}", ";", "}", ""], "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": ["ARM", "ARM", "ARM::VORRq", "1", "2", "0", "1"], "File": "ARMBaseInstrInfo110", "Func": "isCopyInstrImpl", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20321, "Length": 80, "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": 20322, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0LongBranch", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "const", "Cpu0Subtarget", "&", "STI", "=", "static_cast", "<", "const", "Cpu0Subtarget", "&", ">", "(", "F", ".", "getSubtarget", "(", ")", ")", ";", "const", "Cpu0InstrInfo", "*", "TII", "=", "static_cast", "<", "const", "Cpu0InstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "LongBranchSeqSize", "=", "!", "IsPIC", "?", "2", ":", "10", ";", "if", "(", "!", "STI", ".", "enableLongBranchPass", "(", ")", ")", "return", "false", ";", "if", "(", "IsPIC", "&&", "static_cast", "<", "const", "Cpu0TargetMachine", "&", ">", "(", "TM", ")", ".", "getABI", "(", ")", ".", "IsO32", "(", ")", "&&", "F", ".", "getInfo", "<", "Cpu0MachineFunctionInfo", ">", "(", ")", "->", "globalBaseRegSet", "(", ")", ")", "emitGPDisp", "(", "F", ",", "TII", ")", ";", "MF", "=", "&", "F", ";", "initMBBInfo", "(", ")", ";", "SmallVectorImpl", "<", "MBBInfo", ">", "::", "iterator", "I", ",", "E", "=", "MBBInfos", ".", "end", "(", ")", ";", "bool", "EverMadeChange", "=", "false", ",", "MadeChange", "=", "true", ";", "while", "(", "MadeChange", ")", "{", "MadeChange", "=", "false", ";", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "!", "I", "->", "Br", "||", "I", "->", "HasLongBranch", ")", "continue", ";", "int", "ShVal", "=", "4", ";", "int64_t", "Offset", "=", "computeOffset", "(", "I", "->", "Br", ")", "/", "ShVal", ";", "if", "(", "!", "ForceLongBranch", "&&", "isInt", "<", "16", ">", "(", "Offset", ")", ")", "continue", ";", "I", "->", "HasLongBranch", "=", "true", ";", "I", "->", "Size", "+=", "LongBranchSeqSize", "*", "4", ";", "++", "LongBranches", ";", "EverMadeChange", "=", "MadeChange", "=", "true", ";", "}", "}", "if", "(", "!", "EverMadeChange", ")", "return", "true", ";", "if", "(", "IsPIC", ")", "{", "uint64_t", "Address", "=", "0", ";", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "Address", "+=", "I", "->", "Size", ",", "++", "I", ")", "I", "->", "Address", "=", "Address", ";", "}", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "if", "(", "I", "->", "HasLongBranch", ")", "expandToLongBranch", "(", "*", "I", ")", ";", "MF", "->", "RenumberBlocks", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "2", "10", "Cpu0", "Cpu0", "4", "16", "4", "0"], "File": "Cpu0LongBranch", "Func": "runOnMachineFunction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20323, "Length": 329, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "emit_fusion_p9_store", "(", "rtx", "mem", ",", "rtx", "reg", ",", "rtx", "tmp_reg", ")", "{", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "reg", ")", ";", "rtx", "hi", ";", "rtx", "lo", ";", "rtx", "addr", ";", "const", "char", "*", "store_string", ";", "int", "r", ";", "if", "(", "GET_CODE", "(", "reg", ")", "==", "SUBREG", ")", "{", "gcc_assert", "(", "SUBREG_BYTE", "(", "reg", ")", "==", "0", ")", ";", "reg", "=", "SUBREG_REG", "(", "reg", ")", ";", "}", "if", "(", "!", "REG_P", "(", "reg", ")", ")", "fatal_insn", "(", "\"emit_fusion_p9_store, bad reg #1\"", ",", "reg", ")", ";", "r", "=", "REGNO", "(", "reg", ")", ";", "if", "(", "FP_REGNO_P", "(", "r", ")", ")", "{", "if", "(", "mode", "==", "SFmode", ")", "store_string", "=", "\"stfs\"", ";", "else", "if", "(", "mode", "==", "DFmode", ")", "store_string", "=", "\"stfd\"", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "else", "if", "(", "ALTIVEC_REGNO_P", "(", "r", ")", "&&", "TARGET_P9_DFORM_SCALAR", ")", "{", "if", "(", "mode", "==", "SFmode", ")", "store_string", "=", "\"stxssp\"", ";", "else", "if", "(", "mode", "==", "DFmode", "||", "mode", "==", "DImode", ")", "store_string", "=", "\"stxsd\"", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "else", "if", "(", "INT_REGNO_P", "(", "r", ")", ")", "{", "switch", "(", "mode", ")", "{", "case", "QImode", ":", "store_string", "=", "\"stb\"", ";", "break", ";", "case", "HImode", ":", "store_string", "=", "\"sth\"", ";", "break", ";", "case", "SImode", ":", "case", "SFmode", ":", "store_string", "=", "\"stw\"", ";", "break", ";", "case", "DImode", ":", "case", "DFmode", ":", "if", "(", "!", "TARGET_POWERPC64", ")", "gcc_unreachable", "(", ")", ";", "store_string", "=", "\"std\"", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "fatal_insn", "(", "\"emit_fusion_p9_store, bad reg #2\"", ",", "reg", ")", ";", "if", "(", "!", "MEM_P", "(", "mem", ")", ")", "fatal_insn", "(", "\"emit_fusion_p9_store not MEM\"", ",", "mem", ")", ";", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "fusion_split_address", "(", "addr", ",", "&", "hi", ",", "&", "lo", ")", ";", "emit_fusion_addis", "(", "tmp_reg", ",", "hi", ",", "\"power9 store fusion\"", ",", "GET_MODE_NAME", "(", "mode", ")", ")", ";", "emit_fusion_load_store", "(", "reg", ",", "tmp_reg", ",", "lo", ",", "store_string", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Return", "a", "string", "to", "fuse", "an", "addis", "instruction", "with", "a", "store", "using", "extended", "fusion", ".", "The", "address", "that", "is", "used", "is", "the", "logical", "address", "that", "was", "formed", "during", "peephole2", ":", "(", "lo_sum", "(", "high", ")", "(", "low-part", ")", ")", "The", "code", "is", "complicated", ",", "so", "we", "call", "output_asm_insn", "directly", ",", "and", "just", "return", "``", "''", "."], "TS_V_token": ["rs6000", "0", "\"emit_fusion_p9_store, bad reg #1\"", "\"stfs\"", "\"stfd\"", "\"stxssp\"", "\"stxsd\"", "\"stb\"", "\"sth\"", "\"stw\"", "\"std\"", "\"emit_fusion_p9_store, bad reg #2\"", "\"emit_fusion_p9_store not MEM\"", "0", "\"power9 store fusion\"", "\"\""], "File": "rs60006", "Func": "emit_fusion_p9_store", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20324, "Length": 313, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "unspec_caller_rtx_p", "(", "rtx", "pat", ")", "{", "switch", "(", "GET_CODE", "(", "pat", ")", ")", "{", "case", "CONST", ":", "return", "unspec_caller_rtx_p", "(", "XEXP", "(", "pat", ",", "0", ")", ")", ";", "case", "PLUS", ":", "case", "MINUS", ":", "if", "(", "unspec_caller_rtx_p", "(", "XEXP", "(", "pat", ",", "0", ")", ")", ")", "return", "true", ";", "return", "unspec_caller_rtx_p", "(", "XEXP", "(", "pat", ",", "1", ")", ")", ";", "case", "UNSPEC", ":", "if", "(", "XINT", "(", "pat", ",", "1", ")", "==", "UNSPEC_CALLER", ")", "return", "true", ";", "default", ":", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Check", "if", "PAT", "includes", "UNSPEC_CALLER", "unspec", "pattern", "."], "TS_V_token": ["sh", "0", "0", "1", "1"], "File": "sh3", "Func": "unspec_caller_rtx_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20325, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "PPCRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "const", "PPCFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "ZERO", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "FP", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "BP", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "CTR", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "CTR8", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R1", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "LR", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "LR8", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "RM", ")", ";", "if", "(", "!", "Subtarget", ".", "isDarwinABI", "(", ")", "||", "!", "Subtarget", ".", "hasAltivec", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "VRSAVE", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "const", "PPCFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", ";", "if", "(", "!", "TM", ".", "isPPC64", "(", ")", "||", "FuncInfo", "->", "usesTOCBasePtr", "(", ")", "||", "MF", ".", "hasInlineAsm", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R2", ")", ";", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R13", ")", ";", "}", "if", "(", "TM", ".", "isPPC64", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R13", ")", ";", "if", "(", "TFI", "->", "needsFP", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R31", ")", ";", "bool", "IsPositionIndependent", "=", "TM", ".", "isPositionIndependent", "(", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "{", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", "&&", "!", "TM", ".", "isPPC64", "(", ")", "&&", "IsPositionIndependent", ")", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R29", ")", ";", "else", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R30", ")", ";", "}", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", "&&", "!", "TM", ".", "isPPC64", "(", ")", "&&", "IsPositionIndependent", ")", "markSuperRegs", "(", "Reserved", ",", "PPC", "::", "R30", ")", ";", "if", "(", "!", "Subtarget", ".", "hasAltivec", "(", ")", ")", "for", "(", "TargetRegisterClass", "::", "iterator", "I", "=", "PPC", "::", "VRRCRegClass", ".", "begin", "(", ")", ",", "IE", "=", "PPC", "::", "VRRCRegClass", ".", "end", "(", ")", ";", "I", "!=", "IE", ";", "++", "I", ")", "markSuperRegs", "(", "Reserved", ",", "*", "I", ")", ";", "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": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC::ZERO", "PPC::FP", "PPC::BP", "PPC::CTR", "PPC::CTR8", "PPC::R1", "PPC::LR", "PPC::LR8", "PPC::RM", "PPC::VRSAVE", "PPC", "PPC", "PPC", "PPC::R2", "PPC::R13", "PPC", "PPC::R13", "PPC::R31", "PPC", "PPC::R29", "PPC::R30", "PPC", "PPC::R30", "PPC::VRRCRegClass", "PPC::VRRCRegClass"], "File": "PPCRegisterInfo (2)2", "Func": "getReservedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20326, "Length": 389, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_verify_type_context", "(", "location_t", "loc", ",", "type_context_kind", "context", ",", "const_tree", "type", ",", "bool", "silent_p", ")", "{", "return", "aarch64_sve", "::", "verify_type_context", "(", "loc", ",", "context", ",", "type", ",", "silent_p", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VERIFY_TYPE_CONTEXT", "."], "TS_V_token": ["aarch64", "aarch64_sve::verify_type_context"], "File": "aarch64", "Func": "aarch64_verify_type_context", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20327, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sparc_libcall_value", "(", "machine_mode", "mode", ",", "const_rtx", "fun", "ATTRIBUTE_UNUSED", ")", "{", "return", "sparc_function_value_1", "(", "NULL_TREE", ",", "mode", ",", "false", ")", ";", "}", ""], "natrual_language": ["Handle", "TARGET_LIBCALL_VALUE", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "sparc_libcall_value", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20328, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCTTIImpl", "::", "getPeelingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "PeelingPreferences", "&", "PP", ")", "{", "BaseT", "::", "getPeelingPreferences", "(", "L", ",", "SE", ",", "PP", ")", ";", "}", ""], "natrual_language": ["Get", "target-customized", "preferences", "for", "the", "generic", "loop", "peeling", "transformation", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCTargetTransformInfo1", "Func": "getPeelingPreferences", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20329, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"ARM64 Store Pair Suppression\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM64", "\"ARM64 Store Pair Suppression\""], "File": "ARM64StorePairSuppress", "Func": "getPassName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20330, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "determineFrameLayout", "(", "MachineFunction", "&", "MF", ")", "{", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "TeeRISCMachineFunctionInfo", "*", "TFI", "=", "MF", ".", "getInfo", "<", "TeeRISCMachineFunctionInfo", ">", "(", ")", ";", "TFI", "->", "adjustLoadArgsFI", "(", "MFI", ")", ";", "TFI", "->", "adjustStoreVarArgsFI", "(", "MFI", ")", ";", "unsigned", "FrameSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Original Frame Size: \"", "<<", "FrameSize", "<<", "\"\\n\"", ")", ";", "unsigned", "TargetAlign", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", "->", "getStackAlignment", "(", ")", ";", "unsigned", "AlignMask", "=", "TargetAlign", "-", "1", ";", "FrameSize", "=", "(", "FrameSize", "+", "AlignMask", ")", "&", "~", "AlignMask", ";", "MFI", "->", "setStackSize", "(", "FrameSize", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Aligned Frame Size: \"", "<<", "FrameSize", "<<", "\"\\n\"", ")", ";", "}", ""], "natrual_language": ["Determine", "the", "frame", "layout", "but", "do", "not", "update", "the", "machine", "function", "."], "TS_V_token": ["TeeRISC", "TeeRISC", "TeeRISC", "\"Original Frame Size: \"", "\"\\n\"", "1", "\"Aligned Frame Size: \"", "\"\\n\""], "File": "TeeRISCFrameLowering", "Func": "determineFrameLayout", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20331, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ArrayRef", "<", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">>", "AArch64InstrInfo", "::", "getSerializableBitmaskMachineOperandTargetFlags", "(", ")", "const", "{", "using", "namespace", "AArch64II", ";", "static", "const", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">", "TargetFlags", "[", "]", "=", "{", "{", "MO_COFFSTUB", ",", "\"aarch64-coffstub\"", "}", ",", "{", "MO_GOT", ",", "\"aarch64-got\"", "}", ",", "{", "MO_NC", ",", "\"aarch64-nc\"", "}", ",", "{", "MO_S", ",", "\"aarch64-s\"", "}", ",", "{", "MO_TLS", ",", "\"aarch64-tls\"", "}", ",", "{", "MO_DLLIMPORT", ",", "\"aarch64-dllimport\"", "}", ",", "{", "MO_PREL", ",", "\"aarch64-prel\"", "}", "}", ";", "return", "makeArrayRef", "(", "TargetFlags", ")", ";", "}", ""], "natrual_language": ["Return", "an", "array", "that", "contains", "the", "bitmask", "target", "flag", "values", "and", "their", "names", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "\"aarch64-coffstub\"", "\"aarch64-got\"", "\"aarch64-nc\"", "\"aarch64-s\"", "\"aarch64-tls\"", "\"aarch64-dllimport\"", "\"aarch64-prel\""], "File": "AArch64InstrInfo10", "Func": "getSerializableBitmaskMachineOperandTargetFlags", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20332, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "ARMBaseRegisterInfo", "::", "getCallPreservedMask", "(", "CallingConv", "::", "ID", ")", "const", "{", "if", "(", "ReserveR9", ")", "return", "CSR_NaCl_RegMask", ";", "return", "(", "STI", ".", "isTargetIOS", "(", ")", "&&", "!", "STI", ".", "isAAPCS_ABI", "(", ")", ")", "?", "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"], "File": "ARMBaseRegisterInfo43", "Func": "getCallPreservedMask", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20333, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZPostRASchedStrategy", "::", "leaveMBB", "(", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"** Leaving \"", "<<", "printMBBReference", "(", "*", "MBB", ")", "<<", "\"\\n\"", ";", ")", ";", "advanceTo", "(", "MBB", "->", "getFirstTerminator", "(", ")", ")", ";", "}", ""], "natrual_language": ["Tell", "the", "strategy", "that", "current", "MBB", "is", "done", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"** Leaving \"", "\"\\n\""], "File": "SystemZMachineScheduler12", "Func": "leaveMBB", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20334, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "aarch64_symbol_type", "aarch64_classify_symbol", "(", "rtx", "x", ",", "rtx", "offset", ",", "enum", "aarch64_symbol_context", "context", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", ")", "{", "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_PIC", ":", "case", "AARCH64_CMODEL_SMALL", ":", "return", "SYMBOL_SMALL_ABSOLUTE", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", ")", "{", "if", "(", "aarch64_cmodel", "==", "AARCH64_CMODEL_LARGE", ")", "return", "SYMBOL_FORCE_TO_MEM", ";", "if", "(", "aarch64_tls_symbol_p", "(", "x", ")", ")", "return", "aarch64_classify_tls_symbol", "(", "x", ")", ";", "switch", "(", "aarch64_cmodel", ")", "{", "case", "AARCH64_CMODEL_TINY", ":", "if", "(", "SYMBOL_REF_WEAK", "(", "x", ")", "||", "INTVAL", "(", "offset", ")", "<", "-", "1048575", "||", "INTVAL", "(", "offset", ")", ">", "1048575", ")", "return", "SYMBOL_FORCE_TO_MEM", ";", "return", "SYMBOL_TINY_ABSOLUTE", ";", "case", "AARCH64_CMODEL_SMALL", ":", "if", "(", "SYMBOL_REF_WEAK", "(", "x", ")", "||", "!", "IN_RANGE", "(", "INTVAL", "(", "offset", ")", ",", "HOST_WIDE_INT_C", "(", "-", "4294967263", ")", ",", "HOST_WIDE_INT_C", "(", "4294967264", ")", ")", ")", "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_PIC", ":", "if", "(", "!", "aarch64_symbol_binds_local_p", "(", "x", ")", ")", "return", "SYMBOL_SMALL_GOT", ";", "return", "SYMBOL_SMALL_ABSOLUTE", ";", "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", "1048575", "1048575", "4294967263", "4294967264"], "File": "aarch642", "Func": "aarch64_classify_symbol", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20335, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "getLargestLegalSuperClass", "(", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "if", "(", "RC", "==", "&", "AArch64", "::", "tcGPR64RegClass", ")", "return", "&", "AArch64", "::", "GPR64RegClass", ";", "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": ["AArch64", "AArch64::tcGPR64RegClass", "AArch64::GPR64RegClass"], "File": "AArch64RegisterInfo19", "Func": "getLargestLegalSuperClass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20336, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "SMShadowTracker", ".", "startFunction", "(", "MF", ")", ";", "CodeEmitter", ".", "reset", "(", "TM", ".", "getTarget", "(", ")", ".", "createMCCodeEmitter", "(", "*", "Subtarget", "->", "getInstrInfo", "(", ")", ",", "MF", ".", "getContext", "(", ")", ")", ")", ";", "EmitFPOData", "=", "Subtarget", "->", "isTargetWin32", "(", ")", "&&", "MF", ".", "getMMI", "(", ")", ".", "getModule", "(", ")", "->", "getCodeViewFlag", "(", ")", ";", "SetupMachineFunction", "(", "MF", ")", ";", "if", "(", "Subtarget", "->", "isTargetCOFF", "(", ")", ")", "{", "bool", "Local", "=", "MF", ".", "getFunction", "(", ")", ".", "hasLocalLinkage", "(", ")", ";", "OutStreamer", "->", "BeginCOFFSymbolDef", "(", "CurrentFnSym", ")", ";", "OutStreamer", "->", "emitCOFFSymbolStorageClass", "(", "Local", "?", "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", "(", ")", ";", "emitXRayTable", "(", ")", ";", "EmitFPOData", "=", "false", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86AsmPrinter50", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20337, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsPassConfig", "::", "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": ["Mips", "Mips"], "File": "MipsTargetMachine (2)1", "Func": "addGlobalInstructionSelect", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20338, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_pad_reg_upward", "(", "machine_mode", "mode", ",", "tree", "type", ")", "{", "if", "(", "type", "!=", "0", "?", "FLOAT_TYPE_P", "(", "type", ")", ":", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", ")", "return", "!", "BYTES_BIG_ENDIAN", ";", "return", "mips_function_arg_padding", "(", "mode", ",", "type", ")", "==", "PAD_UPWARD", ";", "}", ""], "natrual_language": ["Likewise", "BLOCK_REG_PADDING", "(", "MODE", ",", "TYPE", ",", "...", ")", ".", "Return", "!", "BYTES_BIG_ENDIAN", "if", "the", "least", "significant", "byte", "of", "the", "register", "has", "useful", "data", ".", "Return", "the", "opposite", "if", "the", "most", "significant", "byte", "does", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips_pad_reg_upward", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20339, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_solaris_elf_asm_named_section", "(", "const", "char", "*", "name", ",", "unsigned", "int", "flags", ",", "tree", "decl", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "HAVE_COMDAT_GROUP", "&&", "flags", "&", "SECTION_LINKONCE", ")", "{", "solaris_elf_asm_comdat_section", "(", "name", ",", "flags", ",", "decl", ")", ";", "return", ";", "}", "fprintf", "(", "asm_out_file", ",", "\"\\t.section\\t\\\"%s\\\"\"", ",", "name", ")", ";", "if", "(", "!", "(", "flags", "&", "SECTION_DEBUG", ")", ")", "fputs", "(", "\",#alloc\"", ",", "asm_out_file", ")", ";", "if", "(", "flags", "&", "SECTION_WRITE", ")", "fputs", "(", "\",#write\"", ",", "asm_out_file", ")", ";", "if", "(", "flags", "&", "SECTION_TLS", ")", "fputs", "(", "\",#tls\"", ",", "asm_out_file", ")", ";", "if", "(", "flags", "&", "SECTION_CODE", ")", "fputs", "(", "\",#execinstr\"", ",", "asm_out_file", ")", ";", "if", "(", "HAVE_AS_SPARC_NOBITS", ")", "{", "if", "(", "flags", "&", "SECTION_BSS", ")", "fputs", "(", "\",#nobits\"", ",", "asm_out_file", ")", ";", "else", "fputs", "(", "\",#progbits\"", ",", "asm_out_file", ")", ";", "}", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "}", ""], "natrual_language": ["Solaris", "implementation", "of", "TARGET_ASM_NAMED_SECTION", "."], "TS_V_token": ["sparc", "\"\\t.section\\t\\\"%s\\\"\"", "\",#alloc\"", "\",#write\"", "\",#tls\"", "\",#execinstr\"", "\",#nobits\"", "\",#progbits\""], "File": "sparc4", "Func": "sparc_solaris_elf_asm_named_section", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20340, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "*", "aarch64_output_simd_mov_immediate", "(", "rtx", "const_vector", ",", "machine_mode", "mode", ",", "unsigned", "width", ")", "{", "bool", "is_valid", ";", "static", "char", "templ", "[", "40", "]", ";", "const", "char", "*", "mnemonic", ";", "const", "char", "*", "shift_op", ";", "unsigned", "int", "lane_count", "=", "0", ";", "char", "element_char", ";", "struct", "simd_immediate_info", "info", "=", "{", "NULL_RTX", ",", "0", ",", "0", ",", "false", ",", "false", "}", ";", "is_valid", "=", "aarch64_simd_valid_immediate", "(", "const_vector", ",", "mode", ",", "false", ",", "&", "info", ")", ";", "gcc_assert", "(", "is_valid", ")", ";", "element_char", "=", "sizetochar", "(", "info", ".", "element_width", ")", ";", "lane_count", "=", "width", "/", "info", ".", "element_width", ";", "mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", ")", "{", "gcc_assert", "(", "info", ".", "shift", "==", "0", "&&", "!", "info", ".", "mvn", ")", ";", "if", "(", "aarch64_float_const_zero_rtx_p", "(", "info", ".", "value", ")", ")", "info", ".", "value", "=", "GEN_INT", "(", "0", ")", ";", "else", "{", "const", "unsigned", "int", "buf_size", "=", "20", ";", "char", "float_buf", "[", "buf_size", "]", "=", "{", "'\\0'", "}", ";", "real_to_decimal_for_mode", "(", "float_buf", ",", "CONST_DOUBLE_REAL_VALUE", "(", "info", ".", "value", ")", ",", "buf_size", ",", "buf_size", ",", "1", ",", "mode", ")", ";", "if", "(", "lane_count", "==", "1", ")", "snprintf", "(", "templ", ",", "sizeof", "(", "templ", ")", ",", "\"fmov\\t%%d0, %s\"", ",", "float_buf", ")", ";", "else", "snprintf", "(", "templ", ",", "sizeof", "(", "templ", ")", ",", "\"fmov\\t%%0.%d%c, %s\"", ",", "lane_count", ",", "element_char", ",", "float_buf", ")", ";", "return", "templ", ";", "}", "}", "mnemonic", "=", "info", ".", "mvn", "?", "\"mvni\"", ":", "\"movi\"", ";", "shift_op", "=", "info", ".", "msl", "?", "\"msl\"", ":", "\"lsl\"", ";", "gcc_assert", "(", "CONST_INT_P", "(", "info", ".", "value", ")", ")", ";", "if", "(", "lane_count", "==", "1", ")", "snprintf", "(", "templ", ",", "sizeof", "(", "templ", ")", ",", "\"%s\\t%%d0, \"", "HOST_WIDE_INT_PRINT_HEX", ",", "mnemonic", ",", "UINTVAL", "(", "info", ".", "value", ")", ")", ";", "else", "if", "(", "info", ".", "shift", ")", "snprintf", "(", "templ", ",", "sizeof", "(", "templ", ")", ",", "\"%s\\t%%0.%d%c, \"", "HOST_WIDE_INT_PRINT_HEX", "\", %s %d\"", ",", "mnemonic", ",", "lane_count", ",", "element_char", ",", "UINTVAL", "(", "info", ".", "value", ")", ",", "shift_op", ",", "info", ".", "shift", ")", ";", "else", "snprintf", "(", "templ", ",", "sizeof", "(", "templ", ")", ",", "\"%s\\t%%0.%d%c, \"", "HOST_WIDE_INT_PRINT_HEX", ",", "mnemonic", ",", "lane_count", ",", "element_char", ",", "UINTVAL", "(", "info", ".", "value", ")", ")", ";", "return", "templ", ";", "}", ""], "natrual_language": ["Returns", "the", "string", "with", "the", "instruction", "for", "AdvSIMD", "MOVI", ",", "MVNI", ",", "ORR", "or", "BIC", "immediate", "with", "a", "CONST_VECTOR", "of", "MODE", "and", "WIDTH", ".", "WHICH", "selects", "whether", "to", "output", "MOVI/MVNI", ",", "ORR", "or", "BIC", "immediate", "."], "TS_V_token": ["aarch64", "40", "0", "0", "0", "0", "0", "20", "1", "1", "\"fmov\\t%%d0, %s\"", "\"fmov\\t%%0.%d%c, %s\"", "\"mvni\"", "\"movi\"", "\"msl\"", "\"lsl\"", "1", "\"%s\\t%%d0, \"", "\"%s\\t%%0.%d%c, \"", "\", %s %d\"", "\"%s\\t%%0.%d%c, \""], "File": "aarch644", "Func": "aarch64_output_simd_mov_immediate", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20341, "Length": 356, "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!\"", ")", ";", "break", ";", "case", "ISD", "::", "BIT_CONVERT", ":", "Res", "=", "ExpandBIT_CONVERT", "(", "N", ",", "DAG", ")", ";", "break", ";", "case", "ISD", "::", "SRL", ":", "case", "ISD", "::", "SRA", ":", "Res", "=", "LowerShift", "(", "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::BIT_CONVERT", "ISD::SRL", "ISD::SRA"], "File": "ARMISelLowering54", "Func": "ReplaceNodeResults", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20342, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "VETargetLowering", "::", "lowerToVVP", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "const", "unsigned", "Opcode", "=", "Op", "->", "getOpcode", "(", ")", ";", "auto", "VVPOpcodeOpt", "=", "getVVPOpcode", "(", "Opcode", ")", ";", "if", "(", "!", "VVPOpcodeOpt", ".", "hasValue", "(", ")", ")", "return", "SDValue", "(", ")", ";", "unsigned", "VVPOpcode", "=", "VVPOpcodeOpt", ".", "getValue", "(", ")", ";", "const", "bool", "FromVP", "=", "ISD", "::", "isVPOpcode", "(", "Opcode", ")", ";", "SDLoc", "DL", "(", "Op", ")", ";", "MVT", "MaskVT", "=", "MVT", "::", "v256i1", ";", "EVT", "OpVecVT", "=", "Op", ".", "getValueType", "(", ")", ";", "EVT", "LegalVecVT", "=", "getTypeToTransformTo", "(", "*", "DAG", ".", "getContext", "(", ")", ",", "OpVecVT", ")", ";", "SDValue", "AVL", ";", "SDValue", "Mask", ";", "if", "(", "FromVP", ")", "{", "auto", "MaskIdx", "=", "ISD", "::", "getVPMaskIdx", "(", "Opcode", ")", ".", "getValue", "(", ")", ";", "auto", "AVLIdx", "=", "ISD", "::", "getVPExplicitVectorLengthIdx", "(", "Opcode", ")", ".", "getValue", "(", ")", ";", "Mask", "=", "Op", "->", "getOperand", "(", "MaskIdx", ")", ";", "AVL", "=", "Op", "->", "getOperand", "(", "AVLIdx", ")", ";", "}", "else", "{", "AVL", "=", "DAG", ".", "getConstant", "(", "OpVecVT", ".", "getVectorNumElements", "(", ")", ",", "DL", ",", "MVT", "::", "i32", ")", ";", "SDValue", "ConstTrue", "=", "DAG", ".", "getConstant", "(", "1", ",", "DL", ",", "MVT", "::", "i32", ")", ";", "Mask", "=", "DAG", ".", "getNode", "(", "VEISD", "::", "VEC_BROADCAST", ",", "DL", ",", "MaskVT", ",", "ConstTrue", ")", ";", "}", "bool", "IsBinaryOp", "=", "false", ";", "switch", "(", "VVPOpcode", ")", "{", "case", "VEISD", "::", "VVPNAME", ":", "\\", "IsBinaryOp", "=", "true", ";", "\\", "break", ";", "}", "if", "(", "IsBinaryOp", ")", "{", "assert", "(", "LegalVecVT", ".", "isSimple", "(", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "VVPOpcode", ",", "DL", ",", "LegalVecVT", ",", "Op", "->", "getOperand", "(", "0", ")", ",", "Op", "->", "getOperand", "(", "1", ")", ",", "Mask", ",", "AVL", ")", ";", "}", "llvm_unreachable", "(", "\"lowerToVVP called for unexpected SDNode.\"", ")", ";", "}", ""], "natrual_language": ["}", "Custom", "Inserter"], "TS_V_token": ["VE", "VE", "ISD::isVPOpcode", "MVT::v256i1", "ISD::getVPMaskIdx", "ISD::getVPExplicitVectorLengthIdx", "MVT::i32", "1", "MVT::i32", "VEISD::VEC_BROADCAST", "VEISD::VVPNAME", "0", "1", "\"lowerToVVP called for unexpected SDNode.\""], "File": "VEISelLowering11", "Func": "lowerToVVP", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20343, "Length": 291, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "dispatch_function_versions", "(", "tree", "dispatch_decl", ",", "void", "*", "fndecls_p", ",", "basic_block", "*", "empty_bb", ")", "{", "int", "ix", ";", "tree", "ele", ";", "vec", "<", "tree", ">", "*", "fndecls", ";", "tree", "clones", "[", "CLONE_MAX", "]", ";", "if", "(", "TARGET_DEBUG_TARGET", ")", "fputs", "(", "\"dispatch_function_versions, top\\n\"", ",", "stderr", ")", ";", "gcc_assert", "(", "dispatch_decl", "!=", "NULL", "&&", "fndecls_p", "!=", "NULL", "&&", "empty_bb", "!=", "NULL", ")", ";", "fndecls", "=", "static_cast", "<", "vec", "<", "tree", ">", "*", ">", "(", "fndecls_p", ")", ";", "gcc_assert", "(", "fndecls", "->", "length", "(", ")", ">=", "2", ")", ";", "memset", "(", "(", "void", "*", ")", "clones", ",", "'\\0'", ",", "sizeof", "(", "clones", ")", ")", ";", "clones", "[", "CLONE_DEFAULT", "]", "=", "(", "*", "fndecls", ")", "[", "0", "]", ";", "for", "(", "ix", "=", "1", ";", "fndecls", "->", "iterate", "(", "ix", ",", "&", "ele", ")", ";", "++", "ix", ")", "{", "int", "priority", "=", "rs6000_clone_priority", "(", "ele", ")", ";", "if", "(", "!", "clones", "[", "priority", "]", ")", "clones", "[", "priority", "]", "=", "ele", ";", "}", "for", "(", "ix", "=", "CLONE_MAX", "-", "1", ";", "ix", ">=", "0", ";", "ix", "--", ")", "if", "(", "clones", "[", "ix", "]", ")", "{", "if", "(", "TARGET_DEBUG_TARGET", ")", "fprintf", "(", "stderr", ",", "\"dispatch_function_versions, clone %d, %s\\n\"", ",", "ix", ",", "get_decl_name", "(", "clones", "[", "ix", "]", ")", ")", ";", "*", "empty_bb", "=", "add_condition_to_bb", "(", "dispatch_decl", ",", "clones", "[", "ix", "]", ",", "ix", ",", "*", "empty_bb", ")", ";", "}", "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": ["rs6000", "\"dispatch_function_versions, top\\n\"", "2", "0", "1", "1", "0", "\"dispatch_function_versions, clone %d, %s\\n\"", "0"], "File": "rs6000", "Func": "dispatch_function_versions", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20344, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsPassConfig", "::", "addMachineSSAOptimization", "(", ")", "{", "addPass", "(", "createMipsOptimizePICCallPass", "(", "getMipsTargetMachine", "(", ")", ")", ")", ";", "TargetPassConfig", "::", "addMachineSSAOptimization", "(", ")", ";", "}", ""], "natrual_language": ["Methods", "with", "trivial", "inline", "returns", "are", "convenient", "points", "in", "the", "common", "codegen", "pass", "pipeline", "where", "targets", "may", "insert", "passes", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips"], "File": "MipsTargetMachine2", "Func": "addMachineSSAOptimization", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20345, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsInstrInfo", "::", "insertNoop", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "DebugLoc", "DL", ";", "}", ""], "natrual_language": ["Insert", "a", "noop", "into", "the", "instruction", "stream", "at", "the", "specified", "point", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsInstrInfo31", "Func": "insertNoop", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20346, "Length": 20, "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": 20347, "Length": 24, "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", ">", "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", "(", "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", "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", "0", "256", "1", "256", "ARM_AM::isThumbImmShiftedVal", "2", "3"], "File": "ARMTargetTransformInfo49", "Func": "getIntImmCost", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20348, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "PredicateInstruction", "(", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Pred", ")", "const", "{", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "if", "(", "isUncondBranchOpcode", "(", "Opc", ")", ")", "{", "MI", "->", "setDesc", "(", "get", "(", "getMatchingCondBranchOpcode", "(", "Opc", ")", ")", ")", ";", "MI", "->", "addOperand", "(", "MachineOperand", "::", "CreateImm", "(", "Pred", "[", "0", "]", ".", "getImm", "(", ")", ")", ")", ";", "MI", "->", "addOperand", "(", "MachineOperand", "::", "CreateReg", "(", "Pred", "[", "1", "]", ".", "getReg", "(", ")", ",", "false", ")", ")", ";", "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", "(", ")", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Convert", "the", "instruction", "into", "a", "predicated", "instruction", "."], "TS_V_token": ["ARM", "ARM", "0", "1", "1", "0", "1", "1"], "File": "ARMBaseInstrInfo (2)4", "Func": "PredicateInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20349, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_option_override", "(", "void", ")", "{", "opt_pass", "*", "pass_insert_vzeroupper", "=", "make_pass_insert_vzeroupper", "(", "g", ")", ";", "struct", "register_pass_info", "insert_vzeroupper_info", "=", "{", "pass_insert_vzeroupper", ",", "\"reload\"", ",", "1", ",", "PASS_POS_INSERT_AFTER", "}", ";", "ix86_option_override_internal", "(", "true", ",", "&", "global_options", ",", "&", "global_options_set", ")", ";", "register_pass", "(", "&", "insert_vzeroupper_info", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_OPTION_OVERRIDE", "hook", "."], "TS_V_token": ["i386", "\"reload\"", "1"], "File": "i3864", "Func": "ix86_option_override", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20350, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "static", "LoadStoreMethod", "PossibleClasses", "[", "]", "=", "{", "{", "&", "AArch64", "::", "GPR64RegClass", ",", "AArch64", "::", "LSPair64_LDR", ",", "AArch64", "::", "LS64_LDR", "}", ",", "{", "&", "AArch64", "::", "FPR64RegClass", ",", "AArch64", "::", "LSFPPair64_LDR", ",", "AArch64", "::", "LSFP64_LDR", "}", ",", "}", ";", "unsigned", "NumClasses", "=", "llvm", "::", "array_lengthof", "(", "PossibleClasses", ")", ";", "emitFrameMemOps", "(", "false", ",", "MBB", ",", "MBBI", ",", "CSI", ",", "TRI", ",", "PossibleClasses", ",", "NumClasses", ")", ";", "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", "AArch64::GPR64RegClass", "AArch64::LSPair64_LDR", "AArch64::LS64_LDR", "AArch64::FPR64RegClass", "AArch64::LSFPPair64_LDR", "AArch64::LSFP64_LDR"], "File": "AArch64FrameLowering1", "Func": "restoreCalleeSavedRegisters", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20351, "Length": 112, "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": 20352, "Length": 487, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "sparc_absnegfloat_split_legitimate", "(", "rtx", "x", ",", "rtx", "y", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "!=", "REG", ")", "return", "0", ";", "if", "(", "GET_CODE", "(", "y", ")", "!=", "REG", ")", "return", "0", ";", "if", "(", "REGNO", "(", "x", ")", "==", "REGNO", "(", "y", ")", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "1", "if", "x", "and", "y", "are", "some", "kind", "of", "REG", "and", "they", "refer", "to", "different", "hard", "registers", ".", "This", "test", "is", "guaranteed", "to", "be", "run", "after", "reload", "."], "TS_V_token": ["sparc", "0", "0", "0", "1"], "File": "sparc3", "Func": "sparc_absnegfloat_split_legitimate", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20353, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "small_data_operand", "(", "rtx", "op", "ATTRIBUTE_UNUSED", ",", "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", "(", "SYMBOL_REF_P", "(", "op", ")", ")", "sym_ref", "=", "op", ";", "else", "if", "(", "GET_CODE", "(", "op", ")", "!=", "CONST", "||", "GET_CODE", "(", "XEXP", "(", "op", ",", "0", ")", ")", "!=", "PLUS", "||", "!", "SYMBOL_REF_P", "(", "XEXP", "(", "XEXP", "(", "op", ",", "0", ")", ",", "0", ")", ")", "||", "!", "CONST_INT_P", "(", "XEXP", "(", "XEXP", "(", "op", ",", "0", ")", ",", "1", ")", ")", ")", "return", "0", ";", "else", "{", "rtx", "sum", "=", "XEXP", "(", "op", ",", "0", ")", ";", "HOST_WIDE_INT", "summand", ";", "summand", "=", "INTVAL", "(", "XEXP", "(", "sum", ",", "1", ")", ")", ";", "if", "(", "summand", "<", "0", "||", "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": "rs6000", "Func": "small_data_operand", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20354, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMFastISel", "::", "fastEmitInst_ri", "(", "unsigned", "MachineInstOpcode", ",", "const", "TargetRegisterClass", "*", "RC", ",", "unsigned", "Op0", ",", "uint64_t", "Imm", ")", "{", "Register", "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", ")", ".", "addImm", "(", "Imm", ")", ")", ";", "}", "else", "{", "AddOptionalDefs", "(", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "II", ")", ".", "addReg", "(", "Op0", ")", ".", "addImm", "(", "Imm", ")", ")", ";", "AddOptionalDefs", "(", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "ResultReg", ")", ".", "addReg", "(", "II", ".", "ImplicitDefs", "[", "0", "]", ")", ")", ";", "}", "return", "ResultReg", ";", "}", ""], "natrual_language": ["Emit", "a", "MachineInstr", "with", "a", "register", "operand", ",", "an", "immediate", ",", "and", "a", "result", "register", "in", "the", "given", "register", "class", "."], "TS_V_token": ["ARM", "ARM", "1", "1", "0"], "File": "ARMFastISel36", "Func": "fastEmitInst_ri", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20355, "Length": 168, "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", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "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": "PPCRegisterInfo68", "Func": "needsFrameBaseReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20356, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "ix86_output_function_return", "(", "bool", "long_p", ")", "{", "output_return_instrumentation", "(", ")", ";", "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", ")", ";", "indirect_return_needed", "|=", "need_thunk", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tjmp\\t%s\\n\"", ",", "thunk_name", ")", ";", "}", "else", "output_indirect_thunk", "(", "INVALID_REGNUM", ")", ";", "return", "\"\"", ";", "}", "if", "(", "!", "long_p", ")", "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", "\"\\tjmp\\t%s\\n\"", "\"\"", "\"%!ret\"", "\"rep%; ret\""], "File": "i3868", "Func": "ix86_output_function_return", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20357, "Length": 110, "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": 20358, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_cfun_has_flexible_gp_ref_p", "(", "void", ")", "{", "if", "(", "TARGET_ABICALLS_PIC2", "&&", "!", "reload_completed", "&&", "crtl", "->", "uses_const_pool", ")", "return", "true", ";", "return", "mips_find_gp_ref", "(", "&", "cfun", "->", "machine", "->", "has_flexible_gp_insn_p", ",", "mips_insn_has_flexible_gp_ref_p", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "current", "function", "references", "the", "global", "pointer", ",", "but", "if", "those", "references", "do", "not", "inherently", "require", "the", "global", "pointer", "to", "be", "$", "28", ".", "Assume", "!", "mips_cfun_has_inflexible_gp_ref_p", "(", ")", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_cfun_has_flexible_gp_ref_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20359, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_return_in_memory", "(", "tree", "type", ",", "tree", "fntype", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_ARCH32", ")", "return", "(", "TYPE_MODE", "(", "type", ")", "==", "BLKmode", "||", "TYPE_MODE", "(", "type", ")", "==", "TFmode", "||", "(", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", "&&", "(", "unsigned", "HOST_WIDE_INT", ")", "int_size_in_bytes", "(", "type", ")", ">", "8", ")", ")", ";", "else", "return", "(", "(", "TYPE_MODE", "(", "type", ")", "==", "BLKmode", "&&", "(", "unsigned", "HOST_WIDE_INT", ")", "int_size_in_bytes", "(", "type", ")", ">", "32", ")", ")", ";", "}", ""], "natrual_language": ["Handle", "the", "TARGET_RETURN_IN_MEMORY", "target", "hook", ".", "Specify", "whether", "to", "return", "the", "return", "value", "in", "memory", "."], "TS_V_token": ["sparc", "8", "32"], "File": "sparc3", "Func": "sparc_return_in_memory", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20360, "Length": 78, "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", "(", ")", ";", "int", "Offset", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FrameIndex", ")", "+", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "Offset", ">=", "-", "4096", "&&", "Offset", "<=", "4095", ")", "{", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "SP", "::", "I6", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", "else", "{", "unsigned", "OffHi", "=", "(", "unsigned", ")", "Offset", ">>", "10U", ";", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "SETHIi", ")", ",", "SP", "::", "G1", ")", ".", "addImm", "(", "OffHi", ")", ";", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "ADDrr", ")", ",", "SP", "::", "G1", ")", ".", "addReg", "(", "SP", "::", "G1", ")", ".", "addReg", "(", "SP", "::", "I6", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "SP", "::", "G1", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", "&", "(", "(", "1", "<<", "10", ")", "-", "1", ")", ")", ";", "}", "}", ""], "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\"", "1", "4096", "4095", "SP::I6", "1", "10U", "SP::SETHIi", "SP::G1", "SP::ADDrr", "SP::G1", "SP::G1", "SP::I6", "SP::G1", "1", "1", "10", "1"], "File": "SparcRegisterInfo21", "Func": "eliminateFrameIndex", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20361, "Length": 273, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isToken", "(", ")", "const", "override", "{", "return", "Kind", "==", "Token", ";", "}", ""], "natrual_language": ["isToken", "-", "Is", "this", "a", "token", "operand", "?"], "TS_V_token": ["X86"], "File": "X86Operand (2)", "Func": "isToken", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20362, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isAsCheapAsAMove", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "hasCustomCheapAsMoveHandling", "(", ")", ")", "return", "MI", ".", "isAsCheapAsAMove", "(", ")", ";", "if", "(", "Subtarget", ".", "hasExynosCheapAsMoveHandling", "(", ")", ")", "{", "if", "(", "isExynosResetFast", "(", "MI", ")", "||", "isExynosShiftLeftFast", "(", "MI", ")", ")", "return", "true", ";", "else", "return", "MI", ".", "isAsCheapAsAMove", "(", ")", ";", "}", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "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", ")", ";", "case", "AArch64", "::", "FMOVH0", ":", "case", "AArch64", "::", "FMOVS0", ":", "case", "AArch64", "::", "FMOVD0", ":", "return", "Subtarget", ".", "hasZeroCycleZeroing", "(", ")", ";", "case", "TargetOpcode", "::", "COPY", ":", "return", "(", "Subtarget", ".", "hasZeroCycleZeroing", "(", ")", "&&", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "AArch64", "::", "WZR", "||", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "AArch64", "::", "XZR", ")", ")", ";", "}", "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::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", "AArch64::FMOVH0", "AArch64::FMOVS0", "AArch64::FMOVD0", "1", "AArch64::WZR", "1", "AArch64::XZR", "\"Unknown opcode to check as cheap as a move!\""], "File": "AArch64InstrInfo", "Func": "isAsCheapAsAMove", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20363, "Length": 308, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "vr4130_true_reg_dependence_p_1", "(", "rtx", "x", ",", "rtx", "pat", "ATTRIBUTE_UNUSED", ",", "void", "*", "data", ")", "{", "rtx", "*", "insn_ptr", "=", "data", ";", "if", "(", "REG_P", "(", "x", ")", "&&", "*", "insn_ptr", "!=", "0", "&&", "reg_referenced_p", "(", "x", ",", "PATTERN", "(", "*", "insn_ptr", ")", ")", ")", "*", "insn_ptr", "=", "0", ";", "}", ""], "natrual_language": ["A", "note_stores", "callback", "used", "by", "vr4130_true_reg_dependence_p", ".", "DATA", "points", "to", "an", "rtx", "that", "is", "initially", "an", "instruction", ".", "Nullify", "the", "rtx", "if", "the", "instruction", "uses", "the", "value", "of", "register", "X", "."], "TS_V_token": ["mips", "0", "0"], "File": "mips3", "Func": "vr4130_true_reg_dependence_p_1", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20364, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_sim_issue_nop", "(", "struct", "mips_sim", "*", "state", ")", "{", "if", "(", "state", "->", "insns_left", "==", "0", ")", "mips_sim_next_cycle", "(", "state", ")", ";", "state", "->", "insns_left", "--", ";", "}", ""], "natrual_language": ["Simulate", "issuing", "a", "NOP", "in", "state", "STATE", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips_sim_issue_nop", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20365, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mask_low_and_shift_len", "(", "machine_mode", "mode", ",", "rtx", "mask", ",", "rtx", "shift", ")", "{", "HOST_WIDE_INT", "shval", ";", "shval", "=", "INTVAL", "(", "shift", ")", "&", "(", "GET_MODE_BITSIZE", "(", "mode", ")", "-", "1", ")", ";", "return", "exact_log2", "(", "(", "UINTVAL", "(", "mask", ")", ">>", "shval", ")", "+", "1", ")", ";", "}", ""], "natrual_language": ["The", "canonical", "form", "of", "a", "mask-low-and-shift-left", "operation", "is", "(", "and", "(", "ashift", "X", "SHIFT", ")", "MASK", ")", "where", "MASK", "has", "the", "lower", "SHIFT", "number", "of", "bits", "cleared", ".", "Thus", "we", "need", "to", "shift", "MASK", "to", "the", "right", "before", "checking", "if", "it", "is", "a", "valid", "mask", "value", ".", "MODE", "is", "the", "mode", "of", "the", "operation", ".", "If", "true", "return", "the", "length", "of", "the", "mask", ",", "otherwise", "return", "-1", "."], "TS_V_token": ["mips", "1", "1"], "File": "mips", "Func": "mask_low_and_shift_len", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20366, "Length": 48, "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_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": "arm", "Func": "thumb2_legitimate_address_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20367, "Length": 490, "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": 20368, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "sh_pr_n_sets", "(", "void", ")", "{", "return", "DF_REG_DEF_COUNT", "(", "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": "sh", "Func": "sh_pr_n_sets", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20369, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "canUseAsPrologue", "(", "const", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "assert", "(", "MBB", ".", "getParent", "(", ")", "&&", "\"Block is not attached to a function!\"", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "return", "!", "TRI", "->", "needsStackRealignment", "(", "MF", ")", "||", "!", "MBB", ".", "isLiveIn", "(", "X86", "::", "EFLAGS", ")", ";", "}", ""], "natrual_language": ["Check", "whether", "or", "not", "the", "given", "MBB", "can", "be", "used", "as", "a", "prologue", "for", "the", "target", "."], "TS_V_token": ["X86", "X86", "\"Block is not attached to a function!\"", "X86::EFLAGS"], "File": "X86FrameLowering (2)2", "Func": "canUseAsPrologue", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20370, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "moxie_trampoline_init", "(", "rtx", "m_tramp", ",", "tree", "fndecl", ",", "rtx", "chain_value", ")", "{", "rtx", "mem", ",", "fnaddr", "=", "XEXP", "(", "DECL_RTL", "(", "fndecl", ")", ",", "0", ")", ";", "emit_block_move", "(", "m_tramp", ",", "assemble_trampoline_template", "(", ")", ",", "GEN_INT", "(", "TRAMPOLINE_SIZE", ")", ",", "BLOCK_OP_NORMAL", ")", ";", "mem", "=", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "4", ")", ";", "emit_move_insn", "(", "mem", ",", "chain_value", ")", ";", "mem", "=", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "16", ")", ";", "emit_move_insn", "(", "mem", ",", "fnaddr", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_TRAMPOLINE_INIT", "."], "TS_V_token": ["moxie", "0", "4", "16"], "File": "moxie", "Func": "moxie_trampoline_init", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20371, "Length": 82, "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", "(", "VOIDmode", ",", "basereg", ",", "plus_constant", "(", "Pmode", ",", "basereg", ",", "wback_offset", ")", ")", ";", "i", "=", "1", ";", "count", "++", ";", "}", "for", "(", "j", "=", "0", ";", "i", "<", "count", ";", "i", "++", ",", "j", "++", ")", "XVECEXP", "(", "result", ",", "0", ",", "i", ")", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "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": "arm4", "Func": "arm_gen_store_multiple_1", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20372, "Length": 246, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CollectLOH", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** AArch64 Collect LOH **********\\n\"", "<<", "\"Looking in function \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "LOHInfo", "LOHInfos", "[", "N_GPR_REGS", "]", ";", "AArch64FunctionInfo", "&", "AFI", "=", "*", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "for", "(", "const", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "memset", "(", "LOHInfos", ",", "0", ",", "sizeof", "(", "LOHInfos", ")", ")", ";", "for", "(", "const", "MachineBasicBlock", "*", "Succ", ":", "MBB", ".", "successors", "(", ")", ")", "{", "for", "(", "const", "auto", "&", "LI", ":", "Succ", "->", "liveins", "(", ")", ")", "{", "int", "RegIdx", "=", "mapRegToGPRIndex", "(", "LI", ".", "PhysReg", ")", ";", "if", "(", "RegIdx", ">=", "0", ")", "LOHInfos", "[", "RegIdx", "]", ".", "OneUser", "=", "true", ";", "}", "}", "for", "(", "const", "MachineInstr", "&", "MI", ":", "instructionsWithoutDebug", "(", "MBB", ".", "instr_rbegin", "(", ")", ",", "MBB", ".", "instr_rend", "(", ")", ")", ")", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "case", "AArch64", "::", "ADDXri", ":", "case", "AArch64", "::", "LDRXui", ":", "case", "AArch64", "::", "LDRWui", ":", "if", "(", "canDefBePartOfLOH", "(", "MI", ")", ")", "{", "const", "MachineOperand", "&", "Def", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "const", "MachineOperand", "&", "Op", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "assert", "(", "Def", ".", "isReg", "(", ")", "&&", "Def", ".", "isDef", "(", ")", "&&", "\"Expected reg def\"", ")", ";", "assert", "(", "Op", ".", "isReg", "(", ")", "&&", "Op", ".", "isUse", "(", ")", "&&", "\"Expected reg use\"", ")", ";", "int", "DefIdx", "=", "mapRegToGPRIndex", "(", "Def", ".", "getReg", "(", ")", ")", ";", "int", "OpIdx", "=", "mapRegToGPRIndex", "(", "Op", ".", "getReg", "(", ")", ")", ";", "if", "(", "DefIdx", ">=", "0", "&&", "OpIdx", ">=", "0", "&&", "handleMiddleInst", "(", "MI", ",", "LOHInfos", "[", "DefIdx", "]", ",", "LOHInfos", "[", "OpIdx", "]", ")", ")", "continue", ";", "}", "break", ";", "case", "AArch64", "::", "ADRP", ":", "const", "MachineOperand", "&", "Op0", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "int", "Idx", "=", "mapRegToGPRIndex", "(", "Op0", ".", "getReg", "(", ")", ")", ";", "if", "(", "Idx", ">=", "0", ")", "{", "handleADRP", "(", "MI", ",", "AFI", ",", "LOHInfos", "[", "Idx", "]", ",", "LOHInfos", ")", ";", "continue", ";", "}", "break", ";", "}", "handleNormalInst", "(", "MI", ",", "LOHInfos", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"********** AArch64 Collect LOH **********\\n\"", "\"Looking in function \"", "AArch64", "AArch64", "0", "0", "AArch64::ADDXri", "AArch64::LDRXui", "AArch64::LDRWui", "0", "1", "\"Expected reg def\"", "\"Expected reg use\"", "0", "0", "AArch64::ADRP", "0", "0"], "File": "AArch64CollectLOH5", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20373, "Length": 381, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FrameLowering", "::", "canUseAsPrologue", "(", "const", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "MachineBasicBlock", "*", "TmpMBB", "=", "const_cast", "<", "MachineBasicBlock", "*", ">", "(", "&", "MBB", ")", ";", "const", "AArch64Subtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ";", "const", "AArch64RegisterInfo", "*", "RegInfo", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "if", "(", "!", "RegInfo", "->", "hasStackRealignment", "(", "*", "MF", ")", ")", "return", "true", ";", "return", "findScratchNonCalleeSaveRegister", "(", "TmpMBB", ")", "!=", "AArch64", "::", "NoRegister", ";", "}", ""], "natrual_language": ["Check", "whether", "or", "not", "the", "given", "MBB", "can", "be", "used", "as", "a", "prologue", "for", "the", "target", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64::NoRegister"], "File": "AArch64FrameLowering (2)1", "Func": "canUseAsPrologue", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20374, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PassConfig", "::", "addILPOpts", "(", ")", "{", "if", "(", "EnableCCMP", ")", "addPass", "(", "createAArch64ConditionalCompares", "(", ")", ")", ";", "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"], "File": "AArch64TargetMachine3", "Func": "addILPOpts", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20375, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "isProfitableToDupForIfCvt", "(", "MachineBasicBlock", "&", "MBB", ",", "unsigned", "NumCycles", ",", "const", "BranchProbability", "&", "Probability", ")", "const", "{", "return", "NumCycles", "==", "1", ";", "}", ""], "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": ["ARM", "1"], "File": "ARMBaseInstrInfo11", "Func": "isProfitableToDupForIfCvt", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20376, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ")", "{", "if", "(", "!", "ST", "->", "isMClass", "(", ")", ")", "return", "BasicTTIImplBase", "::", "getUnrollingPreferences", "(", "L", ",", "SE", ",", "UP", ")", ";", "UP", ".", "OptSizeThreshold", "=", "0", ";", "UP", ".", "PartialOptSizeThreshold", "=", "0", ";", "if", "(", "L", "->", "getHeader", "(", ")", "->", "getParent", "(", ")", "->", "optForSize", "(", ")", ")", "return", ";", "if", "(", "!", "ST", "->", "isThumb2", "(", ")", ")", "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", ";", "unsigned", "Cost", "=", "0", ";", "for", "(", "auto", "*", "BB", ":", "L", "->", "getBlocks", "(", ")", ")", "{", "for", "(", "auto", "&", "I", ":", "*", "BB", ")", "{", "if", "(", "isa", "<", "CallInst", ">", "(", "I", ")", "||", "isa", "<", "InvokeInst", ">", "(", "I", ")", ")", "{", "ImmutableCallSite", "CS", "(", "&", "I", ")", ";", "if", "(", "const", "Function", "*", "F", "=", "CS", ".", "getCalledFunction", "(", ")", ")", "{", "if", "(", "!", "isLoweredToCall", "(", "F", ")", ")", "continue", ";", "}", "return", ";", "}", "SmallVector", "<", "const", "Value", "*", ",", "4", ">", "Operands", "(", "I", ".", "value_op_begin", "(", ")", ",", "I", ".", "value_op_end", "(", ")", ")", ";", "Cost", "+=", "getUserCost", "(", "&", "I", ",", "Operands", ")", ";", "}", "}", "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", "0", "4", "\"Cost of loop: \"", "\"\\n\"", "4", "60", "12"], "File": "ARMTargetTransformInfo (2)1", "Func": "getUnrollingPreferences", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20377, "Length": 336, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CSKYDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "switch", "(", "ConstraintID", ")", "{", "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": ["CSKY", "CSKY"], "File": "CSKYISelDAGToDAG", "Func": "SelectInlineAsmMemoryOperand", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20378, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "hashval_t", "toc_hasher", "::", "hash", "(", "toc_hash_struct", "*", "thc", ")", "{", "return", "rs6000_hash_constant", "(", "thc", "->", "key", ")", "^", "thc", "->", "key_mode", ";", "}", ""], "natrual_language": ["Hash", "function", "for", "builtin", "functions", "with", "up", "to", "3", "arguments", "and", "a", "return", "type", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "hash", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20379, "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": ["SystemZ"], "File": "SystemZSubtarget33", "Func": "getDataLayout", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20380, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86FrameLowering", "::", "getInitialCFARegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "TRI", "->", "getDwarfRegNum", "(", "StackPtr", ",", "true", ")", ";", "}", ""], "natrual_language": ["Return", "initial", "CFA", "register", "value", "i.e", "."], "TS_V_token": ["X86", "X86"], "File": "X86FrameLowering10", "Func": "getInitialCFARegister", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20381, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CAHPFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "RegInfo", "->", "needsStackRealignment", "(", "MF", ")", "||", "MFI", ".", "hasVarSizedObjects", "(", ")", "||", "MFI", ".", "isFrameAddressTaken", "(", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["CAHP", "CAHP"], "File": "CAHPFrameLowering", "Func": "hasFP", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20382, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "function_resolver", "::", "require_matching_vector_type", "(", "unsigned", "int", "argno", ",", "type_suffix_index", "type", ")", "{", "type_suffix_index", "new_type", "=", "infer_vector_type", "(", "argno", ")", ";", "if", "(", "new_type", "==", "NUM_TYPE_SUFFIXES", ")", "return", "false", ";", "if", "(", "type", "!=", "new_type", ")", "{", "error_at", "(", "location", ",", "\"passing %qT to argument %d of %qE, but\"", "\" previous arguments had type %qT\"", ",", "get_vector_type", "(", "new_type", ")", ",", "argno", "+", "1", ",", "fndecl", ",", "get_vector_type", "(", "type", ")", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Like", "require_vector_type", ",", "but", "TYPE", "is", "inferred", "from", "previous", "arguments", "rather", "than", "being", "a", "fixed", "part", "of", "the", "function", "signature", ".", "This", "changes", "the", "nature", "of", "the", "error", "messages", "."], "TS_V_token": ["aarch64", "\"passing %qT to argument %d of %qE, but\"", "\" previous arguments had type %qT\"", "1"], "File": "aarch64-sve-builtins", "Func": "require_matching_vector_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20383, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_global_entry_point_prologue_needed_p", "(", "void", ")", "{", "if", "(", "DEFAULT_ABI", "!=", "ABI_ELFv2", ")", "return", "false", ";", "if", "(", "TARGET_SINGLE_PIC_BASE", ")", "return", "false", ";", "if", "(", "rs6000_pcrel_p", "(", ")", ")", "return", "false", ";", "if", "(", "cfun", "->", "is_thunk", ")", "return", "true", ";", "return", "cfun", "->", "machine", "->", "r2_setup_needed", ";", "}", ""], "natrual_language": ["Return", "whether", "we", "need", "to", "emit", "an", "ELFv2", "global", "entry", "point", "prologue", "."], "TS_V_token": ["rs6000"], "File": "rs6000-logue", "Func": "rs6000_global_entry_point_prologue_needed_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20384, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FastISel", "*", "ARM", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "funcInfo", ",", "const", "TargetLibraryInfo", "*", "libInfo", ")", "{", "if", "(", "funcInfo", ".", "MF", "->", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "useFastISel", "(", ")", ")", "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"], "File": "ARMFastISel (2)2", "Func": "createFastISel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20385, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Align", "ARMTargetLowering", "::", "getABIAlignmentForCallingConv", "(", "Type", "*", "ArgTy", ",", "DataLayout", "DL", ")", "const", "{", "const", "Align", "ABITypeAlign", "(", "DL", ".", "getABITypeAlignment", "(", "ArgTy", ")", ")", ";", "if", "(", "!", "ArgTy", "->", "isVectorTy", "(", ")", ")", "return", "ABITypeAlign", ";", "return", "std", "::", "min", "(", "ABITypeAlign", ",", "DL", ".", "getStackAlignment", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "correct", "alignment", "for", "the", "current", "calling", "convention", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMISelLowering (2)6", "Func": "getABIAlignmentForCallingConv", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20386, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_adjust_atomic_subword", "(", "rtx", "orig_mem", ",", "rtx", "*", "pshift", ",", "rtx", "*", "pmask", ")", "{", "rtx", "addr", ",", "align", ",", "shift", ",", "mask", ",", "mem", ";", "HOST_WIDE_INT", "shift_mask", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "orig_mem", ")", ";", "shift_mask", "=", "(", "mode", "==", "QImode", "?", "0x18", ":", "0x10", ")", ";", "addr", "=", "XEXP", "(", "orig_mem", ",", "0", ")", ";", "addr", "=", "force_reg", "(", "GET_MODE", "(", "addr", ")", ",", "addr", ")", ";", "align", "=", "expand_simple_binop", "(", "Pmode", ",", "AND", ",", "addr", ",", "GEN_INT", "(", "-", "4", ")", ",", "NULL_RTX", ",", "1", ",", "OPTAB_LIB_WIDEN", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "SImode", ",", "align", ")", ";", "MEM_VOLATILE_P", "(", "mem", ")", "=", "MEM_VOLATILE_P", "(", "orig_mem", ")", ";", "if", "(", "MEM_ALIAS_SET", "(", "orig_mem", ")", "==", "ALIAS_SET_MEMORY_BARRIER", ")", "set_mem_alias_set", "(", "mem", ",", "ALIAS_SET_MEMORY_BARRIER", ")", ";", "shift", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "addr", "=", "gen_lowpart", "(", "SImode", ",", "addr", ")", ";", "rtx", "tmp", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_ashlsi3", "(", "tmp", ",", "addr", ",", "GEN_INT", "(", "3", ")", ")", ")", ";", "emit_insn", "(", "gen_andsi3", "(", "shift", ",", "tmp", ",", "GEN_INT", "(", "shift_mask", ")", ")", ")", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "shift", "=", "expand_simple_binop", "(", "SImode", ",", "XOR", ",", "shift", ",", "GEN_INT", "(", "shift_mask", ")", ",", "shift", ",", "1", ",", "OPTAB_LIB_WIDEN", ")", ";", "*", "pshift", "=", "shift", ";", "mask", "=", "expand_simple_binop", "(", "SImode", ",", "ASHIFT", ",", "GEN_INT", "(", "GET_MODE_MASK", "(", "mode", ")", ")", ",", "shift", ",", "NULL_RTX", ",", "1", ",", "OPTAB_LIB_WIDEN", ")", ";", "*", "pmask", "=", "mask", ";", "return", "mem", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "the", "various", "atomic", "expanders", ".", "For", "sub-word", "operations", ",", "we", "must", "adjust", "things", "to", "operate", "on", "SImode", ".", "Given", "the", "original", "MEM", ",", "return", "a", "new", "aligned", "memory", ".", "Also", "build", "and", "return", "the", "quantities", "by", "which", "to", "shift", "and", "mask", "."], "TS_V_token": ["rs6000", "0x18", "0x10", "0", "4", "1", "3", "1", "1"], "File": "rs6000", "Func": "rs6000_adjust_atomic_subword", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20387, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mt_print_operand_simple_address", "(", "FILE", "*", "file", ",", "rtx", "addr", ")", "{", "if", "(", "!", "addr", ")", "error", "(", "\"PRINT_OPERAND_ADDRESS, null pointer\"", ")", ";", "else", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "REG", ":", "fprintf", "(", "file", ",", "\"%s, #0\"", ",", "reg_names", "[", "REGNO", "(", "addr", ")", "]", ")", ";", "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", ")", "fatal_insn", "(", "\"PRINT_OPERAND_ADDRESS, 2 regs\"", ",", "addr", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "arg1", ")", "==", "REG", ")", "reg", "=", "arg1", ",", "offset", "=", "arg0", ";", "else", "if", "(", "CONSTANT_P", "(", "arg0", ")", "&&", "CONSTANT_P", "(", "arg1", ")", ")", "{", "fprintf", "(", "file", ",", "\"%s, #\"", ",", "reg_names", "[", "GPR_R0", "]", ")", ";", "output_addr_const", "(", "file", ",", "addr", ")", ";", "break", ";", "}", "fprintf", "(", "file", ",", "\"%s, #\"", ",", "reg_names", "[", "REGNO", "(", "reg", ")", "]", ")", ";", "output_addr_const", "(", "file", ",", "offset", ")", ";", "break", ";", "}", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":", "case", "CONST_INT", ":", "case", "CONST", ":", "output_addr_const", "(", "file", ",", "addr", ")", ";", "break", ";", "default", ":", "fatal_insn", "(", "\"PRINT_OPERAND_ADDRESS, invalid insn #1\"", ",", "addr", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Print", "a", "memory", "address", "as", "an", "operand", "to", "reference", "that", "memory", "location", "."], "TS_V_token": ["mt", "\"PRINT_OPERAND_ADDRESS, null pointer\"", "\"%s, #0\"", "0", "0", "0", "1", "\"PRINT_OPERAND_ADDRESS, 2 regs\"", "\"%s, #\"", "\"%s, #\"", "\"PRINT_OPERAND_ADDRESS, invalid insn #1\""], "File": "mt", "Func": "mt_print_operand_simple_address", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20388, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TargetLowering", "::", "ComputeNumSignBitsForTargetNode", "(", "SDValue", "Op", ",", "const", "SelectionDAG", "&", ",", "unsigned", "Depth", ")", "const", "{", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "X86ISD", "::", "SETCC_CARRY", ")", "return", "Op", ".", "getValueType", "(", ")", ".", "getScalarSizeInBits", "(", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Determine", "the", "number", "of", "bits", "in", "the", "operation", "that", "are", "sign", "bits", "."], "TS_V_token": ["X86", "X86", "X86ISD::SETCC_CARRY", "1"], "File": "X86ISelLowering (2)3", "Func": "ComputeNumSignBitsForTargetNode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20389, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_store_by_pieces_p", "(", "unsigned", "HOST_WIDE_INT", "size", ",", "unsigned", "int", "align", ")", "{", "if", "(", "align", "<=", "BITS_PER_UNIT", ")", "return", "size", "<", "4", ";", "return", "size", "<", "8", ";", "}", ""], "natrual_language": ["Implement", "a", "handler", "for", "STORE_BY_PIECES", "operations", "for", "TARGET_USE_MOVE_BY_PIECES_INFRASTRUCTURE_P", "."], "TS_V_token": ["mips", "4", "8"], "File": "mips", "Func": "mips_store_by_pieces_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20390, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "AArch64TargetLowering", "::", "getSafeStackPointerLocation", "(", "IRBuilder", "<", ">", "&", "IRB", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "isTargetAndroid", "(", ")", ")", "return", "TargetLowering", "::", "getSafeStackPointerLocation", "(", "IRB", ")", ";", "const", "unsigned", "TlsOffset", "=", "0x48", ";", "Module", "*", "M", "=", "IRB", ".", "GetInsertBlock", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "Function", "*", "ThreadPointerFunc", "=", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "Intrinsic", "::", "aarch64_thread_pointer", ")", ";", "return", "IRB", ".", "CreatePointerCast", "(", "IRB", ".", "CreateConstGEP1_32", "(", "IRB", ".", "CreateCall", "(", "ThreadPointerFunc", ")", ",", "TlsOffset", ")", ",", "Type", "::", "getInt8PtrTy", "(", "IRB", ".", "getContext", "(", ")", ")", "->", "getPointerTo", "(", "0", ")", ")", ";", "}", ""], "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": ["AArch64", "AArch64", "0x48", "Intrinsic::getDeclaration", "Intrinsic::aarch64_thread_pointer", "0"], "File": "AArch64ISelLowering (2)1", "Func": "getSafeStackPointerLocation", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20391, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_floorceildf_32", "(", "rtx", "operand0", ",", "rtx", "operand1", ",", "bool", "do_floor", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "operand0", ")", ";", "rtx", "xa", ",", "TWO52", ",", "tmp", ",", "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", ")", ";", "xa", "=", "expand_simple_binop", "(", "mode", ",", "PLUS", ",", "xa", ",", "TWO52", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "xa", "=", "expand_simple_binop", "(", "mode", ",", "MINUS", ",", "xa", ",", "TWO52", ",", "xa", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "ix86_sse_copysign_to_positive", "(", "xa", ",", "xa", ",", "res", ",", "mask", ")", ";", "one", "=", "force_reg", "(", "mode", ",", "const_double_from_real_value", "(", "do_floor", "?", "dconst1", ":", "dconstm1", ",", "mode", ")", ")", ";", "tmp", "=", "ix86_expand_sse_compare_mask", "(", "UNGT", ",", "xa", ",", "res", ",", "!", "do_floor", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "tmp", ",", "gen_rtx_AND", "(", "mode", ",", "one", ",", "tmp", ")", ")", ")", ";", "tmp", "=", "expand_simple_binop", "(", "mode", ",", "MINUS", ",", "xa", ",", "tmp", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "emit_move_insn", "(", "res", ",", "tmp", ")", ";", "emit_label", "(", "label", ")", ";", "LABEL_NUSES", "(", "label", ")", "=", "1", ";", "emit_move_insn", "(", "operand0", ",", "res", ")", ";", "}", ""], "natrual_language": ["Expand", "SSE2", "sequence", "for", "computing", "floor", "or", "ceil", "from", "OPERAND1", "storing", "into", "OPERAND0", "."], "TS_V_token": ["i386", "0", "0", "0", "1"], "File": "i3865", "Func": "ix86_expand_floorceildf_32", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20392, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SparcSubtarget", "*", "getSubtargetImpl", "(", ")", "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": ["Sparc", "Sparc"], "File": "SparcTargetMachine12", "Func": "getSubtargetImpl", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20393, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64TargetMachine", "::", "AArch64TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "LittleEndian", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ",", "LittleEndian", ")", ",", "isLittle", "(", "LittleEndian", ")", "{", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "AArch64", "architecture", "model", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine88", "Func": "AArch64TargetMachine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20394, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCPassConfig", "::", "addPreSched2", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "&", "IfConverterID", ")", ";", "if", "(", "!", "DisableQPXLoadSplat", ")", "addPass", "(", "createPPCQPXLoadSplatPass", "(", ")", ")", ";", "}", "}", ""], "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": "PPCTargetMachine1", "Func": "addPreSched2", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20395, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"SystemZ Long Branch\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["SystemZ", "\"SystemZ Long Branch\""], "File": "SystemZLongBranch1", "Func": "getPassName", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20396, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_check_movabs", "(", "rtx", "insn", ",", "int", "opnum", ")", "{", "rtx", "set", ",", "mem", ";", "set", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "set", ")", "==", "PARALLEL", ")", "set", "=", "XVECEXP", "(", "set", ",", "0", ",", "0", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "set", ")", "==", "SET", ")", ";", "mem", "=", "XEXP", "(", "set", ",", "opnum", ")", ";", "while", "(", "SUBREG_P", "(", "mem", ")", ")", "mem", "=", "SUBREG_REG", "(", "mem", ")", ";", "gcc_assert", "(", "MEM_P", "(", "mem", ")", ")", ";", "return", "volatile_ok", "||", "!", "MEM_VOLATILE_P", "(", "mem", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "OPNUM", "'s", "MEM", "should", "be", "matched", "in", "movabs", "*", "patterns", "."], "TS_V_token": ["i386", "0", "0"], "File": "i386", "Func": "ix86_check_movabs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20397, "Length": 93, "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": 20398, "Length": 315, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb2SizeReduce", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "PredicateFtor", "&&", "!", "PredicateFtor", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "STI", "=", "&", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "if", "(", "STI", "->", "isThumb1Only", "(", ")", "||", "STI", "->", "prefers32BitThumb", "(", ")", ")", "return", "false", ";", "TII", "=", "static_cast", "<", "const", "Thumb2InstrInfo", "*", ">", "(", "STI", "->", "getInstrInfo", "(", ")", ")", ";", "OptimizeSize", "=", "MF", ".", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "Attribute", "::", "OptimizeForSize", ")", ";", "MinimizeSize", "=", "MF", ".", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "Attribute", "::", "MinSize", ")", ";", "BlockInfo", ".", "clear", "(", ")", ";", "BlockInfo", ".", "resize", "(", "MF", ".", "getNumBlockIDs", "(", ")", ")", ";", "ReversePostOrderTraversal", "<", "MachineFunction", "*", ">", "RPOT", "(", "&", "MF", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "ReversePostOrderTraversal", "<", "MachineFunction", "*", ">", "::", "rpo_iterator", "I", "=", "RPOT", ".", "begin", "(", ")", ",", "E", "=", "RPOT", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Modified", "|=", "ReduceMBB", "(", "*", "*", "I", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM"], "File": "Thumb2SizeReduction40", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20399, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_validate_mtune", "(", "const", "char", "*", "str", ",", "const", "struct", "processor", "*", "*", "res", ")", "{", "enum", "aarch64_parse_opt_result", "parse_res", "=", "aarch64_parse_tune", "(", "str", ",", "res", ")", ";", "if", "(", "parse_res", "==", "AARCH64_PARSE_OK", ")", "return", "true", ";", "switch", "(", "parse_res", ")", "{", "case", "AARCH64_PARSE_MISSING_ARG", ":", "error", "(", "\"missing cpu name in %<-mtune=%s%>\"", ",", "str", ")", ";", "break", ";", "case", "AARCH64_PARSE_INVALID_ARG", ":", "error", "(", "\"unknown value %qs for %<-mtune%>\"", ",", "str", ")", ";", "aarch64_print_hint_for_core", "(", "str", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Validate", "a", "command-line", "-mtune", "option", ".", "Parse", "the", "cpu", "specified", "in", "STR", "and", "throw", "errors", "if", "appropriate", ".", "Put", "the", "result", ",", "if", "it", "is", "valid", ",", "in", "RES", ".", "Return", "whether", "the", "option", "is", "valid", "."], "TS_V_token": ["aarch64", "\"missing cpu name in %<-mtune=%s%>\"", "\"unknown value %qs for %<-mtune%>\""], "File": "aarch64", "Func": "aarch64_validate_mtune", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20400, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips16_cfun_returns_in_fpr_p", "(", "void", ")", "{", "tree", "return_type", "=", "DECL_RESULT", "(", "current_function_decl", ")", ";", "return", "(", "TARGET_MIPS16", "&&", "TARGET_HARD_FLOAT_ABI", "&&", "!", "aggregate_value_p", "(", "return_type", ",", "current_function_decl", ")", "&&", "mips_return_mode_in_fpr_p", "(", "DECL_MODE", "(", "return_type", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "current", "function", "returns", "its", "value", "in", "a", "floating-point", "register", "in", "MIPS16", "mode", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips16_cfun_returns_in_fpr_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20401, "Length": 39, "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": "SystemZShortenInst21", "Func": "runOnMachineFunction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20402, "Length": 86, "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", "::", "Ret", ":", "return", "SelectRet", "(", "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": "MipsFastISel45", "Func": "fastSelectInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20403, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "ARM64SelectionDAGInfo", "::", "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", "(", ")", ")", "?", "Subtarget", "->", "getBZeroEntry", "(", ")", ":", "nullptr", ";", "if", "(", "bzeroEntry", "&&", "(", "!", "SizeValue", "||", "SizeValue", "->", "getZExtValue", "(", ")", ">", "256", ")", ")", "{", "const", "ARM64TargetLowering", "&", "TLI", "=", "*", "static_cast", "<", "const", "ARM64TargetLowering", "*", ">", "(", "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", "(", "Chain", ",", "Type", "::", "getVoidTy", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ",", "false", ",", "false", ",", "false", ",", "false", ",", "0", ",", "CallingConv", "::", "C", ",", "false", ",", "false", ",", "false", ",", "DAG", ".", "getExternalSymbol", "(", "bzeroEntry", ",", "IntPtr", ")", ",", "Args", ",", "DAG", ",", "dl", ")", ";", "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": ["ARM64", "ARM64", "256", "ARM64", "ARM64", "0"], "File": "ARM64SelectionDAGInfo", "Func": "EmitTargetCodeForMemset", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20404, "Length": 277, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64ConditionalCompares", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** AArch64 Conditional Compares **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "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": ["AArch64", "AArch64", "\"********** AArch64 Conditional Compares **********\\n\"", "\"********** Function: \""], "File": "AArch64ConditionalCompares27", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20405, "Length": 179, "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": 20406, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "FISCTargetLowering", "::", "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_FISC", ")", ";", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "8", ">", "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", "(", "FISCISD", "::", "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": ["FISC", "FISC", "ISD::OutputArg", "16", "FISC", "8", "1", "0", "\"Can only return in registers!\"", "1", "0", "FISCISD::RET_FLAG", "MVT::Other"], "File": "FISCISelLowering", "Func": "LowerReturn", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20407, "Length": 239, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "bool", "libcall_hasher", "::", "equal", "(", "const", "value_type", "*", "p1", ",", "const", "compare_type", "*", "p2", ")", "{", "return", "rtx_equal_p", "(", "p1", ",", "p2", ")", ";", "}", ""], "natrual_language": ["Compare", "H1", "and", "H2", "for", "equivalence", "."], "TS_V_token": ["arm"], "File": "arm4", "Func": "equal", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20408, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCAIXAsmPrinter", "::", "emitGlobalVariable", "(", "const", "GlobalVariable", "*", "GV", ")", "{", "ValidateGV", "(", "GV", ")", ";", "if", "(", "isSpecialLLVMGlobalArrayForStaticInit", "(", "GV", ")", ")", "return", ";", "MCSymbolXCOFF", "*", "GVSym", "=", "cast", "<", "MCSymbolXCOFF", ">", "(", "getSymbol", "(", "GV", ")", ")", ";", "GVSym", "->", "setStorageClass", "(", "TargetLoweringObjectFileXCOFF", "::", "getStorageClassForGlobal", "(", "GV", ")", ")", ";", "SectionKind", "GVKind", ";", "MCSectionXCOFF", "*", "Csect", "=", "cast", "<", "MCSectionXCOFF", ">", "(", "GV", "->", "isDeclaration", "(", ")", "?", "getObjFileLowering", "(", ")", ".", "getSectionForExternalReference", "(", "GV", ",", "TM", ")", ":", "getObjFileLowering", "(", ")", ".", "SectionForGlobal", "(", "GV", ",", "GVKind", "=", "getObjFileLowering", "(", ")", ".", "getKindForGlobal", "(", "GV", ",", "TM", ")", ",", "TM", ")", ")", ";", "GVSym", "->", "setContainingCsect", "(", "Csect", ")", ";", "if", "(", "GV", "->", "isDeclaration", "(", ")", ")", "return", ";", "if", "(", "!", "GVKind", ".", "isGlobalWriteableData", "(", ")", "&&", "!", "GVKind", ".", "isReadOnly", "(", ")", ")", "report_fatal_error", "(", "\"Encountered a global variable kind that is \"", "\"not supported yet.\"", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "Csect", ")", ";", "const", "DataLayout", "&", "DL", "=", "GV", "->", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "if", "(", "GVKind", ".", "isCommon", "(", ")", "||", "GVKind", ".", "isBSSLocal", "(", ")", ")", "{", "unsigned", "Align", "=", "GV", "->", "getAlignment", "(", ")", "?", "GV", "->", "getAlignment", "(", ")", ":", "DL", ".", "getPreferredAlignment", "(", "GV", ")", ";", "uint64_t", "Size", "=", "DL", ".", "getTypeAllocSize", "(", "GV", "->", "getType", "(", ")", "->", "getElementType", "(", ")", ")", ";", "if", "(", "GVKind", ".", "isBSSLocal", "(", ")", ")", "OutStreamer", "->", "emitXCOFFLocalCommonSymbol", "(", "GVSym", ",", "Size", ",", "Csect", "->", "getQualNameSymbol", "(", ")", ",", "Align", ")", ";", "else", "OutStreamer", "->", "emitCommonSymbol", "(", "Csect", "->", "getQualNameSymbol", "(", ")", ",", "Size", ",", "Align", ")", ";", "return", ";", "}", "MCSymbol", "*", "EmittedInitSym", "=", "GVSym", ";", "emitLinkage", "(", "GV", ",", "EmittedInitSym", ")", ";", "emitAlignment", "(", "getGVAlignment", "(", "GV", ",", "DL", ")", ",", "GV", ")", ";", "OutStreamer", "->", "emitLabel", "(", "EmittedInitSym", ")", ";", "emitGlobalConstant", "(", "GV", "->", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ",", "GV", "->", "getInitializer", "(", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "specified", "global", "variable", "to", "the", ".s", "file", "."], "TS_V_token": ["PowerPC", "PPC", "\"Encountered a global variable kind that is \"", "\"not supported yet.\""], "File": "PPCAsmPrinter62", "Func": "emitGlobalVariable", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20409, "Length": 318, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_gen_pic_addr_diff_vec", "(", "void", ")", "{", "return", "rs6000_relative_jumptables", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_GENERATE_PIC_ADDR_DIFF_VEC", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_gen_pic_addr_diff_vec", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20410, "Length": 11, "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", "(", ")", ";", "unsigned", "Count", "=", "CSI", ".", "size", "(", ")", ";", "DebugLoc", "DL", ";", "assert", "(", "(", "Count", "&", "1", ")", "==", "0", "&&", "\"Odd number of callee-saved regs to spill!\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Count", ";", "i", "+=", "2", ")", "{", "unsigned", "idx", "=", "Count", "-", "i", "-", "2", ";", "unsigned", "Reg1", "=", "CSI", "[", "idx", "]", ".", "getReg", "(", ")", ";", "unsigned", "Reg2", "=", "CSI", "[", "idx", "+", "1", "]", ".", "getReg", "(", ")", ";", "assert", "(", "CSI", "[", "idx", "]", ".", "getFrameIdx", "(", ")", "+", "1", "==", "CSI", "[", "idx", "+", "1", "]", ".", "getFrameIdx", "(", ")", "&&", "\"Out of order callee saved regs!\"", ")", ";", "unsigned", "StrOpc", ";", "assert", "(", "(", "Count", "&", "1", ")", "==", "0", "&&", "\"Odd number of callee-saved regs to spill!\"", ")", ";", "assert", "(", "(", "i", "&", "1", ")", "==", "0", "&&", "\"Odd index for callee-saved reg spill!\"", ")", ";", "if", "(", "AArch64", "::", "GPR64RegClass", ".", "contains", "(", "Reg1", ")", ")", "{", "assert", "(", "AArch64", "::", "GPR64RegClass", ".", "contains", "(", "Reg2", ")", "&&", "\"Expected GPR64 callee-saved register pair!\"", ")", ";", "if", "(", "i", "==", "0", ")", "StrOpc", "=", "AArch64", "::", "STPXpre", ";", "else", "StrOpc", "=", "AArch64", "::", "STPXi", ";", "}", "else", "if", "(", "AArch64", "::", "FPR64RegClass", ".", "contains", "(", "Reg1", ")", ")", "{", "assert", "(", "AArch64", "::", "FPR64RegClass", ".", "contains", "(", "Reg2", ")", "&&", "\"Expected FPR64 callee-saved register pair!\"", ")", ";", "if", "(", "i", "==", "0", ")", "StrOpc", "=", "AArch64", "::", "STPDpre", ";", "else", "StrOpc", "=", "AArch64", "::", "STPDi", ";", "}", "else", "llvm_unreachable", "(", "\"Unexpected callee saved register!\"", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"CSR spill: (\"", "<<", "TRI", "->", "getName", "(", "Reg1", ")", "<<", "\", \"", "<<", "TRI", "->", "getName", "(", "Reg2", ")", "<<", "\") -> fi#(\"", "<<", "CSI", "[", "idx", "]", ".", "getFrameIdx", "(", ")", "<<", "\", \"", "<<", "CSI", "[", "idx", "+", "1", "]", ".", "getFrameIdx", "(", ")", "<<", "\")\\n\"", ")", ";", "const", "int", "Offset", "=", "(", "i", "==", "0", ")", "?", "-", "Count", ":", "i", ";", "assert", "(", "(", "Offset", ">=", "-", "64", "&&", "Offset", "<=", "63", ")", "&&", "\"Offset out of bounds for STP immediate\"", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "StrOpc", ")", ")", ";", "if", "(", "StrOpc", "==", "AArch64", "::", "STPDpre", "||", "StrOpc", "==", "AArch64", "::", "STPXpre", ")", "MIB", ".", "addReg", "(", "AArch64", "::", "SP", ",", "RegState", "::", "Define", ")", ";", "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", ")", ";", "}", "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", "1", "0", "\"Odd number of callee-saved regs to spill!\"", "0", "2", "2", "1", "1", "1", "\"Out of order callee saved regs!\"", "1", "0", "\"Odd number of callee-saved regs to spill!\"", "1", "0", "\"Odd index for callee-saved reg spill!\"", "AArch64::GPR64RegClass", "AArch64::GPR64RegClass", "\"Expected GPR64 callee-saved register pair!\"", "0", "AArch64::STPXpre", "AArch64::STPXi", "AArch64::FPR64RegClass", "AArch64::FPR64RegClass", "\"Expected FPR64 callee-saved register pair!\"", "0", "AArch64::STPDpre", "AArch64::STPDi", "\"Unexpected callee saved register!\"", "\"CSR spill: (\"", "\", \"", "\") -> fi#(\"", "\", \"", "1", "\")\\n\"", "0", "64", "63", "\"Offset out of bounds for STP immediate\"", "AArch64::STPDpre", "AArch64::STPXpre", "AArch64::SP", "AArch64::SP"], "File": "AArch64FrameLowering (2)", "Func": "spillCalleeSavedRegisters", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20411, "Length": 481, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LEGRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "MachineFrameInfo", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineOperand", "&", "FIOp", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ";", "unsigned", "FI", "=", "FIOp", ".", "getIndex", "(", ")", ";", "unsigned", "ImmOpIdx", "=", "0", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", ";", "case", "LEG", "::", "LDR", ":", "case", "LEG", "::", "STR", ":", "ImmOpIdx", "=", "FIOperandNum", "+", "1", ";", "break", ";", "}", "MachineOperand", "&", "ImmOp", "=", "MI", ".", "getOperand", "(", "ImmOpIdx", ")", ";", "int", "Offset", "=", "MFI", ".", "getObjectOffset", "(", "FI", ")", "+", "MFI", ".", "getStackSize", "(", ")", "+", "ImmOp", ".", "getImm", "(", ")", ";", "FIOp", ".", "ChangeToRegister", "(", "LEG", "::", "SP", ",", "false", ")", ";", "ImmOp", ".", "setImm", "(", "Offset", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["LEG", "LEG", "0", "LEG::LDR", "LEG::STR", "1", "LEG::SP"], "File": "LEGRegisterInfo", "Func": "eliminateFrameIndex", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20412, "Length": 164, "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": 20413, "Length": 423, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VETargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", "AddrSpace", ",", "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": ["VE", "VE"], "File": "VEISelLowering", "Func": "allowsMisalignedMemoryAccesses", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20414, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "getGlobalBaseReg", "(", "MachineFunction", "*", "MF", ")", "const", "{", "assert", "(", "!", "Subtarget", ".", "is64Bit", "(", ")", "&&", "\"X86-64 PIC uses RIP relative addressing\"", ")", ";", "X86MachineFunctionInfo", "*", "X86FI", "=", "MF", "->", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "unsigned", "GlobalBaseReg", "=", "X86FI", "->", "getGlobalBaseReg", "(", ")", ";", "if", "(", "GlobalBaseReg", "!=", "0", ")", "return", "GlobalBaseReg", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", "->", "getRegInfo", "(", ")", ";", "GlobalBaseReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "X86", "::", "GR32_NOSPRegClass", ")", ";", "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-64 PIC uses RIP relative addressing\"", "X86", "X86", "X86", "X86", "0", "X86::GR32_NOSPRegClass", "X86"], "File": "X86InstrInfo (2)1", "Func": "getGlobalBaseReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20415, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isOffsetFoldingLegal", "(", "const", "GlobalAddressSDNode", "*", "GA", ")", "const", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Skipping offset folding global address: \"", ")", ";", "DEBUG", "(", "GA", "->", "dump", "(", ")", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"AArch64 doesn't support folding offsets into global \"", "\"addresses\\n\"", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "folding", "a", "constant", "offset", "with", "the", "given", "GlobalAddress", "is", "legal", "."], "TS_V_token": ["AArch64", "AArch64", "\"Skipping offset folding global address: \"", "\"AArch64 doesn't support folding offsets into global \"", "\"addresses\\n\""], "File": "AArch64ISelLowering106", "Func": "isOffsetFoldingLegal", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20416, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_register_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "from", ",", "reg_class_t", "to", ")", "{", "int", "ret", ";", "if", "(", "TARGET_DEBUG_COST", ")", "dbg_cost_ctrl", "++", ";", "if", "(", "reg_classes_intersect_p", "(", "to", ",", "GENERAL_REGS", ")", "||", "reg_classes_intersect_p", "(", "from", ",", "GENERAL_REGS", ")", ")", "{", "reg_class_t", "rclass", "=", "from", ";", "if", "(", "!", "reg_classes_intersect_p", "(", "to", ",", "GENERAL_REGS", ")", ")", "rclass", "=", "to", ";", "if", "(", "rclass", "==", "FLOAT_REGS", "||", "rclass", "==", "ALTIVEC_REGS", "||", "rclass", "==", "VSX_REGS", ")", "ret", "=", "(", "rs6000_memory_move_cost", "(", "mode", ",", "rclass", ",", "false", ")", "+", "rs6000_memory_move_cost", "(", "mode", ",", "GENERAL_REGS", ",", "false", ")", ")", ";", "else", "if", "(", "rclass", "==", "CR_REGS", ")", "ret", "=", "4", ";", "else", "if", "(", "(", "rs6000_tune", "==", "PROCESSOR_POWER6", "||", "rs6000_tune", "==", "PROCESSOR_POWER7", "||", "rs6000_tune", "==", "PROCESSOR_POWER8", "||", "rs6000_tune", "==", "PROCESSOR_POWER9", ")", "&&", "reg_classes_intersect_p", "(", "rclass", ",", "LINK_OR_CTR_REGS", ")", ")", "ret", "=", "6", "*", "hard_regno_nregs", "(", "0", ",", "mode", ")", ";", "else", "ret", "=", "2", "*", "hard_regno_nregs", "(", "0", ",", "mode", ")", ";", "}", "else", "if", "(", "VECTOR_MEM_VSX_P", "(", "mode", ")", "&&", "reg_classes_intersect_p", "(", "to", ",", "VSX_REGS", ")", "&&", "reg_classes_intersect_p", "(", "from", ",", "VSX_REGS", ")", ")", "ret", "=", "2", "*", "hard_regno_nregs", "(", "FIRST_FPR_REGNO", ",", "mode", ")", ";", "else", "if", "(", "reg_classes_intersect_p", "(", "to", ",", "from", ")", ")", "ret", "=", "(", "FLOAT128_2REG_P", "(", "mode", ")", ")", "?", "4", ":", "2", ";", "else", "ret", "=", "(", "rs6000_register_move_cost", "(", "mode", ",", "GENERAL_REGS", ",", "to", ")", "+", "rs6000_register_move_cost", "(", "mode", ",", "from", ",", "GENERAL_REGS", ")", ")", ";", "if", "(", "TARGET_DEBUG_COST", ")", "{", "if", "(", "dbg_cost_ctrl", "==", "1", ")", "fprintf", "(", "stderr", ",", "\"rs6000_register_move_cost: ret=%d, mode=%s, from=%s, to=%s\\n\"", ",", "ret", ",", "GET_MODE_NAME", "(", "mode", ")", ",", "reg_class_names", "[", "from", "]", ",", "reg_class_names", "[", "to", "]", ")", ";", "dbg_cost_ctrl", "--", ";", "}", "return", "ret", ";", "}", ""], "natrual_language": ["A", "C", "expression", "returning", "the", "cost", "of", "moving", "data", "from", "a", "register", "of", "class", "CLASS1", "to", "one", "of", "CLASS2", "."], "TS_V_token": ["rs6000", "4", "6", "0", "2", "0", "2", "4", "2", "1", "\"rs6000_register_move_cost: ret=%d, mode=%s, from=%s, to=%s\\n\""], "File": "rs60008", "Func": "rs6000_register_move_cost", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20417, "Length": 281, "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": "MipsISelLowering100", "Func": "LowerCallResult", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20418, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_probe_stack_range", "(", "rtx", "reg1", ",", "rtx", "reg2", ")", "{", "static", "int", "labelno", "=", "0", ";", "char", "loop_lab", "[", "32", "]", ";", "rtx", "xops", "[", "2", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "loop_lab", ",", "\"LPSRL\"", ",", "labelno", "++", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "loop_lab", ")", ";", "xops", "[", "0", "]", "=", "reg1", ";", "xops", "[", "1", "]", "=", "GEN_INT", "(", "PROBE_INTERVAL", ")", ";", "output_asm_insn", "(", "\"sub\\t%0, %0, %1\"", ",", "xops", ")", ";", "output_asm_insn", "(", "\"str\\tr0, [%0, #0]\"", ",", "xops", ")", ";", "xops", "[", "1", "]", "=", "reg2", ";", "output_asm_insn", "(", "\"cmp\\t%0, %1\"", ",", "xops", ")", ";", "fputs", "(", "\"\\tbne\\t\"", ",", "asm_out_file", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "loop_lab", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Wrapper", "around", "the", "output_probe_stack_range", "routines", "."], "TS_V_token": ["arm", "0", "32", "2", "\"LPSRL\"", "0", "1", "\"sub\\t%0, %0, %1\"", "\"str\\tr0, [%0, #0]\"", "1", "\"cmp\\t%0, %1\"", "\"\\tbne\\t\"", "\"\""], "File": "arm", "Func": "output_probe_stack_range", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20419, "Length": 117, "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 (2)3", "Func": "getRecipEstimate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20420, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ia64_gimplify_va_arg", "(", "tree", "valist", ",", "tree", "type", ",", "tree", "*", "pre_p", ",", "tree", "*", "post_p", ")", "{", "if", "(", "pass_by_reference", "(", "NULL", ",", "TYPE_MODE", "(", "type", ")", ",", "type", ",", "false", ")", ")", "{", "tree", "ptrtype", "=", "build_pointer_type", "(", "type", ")", ";", "tree", "addr", "=", "std_gimplify_va_arg_expr", "(", "valist", ",", "ptrtype", ",", "pre_p", ",", "post_p", ")", ";", "return", "build_va_arg_indirect_ref", "(", "addr", ")", ";", "}", "if", "(", "(", "TREE_CODE", "(", "type", ")", "==", "REAL_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "INTEGER_TYPE", ")", "?", "int_size_in_bytes", "(", "type", ")", ">", "8", ":", "TYPE_ALIGN", "(", "type", ")", ">", "8", "*", "BITS_PER_UNIT", ")", "{", "tree", "t", "=", "build", "(", "PLUS_EXPR", ",", "TREE_TYPE", "(", "valist", ")", ",", "valist", ",", "build_int_cst", "(", "NULL_TREE", ",", "2", "*", "UNITS_PER_WORD", "-", "1", ")", ")", ";", "t", "=", "build", "(", "BIT_AND_EXPR", ",", "TREE_TYPE", "(", "t", ")", ",", "t", ",", "build_int_cst", "(", "NULL_TREE", ",", "-", "2", "*", "UNITS_PER_WORD", ")", ")", ";", "t", "=", "build", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "valist", ")", ",", "valist", ",", "t", ")", ";", "gimplify_and_add", "(", "t", ",", "pre_p", ")", ";", "}", "return", "std_gimplify_va_arg_expr", "(", "valist", ",", "type", ",", "pre_p", ",", "post_p", ")", ";", "}", ""], "natrual_language": ["Implement", "va_arg", "."], "TS_V_token": ["ia64", "8", "8", "2", "1", "2"], "File": "ia643", "Func": "ia64_gimplify_va_arg", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20421, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "def_builtin", "(", "int", "mask", ",", "const", "char", "*", "name", ",", "tree", "type", ",", "int", "code", ")", "{", "if", "(", "mask", "&", "target_flags", ")", "{", "if", "(", "rs6000_builtin_decls", "[", "code", "]", ")", "abort", "(", ")", ";", "rs6000_builtin_decls", "[", "code", "]", "=", "lang_hooks", ".", "builtin_function", "(", "name", ",", "type", ",", "code", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "}", "}", ""], "natrual_language": ["Add", "a", "SPARC", "builtin", "function", "with", "NAME", ",", "ICODE", ",", "CODE", "and", "TYPE", ".", "Return", "the", "function", "decl", "or", "NULL_TREE", "if", "the", "builtin", "was", "not", "added", "."], "TS_V_token": ["rs6000"], "File": "rs60003", "Func": "def_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20422, "Length": 61, "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", ")", "{", "enum", "machine_mode", "mode", ";", "if", "(", "allocno_class", "!=", "ALL_REGS", ")", "return", "allocno_class", ";", "if", "(", "best_class", "!=", "ALL_REGS", ")", "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": "aarch643", "Func": "aarch64_ira_change_pseudo_allocno_class", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20423, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "runOnFunction", "(", "Function", "&", "Fn", ")", "{", "if", "(", "Fn", ".", "hasAvailableExternallyLinkage", "(", ")", ")", "return", "false", ";", "GlobalBaseReg", "=", "0", ";", "SelectionDAGISel", "::", "runOnFunction", "(", "Fn", ")", ";", "InsertVRSaveCode", "(", "Fn", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["PowerPC", "0"], "File": "PPCISelDAGToDAG33", "Func": "runOnFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20424, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "mips_ucbranch_type", "mips_classify_branch_p6600", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "!", "insn", "||", "!", "USEFUL_INSN_P", "(", "insn", ")", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "SEQUENCE", ")", "return", "UC_UNDEFINED", ";", "if", "(", "get_attr_jal", "(", "insn", ")", "==", "JAL_INDIRECT", "||", "get_attr_type", "(", "insn", ")", "==", "TYPE_JUMP", ")", "return", "UC_OTHER", ";", "if", "(", "CALL_P", "(", "insn", ")", "&&", "get_attr_jal", "(", "insn", ")", "==", "JAL_DIRECT", ")", "return", "UC_BALC", ";", "return", "UC_UNDEFINED", ";", "}", ""], "natrual_language": ["Subroutine", "of", "mips_avoid_hazard", ".", "We", "classify", "unconditional", "branches", "of", "interest", "for", "the", "P6600", "for", "performance", "reasons", ".", "We", "'re", "interested", "in", "differentiating", "BALC", "from", "JIC", ",", "JIALC", "and", "BC", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_classify_branch_p6600", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20425, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "maybe_get_pool_constant", "(", "rtx", "x", ")", "{", "x", "=", "ix86_delegitimize_address", "(", "XEXP", "(", "x", ",", "0", ")", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "CONSTANT_POOL_ADDRESS_P", "(", "x", ")", ")", "return", "get_pool_constant", "(", "x", ")", ";", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["X", "is", "an", "unchanging", "MEM", ".", "If", "it", "is", "a", "constant", "pool", "reference", ",", "return", "the", "constant", "pool", "rtx", ",", "else", "NULL", "."], "TS_V_token": ["i386", "0"], "File": "i3863", "Func": "maybe_get_pool_constant", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20426, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_pragma_arm", "(", "cpp_reader", "*", ")", "{", "tree", "x", ";", "if", "(", "pragma_lex", "(", "&", "x", ")", "!=", "CPP_STRING", ")", "{", "error", "(", "\"%<#pragma GCC arm%> requires a string parameter\"", ")", ";", "return", ";", "}", "const", "char", "*", "name", "=", "TREE_STRING_POINTER", "(", "x", ")", ";", "if", "(", "strcmp", "(", "name", ",", "\"arm_mve_types.h\"", ")", "==", "0", ")", "arm_mve", "::", "handle_arm_mve_types_h", "(", ")", ";", "else", "error", "(", "\"unknown %<#pragma GCC arm%> option %qs\"", ",", "name", ")", ";", "}", ""], "natrual_language": ["Implement", "``", "#", "pragma", "GCC", "arm", "''", "."], "TS_V_token": ["arm", "\"%<#pragma GCC arm%> requires a string parameter\"", "\"arm_mve_types.h\"", "0", "arm_mve::handle_arm_mve_types_h", "\"unknown %<#pragma GCC arm%> option %qs\""], "File": "arm-c", "Func": "arm_pragma_arm", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20427, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZShortenInst", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "TII", "=", "static_cast", "<", "const", "SystemZInstrInfo", "*", ">", "(", "F", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "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": "SystemZShortenInst1", "Func": "runOnMachineFunction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20428, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "tryAddingPcLoadReferenceComment", "(", "uint64_t", "Address", ",", "int", "Value", ",", "const", "void", "*", "Decoder", ")", "{", "const", "MCDisassembler", "*", "Dis", "=", "static_cast", "<", "const", "MCDisassembler", "*", ">", "(", "Decoder", ")", ";", "LLVMSymbolLookupCallback", "SymbolLookUp", "=", "Dis", "->", "getLLVMSymbolLookupCallback", "(", ")", ";", "if", "(", "SymbolLookUp", ")", "{", "void", "*", "DisInfo", "=", "Dis", "->", "getDisInfoBlock", "(", ")", ";", "uint64_t", "ReferenceType", ";", "ReferenceType", "=", "LLVMDisassembler_ReferenceType_In_PCrel_Load", ";", "const", "char", "*", "ReferenceName", ";", "(", "void", ")", "SymbolLookUp", "(", "DisInfo", ",", "Value", ",", "&", "ReferenceType", ",", "Address", ",", "&", "ReferenceName", ")", ";", "if", "(", "ReferenceType", "==", "LLVMDisassembler_ReferenceType_Out_LitPool_SymAddr", "||", "ReferenceType", "==", "LLVMDisassembler_ReferenceType_Out_LitPool_CstrAddr", ")", "(", "*", "Dis", "->", "CommentStream", ")", "<<", "\"literal pool for: \"", "<<", "ReferenceName", ";", "}", "}", ""], "natrual_language": ["Try", "to", "add", "a", "comment", "on", "the", "PC-relative", "load", "."], "TS_V_token": ["ARM", "\"literal pool for: \""], "File": "ARMDisassembler10", "Func": "tryAddingPcLoadReferenceComment", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20429, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_expand_conditional_branch", "(", "rtx", "*", "operands", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "operands", "[", "0", "]", ")", ";", "rtx", "op0", "=", "operands", "[", "1", "]", ";", "rtx", "op1", "=", "operands", "[", "2", "]", ";", "rtx", "condition", ";", "mips_emit_compare", "(", "&", "code", ",", "&", "op0", ",", "&", "op1", ",", "TARGET_MIPS16", ")", ";", "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": ["mips", "0", "1", "2", "3"], "File": "mips", "Func": "mips_expand_conditional_branch", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20430, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sh_output_function_epilogue", "(", "FILE", "*", ")", "{", "}", ""], "natrual_language": ["Clear", "variables", "at", "function", "end", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "sh_output_function_epilogue", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20431, "Length": 9, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "do_reorder_for_imul", "(", "rtx_insn", "*", "*", "ready", ",", "int", "n_ready", ")", "{", "rtx_insn", "*", "insn", ";", "rtx", "set", ",", "insn1", ",", "insn2", ";", "sd_iterator_def", "sd_it", ";", "dep_t", "dep", ";", "int", "index", "=", "-", "1", ";", "int", "i", ";", "if", "(", "!", "TARGET_BONNELL", ")", "return", "index", ";", "insn", "=", "ready", "[", "n_ready", "-", "1", "]", ";", "set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "!", "set", ")", "return", "index", ";", "if", "(", "!", "(", "GET_CODE", "(", "SET_SRC", "(", "set", ")", ")", "==", "MULT", "&&", "GET_MODE", "(", "SET_SRC", "(", "set", ")", ")", "==", "SImode", ")", ")", "return", "index", ";", "for", "(", "i", "=", "n_ready", "-", "2", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "insn", "=", "ready", "[", "i", "]", ";", "if", "(", "!", "NONDEBUG_INSN_P", "(", "insn", ")", ")", "continue", ";", "insn2", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "insn2", ")", "==", "PARALLEL", ")", "insn2", "=", "XVECEXP", "(", "insn2", ",", "0", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "insn2", ")", "==", "SET", "&&", "GET_CODE", "(", "SET_SRC", "(", "insn2", ")", ")", "==", "MULT", "&&", "GET_MODE", "(", "SET_SRC", "(", "insn2", ")", ")", "==", "SImode", ")", "continue", ";", "FOR_EACH_DEP", "(", "insn", ",", "SD_LIST_FORW", ",", "sd_it", ",", "dep", ")", "{", "rtx", "con", ";", "con", "=", "DEP_CON", "(", "dep", ")", ";", "if", "(", "!", "NONDEBUG_INSN_P", "(", "con", ")", ")", "continue", ";", "insn1", "=", "PATTERN", "(", "con", ")", ";", "if", "(", "GET_CODE", "(", "insn1", ")", "==", "PARALLEL", ")", "insn1", "=", "XVECEXP", "(", "insn1", ",", "0", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "insn1", ")", "==", "SET", "&&", "GET_CODE", "(", "SET_SRC", "(", "insn1", ")", ")", "==", "MULT", "&&", "GET_MODE", "(", "SET_SRC", "(", "insn1", ")", ")", "==", "SImode", ")", "{", "sd_iterator_def", "sd_it1", ";", "dep_t", "dep1", ";", "index", "=", "i", ";", "FOR_EACH_DEP", "(", "con", ",", "SD_LIST_BACK", ",", "sd_it1", ",", "dep1", ")", "{", "rtx", "pro", ";", "pro", "=", "DEP_PRO", "(", "dep1", ")", ";", "if", "(", "!", "NONDEBUG_INSN_P", "(", "pro", ")", ")", "continue", ";", "if", "(", "pro", "!=", "insn", ")", "index", "=", "-", "1", ";", "}", "if", "(", "index", ">=", "0", ")", "break", ";", "}", "}", "if", "(", "index", ">=", "0", ")", "break", ";", "}", "return", "index", ";", "}", ""], "natrual_language": ["Try", "to", "reorder", "ready", "list", "to", "take", "advantage", "of", "Atom", "pipelined", "IMUL", "execution", ".", "It", "is", "applied", "if", "(", "1", ")", "IMUL", "instruction", "is", "on", "the", "top", "of", "list", ";", "(", "2", ")", "There", "exists", "the", "only", "producer", "of", "independent", "IMUL", "instruction", "in", "ready", "list", ".", "Return", "index", "of", "IMUL", "producer", "if", "it", "was", "found", "and", "-1", "otherwise", "."], "TS_V_token": ["i386", "1", "1", "2", "0", "0", "0", "0", "0", "1", "0", "0"], "File": "i3864", "Func": "do_reorder_for_imul", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20432, "Length": 354, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86RetpolineThunks", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "InsertedThunks", "=", "false", ";", "return", "false", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["X86", "X86"], "File": "X86RetpolineThunks", "Func": "doInitialization", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20433, "Length": 18, "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": ["powerpcspe", "1", "1", "2", "2", "0", "0", "0", "0", "0", "0", "1"], "File": "powerpcspe", "Func": "rs6000_darwin64_record_arg", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20434, "Length": 196, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "unsigned", "VReg", ")", "const", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "Function", "&", "F", "=", "*", "MF", ".", "getFunction", "(", ")", ";", "auto", "MIB", "=", "MIRBuilder", ".", "buildInstrNoInsert", "(", "AArch64", "::", "RET_ReallyLR", ")", ";", "assert", "(", "(", "(", "Val", "&&", "VReg", ")", "||", "(", "!", "Val", "&&", "!", "VReg", ")", ")", "&&", "\"Return value without a vreg\"", ")", ";", "bool", "Success", "=", "true", ";", "if", "(", "VReg", ")", "{", "const", "AArch64TargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "AArch64TargetLowering", ">", "(", ")", ";", "CCAssignFn", "*", "AssignFn", "=", "TLI", ".", "CCAssignFnForReturn", "(", "F", ".", "getCallingConv", "(", ")", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "auto", "&", "DL", "=", "F", ".", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "ArgInfo", "OrigArg", "{", "VReg", ",", "Val", "->", "getType", "(", ")", "}", ";", "setArgFlags", "(", "OrigArg", ",", "AttributeSet", "::", "ReturnIndex", ",", "DL", ",", "F", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "SplitArgs", ";", "splitToValueTypes", "(", "OrigArg", ",", "SplitArgs", ",", "DL", ",", "MRI", ",", "[", "&", "]", "(", "ArrayRef", "<", "unsigned", ">", "Regs", ",", "ArrayRef", "<", "uint64_t", ">", "Offsets", ")", "{", "MIRBuilder", ".", "buildExtract", "(", "Regs", ",", "Offsets", ",", "VReg", ")", ";", "}", ")", ";", "OutgoingArgHandler", "Handler", "(", "MIRBuilder", ",", "MRI", ",", "MIB", ")", ";", "Success", "=", "handleAssignments", "(", "MIRBuilder", ",", "AssignFn", ",", "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", "8"], "File": "AArch64CallLowering22", "Func": "lowerReturn", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20435, "Length": 245, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetELFStreamer", "::", "finish", "(", ")", "{", "MCAssembler", "&", "MCA", "=", "getStreamer", "(", ")", ".", "getAssembler", "(", ")", ";", "const", "MCObjectFileInfo", "&", "OFI", "=", "*", "MCA", ".", "getContext", "(", ")", ".", "getObjectFileInfo", "(", ")", ";", "MCSection", "&", "TextSection", "=", "*", "OFI", ".", "getTextSection", "(", ")", ";", "MCA", ".", "registerSection", "(", "TextSection", ")", ";", "MCSection", "&", "DataSection", "=", "*", "OFI", ".", "getDataSection", "(", ")", ";", "MCA", ".", "registerSection", "(", "DataSection", ")", ";", "MCSection", "&", "BSSSection", "=", "*", "OFI", ".", "getBSSSection", "(", ")", ";", "MCA", ".", "registerSection", "(", "BSSSection", ")", ";", "TextSection", ".", "setAlignment", "(", "Align", "(", "std", "::", "max", "(", "16u", ",", "TextSection", ".", "getAlignment", "(", ")", ")", ")", ")", ";", "DataSection", ".", "setAlignment", "(", "Align", "(", "std", "::", "max", "(", "16u", ",", "DataSection", ".", "getAlignment", "(", ")", ")", ")", ")", ";", "BSSSection", ".", "setAlignment", "(", "Align", "(", "std", "::", "max", "(", "16u", ",", "BSSSection", ".", "getAlignment", "(", ")", ")", ")", ")", ";", "if", "(", "RoundSectionSizes", ")", "{", "MCStreamer", "&", "OS", "=", "getStreamer", "(", ")", ";", "for", "(", "MCSection", "&", "S", ":", "MCA", ")", "{", "MCSectionELF", "&", "Section", "=", "static_cast", "<", "MCSectionELF", "&", ">", "(", "S", ")", ";", "unsigned", "Alignment", "=", "Section", ".", "getAlignment", "(", ")", ";", "if", "(", "Alignment", ")", "{", "OS", ".", "SwitchSection", "(", "&", "Section", ")", ";", "if", "(", "Section", ".", "UseCodeAlign", "(", ")", ")", "OS", ".", "emitCodeAlignment", "(", "Alignment", ",", "&", "STI", ",", "Alignment", ")", ";", "else", "OS", ".", "emitValueToAlignment", "(", "Alignment", ",", "0", ",", "1", ",", "Alignment", ")", ";", "}", "}", "}", "const", "FeatureBitset", "&", "Features", "=", "STI", ".", "getFeatureBits", "(", ")", ";", "unsigned", "EFlags", "=", "MCA", ".", "getELFHeaderEFlags", "(", ")", ";", "if", "(", "getABI", "(", ")", ".", "IsO32", "(", ")", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_ABI_O32", ";", "else", "if", "(", "getABI", "(", ")", ".", "IsN32", "(", ")", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_ABI2", ";", "if", "(", "Features", "[", "Mips", "::", "FeatureGP64Bit", "]", ")", "{", "if", "(", "getABI", "(", ")", ".", "IsO32", "(", ")", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_32BITMODE", ";", "}", "else", "if", "(", "Features", "[", "Mips", "::", "FeatureMips64r2", "]", "||", "Features", "[", "Mips", "::", "FeatureMips64", "]", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_32BITMODE", ";", "if", "(", "!", "Features", "[", "Mips", "::", "FeatureNoABICalls", "]", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_CPIC", ";", "if", "(", "Pic", ")", "EFlags", "|=", "ELF", "::", "EF_MIPS_PIC", "|", "ELF", "::", "EF_MIPS_CPIC", ";", "MCA", ".", "setELFHeaderEFlags", "(", "EFlags", ")", ";", "MipsELFStreamer", "&", "MEF", "=", "static_cast", "<", "MipsELFStreamer", "&", ">", "(", "Streamer", ")", ";", "MEF", ".", "EmitMipsOptionRecords", "(", ")", ";", "emitMipsAbiFlags", "(", ")", ";", "}", ""], "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": ["Mips", "Mips", "16u", "16u", "16u", "0", "1", "Mips::FeatureGP64Bit", "Mips::FeatureMips64r2", "Mips::FeatureMips64", "Mips::FeatureNoABICalls", "Mips", "Mips", "Mips", "Mips"], "File": "MipsTargetStreamer", "Func": "finish", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20436, "Length": 410, "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", ")", ",", "HasDSP", "(", "false", ")", ",", "HasDSPR2", "(", "false", ")", ",", "IsAndroid", "(", "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", ";", "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", "\"mips32\"", "Mips", "Mips", "Mips", "Mips", "Mips", "\"Invalid Arch & ABI pair.\"", "\"linux\""], "File": "MipsSubtarget24", "Func": "MipsSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20437, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseTargetMachine", "::", "addPreRegAlloc", "(", "PassManagerBase", "&", "PM", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "!", "Subtarget", ".", "isThumb1Only", "(", ")", ")", "PM", ".", "add", "(", "createARMLoadStoreOptimizationPass", "(", "true", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "Subtarget", ".", "isCortexA9", "(", ")", ")", "PM", ".", "add", "(", "createMLxExpansionPass", "(", ")", ")", ";", "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"], "File": "ARMTargetMachine61", "Func": "addPreRegAlloc", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20438, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "calling_abi", "ix86_cfun_abi", "(", "void", ")", "{", "return", "cfun", "?", "cfun", "->", "machine", "->", "call_abi", ":", "ix86_abi", ";", "}", ""], "natrual_language": ["Returns", "value", "SYSV_ABI", ",", "MS_ABI", "dependent", "on", "cfun", ",", "specifying", "the", "call", "abi", "used", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_cfun_abi", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20439, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCInstrInfo", "::", "removeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "int", "*", "BytesRemoved", ")", "const", "{", "assert", "(", "!", "BytesRemoved", "&&", "\"code size not handled\"", ")", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "end", "(", ")", ")", "return", "0", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "B", "&&", "I", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "BCC", "&&", "I", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "BC", "&&", "I", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "BCn", "&&", "I", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "BDNZ8", "&&", "I", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "BDNZ", "&&", "I", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "BDZ8", "&&", "I", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "BDZ", ")", "return", "0", ";", "I", "->", "eraseFromParent", "(", ")", ";", "I", "=", "MBB", ".", "end", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", ")", "return", "1", ";", "--", "I", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "BCC", "&&", "I", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "BC", "&&", "I", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "BCn", "&&", "I", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "BDNZ8", "&&", "I", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "BDNZ", "&&", "I", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "BDZ8", "&&", "I", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "BDZ", ")", "return", "1", ";", "I", "->", "eraseFromParent", "(", ")", ";", "return", "2", ";", "}", ""], "natrual_language": ["Remove", "the", "branching", "code", "at", "the", "end", "of", "the", "specific", "MBB", "."], "TS_V_token": ["PowerPC", "PPC", "\"code size not handled\"", "0", "PPC::B", "PPC::BCC", "PPC::BC", "PPC::BCn", "PPC::BDNZ8", "PPC::BDNZ", "PPC::BDZ8", "PPC::BDZ", "0", "1", "PPC::BCC", "PPC::BC", "PPC::BCn", "PPC::BDNZ8", "PPC::BDNZ", "PPC::BDZ8", "PPC::BDZ", "1", "2"], "File": "PPCInstrInfo (2)2", "Func": "removeBranch", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20440, "Length": 247, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ia64_modes_tieable_p", "(", "machine_mode", "mode1", ",", "machine_mode", "mode2", ")", "{", "return", "(", "GET_MODE_CLASS", "(", "mode1", ")", "==", "GET_MODE_CLASS", "(", "mode2", ")", "&&", "(", "(", "mode1", "==", "XFmode", "||", "mode1", "==", "XCmode", "||", "mode1", "==", "RFmode", ")", "==", "(", "mode2", "==", "XFmode", "||", "mode2", "==", "XCmode", "||", "mode2", "==", "RFmode", ")", ")", "&&", "(", "mode1", "==", "BImode", ")", "==", "(", "mode2", "==", "BImode", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MODES_TIEABLE_P", ".", "Do", "n't", "tie", "integer", "and", "FP", "modes", ",", "as", "that", "causes", "us", "to", "get", "integer", "registers", "allocated", "for", "FP", "instructions", ".", "XFmode", "only", "supported", "in", "FP", "registers", "so", "we", "ca", "n't", "tie", "it", "with", "any", "other", "modes", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "ia64_modes_tieable_p", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20441, "Length": 67, "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": ["powerpcspe", "1", "0", "4", "3", "2", "2", "1", "3", "3", "3", "1"], "File": "powerpcspe", "Func": "ccr_bit", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20442, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_legitimize_reload_address", "(", "rtx", "x", ",", "machine_mode", ",", "int", "opnum", ",", "int", "type", ",", "int", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "1", ")", ")", ")", "{", "rtx", "base", ",", "index", ";", "bool", "something_reloaded", "=", "false", ";", "base", "=", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "1", ")", ";", "if", "(", "!", "REG_OK_FOR_BASE_STRICT_P", "(", "base", ")", ")", "{", "push_reload", "(", "base", ",", "NULL_RTX", ",", "&", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "1", ")", ",", "NULL", ",", "BASE_REG_CLASS", ",", "GET_MODE", "(", "x", ")", ",", "VOIDmode", ",", "0", ",", "0", ",", "opnum", ",", "(", "enum", "reload_type", ")", "type", ")", ";", "something_reloaded", "=", "true", ";", "}", "index", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "!", "REG_OK_FOR_INDEX_STRICT_P", "(", "index", ")", ")", "{", "push_reload", "(", "index", ",", "NULL_RTX", ",", "&", "XEXP", "(", "x", ",", "1", ")", ",", "NULL", ",", "INDEX_REG_CLASS", ",", "GET_MODE", "(", "x", ")", ",", "VOIDmode", ",", "0", ",", "0", ",", "opnum", ",", "(", "enum", "reload_type", ")", "type", ")", ";", "something_reloaded", "=", "true", ";", "}", "gcc_assert", "(", "something_reloaded", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Our", "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", "."], "TS_V_token": ["i386", "1", "0", "0", "1", "0", "1", "0", "1", "0", "0", "1", "1", "0", "0"], "File": "i3864", "Func": "ix86_legitimize_reload_address", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20443, "Length": 219, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "UPTRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["UPT", "UPT"], "File": "UPTInstrInfo", "Func": "getRegisterInfo", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20444, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ")", "const", "{", "static", "const", "char", "Nops", "[", "10", "]", "[", "11", "]", "=", "{", "\"\\x90\"", ",", "\"\\x66\\x90\"", ",", "\"\\x0f\\x1f\\x00\"", ",", "\"\\x0f\\x1f\\x40\\x00\"", ",", "\"\\x0f\\x1f\\x44\\x00\\x00\"", ",", "\"\\x66\\x0f\\x1f\\x44\\x00\\x00\"", ",", "\"\\x0f\\x1f\\x80\\x00\\x00\\x00\\x00\"", ",", "\"\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", ",", "\"\\x66\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", ",", "\"\\x66\\x2e\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", ",", "}", ";", "if", "(", "!", "STI", ".", "hasFeature", "(", "X86", "::", "FeatureNOPL", ")", "&&", "!", "STI", ".", "hasFeature", "(", "X86", "::", "Mode64Bit", ")", ")", "{", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "<", "Count", ";", "++", "i", ")", "OS", "<<", "'\\x90'", ";", "return", "true", ";", "}", "uint64_t", "MaxNopLength", "=", "10", ";", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "FeatureFast7ByteNOP", "]", ")", "MaxNopLength", "=", "7", ";", "else", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "FeatureFast15ByteNOP", "]", ")", "MaxNopLength", "=", "15", ";", "else", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "FeatureFast11ByteNOP", "]", ")", "MaxNopLength", "=", "11", ";", "do", "{", "const", "uint8_t", "ThisNopLength", "=", "(", "uint8_t", ")", "std", "::", "min", "(", "Count", ",", "MaxNopLength", ")", ";", "const", "uint8_t", "Prefixes", "=", "ThisNopLength", "<=", "10", "?", "0", ":", "ThisNopLength", "-", "10", ";", "for", "(", "uint8_t", "i", "=", "0", ";", "i", "<", "Prefixes", ";", "i", "++", ")", "OS", "<<", "'\\x66'", ";", "const", "uint8_t", "Rest", "=", "ThisNopLength", "-", "Prefixes", ";", "if", "(", "Rest", "!=", "0", ")", "OS", ".", "write", "(", "Nops", "[", "Rest", "-", "1", "]", ",", "Rest", ")", ";", "Count", "-=", "ThisNopLength", ";", "}", "while", "(", "Count", "!=", "0", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["X86", "X86", "10", "11", "\"\\x90\"", "\"\\x66\\x90\"", "\"\\x0f\\x1f\\x00\"", "\"\\x0f\\x1f\\x40\\x00\"", "\"\\x0f\\x1f\\x44\\x00\\x00\"", "\"\\x66\\x0f\\x1f\\x44\\x00\\x00\"", "\"\\x0f\\x1f\\x80\\x00\\x00\\x00\\x00\"", "\"\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", "\"\\x66\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", "\"\\x66\\x2e\\x0f\\x1f\\x84\\x00\\x00\\x00\\x00\\x00\"", "X86::FeatureNOPL", "X86::Mode64Bit", "0", "10", "X86::FeatureFast7ByteNOP", "7", "X86::FeatureFast15ByteNOP", "15", "X86::FeatureFast11ByteNOP", "11", "10", "0", "10", "0", "0", "1", "0"], "File": "X86AsmBackend92", "Func": "writeNopData", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20445, "Length": 245, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "AArch64TargetLowering", "::", "shouldExpandAtomicCmpXchgInIR", "(", "AtomicCmpXchgInst", "*", "AI", ")", "const", "{", "if", "(", "Subtarget", "->", "hasLSE", "(", ")", "||", "Subtarget", "->", "outlineAtomics", "(", ")", ")", "return", "AtomicExpansionKind", "::", "None", ";", "if", "(", "getTargetMachine", "(", ")", ".", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ")", "return", "AtomicExpansionKind", "::", "None", ";", "return", "AtomicExpansionKind", "::", "LLSC", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "atomic", "cmpxchg", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ISelLowering10", "Func": "shouldExpandAtomicCmpXchgInIR", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20446, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_reorg", "(", "void", ")", "{", "compute_bb_for_insn", "(", ")", ";", "if", "(", "flag_mitigate_rop", ")", "ix86_mitigate_rop", "(", ")", ";", "if", "(", "TARGET_SEH", "&&", "current_function_has_exception_handlers", "(", ")", ")", "ix86_seh_fixup_eh_fallthru", "(", ")", ";", "if", "(", "optimize", "&&", "optimize_function_for_speed_p", "(", "cfun", ")", ")", "{", "if", "(", "TARGET_PAD_SHORT_FUNCTION", ")", "ix86_pad_short_function", "(", ")", ";", "else", "if", "(", "TARGET_PAD_RETURNS", ")", "ix86_pad_returns", "(", ")", ";", "if", "(", "TARGET_FOUR_JUMP_LIMIT", ")", "ix86_avoid_jump_mispredicts", "(", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "machine", "specific", "optimizations", ".", "We", "implement", "padding", "of", "returns", "for", "K8", "CPUs", "and", "pass", "to", "avoid", "4", "jumps", "in", "the", "single", "16", "byte", "window", "."], "TS_V_token": ["i386"], "File": "i3865", "Func": "ix86_reorg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20447, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SparcRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcSubtarget (2)", "Func": "getRegisterInfo", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20448, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pa_pass_by_reference", "(", "cumulative_args_t", ",", "const", "function_arg_info", "&", "arg", ")", "{", "HOST_WIDE_INT", "size", "=", "arg", ".", "type_size_in_bytes", "(", ")", ";", "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": "pa", "Func": "pa_pass_by_reference", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20449, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_split_64bit_move_p", "(", "rtx", "dest", ",", "rtx", "src", ")", "{", "if", "(", "TARGET_64BIT", ")", "return", "false", ";", "if", "(", "FP_REG_RTX_P", "(", "src", ")", "&&", "FP_REG_RTX_P", "(", "dest", ")", ")", "return", "false", ";", "if", "(", "mips_isa", ">", "1", ")", "{", "if", "(", "FP_REG_RTX_P", "(", "dest", ")", "&&", "MEM_P", "(", "src", ")", ")", "return", "false", ";", "if", "(", "FP_REG_RTX_P", "(", "src", ")", "&&", "MEM_P", "(", "dest", ")", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "64-bit", "move", "from", "SRC", "to", "DEST", "should", "be", "split", "into", "two", "."], "TS_V_token": ["mips", "1"], "File": "mips3", "Func": "mips_split_64bit_move_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20450, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "AArch64TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "StringRef", "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", ".", "getSizeInBits", "(", ")", "==", "16", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AArch64", "::", "FPR16RegClass", ")", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "32", ")", "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", "]", "==", "'}'", ")", "{", "int", "RegNo", ";", "bool", "Failed", "=", "Constraint", ".", "slice", "(", "2", ",", "Size", "-", "1", ")", ".", "getAsInteger", "(", "10", ",", "RegNo", ")", ";", "if", "(", "!", "Failed", "&&", "RegNo", ">=", "0", "&&", "RegNo", "<=", "31", ")", "{", "if", "(", "VT", "!=", "MVT", "::", "Other", "&&", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "{", "Res", ".", "first", "=", "AArch64", "::", "FPR64RegClass", ".", "getRegister", "(", "RegNo", ")", ";", "Res", ".", "second", "=", "&", "AArch64", "::", "FPR64RegClass", ";", "}", "else", "{", "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", "16", "0U", "AArch64::FPR16RegClass", "32", "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", "10", "0", "31", "MVT::Other", "64", "AArch64::FPR64RegClass", "AArch64::FPR64RegClass", "AArch64::FPR128RegClass", "AArch64::FPR128RegClass"], "File": "AArch64ISelLowering", "Func": "getRegForInlineAsmConstraint", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20451, "Length": 433, "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_TRUNC", ":", "case", "G_ADD", ":", "case", "G_SUB", ":", "case", "G_MUL", ":", "case", "G_LOAD", ":", "case", "G_STORE", ":", "case", "G_ZEXTLOAD", ":", "case", "G_SEXTLOAD", ":", "case", "G_GEP", ":", "case", "G_AND", ":", "case", "G_OR", ":", "case", "G_XOR", ":", "case", "G_SHL", ":", "case", "G_ASHR", ":", "case", "G_LSHR", ":", "case", "G_SDIV", ":", "case", "G_UDIV", ":", "case", "G_SREM", ":", "case", "G_UREM", ":", "OperandsMapping", "=", "&", "Mips", "::", "ValueMappings", "[", "Mips", "::", "GPRIdx", "]", ";", "break", ";", "case", "G_CONSTANT", ":", "case", "G_FRAME_INDEX", ":", "case", "G_GLOBAL_VALUE", ":", "case", "G_BRCOND", ":", "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", ";", "case", "G_SELECT", ":", "OperandsMapping", "=", "getOperandsMapping", "(", "{", "&", "Mips", "::", "ValueMappings", "[", "Mips", "::", "GPRIdx", "]", ",", "&", "Mips", "::", "ValueMappings", "[", "Mips", "::", "GPRIdx", "]", ",", "&", "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", "Mips::ValueMappings", "Mips::GPRIdx", "Mips::ValueMappings", "Mips::GPRIdx", "Mips::ValueMappings", "Mips::GPRIdx", "Mips::ValueMappings", "Mips::GPRIdx", "1"], "File": "MipsRegisterBankInfo21", "Func": "getInstrMapping", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20452, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ")", "{", "if", "(", "!", "ST", "->", "isMClass", "(", ")", ")", "return", "BasicTTIImplBase", "::", "getUnrollingPreferences", "(", "L", ",", "SE", ",", "UP", ")", ";", "if", "(", "!", "ST", "->", "isThumb2", "(", ")", "||", "L", "->", "getNumBlocks", "(", ")", "!=", "1", ")", "return", ";", "UP", ".", "OptSizeThreshold", "=", "0", ";", "UP", ".", "PartialOptSizeThreshold", "=", "0", ";", "BasicBlock", "*", "BB", "=", "L", "->", "getLoopLatch", "(", ")", ";", "if", "(", "BB", "->", "getParent", "(", ")", "->", "optForSize", "(", ")", ")", "return", ";", "unsigned", "Cost", "=", "0", ";", "for", "(", "auto", "&", "I", ":", "*", "BB", ")", "{", "if", "(", "isa", "<", "CallInst", ">", "(", "I", ")", "||", "isa", "<", "InvokeInst", ">", "(", "I", ")", ")", "{", "ImmutableCallSite", "CS", "(", "&", "I", ")", ";", "if", "(", "const", "Function", "*", "F", "=", "CS", ".", "getCalledFunction", "(", ")", ")", "{", "if", "(", "!", "isLoweredToCall", "(", "F", ")", ")", "continue", ";", "}", "return", ";", "}", "SmallVector", "<", "const", "Value", "*", ",", "4", ">", "Operands", "(", "I", ".", "value_op_begin", "(", ")", ",", "I", ".", "value_op_end", "(", ")", ")", ";", "Cost", "+=", "getUserCost", "(", "&", "I", ",", "Operands", ")", ";", "}", "UP", ".", "Partial", "=", "true", ";", "UP", ".", "Runtime", "=", "true", ";", "UP", ".", "UnrollRemainder", "=", "true", ";", "UP", ".", "DefaultUnrollRuntimeCount", "=", "4", ";", "if", "(", "Cost", "<", "12", ")", "UP", ".", "Force", "=", "true", ";", "}", ""], "natrual_language": ["Get", "target-customized", "preferences", "for", "the", "generic", "loop", "unrolling", "transformation", "."], "TS_V_token": ["ARM", "ARM", "1", "0", "0", "0", "4", "4", "12"], "File": "ARMTargetTransformInfo19", "Func": "getUnrollingPreferences", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20453, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "{", "return", "TOY", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["TOY", "TOY::NumTargetFixupKinds"], "File": "TOYAsmBackend", "Func": "getNumFixupKinds", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20454, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "getTgtMemIntrinsic", "(", "IntrinsicInfo", "&", "Info", ",", "const", "CallInst", "&", "I", ",", "unsigned", "Intrinsic", ")", "const", "{", "const", "IntrinsicData", "*", "IntrData", "=", "getIntrinsicWithChain", "(", "Intrinsic", ")", ";", "if", "(", "!", "IntrData", ")", "return", "false", ";", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_W_CHAIN", ";", "Info", ".", "readMem", "=", "false", ";", "Info", ".", "writeMem", "=", "false", ";", "Info", ".", "vol", "=", "false", ";", "Info", ".", "offset", "=", "0", ";", "switch", "(", "IntrData", "->", "Type", ")", "{", "case", "LOADA", ":", "case", "LOADU", ":", "{", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "0", ")", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVT", "(", "I", ".", "getType", "(", ")", ")", ";", "Info", ".", "align", "=", "(", "IntrData", "->", "Type", "==", "LOADA", "?", "Info", ".", "memVT", ".", "getSizeInBits", "(", ")", "/", "8", ":", "1", ")", ";", "Info", ".", "readMem", "=", "true", ";", "break", ";", "}", "case", "EXPAND_FROM_MEM", ":", "{", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "0", ")", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVT", "(", "I", ".", "getType", "(", ")", ")", ";", "Info", ".", "align", "=", "1", ";", "Info", ".", "readMem", "=", "true", ";", "break", ";", "}", "case", "COMPRESS_TO_MEM", ":", "{", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "0", ")", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVT", "(", "I", ".", "getArgOperand", "(", "1", ")", "->", "getType", "(", ")", ")", ";", "Info", ".", "align", "=", "1", ";", "Info", ".", "writeMem", "=", "true", ";", "break", ";", "}", "case", "TRUNCATE_TO_MEM_VI8", ":", "case", "TRUNCATE_TO_MEM_VI16", ":", "case", "TRUNCATE_TO_MEM_VI32", ":", "{", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "0", ")", ";", "MVT", "VT", "=", "MVT", "::", "getVT", "(", "I", ".", "getArgOperand", "(", "1", ")", "->", "getType", "(", ")", ")", ";", "MVT", "ScalarVT", "=", "MVT", "::", "INVALID_SIMPLE_VALUE_TYPE", ";", "if", "(", "IntrData", "->", "Type", "==", "TRUNCATE_TO_MEM_VI8", ")", "ScalarVT", "=", "MVT", "::", "i8", ";", "else", "if", "(", "IntrData", "->", "Type", "==", "TRUNCATE_TO_MEM_VI16", ")", "ScalarVT", "=", "MVT", "::", "i16", ";", "else", "if", "(", "IntrData", "->", "Type", "==", "TRUNCATE_TO_MEM_VI32", ")", "ScalarVT", "=", "MVT", "::", "i32", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVectorVT", "(", "ScalarVT", ",", "VT", ".", "getVectorNumElements", "(", ")", ")", ";", "Info", ".", "align", "=", "1", ";", "Info", ".", "writeMem", "=", "true", ";", "break", ";", "}", "case", "STOREA", ":", "case", "STOREANT", ":", "case", "STOREU", ":", "{", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "0", ")", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVT", "(", "I", ".", "getArgOperand", "(", "1", ")", "->", "getType", "(", ")", ")", ";", "Info", ".", "align", "=", "(", "IntrData", "->", "Type", "==", "STOREU", "?", "1", ":", "Info", ".", "memVT", ".", "getSizeInBits", "(", ")", "/", "8", ")", ";", "Info", ".", "writeMem", "=", "true", ";", "break", ";", "}", "default", ":", "return", "false", ";", "}", "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": ["X86", "X86", "ISD::INTRINSIC_W_CHAIN", "0", "0", "MVT::getVT", "8", "1", "0", "MVT::getVT", "1", "0", "MVT::getVT", "1", "1", "0", "MVT::getVT", "1", "MVT::INVALID_SIMPLE_VALUE_TYPE", "MVT::i8", "MVT::i16", "MVT::i32", "MVT::getVectorVT", "1", "0", "MVT::getVT", "1", "1", "8"], "File": "X86ISelLowering149", "Func": "getTgtMemIntrinsic", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20455, "Length": 444, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips16_rewrite_pool_refs", "(", "rtx_insn", "*", "insn", ",", "struct", "mips16_constant_pool", "*", "pool", ")", "{", "subrtx_ptr_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX_PTR", "(", "iter", ",", "array", ",", "&", "PATTERN", "(", "insn", ")", ",", "ALL", ")", "{", "rtx", "*", "loc", "=", "*", "iter", ";", "if", "(", "force_to_mem_operand", "(", "*", "loc", ",", "Pmode", ")", ")", "{", "rtx", "mem", "=", "force_const_mem", "(", "GET_MODE", "(", "*", "loc", ")", ",", "*", "loc", ")", ";", "validate_change", "(", "insn", ",", "loc", ",", "mem", ",", "false", ")", ";", "}", "if", "(", "MEM_P", "(", "*", "loc", ")", ")", "{", "mips16_rewrite_pool_constant", "(", "pool", ",", "&", "XEXP", "(", "*", "loc", ",", "0", ")", ")", ";", "iter", ".", "skip_subrtxes", "(", ")", ";", "}", "else", "{", "if", "(", "TARGET_MIPS16_TEXT_LOADS", ")", "mips16_rewrite_pool_constant", "(", "pool", ",", "loc", ")", ";", "if", "(", "GET_CODE", "(", "*", "loc", ")", "==", "CONST", "||", "(", "GET_CODE", "(", "*", "loc", ")", "==", "UNSPEC", "&&", "XINT", "(", "*", "loc", ",", "1", ")", "==", "UNSPEC_TLS_GET_TP", ")", ")", "iter", ".", "skip_subrtxes", "(", ")", ";", "}", "}", "}", ""], "natrual_language": ["Rewrite", "*", "X", "so", "that", "constant", "pool", "references", "refer", "to", "the", "constant", "'s", "label", "instead", ".", "DATA", "points", "to", "the", "constant", "pool", "structure", "."], "TS_V_token": ["mips", "0", "1"], "File": "mips", "Func": "mips16_rewrite_pool_refs", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20456, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "DLXDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "unsigned", "Opcode", "=", "Node", "->", "getOpcode", "(", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "LLVM_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", ")", ",", "DLX", "::", "R0", ",", "MVT", "::", "i32", ")", ";", "return", "ReplaceNode", "(", "Node", ",", "New", ".", "getNode", "(", ")", ")", ";", "}", "if", "(", "ConstNode", "->", "isAllOnesValue", "(", ")", ")", "{", "SDValue", "New", "=", "CurDAG", "->", "getCopyFromReg", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "SDLoc", "(", "Node", ")", ",", "DLX", "::", "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": ["DLX", "DLX", "\"== \"", "\"\\n\"", "0", "ISD::Constant", "MVT::i32", "DLX::R0", "MVT::i32", "DLX::R1", "MVT::i32", "ISD::FrameIndex"], "File": "DLXISelDAGToDAG", "Func": "Select", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20457, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "aarch64_output_probe_stack_range", "(", "rtx", "reg1", ",", "rtx", "reg2", ")", "{", "static", "int", "labelno", "=", "0", ";", "char", "loop_lab", "[", "32", "]", ";", "rtx", "xops", "[", "2", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "loop_lab", ",", "\"LPSRL\"", ",", "labelno", "++", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "loop_lab", ")", ";", "HOST_WIDE_INT", "stack_clash_probe_interval", "=", "1", "<<", "PARAM_VALUE", "(", "PARAM_STACK_CLASH_PROTECTION_GUARD_SIZE", ")", ";", "xops", "[", "0", "]", "=", "reg1", ";", "HOST_WIDE_INT", "interval", ";", "if", "(", "flag_stack_clash_protection", ")", "interval", "=", "stack_clash_probe_interval", ";", "else", "interval", "=", "PROBE_INTERVAL", ";", "gcc_assert", "(", "aarch64_uimm12_shift", "(", "interval", ")", ")", ";", "xops", "[", "1", "]", "=", "GEN_INT", "(", "interval", ")", ";", "output_asm_insn", "(", "\"sub\\t%0, %0, %1\"", ",", "xops", ")", ";", "if", "(", "flag_stack_clash_protection", ")", "xops", "[", "1", "]", "=", "GEN_INT", "(", "STACK_CLASH_CALLER_GUARD", ")", ";", "else", "xops", "[", "1", "]", "=", "CONST0_RTX", "(", "GET_MODE", "(", "xops", "[", "1", "]", ")", ")", ";", "output_asm_insn", "(", "\"str\\txzr, [%0, %1]\"", ",", "xops", ")", ";", "xops", "[", "1", "]", "=", "reg2", ";", "output_asm_insn", "(", "\"cmp\\t%0, %1\"", ",", "xops", ")", ";", "fputs", "(", "\"\\tb.ne\\t\"", ",", "asm_out_file", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "loop_lab", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Probe", "a", "range", "of", "stack", "addresses", "from", "REG1", "to", "REG2", "inclusive", ".", "These", "are", "absolute", "addresses", "."], "TS_V_token": ["aarch64", "0", "32", "2", "\"LPSRL\"", "1", "0", "1", "\"sub\\t%0, %0, %1\"", "1", "1", "1", "\"str\\txzr, [%0, %1]\"", "1", "\"cmp\\t%0, %1\"", "\"\\tb.ne\\t\"", "\"\""], "File": "aarch646", "Func": "aarch64_output_probe_stack_range", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20458, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "aarch64_simd_builtin_type", "(", "machine_mode", "mode", ",", "bool", "unsigned_p", ",", "bool", "poly_p", ")", "{", "if", "(", "poly_p", ")", "return", "aarch64_lookup_simd_builtin_type", "(", "mode", ",", "qualifier_poly", ")", ";", "else", "if", "(", "unsigned_p", ")", "return", "aarch64_lookup_simd_builtin_type", "(", "mode", ",", "qualifier_unsigned", ")", ";", "else", "return", "aarch64_lookup_simd_builtin_type", "(", "mode", ",", "qualifier_none", ")", ";", "}", ""], "natrual_language": ["Return", "a", "type", "for", "an", "operand", "with", "specified", "mode", "and", "qualifiers", "."], "TS_V_token": ["aarch64"], "File": "aarch64-builtins", "Func": "aarch64_simd_builtin_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20459, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "i386_pe_mangle_decl_assembler_name", "(", "tree", "decl", ",", "tree", "id", ")", "{", "tree", "new_id", "=", "i386_pe_maybe_mangle_decl_assembler_name", "(", "decl", ",", "id", ")", ";", "return", "(", "new_id", "?", "new_id", ":", "id", ")", ";", "}", ""], "natrual_language": ["This", "is", "used", "as", "a", "target", "hook", "to", "modify", "the", "DECL_ASSEMBLER_NAME", "in", "the", "language-independent", "default", "hook", "langhooks", ",", "c", ":", "lhd_set_decl_assembler_name", "(", ")", "and", "in", "cp/mangle", ",", "c", ":", "mangle_decl", "(", ")", "."], "TS_V_token": ["i386"], "File": "winnt", "Func": "i386_pe_mangle_decl_assembler_name", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20460, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstructionSelector", "::", "select", "(", "MachineInstr", "&", "I", ")", "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", "(", "I", ".", "isCopy", "(", ")", ")", "return", "selectCopy", "(", "I", ",", "TII", ",", "MRI", ",", "TRI", ",", "RBI", ")", ";", "return", "true", ";", "}", "assert", "(", "I", ".", "getNumOperands", "(", ")", "==", "I", ".", "getNumExplicitOperands", "(", ")", "&&", "\"Generic instruction has unexpected implicit operands\\n\"", ")", ";", "return", "selectImpl", "(", "I", ")", ";", "}", ""], "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\""], "File": "X86InstructionSelector21", "Func": "select", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20461, "Length": 137, "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", "(", "int", "i", "=", "2", ",", "e", "=", "MI", ".", "getNumOperands", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "if", "(", "MI", ".", "getOperand", "(", "i", ")", ".", "isImplicit", "(", ")", "||", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isReg", "(", ")", ")", "continue", ";", "Register", "Reg", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "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", ";", "}", "}", "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\""], "File": "ARMBaseInstrInfo110", "Func": "verifyInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20462, "Length": 376, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "init_cumulative_args", "(", "struct", "sparc_args", "*", "cum", ",", "tree", "fntype", ",", "rtx", ",", "tree", ")", "{", "cum", "->", "words", "=", "0", ";", "cum", "->", "prototype_p", "=", "fntype", "&&", "prototype_p", "(", "fntype", ")", ";", "cum", "->", "libcall_p", "=", "!", "fntype", ";", "}", ""], "natrual_language": ["Handle", "the", "INIT_CUMULATIVE_ARGS", "macro", ".", "Initialize", "a", "variable", "CUM", "of", "type", "CUMULATIVE_ARGS", "for", "a", "call", "to", "a", "function", "whose", "data", "type", "is", "FNTYPE", ".", "For", "a", "library", "call", ",", "FNTYPE", "is", "0", "."], "TS_V_token": ["sparc", "0"], "File": "sparc", "Func": "init_cumulative_args", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20463, "Length": 41, "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": "AArch64InstrInfo114", "Func": "suppressLdStPair", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20464, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "vfp_emit_fstmd", "(", "int", "base_reg", ",", "int", "count", ")", "{", "rtx", "par", ";", "rtx", "dwarf", ";", "rtx", "tmp", ",", "reg", ";", "int", "i", ";", "if", "(", "count", "==", "2", "&&", "!", "arm_arch6", ")", "{", "if", "(", "base_reg", "==", "LAST_VFP_REGNUM", "-", "3", ")", "base_reg", "-=", "2", ";", "count", "++", ";", "}", "if", "(", "count", ">", "16", ")", "{", "int", "saved", ";", "saved", "=", "vfp_emit_fstmd", "(", "base_reg", "+", "32", ",", "count", "-", "16", ")", ";", "saved", "+=", "vfp_emit_fstmd", "(", "base_reg", ",", "16", ")", ";", "return", "saved", ";", "}", "par", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "count", ")", ")", ";", "dwarf", "=", "gen_rtx_SEQUENCE", "(", "VOIDmode", ",", "rtvec_alloc", "(", "count", "+", "1", ")", ")", ";", "reg", "=", "gen_rtx_REG", "(", "DFmode", ",", "base_reg", ")", ";", "base_reg", "+=", "2", ";", "XVECEXP", "(", "par", ",", "0", ",", "0", ")", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_frame_mem", "(", "BLKmode", ",", "gen_rtx_PRE_MODIFY", "(", "Pmode", ",", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "(", "count", "*", "8", ")", ")", ")", ")", ",", "gen_rtx_UNSPEC", "(", "BLKmode", ",", "gen_rtvec", "(", "1", ",", "reg", ")", ",", "UNSPEC_PUSH_MULT", ")", ")", ";", "tmp", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "(", "count", "*", "8", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "tmp", ")", "=", "1", ";", "XVECEXP", "(", "dwarf", ",", "0", ",", "0", ")", "=", "tmp", ";", "tmp", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_frame_mem", "(", "DFmode", ",", "stack_pointer_rtx", ")", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "tmp", ")", "=", "1", ";", "XVECEXP", "(", "dwarf", ",", "0", ",", "1", ")", "=", "tmp", ";", "for", "(", "i", "=", "1", ";", "i", "<", "count", ";", "i", "++", ")", "{", "reg", "=", "gen_rtx_REG", "(", "DFmode", ",", "base_reg", ")", ";", "base_reg", "+=", "2", ";", "XVECEXP", "(", "par", ",", "0", ",", "i", ")", "=", "gen_rtx_USE", "(", "VOIDmode", ",", "reg", ")", ";", "tmp", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_frame_mem", "(", "DFmode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "i", "*", "8", ")", ")", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "tmp", ")", "=", "1", ";", "XVECEXP", "(", "dwarf", ",", "0", ",", "i", "+", "1", ")", "=", "tmp", ";", "}", "par", "=", "emit_insn", "(", "par", ")", ";", "add_reg_note", "(", "par", ",", "REG_FRAME_RELATED_EXPR", ",", "dwarf", ")", ";", "RTX_FRAME_RELATED_P", "(", "par", ")", "=", "1", ";", "return", "count", "*", "8", ";", "}", ""], "natrual_language": ["Emit", "RTL", "to", "save", "block", "of", "VFP", "register", "pairs", "to", "the", "stack", ".", "Returns", "the", "number", "of", "bytes", "pushed", "."], "TS_V_token": ["arm", "2", "3", "2", "16", "32", "16", "16", "1", "2", "0", "0", "8", "1", "8", "1", "0", "0", "1", "0", "1", "1", "2", "0", "8", "1", "0", "1", "1", "8"], "File": "arm4", "Func": "vfp_emit_fstmd", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20465, "Length": 373, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "PPCTargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "IsMemset", ",", "bool", "ZeroMemset", ",", "bool", "MemcpyStrSrc", ",", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "getTargetMachine", "(", ")", ".", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "Subtarget", ".", "hasQPX", "(", ")", "&&", "Size", ">=", "32", "&&", "(", "!", "IsMemset", "||", "Size", ">=", "64", ")", "&&", "(", "!", "SrcAlign", "||", "SrcAlign", ">=", "32", ")", "&&", "(", "!", "DstAlign", "||", "DstAlign", ">=", "32", ")", "&&", "!", "F", "->", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ")", "{", "return", "MVT", "::", "v4f64", ";", "}", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", "&&", "Size", ">=", "16", "&&", "(", "(", "(", "!", "SrcAlign", "||", "SrcAlign", ">=", "16", ")", "&&", "(", "!", "DstAlign", "||", "DstAlign", ">=", "16", ")", ")", "||", "(", "(", "IsMemset", "&&", "Subtarget", ".", "hasVSX", "(", ")", ")", "||", "Subtarget", ".", "hasP8Vector", "(", ")", ")", ")", ")", "return", "MVT", "::", "v4i32", ";", "}", "if", "(", "Subtarget", ".", "isPPC64", "(", ")", ")", "{", "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": ["PowerPC", "PPC", "32", "64", "32", "32", "MVT::v4f64", "16", "16", "16", "MVT::v4i32", "PPC", "MVT::i64", "MVT::i32"], "File": "PPCISelLowering (2)2", "Func": "getOptimalMemOpType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20466, "Length": 190, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Expected", "<", "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": "ARMMachORelocationInfo", "Func": "createExprForCAPIVariantKind", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20467, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "no_previous_def", "(", "tree", "function_name", ")", "{", "branch_island", "*", "bi", ";", "unsigned", "ix", ";", "FOR_EACH_VEC_SAFE_ELT", "(", "branch_islands", ",", "ix", ",", "bi", ")", "if", "(", "function_name", "==", "bi", "->", "function_name", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["NO_PREVIOUS_DEF", "checks", "in", "the", "link", "list", "whether", "the", "function", "name", "is", "already", "there", "or", "not", "."], "TS_V_token": ["powerpcspe", "0", "1"], "File": "powerpcspe", "Func": "no_previous_def", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20468, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "gen_rx_popm_vector", "(", "unsigned", "int", "low", ",", "unsigned", "int", "high", ")", "{", "unsigned", "int", "i", ";", "unsigned", "int", "count", "=", "(", "high", "-", "low", ")", "+", "2", ";", "rtx", "vector", ";", "vector", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "count", ")", ")", ";", "XVECEXP", "(", "vector", ",", "0", ",", "0", ")", "=", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "(", "count", "-", "1", ")", "*", "UNITS_PER_WORD", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "count", "-", "1", ";", "i", "++", ")", "XVECEXP", "(", "vector", ",", "0", ",", "i", "+", "1", ")", "=", "gen_rtx_SET", "(", "gen_rtx_REG", "(", "SImode", ",", "low", "+", "i", ")", ",", "gen_rtx_MEM", "(", "SImode", ",", "i", "==", "0", "?", "stack_pointer_rtx", ":", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "i", "*", "UNITS_PER_WORD", ")", ")", ")", ";", "return", "vector", ";", "}", ""], "natrual_language": ["Generate", "a", "PARALLEL", "which", "will", "satisfy", "the", "rx_load_multiple_vector", "predicate", "."], "TS_V_token": ["rx", "2", "0", "0", "1", "0", "1", "0", "1", "0"], "File": "rx", "Func": "gen_rx_popm_vector", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20469, "Length": 137, "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", "(", ")", "&&", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", "==", "128", "&&", "(", "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", "128", "8", "16", "32", "64", "32", "64", "16"], "File": "X86ISelLowering (2)6", "Func": "isVectorShiftByScalarCheap", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20470, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "unsigned", "int", "execute", "(", "function", "*", ")", "{", "timevar_push", "(", "TV_MACH_DEP", ")", ";", "rest_of_insert_endbr_and_patchable_area", "(", "need_endbr", ",", "patchable_area_size", ")", ";", "timevar_pop", "(", "TV_MACH_DEP", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Main", "entry", "point", "for", "this", "pass", "."], "TS_V_token": ["i386", "0"], "File": "i386-features", "Func": "execute", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20471, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "sparc_compute_frame_size", "(", "HOST_WIDE_INT", "size", ",", "int", "leaf_function", ")", "{", "HOST_WIDE_INT", "frame_size", ",", "apparent_frame_size", ";", "int", "args_size", ",", "n_global_fp_regs", "=", "0", ";", "bool", "save_local_in_regs_p", "=", "false", ";", "unsigned", "int", "i", ";", "if", "(", "leaf_function", "&&", "!", "cfun", "->", "calls_alloca", ")", "args_size", "=", "0", ";", "else", "args_size", "=", "crtl", "->", "outgoing_args_size", "+", "REG_PARM_STACK_SPACE", "(", "cfun", "->", "decl", ")", ";", "if", "(", "TARGET_ARCH64", ")", "{", "for", "(", "i", "=", "0", ";", "i", "<", "8", ";", "i", "++", ")", "if", "(", "save_global_or_fp_reg_p", "(", "i", ",", "0", ")", ")", "n_global_fp_regs", "+=", "2", ";", "}", "else", "{", "for", "(", "i", "=", "0", ";", "i", "<", "8", ";", "i", "+=", "2", ")", "if", "(", "save_global_or_fp_reg_p", "(", "i", ",", "0", ")", "||", "save_global_or_fp_reg_p", "(", "i", "+", "1", ",", "0", ")", ")", "n_global_fp_regs", "+=", "2", ";", "}", "if", "(", "TARGET_FLAT", ")", "for", "(", "i", "=", "16", ";", "i", "<", "32", ";", "i", "++", ")", "if", "(", "save_local_or_in_reg_p", "(", "i", ",", "leaf_function", ")", ")", "{", "save_local_in_regs_p", "=", "true", ";", "break", ";", "}", "for", "(", "i", "=", "32", ";", "i", "<", "(", "TARGET_V9", "?", "96", ":", "64", ")", ";", "i", "+=", "2", ")", "if", "(", "save_global_or_fp_reg_p", "(", "i", ",", "0", ")", "||", "save_global_or_fp_reg_p", "(", "i", "+", "1", ",", "0", ")", ")", "n_global_fp_regs", "+=", "2", ";", "if", "(", "size", "==", "0", "&&", "n_global_fp_regs", "==", "0", "&&", "args_size", "==", "0", "&&", "!", "save_local_in_regs_p", ")", "frame_size", "=", "apparent_frame_size", "=", "0", ";", "else", "{", "apparent_frame_size", "=", "ROUND_UP", "(", "size", ",", "8", ")", "+", "n_global_fp_regs", "*", "4", ";", "frame_size", "=", "apparent_frame_size", "+", "ROUND_UP", "(", "args_size", ",", "8", ")", ";", "frame_size", "+=", "FIRST_PARM_OFFSET", "(", "cfun", "->", "decl", ")", ";", "frame_size", "=", "SPARC_STACK_ALIGN", "(", "frame_size", ")", ";", "}", "sparc_frame_size", "=", "frame_size", ";", "sparc_apparent_frame_size", "=", "apparent_frame_size", ";", "sparc_n_global_fp_regs", "=", "n_global_fp_regs", ";", "sparc_save_local_in_regs_p", "=", "save_local_in_regs_p", ";", "return", "frame_size", ";", "}", ""], "natrual_language": ["Compute", "the", "frame", "size", "required", "by", "the", "function", ".", "This", "function", "is", "called", "during", "the", "reload", "pass", "and", "also", "by", "sparc_expand_prologue", "."], "TS_V_token": ["sparc", "0", "0", "0", "8", "0", "2", "0", "8", "2", "0", "1", "0", "2", "16", "32", "32", "96", "64", "2", "0", "1", "0", "2", "0", "0", "0", "0", "8", "4", "8"], "File": "sparc7", "Func": "sparc_compute_frame_size", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20472, "Length": 291, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FastISel", "*", "X86TargetLowering", "::", "createFastISel", "(", "MachineFunction", "&", "mf", ",", "MachineModuleInfo", "*", "mmo", ",", "DwarfWriter", "*", "dw", ",", "DenseMap", "<", "const", "Value", "*", ",", "unsigned", ">", "&", "vm", ",", "DenseMap", "<", "const", "BasicBlock", "*", ",", "MachineBasicBlock", "*", ">", "&", "bm", ",", "DenseMap", "<", "const", "AllocaInst", "*", ",", "int", ">", "&", "am", ",", "SmallSet", "<", "Instruction", "*", ",", "8", ">", "&", "cil", ")", "{", "return", "X86", "::", "createFastISel", "(", "mf", ",", "mmo", ",", "dw", ",", "vm", ",", "bm", ",", "am", ",", "cil", ")", ";", "}", ""], "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", "8", "X86::createFastISel"], "File": "X86ISelLowering160", "Func": "createFastISel", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20473, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsMCSymbolRefExpr", "*", "MipsMCSymbolRefExpr", "::", "Create", "(", "VariantKind", "Kind", ",", "const", "MCSymbol", "*", "Symbol", ",", "int", "Offset", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "MipsMCSymbolRefExpr", "(", "Kind", ",", "Symbol", ",", "Offset", ")", ";", "}", ""], "natrual_language": ["Construct", "a", "unary", "instruction", ",", "given", "the", "opcode", "and", "an", "operand", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips"], "File": "MipsMCSymbolRefExpr", "Func": "Create", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20474, "Length": 38, "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": 20475, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_output_dwarf_dtprel", "(", "FILE", "*", "file", ",", "int", "size", ",", "rtx", "x", ")", "{", "switch", "(", "size", ")", "{", "case", "4", ":", "fputs", "(", "\"\\t.long\\t\"", ",", "file", ")", ";", "break", ";", "case", "8", ":", "fputs", "(", "DOUBLE_INT_ASM_OP", ",", "file", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "output_addr_const", "(", "file", ",", "x", ")", ";", "if", "(", "TARGET_ELF", ")", "fputs", "(", "\"@dtprel+0x8000\"", ",", "file", ")", ";", "else", "if", "(", "TARGET_XCOFF", "&&", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", ")", "{", "switch", "(", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", ")", "{", "case", "0", ":", "break", ";", "case", "TLS_MODEL_LOCAL_EXEC", ":", "fputs", "(", "\"@le\"", ",", "file", ")", ";", "break", ";", "case", "TLS_MODEL_INITIAL_EXEC", ":", "fputs", "(", "\"@ie\"", ",", "file", ")", ";", "break", ";", "case", "TLS_MODEL_GLOBAL_DYNAMIC", ":", "case", "TLS_MODEL_LOCAL_DYNAMIC", ":", "fputs", "(", "\"@m\"", ",", "file", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "}", ""], "natrual_language": ["This", "is", "called", "from", "dwarf2out.c", "via", "TARGET_ASM_OUTPUT_DWARF_DTPREL", ".", "We", "need", "to", "emit", "DTP-relative", "relocations", "."], "TS_V_token": ["rs6000", "4", "\"\\t.long\\t\"", "8", "\"@dtprel+0x8000\"", "0", "\"@le\"", "\"@ie\"", "\"@m\""], "File": "rs60005", "Func": "rs6000_output_dwarf_dtprel", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20476, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_return_in_memory", "(", "tree", "type", ")", "{", "HOST_WIDE_INT", "size", ";", "if", "(", "!", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "(", "TREE_CODE", "(", "type", ")", "!=", "VECTOR_TYPE", ")", "&&", "!", "(", "TARGET_AAPCS_BASED", "&&", "TREE_CODE", "(", "type", ")", "==", "COMPLEX_TYPE", ")", ")", "return", "0", ";", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "if", "(", "arm_abi", "!=", "ARM_ABI_APCS", ")", "{", "return", "(", "size", "<", "0", "||", "size", ">", "UNITS_PER_WORD", ")", ";", "}", "if", "(", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", ")", "return", "(", "size", "<", "0", "||", "size", ">", "(", "4", "*", "UNITS_PER_WORD", ")", ")", ";", "if", "(", "size", "<", "0", "||", "size", ">", "UNITS_PER_WORD", ")", "return", "1", ";", "if", "(", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", ")", "{", "tree", "field", ";", "for", "(", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";", "field", "&&", "TREE_CODE", "(", "field", ")", "!=", "FIELD_DECL", ";", "field", "=", "TREE_CHAIN", "(", "field", ")", ")", "continue", ";", "if", "(", "field", "==", "NULL", ")", "return", "0", ";", "if", "(", "FLOAT_TYPE_P", "(", "TREE_TYPE", "(", "field", ")", ")", ")", "return", "1", ";", "if", "(", "RETURN_IN_MEMORY", "(", "TREE_TYPE", "(", "field", ")", ")", ")", "return", "1", ";", "for", "(", "field", "=", "TREE_CHAIN", "(", "field", ")", ";", "field", ";", "field", "=", "TREE_CHAIN", "(", "field", ")", ")", "{", "if", "(", "TREE_CODE", "(", "field", ")", "!=", "FIELD_DECL", ")", "continue", ";", "if", "(", "!", "DECL_BIT_FIELD_TYPE", "(", "field", ")", ")", "return", "1", ";", "}", "return", "0", ";", "}", "if", "(", "TREE_CODE", "(", "type", ")", "==", "UNION_TYPE", ")", "{", "tree", "field", ";", "for", "(", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";", "field", ";", "field", "=", "TREE_CHAIN", "(", "field", ")", ")", "{", "if", "(", "TREE_CODE", "(", "field", ")", "!=", "FIELD_DECL", ")", "continue", ";", "if", "(", "FLOAT_TYPE_P", "(", "TREE_TYPE", "(", "field", ")", ")", ")", "return", "1", ";", "if", "(", "RETURN_IN_MEMORY", "(", "TREE_TYPE", "(", "field", ")", ")", ")", "return", "1", ";", "}", "return", "0", ";", "}", "return", "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": ["arm", "0", "0", "0", "4", "0", "1", "0", "1", "1", "1", "0", "1", "1", "0", "1"], "File": "arm3", "Func": "arm_return_in_memory", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20477, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "shouldFormOverflowOp", "(", "unsigned", "Opcode", ",", "EVT", "VT", ")", "const", "{", "if", "(", "VT", ".", "isVector", "(", ")", ")", "return", "false", ";", "return", "VT", ".", "isSimple", "(", ")", "||", "!", "isOperationExpand", "(", "Opcode", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Overflow", "nodes", "should", "get", "combined/lowered", "to", "optimal", "instructions", "(", "they", "should", "allow", "eliminating", "explicit", "compares", "by", "getting", "flags", "from", "math", "ops", ")", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering (2)6", "Func": "shouldFormOverflowOp", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20478, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "SystemZRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "return", "CSR_SystemZ_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ"], "File": "SystemZRegisterInfo (2)", "Func": "getCallPreservedMask", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20479, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CJGInstrInfo", "::", "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", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "CJG", "::", "PUSH", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["CJG", "CJG", "CJG::PUSH"], "File": "CJGInstrInfo", "Func": "storeRegToStackSlot", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20480, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isVectorClearMaskLegal", "(", "const", "SmallVectorImpl", "<", "int", ">", "&", "Mask", ",", "EVT", "VT", ")", "const", "{", "return", "isShuffleMaskLegal", "(", "Mask", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Similar", "to", "isShuffleMaskLegal", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering (2)3", "Func": "isVectorClearMaskLegal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20481, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "auto", "PrintImmValue", "=", "[", "&", "]", "(", "const", "MCExpr", "*", "Val", ",", "const", "char", "*", "VName", ")", "{", "if", "(", "Val", "->", "getKind", "(", ")", "==", "MCExpr", "::", "Constant", ")", "{", "if", "(", "auto", "Imm", "=", "cast", "<", "MCConstantExpr", ">", "(", "Val", ")", "->", "getValue", "(", ")", ")", "OS", "<<", "VName", "<<", "Imm", ";", "}", "else", "if", "(", "Val", "->", "getKind", "(", ")", "==", "MCExpr", "::", "SymbolRef", ")", "{", "if", "(", "auto", "*", "SRE", "=", "dyn_cast", "<", "MCSymbolRefExpr", ">", "(", "Val", ")", ")", "{", "const", "MCSymbol", "&", "Sym", "=", "SRE", "->", "getSymbol", "(", ")", ";", "if", "(", "auto", "SymName", "=", "Sym", ".", "getName", "(", ")", ".", "data", "(", ")", ")", "OS", "<<", "VName", "<<", "SymName", ";", "}", "}", "}", ";", "switch", "(", "Kind", ")", "{", "case", "Token", ":", "OS", "<<", "Tok", ".", "Data", ";", "break", ";", "case", "Register", ":", "OS", "<<", "\"Reg:\"", "<<", "X86IntelInstPrinter", "::", "getRegisterName", "(", "Reg", ".", "RegNo", ")", ";", "break", ";", "case", "DXRegister", ":", "OS", "<<", "\"DXReg\"", ";", "break", ";", "case", "Immediate", ":", "PrintImmValue", "(", "Imm", ".", "Val", ",", "\"Imm:\"", ")", ";", "break", ";", "case", "Prefix", ":", "OS", "<<", "\"Prefix:\"", "<<", "Pref", ".", "Prefixes", ";", "break", ";", "case", "Memory", ":", "OS", "<<", "\"Memory: ModeSize=\"", "<<", "Mem", ".", "ModeSize", ";", "if", "(", "Mem", ".", "Size", ")", "OS", "<<", "\",Size=\"", "<<", "Mem", ".", "Size", ";", "if", "(", "Mem", ".", "BaseReg", ")", "OS", "<<", "\",BaseReg=\"", "<<", "X86IntelInstPrinter", "::", "getRegisterName", "(", "Mem", ".", "BaseReg", ")", ";", "if", "(", "Mem", ".", "IndexReg", ")", "OS", "<<", "\",IndexReg=\"", "<<", "X86IntelInstPrinter", "::", "getRegisterName", "(", "Mem", ".", "IndexReg", ")", ";", "if", "(", "Mem", ".", "Scale", ")", "OS", "<<", "\",Scale=\"", "<<", "Mem", ".", "Scale", ";", "if", "(", "Mem", ".", "Disp", ")", "PrintImmValue", "(", "Mem", ".", "Disp", ",", "\",Disp=\"", ")", ";", "if", "(", "Mem", ".", "SegReg", ")", "OS", "<<", "\",SegReg=\"", "<<", "X86IntelInstPrinter", "::", "getRegisterName", "(", "Mem", ".", "SegReg", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["X86", "\"Reg:\"", "X86", "\"DXReg\"", "\"Imm:\"", "\"Prefix:\"", "\"Memory: ModeSize=\"", "\",Size=\"", "\",BaseReg=\"", "X86", "\",IndexReg=\"", "X86", "\",Scale=\"", "\",Disp=\"", "\",SegReg=\"", "X86"], "File": "X86Operand10", "Func": "print", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20482, "Length": 315, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "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": ["AArch64", "AArch64"], "File": "AArch64InstrInfo109", "Func": "isFunctionSafeToOutlineFrom", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20483, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "getMemOperandWithOffset", "(", "const", "MachineInstr", "&", "MemOp", ",", "const", "MachineOperand", "*", "&", "BaseOp", ",", "int64_t", "&", "Offset", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "const", "MCInstrDesc", "&", "Desc", "=", "MemOp", ".", "getDesc", "(", ")", ";", "int", "MemRefBegin", "=", "X86II", "::", "getMemoryOperandNo", "(", "Desc", ".", "TSFlags", ")", ";", "if", "(", "MemRefBegin", "<", "0", ")", "return", "false", ";", "MemRefBegin", "+=", "X86II", "::", "getOperandBias", "(", "Desc", ")", ";", "BaseOp", "=", "&", "MemOp", ".", "getOperand", "(", "MemRefBegin", "+", "X86", "::", "AddrBaseReg", ")", ";", "if", "(", "!", "BaseOp", "->", "isReg", "(", ")", ")", "return", "false", ";", "if", "(", "MemOp", ".", "getOperand", "(", "MemRefBegin", "+", "X86", "::", "AddrScaleAmt", ")", ".", "getImm", "(", ")", "!=", "1", ")", "return", "false", ";", "if", "(", "MemOp", ".", "getOperand", "(", "MemRefBegin", "+", "X86", "::", "AddrIndexReg", ")", ".", "getReg", "(", ")", "!=", "X86", "::", "NoRegister", ")", "return", "false", ";", "const", "MachineOperand", "&", "DispMO", "=", "MemOp", ".", "getOperand", "(", "MemRefBegin", "+", "X86", "::", "AddrDisp", ")", ";", "if", "(", "!", "DispMO", ".", "isImm", "(", ")", ")", "return", "false", ";", "Offset", "=", "DispMO", ".", "getImm", "(", ")", ";", "assert", "(", "BaseOp", "->", "isReg", "(", ")", "&&", "\"getMemOperandWithOffset only supports base \"", "\"operands of type register.\"", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Get", "the", "base", "operand", "and", "byte", "offset", "of", "an", "instruction", "that", "reads/writes", "memory", "."], "TS_V_token": ["X86", "X86", "X86II::getMemoryOperandNo", "0", "X86II::getOperandBias", "X86::AddrBaseReg", "X86::AddrScaleAmt", "1", "X86::AddrIndexReg", "X86::NoRegister", "X86::AddrDisp", "\"getMemOperandWithOffset only supports base \"", "\"operands of type register.\""], "File": "X86InstrInfo11", "Func": "getMemOperandWithOffset", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20484, "Length": 192, "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", "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", "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": "X86FrameLowering122", "Func": "findDeadCallerSavedReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20485, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "PPCFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "if", "(", "!", "TM", ".", "isPPC64", "(", ")", ")", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "PPC", "::", "R31", ":", "PPC", "::", "R1", ";", "else", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "PPC", "::", "X31", ":", "PPC", "::", "X1", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC::R31", "PPC::R1", "PPC::X31", "PPC::X1"], "File": "PPCRegisterInfo (2)1", "Func": "getFrameRegister", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20486, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64AsmBackend", "::", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Check", "whether", "the", "given", "instruction", "may", "need", "relaxation", "."], "TS_V_token": ["ARM64", "ARM64"], "File": "ARM64AsmBackend", "Func": "mayNeedRelaxation", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20487, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "unique_ptr", "<", "MCObjectWriter", ">", "SHUXIAsmBackend", "::", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "{", "return", "createSHUXIELFObjectWriter", "(", "OS", ",", "false", ",", "true", ",", "OSABI", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["SHUXI", "SHUXI", "SHUXI"], "File": "SHUXIAsmBackend", "Func": "createObjectWriter", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20488, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"ARM64 load / store optimization pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM64", "\"ARM64 load / store optimization pass\""], "File": "ARM64LoadStoreOptimizer", "Func": "getPassName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20489, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_use_sched_lookahead_guard", "(", "rtx_insn", "*", "insn", ",", "int", "ready_index", ")", "{", "if", "(", "ready_index", "==", "0", ")", "return", "0", ";", "if", "(", "rs6000_tune", "!=", "PROCESSOR_CELL", ")", "return", "0", ";", "gcc_assert", "(", "insn", "!=", "NULL_RTX", "&&", "INSN_P", "(", "insn", ")", ")", ";", "if", "(", "!", "reload_completed", "||", "is_nonpipeline_insn", "(", "insn", ")", "||", "is_microcoded_insn", "(", "insn", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["We", "are", "choosing", "insn", "from", "the", "ready", "queue", ".", "Return", "zero", "if", "INSN", "can", "be", "chosen", "."], "TS_V_token": ["rs6000", "0", "0", "0", "1", "0"], "File": "rs6000", "Func": "rs6000_use_sched_lookahead_guard", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20490, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "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", ")", "{", "unsigned", "Align", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", "->", "getStackAlignment", "(", ")", ";", "Amount", "=", "(", "Amount", "+", "Align", "-", "1", ")", "/", "Align", "*", "Align", ";", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "assert", "(", "!", "AFI", "->", "isThumb1OnlyFunction", "(", ")", "&&", "\"This eliminateCallFramePseudoInstr does not suppor Thumb1!\"", ")", ";", "bool", "isARM", "=", "!", "AFI", "->", "isThumbFunction", "(", ")", ";", "unsigned", "Opc", "=", "Old", "->", "getOpcode", "(", ")", ";", "ARMCC", "::", "CondCodes", "Pred", "=", "(", "ARMCC", "::", "CondCodes", ")", "Old", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "Opc", "==", "ARM", "::", "ADJCALLSTACKDOWN", "||", "Opc", "==", "ARM", "::", "tADJCALLSTACKDOWN", ")", "{", "unsigned", "PredReg", "=", "Old", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "emitSPUpdate", "(", "isARM", ",", "MBB", ",", "I", ",", "dl", ",", "TII", ",", "-", "Amount", ",", "Pred", ",", "PredReg", ")", ";", "}", "else", "{", "unsigned", "PredReg", "=", "Old", "->", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", ";", "assert", "(", "Opc", "==", "ARM", "::", "ADJCALLSTACKUP", "||", "Opc", "==", "ARM", "::", "tADJCALLSTACKUP", ")", ";", "emitSPUpdate", "(", "isARM", ",", "MBB", ",", "I", ",", "dl", ",", "TII", ",", "Amount", ",", "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", "0", "0", "1", "ARM", "ARM", "\"This eliminateCallFramePseudoInstr does not suppor Thumb1!\"", "ARM", "ARMCC::CondCodes", "ARMCC::CondCodes", "1", "ARM::ADJCALLSTACKDOWN", "ARM::tADJCALLSTACKDOWN", "2", "ARM", "3", "ARM::ADJCALLSTACKUP", "ARM::tADJCALLSTACKUP", "ARM"], "File": "ARMBaseRegisterInfo20", "Func": "eliminateCallFramePseudoInstr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20491, "Length": 272, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FrameLowering", "::", "restoreCalleeSavedRegisters", "(", "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", ";", "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", ";", "bool", "BumpSP", "=", "RPII", "==", "std", "::", "prev", "(", "RegPairs", ".", "end", "(", ")", ")", ";", "if", "(", "RPI", ".", "IsGPR", ")", "{", "if", "(", "BumpSP", ")", "LdrOpc", "=", "RPI", ".", "isPaired", "(", ")", "?", "AArch64", "::", "LDPXpost", ":", "AArch64", "::", "LDRXpost", ";", "else", "LdrOpc", "=", "RPI", ".", "isPaired", "(", ")", "?", "AArch64", "::", "LDPXi", ":", "AArch64", "::", "LDRXui", ";", "}", "else", "{", "if", "(", "BumpSP", ")", "LdrOpc", "=", "RPI", ".", "isPaired", "(", ")", "?", "AArch64", "::", "LDPDpost", ":", "AArch64", "::", "LDRDpost", ";", "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\"", ")", ";", "const", "int", "Offset", "=", "RPI", ".", "Offset", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "LdrOpc", ")", ")", ";", "if", "(", "BumpSP", ")", "MIB", ".", "addReg", "(", "AArch64", "::", "SP", ",", "RegState", "::", "Define", ")", ";", "if", "(", "RPI", ".", "isPaired", "(", ")", ")", "MIB", ".", "addReg", "(", "Reg2", ",", "getDefRegState", "(", "true", ")", ")", ".", "addReg", "(", "Reg1", ",", "getDefRegState", "(", "true", ")", ")", ".", "addReg", "(", "AArch64", "::", "SP", ")", ".", "addImm", "(", "Offset", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameDestroy", ")", ";", "else", "MIB", ".", "addReg", "(", "Reg1", ",", "getDefRegState", "(", "true", ")", ")", ".", "addReg", "(", "AArch64", "::", "SP", ")", ".", "addImm", "(", "BumpSP", "?", "Offset", "*", "8", ":", "Offset", ")", ".", "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::LDPXpost", "AArch64::LDRXpost", "AArch64::LDPXi", "AArch64::LDRXui", "AArch64::LDPDpost", "AArch64::LDRDpost", "AArch64::LDPDi", "AArch64::LDRDui", "\"CSR restore: (\"", "\", \"", "\") -> fi#(\"", "\", \"", "1", "\")\\n\"", "AArch64::SP", "AArch64::SP", "AArch64::SP", "8"], "File": "AArch64FrameLowering9", "Func": "restoreCalleeSavedRegisters", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20492, "Length": 458, "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": 20493, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "findDeadCallerSavedReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "const", "TargetRegisterInfo", "*", "TRI", ",", "bool", "Is64Bit", ")", "{", "const", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "Function", "*", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "if", "(", "!", "F", "||", "MF", "->", "getMMI", "(", ")", ".", "callsEHReturn", "(", ")", ")", "return", "0", ";", "static", "const", "uint16_t", "CallerSavedRegs32Bit", "[", "]", "=", "{", "X86", "::", "EAX", ",", "X86", "::", "EDX", ",", "X86", "::", "ECX", ",", "0", "}", ";", "static", "const", "uint16_t", "CallerSavedRegs64Bit", "[", "]", "=", "{", "X86", "::", "RAX", ",", "X86", "::", "RDX", ",", "X86", "::", "RCX", ",", "X86", "::", "RSI", ",", "X86", "::", "RDI", ",", "X86", "::", "R8", ",", "X86", "::", "R9", ",", "X86", "::", "R10", ",", "X86", "::", "R11", ",", "0", "}", ";", "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", ")", ";", "}", "const", "uint16_t", "*", "CS", "=", "Is64Bit", "?", "CallerSavedRegs64Bit", ":", "CallerSavedRegs32Bit", ";", "for", "(", ";", "*", "CS", ";", "++", "CS", ")", "if", "(", "!", "Uses", ".", "count", "(", "*", "CS", ")", ")", "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", "0", "X86::EAX", "X86::EDX", "X86::ECX", "0", "X86::RAX", "X86::RDX", "X86::RCX", "X86::RSI", "X86::RDI", "X86::R8", "X86::R9", "X86::R10", "X86::R11", "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", "0"], "File": "X86FrameLowering", "Func": "findDeadCallerSavedReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20494, "Length": 359, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMProcFamilyEnum", "getProcFamily", "(", ")", "const", "{", "return", "ARMProcFamily", ";", "}", ""], "natrual_language": ["Returns", "RISC-V", "processor", "family", "."], "TS_V_token": ["AArch64"], "File": "AArch64Subtarget (2)1", "Func": "getProcFamily", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20495, "Length": 10, "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", ";", "unsigned", "ResultReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "if", "(", "!", "PPCEmitLoad", "(", "VT", ",", "ResultReg", ",", "Addr", ",", "nullptr", ",", "IsZExt", ",", "PPCSubTarget", "->", "hasSPE", "(", ")", "?", "PPC", "::", "EVLDD", ":", "PPC", "::", "LFD", ")", ")", "return", "false", ";", "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": ["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": "PPCFastISel46", "Func": "tryToFoldLoadIntoMI", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20496, "Length": 366, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMFastISel", "::", "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", "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": "ARMFastISel17", "Func": "fastMaterializeConstant", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20497, "Length": 118, "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", ")", ";", "else", "if", "(", "insn_entry", "[", "i", "]", ".", "special_handling", "==", "SH_XXPERMDI", ")", "fputs", "(", "\"special:xxpermdi \"", ",", "dump_file", ")", ";", "else", "if", "(", "insn_entry", "[", "i", "]", ".", "special_handling", "==", "SH_CONCAT", ")", "fputs", "(", "\"special:concat \"", ",", "dump_file", ")", ";", "else", "if", "(", "insn_entry", "[", "i", "]", ".", "special_handling", "==", "SH_VPERM", ")", "fputs", "(", "\"special:vperm \"", ",", "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 \"", "\"special:xxpermdi \"", "\"special:concat \"", "\"special:vperm \"", "\"unoptimizable \"", "\"delete \"", "\"\\n\"", "\"\\n\""], "File": "rs6000-p8swap", "Func": "dump_swap_insn_table", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20498, "Length": 452, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Mips Hazard Schedule\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"Mips Hazard Schedule\""], "File": "MipsHazardSchedule", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20499, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_set_current_function", "(", "tree", "fndecl", ")", "{", "if", "(", "!", "fndecl", "||", "fndecl", "==", "arm_previous_fndecl", ")", "return", ";", "tree", "old_tree", "=", "(", "arm_previous_fndecl", "?", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "arm_previous_fndecl", ")", ":", "NULL_TREE", ")", ";", "tree", "new_tree", "=", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "fndecl", ")", ";", "if", "(", "!", "new_tree", "&&", "old_tree", ")", "new_tree", "=", "target_option_default_node", ";", "if", "(", "old_tree", "==", "new_tree", ")", "return", ";", "arm_previous_fndecl", "=", "fndecl", ";", "cl_target_option_restore", "(", "&", "global_options", ",", "&", "global_options_set", ",", "TREE_TARGET_OPTION", "(", "new_tree", ")", ")", ";", "save_restore_target_globals", "(", "new_tree", ")", ";", "arm_override_options_after_change_1", "(", "&", "global_options", ",", "&", "global_options_set", ")", ";", "}", ""], "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": ["arm"], "File": "arm", "Func": "arm_set_current_function", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20500, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "pa_initial_elimination_offset", "(", "int", "from", ",", "int", "to", ")", "{", "HOST_WIDE_INT", "offset", ";", "if", "(", "(", "from", "==", "HARD_FRAME_POINTER_REGNUM", "||", "from", "==", "FRAME_POINTER_REGNUM", ")", "&&", "to", "==", "STACK_POINTER_REGNUM", ")", "offset", "=", "-", "pa_compute_frame_size", "(", "get_frame_size", "(", ")", ",", "0", ")", ";", "else", "if", "(", "from", "==", "FRAME_POINTER_REGNUM", "&&", "to", "==", "HARD_FRAME_POINTER_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": ["pa", "0", "0"], "File": "pa", "Func": "pa_initial_elimination_offset", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20501, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_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_ix86_isa_flags", "&", "callee_opts", "->", "x_ix86_isa_flags", ")", "!=", "callee_opts", "->", "x_ix86_isa_flags", ")", "ret", "=", "false", ";", "else", "if", "(", "caller_opts", "->", "x_target_flags", "!=", "callee_opts", "->", "x_target_flags", ")", "ret", "=", "false", ";", "else", "if", "(", "caller_opts", "->", "arch", "!=", "callee_opts", "->", "arch", ")", "ret", "=", "false", ";", "else", "if", "(", "caller_opts", "->", "tune", "!=", "callee_opts", "->", "tune", ")", "ret", "=", "false", ";", "else", "if", "(", "caller_opts", "->", "x_ix86_fpmath", "!=", "callee_opts", "->", "x_ix86_fpmath", ")", "ret", "=", "false", ";", "else", "if", "(", "caller_opts", "->", "branch_cost", "!=", "callee_opts", "->", "branch_cost", ")", "ret", "=", "false", ";", "else", "ret", "=", "true", ";", "}", "return", "ret", ";", "}", ""], "natrual_language": ["Hook", "to", "determine", "if", "one", "function", "can", "safely", "inline", "another", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_can_inline_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20502, "Length": 178, "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\"", ",", "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_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\"", "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_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": "ARMAsmBackend7", "Func": "getFixupKindInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20503, "Length": 370, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "LiveIntervals", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "LiveIntervals", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "SlotIndexes", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "SlotIndexes", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["PowerPC"], "File": "PPCInstrInfo1", "Func": "getAnalysisUsage", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20504, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MVEVPTBlock", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "const", "ARMSubtarget", "&", "STI", "=", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "Fn", ".", "getSubtarget", "(", ")", ")", ";", "if", "(", "!", "STI", ".", "isThumb2", "(", ")", "||", "!", "STI", ".", "hasMVEIntegerOps", "(", ")", ")", "return", "false", ";", "TII", "=", "static_cast", "<", "const", "Thumb2InstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "RDA", "=", "&", "getAnalysis", "<", "ReachingDefAnalysis", ">", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** ARM MVE VPT BLOCKS **********\\n\"", "<<", "\"********** Function: \"", "<<", "Fn", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "Fn", ")", "Modified", "|=", "InsertVPTBlocks", "(", "MBB", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"**************************************\\n\"", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "\"********** ARM MVE VPT BLOCKS **********\\n\"", "\"********** Function: \"", "\"**************************************\\n\""], "File": "MVEVPTBlockPass12", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20505, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCTTI", "::", "getUnrollingPreferences", "(", "const", "Function", "*", "F", ",", "Loop", "*", "L", ",", "UnrollingPreferences", "&", "UP", ")", "const", "{", "if", "(", "TM", "->", "getSubtarget", "<", "PPCSubtarget", ">", "(", "F", ")", ".", "getDarwinDirective", "(", ")", "==", "PPC", "::", "DIR_A2", ")", "{", "UP", ".", "Partial", "=", "UP", ".", "Runtime", "=", "true", ";", "}", "TargetTransformInfo", "::", "getUnrollingPreferences", "(", "F", ",", "L", ",", "UP", ")", ";", "}", ""], "natrual_language": ["Get", "target-customized", "preferences", "for", "the", "generic", "loop", "unrolling", "transformation", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::DIR_A2"], "File": "PPCTargetTransformInfo26", "Func": "getUnrollingPreferences", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20506, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86GenInstrInfo", "::", "MachineOutlinerInstrType", "X86InstrInfo", "::", "getOutliningType", "(", "MachineBasicBlock", "::", "iterator", "&", "MIT", ",", "unsigned", "Flags", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "MIT", ";", "if", "(", "MI", ".", "isDebugValue", "(", ")", "||", "MI", ".", "isIndirectDebugValue", "(", ")", ")", "return", "MachineOutlinerInstrType", "::", "Invisible", ";", "if", "(", "isTailCall", "(", "MI", ")", ")", "return", "MachineOutlinerInstrType", "::", "Legal", ";", "if", "(", "MI", ".", "isTerminator", "(", ")", "||", "MI", ".", "isReturn", "(", ")", ")", "{", "if", "(", "MI", ".", "getParent", "(", ")", "->", "succ_empty", "(", ")", ")", "return", "MachineOutlinerInstrType", "::", "Legal", ";", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "}", "if", "(", "MI", ".", "modifiesRegister", "(", "X86", "::", "RSP", ",", "&", "RI", ")", "||", "MI", ".", "readsRegister", "(", "X86", "::", "RSP", ",", "&", "RI", ")", "||", "MI", ".", "getDesc", "(", ")", ".", "hasImplicitUseOfPhysReg", "(", "X86", "::", "RSP", ")", "||", "MI", ".", "getDesc", "(", ")", ".", "hasImplicitDefOfPhysReg", "(", "X86", "::", "RSP", ")", ")", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "if", "(", "MI", ".", "readsRegister", "(", "X86", "::", "RIP", ",", "&", "RI", ")", "||", "MI", ".", "getDesc", "(", ")", ".", "hasImplicitUseOfPhysReg", "(", "X86", "::", "RIP", ")", "||", "MI", ".", "getDesc", "(", ")", ".", "hasImplicitDefOfPhysReg", "(", "X86", "::", "RIP", ")", ")", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "if", "(", "MI", ".", "isPosition", "(", ")", ")", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "for", "(", "const", "MachineOperand", "&", "MOP", ":", "MI", ".", "operands", "(", ")", ")", "if", "(", "MOP", ".", "isCPI", "(", ")", "||", "MOP", ".", "isJTI", "(", ")", "||", "MOP", ".", "isCFIIndex", "(", ")", "||", "MOP", ".", "isFI", "(", ")", "||", "MOP", ".", "isTargetIndex", "(", ")", ")", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "return", "MachineOutlinerInstrType", "::", "Legal", ";", "}", ""], "natrual_language": ["Returns", "how", "or", "if", "MIT", "should", "be", "outlined", "."], "TS_V_token": ["X86", "X86", "X86", "X86::RSP", "X86::RSP", "X86::RSP", "X86::RSP", "X86::RIP", "X86::RIP", "X86::RIP"], "File": "X86InstrInfo161", "Func": "getOutliningType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20507, "Length": 265, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TOYRegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "llvm_unreachable", "(", "\"eliminateCallFramePseudoInstr not implemented yet\"", ")", ";", "}", ""], "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": ["TOY", "TOY", "\"eliminateCallFramePseudoInstr not implemented yet\""], "File": "TOYRegisterInfo", "Func": "eliminateCallFramePseudoInstr", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20508, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "XNCMRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "static", "const", "uint16_t", "CalleeSavedRegs", "[", "]", "=", "{", "XNCM", "::", "LR", ",", "0", "}", ";", "return", "CalleeSavedRegs", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["XNCM", "XNCM", "XNCM::LR", "0"], "File": "XNCMRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20509, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "LanaiInstrInfo", "::", "removeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "int", "*", "BytesRemoved", ")", "const", "{", "assert", "(", "!", "BytesRemoved", "&&", "\"code size not handled\"", ")", ";", "MachineBasicBlock", "::", "iterator", "Instruction", "=", "MBB", ".", "end", "(", ")", ";", "unsigned", "Count", "=", "0", ";", "while", "(", "Instruction", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "--", "Instruction", ";", "if", "(", "Instruction", "->", "isDebugInstr", "(", ")", ")", "continue", ";", "if", "(", "Instruction", "->", "getOpcode", "(", ")", "!=", "Lanai", "::", "BT", "&&", "Instruction", "->", "getOpcode", "(", ")", "!=", "Lanai", "::", "BRCC", ")", "{", "break", ";", "}", "Instruction", "->", "eraseFromParent", "(", ")", ";", "Instruction", "=", "MBB", ".", "end", "(", ")", ";", "++", "Count", ";", "}", "return", "Count", ";", "}", ""], "natrual_language": ["Remove", "the", "branching", "code", "at", "the", "end", "of", "the", "specific", "MBB", "."], "TS_V_token": ["Lanai", "Lanai", "\"code size not handled\"", "0", "Lanai::BT", "Lanai::BRCC"], "File": "LanaiInstrInfo (2)", "Func": "removeBranch", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20510, "Length": 111, "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", ")", "&&", "!", "EnableOldKNLABI", "&&", "Subtarget", ".", "useAVX512Regs", "(", ")", "&&", "!", "Subtarget", ".", "hasBWI", "(", ")", ")", "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": "X86ISelLowering195", "Func": "getNumRegistersForCallingConv", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20511, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rbt_inorder_callback", "(", "struct", "rbt_strings", "*", "t", ",", "struct", "rbt_string_node", "*", "subtree", ",", "void", "(", "*", "fn", ")", "(", "char", "*", ")", ")", "{", "if", "(", "subtree", "!=", "t", "->", "rbt_nil", ")", "{", "rbt_inorder_callback", "(", "t", ",", "subtree", "->", "left", ",", "fn", ")", ";", "(", "*", "fn", ")", "(", "subtree", "->", "str", ")", ";", "rbt_inorder_callback", "(", "t", ",", "subtree", "->", "right", ",", "fn", ")", ";", "}", "}", ""], "natrual_language": ["Inorder", "call-back", "for", "iteration", "over", "the", "tree", "."], "TS_V_token": ["rs6000"], "File": "rbtree", "Func": "rbt_inorder_callback", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20512, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "moxie_pass_by_reference", "(", "cumulative_args_t", ",", "const", "function_arg_info", "&", "arg", ")", "{", "if", "(", "arg", ".", "aggregate_type_p", "(", ")", ")", "return", "true", ";", "unsigned", "HOST_WIDE_INT", "size", "=", "arg", ".", "type_size_in_bytes", "(", ")", ";", "return", "size", ">", "4", "*", "6", ";", "}", ""], "natrual_language": ["Return", "non-zero", "if", "the", "function", "argument", "described", "by", "TYPE", "is", "to", "be", "passed", "by", "reference", "."], "TS_V_token": ["moxie", "4", "6"], "File": "moxie", "Func": "moxie_pass_by_reference", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20513, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0AsmBackend", "::", "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", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "+", "7", ")", "/", "8", ";", "unsigned", "FullSize", ";", "switch", "(", "(", "unsigned", ")", "Kind", ")", "{", "default", ":", "FullSize", "=", "4", ";", "break", ";", "}", "uint64_t", "CurVal", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittle", "?", "i", ":", "(", "FullSize", "-", "1", "-", "i", ")", ";", "CurVal", "|=", "(", "uint64_t", ")", "(", "(", "uint8_t", ")", "Data", "[", "Offset", "+", "Idx", "]", ")", "<<", "(", "i", "*", "8", ")", ";", "}", "uint64_t", "Mask", "=", "(", "(", "uint64_t", ")", "(", "-", "1", ")", ">>", "(", "64", "-", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", ")", ";", "CurVal", "|=", "Value", "&", "Mask", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittle", "?", "i", ":", "(", "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": ["Cpu0", "Cpu0", "7", "8", "4", "0", "0", "1", "8", "1", "64", "0", "1", "8", "0xff"], "File": "Cpu0AsmBackend", "Func": "applyFixup", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20514, "Length": 254, "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": 20515, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "MCAsmParser", "&", "Parser", "=", "getParser", "(", ")", ";", "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": "MipsAsmParser104", "Func": "ParseInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20516, "Length": 296, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64IndirectThunks", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "getPassName", "(", ")", "<<", "'\\n'", ")", ";", "auto", "&", "MMI", "=", "getAnalysis", "<", "MachineModuleInfoWrapperPass", ">", "(", ")", ".", "getMMI", "(", ")", ";", "return", "runTIs", "(", "MMI", ",", "MF", ",", "TIs", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64SLSHardening", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20517, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_file_start", "(", "void", ")", "{", "default_file_start", "(", ")", ";", "emit_safe_across_calls", "(", ")", ";", "}", ""], "natrual_language": ["Begin", "the", "assembly", "file", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "ia64_file_start", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20518, "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": 20519, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "loongarch_function_ok_for_sibcall", "(", "tree", "decl", "ATTRIBUTE_UNUSED", ",", "tree", "exp", "ATTRIBUTE_UNUSED", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_OK_FOR_SIBCALL", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_function_ok_for_sibcall", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20520, "Length": 17, "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": ["powerpcspe", "\"%s\"", "\",\"", "\"%s\\\"%s\\\"\"", "\", \"", "\", \""], "File": "powerpcspe", "Func": "rs6000_debug_target_options", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20521, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "ArrayRef", "<", "Register", ">>", "VRegs", ")", "const", "{", "auto", "&", "TLI", "=", "*", "getTLI", "<", "ARMTargetLowering", ">", "(", ")", ";", "auto", "Subtarget", "=", "TLI", ".", "getSubtarget", "(", ")", ";", "if", "(", "Subtarget", "->", "isThumb1Only", "(", ")", ")", "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", ";", "if", "(", "Arg", ".", "hasByValOrInAllocaAttr", "(", ")", ")", "return", "false", ";", "}", "CCAssignFn", "*", "AssignFn", "=", "TLI", ".", "CCAssignFnForCall", "(", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ")", ";", "FormalArgHandler", "ArgHandler", "(", "MIRBuilder", ",", "MIRBuilder", ".", "getMF", "(", ")", ".", "getRegInfo", "(", ")", ",", "AssignFn", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "SplitArgInfos", ";", "unsigned", "Idx", "=", "0", ";", "for", "(", "auto", "&", "Arg", ":", "F", ".", "args", "(", ")", ")", "{", "ArgInfo", "OrigArgInfo", "(", "VRegs", "[", "Idx", "]", ",", "Arg", ".", "getType", "(", ")", ")", ";", "setArgFlags", "(", "OrigArgInfo", ",", "Idx", "+", "AttributeList", "::", "FirstArgIndex", ",", "DL", ",", "F", ")", ";", "splitToValueTypes", "(", "OrigArgInfo", ",", "SplitArgInfos", ",", "MF", ",", "[", "&", "]", "(", "Register", "Reg", ")", "{", "llvm_unreachable", "(", "\"Args should already be split\"", ")", ";", "}", ")", ";", "Idx", "++", ";", "}", "if", "(", "!", "MBB", ".", "empty", "(", ")", ")", "MIRBuilder", ".", "setInstr", "(", "*", "MBB", ".", "begin", "(", ")", ")", ";", "if", "(", "!", "handleAssignments", "(", "MIRBuilder", ",", "SplitArgInfos", ",", "ArgHandler", ")", ")", "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": ["ARM", "ARM", "ARM", "8", "0", "\"Args should already be split\""], "File": "ARMCallLowering16", "Func": "lowerFormalArguments", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20522, "Length": 321, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "PPCSubtarget", "*", "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": ["PowerPC", "PPC"], "File": "PPCTargetMachine11", "Func": "getSubtargetImpl", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20523, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch_rev16_p", "(", "rtx", "x", ")", "{", "rtx", "left_sub_rtx", ",", "right_sub_rtx", ";", "bool", "is_rev", "=", "false", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "IOR", ")", "return", "false", ";", "left_sub_rtx", "=", "XEXP", "(", "x", ",", "0", ")", ";", "right_sub_rtx", "=", "XEXP", "(", "x", ",", "1", ")", ";", "is_rev", "=", "aarch_rev16_p_1", "(", "left_sub_rtx", ",", "right_sub_rtx", ",", "GET_MODE", "(", "x", ")", ")", ";", "if", "(", "!", "is_rev", ")", "is_rev", "=", "aarch_rev16_p_1", "(", "right_sub_rtx", ",", "left_sub_rtx", ",", "GET_MODE", "(", "x", ")", ")", ";", "return", "is_rev", ";", "}", ""], "natrual_language": ["Recognise", "a", "sequence", "of", "bitwise", "operations", "corresponding", "to", "a", "rev16", "operation", ".", "These", "will", "be", "of", "the", "form", ":", "(", "(", "x", ">", ">", "8", ")", "&", "0x00ff00ff", ")", "|", "(", "(", "x", "<", "<", "8", ")", "&", "0xff00ff00", ")", "for", "SImode", "and", "with", "similar", "but", "wider", "bitmasks", "for", "DImode", ".", "The", "two", "sub-expressions", "of", "the", "IOR", "can", "appear", "on", "either", "side", "so", "check", "both", "permutations", "with", "the", "help", "of", "aarch_rev16_p_1", "above", "."], "TS_V_token": ["arm", "0", "1"], "File": "aarch-common", "Func": "aarch_rev16_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20524, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "getGOT", "(", "NodeTy", "*", "N", ",", "SelectionDAG", "&", "DAG", ",", "unsigned", "Flags", ")", "const", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"AArch64TargetLowering::getGOT\\n\"", ")", ";", "SDLoc", "DL", "(", "N", ")", ";", "EVT", "Ty", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";", "SDValue", "GotAddr", "=", "getTargetNode", "(", "N", ",", "Ty", ",", "DAG", ",", "AArch64II", "::", "MO_GOT", "|", "Flags", ")", ";", "return", "DAG", ".", "getNode", "(", "AArch64ISD", "::", "LOADgot", ",", "DL", ",", "Ty", ",", "GotAddr", ")", ";", "}", ""], "natrual_language": ["Return", "a", "pseudo", "source", "value", "referencing", "the", "global", "offset", "table", "(", "or", "something", "the", "like", ")", "."], "TS_V_token": ["AArch64", "AArch64", "\"AArch64TargetLowering::getGOT\\n\"", "AArch64II::MO_GOT", "AArch64ISD::LOADgot"], "File": "AArch64ISelLowering106", "Func": "getGOT", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20525, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "rs6000_xcoff_strip_name_encoding", "(", "const", "char", "*", "name", ")", "{", "size_t", "len", ";", "if", "(", "*", "name", "==", "'*'", ")", "name", "++", ";", "len", "=", "strlen", "(", "name", ")", ";", "if", "(", "name", "[", "len", "-", "1", "]", "==", "']'", ")", "return", "ggc_alloc_string", "(", "name", ",", "len", "-", "4", ")", ";", "else", "return", "name", ";", "}", ""], "natrual_language": ["Remove", "any", "trailing", "[", "DS", "]", "or", "the", "like", "from", "the", "symbol", "name", "."], "TS_V_token": ["rs6000", "1", "4"], "File": "rs6000", "Func": "rs6000_xcoff_strip_name_encoding", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20526, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "TOYRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["TOY", "TOY"], "File": "TOYInstrInfo", "Func": "getRegisterInfo", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20527, "Length": 13, "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", ")", ")", ";", "auto", "*", "RBI", "=", "new", "X86RegisterBankInfo", "(", "*", "I", "->", "getRegisterInfo", "(", ")", ")", ";", "GISel", "->", "RegBankInfo", ".", "reset", "(", "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"], "File": "X86TargetMachine133", "Func": "getSubtargetImpl", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20528, "Length": 292, "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", "::", "BITCAST", ":", "Res", "=", "ExpandBITCAST", "(", "N", ",", "DAG", ")", ";", "break", ";", "case", "ISD", "::", "SRL", ":", "case", "ISD", "::", "SRA", ":", "Res", "=", "Expand64BitShift", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "break", ";", "case", "ISD", "::", "ATOMIC_LOAD_ADD", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMADD64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_LOAD_AND", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMAND64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_LOAD_NAND", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMNAND64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_LOAD_OR", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMOR64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_LOAD_SUB", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMSUB64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_LOAD_XOR", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMXOR64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_SWAP", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMSWAP64_DAG", ")", ";", "return", ";", "case", "ISD", "::", "ATOMIC_CMP_SWAP", ":", "ReplaceATOMIC_OP_64", "(", "N", ",", "Results", ",", "DAG", ",", "ARMISD", "::", "ATOMCMPXCHG64_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::BITCAST", "ISD::SRL", "ISD::SRA", "ISD::ATOMIC_LOAD_ADD", "ARMISD::ATOMADD64_DAG", "ISD::ATOMIC_LOAD_AND", "ARMISD::ATOMAND64_DAG", "ISD::ATOMIC_LOAD_NAND", "ARMISD::ATOMNAND64_DAG", "ISD::ATOMIC_LOAD_OR", "ARMISD::ATOMOR64_DAG", "ISD::ATOMIC_LOAD_SUB", "ARMISD::ATOMSUB64_DAG", "ISD::ATOMIC_LOAD_XOR", "ARMISD::ATOMXOR64_DAG", "ISD::ATOMIC_SWAP", "ARMISD::ATOMSWAP64_DAG", "ISD::ATOMIC_CMP_SWAP", "ARMISD::ATOMCMPXCHG64_DAG"], "File": "ARMISelLowering107", "Func": "ReplaceNodeResults", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20529, "Length": 257, "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", "(", "(", "REG_P", "(", "XEXP", "(", "a", ",", "0", ")", ")", "||", "(", "GET_CODE", "(", "XEXP", "(", "a", ",", "0", ")", ")", "==", "PLUS", "&&", "CONST_INT_P", "(", "XEXP", "(", "XEXP", "(", "a", ",", "0", ")", ",", "1", ")", ")", ")", ")", "&&", "(", "REG_P", "(", "XEXP", "(", "b", ",", "0", ")", ")", "||", "(", "GET_CODE", "(", "XEXP", "(", "b", ",", "0", ")", ")", "==", "PLUS", "&&", "CONST_INT_P", "(", "XEXP", "(", "XEXP", "(", "b", ",", "0", ")", ",", "1", ")", ")", ")", ")", ")", "{", "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", "(", "val0", ",", "PLUS", ")", "||", "!", "const_ok_for_op", "(", "val1", ",", "PLUS", ")", ")", "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": "arm", "Func": "adjacent_mem_locations", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20530, "Length": 361, "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", ")", "{", "unsigned", "StackAlign", "=", "getStackAlignment", "(", ")", ";", "Amount", "=", "RoundUpToAlignment", "(", "Amount", ",", "StackAlign", ")", ";", "bool", "HasDwarfEHHandlers", "=", "!", "MF", ".", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", "->", "usesWindowsCFI", "(", ")", "&&", "!", "MF", ".", "getMMI", "(", ")", ".", "getLandingPads", "(", ")", ".", "empty", "(", ")", ";", "if", "(", "HasDwarfEHHandlers", "&&", "!", "isDestroy", "&&", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "getHasPushSequences", "(", ")", ")", "BuildCFI", "(", "MBB", ",", "I", ",", "DL", ",", "MCCFIInstruction", "::", "createGnuArgsSize", "(", "nullptr", ",", "Amount", ")", ")", ";", "if", "(", "Amount", "==", "0", ")", "return", ";", "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", "X86", "0"], "File": "X86FrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20531, "Length": 325, "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": 20532, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "gen_rx_store_vector", "(", "unsigned", "int", "low", ",", "unsigned", "int", "high", ")", "{", "unsigned", "int", "i", ";", "unsigned", "int", "count", "=", "(", "high", "-", "low", ")", "+", "2", ";", "rtx", "vector", ";", "vector", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "count", ")", ")", ";", "XVECEXP", "(", "vector", ",", "0", ",", "0", ")", "=", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "gen_rtx_MINUS", "(", "SImode", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "(", "count", "-", "1", ")", "*", "UNITS_PER_WORD", ")", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "count", "-", "1", ";", "i", "++", ")", "XVECEXP", "(", "vector", ",", "0", ",", "i", "+", "1", ")", "=", "gen_rtx_SET", "(", "gen_rtx_MEM", "(", "SImode", ",", "gen_rtx_MINUS", "(", "SImode", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "(", "i", "+", "1", ")", "*", "UNITS_PER_WORD", ")", ")", ")", ",", "gen_rtx_REG", "(", "SImode", ",", "high", "-", "i", ")", ")", ";", "return", "vector", ";", "}", ""], "natrual_language": ["Generate", "a", "PARALLEL", "that", "will", "pass", "the", "rx_store_multiple_vector", "predicate", "."], "TS_V_token": ["rx", "2", "0", "0", "1", "0", "1", "0", "1", "1"], "File": "rx", "Func": "gen_rx_store_vector", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20533, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VEInstrInfo", "::", "reverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "VECC", "::", "CondCode", "CC", "=", "static_cast", "<", "VECC", "::", "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": ["VE", "VE", "VECC::CondCode", "VECC::CondCode", "0", "0"], "File": "VEInstrInfo", "Func": "reverseBranchCondition", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20534, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"MVE lane interleaving\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"MVE lane interleaving\""], "File": "MVELaneInterleavingPass", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20535, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_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", ";", "if", "(", "!", "ISA_HAS_LWL_LWR", ")", "bits", "=", "MIN", "(", "BITS_PER_WORD", ",", "MIN", "(", "MEM_ALIGN", "(", "src", ")", ",", "MEM_ALIGN", "(", "dest", ")", ")", ")", ";", "else", "{", "if", "(", "MEM_ALIGN", "(", "src", ")", "==", "BITS_PER_WORD", "/", "2", "&&", "MEM_ALIGN", "(", "dest", ")", "==", "BITS_PER_WORD", "/", "2", ")", "bits", "=", "BITS_PER_WORD", "/", "2", ";", "else", "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", ")", ";", "if", "(", "MEM_ALIGN", "(", "src", ")", ">=", "bits", ")", "mips_emit_move", "(", "regs", "[", "i", "]", ",", "adjust_address", "(", "src", ",", "mode", ",", "offset", ")", ")", ";", "else", "{", "rtx", "part", "=", "adjust_address", "(", "src", ",", "BLKmode", ",", "offset", ")", ";", "set_mem_size", "(", "part", ",", "delta", ")", ";", "if", "(", "!", "mips_expand_ext_as_unaligned_load", "(", "regs", "[", "i", "]", ",", "part", ",", "bits", ",", "0", ",", "0", ")", ")", "gcc_unreachable", "(", ")", ";", "}", "}", "for", "(", "offset", "=", "0", ",", "i", "=", "0", ";", "offset", "+", "delta", "<=", "length", ";", "offset", "+=", "delta", ",", "i", "++", ")", "if", "(", "MEM_ALIGN", "(", "dest", ")", ">=", "bits", ")", "mips_emit_move", "(", "adjust_address", "(", "dest", ",", "mode", ",", "offset", ")", ",", "regs", "[", "i", "]", ")", ";", "else", "{", "rtx", "part", "=", "adjust_address", "(", "dest", ",", "BLKmode", ",", "offset", ")", ";", "set_mem_size", "(", "part", ",", "delta", ")", ";", "if", "(", "!", "mips_expand_ins_as_unaligned_store", "(", "part", ",", "regs", "[", "i", "]", ",", "bits", ",", "0", ")", ")", "gcc_unreachable", "(", ")", ";", "}", "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": ["mips", "2", "2", "2", "0", "0", "0", "0", "0", "0", "0", "0"], "File": "mips", "Func": "mips_block_move_straight", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20536, "Length": 377, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "F2003fTargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "const", "SDLoc", "&", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_F2003f", ")", ";", "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": ["F2003f", "F2003f", "ISD::InputArg", "16", "F2003f", "0", "1", "2", "0"], "File": "F2003fISelLowering", "Func": "LowerCallResult", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20537, "Length": 168, "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": 20538, "Length": 39, "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", ";", "return", "wi", "::", "umin", "(", "wi", "::", "to_wide", "(", "TYPE_SIZE", "(", "type", ")", ")", ",", "128", ")", ".", "to_uhwi", "(", ")", ";", "}", ""], "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": "aarch646", "Func": "aarch64_simd_vector_alignment", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20539, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ")", "const", "{", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "(", "unsigned", ")", "Kind", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "+", "7", ")", "/", "8", ";", "unsigned", "FullSize", ";", "switch", "(", "(", "unsigned", ")", "Kind", ")", "{", "case", "Mips", "::", "fixup_Mips_16", ":", "FullSize", "=", "2", ";", "break", ";", "case", "Mips", "::", "fixup_Mips_64", ":", "FullSize", "=", "8", ";", "break", ";", "default", ":", "FullSize", "=", "4", ";", "break", ";", "}", "uint64_t", "CurVal", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittle", "?", "i", ":", "(", "FullSize", "-", "1", "-", "i", ")", ";", "CurVal", "|=", "(", "uint64_t", ")", "(", "(", "uint8_t", ")", "Data", "[", "Offset", "+", "Idx", "]", ")", "<<", "(", "i", "*", "8", ")", ";", "}", "uint64_t", "Mask", "=", "(", "(", "uint64_t", ")", "(", "-", "1", ")", ">>", "(", "64", "-", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", ")", ";", "CurVal", "|=", "Value", "&", "Mask", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittle", "?", "i", ":", "(", "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": ["Mips", "7", "8", "Mips::fixup_Mips_16", "2", "Mips::fixup_Mips_64", "8", "4", "0", "0", "1", "8", "1", "64", "0", "1", "8", "0xff"], "File": "MipsAsmBackend11", "Func": "applyFixup", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20540, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_probe_stack_range", "(", "rtx", "reg1", ",", "rtx", "reg2", ")", "{", "static", "int", "labelno", "=", "0", ";", "char", "loop_lab", "[", "32", "]", ";", "rtx", "xops", "[", "2", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "loop_lab", ",", "\"LPSRL\"", ",", "labelno", "++", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "loop_lab", ")", ";", "xops", "[", "0", "]", "=", "reg1", ";", "xops", "[", "1", "]", "=", "GEN_INT", "(", "-", "PROBE_INTERVAL", ")", ";", "output_asm_insn", "(", "\"addi %0,%0,%1\"", ",", "xops", ")", ";", "xops", "[", "1", "]", "=", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ";", "output_asm_insn", "(", "\"stw %1,0(%0)\"", ",", "xops", ")", ";", "xops", "[", "1", "]", "=", "reg2", ";", "if", "(", "TARGET_64BIT", ")", "output_asm_insn", "(", "\"cmpd 0,%0,%1\"", ",", "xops", ")", ";", "else", "output_asm_insn", "(", "\"cmpw 0,%0,%1\"", ",", "xops", ")", ";", "fputs", "(", "\"\\tbne 0,\"", ",", "asm_out_file", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "loop_lab", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Wrapper", "around", "the", "output_probe_stack_range", "routines", "."], "TS_V_token": ["rs6000", "0", "32", "2", "\"LPSRL\"", "0", "1", "\"addi %0,%0,%1\"", "1", "0", "\"stw %1,0(%0)\"", "1", "\"cmpd 0,%0,%1\"", "\"cmpw 0,%0,%1\"", "\"\\tbne 0,\"", "\"\""], "File": "rs60005", "Func": "output_probe_stack_range", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20541, "Length": 142, "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": ["rs6000"], "File": "rs60004", "Func": "direct_move_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20542, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emitSPUpdate", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "unsigned", "StackPtr", ",", "int64_t", "NumBytes", ",", "bool", "Is64Bit", ",", "const", "TargetInstrInfo", "&", "TII", ")", "{", "bool", "isSub", "=", "NumBytes", "<", "0", ";", "uint64_t", "Offset", "=", "isSub", "?", "-", "NumBytes", ":", "NumBytes", ";", "unsigned", "Opc", "=", "isSub", "?", "(", "(", "Offset", "<", "128", ")", "?", "(", "Is64Bit", "?", "X86", "::", "SUB64ri8", ":", "X86", "::", "SUB32ri8", ")", ":", "(", "Is64Bit", "?", "X86", "::", "SUB64ri32", ":", "X86", "::", "SUB32ri", ")", ")", ":", "(", "(", "Offset", "<", "128", ")", "?", "(", "Is64Bit", "?", "X86", "::", "ADD64ri8", ":", "X86", "::", "ADD32ri8", ")", ":", "(", "Is64Bit", "?", "X86", "::", "ADD64ri32", ":", "X86", "::", "ADD32ri", ")", ")", ";", "uint64_t", "Chunk", "=", "(", "1LL", "<<", "31", ")", "-", "1", ";", "DebugLoc", "DL", "=", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "::", "getUnknownLoc", "(", ")", ")", ";", "while", "(", "Offset", ")", "{", "uint64_t", "ThisVal", "=", "(", "Offset", ">", "Chunk", ")", "?", "Chunk", ":", "Offset", ";", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "ThisVal", ")", ";", "MI", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "Offset", "-=", "ThisVal", ";", "}", "}", ""], "natrual_language": ["Emit", "a", "series", "of", "instructions", "to", "increment", "/", "decrement", "the", "stack", "pointer", "by", "a", "constant", "value", "."], "TS_V_token": ["X86", "0", "128", "X86::SUB64ri8", "X86::SUB32ri8", "X86::SUB64ri32", "X86::SUB32ri", "128", "X86::ADD64ri8", "X86::ADD32ri8", "X86::ADD64ri32", "X86::ADD32ri", "1LL", "31", "1", "3"], "File": "X86RegisterInfo33", "Func": "emitSPUpdate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20543, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "OR1KTargetLowering", "::", "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", ",", "&", "OR1K", "::", "GPRRegClass", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "TRI", ",", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["OR1K", "OR1K", "1", "0", "0U", "OR1K::GPRRegClass"], "File": "OR1KISelLowering1", "Func": "getRegForInlineAsmConstraint", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20544, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "darwin_local_data_pic", "(", "rtx", "disp", ")", "{", "if", "(", "GET_CODE", "(", "disp", ")", "==", "MINUS", ")", "{", "if", "(", "GET_CODE", "(", "XEXP", "(", "disp", ",", "0", ")", ")", "==", "LABEL_REF", "||", "GET_CODE", "(", "XEXP", "(", "disp", ",", "0", ")", ")", "==", "SYMBOL_REF", ")", "if", "(", "GET_CODE", "(", "XEXP", "(", "disp", ",", "1", ")", ")", "==", "SYMBOL_REF", ")", "{", "const", "char", "*", "sym_name", "=", "XSTR", "(", "XEXP", "(", "disp", ",", "1", ")", ",", "0", ")", ";", "if", "(", "!", "strcmp", "(", "sym_name", ",", "\"\"", ")", ")", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Allow", "{", "LABEL", "|", "SYMBOL", "}", "_REF", "-", "SYMBOL_REF-FOR-PICBASE", "for", "Mach-O", "as", "this", "is", "used", "for", "to", "form", "addresses", "to", "local", "data", "when", "-fPIC", "is", "in", "use", "."], "TS_V_token": ["i386", "0", "0", "1", "1", "0", "\"\""], "File": "i3863", "Func": "darwin_local_data_pic", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20545, "Length": 95, "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", "(", "dst", ",", "gen_rtx_fmt_e", "(", "code", ",", "mode", ",", "src", ")", ")", ";", "if", "(", "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": "i386-expand", "Func": "ix86_expand_unary_operator", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20546, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "SystemZSelectionDAGInfo", "::", "EmitTargetCodeForMemchr", "(", "SelectionDAG", "&", "DAG", ",", "SDLoc", "DL", ",", "SDValue", "Chain", ",", "SDValue", "Src", ",", "SDValue", "Char", ",", "SDValue", "Length", ",", "MachinePointerInfo", "SrcPtrInfo", ")", "const", "{", "EVT", "PtrVT", "=", "Src", ".", "getValueType", "(", ")", ";", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "PtrVT", ",", "MVT", "::", "Other", ",", "MVT", "::", "Glue", ")", ";", "Length", "=", "DAG", ".", "getZExtOrTrunc", "(", "Length", ",", "DL", ",", "PtrVT", ")", ";", "Char", "=", "DAG", ".", "getZExtOrTrunc", "(", "Char", ",", "DL", ",", "MVT", "::", "i32", ")", ";", "Char", "=", "DAG", ".", "getNode", "(", "ISD", "::", "AND", ",", "DL", ",", "MVT", "::", "i32", ",", "Char", ",", "DAG", ".", "getConstant", "(", "255", ",", "MVT", "::", "i32", ")", ")", ";", "SDValue", "Limit", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ADD", ",", "DL", ",", "PtrVT", ",", "Src", ",", "Length", ")", ";", "SDValue", "End", "=", "DAG", ".", "getNode", "(", "SystemZISD", "::", "SEARCH_STRING", ",", "DL", ",", "VTs", ",", "Chain", ",", "Limit", ",", "Src", ",", "Char", ")", ";", "Chain", "=", "End", ".", "getValue", "(", "1", ")", ";", "SDValue", "Glue", "=", "End", ".", "getValue", "(", "2", ")", ";", "SDValue", "Ops", "[", "]", "=", "{", "End", ",", "DAG", ".", "getConstant", "(", "0", ",", "PtrVT", ")", ",", "DAG", ".", "getConstant", "(", "SystemZ", "::", "CCMASK_SRST", ",", "MVT", "::", "i32", ")", ",", "DAG", ".", "getConstant", "(", "SystemZ", "::", "CCMASK_SRST_FOUND", ",", "MVT", "::", "i32", ")", ",", "Glue", "}", ";", "VTs", "=", "DAG", ".", "getVTList", "(", "PtrVT", ",", "MVT", "::", "Glue", ")", ";", "End", "=", "DAG", ".", "getNode", "(", "SystemZISD", "::", "SELECT_CCMASK", ",", "DL", ",", "VTs", ",", "Ops", ")", ";", "return", "std", "::", "make_pair", "(", "End", ",", "Chain", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memchr", ",", "in", "cases", "where", "that", "is", "faster", "than", "a", "libcall", "."], "TS_V_token": ["SystemZ", "SystemZ", "MVT::Other", "MVT::Glue", "MVT::i32", "ISD::AND", "MVT::i32", "255", "MVT::i32", "ISD::ADD", "SystemZISD::SEARCH_STRING", "1", "2", "0", "SystemZ::CCMASK_SRST", "MVT::i32", "SystemZ::CCMASK_SRST_FOUND", "MVT::i32", "MVT::Glue", "SystemZISD::SELECT_CCMASK"], "File": "SystemZSelectionDAGInfo8", "Func": "EmitTargetCodeForMemchr", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20547, "Length": 271, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "pa_output_parallel_movb", "(", "rtx", "*", "operands", ",", "rtx_insn", "*", "insn", ")", "{", "int", "length", "=", "get_attr_length", "(", "insn", ")", ";", "if", "(", "length", "==", "4", ")", "return", "\"mov%I1b,tr %1,%0,%2\"", ";", "if", "(", "length", "==", "8", ")", "{", "if", "(", "dbr_sequence_length", "(", ")", "==", "0", ")", "{", "if", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "CONST_INT", ")", "return", "\"b %2\\n\\tldi %1,%0\"", ";", "else", "return", "\"b %2\\n\\tcopy %1,%0\"", ";", "}", "else", "{", "if", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "CONST_INT", ")", "return", "\"ldi %1,%0\\n\\tb %2\"", ";", "else", "return", "\"copy %1,%0\\n\\tb %2\"", ";", "}", "}", "if", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "CONST_INT", ")", "output_asm_insn", "(", "\"ldi %1,%0\"", ",", "operands", ")", ";", "else", "output_asm_insn", "(", "\"copy %1,%0\"", ",", "operands", ")", ";", "return", "pa_output_lbranch", "(", "operands", "[", "2", "]", ",", "insn", ",", "1", ")", ";", "}", ""], "natrual_language": ["Output", "an", "unconditional", "move", "and", "branch", "insn", "."], "TS_V_token": ["pa", "4", "\"mov%I1b,tr %1,%0,%2\"", "8", "0", "1", "\"b %2\\n\\tldi %1,%0\"", "\"b %2\\n\\tcopy %1,%0\"", "1", "\"ldi %1,%0\\n\\tb %2\"", "\"copy %1,%0\\n\\tb %2\"", "1", "\"ldi %1,%0\"", "\"copy %1,%0\"", "2", "1"], "File": "pa", "Func": "pa_output_parallel_movb", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20548, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "reMaterialize", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "unsigned", "SubIdx", ",", "const", "MachineInstr", "*", "Orig", ",", "const", "TargetRegisterInfo", "&", "TRI", ")", "const", "{", "DebugLoc", "DL", "=", "Orig", "->", "getDebugLoc", "(", ")", ";", "bool", "Clone", "=", "true", ";", "unsigned", "Opc", "=", "Orig", "->", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "default", ":", "break", ";", "case", "X86", "::", "MOV8r0", ":", "case", "X86", "::", "MOV16r0", ":", "case", "X86", "::", "MOV32r0", ":", "case", "X86", "::", "MOV64r0", ":", "{", "if", "(", "!", "isSafeToClobberEFLAGS", "(", "MBB", ",", "I", ")", ")", "{", "switch", "(", "Opc", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unreachable!\"", ")", ";", "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", "::", "MOV64ri64i32", ";", "break", ";", "}", "Clone", "=", "false", ";", "}", "break", ";", "}", "}", "if", "(", "Clone", ")", "{", "MachineInstr", "*", "MI", "=", "MBB", ".", "getParent", "(", ")", "->", "CloneMachineInstr", "(", "Orig", ")", ";", "MBB", ".", "insert", "(", "I", ",", "MI", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ")", ".", "addOperand", "(", "Orig", "->", "getOperand", "(", "0", ")", ")", ".", "addImm", "(", "0", ")", ";", "}", "MachineInstr", "*", "NewMI", "=", "prior", "(", "I", ")", ";", "NewMI", "->", "substituteRegister", "(", "Orig", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "DestReg", ",", "SubIdx", ",", "TRI", ")", ";", "}", ""], "natrual_language": ["Re-issue", "the", "specified", "'original", "'", "instruction", "at", "the", "specific", "location", "targeting", "a", "new", "destination", "register", "."], "TS_V_token": ["X86", "X86", "X86::MOV8r0", "X86::MOV16r0", "X86::MOV32r0", "X86::MOV64r0", "\"Unreachable!\"", "X86::MOV8r0", "X86::MOV8ri", "X86::MOV16r0", "X86::MOV16ri", "X86::MOV32r0", "X86::MOV32ri", "X86::MOV64r0", "X86::MOV64ri64i32", "0", "0", "0"], "File": "X86InstrInfo116", "Func": "reMaterialize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20549, "Length": 264, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "override", "{", "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", "|", "MCFixupKindInfo", "::", "FKF_IsAlignedDownTo32Bits", "}", ",", "{", "\"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": "ARMAsmBackend23", "Func": "getFixupKindInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20550, "Length": 423, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "release_scratch_register_on_entry", "(", "struct", "scratch_reg", "*", "sr", ")", "{", "if", "(", "sr", "->", "saved", ")", "{", "rtx", "addr", "=", "gen_rtx_POST_INC", "(", "Pmode", ",", "stack_pointer_rtx", ")", ";", "rtx", "insn", "=", "emit_set_insn", "(", "sr", "->", "reg", ",", "gen_frame_mem", "(", "SImode", ",", "addr", ")", ")", ";", "rtx", "x", "=", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "4", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "x", ")", ";", "}", "}", ""], "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": ["arm", "4", "1"], "File": "arm", "Func": "release_scratch_register_on_entry", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20551, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "gen_v9_scc", "(", "enum", "rtx_code", "compare_code", ",", "register", "rtx", "*", "operands", ")", "{", "rtx", "temp", ",", "op0", ",", "op1", ";", "if", "(", "!", "TARGET_ARCH64", "&&", "(", "GET_MODE", "(", "sparc_compare_op0", ")", "==", "DImode", "||", "GET_MODE", "(", "operands", "[", "0", "]", ")", "==", "DImode", ")", ")", "return", "0", ";", "op0", "=", "sparc_compare_op0", ";", "op1", "=", "sparc_compare_op1", ";", "if", "(", "TARGET_ARCH64", "&&", "GET_MODE_CLASS", "(", "GET_MODE", "(", "op0", ")", ")", "==", "MODE_INT", "&&", "op1", "==", "const0_rtx", "&&", "v9_regcmp_p", "(", "compare_code", ")", ")", "{", "if", "(", "compare_code", "==", "NE", "&&", "GET_MODE", "(", "operands", "[", "0", "]", ")", "==", "DImode", "&&", "rtx_equal_p", "(", "op0", ",", "operands", "[", "0", "]", ")", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "operands", "[", "0", "]", ",", "gen_rtx_IF_THEN_ELSE", "(", "DImode", ",", "gen_rtx_fmt_ee", "(", "compare_code", ",", "DImode", ",", "op0", ",", "const0_rtx", ")", ",", "const1_rtx", ",", "operands", "[", "0", "]", ")", ")", ")", ";", "return", "1", ";", "}", "if", "(", "reg_overlap_mentioned_p", "(", "operands", "[", "0", "]", ",", "op0", ")", ")", "{", "op0", "=", "gen_reg_rtx", "(", "GET_MODE", "(", "sparc_compare_op0", ")", ")", ";", "emit_move_insn", "(", "op0", ",", "sparc_compare_op0", ")", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "operands", "[", "0", "]", ",", "const0_rtx", ")", ")", ";", "if", "(", "GET_MODE", "(", "op0", ")", "!=", "DImode", ")", "{", "temp", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "convert_move", "(", "temp", ",", "op0", ",", "0", ")", ";", "}", "else", "temp", "=", "op0", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "operands", "[", "0", "]", ",", "gen_rtx_IF_THEN_ELSE", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", ",", "gen_rtx_fmt_ee", "(", "compare_code", ",", "DImode", ",", "temp", ",", "const0_rtx", ")", ",", "const1_rtx", ",", "operands", "[", "0", "]", ")", ")", ")", ";", "return", "1", ";", "}", "else", "{", "operands", "[", "1", "]", "=", "gen_compare_reg", "(", "compare_code", ",", "op0", ",", "op1", ")", ";", "switch", "(", "GET_MODE", "(", "operands", "[", "1", "]", ")", ")", "{", "case", "CCmode", ":", "case", "CCXmode", ":", "case", "CCFPEmode", ":", "case", "CCFPmode", ":", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "operands", "[", "0", "]", ",", "const0_rtx", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "operands", "[", "0", "]", ",", "gen_rtx_IF_THEN_ELSE", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", ",", "gen_rtx_fmt_ee", "(", "compare_code", ",", "GET_MODE", "(", "operands", "[", "1", "]", ")", ",", "operands", "[", "1", "]", ",", "const0_rtx", ")", ",", "const1_rtx", ",", "operands", "[", "0", "]", ")", ")", ")", ";", "return", "1", ";", "}", "}", ""], "natrual_language": ["This", "function", "is", "used", "for", "v9", "only", ".", "CODE", "is", "the", "code", "for", "an", "Scc", "'s", "comparison", ".", "OPERANDS", "[", "0", "]", "is", "the", "target", "of", "the", "Scc", "insn", ".", "OPERANDS", "[", "1", "]", "is", "the", "value", "we", "compare", "against", "const0_rtx", "(", "which", "has", "n't", "been", "generated", "yet", ")", ".", "This", "function", "is", "needed", "to", "turn", "(", "set", "(", "reg", ":", "SI", "110", ")", "(", "gt", "(", "reg", ":", "CCX", "100", "%", "icc", ")", "(", "const_int", "0", ")", ")", ")", "into", "(", "set", "(", "reg", ":", "SI", "110", ")", "(", "gt", ":", "DI", "(", "reg", ":", "CCX", "100", "%", "icc", ")", "(", "const_int", "0", ")", ")", ")", "IE", ":", "The", "instruction", "recognizer", "needs", "to", "see", "the", "mode", "of", "the", "comparison", "to", "find", "the", "right", "instruction", ".", "We", "could", "use", "``", "gt", ":", "DI", "''", "right", "in", "the", "define_expand", ",", "but", "leaving", "it", "out", "allows", "us", "to", "handle", "DI", ",", "SI", ",", "etc", ".", "We", "refer", "to", "the", "global", "sparc", "compare", "operands", "sparc_compare_op0", "and", "sparc_compare_op1", "."], "TS_V_token": ["sparc", "0", "0", "0", "0", "0", "0", "1", "0", "0", "0", "0", "0", "0", "1", "1", "1", "0", "0", "0", "1", "1", "0", "1"], "File": "sparc3", "Func": "gen_v9_scc", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20552, "Length": 389, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "loongarch_output_external", "(", "FILE", "*", "file", ",", "tree", "decl", ",", "const", "char", "*", "name", ")", "{", "default_elf_asm_output_external", "(", "file", ",", "decl", ",", "name", ")", ";", "if", "(", "TREE_SYMBOL_REFERENCED", "(", "DECL_ASSEMBLER_NAME", "(", "decl", ")", ")", ")", "{", "if", "(", "loongarch_in_small_data_p", "(", "decl", ")", ")", "{", "fputs", "(", "\"\\t.extern\\t\"", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "name", ")", ";", "fprintf", "(", "file", ",", "\", \"", "HOST_WIDE_INT_PRINT_DEC", "\"\\n\"", ",", "int_size_in_bytes", "(", "TREE_TYPE", "(", "decl", ")", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["Implement", "ASM_OUTPUT_EXTERNAL", "."], "TS_V_token": ["loongarch", "\"\\t.extern\\t\"", "\", \"", "\"\\n\""], "File": "loongarch", "Func": "loongarch_output_external", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20553, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "const", "SystemZInstrInfo", "*", "ZII", "=", "static_cast", "<", "const", "SystemZInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "SystemZMachineFunctionInfo", "*", "ZFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "assert", "(", "MBBI", "->", "isReturn", "(", ")", "&&", "\"Can only insert epilogue into returning blocks\"", ")", ";", "uint64_t", "StackSize", "=", "getAllocatedStackSize", "(", "MF", ")", ";", "if", "(", "ZFI", "->", "getLowSavedGPR", "(", ")", ")", "{", "--", "MBBI", ";", "unsigned", "Opcode", "=", "MBBI", "->", "getOpcode", "(", ")", ";", "if", "(", "Opcode", "!=", "SystemZ", "::", "LMG", ")", "llvm_unreachable", "(", "\"Expected to see callee-save register restore code\"", ")", ";", "unsigned", "AddrOpNo", "=", "2", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "uint64_t", "Offset", "=", "StackSize", "+", "MBBI", "->", "getOperand", "(", "AddrOpNo", "+", "1", ")", ".", "getImm", "(", ")", ";", "unsigned", "NewOpcode", "=", "ZII", "->", "getOpcodeForOffset", "(", "Opcode", ",", "Offset", ")", ";", "if", "(", "!", "NewOpcode", ")", "{", "uint64_t", "NumBytes", "=", "Offset", "-", "0x7fff8", ";", "emitIncrement", "(", "MBB", ",", "MBBI", ",", "DL", ",", "MBBI", "->", "getOperand", "(", "AddrOpNo", ")", ".", "getReg", "(", ")", ",", "NumBytes", ",", "ZII", ")", ";", "Offset", "-=", "NumBytes", ";", "NewOpcode", "=", "ZII", "->", "getOpcodeForOffset", "(", "Opcode", ",", "Offset", ")", ";", "assert", "(", "NewOpcode", "&&", "\"No restore instruction available\"", ")", ";", "}", "MBBI", "->", "setDesc", "(", "ZII", "->", "get", "(", "NewOpcode", ")", ")", ";", "MBBI", "->", "getOperand", "(", "AddrOpNo", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", "else", "if", "(", "StackSize", ")", "{", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "emitIncrement", "(", "MBB", ",", "MBBI", ",", "DL", ",", "SystemZ", "::", "R15D", ",", "StackSize", ",", "ZII", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "\"Can only insert epilogue into returning blocks\"", "SystemZ::LMG", "\"Expected to see callee-save register restore code\"", "2", "1", "0x7fff8", "\"No restore instruction available\"", "1", "SystemZ::R15D"], "File": "SystemZFrameLowering36", "Func": "emitEpilogue", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20554, "Length": 280, "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": 20555, "Length": 56, "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": "MipsSubtarget21", "Func": "initializeSubtargetDependencies", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20556, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "sh_handle_sp_switch_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", ",", "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", "(", "TREE_CODE", "(", "TREE_VALUE", "(", "args", ")", ")", "!=", "STRING_CST", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute argument not a string constant\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "an", "``", "sp_switch", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["sh", "\"%qE attribute only applies to functions\"", "\"%qE attribute argument not a string constant\""], "File": "sh", "Func": "sh_handle_sp_switch_attribute", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20557, "Length": 82, "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", ")", ";", "}", "Changed", "|=", "RevertNonLoops", "(", "MF", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "\"ARM Loops on \"", "\" ------------- \\n\"", "ARM", "ARM", "ARM"], "File": "ARMLowOverheadLoops1", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20558, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "&", "LiveRangeShrinkID", ")", ";", "addPass", "(", "createX86FixupSetCC", "(", ")", ")", ";", "addPass", "(", "createX86OptimizeLEAs", "(", ")", ")", ";", "addPass", "(", "createX86CallFrameOptimization", "(", ")", ")", ";", "addPass", "(", "createX86AvoidStoreForwardingBlocks", "(", ")", ")", ";", "}", "addPass", "(", "createX86FlagsCopyLoweringPass", "(", ")", ")", ";", "addPass", "(", "createX86WinAllocaExpander", "(", ")", ")", ";", "addPass", "(", "createSandBoxingPreRegallocPass", "(", ")", ")", ";", "}", ""], "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", "X86"], "File": "X86TargetMachine101", "Func": "addPreRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20559, "Length": 75, "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": 20560, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "getRegisterName", "(", "RegNo", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMInstPrinter18", "Func": "printRegName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20561, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "resolveFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "I", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "ARMBaseInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "int", "Off", "=", "Offset", ";", "unsigned", "i", "=", "0", ";", "assert", "(", "!", "AFI", "->", "isThumb1OnlyFunction", "(", ")", "&&", "\"This resolveFrameIndex does not support Thumb1!\"", ")", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "bool", "Done", "=", "false", ";", "if", "(", "!", "AFI", "->", "isThumbFunction", "(", ")", ")", "Done", "=", "rewriteARMFrameIndex", "(", "MI", ",", "i", ",", "BaseReg", ",", "Off", ",", "TII", ")", ";", "else", "{", "assert", "(", "AFI", "->", "isThumb2Function", "(", ")", ")", ";", "Done", "=", "rewriteT2FrameIndex", "(", "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", "ARM", "0", "\"This resolveFrameIndex does not support Thumb1!\"", "\"Instr doesn't have FrameIndex operand!\"", "ARM", "\"Unable to resolve frame index!\""], "File": "ARMBaseRegisterInfo19", "Func": "resolveFrameIndex", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20562, "Length": 207, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "const", "{", "OS", ".", "write_zeros", "(", "Count", "%", "4", ")", ";", "Count", "/=", "4", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "!=", "Count", ";", "++", "i", ")", "OS", ".", "write", "(", "\"\\x1f\\x20\\x03\\xd5\"", ",", "4", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["AArch64", "AArch64", "4", "4", "0", "\"\\x1f\\x20\\x03\\xd5\"", "4"], "File": "AArch64AsmBackend (2)1", "Func": "writeNopData", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20563, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ATTRIBUTE_UNUSED", "ix86_debug_options", "(", "void", ")", "{", "char", "*", "opts", "=", "ix86_target_string", "(", "ix86_isa_flags", ",", "ix86_isa_flags2", ",", "target_flags", ",", "ix86_target_flags", ",", "ix86_arch_string", ",", "ix86_tune_string", ",", "ix86_fpmath", ",", "true", ",", "true", ")", ";", "if", "(", "opts", ")", "{", "fprintf", "(", "stderr", ",", "\"%s\\n\\n\"", ",", "opts", ")", ";", "free", "(", "opts", ")", ";", "}", "else", "fputs", "(", "\"\\n\\n\"", ",", "stderr", ")", ";", "return", ";", "}", ""], "natrual_language": ["Function", "that", "is", "callable", "from", "the", "debugger", "to", "print", "the", "current", "options", "."], "TS_V_token": ["i386", "\"%s\\n\\n\"", "\"\\n\\n\""], "File": "i3868", "Func": "ix86_debug_options", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20564, "Length": 63, "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": 20565, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "AnalyzeArguments", "(", "CCState", "&", "State", ",", "SmallVectorImpl", "<", "CCValAssign", ">", "&", "ArgLocs", ",", "const", "SmallVectorImpl", "<", "ArgT", ">", "&", "Args", ")", "{", "static", "const", "MCPhysReg", "RegList", "[", "]", "=", "{", "SHUXI", "::", "R24", ",", "SHUXI", "::", "R25", ",", "SHUXI", "::", "R26", ",", "SHUXI", "::", "R27", ",", "SHUXI", "::", "R28", ",", "SHUXI", "::", "R29", ",", "SHUXI", "::", "R30", ",", "SHUXI", "::", "R31", "}", ";", "static", "const", "MCPhysReg", "RegList", "[", "]", "=", "{", "SHUXI", "::", "R4", ",", "SHUXI", "::", "R5", ",", "SHUXI", "::", "R6", ",", "SHUXI", "::", "R7", ",", "SHUXI", "::", "R8", "}", ";", "static", "const", "unsigned", "NbRegs", "=", "array_lengthof", "(", "RegList", ")", ";", "if", "(", "State", ".", "isVarArg", "(", ")", ")", "{", "llvm_unreachable", "(", "\"Cannot support var args\"", ")", ";", "}", "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", "(", "ArgFlags", ".", "isByVal", "(", ")", ")", "{", "State", ".", "HandleByVal", "(", "ValNo", "++", ",", "ArgVT", ",", "LocVT", ",", "LocInfo", ",", "4", ",", "4", ",", "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_SHUXI", "(", "ValNo", "++", ",", "ArgVT", ",", "LocVT", ",", "LocInfo", ",", "ArgFlags", ",", "State", ")", ";", "}", "}", "}", ""], "natrual_language": ["The", "function", "will", "invoke", "AnalyzeCallOperands", "."], "TS_V_token": ["SHUXI", "SHUXI::R24", "SHUXI::R25", "SHUXI::R26", "SHUXI::R27", "SHUXI::R28", "SHUXI::R29", "SHUXI::R30", "SHUXI::R31", "SHUXI::R4", "SHUXI::R5", "SHUXI::R6", "SHUXI::R7", "SHUXI::R8", "\"Cannot support var args\"", "4", "0", "0", "ISD::ArgFlagsTy", "4", "4", "0", "0", "SHUXI"], "File": "SHUXIISelLowering", "Func": "AnalyzeArguments", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20566, "Length": 380, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "if", "(", "PPCSubTarget", ".", "isSVR4ABI", "(", ")", "&&", "!", "PPCSubTarget", ".", "isPPC64", "(", ")", ")", "{", "return", "LowerFormalArguments_32SVR4", "(", "Chain", ",", "CallConv", ",", "isVarArg", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";", "}", "else", "{", "return", "LowerFormalArguments_Darwin_Or_64SVR4", "(", "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": "PPCISelLowering15", "Func": "LowerFormalArguments", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20567, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "*", "mingw32_gt_pch_get_address", "(", "size_t", "size", ",", "int", "fd", "ATTRIBUTE_UNUSED", ")", "{", "void", "*", "res", ";", "size", "=", "(", "size", "+", "va_granularity", "-", "1", ")", "&", "~", "(", "va_granularity", "-", "1", ")", ";", "if", "(", "size", ">", "pch_VA_max_size", ")", "return", "NULL", ";", "res", "=", "VirtualAlloc", "(", "NULL", ",", "pch_VA_max_size", ",", "MEM_RESERVE", "|", "MEM_TOP_DOWN", ",", "PAGE_NOACCESS", ")", ";", "if", "(", "!", "res", ")", "w32_error", "(", "__FUNCTION__", ",", "__FILE__", ",", "__LINE__", ",", "\"VirtualAlloc\"", ")", ";", "else", "VirtualFree", "(", "res", ",", "0", ",", "MEM_RELEASE", ")", ";", "return", "res", ";", "}", ""], "natrual_language": ["Identify", "an", "address", "that", "'s", "likely", "to", "be", "free", "in", "a", "subsequent", "invocation", "of", "the", "compiler", ".", "The", "area", "should", "be", "able", "to", "hold", "SIZE", "bytes", ".", "FD", "is", "an", "open", "file", "descriptor", "if", "the", "host", "would", "like", "to", "probe", "with", "mmap", "."], "TS_V_token": ["i386", "1", "1", "\"VirtualAlloc\"", "0"], "File": "host-mingw322", "Func": "mingw32_gt_pch_get_address", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20568, "Length": 88, "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": 20569, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "VEFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "assert", "(", "&", "MF", ".", "front", "(", ")", "==", "&", "MBB", "&&", "\"Shrink-wrapping not yet supported\"", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "VESubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "VESubtarget", ">", "(", ")", ";", "const", "VEInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "VEInstrInfo", "*", ">", "(", "Subtarget", ".", "getInstrInfo", "(", ")", ")", ";", "const", "VERegisterInfo", "&", "RegInfo", "=", "*", "static_cast", "<", "const", "VERegisterInfo", "*", ">", "(", "Subtarget", ".", "getRegisterInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", ";", "bool", "NeedsStackRealignment", "=", "RegInfo", ".", "needsStackRealignment", "(", "MF", ")", ";", "if", "(", "!", "NeedsStackRealignment", "&&", "MFI", ".", "getMaxAlign", "(", ")", ">", "getStackAlign", "(", ")", ")", "report_fatal_error", "(", "\"Function \\\"\"", "+", "Twine", "(", "MF", ".", "getName", "(", ")", ")", "+", "\"\\\" required \"", "\"stack re-alignment, but LLVM couldn't handle it \"", "\"(probably because it has a dynamic alloca).\"", ")", ";", "int", "NumBytes", "=", "(", "int", ")", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "MFI", ".", "adjustsStack", "(", ")", "&&", "hasReservedCallFrame", "(", "MF", ")", ")", "NumBytes", "+=", "MFI", ".", "getMaxCallFrameSize", "(", ")", ";", "NumBytes", "=", "Subtarget", ".", "getAdjustedFrameSize", "(", "NumBytes", ")", ";", "NumBytes", "=", "alignTo", "(", "NumBytes", ",", "MFI", ".", "getMaxAlign", "(", ")", ".", "value", "(", ")", ")", ";", "MFI", ".", "setStackSize", "(", "NumBytes", ")", ";", "emitPrologueInsns", "(", "MF", ",", "MBB", ",", "MBBI", ",", "NumBytes", ",", "true", ")", ";", "emitSPAdjustment", "(", "MF", ",", "MBB", ",", "MBBI", ",", "-", "NumBytes", ")", ";", "emitSPExtend", "(", "MF", ",", "MBB", ",", "MBBI", ",", "-", "NumBytes", ")", ";", "unsigned", "regFP", "=", "RegInfo", ".", "getDwarfRegNum", "(", "VE", "::", "SX9", ",", "true", ")", ";", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createDefCfaRegister", "(", "nullptr", ",", "regFP", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createWindowSave", "(", "nullptr", ")", ")", ";", "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": ["VE", "VE", "\"Shrink-wrapping not yet supported\"", "VE", "VE", "VE", "VE", "VE", "VE", "\"Function \\\"\"", "\"\\\" required \"", "\"stack re-alignment, but LLVM couldn't handle it \"", "\"(probably because it has a dynamic alloca).\"", "VE::SX9"], "File": "VEFrameLowering1", "Func": "emitPrologue", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20570, "Length": 346, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ARM", "::", "STR", ":", "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", "::", "t2STRi12", ":", "case", "ARM", "::", "tSpill", ":", "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", "::", "FSTD", ":", "case", "ARM", "::", "FSTS", ":", "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", ";", "}", "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::STR", "ARM::t2STRs", "1", "2", "3", "2", "0", "3", "0", "1", "0", "ARM::t2STRi12", "ARM::tSpill", "1", "2", "2", "0", "1", "0", "ARM::FSTD", "ARM::FSTS", "1", "2", "2", "0", "1", "0", "0"], "File": "ARMBaseInstrInfo31", "Func": "isStoreToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20571, "Length": 286, "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", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", "&&", "!", "(", "(", "MFI", ".", "getLocalFrameMaxAlign", "(", ")", ">", "TFI", "->", "getStackAlign", "(", ")", ")", "&&", "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": "ARMBaseRegisterInfo", "Func": "needsFrameBaseReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20572, "Length": 317, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumberOfRegisters", "(", "bool", "Vector", ")", "{", "if", "(", "Vector", ")", "{", "if", "(", "ST", "->", "hasNEON", "(", ")", ")", "return", "16", ";", "return", "0", ";", "}", "if", "(", "ST", "->", "isThumb1Only", "(", ")", ")", "return", "8", ";", "return", "13", ";", "}", ""], "natrual_language": ["\ufffd", "?", "Vector", "TTI", "begin", "\ufffd", "?"], "TS_V_token": ["ARM", "16", "0", "8", "13"], "File": "ARMTargetTransformInfo", "Func": "getNumberOfRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20573, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCFastISel", "::", "fastSelectInstruction", "(", "const", "Instruction", "*", "I", ")", "{", "switch", "(", "I", "->", "getOpcode", "(", ")", ")", "{", "case", "Instruction", "::", "Load", ":", "return", "SelectLoad", "(", "I", ")", ";", "case", "Instruction", "::", "Store", ":", "return", "SelectStore", "(", "I", ")", ";", "case", "Instruction", "::", "Br", ":", "return", "SelectBranch", "(", "I", ")", ";", "case", "Instruction", "::", "IndirectBr", ":", "return", "SelectIndirectBr", "(", "I", ")", ";", "case", "Instruction", "::", "FPExt", ":", "return", "SelectFPExt", "(", "I", ")", ";", "case", "Instruction", "::", "FPTrunc", ":", "return", "SelectFPTrunc", "(", "I", ")", ";", "case", "Instruction", "::", "SIToFP", ":", "return", "SelectIToFP", "(", "I", ",", "true", ")", ";", "case", "Instruction", "::", "UIToFP", ":", "return", "SelectIToFP", "(", "I", ",", "false", ")", ";", "case", "Instruction", "::", "FPToSI", ":", "return", "SelectFPToI", "(", "I", ",", "true", ")", ";", "case", "Instruction", "::", "FPToUI", ":", "return", "SelectFPToI", "(", "I", ",", "false", ")", ";", "case", "Instruction", "::", "Add", ":", "return", "SelectBinaryIntOp", "(", "I", ",", "ISD", "::", "ADD", ")", ";", "case", "Instruction", "::", "Or", ":", "return", "SelectBinaryIntOp", "(", "I", ",", "ISD", "::", "OR", ")", ";", "case", "Instruction", "::", "Sub", ":", "return", "SelectBinaryIntOp", "(", "I", ",", "ISD", "::", "SUB", ")", ";", "case", "Instruction", "::", "Call", ":", "if", "(", "dyn_cast", "<", "IntrinsicInst", ">", "(", "I", ")", ")", "return", "false", ";", "return", "SelectCall", "(", "I", ")", ";", "case", "Instruction", "::", "Ret", ":", "return", "SelectRet", "(", "I", ")", ";", "case", "Instruction", "::", "Trunc", ":", "return", "SelectTrunc", "(", "I", ")", ";", "case", "Instruction", "::", "ZExt", ":", "case", "Instruction", "::", "SExt", ":", "return", "SelectIntExt", "(", "I", ")", ";", "default", ":", "break", ";", "}", "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": ["PowerPC", "PPC", "ISD::ADD", "ISD::OR", "ISD::SUB"], "File": "PPCFastISel55", "Func": "fastSelectInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20574, "Length": 254, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSymbol", "*", "ARM64MCInstLower", "::", "GetExternalSymbolSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "return", "Printer", ".", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "MCSymbol", "for", "the", "specified", "ExternalSymbol", "."], "TS_V_token": ["ARM64", "ARM64"], "File": "ARM64MCInstLower", "Func": "GetExternalSymbolSymbol", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20575, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "SparcDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "unsigned", "GlobalBaseReg", "=", "Subtarget", "->", "getInstrInfo", "(", ")", "->", "getGlobalBaseReg", "(", "MF", ")", ";", "return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "TLI", "->", "getPointerTy", "(", "CurDAG", "->", "getDataLayout", "(", ")", ")", ")", ".", "getNode", "(", ")", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcISelDAGToDAG (2)", "Func": "getGlobalBaseReg", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20576, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "SmallDataSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".sdata\"", ",", "ELF", "::", "SHT_PROGBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", "|", "ELF", "::", "SHF_MIPS_GPREL", ")", ";", "SmallBSSSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".sbss\"", ",", "ELF", "::", "SHT_NOBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", "|", "ELF", "::", "SHF_MIPS_GPREL", ")", ";", "this", "->", "TM", "=", "&", "static_cast", "<", "const", "MipsTargetMachine", "&", ">", "(", "TM", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["Mips", "Mips", "\".sdata\"", "\".sbss\"", "Mips"], "File": "MipsTargetObjectFile21", "Func": "Initialize", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20577, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "mt_asm_output_opcode", "(", "FILE", "*", "f", "ATTRIBUTE_UNUSED", ",", "const", "char", "*", "ptr", ")", "{", "if", "(", "mt_nops_required", ")", "fprintf", "(", "f", ",", "\";# need %d nops because of %s\\n\\t\"", ",", "mt_nops_required", ",", "mt_nop_reasons", ")", ";", "while", "(", "mt_nops_required", ")", "{", "fprintf", "(", "f", ",", "\"nop\\n\\t\"", ")", ";", "--", "mt_nops_required", ";", "}", "return", "ptr", ";", "}", ""], "natrual_language": ["Implement", "ASM_OUTPUT_OPCODE", "."], "TS_V_token": ["mt", "\";# need %d nops because of %s\\n\\t\"", "\"nop\\n\\t\""], "File": "mt", "Func": "mt_asm_output_opcode", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20578, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "unsigned", "int", "execute", "(", "function", "*", ")", "{", "execute_tag_collision_avoidance", "(", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Main", "entry", "point", "for", "this", "pass", "."], "TS_V_token": ["aarch64", "0"], "File": "falkor-tag-collision-avoidance", "Func": "execute", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20579, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isCollapsed", "(", ")", "const", "{", "return", "Instrs", ".", "empty", "(", ")", ";", "}", ""], "natrual_language": ["A", "collapsed", "DomainValue", "has", "no", "instructions", "to", "twiddle", "-", "it", "simply", "keeps", "track", "of", "the", "domains", "where", "the", "registers", "are", "already", "available", "."], "TS_V_token": ["X86"], "File": "SSEDomainFix", "Func": "isCollapsed", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20580, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "mips_merge_decl_attributes", "(", "tree", "olddecl", ",", "tree", "newdecl", ")", "{", "unsigned", "int", "diff", ";", "diff", "=", "(", "mips_get_compress_on_flags", "(", "DECL_ATTRIBUTES", "(", "olddecl", ")", ")", "^", "mips_get_compress_on_flags", "(", "DECL_ATTRIBUTES", "(", "newdecl", ")", ")", ")", ";", "if", "(", "diff", ")", "error", "(", "\"%qE redeclared with conflicting %qs attributes\"", ",", "DECL_NAME", "(", "newdecl", ")", ",", "mips_get_compress_on_name", "(", "diff", ")", ")", ";", "diff", "=", "(", "mips_get_compress_off_flags", "(", "DECL_ATTRIBUTES", "(", "olddecl", ")", ")", "^", "mips_get_compress_off_flags", "(", "DECL_ATTRIBUTES", "(", "newdecl", ")", ")", ")", ";", "if", "(", "diff", ")", "error", "(", "\"%qE redeclared with conflicting %qs attributes\"", ",", "DECL_NAME", "(", "newdecl", ")", ",", "mips_get_compress_off_name", "(", "diff", ")", ")", ";", "return", "merge_attributes", "(", "DECL_ATTRIBUTES", "(", "olddecl", ")", ",", "DECL_ATTRIBUTES", "(", "newdecl", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MERGE_DECL_ATTRIBUTES", "."], "TS_V_token": ["mips", "\"%qE redeclared with conflicting %qs attributes\"", "\"%qE redeclared with conflicting %qs attributes\""], "File": "mips", "Func": "mips_merge_decl_attributes", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20581, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_output_dwarf_dtprel", "(", "FILE", "*", "file", ",", "int", "size", ",", "rtx", "x", ")", "{", "gcc_assert", "(", "size", "==", "4", ")", ";", "fputs", "(", "\"\\t.word\\t\"", ",", "file", ")", ";", "output_addr_const", "(", "file", ",", "x", ")", ";", "fputs", "(", "\"(tlsldo)\"", ",", "file", ")", ";", "}", ""], "natrual_language": ["ARM", "implementation", "of", "TARGET_ASM_OUTPUT_DWARF_DTPREL", "."], "TS_V_token": ["arm", "4", "\"\\t.word\\t\"", "\"(tlsldo)\""], "File": "arm", "Func": "arm_output_dwarf_dtprel", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20582, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "gimple", "*", "fold", "(", "gimple_folder", "&", "f", ")", "const", "override", "{", "if", "(", "tree", "amount", "=", "uniform_integer_cst_p", "(", "gimple_call_arg", "(", "f", ".", "call", ",", "2", ")", ")", ")", "{", "if", "(", "wi", "::", "to_widest", "(", "amount", ")", ">=", "0", ")", "{", "function_instance", "instance", "(", "\"svlsl\"", ",", "functions", "::", "svlsl", ",", "shapes", "::", "binary_uint_opt_n", ",", "MODE_n", ",", "f", ".", "type_suffix_ids", ",", "f", ".", "pred", ")", ";", "gcall", "*", "call", "=", "as_a", "<", "gcall", "*", ">", "(", "f", ".", "redirect_call", "(", "instance", ")", ")", ";", "gimple_call_set_arg", "(", "call", ",", "2", ",", "amount", ")", ";", "return", "call", ";", "}", "int", "element_bits", "=", "f", ".", "type_suffix", "(", "0", ")", ".", "element_bits", ";", "if", "(", "wi", "::", "to_widest", "(", "amount", ")", ">=", "-", "element_bits", ")", "{", "amount", "=", "wide_int_to_tree", "(", "TREE_TYPE", "(", "amount", ")", ",", "-", "wi", "::", "to_wide", "(", "amount", ")", ")", ";", "function_instance", "instance", "(", "\"svrshr\"", ",", "functions", "::", "svrshr", ",", "shapes", "::", "shift_right_imm", ",", "MODE_n", ",", "f", ".", "type_suffix_ids", ",", "f", ".", "pred", ")", ";", "gcall", "*", "call", "=", "as_a", "<", "gcall", "*", ">", "(", "f", ".", "redirect_call", "(", "instance", ")", ")", ";", "gimple_call_set_arg", "(", "call", ",", "2", ",", "amount", ")", ";", "return", "call", ";", "}", "}", "return", "NULL", ";", "}", ""], "natrual_language": ["Try", "to", "fold", "the", "call", ".", "Return", "the", "new", "statement", "on", "success", "and", "null", "on", "failure", "."], "TS_V_token": ["aarch64", "2", "0", "\"svlsl\"", "2", "0", "\"svrshr\"", "2"], "File": "aarch64-sve-builtins-sve23", "Func": "fold", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20583, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "DarwinARMAsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ")", "const", "{", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "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": ["ARM", "ARM", "\"Invalid fixup offset!\"", "0", "8", "0xff"], "File": "ARMAsmBackend13", "Func": "applyFixup", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20584, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "find_post_update_rtx", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "mem_rtx", ";", "int", "i", ",", "len", ";", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_LOAD_MULTIPLE", ":", "case", "TYPE_STORE_MULTIPLE", ":", "len", "=", "parallel_elements", "(", "insn", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "len", ";", "++", "i", ")", "{", "rtx", "curr_insn", "=", "parallel_element", "(", "insn", ",", "i", ")", ";", "if", "(", "GET_CODE", "(", "curr_insn", ")", "==", "SET", "&&", "REG_P", "(", "SET_DEST", "(", "curr_insn", ")", ")", "&&", "GET_CODE", "(", "SET_SRC", "(", "curr_insn", ")", ")", "==", "PLUS", ")", "return", "i", ";", "}", "return", "-", "1", ";", "case", "TYPE_LOAD", ":", "case", "TYPE_FLOAD", ":", "case", "TYPE_STORE", ":", "case", "TYPE_FSTORE", ":", "mem_rtx", "=", "extract_mem_rtx", "(", "insn", ")", ";", "switch", "(", "GET_CODE", "(", "XEXP", "(", "mem_rtx", ",", "0", ")", ")", ")", "{", "case", "POST_INC", ":", "case", "POST_DEC", ":", "case", "POST_MODIFY", ":", "return", "0", ";", "default", ":", "return", "-", "1", ";", "}", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Find", "the", "post", "update", "rtx", "in", "INSN", ".", "If", "INSN", "is", "a", "load/store", "multiple", "insn", ",", "the", "function", "returns", "the", "vector", "index", "of", "its", "parallel", "part", ".", "If", "INSN", "is", "a", "single", "load/store", "insn", ",", "the", "function", "returns", "0", ".", "If", "INSN", "is", "not", "a", "post-", "update", "insn", ",", "the", "function", "returns", "-1", "."], "TS_V_token": ["nds32", "0", "1", "0", "0", "1"], "File": "nds32-utils", "Func": "find_post_update_rtx", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20585, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_builtin_valid_without_lhs", "(", "enum", "rs6000_builtins", "fn_code", ")", "{", "switch", "(", "fn_code", ")", "{", "case", "ALTIVEC_BUILTIN_STVX_V16QI", ":", "case", "ALTIVEC_BUILTIN_STVX_V8HI", ":", "case", "ALTIVEC_BUILTIN_STVX_V4SI", ":", "case", "ALTIVEC_BUILTIN_STVX_V4SF", ":", "case", "ALTIVEC_BUILTIN_STVX_V2DI", ":", "case", "ALTIVEC_BUILTIN_STVX_V2DF", ":", "case", "VSX_BUILTIN_STXVW4X_V16QI", ":", "case", "VSX_BUILTIN_STXVW4X_V8HI", ":", "case", "VSX_BUILTIN_STXVW4X_V4SF", ":", "case", "VSX_BUILTIN_STXVW4X_V4SI", ":", "case", "VSX_BUILTIN_STXVD2X_V2DF", ":", "case", "VSX_BUILTIN_STXVD2X_V2DI", ":", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Helper", "function", "to", "sort", "out", "which", "built-ins", "may", "be", "valid", "without", "having", "a", "LHS", "."], "TS_V_token": ["rs6000"], "File": "rs6000-call", "Func": "rs6000_builtin_valid_without_lhs", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20586, "Length": 60, "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": 20587, "Length": 411, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "EvexToVexInstPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "TII", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "X86Subtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "ST", ".", "hasAVX512", "(", ")", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "Changed", "|=", "CompressEvexToVexImpl", "(", "MI", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86EvexToVex", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20588, "Length": 85, "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": 20589, "Length": 196, "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": 20590, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLittleEndian", "(", ")", "const", "{", "return", "isLittle", ";", "}", ""], "natrual_language": ["Tests", "whether", "the", "target", "triple", "is", "little", "endian", "."], "TS_V_token": ["Cpu0"], "File": "Cpu0TargetMachine", "Func": "isLittleEndian", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20591, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "ARM64MCExpr", "::", "getVariantKindName", "(", ")", "const", "{", "switch", "(", "static_cast", "<", "uint32_t", ">", "(", "getKind", "(", ")", ")", ")", "{", "case", "VK_CALL", ":", "return", "\"\"", ";", "case", "VK_LO12", ":", "return", "\":lo12:\"", ";", "case", "VK_ABS_G3", ":", "return", "\":abs_g3:\"", ";", "case", "VK_ABS_G2", ":", "return", "\":abs_g2:\"", ";", "case", "VK_ABS_G2_S", ":", "return", "\":abs_g2_s:\"", ";", "case", "VK_ABS_G2_NC", ":", "return", "\":abs_g2_nc:\"", ";", "case", "VK_ABS_G1", ":", "return", "\":abs_g1:\"", ";", "case", "VK_ABS_G1_S", ":", "return", "\":abs_g1_s:\"", ";", "case", "VK_ABS_G1_NC", ":", "return", "\":abs_g1_nc:\"", ";", "case", "VK_ABS_G0", ":", "return", "\":abs_g0:\"", ";", "case", "VK_ABS_G0_S", ":", "return", "\":abs_g0_s:\"", ";", "case", "VK_ABS_G0_NC", ":", "return", "\":abs_g0_nc:\"", ";", "case", "VK_DTPREL_G2", ":", "return", "\":dtprel_g2:\"", ";", "case", "VK_DTPREL_G1", ":", "return", "\":dtprel_g1:\"", ";", "case", "VK_DTPREL_G1_NC", ":", "return", "\":dtprel_g1_nc:\"", ";", "case", "VK_DTPREL_G0", ":", "return", "\":dtprel_g0:\"", ";", "case", "VK_DTPREL_G0_NC", ":", "return", "\":dtprel_g0_nc:\"", ";", "case", "VK_DTPREL_LO12", ":", "return", "\":dtprel_lo12:\"", ";", "case", "VK_DTPREL_LO12_NC", ":", "return", "\":dtprel_lo12_nc:\"", ";", "case", "VK_TPREL_G2", ":", "return", "\":tprel_g2:\"", ";", "case", "VK_TPREL_G1", ":", "return", "\":tprel_g1:\"", ";", "case", "VK_TPREL_G1_NC", ":", "return", "\":tprel_g1_nc:\"", ";", "case", "VK_TPREL_G0", ":", "return", "\":tprel_g0:\"", ";", "case", "VK_TPREL_G0_NC", ":", "return", "\":tprel_g0_nc:\"", ";", "case", "VK_TPREL_LO12", ":", "return", "\":tprel_lo12:\"", ";", "case", "VK_TPREL_LO12_NC", ":", "return", "\":tprel_lo12_nc:\"", ";", "case", "VK_TLSDESC_LO12", ":", "return", "\":tlsdesc_lo12:\"", ";", "case", "VK_ABS_PAGE", ":", "return", "\"\"", ";", "case", "VK_GOT_PAGE", ":", "return", "\":got:\"", ";", "case", "VK_GOT_LO12", ":", "return", "\":got_lo12:\"", ";", "case", "VK_GOTTPREL_PAGE", ":", "return", "\":gottprel:\"", ";", "case", "VK_GOTTPREL_LO12_NC", ":", "return", "\":gottprel_lo12:\"", ";", "case", "VK_GOTTPREL_G1", ":", "return", "\":gottprel_g1:\"", ";", "case", "VK_GOTTPREL_G0_NC", ":", "return", "\":gottprel_g0_nc:\"", ";", "case", "VK_TLSDESC", ":", "return", "\"\"", ";", "case", "VK_TLSDESC_PAGE", ":", "return", "\":tlsdesc:\"", ";", "default", ":", "llvm_unreachable", "(", "\"Invalid ELF symbol kind\"", ")", ";", "}", "}", ""], "natrual_language": ["Convert", "the", "variant", "kind", "into", "an", "ELF-appropriate", "modifier", "(", "e.g", "."], "TS_V_token": ["ARM64", "ARM64", "\"\"", "\":lo12:\"", "\":abs_g3:\"", "\":abs_g2:\"", "\":abs_g2_s:\"", "\":abs_g2_nc:\"", "\":abs_g1:\"", "\":abs_g1_s:\"", "\":abs_g1_nc:\"", "\":abs_g0:\"", "\":abs_g0_s:\"", "\":abs_g0_nc:\"", "\":dtprel_g2:\"", "\":dtprel_g1:\"", "\":dtprel_g1_nc:\"", "\":dtprel_g0:\"", "\":dtprel_g0_nc:\"", "\":dtprel_lo12:\"", "\":dtprel_lo12_nc:\"", "\":tprel_g2:\"", "\":tprel_g1:\"", "\":tprel_g1_nc:\"", "\":tprel_g0:\"", "\":tprel_g0_nc:\"", "\":tprel_lo12:\"", "\":tprel_lo12_nc:\"", "\":tlsdesc_lo12:\"", "\"\"", "\":got:\"", "\":got_lo12:\"", "\":gottprel:\"", "\":gottprel_lo12:\"", "\":gottprel_g1:\"", "\":gottprel_g0_nc:\"", "\"\"", "\":tlsdesc:\"", "\"Invalid ELF symbol kind\""], "File": "ARM64MCExpr", "Func": "getVariantKindName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20592, "Length": 246, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emit_fusion_addis", "(", "rtx", "target", ",", "rtx", "addis_value", ",", "const", "char", "*", "comment", ",", "const", "char", "*", "mode_name", ")", "{", "rtx", "fuse_ops", "[", "10", "]", ";", "char", "insn_template", "[", "80", "]", ";", "const", "char", "*", "addis_str", "=", "NULL", ";", "const", "char", "*", "comment_str", "=", "ASM_COMMENT_START", ";", "if", "(", "*", "comment_str", "==", "' '", ")", "comment_str", "++", ";", "fuse_ops", "[", "0", "]", "=", "target", ";", "if", "(", "satisfies_constraint_L", "(", "addis_value", ")", ")", "{", "fuse_ops", "[", "1", "]", "=", "addis_value", ";", "addis_str", "=", "\"lis %0,%v1\"", ";", "}", "else", "if", "(", "GET_CODE", "(", "addis_value", ")", "==", "PLUS", ")", "{", "rtx", "op0", "=", "XEXP", "(", "addis_value", ",", "0", ")", ";", "rtx", "op1", "=", "XEXP", "(", "addis_value", ",", "1", ")", ";", "if", "(", "REG_P", "(", "op0", ")", "&&", "CONST_INT_P", "(", "op1", ")", "&&", "satisfies_constraint_L", "(", "op1", ")", ")", "{", "fuse_ops", "[", "1", "]", "=", "op0", ";", "fuse_ops", "[", "2", "]", "=", "op1", ";", "addis_str", "=", "\"addis %0,%1,%v2\"", ";", "}", "}", "else", "if", "(", "GET_CODE", "(", "addis_value", ")", "==", "HIGH", ")", "{", "rtx", "value", "=", "XEXP", "(", "addis_value", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "value", ")", "==", "UNSPEC", "&&", "XINT", "(", "value", ",", "1", ")", "==", "UNSPEC_TOCREL", ")", "{", "fuse_ops", "[", "1", "]", "=", "XVECEXP", "(", "value", ",", "0", ",", "0", ")", ";", "fuse_ops", "[", "2", "]", "=", "XVECEXP", "(", "value", ",", "0", ",", "1", ")", ";", "if", "(", "TARGET_ELF", ")", "addis_str", "=", "\"addis %0,%2,%1@toc@ha\"", ";", "else", "if", "(", "TARGET_XCOFF", ")", "addis_str", "=", "\"addis %0,%1@u(%2)\"", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "value", ")", "==", "PLUS", ")", "{", "rtx", "op0", "=", "XEXP", "(", "value", ",", "0", ")", ";", "rtx", "op1", "=", "XEXP", "(", "value", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "op0", ")", "==", "UNSPEC", "&&", "XINT", "(", "op0", ",", "1", ")", "==", "UNSPEC_TOCREL", "&&", "CONST_INT_P", "(", "op1", ")", ")", "{", "fuse_ops", "[", "1", "]", "=", "XVECEXP", "(", "op0", ",", "0", ",", "0", ")", ";", "fuse_ops", "[", "2", "]", "=", "XVECEXP", "(", "op0", ",", "0", ",", "1", ")", ";", "fuse_ops", "[", "3", "]", "=", "op1", ";", "if", "(", "TARGET_ELF", ")", "addis_str", "=", "\"addis %0,%2,%1+%3@toc@ha\"", ";", "else", "if", "(", "TARGET_XCOFF", ")", "addis_str", "=", "\"addis %0,%1+%3@u(%2)\"", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "if", "(", "satisfies_constraint_L", "(", "value", ")", ")", "{", "fuse_ops", "[", "1", "]", "=", "value", ";", "addis_str", "=", "\"lis %0,%v1\"", ";", "}", "else", "if", "(", "TARGET_ELF", "&&", "!", "TARGET_POWERPC64", "&&", "CONSTANT_P", "(", "value", ")", ")", "{", "fuse_ops", "[", "1", "]", "=", "value", ";", "addis_str", "=", "\"lis %0,%1@ha\"", ";", "}", "}", "if", "(", "!", "addis_str", ")", "fatal_insn", "(", "\"Could not generate addis value for fusion\"", ",", "addis_value", ")", ";", "sprintf", "(", "insn_template", ",", "\"%s\\t\\t%s %s, type %s\"", ",", "addis_str", ",", "comment_str", ",", "comment", ",", "mode_name", ")", ";", "output_asm_insn", "(", "insn_template", ",", "fuse_ops", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "addis", "instruction", "that", "will", "be", "part", "of", "a", "fused", "instruction", "sequence", "."], "TS_V_token": ["powerpcspe", "10", "80", "0", "1", "\"lis %0,%v1\"", "0", "1", "1", "2", "\"addis %0,%1,%v2\"", "0", "1", "1", "0", "0", "2", "0", "1", "\"addis %0,%2,%1@toc@ha\"", "\"addis %0,%1@u(%2)\"", "0", "1", "1", "1", "0", "0", "2", "0", "1", "3", "\"addis %0,%2,%1+%3@toc@ha\"", "\"addis %0,%1+%3@u(%2)\"", "1", "\"lis %0,%v1\"", "1", "\"lis %0,%1@ha\"", "\"Could not generate addis value for fusion\"", "\"%s\\t\\t%s %s, type %s\""], "File": "powerpcspe", "Func": "emit_fusion_addis", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20593, "Length": 440, "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": 20594, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64BranchTargets", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "!", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", "->", "branchTargetEnforcement", "(", ")", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** AArch64 Branch Targets **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "SmallPtrSet", "<", "MachineBasicBlock", "*", ",", "8", ">", "JumpTableTargets", ";", "if", "(", "auto", "*", "JTI", "=", "MF", ".", "getJumpTableInfo", "(", ")", ")", "for", "(", "auto", "&", "JTE", ":", "JTI", "->", "getJumpTables", "(", ")", ")", "for", "(", "auto", "*", "MBB", ":", "JTE", ".", "MBBs", ")", "JumpTableTargets", ".", "insert", "(", "MBB", ")", ";", "bool", "MadeChange", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "bool", "CouldCall", "=", "false", ",", "CouldJump", "=", "false", ";", "if", "(", "&", "MBB", "==", "&", "*", "MF", ".", "begin", "(", ")", "&&", "(", "F", ".", "hasAddressTaken", "(", ")", "||", "!", "F", ".", "hasLocalLinkage", "(", ")", ")", ")", "CouldCall", "=", "true", ";", "if", "(", "MBB", ".", "hasAddressTaken", "(", ")", "||", "JumpTableTargets", ".", "count", "(", "&", "MBB", ")", ")", "CouldJump", "=", "true", ";", "if", "(", "CouldCall", "||", "CouldJump", ")", "{", "addBTI", "(", "MBB", ",", "CouldCall", ",", "CouldJump", ")", ";", "MadeChange", "=", "true", ";", "}", "}", "return", "MadeChange", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "\"********** AArch64 Branch Targets **********\\n\"", "\"********** Function: \"", "8"], "File": "AArch64BranchTargets9", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20595, "Length": 210, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "relaxInstruction", "(", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "override", "{", "llvm_unreachable", "(", "\"relaxInstruction() unimplemented\"", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["PowerPC", "\"relaxInstruction() unimplemented\""], "File": "PPCAsmBackend15", "Func": "relaxInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20596, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "mips_seq_time", "(", "struct", "mips_sim", "*", "state", ",", "rtx_insn", "*", "seq", ")", "{", "mips_sim_reset", "(", "state", ")", ";", "for", "(", "rtx_insn", "*", "insn", "=", "seq", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "mips_sim_wait_insn", "(", "state", ",", "insn", ")", ";", "mips_sim_issue_insn", "(", "state", ",", "insn", ")", ";", "}", "return", "state", "->", "time", ";", "}", ""], "natrual_language": ["Use", "simulator", "state", "STATE", "to", "calculate", "the", "execution", "time", "of", "instruction", "sequence", "SEQ", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_seq_time", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20597, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "AArch64TTIImpl", "::", "getArithmeticReductionCost", "(", "unsigned", "Opcode", ",", "VectorType", "*", "ValTy", ",", "bool", "IsPairwiseForm", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "if", "(", "isa", "<", "ScalableVectorType", ">", "(", "ValTy", ")", ")", "return", "getArithmeticReductionCostSVE", "(", "Opcode", ",", "ValTy", ",", "IsPairwiseForm", ",", "CostKind", ")", ";", "if", "(", "IsPairwiseForm", ")", "return", "BaseT", "::", "getArithmeticReductionCost", "(", "Opcode", ",", "ValTy", ",", "IsPairwiseForm", ",", "CostKind", ")", ";", "std", "::", "pair", "<", "InstructionCost", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "ValTy", ")", ";", "MVT", "MTy", "=", "LT", ".", "second", ";", "int", "ISD", "=", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", ";", "assert", "(", "ISD", "&&", "\"Invalid opcode\"", ")", ";", "static", "const", "CostTblEntry", "CostTblNoPairwise", "[", "]", "{", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v8i8", ",", "1", "}", ",", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v16i8", ",", "1", "}", ",", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v4i16", ",", "1", "}", ",", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v8i16", ",", "1", "}", ",", "{", "ISD", "::", "ADD", ",", "MVT", "::", "v4i32", ",", "1", "}", ",", "}", ";", "if", "(", "const", "auto", "*", "Entry", "=", "CostTableLookup", "(", "CostTblNoPairwise", ",", "ISD", ",", "MTy", ")", ")", "return", "LT", ".", "first", "*", "Entry", "->", "Cost", ";", "return", "BaseT", "::", "getArithmeticReductionCost", "(", "Opcode", ",", "ValTy", ",", "IsPairwiseForm", ",", "CostKind", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "vector", "reduction", "intrinsics", "."], "TS_V_token": ["AArch64", "AArch64", "\"Invalid opcode\"", "ISD::ADD", "MVT::v8i8", "1", "ISD::ADD", "MVT::v16i8", "1", "ISD::ADD", "MVT::v4i16", "1", "ISD::ADD", "MVT::v8i16", "1", "ISD::ADD", "MVT::v4i32", "1"], "File": "AArch64TargetTransformInfo27", "Func": "getArithmeticReductionCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20598, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "int", "rs6000_secondary_reload_toc_costs", "(", "addr_mask_type", "addr_mask", ")", "{", "int", "ret", ";", "if", "(", "TARGET_CMODEL", "!=", "CMODEL_SMALL", ")", "ret", "=", "(", "(", "addr_mask", "&", "RELOAD_REG_OFFSET", ")", "==", "0", ")", "?", "1", ":", "2", ";", "else", "ret", "=", "(", "TARGET_MINIMAL_TOC", ")", "?", "6", ":", "3", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "return", "the", "cost", "of", "adding", "a", "TOC", "entry", "address", "."], "TS_V_token": ["rs6000", "0", "1", "2", "6", "3"], "File": "rs6000", "Func": "rs6000_secondary_reload_toc_costs", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20599, "Length": 49, "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": 20600, "Length": 35, "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": ["ARM"], "File": "ARMAsmParser (2)", "Func": "getEndLoc", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20601, "Length": 11, "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": 20602, "Length": 293, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isBlockAddress", "(", ")", "const", "{", "return", "Kind", "==", "CSKYCP", "::", "CPBlockAddress", ";", "}", ""], "natrual_language": ["isBlockAddress", "-", "Tests", "if", "this", "is", "a", "MO_BlockAddress", "operand", "."], "TS_V_token": ["CSKY", "CSKYCP::CPBlockAddress"], "File": "CSKYConstantPoolValue", "Func": "isBlockAddress", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20603, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "ia64_return_addr_rtx", "(", "HOST_WIDE_INT", "count", ",", "rtx", "frame", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "count", "!=", "0", ")", "return", "NULL", ";", "return", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "const0_rtx", ")", ",", "UNSPEC_RET_ADDR", ")", ";", "}", ""], "natrual_language": ["Return", "the", "magic", "cookie", "that", "we", "use", "to", "hold", "the", "return", "address", "during", "early", "compilation", "."], "TS_V_token": ["ia64", "0", "1"], "File": "ia64", "Func": "ia64_return_addr_rtx", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20604, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "getPartialRegUpdateClearance", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "OpNum", "!=", "0", "||", "!", "hasPartialRegUpdate", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", "return", "0", ";", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "0", ")", ";", "unsigned", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "Reg", ")", ")", "{", "if", "(", "MO", ".", "readsReg", "(", ")", "||", "MI", "->", "readsVirtualRegister", "(", "Reg", ")", ")", "return", "0", ";", "}", "else", "{", "if", "(", "MI", "->", "readsRegister", "(", "Reg", ",", "TRI", ")", ")", "return", "0", ";", "}", "return", "16", ";", "}", ""], "natrual_language": ["Inform", "the", "BreakFalseDeps", "pass", "how", "many", "idle", "instructions", "we", "would", "like", "before", "a", "partial", "register", "update", "."], "TS_V_token": ["X86", "X86", "0", "0", "0", "0", "0", "16"], "File": "X86InstrInfo (2)", "Func": "getPartialRegUpdateClearance", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20605, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "RegisterBankInfo", "::", "InstructionMapping", "AArch64RegisterBankInfo", "::", "getInstrMapping", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "RegisterBankInfo", "::", "InstructionMapping", "Mapping", "=", "getInstrMappingImpl", "(", "MI", ")", ";", "if", "(", "Mapping", ".", "isValid", "(", ")", ")", "return", "Mapping", ";", "LLT", "Ty", "=", "MI", ".", "getType", "(", ")", ";", "unsigned", "BankID", ";", "if", "(", "Ty", ".", "isVector", "(", ")", ")", "BankID", "=", "AArch64", "::", "FPRRegBankID", ";", "else", "BankID", "=", "AArch64", "::", "GPRRegBankID", ";", "Mapping", "=", "InstructionMapping", "{", "1", ",", "1", ",", "MI", ".", "getNumOperands", "(", ")", "}", ";", "int", "Size", "=", "Ty", ".", "isSized", "(", ")", "?", "Ty", ".", "getSizeInBits", "(", ")", ":", "0", ";", "for", "(", "unsigned", "Idx", "=", "0", ";", "Idx", "<", "MI", ".", "getNumOperands", "(", ")", ";", "++", "Idx", ")", "Mapping", ".", "setOperandMapping", "(", "Idx", ",", "Size", ",", "getRegBank", "(", "BankID", ")", ")", ";", "return", "Mapping", ";", "}", ""], "natrual_language": ["Get", "the", "mapping", "of", "the", "different", "operands", "of", "MI", "on", "the", "register", "bank", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::FPRRegBankID", "AArch64::GPRRegBankID", "1", "1", "0", "0"], "File": "AArch64RegisterBankInfo32", "Func": "getInstrMapping", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20606, "Length": 136, "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": 20607, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mep_store_data_bypass_1", "(", "rtx_insn", "*", "prev", ",", "rtx", "pat", ")", "{", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "XVECLEN", "(", "pat", ",", "0", ")", ";", "i", "++", ")", "if", "(", "mep_store_data_bypass_p", "(", "prev", ",", "as_a", "<", "rtx_insn", "*", ">", "(", "XVECEXP", "(", "pat", ",", "0", ",", "i", ")", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", "if", "(", "GET_CODE", "(", "pat", ")", "!=", "SET", "||", "GET_CODE", "(", "SET_DEST", "(", "pat", ")", ")", "!=", "MEM", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "SET_SRC", "(", "pat", ")", ")", "==", "UNSPEC", ")", "{", "rtx", "src", ";", "int", "i", ";", "src", "=", "SET_SRC", "(", "pat", ")", ";", "for", "(", "i", "=", "1", ";", "i", "<", "XVECLEN", "(", "src", ",", "0", ")", ";", "i", "++", ")", "if", "(", "mep_store_find_set", "(", "XVECEXP", "(", "src", ",", "0", ",", "i", ")", ",", "prev", ")", ")", "return", "false", ";", "return", "true", ";", "}", "return", "!", "mep_store_find_set", "(", "SET_DEST", "(", "pat", ")", ",", "prev", ")", ";", "}", ""], "natrual_language": ["Like", "mep_store_bypass_p", ",", "but", "takes", "a", "pattern", "as", "the", "second", "argument", ",", "not", "the", "containing", "insn", "."], "TS_V_token": ["mep", "0", "0", "0", "1", "0", "0"], "File": "mep", "Func": "mep_store_data_bypass_1", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20608, "Length": 175, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "compute_clrmem_length", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "unsigned", "int", "align", "=", "INTVAL", "(", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "4", ")", ",", "0", ")", ")", ";", "unsigned", "long", "n_bytes", "=", "INTVAL", "(", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "3", ")", ",", "0", ")", ")", ";", "unsigned", "int", "n_insns", "=", "0", ";", "if", "(", "align", ">", "(", "TARGET_64BIT", "?", "8", ":", "4", ")", ")", "align", "=", "(", "TARGET_64BIT", "?", "8", ":", "4", ")", ";", "n_insns", "=", "4", ";", "if", "(", "n_bytes", "%", "(", "2", "*", "align", ")", "!=", "0", ")", "{", "if", "(", "(", "n_bytes", "%", "(", "2", "*", "align", ")", ")", ">=", "align", ")", "n_insns", "++", ";", "if", "(", "(", "n_bytes", "%", "align", ")", "!=", "0", ")", "n_insns", "++", ";", "}", "return", "n_insns", "*", "4", ";", "}", ""], "natrual_language": ["Count", "the", "number", "of", "insns", "necessary", "to", "handle", "this", "block", "move", ".", "Basic", "structure", "is", "the", "same", "as", "emit_block_move", ",", "except", "that", "we", "count", "insns", "rather", "than", "emit", "them", "."], "TS_V_token": ["pa", "0", "4", "0", "0", "3", "0", "0", "8", "4", "8", "4", "4", "2", "0", "2", "0", "4"], "File": "pa", "Func": "compute_clrmem_length", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20609, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FineIBTHashesSection", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "if", "(", "!", "M", ".", "getModuleFlag", "(", "\"cf-protection-fine\"", ")", ")", "return", "false", ";", "const", "TargetMachine", "*", "TM", "=", "&", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ".", "getTM", "<", "TargetMachine", ">", "(", ")", ";", "if", "(", "!", "TM", ")", "return", "false", ";", "for", "(", "auto", "&", "F", ":", "M", ")", "{", "if", "(", "F", ".", "getName", "(", ")", ".", "startswith", "(", "\"__ibt_fine_plt\"", ")", ")", "continue", ";", "if", "(", "!", "F", ".", "doesNoCfCheck", "(", ")", "&&", "!", "F", ".", "doesCoarseCfCheck", "(", ")", "&&", "!", "F", ".", "hasLocalLinkage", "(", ")", ")", "{", "if", "(", "F", ".", "isIntrinsic", "(", ")", "&&", "!", "IsExternalIntrinsic", "(", "&", "F", ")", ")", "continue", ";", "CreatePLTTemplate", "(", "M", ",", "&", "F", ")", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["X86", "\"cf-protection-fine\"", "\"__ibt_fine_plt\""], "File": "X86FineIBTHashesSection", "Func": "runOnModule", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20610, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getMaxInlineSizeThreshold", "(", ")", "const", "{", "return", "64", ";", "}", ""], "natrual_language": ["Returns", "the", "maximum", "memset", "/", "memcpy", "size", "that", "still", "makes", "it", "profitable", "to", "inline", "the", "call", "."], "TS_V_token": ["AArch64", "64"], "File": "AArch64Subtarget (2)", "Func": "getMaxInlineSizeThreshold", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20611, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "MipsTargetLowering", "::", "getRegisterTypeForCallingConv", "(", "LLVMContext", "&", "Context", ",", "CallingConv", "::", "ID", "CC", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "getRegisterType", "(", "Context", ",", "VT", ")", ";", "return", "Subtarget", ".", "isABI_O32", "(", ")", "||", "VT", ".", "getSizeInBits", "(", ")", "==", "32", "?", "MVT", "::", "i32", ":", "MVT", "::", "i64", ";", "}", ""], "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", "32", "MVT::i32", "MVT::i64"], "File": "MipsISelLowering (2)4", "Func": "getRegisterTypeForCallingConv", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20612, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "csky_address_cost", "(", "rtx", "x", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "addr_space_t", "as", "ATTRIBUTE_UNUSED", ",", "bool", "speed", "ATTRIBUTE_UNUSED", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "x", ")", ";", "if", "(", "code", "==", "REG", ")", "return", "COSTS_N_INSNS", "(", "1", ")", ";", "if", "(", "code", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "return", "COSTS_N_INSNS", "(", "1", ")", ";", "return", "COSTS_N_INSNS", "(", "3", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ADDRESS_COST", "to", "estimate", "cost", "of", "the", "memory", "address", "X", ".", "For", "C-SKY", ",", "(", "register", ")", "and", "(", "register", "+", "offset", ")", "have", "the", "same", "cost", ".", "Other", "situations", "cost", "more", "."], "TS_V_token": ["csky", "1", "0", "1", "1", "3"], "File": "csky", "Func": "csky_address_cost", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20613, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_vrsave_prologue", "(", "rs6000_stack_t", "*", "info", ",", "int", "save_regno", ",", "HOST_WIDE_INT", "frame_off", ",", "rtx", "frame_reg_rtx", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "save_regno", ")", ";", "rtx", "vrsave", "=", "gen_rtx_REG", "(", "SImode", ",", "VRSAVE_REGNO", ")", ";", "if", "(", "TARGET_MACHO", ")", "emit_insn", "(", "gen_get_vrsave_internal", "(", "reg", ")", ")", ";", "else", "emit_insn", "(", "gen_rtx_SET", "(", "reg", ",", "vrsave", ")", ")", ";", "int", "offset", "=", "info", "->", "vrsave_save_offset", "+", "frame_off", ";", "emit_insn", "(", "gen_frame_store", "(", "reg", ",", "frame_reg_rtx", ",", "offset", ")", ")", ";", "emit_insn", "(", "gen_iorsi3", "(", "reg", ",", "reg", ",", "GEN_INT", "(", "info", "->", "vrsave_mask", ")", ")", ")", ";", "emit_insn", "(", "generate_set_vrsave", "(", "reg", ",", "info", ",", "0", ")", ")", ";", "}", ""], "natrual_language": ["VRSAVE", "is", "a", "bit", "vector", "representing", "which", "AltiVec", "registers", "are", "used", ".", "The", "OS", "uses", "this", "to", "determine", "which", "vector", "registers", "to", "save", "on", "a", "context", "switch", ".", "We", "need", "to", "save", "VRSAVE", "on", "the", "stack", "frame", ",", "add", "whatever", "AltiVec", "registers", "we", "used", "in", "this", "function", ",", "and", "do", "the", "corresponding", "magic", "in", "the", "epilogue", "."], "TS_V_token": ["rs6000", "0"], "File": "rs6000-logue", "Func": "emit_vrsave_prologue", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20614, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiTargetLowering", "::", "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_Lanai32", ")", ";", "}", ""], "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": ["Lanai", "Lanai", "ISD::OutputArg", "16", "Lanai"], "File": "LanaiISelLowering", "Func": "CanLowerReturn", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20615, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZMCAsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ")", "const", "{", "for", "(", "uint64_t", "I", "=", "0", ";", "I", "!=", "Count", ";", "++", "I", ")", "OS", "<<", "'\\x7'", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["SystemZ", "SystemZ", "0"], "File": "SystemZMCAsmBackend12", "Func": "writeNopData", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20616, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_fix_trunc", "(", "rtx_insn", "*", "insn", ",", "rtx", "*", "operands", ",", "bool", "fisttp", ")", "{", "int", "stack_top_dies", "=", "find_regno_note", "(", "insn", ",", "REG_DEAD", ",", "FIRST_STACK_REG", ")", "!=", "0", ";", "int", "dimode_p", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", "==", "DImode", ";", "int", "round_mode", "=", "get_attr_i387_cw", "(", "insn", ")", ";", "if", "(", "(", "dimode_p", "||", "fisttp", ")", "&&", "!", "stack_top_dies", ")", "output_asm_insn", "(", "\"fld\\t%y1\"", ",", "operands", ")", ";", "gcc_assert", "(", "STACK_TOP_P", "(", "operands", "[", "1", "]", ")", ")", ";", "gcc_assert", "(", "MEM_P", "(", "operands", "[", "0", "]", ")", ")", ";", "gcc_assert", "(", "GET_MODE", "(", "operands", "[", "1", "]", ")", "!=", "TFmode", ")", ";", "if", "(", "fisttp", ")", "output_asm_insn", "(", "\"fisttp%Z0\\t%0\"", ",", "operands", ")", ";", "else", "{", "if", "(", "round_mode", "!=", "I387_CW_ANY", ")", "output_asm_insn", "(", "\"fldcw\\t%3\"", ",", "operands", ")", ";", "if", "(", "stack_top_dies", "||", "dimode_p", ")", "output_asm_insn", "(", "\"fistp%Z0\\t%0\"", ",", "operands", ")", ";", "else", "output_asm_insn", "(", "\"fist%Z0\\t%0\"", ",", "operands", ")", ";", "if", "(", "round_mode", "!=", "I387_CW_ANY", ")", "output_asm_insn", "(", "\"fldcw\\t%2\"", ",", "operands", ")", ";", "}", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "code", "for", "INSN", "to", "convert", "a", "float", "to", "a", "signed", "int", ".", "OPERANDS", "are", "the", "insn", "operands", ".", "The", "output", "may", "be", "[", "HSD", "]", "Imode", "and", "the", "input", "operand", "may", "be", "[", "SDX", "]", "Fmode", "."], "TS_V_token": ["i386", "0", "0", "\"fld\\t%y1\"", "1", "0", "1", "\"fisttp%Z0\\t%0\"", "\"fldcw\\t%3\"", "\"fistp%Z0\\t%0\"", "\"fist%Z0\\t%0\"", "\"fldcw\\t%2\"", "\"\""], "File": "i3864", "Func": "output_fix_trunc", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20617, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_barrier_cost", "(", "rtx_insn", "*", "insn", ")", "{", "int", "base_cost", "=", "50", ";", "rtx_insn", "*", "next", "=", "next_nonnote_insn", "(", "insn", ")", ";", "if", "(", "next", "!=", "NULL", "&&", "LABEL_P", "(", "next", ")", ")", "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": "arm", "Func": "arm_barrier_cost", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20618, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64AsmPrinter", "::", "emitStartOfAsmFile", "(", "Module", "&", "M", ")", "{", "if", "(", "!", "TM", ".", "getTargetTriple", "(", ")", ".", "isOSBinFormatELF", "(", ")", ")", "return", ";", "unsigned", "Flags", "=", "ELF", "::", "GNU_PROPERTY_AARCH64_FEATURE_1_BTI", "|", "ELF", "::", "GNU_PROPERTY_AARCH64_FEATURE_1_PAC", ";", "if", "(", "any_of", "(", "M", ",", "[", "]", "(", "const", "Function", "&", "F", ")", "{", "return", "!", "F", ".", "isDeclaration", "(", ")", "&&", "!", "F", ".", "hasFnAttribute", "(", "\"branch-target-enforcement\"", ")", ";", "}", ")", ")", "{", "Flags", "&=", "~", "ELF", "::", "GNU_PROPERTY_AARCH64_FEATURE_1_BTI", ";", "}", "if", "(", "(", "Flags", "&", "ELF", "::", "GNU_PROPERTY_AARCH64_FEATURE_1_BTI", ")", "==", "0", "&&", "any_of", "(", "M", ",", "[", "]", "(", "const", "Function", "&", "F", ")", "{", "return", "F", ".", "hasFnAttribute", "(", "\"branch-target-enforcement\"", ")", ";", "}", ")", ")", "{", "errs", "(", ")", "<<", "\"warning: some functions compiled with BTI and some compiled \"", "\"without BTI\\n\"", "<<", "\"warning: not setting BTI in feature flags\\n\"", ";", "}", "if", "(", "any_of", "(", "M", ",", "[", "]", "(", "const", "Function", "&", "F", ")", "{", "if", "(", "F", ".", "isDeclaration", "(", ")", ")", "return", "false", ";", "Attribute", "A", "=", "F", ".", "getFnAttribute", "(", "\"sign-return-address\"", ")", ";", "return", "!", "A", ".", "isStringAttribute", "(", ")", "||", "A", ".", "getValueAsString", "(", ")", "==", "\"none\"", ";", "}", ")", ")", "{", "Flags", "&=", "~", "ELF", "::", "GNU_PROPERTY_AARCH64_FEATURE_1_PAC", ";", "}", "if", "(", "Flags", "==", "0", ")", "return", ";", "MCSection", "*", "Cur", "=", "OutStreamer", "->", "getCurrentSectionOnly", "(", ")", ";", "MCSection", "*", "Nt", "=", "MMI", "->", "getContext", "(", ")", ".", "getELFSection", "(", "\".note.gnu.property\"", ",", "ELF", "::", "SHT_NOTE", ",", "ELF", "::", "SHF_ALLOC", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "Nt", ")", ";", "emitAlignment", "(", "Align", "(", "8", ")", ")", ";", "OutStreamer", "->", "emitIntValue", "(", "4", ",", "4", ")", ";", "OutStreamer", "->", "emitIntValue", "(", "4", "*", "4", ",", "4", ")", ";", "OutStreamer", "->", "emitIntValue", "(", "ELF", "::", "NT_GNU_PROPERTY_TYPE_0", ",", "4", ")", ";", "OutStreamer", "->", "emitBytes", "(", "StringRef", "(", "\"GNU\"", ",", "4", ")", ")", ";", "OutStreamer", "->", "emitIntValue", "(", "ELF", "::", "GNU_PROPERTY_AARCH64_FEATURE_1_AND", ",", "4", ")", ";", "OutStreamer", "->", "emitIntValue", "(", "4", ",", "4", ")", ";", "OutStreamer", "->", "emitIntValue", "(", "Flags", ",", "4", ")", ";", "OutStreamer", "->", "emitIntValue", "(", "0", ",", "4", ")", ";", "OutStreamer", "->", "endSection", "(", "Nt", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "Cur", ")", ";", "}", ""], "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", "\"branch-target-enforcement\"", "0", "\"branch-target-enforcement\"", "\"warning: some functions compiled with BTI and some compiled \"", "\"without BTI\\n\"", "\"warning: not setting BTI in feature flags\\n\"", "\"sign-return-address\"", "\"none\"", "0", "\".note.gnu.property\"", "8", "4", "4", "4", "4", "4", "4", "\"GNU\"", "4", "4", "4", "4", "4", "0", "4"], "File": "AArch64AsmPrinter40", "Func": "emitStartOfAsmFile", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20619, "Length": 342, "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": 20620, "Length": 37, "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": ["SIC"], "File": "SICAsmBackend", "Func": "mayNeedRelaxation", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20621, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_validate_mcpu", "(", "const", "char", "*", "str", ",", "const", "struct", "processor", "*", "*", "res", ",", "unsigned", "long", "*", "isa_flags", ")", "{", "enum", "aarch64_parse_opt_result", "parse_res", "=", "aarch64_parse_cpu", "(", "str", ",", "res", ",", "isa_flags", ")", ";", "if", "(", "parse_res", "==", "AARCH64_PARSE_OK", ")", "return", "true", ";", "switch", "(", "parse_res", ")", "{", "case", "AARCH64_PARSE_MISSING_ARG", ":", "error", "(", "\"missing cpu name in -mcpu=%qs\"", ",", "str", ")", ";", "break", ";", "case", "AARCH64_PARSE_INVALID_ARG", ":", "error", "(", "\"unknown value %qs for -mcpu\"", ",", "str", ")", ";", "break", ";", "case", "AARCH64_PARSE_INVALID_FEATURE", ":", "error", "(", "\"invalid feature modifier in -mcpu=%qs\"", ",", "str", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Validate", "a", "command-line", "-mcpu", "option", ".", "Parse", "the", "cpu", "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 cpu name in -mcpu=%qs\"", "\"unknown value %qs for -mcpu\"", "\"invalid feature modifier in -mcpu=%qs\""], "File": "aarch643", "Func": "aarch64_validate_mcpu", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20622, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "relaxInstruction", "(", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "override", "{", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["LoongArch"], "File": "LoongArchAsmBackend", "Func": "relaxInstruction", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20623, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "pa_section_type_flags", "(", "tree", "decl", ",", "const", "char", "*", "name", ",", "int", "reloc", ")", "{", "unsigned", "int", "flags", ";", "flags", "=", "default_section_type_flags", "(", "decl", ",", "name", ",", "reloc", ")", ";", "if", "(", "strcmp", "(", "name", ",", "\".data.rel.ro\"", ")", "==", "0", "||", "strcmp", "(", "name", ",", "\".data.rel.ro.local\"", ")", "==", "0", ")", "flags", "|=", "SECTION_WRITE", "|", "SECTION_RELRO", ";", "return", "flags", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SECTION_TYPE_FLAGS", "."], "TS_V_token": ["pa", "\".data.rel.ro\"", "0", "\".data.rel.ro.local\"", "0"], "File": "pa", "Func": "pa_section_type_flags", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20624, "Length": 62, "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", "(", ")", "||", "isABI_EABI", "(", ")", ")", ")", "||", "(", "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", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "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": "MipsSubtarget (2)1", "Func": "MipsSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20625, "Length": 470, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "OR1KDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "SDValue", "Op0", ",", "Op1", ";", "switch", "(", "ConstraintID", ")", "{", "default", ":", "return", "true", ";", "case", "InlineAsm", "::", "Constraint_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": ["OR1K", "OR1K"], "File": "OR1KISelDAGToDAG1", "Func": "SelectInlineAsmMemoryOperand", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20626, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_return_address_signing_enabled", "(", "void", ")", "{", "gcc_assert", "(", "cfun", "->", "machine", "->", "frame", ".", "laid_out", ")", ";", "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": "aarch64", "Func": "aarch64_return_address_signing_enabled", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20627, "Length": 47, "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": 20628, "Length": 369, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_cannot_modify_jumps_p", "(", "void", ")", "{", "return", "(", "TARGET_SHMEDIA", "&&", "(", "reload_in_progress", "||", "reload_completed", ")", ")", ";", "}", ""], "natrual_language": ["SHmedia", "requires", "registers", "for", "branches", ",", "so", "we", "ca", "n't", "generate", "new", "branches", "past", "reload", "."], "TS_V_token": ["sh"], "File": "sh3", "Func": "sh_cannot_modify_jumps_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20629, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "char", "ConstraintCode", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "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": "PPCISelDAGToDAG (2)", "Func": "SelectInlineAsmMemoryOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20630, "Length": 33, "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": 20631, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CJGInstrInfo", "::", "reverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "assert", "(", "Cond", ".", "size", "(", ")", "==", "1", "&&", "\"Invalid Xbranch condition!\"", ")", ";", "CJGCC", "::", "CondCodes", "CC", "=", "static_cast", "<", "CJGCC", "::", "CondCodes", ">", "(", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ")", ";", "switch", "(", "CC", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Invalid branch condition!\"", ")", ";", "case", "CJGCC", "::", "COND_C", ":", "CC", "=", "CJGCC", "::", "COND_NC", ";", "break", ";", "case", "CJGCC", "::", "COND_N", ":", "CC", "=", "CJGCC", "::", "COND_NN", ";", "break", ";", "case", "CJGCC", "::", "COND_V", ":", "CC", "=", "CJGCC", "::", "COND_NV", ";", "break", ";", "case", "CJGCC", "::", "COND_Z", ":", "CC", "=", "CJGCC", "::", "COND_NZ", ";", "break", ";", "case", "CJGCC", "::", "COND_GE", ":", "CC", "=", "CJGCC", "::", "COND_L", ";", "break", ";", "case", "CJGCC", "::", "COND_NC", ":", "CC", "=", "CJGCC", "::", "COND_C", ";", "break", ";", "case", "CJGCC", "::", "COND_NN", ":", "CC", "=", "CJGCC", "::", "COND_N", ";", "break", ";", "case", "CJGCC", "::", "COND_NV", ":", "CC", "=", "CJGCC", "::", "COND_V", ";", "break", ";", "case", "CJGCC", "::", "COND_NZ", ":", "CC", "=", "CJGCC", "::", "COND_Z", ";", "break", ";", "case", "CJGCC", "::", "COND_L", ":", "CC", "=", "CJGCC", "::", "COND_GE", ";", "break", ";", "}", "Cond", "[", "0", "]", ".", "setImm", "(", "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": ["CJG", "CJG", "1", "\"Invalid Xbranch condition!\"", "CJGCC::CondCodes", "CJGCC::CondCodes", "0", "\"Invalid branch condition!\"", "CJGCC::COND_C", "CJGCC::COND_NC", "CJGCC::COND_N", "CJGCC::COND_NN", "CJGCC::COND_V", "CJGCC::COND_NV", "CJGCC::COND_Z", "CJGCC::COND_NZ", "CJGCC::COND_GE", "CJGCC::COND_L", "CJGCC::COND_NC", "CJGCC::COND_C", "CJGCC::COND_NN", "CJGCC::COND_N", "CJGCC::COND_NV", "CJGCC::COND_V", "CJGCC::COND_NZ", "CJGCC::COND_Z", "CJGCC::COND_L", "CJGCC::COND_GE", "0"], "File": "CJGInstrInfo", "Func": "reverseBranchCondition", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20632, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "LanaiDisassembler", "::", "getInstruction", "(", "MCInst", "&", "Instr", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "VStream", ",", "raw_ostream", "&", "CStream", ")", "const", "{", "uint32_t", "Insn", ";", "DecodeStatus", "Result", "=", "readInstruction32", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn", ")", ";", "if", "(", "Result", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "Result", "=", "decodeInstruction", "(", "DecoderTableLanai32", ",", "Instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "PostOperandDecodeAdjust", "(", "Instr", ",", "Insn", ")", ";", "Size", "=", "4", ";", "return", "Result", ";", "}", "return", "MCDisassembler", "::", "Fail", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai", "4"], "File": "LanaiDisassembler4", "Func": "getInstruction", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20633, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "AARCH64_BRANCH_TARGETS_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64"], "File": "AArch64BranchTargets", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20634, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "rtx", "force_mode", "(", "machine_mode", "mode", ",", "rtx", "orig", ")", "{", "if", "(", "mode", "==", "GET_MODE", "(", "orig", ")", ")", "return", "orig", ";", "gcc_assert", "(", "REGNO", "(", "orig", ")", "<", "FIRST_PSEUDO_REGISTER", ")", ";", "return", "gen_rtx_REG", "(", "mode", ",", "REGNO", "(", "orig", ")", ")", ";", "}", ""], "natrual_language": ["Ensure", "mode", "of", "ORIG", ",", "a", "REG", "rtx", ",", "is", "MODE", ".", "Returns", "either", "ORIG", "or", "a", "new", "rtx", "with", "the", "correct", "mode", "."], "TS_V_token": ["pa"], "File": "pa", "Func": "force_mode", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20635, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "loongarch_set_return_address", "(", "rtx", "address", ",", "rtx", "scratch", ")", "{", "rtx", "slot_address", ";", "gcc_assert", "(", "BITSET_P", "(", "cfun", "->", "machine", "->", "frame", ".", "mask", ",", "RETURN_ADDR_REGNUM", ")", ")", ";", "if", "(", "frame_pointer_needed", ")", "slot_address", "=", "loongarch_add_offset", "(", "scratch", ",", "hard_frame_pointer_rtx", ",", "-", "UNITS_PER_WORD", ")", ";", "else", "slot_address", "=", "loongarch_add_offset", "(", "scratch", ",", "stack_pointer_rtx", ",", "cfun", "->", "machine", "->", "frame", ".", "gp_sp_offset", ")", ";", "loongarch_emit_move", "(", "gen_frame_mem", "(", "GET_MODE", "(", "address", ")", ",", "slot_address", ")", ",", "address", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "change", "the", "current", "function", "'s", "return", "address", "to", "ADDRESS", ".", "SCRATCH", "is", "available", "as", "a", "scratch", "register", ",", "if", "needed", ".", "ADDRESS", "and", "SCRATCH", "are", "both", "word-mode", "GPRs", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_set_return_address", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20636, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "sh_issue_rate", "(", "void", ")", "{", "if", "(", "TARGET_SUPERSCALAR", ")", "return", "2", ";", "else", "return", "1", ";", "}", ""], "natrual_language": ["This", "function", "returns", "``", "2", "''", "to", "indicate", "dual", "issue", "for", "the", "SH4", "processor", ".", "To", "be", "used", "by", "the", "DFA", "pipeline", "description", "."], "TS_V_token": ["sh", "2", "1"], "File": "sh", "Func": "sh_issue_rate", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20637, "Length": 19, "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", "SynchScope", "=", "AI", "->", "getSynchScope", "(", ")", ";", "auto", "Order", "=", "AtomicCmpXchgInst", "::", "getStrongestFailureOrdering", "(", "AI", "->", "getOrdering", "(", ")", ")", ";", "auto", "Ptr", "=", "AI", "->", "getPointerOperand", "(", ")", ";", "if", "(", "SynchScope", "==", "SingleThread", ")", "return", "nullptr", ";", "if", "(", "!", "hasMFENCE", "(", "*", "Subtarget", ")", ")", "return", "nullptr", ";", "Function", "*", "MFence", "=", "llvm", "::", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "Intrinsic", "::", "x86_sse2_mfence", ")", ";", "Builder", ".", "CreateCall", "(", "MFence", ",", "{", "}", ")", ";", "LoadInst", "*", "Loaded", "=", "Builder", ".", "CreateAlignedLoad", "(", "Ptr", ",", "AI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ")", ";", "Loaded", "->", "setAtomic", "(", "Order", ",", "SynchScope", ")", ";", "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": "X86ISelLowering (2)3", "Func": "lowerIdempotentRMWIntoFencedLoad", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20638, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ARMMCExpr", "*", "ARMMCExpr", "::", "create", "(", "VariantKind", "Kind", ",", "const", "MCExpr", "*", "Expr", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "ARMMCExpr", "(", "Kind", ",", "Expr", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "ARMMCExpr (2)", "Func": "create", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20639, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SHUXIFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["SHUXI", "SHUXI"], "File": "SHUXIFrameLowering", "Func": "emitPrologue", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20640, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCRegisterInfo", "::", "isCallerPreservedPhysReg", "(", "MCRegister", "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": "PPCRegisterInfo10", "Func": "isCallerPreservedPhysReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20641, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "restore_saved_cr", "(", "rtx", "reg", ",", "int", "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": ["powerpcspe", "0", "0", "8", "1", "0", "0", "8", "2", "0", "1", "1", "7", "0", "8", "1", "0", "8", "1", "1"], "File": "powerpcspe", "Func": "restore_saved_cr", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20642, "Length": 391, "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", "::", "LD1_MXIPXX_H_Q", ":", "case", "AArch64", "::", "LD1_MXIPXX_V_Q", ":", "case", "AArch64", "::", "ST1_MXIPXX_H_Q", ":", "case", "AArch64", "::", "ST1_MXIPXX_V_Q", ":", "MI", ".", "insert", "(", "MI", ".", "begin", "(", ")", "+", "2", ",", "MCOperand", "::", "createImm", "(", "0", ")", ")", ";", "break", ";", "case", "AArch64", "::", "INSERT_MXIPZ_H_Q", ":", "case", "AArch64", "::", "INSERT_MXIPZ_V_Q", ":", "MI", ".", "insert", "(", "MI", ".", "begin", "(", ")", "+", "2", ",", "MCOperand", "::", "createImm", "(", "0", ")", ")", ";", "break", ";", "case", "AArch64", "::", "EXTRACT_ZPMXI_H_Q", ":", "case", "AArch64", "::", "EXTRACT_ZPMXI_V_Q", ":", "MI", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "0", ")", ")", ";", "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::LD1_MXIPXX_H_Q", "AArch64::LD1_MXIPXX_V_Q", "AArch64::ST1_MXIPXX_H_Q", "AArch64::ST1_MXIPXX_V_Q", "2", "0", "AArch64::INSERT_MXIPZ_H_Q", "AArch64::INSERT_MXIPZ_V_Q", "2", "0", "AArch64::EXTRACT_ZPMXI_H_Q", "AArch64::EXTRACT_ZPMXI_V_Q", "0", "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": "AArch64Disassembler15", "Func": "getInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20643, "Length": 471, "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", "(", ")", "||", "MFI", "->", "hasInlineAsmWithSPAdjust", "(", ")", "||", "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": "X86FrameLowering (2)", "Func": "hasFP", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20644, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "vax_address_cost_1", "(", "rtx", "addr", ")", "{", "int", "reg", "=", "0", ",", "indexed", "=", "0", ",", "indir", "=", "0", ",", "offset", "=", "0", ",", "predec", "=", "0", ";", "rtx", "plus_op0", "=", "0", ",", "plus_op1", "=", "0", ";", "restart", ":", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "PRE_DEC", ":", "predec", "=", "1", ";", "case", "REG", ":", "case", "SUBREG", ":", "case", "POST_INC", ":", "reg", "=", "1", ";", "break", ";", "case", "MULT", ":", "case", "ASHIFT", ":", "indexed", "=", "1", ";", "break", ";", "case", "CONST_INT", ":", "if", "(", "offset", "==", "0", ")", "offset", "=", "(", "unsigned", "HOST_WIDE_INT", ")", "(", "INTVAL", "(", "addr", ")", "+", "128", ")", ">", "256", ";", "break", ";", "case", "CONST", ":", "case", "SYMBOL_REF", ":", "offset", "=", "1", ";", "break", ";", "case", "LABEL_REF", ":", "if", "(", "offset", "==", "0", ")", "offset", "=", "1", ";", "break", ";", "case", "PLUS", ":", "if", "(", "plus_op0", ")", "plus_op1", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "else", "plus_op0", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "addr", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "goto", "restart", ";", "case", "MEM", ":", "indir", "=", "2", ";", "addr", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "goto", "restart", ";", "default", ":", "break", ";", "}", "if", "(", "plus_op0", ")", "{", "addr", "=", "plus_op0", ";", "plus_op0", "=", "0", ";", "goto", "restart", ";", "}", "if", "(", "plus_op1", ")", "{", "addr", "=", "plus_op1", ";", "plus_op1", "=", "0", ";", "goto", "restart", ";", "}", "if", "(", "reg", "&&", "indexed", "&&", "offset", ")", "return", "reg", "+", "indir", "+", "offset", "+", "predec", ";", "return", "reg", "+", "indexed", "+", "indir", "+", "offset", "+", "predec", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "in", "cycles", "of", "a", "memory", "address", ",", "relative", "to", "register", "indirect", ".", "Each", "of", "the", "following", "adds", "the", "indicated", "number", "of", "cycles", ":", "1", "-", "symbolic", "address", "1", "-", "pre-decrement", "1", "-", "indexing", "and/or", "offset", "(", "register", ")", "2", "-", "indirect"], "TS_V_token": ["vax", "0", "0", "0", "0", "0", "0", "0", "1", "1", "1", "0", "128", "256", "1", "0", "1", "0", "0", "1", "2", "0", "0", "0"], "File": "vax", "Func": "vax_address_cost_1", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20645, "Length": 262, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CallLowering", "::", "LowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "unsigned", "VReg", ")", "const", "{", "MachineInstr", "*", "Return", "=", "MIRBuilder", ".", "buildInstr", "(", "AArch64", "::", "RET_ReallyLR", ")", ";", "assert", "(", "Return", "&&", "\"Unable to build a return instruction?!\"", ")", ";", "assert", "(", "(", "(", "Val", "&&", "VReg", ")", "||", "(", "!", "Val", "&&", "!", "VReg", ")", ")", "&&", "\"Return value without a vreg\"", ")", ";", "if", "(", "VReg", ")", "{", "assert", "(", "Val", "->", "getType", "(", ")", "->", "isIntegerTy", "(", ")", "&&", "\"Type not supported yet\"", ")", ";", "unsigned", "Size", "=", "Val", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "assert", "(", "(", "Size", "==", "64", "||", "Size", "==", "32", ")", "&&", "\"Size not supported yet\"", ")", ";", "unsigned", "ResReg", "=", "(", "Size", "==", "32", ")", "?", "AArch64", "::", "W0", ":", "AArch64", "::", "X0", ";", "MIRBuilder", ".", "setInstr", "(", "*", "Return", ",", "true", ")", ";", "MachineInstr", "*", "Copy", "=", "MIRBuilder", ".", "buildInstr", "(", "TargetOpcode", "::", "COPY", ",", "ResReg", ",", "VReg", ")", ";", "(", "void", ")", "Copy", ";", "assert", "(", "Copy", "->", "getNextNode", "(", ")", "==", "Return", "&&", "\"The insertion did not happen where we expected\"", ")", ";", "MachineInstrBuilder", "(", "MIRBuilder", ".", "getMF", "(", ")", ",", "Return", ")", ".", "addReg", "(", "ResReg", ",", "RegState", "::", "Implicit", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::RET_ReallyLR", "\"Unable to build a return instruction?!\"", "\"Return value without a vreg\"", "\"Type not supported yet\"", "64", "32", "\"Size not supported yet\"", "32", "AArch64::W0", "AArch64::X0", "\"The insertion did not happen where we expected\""], "File": "AArch64CallLowering10", "Func": "LowerReturn", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20646, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMSubtarget", "::", "isGVInGOT", "(", "const", "GlobalValue", "*", "GV", ")", "const", "{", "return", "isTargetELF", "(", ")", "&&", "TM", ".", "isPositionIndependent", "(", ")", "&&", "!", "TM", ".", "shouldAssumeDSOLocal", "(", "*", "GV", "->", "getParent", "(", ")", ",", "GV", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "constant", "pool", "modifier", "needed", "to", "access", "the", "GV", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMSubtarget", "Func": "isGVInGOT", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20647, "Length": 39, "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", "(", "VOIDmode", ",", "dst", ",", "r", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "a", "FNMSUB", "instruction", ":", "dst", "=", "-fma", "(", "m1", ",", "m2", ",", "-a", ")", "."], "TS_V_token": ["rs6000"], "File": "rs60004", "Func": "rs6000_emit_nmsub", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20648, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb1RegisterInfo", "::", "emitLoadConstPool", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "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", "(", "MBB", ".", "getParent", "(", ")", "->", "getFunction", "(", ")", "->", "getContext", "(", ")", ")", ",", "Val", ")", ";", "unsigned", "Idx", "=", "ConstantPool", "->", "getConstantPoolIndex", "(", "C", ",", "4", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ARM", "::", "tLDRpci", ")", ")", ".", "addReg", "(", "DestReg", ",", "getDefRegState", "(", "true", ")", ",", "SubIdx", ")", ".", "addConstantPoolIndex", "(", "Idx", ")", ".", "addImm", "(", "Pred", ")", ".", "addReg", "(", "PredReg", ")", ".", "setMIFlags", "(", "MIFlags", ")", ";", "}", ""], "natrual_language": ["emitLoadConstPool", "-", "Emits", "a", "load", "from", "constpool", "to", "materialize", "the", "specified", "immediate", "."], "TS_V_token": ["ARM", "ARMCC::CondCodes", "4", "ARM::tLDRpci"], "File": "Thumb1RegisterInfo14", "Func": "emitLoadConstPool", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20649, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_parse_abi_options", "(", ")", "{", "if", "(", "rs6000_abi_string", "==", "0", ")", "return", ";", "else", "if", "(", "!", "strcmp", "(", "rs6000_abi_string", ",", "\"altivec\"", ")", ")", "rs6000_altivec_abi", "=", "1", ";", "else", "if", "(", "!", "strcmp", "(", "rs6000_abi_string", ",", "\"no-altivec\"", ")", ")", "rs6000_altivec_abi", "=", "0", ";", "else", "error", "(", "\"unknown ABI specified: '%s'\"", ",", "rs6000_abi_string", ")", ";", "}", ""], "natrual_language": ["Handle", "-mabi=", "options", "."], "TS_V_token": ["rs6000", "0", "\"altivec\"", "1", "\"no-altivec\"", "0", "\"unknown ABI specified: '%s'\""], "File": "rs60002", "Func": "rs6000_parse_abi_options", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20650, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getExceptionPointerRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "override", "{", "return", "SP", "::", "I0", ";", "}", ""], "natrual_language": ["If", "a", "physical", "register", ",", "this", "returns", "the", "register", "that", "receives", "the", "exception", "address", "on", "entry", "to", "an", "EH", "pad", "."], "TS_V_token": ["Sparc", "SP::I0"], "File": "SparcISelLowering (2)2", "Func": "getExceptionPointerRegister", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20651, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_output_function_prologue", "(", "FILE", "*", "f", ",", "HOST_WIDE_INT", "frame_size", ")", "{", "unsigned", "long", "func_type", ";", "if", "(", "!", "TARGET_ARM", ")", "{", "thumb_output_function_prologue", "(", "f", ",", "frame_size", ")", ";", "return", ";", "}", "gcc_assert", "(", "!", "arm_ccfsm_state", "&&", "!", "arm_target_insn", ")", ";", "func_type", "=", "arm_current_func_type", "(", ")", ";", "switch", "(", "(", "int", ")", "ARM_FUNC_TYPE", "(", "func_type", ")", ")", "{", "default", ":", "case", "ARM_FT_NORMAL", ":", "break", ";", "case", "ARM_FT_INTERWORKED", ":", "asm_fprintf", "(", "f", ",", "\"\\t%@ Function supports interworking.\\n\"", ")", ";", "break", ";", "case", "ARM_FT_ISR", ":", "asm_fprintf", "(", "f", ",", "\"\\t%@ Interrupt Service Routine.\\n\"", ")", ";", "break", ";", "case", "ARM_FT_FIQ", ":", "asm_fprintf", "(", "f", ",", "\"\\t%@ Fast Interrupt Service Routine.\\n\"", ")", ";", "break", ";", "case", "ARM_FT_EXCEPTION", ":", "asm_fprintf", "(", "f", ",", "\"\\t%@ ARM Exception Handler.\\n\"", ")", ";", "break", ";", "}", "if", "(", "IS_NAKED", "(", "func_type", ")", ")", "asm_fprintf", "(", "f", ",", "\"\\t%@ Naked Function: prologue and epilogue provided by programmer.\\n\"", ")", ";", "if", "(", "IS_VOLATILE", "(", "func_type", ")", ")", "asm_fprintf", "(", "f", ",", "\"\\t%@ Volatile: function does not return.\\n\"", ")", ";", "if", "(", "IS_NESTED", "(", "func_type", ")", ")", "asm_fprintf", "(", "f", ",", "\"\\t%@ Nested: function declared inside another function.\\n\"", ")", ";", "asm_fprintf", "(", "f", ",", "\"\\t%@ args = %d, pretend = %d, frame = %wd\\n\"", ",", "current_function_args_size", ",", "current_function_pretend_args_size", ",", "frame_size", ")", ";", "asm_fprintf", "(", "f", ",", "\"\\t%@ frame_needed = %d, uses_anonymous_args = %d\\n\"", ",", "frame_pointer_needed", ",", "cfun", "->", "machine", "->", "uses_anonymous_args", ")", ";", "if", "(", "cfun", "->", "machine", "->", "lr_save_eliminated", ")", "asm_fprintf", "(", "f", ",", "\"\\t%@ link register save eliminated.\\n\"", ")", ";", "if", "(", "current_function_calls_eh_return", ")", "asm_fprintf", "(", "f", ",", "\"\\t@ Calls __builtin_eh_return.\\n\"", ")", ";", "if", "(", "flag_pic", ")", "asm_fprintf", "(", "f", ",", "\"\\tmov\\t%r, %r\\n\"", ",", "IP_REGNUM", ",", "PIC_OFFSET_TABLE_REGNUM", ")", ";", "return_used_this_function", "=", "0", ";", "}", ""], "natrual_language": ["Place", "some", "comments", "into", "the", "assembler", "stream", "describing", "the", "current", "function", "."], "TS_V_token": ["arm", "\"\\t%@ Function supports interworking.\\n\"", "\"\\t%@ Interrupt Service Routine.\\n\"", "\"\\t%@ Fast Interrupt Service Routine.\\n\"", "\"\\t%@ ARM Exception Handler.\\n\"", "\"\\t%@ Naked Function: prologue and epilogue provided by programmer.\\n\"", "\"\\t%@ Volatile: function does not return.\\n\"", "\"\\t%@ Nested: function declared inside another function.\\n\"", "\"\\t%@ args = %d, pretend = %d, frame = %wd\\n\"", "\"\\t%@ frame_needed = %d, uses_anonymous_args = %d\\n\"", "\"\\t%@ link register save eliminated.\\n\"", "\"\\t@ Calls __builtin_eh_return.\\n\"", "\"\\tmov\\t%r, %r\\n\"", "0"], "File": "arm3", "Func": "arm_output_function_prologue", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20652, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "X86RegisterInfo", "::", "getNoPreservedMask", "(", ")", "const", "{", "return", "CSR_NoRegs_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "register", "mask", "that", "clobbers", "everything", "."], "TS_V_token": ["X86", "X86"], "File": "X86RegisterInfo (2)", "Func": "getNoPreservedMask", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20653, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "Mips16InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "Mips16InstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "0", "&&", "!", "MFI", "->", "adjustsStack", "(", ")", ")", "return", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "MCRegisterInfo", "*", "MRI", "=", "MMI", ".", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MachineLocation", "DstML", ",", "SrcML", ";", "TII", ".", "makeFrame", "(", "Mips", "::", "SP", ",", "StackSize", ",", "MBB", ",", "MBBI", ")", ";", "unsigned", "CFIIndex", "=", "MMI", ".", "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", "(", ")", ")", "{", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", "->", "getCalleeSavedInfo", "(", ")", ";", "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", "DReg", "=", "MRI", "->", "getDwarfRegNum", "(", "Reg", ",", "true", ")", ";", "unsigned", "CFIIndex", "=", "MMI", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createOffset", "(", "nullptr", ",", "DReg", ",", "Offset", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "}", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Mips", "::", "MoveR3216", ")", ",", "Mips", "::", "S0", ")", ".", "addReg", "(", "Mips", "::", "SP", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "0", "Mips::SP", "Mips::MoveR3216", "Mips::S0", "Mips::SP"], "File": "Mips16FrameLowering10", "Func": "emitPrologue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20654, "Length": 391, "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": 20655, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FixupSetCCPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "Changed", "=", "false", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "TII", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "SmallVector", "<", "MachineInstr", "*", ",", "4", ">", "ToErase", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "MachineInstr", "*", "FlagsDefMI", "=", "nullptr", ";", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "if", "(", "MI", ".", "definesRegister", "(", "X86", "::", "EFLAGS", ")", ")", "FlagsDefMI", "=", "&", "MI", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "!=", "X86", "::", "SETCCr", ")", "continue", ";", "MachineInstr", "*", "ZExt", "=", "nullptr", ";", "for", "(", "auto", "&", "Use", ":", "MRI", "->", "use_instructions", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", "if", "(", "Use", ".", "getOpcode", "(", ")", "==", "X86", "::", "MOVZX32rr8", ")", "ZExt", "=", "&", "Use", ";", "if", "(", "!", "ZExt", ")", "continue", ";", "if", "(", "!", "FlagsDefMI", ")", "continue", ";", "if", "(", "FlagsDefMI", "->", "readsRegister", "(", "X86", "::", "EFLAGS", ")", ")", "continue", ";", "const", "TargetRegisterClass", "*", "RC", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", "?", "&", "X86", "::", "GR32RegClass", ":", "&", "X86", "::", "GR32_ABCDRegClass", ";", "if", "(", "!", "MRI", "->", "constrainRegClass", "(", "ZExt", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "RC", ")", ")", "{", "continue", ";", "}", "++", "NumSubstZexts", ";", "Changed", "=", "true", ";", "Register", "ZeroReg", "=", "MRI", "->", "createVirtualRegister", "(", "RC", ")", ";", "BuildMI", "(", "MBB", ",", "FlagsDefMI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "X86", "::", "MOV32r0", ")", ",", "ZeroReg", ")", ";", "BuildMI", "(", "*", "ZExt", "->", "getParent", "(", ")", ",", "ZExt", ",", "ZExt", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "X86", "::", "INSERT_SUBREG", ")", ",", "ZExt", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "ZeroReg", ")", ".", "addReg", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addImm", "(", "X86", "::", "sub_8bit", ")", ";", "ToErase", ".", "push_back", "(", "ZExt", ")", ";", "}", "}", "for", "(", "auto", "&", "I", ":", "ToErase", ")", "I", "->", "eraseFromParent", "(", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "4", "X86::EFLAGS", "X86::SETCCr", "0", "X86::MOVZX32rr8", "X86::EFLAGS", "X86", "X86::GR32RegClass", "X86::GR32_ABCDRegClass", "0", "X86::MOV32r0", "X86::INSERT_SUBREG", "0", "0", "X86::sub_8bit"], "File": "X86FixupSetCC4", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20656, "Length": 359, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAIXAsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "bool", "Ret", "=", "PPCAsmPrinter", "::", "doFinalization", "(", "M", ")", ";", "for", "(", "MCSymbol", "*", "Sym", ":", "ExtSymSDNodeSymbols", ")", "OutStreamer", "->", "emitSymbolAttribute", "(", "Sym", ",", "MCSA_Extern", ")", ";", "return", "Ret", ";", "}", ""], "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"], "File": "PPCAsmPrinter59", "Func": "doFinalization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20657, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "thumb1_emit_multi_reg_push", "(", "unsigned", "long", "mask", ",", "unsigned", "long", "real_regs", ")", "{", "unsigned", "long", "regno", ";", "rtx", "par", "[", "10", "]", ",", "tmp", ",", "reg", ";", "rtx_insn", "*", "insn", ";", "int", "i", ",", "j", ";", "for", "(", "i", "=", "0", ";", "mask", ";", "++", "i", ",", "mask", "&=", "mask", "-", "1", ")", "{", "regno", "=", "ctz_hwi", "(", "mask", ")", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ";", "if", "(", "i", "==", "0", ")", "tmp", "=", "gen_rtx_UNSPEC", "(", "BLKmode", ",", "gen_rtvec", "(", "1", ",", "reg", ")", ",", "UNSPEC_PUSH_MULT", ")", ";", "else", "tmp", "=", "gen_rtx_USE", "(", "VOIDmode", ",", "reg", ")", ";", "par", "[", "i", "]", "=", "tmp", ";", "}", "tmp", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "4", "*", "i", ")", ";", "tmp", "=", "gen_rtx_PRE_MODIFY", "(", "Pmode", ",", "stack_pointer_rtx", ",", "tmp", ")", ";", "tmp", "=", "gen_frame_mem", "(", "BLKmode", ",", "tmp", ")", ";", "tmp", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "tmp", ",", "par", "[", "0", "]", ")", ";", "par", "[", "0", "]", "=", "tmp", ";", "tmp", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec_v", "(", "i", ",", "par", ")", ")", ";", "insn", "=", "emit_insn", "(", "tmp", ")", ";", "tmp", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "4", "*", "i", ")", ";", "tmp", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "stack_pointer_rtx", ",", "tmp", ")", ";", "par", "[", "0", "]", "=", "tmp", ";", "for", "(", "j", "=", "0", ";", "real_regs", ";", "++", "j", ",", "real_regs", "&=", "real_regs", "-", "1", ")", "{", "regno", "=", "ctz_hwi", "(", "real_regs", ")", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ";", "tmp", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "j", "*", "4", ")", ";", "tmp", "=", "gen_frame_mem", "(", "SImode", ",", "tmp", ")", ";", "tmp", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "tmp", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "tmp", ")", "=", "1", ";", "par", "[", "j", "+", "1", "]", "=", "tmp", ";", "}", "if", "(", "j", "==", "0", ")", "tmp", "=", "par", "[", "0", "]", ";", "else", "{", "RTX_FRAME_RELATED_P", "(", "par", "[", "0", "]", ")", "=", "1", ";", "tmp", "=", "gen_rtx_SEQUENCE", "(", "VOIDmode", ",", "gen_rtvec_v", "(", "j", "+", "1", ",", "par", ")", ")", ";", "}", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "tmp", ")", ";", "return", "insn", ";", "}", ""], "natrual_language": ["Like", "emit_multi_reg_push", ",", "but", "allowing", "for", "a", "different", "set", "of", "registers", "to", "be", "described", "as", "saved", ".", "MASK", "is", "the", "set", "of", "registers", "to", "be", "saved", ";", "REAL_REGS", "is", "the", "set", "of", "registers", "to", "be", "described", "as", "saved", ".", "If", "REAL_REGS", "is", "0", ",", "only", "describe", "the", "stack", "adjustment", "."], "TS_V_token": ["arm", "10", "0", "1", "0", "1", "4", "0", "0", "4", "0", "0", "1", "4", "1", "1", "0", "0", "0", "1", "1"], "File": "arm4", "Func": "thumb1_emit_multi_reg_push", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20658, "Length": 358, "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", "(", ")", ";", "++", "MCNumEmitted", ";", "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", ")", ";", "}", ""], "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": "CSKYMCCodeEmitter", "Func": "encodeInstruction", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20659, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_convert_sve_data_to_pred", "(", "rtx", "target", ",", "machine_mode", "mode", ",", "rtx", "src", ")", "{", "machine_mode", "src_mode", "=", "GET_MODE", "(", "src", ")", ";", "return", "aarch64_sve_emit_int_cmp", "(", "target", ",", "mode", ",", "NE", ",", "src_mode", ",", "src", ",", "CONST0_RTX", "(", "src_mode", ")", ")", ";", "}", ""], "natrual_language": ["Use", "a", "comparison", "to", "convert", "integer", "vector", "SRC", "into", "MODE", ",", "which", "is", "the", "corresponding", "SVE", "predicate", "mode", ".", "Use", "TARGET", "for", "the", "result", "if", "it", "'s", "nonnull", "and", "convenient", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_convert_sve_data_to_pred", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20660, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pa_callee_copies", "(", "cumulative_args_t", ",", "const", "function_arg_info", "&", ")", "{", "return", "!", "TARGET_CALLER_COPIES", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CALLEE_COPIES", ".", "The", "callee", "is", "responsible", "for", "copying", "arguments", "passed", "by", "hidden", "reference", "in", "the", "32-bit", "HP", "runtime", ".", "Users", "can", "override", "this", "behavior", "for", "better", "compatibility", "with", "openmp", "at", "the", "risk", "of", "library", "incompatibilities", ".", "Arguments", "are", "always", "passed", "by", "value", "in", "the", "64-bit", "HP", "runtime", "."], "TS_V_token": ["pa"], "File": "pa", "Func": "pa_callee_copies", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20661, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiFrameLowering", "::", "determineFrameLayout", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "LanaiRegisterInfo", "*", "LRI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "FrameSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "unsigned", "StackAlign", "=", "LRI", "->", "needsStackRealignment", "(", "MF", ")", "?", "MFI", ".", "getMaxAlignment", "(", ")", ":", "getStackAlignment", "(", ")", ";", "unsigned", "MaxCallFrameSize", "=", "MFI", ".", "getMaxCallFrameSize", "(", ")", ";", "if", "(", "MFI", ".", "hasVarSizedObjects", "(", ")", ")", "MaxCallFrameSize", "=", "alignTo", "(", "MaxCallFrameSize", ",", "StackAlign", ")", ";", "MFI", ".", "setMaxCallFrameSize", "(", "MaxCallFrameSize", ")", ";", "if", "(", "!", "(", "hasReservedCallFrame", "(", "MF", ")", "&&", "MFI", ".", "adjustsStack", "(", ")", ")", ")", "FrameSize", "+=", "MaxCallFrameSize", ";", "FrameSize", "=", "alignTo", "(", "FrameSize", ",", "StackAlign", ")", ";", "MFI", ".", "setStackSize", "(", "FrameSize", ")", ";", "}", ""], "natrual_language": ["Determine", "the", "frame", "layout", "but", "do", "not", "update", "the", "machine", "function", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai"], "File": "LanaiFrameLowering1", "Func": "determineFrameLayout", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20662, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "nds32_alloc_relax_group_id", "(", ")", "{", "return", "relax_group_id", "++", ";", "}", ""], "natrual_language": ["Group", "the", "following", "pattern", "as", "relax", "candidates", ":", "1.", "sethi", "$", "ra", ",", "hi20", "(", "sym", ")", "ori", "$", "ra", ",", "$", "ra", ",", "lo12", "(", "sym", ")", "==", ">", "addi.gp", "$", "ra", ",", "sym", "2.", "sethi", "$", "ra", ",", "hi20", "(", "sym", ")", "lwi", "$", "rb", ",", "[", "$", "ra", "+", "lo12", "(", "sym", ")", "]", "==", ">", "lwi.gp", "$", "rb", ",", "[", "(", "sym", ")", "]", "3.", "sethi", "$", "ra", ",", "hi20", "(", "sym", ")", "ori", "$", "ra", ",", "$", "ra", ",", "lo12", "(", "sym", ")", "lwi", "$", "rb", ",", "[", "$", "ra", "]", "swi", "$", "rc", ",", "[", "$", "ra", "]", "==", ">", "lwi37", "$", "rb", ",", "[", "(", "sym", ")", "]", "swi37", "$", "rc", ",", "[", "(", "sym", ")", "]"], "TS_V_token": ["nds32"], "File": "nds32-relax-opt", "Func": "nds32_alloc_relax_group_id", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20663, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "PPCInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCTargetMachine18", "Func": "getInstrInfo", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20664, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMCallLowering", "::", "splitToValueTypes", "(", "const", "ArgInfo", "&", "OrigArg", ",", "SmallVectorImpl", "<", "ArgInfo", ">", "&", "SplitArgs", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "ARMTargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "ARMTargetLowering", ">", "(", ")", ";", "LLVMContext", "&", "Ctx", "=", "OrigArg", ".", "Ty", "->", "getContext", "(", ")", ";", "const", "DataLayout", "&", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "SmallVector", "<", "EVT", ",", "4", ">", "SplitVTs", ";", "ComputeValueVTs", "(", "TLI", ",", "DL", ",", "OrigArg", ".", "Ty", ",", "SplitVTs", ",", "nullptr", ",", "nullptr", ",", "0", ")", ";", "assert", "(", "OrigArg", ".", "Regs", ".", "size", "(", ")", "==", "SplitVTs", ".", "size", "(", ")", "&&", "\"Regs / types mismatch\"", ")", ";", "if", "(", "SplitVTs", ".", "size", "(", ")", "==", "1", ")", "{", "auto", "Flags", "=", "OrigArg", ".", "Flags", "[", "0", "]", ";", "unsigned", "OriginalAlignment", "=", "DL", ".", "getABITypeAlignment", "(", "OrigArg", ".", "Ty", ")", ";", "Flags", ".", "setOrigAlign", "(", "OriginalAlignment", ")", ";", "SplitArgs", ".", "emplace_back", "(", "OrigArg", ".", "Regs", "[", "0", "]", ",", "SplitVTs", "[", "0", "]", ".", "getTypeForEVT", "(", "Ctx", ")", ",", "Flags", ",", "OrigArg", ".", "IsFixed", ")", ";", "return", ";", "}", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "SplitVTs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "EVT", "SplitVT", "=", "SplitVTs", "[", "i", "]", ";", "Type", "*", "SplitTy", "=", "SplitVT", ".", "getTypeForEVT", "(", "Ctx", ")", ";", "auto", "Flags", "=", "OrigArg", ".", "Flags", "[", "0", "]", ";", "unsigned", "OriginalAlignment", "=", "DL", ".", "getABITypeAlignment", "(", "SplitTy", ")", ";", "Flags", ".", "setOrigAlign", "(", "OriginalAlignment", ")", ";", "bool", "NeedsConsecutiveRegisters", "=", "TLI", ".", "functionArgumentNeedsConsecutiveRegisters", "(", "SplitTy", ",", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ")", ";", "if", "(", "NeedsConsecutiveRegisters", ")", "{", "Flags", ".", "setInConsecutiveRegs", "(", ")", ";", "if", "(", "i", "==", "e", "-", "1", ")", "Flags", ".", "setInConsecutiveRegsLast", "(", ")", ";", "}", "Register", "PartReg", "=", "OrigArg", ".", "Regs", "[", "i", "]", ";", "SplitArgs", ".", "emplace_back", "(", "PartReg", ",", "SplitTy", ",", "Flags", ",", "OrigArg", ".", "IsFixed", ")", ";", "}", "}", ""], "natrual_language": ["Break", "OrigArgInfo", "into", "one", "or", "more", "pieces", "the", "calling", "convention", "can", "process", ",", "returned", "in", "SplitArgs", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "4", "0", "\"Regs / types mismatch\"", "1", "0", "0", "0", "0", "0", "1"], "File": "ARMCallLowering23", "Func": "splitToValueTypes", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20665, "Length": 331, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "if", "(", "IDVal", "==", "\".word\"", ")", "return", "ParseDirectiveWord", "(", "2", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "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", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["X86", "X86", "\".word\"", "2", "\".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\""], "File": "X86AsmParser114", "Func": "ParseDirective", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20666, "Length": 238, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_pass_by_reference", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "if", "(", "TARGET_64BIT", ")", "{", "enum", "calling_abi", "call_abi", "=", "cum", "?", "cum", "->", "call_abi", ":", "ix86_abi", ";", "if", "(", "call_abi", "==", "MS_ABI", ")", "{", "HOST_WIDE_INT", "msize", "=", "GET_MODE_SIZE", "(", "arg", ".", "mode", ")", ";", "if", "(", "tree", "type", "=", "arg", ".", "type", ")", "{", "if", "(", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", ")", "return", "true", ";", "if", "(", "RECORD_OR_UNION_TYPE_P", "(", "type", ")", ")", "{", "msize", "=", "int_size_in_bytes", "(", "type", ")", ";", "}", "}", "return", "msize", "!=", "1", "&&", "msize", "!=", "2", "&&", "msize", "!=", "4", "&&", "msize", "!=", "8", ";", "}", "else", "if", "(", "arg", ".", "type", "&&", "int_size_in_bytes", "(", "arg", ".", "type", ")", "==", "-", "1", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "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", "."], "TS_V_token": ["i386", "1", "2", "4", "8", "1"], "File": "i386", "Func": "ix86_pass_by_reference", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20667, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64CollectLOH", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "TargetMachine", "&", "TM", "=", "MF", ".", "getTarget", "(", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "TM", ".", "getRegisterInfo", "(", ")", ";", "const", "MachineDominatorTree", "*", "MDT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "MapRegToId", "RegToId", ";", "MapIdToReg", "IdToReg", ";", "ARM64FunctionInfo", "*", "ARM64FI", "=", "MF", ".", "getInfo", "<", "ARM64FunctionInfo", ">", "(", ")", ";", "assert", "(", "ARM64FI", "&&", "\"No MachineFunctionInfo for this function!\"", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Looking for LOH in \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "collectInvolvedReg", "(", "MF", ",", "RegToId", ",", "IdToReg", ",", "TRI", ")", ";", "if", "(", "RegToId", ".", "empty", "(", ")", ")", "return", "false", ";", "MachineInstr", "*", "DummyOp", "=", "nullptr", ";", "if", "(", "BasicBlockScopeOnly", ")", "{", "const", "ARM64InstrInfo", "*", "TII", "=", "static_cast", "<", "const", "ARM64InstrInfo", "*", ">", "(", "TM", ".", "getInstrInfo", "(", ")", ")", ";", "DummyOp", "=", "MF", ".", "CreateMachineInstr", "(", "TII", "->", "get", "(", "ARM64", "::", "COPY", ")", ",", "DebugLoc", "(", ")", ")", ";", "}", "unsigned", "NbReg", "=", "RegToId", ".", "size", "(", ")", ";", "bool", "Modified", "=", "false", ";", "InstrToInstrs", "*", "ColorOpToReachedUses", "=", "new", "InstrToInstrs", "[", "NbReg", "]", ";", "reachingDef", "(", "MF", ",", "ColorOpToReachedUses", ",", "RegToId", ",", "true", ",", "DummyOp", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"ADRP reaching defs\\n\"", ")", ";", "DEBUG", "(", "printReachingDef", "(", "ColorOpToReachedUses", ",", "NbReg", ",", "TRI", ",", "IdToReg", ")", ")", ";", "InstrToInstrs", "ADRPToReachingDefs", ";", "reachedUsesToDefs", "(", "ADRPToReachingDefs", ",", "ColorOpToReachedUses", ",", "RegToId", ",", "true", ")", ";", "computeADRP", "(", "ADRPToReachingDefs", ",", "*", "ARM64FI", ",", "MDT", ")", ";", "delete", "[", "]", "ColorOpToReachedUses", ";", "ColorOpToReachedUses", "=", "new", "InstrToInstrs", "[", "NbReg", "]", ";", "reachingDef", "(", "MF", ",", "ColorOpToReachedUses", ",", "RegToId", ",", "false", ",", "DummyOp", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"All reaching defs\\n\"", ")", ";", "DEBUG", "(", "printReachingDef", "(", "ColorOpToReachedUses", ",", "NbReg", ",", "TRI", ",", "IdToReg", ")", ")", ";", "InstrToInstrs", "UsesToReachingDefs", ";", "reachedUsesToDefs", "(", "UsesToReachingDefs", ",", "ColorOpToReachedUses", ",", "RegToId", ",", "false", ")", ";", "computeOthers", "(", "UsesToReachingDefs", ",", "ColorOpToReachedUses", ",", "*", "ARM64FI", ",", "RegToId", ",", "MDT", ")", ";", "delete", "[", "]", "ColorOpToReachedUses", ";", "if", "(", "BasicBlockScopeOnly", ")", "MF", ".", "DeleteMachineInstr", "(", "DummyOp", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM64", "ARM64", "ARM64", "ARM64", "ARM64", "ARM64", "\"No MachineFunctionInfo for this function!\"", "\"Looking for LOH in \"", "ARM64", "ARM64", "ARM64::COPY", "\"ADRP reaching defs\\n\"", "ARM64", "\"All reaching defs\\n\"", "ARM64"], "File": "ARM64CollectLOH", "Func": "runOnMachineFunction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20668, "Length": 342, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Thumb2 instruction size reduction pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"Thumb2 instruction size reduction pass\""], "File": "Thumb2SizeReduction14", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20669, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nds32_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "regno", ">=", "FIRST_PSEUDO_REGISTER", ")", "return", "true", ";", "if", "(", "(", "TARGET_FPU_SINGLE", "||", "TARGET_FPU_DOUBLE", ")", "&&", "NDS32_IS_FPR_REGNUM", "(", "regno", ")", ")", "{", "if", "(", "NDS32_IS_EXT_FPR_REGNUM", "(", "regno", ")", ")", "return", "(", "NDS32_FPR_REGNO_OK_FOR_DOUBLE", "(", "regno", ")", "&&", "(", "mode", "==", "DFmode", ")", ")", ";", "else", "if", "(", "mode", "==", "SFmode", "||", "mode", "==", "SImode", ")", "return", "NDS32_FPR_REGNO_OK_FOR_SINGLE", "(", "regno", ")", ";", "else", "if", "(", "mode", "==", "DFmode", ")", "return", "NDS32_FPR_REGNO_OK_FOR_DOUBLE", "(", "regno", ")", ";", "return", "false", ";", "}", "if", "(", "regno", "<=", "NDS32_LAST_GPR_REGNUM", ")", "return", "(", "targetm", ".", "hard_regno_nregs", "(", "regno", ",", "mode", ")", "==", "1", "||", "!", "(", "(", "regno", ")", "&", "1", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_MODE_OK", "."], "TS_V_token": ["nds32", "1", "1"], "File": "nds32", "Func": "nds32_hard_regno_mode_ok", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20670, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "VEFrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "Register", "&", "FrameReg", ")", "const", "{", "const", "VESubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "VESubtarget", ">", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "VERegisterInfo", "*", "RegInfo", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "const", "VEMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "VEMachineFunctionInfo", ">", "(", ")", ";", "bool", "isFixed", "=", "MFI", ".", "isFixedObjectIndex", "(", "FI", ")", ";", "bool", "UseFP", "=", "true", ";", "if", "(", "FuncInfo", "->", "isLeafProc", "(", ")", ")", "{", "UseFP", "=", "false", ";", "}", "else", "if", "(", "isFixed", ")", "{", "UseFP", "=", "true", ";", "}", "else", "if", "(", "RegInfo", "->", "needsStackRealignment", "(", "MF", ")", ")", "{", "UseFP", "=", "false", ";", "}", "int64_t", "FrameOffset", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectOffset", "(", "FI", ")", ";", "if", "(", "UseFP", ")", "{", "FrameReg", "=", "RegInfo", "->", "getFrameRegister", "(", "MF", ")", ";", "return", "FrameOffset", ";", "}", "FrameReg", "=", "VE", "::", "SX11", ";", "return", "FrameOffset", "+", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ";", "}", ""], "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", "VE", "VE::SX11"], "File": "VEFrameLowering1", "Func": "getFrameIndexReference", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20671, "Length": 177, "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": 20672, "Length": 320, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_pass_by_reference", "(", "cumulative_args_t", "pcum", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "HOST_WIDE_INT", "size", ";", "machine_mode", "dummymode", ";", "int", "nregs", ";", "if", "(", "mode", "==", "BLKmode", "&&", "type", ")", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "else", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ".", "to_constant", "(", ")", ";", "if", "(", "type", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "}", "if", "(", "size", "<", "0", ")", "return", "true", ";", "if", "(", "aarch64_vfp_is_call_or_return_candidate", "(", "mode", ",", "type", ",", "&", "dummymode", ",", "&", "nregs", ",", "NULL", ")", ")", "return", "false", ";", "return", "size", ">", "2", "*", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PASS_BY_REFERENCE", "."], "TS_V_token": ["aarch64", "0", "2"], "File": "aarch645", "Func": "aarch64_pass_by_reference", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20673, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_option_params_internal", "(", "void", ")", "{", "if", "(", "TARGET_THUMB1", ")", "{", "targetm", ".", "min_anchor_offset", "=", "0", ";", "targetm", ".", "max_anchor_offset", "=", "127", ";", "}", "else", "if", "(", "TARGET_THUMB2", ")", "{", "targetm", ".", "min_anchor_offset", "=", "-", "248", ";", "targetm", ".", "max_anchor_offset", "=", "4095", ";", "}", "else", "{", "targetm", ".", "min_anchor_offset", "=", "TARGET_MIN_ANCHOR_OFFSET", ";", "targetm", ".", "max_anchor_offset", "=", "TARGET_MAX_ANCHOR_OFFSET", ";", "}", "if", "(", "optimize_size", ")", "{", "max_insns_skipped", "=", "6", ";", "if", "(", "TARGET_THUMB2", ")", "max_insns_skipped", "=", "arm_restrict_it", "?", "1", ":", "4", ";", "}", "else", "max_insns_skipped", "=", "(", "TARGET_THUMB2", "&&", "arm_restrict_it", ")", "?", "1", ":", "current_tune", "->", "max_insns_skipped", ";", "}", ""], "natrual_language": ["Recompute", "the", "global", "settings", "depending", "on", "target", "attribute", "options", "."], "TS_V_token": ["arm", "0", "127", "248", "4095", "6", "1", "4", "1"], "File": "arm5", "Func": "arm_option_params_internal", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20674, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mmix_output_octa", "(", "FILE", "*", "stream", ",", "int64_t", "value", ",", "int", "do_begin_end", ")", "{", "if", "(", "do_begin_end", ")", "fprintf", "(", "stream", ",", "\"\\tOCTA \"", ")", ";", "if", "(", "(", "value", "<", "(", "int64_t", ")", "0", "&&", "value", ">", "(", "int64_t", ")", "-", "10000", ")", "||", "(", "value", ">=", "(", "int64_t", ")", "0", "&&", "value", "<=", "(", "int64_t", ")", "16384", ")", ")", "fprintf", "(", "stream", ",", "\"%d\"", ",", "(", "int", ")", "value", ")", ";", "else", "if", "(", "value", ">", "(", "int64_t", ")", "0", "&&", "value", "<", "(", "(", "int64_t", ")", "1", "<<", "31", ")", "*", "2", ")", "fprintf", "(", "stream", ",", "\"#%x\"", ",", "(", "unsigned", "int", ")", "value", ")", ";", "else", "if", "(", "sizeof", "(", "HOST_WIDE_INT", ")", "==", "sizeof", "(", "int64_t", ")", ")", "fprintf", "(", "stream", ",", "\"#\"", "HOST_WIDE_INT_PRINT_HEX_PURE", ",", "(", "HOST_WIDE_INT", ")", "value", ")", ";", "else", "fprintf", "(", "stream", ",", "\"%\"", "PRIu64", ",", "value", ")", ";", "if", "(", "do_begin_end", ")", "fprintf", "(", "stream", ",", "\"\\n\"", ")", ";", "}", ""], "natrual_language": ["Print", "a", "64-bit", "value", ",", "optionally", "prefixed", "by", "assembly", "pseudo", "."], "TS_V_token": ["mmix", "\"\\tOCTA \"", "0", "10000", "0", "16384", "\"%d\"", "0", "1", "31", "2", "\"#%x\"", "\"#\"", "\"%\"", "\"\\n\""], "File": "mmix", "Func": "mmix_output_octa", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20675, "Length": 158, "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": 20676, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "KudeyarRegisterInfo", "::", "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", ")", "{", "Amount", "=", "(", "Amount", "+", "StackAlign", "-", "1", ")", "/", "StackAlign", "*", "StackAlign", ";", "MachineInstr", "*", "New", "=", "0", ";", "if", "(", "Old", "->", "getOpcode", "(", ")", "==", "TII", ".", "getCallFrameSetupOpcode", "(", ")", ")", "{", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "Kudeyar", "::", "SUB_RR", ")", ",", "Kudeyar", "::", "SP", ")", ".", "addReg", "(", "Kudeyar", "::", "SP", ")", ".", "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", "(", "Kudeyar", "::", "ADD_RR", ")", ",", "Kudeyar", "::", "SP", ")", ".", "addReg", "(", "Kudeyar", "::", "SP", ")", ".", "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", "(", "Kudeyar", "::", "SUB_RR", ")", ",", "Kudeyar", "::", "SP", ")", ".", "addReg", "(", "Kudeyar", "::", "SP", ")", ".", "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": ["Kudeyar", "Kudeyar", "0", "0", "1", "0", "Kudeyar::SUB_RR", "Kudeyar::SP", "Kudeyar::SP", "1", "Kudeyar::ADD_RR", "Kudeyar::SP", "Kudeyar::SP", "3", "1", "Kudeyar::SUB_RR", "Kudeyar::SP", "Kudeyar::SP", "3"], "File": "KudeyarRegisterInfo", "Func": "eliminateCallFramePseudoInstr", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20677, "Length": 362, "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", "=", "getMipsRegisterNumbering", "(", "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", "(", ")", ")", ";", "}", "else", "if", "(", "MO", ".", "isExpr", "(", ")", ")", "{", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "MCExpr", "::", "ExprKind", "Kind", "=", "Expr", "->", "getKind", "(", ")", ";", "unsigned", "Ret", "=", "0", ";", "if", "(", "Kind", "==", "MCExpr", "::", "Binary", ")", "{", "const", "MCBinaryExpr", "*", "BE", "=", "static_cast", "<", "const", "MCBinaryExpr", "*", ">", "(", "Expr", ")", ";", "Expr", "=", "BE", "->", "getLHS", "(", ")", ";", "Kind", "=", "Expr", "->", "getKind", "(", ")", ";", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "BE", "->", "getRHS", "(", ")", ")", ";", "assert", "(", "(", "Kind", "==", "MCExpr", "::", "SymbolRef", ")", "&&", "CE", "&&", "\"Binary expression must be sym+const.\"", ")", ";", "Ret", "=", "CE", "->", "getValue", "(", ")", ";", "}", "if", "(", "Kind", "==", "MCExpr", "::", "SymbolRef", ")", "{", "Mips", "::", "Fixups", "FixupKind", ";", "switch", "(", "cast", "<", "MCSymbolRefExpr", ">", "(", "Expr", ")", "->", "getKind", "(", ")", ")", "{", "case", "MCSymbolRefExpr", "::", "VK_Mips_GPREL", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_GPREL16", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_GOT_CALL", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_CALL16", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_GOT", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_GOT16", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_ABS_HI", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_HI16", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_ABS_LO", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_LO16", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_TLSGD", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_TLSGD", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_GOTTPREL", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_GOTTPREL", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_TPREL_HI", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_TPREL_HI", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK_Mips_TPREL_LO", ":", "FixupKind", "=", "Mips", "::", "fixup_Mips_TPREL_LO", ";", "break", ";", "default", ":", "return", "Ret", ";", "}", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "0", ",", "Expr", ",", "MCFixupKind", "(", "FixupKind", ")", ")", ")", ";", "}", "return", "Ret", ";", "}", "llvm_unreachable", "(", "\"Unable to encode MCOperand!\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["Mips", "Mips", "Mips", "32", "0", "\"Binary expression must be sym+const.\"", "Mips::Fixups", "Mips", "Mips::fixup_Mips_GPREL16", "Mips", "Mips::fixup_Mips_CALL16", "Mips", "Mips::fixup_Mips_GOT16", "Mips", "Mips::fixup_Mips_HI16", "Mips", "Mips::fixup_Mips_LO16", "Mips", "Mips::fixup_Mips_TLSGD", "Mips", "Mips::fixup_Mips_GOTTPREL", "Mips", "Mips::fixup_Mips_TPREL_HI", "Mips", "Mips::fixup_Mips_TPREL_LO", "0", "\"Unable to encode MCOperand!\"", "0"], "File": "MipsMCCodeEmitter69", "Func": "getMachineOpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20678, "Length": 421, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "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", ")", "{", "if", "(", "isTailCall", ")", "isTailCall", "=", "IsEligibleForTailCallOptimization", "(", "Callee", ",", "CallConv", ",", "isVarArg", ",", "Ins", ",", "DAG", ")", ";", "if", "(", "PPCSubTarget", ".", "isSVR4ABI", "(", ")", "&&", "!", "PPCSubTarget", ".", "isPPC64", "(", ")", ")", "{", "return", "LowerCall_SVR4", "(", "Chain", ",", "Callee", ",", "CallConv", ",", "isVarArg", ",", "isTailCall", ",", "Outs", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";", "}", "else", "{", "return", "LowerCall_Darwin", "(", "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": ["PowerPC", "PPC", "ISD::OutputArg", "ISD::InputArg", "PPC", "PPC", "PPC"], "File": "PPCISelLowering107", "Func": "LowerCall", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20679, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FPGATTIImpl", "::", "hasBranchDivergence", "(", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "branch", "divergence", "exists", "."], "TS_V_token": ["FPGA", "FPGA"], "File": "FPGATargetTransformInfo", "Func": "hasBranchDivergence", "Target": "FPGA", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20680, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "expand_strncmp_align_check", "(", "rtx", "strncmp_label", ",", "rtx", "src", ",", "HOST_WIDE_INT", "bytes", ")", "{", "rtx", "lab_ref", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "strncmp_label", ")", ";", "rtx", "src_check", "=", "copy_addr_to_reg", "(", "XEXP", "(", "src", ",", "0", ")", ")", ";", "if", "(", "GET_MODE", "(", "src_check", ")", "==", "SImode", ")", "emit_insn", "(", "gen_andsi3", "(", "src_check", ",", "src_check", ",", "GEN_INT", "(", "0xfff", ")", ")", ")", ";", "else", "emit_insn", "(", "gen_anddi3", "(", "src_check", ",", "src_check", ",", "GEN_INT", "(", "0xfff", ")", ")", ")", ";", "rtx", "cond", "=", "gen_reg_rtx", "(", "CCmode", ")", ";", "emit_move_insn", "(", "cond", ",", "gen_rtx_COMPARE", "(", "CCmode", ",", "src_check", ",", "GEN_INT", "(", "4096", "-", "bytes", ")", ")", ")", ";", "rtx", "cmp_rtx", "=", "gen_rtx_LT", "(", "VOIDmode", ",", "cond", ",", "const0_rtx", ")", ";", "rtx", "ifelse", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "cmp_rtx", ",", "pc_rtx", ",", "lab_ref", ")", ";", "rtx", "j", "=", "emit_jump_insn", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "ifelse", ")", ")", ";", "JUMP_LABEL", "(", "j", ")", "=", "strncmp_label", ";", "LABEL_NUSES", "(", "strncmp_label", ")", "+=", "1", ";", "}", ""], "natrual_language": ["Generate", "page", "crossing", "check", "and", "branch", "code", "to", "set", "up", "for", "strncmp", "when", "we", "do", "n't", "have", "DI", "alignment", ".", "STRNCMP_LABEL", "is", "the", "label", "to", "branch", "if", "there", "is", "a", "page", "crossing", ".", "SRC_ADDR", "is", "the", "string", "address", "to", "be", "examined", ".", "BYTES", "is", "the", "max", "number", "of", "bytes", "to", "compare", "."], "TS_V_token": ["rs6000", "0", "0xfff", "0xfff", "4096", "1"], "File": "rs60006", "Func": "expand_strncmp_align_check", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20681, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "SystemZMCAsmBackend", "::", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "SystemZ", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"FK_390_PC16DBL\"", ",", "0", ",", "16", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"FK_390_PC32DBL\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"FK_390_TLS_CALL\"", ",", "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": ["SystemZ", "SystemZ", "SystemZ::NumTargetFixupKinds", "\"FK_390_PC16DBL\"", "0", "16", "\"FK_390_PC32DBL\"", "0", "32", "\"FK_390_TLS_CALL\"", "0", "0", "0", "\"Invalid kind!\""], "File": "SystemZMCAsmBackend", "Func": "getFixupKindInfo", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20682, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_no_early_alu_shift_dep", "(", "rtx", "producer", ",", "rtx", "consumer", ")", "{", "rtx", "value", ",", "op", ";", "rtx", "early_op", ";", "if", "(", "!", "arm_get_set_operands", "(", "producer", ",", "consumer", ",", "&", "value", ",", "&", "op", ")", ")", "return", "0", ";", "if", "(", "(", "early_op", "=", "arm_find_shift_sub_rtx", "(", "op", ")", ")", ")", "{", "if", "(", "REG_P", "(", "early_op", ")", ")", "early_op", "=", "op", ";", "return", "!", "reg_overlap_mentioned_p", "(", "value", ",", "early_op", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "the", "CONSUMER", "instruction", "(", "an", "ALU", "op", ")", "does", "not", "have", "an", "early", "register", "shift", "value", "or", "amount", "dependency", "on", "the", "result", "of", "PRODUCER", "."], "TS_V_token": ["arm", "0", "0"], "File": "aarch-common2", "Func": "arm_no_early_alu_shift_dep", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20683, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ia64_first_cycle_multipass_dfa_lookahead_guard", "(", "rtx_insn", "*", "insn", ",", "int", "ready_index", ")", "{", "gcc_assert", "(", "insn", "&&", "INSN_P", "(", "insn", ")", ")", ";", "if", "(", "pending_data_specs", ">=", "16", "&&", "(", "TODO_SPEC", "(", "insn", ")", "&", "BEGIN_DATA", ")", ")", "return", "ready_index", "==", "0", "?", "-", "1", ":", "1", ";", "if", "(", "ready_index", "==", "0", ")", "return", "0", ";", "if", "(", "(", "!", "reload_completed", "||", "!", "safe_group_barrier_needed", "(", "insn", ")", ")", "&&", "(", "!", "mflag_sched_mem_insns_hard_limit", "||", "!", "is_load_p", "(", "insn", ")", "||", "mem_ops_in_group", "[", "current_cycle", "%", "4", "]", "<", "ia64_max_memory_insns", ")", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["We", "are", "choosing", "insn", "from", "the", "ready", "queue", ".", "Return", "nonzero", "if", "INSN", "can", "be", "chosen", "."], "TS_V_token": ["ia64", "16", "0", "1", "1", "0", "0", "4", "0", "1"], "File": "ia64", "Func": "ia64_first_cycle_multipass_dfa_lookahead_guard", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20684, "Length": 96, "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", "(", ")", ";", "assert", "(", "!", "RegInfo", "->", "needsStackRealignment", "(", "MF", ")", "&&", "\"No stack realignment on AArch64!\"", ")", ";", "return", "(", "MFI", "->", "hasCalls", "(", ")", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", "||", "MFI", "->", "isFrameAddressTaken", "(", ")", "||", "MFI", "->", "hasStackMap", "(", ")", "||", "MFI", "->", "hasPatchPoint", "(", ")", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["AArch64", "AArch64", "\"No stack realignment on AArch64!\""], "File": "AArch64FrameLowering34", "Func": "hasFP", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20685, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64AsmPrinter", "::", "emitJumpTableInfo", "(", ")", "{", "const", "MachineJumpTableInfo", "*", "MJTI", "=", "MF", "->", "getJumpTableInfo", "(", ")", ";", "if", "(", "!", "MJTI", ")", "return", ";", "const", "std", "::", "vector", "<", "MachineJumpTableEntry", ">", "&", "JT", "=", "MJTI", "->", "getJumpTables", "(", ")", ";", "if", "(", "JT", ".", "empty", "(", ")", ")", "return", ";", "const", "Function", "&", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "const", "TargetLoweringObjectFile", "&", "TLOF", "=", "getObjFileLowering", "(", ")", ";", "bool", "JTInDiffSection", "=", "!", "STI", "->", "isTargetCOFF", "(", ")", "||", "!", "TLOF", ".", "shouldPutJumpTableInFunctionSection", "(", "MJTI", "->", "getEntryKind", "(", ")", "==", "MachineJumpTableInfo", "::", "EK_LabelDifference32", ",", "F", ")", ";", "if", "(", "JTInDiffSection", ")", "{", "MCSection", "*", "ReadOnlySec", "=", "TLOF", ".", "getSectionForJumpTable", "(", "F", ",", "TM", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "ReadOnlySec", ")", ";", "}", "auto", "AFI", "=", "MF", "->", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "for", "(", "unsigned", "JTI", "=", "0", ",", "e", "=", "JT", ".", "size", "(", ")", ";", "JTI", "!=", "e", ";", "++", "JTI", ")", "{", "const", "std", "::", "vector", "<", "MachineBasicBlock", "*", ">", "&", "JTBBs", "=", "JT", "[", "JTI", "]", ".", "MBBs", ";", "if", "(", "JTBBs", ".", "empty", "(", ")", ")", "continue", ";", "unsigned", "Size", "=", "AFI", "->", "getJumpTableEntrySize", "(", "JTI", ")", ";", "emitAlignment", "(", "Align", "(", "Size", ")", ")", ";", "OutStreamer", "->", "emitLabel", "(", "GetJTISymbol", "(", "JTI", ")", ")", ";", "for", "(", "auto", "*", "JTBB", ":", "JTBBs", ")", "emitJumpTableEntry", "(", "MJTI", ",", "JTBB", ",", "JTI", ")", ";", "}", "}", ""], "natrual_language": ["Print", "assembly", "representations", "of", "the", "jump", "tables", "used", "by", "the", "current", "function", "to", "the", "current", "output", "stream", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "0"], "File": "AArch64AsmPrinter14", "Func": "emitJumpTableInfo", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20686, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "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": ["ARM", "ARM"], "File": "ARMTargetMachine", "Func": "addLegalizeMachineIR", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20687, "Length": 19, "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": 20688, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_set_current_function", "(", "tree", "fndecl", ")", "{", "tree", "old_tree", "=", "(", "rs6000_previous_fndecl", "?", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "rs6000_previous_fndecl", ")", ":", "NULL_TREE", ")", ";", "tree", "new_tree", "=", "(", "fndecl", "?", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "fndecl", ")", ":", "NULL_TREE", ")", ";", "if", "(", "TARGET_DEBUG_TARGET", ")", "{", "bool", "print_final", "=", "false", ";", "fprintf", "(", "stderr", ",", "\"\\n==================== rs6000_set_current_function\"", ")", ";", "if", "(", "fndecl", ")", "fprintf", "(", "stderr", ",", "\", fndecl %s (%p)\"", ",", "(", "DECL_NAME", "(", "fndecl", ")", "?", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "fndecl", ")", ")", ":", "\"\"", ")", ",", "(", "void", "*", ")", "fndecl", ")", ";", "if", "(", "rs6000_previous_fndecl", ")", "fprintf", "(", "stderr", ",", "\", prev_fndecl (%p)\"", ",", "(", "void", "*", ")", "rs6000_previous_fndecl", ")", ";", "fprintf", "(", "stderr", ",", "\"\\n\"", ")", ";", "if", "(", "new_tree", ")", "{", "fprintf", "(", "stderr", ",", "\"\\nnew fndecl target specific options:\\n\"", ")", ";", "debug_tree", "(", "new_tree", ")", ";", "print_final", "=", "true", ";", "}", "if", "(", "old_tree", ")", "{", "fprintf", "(", "stderr", ",", "\"\\nold fndecl target specific options:\\n\"", ")", ";", "debug_tree", "(", "old_tree", ")", ";", "print_final", "=", "true", ";", "}", "if", "(", "print_final", ")", "fprintf", "(", "stderr", ",", "\"--------------------\\n\"", ")", ";", "}", "if", "(", "fndecl", "&&", "fndecl", "!=", "rs6000_previous_fndecl", ")", "{", "rs6000_previous_fndecl", "=", "fndecl", ";", "if", "(", "old_tree", "==", "new_tree", ")", ";", "else", "if", "(", "new_tree", "&&", "new_tree", "!=", "target_option_default_node", ")", "{", "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", "TREE_TARGET_GLOBALS", "(", "new_tree", ")", "=", "save_target_globals_default_opts", "(", ")", ";", "}", "else", "if", "(", "old_tree", "&&", "old_tree", "!=", "target_option_default_node", ")", "{", "new_tree", "=", "target_option_current_node", ";", "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", "(", ")", ";", "}", "}", "}", ""], "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": ["rs6000", "\"\\n==================== rs6000_set_current_function\"", "\", fndecl %s (%p)\"", "\"\"", "\", prev_fndecl (%p)\"", "\"\\n\"", "\"\\nnew fndecl target specific options:\\n\"", "\"\\nold fndecl target specific options:\\n\"", "\"--------------------\\n\""], "File": "rs60004", "Func": "rs6000_set_current_function", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20689, "Length": 300, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToAddress", "(", "const", "CallLowering", "::", "ArgInfo", "&", "Arg", ",", "Register", "Addr", ",", "uint64_t", "Size", ",", "MachinePointerInfo", "&", "MPO", ",", "CCValAssign", "&", "VA", ")", "override", "{", "unsigned", "MaxSize", "=", "Size", "*", "8", ";", "if", "(", "!", "Arg", ".", "IsFixed", ")", "MaxSize", "=", "0", ";", "assert", "(", "Arg", ".", "Regs", ".", "size", "(", ")", "==", "1", ")", ";", "Register", "ValVReg", "=", "VA", ".", "getLocInfo", "(", ")", "!=", "CCValAssign", "::", "LocInfo", "::", "FPExt", "?", "extendRegister", "(", "Arg", ".", "Regs", "[", "0", "]", ",", "VA", ",", "MaxSize", ")", ":", "Arg", ".", "Regs", "[", "0", "]", ";", "const", "LLT", "RegTy", "=", "MRI", ".", "getType", "(", "ValVReg", ")", ";", "if", "(", "RegTy", ".", "getSizeInBytes", "(", ")", ">", "Size", ")", "Size", "=", "RegTy", ".", "getSizeInBytes", "(", ")", ";", "assignValueToAddress", "(", "ValVReg", ",", "Addr", ",", "Size", ",", "MPO", ",", "VA", ")", ";", "}", ""], "natrual_language": ["An", "overload", "which", "takes", "an", "ArgInfo", "if", "additional", "information", "about", "the", "arg", "is", "needed", "."], "TS_V_token": ["AArch64", "8", "0", "1", "0", "0"], "File": "AArch64CallLowering26", "Func": "assignValueToAddress", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20690, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_sve_prefetch_operand_p", "(", "rtx", "op", ",", "machine_mode", "mode", ")", "{", "struct", "aarch64_address_info", "addr", ";", "if", "(", "!", "aarch64_classify_address", "(", "&", "addr", ",", "op", ",", "mode", ",", "false", ",", "ADDR_QUERY_ANY", ")", ")", "return", "false", ";", "if", "(", "addr", ".", "type", "==", "ADDRESS_REG_IMM", ")", "return", "offset_6bit_signed_scaled_p", "(", "mode", ",", "addr", ".", "const_offset", ")", ";", "return", "addr", ".", "type", "==", "ADDRESS_REG_REG", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "is", "a", "valid", "address", "for", "an", "SVE", "PRF", "[", "BHWD", "]", "instruction", ",", "addressing", "memory", "of", "mode", "MODE", "."], "TS_V_token": ["aarch64"], "File": "aarch641", "Func": "aarch64_sve_prefetch_operand_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20691, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "AArch64RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "AArch64FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "WSP", ")", ";", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "WZR", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", "||", "TT", ".", "isOSDarwin", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "W29", ")", ";", "for", "(", "size_t", "i", "=", "0", ";", "i", "<", "AArch64", "::", "GPR32commonRegClass", ".", "getNumRegs", "(", ")", ";", "++", "i", ")", "{", "if", "(", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isXRegisterReserved", "(", "i", ")", ")", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "GPR32commonRegClass", ".", "getRegister", "(", "i", ")", ")", ";", "}", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "W19", ")", ";", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "SpeculativeLoadHardening", ")", ")", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "W16", ")", ";", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "isPagerando", "(", ")", ")", "markSuperRegs", "(", "Reserved", ",", "AArch64", "::", "W20", ")", ";", "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": ["AArch64", "AArch64", "AArch64", "AArch64::WSP", "AArch64::WZR", "AArch64::W29", "0", "AArch64::GPR32commonRegClass", "AArch64", "AArch64::GPR32commonRegClass", "AArch64::W19", "AArch64::W16", "AArch64::W20"], "File": "AArch64RegisterInfo2", "Func": "getReservedRegs", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20692, "Length": 197, "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": 20693, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64TargetMachine", "::", "AArch64TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "LittleEndian", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "Options", ".", "MCOptions", ",", "LittleEndian", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "TT", ",", "RM", ")", ",", "CM", ",", "OL", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", ",", "isLittle", "(", "LittleEndian", ")", "{", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "AArch64", "architecture", "model", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine17", "Func": "AArch64TargetMachine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20694, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LanaiSelectionDAGInfo", "::", "EmitTargetCodeForMemcpy", "(", "SelectionDAG", "&", ",", "const", "SDLoc", "&", ",", "SDValue", ",", "SDValue", ",", "SDValue", ",", "SDValue", "Size", ",", "Align", ",", "bool", ",", "bool", ",", "MachinePointerInfo", ",", "MachinePointerInfo", ")", "const", "{", "ConstantSDNode", "*", "ConstantSize", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Size", ")", ";", "if", "(", "!", "ConstantSize", ")", "return", "SDValue", "(", ")", ";", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memcpy", "."], "TS_V_token": ["Lanai", "Lanai"], "File": "LanaiSelectionDAGInfo1", "Func": "EmitTargetCodeForMemcpy", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20695, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64TTI", "::", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "OperandValueKind", "Opd1Info", ",", "OperandValueKind", "Opd2Info", ",", "OperandValueProperties", "Opd1PropInfo", ",", "OperandValueProperties", "Opd2PropInfo", ")", "const", "{", "std", "::", "pair", "<", "unsigned", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "Ty", ")", ";", "int", "ISD", "=", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", ";", "switch", "(", "ISD", ")", "{", "default", ":", "return", "TargetTransformInfo", "::", "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::ADD", "ISD::MUL", "ISD::XOR", "ISD::OR", "ISD::AND", "1"], "File": "AArch64TargetTransformInfo67", "Func": "getArithmeticInstrCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20696, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "mips_emit_call_insn", "(", "rtx", "pattern", ",", "rtx", "orig_addr", ",", "rtx", "addr", ",", "bool", "lazy_p", ")", "{", "rtx_insn", "*", "insn", ";", "rtx", "reg", ";", "insn", "=", "emit_call_insn", "(", "pattern", ")", ";", "if", "(", "TARGET_MIPS16", "&&", "mips_use_pic_fn_addr_reg_p", "(", "orig_addr", ")", ")", "{", "reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "PIC_FUNCTION_ADDR_REGNUM", ")", ";", "emit_insn_before", "(", "gen_move_insn", "(", "reg", ",", "addr", ")", ",", "insn", ")", ";", "use_reg", "(", "&", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ",", "reg", ")", ";", "}", "if", "(", "lazy_p", ")", "use_reg", "(", "&", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ",", "pic_offset_table_rtx", ")", ";", "if", "(", "TARGET_USE_GOT", ")", "{", "use_reg", "(", "&", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ",", "gen_rtx_REG", "(", "Pmode", ",", "GOT_VERSION_REGNUM", ")", ")", ";", "emit_insn", "(", "gen_update_got_version", "(", ")", ")", ";", "}", "if", "(", "TARGET_MIPS16", "&&", "TARGET_EXPLICIT_RELOCS", "&&", "TARGET_CALL_CLOBBERED_GP", ")", "{", "rtx", "post_call_tmp_reg", "=", "gen_rtx_REG", "(", "word_mode", ",", "POST_CALL_TMP_REG", ")", ";", "clobber_reg", "(", "&", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ",", "post_call_tmp_reg", ")", ";", "}", "return", "insn", ";", "}", ""], "natrual_language": ["Emit", "a", "call", "sequence", "with", "call", "pattern", "PATTERN", "and", "return", "the", "call", "instruction", "itself", "(", "which", "is", "not", "necessarily", "the", "last", "instruction", "emitted", ")", ".", "ORIG_ADDR", "is", "the", "original", ",", "unlegitimized", "address", ",", "ADDR", "is", "the", "legitimized", "form", ",", "and", "LAZY_P", "is", "true", "if", "the", "call", "address", "is", "lazily-bound", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_emit_call_insn", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20697, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pru_can_eliminate", "(", "const", "int", "from", "ATTRIBUTE_UNUSED", ",", "const", "int", "to", ")", "{", "if", "(", "to", "==", "STACK_POINTER_REGNUM", ")", "return", "!", "frame_pointer_needed", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CAN_ELIMINATE", "."], "TS_V_token": ["pru"], "File": "pru", "Func": "pru_can_eliminate", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20698, "Length": 28, "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", "(", "!", "SSE_REGNO_P", "(", "regno", ")", "&&", "ix86_save_reg", "(", "regno", ",", "maybe_eh_return", ")", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "word_mode", ",", "regno", ")", ";", "rtx", "insn", ",", "mem", ";", "mem", "=", "choose_baseaddr", "(", "cfa_offset", ")", ";", "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_RTX", ",", "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": "i3864", "Func": "ix86_emit_restore_regs_using_mov", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20699, "Length": 156, "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", ";", "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", "(", ")", ",", "SDLoc", "(", "Op", ")", ",", "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", "1", "0", "13"], "File": "SparcISelLowering26", "Func": "LowerAsmOperandForConstraint", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20700, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_register_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "from", ",", "reg_class_t", "to", ")", "{", "int", "ret", ";", "if", "(", "TARGET_DEBUG_COST", ")", "dbg_cost_ctrl", "++", ";", "if", "(", "reg_classes_intersect_p", "(", "to", ",", "GENERAL_REGS", ")", "||", "reg_classes_intersect_p", "(", "from", ",", "GENERAL_REGS", ")", ")", "{", "reg_class_t", "rclass", "=", "from", ";", "if", "(", "!", "reg_classes_intersect_p", "(", "to", ",", "GENERAL_REGS", ")", ")", "rclass", "=", "to", ";", "if", "(", "rclass", "==", "FLOAT_REGS", "||", "rclass", "==", "ALTIVEC_REGS", "||", "rclass", "==", "VSX_REGS", ")", "ret", "=", "(", "rs6000_memory_move_cost", "(", "mode", ",", "rclass", ",", "false", ")", "+", "rs6000_memory_move_cost", "(", "mode", ",", "GENERAL_REGS", ",", "false", ")", ")", ";", "else", "if", "(", "rclass", "==", "CR_REGS", ")", "ret", "=", "4", ";", "else", "if", "(", "(", "rs6000_cpu", "==", "PROCESSOR_POWER6", "||", "rs6000_cpu", "==", "PROCESSOR_POWER7", "||", "rs6000_cpu", "==", "PROCESSOR_POWER8", "||", "rs6000_cpu", "==", "PROCESSOR_POWER9", ")", "&&", "reg_classes_intersect_p", "(", "rclass", ",", "LINK_OR_CTR_REGS", ")", ")", "ret", "=", "6", "*", "hard_regno_nregs", "(", "0", ",", "mode", ")", ";", "else", "ret", "=", "2", "*", "hard_regno_nregs", "(", "0", ",", "mode", ")", ";", "}", "else", "if", "(", "VECTOR_MEM_VSX_P", "(", "mode", ")", "&&", "reg_classes_intersect_p", "(", "to", ",", "VSX_REGS", ")", "&&", "reg_classes_intersect_p", "(", "from", ",", "VSX_REGS", ")", ")", "ret", "=", "2", "*", "hard_regno_nregs", "(", "FIRST_FPR_REGNO", ",", "mode", ")", ";", "else", "if", "(", "reg_classes_intersect_p", "(", "to", ",", "from", ")", ")", "ret", "=", "(", "FLOAT128_2REG_P", "(", "mode", ")", ")", "?", "4", ":", "2", ";", "else", "ret", "=", "(", "rs6000_register_move_cost", "(", "mode", ",", "GENERAL_REGS", ",", "to", ")", "+", "rs6000_register_move_cost", "(", "mode", ",", "from", ",", "GENERAL_REGS", ")", ")", ";", "if", "(", "TARGET_DEBUG_COST", ")", "{", "if", "(", "dbg_cost_ctrl", "==", "1", ")", "fprintf", "(", "stderr", ",", "\"rs6000_register_move_cost:, ret=%d, mode=%s, from=%s, to=%s\\n\"", ",", "ret", ",", "GET_MODE_NAME", "(", "mode", ")", ",", "reg_class_names", "[", "from", "]", ",", "reg_class_names", "[", "to", "]", ")", ";", "dbg_cost_ctrl", "--", ";", "}", "return", "ret", ";", "}", ""], "natrual_language": ["A", "C", "expression", "returning", "the", "cost", "of", "moving", "data", "from", "a", "register", "of", "class", "CLASS1", "to", "one", "of", "CLASS2", "."], "TS_V_token": ["powerpcspe", "4", "6", "0", "2", "0", "2", "4", "2", "1", "\"rs6000_register_move_cost:, ret=%d, mode=%s, from=%s, to=%s\\n\""], "File": "powerpcspe", "Func": "rs6000_register_move_cost", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20701, "Length": 281, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "TOYInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["TOY", "TOY"], "File": "TOYTargetMachine", "Func": "getInstrInfo", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20702, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "removeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "int", "*", "BytesRemoved", ")", "const", "{", "return", "removeBranchImpl", "(", "MBB", ",", "BytesRemoved", ",", "false", ")", ";", "}", ""], "natrual_language": ["Remove", "the", "branching", "code", "at", "the", "end", "of", "the", "specific", "MBB", "."], "TS_V_token": ["X86", "X86"], "File": "X86InstrInfo140", "Func": "removeBranch", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20703, "Length": 26, "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": 20704, "Length": 390, "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": 20705, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0TargetLowering", "::", "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", "=", "Cpu0", "::", "T9", ";", "RegsToPass", ".", "push_front", "(", "std", "::", "make_pair", "(", "T9Reg", ",", "Callee", ")", ")", ";", "}", "else", "{", "Ops", ".", "push_back", "(", "Callee", ")", ";", "}", "if", "(", "IsPICCall", "&&", "!", "InternalLinkage", ")", "{", "unsigned", "GPReg", "=", "Cpu0", "::", "GP", ";", "EVT", "Ty", "=", "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", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "const", "unsigned", "*", "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": ["Cpu0", "Cpu0", "Cpu0::T9", "Cpu0::GP", "MVT::i32", "0", "1", "0", "\"Missing call preserved mask for calling convention\""], "File": "Cpu0ISelLowering4", "Func": "getOpndList", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20706, "Length": 321, "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", ")", "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"], "File": "X86InstrInfo136", "Func": "isSchedulingBoundary", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20707, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "shouldForceRelocation", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ")", "override", "{", "switch", "(", "(", "unsigned", ")", "Fixup", ".", "getKind", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "FK_NONE", ":", "return", "true", ";", "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::fixup_ppc_br24", "PPC::fixup_ppc_br24abs", "2", "PPC", "0"], "File": "PPCAsmBackend35", "Func": "shouldForceRelocation", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20708, "Length": 121, "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", "{", "Value", "=", "adjustFixupValue", "(", "Fixup", ".", "getKind", "(", ")", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "llvm_unreachable", "(", "\"applyFixup() unimplemented\"", ")", ";", "}", ""], "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": ["VE", "\"applyFixup() unimplemented\""], "File": "VEAsmBackend1", "Func": "applyFixup", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20709, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"AArch64 Condition Optimizer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64", "\"AArch64 Condition Optimizer\""], "File": "AArch64ConditionOptimizer (2)", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20710, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64A57FPLoadBalancing", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "bool", "Changed", "=", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** AArch64A57FPLoadBalancing *****\\n\"", ")", ";", "MRI", "=", "&", "F", ".", "getRegInfo", "(", ")", ";", "TRI", "=", "F", ".", "getRegInfo", "(", ")", ".", "getTargetRegisterInfo", "(", ")", ";", "RCI", ".", "runOnMachineFunction", "(", "F", ")", ";", "for", "(", "auto", "&", "MBB", ":", "F", ")", "{", "Changed", "|=", "runOnBasicBlock", "(", "MBB", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"***** AArch64A57FPLoadBalancing *****\\n\""], "File": "AArch64A57FPLoadBalancing2", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20711, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "shouldBuildLookupTablesForConstant", "(", "Constant", "*", "C", ")", "const", "{", "if", "(", "ST", "->", "isROPI", "(", ")", "||", "ST", "->", "isRWPI", "(", ")", ")", "return", "!", "C", "->", "needsRelocation", "(", ")", ";", "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": "ARMTargetTransformInfo1", "Func": "shouldBuildLookupTablesForConstant", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20712, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "aarch64_clamp_to_uimm12_shift", "(", "HOST_WIDE_INT", "val", ")", "{", "gcc_assert", "(", "(", "val", "&", "0xffffff", ")", "==", "val", ")", ";", "if", "(", "(", "(", "val", "&", "0xfff", ")", "<<", "0", ")", "==", "val", ")", "return", "val", ";", "return", "val", "&", "(", "0xfff", "<<", "12", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "nearest", "value", "to", "VAL", "that", "will", "fit", "as", "a", "12-bit", "unsigned", "immediate", "that", "can", "be", "created", "with", "a", "left", "shift", "of", "0", "or", "12", "."], "TS_V_token": ["aarch64", "0xffffff", "0xfff", "0", "0xfff", "12"], "File": "aarch64", "Func": "aarch64_clamp_to_uimm12_shift", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20713, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_use_anchors_for_symbol_p", "(", "const_rtx", "symbol", ")", "{", "switch", "(", "mips_classify_symbol", "(", "symbol", ",", "SYMBOL_CONTEXT_MEM", ")", ")", "{", "case", "SYMBOL_PC_RELATIVE", ":", "case", "SYMBOL_GP_RELATIVE", ":", "return", "false", ";", "default", ":", "return", "default_use_anchors_for_symbol_p", "(", "symbol", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_USE_ANCHORS_FOR_SYMBOL_P", ".", "We", "do", "n't", "want", "to", "use", "anchors", "for", "small", "data", ":", "the", "GP", "register", "acts", "as", "an", "anchor", "in", "that", "case", ".", "We", "also", "do", "n't", "want", "to", "use", "them", "for", "PC-relative", "accesses", ",", "where", "the", "PC", "acts", "as", "an", "anchor", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_use_anchors_for_symbol_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20714, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "function_expander", "::", "use_contiguous_prefetch_insn", "(", "insn_code", "icode", ")", "{", "add_input_operand", "(", "icode", ",", "args", "[", "0", "]", ")", ";", "add_address_operand", "(", "get_contiguous_base", "(", "VNx16QImode", ")", ")", ";", "for", "(", "unsigned", "int", "i", "=", "args", ".", "length", "(", ")", "-", "3", ";", "i", "<", "args", ".", "length", "(", ")", ";", "++", "i", ")", "add_input_operand", "(", "icode", ",", "args", "[", "i", "]", ")", ";", "return", "generate_insn", "(", "icode", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "call", "using", "instruction", "ICODE", ",", "which", "prefetches", "from", "address", "operand", "1", "under", "the", "control", "of", "predicate", "operand", "0", ".", "Operands", "2", ",", "3", "and", "4", "respectively", "specify", "the", "svprfop", "value", ",", "the", "PREFETCH", "rw", "flag", "and", "the", "PREFETCH", "locality", "."], "TS_V_token": ["aarch64", "0", "3"], "File": "aarch64-sve-builtins", "Func": "use_contiguous_prefetch_insn", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20715, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "bool", "Changed", "=", "false", ";", "if", "(", "EnableDelJmp", ")", "{", "MachineFunction", "::", "iterator", "FJ", "=", "F", ".", "begin", "(", ")", ";", "if", "(", "FJ", "!=", "F", ".", "end", "(", ")", ")", "FJ", "++", ";", "if", "(", "FJ", "==", "F", ".", "end", "(", ")", ")", "return", "Changed", ";", "for", "(", "MachineFunction", "::", "iterator", "FI", "=", "F", ".", "begin", "(", ")", ",", "FE", "=", "F", ".", "end", "(", ")", ";", "FJ", "!=", "FE", ";", "++", "FI", ",", "++", "FJ", ")", "Changed", "|=", "runOnMachineBasicBlock", "(", "*", "FI", ",", "*", "FJ", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["SIC"], "File": "SICDelUselessJMP", "Func": "runOnMachineFunction", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20716, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZHazardRecognizer", "::", "EmitInstruction", "(", "SUnit", "*", "SU", ")", "{", "const", "MCSchedClassDesc", "*", "SC", "=", "getSchedClass", "(", "SU", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"++ HazardRecognizer emitting \"", ";", "dumpSU", "(", "SU", ",", "dbgs", "(", ")", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ";", ")", ";", "LLVM_DEBUG", "(", "dumpCurrGroup", "(", "\"Decode group before emission\"", ")", ";", ")", ";", "if", "(", "!", "fitsIntoCurrentGroup", "(", "SU", ")", ")", "nextGroup", "(", ")", ";", "LLVM_DEBUG", "(", "raw_string_ostream", "cgd", "(", "CurGroupDbg", ")", ";", "if", "(", "CurGroupDbg", ".", "length", "(", ")", ")", "cgd", "<<", "\", \"", ";", "dumpSU", "(", "SU", ",", "cgd", ")", ";", ")", ";", "LastEmittedMI", "=", "SU", "->", "getInstr", "(", ")", ";", "if", "(", "SU", "->", "isCall", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"++ Clearing state after call.\\n\"", ";", ")", ";", "Reset", "(", ")", ";", "LastEmittedMI", "=", "SU", "->", "getInstr", "(", ")", ";", "return", ";", "}", "for", "(", "TargetSchedModel", "::", "ProcResIter", "PI", "=", "SchedModel", "->", "getWriteProcResBegin", "(", "SC", ")", ",", "PE", "=", "SchedModel", "->", "getWriteProcResEnd", "(", "SC", ")", ";", "PI", "!=", "PE", ";", "++", "PI", ")", "{", "if", "(", "SchedModel", "->", "getProcResource", "(", "PI", "->", "ProcResourceIdx", ")", "->", "BufferSize", "==", "1", ")", "continue", ";", "int", "&", "CurrCounter", "=", "ProcResourceCounters", "[", "PI", "->", "ProcResourceIdx", "]", ";", "CurrCounter", "+=", "PI", "->", "Cycles", ";", "if", "(", "(", "CurrCounter", ">", "ProcResCostLim", ")", "&&", "(", "CriticalResourceIdx", "==", "UINT_MAX", "||", "(", "PI", "->", "ProcResourceIdx", "!=", "CriticalResourceIdx", "&&", "CurrCounter", ">", "ProcResourceCounters", "[", "CriticalResourceIdx", "]", ")", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"++ New critical resource: \"", "<<", "SchedModel", "->", "getProcResource", "(", "PI", "->", "ProcResourceIdx", ")", "->", "Name", "<<", "\"\\n\"", ";", ")", ";", "CriticalResourceIdx", "=", "PI", "->", "ProcResourceIdx", ";", "}", "}", "if", "(", "SU", "->", "isUnbuffered", ")", "{", "LastFPdOpCycleIdx", "=", "getCurrCycleIdx", "(", "SU", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"++ Last FPd cycle index: \"", "<<", "LastFPdOpCycleIdx", "<<", "\"\\n\"", ";", ")", ";", "}", "CurrGroupSize", "+=", "getNumDecoderSlots", "(", "SU", ")", ";", "CurrGroupHas4RegOps", "|=", "has4RegOps", "(", "SU", "->", "getInstr", "(", ")", ")", ";", "unsigned", "GroupLim", "=", "(", "(", "CurrGroupHas4RegOps", "&&", "getNumDecoderSlots", "(", "SU", ")", "<", "3", ")", "?", "2", ":", "3", ")", ";", "assert", "(", "CurrGroupSize", "<=", "GroupLim", "&&", "\"SU does not fit into decoder group!\"", ")", ";", "if", "(", "CurrGroupSize", "==", "GroupLim", "||", "SC", "->", "EndGroup", ")", "nextGroup", "(", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"++ HazardRecognizer emitting \"", "\"\\n\"", "\"Decode group before emission\"", "\", \"", "\"++ Clearing state after call.\\n\"", "1", "\"++ New critical resource: \"", "\"\\n\"", "\"++ Last FPd cycle index: \"", "\"\\n\"", "3", "2", "3", "\"SU does not fit into decoder group!\""], "File": "SystemZHazardRecognizer3", "Func": "EmitInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20717, "Length": 352, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_store_insn1", "(", "rtx", "pat", ")", "{", "if", "(", "!", "pat", "||", "pat", "==", "NULL_RTX", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "SET", ")", "return", "is_mem_ref", "(", "SET_DEST", "(", "pat", ")", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "XVECLEN", "(", "pat", ",", "0", ")", ";", "i", "++", ")", "if", "(", "is_store_insn1", "(", "XVECEXP", "(", "pat", ",", "0", ",", "i", ")", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Determine", "if", "PAT", "is", "a", "PATTERN", "of", "a", "store", "insn", "."], "TS_V_token": ["rs6000", "0", "0", "0"], "File": "rs60003", "Func": "is_store_insn1", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20718, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetELFStreamer", "::", "finish", "(", ")", "{", "MCAssembler", "&", "MCA", "=", "getStreamer", "(", ")", ".", "getAssembler", "(", ")", ";", "MCContext", "&", "Context", "=", "MCA", ".", "getContext", "(", ")", ";", "MCStreamer", "&", "OS", "=", "getStreamer", "(", ")", ";", "Triple", "T", "(", "STI", ".", "getTargetTriple", "(", ")", ")", ";", "uint64_t", "Features", "=", "STI", ".", "getFeatureBits", "(", ")", ";", "if", "(", "T", ".", "isArch64Bit", "(", ")", "&&", "(", "Features", "&", "Mips", "::", "FeatureN64", ")", ")", "{", "const", "MCSectionELF", "*", "Sec", "=", "Context", ".", "getELFSection", "(", "\".MIPS.options\"", ",", "ELF", "::", "SHT_MIPS_OPTIONS", ",", "ELF", "::", "SHF_ALLOC", "|", "ELF", "::", "SHF_MIPS_NOSTRIP", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "OS", ".", "SwitchSection", "(", "Sec", ")", ";", "OS", ".", "EmitIntValue", "(", "1", ",", "1", ")", ";", "OS", ".", "EmitIntValue", "(", "40", ",", "1", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "2", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "8", ")", ";", "}", "else", "{", "const", "MCSectionELF", "*", "Sec", "=", "Context", ".", "getELFSection", "(", "\".reginfo\"", ",", "ELF", "::", "SHT_MIPS_REGINFO", ",", "ELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "OS", ".", "SwitchSection", "(", "Sec", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "0", ",", "4", ")", ";", "}", "emitMipsAbiFlags", "(", ")", ";", "}", ""], "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": ["Mips", "Mips", "Mips::FeatureN64", "\".MIPS.options\"", "1", "1", "40", "1", "0", "2", "0", "4", "0", "4", "0", "4", "0", "4", "0", "4", "0", "4", "0", "4", "0", "8", "\".reginfo\"", "0", "4", "0", "4", "0", "4", "0", "4", "0", "4", "0", "4", "Mips"], "File": "MipsTargetStreamer3", "Func": "finish", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20719, "Length": 305, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Error", "(", "SMLoc", "L", ",", "const", "Twine", "&", "Msg", ",", "SMRange", "Range", "=", "None", ",", "bool", "MatchingInlineAsm", "=", "false", ")", "{", "MCAsmParser", "&", "Parser", "=", "getParser", "(", ")", ";", "if", "(", "MatchingInlineAsm", ")", "{", "if", "(", "!", "getLexer", "(", ")", ".", "isAtStartOfStatement", "(", ")", ")", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "return", "Parser", ".", "Error", "(", "L", ",", "Msg", ",", "Range", ")", ";", "}", ""], "natrual_language": ["Return", "an", "error", "at", "the", "location", "L", ",", "with", "the", "message", "Msg", "."], "TS_V_token": ["X86"], "File": "X86AsmParser (2)4", "Func": "Error", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20720, "Length": 69, "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", "*", "T", "=", "CallOperandVal", "->", "getType", "(", ")", ";", "switch", "(", "*", "Constraint", ")", "{", "default", ":", "Weight", "=", "TargetLowering", "::", "getSingleConstraintMatchWeight", "(", "Info", ",", "Constraint", ")", ";", "break", ";", "case", "'c'", ":", "if", "(", "T", "->", "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": "Cpu0ISelLowering4", "Func": "getSingleConstraintMatchWeight", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20721, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "classifyLEAReg", "(", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "&", "Src", ",", "unsigned", "Opc", ",", "bool", "AllowSP", ",", "unsigned", "&", "NewSrc", ",", "bool", "&", "isKill", ",", "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", "(", ")", ";", "assert", "(", "!", "Src", ".", "isUndef", "(", ")", "&&", "\"Undef op doesn't need optimization\"", ")", ";", "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", "(", ")", ";", "assert", "(", "!", "Src", ".", "isUndef", "(", ")", "&&", "\"Undef op doesn't need optimization\"", ")", ";", "}", "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", ")", ".", "add", "(", "Src", ")", ";", "isKill", "=", "true", ";", "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", "\"Undef op doesn't need optimization\"", "X86", "64", "\"Undef op doesn't need optimization\"", "X86::sub_32bit"], "File": "X86InstrInfo1", "Func": "classifyLEAReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20722, "Length": 320, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseInstrInfo", "::", "getInstrLatency", "(", "const", "InstrItineraryData", "*", "ItinData", ",", "const", "MachineInstr", "&", "MI", ",", "unsigned", "*", "PredCost", ")", "const", "{", "if", "(", "MI", ".", "isCopyLike", "(", ")", "||", "MI", ".", "isInsertSubreg", "(", ")", "||", "MI", ".", "isRegSequence", "(", ")", "||", "MI", ".", "isImplicitDef", "(", ")", ")", "return", "1", ";", "if", "(", "MI", ".", "isBundle", "(", ")", ")", "{", "unsigned", "Latency", "=", "0", ";", "MachineBasicBlock", "::", "const_instr_iterator", "I", "=", "MI", ".", "getIterator", "(", ")", ";", "MachineBasicBlock", "::", "const_instr_iterator", "E", "=", "MI", ".", "getParent", "(", ")", "->", "instr_end", "(", ")", ";", "while", "(", "++", "I", "!=", "E", "&&", "I", "->", "isInsideBundle", "(", ")", ")", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "ARM", "::", "t2IT", ")", "Latency", "+=", "getInstrLatency", "(", "ItinData", ",", "*", "I", ",", "PredCost", ")", ";", "}", "return", "Latency", ";", "}", "const", "MCInstrDesc", "&", "MCID", "=", "MI", ".", "getDesc", "(", ")", ";", "if", "(", "PredCost", "&&", "(", "MCID", ".", "isCall", "(", ")", "||", "MCID", ".", "hasImplicitDefOfPhysReg", "(", "ARM", "::", "CPSR", ")", ")", ")", "{", "*", "PredCost", "=", "1", ";", "}", "if", "(", "!", "ItinData", ")", "return", "MI", ".", "mayLoad", "(", ")", "?", "3", ":", "1", ";", "unsigned", "Class", "=", "MCID", ".", "getSchedClass", "(", ")", ";", "if", "(", "!", "ItinData", "->", "isEmpty", "(", ")", "&&", "ItinData", "->", "getNumMicroOps", "(", "Class", ")", "<", "0", ")", "return", "getNumMicroOps", "(", "ItinData", ",", "MI", ")", ";", "unsigned", "Latency", "=", "ItinData", "->", "getStageLatency", "(", "Class", ")", ";", "unsigned", "DefAlign", "=", "MI", ".", "hasOneMemOperand", "(", ")", "?", "(", "*", "MI", ".", "memoperands_begin", "(", ")", ")", "->", "getAlignment", "(", ")", ":", "0", ";", "int", "Adj", "=", "adjustDefLatency", "(", "Subtarget", ",", "MI", ",", "MCID", ",", "DefAlign", ")", ";", "if", "(", "Adj", ">=", "0", "||", "(", "int", ")", "Latency", ">", "-", "Adj", ")", "{", "return", "Latency", "+", "Adj", ";", "}", "return", "Latency", ";", "}", ""], "natrual_language": ["Compute", "the", "instruction", "latency", "of", "a", "given", "instruction", "."], "TS_V_token": ["ARM", "ARM", "1", "0", "ARM::t2IT", "ARM::CPSR", "1", "3", "1", "0", "0", "0"], "File": "ARMBaseInstrInfo (2)2", "Func": "getInstrLatency", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20723, "Length": 296, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XNCMRegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "llvm_unreachable", "(", "0", ")", ";", "}", ""], "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": ["XNCM", "XNCM", "0"], "File": "XNCMRegisterInfo", "Func": "eliminateCallFramePseudoInstr", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20724, "Length": 26, "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": 20725, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "ARMTargetLowering", "::", "getSetCCResultType", "(", "LLVMContext", "&", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "getPointerTy", "(", ")", ";", "return", "VT", ".", "changeVectorElementTypeToInteger", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMISelLowering (2)", "Func": "getSetCCResultType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20726, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_split_addresses_p", "(", "void", ")", "{", "return", "(", "TARGET_SPLIT_ADDRESSES", "&&", "optimize", "&&", "!", "TARGET_MIPS16", "&&", "!", "flag_pic", "&&", "!", "ABI_HAS_64BIT_SYMBOLS", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "-msplit-addresses", "is", "selected", "and", "should", "be", "honored", ".", "-msplit-addresses", "is", "a", "half-way", "house", "between", "explicit", "relocations", "and", "the", "traditional", "assembler", "macros", ".", "It", "can", "split", "absolute", "32-bit", "symbolic", "constants", "into", "a", "high/lo_sum", "pair", "but", "uses", "macros", "for", "other", "sorts", "of", "access", ".", "Like", "explicit", "relocation", "support", "for", "REL", "targets", ",", "it", "relies", "on", "GNU", "extensions", "in", "the", "assembler", "and", "the", "linker", ".", "Although", "this", "code", "should", "work", "for", "-O0", ",", "it", "has", "traditionally", "been", "treated", "as", "an", "optimization", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_split_addresses_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20727, "Length": 24, "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", ";", "LLVM_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": "A15SDOptimizer21", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20728, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "PASS_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM"], "File": "Thumb2ITBlockPass (2)1", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20729, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "override", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "AArch64", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_aarch64_pcrel_adr_imm21\"", ",", "0", ",", "32", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_aarch64_pcrel_adrp_imm21\"", ",", "0", ",", "32", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_aarch64_add_imm12\"", ",", "10", ",", "12", ",", "0", "}", ",", "{", "\"fixup_aarch64_ldst_imm12_scale1\"", ",", "10", ",", "12", ",", "0", "}", ",", "{", "\"fixup_aarch64_ldst_imm12_scale2\"", ",", "10", ",", "12", ",", "0", "}", ",", "{", "\"fixup_aarch64_ldst_imm12_scale4\"", ",", "10", ",", "12", ",", "0", "}", ",", "{", "\"fixup_aarch64_ldst_imm12_scale8\"", ",", "10", ",", "12", ",", "0", "}", ",", "{", "\"fixup_aarch64_ldst_imm12_scale16\"", ",", "10", ",", "12", ",", "0", "}", ",", "{", "\"fixup_aarch64_ldr_pcrel_imm19\"", ",", "5", ",", "19", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_aarch64_movw\"", ",", "5", ",", "16", ",", "0", "}", ",", "{", "\"fixup_aarch64_pcrel_branch14\"", ",", "5", ",", "14", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_aarch64_pcrel_branch19\"", ",", "5", ",", "19", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_aarch64_pcrel_branch26\"", ",", "0", ",", "26", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_aarch64_pcrel_call26\"", ",", "0", ",", "26", ",", "PCRelFlagVal", "}", ",", "{", "\"fixup_aarch64_tlsdesc_call\"", ",", "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": ["AArch64", "AArch64::NumTargetFixupKinds", "\"fixup_aarch64_pcrel_adr_imm21\"", "0", "32", "\"fixup_aarch64_pcrel_adrp_imm21\"", "0", "32", "\"fixup_aarch64_add_imm12\"", "10", "12", "0", "\"fixup_aarch64_ldst_imm12_scale1\"", "10", "12", "0", "\"fixup_aarch64_ldst_imm12_scale2\"", "10", "12", "0", "\"fixup_aarch64_ldst_imm12_scale4\"", "10", "12", "0", "\"fixup_aarch64_ldst_imm12_scale8\"", "10", "12", "0", "\"fixup_aarch64_ldst_imm12_scale16\"", "10", "12", "0", "\"fixup_aarch64_ldr_pcrel_imm19\"", "5", "19", "\"fixup_aarch64_movw\"", "5", "16", "0", "\"fixup_aarch64_pcrel_branch14\"", "5", "14", "\"fixup_aarch64_pcrel_branch19\"", "5", "19", "\"fixup_aarch64_pcrel_branch26\"", "0", "26", "\"fixup_aarch64_pcrel_call26\"", "0", "26", "\"fixup_aarch64_tlsdesc_call\"", "0", "0", "0", "\"Invalid kind!\""], "File": "AArch64AsmBackend1", "Func": "getFixupKindInfo", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20730, "Length": 212, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBankConflictHazardRecognizer", "::", "AdvanceCycle", "(", ")", "{", "Accesses", ".", "clear", "(", ")", ";", "}", ""], "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": ["ARM", "ARM"], "File": "ARMHazardRecognizer19", "Func": "AdvanceCycle", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20731, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsPassConfig", "::", "addIRPasses", "(", ")", "{", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "addPass", "(", "createAtomicExpandPass", "(", "&", "getMipsTargetMachine", "(", ")", ")", ")", ";", "if", "(", "getMipsSubtarget", "(", ")", ".", "os16", "(", ")", ")", "addPass", "(", "createMipsOs16Pass", "(", "getMipsTargetMachine", "(", ")", ")", ")", ";", "if", "(", "getMipsSubtarget", "(", ")", ".", "inMips16HardFloat", "(", ")", ")", "addPass", "(", "createMips16HardFloatPass", "(", "getMipsTargetMachine", "(", ")", ")", ")", ";", "if", "(", "DirectToNaCl", ")", "{", "addPass", "(", "createExpandVarArgsPass", "(", ")", ")", ";", "addPass", "(", "createExpandByValPass", "(", ")", ")", ";", "addPass", "(", "createAddPNaClExternalDeclsPass", "(", ")", ")", ";", "addPass", "(", "createResolvePNaClIntrinsicsPass", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsTargetMachine74", "Func": "addIRPasses", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20732, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ix86_local_alignment", "(", "tree", "type", ",", "int", "align", ")", "{", "if", "(", "TARGET_64BIT", ")", "{", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "TYPE_SIZE", "(", "type", ")", "&&", "TREE_CODE", "(", "TYPE_SIZE", "(", "type", ")", ")", "==", "INTEGER_CST", "&&", "(", "TREE_INT_CST_LOW", "(", "TYPE_SIZE", "(", "type", ")", ")", ">=", "16", "||", "TREE_INT_CST_HIGH", "(", "TYPE_SIZE", "(", "type", ")", ")", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "if", "(", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", ")", "{", "if", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "type", ")", ")", "==", "DFmode", "&&", "align", "<", "64", ")", "return", "64", ";", "if", "(", "ALIGN_MODE_128", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "type", ")", ")", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "else", "if", "(", "TREE_CODE", "(", "type", ")", "==", "COMPLEX_TYPE", ")", "{", "if", "(", "TYPE_MODE", "(", "type", ")", "==", "DCmode", "&&", "align", "<", "64", ")", "return", "64", ";", "if", "(", "TYPE_MODE", "(", "type", ")", "==", "XCmode", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "else", "if", "(", "(", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "UNION_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "QUAL_UNION_TYPE", ")", "&&", "TYPE_FIELDS", "(", "type", ")", ")", "{", "if", "(", "DECL_MODE", "(", "TYPE_FIELDS", "(", "type", ")", ")", "==", "DFmode", "&&", "align", "<", "64", ")", "return", "64", ";", "if", "(", "ALIGN_MODE_128", "(", "DECL_MODE", "(", "TYPE_FIELDS", "(", "type", ")", ")", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "else", "if", "(", "TREE_CODE", "(", "type", ")", "==", "REAL_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "INTEGER_TYPE", ")", "{", "if", "(", "TYPE_MODE", "(", "type", ")", "==", "DFmode", "&&", "align", "<", "64", ")", "return", "64", ";", "if", "(", "ALIGN_MODE_128", "(", "TYPE_MODE", "(", "type", ")", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "return", "align", ";", "}", ""], "natrual_language": ["Compute", "the", "alignment", "for", "a", "local", "variable", ".", "TYPE", "is", "the", "data", "type", ",", "and", "ALIGN", "is", "the", "alignment", "that", "the", "object", "would", "ordinarily", "have", ".", "The", "value", "of", "this", "macro", "is", "used", "instead", "of", "that", "alignment", "to", "align", "the", "object", "."], "TS_V_token": ["i386", "16", "128", "128", "64", "64", "128", "128", "64", "64", "128", "128", "64", "64", "128", "128", "64", "64", "128", "128"], "File": "i3863", "Func": "ix86_local_alignment", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20733, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "OperandMatchResultTy", "SparcAsmParser", "::", "tryParseRegister", "(", "unsigned", "&", "RegNo", ",", "SMLoc", "&", "StartLoc", ",", "SMLoc", "&", "EndLoc", ")", "{", "const", "AsmToken", "&", "Tok", "=", "Parser", ".", "getTok", "(", ")", ";", "StartLoc", "=", "Tok", ".", "getLoc", "(", ")", ";", "EndLoc", "=", "Tok", ".", "getEndLoc", "(", ")", ";", "RegNo", "=", "0", ";", "if", "(", "getLexer", "(", ")", ".", "getKind", "(", ")", "!=", "AsmToken", "::", "Percent", ")", "return", "MatchOperand_Success", ";", "Parser", ".", "Lex", "(", ")", ";", "unsigned", "regKind", "=", "SparcOperand", "::", "rk_None", ";", "if", "(", "matchRegisterName", "(", "Tok", ",", "RegNo", ",", "regKind", ")", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "MatchOperand_Success", ";", "}", "getLexer", "(", ")", ".", "UnLex", "(", "Tok", ")", ";", "return", "MatchOperand_NoMatch", ";", "}", ""], "natrual_language": ["tryParseRegister", "-", "parse", "one", "register", "if", "possible"], "TS_V_token": ["Sparc", "Sparc", "0", "SparcOperand::rk_None"], "File": "SparcAsmParser23", "Func": "tryParseRegister", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20734, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "gen_v9_scc", "(", "rtx", "dest", ",", "enum", "rtx_code", "compare_code", ",", "rtx", "x", ",", "rtx", "y", ")", "{", "if", "(", "!", "TARGET_ARCH64", "&&", "(", "GET_MODE", "(", "x", ")", "==", "DImode", "||", "GET_MODE", "(", "dest", ")", "==", "DImode", ")", ")", "return", "0", ";", "if", "(", "TARGET_ARCH64", "&&", "GET_MODE_CLASS", "(", "GET_MODE", "(", "x", ")", ")", "==", "MODE_INT", "&&", "y", "==", "const0_rtx", "&&", "v9_regcmp_p", "(", "compare_code", ")", ")", "{", "rtx", "op0", "=", "x", ";", "rtx", "temp", ";", "if", "(", "compare_code", "==", "NE", "&&", "GET_MODE", "(", "dest", ")", "==", "DImode", "&&", "rtx_equal_p", "(", "op0", ",", "dest", ")", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "gen_rtx_IF_THEN_ELSE", "(", "DImode", ",", "gen_rtx_fmt_ee", "(", "compare_code", ",", "DImode", ",", "op0", ",", "const0_rtx", ")", ",", "const1_rtx", ",", "dest", ")", ")", ")", ";", "return", "1", ";", "}", "if", "(", "reg_overlap_mentioned_p", "(", "dest", ",", "op0", ")", ")", "{", "op0", "=", "gen_reg_rtx", "(", "GET_MODE", "(", "x", ")", ")", ";", "emit_move_insn", "(", "op0", ",", "x", ")", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "const0_rtx", ")", ")", ";", "if", "(", "GET_MODE", "(", "op0", ")", "!=", "DImode", ")", "{", "temp", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "convert_move", "(", "temp", ",", "op0", ",", "0", ")", ";", "}", "else", "temp", "=", "op0", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "gen_rtx_IF_THEN_ELSE", "(", "GET_MODE", "(", "dest", ")", ",", "gen_rtx_fmt_ee", "(", "compare_code", ",", "DImode", ",", "temp", ",", "const0_rtx", ")", ",", "const1_rtx", ",", "dest", ")", ")", ")", ";", "return", "1", ";", "}", "else", "{", "x", "=", "gen_compare_reg_1", "(", "compare_code", ",", "x", ",", "y", ")", ";", "y", "=", "const0_rtx", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "const0_rtx", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "gen_rtx_IF_THEN_ELSE", "(", "GET_MODE", "(", "dest", ")", ",", "gen_rtx_fmt_ee", "(", "compare_code", ",", "GET_MODE", "(", "x", ")", ",", "x", ",", "y", ")", ",", "const1_rtx", ",", "dest", ")", ")", ")", ";", "return", "1", ";", "}", "}", ""], "natrual_language": ["This", "function", "is", "used", "for", "v9", "only", ".", "CODE", "is", "the", "code", "for", "an", "Scc", "'s", "comparison", ".", "OPERANDS", "[", "0", "]", "is", "the", "target", "of", "the", "Scc", "insn", ".", "OPERANDS", "[", "1", "]", "is", "the", "value", "we", "compare", "against", "const0_rtx", "(", "which", "has", "n't", "been", "generated", "yet", ")", ".", "This", "function", "is", "needed", "to", "turn", "(", "set", "(", "reg", ":", "SI", "110", ")", "(", "gt", "(", "reg", ":", "CCX", "100", "%", "icc", ")", "(", "const_int", "0", ")", ")", ")", "into", "(", "set", "(", "reg", ":", "SI", "110", ")", "(", "gt", ":", "DI", "(", "reg", ":", "CCX", "100", "%", "icc", ")", "(", "const_int", "0", ")", ")", ")", "IE", ":", "The", "instruction", "recognizer", "needs", "to", "see", "the", "mode", "of", "the", "comparison", "to", "find", "the", "right", "instruction", ".", "We", "could", "use", "``", "gt", ":", "DI", "''", "right", "in", "the", "define_expand", ",", "but", "leaving", "it", "out", "allows", "us", "to", "handle", "DI", ",", "SI", ",", "etc", ".", "We", "refer", "to", "the", "global", "sparc", "compare", "operands", "sparc_compare_op0", "and", "sparc_compare_op1", "."], "TS_V_token": ["sparc", "0", "1", "0", "1", "1"], "File": "sparc", "Func": "gen_v9_scc", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20735, "Length": 298, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LEGPassConfig", "::", "addPreEmitPass", "(", ")", "{", "return", "false", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["LEG", "LEG"], "File": "LEGTargetMachine2", "Func": "addPreEmitPass", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20736, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_binary_operator", "(", "enum", "rtx_code", "code", ",", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ")", "{", "rtx", "src1", ",", "src2", ",", "dst", ",", "op", ",", "clob", ";", "dst", "=", "ix86_fixup_binary_operands", "(", "code", ",", "mode", ",", "operands", ")", ";", "src1", "=", "operands", "[", "1", "]", ";", "src2", "=", "operands", "[", "2", "]", ";", "op", "=", "gen_rtx_SET", "(", "dst", ",", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "src1", ",", "src2", ")", ")", ";", "if", "(", "reload_completed", "&&", "code", "==", "PLUS", "&&", "!", "rtx_equal_p", "(", "dst", ",", "src1", ")", ")", "{", "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", "binary", "operator", ".", "Make", "the", "expansion", "closer", "to", "the", "actual", "machine", ",", "then", "just", "general_operand", ",", "which", "will", "allow", "3", "separate", "memory", "references", "(", "one", "output", ",", "two", "input", ")", "in", "a", "single", "insn", "."], "TS_V_token": ["i386", "1", "2", "2", "0", "0"], "File": "i386-expand", "Func": "ix86_expand_binary_operator", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20737, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "alignLoopsWithOptSize", "(", ")", "const", "{", "return", "Subtarget", "->", "isMClass", "(", ")", ";", "}", ""], "natrual_language": ["Should", "loops", "be", "aligned", "even", "when", "the", "function", "is", "marked", "OptSize", "(", "but", "not", "MinSize", ")", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMISelLowering (2)5", "Func": "alignLoopsWithOptSize", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20738, "Length": 16, "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", "::", "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\"", ";", "}", "}", ""], "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::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": "SparcISelLowering35", "Func": "getTargetNodeName", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20739, "Length": 192, "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", ";", "wide_int", "w", ";", "rtx", "mask", ",", "v", ";", "switch", "(", "mode", ")", "{", "case", "V16SImode", ":", "case", "V16SFmode", ":", "case", "V8SImode", ":", "case", "V4SImode", ":", "case", "V8SFmode", ":", "case", "V4SFmode", ":", "vec_mode", "=", "mode", ";", "imode", "=", "SImode", ";", "break", ";", "case", "V8DImode", ":", "case", "V4DImode", ":", "case", "V2DImode", ":", "case", "V8DFmode", ":", "case", "V4DFmode", ":", "case", "V2DFmode", ":", "vec_mode", "=", "mode", ";", "imode", "=", "DImode", ";", "break", ";", "case", "TImode", ":", "case", "TFmode", ":", "vec_mode", "=", "VOIDmode", ";", "imode", "=", "TImode", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "machine_mode", "inner_mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "w", "=", "wi", "::", "set_bit_in_zero", "(", "GET_MODE_BITSIZE", "(", "inner_mode", ")", "-", "1", ",", "GET_MODE_BITSIZE", "(", "inner_mode", ")", ")", ";", "if", "(", "invert", ")", "w", "=", "wi", "::", "bit_not", "(", "w", ")", ";", "mask", "=", "immed_wide_int_const", "(", "w", ",", "imode", ")", ";", "mask", "=", "gen_lowpart", "(", "inner_mode", ",", "mask", ")", ";", "if", "(", "vec_mode", "==", "VOIDmode", ")", "return", "force_reg", "(", "inner_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", "1"], "File": "i3865", "Func": "ix86_build_signbit_mask", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20740, "Length": 202, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "ix86_expand_adjust_ufix_to_sfix_si", "(", "rtx", "val", ",", "rtx", "*", "xorp", ")", "{", "REAL_VALUE_TYPE", "TWO31r", ";", "rtx", "two31r", ",", "tmp", "[", "4", "]", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "val", ")", ";", "machine_mode", "scalarmode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "machine_mode", "intmode", "=", "GET_MODE_SIZE", "(", "mode", ")", "==", "32", "?", "V8SImode", ":", "V4SImode", ";", "rtx", "(", "*", "cmp", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "3", ";", "i", "++", ")", "tmp", "[", "i", "]", "=", "gen_reg_rtx", "(", "mode", ")", ";", "real_ldexp", "(", "&", "TWO31r", ",", "&", "dconst1", ",", "31", ")", ";", "two31r", "=", "const_double_from_real_value", "(", "TWO31r", ",", "scalarmode", ")", ";", "two31r", "=", "ix86_build_const_vector", "(", "mode", ",", "1", ",", "two31r", ")", ";", "two31r", "=", "force_reg", "(", "mode", ",", "two31r", ")", ";", "switch", "(", "mode", ")", "{", "case", "V8SFmode", ":", "cmp", "=", "gen_avx_maskcmpv8sf3", ";", "break", ";", "case", "V4SFmode", ":", "cmp", "=", "gen_sse_maskcmpv4sf3", ";", "break", ";", "case", "V4DFmode", ":", "cmp", "=", "gen_avx_maskcmpv4df3", ";", "break", ";", "case", "V2DFmode", ":", "cmp", "=", "gen_sse2_maskcmpv2df3", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "tmp", "[", "3", "]", "=", "gen_rtx_LE", "(", "mode", ",", "two31r", ",", "val", ")", ";", "emit_insn", "(", "cmp", "(", "tmp", "[", "0", "]", ",", "two31r", ",", "val", ",", "tmp", "[", "3", "]", ")", ")", ";", "tmp", "[", "1", "]", "=", "expand_simple_binop", "(", "mode", ",", "AND", ",", "tmp", "[", "0", "]", ",", "two31r", ",", "tmp", "[", "1", "]", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "if", "(", "intmode", "==", "V4SImode", "||", "TARGET_AVX2", ")", "*", "xorp", "=", "expand_simple_binop", "(", "intmode", ",", "ASHIFT", ",", "gen_lowpart", "(", "intmode", ",", "tmp", "[", "0", "]", ")", ",", "GEN_INT", "(", "31", ")", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "else", "{", "rtx", "two31", "=", "GEN_INT", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "1", "<<", "31", ")", ";", "two31", "=", "ix86_build_const_vector", "(", "intmode", ",", "1", ",", "two31", ")", ";", "*", "xorp", "=", "expand_simple_binop", "(", "intmode", ",", "AND", ",", "gen_lowpart", "(", "intmode", ",", "tmp", "[", "0", "]", ")", ",", "two31", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "}", "return", "expand_simple_binop", "(", "mode", ",", "MINUS", ",", "val", ",", "tmp", "[", "1", "]", ",", "tmp", "[", "2", "]", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "}", ""], "natrual_language": ["Adjust", "a", "V", "*", "SFmode/V", "*", "DFmode", "value", "VAL", "so", "that", "*", "sfix_trunc", "*", "resp", ".", "fix_trunc", "*", "pattern", "can", "be", "used", "on", "it", "instead", "of", "fixuns_trunc", "*", ".", "This", "is", "done", "by", "doing", "just", "signed", "conversion", "if", "<", "0x1p31", ",", "and", "otherwise", "by", "subtracting", "0x1p31", "first", "and", "xoring", "in", "0x80000000", "from", "*", "XORP", "afterwards", "."], "TS_V_token": ["i386", "4", "32", "0", "3", "31", "1", "3", "0", "3", "1", "0", "1", "0", "0", "31", "0", "1", "31", "1", "0", "0", "1", "2", "0"], "File": "i3864", "Func": "ix86_expand_adjust_ufix_to_sfix_si", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20741, "Length": 363, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "unique_ptr", "<", "MCObjectWriter", ">", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "override", "{", "return", "createX86MachObjectWriter", "(", "OS", ",", "true", ",", "MachO", "::", "CPU_TYPE_X86_64", ",", "Subtype", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86AsmBackend (2)", "Func": "createObjectWriter", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20742, "Length": 30, "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", "TargetRegisterInfo", "*", "TRI", "=", "MF", "->", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "if", "(", "!", "ExtraCode", ")", "ExtraCode", "=", "\"\"", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'c'", ":", "if", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "isImm", "(", ")", ")", "{", "O", "<<", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "getImm", "(", ")", ";", "return", "false", ";", "}", "break", ";", "case", "'w'", ":", "if", "(", "!", "printModifiedGPRAsmOperand", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ",", "TRI", ",", "AArch64", "::", "GPR32RegClass", ",", "O", ")", ")", "return", "false", ";", "break", ";", "case", "'x'", ":", "if", "(", "!", "printModifiedGPRAsmOperand", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ",", "TRI", ",", "AArch64", "::", "GPR64RegClass", ",", "O", ")", ")", "return", "false", ";", "break", ";", "case", "'H'", ":", "case", "'Q'", ":", "case", "'R'", ":", "llvm_unreachable", "(", "\"FIXME: Unimplemented register pairs\"", ")", ";", "case", "'b'", ":", "case", "'h'", ":", "case", "'s'", ":", "case", "'d'", ":", "case", "'q'", ":", "if", "(", "!", "printModifiedFPRAsmOperand", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ",", "TRI", ",", "ExtraCode", "[", "0", "]", ",", "O", ")", ")", "return", "false", ";", "break", ";", "case", "'A'", ":", "if", "(", "!", "printSymbolicAddress", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ",", "false", ",", "\"\"", ",", "O", ")", ")", "return", "false", ";", "break", ";", "case", "'L'", ":", "if", "(", "!", "printSymbolicAddress", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ",", "true", ",", "\"lo12\"", ",", "O", ")", ")", "return", "false", ";", "break", ";", "case", "'G'", ":", "if", "(", "!", "printSymbolicAddress", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ",", "true", ",", "\"hi12\"", ",", "O", ")", ")", "return", "false", ";", "break", ";", "case", "'a'", ":", "return", "PrintAsmMemoryOperand", "(", "MI", ",", "OpNum", ",", "AsmVariant", ",", "ExtraCode", ",", "O", ")", ";", "}", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected operand for inline assembly\"", ")", ";", "case", "MachineOperand", "::", "MO_Register", ":", "if", "(", "printModifiedFPRAsmOperand", "(", "MO", ",", "TRI", ",", "'v'", ",", "O", ")", ")", "O", "<<", "AArch64InstPrinter", "::", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "O", "<<", "'#'", "<<", "MO", ".", "getImm", "(", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_FPImmediate", ":", "assert", "(", "MO", ".", "getFPImm", "(", ")", "->", "isExactlyValue", "(", "0.0", ")", "&&", "\"Only FP 0.0 expected\"", ")", ";", "O", "<<", "\"#0.0\"", ";", "break", ";", "case", "MachineOperand", "::", "MO_BlockAddress", ":", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "return", "printSymbolicAddress", "(", "MO", ",", "false", ",", "\"\"", ",", "O", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["AArch64", "AArch64", "\"\"", "0", "AArch64::GPR32RegClass", "AArch64::GPR64RegClass", "\"FIXME: Unimplemented register pairs\"", "0", "\"\"", "\"lo12\"", "\"hi12\"", "\"Unexpected operand for inline assembly\"", "AArch64", "0.0", "\"Only FP 0.0 expected\"", "\"#0.0\"", "\"\""], "File": "AArch64AsmPrinter54", "Func": "PrintAsmOperand", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20743, "Length": 453, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "vr4130_align_insns", "(", "void", ")", "{", "struct", "mips_sim", "state", ";", "rtx", "insn", ",", "subinsn", ",", "last", ",", "last2", ",", "next", ";", "bool", "aligned_p", ";", "dfa_start", "(", ")", ";", "last", "=", "0", ";", "last2", "=", "0", ";", "aligned_p", "=", "true", ";", "mips_sim_init", "(", "&", "state", ",", "alloca", "(", "state_size", "(", ")", ")", ")", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", "!=", "0", ";", "insn", "=", "next", ")", "{", "unsigned", "int", "length", ";", "next", "=", "NEXT_INSN", "(", "insn", ")", ";", "vr4130_avoid_branch_rt_conflict", "(", "insn", ")", ";", "if", "(", "USEFUL_INSN_P", "(", "insn", ")", ")", "FOR_EACH_SUBINSN", "(", "subinsn", ",", "insn", ")", "{", "mips_sim_wait_insn", "(", "&", "state", ",", "subinsn", ")", ";", "if", "(", "state", ".", "insns_left", "!=", "state", ".", "issue_rate", "&&", "!", "CALL_P", "(", "subinsn", ")", ")", "{", "if", "(", "subinsn", "==", "SEQ_BEGIN", "(", "insn", ")", "&&", "aligned_p", ")", "{", "emit_insn_after", "(", "gen_nop", "(", ")", ",", "last2", ")", ";", "aligned_p", "=", "false", ";", "}", "else", "if", "(", "subinsn", "!=", "SEQ_BEGIN", "(", "insn", ")", "&&", "!", "aligned_p", ")", "{", "emit_insn_after", "(", "gen_nop", "(", ")", ",", "last", ")", ";", "aligned_p", "=", "true", ";", "}", "}", "mips_sim_issue_insn", "(", "&", "state", ",", "subinsn", ")", ";", "}", "mips_sim_finish_insn", "(", "&", "state", ",", "insn", ")", ";", "length", "=", "get_attr_length", "(", "insn", ")", ";", "if", "(", "length", ">", "0", ")", "{", "if", "(", "NONJUMP_INSN_P", "(", "SEQ_BEGIN", "(", "insn", ")", ")", "&&", "(", "recog_memoized", "(", "insn", ")", "<", "0", "||", "length", ">=", "8", ")", ")", "{", "next", "=", "emit_insn_after", "(", "gen_align", "(", "GEN_INT", "(", "3", ")", ")", ",", "insn", ")", ";", "next", "=", "NEXT_INSN", "(", "next", ")", ";", "mips_sim_next_cycle", "(", "&", "state", ")", ";", "aligned_p", "=", "true", ";", "}", "else", "if", "(", "length", "&", "4", ")", "aligned_p", "=", "!", "aligned_p", ";", "last2", "=", "last", ";", "last", "=", "insn", ";", "}", "if", "(", "LABEL_P", "(", "insn", ")", "&&", "label_to_alignment", "(", "insn", ")", ">=", "3", ")", "aligned_p", "=", "true", ";", "}", "dfa_finish", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "-mvr4130-align", ".", "Go", "through", "each", "basic", "block", "and", "simulate", "the", "processor", "pipeline", ".", "If", "we", "find", "that", "a", "pair", "of", "instructions", "could", "execute", "in", "parallel", ",", "and", "the", "first", "of", "those", "instruction", "is", "not", "8-byte", "aligned", ",", "insert", "a", "nop", "to", "make", "it", "aligned", "."], "TS_V_token": ["mips", "0", "0", "0", "0", "0", "8", "3", "4", "3"], "File": "mips3", "Func": "vr4130_align_insns", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20744, "Length": 314, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Emitter", "<", "CodeEmitter", ">", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "MMI", "=", "&", "getAnalysis", "<", "MachineModuleInfo", ">", "(", ")", ";", "MCE", ".", "setModuleInfo", "(", "MMI", ")", ";", "II", "=", "TM", ".", "getInstrInfo", "(", ")", ";", "TD", "=", "TM", ".", "getTargetData", "(", ")", ";", "Is64BitMode", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ";", "IsPIC", "=", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ";", "do", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"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": "X86CodeEmitter10", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20745, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "DestSourcePair", ">", "AArch64InstrInfo", "::", "isAddImmediate", "(", "const", "MachineInstr", "&", "MI", ",", "int64_t", "&", "Offset", ")", "const", "{", "int", "Sign", "=", "1", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "None", ";", "case", "AArch64", "::", "SUBWri", ":", "case", "AArch64", "::", "SUBXri", ":", "case", "AArch64", "::", "SUBSWri", ":", "case", "AArch64", "::", "SUBSXri", ":", "Sign", "*=", "-", "1", ";", "LLVM_FALLTHROUGH", ";", "case", "AArch64", "::", "ADDSWri", ":", "case", "AArch64", "::", "ADDSXri", ":", "case", "AArch64", "::", "ADDWri", ":", "case", "AArch64", "::", "ADDXri", ":", "{", "if", "(", "!", "MI", ".", "getOperand", "(", "0", ")", ".", "isReg", "(", ")", "||", "!", "MI", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "||", "!", "MI", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", ")", "return", "None", ";", "Offset", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "*", "Sign", ";", "int", "Shift", "=", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "assert", "(", "(", "Shift", "==", "0", "||", "Shift", "==", "12", ")", "&&", "\"Shift can be either 0 or 12\"", ")", ";", "Offset", "=", "Offset", "<<", "Shift", ";", "}", "}", "return", "DestSourcePair", "{", "MI", ".", "getOperand", "(", "0", ")", ",", "MI", ".", "getOperand", "(", "1", ")", "}", ";", "}", ""], "natrual_language": ["If", "the", "specific", "machine", "instruction", "is", "an", "instruction", "that", "adds", "an", "immediate", "value", "and", "a", "register", ",", "and", "stores", "the", "result", "in", "the", "given", "register", "Reg", ",", "return", "a", "pair", "of", "the", "source", "register", "and", "the", "offset", "which", "has", "been", "added", "."], "TS_V_token": ["AArch64", "AArch64", "1", "AArch64::SUBWri", "AArch64::SUBXri", "AArch64::SUBSWri", "AArch64::SUBSXri", "1", "AArch64::ADDSWri", "AArch64::ADDSXri", "AArch64::ADDWri", "AArch64::ADDXri", "0", "1", "2", "2", "3", "0", "12", "\"Shift can be either 0 or 12\"", "0", "1"], "File": "AArch64InstrInfo124", "Func": "isAddImmediate", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20746, "Length": 198, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToReg", "(", "unsigned", "ValVReg", ",", "unsigned", "PhysReg", ",", "CCValAssign", "&", "VA", ")", "override", "{", "MIB", ".", "addUse", "(", "PhysReg", ",", "RegState", "::", "Implicit", ")", ";", "unsigned", "ExtReg", "=", "extendRegister", "(", "ValVReg", ",", "VA", ")", ";", "MIRBuilder", ".", "buildCopy", "(", "PhysReg", ",", "ExtReg", ")", ";", "}", ""], "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": "AArch64CallLowering (2)", "Func": "assignValueToReg", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20747, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "SparcTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "getTargetMachine", "(", ")", ".", "getInstrInfo", "(", ")", ";", "unsigned", "BROpcode", ";", "unsigned", "CC", ";", "DebugLoc", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown SELECT_CC!\"", ")", ";", "case", "SP", "::", "SELECT_CC_Int_ICC", ":", "case", "SP", "::", "SELECT_CC_FP_ICC", ":", "case", "SP", "::", "SELECT_CC_DFP_ICC", ":", "case", "SP", "::", "SELECT_CC_QFP_ICC", ":", "BROpcode", "=", "SP", "::", "BCOND", ";", "break", ";", "case", "SP", "::", "SELECT_CC_Int_FCC", ":", "case", "SP", "::", "SELECT_CC_FP_FCC", ":", "case", "SP", "::", "SELECT_CC_DFP_FCC", ":", "case", "SP", "::", "SELECT_CC_QFP_FCC", ":", "BROpcode", "=", "SP", "::", "FBCOND", ";", "break", ";", "}", "CC", "=", "(", "SPCC", "::", "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", "(", "BROpcode", ")", ")", ".", "addMBB", "(", "sinkMBB", ")", ".", "addImm", "(", "CC", ")", ";", "BB", "=", "copy0MBB", ";", "BB", "->", "addSuccessor", "(", "sinkMBB", ")", ";", "BB", "=", "sinkMBB", ";", "BuildMI", "(", "*", "BB", ",", "BB", "->", "begin", "(", ")", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "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": ["Sparc", "Sparc", "\"Unknown SELECT_CC!\"", "SP::SELECT_CC_Int_ICC", "SP::SELECT_CC_FP_ICC", "SP::SELECT_CC_DFP_ICC", "SP::SELECT_CC_QFP_ICC", "SP::BCOND", "SP::SELECT_CC_Int_FCC", "SP::SELECT_CC_FP_FCC", "SP::SELECT_CC_DFP_FCC", "SP::SELECT_CC_QFP_FCC", "SP::FBCOND", "SPCC::CondCodes", "3", "SP::PHI", "0", "2", "1"], "File": "SparcISelLowering21", "Func": "EmitInstrWithCustomInserter", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20748, "Length": 386, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "fixed_size_mode", "mips_get_reg_raw_mode", "(", "int", "regno", ")", "{", "if", "(", "TARGET_FLOATXX", "&&", "FP_REG_P", "(", "regno", ")", ")", "return", "DFmode", ";", "return", "default_get_reg_raw_mode", "(", "regno", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_GET_RAW_RESULT_MODE", "and", "TARGET_GET_RAW_ARG_MODE", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_get_reg_raw_mode", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20749, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesAll", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineModuleInfo", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["X86"], "File": "X86CodeEmitter1", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20750, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InsertPrefetch", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "if", "(", "Filename", ".", "empty", "(", ")", ")", "return", "false", ";", "LLVMContext", "&", "Ctx", "=", "M", ".", "getContext", "(", ")", ";", "ErrorOr", "<", "std", "::", "unique_ptr", "<", "SampleProfileReader", ">>", "ReaderOrErr", "=", "SampleProfileReader", "::", "create", "(", "Filename", ",", "Ctx", ")", ";", "if", "(", "std", "::", "error_code", "EC", "=", "ReaderOrErr", ".", "getError", "(", ")", ")", "{", "std", "::", "string", "Msg", "=", "\"Could not open profile: \"", "+", "EC", ".", "message", "(", ")", ";", "Ctx", ".", "diagnose", "(", "DiagnosticInfoSampleProfile", "(", "Filename", ",", "Msg", ",", "DiagnosticSeverity", "::", "DS_Warning", ")", ")", ";", "return", "false", ";", "}", "Reader", "=", "std", "::", "move", "(", "ReaderOrErr", ".", "get", "(", ")", ")", ";", "Reader", "->", "read", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["X86", "X86", "\"Could not open profile: \""], "File": "X86InsertPrefetch (2)", "Func": "doInitialization", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20751, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "pa_reloc_rw_mask", "(", "void", ")", "{", "return", "3", ";", "}", ""], "natrual_language": ["Implement", "pa_reloc_rw_mask", "."], "TS_V_token": ["pa", "3"], "File": "pa4", "Func": "pa_reloc_rw_mask", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20752, "Length": 11, "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": "PPCFrameLowering (2)", "Func": "hasFP", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20753, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addIRPasses", "(", ")", "{", "if", "(", "TM", "->", "Options", ".", "ThreadModel", "==", "ThreadModel", "::", "Single", ")", "addPass", "(", "createLowerAtomicPass", "(", ")", ")", ";", "else", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableAtomicTidy", ")", "addPass", "(", "createCFGSimplificationPass", "(", "1", ",", "false", ",", "false", ",", "true", ",", "true", ",", "[", "this", "]", "(", "const", "Function", "&", "F", ")", "{", "const", "auto", "&", "ST", "=", "this", "->", "TM", "->", "getSubtarget", "<", "ARMSubtarget", ">", "(", "F", ")", ";", "return", "ST", ".", "hasAnyDataBarrier", "(", ")", "&&", "!", "ST", ".", "isThumb1Only", "(", ")", ";", "}", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "if", "(", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "Aggressive", ")", "addPass", "(", "createARMParallelDSPPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createInterleavedAccessPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["ARM", "ARM", "1", "ARM", "ARM"], "File": "ARMTargetMachine101", "Func": "addIRPasses", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20754, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "DLXRegisterInfo", "::", "getRARegister", "(", ")", "const", "{", "return", "DLX", "::", "RA", ";", "}", ""], "natrual_language": ["This", "method", "should", "return", "the", "register", "where", "the", "return", "address", "can", "be", "found", "."], "TS_V_token": ["DLX", "DLX", "DLX::RA"], "File": "DLXRegisterInfo", "Func": "getRARegister", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20755, "Length": 14, "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": 20756, "Length": 147, "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", "(", "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", ";", "}", "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_GOT", "X86II::MO_NO_FLAG", "X86II::MO_GOTPCREL", "X86II::MO_DARWIN_NONLAZY", "X86II::MO_DARWIN_NONLAZY_PIC_BASE", "X86II::MO_GOT"], "File": "X86Subtarget2", "Func": "classifyGlobalReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20757, "Length": 198, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "AArch64NamedImmMapper", "::", "toString", "(", "uint32_t", "Value", ",", "bool", "&", "Valid", ")", "const", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "NumMappings", ";", "++", "i", ")", "{", "if", "(", "Mappings", "[", "i", "]", ".", "Value", "==", "Value", ")", "{", "Valid", "=", "true", ";", "return", "Mappings", "[", "i", "]", ".", "Name", ";", "}", "}", "Valid", "=", "false", ";", "return", "StringRef", "(", ")", ";", "}", ""], "natrual_language": ["Convert", "to", "a", "decimal", "representation", "in", "a", "string", "."], "TS_V_token": ["AArch64", "AArch64", "0"], "File": "AArch64BaseInfo10", "Func": "toString", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20758, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64ConditionalCompares", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** AArch64 Conditional Compares **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "SchedModel", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getSchedModel", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "DomTree", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "Loops", "=", "getAnalysisIfAvailable", "<", "MachineLoopInfo", ">", "(", ")", ";", "Traces", "=", "&", "getAnalysis", "<", "MachineTraceMetrics", ">", "(", ")", ";", "MinInstr", "=", "nullptr", ";", "MinSize", "=", "MF", ".", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "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": ["AArch64", "AArch64", "\"********** AArch64 Conditional Compares **********\\n\"", "\"********** Function: \""], "File": "AArch64ConditionalCompares24", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20759, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "aarch64_estimated_poly_value", "(", "poly_int64", "val", ",", "poly_value_estimate_kind", "kind", "=", "POLY_VALUE_LIKELY", ")", "{", "enum", "aarch64_sve_vector_bits_enum", "width_source", "=", "aarch64_tune_params", ".", "sve_width", ";", "if", "(", "width_source", "==", "SVE_SCALABLE", ")", "switch", "(", "kind", ")", "{", "case", "POLY_VALUE_MIN", ":", "case", "POLY_VALUE_LIKELY", ":", "return", "val", ".", "coeffs", "[", "0", "]", ";", "case", "POLY_VALUE_MAX", ":", "return", "val", ".", "coeffs", "[", "0", "]", "+", "val", ".", "coeffs", "[", "1", "]", "*", "15", ";", "}", "HOST_WIDE_INT", "over_128", "=", "width_source", "-", "128", ";", "return", "val", ".", "coeffs", "[", "0", "]", "+", "val", ".", "coeffs", "[", "1", "]", "*", "over_128", "/", "128", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ESTIMATED_POLY_VALUE", ".", "Look", "into", "the", "tuning", "structure", "for", "an", "estimate", ".", "KIND", "specifies", "the", "type", "of", "requested", "estimate", ":", "min", ",", "max", "or", "likely", ".", "For", "cores", "with", "a", "known", "SVE", "width", "all", "three", "estimates", "are", "the", "same", ".", "For", "generic", "SVE", "tuning", "we", "want", "to", "distinguish", "the", "maximum", "estimate", "from", "the", "minimum", "and", "likely", "ones", ".", "The", "likely", "estimate", "is", "the", "same", "as", "the", "minimum", "in", "that", "case", "to", "give", "a", "conservative", "behavior", "of", "auto-vectorizing", "with", "SVE", "when", "it", "is", "a", "win", "even", "for", "128-bit", "SVE", ".", "When", "SVE", "width", "information", "is", "available", "VAL.coeffs", "[", "1", "]", "is", "multiplied", "by", "the", "number", "of", "VQ", "chunks", "over", "the", "initial", "Advanced", "SIMD", "128", "bits", "."], "TS_V_token": ["aarch64", "0", "0", "1", "15", "128", "0", "1", "128"], "File": "aarch641", "Func": "aarch64_estimated_poly_value", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20760, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmPrinter", "::", "emitFunctionBodyEnd", "(", ")", "{", "if", "(", "EmitFPOData", ")", "{", "if", "(", "auto", "*", "XTS", "=", "static_cast", "<", "X86TargetStreamer", "*", ">", "(", "OutStreamer", "->", "getTargetStreamer", "(", ")", ")", ")", "XTS", "->", "emitFPOEndProc", "(", ")", ";", "}", "}", ""], "natrual_language": ["Targets", "can", "override", "this", "to", "emit", "stuff", "after", "the", "last", "basic", "block", "in", "the", "function", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86AsmPrinter10", "Func": "emitFunctionBodyEnd", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20761, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "enable_mask_for_builtins", "(", "struct", "builtin_description", "*", "desc", ",", "int", "size", ",", "enum", "rs6000_builtins", "start", ",", "enum", "rs6000_builtins", "end", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "size", ";", "++", "i", ")", "if", "(", "desc", "[", "i", "]", ".", "code", "==", "start", ")", "break", ";", "if", "(", "i", "==", "size", ")", "return", ";", "for", "(", ";", "i", "<", "size", ";", "++", "i", ")", "{", "desc", "[", "i", "]", ".", "mask", "=", "target_flags", ";", "if", "(", "desc", "[", "i", "]", ".", "code", "==", "end", ")", "break", ";", "}", "}", ""], "natrual_language": ["Search", "through", "a", "set", "of", "builtins", "and", "enable", "the", "mask", "bits", ".", "DESC", "is", "an", "array", "of", "builtins", ".", "SIZE", "is", "the", "total", "number", "of", "builtins", ".", "START", "is", "the", "builtin", "enum", "at", "which", "to", "start", ".", "END", "is", "the", "builtin", "enum", "at", "which", "to", "end", "."], "TS_V_token": ["rs6000", "0"], "File": "rs60003", "Func": "enable_mask_for_builtins", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20762, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "hppa_rtx_costs", "(", "rtx", "x", ",", "int", "code", ",", "int", "outer_code", ",", "int", "opno", "ATTRIBUTE_UNUSED", ",", "int", "*", "total", ",", "bool", "speed", "ATTRIBUTE_UNUSED", ")", "{", "int", "factor", ";", "switch", "(", "code", ")", "{", "case", "CONST_INT", ":", "if", "(", "INTVAL", "(", "x", ")", "==", "0", ")", "*", "total", "=", "0", ";", "else", "if", "(", "INT_14_BITS", "(", "x", ")", ")", "*", "total", "=", "1", ";", "else", "*", "total", "=", "2", ";", "return", "true", ";", "case", "HIGH", ":", "*", "total", "=", "2", ";", "return", "true", ";", "case", "CONST", ":", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":", "*", "total", "=", "4", ";", "return", "true", ";", "case", "CONST_DOUBLE", ":", "if", "(", "(", "x", "==", "CONST0_RTX", "(", "DFmode", ")", "||", "x", "==", "CONST0_RTX", "(", "SFmode", ")", ")", "&&", "outer_code", "!=", "SET", ")", "*", "total", "=", "0", ";", "else", "*", "total", "=", "8", ";", "return", "true", ";", "case", "MULT", ":", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "x", ")", ")", "==", "MODE_FLOAT", ")", "{", "*", "total", "=", "COSTS_N_INSNS", "(", "3", ")", ";", "return", "true", ";", "}", "factor", "=", "GET_MODE_SIZE", "(", "GET_MODE", "(", "x", ")", ")", "/", "4", ";", "if", "(", "factor", "==", "0", ")", "factor", "=", "1", ";", "if", "(", "TARGET_PA_11", "&&", "!", "TARGET_DISABLE_FPREGS", "&&", "!", "TARGET_SOFT_FLOAT", ")", "*", "total", "=", "factor", "*", "factor", "*", "COSTS_N_INSNS", "(", "8", ")", ";", "else", "*", "total", "=", "factor", "*", "factor", "*", "COSTS_N_INSNS", "(", "20", ")", ";", "return", "true", ";", "case", "DIV", ":", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "x", ")", ")", "==", "MODE_FLOAT", ")", "{", "*", "total", "=", "COSTS_N_INSNS", "(", "14", ")", ";", "return", "true", ";", "}", "case", "UDIV", ":", "case", "MOD", ":", "case", "UMOD", ":", "factor", "=", "GET_MODE_SIZE", "(", "GET_MODE", "(", "x", ")", ")", "/", "4", ";", "if", "(", "factor", "==", "0", ")", "factor", "=", "1", ";", "*", "total", "=", "factor", "*", "factor", "*", "COSTS_N_INSNS", "(", "60", ")", ";", "return", "true", ";", "case", "PLUS", ":", "case", "MINUS", ":", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "x", ")", ")", "==", "MODE_FLOAT", ")", "{", "*", "total", "=", "COSTS_N_INSNS", "(", "3", ")", ";", "return", "true", ";", "}", "factor", "=", "GET_MODE_SIZE", "(", "GET_MODE", "(", "x", ")", ")", "/", "UNITS_PER_WORD", ";", "if", "(", "factor", "==", "0", ")", "factor", "=", "1", ";", "*", "total", "=", "factor", "*", "COSTS_N_INSNS", "(", "1", ")", ";", "return", "true", ";", "case", "ASHIFT", ":", "case", "ASHIFTRT", ":", "case", "LSHIFTRT", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", ";", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Compute", "a", "(", "partial", ")", "cost", "for", "rtx", "X", ".", "Return", "true", "if", "the", "complete", "cost", "has", "been", "computed", ",", "and", "false", "if", "subexpressions", "should", "be", "scanned", ".", "In", "either", "case", ",", "*", "TOTAL", "contains", "the", "cost", "result", "."], "TS_V_token": ["pa", "0", "0", "1", "2", "2", "4", "0", "8", "3", "4", "0", "1", "8", "20", "14", "4", "0", "1", "60", "3", "0", "1", "1", "1"], "File": "pa4", "Func": "hppa_rtx_costs", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20763, "Length": 395, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_symbol_insns", "(", "enum", "mips_symbol_type", "type", ",", "machine_mode", "mode", ")", "{", "if", "(", "mode", "!=", "MAX_MACHINE_MODE", "&&", "MSA_SUPPORTED_MODE_P", "(", "mode", ")", ")", "return", "0", ";", "return", "mips_symbol_insns_1", "(", "type", ",", "mode", ")", "*", "(", "TARGET_MIPS16", "?", "2", ":", "1", ")", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "needed", "to", "load", "a", "symbol", "of", "the", "given", "type", "into", "a", "register", ".", "If", "valid", "in", "an", "address", ",", "the", "same", "number", "of", "instructions", "are", "needed", "for", "loads", "and", "stores", ".", "Treat", "extended", "mips16", "instructions", "as", "two", "instructions", "."], "TS_V_token": ["mips", "0", "2", "1"], "File": "mips", "Func": "mips_symbol_insns", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20764, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "enableInterleavedAccessVectorization", "(", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["Enable", "matching", "of", "interleaved", "access", "groups", "."], "TS_V_token": ["SystemZ"], "File": "SystemZTargetTransformInfo", "Func": "enableInterleavedAccessVectorization", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20765, "Length": 9, "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", ")", "{", "unsigned", "StackAlign", "=", "getStackAlignment", "(", ")", ";", "Amount", "=", "RoundUpToAlignment", "(", "Amount", ",", "StackAlign", ")", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "Function", "*", "Fn", "=", "MF", ".", "getFunction", "(", ")", ";", "bool", "WindowsCFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", "->", "usesWindowsCFI", "(", ")", ";", "bool", "DwarfCFI", "=", "!", "WindowsCFI", "&&", "(", "MMI", ".", "hasDebugInfo", "(", ")", "||", "Fn", "->", "needsUnwindTableEntry", "(", ")", ")", ";", "bool", "HasDwarfEHHandlers", "=", "!", "WindowsCFI", "&&", "!", "MF", ".", "getMMI", "(", ")", ".", "getLandingPads", "(", ")", ".", "empty", "(", ")", ";", "if", "(", "HasDwarfEHHandlers", "&&", "!", "isDestroy", "&&", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "getHasPushSequences", "(", ")", ")", "BuildCFI", "(", "MBB", ",", "I", ",", "DL", ",", "MCCFIInstruction", "::", "createGnuArgsSize", "(", "nullptr", ",", "Amount", ")", ")", ";", "if", "(", "Amount", "==", "0", ")", "return", ";", "Amount", "-=", "InternalAmt", ";", "if", "(", "isDestroy", "&&", "InternalAmt", "&&", "DwarfCFI", "&&", "!", "hasFP", "(", "MF", ")", "&&", "MMI", ".", "usePreciseUnwindInfo", "(", ")", ")", "BuildCFI", "(", "MBB", ",", "I", ",", "DL", ",", "MCCFIInstruction", "::", "createAdjustCfaOffset", "(", "nullptr", ",", "-", "InternalAmt", ")", ")", ";", "if", "(", "Amount", ")", "{", "int", "Offset", "=", "isDestroy", "?", "Amount", ":", "-", "Amount", ";", "if", "(", "!", "(", "Fn", "->", "optForMinSize", "(", ")", "&&", "adjustStackWithPops", "(", "MBB", ",", "I", ",", "DL", ",", "Offset", ")", ")", ")", "BuildStackAdjustment", "(", "MBB", ",", "I", ",", "DL", ",", "Offset", ",", "false", ")", ";", "}", "if", "(", "DwarfCFI", "&&", "!", "hasFP", "(", "MF", ")", ")", "{", "int", "CFAOffset", "=", "Amount", ";", "if", "(", "!", "MMI", ".", "usePreciseUnwindInfo", "(", ")", ")", "CFAOffset", "+=", "InternalAmt", ";", "CFAOffset", "=", "isDestroy", "?", "-", "CFAOffset", ":", "CFAOffset", ";", "BuildCFI", "(", "MBB", ",", "I", ",", "DL", ",", "MCCFIInstruction", "::", "createAdjustCfaOffset", "(", "nullptr", ",", "CFAOffset", ")", ")", ";", "}", "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", "X86", "0"], "File": "X86FrameLowering81", "Func": "eliminateCallFramePseudoInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20766, "Length": 463, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "resolveFrameIndex", "(", "MachineInstr", "&", "MI", ",", "Register", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "ARMBaseInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "int", "Off", "=", "Offset", ";", "unsigned", "i", "=", "0", ";", "assert", "(", "!", "AFI", "->", "isThumb1OnlyFunction", "(", ")", "&&", "\"This resolveFrameIndex does not support Thumb1!\"", ")", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "bool", "Done", "=", "false", ";", "if", "(", "!", "AFI", "->", "isThumbFunction", "(", ")", ")", "Done", "=", "rewriteARMFrameIndex", "(", "MI", ",", "i", ",", "BaseReg", ",", "Off", ",", "TII", ")", ";", "else", "{", "assert", "(", "AFI", "->", "isThumb2Function", "(", ")", ")", ";", "Done", "=", "rewriteT2FrameIndex", "(", "MI", ",", "i", ",", "BaseReg", ",", "Off", ",", "TII", ",", "this", ")", ";", "}", "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", "ARM", "0", "\"This resolveFrameIndex does not support Thumb1!\"", "\"Instr doesn't have FrameIndex operand!\"", "ARM", "\"Unable to resolve frame index!\""], "File": "ARMBaseRegisterInfo", "Func": "resolveFrameIndex", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20767, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "ARMBaseInstrInfo", "::", "optimizeSelect", "(", "MachineInstr", "*", "MI", ",", "bool", "PreferFalse", ")", "const", "{", "assert", "(", "(", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "MOVCCr", "||", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2MOVCCr", ")", "&&", "\"Unknown select instruction\"", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MachineInstr", "*", "DefMI", "=", "canFoldIntoMOVCC", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ",", "MRI", ",", "this", ")", ";", "bool", "Invert", "=", "!", "DefMI", ";", "if", "(", "!", "DefMI", ")", "DefMI", "=", "canFoldIntoMOVCC", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ",", "MRI", ",", "this", ")", ";", "if", "(", "!", "DefMI", ")", "return", "0", ";", "MachineOperand", "FalseReg", "=", "MI", "->", "getOperand", "(", "Invert", "?", "2", ":", "1", ")", ";", "unsigned", "DestReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "PreviousClass", "=", "MRI", ".", "getRegClass", "(", "FalseReg", ".", "getReg", "(", ")", ")", ";", "if", "(", "!", "MRI", ".", "constrainRegClass", "(", "DestReg", ",", "PreviousClass", ")", ")", "return", "0", ";", "MachineInstrBuilder", "NewMI", "=", "BuildMI", "(", "*", "MI", "->", "getParent", "(", ")", ",", "MI", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "DefMI", "->", "getDesc", "(", ")", ",", "DestReg", ")", ";", "const", "MCInstrDesc", "&", "DefDesc", "=", "DefMI", "->", "getDesc", "(", ")", ";", "for", "(", "unsigned", "i", "=", "1", ",", "e", "=", "DefDesc", ".", "getNumOperands", "(", ")", ";", "i", "!=", "e", "&&", "!", "DefDesc", ".", "OpInfo", "[", "i", "]", ".", "isPredicate", "(", ")", ";", "++", "i", ")", "NewMI", ".", "addOperand", "(", "DefMI", "->", "getOperand", "(", "i", ")", ")", ";", "unsigned", "CondCode", "=", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "if", "(", "Invert", ")", "NewMI", ".", "addImm", "(", "ARMCC", "::", "getOppositeCondition", "(", "ARMCC", "::", "CondCodes", "(", "CondCode", ")", ")", ")", ";", "else", "NewMI", ".", "addImm", "(", "CondCode", ")", ";", "NewMI", ".", "addOperand", "(", "MI", "->", "getOperand", "(", "4", ")", ")", ";", "if", "(", "NewMI", "->", "hasOptionalDef", "(", ")", ")", "AddDefaultCC", "(", "NewMI", ")", ";", "FalseReg", ".", "setImplicit", "(", ")", ";", "NewMI", ".", "addOperand", "(", "FalseReg", ")", ";", "NewMI", "->", "tieOperands", "(", "0", ",", "NewMI", "->", "getNumOperands", "(", ")", "-", "1", ")", ";", "DefMI", "->", "eraseFromParent", "(", ")", ";", "return", "NewMI", ";", "}", ""], "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": ["ARM", "ARM", "ARM::MOVCCr", "ARM::t2MOVCCr", "\"Unknown select instruction\"", "2", "1", "0", "2", "1", "0", "0", "1", "3", "ARMCC::getOppositeCondition", "ARMCC::CondCodes", "4", "0", "1"], "File": "ARMBaseInstrInfo (2)", "Func": "optimizeSelect", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20768, "Length": 372, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "isCoalescableExtInstr", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "&", "SrcReg", ",", "unsigned", "&", "DstReg", ",", "unsigned", "&", "SubIdx", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "X86", "::", "MOVSX16rr8", ":", "case", "X86", "::", "MOVZX16rr8", ":", "case", "X86", "::", "MOVSX32rr8", ":", "case", "X86", "::", "MOVZX32rr8", ":", "case", "X86", "::", "MOVSX64rr8", ":", "case", "X86", "::", "MOVZX64rr8", ":", "if", "(", "!", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ")", "return", "false", ";", "case", "X86", "::", "MOVSX32rr16", ":", "case", "X86", "::", "MOVZX32rr16", ":", "case", "X86", "::", "MOVSX64rr16", ":", "case", "X86", "::", "MOVZX64rr16", ":", "case", "X86", "::", "MOVSX64rr32", ":", "case", "X86", "::", "MOVZX64rr32", ":", "{", "if", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getSubReg", "(", ")", "||", "MI", ".", "getOperand", "(", "1", ")", ".", "getSubReg", "(", ")", ")", "return", "false", ";", "SrcReg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "DstReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "0", ")", ";", "break", ";", "case", "X86", "::", "MOVSX16rr8", ":", "case", "X86", "::", "MOVZX16rr8", ":", "case", "X86", "::", "MOVSX32rr8", ":", "case", "X86", "::", "MOVZX32rr8", ":", "case", "X86", "::", "MOVSX64rr8", ":", "case", "X86", "::", "MOVZX64rr8", ":", "SubIdx", "=", "1", ";", "break", ";", "case", "X86", "::", "MOVSX32rr16", ":", "case", "X86", "::", "MOVZX32rr16", ":", "case", "X86", "::", "MOVSX64rr16", ":", "case", "X86", "::", "MOVZX64rr16", ":", "SubIdx", "=", "3", ";", "break", ";", "case", "X86", "::", "MOVSX64rr32", ":", "case", "X86", "::", "MOVZX64rr32", ":", "SubIdx", "=", "4", ";", "break", ";", "}", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["isCoalescableExtInstr", "-", "Return", "true", "if", "the", "instruction", "is", "a", "``", "coalescable", "''", "extension", "instruction", "."], "TS_V_token": ["X86", "X86", "X86::MOVSX16rr8", "X86::MOVZX16rr8", "X86::MOVSX32rr8", "X86::MOVZX32rr8", "X86::MOVSX64rr8", "X86::MOVZX64rr8", "X86", "X86::MOVSX32rr16", "X86::MOVZX32rr16", "X86::MOVSX64rr16", "X86::MOVZX64rr16", "X86::MOVSX64rr32", "X86::MOVZX64rr32", "0", "1", "1", "0", "0", "X86::MOVSX16rr8", "X86::MOVZX16rr8", "X86::MOVSX32rr8", "X86::MOVZX32rr8", "X86::MOVSX64rr8", "X86::MOVZX64rr8", "1", "X86::MOVSX32rr16", "X86::MOVZX32rr16", "X86::MOVSX64rr16", "X86::MOVZX64rr16", "3", "X86::MOVSX64rr32", "X86::MOVZX64rr32", "4"], "File": "X86InstrInfo134", "Func": "isCoalescableExtInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20769, "Length": 276, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "scalar_chain", "::", "replace_with_subreg_in_insn", "(", "rtx_insn", "*", "insn", ",", "rtx", "reg", ",", "rtx", "new_reg", ")", "{", "replace_with_subreg", "(", "single_set", "(", "insn", ")", ",", "reg", ",", "new_reg", ")", ";", "}", ""], "natrual_language": ["Replace", "REG", "in", "INSN", "with", "a", "V2DI", "subreg", "of", "NEW_REG", "."], "TS_V_token": ["i386"], "File": "i3865", "Func": "replace_with_subreg_in_insn", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20770, "Length": 29, "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", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tMOVr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "else", "{", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "st", ".", "getRegisterInfo", "(", ")", ";", "if", "(", "MBB", ".", "computeRegisterLiveness", "(", "RegInfo", ",", "ARM", "::", "CPSR", ",", "I", ")", "==", "MachineBasicBlock", "::", "LQR_Dead", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tMOVSr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", "->", "addRegisterDead", "(", "ARM", "::", "CPSR", ",", "RegInfo", ")", ";", "return", ";", "}", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tPUSH", ")", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tPOP", ")", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ".", "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", "ARMCC::AL", "ARM::CPSR", "ARM::tMOVSr", "ARM::CPSR", "ARM::tPUSH", "ARMCC::AL", "ARM::tPOP", "ARMCC::AL"], "File": "Thumb1InstrInfo10", "Func": "copyPhysReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20771, "Length": 283, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_mixed_function_arg", "(", "machine_mode", "mode", ",", "const_tree", "type", ",", "int", "align_words", ")", "{", "int", "n_units", ";", "int", "i", ",", "k", ";", "rtx", "rvec", "[", "GP_ARG_NUM_REG", "+", "1", "]", ";", "if", "(", "align_words", ">=", "GP_ARG_NUM_REG", ")", "return", "NULL_RTX", ";", "n_units", "=", "rs6000_arg_size", "(", "mode", ",", "type", ")", ";", "if", "(", "n_units", "==", "0", "||", "(", "n_units", "==", "1", "&&", "mode", "!=", "BLKmode", ")", ")", "return", "gen_rtx_REG", "(", "mode", ",", "GP_ARG_MIN_REG", "+", "align_words", ")", ";", "k", "=", "0", ";", "if", "(", "align_words", "+", "n_units", ">", "GP_ARG_NUM_REG", ")", "rvec", "[", "k", "++", "]", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "NULL_RTX", ",", "const0_rtx", ")", ";", "i", "=", "0", ";", "do", "{", "rtx", "r", "=", "gen_rtx_REG", "(", "SImode", ",", "GP_ARG_MIN_REG", "+", "align_words", ")", ";", "rtx", "off", "=", "GEN_INT", "(", "i", "++", "*", "4", ")", ";", "rvec", "[", "k", "++", "]", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "r", ",", "off", ")", ";", "}", "while", "(", "++", "align_words", "<", "GP_ARG_NUM_REG", "&&", "--", "n_units", "!=", "0", ")", ";", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec_v", "(", "k", ",", "rvec", ")", ")", ";", "}", ""], "natrual_language": ["Determine", "where", "to", "place", "an", "argument", "in", "64-bit", "mode", "with", "32-bit", "ABI", "."], "TS_V_token": ["powerpcspe", "1", "0", "1", "0", "0", "4", "0"], "File": "powerpcspe", "Func": "rs6000_mixed_function_arg", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20772, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TOYFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TOYInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "TOYInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "int", "StackSize", "=", "(", "int", ")", "MFI", "->", "getStackSize", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TOY", "::", "ADDri", ")", ",", "TOY", "::", "SP", ")", ".", "addReg", "(", "TOY", "::", "SP", ")", ".", "addImm", "(", "StackSize", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["TOY", "TOY", "TOY", "TOY", "TOY::ADDri", "TOY::SP", "TOY::SP"], "File": "TOYFrameLowering", "Func": "emitPrologue", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20773, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "build_mask64_2_operands", "(", "rtx", "in", ",", "rtx", "*", "out", ")", "{", "unsigned", "HOST_WIDE_INT", "c", ",", "lsb", ",", "m1", ",", "m2", ";", "int", "shift", ";", "gcc_assert", "(", "GET_CODE", "(", "in", ")", "==", "CONST_INT", ")", ";", "c", "=", "INTVAL", "(", "in", ")", ";", "if", "(", "c", "&", "1", ")", "{", "c", "=", "~", "c", ";", "lsb", "=", "c", "&", "-", "c", ";", "m1", "=", "-", "lsb", ";", "c", "=", "~", "c", ";", "c", "&=", "-", "lsb", ";", "lsb", "=", "c", "&", "-", "c", ";", "c", "=", "~", "c", ";", "c", "&=", "-", "lsb", ";", "shift", "=", "0", ";", "while", "(", "(", "lsb", ">>=", "1", ")", "!=", "0", ")", "shift", "++", ";", "m1", "<<=", "64", "-", "shift", ";", "m1", "=", "~", "m1", ";", "m2", "=", "~", "c", ";", "}", "else", "{", "lsb", "=", "c", "&", "-", "c", ";", "m2", "=", "-", "lsb", ";", "c", "=", "~", "c", ";", "c", "&=", "-", "lsb", ";", "lsb", "=", "c", "&", "-", "c", ";", "c", "=", "~", "c", ";", "c", "&=", "-", "lsb", ";", "shift", "=", "0", ";", "while", "(", "(", "lsb", ">>=", "1", ")", "!=", "0", ")", "shift", "++", ";", "m1", "=", "~", "c", ";", "m1", ">>=", "shift", ";", "m1", "=", "~", "m1", ";", "}", "out", "[", "0", "]", "=", "GEN_INT", "(", "64", "-", "shift", ")", ";", "out", "[", "1", "]", "=", "GEN_INT", "(", "m1", ")", ";", "out", "[", "2", "]", "=", "GEN_INT", "(", "shift", ")", ";", "out", "[", "3", "]", "=", "GEN_INT", "(", "m2", ")", ";", "}", ""], "natrual_language": ["Generates", "shifts", "and", "masks", "for", "a", "pair", "of", "rldicl", "or", "rldicr", "insns", "to", "implement", "ANDing", "by", "the", "mask", "IN", "."], "TS_V_token": ["rs6000", "1", "0", "1", "0", "64", "0", "1", "0", "0", "64", "1", "2", "3"], "File": "rs60004", "Func": "build_mask64_2_operands", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20774, "Length": 242, "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": 20775, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "PPCDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "if", "(", "!", "GlobalBaseReg", ")", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "TM", ".", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ";", "MachineBasicBlock", "&", "FirstMBB", "=", "MF", "->", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "FirstMBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", ";", "if", "(", "PPCLowering", "->", "getPointerTy", "(", ")", "==", "MVT", "::", "i32", ")", "{", "if", "(", "PPCSubTarget", "->", "isTargetELF", "(", ")", ")", "GlobalBaseReg", "=", "PPC", "::", "R30", ";", "else", "GlobalBaseReg", "=", "RegInfo", "->", "createVirtualRegister", "(", "&", "PPC", "::", "GPRC_NOR0RegClass", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MovePCtoLR", ")", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MFLR", ")", ",", "GlobalBaseReg", ")", ";", "if", "(", "PPCSubTarget", "->", "isTargetELF", "(", ")", ")", "{", "unsigned", "TempReg", "=", "RegInfo", "->", "createVirtualRegister", "(", "&", "PPC", "::", "GPRCRegClass", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "GetGBRO", ")", ",", "TempReg", ")", ".", "addReg", "(", "GlobalBaseReg", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "UpdateGBR", ")", ")", ".", "addReg", "(", "GlobalBaseReg", ")", ".", "addReg", "(", "TempReg", ")", ";", "MF", "->", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", "->", "setUsesPICBase", "(", "true", ")", ";", "}", "}", "else", "{", "GlobalBaseReg", "=", "RegInfo", "->", "createVirtualRegister", "(", "&", "PPC", "::", "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", "(", ")", ")", ".", "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", "PPC::R30", "PPC::GPRC_NOR0RegClass", "PPC::MovePCtoLR", "PPC::MFLR", "PPC", "PPC::GPRCRegClass", "PPC::GetGBRO", "PPC::UpdateGBR", "PPC", "PPC::G8RC_NOX0RegClass", "PPC::MovePCtoLR8", "PPC::MFLR8", "PPC"], "File": "PPCISelDAGToDAG109", "Func": "getGlobalBaseReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20776, "Length": 296, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "KudeyarFrameLowering", "::", "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": ["Kudeyar", "Kudeyar"], "File": "KudeyarFrameLowering", "Func": "hasReservedCallFrame", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20777, "Length": 25, "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": 20778, "Length": 242, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_output_function_prologue", "(", "FILE", "*", "file", ",", "HOST_WIDE_INT", "size", "ATTRIBUTE_UNUSED", ")", "{", "int", "mask", ",", "grsave", ",", "grsave_prev", ";", "if", "(", "current_frame_info", ".", "need_regstk", ")", "fprintf", "(", "file", ",", "\"\\t.regstk %d, %d, %d, %d\\n\"", ",", "current_frame_info", ".", "n_input_regs", ",", "current_frame_info", ".", "n_local_regs", ",", "current_frame_info", ".", "n_output_regs", ",", "current_frame_info", ".", "n_rotate_regs", ")", ";", "if", "(", "!", "flag_unwind_tables", "&&", "(", "!", "flag_exceptions", "||", "USING_SJLJ_EXCEPTIONS", ")", ")", "return", ";", "mask", "=", "0", ";", "grsave", "=", "grsave_prev", "=", "0", ";", "if", "(", "current_frame_info", ".", "reg_save_b0", "!=", "0", ")", "{", "mask", "|=", "8", ";", "grsave", "=", "grsave_prev", "=", "current_frame_info", ".", "reg_save_b0", ";", "}", "if", "(", "current_frame_info", ".", "reg_save_ar_pfs", "!=", "0", "&&", "(", "grsave_prev", "==", "0", "||", "current_frame_info", ".", "reg_save_ar_pfs", "==", "grsave_prev", "+", "1", ")", ")", "{", "mask", "|=", "4", ";", "if", "(", "grsave_prev", "==", "0", ")", "grsave", "=", "current_frame_info", ".", "reg_save_ar_pfs", ";", "grsave_prev", "=", "current_frame_info", ".", "reg_save_ar_pfs", ";", "}", "if", "(", "current_frame_info", ".", "reg_fp", "!=", "0", "&&", "(", "grsave_prev", "==", "0", "||", "current_frame_info", ".", "reg_fp", "==", "grsave_prev", "+", "1", ")", ")", "{", "mask", "|=", "2", ";", "if", "(", "grsave_prev", "==", "0", ")", "grsave", "=", "HARD_FRAME_POINTER_REGNUM", ";", "grsave_prev", "=", "current_frame_info", ".", "reg_fp", ";", "}", "if", "(", "current_frame_info", ".", "reg_save_pr", "!=", "0", "&&", "(", "grsave_prev", "==", "0", "||", "current_frame_info", ".", "reg_save_pr", "==", "grsave_prev", "+", "1", ")", ")", "{", "mask", "|=", "1", ";", "if", "(", "grsave_prev", "==", "0", ")", "grsave", "=", "current_frame_info", ".", "reg_save_pr", ";", "}", "if", "(", "mask", "&&", "TARGET_GNU_AS", ")", "fprintf", "(", "file", ",", "\"\\t.prologue %d, %d\\n\"", ",", "mask", ",", "ia64_dbx_register_number", "(", "grsave", ")", ")", ";", "else", "fputs", "(", "\"\\t.prologue\\n\"", ",", "file", ")", ";", "if", "(", "current_frame_info", ".", "spill_cfa_off", "!=", "-", "16", ")", "fprintf", "(", "file", ",", "\"\\t.spill %ld\\n\"", ",", "(", "long", ")", "(", "current_frame_info", ".", "spill_cfa_off", "+", "current_frame_info", ".", "spill_size", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "function", "prologue", "."], "TS_V_token": ["ia64", "\"\\t.regstk %d, %d, %d, %d\\n\"", "0", "0", "0", "8", "0", "0", "1", "4", "0", "0", "0", "1", "2", "0", "0", "0", "1", "1", "0", "\"\\t.prologue %d, %d\\n\"", "\"\\t.prologue\\n\"", "16", "\"\\t.spill %ld\\n\""], "File": "ia643", "Func": "ia64_output_function_prologue", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20779, "Length": 283, "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": 20780, "Length": 327, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "loongarch_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": ["loongarch"], "File": "loongarch", "Func": "loongarch_constant_alignment", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20781, "Length": 39, "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": 20782, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMLoc", "getOffsetOfLoc", "(", ")", "const", "{", "return", "OffsetOfLoc", ";", "}", ""], "natrual_language": ["getOffsetOfLoc", "-", "Get", "the", "location", "of", "the", "offset", "operator", "."], "TS_V_token": ["X86"], "File": "X86AsmParser (2)2", "Func": "getOffsetOfLoc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20783, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "int", "abi_default_cpu_arch", "(", "struct", "loongarch_abi", "abi", ")", "{", "switch", "(", "abi", ".", "base", ")", "{", "case", "ABI_BASE_LP64D", ":", "case", "ABI_BASE_LP64F", ":", "case", "ABI_BASE_LP64S", ":", "if", "(", "abi", ".", "ext", "==", "ABI_EXT_BASE", ")", "return", "CPU_LOONGARCH64", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["The", "behavior", "of", "this", "function", "should", "be", "consistent", "with", "config.gcc", "."], "TS_V_token": ["loongarch"], "File": "loongarch-opts", "Func": "abi_default_cpu_arch", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20784, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86DAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "OptForSize", "=", "MF", "->", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "OptimizeForSize", ")", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "I", "++", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "!", "Subtarget", "->", "isTargetNaCl", "(", ")", "&&", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", "||", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "TC_RETURN", "&&", "(", "Subtarget", "->", "is64Bit", "(", ")", "||", "getTargetMachine", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", ")", ")", ")", ")", "{", "bool", "HasCallSeq", "=", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", ";", "SDValue", "Chain", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Load", "=", "N", "->", "getOperand", "(", "1", ")", ";", "if", "(", "!", "isCalleeLoad", "(", "Load", ",", "Chain", ",", "HasCallSeq", ")", ")", "continue", ";", "MoveBelowOrigChain", "(", "CurDAG", ",", "Load", ",", "SDValue", "(", "N", ",", "0", ")", ",", "Chain", ")", ";", "++", "NumLoadMoved", ";", "continue", ";", "}", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_ROUND", "&&", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "EVT", "SrcVT", "=", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", ";", "EVT", "DstVT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "if", "(", "SrcVT", ".", "isVector", "(", ")", "||", "DstVT", ".", "isVector", "(", ")", ")", "continue", ";", "bool", "SrcIsSSE", "=", "X86Lowering", ".", "isScalarFPTypeInSSEReg", "(", "SrcVT", ")", ";", "bool", "DstIsSSE", "=", "X86Lowering", ".", "isScalarFPTypeInSSEReg", "(", "DstVT", ")", ";", "if", "(", "SrcIsSSE", "&&", "DstIsSSE", ")", "continue", ";", "if", "(", "!", "SrcIsSSE", "&&", "!", "DstIsSSE", ")", "{", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "if", "(", "N", "->", "getConstantOperandVal", "(", "1", ")", ")", "continue", ";", "}", "EVT", "MemVT", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_ROUND", ")", "MemVT", "=", "DstVT", ";", "else", "MemVT", "=", "SrcIsSSE", "?", "SrcVT", ":", "DstVT", ";", "SDValue", "MemTmp", "=", "CurDAG", "->", "CreateStackTemporary", "(", "MemVT", ")", ";", "DebugLoc", "dl", "=", "N", "->", "getDebugLoc", "(", ")", ";", "SDValue", "Store", "=", "CurDAG", "->", "getTruncStore", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "dl", ",", "N", "->", "getOperand", "(", "0", ")", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "SDValue", "Result", "=", "CurDAG", "->", "getExtLoad", "(", "ISD", "::", "EXTLOAD", ",", "dl", ",", "DstVT", ",", "Store", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "--", "I", ";", "CurDAG", "->", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "0", ")", ",", "Result", ")", ";", "++", "I", ";", "CurDAG", "->", "DeleteNode", "(", "N", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["X86", "X86", "X86ISD::CALL", "X86ISD::TC_RETURN", "X86ISD::CALL", "0", "1", "0", "ISD::FP_ROUND", "ISD::FP_EXTEND", "0", "0", "X86", "X86", "ISD::FP_EXTEND", "1", "ISD::FP_ROUND", "0", "0", "ISD::EXTLOAD", "0", "0"], "File": "X86ISelDAGToDAG74", "Func": "PreprocessISelDAG", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20785, "Length": 465, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CSKYAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "MCP", "=", "MF", ".", "getConstantPool", "(", ")", ";", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "CSKYSubtarget", ">", "(", ")", ";", "return", "AsmPrinter", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["CSKY", "CSKY", "CSKY"], "File": "CSKYAsmPrinter2", "Func": "runOnMachineFunction", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20786, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_simd_lane_bounds", "(", "rtx", "operand", ",", "HOST_WIDE_INT", "low", ",", "HOST_WIDE_INT", "high", ",", "const_tree", "exp", ")", "{", "HOST_WIDE_INT", "lane", ";", "gcc_assert", "(", "CONST_INT_P", "(", "operand", ")", ")", ";", "lane", "=", "INTVAL", "(", "operand", ")", ";", "if", "(", "lane", "<", "low", "||", "lane", ">=", "high", ")", "{", "if", "(", "exp", ")", "error", "(", "\"%Klane %wd out of range %wd - %wd\"", ",", "exp", ",", "lane", ",", "low", ",", "high", "-", "1", ")", ";", "else", "error", "(", "\"lane %wd out of range %wd - %wd\"", ",", "lane", ",", "low", ",", "high", "-", "1", ")", ";", "}", "}", ""], "natrual_language": ["Bounds-check", "lanes", ".", "Ensure", "OPERAND", "lies", "between", "LOW", "(", "inclusive", ")", "and", "HIGH", "(", "exclusive", ")", "."], "TS_V_token": ["aarch64", "\"%Klane %wd out of range %wd - %wd\"", "1", "\"lane %wd out of range %wd - %wd\"", "1"], "File": "aarch64", "Func": "aarch64_simd_lane_bounds", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20787, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetObjectFile", "::", "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", ",", "SectionKind", "::", "getDataRel", "(", ")", ")", ";", "SmallBSSSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".sbss\"", ",", "ELF", "::", "SHT_NOBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getBSS", "(", ")", ")", ";", "const", "MipsSubtarget", "&", "Subtarget", "=", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "if", "(", "Subtarget", ".", "isABI_N64", "(", ")", "||", "Subtarget", ".", "isABI_N32", "(", ")", ")", "ReginfoSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".MIPS.options\"", ",", "ELF", "::", "SHT_MIPS_OPTIONS", ",", "ELF", "::", "SHF_ALLOC", "|", "ELF", "::", "SHF_MIPS_NOSTRIP", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "else", "ReginfoSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".reginfo\"", ",", "ELF", "::", "SHT_MIPS_REGINFO", ",", "ELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "if", "(", "Subtarget", ".", "isTargetNaCl", "(", ")", ")", "{", "StaticCtorSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".init_array\"", ",", "ELF", "::", "SHT_INIT_ARRAY", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getDataRel", "(", ")", ")", ";", "StaticDtorSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".fini_array\"", ",", "ELF", "::", "SHT_FINI_ARRAY", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getDataRel", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["Mips", "Mips", "\".sdata\"", "\".sbss\"", "Mips", "Mips", "\".MIPS.options\"", "\".reginfo\"", "\".init_array\"", "\".fini_array\""], "File": "MipsTargetObjectFile24", "Func": "Initialize", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20788, "Length": 243, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "AArch64InstrInfo", "*", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "const", "AArch64RegisterInfo", "*", "RegInfo", "=", "static_cast", "<", "const", "AArch64RegisterInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "DebugLoc", "DL", ";", "bool", "IsTailCallReturn", "=", "false", ";", "if", "(", "MBB", ".", "end", "(", ")", "!=", "MBBI", ")", "{", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "RetOpcode", "=", "MBBI", "->", "getOpcode", "(", ")", ";", "IsTailCallReturn", "=", "RetOpcode", "==", "AArch64", "::", "TCRETURNdi", "||", "RetOpcode", "==", "AArch64", "::", "TCRETURNri", ";", "}", "int", "NumBytes", "=", "MFI", "->", "getStackSize", "(", ")", ";", "const", "AArch64FunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "if", "(", "MF", ".", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "GHC", ")", "return", ";", "uint64_t", "ArgumentPopSize", "=", "0", ";", "if", "(", "IsTailCallReturn", ")", "{", "MachineOperand", "&", "StackAdjust", "=", "MBBI", "->", "getOperand", "(", "1", ")", ";", "ArgumentPopSize", "=", "StackAdjust", ".", "getImm", "(", ")", ";", "}", "else", "{", "ArgumentPopSize", "=", "AFI", "->", "getArgumentStackToRestore", "(", ")", ";", "}", "NumBytes", "+=", "ArgumentPopSize", ";", "unsigned", "NumRestores", "=", "0", ";", "MachineBasicBlock", "::", "iterator", "LastPopI", "=", "MBB", ".", "getFirstTerminator", "(", ")", ";", "const", "MCPhysReg", "*", "CSRegs", "=", "RegInfo", "->", "getCalleeSavedRegs", "(", "&", "MF", ")", ";", "if", "(", "LastPopI", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "do", "{", "++", "NumRestores", ";", "--", "LastPopI", ";", "}", "while", "(", "LastPopI", "!=", "MBB", ".", "begin", "(", ")", "&&", "isCSRestore", "(", "LastPopI", ",", "CSRegs", ")", ")", ";", "if", "(", "!", "isCSRestore", "(", "LastPopI", ",", "CSRegs", ")", ")", "{", "++", "LastPopI", ";", "--", "NumRestores", ";", "}", "}", "NumBytes", "-=", "NumRestores", "*", "16", ";", "assert", "(", "NumBytes", ">=", "0", "&&", "\"Negative stack allocation size!?\"", ")", ";", "if", "(", "!", "hasFP", "(", "MF", ")", ")", "{", "if", "(", "!", "canUseRedZone", "(", "MF", ")", ")", "emitFrameOffset", "(", "MBB", ",", "LastPopI", ",", "DL", ",", "AArch64", "::", "SP", ",", "AArch64", "::", "SP", ",", "NumBytes", ",", "TII", ")", ";", "return", ";", "}", "if", "(", "NumBytes", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", ")", "emitFrameOffset", "(", "MBB", ",", "LastPopI", ",", "DL", ",", "AArch64", "::", "SP", ",", "AArch64", "::", "FP", ",", "-", "(", "NumRestores", "-", "1", ")", "*", "16", ",", "TII", ",", "MachineInstr", "::", "NoFlags", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64::TCRETURNdi", "AArch64::TCRETURNri", "AArch64", "AArch64", "0", "1", "0", "16", "0", "\"Negative stack allocation size!?\"", "AArch64::SP", "AArch64::SP", "AArch64::SP", "AArch64::FP", "1", "16"], "File": "AArch64FrameLowering66", "Func": "emitEpilogue", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20789, "Length": 404, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ia64_unspec_may_trap_p", "(", "const_rtx", "x", ",", "unsigned", "flags", ")", "{", "switch", "(", "XINT", "(", "x", ",", "1", ")", ")", "{", "case", "UNSPEC_LDA", ":", "case", "UNSPEC_LDS", ":", "case", "UNSPEC_LDSA", ":", "case", "UNSPEC_LDCCLR", ":", "case", "UNSPEC_CHKACLR", ":", "case", "UNSPEC_CHKS", ":", "return", "may_trap_p_1", "(", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ",", "flags", ")", ";", "}", "return", "default_unspec_may_trap_p", "(", "x", ",", "flags", ")", ";", "}", ""], "natrual_language": ["Implement", "targetm.unspec_may_trap_p", "hook", "."], "TS_V_token": ["ia64", "1", "0", "0"], "File": "ia64", "Func": "ia64_unspec_may_trap_p", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20790, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMSubtarget", "::", "enableMachinePipeliner", "(", ")", "const", "{", "return", "getSchedModel", "(", ")", ".", "hasInstrSchedModel", "(", ")", "&&", "useMachinePipeliner", "(", ")", ";", "}", ""], "natrual_language": ["True", "if", "the", "subtarget", "should", "run", "MachinePipeliner", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMSubtarget45", "Func": "enableMachinePipeliner", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20791, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_binary_operator_ok", "(", "enum", "rtx_code", "code", ",", "machine_mode", "mode", ",", "rtx", "operands", "[", "3", "]", ")", "{", "rtx", "dst", "=", "operands", "[", "0", "]", ";", "rtx", "src1", "=", "operands", "[", "1", "]", ";", "rtx", "src2", "=", "operands", "[", "2", "]", ";", "if", "(", "(", "MEM_P", "(", "src1", ")", "||", "bcst_mem_operand", "(", "src1", ",", "mode", ")", ")", "&&", "(", "MEM_P", "(", "src2", ")", "||", "bcst_mem_operand", "(", "src2", ",", "mode", ")", ")", ")", "return", "false", ";", "if", "(", "ix86_swap_binary_operands_p", "(", "code", ",", "mode", ",", "operands", ")", ")", "std", "::", "swap", "(", "src1", ",", "src2", ")", ";", "if", "(", "MEM_P", "(", "dst", ")", "&&", "!", "rtx_equal_p", "(", "dst", ",", "src1", ")", ")", "return", "false", ";", "if", "(", "CONSTANT_P", "(", "src1", ")", ")", "return", "false", ";", "if", "(", "MEM_P", "(", "src1", ")", "&&", "!", "rtx_equal_p", "(", "dst", ",", "src1", ")", ")", "return", "(", "code", "==", "AND", "&&", "(", "mode", "==", "HImode", "||", "mode", "==", "SImode", "||", "(", "TARGET_64BIT", "&&", "mode", "==", "DImode", ")", ")", "&&", "satisfies_constraint_L", "(", "src2", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "TRUE", "or", "FALSE", "depending", "on", "whether", "the", "binary", "operator", "meets", "the", "appropriate", "constraints", "."], "TS_V_token": ["i386", "3", "0", "1", "2"], "File": "i386-expand", "Func": "ix86_binary_operator_ok", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20792, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "assert", "(", "MBBI", "->", "isReturn", "(", ")", "&&", "\"Can only insert epilog into returning blocks\"", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "AArch64InstrInfo", "*", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "const", "AArch64RegisterInfo", "*", "RegInfo", "=", "static_cast", "<", "const", "AArch64RegisterInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "RetOpcode", "=", "MBBI", "->", "getOpcode", "(", ")", ";", "int", "NumBytes", "=", "MFI", "->", "getStackSize", "(", ")", ";", "const", "AArch64FunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "if", "(", "MF", ".", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "GHC", ")", "return", ";", "uint64_t", "ArgumentPopSize", "=", "0", ";", "if", "(", "RetOpcode", "==", "AArch64", "::", "TCRETURNdi", "||", "RetOpcode", "==", "AArch64", "::", "TCRETURNri", ")", "{", "MachineOperand", "&", "StackAdjust", "=", "MBBI", "->", "getOperand", "(", "1", ")", ";", "ArgumentPopSize", "=", "StackAdjust", ".", "getImm", "(", ")", ";", "}", "else", "{", "ArgumentPopSize", "=", "AFI", "->", "getArgumentStackToRestore", "(", ")", ";", "}", "NumBytes", "+=", "ArgumentPopSize", ";", "unsigned", "NumRestores", "=", "0", ";", "MachineBasicBlock", "::", "iterator", "LastPopI", "=", "MBBI", ";", "const", "MCPhysReg", "*", "CSRegs", "=", "RegInfo", "->", "getCalleeSavedRegs", "(", "&", "MF", ")", ";", "if", "(", "LastPopI", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "do", "{", "++", "NumRestores", ";", "--", "LastPopI", ";", "}", "while", "(", "LastPopI", "!=", "MBB", ".", "begin", "(", ")", "&&", "isCSRestore", "(", "LastPopI", ",", "CSRegs", ")", ")", ";", "if", "(", "!", "isCSRestore", "(", "LastPopI", ",", "CSRegs", ")", ")", "{", "++", "LastPopI", ";", "--", "NumRestores", ";", "}", "}", "NumBytes", "-=", "NumRestores", "*", "16", ";", "assert", "(", "NumBytes", ">=", "0", "&&", "\"Negative stack allocation size!?\"", ")", ";", "if", "(", "!", "hasFP", "(", "MF", ")", ")", "{", "if", "(", "!", "canUseRedZone", "(", "MF", ")", ")", "emitFrameOffset", "(", "MBB", ",", "LastPopI", ",", "DL", ",", "AArch64", "::", "SP", ",", "AArch64", "::", "SP", ",", "NumBytes", ",", "TII", ")", ";", "return", ";", "}", "if", "(", "NumBytes", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", ")", "emitFrameOffset", "(", "MBB", ",", "LastPopI", ",", "DL", ",", "AArch64", "::", "SP", ",", "AArch64", "::", "FP", ",", "-", "(", "NumRestores", "-", "1", ")", "*", "16", ",", "TII", ",", "MachineInstr", "::", "NoFlags", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["AArch64", "AArch64", "\"Can only insert epilog into returning blocks\"", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "0", "AArch64::TCRETURNdi", "AArch64::TCRETURNri", "1", "0", "16", "0", "\"Negative stack allocation size!?\"", "AArch64::SP", "AArch64::SP", "AArch64::SP", "AArch64::FP", "1", "16"], "File": "AArch64FrameLowering43", "Func": "emitEpilogue", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20793, "Length": 388, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "vector_type_index", "function_resolver", "::", "infer_vector_base_type", "(", "unsigned", "int", "argno", ")", "{", "type_suffix_index", "type", "=", "infer_vector_type", "(", "argno", ")", ";", "if", "(", "type", "==", "NUM_TYPE_SUFFIXES", ")", "return", "NUM_VECTOR_TYPES", ";", "if", "(", "type", "==", "TYPE_SUFFIX_u32", "||", "type", "==", "TYPE_SUFFIX_u64", ")", "return", "type_suffixes", "[", "type", "]", ".", "vector_type", ";", "error_at", "(", "location", ",", "\"passing %qT to argument %d of %qE, which\"", "\" expects %qs or %qs\"", ",", "get_argument_type", "(", "argno", ")", ",", "argno", "+", "1", ",", "fndecl", ",", "\"svuint32_t\"", ",", "\"svuint64_t\"", ")", ";", "return", "NUM_VECTOR_TYPES", ";", "}", ""], "natrual_language": ["Require", "argument", "ARGNO", "to", "be", "a", "vector", "base", "in", "a", "gather-style", "address", ".", "Return", "its", "type", "on", "success", ",", "otherwise", "return", "NUM_VECTOR_TYPES", "."], "TS_V_token": ["aarch64", "\"passing %qT to argument %d of %qE, which\"", "\" expects %qs or %qs\"", "1", "\"svuint32_t\"", "\"svuint64_t\""], "File": "aarch64-sve-builtins", "Func": "infer_vector_base_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20794, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_define_unconditional_macros", "(", "cpp_reader", "*", "pfile", ")", "{", "builtin_define", "(", "\"__aarch64__\"", ")", ";", "builtin_define", "(", "\"__ARM_64BIT_STATE\"", ")", ";", "builtin_define", "(", "\"__ARM_ARCH_ISA_A64\"", ")", ";", "builtin_define_with_int_value", "(", "\"__ARM_ALIGN_MAX_PWR\"", ",", "28", ")", ";", "builtin_define_with_int_value", "(", "\"__ARM_ALIGN_MAX_STACK_PWR\"", ",", "16", ")", ";", "builtin_define", "(", "\"__ARM_ARCH_8A\"", ")", ";", "builtin_define_with_int_value", "(", "\"__ARM_ARCH_PROFILE\"", ",", "AARCH64_ISA_V8_R", "?", "'R'", ":", "'A'", ")", ";", "builtin_define", "(", "\"__ARM_FEATURE_CLZ\"", ")", ";", "builtin_define", "(", "\"__ARM_FEATURE_IDIV\"", ")", ";", "builtin_define", "(", "\"__ARM_FEATURE_UNALIGNED\"", ")", ";", "builtin_define", "(", "\"__ARM_PCS_AAPCS64\"", ")", ";", "builtin_define_with_int_value", "(", "\"__ARM_SIZEOF_WCHAR_T\"", ",", "WCHAR_TYPE_SIZE", "/", "8", ")", ";", "builtin_define", "(", "\"__GCC_ASM_FLAG_OUTPUTS__\"", ")", ";", "}", ""], "natrual_language": ["Define", "the", "macros", "that", "we", "always", "expect", "to", "have", "on", "AArch64", "."], "TS_V_token": ["aarch64", "\"__aarch64__\"", "\"__ARM_64BIT_STATE\"", "\"__ARM_ARCH_ISA_A64\"", "\"__ARM_ALIGN_MAX_PWR\"", "28", "\"__ARM_ALIGN_MAX_STACK_PWR\"", "16", "\"__ARM_ARCH_8A\"", "\"__ARM_ARCH_PROFILE\"", "\"__ARM_FEATURE_CLZ\"", "\"__ARM_FEATURE_IDIV\"", "\"__ARM_FEATURE_UNALIGNED\"", "\"__ARM_PCS_AAPCS64\"", "\"__ARM_SIZEOF_WCHAR_T\"", "8", "\"__GCC_ASM_FLAG_OUTPUTS__\""], "File": "aarch64-c", "Func": "aarch64_define_unconditional_macros", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20795, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "OR1KAsmBackend", "::", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "OR1K", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_OR1K_NONE\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_OR1K_32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_OR1K_16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_OR1K_8\"", ",", "0", ",", "8", ",", "0", "}", ",", "{", "\"fixup_OR1K_LO16_INSN\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_OR1K_HI16_INSN\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_OR1K_REL26\"", ",", "0", ",", "26", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_OR1K_PCREL32\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_OR1K_PCREL16\"", ",", "0", ",", "16", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_OR1K_PCREL8\"", ",", "0", ",", "8", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_OR1K_GOTPC_HI16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_OR1K_GOTPC_LO16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_OR1K_GOT16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_OR1K_PLT26\"", ",", "0", ",", "26", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_OR1K_GOTOFF_HI16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_OR1K_GOTOFF_LO16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_OR1K_COPY\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_OR1K_GLOB_DAT\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_OR1K_JMP_SLOT\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_OR1K_RELATIVE\"", ",", "0", ",", "32", ",", "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": ["OR1K", "OR1K", "OR1K::NumTargetFixupKinds", "\"fixup_OR1K_NONE\"", "0", "32", "0", "\"fixup_OR1K_32\"", "0", "32", "0", "\"fixup_OR1K_16\"", "0", "16", "0", "\"fixup_OR1K_8\"", "0", "8", "0", "\"fixup_OR1K_LO16_INSN\"", "0", "16", "0", "\"fixup_OR1K_HI16_INSN\"", "0", "16", "0", "\"fixup_OR1K_REL26\"", "0", "26", "\"fixup_OR1K_PCREL32\"", "0", "32", "\"fixup_OR1K_PCREL16\"", "0", "16", "\"fixup_OR1K_PCREL8\"", "0", "8", "\"fixup_OR1K_GOTPC_HI16\"", "0", "16", "0", "\"fixup_OR1K_GOTPC_LO16\"", "0", "16", "0", "\"fixup_OR1K_GOT16\"", "0", "16", "0", "\"fixup_OR1K_PLT26\"", "0", "26", "\"fixup_OR1K_GOTOFF_HI16\"", "0", "16", "0", "\"fixup_OR1K_GOTOFF_LO16\"", "0", "16", "0", "\"fixup_OR1K_COPY\"", "0", "32", "0", "\"fixup_OR1K_GLOB_DAT\"", "0", "32", "0", "\"fixup_OR1K_JMP_SLOT\"", "0", "32", "0", "\"fixup_OR1K_RELATIVE\"", "0", "32", "0", "\"Invalid kind!\""], "File": "OR1KAsmBackend", "Func": "getFixupKindInfo", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20796, "Length": 273, "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": "X86FloatingPoint20", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20797, "Length": 300, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "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": ["Mips", "Mips", "0", "0"], "File": "MipsISelLowering101", "Func": "ReplaceNodeResults", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20798, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "PPCTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "EVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'b'", ":", "case", "'r'", ":", "if", "(", "VT", "==", "MVT", "::", "i64", "&&", "PPCSubTarget", ".", "isPPC64", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "PPC", "::", "G8RCRegisterClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "PPC", "::", "GPRCRegisterClass", ")", ";", "case", "'f'", ":", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "PPC", "::", "F4RCRegisterClass", ")", ";", "else", "if", "(", "VT", "==", "MVT", "::", "f64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "PPC", "::", "F8RCRegisterClass", ")", ";", "break", ";", "case", "'v'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "PPC", "::", "VRRCRegisterClass", ")", ";", "case", "'y'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "PPC", "::", "CRRCRegisterClass", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["PowerPC", "PPC", "1", "0", "MVT::i64", "PPC", "PPC", "0U", "PPC::G8RCRegisterClass", "0U", "PPC::GPRCRegisterClass", "MVT::f32", "0U", "PPC::F4RCRegisterClass", "MVT::f64", "0U", "PPC::F8RCRegisterClass", "0U", "PPC::VRRCRegisterClass", "0U", "PPC::CRRCRegisterClass"], "File": "PPCISelLowering107", "Func": "getRegForInlineAsmConstraint", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20799, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "getGOT", "(", "NodeTy", "*", "N", ",", "SelectionDAG", "&", "DAG", ",", "unsigned", "Flags", ")", "const", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"AArch64TargetLowering::getGOT\\n\"", ")", ";", "SDLoc", "DL", "(", "N", ")", ";", "EVT", "Ty", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";", "SDValue", "GotAddr", "=", "getTargetNode", "(", "N", ",", "Ty", ",", "DAG", ",", "AArch64II", "::", "MO_GOT", "|", "Flags", ")", ";", "return", "DAG", ".", "getNode", "(", "AArch64ISD", "::", "LOADgot", ",", "DL", ",", "Ty", ",", "GotAddr", ")", ";", "}", ""], "natrual_language": ["Return", "a", "pseudo", "source", "value", "referencing", "the", "global", "offset", "table", "(", "or", "something", "the", "like", ")", "."], "TS_V_token": ["AArch64", "AArch64", "\"AArch64TargetLowering::getGOT\\n\"", "AArch64II::MO_GOT", "AArch64ISD::LOADgot"], "File": "AArch64ISelLowering (2)2", "Func": "getGOT", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20800, "Length": 80, "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": ["ARM"], "File": "ARMAsmParser111", "Func": "Error", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20801, "Length": 23, "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": ["Sparc"], "File": "SparcAsmBackend", "Func": "mayNeedRelaxation", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20802, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "IA64RegisterInfo", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "prior", "(", "MBB", ".", "end", "(", ")", ")", ";", "assert", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "IA64", "::", "RET", "&&", "\"Can only insert epilog into returning blocks\"", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "bool", "FP", "=", "hasFP", "(", "MF", ")", ";", "unsigned", "NumBytes", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "FP", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "IA64", "::", "MOV", ")", ",", "IA64", "::", "r12", ")", ".", "addReg", "(", "IA64", "::", "r5", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "IA64", "::", "LD8", ")", ",", "IA64", "::", "r5", ")", ".", "addReg", "(", "IA64", "::", "r5", ")", ";", "}", "if", "(", "NumBytes", "!=", "0", ")", "{", "if", "(", "NumBytes", "<=", "8191", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "IA64", "::", "ADDIMM22", ")", ",", "IA64", "::", "r12", ")", ".", "addReg", "(", "IA64", "::", "r12", ")", ".", "addImm", "(", "NumBytes", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "IA64", "::", "MOVLIMM64", ")", ",", "IA64", "::", "r22", ")", ".", "addImm", "(", "NumBytes", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "IA64", "::", "ADD", ")", ",", "IA64", "::", "r12", ")", ".", "addReg", "(", "IA64", "::", "r12", ")", ".", "addReg", "(", "IA64", "::", "r22", ")", ";", "}", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["IA64", "IA64", "IA64::RET", "\"Can only insert epilog into returning blocks\"", "IA64::MOV", "IA64::r12", "IA64::r5", "IA64::LD8", "IA64::r5", "IA64::r5", "0", "8191", "IA64::ADDIMM22", "IA64::r12", "IA64::r12", "IA64::MOVLIMM64", "IA64::r22", "IA64::ADD", "IA64::r12", "IA64::r12", "IA64::r22"], "File": "IA64RegisterInfo", "Func": "emitEpilogue", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20803, "Length": 262, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_emit_save_slot_move", "(", "rtx", "dest", ",", "rtx", "src", ",", "rtx", "temp", ")", "{", "unsigned", "int", "regno", ";", "rtx", "mem", ";", "if", "(", "REG_P", "(", "src", ")", ")", "{", "regno", "=", "REGNO", "(", "src", ")", ";", "mem", "=", "dest", ";", "}", "else", "{", "regno", "=", "REGNO", "(", "dest", ")", ";", "mem", "=", "src", ";", "}", "if", "(", "regno", "==", "cfun", "->", "machine", "->", "global_pointer", "&&", "!", "mips_must_initialize_gp_p", "(", ")", ")", "{", "if", "(", "TARGET_64BIT", ")", "emit_insn", "(", "gen_move_gpdi", "(", "dest", ",", "src", ")", ")", ";", "else", "emit_insn", "(", "gen_move_gpsi", "(", "dest", ",", "src", ")", ")", ";", "return", ";", "}", "if", "(", "regno", "==", "HI_REGNUM", ")", "{", "if", "(", "REG_P", "(", "dest", ")", ")", "{", "mips_emit_move", "(", "temp", ",", "src", ")", ";", "if", "(", "TARGET_64BIT", ")", "emit_insn", "(", "gen_mthidi_ti", "(", "gen_rtx_REG", "(", "TImode", ",", "MD_REG_FIRST", ")", ",", "temp", ",", "gen_rtx_REG", "(", "DImode", ",", "LO_REGNUM", ")", ")", ")", ";", "else", "emit_insn", "(", "gen_mthisi_di", "(", "gen_rtx_REG", "(", "DImode", ",", "MD_REG_FIRST", ")", ",", "temp", ",", "gen_rtx_REG", "(", "SImode", ",", "LO_REGNUM", ")", ")", ")", ";", "}", "else", "{", "if", "(", "TARGET_64BIT", ")", "emit_insn", "(", "gen_mfhidi_ti", "(", "temp", ",", "gen_rtx_REG", "(", "TImode", ",", "MD_REG_FIRST", ")", ")", ")", ";", "else", "emit_insn", "(", "gen_mfhisi_di", "(", "temp", ",", "gen_rtx_REG", "(", "DImode", ",", "MD_REG_FIRST", ")", ")", ")", ";", "mips_emit_move", "(", "dest", ",", "temp", ")", ";", "}", "}", "else", "if", "(", "mips_direct_save_slot_move_p", "(", "regno", ",", "mem", ",", "mem", "==", "src", ")", ")", "mips_emit_move", "(", "dest", ",", "src", ")", ";", "else", "{", "gcc_assert", "(", "!", "reg_overlap_mentioned_p", "(", "dest", ",", "temp", ")", ")", ";", "mips_emit_move", "(", "temp", ",", "src", ")", ";", "mips_emit_move", "(", "dest", ",", "temp", ")", ";", "}", "if", "(", "MEM_P", "(", "dest", ")", ")", "mips_set_frame_expr", "(", "mips_frame_set", "(", "dest", ",", "src", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "move", "from", "SRC", "to", "DEST", ",", "given", "that", "one", "of", "them", "is", "a", "register", "save", "slot", "and", "that", "the", "other", "is", "a", "register", ".", "TEMP", "is", "a", "temporary", "GPR", "of", "the", "same", "mode", "that", "is", "available", "if", "need", "be", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_emit_save_slot_move", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20804, "Length": 283, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "ix86_output_indirect_function_return", "(", "rtx", "ret_op", ")", "{", "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", ")", ";", "unsigned", "int", "regno", "=", "REGNO", "(", "ret_op", ")", ";", "gcc_assert", "(", "regno", "==", "CX_REG", ")", ";", "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", ",", "regno", ",", "need_prefix", ",", "true", ")", ";", "if", "(", "need_thunk", ")", "{", "indirect_return_via_cx", "=", "true", ";", "indirect_thunks_used", "|=", "1", "<<", "CX_REG", ";", "}", "fprintf", "(", "asm_out_file", ",", "\"\\tjmp\\t%s\\n\"", ",", "thunk_name", ")", ";", "}", "else", "output_indirect_thunk", "(", "regno", ")", ";", "return", "\"\"", ";", "}", "else", "return", "\"%!jmp\\t%A0\"", ";", "}", ""], "natrual_language": ["Output", "indirect", "function", "return", ".", "RET_OP", "is", "the", "function", "return", "target", "."], "TS_V_token": ["i386", "32", "1", "\"\\tjmp\\t%s\\n\"", "\"\"", "\"%!jmp\\t%A0\""], "File": "i3868", "Func": "ix86_output_indirect_function_return", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20805, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "internalKnownBits", "(", ")", "const", "{", "return", "Unalign", "?", "Unalign", ":", "KnownBits", ";", "}", ""], "natrual_language": ["Compute", "the", "number", "of", "known", "offset", "bits", "internally", "to", "this", "block", "."], "TS_V_token": ["ARM"], "File": "ARMConstantIslandPass10", "Func": "internalKnownBits", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20806, "Length": 14, "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", ")", "{", "emitSPUpdate", "(", "MBB", ",", "I", ",", "TII", ",", "dl", ",", "*", "RegInfo", ",", "-", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Opc", "==", "ARM", "::", "ADJCALLSTACKUP", "||", "Opc", "==", "ARM", "::", "tADJCALLSTACKUP", ")", ";", "emitSPUpdate", "(", "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": "Thumb1FrameLowering13", "Func": "eliminateCallFramePseudoInstr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20807, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "ARMBaseInstrInfo", "::", "insertOutlinedCall", "(", "Module", "&", "M", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "It", ",", "MachineFunction", "&", "MF", ",", "const", "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", "(", ")", ")", ")", ";", "It", "=", "MBB", ".", "insert", "(", "It", ",", "CallMIB", ")", ";", "return", "It", ";", "}", ""], "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"], "File": "ARMBaseInstrInfo50", "Func": "insertOutlinedCall", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20808, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_floorceil", "(", "rtx", "operand0", ",", "rtx", "operand1", ",", "bool", "do_floor", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "operand0", ")", ";", "rtx", "xa", ",", "xi", ",", "TWO52", ",", "tmp", ",", "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", ")", ";", "xi", "=", "gen_reg_rtx", "(", "mode", "==", "DFmode", "?", "DImode", ":", "SImode", ")", ";", "expand_fix", "(", "xi", ",", "res", ",", "0", ")", ";", "expand_float", "(", "xa", ",", "xi", ",", "0", ")", ";", "one", "=", "force_reg", "(", "mode", ",", "const_double_from_real_value", "(", "dconst1", ",", "mode", ")", ")", ";", "tmp", "=", "ix86_expand_sse_compare_mask", "(", "UNGT", ",", "xa", ",", "res", ",", "!", "do_floor", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "tmp", ",", "gen_rtx_AND", "(", "mode", ",", "one", ",", "tmp", ")", ")", ")", ";", "tmp", "=", "expand_simple_binop", "(", "mode", ",", "do_floor", "?", "MINUS", ":", "PLUS", ",", "xa", ",", "tmp", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "emit_move_insn", "(", "res", ",", "tmp", ")", ";", "if", "(", "HONOR_SIGNED_ZEROS", "(", "mode", ")", ")", "ix86_sse_copysign_to_positive", "(", "res", ",", "res", ",", "force_reg", "(", "mode", ",", "operand1", ")", ",", "mask", ")", ";", "emit_label", "(", "label", ")", ";", "LABEL_NUSES", "(", "label", ")", "=", "1", ";", "emit_move_insn", "(", "operand0", ",", "res", ")", ";", "}", ""], "natrual_language": ["Expand", "SSE2", "sequence", "for", "computing", "floor", "or", "ceil", "from", "OPERAND1", "storing", "into", "OPERAND0", "."], "TS_V_token": ["i386", "0", "0", "0", "1"], "File": "i3864", "Func": "ix86_expand_floorceil", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20809, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64CallLowering", "::", "splitToValueTypes", "(", "const", "ArgInfo", "&", "OrigArg", ",", "SmallVectorImpl", "<", "ArgInfo", ">", "&", "SplitArgs", ",", "const", "DataLayout", "&", "DL", ",", "MachineRegisterInfo", "&", "MRI", ",", "CallingConv", "::", "ID", "CallConv", ",", "const", "SplitArgTy", "&", "PerformArgSplit", ")", "const", "{", "const", "AArch64TargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "AArch64TargetLowering", ">", "(", ")", ";", "LLVMContext", "&", "Ctx", "=", "OrigArg", ".", "Ty", "->", "getContext", "(", ")", ";", "if", "(", "OrigArg", ".", "Ty", "->", "isVoidTy", "(", ")", ")", "return", ";", "SmallVector", "<", "EVT", ",", "4", ">", "SplitVTs", ";", "SmallVector", "<", "uint64_t", ",", "4", ">", "Offsets", ";", "ComputeValueVTs", "(", "TLI", ",", "DL", ",", "OrigArg", ".", "Ty", ",", "SplitVTs", ",", "&", "Offsets", ",", "0", ")", ";", "if", "(", "SplitVTs", ".", "size", "(", ")", "==", "1", ")", "{", "SplitArgs", ".", "emplace_back", "(", "OrigArg", ".", "Reg", ",", "SplitVTs", "[", "0", "]", ".", "getTypeForEVT", "(", "Ctx", ")", ",", "OrigArg", ".", "Flags", ",", "OrigArg", ".", "IsFixed", ")", ";", "return", ";", "}", "unsigned", "FirstRegIdx", "=", "SplitArgs", ".", "size", "(", ")", ";", "bool", "NeedsRegBlock", "=", "TLI", ".", "functionArgumentNeedsConsecutiveRegisters", "(", "OrigArg", ".", "Ty", ",", "CallConv", ",", "false", ")", ";", "for", "(", "auto", "SplitVT", ":", "SplitVTs", ")", "{", "Type", "*", "SplitTy", "=", "SplitVT", ".", "getTypeForEVT", "(", "Ctx", ")", ";", "SplitArgs", ".", "push_back", "(", "ArgInfo", "{", "MRI", ".", "createGenericVirtualRegister", "(", "getLLTForType", "(", "*", "SplitTy", ",", "DL", ")", ")", ",", "SplitTy", ",", "OrigArg", ".", "Flags", ",", "OrigArg", ".", "IsFixed", "}", ")", ";", "if", "(", "NeedsRegBlock", ")", "SplitArgs", ".", "back", "(", ")", ".", "Flags", ".", "setInConsecutiveRegs", "(", ")", ";", "}", "SplitArgs", ".", "back", "(", ")", ".", "Flags", ".", "setInConsecutiveRegsLast", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Offsets", ".", "size", "(", ")", ";", "++", "i", ")", "PerformArgSplit", "(", "SplitArgs", "[", "FirstRegIdx", "+", "i", "]", ".", "Reg", ",", "Offsets", "[", "i", "]", "*", "8", ")", ";", "}", ""], "natrual_language": ["Break", "OrigArgInfo", "into", "one", "or", "more", "pieces", "the", "calling", "convention", "can", "process", ",", "returned", "in", "SplitArgs", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "4", "4", "0", "1", "0", "0", "8"], "File": "AArch64CallLowering", "Func": "splitToValueTypes", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20810, "Length": 292, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPreRegBankSelect", "(", ")", "{", "bool", "IsOptNone", "=", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ";", "if", "(", "!", "IsOptNone", ")", "{", "addPass", "(", "createAArch64PostLegalizerCombiner", "(", "IsOptNone", ")", ")", ";", "if", "(", "EnableGISelLoadStoreOptPostLegal", ")", "addPass", "(", "new", "LoadStoreOpt", "(", ")", ")", ";", "}", "addPass", "(", "createAArch64PostLegalizerLowering", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "the", "register", "bank", "selection", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine21", "Func": "addPreRegBankSelect", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20811, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "hasReservedCallFrame", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "!", "MF", ".", "getFrameInfo", "(", ")", "->", "hasVarSizedObjects", "(", ")", "&&", "!", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "getHasPushSequences", "(", ")", ";", "}", ""], "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": ["X86", "X86", "X86"], "File": "X86FrameLowering (2)4", "Func": "hasReservedCallFrame", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20812, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "MCAsmParser", "&", "Parser", "=", "getParser", "(", ")", ";", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "if", "(", "IDVal", "==", "\".word\"", ")", "return", "ParseDirectiveWord", "(", "2", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "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", "\".word\"", "2", "\".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": "X86AsmParser125", "Func": "ParseDirective", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20813, "Length": 383, "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": 20814, "Length": 293, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "dump_minipool", "(", "rtx_insn", "*", "scan", ")", "{", "Mnode", "*", "mp", ";", "Mnode", "*", "nmp", ";", "int", "align64", "=", "0", ";", "if", "(", "ARM_DOUBLEWORD_ALIGN", ")", "for", "(", "mp", "=", "minipool_vector_head", ";", "mp", "!=", "NULL", ";", "mp", "=", "mp", "->", "next", ")", "if", "(", "mp", "->", "refcount", ">", "0", "&&", "mp", "->", "fix_size", ">=", "8", ")", "{", "align64", "=", "1", ";", "break", ";", "}", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\";; Emitting minipool after insn %u; address %ld; align %d (bytes)\\n\"", ",", "INSN_UID", "(", "scan", ")", ",", "(", "unsigned", "long", ")", "minipool_barrier", "->", "address", ",", "align64", "?", "8", ":", "4", ")", ";", "scan", "=", "emit_label_after", "(", "gen_label_rtx", "(", ")", ",", "scan", ")", ";", "scan", "=", "emit_insn_after", "(", "align64", "?", "gen_align_8", "(", ")", ":", "gen_align_4", "(", ")", ",", "scan", ")", ";", "scan", "=", "emit_label_after", "(", "minipool_vector_label", ",", "scan", ")", ";", "for", "(", "mp", "=", "minipool_vector_head", ";", "mp", "!=", "NULL", ";", "mp", "=", "nmp", ")", "{", "if", "(", "mp", "->", "refcount", ">", "0", ")", "{", "if", "(", "dump_file", ")", "{", "fprintf", "(", "dump_file", ",", "\";; Offset %u, min %ld, max %ld \"", ",", "(", "unsigned", ")", "mp", "->", "offset", ",", "(", "unsigned", "long", ")", "mp", "->", "min_address", ",", "(", "unsigned", "long", ")", "mp", "->", "max_address", ")", ";", "arm_print_value", "(", "dump_file", ",", "mp", "->", "value", ")", ";", "fputc", "(", "'\\n'", ",", "dump_file", ")", ";", "}", "rtx", "val", "=", "copy_rtx", "(", "mp", "->", "value", ")", ";", "switch", "(", "GET_MODE_SIZE", "(", "mp", "->", "mode", ")", ")", "{", "case", "1", ":", "scan", "=", "emit_insn_after", "(", "gen_consttable_1", "(", "val", ")", ",", "scan", ")", ";", "break", ";", "case", "2", ":", "scan", "=", "emit_insn_after", "(", "gen_consttable_2", "(", "val", ")", ",", "scan", ")", ";", "break", ";", "case", "4", ":", "scan", "=", "emit_insn_after", "(", "gen_consttable_4", "(", "val", ")", ",", "scan", ")", ";", "break", ";", "case", "8", ":", "scan", "=", "emit_insn_after", "(", "gen_consttable_8", "(", "val", ")", ",", "scan", ")", ";", "break", ";", "case", "16", ":", "scan", "=", "emit_insn_after", "(", "gen_consttable_16", "(", "val", ")", ",", "scan", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "nmp", "=", "mp", "->", "next", ";", "free", "(", "mp", ")", ";", "}", "minipool_vector_head", "=", "minipool_vector_tail", "=", "NULL", ";", "scan", "=", "emit_insn_after", "(", "gen_consttable_end", "(", ")", ",", "scan", ")", ";", "scan", "=", "emit_barrier_after", "(", "scan", ")", ";", "}", ""], "natrual_language": ["Output", "the", "literal", "table"], "TS_V_token": ["arm", "0", "0", "8", "1", "\";; Emitting minipool after insn %u; address %ld; align %d (bytes)\\n\"", "8", "4", "0", "\";; Offset %u, min %ld, max %ld \"", "1", "2", "4", "8", "16"], "File": "arm", "Func": "dump_minipool", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20815, "Length": 357, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "x86_can_output_mi_thunk", "(", "const_tree", ",", "HOST_WIDE_INT", ",", "HOST_WIDE_INT", "vcall_offset", ",", "const_tree", "function", ")", "{", "if", "(", "TARGET_64BIT", ")", "return", "true", ";", "if", "(", "ix86_function_regparm", "(", "TREE_TYPE", "(", "function", ")", ",", "function", ")", "<", "3", ")", "return", "true", ";", "if", "(", "vcall_offset", ")", "return", "false", ";", "if", "(", "flag_pic", "&&", "!", "targetm", ".", "binds_local_p", "(", "function", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Determine", "whether", "x86_output_mi_thunk", "can", "succeed", "."], "TS_V_token": ["i386", "3"], "File": "i386", "Func": "x86_can_output_mi_thunk", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20816, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PPCSubtarget", "::", "PPCSubtarget", "(", "const", "Triple", "&", "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", ")", ",", "TM", "(", "TM", ")", ",", "FrameLowering", "(", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ")", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", "{", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC"], "File": "PPCSubtarget (2)", "Func": "PPCSubtarget", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20817, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SparcTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "assert", "(", "0", "&&", "\"Should not custom lower this!\"", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "SDValue", "(", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "SDValue", "(", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "assert", "(", "0", "&&", "\"TLS not implemented for Sparc.\"", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGLOBALADDRESS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "LowerCONSTANTPOOL", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FP_TO_SINT", ":", "return", "LowerFP_TO_SINT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SINT_TO_FP", ":", "return", "LowerSINT_TO_FP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBR_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ",", "*", "this", ")", ";", "case", "ISD", "::", "VAARG", ":", "return", "LowerVAARG", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "LowerDYNAMIC_STACKALLOC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "CALL", ":", "return", "LowerCALL", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RET", ":", "return", "LowerRET", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Sparc", "Sparc", "0", "\"Should not custom lower this!\"", "ISD::RETURNADDR", "ISD::FRAMEADDR", "ISD::GlobalTLSAddress", "0", "\"TLS not implemented for Sparc.\"", "ISD::GlobalAddress", "ISD::ConstantPool", "ISD::FP_TO_SINT", "ISD::SINT_TO_FP", "ISD::BR_CC", "ISD::SELECT_CC", "ISD::VASTART", "ISD::VAARG", "ISD::DYNAMIC_STACKALLOC", "ISD::CALL", "ISD::RET"], "File": "SparcISelLowering74", "Func": "LowerOperation", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20818, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "i386_pe_maybe_mangle_decl_assembler_name", "(", "tree", "decl", ",", "tree", "id", ")", "{", "tree", "new_id", "=", "NULL_TREE", ";", "if", "(", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", ")", "{", "unsigned", "int", "ccvt", "=", "ix86_get_callcvt", "(", "TREE_TYPE", "(", "decl", ")", ")", ";", "if", "(", "(", "ccvt", "&", "IX86_CALLCVT_STDCALL", ")", "!=", "0", ")", "{", "if", "(", "TARGET_RTD", ")", "return", "NULL_TREE", ";", "new_id", "=", "gen_stdcall_or_fastcall_suffix", "(", "decl", ",", "id", ",", "false", ")", ";", "}", "else", "if", "(", "(", "ccvt", "&", "IX86_CALLCVT_FASTCALL", ")", "!=", "0", ")", "new_id", "=", "gen_stdcall_or_fastcall_suffix", "(", "decl", ",", "id", ",", "true", ")", ";", "}", "return", "new_id", ";", "}", ""], "natrual_language": ["Maybe", "decorate", "and", "get", "a", "new", "identifier", "for", "the", "DECL", "of", "a", "stdcall", "or", "fastcall", "function", ".", "The", "original", "identifier", "is", "supplied", "in", "ID", "."], "TS_V_token": ["i386", "0", "0"], "File": "winnt", "Func": "i386_pe_maybe_mangle_decl_assembler_name", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20819, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "MipsRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "static", "const", "unsigned", "ReservedCPURegs", "[", "]", "=", "{", "Mips", "::", "ZERO", ",", "Mips", "::", "AT", ",", "Mips", "::", "K0", ",", "Mips", "::", "K1", ",", "Mips", "::", "GP", ",", "Mips", "::", "SP", ",", "Mips", "::", "FP", ",", "Mips", "::", "RA", ",", "0", "}", ";", "static", "const", "unsigned", "ReservedCPU64Regs", "[", "]", "=", "{", "Mips", "::", "ZERO_64", ",", "Mips", "::", "AT_64", ",", "Mips", "::", "K0_64", ",", "Mips", "::", "K1_64", ",", "Mips", "::", "GP_64", ",", "Mips", "::", "SP_64", ",", "Mips", "::", "FP_64", ",", "Mips", "::", "RA_64", ",", "0", "}", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "typedef", "TargetRegisterClass", "::", "iterator", "RegIter", ";", "for", "(", "const", "unsigned", "*", "Reg", "=", "ReservedCPURegs", ";", "*", "Reg", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "if", "(", "Subtarget", ".", "hasMips64", "(", ")", ")", "{", "for", "(", "const", "unsigned", "*", "Reg", "=", "ReservedCPU64Regs", ";", "*", "Reg", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "AFGR64RegisterClass", "->", "begin", "(", ")", ";", "Reg", "!=", "Mips", "::", "AFGR64RegisterClass", "->", "end", "(", ")", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "}", "else", "{", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "CPU64RegsRegisterClass", "->", "begin", "(", ")", ";", "Reg", "!=", "Mips", "::", "CPU64RegsRegisterClass", "->", "end", "(", ")", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "FGR64RegisterClass", "->", "begin", "(", ")", ";", "Reg", "!=", "Mips", "::", "FGR64RegisterClass", "->", "end", "(", ")", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "}", "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::AT", "Mips::K0", "Mips::K1", "Mips::GP", "Mips::SP", "Mips::FP", "Mips::RA", "0", "Mips::ZERO_64", "Mips::AT_64", "Mips::K0_64", "Mips::K1_64", "Mips::GP_64", "Mips::SP_64", "Mips::FP_64", "Mips::RA_64", "0", "Mips", "Mips::AFGR64RegisterClass", "Mips::AFGR64RegisterClass", "Mips::CPU64RegsRegisterClass", "Mips::CPU64RegsRegisterClass", "Mips::FGR64RegisterClass", "Mips::FGR64RegisterClass"], "File": "MipsRegisterInfo60", "Func": "getReservedRegs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20820, "Length": 277, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "isUnpredicatedTerminator", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "const", "MCInstrDesc", "&", "MCID", "=", "MI", "->", "getDesc", "(", ")", ";", "if", "(", "!", "MCID", ".", "isTerminator", "(", ")", ")", "return", "false", ";", "if", "(", "MCID", ".", "isBranch", "(", ")", "&&", "!", "MCID", ".", "isBarrier", "(", ")", ")", "return", "true", ";", "if", "(", "!", "MCID", ".", "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": ["SystemZ", "SystemZ"], "File": "SystemZInstrInfo7", "Func": "isUnpredicatedTerminator", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20821, "Length": 73, "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", "(", "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", ";", "}", "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": "MipsAsmPrinter17", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20822, "Length": 442, "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": ["DLX"], "File": "DLXTargetMachine", "Func": "getObjFileLowering", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20823, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "InstrItineraryData", "*", "getInstrItineraryData", "(", ")", "const", "override", "{", "return", "Subtarget", ".", "inMips16Mode", "(", ")", "?", "nullptr", ":", "&", "getSubtargetImpl", "(", ")", "->", "getInstrItineraryData", "(", ")", ";", "}", ""], "natrual_language": ["getInstrItineraryData", "-", "Returns", "instruction", "itinerary", "data", "for", "the", "target", "or", "specific", "subtarget", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsTargetMachine19", "Func": "getInstrItineraryData", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20824, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "targetHandlesStackFrameRounding", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["targetHandlesStackFrameRounding", "-", "Returns", "true", "if", "the", "target", "is", "responsible", "for", "rounding", "up", "the", "stack", "frame", "(", "probably", "at", "emitPrologue", "time", ")", "."], "TS_V_token": ["Sparc"], "File": "SparcFrameLowering12", "Func": "targetHandlesStackFrameRounding", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20825, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "sh_round_reg", "(", "const", "CUMULATIVE_ARGS", "&", "cum", ",", "machine_mode", "mode", ")", "{", "return", "(", "(", "(", "TARGET_ALIGN_DOUBLE", "||", "(", "(", "TARGET_SH4", "||", "TARGET_SH2A_DOUBLE", ")", "&&", "(", "mode", "==", "DFmode", "||", "mode", "==", "DCmode", ")", "&&", "cum", ".", "arg_count", "[", "(", "int", ")", "SH_ARG_FLOAT", "]", "<", "NPARM_REGS", "(", "mode", ")", ")", ")", "&&", "GET_MODE_UNIT_SIZE", "(", "mode", ")", ">", "UNITS_PER_WORD", ")", "?", "(", "cum", ".", "arg_count", "[", "(", "int", ")", "GET_SH_ARG_CLASS", "(", "mode", ")", "]", "+", "(", "cum", ".", "arg_count", "[", "(", "int", ")", "GET_SH_ARG_CLASS", "(", "mode", ")", "]", "&", "1", ")", ")", ":", "cum", ".", "arg_count", "[", "(", "int", ")", "GET_SH_ARG_CLASS", "(", "mode", ")", "]", ")", ";", "}", ""], "natrual_language": ["Round", "a", "register", "number", "up", "to", "a", "proper", "boundary", "for", "an", "arg", "of", "mode", "MODE", ".", "The", "SH", "does", "n't", "care", "about", "double", "alignment", ",", "so", "we", "only", "round", "doubles", "to", "even", "regs", "when", "asked", "to", "explicitly", "."], "TS_V_token": ["sh", "1"], "File": "sh4", "Func": "sh_round_reg", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20826, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "TeeRISCTargetLowering", "::", "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", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "MF", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_TeeRISC", ")", ";", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "RetOps", "(", "1", ",", "Chain", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "TeeRISC", "::", "R1", ",", "MVT", "::", "i32", ")", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "SDValue", "Val", "=", "OutVals", "[", "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", "(", ")", ")", ")", ";", "}", "RetOps", "[", "0", "]", "=", "Chain", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "RetOps", ".", "push_back", "(", "Flag", ")", ";", "return", "DAG", ".", "getNode", "(", "TeeRISC_ISD", "::", "RET", ",", "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": ["TeeRISC", "TeeRISC", "ISD::OutputArg", "16", "TeeRISC", "4", "1", "TeeRISC::R1", "MVT::i32", "0", "\"Can only return in registers!\"", "ISD::BITCAST", "1", "0", "TeeRISC_ISD::RET", "MVT::Other", "0"], "File": "TeeRISCISelLowering", "Func": "LowerReturn", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20827, "Length": 322, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "FISCTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "BB", "->", "getParent", "(", ")", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "assert", "(", "MI", "->", "getOpcode", "(", ")", "==", "FISC", "::", "Select", "&&", "\"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", "(", "FISC", "::", "Bcc", ")", ")", ".", "addOperand", "(", "MI", "->", "getOperand", "(", "3", ")", ")", ".", "addMBB", "(", "Copy1MBB", ",", "FISCII", "::", "MO_CALL19", ")", ";", "BB", "=", "Copy0MBB", ";", "BB", "->", "addSuccessor", "(", "Copy1MBB", ")", ";", "BB", "=", "Copy1MBB", ";", "BuildMI", "(", "*", "BB", ",", "BB", "->", "begin", "(", ")", ",", "DL", ",", "TII", ".", "get", "(", "FISC", "::", "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": ["FISC", "FISC", "FISC::Select", "\"Unexpected instr type to insert\"", "FISC::Bcc", "3", "FISCII::MO_CALL19", "FISC::PHI", "0", "2", "1"], "File": "FISCISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20828, "Length": 323, "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": 20829, "Length": 342, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "X86", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["X86", "X86::NumTargetFixupKinds"], "File": "X86AsmBackend (2)", "Func": "getNumFixupKinds", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20830, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "ARMBaseRegisterInfo", "::", "getCallPreservedMask", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "if", "(", "STI", ".", "isTargetNaCl", "(", ")", ")", "return", "CSR_NaCl_RegMask", ";", "if", "(", "CC", "==", "CallingConv", "::", "GHC", ")", "return", "CSR_NoRegs_RegMask", ";", "return", "(", "STI", ".", "isTargetIOS", "(", ")", "&&", "!", "STI", ".", "isAAPCS_ABI", "(", ")", ")", "?", "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"], "File": "ARMBaseRegisterInfo77", "Func": "getCallPreservedMask", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20831, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addRequired", "<", "TargetPassConfig", ">", "(", ")", ";", "FunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["ARM"], "File": "MVEGatherScatterLowering11", "Func": "getAnalysisUsage", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20832, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "hasStackProbeSymbol", "(", "MachineFunction", "&", "MF", ")", "const", "{", "return", "!", "getStackProbeSymbolName", "(", "MF", ")", ".", "empty", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "stack", "probing", "through", "a", "function", "call", "is", "requested", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering (2)5", "Func": "hasStackProbeSymbol", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20833, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_post_cfi_startproc", "(", "FILE", "*", "f", ",", "tree", "ignored", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "cfun", "->", "machine", "->", "frame", ".", "laid_out", "&&", "aarch64_return_address_signing_enabled", "(", ")", "&&", "aarch64_ra_sign_key", "==", "AARCH64_KEY_B", ")", "asm_fprintf", "(", "f", ",", "\"\\t.cfi_b_key_frame\\n\"", ")", ";", "}", ""], "natrual_language": ["Triggered", "after", "a", ".cfi_startproc", "directive", "is", "emitted", "into", "the", "assembly", "file", ".", "Used", "to", "output", "the", ".cfi_b_key_frame", "directive", "when", "signing", "the", "current", "function", "with", "the", "B", "key", "."], "TS_V_token": ["aarch64", "\"\\t.cfi_b_key_frame\\n\""], "File": "aarch64", "Func": "aarch64_post_cfi_startproc", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20834, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getMaxInlineSizeThreshold", "(", ")", "const", "{", "return", "isThumb1Only", "(", ")", "?", "0", ":", "64", ";", "}", ""], "natrual_language": ["Returns", "the", "maximum", "memset", "/", "memcpy", "size", "that", "still", "makes", "it", "profitable", "to", "inline", "the", "call", "."], "TS_V_token": ["ARM", "0", "64"], "File": "ARMSubtarget10", "Func": "getMaxInlineSizeThreshold", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20835, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "STPSUPPRESS_PASS_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64"], "File": "AArch64StorePairSuppress12", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20836, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsSEFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MipsFunctionInfo", "*", "MipsFI", "=", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "MipsABIInfo", "ABI", "=", "STI", ".", "getABI", "(", ")", ";", "unsigned", "FP", "=", "ABI", ".", "GetFramePtr", "(", ")", ";", "unsigned", "BP", "=", "ABI", ".", "IsN64", "(", ")", "?", "Mips", "::", "S7_64", ":", "Mips", "::", "S7", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "setAliasRegs", "(", "MF", ",", "SavedRegs", ",", "FP", ")", ";", "if", "(", "hasBP", "(", "MF", ")", ")", "setAliasRegs", "(", "MF", ",", "SavedRegs", ",", "BP", ")", ";", "if", "(", "MipsFI", "->", "callsEhReturn", "(", ")", ")", "MipsFI", "->", "createEhDataRegsFI", "(", ")", ";", "if", "(", "MipsFI", "->", "isISR", "(", ")", ")", "MipsFI", "->", "createISRRegFI", "(", ")", ";", "if", "(", "ExpandPseudo", "(", "MF", ")", ".", "expand", "(", ")", ")", "{", "const", "TargetRegisterClass", "&", "RC", "=", "STI", ".", "isGP64bit", "(", ")", "?", "Mips", "::", "GPR64RegClass", ":", "Mips", "::", "GPR32RegClass", ";", "int", "FI", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "CreateStackObject", "(", "TRI", "->", "getSpillSize", "(", "RC", ")", ",", "TRI", "->", "getSpillAlignment", "(", "RC", ")", ",", "false", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "FI", ")", ";", "}", "uint64_t", "MaxSPOffset", "=", "estimateStackSize", "(", "MF", ")", ";", "if", "(", "isIntN", "(", "STI", ".", "hasMSA", "(", ")", "?", "10", ":", "16", ",", "MaxSPOffset", ")", "&&", "!", "MF", ".", "getFrameInfo", "(", ")", ".", "hasVarSizedObjects", "(", ")", ")", "return", ";", "const", "TargetRegisterClass", "&", "RC", "=", "ABI", ".", "ArePtrs64bit", "(", ")", "?", "Mips", "::", "GPR64RegClass", ":", "Mips", "::", "GPR32RegClass", ";", "int", "FI", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "CreateStackObject", "(", "TRI", "->", "getSpillSize", "(", "RC", ")", ",", "TRI", "->", "getSpillAlignment", "(", "RC", ")", ",", "false", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "FI", ")", ";", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::S7_64", "Mips::S7", "Mips", "Mips", "Mips", "Mips", "Mips::GPR64RegClass", "Mips::GPR32RegClass", "10", "16", "Mips::GPR64RegClass", "Mips::GPR32RegClass"], "File": "MipsSEFrameLowering16", "Func": "determineCalleeSaves", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20837, "Length": 313, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "registered_function", "&", "function_builder", "::", "add_function", "(", "const", "function_instance", "&", "instance", ",", "const", "char", "*", "name", ",", "tree", "fntype", ",", "tree", "attrs", ",", "uint64_t", "required_extensions", ",", "bool", "overloaded_p", ",", "bool", "placeholder_p", ")", "{", "unsigned", "int", "code", "=", "vec_safe_length", "(", "registered_functions", ")", ";", "code", "=", "(", "code", "<<", "AARCH64_BUILTIN_SHIFT", ")", "|", "AARCH64_BUILTIN_SVE", ";", "tree", "decl", "=", "placeholder_p", "?", "integer_zero_node", ":", "simulate_builtin_function_decl", "(", "input_location", ",", "name", ",", "fntype", ",", "code", ",", "NULL", ",", "attrs", ")", ";", "registered_function", "&", "rfn", "=", "*", "ggc_alloc", "<", "registered_function", ">", "(", ")", ";", "rfn", ".", "instance", "=", "instance", ";", "rfn", ".", "decl", "=", "decl", ";", "rfn", ".", "required_extensions", "=", "required_extensions", ";", "rfn", ".", "overloaded_p", "=", "overloaded_p", ";", "vec_safe_push", "(", "registered_functions", ",", "&", "rfn", ")", ";", "return", "rfn", ";", "}", ""], "natrual_language": ["Add", "a", "function", "called", "NAME", "with", "type", "FNTYPE", "and", "attributes", "ATTRS", ".", "INSTANCE", "describes", "what", "the", "function", "does", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins1", "Func": "add_function", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20838, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_legitimate_index_p", "(", "machine_mode", "mode", ",", "rtx", "op", ",", "bool", "consider_sh2a", ",", "bool", "allow_zero", ")", "{", "if", "(", "!", "CONST_INT_P", "(", "op", ")", ")", "return", "false", ";", "{", "const", "HOST_WIDE_INT", "offset", "=", "INTVAL", "(", "op", ")", ";", "const", "int", "max_disp", "=", "sh_max_mov_insn_displacement", "(", "mode", ",", "consider_sh2a", ")", ";", "const", "int", "align_mask", "=", "mov_insn_alignment_mask", "(", "mode", ",", "consider_sh2a", ")", ";", "if", "(", "!", "allow_zero", "&&", "max_disp", "<", "1", ")", "return", "false", ";", "return", "offset", ">=", "0", "&&", "offset", "<=", "max_disp", "&&", "(", "offset", "&", "align_mask", ")", "==", "0", ";", "}", "}", ""], "natrual_language": ["Return", "TRUE", "for", "a", "valid", "displacement", "for", "the", "REG+disp", "addressing", "with", "MODE", "."], "TS_V_token": ["sh", "1", "0", "0"], "File": "sh", "Func": "sh_legitimate_index_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20839, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_emit_swdivsf", "(", "rtx", "res", ",", "rtx", "a", ",", "rtx", "b", ",", "machine_mode", "mode", ")", "{", "rtx", "x0", ",", "x1", ",", "e0", ",", "e1", ";", "x0", "=", "gen_reg_rtx", "(", "mode", ")", ";", "e0", "=", "gen_reg_rtx", "(", "mode", ")", ";", "e1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "x1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "b", "=", "force_reg", "(", "mode", ",", "b", ")", ";", "if", "(", "mode", "==", "V16SFmode", "||", "mode", "==", "V8DFmode", ")", "{", "if", "(", "TARGET_AVX512ER", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "x0", ",", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "1", ",", "b", ")", ",", "UNSPEC_RCP28", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "res", ",", "gen_rtx_MULT", "(", "mode", ",", "a", ",", "x0", ")", ")", ")", ";", "return", ";", "}", "else", "emit_insn", "(", "gen_rtx_SET", "(", "x0", ",", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "1", ",", "b", ")", ",", "UNSPEC_RCP14", ")", ")", ")", ";", "}", "else", "emit_insn", "(", "gen_rtx_SET", "(", "x0", ",", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "1", ",", "b", ")", ",", "UNSPEC_RCP", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "e0", ",", "gen_rtx_MULT", "(", "mode", ",", "x0", ",", "b", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "e0", ",", "gen_rtx_MULT", "(", "mode", ",", "x0", ",", "e0", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "e1", ",", "gen_rtx_PLUS", "(", "mode", ",", "x0", ",", "x0", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "x1", ",", "gen_rtx_MINUS", "(", "mode", ",", "e1", ",", "e0", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "res", ",", "gen_rtx_MULT", "(", "mode", ",", "a", ",", "x1", ")", ")", ")", ";", "}", ""], "natrual_language": ["Output", "code", "to", "perform", "a", "Newton-Rhapson", "approximation", "of", "a", "single", "precision", "floating", "point", "divide", "[", "http", ":", "//en.wikipedia.org/wiki/N-th_root_algorithm", "]", "."], "TS_V_token": ["i386", "1", "1", "1"], "File": "i386-expand", "Func": "ix86_emit_swdivsf", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20840, "Length": 253, "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", "{", "Value", "=", "adjustFixupValue", "(", "Fixup", ".", "getKind", "(", ")", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "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": "PPCAsmBackend (2)1", "Func": "applyFixup", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20841, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMSubtarget", "::", "ARMSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "isThumb", ")", ":", "ARMArchVersion", "(", "V4T", ")", ",", "ARMFPUType", "(", "None", ")", ",", "UseNEONForSinglePrecisionFP", "(", "false", ")", ",", "IsThumb", "(", "isThumb", ")", ",", "ThumbMode", "(", "Thumb1", ")", ",", "IsR9Reserved", "(", "ReserveR9", ")", ",", "stackAlignment", "(", "4", ")", ",", "CPUString", "(", "\"generic\"", ")", ",", "TargetType", "(", "isELF", ")", ",", "TargetABI", "(", "ARM_ABI_APCS", ")", "{", "if", "(", "FloatABIType", "==", "FloatABI", "::", "Default", ")", "FloatABIType", "=", "FloatABI", "::", "Soft", ";", "CPUString", "=", "ParseSubtargetFeatures", "(", "FS", ",", "CPUString", ")", ";", "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", ">", "'4'", "&&", "SubVer", "<=", "'9'", ")", "{", "if", "(", "SubVer", ">=", "'7'", ")", "{", "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", ";", "}", "if", "(", "ARMArchVersion", ">=", "V6T2", ")", "ThumbMode", "=", "Thumb2", ";", "}", "}", "if", "(", "ARMArchVersion", "<", "V6T2", "&&", "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", ")", ";", "}", ""], "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", "0", "5", "0", "4", "\"armv\"", "4", "6", "0", "5", "\"thumb\"", "7", "5", "6", "ARM", "ARM", "3", "1", "2", "ARM", "ARM", "3", "1", "2", "ARM", "ARM", "ARM", "ARM", "10", "\"-darwin\"", "\"eabi\"", "ARM", "8", "ARM"], "File": "ARMSubtarget34", "Func": "ARMSubtarget", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20842, "Length": 392, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "xstormy16_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "return", "regno", "!=", "16", "||", "mode", "==", "BImode", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_MODE_OK", "."], "TS_V_token": ["stormy16", "16"], "File": "stormy16", "Func": "xstormy16_hard_regno_mode_ok", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20843, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64ExpandHardenedPseudos", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** AArch64ExpandHardenedPseudos *****\\n\"", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "for", "(", "auto", "MBBI", "=", "MBB", ".", "begin", "(", ")", ",", "MBBE", "=", "MBB", ".", "end", "(", ")", ";", "MBBI", "!=", "MBBE", ";", ")", "{", "auto", "&", "MI", "=", "*", "MBBI", "++", ";", "Modified", "|=", "expandMI", "(", "MI", ")", ";", "}", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"***** AArch64ExpandHardenedPseudos *****\\n\""], "File": "AArch64ExpandHardenedPseudos", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20844, "Length": 79, "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": 20845, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "optimizeCompareInstr", "(", "MachineInstr", "&", "Compare", ",", "unsigned", "SrcReg", ",", "unsigned", "SrcReg2", ",", "int", "Mask", ",", "int", "Value", ",", "const", "MachineRegisterInfo", "*", "MRI", ")", "const", "{", "assert", "(", "!", "SrcReg2", "&&", "\"Only optimizing constant comparisons so far\"", ")", ";", "bool", "IsLogical", "=", "(", "Compare", ".", "getDesc", "(", ")", ".", "TSFlags", "&", "SystemZII", "::", "IsLogical", ")", "!=", "0", ";", "return", "Value", "==", "0", "&&", "!", "IsLogical", "&&", "removeIPMBasedCompare", "(", "Compare", ",", "SrcReg", ",", "MRI", ",", "&", "RI", ")", ";", "}", ""], "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": ["SystemZ", "SystemZ", "\"Only optimizing constant comparisons so far\"", "SystemZII::IsLogical", "0", "0"], "File": "SystemZInstrInfo1", "Func": "optimizeCompareInstr", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20846, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "unsigned", "char", "*", "unw_decode", "(", "unsigned", "char", "*", "dp", ",", "int", "inside_body", ",", "void", "*", "arg", ")", "{", "unw_decoder", "decoder", ";", "unsigned", "char", "code", ";", "code", "=", "*", "dp", "++", ";", "decoder", "=", "unw_decode_table", "[", "inside_body", "]", "[", "code", ">>", "5", "]", ";", "dp", "=", "(", "*", "decoder", ")", "(", "dp", ",", "code", ",", "arg", ")", ";", "return", "dp", ";", "}", ""], "natrual_language": ["Decode", "one", "descriptor", "and", "return", "address", "of", "next", "descriptor", "."], "TS_V_token": ["ia64", "5"], "File": "unwind-ia64", "Func": "unw_decode", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20847, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ia64_expand_load_address", "(", "rtx", "dest", ",", "rtx", "src", ")", "{", "gcc_assert", "(", "GET_CODE", "(", "dest", ")", "==", "REG", ")", ";", "if", "(", "GET_MODE", "(", "dest", ")", "!=", "Pmode", ")", "dest", "=", "gen_rtx_REG_offset", "(", "dest", ",", "Pmode", ",", "REGNO", "(", "dest", ")", ",", "byte_lowpart_offset", "(", "Pmode", ",", "GET_MODE", "(", "dest", ")", ")", ")", ";", "if", "(", "TARGET_NO_PIC", ")", "return", "false", ";", "if", "(", "small_addr_symbolic_operand", "(", "src", ",", "VOIDmode", ")", ")", "return", "false", ";", "if", "(", "TARGET_AUTO_PIC", ")", "emit_insn", "(", "gen_load_gprel64", "(", "dest", ",", "src", ")", ")", ";", "else", "if", "(", "GET_CODE", "(", "src", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_FUNCTION_P", "(", "src", ")", ")", "emit_insn", "(", "gen_load_fptr", "(", "dest", ",", "src", ")", ")", ";", "else", "if", "(", "sdata_symbolic_operand", "(", "src", ",", "VOIDmode", ")", ")", "emit_insn", "(", "gen_load_gprel", "(", "dest", ",", "src", ")", ")", ";", "else", "if", "(", "local_symbolic_operand64", "(", "src", ",", "VOIDmode", ")", ")", "{", "emit_insn", "(", "gen_load_gprel64", "(", "dest", ",", "src", ")", ")", ";", "}", "else", "{", "HOST_WIDE_INT", "addend", "=", "0", ";", "rtx", "tmp", ";", "if", "(", "GET_CODE", "(", "src", ")", "==", "CONST", ")", "{", "HOST_WIDE_INT", "hi", ",", "lo", ";", "hi", "=", "INTVAL", "(", "XEXP", "(", "XEXP", "(", "src", ",", "0", ")", ",", "1", ")", ")", ";", "lo", "=", "(", "(", "hi", "&", "0x3fff", ")", "^", "0x2000", ")", "-", "0x2000", ";", "hi", "=", "hi", "-", "lo", ";", "if", "(", "lo", "!=", "0", ")", "{", "addend", "=", "lo", ";", "src", "=", "plus_constant", "(", "Pmode", ",", "XEXP", "(", "XEXP", "(", "src", ",", "0", ")", ",", "0", ")", ",", "hi", ")", ";", "}", "}", "tmp", "=", "gen_rtx_HIGH", "(", "Pmode", ",", "src", ")", ";", "tmp", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "tmp", ",", "pic_offset_table_rtx", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "tmp", ")", ")", ";", "tmp", "=", "gen_rtx_LO_SUM", "(", "Pmode", ",", "gen_const_mem", "(", "Pmode", ",", "dest", ")", ",", "src", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "tmp", ")", ")", ";", "if", "(", "addend", ")", "{", "tmp", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "dest", ",", "GEN_INT", "(", "addend", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "tmp", ")", ")", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Expand", "a", "symbolic", "constant", "load", "."], "TS_V_token": ["ia64", "0", "0", "1", "0x3fff", "0x2000", "0x2000", "0", "0", "0"], "File": "ia64", "Func": "ia64_expand_load_address", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20848, "Length": 340, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64GenInstrInfo", "::", "MachineOutlinerInstrType", "AArch64InstrInfo", "::", "getOutliningType", "(", "MachineInstr", "&", "MI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "AArch64FunctionInfo", "*", "FuncInfo", "=", "MF", "->", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "if", "(", "FuncInfo", "->", "getLOHRelated", "(", ")", ".", "count", "(", "&", "MI", ")", ")", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "if", "(", "MI", ".", "isDebugValue", "(", ")", "||", "MI", ".", "isIndirectDebugValue", "(", ")", ")", "return", "MachineOutlinerInstrType", "::", "Invisible", ";", "if", "(", "MI", ".", "isTerminator", "(", ")", ")", "{", "if", "(", "MI", ".", "getParent", "(", ")", "->", "succ_empty", "(", ")", ")", "return", "MachineOutlinerInstrType", "::", "Legal", ";", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "}", "if", "(", "MI", ".", "isPosition", "(", ")", ")", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "for", "(", "const", "MachineOperand", "&", "MOP", ":", "MI", ".", "operands", "(", ")", ")", "if", "(", "MOP", ".", "isCPI", "(", ")", "||", "MOP", ".", "isJTI", "(", ")", "||", "MOP", ".", "isCFIIndex", "(", ")", "||", "MOP", ".", "isFI", "(", ")", "||", "MOP", ".", "isTargetIndex", "(", ")", ")", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "if", "(", "MI", ".", "modifiesRegister", "(", "AArch64", "::", "LR", ",", "&", "RI", ")", "||", "MI", ".", "readsRegister", "(", "AArch64", "::", "LR", ",", "&", "RI", ")", ")", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "if", "(", "MI", ".", "modifiesRegister", "(", "AArch64", "::", "SP", ",", "&", "RI", ")", "||", "MI", ".", "readsRegister", "(", "AArch64", "::", "SP", ",", "&", "RI", ")", ")", "{", "if", "(", "MI", ".", "mayLoadOrStore", "(", ")", ")", "{", "unsigned", "Base", ";", "int64_t", "Offset", ";", "unsigned", "DummyWidth", ";", "if", "(", "!", "getMemOpBaseRegImmOfsWidth", "(", "MI", ",", "Base", ",", "Offset", ",", "DummyWidth", ",", "&", "RI", ")", "||", "Base", "!=", "AArch64", "::", "SP", ")", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "int64_t", "MinOffset", ",", "MaxOffset", ";", "unsigned", "DummyScale", ";", "getMemOpInfo", "(", "MI", ".", "getOpcode", "(", ")", ",", "DummyScale", ",", "DummyWidth", ",", "MinOffset", ",", "MaxOffset", ")", ";", "if", "(", "Offset", "+", "16", "<", "MinOffset", "||", "Offset", "+", "16", ">", "MaxOffset", ")", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "return", "MachineOutlinerInstrType", "::", "Legal", ";", "}", "return", "MachineOutlinerInstrType", "::", "Illegal", ";", "}", "return", "MachineOutlinerInstrType", "::", "Legal", ";", "}", ""], "natrual_language": ["Returns", "how", "or", "if", "MIT", "should", "be", "outlined", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64::LR", "AArch64::LR", "AArch64::SP", "AArch64::SP", "AArch64::SP", "16", "16"], "File": "AArch64InstrInfo109", "Func": "getOutliningType", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20849, "Length": 339, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{", "bool", "is64", "=", "getPointerSize", "(", ")", "==", "8", ";", "return", "createPPCELFObjectWriter", "(", "OS", ",", "is64", ",", "OSABI", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["PowerPC", "8", "PPC"], "File": "PPCAsmBackend1", "Func": "createObjectWriter", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20850, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_rint", "(", "rtx", "operand0", ",", "rtx", "operand1", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "operand0", ")", ";", "rtx", "res", ",", "xa", ",", "TWO52", ",", "mask", ";", "rtx_code_label", "*", "label", ";", "res", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_move_insn", "(", "res", ",", "operand1", ")", ";", "xa", "=", "ix86_expand_sse_fabs", "(", "res", ",", "&", "mask", ")", ";", "TWO52", "=", "ix86_gen_TWO52", "(", "mode", ")", ";", "label", "=", "ix86_expand_sse_compare_and_jump", "(", "UNLE", ",", "TWO52", ",", "xa", ",", "false", ")", ";", "xa", "=", "expand_simple_binop", "(", "mode", ",", "PLUS", ",", "xa", ",", "TWO52", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "xa", "=", "expand_simple_binop", "(", "mode", ",", "MINUS", ",", "xa", ",", "TWO52", ",", "xa", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "ix86_sse_copysign_to_positive", "(", "res", ",", "xa", ",", "res", ",", "mask", ")", ";", "emit_label", "(", "label", ")", ";", "LABEL_NUSES", "(", "label", ")", "=", "1", ";", "emit_move_insn", "(", "operand0", ",", "res", ")", ";", "}", ""], "natrual_language": ["Expand", "rint", "(", "IEEE", "round", "to", "nearest", ")", "rounding", "OPERAND1", "and", "storing", "the", "result", "in", "OPERAND0", "."], "TS_V_token": ["i386", "0", "0", "1"], "File": "i3864", "Func": "ix86_expand_rint", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20851, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "loongarch_can_eliminate", "(", "const", "int", "from", "ATTRIBUTE_UNUSED", ",", "const", "int", "to", ")", "{", "return", "(", "to", "==", "HARD_FRAME_POINTER_REGNUM", "||", "to", "==", "STACK_POINTER_REGNUM", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CAN_ELIMINATE", ".", "Make", "sure", "that", "we", "'re", "not", "trying", "to", "eliminate", "to", "the", "wrong", "hard", "frame", "pointer", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_can_eliminate", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20852, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_float_const_representable_p", "(", "rtx", "x", ")", "{", "int", "point_pos", "=", "2", "*", "HOST_BITS_PER_WIDE_INT", "-", "1", ";", "int", "exponent", ";", "unsigned", "HOST_WIDE_INT", "mantissa", ",", "mask", ";", "REAL_VALUE_TYPE", "r", ",", "m", ";", "bool", "fail", ";", "x", "=", "unwrap_const_vec_duplicate", "(", "x", ")", ";", "if", "(", "!", "CONST_DOUBLE_P", "(", "x", ")", ")", "return", "false", ";", "if", "(", "GET_MODE", "(", "x", ")", "==", "VOIDmode", "||", "(", "GET_MODE", "(", "x", ")", "==", "HFmode", "&&", "!", "TARGET_FP_F16INST", ")", ")", "return", "false", ";", "r", "=", "*", "CONST_DOUBLE_REAL_VALUE", "(", "x", ")", ";", "if", "(", "REAL_VALUE_ISINF", "(", "r", ")", "||", "REAL_VALUE_ISNAN", "(", "r", ")", "||", "REAL_VALUE_MINUS_ZERO", "(", "r", ")", ")", "return", "false", ";", "r", "=", "real_value_abs", "(", "&", "r", ")", ";", "exponent", "=", "REAL_EXP", "(", "&", "r", ")", ";", "real_ldexp", "(", "&", "m", ",", "&", "r", ",", "point_pos", "-", "exponent", ")", ";", "wide_int", "w", "=", "real_to_integer", "(", "&", "m", ",", "&", "fail", ",", "HOST_BITS_PER_WIDE_INT", "*", "2", ")", ";", "if", "(", "w", ".", "ulow", "(", ")", "!=", "0", ")", "return", "false", ";", "mantissa", "=", "w", ".", "elt", "(", "1", ")", ";", "point_pos", "-=", "HOST_BITS_PER_WIDE_INT", ";", "mask", "=", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "1", "<<", "(", "point_pos", "-", "5", ")", ")", "-", "1", ";", "if", "(", "(", "mantissa", "&", "mask", ")", "!=", "0", ")", "return", "false", ";", "mantissa", ">>=", "point_pos", "-", "5", ";", "if", "(", "mantissa", "==", "0", ")", "return", "false", ";", "mantissa", "&=", "~", "(", "1", "<<", "4", ")", ";", "gcc_assert", "(", "mantissa", "<=", "15", ")", ";", "exponent", "=", "5", "-", "exponent", ";", "return", "(", "exponent", ">=", "0", "&&", "exponent", "<=", "7", ")", ";", "}", ""], "natrual_language": ["Return", "true", "iff", "X", "can", "be", "represented", "by", "a", "quarter-precision", "floating", "point", "immediate", "operand", "X", ".", "Note", ",", "we", "can", "not", "represent", "0.0", "."], "TS_V_token": ["aarch64", "2", "1", "2", "0", "1", "1", "5", "1", "0", "5", "0", "1", "4", "15", "5", "0", "7"], "File": "aarch64", "Func": "aarch64_float_const_representable_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20853, "Length": 254, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCSubtarget", "::", "useDFAforSMS", "(", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Default", "to", "DFA", "for", "resource", "management", ",", "return", "false", "when", "target", "will", "use", "ProcResource", "in", "InstrSchedModel", "instead", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCSubtarget10", "Func": "useDFAforSMS", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20854, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "mips_std_gimplify_va_arg_expr", "(", "tree", "valist", ",", "tree", "type", ",", "gimple_seq", "*", "pre_p", ",", "gimple_seq", "*", "post_p", ")", "{", "tree", "addr", ",", "t", ",", "type_size", ",", "rounded_size", ",", "valist_tmp", ";", "unsigned", "HOST_WIDE_INT", "align", ",", "boundary", ";", "bool", "indirect", ";", "indirect", "=", "pass_by_reference", "(", "NULL", ",", "TYPE_MODE", "(", "type", ")", ",", "type", ",", "false", ")", ";", "if", "(", "indirect", ")", "type", "=", "build_pointer_type", "(", "type", ")", ";", "align", "=", "PARM_BOUNDARY", "/", "BITS_PER_UNIT", ";", "boundary", "=", "targetm", ".", "calls", ".", "function_arg_boundary", "(", "TYPE_MODE", "(", "type", ")", ",", "type", ")", ";", "if", "(", "boundary", ">", "MAX_SUPPORTED_STACK_ALIGNMENT", ")", "boundary", "=", "MAX_SUPPORTED_STACK_ALIGNMENT", ";", "boundary", "/=", "BITS_PER_UNIT", ";", "valist_tmp", "=", "get_initialized_tmp_var", "(", "valist", ",", "pre_p", ",", "NULL", ")", ";", "if", "(", "boundary", ">", "align", ")", "{", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "valist", ")", ",", "valist_tmp", ",", "fold_build_pointer_plus_hwi", "(", "valist_tmp", ",", "boundary", "-", "1", ")", ")", ";", "gimplify_and_add", "(", "t", ",", "pre_p", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "valist", ")", ",", "valist_tmp", ",", "fold_build2", "(", "BIT_AND_EXPR", ",", "TREE_TYPE", "(", "valist", ")", ",", "valist_tmp", ",", "build_int_cst", "(", "TREE_TYPE", "(", "valist", ")", ",", "-", "boundary", ")", ")", ")", ";", "gimplify_and_add", "(", "t", ",", "pre_p", ")", ";", "}", "else", "boundary", "=", "align", ";", "boundary", "*=", "BITS_PER_UNIT", ";", "if", "(", "boundary", "<", "TYPE_ALIGN", "(", "type", ")", ")", "{", "type", "=", "build_variant_type_copy", "(", "type", ")", ";", "TYPE_ALIGN", "(", "type", ")", "=", "boundary", ";", "}", "type_size", "=", "size_in_bytes", "(", "type", ")", ";", "rounded_size", "=", "round_up", "(", "type_size", ",", "align", ")", ";", "gimplify_expr", "(", "&", "rounded_size", ",", "pre_p", ",", "post_p", ",", "is_gimple_val", ",", "fb_rvalue", ")", ";", "addr", "=", "valist_tmp", ";", "if", "(", "PAD_VARARGS_DOWN", "&&", "!", "integer_zerop", "(", "rounded_size", ")", ")", "{", "t", "=", "fold_build2_loc", "(", "input_location", ",", "GT_EXPR", ",", "sizetype", ",", "rounded_size", ",", "size_int", "(", "align", ")", ")", ";", "t", "=", "fold_build3", "(", "COND_EXPR", ",", "sizetype", ",", "t", ",", "size_zero_node", ",", "size_binop", "(", "MINUS_EXPR", ",", "rounded_size", ",", "type_size", ")", ")", ";", "addr", "=", "fold_build_pointer_plus", "(", "addr", ",", "t", ")", ";", "}", "t", "=", "fold_build_pointer_plus", "(", "valist_tmp", ",", "rounded_size", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "valist", ")", ",", "valist", ",", "t", ")", ";", "gimplify_and_add", "(", "t", ",", "pre_p", ")", ";", "addr", "=", "fold_convert", "(", "build_pointer_type", "(", "type", ")", ",", "addr", ")", ";", "if", "(", "indirect", ")", "addr", "=", "build_va_arg_indirect_ref", "(", "addr", ")", ";", "return", "build_va_arg_indirect_ref", "(", "addr", ")", ";", "}", ""], "natrual_language": ["Like", "std_gimplify_va_arg_expr", ",", "but", "apply", "alignment", "to", "zero-sized", "types", "as", "well", "."], "TS_V_token": ["mips", "1"], "File": "mips4", "Func": "mips_std_gimplify_va_arg_expr", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20855, "Length": 386, "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": ["LC2200"], "File": "LC2200AsmParser", "Func": "getEndLoc", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20856, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "MipsTargetLowering", "::", "getSetCCResultType", "(", "MVT", "VT", ")", "const", "{", "return", "MVT", "::", "i32", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["Mips", "Mips", "MVT::i32"], "File": "MipsISelLowering35", "Func": "getSetCCResultType", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20857, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "scalar_int_mode", "aarch64_sve_element_int_mode", "(", "machine_mode", "mode", ")", "{", "poly_uint64", "vector_bits", "=", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_BOOL", "?", "BITS_PER_SVE_VECTOR", ":", "GET_MODE_BITSIZE", "(", "mode", ")", ")", ";", "unsigned", "int", "elt_bits", "=", "vector_element_size", "(", "vector_bits", ",", "GET_MODE_NUNITS", "(", "mode", ")", ")", ";", "return", "int_mode_for_size", "(", "elt_bits", ",", "0", ")", ".", "require", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "integer", "element", "mode", "associated", "with", "SVE", "mode", "MODE", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64", "Func": "aarch64_sve_element_int_mode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20858, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMTTIImpl", "::", "getFPOpCost", "(", "Type", "*", "Ty", ")", "{", "if", "(", "ST", "->", "hasVFP2", "(", ")", "&&", "!", "ST", "->", "isThumb1Only", "(", ")", ")", "{", "if", "(", "Ty", "->", "isFloatTy", "(", ")", ")", "{", "return", "TargetTransformInfo", "::", "TCC_Basic", ";", "}", "if", "(", "Ty", "->", "isDoubleTy", "(", ")", ")", "{", "return", "ST", "->", "isFPOnlySP", "(", ")", "?", "TargetTransformInfo", "::", "TCC_Expensive", ":", "TargetTransformInfo", "::", "TCC_Basic", ";", "}", "}", "return", "TargetTransformInfo", "::", "TCC_Expensive", ";", "}", ""], "natrual_language": ["Return", "the", "expected", "cost", "of", "supporting", "the", "floating", "point", "operation", "of", "the", "specified", "type", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMTargetTransformInfo62", "Func": "getFPOpCost", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20859, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_cannot_change_mode_class", "(", "machine_mode", "from", ",", "machine_mode", "to", ",", "enum", "reg_class", "rclass", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "from", ")", "==", "8", "&&", "GET_MODE_SIZE", "(", "to", ")", "==", "8", "&&", "INTEGRAL_MODE_P", "(", "from", ")", "&&", "INTEGRAL_MODE_P", "(", "to", ")", ")", "return", "false", ";", "return", "reg_classes_intersect_p", "(", "FP_REGS", ",", "rclass", ")", ";", "}", ""], "natrual_language": ["Implement", "CANNOT_CHANGE_MODE_CLASS", "."], "TS_V_token": ["mips", "8", "8"], "File": "mips4", "Func": "mips_cannot_change_mode_class", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20860, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "ix86_gen_scratch_sse_rtx", "(", "machine_mode", "mode", ")", "{", "return", "gen_reg_rtx", "(", "mode", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_GEN_MEMSET_SCRATCH_RTX", "hook", ".", "Return", "a", "scratch", "register", "in", "MODE", "for", "vector", "load", "and", "store", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_gen_scratch_sse_rtx", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20861, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "PPCRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "const", "PPCFrameLowering", "*", "PPCFI", "=", "static_cast", "<", "const", "PPCFrameLowering", "*", ">", "(", "Subtarget", ".", "getFrameLowering", "(", ")", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "ZERO", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "ZERO8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "FP", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "FP8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "BP", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "BP8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "CTR", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "CTR8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R1", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "RM", ")", ";", "if", "(", "!", "Subtarget", ".", "isDarwinABI", "(", ")", "||", "!", "Subtarget", ".", "hasAltivec", "(", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "VRSAVE", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R2", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R13", ")", ";", "}", "if", "(", "TM", ".", "isPPC64", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R13", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X1", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X13", ")", ";", "if", "(", "PPCFI", "->", "needsFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "X31", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "X30", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "const", "PPCFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", ";", "if", "(", "FuncInfo", "->", "usesTOCBasePtr", "(", ")", "||", "MF", ".", "hasInlineAsm", "(", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "X2", ")", ";", "else", "Reserved", ".", "reset", "(", "PPC", "::", "R2", ")", ";", "}", "}", "if", "(", "PPCFI", "->", "needsFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "R31", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "{", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", "&&", "!", "TM", ".", "isPPC64", "(", ")", "&&", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "Reserved", ".", "set", "(", "PPC", "::", "R29", ")", ";", "else", "Reserved", ".", "set", "(", "PPC", "::", "R30", ")", ";", "}", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", "&&", "!", "TM", ".", "isPPC64", "(", ")", "&&", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "Reserved", ".", "set", "(", "PPC", "::", "R30", ")", ";", "if", "(", "!", "Subtarget", ".", "hasAltivec", "(", ")", ")", "for", "(", "TargetRegisterClass", "::", "iterator", "I", "=", "PPC", "::", "VRRCRegClass", ".", "begin", "(", ")", ",", "IE", "=", "PPC", "::", "VRRCRegClass", ".", "end", "(", ")", ";", "I", "!=", "IE", ";", "++", "I", ")", "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": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC::ZERO", "PPC::ZERO8", "PPC::FP", "PPC::FP8", "PPC::BP", "PPC::BP8", "PPC::CTR", "PPC::CTR8", "PPC::R1", "PPC::LR", "PPC::LR8", "PPC::RM", "PPC::VRSAVE", "PPC::R2", "PPC::R13", "PPC", "PPC::R13", "PPC::X1", "PPC::X13", "PPC", "PPC::X31", "PPC::X30", "PPC", "PPC", "PPC::X2", "PPC::R2", "PPC", "PPC::R31", "PPC", "PPC::R29", "PPC::R30", "PPC", "PPC::R30", "PPC::VRRCRegClass", "PPC::VRRCRegClass"], "File": "PPCRegisterInfo15", "Func": "getReservedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20862, "Length": 500, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "SystemZRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "return", "CSR_SystemZ_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ"], "File": "SystemZRegisterInfo (2)", "Func": "getCalleeSavedRegs", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20863, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "uint64_t", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "unsigned", "MatchResult", ";", "MatchResult", "=", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ";", "switch", "(", "MatchResult", ")", "{", "case", "Match_Success", ":", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "Out", ".", "EmitInstruction", "(", "Inst", ",", "getSTI", "(", ")", ")", ";", "return", "false", ";", "case", "Match_MissingFeature", ":", "{", "assert", "(", "ErrorInfo", "&&", "\"Unknown missing feature!\"", ")", ";", "std", "::", "string", "Msg", "=", "\"instruction requires:\"", ";", "uint64_t", "Mask", "=", "1", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "sizeof", "(", "ErrorInfo", ")", "*", "8", "-", "1", ";", "++", "I", ")", "{", "if", "(", "ErrorInfo", "&", "Mask", ")", "{", "Msg", "+=", "\" \"", ";", "Msg", "+=", "getSubtargetFeatureName", "(", "ErrorInfo", "&", "Mask", ")", ";", "}", "Mask", "<<=", "1", ";", "}", "return", "Error", "(", "IDLoc", ",", "Msg", ")", ";", "}", "case", "Match_InvalidOperand", ":", "{", "SMLoc", "ErrorLoc", "=", "IDLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "0ULL", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "IDLoc", ",", "\"too few operands for instruction\"", ")", ";", "ErrorLoc", "=", "(", "(", "SystemZOperand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "\"invalid operand for instruction\"", ")", ";", "}", "case", "Match_MnemonicFail", ":", "return", "Error", "(", "IDLoc", ",", "\"invalid instruction\"", ")", ";", "}", "llvm_unreachable", "(", "\"Unexpected match type\"", ")", ";", "}", ""], "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": ["SystemZ", "SystemZ", "\"Unknown missing feature!\"", "\"instruction requires:\"", "1", "0", "8", "1", "\" \"", "1", "0ULL", "\"too few operands for instruction\"", "SystemZ", "\"invalid operand for instruction\"", "\"invalid instruction\"", "\"Unexpected match type\""], "File": "SystemZAsmParser (2)", "Func": "MatchAndEmitInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20864, "Length": 249, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "i386_pe_file_end", "(", "void", ")", "{", "struct", "extern_list", "*", "p", ";", "for", "(", "p", "=", "extern_head", ";", "p", "!=", "NULL", ";", "p", "=", "p", "->", "next", ")", "{", "tree", "decl", ";", "decl", "=", "p", "->", "decl", ";", "if", "(", "!", "TREE_ASM_WRITTEN", "(", "decl", ")", "&&", "TREE_SYMBOL_REFERENCED", "(", "DECL_ASSEMBLER_NAME", "(", "decl", ")", ")", ")", "{", "const", "char", "*", "realsym", "=", "i386_find_on_wrapper_list", "(", "p", "->", "name", ")", ";", "if", "(", "realsym", ")", "i386_pe_declare_function_type", "(", "asm_out_file", ",", "concat", "(", "\"__real_\"", ",", "realsym", ",", "NULL", ")", ",", "TREE_PUBLIC", "(", "decl", ")", ")", ";", "TREE_ASM_WRITTEN", "(", "decl", ")", "=", "1", ";", "i386_pe_declare_function_type", "(", "asm_out_file", ",", "p", "->", "name", ",", "TREE_PUBLIC", "(", "decl", ")", ")", ";", "}", "}", "if", "(", "export_head", ")", "{", "struct", "export_list", "*", "q", ";", "drectve_section", "(", ")", ";", "for", "(", "q", "=", "export_head", ";", "q", "!=", "NULL", ";", "q", "=", "q", "->", "next", ")", "{", "fprintf", "(", "asm_out_file", ",", "\"\\t.ascii \\\" -export:\\\\\\\"%s\\\\\\\"%s\\\"\\n\"", ",", "default_strip_name_encoding", "(", "q", "->", "name", ")", ",", "(", "q", "->", "is_data", "?", "\",data\"", ":", "\"\"", ")", ")", ";", "}", "}", "if", "(", "stub_head", ")", "{", "struct", "stub_list", "*", "q", ";", "for", "(", "q", "=", "stub_head", ";", "q", "!=", "NULL", ";", "q", "=", "q", "->", "next", ")", "{", "const", "char", "*", "name", "=", "q", "->", "name", ";", "const", "char", "*", "oname", ";", "if", "(", "name", "[", "0", "]", "==", "'*'", ")", "++", "name", ";", "oname", "=", "name", ";", "if", "(", "name", "[", "0", "]", "==", "'.'", ")", "++", "name", ";", "if", "(", "!", "startswith", "(", "name", ",", "\"refptr.\"", ")", ")", "continue", ";", "name", "+=", "7", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.section\\t.rdata$%s, \\\"dr\\\"\\n\"", "\"\\t.globl\\t%s\\n\"", "\"\\t.linkonce\\tdiscard\\n\"", ",", "oname", ",", "oname", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"%s:\\n\\t.quad\\t%s\\n\"", ",", "oname", ",", "name", ")", ";", "}", "}", "}", ""], "natrual_language": ["This", "is", "called", "at", "the", "end", "of", "assembly", ".", "For", "each", "external", "function", "which", "has", "not", "been", "defined", ",", "we", "output", "a", "declaration", "now", ".", "We", "also", "output", "the", ".drectve", "section", "."], "TS_V_token": ["i386", "\"__real_\"", "1", "\"\\t.ascii \\\" -export:\\\\\\\"%s\\\\\\\"%s\\\"\\n\"", "\",data\"", "\"\"", "0", "0", "\"refptr.\"", "7", "\"\\t.section\\t.rdata$%s, \\\"dr\\\"\\n\"", "\"\\t.globl\\t%s\\n\"", "\"\\t.linkonce\\tdiscard\\n\"", "\"%s:\\n\\t.quad\\t%s\\n\""], "File": "winnt", "Func": "i386_pe_file_end", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20865, "Length": 281, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "swiftAsyncContextIsDynamicallySet", "(", ")", "const", "{", "const", "Triple", "&", "TT", "=", "getTargetTriple", "(", ")", ";", "unsigned", "Major", ",", "Minor", ",", "Micro", ";", "TT", ".", "getOSVersion", "(", "Major", ",", "Minor", ",", "Micro", ")", ";", "switch", "(", "TT", ".", "getOS", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Triple", "::", "IOS", ":", "case", "Triple", "::", "TvOS", ":", "return", "Major", "<", "15", ";", "case", "Triple", "::", "WatchOS", ":", "return", "Major", "<", "8", ";", "case", "Triple", "::", "MacOSX", ":", "case", "Triple", "::", "Darwin", ":", "return", "Major", "<", "12", ";", "}", "}", ""], "natrual_language": ["Return", "whether", "FrameLowering", "should", "always", "set", "the", "``", "extended", "frame", "present", "''", "bit", "in", "FP", ",", "or", "set", "it", "based", "on", "a", "symbol", "in", "the", "runtime", "."], "TS_V_token": ["X86", "15", "8", "12"], "File": "X86Subtarget107", "Func": "swiftAsyncContextIsDynamicallySet", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20866, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "csky_legitimate_pic_operand_p", "(", "rtx", "x", ")", "{", "if", "(", "tls_unspec_mentioned_p", "(", "x", ")", ")", "return", "true", ";", "if", "(", "csky_symbol_mentioned_p", "(", "x", ")", "||", "csky_label_mentioned_p", "(", "x", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "LEGITIMATE_PIC_OPERAND_P", "."], "TS_V_token": ["csky"], "File": "csky", "Func": "csky_legitimate_pic_operand_p", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20867, "Length": 36, "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": 20868, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16TargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", ",", "unsigned", ",", "bool", "*", "Fast", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["Mips", "Mips"], "File": "Mips16ISelLowering (2)", "Func": "allowsMisalignedMemoryAccesses", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20869, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "sparc_compute_frame_size", "(", "HOST_WIDE_INT", "size", ",", "int", "leaf_function_p", ")", "{", "int", "outgoing_args_size", "=", "(", "current_function_outgoing_args_size", "+", "REG_PARM_STACK_SPACE", "(", "current_function_decl", ")", ")", ";", "int", "n_regs", "=", "0", ";", "int", "i", ";", "if", "(", "TARGET_ARCH64", ")", "{", "for", "(", "i", "=", "0", ";", "i", "<", "8", ";", "i", "++", ")", "if", "(", "regs_ever_live", "[", "i", "]", "&&", "!", "call_used_regs", "[", "i", "]", ")", "n_regs", "+=", "2", ";", "}", "else", "{", "for", "(", "i", "=", "0", ";", "i", "<", "8", ";", "i", "+=", "2", ")", "if", "(", "(", "regs_ever_live", "[", "i", "]", "&&", "!", "call_used_regs", "[", "i", "]", ")", "||", "(", "regs_ever_live", "[", "i", "+", "1", "]", "&&", "!", "call_used_regs", "[", "i", "+", "1", "]", ")", ")", "n_regs", "+=", "2", ";", "}", "for", "(", "i", "=", "32", ";", "i", "<", "(", "TARGET_V9", "?", "96", ":", "64", ")", ";", "i", "+=", "2", ")", "if", "(", "(", "regs_ever_live", "[", "i", "]", "&&", "!", "call_used_regs", "[", "i", "]", ")", "||", "(", "regs_ever_live", "[", "i", "+", "1", "]", "&&", "!", "call_used_regs", "[", "i", "+", "1", "]", ")", ")", "n_regs", "+=", "2", ";", "num_gfregs", "=", "n_regs", ";", "if", "(", "leaf_function_p", "&&", "n_regs", "==", "0", "&&", "size", "==", "0", "&&", "current_function_outgoing_args_size", "==", "0", ")", "actual_fsize", "=", "apparent_fsize", "=", "0", ";", "else", "{", "apparent_fsize", "=", "(", "size", "-", "STARTING_FRAME_OFFSET", "+", "7", ")", "&", "-", "8", ";", "apparent_fsize", "+=", "n_regs", "*", "4", ";", "actual_fsize", "=", "apparent_fsize", "+", "(", "(", "outgoing_args_size", "+", "7", ")", "&", "-", "8", ")", ";", "}", "if", "(", "!", "leaf_function_p", "||", "size", ">", "0", ")", "actual_fsize", "+=", "FIRST_PARM_OFFSET", "(", "current_function_decl", ")", ";", "return", "SPARC_STACK_ALIGN", "(", "actual_fsize", ")", ";", "}", ""], "natrual_language": ["Compute", "the", "frame", "size", "required", "by", "the", "function", ".", "This", "function", "is", "called", "during", "the", "reload", "pass", "and", "also", "by", "sparc_expand_prologue", "."], "TS_V_token": ["sparc", "0", "0", "8", "2", "0", "8", "2", "1", "1", "2", "32", "96", "64", "2", "1", "1", "2", "0", "0", "0", "0", "7", "8", "4", "7", "8", "0"], "File": "sparc3", "Func": "sparc_compute_frame_size", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20870, "Length": 261, "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", ")", ";", "}", ""], "natrual_language": ["Try", "to", "add", "a", "symbolic", "operand", "instead", "of", "Value", "to", "the", "MCInst", "."], "TS_V_token": ["SystemZ"], "File": "SystemZDisassembler12", "Func": "tryAddingSymbolicOperand", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20871, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "gen_shifty_op", "(", "int", "code", ",", "rtx", "*", "operands", ")", "{", "int", "value", "=", "INTVAL", "(", "operands", "[", "2", "]", ")", ";", "int", "max", ",", "i", ";", "value", "=", "value", "&", "0x1f", ";", "if", "(", "value", "==", "31", ")", "{", "if", "(", "code", "==", "LSHIFTRT", ")", "{", "emit_insn", "(", "gen_rotlsi3_1", "(", "operands", "[", "0", "]", ",", "operands", "[", "0", "]", ")", ")", ";", "emit_insn", "(", "gen_movt", "(", "operands", "[", "0", "]", ")", ")", ";", "return", ";", "}", "else", "if", "(", "code", "==", "ASHIFT", ")", "{", "if", "(", "GET_CODE", "(", "operands", "[", "0", "]", ")", "==", "REG", "&&", "REGNO", "(", "operands", "[", "0", "]", ")", "==", "0", ")", "{", "emit_insn", "(", "gen_andsi3", "(", "operands", "[", "0", "]", ",", "operands", "[", "0", "]", ",", "const1_rtx", ")", ")", ";", "emit_insn", "(", "gen_rotlsi3_31", "(", "operands", "[", "0", "]", ",", "operands", "[", "0", "]", ")", ")", ";", "return", ";", "}", "}", "}", "else", "if", "(", "value", "==", "0", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "operands", "[", "0", "]", ",", "operands", "[", "0", "]", ")", ")", ";", "return", ";", "}", "max", "=", "shift_insns", "[", "value", "]", ";", "for", "(", "i", "=", "0", ";", "i", "<", "max", ";", "i", "++", ")", "gen_ashift", "(", "code", ",", "shift_amounts", "[", "value", "]", "[", "i", "]", ",", "operands", "[", "0", "]", ")", ";", "}", ""], "natrual_language": ["Output", "RTL", "to", "split", "a", "constant", "shift", "into", "its", "component", "SH", "constant", "shift", "instructions", "."], "TS_V_token": ["sh", "2", "0x1f", "31", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"], "File": "sh3", "Func": "gen_shifty_op", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20872, "Length": 215, "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": 20873, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_emit_unlikely_jump", "(", "rtx", "insn", ")", "{", "rtx_insn", "*", "jump", "=", "emit_jump_insn", "(", "insn", ")", ";", "add_reg_br_prob_note", "(", "jump", ",", "profile_probability", "::", "very_unlikely", "(", ")", ")", ";", "}", ""], "natrual_language": ["Mark", "the", "previous", "jump", "instruction", "as", "unlikely", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_emit_unlikely_jump", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20874, "Length": 29, "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": 20875, "Length": 49, "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": 20876, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "VETargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "case", "VEISD", "::", "NAME", ":", "\\", "return", "\"VEISD::\"", "#", "NAME", ";", "switch", "(", "(", "VEISD", "::", "NodeType", ")", "Opcode", ")", "{", "case", "VEISD", "::", "FIRST_NUMBER", ":", "break", ";", "TARGET_NODE_CASE", "(", "Lo", ")", "TARGET_NODE_CASE", "(", "Hi", ")", "TARGET_NODE_CASE", "(", "GETFUNPLT", ")", "TARGET_NODE_CASE", "(", "GETSTACKTOP", ")", "TARGET_NODE_CASE", "(", "GETTLSADDR", ")", "TARGET_NODE_CASE", "(", "MEMBARRIER", ")", "TARGET_NODE_CASE", "(", "CALL", ")", "TARGET_NODE_CASE", "(", "RET_FLAG", ")", "TARGET_NODE_CASE", "(", "GLOBAL_BASE_REG", ")", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["VE", "VE", "VEISD::NAME", "\"VEISD::\"", "VEISD::NodeType", "VEISD::FIRST_NUMBER"], "File": "VEISelLowering1", "Func": "getTargetNodeName", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20877, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "emit_memset", "(", "rtx", "destmem", ",", "rtx", "destptr", ",", "rtx", "promoted_val", ",", "HOST_WIDE_INT", "size_to_move", ")", "{", "rtx", "dst", "=", "destmem", ";", "enum", "insn_code", "code", ";", "machine_mode", "move_mode", ";", "int", "piece_size", ",", "i", ";", "move_mode", "=", "GET_MODE", "(", "promoted_val", ")", ";", "if", "(", "move_mode", "==", "VOIDmode", ")", "move_mode", "=", "QImode", ";", "if", "(", "size_to_move", "<", "GET_MODE_SIZE", "(", "move_mode", ")", ")", "{", "unsigned", "int", "move_bits", "=", "size_to_move", "*", "BITS_PER_UNIT", ";", "move_mode", "=", "int_mode_for_size", "(", "move_bits", ",", "0", ")", ".", "require", "(", ")", ";", "promoted_val", "=", "gen_lowpart", "(", "move_mode", ",", "promoted_val", ")", ";", "}", "piece_size", "=", "GET_MODE_SIZE", "(", "move_mode", ")", ";", "code", "=", "optab_handler", "(", "mov_optab", ",", "move_mode", ")", ";", "gcc_assert", "(", "code", "!=", "CODE_FOR_nothing", "&&", "promoted_val", "!=", "NULL_RTX", ")", ";", "dst", "=", "adjust_automodify_address_nv", "(", "dst", ",", "move_mode", ",", "destptr", ",", "0", ")", ";", "gcc_assert", "(", "size_to_move", "%", "piece_size", "==", "0", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "size_to_move", ";", "i", "+=", "piece_size", ")", "{", "if", "(", "piece_size", "<=", "GET_MODE_SIZE", "(", "word_mode", ")", ")", "{", "emit_insn", "(", "gen_strset", "(", "destptr", ",", "dst", ",", "promoted_val", ")", ")", ";", "dst", "=", "adjust_automodify_address_nv", "(", "dst", ",", "move_mode", ",", "destptr", ",", "piece_size", ")", ";", "continue", ";", "}", "emit_insn", "(", "GEN_FCN", "(", "code", ")", "(", "dst", ",", "promoted_val", ")", ")", ";", "emit_move_insn", "(", "destptr", ",", "plus_constant", "(", "Pmode", ",", "copy_rtx", "(", "destptr", ")", ",", "piece_size", ")", ")", ";", "dst", "=", "adjust_automodify_address_nv", "(", "dst", ",", "move_mode", ",", "destptr", ",", "piece_size", ")", ";", "}", "return", "dst", ";", "}", ""], "natrual_language": ["This", "function", "emits", "moves", "to", "fill", "SIZE_TO_MOVE", "bytes", "starting", "from", "DESTMEM", "with", "value", "PROMOTED_VAL", ".", "SRC", "is", "passed", "by", "pointer", "to", "be", "updated", "on", "return", ".", "Return", "value", "is", "updated", "DST", "."], "TS_V_token": ["i386", "0", "0", "0", "0"], "File": "i386-expand", "Func": "emit_memset", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20878, "Length": 242, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Instruction", "*", "PPCTargetLowering", "::", "emitLeadingFence", "(", "IRBuilder", "<", ">", "&", "Builder", ",", "AtomicOrdering", "Ord", ",", "bool", "IsStore", ",", "bool", "IsLoad", ")", "const", "{", "if", "(", "Ord", "==", "SequentiallyConsistent", ")", "return", "callIntrinsic", "(", "Builder", ",", "Intrinsic", "::", "ppc_sync", ")", ";", "else", "if", "(", "isAtLeastRelease", "(", "Ord", ")", ")", "return", "callIntrinsic", "(", "Builder", ",", "Intrinsic", "::", "ppc_lwsync", ")", ";", "else", "return", "nullptr", ";", "}", ""], "natrual_language": ["Custom", "Lower", "{", "."], "TS_V_token": ["PowerPC", "PPC", "Intrinsic::ppc_sync", "Intrinsic::ppc_lwsync"], "File": "PPCISelLowering167", "Func": "emitLeadingFence", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20879, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "csky_spill_class", "(", "reg_class_t", "rclass", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "(", "rclass", "==", "MINI_REGS", "&&", "!", "TARGET_MINI_REGISTERS", ")", "||", "(", "rclass", "==", "LOW_REGS", "&&", "TARGET_HIGH_REGISTERS", ")", ")", "return", "GENERAL_REGS", ";", "return", "NO_REGS", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SPILL_CLASS", ".", "Try", "spilling", "to", "a", "larger", "register", "class", "before", "spilling", "to", "memory", "."], "TS_V_token": ["csky"], "File": "csky", "Func": "csky_spill_class", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20880, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsBranchExpansion", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "TargetMachine", "&", "TM", "=", "MF", ".", "getTarget", "(", ")", ";", "IsPIC", "=", "TM", ".", "isPositionIndependent", "(", ")", ";", "ABI", "=", "static_cast", "<", "const", "MipsTargetMachine", "&", ">", "(", "TM", ")", ".", "getABI", "(", ")", ";", "STI", "=", "&", "static_cast", "<", "const", "MipsSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "TII", "=", "static_cast", "<", "const", "MipsInstrInfo", "*", ">", "(", "STI", "->", "getInstrInfo", "(", ")", ")", ";", "if", "(", "IsPIC", "&&", "ABI", ".", "IsO32", "(", ")", "&&", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", "->", "globalBaseRegSet", "(", ")", ")", "emitGPDisp", "(", "MF", ",", "TII", ")", ";", "MFp", "=", "&", "MF", ";", "ForceLongBranchFirstPass", "=", "ForceLongBranch", ";", "bool", "longBranchChanged", "=", "handlePossibleLongBranch", "(", ")", ";", "bool", "forbiddenSlotChanged", "=", "handleForbiddenSlot", "(", ")", ";", "bool", "fpuDelaySlotChanged", "=", "handleFPUDelaySlot", "(", ")", ";", "bool", "Changed", "=", "longBranchChanged", "||", "forbiddenSlotChanged", "||", "fpuDelaySlotChanged", ";", "while", "(", "forbiddenSlotChanged", ")", "{", "longBranchChanged", "=", "handlePossibleLongBranch", "(", ")", ";", "fpuDelaySlotChanged", "=", "handleFPUDelaySlot", "(", ")", ";", "if", "(", "!", "longBranchChanged", "&&", "!", "fpuDelaySlotChanged", ")", "break", ";", "forbiddenSlotChanged", "=", "handleForbiddenSlot", "(", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsBranchExpansion12", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20881, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "mips_load_label_num_insns", "(", "void", ")", "{", "if", "(", "cfun", "->", "machine", "->", "load_label_num_insns", "==", "0", ")", "{", "mips_process_load_label", "(", "pc_rtx", ")", ";", "cfun", "->", "machine", "->", "load_label_num_insns", "=", "mips_multi_num_insns", ";", "}", "return", "cfun", "->", "machine", "->", "load_label_num_insns", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "needed", "to", "load", "a", "label", "into", "$", "AT", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips_load_label_num_insns", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20882, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_set_default_type_attributes", "(", "tree", "type", ")", "{", "if", "(", "TREE_CODE", "(", "type", ")", "==", "FUNCTION_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "METHOD_TYPE", ")", "{", "tree", "type_attr_list", ",", "attr_name", ";", "type_attr_list", "=", "TYPE_ATTRIBUTES", "(", "type", ")", ";", "if", "(", "arm_pragma_long_calls", "==", "LONG", ")", "attr_name", "=", "get_identifier", "(", "\"long_call\"", ")", ";", "else", "if", "(", "arm_pragma_long_calls", "==", "SHORT", ")", "attr_name", "=", "get_identifier", "(", "\"short_call\"", ")", ";", "else", "return", ";", "type_attr_list", "=", "tree_cons", "(", "attr_name", ",", "NULL_TREE", ",", "type_attr_list", ")", ";", "TYPE_ATTRIBUTES", "(", "type", ")", "=", "type_attr_list", ";", "}", "}", ""], "natrual_language": ["Assigns", "default", "attributes", "to", "newly", "defined", "type", ".", "This", "is", "used", "to", "set", "short_call/long_call", "attributes", "for", "function", "types", "of", "functions", "defined", "inside", "corresponding", "#", "pragma", "scopes", "."], "TS_V_token": ["arm", "\"long_call\"", "\"short_call\""], "File": "arm", "Func": "arm_set_default_type_attributes", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20883, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCAsmPrinter", "::", "PrintSymbolOperand", "(", "const", "MachineOperand", "&", "MO", ",", "raw_ostream", "&", "O", ")", "{", "const", "GlobalValue", "*", "GV", "=", "MO", ".", "getGlobal", "(", ")", ";", "getSymbol", "(", "GV", ")", "->", "print", "(", "O", ",", "MAI", ")", ";", "printOffset", "(", "MO", ".", "getOffset", "(", ")", ",", "O", ")", ";", "}", ""], "natrual_language": ["Print", "the", "MachineOperand", "as", "a", "symbol", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCAsmPrinter (2)3", "Func": "PrintSymbolOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20884, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ia64_legitimate_constant_p", "(", "rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "CONST_INT", ":", "case", "LABEL_REF", ":", "return", "true", ";", "case", "CONST_DOUBLE", ":", "if", "(", "GET_MODE", "(", "x", ")", "==", "VOIDmode", ")", "return", "true", ";", "return", "CONST_DOUBLE_OK_FOR_G", "(", "x", ")", ";", "case", "CONST", ":", "case", "SYMBOL_REF", ":", "return", "tls_symbolic_operand_type", "(", "x", ")", "==", "0", ";", "case", "CONST_VECTOR", ":", "{", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "x", ")", ";", "if", "(", "mode", "==", "V2SFmode", ")", "return", "ia64_extra_constraint", "(", "x", ",", "'Y'", ")", ";", "return", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_INT", "&&", "GET_MODE_SIZE", "(", "mode", ")", "<=", "8", ")", ";", "}", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "constant", "that", "is", "valid", "for", "some", "immediate", "field", "in", "an", "instruction", "."], "TS_V_token": ["ia64", "0", "8"], "File": "ia643", "Func": "ia64_legitimate_constant_p", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20885, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZInstrInfo", "::", "insertSelect", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DstReg", ",", "ArrayRef", "<", "MachineOperand", ">", "Pred", ",", "unsigned", "TrueReg", ",", "unsigned", "FalseReg", ")", "const", "{", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "MRI", ".", "getRegClass", "(", "DstReg", ")", ";", "assert", "(", "Pred", ".", "size", "(", ")", "==", "2", "&&", "\"Invalid condition\"", ")", ";", "unsigned", "CCValid", "=", "Pred", "[", "0", "]", ".", "getImm", "(", ")", ";", "unsigned", "CCMask", "=", "Pred", "[", "1", "]", ".", "getImm", "(", ")", ";", "unsigned", "Opc", ";", "if", "(", "SystemZ", "::", "GRX32BitRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "if", "(", "STI", ".", "hasMiscellaneousExtensions3", "(", ")", ")", "Opc", "=", "SystemZ", "::", "SELRMux", ";", "else", "if", "(", "STI", ".", "hasLoadStoreOnCond2", "(", ")", ")", "Opc", "=", "SystemZ", "::", "LOCRMux", ";", "else", "{", "Opc", "=", "SystemZ", "::", "LOCR", ";", "MRI", ".", "constrainRegClass", "(", "DstReg", ",", "&", "SystemZ", "::", "GR32BitRegClass", ")", ";", "unsigned", "TReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "SystemZ", "::", "GR32BitRegClass", ")", ";", "unsigned", "FReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "SystemZ", "::", "GR32BitRegClass", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "TReg", ")", ".", "addReg", "(", "TrueReg", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "FReg", ")", ".", "addReg", "(", "FalseReg", ")", ";", "TrueReg", "=", "TReg", ";", "FalseReg", "=", "FReg", ";", "}", "}", "else", "if", "(", "SystemZ", "::", "GR64BitRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "if", "(", "STI", ".", "hasMiscellaneousExtensions3", "(", ")", ")", "Opc", "=", "SystemZ", "::", "SELGR", ";", "else", "Opc", "=", "SystemZ", "::", "LOCGR", ";", "}", "else", "llvm_unreachable", "(", "\"Invalid register class\"", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DstReg", ")", ".", "addReg", "(", "FalseReg", ")", ".", "addReg", "(", "TrueReg", ")", ".", "addImm", "(", "CCValid", ")", ".", "addImm", "(", "CCMask", ")", ";", "}", ""], "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": ["SystemZ", "SystemZ", "2", "\"Invalid condition\"", "0", "1", "SystemZ::GRX32BitRegClass", "SystemZ::SELRMux", "SystemZ::LOCRMux", "SystemZ::LOCR", "SystemZ::GR32BitRegClass", "SystemZ::GR32BitRegClass", "SystemZ::GR32BitRegClass", "SystemZ::GR64BitRegClass", "SystemZ::SELGR", "SystemZ::LOCGR", "\"Invalid register class\""], "File": "SystemZInstrInfo61", "Func": "insertSelect", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20886, "Length": 323, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aapcs_vfp_allocate_return_reg", "(", "enum", "arm_pcs", "pcs_variant", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ",", "const_tree", "type", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "!", "use_vfp_abi", "(", "pcs_variant", ",", "false", ")", ")", "return", "NULL", ";", "if", "(", "mode", "==", "BLKmode", "||", "(", "mode", "==", "TImode", "&&", "!", "TARGET_NEON", ")", ")", "{", "int", "count", ";", "machine_mode", "ag_mode", ";", "int", "i", ";", "rtx", "par", ";", "int", "shift", ";", "aapcs_vfp_is_call_or_return_candidate", "(", "pcs_variant", ",", "mode", ",", "type", ",", "&", "ag_mode", ",", "&", "count", ")", ";", "if", "(", "!", "TARGET_NEON", ")", "{", "if", "(", "ag_mode", "==", "V2SImode", ")", "ag_mode", "=", "DImode", ";", "else", "if", "(", "ag_mode", "==", "V4SImode", ")", "{", "ag_mode", "=", "DImode", ";", "count", "*=", "2", ";", "}", "}", "shift", "=", "GET_MODE_SIZE", "(", "ag_mode", ")", "/", "GET_MODE_SIZE", "(", "SFmode", ")", ";", "par", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "rtvec_alloc", "(", "count", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "count", ";", "i", "++", ")", "{", "rtx", "tmp", "=", "gen_rtx_REG", "(", "ag_mode", ",", "FIRST_VFP_REGNUM", "+", "i", "*", "shift", ")", ";", "tmp", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "tmp", ",", "GEN_INT", "(", "i", "*", "GET_MODE_SIZE", "(", "ag_mode", ")", ")", ")", ";", "XVECEXP", "(", "par", ",", "0", ",", "i", ")", "=", "tmp", ";", "}", "return", "par", ";", "}", "return", "gen_rtx_REG", "(", "mode", ",", "FIRST_VFP_REGNUM", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "allocate_return_reg", "field", "in", "aapcs_cp_arg_layout", ".", "See", "the", "comment", "there", "for", "the", "behaviour", "of", "this", "function", "."], "TS_V_token": ["arm", "2", "0", "0"], "File": "arm4", "Func": "aapcs_vfp_allocate_return_reg", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20887, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "rbt_string_node", "*", "rbt_create_node", "(", "struct", "rbt_strings", "*", "t", ",", "char", "*", "str", ")", "{", "struct", "rbt_string_node", "*", "nodeptr", "=", "(", "struct", "rbt_string_node", "*", ")", "malloc", "(", "sizeof", "(", "rbt_string_node", ")", ")", ";", "nodeptr", "->", "str", "=", "str", ";", "nodeptr", "->", "left", "=", "t", "->", "rbt_nil", ";", "nodeptr", "->", "right", "=", "t", "->", "rbt_nil", ";", "nodeptr", "->", "par", "=", "NULL", ";", "nodeptr", "->", "color", "=", "RBT_RED", ";", "return", "nodeptr", ";", "}", ""], "natrual_language": ["Create", "a", "new", "node", "to", "be", "inserted", "into", "the", "red-black", "tree", ".", "An", "inserted", "node", "starts", "out", "red", "."], "TS_V_token": ["rs6000"], "File": "rbtree", "Func": "rbt_create_node", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20888, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachinePointerInfo", "MipsFunctionInfo", "::", "callPtrInfo", "(", "StringRef", "Name", ")", "{", "const", "MipsCallEntry", "*", "&", "E", "=", "ExternalCallEntries", "[", "Name", "]", ";", "if", "(", "!", "E", ")", "E", "=", "new", "MipsCallEntry", "(", "Name", ")", ";", "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": "MipsMachineFunction14", "Func": "callPtrInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20889, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalNTLoad", "(", "Type", "*", "DataType", ",", "unsigned", "Alignment", ")", "{", "unsigned", "DataSize", "=", "DL", ".", "getTypeStoreSize", "(", "DataType", ")", ";", "if", "(", "Alignment", ">=", "DataSize", "&&", "(", "DataSize", "==", "16", "||", "DataSize", "==", "32", ")", ")", "return", "DataSize", "==", "16", "?", "ST", "->", "hasSSE1", "(", ")", ":", "ST", "->", "hasAVX2", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "nontemporal", "load", "."], "TS_V_token": ["X86", "X86", "16", "32", "16"], "File": "X86TargetTransformInfo104", "Func": "isLegalNTLoad", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20890, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseTargetMachine", "::", "addPreRegAlloc", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "if", "(", "Subtarget", ".", "hasNEON", "(", ")", ")", "PM", ".", "add", "(", "createNEONPreAllocPass", "(", ")", ")", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "!", "Subtarget", ".", "isThumb1Only", "(", ")", ")", "PM", ".", "add", "(", "createARMLoadStoreOptimizationPass", "(", "true", ")", ")", ";", "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"], "File": "ARMTargetMachine23", "Func": "addPreRegAlloc", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20891, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "reg_unused_after", "(", "rtx", "reg", ",", "rtx_insn", "*", "insn", ")", "{", "enum", "rtx_code", "code", ";", "rtx", "set", ";", "set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "set", "&&", "!", "MEM_P", "(", "SET_DEST", "(", "set", ")", ")", "&&", "reg_overlap_mentioned_p", "(", "reg", ",", "SET_DEST", "(", "set", ")", ")", ")", "return", "true", ";", "while", "(", "(", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", ")", "{", "rtx", "set", ";", "if", "(", "!", "INSN_P", "(", "insn", ")", ")", "continue", ";", "code", "=", "GET_CODE", "(", "insn", ")", ";", "if", "(", "code", "==", "CODE_LABEL", ")", "return", "1", ";", "if", "(", "code", "==", "JUMP_INSN", ")", "return", "false", ";", "else", "if", "(", "code", "==", "INSN", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "SEQUENCE", ")", "{", "rtx_sequence", "*", "seq", "=", "as_a", "<", "rtx_sequence", "*", ">", "(", "PATTERN", "(", "insn", ")", ")", ";", "int", "i", ";", "int", "retval", "=", "0", ";", "for", "(", "i", "=", "0", ";", "i", "<", "seq", "->", "len", "(", ")", ";", "i", "++", ")", "{", "rtx_insn", "*", "this_insn", "=", "seq", "->", "insn", "(", "i", ")", ";", "rtx", "set", "=", "single_set", "(", "this_insn", ")", ";", "if", "(", "CALL_P", "(", "this_insn", ")", ")", "code", "=", "CALL_INSN", ";", "else", "if", "(", "JUMP_P", "(", "this_insn", ")", ")", "{", "if", "(", "INSN_ANNULLED_BRANCH_P", "(", "this_insn", ")", ")", "return", "false", ";", "code", "=", "JUMP_INSN", ";", "}", "if", "(", "set", "&&", "reg_overlap_mentioned_p", "(", "reg", ",", "SET_SRC", "(", "set", ")", ")", ")", "return", "false", ";", "if", "(", "set", "&&", "reg_overlap_mentioned_p", "(", "reg", ",", "SET_DEST", "(", "set", ")", ")", ")", "{", "if", "(", "!", "MEM_P", "(", "SET_DEST", "(", "set", ")", ")", ")", "retval", "=", "true", ";", "else", "return", "false", ";", "}", "if", "(", "set", "==", "NULL_RTX", "&&", "reg_overlap_mentioned_p", "(", "reg", ",", "PATTERN", "(", "this_insn", ")", ")", ")", "return", "false", ";", "}", "if", "(", "retval", "==", "1", ")", "return", "true", ";", "else", "if", "(", "code", "==", "JUMP_INSN", ")", "return", "false", ";", "}", "set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "set", "&&", "reg_overlap_mentioned_p", "(", "reg", ",", "SET_SRC", "(", "set", ")", ")", ")", "return", "false", ";", "if", "(", "set", "&&", "reg_overlap_mentioned_p", "(", "reg", ",", "SET_DEST", "(", "set", ")", ")", ")", "return", "!", "MEM_P", "(", "SET_DEST", "(", "set", ")", ")", ";", "if", "(", "set", "==", "0", "&&", "reg_overlap_mentioned_p", "(", "reg", ",", "PATTERN", "(", "insn", ")", ")", ")", "return", "false", ";", "if", "(", "code", "==", "CALL_INSN", "&&", "call_really_used_regs", "[", "REGNO", "(", "reg", ")", "]", ")", "return", "true", ";", "}", "return", "true", ";", "}", ""], "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": ["sh", "1", "0", "0", "1", "0"], "File": "sh4", "Func": "reg_unused_after", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20892, "Length": 396, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "switch", "(", "Kind", ")", "{", "case", "k_Immediate", ":", "OS", "<<", "\"Imm<\"", ";", "OS", "<<", "*", "Imm", ".", "Val", ";", "OS", "<<", "\">\"", ";", "break", ";", "case", "k_Memory", ":", "OS", "<<", "\"Mem<\"", ";", "Mem", ".", "Base", "->", "print", "(", "OS", ")", ";", "OS", "<<", "\", \"", ";", "OS", "<<", "*", "Mem", ".", "Off", ";", "OS", "<<", "\">\"", ";", "break", ";", "case", "k_PhysRegister", ":", "OS", "<<", "\"PhysReg<\"", "<<", "PhysReg", ".", "Num", "<<", "\">\"", ";", "break", ";", "case", "k_RegisterIndex", ":", "OS", "<<", "\"RegIdx<\"", "<<", "RegIdx", ".", "Index", "<<", "\":\"", "<<", "RegIdx", ".", "Kind", "<<", "\">\"", ";", "break", ";", "case", "k_Token", ":", "OS", "<<", "Tok", ".", "Data", ";", "break", ";", "case", "k_RegList", ":", "OS", "<<", "\"RegList< \"", ";", "for", "(", "auto", "Reg", ":", "(", "*", "RegList", ".", "List", ")", ")", "OS", "<<", "Reg", "<<", "\" \"", ";", "OS", "<<", "\">\"", ";", "break", ";", "case", "k_RegPair", ":", "OS", "<<", "\"RegPair<\"", "<<", "RegIdx", ".", "Index", "<<", "\",\"", "<<", "RegIdx", ".", "Index", "+", "1", "<<", "\">\"", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["Mips", "\"Imm<\"", "\">\"", "\"Mem<\"", "\", \"", "\">\"", "\"PhysReg<\"", "\">\"", "\"RegIdx<\"", "\":\"", "\">\"", "\"RegList< \"", "\" \"", "\">\"", "\"RegPair<\"", "\",\"", "1", "\">\""], "File": "MipsAsmParser", "Func": "print", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20893, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "OR1KDisassembler", "::", "getInstruction", "(", "MCInst", "&", "Instr", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "vStream", ",", "raw_ostream", "&", "cStream", ")", "const", "{", "uint32_t", "Insn", ";", "DecodeStatus", "Result", "=", "readInstruction32", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn", ")", ";", "if", "(", "Result", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "Result", "=", "decodeInstruction", "(", "DecoderTableOR1K32", ",", "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": ["OR1K", "OR1K", "OR1K", "4"], "File": "OR1KDisassembler1", "Func": "getInstruction", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20894, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb2SizeReduce", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "TargetMachine", "&", "TM", "=", "MF", ".", "getTarget", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "Thumb2InstrInfo", "*", ">", "(", "TM", ".", "getInstrInfo", "(", ")", ")", ";", "STI", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "AttributeSet", "FnAttrs", "=", "MF", ".", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ";", "OptimizeSize", "=", "FnAttrs", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "OptimizeForSize", ")", ";", "MinimizeSize", "=", "FnAttrs", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "MinSize", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Modified", "|=", "ReduceMBB", "(", "*", "I", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM"], "File": "Thumb2SizeReduction24", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20895, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "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", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "return", "false", ";", "bool", "HasRet", "=", "false", ";", "for", "(", "SDNode", "::", "use_iterator", "UI", "=", "Copy", "->", "use_begin", "(", ")", ",", "UE", "=", "Copy", "->", "use_end", "(", ")", ";", "UI", "!=", "UE", ";", "++", "UI", ")", "{", "if", "(", "UI", "->", "getOpcode", "(", ")", "!=", "X86ISD", "::", "RET_FLAG", ")", "return", "false", ";", "if", "(", "UI", "->", "getNumOperands", "(", ")", ">", "4", ")", "return", "false", ";", "if", "(", "UI", "->", "getNumOperands", "(", ")", "==", "4", "&&", "UI", "->", "getOperand", "(", "UI", "->", "getNumOperands", "(", ")", "-", "1", ")", ".", "getValueType", "(", ")", "!=", "MVT", "::", "Glue", ")", "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": ["X86", "X86", "1", "1", "0", "ISD::CopyToReg", "1", "MVT::Glue", "0", "ISD::FP_EXTEND", "X86ISD::RET_FLAG", "4", "4", "1", "MVT::Glue"], "File": "X86ISelLowering (2)3", "Func": "isUsedByReturnOnly", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20896, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasFP", "(", "const", "MachineFunction", "&", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["Cpu0"], "File": "Cpu0FrameLowering3", "Func": "hasFP", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20897, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{", "return", "createMipsELFObjectWriter", "(", "OS", ",", "true", ",", "OSABI", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsAsmBackend43", "Func": "createObjectWriter", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20898, "Length": 21, "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": 20899, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "{", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["X86"], "File": "X86AsmParser (2)2", "Func": "print", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20900, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "getHashValue", "(", "const", "CSKYTargetStreamer", "::", "SymbolIndex", "&", "V", ")", "{", "return", "hash_combine", "(", "DenseMapInfo", "<", "const", "MCSymbol", "*", ">", "::", "getHashValue", "(", "V", ".", "sym", ")", ",", "DenseMapInfo", "<", "int", ">", "::", "getHashValue", "(", "V", ".", "kind", ")", ")", ";", "}", ""], "natrual_language": ["Using", "name", "and", "line", "to", "get", "hash", "value", ".", "It", "should", "already", "be", "mostly", "unique", "."], "TS_V_token": ["CSKY", "CSKY"], "File": "CSKYTargetStreamer", "Func": "getHashValue", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20901, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "func_fma_steering", "::", "rename_fma_trees", "(", ")", "{", "this", "->", "dfs", "(", "dispatch_forest", ",", "NULL", ",", "rename_fma_node", ",", "true", ")", ";", "if", "(", "dump_file", "&&", "!", "this", "->", "m_fma_forests", ".", "empty", "(", ")", ")", "{", "fprintf", "(", "dump_file", ",", "\"Function %s has \"", ",", "current_function_name", "(", ")", ")", ";", "if", "(", "this", "->", "m_fpu_balance", "==", "0", ")", "fprintf", "(", "dump_file", ",", "\"perfect balance of FMUL/FMA chains between the \"", "\"two FPU pipelines\\n\"", ")", ";", "else", "if", "(", "this", "->", "m_fpu_balance", ">", "0", ")", "fprintf", "(", "dump_file", ",", "\"%d more FMUL/FMA chains scheduled on the second \"", "\"FPU pipeline\\n\"", ",", "this", "->", "m_fpu_balance", ")", ";", "else", "fprintf", "(", "dump_file", ",", "\"%d more FMUL/FMA chains scheduled on the first \"", "\"FPU pipeline\\n\"", ",", "-", "this", "->", "m_fpu_balance", ")", ";", "}", "}", ""], "natrual_language": ["Perform", "the", "renaming", "of", "all", "chains", "with", "FMUL", "or", "FMADD/FMSUB", "involved", "with", "the", "objective", "of", "keeping", "FPU", "pipeline", "balanced", "in", "term", "of", "instructions", "and", "having", "FMADD/FMSUB", "with", "dependencies", "on", "previous", "FMUL", "or", "FMADD/FMSUB", "be", "scheduled", "on", "the", "same", "pipeline", "."], "TS_V_token": ["aarch64", "\"Function %s has \"", "0", "\"perfect balance of FMUL/FMA chains between the \"", "\"two FPU pipelines\\n\"", "0", "\"%d more FMUL/FMA chains scheduled on the second \"", "\"FPU pipeline\\n\"", "\"%d more FMUL/FMA chains scheduled on the first \"", "\"FPU pipeline\\n\""], "File": "cortex-a57-fma-steering", "Func": "rename_fma_trees", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20902, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "RegisterBankInfo", "::", "InstructionMappings", "X86RegisterBankInfo", "::", "getInstrAlternativeMappings", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "TargetSubtargetInfo", "&", "STI", "=", "MF", ".", "getSubtarget", "(", ")", ";", "const", "TargetRegisterInfo", "&", "TRI", "=", "*", "STI", ".", "getRegisterInfo", "(", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "TargetOpcode", "::", "G_LOAD", ":", "case", "TargetOpcode", "::", "G_STORE", ":", "{", "unsigned", "Size", "=", "getSizeInBits", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "MRI", ",", "TRI", ")", ";", "if", "(", "Size", "!=", "32", "&&", "Size", "!=", "64", ")", "break", ";", "unsigned", "NumOperands", "=", "MI", ".", "getNumOperands", "(", ")", ";", "SmallVector", "<", "PartialMappingIdx", ",", "4", ">", "OpRegBankIdx", "(", "NumOperands", ")", ";", "getInstrPartialMappingIdxs", "(", "MI", ",", "MRI", ",", "true", ",", "OpRegBankIdx", ")", ";", "SmallVector", "<", "const", "ValueMapping", "*", ",", "8", ">", "OpdsMapping", "(", "NumOperands", ")", ";", "if", "(", "!", "getInstrValueMapping", "(", "MI", ",", "OpRegBankIdx", ",", "OpdsMapping", ")", ")", "break", ";", "const", "RegisterBankInfo", "::", "InstructionMapping", "&", "Mapping", "=", "getInstructionMapping", "(", "1", ",", "1", ",", "getOperandsMapping", "(", "OpdsMapping", ")", ",", "NumOperands", ")", ";", "InstructionMappings", "AltMappings", ";", "AltMappings", ".", "push_back", "(", "&", "Mapping", ")", ";", "return", "AltMappings", ";", "}", "default", ":", "break", ";", "}", "return", "RegisterBankInfo", "::", "getInstrAlternativeMappings", "(", "MI", ")", ";", "}", ""], "natrual_language": ["Get", "the", "alternative", "mappings", "for", "MI", "."], "TS_V_token": ["X86", "X86", "0", "32", "64", "4", "8", "1", "1"], "File": "X86RegisterBankInfo17", "Func": "getInstrAlternativeMappings", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20903, "Length": 225, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARM64InstPrinter", "::", "printImplicitlyTypedVectorList", "(", "const", "MCInst", "*", "MI", ",", "unsigned", "OpNum", ",", "raw_ostream", "&", "O", ")", "{", "printVectorList", "(", "MI", ",", "OpNum", ",", "O", ",", "\"\"", ")", ";", "}", ""], "natrual_language": ["Print", "a", "list", "of", "vector", "registers", "where", "the", "type", "suffix", "is", "implicit", "(", "i.e", "."], "TS_V_token": ["ARM64", "ARM64", "\"\""], "File": "ARM64InstPrinter", "Func": "printImplicitlyTypedVectorList", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20904, "Length": 30, "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": 20905, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_agi_dependent", "(", "rtx_insn", "*", "set_insn", ",", "rtx_insn", "*", "use_insn", ")", "{", "int", "i", ";", "extract_insn_cached", "(", "use_insn", ")", ";", "for", "(", "i", "=", "recog_data", ".", "n_operands", "-", "1", ";", "i", ">=", "0", ";", "--", "i", ")", "if", "(", "MEM_P", "(", "recog_data", ".", "operand", "[", "i", "]", ")", ")", "{", "rtx", "addr", "=", "XEXP", "(", "recog_data", ".", "operand", "[", "i", "]", ",", "0", ")", ";", "if", "(", "modified_in_p", "(", "addr", ",", "set_insn", ")", "!=", "0", ")", "{", "rtx", "set", "=", "single_set", "(", "set_insn", ")", ";", "if", "(", "set", "&&", "(", "push_operand", "(", "SET_DEST", "(", "set", ")", ",", "GET_MODE", "(", "SET_DEST", "(", "set", ")", ")", ")", "||", "pop_operand", "(", "SET_SRC", "(", "set", ")", ",", "GET_MODE", "(", "SET_SRC", "(", "set", ")", ")", ")", ")", ")", "{", "struct", "ix86_address", "parts", ";", "if", "(", "ix86_decompose_address", "(", "addr", ",", "&", "parts", ")", "&&", "parts", ".", "base", "==", "stack_pointer_rtx", "&&", "(", "parts", ".", "index", "==", "NULL_RTX", "||", "MEM_P", "(", "SET_DEST", "(", "set", ")", ")", "||", "!", "modified_in_p", "(", "parts", ".", "index", ",", "set_insn", ")", ")", ")", "return", "false", ";", "}", "return", "true", ";", "}", "return", "false", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "iff", "USE_INSN", "has", "a", "memory", "address", "with", "operands", "set", "by", "SET_INSN", "."], "TS_V_token": ["i386", "1", "0", "0", "0"], "File": "x86-tune-sched", "Func": "ix86_agi_dependent", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20906, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_finish_function_arg", "(", "machine_mode", "mode", ",", "rtx", "*", "rvec", ",", "int", "k", ")", "{", "gcc_assert", "(", "k", ">=", "1", ")", ";", "if", "(", "k", "==", "1", ")", "{", "if", "(", "XEXP", "(", "rvec", "[", "0", "]", ",", "0", ")", "==", "NULL_RTX", ")", "return", "NULL_RTX", ";", "if", "(", "GET_MODE", "(", "XEXP", "(", "rvec", "[", "0", "]", ",", "0", ")", ")", "==", "mode", ")", "return", "XEXP", "(", "rvec", "[", "0", "]", ",", "0", ")", ";", "}", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec_v", "(", "k", ",", "rvec", ")", ")", ";", "}", ""], "natrual_language": ["RVEC", "is", "a", "vector", "of", "K", "components", "of", "an", "argument", "of", "mode", "MODE", ".", "Construct", "the", "final", "function_arg", "return", "value", "from", "it", "."], "TS_V_token": ["powerpcspe", "1", "1", "0", "0", "0", "0", "0", "0"], "File": "powerpcspe", "Func": "rs6000_finish_function_arg", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20907, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "KudeyarTargetLowering", "::", "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_Kudeyar", ")", ";", "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": ["Kudeyar", "Kudeyar", "ISD::InputArg", "16", "Kudeyar", "0", "1", "2", "0"], "File": "KudeyarISelLowering", "Func": "LowerCallResult", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20908, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_legitimate_constant_p", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ")", "{", "return", "mips_const_insns", "(", "x", ")", ">", "0", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LEGITIMATE_CONSTANT_P", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips_legitimate_constant_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20909, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "poly_int64", "ix86_return_pops_args", "(", "tree", "fundecl", ",", "tree", "funtype", ",", "poly_int64", "size", ")", "{", "unsigned", "int", "ccvt", ";", "if", "(", "TARGET_64BIT", ")", "return", "0", ";", "ccvt", "=", "ix86_get_callcvt", "(", "funtype", ")", ";", "if", "(", "(", "ccvt", "&", "(", "IX86_CALLCVT_STDCALL", "|", "IX86_CALLCVT_FASTCALL", "|", "IX86_CALLCVT_THISCALL", ")", ")", "!=", "0", "&&", "!", "stdarg_p", "(", "funtype", ")", ")", "return", "size", ";", "if", "(", "aggregate_value_p", "(", "TREE_TYPE", "(", "funtype", ")", ",", "fundecl", ")", "&&", "!", "ix86_keep_aggregate_return_pointer", "(", "funtype", ")", ")", "{", "int", "nregs", "=", "ix86_function_regparm", "(", "funtype", ",", "fundecl", ")", ";", "if", "(", "nregs", "==", "0", ")", "return", "GET_MODE_SIZE", "(", "Pmode", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Value", "is", "the", "number", "of", "bytes", "of", "arguments", "automatically", "popped", "when", "returning", "from", "a", "subroutine", "call", ".", "FUNDECL", "is", "the", "declaration", "node", "of", "the", "function", "(", "as", "a", "tree", ")", ",", "FUNTYPE", "is", "the", "data", "type", "of", "the", "function", "(", "as", "a", "tree", ")", ",", "or", "for", "a", "library", "call", "it", "is", "an", "identifier", "node", "for", "the", "subroutine", "name", ".", "SIZE", "is", "the", "number", "of", "bytes", "of", "arguments", "passed", "on", "the", "stack", ".", "On", "the", "80386", ",", "the", "RTD", "insn", "may", "be", "used", "to", "pop", "them", "if", "the", "number", "of", "args", "is", "fixed", ",", "but", "if", "the", "number", "is", "variable", "then", "the", "caller", "must", "pop", "them", "all", ".", "RTD", "ca", "n't", "be", "used", "for", "library", "calls", "now", "because", "the", "library", "is", "compiled", "with", "the", "Unix", "compiler", ".", "Use", "of", "RTD", "is", "a", "selectable", "option", ",", "since", "it", "is", "incompatible", "with", "standard", "Unix", "calling", "sequences", ".", "If", "the", "option", "is", "not", "selected", ",", "the", "caller", "must", "always", "pop", "the", "args", ".", "The", "attribute", "stdcall", "is", "equivalent", "to", "RTD", "on", "a", "per", "module", "basis", "."], "TS_V_token": ["i386", "0", "0", "0", "0"], "File": "i386", "Func": "ix86_return_pops_args", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20910, "Length": 103, "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": 20911, "Length": 337, "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": 20912, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rx_in_small_data", "(", "const_tree", "decl", ")", "{", "int", "size", ";", "const", "char", "*", "section", ";", "if", "(", "rx_small_data_limit", "==", "0", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "decl", ")", "!=", "VAR_DECL", ")", "return", "false", ";", "if", "(", "TREE_READONLY", "(", "decl", ")", "||", "DECL_COMMON", "(", "decl", ")", ")", "return", "false", ";", "section", "=", "DECL_SECTION_NAME", "(", "decl", ")", ";", "if", "(", "section", ")", "return", "(", "strcmp", "(", "section", ",", "\"D_2\"", ")", "==", "0", ")", "||", "(", "strcmp", "(", "section", ",", "\"B_2\"", ")", "==", "0", ")", ";", "size", "=", "int_size_in_bytes", "(", "TREE_TYPE", "(", "decl", ")", ")", ";", "return", "(", "size", ">", "0", ")", "&&", "(", "size", "<=", "rx_small_data_limit", ")", ";", "}", ""], "natrual_language": ["Decide", "if", "a", "variable", "should", "go", "into", "one", "of", "the", "small", "data", "sections", "."], "TS_V_token": ["rx", "0", "\"D_2\"", "0", "\"B_2\"", "0", "0"], "File": "rx", "Func": "rx_in_small_data", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20913, "Length": 110, "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", "*", "insn", ")", "{", "static", "char", "string", "[", "64", "]", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "op", ")", ";", "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", ",", "(", "(", "XINT", "(", "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": "sparc4", "Func": "output_v9branch", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20914, "Length": 453, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMFrameLowering", "::", "keepFramePointer", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "useFastISel", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "wants", "to", "keep", "the", "frame", "pointer", "regardless", "of", "the", "function", "attribute", "``", "frame-pointer", "''", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMFrameLowering100", "Func": "keepFramePointer", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20915, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_mode_rep_extended", "(", "machine_mode", "mode", ",", "machine_mode", "mode_rep", ")", "{", "if", "(", "TARGET_64BIT", "&&", "mode", "==", "SImode", "&&", "mode_rep", "==", "DImode", ")", "return", "SIGN_EXTEND", ";", "return", "UNKNOWN", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MODE_REP_EXTENDED", "."], "TS_V_token": ["mips"], "File": "mips4", "Func": "mips_mode_rep_extended", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20916, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "dump_forest_info", "(", "fma_forest", "*", "forest", ")", "{", "forest", "->", "dump_info", "(", ")", ";", "}", ""], "natrual_language": ["Wrapper", "around", "fma_forest", ":", ":dump_info", "for", "use", "as", "parameter", "of", "function", "pointer", "type", "in", "func_fma_steering", ":", ":dfs", "."], "TS_V_token": ["aarch64"], "File": "cortex-a57-fma-steering", "Func": "dump_forest_info", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20917, "Length": 16, "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", ")", "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": "sparc4", "Func": "sparc32_initialize_trampoline", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20918, "Length": 300, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmPrinter", "::", "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", ")", "{", "if", "(", "ExtraCode", "[", "0", "]", "==", "'D'", ")", "Offset", "+=", "4", ";", "else", "return", "true", ";", "}", "O", "<<", "Offset", "<<", "\"($\"", "<<", "MipsInstPrinter", "::", "getRegisterName", "(", "BaseMO", ".", "getReg", "(", ")", ")", "<<", "\")\"", ";", "return", "false", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "."], "TS_V_token": ["Mips", "Mips", "1", "\"Insufficient operands\"", "1", "\"Unexpected base pointer for inline asm memory operand.\"", "\"Unexpected offset for inline asm memory operand.\"", "0", "4", "\"($\"", "Mips", "\")\""], "File": "MipsAsmPrinter1", "Func": "PrintAsmMemoryOperand", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20919, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "function_value_32", "(", "machine_mode", "orig_mode", ",", "machine_mode", "mode", ",", "const_tree", "fntype", ",", "const_tree", "fn", ")", "{", "unsigned", "int", "regno", ";", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "==", "8", ")", "regno", "=", "FIRST_MMX_REG", ";", "else", "if", "(", "mode", "==", "TImode", "||", "(", "VECTOR_MODE_P", "(", "mode", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "==", "16", ")", ")", "regno", "=", "FIRST_SSE_REG", ";", "else", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "==", "32", ")", "regno", "=", "FIRST_SSE_REG", ";", "else", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "==", "64", ")", "regno", "=", "FIRST_SSE_REG", ";", "else", "if", "(", "X87_FLOAT_MODE_P", "(", "mode", ")", "&&", "TARGET_FLOAT_RETURNS_IN_80387", ")", "regno", "=", "FIRST_FLOAT_REG", ";", "else", "regno", "=", "AX_REG", ";", "if", "(", "mode", "==", "HFmode", ")", "regno", "=", "FIRST_SSE_REG", ";", "if", "(", "mode", "==", "HCmode", ")", "{", "rtx", "ret", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "rtvec_alloc", "(", "1", ")", ")", ";", "XVECEXP", "(", "ret", ",", "0", ",", "0", ")", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "SImode", ",", "FIRST_SSE_REG", ")", ",", "GEN_INT", "(", "0", ")", ")", ";", "return", "ret", ";", "}", "if", "(", "(", "fn", "||", "fntype", ")", "&&", "(", "mode", "==", "SFmode", "||", "mode", "==", "DFmode", ")", ")", "{", "int", "sse_level", "=", "ix86_function_sseregparm", "(", "fntype", ",", "fn", ",", "false", ")", ";", "if", "(", "sse_level", "==", "-", "1", ")", "{", "error", "(", "\"calling %qD with SSE calling convention without \"", "\"SSE/SSE2 enabled\"", ",", "fn", ")", ";", "sorry", "(", "\"this is a GCC bug that can be worked around by adding \"", "\"attribute used to function called\"", ")", ";", "}", "else", "if", "(", "(", "sse_level", ">=", "1", "&&", "mode", "==", "SFmode", ")", "||", "(", "sse_level", "==", "2", "&&", "mode", "==", "DFmode", ")", ")", "regno", "=", "FIRST_SSE_REG", ";", "}", "gcc_assert", "(", "mode", "!=", "OImode", ")", ";", "return", "gen_rtx_REG", "(", "orig_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", "."], "TS_V_token": ["i386", "8", "16", "32", "64", "1", "0", "0", "0", "1", "\"calling %qD with SSE calling convention without \"", "\"SSE/SSE2 enabled\"", "\"this is a GCC bug that can be worked around by adding \"", "\"attribute used to function called\"", "1", "2"], "File": "i386", "Func": "function_value_32", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20920, "Length": 279, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_xcoff_asm_output_aligned_decl_common", "(", "FILE", "*", "stream", ",", "tree", "decl", "ATTRIBUTE_UNUSED", ",", "const", "char", "*", "name", ",", "unsigned", "HOST_WIDE_INT", "size", ",", "unsigned", "HOST_WIDE_INT", "align", ")", "{", "unsigned", "HOST_WIDE_INT", "align2", "=", "2", ";", "if", "(", "align", ">", "32", ")", "align2", "=", "floor_log2", "(", "align", "/", "BITS_PER_UNIT", ")", ";", "else", "if", "(", "size", ">", "4", ")", "align2", "=", "3", ";", "fputs", "(", "COMMON_ASM_OP", ",", "stream", ")", ";", "RS6000_OUTPUT_BASENAME", "(", "stream", ",", "name", ")", ";", "fprintf", "(", "stream", ",", "\",\"", "HOST_WIDE_INT_PRINT_UNSIGNED", "\",\"", "HOST_WIDE_INT_PRINT_UNSIGNED", ",", "size", ",", "align2", ")", ";", "fputs", "(", "rs6000_xcoff_visibility", "(", "decl", ")", ",", "stream", ")", ";", "putc", "(", "'\\n'", ",", "stream", ")", ";", "}", ""], "natrual_language": ["Output", "assembly", "language", "to", "define", "a", "symbol", "as", "COMMON", "from", "a", "DECL", ",", "possibly", "with", "visibility", "."], "TS_V_token": ["powerpcspe", "2", "32", "4", "3", "\",\"", "\",\""], "File": "powerpcspe", "Func": "rs6000_xcoff_asm_output_aligned_decl_common", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20921, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "check", "(", "function_checker", "&", "c", ")", "const", "override", "{", "return", "c", ".", "require_immediate_range", "(", "2", ",", "0", ",", "7", ")", ";", "}", ""], "natrual_language": ["Perform", "semantic", "checks", "on", "the", "call", ".", "Return", "true", "if", "the", "call", "is", "valid", ",", "otherwise", "report", "a", "suitable", "error", "."], "TS_V_token": ["aarch64", "2", "0", "7"], "File": "aarch64-sve-builtins-shapes3", "Func": "check", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20922, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "pa_output_ascii", "(", "FILE", "*", "file", ",", "const", "char", "*", "p", ",", "int", "size", ")", "{", "int", "i", ";", "int", "chars_output", ";", "unsigned", "char", "partial_output", "[", "16", "]", ";", "fputs", "(", "\"\\t.STRING \\\"\"", ",", "file", ")", ";", "chars_output", "=", "0", ";", "for", "(", "i", "=", "0", ";", "i", "<", "size", ";", "i", "+=", "4", ")", "{", "int", "co", "=", "0", ";", "int", "io", "=", "0", ";", "for", "(", "io", "=", "0", ",", "co", "=", "0", ";", "io", "<", "MIN", "(", "4", ",", "size", "-", "i", ")", ";", "io", "++", ")", "{", "unsigned", "int", "c", "=", "(", "unsigned", "char", ")", "p", "[", "i", "+", "io", "]", ";", "if", "(", "c", "==", "'\\\"'", "||", "c", "==", "'\\\\'", ")", "partial_output", "[", "co", "++", "]", "=", "'\\\\'", ";", "if", "(", "c", ">=", "' '", "&&", "c", "<", "0177", ")", "partial_output", "[", "co", "++", "]", "=", "c", ";", "else", "{", "unsigned", "int", "hexd", ";", "partial_output", "[", "co", "++", "]", "=", "'\\\\'", ";", "partial_output", "[", "co", "++", "]", "=", "'x'", ";", "hexd", "=", "c", "/", "16", "-", "0", "+", "'0'", ";", "if", "(", "hexd", ">", "'9'", ")", "hexd", "-=", "'9'", "-", "'a'", "+", "1", ";", "partial_output", "[", "co", "++", "]", "=", "hexd", ";", "hexd", "=", "c", "%", "16", "-", "0", "+", "'0'", ";", "if", "(", "hexd", ">", "'9'", ")", "hexd", "-=", "'9'", "-", "'a'", "+", "1", ";", "partial_output", "[", "co", "++", "]", "=", "hexd", ";", "}", "}", "if", "(", "chars_output", "+", "co", ">", "243", ")", "{", "fputs", "(", "\"\\\"\\n\\t.STRING \\\"\"", ",", "file", ")", ";", "chars_output", "=", "0", ";", "}", "fwrite", "(", "partial_output", ",", "1", ",", "(", "size_t", ")", "co", ",", "file", ")", ";", "chars_output", "+=", "co", ";", "co", "=", "0", ";", "}", "fputs", "(", "\"\\\"\\n\"", ",", "file", ")", ";", "}", ""], "natrual_language": ["Output", "an", "ascii", "string", "."], "TS_V_token": ["pa", "16", "\"\\t.STRING \\\"\"", "0", "0", "4", "0", "0", "0", "0", "4", "0177", "16", "0", "1", "16", "0", "1", "243", "\"\\\"\\n\\t.STRING \\\"\"", "0", "1", "0", "\"\\\"\\n\""], "File": "pa", "Func": "pa_output_ascii", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20923, "Length": 281, "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": 20924, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isDesirableToTransformToIntegerOp", "(", "unsigned", "Opc", ",", "EVT", "VT", ")", "const", "{", "return", "(", "VT", "==", "MVT", "::", "f32", ")", "&&", "(", "Opc", "==", "ISD", "::", "LOAD", "||", "Opc", "==", "ISD", "::", "STORE", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "profitable", "for", "dag", "combiner", "to", "transform", "a", "floating", "point", "op", "of", "specified", "opcode", "to", "a", "equivalent", "op", "of", "an", "integer", "type", "."], "TS_V_token": ["ARM", "ARM", "MVT::f32", "ISD::LOAD", "ISD::STORE"], "File": "ARMISelLowering (2)", "Func": "isDesirableToTransformToIntegerOp", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20925, "Length": 37, "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", ".", "CreateCall3", "(", "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", ".", "CreateCall2", "(", "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)3", "Func": "emitStoreConditional", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20926, "Length": 272, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rx_function_arg", "(", "cumulative_args_t", "cum", ",", "const", "function_arg_info", "&", "arg", ")", "{", "unsigned", "int", "next_reg", ";", "unsigned", "int", "bytes_so_far", "=", "*", "get_cumulative_args", "(", "cum", ")", ";", "unsigned", "int", "size", ";", "unsigned", "int", "rounded_size", ";", "size", "=", "arg", ".", "promoted_size_in_bytes", "(", ")", ";", "if", "(", "size", "<", "1", ")", "return", "NULL_RTX", ";", "rounded_size", "=", "rx_round_up", "(", "size", ",", "UNITS_PER_WORD", ")", ";", "if", "(", "rounded_size", "+", "bytes_so_far", ">", "MAX_NUM_ARG_BYTES", ")", "return", "NULL_RTX", ";", "if", "(", "!", "arg", ".", "named", ")", "return", "NULL_RTX", ";", "if", "(", "(", "arg", ".", "type", "==", "NULL", "||", "AGGREGATE_TYPE_P", "(", "arg", ".", "type", ")", ")", "&&", "(", "size", "%", "UNITS_PER_WORD", ")", "!=", "0", ")", "return", "NULL_RTX", ";", "next_reg", "=", "(", "bytes_so_far", "/", "UNITS_PER_WORD", ")", "+", "1", ";", "return", "gen_rtx_REG", "(", "arg", ".", "mode", ",", "next_reg", ")", ";", "}", ""], "natrual_language": ["Return", "an", "RTL", "expression", "describing", "the", "register", "holding", "a", "function", "parameter", "of", "mode", "MODE", "and", "type", "TYPE", "or", "NULL_RTX", "if", "the", "parameter", "should", "be", "passed", "on", "the", "stack", ".", "CUM", "describes", "the", "previous", "parameters", "to", "the", "function", "and", "NAMED", "is", "false", "if", "the", "parameter", "is", "part", "of", "a", "variable", "parameter", "list", ",", "or", "the", "last", "named", "parameter", "before", "the", "start", "of", "a", "variable", "parameter", "list", "."], "TS_V_token": ["rx", "1", "0", "1"], "File": "rx", "Func": "rx_function_arg", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20927, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_internal_arg_pointer", "(", "void", ")", "{", "if", "(", "FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN", "&&", "DECL_NAME", "(", "current_function_decl", ")", "&&", "MAIN_NAME_P", "(", "DECL_NAME", "(", "current_function_decl", ")", ")", "&&", "DECL_FILE_SCOPE_P", "(", "current_function_decl", ")", ")", "{", "cfun", "->", "machine", "->", "force_align_arg_pointer", "=", "gen_rtx_REG", "(", "Pmode", ",", "2", ")", ";", "return", "copy_to_reg", "(", "cfun", "->", "machine", "->", "force_align_arg_pointer", ")", ";", "}", "else", "return", "virtual_incoming_args_rtx", ";", "}", ""], "natrual_language": ["Handle", "the", "TARGET_INTERNAL_ARG_POINTER", "hook", "."], "TS_V_token": ["i386", "2"], "File": "i3863", "Func": "ix86_internal_arg_pointer", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20928, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "expandPostRAPseudo", "(", "MachineInstr", "&", "MI", ")", "const", "{", "auto", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "auto", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "TargetOpcode", "::", "LOAD_STACK_GUARD", ":", "{", "assert", "(", "Subtarget", ".", "isTargetLinux", "(", ")", "&&", "\"Only Linux target is expected to contain LOAD_STACK_GUARD\"", ")", ";", "const", "int64_t", "Offset", "=", "Subtarget", ".", "isPPC64", "(", ")", "?", "-", "0x7010", ":", "-", "0x7008", ";", "const", "unsigned", "Reg", "=", "Subtarget", ".", "isPPC64", "(", ")", "?", "PPC", "::", "X13", ":", "PPC", "::", "R2", ";", "MI", ".", "setDesc", "(", "get", "(", "Subtarget", ".", "isPPC64", "(", ")", "?", "PPC", "::", "LD", ":", "PPC", "::", "LWZ", ")", ")", ";", "MachineInstrBuilder", "(", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ".", "addImm", "(", "Offset", ")", ".", "addReg", "(", "Reg", ")", ";", "return", "true", ";", "}", "case", "PPC", "::", "DFLOADf32", ":", "case", "PPC", "::", "DFLOADf64", ":", "case", "PPC", "::", "DFSTOREf32", ":", "case", "PPC", "::", "DFSTOREf64", ":", "{", "assert", "(", "Subtarget", ".", "hasP9Vector", "(", ")", "&&", "\"Invalid D-Form Pseudo-ops on non-P9 target.\"", ")", ";", "assert", "(", "MI", ".", "getOperand", "(", "2", ")", ".", "isReg", "(", ")", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", "&&", "\"D-form op must have register and immediate operands\"", ")", ";", "unsigned", "UpperOpcode", ",", "LowerOpcode", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "PPC", "::", "DFLOADf32", ":", "UpperOpcode", "=", "PPC", "::", "LXSSP", ";", "LowerOpcode", "=", "PPC", "::", "LFS", ";", "break", ";", "case", "PPC", "::", "DFLOADf64", ":", "UpperOpcode", "=", "PPC", "::", "LXSD", ";", "LowerOpcode", "=", "PPC", "::", "LFD", ";", "break", ";", "case", "PPC", "::", "DFSTOREf32", ":", "UpperOpcode", "=", "PPC", "::", "STXSSP", ";", "LowerOpcode", "=", "PPC", "::", "STFS", ";", "break", ";", "case", "PPC", "::", "DFSTOREf64", ":", "UpperOpcode", "=", "PPC", "::", "STXSD", ";", "LowerOpcode", "=", "PPC", "::", "STFD", ";", "break", ";", "}", "unsigned", "TargetReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "unsigned", "Opcode", ";", "if", "(", "(", "TargetReg", ">=", "PPC", "::", "F0", "&&", "TargetReg", "<=", "PPC", "::", "F31", ")", "||", "(", "TargetReg", ">=", "PPC", "::", "VSL0", "&&", "TargetReg", "<=", "PPC", "::", "VSL31", ")", ")", "Opcode", "=", "LowerOpcode", ";", "else", "Opcode", "=", "UpperOpcode", ";", "MI", ".", "setDesc", "(", "get", "(", "Opcode", ")", ")", ";", "return", "true", ";", "}", "case", "PPC", "::", "CFENCE8", ":", "{", "auto", "Val", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "PPC", "::", "CMPD", ")", ",", "PPC", "::", "CR7", ")", ".", "addReg", "(", "Val", ")", ".", "addReg", "(", "Val", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "PPC", "::", "CTRL_DEP", ")", ")", ".", "addImm", "(", "PPC", "::", "PRED_NE_MINUS", ")", ".", "addReg", "(", "PPC", "::", "CR7", ")", ".", "addImm", "(", "1", ")", ";", "MI", ".", "setDesc", "(", "get", "(", "PPC", "::", "ISYNC", ")", ")", ";", "MI", ".", "RemoveOperand", "(", "0", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["PowerPC", "PPC", "\"Only Linux target is expected to contain LOAD_STACK_GUARD\"", "PPC", "0x7010", "0x7008", "PPC", "PPC::X13", "PPC::R2", "PPC", "PPC::LD", "PPC::LWZ", "PPC::DFLOADf32", "PPC::DFLOADf64", "PPC::DFSTOREf32", "PPC::DFSTOREf64", "\"Invalid D-Form Pseudo-ops on non-P9 target.\"", "2", "1", "\"D-form op must have register and immediate operands\"", "PPC::DFLOADf32", "PPC::LXSSP", "PPC::LFS", "PPC::DFLOADf64", "PPC::LXSD", "PPC::LFD", "PPC::DFSTOREf32", "PPC::STXSSP", "PPC::STFS", "PPC::DFSTOREf64", "PPC::STXSD", "PPC::STFD", "0", "PPC::F0", "PPC::F31", "PPC::VSL0", "PPC::VSL31", "PPC::CFENCE8", "0", "PPC::CMPD", "PPC::CR7", "PPC::CTRL_DEP", "PPC::PRED_NE_MINUS", "PPC::CR7", "1", "PPC::ISYNC", "0"], "File": "PPCInstrInfo111", "Func": "expandPostRAPseudo", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20929, "Length": 476, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "const", "unsigned", "*", "OpcodesForSpill", "=", "getStoreOpcodesForSpillArray", "(", ")", ";", "const", "unsigned", "*", "End", "=", "OpcodesForSpill", "+", "SOK_LastOpcodeSpill", ";", "if", "(", "End", "!=", "std", "::", "find", "(", "OpcodesForSpill", ",", "End", ",", "Opcode", ")", ")", "{", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", "&&", "!", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "isFI", "(", ")", ")", "{", "FrameIndex", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "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": ["PowerPC", "PPC", "1", "1", "2", "2", "0", "0"], "File": "PPCInstrInfo (2)2", "Func": "isStoreToStackSlot", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20930, "Length": 127, "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": "Mips16FrameLowering21", "Func": "spillCalleeSavedRegisters", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20931, "Length": 125, "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_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_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_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", "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": "SparcMCExpr (2)1", "Func": "getFixupKind", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20932, "Length": 283, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MMIXAsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ")", "const", "{", "if", "(", "(", "Count", "%", "4", ")", "!=", "0", ")", "return", "false", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "<", "Count", ";", "i", "+=", "4", ")", "OS", ".", "write", "(", "\"\\xfd\\0\\0\\0\"", ",", "4", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["MMIX", "MMIX", "4", "0", "0", "4", "\"\\xfd\\0\\0\\0\"", "4"], "File": "MMIXAsmBackend", "Func": "writeNopData", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20933, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "aarch64_build_builtin_va_list", "(", "void", ")", "{", "tree", "va_list_name", ";", "tree", "f_stack", ",", "f_grtop", ",", "f_vrtop", ",", "f_groff", ",", "f_vroff", ";", "va_list_type", "=", "lang_hooks", ".", "types", ".", "make_type", "(", "RECORD_TYPE", ")", ";", "va_list_name", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "TYPE_DECL", ",", "get_identifier", "(", "\"__va_list\"", ")", ",", "va_list_type", ")", ";", "DECL_ARTIFICIAL", "(", "va_list_name", ")", "=", "1", ";", "TYPE_NAME", "(", "va_list_type", ")", "=", "va_list_name", ";", "TYPE_STUB_DECL", "(", "va_list_type", ")", "=", "va_list_name", ";", "f_stack", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"__stack\"", ")", ",", "ptr_type_node", ")", ";", "f_grtop", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"__gr_top\"", ")", ",", "ptr_type_node", ")", ";", "f_vrtop", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"__vr_top\"", ")", ",", "ptr_type_node", ")", ";", "f_groff", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"__gr_offs\"", ")", ",", "integer_type_node", ")", ";", "f_vroff", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"__vr_offs\"", ")", ",", "integer_type_node", ")", ";", "va_list_gpr_counter_field", "=", "f_groff", ";", "va_list_fpr_counter_field", "=", "f_vroff", ";", "DECL_ARTIFICIAL", "(", "f_stack", ")", "=", "1", ";", "DECL_ARTIFICIAL", "(", "f_grtop", ")", "=", "1", ";", "DECL_ARTIFICIAL", "(", "f_vrtop", ")", "=", "1", ";", "DECL_ARTIFICIAL", "(", "f_groff", ")", "=", "1", ";", "DECL_ARTIFICIAL", "(", "f_vroff", ")", "=", "1", ";", "DECL_FIELD_CONTEXT", "(", "f_stack", ")", "=", "va_list_type", ";", "DECL_FIELD_CONTEXT", "(", "f_grtop", ")", "=", "va_list_type", ";", "DECL_FIELD_CONTEXT", "(", "f_vrtop", ")", "=", "va_list_type", ";", "DECL_FIELD_CONTEXT", "(", "f_groff", ")", "=", "va_list_type", ";", "DECL_FIELD_CONTEXT", "(", "f_vroff", ")", "=", "va_list_type", ";", "TYPE_FIELDS", "(", "va_list_type", ")", "=", "f_stack", ";", "DECL_CHAIN", "(", "f_stack", ")", "=", "f_grtop", ";", "DECL_CHAIN", "(", "f_grtop", ")", "=", "f_vrtop", ";", "DECL_CHAIN", "(", "f_vrtop", ")", "=", "f_groff", ";", "DECL_CHAIN", "(", "f_groff", ")", "=", "f_vroff", ";", "layout_type", "(", "va_list_type", ")", ";", "return", "va_list_type", ";", "}", ""], "natrual_language": ["Implement", "TARGET_BUILD_BUILTIN_VA_LIST", ".", "Return", "the", "type", "to", "use", "as", "__builtin_va_list", ".", "AAPCS64", "\\S", "7.1.4", "requires", "that", "va_list", "be", "a", "typedef", "for", "a", "type", "defined", "as", ":", "struct", "__va_list", "{", "void", "*", "__stack", ";", "void", "*", "__gr_top", ";", "void", "*", "__vr_top", ";", "int", "__gr_offs", ";", "int", "__vr_offs", ";", "}", ";"], "TS_V_token": ["aarch64", "\"__va_list\"", "1", "\"__stack\"", "\"__gr_top\"", "\"__vr_top\"", "\"__gr_offs\"", "\"__vr_offs\"", "1", "1", "1", "1", "1"], "File": "aarch64", "Func": "aarch64_build_builtin_va_list", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20934, "Length": 271, "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": 20935, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Relocator", "::", "Result", "none", "(", "Relocation", "&", "pReloc", ",", "AArch64Relocator", "&", "pParent", ")", "{", "return", "Relocator", "::", "OK", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "none", "of", "the", "bits", "are", "set", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64Relocator", "Func": "none", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20936, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "emit_csky_regs_push", "(", "unsigned", "long", "mask", ")", "{", "int", "num_regs", "=", "0", ";", "int", "i", ",", "j", ";", "rtx", "par", ";", "rtx", "dwarf", ";", "rtx", "tmp", ";", "int", "dwarf_par_index", ";", "for", "(", "i", "=", "0", ";", "i", "<", "CSKY_NGPR_REGS", ";", "i", "++", ")", "{", "if", "(", "mask", "&", "(", "1", "<<", "i", ")", ")", "num_regs", "++", ";", "}", "gcc_assert", "(", "num_regs", "&&", "num_regs", "<=", "12", ")", ";", "par", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "num_regs", ")", ")", ";", "dwarf", "=", "gen_rtx_SEQUENCE", "(", "VOIDmode", ",", "rtvec_alloc", "(", "num_regs", "+", "1", ")", ")", ";", "dwarf_par_index", "=", "1", ";", "for", "(", "i", "=", "0", ";", "i", "<", "CSKY_NGPR_REGS", ";", "i", "++", ")", "if", "(", "mask", "&", "(", "1", "<<", "i", ")", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "i", ")", ";", "rtx", "addr", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "4", "*", "num_regs", ")", ";", "tmp", "=", "gen_frame_mem", "(", "BLKmode", ",", "gen_rtx_PRE_MODIFY", "(", "Pmode", ",", "stack_pointer_rtx", ",", "addr", ")", ")", ";", "XVECEXP", "(", "par", ",", "0", ",", "0", ")", "=", "gen_rtx_SET", "(", "tmp", ",", "gen_rtx_UNSPEC", "(", "BLKmode", ",", "gen_rtvec", "(", "1", ",", "reg", ")", ",", "UNSPEC_PUSHPOP_MULT", ")", ")", ";", "tmp", "=", "gen_rtx_SET", "(", "gen_frame_mem", "(", "SImode", ",", "stack_pointer_rtx", ")", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "tmp", ")", "=", "1", ";", "XVECEXP", "(", "dwarf", ",", "0", ",", "dwarf_par_index", "++", ")", "=", "tmp", ";", "break", ";", "}", "for", "(", "j", "=", "1", ",", "i", "++", ";", "j", "<", "num_regs", ";", "i", "++", ")", "if", "(", "mask", "&", "(", "1", "<<", "i", ")", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "i", ")", ";", "rtx", "addr", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "4", "*", "j", ")", ";", "tmp", "=", "gen_rtx_SET", "(", "gen_frame_mem", "(", "SImode", ",", "addr", ")", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "tmp", ")", "=", "1", ";", "XVECEXP", "(", "par", ",", "0", ",", "j", ")", "=", "gen_rtx_USE", "(", "VOIDmode", ",", "reg", ")", ";", "XVECEXP", "(", "dwarf", ",", "0", ",", "dwarf_par_index", "++", ")", "=", "tmp", ";", "j", "++", ";", "}", "par", "=", "emit_insn", "(", "par", ")", ";", "tmp", "=", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "4", "*", "num_regs", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "tmp", ")", "=", "1", ";", "XVECEXP", "(", "dwarf", ",", "0", ",", "0", ")", "=", "tmp", ";", "add_reg_note", "(", "par", ",", "REG_FRAME_RELATED_EXPR", ",", "dwarf", ")", ";", "RTX_FRAME_RELATED_P", "(", "par", ")", "=", "1", ";", "return", "par", ";", "}", ""], "natrual_language": ["Generate", "and", "emit", "an", "insn", "that", "we", "will", "recognize", "as", "a", "push_multi", ".", "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", ".", "DWARF_REGS_MASK", "is", "a", "subset", "of", "MASK", "for", "registers", "that", "should", "be", "annotated", "for", "DWARF2", "frame", "unwind", "information", "."], "TS_V_token": ["csky", "0", "0", "1", "12", "1", "1", "0", "1", "4", "0", "0", "1", "1", "0", "1", "1", "4", "1", "0", "0", "4", "1", "0", "0", "1"], "File": "csky", "Func": "emit_csky_regs_push", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20937, "Length": 395, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "i386_pe_encode_section_info", "(", "tree", "decl", ",", "rtx", "rtl", ",", "int", "first", ")", "{", "default_encode_section_info", "(", "decl", ",", "rtl", ",", "first", ")", ";", "if", "(", "first", "&&", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", ")", "{", "tree", "type_attributes", "=", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "decl", ")", ")", ";", "tree", "newid", "=", "NULL_TREE", ";", "if", "(", "lookup_attribute", "(", "\"stdcall\"", ",", "type_attributes", ")", ")", "newid", "=", "gen_stdcall_or_fastcall_suffix", "(", "decl", ",", "false", ")", ";", "else", "if", "(", "lookup_attribute", "(", "\"fastcall\"", ",", "type_attributes", ")", ")", "newid", "=", "gen_stdcall_or_fastcall_suffix", "(", "decl", ",", "true", ")", ";", "if", "(", "newid", "!=", "NULL_TREE", ")", "{", "rtx", "rtlname", "=", "XEXP", "(", "rtl", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "rtlname", ")", "==", "MEM", ")", "rtlname", "=", "XEXP", "(", "rtlname", ",", "0", ")", ";", "XSTR", "(", "rtlname", ",", "0", ")", "=", "IDENTIFIER_POINTER", "(", "newid", ")", ";", "change_decl_assembler_name", "(", "decl", ",", "newid", ")", ";", "}", "}", "if", "(", "i386_pe_dllexport_p", "(", "decl", ")", ")", "i386_pe_mark_dllexport", "(", "decl", ")", ";", "else", "if", "(", "i386_pe_dllimport_p", "(", "decl", ")", ")", "i386_pe_mark_dllimport", "(", "decl", ")", ";", "else", "gcc_assert", "(", "!", "(", "(", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", "||", "TREE_CODE", "(", "decl", ")", "==", "VAR_DECL", ")", "&&", "rtl", "!=", "NULL_RTX", "&&", "GET_CODE", "(", "rtl", ")", "==", "MEM", "&&", "GET_CODE", "(", "XEXP", "(", "rtl", ",", "0", ")", ")", "==", "MEM", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "rtl", ",", "0", ")", ",", "0", ")", ")", "==", "SYMBOL_REF", "&&", "i386_pe_dllimport_name_p", "(", "XSTR", "(", "XEXP", "(", "XEXP", "(", "rtl", ",", "0", ")", ",", "0", ")", ",", "0", ")", ")", ")", ")", ";", "}", ""], "natrual_language": ["Cover", "function", "to", "implement", "ENCODE_SECTION_INFO", "."], "TS_V_token": ["i386", "\"stdcall\"", "\"fastcall\"", "0", "0", "0", "0", "0", "0", "0", "0", "0"], "File": "winnt3", "Func": "i386_pe_encode_section_info", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20938, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "ix86_valid_target_attribute_tree", "(", "tree", "fndecl", ",", "tree", "args", ",", "struct", "gcc_options", "*", "opts", ",", "struct", "gcc_options", "*", "opts_set", ",", "bool", "target_clone_attr", ")", "{", "const", "char", "*", "orig_arch_string", "=", "opts", "->", "x_ix86_arch_string", ";", "const", "char", "*", "orig_tune_string", "=", "opts", "->", "x_ix86_tune_string", ";", "enum", "fpmath_unit", "orig_fpmath_set", "=", "opts_set", "->", "x_ix86_fpmath", ";", "enum", "prefer_vector_width", "orig_pvw_set", "=", "opts_set", "->", "x_prefer_vector_width_type", ";", "enum", "prefer_vector_width", "orig_ix86_move_max_set", "=", "opts_set", "->", "x_ix86_move_max", ";", "enum", "prefer_vector_width", "orig_ix86_store_max_set", "=", "opts_set", "->", "x_ix86_store_max", ";", "int", "orig_tune_defaulted", "=", "ix86_tune_defaulted", ";", "int", "orig_arch_specified", "=", "ix86_arch_specified", ";", "char", "*", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_MAX", "]", "=", "{", "NULL", ",", "NULL", "}", ";", "tree", "t", "=", "NULL_TREE", ";", "struct", "cl_target_option", "*", "def", "=", "TREE_TARGET_OPTION", "(", "target_option_default_node", ")", ";", "struct", "gcc_options", "enum_opts_set", ";", "memset", "(", "&", "enum_opts_set", ",", "0", ",", "sizeof", "(", "enum_opts_set", ")", ")", ";", "if", "(", "!", "ix86_valid_target_attribute_inner_p", "(", "fndecl", ",", "args", ",", "option_strings", ",", "opts", ",", "opts_set", ",", "&", "enum_opts_set", ",", "target_clone_attr", ")", ")", "return", "error_mark_node", ";", "if", "(", "opts", "->", "x_ix86_isa_flags", "!=", "def", "->", "x_ix86_isa_flags", "||", "opts", "->", "x_ix86_isa_flags2", "!=", "def", "->", "x_ix86_isa_flags2", "||", "opts", "->", "x_target_flags", "!=", "def", "->", "x_target_flags", "||", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_ARCH", "]", "||", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_TUNE", "]", "||", "enum_opts_set", ".", "x_ix86_fpmath", "||", "enum_opts_set", ".", "x_prefer_vector_width_type", ")", "{", "if", "(", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_ARCH", "]", ")", "opts", "->", "x_ix86_arch_string", "=", "ggc_strdup", "(", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_ARCH", "]", ")", ";", "else", "if", "(", "!", "orig_arch_specified", ")", "opts", "->", "x_ix86_arch_string", "=", "NULL", ";", "if", "(", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_TUNE", "]", ")", "opts", "->", "x_ix86_tune_string", "=", "ggc_strdup", "(", "option_strings", "[", "IX86_FUNCTION_SPECIFIC_TUNE", "]", ")", ";", "else", "if", "(", "orig_tune_defaulted", ")", "opts", "->", "x_ix86_tune_string", "=", "NULL", ";", "if", "(", "enum_opts_set", ".", "x_ix86_fpmath", ")", "opts_set", "->", "x_ix86_fpmath", "=", "(", "enum", "fpmath_unit", ")", "1", ";", "if", "(", "enum_opts_set", ".", "x_prefer_vector_width_type", ")", "opts_set", "->", "x_prefer_vector_width_type", "=", "(", "enum", "prefer_vector_width", ")", "1", ";", "bool", "r", "=", "ix86_option_override_internal", "(", "false", ",", "opts", ",", "opts_set", ")", ";", "if", "(", "!", "r", ")", "{", "release_options_strings", "(", "option_strings", ")", ";", "return", "error_mark_node", ";", "}", "ix86_add_new_builtins", "(", "opts", "->", "x_ix86_isa_flags", ",", "opts", "->", "x_ix86_isa_flags2", ")", ";", "enum", "excess_precision", "orig_ix86_excess_precision", "=", "opts", "->", "x_ix86_excess_precision", ";", "bool", "orig_ix86_unsafe_math_optimizations", "=", "opts", "->", "x_ix86_unsafe_math_optimizations", ";", "opts", "->", "x_ix86_excess_precision", "=", "opts", "->", "x_flag_excess_precision", ";", "opts", "->", "x_ix86_unsafe_math_optimizations", "=", "opts", "->", "x_flag_unsafe_math_optimizations", ";", "t", "=", "build_target_option_node", "(", "opts", ",", "opts_set", ")", ";", "opts", "->", "x_ix86_arch_string", "=", "orig_arch_string", ";", "opts", "->", "x_ix86_tune_string", "=", "orig_tune_string", ";", "opts_set", "->", "x_ix86_fpmath", "=", "orig_fpmath_set", ";", "opts_set", "->", "x_prefer_vector_width_type", "=", "orig_pvw_set", ";", "opts_set", "->", "x_ix86_move_max", "=", "orig_ix86_move_max_set", ";", "opts_set", "->", "x_ix86_store_max", "=", "orig_ix86_store_max_set", ";", "opts", "->", "x_ix86_excess_precision", "=", "orig_ix86_excess_precision", ";", "opts", "->", "x_ix86_unsafe_math_optimizations", "=", "orig_ix86_unsafe_math_optimizations", ";", "release_options_strings", "(", "option_strings", ")", ";", "}", "return", "t", ";", "}", ""], "natrual_language": ["Return", "a", "TARGET_OPTION_NODE", "tree", "of", "the", "target", "options", "listed", "or", "NULL", "."], "TS_V_token": ["i386", "0", "1", "1"], "File": "i386-options", "Func": "ix86_valid_target_attribute_tree", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20939, "Length": 426, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint32_t", "generateCompactUnwindEncoding", "(", "ArrayRef", "<", "MCCFIInstruction", ">", "Instrs", ")", "const", "override", "{", "return", "SupportsCU", "?", "generateCompactUnwindEncodingImpl", "(", "Instrs", ")", ":", "0", ";", "}", ""], "natrual_language": ["Generate", "compact", "unwind", "encoding", "for", "the", "function", "based", "on", "the", "CFI", "instructions", "."], "TS_V_token": ["X86", "0"], "File": "X86AsmBackend34", "Func": "generateCompactUnwindEncoding", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20940, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "CanLowerReturn", "(", "CallingConv", "::", "ID", "CallConv", ",", "MachineFunction", "&", "MF", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "LLVMContext", "&", "Context", ")", "const", "{", "CCAssignFn", "*", "RetCC", "=", "CallConv", "==", "CallingConv", "::", "WebKit_JS", "?", "RetCC_AArch64_WebKit_JS", ":", "RetCC_AArch64_AAPCS", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "MF", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "Context", ")", ";", "return", "CCInfo", ".", "CheckReturn", "(", "Outs", ",", "RetCC", ")", ";", "}", ""], "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": ["AArch64", "AArch64", "ISD::OutputArg", "AArch64", "AArch64", "16"], "File": "AArch64ISelLowering23", "Func": "CanLowerReturn", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20941, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16InstrInfo", "::", "adjustStackPtr", "(", "unsigned", "SP", ",", "int64_t", "Amount", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "if", "(", "isInt", "<", "16", ">", "(", "Amount", ")", ")", "BuildAddiuSpImm", "(", "MBB", ",", "I", ",", "Amount", ")", ";", "else", "adjustStackPtrBigUnrestricted", "(", "SP", ",", "Amount", ",", "MBB", ",", "I", ")", ";", "}", ""], "natrual_language": ["Adjust", "SP", "by", "Amount", "bytes", "."], "TS_V_token": ["Mips", "Mips", "16"], "File": "Mips16InstrInfo", "Func": "adjustStackPtr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20942, "Length": 54, "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", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"*** \"", "<<", "getPassName", "(", ")", "<<", "\": \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "if", "(", "!", "SchedModel", ".", "hasInstrSchedModel", "(", ")", ")", "{", "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", ";", "unsigned", "BaseReg", ";", "int64_t", "Offset", ";", "if", "(", "TII", "->", "getMemOpBaseRegImmOfs", "(", "MI", ",", "BaseReg", ",", "Offset", ",", "TRI", ")", ")", "{", "if", "(", "PrevBaseReg", "==", "BaseReg", ")", "{", "if", "(", "!", "SuppressSTP", "&&", "shouldAddSTPToBlock", "(", "MI", ".", "getParent", "(", ")", ")", ")", "break", ";", "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": "AArch64StorePairSuppress3", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20943, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_override_options_after_change", "(", "void", ")", "{", "ix86_default_align", "(", "&", "global_options", ")", ";", "ix86_recompute_optlev_based_flags", "(", "&", "global_options", ",", "&", "global_options_set", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE", "hook", "."], "TS_V_token": ["i386"], "File": "i386-options", "Func": "ix86_override_options_after_change", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20944, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ix86_expand_fp_movcc", "(", "rtx", "operands", "[", "]", ")", "{", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "operands", "[", "1", "]", ")", ";", "rtx", "tmp", ",", "compare_op", ",", "second_test", ",", "bypass_test", ";", "if", "(", "TARGET_SSE_MATH", "&&", "SSE_FLOAT_MODE_P", "(", "mode", ")", ")", "{", "enum", "machine_mode", "cmode", ";", "cmode", "=", "GET_MODE", "(", "ix86_compare_op0", ")", ";", "if", "(", "cmode", "==", "VOIDmode", ")", "cmode", "=", "GET_MODE", "(", "ix86_compare_op1", ")", ";", "if", "(", "cmode", "!=", "mode", ")", "return", "0", ";", "code", "=", "ix86_prepare_sse_fp_compare_args", "(", "operands", "[", "0", "]", ",", "code", ",", "&", "ix86_compare_op0", ",", "&", "ix86_compare_op1", ")", ";", "if", "(", "code", "==", "UNKNOWN", ")", "return", "0", ";", "if", "(", "ix86_expand_sse_fp_minmax", "(", "operands", "[", "0", "]", ",", "code", ",", "ix86_compare_op0", ",", "ix86_compare_op1", ",", "operands", "[", "2", "]", ",", "operands", "[", "3", "]", ")", ")", "return", "1", ";", "tmp", "=", "ix86_expand_sse_cmp", "(", "operands", "[", "0", "]", ",", "code", ",", "ix86_compare_op0", ",", "ix86_compare_op1", ",", "operands", "[", "2", "]", ",", "operands", "[", "3", "]", ")", ";", "ix86_expand_sse_movcc", "(", "operands", "[", "0", "]", ",", "tmp", ",", "operands", "[", "2", "]", ",", "operands", "[", "3", "]", ")", ";", "return", "1", ";", "}", "compare_op", "=", "ix86_expand_compare", "(", "code", ",", "&", "second_test", ",", "&", "bypass_test", ")", ";", "if", "(", "!", "fcmov_comparison_operator", "(", "compare_op", ",", "VOIDmode", ")", ")", "{", "gcc_assert", "(", "!", "second_test", "&&", "!", "bypass_test", ")", ";", "tmp", "=", "gen_reg_rtx", "(", "QImode", ")", ";", "ix86_expand_setcc", "(", "code", ",", "tmp", ")", ";", "code", "=", "NE", ";", "ix86_compare_op0", "=", "tmp", ";", "ix86_compare_op1", "=", "const0_rtx", ";", "compare_op", "=", "ix86_expand_compare", "(", "code", ",", "&", "second_test", ",", "&", "bypass_test", ")", ";", "}", "if", "(", "bypass_test", "&&", "reg_overlap_mentioned_p", "(", "operands", "[", "0", "]", ",", "operands", "[", "3", "]", ")", ")", "{", "tmp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_move_insn", "(", "tmp", ",", "operands", "[", "3", "]", ")", ";", "operands", "[", "3", "]", "=", "tmp", ";", "}", "if", "(", "second_test", "&&", "reg_overlap_mentioned_p", "(", "operands", "[", "0", "]", ",", "operands", "[", "2", "]", ")", ")", "{", "tmp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_move_insn", "(", "tmp", ",", "operands", "[", "2", "]", ")", ";", "operands", "[", "2", "]", "=", "tmp", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "operands", "[", "0", "]", ",", "gen_rtx_IF_THEN_ELSE", "(", "mode", ",", "compare_op", ",", "operands", "[", "2", "]", ",", "operands", "[", "3", "]", ")", ")", ")", ";", "if", "(", "bypass_test", ")", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "operands", "[", "0", "]", ",", "gen_rtx_IF_THEN_ELSE", "(", "mode", ",", "bypass_test", ",", "operands", "[", "3", "]", ",", "operands", "[", "0", "]", ")", ")", ")", ";", "if", "(", "second_test", ")", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "operands", "[", "0", "]", ",", "gen_rtx_IF_THEN_ELSE", "(", "mode", ",", "second_test", ",", "operands", "[", "2", "]", ",", "operands", "[", "0", "]", ")", ")", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Expand", "a", "floating-point", "conditional", "move", ".", "Return", "true", "if", "successful", "."], "TS_V_token": ["i386", "0", "1", "0", "0", "0", "0", "2", "3", "1", "0", "2", "3", "0", "2", "3", "1", "0", "3", "3", "3", "0", "2", "2", "2", "0", "2", "3", "0", "3", "0", "0", "2", "0", "1"], "File": "i3863", "Func": "ix86_expand_fp_movcc", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20945, "Length": 452, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "getStackAddress", "(", "uint64_t", "Size", ",", "int64_t", "Offset", ",", "MachinePointerInfo", "&", "MPO", ")", "override", "{", "auto", "&", "MFI", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getFrameInfo", "(", ")", ";", "int", "FI", "=", "MFI", ".", "CreateFixedObject", "(", "Size", ",", "Offset", ",", "true", ")", ";", "MPO", "=", "MachinePointerInfo", "::", "getFixedStack", "(", "MIRBuilder", ".", "getMF", "(", ")", ",", "FI", ")", ";", "return", "MIRBuilder", ".", "buildFrameIndex", "(", "LLT", "::", "pointer", "(", "0", ",", "DL", ".", "getPointerSizeInBits", "(", "0", ")", ")", ",", "FI", ")", ".", "getReg", "(", "0", ")", ";", "}", ""], "natrual_language": ["Materialize", "a", "VReg", "containing", "the", "address", "of", "the", "specified", "stack-based", "object", "."], "TS_V_token": ["X86", "0", "0", "0"], "File": "X86CallLowering17", "Func": "getStackAddress", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20946, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_va_start", "(", "tree", "valist", ",", "rtx", "nextarg", ")", "{", "HOST_WIDE_INT", "words", ",", "n_gpr", ",", "n_fpr", ";", "tree", "f_gpr", ",", "f_fpr", ",", "f_ovf", ",", "f_sav", ";", "tree", "gpr", ",", "fpr", ",", "ovf", ",", "sav", ",", "t", ";", "if", "(", "!", "TARGET_64BIT", ")", "{", "std_expand_builtin_va_start", "(", "valist", ",", "nextarg", ")", ";", "return", ";", "}", "f_gpr", "=", "TYPE_FIELDS", "(", "TREE_TYPE", "(", "va_list_type_node", ")", ")", ";", "f_fpr", "=", "TREE_CHAIN", "(", "f_gpr", ")", ";", "f_ovf", "=", "TREE_CHAIN", "(", "f_fpr", ")", ";", "f_sav", "=", "TREE_CHAIN", "(", "f_ovf", ")", ";", "valist", "=", "build1", "(", "INDIRECT_REF", ",", "TREE_TYPE", "(", "TREE_TYPE", "(", "valist", ")", ")", ",", "valist", ")", ";", "gpr", "=", "build", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_gpr", ")", ",", "valist", ",", "f_gpr", ",", "NULL_TREE", ")", ";", "fpr", "=", "build", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_fpr", ")", ",", "valist", ",", "f_fpr", ",", "NULL_TREE", ")", ";", "ovf", "=", "build", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_ovf", ")", ",", "valist", ",", "f_ovf", ",", "NULL_TREE", ")", ";", "sav", "=", "build", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_sav", ")", ",", "valist", ",", "f_sav", ",", "NULL_TREE", ")", ";", "words", "=", "current_function_args_info", ".", "words", ";", "n_gpr", "=", "current_function_args_info", ".", "regno", ";", "n_fpr", "=", "current_function_args_info", ".", "sse_regno", ";", "if", "(", "TARGET_DEBUG_ARG", ")", "fprintf", "(", "stderr", ",", "\"va_start: words = %d, n_gpr = %d, n_fpr = %d\\n\"", ",", "(", "int", ")", "words", ",", "(", "int", ")", "n_gpr", ",", "(", "int", ")", "n_fpr", ")", ";", "if", "(", "cfun", "->", "va_list_gpr_size", ")", "{", "t", "=", "build", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "gpr", ")", ",", "gpr", ",", "build_int_cst", "(", "NULL_TREE", ",", "n_gpr", "*", "8", ")", ")", ";", "TREE_SIDE_EFFECTS", "(", "t", ")", "=", "1", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "}", "if", "(", "cfun", "->", "va_list_fpr_size", ")", "{", "t", "=", "build", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "fpr", ")", ",", "fpr", ",", "build_int_cst", "(", "NULL_TREE", ",", "n_fpr", "*", "16", "+", "8", "*", "REGPARM_MAX", ")", ")", ";", "TREE_SIDE_EFFECTS", "(", "t", ")", "=", "1", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "}", "t", "=", "make_tree", "(", "TREE_TYPE", "(", "ovf", ")", ",", "virtual_incoming_args_rtx", ")", ";", "if", "(", "words", "!=", "0", ")", "t", "=", "build", "(", "PLUS_EXPR", ",", "TREE_TYPE", "(", "ovf", ")", ",", "t", ",", "build_int_cst", "(", "NULL_TREE", ",", "words", "*", "UNITS_PER_WORD", ")", ")", ";", "t", "=", "build", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "ovf", ")", ",", "ovf", ",", "t", ")", ";", "TREE_SIDE_EFFECTS", "(", "t", ")", "=", "1", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "if", "(", "cfun", "->", "va_list_gpr_size", "||", "cfun", "->", "va_list_fpr_size", ")", "{", "t", "=", "make_tree", "(", "TREE_TYPE", "(", "sav", ")", ",", "frame_pointer_rtx", ")", ";", "t", "=", "build", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "sav", ")", ",", "sav", ",", "t", ")", ";", "TREE_SIDE_EFFECTS", "(", "t", ")", "=", "1", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "va_start", "."], "TS_V_token": ["i386", "\"va_start: words = %d, n_gpr = %d, n_fpr = %d\\n\"", "8", "1", "16", "8", "1", "0", "1", "1"], "File": "i3863", "Func": "ix86_va_start", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20947, "Length": 453, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsLegalizerInfo", "::", "legalizeCustom", "(", "MachineInstr", "&", "MI", ",", "MachineRegisterInfo", "&", "MRI", ",", "MachineIRBuilder", "&", "MIRBuilder", ",", "GISelChangeObserver", "&", "Observer", ")", "const", "{", "using", "namespace", "TargetOpcode", ";", "MIRBuilder", ".", "setInstr", "(", "MI", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Called", "for", "instructions", "with", "the", "Custom", "LegalizationAction", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsLegalizerInfo", "Func": "legalizeCustom", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20948, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "dump", "(", "SelectionDAG", "*", "DAG", "=", "nullptr", ")", "{", "dbgs", "(", ")", "<<", "\"X86ISelAddressMode \"", "<<", "this", "<<", "'\\n'", ";", "dbgs", "(", ")", "<<", "\"Base_Reg \"", ";", "if", "(", "Base_Reg", ".", "getNode", "(", ")", ")", "Base_Reg", ".", "getNode", "(", ")", "->", "dump", "(", "DAG", ")", ";", "else", "dbgs", "(", ")", "<<", "\"nul\\n\"", ";", "if", "(", "BaseType", "==", "FrameIndexBase", ")", "dbgs", "(", ")", "<<", "\" Base.FrameIndex \"", "<<", "Base_FrameIndex", "<<", "'\\n'", ";", "dbgs", "(", ")", "<<", "\" Scale \"", "<<", "Scale", "<<", "'\\n'", "<<", "\"IndexReg \"", ";", "if", "(", "NegateIndex", ")", "dbgs", "(", ")", "<<", "\"negate \"", ";", "if", "(", "IndexReg", ".", "getNode", "(", ")", ")", "IndexReg", ".", "getNode", "(", ")", "->", "dump", "(", "DAG", ")", ";", "else", "dbgs", "(", ")", "<<", "\"nul\\n\"", ";", "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", "(", ")", "<<", "\" MCSym \"", ";", "if", "(", "MCSym", ")", "dbgs", "(", ")", "<<", "MCSym", ";", "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\\n\"", "\" Base.FrameIndex \"", "\" Scale \"", "\"IndexReg \"", "\"negate \"", "\"nul\\n\"", "\" Disp \"", "\"GV \"", "\"nul\"", "\" CP \"", "\"nul\"", "\"ES \"", "\"nul\"", "\" MCSym \"", "\"nul\"", "\" JT\"", "\" Align\""], "File": "X86ISelDAGToDAG101", "Func": "dump", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20949, "Length": 231, "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": ["CAHP"], "File": "CAHPAsmParser", "Func": "isMem", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20950, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLoweringBase", "::", "AtomicExpansionKind", "AArch64TargetLowering", "::", "shouldExpandAtomicStoreInIR", "(", "StoreInst", "*", "SI", ")", "const", "{", "unsigned", "Size", "=", "SI", "->", "getValueOperand", "(", ")", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "Size", "!=", "128", "||", "isOpSuitableForLDPSTP", "(", "SI", ")", ")", "return", "AtomicExpansionKind", "::", "None", ";", "return", "AtomicExpansionKind", "::", "Expand", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "(", "atomic", ")", "store", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "into", "."], "TS_V_token": ["AArch64", "AArch64", "128"], "File": "AArch64ISelLowering78", "Func": "shouldExpandAtomicStoreInIR", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20951, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcInstrInfo", "::", "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", "(", ")", ";", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "*", "MF", "->", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", "->", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "FI", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "if", "(", "RC", "==", "&", "SP", "::", "I64RegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDXri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "IntRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "FPRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDFri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "RC", "==", "&", "SP", "::", "DFPRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "LDDFri", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "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": ["Sparc", "Sparc", "SP::I64RegsRegClass", "SP::LDXri", "0", "SP::IntRegsRegClass", "SP::LDri", "0", "SP::FPRegsRegClass", "SP::LDFri", "0", "SP::DFPRegsRegClass", "SP::LDDFri", "0", "\"Can't load this register from stack slot\""], "File": "SparcInstrInfo2", "Func": "loadRegFromStackSlot", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20952, "Length": 287, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "setup_incoming_varargs_64", "(", "CUMULATIVE_ARGS", "*", "cum", ")", "{", "rtx", "save_area", ",", "mem", ";", "alias_set_type", "set", ";", "int", "i", ",", "max", ";", "if", "(", "cfun", "->", "va_list_gpr_size", ")", "ix86_varargs_gpr_size", "=", "X86_64_REGPARM_MAX", "*", "UNITS_PER_WORD", ";", "else", "ix86_varargs_gpr_size", "=", "0", ";", "if", "(", "TARGET_SSE", "&&", "cfun", "->", "va_list_fpr_size", ")", "ix86_varargs_fpr_size", "=", "X86_64_SSE_REGPARM_MAX", "*", "16", ";", "else", "ix86_varargs_fpr_size", "=", "0", ";", "if", "(", "!", "ix86_varargs_gpr_size", "&&", "!", "ix86_varargs_fpr_size", ")", "return", ";", "save_area", "=", "frame_pointer_rtx", ";", "set", "=", "get_varargs_alias_set", "(", ")", ";", "max", "=", "cum", "->", "regno", "+", "cfun", "->", "va_list_gpr_size", "/", "UNITS_PER_WORD", ";", "if", "(", "max", ">", "X86_64_REGPARM_MAX", ")", "max", "=", "X86_64_REGPARM_MAX", ";", "for", "(", "i", "=", "cum", "->", "regno", ";", "i", "<", "max", ";", "i", "++", ")", "{", "mem", "=", "gen_rtx_MEM", "(", "word_mode", ",", "plus_constant", "(", "Pmode", ",", "save_area", ",", "i", "*", "UNITS_PER_WORD", ")", ")", ";", "MEM_NOTRAP_P", "(", "mem", ")", "=", "1", ";", "set_mem_alias_set", "(", "mem", ",", "set", ")", ";", "emit_move_insn", "(", "mem", ",", "gen_rtx_REG", "(", "word_mode", ",", "x86_64_int_parameter_registers", "[", "i", "]", ")", ")", ";", "}", "if", "(", "ix86_varargs_fpr_size", ")", "{", "machine_mode", "smode", ";", "rtx_code_label", "*", "label", ";", "rtx", "test", ";", "label", "=", "gen_label_rtx", "(", ")", ";", "test", "=", "gen_rtx_EQ", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "QImode", ",", "AX_REG", ")", ",", "const0_rtx", ")", ";", "emit_jump_insn", "(", "gen_cbranchqi4", "(", "test", ",", "XEXP", "(", "test", ",", "0", ")", ",", "XEXP", "(", "test", ",", "1", ")", ",", "label", ")", ")", ";", "smode", "=", "V4SFmode", ";", "if", "(", "crtl", "->", "stack_alignment_needed", "<", "GET_MODE_ALIGNMENT", "(", "smode", ")", ")", "crtl", "->", "stack_alignment_needed", "=", "GET_MODE_ALIGNMENT", "(", "smode", ")", ";", "max", "=", "cum", "->", "sse_regno", "+", "cfun", "->", "va_list_fpr_size", "/", "16", ";", "if", "(", "max", ">", "X86_64_SSE_REGPARM_MAX", ")", "max", "=", "X86_64_SSE_REGPARM_MAX", ";", "for", "(", "i", "=", "cum", "->", "sse_regno", ";", "i", "<", "max", ";", "++", "i", ")", "{", "mem", "=", "plus_constant", "(", "Pmode", ",", "save_area", ",", "i", "*", "16", "+", "ix86_varargs_gpr_size", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "smode", ",", "mem", ")", ";", "MEM_NOTRAP_P", "(", "mem", ")", "=", "1", ";", "set_mem_alias_set", "(", "mem", ",", "set", ")", ";", "set_mem_align", "(", "mem", ",", "GET_MODE_ALIGNMENT", "(", "smode", ")", ")", ";", "emit_move_insn", "(", "mem", ",", "gen_rtx_REG", "(", "smode", ",", "SSE_REGNO", "(", "i", ")", ")", ")", ";", "}", "emit_label", "(", "label", ")", ";", "}", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["i386", "0", "16", "0", "1", "0", "1", "16", "16", "1"], "File": "i3864", "Func": "setup_incoming_varargs_64", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20953, "Length": 358, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VEInstrInfo", "::", "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", ";", "unsigned", "LastOpc", "=", "LastInst", "->", "getOpcode", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", "||", "!", "isUnpredicatedTerminator", "(", "*", "--", "I", ")", ")", "{", "if", "(", "isUncondBranchOpcode", "(", "LastOpc", ")", ")", "{", "TBB", "=", "LastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "return", "false", ";", "}", "if", "(", "isCondBranchOpcode", "(", "LastOpc", ")", ")", "{", "parseCondBranch", "(", "LastInst", ",", "TBB", ",", "Cond", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", "MachineInstr", "*", "SecondLastInst", "=", "&", "*", "I", ";", "unsigned", "SecondLastOpc", "=", "SecondLastInst", "->", "getOpcode", "(", ")", ";", "if", "(", "AllowModify", "&&", "isUncondBranchOpcode", "(", "LastOpc", ")", ")", "{", "while", "(", "isUncondBranchOpcode", "(", "SecondLastOpc", ")", ")", "{", "LastInst", "->", "eraseFromParent", "(", ")", ";", "LastInst", "=", "SecondLastInst", ";", "LastOpc", "=", "LastInst", "->", "getOpcode", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", "||", "!", "isUnpredicatedTerminator", "(", "*", "--", "I", ")", ")", "{", "TBB", "=", "LastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "return", "false", ";", "}", "SecondLastInst", "=", "&", "*", "I", ";", "SecondLastOpc", "=", "SecondLastInst", "->", "getOpcode", "(", ")", ";", "}", "}", "if", "(", "SecondLastInst", "&&", "I", "!=", "MBB", ".", "begin", "(", ")", "&&", "isUnpredicatedTerminator", "(", "*", "--", "I", ")", ")", "return", "true", ";", "if", "(", "isCondBranchOpcode", "(", "SecondLastOpc", ")", "&&", "isUncondBranchOpcode", "(", "LastOpc", ")", ")", "{", "parseCondBranch", "(", "SecondLastInst", ",", "TBB", ",", "Cond", ")", ";", "FBB", "=", "LastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "return", "false", ";", "}", "if", "(", "isUncondBranchOpcode", "(", "SecondLastOpc", ")", "&&", "isUncondBranchOpcode", "(", "LastOpc", ")", ")", "{", "TBB", "=", "SecondLastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "return", "false", ";", "}", "if", "(", "isIndirectBranchOpcode", "(", "SecondLastOpc", ")", "&&", "isUncondBranchOpcode", "(", "LastOpc", ")", ")", "{", "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": ["VE", "VE", "0", "0", "0", "0"], "File": "VEInstrInfo", "Func": "analyzeBranch", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20954, "Length": 384, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "check", "(", "MachineBasicBlock", "&", "BB", ",", "const", "MachineInstr", "&", "MI", ")", "const", "{", "return", "MI", ".", "getNumOperands", "(", ")", ">=", "1", "&&", "MI", ".", "getOpcode", "(", ")", "==", "Opc1", ";", "}", ""], "natrual_language": ["Check", "if", "the", "constraints", "are", "satisfiable", "."], "TS_V_token": ["X86", "1"], "File": "EquivSubst", "Func": "check", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20955, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "const", "MCObjectFileInfo", "::", "Environment", "Format", "=", "getContext", "(", ")", ".", "getObjectFileInfo", "(", ")", "->", "getObjectFileType", "(", ")", ";", "bool", "IsMachO", "=", "Format", "==", "MCObjectFileInfo", "::", "IsMachO", ";", "auto", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ".", "lower", "(", ")", ";", "SMLoc", "Loc", "=", "DirectiveID", ".", "getLoc", "(", ")", ";", "if", "(", "IDVal", "==", "\".arch\"", ")", "parseDirectiveArch", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".cpu\"", ")", "parseDirectiveCPU", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".tlsdesccall\"", ")", "parseDirectiveTLSDescCall", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".ltorg\"", "||", "IDVal", "==", "\".pool\"", ")", "parseDirectiveLtorg", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".unreq\"", ")", "parseDirectiveUnreq", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".inst\"", ")", "parseDirectiveInst", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".cfi_negate_ra_state\"", ")", "parseDirectiveCFINegateRAState", "(", ")", ";", "else", "if", "(", "IDVal", "==", "\".cfi_b_key_frame\"", ")", "parseDirectiveCFIBKeyFrame", "(", ")", ";", "else", "if", "(", "IDVal", "==", "\".arch_extension\"", ")", "parseDirectiveArchExtension", "(", "Loc", ")", ";", "else", "if", "(", "IDVal", "==", "\".variant_pcs\"", ")", "parseDirectiveVariantPCS", "(", "Loc", ")", ";", "else", "if", "(", "IsMachO", ")", "{", "if", "(", "IDVal", "==", "MCLOHDirectiveName", "(", ")", ")", "parseDirectiveLOH", "(", "IDVal", ",", "Loc", ")", ";", "else", "return", "true", ";", "}", "else", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["AArch64", "AArch64", "\".arch\"", "\".cpu\"", "\".tlsdesccall\"", "\".ltorg\"", "\".pool\"", "\".unreq\"", "\".inst\"", "\".cfi_negate_ra_state\"", "\".cfi_b_key_frame\"", "\".arch_extension\"", "\".variant_pcs\""], "File": "AArch64AsmParser104", "Func": "ParseDirective", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20956, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "insn_is_store_p", "(", "rtx", "insn", ")", "{", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "body", ")", "==", "SET", "&&", "GET_CODE", "(", "SET_DEST", "(", "body", ")", ")", "==", "MEM", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "body", ")", "!=", "PARALLEL", ")", "return", "0", ";", "rtx", "set", "=", "XVECEXP", "(", "body", ",", "0", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "set", ")", "==", "SET", "&&", "GET_CODE", "(", "SET_DEST", "(", "set", ")", ")", "==", "MEM", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "1", "iff", "INSN", "is", "a", "store", "insn", ",", "including", "permuting", "stores", "that", "represent", "an", "stvxd2x", "instruction", ";", "else", "return", "0", "."], "TS_V_token": ["rs6000", "1", "0", "0", "0", "1", "0"], "File": "rs6000-p8swap2", "Func": "insn_is_store_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20957, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiInstrInfo", "::", "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": ["Lanai", "Lanai", "\"MIa must be a load or store.\"", "\"MIb must be a load or store.\"", "0", "0", "0", "0"], "File": "LanaiInstrInfo10", "Func": "areMemAccessesTriviallyDisjoint", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20958, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "stackAlignment", "(", ")", "const", "{", "return", "isFP64bit", "(", ")", "?", "16", ":", "8", ";", "}", ""], "natrual_language": ["The", "minimum", "alignment", "known", "to", "hold", "of", "the", "stack", "frame", "on", "entry", "to", "the", "function", "and", "which", "must", "be", "maintained", "by", "every", "function", "."], "TS_V_token": ["Mips", "16", "8"], "File": "MipsSubtarget57", "Func": "stackAlignment", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20959, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "UPTInstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["UPT", "UPT"], "File": "UPTSubtarget", "Func": "getInstrInfo", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20960, "Length": 14, "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": 20961, "Length": 175, "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": 20962, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "canInsertSelect", "(", "const", "MachineBasicBlock", "&", "MBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "unsigned", "TrueReg", ",", "unsigned", "FalseReg", ",", "int", "&", "CondCycles", ",", "int", "&", "TrueCycles", ",", "int", "&", "FalseCycles", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "hasISEL", "(", ")", ")", "return", "false", ";", "if", "(", "Cond", ".", "size", "(", ")", "!=", "2", ")", "return", "false", ";", "if", "(", "Cond", "[", "1", "]", ".", "getReg", "(", ")", "==", "PPC", "::", "CTR", "||", "Cond", "[", "1", "]", ".", "getReg", "(", ")", "==", "PPC", "::", "CTR8", ")", "return", "false", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "RI", ".", "getCommonSubClass", "(", "MRI", ".", "getRegClass", "(", "TrueReg", ")", ",", "MRI", ".", "getRegClass", "(", "FalseReg", ")", ")", ";", "if", "(", "!", "RC", ")", "return", "false", ";", "if", "(", "!", "PPC", "::", "GPRCRegClass", ".", "hasSubClassEq", "(", "RC", ")", "&&", "!", "PPC", "::", "GPRC_NOR0RegClass", ".", "hasSubClassEq", "(", "RC", ")", "&&", "!", "PPC", "::", "G8RCRegClass", ".", "hasSubClassEq", "(", "RC", ")", "&&", "!", "PPC", "::", "G8RC_NOX0RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "return", "false", ";", "CondCycles", "=", "1", ";", "TrueCycles", "=", "1", ";", "FalseCycles", "=", "1", ";", "return", "true", ";", "}", ""], "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": ["PowerPC", "PPC", "2", "1", "PPC::CTR", "1", "PPC::CTR8", "PPC::GPRCRegClass", "PPC::GPRC_NOR0RegClass", "PPC::G8RCRegClass", "PPC::G8RC_NOX0RegClass", "1", "1", "1"], "File": "PPCInstrInfo (3)", "Func": "canInsertSelect", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20963, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_clear", "(", "rtx", "dest", ")", "{", "rtx", "tmp", ";", "gcc_assert", "(", "reload_completed", ")", ";", "if", "(", "GET_MODE_SIZE", "(", "GET_MODE", "(", "dest", ")", ")", "<", "4", ")", "dest", "=", "gen_rtx_REG", "(", "SImode", ",", "REGNO", "(", "dest", ")", ")", ";", "tmp", "=", "gen_rtx_SET", "(", "dest", ",", "const0_rtx", ")", ";", "if", "(", "!", "TARGET_USE_MOV0", "||", "optimize_insn_for_size_p", "(", ")", ")", "{", "rtx", "clob", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "CCmode", ",", "FLAGS_REG", ")", ")", ";", "tmp", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "tmp", ",", "clob", ")", ")", ";", "}", "emit_insn", "(", "tmp", ")", ";", "}", ""], "natrual_language": ["Generate", "either", "``", "mov", "$", "0", ",", "reg", "''", "or", "``", "xor", "reg", ",", "reg", "''", ",", "as", "appropriate", "for", "the", "target", "."], "TS_V_token": ["i386", "4", "2"], "File": "i386-expand", "Func": "ix86_expand_clear", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20964, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "PPCDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "const", "MemoryObject", "&", "Region", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "os", ",", "raw_ostream", "&", "cs", ")", "const", "{", "uint8_t", "Bytes", "[", "4", "]", ";", "Size", "=", "4", ";", "if", "(", "Region", ".", "readBytes", "(", "Address", ",", "Size", ",", "Bytes", ")", "==", "-", "1", ")", "{", "Size", "=", "0", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "uint32_t", "Inst", "=", "(", "Bytes", "[", "0", "]", "<<", "24", ")", "|", "(", "Bytes", "[", "1", "]", "<<", "16", ")", "|", "(", "Bytes", "[", "2", "]", "<<", "8", ")", "|", "(", "Bytes", "[", "3", "]", "<<", "0", ")", ";", "return", "decodeInstruction", "(", "DecoderTable32", ",", "MI", ",", "Inst", ",", "Address", ",", "this", ",", "STI", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["PowerPC", "PPC", "4", "4", "1", "0", "0", "24", "1", "16", "2", "8", "3", "0"], "File": "PPCDisassembler10", "Func": "getInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20965, "Length": 124, "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": 20966, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_check_avx256_register", "(", "const_rtx", "exp", ")", "{", "if", "(", "GET_CODE", "(", "exp", ")", "==", "SUBREG", ")", "exp", "=", "SUBREG_REG", "(", "exp", ")", ";", "return", "(", "REG_P", "(", "exp", ")", "&&", "VALID_AVX256_REG_OR_OI_MODE", "(", "GET_MODE", "(", "exp", ")", ")", ")", ";", "}", ""], "natrual_language": ["Check", "if", "a", "256bit", "AVX", "register", "is", "referenced", "inside", "of", "EXP", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_check_avx256_register", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20967, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addRequired", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AArch64"], "File": "AArch64PromoteConstant (2)", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20968, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64CallLowering", "::", "splitToValueTypes", "(", "const", "ArgInfo", "&", "OrigArg", ",", "SmallVectorImpl", "<", "ArgInfo", ">", "&", "SplitArgs", ",", "const", "DataLayout", "&", "DL", ",", "MachineRegisterInfo", "&", "MRI", ",", "CallingConv", "::", "ID", "CallConv", ",", "const", "SplitArgTy", "&", "PerformArgSplit", ")", "const", "{", "const", "AArch64TargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "AArch64TargetLowering", ">", "(", ")", ";", "LLVMContext", "&", "Ctx", "=", "OrigArg", ".", "Ty", "->", "getContext", "(", ")", ";", "SmallVector", "<", "EVT", ",", "4", ">", "SplitVTs", ";", "SmallVector", "<", "uint64_t", ",", "4", ">", "Offsets", ";", "ComputeValueVTs", "(", "TLI", ",", "DL", ",", "OrigArg", ".", "Ty", ",", "SplitVTs", ",", "&", "Offsets", ",", "0", ")", ";", "if", "(", "SplitVTs", ".", "size", "(", ")", "==", "1", ")", "{", "SplitArgs", ".", "emplace_back", "(", "OrigArg", ".", "Reg", ",", "SplitVTs", "[", "0", "]", ".", "getTypeForEVT", "(", "Ctx", ")", ",", "OrigArg", ".", "Flags", ",", "OrigArg", ".", "IsFixed", ")", ";", "return", ";", "}", "unsigned", "FirstRegIdx", "=", "SplitArgs", ".", "size", "(", ")", ";", "bool", "NeedsRegBlock", "=", "TLI", ".", "functionArgumentNeedsConsecutiveRegisters", "(", "OrigArg", ".", "Ty", ",", "CallConv", ",", "false", ")", ";", "for", "(", "auto", "SplitVT", ":", "SplitVTs", ")", "{", "Type", "*", "SplitTy", "=", "SplitVT", ".", "getTypeForEVT", "(", "Ctx", ")", ";", "SplitArgs", ".", "push_back", "(", "ArgInfo", "{", "MRI", ".", "createGenericVirtualRegister", "(", "getLLTForType", "(", "*", "SplitTy", ",", "DL", ")", ")", ",", "SplitTy", ",", "OrigArg", ".", "Flags", ",", "OrigArg", ".", "IsFixed", "}", ")", ";", "if", "(", "NeedsRegBlock", ")", "SplitArgs", ".", "back", "(", ")", ".", "Flags", ".", "setInConsecutiveRegs", "(", ")", ";", "}", "SplitArgs", ".", "back", "(", ")", ".", "Flags", ".", "setInConsecutiveRegsLast", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Offsets", ".", "size", "(", ")", ";", "++", "i", ")", "PerformArgSplit", "(", "SplitArgs", "[", "FirstRegIdx", "+", "i", "]", ".", "Reg", ",", "Offsets", "[", "i", "]", "*", "8", ")", ";", "}", ""], "natrual_language": ["Break", "OrigArgInfo", "into", "one", "or", "more", "pieces", "the", "calling", "convention", "can", "process", ",", "returned", "in", "SplitArgs", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "4", "4", "0", "1", "0", "0", "8"], "File": "AArch64CallLowering (2)", "Func": "splitToValueTypes", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20969, "Length": 280, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "AArch64TargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "AArch64PassConfig", "(", "*", "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": ["AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine (2)3", "Func": "createPassConfig", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20970, "Length": 22, "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", ":", "return", "fixCommutedOpIndices", "(", "SrcOpIdx1", ",", "SrcOpIdx2", ",", "1", ",", "2", ")", ";", "}", "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", ":", "return", "fixCommutedOpIndices", "(", "SrcOpIdx1", ",", "SrcOpIdx2", ",", "2", ",", "3", ")", ";", "default", ":", "return", "TargetInstrInfo", "::", "findCommutedOpIndices", "(", "MI", ",", "SrcOpIdx1", ",", "SrcOpIdx2", ")", ";", "}", "return", "false", ";", "}", ""], "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": "X86InstrInfo29", "Func": "findCommutedOpIndices", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20971, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "reg_class", "mep_secondary_input_reload_class", "(", "enum", "reg_class", "rclass", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ")", "{", "int", "rv", "=", "NO_REGS", ";", "fprintf", "(", "stderr", ",", "\"secondary input reload copy to %s %s from \"", ",", "reg_class_names", "[", "rclass", "]", ",", "mode_name", "[", "mode", "]", ")", ";", "debug_rtx", "(", "x", ")", ";", "if", "(", "reg_class_subset_p", "(", "rclass", ",", "CR_REGS", ")", ")", "rv", "=", "mep_secondary_copro_reload_class", "(", "rclass", ",", "x", ")", ";", "else", "if", "(", "MEP_NONGENERAL_CLASS", "(", "rclass", ")", "&&", "(", "mep_nonregister", "(", "x", ")", "||", "mep_nongeneral_reg", "(", "x", ")", ")", ")", "rv", "=", "GENERAL_REGS", ";", "fprintf", "(", "stderr", ",", "\" - requires %s\\n\"", ",", "reg_class_names", "[", "rv", "]", ")", ";", "return", "(", "enum", "reg_class", ")", "rv", ";", "}", ""], "natrual_language": ["Copying", "X", "to", "register", "in", "RCLASS", "."], "TS_V_token": ["mep", "\"secondary input reload copy to %s %s from \"", "\" - requires %s\\n\""], "File": "mep", "Func": "mep_secondary_input_reload_class", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20972, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SystemZTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "ZERO_EXTEND", ":", "return", "combineZERO_EXTEND", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "return", "combineSIGN_EXTEND", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SIGN_EXTEND_INREG", ":", "return", "combineSIGN_EXTEND_INREG", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "MERGE_HIGH", ":", "case", "SystemZISD", "::", "MERGE_LOW", ":", "return", "combineMERGE", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "combineLOAD", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "combineSTORE", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "EXTRACT_VECTOR_ELT", ":", "return", "combineEXTRACT_VECTOR_ELT", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "JOIN_DWORDS", ":", "return", "combineJOIN_DWORDS", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "FP_ROUND", ":", "return", "combineFP_ROUND", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "BSWAP", ":", "return", "combineBSWAP", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "BR_CCMASK", ":", "return", "combineBR_CCMASK", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "SELECT_CCMASK", ":", "return", "combineSELECT_CCMASK", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "GET_CCMASK", ":", "return", "combineGET_CCMASK", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SDIV", ":", "case", "ISD", "::", "UDIV", ":", "case", "ISD", "::", "SREM", ":", "case", "ISD", "::", "UREM", ":", "return", "combineIntDIVREM", "(", "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": ["SystemZ", "SystemZ", "ISD::ZERO_EXTEND", "ISD::SIGN_EXTEND", "ISD::SIGN_EXTEND_INREG", "SystemZISD::MERGE_HIGH", "SystemZISD::MERGE_LOW", "ISD::LOAD", "ISD::STORE", "ISD::EXTRACT_VECTOR_ELT", "SystemZISD::JOIN_DWORDS", "ISD::FP_ROUND", "ISD::BSWAP", "SystemZISD::BR_CCMASK", "SystemZISD::SELECT_CCMASK", "SystemZISD::GET_CCMASK", "ISD::SDIV", "ISD::UDIV", "ISD::SREM", "ISD::UREM"], "File": "SystemZISelLowering3", "Func": "PerformDAGCombine", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20973, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PassConfig", "::", "addPreISel", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnablePromoteConstant", ")", "addPass", "(", "createAArch64PromoteConstantPass", "(", ")", ")", ";", "if", "(", "(", "TM", "->", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "Aggressive", "&&", "EnableGlobalMerge", "==", "cl", "::", "BOU_UNSET", ")", "||", "EnableGlobalMerge", "==", "cl", "::", "BOU_TRUE", ")", "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": "AArch64TargetMachine70", "Func": "addPreISel", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20974, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64BranchTargets", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "!", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", "->", "branchTargetEnforcement", "(", ")", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** AArch64 Branch Targets **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "SmallPtrSet", "<", "MachineBasicBlock", "*", ",", "8", ">", "JumpTableTargets", ";", "if", "(", "auto", "*", "JTI", "=", "MF", ".", "getJumpTableInfo", "(", ")", ")", "for", "(", "auto", "&", "JTE", ":", "JTI", "->", "getJumpTables", "(", ")", ")", "for", "(", "auto", "*", "MBB", ":", "JTE", ".", "MBBs", ")", "JumpTableTargets", ".", "insert", "(", "MBB", ")", ";", "bool", "MadeChange", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "bool", "CouldCall", "=", "false", ",", "CouldJump", "=", "false", ";", "if", "(", "&", "MBB", "==", "&", "*", "MF", ".", "begin", "(", ")", ")", "CouldCall", "=", "true", ";", "if", "(", "MBB", ".", "hasAddressTaken", "(", ")", "||", "JumpTableTargets", ".", "count", "(", "&", "MBB", ")", ")", "CouldJump", "=", "true", ";", "if", "(", "CouldCall", "||", "CouldJump", ")", "{", "addBTI", "(", "MBB", ",", "CouldCall", ",", "CouldJump", ")", ";", "MadeChange", "=", "true", ";", "}", "}", "return", "MadeChange", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "\"********** AArch64 Branch Targets **********\\n\"", "\"********** Function: \"", "8"], "File": "AArch64BranchTargets2", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20975, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZPassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createSystemZShortenInstPass", "(", "getSystemZTargetMachine", "(", ")", ")", ",", "false", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createSystemZElimComparePass", "(", "getSystemZTargetMachine", "(", ")", ")", ",", "false", ")", ";", "addPass", "(", "createSystemZLongBranchPass", "(", "getSystemZTargetMachine", "(", ")", ")", ")", ";", "}", ""], "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": "SystemZTargetMachine31", "Func": "addPreEmitPass", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20976, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mmix_conditional_register_usage", "(", ")", "{", "int", "i", ";", "if", "(", "TARGET_ABI_GNU", ")", "{", "static", "const", "int", "gnu_abi_reg_alloc_order", "[", "]", "=", "MMIX_GNU_ABI_REG_ALLOC_ORDER", ";", "for", "(", "i", "=", "0", ";", "i", "<", "FIRST_PSEUDO_REGISTER", ";", "i", "++", ")", "reg_alloc_order", "[", "i", "]", "=", "gnu_abi_reg_alloc_order", "[", "i", "]", ";", "for", "(", "i", "=", "15", ";", "i", "<=", "30", ";", "i", "++", ")", "call_used_regs", "[", "i", "]", "=", "0", ";", "for", "(", "i", "=", "MMIX_RESERVED_GNU_ARG_0_REGNUM", ";", "i", "<", "MMIX_RESERVED_GNU_ARG_0_REGNUM", "+", "MMIX_MAX_ARGS_IN_REGS", ";", "i", "++", ")", "fixed_regs", "[", "i", "]", "=", "0", ";", "}", "if", "(", "!", "TARGET_TOPLEVEL_SYMBOLS", ")", "for", "(", "i", "=", "0", ";", "i", "<", "FIRST_PSEUDO_REGISTER", ";", "i", "++", ")", "if", "(", "reg_names", "[", "i", "]", "[", "0", "]", "==", "':'", ")", "reg_names", "[", "i", "]", "++", ";", "}", ""], "natrual_language": ["CONDITIONAL_REGISTER_USAGE", "."], "TS_V_token": ["mmix", "0", "15", "30", "0", "0", "0", "0"], "File": "mmix2", "Func": "mmix_conditional_register_usage", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20977, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "unsigned", "VReg", ")", "const", "{", "assert", "(", "!", "Val", "==", "!", "VReg", "&&", "\"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", ",", "VReg", ",", "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": "ARMCallLowering13", "Func": "lowerReturn", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20978, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LC2200InstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "StringRef", "(", "getRegisterName", "(", "RegNo", ")", ")", ".", "lower", "(", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["LC2200", "LC2200"], "File": "LC2200InstPrinter", "Func": "printRegName", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20979, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcPassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAtomicExpandPass", "(", "&", "getSparcTargetMachine", "(", ")", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc"], "File": "SparcTargetMachine1", "Func": "addIRPasses", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20980, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isVectorShiftByScalarCheap", "(", "Type", "*", "Ty", ")", "const", "{", "unsigned", "Bits", "=", "Ty", "->", "getScalarSizeInBits", "(", ")", ";", "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", "16", "32", "64", "32", "64", "16"], "File": "X86ISelLowering100", "Func": "isVectorShiftByScalarCheap", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20981, "Length": 89, "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": 20982, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "static", "void", "aarch64_print_hint_for_arch", "(", "const", "char", "*", "str", ")", "{", "aarch64_print_hint_for_core_or_arch", "(", "str", ",", "true", ")", ";", "}", ""], "natrual_language": ["Print", "a", "hint", "with", "a", "suggestion", "for", "an", "architecture", "name", "that", "most", "closely", "resembles", "what", "the", "user", "passed", "in", "STR", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_print_hint_for_arch", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20983, "Length": 19, "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": 20984, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "interesting_frame_related_regno", "(", "unsigned", "int", "regno", ")", "{", "if", "(", "regno", "==", "0", ")", "return", "true", ";", "if", "(", "regno", "==", "CR2_REGNO", ")", "return", "true", ";", "return", "save_reg_p", "(", "regno", ")", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "when", "rs6000_frame_related", "is", "processing", "SETs", "within", "a", "PARALLEL", ",", "and", "returns", "whether", "the", "REGNO", "save", "ought", "to", "be", "marked", "RTX_FRAME_RELATED_P", ".", "The", "PARALLELs", "involved", "are", "those", "for", "out-of-line", "register", "save", "functions", ",", "store", "multiple", ",", "and", "the", "Darwin", "world_save", ".", "They", "may", "contain", "registers", "that", "do", "n't", "really", "need", "saving", "."], "TS_V_token": ["rs6000", "0"], "File": "rs6000-logue", "Func": "interesting_frame_related_regno", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20985, "Length": 34, "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", "(", ")", ")", ";", "addPass", "(", "createBarrierNoopPass", "(", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["ARM", "ARM", "127"], "File": "ARMTargetMachine1", "Func": "addPreISel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20986, "Length": 125, "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": 20987, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCFrameLowering", "::", "getTOCSaveOffset", "(", ")", "const", "{", "return", "TOCSaveOffset", ";", "}", ""], "natrual_language": ["getTOCSaveOffset", "-", "Return", "the", "previous", "frame", "offset", "to", "save", "the", "TOC", "register", "\ufffd", "?", "64-bit", "SVR4", "ABI", "only", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCFrameLowering3", "Func": "getTOCSaveOffset", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20988, "Length": 12, "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": 20989, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToReg", "(", "unsigned", "ValVReg", ",", "unsigned", "PhysReg", ",", "CCValAssign", "&", "VA", ")", "override", "{", "MIB", ".", "addDef", "(", "PhysReg", ",", "RegState", "::", "Implicit", ")", ";", "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": "X86CallLowering5", "Func": "assignValueToReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20990, "Length": 36, "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\"", ")", ")", "{", "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", "==", "\".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", "\".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_stackalign\"", "\".cv_fpo_endprologue\"", "\".cv_fpo_endproc\"", "\".seh_pushreg\"", "\".seh_setframe\"", "\".seh_savereg\"", "\".seh_savexmm\"", "\".seh_pushframe\""], "File": "X86AsmParser (2)5", "Func": "ParseDirective", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20991, "Length": 448, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "areMemAccessesTriviallyDisjoint", "(", "const", "MachineInstr", "&", "MIa", ",", "const", "MachineInstr", "&", "MIb", ")", "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": "PPCInstrInfo", "Func": "areMemAccessesTriviallyDisjoint", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20992, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmPrinter", "::", "lowerOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCOperand", "&", "MCOp", ")", "{", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "default", ":", "assert", "(", "0", "&&", "\"unknown operand type\"", ")", ";", "return", "false", ";", "case", "MachineOperand", "::", "MO_Register", ":", "if", "(", "MO", ".", "isImplicit", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "!=", "ARM", "::", "CPSR", ")", "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", ",", "Mang", "->", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ")", ";", "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", ":", "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", "::", "CreateFPImm", "(", "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", "0", "\"unknown operand type\"", "ARM::CPSR", "\"Subregs should be eliminated!\""], "File": "ARMMCInstLower28", "Func": "lowerOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20993, "Length": 324, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "UPTSubtarget", "*", "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": ["UPT", "UPT"], "File": "UPTTargetMachine", "Func": "getSubtargetImpl", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20994, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "classifyLEAReg", "(", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "&", "Src", ",", "unsigned", "Opc", ",", "bool", "AllowSP", ",", "Register", "&", "NewSrc", ",", "bool", "&", "isKill", ",", "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", ";", "}", "Register", "SrcReg", "=", "Src", ".", "getReg", "(", ")", ";", "if", "(", "Opc", "!=", "X86", "::", "LEA64_32r", ")", "{", "NewSrc", "=", "SrcReg", ";", "isKill", "=", "Src", ".", "isKill", "(", ")", ";", "assert", "(", "!", "Src", ".", "isUndef", "(", ")", "&&", "\"Undef op doesn't need optimization\"", ")", ";", "if", "(", "Register", "::", "isVirtualRegister", "(", "NewSrc", ")", "&&", "!", "MF", ".", "getRegInfo", "(", ")", ".", "constrainRegClass", "(", "NewSrc", ",", "RC", ")", ")", "return", "false", ";", "return", "true", ";", "}", "if", "(", "Register", "::", "isPhysicalRegister", "(", "SrcReg", ")", ")", "{", "ImplicitOp", "=", "Src", ";", "ImplicitOp", ".", "setImplicit", "(", ")", ";", "NewSrc", "=", "getX86SubSuperRegister", "(", "Src", ".", "getReg", "(", ")", ",", "64", ")", ";", "isKill", "=", "Src", ".", "isKill", "(", ")", ";", "assert", "(", "!", "Src", ".", "isUndef", "(", ")", "&&", "\"Undef op doesn't need optimization\"", ")", ";", "}", "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", ")", ".", "add", "(", "Src", ")", ";", "isKill", "=", "true", ";", "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", "\"Undef op doesn't need optimization\"", "X86", "64", "\"Undef op doesn't need optimization\"", "X86::sub_32bit"], "File": "X86InstrInfo106", "Func": "classifyLEAReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20995, "Length": 320, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "aarch64_promoted_type", "(", "const_tree", "t", ")", "{", "if", "(", "SCALAR_FLOAT_TYPE_P", "(", "t", ")", "&&", "TYPE_MAIN_VARIANT", "(", "t", ")", "==", "aarch64_fp16_type_node", ")", "return", "float_type_node", ";", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PROMOTED_TYPE", "to", "promote", "__fp16", "to", "float", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_promoted_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20996, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_evpc_neon_vrev", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "int", "i", ",", "j", ",", "diff", ",", "nelt", "=", "d", "->", "perm", ".", "length", "(", ")", ";", "rtx", "(", "*", "gen", ")", "(", "machine_mode", ",", "rtx", ",", "rtx", ")", ";", "if", "(", "!", "d", "->", "one_vector_p", ")", "return", "false", ";", "diff", "=", "d", "->", "perm", "[", "0", "]", ";", "switch", "(", "diff", ")", "{", "case", "7", ":", "switch", "(", "d", "->", "vmode", ")", "{", "case", "E_V16QImode", ":", "case", "E_V8QImode", ":", "gen", "=", "gen_neon_vrev64", ";", "break", ";", "default", ":", "return", "false", ";", "}", "break", ";", "case", "3", ":", "switch", "(", "d", "->", "vmode", ")", "{", "case", "E_V16QImode", ":", "case", "E_V8QImode", ":", "gen", "=", "gen_neon_vrev32", ";", "break", ";", "case", "E_V8HImode", ":", "case", "E_V4HImode", ":", "case", "E_V8HFmode", ":", "case", "E_V4HFmode", ":", "gen", "=", "gen_neon_vrev64", ";", "break", ";", "default", ":", "return", "false", ";", "}", "break", ";", "case", "1", ":", "switch", "(", "d", "->", "vmode", ")", "{", "case", "E_V16QImode", ":", "case", "E_V8QImode", ":", "gen", "=", "gen_neon_vrev16", ";", "break", ";", "case", "E_V8HImode", ":", "case", "E_V4HImode", ":", "gen", "=", "gen_neon_vrev32", ";", "break", ";", "case", "E_V4SImode", ":", "case", "E_V2SImode", ":", "case", "E_V4SFmode", ":", "case", "E_V2SFmode", ":", "gen", "=", "gen_neon_vrev64", ";", "break", ";", "default", ":", "return", "false", ";", "}", "break", ";", "default", ":", "return", "false", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "i", "+=", "diff", "+", "1", ")", "for", "(", "j", "=", "0", ";", "j", "<=", "diff", ";", "j", "+=", "1", ")", "{", "gcc_assert", "(", "i", "+", "j", "<", "nelt", ")", ";", "if", "(", "d", "->", "perm", "[", "i", "+", "j", "]", "!=", "i", "+", "diff", "-", "j", ")", "return", "false", ";", "}", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "emit_insn", "(", "gen", "(", "d", "->", "vmode", ",", "d", "->", "target", ",", "d", "->", "op0", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "for", "the", "VREV", "insns", "."], "TS_V_token": ["arm", "0", "7", "3", "1", "0", "1", "0", "1"], "File": "arm", "Func": "arm_evpc_neon_vrev", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20997, "Length": 301, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"SPARC Delay Slot Filler\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Sparc", "\"SPARC Delay Slot Filler\""], "File": "DelaySlotFiller (2)", "Func": "getPassName", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 20998, "Length": 13, "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", "E_V2SImode", ":", "{", "rtx", "t1", ",", "t2", ",", "mask", ";", "mask", "=", "gen_int_mode", "(", "0x80000000", ",", "SImode", ")", ";", "mask", "=", "gen_const_vec_duplicate", "(", "V2SImode", ",", "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", "E_V8QImode", ":", "case", "E_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"], "File": "ia64", "Func": "ia64_expand_vecint_compare", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 20999, "Length": 308, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintType", "DCPU16TargetLowering", "::", "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": ["Dcpu16", "DCPU16", "1", "0"], "File": "Dcpu16ISelLowering", "Func": "getConstraintType", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21000, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rx_function_arg", "(", "cumulative_args_t", "cum", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "unsigned", "int", "next_reg", ";", "unsigned", "int", "bytes_so_far", "=", "*", "get_cumulative_args", "(", "cum", ")", ";", "unsigned", "int", "size", ";", "unsigned", "int", "rounded_size", ";", "size", "=", "(", "mode", "==", "BLKmode", ")", "?", "int_size_in_bytes", "(", "type", ")", ":", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "size", "<", "1", ")", "return", "NULL_RTX", ";", "rounded_size", "=", "rx_round_up", "(", "size", ",", "UNITS_PER_WORD", ")", ";", "if", "(", "rounded_size", "+", "bytes_so_far", ">", "MAX_NUM_ARG_BYTES", ")", "return", "NULL_RTX", ";", "if", "(", "!", "named", ")", "return", "NULL_RTX", ";", "if", "(", "(", "type", "==", "NULL", "||", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "&&", "(", "size", "%", "UNITS_PER_WORD", ")", "!=", "0", ")", "return", "NULL_RTX", ";", "next_reg", "=", "(", "bytes_so_far", "/", "UNITS_PER_WORD", ")", "+", "1", ";", "return", "gen_rtx_REG", "(", "mode", ",", "next_reg", ")", ";", "}", ""], "natrual_language": ["Return", "an", "RTL", "expression", "describing", "the", "register", "holding", "a", "function", "parameter", "of", "mode", "MODE", "and", "type", "TYPE", "or", "NULL_RTX", "if", "the", "parameter", "should", "be", "passed", "on", "the", "stack", ".", "CUM", "describes", "the", "previous", "parameters", "to", "the", "function", "and", "NAMED", "is", "false", "if", "the", "parameter", "is", "part", "of", "a", "variable", "parameter", "list", ",", "or", "the", "last", "named", "parameter", "before", "the", "start", "of", "a", "variable", "parameter", "list", "."], "TS_V_token": ["rx", "1", "0", "1"], "File": "rx2", "Func": "rx_function_arg", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21001, "Length": 137, "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": 21002, "Length": 283, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "DCPU16FrameLowering", "::", "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", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DCPU16MachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "DCPU16MachineFunctionInfo", ">", "(", ")", ";", "MFI", "->", "setCalleeSavedFrameSize", "(", "CSI", ".", "size", "(", ")", ")", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "DCPU16", "::", "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": ["Dcpu16", "DCPU16", "DCPU16", "DCPU16", "0", "1", "DCPU16::PUSH16r"], "File": "Dcpu16FrameLowering", "Func": "spillCalleeSavedRegisters", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21003, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mep_insn_dependent_p_1", "(", "rtx", "x", ",", "const_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", "ms1_insn_dependent_p", "called", "through", "note_stores", "."], "TS_V_token": ["mep"], "File": "mep", "Func": "mep_insn_dependent_p_1", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21004, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "loongarch_function_value_1", "(", "const_tree", "type", ",", "const_tree", "func", ",", "machine_mode", "mode", ")", "{", "struct", "loongarch_arg_info", "info", ";", "CUMULATIVE_ARGS", "args", ";", "if", "(", "type", ")", "{", "int", "unsigned_p", "=", "TYPE_UNSIGNED", "(", "type", ")", ";", "mode", "=", "TYPE_MODE", "(", "type", ")", ";", "mode", "=", "promote_function_mode", "(", "type", ",", "mode", ",", "&", "unsigned_p", ",", "func", ",", "1", ")", ";", "}", "memset", "(", "&", "args", ",", "0", ",", "sizeof", "(", "args", ")", ")", ";", "return", "loongarch_get_arg_info", "(", "&", "info", ",", "&", "args", ",", "mode", ",", "type", ",", "true", ",", "true", ")", ";", "}", ""], "natrual_language": ["Implement", "FUNCTION_VALUE", "and", "LIBCALL_VALUE", ".", "For", "normal", "calls", ",", "VALTYPE", "is", "the", "return", "type", "and", "MODE", "is", "VOIDmode", ".", "For", "libcalls", ",", "VALTYPE", "is", "null", "and", "MODE", "is", "the", "mode", "of", "the", "return", "value", "."], "TS_V_token": ["loongarch", "1", "0"], "File": "loongarch", "Func": "loongarch_function_value_1", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21005, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 DAG->DAG Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 DAG->DAG Instruction Selection\""], "File": "X86ISelDAGToDAG (2)1", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21006, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "memory_address_length", "(", "rtx", "addr", ")", "{", "struct", "ix86_address", "parts", ";", "rtx", "base", ",", "index", ",", "disp", ";", "int", "len", ";", "int", "ok", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PRE_DEC", "||", "GET_CODE", "(", "addr", ")", "==", "POST_INC", "||", "GET_CODE", "(", "addr", ")", "==", "PRE_MODIFY", "||", "GET_CODE", "(", "addr", ")", "==", "POST_MODIFY", ")", "return", "0", ";", "ok", "=", "ix86_decompose_address", "(", "addr", ",", "&", "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", ")", ";", "base", "=", "parts", ".", "base", ";", "index", "=", "parts", ".", "index", ";", "disp", "=", "parts", ".", "disp", ";", "len", "=", "0", ";", "if", "(", "base", "&&", "!", "index", "&&", "!", "disp", ")", "{", "if", "(", "addr", "==", "stack_pointer_rtx", "||", "addr", "==", "arg_pointer_rtx", "||", "addr", "==", "frame_pointer_rtx", "||", "addr", "==", "hard_frame_pointer_rtx", ")", "len", "=", "1", ";", "}", "else", "if", "(", "disp", "&&", "!", "base", "&&", "!", "index", ")", "len", "=", "4", ";", "else", "{", "if", "(", "disp", ")", "{", "if", "(", "GET_CODE", "(", "disp", ")", "==", "CONST_INT", "&&", "CONST_OK_FOR_LETTER_P", "(", "INTVAL", "(", "disp", ")", ",", "'K'", ")", "&&", "base", ")", "len", "=", "1", ";", "else", "len", "=", "4", ";", "}", "else", "if", "(", "base", "==", "hard_frame_pointer_rtx", ")", "len", "=", "1", ";", "if", "(", "index", "||", "base", "==", "stack_pointer_rtx", "||", "base", "==", "arg_pointer_rtx", "||", "base", "==", "frame_pointer_rtx", ")", "len", "+=", "1", ";", "}", "return", "len", ";", "}", ""], "natrual_language": ["Calculate", "the", "length", "of", "the", "memory", "address", "in", "the", "instruction", "encoding", ".", "Does", "not", "include", "the", "one-byte", "modrm", ",", "opcode", ",", "or", "prefix", "."], "TS_V_token": ["i386", "0", "0", "1", "4", "1", "4", "1", "1"], "File": "i3863", "Func": "memory_address_length", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21007, "Length": 269, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_output_aligned_bss", "(", "FILE", "*", "stream", ",", "tree", "decl", ",", "const", "char", "*", "name", ",", "unsigned", "HOST_WIDE_INT", "size", ",", "int", "align", ")", "{", "extern", "tree", "last_assemble_variable_decl", ";", "if", "(", "mips_in_small_data_p", "(", "decl", ")", ")", "named_section", "(", "0", ",", "\".sbss\"", ",", "0", ")", ";", "else", "bss_section", "(", ")", ";", "ASM_OUTPUT_ALIGN", "(", "stream", ",", "floor_log2", "(", "align", "/", "BITS_PER_UNIT", ")", ")", ";", "last_assemble_variable_decl", "=", "decl", ";", "ASM_DECLARE_OBJECT_NAME", "(", "stream", ",", "name", ",", "decl", ")", ";", "ASM_OUTPUT_SKIP", "(", "stream", ",", "size", "!=", "0", "?", "size", ":", "1", ")", ";", "}", ""], "natrual_language": ["Implement", "ASM_OUTPUT_ALIGNED_BSS", ".", "This", "differs", "from", "the", "default", "only", "in", "the", "use", "of", "sbss", "."], "TS_V_token": ["mips", "0", "\".sbss\"", "0", "0", "1"], "File": "mips3", "Func": "mips_output_aligned_bss", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21008, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "getCallFrameSize", "(", ")", "override", "final", "{", "return", "SystemZMC", "::", "ELFCallFrameSize", ";", "}", ""], "natrual_language": ["Return", "the", "call", "frame", "size", "on", "entry", "to", "this", "basic", "block", "."], "TS_V_token": ["SystemZ", "SystemZMC::ELFCallFrameSize"], "File": "SystemZRegisterInfo17", "Func": "getCallFrameSize", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21009, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "X86TargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "LLT", "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)5", "Func": "getRegisterByName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21010, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "scalar_chain", "::", "mark_dual_mode_def", "(", "df_ref", "def", ")", "{", "gcc_assert", "(", "DF_REF_REG_DEF_P", "(", "def", ")", ")", ";", "if", "(", "bitmap_bit_p", "(", "defs_conv", ",", "DF_REF_REGNO", "(", "def", ")", ")", ")", "return", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\" Mark r%d def in insn %d as requiring both modes in chain #%d\\n\"", ",", "DF_REF_REGNO", "(", "def", ")", ",", "DF_REF_INSN_UID", "(", "def", ")", ",", "chain_id", ")", ";", "bitmap_set_bit", "(", "defs_conv", ",", "DF_REF_REGNO", "(", "def", ")", ")", ";", "}", ""], "natrual_language": ["For", "DImode", "conversion", ",", "mark", "register", "defined", "by", "DEF", "as", "requiring", "conversion", "."], "TS_V_token": ["i386", "\" Mark r%d def in insn %d as requiring both modes in chain #%d\\n\""], "File": "i3865", "Func": "mark_dual_mode_def", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21011, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMCallLowering", "::", "splitToValueTypes", "(", "const", "ArgInfo", "&", "OrigArg", ",", "SmallVectorImpl", "<", "ArgInfo", ">", "&", "SplitArgs", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "ARMTargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "ARMTargetLowering", ">", "(", ")", ";", "LLVMContext", "&", "Ctx", "=", "OrigArg", ".", "Ty", "->", "getContext", "(", ")", ";", "const", "DataLayout", "&", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "SmallVector", "<", "EVT", ",", "4", ">", "SplitVTs", ";", "ComputeValueVTs", "(", "TLI", ",", "DL", ",", "OrigArg", ".", "Ty", ",", "SplitVTs", ",", "nullptr", ",", "nullptr", ",", "0", ")", ";", "assert", "(", "OrigArg", ".", "Regs", ".", "size", "(", ")", "==", "SplitVTs", ".", "size", "(", ")", "&&", "\"Regs / types mismatch\"", ")", ";", "if", "(", "SplitVTs", ".", "size", "(", ")", "==", "1", ")", "{", "auto", "Flags", "=", "OrigArg", ".", "Flags", "[", "0", "]", ";", "Flags", ".", "setOrigAlign", "(", "DL", ".", "getABITypeAlign", "(", "OrigArg", ".", "Ty", ")", ")", ";", "SplitArgs", ".", "emplace_back", "(", "OrigArg", ".", "Regs", "[", "0", "]", ",", "SplitVTs", "[", "0", "]", ".", "getTypeForEVT", "(", "Ctx", ")", ",", "Flags", ",", "OrigArg", ".", "IsFixed", ")", ";", "return", ";", "}", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "SplitVTs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "EVT", "SplitVT", "=", "SplitVTs", "[", "i", "]", ";", "Type", "*", "SplitTy", "=", "SplitVT", ".", "getTypeForEVT", "(", "Ctx", ")", ";", "auto", "Flags", "=", "OrigArg", ".", "Flags", "[", "0", "]", ";", "Flags", ".", "setOrigAlign", "(", "DL", ".", "getABITypeAlign", "(", "SplitTy", ")", ")", ";", "bool", "NeedsConsecutiveRegisters", "=", "TLI", ".", "functionArgumentNeedsConsecutiveRegisters", "(", "SplitTy", ",", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ")", ";", "if", "(", "NeedsConsecutiveRegisters", ")", "{", "Flags", ".", "setInConsecutiveRegs", "(", ")", ";", "if", "(", "i", "==", "e", "-", "1", ")", "Flags", ".", "setInConsecutiveRegsLast", "(", ")", ";", "}", "Register", "PartReg", "=", "OrigArg", ".", "Regs", "[", "i", "]", ";", "SplitArgs", ".", "emplace_back", "(", "PartReg", ",", "SplitTy", ",", "Flags", ",", "OrigArg", ".", "IsFixed", ")", ";", "}", "}", ""], "natrual_language": ["Break", "OrigArgInfo", "into", "one", "or", "more", "pieces", "the", "calling", "convention", "can", "process", ",", "returned", "in", "SplitArgs", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "4", "0", "\"Regs / types mismatch\"", "1", "0", "0", "0", "0", "0", "1"], "File": "ARMCallLowering19", "Func": "splitToValueTypes", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21012, "Length": 321, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARM64TTI", "::", "PopcntSupportKind", "ARM64TTI", "::", "getPopcntSupport", "(", "unsigned", "TyWidth", ")", "const", "{", "assert", "(", "isPowerOf2_32", "(", "TyWidth", ")", "&&", "\"Ty width must be power of 2\"", ")", ";", "if", "(", "TyWidth", "==", "32", "||", "TyWidth", "==", "64", ")", "return", "PSK_FastHardware", ";", "return", "PSK_Software", ";", "}", ""], "natrual_language": ["Return", "hardware", "support", "for", "population", "count", "."], "TS_V_token": ["ARM64", "ARM64TTI::PopcntSupportKind", "ARM64TTI::getPopcntSupport", "\"Ty width must be power of 2\"", "32", "64"], "File": "ARM64TargetTransformInfo", "Func": "getPopcntSupport", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21013, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "MCP", "=", "MF", ".", "getConstantPool", "(", ")", ";", "if", "(", "Subtarget", "->", "isTargetNaCl", "(", ")", ")", "{", "NaClAlignAllJumpTargetsAndConstantPools", "(", "MF", ")", ";", "}", "return", "AsmPrinter", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMAsmPrinter97", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21014, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "LoopInfo", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "LoopInfo", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "ScalarEvolution", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["PowerPC"], "File": "PPCCTRLoops18", "Func": "getAnalysisUsage", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21015, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "is_float128_p", "(", "tree", "t", ")", "{", "return", "(", "t", "==", "float128_type_node", "||", "(", "t", "&&", "t", "==", "float128t_type_node", ")", "||", "(", "TARGET_IEEEQUAD", "&&", "TARGET_LONG_DOUBLE_128", "&&", "t", "==", "long_double_type_node", ")", ")", ";", "}", ""], "natrual_language": ["Check", "whether", "the", "type", "of", "an", "argument", ",", "T", ",", "is", "compatible", "with", "a", "type", "ID", "stored", "into", "a", "struct", "altivec_builtin_types", ".", "Integer", "types", "are", "considered", "compatible", ";", "otherwise", ",", "the", "language", "hook", "lang_hooks.types_compatible_p", "makes", "the", "decision", ".", "Also", "allow", "long", "double", "and", "_Float128", "to", "be", "compatible", "if", "-mabi=ieeelongdouble", "."], "TS_V_token": ["rs6000"], "File": "rs6000-c1", "Func": "is_float128_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21016, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "DLXInstrInfo", "::", "isLoadFromStackSlotPostFE", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "return", "1", ";", "}", ""], "natrual_language": ["isLoadFromStackSlotPostFE", "-", "Check", "for", "post-frame", "ptr", "elimination", "stack", "locations", "as", "well", "."], "TS_V_token": ["DLX", "DLX", "1"], "File": "DLXInstrInfo", "Func": "isLoadFromStackSlotPostFE", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21017, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_get_cprestore_base_and_offset", "(", "rtx", "*", "base", ",", "HOST_WIDE_INT", "*", "offset", ",", "bool", "load_p", ")", "{", "const", "struct", "mips_frame_info", "*", "frame", ";", "frame", "=", "&", "cfun", "->", "machine", "->", "frame", ";", "if", "(", "frame_pointer_needed", "&&", "!", "(", "TARGET_CPRESTORE_DIRECTIVE", "&&", "!", "load_p", ")", ")", "{", "*", "base", "=", "hard_frame_pointer_rtx", ";", "*", "offset", "=", "frame", "->", "args_size", "-", "frame", "->", "hard_frame_pointer_offset", ";", "}", "else", "{", "*", "base", "=", "stack_pointer_rtx", ";", "*", "offset", "=", "frame", "->", "args_size", ";", "}", "}", ""], "natrual_language": ["Fill", "*", "BASE", "and", "*", "OFFSET", "such", "that", "*", "BASE", "+", "*", "OFFSET", "refers", "to", "the", "cprestore", "slot", ".", "LOAD_P", "is", "true", "if", "the", "caller", "wants", "to", "load", "from", "the", "cprestore", "slot", ";", "it", "is", "false", "if", "the", "caller", "wants", "to", "store", "to", "the", "slot", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_get_cprestore_base_and_offset", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21018, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZTargetLowering", "::", "hasInlineStackProbe", "(", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"probe-stack\"", ")", ")", "return", "MF", ".", "getFunction", "(", ")", ".", "getFnAttribute", "(", "\"probe-stack\"", ")", ".", "getValueAsString", "(", ")", "==", "\"inline-asm\"", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "stack", "probing", "through", "inline", "assembly", "is", "requested", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"probe-stack\"", "\"probe-stack\"", "\"inline-asm\""], "File": "SystemZISelLowering (2)2", "Func": "hasInlineStackProbe", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21019, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "or1k_expand_move", "(", "machine_mode", "mode", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "if", "(", "MEM_P", "(", "op0", ")", ")", "{", "if", "(", "!", "const0_operand", "(", "op1", ",", "mode", ")", ")", "op1", "=", "force_reg", "(", "mode", ",", "op1", ")", ";", "}", "else", "if", "(", "mode", "==", "QImode", "||", "mode", "==", "HImode", ")", "{", "}", "else", "{", "switch", "(", "GET_CODE", "(", "op1", ")", ")", "{", "case", "CONST_INT", ":", "if", "(", "!", "input_operand", "(", "op1", ",", "mode", ")", ")", "{", "HOST_WIDE_INT", "i", "=", "INTVAL", "(", "op1", ")", ";", "HOST_WIDE_INT", "lo", "=", "i", "&", "0xffff", ";", "HOST_WIDE_INT", "hi", "=", "i", "^", "lo", ";", "rtx", "subtarget", "=", "op0", ";", "if", "(", "!", "cse_not_expected", "&&", "can_create_pseudo_p", "(", ")", ")", "subtarget", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "subtarget", ",", "GEN_INT", "(", "hi", ")", ")", ")", ";", "emit_insn", "(", "gen_iorsi3", "(", "op0", ",", "subtarget", ",", "GEN_INT", "(", "lo", ")", ")", ")", ";", "return", ";", "}", "break", ";", "case", "CONST", ":", "case", "SYMBOL_REF", ":", "case", "LABEL_REF", ":", "op1", "=", "or1k_legitimize_address_1", "(", "op1", ",", "op0", ")", ";", "break", ";", "default", ":", "break", ";", "}", "}", "emit_insn", "(", "gen_rtx_SET", "(", "op0", ",", "op1", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "the", "patterns", "``", "movqi", "''", ",", "``", "movqi", "''", "and", "``", "movsi", "''", ".", "The", "argument", "OP0", "is", "the", "destination", "and", "OP1", "is", "the", "source", ".", "This", "expands", "to", "set", "OP0", "to", "OP1", ".", "OpenRISC", "can", "not", "do", "memory", "to", "memory", "assignments", "so", "for", "those", "cases", "we", "force", "one", "argument", "to", "a", "register", ".", "Constants", "that", "ca", "n't", "fit", "into", "a", "16-bit", "immediate", "are", "split", ".", "Symbols", "are", "legitimized", "using", "split", "relocations", "."], "TS_V_token": ["or1k", "0xffff"], "File": "or1k", "Func": "or1k_expand_move", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21020, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "tree", "def_builtin", "(", "HOST_WIDE_INT", "mask", ",", "const", "char", "*", "name", ",", "enum", "ix86_builtin_func_type", "tcode", ",", "enum", "ix86_builtins", "code", ")", "{", "tree", "decl", "=", "NULL_TREE", ";", "if", "(", "!", "(", "mask", "&", "OPTION_MASK_ISA_64BIT", ")", "||", "TARGET_64BIT", ")", "{", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "isa", "=", "mask", ";", "mask", "&=", "~", "OPTION_MASK_ISA_64BIT", ";", "if", "(", "mask", "==", "0", "||", "(", "mask", "&", "ix86_isa_flags", ")", "!=", "0", "||", "(", "lang_hooks", ".", "builtin_function", "==", "lang_hooks", ".", "builtin_function_ext_scope", ")", ")", "{", "tree", "type", "=", "ix86_get_builtin_func_type", "(", "tcode", ")", ";", "decl", "=", "add_builtin_function", "(", "name", ",", "type", ",", "code", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "ix86_builtins", "[", "(", "int", ")", "code", "]", "=", "decl", ";", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "set_and_not_built_p", "=", "false", ";", "}", "else", "{", "deferred_isa_values", "|=", "mask", ";", "ix86_builtins", "[", "(", "int", ")", "code", "]", "=", "NULL_TREE", ";", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "tcode", "=", "tcode", ";", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "name", "=", "name", ";", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "leaf_p", "=", "false", ";", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "nothrow_p", "=", "false", ";", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "const_p", "=", "false", ";", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "set_and_not_built_p", "=", "true", ";", "}", "}", "return", "decl", ";", "}", ""], "natrual_language": ["Add", "a", "SPARC", "builtin", "function", "with", "NAME", ",", "ICODE", ",", "CODE", "and", "TYPE", ".", "Return", "the", "function", "decl", "or", "NULL_TREE", "if", "the", "builtin", "was", "not", "added", "."], "TS_V_token": ["i386", "0", "0"], "File": "i3864", "Func": "def_builtin", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21021, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Initialize", "(", "const", "MachineFunction", "&", "MF", ",", "bool", "isPIC", ")", "{", "IsPIC", "=", "isPIC", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["Mips"], "File": "MipsJITInfo2", "Func": "Initialize", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21022, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_74k_agen_reorder", "(", "rtx_insn", "*", "*", "ready", ",", "int", "nready", ")", "{", "int", "i", ";", "int", "store_pos", ",", "load_pos", ";", "store_pos", "=", "-", "1", ";", "load_pos", "=", "-", "1", ";", "for", "(", "i", "=", "nready", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "rtx_insn", "*", "insn", "=", "ready", "[", "i", "]", ";", "if", "(", "USEFUL_INSN_P", "(", "insn", ")", ")", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_STORE", ":", "if", "(", "store_pos", "==", "-", "1", ")", "store_pos", "=", "i", ";", "break", ";", "case", "TYPE_LOAD", ":", "if", "(", "load_pos", "==", "-", "1", ")", "load_pos", "=", "i", ";", "break", ";", "default", ":", "break", ";", "}", "}", "if", "(", "load_pos", "==", "-", "1", "||", "store_pos", "==", "-", "1", ")", "return", ";", "switch", "(", "mips_last_74k_agen_insn", ")", "{", "case", "TYPE_UNKNOWN", ":", "case", "TYPE_LOAD", ":", "mips_maybe_swap_ready", "(", "ready", ",", "load_pos", ",", "store_pos", ",", "4", ")", ";", "break", ";", "case", "TYPE_STORE", ":", "mips_maybe_swap_ready", "(", "ready", ",", "store_pos", ",", "load_pos", ",", "4", ")", ";", "break", ";", "default", ":", "break", ";", "}", "}", ""], "natrual_language": ["A", "TUNE_74K", "helper", "function", ".", "The", "74K", "AGEN", "pipeline", "likes", "multiple", "loads", "to", "be", "grouped", "together", ",", "and", "multiple", "stores", "to", "be", "grouped", "together", ".", "Swap", "things", "around", "in", "the", "ready", "queue", "to", "make", "this", "happen", "."], "TS_V_token": ["mips", "1", "1", "1", "0", "1", "1", "1", "1", "4", "4"], "File": "mips", "Func": "mips_74k_agen_reorder", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21023, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCodeEmitter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "TargetMachine", "&", "Target", "=", "const_cast", "<", "TargetMachine", "&", ">", "(", "MF", ".", "getTarget", "(", ")", ")", ";", "assert", "(", "(", "Target", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Default", "||", "Target", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Static", ")", "&&", "\"JIT relocation model must be set to static or default!\"", ")", ";", "JTI", "=", "static_cast", "<", "ARMJITInfo", "*", ">", "(", "Target", ".", "getJITInfo", "(", ")", ")", ";", "II", "=", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "Target", ".", "getInstrInfo", "(", ")", ")", ";", "TD", "=", "Target", ".", "getDataLayout", "(", ")", ";", "Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "MCPEs", "=", "&", "MF", ".", "getConstantPool", "(", ")", "->", "getConstants", "(", ")", ";", "MJTEs", "=", "0", ";", "if", "(", "MF", ".", "getJumpTableInfo", "(", ")", ")", "MJTEs", "=", "&", "MF", ".", "getJumpTableInfo", "(", ")", "->", "getJumpTables", "(", ")", ";", "IsPIC", "=", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ";", "IsThumb", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", "->", "isThumbFunction", "(", ")", ";", "JTI", "->", "Initialize", "(", "MF", ",", "IsPIC", ")", ";", "MMI", "=", "&", "getAnalysis", "<", "MachineModuleInfo", ">", "(", ")", ";", "MCE", ".", "setModuleInfo", "(", "MMI", ")", ";", "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", "::", "iterator", "I", "=", "MBB", "->", "begin", "(", ")", ",", "E", "=", "MBB", "->", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "emitInstruction", "(", "*", "I", ")", ";", "}", "}", "while", "(", "MCE", ".", "finishFunction", "(", "MF", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "\"JIT relocation model must be set to static or default!\"", "ARM", "ARM", "ARM", "0", "ARM", "\"JITTing function '\"", "\"'\\n\""], "File": "ARMCodeEmitter", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21024, "Length": 308, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "output_387_ffreep", "(", "rtx", "*", "operands", "ATTRIBUTE_UNUSED", ",", "int", "opno", ")", "{", "if", "(", "TARGET_USE_FFREEP", ")", "return", "opno", "?", "\"ffreep\\t%y1\"", ":", "\"ffreep\\t%y0\"", ";", "{", "static", "char", "retval", "[", "32", "]", ";", "int", "regno", "=", "REGNO", "(", "operands", "[", "opno", "]", ")", ";", "gcc_assert", "(", "STACK_REGNO_P", "(", "regno", ")", ")", ";", "regno", "-=", "FIRST_STACK_REG", ";", "snprintf", "(", "retval", ",", "sizeof", "(", "retval", ")", ",", "ASM_SHORT", "\"0xc%ddf\"", ",", "regno", ")", ";", "return", "retval", ";", "}", "return", "opno", "?", "\"fstp\\t%y1\"", ":", "\"fstp\\t%y0\"", ";", "}", ""], "natrual_language": ["Output", "code", "for", "x87", "ffreep", "insn", ".", "The", "OPNO", "argument", ",", "which", "may", "only", "have", "the", "values", "zero", "or", "one", ",", "indicates", "the", "ffreep", "insn", "'s", "operand", "from", "the", "OPERANDS", "array", "."], "TS_V_token": ["i386", "\"ffreep\\t%y1\"", "\"ffreep\\t%y0\"", "32", "\"0xc%ddf\"", "\"fstp\\t%y1\"", "\"fstp\\t%y0\""], "File": "i386", "Func": "output_387_ffreep", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21025, "Length": 84, "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", "(", "!", "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", "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": "ARMBaseInstrInfo54", "Func": "getOperandLatency", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21026, "Length": 409, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isPredicable", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "!", "MI", ".", "isPredicable", "(", ")", ")", "return", "false", ";", "if", "(", "MI", ".", "isBundle", "(", ")", ")", "return", "false", ";", "if", "(", "!", "isEligibleForITBlock", "(", "&", "MI", ")", ")", "return", "false", ";", "const", "MachineFunction", "*", "MF", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "ARMFunctionInfo", "*", "AFI", "=", "MF", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "if", "(", "(", "MI", ".", "getDesc", "(", ")", ".", "TSFlags", "&", "ARMII", "::", "DomainMask", ")", "==", "ARMII", "::", "DomainNEON", ")", "return", "false", ";", "const", "ARMSubtarget", "&", "ST", "=", "MF", "->", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "if", "(", "ST", ".", "hardenSlsRetBr", "(", ")", "&&", "isIndirectControlFlowNotComingBack", "(", "MI", ")", ")", "return", "false", ";", "if", "(", "ST", ".", "hardenSlsBlr", "(", ")", "&&", "isIndirectCall", "(", "MI", ")", ")", "return", "false", ";", "if", "(", "AFI", "->", "isThumb2Function", "(", ")", ")", "{", "if", "(", "getSubtarget", "(", ")", ".", "restrictIT", "(", ")", ")", "return", "isV8EligibleForIT", "(", "&", "MI", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "instruction", "can", "be", "predicated", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARMII::DomainMask", "ARMII::DomainNEON", "ARM", "ARM"], "File": "ARMBaseInstrInfo110", "Func": "isPredicable", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21027, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "char", "*", "detect_caches_linux", "(", "void", ")", "{", "unsigned", "l1_sizekb", ",", "l1_line", ",", "l1_assoc", ",", "l2_sizekb", ";", "const", "char", "*", "platform", ";", "platform", "=", "elf_platform", "(", ")", ";", "if", "(", "platform", "!=", "NULL", ")", "{", "l1_line", "=", "128", ";", "if", "(", "platform", "[", "5", "]", "==", "'6'", ")", "l1_sizekb", "=", "64", ";", "else", "l1_sizekb", "=", "32", ";", "}", "else", "{", "l1_line", "=", "elf_dcachebsize", "(", ")", ";", "l1_sizekb", "=", "32", ";", "}", "l1_assoc", "=", "0", ";", "l2_sizekb", "=", "512", ";", "return", "describe_cache", "(", "l1_sizekb", ",", "l1_line", ",", "l1_assoc", ",", "l2_sizekb", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "description", "of", "caches", "on", "Linux", "."], "TS_V_token": ["rs6000", "128", "5", "64", "32", "32", "0", "512"], "File": "driver-rs6000", "Func": "detect_caches_linux", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21028, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createSystemZISelDag", "(", "getSystemZTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ"], "File": "SystemZTargetMachine (2)", "Func": "addInstSelector", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21029, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "rbt_find", "(", "struct", "rbt_strings", "*", "t", ",", "char", "*", "str", ")", "{", "struct", "rbt_string_node", "*", "curr", "=", "t", "->", "rbt_root", ";", "while", "(", "curr", "!=", "t", "->", "rbt_nil", ")", "{", "int", "cmp", "=", "strcmp", "(", "str", ",", "curr", "->", "str", ")", ";", "if", "(", "cmp", "<", "0", ")", "curr", "=", "curr", "->", "left", ";", "else", "if", "(", "cmp", ">", "0", ")", "curr", "=", "curr", "->", "right", ";", "else", "return", "1", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "1", "if", "STR", "is", "in", "the", "red-black", "tree", ",", "else", "0", "."], "TS_V_token": ["rs6000", "0", "0", "1", "0"], "File": "rbtree", "Func": "rbt_find", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21030, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MBBInfo", "::", "isVisited", "(", ")", "const", "{", "return", "HTScope", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "this", "node", "been", "visited", "by", "the", "DFS", "traversal", "."], "TS_V_token": ["Mips"], "File": "MipsOptimizePICCall", "Func": "isVisited", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21031, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseInstrInfo", "::", "setExecutionDomain", "(", "MachineInstr", "*", "MI", ",", "unsigned", "Domain", ")", "const", "{", "assert", "(", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "VMOVD", "&&", "\"Can only swizzle VMOVD\"", ")", ";", "if", "(", "Domain", "!=", "ExeNEON", ")", "return", ";", "assert", "(", "!", "isPredicated", "(", "MI", ")", "&&", "\"Cannot predicate a VORRd\"", ")", ";", "MI", "->", "RemoveOperand", "(", "3", ")", ";", "MI", "->", "RemoveOperand", "(", "2", ")", ";", "MI", "->", "setDesc", "(", "get", "(", "ARM", "::", "VORRd", ")", ")", ";", "AddDefaultPred", "(", "MachineInstrBuilder", "(", "MI", ")", ".", "addOperand", "(", "MI", "->", "getOperand", "(", "1", ")", ")", ")", ";", "}", ""], "natrual_language": ["Change", "the", "opcode", "of", "MI", "to", "execute", "in", "Domain", "."], "TS_V_token": ["ARM", "ARM", "ARM::VMOVD", "\"Can only swizzle VMOVD\"", "\"Cannot predicate a VORRd\"", "3", "2", "ARM::VORRd", "1"], "File": "ARMBaseInstrInfo (2)4", "Func": "setExecutionDomain", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21032, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"CPU0 DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Cpu0", "\"CPU0 DAG->DAG Pattern Instruction Selection\""], "File": "Cpu0ISelDAGToDAG1", "Func": "getPassName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21033, "Length": 13, "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", "::", "SD", ")", "||", "(", "Opc", "==", "Mips", "::", "SWC1", ")", "||", "(", "Opc", "==", "Mips", "::", "SDC1", ")", "||", "(", "Opc", "==", "Mips", "::", "SDC164", ")", ")", "{", "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::SD", "Mips::SWC1", "Mips::SDC1", "Mips::SDC164", "1", "2", "2", "1", "0", "0"], "File": "MipsSEInstrInfo", "Func": "isStoreToStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21034, "Length": 140, "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", "(", ")", ";", "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", "0", "224", "0", "0"], "File": "PPCFrameLowering10", "Func": "determineFrameLayout", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21035, "Length": 272, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 Load Value Injection (LVI) Ret-Hardening\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 Load Value Injection (LVI) Ret-Hardening\""], "File": "X86LoadValueInjectionRetHardening", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21036, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_option_override", "(", "void", ")", "{", "ix86_option_override_internal", "(", "true", ",", "&", "global_options", ",", "&", "global_options_set", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_OPTION_OVERRIDE", "hook", "."], "TS_V_token": ["i386"], "File": "i3866", "Func": "ix86_option_override", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21037, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_get_modrm_for_rop", "(", "rtx_insn", "*", "insn", ",", "rtx", "*", "operands", ",", "int", "noperands", ",", "int", "*", "popno0", "=", "0", ",", "int", "*", "popno1", "=", "0", ")", "{", "if", "(", "asm_noperands", "(", "PATTERN", "(", "insn", ")", ")", ">=", "0", ")", "return", "-", "1", ";", "int", "has_modrm", "=", "get_attr_modrm", "(", "insn", ")", ";", "if", "(", "!", "has_modrm", ")", "return", "-", "1", ";", "enum", "attr_modrm_class", "cls", "=", "get_attr_modrm_class", "(", "insn", ")", ";", "rtx", "op0", ",", "op1", ";", "switch", "(", "cls", ")", "{", "case", "MODRM_CLASS_OP02", ":", "gcc_assert", "(", "noperands", ">=", "3", ")", ";", "if", "(", "popno0", ")", "{", "*", "popno0", "=", "0", ";", "*", "popno1", "=", "2", ";", "}", "op0", "=", "operands", "[", "0", "]", ";", "op1", "=", "operands", "[", "2", "]", ";", "break", ";", "case", "MODRM_CLASS_OP01", ":", "gcc_assert", "(", "noperands", ">=", "2", ")", ";", "if", "(", "popno0", ")", "{", "*", "popno0", "=", "0", ";", "*", "popno1", "=", "1", ";", "}", "op0", "=", "operands", "[", "0", "]", ";", "op1", "=", "operands", "[", "1", "]", ";", "break", ";", "default", ":", "return", "-", "1", ";", "}", "if", "(", "REG_P", "(", "op0", ")", "&&", "REG_P", "(", "op1", ")", ")", "{", "int", "enc0", "=", "reg_encoded_number", "(", "op0", ")", ";", "int", "enc1", "=", "reg_encoded_number", "(", "op1", ")", ";", "return", "0xc0", "+", "(", "enc1", "<<", "3", ")", "+", "enc0", ";", "}", "return", "-", "1", ";", "}", ""], "natrual_language": ["Given", "an", "insn", "INSN", "with", "NOPERANDS", "OPERANDS", ",", "return", "the", "modr/m", "byte", "used", "in", "its", "encoding", "if", "it", "could", "be", "relevant", "for", "ROP", "mitigation", ",", "otherwise", "return", "-1", ".", "If", "POPNO0", "and", "POPNO1", "are", "nonnull", ",", "store", "the", "operand", "numbers", "used", "for", "calculating", "it", "into", "them", "."], "TS_V_token": ["i386", "0", "0", "0", "1", "1", "3", "0", "2", "0", "2", "2", "0", "1", "0", "1", "1", "0xc0", "3", "1"], "File": "i3865", "Func": "ix86_get_modrm_for_rop", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21038, "Length": 217, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "SystemZTTIImpl", "::", "getIntrinsicInstrCost", "(", "Intrinsic", "::", "ID", "ID", ",", "Type", "*", "RetTy", ",", "ArrayRef", "<", "Type", "*", ">", "Tys", ",", "FastMathFlags", "FMF", ",", "unsigned", "ScalarizationCostPassed", ",", "const", "Instruction", "*", "I", ")", "{", "int", "Cost", "=", "getVectorIntrinsicInstrCost", "(", "ID", ",", "RetTy", ")", ";", "if", "(", "Cost", "!=", "-", "1", ")", "return", "Cost", ";", "return", "BaseT", "::", "getIntrinsicInstrCost", "(", "ID", ",", "RetTy", ",", "Tys", ",", "FMF", ",", "ScalarizationCostPassed", ",", "I", ")", ";", "}", ""], "natrual_language": ["Get", "intrinsic", "cost", "based", "on", "arguments", "."], "TS_V_token": ["SystemZ", "SystemZ", "Intrinsic::ID", "1"], "File": "SystemZTargetTransformInfo25", "Func": "getIntrinsicInstrCost", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21039, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "csky_dwarf_register_span", "(", "rtx", "rtl", ")", "{", "machine_mode", "mode", ";", "unsigned", "regno", ";", "rtx", "parts", "[", "16", "]", ";", "int", "nregs", ";", "int", "i", ";", "regno", "=", "REGNO", "(", "rtl", ")", ";", "if", "(", "!", "CSKY_VREG_P", "(", "regno", ")", ")", "return", "NULL_RTX", ";", "if", "(", "CSKY_VREG_HI_P", "(", "regno", ")", ")", "regno", "+=", "16", ";", "mode", "=", "GET_MODE", "(", "rtl", ")", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "<", "8", ")", "return", "NULL_RTX", ";", "if", "(", "TARGET_SINGLE_FPU", ")", "{", "nregs", "=", "GET_MODE_SIZE", "(", "mode", ")", "/", "4", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nregs", ";", "i", "+=", "2", ")", "if", "(", "TARGET_BIG_ENDIAN", ")", "{", "parts", "[", "i", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", "+", "i", "+", "1", ")", ";", "parts", "[", "i", "+", "1", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", "+", "i", ")", ";", "}", "else", "{", "parts", "[", "i", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", "+", "i", ")", ";", "parts", "[", "i", "+", "1", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", "+", "i", "+", "1", ")", ";", "}", "}", "else", "{", "nregs", "=", "GET_MODE_SIZE", "(", "mode", ")", "/", "4", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nregs", ";", "i", "+=", "2", ")", "if", "(", "TARGET_BIG_ENDIAN", ")", "{", "parts", "[", "i", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", "+", "i", "-", "16", ")", ";", "parts", "[", "i", "+", "1", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", "+", "i", ")", ";", "}", "else", "{", "parts", "[", "i", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", "+", "i", ")", ";", "parts", "[", "i", "+", "1", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", "+", "i", "-", "16", ")", ";", "}", "}", "return", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec_v", "(", "nregs", ",", "parts", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_DWARF_REGISTER_SPAN", ".", "Dwarf", "models", "VFP", "registers", "as", "64-bit", "or", "128-bit", "registers", "default", ".", "GCC", "models", "tham", "as", "32-bit", "registers", ",", "so", "we", "need", "to", "describe", "this", "to", "the", "DWARF", "generation", "code", ".", "Other", "registers", "can", "use", "the", "default", "."], "TS_V_token": ["csky", "16", "16", "8", "4", "0", "2", "1", "1", "1", "1", "4", "0", "2", "16", "1", "1", "16"], "File": "csky", "Func": "csky_dwarf_register_span", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21040, "Length": 289, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "unique_ptr", "<", "MCObjectWriter", ">", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "override", "{", "return", "createARMMachObjectWriter", "(", "OS", ",", "false", ",", "MachO", "::", "CPU_TYPE_ARM", ",", "Subtype", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMAsmBackendDarwin12", "Func": "createObjectWriter", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21041, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "*", "xstormy16_output_cbranch_si", "(", "rtx", "op", ",", "const", "char", "*", "label", ",", "int", "reversed", ",", "rtx_insn", "*", "insn", ")", "{", "static", "char", "string", "[", "64", "]", ";", "int", "need_longbranch", "=", "get_attr_length", "(", "insn", ")", ">=", "8", ";", "int", "really_reversed", "=", "reversed", "^", "need_longbranch", ";", "const", "char", "*", "ccode", ";", "const", "char", "*", "templ", ";", "char", "prevop", "[", "16", "]", ";", "enum", "rtx_code", "code", ";", "code", "=", "GET_CODE", "(", "op", ")", ";", "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", "GEU", ":", "ccode", "=", "\"nc\"", ";", "break", ";", "case", "LTU", ":", "ccode", "=", "\"c\"", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "switch", "(", "code", ")", "{", "case", "EQ", ":", "case", "NE", ":", "{", "int", "regnum", ";", "gcc_assert", "(", "REG_P", "(", "XEXP", "(", "op", ",", "0", ")", ")", ")", ";", "regnum", "=", "REGNO", "(", "XEXP", "(", "op", ",", "0", ")", ")", ";", "sprintf", "(", "prevop", ",", "\"or %s,%s\"", ",", "reg_names", "[", "regnum", "]", ",", "reg_names", "[", "regnum", "+", "1", "]", ")", ";", "}", "break", ";", "case", "GE", ":", "case", "LT", ":", "case", "GEU", ":", "case", "LTU", ":", "strcpy", "(", "prevop", ",", "\"sbc %2,%3\"", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "need_longbranch", ")", "templ", "=", "\"%s | b%s .+6 | jmpf %s\"", ";", "else", "templ", "=", "\"%s | b%s %s\"", ";", "sprintf", "(", "string", ",", "templ", ",", "prevop", ",", "ccode", ",", "label", ")", ";", "return", "string", ";", "}", ""], "natrual_language": ["Return", "the", "string", "to", "output", "a", "conditional", "branch", "to", "LABEL", ",", "which", "is", "the", "operand", "number", "of", "the", "label", ",", "but", "suitable", "for", "the", "tail", "of", "a", "SImode", "branch", ".", "OP", "is", "the", "conditional", "expression", "(", "OP", "is", "never", "NULL_RTX", ")", ".", "REVERSED", "is", "non-zero", "if", "we", "should", "reverse", "the", "sense", "of", "the", "comparison", ".", "INSN", "is", "the", "insn", "."], "TS_V_token": ["stormy16", "64", "8", "16", "\"z\"", "\"nz\"", "\"ge\"", "\"lt\"", "\"nc\"", "\"c\"", "0", "0", "\"or %s,%s\"", "1", "\"sbc %2,%3\"", "\"%s | b%s .+6 | jmpf %s\"", "\"%s | b%s %s\""], "File": "stormy16", "Func": "xstormy16_output_cbranch_si", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21042, "Length": 268, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "PPCInstrInfo", "::", "getOperandLatency", "(", "const", "InstrItineraryData", "*", "ItinData", ",", "const", "MachineInstr", "*", "DefMI", ",", "unsigned", "DefIdx", ",", "const", "MachineInstr", "*", "UseMI", ",", "unsigned", "UseIdx", ")", "const", "{", "int", "Latency", "=", "PPCGenInstrInfo", "::", "getOperandLatency", "(", "ItinData", ",", "DefMI", ",", "DefIdx", ",", "UseMI", ",", "UseIdx", ")", ";", "const", "MachineOperand", "&", "DefMO", "=", "DefMI", "->", "getOperand", "(", "DefIdx", ")", ";", "unsigned", "Reg", "=", "DefMO", ".", "getReg", "(", ")", ";", "bool", "IsRegCR", ";", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "Reg", ")", ")", "{", "const", "MachineRegisterInfo", "*", "MRI", "=", "&", "DefMI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "IsRegCR", "=", "MRI", "->", "getRegClass", "(", "Reg", ")", "->", "hasSuperClassEq", "(", "&", "PPC", "::", "CRRCRegClass", ")", "||", "MRI", "->", "getRegClass", "(", "Reg", ")", "->", "hasSuperClassEq", "(", "&", "PPC", "::", "CRBITRCRegClass", ")", ";", "}", "else", "{", "IsRegCR", "=", "PPC", "::", "CRRCRegClass", ".", "contains", "(", "Reg", ")", "||", "PPC", "::", "CRBITRCRegClass", ".", "contains", "(", "Reg", ")", ";", "}", "if", "(", "UseMI", "->", "isBranch", "(", ")", "&&", "IsRegCR", ")", "{", "if", "(", "Latency", "<", "0", ")", "Latency", "=", "getInstrLatency", "(", "ItinData", ",", "DefMI", ")", ";", "unsigned", "Directive", "=", "Subtarget", ".", "getDarwinDirective", "(", ")", ";", "switch", "(", "Directive", ")", "{", "default", ":", "break", ";", "case", "PPC", "::", "DIR_7400", ":", "case", "PPC", "::", "DIR_750", ":", "case", "PPC", "::", "DIR_970", ":", "case", "PPC", "::", "DIR_E5500", ":", "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", ":", "Latency", "+=", "2", ";", "break", ";", "}", "}", "return", "Latency", ";", "}", ""], "natrual_language": ["Compute", "and", "return", "the", "use", "operand", "latency", "of", "a", "given", "pair", "of", "def", "and", "use", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::CRRCRegClass", "PPC::CRBITRCRegClass", "PPC::CRRCRegClass", "PPC::CRBITRCRegClass", "0", "PPC::DIR_7400", "PPC::DIR_750", "PPC::DIR_970", "PPC::DIR_E5500", "PPC::DIR_PWR4", "PPC::DIR_PWR5", "PPC::DIR_PWR5X", "PPC::DIR_PWR6", "PPC::DIR_PWR6X", "PPC::DIR_PWR7", "PPC::DIR_PWR8", "2"], "File": "PPCInstrInfo123", "Func": "getOperandLatency", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21043, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CSKYConstantPoolJT", "*", "CSKYConstantPoolJT", "::", "Create", "(", "Type", "*", "Ty", ",", "int", "JTI", ",", "unsigned", "PCAdj", ",", "CSKYCP", "::", "CSKYCPModifier", "Modifier", ")", "{", "return", "new", "CSKYConstantPoolJT", "(", "Ty", ",", "JTI", ",", "PCAdj", ",", "Modifier", ",", "false", ")", ";", "}", ""], "natrual_language": ["Construct", "a", "unary", "instruction", ",", "given", "the", "opcode", "and", "an", "operand", "."], "TS_V_token": ["CSKY", "CSKY", "CSKY", "CSKYCP::CSKYCPModifier", "CSKY"], "File": "CSKYConstantPoolValue", "Func": "Create", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21044, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalMaskedGather", "(", "Type", "*", "DataTy", ",", "Align", "Alignment", ")", "{", "if", "(", "!", "(", "ST", "->", "hasAVX512", "(", ")", "||", "(", "ST", "->", "hasFastGather", "(", ")", "&&", "ST", "->", "hasAVX2", "(", ")", ")", ")", ")", "return", "false", ";", "if", "(", "auto", "*", "DataVTy", "=", "dyn_cast", "<", "FixedVectorType", ">", "(", "DataTy", ")", ")", "{", "unsigned", "NumElts", "=", "DataVTy", "->", "getNumElements", "(", ")", ";", "if", "(", "NumElts", "==", "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", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "gather", "."], "TS_V_token": ["X86", "X86", "1", "32", "64"], "File": "X86TargetTransformInfo103", "Func": "isLegalMaskedGather", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21045, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mmix_local_alignment", "(", "tree", "type", "ATTRIBUTE_UNUSED", ",", "int", "basic_align", ")", "{", "if", "(", "basic_align", "<", "32", ")", "return", "32", ";", "return", "basic_align", ";", "}", ""], "natrual_language": ["LOCAL_ALIGNMENT", "."], "TS_V_token": ["mmix", "32", "32"], "File": "mmix3", "Func": "mmix_local_alignment", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21046, "Length": 24, "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", "=", "(", "MF", ".", "getTarget", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "getFrameLowering", "(", ")", "->", "getStackAlignment", "(", ")", ">=", "Alignment", ")", "||", "RI", ".", "canRealignStack", "(", "MF", ")", ";", "unsigned", "Opc", "=", "getLoadRegOpcode", "(", "DestReg", ",", "RC", ",", "isAligned", ",", "Subtarget", ")", ";", "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": "X86InstrInfo110", "Func": "loadRegFromStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21047, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_set_current_function", "(", "tree", "fndecl", ")", "{", "if", "(", "!", "fndecl", "||", "fndecl", "==", "aarch64_previous_fndecl", ")", "return", ";", "tree", "old_tree", "=", "(", "aarch64_previous_fndecl", "?", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "aarch64_previous_fndecl", ")", ":", "NULL_TREE", ")", ";", "tree", "new_tree", "=", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "fndecl", ")", ";", "if", "(", "!", "new_tree", "&&", "old_tree", ")", "new_tree", "=", "target_option_default_node", ";", "if", "(", "old_tree", "==", "new_tree", ")", "return", ";", "aarch64_previous_fndecl", "=", "fndecl", ";", "cl_target_option_restore", "(", "&", "global_options", ",", "&", "global_options_set", ",", "TREE_TARGET_OPTION", "(", "new_tree", ")", ")", ";", "aarch64_save_restore_target_globals", "(", "new_tree", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SET_CURRENT_FUNCTION", ".", "Unpack", "the", "codegen", "decisions", "like", "tuning", "and", "ISA", "features", "from", "the", "DECL_FUNCTION_SPECIFIC_TARGET", "of", "the", "function", ",", "if", "such", "exists", ".", "This", "function", "may", "be", "called", "multiple", "times", "on", "a", "single", "function", "so", "use", "aarch64_previous_fndecl", "to", "avoid", "setting", "up", "identical", "state", "."], "TS_V_token": ["aarch64"], "File": "aarch641", "Func": "aarch64_set_current_function", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21048, "Length": 84, "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": 21049, "Length": 448, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "pru_return_in_memory", "(", "const_tree", "type", ",", "const_tree", "fntype", "ATTRIBUTE_UNUSED", ")", "{", "bool", "in_memory", "=", "(", "!", "pru_arg_in_reg_bysize", "(", "int_size_in_bytes", "(", "type", ")", ")", "||", "int_size_in_bytes", "(", "type", ")", "==", "-", "1", ")", ";", "return", "in_memory", ";", "}", ""], "natrual_language": ["Implement", "TARGET_RETURN_IN_MEMORY", "."], "TS_V_token": ["pru", "1"], "File": "pru", "Func": "pru_return_in_memory", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21050, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "sparc_secondary_reload", "(", "bool", "in_p", ",", "rtx", "x", ",", "reg_class_t", "rclass_i", ",", "machine_mode", "mode", ",", "secondary_reload_info", "*", "sri", ")", "{", "enum", "reg_class", "rclass", "=", "(", "enum", "reg_class", ")", "rclass_i", ";", "sri", "->", "icode", "=", "CODE_FOR_nothing", ";", "sri", "->", "extra_cost", "=", "0", ";", "if", "(", "FP_REG_CLASS_P", "(", "rclass", ")", "&&", "(", "mode", "==", "HImode", "||", "mode", "==", "QImode", ")", "&&", "(", "GET_CODE", "(", "x", ")", "==", "MEM", "||", "(", "(", "GET_CODE", "(", "x", ")", "==", "REG", "||", "GET_CODE", "(", "x", ")", "==", "SUBREG", ")", "&&", "true_regnum", "(", "x", ")", "==", "-", "1", ")", ")", ")", "return", "GENERAL_REGS", ";", "if", "(", "TARGET_ARCH32", "&&", "rclass", "==", "EXTRA_FP_REGS", "&&", "mode", "==", "DFmode", "&&", "GET_CODE", "(", "x", ")", "==", "MEM", "&&", "!", "mem_min_alignment", "(", "x", ",", "8", ")", ")", "return", "FP_REGS", ";", "if", "(", "(", "(", "TARGET_CM_MEDANY", "&&", "symbolic_operand", "(", "x", ",", "mode", ")", ")", "||", "(", "TARGET_CM_EMBMEDANY", "&&", "text_segment_operand", "(", "x", ",", "mode", ")", ")", ")", "&&", "!", "flag_pic", ")", "{", "if", "(", "in_p", ")", "sri", "->", "icode", "=", "direct_optab_handler", "(", "reload_in_optab", ",", "mode", ")", ";", "else", "sri", "->", "icode", "=", "direct_optab_handler", "(", "reload_out_optab", ",", "mode", ")", ";", "return", "NO_REGS", ";", "}", "if", "(", "TARGET_VIS3", "&&", "TARGET_ARCH32", ")", "{", "int", "regno", "=", "true_regnum", "(", "x", ")", ";", "if", "(", "(", "rclass", "==", "EXTRA_FP_REGS", "&&", "SPARC_INT_REG_P", "(", "regno", ")", ")", "||", "(", "(", "general_or_i64_p", "(", "rclass", ")", "||", "rclass", "==", "GENERAL_OR_FP_REGS", ")", "&&", "SPARC_FP_REG_P", "(", "regno", ")", ")", ")", "{", "sri", "->", "extra_cost", "=", "2", ";", "return", "FP_REGS", ";", "}", "}", "return", "NO_REGS", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SECONDARY_RELOAD", "."], "TS_V_token": ["sparc", "0", "1", "8", "2"], "File": "sparc", "Func": "sparc_secondary_reload", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21051, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "loongarch_build_integer", "(", "struct", "loongarch_integer_op", "*", "codes", ",", "HOST_WIDE_INT", "value", ")", "{", "unsigned", "int", "cost", "=", "0", ";", "HOST_WIDE_INT", "low_part", "=", "(", "int32_t", ")", "value", ";", "if", "(", "IMM12_OPERAND", "(", "low_part", ")", "||", "IMM12_OPERAND_UNSIGNED", "(", "low_part", ")", ")", "{", "codes", "[", "cost", "]", ".", "code", "=", "UNKNOWN", ";", "codes", "[", "cost", "]", ".", "method", "=", "METHOD_NORMAL", ";", "codes", "[", "cost", "]", ".", "value", "=", "low_part", ";", "codes", "[", "cost", "]", ".", "curr_value", "=", "low_part", ";", "cost", "++", ";", "}", "else", "{", "codes", "[", "cost", "]", ".", "code", "=", "UNKNOWN", ";", "codes", "[", "cost", "]", ".", "method", "=", "METHOD_NORMAL", ";", "codes", "[", "cost", "]", ".", "value", "=", "low_part", "&", "~", "(", "IMM_REACH", "-", "1", ")", ";", "codes", "[", "cost", "]", ".", "curr_value", "=", "codes", "[", "cost", "]", ".", "value", ";", "cost", "++", ";", "HOST_WIDE_INT", "iorv", "=", "low_part", "&", "(", "IMM_REACH", "-", "1", ")", ";", "if", "(", "iorv", "!=", "0", ")", "{", "codes", "[", "cost", "]", ".", "code", "=", "IOR", ";", "codes", "[", "cost", "]", ".", "method", "=", "METHOD_NORMAL", ";", "codes", "[", "cost", "]", ".", "value", "=", "iorv", ";", "codes", "[", "cost", "]", ".", "curr_value", "=", "low_part", ";", "cost", "++", ";", "}", "}", "if", "(", "TARGET_64BIT", ")", "{", "bool", "lu32i", "[", "2", "]", "=", "{", "(", "value", "&", "LU32I_B", ")", "==", "0", ",", "(", "value", "&", "LU32I_B", ")", "==", "LU32I_B", "}", ";", "bool", "lu52i", "[", "2", "]", "=", "{", "(", "value", "&", "LU52I_B", ")", "==", "0", ",", "(", "value", "&", "LU52I_B", ")", "==", "LU52I_B", "}", ";", "int", "sign31", "=", "(", "value", "&", "(", "HOST_WIDE_INT_1U", "<<", "31", ")", ")", ">>", "31", ";", "int", "sign51", "=", "(", "value", "&", "(", "HOST_WIDE_INT_1U", "<<", "51", ")", ")", ">>", "51", ";", "if", "(", "lu32i", "[", "sign31", "]", "&&", "lu52i", "[", "sign31", "]", ")", "return", "cost", ";", "else", "if", "(", "lu32i", "[", "sign31", "]", ")", "{", "codes", "[", "cost", "]", ".", "method", "=", "METHOD_LU52I", ";", "codes", "[", "cost", "]", ".", "value", "=", "value", "&", "LU52I_B", ";", "codes", "[", "cost", "]", ".", "curr_value", "=", "value", ";", "return", "cost", "+", "1", ";", "}", "codes", "[", "cost", "]", ".", "method", "=", "METHOD_LU32I", ";", "codes", "[", "cost", "]", ".", "value", "=", "(", "value", "&", "LU32I_B", ")", "|", "(", "sign51", "?", "LU52I_B", ":", "0", ")", ";", "codes", "[", "cost", "]", ".", "curr_value", "=", "(", "value", "&", "0xfffffffffffff", ")", "|", "(", "sign51", "?", "LU52I_B", ":", "0", ")", ";", "cost", "++", ";", "if", "(", "!", "lu52i", "[", "(", "value", "&", "(", "HOST_WIDE_INT_1U", "<<", "51", ")", ")", ">>", "51", "]", ")", "{", "codes", "[", "cost", "]", ".", "method", "=", "METHOD_LU52I", ";", "codes", "[", "cost", "]", ".", "value", "=", "value", "&", "LU52I_B", ";", "codes", "[", "cost", "]", ".", "curr_value", "=", "value", ";", "cost", "++", ";", "}", "}", "gcc_assert", "(", "cost", "<=", "LARCH_MAX_INTEGER_OPS", ")", ";", "return", "cost", ";", "}", ""], "natrual_language": ["Fill", "CODES", "with", "a", "sequence", "of", "rtl", "operations", "to", "load", "VALUE", ".", "Return", "the", "number", "of", "operations", "needed", "."], "TS_V_token": ["loongarch", "0", "1", "1", "0", "2", "0", "2", "0", "31", "31", "51", "51", "1", "0", "0xfffffffffffff", "0", "51", "51"], "File": "loongarch1", "Func": "loongarch_build_integer", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21052, "Length": 453, "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", "(", "auto", "MFI", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "MFI", "!=", "E", ";", "++", "MFI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MFI", ";", "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": "LeonPasses (2)", "Func": "runOnMachineFunction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21053, "Length": 225, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "PPCRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "if", "(", "Subtarget", ".", "isDarwinABI", "(", ")", ")", "return", "Subtarget", ".", "isPPC64", "(", ")", "?", "CSR_Darwin64_SaveList", ":", "CSR_Darwin32_SaveList", ";", "if", "(", "!", "Subtarget", ".", "isPPC64", "(", ")", ")", "CRSpillFrameIdx", "=", "0", ";", "return", "Subtarget", ".", "isPPC64", "(", ")", "?", "CSR_SVR464_SaveList", ":", "CSR_SVR432_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "0", "PPC"], "File": "PPCRegisterInfo14", "Func": "getCalleeSavedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21054, "Length": 58, "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", ":", "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", "::", "VST1q64Pseudo", ":", "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", "1", "2", "2", "0", "1", "0", "ARM::VST1q64Pseudo", "0", "2", "0", "0", "2", "ARM::VSTMQIA", "1", "0", "0", "1", "0", "0"], "File": "ARMBaseInstrInfo108", "Func": "isStoreToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21055, "Length": 345, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "XNCMTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "DebugLoc", "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": ["XNCM", "XNCM", "ISD::InputArg", "\"Unsupported calling convention\""], "File": "XNCMISelLowering", "Func": "LowerFormalArguments", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21056, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "jump_in_call_delay", "(", "rtx", "insn", ")", "{", "if", "(", "GET_CODE", "(", "insn", ")", "!=", "JUMP_INSN", ")", "return", "0", ";", "if", "(", "PREV_INSN", "(", "insn", ")", "&&", "PREV_INSN", "(", "PREV_INSN", "(", "insn", ")", ")", "&&", "GET_CODE", "(", "next_real_insn", "(", "PREV_INSN", "(", "PREV_INSN", "(", "insn", ")", ")", ")", ")", "==", "INSN", ")", "{", "rtx", "test_insn", "=", "next_real_insn", "(", "PREV_INSN", "(", "PREV_INSN", "(", "insn", ")", ")", ")", ";", "return", "(", "GET_CODE", "(", "PATTERN", "(", "test_insn", ")", ")", "==", "SEQUENCE", "&&", "XVECEXP", "(", "PATTERN", "(", "test_insn", ")", ",", "0", ",", "1", ")", "==", "insn", ")", ";", "}", "else", "return", "0", ";", "}", ""], "natrual_language": ["Return", "1", "if", "INSN", "is", "in", "the", "delay", "slot", "of", "a", "call", "instruction", "."], "TS_V_token": ["pa", "0", "0", "1", "0"], "File": "pa3", "Func": "jump_in_call_delay", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21057, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "VEDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "SDLoc", "dl", "(", "N", ")", ";", "if", "(", "N", "->", "isMachineOpcode", "(", ")", ")", "{", "N", "->", "setNodeId", "(", "-", "1", ")", ";", "return", ";", "}", "SelectCode", "(", "N", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["VE", "VE", "1"], "File": "VEISelDAGToDAG1", "Func": "Select", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21058, "Length": 42, "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_arch5t", ")", "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", "&&", "TARGET_HARD_FLOAT", "&&", "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", ")", "&&", "!", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_mve", ")", ")", "error", "(", "\"%<-mfloat-abi=hard%>: selected architecture 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 architecture lacks an FPU\"", "\"%<-mfloat-abi=hard%> and VFP\""], "File": "arm", "Func": "arm_options_perform_arch_sanity_checks", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21059, "Length": 246, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_get_sync_operand", "(", "rtx", "*", "operands", ",", "int", "index", ",", "rtx", "default_value", ")", "{", "if", "(", "index", ">", "0", ")", "default_value", "=", "operands", "[", "index", "-", "1", "]", ";", "return", "default_value", ";", "}", ""], "natrual_language": ["OPERANDS", "are", "the", "operands", "to", "a", "sync", "loop", "instruction", "and", "INDEX", "is", "the", "value", "of", "the", "one", "of", "the", "sync_", "*", "attributes", ".", "Return", "the", "operand", "referred", "to", "by", "the", "attribute", ",", "or", "DEFAULT_VALUE", "if", "the", "insn", "does", "n't", "have", "the", "associated", "attribute", "."], "TS_V_token": ["mips", "0", "1"], "File": "mips", "Func": "mips_get_sync_operand", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21060, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "MipsRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "static", "const", "uint16_t", "ReservedCPURegs", "[", "]", "=", "{", "Mips", "::", "ZERO", ",", "Mips", "::", "AT", ",", "Mips", "::", "K0", ",", "Mips", "::", "K1", ",", "Mips", "::", "SP", "}", ";", "static", "const", "uint16_t", "ReservedCPU64Regs", "[", "]", "=", "{", "Mips", "::", "ZERO_64", ",", "Mips", "::", "AT_64", ",", "Mips", "::", "K0_64", ",", "Mips", "::", "K1_64", ",", "Mips", "::", "SP_64", "}", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "typedef", "TargetRegisterClass", "::", "const_iterator", "RegIter", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "ReservedCPURegs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedCPURegs", "[", "I", "]", ")", ";", "if", "(", "Subtarget", ".", "hasMips64", "(", ")", ")", "{", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "ReservedCPU64Regs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedCPU64Regs", "[", "I", "]", ")", ";", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "AFGR64RegClass", ".", "begin", "(", ")", ",", "EReg", "=", "Mips", "::", "AFGR64RegClass", ".", "end", "(", ")", ";", "Reg", "!=", "EReg", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "}", "else", "{", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "CPU64RegsRegClass", ".", "begin", "(", ")", ",", "EReg", "=", "Mips", "::", "CPU64RegsRegClass", ".", "end", "(", ")", ";", "Reg", "!=", "EReg", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "FGR64RegClass", ".", "begin", "(", ")", ",", "EReg", "=", "Mips", "::", "FGR64RegClass", ".", "end", "(", ")", ";", "Reg", "!=", "EReg", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "}", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "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", "::", "HWR29_64", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "DSPCtrl", ")", ";", "if", "(", "Subtarget", ".", "inMips16Mode", "(", ")", ")", "{", "Reserved", ".", "set", "(", "Mips", "::", "RA", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "RA_64", ")", ";", "}", "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::AT", "Mips::K0", "Mips::K1", "Mips::SP", "Mips::ZERO_64", "Mips::AT_64", "Mips::K0_64", "Mips::K1_64", "Mips::SP_64", "0", "Mips", "0", "Mips::AFGR64RegClass", "Mips::AFGR64RegClass", "Mips::CPU64RegsRegClass", "Mips::CPU64RegsRegClass", "Mips::FGR64RegClass", "Mips::FGR64RegClass", "Mips", "Mips::S0", "Mips::FP", "Mips::FP_64", "Mips::HWR29", "Mips::HWR29_64", "Mips::DSPCtrl", "Mips", "Mips::RA", "Mips::RA_64", "Mips::GP", "Mips::GP_64"], "File": "MipsRegisterInfo11", "Func": "getReservedRegs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21061, "Length": 409, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZTargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ")", "const", "{", "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"], "File": "SystemZISelLowering (2)", "Func": "isFPImmLegal", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21062, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "units_index", "function_instance", "::", "displacement_units", "(", ")", "const", "{", "return", "mode_suffix", "(", ")", ".", "displacement_units", ";", "}", ""], "natrual_language": ["If", "the", "function", "takes", "a", "vector", "or", "scalar", "displacement", ",", "return", "the", "units", "in", "which", "the", "displacement", "is", "measured", ",", "otherwise", "return", "UNITS_none", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "displacement_units", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21063, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "getOpcodeAfterMemoryUnfold", "(", "unsigned", "Opc", ",", "bool", "UnfoldLoad", ",", "bool", "UnfoldStore", ",", "unsigned", "*", "LoadRegIndex", ")", "const", "{", "DenseMap", "<", "unsigned", "*", ",", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", ">", "::", "const_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", ";", "if", "(", "LoadRegIndex", ")", "*", "LoadRegIndex", "=", "I", "->", "second", ".", "second", "&", "0xf", ";", "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", "0xf"], "File": "X86InstrInfo134", "Func": "getOpcodeAfterMemoryUnfold", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21064, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16TargetLowering", "::", "isEligibleForTailCallOptimization", "(", "const", "MipsCC", "&", "MipsCCInfo", ",", "unsigned", "NextStackOffset", ",", "const", "MipsFunctionInfo", "&", "FI", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "call", "can", "be", "lowered", "as", "a", "tail", "call", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips"], "File": "Mips16ISelLowering", "Func": "isEligibleForTailCallOptimization", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21065, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ix86_data_alignment", "(", "tree", "type", ",", "int", "align", ",", "bool", "opt", ")", "{", "int", "max_align_compat", "=", "MIN", "(", "256", ",", "MAX_OFILE_ALIGNMENT", ")", ";", "int", "max_align", "=", "MIN", "(", "(", "unsigned", ")", "ix86_tune_cost", "->", "prefetch_block", "*", "8", ",", "MAX_OFILE_ALIGNMENT", ")", ";", "if", "(", "max_align", "<", "BITS_PER_WORD", ")", "max_align", "=", "BITS_PER_WORD", ";", "switch", "(", "ix86_align_data_type", ")", "{", "case", "ix86_align_data_type_abi", ":", "opt", "=", "false", ";", "break", ";", "case", "ix86_align_data_type_compat", ":", "max_align", "=", "BITS_PER_WORD", ";", "break", ";", "case", "ix86_align_data_type_cacheline", ":", "break", ";", "}", "if", "(", "opt", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "TYPE_SIZE", "(", "type", ")", "&&", "TREE_CODE", "(", "TYPE_SIZE", "(", "type", ")", ")", "==", "INTEGER_CST", ")", "{", "if", "(", "wi", "::", "geu_p", "(", "TYPE_SIZE", "(", "type", ")", ",", "max_align_compat", ")", "&&", "align", "<", "max_align_compat", ")", "align", "=", "max_align_compat", ";", "if", "(", "wi", "::", "geu_p", "(", "TYPE_SIZE", "(", "type", ")", ",", "max_align", ")", "&&", "align", "<", "max_align", ")", "align", "=", "max_align", ";", "}", "if", "(", "TARGET_64BIT", ")", "{", "if", "(", "(", "opt", "?", "AGGREGATE_TYPE_P", "(", "type", ")", ":", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", ")", "&&", "TYPE_SIZE", "(", "type", ")", "&&", "TREE_CODE", "(", "TYPE_SIZE", "(", "type", ")", ")", "==", "INTEGER_CST", "&&", "wi", "::", "geu_p", "(", "TYPE_SIZE", "(", "type", ")", ",", "128", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "if", "(", "!", "opt", ")", "return", "align", ";", "if", "(", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", ")", "{", "if", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "type", ")", ")", "==", "DFmode", "&&", "align", "<", "64", ")", "return", "64", ";", "if", "(", "ALIGN_MODE_128", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "type", ")", ")", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "else", "if", "(", "TREE_CODE", "(", "type", ")", "==", "COMPLEX_TYPE", ")", "{", "if", "(", "TYPE_MODE", "(", "type", ")", "==", "DCmode", "&&", "align", "<", "64", ")", "return", "64", ";", "if", "(", "(", "TYPE_MODE", "(", "type", ")", "==", "XCmode", "||", "TYPE_MODE", "(", "type", ")", "==", "TCmode", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "else", "if", "(", "(", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "UNION_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "QUAL_UNION_TYPE", ")", "&&", "TYPE_FIELDS", "(", "type", ")", ")", "{", "if", "(", "DECL_MODE", "(", "TYPE_FIELDS", "(", "type", ")", ")", "==", "DFmode", "&&", "align", "<", "64", ")", "return", "64", ";", "if", "(", "ALIGN_MODE_128", "(", "DECL_MODE", "(", "TYPE_FIELDS", "(", "type", ")", ")", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "else", "if", "(", "TREE_CODE", "(", "type", ")", "==", "REAL_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "INTEGER_TYPE", ")", "{", "if", "(", "TYPE_MODE", "(", "type", ")", "==", "DFmode", "&&", "align", "<", "64", ")", "return", "64", ";", "if", "(", "ALIGN_MODE_128", "(", "TYPE_MODE", "(", "type", ")", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "return", "align", ";", "}", ""], "natrual_language": ["Compute", "the", "alignment", "for", "a", "static", "variable", ".", "TYPE", "is", "the", "data", "type", ",", "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", "256", "8", "128", "128", "128", "64", "64", "128", "128", "64", "64", "128", "128", "64", "64", "128", "128", "64", "64", "128", "128"], "File": "i3864", "Func": "ix86_data_alignment", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21066, "Length": 453, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "bitmap_popcount", "(", "const", "sbitmap", "bmap", ")", "{", "unsigned", "int", "count", "=", "0", ";", "unsigned", "int", "n", "=", "0", ";", "sbitmap_iterator", "sbi", ";", "EXECUTE_IF_SET_IN_BITMAP", "(", "bmap", ",", "0", ",", "n", ",", "sbi", ")", "count", "++", ";", "return", "count", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "bits", "set", "in", "BMAP", "."], "TS_V_token": ["arm", "0", "0", "0"], "File": "arm", "Func": "bitmap_popcount", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21067, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_madd_needs_nop", "(", "rtx_insn", "*", "insn", ")", "{", "enum", "attr_type", "attr_type", ";", "rtx_insn", "*", "prev", ";", "rtx", "body", ";", "if", "(", "!", "TARGET_FIX_ERR_A53_835769", ")", "return", "false", ";", "if", "(", "!", "INSN_P", "(", "insn", ")", "||", "recog_memoized", "(", "insn", ")", "<", "0", ")", "return", "false", ";", "attr_type", "=", "get_attr_type", "(", "insn", ")", ";", "if", "(", "!", "is_madd_op", "(", "attr_type", ")", ")", "return", "false", ";", "prev", "=", "aarch64_prev_real_insn", "(", "insn", ")", ";", "extract_constrain_insn_cached", "(", "insn", ")", ";", "if", "(", "!", "prev", "||", "!", "contains_mem_rtx_p", "(", "PATTERN", "(", "prev", ")", ")", ")", "return", "false", ";", "body", "=", "single_set", "(", "prev", ")", ";", "if", "(", "GET_MODE", "(", "recog_data", ".", "operand", "[", "0", "]", ")", "==", "DImode", "&&", "(", "!", "body", "||", "!", "dep_between_memop_and_curr", "(", "body", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["When", "working", "around", "the", "Cortex-A53", "erratum", "835769", ",", "given", "rtx_insn", "INSN", ",", "return", "true", "if", "it", "is", "a", "64-bit", "multiply-accumulate", "instruction", "and", "has", "a", "preceding", "memory", "instruction", "such", "that", "a", "NOP", "should", "be", "inserted", "between", "them", "."], "TS_V_token": ["aarch64", "0", "0"], "File": "aarch64", "Func": "aarch64_madd_needs_nop", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21068, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64MCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "verifyInstructionPredicates", "(", "MI", ",", "computeAvailableFeatures", "(", "STI", ".", "getFeatureBits", "(", ")", ")", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "TLSDESCCALL", ")", "{", "MCFixupKind", "Fixup", "=", "MCFixupKind", "(", "AArch64", "::", "fixup_aarch64_tlsdesc_call", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "MI", ".", "getOperand", "(", "0", ")", ".", "getExpr", "(", ")", ",", "Fixup", ")", ")", ";", "return", ";", "}", "else", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "CompilerBarrier", ")", "{", "return", ";", "}", "uint64_t", "Binary", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "support", "::", "endian", "::", "Writer", "<", "support", "::", "little", ">", "(", "OS", ")", ".", "write", "<", "uint32_t", ">", "(", "Binary", ")", ";", "++", "MCNumEmitted", ";", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::TLSDESCCALL", "AArch64::fixup_aarch64_tlsdesc_call", "0", "0", "AArch64::CompilerBarrier", "support::endian", "support::little"], "File": "AArch64MCCodeEmitter29", "Func": "encodeInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21069, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "&", "MI", ",", "Register", "&", "SrcReg", ",", "Register", "&", "SrcReg2", ",", "int64_t", "&", "Mask", ",", "int64_t", "&", "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": "PPCInstrInfo", "Func": "analyzeCompare", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21070, "Length": 173, "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": 21071, "Length": 67, "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", "=", "Old", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "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", "(", ")", ";", "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", ")", ";", "}", "}", "}", "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", "0", "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": "ARMFrameLowering57", "Func": "eliminateCallFramePseudoInstr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21072, "Length": 303, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64AsmBackend", "::", "relaxInstruction", "(", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "llvm_unreachable", "(", "\"AArch64AsmBackend::relaxInstruction() unimplemented\"", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["AArch64", "AArch64", "\"AArch64AsmBackend::relaxInstruction() unimplemented\""], "File": "AArch64AsmBackend (2)1", "Func": "relaxInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21073, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "rs6000_allocate_stack_temp", "(", "machine_mode", "mode", ",", "bool", "offsettable_p", ",", "bool", "reg_reg_p", ")", "{", "rtx", "stack", "=", "assign_stack_temp", "(", "mode", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "rtx", "addr", "=", "XEXP", "(", "stack", ",", "0", ")", ";", "int", "strict_p", "=", "(", "reload_in_progress", "||", "reload_completed", ")", ";", "if", "(", "!", "legitimate_indirect_address_p", "(", "addr", ",", "strict_p", ")", ")", "{", "if", "(", "offsettable_p", "&&", "!", "rs6000_legitimate_offset_address_p", "(", "mode", ",", "addr", ",", "strict_p", ",", "true", ")", ")", "stack", "=", "replace_equiv_address", "(", "stack", ",", "copy_addr_to_reg", "(", "addr", ")", ")", ";", "else", "if", "(", "reg_reg_p", "&&", "!", "legitimate_indexed_address_p", "(", "addr", ",", "strict_p", ")", ")", "stack", "=", "replace_equiv_address", "(", "stack", ",", "copy_addr_to_reg", "(", "addr", ")", ")", ";", "}", "return", "stack", ";", "}", ""], "natrual_language": ["Allocate", "a", "stack", "temp", "and", "fixup", "the", "address", "so", "it", "meets", "the", "particular", "memory", "requirements", "(", "either", "offetable", "or", "REG+REG", "addressing", ")", "."], "TS_V_token": ["rs6000", "0"], "File": "rs60004", "Func": "rs6000_allocate_stack_temp", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21074, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "ArrayRef", "<", "unsigned", ">", "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 (2)", "Func": "lowerReturn", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21075, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "CallLowering", "*", "X86Subtarget", "::", "getCallLowering", "(", ")", "const", "{", "return", "CallLoweringInfo", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Methods", "used", "by", "Global", "ISel", "."], "TS_V_token": ["X86", "X86"], "File": "X86Subtarget (2)3", "Func": "getCallLowering", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21076, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmParser", "::", "processInstruction", "(", "MCInst", "&", "Inst", ",", "const", "OperandVector", "&", "Ops", ")", "{", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "X86", "::", "VMOVZPQILo2PQIrr", ":", "case", "X86", "::", "VMOVAPDrr", ":", "case", "X86", "::", "VMOVAPDYrr", ":", "case", "X86", "::", "VMOVAPSrr", ":", "case", "X86", "::", "VMOVAPSYrr", ":", "case", "X86", "::", "VMOVDQArr", ":", "case", "X86", "::", "VMOVDQAYrr", ":", "case", "X86", "::", "VMOVDQUrr", ":", "case", "X86", "::", "VMOVDQUYrr", ":", "case", "X86", "::", "VMOVUPDrr", ":", "case", "X86", "::", "VMOVUPDYrr", ":", "case", "X86", "::", "VMOVUPSrr", ":", "case", "X86", "::", "VMOVUPSYrr", ":", "{", "if", "(", "X86II", "::", "isX86_64ExtendedReg", "(", "Inst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", "||", "!", "X86II", "::", "isX86_64ExtendedReg", "(", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ")", "return", "false", ";", "unsigned", "NewOpc", ";", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Invalid opcode\"", ")", ";", "case", "X86", "::", "VMOVZPQILo2PQIrr", ":", "NewOpc", "=", "X86", "::", "VMOVPQI2QIrr", ";", "break", ";", "case", "X86", "::", "VMOVAPDrr", ":", "NewOpc", "=", "X86", "::", "VMOVAPDrr_REV", ";", "break", ";", "case", "X86", "::", "VMOVAPDYrr", ":", "NewOpc", "=", "X86", "::", "VMOVAPDYrr_REV", ";", "break", ";", "case", "X86", "::", "VMOVAPSrr", ":", "NewOpc", "=", "X86", "::", "VMOVAPSrr_REV", ";", "break", ";", "case", "X86", "::", "VMOVAPSYrr", ":", "NewOpc", "=", "X86", "::", "VMOVAPSYrr_REV", ";", "break", ";", "case", "X86", "::", "VMOVDQArr", ":", "NewOpc", "=", "X86", "::", "VMOVDQArr_REV", ";", "break", ";", "case", "X86", "::", "VMOVDQAYrr", ":", "NewOpc", "=", "X86", "::", "VMOVDQAYrr_REV", ";", "break", ";", "case", "X86", "::", "VMOVDQUrr", ":", "NewOpc", "=", "X86", "::", "VMOVDQUrr_REV", ";", "break", ";", "case", "X86", "::", "VMOVDQUYrr", ":", "NewOpc", "=", "X86", "::", "VMOVDQUYrr_REV", ";", "break", ";", "case", "X86", "::", "VMOVUPDrr", ":", "NewOpc", "=", "X86", "::", "VMOVUPDrr_REV", ";", "break", ";", "case", "X86", "::", "VMOVUPDYrr", ":", "NewOpc", "=", "X86", "::", "VMOVUPDYrr_REV", ";", "break", ";", "case", "X86", "::", "VMOVUPSrr", ":", "NewOpc", "=", "X86", "::", "VMOVUPSrr_REV", ";", "break", ";", "case", "X86", "::", "VMOVUPSYrr", ":", "NewOpc", "=", "X86", "::", "VMOVUPSYrr_REV", ";", "break", ";", "}", "Inst", ".", "setOpcode", "(", "NewOpc", ")", ";", "return", "true", ";", "}", "case", "X86", "::", "VMOVSDrr", ":", "case", "X86", "::", "VMOVSSrr", ":", "{", "if", "(", "X86II", "::", "isX86_64ExtendedReg", "(", "Inst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", "||", "!", "X86II", "::", "isX86_64ExtendedReg", "(", "Inst", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ")", "return", "false", ";", "unsigned", "NewOpc", ";", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Invalid opcode\"", ")", ";", "case", "X86", "::", "VMOVSDrr", ":", "NewOpc", "=", "X86", "::", "VMOVSDrr_REV", ";", "break", ";", "case", "X86", "::", "VMOVSSrr", ":", "NewOpc", "=", "X86", "::", "VMOVSSrr_REV", ";", "break", ";", "}", "Inst", ".", "setOpcode", "(", "NewOpc", ")", ";", "return", "true", ";", "}", "}", "}", ""], "natrual_language": ["Process", "a", "single", "instruction", "and", "collect", "debug", "info", "anchors", "."], "TS_V_token": ["X86", "X86", "X86::VMOVZPQILo2PQIrr", "X86::VMOVAPDrr", "X86::VMOVAPDYrr", "X86::VMOVAPSrr", "X86::VMOVAPSYrr", "X86::VMOVDQArr", "X86::VMOVDQAYrr", "X86::VMOVDQUrr", "X86::VMOVDQUYrr", "X86::VMOVUPDrr", "X86::VMOVUPDYrr", "X86::VMOVUPSrr", "X86::VMOVUPSYrr", "X86II::isX86_64ExtendedReg", "0", "X86II::isX86_64ExtendedReg", "1", "\"Invalid opcode\"", "X86::VMOVZPQILo2PQIrr", "X86::VMOVPQI2QIrr", "X86::VMOVAPDrr", "X86::VMOVAPDrr_REV", "X86::VMOVAPDYrr", "X86::VMOVAPDYrr_REV", "X86::VMOVAPSrr", "X86::VMOVAPSrr_REV", "X86::VMOVAPSYrr", "X86::VMOVAPSYrr_REV", "X86::VMOVDQArr", "X86::VMOVDQArr_REV", "X86::VMOVDQAYrr", "X86::VMOVDQAYrr_REV", "X86::VMOVDQUrr", "X86::VMOVDQUrr_REV", "X86::VMOVDQUYrr", "X86::VMOVDQUYrr_REV", "X86::VMOVUPDrr", "X86::VMOVUPDrr_REV", "X86::VMOVUPDYrr", "X86::VMOVUPDYrr_REV", "X86::VMOVUPSrr", "X86::VMOVUPSrr_REV", "X86::VMOVUPSYrr", "X86::VMOVUPSYrr_REV", "X86::VMOVSDrr", "X86::VMOVSSrr", "X86II::isX86_64ExtendedReg", "0", "X86II::isX86_64ExtendedReg", "2", "\"Invalid opcode\"", "X86::VMOVSDrr", "X86::VMOVSDrr_REV", "X86::VMOVSSrr", "X86::VMOVSSrr_REV"], "File": "X86AsmParser (2)3", "Func": "processInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21077, "Length": 441, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "ix86_output_ssemov", "(", "rtx_insn", "*", "insn", ",", "rtx", "*", "operands", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", ";", "if", "(", "get_attr_type", "(", "insn", ")", "!=", "TYPE_SSEMOV", "||", "mode", "!=", "GET_MODE", "(", "operands", "[", "1", "]", ")", ")", "gcc_unreachable", "(", ")", ";", "enum", "attr_mode", "insn_mode", "=", "get_attr_mode", "(", "insn", ")", ";", "switch", "(", "insn_mode", ")", "{", "case", "MODE_XI", ":", "case", "MODE_V8DF", ":", "case", "MODE_V16SF", ":", "return", "ix86_get_ssemov", "(", "operands", ",", "64", ",", "insn_mode", ",", "mode", ")", ";", "case", "MODE_OI", ":", "case", "MODE_V4DF", ":", "case", "MODE_V8SF", ":", "return", "ix86_get_ssemov", "(", "operands", ",", "32", ",", "insn_mode", ",", "mode", ")", ";", "case", "MODE_TI", ":", "case", "MODE_V2DF", ":", "case", "MODE_V4SF", ":", "return", "ix86_get_ssemov", "(", "operands", ",", "16", ",", "insn_mode", ",", "mode", ")", ";", "case", "MODE_DI", ":", "if", "(", "GENERAL_REG_P", "(", "operands", "[", "0", "]", ")", ")", "{", "if", "(", "HAVE_AS_IX86_INTERUNIT_MOVQ", ")", "return", "\"%vmovq\\t{%1, %q0|%q0, %1}\"", ";", "else", "return", "\"%vmovd\\t{%1, %q0|%q0, %1}\"", ";", "}", "else", "if", "(", "GENERAL_REG_P", "(", "operands", "[", "1", "]", ")", ")", "{", "if", "(", "HAVE_AS_IX86_INTERUNIT_MOVQ", ")", "return", "\"%vmovq\\t{%q1, %0|%0, %q1}\"", ";", "else", "return", "\"%vmovd\\t{%q1, %0|%0, %q1}\"", ";", "}", "else", "return", "\"%vmovq\\t{%1, %0|%0, %1}\"", ";", "case", "MODE_SI", ":", "if", "(", "GENERAL_REG_P", "(", "operands", "[", "0", "]", ")", ")", "return", "\"%vmovd\\t{%1, %k0|%k0, %1}\"", ";", "else", "if", "(", "GENERAL_REG_P", "(", "operands", "[", "1", "]", ")", ")", "return", "\"%vmovd\\t{%k1, %0|%0, %k1}\"", ";", "else", "return", "\"%vmovd\\t{%1, %0|%0, %1}\"", ";", "case", "MODE_HI", ":", "if", "(", "GENERAL_REG_P", "(", "operands", "[", "0", "]", ")", ")", "return", "\"vmovw\\t{%1, %k0|%k0, %1}\"", ";", "else", "if", "(", "GENERAL_REG_P", "(", "operands", "[", "1", "]", ")", ")", "return", "\"vmovw\\t{%k1, %0|%0, %k1}\"", ";", "else", "return", "\"vmovw\\t{%1, %0|%0, %1}\"", ";", "case", "MODE_DF", ":", "if", "(", "TARGET_AVX", "&&", "REG_P", "(", "operands", "[", "0", "]", ")", "&&", "REG_P", "(", "operands", "[", "1", "]", ")", ")", "return", "\"vmovsd\\t{%d1, %0|%0, %d1}\"", ";", "else", "return", "\"%vmovsd\\t{%1, %0|%0, %1}\"", ";", "case", "MODE_SF", ":", "if", "(", "TARGET_AVX", "&&", "REG_P", "(", "operands", "[", "0", "]", ")", "&&", "REG_P", "(", "operands", "[", "1", "]", ")", ")", "return", "\"vmovss\\t{%d1, %0|%0, %d1}\"", ";", "else", "return", "\"%vmovss\\t{%1, %0|%0, %1}\"", ";", "case", "MODE_HF", ":", "case", "MODE_BF", ":", "if", "(", "REG_P", "(", "operands", "[", "0", "]", ")", "&&", "REG_P", "(", "operands", "[", "1", "]", ")", ")", "return", "\"vmovsh\\t{%d1, %0|%0, %d1}\"", ";", "else", "return", "\"vmovsh\\t{%1, %0|%0, %1}\"", ";", "case", "MODE_V1DF", ":", "gcc_assert", "(", "!", "TARGET_AVX", ")", ";", "return", "\"movlpd\\t{%1, %0|%0, %1}\"", ";", "case", "MODE_V2SF", ":", "if", "(", "TARGET_AVX", "&&", "REG_P", "(", "operands", "[", "0", "]", ")", ")", "return", "\"vmovlps\\t{%1, %d0|%d0, %1}\"", ";", "else", "return", "\"%vmovlps\\t{%1, %0|%0, %1}\"", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "template", "of", "the", "TYPE_SSEMOV", "instruction", "to", "move", "operands", "[", "1", "]", "into", "operands", "[", "0", "]", "."], "TS_V_token": ["i386", "0", "1", "64", "32", "16", "0", "\"%vmovq\\t{%1, %q0|%q0, %1}\"", "\"%vmovd\\t{%1, %q0|%q0, %1}\"", "1", "\"%vmovq\\t{%q1, %0|%0, %q1}\"", "\"%vmovd\\t{%q1, %0|%0, %q1}\"", "\"%vmovq\\t{%1, %0|%0, %1}\"", "0", "\"%vmovd\\t{%1, %k0|%k0, %1}\"", "1", "\"%vmovd\\t{%k1, %0|%0, %k1}\"", "\"%vmovd\\t{%1, %0|%0, %1}\"", "0", "\"vmovw\\t{%1, %k0|%k0, %1}\"", "1", "\"vmovw\\t{%k1, %0|%0, %k1}\"", "\"vmovw\\t{%1, %0|%0, %1}\"", "0", "1", "\"vmovsd\\t{%d1, %0|%0, %d1}\"", "\"%vmovsd\\t{%1, %0|%0, %1}\"", "0", "1", "\"vmovss\\t{%d1, %0|%0, %d1}\"", "\"%vmovss\\t{%1, %0|%0, %1}\"", "0", "1", "\"vmovsh\\t{%d1, %0|%0, %d1}\"", "\"vmovsh\\t{%1, %0|%0, %1}\"", "\"movlpd\\t{%1, %0|%0, %1}\"", "0", "\"vmovlps\\t{%1, %d0|%d0, %1}\"", "\"%vmovlps\\t{%1, %0|%0, %1}\""], "File": "i3861", "Func": "ix86_output_ssemov", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21078, "Length": 380, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_vectorize_vec_perm_const", "(", "machine_mode", "vmode", ",", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ",", "const", "vec_perm_indices", "&", "sel", ")", "{", "struct", "expand_vec_perm_d", "d", ";", "if", "(", "op0", "&&", "rtx_equal_p", "(", "op0", ",", "op1", ")", ")", "d", ".", "one_vector_p", "=", "true", ";", "else", "if", "(", "sel", ".", "all_from_input_p", "(", "0", ")", ")", "{", "d", ".", "one_vector_p", "=", "true", ";", "op1", "=", "op0", ";", "}", "else", "if", "(", "sel", ".", "all_from_input_p", "(", "1", ")", ")", "{", "d", ".", "one_vector_p", "=", "true", ";", "op0", "=", "op1", ";", "}", "else", "d", ".", "one_vector_p", "=", "false", ";", "d", ".", "perm", ".", "new_vector", "(", "sel", ".", "encoding", "(", ")", ",", "d", ".", "one_vector_p", "?", "1", ":", "2", ",", "sel", ".", "nelts_per_input", "(", ")", ")", ";", "d", ".", "vmode", "=", "vmode", ";", "d", ".", "vec_flags", "=", "aarch64_classify_vector_mode", "(", "d", ".", "vmode", ")", ";", "d", ".", "target", "=", "target", ";", "d", ".", "op0", "=", "op0", ";", "d", ".", "op1", "=", "op1", ";", "d", ".", "testing_p", "=", "!", "target", ";", "if", "(", "!", "d", ".", "testing_p", ")", "return", "aarch64_expand_vec_perm_const_1", "(", "&", "d", ")", ";", "rtx_insn", "*", "last", "=", "get_last_insn", "(", ")", ";", "bool", "ret", "=", "aarch64_expand_vec_perm_const_1", "(", "&", "d", ")", ";", "gcc_assert", "(", "last", "==", "get_last_insn", "(", ")", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VECTORIZE_VEC_PERM_CONST", "."], "TS_V_token": ["aarch64", "0", "1", "1", "2"], "File": "aarch645", "Func": "aarch64_vectorize_vec_perm_const", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21079, "Length": 207, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ix86_can_use_return_insn_p", "(", "void", ")", "{", "struct", "ix86_frame", "frame", ";", "if", "(", "!", "reload_completed", "||", "frame_pointer_needed", ")", "return", "0", ";", "if", "(", "current_function_pops_args", "&&", "current_function_args_size", ">=", "32768", ")", "return", "0", ";", "ix86_compute_frame_layout", "(", "&", "frame", ")", ";", "return", "frame", ".", "to_allocate", "==", "0", "&&", "frame", ".", "nregs", "==", "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", "0"], "File": "i3863", "Func": "ix86_can_use_return_insn_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21080, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "getMachineCombinerPatterns", "(", "MachineInstr", "&", "Root", ",", "SmallVectorImpl", "<", "MachineCombinerPattern", "::", "MC_PATTERN", ">", "&", "Patterns", ")", "const", "{", "if", "(", "Subtarget", ".", "getTargetMachine", "(", ")", ".", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "Aggressive", ")", "return", "false", ";", "if", "(", "!", "Root", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getTarget", "(", ")", ".", "Options", ".", "UnsafeFPMath", ")", "return", "false", ";", "bool", "Commute", ";", "if", "(", "isReassocCandidate", "(", "Root", ",", "Commute", ")", ")", "{", "if", "(", "Commute", ")", "{", "Patterns", ".", "push_back", "(", "MachineCombinerPattern", "::", "MC_REASSOC_AX_YB", ")", ";", "Patterns", ".", "push_back", "(", "MachineCombinerPattern", "::", "MC_REASSOC_XA_YB", ")", ";", "}", "else", "{", "Patterns", ".", "push_back", "(", "MachineCombinerPattern", "::", "MC_REASSOC_AX_BY", ")", ";", "Patterns", ".", "push_back", "(", "MachineCombinerPattern", "::", "MC_REASSOC_XA_BY", ")", ";", "}", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "when", "there", "is", "potentially", "a", "faster", "code", "sequence", "for", "an", "instruction", "chain", "ending", "in", "Root", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCInstrInfo103", "Func": "getMachineCombinerPatterns", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21081, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mmix_assemble_integer", "(", "rtx", "x", ",", "unsigned", "int", "size", ",", "int", "aligned_p", ")", "{", "if", "(", "aligned_p", ")", "switch", "(", "size", ")", "{", "case", "1", ":", "if", "(", "GET_CODE", "(", "x", ")", "!=", "CONST_INT", ")", "{", "assemble_integer_with_op", "(", "\"\\t.byte\\t\"", ",", "x", ")", ";", "return", "true", ";", "}", "fputs", "(", "\"\\tBYTE\\t\"", ",", "asm_out_file", ")", ";", "mmix_print_operand", "(", "asm_out_file", ",", "x", ",", "'B'", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "return", "true", ";", "case", "2", ":", "if", "(", "GET_CODE", "(", "x", ")", "!=", "CONST_INT", ")", "{", "aligned_p", "=", "0", ";", "break", ";", "}", "fputs", "(", "\"\\tWYDE\\t\"", ",", "asm_out_file", ")", ";", "mmix_print_operand", "(", "asm_out_file", ",", "x", ",", "'W'", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "return", "true", ";", "case", "4", ":", "if", "(", "GET_CODE", "(", "x", ")", "!=", "CONST_INT", ")", "{", "aligned_p", "=", "0", ";", "break", ";", "}", "fputs", "(", "\"\\tTETRA\\t\"", ",", "asm_out_file", ")", ";", "mmix_print_operand", "(", "asm_out_file", ",", "x", ",", "'L'", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "return", "true", ";", "case", "8", ":", "gcc_assert", "(", "GET_CODE", "(", "x", ")", "!=", "CONST_DOUBLE", ")", ";", "assemble_integer_with_op", "(", "\"\\tOCTA\\t\"", ",", "x", ")", ";", "return", "true", ";", "}", "return", "default_assemble_integer", "(", "x", ",", "size", ",", "aligned_p", ")", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "assembling", "integer", "objects", ".", "Use", "mmix_print_operand", "for", "WYDE", "and", "TETRA", ".", "Use", "mmix_output_octa", "to", "output", "8-byte", "CONST_DOUBLEs", "."], "TS_V_token": ["mmix", "1", "\"\\t.byte\\t\"", "\"\\tBYTE\\t\"", "2", "0", "\"\\tWYDE\\t\"", "4", "0", "\"\\tTETRA\\t\"", "8", "\"\\tOCTA\\t\""], "File": "mmix", "Func": "mmix_assemble_integer", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21082, "Length": 201, "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": 21083, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0TargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ",", "Instruction", "*", "I", ")", "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": ["Cpu0", "Cpu0", "0", "1"], "File": "Cpu0ISelLowering4", "Func": "isLegalAddressingMode", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21084, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "SelectAddressRegImm34", "(", "SDValue", "N", ",", "SDValue", "&", "Disp", ",", "SDValue", "&", "Base", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "N", ".", "getValueType", "(", ")", "!=", "MVT", "::", "i64", ")", "return", "false", ";", "SDLoc", "dl", "(", "N", ")", ";", "int64_t", "Imm", "=", "0", ";", "if", "(", "N", ".", "getOpcode", "(", ")", "==", "ISD", "::", "ADD", ")", "{", "if", "(", "!", "isIntS34Immediate", "(", "N", ".", "getOperand", "(", "1", ")", ",", "Imm", ")", ")", "return", "false", ";", "Disp", "=", "DAG", ".", "getTargetConstant", "(", "Imm", ",", "dl", ",", "N", ".", "getValueType", "(", ")", ")", ";", "if", "(", "FrameIndexSDNode", "*", "FI", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "N", ".", "getOperand", "(", "0", ")", ")", ")", "Base", "=", "DAG", ".", "getTargetFrameIndex", "(", "FI", "->", "getIndex", "(", ")", ",", "N", ".", "getValueType", "(", ")", ")", ";", "else", "Base", "=", "N", ".", "getOperand", "(", "0", ")", ";", "return", "true", ";", "}", "if", "(", "N", ".", "getOpcode", "(", ")", "==", "ISD", "::", "OR", ")", "{", "if", "(", "!", "isIntS34Immediate", "(", "N", ".", "getOperand", "(", "1", ")", ",", "Imm", ")", ")", "return", "false", ";", "KnownBits", "LHSKnown", "=", "DAG", ".", "computeKnownBits", "(", "N", ".", "getOperand", "(", "0", ")", ")", ";", "if", "(", "(", "LHSKnown", ".", "Zero", ".", "getZExtValue", "(", ")", "|", "~", "(", "uint64_t", ")", "Imm", ")", "!=", "~", "0ULL", ")", "return", "false", ";", "if", "(", "FrameIndexSDNode", "*", "FI", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "N", ".", "getOperand", "(", "0", ")", ")", ")", "Base", "=", "DAG", ".", "getTargetFrameIndex", "(", "FI", "->", "getIndex", "(", ")", ",", "N", ".", "getValueType", "(", ")", ")", ";", "else", "Base", "=", "N", ".", "getOperand", "(", "0", ")", ";", "Disp", "=", "DAG", ".", "getTargetConstant", "(", "Imm", ",", "dl", ",", "N", ".", "getValueType", "(", ")", ")", ";", "return", "true", ";", "}", "if", "(", "isIntS34Immediate", "(", "N", ",", "Imm", ")", ")", "{", "Disp", "=", "DAG", ".", "getTargetConstant", "(", "Imm", ",", "dl", ",", "N", ".", "getValueType", "(", ")", ")", ";", "Base", "=", "DAG", ".", "getRegister", "(", "PPC", "::", "ZERO8", ",", "N", ".", "getValueType", "(", ")", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Similar", "to", "the", "16-bit", "case", "but", "for", "instructions", "that", "take", "a", "34-bit", "displacement", "field", "(", "prefixed", "loads/stores", ")", "."], "TS_V_token": ["PowerPC", "PPC", "MVT::i64", "0", "ISD::ADD", "1", "0", "0", "ISD::OR", "1", "0", "0ULL", "0", "0", "PPC::ZERO8"], "File": "PPCISelLowering109", "Func": "SelectAddressRegImm34", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21085, "Length": 339, "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", "(", "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", "(", "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", "(", "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": "i3865", "Func": "pro_epilogue_adjust_stack", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21086, "Length": 399, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getMaxMemcpyTPInlineSizeThreshold", "(", ")", "const", "{", "return", "128", ";", "}", ""], "natrual_language": ["getMaxMemcpyTPInlineSizeThreshold", "-", "Returns", "the", "maximum", "size", "that", "still", "makes", "it", "profitable", "to", "inline", "a", "llvm.memcpy", "as", "a", "Tail", "Predicated", "loop", "."], "TS_V_token": ["ARM", "128"], "File": "ARMSubtarget100", "Func": "getMaxMemcpyTPInlineSizeThreshold", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21087, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "X86TargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", "DL", ",", "LLVMContext", "&", "Context", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "MVT", "::", "i8", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", ">=", "512", ")", "{", "EVT", "EltVT", "=", "VT", ".", "getVectorElementType", "(", ")", ";", "const", "unsigned", "NumElts", "=", "VT", ".", "getVectorNumElements", "(", ")", ";", "if", "(", "Subtarget", ".", "hasAVX512", "(", ")", ")", "if", "(", "EltVT", "==", "MVT", "::", "i32", "||", "EltVT", "==", "MVT", "::", "i64", "||", "EltVT", "==", "MVT", "::", "f32", "||", "EltVT", "==", "MVT", "::", "f64", ")", "return", "EVT", "::", "getVectorVT", "(", "Context", ",", "MVT", "::", "i1", ",", "NumElts", ")", ";", "if", "(", "Subtarget", ".", "hasBWI", "(", ")", ")", "if", "(", "EltVT", "==", "MVT", "::", "i8", "||", "EltVT", "==", "MVT", "::", "i16", ")", "return", "EVT", "::", "getVectorVT", "(", "Context", ",", "MVT", "::", "i1", ",", "NumElts", ")", ";", "}", "if", "(", "VT", ".", "isSimple", "(", ")", ")", "{", "MVT", "VVT", "=", "VT", ".", "getSimpleVT", "(", ")", ";", "const", "unsigned", "NumElts", "=", "VVT", ".", "getVectorNumElements", "(", ")", ";", "MVT", "EltVT", "=", "VVT", ".", "getVectorElementType", "(", ")", ";", "if", "(", "Subtarget", ".", "hasBWI", "(", ")", "&&", "Subtarget", ".", "hasVLX", "(", ")", ")", "return", "MVT", "::", "getVectorVT", "(", "MVT", "::", "i1", ",", "NumElts", ")", ";", "if", "(", "!", "isTypeLegal", "(", "VT", ")", "&&", "getTypeAction", "(", "Context", ",", "VT", ")", "==", "TypePromoteInteger", ")", "{", "EVT", "LegalVT", "=", "getTypeToTransformTo", "(", "Context", ",", "VT", ")", ";", "EltVT", "=", "LegalVT", ".", "getVectorElementType", "(", ")", ".", "getSimpleVT", "(", ")", ";", "}", "if", "(", "Subtarget", ".", "hasVLX", "(", ")", "&&", "EltVT", ".", "getSizeInBits", "(", ")", ">=", "32", ")", "switch", "(", "NumElts", ")", "{", "case", "2", ":", "return", "MVT", "::", "v2i1", ";", "case", "4", ":", "return", "MVT", "::", "v4i1", ";", "case", "8", ":", "return", "MVT", "::", "v8i1", ";", "}", "}", "return", "VT", ".", "changeVectorElementTypeToInteger", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["X86", "X86", "MVT::i8", "512", "MVT::i32", "MVT::i64", "MVT::f32", "MVT::f64", "MVT::i1", "MVT::i8", "MVT::i16", "MVT::i1", "MVT::getVectorVT", "MVT::i1", "32", "2", "MVT::v2i1", "4", "MVT::v4i1", "8", "MVT::v8i1"], "File": "X86ISelLowering143", "Func": "getSetCCResultType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21088, "Length": 307, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pru_addr_space_legitimate_address_p", "(", "machine_mode", "mode", ",", "rtx", "operand", ",", "bool", "strict_p", ",", "addr_space_t", "as", ")", "{", "if", "(", "as", "==", "ADDR_SPACE_REGIO", ")", "{", "return", "true", ";", "}", "else", "if", "(", "as", "!=", "ADDR_SPACE_GENERIC", ")", "{", "gcc_unreachable", "(", ")", ";", "}", "switch", "(", "GET_CODE", "(", "operand", ")", ")", "{", "case", "SYMBOL_REF", ":", "case", "LABEL_REF", ":", "case", "CONST", ":", "case", "CONST_WIDE_INT", ":", "return", "false", ";", "case", "CONST_INT", ":", "return", "ctable_addr_operand", "(", "operand", ",", "VOIDmode", ")", ";", "case", "REG", ":", "return", "pru_regno_ok_for_base_p", "(", "REGNO", "(", "operand", ")", ",", "strict_p", ")", ";", "case", "PLUS", ":", "{", "rtx", "op0", "=", "XEXP", "(", "operand", ",", "0", ")", ";", "rtx", "op1", "=", "XEXP", "(", "operand", ",", "1", ")", ";", "return", "pru_valid_addr_expr_p", "(", "mode", ",", "op0", ",", "op1", ",", "strict_p", ")", ";", "}", "default", ":", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ADDR_SPACE_LEGITIMATE_ADDRESS_P", "."], "TS_V_token": ["pru", "0", "1"], "File": "pru", "Func": "pru_addr_space_legitimate_address_p", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21089, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_declare_function_name", "(", "FILE", "*", "stream", ",", "const", "char", "*", "name", ",", "tree", "decl", ")", "{", "fprintf", "(", "stream", ",", "\"\\t.syntax unified\\n\"", ")", ";", "if", "(", "TARGET_THUMB", ")", "{", "if", "(", "is_called_in_ARM_mode", "(", "decl", ")", "||", "(", "TARGET_THUMB1", "&&", "!", "TARGET_THUMB1_ONLY", "&&", "cfun", "->", "is_thunk", ")", ")", "fprintf", "(", "stream", ",", "\"\\t.code 32\\n\"", ")", ";", "else", "if", "(", "TARGET_THUMB1", ")", "fprintf", "(", "stream", ",", "\"\\t.code\\t16\\n\\t.thumb_func\\n\"", ")", ";", "else", "fprintf", "(", "stream", ",", "\"\\t.thumb\\n\\t.thumb_func\\n\"", ")", ";", "}", "else", "fprintf", "(", "stream", ",", "\"\\t.arm\\n\"", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t.fpu %s\\n\"", ",", "TARGET_SOFT_FLOAT", "?", "\"softvfp\"", ":", "TARGET_FPU_NAME", ")", ";", "if", "(", "TARGET_POKE_FUNCTION_NAME", ")", "arm_poke_function_name", "(", "stream", ",", "(", "const", "char", "*", ")", "name", ")", ";", "}", ""], "natrual_language": ["Implement", "ASM_DECLARE_FUNCTION_NAME", ".", "Output", "the", "ISA", "features", "used", "by", "the", "function", "fndecl", "."], "TS_V_token": ["arm", "\"\\t.syntax unified\\n\"", "\"\\t.code 32\\n\"", "\"\\t.code\\t16\\n\\t.thumb_func\\n\"", "\"\\t.thumb\\n\\t.thumb_func\\n\"", "\"\\t.arm\\n\"", "\"\\t.fpu %s\\n\"", "\"softvfp\""], "File": "arm5", "Func": "arm_declare_function_name", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21090, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86FastISel", "::", "fastMaterializeFloatZero", "(", "const", "ConstantFP", "*", "CF", ")", "{", "MVT", "VT", ";", "if", "(", "!", "isTypeLegal", "(", "CF", "->", "getType", "(", ")", ",", "VT", ")", ")", "return", "0", ";", "bool", "HasAVX512", "=", "Subtarget", "->", "hasAVX512", "(", ")", ";", "unsigned", "Opc", "=", "0", ";", "const", "TargetRegisterClass", "*", "RC", "=", "nullptr", ";", "switch", "(", "VT", ".", "SimpleTy", ")", "{", "default", ":", "return", "0", ";", "case", "MVT", "::", "f32", ":", "if", "(", "X86ScalarSSEf32", ")", "{", "Opc", "=", "HasAVX512", "?", "X86", "::", "AVX512_FsFLD0SS", ":", "X86", "::", "FsFLD0SS", ";", "RC", "=", "HasAVX512", "?", "&", "X86", "::", "FR32XRegClass", ":", "&", "X86", "::", "FR32RegClass", ";", "}", "else", "{", "Opc", "=", "X86", "::", "LD_Fp032", ";", "RC", "=", "&", "X86", "::", "RFP32RegClass", ";", "}", "break", ";", "case", "MVT", "::", "f64", ":", "if", "(", "X86ScalarSSEf64", ")", "{", "Opc", "=", "HasAVX512", "?", "X86", "::", "AVX512_FsFLD0SD", ":", "X86", "::", "FsFLD0SD", ";", "RC", "=", "HasAVX512", "?", "&", "X86", "::", "FR64XRegClass", ":", "&", "X86", "::", "FR64RegClass", ";", "}", "else", "{", "Opc", "=", "X86", "::", "LD_Fp064", ";", "RC", "=", "&", "X86", "::", "RFP64RegClass", ";", "}", "break", ";", "case", "MVT", "::", "f80", ":", "return", "0", ";", "}", "unsigned", "ResultReg", "=", "createResultReg", "(", "RC", ")", ";", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "TII", ".", "get", "(", "Opc", ")", ",", "ResultReg", ")", ";", "return", "ResultReg", ";", "}", ""], "natrual_language": ["Emit", "the", "floating-point", "constant", "+0.0", "in", "a", "register", "using", "target-", "specific", "logic", "."], "TS_V_token": ["X86", "X86", "0", "0", "0", "MVT::f32", "X86", "X86::AVX512_FsFLD0SS", "X86::FsFLD0SS", "X86::FR32XRegClass", "X86::FR32RegClass", "X86::LD_Fp032", "X86::RFP32RegClass", "MVT::f64", "X86", "X86::AVX512_FsFLD0SD", "X86::FsFLD0SD", "X86::FR64XRegClass", "X86::FR64RegClass", "X86::LD_Fp064", "X86::RFP64RegClass", "MVT::f80", "0"], "File": "X86FastISel (2)4", "Func": "fastMaterializeFloatZero", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21091, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmBackend", "::", "allowEnhancedRelaxation", "(", ")", "const", "{", "return", "allowAutoPadding", "(", ")", "&&", "TargetPrefixMax", "!=", "0", "&&", "X86PadForBranchAlign", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "target", "allows", "an", "unrelaxable", "instruction", "to", "be", "emitted", "into", "RelaxableFragment", "and", "then", "we", "can", "increase", "its", "size", "in", "a", "tricky", "way", "for", "optimization", "."], "TS_V_token": ["X86", "X86", "0", "X86"], "File": "X86AsmBackend (2)1", "Func": "allowEnhancedRelaxation", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21092, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "AArch64TargetLowering", "::", "getScratchRegisters", "(", "CallingConv", "::", "ID", ")", "const", "{", "static", "const", "MCPhysReg", "ScratchRegs", "[", "]", "=", "{", "AArch64", "::", "X16", ",", "AArch64", "::", "X17", ",", "AArch64", "::", "LR", ",", "0", "}", ";", "return", "ScratchRegs", ";", "}", ""], "natrual_language": ["Returns", "a", "0", "terminated", "array", "of", "registers", "that", "can", "be", "safely", "used", "as", "scratch", "registers", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::X16", "AArch64::X17", "AArch64::LR", "0"], "File": "AArch64ISelLowering (2)", "Func": "getScratchRegisters", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21093, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "SubsumesPredicate", "(", "ArrayRef", "<", "MachineOperand", ">", "Pred1", ",", "ArrayRef", "<", "MachineOperand", ">", "Pred2", ")", "const", "{", "if", "(", "Pred1", ".", "size", "(", ")", ">", "2", "||", "Pred2", ".", "size", "(", ")", ">", "2", ")", "return", "false", ";", "ARMCC", "::", "CondCodes", "CC1", "=", "(", "ARMCC", "::", "CondCodes", ")", "Pred1", "[", "0", "]", ".", "getImm", "(", ")", ";", "ARMCC", "::", "CondCodes", "CC2", "=", "(", "ARMCC", "::", "CondCodes", ")", "Pred2", "[", "0", "]", ".", "getImm", "(", ")", ";", "if", "(", "CC1", "==", "CC2", ")", "return", "true", ";", "switch", "(", "CC1", ")", "{", "default", ":", "return", "false", ";", "case", "ARMCC", "::", "AL", ":", "return", "true", ";", "case", "ARMCC", "::", "HS", ":", "return", "CC2", "==", "ARMCC", "::", "HI", ";", "case", "ARMCC", "::", "LS", ":", "return", "CC2", "==", "ARMCC", "::", "LO", "||", "CC2", "==", "ARMCC", "::", "EQ", ";", "case", "ARMCC", "::", "GE", ":", "return", "CC2", "==", "ARMCC", "::", "GT", ";", "case", "ARMCC", "::", "LE", ":", "return", "CC2", "==", "ARMCC", "::", "LT", ";", "}", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "first", "specified", "predicate", "subsumes", "the", "second", ",", "e.g", "."], "TS_V_token": ["ARM", "ARM", "2", "2", "ARMCC::CondCodes", "ARMCC::CondCodes", "0", "ARMCC::CondCodes", "ARMCC::CondCodes", "0", "ARMCC::AL", "ARMCC::HS", "ARMCC::HI", "ARMCC::LS", "ARMCC::LO", "ARMCC::EQ", "ARMCC::GE", "ARMCC::GT", "ARMCC::LE", "ARMCC::LT"], "File": "ARMBaseInstrInfo (2)2", "Func": "SubsumesPredicate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21094, "Length": 161, "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", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "GetMemOperand", "(", "MBB", ",", "FI", ",", "MachineMemOperand", "::", "MOStore", ")", ";", "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", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", ""], "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": "MipsInstrInfo41", "Func": "storeRegToStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21095, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "SystemZInstrInfo", "::", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "*", "MI", ",", "ArrayRef", "<", "unsigned", ">", "Ops", ",", "MachineBasicBlock", "::", "iterator", "InsertPt", ",", "MachineInstr", "*", "LoadMI", ",", "LiveIntervals", "*", "LIS", ")", "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": ["SystemZ", "SystemZ"], "File": "SystemZInstrInfo49", "Func": "foldMemoryOperandImpl", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21096, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMLoc", "getStartLoc", "(", ")", "const", "{", "return", "StartLoc", ";", "}", ""], "natrual_language": ["getStartLoc", "-", "Get", "the", "location", "of", "the", "first", "token", "of", "this", "operand", "."], "TS_V_token": ["ARM64"], "File": "ARM64AsmParser", "Func": "getStartLoc", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21097, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_i387_mode_needed", "(", "int", "entity", ",", "rtx_insn", "*", "insn", ")", "{", "enum", "attr_i387_cw", "mode", ";", "if", "(", "CALL_P", "(", "insn", ")", "||", "(", "NONJUMP_INSN_P", "(", "insn", ")", "&&", "(", "asm_noperands", "(", "PATTERN", "(", "insn", ")", ")", ">=", "0", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "ASM_INPUT", ")", ")", ")", "return", "I387_CW_UNINITIALIZED", ";", "if", "(", "recog_memoized", "(", "insn", ")", "<", "0", ")", "return", "I387_CW_ANY", ";", "mode", "=", "get_attr_i387_cw", "(", "insn", ")", ";", "switch", "(", "entity", ")", "{", "case", "I387_TRUNC", ":", "if", "(", "mode", "==", "I387_CW_TRUNC", ")", "return", "mode", ";", "break", ";", "case", "I387_FLOOR", ":", "if", "(", "mode", "==", "I387_CW_FLOOR", ")", "return", "mode", ";", "break", ";", "case", "I387_CEIL", ":", "if", "(", "mode", "==", "I387_CW_CEIL", ")", "return", "mode", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "I387_CW_ANY", ";", "}", ""], "natrual_language": ["Return", "mode", "that", "i387", "must", "be", "switched", "into", "prior", "to", "the", "execution", "of", "insn", "."], "TS_V_token": ["i386", "0", "0"], "File": "i3868", "Func": "ix86_i387_mode_needed", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21098, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "thumb_legitimate_offset_p", "(", "machine_mode", "mode", ",", "HOST_WIDE_INT", "val", ")", "{", "switch", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", "{", "case", "1", ":", "return", "val", ">=", "0", "&&", "val", "<", "32", ";", "case", "2", ":", "return", "val", ">=", "0", "&&", "val", "<", "64", "&&", "(", "val", "&", "1", ")", "==", "0", ";", "default", ":", "return", "(", "val", ">=", "0", "&&", "(", "val", "+", "GET_MODE_SIZE", "(", "mode", ")", ")", "<=", "128", "&&", "(", "val", "&", "3", ")", "==", "0", ")", ";", "}", "}", ""], "natrual_language": ["Return", "nonzero", "if", "VAL", "can", "be", "used", "as", "an", "offset", "in", "a", "Thumb-state", "address", "instruction", "of", "mode", "MODE", "."], "TS_V_token": ["arm", "1", "0", "32", "2", "0", "64", "1", "0", "0", "128", "3", "0"], "File": "arm", "Func": "thumb_legitimate_offset_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21099, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_return_fpr_pair", "(", "machine_mode", "mode", ",", "machine_mode", "mode1", ",", "HOST_WIDE_INT", "offset1", ",", "machine_mode", "mode2", ",", "HOST_WIDE_INT", "offset2", ")", "{", "int", "inc", ";", "inc", "=", "(", "TARGET_NEWABI", "||", "mips_abi", "==", "ABI_32", "?", "2", ":", "MAX_FPRS_PER_FMT", ")", ";", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec", "(", "2", ",", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "mode1", ",", "FP_RETURN", ")", ",", "GEN_INT", "(", "offset1", ")", ")", ",", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "mode2", ",", "FP_RETURN", "+", "inc", ")", ",", "GEN_INT", "(", "offset2", ")", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "a", "composite", "value", "in", "a", "pair", "of", "floating-point", "registers", ".", "MODE1", "and", "OFFSET1", "are", "the", "mode", "and", "byte", "offset", "for", "the", "first", "value", ",", "likewise", "MODE2", "and", "OFFSET2", "for", "the", "second", ".", "MODE", "is", "the", "mode", "of", "the", "complete", "value", ".", "For", "n32", "&", "n64", ",", "$", "f0", "always", "holds", "the", "first", "value", "and", "$", "f2", "the", "second", ".", "Otherwise", "the", "values", "are", "packed", "together", "as", "closely", "as", "possible", "."], "TS_V_token": ["mips", "2", "2"], "File": "mips", "Func": "mips_return_fpr_pair", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21100, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_register_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "class1_i", ",", "reg_class_t", "class2_i", ")", "{", "enum", "reg_class", "class1", "=", "(", "enum", "reg_class", ")", "class1_i", ";", "enum", "reg_class", "class2", "=", "(", "enum", "reg_class", ")", "class2_i", ";", "if", "(", "inline_secondary_memory_needed", "(", "mode", ",", "class1", ",", "class2", ",", "false", ")", ")", "{", "int", "cost", "=", "1", ";", "cost", "+=", "inline_memory_move_cost", "(", "mode", ",", "class1", ",", "2", ")", ";", "cost", "+=", "inline_memory_move_cost", "(", "mode", ",", "class2", ",", "2", ")", ";", "if", "(", "GET_MODE_BITSIZE", "(", "mode", ")", ">", "BITS_PER_WORD", "&&", "TARGET_MEMORY_MISMATCH_STALL", "&&", "targetm", ".", "class_max_nregs", "(", "class1", ",", "mode", ")", ">", "targetm", ".", "class_max_nregs", "(", "class2", ",", "mode", ")", ")", "cost", "+=", "20", ";", "if", "(", "(", "MMX_CLASS_P", "(", "class1", ")", "&&", "MAYBE_FLOAT_CLASS_P", "(", "class2", ")", ")", "||", "(", "MMX_CLASS_P", "(", "class2", ")", "&&", "MAYBE_FLOAT_CLASS_P", "(", "class1", ")", ")", ")", "cost", "+=", "20", ";", "return", "cost", ";", "}", "if", "(", "MMX_CLASS_P", "(", "class1", ")", "!=", "MMX_CLASS_P", "(", "class2", ")", "||", "SSE_CLASS_P", "(", "class1", ")", "!=", "SSE_CLASS_P", "(", "class2", ")", ")", "return", "MAX", "(", "8", ",", "MMX_CLASS_P", "(", "class1", ")", "||", "MMX_CLASS_P", "(", "class2", ")", "?", "ix86_cost", "->", "mmxsse_to_integer", ":", "ix86_cost", "->", "ssemmx_to_integer", ")", ";", "if", "(", "MAYBE_FLOAT_CLASS_P", "(", "class1", ")", ")", "return", "ix86_cost", "->", "fp_move", ";", "if", "(", "MAYBE_SSE_CLASS_P", "(", "class1", ")", ")", "{", "if", "(", "GET_MODE_BITSIZE", "(", "mode", ")", "<=", "128", ")", "return", "ix86_cost", "->", "xmm_move", ";", "if", "(", "GET_MODE_BITSIZE", "(", "mode", ")", "<=", "256", ")", "return", "ix86_cost", "->", "ymm_move", ";", "return", "ix86_cost", "->", "zmm_move", ";", "}", "if", "(", "MAYBE_MMX_CLASS_P", "(", "class1", ")", ")", "return", "ix86_cost", "->", "mmx_move", ";", "return", "2", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "moving", "data", "from", "a", "register", "in", "class", "CLASS1", "to", "one", "in", "class", "CLASS2", ".", "It", "is", "not", "required", "that", "the", "cost", "always", "equal", "2", "when", "FROM", "is", "the", "same", "as", "TO", ";", "on", "some", "machines", "it", "is", "expensive", "to", "move", "between", "registers", "if", "they", "are", "not", "general", "registers", "."], "TS_V_token": ["i386", "1", "2", "2", "20", "20", "8", "128", "256", "2"], "File": "i3867", "Func": "ix86_register_move_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21101, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "VETargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", ",", "LLVMContext", "&", ",", "EVT", "VT", ")", "const", "{", "return", "MVT", "::", "i64", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["VE", "VE", "MVT::i64"], "File": "VEISelLowering16", "Func": "getSetCCResultType", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21102, "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", ",", "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", ")", ";", "if", "(", "CallConv", "==", "CallingConv", "::", "GHC", ")", "report_fatal_error", "(", "\"GHC functions return void only\"", ")", ";", "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", "\"GHC functions return void only\"", "4", "0", "\"Can only return in registers!\"", "1", "0", "SystemZISD::RET_FLAG", "MVT::Other"], "File": "SystemZISelLowering (2)2", "Func": "LowerReturn", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21103, "Length": 320, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86RetpolineThunks", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "getPassName", "(", ")", "<<", "'\\n'", ")", ";", "TM", "=", "&", "MF", ".", "getTarget", "(", ")", ";", ";", "STI", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "Is64Bit", "=", "TM", "->", "getTargetTriple", "(", ")", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ";", "MMI", "=", "&", "getAnalysis", "<", "MachineModuleInfo", ">", "(", ")", ";", "Module", "&", "M", "=", "const_cast", "<", "Module", "&", ">", "(", "*", "MMI", "->", "getModule", "(", ")", ")", ";", "if", "(", "!", "MF", ".", "getName", "(", ")", ".", "startswith", "(", "ThunkNamePrefix", ")", ")", "{", "if", "(", "InsertedThunks", ")", "return", "false", ";", "if", "(", "!", "STI", "->", "useRetpoline", "(", ")", "||", "STI", "->", "useRetpolineExternalThunk", "(", ")", ")", "return", "false", ";", "if", "(", "Is64Bit", ")", "createThunkFunction", "(", "M", ",", "R11ThunkName", ")", ";", "else", "for", "(", "StringRef", "Name", ":", "{", "EAXThunkName", ",", "ECXThunkName", ",", "EDXThunkName", ",", "EDIThunkName", "}", ")", "createThunkFunction", "(", "M", ",", "Name", ")", ";", "InsertedThunks", "=", "true", ";", "return", "true", ";", "}", "if", "(", "Is64Bit", ")", "{", "assert", "(", "MF", ".", "getName", "(", ")", "==", "\"__llvm_retpoline_r11\"", "&&", "\"Should only have an r11 thunk on 64-bit targets\"", ")", ";", "populateThunk", "(", "MF", ",", "X86", "::", "R11", ")", ";", "}", "else", "{", "if", "(", "MF", ".", "getName", "(", ")", "==", "EAXThunkName", ")", "populateThunk", "(", "MF", ",", "X86", "::", "EAX", ")", ";", "else", "if", "(", "MF", ".", "getName", "(", ")", "==", "ECXThunkName", ")", "populateThunk", "(", "MF", ",", "X86", "::", "ECX", ")", ";", "else", "if", "(", "MF", ".", "getName", "(", ")", "==", "EDXThunkName", ")", "populateThunk", "(", "MF", ",", "X86", "::", "EDX", ")", ";", "else", "if", "(", "MF", ".", "getName", "(", ")", "==", "EDIThunkName", ")", "populateThunk", "(", "MF", ",", "X86", "::", "EDI", ")", ";", "else", "llvm_unreachable", "(", "\"Invalid thunk name on x86-32!\"", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "\"__llvm_retpoline_r11\"", "\"Should only have an r11 thunk on 64-bit targets\"", "X86::R11", "X86::EAX", "X86::ECX", "X86::EDX", "X86::EDI", "\"Invalid thunk name on x86-32!\""], "File": "X86RetpolineThunks8", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21104, "Length": 299, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "canMergeStoresTo", "(", "unsigned", "AddressSpace", ",", "EVT", "MemVT", ",", "const", "SelectionDAG", "&", "DAG", ")", "const", "{", "bool", "NoFloat", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ";", "if", "(", "NoFloat", ")", "{", "unsigned", "MaxIntSize", "=", "Subtarget", ".", "is64Bit", "(", ")", "?", "64", ":", "32", ";", "return", "(", "MemVT", ".", "getSizeInBits", "(", ")", "<=", "MaxIntSize", ")", ";", "}", "if", "(", "MemVT", ".", "getSizeInBits", "(", ")", ">", "Subtarget", ".", "getPreferVectorWidth", "(", ")", ")", "return", "false", ";", "if", "(", "MemVT", "==", "MVT", "::", "v256i32", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "if", "it", "'s", "reasonable", "to", "merge", "stores", "to", "MemVT", "size", "."], "TS_V_token": ["X86", "X86", "64", "32", "MVT::v256i32"], "File": "X86ISelLowering118", "Func": "canMergeStoresTo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21105, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_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": ["mips", "1", "0", "1", "0"], "File": "mips", "Func": "mips_split_plus", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21106, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "override", "{", "bool", "Changed", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "FI", "=", "F", ".", "begin", "(", ")", ",", "FE", "=", "F", ".", "end", "(", ")", ";", "FI", "!=", "FE", ";", "++", "FI", ")", "{", "Changed", "|=", "runOnMachineBasicBlock", "(", "*", "FI", ")", ";", "FISCTextSectOffset", "+=", "FI", "->", "size", "(", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["FISC", "FISC"], "File": "FISCDelaySlotFiller", "Func": "runOnMachineFunction", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21107, "Length": 64, "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_OR_STUB", ",", "\"ppc-plt-or-stub\"", "}", ",", "{", "MO_PIC_FLAG", ",", "\"ppc-pic\"", "}", ",", "{", "MO_NLP_FLAG", ",", "\"ppc-nlp\"", "}", ",", "{", "MO_NLP_HIDDEN_FLAG", ",", "\"ppc-nlp-hidden\"", "}", "}", ";", "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-or-stub\"", "\"ppc-pic\"", "\"ppc-nlp\"", "\"ppc-nlp-hidden\""], "File": "PPCInstrInfo (3)", "Func": "getSerializableBitmaskMachineOperandTargetFlags", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21108, "Length": 72, "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", "=", "std", "::", "max", "<", "uint32_t", ">", "(", "RC", "->", "getSize", "(", ")", ",", "16", ")", ";", "bool", "isAligned", "=", "(", "MF", ".", "getTarget", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "getFrameLowering", "(", ")", "->", "getStackAlignment", "(", ")", ">=", "Alignment", ")", "||", "RI", ".", "canRealignStack", "(", "MF", ")", ";", "unsigned", "Opc", "=", "getStoreRegOpcode", "(", "SrcReg", ",", "RC", ",", "isAligned", ",", "Subtarget", ")", ";", "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\"", "16"], "File": "X86InstrInfo110", "Func": "storeRegToStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21109, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_function_specific_save", "(", "struct", "cl_target_option", "*", "ptr", ",", "struct", "gcc_options", "*", "opts", ")", "{", "ptr", "->", "arch", "=", "ix86_arch", ";", "ptr", "->", "schedule", "=", "ix86_schedule", ";", "ptr", "->", "prefetch_sse", "=", "x86_prefetch_sse", ";", "ptr", "->", "tune", "=", "ix86_tune", ";", "ptr", "->", "branch_cost", "=", "ix86_branch_cost", ";", "ptr", "->", "tune_defaulted", "=", "ix86_tune_defaulted", ";", "ptr", "->", "arch_specified", "=", "ix86_arch_specified", ";", "ptr", "->", "x_ix86_isa_flags_explicit", "=", "opts", "->", "x_ix86_isa_flags_explicit", ";", "ptr", "->", "x_ix86_target_flags_explicit", "=", "opts", "->", "x_ix86_target_flags_explicit", ";", "ptr", "->", "x_recip_mask_explicit", "=", "opts", "->", "x_recip_mask_explicit", ";", "ptr", "->", "x_ix86_arch_string", "=", "opts", "->", "x_ix86_arch_string", ";", "ptr", "->", "x_ix86_tune_string", "=", "opts", "->", "x_ix86_tune_string", ";", "ptr", "->", "x_ix86_cmodel", "=", "opts", "->", "x_ix86_cmodel", ";", "ptr", "->", "x_ix86_abi", "=", "opts", "->", "x_ix86_abi", ";", "ptr", "->", "x_ix86_asm_dialect", "=", "opts", "->", "x_ix86_asm_dialect", ";", "ptr", "->", "x_ix86_branch_cost", "=", "opts", "->", "x_ix86_branch_cost", ";", "ptr", "->", "x_ix86_dump_tunes", "=", "opts", "->", "x_ix86_dump_tunes", ";", "ptr", "->", "x_ix86_force_align_arg_pointer", "=", "opts", "->", "x_ix86_force_align_arg_pointer", ";", "ptr", "->", "x_ix86_force_drap", "=", "opts", "->", "x_ix86_force_drap", ";", "ptr", "->", "x_ix86_incoming_stack_boundary_arg", "=", "opts", "->", "x_ix86_incoming_stack_boundary_arg", ";", "ptr", "->", "x_ix86_pmode", "=", "opts", "->", "x_ix86_pmode", ";", "ptr", "->", "x_ix86_preferred_stack_boundary_arg", "=", "opts", "->", "x_ix86_preferred_stack_boundary_arg", ";", "ptr", "->", "x_ix86_recip_name", "=", "opts", "->", "x_ix86_recip_name", ";", "ptr", "->", "x_ix86_regparm", "=", "opts", "->", "x_ix86_regparm", ";", "ptr", "->", "x_ix86_section_threshold", "=", "opts", "->", "x_ix86_section_threshold", ";", "ptr", "->", "x_ix86_sse2avx", "=", "opts", "->", "x_ix86_sse2avx", ";", "ptr", "->", "x_ix86_stack_protector_guard", "=", "opts", "->", "x_ix86_stack_protector_guard", ";", "ptr", "->", "x_ix86_stringop_alg", "=", "opts", "->", "x_ix86_stringop_alg", ";", "ptr", "->", "x_ix86_tls_dialect", "=", "opts", "->", "x_ix86_tls_dialect", ";", "ptr", "->", "x_ix86_tune_ctrl_string", "=", "opts", "->", "x_ix86_tune_ctrl_string", ";", "ptr", "->", "x_ix86_tune_memcpy_strategy", "=", "opts", "->", "x_ix86_tune_memcpy_strategy", ";", "ptr", "->", "x_ix86_tune_memset_strategy", "=", "opts", "->", "x_ix86_tune_memset_strategy", ";", "ptr", "->", "x_ix86_tune_no_default", "=", "opts", "->", "x_ix86_tune_no_default", ";", "ptr", "->", "x_ix86_veclibabi_type", "=", "opts", "->", "x_ix86_veclibabi_type", ";", "gcc_assert", "(", "ptr", "->", "arch", "==", "ix86_arch", ")", ";", "gcc_assert", "(", "ptr", "->", "schedule", "==", "ix86_schedule", ")", ";", "gcc_assert", "(", "ptr", "->", "tune", "==", "ix86_tune", ")", ";", "gcc_assert", "(", "ptr", "->", "branch_cost", "==", "ix86_branch_cost", ")", ";", "}", ""], "natrual_language": ["Save", "the", "current", "options"], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_function_specific_save", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21110, "Length": 310, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "resolve_overloaded_builtin", "(", "location_t", "location", ",", "unsigned", "int", "code", ",", "vec", "<", "tree", ",", "va_gc", ">", "*", "arglist", ")", "{", "if", "(", "code", ">=", "vec_safe_length", "(", "registered_functions", ")", ")", "return", "NULL_TREE", ";", "registered_function", "&", "rfn", "=", "*", "(", "*", "registered_functions", ")", "[", "code", "]", ";", "if", "(", "rfn", ".", "overloaded_p", ")", "return", "function_resolver", "(", "location", ",", "rfn", ".", "instance", ",", "rfn", ".", "decl", ",", "*", "arglist", ")", ".", "resolve", "(", ")", ";", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["If", "we", "'re", "implementing", "manual", "overloading", ",", "check", "whether", "the", "SVE", "function", "with", "subcode", "CODE", "is", "overloaded", ",", "and", "if", "so", "attempt", "to", "determine", "the", "corresponding", "non-overloaded", "function", ".", "The", "call", "occurs", "at", "location", "LOCATION", "and", "has", "the", "arguments", "given", "by", "ARGLIST", ".", "If", "the", "call", "is", "erroneous", ",", "report", "an", "appropriate", "error", "and", "return", "error_mark_node", ".", "Otherwise", ",", "if", "the", "function", "is", "overloaded", ",", "return", "the", "decl", "of", "the", "non-overloaded", "function", ".", "Return", "NULL_TREE", "otherwise", ",", "indicating", "that", "the", "call", "should", "be", "processed", "in", "the", "normal", "way", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "resolve_overloaded_builtin", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21111, "Length": 76, "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": 21112, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleDAGInstrs", "*", "createMachineScheduler", "(", "MachineSchedContext", "*", "C", ")", "const", "override", "{", "ScheduleDAGMILive", "*", "DAG", "=", "createGenericSchedLive", "(", "C", ")", ";", "DAG", "->", "addMutation", "(", "createLoadClusterDAGMutation", "(", "DAG", "->", "TII", ",", "DAG", "->", "TRI", ")", ")", ";", "DAG", "->", "addMutation", "(", "createStoreClusterDAGMutation", "(", "DAG", "->", "TII", ",", "DAG", "->", "TRI", ")", ")", ";", "DAG", "->", "addMutation", "(", "createMacroFusionDAGMutation", "(", "DAG", "->", "TII", ")", ")", ";", "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"], "File": "AArch64TargetMachine28", "Func": "createMachineScheduler", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21113, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "emit_fusion_gpr_load", "(", "rtx", "target", ",", "rtx", "mem", ")", "{", "rtx", "addis_value", ";", "rtx", "addr", ";", "rtx", "load_offset", ";", "const", "char", "*", "load_str", "=", "NULL", ";", "machine_mode", "mode", ";", "if", "(", "GET_CODE", "(", "mem", ")", "==", "ZERO_EXTEND", ")", "mem", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "gcc_assert", "(", "REG_P", "(", "target", ")", "&&", "MEM_P", "(", "mem", ")", ")", ";", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "fusion_split_address", "(", "addr", ",", "&", "addis_value", ",", "&", "load_offset", ")", ";", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "load_str", "=", "\"lbz\"", ";", "break", ";", "case", "E_HImode", ":", "load_str", "=", "\"lhz\"", ";", "break", ";", "case", "E_SImode", ":", "case", "E_SFmode", ":", "load_str", "=", "\"lwz\"", ";", "break", ";", "case", "E_DImode", ":", "case", "E_DFmode", ":", "gcc_assert", "(", "TARGET_POWERPC64", ")", ";", "load_str", "=", "\"ld\"", ";", "break", ";", "default", ":", "fatal_insn", "(", "\"Bad GPR fusion\"", ",", "gen_rtx_SET", "(", "target", ",", "mem", ")", ")", ";", "}", "emit_fusion_addis", "(", "target", ",", "addis_value", ")", ";", "emit_fusion_load", "(", "target", ",", "target", ",", "load_offset", ",", "load_str", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Return", "a", "string", "to", "fuse", "an", "addis", "instruction", "with", "a", "gpr", "load", "to", "the", "same", "register", "that", "we", "loaded", "up", "the", "addis", "instruction", ".", "The", "address", "that", "is", "used", "is", "the", "logical", "address", "that", "was", "formed", "during", "peephole2", ":", "(", "lo_sum", "(", "high", ")", "(", "low-part", ")", ")", "The", "code", "is", "complicated", ",", "so", "we", "call", "output_asm_insn", "directly", ",", "and", "just", "return", "``", "''", "."], "TS_V_token": ["rs6000", "0", "0", "\"lbz\"", "\"lhz\"", "\"lwz\"", "\"ld\"", "\"Bad GPR fusion\"", "\"\""], "File": "rs6000", "Func": "emit_fusion_gpr_load", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21114, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "convertible_comparison_p", "(", "rtx_insn", "*", "insn", ",", "enum", "machine_mode", "mode", ")", "{", "if", "(", "mode", "!=", "(", "TARGET_64BIT", "?", "TImode", ":", "DImode", ")", ")", "return", "false", ";", "if", "(", "!", "TARGET_SSE4_1", ")", "return", "false", ";", "rtx", "def_set", "=", "single_set", "(", "insn", ")", ";", "gcc_assert", "(", "def_set", ")", ";", "rtx", "src", "=", "SET_SRC", "(", "def_set", ")", ";", "rtx", "dst", "=", "SET_DEST", "(", "def_set", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "src", ")", "==", "COMPARE", ")", ";", "if", "(", "GET_CODE", "(", "dst", ")", "!=", "REG", "||", "REGNO", "(", "dst", ")", "!=", "FLAGS_REG", "||", "GET_MODE", "(", "dst", ")", "!=", "CCZmode", ")", "return", "false", ";", "rtx", "op1", "=", "XEXP", "(", "src", ",", "0", ")", ";", "rtx", "op2", "=", "XEXP", "(", "src", ",", "1", ")", ";", "if", "(", "(", "CONST_SCALAR_INT_P", "(", "op1", ")", "||", "(", "(", "REG_P", "(", "op1", ")", "||", "MEM_P", "(", "op1", ")", ")", "&&", "GET_MODE", "(", "op1", ")", "==", "mode", ")", ")", "&&", "(", "CONST_SCALAR_INT_P", "(", "op2", ")", "||", "(", "(", "REG_P", "(", "op2", ")", "||", "MEM_P", "(", "op2", ")", ")", "&&", "GET_MODE", "(", "op2", ")", "==", "mode", ")", ")", ")", "return", "true", ";", "if", "(", "op2", "==", "const0_rtx", "&&", "GET_CODE", "(", "op1", ")", "==", "AND", "&&", "REG_P", "(", "XEXP", "(", "op1", ",", "0", ")", ")", ")", "{", "rtx", "op12", "=", "XEXP", "(", "op1", ",", "1", ")", ";", "return", "GET_MODE", "(", "XEXP", "(", "op1", ",", "0", ")", ")", "==", "TImode", "&&", "(", "CONST_SCALAR_INT_P", "(", "op12", ")", "||", "(", "(", "REG_P", "(", "op12", ")", "||", "MEM_P", "(", "op12", ")", ")", "&&", "GET_MODE", "(", "op12", ")", "==", "TImode", ")", ")", ";", "}", "if", "(", "op2", "==", "const0_rtx", "&&", "GET_CODE", "(", "op1", ")", "==", "AND", "&&", "GET_CODE", "(", "XEXP", "(", "op1", ",", "0", ")", ")", "==", "NOT", ")", "{", "rtx", "op11", "=", "XEXP", "(", "XEXP", "(", "op1", ",", "0", ")", ",", "0", ")", ";", "rtx", "op12", "=", "XEXP", "(", "op1", ",", "1", ")", ";", "return", "(", "REG_P", "(", "op11", ")", "||", "MEM_P", "(", "op11", ")", ")", "&&", "(", "REG_P", "(", "op12", ")", "||", "MEM_P", "(", "op12", ")", ")", "&&", "GET_MODE", "(", "op11", ")", "==", "mode", "&&", "GET_MODE", "(", "op12", ")", "==", "mode", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Check", "if", "comparison", "INSN", "may", "be", "transformed", "into", "vector", "comparison", ".", "Currently", "we", "transform", "equality/inequality", "checks", "which", "look", "like", ":", "(", "set", "(", "reg", ":", "CCZ", "17", "flags", ")", "(", "compare", ":", "CCZ", "(", "reg", ":", "TI", "x", ")", "(", "reg", ":", "TI", "y", ")", ")", ")"], "TS_V_token": ["i386", "0", "1", "0", "1", "0", "0", "0", "0", "1"], "File": "i386-features1", "Func": "convertible_comparison_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21115, "Length": 353, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "sh_extending_set_of_reg", "sh_find_extending_set_of_reg", "(", "rtx", "reg", ",", "rtx_insn", "*", "curr_insn", ")", "{", "if", "(", "reg", "==", "NULL", ")", "return", "sh_extending_set_of_reg", "(", "curr_insn", ")", ";", "if", "(", "SUBREG_P", "(", "reg", ")", ")", "reg", "=", "SUBREG_REG", "(", "reg", ")", ";", "if", "(", "!", "REG_P", "(", "reg", ")", ")", "return", "sh_extending_set_of_reg", "(", "curr_insn", ")", ";", "sh_extending_set_of_reg", "result", "=", "sh_find_set_of_reg", "(", "reg", ",", "curr_insn", ",", "prev_nonnote_nondebug_insn_bb", ",", "true", ")", ";", "if", "(", "result", ".", "set_src", "!=", "NULL", ")", "{", "if", "(", "GET_CODE", "(", "result", ".", "set_src", ")", "==", "SIGN_EXTEND", "||", "GET_CODE", "(", "result", ".", "set_src", ")", "==", "ZERO_EXTEND", ")", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"sh_find_extending_set_of_reg: reg %d is \"", "\"explicitly sign/zero extended in insn %d\\n\"", ",", "REGNO", "(", "reg", ")", ",", "INSN_UID", "(", "result", ".", "insn", ")", ")", ";", "result", ".", "from_mode", "=", "GET_MODE", "(", "XEXP", "(", "result", ".", "set_src", ",", "0", ")", ")", ";", "result", ".", "ext_code", "=", "GET_CODE", "(", "result", ".", "set_src", ")", ";", "}", "else", "if", "(", "MEM_P", "(", "result", ".", "set_src", ")", "&&", "(", "GET_MODE", "(", "result", ".", "set_src", ")", "==", "QImode", "||", "GET_MODE", "(", "result", ".", "set_src", ")", "==", "HImode", ")", "&&", "!", "sh_unspec_insn_p", "(", "result", ".", "insn", ")", ")", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"sh_find_extending_set_of_reg: reg %d is \"", "\"implicitly sign extended in insn %d\\n\"", ",", "REGNO", "(", "reg", ")", ",", "INSN_UID", "(", "result", ".", "insn", ")", ")", ";", "result", ".", "from_mode", "=", "GET_MODE", "(", "result", ".", "set_src", ")", ";", "result", ".", "ext_code", "=", "SIGN_EXTEND", ";", "}", "}", "return", "result", ";", "}", ""], "natrual_language": ["Given", "a", "reg", "and", "the", "current", "insn", ",", "see", "if", "the", "value", "of", "the", "reg", "originated", "from", "a", "sign", "or", "zero", "extension", "and", "return", "the", "discovered", "information", "."], "TS_V_token": ["sh", "\"sh_find_extending_set_of_reg: reg %d is \"", "\"explicitly sign/zero extended in insn %d\\n\"", "0", "\"sh_find_extending_set_of_reg: reg %d is \"", "\"implicitly sign extended in insn %d\\n\""], "File": "sh", "Func": "sh_find_extending_set_of_reg", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21116, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_expand_fpsr_fpcr_setter", "(", "int", "unspec", ",", "machine_mode", "mode", ",", "tree", "exp", ")", "{", "tree", "arg", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "rtx", "op", "=", "force_reg", "(", "mode", ",", "expand_normal", "(", "arg", ")", ")", ";", "emit_insn", "(", "gen_aarch64_set", "(", "unspec", ",", "mode", ",", "op", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "an", "expression", "EXP", "as", "fpsr", "or", "fpcr", "setter", "(", "depending", "on", "UNSPEC", ")", "using", "MODE", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64-builtins", "Func": "aarch64_expand_fpsr_fpcr_setter", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21117, "Length": 50, "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", ")", ";", "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", ")", ")", "{", "if", "(", "regclass", "==", "FP_TOP_SSE_REGS", ")", "return", "FP_TOP_REG", ";", "else", "if", "(", "regclass", "==", "FP_SECOND_SSE_REGS", ")", "return", "FP_SECOND_REG", ";", "else", "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": "i3866", "Func": "ix86_preferred_output_reload_class", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21118, "Length": 88, "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", "*", ">", "(", ")", ")", "{", "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": "LanaiTargetTransformInfo", "Func": "getArithmeticInstrCost", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21119, "Length": 141, "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", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "VRegs", ",", "for", "GlobalISel", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsCallLowering32", "Func": "lowerFormalArguments", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21120, "Length": 37, "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": ["Sparc", "\"Invalid access!\""], "File": "SparcAsmParser11", "Func": "getReg", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21121, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "TargetSubtargetInfo", "*", "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": ["LEG"], "File": "LEGTargetMachine", "Func": "getSubtargetImpl", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21122, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_evpc_neon_vtrn", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "int", "i", ",", "odd", ",", "mask", ",", "nelt", "=", "d", "->", "nelt", ";", "rtx", "out0", ",", "out1", ",", "in0", ",", "in1", ",", "x", ";", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "if", "(", "GET_MODE_UNIT_SIZE", "(", "d", "->", "vmode", ")", ">=", "8", ")", "return", "false", ";", "if", "(", "d", "->", "perm", "[", "0", "]", "==", "0", ")", "odd", "=", "0", ";", "else", "if", "(", "d", "->", "perm", "[", "0", "]", "==", "1", ")", "odd", "=", "1", ";", "else", "return", "false", ";", "mask", "=", "(", "d", "->", "one_vector_p", "?", "nelt", "-", "1", ":", "2", "*", "nelt", "-", "1", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "i", "+=", "2", ")", "{", "if", "(", "d", "->", "perm", "[", "i", "]", "!=", "i", "+", "odd", ")", "return", "false", ";", "if", "(", "d", "->", "perm", "[", "i", "+", "1", "]", "!=", "(", "(", "i", "+", "nelt", "+", "odd", ")", "&", "mask", ")", ")", "return", "false", ";", "}", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "switch", "(", "d", "->", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_neon_vtrnv16qi_internal", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_neon_vtrnv8qi_internal", ";", "break", ";", "case", "V8HImode", ":", "gen", "=", "gen_neon_vtrnv8hi_internal", ";", "break", ";", "case", "V4HImode", ":", "gen", "=", "gen_neon_vtrnv4hi_internal", ";", "break", ";", "case", "V4SImode", ":", "gen", "=", "gen_neon_vtrnv4si_internal", ";", "break", ";", "case", "V2SImode", ":", "gen", "=", "gen_neon_vtrnv2si_internal", ";", "break", ";", "case", "V2SFmode", ":", "gen", "=", "gen_neon_vtrnv2sf_internal", ";", "break", ";", "case", "V4SFmode", ":", "gen", "=", "gen_neon_vtrnv4sf_internal", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "in0", "=", "d", "->", "op0", ";", "in1", "=", "d", "->", "op1", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "{", "x", "=", "in0", ",", "in0", "=", "in1", ",", "in1", "=", "x", ";", "odd", "=", "!", "odd", ";", "}", "out0", "=", "d", "->", "target", ";", "out1", "=", "gen_reg_rtx", "(", "d", "->", "vmode", ")", ";", "if", "(", "odd", ")", "x", "=", "out0", ",", "out0", "=", "out1", ",", "out1", "=", "x", ";", "emit_insn", "(", "gen", "(", "out0", ",", "in0", ",", "in1", ",", "out1", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "for", "the", "VTRN", "insns", "."], "TS_V_token": ["arm", "8", "0", "0", "0", "0", "1", "1", "1", "2", "1", "0", "2", "1"], "File": "arm4", "Func": "arm_evpc_neon_vtrn", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21123, "Length": 354, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "MipsFrameLowering", "::", "estimateStackSize", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterInfo", "&", "TRI", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "int64_t", "Offset", "=", "0", ";", "for", "(", "int", "I", "=", "MFI", "->", "getObjectIndexBegin", "(", ")", ";", "I", "!=", "0", ";", "++", "I", ")", "Offset", "=", "std", "::", "max", "(", "Offset", ",", "-", "MFI", "->", "getObjectOffset", "(", "I", ")", ")", ";", "for", "(", "const", "MCPhysReg", "*", "R", "=", "TRI", ".", "getCalleeSavedRegs", "(", "&", "MF", ")", ";", "*", "R", ";", "++", "R", ")", "{", "unsigned", "Size", "=", "TRI", ".", "getMinimalPhysRegClass", "(", "*", "R", ")", "->", "getSize", "(", ")", ";", "Offset", "=", "RoundUpToAlignment", "(", "Offset", "+", "Size", ",", "Size", ")", ";", "}", "unsigned", "MaxAlign", "=", "MFI", "->", "getMaxAlignment", "(", ")", ";", "assert", "(", "!", "MFI", "->", "getObjectIndexEnd", "(", ")", "||", "MaxAlign", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "MFI", "->", "getObjectIndexEnd", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Offset", "=", "RoundUpToAlignment", "(", "Offset", "+", "MFI", "->", "getObjectSize", "(", "I", ")", ",", "MaxAlign", ")", ";", "if", "(", "MFI", "->", "adjustsStack", "(", ")", "&&", "hasReservedCallFrame", "(", "MF", ")", ")", "Offset", "=", "RoundUpToAlignment", "(", "Offset", "+", "MFI", "->", "getMaxCallFrameSize", "(", ")", ",", "std", "::", "max", "(", "MaxAlign", ",", "getStackAlignment", "(", ")", ")", ")", ";", "return", "RoundUpToAlignment", "(", "Offset", ",", "getStackAlignment", "(", ")", ")", ";", "}", ""], "natrual_language": ["Estimate", "and", "return", "the", "size", "of", "the", "stack", "frame", "."], "TS_V_token": ["Mips", "Mips", "0", "0", "0"], "File": "MipsFrameLowering19", "Func": "estimateStackSize", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21124, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "aarch64_symbol_type", "aarch64_classify_symbol", "(", "rtx", "x", ",", "HOST_WIDE_INT", "offset", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", ")", "{", "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", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", ")", "{", "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", ")", ")", "||", "!", "IN_RANGE", "(", "offset", ",", "-", "1048575", ",", "1048575", ")", ")", "return", "SYMBOL_FORCE_TO_MEM", ";", "return", "SYMBOL_TINY_ABSOLUTE", ";", "case", "AARCH64_CMODEL_SMALL", ":", "if", "(", "(", "SYMBOL_REF_WEAK", "(", "x", ")", "&&", "!", "aarch64_symbol_binds_local_p", "(", "x", ")", ")", "||", "!", "IN_RANGE", "(", "offset", ",", "HOST_WIDE_INT_C", "(", "-", "4294967263", ")", ",", "HOST_WIDE_INT_C", "(", "4294967264", ")", ")", ")", "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", "1048575", "1048575", "4294967263", "4294967264"], "File": "aarch645", "Func": "aarch64_classify_symbol", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21125, "Length": 242, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "OpenRISCPassConfig", "::", "addInstSelector", "(", ")", "{", "PM", ".", "add", "(", "createOpenRISCISelDag", "(", "getOpenRISCTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["OpenRISC", "OpenRISC", "OpenRISC", "OpenRISC"], "File": "OpenRISCTargetMachine", "Func": "addInstSelector", "Target": "OpenRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21126, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips16_stub_function_p", "(", "const_rtx", "x", ")", "{", "return", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "startswith", "(", "XSTR", "(", "x", ",", "0", ")", ",", "\"__mips16_\"", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "function", "X", "is", "a", "libgcc", "MIPS16", "stub", "function", "."], "TS_V_token": ["mips", "0", "\"__mips16_\""], "File": "mips", "Func": "mips16_stub_function_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21127, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "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", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["PowerPC", "PPC", "0", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC"], "File": "PPCAsmParser (2)", "Func": "ParseInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21128, "Length": 327, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiTargetObjectFile", "::", "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": ["Lanai", "Lanai", "\".sdata\"", "\".sbss\""], "File": "LanaiTargetObjectFile", "Func": "Initialize", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21129, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetMachine", "::", "addInstSelector", "(", "PassManagerBase", "&", "PM", ",", "bool", "Fast", ")", "{", "PM", ".", "add", "(", "createX86ISelDag", "(", "*", "this", ",", "Fast", ")", ")", ";", "if", "(", "EnableFastISel", ")", "PM", ".", "add", "(", "createDeadMachineInstructionElimPass", "(", ")", ")", ";", "PM", ".", "add", "(", "createX87FPRegKillInserterPass", "(", ")", ")", ";", "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"], "File": "X86TargetMachine92", "Func": "addInstSelector", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21130, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SVEIntrinsicOpts", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "bool", "Changed", "=", "false", ";", "SmallSetVector", "<", "Function", "*", ",", "4", ">", "Functions", ";", "for", "(", "auto", "&", "F", ":", "M", ".", "getFunctionList", "(", ")", ")", "{", "if", "(", "!", "F", ".", "isDeclaration", "(", ")", ")", "continue", ";", "switch", "(", "F", ".", "getIntrinsicID", "(", ")", ")", "{", "case", "Intrinsic", "::", "experimental_vector_extract", ":", "case", "Intrinsic", "::", "experimental_vector_insert", ":", "case", "Intrinsic", "::", "aarch64_sve_ptrue", ":", "for", "(", "User", "*", "U", ":", "F", ".", "users", "(", ")", ")", "Functions", ".", "insert", "(", "cast", "<", "Instruction", ">", "(", "U", ")", "->", "getFunction", "(", ")", ")", ";", "break", ";", "default", ":", "break", ";", "}", "}", "if", "(", "!", "Functions", ".", "empty", "(", ")", ")", "Changed", "|=", "optimizeFunctions", "(", "Functions", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["AArch64", "4", "Intrinsic::experimental_vector_extract", "Intrinsic::experimental_vector_insert", "Intrinsic::aarch64_sve_ptrue"], "File": "SVEIntrinsicOpts11", "Func": "runOnModule", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21131, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_secondary_memory_needed", "(", "machine_mode", "mode", ",", "reg_class_t", "from_class", ",", "reg_class_t", "to_class", ")", "{", "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": "rs6000", "Func": "rs6000_secondary_memory_needed", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21132, "Length": 98, "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": ["MINA32"], "File": "MINA32AsmBackend", "Func": "mayNeedRelaxation", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21133, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_setup_reg_addr_masks", "(", "void", ")", "{", "ssize_t", "rc", ",", "reg", ",", "m", ",", "nregs", ";", "addr_mask_type", "any_addr_mask", ",", "addr_mask", ";", "for", "(", "m", "=", "0", ";", "m", "<", "NUM_MACHINE_MODES", ";", "++", "m", ")", "{", "machine_mode", "m2", "=", "(", "machine_mode", ")", "m", ";", "unsigned", "short", "msize", "=", "GET_MODE_SIZE", "(", "m2", ")", ";", "bool", "indexed_only_p", "=", "(", "m", "==", "SDmode", "&&", "TARGET_NO_SDMODE_STACK", ")", ";", "any_addr_mask", "=", "0", ";", "for", "(", "rc", "=", "FIRST_RELOAD_REG_CLASS", ";", "rc", "<=", "LAST_RELOAD_REG_CLASS", ";", "rc", "++", ")", "{", "addr_mask", "=", "0", ";", "reg", "=", "reload_reg_map", "[", "rc", "]", ".", "reg", ";", "if", "(", "reg", ">=", "0", "&&", "rs6000_hard_regno_mode_ok_p", "[", "m", "]", "[", "reg", "]", ")", "{", "nregs", "=", "rs6000_hard_regno_nregs", "[", "m", "]", "[", "reg", "]", ";", "addr_mask", "|=", "RELOAD_REG_VALID", ";", "if", "(", "nregs", ">", "1", "||", "m", "==", "BLKmode", ")", "addr_mask", "|=", "RELOAD_REG_MULTIPLE", ";", "else", "addr_mask", "|=", "RELOAD_REG_INDEXED", ";", "if", "(", "TARGET_UPDATE", "&&", "(", "rc", "==", "RELOAD_REG_GPR", "||", "rc", "==", "RELOAD_REG_FPR", ")", "&&", "msize", "<=", "8", "&&", "!", "VECTOR_MODE_P", "(", "m2", ")", "&&", "!", "FLOAT128_VECTOR_P", "(", "m2", ")", "&&", "!", "COMPLEX_MODE_P", "(", "m2", ")", "&&", "(", "m2", "!=", "DFmode", "||", "!", "TARGET_UPPER_REGS_DF", ")", "&&", "(", "m2", "!=", "SFmode", "||", "!", "TARGET_UPPER_REGS_SF", ")", "&&", "!", "(", "TARGET_E500_DOUBLE", "&&", "msize", "==", "8", ")", ")", "{", "addr_mask", "|=", "RELOAD_REG_PRE_INCDEC", ";", "switch", "(", "m", ")", "{", "default", ":", "addr_mask", "|=", "RELOAD_REG_PRE_MODIFY", ";", "break", ";", "case", "DImode", ":", "if", "(", "TARGET_POWERPC64", ")", "addr_mask", "|=", "RELOAD_REG_PRE_MODIFY", ";", "break", ";", "case", "DFmode", ":", "case", "DDmode", ":", "if", "(", "TARGET_DF_INSN", ")", "addr_mask", "|=", "RELOAD_REG_PRE_MODIFY", ";", "break", ";", "}", "}", "}", "if", "(", "(", "addr_mask", "!=", "0", ")", "&&", "!", "indexed_only_p", "&&", "msize", "<=", "8", "&&", "(", "rc", "==", "RELOAD_REG_GPR", "||", "rc", "==", "RELOAD_REG_FPR", "||", "(", "rc", "==", "RELOAD_REG_VMX", "&&", "TARGET_P9_DFORM", "&&", "(", "m2", "==", "DFmode", "||", "m2", "==", "SFmode", ")", ")", ")", ")", "addr_mask", "|=", "RELOAD_REG_OFFSET", ";", "if", "(", "rc", "==", "RELOAD_REG_VMX", "&&", "msize", "==", "16", "&&", "(", "addr_mask", "&", "RELOAD_REG_VALID", ")", "!=", "0", ")", "addr_mask", "|=", "RELOAD_REG_AND_M16", ";", "reg_addr", "[", "m", "]", ".", "addr_mask", "[", "rc", "]", "=", "addr_mask", ";", "any_addr_mask", "|=", "addr_mask", ";", "}", "reg_addr", "[", "m", "]", ".", "addr_mask", "[", "RELOAD_REG_ANY", "]", "=", "any_addr_mask", ";", "}", "}", ""], "natrual_language": ["Update", "the", "addr", "mask", "bits", "in", "reg_addr", "to", "help", "secondary", "reload", "and", "go", "if", "legitimate", "address", "support", "to", "figure", "out", "the", "appropriate", "addressing", "to", "use", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "1", "8", "8", "0", "8", "16", "0"], "File": "rs60005", "Func": "rs6000_setup_reg_addr_masks", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21134, "Length": 355, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_use_return_insn_p", "(", "void", ")", "{", "if", "(", "!", "reload_completed", ")", "return", "false", ";", "if", "(", "crtl", "->", "profile", ")", "return", "false", ";", "return", "known_eq", "(", "cfun", "->", "machine", "->", "frame", ".", "frame_size", ",", "0", ")", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "we", "can", "use", "a", "simple_return", "insn", ".", "This", "function", "checks", "whether", "the", "callee", "saved", "stack", "is", "empty", ",", "which", "means", "no", "restore", "actions", "are", "need", ".", "The", "pro_and_epilogue", "will", "use", "this", "to", "check", "whether", "shrink-wrapping", "opt", "is", "feasible", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64", "Func": "aarch64_use_return_insn_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21135, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCCallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "ArrayRef", "<", "Register", ">>", "VRegs", ",", "FunctionLoweringInfo", "&", "FLI", ")", "const", "{", "return", "VRegs", ".", "empty", "(", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "VRegs", ",", "for", "GlobalISel", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCCallLowering4", "Func": "lowerFormalArguments", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21136, "Length": 36, "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", ")", ",", "ARMProcFamily", "(", "Others", ")", ",", "HasV8_1aOps", "(", "false", ")", ",", "HasFPARMv8", "(", "false", ")", ",", "HasNEON", "(", "false", ")", ",", "HasCrypto", "(", "false", ")", ",", "HasCRC", "(", "false", ")", ",", "HasPerfMon", "(", "false", ")", ",", "HasZeroCycleRegMove", "(", "false", ")", ",", "HasZeroCycleZeroing", "(", "false", ")", ",", "StrictAlign", "(", "false", ")", ",", "ReserveX18", "(", "false", ")", ",", "IsLittle", "(", "LittleEndian", ")", ",", "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": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64Subtarget17", "Func": "AArch64Subtarget", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21137, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "loongarch_promote_function_mode", "(", "const_tree", "type", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ",", "int", "*", "punsignedp", "ATTRIBUTE_UNUSED", ",", "const_tree", "fntype", "ATTRIBUTE_UNUSED", ",", "int", "for_return", "ATTRIBUTE_UNUSED", ")", "{", "int", "unsignedp", ";", "if", "(", "type", "!=", "NULL_TREE", ")", "return", "promote_mode", "(", "type", ",", "mode", ",", "punsignedp", ")", ";", "unsignedp", "=", "*", "punsignedp", ";", "PROMOTE_MODE", "(", "mode", ",", "unsignedp", ",", "type", ")", ";", "*", "punsignedp", "=", "unsignedp", ";", "return", "mode", ";", "}", ""], "natrual_language": ["This", "function", "is", "equivalent", "to", "default_promote_function_mode_always_promote", "except", "that", "it", "returns", "a", "promoted", "mode", "even", "if", "type", "is", "NULL_TREE", ".", "This", "is", "needed", "by", "libcalls", "which", "have", "no", "type", "(", "only", "a", "mode", ")", "such", "as", "fixed", "conversion", "routines", "that", "take", "a", "signed", "or", "unsigned", "char/short", "argument", "and", "convert", "it", "to", "a", "fixed", "type", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_promote_function_mode", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21138, "Length": 67, "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", "==", "0", ")", "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", "0"], "File": "X86FastISel (2)", "Func": "tryToFoldLoadIntoMI", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21139, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "get_csky_jump_table_size", "(", "rtx", "insn", ")", "{", "if", "(", "JUMP_TABLES_IN_TEXT_SECTION", "||", "readonly_data_section", "==", "text_section", ")", "{", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "int", "elt", "=", "GET_CODE", "(", "body", ")", "==", "ADDR_DIFF_VEC", "?", "1", ":", "0", ";", "HOST_WIDE_INT", "size", ";", "HOST_WIDE_INT", "modesize", ";", "modesize", "=", "GET_MODE_SIZE", "(", "GET_MODE", "(", "body", ")", ")", ";", "size", "=", "modesize", "*", "XVECLEN", "(", "body", ",", "elt", ")", ";", "switch", "(", "modesize", ")", "{", "case", "1", ":", "size", "=", "(", "size", "+", "1", ")", "&", "~", "(", "HOST_WIDE_INT", ")", "1", ";", "break", ";", "case", "2", ":", "break", ";", "case", "4", ":", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "size", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Compute", "the", "size", "of", "a", "vector", "jump", "table", "."], "TS_V_token": ["csky", "1", "0", "1", "1", "1", "2", "4", "0"], "File": "csky", "Func": "get_csky_jump_table_size", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21140, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "assert", "(", "0", "&&", "\"Wasn't expecting to be able to lower this!\"", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "LowerConstantPool", "(", "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", "::", "FORMAL_ARGUMENTS", ":", "return", "LowerFORMAL_ARGUMENTS", "(", "Op", ",", "DAG", ",", "VarArgsFrameIndex", ",", "VarArgsStackOffset", ",", "VarArgsNumGPR", ",", "VarArgsNumFPR", ",", "PPCSubTarget", ")", ";", "case", "ISD", "::", "CALL", ":", "return", "LowerCALL", "(", "Op", ",", "DAG", ",", "PPCSubTarget", ",", "getTargetMachine", "(", ")", ")", ";", "case", "ISD", "::", "RET", ":", "return", "LowerRET", "(", "Op", ",", "DAG", ",", "getTargetMachine", "(", ")", ")", ";", "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_SINT", ":", "return", "LowerFP_TO_SINT", "(", "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", "0", "\"Wasn't expecting to be able to lower this!\"", "ISD::ConstantPool", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::JumpTable", "ISD::SETCC", "ISD::TRAMPOLINE", "ISD::VASTART", "PPC", "ISD::VAARG", "PPC", "ISD::FORMAL_ARGUMENTS", "PPC", "ISD::CALL", "PPC", "ISD::RET", "ISD::STACKRESTORE", "PPC", "ISD::DYNAMIC_STACKALLOC", "PPC", "ISD::SELECT_CC", "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": "PPCISelLowering123", "Func": "LowerOperation", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21141, "Length": 439, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "fp_zero_operand", "(", "rtx", "op", ")", "{", "if", "(", "GET_MODE", "(", "op", ")", "!=", "SFmode", ")", "return", "false", ";", "const", "REAL_VALUE_TYPE", "*", "r", "=", "CONST_DOUBLE_REAL_VALUE", "(", "op", ")", ";", "return", "real_equal", "(", "r", ",", "&", "dconst0", ")", "&&", "!", "REAL_VALUE_MINUS_ZERO", "(", "*", "r", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "OP", "is", "a", "floating", "point", "value", "with", "value", "0.0", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "fp_zero_operand", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21142, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64SpeculationHardening", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "!", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "SpeculativeLoadHardening", ")", ")", "return", "false", ";", "MisspeculatingTaintReg", "=", "AArch64", "::", "X16", ";", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "bool", "Modified", "=", "false", ";", "UseControlFlowSpeculationBarrier", "=", "functionUsesHardeningRegister", "(", "MF", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** AArch64SpeculationHardening - track control flow *****\\n\"", ")", ";", "SmallVector", "<", "MachineBasicBlock", "*", ",", "2", ">", "EntryBlocks", ";", "EntryBlocks", ".", "push_back", "(", "&", "MF", ".", "front", "(", ")", ")", ";", "for", "(", "const", "LandingPadInfo", "&", "LPI", ":", "MF", ".", "getLandingPads", "(", ")", ")", "EntryBlocks", ".", "push_back", "(", "LPI", ".", "LandingPadBlock", ")", ";", "for", "(", "auto", "Entry", ":", "EntryBlocks", ")", "insertSPToRegTaintPropagation", "(", "Entry", ",", "Entry", "->", "SkipPHIsLabelsAndDebug", "(", "Entry", "->", "begin", "(", ")", ")", ")", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "Modified", "|=", "instrumentControlFlow", "(", "MBB", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::X16", "\"***** AArch64SpeculationHardening - track control flow *****\\n\"", "2"], "File": "AArch64SpeculationHardening5", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21143, "Length": 165, "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", "(", ")", ";", "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", "AArch64", "256", "AArch64", "0"], "File": "AArch64SelectionDAGInfo26", "Func": "EmitTargetCodeForMemset", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21144, "Length": 289, "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", ")", "{", "unsigned", "StackAlign", "=", "getStackAlignment", "(", ")", ";", "Amount", "=", "alignTo", "(", "Amount", ",", "StackAlign", ")", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "Function", "*", "Fn", "=", "MF", ".", "getFunction", "(", ")", ";", "bool", "WindowsCFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", "->", "usesWindowsCFI", "(", ")", ";", "bool", "DwarfCFI", "=", "!", "WindowsCFI", "&&", "(", "MMI", ".", "hasDebugInfo", "(", ")", "||", "Fn", "->", "needsUnwindTableEntry", "(", ")", ")", ";", "bool", "HasDwarfEHHandlers", "=", "!", "WindowsCFI", "&&", "!", "MF", ".", "getMMI", "(", ")", ".", "getLandingPads", "(", ")", ".", "empty", "(", ")", ";", "if", "(", "HasDwarfEHHandlers", "&&", "!", "isDestroy", "&&", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "getHasPushSequences", "(", ")", ")", "BuildCFI", "(", "MBB", ",", "I", ",", "DL", ",", "MCCFIInstruction", "::", "createGnuArgsSize", "(", "nullptr", ",", "Amount", ")", ")", ";", "if", "(", "Amount", "==", "0", ")", "return", ";", "Amount", "-=", "InternalAmt", ";", "if", "(", "isDestroy", "&&", "InternalAmt", "&&", "DwarfCFI", "&&", "!", "hasFP", "(", "MF", ")", ")", "BuildCFI", "(", "MBB", ",", "I", ",", "DL", ",", "MCCFIInstruction", "::", "createAdjustCfaOffset", "(", "nullptr", ",", "-", "InternalAmt", ")", ")", ";", "if", "(", "Amount", ")", "{", "int", "Offset", "=", "isDestroy", "?", "Amount", ":", "-", "Amount", ";", "if", "(", "!", "(", "Fn", "->", "optForMinSize", "(", ")", "&&", "adjustStackWithPops", "(", "MBB", ",", "I", ",", "DL", ",", "Offset", ")", ")", ")", "BuildStackAdjustment", "(", "MBB", ",", "I", ",", "DL", ",", "Offset", ",", "false", ")", ";", "}", "if", "(", "DwarfCFI", "&&", "!", "hasFP", "(", "MF", ")", ")", "{", "int", "CFAOffset", "=", "Amount", ";", "if", "(", "CFAOffset", ")", "{", "CFAOffset", "=", "isDestroy", "?", "-", "CFAOffset", ":", "CFAOffset", ";", "BuildCFI", "(", "MBB", ",", "I", ",", "DL", ",", "MCCFIInstruction", "::", "createAdjustCfaOffset", "(", "nullptr", ",", "CFAOffset", ")", ")", ";", "}", "}", "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", "X86", "0"], "File": "X86FrameLowering14", "Func": "eliminateCallFramePseudoInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21145, "Length": 450, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_validate_mtune", "(", "const", "char", "*", "str", ",", "const", "struct", "processor", "*", "*", "res", ")", "{", "enum", "aarch64_parse_opt_result", "parse_res", "=", "aarch64_parse_tune", "(", "str", ",", "res", ")", ";", "if", "(", "parse_res", "==", "AARCH64_PARSE_OK", ")", "return", "true", ";", "switch", "(", "parse_res", ")", "{", "case", "AARCH64_PARSE_MISSING_ARG", ":", "error", "(", "\"missing cpu name in -mtune=%qs\"", ",", "str", ")", ";", "break", ";", "case", "AARCH64_PARSE_INVALID_ARG", ":", "error", "(", "\"unknown value %qs for -mtune\"", ",", "str", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Validate", "a", "command-line", "-mtune", "option", ".", "Parse", "the", "cpu", "specified", "in", "STR", "and", "throw", "errors", "if", "appropriate", ".", "Put", "the", "result", ",", "if", "it", "is", "valid", ",", "in", "RES", ".", "Return", "whether", "the", "option", "is", "valid", "."], "TS_V_token": ["aarch64", "\"missing cpu name in -mtune=%qs\"", "\"unknown value %qs for -mtune\""], "File": "aarch643", "Func": "aarch64_validate_mtune", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21146, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "SparcELFTargetObjectFile", "::", "getTTypeGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "unsigned", "Encoding", ",", "Mangler", "&", "Mang", ",", "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\"", ",", "Mang", ",", "TM", ")", ";", "MachineModuleInfoImpl", "::", "StubValueTy", "&", "StubSym", "=", "ELFMMI", ".", "getGVStubEntry", "(", "SSym", ")", ";", "if", "(", "!", "StubSym", ".", "getPointer", "(", ")", ")", "{", "MCSymbol", "*", "Sym", "=", "TM", ".", "getSymbol", "(", "GV", ",", "Mang", ")", ";", "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", ",", "Mang", ",", "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": "SparcTargetObjectFile13", "Func": "getTTypeGlobalReference", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21147, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_push_asm_switch", "(", "struct", "mips_asm_switch", "*", "asm_switch", ")", "{", "mips_push_asm_switch_1", "(", "asm_switch", ",", "\"\\t\"", ",", "\"\\n\"", ")", ";", "}", ""], "natrual_language": ["Wrappers", "around", "mips_push_asm_switch_1", "and", "mips_pop_asm_switch_1", "that", "either", "print", "a", "complete", "line", "or", "print", "nothing", "."], "TS_V_token": ["mips", "\"\\t\"", "\"\\n\""], "File": "mips", "Func": "mips_push_asm_switch", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21148, "Length": 19, "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": 21149, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Remove", "(", "T", "&", "Instrs", ",", "MachineRegisterInfo", "&", "RI", ")", "{", "for", "(", "MachineInstr", "*", "I", ":", "Instrs", ")", "{", "if", "(", "RI", ".", "use_nodbg_empty", "(", "I", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", "{", "I", "->", "eraseFromParentAndMarkDBGValuesForRemoval", "(", ")", ";", "}", "}", "}", ""], "natrual_language": ["Remove", "-", "Removes", "a", "function", "pass", "from", "the", "registration", "list", "."], "TS_V_token": ["Mips", "0"], "File": "CheriAddressingModeFolder", "Func": "Remove", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21150, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_unlikely_jump", "(", "rtx_code", "code", ",", "rtx", "label", ")", "{", "rtx", "x", ";", "x", "=", "gen_rtx_REG", "(", "BImode", ",", "SR_F_REGNUM", ")", ";", "x", "=", "gen_rtx_fmt_ee", "(", "code", ",", "VOIDmode", ",", "x", ",", "const0_rtx", ")", ";", "x", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "x", ",", "label", ",", "pc_rtx", ")", ";", "emit_jump_insn", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "x", ")", ")", ";", "}", ""], "natrual_language": ["Mark", "the", "previous", "jump", "instruction", "as", "unlikely", "."], "TS_V_token": ["or1k"], "File": "or1k", "Func": "emit_unlikely_jump", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21151, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_simd_decl_p", "(", "tree", "fndecl", ")", "{", "tree", "fntype", ";", "if", "(", "fndecl", "==", "NULL", ")", "return", "false", ";", "fntype", "=", "TREE_TYPE", "(", "fndecl", ")", ";", "if", "(", "fntype", "==", "NULL", ")", "return", "false", ";", "if", "(", "lookup_attribute", "(", "\"aarch64_vector_pcs\"", ",", "TYPE_ATTRIBUTES", "(", "fntype", ")", ")", "!=", "NULL", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "is", "a", "definition", "of", "a", "vectorized", "simd", "function", "."], "TS_V_token": ["aarch64", "\"aarch64_vector_pcs\""], "File": "aarch646", "Func": "aarch64_simd_decl_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21152, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sh_option_override", "(", "void", ")", "{", "int", "regno", ";", "SUBTARGET_OVERRIDE_OPTIONS", ";", "sh_cpu", "=", "PROCESSOR_SH1", ";", "assembler_dialect", "=", "0", ";", "if", "(", "TARGET_SH2", ")", "sh_cpu", "=", "PROCESSOR_SH2", ";", "if", "(", "TARGET_SH2E", ")", "sh_cpu", "=", "PROCESSOR_SH2E", ";", "if", "(", "TARGET_SH2A", ")", "sh_cpu", "=", "PROCESSOR_SH2A", ";", "if", "(", "TARGET_SH3", ")", "sh_cpu", "=", "PROCESSOR_SH3", ";", "if", "(", "TARGET_SH3E", ")", "sh_cpu", "=", "PROCESSOR_SH3E", ";", "if", "(", "TARGET_SH4", ")", "{", "assembler_dialect", "=", "1", ";", "sh_cpu", "=", "PROCESSOR_SH4", ";", "}", "if", "(", "TARGET_SH4A", ")", "{", "assembler_dialect", "=", "1", ";", "sh_cpu", "=", "PROCESSOR_SH4A", ";", "}", "if", "(", "!", "TARGET_SH3", "&&", "TARGET_USERMODE", ")", "TARGET_USERMODE", "=", "false", ";", "if", "(", "!", "strcmp", "(", "sh_div_str", ",", "\"call-div1\"", ")", ")", "sh_div_strategy", "=", "SH_DIV_CALL_DIV1", ";", "else", "if", "(", "!", "strcmp", "(", "sh_div_str", ",", "\"call-fp\"", ")", "&&", "TARGET_FPU_ANY", ")", "sh_div_strategy", "=", "SH_DIV_CALL_FP", ";", "else", "if", "(", "!", "strcmp", "(", "sh_div_str", ",", "\"call-table\"", ")", "&&", "TARGET_DYNSHIFT", ")", "sh_div_strategy", "=", "SH_DIV_CALL_TABLE", ";", "else", "{", "if", "(", "TARGET_HARD_SH4", ")", "sh_div_strategy", "=", "SH_DIV_CALL_TABLE", ";", "else", "if", "(", "TARGET_SH2A", ")", "sh_div_strategy", "=", "SH_DIV_INTRINSIC", ";", "else", "sh_div_strategy", "=", "SH_DIV_CALL_DIV1", ";", "}", "if", "(", "sh_divsi3_libfunc", "[", "0", "]", ")", ";", "else", "if", "(", "TARGET_DIVIDE_CALL_FP", ")", "sh_divsi3_libfunc", "=", "\"__sdivsi3_i4\"", ";", "else", "if", "(", "TARGET_DIVIDE_CALL_TABLE", ")", "sh_divsi3_libfunc", "=", "\"__sdivsi3_i4i\"", ";", "else", "sh_divsi3_libfunc", "=", "\"__sdivsi3\"", ";", "if", "(", "sh_branch_cost", "==", "-", "1", ")", "{", "sh_branch_cost", "=", "2", ";", "}", "if", "(", "!", "global_options_set", ".", "x_TARGET_ZDCBRANCH", "&&", "TARGET_HARD_SH4", ")", "TARGET_ZDCBRANCH", "=", "1", ";", "if", "(", "TARGET_FDPIC", "&&", "!", "flag_pic", ")", "flag_pic", "=", "2", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "!", "VALID_REGISTER_P", "(", "regno", ")", ")", "sh_register_names", "[", "regno", "]", "[", "0", "]", "=", "'\\0'", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "ADDREGNAMES_SIZE", ";", "regno", "++", ")", "if", "(", "!", "VALID_REGISTER_P", "(", "ADDREGNAMES_REGNO", "(", "regno", ")", ")", ")", "sh_additional_register_names", "[", "regno", "]", "[", "0", "]", "=", "'\\0'", ";", "if", "(", "flag_pic", "&&", "!", "TARGET_PREFERGOT", ")", "flag_no_function_cse", "=", "1", ";", "if", "(", "targetm", ".", "small_register_classes_for_mode_p", "(", "VOIDmode", ")", ")", "{", "if", "(", "!", "TARGET_HARD_SH4", "||", "flag_pic", ")", "flag_schedule_insns", "=", "0", ";", "else", "if", "(", "flag_exceptions", ")", "{", "if", "(", "flag_schedule_insns", "&&", "global_options_set", ".", "x_flag_schedule_insns", ")", "warning", "(", "0", ",", "\"ignoring -fschedule-insns because of exception \"", "\"handling bug\"", ")", ";", "flag_schedule_insns", "=", "0", ";", "}", "else", "if", "(", "flag_schedule_insns", "&&", "!", "global_options_set", ".", "x_flag_schedule_insns", ")", "flag_schedule_insns", "=", "0", ";", "}", "if", "(", "(", "flag_unwind_tables", "||", "flag_asynchronous_unwind_tables", "||", "flag_exceptions", "||", "flag_non_call_exceptions", ")", "&&", "flag_omit_frame_pointer", "&&", "!", "TARGET_ACCUMULATE_OUTGOING_ARGS", ")", "{", "warning", "(", "0", ",", "\"unwind tables currently require either a frame pointer \"", "\"or -maccumulate-outgoing-args for correctness\"", ")", ";", "TARGET_ACCUMULATE_OUTGOING_ARGS", "=", "1", ";", "}", "if", "(", "flag_unsafe_math_optimizations", ")", "{", "if", "(", "global_options_set", ".", "x_TARGET_FSCA", "==", "0", "&&", "TARGET_SH4A_FP", ")", "TARGET_FSCA", "=", "1", ";", "if", "(", "global_options_set", ".", "x_TARGET_FSRRA", "==", "0", "&&", "TARGET_SH4A_FP", ")", "TARGET_FSRRA", "=", "1", ";", "}", "TARGET_FSRRA", "=", "TARGET_FSRRA", "&&", "flag_unsafe_math_optimizations", "&&", "flag_finite_math_only", ";", "if", "(", "!", "global_options_set", ".", "x_TARGET_IEEE", ")", "TARGET_IEEE", "=", "!", "flag_finite_math_only", ";", "if", "(", "sh_fixed_range_str", ")", "sh_fix_range", "(", "sh_fixed_range_str", ")", ";", "if", "(", "flag_strict_volatile_bitfields", "<", "0", "&&", "abi_version_at_least", "(", "2", ")", ")", "flag_strict_volatile_bitfields", "=", "1", ";", "sh_override_options_after_change", "(", ")", ";", "selected_atomic_model_", "=", "parse_validate_atomic_model_option", "(", "sh_atomic_model_str", ")", ";", "register_sh_passes", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_OVERRIDE", "macro", ".", "Validate", "and", "override", "various", "options", ",", "and", "do", "some", "machine", "dependent", "initialization", "."], "TS_V_token": ["sh", "0", "1", "1", "\"call-div1\"", "\"call-fp\"", "\"call-table\"", "0", "\"__sdivsi3_i4\"", "\"__sdivsi3_i4i\"", "\"__sdivsi3\"", "1", "2", "1", "2", "0", "0", "0", "0", "1", "0", "0", "\"ignoring -fschedule-insns because of exception \"", "\"handling bug\"", "0", "0", "0", "\"unwind tables currently require either a frame pointer \"", "\"or -maccumulate-outgoing-args for correctness\"", "1", "0", "1", "0", "1", "0", "2", "1"], "File": "sh6", "Func": "sh_option_override", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21153, "Length": 504, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "dump_target_flag_bits", "(", "const", "int", "flags", ")", "{", "if", "(", "flags", "&", "MASK_64BIT", ")", "fprintf", "(", "stderr", ",", "\"64BIT \"", ")", ";", "if", "(", "flags", "&", "MASK_APP_REGS", ")", "fprintf", "(", "stderr", ",", "\"APP_REGS \"", ")", ";", "if", "(", "flags", "&", "MASK_FASTER_STRUCTS", ")", "fprintf", "(", "stderr", ",", "\"FASTER_STRUCTS \"", ")", ";", "if", "(", "flags", "&", "MASK_FLAT", ")", "fprintf", "(", "stderr", ",", "\"FLAT \"", ")", ";", "if", "(", "flags", "&", "MASK_FMAF", ")", "fprintf", "(", "stderr", ",", "\"FMAF \"", ")", ";", "if", "(", "flags", "&", "MASK_FPU", ")", "fprintf", "(", "stderr", ",", "\"FPU \"", ")", ";", "if", "(", "flags", "&", "MASK_HARD_QUAD", ")", "fprintf", "(", "stderr", ",", "\"HARD_QUAD \"", ")", ";", "if", "(", "flags", "&", "MASK_POPC", ")", "fprintf", "(", "stderr", ",", "\"POPC \"", ")", ";", "if", "(", "flags", "&", "MASK_PTR64", ")", "fprintf", "(", "stderr", ",", "\"PTR64 \"", ")", ";", "if", "(", "flags", "&", "MASK_STACK_BIAS", ")", "fprintf", "(", "stderr", ",", "\"STACK_BIAS \"", ")", ";", "if", "(", "flags", "&", "MASK_UNALIGNED_DOUBLES", ")", "fprintf", "(", "stderr", ",", "\"UNALIGNED_DOUBLES \"", ")", ";", "if", "(", "flags", "&", "MASK_V8PLUS", ")", "fprintf", "(", "stderr", ",", "\"V8PLUS \"", ")", ";", "if", "(", "flags", "&", "MASK_VIS", ")", "fprintf", "(", "stderr", ",", "\"VIS \"", ")", ";", "if", "(", "flags", "&", "MASK_VIS2", ")", "fprintf", "(", "stderr", ",", "\"VIS2 \"", ")", ";", "if", "(", "flags", "&", "MASK_VIS3", ")", "fprintf", "(", "stderr", ",", "\"VIS3 \"", ")", ";", "if", "(", "flags", "&", "MASK_CBCOND", ")", "fprintf", "(", "stderr", ",", "\"CBCOND \"", ")", ";", "if", "(", "flags", "&", "MASK_DEPRECATED_V8_INSNS", ")", "fprintf", "(", "stderr", ",", "\"DEPRECATED_V8_INSNS \"", ")", ";", "if", "(", "flags", "&", "MASK_SPARCLET", ")", "fprintf", "(", "stderr", ",", "\"SPARCLET \"", ")", ";", "if", "(", "flags", "&", "MASK_SPARCLITE", ")", "fprintf", "(", "stderr", ",", "\"SPARCLITE \"", ")", ";", "if", "(", "flags", "&", "MASK_V8", ")", "fprintf", "(", "stderr", ",", "\"V8 \"", ")", ";", "if", "(", "flags", "&", "MASK_V9", ")", "fprintf", "(", "stderr", ",", "\"V9 \"", ")", ";", "}", ""], "natrual_language": ["Helpers", "for", "TARGET_DEBUG_OPTIONS", "."], "TS_V_token": ["sparc", "\"64BIT \"", "\"APP_REGS \"", "\"FASTER_STRUCTS \"", "\"FLAT \"", "\"FMAF \"", "\"FPU \"", "\"HARD_QUAD \"", "\"POPC \"", "\"PTR64 \"", "\"STACK_BIAS \"", "\"UNALIGNED_DOUBLES \"", "\"V8PLUS \"", "\"VIS \"", "\"VIS2 \"", "\"VIS3 \"", "\"CBCOND \"", "\"DEPRECATED_V8_INSNS \"", "\"SPARCLET \"", "\"SPARCLITE \"", "\"V8 \"", "\"V9 \""], "File": "sparc4", "Func": "dump_target_flag_bits", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21154, "Length": 283, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "rtx_insn", "*", "rx_find_use_of_reg", "(", "rtx", "reg", ",", "rtx_insn", "*", "insn", ",", "F", "stepfunc", ")", "{", "if", "(", "!", "REG_P", "(", "reg", ")", "||", "insn", "==", "NULL_RTX", ")", "return", "NULL", ";", "for", "(", "rtx_insn", "*", "i", "=", "stepfunc", "(", "insn", ")", ";", "i", "!=", "NULL_RTX", ";", "i", "=", "stepfunc", "(", "i", ")", ")", "{", "if", "(", "BARRIER_P", "(", "i", ")", ")", "break", ";", "if", "(", "!", "INSN_P", "(", "i", ")", "||", "DEBUG_INSN_P", "(", "i", ")", ")", "continue", ";", "if", "(", "reg_overlap_mentioned_p", "(", "reg", ",", "PATTERN", "(", "i", ")", ")", "||", "(", "CALL_P", "(", "i", ")", "&&", "find_reg_fusage", "(", "i", ",", "USE", ",", "reg", ")", ")", ")", "return", "i", ";", "}", "return", "NULL", ";", "}", ""], "natrual_language": ["FIXME", ":", "Move", "to", "rtlh.h", "."], "TS_V_token": ["rx"], "File": "rx-protos", "Func": "rx_find_use_of_reg", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21155, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_sve_pred_valid_immediate", "(", "rtx", "x", ",", "simd_immediate_info", "*", "info", ")", "{", "if", "(", "aarch64_sve_ptrue_svpattern_p", "(", "x", ",", "info", ")", ")", "return", "true", ";", "if", "(", "x", "==", "CONST0_RTX", "(", "GET_MODE", "(", "x", ")", ")", ")", "{", "if", "(", "info", ")", "*", "info", "=", "simd_immediate_info", "(", "DImode", ",", "0", ")", ";", "return", "true", ";", "}", "rtx_vector_builder", "builder", ";", "if", "(", "!", "aarch64_get_sve_pred_bits", "(", "builder", ",", "x", ")", ")", "return", "false", ";", "unsigned", "int", "elt_size", "=", "aarch64_widest_sve_pred_elt_size", "(", "builder", ")", ";", "if", "(", "int", "vl", "=", "aarch64_partial_ptrue_length", "(", "builder", ",", "elt_size", ")", ")", "{", "machine_mode", "mode", "=", "aarch64_sve_pred_mode", "(", "elt_size", ")", ".", "require", "(", ")", ";", "aarch64_svpattern", "pattern", "=", "aarch64_svpattern_for_vl", "(", "mode", ",", "vl", ")", ";", "if", "(", "pattern", "!=", "AARCH64_NUM_SVPATTERNS", ")", "{", "if", "(", "info", ")", "{", "scalar_int_mode", "int_mode", "=", "aarch64_sve_element_int_mode", "(", "mode", ")", ";", "*", "info", "=", "simd_immediate_info", "(", "int_mode", ",", "pattern", ")", ";", "}", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "valid", "SVE", "predicate", ".", "If", "INFO", "is", "nonnull", ",", "use", "it", "to", "describe", "valid", "immediates", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64", "Func": "aarch64_sve_pred_valid_immediate", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21156, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_expand_sve_vec_cmp_float", "(", "rtx", "target", ",", "rtx_code", "code", ",", "rtx", "op0", ",", "rtx", "op1", ",", "bool", "can_invert_p", ")", "{", "machine_mode", "pred_mode", "=", "GET_MODE", "(", "target", ")", ";", "machine_mode", "data_mode", "=", "GET_MODE", "(", "op0", ")", ";", "rtx", "ptrue", "=", "force_reg", "(", "pred_mode", ",", "CONSTM1_RTX", "(", "pred_mode", ")", ")", ";", "switch", "(", "code", ")", "{", "case", "UNORDERED", ":", "op1", "=", "force_reg", "(", "data_mode", ",", "op1", ")", ";", "aarch64_emit_unspec_cond", "(", "target", ",", "code", ",", "pred_mode", ",", "ptrue", ",", "op0", ",", "op1", ")", ";", "return", "false", ";", "case", "LT", ":", "case", "LE", ":", "case", "GT", ":", "case", "GE", ":", "case", "EQ", ":", "case", "NE", ":", "aarch64_emit_unspec_cond", "(", "target", ",", "code", ",", "pred_mode", ",", "ptrue", ",", "op0", ",", "op1", ")", ";", "return", "false", ";", "case", "ORDERED", ":", "op1", "=", "force_reg", "(", "data_mode", ",", "op1", ")", ";", "aarch64_emit_inverted_unspec_cond", "(", "target", ",", "UNORDERED", ",", "pred_mode", ",", "ptrue", ",", "ptrue", ",", "op0", ",", "op1", ",", "can_invert_p", ")", ";", "return", "can_invert_p", ";", "case", "LTGT", ":", "aarch64_emit_unspec_cond_or", "(", "target", ",", "LT", ",", "GT", ",", "pred_mode", ",", "ptrue", ",", "op0", ",", "op1", ")", ";", "return", "false", ";", "case", "UNEQ", ":", "if", "(", "!", "flag_trapping_math", ")", "{", "op1", "=", "force_reg", "(", "data_mode", ",", "op1", ")", ";", "aarch64_emit_unspec_cond_or", "(", "target", ",", "UNORDERED", ",", "EQ", ",", "pred_mode", ",", "ptrue", ",", "op0", ",", "op1", ")", ";", "return", "false", ";", "}", "case", "UNLT", ":", "case", "UNLE", ":", "case", "UNGT", ":", "case", "UNGE", ":", "{", "rtx", "ordered", "=", "ptrue", ";", "if", "(", "flag_trapping_math", ")", "{", "ordered", "=", "gen_reg_rtx", "(", "pred_mode", ")", ";", "op1", "=", "force_reg", "(", "data_mode", ",", "op1", ")", ";", "aarch64_emit_inverted_unspec_cond", "(", "ordered", ",", "UNORDERED", ",", "pred_mode", ",", "ptrue", ",", "ptrue", ",", "op0", ",", "op1", ",", "false", ")", ";", "}", "if", "(", "code", "==", "UNEQ", ")", "code", "=", "NE", ";", "else", "code", "=", "reverse_condition_maybe_unordered", "(", "code", ")", ";", "aarch64_emit_inverted_unspec_cond", "(", "target", ",", "code", ",", "pred_mode", ",", "ptrue", ",", "ordered", ",", "op0", ",", "op1", ",", "can_invert_p", ")", ";", "return", "can_invert_p", ";", "}", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Expand", "an", "SVE", "floating-point", "comparison", ":", "TARGET", "=", "CODE", "(", "OP0", ",", "OP1", ")", "If", "CAN_INVERT_P", "is", "true", ",", "the", "caller", "can", "also", "handle", "inverted", "results", ";", "return", "true", "if", "the", "result", "is", "in", "fact", "inverted", "."], "TS_V_token": ["aarch64"], "File": "aarch645", "Func": "aarch64_expand_sve_vec_cmp_float", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21157, "Length": 323, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_emit_fp_unordered_jump", "(", "rtx", "label", ")", "{", "rtx", "reg", "=", "gen_reg_rtx", "(", "HImode", ")", ";", "rtx", "temp", ";", "emit_insn", "(", "gen_x86_fnstsw_1", "(", "reg", ")", ")", ";", "if", "(", "TARGET_SAHF", "&&", "(", "TARGET_USE_SAHF", "||", "optimize_insn_for_size_p", "(", ")", ")", ")", "{", "emit_insn", "(", "gen_x86_sahf_1", "(", "reg", ")", ")", ";", "temp", "=", "gen_rtx_REG", "(", "CCmode", ",", "FLAGS_REG", ")", ";", "temp", "=", "gen_rtx_UNORDERED", "(", "VOIDmode", ",", "temp", ",", "const0_rtx", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_testqi_ext_1_ccno", "(", "reg", ",", "GEN_INT", "(", "0x04", ")", ")", ")", ";", "temp", "=", "gen_rtx_REG", "(", "CCNOmode", ",", "FLAGS_REG", ")", ";", "temp", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "temp", ",", "const0_rtx", ")", ";", "}", "temp", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "temp", ",", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "label", ")", ",", "pc_rtx", ")", ";", "temp", "=", "gen_rtx_SET", "(", "pc_rtx", ",", "temp", ")", ";", "emit_jump_insn", "(", "temp", ")", ";", "predict_jump", "(", "REG_BR_PROB_BASE", "*", "10", "/", "100", ")", ";", "}", ""], "natrual_language": ["Output", "code", "to", "perform", "a", "conditional", "jump", "to", "LABEL", ",", "if", "C2", "flag", "in", "FP", "status", "register", "is", "set", "."], "TS_V_token": ["i386", "0x04", "10", "100"], "File": "i3866", "Func": "ix86_emit_fp_unordered_jump", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21158, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "function_instance", "::", "modifies_global_state_p", "(", ")", "const", "{", "unsigned", "int", "flags", "=", "call_properties", "(", ")", ";", "if", "(", "flags", "&", "CP_RAISE_FP_EXCEPTIONS", ")", "return", "true", ";", "if", "(", "flags", "&", "CP_PREFETCH_MEMORY", ")", "return", "true", ";", "return", "flags", "&", "(", "CP_WRITE_MEMORY", "|", "CP_WRITE_FFR", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "calls", "to", "the", "function", "could", "modify", "some", "form", "of", "global", "state", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "modifies_global_state_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21159, "Length": 44, "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", "->", "getSubtarget", "(", ")", ".", "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": "PPCFrameLowering79", "Func": "restoreCalleeSavedRegisters", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21160, "Length": 425, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "seh_cfa_offset", "(", "FILE", "*", "f", ",", "struct", "seh_frame_state", "*", "seh", ",", "rtx", "pat", ")", "{", "rtx", "dest", ",", "src", ";", "HOST_WIDE_INT", "reg_offset", ";", "dest", "=", "SET_DEST", "(", "pat", ")", ";", "src", "=", "SET_SRC", "(", "pat", ")", ";", "gcc_assert", "(", "MEM_P", "(", "dest", ")", ")", ";", "dest", "=", "XEXP", "(", "dest", ",", "0", ")", ";", "if", "(", "REG_P", "(", "dest", ")", ")", "reg_offset", "=", "0", ";", "else", "{", "gcc_assert", "(", "GET_CODE", "(", "dest", ")", "==", "PLUS", ")", ";", "reg_offset", "=", "INTVAL", "(", "XEXP", "(", "dest", ",", "1", ")", ")", ";", "dest", "=", "XEXP", "(", "dest", ",", "0", ")", ";", "}", "gcc_assert", "(", "dest", "==", "seh", "->", "cfa_reg", ")", ";", "seh_emit_save", "(", "f", ",", "seh", ",", "src", ",", "seh", "->", "cfa_offset", "-", "reg_offset", ")", ";", "}", ""], "natrual_language": ["Process", "REG_CFA_OFFSET", "for", "SEH", "."], "TS_V_token": ["i386", "0", "0", "1", "0"], "File": "winnt", "Func": "seh_cfa_offset", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21161, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_cannot_force_const_mem", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ")", "{", "rtx", "base", ",", "offset", ";", "split_const", "(", "x", ",", "&", "base", ",", "&", "offset", ")", ";", "if", "(", "SYMBOL_REF_P", "(", "base", ")", ")", "{", "if", "(", "(", "SYMBOL_REF_FLAGS", "(", "base", ")", "&", "SYMBOL_FLAG_FUNCTION", ")", "&&", "INTVAL", "(", "offset", ")", "!=", "0", ")", "return", "true", ";", "if", "(", "ARM_OFFSETS_MUST_BE_WITHIN_SECTIONS_P", "&&", "!", "offset_within_block_p", "(", "base", ",", "INTVAL", "(", "offset", ")", ")", ")", "return", "true", ";", "}", "return", "arm_tls_referenced_p", "(", "x", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CANNOT_FORCE_CONST_MEM", "."], "TS_V_token": ["arm", "0"], "File": "arm", "Func": "arm_cannot_force_const_mem", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21162, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ThunkInserter", "<", "Derived", ">", "::", "run", "(", "MachineModuleInfo", "&", "MMI", ",", "MachineFunction", "&", "MF", ")", "{", "if", "(", "!", "MF", ".", "getName", "(", ")", ".", "startswith", "(", "getDerived", "(", ")", ".", "getThunkPrefix", "(", ")", ")", ")", "{", "if", "(", "InsertedThunks", ")", "return", "false", ";", "if", "(", "!", "getDerived", "(", ")", ".", "mayUseThunk", "(", "MF", ")", ")", "return", "false", ";", "getDerived", "(", ")", ".", "insertThunks", "(", "MMI", ")", ";", "InsertedThunks", "=", "true", ";", "return", "true", ";", "}", "getDerived", "(", ")", ".", "populateThunk", "(", "MF", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Run", "the", "analysis", "pass", "over", "a", "function", "and", "produce", "a", "dominator", "tree", "."], "TS_V_token": ["X86"], "File": "X86IndirectThunks3", "Func": "run", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21163, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MipsSubtarget", "::", "MipsSubtarget", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "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", ")", ",", "HasSym32", "(", "false", ")", ",", "HasEVA", "(", "false", ")", ",", "DisableMadd4", "(", "false", ")", ",", "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": "MipsSubtarget12", "Func": "MipsSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21164, "Length": 480, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_output_function_epilogue", "(", "FILE", "*", ")", "{", "int", "i", ";", "if", "(", "current_frame_info", ".", "r", "[", "reg_fp", "]", ")", "{", "const", "char", "*", "tmp", "=", "reg_names", "[", "HARD_FRAME_POINTER_REGNUM", "]", ";", "reg_names", "[", "HARD_FRAME_POINTER_REGNUM", "]", "=", "reg_names", "[", "current_frame_info", ".", "r", "[", "reg_fp", "]", "]", ";", "reg_names", "[", "current_frame_info", ".", "r", "[", "reg_fp", "]", "]", "=", "tmp", ";", "reg_emitted", "(", "reg_fp", ")", ";", "}", "if", "(", "!", "TARGET_REG_NAMES", ")", "{", "for", "(", "i", "=", "0", ";", "i", "<", "current_frame_info", ".", "n_input_regs", ";", "i", "++", ")", "reg_names", "[", "IN_REG", "(", "i", ")", "]", "=", "ia64_input_reg_names", "[", "i", "]", ";", "for", "(", "i", "=", "0", ";", "i", "<", "current_frame_info", ".", "n_local_regs", ";", "i", "++", ")", "reg_names", "[", "LOC_REG", "(", "i", ")", "]", "=", "ia64_local_reg_names", "[", "i", "]", ";", "for", "(", "i", "=", "0", ";", "i", "<", "current_frame_info", ".", "n_output_regs", ";", "i", "++", ")", "reg_names", "[", "OUT_REG", "(", "i", ")", "]", "=", "ia64_output_reg_names", "[", "i", "]", ";", "}", "current_frame_info", ".", "initialized", "=", "0", ";", "}", ""], "natrual_language": ["Emit", "the", "function", "epilogue", "."], "TS_V_token": ["ia64", "0", "0", "0", "0"], "File": "ia64", "Func": "ia64_output_function_epilogue", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21165, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"ARM Machine Code Emitter\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"ARM Machine Code Emitter\""], "File": "ARMCodeEmitter", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21166, "Length": 13, "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", ";", "unsigned", "Flags", "=", "MI", "->", "getFlags", "(", ")", ";", "if", "(", "(", "TSFlags", "&", "X86II", "::", "LOCK", ")", "||", "(", "Flags", "&", "X86", "::", "IP_HAS_LOCK", ")", ")", "OS", "<<", "\"\\tlock\\t\"", ";", "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", "X86::IP_HAS_LOCK", "\"\\tlock\\t\"", "X86::IP_HAS_REPEAT_NE", "\"\\trepne\\t\"", "X86::IP_HAS_REPEAT", "\"\\trep\\t\"", "X86"], "File": "X86IntelInstPrinter6", "Func": "printInst", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21167, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "CSKYInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "CSKY", "::", "ST16B", ":", "case", "CSKY", "::", "ST16H", ":", "case", "CSKY", "::", "ST16W", ":", "case", "CSKY", "::", "ST32B", ":", "case", "CSKY", "::", "ST32H", ":", "case", "CSKY", "::", "ST32W", ":", "case", "CSKY", "::", "FST_S", ":", "case", "CSKY", "::", "FST_D", ":", "case", "CSKY", "::", "f2FST_S", ":", "case", "CSKY", "::", "f2FST_D", ":", "case", "CSKY", "::", "SPILL_CARRY", ":", "break", ";", "}", "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": ["CSKY", "CSKY", "0", "CSKY::ST16B", "CSKY::ST16H", "CSKY::ST16W", "CSKY::ST32B", "CSKY::ST32H", "CSKY::ST32W", "CSKY::FST_S", "CSKY::FST_D", "CSKY::f2FST_S", "CSKY::f2FST_D", "CSKY::SPILL_CARRY", "1", "2", "2", "0", "1", "0", "0"], "File": "CSKYInstrInfo1", "Func": "isStoreToStackSlot", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21168, "Length": 156, "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": 21169, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "shouldClusterMemOps", "(", "MachineInstr", "&", "FirstLdSt", ",", "MachineInstr", "&", "SecondLdSt", ",", "unsigned", "NumLoads", ")", "const", "{", "if", "(", "NumLoads", ">", "1", ")", "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", ";", "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", "2", "2", "63", "64", "\"Caller should have ordered offsets.\"", "1"], "File": "AArch64InstrInfo109", "Func": "shouldClusterMemOps", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21170, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mips_idiv_insns", "(", "machine_mode", "mode", ")", "{", "int", "count", ";", "count", "=", "1", ";", "if", "(", "TARGET_CHECK_ZERO_DIV", ")", "{", "if", "(", "GENERATE_DIVIDE_TRAPS", "&&", "!", "MSA_SUPPORTED_MODE_P", "(", "mode", ")", ")", "count", "++", ";", "else", "count", "+=", "2", ";", "}", "if", "(", "TARGET_FIX_R4000", "||", "TARGET_FIX_R4400", ")", "count", "++", ";", "return", "count", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "needed", "for", "an", "integer", "division", "."], "TS_V_token": ["mips", "1", "2"], "File": "mips", "Func": "mips_idiv_insns", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21171, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "reMaterialize", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "unsigned", "SubIdx", ",", "const", "MachineInstr", "*", "Orig", ",", "const", "TargetRegisterInfo", "&", "TRI", ")", "const", "{", "DebugLoc", "DL", "=", "Orig", "->", "getDebugLoc", "(", ")", ";", "bool", "Clone", "=", "true", ";", "unsigned", "Opc", "=", "Orig", "->", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "default", ":", "break", ";", "case", "X86", "::", "MOV8r0", ":", "case", "X86", "::", "MOV16r0", ":", "case", "X86", "::", "MOV32r0", ":", "case", "X86", "::", "MOV64r0", ":", "{", "if", "(", "!", "isSafeToClobberEFLAGS", "(", "MBB", ",", "I", ")", ")", "{", "switch", "(", "Opc", ")", "{", "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", "::", "MOV64ri64i32", ";", "break", ";", "}", "Clone", "=", "false", ";", "}", "break", ";", "}", "}", "if", "(", "Clone", ")", "{", "MachineInstr", "*", "MI", "=", "MBB", ".", "getParent", "(", ")", "->", "CloneMachineInstr", "(", "Orig", ")", ";", "MBB", ".", "insert", "(", "I", ",", "MI", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ")", ".", "addOperand", "(", "Orig", "->", "getOperand", "(", "0", ")", ")", ".", "addImm", "(", "0", ")", ";", "}", "MachineInstr", "*", "NewMI", "=", "prior", "(", "I", ")", ";", "NewMI", "->", "substituteRegister", "(", "Orig", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "DestReg", ",", "SubIdx", ",", "TRI", ")", ";", "}", ""], "natrual_language": ["Re-issue", "the", "specified", "'original", "'", "instruction", "at", "the", "specific", "location", "targeting", "a", "new", "destination", "register", "."], "TS_V_token": ["X86", "X86", "X86::MOV8r0", "X86::MOV16r0", "X86::MOV32r0", "X86::MOV64r0", "X86::MOV8r0", "X86::MOV8ri", "X86::MOV16r0", "X86::MOV16ri", "X86::MOV32r0", "X86::MOV32ri", "X86::MOV64r0", "X86::MOV64ri64i32", "0", "0", "0"], "File": "X86InstrInfo12", "Func": "reMaterialize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21172, "Length": 261, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createSparcDelaySlotFillerPass", "(", "getSparcTargetMachine", "(", ")", ")", ")", ";", "if", "(", "this", "->", "getSparcTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "ignoreZeroFlag", "(", ")", ")", "{", "addPass", "(", "new", "IgnoreZeroFlag", "(", "getSparcTargetMachine", "(", ")", ")", ")", ";", "}", "if", "(", "this", "->", "getSparcTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "performSDIVReplace", "(", ")", ")", "{", "addPass", "(", "new", "ReplaceSDIV", "(", "getSparcTargetMachine", "(", ")", ")", ")", ";", "}", "if", "(", "this", "->", "getSparcTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "fixCallImmediates", "(", ")", ")", "{", "addPass", "(", "new", "FixCALL", "(", "getSparcTargetMachine", "(", ")", ")", ")", ";", "}", "if", "(", "this", "->", "getSparcTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "fixFSMULD", "(", ")", ")", "{", "addPass", "(", "new", "FixFSMULD", "(", "getSparcTargetMachine", "(", ")", ")", ")", ";", "}", "if", "(", "this", "->", "getSparcTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "replaceFMULS", "(", ")", ")", "{", "addPass", "(", "new", "ReplaceFMULS", "(", "getSparcTargetMachine", "(", ")", ")", ")", ";", "}", "if", "(", "this", "->", "getSparcTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "preventRoundChange", "(", ")", ")", "{", "addPass", "(", "new", "PreventRoundChange", "(", "getSparcTargetMachine", "(", ")", ")", ")", ";", "}", "if", "(", "this", "->", "getSparcTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "fixAllFDIVSQRT", "(", ")", ")", "{", "addPass", "(", "new", "FixAllFDIVSQRT", "(", "getSparcTargetMachine", "(", ")", ")", ")", ";", "}", "if", "(", "this", "->", "getSparcTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "insertNOPsLoadStore", "(", ")", ")", "{", "addPass", "(", "new", "InsertNOPsLoadStore", "(", "getSparcTargetMachine", "(", ")", ")", ")", ";", "}", "if", "(", "this", "->", "getSparcTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "insertNOPLoad", "(", ")", ")", "{", "addPass", "(", "new", "InsertNOPLoad", "(", "getSparcTargetMachine", "(", ")", ")", ")", ";", "}", "if", "(", "this", "->", "getSparcTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "flushCacheLineSWAP", "(", ")", ")", "{", "addPass", "(", "new", "FlushCacheLineSWAP", "(", "getSparcTargetMachine", "(", ")", ")", ")", ";", "}", "if", "(", "this", "->", "getSparcTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "insertNOPDoublePrecision", "(", ")", ")", "{", "addPass", "(", "new", "InsertNOPDoublePrecision", "(", "getSparcTargetMachine", "(", ")", ")", ")", ";", "}", "}", ""], "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", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc"], "File": "SparcTargetMachine52", "Func": "addPreEmitPass", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21173, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"SIC DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["SIC", "\"SIC DAG->DAG Pattern Instruction Selection\""], "File": "SICISelDAGToDAG", "Func": "getPassName", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21174, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "MipsDisassembler", "::", "getInstruction", "(", "MCInst", "&", "Instr", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "VStream", ",", "raw_ostream", "&", "CStream", ")", "const", "{", "uint32_t", "Insn", ";", "DecodeStatus", "Result", ";", "if", "(", "IsMicroMips", ")", "{", "Result", "=", "readInstruction16", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn", ",", "IsBigEndian", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Trying MicroMips16 table (16-bit instructions):\\n\"", ")", ";", "Result", "=", "decodeInstruction", "(", "DecoderTableMicroMips16", ",", "Instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "Size", "=", "2", ";", "return", "Result", ";", "}", "Result", "=", "readInstruction32", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn", ",", "IsBigEndian", ",", "true", ")", ";", "if", "(", "Result", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Trying MicroMips32 table (32-bit instructions):\\n\"", ")", ";", "Result", "=", "decodeInstruction", "(", "DecoderTableMicroMips32", ",", "Instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "Size", "=", "4", ";", "return", "Result", ";", "}", "return", "MCDisassembler", "::", "Fail", ";", "}", "Result", "=", "readInstruction32", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn", ",", "IsBigEndian", ",", "false", ")", ";", "if", "(", "Result", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "if", "(", "hasCOP3", "(", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Trying COP3_ table (32-bit opcodes):\\n\"", ")", ";", "Result", "=", "decodeInstruction", "(", "DecoderTableCOP3_32", ",", "Instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "Size", "=", "4", ";", "return", "Result", ";", "}", "}", "if", "(", "hasMips32r6", "(", ")", "&&", "isGP64", "(", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Trying Mips32r6_64r6 (GPR64) table (32-bit opcodes):\\n\"", ")", ";", "Result", "=", "decodeInstruction", "(", "DecoderTableMips32r6_64r6_GP6432", ",", "Instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "Size", "=", "4", ";", "return", "Result", ";", "}", "}", "if", "(", "hasMips32r6", "(", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Trying Mips32r6_64r6 table (32-bit opcodes):\\n\"", ")", ";", "Result", "=", "decodeInstruction", "(", "DecoderTableMips32r6_64r632", ",", "Instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "Size", "=", "4", ";", "return", "Result", ";", "}", "}", "if", "(", "isGP64", "(", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Trying Mips64 (GPR64) table (32-bit opcodes):\\n\"", ")", ";", "Result", "=", "decodeInstruction", "(", "DecoderTableMips6432", ",", "Instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "Size", "=", "4", ";", "return", "Result", ";", "}", "}", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Trying Mips table (32-bit opcodes):\\n\"", ")", ";", "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", "\"Trying MicroMips16 table (16-bit instructions):\\n\"", "Mips", "2", "\"Trying MicroMips32 table (32-bit instructions):\\n\"", "Mips", "4", "\"Trying COP3_ table (32-bit opcodes):\\n\"", "4", "Mips", "\"Trying Mips32r6_64r6 (GPR64) table (32-bit opcodes):\\n\"", "Mips", "4", "Mips", "\"Trying Mips32r6_64r6 table (32-bit opcodes):\\n\"", "Mips", "4", "\"Trying Mips64 (GPR64) table (32-bit opcodes):\\n\"", "Mips", "4", "\"Trying Mips table (32-bit opcodes):\\n\"", "Mips", "4"], "File": "MipsDisassembler61", "Func": "getInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21175, "Length": 467, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "set_to_load_agen", "(", "rtx_insn", "*", "out_insn", ",", "rtx_insn", "*", "in_insn", ")", "{", "rtx", "out_set", ",", "in_set", ";", "out_set", "=", "single_set", "(", "out_insn", ")", ";", "if", "(", "out_set", ")", "{", "in_set", "=", "single_set", "(", "in_insn", ")", ";", "if", "(", "in_set", ")", "return", "reg_mentioned_p", "(", "SET_DEST", "(", "out_set", ")", ",", "SET_SRC", "(", "in_set", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["The", "function", "returns", "true", "if", "out_inst", "sets", "a", "value", "that", "is", "used", "in", "the", "address", "generation", "computation", "of", "in_insn"], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "set_to_load_agen", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21176, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "i386_pe_mangle_assembler_name", "(", "const", "char", "*", "name", ")", "{", "const", "char", "*", "skipped", "=", "name", "+", "(", "*", "name", "==", "'*'", "?", "1", ":", "0", ")", ";", "const", "char", "*", "stripped", "=", "targetm", ".", "strip_name_encoding", "(", "skipped", ")", ";", "if", "(", "*", "name", "!=", "'*'", "&&", "*", "user_label_prefix", "&&", "*", "stripped", "!=", "FASTCALL_PREFIX", ")", "stripped", "=", "ACONCAT", "(", "(", "user_label_prefix", ",", "stripped", ",", "NULL", ")", ")", ";", "return", "get_identifier", "(", "stripped", ")", ";", "}", ""], "natrual_language": ["This", "hook", "behaves", "the", "same", "as", "varasm.cc/assemble_name", "(", ")", ",", "but", "generates", "the", "name", "into", "memory", "rather", "than", "outputting", "it", "to", "a", "file", "stream", "."], "TS_V_token": ["i386", "1", "0"], "File": "winnt", "Func": "i386_pe_mangle_assembler_name", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21177, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseInstrInfo", "::", "extraSizeToPredicateInstructions", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "NumInsts", ")", "const", "{", "return", "Subtarget", ".", "isThumb2", "(", ")", "?", "divideCeil", "(", "NumInsts", ",", "4", ")", "*", "2", ":", "0", ";", "}", ""], "natrual_language": ["Return", "the", "increase", "in", "code", "size", "needed", "to", "predicate", "a", "contiguous", "run", "of", "NumInsts", "instructions", "."], "TS_V_token": ["ARM", "ARM", "4", "2", "0"], "File": "ARMBaseInstrInfo126", "Func": "extraSizeToPredicateInstructions", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21178, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CAHPPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createCAHPISelDag", "(", "getCAHPTargetMachine", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["CAHP", "CAHP", "CAHP", "CAHP"], "File": "CAHPTargetMachine", "Func": "addInstSelector", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21179, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCOperand", "::", "print", "(", "raw_ostream", "&", "OS", ")", "const", "{", "switch", "(", "Kind", ")", "{", "case", "Token", ":", "OS", "<<", "\"'\"", "<<", "getToken", "(", ")", "<<", "\"'\"", ";", "break", ";", "case", "Immediate", ":", "OS", "<<", "getImm", "(", ")", ";", "break", ";", "case", "Expression", ":", "getExpr", "(", ")", "->", "print", "(", "OS", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["PowerPC", "PPC", "\"'\"", "\"'\""], "File": "PPCAsmParser1", "Func": "print", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21180, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "SystemZTTIImpl", "::", "getIntrinsicInstrCost", "(", "Intrinsic", "::", "ID", "ID", ",", "Type", "*", "RetTy", ",", "ArrayRef", "<", "Type", "*", ">", "Tys", ",", "FastMathFlags", "FMF", ",", "unsigned", "ScalarizationCostPassed", ")", "{", "int", "Cost", "=", "getVectorIntrinsicInstrCost", "(", "ID", ",", "RetTy", ")", ";", "if", "(", "Cost", "!=", "-", "1", ")", "return", "Cost", ";", "return", "BaseT", "::", "getIntrinsicInstrCost", "(", "ID", ",", "RetTy", ",", "Tys", ",", "FMF", ",", "ScalarizationCostPassed", ")", ";", "}", ""], "natrual_language": ["Get", "intrinsic", "cost", "based", "on", "arguments", "."], "TS_V_token": ["SystemZ", "SystemZ", "Intrinsic::ID", "1"], "File": "SystemZTargetTransformInfo26", "Func": "getIntrinsicInstrCost", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21181, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "ProfileSummaryInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "LazyMachineBlockFrequencyInfoPass", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "LazyMachineBlockFrequencyInfoPass", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["X86"], "File": "X86PadShortFunction12", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21182, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "MipsRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "static", "const", "uint16_t", "ReservedCPURegs", "[", "]", "=", "{", "Mips", "::", "ZERO", ",", "Mips", "::", "K0", ",", "Mips", "::", "K1", ",", "Mips", "::", "SP", "}", ";", "static", "const", "uint16_t", "ReservedCPU64Regs", "[", "]", "=", "{", "Mips", "::", "ZERO_64", ",", "Mips", "::", "K0_64", ",", "Mips", "::", "K1_64", ",", "Mips", "::", "SP_64", "}", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "typedef", "TargetRegisterClass", "::", "const_iterator", "RegIter", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "ReservedCPURegs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedCPURegs", "[", "I", "]", ")", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "ReservedCPU64Regs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedCPU64Regs", "[", "I", "]", ")", ";", "if", "(", "Subtarget", ".", "hasMips64", "(", ")", ")", "{", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "AFGR64RegClass", ".", "begin", "(", ")", ",", "EReg", "=", "Mips", "::", "AFGR64RegClass", ".", "end", "(", ")", ";", "Reg", "!=", "EReg", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "}", "else", "{", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "FGR64RegClass", ".", "begin", "(", ")", ",", "EReg", "=", "Mips", "::", "FGR64RegClass", ".", "end", "(", ")", ";", "Reg", "!=", "EReg", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "}", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "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", "::", "HWR29_64", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "DSPPos", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "DSPSCount", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "DSPCarry", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "DSPEFI", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "DSPOutFlag", ")", ";", "if", "(", "Subtarget", ".", "inMips16Mode", "(", ")", ")", "{", "Reserved", ".", "set", "(", "Mips", "::", "RA", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "RA_64", ")", ";", "}", "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", "0", "Mips", "Mips::AFGR64RegClass", "Mips::AFGR64RegClass", "Mips::FGR64RegClass", "Mips::FGR64RegClass", "Mips", "Mips::S0", "Mips::FP", "Mips::FP_64", "Mips::HWR29", "Mips::HWR29_64", "Mips::DSPPos", "Mips::DSPSCount", "Mips::DSPCarry", "Mips::DSPEFI", "Mips::DSPOutFlag", "Mips", "Mips::RA", "Mips::RA_64", "Mips::GP", "Mips::GP_64"], "File": "MipsRegisterInfo15", "Func": "getReservedRegs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21183, "Length": 399, "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", ":", "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", "::", "VSTR_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", "::", "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", "1", "2", "2", "0", "1", "0", "ARM::VSTR_P0_off", "0", "1", "1", "0", "0", "ARM::P0", "ARM::VST1q64", "ARM::VST1d64TPseudo", "ARM::VST1d64QPseudo", "0", "2", "0", "0", "2", "ARM::VSTMQIA", "1", "0", "0", "1", "0", "0"], "File": "ARMBaseInstrInfo10", "Func": "isStoreToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21184, "Length": 419, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_debug_secondary_memory_needed", "(", "machine_mode", "mode", ",", "reg_class_t", "from_class", ",", "reg_class_t", "to_class", ")", "{", "bool", "ret", "=", "rs6000_secondary_memory_needed", "(", "mode", ",", "from_class", ",", "to_class", ")", ";", "fprintf", "(", "stderr", ",", "\"rs6000_secondary_memory_needed, return: %s, from_class = %s, \"", "\"to_class = %s, mode = %s\\n\"", ",", "ret", "?", "\"true\"", ":", "\"false\"", ",", "reg_class_names", "[", "from_class", "]", ",", "reg_class_names", "[", "to_class", "]", ",", "GET_MODE_NAME", "(", "mode", ")", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Debug", "version", "of", "rs6000_secondary_memory_needed", "."], "TS_V_token": ["powerpcspe", "\"rs6000_secondary_memory_needed, return: %s, from_class = %s, \"", "\"to_class = %s, mode = %s\\n\"", "\"true\"", "\"false\""], "File": "powerpcspe", "Func": "rs6000_debug_secondary_memory_needed", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21185, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetELFStreamer", "::", "emitDirectiveCpRestore", "(", "SmallVector", "<", "MCInst", ",", "3", ">", "&", "StoreInsts", ",", "int", "Offset", ")", "{", "MipsTargetStreamer", "::", "emitDirectiveCpRestore", "(", "StoreInsts", ",", "Offset", ")", ";", "if", "(", "!", "Pic", "||", "(", "getABI", "(", ")", ".", "IsN32", "(", ")", "||", "getABI", "(", ")", ".", "IsN64", "(", ")", ")", ")", "return", ";", "for", "(", "const", "MCInst", "&", "Inst", ":", "StoreInsts", ")", "getStreamer", "(", ")", ".", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "}", ""], "natrual_language": ["Emit", "a", ".cprestore", "directive", "."], "TS_V_token": ["Mips", "Mips", "3", "Mips"], "File": "MipsTargetStreamer2", "Func": "emitDirectiveCpRestore", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21186, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isProfitableToIfCvt", "(", "MachineBasicBlock", "&", "MBB", ",", "unsigned", "NumCycles", ",", "unsigned", "ExtraPredCycles", ",", "BranchProbability", "Probability", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Second", "variant", "of", "isProfitableToIfCvt", "."], "TS_V_token": ["PowerPC"], "File": "PPCInstrInfo (2)2", "Func": "isProfitableToIfCvt", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21187, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcTargetMachine", "::", "addPreEmitPass", "(", "PassManagerBase", "&", "PM", ")", "{", "PM", ".", "add", "(", "createSparcFPMoverPass", "(", "*", "this", ")", ")", ";", "PM", ".", "add", "(", "createSparcDelaySlotFillerPass", "(", "*", "this", ")", ")", ";", "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"], "File": "SparcTargetMachine34", "Func": "addPreEmitPass", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21188, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCFastISel", "::", "fastEmit_i", "(", "MVT", "Ty", ",", "MVT", "VT", ",", "unsigned", "Opc", ",", "uint64_t", "Imm", ")", "{", "if", "(", "Opc", "!=", "ISD", "::", "Constant", ")", "return", "0", ";", "if", "(", "VT", "==", "MVT", "::", "i1", "&&", "Subtarget", "->", "useCRBits", "(", ")", ")", "{", "Register", "ImmReg", "=", "createResultReg", "(", "&", "PPC", "::", "CRBITRCRegClass", ")", ";", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "TII", ".", "get", "(", "Imm", "==", "0", "?", "PPC", "::", "CRUNSET", ":", "PPC", "::", "CRSET", ")", ",", "ImmReg", ")", ";", "return", "ImmReg", ";", "}", "if", "(", "VT", "!=", "MVT", "::", "i64", "&&", "VT", "!=", "MVT", "::", "i32", "&&", "VT", "!=", "MVT", "::", "i16", "&&", "VT", "!=", "MVT", "::", "i8", "&&", "VT", "!=", "MVT", "::", "i1", ")", "return", "0", ";", "const", "TargetRegisterClass", "*", "RC", "=", "(", "(", "VT", "==", "MVT", "::", "i64", ")", "?", "&", "PPC", "::", "G8RCRegClass", ":", "&", "PPC", "::", "GPRCRegClass", ")", ";", "if", "(", "VT", "==", "MVT", "::", "i64", ")", "return", "PPCMaterialize64BitInt", "(", "Imm", ",", "RC", ")", ";", "else", "return", "PPCMaterialize32BitInt", "(", "Imm", ",", "RC", ")", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "by", "target-independent", "code", "to", "request", "that", "an", "instruction", "with", "the", "given", "type", ",", "opcode", ",", "and", "immediate", "operand", "be", "emitted", "."], "TS_V_token": ["PowerPC", "PPC", "ISD::Constant", "0", "MVT::i1", "PPC::CRBITRCRegClass", "0", "PPC::CRUNSET", "PPC::CRSET", "MVT::i64", "MVT::i32", "MVT::i16", "MVT::i8", "MVT::i1", "0", "MVT::i64", "PPC::G8RCRegClass", "PPC::GPRCRegClass", "MVT::i64", "PPC", "PPC"], "File": "PPCFastISel12", "Func": "fastEmit_i", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21189, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "canInsertSelect", "(", "const", "MachineBasicBlock", "&", "MBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "unsigned", "TrueReg", ",", "unsigned", "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", "::", "COND_S", ")", "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::COND_S", "X86::GR16RegClass", "X86::GR32RegClass", "X86::GR64RegClass", "2", "2", "2"], "File": "X86InstrInfo (2)1", "Func": "canInsertSelect", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21190, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "buildOutlinedFrame", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineFunction", "&", "MF", ",", "const", "outliner", "::", "OutlinedFunction", "&", "OF", ")", "const", "{", "if", "(", "OF", ".", "FrameConstructionID", "==", "MachineOutlinerTailCall", ")", "return", ";", "MachineInstr", "*", "retq", "=", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "X86", "::", "RET64", ")", ")", ";", "MBB", ".", "insert", "(", "MBB", ".", "end", "(", ")", ",", "retq", ")", ";", "}", ""], "natrual_language": ["Insert", "a", "custom", "frame", "for", "outlined", "functions", "."], "TS_V_token": ["X86", "X86", "X86::RET64"], "File": "X86InstrInfo153", "Func": "buildOutlinedFrame", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21191, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "OR1KTargetLowering", "::", "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", "<", "16", ">", "(", "C", "->", "getSExtValue", "(", ")", ")", ")", "{", "Result", "=", "DAG", ".", "getTargetConstant", "(", "C", "->", "getSExtValue", "(", ")", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "}", "}", "return", ";", "case", "'J'", ":", "case", "'O'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "if", "(", "C", "->", "getZExtValue", "(", ")", "==", "0", ")", "{", "Result", "=", "DAG", ".", "getTargetConstant", "(", "0", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "}", "}", "return", ";", "case", "'K'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "if", "(", "isUInt", "<", "16", ">", "(", "C", "->", "getZExtValue", "(", ")", ")", ")", "{", "Result", "=", "DAG", ".", "getTargetConstant", "(", "C", "->", "getSExtValue", "(", ")", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "}", "}", "return", ";", "case", "'L'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "if", "(", "C", "->", "getZExtValue", "(", ")", "<=", "31", ")", "{", "Result", "=", "DAG", ".", "getTargetConstant", "(", "C", "->", "getZExtValue", "(", ")", ",", "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", ",", "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", ",", "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": ["OR1K", "OR1K", "0", "0", "1", "0", "16", "0", "0", "16", "31", "32", "0xffff", "0", "33554432", "33554431"], "File": "OR1KISelLowering", "Func": "LowerAsmOperandForConstraint", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21192, "Length": 458, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "addPass", "(", "createX86LowerAMXTypePass", "(", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createInterleavedAccessPass", "(", ")", ")", ";", "addPass", "(", "createX86PartialReductionPass", "(", ")", ")", ";", "}", "addPass", "(", "createIndirectBrExpandPass", "(", ")", ")", ";", "const", "Triple", "&", "TT", "=", "TM", "->", "getTargetTriple", "(", ")", ";", "if", "(", "TT", ".", "isOSWindows", "(", ")", ")", "{", "if", "(", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", "{", "addPass", "(", "createCFGuardDispatchPass", "(", ")", ")", ";", "}", "else", "{", "addPass", "(", "createCFGuardCheckPass", "(", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86TargetMachine97", "Func": "addIRPasses", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21193, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "getMemScale", "(", "const", "MachineInstr", "&", "MI", ")", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Opcode has unknown scale!\"", ")", ";", "case", "AArch64", "::", "LDRBBui", ":", "case", "AArch64", "::", "LDURBBi", ":", "case", "AArch64", "::", "LDRSBWui", ":", "case", "AArch64", "::", "LDURSBWi", ":", "case", "AArch64", "::", "STRBBui", ":", "case", "AArch64", "::", "STURBBi", ":", "return", "1", ";", "case", "AArch64", "::", "LDRHHui", ":", "case", "AArch64", "::", "LDURHHi", ":", "case", "AArch64", "::", "LDRSHWui", ":", "case", "AArch64", "::", "LDURSHWi", ":", "case", "AArch64", "::", "STRHHui", ":", "case", "AArch64", "::", "STURHHi", ":", "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", ":", "case", "AArch64", "::", "STGOffset", ":", "case", "AArch64", "::", "STZGOffset", ":", "case", "AArch64", "::", "ST2GOffset", ":", "case", "AArch64", "::", "STZ2GOffset", ":", "case", "AArch64", "::", "STGPi", ":", "return", "16", ";", "}", "}", ""], "natrual_language": ["Scaling", "factor", "for", "(", "scaled", "or", "unscaled", ")", "load", "or", "store", "."], "TS_V_token": ["AArch64", "\"Opcode has unknown scale!\"", "AArch64::LDRBBui", "AArch64::LDURBBi", "AArch64::LDRSBWui", "AArch64::LDURSBWi", "AArch64::STRBBui", "AArch64::STURBBi", "1", "AArch64::LDRHHui", "AArch64::LDURHHi", "AArch64::LDRSHWui", "AArch64::LDURSHWi", "AArch64::STRHHui", "AArch64::STURHHi", "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", "AArch64::STGOffset", "AArch64::STZGOffset", "AArch64::ST2GOffset", "AArch64::STZ2GOffset", "AArch64::STGPi", "16"], "File": "AArch64LoadStoreOptimizer38", "Func": "getMemScale", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21194, "Length": 293, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CollectLOH", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** AArch64 Collect LOH **********\\n\"", "<<", "\"Looking in function \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "LOHInfo", "LOHInfos", "[", "N_GPR_REGS", "]", ";", "AArch64FunctionInfo", "&", "AFI", "=", "*", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "for", "(", "const", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "memset", "(", "LOHInfos", ",", "0", ",", "sizeof", "(", "LOHInfos", ")", ")", ";", "for", "(", "const", "MachineBasicBlock", "*", "Succ", ":", "MBB", ".", "successors", "(", ")", ")", "{", "for", "(", "const", "auto", "&", "LI", ":", "Succ", "->", "liveins", "(", ")", ")", "{", "int", "RegIdx", "=", "mapRegToGPRIndex", "(", "LI", ".", "PhysReg", ")", ";", "if", "(", "RegIdx", ">=", "0", ")", "LOHInfos", "[", "RegIdx", "]", ".", "OneUser", "=", "true", ";", "}", "}", "for", "(", "const", "MachineInstr", "&", "MI", ":", "instructionsWithoutDebug", "(", "MBB", ".", "rbegin", "(", ")", ",", "MBB", ".", "rend", "(", ")", ")", ")", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "case", "AArch64", "::", "ADDXri", ":", "case", "AArch64", "::", "LDRXui", ":", "case", "AArch64", "::", "LDRWui", ":", "if", "(", "canDefBePartOfLOH", "(", "MI", ")", ")", "{", "const", "MachineOperand", "&", "Def", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "const", "MachineOperand", "&", "Op", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "assert", "(", "Def", ".", "isReg", "(", ")", "&&", "Def", ".", "isDef", "(", ")", "&&", "\"Expected reg def\"", ")", ";", "assert", "(", "Op", ".", "isReg", "(", ")", "&&", "Op", ".", "isUse", "(", ")", "&&", "\"Expected reg use\"", ")", ";", "int", "DefIdx", "=", "mapRegToGPRIndex", "(", "Def", ".", "getReg", "(", ")", ")", ";", "int", "OpIdx", "=", "mapRegToGPRIndex", "(", "Op", ".", "getReg", "(", ")", ")", ";", "if", "(", "DefIdx", ">=", "0", "&&", "OpIdx", ">=", "0", "&&", "handleMiddleInst", "(", "MI", ",", "LOHInfos", "[", "DefIdx", "]", ",", "LOHInfos", "[", "OpIdx", "]", ")", ")", "continue", ";", "}", "break", ";", "case", "AArch64", "::", "ADRP", ":", "const", "MachineOperand", "&", "Op0", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "int", "Idx", "=", "mapRegToGPRIndex", "(", "Op0", ".", "getReg", "(", ")", ")", ";", "if", "(", "Idx", ">=", "0", ")", "{", "handleADRP", "(", "MI", ",", "AFI", ",", "LOHInfos", "[", "Idx", "]", ",", "LOHInfos", ")", ";", "continue", ";", "}", "break", ";", "}", "handleNormalInst", "(", "MI", ",", "LOHInfos", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"********** AArch64 Collect LOH **********\\n\"", "\"Looking in function \"", "AArch64", "AArch64", "0", "0", "AArch64::ADDXri", "AArch64::LDRXui", "AArch64::LDRWui", "0", "1", "\"Expected reg def\"", "\"Expected reg use\"", "0", "0", "AArch64::ADRP", "0", "0"], "File": "AArch64CollectLOH13", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21195, "Length": 381, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "pa_cannot_change_mode_class", "(", "machine_mode", "from", ",", "machine_mode", "to", ",", "enum", "reg_class", "rclass", ")", "{", "if", "(", "from", "==", "to", ")", "return", "false", ";", "if", "(", "COMPLEX_MODE_P", "(", "from", ")", "||", "VECTOR_MODE_P", "(", "from", ")", "||", "COMPLEX_MODE_P", "(", "to", ")", "||", "VECTOR_MODE_P", "(", "to", ")", ")", "return", "true", ";", "if", "(", "GET_MODE_SIZE", "(", "from", ")", "==", "GET_MODE_SIZE", "(", "to", ")", ")", "return", "false", ";", "if", "(", "MAYBE_FP_REG_CLASS_P", "(", "rclass", ")", ")", "return", "true", ";", "if", "(", "GET_MODE_SIZE", "(", "to", ")", ">", "UNITS_PER_WORD", "&&", "GET_MODE_SIZE", "(", "to", ")", ">", "GET_MODE_SIZE", "(", "from", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "change", "from", "mode", "FROM", "to", "mode", "TO", "for", "a", "register", "in", "register", "class", "RCLASS", "is", "invalid", "."], "TS_V_token": ["pa"], "File": "pa4", "Func": "pa_cannot_change_mode_class", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21196, "Length": 99, "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": 21197, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "X86Operand", "*", "CreateReg", "(", "unsigned", "RegNo", ",", "SMLoc", "StartLoc", ",", "SMLoc", "EndLoc", ",", "bool", "AddressOf", "=", "false", ",", "SMLoc", "OffsetOfLoc", "=", "SMLoc", "(", ")", ")", "{", "X86Operand", "*", "Res", "=", "new", "X86Operand", "(", "Register", ",", "StartLoc", ",", "EndLoc", ")", ";", "Res", "->", "Reg", ".", "RegNo", "=", "RegNo", ";", "Res", "->", "AddressOf", "=", "AddressOf", ";", "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": "X86AsmParser22", "Func": "CreateReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21198, "Length": 65, "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", "(", "this", ",", "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", ";", "SmallVector", "<", "unsigned", ",", "8", ">", "Ops", ";", "Ops", ".", "push_back", "(", "SrcOperandId", ")", ";", "MachineInstr", "*", "FoldMI", "=", "foldMemoryOperand", "(", "MI", ",", "Ops", ",", "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", "8", "0"], "File": "X86InstrInfo110", "Func": "optimizeLoadInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21199, "Length": 245, "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": 21200, "Length": 373, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getString", "(", ")", ";", "if", "(", "IDVal", "==", "\".ent\"", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".end\"", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".frame\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".set\"", ")", "{", "return", "parseDirectiveSet", "(", ")", ";", "}", "if", "(", "IDVal", "==", "\".fmask\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".mask\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".gpword\"", ")", "{", "parseDirectiveGpWord", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".word\"", ")", "{", "parseDirectiveWord", "(", "4", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".mips_hack_stocg\"", ")", "return", "parseDirectiveMipsHackStocg", "(", ")", ";", "if", "(", "IDVal", "==", "\".mips_hack_elf_flags\"", ")", "return", "parseDirectiveMipsHackELFFlags", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["Mips", "Mips", "\".ent\"", "\".end\"", "\".frame\"", "\".set\"", "\".fmask\"", "\".mask\"", "\".gpword\"", "\".word\"", "4", "\".mips_hack_stocg\"", "Mips", "\".mips_hack_elf_flags\"", "Mips"], "File": "MipsAsmParser64", "Func": "ParseDirective", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21201, "Length": 179, "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", ":", "case", "CallingConv", "::", "Swift", ":", "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", "::", "SwiftSelf", ")", "||", "F", "->", "getAttributes", "(", ")", ".", "hasAttribute", "(", "Idx", ",", "Attribute", "::", "SwiftError", ")", "||", "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", "MCPhysReg", "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": "ARMFastISel29", "Func": "fastLowerArguments", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21202, "Length": 459, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "isLegalAddImmediate", "(", "int64_t", "Imm", ")", "const", "{", "return", "isInt", "<", "16", ">", "(", "Imm", ")", "||", "isUInt", "<", "16", ">", "(", "Imm", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "immediate", "is", "legal", "add", "immediate", ",", "that", "is", "the", "target", "has", "add", "instructions", "which", "can", "add", "a", "register", "and", "the", "immediate", "without", "having", "to", "materialize", "the", "immediate", "into", "a", "register", "."], "TS_V_token": ["PowerPC", "PPC", "16", "16"], "File": "PPCISelLowering (2)2", "Func": "isLegalAddImmediate", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21203, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MachineBasicBlock", "*", "getMBB", "(", ")", "const", "{", "return", "MBB", ";", "}", ""], "natrual_language": ["Return", "a", "reference", "to", "the", "basic", "block", "containing", "this", "bundle", "."], "TS_V_token": ["ARM"], "File": "ARMConstantPoolValue", "Func": "getMBB", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21204, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AvoidTrailingCallPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "X86Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "const", "X86InstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "assert", "(", "STI", ".", "isTargetWin64", "(", ")", "&&", "\"pass only runs on Win64\"", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "MachineBasicBlock", "*", "NextMBB", "=", "MBB", ".", "getNextNode", "(", ")", ";", "if", "(", "NextMBB", "&&", "!", "NextMBB", "->", "isEHFuncletEntry", "(", ")", ")", "continue", ";", "MachineBasicBlock", "::", "reverse_iterator", "LastRealInstr", ";", "for", "(", "MachineBasicBlock", "&", "RMBB", ":", "make_range", "(", "MBB", ".", "getReverseIterator", "(", ")", ",", "MF", ".", "rend", "(", ")", ")", ")", "{", "LastRealInstr", "=", "llvm", "::", "find_if", "(", "reverse", "(", "RMBB", ")", ",", "isRealInstruction", ")", ";", "if", "(", "LastRealInstr", "!=", "RMBB", ".", "rend", "(", ")", ")", "break", ";", "}", "if", "(", "LastRealInstr", "==", "MF", ".", "begin", "(", ")", "->", "rend", "(", ")", ")", "continue", ";", "if", "(", "isCallInstruction", "(", "*", "LastRealInstr", ")", ")", "{", "LLVM_DEBUG", "(", "{", "dbgs", "(", ")", "<<", "\"inserting int3 after trailing call instruction:\\n\"", ";", "LastRealInstr", "->", "dump", "(", ")", ";", "dbgs", "(", ")", "<<", "'\\n'", ";", "}", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "std", "::", "next", "(", "LastRealInstr", ".", "getReverse", "(", ")", ")", ";", "BuildMI", "(", "*", "LastRealInstr", "->", "getParent", "(", ")", ",", "MBBI", ",", "LastRealInstr", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "X86", "::", "INT3", ")", ")", ";", "Changed", "=", "true", ";", "}", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "\"pass only runs on Win64\"", "\"inserting int3 after trailing call instruction:\\n\"", "X86::INT3"], "File": "X86AvoidTrailingCall3", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21205, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86OptimizeLEAPass", "::", "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", "(", ")", ".", "hasOptSize", "(", ")", ")", "Changed", "|=", "removeRedundantAddrCalc", "(", "LEAs", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86"], "File": "X86OptimizeLEAs20", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21206, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesAll", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["SystemZ"], "File": "SystemZPostRewrite", "Func": "getAnalysisUsage", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21207, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_notrack_prefixed_insn_p", "(", "rtx", "insn", ")", "{", "if", "(", "!", "insn", "||", "!", "(", "(", "flag_cf_protection", "&", "CF_BRANCH", ")", ")", ")", "return", "false", ";", "if", "(", "CALL_P", "(", "insn", ")", ")", "{", "rtx", "call", "=", "get_call_rtx_from", "(", "insn", ")", ";", "gcc_assert", "(", "call", "!=", "NULL_RTX", ")", ";", "rtx", "addr", "=", "XEXP", "(", "call", ",", "0", ")", ";", "if", "(", "MEM_P", "(", "addr", ")", "&&", "GET_CODE", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "==", "SYMBOL_REF", ")", "return", "false", ";", "else", "return", "find_reg_note", "(", "insn", ",", "REG_CALL_NOCF_CHECK", ",", "0", ")", ";", "}", "if", "(", "JUMP_P", "(", "insn", ")", "&&", "!", "flag_cet_switch", ")", "{", "rtx", "target", "=", "JUMP_LABEL", "(", "insn", ")", ";", "if", "(", "target", "==", "NULL_RTX", "||", "ANY_RETURN_P", "(", "target", ")", ")", "return", "false", ";", "rtx_insn", "*", "label", "=", "as_a", "<", "rtx_insn", "*", ">", "(", "target", ")", ";", "rtx_insn", "*", "table", "=", "next_insn", "(", "label", ")", ";", "if", "(", "table", "==", "NULL_RTX", "||", "!", "JUMP_TABLE_DATA_P", "(", "table", ")", ")", "return", "false", ";", "else", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "1", "if", "control", "tansfer", "instruction", "INSN", "should", "be", "encoded", "with", "notrack", "prefix", "."], "TS_V_token": ["i386", "0", "0", "0"], "File": "i3867", "Func": "ix86_notrack_prefixed_insn_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21208, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "neon_endian_lane_map", "(", "machine_mode", "mode", ",", "int", "lane", ")", "{", "if", "(", "BYTES_BIG_ENDIAN", ")", "{", "int", "nelems", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "lane", "=", "(", "nelems", "-", "1", "-", "lane", ")", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "16", ")", "lane", "=", "lane", "^", "(", "nelems", "/", "2", ")", ";", "}", "return", "lane", ";", "}", ""], "natrual_language": ["Map", "lane", "ordering", "between", "architectural", "lane", "order", ",", "and", "GCC", "lane", "order", ",", "taking", "into", "account", "ABI", ".", "See", "comment", "above", "output_move_neon", "for", "details", "."], "TS_V_token": ["arm", "1", "16", "2"], "File": "arm", "Func": "neon_endian_lane_map", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21209, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "set_ix86_tune_features", "(", "enum", "processor_type", "ix86_tune", ",", "bool", "dump", ")", "{", "unsigned", "int", "ix86_tune_mask", "=", "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", "1u", "0", "0", "\"List of x86 specific tuning parameter names:\\n\"", "0", "\"%s : %s\\n\"", "\"on\"", "\"off\""], "File": "i3864", "Func": "set_ix86_tune_features", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21210, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86TargetLowering", "::", "ConstraintType", "X86TargetLowering", "::", "getConstraintType", "(", "const", "std", "::", "string", "&", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'R'", ":", "case", "'q'", ":", "case", "'Q'", ":", "case", "'f'", ":", "case", "'t'", ":", "case", "'u'", ":", "case", "'y'", ":", "case", "'x'", ":", "case", "'Y'", ":", "case", "'l'", ":", "return", "C_RegisterClass", ";", "case", "'a'", ":", "case", "'b'", ":", "case", "'c'", ":", "case", "'d'", ":", "case", "'S'", ":", "case", "'D'", ":", "case", "'A'", ":", "return", "C_Register", ";", "case", "'I'", ":", "case", "'J'", ":", "case", "'K'", ":", "case", "'L'", ":", "case", "'M'", ":", "case", "'N'", ":", "case", "'G'", ":", "case", "'C'", ":", "case", "'e'", ":", "case", "'Z'", ":", "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": ["X86", "X86", "X86", "1", "0"], "File": "X86ISelLowering (2)", "Func": "getConstraintType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21211, "Length": 140, "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": 21212, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsFrameLowering", "*", "MipsFrameLowering", "::", "create", "(", "const", "MipsSubtarget", "&", "ST", ")", "{", "if", "(", "ST", ".", "inMips16Mode", "(", ")", ")", "return", "llvm", "::", "createMips16FrameLowering", "(", "ST", ")", ";", "return", "llvm", "::", "createMipsSEFrameLowering", "(", "ST", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsFrameLowering (2)", "Func": "create", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21213, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "MipsSubtarget", "*", "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": ["Mips", "Mips"], "File": "MipsTargetMachine1", "Func": "getSubtargetImpl", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21214, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0PassConfig", "::", "addPreEmitPass", "(", ")", "{", "Cpu0TargetMachine", "&", "TM", "=", "getCpu0TargetMachine", "(", ")", ";", "addPass", "(", "createCpu0DelJmpPass", "(", "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": ["Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0"], "File": "Cpu0TargetMachine1", "Func": "addPreEmitPass", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21215, "Length": 27, "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", ")", ";", "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", ")", ";", "gcc_assert", "(", "REG_P", "(", "XEXP", "(", "plus_rtx", ",", "0", ")", ")", ")", ";", "return", "XEXP", "(", "plus_rtx", ",", "0", ")", ";", "}", ""], "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"], "File": "nds32-utils2", "Func": "extract_base_reg", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21216, "Length": 246, "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": 21217, "Length": 411, "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": 21218, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "outliner", "::", "OutlinedFunction", "ARMBaseInstrInfo", "::", "getOutliningCandidateInfo", "(", "std", "::", "vector", "<", "outliner", "::", "Candidate", ">", "&", "RepeatedSequenceLocs", ")", "const", "{", "outliner", "::", "Candidate", "&", "FirstCand", "=", "RepeatedSequenceLocs", "[", "0", "]", ";", "unsigned", "SequenceSize", "=", "std", "::", "accumulate", "(", "FirstCand", ".", "front", "(", ")", ",", "std", "::", "next", "(", "FirstCand", ".", "back", "(", ")", ")", ",", "0", ",", "[", "this", "]", "(", "unsigned", "Sum", ",", "const", "MachineInstr", "&", "MI", ")", "{", "return", "Sum", "+", "getInstSizeInBytes", "(", "MI", ")", ";", "}", ")", ";", "unsigned", "FlagsSetInAll", "=", "0xF", ";", "const", "TargetRegisterInfo", "&", "TRI", "=", "getRegisterInfo", "(", ")", ";", "std", "::", "for_each", "(", "RepeatedSequenceLocs", ".", "begin", "(", ")", ",", "RepeatedSequenceLocs", ".", "end", "(", ")", ",", "[", "&", "FlagsSetInAll", "]", "(", "outliner", "::", "Candidate", "&", "C", ")", "{", "FlagsSetInAll", "&=", "C", ".", "Flags", ";", "}", ")", ";", "auto", "CantGuaranteeValueAcrossCall", "=", "[", "&", "TRI", "]", "(", "outliner", "::", "Candidate", "&", "C", ")", "{", "if", "(", "C", ".", "Flags", "&", "UnsafeRegsDead", ")", "return", "false", ";", "C", ".", "initLRU", "(", "TRI", ")", ";", "LiveRegUnits", "LRU", "=", "C", ".", "LRU", ";", "return", "(", "!", "LRU", ".", "available", "(", "ARM", "::", "R12", ")", "||", "!", "LRU", ".", "available", "(", "ARM", "::", "CPSR", ")", ")", ";", "}", ";", "if", "(", "!", "(", "FlagsSetInAll", "&", "UnsafeRegsDead", ")", ")", "{", "RepeatedSequenceLocs", ".", "erase", "(", "std", "::", "remove_if", "(", "RepeatedSequenceLocs", ".", "begin", "(", ")", ",", "RepeatedSequenceLocs", ".", "end", "(", ")", ",", "CantGuaranteeValueAcrossCall", ")", ",", "RepeatedSequenceLocs", ".", "end", "(", ")", ")", ";", "if", "(", "RepeatedSequenceLocs", ".", "size", "(", ")", "<", "2", ")", "return", "outliner", "::", "OutlinedFunction", "(", ")", ";", "}", "unsigned", "LastInstrOpcode", "=", "RepeatedSequenceLocs", "[", "0", "]", ".", "back", "(", ")", "->", "getOpcode", "(", ")", ";", "auto", "SetCandidateCallInfo", "=", "[", "&", "RepeatedSequenceLocs", "]", "(", "unsigned", "CallID", ",", "unsigned", "NumBytesForCall", ")", "{", "for", "(", "outliner", "::", "Candidate", "&", "C", ":", "RepeatedSequenceLocs", ")", "C", ".", "setCallInfo", "(", "CallID", ",", "NumBytesForCall", ")", ";", "}", ";", "auto", "Costs", "=", "std", "::", "make_unique", "<", "OutlinerCosts", ">", "(", "Subtarget", ")", ";", "unsigned", "FrameID", "=", "0", ";", "unsigned", "NumBytesToCreateFrame", "=", "0", ";", "if", "(", "RepeatedSequenceLocs", "[", "0", "]", ".", "back", "(", ")", "->", "isTerminator", "(", ")", ")", "{", "FrameID", "=", "MachineOutlinerTailCall", ";", "NumBytesToCreateFrame", "=", "Costs", "->", "FrameTailCall", ";", "SetCandidateCallInfo", "(", "MachineOutlinerTailCall", ",", "Costs", "->", "CallTailCall", ")", ";", "}", "else", "if", "(", "LastInstrOpcode", "==", "ARM", "::", "BL", "||", "LastInstrOpcode", "==", "ARM", "::", "BLX", "||", "LastInstrOpcode", "==", "ARM", "::", "tBL", "||", "LastInstrOpcode", "==", "ARM", "::", "tBLXr", "||", "LastInstrOpcode", "==", "ARM", "::", "tBLXi", ")", "{", "FrameID", "=", "MachineOutlinerThunk", ";", "NumBytesToCreateFrame", "=", "Costs", "->", "FrameThunk", ";", "SetCandidateCallInfo", "(", "MachineOutlinerThunk", ",", "Costs", "->", "CallThunk", ")", ";", "}", "else", "return", "outliner", "::", "OutlinedFunction", "(", ")", ";", "return", "outliner", "::", "OutlinedFunction", "(", "RepeatedSequenceLocs", ",", "SequenceSize", ",", "NumBytesToCreateFrame", ",", "FrameID", ")", ";", "}", ""], "natrual_language": ["Returns", "a", "outliner", ":", ":OutlinedFunction", "struct", "containing", "target-specific", "information", "for", "a", "set", "of", "outlining", "candidates", "."], "TS_V_token": ["ARM", "ARM", "0", "0", "0xF", "ARM::R12", "ARM::CPSR", "2", "0", "0", "0", "0", "ARM::BL", "ARM::BLX", "ARM::tBL", "ARM::tBLXr", "ARM::tBLXi"], "File": "ARMBaseInstrInfo50", "Func": "getOutliningCandidateInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21219, "Length": 443, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"Lanai Delay Slot Filler\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Lanai", "\"Lanai Delay Slot Filler\""], "File": "LanaiDelaySlotFiller12", "Func": "getPassName", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21220, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcSubtarget", "&", "SparcSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "UseSoftMulDiv", "=", "false", ";", "IsV9", "=", "false", ";", "IsLeon", "=", "false", ";", "V8DeprecatedInsts", "=", "false", ";", "IsVIS", "=", "false", ";", "IsVIS2", "=", "false", ";", "IsVIS3", "=", "false", ";", "HasHardQuad", "=", "false", ";", "UsePopc", "=", "false", ";", "UseSoftFloat", "=", "false", ";", "HasNoFSMULD", "=", "false", ";", "HasNoFMULS", "=", "false", ";", "HasLeonCasa", "=", "false", ";", "HasUmacSmac", "=", "false", ";", "HasPWRPSR", "=", "false", ";", "InsertNOPLoad", "=", "false", ";", "FixAllFDIVSQRT", "=", "false", ";", "DetectRoundChange", "=", "false", ";", "HasLeonCycleCounter", "=", "false", ";", "std", "::", "string", "CPUName", "=", "std", "::", "string", "(", "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": "SparcSubtarget19", "Func": "initializeSubtargetDependencies", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21221, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"ParseInstruction\\n\"", ")", ";", "if", "(", "!", "mnemonicIsValid", "(", "Name", ",", "0", ")", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "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", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "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", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "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", "(", ")", ";", "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", "\"ParseInstruction\\n\"", "0", "\"Unknown instruction\"", "MipsOperand::CreateToken", "\"unexpected token in argument list\"", "\"unexpected token in argument list\"", "\"unexpected token in argument list\""], "File": "MipsAsmParser43", "Func": "ParseInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21222, "Length": 308, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MVEGatherScatterLowering", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "!", "EnableMaskedGatherScatters", ")", "return", "false", ";", "auto", "&", "TPC", "=", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ";", "auto", "&", "TM", "=", "TPC", ".", "getTM", "<", "TargetMachine", ">", "(", ")", ";", "auto", "*", "ST", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", "F", ")", ";", "if", "(", "!", "ST", "->", "hasMVEIntegerOps", "(", ")", ")", "return", "false", ";", "SmallVector", "<", "IntrinsicInst", "*", ",", "4", ">", "Gathers", ";", "SmallVector", "<", "IntrinsicInst", "*", ",", "4", ">", "Scatters", ";", "for", "(", "BasicBlock", "&", "BB", ":", "F", ")", "{", "for", "(", "Instruction", "&", "I", ":", "BB", ")", "{", "IntrinsicInst", "*", "II", "=", "dyn_cast", "<", "IntrinsicInst", ">", "(", "&", "I", ")", ";", "if", "(", "II", "&&", "II", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "masked_gather", ")", "Gathers", ".", "push_back", "(", "II", ")", ";", "else", "if", "(", "II", "&&", "II", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "masked_scatter", ")", "Scatters", ".", "push_back", "(", "II", ")", ";", "}", "}", "bool", "Changed", "=", "false", ";", "for", "(", "IntrinsicInst", "*", "I", ":", "Gathers", ")", "Changed", "|=", "lowerGather", "(", "I", ")", ";", "for", "(", "IntrinsicInst", "*", "I", ":", "Scatters", ")", "Changed", "|=", "lowerScatter", "(", "I", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["ARM", "ARM", "4", "4", "Intrinsic::masked_gather", "Intrinsic::masked_scatter"], "File": "MVEGatherScatterLowering15", "Func": "runOnFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21223, "Length": 202, "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", "*", "bzeroName", "=", "(", "V", "&&", "V", "->", "isNullValue", "(", ")", ")", "?", "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", "256", "AArch64"], "File": "AArch64SelectionDAGInfo17", "Func": "EmitTargetCodeForMemset", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21224, "Length": 299, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "insn_is_load_p", "(", "rtx", "insn", ")", "{", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "body", ")", "==", "SET", ")", "{", "if", "(", "MEM_P", "(", "SET_SRC", "(", "body", ")", ")", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "SET_SRC", "(", "body", ")", ")", "==", "VEC_SELECT", "&&", "MEM_P", "(", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ")", ")", "return", "1", ";", "if", "(", "pattern_is_rotate64", "(", "body", ")", "&&", "MEM_P", "(", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ")", ")", "return", "1", ";", "return", "0", ";", "}", "if", "(", "GET_CODE", "(", "body", ")", "!=", "PARALLEL", ")", "return", "0", ";", "rtx", "set", "=", "XVECEXP", "(", "body", ",", "0", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "set", ")", "==", "SET", "&&", "MEM_P", "(", "SET_SRC", "(", "set", ")", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "1", "iff", "INSN", "is", "a", "load", "insn", ",", "including", "permuting", "loads", "that", "represent", "an", "lvxd2x", "instruction", ";", "else", "return", "0", "."], "TS_V_token": ["rs6000", "1", "0", "1", "0", "1", "0", "0", "0", "0", "1", "0"], "File": "rs6000-p8swap", "Func": "insn_is_load_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21225, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "MipsTargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "EVT", "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": "MipsISelLowering (2)4", "Func": "getRegisterByName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21226, "Length": 107, "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": 21227, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMLoadStoreOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "const", "TargetMachine", "&", "TM", "=", "Fn", ".", "getTarget", "(", ")", ";", "TL", "=", "TM", ".", "getTargetLowering", "(", ")", ";", "AFI", "=", "Fn", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "TII", "=", "TM", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "TM", ".", "getRegisterInfo", "(", ")", ";", "STI", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "RS", "=", "new", "RegScavenger", "(", ")", ";", "isThumb2", "=", "AFI", "->", "isThumb2Function", "(", ")", ";", "isThumb1", "=", "AFI", "->", "isThumbFunction", "(", ")", "&&", "!", "isThumb2", ";", "if", "(", "isThumb1", ")", "{", "delete", "RS", ";", "return", "false", ";", "}", "bool", "Modified", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "MFI", "=", "Fn", ".", "begin", "(", ")", ",", "E", "=", "Fn", ".", "end", "(", ")", ";", "MFI", "!=", "E", ";", "++", "MFI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MFI", ";", "Modified", "|=", "LoadStoreMultipleOpti", "(", "MBB", ")", ";", "if", "(", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "hasV5TOps", "(", ")", ")", "Modified", "|=", "MergeReturnIntoLDM", "(", "MBB", ")", ";", "}", "delete", "RS", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM"], "File": "ARMLoadStoreOptimizer35", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21228, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_emit_prologue_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", "&&", "TARGET_DOUBLE_FLOAT", ")", "?", "DFmode", ":", "SFmode", ";", "int", "fp_reg_size", "=", "8", ";", "if", "(", "bitmap_bit_p", "(", "components", ",", "0", ")", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "reg_mode", ",", "0", ")", ";", "rtx_insn", "*", "insn", "=", "emit_move_insn", "(", "reg", ",", "gen_rtx_REG", "(", "reg_mode", ",", "LR_REGNO", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_REGISTER", ",", "NULL", ")", ";", "int", "offset", "=", "info", "->", "lr_save_offset", ";", "if", "(", "info", "->", "push_p", ")", "offset", "+=", "info", "->", "total_size", ";", "insn", "=", "emit_insn", "(", "gen_frame_store", "(", "reg", ",", "ptr_reg", ",", "offset", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "rtx", "lr", "=", "gen_rtx_REG", "(", "reg_mode", ",", "LR_REGNO", ")", ";", "rtx", "mem", "=", "copy_rtx", "(", "SET_DEST", "(", "single_set", "(", "insn", ")", ")", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_OFFSET", ",", "gen_rtx_SET", "(", "mem", ",", "lr", ")", ")", ";", "}", "if", "(", "bitmap_bit_p", "(", "components", ",", "2", ")", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "reg_mode", ",", "TOC_REGNUM", ")", ";", "rtx", "sp_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "STACK_POINTER_REGNUM", ")", ";", "emit_insn", "(", "gen_frame_store", "(", "reg", ",", "sp_reg", ",", "RS6000_TOC_SAVE_SLOT", ")", ")", ";", "}", "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", "(", "reg_mode", ",", "i", ")", ";", "rtx_insn", "*", "insn", "=", "emit_insn", "(", "gen_frame_store", "(", "reg", ",", "ptr_reg", ",", "offset", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "rtx", "set", "=", "copy_rtx", "(", "single_set", "(", "insn", ")", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_OFFSET", ",", "set", ")", ";", "}", "offset", "+=", "reg_size", ";", "}", "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_store", "(", "reg", ",", "ptr_reg", ",", "offset", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "rtx", "set", "=", "copy_rtx", "(", "single_set", "(", "insn", ")", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_OFFSET", ",", "set", ")", ";", "}", "offset", "+=", "fp_reg_size", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_SHRINK_WRAP_EMIT_PROLOGUE_COMPONENTS", "."], "TS_V_token": ["rs6000", "4", "8", "8", "0", "0", "1", "1", "2", "32", "1", "64", "1"], "File": "rs60007", "Func": "rs6000_emit_prologue_components", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21229, "Length": 446, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "legitimize_tls_address", "(", "rtx", "x", ",", "rtx", "reg", ")", "{", "rtx", "dest", ",", "tp", ",", "label", ",", "labelno", ",", "sum", ",", "ret", ",", "eqv", ",", "addend", ";", "rtx_insn", "*", "insns", ";", "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": "arm6", "Func": "legitimize_tls_address", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21230, "Length": 474, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "offset_9bit_signed_unscaled_p", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "offset", ")", "{", "return", "offset", ">=", "-", "256", "&&", "offset", "<", "256", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OFFSET", "is", "a", "signed", "9-bit", "value", "."], "TS_V_token": ["aarch64", "256", "256"], "File": "aarch642", "Func": "offset_9bit_signed_unscaled_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21231, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "PPCInstrInfo", "::", "getOperandLatency", "(", "const", "InstrItineraryData", "*", "ItinData", ",", "const", "MachineInstr", "&", "DefMI", ",", "unsigned", "DefIdx", ",", "const", "MachineInstr", "&", "UseMI", ",", "unsigned", "UseIdx", ")", "const", "{", "int", "Latency", "=", "PPCGenInstrInfo", "::", "getOperandLatency", "(", "ItinData", ",", "DefMI", ",", "DefIdx", ",", "UseMI", ",", "UseIdx", ")", ";", "if", "(", "!", "DefMI", ".", "getParent", "(", ")", ")", "return", "Latency", ";", "const", "MachineOperand", "&", "DefMO", "=", "DefMI", ".", "getOperand", "(", "DefIdx", ")", ";", "Register", "Reg", "=", "DefMO", ".", "getReg", "(", ")", ";", "bool", "IsRegCR", ";", "if", "(", "Register", "::", "isVirtualRegister", "(", "Reg", ")", ")", "{", "const", "MachineRegisterInfo", "*", "MRI", "=", "&", "DefMI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "IsRegCR", "=", "MRI", "->", "getRegClass", "(", "Reg", ")", "->", "hasSuperClassEq", "(", "&", "PPC", "::", "CRRCRegClass", ")", "||", "MRI", "->", "getRegClass", "(", "Reg", ")", "->", "hasSuperClassEq", "(", "&", "PPC", "::", "CRBITRCRegClass", ")", ";", "}", "else", "{", "IsRegCR", "=", "PPC", "::", "CRRCRegClass", ".", "contains", "(", "Reg", ")", "||", "PPC", "::", "CRBITRCRegClass", ".", "contains", "(", "Reg", ")", ";", "}", "if", "(", "UseMI", ".", "isBranch", "(", ")", "&&", "IsRegCR", ")", "{", "if", "(", "Latency", "<", "0", ")", "Latency", "=", "getInstrLatency", "(", "ItinData", ",", "DefMI", ")", ";", "unsigned", "Directive", "=", "Subtarget", ".", "getDarwinDirective", "(", ")", ";", "switch", "(", "Directive", ")", "{", "default", ":", "break", ";", "case", "PPC", "::", "DIR_7400", ":", "case", "PPC", "::", "DIR_750", ":", "case", "PPC", "::", "DIR_970", ":", "case", "PPC", "::", "DIR_E5500", ":", "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", ":", "Latency", "+=", "2", ";", "break", ";", "}", "}", "return", "Latency", ";", "}", ""], "natrual_language": ["Compute", "and", "return", "the", "use", "operand", "latency", "of", "a", "given", "pair", "of", "def", "and", "use", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::CRRCRegClass", "PPC::CRBITRCRegClass", "PPC::CRRCRegClass", "PPC::CRBITRCRegClass", "0", "PPC::DIR_7400", "PPC::DIR_750", "PPC::DIR_970", "PPC::DIR_E5500", "PPC::DIR_PWR4", "PPC::DIR_PWR5", "PPC::DIR_PWR5X", "PPC::DIR_PWR6", "PPC::DIR_PWR6X", "PPC::DIR_PWR7", "PPC::DIR_PWR8", "2"], "File": "PPCInstrInfo118", "Func": "getOperandLatency", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21232, "Length": 279, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "constant_generates_xxspltidp", "(", "vec_const_128bit_type", "*", "vsx_const", ")", "{", "if", "(", "!", "TARGET_SPLAT_FLOAT_CONSTANT", "||", "!", "TARGET_PREFIXED", "||", "!", "TARGET_VSX", ")", "return", "0", ";", "if", "(", "!", "vsx_const", "->", "all_double_words_same", ")", "return", "0", ";", "if", "(", "vsx_const", "->", "all_bytes_same", "||", "vsx_const", "->", "all_half_words_same", "||", "vsx_const", "->", "all_words_same", ")", "return", "0", ";", "unsigned", "HOST_WIDE_INT", "value", "=", "vsx_const", "->", "double_words", "[", "0", "]", ";", "if", "(", "value", "!=", "RS6000_CONST_DF_NAN", "&&", "value", "!=", "RS6000_CONST_DF_NANS", "&&", "value", "!=", "RS6000_CONST_DF_INF", "&&", "value", "!=", "RS6000_CONST_DF_NEG_INF", ")", "{", "int", "df_exponent", "=", "(", "value", ">>", "52", ")", "&", "0x7ff", ";", "unsigned", "HOST_WIDE_INT", "df_mantissa", "=", "value", "&", "(", "(", "HOST_WIDE_INT_1U", "<<", "52", ")", "-", "HOST_WIDE_INT_1U", ")", ";", "if", "(", "df_exponent", "==", "0x7ff", "&&", "df_mantissa", "!=", "0", ")", "return", "0", ";", "if", "(", "df_exponent", "==", "0", "&&", "df_mantissa", "!=", "0", ")", "return", "0", ";", "}", "long", "df_words", "[", "2", "]", "=", "{", "vsx_const", "->", "words", "[", "0", "]", ",", "vsx_const", "->", "words", "[", "1", "]", "}", ";", "if", "(", "!", "BYTES_BIG_ENDIAN", ")", "std", "::", "swap", "(", "df_words", "[", "0", "]", ",", "df_words", "[", "1", "]", ")", ";", "REAL_VALUE_TYPE", "rv_type", ";", "real_from_target", "(", "&", "rv_type", ",", "df_words", ",", "DFmode", ")", ";", "const", "REAL_VALUE_TYPE", "*", "rv", "=", "&", "rv_type", ";", "if", "(", "!", "exact_real_truncate", "(", "SFmode", ",", "rv", ")", ")", "return", "0", ";", "long", "sf_value", ";", "real_to_target", "(", "&", "sf_value", ",", "rv", ",", "SFmode", ")", ";", "long", "sf_exponent", "=", "(", "sf_value", ">>", "23", ")", "&", "0xFF", ";", "long", "sf_mantissa", "=", "sf_value", "&", "0x7FFFFF", ";", "if", "(", "sf_exponent", "==", "0", "&&", "sf_mantissa", "!=", "0", ")", "return", "0", ";", "return", "sf_value", ";", "}", ""], "natrual_language": ["Determine", "if", "a", "vector", "constant", "can", "be", "loaded", "with", "XXSPLTIDP", ".", "Return", "zero", "if", "the", "XXSPLTIDP", "instruction", "can", "not", "be", "used", ".", "Otherwise", "return", "the", "immediate", "value", "to", "be", "used", "with", "the", "XXSPLTIDP", "instruction", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "52", "0x7ff", "52", "0x7ff", "0", "0", "0", "0", "0", "2", "0", "1", "0", "1", "0", "23", "0xFF", "0x7FFFFF", "0", "0", "0"], "File": "rs6000", "Func": "constant_generates_xxspltidp", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21233, "Length": 257, "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": 21234, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AArch64"], "File": "AArch64DeadRegisterDefinitionsPass10", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21235, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "VEFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "VEMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "VEMachineFunctionInfo", ">", "(", ")", ";", "DebugLoc", "DL", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "VEInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "uint64_t", "NumBytes", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "!", "FuncInfo", "->", "isLeafProc", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "VE", "::", "ORri", ")", ",", "VE", "::", "SX11", ")", ".", "addReg", "(", "VE", "::", "SX9", ")", ".", "addImm", "(", "0", ")", ";", "}", "else", "{", "emitSPAdjustment", "(", "MF", ",", "MBB", ",", "MBBI", ",", "NumBytes", ",", "None", ")", ";", "}", "emitEpilogueInsns", "(", "MF", ",", "MBB", ",", "MBBI", ",", "NumBytes", ",", "true", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["VE", "VE", "VE", "VE", "VE", "VE::ORri", "VE::SX11", "VE::SX9", "0"], "File": "VEFrameLowering2", "Func": "emitEpilogue", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21236, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_vector_mode_supported_p", "(", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_SSE", "&&", "VALID_SSE_REG_MODE", "(", "mode", ")", ")", "return", "true", ";", "if", "(", "TARGET_SSE2", "&&", "VALID_SSE2_REG_MODE", "(", "mode", ")", ")", "return", "true", ";", "if", "(", "TARGET_AVX", "&&", "VALID_AVX256_REG_MODE", "(", "mode", ")", ")", "return", "true", ";", "if", "(", "TARGET_AVX512F", "&&", "VALID_AVX512F_REG_MODE", "(", "mode", ")", ")", "return", "true", ";", "if", "(", "TARGET_MMX", "&&", "VALID_MMX_REG_MODE", "(", "mode", ")", ")", "return", "true", ";", "if", "(", "TARGET_3DNOW", "&&", "VALID_MMX_REG_MODE_3DNOW", "(", "mode", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implements", "target", "hook", "vector_mode_supported_p", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_vector_mode_supported_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21237, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Lanai load / store optimization pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Lanai", "\"Lanai load / store optimization pass\""], "File": "LanaiMemAluCombiner1", "Func": "getPassName", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21238, "Length": 11, "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": 21239, "Length": 57, "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", ",", "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": "MipsISelLowering32", "Func": "LowerReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21240, "Length": 406, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64RegisterInfo", "::", "isFrameOffsetLegal", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "assert", "(", "MI", "&&", "\"Unable to get the legal offset for nil instruction.\"", ")", ";", "StackOffset", "SaveOffset", "(", "Offset", ",", "MVT", "::", "i8", ")", ";", "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", "\"Unable to get the legal offset for nil instruction.\"", "MVT::i8", "AArch64", "AArch64"], "File": "AArch64RegisterInfo44", "Func": "isFrameOffsetLegal", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21241, "Length": 47, "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": 21242, "Length": 128, "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": 21243, "Length": 16, "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": ["SystemZ"], "File": "SystemZSubtarget", "Func": "enableMachineScheduler", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21244, "Length": 11, "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": 21245, "Length": 134, "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": ["CAHP"], "File": "CAHPSubtarget", "Func": "enableMachineScheduler", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21246, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_swdivdf", "(", "rtx", "res", ",", "rtx", "n", ",", "rtx", "d", ")", "{", "rtx", "x0", ",", "e0", ",", "e1", ",", "e2", ",", "y1", ",", "y2", ",", "y3", ",", "u0", ",", "v0", ",", "one", ";", "x0", "=", "gen_reg_rtx", "(", "DFmode", ")", ";", "e0", "=", "gen_reg_rtx", "(", "DFmode", ")", ";", "e1", "=", "gen_reg_rtx", "(", "DFmode", ")", ";", "e2", "=", "gen_reg_rtx", "(", "DFmode", ")", ";", "y1", "=", "gen_reg_rtx", "(", "DFmode", ")", ";", "y2", "=", "gen_reg_rtx", "(", "DFmode", ")", ";", "y3", "=", "gen_reg_rtx", "(", "DFmode", ")", ";", "u0", "=", "gen_reg_rtx", "(", "DFmode", ")", ";", "v0", "=", "gen_reg_rtx", "(", "DFmode", ")", ";", "one", "=", "force_reg", "(", "DFmode", ",", "CONST_DOUBLE_FROM_REAL_VALUE", "(", "dconst1", ",", "DFmode", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "x0", ",", "gen_rtx_UNSPEC", "(", "DFmode", ",", "gen_rtvec", "(", "1", ",", "d", ")", ",", "UNSPEC_FRES", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "e0", ",", "gen_rtx_MINUS", "(", "DFmode", ",", "one", ",", "gen_rtx_MULT", "(", "SFmode", ",", "d", ",", "x0", ")", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "y1", ",", "gen_rtx_PLUS", "(", "DFmode", ",", "gen_rtx_MULT", "(", "DFmode", ",", "e0", ",", "x0", ")", ",", "x0", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "e1", ",", "gen_rtx_MULT", "(", "DFmode", ",", "e0", ",", "e0", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "y2", ",", "gen_rtx_PLUS", "(", "DFmode", ",", "gen_rtx_MULT", "(", "DFmode", ",", "e1", ",", "y1", ")", ",", "y1", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "e2", ",", "gen_rtx_MULT", "(", "DFmode", ",", "e1", ",", "e1", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "y3", ",", "gen_rtx_PLUS", "(", "DFmode", ",", "gen_rtx_MULT", "(", "DFmode", ",", "e2", ",", "y2", ")", ",", "y2", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "u0", ",", "gen_rtx_MULT", "(", "DFmode", ",", "n", ",", "y3", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "v0", ",", "gen_rtx_MINUS", "(", "DFmode", ",", "n", ",", "gen_rtx_MULT", "(", "DFmode", ",", "d", ",", "u0", ")", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "res", ",", "gen_rtx_PLUS", "(", "DFmode", ",", "gen_rtx_MULT", "(", "DFmode", ",", "v0", ",", "y3", ")", ",", "u0", ")", ")", ")", ";", "}", ""], "natrual_language": ["Newton-Raphson", "approximation", "of", "double-precision", "floating", "point", "divide", "n/d", ".", "Assumes", "no", "trapping", "math", "and", "finite", "arguments", "."], "TS_V_token": ["rs6000", "1"], "File": "rs60003", "Func": "rs6000_emit_swdivdf", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21247, "Length": 349, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "aarch64_simd_clone_compute_vecsize_and_simdlen", "(", "struct", "cgraph_node", "*", "node", ",", "struct", "cgraph_simd_clone", "*", "clonei", ",", "tree", "base_type", ",", "int", "num", ")", "{", "tree", "t", ",", "ret_type", ",", "arg_type", ";", "unsigned", "int", "elt_bits", ",", "vec_bits", ",", "count", ";", "if", "(", "!", "TARGET_SIMD", ")", "return", "0", ";", "if", "(", "clonei", "->", "simdlen", "&&", "(", "clonei", "->", "simdlen", "<", "2", "||", "clonei", "->", "simdlen", ">", "1024", "||", "(", "clonei", "->", "simdlen", "&", "(", "clonei", "->", "simdlen", "-", "1", ")", ")", "!=", "0", ")", ")", "{", "warning_at", "(", "DECL_SOURCE_LOCATION", "(", "node", "->", "decl", ")", ",", "0", ",", "\"unsupported simdlen %d\"", ",", "clonei", "->", "simdlen", ")", ";", "return", "0", ";", "}", "ret_type", "=", "TREE_TYPE", "(", "TREE_TYPE", "(", "node", "->", "decl", ")", ")", ";", "if", "(", "TREE_CODE", "(", "ret_type", ")", "!=", "VOID_TYPE", "&&", "!", "currently_supported_simd_type", "(", "ret_type", ",", "base_type", ")", ")", "{", "if", "(", "TYPE_SIZE", "(", "ret_type", ")", "!=", "TYPE_SIZE", "(", "base_type", ")", ")", "warning_at", "(", "DECL_SOURCE_LOCATION", "(", "node", "->", "decl", ")", ",", "0", ",", "\"GCC does not currently support mixed size types \"", "\"for % functions\"", ")", ";", "else", "if", "(", "supported_simd_type", "(", "ret_type", ")", ")", "warning_at", "(", "DECL_SOURCE_LOCATION", "(", "node", "->", "decl", ")", ",", "0", ",", "\"GCC does not currently support return type %qT \"", "\"for % functions\"", ",", "ret_type", ")", ";", "else", "warning_at", "(", "DECL_SOURCE_LOCATION", "(", "node", "->", "decl", ")", ",", "0", ",", "\"unsupported return type %qT for % functions\"", ",", "ret_type", ")", ";", "return", "0", ";", "}", "for", "(", "t", "=", "DECL_ARGUMENTS", "(", "node", "->", "decl", ")", ";", "t", ";", "t", "=", "DECL_CHAIN", "(", "t", ")", ")", "{", "arg_type", "=", "TREE_TYPE", "(", "t", ")", ";", "if", "(", "!", "currently_supported_simd_type", "(", "arg_type", ",", "base_type", ")", ")", "{", "if", "(", "TYPE_SIZE", "(", "arg_type", ")", "!=", "TYPE_SIZE", "(", "base_type", ")", ")", "warning_at", "(", "DECL_SOURCE_LOCATION", "(", "node", "->", "decl", ")", ",", "0", ",", "\"GCC does not currently support mixed size types \"", "\"for % functions\"", ")", ";", "else", "warning_at", "(", "DECL_SOURCE_LOCATION", "(", "node", "->", "decl", ")", ",", "0", ",", "\"GCC does not currently support argument type %qT \"", "\"for % functions\"", ",", "arg_type", ")", ";", "return", "0", ";", "}", "}", "clonei", "->", "vecsize_mangle", "=", "'n'", ";", "clonei", "->", "mask_mode", "=", "VOIDmode", ";", "elt_bits", "=", "GET_MODE_BITSIZE", "(", "SCALAR_TYPE_MODE", "(", "base_type", ")", ")", ";", "if", "(", "clonei", "->", "simdlen", "==", "0", ")", "{", "count", "=", "2", ";", "vec_bits", "=", "(", "num", "==", "0", "?", "64", ":", "128", ")", ";", "clonei", "->", "simdlen", "=", "vec_bits", "/", "elt_bits", ";", "}", "else", "{", "count", "=", "1", ";", "vec_bits", "=", "clonei", "->", "simdlen", "*", "elt_bits", ";", "if", "(", "vec_bits", "!=", "64", "&&", "vec_bits", "!=", "128", ")", "{", "warning_at", "(", "DECL_SOURCE_LOCATION", "(", "node", "->", "decl", ")", ",", "0", ",", "\"GCC does not currently support simdlen %d for type %qT\"", ",", "clonei", "->", "simdlen", ",", "base_type", ")", ";", "return", "0", ";", "}", "}", "clonei", "->", "vecsize_int", "=", "vec_bits", ";", "clonei", "->", "vecsize_float", "=", "vec_bits", ";", "return", "count", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SIMD_CLONE_COMPUTE_VECSIZE_AND_SIMDLEN", "."], "TS_V_token": ["aarch64", "0", "2", "1024", "1", "0", "0", "\"unsupported simdlen %d\"", "0", "0", "\"GCC does not currently support mixed size types \"", "\"for % functions\"", "0", "\"GCC does not currently support return type %qT \"", "\"for % functions\"", "0", "\"unsupported return type %qT for % functions\"", "0", "0", "\"GCC does not currently support mixed size types \"", "\"for % functions\"", "0", "\"GCC does not currently support argument type %qT \"", "\"for % functions\"", "0", "0", "2", "0", "64", "128", "1", "64", "128", "0", "\"GCC does not currently support simdlen %d for type %qT\"", "0"], "File": "aarch64", "Func": "aarch64_simd_clone_compute_vecsize_and_simdlen", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21248, "Length": 417, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "nds32_check_constant_argument", "(", "enum", "insn_code", "icode", ",", "int", "opnum", ",", "rtx", "opval", ",", "const", "char", "*", "name", ")", "{", "if", "(", "GET_CODE", "(", "opval", ")", "!=", "CONST_INT", ")", "{", "error", "(", "\"invalid argument to built-in function %s\"", ",", "name", ")", ";", "return", "false", ";", "}", "if", "(", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "opnum", "]", ".", "predicate", ")", "(", "opval", ",", "VOIDmode", ")", ")", "{", "error", "(", "\"constant argument out of range for %s\"", ",", "name", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OPVAL", "can", "be", "used", "for", "operand", "OPNUM", "of", "instruction", "ICODE", ".", "The", "instruction", "should", "require", "a", "constant", "operand", "of", "some", "sort", ".", "The", "function", "prints", "an", "error", "if", "OPVAL", "is", "not", "valid", "."], "TS_V_token": ["nds32", "\"invalid argument to built-in function %s\"", "\"constant argument out of range for %s\""], "File": "nds32-intrinsic", "Func": "nds32_check_constant_argument", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21249, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "uint64_t", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "unsigned", "MatchResult", ";", "unsigned", "Dialect", "=", "getMAIAssemblerDialect", "(", ")", ";", "FeatureBitset", "MissingFeatures", ";", "MatchResult", "=", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MissingFeatures", ",", "MatchingInlineAsm", ",", "Dialect", ")", ";", "switch", "(", "MatchResult", ")", "{", "case", "Match_Success", ":", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "Out", ".", "emitInstruction", "(", "Inst", ",", "getSTI", "(", ")", ")", ";", "return", "false", ";", "case", "Match_MissingFeature", ":", "{", "assert", "(", "MissingFeatures", ".", "any", "(", ")", "&&", "\"Unknown missing feature!\"", ")", ";", "std", "::", "string", "Msg", "=", "\"instruction requires:\"", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "MissingFeatures", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "MissingFeatures", "[", "I", "]", ")", "{", "Msg", "+=", "\" \"", ";", "Msg", "+=", "getSubtargetFeatureName", "(", "I", ")", ";", "}", "}", "return", "Error", "(", "IDLoc", ",", "Msg", ")", ";", "}", "case", "Match_InvalidOperand", ":", "{", "SMLoc", "ErrorLoc", "=", "IDLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "0ULL", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "IDLoc", ",", "\"too few operands for instruction\"", ")", ";", "ErrorLoc", "=", "(", "(", "SystemZOperand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "\"invalid operand for instruction\"", ")", ";", "}", "case", "Match_MnemonicFail", ":", "{", "FeatureBitset", "FBS", "=", "ComputeAvailableFeatures", "(", "getSTI", "(", ")", ".", "getFeatureBits", "(", ")", ")", ";", "std", "::", "string", "Suggestion", "=", "SystemZMnemonicSpellCheck", "(", "(", "(", "SystemZOperand", "&", ")", "*", "Operands", "[", "0", "]", ")", ".", "getToken", "(", ")", ",", "FBS", ",", "Dialect", ")", ";", "return", "Error", "(", "IDLoc", ",", "\"invalid instruction\"", "+", "Suggestion", ",", "(", "(", "SystemZOperand", "&", ")", "*", "Operands", "[", "0", "]", ")", ".", "getLocRange", "(", ")", ")", ";", "}", "}", "llvm_unreachable", "(", "\"Unexpected match type\"", ")", ";", "}", ""], "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": ["SystemZ", "SystemZ", "\"Unknown missing feature!\"", "\"instruction requires:\"", "0", "\" \"", "0ULL", "\"too few operands for instruction\"", "SystemZ", "\"invalid operand for instruction\"", "SystemZ", "SystemZ", "0", "\"invalid instruction\"", "SystemZ", "0", "\"Unexpected match type\""], "File": "SystemZAsmParser1", "Func": "MatchAndEmitInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21250, "Length": 320, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "MipsSubtarget", "*", "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": ["Mips", "Mips"], "File": "MipsTargetMachine", "Func": "getSubtargetImpl", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21251, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "shouldFoldConstantShiftPairToMask", "(", "const", "SDNode", "*", "N", ",", "CombineLevel", "Level", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "isThumb1Only", "(", ")", ")", "return", "true", ";", "if", "(", "Level", "==", "BeforeLegalizeTypes", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "profitable", "to", "fold", "a", "pair", "of", "shifts", "into", "a", "mask", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMISelLowering (2)5", "Func": "shouldFoldConstantShiftPairToMask", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21252, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "safe_vector_operand", "(", "rtx", "x", ",", "enum", "machine_mode", "mode", ")", "{", "if", "(", "x", "!=", "const0_rtx", ")", "return", "x", ";", "x", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_iwmmxt_clrdi", "(", "mode", "==", "DImode", "?", "x", ":", "gen_rtx_SUBREG", "(", "DImode", ",", "x", ",", "0", ")", ")", ")", ";", "return", "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": ["arm", "0"], "File": "arm3", "Func": "safe_vector_operand", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21253, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "LLT", "AArch64TargetLowering", "::", "getOptimalMemOpLLT", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "IsMemset", ",", "bool", "ZeroMemset", ",", "bool", "MemcpyStrSrc", ",", "const", "AttributeList", "&", "FuncAttributes", ")", "const", "{", "bool", "CanImplicitFloat", "=", "!", "FuncAttributes", ".", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ";", "bool", "CanUseNEON", "=", "Subtarget", "->", "hasNEON", "(", ")", "&&", "CanImplicitFloat", ";", "bool", "CanUseFP", "=", "Subtarget", "->", "hasFPARMv8", "(", ")", "&&", "CanImplicitFloat", ";", "bool", "IsSmallMemset", "=", "IsMemset", "&&", "Size", "<", "32", ";", "auto", "AlignmentIsAcceptable", "=", "[", "&", "]", "(", "EVT", "VT", ",", "unsigned", "AlignCheck", ")", "{", "if", "(", "memOpAlign", "(", "SrcAlign", ",", "DstAlign", ",", "AlignCheck", ")", ")", "return", "true", ";", "bool", "Fast", ";", "return", "allowsMisalignedMemoryAccesses", "(", "VT", ",", "0", ",", "1", ",", "MachineMemOperand", "::", "MONone", ",", "&", "Fast", ")", "&&", "Fast", ";", "}", ";", "if", "(", "CanUseNEON", "&&", "IsMemset", "&&", "!", "IsSmallMemset", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "v2i64", ",", "16", ")", ")", "return", "LLT", "::", "vector", "(", "2", ",", "64", ")", ";", "if", "(", "CanUseFP", "&&", "!", "IsSmallMemset", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "f128", ",", "16", ")", ")", "return", "LLT", "::", "scalar", "(", "128", ")", ";", "if", "(", "Size", ">=", "8", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "i64", ",", "8", ")", ")", "return", "LLT", "::", "scalar", "(", "64", ")", ";", "if", "(", "Size", ">=", "4", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "i32", ",", "4", ")", ")", "return", "LLT", "::", "scalar", "(", "32", ")", ";", "return", "LLT", "(", ")", ";", "}", ""], "natrual_language": ["LLT", "returning", "variant", "."], "TS_V_token": ["AArch64", "AArch64", "32", "0", "1", "MVT::v2i64", "16", "2", "64", "MVT::f128", "16", "128", "8", "MVT::i64", "8", "64", "4", "MVT::i32", "4", "32"], "File": "AArch64ISelLowering (2)3", "Func": "getOptimalMemOpLLT", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21254, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMExpandPseudo", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "TargetMachine", "&", "TM", "=", "MF", ".", "getTarget", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "TM", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "TM", ".", "getRegisterInfo", "(", ")", ";", "STI", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "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", "ARM", "\"After expanding ARM pseudo instructions.\""], "File": "ARMExpandPseudoInsts", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21255, "Length": 126, "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": 21256, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCInstFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "llvm_unreachable", "(", "\"RelaxInstruction() is not implemented yet\"", ")", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["TOY", "\"RelaxInstruction() is not implemented yet\""], "File": "TOYAsmBackend", "Func": "fixupNeedsRelaxation", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21257, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_fdpic_local_funcdesc_p", "(", "rtx", "fnx", ")", "{", "tree", "fn", ";", "enum", "symbol_visibility", "vis", ";", "bool", "ret", ";", "if", "(", "!", "TARGET_FDPIC", ")", "return", "true", ";", "if", "(", "!", "SYMBOL_REF_LOCAL_P", "(", "fnx", ")", ")", "return", "false", ";", "fn", "=", "SYMBOL_REF_DECL", "(", "fnx", ")", ";", "if", "(", "!", "fn", ")", "return", "false", ";", "vis", "=", "DECL_VISIBILITY", "(", "fn", ")", ";", "if", "(", "vis", "==", "VISIBILITY_PROTECTED", ")", "DECL_VISIBILITY", "(", "fn", ")", "=", "VISIBILITY_DEFAULT", ";", "ret", "=", "default_binds_local_p_1", "(", "fn", ",", "flag_pic", ")", ";", "DECL_VISIBILITY", "(", "fn", ")", "=", "vis", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Test", "whether", "a", "local", "function", "descriptor", "is", "canonical", ",", "i.e.", ",", "whether", "we", "can", "use", "GOTOFFFUNCDESC", "to", "compute", "the", "address", "of", "the", "function", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_fdpic_local_funcdesc_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21258, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "loongarch_class_max_nregs", "(", "enum", "reg_class", "rclass", ",", "machine_mode", "mode", ")", "{", "int", "size", ";", "HARD_REG_SET", "left", ";", "size", "=", "0x8000", ";", "left", "=", "reg_class_contents", "[", "rclass", "]", ";", "if", "(", "hard_reg_set_intersect_p", "(", "left", ",", "reg_class_contents", "[", "(", "int", ")", "FCC_REGS", "]", ")", ")", "{", "if", "(", "loongarch_hard_regno_mode_ok", "(", "FCC_REG_FIRST", ",", "mode", ")", ")", "size", "=", "MIN", "(", "size", ",", "4", ")", ";", "left", "&=", "~", "reg_class_contents", "[", "FCC_REGS", "]", ";", "}", "if", "(", "hard_reg_set_intersect_p", "(", "left", ",", "reg_class_contents", "[", "(", "int", ")", "FP_REGS", "]", ")", ")", "{", "if", "(", "loongarch_hard_regno_mode_ok", "(", "FP_REG_FIRST", ",", "mode", ")", ")", "size", "=", "MIN", "(", "size", ",", "UNITS_PER_FPREG", ")", ";", "left", "&=", "~", "reg_class_contents", "[", "FP_REGS", "]", ";", "}", "if", "(", "!", "hard_reg_set_empty_p", "(", "left", ")", ")", "size", "=", "MIN", "(", "size", ",", "UNITS_PER_WORD", ")", ";", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "size", "-", "1", ")", "/", "size", ";", "}", ""], "natrual_language": ["Implement", "CLASS_MAX_NREGS", ",", "taking", "the", "maximum", "of", "the", "cases", "in", "loongarch_hard_regno_nregs", "."], "TS_V_token": ["loongarch", "0x8000", "4", "1"], "File": "loongarch", "Func": "loongarch_class_max_nregs", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21259, "Length": 146, "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": 21260, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_invalid_builtin", "(", "enum", "rs6000_builtins", "fncode", ")", "{", "size_t", "uns_fncode", "=", "(", "size_t", ")", "fncode", ";", "const", "char", "*", "name", "=", "rs6000_builtin_info", "[", "uns_fncode", "]", ".", "name", ";", "HOST_WIDE_INT", "fnmask", "=", "rs6000_builtin_info", "[", "uns_fncode", "]", ".", "mask", ";", "gcc_assert", "(", "name", "!=", "NULL", ")", ";", "if", "(", "(", "fnmask", "&", "RS6000_BTM_CELL", ")", "!=", "0", ")", "error", "(", "\"builtin function %qs is only valid for the cell processor\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_VSX", ")", "!=", "0", ")", "error", "(", "\"builtin function %qs requires the %qs option\"", ",", "name", ",", "\"-mvsx\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_HTM", ")", "!=", "0", ")", "error", "(", "\"builtin function %qs requires the %qs option\"", ",", "name", ",", "\"-mhtm\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_ALTIVEC", ")", "!=", "0", ")", "error", "(", "\"builtin function %qs requires the %qs option\"", ",", "name", ",", "\"-maltivec\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_PAIRED", ")", "!=", "0", ")", "error", "(", "\"builtin function %qs requires the %qs option\"", ",", "name", ",", "\"-mpaired\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "(", "RS6000_BTM_DFP", "|", "RS6000_BTM_P8_VECTOR", ")", ")", "==", "(", "RS6000_BTM_DFP", "|", "RS6000_BTM_P8_VECTOR", ")", ")", "error", "(", "\"builtin function %qs requires the %qs and %qs options\"", ",", "name", ",", "\"-mhard-dfp\"", ",", "\"-mpower8-vector\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_DFP", ")", "!=", "0", ")", "error", "(", "\"builtin function %qs requires the %qs option\"", ",", "name", ",", "\"-mhard-dfp\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_P8_VECTOR", ")", "!=", "0", ")", "error", "(", "\"builtin function %qs requires the %qs option\"", ",", "name", ",", "\"-mpower8-vector\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "(", "RS6000_BTM_P9_VECTOR", "|", "RS6000_BTM_64BIT", ")", ")", "==", "(", "RS6000_BTM_P9_VECTOR", "|", "RS6000_BTM_64BIT", ")", ")", "error", "(", "\"builtin function %qs requires the %qs and %qs options\"", ",", "name", ",", "\"-mcpu=power9\"", ",", "\"-m64\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_P9_VECTOR", ")", "!=", "0", ")", "error", "(", "\"builtin function %qs requires the %qs option\"", ",", "name", ",", "\"-mcpu=power9\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "(", "RS6000_BTM_P9_MISC", "|", "RS6000_BTM_64BIT", ")", ")", "==", "(", "RS6000_BTM_P9_MISC", "|", "RS6000_BTM_64BIT", ")", ")", "error", "(", "\"builtin function %qs requires the %qs and %qs options\"", ",", "name", ",", "\"-mcpu=power9\"", ",", "\"-m64\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_P9_MISC", ")", "==", "RS6000_BTM_P9_MISC", ")", "error", "(", "\"builtin function %qs requires the %qs option\"", ",", "name", ",", "\"-mcpu=power9\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "(", "RS6000_BTM_HARD_FLOAT", "|", "RS6000_BTM_LDBL128", ")", ")", "==", "(", "RS6000_BTM_HARD_FLOAT", "|", "RS6000_BTM_LDBL128", ")", ")", "error", "(", "\"builtin function %qs requires the %qs and %qs options\"", ",", "name", ",", "\"-mhard-float\"", ",", "\"-mlong-double-128\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_HARD_FLOAT", ")", "!=", "0", ")", "error", "(", "\"builtin function %qs requires the %qs option\"", ",", "name", ",", "\"-mhard-float\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_FLOAT128_HW", ")", "!=", "0", ")", "error", "(", "\"builtin function %qs requires ISA 3.0 IEEE 128-bit floating point\"", ",", "name", ")", ";", "else", "if", "(", "(", "fnmask", "&", "RS6000_BTM_FLOAT128", ")", "!=", "0", ")", "error", "(", "\"builtin function %qs requires the %qs option\"", ",", "name", ",", "\"-mfloat128\"", ")", ";", "else", "if", "(", "(", "fnmask", "&", "(", "RS6000_BTM_POPCNTD", "|", "RS6000_BTM_POWERPC64", ")", ")", "==", "(", "RS6000_BTM_POPCNTD", "|", "RS6000_BTM_POWERPC64", ")", ")", "error", "(", "\"builtin function %qs requires the %qs (or newer), and \"", "\"%qs or %qs options\"", ",", "name", ",", "\"-mcpu=power7\"", ",", "\"-m64\"", ",", "\"-mpowerpc64\"", ")", ";", "else", "error", "(", "\"builtin function %qs is not supported with the current options\"", ",", "name", ")", ";", "}", ""], "natrual_language": ["Raise", "an", "error", "message", "for", "a", "builtin", "function", "that", "is", "called", "without", "the", "appropriate", "target", "options", "being", "set", "."], "TS_V_token": ["rs6000", "0", "\"builtin function %qs is only valid for the cell processor\"", "0", "\"builtin function %qs requires the %qs option\"", "\"-mvsx\"", "0", "\"builtin function %qs requires the %qs option\"", "\"-mhtm\"", "0", "\"builtin function %qs requires the %qs option\"", "\"-maltivec\"", "0", "\"builtin function %qs requires the %qs option\"", "\"-mpaired\"", "\"builtin function %qs requires the %qs and %qs options\"", "\"-mhard-dfp\"", "\"-mpower8-vector\"", "0", "\"builtin function %qs requires the %qs option\"", "\"-mhard-dfp\"", "0", "\"builtin function %qs requires the %qs option\"", "\"-mpower8-vector\"", "\"builtin function %qs requires the %qs and %qs options\"", "\"-mcpu=power9\"", "\"-m64\"", "0", "\"builtin function %qs requires the %qs option\"", "\"-mcpu=power9\"", "\"builtin function %qs requires the %qs and %qs options\"", "\"-mcpu=power9\"", "\"-m64\"", "\"builtin function %qs requires the %qs option\"", "\"-mcpu=power9\"", "\"builtin function %qs requires the %qs and %qs options\"", "\"-mhard-float\"", "\"-mlong-double-128\"", "0", "\"builtin function %qs requires the %qs option\"", "\"-mhard-float\"", "0", "\"builtin function %qs requires ISA 3.0 IEEE 128-bit floating point\"", "0", "\"builtin function %qs requires the %qs option\"", "\"-mfloat128\"", "\"builtin function %qs requires the %qs (or newer), and \"", "\"%qs or %qs options\"", "\"-mcpu=power7\"", "\"-m64\"", "\"-mpowerpc64\"", "\"builtin function %qs is not supported with the current options\""], "File": "rs60007", "Func": "rs6000_invalid_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21261, "Length": 443, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_do_expand_vec_perm", "(", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ",", "machine_mode", "vmode", ",", "unsigned", "nelt", ",", "rtx", "perm", "[", "]", ")", "{", "machine_mode", "imode", ";", "rtx", "x", ";", "imode", "=", "vmode", ";", "if", "(", "GET_MODE_CLASS", "(", "vmode", ")", "!=", "MODE_VECTOR_INT", ")", "{", "imode", "=", "GET_MODE_INNER", "(", "vmode", ")", ";", "imode", "=", "mode_for_size", "(", "GET_MODE_BITSIZE", "(", "imode", ")", ",", "MODE_INT", ",", "0", ")", ";", "imode", "=", "mode_for_vector", "(", "imode", ",", "nelt", ")", ";", "}", "x", "=", "gen_rtx_CONST_VECTOR", "(", "imode", ",", "gen_rtvec_v", "(", "nelt", ",", "perm", ")", ")", ";", "x", "=", "expand_vec_perm", "(", "vmode", ",", "op0", ",", "op1", ",", "x", ",", "target", ")", ";", "if", "(", "x", "!=", "target", ")", "emit_move_insn", "(", "target", ",", "x", ")", ";", "}", ""], "natrual_language": ["A", "subroutine", "for", "rs6000_expand_extract_even", "&", "rs6000_expand_interleave", "."], "TS_V_token": ["rs6000", "0"], "File": "rs60004", "Func": "rs6000_do_expand_vec_perm", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21262, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "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": "ARMTargetTransformInfo1", "Func": "getIntImmCost", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21263, "Length": 238, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "is_naked_func", "(", "const_tree", "decl", ")", "{", "return", "has_func_attr", "(", "decl", ",", "\"naked\"", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "provided", "function", "has", "the", "``", "naked", "''", "attribute", "."], "TS_V_token": ["rx", "\"naked\""], "File": "rx", "Func": "is_naked_func", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21264, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isDesirableToCommuteWithShift", "(", "const", "SDNode", "*", "N", ",", "CombineLevel", "Level", ")", "const", "{", "if", "(", "Level", "==", "BeforeLegalizeTypes", ")", "return", "true", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "SHL", ")", "return", "true", ";", "if", "(", "Subtarget", "->", "isThumb1Only", "(", ")", ")", "{", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "SHL", ")", "return", "true", ";", "SDValue", "N1", "=", "N", "->", "getOperand", "(", "0", ")", ";", "if", "(", "N1", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "ADD", "&&", "N1", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "AND", "&&", "N1", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "OR", "&&", "N1", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "XOR", ")", "return", "true", ";", "if", "(", "auto", "*", "Const", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "N1", "->", "getOperand", "(", "1", ")", ")", ")", "{", "if", "(", "Const", "->", "getAPIntValue", "(", ")", ".", "ult", "(", "256", ")", ")", "return", "false", ";", "if", "(", "N1", "->", "getOpcode", "(", ")", "==", "ISD", "::", "ADD", "&&", "Const", "->", "getAPIntValue", "(", ")", ".", "slt", "(", "0", ")", "&&", "Const", "->", "getAPIntValue", "(", ")", ".", "sgt", "(", "-", "256", ")", ")", "return", "false", ";", "}", "return", "true", ";", "}", "return", "false", ";", "}", ""], "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": ["ARM", "ARM", "ISD::SHL", "ISD::SHL", "0", "ISD::ADD", "ISD::AND", "ISD::OR", "ISD::XOR", "1", "256", "ISD::ADD", "0", "256"], "File": "ARMISelLowering (2)5", "Func": "isDesirableToCommuteWithShift", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21265, "Length": 201, "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", "(", "useNeonVector", "(", "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": "AArch64TargetTransformInfo25", "Func": "getGatherScatterOpCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21266, "Length": 183, "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": 21267, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsPassConfig", "::", "addPreEmitPass", "(", ")", "{", "MipsTargetMachine", "&", "TM", "=", "getMipsTargetMachine", "(", ")", ";", "addPass", "(", "createMipsDelaySlotFillerPass", "(", "TM", ")", ")", ";", "if", "(", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "hasStandardEncoding", "(", ")", ")", "addPass", "(", "createMipsLongBranchPass", "(", "TM", ")", ")", ";", "if", "(", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "inMips16Mode", "(", ")", ")", "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": "MipsTargetMachine80", "Func": "addPreEmitPass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21268, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "i386_pe_seh_init", "(", "FILE", "*", "f", ")", "{", "struct", "seh_frame_state", "*", "seh", ";", "if", "(", "!", "TARGET_SEH", ")", "return", ";", "if", "(", "cfun", "->", "is_thunk", ")", "return", ";", "gcc_assert", "(", "!", "stack_realign_drap", ")", ";", "seh", "=", "XCNEW", "(", "struct", "seh_frame_state", ")", ";", "cfun", "->", "machine", "->", "seh", "=", "seh", ";", "seh", "->", "sp_offset", "=", "INCOMING_FRAME_SP_OFFSET", ";", "seh", "->", "cfa_offset", "=", "INCOMING_FRAME_SP_OFFSET", ";", "seh", "->", "cfa_reg", "=", "stack_pointer_rtx", ";", "fputs", "(", "\"\\t.seh_proc\\t\"", ",", "f", ")", ";", "assemble_name", "(", "f", ",", "IDENTIFIER_POINTER", "(", "DECL_ASSEMBLER_NAME", "(", "cfun", "->", "decl", ")", ")", ")", ";", "fputc", "(", "'\\n'", ",", "f", ")", ";", "}", ""], "natrual_language": ["Set", "up", "data", "structures", "beginning", "output", "for", "SEH", "."], "TS_V_token": ["i386", "\"\\t.seh_proc\\t\""], "File": "winnt", "Func": "i386_pe_seh_init", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21269, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_va_start", "(", "tree", "valist", ",", "rtx", "nextarg", ")", "{", "HOST_WIDE_INT", "words", ",", "n_gpr", ",", "n_fpr", ";", "tree", "f_gpr", ",", "f_fpr", ",", "f_res", ",", "f_ovf", ",", "f_sav", ";", "tree", "gpr", ",", "fpr", ",", "ovf", ",", "sav", ",", "t", ";", "if", "(", "DEFAULT_ABI", "!=", "ABI_V4", ")", "{", "std_expand_builtin_va_start", "(", "valist", ",", "nextarg", ")", ";", "return", ";", "}", "f_gpr", "=", "TYPE_FIELDS", "(", "TREE_TYPE", "(", "va_list_type_node", ")", ")", ";", "f_fpr", "=", "TREE_CHAIN", "(", "f_gpr", ")", ";", "f_res", "=", "TREE_CHAIN", "(", "f_fpr", ")", ";", "f_ovf", "=", "TREE_CHAIN", "(", "f_res", ")", ";", "f_sav", "=", "TREE_CHAIN", "(", "f_ovf", ")", ";", "valist", "=", "build_va_arg_indirect_ref", "(", "valist", ")", ";", "gpr", "=", "build", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_gpr", ")", ",", "valist", ",", "f_gpr", ",", "NULL_TREE", ")", ";", "fpr", "=", "build", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_fpr", ")", ",", "valist", ",", "f_fpr", ",", "NULL_TREE", ")", ";", "ovf", "=", "build", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_ovf", ")", ",", "valist", ",", "f_ovf", ",", "NULL_TREE", ")", ";", "sav", "=", "build", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_sav", ")", ",", "valist", ",", "f_sav", ",", "NULL_TREE", ")", ";", "words", "=", "current_function_args_info", ".", "words", ";", "n_gpr", "=", "MIN", "(", "current_function_args_info", ".", "sysv_gregno", "-", "GP_ARG_MIN_REG", ",", "GP_ARG_NUM_REG", ")", ";", "n_fpr", "=", "MIN", "(", "current_function_args_info", ".", "fregno", "-", "FP_ARG_MIN_REG", ",", "FP_ARG_NUM_REG", ")", ";", "if", "(", "TARGET_DEBUG_ARG", ")", "fprintf", "(", "stderr", ",", "\"va_start: words = \"", "HOST_WIDE_INT_PRINT_DEC", "\", n_gpr = \"", "HOST_WIDE_INT_PRINT_DEC", "\", n_fpr = \"", "HOST_WIDE_INT_PRINT_DEC", "\"\\n\"", ",", "words", ",", "n_gpr", ",", "n_fpr", ")", ";", "if", "(", "cfun", "->", "va_list_gpr_size", ")", "{", "t", "=", "build", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "gpr", ")", ",", "gpr", ",", "build_int_cst", "(", "NULL_TREE", ",", "n_gpr", ")", ")", ";", "TREE_SIDE_EFFECTS", "(", "t", ")", "=", "1", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "}", "if", "(", "cfun", "->", "va_list_fpr_size", ")", "{", "t", "=", "build", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "fpr", ")", ",", "fpr", ",", "build_int_cst", "(", "NULL_TREE", ",", "n_fpr", ")", ")", ";", "TREE_SIDE_EFFECTS", "(", "t", ")", "=", "1", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "}", "t", "=", "make_tree", "(", "TREE_TYPE", "(", "ovf", ")", ",", "virtual_incoming_args_rtx", ")", ";", "if", "(", "words", "!=", "0", ")", "t", "=", "build", "(", "PLUS_EXPR", ",", "TREE_TYPE", "(", "ovf", ")", ",", "t", ",", "build_int_cst", "(", "NULL_TREE", ",", "words", "*", "UNITS_PER_WORD", ")", ")", ";", "t", "=", "build", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "ovf", ")", ",", "ovf", ",", "t", ")", ";", "TREE_SIDE_EFFECTS", "(", "t", ")", "=", "1", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "if", "(", "!", "cfun", "->", "va_list_gpr_size", "&&", "!", "cfun", "->", "va_list_fpr_size", "&&", "n_gpr", "<", "GP_ARG_NUM_REG", "&&", "n_fpr", "<", "FP_ARG_V4_MAX_REG", ")", "return", ";", "t", "=", "make_tree", "(", "TREE_TYPE", "(", "sav", ")", ",", "virtual_stack_vars_rtx", ")", ";", "if", "(", "cfun", "->", "machine", "->", "varargs_save_offset", ")", "t", "=", "build", "(", "PLUS_EXPR", ",", "TREE_TYPE", "(", "sav", ")", ",", "t", ",", "build_int_cst", "(", "NULL_TREE", ",", "cfun", "->", "machine", "->", "varargs_save_offset", ")", ")", ";", "t", "=", "build", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "sav", ")", ",", "sav", ",", "t", ")", ";", "TREE_SIDE_EFFECTS", "(", "t", ")", "=", "1", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "}", ""], "natrual_language": ["Implement", "va_start", "."], "TS_V_token": ["rs6000", "\"va_start: words = \"", "\", n_gpr = \"", "\", n_fpr = \"", "\"\\n\"", "1", "1", "0", "1", "1"], "File": "rs60003", "Func": "rs6000_va_start", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21270, "Length": 499, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_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": ["aarch64"], "File": "aarch64", "Func": "aarch64_emit_move", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21271, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emit_fusion_load_store", "(", "rtx", "load_store_reg", ",", "rtx", "addis_reg", ",", "rtx", "offset", ",", "const", "char", "*", "insn_str", ")", "{", "rtx", "fuse_ops", "[", "10", "]", ";", "char", "insn_template", "[", "80", "]", ";", "fuse_ops", "[", "0", "]", "=", "load_store_reg", ";", "fuse_ops", "[", "1", "]", "=", "addis_reg", ";", "if", "(", "CONST_INT_P", "(", "offset", ")", "&&", "satisfies_constraint_I", "(", "offset", ")", ")", "{", "sprintf", "(", "insn_template", ",", "\"%s %%0,%%2(%%1)\"", ",", "insn_str", ")", ";", "fuse_ops", "[", "2", "]", "=", "offset", ";", "output_asm_insn", "(", "insn_template", ",", "fuse_ops", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "offset", ")", "==", "UNSPEC", "&&", "XINT", "(", "offset", ",", "1", ")", "==", "UNSPEC_TOCREL", ")", "{", "if", "(", "TARGET_ELF", ")", "sprintf", "(", "insn_template", ",", "\"%s %%0,%%2@toc@l(%%1)\"", ",", "insn_str", ")", ";", "else", "if", "(", "TARGET_XCOFF", ")", "sprintf", "(", "insn_template", ",", "\"%s %%0,%%2@l(%%1)\"", ",", "insn_str", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "fuse_ops", "[", "2", "]", "=", "XVECEXP", "(", "offset", ",", "0", ",", "0", ")", ";", "output_asm_insn", "(", "insn_template", ",", "fuse_ops", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "offset", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "offset", ",", "0", ")", ")", "==", "UNSPEC", "&&", "XINT", "(", "XEXP", "(", "offset", ",", "0", ")", ",", "1", ")", "==", "UNSPEC_TOCREL", "&&", "CONST_INT_P", "(", "XEXP", "(", "offset", ",", "1", ")", ")", ")", "{", "rtx", "tocrel_unspec", "=", "XEXP", "(", "offset", ",", "0", ")", ";", "if", "(", "TARGET_ELF", ")", "sprintf", "(", "insn_template", ",", "\"%s %%0,%%2+%%3@toc@l(%%1)\"", ",", "insn_str", ")", ";", "else", "if", "(", "TARGET_XCOFF", ")", "sprintf", "(", "insn_template", ",", "\"%s %%0,%%2+%%3@l(%%1)\"", ",", "insn_str", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "fuse_ops", "[", "2", "]", "=", "XVECEXP", "(", "tocrel_unspec", ",", "0", ",", "0", ")", ";", "fuse_ops", "[", "3", "]", "=", "XEXP", "(", "offset", ",", "1", ")", ";", "output_asm_insn", "(", "insn_template", ",", "fuse_ops", ")", ";", "}", "else", "if", "(", "TARGET_ELF", "&&", "!", "TARGET_POWERPC64", "&&", "CONSTANT_P", "(", "offset", ")", ")", "{", "sprintf", "(", "insn_template", ",", "\"%s %%0,%%2@l(%%1)\"", ",", "insn_str", ")", ";", "fuse_ops", "[", "2", "]", "=", "offset", ";", "output_asm_insn", "(", "insn_template", ",", "fuse_ops", ")", ";", "}", "else", "fatal_insn", "(", "\"Unable to generate load/store offset for fusion\"", ",", "offset", ")", ";", "return", ";", "}", ""], "natrual_language": ["Emit", "a", "D-form", "load", "or", "store", "instruction", "that", "is", "the", "second", "instruction", "of", "a", "fusion", "sequence", "."], "TS_V_token": ["powerpcspe", "10", "80", "0", "1", "\"%s %%0,%%2(%%1)\"", "2", "1", "\"%s %%0,%%2@toc@l(%%1)\"", "\"%s %%0,%%2@l(%%1)\"", "2", "0", "0", "0", "0", "1", "1", "0", "\"%s %%0,%%2+%%3@toc@l(%%1)\"", "\"%s %%0,%%2+%%3@l(%%1)\"", "2", "0", "0", "3", "1", "\"%s %%0,%%2@l(%%1)\"", "2", "\"Unable to generate load/store offset for fusion\""], "File": "powerpcspe", "Func": "emit_fusion_load_store", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21272, "Length": 327, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CSKYInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "Register", "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", "(", ")", ";", "CSKYMachineFunctionInfo", "*", "CFI", "=", "MF", ".", "getInfo", "<", "CSKYMachineFunctionInfo", ">", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "Opcode", "=", "0", ";", "if", "(", "CSKY", "::", "GPRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "Opcode", "=", "CSKY", "::", "ST32W", ";", "}", "else", "if", "(", "CSKY", "::", "CARRYRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "Opcode", "=", "CSKY", "::", "SPILL_CARRY", ";", "CFI", "->", "setSpillsCR", "(", ")", ";", "}", "else", "{", "llvm_unreachable", "(", "\"Unknown RegisterClass\"", ")", ";", "}", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlign", "(", "FI", ")", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opcode", ")", ")", ".", "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": ["CSKY", "CSKY", "CSKY", "CSKY", "0", "CSKY::GPRRegClass", "CSKY::ST32W", "CSKY::CARRYRegClass", "CSKY::SPILL_CARRY", "\"Unknown RegisterClass\"", "0"], "File": "CSKYInstrInfo4", "Func": "storeRegToStackSlot", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21273, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addPreISel", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createGlobalMergePass", "(", "TM", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["ARM", "ARM"], "File": "ARMTargetMachine25", "Func": "addPreISel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21274, "Length": 31, "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": ["ARM"], "File": "ARMMCExpr", "Func": "classof", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21275, "Length": 22, "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": 21276, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mmix_function_arg_1", "(", "const", "cumulative_args_t", "argsp_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ",", "bool", "incoming", ")", "{", "CUMULATIVE_ARGS", "*", "argsp", "=", "get_cumulative_args", "(", "argsp_v", ")", ";", "if", "(", "type", "==", "void_type_node", ")", "return", "(", "argsp", "->", "regs", "<", "MMIX_MAX_ARGS_IN_REGS", ")", "?", "gen_rtx_REG", "(", "mode", ",", "(", "incoming", "?", "MMIX_FIRST_INCOMING_ARG_REGNUM", ":", "MMIX_FIRST_ARG_REGNUM", ")", "+", "argsp", "->", "regs", ")", ":", "NULL_RTX", ";", "return", "(", "argsp", "->", "regs", "<", "MMIX_MAX_ARGS_IN_REGS", "&&", "!", "targetm", ".", "calls", ".", "must_pass_in_stack", "(", "mode", ",", "type", ")", "&&", "(", "GET_MODE_BITSIZE", "(", "mode", ")", "<=", "64", "||", "argsp", "->", "lib", "||", "TARGET_LIBFUNC", ")", ")", "?", "gen_rtx_REG", "(", "mode", ",", "(", "incoming", "?", "MMIX_FIRST_INCOMING_ARG_REGNUM", ":", "MMIX_FIRST_ARG_REGNUM", ")", "+", "argsp", "->", "regs", ")", ":", "NULL_RTX", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "mmix_function_arg", "and", "mmix_function_incoming_arg", "."], "TS_V_token": ["mmix", "64"], "File": "mmix4", "Func": "mmix_function_arg_1", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21277, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmBackend", "::", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "OW", "->", "WriteZeros", "(", "Count", "%", "4", ")", ";", "Count", "/=", "4", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "!=", "Count", ";", "++", "i", ")", "OW", "->", "write32", "(", "0xd503201f", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["AArch64", "AArch64", "4", "4", "0", "0xd503201f"], "File": "AArch64AsmBackend (2)", "Func": "writeNopData", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21278, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isFpOrNEON", "(", "const", "MachineInstr", "&", "MI", ")", "{", "auto", "IsFPR", "=", "[", "&", "]", "(", "const", "MachineOperand", "&", "Op", ")", "{", "if", "(", "!", "Op", ".", "isReg", "(", ")", ")", "return", "false", ";", "auto", "Reg", "=", "Op", ".", "getReg", "(", ")", ";", "if", "(", "Reg", ".", "isPhysical", "(", ")", ")", "return", "AArch64", "::", "FPR128RegClass", ".", "contains", "(", "Reg", ")", "||", "AArch64", "::", "FPR64RegClass", ".", "contains", "(", "Reg", ")", "||", "AArch64", "::", "FPR32RegClass", ".", "contains", "(", "Reg", ")", "||", "AArch64", "::", "FPR16RegClass", ".", "contains", "(", "Reg", ")", "||", "AArch64", "::", "FPR8RegClass", ".", "contains", "(", "Reg", ")", ";", "const", "TargetRegisterClass", "*", "TRC", "=", "::", "getRegClass", "(", "MI", ",", "Reg", ")", ";", "return", "TRC", "==", "&", "AArch64", "::", "FPR128RegClass", "||", "TRC", "==", "&", "AArch64", "::", "FPR128_loRegClass", "||", "TRC", "==", "&", "AArch64", "::", "FPR64RegClass", "||", "TRC", "==", "&", "AArch64", "::", "FPR64_loRegClass", "||", "TRC", "==", "&", "AArch64", "::", "FPR32RegClass", "||", "TRC", "==", "&", "AArch64", "::", "FPR16RegClass", "||", "TRC", "==", "&", "AArch64", "::", "FPR8RegClass", ";", "}", ";", "return", "llvm", "::", "any_of", "(", "MI", ".", "operands", "(", ")", ",", "IsFPR", ")", ";", "}", ""], "natrual_language": ["Returns", "whether", "the", "instruction", "is", "FP", "or", "NEON", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::FPR128RegClass", "AArch64::FPR64RegClass", "AArch64::FPR32RegClass", "AArch64::FPR16RegClass", "AArch64::FPR8RegClass", "AArch64::FPR128RegClass", "AArch64::FPR128_loRegClass", "AArch64::FPR64RegClass", "AArch64::FPR64_loRegClass", "AArch64::FPR32RegClass", "AArch64::FPR16RegClass", "AArch64::FPR8RegClass"], "File": "AArch64InstrInfo51", "Func": "isFpOrNEON", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21279, "Length": 179, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_secondary_reload_simple_move", "(", "enum", "rs6000_reg_type", "to_type", ",", "enum", "rs6000_reg_type", "from_type", ",", "machine_mode", "mode", ")", "{", "int", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "TARGET_DIRECT_MOVE", "&&", "(", "(", "to_type", "==", "GPR_REG_TYPE", "&&", "from_type", "==", "VSX_REG_TYPE", ")", "||", "(", "to_type", "==", "VSX_REG_TYPE", "&&", "from_type", "==", "GPR_REG_TYPE", ")", ")", ")", "{", "if", "(", "TARGET_POWERPC64", ")", "{", "if", "(", "size", "==", "8", ")", "return", "true", ";", "if", "(", "size", "==", "16", "&&", "TARGET_P9_VECTOR", "&&", "mode", "!=", "TDmode", ")", "return", "true", ";", "}", "if", "(", "TARGET_P8_VECTOR", ")", "{", "if", "(", "mode", "==", "SImode", ")", "return", "true", ";", "if", "(", "TARGET_P9_VECTOR", "&&", "(", "mode", "==", "HImode", "||", "mode", "==", "QImode", ")", ")", "return", "true", ";", "}", "if", "(", "mode", "==", "SDmode", ")", "return", "true", ";", "}", "else", "if", "(", "(", "size", "==", "4", "||", "(", "TARGET_POWERPC64", "&&", "size", "==", "8", ")", ")", "&&", "(", "(", "to_type", "==", "GPR_REG_TYPE", "&&", "from_type", "==", "SPR_REG_TYPE", ")", "||", "(", "to_type", "==", "SPR_REG_TYPE", "&&", "from_type", "==", "GPR_REG_TYPE", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "rs6000_secondary_reload", "to", "return", "true", "if", "a", "move", "to", "a", "different", "register", "classe", "is", "really", "a", "simple", "move", "."], "TS_V_token": ["rs6000", "8", "16", "4", "8"], "File": "rs6000", "Func": "rs6000_secondary_reload_simple_move", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21280, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "char", "*", "detect_caches_darwin", "(", "void", ")", "{", "unsigned", "l1_sizekb", ",", "l1_line", ",", "l1_assoc", ",", "l2_sizekb", ";", "size_t", "len", "=", "4", ";", "static", "int", "l1_size_name", "[", "2", "]", "=", "{", "CTL_HW", ",", "HW_L1DCACHESIZE", "}", ";", "static", "int", "l1_line_name", "[", "2", "]", "=", "{", "CTL_HW", ",", "HW_CACHELINE", "}", ";", "static", "int", "l2_size_name", "[", "2", "]", "=", "{", "CTL_HW", ",", "HW_L2CACHESIZE", "}", ";", "sysctl", "(", "l1_size_name", ",", "2", ",", "&", "l1_sizekb", ",", "&", "len", ",", "NULL", ",", "0", ")", ";", "sysctl", "(", "l1_line_name", ",", "2", ",", "&", "l1_line", ",", "&", "len", ",", "NULL", ",", "0", ")", ";", "sysctl", "(", "l2_size_name", ",", "2", ",", "&", "l2_sizekb", ",", "&", "len", ",", "NULL", ",", "0", ")", ";", "l1_assoc", "=", "0", ";", "return", "describe_cache", "(", "l1_sizekb", "/", "1024", ",", "l1_line", ",", "l1_assoc", ",", "l2_sizekb", "/", "1024", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "description", "of", "caches", "on", "Darwin", "."], "TS_V_token": ["powerpcspe", "4", "2", "2", "2", "2", "0", "2", "0", "2", "0", "0", "1024", "1024"], "File": "driver-powerpcspe", "Func": "detect_caches_darwin", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21281, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "HOST_WIDE_INT", "ix86_memmodel_check", "(", "unsigned", "HOST_WIDE_INT", "val", ")", "{", "unsigned", "HOST_WIDE_INT", "model", "=", "val", "&", "MEMMODEL_MASK", ";", "bool", "strong", ";", "if", "(", "val", "&", "~", "(", "unsigned", "HOST_WIDE_INT", ")", "(", "IX86_HLE_ACQUIRE", "|", "IX86_HLE_RELEASE", "|", "MEMMODEL_MASK", ")", "||", "(", "(", "val", "&", "IX86_HLE_ACQUIRE", ")", "&&", "(", "val", "&", "IX86_HLE_RELEASE", ")", ")", ")", "{", "warning", "(", "OPT_Winvalid_memory_model", ",", "\"Unknown architecture specific memory model\"", ")", ";", "return", "MEMMODEL_SEQ_CST", ";", "}", "strong", "=", "(", "model", "==", "MEMMODEL_ACQ_REL", "||", "model", "==", "MEMMODEL_SEQ_CST", ")", ";", "if", "(", "val", "&", "IX86_HLE_ACQUIRE", "&&", "!", "(", "model", "==", "MEMMODEL_ACQUIRE", "||", "strong", ")", ")", "{", "warning", "(", "OPT_Winvalid_memory_model", ",", "\"HLE_ACQUIRE not used with ACQUIRE or stronger memory model\"", ")", ";", "return", "MEMMODEL_SEQ_CST", "|", "IX86_HLE_ACQUIRE", ";", "}", "if", "(", "val", "&", "IX86_HLE_RELEASE", "&&", "!", "(", "model", "==", "MEMMODEL_RELEASE", "||", "strong", ")", ")", "{", "warning", "(", "OPT_Winvalid_memory_model", ",", "\"HLE_RELEASE not used with RELEASE or stronger memory model\"", ")", ";", "return", "MEMMODEL_SEQ_CST", "|", "IX86_HLE_RELEASE", ";", "}", "return", "val", ";", "}", ""], "natrual_language": ["Validate", "target", "specific", "memory", "model", "bits", "in", "VAL", "."], "TS_V_token": ["i386", "\"Unknown architecture specific memory model\"", "\"HLE_ACQUIRE not used with ACQUIRE or stronger memory model\"", "\"HLE_RELEASE not used with RELEASE or stronger memory model\""], "File": "i3864", "Func": "ix86_memmodel_check", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21282, "Length": 138, "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", "(", ")", ";", "Register", "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": "PPCRegisterInfo (2)3", "Func": "requiresFrameIndexScavenging", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21283, "Length": 338, "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": 21284, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "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", "==", "64", "&&", "DestBits", "==", "32", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "'s", "free", "to", "truncate", "a", "value", "of", "type", "Ty1", "to", "type", "Ty2", "."], "TS_V_token": ["ARM", "ARM", "64", "32"], "File": "ARMISelLowering (2)5", "Func": "isTruncateFree", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21285, "Length": 74, "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": 21286, "Length": 261, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "neon_expand_vector_init", "(", "rtx", "target", ",", "rtx", "vals", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "target", ")", ";", "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", ";", "rtx", "x", ",", "mem", ";", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n_elts", ";", "++", "i", ")", "{", "x", "=", "XVECEXP", "(", "vals", ",", "0", ",", "i", ")", ";", "if", "(", "!", "CONSTANT_P", "(", "x", ")", ")", "++", "n_var", ",", "one_var", "=", "i", ";", "if", "(", "i", ">", "0", "&&", "!", "rtx_equal_p", "(", "x", ",", "XVECEXP", "(", "vals", ",", "0", ",", "0", ")", ")", ")", "all_same", "=", "false", ";", "}", "if", "(", "n_var", "==", "0", ")", "{", "rtx", "constant", "=", "neon_make_constant", "(", "vals", ")", ";", "if", "(", "constant", "!=", "NULL_RTX", ")", "{", "emit_move_insn", "(", "target", ",", "constant", ")", ";", "return", ";", "}", "}", "if", "(", "all_same", "&&", "GET_MODE_SIZE", "(", "inner_mode", ")", "<=", "4", ")", "{", "x", "=", "copy_to_mode_reg", "(", "inner_mode", ",", "XVECEXP", "(", "vals", ",", "0", ",", "0", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "target", ",", "gen_vec_duplicate", "(", "mode", ",", "x", ")", ")", ")", ";", "return", ";", "}", "if", "(", "n_var", "==", "1", ")", "{", "rtx", "copy", "=", "copy_rtx", "(", "vals", ")", ";", "rtx", "merge_mask", "=", "GEN_INT", "(", "1", "<<", "one_var", ")", ";", "XVECEXP", "(", "copy", ",", "0", ",", "one_var", ")", "=", "XVECEXP", "(", "vals", ",", "0", ",", "(", "one_var", "+", "1", ")", "%", "n_elts", ")", ";", "neon_expand_vector_init", "(", "target", ",", "copy", ")", ";", "x", "=", "copy_to_mode_reg", "(", "inner_mode", ",", "XVECEXP", "(", "vals", ",", "0", ",", "one_var", ")", ")", ";", "emit_insn", "(", "gen_vec_set_internal", "(", "mode", ",", "target", ",", "x", ",", "merge_mask", ",", "target", ")", ")", ";", "return", ";", "}", "mem", "=", "assign_stack_temp", "(", "mode", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n_elts", ";", "i", "++", ")", "emit_move_insn", "(", "adjust_address_nv", "(", "mem", ",", "inner_mode", ",", "i", "*", "GET_MODE_SIZE", "(", "inner_mode", ")", ")", ",", "XVECEXP", "(", "vals", ",", "0", ",", "i", ")", ")", ";", "emit_move_insn", "(", "target", ",", "mem", ")", ";", "}", ""], "natrual_language": ["Initialize", "vector", "TARGET", "to", "VALS", "."], "TS_V_token": ["arm", "0", "1", "0", "0", "0", "0", "0", "0", "4", "0", "0", "1", "1", "0", "0", "1", "0", "0", "0"], "File": "arm", "Func": "neon_expand_vector_init", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21287, "Length": 352, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "X86TargetLowering", "::", "getRegisterTypeForCallingConv", "(", "LLVMContext", "&", "Context", ",", "CallingConv", "::", "ID", "CC", ",", "EVT", "VT", ")", "const", "{", "if", "(", "VT", "==", "MVT", "::", "v32i1", "&&", "Subtarget", ".", "hasAVX512", "(", ")", "&&", "!", "Subtarget", ".", "hasBWI", "(", ")", ")", "return", "MVT", "::", "v32i8", ";", "if", "(", "VT", ".", "isVector", "(", ")", "&&", "VT", ".", "getVectorElementType", "(", ")", "==", "MVT", "::", "i1", "&&", "Subtarget", ".", "hasAVX512", "(", ")", "&&", "(", "!", "isPowerOf2_32", "(", "VT", ".", "getVectorNumElements", "(", ")", ")", "||", "(", "VT", ".", "getVectorNumElements", "(", ")", ">", "16", "&&", "!", "Subtarget", ".", "hasBWI", "(", ")", ")", "||", "(", "VT", ".", "getVectorNumElements", "(", ")", ">", "64", "&&", "Subtarget", ".", "hasBWI", "(", ")", ")", ")", ")", "return", "MVT", "::", "i8", ";", "if", "(", "(", "VT", "==", "MVT", "::", "v32i16", "||", "VT", "==", "MVT", "::", "v64i8", ")", "&&", "!", "EnableOldKNLABI", "&&", "Subtarget", ".", "useAVX512Regs", "(", ")", "&&", "!", "Subtarget", ".", "hasBWI", "(", ")", ")", "return", "MVT", "::", "v16i32", ";", "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": ["X86", "X86", "MVT::v32i1", "MVT::v32i8", "MVT::i1", "16", "64", "MVT::i8", "MVT::v32i16", "MVT::v64i8", "MVT::v16i32"], "File": "X86ISelLowering195", "Func": "getRegisterTypeForCallingConv", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21288, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_emit_set_const64_longway", "(", "rtx", "op0", ",", "rtx", "temp", ",", "unsigned", "HOST_WIDE_INT", "high_bits", ",", "unsigned", "HOST_WIDE_INT", "low_bits", ")", "{", "rtx", "sub_temp", "=", "op0", ";", "if", "(", "can_create_pseudo_p", "(", ")", ")", "sub_temp", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "if", "(", "(", "high_bits", "&", "0xfffffc00", ")", "!=", "0", ")", "{", "emit_insn", "(", "gen_safe_HIGH64", "(", "temp", ",", "high_bits", ")", ")", ";", "if", "(", "(", "high_bits", "&", "~", "0xfffffc00", ")", "!=", "0", ")", "emit_insn", "(", "gen_rtx_SET", "(", "sub_temp", ",", "gen_safe_OR64", "(", "temp", ",", "(", "high_bits", "&", "0x3ff", ")", ")", ")", ")", ";", "else", "sub_temp", "=", "temp", ";", "}", "else", "{", "emit_insn", "(", "gen_safe_SET64", "(", "temp", ",", "high_bits", ")", ")", ";", "sub_temp", "=", "temp", ";", "}", "if", "(", "can_create_pseudo_p", "(", ")", ")", "{", "rtx", "temp2", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "rtx", "temp3", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "rtx", "temp4", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "temp4", ",", "gen_rtx_ASHIFT", "(", "DImode", ",", "sub_temp", ",", "GEN_INT", "(", "32", ")", ")", ")", ")", ";", "emit_insn", "(", "gen_safe_HIGH64", "(", "temp2", ",", "low_bits", ")", ")", ";", "if", "(", "(", "low_bits", "&", "~", "0xfffffc00", ")", "!=", "0", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "temp3", ",", "gen_safe_OR64", "(", "temp2", ",", "(", "low_bits", "&", "0x3ff", ")", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "op0", ",", "gen_rtx_PLUS", "(", "DImode", ",", "temp4", ",", "temp3", ")", ")", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_rtx_SET", "(", "op0", ",", "gen_rtx_PLUS", "(", "DImode", ",", "temp4", ",", "temp2", ")", ")", ")", ";", "}", "}", "else", "{", "rtx", "low1", "=", "GEN_INT", "(", "(", "low_bits", ">>", "(", "32", "-", "12", ")", ")", "&", "0xfff", ")", ";", "rtx", "low2", "=", "GEN_INT", "(", "(", "low_bits", ">>", "(", "32", "-", "12", "-", "12", ")", ")", "&", "0xfff", ")", ";", "rtx", "low3", "=", "GEN_INT", "(", "(", "low_bits", ">>", "(", "32", "-", "12", "-", "12", "-", "8", ")", ")", "&", "0x0ff", ")", ";", "int", "to_shift", "=", "12", ";", "if", "(", "low1", "!=", "const0_rtx", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "op0", ",", "gen_rtx_ASHIFT", "(", "DImode", ",", "sub_temp", ",", "GEN_INT", "(", "to_shift", ")", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "op0", ",", "gen_rtx_IOR", "(", "DImode", ",", "op0", ",", "low1", ")", ")", ")", ";", "sub_temp", "=", "op0", ";", "to_shift", "=", "12", ";", "}", "else", "{", "to_shift", "+=", "12", ";", "}", "if", "(", "low2", "!=", "const0_rtx", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "op0", ",", "gen_rtx_ASHIFT", "(", "DImode", ",", "sub_temp", ",", "GEN_INT", "(", "to_shift", ")", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "op0", ",", "gen_rtx_IOR", "(", "DImode", ",", "op0", ",", "low2", ")", ")", ")", ";", "sub_temp", "=", "op0", ";", "to_shift", "=", "8", ";", "}", "else", "{", "to_shift", "+=", "8", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "op0", ",", "gen_rtx_ASHIFT", "(", "DImode", ",", "sub_temp", ",", "GEN_INT", "(", "to_shift", ")", ")", ")", ")", ";", "if", "(", "low3", "!=", "const0_rtx", ")", "emit_insn", "(", "gen_rtx_SET", "(", "op0", ",", "gen_rtx_IOR", "(", "DImode", ",", "op0", ",", "low3", ")", ")", ")", ";", "}", "}", ""], "natrual_language": ["Full", "64-bit", "constant", "decomposition", ".", "Even", "though", "this", "is", "the", "'worst", "'", "case", ",", "we", "still", "optimize", "a", "few", "things", "away", "."], "TS_V_token": ["sparc", "0xfffffc00", "0", "0xfffffc00", "0", "0x3ff", "32", "0xfffffc00", "0", "0x3ff", "32", "12", "0xfff", "32", "12", "12", "0xfff", "32", "12", "12", "8", "0x0ff", "12", "12", "12", "8", "8"], "File": "sparc", "Func": "sparc_emit_set_const64_longway", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21289, "Length": 474, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsMCExpr", "*", "MipsMCExpr", "::", "create", "(", "MipsMCExpr", "::", "MipsExprKind", "Kind", ",", "const", "MCExpr", "*", "Expr", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "MipsMCExpr", "(", "Kind", ",", "Expr", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsMCExpr", "Func": "create", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21290, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "getARMSubtarget", "(", ")", ".", "isThumb2", "(", ")", ")", "{", "if", "(", "!", "getARMSubtarget", "(", ")", ".", "prefers32BitThumb", "(", ")", ")", "addPass", "(", "createThumb2SizeReductionPass", "(", ")", ")", ";", "addPass", "(", "&", "UnpackMachineBundlesID", ")", ";", "}", "addPass", "(", "createARMOptimizeBarriersPass", "(", ")", ")", ";", "addPass", "(", "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", "ARM", "ARM", "ARM"], "File": "ARMTargetMachine35", "Func": "addPreEmitPass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21291, "Length": 61, "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", ")", ")", "||", "!", "fixed_reg_p", "(", "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", ")", ")", "||", "!", "fixed_reg_p", "(", "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": ["powerpcspe", "0", "0", "0", "0", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "1", "1"], "File": "powerpcspe", "Func": "rs6000_frame_related", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21292, "Length": 413, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "ARM64RegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "return", "&", "ARM64", "::", "GPR64RegClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["ARM64", "ARM64", "ARM64::GPR64RegClass"], "File": "ARM64RegisterInfo", "Func": "getPointerRegClass", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21293, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_CC", ")", "return", "(", "regno", "==", "CC_REGNUM", "||", "(", "TARGET_HARD_FLOAT", "&&", "TARGET_VFP", "&&", "regno", "==", "VFPCC_REGNUM", ")", ")", ";", "if", "(", "regno", "==", "CC_REGNUM", "&&", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_CC", ")", "return", "false", ";", "if", "(", "TARGET_THUMB1", ")", "return", "(", "ARM_NUM_REGS", "(", "mode", ")", "<", "2", ")", "||", "(", "regno", "<", "LAST_LO_REGNUM", ")", ";", "if", "(", "TARGET_HARD_FLOAT", "&&", "TARGET_VFP", "&&", "IS_VFP_REGNUM", "(", "regno", ")", ")", "{", "if", "(", "mode", "==", "SFmode", "||", "mode", "==", "SImode", ")", "return", "VFP_REGNO_OK_FOR_SINGLE", "(", "regno", ")", ";", "if", "(", "mode", "==", "DFmode", ")", "return", "VFP_REGNO_OK_FOR_DOUBLE", "(", "regno", ")", ";", "if", "(", "mode", "==", "HFmode", ")", "return", "TARGET_FP16", "&&", "VFP_REGNO_OK_FOR_SINGLE", "(", "regno", ")", ";", "if", "(", "TARGET_NEON", ")", "return", "(", "VALID_NEON_DREG_MODE", "(", "mode", ")", "&&", "VFP_REGNO_OK_FOR_DOUBLE", "(", "regno", ")", ")", "||", "(", "VALID_NEON_QREG_MODE", "(", "mode", ")", "&&", "NEON_REGNO_OK_FOR_QUAD", "(", "regno", ")", ")", "||", "(", "mode", "==", "TImode", "&&", "NEON_REGNO_OK_FOR_NREGS", "(", "regno", ",", "2", ")", ")", "||", "(", "mode", "==", "EImode", "&&", "NEON_REGNO_OK_FOR_NREGS", "(", "regno", ",", "3", ")", ")", "||", "(", "mode", "==", "OImode", "&&", "NEON_REGNO_OK_FOR_NREGS", "(", "regno", ",", "4", ")", ")", "||", "(", "mode", "==", "CImode", "&&", "NEON_REGNO_OK_FOR_NREGS", "(", "regno", ",", "6", ")", ")", "||", "(", "mode", "==", "XImode", "&&", "NEON_REGNO_OK_FOR_NREGS", "(", "regno", ",", "8", ")", ")", ";", "return", "FALSE", ";", "}", "if", "(", "TARGET_REALLY_IWMMXT", ")", "{", "if", "(", "IS_IWMMXT_GR_REGNUM", "(", "regno", ")", ")", "return", "mode", "==", "SImode", ";", "if", "(", "IS_IWMMXT_REGNUM", "(", "regno", ")", ")", "return", "VALID_IWMMXT_REG_MODE", "(", "mode", ")", ";", "}", "if", "(", "regno", "<=", "LAST_ARM_REGNUM", ")", "{", "if", "(", "ARM_NUM_REGS", "(", "mode", ")", ">", "4", ")", "return", "FALSE", ";", "if", "(", "TARGET_THUMB2", ")", "return", "TRUE", ";", "return", "!", "(", "TARGET_LDRD", "&&", "GET_MODE_SIZE", "(", "mode", ")", ">", "4", "&&", "(", "regno", "&", "1", ")", "!=", "0", ")", ";", "}", "if", "(", "regno", "==", "FRAME_POINTER_REGNUM", "||", "regno", "==", "ARG_POINTER_REGNUM", ")", "return", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_INT", ";", "return", "FALSE", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "REGNO", "is", "a", "valid", "register", "for", "holding", "a", "quantity", "of", "type", "MODE", "."], "TS_V_token": ["arm", "2", "2", "3", "4", "6", "8", "4", "4", "1", "0"], "File": "arm4", "Func": "arm_hard_regno_mode_ok", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21294, "Length": 326, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetIRAnalysis", "LanaiTargetMachine", "::", "getTargetIRAnalysis", "(", ")", "{", "return", "TargetIRAnalysis", "(", "[", "this", "]", "(", "const", "Function", "&", "F", ")", "{", "return", "TargetTransformInfo", "(", "LanaiTTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetIRAnalysis", "appropriate", "for", "the", "target", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai"], "File": "LanaiTargetMachine1", "Func": "getTargetIRAnalysis", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21295, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "isReallyTriviallyReMaterializable", "(", "const", "MachineInstr", "*", "MI", ",", "AliasAnalysis", "*", "AA", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "X86", "::", "MOV8rm", ":", "case", "X86", "::", "MOV16rm", ":", "case", "X86", "::", "MOV32rm", ":", "case", "X86", "::", "MOV64rm", ":", "case", "X86", "::", "LD_Fp64m", ":", "case", "X86", "::", "MOVSSrm", ":", "case", "X86", "::", "MOVSDrm", ":", "case", "X86", "::", "MOVAPSrm", ":", "case", "X86", "::", "MOVUPSrm", ":", "case", "X86", "::", "MOVAPDrm", ":", "case", "X86", "::", "MOVDQArm", ":", "case", "X86", "::", "MOVDQUrm", ":", "case", "X86", "::", "VMOVSSrm", ":", "case", "X86", "::", "VMOVSDrm", ":", "case", "X86", "::", "VMOVAPSrm", ":", "case", "X86", "::", "VMOVUPSrm", ":", "case", "X86", "::", "VMOVAPDrm", ":", "case", "X86", "::", "VMOVDQArm", ":", "case", "X86", "::", "VMOVDQUrm", ":", "case", "X86", "::", "VMOVAPSYrm", ":", "case", "X86", "::", "VMOVUPSYrm", ":", "case", "X86", "::", "VMOVAPDYrm", ":", "case", "X86", "::", "VMOVDQAYrm", ":", "case", "X86", "::", "VMOVDQUYrm", ":", "case", "X86", "::", "MMX_MOVD64rm", ":", "case", "X86", "::", "MMX_MOVQ64rm", ":", "case", "X86", "::", "FsVMOVAPSrm", ":", "case", "X86", "::", "FsVMOVAPDrm", ":", "case", "X86", "::", "FsMOVAPSrm", ":", "case", "X86", "::", "FsMOVAPDrm", ":", "{", "if", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", "&&", "MI", "->", "getOperand", "(", "3", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", "==", "0", "&&", "MI", "->", "isInvariantLoad", "(", "AA", ")", ")", "{", "unsigned", "BaseReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "if", "(", "BaseReg", "==", "0", "||", "BaseReg", "==", "X86", "::", "RIP", ")", "return", "true", ";", "if", "(", "!", "ReMatPICStubLoad", "&&", "MI", "->", "getOperand", "(", "4", ")", ".", "isGlobal", "(", ")", ")", "return", "false", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "return", "regIsPICBase", "(", "BaseReg", ",", "MRI", ")", ";", "}", "return", "false", ";", "}", "case", "X86", "::", "LEA32r", ":", "case", "X86", "::", "LEA64r", ":", "{", "if", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", "&&", "MI", "->", "getOperand", "(", "3", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", "==", "0", "&&", "!", "MI", "->", "getOperand", "(", "4", ")", ".", "isReg", "(", ")", ")", "{", "if", "(", "!", "MI", "->", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", ")", "return", "true", ";", "unsigned", "BaseReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "if", "(", "BaseReg", "==", "0", ")", "return", "true", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "return", "regIsPICBase", "(", "BaseReg", ",", "MRI", ")", ";", "}", "return", "false", ";", "}", "}", "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": ["X86", "X86", "X86::MOV8rm", "X86::MOV16rm", "X86::MOV32rm", "X86::MOV64rm", "X86::LD_Fp64m", "X86::MOVSSrm", "X86::MOVSDrm", "X86::MOVAPSrm", "X86::MOVUPSrm", "X86::MOVAPDrm", "X86::MOVDQArm", "X86::MOVDQUrm", "X86::VMOVSSrm", "X86::VMOVSDrm", "X86::VMOVAPSrm", "X86::VMOVUPSrm", "X86::VMOVAPDrm", "X86::VMOVDQArm", "X86::VMOVDQUrm", "X86::VMOVAPSYrm", "X86::VMOVUPSYrm", "X86::VMOVAPDYrm", "X86::VMOVDQAYrm", "X86::VMOVDQUYrm", "X86::MMX_MOVD64rm", "X86::MMX_MOVQ64rm", "X86::FsVMOVAPSrm", "X86::FsVMOVAPDrm", "X86::FsMOVAPSrm", "X86::FsMOVAPDrm", "1", "2", "3", "3", "0", "1", "0", "X86::RIP", "4", "X86::LEA32r", "X86::LEA64r", "2", "3", "3", "0", "4", "1", "1", "0"], "File": "X86InstrInfo (2)", "Func": "isReallyTriviallyReMaterializable", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21296, "Length": 470, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "loongarch_init_builtins", "(", "void", ")", "{", "const", "struct", "loongarch_builtin_description", "*", "d", ";", "unsigned", "int", "i", ";", "tree", "type", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "loongarch_builtins", ")", ";", "i", "++", ")", "{", "d", "=", "&", "loongarch_builtins", "[", "i", "]", ";", "if", "(", "d", "->", "avail", "(", ")", ")", "{", "type", "=", "loongarch_build_function_type", "(", "d", "->", "function_type", ")", ";", "loongarch_builtin_decls", "[", "i", "]", "=", "add_builtin_function", "(", "d", "->", "name", ",", "type", ",", "i", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL", ")", ";", "loongarch_get_builtin_decl_index", "[", "d", "->", "icode", "]", "=", "i", ";", "}", "}", "}", ""], "natrual_language": ["Implement", "TARGET_INIT_BUILTINS", "."], "TS_V_token": ["loongarch", "0"], "File": "loongarch-builtins", "Func": "loongarch_init_builtins", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21297, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "LLT", "Ty", ",", "unsigned", "AddrSpace", ",", "Align", "Alignment", ",", "MachineMemOperand", "::", "Flags", "Flags", ",", "bool", "*", "Fast", ")", "const", "{", "if", "(", "Subtarget", "->", "requiresStrictAlign", "(", ")", ")", "return", "false", ";", "if", "(", "Fast", ")", "{", "*", "Fast", "=", "!", "Subtarget", "->", "isMisaligned128StoreSlow", "(", ")", "||", "Ty", ".", "getSizeInBytes", "(", ")", "!=", "16", "||", "Alignment", "<=", "2", "||", "Ty", "==", "LLT", "::", "vector", "(", "2", ",", "64", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["AArch64", "AArch64", "16", "2", "2", "64"], "File": "AArch64ISelLowering10", "Func": "allowsMisalignedMemoryAccesses", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21298, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 Machine Code Emitter\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 Machine Code Emitter\""], "File": "X86CodeEmitter1", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21299, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "LC3InstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["LC3", "LC3"], "File": "LC3Subtarget", "Func": "getInstrInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21300, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "gen_shifty_hi_op", "(", "int", "code", ",", "rtx", "*", "operands", ")", "{", "int", "value", "=", "INTVAL", "(", "operands", "[", "2", "]", ")", ";", "int", "max", ",", "i", ";", "void", "(", "*", "gen_fun", ")", "(", "int", ",", "int", ",", "rtx", ")", ";", "value", "&=", "31", ";", "if", "(", "value", "==", "0", ")", "{", "emit_insn", "(", "gen_nop", "(", ")", ")", ";", "return", ";", "}", "gen_fun", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", "==", "HImode", "?", "gen_ashift_hi", ":", "gen_ashift", ";", "if", "(", "code", "==", "ASHIFT", ")", "{", "max", "=", "ext_ashl_lshr_seq", "[", "value", "]", ".", "insn_count", ";", "for", "(", "i", "=", "0", ";", "i", "<", "max", ";", "i", "++", ")", "gen_fun", "(", "code", ",", "ext_ashl_lshr_seq", "[", "value", "]", ".", "amount", "[", "i", "]", ",", "operands", "[", "0", "]", ")", ";", "}", "else", "for", "(", "i", "=", "ext_ashl_lshr_seq", "[", "value", "]", ".", "insn_count", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "gen_fun", "(", "code", ",", "ext_ashl_lshr_seq", "[", "value", "]", ".", "amount", "[", "i", "]", ",", "operands", "[", "0", "]", ")", ";", "}", ""], "natrual_language": ["Same", "as", "above", ",", "but", "optimized", "for", "values", "where", "the", "topmost", "bits", "do", "n't", "matter", "."], "TS_V_token": ["sh", "2", "31", "0", "0", "0", "0", "1", "0", "0"], "File": "sh", "Func": "gen_shifty_hi_op", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21301, "Length": 169, "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": ["Cpu0"], "File": "Cpu0TargetMachine", "Func": "getObjFileLowering", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21302, "Length": 16, "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": 21303, "Length": 238, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_emit_probe_stack_range", "(", "HOST_WIDE_INT", "first", ",", "HOST_WIDE_INT", "size", ")", "{", "if", "(", "first", "+", "size", "<=", "32768", ")", "{", "HOST_WIDE_INT", "i", ";", "for", "(", "i", "=", "PROBE_INTERVAL", ";", "i", "<", "size", ";", "i", "+=", "PROBE_INTERVAL", ")", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "(", "first", "+", "i", ")", ")", ")", ";", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "(", "first", "+", "size", ")", ")", ")", ";", "}", "else", "{", "HOST_WIDE_INT", "rounded_size", ";", "rtx", "r12", "=", "gen_rtx_REG", "(", "Pmode", ",", "12", ")", ";", "rtx", "r0", "=", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ";", "gcc_assert", "(", "first", "<=", "32768", ")", ";", "rounded_size", "=", "ROUND_DOWN", "(", "size", ",", "PROBE_INTERVAL", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "r12", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "first", ")", ")", ")", ";", "if", "(", "rounded_size", ">", "32768", ")", "{", "emit_move_insn", "(", "r0", ",", "GEN_INT", "(", "-", "rounded_size", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "r0", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "r12", ",", "r0", ")", ")", ")", ";", "}", "else", "emit_insn", "(", "gen_rtx_SET", "(", "r0", ",", "plus_constant", "(", "Pmode", ",", "r12", ",", "-", "rounded_size", ")", ")", ")", ";", "if", "(", "TARGET_64BIT", ")", "emit_insn", "(", "gen_probe_stack_rangedi", "(", "r12", ",", "r12", ",", "r0", ")", ")", ";", "else", "emit_insn", "(", "gen_probe_stack_rangesi", "(", "r12", ",", "r12", ",", "r0", ")", ")", ";", "if", "(", "size", "!=", "rounded_size", ")", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "r12", ",", "rounded_size", "-", "size", ")", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "code", "to", "probe", "a", "range", "of", "stack", "addresses", "from", "FIRST", "to", "FIRST+SIZE", ",", "inclusive", ".", "These", "are", "offsets", "from", "the", "current", "stack", "pointer", "."], "TS_V_token": ["rs6000", "32768", "12", "0", "32768", "32768"], "File": "rs60005", "Func": "rs6000_emit_probe_stack_range", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21304, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AZPRFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\">> AZPRFrameLowering::emitEpilogue <<\\n\"", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "AZPRInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "AZPRInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "AZPR", "::", "ADDUI", ")", ",", "AZPR", "::", "r30", ")", ".", "addReg", "(", "AZPR", "::", "r30", ")", ".", "addImm", "(", "StackSize", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["AZPR", "AZPR", "\">> AZPRFrameLowering::emitEpilogue <<\\n\"", "AZPR", "AZPR", "AZPR::ADDUI", "AZPR::r30", "AZPR::r30"], "File": "AZPRFrameLowering", "Func": "emitEpilogue", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21305, "Length": 122, "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", "=", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "DebugLoc", "DL", "=", "I", "!=", "MBB", ".", "end", "(", ")", "?", "I", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "unsigned", "ADDu", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "DADDu", ":", "Mips", "::", "ADDu", ";", "unsigned", "ADDiu", "=", "STI", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "DADDiu", ":", "Mips", "::", "ADDiu", ";", "if", "(", "isInt", "<", "16", ">", "(", "Amount", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ADDiu", ")", ",", "SP", ")", ".", "addReg", "(", "SP", ")", ".", "addImm", "(", "Amount", ")", ";", "else", "{", "MBB", ".", "getParent", "(", ")", "->", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", "->", "setEmitNOAT", "(", ")", ";", "unsigned", "Reg", "=", "loadImmediate", "(", "Amount", ",", "MBB", ",", "I", ",", "DL", ",", "0", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ADDu", ")", ",", "SP", ")", ".", "addReg", "(", "SP", ")", ".", "addReg", "(", "Reg", ")", ";", "}", "}", ""], "natrual_language": ["Adjust", "SP", "by", "Amount", "bytes", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips::DADDu", "Mips::ADDu", "Mips::DADDiu", "Mips::ADDiu", "16", "Mips", "0"], "File": "MipsSEInstrInfo43", "Func": "adjustStackPtr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21306, "Length": 190, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_valid_pointer_mode", "(", "scalar_int_mode", "mode", ")", "{", "return", "mode", "==", "SImode", "||", "(", "TARGET_64BIT", "&&", "mode", "==", "DImode", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VALID_POINTER_MODE", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_valid_pointer_mode", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21307, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "hashval_t", "builtin_hasher", "::", "hash", "(", "builtin_hash_struct", "*", "bh", ")", "{", "unsigned", "ret", "=", "0", ";", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "4", ";", "i", "++", ")", "{", "ret", "=", "(", "ret", "*", "(", "unsigned", ")", "MAX_MACHINE_MODE", ")", "+", "(", "(", "unsigned", ")", "bh", "->", "mode", "[", "i", "]", ")", ";", "ret", "=", "(", "ret", "*", "2", ")", "+", "bh", "->", "uns_p", "[", "i", "]", ";", "}", "return", "ret", ";", "}", ""], "natrual_language": ["Hash", "function", "for", "builtin", "functions", "with", "up", "to", "3", "arguments", "and", "a", "return", "type", "."], "TS_V_token": ["rs6000", "0", "0", "4", "2"], "File": "rs6000-call", "Func": "hash", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21308, "Length": 75, "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", "::", "X0", ":", "PPC", "::", "R0", ",", "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::X0", "PPC::R0"], "File": "PPCISelLowering105", "Func": "SelectAddressRegRegOnly", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21309, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "csky_legitimate_address_p", "(", "machine_mode", "mode", ",", "rtx", "addr", ",", "bool", "strict_p", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "addr", ")", ";", "if", "(", "reload_completed", "&&", "(", "(", "code", "==", "LABEL_REF", ")", "||", "(", "code", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "0", ")", ")", "==", "LABEL_REF", "&&", "CONST_INT_P", "(", "XEXP", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "1", ")", ")", ")", ")", ")", "return", "1", ";", "if", "(", "is_csky_address_register_rtx_p", "(", "addr", ",", "strict_p", ")", ")", "return", "1", ";", "else", "if", "(", "GET_CODE", "(", "addr", ")", "==", "LABEL_REF", ")", "return", "1", ";", "if", "(", "code", "==", "PLUS", ")", "{", "rtx", "xop0", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "rtx", "xop1", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "return", "(", "(", "is_csky_address_register_rtx_p", "(", "xop0", ",", "strict_p", ")", "&&", "csky_legitimate_index_p", "(", "mode", ",", "xop1", ",", "strict_p", ")", ")", "||", "(", "is_csky_address_register_rtx_p", "(", "xop1", ",", "strict_p", ")", "&&", "csky_legitimate_index_p", "(", "mode", ",", "xop0", ",", "strict_p", ")", ")", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LEGITIMATE_ADDRESS_P", ".", "Recognizes", "RTL", "expressions", "that", "are", "valid", "memory", "addresses", "for", "an", "instruction", ".", "The", "MODE", "argument", "is", "the", "machine", "mode", "for", "the", "MEM", "expression", "that", "wants", "to", "use", "this", "address", ".", "It", "only", "recognizes", "address", "in", "canonical", "form", ".", "LEGITIMIZE_ADDRESS", "should", "convert", "common", "non-canonical", "forms", "to", "canonical", "form", "so", "that", "they", "will", "be", "recognized", "."], "TS_V_token": ["csky", "0", "0", "0", "0", "1", "1", "1", "1", "0", "1", "0"], "File": "csky", "Func": "csky_legitimate_address_p", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21310, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "FISCAsmBackend", "::", "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", ">>", "(", "(", "NumBytes", "-", "i", "-", "1", ")", "*", "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": ["FISC", "FISC", "4", "\"Invalid fixup offset!\"", "0", "1", "8", "0xff"], "File": "FISCAsmBackend", "Func": "applyFixup", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21311, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mt_interrupt_function_p", "(", "tree", "func", ")", "{", "tree", "a", ";", "if", "(", "TREE_CODE", "(", "func", ")", "!=", "FUNCTION_DECL", ")", "return", "false", ";", "a", "=", "lookup_attribute", "(", "\"interrupt\"", ",", "DECL_ATTRIBUTES", "(", "func", ")", ")", ";", "return", "a", "!=", "NULL_TREE", ";", "}", ""], "natrual_language": ["Return", "true", "if", "FUNC", "is", "a", "function", "with", "the", "'interrupt", "'", "attribute", "."], "TS_V_token": ["mt", "\"interrupt\""], "File": "mt", "Func": "mt_interrupt_function_p", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21312, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "isStoreToStackSlotPostFE", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "isFrameStoreOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", "{", "unsigned", "Reg", ";", "if", "(", "(", "Reg", "=", "isStoreToStackSlot", "(", "MI", ",", "FrameIndex", ")", ")", ")", "return", "Reg", ";", "const", "MachineMemOperand", "*", "Dummy", ";", "return", "hasStoreToStackSlot", "(", "MI", ",", "Dummy", ",", "FrameIndex", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["isStoreToStackSlotPostFE", "-", "Check", "for", "post-frame", "ptr", "elimination", "stack", "locations", "as", "well", "."], "TS_V_token": ["X86", "X86", "0"], "File": "X86InstrInfo (2)", "Func": "isStoreToStackSlotPostFE", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21313, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_add_queued_cfa_restore_notes", "(", "rtx", "insn", ")", "{", "rtx", "last", ";", "if", "(", "!", "queued_cfa_restores", ")", "return", ";", "for", "(", "last", "=", "queued_cfa_restores", ";", "XEXP", "(", "last", ",", "1", ")", ";", "last", "=", "XEXP", "(", "last", ",", "1", ")", ")", ";", "XEXP", "(", "last", ",", "1", ")", "=", "REG_NOTES", "(", "insn", ")", ";", "REG_NOTES", "(", "insn", ")", "=", "queued_cfa_restores", ";", "queued_cfa_restores", "=", "NULL_RTX", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", ""], "natrual_language": ["Add", "queued", "REG_CFA_RESTORE", "notes", "if", "any", "to", "INSN", "."], "TS_V_token": ["i386", "1", "1", "1", "1"], "File": "i386", "Func": "ix86_add_queued_cfa_restore_notes", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21314, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isQForm", "(", "const", "MachineInstr", "&", "MI", ")", "{", "auto", "IsQFPR", "=", "[", "&", "]", "(", "const", "MachineOperand", "&", "Op", ")", "{", "if", "(", "!", "Op", ".", "isReg", "(", ")", ")", "return", "false", ";", "auto", "Reg", "=", "Op", ".", "getReg", "(", ")", ";", "if", "(", "Reg", ".", "isPhysical", "(", ")", ")", "return", "AArch64", "::", "FPR128RegClass", ".", "contains", "(", "Reg", ")", ";", "const", "TargetRegisterClass", "*", "TRC", "=", "::", "getRegClass", "(", "MI", ",", "Reg", ")", ";", "return", "TRC", "==", "&", "AArch64", "::", "FPR128RegClass", "||", "TRC", "==", "&", "AArch64", "::", "FPR128_loRegClass", ";", "}", ";", "return", "llvm", "::", "any_of", "(", "MI", ".", "operands", "(", ")", ",", "IsQFPR", ")", ";", "}", ""], "natrual_language": ["Returns", "whether", "the", "instruction", "is", "in", "Q", "form", "(", "128", "bit", "operands", ")"], "TS_V_token": ["AArch64", "AArch64", "AArch64::FPR128RegClass", "AArch64::FPR128RegClass", "AArch64::FPR128_loRegClass"], "File": "AArch64InstrInfo51", "Func": "isQForm", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21315, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "TOYMCCodeEmitter", "::", "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_TOY_LO", ":", "{", "FixupKind", "=", "TOY", "::", "fixup_toy_mov_lo16_pcrel", ";", "break", ";", "}", "case", "MCSymbolRefExpr", "::", "VK_TOY_HI", ":", "{", "FixupKind", "=", "TOY", "::", "fixup_toy_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": ["TOY", "TOY", "\"unknown operand kind in printOperand\"", "\"Unknown fixup kind!\"", "TOY", "TOY::fixup_toy_mov_lo16_pcrel", "TOY", "TOY::fixup_toy_mov_hi16_pcrel", "0", "0"], "File": "TOYMCCodeEmitter1", "Func": "getMachineOpValue", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21316, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_tribools_ok_for_inlining_p", "(", "int", "caller", ",", "int", "callee", ",", "int", "dont_care", ",", "int", "def", ")", "{", "if", "(", "callee", "==", "dont_care", ")", "return", "true", ";", "if", "(", "caller", "==", "dont_care", ")", "return", "true", ";", "return", "(", "callee", "==", "caller", "||", "callee", "==", "def", ")", ";", "}", ""], "natrual_language": ["Helper", "for", "aarch64_can_inline_p", ".", "In", "the", "case", "where", "CALLER", "and", "CALLEE", "are", "tri-bool", "options", "(", "yes", ",", "no", ",", "do", "n't", "care", ")", "and", "the", "default", "value", "is", "DEF", ",", "determine", "whether", "to", "reject", "inlining", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_tribools_ok_for_inlining_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21317, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16HardFloat", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"Run on Module Mips16HardFloat\\n\"", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "Module", "::", "iterator", "F", "=", "M", ".", "begin", "(", ")", ",", "E", "=", "M", ".", "end", "(", ")", ";", "F", "!=", "E", ";", "++", "F", ")", "{", "if", "(", "F", "->", "hasFnAttribute", "(", "\"nomips16\"", ")", "&&", "F", "->", "hasFnAttribute", "(", "\"use-soft-float\"", ")", ")", "{", "removeUseSoftFloat", "(", "*", "F", ")", ";", "continue", ";", "}", "if", "(", "F", "->", "isDeclaration", "(", ")", "||", "F", "->", "hasFnAttribute", "(", "\"mips16_fp_stub\"", ")", "||", "F", "->", "hasFnAttribute", "(", "\"nomips16\"", ")", ")", "continue", ";", "Modified", "|=", "fixupFPReturnAndCall", "(", "*", "F", ",", "&", "M", ",", "Subtarget", ")", ";", "FPParamVariant", "V", "=", "whichFPParamVariantNeeded", "(", "*", "F", ")", ";", "if", "(", "V", "!=", "NoSig", ")", "{", "Modified", "=", "true", ";", "createFPFnStub", "(", "F", ",", "&", "M", ",", "V", ",", "Subtarget", ")", ";", "}", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["Mips", "Mips", "\"Run on Module Mips16HardFloat\\n\"", "\"nomips16\"", "\"use-soft-float\"", "\"mips16_fp_stub\"", "\"nomips16\""], "File": "Mips16HardFloat17", "Func": "runOnModule", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21318, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "SparcMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "SparcMachineFunctionInfo", ">", "(", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "SparcInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "SparcInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "int", "NumBytes", "=", "(", "int", ")", "MFI", "->", "getStackSize", "(", ")", ";", "unsigned", "SAVEri", "=", "SP", "::", "SAVEri", ";", "unsigned", "SAVErr", "=", "SP", "::", "SAVErr", ";", "if", "(", "FuncInfo", "->", "isLeafProc", "(", ")", ")", "{", "if", "(", "NumBytes", "==", "0", ")", "return", ";", "SAVEri", "=", "SP", "::", "ADDri", ";", "SAVErr", "=", "SP", "::", "ADDrr", ";", "}", "NumBytes", "=", "-", "SubTarget", ".", "getAdjustedFrameSize", "(", "NumBytes", ")", ";", "if", "(", "NumBytes", ">=", "-", "4096", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "SAVEri", ")", ",", "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", "(", "SAVErr", ")", ",", "SP", "::", "O6", ")", ".", "addReg", "(", "SP", "::", "O6", ")", ".", "addReg", "(", "SP", "::", "G1", ")", ";", "}", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "MCRegisterInfo", "*", "MRI", "=", "MMI", ".", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MCSymbol", "*", "FrameLabel", "=", "MMI", ".", "getContext", "(", ")", ".", "CreateTempSymbol", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "PROLOG_LABEL", ")", ")", ".", "addSym", "(", "FrameLabel", ")", ";", "unsigned", "regFP", "=", "MRI", "->", "getDwarfRegNum", "(", "SP", "::", "I6", ",", "true", ")", ";", "MMI", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createDefCfaRegister", "(", "FrameLabel", ",", "regFP", ")", ")", ";", "MMI", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createWindowSave", "(", "FrameLabel", ")", ")", ";", "unsigned", "regInRA", "=", "MRI", "->", "getDwarfRegNum", "(", "SP", "::", "I7", ",", "true", ")", ";", "unsigned", "regOutRA", "=", "MRI", "->", "getDwarfRegNum", "(", "SP", "::", "O7", ",", "true", ")", ";", "MMI", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createRegister", "(", "FrameLabel", ",", "regOutRA", ",", "regInRA", ")", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "SP::SAVEri", "SP::SAVErr", "0", "SP::ADDri", "SP::ADDrr", "4096", "SP::O6", "SP::O6", "10U", "SP::SETHIi", "SP::G1", "SP::ORri", "SP::G1", "SP::G1", "1", "10", "1", "SP::O6", "SP::O6", "SP::G1", "SP::PROLOG_LABEL", "SP::I6", "SP::I7", "SP::O7"], "File": "SparcFrameLowering42", "Func": "emitPrologue", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21319, "Length": 472, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "ARMTTIImpl", "::", "getIntImmCodeSizeCost", "(", "unsigned", "Opcode", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "{", "if", "(", "Imm", ".", "isNonNegative", "(", ")", "&&", "Imm", ".", "getLimitedValue", "(", ")", "<", "256", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "the", "expected", "cost", "for", "the", "given", "integer", "when", "optimising", "for", "size", "."], "TS_V_token": ["ARM", "ARM", "256", "0", "1"], "File": "ARMTargetTransformInfo14", "Func": "getIntImmCodeSizeCost", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21320, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "adjust_vec_address_pcrel", "(", "rtx", "addr", ",", "rtx", "element_offset", ",", "rtx", "base_tmp", ")", "{", "rtx", "new_addr", "=", "NULL", ";", "gcc_assert", "(", "CONST_INT_P", "(", "element_offset", ")", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "CONST", ")", "addr", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", ")", "{", "rtx", "op0", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "rtx", "op1", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "if", "(", "CONST_INT_P", "(", "op1", ")", ")", "{", "HOST_WIDE_INT", "offset", "=", "INTVAL", "(", "XEXP", "(", "addr", ",", "1", ")", ")", "+", "INTVAL", "(", "element_offset", ")", ";", "if", "(", "offset", "==", "0", ")", "new_addr", "=", "op0", ";", "else", "{", "rtx", "plus", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "op0", ",", "GEN_INT", "(", "offset", ")", ")", ";", "new_addr", "=", "gen_rtx_CONST", "(", "Pmode", ",", "plus", ")", ";", "}", "}", "else", "{", "emit_move_insn", "(", "base_tmp", ",", "addr", ")", ";", "new_addr", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "base_tmp", ",", "element_offset", ")", ";", "}", "}", "else", "if", "(", "SYMBOL_REF_P", "(", "addr", ")", "||", "LABEL_REF_P", "(", "addr", ")", ")", "{", "rtx", "plus", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "addr", ",", "element_offset", ")", ";", "new_addr", "=", "gen_rtx_CONST", "(", "Pmode", ",", "plus", ")", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "return", "new_addr", ";", "}", ""], "natrual_language": ["Helper", "function", "update", "PC-relative", "addresses", "when", "we", "are", "adjusting", "a", "memory", "address", "(", "ADDR", ")", "to", "a", "vector", "to", "point", "to", "a", "scalar", "field", "within", "the", "vector", "with", "a", "constant", "offset", "(", "ELEMENT_OFFSET", ")", ".", "If", "the", "address", "is", "not", "valid", ",", "we", "can", "use", "the", "base", "register", "temporary", "(", "BASE_TMP", ")", "to", "form", "the", "address", "."], "TS_V_token": ["rs6000", "0", "0", "1", "1", "0"], "File": "rs6000", "Func": "adjust_vec_address_pcrel", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21321, "Length": 206, "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", "->", "hasInt256", "(", ")", "&&", "(", "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": "X86ISelLowering (2)", "Func": "isVectorShiftByScalarCheap", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21322, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sh_encode_section_info", "(", "tree", "decl", ",", "rtx", "rtl", ",", "int", "first", ")", "{", "default_encode_section_info", "(", "decl", ",", "rtl", ",", "first", ")", ";", "if", "(", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", "&&", "sh2a_function_vector_p", "(", "decl", ")", "&&", "TARGET_SH2A", ")", "SYMBOL_REF_FLAGS", "(", "XEXP", "(", "rtl", ",", "0", ")", ")", "|=", "SYMBOL_FLAG_FUNCVEC_FUNCTION", ";", "}", ""], "natrual_language": ["Encode", "symbol", "attributes", "of", "a", "SYMBOL_REF", "into", "its", "SYMBOL_REF_FLAGS", "."], "TS_V_token": ["sh", "0"], "File": "sh", "Func": "sh_encode_section_info", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21323, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCHazardRecognizer970", "::", "Reset", "(", ")", "{", "LastWasBL8_ELF", "=", "false", ";", "EndDispatchGroup", "(", ")", ";", "}", ""], "natrual_language": ["Reset", "the", "unwind", "opcode", "assembler", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCHazardRecognizers34", "Func": "Reset", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21324, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64FrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "assert", "(", "getStackGrowthDirection", "(", ")", "==", "TargetFrameLowering", "::", "StackGrowsDown", "&&", "\"Upwards growing stack unsupported\"", ")", ";", "unsigned", "MaxAlign", "=", "getStackAlignment", "(", ")", ";", "int64_t", "SVEStackSize", "=", "determineSVEStackSize", "(", "MFI", ",", "MaxAlign", ")", ";", "AArch64FunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "AFI", "->", "setStackSizeSVE", "(", "alignTo", "(", "SVEStackSize", ",", "MaxAlign", ")", ")", ";", "assert", "(", "MaxAlign", "<=", "16", "&&", "\"Cannot align scalable vectors more than 16 bytes\"", ")", ";", "if", "(", "!", "MF", ".", "hasEHFunclets", "(", ")", ")", "return", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "WinEHFuncInfo", "&", "EHInfo", "=", "*", "MF", ".", "getWinEHFuncInfo", "(", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "auto", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "while", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", "&&", "MBBI", "->", "getFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ")", "++", "MBBI", ";", "int", "UnwindHelpFI", "=", "MFI", ".", "CreateStackObject", "(", "8", ",", "16", ",", "false", ")", ";", "EHInfo", ".", "UnwindHelpFrameIdx", "=", "UnwindHelpFI", ";", "DebugLoc", "DL", ";", "RS", "->", "enterBasicBlockEnd", "(", "MBB", ")", ";", "RS", "->", "backward", "(", "std", "::", "prev", "(", "MBBI", ")", ")", ";", "unsigned", "DstReg", "=", "RS", "->", "FindUnusedReg", "(", "&", "AArch64", "::", "GPR64commonRegClass", ")", ";", "assert", "(", "DstReg", "&&", "\"There must be a free register after frame setup\"", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "AArch64", "::", "MOVi64imm", ")", ",", "DstReg", ")", ".", "addImm", "(", "-", "2", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "AArch64", "::", "STURXi", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "true", ")", ")", ".", "addFrameIndex", "(", "UnwindHelpFI", ")", ".", "addImm", "(", "0", ")", ";", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["AArch64", "AArch64", "\"Upwards growing stack unsupported\"", "AArch64", "AArch64", "16", "\"Cannot align scalable vectors more than 16 bytes\"", "8", "16", "AArch64::GPR64commonRegClass", "\"There must be a free register after frame setup\"", "AArch64::MOVi64imm", "2", "AArch64::STURXi", "0"], "File": "AArch64FrameLowering14", "Func": "processFunctionBeforeFrameFinalized", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21325, "Length": 295, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "PPCTTIImpl", "::", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ",", "TTI", "::", "OperandValueKind", "Op1Info", ",", "TTI", "::", "OperandValueKind", "Op2Info", ",", "TTI", "::", "OperandValueProperties", "Opd1PropInfo", ",", "TTI", "::", "OperandValueProperties", "Opd2PropInfo", ",", "ArrayRef", "<", "const", "Value", "*", ">", "Args", ",", "const", "Instruction", "*", "CxtI", ")", "{", "assert", "(", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", "&&", "\"Invalid opcode\"", ")", ";", "InstructionCost", "CostFactor", "=", "vectorCostAdjustmentFactor", "(", "Opcode", ",", "Ty", ",", "nullptr", ")", ";", "if", "(", "!", "CostFactor", ".", "isValid", "(", ")", ")", "return", "InstructionCost", "::", "getMax", "(", ")", ";", "if", "(", "CostKind", "!=", "TTI", "::", "TCK_RecipThroughput", ")", "return", "BaseT", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "CostKind", ",", "Op1Info", ",", "Op2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ",", "Args", ",", "CxtI", ")", ";", "InstructionCost", "Cost", "=", "BaseT", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "CostKind", ",", "Op1Info", ",", "Op2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ")", ";", "return", "Cost", "*", "CostFactor", ";", "}", ""], "natrual_language": ["This", "is", "an", "approximation", "of", "reciprocal", "throughput", "of", "a", "math/logic", "op", "."], "TS_V_token": ["PowerPC", "PPC", "\"Invalid opcode\""], "File": "PPCTargetTransformInfo14", "Func": "getArithmeticInstrCost", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21326, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "FISCTargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InGlue", ",", "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", "(", ")", ",", "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", "(", ")", ",", "InGlue", ")", ".", "getValue", "(", "1", ")", ";", "InGlue", "=", "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": ["FISC", "FISC", "ISD::InputArg", "16", "0", "1", "2", "0"], "File": "FISCISelLowering", "Func": "LowerCallResult", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21327, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_legitimate_combined_insn", "(", "rtx_insn", "*", "insn", ")", "{", "int", "icode", "=", "INSN_CODE", "(", "insn", ")", ";", "if", "(", "icode", "!=", "CODE_FOR_nothing", "&&", "(", "icode", "==", "CODE_FOR_ctrsi_internal1", "||", "icode", "==", "CODE_FOR_ctrdi_internal1", "||", "icode", "==", "CODE_FOR_ctrsi_internal2", "||", "icode", "==", "CODE_FOR_ctrdi_internal2", "||", "icode", "==", "CODE_FOR_ctrsi_internal3", "||", "icode", "==", "CODE_FOR_ctrdi_internal3", "||", "icode", "==", "CODE_FOR_ctrsi_internal4", "||", "icode", "==", "CODE_FOR_ctrdi_internal4", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_LEGITIMATE_COMBINED_INSN", "hook", "."], "TS_V_token": ["rs6000"], "File": "rs60006", "Func": "rs6000_legitimate_combined_insn", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21328, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "ARMSelectionDAGInfo", "::", "EmitTargetCodeForMemmove", "(", "SelectionDAG", "&", "DAG", ",", "const", "SDLoc", "&", "dl", ",", "SDValue", "Chain", ",", "SDValue", "Dst", ",", "SDValue", "Src", ",", "SDValue", "Size", ",", "unsigned", "Align", ",", "bool", "isVolatile", ",", "MachinePointerInfo", "DstPtrInfo", ",", "MachinePointerInfo", "SrcPtrInfo", ")", "const", "{", "return", "EmitSpecializedLibcall", "(", "DAG", ",", "dl", ",", "Chain", ",", "Dst", ",", "Src", ",", "Size", ",", "Align", ",", "RTLIB", "::", "MEMMOVE", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memmove", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMSelectionDAGInfo", "Func": "EmitTargetCodeForMemmove", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21329, "Length": 63, "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": ["rs6000", "0"], "File": "rs6000", "Func": "mode_supports_pre_modify_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21330, "Length": 29, "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", "(", "useNeonVector", "(", "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", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "Gather", "/", "Scatter", "operation", "."], "TS_V_token": ["AArch64", "AArch64", "1", "0"], "File": "AArch64TargetTransformInfo", "Func": "getGatherScatterOpCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21331, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "ix86_find_base_term", "(", "rtx", "x", ")", "{", "rtx", "term", ";", "if", "(", "TARGET_64BIT", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "!=", "CONST", ")", "return", "x", ";", "term", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "term", ")", "==", "PLUS", "&&", "(", "GET_CODE", "(", "XEXP", "(", "term", ",", "1", ")", ")", "==", "CONST_INT", "||", "GET_CODE", "(", "XEXP", "(", "term", ",", "1", ")", ")", "==", "CONST_DOUBLE", ")", ")", "term", "=", "XEXP", "(", "term", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "term", ")", "!=", "UNSPEC", "||", "XINT", "(", "term", ",", "1", ")", "!=", "UNSPEC_GOTPCREL", ")", "return", "x", ";", "term", "=", "XVECEXP", "(", "term", ",", "0", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "term", ")", "!=", "SYMBOL_REF", "&&", "GET_CODE", "(", "term", ")", "!=", "LABEL_REF", ")", "return", "x", ";", "return", "term", ";", "}", "term", "=", "ix86_delegitimize_address", "(", "x", ")", ";", "if", "(", "GET_CODE", "(", "term", ")", "!=", "SYMBOL_REF", "&&", "GET_CODE", "(", "term", ")", "!=", "LABEL_REF", ")", "return", "x", ";", "return", "term", ";", "}", ""], "natrual_language": ["If", "X", "is", "a", "machine", "specific", "address", "(", "i.e", ".", "a", "symbol", "or", "label", "being", "referenced", "as", "a", "displacement", "from", "the", "GOT", "implemented", "using", "an", "UNSPEC", ")", ",", "then", "return", "the", "base", "term", ".", "Otherwise", "return", "X", "."], "TS_V_token": ["i386", "0", "1", "1", "0", "1", "0", "0"], "File": "i3863", "Func": "ix86_find_base_term", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21332, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "machine_mode", "memory_vector_mode", "(", "const", "function_instance", "&", "fi", ")", "const", "override", "{", "poly_uint64", "nunits", "=", "GET_MODE_NUNITS", "(", "fi", ".", "vector_mode", "(", "0", ")", ")", ";", "return", "aarch64_sve_data_mode", "(", "m_to_mode", ",", "nunits", ")", ".", "require", "(", ")", ";", "}", ""], "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", "0"], "File": "aarch64-sve-builtins-functions3", "Func": "memory_vector_mode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21333, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCFrameLowering", "::", "canUseAsEpilogue", "(", "const", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "*", "TmpMBB", "=", "const_cast", "<", "MachineBasicBlock", "*", ">", "(", "&", "MBB", ")", ";", "return", "findScratchRegister", "(", "TmpMBB", ",", "true", ",", "nullptr", ")", ";", "}", ""], "natrual_language": ["Check", "whether", "or", "not", "the", "given", "MBB", "can", "be", "used", "as", "a", "epilogue", "for", "the", "target", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCFrameLowering54", "Func": "canUseAsEpilogue", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21334, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mep_mulr_source", "(", "rtx_insn", "*", "insn", ",", "rtx", "dest", ",", "rtx", "src1", ",", "rtx", "src2", ")", "{", "if", "(", "rtx_equal_p", "(", "dest", ",", "src1", ")", ")", "return", "src2", ";", "else", "if", "(", "rtx_equal_p", "(", "dest", ",", "src2", ")", ")", "return", "src1", ";", "else", "{", "if", "(", "insn", "==", "0", ")", "emit_insn", "(", "gen_movsi", "(", "copy_rtx", "(", "dest", ")", ",", "src1", ")", ")", ";", "else", "emit_insn_before", "(", "gen_movsi", "(", "copy_rtx", "(", "dest", ")", ",", "src1", ")", ",", "insn", ")", ";", "return", "src2", ";", "}", "}", ""], "natrual_language": ["Given", "three", "integer", "registers", "DEST", ",", "SRC1", "and", "SRC2", ",", "return", "an", "rtx", "X", "such", "that", "``", "mulr", "DEST", ",", "X", "''", "will", "calculate", "DEST", "=", "SRC1", "*", "SRC2", ".", "If", "a", "move", "is", "needed", ",", "emit", "it", "before", "INSN", "if", "INSN", "is", "nonnull", ",", "otherwise", "emit", "it", "at", "the", "end", "of", "the", "insn", "stream", "."], "TS_V_token": ["mep", "0"], "File": "mep", "Func": "mep_mulr_source", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21335, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "FISCInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "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": ["FISC", "FISC", "0"], "File": "FISCInstrInfo", "Func": "isStoreToStackSlot", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21336, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToAddress", "(", "Register", "ValVReg", ",", "Register", "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", ")", ".", "getReg", "(", "0", ")", ";", "}", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "unsigned", "Align", "=", "inferAlignmentFromPtrInfo", "(", "MF", ",", "MPO", ")", ";", "auto", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MPO", ",", "MachineMemOperand", "::", "MOStore", ",", "Size", ",", "Align", ")", ";", "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"], "File": "AArch64CallLowering35", "Func": "assignValueToAddress", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21337, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSymbol", "*", "DCPU16MCInstLower", "::", "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": ["Dcpu16", "DCPU16", "\"Unknown target flag on GV operand\"", "0"], "File": "DCPU16MCInstLower", "Func": "GetExternalSymbolSymbol", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21338, "Length": 48, "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", ":", "\\", "unreachable", "(", "\"Unhandled register type\"", ")", ";", "\\", "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_XMM128", ":", "\\", "case", "TYPE_XMM64", ":", "\\", "case", "TYPE_XMM32", ":", "\\", "case", "TYPE_XMM", ":", "\\", "return", "prefix", "##", "_XMM0", "+", "index", ";", "\\", "case", "TYPE_MM64", ":", "\\", "case", "TYPE_MM32", ":", "\\", "case", "TYPE_MM", ":", "\\", "if", "(", "index", ">", "7", ")", "\\", "*", "valid", "=", "0", ";", "\\", "return", "prefix", "##", "_MM0", "+", "index", ";", "\\", "case", "TYPE_SEGMENTREG", ":", "\\", "if", "(", "index", ">", "5", ")", "\\", "*", "valid", "=", "0", ";", "\\", "return", "prefix", "##", "_ES", "+", "index", ";", "\\", "case", "TYPE_DEBUGREG", ":", "\\", "if", "(", "index", ">", "7", ")", "\\", "*", "valid", "=", "0", ";", "\\", "return", "prefix", "##", "_DR0", "+", "index", ";", "\\", "case", "TYPE_CR32", ":", "\\", "if", "(", "index", ">", "7", ")", "\\", "*", "valid", "=", "0", ";", "\\", "return", "prefix", "##", "_ECR0", "+", "index", ";", "\\", "case", "TYPE_CR64", ":", "\\", "if", "(", "index", ">", "8", ")", "\\", "*", "valid", "=", "0", ";", "\\", "return", "prefix", "##", "_RCR0", "+", "index", ";", "\\", "}", "\\", "}", ""], "natrual_language": ["Gets", "the", "name", "of", "the", "pass", "we", "are", "mixed", "into", "."], "TS_V_token": ["X86", "1", "\"Unhandled register type\"", "4", "7", "4", "7", "0", "5", "0", "7", "0", "7", "0", "8", "0"], "File": "X86DisassemblerDecoder18", "Func": "name", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21339, "Length": 298, "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", "(", "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", "(", "GET_CODE", "(", "op", ")", "!=", "CONST_INT", "||", "INTVAL", "(", "op", ")", "!=", "len", "/", "2", "+", "i", ")", "return", "0", ";", "}", "for", "(", "unsigned", "int", "i", "=", "len", "/", "2", ";", "i", "<", "len", ";", "++", "i", ")", "{", "rtx", "op", "=", "XVECEXP", "(", "parallel", ",", "0", ",", "i", ")", ";", "if", "(", "GET_CODE", "(", "op", ")", "!=", "CONST_INT", "||", "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": ["powerpcspe", "0", "0", "1", "0", "0", "2", "4", "8", "16", "0", "0", "2", "0", "2", "0", "2", "0", "2", "0", "1"], "File": "powerpcspe", "Func": "insn_is_swap_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21340, "Length": 215, "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", "(", ")", ")", "{", "ArgInfo", "OrigArg", "{", "VRegs", "[", "i", "]", ",", "Arg", ".", "getType", "(", ")", "}", ";", "setArgFlags", "(", "OrigArg", ",", "i", "+", "1", ",", "DL", ",", "F", ")", ";", "bool", "Split", "=", "false", ";", "LLT", "Ty", "=", "MRI", ".", "getType", "(", "VRegs", "[", "i", "]", ")", ";", "unsigned", "Dst", "=", "VRegs", "[", "i", "]", ";", "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", "[", "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", ")", ")", ";", "}", "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", "1", "AArch64", "AArch64", "AArch64", "8", "AArch64", "AArch64", "4"], "File": "AArch64CallLowering48", "Func": "lowerFormalArguments", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21341, "Length": 422, "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\"", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_INITIALIZE_SECTIONS", "."], "TS_V_token": ["arm", "0", "\"\\t.handlerdata\""], "File": "arm4", "Func": "arm_asm_init_sections", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21342, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "PredicateInstruction", "(", "MachineInstr", "&", "MI", ",", "ArrayRef", "<", "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": "SystemZInstrInfo6", "Func": "PredicateInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21343, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_parse_fuse_string", "(", "const", "char", "*", "fuse_string", ",", "struct", "tune_params", "*", "tune", ")", "{", "tune", "->", "fusible_ops", "=", "aarch64_parse_boolean_options", "(", "fuse_string", ",", "aarch64_fusible_pairs", ",", "tune", "->", "fusible_ops", ",", "\"fuse=\"", ")", ";", "}", ""], "natrual_language": ["Support", "for", "overriding", "instruction", "fusion", "."], "TS_V_token": ["aarch64", "\"fuse=\""], "File": "aarch64", "Func": "aarch64_parse_fuse_string", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21344, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCPassConfig", "::", "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": ["PowerPC", "PPC"], "File": "PPCTargetMachine5", "Func": "addGlobalInstructionSelect", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21345, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSEInstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", "->", "getParent", "(", ")", ";", "switch", "(", "MI", "->", "getDesc", "(", ")", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Mips", "::", "RetRA", ":", "ExpandRetRA", "(", "MBB", ",", "MI", ",", "Mips", "::", "RET", ")", ";", "break", ";", "case", "Mips", "::", "BuildPairF64", ":", "ExpandBuildPairF64", "(", "MBB", ",", "MI", ")", ";", "break", ";", "case", "Mips", "::", "ExtractElementF64", ":", "ExpandExtractElementF64", "(", "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::RetRA", "Mips::RET", "Mips::BuildPairF64", "Mips::ExtractElementF64"], "File": "MipsSEInstrInfo20", "Func": "expandPostRAPseudo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21346, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "legitimize_pic_address", "(", "rtx", "orig", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "reg", ")", "{", "if", "(", "tls_symbolic_operand", "(", "orig", ",", "Pmode", ")", "!=", "TLS_MODEL_NONE", ")", "return", "orig", ";", "if", "(", "GET_CODE", "(", "orig", ")", "==", "LABEL_REF", "||", "(", "GET_CODE", "(", "orig", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_LOCAL_P", "(", "orig", ")", ")", ")", "{", "if", "(", "reg", "==", "NULL_RTX", ")", "reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_symGOTOFF2reg", "(", "reg", ",", "orig", ")", ")", ";", "return", "reg", ";", "}", "else", "if", "(", "GET_CODE", "(", "orig", ")", "==", "SYMBOL_REF", ")", "{", "if", "(", "reg", "==", "NULL_RTX", ")", "reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_symGOT2reg", "(", "reg", ",", "orig", ")", ")", ";", "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": ["sh"], "File": "sh4", "Func": "legitimize_pic_address", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21347, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "updateRegAllocHint", "(", "unsigned", "Reg", ",", "unsigned", "NewReg", ",", "MachineFunction", "&", "MF", ")", "const", "{", "MachineRegisterInfo", "*", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", "Hint", "=", "MRI", "->", "getRegAllocationHint", "(", "Reg", ")", ";", "if", "(", "(", "Hint", ".", "first", "==", "(", "unsigned", ")", "ARMRI", "::", "RegPairOdd", "||", "Hint", ".", "first", "==", "(", "unsigned", ")", "ARMRI", "::", "RegPairEven", ")", "&&", "Register", "::", "isVirtualRegister", "(", "Hint", ".", "second", ")", ")", "{", "unsigned", "OtherReg", "=", "Hint", ".", "second", ";", "Hint", "=", "MRI", "->", "getRegAllocationHint", "(", "OtherReg", ")", ";", "if", "(", "Hint", ".", "second", "==", "Reg", ")", "{", "MRI", "->", "setRegAllocationHint", "(", "OtherReg", ",", "Hint", ".", "first", ",", "NewReg", ")", ";", "if", "(", "Register", "::", "isVirtualRegister", "(", "NewReg", ")", ")", "MRI", "->", "setRegAllocationHint", "(", "NewReg", ",", "Hint", ".", "first", "==", "(", "unsigned", ")", "ARMRI", "::", "RegPairOdd", "?", "ARMRI", "::", "RegPairEven", ":", "ARMRI", "::", "RegPairOdd", ",", "OtherReg", ")", ";", "}", "}", "}", ""], "natrual_language": ["A", "callback", "to", "allow", "target", "a", "chance", "to", "update", "register", "allocation", "hints", "when", "a", "register", "is", "``", "changed", "''", "(", "e.g", "."], "TS_V_token": ["ARM", "ARM", "ARMRI::RegPairOdd", "ARMRI::RegPairEven", "ARMRI::RegPairOdd", "ARMRI::RegPairEven", "ARMRI::RegPairOdd"], "File": "ARMBaseRegisterInfo17", "Func": "updateRegAllocHint", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21348, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getPrefetchDistance", "(", ")", "const", "{", "return", "PrefetchDistance", ";", "}", ""], "natrual_language": ["Return", "the", "preferred", "prefetch", "distance", "in", "terms", "of", "instructions", "."], "TS_V_token": ["AArch64"], "File": "AArch64Subtarget10", "Func": "getPrefetchDistance", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21349, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sh_emit_compare_and_branch", "(", "rtx", "*", "operands", ",", "machine_mode", "mode", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "operands", "[", "0", "]", ")", ";", "enum", "rtx_code", "branch_code", ";", "rtx", "op0", "=", "operands", "[", "1", "]", ";", "rtx", "op1", "=", "operands", "[", "2", "]", ";", "rtx", "insn", ";", "bool", "need_ccmpeq", "=", "false", ";", "if", "(", "TARGET_SH2E", "&&", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", ")", "{", "op0", "=", "force_reg", "(", "mode", ",", "op0", ")", ";", "op1", "=", "force_reg", "(", "mode", ",", "op1", ")", ";", "}", "else", "{", "if", "(", "code", "!=", "EQ", "||", "mode", "==", "DImode", ")", "{", "op0", "=", "force_reg", "(", "mode", ",", "op0", ")", ";", "if", "(", "op1", "!=", "const0_rtx", "||", "code", "==", "GTU", "||", "code", "==", "GEU", ")", "op1", "=", "force_reg", "(", "mode", ",", "op1", ")", ";", "}", "}", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", ")", "{", "if", "(", "code", "==", "LT", "||", "(", "code", "==", "LE", "&&", "TARGET_IEEE", "&&", "TARGET_SH2E", ")", "||", "(", "code", "==", "GE", "&&", "!", "(", "TARGET_IEEE", "&&", "TARGET_SH2E", ")", ")", ")", "{", "std", "::", "swap", "(", "op0", ",", "op1", ")", ";", "code", "=", "swap_condition", "(", "code", ")", ";", "}", "if", "(", "code", "==", "GE", ")", "{", "gcc_assert", "(", "TARGET_IEEE", "&&", "TARGET_SH2E", ")", ";", "need_ccmpeq", "=", "true", ";", "code", "=", "GT", ";", "}", "gcc_assert", "(", "code", "==", "EQ", "||", "code", "==", "GT", "||", "code", "==", "NE", "||", "code", "==", "LE", ")", ";", "}", "switch", "(", "code", ")", "{", "case", "EQ", ":", "case", "GT", ":", "case", "GE", ":", "case", "GTU", ":", "case", "GEU", ":", "branch_code", "=", "code", ";", "break", ";", "case", "NE", ":", "case", "LT", ":", "case", "LE", ":", "case", "LTU", ":", "case", "LEU", ":", "branch_code", "=", "reverse_condition", "(", "code", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "insn", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "get_t_reg_rtx", "(", ")", ",", "gen_rtx_fmt_ee", "(", "branch_code", ",", "SImode", ",", "op0", ",", "op1", ")", ")", ";", "sh_emit_set_t_insn", "(", "insn", ",", "mode", ")", ";", "if", "(", "need_ccmpeq", ")", "sh_emit_set_t_insn", "(", "gen_ieee_ccmpeqsf_t", "(", "op0", ",", "op1", ")", ",", "mode", ")", ";", "if", "(", "branch_code", "==", "code", ")", "emit_jump_insn", "(", "gen_branch_true", "(", "operands", "[", "3", "]", ")", ")", ";", "else", "emit_jump_insn", "(", "gen_branch_false", "(", "operands", "[", "3", "]", ")", ")", ";", "}", ""], "natrual_language": ["Called", "from", "the", "md", "file", ",", "set", "up", "the", "operands", "of", "a", "compare", "instruction", "."], "TS_V_token": ["sh", "0", "1", "2", "3", "3"], "File": "sh4", "Func": "sh_emit_compare_and_branch", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21350, "Length": 361, "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": ["ARM"], "File": "ARMAsmParser (2)1", "Func": "isMem", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21351, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_force_temporary", "(", "rtx", "dest", ",", "rtx", "value", ")", "{", "if", "(", "can_create_pseudo_p", "(", ")", ")", "return", "force_reg", "(", "Pmode", ",", "value", ")", ";", "else", "{", "mips_emit_move", "(", "dest", ",", "value", ")", ";", "return", "dest", ";", "}", "}", ""], "natrual_language": ["Copy", "VALUE", "to", "a", "register", "and", "return", "that", "register", ".", "If", "new", "psuedos", "are", "allowed", ",", "copy", "it", "into", "a", "new", "register", ",", "otherwise", "use", "DEST", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_force_temporary", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21352, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "rs6000_gen_le_vsx_permute", "(", "rtx", "source", ",", "machine_mode", "mode", ")", "{", "rtx", "par", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rs6000_const_vec", "(", "mode", ")", ")", ";", "return", "gen_rtx_VEC_SELECT", "(", "mode", ",", "source", ",", "par", ")", ";", "}", ""], "natrual_language": ["Generate", "a", "permute", "rtx", "that", "represents", "an", "lxvd2x", ",", "stxvd2x", ",", "or", "xxpermdi", "for", "a", "VSX", "load", "or", "store", "operation", "."], "TS_V_token": ["rs6000"], "File": "rs60004", "Func": "rs6000_gen_le_vsx_permute", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21353, "Length": 34, "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": 21354, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "F2003fSubtarget", "&", "F2003fSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "std", "::", "string", "CPUName", "=", "CPU", ";", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", "=", "\"2003f\"", ";", "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": ["F2003f", "F2003f", "F2003f", "\"2003f\""], "File": "F2003fSubtarget", "Func": "initializeSubtargetDependencies", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21355, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getMemScale", "(", ")", "const", "{", "assert", "(", "Kind", "==", "Memory", "&&", "\"Invalid access!\"", ")", ";", "return", "Mem", ".", "Scale", ";", "}", ""], "natrual_language": ["Scaling", "factor", "for", "(", "scaled", "or", "unscaled", ")", "load", "or", "store", "."], "TS_V_token": ["X86", "\"Invalid access!\""], "File": "X86AsmParser (2)2", "Func": "getMemScale", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21356, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86DAGToDAGISel", "::", "IsProfitableToFold", "(", "SDValue", "N", ",", "SDNode", "*", "U", ",", "SDNode", "*", "Root", ")", "const", "{", "if", "(", "OptLevel", "==", "CodeGenOpt", "::", "None", ")", "return", "false", ";", "if", "(", "!", "N", ".", "hasOneUse", "(", ")", ")", "return", "false", ";", "if", "(", "N", ".", "getOpcode", "(", ")", "!=", "ISD", "::", "LOAD", ")", "return", "true", ";", "if", "(", "U", "==", "Root", ")", "{", "switch", "(", "U", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "X86ISD", "::", "ADD", ":", "case", "X86ISD", "::", "SUB", ":", "case", "X86ISD", "::", "AND", ":", "case", "X86ISD", "::", "XOR", ":", "case", "X86ISD", "::", "OR", ":", "case", "ISD", "::", "ADD", ":", "case", "ISD", "::", "ADDCARRY", ":", "case", "ISD", "::", "AND", ":", "case", "ISD", "::", "OR", ":", "case", "ISD", "::", "XOR", ":", "{", "SDValue", "Op1", "=", "U", "->", "getOperand", "(", "1", ")", ";", "if", "(", "ConstantSDNode", "*", "Imm", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op1", ")", ")", "{", "if", "(", "Imm", "->", "getAPIntValue", "(", ")", ".", "isSignedIntN", "(", "8", ")", ")", "return", "false", ";", "if", "(", "U", "->", "getOpcode", "(", ")", "==", "ISD", "::", "AND", "&&", "Imm", "->", "getAPIntValue", "(", ")", ".", "getBitWidth", "(", ")", "==", "64", "&&", "Imm", "->", "getAPIntValue", "(", ")", ".", "isIntN", "(", "32", ")", ")", "return", "false", ";", "}", "if", "(", "Op1", ".", "getOpcode", "(", ")", "==", "X86ISD", "::", "Wrapper", ")", "{", "SDValue", "Val", "=", "Op1", ".", "getOperand", "(", "0", ")", ";", "if", "(", "Val", ".", "getOpcode", "(", ")", "==", "ISD", "::", "TargetGlobalTLSAddress", ")", "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": ["X86", "X86", "ISD::LOAD", "X86ISD::ADD", "X86ISD::SUB", "X86ISD::AND", "X86ISD::XOR", "X86ISD::OR", "ISD::ADD", "ISD::ADDCARRY", "ISD::AND", "ISD::OR", "ISD::XOR", "1", "8", "ISD::AND", "64", "32", "X86ISD::Wrapper", "0", "ISD::TargetGlobalTLSAddress"], "File": "X86ISelDAGToDAG112", "Func": "IsProfitableToFold", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21357, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "machine_mode", "ix86_fp_compare_mode", "(", "enum", "rtx_code", "code", "ATTRIBUTE_UNUSED", ")", "{", "return", "TARGET_IEEE_FP", "?", "CCFPUmode", ":", "CCFPmode", ";", "}", ""], "natrual_language": ["Figure", "out", "whether", "to", "use", "ordered", "or", "unordered", "fp", "comparisons", ".", "Return", "the", "appropriate", "mode", "to", "use", "."], "TS_V_token": ["i386"], "File": "i3863", "Func": "ix86_fp_compare_mode", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21358, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsAnalyzeImmediate", "::", "InstSeq", "&", "MipsAnalyzeImmediate", "::", "Analyze", "(", "int64_t", "Imm", ",", "unsigned", "Size", ",", "bool", "LastInstrIsADDiu", ")", "{", "this", "->", "Size", "=", "Size", ";", "if", "(", "Size", "==", "32", ")", "{", "ADDiu", "=", "Mips", "::", "ADDiu", ";", "ORi", "=", "Mips", "::", "ORi", ";", "SLL", "=", "Mips", "::", "SLL", ";", "LUi", "=", "Mips", "::", "LUi", ";", "}", "else", "{", "ADDiu", "=", "Mips", "::", "DADDiu", ";", "ORi", "=", "Mips", "::", "ORi64", ";", "SLL", "=", "Mips", "::", "DSLL", ";", "LUi", "=", "Mips", "::", "LUi64", ";", "}", "InstSeqLs", "SeqLs", ";", "if", "(", "LastInstrIsADDiu", "|", "!", "Imm", ")", "GetInstSeqLsADDiu", "(", "Imm", ",", "Size", ",", "SeqLs", ")", ";", "else", "GetInstSeqLs", "(", "Imm", ",", "Size", ",", "SeqLs", ")", ";", "GetShortestSeq", "(", "SeqLs", ",", "Insts", ")", ";", "return", "Insts", ";", "}", ""], "natrual_language": ["Analyze", "-", "Get", "an", "instruction", "sequence", "to", "load", "immediate", "Imm", "."], "TS_V_token": ["Mips", "Mips", "Mips", "32", "Mips::ADDiu", "Mips::ORi", "Mips::SLL", "Mips::LUi", "Mips::DADDiu", "Mips::ORi64", "Mips::DSLL", "Mips::LUi64"], "File": "MipsAnalyzeImmediate10", "Func": "Analyze", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21359, "Length": 124, "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": 21360, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "ARMTTIImpl", "::", "getIntImmCostInst", "(", "unsigned", "Opcode", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ",", "Instruction", "*", "Inst", ")", "{", "if", "(", "(", "Opcode", "==", "Instruction", "::", "SDiv", "||", "Opcode", "==", "Instruction", "::", "UDiv", "||", "Opcode", "==", "Instruction", "::", "SRem", "||", "Opcode", "==", "Instruction", "::", "URem", ")", "&&", "Idx", "==", "1", ")", "return", "0", ";", "if", "(", "Opcode", "==", "Instruction", "::", "GetElementPtr", "&&", "Idx", "!=", "0", ")", "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", ".", "isAllOnes", "(", ")", ")", "return", "0", ";", "if", "(", "Inst", "&&", "(", "(", "ST", "->", "hasV6Ops", "(", ")", "&&", "!", "ST", "->", "isThumb", "(", ")", ")", "||", "ST", "->", "isThumb2", "(", ")", ")", "&&", "Ty", "->", "getIntegerBitWidth", "(", ")", "<=", "32", ")", "{", "if", "(", "isSSATMinMaxPattern", "(", "Inst", ",", "Imm", ")", "||", "(", "isa", "<", "ICmpInst", ">", "(", "Inst", ")", "&&", "Inst", "->", "hasOneUse", "(", ")", "&&", "isSSATMinMaxPattern", "(", "cast", "<", "Instruction", ">", "(", "*", "Inst", "->", "user_begin", "(", ")", ")", ",", "Imm", ")", ")", ")", "return", "0", ";", "}", "if", "(", "Inst", "&&", "Opcode", "==", "Instruction", "::", "ICmp", "&&", "Idx", "==", "1", "&&", "Imm", ".", "isAllOnesValue", "(", ")", ")", "{", "ICmpInst", "::", "Predicate", "Pred", "=", "cast", "<", "ICmpInst", ">", "(", "Inst", ")", "->", "getPredicate", "(", ")", ";", "if", "(", "Pred", "==", "ICmpInst", "::", "ICMP_SGT", "||", "Pred", "==", "ICmpInst", "::", "ICMP_SLE", ")", "return", "std", "::", "min", "(", "getIntImmCost", "(", "Imm", ",", "Ty", ",", "CostKind", ")", ",", "getIntImmCost", "(", "Imm", "+", "1", ",", "Ty", ",", "CostKind", ")", ")", ";", "}", "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", "0", "0", "255", "65535", "0", "32", "1", "12", "0", "1", "8", "0", "0", "32", "0", "1", "1"], "File": "ARMTargetTransformInfo14", "Func": "getIntImmCostInst", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21361, "Length": 419, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "findDeadCallerSavedReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "const", "TargetRegisterInfo", "&", "TRI", ",", "bool", "Is64Bit", ")", "{", "const", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "Function", "*", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "if", "(", "!", "F", "||", "MF", "->", "getMMI", "(", ")", ".", "callsEHReturn", "(", ")", ")", "return", "0", ";", "static", "const", "uint16_t", "CallerSavedRegs32Bit", "[", "]", "=", "{", "X86", "::", "EAX", ",", "X86", "::", "EDX", ",", "X86", "::", "ECX", ",", "0", "}", ";", "static", "const", "uint16_t", "CallerSavedRegs64Bit", "[", "]", "=", "{", "X86", "::", "RAX", ",", "X86", "::", "RDX", ",", "X86", "::", "RCX", ",", "X86", "::", "RSI", ",", "X86", "::", "RDI", ",", "X86", "::", "R8", ",", "X86", "::", "R9", ",", "X86", "::", "R10", ",", "X86", "::", "R11", ",", "0", "}", ";", "unsigned", "Opc", "=", "MBBI", "->", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "default", ":", "return", "0", ";", "case", "X86", "::", "RET", ":", "case", "X86", "::", "RETI", ":", "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", ")", ";", "}", "const", "uint16_t", "*", "CS", "=", "Is64Bit", "?", "CallerSavedRegs64Bit", ":", "CallerSavedRegs32Bit", ";", "for", "(", ";", "*", "CS", ";", "++", "CS", ")", "if", "(", "!", "Uses", ".", "count", "(", "*", "CS", ")", ")", "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", "0", "X86::EAX", "X86::EDX", "X86::ECX", "0", "X86::RAX", "X86::RDX", "X86::RCX", "X86::RSI", "X86::RDI", "X86::R8", "X86::R9", "X86::R10", "X86::R11", "0", "0", "X86::RET", "X86::RETI", "X86::TCRETURNdi", "X86::TCRETURNri", "X86::TCRETURNmi", "X86::TCRETURNdi64", "X86::TCRETURNri64", "X86::TCRETURNmi64", "X86::EH_RETURN", "X86::EH_RETURN64", "8", "0", "0"], "File": "X86FrameLowering (2)1", "Func": "findDeadCallerSavedReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21362, "Length": 350, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "ShouldShrinkFPConstant", "(", "MVT", "VT", ")", "const", "{", "return", "!", "X86ScalarSSEf64", "||", "VT", "==", "MVT", "::", "f80", ";", "}", ""], "natrual_language": ["If", "true", ",", "then", "instruction", "selection", "should", "seek", "to", "shrink", "the", "FP", "constant", "of", "the", "specified", "type", "to", "a", "smaller", "type", "in", "order", "to", "save", "space", "and", "/", "or", "reduce", "runtime", "."], "TS_V_token": ["X86", "X86", "MVT::f80"], "File": "X86ISelLowering112", "Func": "ShouldShrinkFPConstant", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21363, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "PPC", "::", "STD", ":", "case", "PPC", "::", "STW", ":", "case", "PPC", "::", "STFS", ":", "case", "PPC", "::", "STFD", ":", "case", "PPC", "::", "SPILL_CR", ":", "case", "PPC", "::", "STVX", ":", "case", "PPC", "::", "SPILL_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": ["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": ["PowerPC", "PPC", "PPC::STD", "PPC::STW", "PPC::STFS", "PPC::STFD", "PPC::SPILL_CR", "PPC::STVX", "PPC::SPILL_VRSAVE", "1", "1", "2", "2", "0", "0"], "File": "PPCInstrInfo108", "Func": "isStoreToStackSlot", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21364, "Length": 134, "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", "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", "::", "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", "::", "Cold", ":", "if", "(", "Is64Bit", ")", "return", "CSR_64_MostRegs_RegMask", ";", "break", ";", "default", ":", "break", ";", "case", "CallingConv", "::", "X86_64_Win64", ":", "return", "CSR_Win64_RegMask", ";", "case", "CallingConv", "::", "X86_64_SysV", ":", "return", "CSR_64_RegMask", ";", "}", "if", "(", "Is64Bit", ")", "{", "if", "(", "IsWin64", ")", "return", "CSR_Win64_RegMask", ";", "return", "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", "X86"], "File": "X86RegisterInfo", "Func": "getCallPreservedMask", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21365, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "AARCH64_LOAD_STORE_OPT_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64"], "File": "AArch64LoadStoreOptimizer (2)", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21366, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "rs6000_dbx_register_number", "(", "unsigned", "int", "regno", ",", "unsigned", "int", "format", ")", "{", "if", "(", "SPE_HIGH_REGNO_P", "(", "regno", ")", ")", "return", "regno", "-", "FIRST_SPE_HIGH_REGNO", "+", "1200", ";", "if", "(", "(", "format", "==", "0", "&&", "write_symbols", "!=", "DWARF2_DEBUG", ")", "||", "format", "==", "2", ")", "return", "regno", ";", "if", "(", "regno", "<=", "63", ")", "return", "regno", ";", "if", "(", "regno", "==", "LR_REGNO", ")", "return", "108", ";", "if", "(", "regno", "==", "CTR_REGNO", ")", "return", "109", ";", "if", "(", "format", "==", "1", "&&", "regno", "==", "CR2_REGNO", ")", "return", "64", ";", "if", "(", "CR_REGNO_P", "(", "regno", ")", ")", "return", "regno", "-", "CR0_REGNO", "+", "86", ";", "if", "(", "regno", "==", "CA_REGNO", ")", "return", "101", ";", "if", "(", "ALTIVEC_REGNO_P", "(", "regno", ")", ")", "return", "regno", "-", "FIRST_ALTIVEC_REGNO", "+", "1124", ";", "if", "(", "regno", "==", "VRSAVE_REGNO", ")", "return", "356", ";", "if", "(", "regno", "==", "VSCR_REGNO", ")", "return", "67", ";", "if", "(", "regno", "==", "SPE_ACC_REGNO", ")", "return", "99", ";", "if", "(", "regno", "==", "SPEFSCR_REGNO", ")", "return", "612", ";", "return", "regno", ";", "}", ""], "natrual_language": ["Map", "internal", "gcc", "register", "numbers", "to", "DWARF2", "register", "numbers", "."], "TS_V_token": ["rs6000", "1200", "0", "2", "63", "108", "109", "1", "64", "86", "101", "1124", "356", "67", "99", "612"], "File": "rs60004", "Func": "rs6000_dbx_register_number", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21367, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "Cpu0TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "StringRef", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'r'", ":", "if", "(", "VT", "==", "MVT", "::", "i32", "||", "VT", "==", "MVT", "::", "i16", "||", "VT", "==", "MVT", "::", "i8", ")", "{", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Cpu0", "::", "CPURegsRegClass", ")", ";", "}", "if", "(", "VT", "==", "MVT", "::", "i64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Cpu0", "::", "CPURegsRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "static_cast", "<", "const", "TargetRegisterClass", "*", ">", "(", "0", ")", ")", ";", "case", "'c'", ":", "if", "(", "VT", "==", "MVT", "::", "i32", ")", "return", "std", "::", "make_pair", "(", "(", "unsigned", ")", "Cpu0", "::", "T9", ",", "&", "Cpu0", "::", "CPURegsRegClass", ")", ";", "assert", "(", "false", "&&", "\"Unexpected type.\"", ")", ";", "}", "}", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "R", ";", "R", "=", "ParseRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "if", "(", "R", ".", "second", ")", "return", "R", ";", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "TRI", ",", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["Cpu0", "Cpu0", "1", "0", "MVT::i32", "MVT::i16", "MVT::i8", "0U", "Cpu0::CPURegsRegClass", "MVT::i64", "0U", "Cpu0::CPURegsRegClass", "0U", "0", "MVT::i32", "Cpu0::T9", "Cpu0::CPURegsRegClass", "\"Unexpected type.\""], "File": "Cpu0ISelLowering4", "Func": "getRegForInlineAsmConstraint", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21368, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86TTIImpl", "::", "getGatherScatterOpCost", "(", "unsigned", "Opcode", ",", "Type", "*", "SrcVTy", ",", "Value", "*", "Ptr", ",", "bool", "VariableMask", ",", "unsigned", "Alignment", ",", "TTI", "::", "TargetCostKind", "CostKind", ",", "const", "Instruction", "*", "I", "=", "nullptr", ")", "{", "assert", "(", "SrcVTy", "->", "isVectorTy", "(", ")", "&&", "\"Unexpected data type for Gather/Scatter\"", ")", ";", "unsigned", "VF", "=", "cast", "<", "VectorType", ">", "(", "SrcVTy", ")", "->", "getNumElements", "(", ")", ";", "PointerType", "*", "PtrTy", "=", "dyn_cast", "<", "PointerType", ">", "(", "Ptr", "->", "getType", "(", ")", ")", ";", "if", "(", "!", "PtrTy", "&&", "Ptr", "->", "getType", "(", ")", "->", "isVectorTy", "(", ")", ")", "PtrTy", "=", "dyn_cast", "<", "PointerType", ">", "(", "cast", "<", "VectorType", ">", "(", "Ptr", "->", "getType", "(", ")", ")", "->", "getElementType", "(", ")", ")", ";", "assert", "(", "PtrTy", "&&", "\"Unexpected type for Ptr argument\"", ")", ";", "unsigned", "AddressSpace", "=", "PtrTy", "->", "getAddressSpace", "(", ")", ";", "bool", "Scalarize", "=", "false", ";", "if", "(", "(", "Opcode", "==", "Instruction", "::", "Load", "&&", "!", "isLegalMaskedGather", "(", "SrcVTy", ",", "MaybeAlign", "(", "Alignment", ")", ")", ")", "||", "(", "Opcode", "==", "Instruction", "::", "Store", "&&", "!", "isLegalMaskedScatter", "(", "SrcVTy", ",", "MaybeAlign", "(", "Alignment", ")", ")", ")", ")", "Scalarize", "=", "true", ";", "if", "(", "ST", "->", "hasAVX512", "(", ")", "&&", "(", "VF", "==", "2", "||", "(", "VF", "==", "4", "&&", "!", "ST", "->", "hasVLX", "(", ")", ")", ")", ")", "Scalarize", "=", "true", ";", "if", "(", "Scalarize", ")", "return", "getGSScalarCost", "(", "Opcode", ",", "SrcVTy", ",", "VariableMask", ",", "Alignment", ",", "AddressSpace", ")", ";", "return", "getGSVectorCost", "(", "Opcode", ",", "SrcVTy", ",", "Ptr", ",", "Alignment", ",", "AddressSpace", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "Gather", "/", "Scatter", "operation", "."], "TS_V_token": ["X86", "X86", "\"Unexpected data type for Gather/Scatter\"", "\"Unexpected type for Ptr argument\"", "2", "4"], "File": "X86TargetTransformInfo108", "Func": "getGatherScatterOpCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21369, "Length": 245, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_valid_lo_sum_p", "(", "enum", "mips_symbol_type", "symbol_type", ",", "machine_mode", "mode", ")", "{", "if", "(", "mips_symbol_insns", "(", "symbol_type", ",", "mode", ")", "==", "0", ")", "return", "false", ";", "if", "(", "mips_lo_relocs", "[", "symbol_type", "]", "==", "NULL", ")", "return", "false", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "UNITS_PER_WORD", "&&", "GET_MODE_BITSIZE", "(", "mode", ")", ">", "GET_MODE_ALIGNMENT", "(", "mode", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "LO_SUM", "can", "address", "a", "value", "of", "mode", "MODE", "when", "the", "LO_SUM", "symbol", "has", "type", "SYMBOL_TYPE", "."], "TS_V_token": ["mips", "0"], "File": "mips4", "Func": "mips_valid_lo_sum_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21370, "Length": 64, "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": 21371, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isReg", "(", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["isReg", "-", "Is", "this", "a", "register", "operand", "?"], "TS_V_token": ["PowerPC"], "File": "PPCAsmParser (2)1", "Func": "isReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21372, "Length": 11, "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", "(", ")", ";", "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", "X86"], "File": "X86RegisterInfo86", "Func": "getCalleeSavedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21373, "Length": 244, "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": 21374, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "Position", ",", "unsigned", "SourceRegister", ",", "bool", "IsKill", ",", "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 store this register to stack slot\"", ")", ";", "}", "BuildMI", "(", "MBB", ",", "Position", ",", "DL", ",", "get", "(", "Lanai", "::", "SW_RI", ")", ")", ".", "addReg", "(", "SourceRegister", ",", "getKillRegState", "(", "IsKill", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "LPAC", "::", "ADD", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai::GPRRegClass", "\"Can't store this register to stack slot\"", "Lanai::SW_RI", "0"], "File": "LanaiInstrInfo (2)", "Func": "storeRegToStackSlot", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21375, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "SystemZTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "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", "'h'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "SystemZ", "::", "GRH32BitRegClass", ")", ";", "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", "(", "TRI", ",", "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", "0U", "SystemZ::GRH32BitRegClass", "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": "SystemZISelLowering35", "Func": "getRegForInlineAsmConstraint", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21376, "Length": 420, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ")", "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", "(", "Offset", ">=", "-", "(", "1LL", "<<", "9", ")", "&&", "Offset", "<=", "(", "1LL", "<<", "9", ")", "-", "1", ")", "return", "true", ";", "unsigned", "shift", "=", "Log2_64", "(", "NumBytes", ")", ";", "if", "(", "NumBytes", "&&", "Offset", ">", "0", "&&", "(", "Offset", "/", "NumBytes", ")", "<=", "(", "1LL", "<<", "12", ")", "-", "1", "&&", "(", "Offset", ">>", "shift", ")", "<<", "shift", "==", "Offset", ")", "return", "true", ";", "return", "false", ";", "}", "if", "(", "!", "AM", ".", "Scale", "||", "AM", ".", "Scale", "==", "1", "||", "(", "AM", ".", "Scale", ">", "0", "&&", "(", "uint64_t", ")", "AM", ".", "Scale", "==", "NumBytes", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "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", "1LL", "9", "1LL", "9", "1", "0", "1LL", "12", "1", "1", "0"], "File": "AArch64ISelLowering (2)1", "Func": "isLegalAddressingMode", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21377, "Length": 216, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"ARM constant island placement and branch shortening pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"ARM constant island placement and branch shortening pass\""], "File": "ARMConstantIslandPass (2)1", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21378, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "LC3TargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "LC3PassConfig", "(", "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": ["LC3", "LC3", "LC3"], "File": "LC3TargetMachine", "Func": "createPassConfig", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21379, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_handle_option", "(", "size_t", "code", ",", "const", "char", "*", "arg", ",", "int", "value", "ATTRIBUTE_UNUSED", ")", "{", "switch", "(", "code", ")", "{", "case", "OPT_mabi_", ":", "if", "(", "strcmp", "(", "arg", ",", "\"32\"", ")", "==", "0", ")", "mips_abi", "=", "ABI_32", ";", "else", "if", "(", "strcmp", "(", "arg", ",", "\"o64\"", ")", "==", "0", ")", "mips_abi", "=", "ABI_O64", ";", "else", "if", "(", "strcmp", "(", "arg", ",", "\"n32\"", ")", "==", "0", ")", "mips_abi", "=", "ABI_N32", ";", "else", "if", "(", "strcmp", "(", "arg", ",", "\"64\"", ")", "==", "0", ")", "mips_abi", "=", "ABI_64", ";", "else", "if", "(", "strcmp", "(", "arg", ",", "\"eabi\"", ")", "==", "0", ")", "mips_abi", "=", "ABI_EABI", ";", "else", "return", "false", ";", "return", "true", ";", "case", "OPT_march_", ":", "case", "OPT_mtune_", ":", "return", "mips_parse_cpu", "(", "arg", ")", "!=", "0", ";", "case", "OPT_mips", ":", "mips_isa_info", "=", "mips_parse_cpu", "(", "ACONCAT", "(", "(", "\"mips\"", ",", "arg", ",", "NULL", ")", ")", ")", ";", "return", "mips_isa_info", "!=", "0", ";", "case", "OPT_mno_flush_func", ":", "mips_cache_flush_func", "=", "NULL", ";", "return", "true", ";", "default", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_HANDLE_OPTION", "."], "TS_V_token": ["mips", "\"32\"", "0", "\"o64\"", "0", "\"n32\"", "0", "\"64\"", "0", "\"eabi\"", "0", "0", "\"mips\"", "0"], "File": "mips3", "Func": "mips_handle_option", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21380, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "r10k_needs_protection_p_1", "(", "rtx", "x", ",", "rtx_insn", "*", "insn", ")", "{", "subrtx_var_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX_VAR", "(", "iter", ",", "array", ",", "x", ",", "NONCONST", ")", "{", "rtx", "mem", "=", "*", "iter", ";", "if", "(", "MEM_P", "(", "mem", ")", ")", "{", "if", "(", "(", "MEM_EXPR", "(", "mem", ")", "&&", "MEM_OFFSET_KNOWN_P", "(", "mem", ")", "&&", "r10k_safe_mem_expr_p", "(", "MEM_EXPR", "(", "mem", ")", ",", "MEM_OFFSET", "(", "mem", ")", ")", ")", "||", "r10k_safe_address_p", "(", "XEXP", "(", "mem", ",", "0", ")", ",", "insn", ")", ")", "iter", ".", "skip_subrtxes", "(", ")", ";", "else", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "contains", "a", "MEM", "that", "is", "not", "safe", "from", "R10K", "speculation", ".", "INSN", "is", "the", "instruction", "that", "contains", "X", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "r10k_needs_protection_p_1", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21381, "Length": 97, "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": 21382, "Length": 504, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64MCInstLower", "::", "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", ";", "MCOp", "=", "MCOperand", "::", "createReg", "(", "MO", ".", "getReg", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_RegisterMask", ":", "return", "false", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "MCOp", "=", "MCOperand", "::", "createImm", "(", "MO", ".", "getImm", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "MCOp", "=", "MCOperand", "::", "createExpr", "(", "MCSymbolRefExpr", "::", "create", "(", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ",", "Ctx", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "GetGlobalAddressSymbol", "(", "MO", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "GetExternalSymbolSymbol", "(", "MO", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "Printer", ".", "GetJTISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "Printer", ".", "GetCPISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_BlockAddress", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "Printer", ".", "GetBlockAddressSymbol", "(", "MO", ".", "getBlockAddress", "(", ")", ")", ")", ";", "break", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Wrapper", "for", "MCInstLowering.lowerOperand", "(", ")", "for", "the", "tblgen'erated", "pseudo", "lowering", "."], "TS_V_token": ["AArch64", "AArch64", "\"unknown operand type\""], "File": "AArch64MCInstLower28", "Func": "lowerOperand", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21383, "Length": 240, "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": ["Lanai"], "File": "LanaiMCExpr", "Func": "findAssociatedFragment", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21384, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "lowerInterleavedLoad", "(", "LoadInst", "*", "LI", ",", "ArrayRef", "<", "ShuffleVectorInst", "*", ">", "Shuffles", ",", "ArrayRef", "<", "unsigned", ">", "Indices", ",", "unsigned", "Factor", ")", "const", "{", "assert", "(", "Factor", ">=", "2", "&&", "Factor", "<=", "getMaxSupportedInterleaveFactor", "(", ")", "&&", "\"Invalid interleave factor\"", ")", ";", "assert", "(", "!", "Shuffles", ".", "empty", "(", ")", "&&", "\"Empty shufflevector input\"", ")", ";", "assert", "(", "Shuffles", ".", "size", "(", ")", "==", "Indices", ".", "size", "(", ")", "&&", "\"Unmatched number of shufflevectors and indices\"", ")", ";", "if", "(", "Factor", ">", "4", ")", "return", "false", ";", "const", "DataLayout", "&", "DL", "=", "LI", "->", "getModule", "(", ")", "->", "getDataLayout", "(", ")", ";", "VectorType", "*", "VecTy", "=", "Shuffles", "[", "0", "]", "->", "getType", "(", ")", ";", "unsigned", "VecSize", "=", "DL", ".", "getTypeSizeInBits", "(", "VecTy", ")", ";", "if", "(", "!", "Subtarget", "->", "hasNEON", "(", ")", "||", "(", "VecSize", "!=", "64", "&&", "VecSize", "!=", "128", ")", ")", "return", "false", ";", "Type", "*", "EltTy", "=", "VecTy", "->", "getVectorElementType", "(", ")", ";", "if", "(", "EltTy", "->", "isPointerTy", "(", ")", ")", "VecTy", "=", "VectorType", "::", "get", "(", "DL", ".", "getIntPtrType", "(", "EltTy", ")", ",", "VecTy", "->", "getVectorNumElements", "(", ")", ")", ";", "Type", "*", "PtrTy", "=", "VecTy", "->", "getPointerTo", "(", "LI", "->", "getPointerAddressSpace", "(", ")", ")", ";", "Type", "*", "Tys", "[", "2", "]", "=", "{", "VecTy", ",", "PtrTy", "}", ";", "static", "const", "Intrinsic", "::", "ID", "LoadInts", "[", "3", "]", "=", "{", "Intrinsic", "::", "aarch64_neon_ld2", ",", "Intrinsic", "::", "aarch64_neon_ld3", ",", "Intrinsic", "::", "aarch64_neon_ld4", "}", ";", "Function", "*", "LdNFunc", "=", "Intrinsic", "::", "getDeclaration", "(", "LI", "->", "getModule", "(", ")", ",", "LoadInts", "[", "Factor", "-", "2", "]", ",", "Tys", ")", ";", "IRBuilder", "<", ">", "Builder", "(", "LI", ")", ";", "Value", "*", "Ptr", "=", "Builder", ".", "CreateBitCast", "(", "LI", "->", "getPointerOperand", "(", ")", ",", "PtrTy", ")", ";", "CallInst", "*", "LdN", "=", "Builder", ".", "CreateCall", "(", "LdNFunc", ",", "Ptr", ",", "\"ldN\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Shuffles", ".", "size", "(", ")", ";", "i", "++", ")", "{", "ShuffleVectorInst", "*", "SVI", "=", "Shuffles", "[", "i", "]", ";", "unsigned", "Index", "=", "Indices", "[", "i", "]", ";", "Value", "*", "SubVec", "=", "Builder", ".", "CreateExtractValue", "(", "LdN", ",", "Index", ")", ";", "if", "(", "EltTy", "->", "isPointerTy", "(", ")", ")", "SubVec", "=", "Builder", ".", "CreateIntToPtr", "(", "SubVec", ",", "SVI", "->", "getType", "(", ")", ")", ";", "SVI", "->", "replaceAllUsesWith", "(", "SubVec", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Lower", "interleaved", "load", "(", "s", ")", "into", "target", "specific", "instructions/intrinsics", "."], "TS_V_token": ["AArch64", "AArch64", "2", "\"Invalid interleave factor\"", "\"Empty shufflevector input\"", "\"Unmatched number of shufflevectors and indices\"", "4", "0", "64", "128", "2", "Intrinsic::ID", "3", "Intrinsic::aarch64_neon_ld2", "Intrinsic::aarch64_neon_ld3", "Intrinsic::aarch64_neon_ld4", "Intrinsic::getDeclaration", "2", "\"ldN\"", "0"], "File": "AArch64ISelLowering102", "Func": "lowerInterleavedLoad", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21385, "Length": 378, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["Dcpu16"], "File": "DCPU16Peephole", "Func": "getAnalysisUsage", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21386, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SparcInstrInfo", "::", "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", "(", ")", "!=", "SP", "::", "BA", "&&", "I", "->", "getOpcode", "(", ")", "!=", "SP", "::", "BCOND", "&&", "I", "->", "getOpcode", "(", ")", "!=", "SP", "::", "FBCOND", ")", "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": ["Sparc", "Sparc", "\"code size not handled\"", "0", "SP::BA", "SP::BCOND", "SP::FBCOND"], "File": "SparcInstrInfo1", "Func": "removeBranch", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21387, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "FISCTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unimplemented operand\"", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSelectCC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["FISC", "FISC", "\"Unimplemented operand\"", "ISD::GlobalAddress", "ISD::SELECT_CC", "ISD::VASTART"], "File": "FISCISelLowering", "Func": "LowerOperation", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21388, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mmix_asm_output_def", "(", "FILE", "*", "stream", ",", "const", "char", "*", "name", ",", "const", "char", "*", "value", ")", "{", "assemble_name", "(", "stream", ",", "name", ")", ";", "fprintf", "(", "stream", ",", "\"\\tIS \"", ")", ";", "assemble_name", "(", "stream", ",", "value", ")", ";", "fputc", "(", "'\\n'", ",", "stream", ")", ";", "}", ""], "natrual_language": ["ASM_OUTPUT_DEF", "."], "TS_V_token": ["mmix", "\"\\tIS \""], "File": "mmix", "Func": "mmix_asm_output_def", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21389, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LanaiTargetLowering", "::", "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", ";", "IsTailCall", "=", "false", ";", "switch", "(", "CallConv", ")", "{", "case", "CallingConv", "::", "Fast", ":", "case", "CallingConv", "::", "C", ":", "return", "LowerCCCCallTo", "(", "Chain", ",", "Callee", ",", "CallConv", ",", "IsVarArg", ",", "IsTailCall", ",", "Outs", ",", "OutVals", ",", "Ins", ",", "DL", ",", "DAG", ",", "InVals", ")", ";", "default", ":", "report_fatal_error", "(", "\"Unsupported calling convention\"", ")", ";", "}", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "calls", "into", "the", "specified", "DAG", "."], "TS_V_token": ["Lanai", "Lanai", "ISD::OutputArg", "ISD::InputArg", "\"Unsupported calling convention\""], "File": "LanaiISelLowering", "Func": "LowerCall", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21390, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsSelectionDAGInfo", "::", "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", "{", "return", "EmitTargetCodeForMemOp", "(", "DAG", ",", "dl", ",", "Chain", ",", "Dst", ",", "Src", ",", "Size", ",", "Alignment", ",", "isVolatile", ",", "AlwaysInline", ",", "MustPreserveCheriCapabilities", ",", "DstPtrInfo", ",", "SrcPtrInfo", ",", "true", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memcpy", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsSelectionDAGInfo3", "Func": "EmitTargetCodeForMemcpy", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21391, "Length": 77, "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": 21392, "Length": 381, "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", "(", ")", ";", "const", "LegalizerInfo", "&", "LegInfo", "=", "*", "MF", "->", "getSubtarget", "(", ")", ".", "getLegalizerInfo", "(", ")", ";", "InstManager", "NewInstrObserver", "(", "NewInstrs", ")", ";", "GISelObserverWrapper", "WrapperObserver", "(", "&", "NewInstrObserver", ")", ";", "LegalizerHelper", "Helper", "(", "*", "MF", ",", "WrapperObserver", ",", "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", "(", "NewMI", "->", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "G_UNMERGE_VALUES", ")", "combineAwayG_UNMERGE_VALUES", "(", "ArtCombiner", ",", "*", "NewMI", ",", "WrapperObserver", ")", ";", "else", "if", "(", "NewMI", "->", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "G_MERGE_VALUES", ")", "continue", ";", "else", "setRegBank", "(", "*", "NewMI", ",", "MRI", ")", ";", "}", "return", ";", "}", "case", "TargetOpcode", "::", "G_UNMERGE_VALUES", ":", "combineAwayG_UNMERGE_VALUES", "(", "ArtCombiner", ",", "MI", ",", "WrapperObserver", ")", ";", "return", ";", "default", ":", "break", ";", "}", "return", "applyDefaultMapping", "(", "OpdMapper", ")", ";", "}", ""], "natrual_language": ["See", "RegisterBankInfo", ":", ":applyMapping", "."], "TS_V_token": ["Mips", "Mips", "0", "32"], "File": "MipsRegisterBankInfo22", "Func": "applyMappingImpl", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21393, "Length": 254, "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": "ARMELFStreamer14", "Func": "emitInst", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21394, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "or1k_expand_compare", "(", "rtx", "*", "operands", ")", "{", "rtx", "sr_f", "=", "gen_rtx_REG", "(", "BImode", ",", "SR_F_REGNUM", ")", ";", "if", "(", "!", "TARGET_SFIMM", ")", "XEXP", "(", "operands", "[", "0", "]", ",", "1", ")", "=", "force_reg", "(", "SImode", ",", "XEXP", "(", "operands", "[", "0", "]", ",", "1", ")", ")", ";", "PUT_MODE", "(", "operands", "[", "0", "]", ",", "BImode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "sr_f", ",", "operands", "[", "0", "]", ")", ")", ";", "operands", "[", "0", "]", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "sr_f", ",", "const0_rtx", ")", ";", "operands", "[", "1", "]", "=", "sr_f", ";", "operands", "[", "2", "]", "=", "const0_rtx", ";", "}", ""], "natrual_language": ["Used", "to", "expand", "patterns", "``", "movsicc", "''", ",", "``", "movqicc", "''", ",", "``", "movhicc", "''", ",", "``", "cstoresi4", "''", "and", "``", "cbranchsi4", "''", ".", "Expands", "a", "comparison", "where", "OPERANDS", "is", "an", "array", "of", "RTX", "describing", "the", "comparison", ".", "The", "first", "argument", "OPERANDS", "[", "0", "]", "is", "the", "operator", "and", "OPERANDS", "[", "1", "]", "and", "OPERANDS", "[", "2", "]", "are", "the", "operands", ".", "Split", "out", "the", "compare", "into", "SR", "[", "F", "]", "and", "return", "a", "new", "operation", "in", "OPERANDS", "[", "0", "]", ".", "The", "inputs", "OPERANDS", "[", "1", "]", "and", "OPERANDS", "[", "2", "]", "are", "not", "directly", "used", ",", "only", "overridden", "."], "TS_V_token": ["or1k", "0", "1", "0", "1", "0", "0", "0", "1", "2"], "File": "or1k2", "Func": "or1k_expand_compare", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21395, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "nds32_force_addi_stack_int", "(", "int", "full_value", ")", "{", "int", "adjust_value", ";", "rtx", "tmp_reg", ";", "rtx", "sp_adjust_insn", ";", "if", "(", "!", "satisfies_constraint_Is15", "(", "GEN_INT", "(", "full_value", ")", ")", ")", "{", "tmp_reg", "=", "gen_rtx_REG", "(", "SImode", ",", "TA_REGNUM", ")", ";", "emit_move_insn", "(", "tmp_reg", ",", "GEN_INT", "(", "full_value", ")", ")", ";", "sp_adjust_insn", "=", "gen_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "tmp_reg", ")", ";", "sp_adjust_insn", "=", "emit_insn", "(", "sp_adjust_insn", ")", ";", "if", "(", "full_value", "<", "0", ")", "{", "rtx", "plus_rtx", ";", "rtx", "set_rtx", ";", "plus_rtx", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "full_value", ")", ";", "set_rtx", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "stack_pointer_rtx", ",", "plus_rtx", ")", ";", "add_reg_note", "(", "sp_adjust_insn", ",", "REG_FRAME_RELATED_EXPR", ",", "set_rtx", ")", ";", "RTX_FRAME_RELATED_P", "(", "sp_adjust_insn", ")", "=", "1", ";", "}", "return", "0", ";", "}", "else", "{", "adjust_value", "=", "(", "full_value", "<", "0", ")", "?", "(", "-", "full_value", ")", ":", "(", "full_value", ")", ";", "return", "adjust_value", ";", "}", "}", ""], "natrual_language": ["Function", "that", "may", "creates", "more", "instructions", "for", "large", "value", "on", "adjusting", "stack", "pointer", ".", "In", "nds32", "target", ",", "'addi", "'", "can", "be", "used", "for", "stack", "pointer", "adjustment", "in", "prologue/epilogue", "stage", ".", "However", ",", "sometimes", "there", "are", "too", "many", "local", "variables", "so", "that", "the", "adjustment", "value", "is", "not", "able", "to", "be", "fit", "in", "the", "'addi", "'", "instruction", ".", "One", "solution", "is", "to", "move", "value", "into", "a", "register", "and", "then", "use", "'add", "'", "instruction", ".", "In", "practice", ",", "we", "use", "TA_REGNUM", "(", "$", "r15", ")", "to", "accomplish", "this", "purpose", ".", "Also", ",", "we", "need", "to", "return", "zero", "for", "sp", "adjustment", "so", "that", "proglogue/epilogue", "knows", "there", "is", "no", "need", "to", "create", "'addi", "'", "instruction", "."], "TS_V_token": ["nds32", "0", "1", "0", "0"], "File": "nds322", "Func": "nds32_force_addi_stack_int", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21396, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pru_hard_regno_call_part_clobbered", "(", "unsigned", ",", "unsigned", "regno", ",", "machine_mode", "mode", ")", "{", "HARD_REG_SET", "caller_saved_set", ";", "HARD_REG_SET", "callee_saved_set", ";", "CLEAR_HARD_REG_SET", "(", "caller_saved_set", ")", ";", "CLEAR_HARD_REG_SET", "(", "callee_saved_set", ")", ";", "add_range_to_hard_reg_set", "(", "&", "caller_saved_set", ",", "0", ",", "2", "*", "4", ")", ";", "add_range_to_hard_reg_set", "(", "&", "caller_saved_set", ",", "FIRST_ARG_REGNUM", ",", "LAST_ARG_REGNUM", "+", "1", "-", "FIRST_ARG_REGNUM", ")", ";", "add_range_to_hard_reg_set", "(", "&", "callee_saved_set", ",", "STACK_POINTER_REGNUM", ",", "4", ")", ";", "add_range_to_hard_reg_set", "(", "&", "callee_saved_set", ",", "FIRST_CALLEE_SAVED_REGNUM", ",", "LAST_CALEE_SAVED_REGNUM", "+", "1", "-", "FIRST_CALLEE_SAVED_REGNUM", ")", ";", "return", "overlaps_hard_reg_set_p", "(", "caller_saved_set", ",", "mode", ",", "regno", ")", "&&", "overlaps_hard_reg_set_p", "(", "callee_saved_set", ",", "mode", ",", "regno", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_CALL_PART_CLOBBERED", "."], "TS_V_token": ["pru", "0", "2", "4", "1", "4", "1"], "File": "pru", "Func": "pru_hard_regno_call_part_clobbered", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21397, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "MandarinRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "static", "const", "uint16_t", "CalleeSavedRegs", "[", "]", "=", "{", "0", "}", ";", "return", "CalleeSavedRegs", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["Mandarin", "0"], "File": "MandarinRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21398, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "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", ":", "{", "if", "(", "processInstruction", "(", "Inst", ",", "IDLoc", ",", "Instructions", ")", ")", "return", "true", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Instructions", ".", "size", "(", ")", ";", "i", "++", ")", "Out", ".", "EmitInstruction", "(", "Instructions", "[", "i", "]", ",", "STI", ")", ";", "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", "!=", "~", "0ULL", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "IDLoc", ",", "\"too few operands for instruction\"", ")", ";", "ErrorLoc", "=", "(", "(", "MipsOperand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "\"invalid operand for instruction\"", ")", ";", "}", "case", "Match_MnemonicFail", ":", "return", "Error", "(", "IDLoc", ",", "\"invalid instruction\"", ")", ";", "case", "Match_RequiresDifferentSrcAndDst", ":", "return", "Error", "(", "IDLoc", ",", "\"source and destination must be different\"", ")", ";", "}", "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": ["Mips", "Mips", "8", "0", "\"instruction requires a CPU feature not currently enabled\"", "0ULL", "\"too few operands for instruction\"", "Mips", "\"invalid operand for instruction\"", "\"invalid instruction\"", "\"source and destination must be different\"", "\"Implement any new match types added!\""], "File": "MipsAsmParser", "Func": "MatchAndEmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21399, "Length": 227, "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": 21400, "Length": 55, "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", "(", "ix86_builtins", "[", "(", "int", ")", "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": "i3864", "Func": "dispatch_function_versions", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21401, "Length": 363, "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)", "Func": "isStackSlotCopy", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21402, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCMIPeephole", "::", "lookThruCopyLike", "(", "unsigned", "SrcReg", ")", "{", "while", "(", "true", ")", "{", "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", ")", ")", "return", "CopySrcReg", ";", "SrcReg", "=", "CopySrcReg", ";", "}", "}", ""], "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"], "File": "PPCMIPeephole (2)", "Func": "lookThruCopyLike", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21403, "Length": 107, "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": 21404, "Length": 489, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_probe_stack_range", "(", "rtx", "reg1", ",", "rtx", "reg2", ",", "rtx", "reg3", ")", "{", "if", "(", "flag_stack_clash_protection", ")", "return", "output_probe_stack_range_stack_clash", "(", "reg1", ",", "reg2", ",", "reg3", ")", ";", "else", "return", "output_probe_stack_range_1", "(", "reg1", ",", "reg3", ")", ";", "}", ""], "natrual_language": ["Wrapper", "around", "the", "output_probe_stack_range", "routines", "."], "TS_V_token": ["rs6000"], "File": "rs6000-logue", "Func": "output_probe_stack_range", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21405, "Length": 39, "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_lo16\"", ",", "16", ",", "16", ",", "0", "}", ",", "{", "\"fixup_ppc_ha16\"", ",", "16", ",", "16", ",", "0", "}", ",", "{", "\"fixup_ppc_lo14\"", ",", "16", ",", "14", ",", "0", "}", ",", "{", "\"fixup_ppc_toc\"", ",", "0", ",", "64", ",", "0", "}", ",", "{", "\"fixup_ppc_toc16\"", ",", "16", ",", "16", ",", "0", "}", ",", "{", "\"fixup_ppc_toc16_ds\"", ",", "16", ",", "14", ",", "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_lo16\"", "16", "16", "0", "\"fixup_ppc_ha16\"", "16", "16", "0", "\"fixup_ppc_lo14\"", "16", "14", "0", "\"fixup_ppc_toc\"", "0", "64", "0", "\"fixup_ppc_toc16\"", "16", "16", "0", "\"fixup_ppc_toc16_ds\"", "16", "14", "0", "\"Invalid kind!\""], "File": "PPCAsmBackend36", "Func": "getFixupKindInfo", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21406, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "emitFrameDirective", "(", ")", "{", "const", "TargetRegisterInfo", "&", "RI", "=", "*", "MF", "->", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "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": "MipsAsmPrinter1", "Func": "emitFrameDirective", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21407, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "TOYInstrInfo", "::", "removeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "int", "*", "BytesRemoved", ")", "const", "{", "assert", "(", "0", "&&", "\"Unimplemented\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Remove", "the", "branching", "code", "at", "the", "end", "of", "the", "specific", "MBB", "."], "TS_V_token": ["TOY", "TOY", "0", "\"Unimplemented\"", "0"], "File": "TOYInstrInfo1", "Func": "removeBranch", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21408, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "reg_unused_after", "(", "rtx", "reg", ",", "rtx", "insn", ")", "{", "enum", "rtx_code", "code", ";", "rtx", "set", ";", "set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "set", "&&", "GET_CODE", "(", "SET_DEST", "(", "set", ")", ")", "!=", "MEM", "&&", "reg_overlap_mentioned_p", "(", "reg", ",", "SET_DEST", "(", "set", ")", ")", ")", "return", "1", ";", "while", "(", "(", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", ")", "{", "rtx", "set", ";", "if", "(", "!", "INSN_P", "(", "insn", ")", ")", "continue", ";", "code", "=", "GET_CODE", "(", "insn", ")", ";", "if", "(", "code", "==", "CODE_LABEL", ")", "return", "1", ";", "if", "(", "code", "==", "JUMP_INSN", ")", "return", "0", ";", "else", "if", "(", "code", "==", "INSN", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "SEQUENCE", ")", "{", "int", "i", ";", "int", "retval", "=", "0", ";", "for", "(", "i", "=", "0", ";", "i", "<", "XVECLEN", "(", "PATTERN", "(", "insn", ")", ",", "0", ")", ";", "i", "++", ")", "{", "rtx", "this_insn", "=", "XVECEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ",", "i", ")", ";", "rtx", "set", "=", "single_set", "(", "this_insn", ")", ";", "if", "(", "GET_CODE", "(", "this_insn", ")", "==", "CALL_INSN", ")", "code", "=", "CALL_INSN", ";", "else", "if", "(", "GET_CODE", "(", "this_insn", ")", "==", "JUMP_INSN", ")", "{", "if", "(", "INSN_ANNULLED_BRANCH_P", "(", "this_insn", ")", ")", "return", "0", ";", "code", "=", "JUMP_INSN", ";", "}", "if", "(", "set", "&&", "reg_overlap_mentioned_p", "(", "reg", ",", "SET_SRC", "(", "set", ")", ")", ")", "return", "0", ";", "if", "(", "set", "&&", "reg_overlap_mentioned_p", "(", "reg", ",", "SET_DEST", "(", "set", ")", ")", ")", "{", "if", "(", "GET_CODE", "(", "SET_DEST", "(", "set", ")", ")", "!=", "MEM", ")", "retval", "=", "1", ";", "else", "return", "0", ";", "}", "if", "(", "set", "==", "0", "&&", "reg_overlap_mentioned_p", "(", "reg", ",", "PATTERN", "(", "this_insn", ")", ")", ")", "return", "0", ";", "}", "if", "(", "retval", "==", "1", ")", "return", "1", ";", "else", "if", "(", "code", "==", "JUMP_INSN", ")", "return", "0", ";", "}", "set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "set", "&&", "reg_overlap_mentioned_p", "(", "reg", ",", "SET_SRC", "(", "set", ")", ")", ")", "return", "0", ";", "if", "(", "set", "&&", "reg_overlap_mentioned_p", "(", "reg", ",", "SET_DEST", "(", "set", ")", ")", ")", "return", "GET_CODE", "(", "SET_DEST", "(", "set", ")", ")", "!=", "MEM", ";", "if", "(", "set", "==", "0", "&&", "reg_overlap_mentioned_p", "(", "reg", ",", "PATTERN", "(", "insn", ")", ")", ")", "return", "0", ";", "if", "(", "code", "==", "CALL_INSN", "&&", "call_really_used_regs", "[", "REGNO", "(", "reg", ")", "]", ")", "return", "1", ";", "}", "return", "1", ";", "}", ""], "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": ["sh", "1", "1", "0", "0", "0", "0", "0", "0", "0", "1", "0", "0", "0", "1", "1", "0", "0", "0", "0", "1", "1"], "File": "sh3", "Func": "reg_unused_after", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21409, "Length": 394, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "gen_frame_mem_offset", "(", "enum", "machine_mode", "mode", ",", "rtx", "reg", ",", "int", "offset", ")", "{", "rtx", "int_rtx", ",", "offset_rtx", ";", "int_rtx", "=", "GEN_INT", "(", "offset", ")", ";", "if", "(", "(", "TARGET_SPE_ABI", "&&", "SPE_VECTOR_MODE", "(", "mode", ")", ")", "||", "(", "TARGET_E500_DOUBLE", "&&", "mode", "==", "DFmode", ")", ")", "{", "offset_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "FIXED_SCRATCH", ")", ";", "emit_move_insn", "(", "offset_rtx", ",", "int_rtx", ")", ";", "}", "else", "offset_rtx", "=", "int_rtx", ";", "return", "gen_rtx_MEM", "(", "mode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "reg", ",", "offset_rtx", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "offset", "memory", "reference", "suitable", "for", "a", "frame", "store", ",", "while", "converting", "to", "a", "valid", "addressing", "mode", "."], "TS_V_token": ["rs6000"], "File": "rs60003", "Func": "gen_frame_mem_offset", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21410, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MandarinRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "MD", "::", "R31", ":", "MD", "::", "R30", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["Mandarin", "MD::R31", "MD::R30"], "File": "MandarinRegisterInfo", "Func": "getFrameRegister", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21411, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_file_end", "(", "void", ")", "{", "if", "(", "pic_helper_symbol_name", "[", "0", "]", "&&", "!", "pic_helper_emitted_p", ")", "emit_pic_helper", "(", ")", ";", "if", "(", "NEED_INDICATE_EXEC_STACK", ")", "file_end_indicate_exec_stack", "(", ")", ";", "}", ""], "natrual_language": ["Do", "whatever", "processing", "is", "required", "at", "the", "end", "of", "a", "file", "."], "TS_V_token": ["sparc", "0"], "File": "sparc3", "Func": "sparc_file_end", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21412, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMBaseTargetMachine", "::", "ARMBaseTargetMachine", "(", "const", "Target", "&", "T", ",", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "isThumb", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ")", ",", "Subtarget", "(", "TT", ",", "FS", ",", "isThumb", ")", ",", "FrameInfo", "(", "Subtarget", ")", ",", "JITInfo", "(", ")", ",", "InstrItins", "(", "Subtarget", ".", "getInstrItineraryData", "(", ")", ")", "{", "DefRelocModel", "=", "getRelocationModel", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "ARM", "architecture", "model", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMTargetMachine16", "Func": "ARMBaseTargetMachine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21413, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCHazardRecognizer970", "::", "Reset", "(", ")", "{", "EndDispatchGroup", "(", ")", ";", "}", ""], "natrual_language": ["Reset", "the", "unwind", "opcode", "assembler", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCHazardRecognizers", "Func": "Reset", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21414, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "rs6000_emit_eqne", "(", "machine_mode", "mode", ",", "rtx", "op1", ",", "rtx", "op2", ",", "rtx", "scratch", ")", "{", "if", "(", "op2", "==", "const0_rtx", ")", "return", "op1", ";", "if", "(", "GET_CODE", "(", "scratch", ")", "==", "SCRATCH", ")", "scratch", "=", "gen_reg_rtx", "(", "mode", ")", ";", "if", "(", "logical_operand", "(", "op2", ",", "mode", ")", ")", "emit_insn", "(", "gen_rtx_SET", "(", "scratch", ",", "gen_rtx_XOR", "(", "mode", ",", "op1", ",", "op2", ")", ")", ")", ";", "else", "emit_insn", "(", "gen_rtx_SET", "(", "scratch", ",", "gen_rtx_PLUS", "(", "mode", ",", "op1", ",", "negate_rtx", "(", "mode", ",", "op2", ")", ")", ")", ")", ";", "return", "scratch", ";", "}", ""], "natrual_language": ["Emit", "RTL", "that", "sets", "a", "register", "to", "zero", "if", "OP1", "and", "OP2", "are", "equal", ".", "SCRATCH", "can", "be", "used", "as", "that", "dest", "register", ".", "Return", "the", "dest", "register", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_emit_eqne", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21415, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "scalar_int_mode", "sparc_cstore_mode", "(", "enum", "insn_code", "icode", "ATTRIBUTE_UNUSED", ")", "{", "return", "(", "TARGET_ARCH64", "?", "DImode", ":", "SImode", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CSTORE_MODE", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "sparc_cstore_mode", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21416, "Length": 20, "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", ";", "EVT", "VT", ";", "SDValue", "Ptr", ";", "unsigned", "Align", ";", "bool", "isSEXTLoad", "=", "false", ";", "bool", "IsMasked", "=", "false", ";", "if", "(", "LoadSDNode", "*", "LD", "=", "dyn_cast", "<", "LoadSDNode", ">", "(", "N", ")", ")", "{", "Ptr", "=", "LD", "->", "getBasePtr", "(", ")", ";", "VT", "=", "LD", "->", "getMemoryVT", "(", ")", ";", "Align", "=", "LD", "->", "getAlignment", "(", ")", ";", "isSEXTLoad", "=", "LD", "->", "getExtensionType", "(", ")", "==", "ISD", "::", "SEXTLOAD", ";", "}", "else", "if", "(", "StoreSDNode", "*", "ST", "=", "dyn_cast", "<", "StoreSDNode", ">", "(", "N", ")", ")", "{", "Ptr", "=", "ST", "->", "getBasePtr", "(", ")", ";", "VT", "=", "ST", "->", "getMemoryVT", "(", ")", ";", "Align", "=", "ST", "->", "getAlignment", "(", ")", ";", "}", "else", "if", "(", "MaskedLoadSDNode", "*", "LD", "=", "dyn_cast", "<", "MaskedLoadSDNode", ">", "(", "N", ")", ")", "{", "Ptr", "=", "LD", "->", "getBasePtr", "(", ")", ";", "VT", "=", "LD", "->", "getMemoryVT", "(", ")", ";", "Align", "=", "LD", "->", "getAlignment", "(", ")", ";", "isSEXTLoad", "=", "LD", "->", "getExtensionType", "(", ")", "==", "ISD", "::", "SEXTLOAD", ";", "IsMasked", "=", "true", ";", "}", "else", "if", "(", "MaskedStoreSDNode", "*", "ST", "=", "dyn_cast", "<", "MaskedStoreSDNode", ">", "(", "N", ")", ")", "{", "Ptr", "=", "ST", "->", "getBasePtr", "(", ")", ";", "VT", "=", "ST", "->", "getMemoryVT", "(", ")", ";", "Align", "=", "ST", "->", "getAlignment", "(", ")", ";", "IsMasked", "=", "true", ";", "}", "else", "return", "false", ";", "bool", "isInc", ";", "bool", "isLegal", "=", "false", ";", "if", "(", "VT", ".", "isVector", "(", ")", ")", "isLegal", "=", "Subtarget", "->", "hasMVEIntegerOps", "(", ")", "&&", "getMVEIndexedAddressParts", "(", "Ptr", ".", "getNode", "(", ")", ",", "VT", ",", "Align", ",", "isSEXTLoad", ",", "IsMasked", ",", "Subtarget", "->", "isLittle", "(", ")", ",", "Base", ",", "Offset", ",", "isInc", ",", "DAG", ")", ";", "else", "{", "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::SEXTLOAD", "ISD::SEXTLOAD", "ARM", "ISD::PRE_INC", "ISD::PRE_DEC"], "File": "ARMISelLowering (2)6", "Func": "getPreIndexedAddressParts", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21417, "Length": 395, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "ARMTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "ADD", ":", "return", "PerformADDCombine", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SUB", ":", "return", "PerformSUBCombine", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "MUL", ":", "return", "PerformMULCombine", "(", "N", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "OR", ":", "return", "PerformORCombine", "(", "N", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "AND", ":", "return", "PerformANDCombine", "(", "N", ",", "DCI", ")", ";", "case", "ARMISD", "::", "BFI", ":", "return", "PerformBFICombine", "(", "N", ",", "DCI", ")", ";", "case", "ARMISD", "::", "VMOVRRD", ":", "return", "PerformVMOVRRDCombine", "(", "N", ",", "DCI", ")", ";", "case", "ARMISD", "::", "VMOVDRR", ":", "return", "PerformVMOVDRRCombine", "(", "N", ",", "DCI", ".", "DAG", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "PerformSTORECombine", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "BUILD_VECTOR", ":", "return", "PerformBUILD_VECTORCombine", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "INSERT_VECTOR_ELT", ":", "return", "PerformInsertEltCombine", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "VECTOR_SHUFFLE", ":", "return", "PerformVECTOR_SHUFFLECombine", "(", "N", ",", "DCI", ".", "DAG", ")", ";", "case", "ARMISD", "::", "VDUPLANE", ":", "return", "PerformVDUPLANECombine", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "PerformIntrinsicCombine", "(", "N", ",", "DCI", ".", "DAG", ")", ";", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SRL", ":", "return", "PerformShiftCombine", "(", "N", ",", "DCI", ".", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "case", "ISD", "::", "ZERO_EXTEND", ":", "case", "ISD", "::", "ANY_EXTEND", ":", "return", "PerformExtendCombine", "(", "N", ",", "DCI", ".", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "PerformSELECT_CCCombine", "(", "N", ",", "DCI", ".", "DAG", ",", "Subtarget", ")", ";", "case", "ARMISD", "::", "VLD2DUP", ":", "case", "ARMISD", "::", "VLD3DUP", ":", "case", "ARMISD", "::", "VLD4DUP", ":", "return", "CombineBaseUpdate", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "INTRINSIC_VOID", ":", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "switch", "(", "cast", "<", "ConstantSDNode", ">", "(", "N", "->", "getOperand", "(", "1", ")", ")", "->", "getZExtValue", "(", ")", ")", "{", "case", "Intrinsic", "::", "arm_neon_vld1", ":", "case", "Intrinsic", "::", "arm_neon_vld2", ":", "case", "Intrinsic", "::", "arm_neon_vld3", ":", "case", "Intrinsic", "::", "arm_neon_vld4", ":", "case", "Intrinsic", "::", "arm_neon_vld2lane", ":", "case", "Intrinsic", "::", "arm_neon_vld3lane", ":", "case", "Intrinsic", "::", "arm_neon_vld4lane", ":", "case", "Intrinsic", "::", "arm_neon_vst1", ":", "case", "Intrinsic", "::", "arm_neon_vst2", ":", "case", "Intrinsic", "::", "arm_neon_vst3", ":", "case", "Intrinsic", "::", "arm_neon_vst4", ":", "case", "Intrinsic", "::", "arm_neon_vst2lane", ":", "case", "Intrinsic", "::", "arm_neon_vst3lane", ":", "case", "Intrinsic", "::", "arm_neon_vst4lane", ":", "return", "CombineBaseUpdate", "(", "N", ",", "DCI", ")", ";", "default", ":", "break", ";", "}", "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": ["ARM", "ARM", "ISD::ADD", "ISD::SUB", "ISD::MUL", "ISD::OR", "ISD::AND", "ARMISD::BFI", "ARMISD::VMOVRRD", "ARMISD::VMOVDRR", "ISD::STORE", "ISD::BUILD_VECTOR", "ISD::INSERT_VECTOR_ELT", "ISD::VECTOR_SHUFFLE", "ARMISD::VDUPLANE", "ISD::INTRINSIC_WO_CHAIN", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::SIGN_EXTEND", "ISD::ZERO_EXTEND", "ISD::ANY_EXTEND", "ISD::SELECT_CC", "ARMISD::VLD2DUP", "ARMISD::VLD3DUP", "ARMISD::VLD4DUP", "ISD::INTRINSIC_VOID", "ISD::INTRINSIC_W_CHAIN", "1", "Intrinsic::arm_neon_vld1", "Intrinsic::arm_neon_vld2", "Intrinsic::arm_neon_vld3", "Intrinsic::arm_neon_vld4", "Intrinsic::arm_neon_vld2lane", "Intrinsic::arm_neon_vld3lane", "Intrinsic::arm_neon_vld4lane", "Intrinsic::arm_neon_vst1", "Intrinsic::arm_neon_vst2", "Intrinsic::arm_neon_vst3", "Intrinsic::arm_neon_vst4", "Intrinsic::arm_neon_vst2lane", "Intrinsic::arm_neon_vst3lane", "Intrinsic::arm_neon_vst4lane"], "File": "ARMISelLowering131", "Func": "PerformDAGCombine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21418, "Length": 436, "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", ":", "case", "CallingConv", "::", "Swift", ":", "break", ";", "}", "for", "(", "const", "Argument", "&", "Arg", ":", "F", "->", "args", "(", ")", ")", "{", "if", "(", "Arg", ".", "getArgNo", "(", ")", ">=", "4", ")", "return", "false", ";", "if", "(", "Arg", ".", "hasAttribute", "(", "Attribute", "::", "InReg", ")", "||", "Arg", ".", "hasAttribute", "(", "Attribute", "::", "StructRet", ")", "||", "Arg", ".", "hasAttribute", "(", "Attribute", "::", "SwiftSelf", ")", "||", "Arg", ".", "hasAttribute", "(", "Attribute", "::", "SwiftError", ")", "||", "Arg", ".", "hasAttribute", "(", "Attribute", "::", "ByVal", ")", ")", "return", "false", ";", "Type", "*", "ArgTy", "=", "Arg", ".", "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", "MCPhysReg", "GPRArgRegs", "[", "]", "=", "{", "ARM", "::", "R0", ",", "ARM", "::", "R1", ",", "ARM", "::", "R2", ",", "ARM", "::", "R3", "}", ";", "const", "TargetRegisterClass", "*", "RC", "=", "&", "ARM", "::", "rGPRRegClass", ";", "for", "(", "Function", "::", "const_arg_iterator", "I", "=", "F", "->", "arg_begin", "(", ")", ",", "E", "=", "F", "->", "arg_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "unsigned", "ArgNo", "=", "I", "->", "getArgNo", "(", ")", ";", "unsigned", "SrcReg", "=", "GPRArgRegs", "[", "ArgNo", "]", ";", "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", "4", "MVT::i8", "MVT::i16", "MVT::i32", "ARM::R0", "ARM::R1", "ARM::R2", "ARM::R3", "ARM::rGPRRegClass"], "File": "ARMFastISel5", "Func": "fastLowerArguments", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21419, "Length": 412, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86RegisterInfo", "::", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "TM", ".", "getSubtargetImpl", "(", ")", "->", "postRAScheduler", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "live-ins", "should", "be", "tracked", "after", "register", "allocation", "."], "TS_V_token": ["X86", "X86"], "File": "X86RegisterInfo21", "Func": "trackLivenessAfterRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21420, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "ARM_PREALLOC_LOAD_STORE_OPT_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMLoadStoreOptimizer (2)", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21421, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isIndirect", "(", ")", "{", "return", "Target", "!=", "nullptr", "&&", "Target", "->", "isReg", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "whether", "this", "is", "an", "indirect", "value", "."], "TS_V_token": ["SystemZ"], "File": "SystemZInstrInfo (2)2", "Func": "isIndirect", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21422, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CSKYAsmBackend", "::", "fixupNeedsRelaxationAdvanced", "(", "const", "MCFixup", "&", "Fixup", ",", "bool", "Resolved", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ",", "const", "bool", "WasForced", ")", "const", "{", "if", "(", "!", "Resolved", "&&", "!", "WasForced", ")", "return", "true", ";", "int64_t", "Offset", "=", "int64_t", "(", "Value", ")", ";", "switch", "(", "Fixup", ".", "getTargetKind", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "CSKY", "::", "fixup_csky_pcrel_imm10_scale2", ":", "return", "!", "isShiftedInt", "<", "10", ",", "1", ">", "(", "Offset", ")", ";", "case", "CSKY", "::", "fixup_csky_pcrel_imm16_scale2", ":", "return", "!", "isShiftedInt", "<", "16", ",", "1", ">", "(", "Offset", ")", ";", "case", "CSKY", "::", "fixup_csky_pcrel_imm26_scale2", ":", "return", "!", "isShiftedInt", "<", "26", ",", "1", ">", "(", "Offset", ")", ";", "case", "CSKY", "::", "fixup_csky_pcrel_uimm7_scale4", ":", "return", "!", "isShiftedUInt", "<", "8", ",", "2", ">", "(", "Offset", ")", ";", "}", "}", ""], "natrual_language": ["Target", "specific", "predicate", "for", "whether", "a", "given", "fixup", "requires", "the", "associated", "instruction", "to", "be", "relaxed", "."], "TS_V_token": ["CSKY", "CSKY", "CSKY::fixup_csky_pcrel_imm10_scale2", "10", "1", "CSKY::fixup_csky_pcrel_imm16_scale2", "16", "1", "CSKY::fixup_csky_pcrel_imm26_scale2", "26", "1", "CSKY::fixup_csky_pcrel_uimm7_scale4", "8", "2"], "File": "CSKYAsmBackend", "Func": "fixupNeedsRelaxationAdvanced", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21423, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_density_test", "(", "rs6000_cost_data", "*", "data", ")", "{", "const", "int", "DENSITY_PCT_THRESHOLD", "=", "85", ";", "const", "int", "DENSITY_SIZE_THRESHOLD", "=", "70", ";", "const", "int", "DENSITY_PENALTY", "=", "10", ";", "struct", "loop", "*", "loop", "=", "data", "->", "loop_info", ";", "basic_block", "*", "bbs", "=", "get_loop_body", "(", "loop", ")", ";", "int", "nbbs", "=", "loop", "->", "num_nodes", ";", "int", "vec_cost", "=", "data", "->", "cost", "[", "vect_body", "]", ",", "not_vec_cost", "=", "0", ";", "int", "i", ",", "density_pct", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nbbs", ";", "i", "++", ")", "{", "basic_block", "bb", "=", "bbs", "[", "i", "]", ";", "gimple_stmt_iterator", "gsi", ";", "for", "(", "gsi", "=", "gsi_start_bb", "(", "bb", ")", ";", "!", "gsi_end_p", "(", "gsi", ")", ";", "gsi_next", "(", "&", "gsi", ")", ")", "{", "gimple", "stmt", "=", "gsi_stmt", "(", "gsi", ")", ";", "stmt_vec_info", "stmt_info", "=", "vinfo_for_stmt", "(", "stmt", ")", ";", "if", "(", "!", "STMT_VINFO_RELEVANT_P", "(", "stmt_info", ")", "&&", "!", "STMT_VINFO_IN_PATTERN_P", "(", "stmt_info", ")", ")", "not_vec_cost", "++", ";", "}", "}", "free", "(", "bbs", ")", ";", "density_pct", "=", "(", "vec_cost", "*", "100", ")", "/", "(", "vec_cost", "+", "not_vec_cost", ")", ";", "if", "(", "density_pct", ">", "DENSITY_PCT_THRESHOLD", "&&", "vec_cost", "+", "not_vec_cost", ">", "DENSITY_SIZE_THRESHOLD", ")", "{", "data", "->", "cost", "[", "vect_body", "]", "=", "vec_cost", "*", "(", "100", "+", "DENSITY_PENALTY", ")", "/", "100", ";", "if", "(", "dump_enabled_p", "(", ")", ")", "dump_printf_loc", "(", "MSG_NOTE", ",", "vect_location", ",", "\"density %d%%, cost %d exceeds threshold, penalizing \"", "\"loop body cost by %d%%\"", ",", "density_pct", ",", "vec_cost", "+", "not_vec_cost", ",", "DENSITY_PENALTY", ")", ";", "}", "}", ""], "natrual_language": ["Test", "for", "likely", "overcommitment", "of", "vector", "hardware", "resources", ".", "If", "a", "loop", "iteration", "is", "relatively", "large", ",", "and", "too", "large", "a", "percentage", "of", "instructions", "in", "the", "loop", "are", "vectorized", ",", "the", "cost", "model", "may", "not", "adequately", "reflect", "delays", "from", "unavailable", "vector", "resources", ".", "Penalize", "the", "loop", "body", "cost", "for", "this", "case", "."], "TS_V_token": ["rs6000", "85", "70", "10", "0", "0", "100", "100", "100", "\"density %d%%, cost %d exceeds threshold, penalizing \"", "\"loop body cost by %d%%\""], "File": "rs60004", "Func": "rs6000_density_test", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21424, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_expand_ti_to_v1ti", "(", "rtx", "x", ")", "{", "if", "(", "TARGET_SSE2", ")", "{", "rtx", "lo", "=", "gen_lowpart", "(", "DImode", ",", "x", ")", ";", "rtx", "hi", "=", "gen_highpart", "(", "DImode", ",", "x", ")", ";", "rtx", "tmp", "=", "gen_reg_rtx", "(", "V2DImode", ")", ";", "emit_insn", "(", "gen_vec_concatv2di", "(", "tmp", ",", "lo", ",", "hi", ")", ")", ";", "return", "force_reg", "(", "V1TImode", ",", "gen_lowpart", "(", "V1TImode", ",", "tmp", ")", ")", ";", "}", "return", "force_reg", "(", "V1TImode", ",", "gen_lowpart", "(", "V1TImode", ",", "x", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "move", "of", "TI", "mode", "register", "X", "to", "a", "new", "V1TI", "mode", "register", "."], "TS_V_token": ["i386"], "File": "i386-expand", "Func": "ix86_expand_ti_to_v1ti", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21425, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitSparcRegisterIgnore", "(", "unsigned", "reg", ")", "override", "{", "}", ""], "natrual_language": ["Emit", "``", ".register", "<", "reg", ">", ",", "#", "ignore", "''", "."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcTargetStreamer", "Func": "emitSparcRegisterIgnore", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21426, "Length": 9, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "i386_pe_record_exported_symbol", "(", "const", "char", "*", "name", ",", "int", "is_data", ")", "{", "struct", "export_list", "*", "p", ";", "p", "=", "(", "struct", "export_list", "*", ")", "ggc_alloc", "(", "sizeof", "*", "p", ")", ";", "p", "->", "next", "=", "export_head", ";", "p", "->", "name", "=", "name", ";", "p", "->", "is_data", "=", "is_data", ";", "export_head", "=", "p", ";", "}", ""], "natrual_language": ["Assemble", "an", "export", "symbol", "entry", ".", "We", "need", "to", "keep", "a", "list", "of", "these", ",", "so", "that", "we", "can", "output", "the", "export", "list", "at", "the", "end", "of", "the", "assembly", ".", "We", "used", "to", "output", "these", "export", "symbols", "in", "each", "function", ",", "but", "that", "causes", "problems", "with", "GNU", "ld", "when", "the", "sections", "are", "linkonce", "."], "TS_V_token": ["i386"], "File": "winnt3", "Func": "i386_pe_record_exported_symbol", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21427, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "OR1KAsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", "const", "{", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "(", "unsigned", ")", "Kind", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "+", "7", ")", "/", "8", ";", "unsigned", "FullSize", ";", "switch", "(", "(", "unsigned", ")", "Kind", ")", "{", "default", ":", "FullSize", "=", "4", ";", "break", ";", "}", "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", "-", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", ")", ";", "CurVal", "|=", "Value", "&", "Mask", ";", "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": ["OR1K", "OR1K", "7", "8", "4", "0", "0", "1", "8", "1", "64", "0", "1", "8", "0xff"], "File": "OR1KAsmBackend1", "Func": "applyFixup", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21428, "Length": 235, "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", "::", "HI", ")", "&&", "(", "Mips", "::", "CPU16RegsRegClass", ".", "contains", "(", "DestReg", ")", ")", ")", "Opc", "=", "Mips", "::", "Mfhi16", ",", "SrcReg", "=", "0", ";", "else", "if", "(", "(", "SrcReg", "==", "Mips", "::", "LO", ")", "&&", "(", "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::HI", "Mips::CPU16RegsRegClass", "Mips::Mfhi16", "0", "Mips::LO", "Mips::CPU16RegsRegClass", "Mips::Mflo16", "0", "\"Cannot copy registers\""], "File": "Mips16InstrInfo5", "Func": "copyPhysReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21429, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_asm_output_external", "(", "FILE", "*", "stream", ",", "tree", "decl", ",", "const", "char", "*", "name", ")", "{", "default_elf_asm_output_external", "(", "stream", ",", "decl", ",", "name", ")", ";", "aarch64_asm_output_variant_pcs", "(", "stream", ",", "decl", ",", "name", ")", ";", "}", ""], "natrual_language": ["Implement", "ASM_OUTPUT_EXTERNAL", ".", "Output", ".variant_pcs", "for", "undefined", "function", "symbol", "references", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_asm_output_external", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21430, "Length": 35, "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": 21431, "Length": 174, "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", ";", "tree", "fntype", ",", "type", ";", "if", "(", "!", "use_cmse", ")", "{", "*", "no_add_attrs", "=", "true", ";", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute ignored without %<-mcmse%> \"", "\"option\"", ",", "name", ")", ";", "return", "NULL_TREE", ";", "}", "if", "(", "DECL_P", "(", "*", "node", ")", ")", "{", "fntype", "=", "TREE_TYPE", "(", "*", "node", ")", ";", "if", "(", "TREE_CODE", "(", "*", "node", ")", "==", "VAR_DECL", "||", "TREE_CODE", "(", "*", "node", ")", "==", "TYPE_DECL", ")", "decl", "=", "*", "node", ";", "}", "else", "fntype", "=", "*", "node", ";", "while", "(", "fntype", "&&", "TREE_CODE", "(", "fntype", ")", "==", "POINTER_TYPE", ")", "fntype", "=", "TREE_TYPE", "(", "fntype", ")", ";", "if", "(", "(", "DECL_P", "(", "*", "node", ")", "&&", "!", "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", ";", "if", "(", "decl", ")", "{", "type", "=", "build_distinct_type_copy", "(", "TREE_TYPE", "(", "decl", ")", ")", ";", "TREE_TYPE", "(", "decl", ")", "=", "type", ";", "}", "else", "{", "type", "=", "build_distinct_type_copy", "(", "*", "node", ")", ";", "*", "node", "=", "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": "arm1", "Func": "arm_handle_cmse_nonsecure_call", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21432, "Length": 288, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsPassConfig", "::", "addIRPasses", "(", ")", "{", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "addPass", "(", "createAtomicExpandPass", "(", "&", "getMipsTargetMachine", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsTargetMachine45", "Func": "addIRPasses", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21433, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_rtx_costs", "(", "rtx", "x", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "int", "outer_code", ",", "int", "opno", "ATTRIBUTE_UNUSED", ",", "int", "*", "total", ",", "bool", "speed", ")", "{", "bool", "result", ";", "int", "code", "=", "GET_CODE", "(", "x", ")", ";", "if", "(", "TARGET_OLD_RTX_COSTS", "||", "(", "!", "current_tune", "->", "insn_extra_cost", "&&", "!", "TARGET_NEW_GENERIC_COSTS", ")", ")", "{", "if", "(", "!", "speed", ")", "result", "=", "arm_size_rtx_costs", "(", "x", ",", "(", "enum", "rtx_code", ")", "code", ",", "(", "enum", "rtx_code", ")", "outer_code", ",", "total", ")", ";", "else", "result", "=", "current_tune", "->", "rtx_costs", "(", "x", ",", "(", "enum", "rtx_code", ")", "code", ",", "(", "enum", "rtx_code", ")", "outer_code", ",", "total", ",", "speed", ")", ";", "}", "else", "{", "if", "(", "current_tune", "->", "insn_extra_cost", ")", "result", "=", "arm_new_rtx_costs", "(", "x", ",", "(", "enum", "rtx_code", ")", "code", ",", "(", "enum", "rtx_code", ")", "outer_code", ",", "current_tune", "->", "insn_extra_cost", ",", "total", ",", "speed", ")", ";", "else", "result", "=", "arm_new_rtx_costs", "(", "x", ",", "(", "enum", "rtx_code", ")", "code", ",", "(", "enum", "rtx_code", ")", "outer_code", ",", "&", "generic_extra_costs", ",", "total", ",", "speed", ")", ";", "}", "if", "(", "dump_file", "&&", "(", "dump_flags", "&", "TDF_DETAILS", ")", ")", "{", "print_rtl_single", "(", "dump_file", ",", "x", ")", ";", "fprintf", "(", "dump_file", ",", "\"\\n%s cost: %d (%s)\\n\"", ",", "speed", "?", "\"Hot\"", ":", "\"Cold\"", ",", "*", "total", ",", "result", "?", "\"final\"", ":", "\"partial\"", ")", ";", "}", "return", "result", ";", "}", ""], "natrual_language": ["RTX", "costs", "when", "optimizing", "for", "size", "."], "TS_V_token": ["arm", "\"\\n%s cost: %d (%s)\\n\"", "\"Hot\"", "\"Cold\"", "\"final\"", "\"partial\""], "File": "arm5", "Func": "arm_rtx_costs", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21434, "Length": 213, "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", "=", "std", "::", "max", "<", "uint32_t", ">", "(", "RC", "->", "getSize", "(", ")", ",", "16", ")", ";", "bool", "isAligned", "=", "(", "Subtarget", ".", "getFrameLowering", "(", ")", "->", "getStackAlignment", "(", ")", ">=", "Alignment", ")", "||", "RI", ".", "canRealignStack", "(", "MF", ")", ";", "unsigned", "Opc", "=", "getStoreRegOpcode", "(", "SrcReg", ",", "RC", ",", "isAligned", ",", "Subtarget", ")", ";", "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\"", "16"], "File": "X86InstrInfo10", "Func": "storeRegToStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21435, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiAsmPrinter", "::", "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": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["Lanai", "Lanai"], "File": "LanaiAsmPrinter3", "Func": "emitInstruction", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21436, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "TargetTransformInfo", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AArch64"], "File": "AArch64TargetTransformInfo19", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21437, "Length": 19, "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", "(", "hasMips64", "(", ")", "?", "&", "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", "Mips::GPR64RegClass", "Mips::GPR32RegClass"], "File": "MipsSubtarget16", "Func": "enablePostRAScheduler", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21438, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasAndNotCompare", "(", "SDValue", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "should", "transform", ":", "(", "X", "&", "Y", ")", "==", "Y", "\ufffd", "?", "(", "~X", "&", "Y", ")", "==", "0", "(", "X", "&", "Y", ")", "!", "=", "Y", "\ufffd", "?", "(", "~X", "&", "Y", ")", "!", "=", "0", "."], "TS_V_token": ["AArch64"], "File": "AArch64ISelLowering101", "Func": "hasAndNotCompare", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21439, "Length": 12, "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", ":", "case", "Mips", "::", "INSERT_B_VIDX64_PSEUDO", ":", "return", "emitINSERT_DF_VIDX", "(", "MI", ",", "BB", ",", "1", ",", "false", ")", ";", "case", "Mips", "::", "INSERT_H_VIDX_PSEUDO", ":", "case", "Mips", "::", "INSERT_H_VIDX64_PSEUDO", ":", "return", "emitINSERT_DF_VIDX", "(", "MI", ",", "BB", ",", "2", ",", "false", ")", ";", "case", "Mips", "::", "INSERT_W_VIDX_PSEUDO", ":", "case", "Mips", "::", "INSERT_W_VIDX64_PSEUDO", ":", "return", "emitINSERT_DF_VIDX", "(", "MI", ",", "BB", ",", "4", ",", "false", ")", ";", "case", "Mips", "::", "INSERT_D_VIDX_PSEUDO", ":", "case", "Mips", "::", "INSERT_D_VIDX64_PSEUDO", ":", "return", "emitINSERT_DF_VIDX", "(", "MI", ",", "BB", ",", "8", ",", "false", ")", ";", "case", "Mips", "::", "INSERT_FW_VIDX_PSEUDO", ":", "case", "Mips", "::", "INSERT_FW_VIDX64_PSEUDO", ":", "return", "emitINSERT_DF_VIDX", "(", "MI", ",", "BB", ",", "4", ",", "true", ")", ";", "case", "Mips", "::", "INSERT_FD_VIDX_PSEUDO", ":", "case", "Mips", "::", "INSERT_FD_VIDX64_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", "Mips::INSERT_B_VIDX64_PSEUDO", "1", "Mips::INSERT_H_VIDX_PSEUDO", "Mips::INSERT_H_VIDX64_PSEUDO", "2", "Mips::INSERT_W_VIDX_PSEUDO", "Mips::INSERT_W_VIDX64_PSEUDO", "4", "Mips::INSERT_D_VIDX_PSEUDO", "Mips::INSERT_D_VIDX64_PSEUDO", "8", "Mips::INSERT_FW_VIDX_PSEUDO", "Mips::INSERT_FW_VIDX64_PSEUDO", "4", "Mips::INSERT_FD_VIDX_PSEUDO", "Mips::INSERT_FD_VIDX64_PSEUDO", "8", "Mips::FILL_FW_PSEUDO", "Mips::FILL_FD_PSEUDO", "Mips::FEXP2_W_1_PSEUDO", "Mips::FEXP2_D_1_PSEUDO"], "File": "MipsSEISelLowering (2)4", "Func": "EmitInstrWithCustomInserter", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21440, "Length": 458, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetMachine", "::", "addPreEmitPass", "(", "PassManagerBase", "&", "PM", ")", "{", "PM", ".", "add", "(", "createPPCBranchSelectionPass", "(", ")", ")", ";", "return", "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"], "File": "PPCTargetMachine64", "Func": "addPreEmitPass", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21441, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "output_ascii", "(", "FILE", "*", "file", ",", "const", "char", "*", "p", ",", "int", "size", ")", "{", "int", "i", ";", "int", "chars_output", ";", "unsigned", "char", "partial_output", "[", "16", "]", ";", "fputs", "(", "\"\\t.STRING \\\"\"", ",", "file", ")", ";", "chars_output", "=", "0", ";", "for", "(", "i", "=", "0", ";", "i", "<", "size", ";", "i", "+=", "4", ")", "{", "int", "co", "=", "0", ";", "int", "io", "=", "0", ";", "for", "(", "io", "=", "0", ",", "co", "=", "0", ";", "io", "<", "MIN", "(", "4", ",", "size", "-", "i", ")", ";", "io", "++", ")", "{", "register", "unsigned", "int", "c", "=", "(", "unsigned", "char", ")", "p", "[", "i", "+", "io", "]", ";", "if", "(", "c", "==", "'\\\"'", "||", "c", "==", "'\\\\'", ")", "partial_output", "[", "co", "++", "]", "=", "'\\\\'", ";", "if", "(", "c", ">=", "' '", "&&", "c", "<", "0177", ")", "partial_output", "[", "co", "++", "]", "=", "c", ";", "else", "{", "unsigned", "int", "hexd", ";", "partial_output", "[", "co", "++", "]", "=", "'\\\\'", ";", "partial_output", "[", "co", "++", "]", "=", "'x'", ";", "hexd", "=", "c", "/", "16", "-", "0", "+", "'0'", ";", "if", "(", "hexd", ">", "'9'", ")", "hexd", "-=", "'9'", "-", "'a'", "+", "1", ";", "partial_output", "[", "co", "++", "]", "=", "hexd", ";", "hexd", "=", "c", "%", "16", "-", "0", "+", "'0'", ";", "if", "(", "hexd", ">", "'9'", ")", "hexd", "-=", "'9'", "-", "'a'", "+", "1", ";", "partial_output", "[", "co", "++", "]", "=", "hexd", ";", "}", "}", "if", "(", "chars_output", "+", "co", ">", "243", ")", "{", "fputs", "(", "\"\\\"\\n\\t.STRING \\\"\"", ",", "file", ")", ";", "chars_output", "=", "0", ";", "}", "fwrite", "(", "partial_output", ",", "1", ",", "(", "size_t", ")", "co", ",", "file", ")", ";", "chars_output", "+=", "co", ";", "co", "=", "0", ";", "}", "fputs", "(", "\"\\\"\\n\"", ",", "file", ")", ";", "}", ""], "natrual_language": ["Output", "an", "assembler", "pseudo-op", "to", "write", "an", "ASCII", "string", "of", "N", "characters", "starting", "at", "P", "to", "FILE", ".", "On", "the", "RS/6000", ",", "we", "have", "to", "do", "this", "using", "the", ".byte", "operation", "and", "write", "out", "special", "characters", "outside", "the", "quoted", "string", ".", "Also", ",", "the", "assembler", "is", "broken", ";", "very", "long", "strings", "are", "truncated", ",", "so", "we", "must", "artificially", "break", "them", "up", "early", "."], "TS_V_token": ["pa", "16", "\"\\t.STRING \\\"\"", "0", "0", "4", "0", "0", "0", "0", "4", "0177", "16", "0", "1", "16", "0", "1", "243", "\"\\\"\\n\\t.STRING \\\"\"", "0", "1", "0", "\"\\\"\\n\""], "File": "pa3", "Func": "output_ascii", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21442, "Length": 282, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "MCP", "=", "MF", ".", "getConstantPool", "(", ")", ";", "if", "(", "Subtarget", "->", "isTargetNaCl", "(", ")", ")", "{", "NaClAlignAllJumpTargetsAndConstantPools", "(", "MF", ")", ";", "}", "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": "ARMAsmPrinter104", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21443, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "arm_promoted_type", "(", "const_tree", "t", ")", "{", "if", "(", "SCALAR_FLOAT_TYPE_P", "(", "t", ")", "&&", "TYPE_PRECISION", "(", "t", ")", "==", "16", "&&", "TYPE_MAIN_VARIANT", "(", "t", ")", "==", "arm_fp16_type_node", ")", "return", "float_type_node", ";", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PROMOTED_TYPE", "."], "TS_V_token": ["arm", "16"], "File": "arm", "Func": "arm_promoted_type", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21444, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PassConfig", "::", "addILPOpts", "(", ")", "{", "if", "(", "EnableCondOpt", ")", "addPass", "(", "createAArch64ConditionOptimizerPass", "(", ")", ")", ";", "if", "(", "EnableCCMP", ")", "addPass", "(", "createAArch64ConditionalCompares", "(", ")", ")", ";", "if", "(", "EnableMCR", ")", "addPass", "(", "&", "MachineCombinerID", ")", ";", "if", "(", "EnableCondBrTuning", ")", "addPass", "(", "createAArch64CondBrTuning", "(", ")", ")", ";", "if", "(", "EnableEarlyIfConversion", ")", "addPass", "(", "&", "EarlyIfConverterID", ")", ";", "if", "(", "EnableStPairSuppress", ")", "addPass", "(", "createAArch64StorePairSuppressPass", "(", ")", ")", ";", "addPass", "(", "createAArch64SIMDInstrOptPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createAArch64StackTaggingPreRAPass", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Add", "passes", "that", "optimize", "instruction", "level", "parallelism", "for", "out-of-order", "targets", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine1", "Func": "addILPOpts", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21445, "Length": 101, "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": 21446, "Length": 42, "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", "(", ")", ".", "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": "MipsISelLowering3", "Func": "getOpndList", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21447, "Length": 379, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "set_src_needs_barrier", "(", "rtx", "x", ",", "struct", "reg_flags", "flags", ",", "int", "pred", ")", "{", "int", "need_barrier", "=", "0", ";", "rtx", "dst", ";", "rtx", "src", "=", "SET_SRC", "(", "x", ")", ";", "if", "(", "GET_CODE", "(", "src", ")", "==", "CALL", ")", "return", "rtx_needs_barrier", "(", "src", ",", "flags", ",", "pred", ")", ";", "else", "if", "(", "SET_DEST", "(", "x", ")", "==", "pc_rtx", ")", "{", "if", "(", "!", "ia64_spec_check_src_p", "(", "src", ")", ")", "flags", ".", "is_branch", "=", "1", ";", "return", "rtx_needs_barrier", "(", "src", ",", "flags", ",", "pred", ")", ";", "}", "if", "(", "ia64_spec_check_src_p", "(", "src", ")", ")", "{", "gcc_assert", "(", "REG_P", "(", "XEXP", "(", "src", ",", "2", ")", ")", ")", ";", "need_barrier", "=", "rtx_needs_barrier", "(", "XEXP", "(", "src", ",", "2", ")", ",", "flags", ",", "pred", ")", ";", "src", "=", "XEXP", "(", "src", ",", "1", ")", ";", "}", "need_barrier", "|=", "rtx_needs_barrier", "(", "src", ",", "flags", ",", "pred", ")", ";", "dst", "=", "SET_DEST", "(", "x", ")", ";", "if", "(", "GET_CODE", "(", "dst", ")", "==", "ZERO_EXTRACT", ")", "{", "need_barrier", "|=", "rtx_needs_barrier", "(", "XEXP", "(", "dst", ",", "1", ")", ",", "flags", ",", "pred", ")", ";", "need_barrier", "|=", "rtx_needs_barrier", "(", "XEXP", "(", "dst", ",", "2", ")", ",", "flags", ",", "pred", ")", ";", "}", "return", "need_barrier", ";", "}", ""], "natrual_language": ["Subroutine", "of", "rtx_needs_barrier", ";", "this", "function", "determines", "whether", "the", "source", "of", "a", "given", "SET", "rtx", "found", "in", "X", "needs", "a", "barrier", ".", "FLAGS", "and", "PRED", "are", "as", "in", "rtx_needs_barrier", ".", "COND", "is", "an", "rtx", "that", "holds", "the", "condition", "for", "this", "insn", "."], "TS_V_token": ["ia64", "0", "1", "2", "2", "1", "1", "2"], "File": "ia64", "Func": "set_src_needs_barrier", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21448, "Length": 198, "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": 21449, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "PPCInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "PPCInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "GuaranteedTailCallOpt", "&&", "I", "->", "getOpcode", "(", ")", "==", "PPC", "::", "ADJCALLSTACKUP", ")", "{", "if", "(", "int", "CalleeAmt", "=", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ")", "{", "bool", "is64Bit", "=", "Subtarget", ".", "isPPC64", "(", ")", ";", "CalleeAmt", "*=", "-", "1", ";", "unsigned", "StackReg", "=", "is64Bit", "?", "PPC", "::", "X1", ":", "PPC", "::", "R1", ";", "unsigned", "TmpReg", "=", "is64Bit", "?", "PPC", "::", "X0", ":", "PPC", "::", "R0", ";", "unsigned", "ADDIInstr", "=", "is64Bit", "?", "PPC", "::", "ADDI8", ":", "PPC", "::", "ADDI", ";", "unsigned", "ADDInstr", "=", "is64Bit", "?", "PPC", "::", "ADD8", ":", "PPC", "::", "ADD4", ";", "unsigned", "LISInstr", "=", "is64Bit", "?", "PPC", "::", "LIS8", ":", "PPC", "::", "LIS", ";", "unsigned", "ORIInstr", "=", "is64Bit", "?", "PPC", "::", "ORI8", ":", "PPC", "::", "ORI", ";", "MachineInstr", "*", "MI", "=", "I", ";", "DebugLoc", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "isInt", "<", "16", ">", "(", "CalleeAmt", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "TII", ".", "get", "(", "ADDIInstr", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "CalleeAmt", ")", ";", "}", "else", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "I", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "LISInstr", ")", ",", "TmpReg", ")", ".", "addImm", "(", "CalleeAmt", ">>", "16", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ORIInstr", ")", ",", "TmpReg", ")", ".", "addReg", "(", "TmpReg", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "CalleeAmt", "&", "0xFFFF", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ADDInstr", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "TmpReg", ")", ";", "}", "}", "}", "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": ["PowerPC", "PPC", "PPC", "PPC", "PPC::ADJCALLSTACKUP", "1", "PPC", "1", "PPC::X1", "PPC::R1", "PPC::X0", "PPC::R0", "PPC::ADDI8", "PPC::ADDI", "PPC::ADD8", "PPC::ADD4", "PPC::LIS8", "PPC::LIS", "PPC::ORI8", "PPC::ORI", "16", "16", "0xFFFF"], "File": "PPCFrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21450, "Length": 346, "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": 21451, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "gimple", "*", "gimple_fold_builtin", "(", "unsigned", "int", "code", ",", "gimple_stmt_iterator", "*", "gsi", ",", "gcall", "*", "stmt", ")", "{", "registered_function", "&", "rfn", "=", "*", "(", "*", "registered_functions", ")", "[", "code", "]", ";", "return", "gimple_folder", "(", "rfn", ".", "instance", ",", "rfn", ".", "decl", ",", "gsi", ",", "stmt", ")", ".", "fold", "(", ")", ";", "}", ""], "natrual_language": ["Attempt", "to", "fold", "STMT", ",", "given", "that", "it", "'s", "a", "call", "to", "the", "SVE", "function", "with", "subcode", "CODE", ".", "Return", "the", "new", "statement", "on", "success", "and", "null", "on", "failure", ".", "Insert", "any", "other", "new", "statements", "at", "GSI", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "gimple_fold_builtin", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21452, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SystemZDAGToDAGISel", "::", "getUNDEF", "(", "const", "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)1", "Func": "getUNDEF", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21453, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "expand_vselect_vconcat", "(", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ",", "const", "unsigned", "char", "*", "perm", ",", "unsigned", "nelt", ",", "bool", "testing_p", ")", "{", "machine_mode", "v2mode", ";", "rtx", "x", ";", "bool", "ok", ";", "if", "(", "vselect_insn", "==", "NULL_RTX", ")", "init_vselect_insn", "(", ")", ";", "if", "(", "!", "GET_MODE_2XWIDER_MODE", "(", "GET_MODE", "(", "op0", ")", ")", ".", "exists", "(", "&", "v2mode", ")", ")", "return", "false", ";", "x", "=", "XEXP", "(", "SET_SRC", "(", "PATTERN", "(", "vselect_insn", ")", ")", ",", "0", ")", ";", "PUT_MODE", "(", "x", ",", "v2mode", ")", ";", "XEXP", "(", "x", ",", "0", ")", "=", "op0", ";", "XEXP", "(", "x", ",", "1", ")", "=", "op1", ";", "ok", "=", "expand_vselect", "(", "target", ",", "x", ",", "perm", ",", "nelt", ",", "testing_p", ")", ";", "XEXP", "(", "x", ",", "0", ")", "=", "const0_rtx", ";", "XEXP", "(", "x", ",", "1", ")", "=", "const0_rtx", ";", "return", "ok", ";", "}", ""], "natrual_language": ["Similar", ",", "but", "generate", "a", "vec_concat", "from", "op0", "and", "op1", "as", "well", "."], "TS_V_token": ["i386", "0", "0", "1", "0", "1"], "File": "i386-expand", "Func": "expand_vselect_vconcat", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21454, "Length": 142, "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", ")", "{", "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", "->", "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": "X86Operand24", "Func": "CreateMem", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21455, "Length": 217, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "MVT", "getShiftAmountTy", "(", "EVT", "LHSTy", ")", "const", "{", "return", "MVT", "::", "i32", ";", "}", ""], "natrual_language": ["Returns", "the", "type", "for", "the", "shift", "amount", "of", "a", "shift", "opcode", "."], "TS_V_token": ["PowerPC", "MVT::i32"], "File": "PPCISelLowering10", "Func": "getShiftAmountTy", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21456, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_modes_tieable_p", "(", "machine_mode", "mode1", ",", "machine_mode", "mode2", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "mode1", ")", "==", "GET_MODE_CLASS", "(", "mode2", ")", ")", "return", "true", ";", "if", "(", "TARGET_HAVE_MVE", "&&", "(", "VALID_MVE_PRED_MODE", "(", "mode1", ")", "&&", "VALID_MVE_PRED_MODE", "(", "mode2", ")", ")", ")", "return", "true", ";", "if", "(", "(", "TARGET_NEON", "&&", "(", "VALID_NEON_DREG_MODE", "(", "mode1", ")", "||", "VALID_NEON_QREG_MODE", "(", "mode1", ")", "||", "VALID_NEON_STRUCT_MODE", "(", "mode1", ")", ")", "&&", "(", "VALID_NEON_DREG_MODE", "(", "mode2", ")", "||", "VALID_NEON_QREG_MODE", "(", "mode2", ")", "||", "VALID_NEON_STRUCT_MODE", "(", "mode2", ")", ")", ")", "||", "(", "TARGET_HAVE_MVE", "&&", "(", "VALID_MVE_MODE", "(", "mode1", ")", "||", "VALID_MVE_STRUCT_MODE", "(", "mode1", ")", ")", "&&", "(", "VALID_MVE_MODE", "(", "mode2", ")", "||", "VALID_MVE_STRUCT_MODE", "(", "mode2", ")", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "MODES_TIEABLE_P", "."], "TS_V_token": ["arm"], "File": "arm1", "Func": "arm_modes_tieable_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21457, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isGPRCopy", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "TargetOpcode", "::", "COPY", ":", "{", "unsigned", "DstReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "return", "(", "AArch64", "::", "GPR32RegClass", ".", "contains", "(", "DstReg", ")", "||", "AArch64", "::", "GPR64RegClass", ".", "contains", "(", "DstReg", ")", ")", ";", "}", "case", "AArch64", "::", "ORRXrs", ":", "if", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "AArch64", "::", "XZR", ")", "{", "assert", "(", "MI", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", "==", "4", "&&", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "==", "0", "&&", "\"invalid ORRrs operands\"", ")", ";", "return", "true", ";", "}", "break", ";", "case", "AArch64", "::", "ADDXri", ":", "if", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "0", ")", "{", "assert", "(", "MI", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", "==", "4", "&&", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "==", "0", "&&", "\"invalid ADDXri operands\"", ")", ";", "return", "true", ";", "}", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Does", "this", "instruction", "rename", "a", "GPR", "without", "modifying", "bits", "?"], "TS_V_token": ["AArch64", "AArch64", "0", "AArch64::GPR32RegClass", "AArch64::GPR64RegClass", "AArch64::ORRXrs", "1", "AArch64::XZR", "4", "3", "0", "\"invalid ORRrs operands\"", "AArch64::ADDXri", "2", "0", "4", "3", "0", "\"invalid ADDXri operands\""], "File": "AArch64InstrInfo1", "Func": "isGPRCopy", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21458, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsInstrInfo", "::", "SafeInFPUDelaySlot", "(", "const", "MachineInstr", "&", "MIInSlot", ",", "const", "MachineInstr", "&", "FPUMI", ")", "const", "{", "if", "(", "MIInSlot", ".", "isInlineAsm", "(", ")", ")", "return", "false", ";", "if", "(", "HasFPUDelaySlot", "(", "MIInSlot", ")", ")", "return", "false", ";", "switch", "(", "MIInSlot", ".", "getOpcode", "(", ")", ")", "{", "case", "Mips", "::", "BC1F", ":", "case", "Mips", "::", "BC1FL", ":", "case", "Mips", "::", "BC1T", ":", "case", "Mips", "::", "BC1TL", ":", "return", "false", ";", "}", "for", "(", "const", "MachineOperand", "&", "Op", ":", "FPUMI", ".", "defs", "(", ")", ")", "{", "if", "(", "!", "Op", ".", "isReg", "(", ")", ")", "continue", ";", "bool", "Reads", ",", "Writes", ";", "std", "::", "tie", "(", "Reads", ",", "Writes", ")", "=", "MIInSlot", ".", "readsWritesVirtualRegister", "(", "Op", ".", "getReg", "(", ")", ")", ";", "if", "(", "Reads", "||", "Writes", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Predicate", "to", "determine", "if", "an", "instruction", "can", "go", "in", "an", "FPU", "delay", "slot", "."], "TS_V_token": ["Mips", "Mips", "Mips::BC1F", "Mips::BC1FL", "Mips::BC1T", "Mips::BC1TL"], "File": "MipsInstrInfo29", "Func": "SafeInFPUDelaySlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21459, "Length": 135, "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": ["Mandarin"], "File": "MandarinTargetMachine", "Func": "getDataLayout", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21460, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"PowerPC Machine Code Emitter\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["PowerPC", "\"PowerPC Machine Code Emitter\""], "File": "PPCCodeEmitter1", "Func": "getPassName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21461, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FastISel", "::", "isTypeLegal", "(", "const", "Type", "*", "Ty", ",", "EVT", "&", "VT", ",", "bool", "AllowI1", ")", "{", "VT", "=", "TLI", ".", "getValueType", "(", "Ty", ",", "true", ")", ";", "if", "(", "VT", "==", "MVT", "::", "Other", "||", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "if", "(", "VT", "==", "MVT", "::", "f64", "&&", "!", "X86ScalarSSEf64", ")", "return", "false", ";", "if", "(", "VT", "==", "MVT", "::", "f32", "&&", "!", "X86ScalarSSEf32", ")", "return", "false", ";", "if", "(", "VT", "==", "MVT", "::", "f80", ")", "return", "false", ";", "return", "(", "AllowI1", "&&", "VT", "==", "MVT", "::", "i1", ")", "||", "TLI", ".", "isTypeLegal", "(", "VT", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "type", "is", "legal", "."], "TS_V_token": ["X86", "X86", "MVT::Other", "MVT::f64", "X86", "MVT::f32", "X86", "MVT::f80", "MVT::i1"], "File": "X86FastISel117", "Func": "isTypeLegal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21462, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Cheri128 fail hard\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"Cheri128 fail hard\""], "File": "Cheri128FailHard", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21463, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "hasCopyImplyingStackAdjustment", "(", "const", "MachineFunction", "&", "MF", ")", "{", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "return", "any_of", "(", "MRI", ".", "reg_instructions", "(", "X86", "::", "EFLAGS", ")", ",", "[", "]", "(", "const", "MachineInstr", "&", "RI", ")", "{", "return", "RI", ".", "isCopy", "(", ")", ";", "}", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "function", "contains", "operations", "which", "will", "lower", "down", "to", "instructions", "which", "manipulate", "the", "stack", "pointer", "."], "TS_V_token": ["X86", "X86::EFLAGS"], "File": "X86ISelLowering102", "Func": "hasCopyImplyingStackAdjustment", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21464, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86DiscriminateMemOps", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DISubprogram", "*", "FDI", "=", "MF", ".", "getFunction", "(", ")", ".", "getSubprogram", "(", ")", ";", "if", "(", "!", "FDI", "||", "!", "FDI", "->", "getUnit", "(", ")", "->", "getDebugInfoForProfiling", "(", ")", ")", "return", "false", ";", "const", "DILocation", "*", "ReferenceDI", "=", "DILocation", "::", "get", "(", "FDI", "->", "getContext", "(", ")", ",", "FDI", "->", "getLine", "(", ")", ",", "0", ",", "FDI", ")", ";", "DenseMap", "<", "Location", ",", "unsigned", ">", "MemOpDiscriminators", ";", "MemOpDiscriminators", "[", "diToLocation", "(", "ReferenceDI", ")", "]", "=", "0", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "const", "auto", "&", "DI", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "if", "(", "!", "DI", ")", "continue", ";", "Location", "Loc", "=", "diToLocation", "(", "DI", ")", ";", "MemOpDiscriminators", "[", "Loc", "]", "=", "std", "::", "max", "(", "MemOpDiscriminators", "[", "Loc", "]", ",", "DI", "->", "getBaseDiscriminator", "(", ")", ")", ";", "}", "}", "DenseMap", "<", "Location", ",", "DenseSet", "<", "unsigned", ">>", "Seen", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "if", "(", "X86II", "::", "getMemoryOperandNo", "(", "MI", ".", "getDesc", "(", ")", ".", "TSFlags", ")", "<", "0", ")", "continue", ";", "const", "DILocation", "*", "DI", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "if", "(", "!", "DI", ")", "{", "DI", "=", "ReferenceDI", ";", "}", "Location", "L", "=", "diToLocation", "(", "DI", ")", ";", "DenseSet", "<", "unsigned", ">", "&", "Set", "=", "Seen", "[", "L", "]", ";", "const", "std", "::", "pair", "<", "DenseSet", "<", "unsigned", ">", "::", "iterator", ",", "bool", ">", "TryInsert", "=", "Set", ".", "insert", "(", "DI", "->", "getBaseDiscriminator", "(", ")", ")", ";", "if", "(", "!", "TryInsert", ".", "second", ")", "{", "unsigned", "BF", ",", "DF", ",", "CI", "=", "0", ";", "DILocation", "::", "decodeDiscriminator", "(", "DI", "->", "getDiscriminator", "(", ")", ",", "BF", ",", "DF", ",", "CI", ")", ";", "Optional", "<", "unsigned", ">", "EncodedDiscriminator", "=", "DILocation", "::", "encodeDiscriminator", "(", "MemOpDiscriminators", "[", "L", "]", "+", "1", ",", "DF", ",", "CI", ")", ";", "if", "(", "!", "EncodedDiscriminator", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Unable to create a unique discriminator \"", "\"for instruction with memory operand in: \"", "<<", "DI", "->", "getFilename", "(", ")", "<<", "\" Line: \"", "<<", "DI", "->", "getLine", "(", ")", "<<", "\" Column: \"", "<<", "DI", "->", "getColumn", "(", ")", "<<", "\". This is likely due to a large macro expansion. \\n\"", ")", ";", "continue", ";", "}", "++", "MemOpDiscriminators", "[", "L", "]", ";", "DI", "=", "DI", "->", "cloneWithDiscriminator", "(", "EncodedDiscriminator", ".", "getValue", "(", ")", ")", ";", "updateDebugInfo", "(", "&", "MI", ",", "DI", ")", ";", "Changed", "=", "true", ";", "std", "::", "pair", "<", "DenseSet", "<", "unsigned", ">", "::", "iterator", ",", "bool", ">", "MustInsert", "=", "Set", ".", "insert", "(", "DI", "->", "getBaseDiscriminator", "(", ")", ")", ";", "(", "void", ")", "MustInsert", ";", "assert", "(", "MustInsert", ".", "second", "&&", "\"New discriminator shouldn't be present in set\"", ")", ";", "}", "ReferenceDI", "=", "DI", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "0", "0", "X86II::getMemoryOperandNo", "0", "0", "1", "\"Unable to create a unique discriminator \"", "\"for instruction with memory operand in: \"", "\" Line: \"", "\" Column: \"", "\". This is likely due to a large macro expansion. \\n\"", "\"New discriminator shouldn't be present in set\""], "File": "X86DiscriminateMemOps", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21465, "Length": 456, "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": 21466, "Length": 18, "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": 21467, "Length": 442, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "preferIncOfAddToSubOfNot", "(", "EVT", "VT", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "hasNEON", "(", ")", ")", "{", "if", "(", "Subtarget", "->", "isThumb1Only", "(", ")", ")", "return", "VT", ".", "getScalarSizeInBits", "(", ")", "<=", "32", ";", "return", "true", ";", "}", "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": ["ARM", "ARM", "32"], "File": "ARMISelLowering (2)5", "Func": "preferIncOfAddToSubOfNot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21468, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "SystemZInstrInfo", "::", "convertToThreeAddress", "(", "MachineInstr", "&", "MI", ",", "LiveVariables", "*", "LV", ",", "LiveIntervals", "*", "LIS", ")", "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", ")", ";", "}", "}", "if", "(", "LIS", ")", "LIS", "->", "ReplaceMachineInstrInMaps", "(", "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": "SystemZInstrInfo16", "Func": "convertToThreeAddress", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21469, "Length": 355, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "return", "rs6000_hard_regno_mode_ok_p", "[", "mode", "]", "[", "regno", "]", ";", "}", ""], "natrual_language": ["Value", "is", "1", "if", "hard", "register", "REGNO", "can", "hold", "a", "value", "of", "machine-mode", "MODE", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_hard_regno_mode_ok", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21470, "Length": 22, "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", "NULL", ";", "MI", "=", "TargetInstrInfo", "::", "commuteInstruction", "(", "MI", ",", "NewMI", ")", ";", "if", "(", "!", "MI", ")", "return", "NULL", ";", "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": "ARMBaseInstrInfo (2)", "Func": "commuteInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21471, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", ">=", "CodeGenOpt", "::", "Aggressive", "&&", "EnableLoadStoreOpt", ")", "addPass", "(", "createAArch64LoadStoreOptimizationPass", "(", ")", ")", ";", "if", "(", "EnableA53Fix835769", ")", "addPass", "(", "createAArch64A53Fix835769", "(", ")", ")", ";", "if", "(", "EnableBranchTargets", ")", "addPass", "(", "createAArch64BranchTargetsPass", "(", ")", ")", ";", "if", "(", "BranchRelaxation", ")", "addPass", "(", "&", "BranchRelaxationPassID", ")", ";", "if", "(", "TM", "->", "getTargetTriple", "(", ")", ".", "isOSWindows", "(", ")", ")", "addPass", "(", "createCFGuardLongjmpPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableCompressJumpTables", ")", "addPass", "(", "createAArch64CompressJumpTablesPass", "(", ")", ")", ";", "addPass", "(", "createAArch64ExpandHardenedPseudosPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableCollectLOH", "&&", "TM", "->", "getTargetTriple", "(", ")", ".", "isOSBinFormatMachO", "(", ")", ")", "addPass", "(", "createAArch64CollectLOHPass", "(", ")", ")", ";", "}", ""], "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", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine90", "Func": "addPreEmitPass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21472, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "findDeadCallerSavedReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "const", "TargetRegisterInfo", "&", "TRI", ",", "bool", "Is64Bit", ")", "{", "const", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "Function", "*", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "if", "(", "!", "F", "||", "MF", "->", "getMMI", "(", ")", ".", "callsEHReturn", "(", ")", ")", "return", "0", ";", "static", "const", "uint16_t", "CallerSavedRegs32Bit", "[", "]", "=", "{", "X86", "::", "EAX", ",", "X86", "::", "EDX", ",", "X86", "::", "ECX", ",", "0", "}", ";", "static", "const", "uint16_t", "CallerSavedRegs64Bit", "[", "]", "=", "{", "X86", "::", "RAX", ",", "X86", "::", "RDX", ",", "X86", "::", "RCX", ",", "X86", "::", "RSI", ",", "X86", "::", "RDI", ",", "X86", "::", "R8", ",", "X86", "::", "R9", ",", "X86", "::", "R10", ",", "X86", "::", "R11", ",", "0", "}", ";", "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", "::", "NACL_CG_TCRETURNdi64", ":", "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", ")", ";", "}", "const", "uint16_t", "*", "CS", "=", "Is64Bit", "?", "CallerSavedRegs64Bit", ":", "CallerSavedRegs32Bit", ";", "for", "(", ";", "*", "CS", ";", "++", "CS", ")", "if", "(", "!", "Uses", ".", "count", "(", "*", "CS", ")", ")", "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", "0", "X86::EAX", "X86::EDX", "X86::ECX", "0", "X86::RAX", "X86::RDX", "X86::RCX", "X86::RSI", "X86::RDI", "X86::R8", "X86::R9", "X86::R10", "X86::R11", "0", "0", "X86::RETL", "X86::RETQ", "X86::RETIL", "X86::RETIQ", "X86::TCRETURNdi", "X86::TCRETURNri", "X86::TCRETURNmi", "X86::TCRETURNdi64", "X86::TCRETURNri64", "X86::NACL_CG_TCRETURNdi64", "X86::TCRETURNmi64", "X86::EH_RETURN", "X86::EH_RETURN64", "8", "0", "0"], "File": "X86FrameLowering109", "Func": "findDeadCallerSavedReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21473, "Length": 365, "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": 21474, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_emit_sve_or_fp_conds", "(", "rtx", "target", ",", "rtx_code", "code1", ",", "rtx_code", "code2", ",", "rtx", "pred", ",", "bool", "known_ptrue_p", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "machine_mode", "pred_mode", "=", "GET_MODE", "(", "pred", ")", ";", "rtx", "tmp1", "=", "gen_reg_rtx", "(", "pred_mode", ")", ";", "aarch64_emit_sve_fp_cond", "(", "tmp1", ",", "code1", ",", "pred", ",", "known_ptrue_p", ",", "op0", ",", "op1", ")", ";", "rtx", "tmp2", "=", "gen_reg_rtx", "(", "pred_mode", ")", ";", "aarch64_emit_sve_fp_cond", "(", "tmp2", ",", "code2", ",", "pred", ",", "known_ptrue_p", ",", "op0", ",", "op1", ")", ";", "aarch64_emit_binop", "(", "target", ",", "ior_optab", ",", "tmp1", ",", "tmp2", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "SVE", "equivalent", "of", ":", "(", "set", "TMP1", "(", "unspec", "[", "PRED", "KNOWN_PTRUE_P", "OP0", "OP1", "]", "UNSPEC_COND_", "<", "X1", ">", ")", ")", "(", "set", "TMP2", "(", "unspec", "[", "PRED", "KNOWN_PTRUE_P", "OP0", "OP1", "]", "UNSPEC_COND_", "<", "X2", ">", ")", ")", "(", "set", "TARGET", "(", "ior", ":", "PRED_MODE", "TMP1", "TMP2", ")", ")", "where", "<", "Xi", ">", "is", "the", "operation", "associated", "with", "comparison", "CODEi", ".", "KNOWN_PTRUE_P", "is", "true", "if", "PRED", "is", "known", "to", "be", "a", "PTRUE", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_emit_sve_or_fp_conds", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21475, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetIRAnalysis", "X86TargetMachine", "::", "getTargetIRAnalysis", "(", ")", "{", "return", "TargetIRAnalysis", "(", "[", "this", "]", "(", "const", "Function", "&", "F", ")", "{", "return", "TargetTransformInfo", "(", "X86TTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetIRAnalysis", "appropriate", "for", "the", "target", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86TargetMachine10", "Func": "getTargetIRAnalysis", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21476, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pru_set_current_function", "(", "tree", "fndecl", ")", "{", "tree", "old_tree", "=", "(", "pru_previous_fndecl", "?", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "pru_previous_fndecl", ")", ":", "NULL_TREE", ")", ";", "tree", "new_tree", "=", "(", "fndecl", "?", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "fndecl", ")", ":", "NULL_TREE", ")", ";", "if", "(", "fndecl", "&&", "fndecl", "!=", "pru_previous_fndecl", ")", "{", "pru_previous_fndecl", "=", "fndecl", ";", "if", "(", "old_tree", "==", "new_tree", ")", ";", "else", "if", "(", "new_tree", ")", "{", "cl_target_option_restore", "(", "&", "global_options", ",", "&", "global_options_set", ",", "TREE_TARGET_OPTION", "(", "new_tree", ")", ")", ";", "target_reinit", "(", ")", ";", "}", "else", "if", "(", "old_tree", ")", "{", "struct", "cl_target_option", "*", "def", "=", "TREE_TARGET_OPTION", "(", "target_option_current_node", ")", ";", "cl_target_option_restore", "(", "&", "global_options", ",", "&", "global_options_set", ",", "def", ")", ";", "target_reinit", "(", ")", ";", "}", "}", "}", ""], "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": ["pru"], "File": "pru", "Func": "pru_set_current_function", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21477, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "FISCFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "computeStackSize", "(", "MF", ")", ";", "if", "(", "!", "StackSize", ")", "return", ";", "unsigned", "StackReg", "=", "FISC", "::", "SP", ";", "unsigned", "OffsetReg", "=", "materializeOffset", "(", "MF", ",", "MBB", ",", "MBBI", ",", "(", "unsigned", ")", "StackSize", ")", ";", "if", "(", "OffsetReg", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "FISC", "::", "SUBrr", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addReg", "(", "OffsetReg", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "FISC", "::", "SUBri", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addImm", "(", "StackSize", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["FISC", "FISC", "FISC::SP", "FISC::SUBrr", "FISC::SUBri"], "File": "FISCFrameLowering", "Func": "emitPrologue", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21478, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalMaskedGather", "(", "Type", "*", "DataTy", ")", "{", "if", "(", "isa", "<", "VectorType", ">", "(", "DataTy", ")", "&&", "!", "isPowerOf2_32", "(", "DataTy", "->", "getVectorNumElements", "(", ")", ")", ")", "return", "false", ";", "Type", "*", "ScalarTy", "=", "DataTy", "->", "getScalarType", "(", ")", ";", "int", "DataWidth", "=", "ScalarTy", "->", "getPrimitiveSizeInBits", "(", ")", ";", "return", "DataWidth", ">=", "32", "&&", "ST", "->", "hasAVX512", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "gather", "."], "TS_V_token": ["X86", "X86", "32"], "File": "X86TargetTransformInfo66", "Func": "isLegalMaskedGather", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21479, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_call_mem", "(", "rtx", "*", "operands", ")", "{", "if", "(", "TARGET_INTERWORK", "&&", "!", "arm_arch5", ")", "{", "output_asm_insn", "(", "\"ldr%?\\t%|ip, %0\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"mov%?\\t%|lr, %|pc\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"bx%?\\t%|ip\"", ",", "operands", ")", ";", "}", "else", "if", "(", "regno_use_in", "(", "LR_REGNUM", ",", "operands", "[", "0", "]", ")", ")", "{", "output_asm_insn", "(", "\"ldr%?\\t%|ip, %0\"", ",", "operands", ")", ";", "if", "(", "arm_arch5", ")", "output_asm_insn", "(", "\"blx%?\\t%|ip\"", ",", "operands", ")", ";", "else", "{", "output_asm_insn", "(", "\"mov%?\\t%|lr, %|pc\"", ",", "operands", ")", ";", "if", "(", "arm_arch4t", ")", "output_asm_insn", "(", "\"bx%?\\t%|ip\"", ",", "operands", ")", ";", "else", "output_asm_insn", "(", "\"mov%?\\t%|pc, %|ip\"", ",", "operands", ")", ";", "}", "}", "else", "{", "output_asm_insn", "(", "\"mov%?\\t%|lr, %|pc\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"ldr%?\\t%|pc, %0\"", ",", "operands", ")", ";", "}", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "a", "'call", "'", "insn", "that", "is", "a", "reference", "in", "memory", ".", "This", "is", "disabled", "for", "ARMv5", "and", "we", "prefer", "a", "blx", "instead", "because", "otherwise", "there", "'s", "a", "significant", "performance", "overhead", "."], "TS_V_token": ["arm", "\"ldr%?\\t%|ip, %0\"", "\"mov%?\\t%|lr, %|pc\"", "\"bx%?\\t%|ip\"", "0", "\"ldr%?\\t%|ip, %0\"", "\"blx%?\\t%|ip\"", "\"mov%?\\t%|lr, %|pc\"", "\"bx%?\\t%|ip\"", "\"mov%?\\t%|pc, %|ip\"", "\"mov%?\\t%|lr, %|pc\"", "\"ldr%?\\t%|pc, %0\"", "\"\""], "File": "arm3", "Func": "output_call_mem", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21480, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "Cpu0RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "static", "const", "uint16_t", "ReservedCPURegs", "[", "]", "=", "{", "Cpu0", "::", "ZERO", ",", "Cpu0", "::", "AT", ",", "Cpu0", "::", "SP", ",", "Cpu0", "::", "LR", ",", "Cpu0", "::", "PC", "}", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "ReservedCPURegs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedCPURegs", "[", "I", "]", ")", ";", "if", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", "->", "hasFP", "(", "MF", ")", ")", "{", "Reserved", ".", "set", "(", "Cpu0", "::", "FP", ")", ";", "}", "const", "Cpu0FunctionInfo", "*", "Cpu0FI", "=", "MF", ".", "getInfo", "<", "Cpu0FunctionInfo", ">", "(", ")", ";", "if", "(", "Cpu0FI", "->", "globalBaseRegFixed", "(", ")", ")", "Reserved", ".", "set", "(", "Cpu0", "::", "GP", ")", ";", "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": ["Cpu0", "Cpu0", "Cpu0::ZERO", "Cpu0::AT", "Cpu0::SP", "Cpu0::LR", "Cpu0::PC", "0", "Cpu0::FP", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0::GP"], "File": "Cpu0RegisterInfo", "Func": "getReservedRegs", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21481, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_assemble_integer", "(", "rtx", "x", ",", "unsigned", "int", "size", ",", "int", "aligned_p", ")", "{", "if", "(", "RELOCATABLE_NEEDS_FIXUP", "&&", "size", "==", "4", "&&", "aligned_p", ")", "{", "static", "int", "recurse", "=", "0", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "(", "TARGET_RELOCATABLE", "||", "flag_pic", ">", "1", ")", "&&", "in_section", "!=", "toc_section", "&&", "!", "recurse", "&&", "!", "CONST_SCALAR_INT_P", "(", "x", ")", "&&", "CONSTANT_P", "(", "x", ")", ")", "{", "char", "buf", "[", "256", "]", ";", "recurse", "=", "1", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "buf", ",", "\"LCP\"", ",", "fixuplabelno", ")", ";", "fixuplabelno", "++", ";", "ASM_OUTPUT_LABEL", "(", "asm_out_file", ",", "buf", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.long\\t(\"", ")", ";", "output_addr_const", "(", "asm_out_file", ",", "x", ")", ";", "fprintf", "(", "asm_out_file", ",", "\")@fixup\\n\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.section\\t\\\".fixup\\\",\\\"aw\\\"\\n\"", ")", ";", "ASM_OUTPUT_ALIGN", "(", "asm_out_file", ",", "2", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.long\\t\"", ")", ";", "assemble_name", "(", "asm_out_file", ",", "buf", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\n\\t.previous\\n\"", ")", ";", "recurse", "=", "0", ";", "return", "true", ";", "}", "else", "if", "(", "SYMBOL_REF_P", "(", "x", ")", "&&", "XSTR", "(", "x", ",", "0", ")", "[", "0", "]", "==", "'.'", "&&", "DEFAULT_ABI", "==", "ABI_AIX", ")", "{", "const", "char", "*", "name", "=", "XSTR", "(", "x", ",", "0", ")", ";", "while", "(", "*", "name", "==", "'.'", ")", "name", "++", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.long\\t%s\\n\"", ",", "name", ")", ";", "return", "true", ";", "}", "}", "return", "default_assemble_integer", "(", "x", ",", "size", ",", "aligned_p", ")", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "assembling", "integer", "objects", ".", "The", "powerpc", "version", "has", "to", "handle", "fixup", "entries", "for", "relocatable", "code", "if", "RELOCATABLE_NEEDS_FIXUP", "is", "defined", ".", "It", "also", "needs", "to", "handle", "DI-mode", "objects", "on", "64-bit", "targets", "."], "TS_V_token": ["rs6000", "4", "0", "1", "256", "1", "\"LCP\"", "\"\\t.long\\t(\"", "\")@fixup\\n\"", "\"\\t.section\\t\\\".fixup\\\",\\\"aw\\\"\\n\"", "2", "\"\\t.long\\t\"", "\"\\n\\t.previous\\n\"", "0", "0", "0", "0", "\"\\t.long\\t%s\\n\""], "File": "rs6000", "Func": "rs6000_assemble_integer", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21482, "Length": 230, "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", "AsmPrinter", "::", "PrintAsmOperand", "(", "MI", ",", "OpNo", ",", "AsmVariant", ",", "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", "(", "*", "this", ",", "MO", ",", "O", ")", ";", "if", "(", "Subtarget", "->", "isPICStyleRIPRel", "(", ")", ")", "O", "<<", "\"(%rip)\"", ";", "return", "false", ";", "case", "MachineOperand", "::", "MO_Register", ":", "O", "<<", "'('", ";", "printOperand", "(", "*", "this", ",", "MI", ",", "OpNo", ",", "O", ")", ";", "O", "<<", "')'", ";", "return", "false", ";", "}", "case", "'c'", ":", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "default", ":", "printOperand", "(", "*", "this", ",", "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", "(", "*", "this", ",", "MO", ",", "O", ")", ";", "break", ";", "}", "return", "false", ";", "case", "'A'", ":", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "O", "<<", "'*'", ";", "printOperand", "(", "*", "this", ",", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "}", "return", "true", ";", "case", "'b'", ":", "case", "'h'", ":", "case", "'w'", ":", "case", "'k'", ":", "case", "'q'", ":", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "printAsmMRegister", "(", "*", "this", ",", "MO", ",", "ExtraCode", "[", "0", "]", ",", "O", ")", ";", "printOperand", "(", "*", "this", ",", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "case", "'P'", ":", "printPCRelImm", "(", "*", "this", ",", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "case", "'n'", ":", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "O", "<<", "-", "MO", ".", "getImm", "(", ")", ";", "return", "false", ";", "}", "O", "<<", "'-'", ";", "}", "}", "printOperand", "(", "*", "this", ",", "MI", ",", "OpNo", ",", "O", ",", "0", ",", "AsmVariant", ")", ";", "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": "X86AsmPrinter27", "Func": "PrintAsmOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21483, "Length": 440, "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": 21484, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZTTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ")", "{", "bool", "HasCall", "=", "false", ";", "unsigned", "NumStores", "=", "0", ";", "for", "(", "auto", "&", "BB", ":", "L", "->", "blocks", "(", ")", ")", "for", "(", "auto", "&", "I", ":", "*", "BB", ")", "{", "if", "(", "isa", "<", "CallInst", ">", "(", "&", "I", ")", "||", "isa", "<", "InvokeInst", ">", "(", "&", "I", ")", ")", "{", "ImmutableCallSite", "CS", "(", "&", "I", ")", ";", "if", "(", "const", "Function", "*", "F", "=", "CS", ".", "getCalledFunction", "(", ")", ")", "{", "if", "(", "isLoweredToCall", "(", "F", ")", ")", "HasCall", "=", "true", ";", "if", "(", "F", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "memcpy", "||", "F", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "memset", ")", "NumStores", "++", ";", "}", "else", "{", "HasCall", "=", "true", ";", "}", "}", "if", "(", "isa", "<", "StoreInst", ">", "(", "&", "I", ")", ")", "{", "Type", "*", "MemAccessTy", "=", "I", ".", "getOperand", "(", "0", ")", "->", "getType", "(", ")", ";", "NumStores", "+=", "getMemoryOpCost", "(", "Instruction", "::", "Store", ",", "MemAccessTy", ",", "0", ",", "0", ")", ";", "}", "}", "unsigned", "const", "Max", "=", "(", "NumStores", "?", "(", "12", "/", "NumStores", ")", ":", "UINT_MAX", ")", ";", "if", "(", "HasCall", ")", "{", "UP", ".", "FullUnrollMaxCount", "=", "Max", ";", "UP", ".", "MaxCount", "=", "1", ";", "return", ";", "}", "UP", ".", "MaxCount", "=", "Max", ";", "if", "(", "UP", ".", "MaxCount", "<=", "1", ")", "return", ";", "UP", ".", "Partial", "=", "UP", ".", "Runtime", "=", "true", ";", "UP", ".", "PartialThreshold", "=", "75", ";", "UP", ".", "DefaultUnrollRuntimeCount", "=", "4", ";", "UP", ".", "AllowExpensiveTripCount", "=", "true", ";", "UP", ".", "Force", "=", "true", ";", "}", ""], "natrual_language": ["Get", "target-customized", "preferences", "for", "the", "generic", "loop", "unrolling", "transformation", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "Intrinsic::memcpy", "Intrinsic::memset", "0", "0", "0", "12", "1", "1", "75", "4"], "File": "SystemZTargetTransformInfo (2)1", "Func": "getUnrollingPreferences", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21485, "Length": 270, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isProfitableToHoist", "(", "Instruction", "*", "I", ")", "const", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "Instruction", "::", "FMul", ")", "return", "true", ";", "if", "(", "!", "I", "->", "hasOneUse", "(", ")", ")", "return", "true", ";", "Instruction", "*", "User", "=", "I", "->", "user_back", "(", ")", ";", "if", "(", "!", "(", "User", "->", "getOpcode", "(", ")", "==", "Instruction", "::", "FSub", "||", "User", "->", "getOpcode", "(", ")", "==", "Instruction", "::", "FAdd", ")", ")", "return", "true", ";", "const", "TargetOptions", "&", "Options", "=", "getTargetMachine", "(", ")", ".", "Options", ";", "const", "Function", "*", "F", "=", "I", "->", "getFunction", "(", ")", ";", "const", "DataLayout", "&", "DL", "=", "F", "->", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "Type", "*", "Ty", "=", "User", "->", "getOperand", "(", "0", ")", "->", "getType", "(", ")", ";", "return", "!", "(", "isFMAFasterThanFMulAndFAdd", "(", "*", "F", ",", "Ty", ")", "&&", "isOperationLegalOrCustom", "(", "ISD", "::", "FMA", ",", "getValueType", "(", "DL", ",", "Ty", ")", ")", "&&", "(", "Options", ".", "AllowFPOpFusion", "==", "FPOpFusion", "::", "Fast", "||", "Options", ".", "UnsafeFPMath", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "profitable", "to", "hoist", "instruction", "in", "the", "then/else", "to", "before", "if", "."], "TS_V_token": ["AArch64", "AArch64", "0", "ISD::FMA"], "File": "AArch64ISelLowering69", "Func": "isProfitableToHoist", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21486, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_emit_probe_stack_range", "(", "HOST_WIDE_INT", "first", ",", "HOST_WIDE_INT", "size", ",", "unsigned", "int", "regno1", ",", "unsigned", "long", "live_regs", ")", "{", "rtx", "reg1", "=", "gen_rtx_REG", "(", "Pmode", ",", "regno1", ")", ";", "if", "(", "size", "<=", "PROBE_INTERVAL", ")", "{", "emit_move_insn", "(", "reg1", ",", "GEN_INT", "(", "first", "+", "PROBE_INTERVAL", ")", ")", ";", "emit_set_insn", "(", "reg1", ",", "gen_rtx_MINUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "reg1", ")", ")", ";", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "reg1", ",", "PROBE_INTERVAL", "-", "size", ")", ")", ";", "}", "else", "if", "(", "size", "<=", "5", "*", "PROBE_INTERVAL", ")", "{", "HOST_WIDE_INT", "i", ",", "rem", ";", "emit_move_insn", "(", "reg1", ",", "GEN_INT", "(", "first", "+", "PROBE_INTERVAL", ")", ")", ";", "emit_set_insn", "(", "reg1", ",", "gen_rtx_MINUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "reg1", ")", ")", ";", "emit_stack_probe", "(", "reg1", ")", ";", "for", "(", "i", "=", "2", "*", "PROBE_INTERVAL", ";", "i", "<", "size", ";", "i", "+=", "PROBE_INTERVAL", ")", "{", "emit_set_insn", "(", "reg1", ",", "plus_constant", "(", "Pmode", ",", "reg1", ",", "-", "PROBE_INTERVAL", ")", ")", ";", "emit_stack_probe", "(", "reg1", ")", ";", "}", "rem", "=", "size", "-", "(", "i", "-", "PROBE_INTERVAL", ")", ";", "if", "(", "rem", ">", "4095", "||", "(", "TARGET_THUMB2", "&&", "rem", ">", "255", ")", ")", "{", "emit_set_insn", "(", "reg1", ",", "plus_constant", "(", "Pmode", ",", "reg1", ",", "-", "PROBE_INTERVAL", ")", ")", ";", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "reg1", ",", "PROBE_INTERVAL", "-", "rem", ")", ")", ";", "}", "else", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "reg1", ",", "-", "rem", ")", ")", ";", "}", "else", "{", "HOST_WIDE_INT", "rounded_size", ";", "struct", "scratch_reg", "sr", ";", "get_scratch_register_on_entry", "(", "&", "sr", ",", "regno1", ",", "live_regs", ")", ";", "emit_move_insn", "(", "reg1", ",", "GEN_INT", "(", "first", ")", ")", ";", "rounded_size", "=", "size", "&", "-", "PROBE_INTERVAL", ";", "emit_move_insn", "(", "sr", ".", "reg", ",", "GEN_INT", "(", "rounded_size", ")", ")", ";", "emit_set_insn", "(", "reg1", ",", "gen_rtx_MINUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "reg1", ")", ")", ";", "emit_set_insn", "(", "sr", ".", "reg", ",", "gen_rtx_MINUS", "(", "Pmode", ",", "reg1", ",", "sr", ".", "reg", ")", ")", ";", "emit_insn", "(", "gen_probe_stack_range", "(", "reg1", ",", "reg1", ",", "sr", ".", "reg", ")", ")", ";", "if", "(", "size", "!=", "rounded_size", ")", "{", "HOST_WIDE_INT", "rem", "=", "size", "-", "rounded_size", ";", "if", "(", "rem", ">", "4095", "||", "(", "TARGET_THUMB2", "&&", "rem", ">", "255", ")", ")", "{", "emit_set_insn", "(", "sr", ".", "reg", ",", "plus_constant", "(", "Pmode", ",", "sr", ".", "reg", ",", "-", "PROBE_INTERVAL", ")", ")", ";", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "sr", ".", "reg", ",", "PROBE_INTERVAL", "-", "rem", ")", ")", ";", "}", "else", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "sr", ".", "reg", ",", "-", "rem", ")", ")", ";", "}", "release_scratch_register_on_entry", "(", "&", "sr", ")", ";", "}", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "probe", "a", "range", "of", "stack", "addresses", "from", "FIRST", "to", "FIRST+SIZE", ",", "inclusive", ".", "These", "are", "offsets", "from", "the", "current", "stack", "pointer", ".", "REGNO1", "is", "the", "index", "number", "of", "the", "1st", "scratch", "register", "and", "LIVE_REGS", "is", "the", "mask", "of", "live", "registers", "."], "TS_V_token": ["arm", "5", "2", "4095", "255", "4095", "255"], "File": "arm", "Func": "arm_emit_probe_stack_range", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21487, "Length": 422, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{", "bool", "is64", "=", "getPointerSize", "(", ")", "==", "8", ";", "return", "createPPCELFObjectWriter", "(", "OS", ",", "is64", ",", "isLittleEndian", "(", ")", ",", "OSABI", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["PowerPC", "8", "PPC"], "File": "PPCAsmBackend33", "Func": "createObjectWriter", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21488, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "if", "(", "IDVal", "==", "\".word\"", ")", "return", "ParseDirectiveWord", "(", "2", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", ".", "startswith", "(", "\".code\"", ")", ")", "return", "ParseDirectiveCode", "(", "IDVal", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", ".", "startswith", "(", "\".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", "return", "true", ";", "}", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["X86", "X86", "\".word\"", "2", "\".code\"", "\".att_syntax\"", "0", "\".intel_syntax\"", "1", "\"noprefix\""], "File": "X86AsmParser (2)2", "Func": "ParseDirective", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21489, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_erase_embedded_rounding", "(", "rtx", "pat", ")", "{", "if", "(", "GET_CODE", "(", "pat", ")", "==", "INSN", ")", "pat", "=", "PATTERN", "(", "pat", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", ")", ";", "if", "(", "XVECLEN", "(", "pat", ",", "0", ")", "==", "2", ")", "{", "rtx", "p0", "=", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ";", "rtx", "p1", "=", "XVECEXP", "(", "pat", ",", "0", ",", "1", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "p0", ")", "==", "SET", "&&", "GET_CODE", "(", "p1", ")", "==", "UNSPEC", "&&", "XINT", "(", "p1", ",", "1", ")", "==", "UNSPEC_EMBEDDED_ROUNDING", ")", ";", "return", "p0", ";", "}", "else", "{", "rtx", "*", "res", "=", "XALLOCAVEC", "(", "rtx", ",", "XVECLEN", "(", "pat", ",", "0", ")", ")", ";", "int", "i", "=", "0", ";", "int", "j", "=", "0", ";", "for", "(", ";", "i", "<", "XVECLEN", "(", "pat", ",", "0", ")", ";", "++", "i", ")", "{", "rtx", "elem", "=", "XVECEXP", "(", "pat", ",", "0", ",", "i", ")", ";", "if", "(", "GET_CODE", "(", "elem", ")", "!=", "UNSPEC", "||", "XINT", "(", "elem", ",", "1", ")", "!=", "UNSPEC_EMBEDDED_ROUNDING", ")", "res", "[", "j", "++", "]", "=", "elem", ";", "}", "gcc_assert", "(", "j", ">=", "XVECLEN", "(", "pat", ",", "0", ")", "-", "1", ")", ";", "return", "gen_rtx_PARALLEL", "(", "GET_MODE", "(", "pat", ")", ",", "gen_rtvec_v", "(", "j", ",", "res", ")", ")", ";", "}", "}", ""], "natrual_language": ["Transform", "pattern", "of", "following", "layout", ":", "(", "parallel", "[", "set", "(", "A", "B", ")", "(", "unspec", "[", "C", "]", "UNSPEC_EMBEDDED_ROUNDING", ")", "]", ")", "]", ")", "into", ":", "(", "set", "(", "A", "B", ")", ")", "Or", ":", "(", "parallel", "[", "A", "B", "...", "(", "unspec", "[", "C", "]", "UNSPEC_EMBEDDED_ROUNDING", ")", "...", "]", ")", "into", ":", "(", "parallel", "[", "A", "B", "...", "]", ")"], "TS_V_token": ["i386", "0", "2", "0", "0", "0", "1", "1", "0", "0", "0", "0", "0", "1", "0", "1"], "File": "i3864", "Func": "ix86_erase_embedded_rounding", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21490, "Length": 215, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "SparcTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown SELECT_CC!\"", ")", ";", "case", "SP", "::", "SELECT_CC_Int_ICC", ":", "case", "SP", "::", "SELECT_CC_FP_ICC", ":", "case", "SP", "::", "SELECT_CC_DFP_ICC", ":", "case", "SP", "::", "SELECT_CC_QFP_ICC", ":", "return", "expandSelectCC", "(", "MI", ",", "BB", ",", "SP", "::", "BCOND", ")", ";", "case", "SP", "::", "SELECT_CC_Int_FCC", ":", "case", "SP", "::", "SELECT_CC_FP_FCC", ":", "case", "SP", "::", "SELECT_CC_DFP_FCC", ":", "case", "SP", "::", "SELECT_CC_QFP_FCC", ":", "return", "expandSelectCC", "(", "MI", ",", "BB", ",", "SP", "::", "FBCOND", ")", ";", "case", "SP", "::", "ATOMIC_LOAD_ADD_32", ":", "return", "expandAtomicRMW", "(", "MI", ",", "BB", ",", "SP", "::", "ADDrr", ")", ";", "case", "SP", "::", "ATOMIC_LOAD_ADD_64", ":", "return", "expandAtomicRMW", "(", "MI", ",", "BB", ",", "SP", "::", "ADDXrr", ")", ";", "case", "SP", "::", "ATOMIC_LOAD_SUB_32", ":", "return", "expandAtomicRMW", "(", "MI", ",", "BB", ",", "SP", "::", "SUBrr", ")", ";", "case", "SP", "::", "ATOMIC_LOAD_SUB_64", ":", "return", "expandAtomicRMW", "(", "MI", ",", "BB", ",", "SP", "::", "SUBXrr", ")", ";", "case", "SP", "::", "ATOMIC_LOAD_AND_32", ":", "return", "expandAtomicRMW", "(", "MI", ",", "BB", ",", "SP", "::", "ANDrr", ")", ";", "case", "SP", "::", "ATOMIC_LOAD_AND_64", ":", "return", "expandAtomicRMW", "(", "MI", ",", "BB", ",", "SP", "::", "ANDXrr", ")", ";", "case", "SP", "::", "ATOMIC_LOAD_OR_32", ":", "return", "expandAtomicRMW", "(", "MI", ",", "BB", ",", "SP", "::", "ORrr", ")", ";", "case", "SP", "::", "ATOMIC_LOAD_OR_64", ":", "return", "expandAtomicRMW", "(", "MI", ",", "BB", ",", "SP", "::", "ORXrr", ")", ";", "case", "SP", "::", "ATOMIC_LOAD_XOR_32", ":", "return", "expandAtomicRMW", "(", "MI", ",", "BB", ",", "SP", "::", "XORrr", ")", ";", "case", "SP", "::", "ATOMIC_LOAD_XOR_64", ":", "return", "expandAtomicRMW", "(", "MI", ",", "BB", ",", "SP", "::", "XORXrr", ")", ";", "case", "SP", "::", "ATOMIC_LOAD_NAND_32", ":", "return", "expandAtomicRMW", "(", "MI", ",", "BB", ",", "SP", "::", "ANDrr", ")", ";", "case", "SP", "::", "ATOMIC_LOAD_NAND_64", ":", "return", "expandAtomicRMW", "(", "MI", ",", "BB", ",", "SP", "::", "ANDXrr", ")", ";", "case", "SP", "::", "ATOMIC_SWAP_64", ":", "return", "expandAtomicRMW", "(", "MI", ",", "BB", ",", "0", ")", ";", "case", "SP", "::", "ATOMIC_LOAD_MAX_32", ":", "return", "expandAtomicRMW", "(", "MI", ",", "BB", ",", "SP", "::", "MOVICCrr", ",", "SPCC", "::", "ICC_G", ")", ";", "case", "SP", "::", "ATOMIC_LOAD_MAX_64", ":", "return", "expandAtomicRMW", "(", "MI", ",", "BB", ",", "SP", "::", "MOVXCCrr", ",", "SPCC", "::", "ICC_G", ")", ";", "case", "SP", "::", "ATOMIC_LOAD_MIN_32", ":", "return", "expandAtomicRMW", "(", "MI", ",", "BB", ",", "SP", "::", "MOVICCrr", ",", "SPCC", "::", "ICC_LE", ")", ";", "case", "SP", "::", "ATOMIC_LOAD_MIN_64", ":", "return", "expandAtomicRMW", "(", "MI", ",", "BB", ",", "SP", "::", "MOVXCCrr", ",", "SPCC", "::", "ICC_LE", ")", ";", "case", "SP", "::", "ATOMIC_LOAD_UMAX_32", ":", "return", "expandAtomicRMW", "(", "MI", ",", "BB", ",", "SP", "::", "MOVICCrr", ",", "SPCC", "::", "ICC_GU", ")", ";", "case", "SP", "::", "ATOMIC_LOAD_UMAX_64", ":", "return", "expandAtomicRMW", "(", "MI", ",", "BB", ",", "SP", "::", "MOVXCCrr", ",", "SPCC", "::", "ICC_GU", ")", ";", "case", "SP", "::", "ATOMIC_LOAD_UMIN_32", ":", "return", "expandAtomicRMW", "(", "MI", ",", "BB", ",", "SP", "::", "MOVICCrr", ",", "SPCC", "::", "ICC_LEU", ")", ";", "case", "SP", "::", "ATOMIC_LOAD_UMIN_64", ":", "return", "expandAtomicRMW", "(", "MI", ",", "BB", ",", "SP", "::", "MOVXCCrr", ",", "SPCC", "::", "ICC_LEU", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["Sparc", "Sparc", "\"Unknown SELECT_CC!\"", "SP::SELECT_CC_Int_ICC", "SP::SELECT_CC_FP_ICC", "SP::SELECT_CC_DFP_ICC", "SP::SELECT_CC_QFP_ICC", "SP::BCOND", "SP::SELECT_CC_Int_FCC", "SP::SELECT_CC_FP_FCC", "SP::SELECT_CC_DFP_FCC", "SP::SELECT_CC_QFP_FCC", "SP::FBCOND", "SP::ATOMIC_LOAD_ADD_32", "SP::ADDrr", "SP::ATOMIC_LOAD_ADD_64", "SP::ADDXrr", "SP::ATOMIC_LOAD_SUB_32", "SP::SUBrr", "SP::ATOMIC_LOAD_SUB_64", "SP::SUBXrr", "SP::ATOMIC_LOAD_AND_32", "SP::ANDrr", "SP::ATOMIC_LOAD_AND_64", "SP::ANDXrr", "SP::ATOMIC_LOAD_OR_32", "SP::ORrr", "SP::ATOMIC_LOAD_OR_64", "SP::ORXrr", "SP::ATOMIC_LOAD_XOR_32", "SP::XORrr", "SP::ATOMIC_LOAD_XOR_64", "SP::XORXrr", "SP::ATOMIC_LOAD_NAND_32", "SP::ANDrr", "SP::ATOMIC_LOAD_NAND_64", "SP::ANDXrr", "SP::ATOMIC_SWAP_64", "0", "SP::ATOMIC_LOAD_MAX_32", "SP::MOVICCrr", "SPCC::ICC_G", "SP::ATOMIC_LOAD_MAX_64", "SP::MOVXCCrr", "SPCC::ICC_G", "SP::ATOMIC_LOAD_MIN_32", "SP::MOVICCrr", "SPCC::ICC_LE", "SP::ATOMIC_LOAD_MIN_64", "SP::MOVXCCrr", "SPCC::ICC_LE", "SP::ATOMIC_LOAD_UMAX_32", "SP::MOVICCrr", "SPCC::ICC_GU", "SP::ATOMIC_LOAD_UMAX_64", "SP::MOVXCCrr", "SPCC::ICC_GU", "SP::ATOMIC_LOAD_UMIN_32", "SP::MOVICCrr", "SPCC::ICC_LEU", "SP::ATOMIC_LOAD_UMIN_64", "SP::MOVXCCrr", "SPCC::ICC_LEU"], "File": "SparcISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21491, "Length": 485, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_valid_mask_cmp_mode", "(", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_XOP", "&&", "!", "TARGET_AVX512F", ")", "return", "false", ";", "if", "(", "TARGET_AVX512FP16", "&&", "mode", "==", "HFmode", ")", "return", "true", ";", "if", "(", "!", "(", "TARGET_AVX512F", "&&", "VECTOR_MODE_P", "(", "mode", ")", ")", ")", "return", "false", ";", "machine_mode", "inner_mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "int", "vector_size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "(", "inner_mode", "==", "QImode", "||", "inner_mode", "==", "HImode", ")", "&&", "!", "TARGET_AVX512BW", ")", "return", "false", ";", "return", "vector_size", "==", "64", "||", "TARGET_AVX512VL", ";", "}", ""], "natrual_language": ["Return", "true", "if", "MODE", "is", "valid", "for", "vector", "compare", "to", "mask", "register", ",", "Same", "result", "for", "conditionl", "vector", "move", "with", "mask", "register", "."], "TS_V_token": ["i386", "64"], "File": "i386-expand", "Func": "ix86_valid_mask_cmp_mode", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21492, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "find_nearest_reg_def", "(", "rtx_insn", "*", "insn", ",", "int", "regno1", ",", "int", "regno2", ")", "{", "rtx_insn", "*", "prev", "=", "insn", ";", "rtx_insn", "*", "start", "=", "BB_HEAD", "(", "BLOCK_FOR_INSN", "(", "insn", ")", ")", ";", "if", "(", "insn", "==", "start", ")", "return", "false", ";", "while", "(", "prev", "&&", "prev", "!=", "start", ")", "{", "if", "(", "!", "INSN_P", "(", "prev", ")", "||", "!", "NONDEBUG_INSN_P", "(", "prev", ")", ")", "{", "prev", "=", "PREV_INSN", "(", "prev", ")", ";", "continue", ";", "}", "if", "(", "insn_defines_reg", "(", "regno1", ",", "INVALID_REGNUM", ",", "prev", ")", ")", "return", "true", ";", "else", "if", "(", "insn_defines_reg", "(", "regno2", ",", "INVALID_REGNUM", ",", "prev", ")", ")", "return", "false", ";", "prev", "=", "PREV_INSN", "(", "prev", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "regno1", "def", "is", "nearest", "to", "the", "insn", "."], "TS_V_token": ["i386"], "File": "i386-expand", "Func": "find_nearest_reg_def", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21493, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "tree", "def_builtin", "(", "HOST_WIDE_INT", "mask", ",", "HOST_WIDE_INT", "mask2", ",", "const", "char", "*", "name", ",", "enum", "ix86_builtin_func_type", "tcode", ",", "enum", "ix86_builtins", "code", ")", "{", "tree", "decl", "=", "NULL_TREE", ";", "if", "(", "!", "(", "mask", "&", "OPTION_MASK_ISA_64BIT", ")", "||", "TARGET_64BIT", ")", "{", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "isa", "=", "mask", ";", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "isa2", "=", "mask2", ";", "mask", "&=", "~", "OPTION_MASK_ISA_64BIT", ";", "if", "(", "(", "mask", "&", "ix86_isa_flags", "&", "OPTION_MASK_ISA_AVX512VL", ")", "&&", "mask", "!=", "OPTION_MASK_ISA_AVX512VL", ")", "mask", "&=", "~", "OPTION_MASK_ISA_AVX512VL", ";", "if", "(", "(", "mask", "&", "ix86_isa_flags", "&", "OPTION_MASK_ISA_AVX512BW", ")", "&&", "mask", "!=", "OPTION_MASK_ISA_AVX512BW", ")", "mask", "&=", "~", "OPTION_MASK_ISA_AVX512BW", ";", "if", "(", "(", "(", "mask2", "==", "0", "||", "(", "mask2", "&", "ix86_isa_flags2", ")", "!=", "0", ")", "&&", "(", "mask", "==", "0", "||", "(", "mask", "&", "ix86_isa_flags", ")", "!=", "0", ")", ")", "||", "(", "(", "mask", "&", "OPTION_MASK_ISA_MMX", ")", "!=", "0", "&&", "TARGET_MMX_WITH_SSE", ")", "||", "(", "mask2", "==", "OPTION_MASK_ISA2_AVXVNNI", ")", "||", "(", "lang_hooks", ".", "builtin_function", "==", "lang_hooks", ".", "builtin_function_ext_scope", ")", ")", "{", "tree", "type", "=", "ix86_get_builtin_func_type", "(", "tcode", ")", ";", "decl", "=", "add_builtin_function", "(", "name", ",", "type", ",", "code", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "ix86_builtins", "[", "(", "int", ")", "code", "]", "=", "decl", ";", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "set_and_not_built_p", "=", "false", ";", "}", "else", "{", "deferred_isa_values", "|=", "mask", ";", "deferred_isa_values2", "|=", "mask2", ";", "ix86_builtins", "[", "(", "int", ")", "code", "]", "=", "NULL_TREE", ";", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "tcode", "=", "tcode", ";", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "name", "=", "name", ";", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "const_p", "=", "false", ";", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "pure_p", "=", "false", ";", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "set_and_not_built_p", "=", "true", ";", "}", "}", "return", "decl", ";", "}", ""], "natrual_language": ["Add", "a", "SPARC", "builtin", "function", "with", "NAME", ",", "ICODE", ",", "CODE", "and", "TYPE", ".", "Return", "the", "function", "decl", "or", "NULL_TREE", "if", "the", "builtin", "was", "not", "added", "."], "TS_V_token": ["i386", "0", "0", "0", "0", "0"], "File": "i386-builtins", "Func": "def_builtin", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21494, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalNTLoad", "(", "Type", "*", "DataType", ",", "llvm", "::", "Align", "Alignment", ")", "{", "unsigned", "DataSize", "=", "DL", ".", "getTypeStoreSize", "(", "DataType", ")", ";", "if", "(", "Alignment", ">=", "DataSize", "&&", "(", "DataSize", "==", "16", "||", "DataSize", "==", "32", ")", ")", "return", "DataSize", "==", "16", "?", "ST", "->", "hasSSE1", "(", ")", ":", "ST", "->", "hasAVX2", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "nontemporal", "load", "."], "TS_V_token": ["X86", "X86", "16", "32", "16"], "File": "X86TargetTransformInfo72", "Func": "isLegalNTLoad", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21495, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "OR1KTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "EVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'r'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "OR1K", "::", "GPRRegClass", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["OR1K", "OR1K", "1", "0", "0U", "OR1K::GPRRegClass"], "File": "OR1KISelLowering", "Func": "getRegForInlineAsmConstraint", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21496, "Length": 78, "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", "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", ";", "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", "ISD::BITCAST", "ISD::CopyToReg", "1", "0", "0", "ARMISD::RET_FLAG", "ARMISD::INTRET_FLAG"], "File": "ARMISelLowering (2)", "Func": "isUsedByReturnOnly", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21497, "Length": 423, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", "&&", "\"Unexpected\"", ")", ";", "unsigned", "i", "=", "0", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "getIndex", "(", ")", ";", "unsigned", "BasePtr", ";", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "bool", "AfterFPPop", "=", "Opc", "==", "X86", "::", "TAILJMPm64", "||", "Opc", "==", "X86", "::", "TAILJMPm", ";", "if", "(", "needsStackRealignment", "(", "MF", ")", ")", "BasePtr", "=", "(", "FrameIndex", "<", "0", "?", "FramePtr", ":", "StackPtr", ")", ";", "else", "if", "(", "AfterFPPop", ")", "BasePtr", "=", "StackPtr", ";", "else", "BasePtr", "=", "(", "TFI", "->", "hasFP", "(", "MF", ")", "?", "FramePtr", ":", "StackPtr", ")", ";", "MI", ".", "getOperand", "(", "i", ")", ".", "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", "(", "MI", ".", "getOperand", "(", "i", "+", "3", ")", ".", "isImm", "(", ")", ")", "{", "int", "Offset", "=", "FIOffset", "+", "(", "int", ")", "(", "MI", ".", "getOperand", "(", "i", "+", "3", ")", ".", "getImm", "(", ")", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "3", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", "else", "{", "uint64_t", "Offset", "=", "FIOffset", "+", "(", "uint64_t", ")", "MI", ".", "getOperand", "(", "i", "+", "3", ")", ".", "getOffset", "(", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "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\"", "0", "\"Instr doesn't have FrameIndex operand!\"", "X86::TAILJMPm64", "X86::TAILJMPm", "0", "3", "3", "3", "3", "3"], "File": "X86RegisterInfo34", "Func": "eliminateFrameIndex", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21498, "Length": 341, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isLdStPairSuppressed", "(", "const", "MachineInstr", "&", "MI", ")", "{", "return", "llvm", "::", "any_of", "(", "MI", ".", "memoperands", "(", ")", ",", "[", "]", "(", "MachineMemOperand", "*", "MMO", ")", "{", "return", "MMO", "->", "getFlags", "(", ")", "&", "MOSuppressPair", ";", "}", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "pairing", "the", "given", "load", "or", "store", "is", "hinted", "to", "be", "unprofitable", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64InstrInfo (2)1", "Func": "isLdStPairSuppressed", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21499, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "LowerCall", "(", "SDValue", "Chain", ",", "SDValue", "Callee", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "bool", "doesNotRet", ",", "bool", "&", "isTailCall", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "if", "(", "isTailCall", ")", "isTailCall", "=", "IsEligibleForTailCallOptimization", "(", "Callee", ",", "CallConv", ",", "isVarArg", ",", "Ins", ",", "DAG", ")", ";", "if", "(", "PPCSubTarget", ".", "isSVR4ABI", "(", ")", "&&", "!", "PPCSubTarget", ".", "isPPC64", "(", ")", ")", "return", "LowerCall_SVR4", "(", "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", "PPC", "PPC", "PPC"], "File": "PPCISelLowering114", "Func": "LowerCall", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21500, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_sched_fusion_priority", "(", "rtx_insn", "*", "insn", ",", "int", "max_pri", ",", "int", "*", "fusion_pri", ",", "int", "*", "pri", ")", "{", "int", "tmp", ",", "off_val", ";", "bool", "is_load", ";", "rtx", "base", ",", "offset", ";", "gcc_assert", "(", "INSN_P", "(", "insn", ")", ")", ";", "tmp", "=", "max_pri", "-", "1", ";", "if", "(", "!", "fusion_load_store", "(", "insn", ",", "&", "base", ",", "&", "offset", ",", "&", "is_load", ")", ")", "{", "*", "pri", "=", "tmp", ";", "*", "fusion_pri", "=", "tmp", ";", "return", ";", "}", "if", "(", "is_load", ")", "*", "fusion_pri", "=", "tmp", "-", "1", ";", "else", "*", "fusion_pri", "=", "tmp", "-", "2", ";", "tmp", "/=", "2", ";", "tmp", "-=", "(", "(", "REGNO", "(", "base", ")", "&", "0xff", ")", "<<", "20", ")", ";", "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", ".", "In", "the", "future", ",", "other", "kind", "instruction", "fusion", "can", "be", "supported", "by", "returning", "different", "priorities", ".", "It", "'s", "important", "that", "irrelevant", "instructions", "get", "the", "largest", "FUSION_PRI", "."], "TS_V_token": ["arm", "1", "1", "2", "2", "0xff", "20", "0", "0xfffff", "0xfffff"], "File": "arm", "Func": "arm_sched_fusion_priority", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21501, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LoongArchAsmBackend", "::", "shouldForceRelocation", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ")", "{", "return", "false", ";", "}", ""], "natrual_language": ["Hook", "to", "check", "if", "a", "relocation", "is", "needed", "for", "some", "target", "specific", "reason", "."], "TS_V_token": ["LoongArch", "LoongArch"], "File": "LoongArchAsmBackend", "Func": "shouldForceRelocation", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21502, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "compute_offset_order", "(", "int", "nops", ",", "HOST_WIDE_INT", "*", "unsorted_offsets", ",", "int", "*", "order", ",", "int", "*", "unsorted_regs", ")", "{", "int", "i", ";", "for", "(", "i", "=", "1", ";", "i", "<", "nops", ";", "i", "++", ")", "{", "int", "j", ";", "order", "[", "i", "]", "=", "order", "[", "i", "-", "1", "]", ";", "for", "(", "j", "=", "0", ";", "j", "<", "nops", ";", "j", "++", ")", "if", "(", "unsorted_offsets", "[", "j", "]", "==", "unsorted_offsets", "[", "order", "[", "i", "-", "1", "]", "]", "+", "4", ")", "{", "if", "(", "order", "[", "i", "]", "!=", "order", "[", "i", "-", "1", "]", ")", "return", "false", ";", "order", "[", "i", "]", "=", "j", ";", "}", "if", "(", "order", "[", "i", "]", "==", "order", "[", "i", "-", "1", "]", ")", "return", "false", ";", "if", "(", "unsorted_regs", "!=", "NULL", "&&", "unsorted_regs", "[", "order", "[", "i", "]", "]", "<=", "unsorted_regs", "[", "order", "[", "i", "-", "1", "]", "]", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Subroutine", "of", "load_multiple_sequence", "and", "store_multiple_sequence", ".", "Given", "an", "array", "of", "UNSORTED_OFFSETS", ",", "of", "which", "there", "are", "NOPS", ",", "compute", "an", "array", "ORDER", "which", "describes", "the", "sequence", "to", "use", "when", "accessing", "the", "offsets", "that", "produces", "an", "ascending", "order", ".", "In", "this", "sequence", ",", "each", "offset", "must", "be", "larger", "by", "exactly", "4", "than", "the", "previous", "one", ".", "ORDER", "[", "0", "]", "must", "have", "been", "filled", "in", "with", "the", "lowest", "offset", "by", "the", "caller", ".", "If", "UNSORTED_REGS", "is", "nonnull", ",", "it", "is", "an", "array", "of", "register", "numbers", "that", "we", "use", "to", "verify", "that", "ORDER", "produces", "an", "ascending", "order", "of", "registers", ".", "Return", "true", "if", "it", "was", "possible", "to", "construct", "such", "an", "order", ",", "false", "if", "not", "."], "TS_V_token": ["arm", "1", "1", "0", "1", "4", "1", "1", "1"], "File": "arm", "Func": "compute_offset_order", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21503, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ia64_unpack_sign", "(", "rtx", "vec", ",", "bool", "unsignedp", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "vec", ")", ";", "rtx", "zero", "=", "CONST0_RTX", "(", "mode", ")", ";", "if", "(", "unsignedp", ")", "return", "zero", ";", "else", "{", "rtx", "sign", "=", "gen_reg_rtx", "(", "mode", ")", ";", "bool", "neg", ";", "neg", "=", "ia64_expand_vecint_compare", "(", "LT", ",", "mode", ",", "sign", ",", "vec", ",", "zero", ")", ";", "gcc_assert", "(", "!", "neg", ")", ";", "return", "sign", ";", "}", "}", ""], "natrual_language": ["Return", "a", "vector", "of", "the", "sign-extension", "of", "VEC", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "ia64_unpack_sign", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21504, "Length": 73, "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": 21505, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "X86TargetLowering", "::", "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", ")", "&&", "!", "F", "->", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ")", "{", "if", "(", "Size", ">=", "16", "&&", "(", "Subtarget", "->", "isUnalignedMemAccessFast", "(", ")", "||", "(", "(", "DstAlign", "==", "0", "||", "DstAlign", ">=", "16", ")", "&&", "(", "SrcAlign", "==", "0", "||", "SrcAlign", ">=", "16", ")", ")", ")", ")", "{", "if", "(", "Size", ">=", "32", ")", "{", "if", "(", "Subtarget", "->", "hasInt256", "(", ")", ")", "return", "MVT", "::", "v8i32", ";", "if", "(", "Subtarget", "->", "hasFp256", "(", ")", ")", "return", "MVT", "::", "v8f32", ";", "}", "if", "(", "Subtarget", "->", "hasSSE2", "(", ")", ")", "return", "MVT", "::", "v4i32", ";", "if", "(", "Subtarget", "->", "hasSSE1", "(", ")", ")", "return", "MVT", "::", "v4f32", ";", "}", "else", "if", "(", "!", "MemcpyStrSrc", "&&", "Size", ">=", "8", "&&", "!", "Subtarget", "->", "is64Bit", "(", ")", "&&", "Subtarget", "->", "hasSSE2", "(", ")", ")", "{", "return", "MVT", "::", "f64", ";", "}", "}", "if", "(", "Subtarget", "->", "is64Bit", "(", ")", "&&", "Size", ">=", "8", ")", "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": ["X86", "X86", "16", "0", "16", "0", "16", "32", "MVT::v8i32", "MVT::v8f32", "MVT::v4i32", "MVT::v4f32", "8", "MVT::f64", "8", "MVT::i64", "MVT::i32"], "File": "X86ISelLowering155", "Func": "getOptimalMemOpType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21506, "Length": 212, "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", ")", ",", "IsBTMemSlow", "(", "false", ")", ",", "IsUAMemFast", "(", "false", ")", ",", "HasVectorUAMem", "(", "false", ")", ",", "HasCmpxchg16b", "(", "false", ")", ",", "UseLeaForSP", "(", "false", ")", ",", "HasSlowDivide", "(", "false", ")", ",", "PostRAScheduler", "(", "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", "(", ")", "||", "isTargetFreeBSD", "(", ")", "||", "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": "X86Subtarget20", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21507, "Length": 485, "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": 21508, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTTIImpl", "::", "getNumberOfRegisters", "(", "bool", "Vector", ")", "{", "if", "(", "Vector", "&&", "!", "ST", "->", "hasAltivec", "(", ")", ")", "return", "0", ";", "return", "ST", "->", "hasVSX", "(", ")", "?", "64", ":", "32", ";", "}", ""], "natrual_language": ["\ufffd", "?", "Vector", "TTI", "begin", "\ufffd", "?"], "TS_V_token": ["PowerPC", "PPC", "0", "64", "32"], "File": "PPCTargetTransformInfo19", "Func": "getNumberOfRegisters", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21509, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "struct", "rtx_def", "*", "clipper_builtin_saveregs", "(", ")", "{", "rtx", "block", ",", "addr", ",", "r0_addr", ",", "r1_addr", ",", "f0_addr", ",", "f1_addr", ",", "mem", ";", "int", "set", "=", "get_varargs_alias_set", "(", ")", ";", "block", "=", "assign_stack_local", "(", "BLKmode", ",", "6", "*", "UNITS_PER_WORD", ",", "2", "*", "BITS_PER_WORD", ")", ";", "RTX_UNCHANGING_P", "(", "block", ")", "=", "1", ";", "RTX_UNCHANGING_P", "(", "XEXP", "(", "block", ",", "0", ")", ")", "=", "1", ";", "addr", "=", "XEXP", "(", "block", ",", "0", ")", ";", "r0_addr", "=", "addr", ";", "r1_addr", "=", "plus_constant", "(", "addr", ",", "4", ")", ";", "f0_addr", "=", "plus_constant", "(", "addr", ",", "8", ")", ";", "f1_addr", "=", "plus_constant", "(", "addr", ",", "16", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "SImode", ",", "r0_addr", ")", ";", "set_mem_alias_set", "(", "mem", ",", "set", ")", ";", "emit_move_insn", "(", "mem", ",", "gen_rtx_REG", "(", "SImode", ",", "0", ")", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "SImode", ",", "r1_addr", ")", ";", "set_mem_alias_set", "(", "mem", ",", "set", ")", ";", "emit_move_insn", "(", "mem", ",", "gen_rtx_REG", "(", "SImode", ",", "1", ")", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "DFmode", ",", "f0_addr", ")", ";", "set_mem_alias_set", "(", "mem", ",", "set", ")", ";", "emit_move_insn", "(", "mem", ",", "gen_rtx_REG", "(", "DFmode", ",", "16", ")", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "DFmode", ",", "f1_addr", ")", ";", "set_mem_alias_set", "(", "mem", ",", "set", ")", ";", "emit_move_insn", "(", "mem", ",", "gen_rtx_REG", "(", "DFmode", ",", "17", ")", ")", ";", "return", "addr", ";", "}", ""], "natrual_language": ["Dump", "the", "argument", "register", "to", "the", "stack", ";", "return", "the", "location", "of", "the", "block", "."], "TS_V_token": ["clipper", "6", "2", "1", "0", "1", "0", "4", "8", "16", "0", "1", "16", "17"], "File": "clipper", "Func": "clipper_builtin_saveregs", "Target": "clipper", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21510, "Length": 219, "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", ";", "return", "(", "ShuffleVectorSDNode", "::", "isSplatMask", "(", "&", "M", "[", "0", "]", ",", "VT", ")", "||", "isVREVMask", "(", "M", ",", "VT", ",", "64", ")", "||", "isVREVMask", "(", "M", ",", "VT", ",", "32", ")", "||", "isVREVMask", "(", "M", ",", "VT", ",", "16", ")", "||", "isVEXTMask", "(", "M", ",", "VT", ",", "ReverseVEXT", ",", "Imm", ")", "||", "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", "0", "64", "32", "16"], "File": "ARMISelLowering109", "Func": "isShuffleMaskLegal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21511, "Length": 271, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCSubtarget", "::", "enableMachineScheduler", "(", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Enable", "the", "MachineScheduler", "pass", "for", "all", "X86", "subtargets", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCSubtarget", "Func": "enableMachineScheduler", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21512, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "csky_print_operand", "(", "FILE", "*", "stream", ",", "rtx", "x", ",", "int", "code", ")", "{", "switch", "(", "code", ")", "{", "case", "'N'", ":", "if", "(", "(", "INTVAL", "(", "x", ")", "&", "0xffffffff", ")", "==", "0xffffffff", ")", "fprintf", "(", "stream", ",", "\"0\"", ")", ";", "else", "fprintf", "(", "stream", ",", "\"%d\"", ",", "(", "int", ")", "exact_log2", "(", "(", "INTVAL", "(", "x", ")", "&", "0xffffffff", ")", "+", "1", ")", "%", "32", ")", ";", "break", ";", "case", "'P'", ":", "fprintf", "(", "stream", ",", "\"%d\"", ",", "(", "int", ")", "exact_log2", "(", "INTVAL", "(", "x", ")", "&", "0xffffffff", ")", ")", ";", "break", ";", "case", "'Q'", ":", "fprintf", "(", "stream", ",", "\"%d\"", ",", "(", "int", ")", "exact_log2", "(", "~", "INTVAL", "(", "x", ")", "&", "0xffffffff", ")", ")", ";", "break", ";", "case", "'O'", ":", "fprintf", "(", "stream", ",", "\"%d\"", ",", "(", "int", ")", "INTVAL", "(", "x", ")", ")", ";", "break", ";", "case", "'M'", ":", "fprintf", "(", "stream", ",", "\"%d\"", ",", "(", "int", ")", "(", "-", "INTVAL", "(", "x", ")", ")", ")", ";", "break", ";", "case", "'R'", ":", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "REG", ":", "fputs", "(", "reg_names", "[", "REGNO", "(", "x", ")", "+", "1", "]", ",", "stream", ")", ";", "break", ";", "case", "MEM", ":", "csky_print_operand_address", "(", "stream", ",", "GET_MODE", "(", "x", ")", ",", "XEXP", "(", "adjust_address", "(", "x", ",", "SImode", ",", "4", ")", ",", "0", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "break", ";", "case", "'H'", ":", "fprintf", "(", "stream", ",", "\"%ld\"", ",", "(", "long", ")", "(", "(", "INTVAL", "(", "x", ")", "&", "0xFFFF0000", ")", ">>", "16", ")", ")", ";", "break", ";", "default", ":", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "REG", ":", "fputs", "(", "reg_names", "[", "REGNO", "(", "x", ")", "]", ",", "stream", ")", ";", "break", ";", "case", "MEM", ":", "output_address", "(", "GET_MODE", "(", "x", ")", ",", "XEXP", "(", "x", ",", "0", ")", ")", ";", "break", ";", "case", "UNSPEC", ":", "csky_output_pic_addr_const", "(", "stream", ",", "x", ",", "code", ")", ";", "break", ";", "case", "CONST_DOUBLE", ":", "{", "char", "fpstr", "[", "20", "]", ";", "real_to_decimal", "(", "fpstr", ",", "CONST_DOUBLE_REAL_VALUE", "(", "x", ")", ",", "sizeof", "(", "fpstr", ")", ",", "0", ",", "1", ")", ";", "fprintf", "(", "stream", ",", "\"%s\"", ",", "fpstr", ")", ";", "}", "break", ";", "default", ":", "output_addr_const", "(", "stream", ",", "x", ")", ";", "break", ";", "}", "break", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_PRINT_OPERAND", ".", "Print", "operand", "X", "(", "an", "rtx", ")", "in", "assembler", "syntax", "to", "file", "STREAM", "according", "to", "modifier", "CODE", ".", "'N'", "print", "the", "log2", "(", "X+1", ")", ",", "mainly", "used", "for", "bmaski", "'", "P'", "print", "the", "log2", "(", "X", ")", "'", "Q'", "print", "the", "log2", "(", "~X", ")", "'", "O'", "print", "a", "decimal", "number", "'M'", "print", "a", "decimal", "number", "as", "its", "negative", "'", "R'", "print", "the", "next", "register", "or", "memory", "location", "along", ",", "i.e", ".", "the", "lsw", "in", "a", "double", "word", "value", "'", "H'", "print", "the", "high", "16", "bits", "of", "a", "constant", "."], "TS_V_token": ["csky", "0xffffffff", "0xffffffff", "\"0\"", "\"%d\"", "0xffffffff", "1", "32", "\"%d\"", "0xffffffff", "\"%d\"", "0xffffffff", "\"%d\"", "\"%d\"", "1", "4", "0", "\"%ld\"", "0xFFFF0000", "16", "0", "20", "0", "1", "\"%s\""], "File": "csky", "Func": "csky_print_operand", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21513, "Length": 382, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "ARMElfTargetObjectFile", "::", "getTTypeGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "unsigned", "Encoding", ",", "Mangler", "&", "Mang", ",", "const", "TargetMachine", "&", "TM", ",", "MachineModuleInfo", "*", "MMI", ",", "MCStreamer", "&", "Streamer", ")", "const", "{", "if", "(", "TM", ".", "getMCAsmInfo", "(", ")", "->", "getExceptionHandlingType", "(", ")", "!=", "ExceptionHandling", "::", "ARM", ")", "return", "TargetLoweringObjectFileELF", "::", "getTTypeGlobalReference", "(", "GV", ",", "Encoding", ",", "Mang", ",", "TM", ",", "MMI", ",", "Streamer", ")", ";", "assert", "(", "Encoding", "==", "DW_EH_PE_absptr", "&&", "\"Can handle absptr encoding only\"", ")", ";", "Triple", "T", "(", "MMI", "->", "getModule", "(", ")", "->", "getTargetTriple", "(", ")", ")", ";", "if", "(", "T", ".", "isOSNaCl", "(", ")", ")", "return", "TargetLoweringObjectFileELF", "::", "getTTypeGlobalReference", "(", "GV", ",", "Encoding", ",", "Mang", ",", "TM", ",", "MMI", ",", "Streamer", ")", ";", "return", "MCSymbolRefExpr", "::", "Create", "(", "TM", ".", "getSymbol", "(", "GV", ",", "Mang", ")", ",", "MCSymbolRefExpr", "::", "VK_ARM_TARGET2", ",", "getContext", "(", ")", ")", ";", "}", ""], "natrual_language": ["The", "mach-o", "version", "of", "this", "method", "defaults", "to", "returning", "a", "stub", "reference", "."], "TS_V_token": ["ARM", "ARM", "ARM", "\"Can handle absptr encoding only\"", "ARM"], "File": "ARMTargetObjectFile32", "Func": "getTTypeGlobalReference", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21514, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "std", "::", "unique_ptr", "<", "FISCOperand", ">", "CreateReg", "(", "unsigned", "RegNum", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{", "auto", "Op", "=", "make_unique", "<", "FISCOperand", ">", "(", "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": ["FISC", "FISC", "FISC"], "File": "FISCAsmParser", "Func": "CreateReg", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21515, "Length": 54, "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": 21516, "Length": 395, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_expand_vpc_loongson_even_odd", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "i", ",", "odd", ",", "nelt", "=", "d", "->", "nelt", ";", "rtx", "t0", ",", "t1", ",", "t2", ",", "t3", ";", "if", "(", "!", "(", "TARGET_HARD_FLOAT", "&&", "TARGET_LOONGSON_MMI", ")", ")", "return", "false", ";", "if", "(", "nelt", "<", "4", ")", "return", "false", ";", "odd", "=", "d", "->", "perm", "[", "0", "]", ";", "if", "(", "odd", ">", "1", ")", "return", "false", ";", "for", "(", "i", "=", "1", ";", "i", "<", "nelt", ";", "++", "i", ")", "if", "(", "d", "->", "perm", "[", "i", "]", "!=", "i", "*", "2", "+", "odd", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "t0", "=", "gen_reg_rtx", "(", "d", "->", "vmode", ")", ";", "t1", "=", "gen_reg_rtx", "(", "d", "->", "vmode", ")", ";", "switch", "(", "d", "->", "vmode", ")", "{", "case", "E_V4HImode", ":", "emit_insn", "(", "gen_loongson_punpckhhw", "(", "t0", ",", "d", "->", "op0", ",", "d", "->", "op1", ")", ")", ";", "emit_insn", "(", "gen_loongson_punpcklhw", "(", "t1", ",", "d", "->", "op0", ",", "d", "->", "op1", ")", ")", ";", "if", "(", "odd", ")", "emit_insn", "(", "gen_loongson_punpckhhw", "(", "d", "->", "target", ",", "t1", ",", "t0", ")", ")", ";", "else", "emit_insn", "(", "gen_loongson_punpcklhw", "(", "d", "->", "target", ",", "t1", ",", "t0", ")", ")", ";", "break", ";", "case", "E_V8QImode", ":", "t2", "=", "gen_reg_rtx", "(", "d", "->", "vmode", ")", ";", "t3", "=", "gen_reg_rtx", "(", "d", "->", "vmode", ")", ";", "emit_insn", "(", "gen_loongson_punpckhbh", "(", "t0", ",", "d", "->", "op0", ",", "d", "->", "op1", ")", ")", ";", "emit_insn", "(", "gen_loongson_punpcklbh", "(", "t1", ",", "d", "->", "op0", ",", "d", "->", "op1", ")", ")", ";", "emit_insn", "(", "gen_loongson_punpckhbh", "(", "t2", ",", "t1", ",", "t0", ")", ")", ";", "emit_insn", "(", "gen_loongson_punpcklbh", "(", "t3", ",", "t1", ",", "t0", ")", ")", ";", "if", "(", "odd", ")", "emit_insn", "(", "gen_loongson_punpckhbh", "(", "d", "->", "target", ",", "t3", ",", "t2", ")", ")", ";", "else", "emit_insn", "(", "gen_loongson_punpcklbh", "(", "d", "->", "target", ",", "t3", ",", "t2", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "for", "even-odd", "extraction", "."], "TS_V_token": ["mips", "4", "0", "1", "1", "2"], "File": "mips", "Func": "mips_expand_vpc_loongson_even_odd", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21517, "Length": 327, "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", "::", "DINS", ":", "LowerDins", "(", "TmpInst", ")", ";", "break", ";", "case", "Mips", "::", "BEQC", ":", "case", "Mips", "::", "BNEC", ":", "case", "Mips", "::", "BOVC", ":", "case", "Mips", "::", "BNVC", ":", "LowerCompactBranch", "(", "TmpInst", ")", ";", "}", "unsigned", "long", "N", "=", "Fixups", ".", "size", "(", ")", ";", "uint32_t", "Binary", "=", "getBinaryCodeForInstr", "(", "TmpInst", ",", "Fixups", ",", "STI", ")", ";", "unsigned", "Opcode", "=", "TmpInst", ".", "getOpcode", "(", ")", ";", "if", "(", "(", "Opcode", "!=", "Mips", "::", "NOP", ")", "&&", "(", "Opcode", "!=", "Mips", "::", "SLL", ")", "&&", "(", "Opcode", "!=", "Mips", "::", "SLL_MM", ")", "&&", "!", "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", "(", ")", ";", "Opcode", "=", "NewOpcode", ";", "TmpInst", ".", "setOpcode", "(", "NewOpcode", ")", ";", "Binary", "=", "getBinaryCodeForInstr", "(", "TmpInst", ",", "Fixups", ",", "STI", ")", ";", "}", "}", "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::DINS", "Mips::BEQC", "Mips::BNEC", "Mips::BOVC", "Mips::BNVC", "Mips::NOP", "Mips::SLL", "Mips::SLL_MM", "\"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", "\"Desc.getSize() returns 0\""], "File": "MipsMCCodeEmitter47", "Func": "encodeInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21518, "Length": 357, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mmix_target_asm_function_epilogue", "(", "FILE", "*", "stream", ")", "{", "fputc", "(", "'\\n'", ",", "stream", ")", ";", "}", ""], "natrual_language": ["TARGET_ASM_FUNCTION_EPILOGUE", "."], "TS_V_token": ["mmix"], "File": "mmix", "Func": "mmix_target_asm_function_epilogue", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21519, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMConstantIslands", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "MachineConstantPool", "&", "MCP", "=", "*", "MF", ".", "getConstantPool", "(", ")", ";", "TII", "=", "(", "const", "ARMInstrInfo", "*", ")", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "STI", "=", "&", "MF", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "isThumb", "=", "AFI", "->", "isThumbFunction", "(", ")", ";", "isThumb1", "=", "AFI", "->", "isThumb1OnlyFunction", "(", ")", ";", "isThumb2", "=", "AFI", "->", "isThumb2Function", "(", ")", ";", "HasFarJump", "=", "false", ";", "HasInlineAsm", "=", "false", ";", "MF", ".", "RenumberBlocks", "(", ")", ";", "bool", "MadeChange", "=", "false", ";", "if", "(", "isThumb2", "&&", "AdjustJumpTableBlocks", ")", "{", "JumpTableFunctionScan", "(", "MF", ")", ";", "MadeChange", "|=", "ReorderThumb2JumpTables", "(", "MF", ")", ";", "T2JumpTables", ".", "clear", "(", ")", ";", "MF", ".", "RenumberBlocks", "(", ")", ";", "}", "if", "(", "!", "isThumb1", ")", "MF", ".", "EnsureAlignment", "(", "2", ")", ";", "std", "::", "vector", "<", "MachineInstr", "*", ">", "CPEMIs", ";", "if", "(", "!", "MCP", ".", "isEmpty", "(", ")", ")", "{", "DoInitialPlacement", "(", "MF", ",", "CPEMIs", ")", ";", "if", "(", "isThumb1", ")", "MF", ".", "EnsureAlignment", "(", "2", ")", ";", "}", "AFI", "->", "initConstPoolEntryUId", "(", "CPEMIs", ".", "size", "(", ")", ")", ";", "InitialFunctionScan", "(", "MF", ",", "CPEMIs", ")", ";", "CPEMIs", ".", "clear", "(", ")", ";", "DEBUG", "(", "dumpBBs", "(", ")", ")", ";", "RemoveUnusedCPEntries", "(", ")", ";", "unsigned", "NoCPIters", "=", "0", ",", "NoBRIters", "=", "0", ";", "while", "(", "true", ")", "{", "bool", "CPChange", "=", "false", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CPUsers", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "CPChange", "|=", "HandleConstantPoolUser", "(", "MF", ",", "i", ")", ";", "if", "(", "CPChange", "&&", "++", "NoCPIters", ">", "30", ")", "llvm_unreachable", "(", "\"Constant Island pass failed to converge!\"", ")", ";", "DEBUG", "(", "dumpBBs", "(", ")", ")", ";", "NewWaterList", ".", "clear", "(", ")", ";", "bool", "BRChange", "=", "false", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "ImmBranches", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "BRChange", "|=", "FixUpImmediateBr", "(", "MF", ",", "ImmBranches", "[", "i", "]", ")", ";", "if", "(", "BRChange", "&&", "++", "NoBRIters", ">", "30", ")", "llvm_unreachable", "(", "\"Branch Fix Up pass failed to converge!\"", ")", ";", "DEBUG", "(", "dumpBBs", "(", ")", ")", ";", "if", "(", "!", "CPChange", "&&", "!", "BRChange", ")", "break", ";", "MadeChange", "=", "true", ";", "}", "if", "(", "isThumb2", "&&", "!", "STI", "->", "prefers32BitThumb", "(", ")", ")", "MadeChange", "|=", "OptimizeThumb2Instructions", "(", "MF", ")", ";", "verify", "(", "MF", ")", ";", "if", "(", "isThumb", "&&", "!", "HasFarJump", "&&", "AFI", "->", "isLRSpilledForFarJump", "(", ")", ")", "MadeChange", "|=", "UndoLRSpillRestore", "(", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "'\\n'", ";", "dumpBBs", "(", ")", ")", ";", "BBSizes", ".", "clear", "(", ")", ";", "BBOffsets", ".", "clear", "(", ")", ";", "WaterList", ".", "clear", "(", ")", ";", "CPUsers", ".", "clear", "(", ")", ";", "CPEntries", ".", "clear", "(", ")", ";", "ImmBranches", ".", "clear", "(", ")", ";", "PushPopMIs", ".", "clear", "(", ")", ";", "T2JumpTables", ".", "clear", "(", ")", ";", "return", "MadeChange", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM", "2", "2", "0", "0", "0", "30", "\"Constant Island pass failed to converge!\"", "0", "30", "\"Branch Fix Up pass failed to converge!\""], "File": "ARMConstantIslandPass17", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21520, "Length": 484, "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": 21521, "Length": 390, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"AArch64 branch fixup pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64", "\"AArch64 branch fixup pass\""], "File": "AArch64BranchFixupPass1", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21522, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Tile Register Configure\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"Tile Register Configure\""], "File": "X86TileConfig (2)", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21523, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_lx_address_p", "(", "rtx", "addr", ",", "machine_mode", "mode", ")", "{", "if", "(", "GET_CODE", "(", "addr", ")", "!=", "PLUS", "||", "!", "REG_P", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "||", "!", "REG_P", "(", "XEXP", "(", "addr", ",", "1", ")", ")", ")", "return", "false", ";", "if", "(", "ISA_HAS_LBX", "&&", "mode", "==", "QImode", ")", "return", "true", ";", "if", "(", "ISA_HAS_LHX", "&&", "mode", "==", "HImode", ")", "return", "true", ";", "if", "(", "ISA_HAS_LWX", "&&", "mode", "==", "SImode", ")", "return", "true", ";", "if", "(", "ISA_HAS_LDX", "&&", "mode", "==", "DImode", ")", "return", "true", ";", "if", "(", "MSA_SUPPORTED_MODE_P", "(", "mode", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "ADDR", "matches", "the", "pattern", "for", "the", "L", "{", "B", ",", "H", ",", "W", ",", "D", "}", "{", ",", "U", "}", "X", "load", "indexed", "address", "instruction", ".", "Note", "that", "such", "addresses", "are", "not", "considered", "legitimate", "in", "the", "TARGET_LEGITIMATE_ADDRESS_P", "sense", ",", "because", "their", "use", "is", "so", "restricted", "."], "TS_V_token": ["mips", "0", "1"], "File": "mips", "Func": "mips_lx_address_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21524, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsInstrInfo", "::", "findCommutedOpIndices", "(", "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", "Func": "findCommutedOpIndices", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21525, "Length": 156, "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": 21526, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_comp_type_attributes", "(", "tree", "type1", ",", "tree", "type2", ")", "{", "int", "l1", ",", "l2", ",", "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", ";", "s1", "=", "lookup_attribute", "(", "\"short_call\"", ",", "TYPE_ATTRIBUTES", "(", "type1", ")", ")", "!=", "NULL", ";", "s2", "=", "lookup_attribute", "(", "\"short_call\"", ",", "TYPE_ATTRIBUTES", "(", "type2", ")", ")", "!=", "NULL", ";", "if", "(", "l1", "|", "l2", "|", "s1", "|", "s2", ")", "{", "if", "(", "(", "l1", "!=", "l2", ")", "||", "(", "s1", "!=", "s2", ")", ")", "return", "0", ";", "if", "(", "(", "l1", "&", "s2", ")", "||", "(", "l2", "&", "s1", ")", ")", "return", "0", ";", "}", "l1", "=", "lookup_attribute", "(", "\"isr\"", ",", "TYPE_ATTRIBUTES", "(", "type1", ")", ")", "!=", "NULL", ";", "if", "(", "!", "l1", ")", "l1", "=", "lookup_attribute", "(", "\"interrupt\"", ",", "TYPE_ATTRIBUTES", "(", "type1", ")", ")", "!=", "NULL", ";", "l2", "=", "lookup_attribute", "(", "\"isr\"", ",", "TYPE_ATTRIBUTES", "(", "type2", ")", ")", "!=", "NULL", ";", "if", "(", "!", "l2", ")", "l1", "=", "lookup_attribute", "(", "\"interrupt\"", ",", "TYPE_ATTRIBUTES", "(", "type2", ")", ")", "!=", "NULL", ";", "if", "(", "l1", "!=", "l2", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "0", "if", "the", "attributes", "for", "two", "types", "are", "incompatible", ",", "1", "if", "they", "are", "compatible", ",", "and", "2", "if", "they", "are", "nearly", "compatible", "(", "which", "causes", "a", "warning", "to", "be", "generated", ")", "."], "TS_V_token": ["arm", "1", "\"long_call\"", "\"long_call\"", "\"short_call\"", "\"short_call\"", "0", "0", "\"isr\"", "\"interrupt\"", "\"isr\"", "\"interrupt\"", "0", "1"], "File": "arm3", "Func": "arm_comp_type_attributes", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21527, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasFusion", "(", ")", "const", "{", "return", "hasArithmeticBccFusion", "(", ")", "||", "hasArithmeticCbzFusion", "(", ")", "||", "hasFuseAES", "(", ")", "||", "hasFuseArithmeticLogic", "(", ")", "||", "hasFuseCCSelect", "(", ")", "||", "hasFuseAdrpAdd", "(", ")", "||", "hasFuseLiterals", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "CPU", "supports", "any", "kind", "of", "instruction", "fusion", "."], "TS_V_token": ["AArch64"], "File": "AArch64Subtarget42", "Func": "hasFusion", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21528, "Length": 36, "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": ["SHUXI"], "File": "SHUXITargetMachine", "Func": "getObjFileLowering", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21529, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_modifies_global_state_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_PREFETCH_MEMORY", ")", "return", "true", ";", "return", "flags", "&", "FLAG_WRITE_MEMORY", ";", "}", ""], "natrual_language": ["Return", "true", "if", "calls", "to", "the", "function", "could", "modify", "some", "form", "of", "global", "state", "."], "TS_V_token": ["aarch64"], "File": "aarch64-builtins", "Func": "aarch64_modifies_global_state_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21530, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "KnownBits", "&", "Known", ",", "const", "APInt", "&", "DemandedElts", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "Known", ".", "resetAll", "(", ")", ";", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "{", "switch", "(", "cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "0", ")", ")", "->", "getZExtValue", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Intrinsic", "::", "cheri_round_representable_length", ":", "if", "(", "Subtarget", ".", "isCheri256", "(", ")", ")", "{", "Known", "=", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "1", ")", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "isCheri128", "(", ")", ")", "{", "KnownBits", "KnownLengthBits", "=", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "1", ")", ")", ";", "uint64_t", "MinLength", "=", "KnownLengthBits", ".", "One", ".", "getZExtValue", "(", ")", ";", "uint64_t", "MaxLength", "=", "(", "~", "KnownLengthBits", ".", "Zero", ")", ".", "getZExtValue", "(", ")", ";", "uint64_t", "MinMask", "=", "cc128_get_alignment_mask", "(", "MinLength", ")", ";", "uint64_t", "MaxMask", "=", "cc128_get_alignment_mask", "(", "MaxLength", ")", ";", "uint64_t", "MinRoundedLength", "=", "(", "MinLength", "+", "~", "MinMask", ")", "&", "MinMask", ";", "uint64_t", "MaxRoundedLength", "=", "(", "MaxLength", "+", "~", "MaxMask", ")", "&", "MaxMask", ";", "bool", "MinRoundedOverflow", "=", "MinRoundedLength", "<", "MinLength", ";", "bool", "MaxRoundedOverflow", "=", "MaxRoundedLength", "<", "MaxLength", ";", "uint64_t", "MinMaxRoundedAgreeMask", "=", "MinRoundedLength", "^", "~", "MaxRoundedLength", ";", "uint64_t", "InputKnownMask", "=", "(", "KnownLengthBits", ".", "Zero", "|", "KnownLengthBits", ".", "One", ")", ".", "getZExtValue", "(", ")", ";", "uint64_t", "LeadingKnownBits", "=", "countLeadingOnes", "(", "MinMaxRoundedAgreeMask", ")", ";", "uint64_t", "LeadingKnownMask", "=", "MinRoundedOverflow", "==", "MaxRoundedOverflow", "?", "maskLeadingOnes", "<", "uint64_t", ">", "(", "LeadingKnownBits", ")", ":", "0", ";", "uint64_t", "TrailingKnownBits", "=", "countTrailingOnes", "(", "MinMaxRoundedAgreeMask", ")", ";", "uint64_t", "TrailingKnownMask", "=", "maskTrailingOnes", "<", "uint64_t", ">", "(", "TrailingKnownBits", ")", "&", "InputKnownMask", ";", "uint64_t", "KnownMask", "=", "LeadingKnownMask", "|", "TrailingKnownMask", ";", "Known", ".", "Zero", "|=", "~", "MinRoundedLength", "&", "KnownMask", ";", "Known", ".", "One", "|=", "MinRoundedLength", "&", "KnownMask", ";", "}", "break", ";", "case", "Intrinsic", "::", "cheri_representable_alignment_mask", ":", "if", "(", "Subtarget", ".", "isCheri256", "(", ")", ")", "{", "Known", ".", "setAllOnes", "(", ")", ";", "}", "else", "if", "(", "Subtarget", ".", "isCheri128", "(", ")", ")", "{", "KnownBits", "KnownLengthBits", "=", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "1", ")", ")", ";", "uint64_t", "MinLength", "=", "KnownLengthBits", ".", "One", ".", "getZExtValue", "(", ")", ";", "uint64_t", "MaxLength", "=", "(", "~", "KnownLengthBits", ".", "Zero", ")", ".", "getZExtValue", "(", ")", ";", "Known", ".", "Zero", "|=", "~", "cc128_get_alignment_mask", "(", "MinLength", ")", ";", "Known", ".", "One", "|=", "cc128_get_alignment_mask", "(", "MaxLength", ")", ";", "}", "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": ["Mips", "Mips", "ISD::INTRINSIC_WO_CHAIN", "0", "Intrinsic::cheri_round_representable_length", "1", "1", "0", "Intrinsic::cheri_representable_alignment_mask", "1"], "File": "MipsISelLowering66", "Func": "computeKnownBitsForTargetNode", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21531, "Length": 405, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "std", "::", "string", "&", "THMToTHMStub", "::", "name", "(", ")", "const", "{", "return", "m_Name", ";", "}", ""], "natrual_language": ["Gets", "the", "name", "of", "the", "pass", "we", "are", "mixed", "into", "."], "TS_V_token": ["ARM"], "File": "THMToTHMStub", "Func": "name", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21532, "Length": 16, "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": 21533, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCReduceCRLogicals", "::", "initialize", "(", "MachineFunction", "&", "MFParam", ")", "{", "MF", "=", "&", "MFParam", ";", "MRI", "=", "&", "MF", "->", "getRegInfo", "(", ")", ";", "TII", "=", "MF", "->", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MBPI", "=", "&", "getAnalysis", "<", "MachineBranchProbabilityInfo", ">", "(", ")", ";", "AllCRLogicalOps", ".", "clear", "(", ")", ";", "}", ""], "natrual_language": ["Initialize", "the", "strategy", "after", "building", "the", "DAG", "for", "a", "new", "region", "."], "TS_V_token": ["PowerPC", "PPC", "PPC"], "File": "PPCReduceCRLogicals", "Func": "initialize", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21534, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Relocator", "::", "Size", "AArch64Relocator", "::", "getSize", "(", "Relocation", "::", "Type", "pType", ")", "const", "{", "return", "ApplyFunctions", "[", "pType", "]", ".", "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": ["AArch64", "AArch64"], "File": "AArch64Relocator", "Func": "getSize", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21535, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_sve_addvl_addpl_immediate_p", "(", "rtx", "x", ")", "{", "poly_int64", "value", ";", "return", "(", "poly_int_rtx_p", "(", "x", ",", "&", "value", ")", "&&", "aarch64_sve_addvl_addpl_immediate_p", "(", "value", ")", ")", ";", "}", ""], "natrual_language": ["Likewise", "for", "rtx", "X", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_sve_addvl_addpl_immediate_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21536, "Length": 27, "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", ".", "isOSWindows", "(", ")", ")", "{", "if", "(", "STI", ".", "is32Bit", "(", ")", ")", "return", "true", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "X86", "::", "CATCHRET", ")", "{", "const", "Function", "*", "Func", "=", "MBB", ".", "getParent", "(", ")", "->", "getFunction", "(", ")", ";", "bool", "IsSEH", "=", "isAsynchronousEHPersonality", "(", "classifyEHPersonality", "(", "Func", "->", "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", ";", "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", ")", ".", "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", "X86::POP64r", "X86::POP32r", "0", "X86::GR64RegClass", "X86::GR32RegClass"], "File": "X86FrameLowering (2)4", "Func": "restoreCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21537, "Length": 329, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mmix_file_start", "(", "void", ")", "{", "default_file_start", "(", ")", ";", "fputs", "(", "\"! mmixal:= 8H LOC Data_Section\\n\"", ",", "asm_out_file", ")", ";", "switch_to_section", "(", "text_section", ")", ";", "}", ""], "natrual_language": ["TARGET_ASM_FILE_START", ".", "We", "just", "emit", "a", "little", "comment", "for", "the", "time", "being", "."], "TS_V_token": ["mmix", "\"! mmixal:= 8H LOC Data_Section\\n\""], "File": "mmix", "Func": "mmix_file_start", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21538, "Length": 24, "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", "(", "llvm", "::", "is_sorted", "(", "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": "MipsCCState11", "Func": "isF128SoftLibCall", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21539, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMAsmPrinter", "::", "emitFunctionEntryLabel", "(", ")", "{", "if", "(", "AFI", "->", "isThumbFunction", "(", ")", ")", "{", "OutStreamer", "->", "emitAssemblerFlag", "(", "MCAF_Code16", ")", ";", "OutStreamer", "->", "emitThumbFunc", "(", "CurrentFnSym", ")", ";", "}", "else", "{", "OutStreamer", "->", "emitAssemblerFlag", "(", "MCAF_Code32", ")", ";", "}", "if", "(", "AFI", "->", "isCmseNSEntryFunction", "(", ")", ")", "{", "MCSymbol", "*", "S", "=", "OutContext", ".", "getOrCreateSymbol", "(", "\"__acle_se_\"", "+", "CurrentFnSym", "->", "getName", "(", ")", ")", ";", "emitLinkage", "(", "&", "MF", "->", "getFunction", "(", ")", ",", "S", ")", ";", "OutStreamer", "->", "emitSymbolAttribute", "(", "S", ",", "MCSA_ELF_TypeFunction", ")", ";", "OutStreamer", "->", "emitLabel", "(", "S", ")", ";", "}", "OutStreamer", "->", "emitLabel", "(", "CurrentFnSym", ")", ";", "}", ""], "natrual_language": ["EmitFunctionEntryLabel", "-", "Emit", "the", "label", "that", "is", "the", "entrypoint", "for", "the", "function", "."], "TS_V_token": ["ARM", "ARM", "\"__acle_se_\""], "File": "ARMAsmPrinter", "Func": "emitFunctionEntryLabel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21540, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "SDValue", "matchBinOpReduction", "(", "SDNode", "*", "Extract", ",", "unsigned", "&", "BinOp", ",", "ArrayRef", "<", "ISD", "::", "NodeType", ">", "CandidateBinOps", ")", "{", "if", "(", "(", "Extract", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "EXTRACT_VECTOR_ELT", ")", "||", "!", "isNullConstant", "(", "Extract", "->", "getOperand", "(", "1", ")", ")", ")", "return", "SDValue", "(", ")", ";", "SDValue", "Op", "=", "Extract", "->", "getOperand", "(", "0", ")", ";", "unsigned", "Stages", "=", "Log2_32", "(", "Op", ".", "getValueType", "(", ")", ".", "getVectorNumElements", "(", ")", ")", ";", "if", "(", "llvm", "::", "none_of", "(", "CandidateBinOps", ",", "[", "Op", "]", "(", "ISD", "::", "NodeType", "BinOp", ")", "{", "return", "Op", ".", "getOpcode", "(", ")", "==", "BinOp", ";", "}", ")", ")", "return", "SDValue", "(", ")", ";", "unsigned", "CandidateBinOp", "=", "Op", ".", "getOpcode", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Stages", ";", "++", "i", ")", "{", "if", "(", "Op", ".", "getOpcode", "(", ")", "!=", "CandidateBinOp", ")", "return", "SDValue", "(", ")", ";", "ShuffleVectorSDNode", "*", "Shuffle", "=", "dyn_cast", "<", "ShuffleVectorSDNode", ">", "(", "Op", ".", "getOperand", "(", "0", ")", ".", "getNode", "(", ")", ")", ";", "if", "(", "Shuffle", ")", "{", "Op", "=", "Op", ".", "getOperand", "(", "1", ")", ";", "}", "else", "{", "Shuffle", "=", "dyn_cast", "<", "ShuffleVectorSDNode", ">", "(", "Op", ".", "getOperand", "(", "1", ")", ".", "getNode", "(", ")", ")", ";", "Op", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "}", "if", "(", "!", "Shuffle", "||", "Shuffle", "->", "getOperand", "(", "0", ")", "!=", "Op", ")", "return", "SDValue", "(", ")", ";", "for", "(", "int", "Index", "=", "0", ",", "MaskEnd", "=", "1", "<<", "i", ";", "Index", "<", "MaskEnd", ";", "++", "Index", ")", "if", "(", "Shuffle", "->", "getMaskElt", "(", "Index", ")", "!=", "MaskEnd", "+", "Index", ")", "return", "SDValue", "(", ")", ";", "}", "BinOp", "=", "CandidateBinOp", ";", "return", "Op", ";", "}", ""], "natrual_language": ["Match", "a", "binop", "+", "shuffle", "pyramid", "that", "represents", "a", "horizontal", "reduction", "over", "the", "elements", "of", "a", "vector", "starting", "from", "the", "EXTRACT_VECTOR_ELT", "node", "/p", "Extract", "."], "TS_V_token": ["X86", "ISD::NodeType", "ISD::EXTRACT_VECTOR_ELT", "1", "0", "ISD::NodeType", "0", "0", "1", "1", "0", "0", "0", "1"], "File": "X86ISelLowering143", "Func": "matchBinOpReduction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21541, "Length": 284, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TargetLowering", "::", "getJumpTableEncoding", "(", ")", "const", "{", "if", "(", "isPositionIndependent", "(", ")", "&&", "Subtarget", ".", "isPICStyleGOT", "(", ")", ")", "return", "MachineJumpTableInfo", "::", "EK_Custom32", ";", "return", "TargetLowering", "::", "getJumpTableEncoding", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "entry", "encoding", "for", "a", "jump", "table", "in", "the", "current", "function", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering (2)5", "Func": "getJumpTableEncoding", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21542, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "LanaiInstrInfo", "::", "removeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "int", "*", "BytesRemoved", ")", "const", "{", "assert", "(", "!", "BytesRemoved", "&&", "\"code size not handled\"", ")", ";", "MachineBasicBlock", "::", "iterator", "Instruction", "=", "MBB", ".", "end", "(", ")", ";", "unsigned", "Count", "=", "0", ";", "while", "(", "Instruction", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "--", "Instruction", ";", "if", "(", "Instruction", "->", "isDebugValue", "(", ")", ")", "continue", ";", "if", "(", "Instruction", "->", "getOpcode", "(", ")", "!=", "Lanai", "::", "BT", "&&", "Instruction", "->", "getOpcode", "(", ")", "!=", "Lanai", "::", "BRCC", ")", "{", "break", ";", "}", "Instruction", "->", "eraseFromParent", "(", ")", ";", "Instruction", "=", "MBB", ".", "end", "(", ")", ";", "++", "Count", ";", "}", "return", "Count", ";", "}", ""], "natrual_language": ["Remove", "the", "branching", "code", "at", "the", "end", "of", "the", "specific", "MBB", "."], "TS_V_token": ["Lanai", "Lanai", "\"code size not handled\"", "0", "Lanai::BT", "Lanai::BRCC"], "File": "LanaiInstrInfo25", "Func": "removeBranch", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21543, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMGlobalMerge", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "SmallVector", "<", "GlobalVariable", "*", ",", "16", ">", "Globals", ",", "ConstGlobals", ";", "const", "TargetData", "*", "TD", "=", "TLI", "->", "getTargetData", "(", ")", ";", "unsigned", "MaxOffset", "=", "TLI", "->", "getMaximalGlobalOffset", "(", ")", ";", "bool", "Changed", "=", "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", "(", ")", ")", "<", "MaxOffset", ")", "{", "if", "(", "I", "->", "isConstant", "(", ")", ")", "ConstGlobals", ".", "push_back", "(", "I", ")", ";", "else", "Globals", ".", "push_back", "(", "I", ")", ";", "}", "}", "if", "(", "Globals", ".", "size", "(", ")", ">", "1", ")", "Changed", "|=", "doMerge", "(", "Globals", ",", "M", ",", "false", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["ARM", "ARM", "16", "0", "\"llvm.\"", "\".llvm.\"", "1"], "File": "ARMGlobalMerge", "Func": "doInitialization", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21544, "Length": 202, "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", "E_QImode", ":", "fn", "=", "gen_store_conditionalqi", ";", "break", ";", "case", "E_HImode", ":", "fn", "=", "gen_store_conditionalhi", ";", "break", ";", "case", "E_SImode", ":", "fn", "=", "gen_store_conditionalsi", ";", "break", ";", "case", "E_DImode", ":", "fn", "=", "gen_store_conditionaldi", ";", "break", ";", "case", "E_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": ["powerpcspe"], "File": "powerpcspe", "Func": "emit_store_conditional", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21545, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "moxie_static_chain", "(", "const_tree", "ARG_UNUSED", "(", "fndecl_or_type", ")", ",", "bool", "incoming_p", ")", "{", "rtx", "addr", ",", "mem", ";", "if", "(", "incoming_p", ")", "addr", "=", "plus_constant", "(", "Pmode", ",", "arg_pointer_rtx", ",", "2", "*", "UNITS_PER_WORD", ")", ";", "else", "addr", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "UNITS_PER_WORD", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "Pmode", ",", "addr", ")", ";", "MEM_NOTRAP_P", "(", "mem", ")", "=", "1", ";", "return", "mem", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_STATIC_CHAIN", "."], "TS_V_token": ["moxie", "2", "1"], "File": "moxie", "Func": "moxie_static_chain", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21546, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_pre_atomic_barrier", "(", "rtx", "mem", ",", "enum", "memmodel", "model", ")", "{", "rtx", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "if", "(", "!", "legitimate_indirect_address_p", "(", "addr", ",", "reload_completed", ")", "&&", "!", "legitimate_indexed_address_p", "(", "addr", ",", "reload_completed", ")", ")", "{", "addr", "=", "force_reg", "(", "Pmode", ",", "addr", ")", ";", "mem", "=", "replace_equiv_address_nv", "(", "mem", ",", "addr", ")", ";", "}", "switch", "(", "model", ")", "{", "case", "MEMMODEL_RELAXED", ":", "case", "MEMMODEL_CONSUME", ":", "case", "MEMMODEL_ACQUIRE", ":", "break", ";", "case", "MEMMODEL_RELEASE", ":", "case", "MEMMODEL_ACQ_REL", ":", "emit_insn", "(", "gen_lwsync", "(", ")", ")", ";", "break", ";", "case", "MEMMODEL_SEQ_CST", ":", "emit_insn", "(", "gen_hwsync", "(", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "mem", ";", "}", ""], "natrual_language": ["Expand", "barriers", "before", "and", "after", "a", "load_locked/store_cond", "sequence", "."], "TS_V_token": ["rs6000", "0"], "File": "rs6000", "Func": "rs6000_pre_atomic_barrier", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21547, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "SystemZFrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "FrameReg", ")", "const", "{", "int64_t", "Offset", "=", "TargetFrameLowering", "::", "getFrameIndexReference", "(", "MF", ",", "FI", ",", "FrameReg", ")", ";", "return", "Offset", "+", "SystemZMC", "::", "CallFrameSize", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZMC::CallFrameSize"], "File": "SystemZFrameLowering26", "Func": "getFrameIndexReference", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21548, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsRegisterInfo", "::", "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": ["Mips", "Mips", "\"\\nFunction : \"", "\"\\n\"", "\"<--------->\\n\"", "\"FrameIndex : \"", "\"\\n\"", "\"spOffset : \"", "\"\\n\"", "\"stackSize : \"", "\"\\n\""], "File": "MipsRegisterInfo31", "Func": "eliminateFrameIndex", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21549, "Length": 149, "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": 21550, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCMCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "assert", "(", "(", "MI", ".", "getOpcode", "(", ")", "!=", "PPC", "::", "MTCRF", "&&", "MI", ".", "getOpcode", "(", ")", "!=", "PPC", "::", "MFOCRF", ")", "||", "MO", ".", "getReg", "(", ")", "<", "PPC", "::", "CR0", "||", "MO", ".", "getReg", "(", ")", ">", "PPC", "::", "CR7", ")", ";", "return", "CTX", ".", "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::MTCRF", "PPC::MFOCRF", "PPC::CR0", "PPC::CR7", "\"Relocation required in an instruction that we cannot encode!\""], "File": "PPCMCCodeEmitter1", "Func": "getMachineOpValue", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21551, "Length": 114, "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", "E_V2DFmode", ":", "case", "E_V2DImode", ":", "case", "E_V2SFmode", ":", "case", "E_V2SImode", ":", "return", "false", ";", "case", "E_V4DImode", ":", "if", "(", "!", "TARGET_64BIT", ")", "return", "false", ";", "case", "E_V8HFmode", ":", "case", "E_V16HFmode", ":", "case", "E_V8BFmode", ":", "case", "E_V16BFmode", ":", "case", "E_V4DFmode", ":", "case", "E_V8SFmode", ":", "case", "E_V8SImode", ":", "case", "E_V16HImode", ":", "case", "E_V32QImode", ":", "case", "E_V4SFmode", ":", "case", "E_V4SImode", ":", "case", "E_V8HImode", ":", "case", "E_V4HImode", ":", "break", ";", "case", "E_V16QImode", ":", "if", "(", "TARGET_SSE4_1", ")", "break", ";", "wmode", "=", "V8HImode", ";", "goto", "widen", ";", "case", "E_V8QImode", ":", "if", "(", "TARGET_MMX_WITH_SSE", "&&", "TARGET_SSE4_1", ")", "break", ";", "wmode", "=", "V4HImode", ";", "goto", "widen", ";", "case", "E_V4QImode", ":", "if", "(", "TARGET_SSE4_1", ")", "break", ";", "wmode", "=", "V2HImode", ";", "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", "(", "UINTVAL", "(", "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": "i386-expand1", "Func": "ix86_expand_vector_init_one_var", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21552, "Length": 397, "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": 21553, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isSchedulingBoundary", "(", "const", "MachineInstr", "*", "MI", ",", "const", "MachineBasicBlock", "*", "MBB", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "MI", "->", "isDebugValue", "(", ")", ")", "return", "false", ";", "if", "(", "MI", "->", "isTerminator", "(", ")", "||", "MI", "->", "isLabel", "(", ")", ")", "return", "true", ";", "MachineBasicBlock", "::", "const_iterator", "I", "=", "MI", ";", "while", "(", "++", "I", "!=", "MBB", "->", "end", "(", ")", "&&", "I", "->", "isDebugValue", "(", ")", ")", ";", "if", "(", "I", "!=", "MBB", "->", "end", "(", ")", "&&", "I", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2IT", ")", "return", "true", ";", "if", "(", "!", "MI", "->", "isCall", "(", ")", "&&", "MI", "->", "definesRegister", "(", "ARM", "::", "SP", ")", ")", "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": ["ARM", "ARM", "ARM::t2IT", "ARM::SP"], "File": "ARMBaseInstrInfo (2)1", "Func": "isSchedulingBoundary", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21554, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16InstrInfo", "::", "isCopyInstr", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "*", "&", "Src", ",", "const", "MachineOperand", "*", "&", "Dest", ")", "const", "{", "if", "(", "MI", ".", "isMoveReg", "(", ")", ")", "{", "Dest", "=", "&", "MI", ".", "getOperand", "(", "0", ")", ";", "Src", "=", "&", "MI", ".", "getOperand", "(", "1", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "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": ["Mips", "Mips", "0", "1"], "File": "Mips16InstrInfo27", "Func": "isCopyInstr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21555, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86IntelAsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "const", "TargetData", "*", "TD", "=", "TM", ".", "getTargetData", "(", ")", ";", "for", "(", "Module", "::", "const_global_iterator", "I", "=", "M", ".", "global_begin", "(", ")", ",", "E", "=", "M", ".", "global_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "I", "->", "isDeclaration", "(", ")", ")", "continue", ";", "if", "(", "EmitSpecialLLVMGlobal", "(", "I", ")", ")", "continue", ";", "std", "::", "string", "name", "=", "Mang", "->", "getValueName", "(", "I", ")", ";", "Constant", "*", "C", "=", "I", "->", "getInitializer", "(", ")", ";", "unsigned", "Align", "=", "TD", "->", "getPreferredAlignmentLog", "(", "I", ")", ";", "bool", "bCustomSegment", "=", "false", ";", "switch", "(", "I", "->", "getLinkage", "(", ")", ")", "{", "case", "GlobalValue", "::", "CommonLinkage", ":", "case", "GlobalValue", "::", "LinkOnceAnyLinkage", ":", "case", "GlobalValue", "::", "LinkOnceODRLinkage", ":", "case", "GlobalValue", "::", "WeakAnyLinkage", ":", "case", "GlobalValue", "::", "WeakODRLinkage", ":", "SwitchToDataSection", "(", "\"\"", ")", ";", "O", "<<", "name", "<<", "\"?\\tsegment common 'COMMON'\\n\"", ";", "bCustomSegment", "=", "true", ";", "break", ";", "case", "GlobalValue", "::", "AppendingLinkage", ":", "SwitchToDataSection", "(", "\"\"", ")", ";", "O", "<<", "name", "<<", "\"?\\tsegment public 'DATA'\\n\"", ";", "bCustomSegment", "=", "true", ";", "break", ";", "case", "GlobalValue", "::", "DLLExportLinkage", ":", "DLLExportedGVs", ".", "insert", "(", "name", ")", ";", "case", "GlobalValue", "::", "ExternalLinkage", ":", "O", "<<", "\"\\tpublic \"", "<<", "name", "<<", "\"\\n\"", ";", "case", "GlobalValue", "::", "InternalLinkage", ":", "SwitchToSection", "(", "TAI", "->", "getDataSection", "(", ")", ")", ";", "break", ";", "default", ":", "assert", "(", "0", "&&", "\"Unknown linkage type!\"", ")", ";", "}", "if", "(", "!", "bCustomSegment", ")", "EmitAlignment", "(", "Align", ",", "I", ")", ";", "O", "<<", "name", "<<", "\":\"", ";", "if", "(", "VerboseAsm", ")", "O", "<<", "\"\\t\\t\\t\\t\"", "<<", "TAI", "->", "getCommentString", "(", ")", "<<", "\" \"", "<<", "I", "->", "getName", "(", ")", ";", "O", "<<", "'\\n'", ";", "EmitGlobalConstant", "(", "C", ")", ";", "if", "(", "bCustomSegment", ")", "O", "<<", "name", "<<", "\"?\\tends\\n\"", ";", "}", "if", "(", "!", "DLLExportedGVs", ".", "empty", "(", ")", "||", "!", "DLLExportedFns", ".", "empty", "(", ")", ")", "{", "SwitchToDataSection", "(", "\"\"", ")", ";", "O", "<<", "\"; WARNING: The following code is valid only with MASM v8.x\"", "<<", "\"and (possible) higher\\n\"", "<<", "\"; This version of MASM is usually shipped with Microsoft \"", "<<", "\"Visual Studio 2005\\n\"", "<<", "\"; or (possible) further versions. Unfortunately, there is no \"", "<<", "\"way to support\\n\"", "<<", "\"; dllexported symbols in the earlier versions of MASM in fully \"", "<<", "\"automatic way\\n\\n\"", ";", "O", "<<", "\"_drectve\\t segment info alias('.drectve')\\n\"", ";", "}", "for", "(", "StringSet", "<", ">", "::", "iterator", "i", "=", "DLLExportedGVs", ".", "begin", "(", ")", ",", "e", "=", "DLLExportedGVs", ".", "end", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "O", "<<", "\"\\t db ' /EXPORT:\"", "<<", "i", "->", "getKeyData", "(", ")", "<<", "\",data'\\n\"", ";", "for", "(", "StringSet", "<", ">", "::", "iterator", "i", "=", "DLLExportedFns", ".", "begin", "(", ")", ",", "e", "=", "DLLExportedFns", ".", "end", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "O", "<<", "\"\\t db ' /EXPORT:\"", "<<", "i", "->", "getKeyData", "(", ")", "<<", "\"'\\n\"", ";", "if", "(", "!", "DLLExportedGVs", ".", "empty", "(", ")", "||", "!", "DLLExportedFns", ".", "empty", "(", ")", ")", "O", "<<", "\"_drectve\\t ends\\n\"", ";", "bool", "Result", "=", "AsmPrinter", "::", "doFinalization", "(", "M", ")", ";", "SwitchToDataSection", "(", "\"\"", ")", ";", "O", "<<", "\"\\tend\\n\"", ";", "return", "Result", ";", "}", ""], "natrual_language": ["doFinalization", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "any", "necessary", "clean", "up", "after", "all", "passes", "have", "run", "."], "TS_V_token": ["X86", "X86", "\"\"", "\"?\\tsegment common 'COMMON'\\n\"", "\"\"", "\"?\\tsegment public 'DATA'\\n\"", "\"\\tpublic \"", "\"\\n\"", "0", "\"Unknown linkage type!\"", "\":\"", "\"\\t\\t\\t\\t\"", "\" \"", "\"?\\tends\\n\"", "\"\"", "\"; WARNING: The following code is valid only with MASM v8.x\"", "\"and (possible) higher\\n\"", "\"; This version of MASM is usually shipped with Microsoft \"", "\"Visual Studio 2005\\n\"", "\"; or (possible) further versions. Unfortunately, there is no \"", "\"way to support\\n\"", "\"; dllexported symbols in the earlier versions of MASM in fully \"", "\"automatic way\\n\\n\"", "\"_drectve\\t segment info alias('.drectve')\\n\"", "\"\\t db ' /EXPORT:\"", "\",data'\\n\"", "\"\\t db ' /EXPORT:\"", "\"'\\n\"", "\"_drectve\\t ends\\n\"", "\"\"", "\"\\tend\\n\""], "File": "X86IntelAsmPrinter", "Func": "doFinalization", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21556, "Length": 462, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "get132Opcode", "(", ")", "const", "{", "return", "Opcodes", "[", "Form132", "]", ";", "}", ""], "natrual_language": ["Returns", "the", "132", "form", "of", "FMA", "opcode", "."], "TS_V_token": ["X86"], "File": "X86InstrFMA3Info11", "Func": "get132Opcode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21557, "Length": 13, "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", "(", ")", ")", ";", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "bool", "isARM", "=", "!", "AFI", "->", "isThumbFunction", "(", ")", ";", "DebugLoc", "dl", "=", "I", "->", "getDebugLoc", "(", ")", ";", "unsigned", "Opc", "=", "I", "->", "getOpcode", "(", ")", ";", "bool", "IsDestroy", "=", "Opc", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ";", "unsigned", "CalleePopAmount", "=", "IsDestroy", "?", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ":", "0", ";", "assert", "(", "!", "AFI", "->", "isThumb1OnlyFunction", "(", ")", "&&", "\"This eliminateCallFramePseudoInstr does not support Thumb1!\"", ")", ";", "int", "PIdx", "=", "I", "->", "findFirstPredOperandIdx", "(", ")", ";", "ARMCC", "::", "CondCodes", "Pred", "=", "(", "PIdx", "==", "-", "1", ")", "?", "ARMCC", "::", "AL", ":", "(", "ARMCC", "::", "CondCodes", ")", "I", "->", "getOperand", "(", "PIdx", ")", ".", "getImm", "(", ")", ";", "unsigned", "PredReg", "=", "TII", ".", "getFramePred", "(", "*", "I", ")", ";", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "if", "(", "IsDestroy", "&&", "CalleePopAmount", "!=", "0", ")", "return", "MBB", ".", "erase", "(", "I", ")", ";", "unsigned", "Amount", "=", "TII", ".", "getFrameSize", "(", "*", "I", ")", ";", "if", "(", "Amount", "!=", "0", ")", "{", "Amount", "=", "alignSPAdjust", "(", "Amount", ")", ";", "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", ")", ";", "}", "}", "}", "else", "if", "(", "CalleePopAmount", "!=", "0", ")", "{", "emitSPUpdate", "(", "isARM", ",", "MBB", ",", "I", ",", "dl", ",", "TII", ",", "-", "CalleePopAmount", ",", "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", "ARM", "ARM", "ARM", "1", "0", "\"This eliminateCallFramePseudoInstr does not support Thumb1!\"", "ARMCC::CondCodes", "1", "ARMCC::AL", "ARMCC::CondCodes", "0", "0", "ARM::ADJCALLSTACKDOWN", "ARM::tADJCALLSTACKDOWN", "ARM", "ARM::ADJCALLSTACKUP", "ARM::tADJCALLSTACKUP", "ARM", "0", "ARM"], "File": "ARMFrameLowering5", "Func": "eliminateCallFramePseudoInstr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21558, "Length": 355, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "char", "ConstraintCode", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "assert", "(", "ConstraintCode", "==", "'m'", "&&", "\"unexpected asm memory constraint\"", ")", ";", "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": ["Mips", "Mips", "\"unexpected asm memory constraint\""], "File": "MipsISelDAGToDAG", "Func": "SelectInlineAsmMemoryOperand", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21559, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "shouldOutlineFromFunctionByDefault", "(", "MachineFunction", "&", "MF", ")", "const", "{", "return", "Subtarget", ".", "isMClass", "(", ")", "&&", "MF", ".", "getFunction", "(", ")", ".", "hasMinSize", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "function", "should", "be", "outlined", "from", "by", "default", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMBaseInstrInfo110", "Func": "shouldOutlineFromFunctionByDefault", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21560, "Length": 29, "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": 21561, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "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", "(", ")", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_PPC", ")", ";", "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!\"", ")", ";", "SDValue", "Arg", "=", "OutVals", "[", "i", "]", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown loc info!\"", ")", ";", "case", "CCValAssign", "::", "Full", ":", "break", ";", "case", "CCValAssign", "::", "AExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ANY_EXTEND", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "case", "CCValAssign", "::", "ZExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ZERO_EXTEND", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "case", "CCValAssign", "::", "SExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "SIGN_EXTEND", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "}", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "Arg", ",", "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", "(", "PPCISD", "::", "RET_FLAG", ",", "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": ["PowerPC", "PPC", "ISD::OutputArg", "16", "PPC", "4", "1", "0", "\"Can only return in registers!\"", "\"Unknown loc info!\"", "ISD::ANY_EXTEND", "ISD::ZERO_EXTEND", "ISD::SIGN_EXTEND", "1", "0", "PPCISD::RET_FLAG", "MVT::Other", "0"], "File": "PPCISelLowering (2)", "Func": "LowerReturn", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21562, "Length": 362, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "LC3InstrInfo", "::", "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": ["LC3", "LC3", "0"], "File": "LC3InstrInfo", "Func": "isLoadFromStackSlot", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21563, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsConstantIslands", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "mf", ")", "{", "MF", "=", "&", "mf", ";", "MCP", "=", "mf", ".", "getConstantPool", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"constant island machine function \"", "<<", "\"\\n\"", ")", ";", "if", "(", "!", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "inMips16Mode", "(", ")", "||", "!", "MipsSubtarget", "::", "useConstantIslands", "(", ")", ")", "{", "return", "false", ";", "}", "TII", "=", "(", "const", "MipsInstrInfo", "*", ")", "MF", "->", "getTarget", "(", ")", ".", "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", "\"constant island machine function \"", "\"\\n\"", "Mips", "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": "MipsConstantIslandPass31", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21564, "Length": 417, "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": 21565, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86ATTAsmParser", "::", "ParseInstruction", "(", "const", "StringRef", "&", "Name", ",", "SMLoc", "NameLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ")", "{", "StringRef", "PatchedName", "=", "StringSwitch", "<", "StringRef", ">", "(", "Name", ")", ".", "Case", "(", "\"sal\"", ",", "\"shl\"", ")", ".", "Case", "(", "\"salb\"", ",", "\"shlb\"", ")", ".", "Case", "(", "\"sall\"", ",", "\"shll\"", ")", ".", "Case", "(", "\"salq\"", ",", "\"shlq\"", ")", ".", "Case", "(", "\"salw\"", ",", "\"shlw\"", ")", ".", "Case", "(", "\"repe\"", ",", "\"rep\"", ")", ".", "Case", "(", "\"repz\"", ",", "\"rep\"", ")", ".", "Case", "(", "\"repnz\"", ",", "\"repne\"", ")", ".", "Default", "(", "Name", ")", ";", "Operands", ".", "push_back", "(", "X86Operand", "::", "CreateToken", "(", "PatchedName", ",", "NameLoc", ")", ")", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Star", ")", ")", "{", "SMLoc", "Loc", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "Operands", ".", "push_back", "(", "X86Operand", "::", "CreateToken", "(", "\"*\"", ",", "Loc", ")", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "}", "if", "(", "X86Operand", "*", "Op", "=", "ParseOperand", "(", ")", ")", "Operands", ".", "push_back", "(", "Op", ")", ";", "else", "return", "true", ";", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "X86Operand", "*", "Op", "=", "ParseOperand", "(", ")", ")", "Operands", ".", "push_back", "(", "Op", ")", ";", "else", "return", "true", ";", "}", "}", "if", "(", "(", "Name", ".", "startswith", "(", "\"shr\"", ")", "||", "Name", ".", "startswith", "(", "\"sar\"", ")", "||", "Name", ".", "startswith", "(", "\"shl\"", ")", ")", "&&", "Operands", ".", "size", "(", ")", "==", "3", "&&", "static_cast", "<", "X86Operand", "*", ">", "(", "Operands", "[", "1", "]", ")", "->", "isImm", "(", ")", "&&", "isa", "<", "MCConstantExpr", ">", "(", "static_cast", "<", "X86Operand", "*", ">", "(", "Operands", "[", "1", "]", ")", "->", "getImm", "(", ")", ")", "&&", "cast", "<", "MCConstantExpr", ">", "(", "static_cast", "<", "X86Operand", "*", ">", "(", "Operands", "[", "1", "]", ")", "->", "getImm", "(", ")", ")", "->", "getValue", "(", ")", "==", "1", ")", "Operands", ".", "erase", "(", "Operands", ".", "begin", "(", ")", "+", "1", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["X86", "X86", "\"sal\"", "\"shl\"", "\"salb\"", "\"shlb\"", "\"sall\"", "\"shll\"", "\"salq\"", "\"shlq\"", "\"salw\"", "\"shlw\"", "\"repe\"", "\"rep\"", "\"repz\"", "\"rep\"", "\"repnz\"", "\"repne\"", "X86Operand::CreateToken", "X86Operand::CreateToken", "\"*\"", "X86", "X86", "\"shr\"", "\"sar\"", "\"shl\"", "3", "X86", "1", "X86", "1", "X86", "1", "1", "1"], "File": "X86AsmParser101", "Func": "ParseInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21566, "Length": 350, "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": 21567, "Length": 490, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MF", ".", "setHasWinCFI", "(", "false", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "!", "STI", ".", "is64Bit", "(", ")", "||", "!", "MF", ".", "hasEHFunclets", "(", ")", "||", "classifyEHPersonality", "(", "F", ".", "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", ".", "getObjectAlign", "(", "FrameIndex", ")", ".", "value", "(", ")", ";", "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": "X86FrameLowering101", "Func": "processFunctionBeforeFrameFinalized", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21568, "Length": 328, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "if", "(", "SystemZ", "::", "GR128BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "copyPhysReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "RI", ".", "getSubReg", "(", "DestReg", ",", "SystemZ", "::", "subreg_high", ")", ",", "RI", ".", "getSubReg", "(", "SrcReg", ",", "SystemZ", "::", "subreg_high", ")", ",", "KillSrc", ")", ";", "copyPhysReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "RI", ".", "getSubReg", "(", "DestReg", ",", "SystemZ", "::", "subreg_low", ")", ",", "RI", ".", "getSubReg", "(", "SrcReg", ",", "SystemZ", "::", "subreg_low", ")", ",", "KillSrc", ")", ";", "return", ";", "}", "unsigned", "Opcode", ";", "if", "(", "SystemZ", "::", "GR32BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "LR", ";", "else", "if", "(", "SystemZ", "::", "GR64BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "LGR", ";", "else", "if", "(", "SystemZ", "::", "FP32BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "LER", ";", "else", "if", "(", "SystemZ", "::", "FP64BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "LDR", ";", "else", "if", "(", "SystemZ", "::", "FP128BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "LXR", ";", "else", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "Opcode", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ::GR128BitRegClass", "SystemZ::subreg_high", "SystemZ::subreg_high", "SystemZ::subreg_low", "SystemZ::subreg_low", "SystemZ::GR32BitRegClass", "SystemZ::LR", "SystemZ::GR64BitRegClass", "SystemZ::LGR", "SystemZ::FP32BitRegClass", "SystemZ::LER", "SystemZ::FP64BitRegClass", "SystemZ::LDR", "SystemZ::FP128BitRegClass", "SystemZ::LXR", "\"Impossible reg-to-reg copy\""], "File": "SystemZInstrInfo (2)", "Func": "copyPhysReg", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21569, "Length": 246, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createThumb2SizeReductionPass", "(", ")", ")", ";", "addPass", "(", "createUnpackMachineBundles", "(", "[", "]", "(", "const", "MachineFunction", "&", "MF", ")", "{", "return", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "isThumb2", "(", ")", ";", "}", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createARMOptimizeBarriersPass", "(", ")", ")", ";", "addPass", "(", "createARMConstantIslandPass", "(", ")", ")", ";", "addPass", "(", "createARMLowOverheadLoopsPass", "(", ")", ")", ";", "}", ""], "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", "ARM", "ARM", "ARM"], "File": "ARMTargetMachine18", "Func": "addPreEmitPass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21570, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCCTRLoops", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "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", ";", "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": "PPCCTRLoops", "Func": "runOnFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21571, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64InstrInfo", "::", "getLoadStoreImmIdx", "(", "unsigned", "Opc", ")", "{", "switch", "(", "Opc", ")", "{", "default", ":", "return", "2", ";", "case", "AArch64", "::", "LDPXi", ":", "case", "AArch64", "::", "LDPDi", ":", "case", "AArch64", "::", "STPXi", ":", "case", "AArch64", "::", "STPDi", ":", "case", "AArch64", "::", "LDNPXi", ":", "case", "AArch64", "::", "LDNPDi", ":", "case", "AArch64", "::", "STNPXi", ":", "case", "AArch64", "::", "STNPDi", ":", "case", "AArch64", "::", "LDPQi", ":", "case", "AArch64", "::", "STPQi", ":", "case", "AArch64", "::", "LDNPQi", ":", "case", "AArch64", "::", "STNPQi", ":", "case", "AArch64", "::", "LDPWi", ":", "case", "AArch64", "::", "LDPSi", ":", "case", "AArch64", "::", "STPWi", ":", "case", "AArch64", "::", "STPSi", ":", "case", "AArch64", "::", "LDNPWi", ":", "case", "AArch64", "::", "LDNPSi", ":", "case", "AArch64", "::", "STNPWi", ":", "case", "AArch64", "::", "STNPSi", ":", "case", "AArch64", "::", "LDG", ":", "case", "AArch64", "::", "STGPi", ":", "case", "AArch64", "::", "LD1B_IMM", ":", "case", "AArch64", "::", "LD1H_IMM", ":", "case", "AArch64", "::", "LD1W_IMM", ":", "case", "AArch64", "::", "LD1D_IMM", ":", "case", "AArch64", "::", "ST1B_IMM", ":", "case", "AArch64", "::", "ST1H_IMM", ":", "case", "AArch64", "::", "ST1W_IMM", ":", "case", "AArch64", "::", "ST1D_IMM", ":", "return", "3", ";", "case", "AArch64", "::", "ADDG", ":", "case", "AArch64", "::", "STGOffset", ":", "case", "AArch64", "::", "LDR_PXI", ":", "case", "AArch64", "::", "STR_PXI", ":", "return", "2", ";", "}", "}", ""], "natrual_language": ["Returns", "the", "index", "for", "the", "immediate", "for", "a", "given", "instruction", "."], "TS_V_token": ["AArch64", "AArch64", "2", "AArch64::LDPXi", "AArch64::LDPDi", "AArch64::STPXi", "AArch64::STPDi", "AArch64::LDNPXi", "AArch64::LDNPDi", "AArch64::STNPXi", "AArch64::STNPDi", "AArch64::LDPQi", "AArch64::STPQi", "AArch64::LDNPQi", "AArch64::STNPQi", "AArch64::LDPWi", "AArch64::LDPSi", "AArch64::STPWi", "AArch64::STPSi", "AArch64::LDNPWi", "AArch64::LDNPSi", "AArch64::STNPWi", "AArch64::STNPSi", "AArch64::LDG", "AArch64::STGPi", "AArch64::LD1B_IMM", "AArch64::LD1H_IMM", "AArch64::LD1W_IMM", "AArch64::LD1D_IMM", "AArch64::ST1B_IMM", "AArch64::ST1H_IMM", "AArch64::ST1W_IMM", "AArch64::ST1D_IMM", "3", "AArch64::ADDG", "AArch64::STGOffset", "AArch64::LDR_PXI", "AArch64::STR_PXI", "2"], "File": "AArch64InstrInfo22", "Func": "getLoadStoreImmIdx", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21572, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ARMBaseRegisterInfo", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "FrameReg", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "int", "Offset", "=", "MFI", "->", "getObjectOffset", "(", "FI", ")", "+", "MFI", "->", "getStackSize", "(", ")", ";", "bool", "isFixed", "=", "MFI", "->", "isFixedObjectIndex", "(", "FI", ")", ";", "FrameReg", "=", "ARM", "::", "SP", ";", "if", "(", "AFI", "->", "isGPRCalleeSavedArea1Frame", "(", "FI", ")", ")", "Offset", "-=", "AFI", "->", "getGPRCalleeSavedArea1Offset", "(", ")", ";", "else", "if", "(", "AFI", "->", "isGPRCalleeSavedArea2Frame", "(", "FI", ")", ")", "Offset", "-=", "AFI", "->", "getGPRCalleeSavedArea2Offset", "(", ")", ";", "else", "if", "(", "AFI", "->", "isDPRCalleeSavedAreaFrame", "(", "FI", ")", ")", "Offset", "-=", "AFI", "->", "getDPRCalleeSavedAreaOffset", "(", ")", ";", "else", "if", "(", "needsStackRealignment", "(", "MF", ")", ")", "{", "assert", "(", "hasFP", "(", "MF", ")", "&&", "\"dynamic stack realignment without a FP!\"", ")", ";", "if", "(", "isFixed", ")", "{", "FrameReg", "=", "getFrameRegister", "(", "MF", ")", ";", "Offset", "-=", "AFI", "->", "getFramePtrSpillOffset", "(", ")", ";", "}", "}", "else", "if", "(", "hasFP", "(", "MF", ")", "&&", "AFI", "->", "hasStackFrame", "(", ")", ")", "{", "if", "(", "isFixed", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", ")", "{", "FrameReg", "=", "getFrameRegister", "(", "MF", ")", ";", "Offset", "-=", "AFI", "->", "getFramePtrSpillOffset", "(", ")", ";", "}", "else", "if", "(", "AFI", "->", "isThumb2Function", "(", ")", ")", "{", "int", "FPOffset", "=", "Offset", "-", "AFI", "->", "getFramePtrSpillOffset", "(", ")", ";", "if", "(", "FPOffset", ">=", "-", "255", "&&", "FPOffset", "<", "0", ")", "{", "FrameReg", "=", "getFrameRegister", "(", "MF", ")", ";", "Offset", "=", "FPOffset", ";", "}", "}", "}", "return", "Offset", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM::SP", "\"dynamic stack realignment without a FP!\"", "255", "0"], "File": "ARMBaseRegisterInfo12", "Func": "getFrameIndexReference", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21573, "Length": 263, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCLoopPreIncPrep", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "LI", "=", "&", "getAnalysis", "<", "LoopInfoWrapperPass", ">", "(", ")", ".", "getLoopInfo", "(", ")", ";", "SE", "=", "&", "getAnalysis", "<", "ScalarEvolutionWrapperPass", ">", "(", ")", ".", "getSE", "(", ")", ";", "auto", "*", "DTWP", "=", "getAnalysisIfAvailable", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "DT", "=", "DTWP", "?", "&", "DTWP", "->", "getDomTree", "(", ")", ":", "nullptr", ";", "PreserveLCSSA", "=", "mustPreserveAnalysisID", "(", "LCSSAID", ")", ";", "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"], "File": "PPCLoopPreIncPrep", "Func": "runOnFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21574, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "machine_mode", "ix86_split_reduction", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_V8DImode", ":", "case", "E_V4DImode", ":", "return", "V2DImode", ";", "case", "E_V16SImode", ":", "case", "E_V8SImode", ":", "return", "V4SImode", ";", "case", "E_V32HImode", ":", "case", "E_V16HImode", ":", "return", "V8HImode", ";", "case", "E_V64QImode", ":", "case", "E_V32QImode", ":", "return", "V16QImode", ";", "case", "E_V16SFmode", ":", "case", "E_V8SFmode", ":", "return", "V4SFmode", ";", "case", "E_V8DFmode", ":", "case", "E_V4DFmode", ":", "return", "V2DFmode", ";", "default", ":", "return", "mode", ";", "}", "}", ""], "natrual_language": ["All", "CPUs", "prefer", "to", "avoid", "cross-lane", "operations", "so", "perform", "reductions", "upper", "against", "lower", "halves", "up", "to", "SSE", "reg", "size", "."], "TS_V_token": ["i386"], "File": "i386-expand", "Func": "ix86_split_reduction", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21575, "Length": 73, "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", "(", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RetLocs", ";", "CCState", "RetCCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "DAG", ".", "getTarget", "(", ")", ",", "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": "SystemZISelLowering106", "Func": "LowerReturn", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21576, "Length": 298, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "const", "override", "{", "if", "(", "(", "Count", "%", "8", ")", "!=", "0", ")", "return", "false", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "<", "Count", ";", "i", "+=", "8", ")", "support", "::", "endian", "::", "write", "<", "uint64_t", ">", "(", "OS", ",", "0x7900000000000000ULL", ",", "support", "::", "little", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["VE", "8", "0", "0", "8", "support::endian", "0x7900000000000000ULL", "support::little"], "File": "VEAsmBackend", "Func": "writeNopData", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21577, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "MachineInstr", "*", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "unsigned", ">", "&", "Ops", ",", "MachineInstr", "*", "LoadMI", ")", "const", "{", "return", "0", ";", "}", ""], "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": ["ARM", "0"], "File": "ARMInstrInfo19", "Func": "foldMemoryOperandImpl", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21578, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1InstrInfo", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "ARM", "::", "tPUSH", ")", ")", ";", "AddDefaultPred", "(", "MIB", ")", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "MIB", ".", "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": ["ARM", "ARM::tPUSH", "0", "1"], "File": "Thumb1InstrInfo2", "Func": "spillCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21579, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachinePointerInfo", "SICFunctionInfo", "::", "callPtrInfo", "(", "const", "GlobalValue", "*", "GV", ")", "{", "return", "MachinePointerInfo", "(", "MF", ".", "getPSVManager", "(", ")", ".", "getGlobalValueCallEntry", "(", "GV", ")", ")", ";", "}", ""], "natrual_language": ["Create", "a", "MachinePointerInfo", "that", "has", "a", "GlobalValuePseudoSourceValue", "object", "representing", "a", "GOT", "entry", "for", "a", "global", "function", "."], "TS_V_token": ["SIC", "SIC"], "File": "SICMachineFunction", "Func": "callPtrInfo", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21580, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "gimple_folder", "::", "fold_contiguous_base", "(", "gimple_seq", "&", "stmts", ",", "tree", "vectype", ")", "{", "tree", "base", "=", "gimple_call_arg", "(", "call", ",", "1", ")", ";", "if", "(", "mode_suffix_id", "==", "MODE_vnum", ")", "{", "tree", "offset", "=", "gimple_call_arg", "(", "call", ",", "2", ")", ";", "offset", "=", "gimple_convert", "(", "&", "stmts", ",", "sizetype", ",", "offset", ")", ";", "offset", "=", "gimple_build", "(", "&", "stmts", ",", "MULT_EXPR", ",", "sizetype", ",", "offset", ",", "TYPE_SIZE_UNIT", "(", "vectype", ")", ")", ";", "base", "=", "gimple_build", "(", "&", "stmts", ",", "POINTER_PLUS_EXPR", ",", "TREE_TYPE", "(", "base", ")", ",", "base", ",", "offset", ")", ";", "}", "return", "base", ";", "}", ""], "natrual_language": ["Return", "a", "pointer", "to", "the", "address", "in", "a", "contiguous", "load", "or", "store", ",", "given", "that", "each", "memory", "vector", "has", "type", "VECTYPE", ".", "Add", "any", "new", "statements", "to", "STMTS", "."], "TS_V_token": ["aarch64", "1", "2"], "File": "aarch64-sve-builtins", "Func": "fold_contiguous_base", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21581, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiInstrInfo", "::", "getMemOperandWithOffsetWidth", "(", "MachineInstr", "&", "LdSt", ",", "MachineOperand", "*", "&", "BaseOp", ",", "int64_t", "&", "Offset", ",", "unsigned", "&", "Width", ",", "const", "TargetRegisterInfo", "*", ")", "const", "{", "if", "(", "LdSt", ".", "getNumOperands", "(", ")", "!=", "4", ")", "return", "false", ";", "if", "(", "!", "LdSt", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "||", "!", "LdSt", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", "||", "!", "(", "LdSt", ".", "getOperand", "(", "3", ")", ".", "isImm", "(", ")", "&&", "LdSt", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "==", "LPAC", "::", "ADD", ")", ")", "return", "false", ";", "switch", "(", "LdSt", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Lanai", "::", "LDW_RI", ":", "case", "Lanai", "::", "LDW_RR", ":", "case", "Lanai", "::", "SW_RR", ":", "case", "Lanai", "::", "SW_RI", ":", "Width", "=", "4", ";", "break", ";", "case", "Lanai", "::", "LDHs_RI", ":", "case", "Lanai", "::", "LDHz_RI", ":", "case", "Lanai", "::", "STH_RI", ":", "Width", "=", "2", ";", "break", ";", "case", "Lanai", "::", "LDBs_RI", ":", "case", "Lanai", "::", "LDBz_RI", ":", "case", "Lanai", "::", "STB_RI", ":", "Width", "=", "1", ";", "break", ";", "}", "BaseOp", "=", "&", "LdSt", ".", "getOperand", "(", "1", ")", ";", "Offset", "=", "LdSt", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "assert", "(", "BaseOp", "->", "isReg", "(", ")", "&&", "\"getMemOperandWithOffset only supports base \"", "\"operands of type register.\"", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "get", "the", "base", "operand", ",", "byte", "offset", "of", "an", "instruction", "and", "the", "memory", "width", "."], "TS_V_token": ["Lanai", "Lanai", "4", "1", "2", "3", "3", "Lanai::LDW_RI", "Lanai::LDW_RR", "Lanai::SW_RR", "Lanai::SW_RI", "4", "Lanai::LDHs_RI", "Lanai::LDHz_RI", "Lanai::STH_RI", "2", "Lanai::LDBs_RI", "Lanai::LDBz_RI", "Lanai::STB_RI", "1", "1", "2", "\"getMemOperandWithOffset only supports base \"", "\"operands of type register.\""], "File": "LanaiInstrInfo (2)", "Func": "getMemOperandWithOffsetWidth", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21582, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_output_addr_const_extra", "(", "FILE", "*", "file", ",", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", ")", "switch", "(", "XINT", "(", "x", ",", "1", ")", ")", "{", "case", "UNSPEC_TOCREL", ":", "gcc_checking_assert", "(", "SYMBOL_REF_P", "(", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", "&&", "REG_P", "(", "XVECEXP", "(", "x", ",", "0", ",", "1", ")", ")", "&&", "REGNO", "(", "XVECEXP", "(", "x", ",", "0", ",", "1", ")", ")", "==", "TOC_REGISTER", ")", ";", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "if", "(", "x", "==", "tocrel_base_oac", "&&", "tocrel_offset_oac", "!=", "const0_rtx", ")", "{", "if", "(", "INTVAL", "(", "tocrel_offset_oac", ")", ">=", "0", ")", "fprintf", "(", "file", ",", "\"+\"", ")", ";", "output_addr_const", "(", "file", ",", "CONST_CAST_RTX", "(", "tocrel_offset_oac", ")", ")", ";", "}", "if", "(", "!", "TARGET_AIX", "||", "(", "TARGET_ELF", "&&", "TARGET_MINIMAL_TOC", ")", ")", "{", "putc", "(", "'-'", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "toc_label_name", ")", ";", "need_toc_init", "=", "1", ";", "}", "else", "if", "(", "TARGET_ELF", ")", "fputs", "(", "\"@toc\"", ",", "file", ")", ";", "return", "true", ";", "case", "UNSPEC_MACHOPIC_OFFSET", ":", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "putc", "(", "'-'", ",", "file", ")", ";", "machopic_output_function_base_name", "(", "file", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA", "."], "TS_V_token": ["rs6000", "1", "0", "0", "0", "1", "0", "1", "0", "0", "0", "\"+\"", "1", "\"@toc\"", "0", "0"], "File": "rs6000", "Func": "rs6000_output_addr_const_extra", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21583, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "Cpu0TargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "Cpu0PassConfig", "(", "*", "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": ["Cpu0", "Cpu0", "Cpu0"], "File": "Cpu0TargetMachine", "Func": "createPassConfig", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21584, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XNCMFrameLowering", "::", "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": ["XNCM", "XNCM"], "File": "XNCMFrameLowering", "Func": "hasReservedCallFrame", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21585, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DLXSubtarget", "&", "DLXSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "initSubtargetFeatures", "(", "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": ["DLX", "DLX", "DLX"], "File": "DLXSubtarget", "Func": "initializeSubtargetDependencies", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21586, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "EmitInstruction", "(", "const", "MCInst", "&", "Inst", ")", "{", "if", "(", "InstPrinter", ")", "InstPrinter", "->", "printInst", "(", "&", "Inst", ",", "OS", ",", "\"\"", ")", ";", "else", "Inst", ".", "print", "(", "OS", ",", "&", "MAI", ")", ";", "EmitEOL", "(", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["Cpu0", "\"\""], "File": "Cpu0AsmStreamer", "Func": "EmitInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21587, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCRegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "Subtarget", ".", "getFrameLowering", "(", ")", ";", "const", "unsigned", "DefaultSafety", "=", "1", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "PPC", "::", "G8RC_NOX0RegClassID", ":", "case", "PPC", "::", "GPRC_NOR0RegClassID", ":", "case", "PPC", "::", "G8RCRegClassID", ":", "case", "PPC", "::", "GPRCRegClassID", ":", "{", "unsigned", "FP", "=", "TFI", "->", "hasFP", "(", "MF", ")", "?", "1", ":", "0", ";", "return", "32", "-", "FP", "-", "DefaultSafety", ";", "}", "case", "PPC", "::", "F8RCRegClassID", ":", "case", "PPC", "::", "F4RCRegClassID", ":", "case", "PPC", "::", "QFRCRegClassID", ":", "case", "PPC", "::", "QSRCRegClassID", ":", "case", "PPC", "::", "QBRCRegClassID", ":", "case", "PPC", "::", "VRRCRegClassID", ":", "case", "PPC", "::", "VFRCRegClassID", ":", "case", "PPC", "::", "VSLRCRegClassID", ":", "case", "PPC", "::", "VSHRCRegClassID", ":", "return", "32", "-", "DefaultSafety", ";", "case", "PPC", "::", "VSRCRegClassID", ":", "case", "PPC", "::", "VSFRCRegClassID", ":", "return", "64", "-", "DefaultSafety", ";", "case", "PPC", "::", "CRRCRegClassID", ":", "return", "8", "-", "DefaultSafety", ";", "}", "}", ""], "natrual_language": ["Return", "the", "register", "pressure", "``", "high", "water", "mark", "''", "for", "the", "specific", "register", "class", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "1", "0", "PPC::G8RC_NOX0RegClassID", "PPC::GPRC_NOR0RegClassID", "PPC::G8RCRegClassID", "PPC::GPRCRegClassID", "1", "0", "32", "PPC::F8RCRegClassID", "PPC::F4RCRegClassID", "PPC::QFRCRegClassID", "PPC::QSRCRegClassID", "PPC::QBRCRegClassID", "PPC::VRRCRegClassID", "PPC::VFRCRegClassID", "PPC::VSLRCRegClassID", "PPC::VSHRCRegClassID", "32", "PPC::VSRCRegClassID", "PPC::VSFRCRegClassID", "64", "PPC::CRRCRegClassID", "8"], "File": "PPCRegisterInfo15", "Func": "getRegPressureLimit", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21588, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "xputenv", "(", "const", "char", "*", "string", ")", "{", "if", "(", "verbose", ")", "fprintf", "(", "stderr", ",", "\"%s\\n\"", ",", "string", ")", ";", "putenv", "(", "CONST_CAST", "(", "char", "*", ",", "string", ")", ")", ";", "}", ""], "natrual_language": ["Add", "or", "change", "the", "value", "of", "an", "environment", "variable", ",", "outputting", "the", "change", "to", "standard", "error", "if", "in", "verbose", "mode", "."], "TS_V_token": ["i386", "\"%s\\n\""], "File": "intelmic-mkoffload", "Func": "xputenv", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21589, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_legitimate_address_p", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "bool", "strict", ")", "{", "if", "(", "!", "ALLOW_INDEXED_ADDRESS", "&&", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "return", "false", ";", "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", ")", "&&", "!", "TARGET_SHMEDIA", "&&", "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", "(", "(", "ALLOW_INDEXED_ADDRESS", "||", "GET_MODE", "(", "x", ")", "==", "DImode", "||", "(", "(", "xop0", "==", "stack_pointer_rtx", "||", "xop0", "==", "hard_frame_pointer_rtx", ")", "&&", "REG_P", "(", "xop1", ")", "&&", "REGNO", "(", "xop1", ")", "==", "R0_REG", ")", "||", "(", "(", "xop1", "==", "stack_pointer_rtx", "||", "xop1", "==", "hard_frame_pointer_rtx", ")", "&&", "REG_P", "(", "xop0", ")", "&&", "REGNO", "(", "xop0", ")", "==", "R0_REG", ")", ")", "&&", "(", "(", "!", "TARGET_SHMEDIA", "&&", "GET_MODE_SIZE", "(", "mode", ")", "<=", "4", ")", "||", "(", "TARGET_SHMEDIA", "&&", "GET_MODE_SIZE", "(", "mode", ")", "<=", "8", ")", "||", "(", "(", "TARGET_SH4", "||", "TARGET_SH2A_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", "1", "0", "0", "1", "8", "4", "8"], "File": "sh4", "Func": "sh_legitimate_address_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21590, "Length": 343, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "OperandMatchResultTy", "SparcAsmParser", "::", "tryParseRegister", "(", "unsigned", "&", "RegNo", ",", "SMLoc", "&", "StartLoc", ",", "SMLoc", "&", "EndLoc", ")", "{", "const", "AsmToken", "&", "Tok", "=", "Parser", ".", "getTok", "(", ")", ";", "StartLoc", "=", "Tok", ".", "getLoc", "(", ")", ";", "EndLoc", "=", "Tok", ".", "getEndLoc", "(", ")", ";", "RegNo", "=", "0", ";", "if", "(", "getLexer", "(", ")", ".", "getKind", "(", ")", "!=", "AsmToken", "::", "Percent", ")", "return", "MatchOperand_NoMatch", ";", "Parser", ".", "Lex", "(", ")", ";", "unsigned", "regKind", "=", "SparcOperand", "::", "rk_None", ";", "if", "(", "matchRegisterName", "(", "Tok", ",", "RegNo", ",", "regKind", ")", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "MatchOperand_Success", ";", "}", "getLexer", "(", ")", ".", "UnLex", "(", "Tok", ")", ";", "return", "MatchOperand_NoMatch", ";", "}", ""], "natrual_language": ["tryParseRegister", "-", "parse", "one", "register", "if", "possible"], "TS_V_token": ["Sparc", "Sparc", "0", "SparcOperand::rk_None"], "File": "SparcAsmParser1", "Func": "tryParseRegister", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21591, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_operands_ok_for_move_multiple", "(", "rtx", "*", "operands", ",", "bool", "load", ",", "enum", "machine_mode", "mode", ")", "{", "HOST_WIDE_INT", "offval_1", ",", "offval_2", ",", "msize", ";", "rtx", "mem_1", ",", "mem_2", ",", "reg_1", ",", "reg_2", ",", "base_1", ",", "base_2", ",", "offset_1", ",", "offset_2", ";", "if", "(", "load", ")", "{", "mem_1", "=", "operands", "[", "1", "]", ";", "mem_2", "=", "operands", "[", "3", "]", ";", "reg_1", "=", "operands", "[", "0", "]", ";", "reg_2", "=", "operands", "[", "2", "]", ";", "}", "else", "{", "mem_1", "=", "operands", "[", "0", "]", ";", "mem_2", "=", "operands", "[", "2", "]", ";", "reg_1", "=", "operands", "[", "1", "]", ";", "reg_2", "=", "operands", "[", "3", "]", ";", "}", "gcc_assert", "(", "REG_P", "(", "reg_1", ")", "&&", "REG_P", "(", "reg_2", ")", ")", ";", "if", "(", "REGNO", "(", "reg_1", ")", "!=", "REGNO", "(", "reg_2", ")", ")", "return", "false", ";", "if", "(", "!", "extract_base_offset_in_addr", "(", "mem_1", ",", "&", "base_1", ",", "&", "offset_1", ")", ")", "return", "false", ";", "if", "(", "!", "extract_base_offset_in_addr", "(", "mem_2", ",", "&", "base_2", ",", "&", "offset_2", ")", ")", "return", "false", ";", "if", "(", "!", "rtx_equal_p", "(", "base_1", ",", "base_2", ")", ")", "return", "false", ";", "offval_1", "=", "INTVAL", "(", "offset_1", ")", ";", "offval_2", "=", "INTVAL", "(", "offset_2", ")", ";", "msize", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "offval_1", "+", "msize", "!=", "offval_2", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Given", "OPERANDS", "of", "consecutive", "load/store", ",", "check", "if", "we", "can", "merge", "them", "into", "move", "multiple", ".", "LOAD", "is", "true", "if", "they", "are", "load", "instructions", ".", "MODE", "is", "the", "mode", "of", "memory", "operands", "."], "TS_V_token": ["i386", "1", "3", "0", "2", "0", "2", "1", "3"], "File": "i3865", "Func": "ix86_operands_ok_for_move_multiple", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21592, "Length": 215, "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", ".", "data", "(", ")", ",", "IntArgRegs", ".", "size", "(", ")", ")", ";", "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": "MipsISelLowering42", "Func": "HandleByVal", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21593, "Length": 249, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "e8_consumed_by_ex_p", "(", "rtx_insn", "*", "consumer", ",", "rtx", "def_reg", ")", "{", "rtx", "use_rtx", ";", "switch", "(", "get_attr_type", "(", "consumer", ")", ")", "{", "case", "TYPE_ALU", ":", "case", "TYPE_STORE", ":", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_MUL", ":", "case", "TYPE_MAC", ":", "case", "TYPE_DIV", ":", "case", "TYPE_BRANCH", ":", "case", "TYPE_STORE_MULTIPLE", ":", "return", "n8_consumed_by_ex_p", "(", "consumer", ",", "def_reg", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "reg_overlap_p", "(", "def_reg", ",", "use_rtx", ")", ";", "}", ""], "natrual_language": ["Check", "the", "dependency", "between", "the", "producer", "defining", "DEF_REG", "and", "CONSUMER", "requiring", "input", "operand", "at", "EX", "."], "TS_V_token": ["nds32"], "File": "nds32-pipelines-auxiliary", "Func": "e8_consumed_by_ex_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21594, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SystemZTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "ZERO_EXTEND", ":", "return", "combineZERO_EXTEND", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "return", "combineSIGN_EXTEND", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SIGN_EXTEND_INREG", ":", "return", "combineSIGN_EXTEND_INREG", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "MERGE_HIGH", ":", "case", "SystemZISD", "::", "MERGE_LOW", ":", "return", "combineMERGE", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "combineLOAD", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "combineSTORE", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "VECTOR_SHUFFLE", ":", "return", "combineVECTOR_SHUFFLE", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "EXTRACT_VECTOR_ELT", ":", "return", "combineEXTRACT_VECTOR_ELT", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "JOIN_DWORDS", ":", "return", "combineJOIN_DWORDS", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "STRICT_FP_ROUND", ":", "case", "ISD", "::", "FP_ROUND", ":", "return", "combineFP_ROUND", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "STRICT_FP_EXTEND", ":", "case", "ISD", "::", "FP_EXTEND", ":", "return", "combineFP_EXTEND", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "BSWAP", ":", "return", "combineBSWAP", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "BR_CCMASK", ":", "return", "combineBR_CCMASK", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "SELECT_CCMASK", ":", "return", "combineSELECT_CCMASK", "(", "N", ",", "DCI", ")", ";", "case", "SystemZISD", "::", "GET_CCMASK", ":", "return", "combineGET_CCMASK", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SDIV", ":", "case", "ISD", "::", "UDIV", ":", "case", "ISD", "::", "SREM", ":", "case", "ISD", "::", "UREM", ":", "return", "combineIntDIVREM", "(", "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": ["SystemZ", "SystemZ", "ISD::ZERO_EXTEND", "ISD::SIGN_EXTEND", "ISD::SIGN_EXTEND_INREG", "SystemZISD::MERGE_HIGH", "SystemZISD::MERGE_LOW", "ISD::LOAD", "ISD::STORE", "ISD::VECTOR_SHUFFLE", "ISD::EXTRACT_VECTOR_ELT", "SystemZISD::JOIN_DWORDS", "ISD::STRICT_FP_ROUND", "ISD::FP_ROUND", "ISD::STRICT_FP_EXTEND", "ISD::FP_EXTEND", "ISD::BSWAP", "SystemZISD::BR_CCMASK", "SystemZISD::SELECT_CCMASK", "SystemZISD::GET_CCMASK", "ISD::SDIV", "ISD::UDIV", "ISD::SREM", "ISD::UREM"], "File": "SystemZISelLowering117", "Func": "PerformDAGCombine", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21595, "Length": 273, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "*", "PPCInstrInfo", "::", "CreateTargetPostRAHazardRecognizer", "(", "const", "InstrItineraryData", "*", "II", ",", "const", "ScheduleDAG", "*", "DAG", ")", "const", "{", "unsigned", "Directive", "=", "DAG", "->", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "getMcpu", "(", ")", ";", "if", "(", "Directive", "==", "PPC", "::", "MCPU_PWR7", "||", "Directive", "==", "PPC", "::", "MCPU_PWR8", ")", "return", "new", "PPCDispatchGroupSBHazardRecognizer", "(", "II", ",", "DAG", ")", ";", "if", "(", "Directive", "!=", "PPC", "::", "MCPU_440", "&&", "Directive", "!=", "PPC", "::", "MCPU_A2", "&&", "Directive", "!=", "PPC", "::", "MCPU_E500mc", "&&", "Directive", "!=", "PPC", "::", "MCPU_E5500", ")", "{", "assert", "(", "DAG", "->", "TII", "&&", "\"No InstrInfo?\"", ")", ";", "return", "new", "PPCHazardRecognizer970", "(", "*", "DAG", ")", ";", "}", "return", "new", "ScoreboardHazardRecognizer", "(", "II", ",", "DAG", ")", ";", "}", ""], "natrual_language": ["Allocate", "and", "return", "a", "hazard", "recognizer", "to", "use", "for", "by", "non-scheduling", "passes", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::MCPU_PWR7", "PPC::MCPU_PWR8", "PPC", "PPC::MCPU_440", "PPC::MCPU_A2", "PPC::MCPU_E500mc", "PPC::MCPU_E5500", "\"No InstrInfo?\"", "PPC"], "File": "PPCInstrInfo31", "Func": "CreateTargetPostRAHazardRecognizer", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21596, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "shouldTransformSignedTruncationCheck", "(", "EVT", "XVT", ",", "unsigned", "KeptBits", ")", "const", "override", "{", "if", "(", "XVT", ".", "isVector", "(", ")", ")", "return", "false", ";", "auto", "VTIsOk", "=", "[", "]", "(", "EVT", "VT", ")", "->", "bool", "{", "return", "VT", "==", "MVT", "::", "i8", "||", "VT", "==", "MVT", "::", "i16", "||", "VT", "==", "MVT", "::", "i32", "||", "VT", "==", "MVT", "::", "i64", ";", "}", ";", "MVT", "KeptBitsVT", "=", "MVT", "::", "getIntegerVT", "(", "KeptBits", ")", ";", "return", "VTIsOk", "(", "XVT", ")", "&&", "VTIsOk", "(", "KeptBitsVT", ")", ";", "}", ""], "natrual_language": ["Should", "we", "tranform", "the", "IR-optimal", "check", "for", "whether", "given", "truncation", "down", "into", "KeptBits", "would", "be", "truncating", "or", "not", ":", "(", "add", "x", ",", "(", "1", "<", "<", "(", "KeptBits-1", ")", ")", ")", "srccond", "(", "1", "<", "<", "KeptBits", ")", "Into", "it", "'s", "more", "traditional", "form", ":", "(", "(", "x", "<", "<", "C", ")", "a", ">", ">", "C", ")", "dstcond", "x", "Return", "true", "if", "we", "should", "transform", "."], "TS_V_token": ["AArch64", "MVT::i8", "MVT::i16", "MVT::i32", "MVT::i64", "MVT::getIntegerVT"], "File": "AArch64ISelLowering (2)1", "Func": "shouldTransformSignedTruncationCheck", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21597, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "HOST_WIDE_INT", "htm_spr_regno", "(", "enum", "rs6000_builtins", "code", ")", "{", "if", "(", "code", "==", "HTM_BUILTIN_GET_TFHAR", "||", "code", "==", "HTM_BUILTIN_SET_TFHAR", ")", "return", "TFHAR_REGNO", ";", "else", "if", "(", "code", "==", "HTM_BUILTIN_GET_TFIAR", "||", "code", "==", "HTM_BUILTIN_SET_TFIAR", ")", "return", "TFIAR_REGNO", ";", "gcc_assert", "(", "code", "==", "HTM_BUILTIN_GET_TEXASR", "||", "code", "==", "HTM_BUILTIN_SET_TEXASR", "||", "code", "==", "HTM_BUILTIN_GET_TEXASRU", "||", "code", "==", "HTM_BUILTIN_SET_TEXASRU", ")", ";", "return", "TEXASR_REGNO", ";", "}", ""], "natrual_language": ["Return", "the", "appropriate", "SPR", "regno", "associated", "with", "the", "given", "builtin", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "htm_spr_regno", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21598, "Length": 60, "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": 21599, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SystemZSubtarget", "*", "SystemZTargetMachine", "::", "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", ".", "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", "=", "std", "::", "make_unique", "<", "SystemZSubtarget", ">", "(", "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": ["SystemZ", "SystemZ", "SystemZ", "\"target-cpu\"", "\"target-features\"", "\"use-soft-float\"", "\"use-soft-float\"", "\"true\"", "\"+soft-float\"", "\",+soft-float\"", "SystemZ"], "File": "SystemZTargetMachine19", "Func": "getSubtargetImpl", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21600, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_validize_comparison", "(", "rtx", "*", "comparison", ",", "rtx", "*", "op1", ",", "rtx", "*", "op2", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "*", "comparison", ")", ";", "int", "code_int", ";", "machine_mode", "mode", "=", "(", "GET_MODE", "(", "*", "op1", ")", "==", "VOIDmode", ")", "?", "GET_MODE", "(", "*", "op2", ")", ":", "GET_MODE", "(", "*", "op1", ")", ";", "gcc_assert", "(", "GET_MODE", "(", "*", "op1", ")", "!=", "VOIDmode", "||", "GET_MODE", "(", "*", "op2", ")", "!=", "VOIDmode", ")", ";", "if", "(", "code", "==", "UNEQ", "||", "code", "==", "LTGT", ")", "return", "false", ";", "code_int", "=", "(", "int", ")", "code", ";", "arm_canonicalize_comparison", "(", "&", "code_int", ",", "op1", ",", "op2", ",", "0", ")", ";", "PUT_CODE", "(", "*", "comparison", ",", "(", "enum", "rtx_code", ")", "code_int", ")", ";", "switch", "(", "mode", ")", "{", "case", "E_SImode", ":", "if", "(", "!", "arm_add_operand", "(", "*", "op1", ",", "mode", ")", ")", "*", "op1", "=", "force_reg", "(", "mode", ",", "*", "op1", ")", ";", "if", "(", "!", "arm_add_operand", "(", "*", "op2", ",", "mode", ")", ")", "*", "op2", "=", "force_reg", "(", "mode", ",", "*", "op2", ")", ";", "return", "true", ";", "case", "E_DImode", ":", "if", "(", "!", "cmpdi_operand", "(", "*", "op1", ",", "mode", ")", ")", "*", "op1", "=", "force_reg", "(", "mode", ",", "*", "op1", ")", ";", "if", "(", "!", "cmpdi_operand", "(", "*", "op2", ",", "mode", ")", ")", "*", "op2", "=", "force_reg", "(", "mode", ",", "*", "op2", ")", ";", "return", "true", ";", "case", "E_HFmode", ":", "if", "(", "!", "TARGET_VFP_FP16INST", ")", "break", ";", "mode", "=", "SFmode", ";", "*", "op1", "=", "convert_to_mode", "(", "mode", ",", "*", "op1", ",", "1", ")", ";", "*", "op2", "=", "convert_to_mode", "(", "mode", ",", "*", "op2", ",", "1", ")", ";", "case", "E_SFmode", ":", "case", "E_DFmode", ":", "if", "(", "!", "vfp_compare_operand", "(", "*", "op1", ",", "mode", ")", ")", "*", "op1", "=", "force_reg", "(", "mode", ",", "*", "op1", ")", ";", "if", "(", "!", "vfp_compare_operand", "(", "*", "op2", ",", "mode", ")", ")", "*", "op2", "=", "force_reg", "(", "mode", ",", "*", "op2", ")", ";", "return", "true", ";", "default", ":", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "a", "valid", "comparison", "operation", "and", "makes", "the", "operands", "in", "a", "form", "that", "is", "valid", "."], "TS_V_token": ["arm", "0", "1", "1"], "File": "arm7", "Func": "arm_validize_comparison", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21601, "Length": 324, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PostSelectOptimize", "::", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "TargetPassConfig", ">", "(", ")", ";", "AU", ".", "setPreservesCFG", "(", ")", ";", "getSelectionDAGFallbackAnalysisUsage", "(", "AU", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64PostSelectOptimize", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21602, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "ARM64TargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "ARM64PassConfig", "(", "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": ["ARM64", "ARM64", "ARM64"], "File": "ARM64TargetMachine", "Func": "createPassConfig", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21603, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZAsmPrinter", "::", "emitFunctionEntryLabel", "(", ")", "{", "const", "SystemZSubtarget", "&", "Subtarget", "=", "static_cast", "<", "const", "SystemZSubtarget", "&", ">", "(", "MF", "->", "getSubtarget", "(", ")", ")", ";", "if", "(", "Subtarget", ".", "getTargetTriple", "(", ")", ".", "isOSzOS", "(", ")", ")", "{", "MCContext", "&", "OutContext", "=", "OutStreamer", "->", "getContext", "(", ")", ";", "MCSymbol", "*", "EPMarkerSym", "=", "OutContext", ".", "createTempSymbol", "(", "\"CM_\"", ",", "true", ")", ";", "const", "MachineFrameInfo", "&", "MFFrame", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "bool", "IsUsingAlloca", "=", "MFFrame", ".", "hasVarSizedObjects", "(", ")", ";", "uint8_t", "Flags", "=", "0", ";", "if", "(", "IsUsingAlloca", ")", "Flags", "|=", "0x04", ";", "uint32_t", "DSASize", "=", "MFFrame", ".", "getStackSize", "(", ")", ";", "uint32_t", "DSAAndFlags", "=", "DSASize", "&", "0xFFFFFFE0", ";", "DSAAndFlags", "|=", "Flags", ";", "OutStreamer", "->", "AddComment", "(", "\"XPLINK Routine Layout Entry\"", ")", ";", "OutStreamer", "->", "emitLabel", "(", "EPMarkerSym", ")", ";", "OutStreamer", "->", "AddComment", "(", "\"Eyecatcher 0x00C300C500C500\"", ")", ";", "OutStreamer", "->", "emitIntValueInHex", "(", "0x00C300C500C500", ",", "7", ")", ";", "OutStreamer", "->", "AddComment", "(", "\"Mark Type C'1'\"", ")", ";", "OutStreamer", "->", "emitInt8", "(", "0xF1", ")", ";", "if", "(", "OutStreamer", "->", "isVerboseAsm", "(", ")", ")", "{", "OutStreamer", "->", "AddComment", "(", "\"DSA Size 0x\"", "+", "Twine", "::", "utohexstr", "(", "DSASize", ")", ")", ";", "OutStreamer", "->", "AddComment", "(", "\"Entry Flags\"", ")", ";", "if", "(", "Flags", "&", "0x04", ")", "OutStreamer", "->", "AddComment", "(", "\" Bit 2: 1 = Uses alloca\"", ")", ";", "else", "OutStreamer", "->", "AddComment", "(", "\" Bit 2: 0 = Does not use alloca\"", ")", ";", "}", "OutStreamer", "->", "emitInt32", "(", "DSAAndFlags", ")", ";", "}", "AsmPrinter", "::", "emitFunctionEntryLabel", "(", ")", ";", "}", ""], "natrual_language": ["EmitFunctionEntryLabel", "-", "Emit", "the", "label", "that", "is", "the", "entrypoint", "for", "the", "function", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "\"CM_\"", "0", "0x04", "0xFFFFFFE0", "\"XPLINK Routine Layout Entry\"", "\"Eyecatcher 0x00C300C500C500\"", "0x00C300C500C500", "7", "\"Mark Type C'1'\"", "0xF1", "\"DSA Size 0x\"", "\"Entry Flags\"", "0x04", "\" Bit 2: 1 = Uses alloca\"", "\" Bit 2: 0 = Does not use alloca\""], "File": "SystemZAsmPrinter11", "Func": "emitFunctionEntryLabel", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21604, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "OR1KAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["OR1K", "OR1K"], "File": "OR1KAsmParser", "Func": "ParseDirective", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21605, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ",", "MCContext", "&", "Ctx", ")", "const", "override", "{", "Value", "=", "adjustFixupValue", "(", "Fixup", ".", "getKind", "(", ")", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittleEndian", "?", "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", "1", "8", "0xff"], "File": "PPCAsmBackend11", "Func": "applyFixup", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21606, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CallLowering", "::", "isTypeIsValidForThisReturn", "(", "EVT", "Ty", ")", "const", "{", "return", "Ty", ".", "getSizeInBits", "(", ")", "==", "64", ";", "}", ""], "natrual_language": ["For", "targets", "which", "support", "the", "``", "returned", "''", "parameter", "attribute", ",", "returns", "true", "if", "the", "given", "type", "is", "a", "valid", "one", "to", "use", "with", "``", "returned", "''", "."], "TS_V_token": ["AArch64", "AArch64", "64"], "File": "AArch64CallLowering13", "Func": "isTypeIsValidForThisReturn", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21607, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"SystemZ Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["SystemZ", "\"SystemZ Assembly Printer\""], "File": "SystemZAsmPrinter2", "Func": "getPassName", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21608, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SICTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "DCI", ".", "DAG", ";", "unsigned", "Opc", "=", "N", "->", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "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": ["SIC", "SIC"], "File": "SICISelLowering", "Func": "PerformDAGCombine", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21609, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ia64_arg_partial_bytes", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "int", "words", "=", "ia64_function_arg_words", "(", "arg", ".", "type", ",", "arg", ".", "mode", ")", ";", "int", "offset", "=", "ia64_function_arg_offset", "(", "cum", ",", "arg", ".", "type", ",", "words", ")", ";", "if", "(", "cum", "->", "words", "+", "offset", ">=", "MAX_ARGUMENT_SLOTS", ")", "return", "0", ";", "if", "(", "words", "+", "cum", "->", "words", "+", "offset", "<=", "MAX_ARGUMENT_SLOTS", ")", "return", "0", ";", "return", "(", "MAX_ARGUMENT_SLOTS", "-", "cum", "->", "words", "-", "offset", ")", "*", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Return", "number", "of", "bytes", ",", "at", "the", "beginning", "of", "the", "argument", ",", "that", "must", "be", "put", "in", "registers", ".", "0", "is", "the", "argument", "is", "entirely", "in", "registers", "or", "entirely", "in", "memory", "."], "TS_V_token": ["ia64", "0", "0"], "File": "ia64", "Func": "ia64_arg_partial_bytes", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21610, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sparc_function_incoming_arg", "(", "cumulative_args_t", "cum", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "return", "sparc_function_arg_1", "(", "cum", ",", "mode", ",", "type", ",", "named", ",", "true", ")", ";", "}", ""], "natrual_language": ["Handle", "the", "TARGET_FUNCTION_INCOMING_ARG", "target", "hook", "."], "TS_V_token": ["sparc"], "File": "sparc4", "Func": "sparc_function_incoming_arg", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21611, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"LC3b Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["LC3b", "\"LC3b Assembly Printer\""], "File": "LC3bAsmPrinter", "Func": "getPassName", "Target": "LC3b", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21612, "Length": 13, "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": 21613, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_gen_unspec_cond", "(", "rtx_code", "code", ",", "machine_mode", "pred_mode", ",", "rtx", "pred", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "rtvec", "vec", "=", "gen_rtvec", "(", "3", ",", "pred", ",", "op0", ",", "op1", ")", ";", "return", "gen_rtx_UNSPEC", "(", "pred_mode", ",", "vec", ",", "aarch64_unspec_cond_code", "(", "code", ")", ")", ";", "}", ""], "natrual_language": ["Return", "an", "(", "unspec", ":", "PRED_MODE", "[", "PRED", "OP0", "OP1", "]", "UNSPEC_COND_", "<", "X", ">", ")", "expression", ",", "where", "<", "X", ">", "is", "the", "operation", "associated", "with", "comparison", "CODE", "."], "TS_V_token": ["aarch64", "3"], "File": "aarch645", "Func": "aarch64_gen_unspec_cond", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21614, "Length": 48, "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\"", ";", "case", "MipsISD", "::", "FPRound", ":", "return", "\"MipsISD::FPRound\"", ";", "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\"", "MipsISD::FPRound", "\"MipsISD::FPRound\""], "File": "MipsISelLowering35", "Func": "getTargetNodeName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21615, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "AArch64RegisterInfo", "::", "getNoPreservedMask", "(", ")", "const", "{", "return", "CSR_AArch64_NoRegs_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "register", "mask", "that", "clobbers", "everything", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64RegisterInfo", "Func": "getNoPreservedMask", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21616, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_block_set_max_insns", "(", "void", ")", "{", "if", "(", "optimize_function_for_size_p", "(", "cfun", ")", ")", "return", "4", ";", "else", "return", "current_tune", "->", "max_insns_inline_memset", ";", "}", ""], "natrual_language": ["Maximum", "number", "of", "instructions", "to", "set", "block", "of", "memory", "."], "TS_V_token": ["arm", "4"], "File": "arm", "Func": "arm_block_set_max_insns", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21617, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "SelectAddressRegReg", "(", "SDValue", "N", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Index", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "short", "imm", "=", "0", ";", "if", "(", "N", ".", "getOpcode", "(", ")", "==", "ISD", "::", "ADD", ")", "{", "if", "(", "isIntS16Immediate", "(", "N", ".", "getOperand", "(", "1", ")", ",", "imm", ")", ")", "return", "false", ";", "if", "(", "N", ".", "getOperand", "(", "1", ")", ".", "getOpcode", "(", ")", "==", "PPCISD", "::", "Lo", ")", "return", "false", ";", "Base", "=", "N", ".", "getOperand", "(", "0", ")", ";", "Index", "=", "N", ".", "getOperand", "(", "1", ")", ";", "return", "true", ";", "}", "else", "if", "(", "N", ".", "getOpcode", "(", ")", "==", "ISD", "::", "OR", ")", "{", "if", "(", "isIntS16Immediate", "(", "N", ".", "getOperand", "(", "1", ")", ",", "imm", ")", ")", "return", "false", ";", "KnownBits", "LHSKnown", ",", "RHSKnown", ";", "DAG", ".", "computeKnownBits", "(", "N", ".", "getOperand", "(", "0", ")", ",", "LHSKnown", ")", ";", "if", "(", "LHSKnown", ".", "Zero", ".", "getBoolValue", "(", ")", ")", "{", "DAG", ".", "computeKnownBits", "(", "N", ".", "getOperand", "(", "1", ")", ",", "RHSKnown", ")", ";", "if", "(", "~", "(", "LHSKnown", ".", "Zero", "|", "RHSKnown", ".", "Zero", ")", "==", "0", ")", "{", "Base", "=", "N", ".", "getOperand", "(", "0", ")", ";", "Index", "=", "N", ".", "getOperand", "(", "1", ")", ";", "return", "true", ";", "}", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["SelectAddressRegReg", "-", "Given", "the", "specified", "addressed", ",", "check", "to", "see", "if", "it", "can", "be", "more", "efficiently", "represented", "as", "[", "r+imm", "]", "."], "TS_V_token": ["PowerPC", "PPC", "0", "ISD::ADD", "1", "1", "PPCISD::Lo", "0", "1", "ISD::OR", "1", "0", "1", "0", "0", "1"], "File": "PPCISelLowering14", "Func": "SelectAddressRegReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21618, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "ThumbRegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "if", "(", "!", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "isThumb1Only", "(", ")", ")", "return", "ARMBaseRegisterInfo", "::", "getPointerRegClass", "(", "MF", ",", "Kind", ")", ";", "return", "&", "ARM", "::", "tGPRRegClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM::tGPRRegClass"], "File": "ThumbRegisterInfo (2)1", "Func": "getPointerRegClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21619, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "char", "ix86_class_max_nregs", "(", "reg_class_t", "rclass", ",", "machine_mode", "mode", ")", "{", "if", "(", "MAYBE_INTEGER_CLASS_P", "(", "rclass", ")", ")", "{", "if", "(", "mode", "==", "XFmode", ")", "return", "(", "TARGET_64BIT", "?", "2", ":", "3", ")", ";", "else", "if", "(", "mode", "==", "XCmode", ")", "return", "(", "TARGET_64BIT", "?", "4", ":", "6", ")", ";", "else", "return", "CEIL", "(", "GET_MODE_SIZE", "(", "mode", ")", ",", "UNITS_PER_WORD", ")", ";", "}", "else", "{", "if", "(", "COMPLEX_MODE_P", "(", "mode", ")", ")", "return", "2", ";", "else", "return", "1", ";", "}", "}", ""], "natrual_language": ["Implement", "the", "TARGET_CLASS_MAX_NREGS", "hook", ".", "On", "the", "80386", ",", "this", "is", "the", "size", "of", "MODE", "in", "words", ",", "except", "in", "the", "FP", "regs", ",", "where", "a", "single", "reg", "is", "always", "enough", "."], "TS_V_token": ["i386", "2", "3", "4", "6", "2", "1"], "File": "i386", "Func": "ix86_class_max_nregs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21620, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "PPCRegisterInfo", "::", "getDwarfRegNum", "(", "unsigned", "RegNum", ",", "bool", "isEH", ")", "const", "{", "return", "PPCGenRegisterInfo", "::", "getDwarfRegNumFull", "(", "RegNum", ",", "0", ")", ";", "}", ""], "natrual_language": ["Map", "a", "target", "register", "to", "an", "equivalent", "dwarf", "register", "number", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "0"], "File": "PPCRegisterInfo21", "Func": "getDwarfRegNum", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21621, "Length": 24, "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", "::", "ADDE", ":", "return", "PerformADDECombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SUBE", ":", "return", "PerformSUBECombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SDIVREM", ":", "case", "ISD", "::", "UDIVREM", ":", "return", "PerformDivRemCombine", "(", "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::ADDE", "ISD::SUBE", "ISD::SDIVREM", "ISD::UDIVREM"], "File": "MipsISelLowering36", "Func": "PerformDAGCombine", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21622, "Length": 104, "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", "(", ")", ";", "ModifiedRegs", ".", "resize", "(", "TRI", "->", "getNumRegs", "(", ")", ")", ";", "UsedRegs", ".", "resize", "(", "TRI", "->", "getNumRegs", "(", ")", ")", ";", "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": "AArch64LoadStoreOptimizer17", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21623, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "MINA32AsmBackend", "::", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "MINA32", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_u8\"", ",", "0", ",", "8", ",", "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": ["MINA32", "MINA32", "MINA32::NumTargetFixupKinds", "\"fixup_u8\"", "0", "8", "0", "\"Invalid kind!\""], "File": "MINA32AsmBackend", "Func": "getFixupKindInfo", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21624, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isNonallocatableRegisterCalleeSave", "(", "MCRegister", "Reg", ")", "const", "override", "{", "return", "Reg", "==", "PPC", "::", "LR", "||", "Reg", "==", "PPC", "::", "LR8", ";", "}", ""], "natrual_language": ["Some", "targets", "have", "non-allocatable", "registers", "that", "are", "n't", "technically", "part", "of", "the", "explicit", "callee", "saved", "register", "list", ",", "but", "should", "be", "handled", "as", "such", "in", "certain", "cases", "."], "TS_V_token": ["PowerPC", "PPC::LR", "PPC::LR8"], "File": "PPCRegisterInfo20", "Func": "isNonallocatableRegisterCalleeSave", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21625, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "mips_preferred_simd_mode", "(", "scalar_mode", "mode", ")", "{", "if", "(", "TARGET_PAIRED_SINGLE_FLOAT", "&&", "mode", "==", "SFmode", ")", "return", "V2SFmode", ";", "if", "(", "!", "ISA_HAS_MSA", ")", "return", "word_mode", ";", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "return", "V16QImode", ";", "case", "E_HImode", ":", "return", "V8HImode", ";", "case", "E_SImode", ":", "return", "V4SImode", ";", "case", "E_DImode", ":", "return", "V2DImode", ";", "case", "E_SFmode", ":", "return", "V4SFmode", ";", "case", "E_DFmode", ":", "return", "V2DFmode", ";", "default", ":", "break", ";", "}", "return", "word_mode", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VECTORIZE_PREFERRED_SIMD_MODE", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_preferred_simd_mode", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21626, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "core2i7_first_cycle_multipass_issue", "(", "void", "*", "_data", ",", "signed", "char", "*", "ready_try", ",", "int", "n_ready", ",", "rtx_insn", "*", "insn", ",", "const", "void", "*", "_prev_data", ")", "{", "ix86_first_cycle_multipass_data_t", "data", "=", "(", "ix86_first_cycle_multipass_data_t", ")", "_data", ";", "const_ix86_first_cycle_multipass_data_t", "prev_data", "=", "(", "const_ix86_first_cycle_multipass_data_t", ")", "_prev_data", ";", "int", "insn_size", "=", "min_insn_size", "(", "insn", ")", ";", "data", "->", "ifetch_block_len", "=", "prev_data", "->", "ifetch_block_len", "+", "insn_size", ";", "data", "->", "ifetch_block_n_insns", "=", "prev_data", "->", "ifetch_block_n_insns", "+", "1", ";", "gcc_assert", "(", "data", "->", "ifetch_block_len", "<=", "core2i7_ifetch_block_size", "&&", "data", "->", "ifetch_block_n_insns", "<=", "core2i7_ifetch_block_max_insns", ")", ";", "if", "(", "!", "data", "->", "ready_try_change", ")", "{", "data", "->", "ready_try_change", "=", "sbitmap_alloc", "(", "n_ready", ")", ";", "data", "->", "ready_try_change_size", "=", "n_ready", ";", "}", "else", "if", "(", "data", "->", "ready_try_change_size", "<", "n_ready", ")", "{", "data", "->", "ready_try_change", "=", "sbitmap_resize", "(", "data", "->", "ready_try_change", ",", "n_ready", ",", "0", ")", ";", "data", "->", "ready_try_change_size", "=", "n_ready", ";", "}", "bitmap_clear", "(", "data", "->", "ready_try_change", ")", ";", "core2i7_first_cycle_multipass_filter_ready_try", "(", "data", ",", "ready_try", ",", "n_ready", ",", "false", ")", ";", "}", ""], "natrual_language": ["INSN", "is", "being", "issued", "in", "current", "solution", ".", "Account", "for", "its", "impact", "on", "the", "decoder", "model", "."], "TS_V_token": ["i386", "1", "0"], "File": "i3864", "Func": "core2i7_first_cycle_multipass_issue", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21627, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_expand_vec_shift_qihi_constant", "(", "enum", "rtx_code", "code", ",", "rtx", "dest", ",", "rtx", "op1", ",", "rtx", "op2", ")", "{", "machine_mode", "qimode", ",", "himode", ";", "HOST_WIDE_INT", "and_constant", ",", "xor_constant", ";", "HOST_WIDE_INT", "shift_amount", ";", "rtx", "vec_const_and", ",", "vec_const_xor", ";", "rtx", "tmp", ",", "op1_subreg", ";", "rtx", "(", "*", "gen_shift", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "rtx", "(", "*", "gen_and", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "rtx", "(", "*", "gen_xor", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "rtx", "(", "*", "gen_sub", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "if", "(", "!", "CONST_INT_P", "(", "op2", ")", ")", "return", "false", ";", "qimode", "=", "GET_MODE", "(", "dest", ")", ";", "shift_amount", "=", "INTVAL", "(", "op2", ")", ";", "if", "(", "shift_amount", ">", "7", ")", "return", "false", ";", "gcc_assert", "(", "code", "==", "ASHIFT", "||", "code", "==", "ASHIFTRT", "||", "code", "==", "LSHIFTRT", ")", ";", "xor_constant", "=", "1", "<<", "(", "8", "-", "shift_amount", "-", "1", ")", ";", "and_constant", "=", "(", "code", "==", "ASHIFT", "?", "256", "-", "(", "1", "<<", "shift_amount", ")", ":", "(", "1", "<<", "(", "8", "-", "shift_amount", ")", ")", "-", "1", ")", ";", "switch", "(", "qimode", ")", "{", "case", "V16QImode", ":", "himode", "=", "V8HImode", ";", "gen_shift", "=", "(", "(", "code", "==", "ASHIFT", ")", "?", "gen_ashlv8hi3", ":", "(", "code", "==", "ASHIFTRT", ")", "?", "gen_ashrv8hi3", ":", "gen_lshrv8hi3", ")", ";", "gen_and", "=", "gen_andv16qi3", ";", "gen_xor", "=", "gen_xorv16qi3", ";", "gen_sub", "=", "gen_subv16qi3", ";", "break", ";", "case", "V32QImode", ":", "himode", "=", "V16HImode", ";", "gen_shift", "=", "(", "(", "code", "==", "ASHIFT", ")", "?", "gen_ashlv16hi3", ":", "(", "code", "==", "ASHIFTRT", ")", "?", "gen_ashrv16hi3", ":", "gen_lshrv16hi3", ")", ";", "gen_and", "=", "gen_andv32qi3", ";", "gen_xor", "=", "gen_xorv32qi3", ";", "gen_sub", "=", "gen_subv32qi3", ";", "break", ";", "case", "V64QImode", ":", "himode", "=", "V32HImode", ";", "gen_shift", "=", "(", "(", "code", "==", "ASHIFT", ")", "?", "gen_ashlv32hi3", ":", "(", "code", "==", "ASHIFTRT", ")", "?", "gen_ashrv32hi3", ":", "gen_lshrv32hi3", ")", ";", "gen_and", "=", "gen_andv64qi3", ";", "gen_xor", "=", "gen_xorv64qi3", ";", "gen_sub", "=", "gen_subv64qi3", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "tmp", "=", "gen_reg_rtx", "(", "himode", ")", ";", "vec_const_and", "=", "gen_reg_rtx", "(", "qimode", ")", ";", "op1_subreg", "=", "lowpart_subreg", "(", "himode", ",", "op1", ",", "qimode", ")", ";", "emit_insn", "(", "gen_shift", "(", "tmp", ",", "op1_subreg", ",", "op2", ")", ")", ";", "emit_move_insn", "(", "dest", ",", "simplify_gen_subreg", "(", "qimode", ",", "tmp", ",", "himode", ",", "0", ")", ")", ";", "emit_move_insn", "(", "vec_const_and", ",", "ix86_build_const_vector", "(", "qimode", ",", "true", ",", "gen_int_mode", "(", "and_constant", ",", "QImode", ")", ")", ")", ";", "emit_insn", "(", "gen_and", "(", "dest", ",", "dest", ",", "vec_const_and", ")", ")", ";", "if", "(", "code", "==", "ASHIFTRT", ")", "{", "vec_const_xor", "=", "gen_reg_rtx", "(", "qimode", ")", ";", "emit_move_insn", "(", "vec_const_xor", ",", "ix86_build_const_vector", "(", "qimode", ",", "true", ",", "gen_int_mode", "(", "xor_constant", ",", "QImode", ")", ")", ")", ";", "emit_insn", "(", "gen_xor", "(", "dest", ",", "dest", ",", "vec_const_xor", ")", ")", ";", "emit_insn", "(", "gen_sub", "(", "dest", ",", "dest", ",", "vec_const_xor", ")", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Expand", "a", "vector", "operation", "shift", "by", "constant", "for", "a", "V", "*", "QImode", "in", "terms", "of", "the", "same", "operation", "on", "V", "*", "HImode", ".", "Return", "true", "if", "success", "."], "TS_V_token": ["i386", "7", "1", "8", "1", "256", "1", "1", "8", "1", "0"], "File": "i386-expand", "Func": "ix86_expand_vec_shift_qihi_constant", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21628, "Length": 469, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86ATTInstPrinter", "::", "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", "(", "CommentStream", ")", "HasCustomInstComment", "=", "EmitAnyX86InstComments", "(", "MI", ",", "*", "CommentStream", ",", "getRegisterName", ")", ";", "if", "(", "TSFlags", "&", "X86II", "::", "LOCK", ")", "OS", "<<", "\"\\tlock\\t\"", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "X86", "::", "CALLpcrel32", "&&", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "Mode64Bit", "]", ")", ")", "{", "OS", "<<", "\"\\tcallq\\t\"", ";", "printPCRelImm", "(", "MI", ",", "0", ",", "OS", ")", ";", "}", "else", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "OS", ")", ")", "printInstruction", "(", "MI", ",", "OS", ")", ";", "printAnnotation", "(", "OS", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["X86", "X86", "X86", "X86II::LOCK", "\"\\tlock\\t\"", "X86::CALLpcrel32", "X86::Mode64Bit", "\"\\tcallq\\t\"", "0"], "File": "X86ATTInstPrinter", "Func": "printInst", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21629, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachinePointerInfo", "MipsFunctionInfo", "::", "callPtrInfo", "(", "const", "GlobalValue", "*", "GV", ")", "{", "return", "MachinePointerInfo", "(", "MF", ".", "getPSVManager", "(", ")", ".", "getGlobalValueCallEntry", "(", "GV", ")", ")", ";", "}", ""], "natrual_language": ["Create", "a", "MachinePointerInfo", "that", "has", "a", "GlobalValuePseudoSourceValue", "object", "representing", "a", "GOT", "entry", "for", "a", "global", "function", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsMachineFunction (2)", "Func": "callPtrInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21630, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "expand_strncmp_align_check", "(", "rtx", "strncmp_label", ",", "rtx", "src_addr", ",", "HOST_WIDE_INT", "bytes", ")", "{", "rtx", "lab_ref", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "strncmp_label", ")", ";", "rtx", "src_pgoff", "=", "gen_reg_rtx", "(", "GET_MODE", "(", "src_addr", ")", ")", ";", "do_and3", "(", "src_pgoff", ",", "src_addr", ",", "GEN_INT", "(", "0xfff", ")", ")", ";", "rtx", "cond", "=", "gen_reg_rtx", "(", "CCmode", ")", ";", "emit_move_insn", "(", "cond", ",", "gen_rtx_COMPARE", "(", "CCmode", ",", "src_pgoff", ",", "GEN_INT", "(", "4096", "-", "bytes", ")", ")", ")", ";", "rtx", "cmp_rtx", "=", "gen_rtx_GE", "(", "VOIDmode", ",", "cond", ",", "const0_rtx", ")", ";", "rtx", "ifelse", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "cmp_rtx", ",", "lab_ref", ",", "pc_rtx", ")", ";", "rtx_insn", "*", "j", "=", "emit_jump_insn", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "ifelse", ")", ")", ";", "add_reg_br_prob_note", "(", "j", ",", "profile_probability", "::", "unlikely", "(", ")", ")", ";", "JUMP_LABEL", "(", "j", ")", "=", "strncmp_label", ";", "LABEL_NUSES", "(", "strncmp_label", ")", "+=", "1", ";", "}", ""], "natrual_language": ["Generate", "page", "crossing", "check", "and", "branch", "code", "to", "set", "up", "for", "strncmp", "when", "we", "do", "n't", "have", "DI", "alignment", ".", "STRNCMP_LABEL", "is", "the", "label", "to", "branch", "if", "there", "is", "a", "page", "crossing", ".", "SRC_ADDR", "is", "the", "string", "address", "to", "be", "examined", ".", "BYTES", "is", "the", "max", "number", "of", "bytes", "to", "compare", "."], "TS_V_token": ["rs6000", "0xfff", "4096", "1"], "File": "rs6000-string", "Func": "expand_strncmp_align_check", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21631, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "X86Subtarget", "&", "getSubtarget", "(", ")", "const", "{", "return", "*", "Subtarget", ";", "}", ""], "natrual_language": ["getSubtarget", "-", "Return", "the", "subtarget", "for", "which", "this", "machine", "code", "is", "being", "compiled", "."], "TS_V_token": ["X86", "X86"], "File": "X86AsmPrinter (2)", "Func": "getSubtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21632, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_group_float_insns", "(", "rtx_insn", "*", "insn", ")", "{", "df_ref", "def_record", ",", "use_record", ";", "df_link", "*", "link", ";", "rtx_insn", "*", "use_insn", "=", "NULL", ";", "rtx", "group_id", ";", "def_record", "=", "DF_INSN_DEFS", "(", "insn", ")", ";", "for", "(", "link", "=", "DF_REF_CHAIN", "(", "def_record", ")", ";", "link", ";", "link", "=", "link", "->", "next", ")", "{", "if", "(", "!", "DF_REF_INSN_INFO", "(", "link", "->", "ref", ")", ")", "continue", ";", "use_insn", "=", "DF_REF_INSN", "(", "link", "->", "ref", ")", ";", "if", "(", "!", "dominated_by_p", "(", "CDI_DOMINATORS", ",", "BLOCK_FOR_INSN", "(", "use_insn", ")", ",", "BLOCK_FOR_INSN", "(", "insn", ")", ")", ")", "return", ";", "use_record", "=", "DF_INSN_USES", "(", "use_insn", ")", ";", "if", "(", "DF_REF_CHAIN", "(", "use_record", ")", "&&", "DF_REF_CHAIN", "(", "use_record", ")", "->", "next", ")", "return", ";", "if", "(", "!", "active_insn_p", "(", "use_insn", ")", ")", "return", ";", "if", "(", "!", "nds32_float_reg_load_store_p", "(", "use_insn", ")", "||", "find_post_update_rtx", "(", "use_insn", ")", "!=", "-", "1", ")", "return", ";", "}", "group_id", "=", "GEN_INT", "(", "nds32_alloc_relax_group_id", "(", ")", ")", ";", "emit_insn_before", "(", "gen_relax_group", "(", "group_id", ")", ",", "insn", ")", ";", "for", "(", "link", "=", "DF_REF_CHAIN", "(", "def_record", ")", ";", "link", ";", "link", "=", "link", "->", "next", ")", "{", "if", "(", "!", "DF_REF_INSN_INFO", "(", "link", "->", "ref", ")", ")", "continue", ";", "use_insn", "=", "DF_REF_INSN", "(", "link", "->", "ref", ")", ";", "emit_insn_before", "(", "gen_relax_group", "(", "group_id", ")", ",", "use_insn", ")", ";", "}", "}", ""], "natrual_language": ["Group", "float", "load-store", "instructions", ":", "la", "$", "ra", ",", "symbol", "flsi", "$", "rt", ",", "[", "$", "ra", "+", "offset", "]"], "TS_V_token": ["nds32", "1"], "File": "nds32-relax-opt", "Func": "nds32_group_float_insns", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21633, "Length": 215, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emitSPUpdate", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "unsigned", "StackPtr", ",", "int64_t", "NumBytes", ",", "bool", "Is64Bit", ",", "const", "TargetInstrInfo", "&", "TII", ",", "const", "TargetRegisterInfo", "&", "TRI", ")", "{", "bool", "isSub", "=", "NumBytes", "<", "0", ";", "uint64_t", "Offset", "=", "isSub", "?", "-", "NumBytes", ":", "NumBytes", ";", "unsigned", "Opc", "=", "isSub", "?", "getSUBriOpcode", "(", "Is64Bit", ",", "Offset", ")", ":", "getADDriOpcode", "(", "Is64Bit", ",", "Offset", ")", ";", "uint64_t", "Chunk", "=", "(", "1LL", "<<", "31", ")", "-", "1", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MBBI", ")", ";", "while", "(", "Offset", ")", "{", "uint64_t", "ThisVal", "=", "(", "Offset", ">", "Chunk", ")", "?", "Chunk", ":", "Offset", ";", "if", "(", "ThisVal", "==", "(", "Is64Bit", "?", "8", ":", "4", ")", ")", "{", "unsigned", "Reg", "=", "isSub", "?", "(", "unsigned", ")", "(", "Is64Bit", "?", "X86", "::", "RAX", ":", "X86", "::", "EAX", ")", ":", "findDeadCallerSavedReg", "(", "MBB", ",", "MBBI", ",", "TRI", ",", "Is64Bit", ")", ";", "if", "(", "Reg", ")", "{", "Opc", "=", "isSub", "?", "(", "Is64Bit", "?", "X86", "::", "PUSH64r", ":", "X86", "::", "PUSH32r", ")", ":", "(", "Is64Bit", "?", "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", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "ThisVal", ")", ";", "if", "(", "isSub", ")", "MI", "->", "setFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "MI", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "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": "X86FrameLowering113", "Func": "emitSPUpdate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21634, "Length": 305, "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_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": "i3861", "Func": "ix86_lea_outperforms", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21635, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "SparcRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcInstrInfo16", "Func": "getRegisterInfo", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21636, "Length": 13, "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", ")", ",", "HasAES", "(", "false", ")", ",", "HasCLMUL", "(", "false", ")", ",", "HasFMA3", "(", "false", ")", ",", "HasFMA4", "(", "false", ")", ",", "IsBTMemSlow", "(", "false", ")", ",", "IsUAMemFast", "(", "false", ")", ",", "HasVectorUAMem", "(", "false", ")", ",", "stackAlignment", "(", "8", ")", ",", "MaxInlineSizeThreshold", "(", "128", ")", ",", "TargetTriple", "(", "TT", ")", ",", "Is64Bit", "(", "is64Bit", ")", "{", "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", ";", "HasCMov", "=", "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", "(", "isTargetDarwin", "(", ")", "||", "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", "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!\"", "16"], "File": "X86Subtarget27", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21637, "Length": 244, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VZeroUpperInserter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "X86Subtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "ST", ".", "hasAVX", "(", ")", "||", "ST", ".", "hasAVX512", "(", ")", ")", "return", "false", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "EverMadeChange", "=", "false", ";", "bool", "FnHasLiveInYmm", "=", "checkFnHasLiveInYmm", "(", "MRI", ")", ";", "bool", "YMMUsed", "=", "FnHasLiveInYmm", ";", "if", "(", "!", "YMMUsed", ")", "{", "const", "TargetRegisterClass", "*", "RC", "=", "&", "X86", "::", "VR256RegClass", ";", "for", "(", "TargetRegisterClass", "::", "iterator", "i", "=", "RC", "->", "begin", "(", ")", ",", "e", "=", "RC", "->", "end", "(", ")", ";", "i", "!=", "e", ";", "i", "++", ")", "{", "if", "(", "!", "MRI", ".", "reg_nodbg_empty", "(", "*", "i", ")", ")", "{", "YMMUsed", "=", "true", ";", "break", ";", "}", "}", "}", "if", "(", "!", "YMMUsed", ")", "{", "return", "false", ";", "}", "assert", "(", "BlockStates", ".", "empty", "(", ")", "&&", "DirtySuccessors", ".", "empty", "(", ")", "&&", "\"X86VZeroUpper state should be clear\"", ")", ";", "BlockStates", ".", "resize", "(", "MF", ".", "getNumBlockIDs", "(", ")", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "processBasicBlock", "(", "*", "I", ")", ";", "if", "(", "FnHasLiveInYmm", ")", "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", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"MBB #\"", "<<", "MBB", ".", "getNumber", "(", ")", "<<", "\" was Pass-through, is now Dirty-out.\\n\"", ")", ";", "for", "(", "MachineBasicBlock", "::", "succ_iterator", "SI", "=", "MBB", ".", "succ_begin", "(", ")", ",", "SE", "=", "MBB", ".", "succ_end", "(", ")", ";", "SI", "!=", "SE", ";", "++", "SI", ")", "addDirtySuccessor", "(", "*", "*", "SI", ")", ";", "}", "}", "BlockStates", ".", "clear", "(", ")", ";", "return", "EverMadeChange", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86::VR256RegClass", "\"X86VZeroUpper state should be clear\"", "\"MBB #\"", "\" was Pass-through, is now Dirty-out.\\n\""], "File": "X86VZeroUpper12", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21638, "Length": 362, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsHazardSchedule", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "MipsSubtarget", "*", "STI", "=", "&", "static_cast", "<", "const", "MipsSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "if", "(", "!", "STI", "->", "hasMips32r6", "(", ")", "||", "STI", "->", "inMicroMipsMode", "(", ")", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "const", "MipsInstrInfo", "*", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "FI", "=", "MF", ".", "begin", "(", ")", ";", "FI", "!=", "MF", ".", "end", "(", ")", ";", "++", "FI", ")", "{", "for", "(", "Iter", "I", "=", "FI", "->", "begin", "(", ")", ";", "I", "!=", "FI", "->", "end", "(", ")", ";", "++", "I", ")", "{", "if", "(", "!", "TII", "->", "HasForbiddenSlot", "(", "*", "I", ")", ")", "continue", ";", "Iter", "Inst", ";", "bool", "LastInstInFunction", "=", "std", "::", "next", "(", "I", ")", "==", "FI", "->", "end", "(", ")", "&&", "std", "::", "next", "(", "FI", ")", "==", "MF", ".", "end", "(", ")", ";", "if", "(", "!", "LastInstInFunction", ")", "{", "Inst", "=", "getNextMachineInstr", "(", "std", "::", "next", "(", "I", ")", ",", "&", "*", "FI", ")", ";", "}", "if", "(", "LastInstInFunction", "||", "!", "TII", "->", "SafeInForbiddenSlot", "(", "*", "Inst", ")", ")", "{", "Changed", "=", "true", ";", "MIBundleBuilder", "(", "&", "*", "I", ")", ".", "append", "(", "BuildMI", "(", "MF", ",", "I", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "Mips", "::", "NOP", ")", ")", ")", ";", "NumInsertedNops", "++", ";", "}", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::NOP"], "File": "MipsHazardSchedule", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21639, "Length": 238, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "do_reorder_for_imul", "(", "rtx_insn", "*", "*", "ready", ",", "int", "n_ready", ")", "{", "rtx_insn", "*", "insn", ";", "rtx", "set", ",", "insn1", ",", "insn2", ";", "sd_iterator_def", "sd_it", ";", "dep_t", "dep", ";", "int", "index", "=", "-", "1", ";", "int", "i", ";", "if", "(", "!", "TARGET_CPU_P", "(", "BONNELL", ")", ")", "return", "index", ";", "insn", "=", "ready", "[", "n_ready", "-", "1", "]", ";", "set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "!", "set", ")", "return", "index", ";", "if", "(", "!", "(", "GET_CODE", "(", "SET_SRC", "(", "set", ")", ")", "==", "MULT", "&&", "GET_MODE", "(", "SET_SRC", "(", "set", ")", ")", "==", "SImode", ")", ")", "return", "index", ";", "for", "(", "i", "=", "n_ready", "-", "2", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "insn", "=", "ready", "[", "i", "]", ";", "if", "(", "!", "NONDEBUG_INSN_P", "(", "insn", ")", ")", "continue", ";", "insn2", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "insn2", ")", "==", "PARALLEL", ")", "insn2", "=", "XVECEXP", "(", "insn2", ",", "0", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "insn2", ")", "==", "SET", "&&", "GET_CODE", "(", "SET_SRC", "(", "insn2", ")", ")", "==", "MULT", "&&", "GET_MODE", "(", "SET_SRC", "(", "insn2", ")", ")", "==", "SImode", ")", "continue", ";", "FOR_EACH_DEP", "(", "insn", ",", "SD_LIST_FORW", ",", "sd_it", ",", "dep", ")", "{", "rtx", "con", ";", "con", "=", "DEP_CON", "(", "dep", ")", ";", "if", "(", "!", "NONDEBUG_INSN_P", "(", "con", ")", ")", "continue", ";", "insn1", "=", "PATTERN", "(", "con", ")", ";", "if", "(", "GET_CODE", "(", "insn1", ")", "==", "PARALLEL", ")", "insn1", "=", "XVECEXP", "(", "insn1", ",", "0", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "insn1", ")", "==", "SET", "&&", "GET_CODE", "(", "SET_SRC", "(", "insn1", ")", ")", "==", "MULT", "&&", "GET_MODE", "(", "SET_SRC", "(", "insn1", ")", ")", "==", "SImode", ")", "{", "sd_iterator_def", "sd_it1", ";", "dep_t", "dep1", ";", "index", "=", "i", ";", "FOR_EACH_DEP", "(", "con", ",", "SD_LIST_BACK", ",", "sd_it1", ",", "dep1", ")", "{", "rtx", "pro", ";", "pro", "=", "DEP_PRO", "(", "dep1", ")", ";", "if", "(", "!", "NONDEBUG_INSN_P", "(", "pro", ")", ")", "continue", ";", "if", "(", "pro", "!=", "insn", ")", "index", "=", "-", "1", ";", "}", "if", "(", "index", ">=", "0", ")", "break", ";", "}", "}", "if", "(", "index", ">=", "0", ")", "break", ";", "}", "return", "index", ";", "}", ""], "natrual_language": ["Try", "to", "reorder", "ready", "list", "to", "take", "advantage", "of", "Atom", "pipelined", "IMUL", "execution", ".", "It", "is", "applied", "if", "(", "1", ")", "IMUL", "instruction", "is", "on", "the", "top", "of", "list", ";", "(", "2", ")", "There", "exists", "the", "only", "producer", "of", "independent", "IMUL", "instruction", "in", "ready", "list", ".", "Return", "index", "of", "IMUL", "producer", "if", "it", "was", "found", "and", "-1", "otherwise", "."], "TS_V_token": ["i386", "1", "1", "2", "0", "0", "0", "0", "0", "1", "0", "0"], "File": "x86-tune-sched-atom", "Func": "do_reorder_for_imul", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21640, "Length": 357, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "relaxInstruction", "(", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "override", "{", "llvm_unreachable", "(", "\"relaxInstruction() unimplemented\"", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["VE", "\"relaxInstruction() unimplemented\""], "File": "VEAsmBackend1", "Func": "relaxInstruction", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21641, "Length": 21, "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", "ARMSubtarget", "&", "STI", "=", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "if", "(", "STI", ".", "isThumb1Only", "(", ")", ")", "return", "false", ";", "const", "TargetMachine", "&", "TM", "=", "MF", ".", "getTarget", "(", ")", ";", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", ")", "return", "false", ";", "LLVMContext", "*", "Context", "=", "&", "MF", ".", "getFunction", "(", ")", "->", "getContext", "(", ")", ";", "unsigned", "ARMPCLabelIndex", "=", "AFI", "->", "createPICLabelUId", "(", ")", ";", "unsigned", "PCAdj", "=", "STI", ".", "isThumb", "(", ")", "?", "4", ":", "8", ";", "ARMConstantPoolValue", "*", "CPV", "=", "ARMConstantPoolSymbol", "::", "Create", "(", "*", "Context", ",", "\"_GLOBAL_OFFSET_TABLE_\"", ",", "ARMPCLabelIndex", ",", "PCAdj", ")", ";", "unsigned", "Align", "=", "MF", ".", "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", "=", "STI", ".", "isThumb2", "(", ")", "?", "ARM", "::", "t2LDRpci", ":", "ARM", "::", "LDRcp", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "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", "=", "STI", ".", "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", "4", "8", "ARM", "ARM", "\"_GLOBAL_OFFSET_TABLE_\"", "ARM", "ARM::rGPRRegClass", "ARM::t2LDRpci", "ARM::LDRcp", "ARM::LDRcp", "0", "ARM::tPICADD", "ARM::PICADD", "ARM", "ARM::PICADD"], "File": "ARMInstrInfo", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21642, "Length": 377, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CollectLOH", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "TargetMachine", "&", "TM", "=", "MF", ".", "getTarget", "(", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "TM", ".", "getRegisterInfo", "(", ")", ";", "const", "MachineDominatorTree", "*", "MDT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "MapRegToId", "RegToId", ";", "MapIdToReg", "IdToReg", ";", "AArch64FunctionInfo", "*", "AArch64FI", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "assert", "(", "AArch64FI", "&&", "\"No MachineFunctionInfo for this function!\"", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Looking for LOH in \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "collectInvolvedReg", "(", "MF", ",", "RegToId", ",", "IdToReg", ",", "TRI", ")", ";", "if", "(", "RegToId", ".", "empty", "(", ")", ")", "return", "false", ";", "MachineInstr", "*", "DummyOp", "=", "nullptr", ";", "if", "(", "BasicBlockScopeOnly", ")", "{", "const", "AArch64InstrInfo", "*", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "TM", ".", "getInstrInfo", "(", ")", ")", ";", "DummyOp", "=", "MF", ".", "CreateMachineInstr", "(", "TII", "->", "get", "(", "AArch64", "::", "COPY", ")", ",", "DebugLoc", "(", ")", ")", ";", "}", "unsigned", "NbReg", "=", "RegToId", ".", "size", "(", ")", ";", "bool", "Modified", "=", "false", ";", "InstrToInstrs", "*", "ColorOpToReachedUses", "=", "new", "InstrToInstrs", "[", "NbReg", "]", ";", "reachingDef", "(", "MF", ",", "ColorOpToReachedUses", ",", "RegToId", ",", "true", ",", "DummyOp", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"ADRP reaching defs\\n\"", ")", ";", "DEBUG", "(", "printReachingDef", "(", "ColorOpToReachedUses", ",", "NbReg", ",", "TRI", ",", "IdToReg", ")", ")", ";", "InstrToInstrs", "ADRPToReachingDefs", ";", "reachedUsesToDefs", "(", "ADRPToReachingDefs", ",", "ColorOpToReachedUses", ",", "RegToId", ",", "true", ")", ";", "computeADRP", "(", "ADRPToReachingDefs", ",", "*", "AArch64FI", ",", "MDT", ")", ";", "delete", "[", "]", "ColorOpToReachedUses", ";", "ColorOpToReachedUses", "=", "new", "InstrToInstrs", "[", "NbReg", "]", ";", "reachingDef", "(", "MF", ",", "ColorOpToReachedUses", ",", "RegToId", ",", "false", ",", "DummyOp", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"All reaching defs\\n\"", ")", ";", "DEBUG", "(", "printReachingDef", "(", "ColorOpToReachedUses", ",", "NbReg", ",", "TRI", ",", "IdToReg", ")", ")", ";", "InstrToInstrs", "UsesToReachingDefs", ";", "reachedUsesToDefs", "(", "UsesToReachingDefs", ",", "ColorOpToReachedUses", ",", "RegToId", ",", "false", ")", ";", "computeOthers", "(", "UsesToReachingDefs", ",", "ColorOpToReachedUses", ",", "*", "AArch64FI", ",", "RegToId", ",", "MDT", ")", ";", "delete", "[", "]", "ColorOpToReachedUses", ";", "if", "(", "BasicBlockScopeOnly", ")", "MF", ".", "DeleteMachineInstr", "(", "DummyOp", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "\"No MachineFunctionInfo for this function!\"", "\"Looking for LOH in \"", "AArch64", "AArch64", "AArch64::COPY", "\"ADRP reaching defs\\n\"", "AArch64", "\"All reaching defs\\n\"", "AArch64"], "File": "AArch64CollectLOH24", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21643, "Length": 342, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "changeSection", "(", "MCSection", "*", "Section", ",", "const", "MCExpr", "*", "Subsection", ")", "override", "{", "LastMappingSymbols", "[", "getPreviousSection", "(", ")", ".", "first", "]", "=", "LastEMS", ";", "LastEMS", "=", "LastMappingSymbols", ".", "lookup", "(", "Section", ")", ";", "MCELFStreamer", "::", "changeSection", "(", "Section", ",", "Subsection", ")", ";", "}", ""], "natrual_language": ["Update", "streamer", "for", "a", "new", "active", "section", "."], "TS_V_token": ["AArch64"], "File": "AArch64ELFStreamer11", "Func": "changeSection", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21644, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "or1k_rtx_costs", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "int", "outer_code", ",", "int", ",", "int", "*", "total", ",", "bool", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "CONST_INT", ":", "if", "(", "x", "==", "const0_rtx", ")", "*", "total", "=", "0", ";", "else", "if", "(", "(", "outer_code", "==", "PLUS", "||", "outer_code", "==", "XOR", "||", "outer_code", "==", "MULT", ")", "&&", "satisfies_constraint_I", "(", "x", ")", ")", "*", "total", "=", "0", ";", "else", "if", "(", "(", "outer_code", "==", "AND", "||", "outer_code", "==", "IOR", ")", "&&", "satisfies_constraint_K", "(", "x", ")", ")", "*", "total", "=", "0", ";", "else", "if", "(", "satisfies_constraint_I", "(", "x", ")", "||", "satisfies_constraint_K", "(", "x", ")", "||", "satisfies_constraint_M", "(", "x", ")", ")", "*", "total", "=", "2", ";", "else", "*", "total", "=", "COSTS_N_INSNS", "(", "2", ")", ";", "return", "true", ";", "case", "CONST_DOUBLE", ":", "*", "total", "=", "(", "x", "==", "CONST0_RTX", "(", "mode", ")", "?", "0", ":", "COSTS_N_INSNS", "(", "2", ")", ")", ";", "return", "true", ";", "case", "HIGH", ":", "*", "total", "=", "2", ";", "return", "true", ";", "case", "LO_SUM", ":", "*", "total", "=", "(", "outer_code", "==", "MEM", "?", "0", ":", "2", ")", ";", "return", "true", ";", "case", "CONST", ":", "case", "SYMBOL_REF", ":", "case", "LABEL_REF", ":", "if", "(", "outer_code", "==", "LO_SUM", "||", "outer_code", "==", "HIGH", ")", "*", "total", "=", "0", ";", "else", "{", "*", "total", "=", "COSTS_N_INSNS", "(", "1", "+", "(", "outer_code", "!=", "MEM", ")", ")", ";", "}", "return", "true", ";", "case", "PLUS", ":", "if", "(", "outer_code", "==", "MEM", ")", "*", "total", "=", "0", ";", "break", ";", "default", ":", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Worker", "for", "TARGET_RTX_COSTS", "."], "TS_V_token": ["or1k", "0", "0", "0", "2", "2", "0", "2", "2", "0", "2", "0", "1", "0"], "File": "or1k", "Func": "or1k_rtx_costs", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21645, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_emit_isr_jmptbl_section", "(", "int", "vector_id", ")", "{", "char", "section_name", "[", "100", "]", ";", "char", "symbol_name", "[", "100", "]", ";", "snprintf", "(", "section_name", ",", "sizeof", "(", "section_name", ")", ",", "\".nds32_jmptbl.%02d\"", ",", "vector_id", ")", ";", "snprintf", "(", "symbol_name", ",", "sizeof", "(", "symbol_name", ")", ",", "\"_nds32_jmptbl_%02d\"", ",", "vector_id", ")", ";", "nds32_emit_section_head_template", "(", "section_name", ",", "symbol_name", ",", "2", ",", "true", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.word\\t%s\\n\"", ",", "nds32_isr_vectors", "[", "vector_id", "]", ".", "func_name", ")", ";", "nds32_emit_section_tail_template", "(", "symbol_name", ")", ";", "}", ""], "natrual_language": ["Function", "to", "emit", "isr", "jump", "table", "section", "."], "TS_V_token": ["nds32", "100", "100", "\".nds32_jmptbl.%02d\"", "\"_nds32_jmptbl_%02d\"", "2", "\"\\t.word\\t%s\\n\""], "File": "nds32-isr2", "Func": "nds32_emit_isr_jmptbl_section", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21646, "Length": 79, "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": 21647, "Length": 289, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsMCCodeEmitter", "::", "getJumpOffset16OpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"getJumpOffset16OpValue expects only expressions or an immediate\"", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "Mips", "::", "Fixups", "FixupKind", "=", "isMicroMips", "(", "STI", ")", "?", "Mips", "::", "fixup_MICROMIPS_LO16", ":", "Mips", "::", "fixup_Mips_LO16", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "Expr", ",", "MCFixupKind", "(", "FixupKind", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getJumpOffset16OpValue", "-", "Return", "binary", "encoding", "of", "the", "jump", "target", "operand", "."], "TS_V_token": ["Mips", "Mips", "\"getJumpOffset16OpValue expects only expressions or an immediate\"", "Mips::Fixups", "Mips", "Mips::fixup_MICROMIPS_LO16", "Mips::fixup_Mips_LO16", "0", "0"], "File": "MipsMCCodeEmitter (2)2", "Func": "getJumpOffset16OpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21648, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_handle_attr_cpu", "(", "const", "char", "*", "str", ",", "const", "char", "*", "pragma_or_attr", ")", "{", "const", "struct", "processor", "*", "tmp_cpu", "=", "NULL", ";", "enum", "aarch64_parse_opt_result", "parse_res", "=", "aarch64_parse_cpu", "(", "str", ",", "&", "tmp_cpu", ",", "&", "aarch64_isa_flags", ")", ";", "if", "(", "parse_res", "==", "AARCH64_PARSE_OK", ")", "{", "gcc_assert", "(", "tmp_cpu", ")", ";", "selected_tune", "=", "tmp_cpu", ";", "explicit_tune_core", "=", "selected_tune", "->", "ident", ";", "selected_arch", "=", "&", "all_architectures", "[", "tmp_cpu", "->", "arch", "]", ";", "explicit_arch", "=", "selected_arch", "->", "arch", ";", "return", "true", ";", "}", "switch", "(", "parse_res", ")", "{", "case", "AARCH64_PARSE_MISSING_ARG", ":", "error", "(", "\"missing cpu name in 'cpu' target %s\"", ",", "pragma_or_attr", ")", ";", "break", ";", "case", "AARCH64_PARSE_INVALID_ARG", ":", "error", "(", "\"unknown value %qs for 'cpu' target %s\"", ",", "str", ",", "pragma_or_attr", ")", ";", "break", ";", "case", "AARCH64_PARSE_INVALID_FEATURE", ":", "error", "(", "\"invalid feature modifier %qs for 'cpu' target %s\"", ",", "str", ",", "pragma_or_attr", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Handle", "the", "argument", "CPU_STR", "to", "the", "cpu=", "target", "attribute", ".", "PRAGMA_OR_ATTR", "is", "used", "in", "potential", "error", "messages", "."], "TS_V_token": ["aarch64", "\"missing cpu name in 'cpu' target %s\"", "\"unknown value %qs for 'cpu' target %s\"", "\"invalid feature modifier %qs for 'cpu' target %s\""], "File": "aarch643", "Func": "aarch64_handle_attr_cpu", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21649, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "record_memory_reference", "(", "rtx_insn", "*", "insn", ")", "{", "enum", "attr_itanium_class", "insn_class", "=", "ia64_safe_itanium_class", "(", "insn", ")", ";", "switch", "(", "insn_class", ")", "{", "case", "ITANIUM_CLASS_FLD", ":", "case", "ITANIUM_CLASS_LD", ":", "mem_ops_in_group", "[", "current_cycle", "%", "4", "]", "++", ";", "break", ";", "case", "ITANIUM_CLASS_STF", ":", "case", "ITANIUM_CLASS_ST", ":", "mem_ops_in_group", "[", "(", "current_cycle", "+", "3", ")", "%", "4", "]", "++", ";", "break", ";", "default", ":", ";", "}", "}", ""], "natrual_language": ["If", "INSN", "is", "a", "memory", "reference", ",", "memoize", "it", "in", "MEM_OPS_IN_GROUP", "global", "array", "(", "taking", "account", "for", "3-cycle", "cache", "reference", "postponing", "for", "stores", ":", "Intel", "Itanium", "2", "Reference", "Manual", "for", "Software", "Development", "and", "Optimization", ",", "6.7.3.1", ")", "."], "TS_V_token": ["ia64", "4", "3", "4"], "File": "ia64", "Func": "record_memory_reference", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21650, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "section", "*", "rs6000_xcoff_select_rtx_section", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "unsigned", "HOST_WIDE_INT", "align", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "ASM_OUTPUT_SPECIAL_POOL_ENTRY_P", "(", "x", ",", "mode", ")", ")", "return", "toc_section", ";", "else", "return", "read_only_private_data_section", ";", "}", ""], "natrual_language": ["Select", "section", "for", "constant", "in", "constant", "pool", ".", "On", "RS/6000", ",", "all", "constants", "are", "in", "the", "private", "read-only", "data", "area", ".", "However", ",", "if", "this", "is", "being", "placed", "in", "the", "TOC", "it", "must", "be", "output", "as", "a", "toc", "entry", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_xcoff_select_rtx_section", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21651, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCAsmParser", "::", "validateTargetOperandClass", "(", "MCParsedAsmOperand", "&", "AsmOp", ",", "unsigned", "Kind", ")", "{", "int64_t", "ImmVal", ";", "switch", "(", "Kind", ")", "{", "case", "MCK_0", ":", "ImmVal", "=", "0", ";", "break", ";", "case", "MCK_1", ":", "ImmVal", "=", "1", ";", "break", ";", "case", "MCK_2", ":", "ImmVal", "=", "2", ";", "break", ";", "case", "MCK_3", ":", "ImmVal", "=", "3", ";", "break", ";", "case", "MCK_4", ":", "ImmVal", "=", "4", ";", "break", ";", "case", "MCK_5", ":", "ImmVal", "=", "5", ";", "break", ";", "case", "MCK_6", ":", "ImmVal", "=", "6", ";", "break", ";", "case", "MCK_7", ":", "ImmVal", "=", "7", ";", "break", ";", "default", ":", "return", "Match_InvalidOperand", ";", "}", "PPCOperand", "&", "Op", "=", "static_cast", "<", "PPCOperand", "&", ">", "(", "AsmOp", ")", ";", "if", "(", "Op", ".", "isImm", "(", ")", "&&", "Op", ".", "getImm", "(", ")", "==", "ImmVal", ")", "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": ["PowerPC", "PPC", "0", "1", "2", "3", "4", "5", "6", "7", "PPC", "PPC"], "File": "PPCAsmParser (2)1", "Func": "validateTargetOperandClass", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21652, "Length": 135, "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", ")", "{", "tree", "decl_name", "=", "clone_function_name", "(", "default_decl", ",", "\"resolver\"", ")", ";", "const", "char", "*", "resolver_name", "=", "IDENTIFIER_POINTER", "(", "decl_name", ")", ";", "tree", "type", "=", "build_function_type_list", "(", "ptr_type_node", ",", "NULL_TREE", ")", ";", "tree", "decl", "=", "build_fn_decl", "(", "resolver_name", ",", "type", ")", ";", "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", ")", "=", "0", ";", "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", ")", ")", ";", "}", "else", "TREE_PUBLIC", "(", "dispatch_decl", ")", "=", "0", ";", "tree", "t", "=", "build_decl", "(", "UNKNOWN_LOCATION", ",", "RESULT_DECL", ",", "NULL_TREE", ",", "ptr_type_node", ")", ";", "DECL_CONTEXT", "(", "t", ")", "=", "decl", ";", "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", ",", "profile_count", "::", "uninitialized", "(", ")", ")", ";", "cgraph_node", "::", "add_new_function", "(", "decl", ",", "true", ")", ";", "symtab", "->", "call_cgraph_insertion_hooks", "(", "cgraph_node", "::", "get_create", "(", "decl", ")", ")", ";", "pop_cfun", "(", ")", ";", "DECL_ATTRIBUTES", "(", "dispatch_decl", ")", "=", "make_attribute", "(", "\"ifunc\"", ",", "resolver_name", ",", "DECL_ATTRIBUTES", "(", "dispatch_decl", ")", ")", ";", "cgraph_node", "::", "create_same_body_alias", "(", "dispatch_decl", ",", "decl", ")", ";", "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": ["rs6000", "\"resolver\"", "1", "1", "0", "0", "1", "0", "0", "0", "1", "0", "1", "1", "\"ifunc\""], "File": "rs6000", "Func": "make_resolver_func", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21653, "Length": 309, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "make_resolver_func", "(", "const", "tree", "default_decl", ",", "const", "tree", "ifunc_alias_decl", ",", "basic_block", "*", "empty_bb", ")", "{", "char", "*", "resolver_name", ";", "tree", "decl", ",", "type", ",", "decl_name", ",", "t", ";", "if", "(", "TREE_PUBLIC", "(", "default_decl", ")", "==", "0", ")", "{", "char", "*", "ifunc_name", "=", "make_unique_name", "(", "default_decl", ",", "\"ifunc\"", ",", "true", ")", ";", "symtab", "->", "change_decl_assembler_name", "(", "ifunc_alias_decl", ",", "get_identifier", "(", "ifunc_name", ")", ")", ";", "XDELETEVEC", "(", "ifunc_name", ")", ";", "}", "resolver_name", "=", "make_unique_name", "(", "default_decl", ",", "\"resolver\"", ",", "false", ")", ";", "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", ")", "=", "1", ";", "TREE_PUBLIC", "(", "decl", ")", "=", "0", ";", "DECL_UNINLINABLE", "(", "decl", ")", "=", "1", ";", "DECL_EXTERNAL", "(", "decl", ")", "=", "0", ";", "DECL_EXTERNAL", "(", "ifunc_alias_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", ",", "profile_count", "::", "uninitialized", "(", ")", ")", ";", "cgraph_node", "::", "add_new_function", "(", "decl", ",", "true", ")", ";", "symtab", "->", "call_cgraph_insertion_hooks", "(", "cgraph_node", "::", "get_create", "(", "decl", ")", ")", ";", "pop_cfun", "(", ")", ";", "gcc_assert", "(", "ifunc_alias_decl", "!=", "NULL", ")", ";", "DECL_ATTRIBUTES", "(", "ifunc_alias_decl", ")", "=", "make_attribute", "(", "\"ifunc\"", ",", "resolver_name", ",", "DECL_ATTRIBUTES", "(", "ifunc_alias_decl", ")", ")", ";", "cgraph_node", "::", "create_same_body_alias", "(", "ifunc_alias_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", "\"ifunc\"", "\"resolver\"", "1", "1", "1", "0", "1", "0", "0", "0", "1", "1", "1", "\"ifunc\""], "File": "i3867", "Func": "make_resolver_func", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21654, "Length": 355, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "DLXInstrInfo", "::", "optimizeCompareInstr", "(", "MachineInstr", "&", "CmpInstr", ",", "unsigned", "SrcReg", ",", "unsigned", "SrcReg2", ",", "int", "CmpMask", ",", "int", "CmpValue", ",", "const", "MachineRegisterInfo", "*", "MRI", ")", "const", "{", "return", "false", ";", "}", ""], "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": ["DLX", "DLX"], "File": "DLXInstrInfo", "Func": "optimizeCompareInstr", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21655, "Length": 32, "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": 21656, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "long", "get_csky_isr_type", "(", "tree", "argument", ")", "{", "const", "isr_attribute_entry", "*", "ptr", ";", "const", "char", "*", "arg", ";", "if", "(", "argument", "==", "NULL_TREE", ")", "return", "CSKY_FT_ISR", ";", "if", "(", "TREE_VALUE", "(", "argument", ")", "==", "NULL_TREE", "||", "TREE_CODE", "(", "TREE_VALUE", "(", "argument", ")", ")", "!=", "STRING_CST", ")", "return", "CSKY_FT_UNKNOWN", ";", "arg", "=", "TREE_STRING_POINTER", "(", "TREE_VALUE", "(", "argument", ")", ")", ";", "for", "(", "ptr", "=", "isr_attribute_map", ";", "ptr", "->", "arg", "!=", "NULL", ";", "ptr", "++", ")", "if", "(", "strcmp", "(", "arg", ",", "ptr", "->", "arg", ")", "==", "0", ")", "return", "ptr", "->", "return_value", ";", "return", "CSKY_FT_UNKNOWN", ";", "}", ""], "natrual_language": ["Return", "the", "function", "type", "of", "the", "current", "function", ",", "if", "it", "has", "not", "been", "determined", ",", "return", "CSKY_FT_UNKNOWN", "."], "TS_V_token": ["csky", "0"], "File": "csky", "Func": "get_csky_isr_type", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21657, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCInst", "Thumb1InstrInfo", "::", "getNop", "(", ")", "const", "{", "return", "MCInstBuilder", "(", "ARM", "::", "tMOVr", ")", ".", "addReg", "(", "ARM", "::", "R8", ")", ".", "addReg", "(", "ARM", "::", "R8", ")", ".", "addImm", "(", "ARMCC", "::", "AL", ")", ".", "addReg", "(", "0", ")", ";", "}", ""], "natrual_language": ["Return", "the", "noop", "instruction", "to", "use", "for", "a", "noop", "."], "TS_V_token": ["ARM", "ARM::tMOVr", "ARM::R8", "ARM::R8", "ARMCC::AL", "0"], "File": "Thumb1InstrInfo20", "Func": "getNop", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21658, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mmix_asm_output_align", "(", "FILE", "*", "stream", ",", "int", "power", ")", "{", "fprintf", "(", "stream", ",", "\"\\t.p2align %d\\n\"", ",", "power", ")", ";", "fprintf", "(", "stream", ",", "\"\\tLOC @+(%d-@)&%d\\n\"", ",", "1", "<<", "power", ",", "(", "1", "<<", "power", ")", "-", "1", ")", ";", "}", ""], "natrual_language": ["ASM_OUTPUT_ALIGN", "."], "TS_V_token": ["mmix", "\"\\t.p2align %d\\n\"", "\"\\tLOC @+(%d-@)&%d\\n\"", "1", "1", "1"], "File": "mmix", "Func": "mmix_asm_output_align", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21659, "Length": 40, "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", "::", "ConstantPool", ":", "return", "LowerConstantPool", "(", "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", "::", "CONCAT_VECTORS", ":", "return", "LowerCONCAT_VECTORS", "(", "Op", ",", "DAG", ")", ";", "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::ConstantPool", "ISD::GlobalTLSAddress", "ISD::JumpTable", "ISD::SELECT", "ISD::SELECT_CC", "ISD::SETCC", "ISD::VACOPY", "ISD::VASTART", "ISD::BUILD_VECTOR", "ISD::CONCAT_VECTORS", "ISD::VECTOR_SHUFFLE"], "File": "AArch64ISelLowering60", "Func": "LowerOperation", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21660, "Length": 416, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "useLoadStackGuardNode", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["If", "this", "function", "returns", "true", ",", "SelectionDAGBuilder", "emits", "a", "LOAD_STACK_GUARD", "node", "when", "it", "is", "lowering", "Intrinsic", ":", ":stackprotector", "."], "TS_V_token": ["SystemZ"], "File": "SystemZISelLowering", "Func": "useLoadStackGuardNode", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21661, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "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", "(", ")", ";", "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", ")", ".", "addReg", "(", "0", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "Pred", ")", ".", "addReg", "(", "PredReg", ")", ";", "}", ""], "natrual_language": ["emitLoadConstPool", "-", "Emits", "a", "load", "from", "constpool", "to", "materialize", "the", "specified", "immediate", "."], "TS_V_token": ["ARM", "ARM", "ARMCC::CondCodes", "4", "ARM::LDRcp", "0", "0"], "File": "ARMBaseRegisterInfo20", "Func": "emitLoadConstPool", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21662, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "ARMTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "EVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'l'", ":", "if", "(", "Subtarget", "->", "isThumb", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "ARM", "::", "tGPRRegisterClass", ")", ";", "else", "return", "std", "::", "make_pair", "(", "0U", ",", "ARM", "::", "GPRRegisterClass", ")", ";", "case", "'r'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "ARM", "::", "GPRRegisterClass", ")", ";", "case", "'w'", ":", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "ARM", "::", "SPRRegisterClass", ")", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "ARM", "::", "DPRRegisterClass", ")", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "128", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "ARM", "::", "QPRRegisterClass", ")", ";", "break", ";", "}", "}", "if", "(", "StringRef", "(", "\"{cc}\"", ")", ".", "equals_lower", "(", "Constraint", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "ARM", "::", "CCRRegisterClass", ")", ";", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["ARM", "ARM", "1", "0", "0U", "ARM::tGPRRegisterClass", "0U", "ARM::GPRRegisterClass", "0U", "ARM::GPRRegisterClass", "MVT::f32", "0U", "ARM::SPRRegisterClass", "64", "0U", "ARM::DPRRegisterClass", "128", "0U", "ARM::QPRRegisterClass", "\"{cc}\"", "0U", "ARM::CCRRegisterClass"], "File": "ARMISelLowering17", "Func": "getRegForInlineAsmConstraint", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21663, "Length": 202, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCRegisterInfo", "::", "materializeFrameBaseRegister", "(", "MachineBasicBlock", "*", "MBB", ",", "unsigned", "BaseReg", ",", "int", "FrameIdx", ",", "int64_t", "Offset", ")", "const", "{", "unsigned", "ADDriOpc", "=", "Subtarget", ".", "isPPC64", "(", ")", "?", "PPC", "::", "ADDI8", ":", "PPC", "::", "ADDI", ";", "MachineBasicBlock", "::", "iterator", "Ins", "=", "MBB", "->", "begin", "(", ")", ";", "DebugLoc", "DL", ";", "if", "(", "Ins", "!=", "MBB", "->", "end", "(", ")", ")", "DL", "=", "Ins", "->", "getDebugLoc", "(", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", "->", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "TII", ".", "get", "(", "ADDriOpc", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MBB", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MRI", ".", "constrainRegClass", "(", "BaseReg", ",", "TII", ".", "getRegClass", "(", "MCID", ",", "0", ",", "this", ",", "MF", ")", ")", ";", "BuildMI", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "MCID", ",", "BaseReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "Offset", ")", ";", "}", ""], "natrual_language": ["Insert", "defining", "instruction", "(", "s", ")", "for", "a", "pointer", "to", "FrameIdx", "before", "insertion", "point", "I", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::ADDI8", "PPC::ADDI", "0"], "File": "PPCRegisterInfo22", "Func": "materializeFrameBaseRegister", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21664, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "quad_load_store_p", "(", "rtx", "op0", ",", "rtx", "op1", ")", "{", "bool", "ret", ";", "if", "(", "!", "TARGET_QUAD_MEMORY", ")", "ret", "=", "false", ";", "else", "if", "(", "REG_P", "(", "op0", ")", "&&", "MEM_P", "(", "op1", ")", ")", "ret", "=", "(", "quad_int_reg_operand", "(", "op0", ",", "GET_MODE", "(", "op0", ")", ")", "&&", "quad_memory_operand", "(", "op1", ",", "GET_MODE", "(", "op1", ")", ")", "&&", "!", "reg_overlap_mentioned_p", "(", "op0", ",", "op1", ")", ")", ";", "else", "if", "(", "MEM_P", "(", "op0", ")", "&&", "REG_P", "(", "op1", ")", ")", "ret", "=", "(", "quad_memory_operand", "(", "op0", ",", "GET_MODE", "(", "op0", ")", ")", "&&", "quad_int_reg_operand", "(", "op1", ",", "GET_MODE", "(", "op1", ")", ")", ")", ";", "else", "ret", "=", "false", ";", "if", "(", "TARGET_DEBUG_ADDR", ")", "{", "fprintf", "(", "stderr", ",", "\"\\n========== quad_load_store, return %s\\n\"", ",", "ret", "?", "\"true\"", ":", "\"false\"", ")", ";", "debug_rtx", "(", "gen_rtx_SET", "(", "op0", ",", "op1", ")", ")", ";", "}", "return", "ret", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "is", "a", "load", "or", "store", "quad", "operation", ".", "This", "function", "does", "not", "handle", "the", "atomic", "quad", "memory", "instructions", "."], "TS_V_token": ["rs6000", "\"\\n========== quad_load_store, return %s\\n\"", "\"true\"", "\"false\""], "File": "rs6000", "Func": "quad_load_store_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21665, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_legitimize_const_move", "(", "machine_mode", "mode", ",", "rtx", "dest", ",", "rtx", "src", ")", "{", "rtx", "base", ",", "offset", ";", "if", "(", "splittable_const_int_operand", "(", "src", ",", "mode", ")", ")", "{", "mips_move_integer", "(", "dest", ",", "dest", ",", "INTVAL", "(", "src", ")", ")", ";", "return", ";", "}", "if", "(", "mips_split_symbol", "(", "dest", ",", "src", ",", "MAX_MACHINE_MODE", ",", "&", "src", ")", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "src", ")", ")", ";", "return", ";", "}", "if", "(", "mips_tls_symbol_p", "(", "src", ")", ")", "{", "mips_emit_move", "(", "dest", ",", "mips_legitimize_tls_address", "(", "src", ")", ")", ";", "return", ";", "}", "split_const", "(", "src", ",", "&", "base", ",", "&", "offset", ")", ";", "if", "(", "offset", "!=", "const0_rtx", "&&", "(", "targetm", ".", "cannot_force_const_mem", "(", "mode", ",", "src", ")", "||", "(", "!", "TARGET_MIPS16", "&&", "can_create_pseudo_p", "(", ")", ")", ")", ")", "{", "base", "=", "mips_force_temporary", "(", "dest", ",", "base", ")", ";", "mips_emit_move", "(", "dest", ",", "mips_add_offset", "(", "NULL", ",", "base", ",", "INTVAL", "(", "offset", ")", ")", ")", ";", "return", ";", "}", "src", "=", "force_const_mem", "(", "mode", ",", "src", ")", ";", "mips_split_symbol", "(", "dest", ",", "XEXP", "(", "src", ",", "0", ")", ",", "mode", ",", "&", "XEXP", "(", "src", ",", "0", ")", ")", ";", "mips_emit_move", "(", "dest", ",", "src", ")", ";", "}", ""], "natrual_language": ["Subroutine", "of", "mips_legitimize_move", ".", "Move", "constant", "SRC", "into", "register", "DEST", "given", "that", "SRC", "satisfies", "immediate_operand", "but", "does", "n't", "satisfy", "move_operand", "."], "TS_V_token": ["mips", "0", "0"], "File": "mips", "Func": "mips_legitimize_const_move", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21666, "Length": 199, "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", "(", "(", "type", "&&", "POINTER_BOUNDS_TYPE_P", "(", "type", ")", ")", "||", "POINTER_BOUNDS_MODE_P", "(", "mode", ")", ")", "{", "if", "(", "cum", "->", "bnds_in_bt", ")", "{", "cum", "->", "bnds_in_bt", "--", ";", "return", ";", "}", "if", "(", "cum", "->", "force_bnd_pass", ")", "cum", "->", "force_bnd_pass", "--", ";", "cum", "->", "bnd_regno", "++", ";", "return", ";", "}", "cum", "->", "bnds_in_bt", "=", "0", ";", "if", "(", "cum", "->", "force_bnd_pass", ")", "{", "cum", "->", "bnd_regno", "+=", "cum", "->", "force_bnd_pass", ";", "cum", "->", "force_bnd_pass", "=", "0", ";", "}", "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", "(", "cum", "->", "stdarg", ")", "cum", "->", "force_bnd_pass", "=", "nregs", ";", "if", "(", "!", "nregs", ")", "cum", "->", "bnds_in_bt", "=", "chkp_type_bounds_count", "(", "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": ["i386", "0", "0"], "File": "i3866", "Func": "ix86_function_arg_advance", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21667, "Length": 269, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCHazardRecognizer970", "::", "EmitInstruction", "(", "SUnit", "*", "SU", ")", "{", "const", "SDNode", "*", "Node", "=", "SU", "->", "getNode", "(", ")", "->", "getFlaggedMachineNode", "(", ")", ";", "bool", "isFirst", ",", "isSingle", ",", "isCracked", ",", "isLoad", ",", "isStore", ";", "PPCII", "::", "PPC970_Unit", "InstrType", "=", "GetInstrType", "(", "Node", "->", "getOpcode", "(", ")", ",", "isFirst", ",", "isSingle", ",", "isCracked", ",", "isLoad", ",", "isStore", ")", ";", "if", "(", "InstrType", "==", "PPCII", "::", "PPC970_Pseudo", ")", "return", ";", "unsigned", "Opcode", "=", "Node", "->", "getMachineOpcode", "(", ")", ";", "if", "(", "Opcode", "==", "PPC", "::", "MTCTR", ")", "HasCTRSet", "=", "true", ";", "if", "(", "isStore", ")", "{", "unsigned", "ThisStoreSize", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown store instruction!\"", ")", ";", "case", "PPC", "::", "STB", ":", "case", "PPC", "::", "STB8", ":", "case", "PPC", "::", "STBU", ":", "case", "PPC", "::", "STBU8", ":", "case", "PPC", "::", "STBX", ":", "case", "PPC", "::", "STBX8", ":", "case", "PPC", "::", "STVEBX", ":", "ThisStoreSize", "=", "1", ";", "break", ";", "case", "PPC", "::", "STH", ":", "case", "PPC", "::", "STH8", ":", "case", "PPC", "::", "STHU", ":", "case", "PPC", "::", "STHU8", ":", "case", "PPC", "::", "STHX", ":", "case", "PPC", "::", "STHX8", ":", "case", "PPC", "::", "STVEHX", ":", "case", "PPC", "::", "STHBRX", ":", "ThisStoreSize", "=", "2", ";", "break", ";", "case", "PPC", "::", "STFS", ":", "case", "PPC", "::", "STFSU", ":", "case", "PPC", "::", "STFSX", ":", "case", "PPC", "::", "STWX", ":", "case", "PPC", "::", "STWX8", ":", "case", "PPC", "::", "STWUX", ":", "case", "PPC", "::", "STW", ":", "case", "PPC", "::", "STW8", ":", "case", "PPC", "::", "STWU", ":", "case", "PPC", "::", "STWU8", ":", "case", "PPC", "::", "STVEWX", ":", "case", "PPC", "::", "STFIWX", ":", "case", "PPC", "::", "STWBRX", ":", "ThisStoreSize", "=", "4", ";", "break", ";", "case", "PPC", "::", "STD_32", ":", "case", "PPC", "::", "STDX_32", ":", "case", "PPC", "::", "STD", ":", "case", "PPC", "::", "STDU", ":", "case", "PPC", "::", "STFD", ":", "case", "PPC", "::", "STFDX", ":", "case", "PPC", "::", "STDX", ":", "case", "PPC", "::", "STDUX", ":", "ThisStoreSize", "=", "8", ";", "break", ";", "case", "PPC", "::", "STVX", ":", "case", "PPC", "::", "STVXL", ":", "ThisStoreSize", "=", "16", ";", "break", ";", "}", "StoreSize", "[", "NumStores", "]", "=", "ThisStoreSize", ";", "StorePtr1", "[", "NumStores", "]", "=", "Node", "->", "getOperand", "(", "1", ")", ";", "StorePtr2", "[", "NumStores", "]", "=", "Node", "->", "getOperand", "(", "2", ")", ";", "++", "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", "PPCII::PPC970_Unit", "PPCII::PPC970_Pseudo", "PPC::MTCTR", "\"Unknown store instruction!\"", "PPC::STB", "PPC::STB8", "PPC::STBU", "PPC::STBU8", "PPC::STBX", "PPC::STBX8", "PPC::STVEBX", "1", "PPC::STH", "PPC::STH8", "PPC::STHU", "PPC::STHU8", "PPC::STHX", "PPC::STHX8", "PPC::STVEHX", "PPC::STHBRX", "2", "PPC::STFS", "PPC::STFSU", "PPC::STFSX", "PPC::STWX", "PPC::STWX8", "PPC::STWUX", "PPC::STW", "PPC::STW8", "PPC::STWU", "PPC::STWU8", "PPC::STVEWX", "PPC::STFIWX", "PPC::STWBRX", "4", "PPC::STD_32", "PPC::STDX_32", "PPC::STD", "PPC::STDU", "PPC::STFD", "PPC::STFDX", "PPC::STDX", "PPC::STDUX", "8", "PPC::STVX", "PPC::STVXL", "16", "1", "2", "PPCII::PPC970_BRU", "4", "5"], "File": "PPCHazardRecognizers23", "Func": "EmitInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21668, "Length": 402, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "PPCRegisterInfo", "::", "getNoPreservedMask", "(", ")", "const", "{", "return", "CSR_NoRegs_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "register", "mask", "that", "clobbers", "everything", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCRegisterInfo (2)", "Func": "getNoPreservedMask", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21669, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_probe_stack_range", "(", "rtx", "reg1", ",", "rtx", "reg2", ")", "{", "static", "int", "labelno", "=", "0", ";", "char", "loop_lab", "[", "32", "]", ",", "end_lab", "[", "32", "]", ";", "rtx", "xops", "[", "2", "]", ";", "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", "]", "=", "reg1", ";", "xops", "[", "1", "]", "=", "reg2", ";", "output_asm_insn", "(", "\"cmp\\t%0, %1\"", ",", "xops", ")", ";", "if", "(", "TARGET_ARCH64", ")", "fputs", "(", "\"\\tbe,pn\\t%xcc,\"", ",", "asm_out_file", ")", ";", "else", "fputs", "(", "\"\\tbe\\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", "(", "\" add\\t%0, %1, %0\"", ",", "xops", ")", ";", "if", "(", "TARGET_ARCH64", ")", "fputs", "(", "\"\\tba,pt\\t%xcc,\"", ",", "asm_out_file", ")", ";", "else", "fputs", "(", "\"\\tba\\t\"", ",", "asm_out_file", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "loop_lab", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "xops", "[", "1", "]", "=", "GEN_INT", "(", "SPARC_STACK_BIAS", ")", ";", "output_asm_insn", "(", "\" st\\t%%g0, [%0+%1]\"", ",", "xops", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "end_lab", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Wrapper", "around", "the", "output_probe_stack_range", "routines", "."], "TS_V_token": ["sparc", "0", "32", "32", "2", "\"LPSRL\"", "\"LPSRE\"", "0", "1", "\"cmp\\t%0, %1\"", "\"\\tbe,pn\\t%xcc,\"", "\"\\tbe\\t\"", "1", "\" add\\t%0, %1, %0\"", "\"\\tba,pt\\t%xcc,\"", "\"\\tba\\t\"", "1", "\" st\\t%%g0, [%0+%1]\"", "\"\""], "File": "sparc4", "Func": "output_probe_stack_range", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21670, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sh_emit_set_t_insn", "(", "rtx", "insn", ",", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_FPU_ANY", "&&", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", "&&", "GET_CODE", "(", "insn", ")", "!=", "PARALLEL", ")", "{", "insn", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "3", ",", "insn", ",", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "SImode", ",", "FPSCR_STAT_REG", ")", ")", ",", "gen_rtx_USE", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "SImode", ",", "FPSCR_MODES_REG", ")", ")", ")", ")", ";", "}", "emit_insn", "(", "insn", ")", ";", "}", ""], "natrual_language": ["Emit", "INSN", ",", "possibly", "in", "a", "PARALLEL", "with", "an", "USE/CLOBBER", "of", "FPSCR", "bits", "in", "case", "of", "floating-point", "comparisons", "."], "TS_V_token": ["sh", "3"], "File": "sh", "Func": "sh_emit_set_t_insn", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21671, "Length": 75, "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": 21672, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "OR1KAsmBackend", "::", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "OR1K", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_OR1K_NONE\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_OR1K_32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_OR1K_16\"", ",", "16", ",", "16", ",", "0", "}", ",", "{", "\"fixup_OR1K_8\"", ",", "24", ",", "8", ",", "0", "}", ",", "{", "\"fixup_OR1K_LO16_INSN\"", ",", "16", ",", "16", ",", "0", "}", ",", "{", "\"fixup_OR1K_HI16_INSN\"", ",", "16", ",", "16", ",", "0", "}", ",", "{", "\"fixup_OR1K_REL26\"", ",", "6", ",", "26", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_OR1K_PCREL32\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_OR1K_PCREL16\"", ",", "16", ",", "16", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_OR1K_PCREL8\"", ",", "24", ",", "8", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_OR1K_GOTPC_HI16\"", ",", "16", ",", "16", ",", "0", "}", ",", "{", "\"fixup_OR1K_GOTPC_LO16\"", ",", "16", ",", "16", ",", "0", "}", ",", "{", "\"fixup_OR1K_GOT16\"", ",", "16", ",", "16", ",", "0", "}", ",", "{", "\"fixup_OR1K_PLT26\"", ",", "6", ",", "26", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_OR1K_GOTOFF_HI16\"", ",", "16", ",", "16", ",", "0", "}", ",", "{", "\"fixup_OR1K_GOTOFF_LO16\"", ",", "16", ",", "16", ",", "0", "}", ",", "{", "\"fixup_OR1K_COPY\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_OR1K_GLOB_DAT\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_OR1K_JMP_SLOT\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_OR1K_RELATIVE\"", ",", "0", ",", "32", ",", "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": ["OR1K", "OR1K", "OR1K::NumTargetFixupKinds", "\"fixup_OR1K_NONE\"", "0", "32", "0", "\"fixup_OR1K_32\"", "0", "32", "0", "\"fixup_OR1K_16\"", "16", "16", "0", "\"fixup_OR1K_8\"", "24", "8", "0", "\"fixup_OR1K_LO16_INSN\"", "16", "16", "0", "\"fixup_OR1K_HI16_INSN\"", "16", "16", "0", "\"fixup_OR1K_REL26\"", "6", "26", "\"fixup_OR1K_PCREL32\"", "0", "32", "\"fixup_OR1K_PCREL16\"", "16", "16", "\"fixup_OR1K_PCREL8\"", "24", "8", "\"fixup_OR1K_GOTPC_HI16\"", "16", "16", "0", "\"fixup_OR1K_GOTPC_LO16\"", "16", "16", "0", "\"fixup_OR1K_GOT16\"", "16", "16", "0", "\"fixup_OR1K_PLT26\"", "6", "26", "\"fixup_OR1K_GOTOFF_HI16\"", "16", "16", "0", "\"fixup_OR1K_GOTOFF_LO16\"", "16", "16", "0", "\"fixup_OR1K_COPY\"", "0", "32", "0", "\"fixup_OR1K_GLOB_DAT\"", "0", "32", "0", "\"fixup_OR1K_JMP_SLOT\"", "0", "32", "0", "\"fixup_OR1K_RELATIVE\"", "0", "32", "0", "\"Invalid kind!\""], "File": "OR1KAsmBackend1", "Func": "getFixupKindInfo", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21673, "Length": 273, "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": 21674, "Length": 12, "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", "=", "nullptr", ";", "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", "==", "nullptr", "||", "movOpc", "==", "0", ")", "return", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "&", "getRegisterInfo", "(", ")", ";", "MachineInstr", "*", "MovMI", "=", "nullptr", ";", "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", "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", "\"Bad sub-register\""], "File": "SparcInstrInfo", "Func": "copyPhysReg", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21675, "Length": 499, "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", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "Entry", "->", "begin", "(", ")", ";", "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", ",", "MBBI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "NewVR", ")", ".", "addReg", "(", "*", "I", ")", ";", "for", "(", "auto", "*", "Exit", ":", "Exits", ")", "BuildMI", "(", "*", "Exit", ",", "Exit", "->", "getFirstTerminator", "(", ")", ",", "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)", "Func": "insertCopiesSplitCSR", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21676, "Length": 271, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "prefersVectorizedAddressing", "(", ")", "const", "{", "return", "supportsGather", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "target", "does", "n't", "mind", "addresses", "in", "vectors", "."], "TS_V_token": ["X86", "X86"], "File": "X86TargetTransformInfo (2)1", "Func": "prefersVectorizedAddressing", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21677, "Length": 14, "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", ".", "getTypeSizeInBits", "(", "SubVecTy", ")", ";", "bool", "EltIs64Bits", "=", "DL", ".", "getTypeSizeInBits", "(", "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": "ARMISelLowering (2)2", "Func": "lowerInterleavedStore", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21678, "Length": 428, "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": 21679, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "sparc_regmode_natural_size", "(", "machine_mode", "mode", ")", "{", "const", "enum", "mode_class", "cl", "=", "GET_MODE_CLASS", "(", "mode", ")", ";", "if", "(", "(", "cl", "==", "MODE_FLOAT", "||", "cl", "==", "MODE_VECTOR_INT", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "<=", "4", ")", "return", "4", ";", "return", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["On", "the", "SPARC", ",", "any", "mode", "which", "naturally", "allocates", "into", "the", "single", "float", "registers", "should", "return", "4", "here", "."], "TS_V_token": ["sparc", "4", "4"], "File": "sparc", "Func": "sparc_regmode_natural_size", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21680, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LC2200PassConfig", "::", "addPreISel", "(", ")", "{", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["LC2200", "LC2200"], "File": "LC2200TargetMachine", "Func": "addPreISel", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21681, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_split_simple_return_pop_internal", "(", "rtx", "popc", ")", "{", "struct", "machine_function", "*", "m", "=", "cfun", "->", "machine", ";", "rtx", "ecx", "=", "gen_rtx_REG", "(", "SImode", ",", "CX_REG", ")", ";", "rtx_insn", "*", "insn", ";", "gcc_assert", "(", "!", "TARGET_64BIT", ")", ";", "insn", "=", "emit_insn", "(", "gen_pop", "(", "ecx", ")", ")", ";", "m", "->", "fs", ".", "cfa_offset", "-=", "UNITS_PER_WORD", ";", "m", "->", "fs", ".", "sp_offset", "-=", "UNITS_PER_WORD", ";", "rtx", "x", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "UNITS_PER_WORD", ")", ";", "x", "=", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "x", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_ADJUST_CFA", ",", "x", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_REGISTER", ",", "gen_rtx_SET", "(", "ecx", ",", "pc_rtx", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "popc", ")", ";", "x", "=", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "x", ")", ";", "insn", "=", "emit_insn", "(", "x", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_ADJUST_CFA", ",", "x", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "emit_jump_insn", "(", "gen_simple_return_indirect_internal", "(", "ecx", ")", ")", ";", "}", ""], "natrual_language": ["Split", "simple", "return", "with", "popping", "POPC", "bytes", "from", "stack", "to", "indirect", "branch", "with", "stack", "adjustment", "."], "TS_V_token": ["i386", "1", "1"], "File": "i386-expand", "Func": "ix86_split_simple_return_pop_internal", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21682, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "F2003fRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "DebugLoc", "dl", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "getIndex", "(", ")", ";", "int", "Offset", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectOffset", "(", "FrameIndex", ")", ";", "Offset", "+=", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ";", "Offset", "+=", "SPAdj", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "F2003f", "::", "ATAframe", ")", "{", "Offset", "+=", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "getImm", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MI", ".", "setDesc", "(", "TII", ".", "get", "(", "F2003f", "::", "KRZrr", ")", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "F2003f", "::", "F5", ",", "false", ")", ";", "MI", ".", "RemoveOperand", "(", "FIOperandNum", "+", "1", ")", ";", "if", "(", "Offset", "==", "0", ")", "{", "return", ";", "}", "unsigned", "DstReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "BuildMI", "(", "MBB", ",", "std", "::", "next", "(", "II", ")", ",", "dl", ",", "TII", ".", "get", "(", "F2003f", "::", "ATAri", ")", ",", "DstReg", ")", ".", "addReg", "(", "DstReg", ")", ".", "addImm", "(", "Offset", ")", ";", "return", ";", "}", "if", "(", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "2", ")", ".", "isImm", "(", ")", ")", "{", "Offset", "+=", "(", "int32_t", ")", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "2", ")", ".", "getImm", "(", ")", ";", "}", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "F2003f", "::", "F5", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "2", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["F2003f", "F2003f", "F2003f::ATAframe", "1", "F2003f::KRZrr", "F2003f::F5", "1", "0", "0", "F2003f::ATAri", "2", "2", "F2003f::F5", "2"], "File": "F2003fRegisterInfo", "Func": "eliminateFrameIndex", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21683, "Length": 315, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AvoidSFBPass", "::", "alias", "(", "const", "MachineMemOperand", "&", "Op1", ",", "const", "MachineMemOperand", "&", "Op2", ")", "const", "{", "if", "(", "!", "Op1", ".", "getValue", "(", ")", "||", "!", "Op2", ".", "getValue", "(", ")", ")", "return", "true", ";", "int64_t", "MinOffset", "=", "std", "::", "min", "(", "Op1", ".", "getOffset", "(", ")", ",", "Op2", ".", "getOffset", "(", ")", ")", ";", "int64_t", "Overlapa", "=", "Op1", ".", "getSize", "(", ")", "+", "Op1", ".", "getOffset", "(", ")", "-", "MinOffset", ";", "int64_t", "Overlapb", "=", "Op2", ".", "getSize", "(", ")", "+", "Op2", ".", "getOffset", "(", ")", "-", "MinOffset", ";", "AliasResult", "AAResult", "=", "AA", "->", "alias", "(", "MemoryLocation", "(", "Op1", ".", "getValue", "(", ")", ",", "Overlapa", ",", "Op1", ".", "getAAInfo", "(", ")", ")", ",", "MemoryLocation", "(", "Op2", ".", "getValue", "(", ")", ",", "Overlapb", ",", "Op2", ".", "getAAInfo", "(", ")", ")", ")", ";", "return", "AAResult", "!=", "NoAlias", ";", "}", ""], "natrual_language": ["alias", "-", "If", "one", "of", "the", "pointers", "is", "to", "a", "global", "that", "we", "are", "tracking", ",", "and", "the", "other", "is", "some", "random", "pointer", ",", "we", "know", "there", "can", "not", "be", "an", "alias", ",", "because", "the", "address", "of", "the", "global", "is", "n't", "taken", "."], "TS_V_token": ["X86", "X86"], "File": "X86AvoidStoreForwardingBlocks", "Func": "alias", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21684, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "TOYInstrInfo", "::", "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": ["TOY", "TOY", "0", "\"Unimplemented\"", "0"], "File": "TOYInstrInfo1", "Func": "isStoreToStackSlot", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21685, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "VETargetMachine", "::", "VETargetMachine", "(", "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", "(", "RM", ")", ",", "getEffectiveCodeModel", "(", "CM", ",", "CodeModel", "::", "Small", ")", ",", "OL", ")", ",", "TLOF", "(", "createTLOF", "(", ")", ")", ",", "Subtarget", "(", "TT", ",", "std", "::", "string", "(", "CPU", ")", ",", "std", "::", "string", "(", "FS", ")", ",", "*", "this", ")", "{", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "Aurora", "VE", "architecture", "model", "."], "TS_V_token": ["VE", "VE", "VE"], "File": "VETargetMachine", "Func": "VETargetMachine", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21686, "Length": 118, "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", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "unsigned", "StackEst", "=", "TFI", "->", "determineFrameLayout", "(", "MF", ",", "true", ")", ";", "if", "(", "!", "StackEst", ")", "return", "false", ";", "Offset", "+=", "StackEst", ";", "return", "!", "isFrameOffsetLegal", "(", "MI", ",", "getBaseRegister", "(", "MF", ")", ",", "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"], "File": "PPCRegisterInfo (2)3", "Func": "needsFrameBaseReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21687, "Length": 148, "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": 21688, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Mandarin Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mandarin", "\"Mandarin Assembly Printer\""], "File": "MandarinAsmPrinter", "Func": "getPassName", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21689, "Length": 13, "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?\"", ")", ";", "auto", "ValSize", "=", "VA", ".", "getValVT", "(", ")", ".", "getSizeInBits", "(", ")", ";", "auto", "LocSize", "=", "VA", ".", "getLocVT", "(", ")", ".", "getSizeInBits", "(", ")", ";", "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", "=", "MRI", ".", "createGenericVirtualRegister", "(", "LLT", "::", "scalar", "(", "LocSize", ")", ")", ";", "MIRBuilder", ".", "buildCopy", "(", "PhysRegToVReg", ",", "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": "ARMCallLowering1", "Func": "assignValueToReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21690, "Length": 151, "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", "=", "HARD_REGNO_NREGS", "(", "src1", ",", "halfmode", ")", ";", "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", "(", "VOIDmode", ",", "destlo", ",", "operands", "[", "1", "]", ")", ";", "rtx", "y", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "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", "0", "0", "0", "1", "2", "2", "2", "1", "2", "2", "1"], "File": "arm4", "Func": "neon_split_vcombine", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21691, "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": 21692, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sparc_delegitimize_address", "(", "rtx", "x", ")", "{", "x", "=", "delegitimize_mem_from_attrs", "(", "x", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "LO_SUM", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "UNSPEC", ")", "switch", "(", "XINT", "(", "XEXP", "(", "x", ",", "1", ")", ",", "1", ")", ")", "{", "case", "UNSPEC_MOVE_PIC", ":", "case", "UNSPEC_TLSLE", ":", "x", "=", "XVECEXP", "(", "XEXP", "(", "x", ",", "1", ")", ",", "0", ",", "0", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", ")", ";", "break", ";", "default", ":", "break", ";", "}", "if", "(", "GET_CODE", "(", "x", ")", "==", "MINUS", "&&", "sparc_pic_register_p", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "LO_SUM", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "x", ",", "1", ")", ",", "1", ")", ")", "==", "UNSPEC", "&&", "XINT", "(", "XEXP", "(", "XEXP", "(", "x", ",", "1", ")", ",", "1", ")", ",", "1", ")", "==", "UNSPEC_MOVE_PIC_LABEL", ")", "{", "x", "=", "XVECEXP", "(", "XEXP", "(", "XEXP", "(", "x", ",", "1", ")", ",", "1", ")", ",", "0", ",", "0", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", "||", "(", "GET_CODE", "(", "x", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ")", "==", "LABEL_REF", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "1", ")", ")", "==", "CONST_INT", ")", ")", ";", "}", "return", "x", ";", "}", ""], "natrual_language": ["Delegitimize", "an", "address", "that", "was", "legitimized", "by", "the", "above", "function", "."], "TS_V_token": ["sparc", "1", "1", "1", "1", "0", "0", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "0", "0", "0", "0", "0", "1"], "File": "sparc7", "Func": "sparc_delegitimize_address", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21693, "Length": 249, "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": ["XNCM"], "File": "XNCMInstrInfo", "Func": "getRegisterInfo", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21694, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_bitmask_imm", "(", "HOST_WIDE_INT", "val", ",", "machine_mode", "mode", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "<", "8", ")", "{", "val", "&=", "(", "HOST_WIDE_INT", ")", "0xffffffff", ";", "val", "|=", "val", "<<", "32", ";", "}", "return", "bsearch", "(", "&", "val", ",", "aarch64_bitmasks", ",", "AARCH64_NUM_BITMASKS", ",", "sizeof", "(", "aarch64_bitmasks", "[", "0", "]", ")", ",", "aarch64_bitmasks_cmp", ")", "!=", "NULL", ";", "}", ""], "natrual_language": ["Return", "true", "if", "val", "is", "a", "valid", "bitmask", "immediate", "."], "TS_V_token": ["aarch64", "8", "0xffffffff", "32", "0"], "File": "aarch642", "Func": "aarch64_bitmask_imm", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21695, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ARMSubtarget", "*", "ARMBaseTargetMachine", "::", "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", ".", "getFnAttribute", "(", "\"use-soft-float\"", ")", ".", "getValueAsString", "(", ")", "==", "\"true\"", ";", "if", "(", "SoftFloat", ")", "FS", "+=", "FS", ".", "empty", "(", ")", "?", "\"+soft-float\"", ":", "\",+soft-float\"", ";", "std", "::", "string", "Key", "=", "CPU", "+", "FS", ";", "if", "(", "F", ".", "hasMinSize", "(", ")", ")", "Key", "+=", "\"+minsize\"", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "Key", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "std", "::", "make_unique", "<", "ARMSubtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "*", "this", ",", "isLittle", ",", "F", ".", "hasMinSize", "(", ")", ")", ";", "if", "(", "!", "I", "->", "isThumb", "(", ")", "&&", "!", "I", "->", "hasARMOps", "(", ")", ")", "F", ".", "getContext", "(", ")", ".", "emitError", "(", "\"Function '\"", "+", "F", ".", "getName", "(", ")", "+", "\"' uses ARM \"", "\"instructions, but the target does not support ARM mode execution.\"", ")", ";", "}", "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": ["ARM", "ARM", "ARM", "\"target-cpu\"", "\"target-features\"", "\"use-soft-float\"", "\"true\"", "\"+soft-float\"", "\",+soft-float\"", "\"+minsize\"", "ARM", "ARM", "\"Function '\"", "\"' uses ARM \"", "\"instructions, but the target does not support ARM mode execution.\""], "File": "ARMTargetMachine10", "Func": "getSubtargetImpl", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21696, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "chk_function_decl", "(", "const_tree", "fntype", ",", "location_t", "call_location", ")", "{", "if", "(", "!", "VOID_TYPE_P", "(", "TREE_TYPE", "(", "fntype", ")", ")", "&&", "pru_return_in_memory", "(", "TREE_TYPE", "(", "fntype", ")", ",", "fntype", ")", ")", "error_at", "(", "call_location", ",", "\"large return values not supported with %<-mabi=ti%> option\"", ")", ";", "for", "(", "tree", "p", "=", "TYPE_ARG_TYPES", "(", "fntype", ")", ";", "p", ";", "p", "=", "TREE_CHAIN", "(", "p", ")", ")", "{", "tree", "arg_type", "=", "TREE_VALUE", "(", "p", ")", ";", "if", "(", "chkp_type_has_function_pointer", "(", "arg_type", ")", ")", "error_at", "(", "call_location", ",", "\"function pointers not supported with %<-mabi=ti%> option\"", ")", ";", "}", "}", ""], "natrual_language": ["Check", "the", "function", "declaration", "FNTYPE", "for", "TI", "ABI", "compatibility", "."], "TS_V_token": ["pru", "\"large return values not supported with %<-mabi=ti%> option\"", "\"function pointers not supported with %<-mabi=ti%> option\""], "File": "pru-passes", "Func": "chk_function_decl", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21697, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "const", "char", "*", "RegName", "=", "getRegisterName", "(", "RegNo", ")", ";", "OS", "<<", "RegName", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCInstPrinter18", "Func": "printRegName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21698, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_savres_routine_sym", "(", "rs6000_stack_t", "*", "info", ",", "int", "sel", ")", "{", "int", "regno", "=", "(", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_GPR", "?", "info", "->", "first_gp_reg_save", ":", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_FPR", "?", "info", "->", "first_fp_reg_save", "-", "32", ":", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_VR", "?", "info", "->", "first_altivec_reg_save", "-", "FIRST_ALTIVEC_REGNO", ":", "-", "1", ")", ";", "rtx", "sym", ";", "int", "select", "=", "sel", ";", "gcc_assert", "(", "FIRST_SAVRES_REGISTER", "<=", "regno", "&&", "regno", "<=", "LAST_SAVRES_REGISTER", "&&", "select", ">=", "0", "&&", "select", "<=", "12", ")", ";", "sym", "=", "savres_routine_syms", "[", "regno", "-", "FIRST_SAVRES_REGISTER", "]", "[", "select", "]", ";", "if", "(", "sym", "==", "NULL", ")", "{", "char", "*", "name", ";", "name", "=", "rs6000_savres_routine_name", "(", "regno", ",", "sel", ")", ";", "sym", "=", "savres_routine_syms", "[", "regno", "-", "FIRST_SAVRES_REGISTER", "]", "[", "select", "]", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "ggc_strdup", "(", "name", ")", ")", ";", "SYMBOL_REF_FLAGS", "(", "sym", ")", "|=", "SYMBOL_FLAG_FUNCTION", ";", "}", "return", "sym", ";", "}", ""], "natrual_language": ["Return", "an", "RTL", "SYMBOL_REF", "for", "an", "out-of-line", "register", "save/restore", "routine", ".", "We", "are", "saving/restoring", "GPRs", "if", "GPR", "is", "true", "."], "TS_V_token": ["rs6000", "32", "1", "0", "12"], "File": "rs6000-logue", "Func": "rs6000_savres_routine_sym", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21699, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb2InstrInfo", "::", "isProfitableToIfCvt", "(", "MachineBasicBlock", "&", "TMBB", ",", "unsigned", "NumT", ",", "MachineBasicBlock", "&", "FMBB", ",", "unsigned", "NumF", ")", "const", "{", "return", "NumT", "&&", "NumF", "&&", "NumT", "<=", "(", "IfCvtDiamondLimit", ")", "&&", "NumF", "<=", "(", "IfCvtDiamondLimit", ")", ";", "}", ""], "natrual_language": ["Second", "variant", "of", "isProfitableToIfCvt", "."], "TS_V_token": ["ARM"], "File": "Thumb2InstrInfo15", "Func": "isProfitableToIfCvt", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21700, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "isTruncateFree", "(", "EVT", "VT1", ",", "EVT", "VT2", ")", "const", "{", "if", "(", "!", "VT1", ".", "isInteger", "(", ")", "||", "!", "VT2", ".", "isInteger", "(", ")", ")", "return", "false", ";", "unsigned", "NumBits1", "=", "VT1", ".", "getSizeInBits", "(", ")", ";", "unsigned", "NumBits2", "=", "VT2", ".", "getSizeInBits", "(", ")", ";", "return", "NumBits1", "==", "64", "&&", "NumBits2", "==", "32", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "'s", "free", "to", "truncate", "a", "value", "of", "type", "Ty1", "to", "type", "Ty2", "."], "TS_V_token": ["PowerPC", "PPC", "64", "32"], "File": "PPCISelLowering (2)2", "Func": "isTruncateFree", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21701, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "flags_from_mode", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "CC_ZSmode", ":", "return", "CC_FLAG_S", "|", "CC_FLAG_Z", ";", "case", "CC_ZSOmode", ":", "return", "CC_FLAG_S", "|", "CC_FLAG_Z", "|", "CC_FLAG_O", ";", "case", "CC_ZSCmode", ":", "return", "CC_FLAG_S", "|", "CC_FLAG_Z", "|", "CC_FLAG_C", ";", "case", "CCmode", ":", "return", "CC_FLAG_S", "|", "CC_FLAG_Z", "|", "CC_FLAG_O", "|", "CC_FLAG_C", ";", "case", "CC_Fmode", ":", "return", "CC_FLAG_FP", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Convert", "a", "CC_MODE", "to", "the", "set", "of", "flags", "that", "it", "represents", "."], "TS_V_token": ["rx"], "File": "rx2", "Func": "flags_from_mode", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21702, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_d_target_versions", "(", "void", ")", "{", "if", "(", "TARGET_64BIT", ")", "d_add_builtin_version", "(", "\"PPC64\"", ")", ";", "else", "d_add_builtin_version", "(", "\"PPC\"", ")", ";", "if", "(", "TARGET_HARD_FLOAT", ")", "{", "d_add_builtin_version", "(", "\"PPC_HardFloat\"", ")", ";", "d_add_builtin_version", "(", "\"D_HardFloat\"", ")", ";", "}", "else", "if", "(", "TARGET_SOFT_FLOAT", ")", "{", "d_add_builtin_version", "(", "\"PPC_SoftFloat\"", ")", ";", "d_add_builtin_version", "(", "\"D_SoftFloat\"", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_D_CPU_VERSIONS", "for", "PowerPC", "targets", "."], "TS_V_token": ["rs6000", "\"PPC64\"", "\"PPC\"", "\"PPC_HardFloat\"", "\"D_HardFloat\"", "\"PPC_SoftFloat\"", "\"D_SoftFloat\""], "File": "rs6000-d", "Func": "rs6000_d_target_versions", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21703, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getElementSize", "(", ")", "const", "{", "assert", "(", "Predicated", ")", ";", "return", "ElementSize", ";", "}", ""], "natrual_language": ["Return", "the", "size", "of", "an", "element", "read", "or", "written", "by", "Inst", "."], "TS_V_token": ["AArch64"], "File": "AArch64AsmParser (2)2", "Func": "getElementSize", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21704, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBank", "&", "X86RegisterBankInfo", "::", "getRegBankFromRegClass", "(", "const", "TargetRegisterClass", "&", "RC", ")", "const", "{", "if", "(", "X86", "::", "GR8RegClass", ".", "hasSubClassEq", "(", "&", "RC", ")", "||", "X86", "::", "GR16RegClass", ".", "hasSubClassEq", "(", "&", "RC", ")", "||", "X86", "::", "GR32RegClass", ".", "hasSubClassEq", "(", "&", "RC", ")", "||", "X86", "::", "GR64RegClass", ".", "hasSubClassEq", "(", "&", "RC", ")", ")", "return", "getRegBank", "(", "X86", "::", "GPRRegBankID", ")", ";", "llvm_unreachable", "(", "\"Unsupported register kind yet.\"", ")", ";", "}", ""], "natrual_language": ["Get", "a", "register", "bank", "that", "covers", "RC", "."], "TS_V_token": ["X86", "X86", "X86::GR8RegClass", "X86::GR16RegClass", "X86::GR32RegClass", "X86::GR64RegClass", "X86::GPRRegBankID", "\"Unsupported register kind yet.\""], "File": "X86RegisterBankInfo21", "Func": "getRegBankFromRegClass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21705, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "LLT", "AArch64TargetLowering", "::", "getOptimalMemOpLLT", "(", "const", "MemOp", "&", "Op", ",", "const", "AttributeList", "&", "FuncAttributes", ")", "const", "{", "bool", "CanImplicitFloat", "=", "!", "FuncAttributes", ".", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ";", "bool", "CanUseNEON", "=", "Subtarget", "->", "hasNEON", "(", ")", "&&", "CanImplicitFloat", ";", "bool", "CanUseFP", "=", "Subtarget", "->", "hasFPARMv8", "(", ")", "&&", "CanImplicitFloat", ";", "bool", "IsSmallMemset", "=", "Op", ".", "isMemset", "(", ")", "&&", "Op", ".", "size", "(", ")", "<", "32", ";", "auto", "AlignmentIsAcceptable", "=", "[", "&", "]", "(", "EVT", "VT", ",", "Align", "AlignCheck", ")", "{", "if", "(", "Op", ".", "isAligned", "(", "AlignCheck", ")", ")", "return", "true", ";", "bool", "Fast", ";", "return", "allowsMisalignedMemoryAccesses", "(", "VT", ",", "0", ",", "1", ",", "MachineMemOperand", "::", "MONone", ",", "&", "Fast", ")", "&&", "Fast", ";", "}", ";", "if", "(", "CanUseNEON", "&&", "Op", ".", "isMemset", "(", ")", "&&", "!", "IsSmallMemset", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "v2i64", ",", "Align", "(", "16", ")", ")", ")", "return", "LLT", "::", "vector", "(", "2", ",", "64", ")", ";", "if", "(", "CanUseFP", "&&", "!", "IsSmallMemset", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "f128", ",", "Align", "(", "16", ")", ")", ")", "return", "LLT", "::", "scalar", "(", "128", ")", ";", "if", "(", "Op", ".", "size", "(", ")", ">=", "8", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "i64", ",", "Align", "(", "8", ")", ")", ")", "return", "LLT", "::", "scalar", "(", "64", ")", ";", "if", "(", "Op", ".", "size", "(", ")", ">=", "4", "&&", "AlignmentIsAcceptable", "(", "MVT", "::", "i32", ",", "Align", "(", "4", ")", ")", ")", "return", "LLT", "::", "scalar", "(", "32", ")", ";", "return", "LLT", "(", ")", ";", "}", ""], "natrual_language": ["LLT", "returning", "variant", "."], "TS_V_token": ["AArch64", "AArch64", "32", "0", "1", "MVT::v2i64", "16", "2", "64", "MVT::f128", "16", "128", "8", "MVT::i64", "8", "64", "4", "MVT::i32", "4", "32"], "File": "AArch64ISelLowering10", "Func": "getOptimalMemOpLLT", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21706, "Length": 247, "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", ";", "Mnode", "*", "mp", ";", "if", "(", "minipool_vector_head", "&&", "fix", "->", "address", ">=", "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", "&&", "(", "GET_CODE", "(", "fix", "->", "value", ")", "!=", "CODE_LABEL", "||", "(", "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", "=", "xmalloc", "(", "sizeof", "(", "*", "mp", ")", ")", ";", "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": "arm3", "Func": "add_minipool_forward_ref", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21707, "Length": 433, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "recps_type", "get_recps_type", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_SFmode", ":", "return", "(", "gen_aarch64_frecpssf", ")", ";", "case", "E_V2SFmode", ":", "return", "(", "gen_aarch64_frecpsv2sf", ")", ";", "case", "E_V4SFmode", ":", "return", "(", "gen_aarch64_frecpsv4sf", ")", ";", "case", "E_DFmode", ":", "return", "(", "gen_aarch64_frecpsdf", ")", ";", "case", "E_V2DFmode", ":", "return", "(", "gen_aarch64_frecpsv2df", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Select", "reciprocal", "series", "step", "insn", "depending", "on", "machine", "mode", "."], "TS_V_token": ["aarch64"], "File": "aarch645", "Func": "get_recps_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21708, "Length": 61, "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", "'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"], "File": "X86AsmPrinter (2)2", "Func": "PrintAsmOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21709, "Length": 410, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTTIImpl", "::", "getCacheLineSize", "(", ")", "{", "if", "(", "CacheLineSize", ".", "getNumOccurrences", "(", ")", ">", "0", ")", "return", "CacheLineSize", ";", "unsigned", "Directive", "=", "ST", "->", "getDarwinDirective", "(", ")", ";", "if", "(", "Directive", "==", "PPC", "::", "DIR_PWR7", "||", "Directive", "==", "PPC", "::", "DIR_PWR8", "||", "Directive", "==", "PPC", "::", "DIR_PWR9", ")", "return", "128", ";", "return", "64", ";", "}", ""], "natrual_language": ["Return", "the", "target", "cache", "line", "size", "in", "bytes", "."], "TS_V_token": ["PowerPC", "PPC", "0", "PPC::DIR_PWR7", "PPC::DIR_PWR8", "PPC::DIR_PWR9", "128", "64"], "File": "PPCTargetTransformInfo", "Func": "getCacheLineSize", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21710, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "find_alignment_op", "(", "rtx_insn", "*", "insn", ",", "rtx", "base_reg", ",", "vec", "<", "rtx_insn", "*", ">", "*", "and_insns", ",", "vec", "<", "rtx", ">", "*", "and_ops", ")", "{", "df_ref", "base_use", ";", "struct", "df_insn_info", "*", "insn_info", "=", "DF_INSN_INFO_GET", "(", "insn", ")", ";", "rtx", "and_operation", "=", "0", ";", "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", ")", "return", "false", ";", "while", "(", "base_def_link", ")", "{", "if", "(", "DF_REF_IS_ARTIFICIAL", "(", "base_def_link", "->", "ref", ")", ")", "return", "false", ";", "rtx_insn", "*", "and_insn", "=", "DF_REF_INSN", "(", "base_def_link", "->", "ref", ")", ";", "and_operation", "=", "alignment_mask", "(", "and_insn", ")", ";", "if", "(", "!", "and_operation", ")", "return", "false", ";", "and_insns", "->", "safe_push", "(", "and_insn", ")", ";", "and_ops", "->", "safe_push", "(", "and_operation", ")", ";", "base_def_link", "=", "base_def_link", "->", "next", ";", "}", "}", "return", "and_operation", ";", "}", ""], "natrual_language": ["Given", "INSN", "that", "'s", "a", "load", "or", "store", "based", "at", "BASE_REG", ",", "check", "if", "all", "of", "its", "feeding", "computations", "align", "its", "address", "on", "a", "16-byte", "boundary", ".", "If", "so", ",", "return", "true", "and", "add", "all", "definition", "insns", "into", "AND_INSNS", "and", "their", "corresponding", "fully-expanded", "rtxes", "for", "the", "masking", "operations", "into", "AND_OPS", "."], "TS_V_token": ["rs6000", "0"], "File": "rs6000-p8swap", "Func": "find_alignment_op", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21711, "Length": 154, "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": 21712, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "ARMPLT", "::", "emit", "(", "MemoryRegion", "&", "pRegion", ")", "{", "uint64_t", "result", "=", "0x0", ";", "iterator", "it", "=", "begin", "(", ")", ";", "unsigned", "char", "*", "buffer", "=", "pRegion", ".", "begin", "(", ")", ";", "memcpy", "(", "buffer", ",", "llvm", "::", "cast", "<", "ARMPLT0", ">", "(", "(", "*", "it", ")", ")", ".", "getValue", "(", ")", ",", "ARMPLT0", "::", "EntrySize", ")", ";", "result", "+=", "ARMPLT0", "::", "EntrySize", ";", "++", "it", ";", "ARMPLT1", "*", "plt1", "=", "0", ";", "ARMPLT", "::", "iterator", "ie", "=", "end", "(", ")", ";", "while", "(", "it", "!=", "ie", ")", "{", "plt1", "=", "&", "(", "llvm", "::", "cast", "<", "ARMPLT1", ">", "(", "*", "it", ")", ")", ";", "memcpy", "(", "buffer", "+", "result", ",", "plt1", "->", "getValue", "(", ")", ",", "ARMPLT1", "::", "EntrySize", ")", ";", "result", "+=", "ARMPLT1", "::", "EntrySize", ";", "++", "it", ";", "}", "return", "result", ";", "}", ""], "natrual_language": ["Output", "the", "remark", "via", "the", "diagnostic", "handler", "and", "to", "the", "optimization", "record", "file", "."], "TS_V_token": ["ARM", "ARM", "0x0", "ARM", "ARM", "ARM", "ARM", "0", "ARM", "ARM", "ARM", "ARM"], "File": "ARMPLT", "Func": "emit", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21713, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "rtx_code", "ix86_prepare_fp_compare_args", "(", "enum", "rtx_code", "code", ",", "rtx", "*", "pop0", ",", "rtx", "*", "pop1", ")", "{", "enum", "machine_mode", "fpcmp_mode", "=", "ix86_fp_compare_mode", "(", "code", ")", ";", "rtx", "op0", "=", "*", "pop0", ",", "op1", "=", "*", "pop1", ";", "enum", "machine_mode", "op_mode", "=", "GET_MODE", "(", "op0", ")", ";", "int", "is_sse", "=", "TARGET_SSE_MATH", "&&", "SSE_FLOAT_MODE_P", "(", "op_mode", ")", ";", "if", "(", "!", "is_sse", "&&", "(", "fpcmp_mode", "==", "CCFPUmode", "||", "(", "op_mode", "==", "XFmode", "&&", "!", "(", "standard_80387_constant_p", "(", "op0", ")", "==", "1", "||", "standard_80387_constant_p", "(", "op1", ")", "==", "1", ")", "&&", "GET_CODE", "(", "op1", ")", "!=", "FLOAT", ")", "||", "ix86_use_fcomi_compare", "(", "code", ")", ")", ")", "{", "op0", "=", "force_reg", "(", "op_mode", ",", "op0", ")", ";", "op1", "=", "force_reg", "(", "op_mode", ",", "op1", ")", ";", "}", "else", "{", "if", "(", "standard_80387_constant_p", "(", "op0", ")", "==", "0", "||", "(", "GET_CODE", "(", "op0", ")", "==", "MEM", "&&", "!", "(", "standard_80387_constant_p", "(", "op1", ")", "==", "0", "||", "GET_CODE", "(", "op1", ")", "==", "MEM", ")", ")", ")", "{", "rtx", "tmp", ";", "tmp", "=", "op0", ",", "op0", "=", "op1", ",", "op1", "=", "tmp", ";", "code", "=", "swap_condition", "(", "code", ")", ";", "}", "if", "(", "GET_CODE", "(", "op0", ")", "!=", "REG", ")", "op0", "=", "force_reg", "(", "op_mode", ",", "op0", ")", ";", "if", "(", "CONSTANT_P", "(", "op1", ")", ")", "{", "int", "tmp", "=", "standard_80387_constant_p", "(", "op1", ")", ";", "if", "(", "tmp", "==", "0", ")", "op1", "=", "validize_mem", "(", "force_const_mem", "(", "op_mode", ",", "op1", ")", ")", ";", "else", "if", "(", "tmp", "==", "1", ")", "{", "if", "(", "TARGET_CMOVE", ")", "op1", "=", "force_reg", "(", "op_mode", ",", "op1", ")", ";", "}", "else", "op1", "=", "force_reg", "(", "op_mode", ",", "op1", ")", ";", "}", "}", "if", "(", "ix86_fp_comparison_cost", "(", "code", ")", ">", "ix86_fp_comparison_cost", "(", "swap_condition", "(", "code", ")", ")", "&&", "(", "GET_CODE", "(", "op1", ")", "==", "REG", "||", "!", "no_new_pseudos", ")", ")", "{", "rtx", "tmp", ";", "tmp", "=", "op0", ",", "op0", "=", "op1", ",", "op1", "=", "tmp", ";", "code", "=", "swap_condition", "(", "code", ")", ";", "if", "(", "GET_CODE", "(", "op0", ")", "!=", "REG", ")", "op0", "=", "force_reg", "(", "op_mode", ",", "op0", ")", ";", "}", "*", "pop0", "=", "op0", ";", "*", "pop1", "=", "op1", ";", "return", "code", ";", "}", ""], "natrual_language": ["Swap", ",", "force", "into", "registers", ",", "or", "otherwise", "massage", "the", "two", "operands", "to", "a", "fp", "comparison", ".", "The", "operands", "are", "updated", "in", "place", ";", "the", "new", "comparsion", "code", "is", "returned", "."], "TS_V_token": ["i386", "1", "1", "0", "0", "0", "1"], "File": "i3863", "Func": "ix86_prepare_fp_compare_args", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21714, "Length": 353, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ia64_hpux_reloc_rw_mask", "(", "void", ")", "{", "return", "3", ";", "}", ""], "natrual_language": ["For", "HPUX", ",", "it", "is", "illegal", "to", "have", "relocations", "in", "shared", "segments", "."], "TS_V_token": ["ia64", "3"], "File": "ia64", "Func": "ia64_hpux_reloc_rw_mask", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21715, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "function_expander", "::", "get_nonoverlapping_reg_target", "(", ")", "{", "if", "(", "possible_target", "&&", "overlaps_input_p", "(", "possible_target", ")", ")", "possible_target", "=", "NULL_RTX", ";", "return", "get_reg_target", "(", ")", ";", "}", ""], "natrual_language": ["As", "for", "get_reg_target", ",", "but", "make", "sure", "that", "the", "returned", "REG", "does", "not", "overlap", "any", "inputs", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "get_nonoverlapping_reg_target", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21716, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "OR1KRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["OR1K", "OR1K"], "File": "OR1KSubtarget1", "Func": "getRegisterInfo", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21717, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1FrameLowering", "::", "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", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "bool", "isVarArg", "=", "AFI", "->", "getArgRegsSaveSize", "(", ")", ">", "0", ";", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "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", ";", "if", "(", "STI", ".", "hasV4TOps", "(", ")", "&&", "!", "STI", ".", "hasV5TOps", "(", ")", ")", "continue", ";", "Reg", "=", "ARM", "::", "PC", ";", "(", "*", "MIB", ")", ".", "setDesc", "(", "TII", ".", "get", "(", "ARM", "::", "tPOP_RET", ")", ")", ";", "MIB", ".", "copyImplicitOps", "(", "&", "*", "MI", ")", ";", "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": "Thumb1FrameLowering57", "Func": "restoreCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21718, "Length": 282, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmBackend", "::", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "return", "reasonForFixupRelaxation", "(", "Fixup", ",", "Value", ")", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMAsmBackend (2)1", "Func": "fixupNeedsRelaxation", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21719, "Length": 34, "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": 21720, "Length": 54, "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": 21721, "Length": 303, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "ARMBaseRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "ARMSubtarget", "&", "STI", "=", "MF", "->", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "if", "(", "STI", ".", "isTargetNaCl", "(", ")", ")", "return", "CSR_NaCl_SaveList", ";", "const", "MCPhysReg", "*", "RegList", "=", "STI", ".", "isTargetDarwin", "(", ")", "?", "CSR_iOS_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", "CSR_AAPCS_SaveList", ";", "}", "else", "if", "(", "F", "->", "getFnAttribute", "(", "\"interrupt\"", ")", ".", "getValueAsString", "(", ")", "==", "\"FIQ\"", ")", "{", "return", "CSR_FIQ_SaveList", ";", "}", "else", "{", "return", "CSR_GenericInt_SaveList", ";", "}", "}", "return", "RegList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "\"interrupt\"", "\"interrupt\"", "\"FIQ\""], "File": "ARMBaseRegisterInfo22", "Func": "getCalleeSavedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21722, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SparcInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "SP", "::", "STri", "||", "MI", "->", "getOpcode", "(", ")", "==", "SP", "::", "STXri", "||", "MI", "->", "getOpcode", "(", ")", "==", "SP", "::", "STFri", "||", "MI", "->", "getOpcode", "(", ")", "==", "SP", "::", "STDFri", "||", "MI", "->", "getOpcode", "(", ")", "==", "SP", "::", "STQFri", ")", "{", "if", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "isFI", "(", ")", "&&", "MI", "->", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", "&&", "MI", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "==", "0", ")", "{", "FrameIndex", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getIndex", "(", ")", ";", "return", "MI", "->", "getOperand", "(", "2", ")", ".", "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": ["Sparc", "Sparc", "SP::STri", "SP::STXri", "SP::STFri", "SP::STDFri", "SP::STQFri", "0", "1", "1", "0", "0", "2", "0"], "File": "SparcInstrInfo", "Func": "isStoreToStackSlot", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21723, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "canCombineStoreAndExtract", "(", "Type", "*", "VectorTy", ",", "Value", "*", "Idx", ",", "unsigned", "&", "Cost", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "hasNEON", "(", ")", ")", "return", "false", ";", "if", "(", "VectorTy", "->", "isFPOrFPVectorTy", "(", ")", ")", "return", "false", ";", "if", "(", "!", "isa", "<", "ConstantInt", ">", "(", "Idx", ")", ")", "return", "false", ";", "assert", "(", "VectorTy", "->", "isVectorTy", "(", ")", "&&", "\"VectorTy is not a vector type\"", ")", ";", "unsigned", "BitWidth", "=", "cast", "<", "VectorType", ">", "(", "VectorTy", ")", "->", "getBitWidth", "(", ")", ";", "if", "(", "BitWidth", "==", "64", "||", "BitWidth", "==", "128", ")", "{", "Cost", "=", "0", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "can", "combine", "store", "(", "extractelement", "VectorTy", ",", "Idx", ")", "."], "TS_V_token": ["ARM", "ARM", "\"VectorTy is not a vector type\"", "64", "128", "0"], "File": "ARMISelLowering (2)2", "Func": "canCombineStoreAndExtract", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21724, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_early_store_addr_dep", "(", "rtx", "producer", ",", "rtx", "consumer", ")", "{", "return", "!", "arm_no_early_store_addr_dep", "(", "producer", ",", "consumer", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "the", "CONSUMER", "instruction", "(", "a", "store", ")", "does", "need", "PRODUCER", "'s", "value", "to", "calculate", "the", "address", "."], "TS_V_token": ["arm"], "File": "aarch-common", "Func": "arm_early_store_addr_dep", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21725, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "PPCRegisterInfo", "::", "getPointerRegClass", "(", ")", "const", "{", "if", "(", "Subtarget", ".", "isPPC64", "(", ")", ")", "return", "&", "PPC", "::", "G8RCRegClass", ";", "else", "return", "&", "PPC", "::", "GPRCRegClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::G8RCRegClass", "PPC::GPRCRegClass"], "File": "PPCRegisterInfo23", "Func": "getPointerRegClass", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21726, "Length": 32, "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": ["TOY", "4"], "File": "TOYAsmBackend1", "Func": "getPointerSize", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21727, "Length": 10, "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": 21728, "Length": 330, "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", ")", ";", "if", "(", "OrigArg", ".", "Ty", "->", "isVoidTy", "(", ")", ")", "return", "true", ";", "EVT", "VT", "=", "SplitVTs", "[", "0", "]", ";", "unsigned", "NumParts", "=", "TLI", ".", "getNumRegisters", "(", "Context", ",", "VT", ")", ";", "if", "(", "NumParts", "==", "1", ")", "{", "SplitArgs", ".", "emplace_back", "(", "OrigArg", ".", "Reg", ",", "VT", ".", "getTypeForEVT", "(", "Context", ")", ",", "OrigArg", ".", "Flags", ",", "OrigArg", ".", "IsFixed", ")", ";", "return", "true", ";", "}", "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", ")", ";", "SplitRegs", ".", "push_back", "(", "Info", ".", "Reg", ")", ";", "}", "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", "0", "1", "8", "0"], "File": "X86CallLowering", "Func": "splitToValueTypes", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21729, "Length": 255, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_expand_block_move", "(", "rtx", "dest", ",", "rtx", "src", ",", "rtx", "length", ")", "{", "if", "(", "GET_CODE", "(", "length", ")", "==", "CONST_INT", ")", "{", "if", "(", "INTVAL", "(", "length", ")", "<=", "2", "*", "MAX_MOVE_BYTES", ")", "{", "mips_block_move_straight", "(", "dest", ",", "src", ",", "INTVAL", "(", "length", ")", ")", ";", "return", "true", ";", "}", "else", "if", "(", "optimize", ")", "{", "mips_block_move_loop", "(", "dest", ",", "src", ",", "INTVAL", "(", "length", ")", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Expand", "a", "movmemsi", "instruction", ",", "which", "copies", "LENGTH", "bytes", "from", "memory", "reference", "SRC", "to", "memory", "reference", "DEST", "."], "TS_V_token": ["mips", "2"], "File": "mips3", "Func": "mips_expand_block_move", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21730, "Length": 78, "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": 21731, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "PPCTargetLowering", "::", "getSetCCResultType", "(", "EVT", "VT", ")", "const", "{", "return", "MVT", "::", "i32", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["PowerPC", "PPC", "MVT::i32"], "File": "PPCISelLowering113", "Func": "getSetCCResultType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21732, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{", "return", "new", "MachObjectWriter", "(", "OS", ",", "true", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["X86"], "File": "X86AsmBackend29", "Func": "createObjectWriter", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21733, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintWeight", "LanaiTargetLowering", "::", "getSingleConstraintMatchWeight", "(", "AsmOperandInfo", "&", "Info", ",", "const", "char", "*", "Constraint", ")", "const", "{", "ConstraintWeight", "Weight", "=", "CW_Invalid", ";", "Value", "*", "CallOperandVal", "=", "Info", ".", "CallOperandVal", ";", "if", "(", "CallOperandVal", "==", "nullptr", ")", "return", "CW_Default", ";", "switch", "(", "*", "Constraint", ")", "{", "case", "'I'", ":", "case", "'J'", ":", "case", "'K'", ":", "case", "'L'", ":", "case", "'M'", ":", "case", "'N'", ":", "case", "'O'", ":", "if", "(", "isa", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "Weight", "=", "CW_Constant", ";", "break", ";", "default", ":", "Weight", "=", "TargetLowering", "::", "getSingleConstraintMatchWeight", "(", "Info", ",", "Constraint", ")", ";", "break", ";", "}", "return", "Weight", ";", "}", ""], "natrual_language": ["Examine", "constraint", "string", "and", "operand", "type", "and", "determine", "a", "weight", "value", "."], "TS_V_token": ["Lanai", "Lanai"], "File": "LanaiISelLowering", "Func": "getSingleConstraintMatchWeight", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21734, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_pass_by_reference_1", "(", "CUMULATIVE_ARGS", "*", "pcum", ",", "const", "function_arg_info", "&", "arg", ")", "{", "HOST_WIDE_INT", "size", ";", "machine_mode", "dummymode", ";", "int", "nregs", ";", "if", "(", "arg", ".", "mode", "==", "BLKmode", "&&", "arg", ".", "type", ")", "size", "=", "int_size_in_bytes", "(", "arg", ".", "type", ")", ";", "else", "size", "=", "GET_MODE_SIZE", "(", "arg", ".", "mode", ")", ".", "to_constant", "(", ")", ";", "if", "(", "arg", ".", "aggregate_type_p", "(", ")", ")", "size", "=", "int_size_in_bytes", "(", "arg", ".", "type", ")", ";", "if", "(", "size", "<", "0", ")", "return", "true", ";", "if", "(", "aarch64_vfp_is_call_or_return_candidate", "(", "arg", ".", "mode", ",", "arg", ".", "type", ",", "&", "dummymode", ",", "&", "nregs", ",", "NULL", ",", "!", "pcum", "||", "pcum", "->", "silent_p", ")", ")", "return", "false", ";", "return", "size", ">", "2", "*", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Subroutine", "of", "aarch64_pass_by_reference", "for", "arguments", "that", "are", "not", "passed", "in", "SVE", "registers", "."], "TS_V_token": ["aarch64", "0", "2"], "File": "aarch64", "Func": "aarch64_pass_by_reference_1", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21735, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CCAssignFn", "*", "ARMFastISel", "::", "CCAssignFnForCall", "(", "CallingConv", "::", "ID", "CC", ",", "bool", "Return", ",", "bool", "isVarArg", ")", "{", "switch", "(", "CC", ")", "{", "default", ":", "report_fatal_error", "(", "\"Unsupported calling convention\"", ")", ";", "case", "CallingConv", "::", "Fast", ":", "if", "(", "Subtarget", "->", "hasVFP2Base", "(", ")", "&&", "!", "isVarArg", ")", "{", "if", "(", "!", "Subtarget", "->", "isAAPCS_ABI", "(", ")", ")", "return", "(", "Return", "?", "RetFastCC_ARM_APCS", ":", "FastCC_ARM_APCS", ")", ";", "return", "(", "Return", "?", "RetCC_ARM_AAPCS_VFP", ":", "CC_ARM_AAPCS_VFP", ")", ";", "}", "LLVM_FALLTHROUGH", ";", "case", "CallingConv", "::", "C", ":", "case", "CallingConv", "::", "CXX_FAST_TLS", ":", "if", "(", "Subtarget", "->", "isAAPCS_ABI", "(", ")", ")", "{", "if", "(", "Subtarget", "->", "hasVFP2Base", "(", ")", "&&", "TM", ".", "Options", ".", "FloatABIType", "==", "FloatABI", "::", "Hard", "&&", "!", "isVarArg", ")", "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", ":", "case", "CallingConv", "::", "Swift", ":", "case", "CallingConv", "::", "SwiftTail", ":", "if", "(", "!", "isVarArg", ")", "return", "(", "Return", "?", "RetCC_ARM_AAPCS_VFP", ":", "CC_ARM_AAPCS_VFP", ")", ";", "LLVM_FALLTHROUGH", ";", "case", "CallingConv", "::", "ARM_AAPCS", ":", "return", "(", "Return", "?", "RetCC_ARM_AAPCS", ":", "CC_ARM_AAPCS", ")", ";", "case", "CallingConv", "::", "ARM_APCS", ":", "return", "(", "Return", "?", "RetCC_ARM_APCS", ":", "CC_ARM_APCS", ")", ";", "case", "CallingConv", "::", "GHC", ":", "if", "(", "Return", ")", "report_fatal_error", "(", "\"Can't return in GHC call convention\"", ")", ";", "else", "return", "CC_ARM_APCS_GHC", ";", "case", "CallingConv", "::", "CFGuard_Check", ":", "return", "(", "Return", "?", "RetCC_ARM_AAPCS", ":", "CC_ARM_Win32_CFGuard_Check", ")", ";", "}", "}", ""], "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", "ARM", "ARM", "\"Can't return in GHC call convention\"", "ARM", "ARM", "ARM"], "File": "ARMFastISel24", "Func": "CCAssignFnForCall", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21736, "Length": 242, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "MipsRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "static", "const", "uint16_t", "ReservedCPURegs", "[", "]", "=", "{", "Mips", "::", "ZERO", ",", "Mips", "::", "AT", ",", "Mips", "::", "K0", ",", "Mips", "::", "K1", ",", "Mips", "::", "SP", "}", ";", "static", "const", "uint16_t", "ReservedCPU64Regs", "[", "]", "=", "{", "Mips", "::", "ZERO_64", ",", "Mips", "::", "AT_64", ",", "Mips", "::", "K0_64", ",", "Mips", "::", "K1_64", ",", "Mips", "::", "SP_64", "}", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "typedef", "TargetRegisterClass", "::", "const_iterator", "RegIter", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "ReservedCPURegs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedCPURegs", "[", "I", "]", ")", ";", "if", "(", "Subtarget", ".", "hasMips64", "(", ")", ")", "{", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "ReservedCPU64Regs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedCPU64Regs", "[", "I", "]", ")", ";", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "AFGR64RegClass", ".", "begin", "(", ")", ",", "EReg", "=", "Mips", "::", "AFGR64RegClass", ".", "end", "(", ")", ";", "Reg", "!=", "EReg", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "}", "else", "{", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "CPU64RegsRegClass", ".", "begin", "(", ")", ",", "EReg", "=", "Mips", "::", "CPU64RegsRegClass", ".", "end", "(", ")", ";", "Reg", "!=", "EReg", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "FGR64RegClass", ".", "begin", "(", ")", ",", "EReg", "=", "Mips", "::", "FGR64RegClass", ".", "end", "(", ")", ";", "Reg", "!=", "EReg", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "}", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", "->", "hasFP", "(", "MF", ")", ")", "{", "Reserved", ".", "set", "(", "Mips", "::", "FP", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "FP_64", ")", ";", "}", "Reserved", ".", "set", "(", "Mips", "::", "HWR29", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "HWR29_64", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "DSPCtrl", ")", ";", "if", "(", "Subtarget", ".", "inMips16Mode", "(", ")", ")", "{", "Reserved", ".", "set", "(", "Mips", "::", "RA", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "RA_64", ")", ";", "}", "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::AT", "Mips::K0", "Mips::K1", "Mips::SP", "Mips::ZERO_64", "Mips::AT_64", "Mips::K0_64", "Mips::K1_64", "Mips::SP_64", "0", "Mips", "0", "Mips::AFGR64RegClass", "Mips::AFGR64RegClass", "Mips::CPU64RegsRegClass", "Mips::CPU64RegsRegClass", "Mips::FGR64RegClass", "Mips::FGR64RegClass", "Mips::FP", "Mips::FP_64", "Mips::HWR29", "Mips::HWR29_64", "Mips::DSPCtrl", "Mips", "Mips::RA", "Mips::RA_64", "Mips::GP", "Mips::GP_64"], "File": "MipsRegisterInfo52", "Func": "getReservedRegs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21737, "Length": 389, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isConditionalBranch", "(", "const", "MCInst", "&", "Inst", ")", "const", "override", "{", "if", "(", "Inst", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "Bcc", "&&", "Inst", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", "==", "A64CC", "::", "AL", ")", "return", "false", ";", "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": ["AArch64", "AArch64::Bcc", "0", "A64CC::AL"], "File": "AArch64MCTargetDesc26", "Func": "isConditionalBranch", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21738, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "__EIT_entry", "*", "search_EIT_table", "(", "const", "__EIT_entry", "*", "table", ",", "int", "nrec", ",", "_uw", "return_address", ")", "{", "_uw", "next_fn", ";", "_uw", "this_fn", ";", "int", "n", ",", "left", ",", "right", ";", "if", "(", "nrec", "==", "0", ")", "return", "(", "__EIT_entry", "*", ")", "0", ";", "left", "=", "0", ";", "right", "=", "nrec", "-", "1", ";", "while", "(", "1", ")", "{", "n", "=", "(", "left", "+", "right", ")", "/", "2", ";", "this_fn", "=", "selfrel_offset31", "(", "&", "table", "[", "n", "]", ".", "fnoffset", ")", ";", "if", "(", "n", "!=", "nrec", "-", "1", ")", "next_fn", "=", "selfrel_offset31", "(", "&", "table", "[", "n", "+", "1", "]", ".", "fnoffset", ")", "-", "1", ";", "else", "next_fn", "=", "(", "_uw", ")", "0", "-", "1", ";", "if", "(", "return_address", "<", "this_fn", ")", "{", "if", "(", "n", "==", "left", ")", "return", "(", "__EIT_entry", "*", ")", "0", ";", "right", "=", "n", "-", "1", ";", "}", "else", "if", "(", "return_address", "<=", "next_fn", ")", "return", "&", "table", "[", "n", "]", ";", "else", "left", "=", "n", "+", "1", ";", "}", "}", ""], "natrual_language": ["Perform", "a", "binary", "search", "for", "RETURN_ADDRESS", "in", "TABLE", ".", "The", "table", "contains", "NREC", "entries", "."], "TS_V_token": ["arm", "0", "0", "0", "1", "1", "2", "1", "1", "1", "0", "1", "0", "1", "1"], "File": "unwind-arm", "Func": "search_EIT_table", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21739, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "override", "{", "return", "createAArch64ELFObjectWriter", "(", "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": ["AArch64", "AArch64"], "File": "AArch64AsmBackend (2)", "Func": "createObjectWriter", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21740, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "typemap_cmp", "(", "const", "void", "*", "key", ",", "const", "void", "*", "entry", ")", "{", "return", "strcmp", "(", "(", "const", "char", "*", ")", "key", ",", "(", "(", "const", "typemap", "*", ")", "entry", ")", "->", "key", ")", ";", "}", ""], "natrual_language": ["Comparator", "for", "bsearch", "on", "the", "type", "map", "."], "TS_V_token": ["rs6000"], "File": "rs6000-gen-builtins", "Func": "typemap_cmp", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21741, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_sve_scalar_inc_dec_immediate_p", "(", "rtx", "x", ")", "{", "poly_int64", "value", ";", "return", "(", "poly_int_rtx_p", "(", "x", ",", "&", "value", ")", "&&", "(", "aarch64_sve_cnt_immediate_p", "(", "value", ")", "||", "aarch64_sve_cnt_immediate_p", "(", "-", "value", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "can", "add", "X", "using", "a", "single", "SVE", "INC", "or", "DEC", "instruction", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_sve_scalar_inc_dec_immediate_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21742, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "Mips16InstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "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", "0"], "File": "Mips16InstrInfo (2)", "Func": "isStoreToStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21743, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "IA64TargetMachine", "::", "addPreEmitPass", "(", "PassManagerBase", "&", "PM", ",", "bool", "Fast", ")", "{", "PM", ".", "add", "(", "createIA64BundlingPass", "(", "*", "this", ")", ")", ";", "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": ["IA64", "IA64", "IA64"], "File": "IA64TargetMachine1", "Func": "addPreEmitPass", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21744, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_print_asm_arch_directives", "(", ")", "{", "const", "arch_option", "*", "arch", "=", "arm_parse_arch_option_name", "(", "all_architectures", ",", "\"-march\"", ",", "arm_active_target", ".", "arch_name", ")", ";", "auto_sbitmap", "opt_bits", "(", "isa_num_bits", ")", ";", "gcc_assert", "(", "arch", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t.arch %s\\n\"", ",", "arm_active_target", ".", "arch_name", ")", ";", "arm_last_printed_arch_string", "=", "arm_active_target", ".", "arch_name", ";", "if", "(", "!", "arch", "->", "common", ".", "extensions", ")", "return", ";", "for", "(", "const", "struct", "cpu_arch_extension", "*", "opt", "=", "arch", "->", "common", ".", "extensions", ";", "opt", "->", "name", "!=", "NULL", ";", "opt", "++", ")", "{", "if", "(", "!", "opt", "->", "remove", ")", "{", "arm_initialize_isa", "(", "opt_bits", ",", "opt", "->", "isa_bits", ")", ";", "if", "(", "bitmap_subset_p", "(", "opt_bits", ",", "arm_active_target", ".", "isa", ")", "&&", "!", "bitmap_subset_p", "(", "opt_bits", ",", "isa_all_fpubits", ")", ")", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t.arch_extension %s\\n\"", ",", "opt", "->", "name", ")", ";", "}", "}", "}", ""], "natrual_language": ["Print", ".arch", "and", ".arch_extension", "directives", "corresponding", "to", "the", "current", "architecture", "configuration", "."], "TS_V_token": ["arm", "\"-march\"", "\"\\t.arch %s\\n\"", "\"\\t.arch_extension %s\\n\""], "File": "arm7", "Func": "arm_print_asm_arch_directives", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21745, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_output_function_prologue", "(", "FILE", "*", "file", ",", "HOST_WIDE_INT", "size", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "!", "cfun", "->", "is_thunk", ")", "rs6000_output_savres_externs", "(", "file", ")", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_ELFv2", "&&", "cfun", "->", "machine", "->", "r2_setup_needed", ")", "{", "const", "char", "*", "name", "=", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "current_function_decl", ")", ",", "0", ")", ",", "0", ")", ";", "fprintf", "(", "file", ",", "\"0:\\taddis 2,12,.TOC.-0b@ha\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\taddi 2,2,.TOC.-0b@l\\n\"", ")", ";", "fputs", "(", "\"\\t.localentry\\t\"", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "name", ")", ";", "fputs", "(", "\",.-\"", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "name", ")", ";", "fputs", "(", "\"\\n\"", ",", "file", ")", ";", "}", "if", "(", "TARGET_PROFILE_KERNEL", "&&", "crtl", "->", "profile", ")", "{", "gcc_assert", "(", "DEFAULT_ABI", "==", "ABI_AIX", "||", "DEFAULT_ABI", "==", "ABI_ELFv2", ")", ";", "gcc_assert", "(", "!", "TARGET_32BIT", ")", ";", "asm_fprintf", "(", "file", ",", "\"\\tmflr %s\\n\"", ",", "reg_names", "[", "0", "]", ")", ";", "asm_fprintf", "(", "file", ",", "\"\\tstd %s,16(%s)\\n\"", ",", "reg_names", "[", "0", "]", ",", "reg_names", "[", "1", "]", ")", ";", "if", "(", "DEFAULT_ABI", "!=", "ABI_ELFv2", "&&", "cfun", "->", "static_chain_decl", "!=", "NULL", ")", "{", "asm_fprintf", "(", "file", ",", "\"\\tstd %s,24(%s)\\n\"", ",", "reg_names", "[", "STATIC_CHAIN_REGNUM", "]", ",", "reg_names", "[", "1", "]", ")", ";", "fprintf", "(", "file", ",", "\"\\tbl %s\\n\"", ",", "RS6000_MCOUNT", ")", ";", "asm_fprintf", "(", "file", ",", "\"\\tld %s,24(%s)\\n\"", ",", "reg_names", "[", "STATIC_CHAIN_REGNUM", "]", ",", "reg_names", "[", "1", "]", ")", ";", "}", "else", "fprintf", "(", "file", ",", "\"\\tbl %s\\n\"", ",", "RS6000_MCOUNT", ")", ";", "}", "rs6000_pic_labelno", "++", ";", "}", ""], "natrual_language": ["Write", "function", "prologue", "."], "TS_V_token": ["rs6000", "0", "0", "\"0:\\taddis 2,12,.TOC.-0b@ha\\n\"", "\"\\taddi 2,2,.TOC.-0b@l\\n\"", "\"\\t.localentry\\t\"", "\",.-\"", "\"\\n\"", "\"\\tmflr %s\\n\"", "0", "\"\\tstd %s,16(%s)\\n\"", "0", "1", "\"\\tstd %s,24(%s)\\n\"", "1", "\"\\tbl %s\\n\"", "\"\\tld %s,24(%s)\\n\"", "1", "\"\\tbl %s\\n\""], "File": "rs60004", "Func": "rs6000_output_function_prologue", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21746, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_evpc_neon_vtrn", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "int", "i", ",", "odd", ",", "mask", ",", "nelt", "=", "d", "->", "nelt", ";", "rtx", "out0", ",", "out1", ",", "in0", ",", "in1", ";", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "if", "(", "GET_MODE_UNIT_SIZE", "(", "d", "->", "vmode", ")", ">=", "8", ")", "return", "false", ";", "if", "(", "d", "->", "perm", "[", "0", "]", "==", "0", ")", "odd", "=", "0", ";", "else", "if", "(", "d", "->", "perm", "[", "0", "]", "==", "1", ")", "odd", "=", "1", ";", "else", "return", "false", ";", "mask", "=", "(", "d", "->", "one_vector_p", "?", "nelt", "-", "1", ":", "2", "*", "nelt", "-", "1", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "i", "+=", "2", ")", "{", "if", "(", "d", "->", "perm", "[", "i", "]", "!=", "i", "+", "odd", ")", "return", "false", ";", "if", "(", "d", "->", "perm", "[", "i", "+", "1", "]", "!=", "(", "(", "i", "+", "nelt", "+", "odd", ")", "&", "mask", ")", ")", "return", "false", ";", "}", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "switch", "(", "d", "->", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_neon_vtrnv16qi_internal", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_neon_vtrnv8qi_internal", ";", "break", ";", "case", "V8HImode", ":", "gen", "=", "gen_neon_vtrnv8hi_internal", ";", "break", ";", "case", "V4HImode", ":", "gen", "=", "gen_neon_vtrnv4hi_internal", ";", "break", ";", "case", "V4SImode", ":", "gen", "=", "gen_neon_vtrnv4si_internal", ";", "break", ";", "case", "V2SImode", ":", "gen", "=", "gen_neon_vtrnv2si_internal", ";", "break", ";", "case", "V2SFmode", ":", "gen", "=", "gen_neon_vtrnv2sf_internal", ";", "break", ";", "case", "V4SFmode", ":", "gen", "=", "gen_neon_vtrnv4sf_internal", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "in0", "=", "d", "->", "op0", ";", "in1", "=", "d", "->", "op1", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "{", "std", "::", "swap", "(", "in0", ",", "in1", ")", ";", "odd", "=", "!", "odd", ";", "}", "out0", "=", "d", "->", "target", ";", "out1", "=", "gen_reg_rtx", "(", "d", "->", "vmode", ")", ";", "if", "(", "odd", ")", "std", "::", "swap", "(", "out0", ",", "out1", ")", ";", "emit_insn", "(", "gen", "(", "out0", ",", "in0", ",", "in1", ",", "out1", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "for", "the", "VTRN", "insns", "."], "TS_V_token": ["arm", "8", "0", "0", "0", "0", "1", "1", "1", "2", "1", "0", "2", "1"], "File": "arm5", "Func": "arm_evpc_neon_vtrn", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21747, "Length": 346, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "shouldFormOverflowOp", "(", "unsigned", "Opcode", ",", "EVT", "VT", ",", "bool", "MathUsed", ")", "const", "override", "{", "return", "TargetLowering", "::", "shouldFormOverflowOp", "(", "Opcode", ",", "VT", ",", "true", ")", ";", "}", ""], "natrual_language": ["Overflow", "nodes", "should", "get", "combined/lowered", "to", "optimal", "instructions", "(", "they", "should", "allow", "eliminating", "explicit", "compares", "by", "getting", "flags", "from", "math", "ops", ")", "."], "TS_V_token": ["ARM"], "File": "ARMISelLowering", "Func": "shouldFormOverflowOp", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21748, "Length": 28, "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", ".", "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": "ARMBaseRegisterInfo27", "Func": "getCallPreservedMask", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21749, "Length": 113, "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": 21750, "Length": 374, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "free_state_stack", "(", "struct", "unw_reg_state", "*", "rs", ")", "{", "struct", "unw_reg_state", "*", "p", ",", "*", "next", ";", "for", "(", "p", "=", "rs", "->", "next", ";", "p", "!=", "NULL", ";", "p", "=", "next", ")", "{", "next", "=", "p", "->", "next", ";", "free_reg_state", "(", "p", ")", ";", "}", "rs", "->", "next", "=", "NULL", ";", "}", ""], "natrual_language": ["Free", "all", "stacked", "register", "states", "(", "but", "not", "RS", "itself", ")", "."], "TS_V_token": ["ia64"], "File": "unwind-ia64", "Func": "free_state_stack", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21751, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "::", "SimpleValueType", "PPCTargetLowering", "::", "getSetCCResultType", "(", "EVT", "VT", ")", "const", "{", "return", "MVT", "::", "i32", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["PowerPC", "MVT::SimpleValueType", "PPC", "MVT::i32"], "File": "PPCISelLowering107", "Func": "getSetCCResultType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21752, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetMachine", "::", "addPreEmitPass", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "Subtarget", ".", "hasSSE2", "(", ")", ")", "{", "PM", ".", "add", "(", "createSSEDomainFixPass", "(", ")", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["X86", "X86"], "File": "X86TargetMachine37", "Func": "addPreEmitPass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21753, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FalkorHWPFFix", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "auto", "&", "ST", "=", "Fn", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ";", "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": "AArch64FalkorHWPFFix10", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21754, "Length": 130, "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": ["ARM64"], "File": "ARM64AsmParser1", "Func": "isImm", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21755, "Length": 13, "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": 21756, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsPassConfig", "::", "addPreEmitPass", "(", ")", "{", "MipsTargetMachine", "&", "TM", "=", "getMipsTargetMachine", "(", ")", ";", "addPass", "(", "createMipsDelaySlotFillerPass", "(", "TM", ")", ")", ";", "addPass", "(", "createMipsLongBranchPass", "(", "TM", ")", ")", ";", "addPass", "(", "createMipsExpandPseudoPass", "(", "TM", ")", ")", ";", "}", ""], "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"], "File": "MipsTargetMachine45", "Func": "addPreEmitPass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21757, "Length": 40, "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": ["rs6000", "100", "1"], "File": "rs60004", "Func": "emit_unlikely_jump", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21758, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMAsmPrinter", "::", "emitInlineAsmEnd", "(", "const", "MCSubtargetInfo", "&", "StartInfo", ",", "const", "MCSubtargetInfo", "*", "EndInfo", ")", "const", "{", "const", "bool", "WasThumb", "=", "isThumb", "(", "StartInfo", ")", ";", "if", "(", "!", "EndInfo", "||", "WasThumb", "!=", "isThumb", "(", "*", "EndInfo", ")", ")", "{", "OutStreamer", "->", "emitAssemblerFlag", "(", "WasThumb", "?", "MCAF_Code16", ":", "MCAF_Code32", ")", ";", "}", "}", ""], "natrual_language": ["Let", "the", "target", "do", "anything", "it", "needs", "to", "do", "after", "emitting", "inlineasm", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMAsmPrinter", "Func": "emitInlineAsmEnd", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21759, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcTargetMachine", "::", "SparcTargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "is64bit", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "is64bit", ")", ",", "DataLayout", "(", "Subtarget", ".", "getDataLayout", "(", ")", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "InstrInfo", "(", "Subtarget", ")", ",", "FrameLowering", "(", "Subtarget", ")", "{", "}", ""], "natrual_language": ["Create", "an", "ILP32", "architecture", "model", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc"], "File": "SparcTargetMachine15", "Func": "SparcTargetMachine", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21760, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getString", "(", ")", ";", "if", "(", "IDVal", "==", "\".byte\"", ")", "return", "parseDirectiveWord", "(", "1", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "if", "(", "IDVal", "==", "\".half\"", ")", "return", "parseDirectiveWord", "(", "2", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "if", "(", "IDVal", "==", "\".word\"", ")", "return", "parseDirectiveWord", "(", "4", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "if", "(", "IDVal", "==", "\".nword\"", ")", "return", "parseDirectiveWord", "(", "is64Bit", "(", ")", "?", "8", ":", "4", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "if", "(", "is64Bit", "(", ")", "&&", "IDVal", "==", "\".xword\"", ")", "return", "parseDirectiveWord", "(", "8", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "if", "(", "IDVal", "==", "\".register\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "\".proc\"", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["Sparc", "Sparc", "\".byte\"", "1", "\".half\"", "2", "\".word\"", "4", "\".nword\"", "8", "4", "\".xword\"", "8", "\".register\"", "\".proc\""], "File": "SparcAsmParser12", "Func": "ParseDirective", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21761, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AtomicExpandPass", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "SmallVector", "<", "Instruction", "*", ",", "1", ">", "AtomicInsts", ";", "for", "(", "BasicBlock", "&", "BB", ":", "F", ")", "for", "(", "Instruction", "&", "Inst", ":", "BB", ")", "{", "if", "(", "isa", "<", "AtomicRMWInst", ">", "(", "&", "Inst", ")", "||", "(", "isa", "<", "StoreInst", ">", "(", "&", "Inst", ")", "&&", "cast", "<", "StoreInst", ">", "(", "&", "Inst", ")", "->", "isAtomic", "(", ")", ")", ")", "AtomicInsts", ".", "push_back", "(", "&", "Inst", ")", ";", "}", "bool", "MadeChange", "=", "false", ";", "for", "(", "Instruction", "*", "Inst", ":", "AtomicInsts", ")", "{", "if", "(", "!", "shouldExpand", "(", "Inst", ")", ")", "continue", ";", "if", "(", "AtomicRMWInst", "*", "AI", "=", "dyn_cast", "<", "AtomicRMWInst", ">", "(", "Inst", ")", ")", "MadeChange", "|=", "expandAtomicRMW", "(", "AI", ")", ";", "if", "(", "StoreInst", "*", "SI", "=", "dyn_cast", "<", "StoreInst", ">", "(", "Inst", ")", ")", "MadeChange", "|=", "expandAtomicStore", "(", "SI", ")", ";", "assert", "(", "MadeChange", "&&", "\"Atomic inst not expanded when it should be?\"", ")", ";", "Inst", "->", "eraseFromParent", "(", ")", ";", "}", "return", "MadeChange", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["X86", "X86", "1", "\"Atomic inst not expanded when it should be?\""], "File": "X86AtomicExpandPass", "Func": "runOnFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21762, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "isFunctionSafeToOutlineFrom", "(", "MachineFunction", "&", "MF", ",", "bool", "OutlineFromLinkOnceODRs", ")", "const", "{", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "!", "F", ".", "hasFnAttribute", "(", "Attribute", "::", "NoRedZone", ")", ")", "{", "const", "X86MachineFunctionInfo", "*", "X86FI", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "if", "(", "!", "X86FI", "||", "X86FI", "->", "getUsesRedZone", "(", ")", ")", "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": ["X86", "X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86InstrInfo", "Func": "isFunctionSafeToOutlineFrom", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21763, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "enableAggressiveFMAFusion", "(", "EVT", "VT", ")", "const", "{", "return", "Subtarget", "->", "hasAggressiveFMA", "(", ")", "&&", "VT", ".", "isFloatingPoint", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "target", "always", "benefits", "from", "combining", "into", "FMA", "for", "a", "given", "value", "type", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ISelLowering (2)2", "Func": "enableAggressiveFMAFusion", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21764, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "expand_vec_perm_movs", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "machine_mode", "vmode", "=", "d", "->", "vmode", ";", "unsigned", "i", ",", "nelt", "=", "d", "->", "nelt", ";", "rtx", "x", ";", "if", "(", "d", "->", "one_operand_p", ")", "return", "false", ";", "if", "(", "!", "(", "TARGET_SSE", "&&", "vmode", "==", "V4SFmode", ")", "&&", "!", "(", "TARGET_MMX_WITH_SSE", "&&", "vmode", "==", "V2SFmode", ")", "&&", "!", "(", "TARGET_SSE2", "&&", "vmode", "==", "V2DFmode", ")", ")", "return", "false", ";", "if", "(", "d", "->", "perm", "[", "0", "]", "!=", "nelt", "&&", "d", "->", "perm", "[", "0", "]", "!=", "0", ")", "return", "false", ";", "for", "(", "i", "=", "1", ";", "i", "<", "nelt", ";", "++", "i", ")", "if", "(", "d", "->", "perm", "[", "i", "]", "!=", "i", "+", "nelt", "-", "d", "->", "perm", "[", "0", "]", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "if", "(", "d", "->", "perm", "[", "0", "]", "==", "nelt", ")", "x", "=", "gen_rtx_VEC_MERGE", "(", "vmode", ",", "d", "->", "op1", ",", "d", "->", "op0", ",", "GEN_INT", "(", "1", ")", ")", ";", "else", "x", "=", "gen_rtx_VEC_MERGE", "(", "vmode", ",", "d", "->", "op0", ",", "d", "->", "op1", ",", "GEN_INT", "(", "1", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "d", "->", "target", ",", "x", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "ix86_expand_vec_perm_builtin_1", ".", "Try", "to", "implement", "D", "using", "movss", "or", "movsd", "."], "TS_V_token": ["i386", "0", "0", "0", "1", "0", "0", "1", "1"], "File": "i386-expand", "Func": "expand_vec_perm_movs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21765, "Length": 206, "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": 21766, "Length": 261, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLegalMaskedLoad", "(", "Type", "*", "DataType", ",", "MaybeAlign", "Alignment", ")", "{", "return", "isLegalMaskedLoadStore", "(", "DataType", ",", "Alignment", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "load", "."], "TS_V_token": ["AArch64"], "File": "AArch64TargetTransformInfo1", "Func": "isLegalMaskedLoad", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21767, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "DLXInstrInfo", "::", "optimizeSelect", "(", "MachineInstr", "&", "MI", ",", "SmallPtrSetImpl", "<", "MachineInstr", "*", ">", "&", "SeenMIs", ",", "bool", "PreferFalse", ")", "const", "{", "return", "nullptr", ";", "}", ""], "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": ["DLX", "DLX"], "File": "DLXInstrInfo", "Func": "optimizeSelect", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21768, "Length": 27, "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": 21769, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SparcTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "BITCAST", ":", "return", "PerformBITCASTCombine", "(", "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": ["Sparc", "Sparc", "ISD::BITCAST"], "File": "SparcISelLowering (2)2", "Func": "PerformDAGCombine", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21770, "Length": 48, "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": 21771, "Length": 113, "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": 21772, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_update_cpp_builtins", "(", "cpp_reader", "*", "pfile", ")", "{", "aarch64_def_or_undef", "(", "flag_unsafe_math_optimizations", ",", "\"__ARM_FP_FAST\"", ",", "pfile", ")", ";", "builtin_define_with_int_value", "(", "\"__ARM_ARCH\"", ",", "aarch64_architecture_version", ")", ";", "builtin_define_with_int_value", "(", "\"__ARM_SIZEOF_MINIMAL_ENUM\"", ",", "flag_short_enums", "?", "1", ":", "4", ")", ";", "aarch64_def_or_undef", "(", "TARGET_BIG_END", ",", "\"__AARCH64EB__\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_BIG_END", ",", "\"__ARM_BIG_ENDIAN\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "!", "TARGET_BIG_END", ",", "\"__AARCH64EL__\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_FLOAT", ",", "\"__ARM_FEATURE_FMA\"", ",", "pfile", ")", ";", "if", "(", "TARGET_FLOAT", "||", "TARGET_SIMD", ")", "{", "builtin_define_with_int_value", "(", "\"__ARM_FP\"", ",", "0x0E", ")", ";", "builtin_define", "(", "\"__ARM_FP16_FORMAT_IEEE\"", ")", ";", "builtin_define", "(", "\"__ARM_FP16_ARGS\"", ")", ";", "}", "else", "cpp_undef", "(", "pfile", ",", "\"__ARM_FP\"", ")", ";", "aarch64_def_or_undef", "(", "TARGET_FP_F16INST", ",", "\"__ARM_FEATURE_FP16_SCALAR_ARITHMETIC\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_SIMD_F16INST", ",", "\"__ARM_FEATURE_FP16_VECTOR_ARITHMETIC\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_SIMD", ",", "\"__ARM_FEATURE_NUMERIC_MAXMIN\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_SIMD", ",", "\"__ARM_NEON\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_CRC32", ",", "\"__ARM_FEATURE_CRC32\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_DOTPROD", ",", "\"__ARM_FEATURE_DOTPROD\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_COMPLEX", ",", "\"__ARM_FEATURE_COMPLEX\"", ",", "pfile", ")", ";", "cpp_undef", "(", "pfile", ",", "\"__AARCH64_CMODEL_TINY__\"", ")", ";", "cpp_undef", "(", "pfile", ",", "\"__AARCH64_CMODEL_SMALL__\"", ")", ";", "cpp_undef", "(", "pfile", ",", "\"__AARCH64_CMODEL_LARGE__\"", ")", ";", "switch", "(", "aarch64_cmodel", ")", "{", "case", "AARCH64_CMODEL_TINY", ":", "case", "AARCH64_CMODEL_TINY_PIC", ":", "builtin_define", "(", "\"__AARCH64_CMODEL_TINY__\"", ")", ";", "break", ";", "case", "AARCH64_CMODEL_SMALL", ":", "case", "AARCH64_CMODEL_SMALL_PIC", ":", "builtin_define", "(", "\"__AARCH64_CMODEL_SMALL__\"", ")", ";", "break", ";", "case", "AARCH64_CMODEL_LARGE", ":", "builtin_define", "(", "\"__AARCH64_CMODEL_LARGE__\"", ")", ";", "break", ";", "default", ":", "break", ";", "}", "aarch64_def_or_undef", "(", "TARGET_ILP32", ",", "\"_ILP32\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_ILP32", ",", "\"__ILP32__\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_CRYPTO", ",", "\"__ARM_FEATURE_CRYPTO\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_SIMD_RDMA", ",", "\"__ARM_FEATURE_QRDMX\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_SVE", ",", "\"__ARM_FEATURE_SVE\"", ",", "pfile", ")", ";", "cpp_undef", "(", "pfile", ",", "\"__ARM_FEATURE_SVE_BITS\"", ")", ";", "if", "(", "TARGET_SVE", ")", "{", "int", "bits", ";", "if", "(", "!", "BITS_PER_SVE_VECTOR", ".", "is_constant", "(", "&", "bits", ")", ")", "bits", "=", "0", ";", "builtin_define_with_int_value", "(", "\"__ARM_FEATURE_SVE_BITS\"", ",", "bits", ")", ";", "}", "aarch64_def_or_undef", "(", "TARGET_LSE", ",", "\"__ARM_FEATURE_ATOMICS\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_AES", ",", "\"__ARM_FEATURE_AES\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_SHA2", ",", "\"__ARM_FEATURE_SHA2\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_SHA3", ",", "\"__ARM_FEATURE_SHA3\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_SHA3", ",", "\"__ARM_FEATURE_SHA512\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_SM4", ",", "\"__ARM_FEATURE_SM3\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_SM4", ",", "\"__ARM_FEATURE_SM4\"", ",", "pfile", ")", ";", "aarch64_def_or_undef", "(", "TARGET_F16FML", ",", "\"__ARM_FEATURE_FP16_FML\"", ",", "pfile", ")", ";", "cpp_undef", "(", "pfile", ",", "\"__FLT_EVAL_METHOD__\"", ")", ";", "builtin_define_with_int_value", "(", "\"__FLT_EVAL_METHOD__\"", ",", "c_flt_eval_method", "(", "true", ")", ")", ";", "cpp_undef", "(", "pfile", ",", "\"__FLT_EVAL_METHOD_C99__\"", ")", ";", "builtin_define_with_int_value", "(", "\"__FLT_EVAL_METHOD_C99__\"", ",", "c_flt_eval_method", "(", "false", ")", ")", ";", "}", ""], "natrual_language": ["Undefine/redefine", "macros", "that", "depend", "on", "the", "current", "backend", "state", "and", "may", "need", "to", "change", "when", "a", "target", "pragma", "modifies", "the", "backend", "state", "."], "TS_V_token": ["aarch64", "\"__ARM_FP_FAST\"", "\"__ARM_ARCH\"", "\"__ARM_SIZEOF_MINIMAL_ENUM\"", "1", "4", "\"__AARCH64EB__\"", "\"__ARM_BIG_ENDIAN\"", "\"__AARCH64EL__\"", "\"__ARM_FEATURE_FMA\"", "\"__ARM_FP\"", "0x0E", "\"__ARM_FP16_FORMAT_IEEE\"", "\"__ARM_FP16_ARGS\"", "\"__ARM_FP\"", "\"__ARM_FEATURE_FP16_SCALAR_ARITHMETIC\"", "\"__ARM_FEATURE_FP16_VECTOR_ARITHMETIC\"", "\"__ARM_FEATURE_NUMERIC_MAXMIN\"", "\"__ARM_NEON\"", "\"__ARM_FEATURE_CRC32\"", "\"__ARM_FEATURE_DOTPROD\"", "\"__ARM_FEATURE_COMPLEX\"", "\"__AARCH64_CMODEL_TINY__\"", "\"__AARCH64_CMODEL_SMALL__\"", "\"__AARCH64_CMODEL_LARGE__\"", "\"__AARCH64_CMODEL_TINY__\"", "\"__AARCH64_CMODEL_SMALL__\"", "\"__AARCH64_CMODEL_LARGE__\"", "\"_ILP32\"", "\"__ILP32__\"", "\"__ARM_FEATURE_CRYPTO\"", "\"__ARM_FEATURE_QRDMX\"", "\"__ARM_FEATURE_SVE\"", "\"__ARM_FEATURE_SVE_BITS\"", "0", "\"__ARM_FEATURE_SVE_BITS\"", "\"__ARM_FEATURE_ATOMICS\"", "\"__ARM_FEATURE_AES\"", "\"__ARM_FEATURE_SHA2\"", "\"__ARM_FEATURE_SHA3\"", "\"__ARM_FEATURE_SHA512\"", "\"__ARM_FEATURE_SM3\"", "\"__ARM_FEATURE_SM4\"", "\"__ARM_FEATURE_FP16_FML\"", "\"__FLT_EVAL_METHOD__\"", "\"__FLT_EVAL_METHOD__\"", "\"__FLT_EVAL_METHOD_C99__\"", "\"__FLT_EVAL_METHOD_C99__\""], "File": "aarch64-c5", "Func": "aarch64_update_cpp_builtins", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21773, "Length": 426, "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": 21774, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "VEInstrInfo", "::", "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", "(", ")", "==", "3", "||", "Cond", ".", "size", "(", ")", "==", "0", ")", "&&", "\"VE branch conditions should have three component!\"", ")", ";", "assert", "(", "!", "BytesAdded", "&&", "\"code size not handled\"", ")", ";", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "assert", "(", "!", "FBB", "&&", "\"Unconditional branch with multiple successors!\"", ")", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "VE", "::", "BCRLa", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "return", "1", ";", "}", "assert", "(", "Cond", "[", "0", "]", ".", "isImm", "(", ")", "&&", "Cond", "[", "2", "]", ".", "isReg", "(", ")", "&&", "\"not implemented\"", ")", ";", "unsigned", "opc", "[", "2", "]", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "&", "getRegisterInfo", "(", ")", ";", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "unsigned", "Reg", "=", "Cond", "[", "2", "]", ".", "getReg", "(", ")", ";", "if", "(", "IsIntegerCC", "(", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ")", ")", "{", "if", "(", "TRI", "->", "getRegSizeInBits", "(", "Reg", ",", "MRI", ")", "==", "32", ")", "{", "opc", "[", "0", "]", "=", "VE", "::", "BCRWir", ";", "opc", "[", "1", "]", "=", "VE", "::", "BCRWrr", ";", "}", "else", "{", "opc", "[", "0", "]", "=", "VE", "::", "BCRLir", ";", "opc", "[", "1", "]", "=", "VE", "::", "BCRLrr", ";", "}", "}", "else", "{", "if", "(", "TRI", "->", "getRegSizeInBits", "(", "Reg", ",", "MRI", ")", "==", "32", ")", "{", "opc", "[", "0", "]", "=", "VE", "::", "BCRSir", ";", "opc", "[", "1", "]", "=", "VE", "::", "BCRSrr", ";", "}", "else", "{", "opc", "[", "0", "]", "=", "VE", "::", "BCRDir", ";", "opc", "[", "1", "]", "=", "VE", "::", "BCRDrr", ";", "}", "}", "if", "(", "Cond", "[", "1", "]", ".", "isImm", "(", ")", ")", "{", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "opc", "[", "0", "]", ")", ")", ".", "add", "(", "Cond", "[", "0", "]", ")", ".", "add", "(", "Cond", "[", "1", "]", ")", ".", "add", "(", "Cond", "[", "2", "]", ")", ".", "addMBB", "(", "TBB", ")", ";", "}", "else", "{", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "opc", "[", "1", "]", ")", ")", ".", "add", "(", "Cond", "[", "0", "]", ")", ".", "add", "(", "Cond", "[", "1", "]", ")", ".", "add", "(", "Cond", "[", "2", "]", ")", ".", "addMBB", "(", "TBB", ")", ";", "}", "if", "(", "!", "FBB", ")", "return", "1", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "VE", "::", "BCRLa", ")", ")", ".", "addMBB", "(", "FBB", ")", ";", "return", "2", ";", "}", ""], "natrual_language": ["Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "."], "TS_V_token": ["VE", "VE", "\"insertBranch must not be told to insert a fallthrough\"", "3", "0", "\"VE branch conditions should have three component!\"", "\"code size not handled\"", "\"Unconditional branch with multiple successors!\"", "VE::BCRLa", "1", "0", "2", "\"not implemented\"", "2", "2", "0", "32", "0", "VE::BCRWir", "1", "VE::BCRWrr", "0", "VE::BCRLir", "1", "VE::BCRLrr", "32", "0", "VE::BCRSir", "1", "VE::BCRSrr", "0", "VE::BCRDir", "1", "VE::BCRDrr", "1", "0", "0", "1", "2", "1", "0", "1", "2", "1", "VE::BCRLa", "2"], "File": "VEInstrInfo1", "Func": "insertBranch", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21775, "Length": 450, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isToken", "(", ")", "const", "override", "{", "return", "Kind", "==", "KindTy", "::", "Token", ";", "}", ""], "natrual_language": ["isToken", "-", "Is", "this", "a", "token", "operand", "?"], "TS_V_token": ["LoongArch"], "File": "LoongArchAsmParser", "Func": "isToken", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21776, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "macho_branch_islands", "(", "void", ")", "{", "char", "tmp_buf", "[", "512", "]", ";", "while", "(", "!", "vec_safe_is_empty", "(", "branch_islands", ")", ")", "{", "branch_island", "*", "bi", "=", "&", "branch_islands", "->", "last", "(", ")", ";", "const", "char", "*", "label", "=", "IDENTIFIER_POINTER", "(", "bi", "->", "label_name", ")", ";", "const", "char", "*", "name", "=", "IDENTIFIER_POINTER", "(", "bi", "->", "function_name", ")", ";", "char", "name_buf", "[", "512", "]", ";", "if", "(", "name", "[", "0", "]", "==", "'*'", "||", "name", "[", "0", "]", "==", "'&'", ")", "strcpy", "(", "name_buf", ",", "name", "+", "1", ")", ";", "else", "{", "name_buf", "[", "0", "]", "=", "'_'", ";", "strcpy", "(", "name_buf", "+", "1", ",", "name", ")", ";", "}", "strcpy", "(", "tmp_buf", ",", "\"\\n\"", ")", ";", "strcat", "(", "tmp_buf", ",", "label", ")", ";", "if", "(", "write_symbols", "==", "DBX_DEBUG", "||", "write_symbols", "==", "XCOFF_DEBUG", ")", "dbxout_stabd", "(", "N_SLINE", ",", "bi", "->", "line_number", ")", ";", "if", "(", "flag_pic", ")", "{", "strcat", "(", "tmp_buf", ",", "\":\\n\\tmflr r0\\n\\tbcl 20,31,\"", ")", ";", "strcat", "(", "tmp_buf", ",", "label", ")", ";", "strcat", "(", "tmp_buf", ",", "\"_pic\\n\"", ")", ";", "strcat", "(", "tmp_buf", ",", "label", ")", ";", "strcat", "(", "tmp_buf", ",", "\"_pic:\\n\\tmflr r11\\n\"", ")", ";", "strcat", "(", "tmp_buf", ",", "\"\\taddis r11,r11,ha16(\"", ")", ";", "strcat", "(", "tmp_buf", ",", "name_buf", ")", ";", "strcat", "(", "tmp_buf", ",", "\" - \"", ")", ";", "strcat", "(", "tmp_buf", ",", "label", ")", ";", "strcat", "(", "tmp_buf", ",", "\"_pic)\\n\"", ")", ";", "strcat", "(", "tmp_buf", ",", "\"\\tmtlr r0\\n\"", ")", ";", "strcat", "(", "tmp_buf", ",", "\"\\taddi r12,r11,lo16(\"", ")", ";", "strcat", "(", "tmp_buf", ",", "name_buf", ")", ";", "strcat", "(", "tmp_buf", ",", "\" - \"", ")", ";", "strcat", "(", "tmp_buf", ",", "label", ")", ";", "strcat", "(", "tmp_buf", ",", "\"_pic)\\n\"", ")", ";", "strcat", "(", "tmp_buf", ",", "\"\\tmtctr r12\\n\\tbctr\\n\"", ")", ";", "}", "else", "{", "strcat", "(", "tmp_buf", ",", "\":\\n\\tlis r12,hi16(\"", ")", ";", "strcat", "(", "tmp_buf", ",", "name_buf", ")", ";", "strcat", "(", "tmp_buf", ",", "\")\\n\\tori r12,r12,lo16(\"", ")", ";", "strcat", "(", "tmp_buf", ",", "name_buf", ")", ";", "strcat", "(", "tmp_buf", ",", "\")\\n\\tmtctr r12\\n\\tbctr\"", ")", ";", "}", "output_asm_insn", "(", "tmp_buf", ",", "0", ")", ";", "if", "(", "write_symbols", "==", "DBX_DEBUG", "||", "write_symbols", "==", "XCOFF_DEBUG", ")", "dbxout_stabd", "(", "N_SLINE", ",", "bi", "->", "line_number", ")", ";", "branch_islands", "->", "pop", "(", ")", ";", "}", "}", ""], "natrual_language": ["Generate", "far-jump", "branch", "islands", "for", "everything", "on", "the", "branch_island_list", ".", "Invoked", "immediately", "after", "the", "last", "instruction", "of", "the", "epilogue", "has", "been", "emitted", ";", "the", "branch-islands", "must", "be", "appended", "to", ",", "and", "contiguous", "with", ",", "the", "function", "body", ".", "Mach-O", "stubs", "are", "generated", "in", "machopic_output_stub", "(", ")", "."], "TS_V_token": ["rs6000", "512", "512", "0", "0", "1", "0", "1", "\"\\n\"", "\":\\n\\tmflr r0\\n\\tbcl 20,31,\"", "\"_pic\\n\"", "\"_pic:\\n\\tmflr r11\\n\"", "\"\\taddis r11,r11,ha16(\"", "\" - \"", "\"_pic)\\n\"", "\"\\tmtlr r0\\n\"", "\"\\taddi r12,r11,lo16(\"", "\" - \"", "\"_pic)\\n\"", "\"\\tmtctr r12\\n\\tbctr\\n\"", "\":\\n\\tlis r12,hi16(\"", "\")\\n\\tori r12,r12,lo16(\"", "\")\\n\\tmtctr r12\\n\\tbctr\"", "0"], "File": "rs6000-logue", "Func": "macho_branch_islands", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21777, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CCAssignFn", "*", "ARMFastISel", "::", "CCAssignFnForCall", "(", "CallingConv", "::", "ID", "CC", ",", "bool", "Return", ",", "bool", "isVarArg", ")", "{", "switch", "(", "CC", ")", "{", "default", ":", "report_fatal_error", "(", "\"Unsupported calling convention\"", ")", ";", "case", "CallingConv", "::", "Fast", ":", "if", "(", "Subtarget", "->", "hasVFP2Base", "(", ")", "&&", "!", "isVarArg", ")", "{", "if", "(", "!", "Subtarget", "->", "isAAPCS_ABI", "(", ")", ")", "return", "(", "Return", "?", "RetFastCC_ARM_APCS", ":", "FastCC_ARM_APCS", ")", ";", "return", "(", "Return", "?", "RetCC_ARM_AAPCS_VFP", ":", "CC_ARM_AAPCS_VFP", ")", ";", "}", "LLVM_FALLTHROUGH", ";", "case", "CallingConv", "::", "C", ":", "case", "CallingConv", "::", "CXX_FAST_TLS", ":", "if", "(", "Subtarget", "->", "isAAPCS_ABI", "(", ")", ")", "{", "if", "(", "Subtarget", "->", "hasVFP2Base", "(", ")", "&&", "TM", ".", "Options", ".", "FloatABIType", "==", "FloatABI", "::", "Hard", "&&", "!", "isVarArg", ")", "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", ":", "case", "CallingConv", "::", "Swift", ":", "if", "(", "!", "isVarArg", ")", "return", "(", "Return", "?", "RetCC_ARM_AAPCS_VFP", ":", "CC_ARM_AAPCS_VFP", ")", ";", "LLVM_FALLTHROUGH", ";", "case", "CallingConv", "::", "ARM_AAPCS", ":", "return", "(", "Return", "?", "RetCC_ARM_AAPCS", ":", "CC_ARM_AAPCS", ")", ";", "case", "CallingConv", "::", "ARM_APCS", ":", "return", "(", "Return", "?", "RetCC_ARM_APCS", ":", "CC_ARM_APCS", ")", ";", "case", "CallingConv", "::", "GHC", ":", "if", "(", "Return", ")", "report_fatal_error", "(", "\"Can't return in GHC call convention\"", ")", ";", "else", "return", "CC_ARM_APCS_GHC", ";", "case", "CallingConv", "::", "CFGuard_Check", ":", "return", "(", "Return", "?", "RetCC_ARM_AAPCS", ":", "CC_ARM_Win32_CFGuard_Check", ")", ";", "}", "}", ""], "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", "ARM", "ARM", "\"Can't return in GHC call convention\"", "ARM", "ARM", "ARM"], "File": "ARMFastISel11", "Func": "CCAssignFnForCall", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21778, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMConstantIslands", "::", "verify", "(", ")", "{", "BBInfoVector", "&", "BBInfo", "=", "BBUtils", "->", "getBBInfo", "(", ")", ";", "assert", "(", "std", "::", "is_sorted", "(", "MF", "->", "begin", "(", ")", ",", "MF", "->", "end", "(", ")", ",", "[", "&", "BBInfo", "]", "(", "const", "MachineBasicBlock", "&", "LHS", ",", "const", "MachineBasicBlock", "&", "RHS", ")", "{", "return", "BBInfo", "[", "LHS", ".", "getNumber", "(", ")", "]", ".", "postOffset", "(", ")", "<", "BBInfo", "[", "RHS", ".", "getNumber", "(", ")", "]", ".", "postOffset", "(", ")", ";", "}", ")", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Verifying \"", "<<", "CPUsers", ".", "size", "(", ")", "<<", "\" CP users.\\n\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CPUsers", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CPUser", "&", "U", "=", "CPUsers", "[", "i", "]", ";", "unsigned", "UserOffset", "=", "getUserOffset", "(", "U", ")", ";", "if", "(", "isCPEntryInRange", "(", "U", ".", "MI", ",", "UserOffset", ",", "U", ".", "CPEMI", ",", "U", ".", "getMaxDisp", "(", ")", "+", "2", ",", "U", ".", "NegOk", ",", "true", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"OK\\n\"", ")", ";", "continue", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Out of range.\\n\"", ")", ";", "dumpBBs", "(", ")", ";", "LLVM_DEBUG", "(", "MF", "->", "dump", "(", ")", ")", ";", "llvm_unreachable", "(", "\"Constant pool entry out of range!\"", ")", ";", "}", "}", ""], "natrual_language": ["Check", "if", "this", "register", "bank", "is", "valid", "."], "TS_V_token": ["ARM", "ARM", "\"Verifying \"", "\" CP users.\\n\"", "0", "2", "\"OK\\n\"", "\"Out of range.\\n\"", "\"Constant pool entry out of range!\""], "File": "ARMConstantIslandPass25", "Func": "verify", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21779, "Length": 210, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "X86RegisterInfo", "::", "getPointerRegClass", "(", "unsigned", "Kind", ")", "const", "{", "switch", "(", "Kind", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected Kind in getPointerRegClass!\"", ")", ";", "case", "0", ":", "if", "(", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ")", "return", "&", "X86", "::", "GR64RegClass", ";", "return", "&", "X86", "::", "GR32RegClass", ";", "case", "1", ":", "if", "(", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ")", "return", "&", "X86", "::", "GR64_NOSPRegClass", ";", "return", "&", "X86", "::", "GR32_NOSPRegClass", ";", "case", "2", ":", "if", "(", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "isTargetWin64", "(", ")", ")", "return", "&", "X86", "::", "GR64_TCW64RegClass", ";", "if", "(", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ")", "return", "&", "X86", "::", "GR64_TCRegClass", ";", "return", "&", "X86", "::", "GR32_TCRegClass", ";", "}", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["X86", "X86", "\"Unexpected Kind in getPointerRegClass!\"", "0", "X86", "X86::GR64RegClass", "X86::GR32RegClass", "1", "X86", "X86::GR64_NOSPRegClass", "X86::GR32_NOSPRegClass", "2", "X86", "X86::GR64_TCW64RegClass", "X86", "X86::GR64_TCRegClass", "X86::GR32_TCRegClass"], "File": "X86RegisterInfo101", "Func": "getPointerRegClass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21780, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMLoc", "getEndLoc", "(", ")", "const", "{", "return", "EndLoc", ";", "}", ""], "natrual_language": ["getEndLoc", "-", "Get", "the", "location", "of", "the", "last", "token", "of", "this", "operand", "."], "TS_V_token": ["ARM64"], "File": "ARM64AsmParser", "Func": "getEndLoc", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21781, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "insvdi_rshift_rlwimi_p", "(", "rtx", "sizeop", ",", "rtx", "startop", ",", "rtx", "shiftop", ")", "{", "if", "(", "INTVAL", "(", "startop", ")", "<", "64", "&&", "INTVAL", "(", "startop", ")", ">", "32", "&&", "(", "INTVAL", "(", "sizeop", ")", "+", "INTVAL", "(", "startop", ")", "<", "64", ")", "&&", "(", "INTVAL", "(", "sizeop", ")", "+", "INTVAL", "(", "startop", ")", ">", "33", ")", "&&", "(", "INTVAL", "(", "sizeop", ")", "+", "INTVAL", "(", "startop", ")", "+", "INTVAL", "(", "shiftop", ")", "<", "96", ")", "&&", "(", "INTVAL", "(", "sizeop", ")", "+", "INTVAL", "(", "startop", ")", "+", "INTVAL", "(", "shiftop", ")", ">=", "64", ")", "&&", "(", "64", "-", "(", "INTVAL", "(", "shiftop", ")", "&", "63", ")", ")", ">=", "INTVAL", "(", "sizeop", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "1", "if", "operands", "will", "generate", "a", "valid", "arguments", "to", "rlwimiinstruction", "for", "insert", "with", "right", "shift", "in", "64-bit", "mode", ".", "The", "mask", "maynot", "start", "on", "the", "first", "bit", "or", "stop", "on", "the", "last", "bit", "because", "wrap-aroundeffects", "of", "instruction", "do", "not", "correspond", "to", "semantics", "of", "RTL", "insn", "."], "TS_V_token": ["rs6000", "64", "32", "64", "33", "96", "64", "64", "63", "1", "0"], "File": "rs60003", "Func": "insvdi_rshift_rlwimi_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21782, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "new", "X86ExecutionDomainFix", "(", ")", ")", ";", "addPass", "(", "createBreakFalseDeps", "(", ")", ")", ";", "}", "addPass", "(", "createShadowCallStackPass", "(", ")", ")", ";", "addPass", "(", "createX86IndirectBranchTrackingPass", "(", ")", ")", ";", "if", "(", "UseVZeroUpper", ")", "addPass", "(", "createX86IssueVZeroUpperPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createX86FixupBWInsts", "(", ")", ")", ";", "addPass", "(", "createX86PadShortFunctions", "(", ")", ")", ";", "addPass", "(", "createX86FixupLEAs", "(", ")", ")", ";", "addPass", "(", "createX86EvexToVexInsts", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86TargetMachine101", "Func": "addPreEmitPass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21783, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "X86_64GNULDBackend", "&", "getTarget", "(", ")", "const", "{", "return", "m_Target", ";", "}", ""], "natrual_language": ["getTarget", "-", "Return", "the", "target", "machine", "this", "machine", "code", "is", "compiled", "with"], "TS_V_token": ["X86", "X86"], "File": "X86Relocator", "Func": "getTarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21784, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "PPCInstrInfo", "::", "commuteInstruction", "(", "MachineInstr", "*", "MI", ",", "bool", "NewMI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "RLWIMI", ")", "return", "TargetInstrInfoImpl", "::", "commuteInstruction", "(", "MI", ",", "NewMI", ")", ";", "if", "(", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "!=", "0", ")", "return", "0", ";", "unsigned", "Reg0", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "unsigned", "Reg1", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "unsigned", "Reg2", "=", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "bool", "Reg1IsKill", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "isKill", "(", ")", ";", "bool", "Reg2IsKill", "=", "MI", "->", "getOperand", "(", "2", ")", ".", "isKill", "(", ")", ";", "bool", "ChangeReg0", "=", "false", ";", "if", "(", "Reg0", "==", "Reg1", ")", "{", "assert", "(", "MI", "->", "getDesc", "(", ")", ".", "getOperandConstraint", "(", "0", ",", "TOI", "::", "TIED_TO", ")", "&&", "\"Expecting a two-address instruction!\"", ")", ";", "Reg2IsKill", "=", "false", ";", "ChangeReg0", "=", "true", ";", "}", "unsigned", "MB", "=", "MI", "->", "getOperand", "(", "4", ")", ".", "getImm", "(", ")", ";", "unsigned", "ME", "=", "MI", "->", "getOperand", "(", "5", ")", ".", "getImm", "(", ")", ";", "if", "(", "NewMI", ")", "{", "unsigned", "Reg0", "=", "ChangeReg0", "?", "Reg2", ":", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "bool", "Reg0IsDead", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "isDead", "(", ")", ";", "return", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "MI", "->", "getDesc", "(", ")", ")", ".", "addReg", "(", "Reg0", ",", "true", ",", "false", ",", "false", ",", "Reg0IsDead", ")", ".", "addReg", "(", "Reg2", ",", "false", ",", "false", ",", "Reg2IsKill", ")", ".", "addReg", "(", "Reg1", ",", "false", ",", "false", ",", "Reg1IsKill", ")", ".", "addImm", "(", "(", "ME", "+", "1", ")", "&", "31", ")", ".", "addImm", "(", "(", "MB", "-", "1", ")", "&", "31", ")", ";", "}", "if", "(", "ChangeReg0", ")", "MI", "->", "getOperand", "(", "0", ")", ".", "setReg", "(", "Reg2", ")", ";", "MI", "->", "getOperand", "(", "2", ")", ".", "setReg", "(", "Reg1", ")", ";", "MI", "->", "getOperand", "(", "1", ")", ".", "setReg", "(", "Reg2", ")", ";", "MI", "->", "getOperand", "(", "2", ")", ".", "setIsKill", "(", "Reg1IsKill", ")", ";", "MI", "->", "getOperand", "(", "1", ")", ".", "setIsKill", "(", "Reg2IsKill", ")", ";", "MI", "->", "getOperand", "(", "4", ")", ".", "setImm", "(", "(", "ME", "+", "1", ")", "&", "31", ")", ";", "MI", "->", "getOperand", "(", "5", ")", ".", "setImm", "(", "(", "MB", "-", "1", ")", "&", "31", ")", ";", "return", "MI", ";", "}", ""], "natrual_language": ["This", "method", "commutes", "the", "operands", "of", "the", "given", "machine", "instruction", "MI", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::RLWIMI", "3", "0", "0", "0", "1", "2", "1", "2", "0", "\"Expecting a two-address instruction!\"", "4", "5", "0", "0", "1", "31", "1", "31", "0", "2", "1", "2", "1", "4", "1", "31", "5", "1", "31"], "File": "PPCInstrInfo87", "Func": "commuteInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21785, "Length": 426, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "X86InstrInfo", "::", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "unsigned", ">", "&", "Ops", ",", "MachineInstr", "*", "LoadMI", ")", "const", "{", "if", "(", "NoFusing", ")", "return", "NULL", ";", "unsigned", "Alignment", "=", "0", ";", "if", "(", "LoadMI", "->", "hasOneMemOperand", "(", ")", ")", "Alignment", "=", "LoadMI", "->", "memoperands_begin", "(", ")", "->", "getAlignment", "(", ")", ";", "else", "if", "(", "LoadMI", "->", "getOpcode", "(", ")", "==", "X86", "::", "V_SET0", "||", "LoadMI", "->", "getOpcode", "(", ")", "==", "X86", "::", "V_SETALLONES", ")", "Alignment", "=", "16", ";", "if", "(", "Ops", ".", "size", "(", ")", "==", "2", "&&", "Ops", "[", "0", "]", "==", "0", "&&", "Ops", "[", "1", "]", "==", "1", ")", "{", "unsigned", "NewOpc", "=", "0", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "NULL", ";", "case", "X86", "::", "TEST8rr", ":", "NewOpc", "=", "X86", "::", "CMP8ri", ";", "break", ";", "case", "X86", "::", "TEST16rr", ":", "NewOpc", "=", "X86", "::", "CMP16ri", ";", "break", ";", "case", "X86", "::", "TEST32rr", ":", "NewOpc", "=", "X86", "::", "CMP32ri", ";", "break", ";", "case", "X86", "::", "TEST64rr", ":", "NewOpc", "=", "X86", "::", "CMP64ri32", ";", "break", ";", "}", "MI", "->", "setDesc", "(", "get", "(", "NewOpc", ")", ")", ";", "MI", "->", "getOperand", "(", "1", ")", ".", "ChangeToImmediate", "(", "0", ")", ";", "}", "else", "if", "(", "Ops", ".", "size", "(", ")", "!=", "1", ")", "return", "NULL", ";", "SmallVector", "<", "MachineOperand", ",", "X86AddrNumOperands", ">", "MOs", ";", "if", "(", "LoadMI", "->", "getOpcode", "(", ")", "==", "X86", "::", "V_SET0", "||", "LoadMI", "->", "getOpcode", "(", ")", "==", "X86", "::", "V_SETALLONES", ")", "{", "unsigned", "PICBase", "=", "0", ";", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "{", "if", "(", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ")", "PICBase", "=", "X86", "::", "RIP", ";", "else", "return", "false", ";", "}", "MachineConstantPool", "&", "MCP", "=", "*", "MF", ".", "getConstantPool", "(", ")", ";", "const", "VectorType", "*", "Ty", "=", "VectorType", "::", "get", "(", "Type", "::", "getInt32Ty", "(", "MF", ".", "getFunction", "(", ")", "->", "getContext", "(", ")", ")", ",", "4", ")", ";", "Constant", "*", "C", "=", "LoadMI", "->", "getOpcode", "(", ")", "==", "X86", "::", "V_SET0", "?", "Constant", "::", "getNullValue", "(", "Ty", ")", ":", "Constant", "::", "getAllOnesValue", "(", "Ty", ")", ";", "unsigned", "CPI", "=", "MCP", ".", "getConstantPoolIndex", "(", "C", ",", "16", ")", ";", "MOs", ".", "push_back", "(", "MachineOperand", "::", "CreateReg", "(", "PICBase", ",", "false", ")", ")", ";", "MOs", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "1", ")", ")", ";", "MOs", ".", "push_back", "(", "MachineOperand", "::", "CreateReg", "(", "0", ",", "false", ")", ")", ";", "MOs", ".", "push_back", "(", "MachineOperand", "::", "CreateCPI", "(", "CPI", ",", "0", ")", ")", ";", "MOs", ".", "push_back", "(", "MachineOperand", "::", "CreateReg", "(", "0", ",", "false", ")", ")", ";", "}", "else", "{", "unsigned", "NumOps", "=", "LoadMI", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", ";", "for", "(", "unsigned", "i", "=", "NumOps", "-", "X86AddrNumOperands", ";", "i", "!=", "NumOps", ";", "++", "i", ")", "MOs", ".", "push_back", "(", "LoadMI", "->", "getOperand", "(", "i", ")", ")", ";", "}", "return", "foldMemoryOperandImpl", "(", "MF", ",", "MI", ",", "Ops", "[", "0", "]", ",", "MOs", ",", "Alignment", ")", ";", "}", ""], "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": ["X86", "X86", "0", "X86::V_SET0", "X86::V_SETALLONES", "16", "2", "0", "0", "1", "1", "0", "X86::TEST8rr", "X86::CMP8ri", "X86::TEST16rr", "X86::CMP16ri", "X86::TEST32rr", "X86::CMP32ri", "X86::TEST64rr", "X86::CMP64ri32", "1", "0", "1", "X86", "X86::V_SET0", "X86::V_SETALLONES", "0", "X86", "X86::RIP", "4", "X86::V_SET0", "16", "1", "0", "0", "0", "X86", "0"], "File": "X86InstrInfo108", "Func": "foldMemoryOperandImpl", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21786, "Length": 505, "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": 21787, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "rs6000_get_some_local_dynamic_name", "(", "void", ")", "{", "rtx", "insn", ";", "if", "(", "cfun", "->", "machine", "->", "some_ld_name", ")", "return", "cfun", "->", "machine", "->", "some_ld_name", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "if", "(", "INSN_P", "(", "insn", ")", "&&", "for_each_rtx", "(", "&", "PATTERN", "(", "insn", ")", ",", "rs6000_get_some_local_dynamic_name_1", ",", "0", ")", ")", "return", "cfun", "->", "machine", "->", "some_ld_name", ";", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Locate", "some", "local-dynamic", "symbol", "still", "in", "use", "by", "this", "function", "so", "that", "we", "can", "print", "its", "name", "in", "some", "tls_ld", "pattern", "."], "TS_V_token": ["rs6000", "0"], "File": "rs60003", "Func": "rs6000_get_some_local_dynamic_name", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21788, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InsertPrefetch", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "!", "Reader", ")", "return", "false", ";", "const", "FunctionSamples", "*", "Samples", "=", "Reader", "->", "getSamplesFor", "(", "MF", ".", "getFunction", "(", ")", ")", ";", "if", "(", "!", "Samples", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "const", "TargetInstrInfo", "*", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "SmallVector", "<", "PrefetchInfo", ",", "4", ">", "Prefetches", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "for", "(", "auto", "MI", "=", "MBB", ".", "instr_begin", "(", ")", ";", "MI", "!=", "MBB", ".", "instr_end", "(", ")", ";", ")", "{", "auto", "Current", "=", "MI", ";", "++", "MI", ";", "int", "Offset", "=", "X86II", "::", "getMemoryOperandNo", "(", "Current", "->", "getDesc", "(", ")", ".", "TSFlags", ")", ";", "if", "(", "Offset", "<", "0", ")", "continue", ";", "unsigned", "Bias", "=", "X86II", "::", "getOperandBias", "(", "Current", "->", "getDesc", "(", ")", ")", ";", "int", "MemOpOffset", "=", "Offset", "+", "Bias", ";", "if", "(", "!", "IsMemOpCompatibleWithPrefetch", "(", "*", "Current", ",", "MemOpOffset", ")", ")", "continue", ";", "Prefetches", ".", "clear", "(", ")", ";", "if", "(", "!", "findPrefetchInfo", "(", "Samples", ",", "*", "Current", ",", "Prefetches", ")", ")", "continue", ";", "assert", "(", "!", "Prefetches", ".", "empty", "(", ")", "&&", "\"The Prefetches vector should contain at least a value if \"", "\"findPrefetchInfo returned true.\"", ")", ";", "for", "(", "auto", "&", "PrefInfo", ":", "Prefetches", ")", "{", "unsigned", "PFetchInstrID", "=", "PrefInfo", ".", "InstructionID", ";", "int64_t", "Delta", "=", "PrefInfo", ".", "Delta", ";", "const", "MCInstrDesc", "&", "Desc", "=", "TII", "->", "get", "(", "PFetchInstrID", ")", ";", "MachineInstr", "*", "PFetch", "=", "MF", ".", "CreateMachineInstr", "(", "Desc", ",", "Current", "->", "getDebugLoc", "(", ")", ",", "true", ")", ";", "MachineInstrBuilder", "MIB", "(", "MF", ",", "PFetch", ")", ";", "static_assert", "(", "X86", "::", "AddrBaseReg", "==", "0", "&&", "X86", "::", "AddrScaleAmt", "==", "1", "&&", "X86", "::", "AddrIndexReg", "==", "2", "&&", "X86", "::", "AddrDisp", "==", "3", "&&", "X86", "::", "AddrSegmentReg", "==", "4", ",", "\"Unexpected change in X86 operand offset order.\"", ")", ";", "MIB", ".", "addReg", "(", "Current", "->", "getOperand", "(", "MemOpOffset", "+", "X86", "::", "AddrBaseReg", ")", ".", "getReg", "(", ")", ")", ".", "addImm", "(", "Current", "->", "getOperand", "(", "MemOpOffset", "+", "X86", "::", "AddrScaleAmt", ")", ".", "getImm", "(", ")", ")", ".", "addReg", "(", "Current", "->", "getOperand", "(", "MemOpOffset", "+", "X86", "::", "AddrIndexReg", ")", ".", "getReg", "(", ")", ")", ".", "addImm", "(", "Current", "->", "getOperand", "(", "MemOpOffset", "+", "X86", "::", "AddrDisp", ")", ".", "getImm", "(", ")", "+", "Delta", ")", ".", "addReg", "(", "Current", "->", "getOperand", "(", "MemOpOffset", "+", "X86", "::", "AddrSegmentReg", ")", ".", "getReg", "(", ")", ")", ";", "if", "(", "!", "Current", "->", "memoperands_empty", "(", ")", ")", "{", "MachineMemOperand", "*", "CurrentOp", "=", "*", "(", "Current", "->", "memoperands_begin", "(", ")", ")", ";", "MIB", ".", "addMemOperand", "(", "MF", ".", "getMachineMemOperand", "(", "CurrentOp", ",", "CurrentOp", "->", "getOffset", "(", ")", "+", "Delta", ",", "CurrentOp", "->", "getSize", "(", ")", ")", ")", ";", "}", "MBB", ".", "insert", "(", "Current", ",", "PFetch", ")", ";", "Changed", "=", "true", ";", "}", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "4", "X86II::getMemoryOperandNo", "0", "X86II::getOperandBias", "\"The Prefetches vector should contain at least a value if \"", "\"findPrefetchInfo returned true.\"", "X86::AddrBaseReg", "0", "X86::AddrScaleAmt", "1", "X86::AddrIndexReg", "2", "X86::AddrDisp", "3", "X86::AddrSegmentReg", "4", "\"Unexpected change in X86 operand offset order.\"", "X86::AddrBaseReg", "X86::AddrScaleAmt", "X86::AddrIndexReg", "X86::AddrDisp", "X86::AddrSegmentReg"], "File": "X86InsertPrefetch3", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21789, "Length": 461, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "LoongArchAsmParser", "::", "validateTargetOperandClass", "(", "MCParsedAsmOperand", "&", "AsmOp", ",", "unsigned", "Kind", ")", "{", "LoongArchOperand", "&", "Op", "=", "static_cast", "<", "LoongArchOperand", "&", ">", "(", "AsmOp", ")", ";", "if", "(", "!", "Op", ".", "isReg", "(", ")", ")", "return", "Match_InvalidOperand", ";", "MCRegister", "Reg", "=", "Op", ".", "getReg", "(", ")", ";", "if", "(", "LoongArchMCRegisterClasses", "[", "LoongArch", "::", "FPR32RegClassID", "]", ".", "contains", "(", "Reg", ")", "&&", "Kind", "==", "MCK_FPR64", ")", "{", "Op", ".", "setReg", "(", "convertFPR32ToFPR64", "(", "Reg", ")", ")", ";", "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": ["LoongArch", "LoongArch", "LoongArch", "LoongArch", "LoongArch", "LoongArch::FPR32RegClassID"], "File": "LoongArchAsmParser1", "Func": "validateTargetOperandClass", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21790, "Length": 84, "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": 21791, "Length": 206, "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": 21792, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "ARMBaseInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "llvm_unreachable", "(", "\"getInstrInfo not implemented\"", ")", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["ARM", "ARM", "\"getInstrInfo not implemented\""], "File": "ARMTargetMachine51", "Func": "getInstrInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21793, "Length": 15, "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": 21794, "Length": 198, "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": ["PowerPC"], "File": "PPCRegisterInfo (2)1", "Func": "trackLivenessAfterRegAlloc", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21795, "Length": 15, "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", "::", "SHL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SRL", ":", "return", "PerformShiftCombine", "(", "N", ",", "DCI", ",", "getSubtarget", "(", ")", ")", ";", "case", "ISD", "::", "VSELECT", ":", "return", "PerformVSelectCombine", "(", "N", ",", "DCI", ".", "DAG", ")", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "return", "PerformSignExtendCombine", "(", "N", ",", "DCI", ".", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "PerformIntrinsicCombine", "(", "N", ",", "DCI", ".", "DAG", ")", ";", "case", "AArch64ISD", "::", "NEON_VDUPLANE", ":", "return", "CombineVLDDUP", "(", "N", ",", "DCI", ")", ";", "case", "AArch64ISD", "::", "NEON_LD2DUP", ":", "case", "AArch64ISD", "::", "NEON_LD3DUP", ":", "case", "AArch64ISD", "::", "NEON_LD4DUP", ":", "return", "CombineBaseUpdate", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "INTRINSIC_VOID", ":", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "switch", "(", "cast", "<", "ConstantSDNode", ">", "(", "N", "->", "getOperand", "(", "1", ")", ")", "->", "getZExtValue", "(", ")", ")", "{", "case", "Intrinsic", "::", "arm_neon_vld1", ":", "case", "Intrinsic", "::", "arm_neon_vld2", ":", "case", "Intrinsic", "::", "arm_neon_vld3", ":", "case", "Intrinsic", "::", "arm_neon_vld4", ":", "case", "Intrinsic", "::", "arm_neon_vst1", ":", "case", "Intrinsic", "::", "arm_neon_vst2", ":", "case", "Intrinsic", "::", "arm_neon_vst3", ":", "case", "Intrinsic", "::", "arm_neon_vst4", ":", "case", "Intrinsic", "::", "arm_neon_vld2lane", ":", "case", "Intrinsic", "::", "arm_neon_vld3lane", ":", "case", "Intrinsic", "::", "arm_neon_vld4lane", ":", "case", "Intrinsic", "::", "aarch64_neon_vld1x2", ":", "case", "Intrinsic", "::", "aarch64_neon_vld1x3", ":", "case", "Intrinsic", "::", "aarch64_neon_vld1x4", ":", "case", "Intrinsic", "::", "aarch64_neon_vst1x2", ":", "case", "Intrinsic", "::", "aarch64_neon_vst1x3", ":", "case", "Intrinsic", "::", "aarch64_neon_vst1x4", ":", "case", "Intrinsic", "::", "arm_neon_vst2lane", ":", "case", "Intrinsic", "::", "arm_neon_vst3lane", ":", "case", "Intrinsic", "::", "arm_neon_vst4lane", ":", "return", "CombineBaseUpdate", "(", "N", ",", "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": ["AArch64", "AArch64", "ISD::AND", "ISD::OR", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::VSELECT", "ISD::SIGN_EXTEND", "ISD::INTRINSIC_WO_CHAIN", "AArch64ISD::NEON_VDUPLANE", "AArch64ISD::NEON_LD2DUP", "AArch64ISD::NEON_LD3DUP", "AArch64ISD::NEON_LD4DUP", "ISD::INTRINSIC_VOID", "ISD::INTRINSIC_W_CHAIN", "1", "Intrinsic::arm_neon_vld1", "Intrinsic::arm_neon_vld2", "Intrinsic::arm_neon_vld3", "Intrinsic::arm_neon_vld4", "Intrinsic::arm_neon_vst1", "Intrinsic::arm_neon_vst2", "Intrinsic::arm_neon_vst3", "Intrinsic::arm_neon_vst4", "Intrinsic::arm_neon_vld2lane", "Intrinsic::arm_neon_vld3lane", "Intrinsic::arm_neon_vld4lane", "Intrinsic::aarch64_neon_vld1x2", "Intrinsic::aarch64_neon_vld1x3", "Intrinsic::aarch64_neon_vld1x4", "Intrinsic::aarch64_neon_vst1x2", "Intrinsic::aarch64_neon_vst1x3", "Intrinsic::aarch64_neon_vst1x4", "Intrinsic::arm_neon_vst2lane", "Intrinsic::arm_neon_vst3lane", "Intrinsic::arm_neon_vst4lane"], "File": "AArch64ISelLowering109", "Func": "PerformDAGCombine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21796, "Length": 316, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "override", "{", "if", "(", "Count", "%", "4", "!=", "0", ")", "return", "false", ";", "uint64_t", "NumNops", "=", "Count", "/", "4", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "!=", "NumNops", ";", "++", "i", ")", "OW", "->", "Write32", "(", "0x01000000", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["Sparc", "4", "0", "4", "0", "0x01000000"], "File": "SparcAsmBackend", "Func": "writeNopData", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21797, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "check", "(", "function_checker", "&", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Perform", "semantic", "checks", "on", "the", "call", ".", "Return", "true", "if", "the", "call", "is", "valid", ",", "otherwise", "report", "a", "suitable", "error", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "check", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21798, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "insn_code", "function_expander", "::", "direct_optab_handler", "(", "optab", "op", ",", "unsigned", "int", "suffix_i", ")", "{", "return", "::", "direct_optab_handler", "(", "op", ",", "vector_mode", "(", "suffix_i", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "handler", "of", "direct", "optab", "OP", "for", "type", "suffix", "SUFFIX_I", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "direct_optab_handler", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21799, "Length": 26, "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": 21800, "Length": 426, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isVectorLoadExtDesirable", "(", "SDValue", "ExtVal", ")", "const", "{", "return", "ExtVal", ".", "getValueType", "(", ")", ".", "isScalableVector", "(", ")", ";", "}", ""], "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)3", "Func": "isVectorLoadExtDesirable", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21801, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_return_in_memory", "(", "const_tree", "type", ",", "const_tree", "fntype", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_MACHO", "&&", "rs6000_darwin64_abi", "&&", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", "&&", "int_size_in_bytes", "(", "type", ")", ">", "0", ")", "{", "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", ",", "type", ",", "true", ",", "true", ")", ";", "if", "(", "valret", ")", "return", "false", ";", "}", "if", "(", "rs6000_discover_homogeneous_aggregate", "(", "TYPE_MODE", "(", "type", ")", ",", "type", ",", "NULL", ",", "NULL", ")", ")", "return", "false", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_ELFv2", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "(", "unsigned", "HOST_WIDE_INT", ")", "int_size_in_bytes", "(", "type", ")", "<=", "16", ")", "return", "false", ";", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "(", "aix_struct_return", "||", "(", "unsigned", "HOST_WIDE_INT", ")", "int_size_in_bytes", "(", "type", ")", ">", "8", ")", ")", "return", "true", ";", "if", "(", "TARGET_32BIT", "&&", "!", "TARGET_ALTIVEC_ABI", "&&", "ALTIVEC_VECTOR_MODE", "(", "TYPE_MODE", "(", "type", ")", ")", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", "&&", "int_size_in_bytes", "(", "type", ")", ">", "(", "TARGET_ALTIVEC_ABI", "?", "16", ":", "8", ")", ")", "{", "static", "bool", "warned_for_return_big_vectors", "=", "false", ";", "if", "(", "!", "warned_for_return_big_vectors", ")", "{", "warning", "(", "0", ",", "\"GCC vector returned by reference: \"", "\"non-standard ABI extension with no compatibility guarantee\"", ")", ";", "warned_for_return_big_vectors", "=", "true", ";", "}", "return", "true", ";", "}", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "TARGET_IEEEQUAD", "&&", "TYPE_MODE", "(", "type", ")", "==", "TFmode", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "a", "nonzero", "value", "to", "say", "to", "return", "the", "function", "value", "in", "memory", ",", "just", "as", "large", "structures", "are", "always", "returned", ".", "TYPE", "will", "be", "the", "data", "type", "of", "the", "value", ",", "and", "FNTYPE", "will", "be", "the", "type", "of", "the", "function", "doing", "the", "returning", ",", "or", "@", "code", "{", "NULL", "}", "for", "libcalls", ".", "The", "AIX", "ABI", "for", "the", "RS/6000", "specifies", "that", "all", "structures", "are", "returned", "in", "memory", ".", "The", "Darwin", "ABI", "does", "the", "same", ".", "The", "SVR4", "ABI", "specifies", "that", "structures", "<", "=", "8", "bytes", "are", "returned", "in", "r3/r4", ",", "but", "a", "draft", "put", "them", "in", "memory", ",", "and", "GCC", "used", "to", "implement", "the", "draft", "instead", "of", "the", "final", "standard", ".", "Therefore", ",", "aix_struct_return", "controls", "this", "instead", "of", "DEFAULT_ABI", ";", "V.4", "targets", "needing", "backward", "compatibility", "can", "change", "DRAFT_V4_STRUCT_RET", "to", "override", "the", "default", ",", "and", "-m", "switches", "get", "the", "final", "word", ".", "See", "rs6000_override_options", "for", "more", "details", ".", "The", "PPC32", "SVR4", "ABI", "uses", "IEEE", "double", "extended", "for", "long", "double", ",", "if", "128-bit", "long", "double", "support", "is", "enabled", ".", "These", "values", "are", "returned", "in", "memory", ".", "int_size_in_bytes", "returns", "-1", "for", "variable", "size", "objects", ",", "which", "go", "in", "memory", "always", ".", "The", "cast", "to", "unsigned", "makes", "-1", ">", "8", "."], "TS_V_token": ["rs6000", "0", "0", "16", "8", "16", "8", "0", "\"GCC vector returned by reference: \"", "\"non-standard ABI extension with no compatibility guarantee\""], "File": "rs60004", "Func": "rs6000_return_in_memory", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21802, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "registers_ok_for_quad_peep", "(", "rtx", "reg1", ",", "rtx", "reg2", ")", "{", "if", "(", "!", "REG_P", "(", "reg1", ")", "||", "!", "REG_P", "(", "reg2", ")", ")", "return", "0", ";", "if", "(", "!", "FP_REGNO_P", "(", "REGNO", "(", "reg1", ")", ")", "||", "!", "FP_REGNO_P", "(", "REGNO", "(", "reg2", ")", ")", ")", "return", "0", ";", "return", "(", "REGNO", "(", "reg1", ")", "==", "REGNO", "(", "reg2", ")", "-", "1", ")", ";", "}", ""], "natrual_language": ["Return", "1", "if", "REGNO", "(", "reg1", ")", "==", "REGNO", "(", "reg2", ")", "-", "1", "making", "them", "candidates", "for", "lfq", "and", "stfq", "insns", ".", "Note", "reg1", "and", "reg2", "*", "must", "*", "be", "hard", "registers", ".", "To", "be", "sure", "we", "will", "abort", "if", "we", "are", "passed", "pseudo", "registers", "."], "TS_V_token": ["rs6000", "0", "0", "1"], "File": "rs6000", "Func": "registers_ok_for_quad_peep", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21803, "Length": 66, "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": 21804, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ArrayRef", "<", "MCPhysReg", ">", "MipsABIInfo", "::", "GetVarArgRegs", "(", ")", "const", "{", "if", "(", "IsCheriPureCap", "(", ")", ")", "return", "makeArrayRef", "(", "CheriCapArgRegs", ")", ";", "if", "(", "IsO32", "(", ")", ")", "return", "makeArrayRef", "(", "O32IntRegs", ")", ";", "if", "(", "IsN32", "(", ")", "||", "IsN64", "(", ")", ")", "return", "makeArrayRef", "(", "Mips64IntRegs", ")", ";", "llvm_unreachable", "(", "\"Unhandled ABI\"", ")", ";", "}", ""], "natrual_language": ["The", "registers", "to", "use", "for", "the", "variable", "argument", "list", "."], "TS_V_token": ["Mips", "Mips", "Mips", "\"Unhandled ABI\""], "File": "MipsABIInfo10", "Func": "GetVarArgRegs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21805, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "emitFunctionBodyStart", "(", ")", "{", "MipsTargetStreamer", "&", "TS", "=", "getTargetStreamer", "(", ")", ";", "MCInstLowering", ".", "Initialize", "(", "&", "MF", "->", "getContext", "(", ")", ")", ";", "bool", "IsNakedFunction", "=", "MF", "->", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "Naked", ")", ";", "if", "(", "!", "IsNakedFunction", ")", "emitFrameDirective", "(", ")", ";", "if", "(", "!", "IsNakedFunction", ")", "printSavedRegsBitmask", "(", ")", ";", "if", "(", "!", "Subtarget", "->", "inMips16Mode", "(", ")", ")", "{", "TS", ".", "emitDirectiveSetNoReorder", "(", ")", ";", "TS", ".", "emitDirectiveSetNoMacro", "(", ")", ";", "TS", ".", "emitDirectiveSetNoAt", "(", ")", ";", "}", "}", ""], "natrual_language": ["Targets", "can", "override", "this", "to", "emit", "stuff", "before", "the", "first", "basic", "block", "in", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips"], "File": "MipsAsmPrinter", "Func": "emitFunctionBodyStart", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21806, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64StorePairSuppress", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "TargetSubtargetInfo", "&", "ST", "=", "MF", ".", "getSubtarget", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "ST", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "ST", ".", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "SchedModel", ".", "init", "(", "ST", ".", "getSchedModel", "(", ")", ",", "&", "ST", ",", "TII", ")", ";", "Traces", "=", "&", "getAnalysis", "<", "MachineTraceMetrics", ">", "(", ")", ";", "MinInstr", "=", "nullptr", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"*** \"", "<<", "getPassName", "(", ")", "<<", "\": \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "if", "(", "!", "SchedModel", ".", "hasInstrSchedModel", "(", ")", ")", "{", "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", ";", "unsigned", "BaseReg", ";", "int64_t", "Offset", ";", "if", "(", "TII", "->", "getMemOpBaseRegImmOfs", "(", "&", "MI", ",", "BaseReg", ",", "Offset", ",", "TRI", ")", ")", "{", "if", "(", "PrevBaseReg", "==", "BaseReg", ")", "{", "if", "(", "!", "SuppressSTP", "&&", "shouldAddSTPToBlock", "(", "MI", ".", "getParent", "(", ")", ")", ")", "break", ";", "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": "AArch64StorePairSuppress2", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21807, "Length": 256, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ARM", "::", "LDR", ":", "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", "::", "FLDD", ":", "case", "ARM", "::", "FLDS", ":", "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", "::", "tRestore", ":", "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", ";", "}", "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::LDR", "1", "2", "3", "2", "0", "3", "0", "1", "0", "ARM::FLDD", "ARM::FLDS", "1", "2", "2", "0", "1", "0", "ARM::tRestore", "1", "2", "2", "0", "1", "0", "0"], "File": "ARMInstrInfo14", "Func": "isLoadFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21808, "Length": 276, "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": ["Mips"], "File": "MipsAsmParser (2)4", "Func": "getStartLoc", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21809, "Length": 11, "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": ["DLX"], "File": "DLXAsmParser", "Func": "getEndLoc", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21810, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "MipsTargetStreamer", "&", "TS", "=", "getTargetStreamer", "(", ")", ";", "TS", ".", "forbidModuleDirective", "(", ")", ";", "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", "(", "MF", "->", "getDataLayout", "(", ")", ",", "MCPE", ".", "Val", ".", "ConstVal", ")", ";", "return", ";", "}", "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::PseudoReturn", "Mips::PseudoReturn64", "Mips::PseudoIndirectBranch", "Mips::PseudoIndirectBranch64", "Mips::TAILCALLREG", "Mips::TAILCALLREG64", "Mips", "\"Pseudo opcode found in EmitInstruction()\""], "File": "MipsAsmPrinter27", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21811, "Length": 396, "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": 21812, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_branchy_insn", "(", "enum", "rtx_code", "code", ",", "const", "char", "*", "template", ",", "rtx", "insn", ",", "rtx", "*", "operands", ")", "{", "rtx", "next_insn", "=", "NEXT_INSN", "(", "insn", ")", ";", "if", "(", "next_insn", "&&", "GET_CODE", "(", "next_insn", ")", "==", "JUMP_INSN", "&&", "condjump_p", "(", "next_insn", ")", ")", "{", "rtx", "src", "=", "SET_SRC", "(", "PATTERN", "(", "next_insn", ")", ")", ";", "if", "(", "GET_CODE", "(", "src", ")", "==", "IF_THEN_ELSE", "&&", "GET_CODE", "(", "XEXP", "(", "src", ",", "0", ")", ")", "!=", "code", ")", "{", "operands", "[", "9", "]", "=", "gen_label_rtx", "(", ")", ";", "emit_label_after", "(", "operands", "[", "9", "]", ",", "next_insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "operands", "[", "9", "]", ",", "INSN_ADDRESSES", "(", "INSN_UID", "(", "next_insn", ")", ")", "+", "get_attr_length", "(", "next_insn", ")", ")", ";", "return", "template", ";", "}", "else", "{", "int", "offset", "=", "(", "branch_dest", "(", "next_insn", ")", "-", "INSN_ADDRESSES", "(", "INSN_UID", "(", "next_insn", ")", ")", "+", "4", ")", ";", "if", "(", "offset", ">=", "-", "252", "&&", "offset", "<=", "258", ")", "{", "if", "(", "GET_CODE", "(", "src", ")", "==", "IF_THEN_ELSE", ")", "src", "=", "XEXP", "(", "src", ",", "1", ")", ";", "operands", "[", "9", "]", "=", "src", ";", "return", "template", ";", "}", "}", "}", "operands", "[", "9", "]", "=", "gen_label_rtx", "(", ")", ";", "emit_label_after", "(", "operands", "[", "9", "]", ",", "insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "operands", "[", "9", "]", ",", "INSN_ADDRESSES", "(", "INSN_UID", "(", "insn", ")", ")", "+", "get_attr_length", "(", "insn", ")", ")", ";", "return", "template", ";", "}", ""], "natrual_language": ["Output", "a", "code", "sequence", "for", "INSN", "using", "TEMPL", "with", "OPERANDS", ";", "but", "before", ",", "fill", "in", "operands", "9", "as", "a", "label", "to", "the", "successor", "insn", ".", "We", "try", "to", "use", "jump", "threading", "where", "possible", ".", "IF", "CODE", "matches", "the", "comparison", "in", "the", "IF_THEN_ELSE", "of", "a", "following", "jump", ",", "we", "assume", "the", "jump", "is", "taken", ".", "I.e", ".", "EQ", "means", "follow", "jmp", "and", "bf", ",", "NE", "means", "follow", "jmp", "and", "bt", ",", "if", "the", "address", "is", "in", "range", "."], "TS_V_token": ["sh", "0", "9", "9", "9", "4", "252", "258", "1", "9", "9", "9", "9"], "File": "sh3", "Func": "output_branchy_insn", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21813, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "getInsertSubregLikeInputs", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "DefIdx", ",", "RegSubRegPair", "&", "BaseReg", ",", "RegSubRegPairAndIdx", "&", "InsertedReg", ")", "const", "{", "assert", "(", "DefIdx", "<", "MI", ".", "getDesc", "(", ")", ".", "getNumDefs", "(", ")", "&&", "\"Invalid definition index\"", ")", ";", "assert", "(", "MI", ".", "isInsertSubregLike", "(", ")", "&&", "\"Invalid kind of instruction\"", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "ARM", "::", "VSETLNi32", ":", "const", "MachineOperand", "&", "MOBaseReg", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "const", "MachineOperand", "&", "MOInsertedReg", "=", "MI", ".", "getOperand", "(", "2", ")", ";", "const", "MachineOperand", "&", "MOIndex", "=", "MI", ".", "getOperand", "(", "3", ")", ";", "BaseReg", ".", "Reg", "=", "MOBaseReg", ".", "getReg", "(", ")", ";", "BaseReg", ".", "SubReg", "=", "MOBaseReg", ".", "getSubReg", "(", ")", ";", "InsertedReg", ".", "Reg", "=", "MOInsertedReg", ".", "getReg", "(", ")", ";", "InsertedReg", ".", "SubReg", "=", "MOInsertedReg", ".", "getSubReg", "(", ")", ";", "InsertedReg", ".", "SubIdx", "=", "MOIndex", ".", "getImm", "(", ")", "==", "0", "?", "ARM", "::", "ssub_0", ":", "ARM", "::", "ssub_1", ";", "return", "true", ";", "}", "llvm_unreachable", "(", "\"Target dependent opcode missing\"", ")", ";", "}", ""], "natrual_language": ["Target-dependent", "implementation", "of", "getInsertSubregInputs", "."], "TS_V_token": ["ARM", "ARM", "\"Invalid definition index\"", "\"Invalid kind of instruction\"", "ARM::VSETLNi32", "1", "2", "3", "0", "ARM::ssub_0", "ARM::ssub_1", "\"Target dependent opcode missing\""], "File": "ARMBaseInstrInfo (2)2", "Func": "getInsertSubregLikeInputs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21814, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "SystemZRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "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::R11D", "SystemZ::R11L", "SystemZ::R11H", "SystemZ::R10Q", "SystemZ::R15D", "SystemZ::R15L", "SystemZ::R15H", "SystemZ::R14Q"], "File": "SystemZRegisterInfo", "Func": "getReservedRegs", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21815, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PassConfig", "::", "addPreISel", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnablePromoteConstant", ")", "addPass", "(", "createAArch64PromoteConstantPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createGlobalMergePass", "(", "TM", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createAArch64AddressTypePromotionPass", "(", ")", ")", ";", "addPass", "(", "createAtomicExpandLoadLinkedPass", "(", "TM", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine39", "Func": "addPreISel", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21816, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_asm_emit_except_personality", "(", "rtx", "personality", ")", "{", "fputs", "(", "\"\\t.personality\\t\"", ",", "asm_out_file", ")", ";", "output_addr_const", "(", "asm_out_file", ",", "personality", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_EMIT_EXCEPT_PERSONALITY", "."], "TS_V_token": ["ia64", "\"\\t.personality\\t\""], "File": "ia64", "Func": "ia64_asm_emit_except_personality", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21817, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_register_saved_on_entry", "(", "int", "regno", ")", "{", "return", "known_ge", "(", "cfun", "->", "machine", "->", "frame", ".", "reg_offset", "[", "regno", "]", ",", "0", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "register", "REGNO", "is", "saved", "on", "entry", "to", "the", "current", "function", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64", "Func": "aarch64_register_saved_on_entry", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21818, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "is_jump_table", "(", "rtx", "insn", ")", "{", "rtx", "table", ";", "if", "(", "GET_CODE", "(", "insn", ")", "==", "JUMP_INSN", "&&", "JUMP_LABEL", "(", "insn", ")", "!=", "NULL", "&&", "(", "(", "table", "=", "next_real_insn", "(", "JUMP_LABEL", "(", "insn", ")", ")", ")", "==", "next_real_insn", "(", "insn", ")", ")", "&&", "table", "!=", "NULL", "&&", "GET_CODE", "(", "table", ")", "==", "JUMP_INSN", "&&", "(", "GET_CODE", "(", "PATTERN", "(", "table", ")", ")", "==", "ADDR_VEC", "||", "GET_CODE", "(", "PATTERN", "(", "table", ")", ")", "==", "ADDR_DIFF_VEC", ")", ")", "return", "table", ";", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Determines", "if", "INSN", "is", "the", "start", "of", "a", "jump", "table", ".", "Returns", "the", "end", "of", "the", "TABLE", "or", "NULL_RTX", "."], "TS_V_token": ["arm"], "File": "arm3", "Func": "is_jump_table", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21819, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "get_deferred_plabel", "(", "rtx", "symbol", ")", "{", "const", "char", "*", "fname", "=", "XSTR", "(", "symbol", ",", "0", ")", ";", "size_t", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n_deferred_plabels", ";", "i", "++", ")", "if", "(", "strcmp", "(", "fname", ",", "XSTR", "(", "deferred_plabels", "[", "i", "]", ".", "symbol", ",", "0", ")", ")", "==", "0", ")", "break", ";", "if", "(", "deferred_plabels", "==", "NULL", "||", "i", "==", "n_deferred_plabels", ")", "{", "tree", "id", ";", "if", "(", "deferred_plabels", "==", "0", ")", "deferred_plabels", "=", "(", "struct", "deferred_plabel", "*", ")", "ggc_alloc", "(", "sizeof", "(", "struct", "deferred_plabel", ")", ")", ";", "else", "deferred_plabels", "=", "(", "struct", "deferred_plabel", "*", ")", "ggc_realloc", "(", "deferred_plabels", ",", "(", "(", "n_deferred_plabels", "+", "1", ")", "*", "sizeof", "(", "struct", "deferred_plabel", ")", ")", ")", ";", "i", "=", "n_deferred_plabels", "++", ";", "deferred_plabels", "[", "i", "]", ".", "internal_label", "=", "gen_label_rtx", "(", ")", ";", "deferred_plabels", "[", "i", "]", ".", "symbol", "=", "symbol", ";", "id", "=", "maybe_get_identifier", "(", "targetm", ".", "strip_name_encoding", "(", "fname", ")", ")", ";", "if", "(", "id", ")", "mark_referenced", "(", "id", ")", ";", "}", "return", "deferred_plabels", "[", "i", "]", ".", "internal_label", ";", "}", ""], "natrual_language": ["Search", "the", "deferred", "plabel", "list", "for", "SYMBOL", "and", "return", "its", "internal", "label", ".", "If", "an", "entry", "for", "SYMBOL", "is", "not", "found", ",", "a", "new", "entry", "is", "created", "."], "TS_V_token": ["pa", "0", "0", "0", "0", "0", "1"], "File": "pa3", "Func": "get_deferred_plabel", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21820, "Length": 177, "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", ",", "opts_set", ",", "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": "arm1", "Func": "arm_valid_target_attribute_tree", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21821, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_keep_interrupts_masked_p", "(", "tree", "type", ")", "{", "return", "lookup_attribute", "(", "\"keep_interrupts_masked\"", ",", "TYPE_ATTRIBUTES", "(", "type", ")", ")", "!=", "NULL", ";", "}", ""], "natrual_language": ["Check", "if", "the", "attribute", "to", "keep", "interrupts", "masked", "is", "set", "for", "a", "function", "."], "TS_V_token": ["mips", "\"keep_interrupts_masked\""], "File": "mips", "Func": "mips_keep_interrupts_masked_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21822, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_fp_mult_cost", "(", "machine_mode", "mode", ")", "{", "return", "mode", "==", "DFmode", "?", "mips_cost", "->", "fp_mult_df", ":", "mips_cost", "->", "fp_mult_sf", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "floating-point", "multiplications", "of", "mode", "MODE", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_fp_mult_cost", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21823, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "sbitmap", "aarch64_get_separate_components", "(", "void", ")", "{", "aarch64_layout_frame", "(", ")", ";", "sbitmap", "components", "=", "sbitmap_alloc", "(", "LAST_SAVED_REGNUM", "+", "1", ")", ";", "bitmap_clear", "(", "components", ")", ";", "for", "(", "unsigned", "regno", "=", "0", ";", "regno", "<=", "LAST_SAVED_REGNUM", ";", "regno", "++", ")", "if", "(", "aarch64_register_saved_on_entry", "(", "regno", ")", ")", "{", "poly_int64", "offset", "=", "cfun", "->", "machine", "->", "frame", ".", "reg_offset", "[", "regno", "]", ";", "if", "(", "!", "frame_pointer_needed", ")", "offset", "+=", "cfun", "->", "machine", "->", "frame", ".", "frame_size", "-", "cfun", "->", "machine", "->", "frame", ".", "hard_fp_offset", ";", "if", "(", "offset_12bit_unsigned_scaled_p", "(", "DImode", ",", "offset", ")", ")", "bitmap_set_bit", "(", "components", ",", "regno", ")", ";", "}", "if", "(", "frame_pointer_needed", ")", "bitmap_clear_bit", "(", "components", ",", "HARD_FRAME_POINTER_REGNUM", ")", ";", "unsigned", "reg1", "=", "cfun", "->", "machine", "->", "frame", ".", "wb_candidate1", ";", "unsigned", "reg2", "=", "cfun", "->", "machine", "->", "frame", ".", "wb_candidate2", ";", "if", "(", "reg2", "!=", "INVALID_REGNUM", ")", "bitmap_clear_bit", "(", "components", ",", "reg2", ")", ";", "if", "(", "reg1", "!=", "INVALID_REGNUM", ")", "bitmap_clear_bit", "(", "components", ",", "reg1", ")", ";", "bitmap_clear_bit", "(", "components", ",", "LR_REGNUM", ")", ";", "bitmap_clear_bit", "(", "components", ",", "SP_REGNUM", ")", ";", "return", "components", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SHRINK_WRAP_GET_SEPARATE_COMPONENTS", "."], "TS_V_token": ["aarch64", "1", "0"], "File": "aarch645", "Func": "aarch64_get_separate_components", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21824, "Length": 179, "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": 21825, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_copy_rbs", "(", "struct", "_Unwind_Context", "*", "info", ",", "unsigned", "long", "dst", ",", "unsigned", "long", "src", ",", "long", "len", ",", "unsigned", "long", "dst_rnat", ")", "{", "long", "count", ";", "unsigned", "long", "src_rnat", ";", "unsigned", "long", "shift1", ",", "shift2", ";", "len", "<<=", "3", ";", "dst_rnat", "&=", "(", "1UL", "<<", "(", "(", "dst", ">>", "3", ")", "&", "0x3f", ")", ")", "-", "1", ";", "src_rnat", "=", "src", ">=", "info", "->", "regstk_top", "?", "info", "->", "rnat", ":", "*", "(", "unsigned", "long", "*", ")", "(", "src", "|", "0x1f8", ")", ";", "src_rnat", "&=", "~", "(", "(", "1UL", "<<", "(", "(", "src", ">>", "3", ")", "&", "0x3f", ")", ")", "-", "1", ")", ";", "src_rnat", "&=", "~", "(", "1UL", "<<", "63", ")", ";", "shift1", "=", "(", "(", "dst", "-", "src", ")", ">>", "3", ")", "&", "0x3f", ";", "if", "(", "(", "dst", "&", "0x1f8", ")", "<", "(", "src", "&", "0x1f8", ")", ")", "shift1", "--", ";", "shift2", "=", "0x3f", "-", "shift1", ";", "if", "(", "(", "dst", "&", "0x1f8", ")", ">=", "(", "src", "&", "0x1f8", ")", ")", "{", "count", "=", "~", "dst", "&", "0x1f8", ";", "goto", "first", ";", "}", "count", "=", "~", "src", "&", "0x1f8", ";", "goto", "second", ";", "while", "(", "len", ">", "0", ")", "{", "src_rnat", "=", "src", ">=", "info", "->", "regstk_top", "?", "info", "->", "rnat", ":", "*", "(", "unsigned", "long", "*", ")", "(", "src", "|", "0x1f8", ")", ";", "src_rnat", "&=", "~", "(", "1UL", "<<", "63", ")", ";", "count", "=", "shift2", "<<", "3", ";", "first", ":", "if", "(", "count", ">", "len", ")", "count", "=", "len", ";", "memcpy", "(", "(", "char", "*", ")", "dst", ",", "(", "char", "*", ")", "src", ",", "count", ")", ";", "dst", "+=", "count", ";", "src", "+=", "count", ";", "len", "-=", "count", ";", "dst_rnat", "|=", "(", "src_rnat", "<<", "shift1", ")", "&", "~", "(", "1UL", "<<", "63", ")", ";", "if", "(", "len", "<=", "0", ")", "break", ";", "*", "(", "long", "*", ")", "dst", "=", "dst_rnat", ";", "dst", "+=", "8", ";", "dst_rnat", "=", "0", ";", "count", "=", "shift1", "<<", "3", ";", "second", ":", "if", "(", "count", ">", "len", ")", "count", "=", "len", ";", "memcpy", "(", "(", "char", "*", ")", "dst", ",", "(", "char", "*", ")", "src", ",", "count", ")", ";", "dst", "+=", "count", ";", "src", "+=", "count", "+", "8", ";", "len", "-=", "count", "+", "8", ";", "dst_rnat", "|=", "(", "src_rnat", ">>", "shift2", ")", ";", "}", "if", "(", "(", "dst", "&", "0x1f8", ")", "==", "0x1f8", ")", "{", "*", "(", "long", "*", ")", "dst", "=", "dst_rnat", ";", "dst", "+=", "8", ";", "dst_rnat", "=", "0", ";", "}", "info", "->", "regstk_top", "=", "dst", "&", "~", "0x1ffUL", ";", "info", "->", "rnat", "=", "dst_rnat", ";", "}", ""], "natrual_language": ["Copy", "register", "backing", "store", "from", "SRC", "to", "DST", ",", "LEN", "words", "(", "which", "include", "both", "saved", "registers", "and", "nat", "collections", ")", ".", "DST_RNAT", "is", "a", "partial", "nat", "collection", "for", "DST", ".", "SRC", "and", "DST", "do", "n't", "have", "to", "be", "equal", "modulo", "64", "slots", ",", "so", "it", "can", "not", "be", "done", "with", "a", "simple", "memcpy", "as", "the", "nat", "collections", "will", "be", "at", "different", "relative", "offsets", "and", "need", "to", "be", "combined", "together", "."], "TS_V_token": ["ia64", "3", "1UL", "3", "0x3f", "1", "0x1f8", "1UL", "3", "0x3f", "1", "1UL", "63", "3", "0x3f", "0x1f8", "0x1f8", "0x3f", "0x1f8", "0x1f8", "0x1f8", "0x1f8", "0", "0x1f8", "1UL", "63", "3", "1UL", "63", "0", "8", "0", "3", "8", "8", "0x1f8", "0x1f8", "8", "0", "0x1ffUL"], "File": "unwind-ia641", "Func": "ia64_copy_rbs", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21826, "Length": 419, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_output_ascii", "(", "FILE", "*", "stream", ",", "const", "char", "*", "string_param", ",", "size_t", "len", ",", "const", "char", "*", "prefix", ")", "{", "size_t", "i", ";", "int", "cur_pos", "=", "17", ";", "register", "const", "unsigned", "char", "*", "string", "=", "(", "const", "unsigned", "char", "*", ")", "string_param", ";", "fprintf", "(", "stream", ",", "\"%s\\\"\"", ",", "prefix", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "len", ";", "i", "++", ")", "{", "register", "int", "c", "=", "string", "[", "i", "]", ";", "if", "(", "ISPRINT", "(", "c", ")", ")", "{", "if", "(", "c", "==", "'\\\\'", "||", "c", "==", "'\\\"'", ")", "{", "putc", "(", "'\\\\'", ",", "stream", ")", ";", "cur_pos", "++", ";", "}", "putc", "(", "c", ",", "stream", ")", ";", "cur_pos", "++", ";", "}", "else", "{", "fprintf", "(", "stream", ",", "\"\\\\%03o\"", ",", "c", ")", ";", "cur_pos", "+=", "4", ";", "}", "if", "(", "cur_pos", ">", "72", "&&", "i", "+", "1", "<", "len", ")", "{", "cur_pos", "=", "17", ";", "fprintf", "(", "stream", ",", "\"\\\"\\n%s\\\"\"", ",", "prefix", ")", ";", "}", "}", "fprintf", "(", "stream", ",", "\"\\\"\\n\"", ")", ";", "}", ""], "natrual_language": ["Output", "an", "ASCII", "string", ",", "in", "a", "space-saving", "way", ".", "PREFIX", "is", "the", "string", "that", "should", "be", "written", "before", "the", "opening", "quote", ",", "such", "as", "``", "\\t.ascii\\t", "''", "for", "real", "string", "data", "or", "``", "\\t", "#", "``", "for", "a", "comment", "."], "TS_V_token": ["mips", "17", "\"%s\\\"\"", "0", "\"\\\\%03o\"", "4", "72", "1", "17", "\"\\\"\\n%s\\\"\"", "\"\\\"\\n\""], "File": "mips3", "Func": "mips_output_ascii", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21827, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SparcRegisterInfo", "::", "getFrameRegister", "(", "MachineFunction", "&", "MF", ")", "const", "{", "assert", "(", "0", "&&", "\"What is the frame register\"", ")", ";", "return", "SP", "::", "G1", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["Sparc", "Sparc", "0", "\"What is the frame register\"", "SP::G1"], "File": "SparcRegisterInfo28", "Func": "getFrameRegister", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21828, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "postKnownBits", "(", "Align", "Align", "=", "Align", "::", "None", "(", ")", ")", "const", "{", "return", "std", "::", "max", "(", "Log2", "(", "std", "::", "max", "(", "PostAlign", ",", "Align", ")", ")", ",", "internalKnownBits", "(", ")", ")", ";", "}", ""], "natrual_language": ["Compute", "the", "number", "of", "known", "low", "bits", "of", "postOffset", "."], "TS_V_token": ["ARM"], "File": "ARMBasicBlockInfo11", "Func": "postKnownBits", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21829, "Length": 37, "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", "(", "isTargetHardFloat", "(", ")", ")", "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"], "File": "ARMTargetMachine42", "Func": "ARMBaseTargetMachine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21830, "Length": 285, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_split_128bit_move_p", "(", "rtx", "dest", ",", "rtx", "src", ")", "{", "if", "(", "FP_REG_RTX_P", "(", "src", ")", "&&", "FP_REG_RTX_P", "(", "dest", ")", ")", "return", "false", ";", "if", "(", "FP_REG_RTX_P", "(", "dest", ")", "&&", "MEM_P", "(", "src", ")", ")", "return", "false", ";", "if", "(", "FP_REG_RTX_P", "(", "src", ")", "&&", "MEM_P", "(", "dest", ")", ")", "return", "false", ";", "if", "(", "FP_REG_RTX_P", "(", "dest", ")", "&&", "mips_const_vector_same_int_p", "(", "src", ",", "GET_MODE", "(", "src", ")", ",", "-", "512", ",", "511", ")", ")", "return", "false", ";", "if", "(", "FP_REG_RTX_P", "(", "dest", ")", "&&", "src", "==", "CONST0_RTX", "(", "GET_MODE", "(", "src", ")", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "128-bit", "move", "from", "SRC", "to", "DEST", "should", "be", "split", "."], "TS_V_token": ["mips", "512", "511"], "File": "mips", "Func": "mips_split_128bit_move_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21831, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "PPCTargetLowering", "::", "emitMaskedAtomicCmpXchgIntrinsic", "(", "IRBuilderBase", "&", "Builder", ",", "AtomicCmpXchgInst", "*", "CI", ",", "Value", "*", "AlignedAddr", ",", "Value", "*", "CmpVal", ",", "Value", "*", "NewVal", ",", "Value", "*", "Mask", ",", "AtomicOrdering", "Ord", ")", "const", "{", "assert", "(", "EnableQuadwordAtomics", "&&", "Subtarget", ".", "hasQuadwordAtomics", "(", ")", "&&", "\"Only support quadword now\"", ")", ";", "Module", "*", "M", "=", "Builder", ".", "GetInsertBlock", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "Type", "*", "ValTy", "=", "AlignedAddr", "->", "getType", "(", ")", "->", "getPointerElementType", "(", ")", ";", "assert", "(", "ValTy", "->", "getPrimitiveSizeInBits", "(", ")", "==", "128", ")", ";", "Function", "*", "IntCmpXchg", "=", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "Intrinsic", "::", "ppc_cmpxchg_i128", ")", ";", "Type", "*", "Int64Ty", "=", "Type", "::", "getInt64Ty", "(", "M", "->", "getContext", "(", ")", ")", ";", "Value", "*", "CmpLo", "=", "Builder", ".", "CreateTrunc", "(", "CmpVal", ",", "Int64Ty", ",", "\"cmp_lo\"", ")", ";", "Value", "*", "CmpHi", "=", "Builder", ".", "CreateTrunc", "(", "Builder", ".", "CreateLShr", "(", "CmpVal", ",", "64", ")", ",", "Int64Ty", ",", "\"cmp_hi\"", ")", ";", "Value", "*", "NewLo", "=", "Builder", ".", "CreateTrunc", "(", "NewVal", ",", "Int64Ty", ",", "\"new_lo\"", ")", ";", "Value", "*", "NewHi", "=", "Builder", ".", "CreateTrunc", "(", "Builder", ".", "CreateLShr", "(", "NewVal", ",", "64", ")", ",", "Int64Ty", ",", "\"new_hi\"", ")", ";", "Value", "*", "Addr", "=", "Builder", ".", "CreateBitCast", "(", "AlignedAddr", ",", "Type", "::", "getInt8PtrTy", "(", "M", "->", "getContext", "(", ")", ")", ")", ";", "emitLeadingFence", "(", "Builder", ",", "CI", ",", "Ord", ")", ";", "Value", "*", "LoHi", "=", "Builder", ".", "CreateCall", "(", "IntCmpXchg", ",", "{", "Addr", ",", "CmpLo", ",", "CmpHi", ",", "NewLo", ",", "NewHi", "}", ")", ";", "emitTrailingFence", "(", "Builder", ",", "CI", ",", "Ord", ")", ";", "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\"", ")", ";", "}", ""], "natrual_language": ["Perform", "a", "masked", "cmpxchg", "using", "a", "target-specific", "intrinsic", "."], "TS_V_token": ["PowerPC", "PPC", "\"Only support quadword now\"", "128", "Intrinsic::getDeclaration", "Intrinsic::ppc_cmpxchg_i128", "\"cmp_lo\"", "64", "\"cmp_hi\"", "\"new_lo\"", "64", "\"new_hi\"", "0", "\"lo\"", "1", "\"hi\"", "\"lo64\"", "\"hi64\"", "64", "\"val64\""], "File": "PPCISelLowering44", "Func": "emitMaskedAtomicCmpXchgIntrinsic", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21832, "Length": 341, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "AArch64TTIImpl", "::", "getIntImmCostInst", "(", "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", "::", "Add", ":", "case", "Instruction", "::", "Sub", ":", "case", "Instruction", "::", "Mul", ":", "case", "Instruction", "::", "UDiv", ":", "case", "Instruction", "::", "SDiv", ":", "case", "Instruction", "::", "URem", ":", "case", "Instruction", "::", "SRem", ":", "case", "Instruction", "::", "And", ":", "case", "Instruction", "::", "Or", ":", "case", "Instruction", "::", "Xor", ":", "case", "Instruction", "::", "ICmp", ":", "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", "=", "AArch64TTIImpl", "::", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "return", "(", "Cost", "<=", "NumConstants", "*", "TTI", "::", "TCC_Basic", ")", "?", "static_cast", "<", "int", ">", "(", "TTI", "::", "TCC_Free", ")", ":", "Cost", ";", "}", "return", "AArch64TTIImpl", "::", "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": ["AArch64", "AArch64", "0", "0U", "0", "2", "0", "1", "1", "63", "64", "AArch64", "AArch64"], "File": "AArch64TargetTransformInfo41", "Func": "getIntImmCostInst", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21833, "Length": 314, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_is_valid_insert_mask", "(", "rtx", "mask", ",", "rtx", "shift", ",", "machine_mode", "mode", ")", "{", "int", "nb", ",", "ne", ";", "if", "(", "!", "rs6000_is_valid_mask", "(", "mask", ",", "&", "nb", ",", "&", "ne", ",", "mode", ")", ")", "return", "false", ";", "int", "n", "=", "GET_MODE_PRECISION", "(", "mode", ")", ";", "int", "sh", "=", "INTVAL", "(", "XEXP", "(", "shift", ",", "1", ")", ")", ";", "if", "(", "sh", "<", "0", "||", "sh", ">=", "n", ")", "return", "false", ";", "rtx_code", "code", "=", "GET_CODE", "(", "shift", ")", ";", "if", "(", "sh", "==", "0", ")", "code", "=", "ROTATE", ";", "if", "(", "code", "==", "ROTATE", "&&", "sh", ">=", "0", "&&", "nb", ">=", "ne", "&&", "ne", ">=", "sh", ")", "code", "=", "ASHIFT", ";", "if", "(", "code", "==", "ROTATE", "&&", "sh", ">=", "0", "&&", "nb", ">=", "ne", "&&", "nb", "<", "sh", ")", "{", "code", "=", "LSHIFTRT", ";", "sh", "=", "n", "-", "sh", ";", "}", "if", "(", "mode", "==", "DImode", "&&", "code", "==", "ROTATE", ")", "return", "(", "ne", "==", "sh", ")", ";", "if", "(", "mode", "==", "SImode", "&&", "code", "==", "ROTATE", ")", "return", "(", "nb", "<", "32", "&&", "ne", "<", "32", "&&", "sh", "<", "32", ")", ";", "if", "(", "ne", ">", "nb", ")", "return", "false", ";", "if", "(", "code", "==", "ASHIFT", "&&", "ne", "<", "sh", ")", "return", "false", ";", "if", "(", "nb", "<", "32", "&&", "ne", "<", "32", "&&", "sh", "<", "32", "&&", "!", "(", "code", "==", "LSHIFTRT", "&&", "nb", ">=", "32", "-", "sh", ")", ")", "return", "true", ";", "if", "(", "code", "==", "LSHIFTRT", ")", "sh", "=", "64", "-", "sh", ";", "if", "(", "ne", "==", "sh", ")", "return", "!", "(", "code", "==", "LSHIFTRT", "&&", "nb", ">=", "sh", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "whether", "MASK", "(", "a", "CONST_INT", ")", "is", "a", "valid", "mask", "for", "any", "rlwimi", "or", "rldimi", "instruction", ",", "to", "implement", "an", "insert", "with", "shift", "SHIFT", "(", "a", "ROTATE", ",", "ASHIFT", ",", "or", "LSHIFTRT", ")", "in", "mode", "MODE", "."], "TS_V_token": ["powerpcspe", "1", "0", "0", "0", "0", "32", "32", "32", "32", "32", "32", "32", "64"], "File": "powerpcspe", "Func": "rs6000_is_valid_insert_mask", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21834, "Length": 269, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "init_vselect_insn", "(", "void", ")", "{", "unsigned", "i", ";", "rtx", "x", ";", "x", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "MAX_VECT_LEN", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "MAX_VECT_LEN", ";", "++", "i", ")", "XVECEXP", "(", "x", ",", "0", ",", "i", ")", "=", "const0_rtx", ";", "x", "=", "gen_rtx_VEC_SELECT", "(", "V2DFmode", ",", "gen_rtx_VEC_CONCAT", "(", "V4DFmode", ",", "const0_rtx", ",", "const0_rtx", ")", ",", "x", ")", ";", "x", "=", "gen_rtx_SET", "(", "const0_rtx", ",", "x", ")", ";", "start_sequence", "(", ")", ";", "vselect_insn", "=", "emit_insn", "(", "x", ")", ";", "end_sequence", "(", ")", ";", "}", ""], "natrual_language": ["Initialize", "vselect_insn", "."], "TS_V_token": ["i386", "0", "0"], "File": "i386-expand", "Func": "init_vselect_insn", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21835, "Length": 92, "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": 21836, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMFrameLowering", "::", "enableShrinkWrapping", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "STI", ".", "hasV8_1MMainlineOps", "(", ")", "&&", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", "->", "isCmseNSEntryFunction", "(", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "will", "correctly", "handle", "shrink", "wrapping", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMFrameLowering103", "Func": "enableShrinkWrapping", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21837, "Length": 40, "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", "::", "v16i16", ":", "case", "MVT", "::", "v8i32", ":", "case", "MVT", "::", "v4i64", ":", "case", "MVT", "::", "v8f32", ":", "case", "MVT", "::", "v4f64", ":", "case", "MVT", "::", "v64i8", ":", "case", "MVT", "::", "v32i16", ":", "case", "MVT", "::", "v16i32", ":", "case", "MVT", "::", "v8i64", ":", "case", "MVT", "::", "v16f32", ":", "case", "MVT", "::", "v8f64", ":", "RRC", "=", "&", "X86", "::", "VR128XRegClass", ";", "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::v16i16", "MVT::v8i32", "MVT::v4i64", "MVT::v8f32", "MVT::v4f64", "MVT::v64i8", "MVT::v32i16", "MVT::v16i32", "MVT::v8i64", "MVT::v16f32", "MVT::v8f64", "X86::VR128XRegClass"], "File": "X86ISelLowering (2)5", "Func": "findRepresentativeClass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21838, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "or1k_print_operand", "(", "FILE", "*", "file", ",", "rtx", "x", ",", "int", "code", ")", "{", "rtx", "operand", "=", "x", ";", "switch", "(", "code", ")", "{", "case", "'#'", ":", "if", "(", "final_sequence", "==", "NULL", ")", "fputs", "(", "\"\\n\\t l.nop\\n\"", ",", "file", ")", ";", "break", ";", "case", "'r'", ":", "if", "(", "REG_P", "(", "x", ")", ")", "fprintf", "(", "file", ",", "\"%s\"", ",", "reg_names", "[", "REGNO", "(", "operand", ")", "]", ")", ";", "else", "if", "(", "x", "==", "CONST0_RTX", "(", "GET_MODE", "(", "x", ")", ")", ")", "fprintf", "(", "file", ",", "\"r0\"", ")", ";", "else", "output_operand_lossage", "(", "\"invalid %%r value\"", ")", ";", "break", ";", "case", "'H'", ":", "if", "(", "REG_P", "(", "x", ")", ")", "fprintf", "(", "file", ",", "\"%s\"", ",", "reg_names", "[", "REGNO", "(", "operand", ")", "+", "1", "]", ")", ";", "else", "output_operand_lossage", "(", "\"invalid %%H value\"", ")", ";", "break", ";", "case", "'d'", ":", "if", "(", "REG_P", "(", "x", ")", ")", "{", "if", "(", "GET_MODE", "(", "x", ")", "==", "DFmode", "||", "GET_MODE", "(", "x", ")", "==", "DImode", ")", "fprintf", "(", "file", ",", "\"%s,%s\"", ",", "reg_names", "[", "REGNO", "(", "operand", ")", "]", ",", "reg_names", "[", "REGNO", "(", "operand", ")", "+", "1", "]", ")", ";", "else", "fprintf", "(", "file", ",", "\"%s\"", ",", "reg_names", "[", "REGNO", "(", "operand", ")", "]", ")", ";", "}", "else", "output_operand_lossage", "(", "\"invalid %%d value\"", ")", ";", "break", ";", "case", "'h'", ":", "print_reloc", "(", "file", ",", "x", ",", "0", ",", "RKIND_HI", ")", ";", "break", ";", "case", "'L'", ":", "print_reloc", "(", "file", ",", "x", ",", "0", ",", "RKIND_LO", ")", ";", "break", ";", "case", "'P'", ":", "if", "(", "!", "flag_pic", "||", "SYMBOL_REF_LOCAL_P", "(", "x", ")", ")", "output_addr_const", "(", "file", ",", "x", ")", ";", "else", "output_addr_reloc", "(", "file", ",", "x", ",", "0", ",", "\"plt\"", ")", ";", "break", ";", "case", "0", ":", "switch", "(", "GET_CODE", "(", "operand", ")", ")", "{", "case", "REG", ":", "if", "(", "REGNO", "(", "operand", ")", ">", "31", ")", "internal_error", "(", "\"internal error: bad register: %d\"", ",", "REGNO", "(", "operand", ")", ")", ";", "fprintf", "(", "file", ",", "\"%s\"", ",", "reg_names", "[", "REGNO", "(", "operand", ")", "]", ")", ";", "break", ";", "case", "MEM", ":", "output_address", "(", "GET_MODE", "(", "XEXP", "(", "operand", ",", "0", ")", ")", ",", "XEXP", "(", "operand", ",", "0", ")", ")", ";", "break", ";", "case", "CODE_LABEL", ":", "case", "LABEL_REF", ":", "output_asm_label", "(", "operand", ")", ";", "break", ";", "default", ":", "if", "(", "CONSTANT_P", "(", "operand", ")", ")", "output_addr_const", "(", "file", ",", "operand", ")", ";", "else", "internal_error", "(", "\"unexpected operand: %d\"", ",", "GET_CODE", "(", "operand", ")", ")", ";", "break", ";", "}", "break", ";", "default", ":", "output_operand_lossage", "(", "\"unknown operand letter: '%c'\"", ",", "code", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Worker", "for", "TARGET_PRINT_OPERAND", ".", "Print", "operand", "X", ",", "an", "RTX", ",", "to", "the", "file", "FILE", ".", "The", "output", "is", "formed", "as", "expected", "by", "the", "OpenRISC", "assember", ".", "CODE", "is", "the", "letter", "following", "a", "'", "%", "'", "in", "an", "instrunction", "template", "used", "to", "control", "the", "RTX", "output", ".", "Example", "(", "s", ")", ":", "CODE", "RTX", "OUTPUT", "COMMENT", "0", "(", "reg", ":", "SI", "3", ")", "r3", "output", "an", "operand", "r", "(", "reg", ":", "SI", "3", ")", "r3", "output", "a", "register", "or", "const", "zero", "H", "(", "reg", ":", "SI", "3", ")", "r4", "output", "the", "high", "pair", "register", "h", "(", "symbol_ref", ":", "SI", "(", "``", "x", "''", ")", ")", "ha", "(", "x", ")", "output", "a", "signed", "high", "relocation", "L", "(", "symbol_ref", ":", "SI", "(", "``", "x", "''", ")", ")", "lo", "(", "x", ")", "output", "a", "low", "relocation", "Note", ",", "'", "#", "'", "is", "a", "special", "code", "used", "to", "fill", "the", "branch", "delay", "slot", "with", "an", "l.nop", "instruction", ".", "The", "l.nop", "(", "no-op", ")", "instruction", "is", "only", "outputted", "when", "the", "delay", "slot", "has", "not", "been", "filled", "."], "TS_V_token": ["or1k", "\"\\n\\t l.nop\\n\"", "\"%s\"", "\"r0\"", "\"invalid %%r value\"", "\"%s\"", "1", "\"invalid %%H value\"", "\"%s,%s\"", "1", "\"%s\"", "\"invalid %%d value\"", "0", "0", "0", "\"plt\"", "0", "31", "\"internal error: bad register: %d\"", "\"%s\"", "0", "0", "\"unexpected operand: %d\"", "\"unknown operand letter: '%c'\""], "File": "or1k", "Func": "or1k_print_operand", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21839, "Length": 407, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "*", "function_builder", "::", "get_name", "(", "const", "function_instance", "&", "instance", ",", "bool", "overloaded_p", ")", "{", "append_name", "(", "instance", ".", "base_name", ")", ";", "if", "(", "overloaded_p", ")", "switch", "(", "instance", ".", "displacement_units", "(", ")", ")", "{", "case", "UNITS_none", ":", "break", ";", "case", "UNITS_bytes", ":", "append_name", "(", "\"_offset\"", ")", ";", "break", ";", "case", "UNITS_elements", ":", "append_name", "(", "\"_index\"", ")", ";", "break", ";", "case", "UNITS_vectors", ":", "append_name", "(", "\"_vnum\"", ")", ";", "break", ";", "}", "else", "append_name", "(", "instance", ".", "mode_suffix", "(", ")", ".", "string", ")", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "2", ";", "++", "i", ")", "if", "(", "!", "overloaded_p", "||", "instance", ".", "shape", "->", "explicit_type_suffix_p", "(", "i", ")", ")", "append_name", "(", "instance", ".", "type_suffix", "(", "i", ")", ".", "string", ")", ";", "append_name", "(", "pred_suffixes", "[", "instance", ".", "pred", "]", ")", ";", "return", "finish_name", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "overloaded", "or", "full", "function", "name", "for", "INSTANCE", ";", "OVERLOADED_P", "selects", "which", ".", "Allocate", "the", "string", "on", "m_string_obstack", ";", "the", "caller", "must", "use", "obstack_free", "to", "free", "it", "after", "use", "."], "TS_V_token": ["aarch64", "\"_offset\"", "\"_index\"", "\"_vnum\"", "0", "2"], "File": "aarch64-sve-builtins", "Func": "get_name", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21840, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "mulsidi3_gen_fn", "mips_mulsidi3_gen_fn", "(", "enum", "rtx_code", "ext_code", ")", "{", "bool", "signed_p", ";", "signed_p", "=", "ext_code", "==", "SIGN_EXTEND", ";", "if", "(", "TARGET_64BIT", ")", "{", "if", "(", "ISA_HAS_R6DMUL", ")", "return", "signed_p", "?", "gen_mulsidi3_64bit_r6dmul", ":", "NULL", ";", "if", "(", "ISA_HAS_DMUL3", ")", "return", "signed_p", "?", "gen_mulsidi3_64bit_dmul", ":", "NULL", ";", "if", "(", "TARGET_MIPS16", ")", "return", "(", "signed_p", "?", "gen_mulsidi3_64bit_mips16", ":", "gen_umulsidi3_64bit_mips16", ")", ";", "if", "(", "TARGET_FIX_R4000", ")", "return", "NULL", ";", "return", "signed_p", "?", "gen_mulsidi3_64bit", ":", "gen_umulsidi3_64bit", ";", "}", "else", "{", "if", "(", "ISA_HAS_R6MUL", ")", "return", "(", "signed_p", "?", "gen_mulsidi3_32bit_r6", ":", "gen_umulsidi3_32bit_r6", ")", ";", "if", "(", "TARGET_MIPS16", ")", "return", "(", "signed_p", "?", "gen_mulsidi3_32bit_mips16", ":", "gen_umulsidi3_32bit_mips16", ")", ";", "if", "(", "TARGET_FIX_R4000", "&&", "!", "ISA_HAS_DSP", ")", "return", "signed_p", "?", "gen_mulsidi3_32bit_r4000", ":", "gen_umulsidi3_32bit_r4000", ";", "return", "signed_p", "?", "gen_mulsidi3_32bit", ":", "gen_umulsidi3_32bit", ";", "}", "}", ""], "natrual_language": ["Return", "the", "function", "that", "is", "used", "to", "expand", "the", "<", "u", ">", "mulsidi3", "pattern", ".", "EXT_CODE", "is", "the", "code", "of", "the", "extension", "used", ".", "Return", "NULL", "if", "widening", "multiplication", "should", "n't", "be", "used", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_mulsidi3_gen_fn", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21841, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "std", "::", "unique_ptr", "<", "X86Operand", ">", "CreateReg", "(", "unsigned", "RegNo", ",", "SMLoc", "StartLoc", ",", "SMLoc", "EndLoc", ",", "bool", "AddressOf", "=", "false", ",", "SMLoc", "OffsetOfLoc", "=", "SMLoc", "(", ")", ",", "StringRef", "SymName", "=", "StringRef", "(", ")", ",", "void", "*", "OpDecl", "=", "nullptr", ")", "{", "auto", "Res", "=", "llvm", "::", "make_unique", "<", "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"], "File": "X86Operand (2)", "Func": "CreateReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21842, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "aarch64_hard_regno_mode_ok", "(", "unsigned", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_CC", ")", "return", "regno", "==", "CC_REGNUM", ";", "if", "(", "regno", "==", "SP_REGNUM", ")", "return", "mode", "==", "Pmode", "||", "mode", "==", "ptr_mode", ";", "if", "(", "regno", "==", "FRAME_POINTER_REGNUM", "||", "regno", "==", "ARG_POINTER_REGNUM", ")", "return", "mode", "==", "Pmode", ";", "if", "(", "GP_REGNUM_P", "(", "regno", ")", "&&", "!", "aarch64_vect_struct_mode_p", "(", "mode", ")", ")", "return", "1", ";", "if", "(", "FP_REGNUM_P", "(", "regno", ")", ")", "{", "if", "(", "aarch64_vect_struct_mode_p", "(", "mode", ")", ")", "return", "(", "regno", "+", "aarch64_hard_regno_nregs", "(", "regno", ",", "mode", ")", "-", "1", ")", "<=", "V31_REGNUM", ";", "else", "return", "1", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Implement", "HARD_REGNO_MODE_OK", "."], "TS_V_token": ["aarch64", "1", "1", "1", "0"], "File": "aarch642", "Func": "aarch64_hard_regno_mode_ok", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21843, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64Operand", "::", "print", "(", "raw_ostream", "&", "OS", ")", "const", "{", "switch", "(", "Kind", ")", "{", "case", "k_CondCode", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "k_FPImmediate", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "k_ImmWithLSL", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "k_Immediate", ":", "getImm", "(", ")", "->", "print", "(", "OS", ")", ";", "break", ";", "case", "k_Register", ":", "OS", "<<", "\"'", ";", "break", ";", "case", "k_Token", ":", "OS", "<<", "'\\''", "<<", "getToken", "(", ")", "<<", "'\\''", ";", "break", ";", "case", "k_ShiftExtend", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "k_SysReg", ":", "{", "StringRef", "Name", "(", "SysReg", ".", "Data", ",", "SysReg", ".", "Length", ")", ";", "OS", "<<", "\"'", ";", "break", ";", "}", "default", ":", "llvm_unreachable", "(", "\"No idea how to print this kind of operand\"", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["AArch64", "AArch64", "\"\"", "\"\"", "\"\"", "\"\"", "\"", "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": 21845, "Length": 379, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "thumb_expand_movmemqi", "(", "rtx", "*", "operands", ")", "{", "rtx", "out", "=", "copy_to_mode_reg", "(", "SImode", ",", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ")", ";", "rtx", "in", "=", "copy_to_mode_reg", "(", "SImode", ",", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ")", ";", "HOST_WIDE_INT", "len", "=", "INTVAL", "(", "operands", "[", "2", "]", ")", ";", "HOST_WIDE_INT", "offset", "=", "0", ";", "while", "(", "len", ">=", "12", ")", "{", "emit_insn", "(", "gen_movmem12b", "(", "out", ",", "in", ",", "out", ",", "in", ")", ")", ";", "len", "-=", "12", ";", "}", "if", "(", "len", ">=", "8", ")", "{", "emit_insn", "(", "gen_movmem8b", "(", "out", ",", "in", ",", "out", ",", "in", ")", ")", ";", "len", "-=", "8", ";", "}", "if", "(", "len", ">=", "4", ")", "{", "rtx", "reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_movsi", "(", "reg", ",", "gen_rtx_MEM", "(", "SImode", ",", "in", ")", ")", ")", ";", "emit_insn", "(", "gen_movsi", "(", "gen_rtx_MEM", "(", "SImode", ",", "out", ")", ",", "reg", ")", ")", ";", "len", "-=", "4", ";", "offset", "+=", "4", ";", "}", "if", "(", "len", ">=", "2", ")", "{", "rtx", "reg", "=", "gen_reg_rtx", "(", "HImode", ")", ";", "emit_insn", "(", "gen_movhi", "(", "reg", ",", "gen_rtx_MEM", "(", "HImode", ",", "plus_constant", "(", "Pmode", ",", "in", ",", "offset", ")", ")", ")", ")", ";", "emit_insn", "(", "gen_movhi", "(", "gen_rtx_MEM", "(", "HImode", ",", "plus_constant", "(", "Pmode", ",", "out", ",", "offset", ")", ")", ",", "reg", ")", ")", ";", "len", "-=", "2", ";", "offset", "+=", "2", ";", "}", "if", "(", "len", ")", "{", "rtx", "reg", "=", "gen_reg_rtx", "(", "QImode", ")", ";", "emit_insn", "(", "gen_movqi", "(", "reg", ",", "gen_rtx_MEM", "(", "QImode", ",", "plus_constant", "(", "Pmode", ",", "in", ",", "offset", ")", ")", ")", ")", ";", "emit_insn", "(", "gen_movqi", "(", "gen_rtx_MEM", "(", "QImode", ",", "plus_constant", "(", "Pmode", ",", "out", ",", "offset", ")", ")", ",", "reg", ")", ")", ";", "}", "}", ""], "natrual_language": ["Routines", "for", "generating", "rtl", "."], "TS_V_token": ["arm", "0", "0", "1", "0", "2", "0", "12", "12", "8", "8", "4", "4", "4", "2", "2", "2"], "File": "arm4", "Func": "thumb_expand_movmemqi", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21846, "Length": 293, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Align", "getABIAlignmentForCallingConv", "(", "Type", "*", "ArgTy", ",", "DataLayout", "DL", ")", "const", "override", "{", "const", "Align", "ABIAlign", "=", "DL", ".", "getABITypeAlign", "(", "ArgTy", ")", ";", "if", "(", "ArgTy", "->", "isVectorTy", "(", ")", ")", "return", "std", "::", "min", "(", "ABIAlign", ",", "Align", "(", "8", ")", ")", ";", "return", "ABIAlign", ";", "}", ""], "natrual_language": ["Return", "the", "correct", "alignment", "for", "the", "current", "calling", "convention", "."], "TS_V_token": ["Mips", "8"], "File": "MipsISelLowering32", "Func": "getABIAlignmentForCallingConv", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21847, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HARD_REG_SET", "sparc_zero_call_used_regs", "(", "HARD_REG_SET", "need_zeroed_hardregs", ")", "{", "for", "(", "unsigned", "int", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "TEST_HARD_REG_BIT", "(", "need_zeroed_hardregs", ",", "regno", ")", ")", "{", "if", "(", "regno", ">=", "SPARC_FCC_REG", "||", "(", "regno", ">=", "SPARC_FIRST_FP_REG", "&&", "!", "TARGET_VIS", ")", ")", "CLEAR_HARD_REG_BIT", "(", "need_zeroed_hardregs", ",", "regno", ")", ";", "else", "if", "(", "regno", ">=", "SPARC_FIRST_V9_FP_REG", "&&", "(", "regno", "&", "1", ")", ")", ";", "else", "{", "machine_mode", "mode", ";", "rtx", "reg", ";", "if", "(", "regno", "<", "SPARC_FIRST_FP_REG", ")", "{", "reg", "=", "regno_reg_rtx", "[", "regno", "]", ";", "mode", "=", "GET_MODE", "(", "reg", ")", ";", "}", "else", "{", "mode", "=", "regno", "<", "SPARC_FIRST_V9_FP_REG", "?", "SFmode", ":", "DFmode", ";", "reg", "=", "gen_raw_REG", "(", "mode", ",", "regno", ")", ";", "}", "emit_move_insn", "(", "reg", ",", "CONST0_RTX", "(", "mode", ")", ")", ";", "}", "}", "return", "need_zeroed_hardregs", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ZERO_CALL_USED_REGS", ".", "Generate", "a", "sequence", "of", "instructions", "that", "zero", "registers", "specified", "by", "NEED_ZEROED_HARDREGS", ".", "Return", "the", "ZEROED_HARDREGS", "that", "are", "actually", "zeroed", "."], "TS_V_token": ["sparc", "0", "1"], "File": "sparc", "Func": "sparc_zero_call_used_regs", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21848, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseRegisterInfo", "::", "isFrameOffsetLegal", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "const", "MCInstrDesc", "&", "Desc", "=", "MI", "->", "getDesc", "(", ")", ";", "unsigned", "AddrMode", "=", "(", "Desc", ".", "TSFlags", "&", "ARMII", "::", "AddrModeMask", ")", ";", "unsigned", "i", "=", "0", ";", "for", "(", ";", "!", "MI", "->", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ";", "++", "i", ")", "assert", "(", "i", "+", "1", "<", "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", "=", "(", "BaseReg", "==", "ARM", "::", "SP", "?", "8", ":", "5", ")", ";", "Scale", "=", "4", ";", "isSigned", "=", "false", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Unsupported addressing mode!\"", ")", ";", "}", "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", "1", "\"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", "ARM::SP", "8", "5", "4", "\"Unsupported addressing mode!\"", "1", "0", "0", "1", "1"], "File": "ARMBaseRegisterInfo17", "Func": "isFrameOffsetLegal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21849, "Length": 306, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "VETargetLowering", "::", "lowerToVVP", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "const", "unsigned", "Opcode", "=", "Op", "->", "getOpcode", "(", ")", ";", "auto", "VVPOpcodeOpt", "=", "getVVPOpcode", "(", "Opcode", ")", ";", "if", "(", "!", "VVPOpcodeOpt", ".", "hasValue", "(", ")", ")", "return", "SDValue", "(", ")", ";", "unsigned", "VVPOpcode", "=", "VVPOpcodeOpt", ".", "getValue", "(", ")", ";", "const", "bool", "FromVP", "=", "ISD", "::", "isVPOpcode", "(", "Opcode", ")", ";", "VECustomDAG", "CDAG", "(", "DAG", ",", "Op", ")", ";", "MVT", "MaskVT", "=", "MVT", "::", "v256i1", ";", "EVT", "OpVecVT", "=", "Op", ".", "getValueType", "(", ")", ";", "EVT", "LegalVecVT", "=", "getTypeToTransformTo", "(", "*", "DAG", ".", "getContext", "(", ")", ",", "OpVecVT", ")", ";", "SDValue", "AVL", ";", "SDValue", "Mask", ";", "if", "(", "FromVP", ")", "{", "auto", "MaskIdx", "=", "ISD", "::", "getVPMaskIdx", "(", "Opcode", ")", ".", "getValue", "(", ")", ";", "auto", "AVLIdx", "=", "ISD", "::", "getVPExplicitVectorLengthIdx", "(", "Opcode", ")", ".", "getValue", "(", ")", ";", "Mask", "=", "Op", "->", "getOperand", "(", "MaskIdx", ")", ";", "AVL", "=", "Op", "->", "getOperand", "(", "AVLIdx", ")", ";", "}", "else", "{", "AVL", "=", "CDAG", ".", "getConstant", "(", "OpVecVT", ".", "getVectorNumElements", "(", ")", ",", "MVT", "::", "i32", ")", ";", "SDValue", "ConstTrue", "=", "CDAG", ".", "getConstant", "(", "1", ",", "MVT", "::", "i32", ")", ";", "Mask", "=", "CDAG", ".", "getBroadcast", "(", "MaskVT", ",", "ConstTrue", ",", "AVL", ")", ";", "}", "if", "(", "isVVPBinaryOp", "(", "VVPOpcode", ")", ")", "{", "assert", "(", "LegalVecVT", ".", "isSimple", "(", ")", ")", ";", "return", "CDAG", ".", "getNode", "(", "VVPOpcode", ",", "LegalVecVT", ",", "{", "Op", "->", "getOperand", "(", "0", ")", ",", "Op", "->", "getOperand", "(", "1", ")", ",", "Mask", ",", "AVL", "}", ")", ";", "}", "if", "(", "VVPOpcode", "==", "VEISD", "::", "VVP_SELECT", ")", "{", "auto", "Mask", "=", "Op", "->", "getOperand", "(", "0", ")", ";", "auto", "OnTrue", "=", "Op", "->", "getOperand", "(", "1", ")", ";", "auto", "OnFalse", "=", "Op", "->", "getOperand", "(", "2", ")", ";", "return", "CDAG", ".", "getNode", "(", "VVPOpcode", ",", "LegalVecVT", ",", "{", "OnTrue", ",", "OnFalse", ",", "Mask", ",", "AVL", "}", ")", ";", "}", "llvm_unreachable", "(", "\"lowerToVVP called for unexpected SDNode.\"", ")", ";", "}", ""], "natrual_language": ["}", "Custom", "Inserter"], "TS_V_token": ["VE", "VE", "ISD::isVPOpcode", "VE", "MVT::v256i1", "ISD::getVPMaskIdx", "ISD::getVPExplicitVectorLengthIdx", "MVT::i32", "1", "MVT::i32", "0", "1", "VEISD::VVP_SELECT", "0", "1", "2", "\"lowerToVVP called for unexpected SDNode.\""], "File": "VEISelLowering18", "Func": "lowerToVVP", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21850, "Length": 324, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64FrameLowering", "::", "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", "(", ")", ";", "unsigned", "Count", "=", "CSI", ".", "size", "(", ")", ";", "DebugLoc", "DL", ";", "assert", "(", "(", "Count", "&", "1", ")", "==", "0", "&&", "\"Odd number of callee-saved regs to spill!\"", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Count", ";", "i", "+=", "2", ")", "{", "unsigned", "idx", "=", "Count", "-", "i", "-", "2", ";", "unsigned", "Reg1", "=", "CSI", "[", "idx", "]", ".", "getReg", "(", ")", ";", "unsigned", "Reg2", "=", "CSI", "[", "idx", "+", "1", "]", ".", "getReg", "(", ")", ";", "assert", "(", "CSI", "[", "idx", "]", ".", "getFrameIdx", "(", ")", "+", "1", "==", "CSI", "[", "idx", "+", "1", "]", ".", "getFrameIdx", "(", ")", "&&", "\"Out of order callee saved regs!\"", ")", ";", "unsigned", "StrOpc", ";", "assert", "(", "(", "Count", "&", "1", ")", "==", "0", "&&", "\"Odd number of callee-saved regs to spill!\"", ")", ";", "assert", "(", "(", "i", "&", "1", ")", "==", "0", "&&", "\"Odd index for callee-saved reg spill!\"", ")", ";", "if", "(", "ARM64", "::", "GPR64RegClass", ".", "contains", "(", "Reg1", ")", ")", "{", "assert", "(", "ARM64", "::", "GPR64RegClass", ".", "contains", "(", "Reg2", ")", "&&", "\"Expected GPR64 callee-saved register pair!\"", ")", ";", "if", "(", "i", "==", "0", ")", "StrOpc", "=", "ARM64", "::", "STPXpre", ";", "else", "StrOpc", "=", "ARM64", "::", "STPXi", ";", "}", "else", "if", "(", "ARM64", "::", "FPR64RegClass", ".", "contains", "(", "Reg1", ")", ")", "{", "assert", "(", "ARM64", "::", "FPR64RegClass", ".", "contains", "(", "Reg2", ")", "&&", "\"Expected FPR64 callee-saved register pair!\"", ")", ";", "if", "(", "i", "==", "0", ")", "StrOpc", "=", "ARM64", "::", "STPDpre", ";", "else", "StrOpc", "=", "ARM64", "::", "STPDi", ";", "}", "else", "llvm_unreachable", "(", "\"Unexpected callee saved register!\"", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"CSR spill: (\"", "<<", "TRI", "->", "getName", "(", "Reg1", ")", "<<", "\", \"", "<<", "TRI", "->", "getName", "(", "Reg2", ")", "<<", "\") -> fi#(\"", "<<", "CSI", "[", "idx", "]", ".", "getFrameIdx", "(", ")", "<<", "\", \"", "<<", "CSI", "[", "idx", "+", "1", "]", ".", "getFrameIdx", "(", ")", "<<", "\")\\n\"", ")", ";", "const", "int", "Offset", "=", "(", "i", "==", "0", ")", "?", "-", "Count", ":", "i", ";", "assert", "(", "(", "Offset", ">=", "-", "64", "&&", "Offset", "<=", "63", ")", "&&", "\"Offset out of bounds for STP immediate\"", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "StrOpc", ")", ")", ".", "addReg", "(", "Reg2", ",", "getPrologueDeath", "(", "MF", ",", "Reg2", ")", ")", ".", "addReg", "(", "Reg1", ",", "getPrologueDeath", "(", "MF", ",", "Reg1", ")", ")", ".", "addReg", "(", "ARM64", "::", "SP", ")", ".", "addImm", "(", "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": ["ARM64", "ARM64", "1", "0", "\"Odd number of callee-saved regs to spill!\"", "0", "2", "2", "1", "1", "1", "\"Out of order callee saved regs!\"", "1", "0", "\"Odd number of callee-saved regs to spill!\"", "1", "0", "\"Odd index for callee-saved reg spill!\"", "ARM64::GPR64RegClass", "ARM64::GPR64RegClass", "\"Expected GPR64 callee-saved register pair!\"", "0", "ARM64::STPXpre", "ARM64::STPXi", "ARM64::FPR64RegClass", "ARM64::FPR64RegClass", "\"Expected FPR64 callee-saved register pair!\"", "0", "ARM64::STPDpre", "ARM64::STPDi", "\"Unexpected callee saved register!\"", "\"CSR spill: (\"", "\", \"", "\") -> fi#(\"", "\", \"", "1", "\")\\n\"", "0", "64", "63", "\"Offset out of bounds for STP immediate\"", "ARM64::SP"], "File": "ARM64FrameLowering", "Func": "spillCalleeSavedRegisters", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21851, "Length": 453, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ix86_reg_parm_stack_space", "(", "const_tree", "fndecl", ")", "{", "enum", "calling_abi", "call_abi", "=", "SYSV_ABI", ";", "if", "(", "fndecl", "!=", "NULL_TREE", "&&", "TREE_CODE", "(", "fndecl", ")", "==", "FUNCTION_DECL", ")", "call_abi", "=", "ix86_function_abi", "(", "fndecl", ")", ";", "else", "call_abi", "=", "ix86_function_type_abi", "(", "fndecl", ")", ";", "if", "(", "TARGET_64BIT", "&&", "call_abi", "==", "MS_ABI", ")", "return", "32", ";", "return", "0", ";", "}", ""], "natrual_language": ["It", "returns", "the", "size", ",", "in", "bytes", ",", "of", "the", "area", "reserved", "for", "arguments", "passed", "in", "registers", "for", "the", "function", "represented", "by", "fndecl", "dependent", "to", "the", "used", "abi", "format", "."], "TS_V_token": ["i386", "32", "0"], "File": "i386", "Func": "ix86_reg_parm_stack_space", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21852, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "isToken", "(", ")", "const", "LLVM_OVERRIDE", "{", "return", "Kind", "==", "KindToken", ";", "}", ""], "natrual_language": ["isToken", "-", "Is", "this", "a", "token", "operand", "?"], "TS_V_token": ["SystemZ"], "File": "SystemZAsmParser10", "Func": "isToken", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21853, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips16_expand_get_fcsr", "(", "rtx", "target", ")", "{", "if", "(", "!", "mips16_get_fcsr_stub", ")", "mips16_get_fcsr_stub", "=", "new", "mips16_get_fcsr_one_only_stub", "(", ")", ";", "rtx", "fn", "=", "mips16_stub_call_address", "(", "mips16_get_fcsr_stub", ")", ";", "emit_insn", "(", "PMODE_INSN", "(", "gen_mips_get_fcsr_mips16", ",", "(", "fn", ")", ")", ")", ";", "emit_move_insn", "(", "target", ",", "gen_rtx_REG", "(", "SImode", ",", "GET_FCSR_REGNUM", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "``", "TARGET", "=", "__builtin_mips_get_fcsr", "(", ")", "''", "for", "MIPS16", ",", "using", "a", "stub", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips16_expand_get_fcsr", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21854, "Length": 52, "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": 21855, "Length": 344, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMLoadStoreOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "const", "TargetMachine", "&", "TM", "=", "Fn", ".", "getTarget", "(", ")", ";", "AFI", "=", "Fn", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "TII", "=", "TM", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "TM", ".", "getRegisterInfo", "(", ")", ";", "RS", "=", "new", "RegScavenger", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "MFI", "=", "Fn", ".", "begin", "(", ")", ",", "E", "=", "Fn", ".", "end", "(", ")", ";", "MFI", "!=", "E", ";", "++", "MFI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MFI", ";", "Modified", "|=", "LoadStoreMultipleOpti", "(", "MBB", ")", ";", "Modified", "|=", "MergeReturnIntoLDM", "(", "MBB", ")", ";", "}", "delete", "RS", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMLoadStoreOptimizer27", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21856, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "XNCMDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"Selecting: \"", ")", ";", "DEBUG", "(", "Node", "->", "dump", "(", "CurDAG", ")", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"== \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "return", "NULL", ";", "}", "switch", "(", "Node", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "}", "SDNode", "*", "ResNode", "=", "SelectCode", "(", "Node", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"=> \"", ")", ";", "if", "(", "ResNode", "==", "NULL", "||", "ResNode", "==", "Node", ")", "DEBUG", "(", "Node", "->", "dump", "(", "CurDAG", ")", ")", ";", "else", "DEBUG", "(", "ResNode", "->", "dump", "(", "CurDAG", ")", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "return", "ResNode", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["XNCM", "XNCM", "\"Selecting: \"", "\"\\n\"", "\"== \"", "\"\\n\"", "\"=> \"", "\"\\n\""], "File": "XNCMISelDAGToDAG", "Func": "Select", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21857, "Length": 150, "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", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "PPCFunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", ";", "unsigned", "LR", "=", "RegInfo", "->", "getRARegister", "(", ")", ";", "FI", "->", "setMustSaveLR", "(", "MustSaveLR", "(", "MF", ",", "LR", ")", ")", ";", "SavedRegs", ".", "reset", "(", "LR", ")", ";", "int", "FPSI", "=", "FI", "->", "getFramePointerSaveIndex", "(", ")", ";", "const", "bool", "isPPC64", "=", "Subtarget", ".", "isPPC64", "(", ")", ";", "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", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", "&&", "(", "SavedRegs", ".", "test", "(", "PPC", "::", "CR2", ")", "||", "SavedRegs", ".", "test", "(", "PPC", "::", "CR3", ")", "||", "SavedRegs", ".", "test", "(", "PPC", "::", "CR4", ")", ")", ")", "{", "const", "uint64_t", "SpillSize", "=", "4", ";", "const", "int64_t", "SpillOffset", "=", "Subtarget", ".", "isPPC64", "(", ")", "?", "8", ":", "-", "4", ";", "int", "FrameIdx", "=", "MFI", ".", "CreateFixedObject", "(", "SpillSize", ",", "SpillOffset", ",", "true", ",", "false", ")", ";", "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", "8", "4", "PPC", "8", "4", "4", "8", "PPC", "PPC::X31", "PPC::R31", "PPC::R30", "0", "0", "1", "PPC::CR2", "PPC::CR3", "PPC::CR4", "4", "PPC", "8", "4"], "File": "PPCFrameLowering92", "Func": "determineCalleeSaves", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21858, "Length": 429, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMAsmParser", "::", "checkTargetMatchPredicate", "(", "MCInst", "&", "Inst", ")", "{", "unsigned", "Opc", "=", "Inst", ".", "getOpcode", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "MII", ".", "get", "(", "Opc", ")", ";", "if", "(", "MCID", ".", "TSFlags", "&", "ARMII", "::", "ThumbArithFlagSetting", ")", "{", "assert", "(", "MCID", ".", "hasOptionalDef", "(", ")", "&&", "\"optionally flag setting instruction missing optional def operand\"", ")", ";", "assert", "(", "MCID", ".", "NumOperands", "==", "Inst", ".", "getNumOperands", "(", ")", "&&", "\"operand count mismatch!\"", ")", ";", "unsigned", "OpNo", ";", "for", "(", "OpNo", "=", "0", ";", "!", "MCID", ".", "OpInfo", "[", "OpNo", "]", ".", "isOptionalDef", "(", ")", "&&", "OpNo", "<", "MCID", ".", "NumOperands", ";", "++", "OpNo", ")", ";", "if", "(", "isThumbOne", "(", ")", "&&", "Inst", ".", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", "!=", "ARM", "::", "CPSR", ")", "return", "Match_RequiresFlagSetting", ";", "if", "(", "isThumbTwo", "(", ")", "&&", "Inst", ".", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", "!=", "ARM", "::", "CPSR", "&&", "!", "inITBlock", "(", ")", ")", "return", "Match_RequiresITBlock", ";", "if", "(", "isThumbTwo", "(", ")", "&&", "Inst", ".", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", "==", "ARM", "::", "CPSR", "&&", "inITBlock", "(", ")", ")", "return", "Match_RequiresNotITBlock", ";", "if", "(", "Opc", "==", "ARM", "::", "tLSLri", "&&", "Inst", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "==", "0", "&&", "inITBlock", "(", ")", ")", "return", "Match_RequiresNotITBlock", ";", "}", "else", "if", "(", "isThumbOne", "(", ")", ")", "{", "if", "(", "Opc", "==", "ARM", "::", "tADDhirr", "&&", "!", "hasV6MOps", "(", ")", "&&", "isARMLowRegister", "(", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", "&&", "isARMLowRegister", "(", "Inst", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ")", "return", "Match_RequiresThumb2", ";", "else", "if", "(", "Opc", "==", "ARM", "::", "tMOVr", "&&", "!", "hasV6Ops", "(", ")", "&&", "isARMLowRegister", "(", "Inst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", "&&", "isARMLowRegister", "(", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ")", "return", "Match_RequiresV6", ";", "}", "if", "(", "Opc", "==", "ARM", "::", "t2MOVr", "&&", "!", "hasV8Ops", "(", ")", ")", "{", "if", "(", "Inst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "ARM", "::", "SP", "&&", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "ARM", "::", "SP", ")", "return", "Match_RequiresV8", ";", "if", "(", "Inst", ".", "getOperand", "(", "4", ")", ".", "getReg", "(", ")", "==", "ARM", "::", "CPSR", "&&", "(", "Inst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "ARM", "::", "SP", "||", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "ARM", "::", "SP", ")", ")", "return", "Match_RequiresV8", ";", "}", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "MCID", ".", "NumOperands", ";", "++", "I", ")", "if", "(", "MCID", ".", "OpInfo", "[", "I", "]", ".", "RegClass", "==", "ARM", "::", "rGPRRegClassID", ")", "{", "if", "(", "(", "Inst", ".", "getOperand", "(", "I", ")", ".", "getReg", "(", ")", "==", "ARM", "::", "SP", ")", "&&", "!", "hasV8Ops", "(", ")", ")", "return", "Match_RequiresV8", ";", "else", "if", "(", "Inst", ".", "getOperand", "(", "I", ")", ".", "getReg", "(", ")", "==", "ARM", "::", "PC", ")", "return", "Match_InvalidOperand", ";", "}", "return", "Match_Success", ";", "}", ""], "natrual_language": ["checkTargetMatchPredicate", "-", "Validate", "the", "instruction", "match", "against", "any", "complex", "target", "predicates", "not", "expressible", "via", "match", "classes", "."], "TS_V_token": ["ARM", "ARM", "ARMII::ThumbArithFlagSetting", "\"optionally flag setting instruction missing optional def operand\"", "\"operand count mismatch!\"", "0", "ARM::CPSR", "ARM::CPSR", "ARM::CPSR", "ARM::tLSLri", "3", "0", "ARM::tADDhirr", "ARM", "1", "ARM", "2", "ARM::tMOVr", "ARM", "0", "ARM", "1", "ARM::t2MOVr", "0", "ARM::SP", "1", "ARM::SP", "4", "ARM::CPSR", "0", "ARM::SP", "1", "ARM::SP", "0", "ARM::rGPRRegClassID", "ARM::SP", "ARM::PC"], "File": "ARMAsmParser10", "Func": "checkTargetMatchPredicate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21859, "Length": 494, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "expandPostRAPseudo", "(", "MachineInstr", "&", "MI", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "TargetOpcode", "::", "LOAD_STACK_GUARD", ":", "{", "assert", "(", "Subtarget", ".", "isTargetLinux", "(", ")", "&&", "\"Only Linux target is expected to contain LOAD_STACK_GUARD\"", ")", ";", "const", "int64_t", "Offset", "=", "Subtarget", ".", "isPPC64", "(", ")", "?", "-", "0x7010", ":", "-", "0x7008", ";", "const", "unsigned", "Reg", "=", "Subtarget", ".", "isPPC64", "(", ")", "?", "PPC", "::", "X13", ":", "PPC", "::", "R2", ";", "MI", ".", "setDesc", "(", "get", "(", "Subtarget", ".", "isPPC64", "(", ")", "?", "PPC", "::", "LD", ":", "PPC", "::", "LWZ", ")", ")", ";", "MachineInstrBuilder", "(", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ".", "addImm", "(", "Offset", ")", ".", "addReg", "(", "Reg", ")", ";", "return", "true", ";", "}", "case", "PPC", "::", "DFLOADf32", ":", "case", "PPC", "::", "DFLOADf64", ":", "case", "PPC", "::", "DFSTOREf32", ":", "case", "PPC", "::", "DFSTOREf64", ":", "{", "assert", "(", "Subtarget", ".", "hasP9Vector", "(", ")", "&&", "\"Invalid D-Form Pseudo-ops on non-P9 target.\"", ")", ";", "unsigned", "UpperOpcode", ",", "LowerOpcode", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "PPC", "::", "DFLOADf32", ":", "UpperOpcode", "=", "PPC", "::", "LXSSP", ";", "LowerOpcode", "=", "PPC", "::", "LFS", ";", "break", ";", "case", "PPC", "::", "DFLOADf64", ":", "UpperOpcode", "=", "PPC", "::", "LXSD", ";", "LowerOpcode", "=", "PPC", "::", "LFD", ";", "break", ";", "case", "PPC", "::", "DFSTOREf32", ":", "UpperOpcode", "=", "PPC", "::", "STXSSP", ";", "LowerOpcode", "=", "PPC", "::", "STFS", ";", "break", ";", "case", "PPC", "::", "DFSTOREf64", ":", "UpperOpcode", "=", "PPC", "::", "STXSD", ";", "LowerOpcode", "=", "PPC", "::", "STFD", ";", "break", ";", "}", "unsigned", "TargetReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "unsigned", "Opcode", ";", "if", "(", "(", "TargetReg", ">=", "PPC", "::", "F0", "&&", "TargetReg", "<=", "PPC", "::", "F31", ")", "||", "(", "TargetReg", ">=", "PPC", "::", "VSL0", "&&", "TargetReg", "<=", "PPC", "::", "VSL31", ")", ")", "Opcode", "=", "LowerOpcode", ";", "else", "Opcode", "=", "UpperOpcode", ";", "MI", ".", "setDesc", "(", "get", "(", "Opcode", ")", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["PowerPC", "PPC", "\"Only Linux target is expected to contain LOAD_STACK_GUARD\"", "PPC", "0x7010", "0x7008", "PPC", "PPC::X13", "PPC::R2", "PPC", "PPC::LD", "PPC::LWZ", "PPC::DFLOADf32", "PPC::DFLOADf64", "PPC::DFSTOREf32", "PPC::DFSTOREf64", "\"Invalid D-Form Pseudo-ops on non-P9 target.\"", "PPC::DFLOADf32", "PPC::LXSSP", "PPC::LFS", "PPC::DFLOADf64", "PPC::LXSD", "PPC::LFD", "PPC::DFSTOREf32", "PPC::STXSSP", "PPC::STFS", "PPC::DFSTOREf64", "PPC::STXSD", "PPC::STFD", "0", "PPC::F0", "PPC::F31", "PPC::VSL0", "PPC::VSL31"], "File": "PPCInstrInfo101", "Func": "expandPostRAPseudo", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21860, "Length": 321, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "loongarch_split_move_insn_p", "(", "rtx", "dest", ",", "rtx", "src", ")", "{", "return", "loongarch_split_move_p", "(", "dest", ",", "src", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "move", "from", "SRC", "to", "DEST", "in", "INSN", "should", "be", "split", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_split_move_insn_p", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21861, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintWeight", "PPCTargetLowering", "::", "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", "'b'", ":", "if", "(", "type", "->", "isIntegerTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'f'", ":", "if", "(", "type", "->", "isFloatTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'d'", ":", "if", "(", "type", "->", "isDoubleTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'v'", ":", "if", "(", "type", "->", "isVectorTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'y'", ":", "weight", "=", "CW_Register", ";", "break", ";", "}", "return", "weight", ";", "}", ""], "natrual_language": ["Examine", "constraint", "string", "and", "operand", "type", "and", "determine", "a", "weight", "value", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCISelLowering115", "Func": "getSingleConstraintMatchWeight", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21862, "Length": 154, "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": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_emit_vector_compare", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21863, "Length": 426, "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", ";", "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": "ARMConstantIslandPass23", "Func": "isBBInRange", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21864, "Length": 143, "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": 21865, "Length": 326, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "SMShadowTracker", ".", "startFunction", "(", "MF", ")", ";", "CodeEmitter", ".", "reset", "(", "TM", ".", "getTarget", "(", ")", ".", "createMCCodeEmitter", "(", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ",", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ",", "MF", ".", "getContext", "(", ")", ")", ")", ";", "SetupMachineFunction", "(", "MF", ")", ";", "if", "(", "Subtarget", "->", "isTargetCOFF", "(", ")", ")", "{", "bool", "Local", "=", "MF", ".", "getFunction", "(", ")", "->", "hasLocalLinkage", "(", ")", ";", "OutStreamer", "->", "BeginCOFFSymbolDef", "(", "CurrentFnSym", ")", ";", "OutStreamer", "->", "EmitCOFFSymbolStorageClass", "(", "Local", "?", "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", "(", ")", ";", "emitXRayTable", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86AsmPrinter18", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21866, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "SystemZInstrInfo", "::", "commuteInstructionImpl", "(", "MachineInstr", "&", "MI", ",", "bool", "NewMI", ",", "unsigned", "OpIdx1", ",", "unsigned", "OpIdx2", ")", "const", "{", "auto", "cloneIfNew", "=", "[", "NewMI", "]", "(", "MachineInstr", "&", "MI", ")", "->", "MachineInstr", "&", "{", "if", "(", "NewMI", ")", "return", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "CloneMachineInstr", "(", "&", "MI", ")", ";", "return", "MI", ";", "}", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "SystemZ", "::", "LOCRMux", ":", "case", "SystemZ", "::", "LOCFHR", ":", "case", "SystemZ", "::", "LOCR", ":", "case", "SystemZ", "::", "LOCGR", ":", "{", "auto", "&", "WorkingMI", "=", "cloneIfNew", "(", "MI", ")", ";", "unsigned", "CCValid", "=", "WorkingMI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "unsigned", "CCMask", "=", "WorkingMI", ".", "getOperand", "(", "4", ")", ".", "getImm", "(", ")", ";", "WorkingMI", ".", "getOperand", "(", "4", ")", ".", "setImm", "(", "CCMask", "^", "CCValid", ")", ";", "return", "TargetInstrInfo", "::", "commuteInstructionImpl", "(", "WorkingMI", ",", "false", ",", "OpIdx1", ",", "OpIdx2", ")", ";", "}", "default", ":", "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": ["SystemZ", "SystemZ", "SystemZ::LOCRMux", "SystemZ::LOCFHR", "SystemZ::LOCR", "SystemZ::LOCGR", "3", "4", "4"], "File": "SystemZInstrInfo (2)2", "Func": "commuteInstructionImpl", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21867, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rx_elf_asm_cdtor", "(", "rtx", "symbol", ",", "int", "priority", ",", "bool", "is_ctor", ")", "{", "section", "*", "s", ";", "if", "(", "priority", "!=", "DEFAULT_INIT_PRIORITY", ")", "{", "char", "buf", "[", "18", "]", ";", "sprintf", "(", "buf", ",", "\"%s.%.5u\"", ",", "is_ctor", "?", "\".init_array\"", ":", "\".fini_array\"", ",", "priority", ")", ";", "s", "=", "get_section", "(", "buf", ",", "SECTION_WRITE", ",", "NULL_TREE", ")", ";", "}", "else", "if", "(", "is_ctor", ")", "s", "=", "ctors_section", ";", "else", "s", "=", "dtors_section", ";", "switch_to_section", "(", "s", ")", ";", "assemble_align", "(", "POINTER_SIZE", ")", ";", "assemble_integer", "(", "symbol", ",", "POINTER_SIZE", "/", "BITS_PER_UNIT", ",", "POINTER_SIZE", ",", "1", ")", ";", "}", ""], "natrual_language": ["Place", "an", "element", "into", "a", "constructor", "or", "destructor", "section", ".", "Like", "default_ctor_section_asm_out_constructor", "in", "varasm.cc", "except", "that", "it", "uses", ".init_array", "(", "or", ".fini_array", ")", "and", "it", "handles", "constructor", "priorities", "."], "TS_V_token": ["rx", "18", "\"%s.%.5u\"", "\".init_array\"", "\".fini_array\"", "1"], "File": "rx", "Func": "rx_elf_asm_cdtor", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21868, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmBackend", "::", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "static", "const", "uint8_t", "Nops", "[", "10", "]", "[", "10", "]", "=", "{", "{", "0x90", "}", ",", "{", "0x66", ",", "0x90", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x40", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x44", ",", "0x00", ",", "0x00", "}", ",", "{", "0x66", ",", "0x0f", ",", "0x1f", ",", "0x44", ",", "0x00", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x80", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x84", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "{", "0x66", ",", "0x0f", ",", "0x1f", ",", "0x84", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "{", "0x66", ",", "0x2e", ",", "0x0f", ",", "0x1f", ",", "0x84", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "}", ";", "const", "uint64_t", "OptimalCount", "=", "(", "Count", "<", "16", ")", "?", "Count", ":", "15", ";", "const", "uint64_t", "Prefixes", "=", "OptimalCount", "<=", "10", "?", "0", ":", "OptimalCount", "-", "10", ";", "for", "(", "uint64_t", "i", "=", "0", ",", "e", "=", "Prefixes", ";", "i", "!=", "e", ";", "i", "++", ")", "OW", "->", "Write8", "(", "0x66", ")", ";", "const", "uint64_t", "Rest", "=", "OptimalCount", "-", "Prefixes", ";", "for", "(", "uint64_t", "i", "=", "0", ",", "e", "=", "Rest", ";", "i", "!=", "e", ";", "i", "++", ")", "OW", "->", "Write8", "(", "Nops", "[", "Rest", "-", "1", "]", "[", "i", "]", ")", ";", "for", "(", "uint64_t", "i", "=", "OptimalCount", ",", "e", "=", "Count", ";", "i", "!=", "e", ";", "++", "i", ")", "OW", "->", "Write8", "(", "0x90", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["X86", "X86", "10", "10", "0x90", "0x66", "0x90", "0x0f", "0x1f", "0x00", "0x0f", "0x1f", "0x40", "0x00", "0x0f", "0x1f", "0x44", "0x00", "0x00", "0x66", "0x0f", "0x1f", "0x44", "0x00", "0x00", "0x0f", "0x1f", "0x80", "0x00", "0x00", "0x00", "0x00", "0x0f", "0x1f", "0x84", "0x00", "0x00", "0x00", "0x00", "0x00", "0x66", "0x0f", "0x1f", "0x84", "0x00", "0x00", "0x00", "0x00", "0x00", "0x66", "0x2e", "0x0f", "0x1f", "0x84", "0x00", "0x00", "0x00", "0x00", "0x00", "16", "15", "10", "0", "10", "0", "0x66", "0", "1", "0x90"], "File": "X86AsmBackend59", "Func": "writeNopData", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21869, "Length": 281, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "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)", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21870, "Length": 112, "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_64", "(", "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": "MipsISelLowering126", "Func": "isShiftedMask", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21871, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_cpu_name_lookup", "(", "const", "char", "*", "name", ")", "{", "size_t", "i", ";", "if", "(", "name", "!=", "NULL", ")", "{", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "processor_target_table", ")", ";", "i", "++", ")", "if", "(", "!", "strcmp", "(", "name", ",", "processor_target_table", "[", "i", "]", ".", "name", ")", ")", "return", "(", "int", ")", "i", ";", "}", "return", "-", "1", ";", "}", ""], "natrual_language": ["Look", "up", "a", "processor", "name", "for", "-mcpu=xxx", "and", "-mtune=xxx", ".", "Return", "-1", "if", "the", "name", "is", "invalid", "."], "TS_V_token": ["powerpcspe", "0", "1"], "File": "powerpcspe", "Func": "rs6000_cpu_name_lookup", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21872, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_emit_approx_sqrt", "(", "rtx", "dst", ",", "rtx", "src", ",", "bool", "recp", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "dst", ")", ";", "if", "(", "GET_MODE_INNER", "(", "mode", ")", "==", "HFmode", ")", "{", "gcc_assert", "(", "!", "recp", ")", ";", "return", "false", ";", "}", "if", "(", "!", "recp", ")", "{", "if", "(", "!", "(", "flag_mlow_precision_sqrt", "||", "(", "aarch64_tune_params", ".", "approx_modes", "->", "sqrt", "&", "AARCH64_APPROX_MODE", "(", "mode", ")", ")", ")", ")", "return", "false", ";", "if", "(", "!", "flag_finite_math_only", "||", "flag_trapping_math", "||", "!", "flag_unsafe_math_optimizations", "||", "optimize_function_for_size_p", "(", "cfun", ")", ")", "return", "false", ";", "}", "else", "gcc_assert", "(", "use_rsqrt_p", "(", "mode", ")", ")", ";", "rtx", "pg", "=", "NULL_RTX", ";", "if", "(", "aarch64_sve_mode_p", "(", "mode", ")", ")", "pg", "=", "aarch64_ptrue_reg", "(", "aarch64_sve_pred_mode", "(", "mode", ")", ")", ";", "machine_mode", "mmsk", "=", "(", "VECTOR_MODE_P", "(", "mode", ")", "?", "related_int_vector_mode", "(", "mode", ")", ".", "require", "(", ")", ":", "int_mode_for_mode", "(", "mode", ")", ".", "require", "(", ")", ")", ";", "rtx", "xmsk", "=", "NULL_RTX", ";", "if", "(", "!", "recp", ")", "{", "rtx", "zero", "=", "CONST0_RTX", "(", "mode", ")", ";", "if", "(", "pg", ")", "{", "xmsk", "=", "gen_reg_rtx", "(", "GET_MODE", "(", "pg", ")", ")", ";", "rtx", "hint", "=", "gen_int_mode", "(", "SVE_KNOWN_PTRUE", ",", "SImode", ")", ";", "emit_insn", "(", "gen_aarch64_pred_fcm", "(", "UNSPEC_COND_FCMNE", ",", "mode", ",", "xmsk", ",", "pg", ",", "hint", ",", "src", ",", "zero", ")", ")", ";", "}", "else", "{", "xmsk", "=", "gen_reg_rtx", "(", "mmsk", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "xmsk", ",", "gen_rtx_NEG", "(", "mmsk", ",", "gen_rtx_EQ", "(", "mmsk", ",", "src", ",", "zero", ")", ")", ")", ")", ";", "}", "}", "rtx", "xdst", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_aarch64_rsqrte", "(", "mode", ",", "xdst", ",", "src", ")", ")", ";", "int", "iterations", "=", "(", "GET_MODE_INNER", "(", "mode", ")", "==", "DFmode", ")", "?", "3", ":", "2", ";", "if", "(", "(", "recp", "&&", "flag_mrecip_low_precision_sqrt", ")", "||", "(", "!", "recp", "&&", "flag_mlow_precision_sqrt", ")", ")", "iterations", "--", ";", "rtx", "x1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "while", "(", "iterations", "--", ")", "{", "rtx", "x2", "=", "gen_reg_rtx", "(", "mode", ")", ";", "aarch64_emit_mult", "(", "x2", ",", "pg", ",", "xdst", ",", "xdst", ")", ";", "emit_insn", "(", "gen_aarch64_rsqrts", "(", "mode", ",", "x1", ",", "src", ",", "x2", ")", ")", ";", "if", "(", "iterations", ">", "0", ")", "aarch64_emit_mult", "(", "xdst", ",", "pg", ",", "xdst", ",", "x1", ")", ";", "}", "if", "(", "!", "recp", ")", "{", "if", "(", "pg", ")", "emit_insn", "(", "gen_cond", "(", "UNSPEC_COND_FMUL", ",", "mode", ",", "xdst", ",", "xmsk", ",", "xdst", ",", "src", ",", "CONST0_RTX", "(", "mode", ")", ")", ")", ";", "else", "{", "rtx", "xtmp", "=", "gen_reg_rtx", "(", "mmsk", ")", ";", "emit_set_insn", "(", "xtmp", ",", "gen_rtx_AND", "(", "mmsk", ",", "gen_rtx_NOT", "(", "mmsk", ",", "xmsk", ")", ",", "gen_rtx_SUBREG", "(", "mmsk", ",", "xdst", ",", "0", ")", ")", ")", ";", "emit_move_insn", "(", "xdst", ",", "gen_rtx_SUBREG", "(", "mode", ",", "xtmp", ",", "0", ")", ")", ";", "aarch64_emit_mult", "(", "xdst", ",", "pg", ",", "xdst", ",", "src", ")", ";", "}", "}", "aarch64_emit_mult", "(", "dst", ",", "pg", ",", "xdst", ",", "x1", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Emit", "instruction", "sequence", "to", "compute", "either", "the", "approximate", "square", "root", "or", "its", "approximate", "reciprocal", ",", "depending", "on", "the", "flag", "RECP", ",", "and", "return", "whether", "the", "sequence", "was", "emitted", "or", "not", "."], "TS_V_token": ["aarch64", "3", "2", "0", "0", "0"], "File": "aarch64", "Func": "aarch64_emit_approx_sqrt", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21873, "Length": 476, "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": ["ARM64"], "File": "ARM64TargetMachine", "Func": "getDataLayout", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21874, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_hard_regno_mode_ok", "(", "int", "regno", ",", "enum", "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", "||", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_PARTIAL_INT", ")", "return", "0", ";", "if", "(", "FP_REGNO_P", "(", "regno", ")", ")", "return", "VALID_FP_MODE_P", "(", "mode", ")", ";", "if", "(", "SSE_REGNO_P", "(", "regno", ")", ")", "{", "return", "(", "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", "(", "regno", "<", "4", "||", "TARGET_64BIT", ")", "return", "1", ";", "if", "(", "!", "TARGET_PARTIAL_REG_STALL", ")", "return", "1", ";", "return", "reload_in_progress", "||", "reload_completed", ";", "}", "else", "if", "(", "VALID_INT_MODE_P", "(", "mode", ")", ")", "return", "1", ";", "else", "if", "(", "VALID_FP_MODE_P", "(", "mode", ")", ")", "return", "1", ";", "else", "if", "(", "VALID_MMX_REG_MODE_3DNOW", "(", "mode", ")", "||", "VALID_MMX_REG_MODE", "(", "mode", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "hard", "register", "REGNO", "can", "hold", "a", "value", "of", "machine-mode", "MODE", "."], "TS_V_token": ["i386", "0", "4", "1", "1", "1", "1", "1", "0"], "File": "i3863", "Func": "ix86_hard_regno_mode_ok", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21875, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mem_shadd_or_shadd_rtx_p", "(", "rtx", "x", ")", "{", "return", "(", "(", "GET_CODE", "(", "x", ")", "==", "ASHIFT", "||", "GET_CODE", "(", "x", ")", "==", "MULT", ")", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "CONST_INT", "&&", "(", "(", "GET_CODE", "(", "x", ")", "==", "ASHIFT", "&&", "pa_shadd_constant_p", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", ")", "||", "(", "GET_CODE", "(", "x", ")", "==", "MULT", "&&", "pa_mem_shadd_constant_p", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", ")", ")", ")", ";", "}", ""], "natrual_language": ["Helper", "for", "hppa_legitimize_address", ".", "Given", "X", ",", "return", "true", "if", "it", "is", "a", "left", "shift", "by", "1", ",", "2", "or", "3", "positions", "or", "a", "multiply", "by", "2", ",", "4", "or", "8", ".", "This", "respectively", "represent", "canonical", "shift-add", "rtxs", "or", "scaled", "memory", "addresses", "."], "TS_V_token": ["pa", "1", "1", "1"], "File": "pa", "Func": "mem_shadd_or_shadd_rtx_p", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21876, "Length": 86, "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": 21877, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "do_sub3", "(", "rtx", "dest", ",", "rtx", "src1", ",", "rtx", "src2", ")", "{", "if", "(", "GET_MODE", "(", "dest", ")", "==", "DImode", ")", "emit_insn", "(", "gen_subdi3", "(", "dest", ",", "src1", ",", "src2", ")", ")", ";", "else", "emit_insn", "(", "gen_subsi3", "(", "dest", ",", "src1", ",", "src2", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "subtract", "of", "the", "proper", "mode", "for", "DEST", ".", "DEST", "is", "the", "destination", "register", "for", "the", "subtract", ".", "SRC1", "is", "the", "first", "subtract", "input", ".", "SRC2", "is", "the", "second", "subtract", "input", ".", "Computes", "DEST", "=", "SRC1-SRC2", "."], "TS_V_token": ["rs6000"], "File": "rs6000-string", "Func": "do_sub3", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21878, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "enableEarlyIfConversion", "(", ")", "const", "override", "{", "return", "hasISEL", "(", ")", ";", "}", ""], "natrual_language": ["Enable", "the", "use", "of", "the", "early", "if", "conversion", "pass", "."], "TS_V_token": ["PowerPC"], "File": "PPCSubtarget (2)1", "Func": "enableEarlyIfConversion", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21879, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TargetLowering", "::", "ComputeNumSignBitsForTargetNode", "(", "SDValue", "Op", ",", "const", "APInt", "&", "DemandedElts", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "unsigned", "VTBits", "=", "Op", ".", "getScalarValueSizeInBits", "(", ")", ";", "unsigned", "Opcode", "=", "Op", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "case", "X86ISD", "::", "SETCC_CARRY", ":", "return", "VTBits", ";", "case", "X86ISD", "::", "VSEXT", ":", "{", "SDValue", "Src", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "unsigned", "Tmp", "=", "DAG", ".", "ComputeNumSignBits", "(", "Src", ",", "Depth", "+", "1", ")", ";", "Tmp", "+=", "VTBits", "-", "Src", ".", "getScalarValueSizeInBits", "(", ")", ";", "return", "Tmp", ";", "}", "case", "X86ISD", "::", "PACKSS", ":", "{", "unsigned", "SrcBits", "=", "Op", ".", "getOperand", "(", "0", ")", ".", "getScalarValueSizeInBits", "(", ")", ";", "unsigned", "Tmp0", "=", "DAG", ".", "ComputeNumSignBits", "(", "Op", ".", "getOperand", "(", "0", ")", ",", "Depth", "+", "1", ")", ";", "unsigned", "Tmp1", "=", "DAG", ".", "ComputeNumSignBits", "(", "Op", ".", "getOperand", "(", "1", ")", ",", "Depth", "+", "1", ")", ";", "unsigned", "Tmp", "=", "std", "::", "min", "(", "Tmp0", ",", "Tmp1", ")", ";", "if", "(", "Tmp", ">", "(", "SrcBits", "-", "VTBits", ")", ")", "return", "Tmp", "-", "(", "SrcBits", "-", "VTBits", ")", ";", "return", "1", ";", "}", "case", "X86ISD", "::", "VSHLI", ":", "{", "SDValue", "Src", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "unsigned", "Tmp", "=", "DAG", ".", "ComputeNumSignBits", "(", "Src", ",", "Depth", "+", "1", ")", ";", "APInt", "ShiftVal", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "1", ")", ")", "->", "getAPIntValue", "(", ")", ";", "if", "(", "ShiftVal", ".", "uge", "(", "VTBits", ")", ")", "return", "VTBits", ";", "if", "(", "ShiftVal", ".", "uge", "(", "Tmp", ")", ")", "return", "1", ";", "return", "Tmp", "-", "ShiftVal", ".", "getZExtValue", "(", ")", ";", "}", "case", "X86ISD", "::", "VSRAI", ":", "{", "SDValue", "Src", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "unsigned", "Tmp", "=", "DAG", ".", "ComputeNumSignBits", "(", "Src", ",", "Depth", "+", "1", ")", ";", "APInt", "ShiftVal", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "1", ")", ")", "->", "getAPIntValue", "(", ")", ";", "ShiftVal", "+=", "Tmp", ";", "return", "ShiftVal", ".", "uge", "(", "VTBits", ")", "?", "VTBits", ":", "ShiftVal", ".", "getZExtValue", "(", ")", ";", "}", "case", "X86ISD", "::", "PCMPGT", ":", "case", "X86ISD", "::", "PCMPEQ", ":", "case", "X86ISD", "::", "CMPP", ":", "case", "X86ISD", "::", "VPCOM", ":", "case", "X86ISD", "::", "VPCOMU", ":", "return", "VTBits", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["Determine", "the", "number", "of", "bits", "in", "the", "operation", "that", "are", "sign", "bits", "."], "TS_V_token": ["X86", "X86", "X86ISD::SETCC_CARRY", "X86ISD::VSEXT", "0", "1", "X86ISD::PACKSS", "0", "0", "1", "1", "1", "1", "X86ISD::VSHLI", "0", "1", "1", "1", "X86ISD::VSRAI", "0", "1", "1", "X86ISD::PCMPGT", "X86ISD::PCMPEQ", "X86ISD::CMPP", "X86ISD::VPCOM", "X86ISD::VPCOMU", "1"], "File": "X86ISelLowering71", "Func": "ComputeNumSignBitsForTargetNode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21880, "Length": 379, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "ParamLoadedValue", ">", "AArch64InstrInfo", "::", "describeLoadedValue", "(", "const", "MachineInstr", "&", "MI", ",", "Register", "Reg", ")", "const", "{", "const", "MachineFunction", "*", "MF", "=", "MI", ".", "getMF", "(", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "MF", "->", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "AArch64", "::", "MOVZWi", ":", "case", "AArch64", "::", "MOVZXi", ":", "{", "if", "(", "!", "TRI", "->", "isSuperRegisterEq", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "Reg", ")", ")", "return", "None", ";", "if", "(", "!", "MI", ".", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", ")", "return", "None", ";", "int64_t", "Immediate", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "int", "Shift", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "return", "ParamLoadedValue", "(", "MachineOperand", "::", "CreateImm", "(", "Immediate", "<<", "Shift", ")", ",", "nullptr", ")", ";", "}", "case", "AArch64", "::", "ORRWrs", ":", "case", "AArch64", "::", "ORRXrs", ":", "return", "describeORRLoadedValue", "(", "MI", ",", "Reg", ",", "this", ",", "TRI", ")", ";", "}", "return", "TargetInstrInfo", "::", "describeLoadedValue", "(", "MI", ",", "Reg", ")", ";", "}", ""], "natrual_language": ["Produce", "the", "expression", "describing", "the", "MI", "loading", "a", "value", "into", "the", "physical", "register", "Reg", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::MOVZWi", "AArch64::MOVZXi", "0", "1", "1", "2", "AArch64::ORRWrs", "AArch64::ORRXrs"], "File": "AArch64InstrInfo104", "Func": "describeLoadedValue", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21881, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "X86TargetLowering", "::", "getNegatedExpression", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ",", "bool", "LegalOperations", ",", "bool", "ForCodeSize", ",", "unsigned", "Depth", ")", "const", "{", "if", "(", "SDValue", "Arg", "=", "isFNEG", "(", "DAG", ",", "Op", ".", "getNode", "(", ")", ",", "Depth", ")", ")", "return", "DAG", ".", "getBitcast", "(", "Op", ".", "getValueType", "(", ")", ",", "Arg", ")", ";", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "EVT", "SVT", "=", "VT", ".", "getScalarType", "(", ")", ";", "unsigned", "Opc", "=", "Op", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "case", "ISD", "::", "FMA", ":", "case", "X86ISD", "::", "FMSUB", ":", "case", "X86ISD", "::", "FNMADD", ":", "case", "X86ISD", "::", "FNMSUB", ":", "case", "X86ISD", "::", "FMADD_RND", ":", "case", "X86ISD", "::", "FMSUB_RND", ":", "case", "X86ISD", "::", "FNMADD_RND", ":", "case", "X86ISD", "::", "FNMSUB_RND", ":", "{", "if", "(", "!", "Op", ".", "hasOneUse", "(", ")", "||", "!", "Subtarget", ".", "hasAnyFMA", "(", ")", "||", "!", "isTypeLegal", "(", "VT", ")", "||", "!", "(", "SVT", "==", "MVT", "::", "f32", "||", "SVT", "==", "MVT", "::", "f64", ")", "||", "!", "LegalOperations", ")", "break", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "NewOps", "(", "Op", ".", "getNumOperands", "(", ")", ",", "SDValue", "(", ")", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "!=", "3", ";", "++", "i", ")", "{", "char", "V", "=", "isNegatibleForFree", "(", "Op", ".", "getOperand", "(", "i", ")", ",", "DAG", ",", "LegalOperations", ",", "ForCodeSize", ",", "Depth", "+", "1", ")", ";", "if", "(", "V", "==", "2", ")", "NewOps", "[", "i", "]", "=", "getNegatedExpression", "(", "Op", ".", "getOperand", "(", "i", ")", ",", "DAG", ",", "LegalOperations", ",", "ForCodeSize", ",", "Depth", "+", "1", ")", ";", "}", "bool", "NegA", "=", "!", "!", "NewOps", "[", "0", "]", ";", "bool", "NegB", "=", "!", "!", "NewOps", "[", "1", "]", ";", "bool", "NegC", "=", "!", "!", "NewOps", "[", "2", "]", ";", "unsigned", "NewOpc", "=", "negateFMAOpcode", "(", "Opc", ",", "NegA", "!=", "NegB", ",", "NegC", ",", "true", ")", ";", "for", "(", "int", "i", "=", "0", ",", "e", "=", "Op", ".", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "if", "(", "!", "NewOps", "[", "i", "]", ")", "NewOps", "[", "i", "]", "=", "Op", ".", "getOperand", "(", "i", ")", ";", "return", "DAG", ".", "getNode", "(", "NewOpc", ",", "SDLoc", "(", "Op", ")", ",", "VT", ",", "NewOps", ")", ";", "}", "}", "return", "TargetLowering", "::", "getNegatedExpression", "(", "Op", ",", "DAG", ",", "LegalOperations", ",", "ForCodeSize", ",", "Depth", ")", ";", "}", ""], "natrual_language": ["Return", "the", "newly", "negated", "expression", "if", "the", "cost", "is", "not", "expensive", "and", "set", "the", "cost", "in", "Cost", "to", "indicate", "that", "if", "it", "is", "cheaper", "or", "neutral", "to", "do", "the", "negation", "."], "TS_V_token": ["X86", "X86", "ISD::FMA", "X86ISD::FMSUB", "X86ISD::FNMADD", "X86ISD::FNMSUB", "X86ISD::FMADD_RND", "X86ISD::FMSUB_RND", "X86ISD::FNMADD_RND", "X86ISD::FNMSUB_RND", "MVT::f32", "MVT::f64", "4", "0", "3", "1", "2", "1", "0", "1", "2", "0"], "File": "X86ISelLowering (2)6", "Func": "getNegatedExpression", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21882, "Length": 383, "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": 21883, "Length": 92, "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", ".", "isNullValue", "(", ")", ")", "{", "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": "X86InstCombineIntrinsic7", "Func": "simplifyDemandedUseBitsIntrinsic", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21884, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_emit_approx_div", "(", "rtx", "quo", ",", "rtx", "num", ",", "rtx", "den", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "quo", ")", ";", "if", "(", "GET_MODE_INNER", "(", "mode", ")", "==", "HFmode", ")", "return", "false", ";", "bool", "use_approx_division_p", "=", "(", "flag_mlow_precision_div", "||", "(", "aarch64_tune_params", ".", "approx_modes", "->", "division", "&", "AARCH64_APPROX_MODE", "(", "mode", ")", ")", ")", ";", "if", "(", "!", "flag_finite_math_only", "||", "flag_trapping_math", "||", "!", "flag_unsafe_math_optimizations", "||", "optimize_function_for_size_p", "(", "cfun", ")", "||", "!", "use_approx_division_p", ")", "return", "false", ";", "if", "(", "!", "TARGET_SIMD", "&&", "VECTOR_MODE_P", "(", "mode", ")", ")", "return", "false", ";", "rtx", "pg", "=", "NULL_RTX", ";", "if", "(", "aarch64_sve_mode_p", "(", "mode", ")", ")", "pg", "=", "aarch64_ptrue_reg", "(", "aarch64_sve_pred_mode", "(", "mode", ")", ")", ";", "rtx", "xrcp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_aarch64_frecpe", "(", "mode", ",", "xrcp", ",", "den", ")", ")", ";", "int", "iterations", "=", "(", "GET_MODE_INNER", "(", "mode", ")", "==", "DFmode", ")", "?", "3", ":", "2", ";", "if", "(", "flag_mlow_precision_div", ")", "iterations", "=", "(", "GET_MODE_INNER", "(", "mode", ")", "==", "DFmode", "?", "aarch64_double_recp_precision", ":", "aarch64_float_recp_precision", ")", ";", "rtx", "xtmp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "while", "(", "iterations", "--", ")", "{", "emit_insn", "(", "gen_aarch64_frecps", "(", "mode", ",", "xtmp", ",", "xrcp", ",", "den", ")", ")", ";", "if", "(", "iterations", ">", "0", ")", "aarch64_emit_mult", "(", "xrcp", ",", "pg", ",", "xrcp", ",", "xtmp", ")", ";", "}", "if", "(", "num", "!=", "CONST1_RTX", "(", "mode", ")", ")", "{", "rtx", "xnum", "=", "force_reg", "(", "mode", ",", "num", ")", ";", "aarch64_emit_mult", "(", "xrcp", ",", "pg", ",", "xrcp", ",", "xnum", ")", ";", "}", "aarch64_emit_mult", "(", "quo", ",", "pg", ",", "xrcp", ",", "xtmp", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Emit", "the", "instruction", "sequence", "to", "compute", "the", "approximation", "for", "the", "division", "of", "NUM", "by", "DEN", "in", "QUO", "and", "return", "whether", "the", "sequence", "was", "emitted", "or", "not", "."], "TS_V_token": ["aarch64", "3", "2", "0"], "File": "aarch64", "Func": "aarch64_emit_approx_div", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21885, "Length": 257, "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": 21886, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZLDCleanup", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "TII", "=", "static_cast", "<", "const", "SystemZInstrInfo", "*", ">", "(", "F", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MF", "=", "&", "F", ";", "SystemZMachineFunctionInfo", "*", "MFI", "=", "F", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "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": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "2", "0"], "File": "SystemZLDCleanup", "Func": "runOnMachineFunction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21887, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "bool", "Changed", "=", "false", ";", "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": ["AZPR"], "File": "DelaySlotFiller", "Func": "runOnMachineFunction", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21888, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{", "return", "createARMMachObjectWriter", "(", "OS", ",", "false", ",", "MachO", "::", "CPU_TYPE_ARM", ",", "Subtype", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMAsmBackend68", "Func": "createObjectWriter", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21889, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "if", "(", "SystemZ", "::", "GR128BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "copyPhysReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "RI", ".", "getSubReg", "(", "DestReg", ",", "SystemZ", "::", "subreg_h64", ")", ",", "RI", ".", "getSubReg", "(", "SrcReg", ",", "SystemZ", "::", "subreg_h64", ")", ",", "KillSrc", ")", ";", "copyPhysReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "RI", ".", "getSubReg", "(", "DestReg", ",", "SystemZ", "::", "subreg_l64", ")", ",", "RI", ".", "getSubReg", "(", "SrcReg", ",", "SystemZ", "::", "subreg_l64", ")", ",", "KillSrc", ")", ";", "return", ";", "}", "if", "(", "SystemZ", "::", "GRX32BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "emitGRX32Move", "(", "MBB", ",", "MBBI", ",", "DL", ",", "DestReg", ",", "SrcReg", ",", "SystemZ", "::", "LR", ",", "32", ",", "KillSrc", ")", ";", "return", ";", "}", "unsigned", "Opcode", ";", "if", "(", "SystemZ", "::", "GR64BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "LGR", ";", "else", "if", "(", "SystemZ", "::", "FP32BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "STI", ".", "hasVector", "(", ")", "?", "SystemZ", "::", "LDR32", ":", "SystemZ", "::", "LER", ";", "else", "if", "(", "SystemZ", "::", "FP64BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "LDR", ";", "else", "if", "(", "SystemZ", "::", "FP128BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "LXR", ";", "else", "if", "(", "SystemZ", "::", "VR32BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "VLR32", ";", "else", "if", "(", "SystemZ", "::", "VR64BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "VLR64", ";", "else", "if", "(", "SystemZ", "::", "VR128BitRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "Opcode", "=", "SystemZ", "::", "VLR", ";", "else", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "Opcode", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ::GR128BitRegClass", "SystemZ::subreg_h64", "SystemZ::subreg_h64", "SystemZ::subreg_l64", "SystemZ::subreg_l64", "SystemZ::GRX32BitRegClass", "SystemZ::LR", "32", "SystemZ::GR64BitRegClass", "SystemZ::LGR", "SystemZ::FP32BitRegClass", "SystemZ::LDR32", "SystemZ::LER", "SystemZ::FP64BitRegClass", "SystemZ::LDR", "SystemZ::FP128BitRegClass", "SystemZ::LXR", "SystemZ::VR32BitRegClass", "SystemZ::VLR32", "SystemZ::VR64BitRegClass", "SystemZ::VLR64", "SystemZ::VR128BitRegClass", "SystemZ::VLR", "\"Impossible reg-to-reg copy\""], "File": "SystemZInstrInfo49", "Func": "copyPhysReg", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21890, "Length": 334, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64RegisterInfo", "::", "shouldCoalesce", "(", "MachineInstr", "*", "MI", ",", "const", "TargetRegisterClass", "*", "SrcRC", ",", "unsigned", "SubReg", ",", "const", "TargetRegisterClass", "*", "DstRC", ",", "unsigned", "DstSubReg", ",", "const", "TargetRegisterClass", "*", "NewRC", ",", "LiveIntervals", "&", "LIS", ")", "const", "{", "if", "(", "MI", "->", "isCopy", "(", ")", "&&", "(", "(", "DstRC", "->", "getID", "(", ")", "==", "AArch64", "::", "GPR64RegClassID", ")", "||", "(", "DstRC", "->", "getID", "(", ")", "==", "AArch64", "::", "GPR64commonRegClassID", ")", ")", "&&", "MI", "->", "getOperand", "(", "0", ")", ".", "getSubReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "1", ")", ".", "getSubReg", "(", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Subtarget", "Hooks", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::GPR64RegClassID", "AArch64::GPR64commonRegClassID", "0", "1"], "File": "AArch64RegisterInfo25", "Func": "shouldCoalesce", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21891, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "MCAsmInfo", "*", "createMCAsmInfo", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ")", "{", "Triple", "TheTriple", "(", "TT", ")", ";", "bool", "isPPC64", "=", "TheTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "ppc64", ";", "if", "(", "TheTriple", ".", "getOS", "(", ")", "==", "Triple", "::", "Darwin", ")", "return", "new", "PPCMCAsmInfoDarwin", "(", "isPPC64", ")", ";", "return", "new", "PPCLinuxMCAsmInfo", "(", "isPPC64", ")", ";", "}", ""], "natrual_language": ["createMCAsmInfo", "-", "Create", "a", "MCAsmInfo", "implementation", "for", "the", "specified", "target", "triple", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC"], "File": "PPCTargetMachine82", "Func": "createMCAsmInfo", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21892, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "LC3InstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "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": ["LC3", "LC3", "0"], "File": "LC3InstrInfo", "Func": "isStoreToStackSlot", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21893, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_expand_compare_and_swap", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "bval", ",", "rval", ",", "mem", ",", "oldval", ",", "newval", ",", "is_weak", ",", "mod_s", ",", "mod_f", ",", "x", ";", "machine_mode", "mode", ",", "cmp_mode", ";", "typedef", "rtx", "(", "*", "gen_cas_fn", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "int", "idx", ";", "gen_cas_fn", "gen", ";", "const", "gen_cas_fn", "split_cas", "[", "]", "=", "{", "gen_aarch64_compare_and_swapqi", ",", "gen_aarch64_compare_and_swaphi", ",", "gen_aarch64_compare_and_swapsi", ",", "gen_aarch64_compare_and_swapdi", "}", ";", "const", "gen_cas_fn", "atomic_cas", "[", "]", "=", "{", "gen_aarch64_compare_and_swapqi_lse", ",", "gen_aarch64_compare_and_swaphi_lse", ",", "gen_aarch64_compare_and_swapsi_lse", ",", "gen_aarch64_compare_and_swapdi_lse", "}", ";", "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", ")", ";", "cmp_mode", "=", "mode", ";", "if", "(", "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", "QImode", ":", "case", "HImode", ":", "cmp_mode", "=", "SImode", ";", "rval", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "oldval", "=", "convert_modes", "(", "SImode", ",", "mode", ",", "oldval", ",", "true", ")", ";", "case", "SImode", ":", "case", "DImode", ":", "if", "(", "!", "aarch64_plus_operand", "(", "oldval", ",", "mode", ")", ")", "oldval", "=", "force_reg", "(", "cmp_mode", ",", "oldval", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "switch", "(", "mode", ")", "{", "case", "QImode", ":", "idx", "=", "0", ";", "break", ";", "case", "HImode", ":", "idx", "=", "1", ";", "break", ";", "case", "SImode", ":", "idx", "=", "2", ";", "break", ";", "case", "DImode", ":", "idx", "=", "3", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "TARGET_LSE", ")", "gen", "=", "atomic_cas", "[", "idx", "]", ";", "else", "gen", "=", "split_cas", "[", "idx", "]", ";", "emit_insn", "(", "gen", "(", "rval", ",", "mem", ",", "oldval", ",", "newval", ",", "is_weak", ",", "mod_s", ",", "mod_f", ")", ")", ";", "if", "(", "mode", "==", "QImode", "||", "mode", "==", "HImode", ")", "emit_move_insn", "(", "operands", "[", "1", "]", ",", "gen_lowpart", "(", "mode", ",", "rval", ")", ")", ";", "x", "=", "gen_rtx_REG", "(", "CCmode", ",", "CC_REGNUM", ")", ";", "x", "=", "gen_rtx_EQ", "(", "SImode", ",", "x", ",", "const0_rtx", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "bval", ",", "x", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "compare", "and", "swap", "pattern", "."], "TS_V_token": ["aarch64", "0", "1", "2", "3", "4", "5", "6", "7", "0", "1", "2", "3", "1"], "File": "aarch643", "Func": "aarch64_expand_compare_and_swap", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21894, "Length": 403, "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", "]", ")", "{", "if", "(", "ExtraCode", "[", "1", "]", "!=", "0", ")", "return", "true", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "default", ":", "return", "true", ";", "case", "'y'", ":", "{", "const", "char", "*", "RegName", "=", "\"r0\"", ";", "if", "(", "!", "Subtarget", "->", "isDarwin", "(", ")", ")", "RegName", "=", "stripRegisterPrefix", "(", "RegName", ")", ";", "O", "<<", "RegName", "<<", "\", \"", ";", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "}", "case", "'U'", ":", "case", "'X'", ":", "{", "assert", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isReg", "(", ")", ")", ";", "return", "false", ";", "}", "}", "}", "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", "1", "0", "0", "\"r0\"", "\", \"", "\"0(\"", "\")\""], "File": "PPCAsmPrinter (2)1", "Func": "PrintAsmMemoryOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21895, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MipsSubtarget", "::", "MipsSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "little", ")", ":", "MipsArchVersion", "(", "Mips1", ")", ",", "MipsABI", "(", "O32", ")", ",", "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", "CPU", "=", "\"mips1\"", ";", "MipsArchVersion", "=", "Mips1", ";", "ParseSubtargetFeatures", "(", "FS", ",", "CPU", ")", ";", "if", "(", "TT", ".", "find", "(", "\"linux\"", ")", "==", "std", "::", "string", "::", "npos", ")", "IsLinux", "=", "false", ";", "if", "(", "TT", ".", "find", "(", "\"mipsallegrex\"", ")", "!=", "std", "::", "string", "::", "npos", "||", "TT", ".", "find", "(", "\"psp\"", ")", "!=", "std", "::", "string", "::", "npos", ")", "{", "MipsABI", "=", "EABI", ";", "IsSingleFloat", "=", "true", ";", "MipsArchVersion", "=", "Mips2", ";", "HasVFPU", "=", "true", ";", "HasSEInReg", "=", "true", ";", "HasBitCount", "=", "true", ";", "HasSwap", "=", "true", ";", "HasCondMov", "=", "true", ";", "}", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "\"mips1\"", "Mips", "Mips", "\"linux\"", "\"mipsallegrex\"", "\"psp\"", "Mips", "Mips", "Mips"], "File": "MipsSubtarget50", "Func": "MipsSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21896, "Length": 192, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMInstrInfo", "::", "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", "(", ")", ";", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "assert", "(", "!", "AFI", "->", "isThumbFunction", "(", ")", ")", ";", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "STR", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addReg", "(", "0", ")", ".", "addImm", "(", "0", ")", ")", ";", "}", "else", "if", "(", "RC", "==", "ARM", "::", "tGPRRegisterClass", ")", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "assert", "(", "AFI", "->", "isThumbFunction", "(", ")", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tSpill", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "}", "else", "if", "(", "RC", "==", "ARM", "::", "DPRRegisterClass", ")", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "FSTD", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ")", ";", "}", "else", "{", "assert", "(", "RC", "==", "ARM", "::", "SPRRegisterClass", "&&", "\"Unknown regclass!\"", ")", ";", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "FSTS", ")", ")", ".", "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", "ARM::GPRRegisterClass", "ARM", "ARM", "ARM::STR", "0", "0", "ARM::tGPRRegisterClass", "ARM", "ARM", "ARM::tSpill", "0", "ARM::DPRRegisterClass", "ARM::FSTD", "0", "ARM::SPRRegisterClass", "\"Unknown regclass!\"", "ARM::FSTS", "0"], "File": "ARMInstrInfo14", "Func": "storeRegToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21897, "Length": 329, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "opt_machine_mode", "aarch64_get_mask_mode", "(", "machine_mode", "mode", ")", "{", "unsigned", "int", "vec_flags", "=", "aarch64_classify_vector_mode", "(", "mode", ")", ";", "if", "(", "vec_flags", "&", "VEC_SVE_DATA", ")", "return", "aarch64_sve_pred_mode", "(", "mode", ")", ";", "return", "default_get_mask_mode", "(", "mode", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VECTORIZE_GET_MASK_MODE", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_get_mask_mode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21898, "Length": 36, "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": 21899, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "register_ok_for_ldd", "(", "rtx", "reg", ")", "{", "if", "(", "GET_CODE", "(", "reg", ")", "!=", "REG", ")", "return", "0", ";", "if", "(", "REGNO", "(", "reg", ")", "<", "FIRST_PSEUDO_REGISTER", ")", "return", "(", "REGNO", "(", "reg", ")", "%", "2", "==", "0", ")", ";", "else", "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": "sparc3", "Func": "register_ok_for_ldd", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21900, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "Cpu0RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "(", "Cpu0", "::", "FP", ")", ":", "(", "Cpu0", "::", "SP", ")", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0::FP", "Cpu0::SP"], "File": "Cpu0RegisterInfo1", "Func": "getFrameRegister", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21901, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_function_specific_save", "(", "struct", "cl_target_option", "*", "ptr", ",", "struct", "gcc_options", "*", "opts", ",", "struct", "gcc_options", "*", ")", "{", "ptr", "->", "arch", "=", "ix86_arch", ";", "ptr", "->", "schedule", "=", "ix86_schedule", ";", "ptr", "->", "prefetch_sse", "=", "ix86_prefetch_sse", ";", "ptr", "->", "tune", "=", "ix86_tune", ";", "ptr", "->", "branch_cost", "=", "ix86_branch_cost", ";", "ptr", "->", "tune_defaulted", "=", "ix86_tune_defaulted", ";", "ptr", "->", "arch_specified", "=", "ix86_arch_specified", ";", "ptr", "->", "x_ix86_isa_flags_explicit", "=", "opts", "->", "x_ix86_isa_flags_explicit", ";", "ptr", "->", "x_ix86_isa_flags2_explicit", "=", "opts", "->", "x_ix86_isa_flags2_explicit", ";", "ptr", "->", "x_recip_mask_explicit", "=", "opts", "->", "x_recip_mask_explicit", ";", "ptr", "->", "x_ix86_arch_string", "=", "opts", "->", "x_ix86_arch_string", ";", "ptr", "->", "x_ix86_tune_string", "=", "opts", "->", "x_ix86_tune_string", ";", "ptr", "->", "x_ix86_abi", "=", "opts", "->", "x_ix86_abi", ";", "ptr", "->", "x_ix86_asm_dialect", "=", "opts", "->", "x_ix86_asm_dialect", ";", "ptr", "->", "x_ix86_branch_cost", "=", "opts", "->", "x_ix86_branch_cost", ";", "ptr", "->", "x_ix86_dump_tunes", "=", "opts", "->", "x_ix86_dump_tunes", ";", "ptr", "->", "x_ix86_force_align_arg_pointer", "=", "opts", "->", "x_ix86_force_align_arg_pointer", ";", "ptr", "->", "x_ix86_force_drap", "=", "opts", "->", "x_ix86_force_drap", ";", "ptr", "->", "x_ix86_recip_name", "=", "opts", "->", "x_ix86_recip_name", ";", "ptr", "->", "x_ix86_section_threshold", "=", "opts", "->", "x_ix86_section_threshold", ";", "ptr", "->", "x_ix86_sse2avx", "=", "opts", "->", "x_ix86_sse2avx", ";", "ptr", "->", "x_ix86_stack_protector_guard", "=", "opts", "->", "x_ix86_stack_protector_guard", ";", "ptr", "->", "x_ix86_stringop_alg", "=", "opts", "->", "x_ix86_stringop_alg", ";", "ptr", "->", "x_ix86_tls_dialect", "=", "opts", "->", "x_ix86_tls_dialect", ";", "ptr", "->", "x_ix86_tune_ctrl_string", "=", "opts", "->", "x_ix86_tune_ctrl_string", ";", "ptr", "->", "x_ix86_tune_memcpy_strategy", "=", "opts", "->", "x_ix86_tune_memcpy_strategy", ";", "ptr", "->", "x_ix86_tune_memset_strategy", "=", "opts", "->", "x_ix86_tune_memset_strategy", ";", "ptr", "->", "x_ix86_tune_no_default", "=", "opts", "->", "x_ix86_tune_no_default", ";", "gcc_assert", "(", "ptr", "->", "arch", "==", "ix86_arch", ")", ";", "gcc_assert", "(", "ptr", "->", "schedule", "==", "ix86_schedule", ")", ";", "gcc_assert", "(", "ptr", "->", "tune", "==", "ix86_tune", ")", ";", "gcc_assert", "(", "ptr", "->", "branch_cost", "==", "ix86_branch_cost", ")", ";", "}", ""], "natrual_language": ["Save", "the", "current", "options"], "TS_V_token": ["i386"], "File": "i386-options", "Func": "ix86_function_specific_save", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21902, "Length": 265, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmBackend", "::", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Check", "whether", "the", "given", "instruction", "may", "need", "relaxation", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64AsmBackend1", "Func": "mayNeedRelaxation", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21903, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "preservesZeroValueInReg", "(", "const", "MachineInstr", "*", "MI", ",", "const", "Register", "NullValueReg", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "!", "MI", "->", "modifiesRegister", "(", "NullValueReg", ",", "TRI", ")", ")", "return", "true", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "X86", "::", "SHR64ri", ":", "case", "X86", "::", "SHR32ri", ":", "case", "X86", "::", "SHL64ri", ":", "case", "X86", "::", "SHL32ri", ":", "assert", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "isDef", "(", ")", "&&", "MI", "->", "getOperand", "(", "1", ")", ".", "isUse", "(", ")", "&&", "\"expected for shift opcode!\"", ")", ";", "return", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "NullValueReg", "&&", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "NullValueReg", ";", "case", "X86", "::", "MOV32rr", ":", "return", "llvm", "::", "all_of", "(", "MI", "->", "operands", "(", ")", ",", "[", "&", "]", "(", "const", "MachineOperand", "&", "MO", ")", "{", "return", "TRI", "->", "isSubRegisterEq", "(", "NullValueReg", ",", "MO", ".", "getReg", "(", ")", ")", ";", "}", ")", ";", "default", ":", "return", "false", ";", "}", "llvm_unreachable", "(", "\"Should be handled above!\"", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "MI", "'s", "Def", "is", "NullValueReg", ",", "and", "the", "MI", "does", "not", "change", "the", "Zero", "value", "."], "TS_V_token": ["X86", "X86", "X86::SHR64ri", "X86::SHR32ri", "X86::SHL64ri", "X86::SHL32ri", "0", "1", "\"expected for shift opcode!\"", "0", "1", "X86::MOV32rr", "\"Should be handled above!\""], "File": "X86InstrInfo (2)3", "Func": "preservesZeroValueInReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21904, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "override", "{", "bool", "Changed", "=", "false", ";", "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": ["Mips"], "File": "MipsDelaySlotFiller42", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21905, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86RegisterInfo", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "MachineModuleInfo", "*", "MMI", "=", "MFI", "->", "getMachineModuleInfo", "(", ")", ";", "return", "(", "NoFramePointerElim", "||", "needsStackRealignment", "(", "MF", ")", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", "||", "MFI", "->", "isFrameAddressTaken", "(", ")", "||", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "getForceFramePointer", "(", ")", "||", "(", "MMI", "&&", "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": "X86RegisterInfo33", "Func": "hasFP", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21906, "Length": 80, "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", "::", "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", ")", ";", "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::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", "\"Unexpected node to lower\""], "File": "SystemZISelLowering (2)", "Func": "LowerOperation", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21907, "Length": 483, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86DAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "OptForSize", "=", "MF", "->", "getFunction", "(", ")", "->", "optForSize", "(", ")", ";", "OptForMinSize", "=", "MF", "->", "getFunction", "(", ")", "->", "optForMinSize", "(", ")", ";", "assert", "(", "(", "!", "OptForMinSize", "||", "OptForSize", ")", "&&", "\"OptForMinSize implies OptForSize\"", ")", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "&", "*", "I", "++", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "(", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", "&&", "!", "Subtarget", "->", "callRegIndirect", "(", ")", ")", "||", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "TC_RETURN", "&&", "(", "Subtarget", "->", "is64Bit", "(", ")", "||", "getTargetMachine", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", ")", ")", ")", ")", "{", "bool", "HasCallSeq", "=", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", ";", "SDValue", "Chain", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Load", "=", "N", "->", "getOperand", "(", "1", ")", ";", "if", "(", "!", "isCalleeLoad", "(", "Load", ",", "Chain", ",", "HasCallSeq", ")", ")", "continue", ";", "moveBelowOrigChain", "(", "CurDAG", ",", "Load", ",", "SDValue", "(", "N", ",", "0", ")", ",", "Chain", ")", ";", "++", "NumLoadMoved", ";", "continue", ";", "}", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_ROUND", "&&", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "MVT", "SrcVT", "=", "N", "->", "getOperand", "(", "0", ")", ".", "getSimpleValueType", "(", ")", ";", "MVT", "DstVT", "=", "N", "->", "getSimpleValueType", "(", "0", ")", ";", "if", "(", "SrcVT", ".", "isVector", "(", ")", "||", "DstVT", ".", "isVector", "(", ")", ")", "continue", ";", "const", "X86TargetLowering", "*", "X86Lowering", "=", "static_cast", "<", "const", "X86TargetLowering", "*", ">", "(", "TLI", ")", ";", "bool", "SrcIsSSE", "=", "X86Lowering", "->", "isScalarFPTypeInSSEReg", "(", "SrcVT", ")", ";", "bool", "DstIsSSE", "=", "X86Lowering", "->", "isScalarFPTypeInSSEReg", "(", "DstVT", ")", ";", "if", "(", "SrcIsSSE", "&&", "DstIsSSE", ")", "continue", ";", "if", "(", "!", "SrcIsSSE", "&&", "!", "DstIsSSE", ")", "{", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "if", "(", "N", "->", "getConstantOperandVal", "(", "1", ")", ")", "continue", ";", "}", "MVT", "MemVT", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_ROUND", ")", "MemVT", "=", "DstVT", ";", "else", "MemVT", "=", "SrcIsSSE", "?", "SrcVT", ":", "DstVT", ";", "SDValue", "MemTmp", "=", "CurDAG", "->", "CreateStackTemporary", "(", "MemVT", ")", ";", "SDLoc", "dl", "(", "N", ")", ";", "SDValue", "Store", "=", "CurDAG", "->", "getTruncStore", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "dl", ",", "N", "->", "getOperand", "(", "0", ")", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "SDValue", "Result", "=", "CurDAG", "->", "getExtLoad", "(", "ISD", "::", "EXTLOAD", ",", "dl", ",", "DstVT", ",", "Store", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "false", ",", "0", ")", ";", "--", "I", ";", "CurDAG", "->", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "0", ")", ",", "Result", ")", ";", "++", "I", ";", "CurDAG", "->", "DeleteNode", "(", "N", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["X86", "X86", "\"OptForMinSize implies OptForSize\"", "X86ISD::CALL", "X86ISD::TC_RETURN", "X86ISD::CALL", "0", "1", "0", "ISD::FP_ROUND", "ISD::FP_EXTEND", "0", "0", "X86", "X86", "X86", "X86", "X86", "ISD::FP_EXTEND", "1", "ISD::FP_ROUND", "0", "0", "ISD::EXTLOAD", "0", "0"], "File": "X86ISelDAGToDAG (2)", "Func": "PreprocessISelDAG", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21908, "Length": 496, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_symbol_insns_1", "(", "enum", "mips_symbol_type", "type", ",", "machine_mode", "mode", ")", "{", "if", "(", "mips_use_pcrel_pool_p", "[", "(", "int", ")", "type", "]", ")", "{", "if", "(", "mode", "==", "MAX_MACHINE_MODE", ")", "type", "=", "SYMBOL_PC_RELATIVE", ";", "else", "return", "0", ";", "}", "switch", "(", "type", ")", "{", "case", "SYMBOL_ABSOLUTE", ":", "return", "ABI_HAS_64BIT_SYMBOLS", "?", "6", ":", "TARGET_MIPS16", "?", "3", ":", "2", ";", "case", "SYMBOL_GP_RELATIVE", ":", "return", "1", ";", "case", "SYMBOL_PC_RELATIVE", ":", "if", "(", "mode", "==", "MAX_MACHINE_MODE", "||", "GET_MODE_SIZE", "(", "mode", ")", "==", "4", "||", "GET_MODE_SIZE", "(", "mode", ")", "==", "8", ")", "return", "1", ";", "return", "0", ";", "case", "SYMBOL_GOT_DISP", ":", "if", "(", "mode", "!=", "MAX_MACHINE_MODE", ")", "return", "0", ";", "case", "SYMBOL_GOT_PAGE_OFST", ":", "return", "3", ";", "case", "SYMBOL_GOTOFF_PAGE", ":", "case", "SYMBOL_GOTOFF_DISP", ":", "case", "SYMBOL_GOTOFF_CALL", ":", "case", "SYMBOL_GOTOFF_LOADGP", ":", "case", "SYMBOL_64_HIGH", ":", "case", "SYMBOL_64_MID", ":", "case", "SYMBOL_64_LOW", ":", "case", "SYMBOL_TLSGD", ":", "case", "SYMBOL_TLSLDM", ":", "case", "SYMBOL_DTPREL", ":", "case", "SYMBOL_GOTTPREL", ":", "case", "SYMBOL_TPREL", ":", "case", "SYMBOL_HALF", ":", "return", "!", "mips_split_p", "[", "type", "]", "?", "1", ":", "TARGET_MIPS16", "?", "3", ":", "2", ";", "case", "SYMBOL_TLS", ":", "return", "0", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Like", "mips_symbol_insns", ",", "but", "treat", "extended", "MIPS16", "instructions", "as", "a", "single", "instruction", ".", "We", "rely", "on", "the", "fact", "that", ",", "in", "the", "worst", "case", ",", "all", "instructions", "involved", "in", "a", "MIPS16", "address", "calculation", "are", "usually", "extended", "ones", "."], "TS_V_token": ["mips", "0", "6", "3", "2", "1", "4", "8", "1", "0", "0", "3", "1", "3", "2", "0"], "File": "mips", "Func": "mips_symbol_insns_1", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21909, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "or1k_finish_atomic_subword", "(", "machine_mode", "mode", ",", "rtx", "o", ",", "rtx", "n", ",", "rtx", "shift", ")", "{", "n", "=", "expand_binop", "(", "SImode", ",", "lshr_optab", ",", "n", ",", "shift", ",", "NULL_RTX", ",", "1", ",", "OPTAB_LIB_WIDEN", ")", ";", "emit_move_insn", "(", "o", ",", "gen_lowpart", "(", "mode", ",", "n", ")", ")", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "the", "various", "atomic", "expanders", ".", "For", "sub-word", "operations", ",", "complete", "the", "operation", "by", "shifting", "result", "to", "the", "lsb", "of", "the", "SImode", "temporary", "and", "then", "extracting", "the", "result", "in", "MODE", "with", "a", "SUBREG", "."], "TS_V_token": ["or1k", "1"], "File": "or1k", "Func": "or1k_finish_atomic_subword", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21910, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetTransformInfo", "MipsTargetMachine", "::", "getTargetTransformInfo", "(", "const", "Function", "&", "F", ")", "{", "if", "(", "Subtarget", "->", "allowMixed16_32", "(", ")", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"No Target Transform Info Pass Added\\n\"", ")", ";", "return", "TargetTransformInfo", "(", "F", ".", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ")", ";", "}", "DEBUG", "(", "errs", "(", ")", "<<", "\"Target Transform Info Pass Added\\n\"", ")", ";", "return", "TargetTransformInfo", "(", "BasicTTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetTransformInfo", "implementation", "for", "the", "target", "."], "TS_V_token": ["Mips", "Mips", "\"No Target Transform Info Pass Added\\n\"", "\"Target Transform Info Pass Added\\n\""], "File": "MipsTargetMachine27", "Func": "getTargetTransformInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21911, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_split_symbol", "(", "rtx", "temp", ",", "rtx", "addr", ",", "machine_mode", "mode", ",", "rtx", "*", "low_out", ")", "{", "enum", "mips_symbol_context", "context", ";", "enum", "mips_symbol_type", "symbol_type", ";", "rtx", "high", ";", "context", "=", "(", "mode", "==", "MAX_MACHINE_MODE", "?", "SYMBOL_CONTEXT_LEA", ":", "SYMBOL_CONTEXT_MEM", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "HIGH", "&&", "context", "==", "SYMBOL_CONTEXT_LEA", ")", "{", "addr", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "if", "(", "mips_symbolic_constant_p", "(", "addr", ",", "context", ",", "&", "symbol_type", ")", "&&", "mips_symbol_insns", "(", "symbol_type", ",", "mode", ")", ">", "0", "&&", "mips_split_hi_p", "[", "symbol_type", "]", ")", "{", "if", "(", "low_out", ")", "switch", "(", "symbol_type", ")", "{", "case", "SYMBOL_GOT_PAGE_OFST", ":", "*", "low_out", "=", "mips_got_load", "(", "temp", ",", "addr", ",", "SYMBOL_GOTOFF_PAGE", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "true", ";", "}", "}", "else", "{", "if", "(", "mips_symbolic_constant_p", "(", "addr", ",", "context", ",", "&", "symbol_type", ")", "&&", "mips_symbol_insns", "(", "symbol_type", ",", "mode", ")", ">", "0", "&&", "mips_split_p", "[", "symbol_type", "]", ")", "{", "if", "(", "low_out", ")", "switch", "(", "symbol_type", ")", "{", "case", "SYMBOL_GOT_DISP", ":", "*", "low_out", "=", "mips_got_load", "(", "temp", ",", "addr", ",", "SYMBOL_GOTOFF_DISP", ")", ";", "break", ";", "case", "SYMBOL_GP_RELATIVE", ":", "high", "=", "mips_pic_base_register", "(", "temp", ")", ";", "*", "low_out", "=", "gen_rtx_LO_SUM", "(", "Pmode", ",", "high", ",", "addr", ")", ";", "break", ";", "default", ":", "high", "=", "gen_rtx_HIGH", "(", "Pmode", ",", "copy_rtx", "(", "addr", ")", ")", ";", "high", "=", "mips_force_temporary", "(", "temp", ",", "high", ")", ";", "*", "low_out", "=", "gen_rtx_LO_SUM", "(", "Pmode", ",", "high", ",", "addr", ")", ";", "break", ";", "}", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "a", "LO_SUM", "expression", "for", "ADDR", ".", "TEMP", "is", "as", "for", "mips_force_temporary", "and", "is", "used", "to", "load", "the", "high", "part", "into", "a", "register", "."], "TS_V_token": ["mips", "0", "0", "0"], "File": "mips", "Func": "mips_split_symbol", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21912, "Length": 254, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64TargetELFStreamer", "::", "emitInst", "(", "uint32_t", "Inst", ")", "{", "getStreamer", "(", ")", ".", "emitInst", "(", "Inst", ")", ";", "}", ""], "natrual_language": ["Callback", "used", "to", "implement", "the", ".inst", "directive", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ELFStreamer (2)", "Func": "emitInst", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21913, "Length": 19, "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\"", ";", "unsigned", "CPUFSWidth", "=", "Key", ".", "size", "(", ")", ";", "unsigned", "PreferVectorWidthOverride", "=", "0", ";", "if", "(", "F", ".", "hasFnAttribute", "(", "\"prefer-vector-width\"", ")", ")", "{", "StringRef", "Val", "=", "F", ".", "getFnAttribute", "(", "\"prefer-vector-width\"", ")", ".", "getValueAsString", "(", ")", ";", "unsigned", "Width", ";", "if", "(", "!", "Val", ".", "getAsInteger", "(", "0", ",", "Width", ")", ")", "{", "Key", "+=", "\",prefer-vector-width=\"", ";", "Key", "+=", "Val", ";", "PreferVectorWidthOverride", "=", "Width", ";", "}", "}", "FS", "=", "Key", ".", "slice", "(", "CPU", ".", "size", "(", ")", ",", "CPUFSWidth", ")", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "Key", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "llvm", "::", "make_unique", "<", "X86Subtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "*", "this", ",", "Options", ".", "StackAlignmentOverride", ",", "PreferVectorWidthOverride", ")", ";", "}", "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\"", "0", "\"prefer-vector-width\"", "\"prefer-vector-width\"", "0", "\",prefer-vector-width=\"", "X86"], "File": "X86TargetMachine20", "Func": "getSubtargetImpl", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21914, "Length": 282, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "isProfitableToIfCvt", "(", "MachineBasicBlock", "&", "MBB", ",", "unsigned", "NumCycles", ",", "unsigned", "ExtraPredCycles", ",", "BranchProbability", "Probability", ")", "const", "{", "return", "NumCycles", "==", "1", ";", "}", ""], "natrual_language": ["Second", "variant", "of", "isProfitableToIfCvt", "."], "TS_V_token": ["SystemZ", "SystemZ", "1"], "File": "SystemZInstrInfo", "Func": "isProfitableToIfCvt", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21915, "Length": 26, "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": 21916, "Length": 116, "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", "=", "Triple", "(", "TM", ".", "getTargetTriple", "(", ")", ")", ".", "isOSDarwin", "(", ")", ";", "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", ")", ";", "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", "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": "PPCMCInstLower50", "Func": "GetSymbolFromOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21917, "Length": 460, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "paired_expand_builtin", "(", "tree", "exp", ",", "rtx", "target", ",", "bool", "*", "expandedp", ")", "{", "tree", "fndecl", "=", "TREE_OPERAND", "(", "CALL_EXPR_FN", "(", "exp", ")", ",", "0", ")", ";", "enum", "rs6000_builtins", "fcode", "=", "(", "enum", "rs6000_builtins", ")", "DECL_FUNCTION_CODE", "(", "fndecl", ")", ";", "const", "struct", "builtin_description", "*", "d", ";", "size_t", "i", ";", "*", "expandedp", "=", "true", ";", "switch", "(", "fcode", ")", "{", "case", "PAIRED_BUILTIN_STX", ":", "return", "paired_expand_stv_builtin", "(", "CODE_FOR_paired_stx", ",", "exp", ")", ";", "case", "PAIRED_BUILTIN_LX", ":", "return", "paired_expand_lv_builtin", "(", "CODE_FOR_paired_lx", ",", "exp", ",", "target", ")", ";", "default", ":", "break", ";", "}", "d", "=", "bdesc_paired_preds", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "bdesc_paired_preds", ")", ";", "i", "++", ",", "d", "++", ")", "if", "(", "d", "->", "code", "==", "fcode", ")", "return", "paired_expand_predicate_builtin", "(", "d", "->", "icode", ",", "exp", ",", "target", ")", ";", "*", "expandedp", "=", "false", ";", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Expand", "the", "builtin", "in", "EXP", "and", "store", "the", "result", "in", "TARGET", ".", "Store", "true", "in", "*", "EXPANDEDP", "if", "we", "found", "a", "builtin", "to", "expand", "."], "TS_V_token": ["powerpcspe", "0", "0"], "File": "powerpcspe", "Func": "paired_expand_builtin", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21918, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getMinPrefetchStride", "(", "unsigned", "NumMemAccesses", ",", "unsigned", "NumStridedMemAccesses", ",", "unsigned", "NumPrefetches", ",", "bool", "HasCall", ")", "const", "override", "{", "return", "MinPrefetchStride", ";", "}", ""], "natrual_language": ["Some", "HW", "prefetchers", "can", "handle", "accesses", "up", "to", "a", "certain", "constant", "stride", "."], "TS_V_token": ["AArch64"], "File": "AArch64Subtarget (2)1", "Func": "getMinPrefetchStride", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21919, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "OptimizePICCall", "::", "getReg", "(", "ValueType", "Entry", ")", "{", "unsigned", "Reg", "=", "ScopedHT", ".", "lookup", "(", "Entry", ")", ".", "second", ";", "assert", "(", "Reg", ")", ";", "return", "Reg", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["Mips"], "File": "MipsOptimizePICCall", "Func": "getReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21920, "Length": 30, "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", ":", "return", "emitPatchPoint", "(", "MI", ",", "BB", ")", ";", "case", "AArch64", "::", "CATCHRET", ":", "return", "EmitLoweredCatchRet", "(", "MI", ",", "BB", ")", ";", "case", "AArch64", "::", "CATCHPAD", ":", "return", "EmitLoweredCatchPad", "(", "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::CATCHPAD"], "File": "AArch64ISelLowering (2)3", "Func": "EmitInstrWithCustomInserter", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21921, "Length": 97, "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\"", ")", ";", "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": "X86ATTAsmPrinter1", "Func": "PrintAsmOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21922, "Length": 156, "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": 21923, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_assemble_integer", "(", "rtx", "x", ",", "unsigned", "int", "size", ",", "int", "aligned_p", ")", "{", "if", "(", "RELOCATABLE_NEEDS_FIXUP", "&&", "size", "==", "4", "&&", "aligned_p", ")", "{", "static", "int", "recurse", "=", "0", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "(", "TARGET_RELOCATABLE", "||", "flag_pic", ">", "1", ")", "&&", "in_section", "!=", "toc_section", "&&", "!", "recurse", "&&", "!", "CONST_SCALAR_INT_P", "(", "x", ")", "&&", "CONSTANT_P", "(", "x", ")", ")", "{", "char", "buf", "[", "256", "]", ";", "recurse", "=", "1", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "buf", ",", "\"LCP\"", ",", "fixuplabelno", ")", ";", "fixuplabelno", "++", ";", "ASM_OUTPUT_LABEL", "(", "asm_out_file", ",", "buf", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.long\\t(\"", ")", ";", "output_addr_const", "(", "asm_out_file", ",", "x", ")", ";", "fprintf", "(", "asm_out_file", ",", "\")@fixup\\n\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.section\\t\\\".fixup\\\",\\\"aw\\\"\\n\"", ")", ";", "ASM_OUTPUT_ALIGN", "(", "asm_out_file", ",", "2", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.long\\t\"", ")", ";", "assemble_name", "(", "asm_out_file", ",", "buf", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\n\\t.previous\\n\"", ")", ";", "recurse", "=", "0", ";", "return", "true", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "XSTR", "(", "x", ",", "0", ")", "[", "0", "]", "==", "'.'", "&&", "DEFAULT_ABI", "==", "ABI_AIX", ")", "{", "const", "char", "*", "name", "=", "XSTR", "(", "x", ",", "0", ")", ";", "while", "(", "*", "name", "==", "'.'", ")", "name", "++", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.long\\t%s\\n\"", ",", "name", ")", ";", "return", "true", ";", "}", "}", "return", "default_assemble_integer", "(", "x", ",", "size", ",", "aligned_p", ")", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "assembling", "integer", "objects", ".", "The", "powerpc", "version", "has", "to", "handle", "fixup", "entries", "for", "relocatable", "code", "if", "RELOCATABLE_NEEDS_FIXUP", "is", "defined", ".", "It", "also", "needs", "to", "handle", "DI-mode", "objects", "on", "64-bit", "targets", "."], "TS_V_token": ["rs6000", "4", "0", "1", "256", "1", "\"LCP\"", "\"\\t.long\\t(\"", "\")@fixup\\n\"", "\"\\t.section\\t\\\".fixup\\\",\\\"aw\\\"\\n\"", "2", "\"\\t.long\\t\"", "\"\\n\\t.previous\\n\"", "0", "0", "0", "0", "\"\\t.long\\t%s\\n\""], "File": "rs60006", "Func": "rs6000_assemble_integer", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21924, "Length": 232, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCFrameLowering", "::", "getBasePointerSaveOffset", "(", ")", "const", "{", "return", "BasePointerSaveOffset", ";", "}", ""], "natrual_language": ["getBasePointerSaveOffset", "-", "Return", "the", "previous", "frame", "offset", "to", "save", "the", "base", "pointer", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCFrameLowering36", "Func": "getBasePointerSaveOffset", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21925, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "rs6000_preferred_doloop_mode", "(", "machine_mode", ")", "{", "return", "word_mode", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PREFERRED_DOLOOP_MODE", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_preferred_doloop_mode", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21926, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "type_suffix_index", "function_resolver", "::", "infer_tuple_type", "(", "unsigned", "int", "argno", ")", "{", "return", "infer_vector_or_tuple_type", "(", "argno", ",", "vectors_per_tuple", "(", ")", ")", ";", "}", ""], "natrual_language": ["If", "the", "function", "operates", "on", "tuples", "of", "vectors", ",", "require", "argument", "ARGNO", "to", "be", "a", "tuple", "with", "the", "appropriate", "number", "of", "vectors", ",", "otherwise", "require", "it", "to", "be", "a", "single", "vector", ".", "Return", "the", "associated", "type", "suffix", "on", "success", ",", "using", "TYPE_SUFFIX_b", "for", "predicates", ".", "Report", "an", "error", "and", "return", "NUM_TYPE_SUFFIXES", "on", "failure", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "infer_tuple_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21927, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "BuildSDIVPow2", "(", "SDNode", "*", "N", ",", "const", "APInt", "&", "Divisor", ",", "SelectionDAG", "&", "DAG", ",", "std", "::", "vector", "<", "SDNode", "*", ">", "*", "Created", ")", "const", "{", "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", ",", "VT", ")", ";", "SDValue", "Pow2MinusOne", "=", "DAG", ".", "getConstant", "(", "(", "1ULL", "<<", "Lg2", ")", "-", "1", ",", "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", ",", "MVT", "::", "i64", ")", ")", ";", "if", "(", "Divisor", ".", "isNonNegative", "(", ")", ")", "return", "SRA", ";", "if", "(", "Created", ")", "Created", "->", "push_back", "(", "SRA", ".", "getNode", "(", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "ISD", "::", "SUB", ",", "DL", ",", "VT", ",", "DAG", ".", "getConstant", "(", "0", ",", "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", "MVT::i32", "MVT::i64", "0", "0", "1ULL", "1", "AArch64", "ISD::SETLT", "ISD::ADD", "AArch64ISD::CSEL", "ISD::SRA", "MVT::i64", "ISD::SUB", "0"], "File": "AArch64ISelLowering117", "Func": "BuildSDIVPow2", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21928, "Length": 321, "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": 21929, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "isMaskAndCmp0FoldingBeneficial", "(", "const", "Instruction", "&", "AndI", ")", "const", "{", "const", "Value", "*", "Mask", "=", "AndI", ".", "getOperand", "(", "1", ")", ";", "if", "(", "const", "ConstantInt", "*", "CI", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "Mask", ")", ")", "{", "if", "(", "CI", "->", "getBitWidth", "(", ")", ">", "64", ")", "return", "false", ";", "int64_t", "ConstVal", "=", "CI", "->", "getZExtValue", "(", ")", ";", "return", "isUInt", "<", "16", ">", "(", "ConstVal", ")", "||", "(", "isUInt", "<", "16", ">", "(", "ConstVal", ">>", "16", ")", "&&", "!", "(", "ConstVal", "&", "0xFFFF", ")", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "if", "the", "target", "supports", "combining", "a", "chain", "like", ":"], "TS_V_token": ["PowerPC", "PPC", "1", "64", "16", "16", "16", "0xFFFF"], "File": "PPCISelLowering (2)7", "Func": "isMaskAndCmp0FoldingBeneficial", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21930, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_emit_load_exclusive", "(", "machine_mode", "mode", ",", "rtx", "rval", ",", "rtx", "mem", ",", "rtx", "model_rtx", ")", "{", "if", "(", "mode", "==", "TImode", ")", "emit_insn", "(", "gen_aarch64_load_exclusive_pair", "(", "gen_lowpart", "(", "DImode", ",", "rval", ")", ",", "gen_highpart", "(", "DImode", ",", "rval", ")", ",", "mem", ",", "model_rtx", ")", ")", ";", "else", "emit_insn", "(", "gen_aarch64_load_exclusive", "(", "mode", ",", "rval", ",", "mem", ",", "model_rtx", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "load", "exclusive", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_emit_load_exclusive", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21931, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_predicate_relation_info", "(", "void", ")", "{", "basic_block", "bb", ";", "FOR_EACH_BB_REVERSE_FN", "(", "bb", ",", "cfun", ")", "{", "int", "r", ";", "rtx_insn", "*", "head", "=", "BB_HEAD", "(", "bb", ")", ";", "if", "(", "!", "LABEL_P", "(", "head", ")", ")", "continue", ";", "if", "(", "NOTE_INSN_BASIC_BLOCK_P", "(", "NEXT_INSN", "(", "head", ")", ")", ")", "head", "=", "NEXT_INSN", "(", "head", ")", ";", "for", "(", "r", "=", "PR_REG", "(", "2", ")", ";", "r", "<", "PR_REG", "(", "64", ")", ";", "r", "+=", "2", ")", "if", "(", "REGNO_REG_SET_P", "(", "df_get_live_in", "(", "bb", ")", ",", "r", ")", ")", "{", "rtx", "p", "=", "gen_rtx_REG", "(", "BImode", ",", "r", ")", ";", "rtx_insn", "*", "n", "=", "emit_insn_after", "(", "gen_pred_rel_mutex", "(", "p", ")", ",", "head", ")", ";", "if", "(", "head", "==", "BB_END", "(", "bb", ")", ")", "BB_END", "(", "bb", ")", "=", "n", ";", "head", "=", "n", ";", "}", "}", "FOR_EACH_BB_REVERSE_FN", "(", "bb", ",", "cfun", ")", "{", "rtx_insn", "*", "insn", "=", "BB_HEAD", "(", "bb", ")", ";", "while", "(", "1", ")", "{", "if", "(", "CALL_P", "(", "insn", ")", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "COND_EXEC", "&&", "find_reg_note", "(", "insn", ",", "REG_NORETURN", ",", "NULL_RTX", ")", ")", "{", "rtx_insn", "*", "b", "=", "emit_insn_before", "(", "gen_safe_across_calls_all", "(", ")", ",", "insn", ")", ";", "rtx_insn", "*", "a", "=", "emit_insn_after", "(", "gen_safe_across_calls_normal", "(", ")", ",", "insn", ")", ";", "if", "(", "BB_HEAD", "(", "bb", ")", "==", "insn", ")", "BB_HEAD", "(", "bb", ")", "=", "b", ";", "if", "(", "BB_END", "(", "bb", ")", "==", "insn", ")", "BB_END", "(", "bb", ")", "=", "a", ";", "}", "if", "(", "insn", "==", "BB_END", "(", "bb", ")", ")", "break", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ";", "}", "}", "}", ""], "natrual_language": ["Emit", "pseudo-ops", "for", "the", "assembler", "to", "describe", "predicate", "relations", ".", "At", "present", "this", "assumes", "that", "we", "only", "consider", "predicate", "pairs", "to", "be", "mutex", ",", "and", "that", "the", "assembler", "can", "deduce", "proper", "values", "from", "straight-line", "code", "."], "TS_V_token": ["ia64", "2", "64", "2", "1"], "File": "ia64", "Func": "emit_predicate_relation_info", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21932, "Length": 263, "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": 21933, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "xstormy16_expand_arith", "(", "machine_mode", "mode", ",", "enum", "rtx_code", "code", ",", "rtx", "dest", ",", "rtx", "src0", ",", "rtx", "src1", ")", "{", "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", "&&", "CONST_INT_P", "(", "w_src1", ")", "&&", "INTVAL", "(", "w_src1", ")", "==", "0", ")", "continue", ";", "if", "(", "firstloop", ")", "insn", "=", "gen_addchi4", "(", "w_dest", ",", "w_src0", ",", "w_src1", ")", ";", "else", "insn", "=", "gen_addchi5", "(", "w_dest", ",", "w_src0", ",", "w_src1", ")", ";", "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", ",", "gen_rtx_REG", "(", "BImode", ",", "CARRY_REGNUM", ")", ")", ")", ";", "sub", "=", "gen_rtx_SET", "(", "w_dest", ",", "gen_rtx_MINUS", "(", "HImode", ",", "sub_1", ",", "w_src1", ")", ")", ";", "clobber", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "BImode", ",", "CARRY_REGNUM", ")", ")", ";", "branch", "=", "gen_rtx_SET", "(", "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", "&&", "CONST_INT_P", "(", "w_src1", ")", "&&", "INTVAL", "(", "w_src1", ")", "==", "0", ")", "continue", ";", "else", "if", "(", "firstloop", ")", "insn", "=", "gen_subchi4", "(", "w_dest", ",", "w_src0", ",", "w_src1", ")", ";", "else", "insn", "=", "gen_subchi5", "(", "w_dest", ",", "w_src0", ",", "w_src1", ")", ";", "break", ";", "case", "IOR", ":", "case", "XOR", ":", "case", "AND", ":", "if", "(", "CONST_INT_P", "(", "w_src1", ")", "&&", "INTVAL", "(", "w_src1", ")", "==", "-", "(", "code", "==", "AND", ")", ")", "continue", ";", "insn", "=", "gen_rtx_SET", "(", "w_dest", ",", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "w_src0", ",", "w_src1", ")", ")", ";", "break", ";", "case", "NOT", ":", "insn", "=", "gen_rtx_SET", "(", "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": "stormy16", "Func": "xstormy16_expand_arith", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21934, "Length": 452, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"CSKY DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["CSKY", "\"CSKY DAG->DAG Pattern Instruction Selection\""], "File": "CSKYISelDAGToDAG", "Func": "getPassName", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21935, "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": 21936, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "branch_to_delay_slot_p", "(", "rtx_insn", "*", "insn", ")", "{", "rtx_insn", "*", "jump_insn", ";", "if", "(", "dbr_sequence_length", "(", ")", ")", "return", "FALSE", ";", "jump_insn", "=", "next_active_insn", "(", "JUMP_LABEL_AS_INSN", "(", "insn", ")", ")", ";", "while", "(", "insn", ")", "{", "insn", "=", "next_active_insn", "(", "insn", ")", ";", "if", "(", "jump_insn", "==", "insn", ")", "return", "TRUE", ";", "if", "(", "!", "insn", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "ASM_INPUT", "||", "asm_noperands", "(", "PATTERN", "(", "insn", ")", ")", ">=", "0", "||", "get_attr_length", "(", "insn", ")", ">", "0", ")", "break", ";", "}", "return", "FALSE", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "INSN", ",", "a", "jump", "insn", ",", "has", "an", "unfilled", "delay", "slot", "and", "it", "branches", "into", "the", "delay", "slot", ".", "Otherwise", ",", "return", "FALSE", "."], "TS_V_token": ["pa", "0", "0"], "File": "pa", "Func": "branch_to_delay_slot_p", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21937, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_output_mi_thunk", "(", "FILE", "*", "file", ",", "tree", "thunk", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", ",", "tree", "function", ")", "{", "if", "(", "TARGET_32BIT", ")", "arm32_output_mi_thunk", "(", "file", ",", "thunk", ",", "delta", ",", "vcall_offset", ",", "function", ")", ";", "else", "arm_thumb1_mi_thunk", "(", "file", ",", "thunk", ",", "delta", ",", "vcall_offset", ",", "function", ")", ";", "}", ""], "natrual_language": ["Output", "code", "to", "add", "DELTA", "to", "the", "first", "argument", ",", "and", "then", "jump", "to", "FUNCTION", ".", "Used", "for", "C++", "multiple", "inheritance", "."], "TS_V_token": ["arm"], "File": "arm6", "Func": "arm_output_mi_thunk", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21938, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_expand_vector_set", "(", "rtx", "target", ",", "rtx", "val", ",", "int", "elt", ")", "{", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "target", ")", ";", "enum", "machine_mode", "inner_mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "rtx", "reg", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rtx", "mask", ",", "mem", ",", "x", ";", "int", "width", "=", "GET_MODE_SIZE", "(", "inner_mode", ")", ";", "int", "i", ";", "mem", "=", "assign_stack_temp", "(", "mode", ",", "GET_MODE_SIZE", "(", "inner_mode", ")", ",", "0", ")", ";", "emit_move_insn", "(", "adjust_address_nv", "(", "mem", ",", "inner_mode", ",", "0", ")", ",", "val", ")", ";", "x", "=", "gen_rtx_UNSPEC", "(", "VOIDmode", ",", "gen_rtvec", "(", "1", ",", "const0_rtx", ")", ",", "UNSPEC_LVE", ")", ";", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "gen_rtx_SET", "(", "VOIDmode", ",", "reg", ",", "mem", ")", ",", "x", ")", ")", ")", ";", "mask", "=", "gen_rtx_PARALLEL", "(", "V16QImode", ",", "rtvec_alloc", "(", "16", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "16", ";", "++", "i", ")", "XVECEXP", "(", "mask", ",", "0", ",", "i", ")", "=", "GEN_INT", "(", "i", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "width", ";", "++", "i", ")", "XVECEXP", "(", "mask", ",", "0", ",", "elt", "*", "width", "+", "i", ")", "=", "GEN_INT", "(", "i", "+", "0x10", ")", ";", "x", "=", "gen_rtx_CONST_VECTOR", "(", "V16QImode", ",", "XVEC", "(", "mask", ",", "0", ")", ")", ";", "x", "=", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "3", ",", "target", ",", "reg", ",", "force_reg", "(", "V16QImode", ",", "x", ")", ")", ",", "UNSPEC_VPERM", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "target", ",", "x", ")", ")", ";", "}", ""], "natrual_language": ["Set", "field", "ELT_RTX", "of", "TARGET", "to", "VAL", "."], "TS_V_token": ["rs6000", "0", "0", "1", "2", "16", "0", "16", "0", "0", "0", "0x10", "0", "3"], "File": "rs60003", "Func": "rs6000_expand_vector_set", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21939, "Length": 249, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_emit_approx_sqrt", "(", "rtx", "dst", ",", "rtx", "src", ",", "bool", "recp", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "dst", ")", ";", "if", "(", "GET_MODE_INNER", "(", "mode", ")", "==", "HFmode", ")", "{", "gcc_assert", "(", "!", "recp", ")", ";", "return", "false", ";", "}", "machine_mode", "mmsk", "=", "mode_for_vector", "(", "int_mode_for_mode", "(", "GET_MODE_INNER", "(", "mode", ")", ")", ",", "GET_MODE_NUNITS", "(", "mode", ")", ")", ";", "if", "(", "!", "recp", ")", "{", "if", "(", "!", "(", "flag_mlow_precision_sqrt", "||", "(", "aarch64_tune_params", ".", "approx_modes", "->", "sqrt", "&", "AARCH64_APPROX_MODE", "(", "mode", ")", ")", ")", ")", "return", "false", ";", "if", "(", "flag_finite_math_only", "||", "flag_trapping_math", "||", "!", "flag_unsafe_math_optimizations", "||", "optimize_function_for_size_p", "(", "cfun", ")", ")", "return", "false", ";", "}", "else", "gcc_assert", "(", "use_rsqrt_p", "(", "mode", ")", ")", ";", "rtx", "xmsk", "=", "gen_reg_rtx", "(", "mmsk", ")", ";", "if", "(", "!", "recp", ")", "emit_insn", "(", "gen_rtx_SET", "(", "xmsk", ",", "gen_rtx_NEG", "(", "mmsk", ",", "gen_rtx_EQ", "(", "mmsk", ",", "src", ",", "CONST0_RTX", "(", "mode", ")", ")", ")", ")", ")", ";", "rtx", "xdst", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "(", "*", "get_rsqrte_type", "(", "mode", ")", ")", "(", "xdst", ",", "src", ")", ")", ";", "int", "iterations", "=", "(", "GET_MODE_INNER", "(", "mode", ")", "==", "DFmode", ")", "?", "3", ":", "2", ";", "if", "(", "(", "recp", "&&", "flag_mrecip_low_precision_sqrt", ")", "||", "(", "!", "recp", "&&", "flag_mlow_precision_sqrt", ")", ")", "iterations", "--", ";", "rtx", "x1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "while", "(", "iterations", "--", ")", "{", "rtx", "x2", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_set_insn", "(", "x2", ",", "gen_rtx_MULT", "(", "mode", ",", "xdst", ",", "xdst", ")", ")", ";", "emit_insn", "(", "(", "*", "get_rsqrts_type", "(", "mode", ")", ")", "(", "x1", ",", "src", ",", "x2", ")", ")", ";", "if", "(", "iterations", ">", "0", ")", "emit_set_insn", "(", "xdst", ",", "gen_rtx_MULT", "(", "mode", ",", "xdst", ",", "x1", ")", ")", ";", "}", "if", "(", "!", "recp", ")", "{", "rtx", "xtmp", "=", "gen_reg_rtx", "(", "mmsk", ")", ";", "emit_set_insn", "(", "xtmp", ",", "gen_rtx_AND", "(", "mmsk", ",", "gen_rtx_NOT", "(", "mmsk", ",", "xmsk", ")", ",", "gen_rtx_SUBREG", "(", "mmsk", ",", "xdst", ",", "0", ")", ")", ")", ";", "emit_move_insn", "(", "xdst", ",", "gen_rtx_SUBREG", "(", "mode", ",", "xtmp", ",", "0", ")", ")", ";", "emit_set_insn", "(", "xdst", ",", "gen_rtx_MULT", "(", "mode", ",", "xdst", ",", "src", ")", ")", ";", "}", "emit_set_insn", "(", "dst", ",", "gen_rtx_MULT", "(", "mode", ",", "xdst", ",", "x1", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Emit", "instruction", "sequence", "to", "compute", "either", "the", "approximate", "square", "root", "or", "its", "approximate", "reciprocal", ",", "depending", "on", "the", "flag", "RECP", ",", "and", "return", "whether", "the", "sequence", "was", "emitted", "or", "not", "."], "TS_V_token": ["aarch64", "3", "2", "0", "0", "0"], "File": "aarch644", "Func": "aarch64_emit_approx_sqrt", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21940, "Length": 374, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "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": "sh4", "Func": "flow_dependent_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21941, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "csky_setup_incoming_varargs", "(", "cumulative_args_t", "pcum_v", ",", "const", "function_arg_info", "&", "arg", ",", "int", "*", "pretend_size", ",", "int", "second_time", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "pcum", "=", "get_cumulative_args", "(", "pcum_v", ")", ";", "CUMULATIVE_ARGS", "local_cum", ";", "cumulative_args_t", "local_cum_v", "=", "pack_cumulative_args", "(", "&", "local_cum", ")", ";", "int", "regs_to_push", ";", "cfun", "->", "machine", "->", "uses_anonymous_args", "=", "1", ";", "local_cum", "=", "*", "pcum", ";", "if", "(", "!", "TYPE_NO_NAMED_ARGS_STDARG_P", "(", "TREE_TYPE", "(", "current_function_decl", ")", ")", ")", "csky_function_arg_advance", "(", "local_cum_v", ",", "arg", ")", ";", "regs_to_push", "=", "CSKY_NPARM_REGS", "-", "local_cum", ".", "reg", ";", "if", "(", "regs_to_push", ")", "*", "pretend_size", "=", "regs_to_push", "*", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SETUP_INCOMING_VARARGS", ".", "On", "C-Sky", "the", "copy", "from", "the", "argument", "registers", "to", "the", "stack", "is", "emitted", "by", "the", "prologue", "hooks", ",", "so", "here", "we", "just", "have", "to", "note", "how", "much", "stack", "space", "to", "save", "."], "TS_V_token": ["csky", "1"], "File": "csky1", "Func": "csky_setup_incoming_varargs", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21942, "Length": 96, "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": 21943, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "PPCTTIImpl", "::", "getIntImmCost", "(", "unsigned", "Opcode", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "{", "if", "(", "DisablePPCConstHoist", ")", "return", "BaseT", "::", "getIntImmCost", "(", "Opcode", ",", "Idx", ",", "Imm", ",", "Ty", ")", ";", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", ")", "return", "~", "0U", ";", "unsigned", "ImmIdx", "=", "~", "0U", ";", "bool", "ShiftedFree", "=", "false", ",", "RunFree", "=", "false", ",", "UnsignedFree", "=", "false", ",", "ZeroFree", "=", "false", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "TTI", "::", "TCC_Free", ";", "case", "Instruction", "::", "GetElementPtr", ":", "if", "(", "Idx", "==", "0", ")", "return", "2", "*", "TTI", "::", "TCC_Basic", ";", "return", "TTI", "::", "TCC_Free", ";", "case", "Instruction", "::", "And", ":", "RunFree", "=", "true", ";", "case", "Instruction", "::", "Add", ":", "case", "Instruction", "::", "Or", ":", "case", "Instruction", "::", "Xor", ":", "ShiftedFree", "=", "true", ";", "case", "Instruction", "::", "Sub", ":", "case", "Instruction", "::", "Mul", ":", "case", "Instruction", "::", "Shl", ":", "case", "Instruction", "::", "LShr", ":", "case", "Instruction", "::", "AShr", ":", "ImmIdx", "=", "1", ";", "break", ";", "case", "Instruction", "::", "ICmp", ":", "UnsignedFree", "=", "true", ";", "ImmIdx", "=", "1", ";", "case", "Instruction", "::", "Select", ":", "ZeroFree", "=", "true", ";", "break", ";", "case", "Instruction", "::", "PHI", ":", "case", "Instruction", "::", "Call", ":", "case", "Instruction", "::", "Ret", ":", "case", "Instruction", "::", "Load", ":", "case", "Instruction", "::", "Store", ":", "break", ";", "}", "if", "(", "ZeroFree", "&&", "Imm", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "Idx", "==", "ImmIdx", "&&", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", ")", "{", "if", "(", "isInt", "<", "16", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "RunFree", ")", "{", "if", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "32", "&&", "(", "isShiftedMask_32", "(", "Imm", ".", "getZExtValue", "(", ")", ")", "||", "isShiftedMask_32", "(", "~", "Imm", ".", "getZExtValue", "(", ")", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "ST", "->", "isPPC64", "(", ")", "&&", "(", "isShiftedMask_64", "(", "Imm", ".", "getZExtValue", "(", ")", ")", "||", "isShiftedMask_64", "(", "~", "Imm", ".", "getZExtValue", "(", ")", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "}", "if", "(", "UnsignedFree", "&&", "isUInt", "<", "16", ">", "(", "Imm", ".", "getZExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "ShiftedFree", "&&", "(", "Imm", ".", "getZExtValue", "(", ")", "&", "0xFFFF", ")", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "}", "return", "PPCTTIImpl", "::", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "0", "0U", "0U", "0", "2", "1", "1", "0", "64", "16", "32", "PPC", "16", "0xFFFF", "0", "PPC"], "File": "PPCTargetTransformInfo22", "Func": "getIntImmCost", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21944, "Length": 413, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_multi_copy_insn", "(", "unsigned", "int", "i", ")", "{", "struct", "mips_multi_member", "*", "member", ";", "member", "=", "mips_multi_add", "(", ")", ";", "memcpy", "(", "member", ",", "&", "mips_multi_members", "[", "i", "]", ",", "sizeof", "(", "*", "member", ")", ")", ";", "gcc_assert", "(", "!", "member", "->", "is_label_p", ")", ";", "}", ""], "natrual_language": ["Add", "a", "copy", "of", "an", "existing", "instruction", "to", "the", "current", "multi-insn", "sequence", ".", "I", "is", "the", "index", "of", "the", "instruction", "that", "should", "be", "copied", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_multi_copy_insn", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21945, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "isReallyTriviallyReMaterializable", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "X86", "::", "MOV8rm", ":", "case", "X86", "::", "MOV16rm", ":", "case", "X86", "::", "MOV16_rm", ":", "case", "X86", "::", "MOV32rm", ":", "case", "X86", "::", "MOV32_rm", ":", "case", "X86", "::", "MOV64rm", ":", "case", "X86", "::", "LD_Fp64m", ":", "case", "X86", "::", "MOVSSrm", ":", "case", "X86", "::", "MOVSDrm", ":", "case", "X86", "::", "MOVAPSrm", ":", "case", "X86", "::", "MOVAPDrm", ":", "case", "X86", "::", "MOVDQArm", ":", "case", "X86", "::", "MMX_MOVD64rm", ":", "case", "X86", "::", "MMX_MOVQ64rm", ":", "{", "if", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", "&&", "MI", "->", "getOperand", "(", "3", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", "==", "0", "&&", "(", "MI", "->", "getOperand", "(", "4", ")", ".", "isCPI", "(", ")", "||", "(", "MI", "->", "getOperand", "(", "4", ")", ".", "isGlobal", "(", ")", "&&", "isGVStub", "(", "MI", "->", "getOperand", "(", "4", ")", ".", "getGlobal", "(", ")", ",", "TM", ")", ")", ")", ")", "{", "unsigned", "BaseReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "if", "(", "BaseReg", "==", "0", ")", "return", "true", ";", "if", "(", "!", "ReMatPICStubLoad", "&&", "MI", "->", "getOperand", "(", "4", ")", ".", "isGlobal", "(", ")", ")", "return", "false", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "bool", "isPICBase", "=", "false", ";", "for", "(", "MachineRegisterInfo", "::", "def_iterator", "I", "=", "MRI", ".", "def_begin", "(", "BaseReg", ")", ",", "E", "=", "MRI", ".", "def_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "MachineInstr", "*", "DefMI", "=", "I", ".", "getOperand", "(", ")", ".", "getParent", "(", ")", ";", "if", "(", "DefMI", "->", "getOpcode", "(", ")", "!=", "X86", "::", "MOVPC32r", ")", "return", "false", ";", "assert", "(", "!", "isPICBase", "&&", "\"More than one PIC base?\"", ")", ";", "isPICBase", "=", "true", ";", "}", "return", "isPICBase", ";", "}", "return", "false", ";", "}", "case", "X86", "::", "LEA32r", ":", "case", "X86", "::", "LEA64r", ":", "{", "if", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", "&&", "MI", "->", "getOperand", "(", "3", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", "==", "0", "&&", "!", "MI", "->", "getOperand", "(", "4", ")", ".", "isReg", "(", ")", ")", "{", "if", "(", "!", "MI", "->", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", ")", "return", "true", ";", "unsigned", "BaseReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "if", "(", "BaseReg", "==", "0", ")", "return", "true", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "return", "regIsPICBase", "(", "BaseReg", ",", "MRI", ")", ";", "}", "return", "false", ";", "}", "}", "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": ["X86", "X86", "X86::MOV8rm", "X86::MOV16rm", "X86::MOV16_rm", "X86::MOV32rm", "X86::MOV32_rm", "X86::MOV64rm", "X86::LD_Fp64m", "X86::MOVSSrm", "X86::MOVSDrm", "X86::MOVAPSrm", "X86::MOVAPDrm", "X86::MOVDQArm", "X86::MMX_MOVD64rm", "X86::MMX_MOVQ64rm", "1", "2", "3", "3", "0", "4", "4", "4", "1", "0", "4", "X86::MOVPC32r", "\"More than one PIC base?\"", "X86::LEA32r", "X86::LEA64r", "2", "3", "3", "0", "4", "1", "1", "0"], "File": "X86InstrInfo101", "Func": "isReallyTriviallyReMaterializable", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21946, "Length": 487, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64MCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "verifyInstructionPredicates", "(", "MI", ",", "computeAvailableFeatures", "(", "STI", ".", "getFeatureBits", "(", ")", ")", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "TLSDESCCALL", ")", "{", "MCFixupKind", "Fixup", "=", "MCFixupKind", "(", "AArch64", "::", "fixup_aarch64_tlsdesc_call", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "MI", ".", "getOperand", "(", "0", ")", ".", "getExpr", "(", ")", ",", "Fixup", ")", ")", ";", "return", ";", "}", "else", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "CompilerBarrier", ")", "{", "return", ";", "}", "uint64_t", "Binary", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "support", "::", "endian", "::", "write", "<", "uint32_t", ">", "(", "OS", ",", "Binary", ",", "support", "::", "little", ")", ";", "++", "MCNumEmitted", ";", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::TLSDESCCALL", "AArch64::fixup_aarch64_tlsdesc_call", "0", "0", "AArch64::CompilerBarrier", "support::endian", "support::little"], "File": "AArch64MCCodeEmitter (2)", "Func": "encodeInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21947, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16RegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "if", "(", "!", "TFI", "->", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "int64_t", "Amount", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "Mips", "::", "ADJCALLSTACKDOWN", ")", "Amount", "=", "-", "Amount", ";", "const", "Mips16InstrInfo", "*", "II", "=", "static_cast", "<", "const", "Mips16InstrInfo", "*", ">", "(", "&", "TII", ")", ";", "II", "->", "adjustStackPtr", "(", "Mips", "::", "SP", ",", "Amount", ",", "MBB", ",", "I", ")", ";", "}", "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": ["Mips", "Mips", "0", "Mips::ADJCALLSTACKDOWN", "Mips", "Mips", "Mips::SP"], "File": "Mips16RegisterInfo12", "Func": "eliminateCallFramePseudoInstr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21948, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SICFrameLowering", "::", "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": ["SIC", "SIC"], "File": "SICFrameLowering", "Func": "hasFP", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21949, "Length": 68, "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": 21950, "Length": 454, "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", "ARMSubtarget", "&", "STI", "=", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "if", "(", "STI", ".", "isThumb1Only", "(", ")", ")", "return", "false", ";", "const", "TargetMachine", "&", "TM", "=", "MF", ".", "getTarget", "(", ")", ";", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", ")", "return", "false", ";", "LLVMContext", "*", "Context", "=", "&", "MF", ".", "getFunction", "(", ")", "->", "getContext", "(", ")", ";", "unsigned", "ARMPCLabelIndex", "=", "AFI", "->", "createPICLabelUId", "(", ")", ";", "unsigned", "PCAdj", "=", "STI", ".", "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", "=", "STI", ".", "isThumb2", "(", ")", "?", "ARM", "::", "t2LDRpci", ":", "ARM", "::", "LDRcp", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "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", "=", "STI", ".", "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", "4", "8", "ARM", "ARM", "\"_GLOBAL_OFFSET_TABLE_\"", "ARM", "ARM::rGPRRegClass", "ARM::t2LDRpci", "ARM::LDRcp", "ARM::LDRcp", "0", "ARM::tPICADD", "ARM::PICADD", "ARM", "ARM::PICADD"], "File": "ARMInstrInfo30", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21951, "Length": 377, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64FrameLowering", "::", "canUseRedZone", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "!", "EnableRedZone", ")", "return", "false", ";", "if", "(", "MF", ".", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "NoRedZone", ")", ")", "return", "false", ";", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "ARM64FunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARM64FunctionInfo", ">", "(", ")", ";", "unsigned", "NumBytes", "=", "AFI", "->", "getLocalStackSize", "(", ")", ";", "if", "(", "MFI", "->", "hasCalls", "(", ")", "||", "hasFP", "(", "MF", ")", "||", "NumBytes", ">", "128", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Can", "this", "function", "use", "the", "red", "zone", "for", "local", "allocations", "."], "TS_V_token": ["ARM64", "ARM64", "ARM64", "ARM64", "128"], "File": "ARM64FrameLowering", "Func": "canUseRedZone", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21952, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "CSKYInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "CSKY", "::", "LD16B", ":", "case", "CSKY", "::", "LD16H", ":", "case", "CSKY", "::", "LD16W", ":", "case", "CSKY", "::", "LD32B", ":", "case", "CSKY", "::", "LD32BS", ":", "case", "CSKY", "::", "LD32H", ":", "case", "CSKY", "::", "LD32HS", ":", "case", "CSKY", "::", "LD32W", ":", "case", "CSKY", "::", "RESTORE_CARRY", ":", "break", ";", "}", "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": ["CSKY", "CSKY", "0", "CSKY::LD16B", "CSKY::LD16H", "CSKY::LD16W", "CSKY::LD32B", "CSKY::LD32BS", "CSKY::LD32H", "CSKY::LD32HS", "CSKY::LD32W", "CSKY::RESTORE_CARRY", "1", "2", "2", "0", "1", "0", "0"], "File": "CSKYInstrInfo4", "Func": "isLoadFromStackSlot", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21953, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZTargetLowering", "::", "isTruncateFree", "(", "EVT", "FromVT", ",", "EVT", "ToVT", ")", "const", "{", "if", "(", "!", "FromVT", ".", "isInteger", "(", ")", "||", "!", "ToVT", ".", "isInteger", "(", ")", ")", "return", "false", ";", "unsigned", "FromBits", "=", "FromVT", ".", "getSizeInBits", "(", ")", ";", "unsigned", "ToBits", "=", "ToVT", ".", "getSizeInBits", "(", ")", ";", "return", "FromBits", ">", "ToBits", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "'s", "free", "to", "truncate", "a", "value", "of", "type", "Ty1", "to", "type", "Ty2", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZISelLowering (2)1", "Func": "isTruncateFree", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21954, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "MipsDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "unsigned", "GlobalBaseReg", "=", "getInstrInfo", "(", ")", "->", "getGlobalBaseReg", "(", "MF", ")", ";", "return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "TLI", ".", "getPointerTy", "(", ")", ")", ".", "getNode", "(", ")", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsISelDAGToDAG11", "Func": "getGlobalBaseReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21955, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_legitimate_constant_p", "(", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "CONST", ":", "case", "SYMBOL_REF", ":", "if", "(", "sparc_tls_referenced_p", "(", "x", ")", ")", "return", "false", ";", "break", ";", "case", "CONST_DOUBLE", ":", "if", "(", "GET_MODE", "(", "x", ")", "==", "VOIDmode", ")", "return", "true", ";", "if", "(", "TARGET_VIS", "&&", "SCALAR_FLOAT_MODE_P", "(", "mode", ")", "&&", "(", "const_zero_operand", "(", "x", ",", "mode", ")", "||", "const_all_ones_operand", "(", "x", ",", "mode", ")", ")", ")", "return", "true", ";", "return", "false", ";", "case", "CONST_VECTOR", ":", "if", "(", "TARGET_VIS", "&&", "(", "const_zero_operand", "(", "x", ",", "mode", ")", "||", "const_all_ones_operand", "(", "x", ",", "mode", ")", ")", ")", "return", "true", ";", "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": ["sparc"], "File": "sparc4", "Func": "sparc_legitimate_constant_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21956, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "memory_address_length", "(", "rtx", "addr", ",", "bool", "lea", ")", "{", "struct", "ix86_address", "parts", ";", "rtx", "base", ",", "index", ",", "disp", ";", "int", "len", ";", "int", "ok", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PRE_DEC", "||", "GET_CODE", "(", "addr", ")", "==", "POST_INC", "||", "GET_CODE", "(", "addr", ")", "==", "PRE_MODIFY", "||", "GET_CODE", "(", "addr", ")", "==", "POST_MODIFY", ")", "return", "0", ";", "ok", "=", "ix86_decompose_address", "(", "addr", ",", "&", "parts", ")", ";", "gcc_assert", "(", "ok", ")", ";", "len", "=", "(", "parts", ".", "seg", "==", "ADDR_SPACE_GENERIC", ")", "?", "0", ":", "1", ";", "if", "(", "TARGET_64BIT", "&&", "!", "lea", "&&", "(", "SImode_address_operand", "(", "addr", ",", "VOIDmode", ")", "||", "(", "parts", ".", "base", "&&", "GET_MODE", "(", "parts", ".", "base", ")", "==", "SImode", ")", "||", "(", "parts", ".", "index", "&&", "GET_MODE", "(", "parts", ".", "index", ")", "==", "SImode", ")", ")", ")", "len", "++", ";", "base", "=", "parts", ".", "base", ";", "index", "=", "parts", ".", "index", ";", "disp", "=", "parts", ".", "disp", ";", "if", "(", "base", "&&", "SUBREG_P", "(", "base", ")", ")", "base", "=", "SUBREG_REG", "(", "base", ")", ";", "if", "(", "index", "&&", "SUBREG_P", "(", "index", ")", ")", "index", "=", "SUBREG_REG", "(", "index", ")", ";", "gcc_assert", "(", "base", "==", "NULL_RTX", "||", "REG_P", "(", "base", ")", ")", ";", "gcc_assert", "(", "index", "==", "NULL_RTX", "||", "REG_P", "(", "index", ")", ")", ";", "if", "(", "base", "&&", "!", "index", "&&", "!", "disp", ")", "{", "if", "(", "base", "==", "arg_pointer_rtx", "||", "base", "==", "frame_pointer_rtx", "||", "REGNO", "(", "base", ")", "==", "SP_REG", "||", "REGNO", "(", "base", ")", "==", "BP_REG", "||", "REGNO", "(", "base", ")", "==", "R12_REG", "||", "REGNO", "(", "base", ")", "==", "R13_REG", ")", "len", "++", ";", "}", "else", "if", "(", "disp", "&&", "!", "base", "&&", "!", "index", ")", "{", "len", "+=", "4", ";", "if", "(", "!", "rip_relative_addr_p", "(", "&", "parts", ")", ")", "len", "++", ";", "}", "else", "{", "if", "(", "disp", ")", "{", "if", "(", "base", "&&", "satisfies_constraint_K", "(", "disp", ")", ")", "len", "+=", "1", ";", "else", "len", "+=", "4", ";", "}", "else", "if", "(", "base", "&&", "(", "REGNO", "(", "base", ")", "==", "BP_REG", "||", "REGNO", "(", "base", ")", "==", "R13_REG", ")", ")", "len", "++", ";", "if", "(", "index", "||", "base", "==", "arg_pointer_rtx", "||", "base", "==", "frame_pointer_rtx", "||", "(", "base", "&&", "(", "REGNO", "(", "base", ")", "==", "SP_REG", "||", "REGNO", "(", "base", ")", "==", "R12_REG", ")", ")", ")", "len", "++", ";", "}", "return", "len", ";", "}", ""], "natrual_language": ["Calculate", "the", "length", "of", "the", "memory", "address", "in", "the", "instruction", "encoding", ".", "Does", "not", "include", "the", "one-byte", "modrm", ",", "opcode", ",", "or", "prefix", "."], "TS_V_token": ["i386", "0", "0", "1", "4", "1", "4"], "File": "i3866", "Func": "memory_address_length", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21957, "Length": 384, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "*", "output_call", "(", "rtx", "insn", ",", "rtx", "*", "operands", ",", "int", "dest_operand_number", ",", "int", "cookie_operand_number", ")", "{", "static", "char", "buf", "[", "256", "]", ";", "if", "(", "GET_CODE", "(", "operands", "[", "dest_operand_number", "]", ")", "==", "SYMBOL_REF", "&&", "(", "INTVAL", "(", "operands", "[", "cookie_operand_number", "]", ")", "&", "CALL_LONG", ")", ")", "{", "tree", "labelname", ";", "tree", "funname", "=", "get_identifier", "(", "XSTR", "(", "operands", "[", "dest_operand_number", "]", ",", "0", ")", ")", ";", "if", "(", "no_previous_def", "(", "funname", ")", ")", "{", "int", "line_number", "=", "0", ";", "rtx", "label_rtx", "=", "gen_label_rtx", "(", ")", ";", "char", "*", "label_buf", ",", "temp_buf", "[", "256", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "temp_buf", ",", "\"L\"", ",", "CODE_LABEL_NUMBER", "(", "label_rtx", ")", ")", ";", "label_buf", "=", "temp_buf", "[", "0", "]", "==", "'*'", "?", "temp_buf", "+", "1", ":", "temp_buf", ";", "labelname", "=", "get_identifier", "(", "label_buf", ")", ";", "for", "(", ";", "insn", "&&", "GET_CODE", "(", "insn", ")", "!=", "NOTE", ";", "insn", "=", "PREV_INSN", "(", "insn", ")", ")", ";", "if", "(", "insn", ")", "line_number", "=", "NOTE_LINE_NUMBER", "(", "insn", ")", ";", "add_compiler_branch_island", "(", "labelname", ",", "funname", ",", "line_number", ")", ";", "}", "else", "labelname", "=", "get_prev_label", "(", "funname", ")", ";", "sprintf", "(", "buf", ",", "\"jbsr %%z%d,%.246s\"", ",", "dest_operand_number", ",", "IDENTIFIER_POINTER", "(", "labelname", ")", ")", ";", "}", "else", "sprintf", "(", "buf", ",", "\"bl %%z%d\"", ",", "dest_operand_number", ")", ";", "return", "buf", ";", "}", ""], "natrual_language": ["INSN", "is", "either", "a", "function", "call", "or", "a", "millicode", "call", ".", "It", "may", "have", "an", "unconditional", "jump", "in", "its", "delay", "slot", ".", "CALL_DEST", "is", "the", "routine", "we", "are", "calling", "."], "TS_V_token": ["rs6000", "256", "0", "0", "256", "\"L\"", "0", "1", "\"jbsr %%z%d,%.246s\"", "\"bl %%z%d\""], "File": "rs60003", "Func": "output_call", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21958, "Length": 210, "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": 21959, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsOs16", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "bool", "usingMask", "=", "Mips32FunctionMask", ".", "length", "(", ")", ">", "0", ";", "bool", "doneUsingMask", "=", "false", ";", "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", "(", "!", "doneUsingMask", ")", "{", "if", "(", "functionIndex", "==", "Mips32FunctionMask", ".", "length", "(", ")", ")", "functionIndex", "=", "0", ";", "switch", "(", "Mips32FunctionMask", "[", "functionIndex", "]", ")", "{", "case", "'1'", ":", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"mask forced mips32: \"", "<<", "F", "->", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "F", "->", "addFnAttr", "(", "\"nomips16\"", ")", ";", "break", ";", "case", "'.'", ":", "doneUsingMask", "=", "true", ";", "break", ";", "default", ":", "break", ";", "}", "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": "MipsOs1614", "Func": "runOnModule", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21960, "Length": 273, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "pa_starting_frame_offset", "(", "void", ")", "{", "return", "8", ";", "}", ""], "natrual_language": ["Implement", "TARGET_STARTING_FRAME_OFFSET", ".", "On", "the", "32-bit", "ports", ",", "we", "reserve", "one", "slot", "for", "the", "previous", "frame", "pointer", "and", "one", "fill", "slot", ".", "The", "fill", "slot", "is", "for", "compatibility", "with", "HP", "compiled", "programs", ".", "On", "the", "64-bit", "ports", ",", "we", "reserve", "one", "slot", "for", "the", "previous", "frame", "pointer", "."], "TS_V_token": ["pa", "8"], "File": "pa", "Func": "pa_starting_frame_offset", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21961, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_init_builtins", "(", "void", ")", "{", "nds32_init_builtins_impl", "(", ")", ";", "}", ""], "natrual_language": ["Miscellaneous", "Parameters", "."], "TS_V_token": ["nds32"], "File": "nds32", "Func": "nds32_init_builtins", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21962, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsFastISel", "::", "fastMaterializeAlloca", "(", "const", "AllocaInst", "*", "AI", ")", "{", "assert", "(", "TLI", ".", "getValueType", "(", "DL", ",", "AI", "->", "getType", "(", ")", ",", "true", ")", "==", "MVT", "::", "i32", "&&", "\"Alloca should always return a pointer.\"", ")", ";", "DenseMap", "<", "const", "AllocaInst", "*", ",", "int", ">", "::", "iterator", "SI", "=", "FuncInfo", ".", "StaticAllocaMap", ".", "find", "(", "AI", ")", ";", "if", "(", "SI", "!=", "FuncInfo", ".", "StaticAllocaMap", ".", "end", "(", ")", ")", "{", "unsigned", "ResultReg", "=", "createResultReg", "(", "&", "Mips", "::", "GPR32RegClass", ")", ";", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "TII", ".", "get", "(", "Mips", "::", "LEA_ADDiu", ")", ",", "ResultReg", ")", ".", "addFrameIndex", "(", "SI", "->", "second", ")", ".", "addImm", "(", "0", ")", ";", "return", "ResultReg", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Emit", "an", "alloca", "address", "in", "a", "register", "using", "target-specific", "logic", "."], "TS_V_token": ["Mips", "Mips", "MVT::i32", "\"Alloca should always return a pointer.\"", "Mips::GPR32RegClass", "Mips::LEA_ADDiu", "0", "0"], "File": "MipsFastISel10", "Func": "fastMaterializeAlloca", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21963, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86DAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "OptForSize", "=", "MF", "->", "getFunction", "(", ")", "->", "getFnAttributes", "(", ")", ".", "hasAttribute", "(", "Attributes", "::", "OptimizeForSize", ")", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "SDNode", "*", "N", "=", "I", "++", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", "&&", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", "||", "(", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "TC_RETURN", "&&", "(", "Subtarget", "->", "is64Bit", "(", ")", "||", "getTargetMachine", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", ")", ")", ")", ")", "{", "bool", "HasCallSeq", "=", "N", "->", "getOpcode", "(", ")", "==", "X86ISD", "::", "CALL", ";", "SDValue", "Chain", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Load", "=", "N", "->", "getOperand", "(", "1", ")", ";", "if", "(", "!", "isCalleeLoad", "(", "Load", ",", "Chain", ",", "HasCallSeq", ")", ")", "continue", ";", "MoveBelowOrigChain", "(", "CurDAG", ",", "Load", ",", "SDValue", "(", "N", ",", "0", ")", ",", "Chain", ")", ";", "++", "NumLoadMoved", ";", "continue", ";", "}", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_ROUND", "&&", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "EVT", "SrcVT", "=", "N", "->", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", ";", "EVT", "DstVT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "if", "(", "SrcVT", ".", "isVector", "(", ")", "||", "DstVT", ".", "isVector", "(", ")", ")", "continue", ";", "bool", "SrcIsSSE", "=", "X86Lowering", ".", "isScalarFPTypeInSSEReg", "(", "SrcVT", ")", ";", "bool", "DstIsSSE", "=", "X86Lowering", ".", "isScalarFPTypeInSSEReg", "(", "DstVT", ")", ";", "if", "(", "SrcIsSSE", "&&", "DstIsSSE", ")", "continue", ";", "if", "(", "!", "SrcIsSSE", "&&", "!", "DstIsSSE", ")", "{", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "if", "(", "N", "->", "getConstantOperandVal", "(", "1", ")", ")", "continue", ";", "}", "EVT", "MemVT", ";", "if", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FP_ROUND", ")", "MemVT", "=", "DstVT", ";", "else", "MemVT", "=", "SrcIsSSE", "?", "SrcVT", ":", "DstVT", ";", "SDValue", "MemTmp", "=", "CurDAG", "->", "CreateStackTemporary", "(", "MemVT", ")", ";", "DebugLoc", "dl", "=", "N", "->", "getDebugLoc", "(", ")", ";", "SDValue", "Store", "=", "CurDAG", "->", "getTruncStore", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "dl", ",", "N", "->", "getOperand", "(", "0", ")", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "SDValue", "Result", "=", "CurDAG", "->", "getExtLoad", "(", "ISD", "::", "EXTLOAD", ",", "dl", ",", "DstVT", ",", "Store", ",", "MemTmp", ",", "MachinePointerInfo", "(", ")", ",", "MemVT", ",", "false", ",", "false", ",", "0", ")", ";", "--", "I", ";", "CurDAG", "->", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "0", ")", ",", "Result", ")", ";", "++", "I", ";", "CurDAG", "->", "DeleteNode", "(", "N", ")", ";", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["X86", "X86", "X86ISD::CALL", "X86ISD::TC_RETURN", "X86ISD::CALL", "0", "1", "0", "ISD::FP_ROUND", "ISD::FP_EXTEND", "0", "0", "X86", "X86", "ISD::FP_EXTEND", "1", "ISD::FP_ROUND", "0", "0", "ISD::EXTLOAD", "0", "0"], "File": "X86ISelDAGToDAG118", "Func": "PreprocessISelDAG", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21964, "Length": 454, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "adjust_concat", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "set", "=", "PATTERN", "(", "insn", ")", ";", "rtx", "concat", "=", "XEXP", "(", "set", ",", "1", ")", ";", "rtx", "src0", "=", "XEXP", "(", "concat", ",", "0", ")", ";", "XEXP", "(", "concat", ",", "0", ")", "=", "XEXP", "(", "concat", ",", "1", ")", ";", "XEXP", "(", "concat", ",", "1", ")", "=", "src0", ";", "INSN_CODE", "(", "insn", ")", "=", "-", "1", ";", "df_insn_rescan", "(", "insn", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Reversing inputs for concat %d\\n\"", ",", "INSN_UID", "(", "insn", ")", ")", ";", "}", ""], "natrual_language": ["Given", "OP", "that", "contains", "a", "VEC_CONCAT", "operation", "of", "two", "doublewords", ",", "reverse", "the", "order", "of", "those", "inputs", "."], "TS_V_token": ["rs6000", "1", "0", "0", "1", "1", "1", "\"Reversing inputs for concat %d\\n\""], "File": "rs6000-p8swap", "Func": "adjust_concat", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21965, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ARMTTIImpl", "::", "getIntrinsicInstrCost", "(", "const", "IntrinsicCostAttributes", "&", "ICA", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "switch", "(", "ICA", ".", "getID", "(", ")", ")", "{", "case", "Intrinsic", "::", "get_active_lane_mask", ":", "if", "(", "ST", "->", "hasMVEIntegerOps", "(", ")", ")", "return", "0", ";", "break", ";", "case", "Intrinsic", "::", "sadd_sat", ":", "case", "Intrinsic", "::", "ssub_sat", ":", "case", "Intrinsic", "::", "uadd_sat", ":", "case", "Intrinsic", "::", "usub_sat", ":", "{", "if", "(", "!", "ST", "->", "hasMVEIntegerOps", "(", ")", ")", "break", ";", "Type", "*", "VT", "=", "ICA", ".", "getReturnType", "(", ")", ";", "if", "(", "!", "VT", "->", "isVectorTy", "(", ")", "&&", "!", "ICA", ".", "getVectorFactor", "(", ")", ".", "isScalar", "(", ")", ")", "VT", "=", "VectorType", "::", "get", "(", "VT", ",", "ICA", ".", "getVectorFactor", "(", ")", ")", ";", "std", "::", "pair", "<", "int", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "VT", ")", ";", "if", "(", "LT", ".", "second", "==", "MVT", "::", "v4i32", "||", "LT", ".", "second", "==", "MVT", "::", "v8i16", "||", "LT", ".", "second", "==", "MVT", "::", "v16i8", ")", "{", "unsigned", "Instrs", "=", "LT", ".", "second", ".", "getScalarSizeInBits", "(", ")", "==", "ICA", ".", "getReturnType", "(", ")", "->", "getScalarSizeInBits", "(", ")", "?", "1", ":", "4", ";", "return", "LT", ".", "first", "*", "ST", "->", "getMVEVectorCostFactor", "(", ")", "*", "Instrs", ";", "}", "break", ";", "}", "}", "return", "BaseT", "::", "getIntrinsicInstrCost", "(", "ICA", ",", "CostKind", ")", ";", "}", ""], "natrual_language": ["Get", "intrinsic", "cost", "based", "on", "arguments", "."], "TS_V_token": ["ARM", "ARM", "Intrinsic::get_active_lane_mask", "0", "Intrinsic::sadd_sat", "Intrinsic::ssub_sat", "Intrinsic::uadd_sat", "Intrinsic::usub_sat", "MVT::v4i32", "MVT::v8i16", "MVT::v16i8", "1", "4"], "File": "ARMTargetTransformInfo29", "Func": "getIntrinsicInstrCost", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21966, "Length": 220, "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", ",", "CodeModel", "::", "Small", ")", ",", "OL", ")", ",", "TargetABI", "(", "computeTargetABI", "(", "TT", ",", "CPU", ",", "Options", ")", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", ",", "isLittle", "(", "isLittle", ")", "{", "if", "(", "Options", ".", "FloatABIType", "==", "FloatABI", "::", "Default", ")", "{", "if", "(", "isTargetHardFloat", "(", ")", ")", "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", ";", "}", "setSupportsDebugEntryValues", "(", "true", ")", ";", "initAsmInfo", "(", ")", ";", "setMachineOutliner", "(", "true", ")", ";", "setSupportsDefaultOutlining", "(", "true", ")", ";", "}", ""], "natrual_language": ["Create", "an", "ARM", "architecture", "model", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMTargetMachine1", "Func": "ARMBaseTargetMachine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21967, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mmix_function_value_regno_p", "(", "int", "regno", ")", "{", "return", "regno", "==", "MMIX_RETURN_VALUE_REGNUM", ";", "}", ""], "natrual_language": ["FUNCTION_VALUE_REGNO_P", "."], "TS_V_token": ["mmix"], "File": "mmix3", "Func": "mmix_function_value_regno_p", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21968, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "string", "getDataLayout", "(", ")", "const", "{", "return", "std", "::", "string", "(", "\"E-p:32:32:32-i64:64:64-f64:64:64-f128:64:64-n32\"", ")", ";", "}", ""], "natrual_language": ["Return", "the", "DataLayout", "associated", "with", "the", "module", "this", "SCEV", "instance", "is", "operating", "on", "."], "TS_V_token": ["TOY", "\"E-p:32:32:32-i64:64:64-f64:64:64-f128:64:64-n32\""], "File": "TOYSubtarget", "Func": "getDataLayout", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21969, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16RegisterInfo", "::", "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": ["Mips", "Mips"], "File": "Mips16RegisterInfo23", "Func": "eliminateCallFramePseudoInstr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21970, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "thumb_call_via_reg", "(", "rtx", "reg", ")", "{", "int", "regno", "=", "REGNO", "(", "reg", ")", ";", "rtx", "*", "labelp", ";", "gcc_assert", "(", "regno", "<", "LR_REGNUM", ")", ";", "if", "(", "in_text_section", "(", ")", ")", "{", "thumb_call_reg_needed", "=", "1", ";", "if", "(", "thumb_call_via_label", "[", "regno", "]", "==", "NULL", ")", "thumb_call_via_label", "[", "regno", "]", "=", "gen_label_rtx", "(", ")", ";", "labelp", "=", "thumb_call_via_label", "+", "regno", ";", "}", "else", "{", "if", "(", "cfun", "->", "machine", "->", "call_via", "[", "regno", "]", "==", "NULL", ")", "cfun", "->", "machine", "->", "call_via", "[", "regno", "]", "=", "gen_label_rtx", "(", ")", ";", "labelp", "=", "cfun", "->", "machine", "->", "call_via", "+", "regno", ";", "}", "output_asm_insn", "(", "\"bl\\t%a0\"", ",", "labelp", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "a", "call-via", "instruction", "for", "thumb", "state", "."], "TS_V_token": ["arm", "1", "\"bl\\t%a0\"", "\"\""], "File": "arm3", "Func": "thumb_call_via_reg", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21971, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PPCSubtarget", "::", "PPCSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "is64Bit", ")", ":", "StackAlignment", "(", "16", ")", ",", "DarwinDirective", "(", "PPC", "::", "DIR_NONE", ")", ",", "IsGigaProcessor", "(", "false", ")", ",", "Has64BitSupport", "(", "false", ")", ",", "Use64BitRegs", "(", "false", ")", ",", "IsPPC64", "(", "is64Bit", ")", ",", "HasAltivec", "(", "false", ")", ",", "HasFSQRT", "(", "false", ")", ",", "HasSTFIWX", "(", "false", ")", ",", "HasLazyResolverStubs", "(", "false", ")", ",", "IsJITCodeModel", "(", "false", ")", ",", "DarwinVers", "(", "0", ")", "{", "std", "::", "string", "CPU", "=", "\"generic\"", ";", "CPU", "=", "GetCurrentPowerPCCPU", "(", ")", ";", "ParseSubtargetFeatures", "(", "FS", ",", "CPU", ")", ";", "if", "(", "is64Bit", ")", "{", "Has64BitSupport", "=", "true", ";", "Use64BitRegs", "=", "true", ";", "}", "if", "(", "use64BitRegs", "(", ")", "&&", "!", "has64BitSupport", "(", ")", ")", "Use64BitRegs", "=", "false", ";", "if", "(", "TT", ".", "length", "(", ")", ">", "7", ")", "{", "size_t", "DarwinPos", "=", "TT", ".", "find", "(", "\"-darwin\"", ")", ";", "if", "(", "DarwinPos", "!=", "std", "::", "string", "::", "npos", ")", "{", "if", "(", "isdigit", "(", "TT", "[", "DarwinPos", "+", "7", "]", ")", ")", "DarwinVers", "=", "atoi", "(", "&", "TT", "[", "DarwinPos", "+", "7", "]", ")", ";", "else", "DarwinVers", "=", "8", ";", "}", "}", "if", "(", "isDarwin", "(", ")", ")", "HasLazyResolverStubs", "=", "true", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "16", "PPC::DIR_NONE", "PPC", "0", "\"generic\"", "7", "\"-darwin\"", "7", "7", "8"], "File": "PPCSubtarget19", "Func": "PPCSubtarget", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21972, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "loongarch_set_reg_reg_cost", "(", "machine_mode", "mode", ")", "{", "switch", "(", "GET_MODE_CLASS", "(", "mode", ")", ")", "{", "case", "MODE_CC", ":", "return", "loongarch_set_reg_reg_piece_cost", "(", "mode", ",", "GET_MODE_SIZE", "(", "CCmode", ")", ")", ";", "case", "MODE_FLOAT", ":", "case", "MODE_COMPLEX_FLOAT", ":", "case", "MODE_VECTOR_FLOAT", ":", "if", "(", "TARGET_HARD_FLOAT", ")", "return", "loongarch_set_reg_reg_piece_cost", "(", "mode", ",", "UNITS_PER_HWFPVALUE", ")", ";", "default", ":", "return", "loongarch_set_reg_reg_piece_cost", "(", "mode", ",", "UNITS_PER_WORD", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "moving", "between", "two", "registers", "of", "mode", "MODE", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_set_reg_reg_cost", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21973, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isAsCheapAsAMove", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "isCortexA57", "(", ")", "&&", "!", "Subtarget", ".", "isCortexA53", "(", ")", ")", "return", "MI", "->", "isAsCheapAsAMove", "(", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "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", ";", "}", "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::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", "\"Unknown opcode to check as cheap as a move!\""], "File": "AArch64InstrInfo100", "Func": "isAsCheapAsAMove", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21974, "Length": 188, "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", "(", ")", "->", "stripPointerCastsSafe", "(", ")", ")", ";", "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": "X86WinEHState1", "Func": "runOnFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21975, "Length": 215, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZMCAsmBackend", "::", "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", "(", ")", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "BitSize", "=", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ";", "unsigned", "Size", "=", "(", "BitSize", "+", "7", ")", "/", "8", ";", "assert", "(", "Offset", "+", "Size", "<=", "Data", ".", "size", "(", ")", "&&", "\"Invalid fixup offset!\"", ")", ";", "Value", "=", "extractBitsForFixup", "(", "Kind", ",", "Value", ")", ";", "if", "(", "BitSize", "<", "64", ")", "Value", "&=", "(", "(", "uint64_t", ")", "1", "<<", "BitSize", ")", "-", "1", ";", "unsigned", "ShiftValue", "=", "(", "Size", "*", "8", ")", "-", "8", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "!=", "Size", ";", "++", "I", ")", "{", "Data", "[", "Offset", "+", "I", "]", "|=", "uint8_t", "(", "Value", ">>", "ShiftValue", ")", ";", "ShiftValue", "-=", "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": ["SystemZ", "SystemZ", "7", "8", "\"Invalid fixup offset!\"", "64", "1", "1", "8", "8", "0", "8"], "File": "SystemZMCAsmBackend15", "Func": "applyFixup", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21976, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mips_rewrite_small_data", "(", "rtx", "op", ")", "{", "op", "=", "copy_insn", "(", "op", ")", ";", "for_each_rtx", "(", "&", "op", ",", "mips_rewrite_small_data_1", ",", "0", ")", ";", "return", "op", ";", "}", ""], "natrual_language": ["If", "possible", ",", "rewrite", "OP", "so", "that", "it", "refers", "to", "small", "data", "using", "explicit", "relocations", "."], "TS_V_token": ["mips", "0"], "File": "mips3", "Func": "mips_rewrite_small_data", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21977, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_fixed_condition_code_regs", "(", "unsigned", "int", "*", "p1", ",", "unsigned", "int", "*", "p2", ")", "{", "if", "(", "!", "TARGET_32BIT", ")", "return", "false", ";", "*", "p1", "=", "CC_REGNUM", ";", "*", "p2", "=", "TARGET_HARD_FLOAT", "?", "VFPCC_REGNUM", ":", "INVALID_REGNUM", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FIXED_CONDITION_CODE_REGS", ".", "We", "only", "have", "condition", "code", "registers", "when", "not", "targetting", "Thumb1", ".", "The", "VFP", "condition", "register", "only", "exists", "when", "generating", "hard-float", "code", "."], "TS_V_token": ["arm"], "File": "arm7", "Func": "arm_fixed_condition_code_regs", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21978, "Length": 41, "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": 21979, "Length": 297, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_override_options", "(", "void", ")", "{", "uint64_t", "cpu_isa", "=", "0", ";", "uint64_t", "arch_isa", "=", "0", ";", "aarch64_isa_flags", "=", "0", ";", "bool", "valid_cpu", "=", "true", ";", "bool", "valid_tune", "=", "true", ";", "bool", "valid_arch", "=", "true", ";", "selected_cpu", "=", "NULL", ";", "selected_arch", "=", "NULL", ";", "selected_tune", "=", "NULL", ";", "if", "(", "aarch64_branch_protection_string", ")", "aarch64_validate_mbranch_protection", "(", "aarch64_branch_protection_string", ")", ";", "if", "(", "aarch64_cpu_string", ")", "valid_cpu", "=", "aarch64_validate_mcpu", "(", "aarch64_cpu_string", ",", "&", "selected_cpu", ",", "&", "cpu_isa", ")", ";", "if", "(", "aarch64_arch_string", ")", "valid_arch", "=", "aarch64_validate_march", "(", "aarch64_arch_string", ",", "&", "selected_arch", ",", "&", "arch_isa", ")", ";", "if", "(", "aarch64_tune_string", ")", "valid_tune", "=", "aarch64_validate_mtune", "(", "aarch64_tune_string", ",", "&", "selected_tune", ")", ";", "SUBTARGET_OVERRIDE_OPTIONS", ";", "if", "(", "!", "selected_cpu", ")", "{", "if", "(", "selected_arch", ")", "{", "selected_cpu", "=", "&", "all_cores", "[", "selected_arch", "->", "ident", "]", ";", "aarch64_isa_flags", "=", "arch_isa", ";", "explicit_arch", "=", "selected_arch", "->", "arch", ";", "}", "else", "{", "selected_cpu", "=", "aarch64_get_tune_cpu", "(", "aarch64_none", ")", ";", "aarch64_isa_flags", "=", "TARGET_CPU_DEFAULT", ">>", "6", ";", "}", "if", "(", "selected_tune", ")", "explicit_tune_core", "=", "selected_tune", "->", "ident", ";", "}", "else", "if", "(", "selected_arch", ")", "{", "if", "(", "selected_arch", "->", "arch", "!=", "selected_cpu", "->", "arch", ")", "{", "warning", "(", "0", ",", "\"switch %<-mcpu=%s%> conflicts with %<-march=%s%> switch\"", ",", "aarch64_cpu_string", ",", "aarch64_arch_string", ")", ";", "}", "aarch64_isa_flags", "=", "arch_isa", ";", "explicit_arch", "=", "selected_arch", "->", "arch", ";", "explicit_tune_core", "=", "selected_tune", "?", "selected_tune", "->", "ident", ":", "selected_cpu", "->", "ident", ";", "}", "else", "{", "aarch64_isa_flags", "=", "cpu_isa", ";", "explicit_tune_core", "=", "selected_tune", "?", "selected_tune", "->", "ident", ":", "selected_cpu", "->", "ident", ";", "gcc_assert", "(", "selected_cpu", ")", ";", "selected_arch", "=", "&", "all_architectures", "[", "selected_cpu", "->", "arch", "]", ";", "explicit_arch", "=", "selected_arch", "->", "arch", ";", "}", "if", "(", "!", "selected_arch", ")", "{", "gcc_assert", "(", "selected_cpu", ")", ";", "selected_arch", "=", "&", "all_architectures", "[", "selected_cpu", "->", "arch", "]", ";", "}", "if", "(", "!", "selected_tune", ")", "selected_tune", "=", "selected_cpu", ";", "if", "(", "aarch64_enable_bti", "==", "2", ")", "{", "aarch64_enable_bti", "=", "1", ";", "aarch64_enable_bti", "=", "0", ";", "}", "if", "(", "!", "TARGET_ILP32", "&&", "accepted_branch_protection_string", "==", "NULL", ")", "{", "aarch64_ra_sign_scope", "=", "AARCH64_FUNCTION_NON_LEAF", ";", "aarch64_ra_sign_scope", "=", "AARCH64_FUNCTION_NONE", ";", "}", "if", "(", "TARGET_ILP32", ")", "error", "(", "\"assembler does not support %<-mabi=ilp32%>\"", ")", ";", "aarch64_sve_vg", "=", "aarch64_convert_sve_vector_bits", "(", "aarch64_sve_vector_bits", ")", ";", "if", "(", "aarch64_ra_sign_scope", "!=", "AARCH64_FUNCTION_NONE", "&&", "TARGET_ILP32", ")", "sorry", "(", "\"return address signing is only supported for %<-mabi=lp64%>\"", ")", ";", "if", "(", "(", "aarch64_cpu_string", "&&", "valid_cpu", ")", "||", "(", "aarch64_tune_string", "&&", "valid_tune", ")", ")", "gcc_assert", "(", "explicit_tune_core", "!=", "aarch64_none", ")", ";", "if", "(", "(", "aarch64_cpu_string", "&&", "valid_cpu", ")", "||", "(", "aarch64_arch_string", "&&", "valid_arch", ")", ")", "gcc_assert", "(", "explicit_arch", "!=", "aarch64_no_arch", ")", ";", "if", "(", "aarch64_track_speculation", ")", "flag_shrink_wrap", "=", "0", ";", "aarch64_override_options_internal", "(", "&", "global_options", ")", ";", "target_option_default_node", "=", "target_option_current_node", "=", "build_target_option_node", "(", "&", "global_options", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_OVERRIDE", "."], "TS_V_token": ["aarch64", "0", "0", "0", "6", "0", "\"switch %<-mcpu=%s%> conflicts with %<-march=%s%> switch\"", "2", "1", "0", "\"assembler does not support %<-mabi=ilp32%>\"", "\"return address signing is only supported for %<-mabi=lp64%>\"", "0"], "File": "aarch64", "Func": "aarch64_override_options", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21980, "Length": 420, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "MipsSEFrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "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", "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": "MipsSEFrameLowering16", "Func": "getFrameIndexReference", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21981, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "TOYTargetLowering", "::", "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", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", ".", "getRegInfo", "(", ")", ";", "assert", "(", "!", "isVarArg", "&&", "\"VarArg not supported\"", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "CC_TOY", ")", ";", "for", "(", "auto", "&", "VA", ":", "ArgLocs", ")", "{", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "EVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "assert", "(", "RegVT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", "==", "MVT", "::", "i32", "&&", "\"Only support MVT::i32 register passing\"", ")", ";", "const", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "TOY", "::", "GRRegsRegClass", ")", ";", "RegInfo", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "VReg", ")", ";", "SDValue", "ArgIn", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VReg", ",", "RegVT", ")", ";", "InVals", ".", "push_back", "(", "ArgIn", ")", ";", "continue", ";", "}", "assert", "(", "VA", ".", "isMemLoc", "(", ")", "&&", "\"Can only pass arguments as either registers or via the stack\"", ")", ";", "const", "unsigned", "Offset", "=", "VA", ".", "getLocMemOffset", "(", ")", ";", "const", "int", "FI", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "CreateFixedObject", "(", "4", ",", "Offset", ",", "true", ")", ";", "SDValue", "FIPtr", ";", "assert", "(", "VA", ".", "getValVT", "(", ")", "==", "MVT", "::", "i32", "&&", "\"Only support passing arguments as i32\"", ")", ";", "SDValue", "Load", ";", "InVals", ".", "push_back", "(", "Load", ")", ";", "}", "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": ["TOY", "TOY", "ISD::InputArg", "\"VarArg not supported\"", "16", "TOY", "MVT::i32", "\"Only support MVT::i32 register passing\"", "TOY::GRRegsRegClass", "\"Can only pass arguments as either registers or via the stack\"", "4", "MVT::i32", "\"Only support passing arguments as i32\""], "File": "TOYISelLowering1", "Func": "LowerFormalArguments", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21982, "Length": 282, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ARMBaseRegisterInfo", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "FrameReg", ")", "const", "{", "return", "ResolveFrameIndexReference", "(", "MF", ",", "FI", ",", "FrameReg", ",", "0", ")", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["ARM", "ARM", "0"], "File": "ARMBaseRegisterInfo29", "Func": "getFrameIndexReference", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21983, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZAsmPrinter", "::", "emitEndOfAsmFile", "(", "Module", "&", "M", ")", "{", "emitEXRLTargetInstructions", "(", ")", ";", "emitStackMaps", "(", "SM", ")", ";", "}", ""], "natrual_language": ["This", "virtual", "method", "can", "be", "overridden", "by", "targets", "that", "want", "to", "emit", "something", "at", "the", "end", "of", "their", "file", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZAsmPrinter22", "Func": "emitEndOfAsmFile", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21984, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "d30v_expand_epilogue", "(", ")", "{", "rtx", "sp", "=", "stack_pointer_rtx", ";", "d30v_stack_t", "*", "info", "=", "d30v_stack_info", "(", ")", ";", "int", "i", ";", "rtx", "mem_di", "=", "NULL_RTX", ";", "rtx", "mem_si", "=", "NULL_RTX", ";", "rtx", "post_inc", ";", "int", "extra_stack", ";", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "if", "(", "frame_pointer_needed", ")", "emit_move_insn", "(", "sp", ",", "frame_pointer_rtx", ")", ";", "if", "(", "info", "->", "save_offset", ")", "emit_insn", "(", "gen_addsi3", "(", "sp", ",", "sp", ",", "GEN_INT", "(", "info", "->", "save_offset", ")", ")", ")", ";", "post_inc", "=", "gen_rtx", "(", "POST_INC", ",", "Pmode", ",", "sp", ")", ";", "mem_di", "=", "gen_rtx", "(", "MEM", ",", "DImode", ",", "post_inc", ")", ";", "mem_si", "=", "gen_rtx", "(", "MEM", ",", "SImode", ",", "post_inc", ")", ";", "for", "(", "i", "=", "ACCUM_FIRST", ";", "i", "<=", "ACCUM_LAST", ";", "i", "++", ")", "if", "(", "info", "->", "save_p", "[", "i", "]", ")", "{", "rtx", "acc_tmp", "=", "gen_rtx", "(", "REG", ",", "DImode", ",", "GPR_ATMP_FIRST", ")", ";", "emit_insn", "(", "gen_movdi", "(", "acc_tmp", ",", "mem_di", ")", ")", ";", "emit_insn", "(", "gen_movdi", "(", "gen_rtx", "(", "REG", ",", "DImode", ",", "i", ")", ",", "acc_tmp", ")", ")", ";", "}", "for", "(", "i", "=", "GPR_FIRST", ";", "i", "<=", "GPR_LAST", ";", "i", "+=", "2", ")", "if", "(", "info", "->", "save_p", "[", "i", "]", "==", "2", ")", "emit_insn", "(", "gen_movdi", "(", "gen_rtx", "(", "REG", ",", "DImode", ",", "i", ")", ",", "mem_di", ")", ")", ";", "extra_stack", "=", "0", ";", "for", "(", "i", "=", "GPR_FIRST", ";", "i", "<=", "GPR_LAST", ";", "i", "++", ")", "if", "(", "info", "->", "save_p", "[", "i", "]", "==", "1", ")", "{", "if", "(", "cfun", "->", "machine", "->", "eh_epilogue_sp_ofs", "&&", "i", "==", "GPR_LINK", ")", "extra_stack", "=", "4", ";", "else", "{", "if", "(", "extra_stack", ")", "{", "emit_insn", "(", "gen_addsi3", "(", "sp", ",", "sp", ",", "GEN_INT", "(", "extra_stack", ")", ")", ")", ";", "extra_stack", "=", "0", ";", "}", "emit_insn", "(", "gen_movsi", "(", "gen_rtx", "(", "REG", ",", "SImode", ",", "i", ")", ",", "mem_si", ")", ")", ";", "}", "}", "if", "(", "(", "info", "->", "memrefs_1word", "&", "1", ")", "!=", "0", ")", "extra_stack", "+=", "UNITS_PER_WORD", ";", "extra_stack", "+=", "current_function_pretend_args_size", "+", "info", "->", "varargs_size", ";", "if", "(", "extra_stack", ")", "{", "if", "(", "cfun", "->", "machine", "->", "eh_epilogue_sp_ofs", ")", "emit_insn", "(", "gen_addsi3", "(", "cfun", "->", "machine", "->", "eh_epilogue_sp_ofs", ",", "cfun", "->", "machine", "->", "eh_epilogue_sp_ofs", ",", "GEN_INT", "(", "extra_stack", ")", ")", ")", ";", "else", "emit_insn", "(", "gen_addsi3", "(", "sp", ",", "sp", ",", "GEN_INT", "(", "extra_stack", ")", ")", ")", ";", "}", "if", "(", "cfun", "->", "machine", "->", "eh_epilogue_sp_ofs", ")", "emit_insn", "(", "gen_addsi3", "(", "sp", ",", "sp", ",", "cfun", "->", "machine", "->", "eh_epilogue_sp_ofs", ")", ")", ";", "emit_jump_insn", "(", "gen_rtx_RETURN", "(", "VOIDmode", ")", ")", ";", "}", ""], "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", "output_function_prologue", "(", ")", ",", "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": ["d30v", "2", "2", "0", "1", "4", "0", "1", "0"], "File": "d30v", "Func": "d30v_expand_epilogue", "Target": "d30v", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21985, "Length": 417, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "VEFrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "FrameReg", ")", "const", "{", "int64_t", "FrameOffset", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectOffset", "(", "FI", ")", ";", "FrameReg", "=", "VE", "::", "SX11", ";", "return", "FrameOffset", "+", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ";", "}", ""], "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::SX11"], "File": "VEFrameLowering10", "Func": "getFrameIndexReference", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21986, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_cfun_has_inflexible_gp_ref_p", "(", "void", ")", "{", "if", "(", "crtl", "->", "has_nonlocal_goto", ")", "return", "true", ";", "if", "(", "TARGET_ABICALLS_PIC2", ")", "{", "if", "(", "!", "TARGET_EXPLICIT_RELOCS", ")", "return", "true", ";", "if", "(", "crtl", "->", "profile", ")", "return", "true", ";", "if", "(", "mips16_cfun_returns_in_fpr_p", "(", ")", ")", "return", "true", ";", "}", "return", "mips_find_gp_ref", "(", "&", "cfun", "->", "machine", "->", "has_inflexible_gp_insn_p", ",", "mips_insn_has_inflexible_gp_ref_p", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "current", "function", "refers", "to", "the", "global", "pointer", "in", "a", "way", "that", "forces", "$", "28", "to", "be", "valid", ".", "This", "means", "that", "we", "ca", "n't", "change", "the", "choice", "of", "global", "pointer", ",", "even", "for", "NewABI", "code", ".", "One", "example", "of", "this", "(", "and", "one", "which", "needs", "several", "checks", ")", "is", "that", "$", "28", "must", "be", "valid", "when", "calling", "traditional", "MIPS", "lazy-binding", "stubs", ".", "(", "This", "restriction", "does", "not", "apply", "to", "PLTs", ".", ")"], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_cfun_has_inflexible_gp_ref_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21987, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SystemZSubtarget", "*", "SystemZTargetMachine", "::", "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", "(", ")", "?", "\"+soft-float\"", ":", "\",+soft-float\"", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "CPU", "+", "FS", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "std", "::", "make_unique", "<", "SystemZSubtarget", ">", "(", "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": ["SystemZ", "SystemZ", "SystemZ", "\"target-cpu\"", "\"target-features\"", "\"use-soft-float\"", "\"+soft-float\"", "\",+soft-float\"", "SystemZ"], "File": "SystemZTargetMachine18", "Func": "getSubtargetImpl", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21988, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_rewrite_small_data_p", "(", "rtx", "x", ")", "{", "enum", "mips_symbol_type", "symbol_type", ";", "return", "(", "TARGET_EXPLICIT_RELOCS", "&&", "mips_symbolic_constant_p", "(", "x", ",", "&", "symbol_type", ")", "&&", "symbol_type", "==", "SYMBOL_SMALL_DATA", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "small", "data", "address", "that", "can", "be", "rewritten", "as", "a", "LO_SUM", "."], "TS_V_token": ["mips"], "File": "mips3", "Func": "mips_rewrite_small_data_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21989, "Length": 30, "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": 21990, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "easy_altivec_constant", "(", "rtx", "op", ",", "machine_mode", "mode", ")", "{", "unsigned", "step", ",", "copies", ";", "if", "(", "mode", "==", "VOIDmode", ")", "mode", "=", "GET_MODE", "(", "op", ")", ";", "else", "if", "(", "mode", "!=", "GET_MODE", "(", "op", ")", ")", "return", "false", ";", "if", "(", "mode", "==", "V2DFmode", ")", "return", "zero_constant", "(", "op", ",", "mode", ")", ";", "else", "if", "(", "mode", "==", "V2DImode", ")", "{", "if", "(", "GET_CODE", "(", "CONST_VECTOR_ELT", "(", "op", ",", "0", ")", ")", "!=", "CONST_INT", "||", "GET_CODE", "(", "CONST_VECTOR_ELT", "(", "op", ",", "1", ")", ")", "!=", "CONST_INT", ")", "return", "false", ";", "if", "(", "zero_constant", "(", "op", ",", "mode", ")", ")", "return", "true", ";", "if", "(", "INTVAL", "(", "CONST_VECTOR_ELT", "(", "op", ",", "0", ")", ")", "==", "-", "1", "&&", "INTVAL", "(", "CONST_VECTOR_ELT", "(", "op", ",", "1", ")", ")", "==", "-", "1", ")", "return", "true", ";", "return", "false", ";", "}", "else", "if", "(", "mode", "==", "V1TImode", ")", "return", "false", ";", "step", "=", "GET_MODE_NUNITS", "(", "mode", ")", "/", "4", ";", "copies", "=", "1", ";", "if", "(", "vspltis_constant", "(", "op", ",", "step", ",", "copies", ")", ")", "return", "true", ";", "if", "(", "step", "==", "1", ")", "copies", "<<=", "1", ";", "else", "step", ">>=", "1", ";", "if", "(", "vspltis_constant", "(", "op", ",", "step", ",", "copies", ")", ")", "return", "true", ";", "if", "(", "step", "==", "1", ")", "copies", "<<=", "1", ";", "else", "step", ">>=", "1", ";", "if", "(", "vspltis_constant", "(", "op", ",", "step", ",", "copies", ")", ")", "return", "true", ";", "if", "(", "vspltis_shifted", "(", "op", ")", "!=", "0", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "is", "of", "the", "given", "MODE", "and", "can", "be", "synthesized", "with", "a", "vspltisb", ",", "vspltish", "or", "vspltisw", "."], "TS_V_token": ["powerpcspe", "0", "1", "0", "1", "1", "1", "4", "1", "1", "1", "1", "1", "1", "1", "0"], "File": "powerpcspe", "Func": "easy_altivec_constant", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21991, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isTargetEHABICompatible", "(", ")", "const", "{", "return", "(", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "EABI", "||", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "GNUEABI", "||", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "EABIHF", "||", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "GNUEABIHF", "||", "isTargetAndroid", "(", ")", ")", "&&", "!", "isTargetDarwin", "(", ")", "&&", "!", "isTargetWindows", "(", ")", ";", "}", ""], "natrual_language": ["Tests", "whether", "the", "target", "supports", "the", "EHABI", "exception", "handling", "standard", "."], "TS_V_token": ["ARM"], "File": "ARMSubtarget (2)1", "Func": "isTargetEHABICompatible", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21992, "Length": 64, "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", ")", "||", "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", "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": "ARMISelLowering10", "Func": "isShuffleMaskLegal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21993, "Length": 314, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "PPCRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "PPCFrameLowering", "*", "PPCFI", "=", "static_cast", "<", "const", "PPCFrameLowering", "*", ">", "(", "Subtarget", ".", "getFrameLowering", "(", ")", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "ZERO", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "ZERO8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "FP", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "FP8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "BP", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "BP8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "CTR", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "CTR8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R1", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "RM", ")", ";", "if", "(", "!", "Subtarget", ".", "isDarwinABI", "(", ")", "||", "!", "Subtarget", ".", "hasAltivec", "(", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "VRSAVE", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R2", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R13", ")", ";", "}", "if", "(", "Subtarget", ".", "isPPC64", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R13", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X1", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X13", ")", ";", "if", "(", "PPCFI", "->", "needsFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "X31", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "X30", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "const", "PPCFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", ";", "if", "(", "FuncInfo", "->", "usesTOCBasePtr", "(", ")", "||", "MF", ".", "hasInlineAsm", "(", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "X2", ")", ";", "else", "Reserved", ".", "reset", "(", "PPC", "::", "R2", ")", ";", "}", "}", "if", "(", "PPCFI", "->", "needsFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "R31", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "{", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", "&&", "!", "Subtarget", ".", "isPPC64", "(", ")", "&&", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "Reserved", ".", "set", "(", "PPC", "::", "R29", ")", ";", "else", "Reserved", ".", "set", "(", "PPC", "::", "R30", ")", ";", "}", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", "&&", "!", "Subtarget", ".", "isPPC64", "(", ")", "&&", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "Reserved", ".", "set", "(", "PPC", "::", "R30", ")", ";", "if", "(", "!", "Subtarget", ".", "hasAltivec", "(", ")", ")", "for", "(", "TargetRegisterClass", "::", "iterator", "I", "=", "PPC", "::", "VRRCRegClass", ".", "begin", "(", ")", ",", "IE", "=", "PPC", "::", "VRRCRegClass", ".", "end", "(", ")", ";", "I", "!=", "IE", ";", "++", "I", ")", "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": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC::ZERO", "PPC::ZERO8", "PPC::FP", "PPC::FP8", "PPC::BP", "PPC::BP8", "PPC::CTR", "PPC::CTR8", "PPC::R1", "PPC::LR", "PPC::LR8", "PPC::RM", "PPC::VRSAVE", "PPC::R2", "PPC::R13", "PPC", "PPC::R13", "PPC::X1", "PPC::X13", "PPC", "PPC::X31", "PPC::X30", "PPC", "PPC", "PPC::X2", "PPC::R2", "PPC", "PPC::R31", "PPC", "PPC::R29", "PPC::R30", "PPC", "PPC::R30", "PPC::VRRCRegClass", "PPC::VRRCRegClass"], "File": "PPCRegisterInfo22", "Func": "getReservedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21994, "Length": 494, "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": 21995, "Length": 346, "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": 21996, "Length": 40, "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": ["powerpcspe", "1", "2", "3", "0", "0", "1", "1", "0"], "File": "powerpcspe", "Func": "expand_fusion_gpr_load", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21997, "Length": 286, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMWinCOFFStreamer", "::", "finishImpl", "(", ")", "{", "emitFrames", "(", "nullptr", ")", ";", "emitWindowsUnwindTables", "(", ")", ";", "MCWinCOFFStreamer", "::", "finishImpl", "(", ")", ";", "}", ""], "natrual_language": ["Streamer", "specific", "finalization", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMWinCOFFStreamer5", "Func": "finishImpl", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21998, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_simd_make_constant", "(", "rtx", "vals", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "vals", ")", ";", "rtx", "const_dup", ";", "rtx", "const_vec", "=", "NULL_RTX", ";", "int", "n_elts", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "int", "n_const", "=", "0", ";", "int", "i", ";", "if", "(", "GET_CODE", "(", "vals", ")", "==", "CONST_VECTOR", ")", "const_vec", "=", "vals", ";", "else", "if", "(", "GET_CODE", "(", "vals", ")", "==", "PARALLEL", ")", "{", "for", "(", "i", "=", "0", ";", "i", "<", "n_elts", ";", "++", "i", ")", "{", "rtx", "x", "=", "XVECEXP", "(", "vals", ",", "0", ",", "i", ")", ";", "if", "(", "CONST_INT_P", "(", "x", ")", "||", "CONST_DOUBLE_P", "(", "x", ")", ")", "n_const", "++", ";", "}", "if", "(", "n_const", "==", "n_elts", ")", "const_vec", "=", "gen_rtx_CONST_VECTOR", "(", "mode", ",", "XVEC", "(", "vals", ",", "0", ")", ")", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "if", "(", "const_vec", "!=", "NULL_RTX", "&&", "aarch64_simd_valid_immediate", "(", "const_vec", ",", "mode", ",", "false", ",", "NULL", ")", ")", "return", "const_vec", ";", "else", "if", "(", "(", "const_dup", "=", "aarch64_simd_dup_constant", "(", "vals", ")", ")", "!=", "NULL_RTX", ")", "return", "const_dup", ";", "else", "if", "(", "const_vec", "!=", "NULL_RTX", ")", "return", "const_vec", ";", "else", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Generate", "code", "to", "load", "VALS", ",", "which", "is", "a", "PARALLEL", "containing", "only", "constants", "(", "for", "vec_init", ")", "or", "CONST_VECTOR", ",", "efficiently", "into", "a", "register", ".", "Returns", "an", "RTX", "to", "copy", "into", "the", "register", ",", "or", "NULL_RTX", "for", "a", "PARALLEL", "that", "can", "not", "be", "converted", "into", "a", "CONST_VECTOR", "."], "TS_V_token": ["aarch64", "0", "0", "0", "0"], "File": "aarch642", "Func": "aarch64_simd_make_constant", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 21999, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isShuffleMaskLegal", "(", "ArrayRef", "<", "int", ">", "Mask", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "if", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "getScalarType", "(", ")", "==", "MVT", "::", "i1", ")", "return", "false", ";", "if", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "false", ";", "return", "isTypeLegal", "(", "VT", ".", "getSimpleVT", "(", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "can", "use", "this", "to", "indicate", "that", "they", "only", "support", "some", "VECTOR_SHUFFLE", "operations", ",", "those", "with", "specific", "masks", "."], "TS_V_token": ["X86", "X86", "MVT::i1", "64"], "File": "X86ISelLowering (2)5", "Func": "isShuffleMaskLegal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22000, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ISD", "::", "NodeType", "getExtendForAtomicCmpSwapArg", "(", ")", "const", "override", "{", "return", "ISD", "::", "ZERO_EXTEND", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "platform", "'s", "atomic", "compare", "and", "swap", "expects", "its", "comparison", "value", "to", "be", "extended", "(", "ZERO_EXTEND", ",", "SIGN_EXTEND", ",", "or", "ANY_EXTEND", ")", "."], "TS_V_token": ["SystemZ", "ISD::NodeType", "ISD::ZERO_EXTEND"], "File": "SystemZISelLowering18", "Func": "getExtendForAtomicCmpSwapArg", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22001, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToAddress", "(", "const", "CallLowering", "::", "ArgInfo", "&", "Arg", ",", "unsigned", "RegIndex", ",", "Register", "Addr", ",", "uint64_t", "MemSize", ",", "MachinePointerInfo", "&", "MPO", ",", "CCValAssign", "&", "VA", ")", "override", "{", "unsigned", "MaxSize", "=", "MemSize", "*", "8", ";", "if", "(", "!", "Arg", ".", "IsFixed", ")", "MaxSize", "=", "0", ";", "Register", "ValVReg", "=", "Arg", ".", "Regs", "[", "RegIndex", "]", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "!=", "CCValAssign", "::", "LocInfo", "::", "FPExt", ")", "{", "MVT", "LocVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "MVT", "ValVT", "=", "VA", ".", "getValVT", "(", ")", ";", "if", "(", "VA", ".", "getValVT", "(", ")", "==", "MVT", "::", "i8", "||", "VA", ".", "getValVT", "(", ")", "==", "MVT", "::", "i16", ")", "{", "std", "::", "swap", "(", "ValVT", ",", "LocVT", ")", ";", "MemSize", "=", "VA", ".", "getValVT", "(", ")", ".", "getStoreSize", "(", ")", ";", "}", "ValVReg", "=", "extendRegister", "(", "ValVReg", ",", "VA", ",", "MaxSize", ")", ";", "const", "LLT", "RegTy", "=", "MRI", ".", "getType", "(", "ValVReg", ")", ";", "if", "(", "RegTy", ".", "getSizeInBits", "(", ")", "<", "LocVT", ".", "getSizeInBits", "(", ")", ")", "ValVReg", "=", "MIRBuilder", ".", "buildTrunc", "(", "RegTy", ",", "ValVReg", ")", ".", "getReg", "(", "0", ")", ";", "}", "else", "{", "MemSize", "=", "VA", ".", "getValVT", "(", ")", ".", "getStoreSize", "(", ")", ";", "}", "assignValueToAddress", "(", "ValVReg", ",", "Addr", ",", "MemSize", ",", "MPO", ",", "VA", ")", ";", "}", ""], "natrual_language": ["An", "overload", "which", "takes", "an", "ArgInfo", "if", "additional", "information", "about", "the", "arg", "is", "needed", "."], "TS_V_token": ["AArch64", "8", "0", "MVT::i8", "MVT::i16", "0"], "File": "AArch64CallLowering30", "Func": "assignValueToAddress", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22002, "Length": 217, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "switch", "(", "Kind", ")", "{", "case", "k_Token", ":", "OS", "<<", "\"Token: \"", "<<", "getToken", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "k_Register", ":", "OS", "<<", "\"Reg: #\"", "<<", "getReg", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "k_Immediate", ":", "OS", "<<", "\"Imm: \"", "<<", "getImm", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "k_MemoryRegRegImm", ":", "assert", "(", "getMemOffset", "(", ")", "!=", "nullptr", ")", ";", "OS", "<<", "\"Mem: #\"", "<<", "getMemBase", "(", ")", "<<", "\"+#\"", "<<", "getMemIndexReg", "(", ")", "<<", "\"+\"", "<<", "*", "getMemOffset", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "k_MemoryRegImmImm", ":", "assert", "(", "getMemIndex", "(", ")", "!=", "nullptr", "&&", "getMemOffset", "(", ")", "!=", "nullptr", ")", ";", "OS", "<<", "\"Mem: #\"", "<<", "getMemBase", "(", ")", "<<", "\"+\"", "<<", "*", "getMemIndex", "(", ")", "<<", "\"+\"", "<<", "*", "getMemOffset", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "k_MemoryZeroRegImm", ":", "assert", "(", "getMemOffset", "(", ")", "!=", "nullptr", ")", ";", "OS", "<<", "\"Mem: 0+#\"", "<<", "getMemIndexReg", "(", ")", "<<", "\"+\"", "<<", "*", "getMemOffset", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "k_MemoryZeroImmImm", ":", "assert", "(", "getMemIndex", "(", ")", "!=", "nullptr", "&&", "getMemOffset", "(", ")", "!=", "nullptr", ")", ";", "OS", "<<", "\"Mem: 0+\"", "<<", "*", "getMemIndex", "(", ")", "<<", "\"+\"", "<<", "*", "getMemOffset", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "k_MemoryRegImm", ":", "assert", "(", "getMemOffset", "(", ")", "!=", "nullptr", ")", ";", "OS", "<<", "\"Mem: #\"", "<<", "getMemBase", "(", ")", "<<", "\"+\"", "<<", "*", "getMemOffset", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "k_MemoryZeroImm", ":", "assert", "(", "getMemOffset", "(", ")", "!=", "nullptr", ")", ";", "OS", "<<", "\"Mem: 0+\"", "<<", "*", "getMemOffset", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "k_CCOp", ":", "OS", "<<", "\"CCOp: \"", "<<", "getCCVal", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "k_RDOp", ":", "OS", "<<", "\"RDOp: \"", "<<", "getRDVal", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "k_MImmOp", ":", "OS", "<<", "\"MImm: (\"", "<<", "getMImmVal", "(", ")", "<<", "(", "getM0Flag", "(", ")", "?", "\")0\"", ":", "\")1\"", ")", "<<", "\"\\n\"", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["VE", "\"Token: \"", "\"\\n\"", "\"Reg: #\"", "\"\\n\"", "\"Imm: \"", "\"\\n\"", "\"Mem: #\"", "\"+#\"", "\"+\"", "\"\\n\"", "\"Mem: #\"", "\"+\"", "\"+\"", "\"\\n\"", "\"Mem: 0+#\"", "\"+\"", "\"\\n\"", "\"Mem: 0+\"", "\"+\"", "\"\\n\"", "\"Mem: #\"", "\"+\"", "\"\\n\"", "\"Mem: 0+\"", "\"\\n\"", "\"CCOp: \"", "\"\\n\"", "\"RDOp: \"", "\"\\n\"", "\"MImm: (\"", "\")0\"", "\")1\"", "\"\\n\""], "File": "VEAsmParser (2)", "Func": "print", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22003, "Length": 323, "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": 22004, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64RegisterInfo", "::", "isConstantPhysReg", "(", "MCRegister", "PhysReg", ")", "const", "{", "return", "PhysReg", "==", "AArch64", "::", "WZR", "||", "PhysReg", "==", "AArch64", "::", "XZR", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "PhysReg", "is", "unallocatable", "and", "constant", "throughout", "the", "function", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::WZR", "AArch64::XZR"], "File": "AArch64RegisterInfo12", "Func": "isConstantPhysReg", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22005, "Length": 24, "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_ARMSOImm", ":", "if", "(", "Op", ".", "isImm", "(", ")", ")", "{", "const", "MCExpr", "*", "SOExpr", "=", "Op", ".", "getImm", "(", ")", ";", "int64_t", "Value", ";", "if", "(", "!", "SOExpr", "->", "EvaluateAsAbsolute", "(", "Value", ")", ")", "return", "Match_Success", ";", "assert", "(", "(", "Value", ">=", "INT32_MIN", "&&", "Value", "<=", "UINT32_MAX", ")", "&&", "\"expression value must be representable in 32 bits\"", ")", ";", "}", "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", "ARM", "\"expression value must be representable in 32 bits\"", "ARM::GPRRegClassID"], "File": "ARMAsmParser122", "Func": "validateTargetOperandClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22006, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "pa_function_arg_size", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "HOST_WIDE_INT", "size", ";", "size", "=", "mode", "!=", "BLKmode", "?", "GET_MODE_SIZE", "(", "mode", ")", ":", "int_size_in_bytes", "(", "type", ")", ";", "if", "(", "size", ">=", "(", "1", "<<", "(", "HOST_BITS_PER_INT", "-", "2", ")", ")", ")", "size", "=", "0", ";", "return", "(", "int", ")", "CEIL", "(", "size", ",", "UNITS_PER_WORD", ")", ";", "}", ""], "natrual_language": ["Figure", "out", "the", "size", "in", "words", "of", "the", "function", "argument", "."], "TS_V_token": ["pa", "1", "2", "0"], "File": "pa1", "Func": "pa_function_arg_size", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22007, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc_emit_fixunsdi", "(", "rtx", "*", "operands", ",", "machine_mode", "mode", ")", "{", "rtx", "i0", ",", "i1", ",", "f0", ",", "in", ",", "out", ",", "limit", ";", "out", "=", "operands", "[", "0", "]", ";", "in", "=", "force_reg", "(", "mode", ",", "operands", "[", "1", "]", ")", ";", "rtx_code_label", "*", "neglab", "=", "gen_label_rtx", "(", ")", ";", "rtx_code_label", "*", "donelab", "=", "gen_label_rtx", "(", ")", ";", "i0", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "i1", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "limit", "=", "gen_reg_rtx", "(", "mode", ")", ";", "f0", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_move_insn", "(", "limit", ",", "const_double_from_real_value", "(", "REAL_VALUE_ATOF", "(", "\"9223372036854775808.0\"", ",", "mode", ")", ",", "mode", ")", ")", ";", "emit_cmp_and_jump_insns", "(", "in", ",", "limit", ",", "GE", ",", "NULL_RTX", ",", "mode", ",", "0", ",", "neglab", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "out", ",", "gen_rtx_FIX", "(", "DImode", ",", "gen_rtx_FIX", "(", "mode", ",", "in", ")", ")", ")", ")", ";", "emit_jump_insn", "(", "gen_jump", "(", "donelab", ")", ")", ";", "emit_barrier", "(", ")", ";", "emit_label", "(", "neglab", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "f0", ",", "gen_rtx_MINUS", "(", "mode", ",", "in", ",", "limit", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "i0", ",", "gen_rtx_FIX", "(", "DImode", ",", "gen_rtx_FIX", "(", "mode", ",", "f0", ")", ")", ")", ")", ";", "emit_insn", "(", "gen_movdi", "(", "i1", ",", "const1_rtx", ")", ")", ";", "emit_insn", "(", "gen_ashldi3", "(", "i1", ",", "i1", ",", "GEN_INT", "(", "63", ")", ")", ")", ";", "emit_insn", "(", "gen_xordi3", "(", "out", ",", "i0", ",", "i1", ")", ")", ";", "emit_label", "(", "donelab", ")", ";", "}", ""], "natrual_language": ["Generate", "an", "FP", "to", "unsigned", "DImode", "conversion", ".", "This", "is", "the", "same", "code", "optabs", "would", "emit", "if", "we", "did", "n't", "have", "TFmode", "patterns", "."], "TS_V_token": ["sparc", "0", "1", "\"9223372036854775808.0\"", "0", "63"], "File": "sparc", "Func": "sparc_emit_fixunsdi", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22008, "Length": 238, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "X86TargetLowering", "::", "getSqrtEstimate", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ",", "int", "Enabled", ",", "int", "&", "RefinementSteps", ",", "bool", "&", "UseOneConstNR", ",", "bool", "Reciprocal", ")", "const", "{", "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", "(", ")", ")", ")", "{", "if", "(", "RefinementSteps", "==", "ReciprocalEstimate", "::", "Unspecified", ")", "RefinementSteps", "=", "1", ";", "UseOneConstNR", "=", "false", ";", "return", "DAG", ".", "getNode", "(", "X86ISD", "::", "FRSQRT", ",", "SDLoc", "(", "Op", ")", ",", "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", "1", "X86ISD::FRSQRT"], "File": "X86ISelLowering102", "Func": "getSqrtEstimate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22009, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", ",", "Align", ",", "MachineMemOperand", "::", "Flags", ",", "bool", "*", "Fast", ")", "const", "{", "if", "(", "DisablePPCUnaligned", ")", "return", "false", ";", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "if", "(", "VT", ".", "isFloatingPoint", "(", ")", "&&", "!", "VT", ".", "isVector", "(", ")", "&&", "!", "Subtarget", ".", "allowsUnalignedFPAccess", "(", ")", ")", "return", "false", ";", "if", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "isVector", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "hasVSX", "(", ")", ")", "{", "if", "(", "VT", "!=", "MVT", "::", "v2f64", "&&", "VT", "!=", "MVT", "::", "v2i64", "&&", "VT", "!=", "MVT", "::", "v4f32", "&&", "VT", "!=", "MVT", "::", "v4i32", ")", "return", "false", ";", "}", "else", "{", "return", "false", ";", "}", "}", "if", "(", "VT", "==", "MVT", "::", "ppcf128", ")", "return", "false", ";", "if", "(", "Fast", ")", "*", "Fast", "=", "true", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "MVT::v2f64", "MVT::v2i64", "MVT::v4f32", "MVT::v4i32", "MVT::ppcf128"], "File": "PPCISelLowering109", "Func": "allowsMisalignedMemoryAccesses", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22010, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_option_override", "(", "void", ")", "{", "opt_pass", "*", "pass_insert_vzeroupper", "=", "make_pass_insert_vzeroupper", "(", "g", ")", ";", "struct", "register_pass_info", "insert_vzeroupper_info", "=", "{", "pass_insert_vzeroupper", ",", "\"reload\"", ",", "1", ",", "PASS_POS_INSERT_AFTER", "}", ";", "opt_pass", "*", "pass_stv", "=", "make_pass_stv", "(", "g", ")", ";", "struct", "register_pass_info", "stv_info", "=", "{", "pass_stv", ",", "\"combine\"", ",", "1", ",", "PASS_POS_INSERT_AFTER", "}", ";", "ix86_option_override_internal", "(", "true", ",", "&", "global_options", ",", "&", "global_options_set", ")", ";", "register_pass", "(", "&", "insert_vzeroupper_info", ")", ";", "register_pass", "(", "&", "stv_info", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_OPTION_OVERRIDE", "hook", "."], "TS_V_token": ["i386", "\"reload\"", "1", "\"combine\"", "1"], "File": "i3865", "Func": "ix86_option_override", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22011, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "ARMTTIImpl", "::", "getIntImmCostInst", "(", "unsigned", "Opcode", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ",", "Instruction", "*", "Inst", ")", "{", "if", "(", "(", "Opcode", "==", "Instruction", "::", "SDiv", "||", "Opcode", "==", "Instruction", "::", "UDiv", "||", "Opcode", "==", "Instruction", "::", "SRem", "||", "Opcode", "==", "Instruction", "::", "URem", ")", "&&", "Idx", "==", "1", ")", "return", "0", ";", "if", "(", "Opcode", "==", "Instruction", "::", "GetElementPtr", "&&", "Idx", "!=", "0", ")", "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", ".", "isAllOnes", "(", ")", ")", "return", "0", ";", "if", "(", "Inst", "&&", "(", "(", "ST", "->", "hasV6Ops", "(", ")", "&&", "!", "ST", "->", "isThumb", "(", ")", ")", "||", "ST", "->", "isThumb2", "(", ")", ")", "&&", "Ty", "->", "getIntegerBitWidth", "(", ")", "<=", "32", ")", "{", "if", "(", "isSSATMinMaxPattern", "(", "Inst", ",", "Imm", ")", "||", "(", "isa", "<", "ICmpInst", ">", "(", "Inst", ")", "&&", "Inst", "->", "hasOneUse", "(", ")", "&&", "isSSATMinMaxPattern", "(", "cast", "<", "Instruction", ">", "(", "*", "Inst", "->", "user_begin", "(", ")", ")", ",", "Imm", ")", ")", ")", "return", "0", ";", "}", "if", "(", "Inst", "&&", "ST", "->", "hasVFP2Base", "(", ")", "&&", "isFPSatMinMaxPattern", "(", "Inst", ",", "Imm", ")", ")", "return", "0", ";", "if", "(", "Inst", "&&", "Opcode", "==", "Instruction", "::", "ICmp", "&&", "Idx", "==", "1", "&&", "Imm", ".", "isAllOnesValue", "(", ")", ")", "{", "ICmpInst", "::", "Predicate", "Pred", "=", "cast", "<", "ICmpInst", ">", "(", "Inst", ")", "->", "getPredicate", "(", ")", ";", "if", "(", "Pred", "==", "ICmpInst", "::", "ICMP_SGT", "||", "Pred", "==", "ICmpInst", "::", "ICMP_SLE", ")", "return", "std", "::", "min", "(", "getIntImmCost", "(", "Imm", ",", "Ty", ",", "CostKind", ")", ",", "getIntImmCost", "(", "Imm", "+", "1", ",", "Ty", ",", "CostKind", ")", ")", ";", "}", "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", "0", "0", "255", "65535", "0", "32", "1", "12", "0", "1", "8", "0", "0", "32", "0", "0", "1", "1"], "File": "ARMTargetTransformInfo17", "Func": "getIntImmCostInst", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22012, "Length": 439, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "tree", "function_instance", "::", "displacement_vector_type", "(", ")", "const", "{", "return", "acle_vector_types", "[", "0", "]", "[", "mode_suffix", "(", ")", ".", "displacement_vector_type", "]", ";", "}", ""], "natrual_language": ["Return", "the", "type", "of", "the", "function", "'s", "vector", "index", "or", "offset", "argument", ",", "or", "null", "if", "does", "n't", "have", "a", "vector", "index", "or", "offset", "argument", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64-sve-builtins", "Func": "displacement_vector_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22013, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LanaiTargetLowering", "::", "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", ":", "return", "LowerCCCArguments", "(", "Chain", ",", "CallConv", ",", "IsVarArg", ",", "Ins", ",", "DL", ",", "DAG", ",", "InVals", ")", ";", "default", ":", "llvm_unreachable", "(", "\"Unsupported calling convention\"", ")", ";", "}", "}", ""], "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": ["Lanai", "Lanai", "ISD::InputArg", "\"Unsupported calling convention\""], "File": "LanaiISelLowering1", "Func": "LowerFormalArguments", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22014, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_sve_dup_immediate_p", "(", "rtx", "x", ")", "{", "x", "=", "aarch64_bit_representation", "(", "unwrap_const_vec_duplicate", "(", "x", ")", ")", ";", "if", "(", "!", "CONST_INT_P", "(", "x", ")", ")", "return", "false", ";", "HOST_WIDE_INT", "val", "=", "INTVAL", "(", "x", ")", ";", "if", "(", "val", "&", "0xff", ")", "return", "IN_RANGE", "(", "val", ",", "-", "0x80", ",", "0x7f", ")", ";", "return", "IN_RANGE", "(", "val", ",", "-", "0x8000", ",", "0x7f00", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "valid", "immediate", "for", "the", "SVE", "DUP", "and", "CPY", "instructions", "."], "TS_V_token": ["aarch64", "0xff", "0x80", "0x7f", "0x8000", "0x7f00"], "File": "aarch64", "Func": "aarch64_sve_dup_immediate_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22015, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ia64_asm_output_external", "(", "FILE", "*", "file", ",", "tree", "decl", ",", "const", "char", "*", "name", ")", "{", "if", "(", "TREE_SYMBOL_REFERENCED", "(", "DECL_ASSEMBLER_NAME", "(", "decl", ")", ")", ")", "{", "int", "need_visibility", "=", "(", "(", "*", "targetm", ".", "binds_local_p", ")", "(", "decl", ")", "&&", "maybe_assemble_visibility", "(", "decl", ")", ")", ";", "if", "(", "(", "TARGET_HPUX_LD", "||", "!", "TARGET_GNU_AS", ")", "&&", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", ")", "(", "*", "targetm", ".", "asm_out", ".", "globalize_decl_name", ")", "(", "file", ",", "decl", ")", ";", "else", "if", "(", "need_visibility", "&&", "!", "TARGET_GNU_AS", ")", "(", "*", "targetm", ".", "asm_out", ".", "globalize_label", ")", "(", "file", ",", "name", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "text", "to", "declare", "externally", "defined", "variables", "and", "functions", ",", "because", "the", "Intel", "assembler", "does", "not", "support", "undefined", "externals", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "ia64_asm_output_external", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22016, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "aarch64_c_mode_for_suffix", "(", "char", "suffix", ")", "{", "if", "(", "suffix", "==", "'q'", ")", "return", "TFmode", ";", "return", "VOIDmode", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "c_mode_for_suffix", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_c_mode_for_suffix", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22017, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalMaskedGather", "(", "Type", "*", "DataTy", ",", "MaybeAlign", "Alignment", ")", "{", "if", "(", "!", "(", "ST", "->", "hasAVX512", "(", ")", "||", "(", "ST", "->", "hasFastGather", "(", ")", "&&", "ST", "->", "hasAVX2", "(", ")", ")", ")", ")", "return", "false", ";", "if", "(", "isa", "<", "VectorType", ">", "(", "DataTy", ")", ")", "{", "unsigned", "NumElts", "=", "DataTy", "->", "getVectorNumElements", "(", ")", ";", "if", "(", "NumElts", "==", "1", "||", "!", "isPowerOf2_32", "(", "NumElts", ")", ")", "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", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "gather", "."], "TS_V_token": ["X86", "X86", "1", "32", "64"], "File": "X86TargetTransformInfo119", "Func": "isLegalMaskedGather", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22018, "Length": 146, "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", ".", "isAIXABI", "(", ")", ")", "{", "assert", "(", "!", "Subtarget", ".", "hasAltivec", "(", ")", "&&", "\"Altivec is not implemented on AIX yet.\"", ")", ";", "return", "TM", ".", "isPPC64", "(", ")", "?", "CSR_AIX64_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_SVR464_Altivec_RegMask", ":", "CSR_SVR464_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", "\"Altivec is not implemented on AIX yet.\"", "PPC", "PPC", "PPC"], "File": "PPCRegisterInfo11", "Func": "getCallPreservedMask", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22019, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCInst", "&", "Res", ")", "const", "override", "{", "report_fatal_error", "(", "\"TOYAsmBackend::relaxInstruction() unimplemented\"", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["TOY", "\"TOYAsmBackend::relaxInstruction() unimplemented\""], "File": "TOYAsmBackend1", "Func": "relaxInstruction", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22020, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "DLXTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PassManager", ")", "{", "return", "new", "DLXPassConfig", "(", "*", "this", ",", "&", "PassManager", ")", ";", "}", ""], "natrual_language": ["Create", "a", "pass", "configuration", "object", "to", "be", "used", "by", "addPassToEmitX", "methods", "for", "generating", "a", "pipeline", "of", "CodeGen", "passes", "."], "TS_V_token": ["DLX", "DLX", "DLX"], "File": "DLXTargetMachine", "Func": "createPassConfig", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22021, "Length": 23, "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", "(", "const", "CalleeSavedInfo", "&", "I", ":", "CSI", ")", "{", "unsigned", "Reg", "=", "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", ",", "I", ".", "getFrameIdx", "(", ")", ",", "RC", ",", "TRI", ")", ";", "}", "unsigned", "Opc", "=", "STI", ".", "is64Bit", "(", ")", "?", "X86", "::", "POP64r", ":", "X86", "::", "POP32r", ";", "for", "(", "const", "CalleeSavedInfo", "&", "I", ":", "CSI", ")", "{", "unsigned", "Reg", "=", "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", "X86::GR64RegClass", "X86::GR32RegClass", "MVT::Other", "X86::VK16RegClass", "MVT::v64i1", "MVT::v16i1", "X86::POP64r", "X86::POP32r", "X86::GR64RegClass", "X86::GR32RegClass"], "File": "X86FrameLowering126", "Func": "restoreCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22022, "Length": 335, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "isBranchWithImm", "(", "unsigned", "Opc", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["isBranchWithImm", "-", "Return", "true", "if", "the", "branch", "contains", "an", "immediate", "operand", "("], "TS_V_token": ["Mips"], "File": "MipsInstrInfo19", "Func": "isBranchWithImm", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22023, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getReg", "(", ")", "const", "{", "assert", "(", "Kind", "==", "Register", "&&", "\"Invalid type access!\"", ")", ";", "return", "Reg", ".", "RegNum", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["OR1K", "\"Invalid type access!\""], "File": "OR1KAsmParser", "Func": "getReg", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22024, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTI", "::", "isLegalMaskedLoad", "(", "Type", "*", "DataTy", ",", "int", "Consecutive", ")", "const", "{", "int", "DataWidth", "=", "DataTy", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "(", "DataWidth", "<", "32", ")", "||", "(", "Consecutive", "==", "0", ")", ")", "return", "false", ";", "if", "(", "ST", "->", "hasAVX512", "(", ")", "||", "ST", "->", "hasAVX2", "(", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "load", "."], "TS_V_token": ["X86", "X86", "32", "0"], "File": "X86TargetTransformInfo98", "Func": "isLegalMaskedLoad", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22025, "Length": 61, "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", ".", "getTarget", "(", ")", ".", "Options", ".", "RealignStack", ")", "return", "false", ";", "if", "(", "AFI", "->", "isThumb1OnlyFunction", "(", ")", ")", "return", "false", ";", "if", "(", "!", "MRI", "->", "canReserveReg", "(", "FramePtr", ")", ")", "return", "false", ";", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", "->", "hasReservedCallFrame", "(", "MF", ")", ")", "return", "true", ";", "if", "(", "!", "EnableBasePointer", ")", "return", "false", ";", "return", "MRI", "->", "canReserveReg", "(", "BasePtr", ")", ";", "}", ""], "natrual_language": ["True", "if", "the", "stack", "can", "be", "realigned", "for", "the", "target", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "ARMBaseRegisterInfo21", "Func": "canRealignStack", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22026, "Length": 115, "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": 22027, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "EmitInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "override", "{", "EmitA64MappingSymbol", "(", ")", ";", "MCELFStreamer", "::", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["AArch64"], "File": "AArch64ELFStreamer29", "Func": "EmitInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22028, "Length": 29, "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", ")", ";", "ElementCount", "LegalVF", "=", "LT", ".", "second", ".", "getVectorElementCount", "(", ")", ";", "Optional", "<", "unsigned", ">", "MaxNumVScale", "=", "getMaxVScale", "(", ")", ";", "assert", "(", "MaxNumVScale", "&&", "\"Expected valid max vscale value\"", ")", ";", "InstructionCost", "MemOpCost", "=", "getMemoryOpCost", "(", "Opcode", ",", "VT", "->", "getElementType", "(", ")", ",", "Alignment", ",", "0", ",", "CostKind", ",", "I", ")", ";", "unsigned", "MaxNumElementsPerGather", "=", "MaxNumVScale", ".", "getValue", "(", ")", "*", "LegalVF", ".", "getKnownMinValue", "(", ")", ";", "return", "LT", ".", "first", "*", "MaxNumElementsPerGather", "*", "MemOpCost", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "Gather", "/", "Scatter", "operation", "."], "TS_V_token": ["AArch64", "AArch64", "\"Expected valid max vscale value\"", "0"], "File": "AArch64TargetTransformInfo27", "Func": "getGatherScatterOpCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22029, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mmix_init_expanders", "(", ")", "{", "init_machine_status", "=", "mmix_init_machine_status", ";", "}", ""], "natrual_language": ["INIT_EXPANDERS", "."], "TS_V_token": ["mmix"], "File": "mmix2", "Func": "mmix_init_expanders", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22030, "Length": 10, "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": 22031, "Length": 503, "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", ":", "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": "rs60004", "Func": "rs6000_issue_rate", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22032, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TargetLowering", "::", "getByValTypeAlignment", "(", "const", "Type", "*", "Ty", ")", "const", "{", "if", "(", "Subtarget", "->", "is64Bit", "(", ")", ")", "{", "unsigned", "TyAlign", "=", "TD", "->", "getABITypeAlignment", "(", "Ty", ")", ";", "if", "(", "TyAlign", ">", "8", ")", "return", "TyAlign", ";", "return", "8", ";", "}", "unsigned", "Align", "=", "4", ";", "if", "(", "Subtarget", "->", "hasSSE1", "(", ")", ")", "getMaxByValAlign", "(", "Ty", ",", "Align", ")", ";", "return", "Align", ";", "}", ""], "natrual_language": ["Return", "the", "desired", "alignment", "for", "ByVal", "aggregate", "function", "arguments", "in", "the", "caller", "parameter", "area", "."], "TS_V_token": ["X86", "X86", "8", "8", "4"], "File": "X86ISelLowering144", "Func": "getByValTypeAlignment", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22033, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86TTI", "::", "PopcntSupportKind", "X86TTI", "::", "getPopcntSupport", "(", "unsigned", "TyWidth", ")", "const", "{", "assert", "(", "isPowerOf2_32", "(", "TyWidth", ")", "&&", "\"Ty width must be power of 2\"", ")", ";", "return", "ST", "->", "hasSSE41", "(", ")", "?", "PSK_FastHardware", ":", "PSK_Software", ";", "}", ""], "natrual_language": ["Return", "hardware", "support", "for", "population", "count", "."], "TS_V_token": ["X86", "X86", "X86", "\"Ty width must be power of 2\""], "File": "X86TargetTransformInfo113", "Func": "getPopcntSupport", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22034, "Length": 34, "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": 22035, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_function_arg_regno_p", "(", "int", "regno", ")", "{", "int", "i", ";", "if", "(", "!", "TARGET_64BIT", ")", "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", "(", "!", "regno", ")", "return", "true", ";", "for", "(", "i", "=", "0", ";", "i", "<", "REGPARM_MAX", ";", "i", "++", ")", "if", "(", "regno", "==", "x86_64_int_parameter_registers", "[", "i", "]", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "when", "register", "may", "be", "used", "to", "pass", "function", "parameters", "."], "TS_V_token": ["i386", "0"], "File": "i3863", "Func": "ix86_function_arg_regno_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22036, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "double", "calc_defect", "(", "double", "x", ",", "int", "constant", ",", "int", "factor", ")", "{", "double", "y0", "=", "(", "constant", "-", "(", "int", ")", "floor", "(", "(", "x", "*", "factor", "*", "64.", ")", ")", ")", "/", "16384.", ";", "double", "y1", "=", "2", "*", "y0", "-", "y0", "*", "y0", "*", "(", "x", "+", "BIAS", "/", "(", "1.", "*", "(", "1LL", "<<", "30", ")", ")", ")", ";", "double", "y2d0", ",", "y2d", ";", "int", "y2d1", ";", "double", "d", ",", "d2", ";", "y1", "=", "floor", "(", "y1", "*", "(", "1024", "*", "1024", "*", "1024", ")", ")", "/", "(", "1024", "*", "1024", "*", "1024", ")", ";", "d", "=", "y1", "-", "1", "/", "x", ";", "if", "(", "d", ">", "max_defect", ")", "{", "max_defect", "=", "d", ";", "max_defect_x", "=", "x", ";", "}", "if", "(", "d", "<", "min_defect", ")", "{", "min_defect", "=", "d", ";", "min_defect_x", "=", "x", ";", "}", "y2d0", "=", "floor", "(", "y1", "*", "x", "*", "(", "1LL", "<<", "60", "-", "16", ")", ")", ";", "y2d1", "=", "(", "int", ")", "(", "long", "long", ")", "y2d0", ";", "y2d", "=", "-", "floor", "(", "(", "y1", "-", "y0", "/", "(", "1", "<<", "30", "-", "14", ")", ")", "*", "y2d1", ")", "/", "(", "1LL", "<<", "44", ")", ";", "d2", "=", "y1", "+", "y2d", "-", "1", "/", "x", ";", "if", "(", "d2", ">", "max_defect2", ")", "{", "max_defect2", "=", "d2", ";", "max_defect2_x", "=", "x", ";", "}", "if", "(", "d2", "<", "min_defect2", ")", "{", "min_defect2", "=", "d2", ";", "min_defect2_x", "=", "x", ";", "}", "note_defect3", "(", "(", "1", "<<", "CUTOFF_BITS", ")", "-", "1", ",", "d2", ",", "y2d", ",", "x", ")", ";", "note_defect3", "(", "1", "<<", "CUTOFF_BITS", ",", "d2", ",", "y2d", ",", "x", ")", ";", "note_defect3", "(", "(", "1U", "<<", "31", ")", "-", "(", "1", "<<", "CUTOFF_BITS", ")", ",", "d2", ",", "y2d", ",", "x", ")", ";", "note_defect3", "(", "(", "1U", "<<", "31", ")", "-", "1", ",", "d2", ",", "y2d", ",", "x", ")", ";", "note_defect3", "(", "-", "1", ",", "d2", ",", "y2d", ",", "x", ")", ";", "note_defect3", "(", "-", "(", "1", "<<", "CUTOFF_BITS", ")", ",", "d2", ",", "y2d", ",", "x", ")", ";", "note_defect3", "(", "(", "1U", "<<", "31", ")", "-", "(", "1", "<<", "CUTOFF_BITS", ")", "+", "1", ",", "d2", ",", "y2d", ",", "x", ")", ";", "note_defect3", "(", "-", "(", "1U", "<<", "31", ")", ",", "d2", ",", "y2d", ",", "x", ")", ";", "return", "d", ";", "}", ""], "natrual_language": ["This", "function", "assumes", "32", "bit", "integers", "."], "TS_V_token": ["sh", "64.", "16384.", "2", "1.", "1LL", "30", "1024", "1024", "1024", "1024", "1024", "1024", "1", "1LL", "60", "16", "1", "30", "14", "1LL", "44", "1", "1", "1", "1", "1U", "31", "1", "1U", "31", "1", "1", "1", "1U", "31", "1", "1", "1U", "31"], "File": "divtab", "Func": "calc_defect", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22037, "Length": 377, "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": 22038, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mmix_print_operand_address", "(", "FILE", "*", "stream", ",", "rtx", "x", ")", "{", "if", "(", "REG_P", "(", "x", ")", ")", "{", "fprintf", "(", "stream", ",", "\"%s,0\"", ",", "reg_names", "[", "MMIX_OUTPUT_REGNO", "(", "REGNO", "(", "x", ")", ")", "]", ")", ";", "return", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "{", "rtx", "x1", "=", "XEXP", "(", "x", ",", "0", ")", ";", "rtx", "x2", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "REG_P", "(", "x1", ")", ")", "{", "fprintf", "(", "stream", ",", "\"%s,\"", ",", "reg_names", "[", "MMIX_OUTPUT_REGNO", "(", "REGNO", "(", "x1", ")", ")", "]", ")", ";", "if", "(", "REG_P", "(", "x2", ")", ")", "{", "fprintf", "(", "stream", ",", "\"%s\"", ",", "reg_names", "[", "MMIX_OUTPUT_REGNO", "(", "REGNO", "(", "x2", ")", ")", "]", ")", ";", "return", ";", "}", "else", "if", "(", "GET_CODE", "(", "x2", ")", "==", "CONST_INT", "&&", "CONST_OK_FOR_LETTER_P", "(", "INTVAL", "(", "x2", ")", ",", "'I'", ")", ")", "{", "output_addr_const", "(", "stream", ",", "x2", ")", ";", "return", ";", "}", "}", "}", "if", "(", "TARGET_BASE_ADDRESSES", "&&", "mmix_legitimate_constant_p", "(", "x", ")", ")", "{", "output_addr_const", "(", "stream", ",", "x", ")", ";", "return", ";", "}", "fatal_insn", "(", "\"MMIX Internal: This is not a recognized address\"", ",", "x", ")", ";", "}", ""], "natrual_language": ["PRINT_OPERAND_ADDRESS", "."], "TS_V_token": ["mmix", "\"%s,0\"", "0", "1", "\"%s,\"", "\"%s\"", "\"MMIX Internal: This is not a recognized address\""], "File": "mmix3", "Func": "mmix_print_operand_address", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22039, "Length": 187, "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": 22040, "Length": 287, "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", "=", "std", "::", "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": "MipsAsmParser (2)4", "Func": "CreateReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22041, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "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": "rs6000-logue", "Func": "rs6000_init_machine_status", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22042, "Length": 23, "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": 22043, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isIntDivCheap", "(", "EVT", "VT", ",", "AttributeList", "Attr", ")", "const", "{", "bool", "OptSize", "=", "Attr", ".", "hasFnAttribute", "(", "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": "X86ISelLowering101", "Func": "isIntDivCheap", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22044, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "loongarch_atomic_assign_expand_fenv", "(", "tree", "*", "hold", ",", "tree", "*", "clear", ",", "tree", "*", "update", ")", "{", "if", "(", "!", "TARGET_HARD_FLOAT_ABI", ")", "return", ";", "tree", "exceptions_var", "=", "create_tmp_var_raw", "(", "LARCH_ATYPE_USI", ")", ";", "tree", "fcsr_orig_var", "=", "create_tmp_var_raw", "(", "LARCH_ATYPE_USI", ")", ";", "tree", "fcsr_mod_var", "=", "create_tmp_var_raw", "(", "LARCH_ATYPE_USI", ")", ";", "tree", "const0", "=", "build_int_cst", "(", "LARCH_ATYPE_UQI", ",", "0", ")", ";", "tree", "get_fcsr", "=", "loongarch_builtin_decls", "[", "LARCH_MOVFCSR2GR", "]", ";", "tree", "set_fcsr", "=", "loongarch_builtin_decls", "[", "LARCH_MOVGR2FCSR", "]", ";", "tree", "get_fcsr_hold_call", "=", "build_call_expr", "(", "get_fcsr", ",", "1", ",", "const0", ")", ";", "tree", "hold_assign_orig", "=", "build4", "(", "TARGET_EXPR", ",", "LARCH_ATYPE_USI", ",", "fcsr_orig_var", ",", "get_fcsr_hold_call", ",", "NULL", ",", "NULL", ")", ";", "tree", "hold_mod_val", "=", "build2", "(", "BIT_AND_EXPR", ",", "LARCH_ATYPE_USI", ",", "fcsr_orig_var", ",", "build_int_cst", "(", "LARCH_ATYPE_USI", ",", "0xffe0ffe0", ")", ")", ";", "tree", "hold_assign_mod", "=", "build4", "(", "TARGET_EXPR", ",", "LARCH_ATYPE_USI", ",", "fcsr_mod_var", ",", "hold_mod_val", ",", "NULL", ",", "NULL", ")", ";", "tree", "set_fcsr_hold_call", "=", "build_call_expr", "(", "set_fcsr", ",", "2", ",", "const0", ",", "fcsr_mod_var", ")", ";", "tree", "hold_all", "=", "build2", "(", "COMPOUND_EXPR", ",", "LARCH_ATYPE_USI", ",", "hold_assign_orig", ",", "hold_assign_mod", ")", ";", "*", "hold", "=", "build2", "(", "COMPOUND_EXPR", ",", "void_type_node", ",", "hold_all", ",", "set_fcsr_hold_call", ")", ";", "*", "clear", "=", "build_call_expr", "(", "set_fcsr", ",", "2", ",", "const0", ",", "fcsr_mod_var", ")", ";", "tree", "get_fcsr_update_call", "=", "build_call_expr", "(", "get_fcsr", ",", "1", ",", "const0", ")", ";", "*", "update", "=", "build4", "(", "TARGET_EXPR", ",", "LARCH_ATYPE_USI", ",", "exceptions_var", ",", "get_fcsr_update_call", ",", "NULL", ",", "NULL", ")", ";", "tree", "set_fcsr_update_call", "=", "build_call_expr", "(", "set_fcsr", ",", "2", ",", "const0", ",", "fcsr_orig_var", ")", ";", "*", "update", "=", "build2", "(", "COMPOUND_EXPR", ",", "void_type_node", ",", "*", "update", ",", "set_fcsr_update_call", ")", ";", "tree", "atomic_feraiseexcept", "=", "builtin_decl_implicit", "(", "BUILT_IN_ATOMIC_FERAISEEXCEPT", ")", ";", "tree", "int_exceptions_var", "=", "fold_convert", "(", "integer_type_node", ",", "exceptions_var", ")", ";", "tree", "atomic_feraiseexcept_call", "=", "build_call_expr", "(", "atomic_feraiseexcept", ",", "1", ",", "int_exceptions_var", ")", ";", "*", "update", "=", "build2", "(", "COMPOUND_EXPR", ",", "void_type_node", ",", "*", "update", ",", "atomic_feraiseexcept_call", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ATOMIC_ASSIGN_EXPAND_FENV", "."], "TS_V_token": ["loongarch", "0", "1", "0xffe0ffe0", "2", "2", "1", "2", "1"], "File": "loongarch-builtins", "Func": "loongarch_atomic_assign_expand_fenv", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22045, "Length": 301, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "getStackAddress", "(", "uint64_t", "Size", ",", "int64_t", "Offset", ",", "MachinePointerInfo", "&", "MPO", ")", "override", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "LLT", "p0", "=", "LLT", "::", "pointer", "(", "0", ",", "64", ")", ";", "LLT", "s64", "=", "LLT", "::", "scalar", "(", "64", ")", ";", "if", "(", "IsTailCall", ")", "{", "Offset", "+=", "FPDiff", ";", "int", "FI", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "CreateFixedObject", "(", "Size", ",", "Offset", ",", "true", ")", ";", "Register", "FIReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "p0", ")", ";", "MIRBuilder", ".", "buildFrameIndex", "(", "FIReg", ",", "FI", ")", ";", "MPO", "=", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ";", "return", "FIReg", ";", "}", "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", "(", "MF", ",", "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": "AArch64CallLowering15", "Func": "getStackAddress", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22046, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "sh2a_get_function_vector_number", "(", "rtx", "x", ")", "{", "if", "(", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", ")", "&&", "(", "SYMBOL_REF_FLAGS", "(", "x", ")", "&", "SYMBOL_FLAG_FUNCVEC_FUNCTION", ")", ")", "{", "tree", "t", "=", "SYMBOL_REF_DECL", "(", "x", ")", ";", "if", "(", "TREE_CODE", "(", "t", ")", "!=", "FUNCTION_DECL", ")", "return", "0", ";", "for", "(", "tree", "list", "=", "SH_ATTRIBUTES", "(", "t", ")", ";", "list", ";", "list", "=", "TREE_CHAIN", "(", "list", ")", ")", "if", "(", "is_attribute_p", "(", "\"function_vector\"", ",", "TREE_PURPOSE", "(", "list", ")", ")", ")", "return", "TREE_INT_CST_LOW", "(", "TREE_VALUE", "(", "TREE_VALUE", "(", "list", ")", ")", ")", ";", "return", "0", ";", "}", "else", "return", "0", ";", "}", ""], "natrual_language": ["Returns", "the", "function", "vector", "number", ",", "if", "the", "attribute", "'function_vector", "'", "is", "assigned", ",", "otherwise", "returns", "zero", "."], "TS_V_token": ["sh", "0", "\"function_vector\"", "0", "0"], "File": "sh", "Func": "sh2a_get_function_vector_number", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22047, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TargetLowering", "::", "getExceptionPointerRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "{", "if", "(", "classifyEHPersonality", "(", "PersonalityFn", ")", "==", "EHPersonality", "::", "CoreCLR", ")", "return", "Subtarget", ".", "isTarget64BitLP64", "(", ")", "?", "X86", "::", "RDX", ":", "X86", "::", "EDX", ";", "return", "Subtarget", ".", "isTarget64BitLP64", "(", ")", "?", "X86", "::", "RAX", ":", "X86", "::", "EAX", ";", "}", ""], "natrual_language": ["If", "a", "physical", "register", ",", "this", "returns", "the", "register", "that", "receives", "the", "exception", "address", "on", "entry", "to", "an", "EH", "pad", "."], "TS_V_token": ["X86", "X86", "X86::RDX", "X86::EDX", "X86::RAX", "X86::EAX"], "File": "X86ISelLowering (2)6", "Func": "getExceptionPointerRegister", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22048, "Length": 54, "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": 22049, "Length": 317, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "frame_insn", "(", "rtx", "x", ")", "{", "x", "=", "emit_insn", "(", "x", ")", ";", "RTX_FRAME_RELATED_P", "(", "x", ")", "=", "1", ";", "return", "x", ";", "}", ""], "natrual_language": ["Emit", "the", "specified", "insn", "and", "mark", "it", "as", "frame", "related", ".", "FIXME", ":", "Rename", "this", "to", "emit_frame_insn", "."], "TS_V_token": ["sh", "1"], "File": "sh3", "Func": "frame_insn", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22050, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86RegisterAllocator", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "outs", "(", ")", "<<", "\"\\n\"", "<<", "\"=====================\\n\"", "<<", "MF", ".", "getName", "(", ")", "<<", "\"()\\n=====================\"", "<<", "\"\\n\"", ";", "MachineRegisterInfo", "&", "regInfo", "=", "MF", ".", "getRegInfo", "(", ")", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "reloop", ":", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "const", "TargetInstrInfo", "*", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "auto", "mi", "=", "&", "MI", ";", "if", "(", "mi", "->", "isInsertSubreg", "(", ")", ")", "{", "unsigned", "SubIdx", "=", "mi", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "mi", "->", "RemoveOperand", "(", "3", ")", ";", "assert", "(", "mi", "->", "getOperand", "(", "0", ")", ".", "getSubReg", "(", ")", "==", "0", "&&", "\"Unexpected subreg idx\"", ")", ";", "mi", "->", "getOperand", "(", "0", ")", ".", "setSubReg", "(", "SubIdx", ")", ";", "mi", "->", "getOperand", "(", "0", ")", ".", "setIsUndef", "(", "mi", "->", "getOperand", "(", "1", ")", ".", "isUndef", "(", ")", ")", ";", "mi", "->", "RemoveOperand", "(", "1", ")", ";", "mi", "->", "setDesc", "(", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ")", ";", "(", "--", "getIterForMI", "(", "MI", ")", ")", "->", "eraseFromParent", "(", ")", ";", "goto", "reloop", ";", "}", "}", "outs", "(", ")", "<<", "\"Contents of MachineBasicBlock:\\n\"", ";", "outs", "(", ")", "<<", "MBB", "<<", "\"\\n\"", ";", "outs", "(", ")", ".", "flush", "(", ")", ";", "}", "spilledRegisters", ".", "clear", "(", ")", ";", "BEGINNING", ":", "for", "(", "LiveRange", "*", "LR", ":", "interferenceGraph", ")", "{", "delete", "LR", ";", "}", "interferenceGraph", ".", "clear", "(", ")", ";", "interferenceGraphRetrieval", ".", "clear", "(", ")", ";", "livenessInformation", ".", "clear", "(", ")", ";", "phiNodes", ".", "clear", "(", ")", ";", "calcGlobalLivenessInfo", "(", "MF", ",", "regInfo", ")", ";", "if", "(", "interferenceGraph", ".", "size", "(", ")", ">", "0", "&&", "color", "(", "MF", ",", "regInfo", ")", "==", "EXIT_STATUS_T", "::", "SPILLED", ")", "{", "goto", "BEGINNING", ";", "}", "for", "(", "MachineInstr", "*", "MI", ":", "getPhiNodes", "(", ")", ")", "{", "MI", "->", "eraseFromParent", "(", ")", ";", "}", "MF", ".", "getProperties", "(", ")", ".", "set", "(", "MachineFunctionProperties", "::", "Property", "::", "NoPHIs", ")", ";", "MF", ".", "getProperties", "(", ")", ".", "set", "(", "MachineFunctionProperties", "::", "Property", "::", "NoVRegs", ")", ";", "outs", "(", ")", "<<", "\"\\n\\n\"", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "outs", "(", ")", "<<", "\"Contents of MachineBasicBlock:\\n\"", ";", "outs", "(", ")", "<<", "MBB", "<<", "\"\\n\"", ";", "outs", "(", ")", ".", "flush", "(", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "\"\\n\"", "\"=====================\\n\"", "\"()\\n=====================\"", "\"\\n\"", "3", "3", "0", "0", "\"Unexpected subreg idx\"", "0", "0", "1", "1", "\"Contents of MachineBasicBlock:\\n\"", "\"\\n\"", "0", "\"\\n\\n\"", "\"Contents of MachineBasicBlock:\\n\"", "\"\\n\""], "File": "regAlloc", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22051, "Length": 389, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "aarch64_symbol_type", "aarch64_classify_symbolic_expression", "(", "rtx", "x", ")", "{", "rtx", "offset", ";", "split_const", "(", "x", ",", "&", "x", ",", "&", "offset", ")", ";", "return", "aarch64_classify_symbol", "(", "x", ",", "offset", ")", ";", "}", ""], "natrual_language": ["Classify", "the", "base", "of", "symbolic", "expression", "X", ",", "given", "that", "X", "appears", "in", "context", "CONTEXT", "."], "TS_V_token": ["aarch64"], "File": "aarch643", "Func": "aarch64_classify_symbolic_expression", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22052, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "X86Subtarget", "::", "classifyLocalReference", "(", "const", "GlobalValue", "*", "GV", ")", "const", "{", "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_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": "X86Subtarget33", "Func": "classifyLocalReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22053, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCCallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "ArrayRef", "<", "Register", ">", "VRegs", ",", "Register", "SwiftErrorVReg", ")", "const", "{", "assert", "(", "(", "(", "Val", "&&", "!", "VRegs", ".", "empty", "(", ")", ")", "||", "(", "!", "Val", "&&", "VRegs", ".", "empty", "(", ")", ")", ")", "&&", "\"Return value without a vreg\"", ")", ";", "if", "(", "VRegs", ".", "size", "(", ")", ">", "0", ")", "return", "false", ";", "MIRBuilder", ".", "buildInstr", "(", "PPC", "::", "BLR8", ")", ";", "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": ["PowerPC", "PPC", "\"Return value without a vreg\"", "0", "PPC::BLR8"], "File": "PPCCallLowering2", "Func": "lowerReturn", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22054, "Length": 80, "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": 22055, "Length": 233, "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", ".", "push_back", "(", "OrigArg", ")", ";", "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", "(", "LLT", "{", "*", "PartTy", ",", "DL", "}", ")", ",", "PartTy", ",", "OrigArg", ".", "Flags", "}", ";", "SplitArgs", ".", "push_back", "(", "Info", ")", ";", "BitOffsets", ".", "push_back", "(", "PartVT", ".", "getSizeInBits", "(", ")", "*", "i", ")", ";", "SplitRegs", ".", "push_back", "(", "Info", ".", "Reg", ")", ";", "}", "PerformArgSplit", "(", "SplitRegs", ",", "BitOffsets", ")", ";", "}", ""], "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": "X86CallLowering16", "Func": "splitToValueTypes", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22056, "Length": 216, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "DCPU16RegisterInfo", "::", "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", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "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", ")", "?", "DCPU16", "::", "J", ":", "DCPU16", "::", "SP", ")", ";", "int", "Offset", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FrameIndex", ")", ";", "Offset", "+=", "1", ";", "if", "(", "!", "TFI", "->", "hasFP", "(", "MF", ")", ")", "Offset", "+=", "MF", ".", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "DCPU16", "::", "ADD16ri", ")", "{", "MI", ".", "setDesc", "(", "TII", ".", "get", "(", "DCPU16", "::", "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", "(", "DCPU16", "::", "SUB16ri", ")", ",", "DstReg", ")", ".", "addReg", "(", "DstReg", ")", ".", "addImm", "(", "-", "Offset", ")", ";", "else", "BuildMI", "(", "MBB", ",", "llvm", "::", "next", "(", "II", ")", ",", "dl", ",", "TII", ".", "get", "(", "DCPU16", "::", "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": ["Dcpu16", "DCPU16", "0", "\"Unexpected\"", "0", "\"Instr doesn't have FrameIndex operand!\"", "DCPU16::J", "DCPU16::SP", "1", "1", "DCPU16::ADD16ri", "DCPU16::MOV16rr", "0", "0", "0", "DCPU16::SUB16ri", "DCPU16::ADD16ri", "1"], "File": "Dcpu16RegisterInfo", "Func": "eliminateFrameIndex", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22057, "Length": 380, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "MipsRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "static", "const", "uint16_t", "ReservedCPURegs", "[", "]", "=", "{", "Mips", "::", "ZERO", ",", "Mips", "::", "AT", ",", "Mips", "::", "K0", ",", "Mips", "::", "K1", ",", "Mips", "::", "SP", ",", "Mips", "::", "RA", "}", ";", "static", "const", "uint16_t", "ReservedCPU64Regs", "[", "]", "=", "{", "Mips", "::", "ZERO_64", ",", "Mips", "::", "AT_64", ",", "Mips", "::", "K0_64", ",", "Mips", "::", "K1_64", ",", "Mips", "::", "SP_64", ",", "Mips", "::", "RA_64", "}", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "typedef", "TargetRegisterClass", "::", "const_iterator", "RegIter", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "ReservedCPURegs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedCPURegs", "[", "I", "]", ")", ";", "if", "(", "Subtarget", ".", "hasMips64", "(", ")", ")", "{", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "ReservedCPU64Regs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedCPU64Regs", "[", "I", "]", ")", ";", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "AFGR64RegClass", ".", "begin", "(", ")", ",", "EReg", "=", "Mips", "::", "AFGR64RegClass", ".", "end", "(", ")", ";", "Reg", "!=", "EReg", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "}", "else", "{", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "CPU64RegsRegClass", ".", "begin", "(", ")", ",", "EReg", "=", "Mips", "::", "CPU64RegsRegClass", ".", "end", "(", ")", ";", "Reg", "!=", "EReg", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "for", "(", "RegIter", "Reg", "=", "Mips", "::", "FGR64RegClass", ".", "begin", "(", ")", ",", "EReg", "=", "Mips", "::", "FGR64RegClass", ".", "end", "(", ")", ";", "Reg", "!=", "EReg", ";", "++", "Reg", ")", "Reserved", ".", "set", "(", "*", "Reg", ")", ";", "}", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", "->", "hasFP", "(", "MF", ")", ")", "{", "Reserved", ".", "set", "(", "Mips", "::", "FP", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "FP_64", ")", ";", "}", "Reserved", ".", "set", "(", "Mips", "::", "HWR29", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "HWR29_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::AT", "Mips::K0", "Mips::K1", "Mips::SP", "Mips::RA", "Mips::ZERO_64", "Mips::AT_64", "Mips::K0_64", "Mips::K1_64", "Mips::SP_64", "Mips::RA_64", "0", "Mips", "0", "Mips::AFGR64RegClass", "Mips::AFGR64RegClass", "Mips::CPU64RegsRegClass", "Mips::CPU64RegsRegClass", "Mips::FGR64RegClass", "Mips::FGR64RegClass", "Mips::FP", "Mips::FP_64", "Mips::HWR29", "Mips::HWR29_64"], "File": "MipsRegisterInfo20", "Func": "getReservedRegs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22058, "Length": 332, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ARMRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMInstrInfo", "Func": "getRegisterInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22059, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "timode_scalar_to_vector_candidate_p", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "def_set", "=", "pseudo_reg_set", "(", "insn", ")", ";", "if", "(", "!", "def_set", ")", "return", "false", ";", "rtx", "src", "=", "SET_SRC", "(", "def_set", ")", ";", "rtx", "dst", "=", "SET_DEST", "(", "def_set", ")", ";", "if", "(", "GET_CODE", "(", "src", ")", "==", "COMPARE", ")", "return", "convertible_comparison_p", "(", "insn", ",", "TImode", ")", ";", "if", "(", "GET_MODE", "(", "dst", ")", "!=", "TImode", "||", "(", "GET_MODE", "(", "src", ")", "!=", "TImode", "&&", "!", "CONST_SCALAR_INT_P", "(", "src", ")", ")", ")", "return", "false", ";", "if", "(", "!", "REG_P", "(", "dst", ")", "&&", "!", "MEM_P", "(", "dst", ")", ")", "return", "false", ";", "if", "(", "MEM_P", "(", "dst", ")", "&&", "misaligned_operand", "(", "dst", ",", "TImode", ")", "&&", "!", "TARGET_SSE_UNALIGNED_STORE_OPTIMAL", ")", "return", "false", ";", "if", "(", "REG_P", "(", "dst", ")", "&&", "!", "single_def_chain_p", "(", "dst", ")", ")", "return", "false", ";", "switch", "(", "GET_CODE", "(", "src", ")", ")", "{", "case", "REG", ":", "return", "single_def_chain_p", "(", "src", ")", ";", "case", "CONST_WIDE_INT", ":", "return", "true", ";", "case", "CONST_INT", ":", "return", "standard_sse_constant_p", "(", "src", ",", "TImode", ")", ";", "case", "MEM", ":", "return", "(", "REG_P", "(", "dst", ")", "&&", "(", "!", "misaligned_operand", "(", "src", ",", "TImode", ")", "||", "TARGET_SSE_UNALIGNED_LOAD_OPTIMAL", ")", ")", ";", "case", "AND", ":", "if", "(", "!", "MEM_P", "(", "dst", ")", "&&", "GET_CODE", "(", "XEXP", "(", "src", ",", "0", ")", ")", "==", "NOT", "&&", "REG_P", "(", "XEXP", "(", "XEXP", "(", "src", ",", "0", ")", ",", "0", ")", ")", "&&", "(", "REG_P", "(", "XEXP", "(", "src", ",", "1", ")", ")", "||", "CONST_SCALAR_INT_P", "(", "XEXP", "(", "src", ",", "1", ")", ")", "||", "timode_mem_p", "(", "XEXP", "(", "src", ",", "1", ")", ")", ")", ")", "return", "true", ";", "return", "REG_P", "(", "XEXP", "(", "src", ",", "0", ")", ")", "&&", "(", "REG_P", "(", "XEXP", "(", "src", ",", "1", ")", ")", "||", "CONST_SCALAR_INT_P", "(", "XEXP", "(", "src", ",", "1", ")", ")", "||", "timode_mem_p", "(", "XEXP", "(", "src", ",", "1", ")", ")", ")", ";", "case", "IOR", ":", "case", "XOR", ":", "return", "REG_P", "(", "XEXP", "(", "src", ",", "0", ")", ")", "&&", "(", "REG_P", "(", "XEXP", "(", "src", ",", "1", ")", ")", "||", "CONST_SCALAR_INT_P", "(", "XEXP", "(", "src", ",", "1", ")", ")", "||", "timode_mem_p", "(", "XEXP", "(", "src", ",", "1", ")", ")", ")", ";", "case", "NOT", ":", "return", "REG_P", "(", "XEXP", "(", "src", ",", "0", ")", ")", "||", "timode_mem_p", "(", "XEXP", "(", "src", ",", "0", ")", ")", ";", "case", "ASHIFT", ":", "case", "LSHIFTRT", ":", "case", "ASHIFTRT", ":", "case", "ROTATERT", ":", "case", "ROTATE", ":", "return", "REG_P", "(", "XEXP", "(", "src", ",", "0", ")", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "src", ",", "1", ")", ")", "&&", "(", "INTVAL", "(", "XEXP", "(", "src", ",", "1", ")", ")", "&", "~", "0x7f", ")", "==", "0", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["The", "TImode", "version", "of", "scalar_to_vector_candidate_p", "."], "TS_V_token": ["i386", "0", "0", "0", "1", "1", "1", "0", "1", "1", "1", "0", "1", "1", "1", "0", "0", "0", "1", "1", "0x7f", "0"], "File": "i386-features1", "Func": "timode_scalar_to_vector_candidate_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22060, "Length": 444, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "getName", "(", ")", "{", "return", "DEBUG_TYPE", ";", "}", ""], "natrual_language": ["Return", "a", "string", "with", "the", "name", "of", "the", "plan", "and", "the", "applicable", "VFs", "and", "UFs", "."], "TS_V_token": ["AArch64"], "File": "AArch64InstructionSelector (2)", "Func": "getName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22061, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "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"], "File": "ARMJITInfo4", "Func": "Initialize", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22062, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_hard_regno_call_part_clobbered", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_32BIT", "&&", "TARGET_POWERPC64", "&&", "GET_MODE_SIZE", "(", "mode", ")", ">", "4", "&&", "INT_REGNO_P", "(", "regno", ")", ")", "return", "true", ";", "if", "(", "TARGET_VSX", "&&", "FP_REGNO_P", "(", "regno", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", ">", "8", "&&", "!", "FLOAT128_2REG_P", "(", "mode", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_CALL_PART_CLOBBERED", "."], "TS_V_token": ["powerpcspe", "4", "8"], "File": "powerpcspe", "Func": "rs6000_hard_regno_call_part_clobbered", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22063, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "vfp3_const_double_for_bits", "(", "rtx", "operand", ")", "{", "REAL_VALUE_TYPE", "r0", ";", "if", "(", "!", "CONST_DOUBLE_P", "(", "operand", ")", ")", "return", "0", ";", "REAL_VALUE_FROM_CONST_DOUBLE", "(", "r0", ",", "operand", ")", ";", "if", "(", "exact_real_truncate", "(", "DFmode", ",", "&", "r0", ")", ")", "{", "HOST_WIDE_INT", "value", "=", "real_to_integer", "(", "&", "r0", ")", ";", "value", "=", "value", "&", "0xffffffff", ";", "if", "(", "(", "value", "!=", "0", ")", "&&", "(", "(", "value", "&", "(", "value", "-", "1", ")", ")", "==", "0", ")", ")", "return", "int_log2", "(", "value", ")", ";", "}", "return", "0", ";", "}", ""], "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", "0", "0xffffffff", "0", "1", "0", "0"], "File": "arm4", "Func": "vfp3_const_double_for_bits", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22064, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "selectBinaryOp", "(", "unsigned", "GenericOpc", ",", "unsigned", "RegBankID", ",", "unsigned", "OpSize", ")", "{", "switch", "(", "RegBankID", ")", "{", "case", "AArch64", "::", "GPRRegBankID", ":", "if", "(", "OpSize", "==", "32", ")", "{", "switch", "(", "GenericOpc", ")", "{", "case", "TargetOpcode", "::", "G_SHL", ":", "return", "AArch64", "::", "LSLVWr", ";", "case", "TargetOpcode", "::", "G_LSHR", ":", "return", "AArch64", "::", "LSRVWr", ";", "case", "TargetOpcode", "::", "G_ASHR", ":", "return", "AArch64", "::", "ASRVWr", ";", "default", ":", "return", "GenericOpc", ";", "}", "}", "else", "if", "(", "OpSize", "==", "64", ")", "{", "switch", "(", "GenericOpc", ")", "{", "case", "TargetOpcode", "::", "G_GEP", ":", "return", "AArch64", "::", "ADDXrr", ";", "case", "TargetOpcode", "::", "G_SHL", ":", "return", "AArch64", "::", "LSLVXr", ";", "case", "TargetOpcode", "::", "G_LSHR", ":", "return", "AArch64", "::", "LSRVXr", ";", "case", "TargetOpcode", "::", "G_ASHR", ":", "return", "AArch64", "::", "ASRVXr", ";", "default", ":", "return", "GenericOpc", ";", "}", "}", "case", "AArch64", "::", "FPRRegBankID", ":", "switch", "(", "OpSize", ")", "{", "case", "32", ":", "switch", "(", "GenericOpc", ")", "{", "case", "TargetOpcode", "::", "G_FADD", ":", "return", "AArch64", "::", "FADDSrr", ";", "case", "TargetOpcode", "::", "G_FSUB", ":", "return", "AArch64", "::", "FSUBSrr", ";", "case", "TargetOpcode", "::", "G_FMUL", ":", "return", "AArch64", "::", "FMULSrr", ";", "case", "TargetOpcode", "::", "G_FDIV", ":", "return", "AArch64", "::", "FDIVSrr", ";", "default", ":", "return", "GenericOpc", ";", "}", "case", "64", ":", "switch", "(", "GenericOpc", ")", "{", "case", "TargetOpcode", "::", "G_FADD", ":", "return", "AArch64", "::", "FADDDrr", ";", "case", "TargetOpcode", "::", "G_FSUB", ":", "return", "AArch64", "::", "FSUBDrr", ";", "case", "TargetOpcode", "::", "G_FMUL", ":", "return", "AArch64", "::", "FMULDrr", ";", "case", "TargetOpcode", "::", "G_FDIV", ":", "return", "AArch64", "::", "FDIVDrr", ";", "case", "TargetOpcode", "::", "G_OR", ":", "return", "AArch64", "::", "ORRv8i8", ";", "default", ":", "return", "GenericOpc", ";", "}", "}", "}", ";", "return", "GenericOpc", ";", "}", ""], "natrual_language": ["Select", "and", "emit", "code", "for", "a", "binary", "operator", "instruction", ",", "which", "has", "an", "opcode", "which", "directly", "corresponds", "to", "the", "given", "ISD", "opcode", "."], "TS_V_token": ["AArch64", "AArch64::GPRRegBankID", "32", "AArch64::LSLVWr", "AArch64::LSRVWr", "AArch64::ASRVWr", "64", "AArch64::ADDXrr", "AArch64::LSLVXr", "AArch64::LSRVXr", "AArch64::ASRVXr", "AArch64::FPRRegBankID", "32", "AArch64::FADDSrr", "AArch64::FSUBSrr", "AArch64::FMULSrr", "AArch64::FDIVSrr", "64", "AArch64::FADDDrr", "AArch64::FSUBDrr", "AArch64::FMULDrr", "AArch64::FDIVDrr", "AArch64::ORRv8i8"], "File": "AArch64InstructionSelector20", "Func": "selectBinaryOp", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22065, "Length": 268, "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", ")", ";", "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", ")", ";", "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": "PPCAsmPrinter31", "Func": "EmitInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22066, "Length": 482, "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", "(", "regs_ever_live", "[", "first_reg", "]", "&&", "(", "!", "call_used_regs", "[", "first_reg", "]", "||", "(", "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", ")", ")", ")", ")", ")", "break", ";", "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", "0"], "File": "rs60003", "Func": "first_reg_to_save", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22067, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FPGATTIImpl", "::", "isLegalMaskedStore", "(", "Type", "*", "DataType", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "store", "."], "TS_V_token": ["FPGA", "FPGA"], "File": "FPGATargetTransformInfo", "Func": "isLegalMaskedStore", "Target": "FPGA", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22068, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "useAA", "(", ")", "const", "override", "{", "return", "isCortexA53", "(", ")", ";", "}", ""], "natrual_language": ["Enable", "use", "of", "alias", "analysis", "during", "code", "generation", "(", "during", "MI", "scheduling", ",", "DAGCombine", ",", "etc", ".", ")", "."], "TS_V_token": ["AArch64"], "File": "AArch64Subtarget (2)", "Func": "useAA", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22069, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_split_convert_uns_si_sse", "(", "rtx", "operands", "[", "]", ")", "{", "machine_mode", "vecmode", ";", "rtx", "value", ",", "large", ",", "zero_or_two31", ",", "input", ",", "two31", ",", "x", ";", "large", "=", "operands", "[", "1", "]", ";", "zero_or_two31", "=", "operands", "[", "2", "]", ";", "input", "=", "operands", "[", "3", "]", ";", "two31", "=", "operands", "[", "4", "]", ";", "vecmode", "=", "GET_MODE", "(", "large", ")", ";", "value", "=", "gen_rtx_REG", "(", "vecmode", ",", "REGNO", "(", "operands", "[", "0", "]", ")", ")", ";", "if", "(", "MEM_P", "(", "input", ")", ")", "{", "if", "(", "vecmode", "==", "V4SFmode", ")", "emit_insn", "(", "gen_vec_setv4sf_0", "(", "value", ",", "CONST0_RTX", "(", "V4SFmode", ")", ",", "input", ")", ")", ";", "else", "emit_insn", "(", "gen_sse2_loadlpd", "(", "value", ",", "CONST0_RTX", "(", "V2DFmode", ")", ",", "input", ")", ")", ";", "}", "else", "{", "input", "=", "gen_rtx_REG", "(", "vecmode", ",", "REGNO", "(", "input", ")", ")", ";", "emit_move_insn", "(", "value", ",", "CONST0_RTX", "(", "vecmode", ")", ")", ";", "if", "(", "vecmode", "==", "V4SFmode", ")", "emit_insn", "(", "gen_sse_movss", "(", "value", ",", "value", ",", "input", ")", ")", ";", "else", "emit_insn", "(", "gen_sse2_movsd", "(", "value", ",", "value", ",", "input", ")", ")", ";", "}", "emit_move_insn", "(", "large", ",", "two31", ")", ";", "emit_move_insn", "(", "zero_or_two31", ",", "MEM_P", "(", "two31", ")", "?", "large", ":", "two31", ")", ";", "x", "=", "gen_rtx_fmt_ee", "(", "LE", ",", "vecmode", ",", "large", ",", "value", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "large", ",", "x", ")", ")", ";", "x", "=", "gen_rtx_AND", "(", "vecmode", ",", "zero_or_two31", ",", "large", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "zero_or_two31", ",", "x", ")", ")", ";", "x", "=", "gen_rtx_MINUS", "(", "vecmode", ",", "value", ",", "zero_or_two31", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "value", ",", "x", ")", ")", ";", "large", "=", "gen_rtx_REG", "(", "V4SImode", ",", "REGNO", "(", "large", ")", ")", ";", "emit_insn", "(", "gen_ashlv4si3", "(", "large", ",", "large", ",", "GEN_INT", "(", "31", ")", ")", ")", ";", "x", "=", "gen_rtx_REG", "(", "V4SImode", ",", "REGNO", "(", "value", ")", ")", ";", "if", "(", "vecmode", "==", "V4SFmode", ")", "emit_insn", "(", "gen_fix_truncv4sfv4si2", "(", "x", ",", "value", ")", ")", ";", "else", "emit_insn", "(", "gen_sse2_cvttpd2dq", "(", "x", ",", "value", ")", ")", ";", "value", "=", "x", ";", "emit_insn", "(", "gen_xorv4si3", "(", "value", ",", "value", ",", "large", ")", ")", ";", "}", ""], "natrual_language": ["Post-reload", "splitter", "for", "converting", "an", "SF", "or", "DFmode", "value", "in", "an", "SSE", "register", "into", "an", "unsigned", "SImode", "."], "TS_V_token": ["i386", "1", "2", "3", "4", "0", "31"], "File": "i386-expand", "Func": "ix86_split_convert_uns_si_sse", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22070, "Length": 346, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "getSqrtEstimate", "(", "SDValue", "Operand", ",", "SelectionDAG", "&", "DAG", ",", "int", "Enabled", ",", "int", "&", "ExtraSteps", ",", "bool", "&", "UseOneConst", ",", "bool", "Reciprocal", ")", "const", "{", "if", "(", "Enabled", "==", "ReciprocalEstimate", "::", "Enabled", "||", "(", "Enabled", "==", "ReciprocalEstimate", "::", "Unspecified", "&&", "Subtarget", "->", "useRSqrt", "(", ")", ")", ")", "if", "(", "SDValue", "Estimate", "=", "getEstimate", "(", "Subtarget", ",", "AArch64ISD", "::", "FRSQRTE", ",", "Operand", ",", "DAG", ",", "ExtraSteps", ")", ")", "{", "SDLoc", "DL", "(", "Operand", ")", ";", "EVT", "VT", "=", "Operand", ".", "getValueType", "(", ")", ";", "SDNodeFlags", "Flags", ";", "Flags", ".", "setUnsafeAlgebra", "(", "true", ")", ";", "for", "(", "int", "i", "=", "ExtraSteps", ";", "i", ">", "0", ";", "--", "i", ")", "{", "SDValue", "Step", "=", "DAG", ".", "getNode", "(", "ISD", "::", "FMUL", ",", "DL", ",", "VT", ",", "Estimate", ",", "Estimate", ",", "&", "Flags", ")", ";", "Step", "=", "DAG", ".", "getNode", "(", "AArch64ISD", "::", "FRSQRTS", ",", "DL", ",", "VT", ",", "Operand", ",", "Step", ",", "&", "Flags", ")", ";", "Estimate", "=", "DAG", ".", "getNode", "(", "ISD", "::", "FMUL", ",", "DL", ",", "VT", ",", "Estimate", ",", "Step", ",", "&", "Flags", ")", ";", "}", "if", "(", "!", "Reciprocal", ")", "{", "EVT", "CCVT", "=", "getSetCCResultType", "(", "DAG", ".", "getDataLayout", "(", ")", ",", "*", "DAG", ".", "getContext", "(", ")", ",", "VT", ")", ";", "SDValue", "FPZero", "=", "DAG", ".", "getConstantFP", "(", "0.0", ",", "DL", ",", "VT", ")", ";", "SDValue", "Eq", "=", "DAG", ".", "getSetCC", "(", "DL", ",", "CCVT", ",", "Operand", ",", "FPZero", ",", "ISD", "::", "SETEQ", ")", ";", "Estimate", "=", "DAG", ".", "getNode", "(", "ISD", "::", "FMUL", ",", "DL", ",", "VT", ",", "Operand", ",", "Estimate", ",", "&", "Flags", ")", ";", "Estimate", "=", "DAG", ".", "getNode", "(", "VT", ".", "isVector", "(", ")", "?", "ISD", "::", "VSELECT", ":", "ISD", "::", "SELECT", ",", "DL", ",", "VT", ",", "Eq", ",", "Operand", ",", "Estimate", ")", ";", "}", "ExtraSteps", "=", "0", ";", "return", "Estimate", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Hooks", "for", "building", "estimates", "in", "place", "of", "slower", "divisions", "and", "square", "roots", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64ISD::FRSQRTE", "0", "ISD::FMUL", "AArch64ISD::FRSQRTS", "ISD::FMUL", "0.0", "ISD::SETEQ", "ISD::FMUL", "ISD::VSELECT", "ISD::SELECT", "0"], "File": "AArch64ISelLowering119", "Func": "getSqrtEstimate", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22071, "Length": 308, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "markGlobalAsPromotedToConstantPool", "(", "const", "GlobalVariable", "*", "GV", ")", "{", "PromotedGlobals", ".", "insert", "(", "GV", ")", ";", "}", ""], "natrual_language": ["Indicate", "to", "the", "backend", "that", "GV", "has", "had", "its", "storage", "changed", "to", "inside", "a", "constant", "pool", "."], "TS_V_token": ["ARM"], "File": "ARMMachineFunctionInfo (2)1", "Func": "markGlobalAsPromotedToConstantPool", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22072, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "elf_platform", "(", "void", ")", "{", "static", "const", "char", "*", "cpu", "=", "NULL", ";", "if", "(", "cpu", "!=", "NULL", ")", "return", "cpu", ";", "int", "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", ")", "if", "(", "av", "->", "a_type", "==", "AT_PLATFORM", ")", "{", "cpu", "=", "(", "const", "char", "*", ")", "av", "->", "a_un", ".", "a_val", ";", "break", ";", "}", "}", "if", "(", "cpu", "!=", "NULL", ")", "{", "size_t", "i", ",", "j", ";", "char", "*", "s", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "rs6000_supported_cpu_names", ")", ";", "i", "++", ")", "if", "(", "!", "strcmp", "(", "cpu", ",", "rs6000_supported_cpu_names", "[", "i", "]", ")", ")", "return", "cpu", ";", "for", "(", "i", "=", "0", ";", "linux_cpu_translation_table", "[", "i", "]", "[", "0", "]", "!=", "NULL", ";", "i", "++", ")", "{", "const", "char", "*", "canonical", "=", "linux_cpu_translation_table", "[", "i", "]", "[", "0", "]", ";", "for", "(", "j", "=", "1", ";", "linux_cpu_translation_table", "[", "i", "]", "[", "j", "]", "!=", "NULL", ";", "j", "++", ")", "if", "(", "!", "strcmp", "(", "cpu", ",", "linux_cpu_translation_table", "[", "i", "]", "[", "j", "]", ")", ")", "{", "cpu", "=", "canonical", ";", "return", "cpu", ";", "}", "}", "auto_vec", "<", "const", "char", "*", ">", "candidates", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "rs6000_supported_cpu_names", ")", ";", "i", "++", ")", "candidates", ".", "safe_push", "(", "rs6000_supported_cpu_names", "[", "i", "]", ")", ";", "candidates_list_and_hint", "(", "cpu", ",", "s", ",", "candidates", ")", ";", "error", "(", "\"unsupported cpu name returned from kernel \"", "\"for %<-mcpu=native%>: %s\"", ",", "cpu", ")", ";", "fatal_error", "(", "input_location", ",", "\"please use an explicit cpu name; \"", "\"valid cpu names are: %s\"", ",", "s", ")", ";", "}", "}", "return", "NULL", ";", "}", ""], "natrual_language": ["Returns", "the", "canonical", "AT_PLATFORM", "if", "present", ",", "otherwise", "NULL", "."], "TS_V_token": ["rs6000", "\"/proc/self/auxv\"", "1", "1024", "0", "0", "0", "0", "0", "1", "0", "\"unsupported cpu name returned from kernel \"", "\"for %<-mcpu=native%>: %s\"", "\"please use an explicit cpu name; \"", "\"valid cpu names are: %s\""], "File": "driver-rs6000", "Func": "elf_platform", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22073, "Length": 327, "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", ")", ")", "||", "!", "fixed_reg_p", "(", "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", ")", ")", "||", "!", "fixed_reg_p", "(", "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": "rs60006", "Func": "rs6000_frame_related", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22074, "Length": 413, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_save_toc_in_prologue_p", "(", "void", ")", "{", "return", "(", "cfun", "&&", "cfun", "->", "machine", "&&", "cfun", "->", "machine", "->", "save_toc_in_prologue", ")", ";", "}", ""], "natrual_language": ["Return", "whether", "we", "need", "to", "always", "update", "the", "saved", "TOC", "pointer", "when", "we", "update", "the", "stack", "pointer", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_save_toc_in_prologue_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22075, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LC3TargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InGlue", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "SDLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "assert", "(", "!", "isVarArg", "&&", "\"Unsupported\"", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_LC3", ")", ";", "for", "(", "auto", "&", "Loc", ":", "RVLocs", ")", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "Loc", ".", "getLocReg", "(", ")", ",", "Loc", ".", "getValVT", "(", ")", ",", "InGlue", ")", ".", "getValue", "(", "1", ")", ";", "InGlue", "=", "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": ["LC3", "LC3", "ISD::InputArg", "\"Unsupported\"", "16", "LC3", "1", "2", "0"], "File": "LC3ISelLowering", "Func": "LowerCallResult", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22076, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsRegisterInfo", "&", "Mips16InstrInfo", "::", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "Mips16InstrInfo (2)", "Func": "getRegisterInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22077, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsCodeEmitter", "::", "getJumpTargetOpValue", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "OpNo", ")", "const", "{", "MachineOperand", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isGlobal", "(", ")", ")", "emitGlobalAddress", "(", "MO", ".", "getGlobal", "(", ")", ",", "getRelocation", "(", "MI", ",", "MO", ")", ",", "true", ")", ";", "else", "if", "(", "MO", ".", "isSymbol", "(", ")", ")", "emitExternalSymbolAddress", "(", "MO", ".", "getSymbolName", "(", ")", ",", "getRelocation", "(", "MI", ",", "MO", ")", ")", ";", "else", "if", "(", "MO", ".", "isMBB", "(", ")", ")", "emitMachineBasicBlock", "(", "MO", ".", "getMBB", "(", ")", ",", "getRelocation", "(", "MI", ",", "MO", ")", ")", ";", "else", "llvm_unreachable", "(", "\"Unexpected jump target operand kind.\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getJumpTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "jump", "target", "operand", "."], "TS_V_token": ["Mips", "Mips", "\"Unexpected jump target operand kind.\"", "0"], "File": "MipsCodeEmitter", "Func": "getJumpTargetOpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22078, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "enableShrinkWrapping", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "MF", ".", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "Attribute", "::", "NoUnwind", ")", "||", "hasFP", "(", "MF", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "will", "correctly", "handle", "shrink", "wrapping", "."], "TS_V_token": ["X86", "X86"], "File": "X86FrameLowering (2)4", "Func": "enableShrinkWrapping", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22079, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMCallLowering", "::", "splitToValueTypes", "(", "const", "ArgInfo", "&", "OrigArg", ",", "SmallVectorImpl", "<", "ArgInfo", ">", "&", "SplitArgs", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "ARMTargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "ARMTargetLowering", ">", "(", ")", ";", "LLVMContext", "&", "Ctx", "=", "OrigArg", ".", "Ty", "->", "getContext", "(", ")", ";", "const", "DataLayout", "&", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "SmallVector", "<", "EVT", ",", "4", ">", "SplitVTs", ";", "ComputeValueVTs", "(", "TLI", ",", "DL", ",", "OrigArg", ".", "Ty", ",", "SplitVTs", ",", "nullptr", ",", "nullptr", ",", "0", ")", ";", "assert", "(", "OrigArg", ".", "Regs", ".", "size", "(", ")", "==", "SplitVTs", ".", "size", "(", ")", "&&", "\"Regs / types mismatch\"", ")", ";", "if", "(", "SplitVTs", ".", "size", "(", ")", "==", "1", ")", "{", "auto", "Flags", "=", "OrigArg", ".", "Flags", "[", "0", "]", ";", "Flags", ".", "setOrigAlign", "(", "Align", "(", "DL", ".", "getABITypeAlignment", "(", "OrigArg", ".", "Ty", ")", ")", ")", ";", "SplitArgs", ".", "emplace_back", "(", "OrigArg", ".", "Regs", "[", "0", "]", ",", "SplitVTs", "[", "0", "]", ".", "getTypeForEVT", "(", "Ctx", ")", ",", "Flags", ",", "OrigArg", ".", "IsFixed", ")", ";", "return", ";", "}", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "SplitVTs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "EVT", "SplitVT", "=", "SplitVTs", "[", "i", "]", ";", "Type", "*", "SplitTy", "=", "SplitVT", ".", "getTypeForEVT", "(", "Ctx", ")", ";", "auto", "Flags", "=", "OrigArg", ".", "Flags", "[", "0", "]", ";", "Flags", ".", "setOrigAlign", "(", "Align", "(", "DL", ".", "getABITypeAlignment", "(", "SplitTy", ")", ")", ")", ";", "bool", "NeedsConsecutiveRegisters", "=", "TLI", ".", "functionArgumentNeedsConsecutiveRegisters", "(", "SplitTy", ",", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ")", ";", "if", "(", "NeedsConsecutiveRegisters", ")", "{", "Flags", ".", "setInConsecutiveRegs", "(", ")", ";", "if", "(", "i", "==", "e", "-", "1", ")", "Flags", ".", "setInConsecutiveRegsLast", "(", ")", ";", "}", "Register", "PartReg", "=", "OrigArg", ".", "Regs", "[", "i", "]", ";", "SplitArgs", ".", "emplace_back", "(", "PartReg", ",", "SplitTy", ",", "Flags", ",", "OrigArg", ".", "IsFixed", ")", ";", "}", "}", ""], "natrual_language": ["Break", "OrigArgInfo", "into", "one", "or", "more", "pieces", "the", "calling", "convention", "can", "process", ",", "returned", "in", "SplitArgs", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "4", "0", "\"Regs / types mismatch\"", "1", "0", "0", "0", "0", "0", "1"], "File": "ARMCallLowering", "Func": "splitToValueTypes", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22080, "Length": 327, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "first_fp_reg_to_save", "(", "void", ")", "{", "int", "first_reg", ";", "for", "(", "first_reg", "=", "14", "+", "32", ";", "first_reg", "<=", "63", ";", "first_reg", "++", ")", "if", "(", "save_reg_p", "(", "first_reg", ")", ")", "break", ";", "return", "first_reg", ";", "}", ""], "natrual_language": ["Similar", ",", "for", "FP", "regs", "."], "TS_V_token": ["rs6000", "14", "32", "63"], "File": "rs6000-logue", "Func": "first_fp_reg_to_save", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22081, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sh_function_arg", "(", "cumulative_args_t", "ca_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "CUMULATIVE_ARGS", "*", "ca", "=", "get_cumulative_args", "(", "ca_v", ")", ";", "if", "(", "!", "TARGET_SH5", "&&", "mode", "==", "VOIDmode", ")", "return", "GEN_INT", "(", "ca", "->", "renesas_abi", "?", "1", ":", "0", ")", ";", "if", "(", "!", "TARGET_SH5", "&&", "sh_pass_in_reg_p", "(", "*", "ca", ",", "mode", ",", "type", ")", "&&", "(", "named", "||", "!", "(", "TARGET_HITACHI", "||", "ca", "->", "renesas_abi", ")", ")", ")", "{", "int", "regno", ";", "if", "(", "mode", "==", "SCmode", "&&", "TARGET_SH4", "&&", "TARGET_LITTLE_ENDIAN", "&&", "(", "!", "FUNCTION_ARG_SCmode_WART", "||", "(", "sh_round_reg", "(", "*", "ca", ",", "mode", ")", "&", "1", ")", ")", ")", "{", "rtx", "r1", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "SFmode", ",", "BASE_ARG_REG", "(", "mode", ")", "+", "(", "sh_round_reg", "(", "*", "ca", ",", "mode", ")", "^", "1", ")", ")", ",", "const0_rtx", ")", ";", "rtx", "r2", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "SFmode", ",", "BASE_ARG_REG", "(", "mode", ")", "+", "(", "(", "sh_round_reg", "(", "*", "ca", ",", "mode", ")", "+", "1", ")", "^", "1", ")", ")", ",", "GEN_INT", "(", "4", ")", ")", ";", "return", "gen_rtx_PARALLEL", "(", "SCmode", ",", "gen_rtvec", "(", "2", ",", "r1", ",", "r2", ")", ")", ";", "}", "if", "(", "(", "TARGET_HITACHI", "||", "ca", "->", "renesas_abi", ")", "&&", "ca", "->", "free_single_fp_reg", "&&", "mode", "==", "SFmode", ")", "return", "gen_rtx_REG", "(", "mode", ",", "ca", "->", "free_single_fp_reg", ")", ";", "regno", "=", "(", "BASE_ARG_REG", "(", "mode", ")", "+", "sh_round_reg", "(", "*", "ca", ",", "mode", ")", ")", "^", "(", "mode", "==", "SFmode", "&&", "TARGET_SH4", "&&", "TARGET_LITTLE_ENDIAN", "&&", "!", "TARGET_HITACHI", "&&", "!", "ca", "->", "renesas_abi", ")", ";", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "}", "if", "(", "TARGET_SH5", ")", "{", "if", "(", "mode", "==", "VOIDmode", "&&", "TARGET_SHCOMPACT", ")", "return", "GEN_INT", "(", "ca", "->", "call_cookie", ")", ";", "if", "(", "mode", "==", "SFmode", "&&", "ca", "->", "free_single_fp_reg", ")", "return", "SH5_PROTOTYPED_FLOAT_ARG", "(", "*", "ca", ",", "mode", ",", "ca", "->", "free_single_fp_reg", ")", ";", "if", "(", "(", "GET_SH_ARG_CLASS", "(", "mode", ")", "==", "SH_ARG_FLOAT", ")", "&&", "(", "named", "||", "!", "ca", "->", "prototype_p", ")", "&&", "ca", "->", "arg_count", "[", "(", "int", ")", "SH_ARG_FLOAT", "]", "<", "NPARM_REGS", "(", "SFmode", ")", ")", "{", "if", "(", "!", "ca", "->", "prototype_p", "&&", "TARGET_SHMEDIA", ")", "return", "SH5_PROTOTYPELESS_FLOAT_ARG", "(", "*", "ca", ",", "mode", ")", ";", "return", "SH5_PROTOTYPED_FLOAT_ARG", "(", "*", "ca", ",", "mode", ",", "FIRST_FP_PARM_REG", "+", "ca", "->", "arg_count", "[", "(", "int", ")", "SH_ARG_FLOAT", "]", ")", ";", "}", "if", "(", "ca", "->", "arg_count", "[", "(", "int", ")", "SH_ARG_INT", "]", "<", "NPARM_REGS", "(", "SImode", ")", "&&", "(", "!", "TARGET_SHCOMPACT", "||", "(", "!", "SHCOMPACT_FORCE_ON_STACK", "(", "mode", ",", "type", ")", "&&", "!", "SH5_WOULD_BE_PARTIAL_NREGS", "(", "*", "ca", ",", "mode", ",", "type", ",", "named", ")", ")", ")", ")", "{", "return", "gen_rtx_REG", "(", "mode", ",", "(", "FIRST_PARM_REG", "+", "ca", "->", "arg_count", "[", "(", "int", ")", "SH_ARG_INT", "]", ")", ")", ";", "}", "return", "NULL_RTX", ";", "}", "return", "NULL_RTX", ";", "}", ""], "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", "SH", "the", "first", "args", "are", "normally", "in", "registers", "and", "the", "rest", "are", "pushed", ".", "Any", "arg", "that", "starts", "within", "the", "first", "NPARM_REGS", "words", "is", "at", "least", "partially", "passed", "in", "a", "register", "unless", "its", "data", "type", "forbids", "."], "TS_V_token": ["sh", "1", "0", "1", "1", "1", "1", "4", "2"], "File": "sh4", "Func": "sh_function_arg", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22082, "Length": 461, "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": 22083, "Length": 353, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "&", "MI", ",", "Register", "&", "SrcReg", ",", "Register", "&", "SrcReg2", ",", "int64_t", "&", "CmpMask", ",", "int64_t", "&", "CmpValue", ")", "const", "{", "assert", "(", "MI", ".", "getNumOperands", "(", ")", ">=", "2", "&&", "\"All AArch64 cmps should have 2 operands\"", ")", ";", "if", "(", "!", "MI", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", ")", "return", "false", ";", "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", "(", ")", ";", "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", ")", ";", "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", "2", "\"All AArch64 cmps should have 2 operands\"", "1", "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", "AArch64::ANDSWri", "AArch64::ANDSXri", "1", "0", "0", "AArch64_AM::decodeLogicalImmediate", "2", "AArch64::ANDSWri", "32", "64"], "File": "AArch64InstrInfo105", "Func": "analyzeCompare", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22084, "Length": 342, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "X86RegisterInfo", "::", "getCallPreservedMask", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "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", "::", "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", "::", "Cold", ":", "if", "(", "Is64Bit", ")", "return", "CSR_64_MostRegs_RegMask", ";", "break", ";", "default", ":", "break", ";", "}", "if", "(", "Is64Bit", ")", "{", "if", "(", "IsWin64", ")", "return", "CSR_Win64_RegMask", ";", "return", "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"], "File": "X86RegisterInfo2", "Func": "getCallPreservedMask", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22085, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "unsigned", "VReg", ")", "const", "{", "assert", "(", "!", "Val", "==", "!", "VReg", "&&", "\"Return value without a vreg\"", ")", ";", "auto", "Ret", "=", "MIRBuilder", ".", "buildInstrNoInsert", "(", "ARM", "::", "BX_RET", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "if", "(", "!", "lowerReturnVal", "(", "MIRBuilder", ",", "Val", ",", "VReg", ",", "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::BX_RET", "ARMCC::AL"], "File": "ARMCallLowering11", "Func": "lowerReturn", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22086, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86RegisterInfo", "::", "getDwarfRegNum", "(", "unsigned", "RegNo", ",", "bool", "isEH", ")", "const", "{", "const", "X86Subtarget", "*", "Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "unsigned", "Flavour", "=", "DWARFFlavour", "::", "X86_64", ";", "if", "(", "!", "Subtarget", "->", "is64Bit", "(", ")", ")", "{", "if", "(", "Subtarget", "->", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "isEH", ")", "Flavour", "=", "DWARFFlavour", "::", "X86_32_DarwinEH", ";", "else", "Flavour", "=", "DWARFFlavour", "::", "X86_32_Generic", ";", "}", "else", "if", "(", "Subtarget", "->", "isTargetCygMing", "(", ")", ")", "{", "Flavour", "=", "DWARFFlavour", "::", "X86_32_Generic", ";", "}", "else", "{", "Flavour", "=", "DWARFFlavour", "::", "X86_32_Generic", ";", "}", "}", "return", "X86GenRegisterInfo", "::", "getDwarfRegNumFull", "(", "RegNo", ",", "Flavour", ")", ";", "}", ""], "natrual_language": ["Map", "a", "target", "register", "to", "an", "equivalent", "dwarf", "register", "number", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86RegisterInfo11", "Func": "getDwarfRegNum", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22087, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "shouldExpandGetActiveLaneMask", "(", "EVT", "ResVT", ",", "EVT", "OpVT", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "hasSVE", "(", ")", ")", "return", "true", ";", "if", "(", "ResVT", "!=", "MVT", "::", "nxv2i1", "&&", "ResVT", "!=", "MVT", "::", "nxv4i1", "&&", "ResVT", "!=", "MVT", "::", "nxv8i1", "&&", "ResVT", "!=", "MVT", "::", "nxv16i1", ")", "return", "true", ";", "if", "(", "OpVT", "!=", "MVT", "::", "i32", "&&", "OpVT", "!=", "MVT", "::", "i64", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "@", "llvm.get.active.lane.mask", "intrinsic", "should", "be", "expanded", "using", "generic", "code", "in", "SelectionDAGBuilder", "."], "TS_V_token": ["AArch64", "AArch64", "MVT::nxv2i1", "MVT::nxv4i1", "MVT::nxv8i1", "MVT::nxv16i1", "MVT::i32", "MVT::i64"], "File": "AArch64ISelLowering168", "Func": "shouldExpandGetActiveLaneMask", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22088, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_no_early_alu_shift_dep", "(", "rtx", "producer", ",", "rtx", "consumer", ")", "{", "rtx", "value", ",", "op", ";", "rtx", "early_op", ";", "if", "(", "!", "arm_get_set_operands", "(", "producer", ",", "consumer", ",", "&", "value", ",", "&", "op", ")", ")", "return", "0", ";", "if", "(", "(", "early_op", "=", "arm_find_shift_sub_rtx", "(", "op", ")", ")", ")", "return", "!", "reg_overlap_mentioned_p", "(", "value", ",", "early_op", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "the", "CONSUMER", "instruction", "(", "an", "ALU", "op", ")", "does", "not", "have", "an", "early", "register", "shift", "value", "or", "amount", "dependency", "on", "the", "result", "of", "PRODUCER", "."], "TS_V_token": ["arm", "0", "0"], "File": "aarch-common", "Func": "arm_no_early_alu_shift_dep", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22089, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb1InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "Register", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "assert", "(", "(", "RC", "->", "hasSuperClassEq", "(", "&", "ARM", "::", "tGPRRegClass", ")", "||", "(", "Register", "::", "isPhysicalRegister", "(", "DestReg", ")", "&&", "isARMLowRegister", "(", "DestReg", ")", ")", ")", "&&", "\"Unknown regclass!\"", ")", ";", "if", "(", "RC", "->", "hasSuperClassEq", "(", "&", "ARM", "::", "tGPRRegClass", ")", "||", "(", "Register", "::", "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", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tLDRspi", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "}", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM::tGPRRegClass", "ARM", "\"Unknown regclass!\"", "ARM::tGPRRegClass", "ARM", "ARM::tLDRspi", "0", "ARMCC::AL"], "File": "Thumb1InstrInfo26", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22090, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mips_class_max_nregs", "(", "enum", "reg_class", "rclass", ",", "machine_mode", "mode", ")", "{", "int", "size", ";", "HARD_REG_SET", "left", ";", "size", "=", "0x8000", ";", "COPY_HARD_REG_SET", "(", "left", ",", "reg_class_contents", "[", "(", "int", ")", "rclass", "]", ")", ";", "if", "(", "hard_reg_set_intersect_p", "(", "left", ",", "reg_class_contents", "[", "(", "int", ")", "ST_REGS", "]", ")", ")", "{", "if", "(", "mips_hard_regno_mode_ok", "(", "ST_REG_FIRST", ",", "mode", ")", ")", "size", "=", "MIN", "(", "size", ",", "4", ")", ";", "AND_COMPL_HARD_REG_SET", "(", "left", ",", "reg_class_contents", "[", "(", "int", ")", "ST_REGS", "]", ")", ";", "}", "if", "(", "hard_reg_set_intersect_p", "(", "left", ",", "reg_class_contents", "[", "(", "int", ")", "FP_REGS", "]", ")", ")", "{", "if", "(", "mips_hard_regno_mode_ok", "(", "FP_REG_FIRST", ",", "mode", ")", ")", "{", "if", "(", "MSA_SUPPORTED_MODE_P", "(", "mode", ")", ")", "size", "=", "MIN", "(", "size", ",", "UNITS_PER_MSA_REG", ")", ";", "else", "size", "=", "MIN", "(", "size", ",", "UNITS_PER_FPREG", ")", ";", "}", "AND_COMPL_HARD_REG_SET", "(", "left", ",", "reg_class_contents", "[", "(", "int", ")", "FP_REGS", "]", ")", ";", "}", "if", "(", "!", "hard_reg_set_empty_p", "(", "left", ")", ")", "size", "=", "MIN", "(", "size", ",", "UNITS_PER_WORD", ")", ";", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "size", "-", "1", ")", "/", "size", ";", "}", ""], "natrual_language": ["Implement", "CLASS_MAX_NREGS", ".", "Usually", "all", "registers", "are", "word-sized", ".", "The", "only", "supported", "exception", "is", "-mgp64", "-msingle-float", ",", "which", "has", "64-bit", "words", "but", "32-bit", "float", "registers", ".", "A", "word-based", "calculation", "is", "correct", "even", "in", "that", "case", ",", "since", "-msingle-float", "disallows", "multi-FPR", "values", ".", "The", "FP", "status", "registers", "are", "an", "exception", "to", "this", "rule", ".", "They", "are", "always", "4", "bytes", "wide", "as", "they", "only", "hold", "condition", "code", "modes", ",", "and", "CCmode", "is", "always", "considered", "to", "be", "4", "bytes", "wide", "."], "TS_V_token": ["mips", "0x8000", "4", "1"], "File": "mips7", "Func": "mips_class_max_nregs", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22091, "Length": 181, "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": 22092, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_function_arg_advance", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "tree", "type", "=", "arg", ".", "type", ";", "machine_mode", "mode", "=", "arg", ".", "mode", ";", "int", "regno", ",", "padding", ";", "function_arg_slotno", "(", "cum", ",", "mode", ",", "type", ",", "arg", ".", "named", ",", "false", ",", "&", "regno", ",", "&", "padding", ")", ";", "cum", "->", "words", "+=", "padding", ";", "if", "(", "TARGET_ARCH32", ")", "cum", "->", "words", "+=", "CEIL_NWORDS", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "else", "{", "if", "(", "type", "&&", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "||", "VECTOR_FLOAT_TYPE_P", "(", "type", ")", ")", ")", "{", "const", "int", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "if", "(", "size", "<=", "0", ")", "cum", "->", "words", "++", ";", "else", "cum", "->", "words", "+=", "CEIL_NWORDS", "(", "size", ")", ";", "}", "else", "cum", "->", "words", "+=", "CEIL_NWORDS", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "}", "}", ""], "natrual_language": ["Handle", "the", "TARGET_FUNCTION_ARG_ADVANCE", "hook", ".", "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": ["sparc", "0"], "File": "sparc", "Func": "sparc_function_arg_advance", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22093, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "mips_function_arg_boundary", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "unsigned", "int", "alignment", ";", "alignment", "=", "type", "?", "TYPE_ALIGN", "(", "type", ")", ":", "GET_MODE_ALIGNMENT", "(", "mode", ")", ";", "if", "(", "alignment", "<", "PARM_BOUNDARY", ")", "alignment", "=", "PARM_BOUNDARY", ";", "if", "(", "alignment", ">", "STACK_BOUNDARY", ")", "alignment", "=", "STACK_BOUNDARY", ";", "return", "alignment", ";", "}", ""], "natrual_language": ["Implement", "TARGET_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", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_function_arg_boundary", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22094, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isSubregFoldable", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Check", "whether", "the", "target", "can", "fold", "a", "load", "that", "feeds", "a", "subreg", "operand", "(", "or", "a", "subreg", "operand", "that", "feeds", "a", "store", ")", "."], "TS_V_token": ["AArch64"], "File": "AArch64InstrInfo (2)", "Func": "isSubregFoldable", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22095, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "*", "PPCInstrInfo", "::", "CreateTargetHazardRecognizer", "(", "const", "TargetMachine", "*", "TM", ",", "const", "ScheduleDAG", "*", "DAG", ")", "const", "{", "unsigned", "Directive", "=", "TM", "->", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "getDarwinDirective", "(", ")", ";", "if", "(", "Directive", "==", "PPC", "::", "DIR_440", "||", "Directive", "==", "PPC", "::", "DIR_A2", "||", "Directive", "==", "PPC", "::", "DIR_E500mc", "||", "Directive", "==", "PPC", "::", "DIR_E5500", ")", "{", "const", "InstrItineraryData", "*", "II", "=", "TM", "->", "getInstrItineraryData", "(", ")", ";", "return", "new", "ScoreboardHazardRecognizer", "(", "II", ",", "DAG", ")", ";", "}", "return", "TargetInstrInfo", "::", "CreateTargetHazardRecognizer", "(", "TM", ",", "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": ["PowerPC", "PPC", "PPC", "PPC::DIR_440", "PPC::DIR_A2", "PPC::DIR_E500mc", "PPC::DIR_E5500"], "File": "PPCInstrInfo (2)", "Func": "CreateTargetHazardRecognizer", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22096, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isToken", "(", ")", "const", "override", "{", "return", "Kind", "==", "Token", ";", "}", ""], "natrual_language": ["isToken", "-", "Is", "this", "a", "token", "operand", "?"], "TS_V_token": ["MMIX"], "File": "MMIXAsmParser", "Func": "isToken", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22097, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "PPCRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "PPCFrameLowering", "*", "PPCFI", "=", "static_cast", "<", "const", "PPCFrameLowering", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "ZERO", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "ZERO8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "FP", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "FP8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "BP", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "BP8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "CTR", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "CTR8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R1", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "RM", ")", ";", "if", "(", "!", "Subtarget", ".", "isDarwinABI", "(", ")", "||", "!", "Subtarget", ".", "hasAltivec", "(", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "VRSAVE", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R2", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R13", ")", ";", "}", "if", "(", "Subtarget", ".", "isPPC64", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R13", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X1", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X13", ")", ";", "if", "(", "PPCFI", "->", "needsFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "X31", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "X30", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "X2", ")", ";", "}", "}", "if", "(", "PPCFI", "->", "needsFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "R31", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "{", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", "&&", "!", "Subtarget", ".", "isPPC64", "(", ")", "&&", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "Reserved", ".", "set", "(", "PPC", "::", "R29", ")", ";", "else", "Reserved", ".", "set", "(", "PPC", "::", "R30", ")", ";", "}", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", "&&", "!", "Subtarget", ".", "isPPC64", "(", ")", "&&", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "Reserved", ".", "set", "(", "PPC", "::", "R30", ")", ";", "if", "(", "!", "Subtarget", ".", "hasAltivec", "(", ")", ")", "for", "(", "TargetRegisterClass", "::", "iterator", "I", "=", "PPC", "::", "VRRCRegClass", ".", "begin", "(", ")", ",", "IE", "=", "PPC", "::", "VRRCRegClass", ".", "end", "(", ")", ";", "I", "!=", "IE", ";", "++", "I", ")", "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": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC::ZERO", "PPC::ZERO8", "PPC::FP", "PPC::FP8", "PPC::BP", "PPC::BP8", "PPC::CTR", "PPC::CTR8", "PPC::R1", "PPC::LR", "PPC::LR8", "PPC::RM", "PPC::VRSAVE", "PPC::R2", "PPC::R13", "PPC", "PPC::R13", "PPC::X1", "PPC::X13", "PPC", "PPC::X31", "PPC::X30", "PPC::X2", "PPC", "PPC::R31", "PPC", "PPC::R29", "PPC::R30", "PPC", "PPC::R30", "PPC::VRRCRegClass", "PPC::VRRCRegClass"], "File": "PPCRegisterInfo68", "Func": "getReservedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22098, "Length": 460, "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", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "else", "if", "(", "RC", "==", "SP", "::", "FPRegsRegisterClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STFri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "else", "if", "(", "RC", "==", "SP", "::", "DFPRegsRegisterClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STDFri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "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": "SparcInstrInfo17", "Func": "storeRegToStackSlot", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22099, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64InstrInfo", "::", "isFPRCopy", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "TargetOpcode", "::", "COPY", ":", "{", "unsigned", "DstReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "return", "(", "ARM64", "::", "FPR64RegClass", ".", "contains", "(", "DstReg", ")", "||", "ARM64", "::", "FPR128RegClass", ".", "contains", "(", "DstReg", ")", ")", ";", "}", "case", "ARM64", "::", "ORRv16i8", ":", "if", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", "{", "assert", "(", "MI", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", "==", "3", "&&", "MI", "->", "getOperand", "(", "0", ")", ".", "isReg", "(", ")", "&&", "\"invalid ORRv16i8 operands\"", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Does", "this", "instruction", "rename", "an", "FPR", "without", "modifying", "bits", "?"], "TS_V_token": ["ARM64", "ARM64", "0", "ARM64::FPR64RegClass", "ARM64::FPR128RegClass", "ARM64::ORRv16i8", "1", "2", "3", "0", "\"invalid ORRv16i8 operands\""], "File": "ARM64InstrInfo", "Func": "isFPRCopy", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22100, "Length": 134, "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": ["PowerPC"], "File": "PPCSubtarget (2)1", "Func": "getInstrItineraryData", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22101, "Length": 14, "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": ["FISC"], "File": "FISCAsmParser", "Func": "isReg", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22102, "Length": 12, "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": 22103, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_function_specific_restore", "(", "struct", "gcc_options", "*", "opts", ",", "struct", "cl_target_option", "*", "ptr", ")", "{", "enum", "processor_type", "old_tune", "=", "ix86_tune", ";", "enum", "processor_type", "old_arch", "=", "ix86_arch", ";", "unsigned", "HOST_WIDE_INT", "ix86_arch_mask", ";", "int", "i", ";", "opts", "->", "x_flag_pic", "=", "flag_pic", ";", "ix86_arch", "=", "(", "enum", "processor_type", ")", "ptr", "->", "arch", ";", "ix86_schedule", "=", "(", "enum", "attr_cpu", ")", "ptr", "->", "schedule", ";", "ix86_tune", "=", "(", "enum", "processor_type", ")", "ptr", "->", "tune", ";", "x86_prefetch_sse", "=", "ptr", "->", "prefetch_sse", ";", "opts", "->", "x_ix86_branch_cost", "=", "ptr", "->", "branch_cost", ";", "ix86_tune_defaulted", "=", "ptr", "->", "tune_defaulted", ";", "ix86_arch_specified", "=", "ptr", "->", "arch_specified", ";", "opts", "->", "x_ix86_isa_flags_explicit", "=", "ptr", "->", "x_ix86_isa_flags_explicit", ";", "opts", "->", "x_ix86_isa_flags2_explicit", "=", "ptr", "->", "x_ix86_isa_flags2_explicit", ";", "opts", "->", "x_recip_mask_explicit", "=", "ptr", "->", "x_recip_mask_explicit", ";", "opts", "->", "x_ix86_arch_string", "=", "ptr", "->", "x_ix86_arch_string", ";", "opts", "->", "x_ix86_tune_string", "=", "ptr", "->", "x_ix86_tune_string", ";", "opts", "->", "x_ix86_cmodel", "=", "ptr", "->", "x_ix86_cmodel", ";", "opts", "->", "x_ix86_abi", "=", "ptr", "->", "x_ix86_abi", ";", "opts", "->", "x_ix86_asm_dialect", "=", "ptr", "->", "x_ix86_asm_dialect", ";", "opts", "->", "x_ix86_branch_cost", "=", "ptr", "->", "x_ix86_branch_cost", ";", "opts", "->", "x_ix86_dump_tunes", "=", "ptr", "->", "x_ix86_dump_tunes", ";", "opts", "->", "x_ix86_force_align_arg_pointer", "=", "ptr", "->", "x_ix86_force_align_arg_pointer", ";", "opts", "->", "x_ix86_force_drap", "=", "ptr", "->", "x_ix86_force_drap", ";", "opts", "->", "x_ix86_incoming_stack_boundary_arg", "=", "ptr", "->", "x_ix86_incoming_stack_boundary_arg", ";", "opts", "->", "x_ix86_pmode", "=", "ptr", "->", "x_ix86_pmode", ";", "opts", "->", "x_ix86_preferred_stack_boundary_arg", "=", "ptr", "->", "x_ix86_preferred_stack_boundary_arg", ";", "opts", "->", "x_ix86_recip_name", "=", "ptr", "->", "x_ix86_recip_name", ";", "opts", "->", "x_ix86_regparm", "=", "ptr", "->", "x_ix86_regparm", ";", "opts", "->", "x_ix86_section_threshold", "=", "ptr", "->", "x_ix86_section_threshold", ";", "opts", "->", "x_ix86_sse2avx", "=", "ptr", "->", "x_ix86_sse2avx", ";", "opts", "->", "x_ix86_stack_protector_guard", "=", "ptr", "->", "x_ix86_stack_protector_guard", ";", "opts", "->", "x_ix86_stringop_alg", "=", "ptr", "->", "x_ix86_stringop_alg", ";", "opts", "->", "x_ix86_tls_dialect", "=", "ptr", "->", "x_ix86_tls_dialect", ";", "opts", "->", "x_ix86_tune_ctrl_string", "=", "ptr", "->", "x_ix86_tune_ctrl_string", ";", "opts", "->", "x_ix86_tune_memcpy_strategy", "=", "ptr", "->", "x_ix86_tune_memcpy_strategy", ";", "opts", "->", "x_ix86_tune_memset_strategy", "=", "ptr", "->", "x_ix86_tune_memset_strategy", ";", "opts", "->", "x_ix86_tune_no_default", "=", "ptr", "->", "x_ix86_tune_no_default", ";", "opts", "->", "x_ix86_veclibabi_type", "=", "ptr", "->", "x_ix86_veclibabi_type", ";", "ix86_tune_cost", "=", "processor_target_table", "[", "ix86_tune", "]", ".", "cost", ";", "if", "(", "opts", "->", "x_optimize_size", ")", "ix86_cost", "=", "&", "ix86_size_cost", ";", "else", "ix86_cost", "=", "ix86_tune_cost", ";", "if", "(", "old_arch", "!=", "ix86_arch", ")", "{", "ix86_arch_mask", "=", "HOST_WIDE_INT_1U", "<<", "ix86_arch", ";", "for", "(", "i", "=", "0", ";", "i", "<", "X86_ARCH_LAST", ";", "++", "i", ")", "ix86_arch_features", "[", "i", "]", "=", "!", "!", "(", "initial_ix86_arch_features", "[", "i", "]", "&", "ix86_arch_mask", ")", ";", "}", "if", "(", "old_tune", "!=", "ix86_tune", ")", "set_ix86_tune_features", "(", "ix86_tune", ",", "false", ")", ";", "}", ""], "natrual_language": ["Restore", "the", "current", "options"], "TS_V_token": ["i386", "0"], "File": "i3867", "Func": "ix86_function_specific_restore", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22104, "Length": 394, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Instruction", "*", "ARMTargetLowering", "::", "emitLeadingFence", "(", "IRBuilder", "<", ">", "&", "Builder", ",", "Instruction", "*", "Inst", ",", "AtomicOrdering", "Ord", ")", "const", "{", "switch", "(", "Ord", ")", "{", "case", "AtomicOrdering", "::", "NotAtomic", ":", "case", "AtomicOrdering", "::", "Unordered", ":", "llvm_unreachable", "(", "\"Invalid fence: unordered/non-atomic\"", ")", ";", "case", "AtomicOrdering", "::", "Monotonic", ":", "case", "AtomicOrdering", "::", "Acquire", ":", "return", "nullptr", ";", "case", "AtomicOrdering", "::", "SequentiallyConsistent", ":", "if", "(", "!", "Inst", "->", "hasAtomicStore", "(", ")", ")", "return", "nullptr", ";", "LLVM_FALLTHROUGH", ";", "case", "AtomicOrdering", "::", "Release", ":", "case", "AtomicOrdering", "::", "AcquireRelease", ":", "if", "(", "Subtarget", "->", "preferISHSTBarriers", "(", ")", ")", "return", "makeDMB", "(", "Builder", ",", "ARM_MB", "::", "ISHST", ")", ";", "else", "return", "makeDMB", "(", "Builder", ",", "ARM_MB", "::", "ISH", ")", ";", "}", "llvm_unreachable", "(", "\"Unknown fence ordering in emitLeadingFence\"", ")", ";", "}", ""], "natrual_language": ["Custom", "Lower", "{", "."], "TS_V_token": ["ARM", "ARM", "\"Invalid fence: unordered/non-atomic\"", "ARM_MB::ISHST", "ARM_MB::ISH", "\"Unknown fence ordering in emitLeadingFence\""], "File": "ARMISelLowering (2)6", "Func": "emitLeadingFence", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22105, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCDispatchGroupSBHazardRecognizer", "::", "PreEmitNoops", "(", "SUnit", "*", "SU", ")", "{", "if", "(", "isLoadAfterStore", "(", "SU", ")", "&&", "CurSlots", "<", "6", ")", "{", "unsigned", "Mcpu", "=", "DAG", "->", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "getMcpu", "(", ")", ";", "if", "(", "Mcpu", "==", "PPC", "::", "MCPU_PWR6", "||", "Mcpu", "==", "PPC", "::", "MCPU_PWR7", "||", "Mcpu", "==", "PPC", "::", "MCPU_PWR8", "||", "Mcpu", "==", "PPC", "::", "MCPU_PWR9", ")", "return", "1", ";", "return", "5", "-", "CurSlots", ";", "}", "return", "ScoreboardHazardRecognizer", "::", "PreEmitNoops", "(", "SU", ")", ";", "}", ""], "natrual_language": ["PreEmitNoops", "-", "This", "callback", "is", "invoked", "prior", "to", "emitting", "an", "instruction", "."], "TS_V_token": ["PowerPC", "PPC", "6", "PPC", "PPC::MCPU_PWR6", "PPC::MCPU_PWR7", "PPC::MCPU_PWR8", "PPC::MCPU_PWR9", "1", "5"], "File": "PPCHazardRecognizers8", "Func": "PreEmitNoops", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22106, "Length": 84, "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": 22107, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Mips Branch Expansion Pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"Mips Branch Expansion Pass\""], "File": "MipsBranchExpansion (2)", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22108, "Length": 11, "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", "=", "intoffset", "&", "-", "BITS_PER_WORD", ";", "}", "}", "startbit", "=", "intoffset", "&", "-", "BITS_PER_WORD", ";", "endbit", "=", "(", "bitpos", "+", "BITS_PER_WORD", "-", "1", ")", "&", "-", "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", "1"], "File": "rs60004", "Func": "rs6000_darwin64_record_arg_advance_flush", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22109, "Length": 214, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "X86MCInstLower", "MCInstLowering", "(", "OutContext", ",", "Mang", ",", "*", "this", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "if", "(", "isVerbose", "(", ")", "&&", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "{", "std", "::", "string", "TmpStr", ";", "raw_string_ostream", "OS", "(", "TmpStr", ")", ";", "PrintDebugValueComment", "(", "MI", ",", "OS", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "StringRef", "(", "OS", ".", "str", "(", ")", ")", ")", ";", "}", "return", ";", "case", "X86", "::", "MOVPC32r", ":", "{", "MCInst", "TmpInst", ";", "MCSymbol", "*", "PICBase", "=", "MCInstLowering", ".", "GetPICBaseSymbol", "(", ")", ";", "TmpInst", ".", "setOpcode", "(", "X86", "::", "CALLpcrel32", ")", ";", "TmpInst", ".", "addOperand", "(", "MCOperand", "::", "CreateExpr", "(", "MCSymbolRefExpr", "::", "Create", "(", "PICBase", ",", "OutContext", ")", ")", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "TmpInst", ")", ";", "OutStreamer", ".", "EmitLabel", "(", "PICBase", ")", ";", "TmpInst", ".", "setOpcode", "(", "X86", "::", "POP32r", ")", ";", "TmpInst", ".", "getOperand", "(", "0", ")", "=", "MCOperand", "::", "CreateReg", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "TmpInst", ")", ";", "return", ";", "}", "case", "X86", "::", "ADD32ri", ":", "{", "if", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getTargetFlags", "(", ")", "!=", "X86II", "::", "MO_GOT_ABSOLUTE_ADDRESS", ")", "break", ";", "MCSymbol", "*", "DotSym", "=", "OutContext", ".", "CreateTempSymbol", "(", ")", ";", "OutStreamer", ".", "EmitLabel", "(", "DotSym", ")", ";", "MCSymbol", "*", "OpSym", "=", "MCInstLowering", ".", "GetSymbolFromOperand", "(", "MI", "->", "getOperand", "(", "2", ")", ")", ";", "const", "MCExpr", "*", "DotExpr", "=", "MCSymbolRefExpr", "::", "Create", "(", "DotSym", ",", "OutContext", ")", ";", "const", "MCExpr", "*", "PICBase", "=", "MCSymbolRefExpr", "::", "Create", "(", "MCInstLowering", ".", "GetPICBaseSymbol", "(", ")", ",", "OutContext", ")", ";", "DotExpr", "=", "MCBinaryExpr", "::", "CreateSub", "(", "DotExpr", ",", "PICBase", ",", "OutContext", ")", ";", "DotExpr", "=", "MCBinaryExpr", "::", "CreateAdd", "(", "MCSymbolRefExpr", "::", "Create", "(", "OpSym", ",", "OutContext", ")", ",", "DotExpr", ",", "OutContext", ")", ";", "MCInst", "TmpInst", ";", "TmpInst", ".", "setOpcode", "(", "X86", "::", "ADD32ri", ")", ";", "TmpInst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", ";", "TmpInst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ")", ";", "TmpInst", ".", "addOperand", "(", "MCOperand", "::", "CreateExpr", "(", "DotExpr", ")", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "TmpInst", ")", ";", "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": ["X86", "X86", "X86", "X86::MOVPC32r", "X86::CALLpcrel32", "X86::POP32r", "0", "0", "X86::ADD32ri", "2", "X86II::MO_GOT_ABSOLUTE_ADDRESS", "2", "X86::ADD32ri", "0", "1"], "File": "X86MCInstLower13", "Func": "EmitInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22110, "Length": 407, "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": 22111, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "TargetFrameInfo", "*", "getFrameInfo", "(", ")", "const", "{", "return", "&", "FrameInfo", ";", "}", ""], "natrual_language": ["getFrameInfo", "-", "Return", "the", "frame", "info", "object", "for", "the", "current", "function", "."], "TS_V_token": ["SystemZ"], "File": "SystemZTargetMachine12", "Func": "getFrameInfo", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22112, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_sve_expand_vector_init", "(", "rtx", "target", ",", "rtx", "vals", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "target", ")", ";", "int", "nelts", "=", "XVECLEN", "(", "vals", ",", "0", ")", ";", "rtx_vector_builder", "v", "(", "mode", ",", "nelts", ",", "1", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "nelts", ";", "i", "++", ")", "v", ".", "quick_push", "(", "XVECEXP", "(", "vals", ",", "0", ",", "i", ")", ")", ";", "v", ".", "finalize", "(", ")", ";", "if", "(", "nelts", "<", "4", "||", "!", "aarch64_sve_expand_vector_init", "(", "target", ",", "v", ",", "nelts", ",", "nelts", ")", ")", "aarch64_sve_expand_vector_init_insert_elems", "(", "target", ",", "v", ",", "nelts", ")", ";", "}", ""], "natrual_language": ["Initialize", "register", "TARGET", "from", "the", "elements", "in", "PARALLEL", "rtx", "VALS", "."], "TS_V_token": ["aarch64", "0", "1", "0", "0", "4"], "File": "aarch64", "Func": "aarch64_sve_expand_vector_init", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22113, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isShuffleMaskLegal", "(", "const", "SmallVectorImpl", "<", "int", ">", "&", "M", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "MVT", "SVT", "=", "VT", ".", "getSimpleVT", "(", ")", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "false", ";", "if", "(", "ExperimentalVectorShuffleLegality", ")", "return", "isTypeLegal", "(", "SVT", ")", ";", "if", "(", "(", "SVT", ".", "is128BitVector", "(", ")", "&&", "Subtarget", "->", "hasSSSE3", "(", ")", ")", "||", "(", "SVT", ".", "is256BitVector", "(", ")", "&&", "Subtarget", "->", "hasInt256", "(", ")", ")", ")", "{", "bool", "isLegal", "=", "true", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "M", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "M", "[", "I", "]", ">=", "(", "int", ")", "SVT", ".", "getVectorNumElements", "(", ")", "||", "ShuffleCrosses128bitLane", "(", "SVT", ",", "I", ",", "M", "[", "I", "]", ")", ")", "{", "isLegal", "=", "false", ";", "break", ";", "}", "}", "if", "(", "isLegal", ")", "return", "true", ";", "}", "return", "(", "SVT", ".", "getVectorNumElements", "(", ")", "==", "2", "||", "ShuffleVectorSDNode", "::", "isSplatMask", "(", "&", "M", "[", "0", "]", ",", "VT", ")", "||", "isMOVLMask", "(", "M", ",", "SVT", ")", "||", "isCommutedMOVLMask", "(", "M", ",", "SVT", ")", "||", "isMOVHLPSMask", "(", "M", ",", "SVT", ")", "||", "isSHUFPMask", "(", "M", ",", "SVT", ")", "||", "isSHUFPMask", "(", "M", ",", "SVT", ",", "true", ")", "||", "isPSHUFDMask", "(", "M", ",", "SVT", ")", "||", "isPSHUFDMask", "(", "M", ",", "SVT", ",", "true", ")", "||", "isPSHUFHWMask", "(", "M", ",", "SVT", ",", "Subtarget", "->", "hasInt256", "(", ")", ")", "||", "isPSHUFLWMask", "(", "M", ",", "SVT", ",", "Subtarget", "->", "hasInt256", "(", ")", ")", "||", "isPALIGNRMask", "(", "M", ",", "SVT", ",", "Subtarget", ")", "||", "isUNPCKLMask", "(", "M", ",", "SVT", ",", "Subtarget", "->", "hasInt256", "(", ")", ")", "||", "isUNPCKHMask", "(", "M", ",", "SVT", ",", "Subtarget", "->", "hasInt256", "(", ")", ")", "||", "isUNPCKL_v_undef_Mask", "(", "M", ",", "SVT", ",", "Subtarget", "->", "hasInt256", "(", ")", ")", "||", "isUNPCKH_v_undef_Mask", "(", "M", ",", "SVT", ",", "Subtarget", "->", "hasInt256", "(", ")", ")", "||", "isBlendMask", "(", "M", ",", "SVT", ",", "Subtarget", "->", "hasSSE41", "(", ")", ",", "Subtarget", "->", "hasInt256", "(", ")", ")", "||", "(", "Subtarget", "->", "hasSSE41", "(", ")", "&&", "isINSERTPSMask", "(", "M", ",", "SVT", ")", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "can", "use", "this", "to", "indicate", "that", "they", "only", "support", "some", "VECTOR_SHUFFLE", "operations", ",", "those", "with", "specific", "masks", "."], "TS_V_token": ["X86", "X86", "64", "0", "2", "0"], "File": "X86ISelLowering (2)4", "Func": "isShuffleMaskLegal", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22114, "Length": 365, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "distance_non_agu_define", "(", "unsigned", "int", "regno1", ",", "unsigned", "int", "regno2", ",", "rtx_insn", "*", "insn", ")", "{", "basic_block", "bb", "=", "BLOCK_FOR_INSN", "(", "insn", ")", ";", "int", "distance", "=", "0", ";", "bool", "found", "=", "false", ";", "if", "(", "insn", "!=", "BB_HEAD", "(", "bb", ")", ")", "distance", "=", "distance_non_agu_define_in_bb", "(", "regno1", ",", "regno2", ",", "insn", ",", "distance", ",", "PREV_INSN", "(", "insn", ")", ",", "&", "found", ")", ";", "if", "(", "!", "found", "&&", "distance", "<", "LEA_SEARCH_THRESHOLD", ")", "{", "edge", "e", ";", "edge_iterator", "ei", ";", "bool", "simple_loop", "=", "false", ";", "FOR_EACH_EDGE", "(", "e", ",", "ei", ",", "bb", "->", "preds", ")", "if", "(", "e", "->", "src", "==", "bb", ")", "{", "simple_loop", "=", "true", ";", "break", ";", "}", "if", "(", "simple_loop", ")", "distance", "=", "distance_non_agu_define_in_bb", "(", "regno1", ",", "regno2", ",", "insn", ",", "distance", ",", "BB_END", "(", "bb", ")", ",", "&", "found", ")", ";", "else", "{", "int", "shortest_dist", "=", "-", "1", ";", "bool", "found_in_bb", "=", "false", ";", "FOR_EACH_EDGE", "(", "e", ",", "ei", ",", "bb", "->", "preds", ")", "{", "int", "bb_dist", "=", "distance_non_agu_define_in_bb", "(", "regno1", ",", "regno2", ",", "insn", ",", "distance", ",", "BB_END", "(", "e", "->", "src", ")", ",", "&", "found_in_bb", ")", ";", "if", "(", "found_in_bb", ")", "{", "if", "(", "shortest_dist", "<", "0", ")", "shortest_dist", "=", "bb_dist", ";", "else", "if", "(", "bb_dist", ">", "0", ")", "shortest_dist", "=", "MIN", "(", "bb_dist", ",", "shortest_dist", ")", ";", "found", "=", "true", ";", "}", "}", "distance", "=", "shortest_dist", ";", "}", "}", "if", "(", "!", "found", ")", "return", "-", "1", ";", "return", "distance", ">>", "1", ";", "}", ""], "natrual_language": ["Search", "backward", "for", "non-agu", "definition", "of", "register", "number", "REGNO1", "or", "register", "number", "REGNO2", "in", "INSN", "'s", "basic", "block", "until", "1", ".", "Pass", "LEA_SEARCH_THRESHOLD", "instructions", ",", "or", "2", ".", "Reach", "neighbour", "BBs", "boundary", ",", "or", "3", ".", "Reach", "agu", "definition", ".", "Returns", "the", "distance", "between", "the", "non-agu", "definition", "point", "and", "INSN", ".", "If", "no", "definition", "point", ",", "returns", "-1", "."], "TS_V_token": ["i386", "0", "1", "0", "0", "1", "1"], "File": "i386", "Func": "distance_non_agu_define", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22115, "Length": 243, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isBinOp", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "case", "X86ISD", "::", "PMULUDQ", ":", "case", "X86ISD", "::", "FMAX", ":", "case", "X86ISD", "::", "FMIN", ":", "case", "X86ISD", "::", "FMAXC", ":", "case", "X86ISD", "::", "FMINC", ":", "case", "X86ISD", "::", "FAND", ":", "case", "X86ISD", "::", "FANDN", ":", "case", "X86ISD", "::", "FOR", ":", "case", "X86ISD", "::", "FXOR", ":", "return", "true", ";", "}", "return", "TargetLoweringBase", "::", "isBinOp", "(", "Opcode", ")", ";", "}", ""], "natrual_language": ["Add", "x86-specific", "opcodes", "to", "the", "default", "list", "."], "TS_V_token": ["X86", "X86", "X86ISD::PMULUDQ", "X86ISD::FMAX", "X86ISD::FMIN", "X86ISD::FMAXC", "X86ISD::FMINC", "X86ISD::FAND", "X86ISD::FANDN", "X86ISD::FOR", "X86ISD::FXOR"], "File": "X86ISelLowering158", "Func": "isBinOp", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22116, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isVectorLoadExtDesirable", "(", "SDValue", "ExtVal", ")", "const", "{", "EVT", "VT", "=", "ExtVal", ".", "getValueType", "(", ")", ";", "if", "(", "!", "isTypeLegal", "(", "VT", ")", ")", "return", "false", ";", "if", "(", "auto", "*", "Ld", "=", "dyn_cast", "<", "MaskedLoadSDNode", ">", "(", "ExtVal", ".", "getOperand", "(", "0", ")", ")", ")", "{", "if", "(", "Ld", "->", "isExpandingLoad", "(", ")", ")", "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", "::", "VSHLIMM", ")", ")", "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", "0", "ISD::ADD", "ISD::SUB", "ISD::SHL", "ARMISD::VSHLIMM"], "File": "ARMISelLowering (2)6", "Func": "isVectorLoadExtDesirable", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22117, "Length": 151, "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": 22118, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetIRAnalysis", "SystemZTargetMachine", "::", "getTargetIRAnalysis", "(", ")", "{", "return", "TargetIRAnalysis", "(", "[", "this", "]", "(", "const", "Function", "&", "F", ")", "{", "return", "TargetTransformInfo", "(", "SystemZTTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetIRAnalysis", "appropriate", "for", "the", "target", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ"], "File": "SystemZTargetMachine10", "Func": "getTargetIRAnalysis", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22119, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_print_tune_info", "(", "void", ")", "{", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\"", "ASM_COMMENT_START", "\".tune parameters\\n\"", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"constant_limit:\\t%d\\n\"", ",", "current_tune", "->", "constant_limit", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"max_insns_skipped:\\t%d\\n\"", ",", "current_tune", "->", "max_insns_skipped", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"prefetch.num_slots:\\t%d\\n\"", ",", "current_tune", "->", "prefetch", ".", "num_slots", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"prefetch.l1_cache_size:\\t%d\\n\"", ",", "current_tune", "->", "prefetch", ".", "l1_cache_size", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"prefetch.l1_cache_line_size:\\t%d\\n\"", ",", "current_tune", "->", "prefetch", ".", "l1_cache_line_size", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"prefer_constant_pool:\\t%d\\n\"", ",", "(", "int", ")", "current_tune", "->", "prefer_constant_pool", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"branch_cost:\\t(s:speed, p:predictable)\\n\"", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"\\t\\ts&p\\tcost\\n\"", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"\\t\\t00\\t%d\\n\"", ",", "current_tune", "->", "branch_cost", "(", "false", ",", "false", ")", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"\\t\\t01\\t%d\\n\"", ",", "current_tune", "->", "branch_cost", "(", "false", ",", "true", ")", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"\\t\\t10\\t%d\\n\"", ",", "current_tune", "->", "branch_cost", "(", "true", ",", "false", ")", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"\\t\\t11\\t%d\\n\"", ",", "current_tune", "->", "branch_cost", "(", "true", ",", "true", ")", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"prefer_ldrd_strd:\\t%d\\n\"", ",", "(", "int", ")", "current_tune", "->", "prefer_ldrd_strd", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"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\"", "ASM_COMMENT_START", "\"disparage_flag_setting_t16_encodings:\\t%d\\n\"", ",", "(", "int", ")", "current_tune", "->", "disparage_flag_setting_t16_encodings", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"string_ops_prefer_neon:\\t%d\\n\"", ",", "(", "int", ")", "current_tune", "->", "string_ops_prefer_neon", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"max_insns_inline_memset:\\t%d\\n\"", ",", "current_tune", "->", "max_insns_inline_memset", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"fusible_ops:\\t%u\\n\"", ",", "current_tune", "->", "fusible_ops", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\"", "ASM_COMMENT_START", "\"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\"", "\"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": "arm", "Func": "arm_print_tune_info", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22120, "Length": 306, "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": 22121, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "symbolic_reference_mentioned_p", "(", "rtx", "op", ")", "{", "const", "char", "*", "fmt", ";", "int", "i", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "op", ")", "==", "LABEL_REF", ")", "return", "true", ";", "fmt", "=", "GET_RTX_FORMAT", "(", "GET_CODE", "(", "op", ")", ")", ";", "for", "(", "i", "=", "GET_RTX_LENGTH", "(", "GET_CODE", "(", "op", ")", ")", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "if", "(", "fmt", "[", "i", "]", "==", "'E'", ")", "{", "int", "j", ";", "for", "(", "j", "=", "XVECLEN", "(", "op", ",", "i", ")", "-", "1", ";", "j", ">=", "0", ";", "j", "--", ")", "if", "(", "symbolic_reference_mentioned_p", "(", "XVECEXP", "(", "op", ",", "i", ",", "j", ")", ")", ")", "return", "true", ";", "}", "else", "if", "(", "fmt", "[", "i", "]", "==", "'e'", "&&", "symbolic_reference_mentioned_p", "(", "XEXP", "(", "op", ",", "i", ")", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "contains", "a", "symbol", "reference"], "TS_V_token": ["i386", "1", "0", "1", "0"], "File": "i386", "Func": "symbolic_reference_mentioned_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22122, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "ARM64InstrInfo", "::", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "unsigned", ">", "&", "Ops", ",", "int", "FrameIndex", ")", "const", "{", "if", "(", "MI", "->", "isCopy", "(", ")", ")", "{", "unsigned", "DstReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "unsigned", "SrcReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "if", "(", "SrcReg", "==", "ARM64", "::", "SP", "&&", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "DstReg", ")", ")", "{", "MF", ".", "getRegInfo", "(", ")", ".", "constrainRegClass", "(", "DstReg", ",", "&", "ARM64", "::", "GPR64RegClass", ")", ";", "return", "nullptr", ";", "}", "if", "(", "DstReg", "==", "ARM64", "::", "SP", "&&", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "SrcReg", ")", ")", "{", "MF", ".", "getRegInfo", "(", ")", ".", "constrainRegClass", "(", "SrcReg", ",", "&", "ARM64", "::", "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": ["ARM64", "ARM64", "0", "1", "ARM64::SP", "ARM64::GPR64RegClass", "ARM64::SP", "ARM64::GPR64RegClass"], "File": "ARM64InstrInfo", "Func": "foldMemoryOperandImpl", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22123, "Length": 141, "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": 22124, "Length": 217, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "AArch64InstrInfo", "::", "insertOutlinedCall", "(", "Module", "&", "M", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "It", ",", "MachineFunction", "&", "MF", ",", "const", "outliner", "::", "Candidate", "&", "C", ")", "const", "{", "if", "(", "C", ".", "CallConstructionID", "==", "MachineOutlinerTailCall", ")", "{", "It", "=", "MBB", ".", "insert", "(", "It", ",", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "TCRETURNdi", ")", ")", ".", "addGlobalAddress", "(", "M", ".", "getNamedValue", "(", "MF", ".", "getName", "(", ")", ")", ")", ".", "addImm", "(", "0", ")", ")", ";", "return", "It", ";", "}", "if", "(", "C", ".", "CallConstructionID", "==", "MachineOutlinerNoLRSave", "||", "C", ".", "CallConstructionID", "==", "MachineOutlinerThunk", ")", "{", "It", "=", "MBB", ".", "insert", "(", "It", ",", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "BL", ")", ")", ".", "addGlobalAddress", "(", "M", ".", "getNamedValue", "(", "MF", ".", "getName", "(", ")", ")", ")", ")", ";", "return", "It", ";", "}", "MachineBasicBlock", "::", "iterator", "CallPt", ";", "MachineInstr", "*", "Save", ";", "MachineInstr", "*", "Restore", ";", "if", "(", "C", ".", "CallConstructionID", "==", "MachineOutlinerRegSave", ")", "{", "unsigned", "Reg", "=", "findRegisterToSaveLRTo", "(", "C", ")", ";", "assert", "(", "Reg", "!=", "0", "&&", "\"No callee-saved register available?\"", ")", ";", "if", "(", "!", "MBB", ".", "isLiveIn", "(", "AArch64", "::", "LR", ")", ")", "MBB", ".", "addLiveIn", "(", "AArch64", "::", "LR", ")", ";", "Save", "=", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "ORRXrs", ")", ",", "Reg", ")", ".", "addReg", "(", "AArch64", "::", "XZR", ")", ".", "addReg", "(", "AArch64", "::", "LR", ")", ".", "addImm", "(", "0", ")", ";", "Restore", "=", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "ORRXrs", ")", ",", "AArch64", "::", "LR", ")", ".", "addReg", "(", "AArch64", "::", "XZR", ")", ".", "addReg", "(", "Reg", ")", ".", "addImm", "(", "0", ")", ";", "}", "else", "{", "Save", "=", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "STRXpre", ")", ")", ".", "addReg", "(", "AArch64", "::", "SP", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "AArch64", "::", "LR", ")", ".", "addReg", "(", "AArch64", "::", "SP", ")", ".", "addImm", "(", "-", "16", ")", ";", "Restore", "=", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "LDRXpost", ")", ")", ".", "addReg", "(", "AArch64", "::", "SP", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "AArch64", "::", "LR", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "AArch64", "::", "SP", ")", ".", "addImm", "(", "16", ")", ";", "}", "It", "=", "MBB", ".", "insert", "(", "It", ",", "Save", ")", ";", "It", "++", ";", "It", "=", "MBB", ".", "insert", "(", "It", ",", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "AArch64", "::", "BL", ")", ")", ".", "addGlobalAddress", "(", "M", ".", "getNamedValue", "(", "MF", ".", "getName", "(", ")", ")", ")", ")", ";", "CallPt", "=", "It", ";", "It", "++", ";", "It", "=", "MBB", ".", "insert", "(", "It", ",", "Restore", ")", ";", "return", "CallPt", ";", "}", ""], "natrual_language": ["Insert", "a", "call", "to", "an", "outlined", "function", "into", "the", "program", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::TCRETURNdi", "0", "AArch64::BL", "0", "\"No callee-saved register available?\"", "AArch64::LR", "AArch64::LR", "AArch64::ORRXrs", "AArch64::XZR", "AArch64::LR", "0", "AArch64::ORRXrs", "AArch64::LR", "AArch64::XZR", "0", "AArch64::STRXpre", "AArch64::SP", "AArch64::LR", "AArch64::SP", "16", "AArch64::LDRXpost", "AArch64::SP", "AArch64::LR", "AArch64::SP", "16", "AArch64::BL"], "File": "AArch64InstrInfo105", "Func": "insertOutlinedCall", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22125, "Length": 467, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasAndNot", "(", "SDValue", "Y", ")", "const", "override", "{", "EVT", "VT", "=", "Y", ".", "getValueType", "(", ")", ";", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "hasAndNotCompare", "(", "Y", ")", ";", "TypeSize", "TS", "=", "VT", ".", "getSizeInBits", "(", ")", ";", "return", "!", "TS", ".", "isScalable", "(", ")", "&&", "TS", ".", "getFixedValue", "(", ")", ">=", "64", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "has", "a", "bitwise", "and-not", "operation", ":", "X", "=", "~A", "&", "B", "This", "can", "be", "used", "to", "simplify", "select", "or", "other", "instructions", "."], "TS_V_token": ["AArch64", "64"], "File": "AArch64ISelLowering (2)1", "Func": "hasAndNot", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22126, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMELFStreamer", "::", "EmitRegSave", "(", "const", "SmallVectorImpl", "<", "unsigned", ">", "&", "RegList", ",", "bool", "IsVector", ")", "{", "}", ""], "natrual_language": ["Emit", "unwind", "opcodes", "for", ".save", "directives", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMELFStreamer1", "Func": "EmitRegSave", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22127, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalMaskedCompressStore", "(", "Type", "*", "DataTy", ")", "{", "return", "isLegalMaskedExpandLoad", "(", "DataTy", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "compress", "store", "."], "TS_V_token": ["X86", "X86"], "File": "X86TargetTransformInfo (2)1", "Func": "isLegalMaskedCompressStore", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22128, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "F2003fFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "F2003fInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "F2003fInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "StackSize", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "F2003f", "::", "ATAri", ")", ",", "F2003f", "::", "F5", ")", ".", "addReg", "(", "F2003f", "::", "F5", ")", ".", "addImm", "(", "StackSize", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["F2003f", "F2003f", "F2003f", "F2003f", "F2003f::ATAri", "F2003f::F5", "F2003f::F5"], "File": "F2003fFrameLowering", "Func": "emitEpilogue", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22129, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSETargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", ",", "unsigned", ",", "MachineMemOperand", "::", "Flags", ",", "bool", "*", "Fast", ")", "const", "{", "MVT", "::", "SimpleValueType", "SVT", "=", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ";", "if", "(", "Subtarget", ".", "systemSupportsUnalignedAccess", "(", ")", ")", "{", "if", "(", "Fast", ")", "*", "Fast", "=", "true", ";", "return", "true", ";", "}", "switch", "(", "SVT", ")", "{", "case", "MVT", "::", "i64", ":", "case", "MVT", "::", "i32", ":", "if", "(", "Fast", ")", "*", "Fast", "=", "true", ";", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["Mips", "Mips", "MVT::SimpleValueType", "MVT::i64", "MVT::i32"], "File": "MipsSEISelLowering32", "Func": "allowsMisalignedMemoryAccesses", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22130, "Length": 91, "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", ")", ";", "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", "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", ",", "buffer", ")", ";", "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", ")", ";", "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", "\"svbfloat16x4_t\"", "\"%.*sx%d_t\"", "2", "0", "128", "\"__val\"", "0", "128", "1"], "File": "aarch64-sve-builtins1", "Func": "register_tuple_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22131, "Length": 262, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCDispatchGroupSBHazardRecognizer", "::", "ShouldPreferAnother", "(", "SUnit", "*", "SU", ")", "{", "const", "MCInstrDesc", "*", "MCID", "=", "DAG", "->", "getInstrDesc", "(", "SU", ")", ";", "unsigned", "NSlots", ";", "if", "(", "MCID", "&&", "mustComeFirst", "(", "MCID", ",", "NSlots", ")", "&&", "CurSlots", ")", "return", "true", ";", "return", "ScoreboardHazardRecognizer", "::", "ShouldPreferAnother", "(", "SU", ")", ";", "}", ""], "natrual_language": ["ShouldPreferAnother", "-", "This", "callback", "may", "be", "invoked", "if", "getHazardType", "returns", "NoHazard", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCHazardRecognizers", "Func": "ShouldPreferAnother", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22132, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_sim_wait_units", "(", "struct", "mips_sim", "*", "state", ",", "rtx_insn", "*", "insn", ")", "{", "state_t", "tmp_state", ";", "tmp_state", "=", "alloca", "(", "state_size", "(", ")", ")", ";", "while", "(", "state", "->", "insns_left", "==", "0", "||", "(", "memcpy", "(", "tmp_state", ",", "state", "->", "dfa_state", ",", "state_size", "(", ")", ")", ",", "state_transition", "(", "tmp_state", ",", "insn", ")", ">=", "0", ")", ")", "mips_sim_next_cycle", "(", "state", ")", ";", "}", ""], "natrual_language": ["Advance", "simulation", "state", "STATE", "until", "the", "units", "required", "by", "instruction", "INSN", "are", "available", "."], "TS_V_token": ["mips", "0", "0"], "File": "mips", "Func": "mips_sim_wait_units", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22133, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_expand_sve_mem_move", "(", "rtx", "dest", ",", "rtx", "src", ",", "machine_mode", "pred_mode", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "rtx", "ptrue", "=", "aarch64_ptrue_reg", "(", "pred_mode", ")", ";", "if", "(", "!", "register_operand", "(", "src", ",", "mode", ")", "&&", "!", "register_operand", "(", "dest", ",", "mode", ")", ")", "{", "rtx", "tmp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "if", "(", "MEM_P", "(", "src", ")", ")", "aarch64_emit_sve_pred_move", "(", "tmp", ",", "ptrue", ",", "src", ")", ";", "else", "emit_move_insn", "(", "tmp", ",", "src", ")", ";", "src", "=", "tmp", ";", "}", "aarch64_emit_sve_pred_move", "(", "dest", ",", "ptrue", ",", "src", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "pre-RA", "SVE", "data", "move", "from", "SRC", "to", "DEST", "in", "which", "at", "least", "one", "operand", "is", "in", "memory", ".", "In", "this", "case", "we", "need", "to", "use", "the", "predicated", "LD1", "and", "ST1", "instead", "of", "LDR", "and", "STR", ",", "both", "for", "correctness", "on", "big-endian", "targets", "and", "because", "LD1", "and", "ST1", "support", "a", "wider", "range", "of", "addressing", "modes", ".", "PRED_MODE", "is", "the", "mode", "of", "the", "predicate", ".", "See", "the", "comment", "at", "the", "head", "of", "aarch64-sve.md", "for", "details", "about", "the", "big-endian", "handling", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_expand_sve_mem_move", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22134, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSEInstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", "->", "getParent", "(", ")", ";", "bool", "isMicroMips", "=", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ".", "inMicroMipsMode", "(", ")", ";", "unsigned", "Opc", ";", "switch", "(", "MI", "->", "getDesc", "(", ")", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Mips", "::", "RetRA", ":", "expandRetRA", "(", "MBB", ",", "MI", ",", "Mips", "::", "RET", ")", ";", "break", ";", "case", "Mips", "::", "PseudoMFHI", ":", "Opc", "=", "isMicroMips", "?", "Mips", "::", "MFHI16_MM", ":", "Mips", "::", "MFHI", ";", "expandPseudoMFHiLo", "(", "MBB", ",", "MI", ",", "Opc", ")", ";", "break", ";", "case", "Mips", "::", "PseudoMFLO", ":", "Opc", "=", "isMicroMips", "?", "Mips", "::", "MFLO16_MM", ":", "Mips", "::", "MFLO", ";", "expandPseudoMFHiLo", "(", "MBB", ",", "MI", ",", "Opc", ")", ";", "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", ":", "expandCvtFPInt", "(", "MBB", ",", "MI", ",", "Mips", "::", "CVT_D32_W", ",", "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", ":", "expandCvtFPInt", "(", "MBB", ",", "MI", ",", "Mips", "::", "CVT_D64_W", ",", "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", ",", "false", ")", ";", "break", ";", "case", "Mips", "::", "BuildPairF64_64", ":", "expandBuildPairF64", "(", "MBB", ",", "MI", ",", "true", ")", ";", "break", ";", "case", "Mips", "::", "ExtractElementF64", ":", "expandExtractElementF64", "(", "MBB", ",", "MI", ",", "false", ")", ";", "break", ";", "case", "Mips", "::", "ExtractElementF64_64", ":", "expandExtractElementF64", "(", "MBB", ",", "MI", ",", "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", "Mips::RetRA", "Mips::RET", "Mips::PseudoMFHI", "Mips", "Mips::MFHI16_MM", "Mips::MFHI", "Mips::PseudoMFLO", "Mips", "Mips::MFLO16_MM", "Mips::MFLO", "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::CVT_D32_W", "Mips::MTC1", "Mips::PseudoCVT_S_L", "Mips::CVT_S_L", "Mips::DMTC1", "Mips::PseudoCVT_D64_W", "Mips::CVT_D64_W", "Mips::MTC1", "Mips::PseudoCVT_D64_L", "Mips::CVT_D64_L", "Mips::DMTC1", "Mips::BuildPairF64", "Mips::BuildPairF64_64", "Mips::ExtractElementF64", "Mips::ExtractElementF64_64", "Mips::MIPSeh_return32", "Mips::MIPSeh_return64"], "File": "MipsSEInstrInfo27", "Func": "expandPostRAPseudo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22135, "Length": 457, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Inserter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "int", "FI", "=", "F", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", "->", "getGPFI", "(", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "MFI", "=", "F", ".", "begin", "(", ")", ",", "MFE", "=", "F", ".", "end", "(", ")", ";", "MFI", "!=", "MFE", ";", "++", "MFI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MFI", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MFI", "->", "begin", "(", ")", ";", "if", "(", "MBB", ".", "isLandingPad", "(", ")", ")", "{", "for", "(", ";", "I", "->", "getOpcode", "(", ")", "!=", "TargetOpcode", "::", "EH_LABEL", ";", "++", "I", ")", ";", "++", "I", ";", "DebugLoc", "dl", "=", "I", "!=", "MBB", ".", "end", "(", ")", "?", "I", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "TII", "->", "get", "(", "Mips", "::", "LW", ")", ",", "Mips", "::", "GP", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "Changed", "=", "true", ";", "}", "while", "(", "I", "!=", "MFI", "->", "end", "(", ")", ")", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "Mips", "::", "JALR", ")", "{", "++", "I", ";", "continue", ";", "}", "DebugLoc", "dl", "=", "I", "->", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "++", "I", ",", "dl", ",", "TII", "->", "get", "(", "Mips", "::", "LW", ")", ",", "Mips", "::", "GP", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "Changed", "=", "true", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips::LW", "Mips::GP", "0", "Mips::JALR", "Mips::LW", "Mips::GP", "0"], "File": "MipsEmitGPRestore1", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22136, "Length": 262, "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": 22137, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "xstormy16_asm_init_sections", "(", "void", ")", "{", "bss100_section", "=", "get_unnamed_section", "(", "SECTION_WRITE", "|", "SECTION_BSS", ",", "output_section_asm_op", ",", "\"\\t.section \\\".bss_below100\\\",\\\"aw\\\",@nobits\"", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_INIT_SECTIONS", "."], "TS_V_token": ["stormy16", "\"\\t.section \\\".bss_below100\\\",\\\"aw\\\",@nobits\""], "File": "stormy16", "Func": "xstormy16_asm_init_sections", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22138, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "stackAlignment", "(", ")", "const", "{", "return", "8", ";", "}", ""], "natrual_language": ["The", "minimum", "alignment", "known", "to", "hold", "of", "the", "stack", "frame", "on", "entry", "to", "the", "function", "and", "which", "must", "be", "maintained", "by", "every", "function", "."], "TS_V_token": ["SIC", "8"], "File": "SICSubtarget", "Func": "stackAlignment", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22139, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86IndirectBranchTrackingPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "X86Subtarget", "&", "SubTarget", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "SubTarget", ".", "hasIBT", "(", ")", ")", "return", "false", ";", "Metadata", "*", "isCFProtectionSupported", "=", "MF", ".", "getMMI", "(", ")", ".", "getModule", "(", ")", "->", "getModuleFlag", "(", "\"cf-protection-branch\"", ")", ";", "if", "(", "!", "isCFProtectionSupported", "&&", "!", "IndirectBranchTracking", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "TII", "=", "SubTarget", ".", "getInstrInfo", "(", ")", ";", "EndbrOpcode", "=", "SubTarget", ".", "is64Bit", "(", ")", "?", "X86", "::", "ENDBR64", ":", "X86", "::", "ENDBR32", ";", "if", "(", "(", "MF", ".", "getFunction", "(", ")", ".", "hasAddressTaken", "(", ")", "||", "!", "MF", ".", "getFunction", "(", ")", ".", "hasLocalLinkage", "(", ")", ")", "&&", "!", "MF", ".", "getFunction", "(", ")", ".", "doesNoCfCheck", "(", ")", ")", "{", "auto", "MBB", "=", "MF", ".", "begin", "(", ")", ";", "Changed", "|=", "addENDBR", "(", "*", "MBB", ")", ";", "}", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "if", "(", "MBB", ".", "hasAddressTaken", "(", ")", ")", "Changed", "|=", "addENDBR", "(", "MBB", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "\"cf-protection-branch\"", "X86::ENDBR64", "X86::ENDBR32"], "File": "X86IndirectBranchTracking13", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22140, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "loongarch_cannot_force_const_mem", "(", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "enum", "loongarch_symbol_type", "type", ";", "rtx", "base", ",", "offset", ";", "if", "(", "CONST_INT_P", "(", "x", ")", "&&", "loongarch_legitimate_constant_p", "(", "mode", ",", "x", ")", ")", "return", "true", ";", "split_const", "(", "x", ",", "&", "base", ",", "&", "offset", ")", ";", "if", "(", "loongarch_symbolic_constant_p", "(", "base", ",", "&", "type", ")", ")", "{", "if", "(", "IMM12_INT", "(", "offset", ")", "&&", "loongarch_symbol_insns", "(", "type", ",", "MAX_MACHINE_MODE", ")", ">", "0", ")", "return", "true", ";", "}", "if", "(", "tls_referenced_p", "(", "x", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CANNOT_FORCE_CONST_MEM", "."], "TS_V_token": ["loongarch", "0"], "File": "loongarch", "Func": "loongarch_cannot_force_const_mem", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22141, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "LC2200TargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "LC2200PassConfig", "(", "*", "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": ["LC2200", "LC2200", "LC2200"], "File": "LC2200TargetMachine", "Func": "createPassConfig", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22142, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "AArch64InstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64Subtarget1", "Func": "getInstrInfo", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22143, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_expand_fp_movcc", "(", "rtx", "operands", "[", "]", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "operands", "[", "1", "]", ")", ";", "rtx", "tmp", ",", "compare_op", ";", "rtx", "op0", "=", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ";", "rtx", "op1", "=", "XEXP", "(", "operands", "[", "1", "]", ",", "1", ")", ";", "if", "(", "GET_MODE", "(", "op0", ")", "==", "BFmode", "&&", "!", "ix86_fp_comparison_operator", "(", "operands", "[", "1", "]", ",", "VOIDmode", ")", ")", "return", "false", ";", "if", "(", "SSE_FLOAT_MODE_SSEMATH_OR_HF_P", "(", "mode", ")", ")", "{", "machine_mode", "cmode", ";", "cmode", "=", "GET_MODE", "(", "op0", ")", ";", "if", "(", "cmode", "==", "VOIDmode", ")", "cmode", "=", "GET_MODE", "(", "op1", ")", ";", "if", "(", "cmode", "!=", "mode", ")", "return", "false", ";", "code", "=", "ix86_prepare_sse_fp_compare_args", "(", "operands", "[", "0", "]", ",", "code", ",", "&", "op0", ",", "&", "op1", ")", ";", "if", "(", "code", "==", "UNKNOWN", ")", "return", "false", ";", "if", "(", "ix86_expand_sse_fp_minmax", "(", "operands", "[", "0", "]", ",", "code", ",", "op0", ",", "op1", ",", "operands", "[", "2", "]", ",", "operands", "[", "3", "]", ")", ")", "return", "true", ";", "tmp", "=", "ix86_expand_sse_cmp", "(", "operands", "[", "0", "]", ",", "code", ",", "op0", ",", "op1", ",", "operands", "[", "2", "]", ",", "operands", "[", "3", "]", ")", ";", "ix86_expand_sse_movcc", "(", "operands", "[", "0", "]", ",", "tmp", ",", "operands", "[", "2", "]", ",", "operands", "[", "3", "]", ")", ";", "return", "true", ";", "}", "if", "(", "GET_MODE", "(", "op0", ")", "==", "TImode", "||", "(", "GET_MODE", "(", "op0", ")", "==", "DImode", "&&", "!", "TARGET_64BIT", ")", ")", "return", "false", ";", "compare_op", "=", "ix86_expand_compare", "(", "code", ",", "op0", ",", "op1", ")", ";", "if", "(", "!", "fcmov_comparison_operator", "(", "compare_op", ",", "VOIDmode", ")", ")", "{", "tmp", "=", "gen_reg_rtx", "(", "QImode", ")", ";", "ix86_expand_setcc", "(", "tmp", ",", "code", ",", "op0", ",", "op1", ")", ";", "compare_op", "=", "ix86_expand_compare", "(", "NE", ",", "tmp", ",", "const0_rtx", ")", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "operands", "[", "0", "]", ",", "gen_rtx_IF_THEN_ELSE", "(", "mode", ",", "compare_op", ",", "operands", "[", "2", "]", ",", "operands", "[", "3", "]", ")", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Expand", "a", "floating-point", "conditional", "move", ".", "Return", "true", "if", "successful", "."], "TS_V_token": ["i386", "0", "1", "1", "0", "1", "1", "1", "0", "0", "2", "3", "0", "2", "3", "0", "2", "3", "0", "2", "3"], "File": "i386-expand1", "Func": "ix86_expand_fp_movcc", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22144, "Length": 340, "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", "{", "const", "ARMSubtarget", "&", "Subtarget", "=", "DAG", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "if", "(", "!", "Subtarget", ".", "isAAPCS_ABI", "(", ")", "||", "Subtarget", ".", "isTargetMachO", "(", ")", "||", "Subtarget", ".", "isTargetWindows", "(", ")", ")", "return", "SDValue", "(", ")", ";", "const", "ARMTargetLowering", "&", "TLI", "=", "*", "DAG", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "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", "(", "DAG", ")", ";", "CLI", ".", "setDebugLoc", "(", "dl", ")", ".", "setChain", "(", "Chain", ")", ".", "setCallee", "(", "TLI", ".", "getLibcallCallingConv", "(", "RTLIB", "::", "MEMSET", ")", ",", "Type", "::", "getVoidTy", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ",", "DAG", ".", "getExternalSymbol", "(", "TLI", ".", "getLibcallName", "(", "RTLIB", "::", "MEMSET", ")", ",", "TLI", ".", "getPointerTy", "(", ")", ")", ",", "std", "::", "move", "(", "Args", ")", ",", "0", ")", ".", "setDiscardResult", "(", ")", ";", "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", "ARM", "MVT::i32", "ISD::TRUNCATE", "MVT::i32", "ISD::ZERO_EXTEND", "MVT::i32", "0"], "File": "ARMSelectionDAGInfo39", "Func": "EmitTargetCodeForMemset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22145, "Length": 365, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64ConditionalCompares", "::", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineLoopInfo", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineLoopInfo", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineTraceMetrics", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineTraceMetrics", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ConditionalCompares13", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22146, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "nds32_asm_file_end_for_isr", "(", "void", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "NDS32_N_ISR_VECTORS", ";", "i", "++", ")", "if", "(", "nds32_isr_vectors", "[", "i", "]", ".", "category", "!=", "NDS32_ISR_NONE", ")", "break", ";", "if", "(", "i", "==", "NDS32_N_ISR_VECTORS", ")", "return", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t! ------------------------------------\\n\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t! The isr vector information:\\n\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t! ------------------------------------\\n\"", ")", ";", "if", "(", "nds32_isr_vectors", "[", "0", "]", ".", "category", "==", "NDS32_ISR_RESET", ")", "{", "nds32_emit_isr_reset_content", "(", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t! ------------------------------------\\n\"", ")", ";", "}", "for", "(", "i", "=", "1", ";", "i", "<", "NDS32_N_ISR_VECTORS", ";", "i", "++", ")", "{", "if", "(", "nds32_isr_vectors", "[", "i", "]", ".", "category", "==", "NDS32_ISR_INTERRUPT", "||", "nds32_isr_vectors", "[", "i", "]", ".", "category", "==", "NDS32_ISR_EXCEPTION", ")", "{", "fprintf", "(", "asm_out_file", ",", "\"\\t! interrupt/exception vector %02d\\n\"", ",", "i", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t! security level: %d\\n\"", ",", "nds32_isr_vectors", "[", "i", "]", ".", "security_level", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t! ------------------------------------\\n\"", ")", ";", "nds32_emit_isr_jmptbl_section", "(", "i", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t! ....................................\\n\"", ")", ";", "nds32_emit_isr_vector_section", "(", "i", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t! ------------------------------------\\n\"", ")", ";", "}", "}", "}", ""], "natrual_language": ["A", "helper", "function", "to", "handle", "isr", "stuff", "at", "the", "end", "of", "asm", "file", "."], "TS_V_token": ["nds32", "0", "\"\\t! ------------------------------------\\n\"", "\"\\t! The isr vector information:\\n\"", "\"\\t! ------------------------------------\\n\"", "0", "\"\\t! ------------------------------------\\n\"", "1", "\"\\t! interrupt/exception vector %02d\\n\"", "\"\\t! security level: %d\\n\"", "\"\\t! ------------------------------------\\n\"", "\"\\t! ....................................\\n\"", "\"\\t! ------------------------------------\\n\""], "File": "nds32-isr", "Func": "nds32_asm_file_end_for_isr", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22147, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64WinCOFFObjectWriter", "::", "recordRelocation", "(", "const", "MCFixup", "&", "Fixup", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Record", "a", "relocation", "entry", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64WinCOFFObjectWriter", "Func": "recordRelocation", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22148, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "Comet2Subtarget", "*", "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": ["Comet2", "Comet2"], "File": "Comet2TargetMachine", "Func": "getSubtargetImpl", "Target": "Comet2", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22149, "Length": 17, "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", "&&", "Directive", "!=", "PPC", "::", "DIR_E500mc", "&&", "Directive", "!=", "PPC", "::", "DIR_E5500", ")", "{", "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", "PPC::DIR_E500mc", "PPC::DIR_E5500", "\"No InstrInfo?\"", "PPC", "PPC"], "File": "PPCInstrInfo121", "Func": "CreateTargetPostRAHazardRecognizer", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22150, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "sh_extending_set_of_reg", "::", "use_as_extended_reg", "(", "rtx_insn", "*", "use_at_insn", ")", "const", "{", "gcc_assert", "(", "insn", "!=", "NULL", "&&", "set_src", "!=", "NULL", "&&", "set_rtx", "!=", "NULL", ")", ";", "gcc_assert", "(", "ext_code", "==", "SIGN_EXTEND", "||", "ext_code", "==", "ZERO_EXTEND", ")", ";", "gcc_assert", "(", "from_mode", "==", "QImode", "||", "from_mode", "==", "HImode", ")", ";", "if", "(", "MEM_P", "(", "set_src", ")", "&&", "ext_code", "==", "SIGN_EXTEND", ")", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"use_as_extended_reg: converting non-extending mem load in \"", "\"insn %d into sign-extending load\\n\"", ",", "INSN_UID", "(", "insn", ")", ")", ";", "rtx", "r", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx_insn", "*", "i0", ";", "if", "(", "from_mode", "==", "QImode", ")", "i0", "=", "emit_insn_after", "(", "gen_extendqisi2", "(", "r", ",", "set_src", ")", ",", "insn", ")", ";", "else", "if", "(", "from_mode", "==", "HImode", ")", "i0", "=", "emit_insn_after", "(", "gen_extendhisi2", "(", "r", ",", "set_src", ")", ",", "insn", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "emit_insn_after", "(", "gen_move_insn", "(", "XEXP", "(", "set_rtx", ",", "0", ")", ",", "gen_lowpart", "(", "GET_MODE", "(", "set_src", ")", ",", "r", ")", ")", ",", "i0", ")", ";", "set_insn_deleted", "(", "insn", ")", ";", "return", "r", ";", "}", "else", "{", "rtx", "extension_dst", "=", "XEXP", "(", "set_rtx", ",", "0", ")", ";", "if", "(", "GET_MODE", "(", "extension_dst", ")", "!=", "SImode", ")", "extension_dst", "=", "simplify_gen_subreg", "(", "SImode", ",", "extension_dst", ",", "GET_MODE", "(", "extension_dst", ")", ",", "0", ")", ";", "if", "(", "modified_between_p", "(", "extension_dst", ",", "insn", ",", "use_at_insn", ")", ")", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"use_as_extended_reg: dest reg %d of extending insn %d is \"", "\"modified, inserting a reg-reg copy\\n\"", ",", "REGNO", "(", "extension_dst", ")", ",", "INSN_UID", "(", "insn", ")", ")", ";", "rtx", "r", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn_after", "(", "gen_move_insn", "(", "r", ",", "extension_dst", ")", ",", "insn", ")", ";", "return", "r", ";", "}", "else", "{", "sh_remove_reg_dead_or_unused_notes", "(", "insn", ",", "REGNO", "(", "extension_dst", ")", ")", ";", "return", "extension_dst", ";", "}", "}", "}", ""], "natrual_language": ["Given", "a", "reg", "that", "is", "known", "to", "be", "sign", "or", "zero", "extended", "at", "some", "insn", ",", "take", "the", "appropriate", "measures", "so", "that", "the", "extended", "value", "can", "be", "used", "as", "a", "reg", "at", "the", "specified", "insn", "and", "return", "the", "resulting", "reg", "rtx", "."], "TS_V_token": ["sh", "\"use_as_extended_reg: converting non-extending mem load in \"", "\"insn %d into sign-extending load\\n\"", "0", "0", "0", "\"use_as_extended_reg: dest reg %d of extending insn %d is \"", "\"modified, inserting a reg-reg copy\\n\""], "File": "sh5", "Func": "use_as_extended_reg", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22151, "Length": 282, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "rs6000_xcoff_visibility", "(", "tree", "decl", ")", "{", "static", "const", "char", "*", "const", "visibility_types", "[", "]", "=", "{", "\"\"", ",", "\",protected\"", ",", "\",hidden\"", ",", "\",internal\"", "}", ";", "enum", "symbol_visibility", "vis", "=", "DECL_VISIBILITY", "(", "decl", ")", ";", "if", "(", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", "&&", "cgraph_node", "::", "get", "(", "decl", ")", "&&", "cgraph_node", "::", "get", "(", "decl", ")", "->", "instrumentation_clone", "&&", "cgraph_node", "::", "get", "(", "decl", ")", "->", "instrumented_version", ")", "vis", "=", "DECL_VISIBILITY", "(", "cgraph_node", "::", "get", "(", "decl", ")", "->", "instrumented_version", "->", "decl", ")", ";", "return", "visibility_types", "[", "vis", "]", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "calculate", "visibility", "of", "a", "DECL", "and", "return", "the", "value", "as", "a", "const", "string", "."], "TS_V_token": ["rs6000", "\"\"", "\",protected\"", "\",hidden\"", "\",internal\""], "File": "rs60006", "Func": "rs6000_xcoff_visibility", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22152, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "getExtractSubregLikeInputs", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "DefIdx", ",", "RegSubRegPairAndIdx", "&", "InputReg", ")", "const", "{", "assert", "(", "DefIdx", "<", "MI", ".", "getDesc", "(", ")", ".", "getNumDefs", "(", ")", "&&", "\"Invalid definition index\"", ")", ";", "assert", "(", "MI", ".", "isExtractSubregLike", "(", ")", "&&", "\"Invalid kind of instruction\"", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "ARM", "::", "VMOVRRD", ":", "const", "MachineOperand", "&", "MOReg", "=", "MI", ".", "getOperand", "(", "2", ")", ";", "InputReg", ".", "Reg", "=", "MOReg", ".", "getReg", "(", ")", ";", "InputReg", ".", "SubReg", "=", "MOReg", ".", "getSubReg", "(", ")", ";", "InputReg", ".", "SubIdx", "=", "DefIdx", "==", "0", "?", "ARM", "::", "ssub_0", ":", "ARM", "::", "ssub_1", ";", "return", "true", ";", "}", "llvm_unreachable", "(", "\"Target dependent opcode missing\"", ")", ";", "}", ""], "natrual_language": ["Target-dependent", "implementation", "of", "getExtractSubregInputs", "."], "TS_V_token": ["ARM", "ARM", "\"Invalid definition index\"", "\"Invalid kind of instruction\"", "ARM::VMOVRRD", "2", "0", "ARM::ssub_0", "ARM::ssub_1", "\"Target dependent opcode missing\""], "File": "ARMBaseInstrInfo (2)2", "Func": "getExtractSubregLikeInputs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22153, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_expand_fp_movcc", "(", "rtx", "operands", "[", "]", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "operands", "[", "1", "]", ")", ";", "rtx", "tmp", ",", "compare_op", ";", "rtx", "op0", "=", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ";", "rtx", "op1", "=", "XEXP", "(", "operands", "[", "1", "]", ",", "1", ")", ";", "if", "(", "SSE_FLOAT_MODE_SSEMATH_OR_HF_P", "(", "mode", ")", ")", "{", "machine_mode", "cmode", ";", "cmode", "=", "GET_MODE", "(", "op0", ")", ";", "if", "(", "cmode", "==", "VOIDmode", ")", "cmode", "=", "GET_MODE", "(", "op1", ")", ";", "if", "(", "cmode", "!=", "mode", ")", "return", "false", ";", "code", "=", "ix86_prepare_sse_fp_compare_args", "(", "operands", "[", "0", "]", ",", "code", ",", "&", "op0", ",", "&", "op1", ")", ";", "if", "(", "code", "==", "UNKNOWN", ")", "return", "false", ";", "if", "(", "ix86_expand_sse_fp_minmax", "(", "operands", "[", "0", "]", ",", "code", ",", "op0", ",", "op1", ",", "operands", "[", "2", "]", ",", "operands", "[", "3", "]", ")", ")", "return", "true", ";", "tmp", "=", "ix86_expand_sse_cmp", "(", "operands", "[", "0", "]", ",", "code", ",", "op0", ",", "op1", ",", "operands", "[", "2", "]", ",", "operands", "[", "3", "]", ")", ";", "ix86_expand_sse_movcc", "(", "operands", "[", "0", "]", ",", "tmp", ",", "operands", "[", "2", "]", ",", "operands", "[", "3", "]", ")", ";", "return", "true", ";", "}", "if", "(", "GET_MODE", "(", "op0", ")", "==", "TImode", "||", "(", "GET_MODE", "(", "op0", ")", "==", "DImode", "&&", "!", "TARGET_64BIT", ")", ")", "return", "false", ";", "compare_op", "=", "ix86_expand_compare", "(", "code", ",", "op0", ",", "op1", ")", ";", "if", "(", "!", "fcmov_comparison_operator", "(", "compare_op", ",", "VOIDmode", ")", ")", "{", "tmp", "=", "gen_reg_rtx", "(", "QImode", ")", ";", "ix86_expand_setcc", "(", "tmp", ",", "code", ",", "op0", ",", "op1", ")", ";", "compare_op", "=", "ix86_expand_compare", "(", "NE", ",", "tmp", ",", "const0_rtx", ")", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "operands", "[", "0", "]", ",", "gen_rtx_IF_THEN_ELSE", "(", "mode", ",", "compare_op", ",", "operands", "[", "2", "]", ",", "operands", "[", "3", "]", ")", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Expand", "a", "floating-point", "conditional", "move", ".", "Return", "true", "if", "successful", "."], "TS_V_token": ["i386", "0", "1", "1", "0", "1", "1", "0", "0", "2", "3", "0", "2", "3", "0", "2", "3", "0", "2", "3"], "File": "i386-expand", "Func": "ix86_expand_fp_movcc", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22154, "Length": 317, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "loongarch_sign_extend_cost", "(", "rtx", "op", ")", "{", "if", "(", "MEM_P", "(", "op", ")", ")", "return", "0", ";", "return", "COSTS_N_INSNS", "(", "1", ")", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "sign-extending", "OP", "to", "mode", "MODE", ",", "not", "including", "the", "cost", "of", "OP", "itself", "."], "TS_V_token": ["loongarch", "0", "1"], "File": "loongarch", "Func": "loongarch_sign_extend_cost", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22155, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64RegisterInfo", "::", "useFPForScavengingIndex", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "MFI", ".", "hasVarSizedObjects", "(", ")", "&&", "!", "hasBasePointer", "(", "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"], "File": "AArch64RegisterInfo15", "Func": "useFPForScavengingIndex", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22156, "Length": 37, "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": 22157, "Length": 106, "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", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "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": "X86TargetMachine111", "Func": "X86TargetMachine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22158, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "KudeyarTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "SIGN_EXTEND", ":", "return", "LowerSIGN_EXTEND", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ExternalSymbol", ":", "return", "LowerExternalSymbol", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "LowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "JumpTable", ":", "return", "LowerJumpTable", "(", "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", ")", ";", "default", ":", "break", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Kudeyar", "Kudeyar", "ISD::SIGN_EXTEND", "ISD::GlobalAddress", "ISD::ExternalSymbol", "ISD::BlockAddress", "ISD::JumpTable", "ISD::SETCC", "ISD::BR_CC", "ISD::SELECT_CC"], "File": "KudeyarISelLowering", "Func": "LowerOperation", "Target": "Kudeyar", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22159, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "MVT", "getShiftAmountTy", "(", "EVT", "LHSTy", ")", "const", "{", "return", "MVT", "::", "i32", ";", "}", ""], "natrual_language": ["Returns", "the", "type", "for", "the", "shift", "amount", "of", "a", "shift", "opcode", "."], "TS_V_token": ["Mips", "MVT::i32"], "File": "MipsISelLowering15", "Func": "getShiftAmountTy", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22160, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SHUXIInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "if", "(", "SHUXI", "::", "GPRegsRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SHUXI", "::", "CPYrr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", "else", "{", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "}", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["SHUXI", "SHUXI", "SHUXI::GPRegsRegClass", "SHUXI::CPYrr", "\"Impossible reg-to-reg copy\""], "File": "SHUXIInstrInfo", "Func": "copyPhysReg", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22161, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "altivec_expand_vec_perm_le", "(", "rtx", "operands", "[", "4", "]", ")", "{", "rtx", "notx", ",", "iorx", ",", "unspec", ";", "rtx", "target", "=", "operands", "[", "0", "]", ";", "rtx", "op0", "=", "operands", "[", "1", "]", ";", "rtx", "op1", "=", "operands", "[", "2", "]", ";", "rtx", "sel", "=", "operands", "[", "3", "]", ";", "rtx", "tmp", "=", "target", ";", "rtx", "norreg", "=", "gen_reg_rtx", "(", "V16QImode", ")", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "target", ")", ";", "if", "(", "!", "REG_P", "(", "op0", ")", ")", "op0", "=", "force_reg", "(", "mode", ",", "op0", ")", ";", "if", "(", "!", "REG_P", "(", "op1", ")", ")", "op1", "=", "force_reg", "(", "mode", ",", "op1", ")", ";", "if", "(", "!", "REG_P", "(", "sel", ")", ")", "sel", "=", "force_reg", "(", "V16QImode", ",", "sel", ")", ";", "if", "(", "!", "REG_P", "(", "target", ")", ")", "tmp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "if", "(", "TARGET_P9_VECTOR", ")", "{", "unspec", "=", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "3", ",", "op0", ",", "op1", ",", "sel", ")", ",", "UNSPEC_VPERMR", ")", ";", "}", "else", "{", "notx", "=", "gen_rtx_NOT", "(", "V16QImode", ",", "sel", ")", ";", "iorx", "=", "(", "TARGET_P8_VECTOR", "?", "gen_rtx_IOR", "(", "V16QImode", ",", "notx", ",", "notx", ")", ":", "gen_rtx_AND", "(", "V16QImode", ",", "notx", ",", "notx", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "norreg", ",", "iorx", ")", ")", ";", "unspec", "=", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "3", ",", "op1", ",", "op0", ",", "norreg", ")", ",", "UNSPEC_VPERM", ")", ";", "}", "if", "(", "!", "REG_P", "(", "target", ")", ")", "{", "emit_move_insn", "(", "tmp", ",", "unspec", ")", ";", "unspec", "=", "tmp", ";", "}", "emit_move_insn", "(", "target", ",", "unspec", ")", ";", "}", ""], "natrual_language": ["Similarly", "to", "altivec_expand_vec_perm_const_le", ",", "we", "must", "adjust", "the", "permute", "control", "vector", ".", "But", "here", "it", "'s", "not", "a", "constant", ",", "so", "we", "must", "generate", "a", "vector", "NAND", "or", "NOR", "to", "do", "the", "adjustment", "."], "TS_V_token": ["powerpcspe", "4", "0", "1", "2", "3", "3", "3"], "File": "powerpcspe", "Func": "altivec_expand_vec_perm_le", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22162, "Length": 257, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "{", "if", "(", "ExtraCode", "[", "1", "]", ")", "return", "true", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "case", "'H'", ":", "{", "if", "(", "OpNo", "==", "0", ")", "return", "true", ";", "const", "MachineOperand", "&", "FlagsOP", "=", "MI", "->", "getOperand", "(", "OpNo", "-", "1", ")", ";", "if", "(", "!", "FlagsOP", ".", "isImm", "(", ")", ")", "return", "true", ";", "unsigned", "Flags", "=", "FlagsOP", ".", "getImm", "(", ")", ";", "unsigned", "NumVals", "=", "InlineAsm", "::", "getNumOperandRegisters", "(", "Flags", ")", ";", "if", "(", "NumVals", "!=", "2", ")", "return", "true", ";", "unsigned", "RegOp", "=", "OpNo", "+", "1", ";", "if", "(", "RegOp", ">=", "MI", "->", "getNumOperands", "(", ")", ")", "return", "true", ";", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "RegOp", ")", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", ")", "return", "true", ";", "unsigned", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "O", "<<", "LanaiInstPrinter", "::", "getRegisterName", "(", "Reg", ")", ";", "return", "false", ";", "}", "default", ":", "return", "true", ";", "}", "}", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["Lanai", "Lanai", "0", "1", "0", "0", "1", "2", "1", "Lanai"], "File": "LanaiAsmPrinter13", "Func": "PrintAsmOperand", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22163, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_savres_routine_sym", "(", "rs6000_stack_t", "*", "info", ",", "int", "sel", ")", "{", "int", "regno", "=", "(", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_GPR", "?", "info", "->", "first_gp_reg_save", ":", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_FPR", "?", "info", "->", "first_fp_reg_save", "-", "32", ":", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_VR", "?", "info", "->", "first_altivec_reg_save", "-", "FIRST_ALTIVEC_REGNO", ":", "-", "1", ")", ";", "rtx", "sym", ";", "int", "select", "=", "sel", ";", "if", "(", "TARGET_SPE_ABI", "&&", "(", "sel", "&", "SAVRES_REG", ")", "==", "SAVRES_GPR", "&&", "info", "->", "spe_64bit_regs_used", ")", "select", "^=", "SAVRES_FPR", "^", "SAVRES_GPR", ";", "gcc_assert", "(", "FIRST_SAVRES_REGISTER", "<=", "regno", "&&", "regno", "<=", "LAST_SAVRES_REGISTER", "&&", "select", ">=", "0", "&&", "select", "<=", "12", ")", ";", "sym", "=", "savres_routine_syms", "[", "regno", "-", "FIRST_SAVRES_REGISTER", "]", "[", "select", "]", ";", "if", "(", "sym", "==", "NULL", ")", "{", "char", "*", "name", ";", "name", "=", "rs6000_savres_routine_name", "(", "info", ",", "regno", ",", "sel", ")", ";", "sym", "=", "savres_routine_syms", "[", "regno", "-", "FIRST_SAVRES_REGISTER", "]", "[", "select", "]", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "ggc_strdup", "(", "name", ")", ")", ";", "SYMBOL_REF_FLAGS", "(", "sym", ")", "|=", "SYMBOL_FLAG_FUNCTION", ";", "}", "return", "sym", ";", "}", ""], "natrual_language": ["Return", "an", "RTL", "SYMBOL_REF", "for", "an", "out-of-line", "register", "save/restore", "routine", ".", "We", "are", "saving/restoring", "GPRs", "if", "GPR", "is", "true", "."], "TS_V_token": ["powerpcspe", "32", "1", "0", "12"], "File": "powerpcspe", "Func": "rs6000_savres_routine_sym", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22164, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_stepped_int_parallel_p", "(", "rtx", "op", ",", "int", "step", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "!=", "PARALLEL", "||", "!", "CONST_INT_P", "(", "XVECEXP", "(", "op", ",", "0", ",", "0", ")", ")", ")", "return", "false", ";", "unsigned", "HOST_WIDE_INT", "base", "=", "UINTVAL", "(", "XVECEXP", "(", "op", ",", "0", ",", "0", ")", ")", ";", "for", "(", "int", "i", "=", "1", ";", "i", "<", "XVECLEN", "(", "op", ",", "0", ")", ";", "++", "i", ")", "if", "(", "!", "CONST_INT_P", "(", "XVECEXP", "(", "op", ",", "0", ",", "i", ")", ")", "||", "UINTVAL", "(", "XVECEXP", "(", "op", ",", "0", ",", "i", ")", ")", "!=", "base", "+", "i", "*", "step", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "is", "a", "PARALLEL", "of", "CONST_INTs", "that", "form", "a", "linear", "series", "with", "step", "STEP", "."], "TS_V_token": ["aarch64", "0", "0", "0", "0", "1", "0", "0", "0"], "File": "aarch64", "Func": "aarch64_stepped_int_parallel_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22165, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumberOfRegisters", "(", "unsigned", "ClassID", ")", "const", "{", "bool", "Vector", "=", "(", "ClassID", "==", "1", ")", ";", "if", "(", "Vector", ")", "{", "if", "(", "ST", "->", "hasNEON", "(", ")", ")", "return", "32", ";", "return", "0", ";", "}", "return", "31", ";", "}", ""], "natrual_language": ["\ufffd", "?", "Vector", "TTI", "begin", "\ufffd", "?"], "TS_V_token": ["AArch64", "1", "32", "0", "31"], "File": "AArch64TargetTransformInfo", "Func": "getNumberOfRegisters", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22166, "Length": 41, "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": 22167, "Length": 239, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "CJGTargetLowering", "::", "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": ["CJG", "CJG", "ISD::BR_CC", "ISD::SELECT_CC", "ISD::GlobalAddress", "ISD::ExternalSymbol", "\"unimplemented operand\""], "File": "CJGISelLowering", "Func": "LowerOperation", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22168, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "paired_emit_vector_cond_expr", "(", "rtx", "dest", ",", "rtx", "op1", ",", "rtx", "op2", ",", "rtx", "cond", ",", "rtx", "cc_op0", ",", "rtx", "cc_op1", ")", "{", "enum", "rtx_code", "rcode", "=", "GET_CODE", "(", "cond", ")", ";", "if", "(", "!", "TARGET_PAIRED_FLOAT", ")", "return", "0", ";", "paired_emit_vector_compare", "(", "rcode", ",", "dest", ",", "op1", ",", "op2", ",", "cc_op0", ",", "cc_op1", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Emit", "vector", "conditional", "expression", ".", "DEST", "is", "destination", ".", "OP1", "and", "OP2", "are", "two", "VEC_COND_EXPR", "operands", ".", "CC_OP0", "and", "CC_OP1", "are", "the", "two", "operands", "for", "the", "relation", "operation", "COND", "."], "TS_V_token": ["powerpcspe", "0", "1"], "File": "powerpcspe", "Func": "paired_emit_vector_cond_expr", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22169, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "ix86_spill_class", "(", "reg_class_t", "rclass", ",", "machine_mode", "mode", ")", "{", "if", "(", "0", "&&", "TARGET_GENERAL_REGS_SSE_SPILL", "&&", "TARGET_SSE2", "&&", "TARGET_INTER_UNIT_MOVES_TO_VEC", "&&", "TARGET_INTER_UNIT_MOVES_FROM_VEC", "&&", "(", "mode", "==", "SImode", "||", "(", "TARGET_64BIT", "&&", "mode", "==", "DImode", ")", ")", "&&", "INTEGER_CLASS_P", "(", "rclass", ")", ")", "return", "ALL_SSE_REGS", ";", "return", "NO_REGS", ";", "}", ""], "natrual_language": ["Return", "class", "of", "registers", "which", "could", "be", "used", "for", "pseudo", "of", "MODE", "and", "of", "class", "RCLASS", "for", "spilling", "instead", "of", "memory", ".", "Return", "NO_REGS", "if", "it", "is", "not", "possible", "or", "non-profitable", "."], "TS_V_token": ["i386", "0"], "File": "i386", "Func": "ix86_spill_class", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22170, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "Position", ",", "DebugLoc", "DL", ",", "unsigned", "DestinationRegister", ",", "unsigned", "SourceRegister", ",", "bool", "KillSource", ")", "const", "{", "if", "(", "!", "Lanai", "::", "GPRRegClass", ".", "contains", "(", "DestinationRegister", ",", "SourceRegister", ")", ")", "{", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "}", "BuildMI", "(", "MBB", ",", "Position", ",", "DL", ",", "get", "(", "Lanai", "::", "OR_I_LO", ")", ",", "DestinationRegister", ")", ".", "addReg", "(", "SourceRegister", ",", "getKillRegState", "(", "KillSource", ")", ")", ".", "addImm", "(", "0", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["Lanai", "Lanai", "Lanai::GPRRegClass", "\"Impossible reg-to-reg copy\"", "Lanai::OR_I_LO", "0"], "File": "LanaiInstrInfo18", "Func": "copyPhysReg", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22171, "Length": 83, "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", ")", ",", "TargetTriple", "(", "TT", ")", "{", "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", "(", "hasMSA", "(", ")", "&&", "!", "isFP64bit", "(", ")", ")", "report_fatal_error", "(", "\"MSA requires a 64-bit FPU register file (FR=1 mode). \"", "\"See -mattr=+fp64.\"", ",", "false", ")", ";", "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.\"", "\"MSA requires a 64-bit FPU register file (FR=1 mode). \"", "\"See -mattr=+fp64.\"", "\"linux\"", "Mips"], "File": "MipsSubtarget62", "Func": "MipsSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22172, "Length": 329, "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": 22173, "Length": 280, "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", ";", "}", "}", "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"], "File": "SparcAsmParser11", "Func": "validateTargetOperandClass", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22174, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsPassConfig", "::", "addPreSched2", "(", ")", "{", "PM", ".", "add", "(", "createMipsExpandPseudoPass", "(", "getMipsTargetMachine", "(", ")", ")", ")", ";", "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": ["Mips", "Mips", "Mips", "Mips"], "File": "MipsTargetMachine86", "Func": "addPreSched2", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22175, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "ARMElfTargetObjectFile", "::", "getTTypeGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "unsigned", "Encoding", ",", "Mangler", "&", "Mang", ",", "const", "TargetMachine", "&", "TM", ",", "MachineModuleInfo", "*", "MMI", ",", "MCStreamer", "&", "Streamer", ")", "const", "{", "if", "(", "TM", ".", "getMCAsmInfo", "(", ")", "->", "getExceptionHandlingType", "(", ")", "!=", "ExceptionHandling", "::", "ARM", ")", "return", "TargetLoweringObjectFileELF", "::", "getTTypeGlobalReference", "(", "GV", ",", "Encoding", ",", "Mang", ",", "TM", ",", "MMI", ",", "Streamer", ")", ";", "assert", "(", "Encoding", "==", "DW_EH_PE_absptr", "&&", "\"Can handle absptr encoding only\"", ")", ";", "return", "MCSymbolRefExpr", "::", "Create", "(", "TM", ".", "getSymbol", "(", "GV", ",", "Mang", ")", ",", "MCSymbolRefExpr", "::", "VK_ARM_TARGET2", ",", "getContext", "(", ")", ")", ";", "}", ""], "natrual_language": ["The", "mach-o", "version", "of", "this", "method", "defaults", "to", "returning", "a", "stub", "reference", "."], "TS_V_token": ["ARM", "ARM", "ARM", "\"Can handle absptr encoding only\"", "ARM"], "File": "ARMTargetObjectFile", "Func": "getTTypeGlobalReference", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22176, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "mep_make_bundle", "(", "rtx", "core_insn_or_pat", ",", "rtx_insn", "*", "cop", ")", "{", "rtx", "seq", ";", "rtx_insn", "*", "core_insn", ";", "rtx_insn", "*", "insn", ";", "if", "(", "INSN_P", "(", "core_insn_or_pat", ")", ")", "{", "core_insn", "=", "as_a", "<", "rtx_insn", "*", ">", "(", "core_insn_or_pat", ")", ";", "remove_insn", "(", "core_insn", ")", ";", "}", "else", "core_insn", "=", "make_insn_raw", "(", "core_insn_or_pat", ")", ";", "seq", "=", "gen_rtx_SEQUENCE", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "core_insn", ",", "cop", ")", ")", ";", "insn", "=", "emit_insn_after", "(", "seq", ",", "cop", ")", ";", "remove_insn", "(", "cop", ")", ";", "SET_PREV_INSN", "(", "core_insn", ")", "=", "PREV_INSN", "(", "insn", ")", ";", "SET_NEXT_INSN", "(", "core_insn", ")", "=", "cop", ";", "SET_PREV_INSN", "(", "cop", ")", "=", "core_insn", ";", "SET_NEXT_INSN", "(", "cop", ")", "=", "NEXT_INSN", "(", "insn", ")", ";", "PUT_MODE", "(", "core_insn", ",", "VOIDmode", ")", ";", "PUT_MODE", "(", "cop", ",", "BImode", ")", ";", "INSN_LOCATION", "(", "insn", ")", "=", "INSN_LOCATION", "(", "INSN_LOCATION", "(", "core_insn", ")", "?", "core_insn", ":", "cop", ")", ";", "INSN_LOCATION", "(", "core_insn", ")", "=", "0", ";", "INSN_LOCATION", "(", "cop", ")", "=", "0", ";", "return", "insn", ";", "}", ""], "natrual_language": ["Create", "a", "VLIW", "bundle", "from", "core", "instruction", "CORE", "and", "coprocessor", "instruction", "COP", ".", "COP", "always", "satisfies", "INSN_P", ",", "but", "CORE", "can", "be", "either", "a", "new", "pattern", "or", "an", "existing", "instruction", ".", "Emit", "the", "bundle", "in", "place", "of", "COP", "and", "return", "it", "."], "TS_V_token": ["mep", "2", "0", "0"], "File": "mep", "Func": "mep_make_bundle", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22177, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_split_move", "(", "rtx", "dest", ",", "rtx", "src", ",", "enum", "mips_split_type", "split_type", ")", "{", "rtx", "low_dest", ";", "gcc_checking_assert", "(", "mips_split_move_p", "(", "dest", ",", "src", ",", "split_type", ")", ")", ";", "if", "(", "MSA_SUPPORTED_MODE_P", "(", "GET_MODE", "(", "dest", ")", ")", ")", "mips_split_128bit_move", "(", "dest", ",", "src", ")", ";", "else", "if", "(", "FP_REG_RTX_P", "(", "dest", ")", "||", "FP_REG_RTX_P", "(", "src", ")", ")", "{", "if", "(", "!", "TARGET_64BIT", "&&", "GET_MODE", "(", "dest", ")", "==", "DImode", ")", "emit_insn", "(", "gen_move_doubleword_fprdi", "(", "dest", ",", "src", ")", ")", ";", "else", "if", "(", "!", "TARGET_64BIT", "&&", "GET_MODE", "(", "dest", ")", "==", "DFmode", ")", "emit_insn", "(", "gen_move_doubleword_fprdf", "(", "dest", ",", "src", ")", ")", ";", "else", "if", "(", "!", "TARGET_64BIT", "&&", "GET_MODE", "(", "dest", ")", "==", "V2SFmode", ")", "emit_insn", "(", "gen_move_doubleword_fprv2sf", "(", "dest", ",", "src", ")", ")", ";", "else", "if", "(", "!", "TARGET_64BIT", "&&", "GET_MODE", "(", "dest", ")", "==", "V2SImode", ")", "emit_insn", "(", "gen_move_doubleword_fprv2si", "(", "dest", ",", "src", ")", ")", ";", "else", "if", "(", "!", "TARGET_64BIT", "&&", "GET_MODE", "(", "dest", ")", "==", "V4HImode", ")", "emit_insn", "(", "gen_move_doubleword_fprv4hi", "(", "dest", ",", "src", ")", ")", ";", "else", "if", "(", "!", "TARGET_64BIT", "&&", "GET_MODE", "(", "dest", ")", "==", "V8QImode", ")", "emit_insn", "(", "gen_move_doubleword_fprv8qi", "(", "dest", ",", "src", ")", ")", ";", "else", "if", "(", "TARGET_64BIT", "&&", "GET_MODE", "(", "dest", ")", "==", "TFmode", ")", "emit_insn", "(", "gen_move_doubleword_fprtf", "(", "dest", ",", "src", ")", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "else", "if", "(", "REG_P", "(", "dest", ")", "&&", "REGNO", "(", "dest", ")", "==", "MD_REG_FIRST", ")", "{", "low_dest", "=", "mips_subword", "(", "dest", ",", "false", ")", ";", "mips_emit_move", "(", "low_dest", ",", "mips_subword", "(", "src", ",", "false", ")", ")", ";", "if", "(", "TARGET_64BIT", ")", "emit_insn", "(", "gen_mthidi_ti", "(", "dest", ",", "mips_subword", "(", "src", ",", "true", ")", ",", "low_dest", ")", ")", ";", "else", "emit_insn", "(", "gen_mthisi_di", "(", "dest", ",", "mips_subword", "(", "src", ",", "true", ")", ",", "low_dest", ")", ")", ";", "}", "else", "if", "(", "REG_P", "(", "src", ")", "&&", "REGNO", "(", "src", ")", "==", "MD_REG_FIRST", ")", "{", "mips_emit_move", "(", "mips_subword", "(", "dest", ",", "false", ")", ",", "mips_subword", "(", "src", ",", "false", ")", ")", ";", "if", "(", "TARGET_64BIT", ")", "emit_insn", "(", "gen_mfhidi_ti", "(", "mips_subword", "(", "dest", ",", "true", ")", ",", "src", ")", ")", ";", "else", "emit_insn", "(", "gen_mfhisi_di", "(", "mips_subword", "(", "dest", ",", "true", ")", ",", "src", ")", ")", ";", "}", "else", "{", "low_dest", "=", "mips_subword", "(", "dest", ",", "false", ")", ";", "if", "(", "REG_P", "(", "low_dest", ")", "&&", "reg_overlap_mentioned_p", "(", "low_dest", ",", "src", ")", ")", "{", "mips_emit_move", "(", "mips_subword", "(", "dest", ",", "true", ")", ",", "mips_subword", "(", "src", ",", "true", ")", ")", ";", "mips_emit_move", "(", "low_dest", ",", "mips_subword", "(", "src", ",", "false", ")", ")", ";", "}", "else", "{", "mips_emit_move", "(", "low_dest", ",", "mips_subword", "(", "src", ",", "false", ")", ")", ";", "mips_emit_move", "(", "mips_subword", "(", "dest", ",", "true", ")", ",", "mips_subword", "(", "src", ",", "true", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["Split", "a", "move", "from", "SRC", "to", "DEST", ",", "given", "that", "mips_split_move_p", "holds", ".", "SPLIT_TYPE", "describes", "the", "split", "condition", "."], "TS_V_token": ["mips"], "File": "mips6", "Func": "mips_split_move", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22178, "Length": 461, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_function_value_regno_p", "(", "const", "unsigned", "int", "regno", ")", "{", "switch", "(", "regno", ")", "{", "case", "AX_REG", ":", "return", "true", ";", "case", "DX_REG", ":", "return", "(", "!", "TARGET_64BIT", "||", "ix86_cfun_abi", "(", ")", "!=", "MS_ABI", ")", ";", "case", "DI_REG", ":", "case", "SI_REG", ":", "return", "TARGET_64BIT", "&&", "ix86_cfun_abi", "(", ")", "!=", "MS_ABI", ";", "case", "ST0_REG", ":", "case", "ST1_REG", ":", "if", "(", "TARGET_64BIT", "&&", "ix86_cfun_abi", "(", ")", "==", "MS_ABI", ")", "return", "false", ";", "return", "TARGET_FLOAT_RETURNS_IN_80387", ";", "case", "XMM0_REG", ":", "case", "XMM1_REG", ":", "return", "TARGET_SSE", ";", "case", "MM0_REG", ":", "if", "(", "TARGET_MACHO", "||", "TARGET_64BIT", ")", "return", "false", ";", "return", "TARGET_MMX", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "N", "is", "a", "possible", "register", "number", "of", "function", "value", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_function_value_regno_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22179, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64Subtarget", "::", "overrideSchedPolicy", "(", "MachineSchedPolicy", "&", "Policy", ",", "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": "AArch64Subtarget (2)1", "Func": "overrideSchedPolicy", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22180, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LanaiSelectionDAGInfo", "::", "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", "{", "ConstantSDNode", "*", "ConstantSize", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Size", ")", ";", "if", "(", "!", "ConstantSize", ")", "return", "SDValue", "(", ")", ";", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memcpy", "."], "TS_V_token": ["Lanai", "Lanai"], "File": "LanaiSelectionDAGInfo8", "Func": "EmitTargetCodeForMemcpy", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22181, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "elf_dcachebsize", "(", "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_DCACHEBSIZE", ":", "return", "av", "->", "a_un", ".", "a_val", ";", "default", ":", "break", ";", "}", "}", "}", ""], "natrual_language": ["Returns", "AT_DCACHEBSIZE", "if", "present", ",", "otherwise", "generic", "32", "."], "TS_V_token": ["powerpcspe", "\"/proc/self/auxv\"", "1", "1024", "0"], "File": "driver-powerpcspe", "Func": "elf_dcachebsize", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22182, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "InstrumentSandboxingCFI", ")", "removeCall64m", "(", "MF", ")", ";", "addBoundChecks", "(", "MF", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "0"], "File": "SandBoxing", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22183, "Length": 26, "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": 22184, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SDValue", "&", "getMask", "(", ")", "const", "{", "return", "getOperand", "(", "2", ")", ";", "}", ""], "natrual_language": ["Return", "the", "mask", "used", "by", "this", "recipe", "."], "TS_V_token": ["X86", "2"], "File": "X86ISelLowering", "Func": "getMask", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22185, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "BuildCFI", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "DebugLoc", "&", "DL", ",", "const", "MCCFIInstruction", "&", "CFIInst", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "unsigned", "CFIIndex", "=", "MF", ".", "getMMI", "(", ")", ".", "addFrameInst", "(", "CFIInst", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "}", ""], "natrual_language": ["Wraps", "up", "getting", "a", "CFI", "index", "and", "building", "a", "MachineInstr", "for", "it", "."], "TS_V_token": ["X86", "X86"], "File": "X86FrameLowering102", "Func": "BuildCFI", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22186, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "tryAddingSymbolicOperand", "(", "uint64_t", "Address", ",", "int32_t", "Value", ",", "bool", "isBranch", ",", "uint64_t", "InstSize", ",", "MCInst", "&", "MI", ",", "const", "MCDisassembler", "*", "Decoder", ")", "{", "return", "Decoder", "->", "tryAddingSymbolicOperand", "(", "MI", ",", "(", "uint32_t", ")", "Value", ",", "Address", ",", "isBranch", ",", "0", ",", "0", ",", "InstSize", ")", ";", "}", ""], "natrual_language": ["Try", "to", "add", "a", "symbolic", "operand", "instead", "of", "Value", "to", "the", "MCInst", "."], "TS_V_token": ["ARM", "0", "0"], "File": "ARMDisassembler39", "Func": "tryAddingSymbolicOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22187, "Length": 50, "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", "-", "1", ")", ";", "value", ">>=", "1", ";", "}", "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", "1", "1"], "File": "rs6000", "Func": "num_insns_constant_multi", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22188, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "gen_ashift_hi", "(", "int", "type", ",", "int", "n", ",", "rtx", "reg", ")", "{", "if", "(", "n", "<", "0", ")", "{", "if", "(", "type", "==", "ASHIFT", ")", "type", "=", "LSHIFTRT", ";", "else", "type", "=", "ASHIFT", ";", "n", "=", "-", "n", ";", "}", "switch", "(", "type", ")", "{", "case", "ASHIFTRT", ":", "case", "LSHIFTRT", ":", "{", "int", "offset", "=", "0", ";", "if", "(", "GET_CODE", "(", "reg", ")", "==", "SUBREG", ")", "{", "offset", "=", "SUBREG_BYTE", "(", "reg", ")", ";", "reg", "=", "SUBREG_REG", "(", "reg", ")", ";", "}", "gen_ashift", "(", "type", ",", "n", ",", "gen_rtx_SUBREG", "(", "SImode", ",", "reg", ",", "offset", ")", ")", ";", "break", ";", "}", "case", "ASHIFT", ":", "emit_insn", "(", "gen_ashlhi3_k", "(", "reg", ",", "reg", ",", "GEN_INT", "(", "n", ")", ")", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Same", "for", "HImode"], "TS_V_token": ["sh", "0", "0"], "File": "sh", "Func": "gen_ashift_hi", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22189, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64AppleInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "unsigned", "Opcode", "=", "MI", "->", "getOpcode", "(", ")", ";", "StringRef", "Layout", ";", "bool", "IsTbx", ";", "if", "(", "isTblTbxInstruction", "(", "MI", "->", "getOpcode", "(", ")", ",", "Layout", ",", "IsTbx", ")", ")", "{", "O", "<<", "\"\\t\"", "<<", "(", "IsTbx", "?", "\"tbx\"", ":", "\"tbl\"", ")", "<<", "Layout", "<<", "'\\t'", "<<", "getRegisterName", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "AArch64", "::", "vreg", ")", "<<", "\", \"", ";", "unsigned", "ListOpNum", "=", "IsTbx", "?", "2", ":", "1", ";", "printVectorList", "(", "MI", ",", "ListOpNum", ",", "STI", ",", "O", ",", "\"\"", ")", ";", "O", "<<", "\", \"", "<<", "getRegisterName", "(", "MI", "->", "getOperand", "(", "ListOpNum", "+", "1", ")", ".", "getReg", "(", ")", ",", "AArch64", "::", "vreg", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "return", ";", "}", "if", "(", "const", "LdStNInstrDesc", "*", "LdStDesc", "=", "getLdStNInstrDesc", "(", "Opcode", ")", ")", "{", "O", "<<", "\"\\t\"", "<<", "LdStDesc", "->", "Mnemonic", "<<", "LdStDesc", "->", "Layout", "<<", "'\\t'", ";", "int", "OpNum", "=", "LdStDesc", "->", "ListOperand", ";", "printVectorList", "(", "MI", ",", "OpNum", "++", ",", "STI", ",", "O", ",", "\"\"", ")", ";", "if", "(", "LdStDesc", "->", "HasLane", ")", "O", "<<", "'['", "<<", "MI", "->", "getOperand", "(", "OpNum", "++", ")", ".", "getImm", "(", ")", "<<", "']'", ";", "unsigned", "AddrReg", "=", "MI", "->", "getOperand", "(", "OpNum", "++", ")", ".", "getReg", "(", ")", ";", "O", "<<", "\", [\"", "<<", "getRegisterName", "(", "AddrReg", ")", "<<", "']'", ";", "if", "(", "LdStDesc", "->", "NaturalOffset", "!=", "0", ")", "{", "unsigned", "Reg", "=", "MI", "->", "getOperand", "(", "OpNum", "++", ")", ".", "getReg", "(", ")", ";", "if", "(", "Reg", "!=", "AArch64", "::", "XZR", ")", "O", "<<", "\", \"", "<<", "getRegisterName", "(", "Reg", ")", ";", "else", "{", "assert", "(", "LdStDesc", "->", "NaturalOffset", "&&", "\"no offset on post-inc instruction?\"", ")", ";", "O", "<<", "\", #\"", "<<", "LdStDesc", "->", "NaturalOffset", ";", "}", "}", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "return", ";", "}", "AArch64InstPrinter", "::", "printInst", "(", "MI", ",", "O", ",", "Annot", ",", "STI", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["AArch64", "AArch64", "\"\\t\"", "\"tbx\"", "\"tbl\"", "0", "AArch64::vreg", "\", \"", "2", "1", "\"\"", "\", \"", "1", "AArch64::vreg", "\"\\t\"", "\"\"", "\", [\"", "0", "AArch64::XZR", "\", \"", "\"no offset on post-inc instruction?\"", "\", #\"", "AArch64"], "File": "AArch64InstPrinter11", "Func": "printInst", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22190, "Length": 330, "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": 22191, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmBackend", "::", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "static", "const", "uint8_t", "TrueNops", "[", "10", "]", "[", "10", "]", "=", "{", "{", "0x90", "}", ",", "{", "0x66", ",", "0x90", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x40", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x44", ",", "0x00", ",", "0x00", "}", ",", "{", "0x66", ",", "0x0f", ",", "0x1f", ",", "0x44", ",", "0x00", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x80", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "{", "0x0f", ",", "0x1f", ",", "0x84", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "{", "0x66", ",", "0x0f", ",", "0x1f", ",", "0x84", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "{", "0x66", ",", "0x2e", ",", "0x0f", ",", "0x1f", ",", "0x84", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "}", ";", "static", "const", "uint8_t", "AltNops", "[", "7", "]", "[", "10", "]", "=", "{", "{", "0x90", "}", ",", "{", "0x66", ",", "0x90", "}", ",", "{", "0x8d", ",", "0x76", ",", "0x00", "}", ",", "{", "0x8d", ",", "0x74", ",", "0x26", ",", "0x00", "}", ",", "{", "0x90", ",", "0x8d", ",", "0x74", ",", "0x26", ",", "0x00", "}", ",", "{", "0x8d", ",", "0xb6", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "{", "0x8d", ",", "0xb4", ",", "0x26", ",", "0x00", ",", "0x00", ",", "0x00", ",", "0x00", "}", ",", "}", ";", "const", "uint8_t", "(", "*", "Nops", ")", "[", "10", "]", "=", "HasNopl", "?", "TrueNops", ":", "AltNops", ";", "assert", "(", "HasNopl", "||", "MaxNopLength", "<=", "7", ")", ";", "do", "{", "const", "uint8_t", "ThisNopLength", "=", "(", "uint8_t", ")", "std", "::", "min", "(", "Count", ",", "MaxNopLength", ")", ";", "const", "uint8_t", "Prefixes", "=", "ThisNopLength", "<=", "10", "?", "0", ":", "ThisNopLength", "-", "10", ";", "for", "(", "uint8_t", "i", "=", "0", ";", "i", "<", "Prefixes", ";", "i", "++", ")", "OW", "->", "write8", "(", "0x66", ")", ";", "const", "uint8_t", "Rest", "=", "ThisNopLength", "-", "Prefixes", ";", "for", "(", "uint8_t", "i", "=", "0", ";", "i", "<", "Rest", ";", "i", "++", ")", "OW", "->", "write8", "(", "Nops", "[", "Rest", "-", "1", "]", "[", "i", "]", ")", ";", "Count", "-=", "ThisNopLength", ";", "}", "while", "(", "Count", "!=", "0", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["X86", "X86", "10", "10", "0x90", "0x66", "0x90", "0x0f", "0x1f", "0x00", "0x0f", "0x1f", "0x40", "0x00", "0x0f", "0x1f", "0x44", "0x00", "0x00", "0x66", "0x0f", "0x1f", "0x44", "0x00", "0x00", "0x0f", "0x1f", "0x80", "0x00", "0x00", "0x00", "0x00", "0x0f", "0x1f", "0x84", "0x00", "0x00", "0x00", "0x00", "0x00", "0x66", "0x0f", "0x1f", "0x84", "0x00", "0x00", "0x00", "0x00", "0x00", "0x66", "0x2e", "0x0f", "0x1f", "0x84", "0x00", "0x00", "0x00", "0x00", "0x00", "7", "10", "0x90", "0x66", "0x90", "0x8d", "0x76", "0x00", "0x8d", "0x74", "0x26", "0x00", "0x90", "0x8d", "0x74", "0x26", "0x00", "0x8d", "0xb6", "0x00", "0x00", "0x00", "0x00", "0x8d", "0xb4", "0x26", "0x00", "0x00", "0x00", "0x00", "10", "7", "10", "0", "10", "0", "0x66", "0", "1", "0"], "File": "X86AsmBackend (2)3", "Func": "writeNopData", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22192, "Length": 373, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineFrameInfo", "&", "MFFrame", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "bool", "BackChain", "=", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"backchain\"", ")", ";", "if", "(", "!", "usePackedStack", "(", "MF", ")", "||", "BackChain", ")", "getOrCreateFramePointerSaveIndex", "(", "MF", ")", ";", "uint64_t", "StackSize", "=", "(", "MFFrame", ".", "estimateStackSize", "(", "MF", ")", "+", "SystemZMC", "::", "CallFrameSize", ")", ";", "int64_t", "MaxArgOffset", "=", "0", ";", "for", "(", "int", "I", "=", "MFFrame", ".", "getObjectIndexBegin", "(", ")", ";", "I", "!=", "0", ";", "++", "I", ")", "if", "(", "MFFrame", ".", "getObjectOffset", "(", "I", ")", ">=", "0", ")", "{", "int64_t", "ArgOffset", "=", "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", "\"backchain\"", "SystemZMC::CallFrameSize", "0", "0", "0", "12", "8", "8", "8", "8"], "File": "SystemZFrameLowering1", "Func": "processFunctionBeforeFrameFinalized", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22193, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseRegisterInfo", "::", "isFrameOffsetLegal", "(", "const", "MachineInstr", "*", "MI", ",", "Register", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "const", "MCInstrDesc", "&", "Desc", "=", "MI", "->", "getDesc", "(", ")", ";", "unsigned", "AddrMode", "=", "(", "Desc", ".", "TSFlags", "&", "ARMII", "::", "AddrModeMask", ")", ";", "unsigned", "i", "=", "0", ";", "for", "(", ";", "!", "MI", "->", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ";", "++", "i", ")", "assert", "(", "i", "+", "1", "<", "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", "=", "(", "BaseReg", "==", "ARM", "::", "SP", "?", "8", ":", "5", ")", ";", "Scale", "=", "4", ";", "isSigned", "=", "false", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Unsupported addressing mode!\"", ")", ";", "}", "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", "1", "\"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", "ARM::SP", "8", "5", "4", "\"Unsupported addressing mode!\"", "1", "0", "0", "1", "1"], "File": "ARMBaseRegisterInfo", "Func": "isFrameOffsetLegal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22194, "Length": 306, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "LanaiInstrInfo", "::", "optimizeSelect", "(", "MachineInstr", "&", "MI", ",", "SmallPtrSetImpl", "<", "MachineInstr", "*", ">", "&", "SeenMIs", ",", "bool", ")", "const", "{", "assert", "(", "MI", ".", "getOpcode", "(", ")", "==", "Lanai", "::", "SELECT", "&&", "\"unknown select instruction\"", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MachineInstr", "*", "DefMI", "=", "canFoldIntoSelect", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ",", "MRI", ")", ";", "bool", "Invert", "=", "!", "DefMI", ";", "if", "(", "!", "DefMI", ")", "DefMI", "=", "canFoldIntoSelect", "(", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ",", "MRI", ")", ";", "if", "(", "!", "DefMI", ")", "return", "nullptr", ";", "MachineOperand", "FalseReg", "=", "MI", ".", "getOperand", "(", "Invert", "?", "1", ":", "2", ")", ";", "Register", "DestReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "PreviousClass", "=", "MRI", ".", "getRegClass", "(", "FalseReg", ".", "getReg", "(", ")", ")", ";", "if", "(", "!", "MRI", ".", "constrainRegClass", "(", "DestReg", ",", "PreviousClass", ")", ")", "return", "nullptr", ";", "MachineInstrBuilder", "NewMI", "=", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "DefMI", "->", "getDesc", "(", ")", ",", "DestReg", ")", ";", "const", "MCInstrDesc", "&", "DefDesc", "=", "DefMI", "->", "getDesc", "(", ")", ";", "for", "(", "unsigned", "i", "=", "1", ",", "e", "=", "DefDesc", ".", "getNumOperands", "(", ")", ";", "i", "!=", "e", "&&", "!", "DefDesc", ".", "OpInfo", "[", "i", "]", ".", "isPredicate", "(", ")", ";", "++", "i", ")", "NewMI", ".", "add", "(", "DefMI", "->", "getOperand", "(", "i", ")", ")", ";", "unsigned", "CondCode", "=", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "if", "(", "Invert", ")", "NewMI", ".", "addImm", "(", "getOppositeCondition", "(", "LPCC", "::", "CondCode", "(", "CondCode", ")", ")", ")", ";", "else", "NewMI", ".", "addImm", "(", "CondCode", ")", ";", "NewMI", ".", "copyImplicitOps", "(", "MI", ")", ";", "FalseReg", ".", "setImplicit", "(", ")", ";", "NewMI", ".", "add", "(", "FalseReg", ")", ";", "NewMI", "->", "tieOperands", "(", "0", ",", "NewMI", "->", "getNumOperands", "(", ")", "-", "1", ")", ";", "SeenMIs", ".", "insert", "(", "NewMI", ")", ";", "SeenMIs", ".", "erase", "(", "DefMI", ")", ";", "if", "(", "DefMI", "->", "getParent", "(", ")", "!=", "MI", ".", "getParent", "(", ")", ")", "NewMI", "->", "clearKillInfo", "(", ")", ";", "DefMI", "->", "eraseFromParent", "(", ")", ";", "return", "NewMI", ";", "}", ""], "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": ["Lanai", "Lanai", "Lanai::SELECT", "\"unknown select instruction\"", "1", "2", "1", "2", "0", "1", "3", "0", "1"], "File": "LanaiInstrInfo1", "Func": "optimizeSelect", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22195, "Length": 377, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isSimple", "(", ")", "||", "!", "Subtarget", ".", "hasVSX", "(", ")", ")", "return", "false", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "return", "false", ";", "case", "MVT", "::", "f32", ":", "case", "MVT", "::", "f64", ":", "case", "MVT", "::", "ppcf128", ":", "return", "Imm", ".", "isPosZero", "(", ")", ";", "}", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "can", "instruction", "select", "the", "specified", "FP", "immediate", "natively", "."], "TS_V_token": ["PowerPC", "PPC", "MVT::f32", "MVT::f64", "MVT::ppcf128"], "File": "PPCISelLowering (2)7", "Func": "isFPImmLegal", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22196, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createPPCISelDag", "(", "getPPCTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "if", "(", "!", "DisableCTRLoops", "&&", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createPPCCTRLoopsVerify", "(", ")", ")", ";", "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"], "File": "PPCTargetMachine1", "Func": "addInstSelector", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22197, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseInstrInfo", "::", "removeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "int", "*", "BytesRemoved", ")", "const", "{", "assert", "(", "!", "BytesRemoved", "&&", "\"code size not handled\"", ")", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "end", "(", ")", ")", "return", "0", ";", "if", "(", "!", "isUncondBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", "&&", "!", "isCondBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", "&&", "I", "->", "getOpcode", "(", ")", "!=", "ARM", "::", "t2LoopEnd", ")", "return", "0", ";", "I", "->", "eraseFromParent", "(", ")", ";", "I", "=", "MBB", ".", "end", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", ")", "return", "1", ";", "--", "I", ";", "if", "(", "!", "isCondBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", "&&", "I", "->", "getOpcode", "(", ")", "!=", "ARM", "::", "t2LoopEnd", ")", "return", "1", ";", "I", "->", "eraseFromParent", "(", ")", ";", "return", "2", ";", "}", ""], "natrual_language": ["Remove", "the", "branching", "code", "at", "the", "end", "of", "the", "specific", "MBB", "."], "TS_V_token": ["ARM", "ARM", "\"code size not handled\"", "0", "ARM::t2LoopEnd", "0", "1", "ARM::t2LoopEnd", "1", "2"], "File": "ARMBaseInstrInfo70", "Func": "removeBranch", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22198, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "ARMTargetLowering", "::", "getExceptionSelectorRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "{", "return", "Subtarget", "->", "useSjLjEH", "(", ")", "?", "Register", "(", ")", ":", "ARM", "::", "R1", ";", "}", ""], "natrual_language": ["If", "a", "physical", "register", ",", "this", "returns", "the", "register", "that", "receives", "the", "exception", "typeid", "on", "entry", "to", "a", "landing", "pad", "."], "TS_V_token": ["ARM", "ARM", "ARM::R1"], "File": "ARMISelLowering (2)5", "Func": "getExceptionSelectorRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22199, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FixupLEAPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Func", ")", "{", "MF", "=", "&", "Func", ";", "const", "X86Subtarget", "&", "ST", "=", "Func", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "ST", ".", "LEAusesAG", "(", ")", "&&", "!", "ST", ".", "slowLEA", "(", ")", ")", "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": "X86FixupLEAs24", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22200, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_expand_builtin_va_start", "(", "tree", "valist", ",", "rtx", "nextarg", ")", "{", "valist", "=", "arm_extract_valist_ptr", "(", "valist", ")", ";", "std_expand_builtin_va_start", "(", "valist", ",", "nextarg", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_EXPAND_BUILTIN_VA_START", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_expand_builtin_va_start", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22201, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "MipsTargetStreamer", "&", "TS", "=", "getTargetStreamer", "(", ")", ";", "TS", ".", "setCanHaveModuleDir", "(", "false", ")", ";", "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", "->", "getOpcode", "(", ")", "==", "Mips", "::", "PseudoReturn", "||", "I", "->", "getOpcode", "(", ")", "==", "Mips", "::", "PseudoReturn64", "||", "I", "->", "getOpcode", "(", ")", "==", "Mips", "::", "PseudoIndirectBranch", "||", "I", "->", "getOpcode", "(", ")", "==", "Mips", "::", "PseudoIndirectBranch64", ")", "{", "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::PseudoReturn", "Mips::PseudoReturn64", "Mips::PseudoIndirectBranch", "Mips::PseudoIndirectBranch64", "Mips", "\"Pseudo opcode found in EmitInstruction()\""], "File": "MipsAsmPrinter3", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22202, "Length": 362, "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": ["LC3"], "File": "LC3AsmBackend", "Func": "mayNeedRelaxation", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22203, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_expand_builtin_ls64", "(", "int", "fcode", ",", "tree", "exp", ",", "rtx", "target", ")", "{", "expand_operand", "ops", "[", "3", "]", ";", "switch", "(", "fcode", ")", "{", "case", "AARCH64_LS64_BUILTIN_LD64B", ":", "{", "rtx", "op0", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ")", ";", "create_output_operand", "(", "&", "ops", "[", "0", "]", ",", "target", ",", "V8DImode", ")", ";", "create_input_operand", "(", "&", "ops", "[", "1", "]", ",", "op0", ",", "DImode", ")", ";", "expand_insn", "(", "CODE_FOR_ld64b", ",", "2", ",", "ops", ")", ";", "return", "ops", "[", "0", "]", ".", "value", ";", "}", "case", "AARCH64_LS64_BUILTIN_ST64B", ":", "{", "rtx", "op0", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ")", ";", "rtx", "op1", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "1", ")", ")", ";", "create_output_operand", "(", "&", "ops", "[", "0", "]", ",", "op0", ",", "DImode", ")", ";", "create_input_operand", "(", "&", "ops", "[", "1", "]", ",", "op1", ",", "V8DImode", ")", ";", "expand_insn", "(", "CODE_FOR_st64b", ",", "2", ",", "ops", ")", ";", "return", "const0_rtx", ";", "}", "case", "AARCH64_LS64_BUILTIN_ST64BV", ":", "{", "rtx", "op0", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ")", ";", "rtx", "op1", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "1", ")", ")", ";", "create_output_operand", "(", "&", "ops", "[", "0", "]", ",", "target", ",", "DImode", ")", ";", "create_input_operand", "(", "&", "ops", "[", "1", "]", ",", "op0", ",", "DImode", ")", ";", "create_input_operand", "(", "&", "ops", "[", "2", "]", ",", "op1", ",", "V8DImode", ")", ";", "expand_insn", "(", "CODE_FOR_st64bv", ",", "3", ",", "ops", ")", ";", "return", "ops", "[", "0", "]", ".", "value", ";", "}", "case", "AARCH64_LS64_BUILTIN_ST64BV0", ":", "{", "rtx", "op0", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ")", ";", "rtx", "op1", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "1", ")", ")", ";", "create_output_operand", "(", "&", "ops", "[", "0", "]", ",", "target", ",", "DImode", ")", ";", "create_input_operand", "(", "&", "ops", "[", "1", "]", ",", "op0", ",", "DImode", ")", ";", "create_input_operand", "(", "&", "ops", "[", "2", "]", ",", "op1", ",", "V8DImode", ")", ";", "expand_insn", "(", "CODE_FOR_st64bv0", ",", "3", ",", "ops", ")", ";", "return", "ops", "[", "0", "]", ".", "value", ";", "}", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Function", "to", "expand", "an", "expression", "EXP", "which", "calls", "one", "of", "the", "Load/Store", "64", "Byte", "extension", "(", "LS64", ")", "builtins", "FCODE", "with", "the", "result", "going", "to", "TARGET", "."], "TS_V_token": ["aarch64", "3", "0", "0", "1", "2", "0", "0", "1", "0", "1", "2", "0", "1", "0", "1", "2", "3", "0", "0", "1", "0", "1", "2", "3", "0"], "File": "aarch64-builtins", "Func": "aarch64_expand_builtin_ls64", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22204, "Length": 335, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZInstrInfo", "::", "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", "(", ")", ";", "unsigned", "Opc", "=", "0", ";", "if", "(", "RC", "==", "&", "SystemZ", "::", "GR32RegClass", "||", "RC", "==", "&", "SystemZ", "::", "ADDR32RegClass", ")", "Opc", "=", "SystemZ", "::", "MOV32mr", ";", "else", "if", "(", "RC", "==", "&", "SystemZ", "::", "GR64RegClass", "||", "RC", "==", "&", "SystemZ", "::", "ADDR64RegClass", ")", "{", "Opc", "=", "SystemZ", "::", "MOV64mr", ";", "}", "else", "if", "(", "RC", "==", "&", "SystemZ", "::", "FP32RegClass", ")", "{", "Opc", "=", "SystemZ", "::", "FMOV32mr", ";", "}", "else", "if", "(", "RC", "==", "&", "SystemZ", "::", "FP64RegClass", ")", "{", "Opc", "=", "SystemZ", "::", "FMOV64mr", ";", "}", "else", "if", "(", "RC", "==", "&", "SystemZ", "::", "GR64PRegClass", ")", "{", "Opc", "=", "SystemZ", "::", "MOV64Pmr", ";", "}", "else", "if", "(", "RC", "==", "&", "SystemZ", "::", "GR128RegClass", ")", "{", "Opc", "=", "SystemZ", "::", "MOV128mr", ";", "}", "else", "llvm_unreachable", "(", "\"Unsupported regclass to store\"", ")", ";", "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": ["SystemZ", "SystemZ", "0", "SystemZ::GR32RegClass", "SystemZ::ADDR32RegClass", "SystemZ::MOV32mr", "SystemZ::GR64RegClass", "SystemZ::ADDR64RegClass", "SystemZ::MOV64mr", "SystemZ::FP32RegClass", "SystemZ::FMOV32mr", "SystemZ::FP64RegClass", "SystemZ::FMOV64mr", "SystemZ::GR64PRegClass", "SystemZ::MOV64Pmr", "SystemZ::GR128RegClass", "SystemZ::MOV128mr", "\"Unsupported regclass to store\""], "File": "SystemZInstrInfo25", "Func": "storeRegToStackSlot", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22205, "Length": 216, "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": 22206, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "csky_conditional_register_usage", "(", "void", ")", "{", "if", "(", "TARGET_MINI_REGISTERS", ")", "{", "int", "i", ";", "for", "(", "i", "=", "(", "CSKY_LAST_MINI_REGNUM", "+", "1", ")", ";", "i", "<", "32", ";", "i", "++", ")", "{", "fixed_regs", "[", "i", "]", "=", "1", ";", "call_used_regs", "[", "i", "]", "=", "1", ";", "call_really_used_regs", "[", "i", "]", "=", "1", ";", "}", "}", "else", "if", "(", "CSKY_TARGET_ARCH", "(", "CK802", ")", "||", "CSKY_TARGET_ARCH", "(", "CK803", ")", "||", "!", "TARGET_HIGH_REGISTERS", ")", "{", "int", "i", ";", "for", "(", "i", "=", "CSKY_FIRST_HIGH_REGNUM", ";", "i", "<=", "CSKY_LAST_HIGH_REGNUM", ";", "i", "++", ")", "{", "fixed_regs", "[", "i", "]", "=", "1", ";", "call_used_regs", "[", "i", "]", "=", "1", ";", "call_really_used_regs", "[", "i", "]", "=", "1", ";", "}", "}", "if", "(", "CSKY_TARGET_ARCH", "(", "CK801", ")", "||", "CSKY_TARGET_ARCH", "(", "CK802", ")", ")", "{", "fixed_regs", "[", "CSKY_LR_REGNUM", "]", "=", "1", ";", "call_used_regs", "[", "CSKY_LR_REGNUM", "]", "=", "1", ";", "call_really_used_regs", "[", "CSKY_LR_REGNUM", "]", "=", "0", ";", "}", "if", "(", "!", "TARGET_DSP", ")", "{", "fixed_regs", "[", "CSKY_HI_REGNUM", "]", "=", "1", ";", "call_used_regs", "[", "CSKY_HI_REGNUM", "]", "=", "1", ";", "call_really_used_regs", "[", "CSKY_HI_REGNUM", "]", "=", "1", ";", "fixed_regs", "[", "CSKY_LO_REGNUM", "]", "=", "1", ";", "call_used_regs", "[", "CSKY_LO_REGNUM", "]", "=", "1", ";", "call_really_used_regs", "[", "CSKY_LO_REGNUM", "]", "=", "1", ";", "}", "if", "(", "!", "TARGET_HARD_FLOAT", ")", "{", "int", "regno", ";", "for", "(", "regno", "=", "CSKY_FIRST_VFP_REGNUM", ";", "regno", "<=", "CSKY_LAST_VFP_REGNUM", ";", "regno", "++", ")", "{", "fixed_regs", "[", "regno", "]", "=", "1", ";", "call_used_regs", "[", "regno", "]", "=", "1", ";", "call_really_used_regs", "[", "regno", "]", "=", "1", ";", "}", "}", "if", "(", "flag_pic", ")", "{", "fixed_regs", "[", "PIC_OFFSET_TABLE_REGNUM", "]", "=", "1", ";", "call_used_regs", "[", "PIC_OFFSET_TABLE_REGNUM", "]", "=", "1", ";", "call_really_used_regs", "[", "PIC_OFFSET_TABLE_REGNUM", "]", "=", "0", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_CONDITIONAL_REGISTER_USAGE", ".", "Conditionally", "modify", "five", "variables", "fixed_regs", ",", "call_used_regs", ",", "global_regs", ",", "reg_names", ",", "and", "reg_class_contents", ",", "to", "take", "into", "account", "any", "dependence", "of", "these", "register", "sets", "on", "target", "flags", ".", "CK801", "has", "registers", "r0-r8", "and", "r13-r15", ".", "CK802", "and", "CK803", "have", "registers", "r0-r15", "(", "the", "``", "low", "''", "registers", ")", ".", "Other", "cpus", "use", "registers", "r0-r31", "with", "-mhigh-registers", ",", "otherwise", "also", "only", "r0-r15", ".", "CK801", "only", "has", "16-bit", "instructions", ",", "most", "of", "which", "can", "only", "reference", "r0-r7", "(", "the", "``", "mini", "''", "registers", ")", ".", "So", "we", "mark", "regs", "outside", "that", "range", "as", "fixed", ".", "-msmart", "can", "be", "used", "on", "other", "arch", "variants", "to", "force", "the", "same", "behavior", "because", "it", "results", "in", "smaller", "code", "size", ".", "TODO", ":", "investigate", "whether", "it", "'s", "beneficial", "to", "use", "r8-r13", "as", "a", "spill", "class", "when", "TARGET_MINI_REGISTERS", "instead", "of", "making", "them", "unusable", "by", "the", "register", "allocator", "."], "TS_V_token": ["csky", "1", "32", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0"], "File": "csky2", "Func": "csky_conditional_register_usage", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22207, "Length": 271, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMicroMips", "(", ")", "const", "{", "return", "STI", ".", "getFeatureBits", "(", ")", "&", "Mips", "::", "FeatureMicroMips", ";", "}", ""], "natrual_language": ["Check", "whether", "a", "given", "symbol", "has", "been", "flagged", "with", "MICROMIPS", "flag", "."], "TS_V_token": ["Mips", "Mips", "Mips::FeatureMicroMips"], "File": "MipsAsmParser29", "Func": "isMicroMips", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22208, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_declare_function_name", "(", "FILE", "*", "stream", ",", "const", "char", "*", "name", ",", "tree", "decl", ")", "{", "fprintf", "(", "stream", ",", "\"\\t.syntax unified\\n\"", ")", ";", "if", "(", "TARGET_THUMB", ")", "{", "if", "(", "is_called_in_ARM_mode", "(", "decl", ")", "||", "(", "TARGET_THUMB1", "&&", "!", "TARGET_THUMB1_ONLY", "&&", "cfun", "->", "is_thunk", ")", ")", "fprintf", "(", "stream", ",", "\"\\t.code 32\\n\"", ")", ";", "else", "if", "(", "TARGET_THUMB1", ")", "fprintf", "(", "stream", ",", "\"\\t.code\\t16\\n\\t.thumb_func\\n\"", ")", ";", "else", "fprintf", "(", "stream", ",", "\"\\t.thumb\\n\\t.thumb_func\\n\"", ")", ";", "}", "else", "fprintf", "(", "stream", ",", "\"\\t.arm\\n\"", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t.fpu %s\\n\"", ",", "(", "TARGET_SOFT_FLOAT", "?", "\"softvfp\"", ":", "arm_identify_fpu_from_isa", "(", "arm_active_target", ".", "isa", ")", ")", ")", ";", "if", "(", "TARGET_POKE_FUNCTION_NAME", ")", "arm_poke_function_name", "(", "stream", ",", "(", "const", "char", "*", ")", "name", ")", ";", "}", ""], "natrual_language": ["Implement", "ASM_DECLARE_FUNCTION_NAME", ".", "Output", "the", "ISA", "features", "used", "by", "the", "function", "fndecl", "."], "TS_V_token": ["arm", "\"\\t.syntax unified\\n\"", "\"\\t.code 32\\n\"", "\"\\t.code\\t16\\n\\t.thumb_func\\n\"", "\"\\t.thumb\\n\\t.thumb_func\\n\"", "\"\\t.arm\\n\"", "\"\\t.fpu %s\\n\"", "\"softvfp\""], "File": "arm6", "Func": "arm_declare_function_name", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22209, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "VERegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "switch", "(", "CC", ")", "{", "default", ":", "return", "CSR_RegMask", ";", "case", "CallingConv", "::", "PreserveAll", ":", "return", "CSR_preserve_all_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": "VERegisterInfo", "Func": "getCallPreservedMask", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22210, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "aarch_parse_opt_result", "aarch_parse_branch_protection", "(", "const", "char", "*", "const_str", ",", "char", "*", "*", "last_str", ")", "{", "char", "*", "str_root", "=", "xstrdup", "(", "const_str", ")", ";", "char", "*", "token_save", "=", "NULL", ";", "char", "*", "str", "=", "strtok_r", "(", "str_root", ",", "\"+\"", ",", "&", "token_save", ")", ";", "enum", "aarch_parse_opt_result", "res", "=", "AARCH_PARSE_OK", ";", "if", "(", "!", "str", ")", "res", "=", "AARCH_PARSE_MISSING_ARG", ";", "else", "{", "char", "*", "next_str", "=", "strtok_r", "(", "NULL", ",", "\"+\"", ",", "&", "token_save", ")", ";", "aarch_handle_no_branch_protection", "(", "NULL", ",", "NULL", ")", ";", "while", "(", "str", "&&", "res", "==", "AARCH_PARSE_OK", ")", "{", "const", "aarch_branch_protect_type", "*", "type", "=", "aarch_branch_protect_types", ";", "bool", "found", "=", "false", ";", "while", "(", "type", "&&", "type", "->", "name", "&&", "!", "found", "&&", "res", "==", "AARCH_PARSE_OK", ")", "{", "if", "(", "strcmp", "(", "str", ",", "type", "->", "name", ")", "==", "0", ")", "{", "found", "=", "true", ";", "res", "=", "type", "->", "handler", "(", "str", ",", "next_str", ")", ";", "str", "=", "next_str", ";", "next_str", "=", "strtok_r", "(", "NULL", ",", "\"+\"", ",", "&", "token_save", ")", ";", "}", "else", "type", "++", ";", "}", "if", "(", "found", "&&", "res", "==", "AARCH_PARSE_OK", ")", "{", "bool", "found_subtype", "=", "true", ";", "while", "(", "found_subtype", ")", "{", "found_subtype", "=", "false", ";", "const", "aarch_branch_protect_type", "*", "subtype", "=", "type", "->", "subtypes", ";", "while", "(", "str", "&&", "subtype", "&&", "subtype", "->", "name", "&&", "!", "found_subtype", "&&", "res", "==", "AARCH_PARSE_OK", ")", "{", "if", "(", "strcmp", "(", "str", ",", "subtype", "->", "name", ")", "==", "0", ")", "{", "found_subtype", "=", "true", ";", "res", "=", "subtype", "->", "handler", "(", "str", ",", "next_str", ")", ";", "str", "=", "next_str", ";", "next_str", "=", "strtok_r", "(", "NULL", ",", "\"+\"", ",", "&", "token_save", ")", ";", "}", "else", "subtype", "++", ";", "}", "}", "}", "else", "if", "(", "!", "found", ")", "res", "=", "AARCH_PARSE_INVALID_ARG", ";", "}", "}", "if", "(", "last_str", ")", "{", "if", "(", "str", ")", "strcpy", "(", "*", "last_str", ",", "str", ")", ";", "else", "*", "last_str", "=", "NULL", ";", "}", "if", "(", "res", "==", "AARCH_PARSE_OK", ")", "{", "if", "(", "!", "accepted_branch_protection_string", ")", "accepted_branch_protection_string", "=", "(", "char", "*", ")", "xmalloc", "(", "BRANCH_PROTECT_STR_MAX", "+", "1", ")", ";", "strncpy", "(", "accepted_branch_protection_string", ",", "const_str", ",", "BRANCH_PROTECT_STR_MAX", "+", "1", ")", ";", "accepted_branch_protection_string", "[", "BRANCH_PROTECT_STR_MAX", "]", "=", "'\\0'", ";", "}", "return", "res", ";", "}", ""], "natrual_language": ["Parses", "CONST_STR", "for", "branch", "protection", "features", "specified", "in", "aarch64_branch_protect_types", ",", "and", "set", "any", "global", "variables", "required", ".", "Returns", "the", "parsing", "result", "and", "assigns", "LAST_STR", "to", "the", "last", "processed", "token", "from", "CONST_STR", "so", "that", "it", "can", "be", "used", "for", "error", "reporting", "."], "TS_V_token": ["arm", "\"+\"", "\"+\"", "0", "\"+\"", "0", "\"+\"", "1", "1"], "File": "aarch-common1", "Func": "aarch_parse_branch_protection", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22211, "Length": 357, "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": ["X86"], "File": "X86ISelLowering", "Func": "supportSplitCSR", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22212, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_expand_builtin_compare_1", "(", "enum", "insn_code", "icode", ",", "enum", "mips_fp_condition", "cond", ",", "tree", "exp", ",", "int", "nargs", ")", "{", "struct", "expand_operand", "ops", "[", "MAX_RECOG_OPERANDS", "]", ";", "rtx", "output", ";", "int", "opno", ",", "argno", ";", "gcc_assert", "(", "nargs", "+", "2", "==", "insn_data", "[", "(", "int", ")", "icode", "]", ".", "n_generator_args", ")", ";", "output", "=", "mips_allocate_fcc", "(", "insn_data", "[", "(", "int", ")", "icode", "]", ".", "operand", "[", "0", "]", ".", "mode", ")", ";", "opno", "=", "0", ";", "create_fixed_operand", "(", "&", "ops", "[", "opno", "++", "]", ",", "output", ")", ";", "for", "(", "argno", "=", "0", ";", "argno", "<", "nargs", ";", "argno", "++", ")", "mips_prepare_builtin_arg", "(", "&", "ops", "[", "opno", "++", "]", ",", "exp", ",", "argno", ")", ";", "create_integer_operand", "(", "&", "ops", "[", "opno", "++", "]", ",", "(", "int", ")", "cond", ")", ";", "return", "mips_expand_builtin_insn", "(", "icode", ",", "opno", ",", "ops", ",", "true", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "floating-point", "comparison", "for", "built-in", "function", "call", "EXP", ".", "The", "first", "NARGS", "arguments", "are", "the", "values", "to", "be", "compared", ".", "ICODE", "is", "the", ".md", "pattern", "that", "does", "the", "comparison", "and", "COND", "is", "the", "condition", "that", "is", "being", "tested", ".", "Return", "an", "rtx", "for", "the", "result", "."], "TS_V_token": ["mips", "2", "0", "0", "0"], "File": "mips", "Func": "mips_expand_builtin_compare_1", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22213, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_register_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "from", ",", "reg_class_t", "to", ")", "{", "int", "ret", ";", "if", "(", "TARGET_DEBUG_COST", ")", "dbg_cost_ctrl", "++", ";", "if", "(", "reg_classes_intersect_p", "(", "to", ",", "GENERAL_REGS", ")", "||", "reg_classes_intersect_p", "(", "from", ",", "GENERAL_REGS", ")", ")", "{", "reg_class_t", "rclass", "=", "from", ";", "if", "(", "!", "reg_classes_intersect_p", "(", "to", ",", "GENERAL_REGS", ")", ")", "rclass", "=", "to", ";", "if", "(", "rclass", "==", "FLOAT_REGS", "||", "rclass", "==", "ALTIVEC_REGS", "||", "rclass", "==", "VSX_REGS", ")", "ret", "=", "(", "rs6000_memory_move_cost", "(", "mode", ",", "rclass", ",", "false", ")", "+", "rs6000_memory_move_cost", "(", "mode", ",", "GENERAL_REGS", ",", "false", ")", ")", ";", "else", "if", "(", "rclass", "==", "CR_REGS", ")", "ret", "=", "4", ";", "else", "if", "(", "(", "rs6000_cpu", "==", "PROCESSOR_POWER6", "||", "rs6000_cpu", "==", "PROCESSOR_POWER7", "||", "rs6000_cpu", "==", "PROCESSOR_POWER8", "||", "rs6000_cpu", "==", "PROCESSOR_POWER9", ")", "&&", "reg_classes_intersect_p", "(", "rclass", ",", "LINK_OR_CTR_REGS", ")", ")", "ret", "=", "6", "*", "hard_regno_nregs", "[", "0", "]", "[", "mode", "]", ";", "else", "ret", "=", "2", "*", "hard_regno_nregs", "[", "0", "]", "[", "mode", "]", ";", "}", "else", "if", "(", "VECTOR_MEM_VSX_P", "(", "mode", ")", "&&", "reg_classes_intersect_p", "(", "to", ",", "VSX_REGS", ")", "&&", "reg_classes_intersect_p", "(", "from", ",", "VSX_REGS", ")", ")", "ret", "=", "2", "*", "hard_regno_nregs", "[", "FIRST_FPR_REGNO", "]", "[", "mode", "]", ";", "else", "if", "(", "reg_classes_intersect_p", "(", "to", ",", "from", ")", ")", "ret", "=", "(", "FLOAT128_2REG_P", "(", "mode", ")", ")", "?", "4", ":", "2", ";", "else", "ret", "=", "(", "rs6000_register_move_cost", "(", "mode", ",", "GENERAL_REGS", ",", "to", ")", "+", "rs6000_register_move_cost", "(", "mode", ",", "from", ",", "GENERAL_REGS", ")", ")", ";", "if", "(", "TARGET_DEBUG_COST", ")", "{", "if", "(", "dbg_cost_ctrl", "==", "1", ")", "fprintf", "(", "stderr", ",", "\"rs6000_register_move_cost:, ret=%d, mode=%s, from=%s, to=%s\\n\"", ",", "ret", ",", "GET_MODE_NAME", "(", "mode", ")", ",", "reg_class_names", "[", "from", "]", ",", "reg_class_names", "[", "to", "]", ")", ";", "dbg_cost_ctrl", "--", ";", "}", "return", "ret", ";", "}", ""], "natrual_language": ["A", "C", "expression", "returning", "the", "cost", "of", "moving", "data", "from", "a", "register", "of", "class", "CLASS1", "to", "one", "of", "CLASS2", "."], "TS_V_token": ["rs6000", "4", "6", "0", "2", "0", "2", "4", "2", "1", "\"rs6000_register_move_cost:, ret=%d, mode=%s, from=%s, to=%s\\n\""], "File": "rs60006", "Func": "rs6000_register_move_cost", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22214, "Length": 284, "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": "ARMCallLowering14", "Func": "assignValueToReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22215, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_setup_incoming_varargs", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ",", "int", "*", ",", "int", "no_rtl", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "CUMULATIVE_ARGS", "next_cum", ";", "tree", "fntype", ";", "gcc_assert", "(", "!", "no_rtl", ")", ";", "if", "(", "!", "TARGET_64BIT", ")", "return", ";", "fntype", "=", "TREE_TYPE", "(", "current_function_decl", ")", ";", "next_cum", "=", "*", "cum", ";", "if", "(", "!", "TYPE_NO_NAMED_ARGS_STDARG_P", "(", "TREE_TYPE", "(", "current_function_decl", ")", ")", "&&", "stdarg_p", "(", "fntype", ")", ")", "ix86_function_arg_advance", "(", "pack_cumulative_args", "(", "&", "next_cum", ")", ",", "arg", ")", ";", "if", "(", "cum", "->", "call_abi", "==", "MS_ABI", ")", "setup_incoming_varargs_ms_64", "(", "&", "next_cum", ")", ";", "else", "setup_incoming_varargs_64", "(", "&", "next_cum", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["i386"], "File": "i3861", "Func": "ix86_setup_incoming_varargs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22216, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "expand_vselect", "(", "rtx", "target", ",", "rtx", "op0", ",", "const", "unsigned", "char", "*", "perm", ",", "unsigned", "nelt", ")", "{", "rtx", "rperm", "[", "MAX_VECT_LEN", "]", ",", "x", ";", "unsigned", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "++", "i", ")", "rperm", "[", "i", "]", "=", "GEN_INT", "(", "perm", "[", "i", "]", ")", ";", "x", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec_v", "(", "nelt", ",", "rperm", ")", ")", ";", "x", "=", "gen_rtx_VEC_SELECT", "(", "GET_MODE", "(", "target", ")", ",", "op0", ",", "x", ")", ";", "x", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "target", ",", "x", ")", ";", "rtx_insn", "*", "insn", "=", "emit_insn", "(", "x", ")", ";", "if", "(", "recog_memoized", "(", "insn", ")", "<", "0", ")", "{", "remove_insn", "(", "insn", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Construct", "(", "set", "target", "(", "vec_select", "op0", "(", "parallel", "perm", ")", ")", ")", "and", "return", "true", "if", "that", "'s", "a", "valid", "instruction", "in", "the", "active", "ISA", "."], "TS_V_token": ["ia64", "0", "0"], "File": "ia644", "Func": "expand_vselect", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22217, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mmix_output_shiftvalue_op_from_str", "(", "FILE", "*", "stream", ",", "const", "char", "*", "mainop", ",", "HOST_WIDEST_INT", "value", ")", "{", "static", "const", "char", "*", "const", "op_part", "[", "]", "=", "{", "\"L\"", ",", "\"ML\"", ",", "\"MH\"", ",", "\"H\"", "}", ";", "int", "i", ";", "if", "(", "!", "mmix_shiftable_wyde_value", "(", "value", ")", ")", "{", "char", "s", "[", "sizeof", "(", "\"0xffffffffffffffff\"", ")", "]", ";", "sprintf", "(", "s", ",", "HOST_WIDEST_INT_PRINT_HEX", ",", "value", ")", ";", "internal_error", "(", "\"MMIX Internal: %s is not a shiftable int\"", ",", "s", ")", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "4", ";", "i", "++", ")", "{", "if", "(", "value", "&", "0xffff", ")", "{", "fprintf", "(", "stream", ",", "\"%s%s\"", ",", "mainop", ",", "op_part", "[", "i", "]", ")", ";", "return", ";", "}", "value", ">>=", "16", ";", "}", "fprintf", "(", "stream", ",", "\"%sL\"", ",", "mainop", ")", ";", "}", ""], "natrual_language": ["Print", "operator", "suitable", "for", "doing", "something", "with", "a", "shiftable", "wyde", ".", "The", "type", "of", "operator", "is", "passed", "as", "an", "asm", "output", "modifier", "."], "TS_V_token": ["mmix", "\"L\"", "\"ML\"", "\"MH\"", "\"H\"", "\"0xffffffffffffffff\"", "\"MMIX Internal: %s is not a shiftable int\"", "0", "4", "0xffff", "\"%s%s\"", "16", "\"%sL\""], "File": "mmix3", "Func": "mmix_output_shiftvalue_op_from_str", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22218, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ARMSubtarget", "*", "ARMBaseTargetMachine", "::", "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", ".", "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", "<", "ARMSubtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "*", "this", ",", "isLittle", ")", ";", "}", "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": ["ARM", "ARM", "ARM", "\"target-cpu\"", "\"target-features\"", "\"use-soft-float\"", "\"true\"", "\"+soft-float\"", "\",+soft-float\"", "ARM"], "File": "ARMTargetMachine107", "Func": "getSubtargetImpl", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22219, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isPredicable", "(", "MachineInstr", "*", "MI", ")", "const", "{", "if", "(", "!", "MI", "->", "isPredicable", "(", ")", ")", "return", "false", ";", "if", "(", "(", "MI", "->", "getDesc", "(", ")", ".", "TSFlags", "&", "ARMII", "::", "DomainMask", ")", "==", "ARMII", "::", "DomainNEON", ")", "{", "ARMFunctionInfo", "*", "AFI", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "return", "AFI", "->", "isThumb2Function", "(", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "instruction", "can", "be", "predicated", "."], "TS_V_token": ["ARM", "ARM", "ARMII::DomainMask", "ARMII::DomainNEON", "ARM", "ARM"], "File": "ARMBaseInstrInfo (2)1", "Func": "isPredicable", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22220, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ix86_match_ccmode", "(", "rtx", "insn", ",", "enum", "machine_mode", "req_mode", ")", "{", "rtx", "set", ";", "enum", "machine_mode", "set_mode", ";", "set", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "set", ")", "==", "PARALLEL", ")", "set", "=", "XVECEXP", "(", "set", ",", "0", ",", "0", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "set", ")", "==", "SET", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "SET_SRC", "(", "set", ")", ")", "==", "COMPARE", ")", ";", "set_mode", "=", "GET_MODE", "(", "SET_DEST", "(", "set", ")", ")", ";", "switch", "(", "set_mode", ")", "{", "case", "CCNOmode", ":", "if", "(", "req_mode", "!=", "CCNOmode", "&&", "(", "req_mode", "!=", "CCmode", "||", "XEXP", "(", "SET_SRC", "(", "set", ")", ",", "1", ")", "!=", "const0_rtx", ")", ")", "return", "0", ";", "break", ";", "case", "CCmode", ":", "if", "(", "req_mode", "==", "CCGCmode", ")", "return", "0", ";", "case", "CCGCmode", ":", "if", "(", "req_mode", "==", "CCGOCmode", "||", "req_mode", "==", "CCNOmode", ")", "return", "0", ";", "case", "CCGOCmode", ":", "if", "(", "req_mode", "==", "CCZmode", ")", "return", "0", ";", "case", "CCZmode", ":", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "(", "GET_MODE", "(", "SET_SRC", "(", "set", ")", ")", "==", "set_mode", ")", ";", "}", ""], "natrual_language": ["Return", "TRUE", "or", "FALSE", "depending", "on", "whether", "the", "first", "SET", "in", "INSN", "has", "source", "and", "destination", "with", "matching", "CC", "modes", ",", "and", "that", "the", "CC", "mode", "is", "at", "least", "as", "constrained", "as", "REQ_MODE", "."], "TS_V_token": ["i386", "0", "0", "1", "0", "0", "0", "0"], "File": "i3863", "Func": "ix86_match_ccmode", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22221, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "uint16_t", ",", "uint16_t", ">", "ARMBaseInstrInfo", "::", "getExecutionDomain", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "VMOVD", "&&", "!", "isPredicated", "(", "MI", ")", ")", "return", "std", "::", "make_pair", "(", "ExeVFP", ",", "(", "1", "<<", "ExeVFP", ")", "|", "(", "1", "<<", "ExeNEON", ")", ")", ";", "if", "(", "Subtarget", ".", "isLikeA9", "(", ")", "&&", "!", "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": "ARMBaseInstrInfo101", "Func": "getExecutionDomain", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22222, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_pass_in_reg_p", "(", "const", "CUMULATIVE_ARGS", "&", "cum", ",", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "return", "(", "(", "type", "==", "0", "||", "(", "!", "TREE_ADDRESSABLE", "(", "type", ")", "&&", "(", "!", "(", "TARGET_HITACHI", "||", "cum", ".", "renesas_abi", ")", "||", "!", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "||", "(", "!", "TARGET_FPU_ANY", "&&", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", "&&", "GET_MODE_SIZE", "(", "mode", ")", ">", "GET_MODE_SIZE", "(", "SFmode", ")", ")", ")", ")", ")", ")", ")", "&&", "!", "cum", ".", "force_mem", "&&", "(", "TARGET_SH2E", "?", "(", "(", "mode", ")", "==", "BLKmode", "?", "(", "(", "cum", ".", "arg_count", "[", "(", "int", ")", "SH_ARG_INT", "]", "*", "UNITS_PER_WORD", "+", "int_size_in_bytes", "(", "type", ")", ")", "<=", "NPARM_REGS", "(", "SImode", ")", "*", "UNITS_PER_WORD", ")", ":", "(", "(", "sh_round_reg", "(", "cum", ",", "mode", ")", "+", "HARD_REGNO_NREGS", "(", "BASE_ARG_REG", "(", "mode", ")", ",", "mode", ")", ")", "<=", "NPARM_REGS", "(", "mode", ")", ")", ")", ":", "sh_round_reg", "(", "cum", ",", "mode", ")", "<", "NPARM_REGS", "(", "mode", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "arg", "of", "the", "specified", "mode", "should", "be", "be", "passed", "in", "a", "register", "or", "false", "otherwise", "."], "TS_V_token": ["sh", "0"], "File": "sh4", "Func": "sh_pass_in_reg_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22223, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XNCMInstrInfo", "::", "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": ["XNCM", "XNCM"], "File": "XNCMInstrInfo", "Func": "isUnpredicatedTerminator", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22224, "Length": 62, "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": 22225, "Length": 407, "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", "::", "LDXri", "||", "MI", ".", "getOpcode", "(", ")", "==", "SP", "::", "LDFri", "||", "MI", ".", "getOpcode", "(", ")", "==", "SP", "::", "LDDFri", "||", "MI", ".", "getOpcode", "(", ")", "==", "SP", "::", "LDQFri", ")", "{", "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::LDXri", "SP::LDFri", "SP::LDDFri", "SP::LDQFri", "1", "2", "2", "0", "1", "0", "0"], "File": "SparcInstrInfo1", "Func": "isLoadFromStackSlot", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22226, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "check_label_emit", "(", ")", "{", "if", "(", "mvs_need_base_reload", ")", "{", "mvs_need_base_reload", "=", "0", ";", "mvs_page_code", "+=", "4", ";", "fprintf", "(", "assembler_source", ",", "\"\\tL\\t%d,%d(,%d)\\n\"", ",", "BASE_REGISTER", ",", "(", "mvs_page_num", "-", "function_base_page", ")", "*", "4", ",", "PAGE_REGISTER", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "reload", "of", "base", "register", "if", "indicated", ".", "This", "is", "to", "eliminate", "multiple", "reloads", "when", "several", "labels", "are", "generated", "pointing", "to", "the", "same", "place", "in", "the", "code", ".", "The", "page", "table", "is", "written", "at", "the", "end", "of", "the", "function", ".", "The", "entries", "in", "the", "page", "table", "look", "like", ".LPGT0", ":", "//", "PGT0", "EQU", "*", ".long", ".LPG0", "//", "DC", "A", "(", "PG0", ")", ".long", ".LPG1", "//", "DC", "A", "(", "PG1", ")", "while", "the", "prologue", "generates", "L", "r4", ",", "=A", "(", ".LPGT0", ")", "Note", "that", "this", "paging", "scheme", "breaks", "down", "if", "a", "single", "subroutine", "has", "more", "than", "about", "10MB", "of", "code", "in", "it", "...", "as", "long", "as", "humans", "write", "code", ",", "this", "should", "n't", "be", "a", "problem", "..."], "TS_V_token": ["i370", "0", "4", "\"\\tL\\t%d,%d(,%d)\\n\"", "4"], "File": "i370", "Func": "check_label_emit", "Target": "i370", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22227, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb2InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "if", "(", "!", "ARM", "::", "GPRRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "return", "ARMBaseInstrInfo", "::", "copyPhysReg", "(", "MBB", ",", "I", ",", "DL", ",", "DestReg", ",", "SrcReg", ",", "KillSrc", ")", ";", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tMOVr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["ARM", "ARM::GPRRegClass", "ARM", "ARM::tMOVr"], "File": "Thumb2InstrInfo (2)", "Func": "copyPhysReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22228, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "postOffset", "(", "Align", "Alignment", "=", "Align", "::", "None", "(", ")", ")", "const", "{", "unsigned", "PO", "=", "Offset", "+", "Size", ";", "const", "Align", "PA", "=", "std", "::", "max", "(", "PostAlign", ",", "Alignment", ")", ";", "if", "(", "PA", "==", "Align", "::", "None", "(", ")", ")", "return", "PO", ";", "return", "PO", "+", "UnknownPadding", "(", "PA", ",", "internalKnownBits", "(", ")", ")", ";", "}", ""], "natrual_language": ["Compute", "the", "offset", "immediately", "following", "this", "block", "."], "TS_V_token": ["ARM"], "File": "ARMBasicBlockInfo11", "Func": "postOffset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22229, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_default_short_enums", "(", "void", ")", "{", "return", "ARM_DEFAULT_SHORT_ENUMS", ";", "}", ""], "natrual_language": ["AAPCS", "based", "ABIs", "use", "short", "enums", "by", "default", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_default_short_enums", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22230, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTTIImpl", "::", "getCacheLineSize", "(", ")", "const", "{", "if", "(", "CacheLineSize", ".", "getNumOccurrences", "(", ")", ">", "0", ")", "return", "CacheLineSize", ";", "unsigned", "Directive", "=", "ST", "->", "getCPUDirective", "(", ")", ";", "if", "(", "Directive", "==", "PPC", "::", "DIR_PWR7", "||", "Directive", "==", "PPC", "::", "DIR_PWR8", "||", "Directive", "==", "PPC", "::", "DIR_PWR9", "||", "Directive", "==", "PPC", "::", "DIR_PWR10", "||", "Directive", "==", "PPC", "::", "DIR_PWR_FUTURE", ")", "return", "128", ";", "return", "64", ";", "}", ""], "natrual_language": ["Return", "the", "target", "cache", "line", "size", "in", "bytes", "."], "TS_V_token": ["PowerPC", "PPC", "0", "PPC::DIR_PWR7", "PPC::DIR_PWR8", "PPC::DIR_PWR9", "PPC::DIR_PWR10", "PPC::DIR_PWR_FUTURE", "128", "64"], "File": "PPCTargetTransformInfo1", "Func": "getCacheLineSize", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22231, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "A57ChainingConstraint", "::", "apply", "(", "PBQPRAGraph", "&", "G", ")", "{", "const", "MachineFunction", "&", "MF", "=", "G", ".", "getMetadata", "(", ")", ".", "MF", ";", "LiveIntervals", "&", "LIs", "=", "G", ".", "getMetadata", "(", ")", ".", "LIS", ";", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "DEBUG", "(", "MF", ".", "dump", "(", ")", ")", ";", "for", "(", "const", "auto", "&", "MBB", ":", "MF", ")", "{", "Chains", ".", "clear", "(", ")", ";", "for", "(", "const", "auto", "&", "MI", ":", "MBB", ")", "{", "for", "(", "auto", "r", ":", "Chains", ")", "{", "SmallVector", "<", "unsigned", ",", "8", ">", "toDel", ";", "if", "(", "regJustKilledBefore", "(", "LIs", ",", "r", ",", "MI", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Killing chain \"", "<<", "PrintReg", "(", "r", ",", "TRI", ")", "<<", "\" at \"", ";", "MI", ".", "print", "(", "dbgs", "(", ")", ")", ";", ")", ";", "toDel", ".", "push_back", "(", "r", ")", ";", "}", "while", "(", "!", "toDel", ".", "empty", "(", ")", ")", "{", "Chains", ".", "remove", "(", "toDel", ".", "back", "(", ")", ")", ";", "toDel", ".", "pop_back", "(", ")", ";", "}", "}", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "AArch64", "::", "FMSUBSrrr", ":", "case", "AArch64", "::", "FMADDSrrr", ":", "case", "AArch64", "::", "FNMSUBSrrr", ":", "case", "AArch64", "::", "FNMADDSrrr", ":", "case", "AArch64", "::", "FMSUBDrrr", ":", "case", "AArch64", "::", "FMADDDrrr", ":", "case", "AArch64", "::", "FNMSUBDrrr", ":", "case", "AArch64", "::", "FNMADDDrrr", ":", "{", "unsigned", "Rd", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "unsigned", "Ra", "=", "MI", ".", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", ";", "if", "(", "addIntraChainConstraint", "(", "G", ",", "Rd", ",", "Ra", ")", ")", "addInterChainConstraint", "(", "G", ",", "Rd", ",", "Ra", ")", ";", "break", ";", "}", "case", "AArch64", "::", "FMLAv2f32", ":", "case", "AArch64", "::", "FMLSv2f32", ":", "{", "unsigned", "Rd", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "addInterChainConstraint", "(", "G", ",", "Rd", ",", "Rd", ")", ";", "break", ";", "}", "default", ":", "break", ";", "}", "}", "}", "}", ""], "natrual_language": ["Apply", "the", "profile", "inference", "algorithm", "for", "a", "given", "function", "."], "TS_V_token": ["AArch64", "8", "\"Killing chain \"", "\" at \"", "AArch64::FMSUBSrrr", "AArch64::FMADDSrrr", "AArch64::FNMSUBSrrr", "AArch64::FNMADDSrrr", "AArch64::FMSUBDrrr", "AArch64::FMADDDrrr", "AArch64::FNMSUBDrrr", "AArch64::FNMADDDrrr", "0", "3", "AArch64::FMLAv2f32", "AArch64::FMLSv2f32", "0"], "File": "AArch64PBQPRegAlloc (2)", "Func": "apply", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22232, "Length": 321, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createAArch64ISelDag", "(", "getAArch64TargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "if", "(", "Triple", "(", "TM", "->", "getTargetTriple", "(", ")", ")", ".", "isOSBinFormatELF", "(", ")", "&&", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createAArch64CleanupLocalDynamicTLSPass", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine29", "Func": "addInstSelector", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22233, "Length": 55, "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", "(", ")", ";", "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", "PPCII::PPC970_Unit", "PPCII::PPC970_Pseudo", "PPC::MTCTR", "PPC::MTCTR8", "4", "PPCII::PPC970_BRU", "4", "5"], "File": "PPCHazardRecognizers15", "Func": "EmitInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22234, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Cpu0TargetLowering", "::", "ConstraintType", "Cpu0TargetLowering", "::", "getConstraintType", "(", "StringRef", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'c'", ":", "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": ["Cpu0", "Cpu0", "Cpu0", "1", "0"], "File": "Cpu0ISelLowering4", "Func": "getConstraintType", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22235, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcCodeEmitter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "SparcTargetMachine", "&", "Target", "=", "static_cast", "<", "SparcTargetMachine", "&", ">", "(", "const_cast", "<", "TargetMachine", "&", ">", "(", "MF", ".", "getTarget", "(", ")", ")", ")", ";", "JTI", "=", "Target", ".", "getJITInfo", "(", ")", ";", "II", "=", "Target", ".", "getInstrInfo", "(", ")", ";", "TD", "=", "Target", ".", "getDataLayout", "(", ")", ";", "Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "SparcSubtarget", ">", "(", ")", ";", "MCPEs", "=", "&", "MF", ".", "getConstantPool", "(", ")", "->", "getConstants", "(", ")", ";", "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", ";", ")", "emitInstruction", "(", "*", "I", "++", ",", "*", "MBB", ")", ";", "}", "}", "while", "(", "MCE", ".", "finishFunction", "(", "MF", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "\"JITTing function '\"", "\"'\\n\""], "File": "SparcCodeEmitter", "Func": "runOnMachineFunction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22236, "Length": 219, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_vector_mode_supported_p", "(", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_SIMD", "&&", "(", "mode", "==", "V4SImode", "||", "mode", "==", "V8HImode", "||", "mode", "==", "V16QImode", "||", "mode", "==", "V2DImode", "||", "mode", "==", "V2SImode", "||", "mode", "==", "V4HImode", "||", "mode", "==", "V8QImode", "||", "mode", "==", "V2SFmode", "||", "mode", "==", "V4SFmode", "||", "mode", "==", "V2DFmode", "||", "mode", "==", "V4HFmode", "||", "mode", "==", "V8HFmode", "||", "mode", "==", "V1DFmode", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implements", "target", "hook", "vector_mode_supported_p", "."], "TS_V_token": ["aarch64"], "File": "aarch643", "Func": "aarch64_vector_mode_supported_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22237, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "nds32_output_stack_pop", "(", "rtx", "par_rtx", "ATTRIBUTE_UNUSED", ")", "{", "char", "pattern", "[", "100", "]", ";", "rtx", "operands", "[", "3", "]", ";", "int", "rb_eh_data", "=", "cfun", "->", "machine", "->", "eh_return_data_first_regno", ";", "int", "re_eh_data", "=", "cfun", "->", "machine", "->", "eh_return_data_last_regno", ";", "int", "first_eh_data_regno", "=", "EH_RETURN_DATA_REGNO", "(", "0", ")", ";", "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", ",", "first_eh_data_regno", ")", ",", "par_rtx", ")", ")", "{", "operands", "[", "0", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "rb_eh_data", ")", ";", "operands", "[", "1", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "re_eh_data", ")", ";", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"pop.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", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "if", "(", "satisfies_constraint_Iu08", "(", "GEN_INT", "(", "sp_adjust", ")", ")", "&&", "NDS32_DOUBLE_WORD_ALIGN_P", "(", "sp_adjust", ")", "&&", "!", "cfun", "->", "calls_alloca", ")", "operands", "[", "1", "]", "=", "GEN_INT", "(", "sp_adjust", ")", ";", "else", "{", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "sp_adjust", "=", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "operands", "[", "1", "]", "=", "GEN_INT", "(", "sp_adjust", ")", ";", "}", "else", "{", "operands", "[", "1", "]", "=", "GEN_INT", "(", "0", ")", ";", "}", "}", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"pop25\\t%%0, %%1\"", ")", ";", "}", "else", "{", "int", "pop_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", ")", "pop_en4_only_p", "=", "1", ";", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"pop.s\\t%s{%s%s%s }\"", ",", "pop_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", "pop", "operation", ".", "We", "need", "to", "deal", "with", "normal", "stack", "pop", "multiple", "or", "stack", "v3pop", "."], "TS_V_token": ["nds32", "100", "3", "0", "0", "1", "\"pop.s\\t%s\"", "\"%0, %1, { }\"", "\"\"", "0", "0", "1", "1", "1", "0", "\"pop25\\t%%0, %%1\"", "0", "0", "1", "0", "1", "\"\"", "0", "1", "1", "\"pop.s\\t%s{%s%s%s }\"", "\"\"", "\"%0, %1, \"", "\" $fp\"", "\"\"", "\" $gp\"", "\"\"", "\" $lp\"", "\"\"", "\"\""], "File": "nds32-md-auxiliary5", "Func": "nds32_output_stack_pop", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22238, "Length": 455, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "ARM64RegisterInfo", "::", "getCallPreservedMask", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "if", "(", "CC", "==", "CallingConv", "::", "AnyReg", ")", "return", "CSR_ARM64_AllRegs_RegMask", ";", "else", "return", "CSR_ARM64_AAPCS_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["ARM64", "ARM64", "ARM64", "ARM64"], "File": "ARM64RegisterInfo", "Func": "getCallPreservedMask", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22239, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "unw_reg_state", "*", "alloc_reg_state", "(", "void", ")", "{", "struct", "unw_reg_state", "*", "rs", ";", "reg_state_alloced", "++", ";", "rs", "=", "malloc", "(", "sizeof", "(", "struct", "unw_reg_state", ")", ")", ";", "if", "(", "!", "rs", ")", "{", "int", "n", "=", "atomic_alloc", "(", "&", "emergency_reg_state_free", ")", ";", "if", "(", "n", ">=", "0", ")", "rs", "=", "&", "emergency_reg_state", "[", "n", "]", ";", "}", "return", "rs", ";", "}", ""], "natrual_language": ["Allocation", "and", "deallocation", "of", "structures", "."], "TS_V_token": ["ia64", "0"], "File": "unwind-ia64", "Func": "alloc_reg_state", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22240, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_loads_bankedreg_p", "(", "rtx", "insn", ")", "{", "if", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "SET", ")", "{", "rtx", "op", "=", "SET_DEST", "(", "PATTERN", "(", "insn", ")", ")", ";", "if", "(", "REG_P", "(", "op", ")", "&&", "BANKED_REGISTER_P", "(", "REGNO", "(", "op", ")", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "iff", "INSN", "loads", "a", "banked", "register", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "sh_loads_bankedreg_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22241, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_probe_stack_range", "(", "HOST_WIDE_INT", "first", ",", "HOST_WIDE_INT", "size", ")", "{", "if", "(", "size", "<=", "6", "*", "PROBE_INTERVAL", ")", "{", "HOST_WIDE_INT", "i", ";", "for", "(", "i", "=", "PROBE_INTERVAL", ";", "i", "<", "size", ";", "i", "+=", "PROBE_INTERVAL", ")", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "(", "first", "+", "i", ")", ")", ")", ";", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "(", "first", "+", "size", ")", ")", ")", ";", "}", "else", "{", "HOST_WIDE_INT", "rounded_size", ",", "last", ";", "struct", "scratch_reg", "sr", ";", "get_scratch_register_on_entry", "(", "&", "sr", ")", ";", "rounded_size", "=", "ROUND_DOWN", "(", "size", ",", "PROBE_INTERVAL", ")", ";", "emit_move_insn", "(", "sr", ".", "reg", ",", "GEN_INT", "(", "-", "first", ")", ")", ";", "last", "=", "first", "+", "rounded_size", ";", "emit_insn", "(", "ix86_gen_probe_stack_range", "(", "sr", ".", "reg", ",", "sr", ".", "reg", ",", "GEN_INT", "(", "-", "last", ")", ")", ")", ";", "if", "(", "size", "!=", "rounded_size", ")", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "sr", ".", "reg", ")", ",", "rounded_size", "-", "size", ")", ")", ";", "release_scratch_register_on_entry", "(", "&", "sr", ")", ";", "}", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "probe", "a", "range", "of", "stack", "addresses", "from", "FIRST", "to", "FIRST+SIZE", ",", "inclusive", ".", "These", "are", "offsets", "from", "the", "current", "stack", "pointer", "."], "TS_V_token": ["i386", "6"], "File": "i3865", "Func": "ix86_emit_probe_stack_range", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22242, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "nds32_output_32bit_load", "(", "rtx", "*", "operands", ",", "int", "byte", ")", "{", "char", "pattern", "[", "100", "]", ";", "unsigned", "char", "size", ";", "rtx", "code", ";", "code", "=", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ";", "size", "=", "nds32_byte_to_size", "(", "byte", ")", ";", "switch", "(", "GET_CODE", "(", "code", ")", ")", "{", "case", "REG", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"l%ci\\t%%0, %%1\"", ",", "size", ")", ";", "break", ";", "case", "SYMBOL_REF", ":", "case", "CONST", ":", "operands", "[", "1", "]", "=", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ";", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"l%ci.gp\\t%%0, [ + %%1]\"", ",", "size", ")", ";", "break", ";", "case", "POST_INC", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"l%ci.bi\\t%%0, %%1, %d\"", ",", "size", ",", "byte", ")", ";", "break", ";", "case", "POST_DEC", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"l%ci.bi\\t%%0, %%1, -%d\"", ",", "size", ",", "byte", ")", ";", "break", ";", "case", "POST_MODIFY", ":", "switch", "(", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "code", ",", "1", ")", ",", "1", ")", ")", ")", "{", "case", "REG", ":", "case", "SUBREG", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"l%c.bi\\t%%0, %%1\"", ",", "size", ")", ";", "break", ";", "case", "CONST_INT", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"l%ci.bi\\t%%0, %%1\"", ",", "size", ")", ";", "break", ";", "default", ":", "abort", "(", ")", ";", "}", "break", ";", "case", "PLUS", ":", "switch", "(", "GET_CODE", "(", "XEXP", "(", "code", ",", "1", ")", ")", ")", "{", "case", "REG", ":", "case", "SUBREG", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"l%c\\t%%0, %%1\"", ",", "size", ")", ";", "break", ";", "case", "CONST_INT", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"l%ci\\t%%0, %%1\"", ",", "size", ")", ";", "break", ";", "default", ":", "abort", "(", ")", ";", "}", "break", ";", "case", "LO_SUM", ":", "operands", "[", "2", "]", "=", "XEXP", "(", "code", ",", "1", ")", ";", "operands", "[", "1", "]", "=", "XEXP", "(", "code", ",", "0", ")", ";", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"l%ci\\t%%0, [%%1 + lo12(%%2)]\"", ",", "size", ")", ";", "break", ";", "default", ":", "abort", "(", ")", ";", "}", "output_asm_insn", "(", "pattern", ",", "operands", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "32-bit", "load", "."], "TS_V_token": ["nds32", "100", "1", "0", "\"l%ci\\t%%0, %%1\"", "1", "1", "0", "\"l%ci.gp\\t%%0, [ + %%1]\"", "\"l%ci.bi\\t%%0, %%1, %d\"", "\"l%ci.bi\\t%%0, %%1, -%d\"", "1", "1", "\"l%c.bi\\t%%0, %%1\"", "\"l%ci.bi\\t%%0, %%1\"", "1", "\"l%c\\t%%0, %%1\"", "\"l%ci\\t%%0, %%1\"", "2", "1", "1", "0", "\"l%ci\\t%%0, [%%1 + lo12(%%2)]\"", "\"\""], "File": "nds32-md-auxiliary", "Func": "nds32_output_32bit_load", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22243, "Length": 349, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isGPRZero", "(", "const", "MachineInstr", "&", "MI", ")", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "AArch64", "::", "MOVZWi", ":", "case", "AArch64", "::", "MOVZXi", ":", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "==", "0", ")", "{", "assert", "(", "MI", ".", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", "==", "3", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "0", "&&", "\"invalid MOVZi operands\"", ")", ";", "return", "true", ";", "}", "break", ";", "case", "AArch64", "::", "ANDWri", ":", "return", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "AArch64", "::", "WZR", ";", "case", "AArch64", "::", "ANDXri", ":", "return", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "AArch64", "::", "XZR", ";", "case", "TargetOpcode", "::", "COPY", ":", "return", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "AArch64", "::", "WZR", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Does", "this", "instruction", "set", "its", "full", "destination", "register", "to", "zero", "?"], "TS_V_token": ["AArch64", "AArch64", "AArch64::MOVZWi", "AArch64::MOVZXi", "1", "1", "0", "3", "2", "0", "\"invalid MOVZi operands\"", "AArch64::ANDWri", "1", "AArch64::WZR", "AArch64::ANDXri", "1", "AArch64::XZR", "1", "AArch64::WZR"], "File": "AArch64InstrInfo (2)1", "Func": "isGPRZero", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22244, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMCallLowering", "::", "splitToValueTypes", "(", "const", "ArgInfo", "&", "OrigArg", ",", "SmallVectorImpl", "<", "ArgInfo", ">", "&", "SplitArgs", ",", "MachineFunction", "&", "MF", ",", "const", "SplitArgTy", "&", "PerformArgSplit", ")", "const", "{", "const", "ARMTargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "ARMTargetLowering", ">", "(", ")", ";", "LLVMContext", "&", "Ctx", "=", "OrigArg", ".", "Ty", "->", "getContext", "(", ")", ";", "const", "DataLayout", "&", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "SmallVector", "<", "EVT", ",", "4", ">", "SplitVTs", ";", "SmallVector", "<", "uint64_t", ",", "4", ">", "Offsets", ";", "ComputeValueVTs", "(", "TLI", ",", "DL", ",", "OrigArg", ".", "Ty", ",", "SplitVTs", ",", "&", "Offsets", ",", "0", ")", ";", "if", "(", "SplitVTs", ".", "size", "(", ")", "==", "1", ")", "{", "auto", "Flags", "=", "OrigArg", ".", "Flags", ";", "unsigned", "OriginalAlignment", "=", "DL", ".", "getABITypeAlignment", "(", "OrigArg", ".", "Ty", ")", ";", "Flags", ".", "setOrigAlign", "(", "OriginalAlignment", ")", ";", "SplitArgs", ".", "emplace_back", "(", "OrigArg", ".", "Reg", ",", "SplitVTs", "[", "0", "]", ".", "getTypeForEVT", "(", "Ctx", ")", ",", "Flags", ",", "OrigArg", ".", "IsFixed", ")", ";", "return", ";", "}", "unsigned", "FirstRegIdx", "=", "SplitArgs", ".", "size", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "SplitVTs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "EVT", "SplitVT", "=", "SplitVTs", "[", "i", "]", ";", "Type", "*", "SplitTy", "=", "SplitVT", ".", "getTypeForEVT", "(", "Ctx", ")", ";", "auto", "Flags", "=", "OrigArg", ".", "Flags", ";", "unsigned", "OriginalAlignment", "=", "DL", ".", "getABITypeAlignment", "(", "SplitTy", ")", ";", "Flags", ".", "setOrigAlign", "(", "OriginalAlignment", ")", ";", "bool", "NeedsConsecutiveRegisters", "=", "TLI", ".", "functionArgumentNeedsConsecutiveRegisters", "(", "SplitTy", ",", "F", "->", "getCallingConv", "(", ")", ",", "F", "->", "isVarArg", "(", ")", ")", ";", "if", "(", "NeedsConsecutiveRegisters", ")", "{", "Flags", ".", "setInConsecutiveRegs", "(", ")", ";", "if", "(", "i", "==", "e", "-", "1", ")", "Flags", ".", "setInConsecutiveRegsLast", "(", ")", ";", "}", "SplitArgs", ".", "push_back", "(", "ArgInfo", "{", "MRI", ".", "createGenericVirtualRegister", "(", "getLLTForType", "(", "*", "SplitTy", ",", "DL", ")", ")", ",", "SplitTy", ",", "Flags", ",", "OrigArg", ".", "IsFixed", "}", ")", ";", "}", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Offsets", ".", "size", "(", ")", ";", "++", "i", ")", "PerformArgSplit", "(", "SplitArgs", "[", "FirstRegIdx", "+", "i", "]", ".", "Reg", ",", "Offsets", "[", "i", "]", "*", "8", ")", ";", "}", ""], "natrual_language": ["Break", "OrigArgInfo", "into", "one", "or", "more", "pieces", "the", "calling", "convention", "can", "process", ",", "returned", "in", "SplitArgs", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "4", "4", "0", "1", "0", "0", "1", "0", "8"], "File": "ARMCallLowering26", "Func": "splitToValueTypes", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22245, "Length": 375, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "mips_msa_output_shift_immediate", "(", "const", "char", "*", "shift", ",", "rtx", "*", "operands", ")", "{", "rtx", "amount", "=", "operands", "[", "2", "]", ";", "machine_mode", "mode", "=", "amount", "->", "mode", ";", "unsigned", "val", "=", "UINTVAL", "(", "CONST_VECTOR_ELT", "(", "amount", ",", "0", ")", ")", ";", "val", "&=", "GET_MODE_UNIT_BITSIZE", "(", "mode", ")", "-", "1", ";", "if", "(", "!", "val", ")", "return", "\"\"", ";", "rtx", "c", "=", "gen_int_mode", "(", "val", ",", "GET_MODE_INNER", "(", "mode", ")", ")", ";", "operands", "[", "2", "]", "=", "gen_const_vec_duplicate", "(", "mode", ",", "c", ")", ";", "return", "shift", ";", "}", ""], "natrual_language": ["Return", "the", "assembly", "code", "for", "MSA", "immediate", "shift", "instructions", ",", "which", "has", "the", "operands", "given", "by", "OPERANDS", ".", "Truncate", "the", "shift", "amount", "to", "make", "GAS", "happy", "."], "TS_V_token": ["mips", "2", "0", "1", "\"\"", "2"], "File": "mips", "Func": "mips_msa_output_shift_immediate", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22246, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZHazardRecognizer", "::", "emitInstruction", "(", "MachineInstr", "*", "MI", ",", "bool", "TakenBranch", ")", "{", "SUnit", "SU", "(", "MI", ",", "0", ")", ";", "SU", ".", "isCall", "=", "MI", "->", "isCall", "(", ")", ";", "const", "MCSchedClassDesc", "*", "SC", "=", "SchedModel", "->", "resolveSchedClass", "(", "MI", ")", ";", "for", "(", "const", "MCWriteProcResEntry", "&", "PRE", ":", "make_range", "(", "SchedModel", "->", "getWriteProcResBegin", "(", "SC", ")", ",", "SchedModel", "->", "getWriteProcResEnd", "(", "SC", ")", ")", ")", "{", "switch", "(", "SchedModel", "->", "getProcResource", "(", "PRE", ".", "ProcResourceIdx", ")", "->", "BufferSize", ")", "{", "case", "0", ":", "SU", ".", "hasReservedResource", "=", "true", ";", "break", ";", "case", "1", ":", "SU", ".", "isUnbuffered", "=", "true", ";", "break", ";", "default", ":", "break", ";", "}", "}", "unsigned", "GroupSizeBeforeEmit", "=", "CurrGroupSize", ";", "EmitInstruction", "(", "&", "SU", ")", ";", "if", "(", "!", "TakenBranch", "&&", "isBranchRetTrap", "(", "MI", ")", ")", "{", "if", "(", "GroupSizeBeforeEmit", "==", "1", ")", "nextGroup", "(", ")", ";", "}", "if", "(", "TakenBranch", "&&", "CurrGroupSize", ">", "0", ")", "nextGroup", "(", ")", ";", "assert", "(", "(", "!", "MI", "->", "isTerminator", "(", ")", "||", "isBranchRetTrap", "(", "MI", ")", ")", "&&", "\"Scheduler: unhandled terminator!\"", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "0", "1", "1", "0", "\"Scheduler: unhandled terminator!\""], "File": "SystemZHazardRecognizer", "Func": "EmitInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22247, "Length": 175, "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", ")", ";", "for", "(", "MCSubRegIterator", "I", "(", "X86", "::", "RSP", ",", "this", ")", ";", "I", ".", "isValid", "(", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "*", "I", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "RIP", ")", ";", "for", "(", "MCSubRegIterator", "I", "(", "X86", "::", "RIP", ",", "this", ")", ";", "I", ".", "isValid", "(", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "*", "I", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "{", "Reserved", ".", "set", "(", "X86", "::", "RBP", ")", ";", "for", "(", "MCSubRegIterator", "I", "(", "X86", "::", "RBP", ",", "this", ")", ";", "I", ".", "isValid", "(", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "*", "I", ")", ";", "}", "Reserved", ".", "set", "(", "X86", "::", "CS", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "SS", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "DS", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "ES", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "FS", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "GS", ")", ";", "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", ")", ";", "if", "(", "!", "Is64Bit", ")", "{", "Reserved", ".", "set", "(", "X86", "::", "SIL", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "DIL", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "BPL", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "SPL", ")", ";", "for", "(", "unsigned", "n", "=", "0", ";", "n", "!=", "8", ";", "++", "n", ")", "{", "static", "const", "uint16_t", "GPR64", "[", "]", "=", "{", "X86", "::", "R8", ",", "X86", "::", "R9", ",", "X86", "::", "R10", ",", "X86", "::", "R11", ",", "X86", "::", "R12", ",", "X86", "::", "R13", ",", "X86", "::", "R14", ",", "X86", "::", "R15", "}", ";", "for", "(", "MCRegAliasIterator", "AI", "(", "GPR64", "[", "n", "]", ",", "this", ",", "true", ")", ";", "AI", ".", "isValid", "(", ")", ";", "++", "AI", ")", "Reserved", ".", "set", "(", "*", "AI", ")", ";", "assert", "(", "X86", "::", "XMM15", "==", "X86", "::", "XMM8", "+", "7", ")", ";", "for", "(", "MCRegAliasIterator", "AI", "(", "X86", "::", "XMM8", "+", "n", ",", "this", ",", "true", ")", ";", "AI", ".", "isValid", "(", ")", ";", "++", "AI", ")", "Reserved", ".", "set", "(", "*", "AI", ")", ";", "}", "}", "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::RSP", "X86::RIP", "X86::RIP", "X86::RBP", "X86::RBP", "X86::CS", "X86::SS", "X86::DS", "X86::ES", "X86::FS", "X86::GS", "X86::ST0", "X86::ST1", "X86::ST2", "X86::ST3", "X86::ST4", "X86::ST5", "X86::ST6", "X86::ST7", "X86::SIL", "X86::DIL", "X86::BPL", "X86::SPL", "0", "8", "X86::R8", "X86::R9", "X86::R10", "X86::R11", "X86::R12", "X86::R13", "X86::R14", "X86::R15", "X86::XMM15", "X86::XMM8", "7", "X86::XMM8"], "File": "X86RegisterInfo36", "Func": "getReservedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22248, "Length": 468, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "CSKYInstrInfo", "::", "removeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "int", "*", "BytesRemoved", ")", "const", "{", "if", "(", "BytesRemoved", ")", "*", "BytesRemoved", "=", "0", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "end", "(", ")", ")", "return", "0", ";", "if", "(", "!", "I", "->", "getDesc", "(", ")", ".", "isUnconditionalBranch", "(", ")", "&&", "!", "I", "->", "getDesc", "(", ")", ".", "isConditionalBranch", "(", ")", ")", "return", "0", ";", "if", "(", "BytesRemoved", ")", "*", "BytesRemoved", "+=", "getInstSizeInBytes", "(", "*", "I", ")", ";", "I", "->", "eraseFromParent", "(", ")", ";", "I", "=", "MBB", ".", "end", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", ")", "return", "1", ";", "--", "I", ";", "if", "(", "!", "I", "->", "getDesc", "(", ")", ".", "isConditionalBranch", "(", ")", ")", "return", "1", ";", "if", "(", "BytesRemoved", ")", "*", "BytesRemoved", "+=", "getInstSizeInBytes", "(", "*", "I", ")", ";", "I", "->", "eraseFromParent", "(", ")", ";", "return", "2", ";", "}", ""], "natrual_language": ["Remove", "the", "branching", "code", "at", "the", "end", "of", "the", "specific", "MBB", "."], "TS_V_token": ["CSKY", "CSKY", "0", "0", "0", "1", "1", "2"], "File": "CSKYInstrInfo1", "Func": "removeBranch", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22249, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "ARM64Operand", "*", "CreateReg", "(", "unsigned", "RegNum", ",", "bool", "isVector", ",", "SMLoc", "S", ",", "SMLoc", "E", ",", "MCContext", "&", "Ctx", ")", "{", "ARM64Operand", "*", "Op", "=", "new", "ARM64Operand", "(", "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": ["ARM64", "ARM64", "ARM64", "ARM64"], "File": "ARM64AsmParser", "Func": "CreateReg", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22250, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arm_function_value", "(", "const_tree", "type", ",", "const_tree", "func", ",", "bool", "outgoing", "ATTRIBUTE_UNUSED", ")", "{", "machine_mode", "mode", ";", "int", "unsignedp", "ATTRIBUTE_UNUSED", ";", "rtx", "r", "ATTRIBUTE_UNUSED", ";", "mode", "=", "TYPE_MODE", "(", "type", ")", ";", "if", "(", "TARGET_AAPCS_BASED", ")", "return", "aapcs_allocate_return_reg", "(", "mode", ",", "type", ",", "func", ")", ";", "if", "(", "INTEGRAL_TYPE_P", "(", "type", ")", ")", "mode", "=", "arm_promote_function_mode", "(", "type", ",", "mode", ",", "&", "unsignedp", ",", "func", ",", "1", ")", ";", "if", "(", "arm_return_in_msb", "(", "type", ")", ")", "{", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "if", "(", "size", "%", "UNITS_PER_WORD", "!=", "0", ")", "{", "size", "+=", "UNITS_PER_WORD", "-", "size", "%", "UNITS_PER_WORD", ";", "mode", "=", "mode_for_size", "(", "size", "*", "BITS_PER_UNIT", ",", "MODE_INT", ",", "0", ")", ";", "}", "}", "return", "arm_libcall_value_1", "(", "mode", ")", ";", "}", ""], "natrual_language": ["Define", "how", "to", "find", "the", "value", "returned", "by", "a", "function", "."], "TS_V_token": ["arm", "1", "0", "0"], "File": "arm4", "Func": "arm_function_value", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22251, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips16_split_long_branches", "(", "void", ")", "{", "bool", "something_changed", ";", "if", "(", "!", "TARGET_MIPS16", ")", "return", ";", "do", "{", "rtx_insn", "*", "insn", ";", "shorten_branches", "(", "get_insns", "(", ")", ")", ";", "something_changed", "=", "false", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "if", "(", "JUMP_P", "(", "insn", ")", "&&", "get_attr_length", "(", "insn", ")", ">", "4", "&&", "(", "any_condjump_p", "(", "insn", ")", "||", "any_uncondjump_p", "(", "insn", ")", ")", ")", "{", "rtx", "old_label", ",", "temp", ",", "saved_temp", ";", "rtx_code_label", "*", "new_label", ";", "rtx", "target", ";", "rtx_insn", "*", "jump", ",", "*", "jump_sequence", ";", "start_sequence", "(", ")", ";", "saved_temp", "=", "gen_rtx_REG", "(", "Pmode", ",", "AT_REGNUM", ")", ";", "temp", "=", "gen_rtx_REG", "(", "Pmode", ",", "GP_REG_FIRST", "+", "2", ")", ";", "emit_move_insn", "(", "saved_temp", ",", "temp", ")", ";", "old_label", "=", "JUMP_LABEL", "(", "insn", ")", ";", "target", "=", "gen_rtx_LABEL_REF", "(", "Pmode", ",", "old_label", ")", ";", "mips16_load_branch_target", "(", "temp", ",", "target", ")", ";", "jump", "=", "emit_jump_insn", "(", "PMODE_INSN", "(", "gen_indirect_jump_and_restore", ",", "(", "temp", ",", "temp", ",", "saved_temp", ")", ")", ")", ";", "JUMP_LABEL", "(", "jump", ")", "=", "old_label", ";", "LABEL_NUSES", "(", "old_label", ")", "++", ";", "mips16_lay_out_constants", "(", "false", ")", ";", "if", "(", "simplejump_p", "(", "insn", ")", ")", "new_label", "=", "NULL", ";", "else", "{", "new_label", "=", "gen_label_rtx", "(", ")", ";", "emit_label", "(", "new_label", ")", ";", "}", "jump_sequence", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "emit_insn_after", "(", "jump_sequence", ",", "insn", ")", ";", "if", "(", "new_label", ")", "invert_jump", "(", "insn", ",", "new_label", ",", "false", ")", ";", "else", "delete_insn", "(", "insn", ")", ";", "something_changed", "=", "true", ";", "}", "}", "while", "(", "something_changed", ")", ";", "}", ""], "natrual_language": ["If", "we", "'re", "compiling", "a", "MIPS16", "function", ",", "look", "for", "and", "split", "any", "long", "branches", ".", "This", "must", "be", "called", "after", "all", "other", "instruction", "modifications", "in", "mips_reorg", "."], "TS_V_token": ["mips", "4", "2"], "File": "mips4", "Func": "mips16_split_long_branches", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22252, "Length": 262, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "do_load_for_compare", "(", "rtx", "reg", ",", "rtx", "mem", ",", "machine_mode", "mode", ")", "{", "switch", "(", "GET_MODE", "(", "reg", ")", ")", "{", "case", "DImode", ":", "switch", "(", "mode", ")", "{", "case", "QImode", ":", "emit_insn", "(", "gen_zero_extendqidi2", "(", "reg", ",", "mem", ")", ")", ";", "break", ";", "case", "HImode", ":", "{", "rtx", "src", "=", "mem", ";", "if", "(", "!", "BYTES_BIG_ENDIAN", ")", "{", "src", "=", "gen_reg_rtx", "(", "HImode", ")", ";", "emit_insn", "(", "gen_bswaphi2", "(", "src", ",", "mem", ")", ")", ";", "}", "emit_insn", "(", "gen_zero_extendhidi2", "(", "reg", ",", "src", ")", ")", ";", "break", ";", "}", "case", "SImode", ":", "{", "rtx", "src", "=", "mem", ";", "if", "(", "!", "BYTES_BIG_ENDIAN", ")", "{", "src", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_bswapsi2", "(", "src", ",", "mem", ")", ")", ";", "}", "emit_insn", "(", "gen_zero_extendsidi2", "(", "reg", ",", "src", ")", ")", ";", "}", "break", ";", "case", "DImode", ":", "if", "(", "!", "BYTES_BIG_ENDIAN", ")", "emit_insn", "(", "gen_bswapdi2", "(", "reg", ",", "mem", ")", ")", ";", "else", "emit_insn", "(", "gen_movdi", "(", "reg", ",", "mem", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "break", ";", "case", "SImode", ":", "switch", "(", "mode", ")", "{", "case", "QImode", ":", "emit_insn", "(", "gen_zero_extendqisi2", "(", "reg", ",", "mem", ")", ")", ";", "break", ";", "case", "HImode", ":", "{", "rtx", "src", "=", "mem", ";", "if", "(", "!", "BYTES_BIG_ENDIAN", ")", "{", "src", "=", "gen_reg_rtx", "(", "HImode", ")", ";", "emit_insn", "(", "gen_bswaphi2", "(", "src", ",", "mem", ")", ")", ";", "}", "emit_insn", "(", "gen_zero_extendhisi2", "(", "reg", ",", "src", ")", ")", ";", "break", ";", "}", "case", "SImode", ":", "if", "(", "!", "BYTES_BIG_ENDIAN", ")", "emit_insn", "(", "gen_bswapsi2", "(", "reg", ",", "mem", ")", ")", ";", "else", "emit_insn", "(", "gen_movsi", "(", "reg", ",", "mem", ")", ")", ";", "break", ";", "case", "DImode", ":", "gcc_unreachable", "(", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Figure", "out", "the", "correct", "instructions", "to", "generate", "to", "load", "data", "for", "block", "compare", ".", "MODE", "is", "used", "for", "the", "read", "from", "memory", ",", "and", "data", "is", "zero", "extended", "if", "REG", "is", "wider", "than", "MODE", ".", "If", "LE", "code", "is", "being", "generated", ",", "bswap", "loads", "are", "used", ".", "REG", "is", "the", "destination", "register", "to", "move", "the", "data", "into", ".", "MEM", "is", "the", "memory", "block", "being", "read", ".", "MODE", "is", "the", "mode", "of", "memory", "to", "use", "for", "the", "read", "."], "TS_V_token": ["rs6000"], "File": "rs60006", "Func": "do_load_for_compare", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22253, "Length": 305, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "uint64_t", "Address", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "Address", ",", "STI", ",", "O", ")", "&&", "!", "printSparcAliasInstr", "(", "MI", ",", "STI", ",", "O", ")", ")", "printInstruction", "(", "MI", ",", "Address", ",", "STI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc"], "File": "SparcInstPrinter20", "Func": "printInst", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22254, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_must_pass_in_stack", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "if", "(", "DEFAULT_ABI", "==", "ABI_AIX", "||", "DEFAULT_ABI", "==", "ABI_ELFv2", "||", "TARGET_64BIT", ")", "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", "TYPE", "must", "be", "passed", "on", "the", "stack", "and", "not", "in", "registers", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_must_pass_in_stack", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22255, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1FrameLowering", "::", "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", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "bool", "isVarArg", "=", "AFI", "->", "getVarArgsRegSaveSize", "(", ")", ">", "0", ";", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MF", ",", "DL", ",", "TII", ".", "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", "(", "TII", ".", "get", "(", "ARM", "::", "tPOP_RET", ")", ")", ";", "MIB", "->", "copyImplicitOps", "(", "&", "*", "MI", ")", ";", "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": "Thumb1FrameLowering37", "Func": "restoreCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22256, "Length": 265, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMLoc", "getEndLoc", "(", ")", "const", "{", "return", "EndLoc", ";", "}", ""], "natrual_language": ["getEndLoc", "-", "Get", "the", "location", "of", "the", "last", "token", "of", "this", "operand", "."], "TS_V_token": ["AArch64"], "File": "AArch64AsmParser13", "Func": "getEndLoc", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22257, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "nds32_output_return", "(", "void", ")", "{", "char", "pattern", "[", "100", "]", ";", "rtx", "operands", "[", "2", "]", ";", "int", "re_callee_saved", "=", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", ";", "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", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "if", "(", "satisfies_constraint_Iu08", "(", "GEN_INT", "(", "sp_adjust", ")", ")", "&&", "NDS32_DOUBLE_WORD_ALIGN_P", "(", "sp_adjust", ")", "&&", "!", "cfun", "->", "calls_alloca", ")", "operands", "[", "1", "]", "=", "GEN_INT", "(", "sp_adjust", ")", ";", "else", "operands", "[", "1", "]", "=", "GEN_INT", "(", "0", ")", ";", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"pop25\\t%%0, %%1\"", ")", ";", "output_asm_insn", "(", "pattern", ",", "operands", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Function", "to", "output", "return", "operation", "."], "TS_V_token": ["nds32", "100", "2", "0", "1", "1", "0", "\"pop25\\t%%0, %%1\"", "\"\""], "File": "nds32-md-auxiliary", "Func": "nds32_output_return", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22258, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_comp_type_attributes", "(", "const_tree", "type1", ",", "const_tree", "type2", ")", "{", "if", "(", "mips_far_type_p", "(", "type1", ")", "&&", "mips_near_type_p", "(", "type2", ")", ")", "return", "0", ";", "if", "(", "mips_near_type_p", "(", "type1", ")", "&&", "mips_far_type_p", "(", "type2", ")", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Implement", "TARGET_COMP_TYPE_ATTRIBUTES", "."], "TS_V_token": ["mips", "0", "0", "1"], "File": "mips", "Func": "mips_comp_type_attributes", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22259, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "TOY", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_TOY_CALL\"", ",", "0", ",", "16", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_TOY_BR\"", ",", "0", ",", "16", ",", "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": ["TOY", "TOY::NumTargetFixupKinds", "\"fixup_TOY_CALL\"", "0", "16", "\"fixup_TOY_BR\"", "0", "16", "\"Invalid kind!\""], "File": "TOYAsmBackend", "Func": "getFixupKindInfo", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22260, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_test_loading_dump_fragment_1", "(", ")", "{", "rtl_dump_test", "t", "(", "SELFTEST_LOCATION", ",", "locate_file", "(", "\"x86_64/copy-hard-reg-into-frame.rtl\"", ")", ")", ";", "rtx_insn", "*", "insn", "=", "get_insn_by_uid", "(", "1", ")", ";", "tree", "mem_expr", ";", "{", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "ASSERT_EQ", "(", "SET", ",", "GET_CODE", "(", "pat", ")", ")", ";", "{", "rtx", "dest", "=", "SET_DEST", "(", "pat", ")", ";", "ASSERT_EQ", "(", "MEM", ",", "GET_CODE", "(", "dest", ")", ")", ";", "ASSERT_TRUE", "(", "RTX_FLAG", "(", "dest", ",", "call", ")", ")", ";", "ASSERT_EQ", "(", "SImode", ",", "GET_MODE", "(", "dest", ")", ")", ";", "{", "rtx", "addr", "=", "XEXP", "(", "dest", ",", "0", ")", ";", "ASSERT_EQ", "(", "PLUS", ",", "GET_CODE", "(", "addr", ")", ")", ";", "ASSERT_EQ", "(", "DImode", ",", "GET_MODE", "(", "addr", ")", ")", ";", "{", "rtx", "lhs", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "ASSERT_RTX_PTR_EQ", "(", "frame_pointer_rtx", ",", "lhs", ")", ";", "}", "{", "rtx", "rhs", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "ASSERT_EQ", "(", "CONST_INT", ",", "GET_CODE", "(", "rhs", ")", ")", ";", "ASSERT_EQ", "(", "-", "4", ",", "INTVAL", "(", "rhs", ")", ")", ";", "}", "}", "ASSERT_EQ", "(", "1", ",", "MEM_ALIAS_SET", "(", "dest", ")", ")", ";", "mem_expr", "=", "MEM_EXPR", "(", "dest", ")", ";", "ASSERT_NE", "(", "mem_expr", ",", "NULL", ")", ";", "ASSERT_EQ", "(", "VAR_DECL", ",", "TREE_CODE", "(", "mem_expr", ")", ")", ";", "ASSERT_EQ", "(", "integer_type_node", ",", "TREE_TYPE", "(", "mem_expr", ")", ")", ";", "ASSERT_EQ", "(", "IDENTIFIER_NODE", ",", "TREE_CODE", "(", "DECL_NAME", "(", "mem_expr", ")", ")", ")", ";", "ASSERT_STREQ", "(", "\"i\"", ",", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "mem_expr", ")", ")", ")", ";", "ASSERT_TRUE", "(", "MEM_OFFSET_KNOWN_P", "(", "dest", ")", ")", ";", "ASSERT_EQ", "(", "0", ",", "MEM_OFFSET", "(", "dest", ")", ")", ";", "ASSERT_EQ", "(", "4", ",", "MEM_SIZE", "(", "dest", ")", ")", ";", "ASSERT_EQ", "(", "32", ",", "MEM_ALIGN", "(", "dest", ")", ")", ";", "}", "{", "rtx", "src", "=", "SET_SRC", "(", "pat", ")", ";", "ASSERT_EQ", "(", "REG", ",", "GET_CODE", "(", "src", ")", ")", ";", "ASSERT_EQ", "(", "SImode", ",", "GET_MODE", "(", "src", ")", ")", ";", "ASSERT_EQ", "(", "5", ",", "REGNO", "(", "src", ")", ")", ";", "tree", "reg_expr", "=", "REG_EXPR", "(", "src", ")", ";", "ASSERT_EQ", "(", "reg_expr", ",", "mem_expr", ")", ";", "}", "}", "}", ""], "natrual_language": ["Verify", "loading", "an", "RTL", "dump", ";", "specifically", "a", "dump", "of", "copying", "a", "param", "on", "x86_64", "from", "a", "hard", "reg", "into", "the", "frame", ".", "This", "test", "is", "target-specific", "since", "the", "dump", "contains", "target-specific", "hard", "reg", "names", "."], "TS_V_token": ["i386", "\"x86_64/copy-hard-reg-into-frame.rtl\"", "1", "0", "0", "1", "4", "1", "\"i\"", "0", "4", "32", "5"], "File": "i386", "Func": "ix86_test_loading_dump_fragment_1", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22261, "Length": 337, "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", ")", ";", "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", ")", ";", "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": "X86InstrInfo6", "Func": "classifyLEAReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22262, "Length": 373, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "X86Subtarget", "*", "getSubtarget", "(", ")", "const", "{", "return", "Subtarget", ";", "}", ""], "natrual_language": ["getSubtarget", "-", "Return", "the", "subtarget", "for", "which", "this", "machine", "code", "is", "being", "compiled", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering (2)", "Func": "getSubtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22263, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86LowerTileCopy", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "X86Subtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "const", "X86InstrInfo", "*", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "MachineInstr", "&", "MI", ":", "llvm", "::", "make_early_inc_range", "(", "MBB", ")", ")", "{", "if", "(", "!", "MI", ".", "isCopy", "(", ")", ")", "continue", ";", "MachineOperand", "&", "DstMO", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "MachineOperand", "&", "SrcMO", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "Register", "SrcReg", "=", "SrcMO", ".", "getReg", "(", ")", ";", "Register", "DstReg", "=", "DstMO", ".", "getReg", "(", ")", ";", "if", "(", "!", "X86", "::", "TILERegClass", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", ")", "continue", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "ST", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "Size", "=", "TRI", "->", "getSpillSize", "(", "X86", "::", "TILERegClass", ")", ";", "Align", "Alignment", "=", "TRI", "->", "getSpillAlign", "(", "X86", "::", "TILERegClass", ")", ";", "int", "TileSS", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "CreateSpillStackObject", "(", "Size", ",", "Alignment", ")", ";", "Size", "=", "TRI", "->", "getSpillSize", "(", "X86", "::", "GR64RegClass", ")", ";", "Alignment", "=", "TRI", "->", "getSpillAlign", "(", "X86", "::", "GR64RegClass", ")", ";", "int", "StrideSS", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "CreateSpillStackObject", "(", "Size", ",", "Alignment", ")", ";", "Register", "GR64Cand", "=", "X86", "::", "RAX", ";", "const", "DebugLoc", "&", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", "->", "get", "(", "X86", "::", "IMPLICIT_DEF", ")", ",", "GR64Cand", ")", ";", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", "->", "get", "(", "X86", "::", "MOV64mr", ")", ")", ",", "StrideSS", ")", ".", "addReg", "(", "GR64Cand", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", "->", "get", "(", "X86", "::", "MOV64ri", ")", ",", "GR64Cand", ")", ".", "addImm", "(", "64", ")", ";", "unsigned", "Opc", "=", "X86", "::", "TILESTORED", ";", "MachineInstr", "*", "NewMI", "=", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", "->", "get", "(", "Opc", ")", ")", ",", "TileSS", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "SrcMO", ".", "isKill", "(", ")", ")", ")", ";", "MachineOperand", "&", "MO", "=", "NewMI", "->", "getOperand", "(", "2", ")", ";", "MO", ".", "setReg", "(", "GR64Cand", ")", ";", "MO", ".", "setIsKill", "(", "true", ")", ";", "Opc", "=", "X86", "::", "TILELOADD", ";", "NewMI", "=", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", "->", "get", "(", "Opc", ")", ",", "DstReg", ")", ",", "TileSS", ")", ";", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", "->", "get", "(", "X86", "::", "MOV64rm", ")", ",", "GR64Cand", ")", ",", "StrideSS", ")", ";", "MI", ".", "eraseFromParent", "(", ")", ";", "Changed", "=", "true", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "0", "1", "X86::TILERegClass", "X86::TILERegClass", "X86::TILERegClass", "X86::GR64RegClass", "X86::GR64RegClass", "X86::RAX", "X86::IMPLICIT_DEF", "X86::MOV64mr", "X86::MOV64ri", "64", "X86::TILESTORED", "2", "X86::TILELOADD", "X86::MOV64rm"], "File": "X86LowerTileCopy1", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22264, "Length": 453, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "set_of_reg", "sh_find_set_of_reg", "(", "rtx", "reg", ",", "rtx_insn", "*", "insn", ",", "F", "stepfunc", ",", "bool", "ignore_reg_reg_copies", "=", "false", ")", "{", "set_of_reg", "result", ";", "result", ".", "insn", "=", "insn", ";", "result", ".", "set_rtx", "=", "NULL_RTX", ";", "result", ".", "set_src", "=", "NULL_RTX", ";", "if", "(", "!", "REG_P", "(", "reg", ")", "||", "insn", "==", "NULL_RTX", ")", "return", "result", ";", "rtx_insn", "*", "previnsn", "=", "insn", ";", "for", "(", "result", ".", "insn", "=", "stepfunc", "(", "insn", ")", ";", "result", ".", "insn", "!=", "NULL_RTX", ";", "previnsn", "=", "result", ".", "insn", ",", "result", ".", "insn", "=", "stepfunc", "(", "result", ".", "insn", ")", ")", "{", "if", "(", "BARRIER_P", "(", "result", ".", "insn", ")", ")", "break", ";", "if", "(", "!", "NONJUMP_INSN_P", "(", "result", ".", "insn", ")", ")", "continue", ";", "if", "(", "reg_set_p", "(", "reg", ",", "result", ".", "insn", ")", ")", "{", "result", ".", "set_rtx", "=", "set_of", "(", "reg", ",", "result", ".", "insn", ")", ";", "if", "(", "result", ".", "set_rtx", "==", "NULL_RTX", "||", "GET_CODE", "(", "result", ".", "set_rtx", ")", "!=", "SET", ")", "break", ";", "result", ".", "set_src", "=", "XEXP", "(", "result", ".", "set_rtx", ",", "1", ")", ";", "if", "(", "ignore_reg_reg_copies", "&&", "REG_P", "(", "result", ".", "set_src", ")", ")", "{", "reg", "=", "result", ".", "set_src", ";", "continue", ";", "}", "if", "(", "ignore_reg_reg_copies", "&&", "SUBREG_P", "(", "result", ".", "set_src", ")", "&&", "REG_P", "(", "SUBREG_REG", "(", "result", ".", "set_src", ")", ")", ")", "{", "reg", "=", "SUBREG_REG", "(", "result", ".", "set_src", ")", ";", "continue", ";", "}", "break", ";", "}", "}", "if", "(", "result", ".", "insn", "==", "NULL", ")", "result", ".", "insn", "=", "previnsn", ";", "if", "(", "result", ".", "set_src", "!=", "NULL", ")", "gcc_assert", "(", "result", ".", "insn", "!=", "NULL", "&&", "result", ".", "set_rtx", "!=", "NULL", ")", ";", "return", "result", ";", "}", ""], "natrual_language": ["Given", "a", "reg", "rtx", "and", "a", "start", "insn", ",", "try", "to", "find", "the", "insn", "that", "sets", "the", "specified", "reg", "by", "using", "the", "specified", "insn", "stepping", "function", ",", "such", "as", "'prev_nonnote_insn_bb", "'", ".", "When", "the", "insn", "is", "found", ",", "try", "to", "extract", "the", "rtx", "of", "the", "reg", "set", "."], "TS_V_token": ["sh", "1"], "File": "sh-protos6", "Func": "sh_find_set_of_reg", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22265, "Length": 277, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SICFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "SICFunctionInfo", "*", "SICFI", "=", "MF", ".", "getInfo", "<", "SICFunctionInfo", ">", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "if", "(", "MF", ".", "getFrameInfo", "(", ")", "->", "hasCalls", "(", ")", ")", "setAliasRegs", "(", "MF", ",", "SavedRegs", ",", "SIC", "::", "L", ")", ";", "return", ";", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["SIC", "SIC", "SIC", "SIC", "SIC", "SIC::L"], "File": "SICFrameLowering", "Func": "determineCalleeSaves", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22266, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_target_macros", "(", "void", ")", "{", "if", "(", "TARGET_64BIT", ")", "{", "cpp_assert", "(", "parse_in", ",", "\"cpu=x86_64\"", ")", ";", "cpp_assert", "(", "parse_in", ",", "\"machine=x86_64\"", ")", ";", "cpp_define", "(", "parse_in", ",", "\"__amd64\"", ")", ";", "cpp_define", "(", "parse_in", ",", "\"__amd64__\"", ")", ";", "cpp_define", "(", "parse_in", ",", "\"__x86_64\"", ")", ";", "cpp_define", "(", "parse_in", ",", "\"__x86_64__\"", ")", ";", "if", "(", "TARGET_X32", ")", "{", "cpp_define", "(", "parse_in", ",", "\"_ILP32\"", ")", ";", "cpp_define", "(", "parse_in", ",", "\"__ILP32__\"", ")", ";", "}", "}", "else", "{", "cpp_assert", "(", "parse_in", ",", "\"cpu=i386\"", ")", ";", "cpp_assert", "(", "parse_in", ",", "\"machine=i386\"", ")", ";", "builtin_define_std", "(", "\"i386\"", ")", ";", "cpp_define", "(", "parse_in", ",", "\"_ILP32\"", ")", ";", "cpp_define", "(", "parse_in", ",", "\"__ILP32__\"", ")", ";", "}", "if", "(", "!", "TARGET_80387", ")", "cpp_define", "(", "parse_in", ",", "\"_SOFT_FLOAT\"", ")", ";", "if", "(", "TARGET_LONG_DOUBLE_64", ")", "cpp_define", "(", "parse_in", ",", "\"__LONG_DOUBLE_64__\"", ")", ";", "if", "(", "TARGET_LONG_DOUBLE_128", ")", "cpp_define", "(", "parse_in", ",", "\"__LONG_DOUBLE_128__\"", ")", ";", "cpp_define_formatted", "(", "parse_in", ",", "\"__SIZEOF_FLOAT80__=%d\"", ",", "GET_MODE_SIZE", "(", "XFmode", ")", ")", ";", "cpp_define", "(", "parse_in", ",", "\"__SIZEOF_FLOAT128__=16\"", ")", ";", "cpp_define_formatted", "(", "parse_in", ",", "\"__ATOMIC_HLE_ACQUIRE=%d\"", ",", "IX86_HLE_ACQUIRE", ")", ";", "cpp_define_formatted", "(", "parse_in", ",", "\"__ATOMIC_HLE_RELEASE=%d\"", ",", "IX86_HLE_RELEASE", ")", ";", "cpp_define", "(", "parse_in", ",", "\"__GCC_ASM_FLAG_OUTPUTS__\"", ")", ";", "ix86_target_macros_internal", "(", "ix86_isa_flags", ",", "ix86_isa_flags2", ",", "ix86_arch", ",", "ix86_tune", ",", "ix86_fpmath", ",", "cpp_define", ")", ";", "cpp_define", "(", "parse_in", ",", "\"__SEG_FS\"", ")", ";", "cpp_define", "(", "parse_in", ",", "\"__SEG_GS\"", ")", ";", "if", "(", "flag_cf_protection", "!=", "CF_NONE", ")", "cpp_define_formatted", "(", "parse_in", ",", "\"__CET__=%d\"", ",", "flag_cf_protection", "&", "~", "CF_SET", ")", ";", "}", ""], "natrual_language": ["Function", "to", "tell", "the", "preprocessor", "about", "the", "defines", "for", "the", "current", "target", "."], "TS_V_token": ["i386", "\"cpu=x86_64\"", "\"machine=x86_64\"", "\"__amd64\"", "\"__amd64__\"", "\"__x86_64\"", "\"__x86_64__\"", "\"_ILP32\"", "\"__ILP32__\"", "\"cpu=i386\"", "\"machine=i386\"", "\"i386\"", "\"_ILP32\"", "\"__ILP32__\"", "\"_SOFT_FLOAT\"", "\"__LONG_DOUBLE_64__\"", "\"__LONG_DOUBLE_128__\"", "\"__SIZEOF_FLOAT80__=%d\"", "\"__SIZEOF_FLOAT128__=16\"", "\"__ATOMIC_HLE_ACQUIRE=%d\"", "\"__ATOMIC_HLE_RELEASE=%d\"", "\"__GCC_ASM_FLAG_OUTPUTS__\"", "\"__SEG_FS\"", "\"__SEG_GS\"", "\"__CET__=%d\""], "File": "i386-c", "Func": "ix86_target_macros", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22267, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "ForCodeSize", "=", "MF", ".", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "Attribute", "::", "OptimizeForSize", ")", "||", "MF", ".", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "Attribute", "::", "MinSize", ")", ";", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ";", "return", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ISelDAGToDAG29", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22268, "Length": 58, "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": 22269, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "initializePass", "(", ")", "override", "{", "pushTTIStack", "(", "this", ")", ";", "}", ""], "natrual_language": ["initializePass", "-", "This", "method", "may", "be", "overriden", "by", "immutable", "passes", "to", "allow", "them", "to", "perform", "various", "initialization", "actions", "they", "require", "."], "TS_V_token": ["ARM"], "File": "ARMTargetTransformInfo21", "Func": "initializePass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22270, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCRegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "Subtarget", ".", "getFrameLowering", "(", ")", ";", "const", "unsigned", "DefaultSafety", "=", "1", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "PPC", "::", "G8RC_NOX0RegClassID", ":", "case", "PPC", "::", "GPRC_NOR0RegClassID", ":", "case", "PPC", "::", "G8RCRegClassID", ":", "case", "PPC", "::", "GPRCRegClassID", ":", "{", "unsigned", "FP", "=", "TFI", "->", "hasFP", "(", "MF", ")", "?", "1", ":", "0", ";", "return", "32", "-", "FP", "-", "DefaultSafety", ";", "}", "case", "PPC", "::", "F8RCRegClassID", ":", "case", "PPC", "::", "F4RCRegClassID", ":", "case", "PPC", "::", "QFRCRegClassID", ":", "case", "PPC", "::", "QSRCRegClassID", ":", "case", "PPC", "::", "QBRCRegClassID", ":", "case", "PPC", "::", "VRRCRegClassID", ":", "case", "PPC", "::", "VFRCRegClassID", ":", "case", "PPC", "::", "VSLRCRegClassID", ":", "case", "PPC", "::", "VSHRCRegClassID", ":", "return", "32", "-", "DefaultSafety", ";", "case", "PPC", "::", "VSRCRegClassID", ":", "case", "PPC", "::", "VSFRCRegClassID", ":", "case", "PPC", "::", "VSSRCRegClassID", ":", "return", "64", "-", "DefaultSafety", ";", "case", "PPC", "::", "CRRCRegClassID", ":", "return", "8", "-", "DefaultSafety", ";", "}", "}", ""], "natrual_language": ["Return", "the", "register", "pressure", "``", "high", "water", "mark", "''", "for", "the", "specific", "register", "class", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "1", "0", "PPC::G8RC_NOX0RegClassID", "PPC::GPRC_NOR0RegClassID", "PPC::G8RCRegClassID", "PPC::GPRCRegClassID", "1", "0", "32", "PPC::F8RCRegClassID", "PPC::F4RCRegClassID", "PPC::QFRCRegClassID", "PPC::QSRCRegClassID", "PPC::QBRCRegClassID", "PPC::VRRCRegClassID", "PPC::VFRCRegClassID", "PPC::VSLRCRegClassID", "PPC::VSHRCRegClassID", "32", "PPC::VSRCRegClassID", "PPC::VSFRCRegClassID", "PPC::VSSRCRegClassID", "64", "PPC::CRRCRegClassID", "8"], "File": "PPCRegisterInfo67", "Func": "getRegPressureLimit", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22271, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "void", "aarch64_add_sp", "(", "int", "scratchreg", ",", "HOST_WIDE_INT", "delta", ",", "bool", "emit_move_imm", ")", "{", "aarch64_add_constant_internal", "(", "Pmode", ",", "SP_REGNUM", ",", "scratchreg", ",", "delta", ",", "true", ",", "emit_move_imm", ")", ";", "}", ""], "natrual_language": ["Add", "DELTA", "to", "the", "stack", "pointer", ",", "marking", "the", "instructions", "frame-related", ".", "TEMP1", "is", "available", "as", "a", "temporary", "if", "nonnull", ".", "EMIT_MOVE_IMM", "is", "false", "if", "TEMP1", "already", "contains", "abs", "(", "DELTA", ")", "."], "TS_V_token": ["aarch64"], "File": "aarch644", "Func": "aarch64_add_sp", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22272, "Length": 31, "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", "*", ">", "(", ")", ")", "{", "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": ["DLX", "ISD::MUL", "ISD::SDIV", "ISD::UDIV", "ISD::UREM", "64"], "File": "DLXTargetTransformInfo", "Func": "getArithmeticInstrCost", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22273, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CAHPAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["CAHP", "CAHP"], "File": "CAHPAsmParser", "Func": "ParseDirective", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22274, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "setPreservesAll", "(", ")", ";", "if", "(", "Subtarget", "->", "isTargetDarwin", "(", ")", "||", "Subtarget", "->", "isTargetELF", "(", ")", "||", "Subtarget", "->", "isTargetCygMing", "(", ")", ")", "{", "AU", ".", "addRequired", "<", "MachineModuleInfo", ">", "(", ")", ";", "}", "AU", ".", "addRequired", "<", "DwarfWriter", ">", "(", ")", ";", "AsmPrinter", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["X86"], "File": "X86ATTAsmPrinter", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22275, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_vector_mode_supported_p", "(", "enum", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_SSE", "&&", "VALID_SSE_REG_MODE", "(", "mode", ")", ")", "return", "true", ";", "if", "(", "TARGET_SSE2", "&&", "VALID_SSE2_REG_MODE", "(", "mode", ")", ")", "return", "true", ";", "if", "(", "TARGET_MMX", "&&", "VALID_MMX_REG_MODE", "(", "mode", ")", ")", "return", "true", ";", "if", "(", "TARGET_3DNOW", "&&", "VALID_MMX_REG_MODE_3DNOW", "(", "mode", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implements", "target", "hook", "vector_mode_supported_p", "."], "TS_V_token": ["i386"], "File": "i3863", "Func": "ix86_vector_mode_supported_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22276, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCTTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ")", "{", "if", "(", "ST", "->", "getCPUDirective", "(", ")", "==", "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": "PPCTargetTransformInfo12", "Func": "getUnrollingPreferences", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22277, "Length": 62, "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": 22278, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "paired_emit_vector_compare", "(", "enum", "rtx_code", "rcode", ",", "rtx", "dest", ",", "rtx", "op0", ",", "rtx", "op1", ",", "rtx", "cc_op0", ",", "rtx", "cc_op1", ")", "{", "rtx", "tmp", "=", "gen_reg_rtx", "(", "V2SFmode", ")", ";", "rtx", "tmp1", ",", "max", ",", "min", ";", "gcc_assert", "(", "TARGET_PAIRED_FLOAT", ")", ";", "gcc_assert", "(", "GET_MODE", "(", "op0", ")", "==", "GET_MODE", "(", "op1", ")", ")", ";", "switch", "(", "rcode", ")", "{", "case", "LT", ":", "case", "LTU", ":", "paired_emit_vector_compare", "(", "GE", ",", "dest", ",", "op1", ",", "op0", ",", "cc_op0", ",", "cc_op1", ")", ";", "return", ";", "case", "GE", ":", "case", "GEU", ":", "emit_insn", "(", "gen_subv2sf3", "(", "tmp", ",", "cc_op0", ",", "cc_op1", ")", ")", ";", "emit_insn", "(", "gen_selv2sf4", "(", "dest", ",", "tmp", ",", "op0", ",", "op1", ",", "CONST0_RTX", "(", "SFmode", ")", ")", ")", ";", "return", ";", "case", "LE", ":", "case", "LEU", ":", "paired_emit_vector_compare", "(", "GE", ",", "dest", ",", "op0", ",", "op1", ",", "cc_op1", ",", "cc_op0", ")", ";", "return", ";", "case", "GT", ":", "paired_emit_vector_compare", "(", "LE", ",", "dest", ",", "op1", ",", "op0", ",", "cc_op0", ",", "cc_op1", ")", ";", "return", ";", "case", "EQ", ":", "tmp1", "=", "gen_reg_rtx", "(", "V2SFmode", ")", ";", "max", "=", "gen_reg_rtx", "(", "V2SFmode", ")", ";", "min", "=", "gen_reg_rtx", "(", "V2SFmode", ")", ";", "gen_reg_rtx", "(", "V2SFmode", ")", ";", "emit_insn", "(", "gen_subv2sf3", "(", "tmp", ",", "cc_op0", ",", "cc_op1", ")", ")", ";", "emit_insn", "(", "gen_selv2sf4", "(", "max", ",", "tmp", ",", "cc_op0", ",", "cc_op1", ",", "CONST0_RTX", "(", "SFmode", ")", ")", ")", ";", "emit_insn", "(", "gen_subv2sf3", "(", "tmp", ",", "cc_op1", ",", "cc_op0", ")", ")", ";", "emit_insn", "(", "gen_selv2sf4", "(", "min", ",", "tmp", ",", "cc_op0", ",", "cc_op1", ",", "CONST0_RTX", "(", "SFmode", ")", ")", ")", ";", "emit_insn", "(", "gen_subv2sf3", "(", "tmp1", ",", "min", ",", "max", ")", ")", ";", "emit_insn", "(", "gen_selv2sf4", "(", "dest", ",", "tmp1", ",", "op0", ",", "op1", ",", "CONST0_RTX", "(", "SFmode", ")", ")", ")", ";", "return", ";", "case", "NE", ":", "paired_emit_vector_compare", "(", "EQ", ",", "dest", ",", "op1", ",", "op0", ",", "cc_op0", ",", "cc_op1", ")", ";", "return", ";", "case", "UNLE", ":", "paired_emit_vector_compare", "(", "LE", ",", "dest", ",", "op1", ",", "op0", ",", "cc_op0", ",", "cc_op1", ")", ";", "return", ";", "case", "UNLT", ":", "paired_emit_vector_compare", "(", "LT", ",", "dest", ",", "op1", ",", "op0", ",", "cc_op0", ",", "cc_op1", ")", ";", "return", ";", "case", "UNGE", ":", "paired_emit_vector_compare", "(", "GE", ",", "dest", ",", "op1", ",", "op0", ",", "cc_op0", ",", "cc_op1", ")", ";", "return", ";", "case", "UNGT", ":", "paired_emit_vector_compare", "(", "GT", ",", "dest", ",", "op1", ",", "op0", ",", "cc_op0", ",", "cc_op1", ")", ";", "return", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", ";", "}", ""], "natrual_language": ["Emit", "vector", "compare", "for", "code", "RCODE", ".", "DEST", "is", "destination", ",", "OP1", "and", "OP2", "are", "two", "VEC_COND_EXPR", "operands", ",", "CC_OP0", "and", "CC_OP1", "are", "the", "two", "operands", "for", "the", "relation", "operation", "COND", ".", "This", "is", "a", "recursive", "function", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "paired_emit_vector_compare", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22279, "Length": 401, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_issue_rate", "(", "void", ")", "{", "switch", "(", "mips_tune", ")", "{", "case", "PROCESSOR_74KC", ":", "case", "PROCESSOR_74KF2_1", ":", "case", "PROCESSOR_74KF1_1", ":", "case", "PROCESSOR_74KF3_2", ":", "case", "PROCESSOR_R10000", ":", "return", "4", ";", "case", "PROCESSOR_20KC", ":", "case", "PROCESSOR_R4130", ":", "case", "PROCESSOR_R5400", ":", "case", "PROCESSOR_R5500", ":", "case", "PROCESSOR_R5900", ":", "case", "PROCESSOR_R7000", ":", "case", "PROCESSOR_R9000", ":", "case", "PROCESSOR_OCTEON", ":", "case", "PROCESSOR_OCTEON2", ":", "case", "PROCESSOR_OCTEON3", ":", "case", "PROCESSOR_I6400", ":", "case", "PROCESSOR_GS264E", ":", "return", "2", ";", "case", "PROCESSOR_SB1", ":", "case", "PROCESSOR_SB1A", ":", "return", "3", ";", "case", "PROCESSOR_LOONGSON_2E", ":", "case", "PROCESSOR_LOONGSON_2F", ":", "case", "PROCESSOR_GS464", ":", "case", "PROCESSOR_GS464E", ":", "case", "PROCESSOR_P5600", ":", "case", "PROCESSOR_P6600", ":", "return", "4", ";", "case", "PROCESSOR_XLP", ":", "return", "(", "reload_completed", "?", "4", ":", "3", ")", ";", "default", ":", "return", "1", ";", "}", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "that", "can", "be", "issued", "per", "cycle", "."], "TS_V_token": ["mips", "4", "2", "3", "4", "4", "3", "1"], "File": "mips", "Func": "mips_issue_rate", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22280, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_get_strip_length", "(", "char", "c", ")", "{", "switch", "(", "c", ")", "{", "ARM_NAME_ENCODING_LENGTHS", "default", ":", "return", "0", ";", "}", "}", ""], "natrual_language": ["Return", "the", "length", "of", "a", "function", "name", "prefix", "that", "starts", "with", "the", "character", "'", "c", "'", "."], "TS_V_token": ["arm", "0"], "File": "arm2", "Func": "arm_get_strip_length", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22281, "Length": 21, "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", ">", "(", ")", ";", "Register", "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": "LanaiISelLowering12", "Func": "LowerReturn", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22282, "Length": 389, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMultiStoresCheaperThanBitsMerge", "(", "EVT", "LTy", ",", "EVT", "HTy", ")", "const", "override", "{", "if", "(", "(", "LTy", ".", "isFloatingPoint", "(", ")", "&&", "HTy", ".", "isInteger", "(", ")", ")", "||", "(", "LTy", ".", "isInteger", "(", ")", "&&", "HTy", ".", "isFloatingPoint", "(", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "cheaper", "to", "split", "the", "store", "of", "a", "merged", "int", "val", "from", "a", "pair", "of", "smaller", "values", "into", "multiple", "stores", "."], "TS_V_token": ["X86"], "File": "X86ISelLowering", "Func": "isMultiStoresCheaperThanBitsMerge", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22283, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "AArch64Subtarget", "*", "AArch64TargetMachine", "::", "getSubtargetImpl", "(", "const", "Function", "&", "F", ")", "const", "{", "Attribute", "CPUAttr", "=", "F", ".", "getFnAttribute", "(", "\"target-cpu\"", ")", ";", "Attribute", "TuneAttr", "=", "F", ".", "getFnAttribute", "(", "\"tune-cpu\"", ")", ";", "Attribute", "FSAttr", "=", "F", ".", "getFnAttribute", "(", "\"target-features\"", ")", ";", "std", "::", "string", "CPU", "=", "CPUAttr", ".", "isValid", "(", ")", "?", "CPUAttr", ".", "getValueAsString", "(", ")", ".", "str", "(", ")", ":", "TargetCPU", ";", "std", "::", "string", "TuneCPU", "=", "TuneAttr", ".", "isValid", "(", ")", "?", "TuneAttr", ".", "getValueAsString", "(", ")", ".", "str", "(", ")", ":", "CPU", ";", "std", "::", "string", "FS", "=", "FSAttr", ".", "isValid", "(", ")", "?", "FSAttr", ".", "getValueAsString", "(", ")", ".", "str", "(", ")", ":", "TargetFS", ";", "SmallString", "<", "512", ">", "Key", ";", "unsigned", "MinSVEVectorSize", "=", "0", ";", "unsigned", "MaxSVEVectorSize", "=", "0", ";", "Attribute", "VScaleRangeAttr", "=", "F", ".", "getFnAttribute", "(", "Attribute", "::", "VScaleRange", ")", ";", "if", "(", "VScaleRangeAttr", ".", "isValid", "(", ")", ")", "{", "Optional", "<", "unsigned", ">", "VScaleMax", "=", "VScaleRangeAttr", ".", "getVScaleRangeMax", "(", ")", ";", "MinSVEVectorSize", "=", "VScaleRangeAttr", ".", "getVScaleRangeMin", "(", ")", "*", "128", ";", "MaxSVEVectorSize", "=", "VScaleMax", "?", "VScaleMax", ".", "getValue", "(", ")", "*", "128", ":", "0", ";", "}", "else", "{", "MinSVEVectorSize", "=", "SVEVectorBitsMinOpt", ";", "MaxSVEVectorSize", "=", "SVEVectorBitsMaxOpt", ";", "}", "assert", "(", "MinSVEVectorSize", "%", "128", "==", "0", "&&", "\"SVE requires vector length in multiples of 128!\"", ")", ";", "assert", "(", "MaxSVEVectorSize", "%", "128", "==", "0", "&&", "\"SVE requires vector length in multiples of 128!\"", ")", ";", "assert", "(", "(", "MaxSVEVectorSize", ">=", "MinSVEVectorSize", "||", "MaxSVEVectorSize", "==", "0", ")", "&&", "\"Minimum SVE vector size should not be larger than its maximum!\"", ")", ";", "if", "(", "MaxSVEVectorSize", "==", "0", ")", "MinSVEVectorSize", "=", "(", "MinSVEVectorSize", "/", "128", ")", "*", "128", ";", "else", "{", "MinSVEVectorSize", "=", "(", "std", "::", "min", "(", "MinSVEVectorSize", ",", "MaxSVEVectorSize", ")", "/", "128", ")", "*", "128", ";", "MaxSVEVectorSize", "=", "(", "std", "::", "max", "(", "MinSVEVectorSize", ",", "MaxSVEVectorSize", ")", "/", "128", ")", "*", "128", ";", "}", "Key", "+=", "\"SVEMin\"", ";", "Key", "+=", "std", "::", "to_string", "(", "MinSVEVectorSize", ")", ";", "Key", "+=", "\"SVEMax\"", ";", "Key", "+=", "std", "::", "to_string", "(", "MaxSVEVectorSize", ")", ";", "Key", "+=", "CPU", ";", "Key", "+=", "TuneCPU", ";", "Key", "+=", "FS", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "Key", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "std", "::", "make_unique", "<", "AArch64Subtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "TuneCPU", ",", "FS", ",", "*", "this", ",", "isLittle", ",", "MinSVEVectorSize", ",", "MaxSVEVectorSize", ")", ";", "}", "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": ["AArch64", "AArch64", "AArch64", "\"target-cpu\"", "\"tune-cpu\"", "\"target-features\"", "512", "0", "0", "128", "128", "0", "128", "0", "\"SVE requires vector length in multiples of 128!\"", "128", "0", "\"SVE requires vector length in multiples of 128!\"", "0", "\"Minimum SVE vector size should not be larger than its maximum!\"", "0", "128", "128", "128", "128", "128", "128", "\"SVEMin\"", "\"SVEMax\"", "AArch64"], "File": "AArch64TargetMachine32", "Func": "getSubtargetImpl", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22284, "Length": 382, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Cpu0TargetLowering", "::", "ConstraintType", "Cpu0TargetLowering", "::", "getConstraintType", "(", "StringRef", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'c'", ":", "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": ["Cpu0", "Cpu0", "Cpu0", "1", "0"], "File": "Cpu0ISelLowering", "Func": "getConstraintType", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22285, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_is_extend_from_extract", "(", "scalar_int_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": "aarch64", "Func": "aarch64_is_extend_from_extract", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22286, "Length": 99, "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": 22287, "Length": 420, "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": "X86ISelLowering149", "Func": "isLegalAddressingMode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22288, "Length": 212, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "shouldUseStrictFP_TO_INT", "(", "EVT", "FpVT", ",", "EVT", "IntVT", ",", "bool", "IsSigned", ")", "const", "{", "return", "!", "IsSigned", "&&", "FpVT", "==", "MVT", "::", "f80", "&&", "Subtarget", ".", "hasCMov", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "more", "correct/profitable", "to", "use", "strict", "FP_TO_INT", "conversion", "operations", "-", "canonicalizing", "the", "FP", "source", "value", "instead", "of", "converting", "all", "cases", "and", "then", "selecting", "based", "on", "value", "."], "TS_V_token": ["X86", "X86", "MVT::f80"], "File": "X86ISelLowering (2)7", "Func": "shouldUseStrictFP_TO_INT", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22289, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64TargetLowering", "::", "LowerOperationWrapper", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDValue", "Res", "=", "LowerOperation", "(", "SDValue", "(", "N", ",", "0", ")", ",", "DAG", ")", ";", "if", "(", "Res", ".", "getNode", "(", ")", ")", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "Res", "->", "getNumValues", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Results", ".", "push_back", "(", "Res", ".", "getValue", "(", "I", ")", ")", ";", "}", ""], "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": ["AArch64", "AArch64", "0", "0"], "File": "AArch64ISelLowering102", "Func": "LowerOperationWrapper", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22290, "Length": 80, "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", ")", ",", "ARMProcFamily", "(", "Others", ")", ",", "ARMProcClass", "(", "None", ")", ",", "ARMArch", "(", "ARMv4t", ")", ",", "stackAlignment", "(", "4", ")", ",", "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", "4", "ARM", "ARM", "ARM", "ARM"], "File": "ARMSubtarget13", "Func": "ARMSubtarget", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22291, "Length": 152, "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", "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", ")", ";", "}", "}", ""], "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": "ARMBaseRegisterInfo27", "Func": "getRegAllocationHints", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22292, "Length": 264, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "altivec_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", ")", ";", "rs6000_expand_vector_extract", "(", "target", ",", "op0", ",", "elt", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Expand", "vec_ext", "builtin", "."], "TS_V_token": ["rs6000", "0", "1"], "File": "rs60004", "Func": "altivec_expand_vec_ext_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22293, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "insn_path", "get_insn_path", "(", "rtx_insn", "*", "insn", ")", "{", "enum", "attr_amdfam10_decode", "path", "=", "get_attr_amdfam10_decode", "(", "insn", ")", ";", "if", "(", "(", "int", ")", "path", "==", "0", ")", "return", "path_single", ";", "if", "(", "(", "int", ")", "path", "==", "1", ")", "return", "path_double", ";", "return", "path_multi", ";", "}", ""], "natrual_language": ["Return", "single", "or", "double", "path", "for", "instructions", "."], "TS_V_token": ["i386", "0", "1"], "File": "i3864", "Func": "get_insn_path", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22294, "Length": 47, "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", "(", "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", "(", "regno", ",", "sel", ")", ";", "fprintf", "(", "file", ",", "\"\\t.extern %s\\n\"", ",", "name", ")", ";", "}", "}", "}", ""], "natrual_language": ["Output", ".extern", "statements", "for", "the", "save/restore", "routines", "we", "use", "."], "TS_V_token": ["rs6000", "64", "32", "0", "0", "0", "\"\\t.extern %s\\n\"", "0", "0", "0", "\"\\t.extern %s\\n\""], "File": "rs6000-logue", "Func": "rs6000_output_savres_externs", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22295, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "bool", "is64Bit", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ";", "bool", "isWin64", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "isTargetWin64", "(", ")", ";", "unsigned", "SlotSize", "=", "is64Bit", "?", "8", ":", "4", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "unsigned", "FPReg", "=", "RI", ".", "getFrameRegister", "(", "MF", ")", ";", "X86MachineFunctionInfo", "*", "X86FI", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "unsigned", "CalleeFrameSize", "=", "0", ";", "unsigned", "Opc", "=", "is64Bit", "?", "X86", "::", "PUSH64r", ":", "X86", "::", "PUSH32r", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "RegClass", "=", "CSI", "[", "i", "-", "1", "]", ".", "getRegClass", "(", ")", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "if", "(", "Reg", "==", "FPReg", ")", "continue", ";", "if", "(", "RegClass", "!=", "&", "X86", "::", "VR128RegClass", "&&", "!", "isWin64", ")", "{", "CalleeFrameSize", "+=", "SlotSize", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opc", ")", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ";", "}", "else", "{", "storeRegToStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "true", ",", "CSI", "[", "i", "-", "1", "]", ".", "getFrameIdx", "(", ")", ",", "RegClass", ")", ";", "}", "}", "X86FI", "->", "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": ["X86", "X86", "X86", "X86", "8", "4", "X86", "X86", "X86", "0", "X86::PUSH64r", "X86::PUSH32r", "0", "1", "1", "X86::VR128RegClass", "1", "X86"], "File": "X86InstrInfo108", "Func": "spillCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22296, "Length": 301, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_cost_data", "::", "density_test", "(", "loop_vec_info", "loop_vinfo", ")", "{", "if", "(", "m_costing_for_scalar", ")", "return", ";", "struct", "loop", "*", "loop", "=", "LOOP_VINFO_LOOP", "(", "loop_vinfo", ")", ";", "basic_block", "*", "bbs", "=", "get_loop_body", "(", "loop", ")", ";", "int", "nbbs", "=", "loop", "->", "num_nodes", ";", "int", "vec_cost", "=", "m_costs", "[", "vect_body", "]", ",", "not_vec_cost", "=", "0", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "nbbs", ";", "i", "++", ")", "{", "basic_block", "bb", "=", "bbs", "[", "i", "]", ";", "gimple_stmt_iterator", "gsi", ";", "for", "(", "gsi", "=", "gsi_start_bb", "(", "bb", ")", ";", "!", "gsi_end_p", "(", "gsi", ")", ";", "gsi_next", "(", "&", "gsi", ")", ")", "{", "gimple", "*", "stmt", "=", "gsi_stmt", "(", "gsi", ")", ";", "if", "(", "is_gimple_debug", "(", "stmt", ")", ")", "continue", ";", "stmt_vec_info", "stmt_info", "=", "loop_vinfo", "->", "lookup_stmt", "(", "stmt", ")", ";", "if", "(", "!", "STMT_VINFO_RELEVANT_P", "(", "stmt_info", ")", "&&", "!", "STMT_VINFO_IN_PATTERN_P", "(", "stmt_info", ")", ")", "not_vec_cost", "++", ";", "}", "}", "free", "(", "bbs", ")", ";", "int", "density_pct", "=", "(", "vec_cost", "*", "100", ")", "/", "(", "vec_cost", "+", "not_vec_cost", ")", ";", "if", "(", "density_pct", ">", "rs6000_density_pct_threshold", "&&", "vec_cost", "+", "not_vec_cost", ">", "rs6000_density_size_threshold", ")", "{", "m_costs", "[", "vect_body", "]", "=", "vec_cost", "*", "(", "100", "+", "rs6000_density_penalty", ")", "/", "100", ";", "if", "(", "dump_enabled_p", "(", ")", ")", "dump_printf_loc", "(", "MSG_NOTE", ",", "vect_location", ",", "\"density %d%%, cost %d exceeds threshold, penalizing \"", "\"loop body cost by %u%%\\n\"", ",", "density_pct", ",", "vec_cost", "+", "not_vec_cost", ",", "rs6000_density_penalty", ")", ";", "}", "if", "(", "m_extra_ctor_cost", ">", "0", ")", "{", "gcc_assert", "(", "m_nloads", "<=", "m_nstmts", ")", ";", "unsigned", "int", "load_pct", "=", "(", "m_nloads", "*", "100", ")", "/", "m_nstmts", ";", "if", "(", "m_nloads", ">", "(", "unsigned", "int", ")", "rs6000_density_load_num_threshold", "&&", "load_pct", ">", "(", "unsigned", "int", ")", "rs6000_density_load_pct_threshold", ")", "{", "m_costs", "[", "vect_body", "]", "+=", "m_extra_ctor_cost", ";", "if", "(", "dump_enabled_p", "(", ")", ")", "dump_printf_loc", "(", "MSG_NOTE", ",", "vect_location", ",", "\"Found %u loads and \"", "\"load pct. %u%% exceed \"", "\"the threshold, \"", "\"penalizing loop body \"", "\"cost by extra cost %u \"", "\"for ctor.\\n\"", ",", "m_nloads", ",", "load_pct", ",", "m_extra_ctor_cost", ")", ";", "}", "}", "}", ""], "natrual_language": ["Test", "for", "likely", "overcommitment", "of", "vector", "hardware", "resources", ".", "If", "a", "loop", "iteration", "is", "relatively", "large", ",", "and", "too", "large", "a", "percentage", "of", "instructions", "in", "the", "loop", "are", "vectorized", ",", "the", "cost", "model", "may", "not", "adequately", "reflect", "delays", "from", "unavailable", "vector", "resources", ".", "Penalize", "the", "loop", "body", "cost", "for", "this", "case", "."], "TS_V_token": ["rs6000", "0", "0", "100", "100", "100", "\"density %d%%, cost %d exceeds threshold, penalizing \"", "\"loop body cost by %u%%\\n\"", "0", "100", "\"Found %u loads and \"", "\"load pct. %u%% exceed \"", "\"the threshold, \"", "\"penalizing loop body \"", "\"cost by extra cost %u \"", "\"for ctor.\\n\""], "File": "rs6000", "Func": "density_test", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22297, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "dump", "(", ")", "const", "{", "if", "(", "Start", ")", "dbgs", "(", ")", "<<", "\"ARM Loops: Found Loop Start: \"", "<<", "*", "Start", ";", "if", "(", "Dec", ")", "dbgs", "(", ")", "<<", "\"ARM Loops: Found Loop Dec: \"", "<<", "*", "Dec", ";", "if", "(", "End", ")", "dbgs", "(", ")", "<<", "\"ARM Loops: Found Loop End: \"", "<<", "*", "End", ";", "if", "(", "VCTP", ")", "dbgs", "(", ")", "<<", "\"ARM Loops: Found VCTP: \"", "<<", "*", "VCTP", ";", "if", "(", "!", "FoundAllComponents", "(", ")", ")", "dbgs", "(", ")", "<<", "\"ARM Loops: Not a low-overhead loop.\\n\"", ";", "else", "if", "(", "!", "(", "Start", "&&", "Dec", "&&", "End", ")", ")", "dbgs", "(", ")", "<<", "\"ARM Loops: Failed to find all loop components.\\n\"", ";", "}", ""], "natrual_language": ["Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "."], "TS_V_token": ["ARM", "\"ARM Loops: Found Loop Start: \"", "\"ARM Loops: Found Loop Dec: \"", "\"ARM Loops: Found Loop End: \"", "\"ARM Loops: Found VCTP: \"", "\"ARM Loops: Not a low-overhead loop.\\n\"", "\"ARM Loops: Failed to find all loop components.\\n\""], "File": "ARMLowOverheadLoops10", "Func": "dump", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22298, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "sh_symbian_get_strip_length", "(", "int", "c", ")", "{", "return", "(", "c", "==", "SH_SYMBIAN_FLAG_CHAR", "[", "0", "]", ")", "?", "strlen", "(", "DLL_EXPORT_PREFIX", ")", ":", "0", ";", "}", ""], "natrual_language": ["Return", "the", "length", "of", "a", "function", "name", "prefix", "that", "starts", "with", "the", "character", "'", "c", "'", "."], "TS_V_token": ["sh", "0", "0"], "File": "symbian", "Func": "sh_symbian_get_strip_length", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22299, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isFsqrtCheap", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "if", "(", "VT", ".", "getScalarType", "(", ")", "==", "MVT", "::", "f16", ")", "return", "true", ";", "if", "(", "DAG", ".", "doesNodeExist", "(", "X86ISD", "::", "FRSQRT", ",", "DAG", ".", "getVTList", "(", "VT", ")", ",", "Op", ")", ")", "return", "false", ";", "if", "(", "VT", ".", "isVector", "(", ")", ")", "return", "Subtarget", ".", "hasFastVectorFSQRT", "(", ")", ";", "return", "Subtarget", ".", "hasFastScalarFSQRT", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "SQRT", "(", "X", ")", "should", "n't", "be", "replaced", "with", "X", "*", "RSQRT", "(", "X", ")", "."], "TS_V_token": ["X86", "X86", "MVT::f16", "X86ISD::FRSQRT"], "File": "X86ISelLowering104", "Func": "isFsqrtCheap", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22300, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "selectBinaryOp", "(", "unsigned", "GenericOpc", ",", "unsigned", "RegBankID", ",", "unsigned", "OpSize", ")", "{", "switch", "(", "RegBankID", ")", "{", "case", "AArch64", "::", "GPRRegBankID", ":", "switch", "(", "OpSize", ")", "{", "case", "32", ":", "switch", "(", "GenericOpc", ")", "{", "case", "TargetOpcode", "::", "G_OR", ":", "return", "AArch64", "::", "ORRWrr", ";", "case", "TargetOpcode", "::", "G_XOR", ":", "return", "AArch64", "::", "EORWrr", ";", "case", "TargetOpcode", "::", "G_AND", ":", "return", "AArch64", "::", "ANDWrr", ";", "case", "TargetOpcode", "::", "G_ADD", ":", "return", "AArch64", "::", "ADDWrr", ";", "case", "TargetOpcode", "::", "G_SUB", ":", "return", "AArch64", "::", "SUBWrr", ";", "default", ":", "return", "GenericOpc", ";", "}", "case", "64", ":", "switch", "(", "GenericOpc", ")", "{", "case", "TargetOpcode", "::", "G_OR", ":", "return", "AArch64", "::", "ORRXrr", ";", "case", "TargetOpcode", "::", "G_XOR", ":", "return", "AArch64", "::", "EORXrr", ";", "case", "TargetOpcode", "::", "G_AND", ":", "return", "AArch64", "::", "ANDXrr", ";", "case", "TargetOpcode", "::", "G_ADD", ":", "return", "AArch64", "::", "ADDXrr", ";", "case", "TargetOpcode", "::", "G_SUB", ":", "return", "AArch64", "::", "SUBXrr", ";", "default", ":", "return", "GenericOpc", ";", "}", "}", "}", ";", "return", "GenericOpc", ";", "}", ""], "natrual_language": ["Select", "and", "emit", "code", "for", "a", "binary", "operator", "instruction", ",", "which", "has", "an", "opcode", "which", "directly", "corresponds", "to", "the", "given", "ISD", "opcode", "."], "TS_V_token": ["AArch64", "AArch64::GPRRegBankID", "32", "AArch64::ORRWrr", "AArch64::EORWrr", "AArch64::ANDWrr", "AArch64::ADDWrr", "AArch64::SUBWrr", "64", "AArch64::ORRXrr", "AArch64::EORXrr", "AArch64::ANDXrr", "AArch64::ADDXrr", "AArch64::SUBXrr"], "File": "AArch64InstructionSelector35", "Func": "selectBinaryOp", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22301, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", "ARMInstrInfo", "::", "decomposeMachineOperandsTargetFlags", "(", "unsigned", "TF", ")", "const", "{", "const", "unsigned", "Mask", "=", "ARMII", "::", "MO_OPTION_MASK", ";", "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": ["ARM", "ARM", "ARMII::MO_OPTION_MASK"], "File": "ARMInstrInfo42", "Func": "decomposeMachineOperandsTargetFlags", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22302, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_small_data_pattern_1", "(", "rtx", "x", ",", "enum", "mips_symbol_context", "context", ")", "{", "subrtx_var_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX_VAR", "(", "iter", ",", "array", ",", "x", ",", "ALL", ")", "{", "rtx", "x", "=", "*", "iter", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "LO_SUM", "||", "GET_CODE", "(", "x", ")", "==", "ASM_OPERANDS", ")", "iter", ".", "skip_subrtxes", "(", ")", ";", "else", "if", "(", "MEM_P", "(", "x", ")", ")", "{", "if", "(", "mips_small_data_pattern_1", "(", "XEXP", "(", "x", ",", "0", ")", ",", "SYMBOL_CONTEXT_MEM", ")", ")", "return", "true", ";", "iter", ".", "skip_subrtxes", "(", ")", ";", "}", "else", "if", "(", "mips_rewrite_small_data_p", "(", "x", ",", "context", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["A", "for_each_rtx", "callback", "for", "mips_small_data_pattern_p", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips_small_data_pattern_1", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22303, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "LoongArchRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "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_RegMask", ";", "case", "LoongArchABI", "::", "ABI_ILP32F", ":", "case", "LoongArchABI", "::", "ABI_LP64F", ":", "return", "CSR_ILP32F_LP64F_RegMask", ";", "case", "LoongArchABI", "::", "ABI_ILP32D", ":", "case", "LoongArchABI", "::", "ABI_LP64D", ":", "return", "CSR_ILP32D_LP64D_RegMask", ";", "}", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "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": "getCallPreservedMask", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22304, "Length": 89, "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": 22305, "Length": 369, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMISelDAGToDAG (2)4", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22306, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "CallLowering", "*", "AArch64Subtarget", "::", "getCallLowering", "(", ")", "const", "{", "assert", "(", "GISel", "&&", "\"Access to GlobalISel APIs not set\"", ")", ";", "return", "GISel", "->", "getCallLowering", "(", ")", ";", "}", ""], "natrual_language": ["Methods", "used", "by", "Global", "ISel", "."], "TS_V_token": ["AArch64", "AArch64", "\"Access to GlobalISel APIs not set\""], "File": "AArch64Subtarget16", "Func": "getCallLowering", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22307, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "X86", "::", "MOV8rm", ":", "case", "X86", "::", "MOV16rm", ":", "case", "X86", "::", "MOV16_rm", ":", "case", "X86", "::", "MOV32rm", ":", "case", "X86", "::", "MOV32_rm", ":", "case", "X86", "::", "MOV64rm", ":", "case", "X86", "::", "LD_Fp64m", ":", "case", "X86", "::", "MOVSSrm", ":", "case", "X86", "::", "MOVSDrm", ":", "case", "X86", "::", "MOVAPSrm", ":", "case", "X86", "::", "MOVAPDrm", ":", "case", "X86", "::", "MOVDQArm", ":", "case", "X86", "::", "MMX_MOVD64rm", ":", "case", "X86", "::", "MMX_MOVQ64rm", ":", "if", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "isFI", "(", ")", "&&", "MI", "->", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", "&&", "MI", "->", "getOperand", "(", "3", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "4", ")", ".", "isImm", "(", ")", "&&", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "1", "&&", "MI", "->", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", "==", "0", "&&", "MI", "->", "getOperand", "(", "4", ")", ".", "getImm", "(", ")", "==", "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": ["X86", "X86", "X86::MOV8rm", "X86::MOV16rm", "X86::MOV16_rm", "X86::MOV32rm", "X86::MOV32_rm", "X86::MOV64rm", "X86::LD_Fp64m", "X86::MOVSSrm", "X86::MOVSDrm", "X86::MOVAPSrm", "X86::MOVAPDrm", "X86::MOVDQArm", "X86::MMX_MOVD64rm", "X86::MMX_MOVQ64rm", "1", "2", "3", "4", "2", "1", "3", "0", "4", "0", "1", "0", "0"], "File": "X86InstrInfo101", "Func": "isLoadFromStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22308, "Length": 218, "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": 22309, "Length": 285, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "std", "::", "unique_ptr", "<", "SparcOperand", ">", "CreateReg", "(", "unsigned", "RegNum", ",", "unsigned", "Kind", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{", "auto", "Op", "=", "make_unique", "<", "SparcOperand", ">", "(", "k_Register", ")", ";", "Op", "->", "Reg", ".", "RegNum", "=", "RegNum", ";", "Op", "->", "Reg", ".", "Kind", "=", "(", "SparcOperand", "::", "RegisterKind", ")", "Kind", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "E", ";", "return", "Op", ";", "}", ""], "natrual_language": ["CreateReg", "-", "Allocate", "a", "single", "virtual", "register", "for", "the", "given", "type", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "SparcOperand::RegisterKind"], "File": "SparcAsmParser", "Func": "CreateReg", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22310, "Length": 70, "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": ["Cpu0"], "File": "Cpu0MCExpr", "Func": "findAssociatedFragment", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22311, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "SystemZTTIImpl", "::", "getIntImmCost", "(", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "BitSize", ">", "64", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "Imm", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "if", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", ")", "{", "if", "(", "isInt", "<", "32", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Basic", ";", "if", "(", "isUInt", "<", "32", ">", "(", "Imm", ".", "getZExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Basic", ";", "if", "(", "(", "Imm", ".", "getZExtValue", "(", ")", "&", "0xffffffff", ")", "==", "0", ")", "return", "TTI", "::", "TCC_Basic", ";", "return", "2", "*", "TTI", "::", "TCC_Basic", ";", "}", "return", "4", "*", "TTI", "::", "TCC_Basic", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "64", "0", "64", "32", "32", "0xffffffff", "0", "2", "4"], "File": "SystemZTargetTransformInfo", "Func": "getIntImmCost", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22312, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCTTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ")", "{", "if", "(", "ST", "->", "getDarwinDirective", "(", ")", "==", "PPC", "::", "DIR_A2", ")", "{", "UP", ".", "Partial", "=", "UP", ".", "Runtime", "=", "true", ";", "}", "BaseT", "::", "getUnrollingPreferences", "(", "L", ",", "UP", ")", ";", "}", ""], "natrual_language": ["Get", "target-customized", "preferences", "for", "the", "generic", "loop", "unrolling", "transformation", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::DIR_A2"], "File": "PPCTargetTransformInfo19", "Func": "getUnrollingPreferences", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22313, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_init_builtins", "(", "void", ")", "{", "const", "struct", "mips_builtin_description", "*", "d", ";", "unsigned", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "mips_builtins", ")", ";", "i", "++", ")", "{", "d", "=", "&", "mips_builtins", "[", "i", "]", ";", "if", "(", "d", "->", "avail", "(", ")", ")", "mips_builtin_decls", "[", "i", "]", "=", "add_builtin_function", "(", "d", "->", "name", ",", "mips_build_function_type", "(", "d", "->", "function_type", ")", ",", "i", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL", ")", ";", "}", "}", ""], "natrual_language": ["Init", "builtin", "functions", ".", "This", "is", "called", "from", "TARGET_INIT_BUILTIN", "."], "TS_V_token": ["mips", "0"], "File": "mips4", "Func": "mips_init_builtins", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22314, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "PPCRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R0", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R1", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "RM", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R2", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R13", ")", ";", "}", "if", "(", "Subtarget", ".", "isDarwinABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R2", ")", ";", "}", "if", "(", "Subtarget", ".", "isPPC64", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "R13", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "R31", ")", ";", "if", "(", "!", "EnableRegisterScavenging", ")", "Reserved", ".", "set", "(", "PPC", "::", "R0", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X0", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X1", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X13", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "X31", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "X2", ")", ";", "}", "if", "(", "Subtarget", ".", "isDarwinABI", "(", ")", ")", "{", "Reserved", ".", "set", "(", "PPC", "::", "X2", ")", ";", "}", "}", "if", "(", "needsFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "R31", ")", ";", "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": ["PowerPC", "PPC", "PPC::R0", "PPC::R1", "PPC::LR", "PPC::LR8", "PPC::RM", "PPC::R2", "PPC::R13", "PPC::R2", "PPC", "PPC::R13", "PPC::R31", "PPC::R0", "PPC::X0", "PPC::X1", "PPC::X13", "PPC::X31", "PPC::X2", "PPC::X2", "PPC::R31"], "File": "PPCRegisterInfo21", "Func": "getReservedRegs", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22315, "Length": 248, "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", "(", ")", ";", "if", "(", "LastWasBL8_ELF", "&&", "Opcode", "!=", "PPC", "::", "NOP", ")", "return", "Hazard", ";", "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\"", "PPC::NOP", "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": "PPCHazardRecognizers34", "Func": "getHazardType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22316, "Length": 284, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_option_params_internal", "(", "void", ")", "{", "if", "(", "TARGET_THUMB1", ")", "{", "targetm", ".", "min_anchor_offset", "=", "0", ";", "targetm", ".", "max_anchor_offset", "=", "127", ";", "}", "else", "if", "(", "TARGET_THUMB2", ")", "{", "targetm", ".", "min_anchor_offset", "=", "-", "248", ";", "targetm", ".", "max_anchor_offset", "=", "4095", ";", "}", "else", "{", "targetm", ".", "min_anchor_offset", "=", "TARGET_MIN_ANCHOR_OFFSET", ";", "targetm", ".", "max_anchor_offset", "=", "TARGET_MAX_ANCHOR_OFFSET", ";", "}", "max_insns_skipped", "=", "optimize_size", "?", "4", ":", "current_tune", "->", "max_insns_skipped", ";", "if", "(", "TARGET_THUMB2", ")", "max_insns_skipped", "=", "MIN", "(", "max_insns_skipped", ",", "MAX_INSN_PER_IT_BLOCK", ")", ";", "}", ""], "natrual_language": ["Recompute", "the", "global", "settings", "depending", "on", "target", "attribute", "options", "."], "TS_V_token": ["arm", "0", "127", "248", "4095", "4"], "File": "arm7", "Func": "arm_option_params_internal", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22317, "Length": 84, "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": 22318, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsRegisterInfo", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "bool", "isPIC", "=", "(", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", ";", "if", "(", "MFI", "->", "hasCalls", "(", ")", "&&", "isPIC", ")", "{", "MipsFunctionInfo", "*", "MipsFI", "=", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "MFI", "->", "setObjectOffset", "(", "MipsFI", "->", "getGPFI", "(", ")", ",", "MipsFI", "->", "getGPStackOffset", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsRegisterInfo18", "Func": "processFunctionBeforeFrameFinalized", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22319, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_xcoff_file_end", "(", "void", ")", "{", "switch_to_section", "(", "text_section", ")", ";", "if", "(", "xcoff_tls_exec_model_detected", ")", "{", "fputs", "(", "\"\\t.extern __tls_get_addr\\n\\t.ref __tls_get_addr\\n\"", ",", "asm_out_file", ")", ";", "}", "fputs", "(", "\"_section_.text:\\n\"", ",", "asm_out_file", ")", ";", "switch_to_section", "(", "data_section", ")", ";", "fputs", "(", "TARGET_32BIT", "?", "\"\\t.long _section_.text\\n\"", ":", "\"\\t.llong _section_.text\\n\"", ",", "asm_out_file", ")", ";", "}", ""], "natrual_language": ["Output", "at", "end", "of", "assembler", "file", ".", "On", "the", "RS/6000", ",", "referencing", "data", "should", "automatically", "pull", "in", "text", "."], "TS_V_token": ["rs6000", "\"\\t.extern __tls_get_addr\\n\\t.ref __tls_get_addr\\n\"", "\"_section_.text:\\n\"", "\"\\t.long _section_.text\\n\"", "\"\\t.llong _section_.text\\n\""], "File": "rs6000", "Func": "rs6000_xcoff_file_end", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22320, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"CAHP Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["CAHP", "\"CAHP Assembly Printer\""], "File": "CAHPAsmPrinter", "Func": "getPassName", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22321, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "add", "(", "HOST_WIDE_INT", "val", ")", "{", "asm_fprintf", "(", "t_file", ",", "\"\\tadds\\t%s, #\"", "HOST_WIDE_INT_PRINT_DEC", "\"\\n\"", ",", "dst_regname", ",", "val", ")", ";", "}", ""], "natrual_language": ["Make", "function", "pointers", "for", "the", "various", "linear", "operators", "we", "can", "apply", "to", "compute", "a", "multiplicative", "value", "."], "TS_V_token": ["arm", "\"\\tadds\\t%s, #\"", "\"\\n\""], "File": "arm", "Func": "add", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22322, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_vectorize_vec_perm_const", "(", "machine_mode", "vmode", ",", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ",", "const", "vec_perm_indices", "&", "sel", ")", "{", "bool", "testing_p", "=", "!", "target", ";", "if", "(", "TARGET_ALTIVEC", "&&", "testing_p", ")", "return", "true", ";", "if", "(", "op0", ")", "{", "rtx", "nop0", "=", "force_reg", "(", "vmode", ",", "op0", ")", ";", "if", "(", "op0", "==", "op1", ")", "op1", "=", "nop0", ";", "op0", "=", "nop0", ";", "}", "if", "(", "op1", ")", "op1", "=", "force_reg", "(", "vmode", ",", "op1", ")", ";", "if", "(", "(", "vmode", "==", "V2DFmode", "||", "vmode", "==", "V2DImode", ")", "&&", "VECTOR_MEM_VSX_P", "(", "vmode", ")", ")", "{", "if", "(", "testing_p", ")", "{", "op0", "=", "gen_raw_REG", "(", "vmode", ",", "LAST_VIRTUAL_REGISTER", "+", "1", ")", ";", "op1", "=", "gen_raw_REG", "(", "vmode", ",", "LAST_VIRTUAL_REGISTER", "+", "2", ")", ";", "}", "if", "(", "rs6000_expand_vec_perm_const_1", "(", "target", ",", "op0", ",", "op1", ",", "sel", "[", "0", "]", ",", "sel", "[", "1", "]", ")", ")", "return", "true", ";", "}", "if", "(", "TARGET_ALTIVEC", ")", "{", "if", "(", "vmode", "!=", "V16QImode", ")", "return", "false", ";", "if", "(", "altivec_expand_vec_perm_const", "(", "target", ",", "op0", ",", "op1", ",", "sel", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VECTORIZE_VEC_PERM_CONST", "."], "TS_V_token": ["rs6000", "1", "2", "0", "1"], "File": "rs6000", "Func": "rs6000_vectorize_vec_perm_const", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22323, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "section", "*", "aarch64_select_rtx_section", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", "ATTRIBUTE_UNUSED", ",", "unsigned", "HOST_WIDE_INT", "align", "ATTRIBUTE_UNUSED", ")", "{", "return", "function_section", "(", "current_function_decl", ")", ";", "}", ""], "natrual_language": ["Select", "appropriate", "section", "for", "constants", "depending", "on", "where", "we", "place", "literal", "pools", "."], "TS_V_token": ["aarch64"], "File": "aarch642", "Func": "aarch64_select_rtx_section", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22324, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "override", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "LC3", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_lc3_mov_hi16_pcrel\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_lc3_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": ["LC3", "LC3::NumTargetFixupKinds", "\"fixup_lc3_mov_hi16_pcrel\"", "0", "32", "\"fixup_lc3_mov_lo16_pcrel\"", "0", "32", "\"Invalid kind!\""], "File": "LC3AsmBackend", "Func": "getFixupKindInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22325, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "insertSelect", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "DL", ",", "Register", "DstReg", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "Register", "TrueReg", ",", "Register", "FalseReg", ")", "const", "{", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterInfo", "&", "TRI", "=", "*", "MRI", ".", "getTargetRegisterInfo", "(", ")", ";", "const", "TargetRegisterClass", "&", "RC", "=", "*", "MRI", ".", "getRegClass", "(", "DstReg", ")", ";", "assert", "(", "Cond", ".", "size", "(", ")", "==", "1", "&&", "\"Invalid Cond array\"", ")", ";", "unsigned", "Opc", "=", "X86", "::", "getCMovOpcode", "(", "TRI", ".", "getRegSizeInBits", "(", "RC", ")", "/", "8", ",", "false", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DstReg", ")", ".", "addReg", "(", "FalseReg", ")", ".", "addReg", "(", "TrueReg", ")", ".", "addImm", "(", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ")", ";", "}", ""], "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::getCMovOpcode", "8", "0"], "File": "X86InstrInfo (2)3", "Func": "insertSelect", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22326, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emitSPUpdate", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "int64_t", "NumBytes", ",", "const", "TargetInstrInfo", "&", "TII", ")", "{", "unsigned", "Opc", ";", "uint64_t", "Chunk", ";", "bool", "isSub", "=", "NumBytes", "<", "0", ";", "uint64_t", "Offset", "=", "isSub", "?", "-", "NumBytes", ":", "NumBytes", ";", "if", "(", "Offset", ">=", "(", "1LL", "<<", "15", ")", "-", "1", ")", "{", "Opc", "=", "SystemZ", "::", "ADD64ri32", ";", "Chunk", "=", "(", "1LL", "<<", "31", ")", "-", "1", ";", "}", "else", "{", "Opc", "=", "SystemZ", "::", "ADD64ri16", ";", "Chunk", "=", "(", "1LL", "<<", "15", ")", "-", "1", ";", "}", "DebugLoc", "DL", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "while", "(", "Offset", ")", "{", "uint64_t", "ThisVal", "=", "(", "Offset", ">", "Chunk", ")", "?", "Chunk", ":", "Offset", ";", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "SystemZ", "::", "R15D", ")", ".", "addReg", "(", "SystemZ", "::", "R15D", ")", ".", "addImm", "(", "isSub", "?", "-", "ThisVal", ":", "ThisVal", ")", ";", "MI", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "Offset", "-=", "ThisVal", ";", "}", "}", ""], "natrual_language": ["Emit", "a", "series", "of", "instructions", "to", "increment", "/", "decrement", "the", "stack", "pointer", "by", "a", "constant", "value", "."], "TS_V_token": ["SystemZ", "0", "1LL", "15", "1", "SystemZ::ADD64ri32", "1LL", "31", "1", "SystemZ::ADD64ri16", "1LL", "15", "1", "SystemZ::R15D", "SystemZ::R15D", "3"], "File": "SystemZFrameInfo", "Func": "emitSPUpdate", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22327, "Length": 192, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_standard_x87sse_constant_load_p", "(", "const", "rtx_insn", "*", "insn", ",", "rtx", "dst", ")", "{", "rtx", "src", "=", "find_constant_src", "(", "insn", ")", ";", "gcc_assert", "(", "REG_P", "(", "dst", ")", ")", ";", "if", "(", "src", "==", "NULL", "||", "(", "SSE_REGNO_P", "(", "REGNO", "(", "dst", ")", ")", "&&", "standard_sse_constant_p", "(", "src", ",", "GET_MODE", "(", "dst", ")", ")", "!=", "1", ")", "||", "(", "STACK_REGNO_P", "(", "REGNO", "(", "dst", ")", ")", "&&", "standard_80387_constant_p", "(", "src", ")", "<", "1", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "INSN", "can", "be", "transformed", "from", "a", "memory", "load", "to", "a", "supported", "FP", "constant", "load", "."], "TS_V_token": ["i386", "1", "1"], "File": "i386", "Func": "ix86_standard_x87sse_constant_load_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22328, "Length": 80, "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": "SystemZMachineScheduler13", "Func": "pickNode", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22329, "Length": 243, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XNCMFrameLowering", "::", "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", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "}", "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": ["XNCM", "XNCM", "0"], "File": "XNCMFrameLowering", "Func": "restoreCalleeSavedRegisters", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22330, "Length": 91, "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": 22331, "Length": 296, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "shift_op", "(", "rtx", "op", ",", "HOST_WIDE_INT", "*", "amountp", ")", "{", "const", "char", "*", "mnem", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "op", ")", ";", "switch", "(", "code", ")", "{", "case", "ROTATE", ":", "if", "(", "!", "CONST_INT_P", "(", "XEXP", "(", "op", ",", "1", ")", ")", ")", "{", "output_operand_lossage", "(", "\"invalid shift operand\"", ")", ";", "return", "NULL", ";", "}", "code", "=", "ROTATERT", ";", "*", "amountp", "=", "32", "-", "INTVAL", "(", "XEXP", "(", "op", ",", "1", ")", ")", ";", "mnem", "=", "\"ror\"", ";", "break", ";", "case", "ASHIFT", ":", "case", "ASHIFTRT", ":", "case", "LSHIFTRT", ":", "case", "ROTATERT", ":", "mnem", "=", "arm_shift_nmem", "(", "code", ")", ";", "if", "(", "CONST_INT_P", "(", "XEXP", "(", "op", ",", "1", ")", ")", ")", "{", "*", "amountp", "=", "INTVAL", "(", "XEXP", "(", "op", ",", "1", ")", ")", ";", "}", "else", "if", "(", "REG_P", "(", "XEXP", "(", "op", ",", "1", ")", ")", ")", "{", "*", "amountp", "=", "-", "1", ";", "return", "mnem", ";", "}", "else", "{", "output_operand_lossage", "(", "\"invalid shift operand\"", ")", ";", "return", "NULL", ";", "}", "break", ";", "case", "MULT", ":", "if", "(", "!", "CONST_INT_P", "(", "XEXP", "(", "op", ",", "1", ")", ")", ")", "{", "output_operand_lossage", "(", "\"invalid shift operand\"", ")", ";", "return", "NULL", ";", "}", "*", "amountp", "=", "INTVAL", "(", "XEXP", "(", "op", ",", "1", ")", ")", "&", "0xFFFFFFFF", ";", "if", "(", "*", "amountp", "&", "(", "*", "amountp", "-", "1", ")", ")", "{", "output_operand_lossage", "(", "\"invalid shift operand\"", ")", ";", "return", "NULL", ";", "}", "*", "amountp", "=", "int_log2", "(", "*", "amountp", ")", ";", "return", "ARM_LSL_NAME", ";", "default", ":", "output_operand_lossage", "(", "\"invalid shift operand\"", ")", ";", "return", "NULL", ";", "}", "if", "(", "code", "==", "ROTATERT", ")", "*", "amountp", "&=", "31", ";", "else", "if", "(", "*", "amountp", "!=", "(", "*", "amountp", "&", "31", ")", ")", "{", "if", "(", "code", "==", "ASHIFT", ")", "mnem", "=", "\"lsr\"", ";", "*", "amountp", "=", "32", ";", "}", "if", "(", "*", "amountp", "==", "0", ")", "return", "NULL", ";", "return", "mnem", ";", "}", ""], "natrual_language": ["Ensure", "valid", "constant", "shifts", "and", "return", "the", "appropriate", "shift", "mnemonic", "for", "the", "operation", "code", ".", "The", "returned", "result", "should", "not", "be", "overwritten", ".", "OP", "is", "the", "rtx", "code", "of", "the", "shift", ".", "On", "exit", ",", "*", "AMOUNTP", "will", "be", "-1", "if", "the", "shift", "is", "by", "a", "register", ",", "or", "a", "constant", "shift", "."], "TS_V_token": ["arm", "1", "\"invalid shift operand\"", "32", "1", "\"ror\"", "1", "1", "1", "1", "\"invalid shift operand\"", "1", "\"invalid shift operand\"", "1", "0xFFFFFFFF", "1", "\"invalid shift operand\"", "\"invalid shift operand\"", "31", "31", "\"lsr\"", "32", "0"], "File": "arm4", "Func": "shift_op", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22332, "Length": 308, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "&", "MI", ",", "Register", "&", "SrcReg", ",", "Register", "&", "SrcReg2", ",", "int", "&", "CmpMask", ",", "int", "&", "CmpValue", ")", "const", "{", "assert", "(", "MI", ".", "getNumOperands", "(", ")", ">=", "2", "&&", "\"All AArch64 cmps should have 2 operands\"", ")", ";", "if", "(", "!", "MI", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", ")", "return", "false", ";", "auto", "NormalizeCmpValue", "=", "[", "]", "(", "int64_t", "Value", ")", "->", "int", "{", "if", "(", "Value", "==", "0", "||", "Value", "==", "1", ")", "return", "Value", ";", "return", "2", ";", "}", ";", "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", "=", "NormalizeCmpValue", "(", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ")", ";", "return", "true", ";", "case", "AArch64", "::", "ANDSWri", ":", "case", "AArch64", "::", "ANDSXri", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "0", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "NormalizeCmpValue", "(", "AArch64_AM", "::", "decodeLogicalImmediate", "(", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ",", "MI", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "ANDSWri", "?", "32", ":", "64", ")", ")", ";", "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", "2", "\"All AArch64 cmps should have 2 operands\"", "1", "0", "1", "2", "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", "AArch64::ANDSWri", "AArch64::ANDSXri", "1", "0", "0", "AArch64_AM::decodeLogicalImmediate", "2", "AArch64::ANDSWri", "32", "64"], "File": "AArch64InstrInfo11", "Func": "analyzeCompare", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22333, "Length": 378, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "opt_machine_mode", "aarch64_vectorize_related_mode", "(", "machine_mode", "vector_mode", ",", "scalar_mode", "element_mode", ",", "poly_uint64", "nunits", ")", "{", "unsigned", "int", "vec_flags", "=", "aarch64_classify_vector_mode", "(", "vector_mode", ")", ";", "poly_uint64", "sve_nunits", ";", "if", "(", "(", "vec_flags", "&", "VEC_SVE_DATA", ")", "&&", "multiple_p", "(", "BYTES_PER_SVE_VECTOR", ",", "GET_MODE_SIZE", "(", "element_mode", ")", ",", "&", "sve_nunits", ")", ")", "{", "machine_mode", "sve_mode", ";", "if", "(", "maybe_ne", "(", "nunits", ",", "0U", ")", ")", "{", "if", "(", "multiple_p", "(", "sve_nunits", ",", "nunits", ")", "&&", "aarch64_sve_data_mode", "(", "element_mode", ",", "nunits", ")", ".", "exists", "(", "&", "sve_mode", ")", ")", "return", "sve_mode", ";", "}", "else", "{", "sve_nunits", "=", "ordered_min", "(", "sve_nunits", ",", "GET_MODE_SIZE", "(", "vector_mode", ")", ")", ";", "if", "(", "aarch64_sve_data_mode", "(", "element_mode", ",", "sve_nunits", ")", ".", "exists", "(", "&", "sve_mode", ")", ")", "return", "sve_mode", ";", "}", "}", "if", "(", "(", "vec_flags", "&", "VEC_ADVSIMD", ")", "&&", "known_eq", "(", "nunits", ",", "0U", ")", "&&", "known_eq", "(", "GET_MODE_BITSIZE", "(", "vector_mode", ")", ",", "64U", ")", "&&", "maybe_ge", "(", "GET_MODE_BITSIZE", "(", "element_mode", ")", "*", "GET_MODE_NUNITS", "(", "vector_mode", ")", ",", "128U", ")", ")", "{", "machine_mode", "res", "=", "aarch64_simd_container_mode", "(", "element_mode", ",", "128", ")", ";", "if", "(", "VECTOR_MODE_P", "(", "res", ")", ")", "return", "res", ";", "}", "return", "default_vectorize_related_mode", "(", "vector_mode", ",", "element_mode", ",", "nunits", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VECTORIZE_RELATED_MODE", "."], "TS_V_token": ["aarch64", "0U", "0U", "64U", "128U", "128"], "File": "aarch64", "Func": "aarch64_vectorize_related_mode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22334, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "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": ["ARM", "ARM"], "File": "ARMTargetMachine", "Func": "addRegBankSelect", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22335, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_gen_load_pair", "(", "machine_mode", "mode", ",", "rtx", "reg1", ",", "rtx", "mem1", ",", "rtx", "reg2", ",", "rtx", "mem2", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_DImode", ":", "return", "gen_load_pair_dw_didi", "(", "reg1", ",", "mem1", ",", "reg2", ",", "mem2", ")", ";", "case", "E_DFmode", ":", "return", "gen_load_pair_dw_dfdf", "(", "reg1", ",", "mem1", ",", "reg2", ",", "mem2", ")", ";", "case", "E_TFmode", ":", "return", "gen_load_pair_dw_tftf", "(", "reg1", ",", "mem1", ",", "reg2", ",", "mem2", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Generate", "and", "regurn", "a", "load", "pair", "isntruction", "of", "mode", "MODE", "to", "load", "register", "REG1", "from", "MEM1", "and", "register", "REG2", "from", "MEM2", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_gen_load_pair", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22336, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "sh_handle_sp_switch_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", ",", "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", ";", "}", "else", "if", "(", "TREE_CODE", "(", "TREE_VALUE", "(", "args", ")", ")", "!=", "STRING_CST", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qs attribute argument not a string constant\"", ",", "IDENTIFIER_POINTER", "(", "name", ")", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "an", "``", "sp_switch", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["sh", "\"%qs attribute only applies to functions\"", "\"%qs attribute argument not a string constant\""], "File": "sh3", "Func": "sh_handle_sp_switch_attribute", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22337, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "uint64_t", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "unsigned", "MatchResult", ";", "FeatureBitset", "MissingFeatures", ";", "MatchResult", "=", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MissingFeatures", ",", "MatchingInlineAsm", ")", ";", "switch", "(", "MatchResult", ")", "{", "case", "Match_Success", ":", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "Out", ".", "EmitInstruction", "(", "Inst", ",", "getSTI", "(", ")", ")", ";", "return", "false", ";", "case", "Match_MissingFeature", ":", "{", "assert", "(", "MissingFeatures", ".", "any", "(", ")", "&&", "\"Unknown missing feature!\"", ")", ";", "std", "::", "string", "Msg", "=", "\"instruction requires:\"", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "MissingFeatures", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "MissingFeatures", "[", "I", "]", ")", "{", "Msg", "+=", "\" \"", ";", "Msg", "+=", "getSubtargetFeatureName", "(", "I", ")", ";", "}", "}", "return", "Error", "(", "IDLoc", ",", "Msg", ")", ";", "}", "case", "Match_InvalidOperand", ":", "{", "SMLoc", "ErrorLoc", "=", "IDLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "0ULL", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "IDLoc", ",", "\"too few operands for instruction\"", ")", ";", "ErrorLoc", "=", "(", "(", "SystemZOperand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "\"invalid operand for instruction\"", ")", ";", "}", "case", "Match_MnemonicFail", ":", "{", "FeatureBitset", "FBS", "=", "ComputeAvailableFeatures", "(", "getSTI", "(", ")", ".", "getFeatureBits", "(", ")", ")", ";", "std", "::", "string", "Suggestion", "=", "SystemZMnemonicSpellCheck", "(", "(", "(", "SystemZOperand", "&", ")", "*", "Operands", "[", "0", "]", ")", ".", "getToken", "(", ")", ",", "FBS", ")", ";", "return", "Error", "(", "IDLoc", ",", "\"invalid instruction\"", "+", "Suggestion", ",", "(", "(", "SystemZOperand", "&", ")", "*", "Operands", "[", "0", "]", ")", ".", "getLocRange", "(", ")", ")", ";", "}", "}", "llvm_unreachable", "(", "\"Unexpected match type\"", ")", ";", "}", ""], "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": ["SystemZ", "SystemZ", "\"Unknown missing feature!\"", "\"instruction requires:\"", "0", "\" \"", "0ULL", "\"too few operands for instruction\"", "SystemZ", "\"invalid operand for instruction\"", "SystemZ", "SystemZ", "0", "\"invalid instruction\"", "SystemZ", "0", "\"Unexpected match type\""], "File": "SystemZAsmParser (2)1", "Func": "MatchAndEmitInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22338, "Length": 309, "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": 22339, "Length": 116, "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": 22340, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZFrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "std", "::", "vector", "<", "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", ")", ";", "}", "unsigned", "LowGPR", "=", "ZFI", "->", "getLowSavedGPR", "(", ")", ";", "unsigned", "HighGPR", "=", "ZFI", "->", "getHighSavedGPR", "(", ")", ";", "unsigned", "StartOffset", "=", "RegSpillOffsets", "[", "LowGPR", "]", ";", "if", "(", "LowGPR", ")", "{", "assert", "(", "LowGPR", "!=", "HighGPR", "&&", "\"Should be loading %r15 and something else\"", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "SystemZ", "::", "LMG", ")", ")", ";", "MIB", ".", "addReg", "(", "LowGPR", ",", "RegState", "::", "Define", ")", ";", "MIB", ".", "addReg", "(", "HighGPR", ",", "RegState", "::", "Define", ")", ";", "MIB", ".", "addReg", "(", "HasFP", "?", "SystemZ", "::", "R11D", ":", "SystemZ", "::", "R15D", ")", ";", "MIB", ".", "addImm", "(", "StartOffset", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "CSI", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "I", "]", ".", "getReg", "(", ")", ";", "if", "(", "Reg", "!=", "LowGPR", "&&", "Reg", "!=", "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", "\"Should be loading %r15 and something else\"", "SystemZ::LMG", "SystemZ::R11D", "SystemZ::R15D", "0", "SystemZ::GR64BitRegClass"], "File": "SystemZFrameLowering22", "Func": "restoreCalleeSavedRegisters", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22341, "Length": 397, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "mips_call_tls_get_addr", "(", "rtx", "sym", ",", "enum", "mips_symbol_type", "type", ",", "rtx", "v0", ")", "{", "rtx", "loc", ",", "a0", ";", "rtx_insn", "*", "insn", ";", "a0", "=", "gen_rtx_REG", "(", "Pmode", ",", "GP_ARG_FIRST", ")", ";", "if", "(", "!", "mips_tls_symbol", ")", "mips_tls_symbol", "=", "init_one_libfunc", "(", "\"__tls_get_addr\"", ")", ";", "loc", "=", "mips_unspec_address", "(", "sym", ",", "type", ")", ";", "start_sequence", "(", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "a0", ",", "gen_rtx_LO_SUM", "(", "Pmode", ",", "pic_offset_table_rtx", ",", "loc", ")", ")", ")", ";", "insn", "=", "mips_expand_call", "(", "MIPS_CALL_NORMAL", ",", "v0", ",", "mips_tls_symbol", ",", "const0_rtx", ",", "NULL_RTX", ",", "false", ")", ";", "RTL_CONST_CALL_P", "(", "insn", ")", "=", "1", ";", "use_reg", "(", "&", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ",", "a0", ")", ";", "insn", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "return", "insn", ";", "}", ""], "natrual_language": ["Return", "an", "instruction", "sequence", "that", "calls", "__tls_get_addr", ".", "SYM", "is", "the", "TLS", "symbol", "we", "are", "referencing", "and", "TYPE", "is", "the", "symbol", "type", "to", "use", "(", "either", "global", "dynamic", "or", "local", "dynamic", ")", ".", "V0", "is", "an", "RTX", "for", "the", "return", "value", "location", "."], "TS_V_token": ["mips", "\"__tls_get_addr\"", "1"], "File": "mips", "Func": "mips_call_tls_get_addr", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22342, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "CJGTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "const", "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_CJG", ")", ";", "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", "(", "CJGISD", "::", "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": ["CJG", "CJG", "ISD::OutputArg", "\"VarArg not supported\"", "16", "CJG", "4", "1", "0", "\"Can only return in registers!\"", "1", "0", "CJGISD::RET_FLAG", "MVT::Other"], "File": "CJGISelLowering", "Func": "LowerReturn", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22343, "Length": 254, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_override_options_after_change", "(", "void", ")", "{", "aarch64_override_options_after_change_1", "(", "&", "global_options", ")", ";", "}", ""], "natrual_language": ["Implement", "targetm.override_options_after_change", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_override_options_after_change", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22344, "Length": 14, "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", ",", "SDLoc", "DL", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "MipsCC", "MipsCCInfo", "(", "CallConv", ",", "IsO32", ",", "Subtarget", "->", "isFP64bit", "(", ")", ",", "CCInfo", ")", ";", "MipsCCInfo", ".", "analyzeReturn", "(", "Outs", ",", "Subtarget", "->", "mipsSEUsesSoftFloat", "(", ")", ",", "MF", ".", "getFunction", "(", ")", "->", "getReturnType", "(", ")", ")", ";", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "RetOps", "(", "1", ",", "Chain", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "SDValue", "Val", "=", "OutVals", "[", "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", "(", ")", ")", "{", "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", "(", ")", ")", ";", "unsigned", "V0", "=", "IsN64", "?", "Mips", "::", "V0_64", ":", "Mips", "::", "V0", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "V0", ",", "Val", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "V0", ",", "getPointerTy", "(", ")", ")", ")", ";", "}", "RetOps", "[", "0", "]", "=", "Chain", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "RetOps", ".", "push_back", "(", "Flag", ")", ";", "return", "DAG", ".", "getNode", "(", "MipsISD", "::", "Ret", ",", "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": ["Mips", "Mips", "ISD::OutputArg", "16", "Mips", "Mips", "Mips", "4", "1", "0", "\"Can only return in registers!\"", "ISD::BITCAST", "1", "Mips", "Mips", "Mips", "Mips", "\"sret virtual register not created in the entry block\"", "Mips::V0_64", "Mips::V0", "1", "0", "MipsISD::Ret", "MVT::Other", "0"], "File": "MipsISelLowering100", "Func": "LowerReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22345, "Length": 453, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rs6000_mangle_decl_assembler_name", "(", "tree", "decl", ",", "tree", "id", ")", "{", "if", "(", "TARGET_FLOAT128_TYPE", "&&", "TARGET_IEEEQUAD", "&&", "TARGET_LONG_DOUBLE_128", "&&", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", "&&", "DECL_IS_UNDECLARED_BUILTIN", "(", "decl", ")", "&&", "DECL_BUILT_IN_CLASS", "(", "decl", ")", "==", "BUILT_IN_NORMAL", ")", "{", "size_t", "len", "=", "IDENTIFIER_LENGTH", "(", "id", ")", ";", "const", "char", "*", "name", "=", "IDENTIFIER_POINTER", "(", "id", ")", ";", "char", "*", "newname", "=", "NULL", ";", "switch", "(", "DECL_FUNCTION_CODE", "(", "decl", ")", ")", "{", "case", "BUILT_IN_DREML", ":", "newname", "=", "xstrdup", "(", "\"__remainderieee128\"", ")", ";", "break", ";", "case", "BUILT_IN_GAMMAL", ":", "newname", "=", "xstrdup", "(", "\"__lgammaieee128\"", ")", ";", "break", ";", "case", "BUILT_IN_GAMMAL_R", ":", "case", "BUILT_IN_LGAMMAL_R", ":", "newname", "=", "xstrdup", "(", "\"__lgammaieee128_r\"", ")", ";", "break", ";", "case", "BUILT_IN_NEXTTOWARD", ":", "newname", "=", "xstrdup", "(", "\"__nexttoward_to_ieee128\"", ")", ";", "break", ";", "case", "BUILT_IN_NEXTTOWARDF", ":", "newname", "=", "xstrdup", "(", "\"__nexttowardf_to_ieee128\"", ")", ";", "break", ";", "case", "BUILT_IN_NEXTTOWARDL", ":", "newname", "=", "xstrdup", "(", "\"__nexttowardieee128\"", ")", ";", "break", ";", "case", "BUILT_IN_POW10L", ":", "newname", "=", "xstrdup", "(", "\"__exp10ieee128\"", ")", ";", "break", ";", "case", "BUILT_IN_SCALBL", ":", "newname", "=", "xstrdup", "(", "\"__scalbieee128\"", ")", ";", "break", ";", "case", "BUILT_IN_SIGNIFICANDL", ":", "newname", "=", "xstrdup", "(", "\"__significandieee128\"", ")", ";", "break", ";", "case", "BUILT_IN_SINCOSL", ":", "newname", "=", "xstrdup", "(", "\"__sincosieee128\"", ")", ";", "break", ";", "default", ":", "break", ";", "}", "if", "(", "!", "newname", ")", "{", "size_t", "printf_len", "=", "strlen", "(", "\"printf\"", ")", ";", "size_t", "scanf_len", "=", "strlen", "(", "\"scanf\"", ")", ";", "size_t", "printf_chk_len", "=", "strlen", "(", "\"printf_chk\"", ")", ";", "if", "(", "len", ">=", "printf_len", "&&", "strcmp", "(", "name", "+", "len", "-", "printf_len", ",", "\"printf\"", ")", "==", "0", ")", "newname", "=", "xasprintf", "(", "\"__%sieee128\"", ",", "name", ")", ";", "else", "if", "(", "len", ">=", "scanf_len", "&&", "strcmp", "(", "name", "+", "len", "-", "scanf_len", ",", "\"scanf\"", ")", "==", "0", ")", "newname", "=", "xasprintf", "(", "\"__isoc99_%sieee128\"", ",", "name", ")", ";", "else", "if", "(", "len", ">=", "printf_chk_len", "&&", "strcmp", "(", "name", "+", "len", "-", "printf_chk_len", ",", "\"printf_chk\"", ")", "==", "0", ")", "newname", "=", "xasprintf", "(", "\"%sieee128\"", ",", "name", ")", ";", "else", "if", "(", "name", "[", "len", "-", "1", "]", "==", "'l'", ")", "{", "bool", "uses_ieee128_p", "=", "false", ";", "tree", "type", "=", "TREE_TYPE", "(", "decl", ")", ";", "machine_mode", "ret_mode", "=", "TYPE_MODE", "(", "type", ")", ";", "if", "(", "ret_mode", "==", "TFmode", "||", "ret_mode", "==", "TCmode", ")", "uses_ieee128_p", "=", "true", ";", "else", "{", "function_args_iterator", "args_iter", ";", "tree", "arg", ";", "FOREACH_FUNCTION_ARGS", "(", "type", ",", "arg", ",", "args_iter", ")", "{", "machine_mode", "arg_mode", "=", "TYPE_MODE", "(", "arg", ")", ";", "if", "(", "arg_mode", "==", "TFmode", "||", "arg_mode", "==", "TCmode", ")", "{", "uses_ieee128_p", "=", "true", ";", "break", ";", "}", "}", "}", "if", "(", "uses_ieee128_p", ")", "newname", "=", "xasprintf", "(", "\"__%.*sieee128\"", ",", "(", "int", ")", "(", "len", "-", "1", ")", ",", "name", ")", ";", "}", "}", "if", "(", "newname", ")", "{", "if", "(", "TARGET_DEBUG_BUILTIN", ")", "fprintf", "(", "stderr", ",", "\"Map %s => %s\\n\"", ",", "name", ",", "newname", ")", ";", "id", "=", "get_identifier", "(", "newname", ")", ";", "free", "(", "newname", ")", ";", "}", "}", "return", "id", ";", "}", ""], "natrual_language": ["On", "64-bit", "Linux", "and", "Freebsd", "systems", ",", "possibly", "switch", "the", "long", "double", "library", "function", "names", "from", "<", "foo", ">", "l", "to", "<", "foo", ">", "f128", "if", "the", "default", "long", "double", "type", "is", "IEEE", "128-bit", ".", "Typically", ",", "with", "the", "C", "and", "C++", "languages", ",", "the", "standard", "math.h", "include", "file", "switches", "the", "names", "on", "systems", "that", "support", "long", "double", "as", "IEEE", "128-bit", ",", "but", "that", "does", "n't", "work", "if", "the", "user", "uses", "__builtin_", "<", "foo", ">", "l", "directly", ".", "In", "the", "future", ",", "glibc", "will", "export", "names", "like", "__ieee128_sinf128", "and", "we", "can", "switch", "to", "using", "those", "instead", "of", "using", "sinf128", ",", "which", "pollutes", "the", "user", "'s", "namespace", ".", "This", "will", "switch", "the", "names", "for", "Fortran", "math", "functions", "as", "well", "(", "which", "does", "n't", "use", "math.h", ")", ".", "However", ",", "Fortran", "needs", "other", "changes", "to", "the", "compiler", "and", "library", "before", "you", "can", "switch", "the", "real", "*", "16", "type", "at", "compile", "time", ".", "We", "use", "the", "TARGET_MANGLE_DECL_ASSEMBLER_NAME", "hook", "to", "change", "this", "name", ".", "We", "only", "do", "this", "transformation", "if", "the", "__float128", "type", "is", "enabled", ".", "This", "prevents", "us", "from", "doing", "the", "transformation", "on", "older", "32-bit", "ports", "that", "might", "have", "enabled", "using", "IEEE", "128-bit", "floating", "point", "as", "the", "default", "long", "double", "type", ".", "We", "also", "use", "the", "TARGET_MANGLE_DECL_ASSEMBLER_NAME", "hook", "to", "change", "the", "function", "names", "used", "for", "complex", "multiply", "and", "divide", "to", "the", "appropriate", "names", "."], "TS_V_token": ["rs6000", "\"__remainderieee128\"", "\"__lgammaieee128\"", "\"__lgammaieee128_r\"", "\"__nexttoward_to_ieee128\"", "\"__nexttowardf_to_ieee128\"", "\"__nexttowardieee128\"", "\"__exp10ieee128\"", "\"__scalbieee128\"", "\"__significandieee128\"", "\"__sincosieee128\"", "\"printf\"", "\"scanf\"", "\"printf_chk\"", "\"printf\"", "0", "\"__%sieee128\"", "\"scanf\"", "0", "\"__isoc99_%sieee128\"", "\"printf_chk\"", "0", "\"%sieee128\"", "1", "\"__%.*sieee128\"", "1", "\"Map %s => %s\\n\""], "File": "rs6000", "Func": "rs6000_mangle_decl_assembler_name", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22346, "Length": 470, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "xstormy16_expand_prologue", "(", ")", "{", "struct", "xstormy16_stack_layout", "layout", ";", "int", "regno", ";", "rtx", "insn", ";", "rtx", "mem_push_rtx", ";", "rtx", "mem_fake_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", ")", ";", "mem_fake_push_rtx", "=", "gen_rtx_PRE_INC", "(", "Pmode", ",", "stack_pointer_rtx", ")", ";", "mem_fake_push_rtx", "=", "gen_rtx_MEM", "(", "HImode", ",", "mem_fake_push_rtx", ")", ";", "layout", "=", "xstormy16_compute_stack_layout", "(", ")", ";", "if", "(", "layout", ".", "stdarg_save_size", ")", "for", "(", "regno", "=", "FIRST_ARGUMENT_REGISTER", ";", "regno", "<", "FIRST_ARGUMENT_REGISTER", "+", "NUM_ARGUMENT_REGISTERS", ";", "regno", "++", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "HImode", ",", "regno", ")", ";", "insn", "=", "emit_move_insn", "(", "mem_push_rtx", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "REG_NOTES", "(", "insn", ")", "=", "gen_rtx_EXPR_LIST", "(", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "VOIDmode", ",", "mem_fake_push_rtx", ",", "reg", ")", ",", "REG_NOTES", "(", "insn", ")", ")", ";", "}", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "REG_NEEDS_SAVE", "(", "regno", ",", "ifun", ")", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "HImode", ",", "regno", ")", ";", "insn", "=", "emit_move_insn", "(", "mem_push_rtx", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "REG_NOTES", "(", "insn", ")", "=", "gen_rtx_EXPR_LIST", "(", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "VOIDmode", ",", "mem_fake_push_rtx", ",", "reg", ")", ",", "REG_NOTES", "(", "insn", ")", ")", ";", "}", "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", "1", "0", "1", "1", "1", "1", "1"], "File": "stormy162", "Func": "xstormy16_expand_prologue", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22347, "Length": 342, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "function_arg_record_value_3", "(", "HOST_WIDE_INT", "bitpos", ",", "struct", "function_arg_record_value_parms", "*", "parms", ")", "{", "enum", "machine_mode", "mode", ";", "unsigned", "int", "regno", ";", "unsigned", "int", "startbit", ",", "endbit", ";", "int", "this_slotno", ",", "intslots", ",", "intoffset", ";", "rtx", "reg", ";", "if", "(", "parms", "->", "intoffset", "==", "-", "1", ")", "return", ";", "intoffset", "=", "parms", "->", "intoffset", ";", "parms", "->", "intoffset", "=", "-", "1", ";", "startbit", "=", "intoffset", "&", "-", "BITS_PER_WORD", ";", "endbit", "=", "(", "bitpos", "+", "BITS_PER_WORD", "-", "1", ")", "&", "-", "BITS_PER_WORD", ";", "intslots", "=", "(", "endbit", "-", "startbit", ")", "/", "BITS_PER_WORD", ";", "this_slotno", "=", "parms", "->", "slotno", "+", "intoffset", "/", "BITS_PER_WORD", ";", "intslots", "=", "MIN", "(", "intslots", ",", "SPARC_INT_ARG_MAX", "-", "this_slotno", ")", ";", "if", "(", "intslots", "<=", "0", ")", "return", ";", "if", "(", "intoffset", "%", "BITS_PER_WORD", "!=", "0", ")", "mode", "=", "smallest_mode_for_size", "(", "BITS_PER_WORD", "-", "intoffset", "%", "BITS_PER_WORD", ",", "MODE_INT", ")", ";", "else", "mode", "=", "word_mode", ";", "intoffset", "/=", "BITS_PER_UNIT", ";", "do", "{", "regno", "=", "parms", "->", "regbase", "+", "this_slotno", ";", "reg", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "XVECEXP", "(", "parms", "->", "ret", ",", "0", ",", "parms", "->", "stack", "+", "parms", "->", "nregs", ")", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "reg", ",", "GEN_INT", "(", "intoffset", ")", ")", ";", "this_slotno", "+=", "1", ";", "intoffset", "=", "(", "intoffset", "|", "(", "UNITS_PER_WORD", "-", "1", ")", ")", "+", "1", ";", "mode", "=", "word_mode", ";", "parms", "->", "nregs", "+=", "1", ";", "intslots", "-=", "1", ";", "}", "while", "(", "intslots", ">", "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", "1", "1", "1", "0", "0", "0", "1", "1", "1", "1", "1", "0"], "File": "sparc3", "Func": "function_arg_record_value_3", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22348, "Length": 239, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "&", "LiveRangeShrinkID", ")", ";", "addPass", "(", "createX86FixupSetCC", "(", ")", ")", ";", "addPass", "(", "createX86OptimizeLEAs", "(", ")", ")", ";", "addPass", "(", "createX86CallFrameOptimization", "(", ")", ")", ";", "addPass", "(", "createX86AvoidStoreForwardingBlocks", "(", ")", ")", ";", "}", "if", "(", "EnableSpeculativeLoadHardening", ")", "addPass", "(", "createX86SpeculativeLoadHardeningPass", "(", ")", ")", ";", "addPass", "(", "createX86FlagsCopyLoweringPass", "(", ")", ")", ";", "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", "X86", "X86", "X86"], "File": "X86TargetMachine120", "Func": "addPreRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22349, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "ClobbersPredicate", "(", "MachineInstr", "&", "MI", ",", "std", "::", "vector", "<", "MachineOperand", ">", "&", "Pred", ",", "bool", "SkipDead", ")", "const", "{", "const", "TargetRegisterClass", "*", "RCs", "[", "]", "=", "{", "&", "PPC", "::", "CRRCRegClass", ",", "&", "PPC", "::", "CRBITRCRegClass", ",", "&", "PPC", "::", "CTRRCRegClass", ",", "&", "PPC", "::", "CTRRC8RegClass", "}", ";", "bool", "Found", "=", "false", ";", "for", "(", "const", "MachineOperand", "&", "MO", ":", "MI", ".", "operands", "(", ")", ")", "{", "for", "(", "unsigned", "c", "=", "0", ";", "c", "<", "array_lengthof", "(", "RCs", ")", "&&", "!", "Found", ";", "++", "c", ")", "{", "const", "TargetRegisterClass", "*", "RC", "=", "RCs", "[", "c", "]", ";", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "if", "(", "MO", ".", "isDef", "(", ")", "&&", "RC", "->", "contains", "(", "MO", ".", "getReg", "(", ")", ")", ")", "{", "Pred", ".", "push_back", "(", "MO", ")", ";", "Found", "=", "true", ";", "}", "}", "else", "if", "(", "MO", ".", "isRegMask", "(", ")", ")", "{", "for", "(", "TargetRegisterClass", "::", "iterator", "I", "=", "RC", "->", "begin", "(", ")", ",", "IE", "=", "RC", "->", "end", "(", ")", ";", "I", "!=", "IE", ";", "++", "I", ")", "if", "(", "MO", ".", "clobbersPhysReg", "(", "*", "I", ")", ")", "{", "Pred", ".", "push_back", "(", "MO", ")", ";", "Found", "=", "true", ";", "}", "}", "}", "}", "return", "Found", ";", "}", ""], "natrual_language": ["If", "the", "specified", "instruction", "defines", "any", "predicate", "or", "condition", "code", "register", "(", "s", ")", "used", "for", "predication", ",", "returns", "true", "as", "well", "as", "the", "definition", "predicate", "(", "s", ")", "by", "reference", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::CRRCRegClass", "PPC::CRBITRCRegClass", "PPC::CTRRCRegClass", "PPC::CTRRC8RegClass", "0"], "File": "PPCInstrInfo130", "Func": "ClobbersPredicate", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22350, "Length": 212, "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", ";", "if", "(", "isa", "<", "ScalableVectorType", ">", "(", "Ty", ")", ")", "return", "AM", ".", "HasBaseReg", "&&", "!", "AM", ".", "BaseOffs", "&&", "!", "AM", ".", "Scale", ";", "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": "AArch64ISelLowering10", "Func": "isLegalAddressingMode", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22351, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_function_in_section_p", "(", "tree", "decl", ",", "section", "*", "section", ")", "{", "if", "(", "!", "decl_binds_to_current_def_p", "(", "decl", ")", ")", "return", "false", ";", "if", "(", "!", "DECL_SECTION_NAME", "(", "decl", ")", ")", "{", "if", "(", "flag_function_sections", "||", "DECL_COMDAT_GROUP", "(", "decl", ")", ")", "return", "false", ";", "}", "return", "function_section", "(", "decl", ")", "==", "section", ";", "}", ""], "natrual_language": ["Return", "true", "if", "DECL", "is", "known", "to", "be", "linked", "into", "section", "SECTION", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_function_in_section_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22352, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "AArch64RegisterInfo", "::", "getThisReturnPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "assert", "(", "CC", "!=", "CallingConv", "::", "GHC", "&&", "\"should not be GHC calling convention.\"", ")", ";", "return", "CSR_AArch64_AAPCS_ThisReturn_RegMask", ";", "}", ""], "natrual_language": ["getThisReturnPreservedMask", "-", "Returns", "a", "call", "preserved", "mask", "specific", "to", "the", "case", "that", "'returned", "'", "is", "on", "an", "i32", "first", "argument", "if", "the", "calling", "convention", "is", "one", "that", "can", "(", "partially", ")", "model", "this", "attribute", "with", "a", "preserved", "mask", "(", "i.e", "."], "TS_V_token": ["AArch64", "AArch64", "\"should not be GHC calling convention.\"", "AArch64"], "File": "AArch64RegisterInfo (2)", "Func": "getThisReturnPreservedMask", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22353, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsAsmParser", "::", "checkTargetMatchPredicate", "(", "MCInst", "&", "Inst", ")", "{", "unsigned", "Opcode", "=", "Inst", ".", "getOpcode", "(", ")", ";", "if", "(", "Opcode", "==", "Mips", "::", "JALR_HB", "&&", "(", "Inst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ")", "return", "Match_RequiresDifferentSrcAndDst", ";", "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", "0", "1"], "File": "MipsAsmParser", "Func": "checkTargetMatchPredicate", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22354, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCRegisterInfo", "::", "requiresRegisterScavenging", "(", "const", "MachineFunction", "&", ")", "const", "{", "return", "EnableRegisterScavenging", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "requires", "(", "and", "can", "make", "use", "of", ")", "the", "register", "scavenger", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCRegisterInfo21", "Func": "requiresRegisterScavenging", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22355, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_print_patchable_function_entry", "(", "FILE", "*", "file", ",", "unsigned", "HOST_WIDE_INT", "patch_area_size", ",", "bool", "record_p", ")", "{", "if", "(", "cfun", "->", "machine", "->", "function_label_emitted", ")", "{", "return", ";", "}", "default_print_patchable_function_entry", "(", "file", ",", "patch_area_size", ",", "record_p", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_PRINT_PATCHABLE_FUNCTION_ENTRY", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_print_patchable_function_entry", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22356, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "int", "*", "Value", ",", "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\"", ")", ";", "MI", ".", "getOperand", "(", "i", "-", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "getFrameRegister", "(", "MF", ")", ",", "false", ")", ";", "return", "0", ";", "}", ""], "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\"", "1", "0"], "File": "MipsRegisterInfo38", "Func": "eliminateFrameIndex", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22357, "Length": 270, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LC2200TargetLowering", "::", "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", "(", ")", ")", ";", "analyzeOutputArgs", "(", "DAG", ".", "getMachineFunction", "(", ")", ",", "CCInfo", ",", "Outs", ",", "true", ",", "nullptr", ")", ";", "SDValue", "Glue", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "RetOps", "(", "1", ",", "Chain", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "RVLocs", ".", "size", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "SDValue", "Val", "=", "OutVals", "[", "i", "]", ";", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "if", "(", "VA", ".", "getLocVT", "(", ")", "==", "MVT", "::", "i32", "&&", "VA", ".", "getValVT", "(", ")", "==", "MVT", "::", "f64", ")", "{", "llvm_unreachable", "(", "\"not supported\"", ")", ";", "}", "else", "{", "Val", "=", "convertValVTToLocVT", "(", "DAG", ",", "Val", ",", "VA", ",", "DL", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "VA", ".", "getLocReg", "(", ")", ",", "Val", ",", "Glue", ")", ";", "Glue", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "}", "}", "RetOps", "[", "0", "]", "=", "Chain", ";", "if", "(", "Glue", ".", "getNode", "(", ")", ")", "{", "RetOps", ".", "push_back", "(", "Glue", ")", ";", "}", "const", "Function", "&", "Func", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFunction", "(", ")", ";", "if", "(", "Func", ".", "hasFnAttribute", "(", "\"interrupt\"", ")", ")", "{", "llvm_unreachable", "(", "\"interrupts not supported\"", ")", ";", "}", "return", "DAG", ".", "getNode", "(", "LC2200ISD", "::", "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": ["LC2200", "LC2200", "ISD::OutputArg", "16", "4", "1", "0", "\"Can only return in registers!\"", "MVT::i32", "MVT::f64", "\"not supported\"", "1", "0", "\"interrupt\"", "\"interrupts not supported\"", "LC2200ISD::RET", "MVT::Other"], "File": "LC2200ISelLowering", "Func": "LowerReturn", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22358, "Length": 332, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_dwarf_handle_frame_unspec", "(", "const", "char", "*", "label", ",", "rtx", "pattern", ",", "int", "index", ")", "{", "rtx", "unspec", "=", "SET_SRC", "(", "pattern", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "unspec", ")", "==", "UNSPEC", ")", ";", "switch", "(", "index", ")", "{", "case", "UNSPEC_REG_SAVE", ":", "dwarf2out_reg_save_reg", "(", "label", ",", "XVECEXP", "(", "unspec", ",", "0", ",", "0", ")", ",", "SET_DEST", "(", "pattern", ")", ")", ";", "break", ";", "case", "UNSPEC_DEF_CFA", ":", "dwarf2out_def_cfa", "(", "label", ",", "REGNO", "(", "SET_DEST", "(", "pattern", ")", ")", ",", "INTVAL", "(", "XVECEXP", "(", "unspec", ",", "0", ",", "0", ")", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Handle", "the", "TARGET_DWARF_HANDLE_FRAME_UNSPEC", "hook", ".", "This", "is", "called", "from", "dwarf2out.c", "to", "emit", "call", "frame", "instructions", "for", "frame-related", "insns", "containing", "UNSPECs", "and", "UNSPEC_VOLATILEs", "."], "TS_V_token": ["i386", "0", "0", "0", "0"], "File": "i3863", "Func": "ix86_dwarf_handle_frame_unspec", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22359, "Length": 101, "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\"", ";", "}", "}", ""], "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\""], "File": "SparcISelLowering101", "Func": "getTargetNodeName", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22360, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getFirstTerminator", "(", ")", ";", "bool", "IsEHFuncletEpilogue", "=", "MBBI", "==", "MBB", ".", "end", "(", ")", "?", "false", ":", "isFuncletReturnInstr", "(", "*", "MBBI", ")", ";", "const", "X86FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "getIndex", "(", ")", ";", "int", "FIOffset", ";", "unsigned", "BasePtr", ";", "if", "(", "MI", ".", "isReturn", "(", ")", ")", "{", "assert", "(", "(", "!", "needsStackRealignment", "(", "MF", ")", "||", "MF", ".", "getFrameInfo", "(", ")", ".", "isFixedObjectIndex", "(", "FrameIndex", ")", ")", "&&", "\"Return instruction can only reference SP relative frame objects\"", ")", ";", "FIOffset", "=", "TFI", "->", "getFrameIndexReferenceSP", "(", "MF", ",", "FrameIndex", ",", "BasePtr", ",", "0", ")", ";", "}", "else", "if", "(", "TFI", "->", "Is64Bit", "&&", "(", "MBB", ".", "isEHFuncletEntry", "(", ")", "||", "IsEHFuncletEpilogue", ")", ")", "{", "FIOffset", "=", "TFI", "->", "getWin64EHFrameIndexRef", "(", "MF", ",", "FrameIndex", ",", "BasePtr", ")", ";", "}", "else", "{", "FIOffset", "=", "TFI", "->", "getFrameIndexReference", "(", "MF", ",", "FrameIndex", ",", "BasePtr", ")", ";", "}", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "TargetOpcode", "::", "LOCAL_ESCAPE", ")", "{", "MachineOperand", "&", "FI", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ";", "FI", ".", "ChangeToImmediate", "(", "FIOffset", ")", ";", "return", ";", "}", "Register", "MachineBasePtr", "=", "BasePtr", ";", "if", "(", "Opc", "==", "X86", "::", "LEA64_32r", "&&", "X86", "::", "GR32RegClass", ".", "contains", "(", "BasePtr", ")", ")", "MachineBasePtr", "=", "getX86SubSuperRegister", "(", "BasePtr", ",", "64", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "MachineBasePtr", ",", "false", ")", ";", "if", "(", "BasePtr", "==", "StackPtr", ")", "FIOffset", "+=", "SPAdj", ";", "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!\"", ")", ";", "if", "(", "Offset", "!=", "0", "||", "!", "tryOptimizeLEAtoMOV", "(", "II", ")", ")", "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", "X86", "\"Return instruction can only reference SP relative frame objects\"", "0", "X86::LEA64_32r", "X86::GR32RegClass", "X86", "64", "\"Expected the FP as base register\"", "1", "1", "3", "3", "32", "\"Requesting 64-bit offset in 32-bit immediate!\"", "0", "3", "3", "3"], "File": "X86RegisterInfo18", "Func": "eliminateFrameIndex", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22361, "Length": 495, "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", "::", "LD", ")", "||", "(", "Opc", "==", "Mips", "::", "LWC1", ")", "||", "(", "Opc", "==", "Mips", "::", "LDC1", ")", "||", "(", "Opc", "==", "Mips", "::", "LDC164", ")", ")", "{", "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::LD", "Mips::LWC1", "Mips::LDC1", "Mips::LDC164", "1", "2", "2", "1", "0", "0"], "File": "MipsSEInstrInfo", "Func": "isLoadFromStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22362, "Length": 140, "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", "(", "t", "==", "error_mark_node", ")", "return", "false", ";", "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": ["powerpcspe"], "File": "powerpcspe-c", "Func": "rs6000_builtin_type_compatible", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22363, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "BuildSDIVPow2", "(", "SDNode", "*", "N", ",", "const", "APInt", "&", "Divisor", ",", "SelectionDAG", "&", "DAG", ",", "std", "::", "vector", "<", "SDNode", "*", ">", "*", "Created", ")", "const", "{", "EVT", "VT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "if", "(", "VT", "==", "MVT", "::", "i64", "&&", "!", "Subtarget", ".", "isPPC64", "(", ")", ")", "return", "SDValue", "(", ")", ";", "if", "(", "(", "VT", "!=", "MVT", "::", "i32", "&&", "VT", "!=", "MVT", "::", "i64", ")", "||", "!", "(", "Divisor", ".", "isPowerOf2", "(", ")", "||", "(", "-", "Divisor", ")", ".", "isPowerOf2", "(", ")", ")", ")", "return", "SDValue", "(", ")", ";", "SDLoc", "DL", "(", "N", ")", ";", "SDValue", "N0", "=", "N", "->", "getOperand", "(", "0", ")", ";", "bool", "IsNegPow2", "=", "(", "-", "Divisor", ")", ".", "isPowerOf2", "(", ")", ";", "unsigned", "Lg2", "=", "(", "IsNegPow2", "?", "-", "Divisor", ":", "Divisor", ")", ".", "countTrailingZeros", "(", ")", ";", "SDValue", "ShiftAmt", "=", "DAG", ".", "getConstant", "(", "Lg2", ",", "DL", ",", "VT", ")", ";", "SDValue", "Op", "=", "DAG", ".", "getNode", "(", "PPCISD", "::", "SRA_ADDZE", ",", "DL", ",", "VT", ",", "N0", ",", "ShiftAmt", ")", ";", "if", "(", "Created", ")", "Created", "->", "push_back", "(", "Op", ".", "getNode", "(", ")", ")", ";", "if", "(", "IsNegPow2", ")", "{", "Op", "=", "DAG", ".", "getNode", "(", "ISD", "::", "SUB", ",", "DL", ",", "VT", ",", "DAG", ".", "getConstant", "(", "0", ",", "DL", ",", "VT", ")", ",", "Op", ")", ";", "if", "(", "Created", ")", "Created", "->", "push_back", "(", "Op", ".", "getNode", "(", ")", ")", ";", "}", "return", "Op", ";", "}", ""], "natrual_language": ["Targets", "may", "override", "this", "function", "to", "provide", "custom", "SDIV", "lowering", "for", "power-of-2", "denominators", "."], "TS_V_token": ["PowerPC", "PPC", "0", "MVT::i64", "PPC", "MVT::i32", "MVT::i64", "0", "PPCISD::SRA_ADDZE", "ISD::SUB", "0"], "File": "PPCISelLowering (2)2", "Func": "BuildSDIVPow2", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22364, "Length": 245, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsMCCodeEmitter", "::", "getBranchTarget26OpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ">>", "2", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"getBranchTarget26OpValue expects only expressions or immediates\"", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "Expr", ",", "MCFixupKind", "(", "Mips", "::", "fixup_MIPS_PC26_S2", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTarget26OpValue", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "."], "TS_V_token": ["Mips", "Mips", "2", "\"getBranchTarget26OpValue expects only expressions or immediates\"", "0", "Mips::fixup_MIPS_PC26_S2", "0"], "File": "MipsMCCodeEmitter55", "Func": "getBranchTarget26OpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22365, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_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": ["aarch64", "100", "1"], "File": "aarch642", "Func": "aarch64_emit_unlikely_jump", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22366, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsCodeEmitter", "::", "getJumpOffset16OpValue", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "OpNo", ")", "const", "{", "llvm_unreachable", "(", "\"Unimplemented function.\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getJumpOffset16OpValue", "-", "Return", "binary", "encoding", "of", "the", "jump", "target", "operand", "."], "TS_V_token": ["Mips", "Mips", "\"Unimplemented function.\"", "0"], "File": "MipsCodeEmitter11", "Func": "getJumpOffset16OpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22367, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "arm_add_stmt_cost", "(", "vec_info", "*", "vinfo", ",", "void", "*", "data", ",", "int", "count", ",", "enum", "vect_cost_for_stmt", "kind", ",", "struct", "_stmt_vec_info", "*", "stmt_info", ",", "tree", "vectype", ",", "int", "misalign", ",", "enum", "vect_cost_model_location", "where", ")", "{", "unsigned", "*", "cost", "=", "(", "unsigned", "*", ")", "data", ";", "unsigned", "retval", "=", "0", ";", "if", "(", "flag_vect_cost_model", ")", "{", "int", "stmt_cost", "=", "arm_builtin_vectorization_cost", "(", "kind", ",", "vectype", ",", "misalign", ")", ";", "if", "(", "where", "==", "vect_body", "&&", "stmt_info", "&&", "stmt_in_inner_loop_p", "(", "vinfo", ",", "stmt_info", ")", ")", "count", "*=", "50", ";", "retval", "=", "(", "unsigned", ")", "(", "count", "*", "stmt_cost", ")", ";", "cost", "[", "where", "]", "+=", "retval", ";", "}", "return", "retval", ";", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.add_stmt_cost", "."], "TS_V_token": ["arm", "0", "50"], "File": "arm1", "Func": "arm_add_stmt_cost", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22368, "Length": 109, "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": 22369, "Length": 435, "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", ".", "isOSWindows", "(", ")", ")", "{", "if", "(", "STI", ".", "is32Bit", "(", ")", ")", "return", "true", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "X86", "::", "CATCHRET", ")", "{", "const", "Function", "*", "Func", "=", "MBB", ".", "getParent", "(", ")", "->", "getFunction", "(", ")", ";", "bool", "IsSEH", "=", "isAsynchronousEHPersonality", "(", "classifyEHPersonality", "(", "Func", "->", "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", ";", "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", ")", ".", "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", "X86::POP64r", "X86::POP32r", "0", "X86::GR64RegClass", "X86::GR32RegClass"], "File": "X86FrameLowering122", "Func": "restoreCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22370, "Length": 330, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "noncall_uses_reg", "(", "rtx", "reg", ",", "rtx", "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", "&&", "GET_CODE", "(", "SET_DEST", "(", "pattern", ")", ")", "==", "REG", "&&", "REGNO", "(", "reg", ")", "==", "REGNO", "(", "SET_DEST", "(", "pattern", ")", ")", ")", "*", "set", "=", "pattern", ";", "return", "0", ";", "}", "if", "(", "GET_CODE", "(", "insn", ")", "!=", "CALL_INSN", ")", "{", "pattern", "=", "single_set", "(", "insn", ")", ";", "if", "(", "pattern", "&&", "GET_CODE", "(", "SET_DEST", "(", "pattern", ")", ")", "==", "REG", "&&", "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", "1", ";", "}", "return", "reg_mentioned_p", "(", "reg", ",", "SET_SRC", "(", "pattern", ")", ")", ";", "}", "return", "1", ";", "}", "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", "1", ";", "pattern", "=", "XVECEXP", "(", "pattern", ",", "0", ",", "0", ")", ";", "}", "if", "(", "GET_CODE", "(", "pattern", ")", "==", "SET", ")", "{", "if", "(", "reg_mentioned_p", "(", "reg", ",", "SET_DEST", "(", "pattern", ")", ")", ")", "{", "if", "(", "GET_CODE", "(", "SET_DEST", "(", "pattern", ")", ")", "!=", "REG", "||", "REGNO", "(", "reg", ")", "!=", "REGNO", "(", "SET_DEST", "(", "pattern", ")", ")", ")", "return", "1", ";", "*", "set", "=", "pattern", ";", "}", "pattern", "=", "SET_SRC", "(", "pattern", ")", ";", "}", "if", "(", "GET_CODE", "(", "pattern", ")", "!=", "CALL", "||", "GET_CODE", "(", "XEXP", "(", "pattern", ",", "0", ")", ")", "!=", "MEM", "||", "!", "rtx_equal_p", "(", "reg", ",", "XEXP", "(", "XEXP", "(", "pattern", ",", "0", ")", ",", "0", ")", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "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", "0", "1", "0", "0", "1", "1", "0", "1", "1", "0", "1", "0", "0", "1", "0", "0", "0", "1", "0"], "File": "sh3", "Func": "noncall_uses_reg", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22371, "Length": 414, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "sh_preferred_reload_class", "(", "rtx", "x", "ATTRIBUTE_UNUSED", ",", "reg_class_t", "rclass", ")", "{", "return", "rclass", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PREFERRED_RELOAD_CLASS", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "sh_preferred_reload_class", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22372, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64RegisterInfo", "::", "isAsmClobberable", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "PhysReg", ")", "const", "{", "return", "!", "isReservedReg", "(", "MF", ",", "PhysReg", ")", ";", "}", ""], "natrual_language": ["Returns", "false", "if", "we", "ca", "n't", "guarantee", "that", "Physreg", ",", "specified", "as", "an", "IR", "asm", "clobber", "constraint", ",", "will", "be", "preserved", "across", "the", "statement", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64RegisterInfo", "Func": "isAsmClobberable", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22373, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "emitSymbolAttribute", "(", "MCSymbol", "*", "Symbol", ",", "MCSymbolAttr", "Attribute", ")", "override", "{", "bool", "Val", "=", "MCELFStreamer", "::", "emitSymbolAttribute", "(", "Symbol", ",", "Attribute", ")", ";", "if", "(", "!", "IsThumb", ")", "return", "Val", ";", "unsigned", "Type", "=", "cast", "<", "MCSymbolELF", ">", "(", "Symbol", ")", "->", "getType", "(", ")", ";", "if", "(", "(", "Type", "==", "ELF", "::", "STT_FUNC", "||", "Type", "==", "ELF", "::", "STT_GNU_IFUNC", ")", "&&", "Symbol", "->", "isDefined", "(", ")", ")", "getAssembler", "(", ")", ".", "setIsThumbFunc", "(", "Symbol", ")", ";", "return", "Val", ";", "}", ""], "natrual_language": ["Add", "the", "given", "Attribute", "to", "Symbol", "."], "TS_V_token": ["ARM"], "File": "ARMELFStreamer22", "Func": "emitSymbolAttribute", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22374, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiAsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", ",", "uint64_t", "Value", ",", "bool", ",", "MCContext", "&", ")", "const", "{", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "static_cast", "<", "unsigned", ">", "(", "Kind", ")", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "+", "7", ")", "/", "8", ";", "unsigned", "FullSize", "=", "4", ";", "uint64_t", "CurVal", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "(", "FullSize", "-", "1", "-", "i", ")", ";", "CurVal", "|=", "static_cast", "<", "uint64_t", ">", "(", "static_cast", "<", "uint8_t", ">", "(", "Data", "[", "Offset", "+", "Idx", "]", ")", ")", "<<", "(", "i", "*", "8", ")", ";", "}", "uint64_t", "Mask", "=", "(", "static_cast", "<", "uint64_t", ">", "(", "-", "1", ")", ">>", "(", "64", "-", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", ")", ";", "CurVal", "|=", "Value", "&", "Mask", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "(", "FullSize", "-", "1", "-", "i", ")", ";", "Data", "[", "Offset", "+", "Idx", "]", "=", "static_cast", "<", "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": ["Lanai", "Lanai", "7", "8", "4", "0", "0", "1", "8", "1", "64", "0", "1", "8", "0xff"], "File": "LanaiAsmBackend17", "Func": "applyFixup", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22375, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCFastISel", "::", "isTypeLegal", "(", "Type", "*", "Ty", ",", "MVT", "&", "VT", ")", "{", "EVT", "Evt", "=", "TLI", ".", "getValueType", "(", "DL", ",", "Ty", ",", "true", ")", ";", "if", "(", "Evt", "==", "MVT", "::", "Other", "||", "!", "Evt", ".", "isSimple", "(", ")", ")", "return", "false", ";", "VT", "=", "Evt", ".", "getSimpleVT", "(", ")", ";", "return", "TLI", ".", "isTypeLegal", "(", "VT", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "type", "is", "legal", "."], "TS_V_token": ["PowerPC", "PPC", "MVT::Other"], "File": "PPCFastISel (2)", "Func": "isTypeLegal", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22376, "Length": 63, "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", ";", "}", "if", "(", "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-steering", "Func": "analyze", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22377, "Length": 357, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isProfitableToUnpredicate", "(", "MachineBasicBlock", "&", "TMBB", ",", "MachineBasicBlock", "&", "FMBB", ")", "const", "{", "return", "Subtarget", ".", "isProfitableToUnpredicate", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "'s", "profitable", "to", "unpredicate", "one", "side", "of", "a", "'diamond", "'", ",", "i.e", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMBaseInstrInfo (2)2", "Func": "isProfitableToUnpredicate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22378, "Length": 23, "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", "(", "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", ")", "{", "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", ")", "{", "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", ")", "{", "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", ")", "{", "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": "i3864", "Func": "type_natural_mode", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22379, "Length": 469, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64RegisterBankInfo", "::", "applyMappingImpl", "(", "const", "OperandsMapper", "&", "OpdMapper", ")", "const", "{", "switch", "(", "OpdMapper", ".", "getMI", "(", ")", ".", "getOpcode", "(", ")", ")", "{", "case", "TargetOpcode", "::", "G_OR", ":", "case", "TargetOpcode", "::", "G_BITCAST", ":", "case", "TargetOpcode", "::", "G_LOAD", ":", "{", "assert", "(", "(", "OpdMapper", ".", "getInstrMapping", "(", ")", ".", "getID", "(", ")", ">=", "1", "&&", "OpdMapper", ".", "getInstrMapping", "(", ")", ".", "getID", "(", ")", "<=", "4", ")", "&&", "\"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", "4", "\"Don't know how to handle that ID\"", "\"Don't know how to handle that operation\""], "File": "AArch64RegisterBankInfo16", "Func": "applyMappingImpl", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22380, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "promote_duplicated_reg_to_size", "(", "rtx", "val", ",", "int", "size_needed", ",", "int", "desired_align", ",", "int", "align", ")", "{", "rtx", "promoted_val", ";", "if", "(", "TARGET_64BIT", "&&", "(", "size_needed", ">", "4", "||", "(", "desired_align", ">", "align", "&&", "desired_align", ">", "4", ")", ")", ")", "promoted_val", "=", "promote_duplicated_reg", "(", "DImode", ",", "val", ")", ";", "else", "if", "(", "size_needed", ">", "2", "||", "(", "desired_align", ">", "align", "&&", "desired_align", ">", "2", ")", ")", "promoted_val", "=", "promote_duplicated_reg", "(", "SImode", ",", "val", ")", ";", "else", "if", "(", "size_needed", ">", "1", "||", "(", "desired_align", ">", "align", "&&", "desired_align", ">", "1", ")", ")", "promoted_val", "=", "promote_duplicated_reg", "(", "HImode", ",", "val", ")", ";", "else", "promoted_val", "=", "val", ";", "return", "promoted_val", ";", "}", ""], "natrual_language": ["Duplicate", "value", "VAL", "using", "promote_duplicated_reg", "into", "maximal", "size", "that", "will", "be", "needed", "by", "main", "loop", "copying", "SIZE_NEEDED", "chunks", "and", "prologue", "getting", "alignment", "from", "ALIGN", "to", "DESIRED_ALIGN", "."], "TS_V_token": ["i386", "4", "4", "2", "2", "1", "1"], "File": "i386-expand", "Func": "promote_duplicated_reg_to_size", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22381, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64FrameLowering", "::", "resetCFIToInitialState", "(", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "auto", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "const", "auto", "&", "TRI", "=", "static_cast", "<", "const", "AArch64RegisterInfo", "&", ">", "(", "*", "Subtarget", ".", "getRegisterInfo", "(", ")", ")", ";", "const", "auto", "&", "MFI", "=", "*", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "const", "MCInstrDesc", "&", "CFIDesc", "=", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ";", "DebugLoc", "DL", ";", "MachineBasicBlock", "::", "iterator", "InsertPt", "=", "MBB", ".", "begin", "(", ")", ";", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "cfiDefCfa", "(", "nullptr", ",", "TRI", ".", "getDwarfRegNum", "(", "AArch64", "::", "SP", ",", "true", ")", ",", "0", ")", ")", ";", "BuildMI", "(", "MBB", ",", "InsertPt", ",", "DL", ",", "CFIDesc", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "if", "(", "MFI", ".", "shouldSignReturnAddress", "(", ")", ")", "{", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createNegateRAState", "(", "nullptr", ")", ")", ";", "BuildMI", "(", "MBB", ",", "InsertPt", ",", "DL", ",", "CFIDesc", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "}", "if", "(", "needsShadowCallStackPrologueEpilogue", "(", "MF", ")", ")", "insertCFISameValue", "(", "CFIDesc", ",", "MF", ",", "MBB", ",", "InsertPt", ",", "TRI", ".", "getDwarfRegNum", "(", "AArch64", "::", "X18", ",", "true", ")", ")", ";", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getCalleeSavedInfo", "(", ")", ";", "for", "(", "const", "auto", "&", "Info", ":", "CSI", ")", "{", "unsigned", "Reg", "=", "Info", ".", "getReg", "(", ")", ";", "if", "(", "!", "TRI", ".", "regNeedsCFI", "(", "Reg", ",", "Reg", ")", ")", "continue", ";", "insertCFISameValue", "(", "CFIDesc", ",", "MF", ",", "MBB", ",", "InsertPt", ",", "TRI", ".", "getDwarfRegNum", "(", "Reg", ",", "true", ")", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "CFI", "instructions", "that", "recreate", "the", "state", "of", "the", "unwind", "information", "upon", "fucntion", "entry", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64::SP", "0", "AArch64::X18"], "File": "AArch64FrameLowering38", "Func": "resetCFIToInitialState", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22382, "Length": 299, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "shouldForceRelocation", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ")", "override", "{", "switch", "(", "(", "VE", "::", "Fixups", ")", "Fixup", ".", "getKind", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "VE", "::", "fixup_ve_tls_gd_hi32", ":", "case", "VE", "::", "fixup_ve_tls_gd_lo32", ":", "case", "VE", "::", "fixup_ve_tpoff_hi32", ":", "case", "VE", "::", "fixup_ve_tpoff_lo32", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Hook", "to", "check", "if", "a", "relocation", "is", "needed", "for", "some", "target", "specific", "reason", "."], "TS_V_token": ["VE", "VE::Fixups", "VE::fixup_ve_tls_gd_hi32", "VE::fixup_ve_tls_gd_lo32", "VE::fixup_ve_tpoff_hi32", "VE::fixup_ve_tpoff_lo32"], "File": "VEAsmBackend", "Func": "shouldForceRelocation", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22383, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "switch", "(", "Kind", ")", "{", "case", "k_Immediate", ":", "OS", "<<", "\"Imm<\"", ";", "OS", "<<", "*", "Imm", ".", "Val", ";", "OS", "<<", "\">\"", ";", "break", ";", "case", "k_Memory", ":", "OS", "<<", "\"Mem<\"", ";", "Mem", ".", "Base", "->", "print", "(", "OS", ")", ";", "OS", "<<", "\", \"", ";", "OS", "<<", "*", "Mem", ".", "Off", ";", "OS", "<<", "\">\"", ";", "break", ";", "case", "k_RegisterIndex", ":", "OS", "<<", "\"RegIdx<\"", "<<", "RegIdx", ".", "Index", "<<", "\":\"", "<<", "RegIdx", ".", "Kind", "<<", "\">\"", ";", "break", ";", "case", "k_Token", ":", "OS", "<<", "Tok", ".", "Data", ";", "break", ";", "case", "k_RegList", ":", "OS", "<<", "\"RegList< \"", ";", "for", "(", "auto", "Reg", ":", "(", "*", "RegList", ".", "List", ")", ")", "OS", "<<", "Reg", "<<", "\" \"", ";", "OS", "<<", "\">\"", ";", "break", ";", "case", "k_RegPair", ":", "OS", "<<", "\"RegPair<\"", "<<", "RegIdx", ".", "Index", "<<", "\",\"", "<<", "RegIdx", ".", "Index", "+", "1", "<<", "\">\"", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["Mips", "\"Imm<\"", "\">\"", "\"Mem<\"", "\", \"", "\">\"", "\"RegIdx<\"", "\":\"", "\">\"", "\"RegList< \"", "\" \"", "\">\"", "\"RegPair<\"", "\",\"", "1", "\">\""], "File": "MipsAsmParser90", "Func": "print", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22384, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "load_reg", "(", "int", "reg", ",", "HOST_WIDE_INT", "disp", ",", "int", "base", ")", "{", "rtx", "dest", "=", "gen_rtx_REG", "(", "word_mode", ",", "reg", ")", ";", "rtx", "basereg", "=", "gen_rtx_REG", "(", "Pmode", ",", "base", ")", ";", "rtx", "src", ";", "if", "(", "VAL_14_BITS_P", "(", "disp", ")", ")", "src", "=", "gen_rtx_MEM", "(", "word_mode", ",", "plus_constant", "(", "Pmode", ",", "basereg", ",", "disp", ")", ")", ";", "else", "if", "(", "TARGET_64BIT", "&&", "!", "VAL_32_BITS_P", "(", "disp", ")", ")", "{", "rtx", "delta", "=", "GEN_INT", "(", "disp", ")", ";", "rtx", "tmpreg", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "emit_move_insn", "(", "tmpreg", ",", "delta", ")", ";", "if", "(", "TARGET_DISABLE_INDEXING", ")", "{", "emit_move_insn", "(", "tmpreg", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "tmpreg", ",", "basereg", ")", ")", ";", "src", "=", "gen_rtx_MEM", "(", "word_mode", ",", "tmpreg", ")", ";", "}", "else", "src", "=", "gen_rtx_MEM", "(", "word_mode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "tmpreg", ",", "basereg", ")", ")", ";", "}", "else", "{", "rtx", "delta", "=", "GEN_INT", "(", "disp", ")", ";", "rtx", "high", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "basereg", ",", "gen_rtx_HIGH", "(", "Pmode", ",", "delta", ")", ")", ";", "rtx", "tmpreg", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "emit_move_insn", "(", "tmpreg", ",", "high", ")", ";", "src", "=", "gen_rtx_MEM", "(", "word_mode", ",", "gen_rtx_LO_SUM", "(", "Pmode", ",", "tmpreg", ",", "delta", ")", ")", ";", "}", "emit_move_insn", "(", "dest", ",", "src", ")", ";", "}", ""], "natrual_language": ["Emit", "RTL", "to", "load", "REG", "from", "the", "memory", "location", "specified", "by", "BASE+DISP", ".", "Handle", "case", "where", "DISP", ">", "8k", "by", "using", "the", "add_high_const", "patterns", "."], "TS_V_token": ["pa", "1", "1"], "File": "pa", "Func": "load_reg", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22385, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ArrayRef", "<", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">>", "ARMBaseInstrInfo", "::", "getSerializableBitmaskMachineOperandTargetFlags", "(", ")", "const", "{", "using", "namespace", "ARMII", ";", "static", "const", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">", "TargetFlags", "[", "]", "=", "{", "{", "MO_COFFSTUB", ",", "\"arm-coffstub\"", "}", ",", "{", "MO_GOT", ",", "\"arm-got\"", "}", ",", "{", "MO_SBREL", ",", "\"arm-sbrel\"", "}", ",", "{", "MO_DLLIMPORT", ",", "\"arm-dllimport\"", "}", ",", "{", "MO_SECREL", ",", "\"arm-secrel\"", "}", ",", "{", "MO_NONLAZY", ",", "\"arm-nonlazy\"", "}", "}", ";", "return", "makeArrayRef", "(", "TargetFlags", ")", ";", "}", ""], "natrual_language": ["Return", "an", "array", "that", "contains", "the", "bitmask", "target", "flag", "values", "and", "their", "names", "."], "TS_V_token": ["ARM", "ARM", "ARM", "\"arm-coffstub\"", "\"arm-got\"", "\"arm-sbrel\"", "\"arm-dllimport\"", "\"arm-secrel\"", "\"arm-nonlazy\""], "File": "ARMBaseInstrInfo1", "Func": "getSerializableBitmaskMachineOperandTargetFlags", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22386, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_address_register_rtx_p", "(", "rtx", "x", ",", "int", "strict_p", ")", "{", "int", "regno", ";", "if", "(", "!", "REG_P", "(", "x", ")", ")", "return", "0", ";", "regno", "=", "REGNO", "(", "x", ")", ";", "if", "(", "strict_p", ")", "return", "ARM_REGNO_OK_FOR_BASE_P", "(", "regno", ")", ";", "return", "(", "regno", "<=", "LAST_ARM_REGNUM", "||", "regno", ">=", "FIRST_PSEUDO_REGISTER", "||", "regno", "==", "FRAME_POINTER_REGNUM", "||", "regno", "==", "ARG_POINTER_REGNUM", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "X", "is", "valid", "as", "an", "ARM", "state", "addressing", "register", "."], "TS_V_token": ["arm", "0"], "File": "arm", "Func": "arm_address_register_rtx_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22387, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetLowering", "::", "HandleByVal", "(", "CCState", "*", "State", ",", "unsigned", "&", "size", ",", "unsigned", "Align", ")", "const", "{", "unsigned", "reg", "=", "State", "->", "AllocateReg", "(", "GPRArgRegs", ",", "4", ")", ";", "assert", "(", "(", "State", "->", "getCallOrPrologue", "(", ")", "==", "Prologue", "||", "State", "->", "getCallOrPrologue", "(", ")", "==", "Call", ")", "&&", "\"unhandled ParmContext\"", ")", ";", "if", "(", "(", "!", "State", "->", "isFirstByValRegValid", "(", ")", ")", "&&", "(", "ARM", "::", "R0", "<=", "reg", ")", "&&", "(", "reg", "<=", "ARM", "::", "R3", ")", ")", "{", "if", "(", "Subtarget", "->", "isAAPCS_ABI", "(", ")", "&&", "Align", ">", "4", ")", "{", "unsigned", "AlignInRegs", "=", "Align", "/", "4", ";", "unsigned", "Waste", "=", "(", "ARM", "::", "R4", "-", "reg", ")", "%", "AlignInRegs", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Waste", ";", "++", "i", ")", "reg", "=", "State", "->", "AllocateReg", "(", "GPRArgRegs", ",", "4", ")", ";", "}", "if", "(", "reg", "!=", "0", ")", "{", "State", "->", "setFirstByValReg", "(", "reg", ")", ";", "if", "(", "State", "->", "getCallOrPrologue", "(", ")", "==", "Call", ")", "{", "unsigned", "excess", "=", "4", "*", "(", "ARM", "::", "R4", "-", "reg", ")", ";", "assert", "(", "size", ">=", "excess", "&&", "\"expected larger existing stack allocation\"", ")", ";", "size", "-=", "excess", ";", "}", "}", "}", "while", "(", "State", "->", "AllocateReg", "(", "GPRArgRegs", ",", "4", ")", ")", ";", "}", ""], "natrual_language": ["Target-specific", "cleanup", "for", "formal", "ByVal", "parameters", "."], "TS_V_token": ["ARM", "ARM", "4", "\"unhandled ParmContext\"", "ARM::R0", "ARM::R3", "4", "4", "ARM::R4", "0", "4", "0", "4", "ARM::R4", "\"expected larger existing stack allocation\"", "4"], "File": "ARMISelLowering107", "Func": "HandleByVal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22388, "Length": 207, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "SelectAddressPCRel", "(", "SDValue", "N", ",", "SDValue", "&", "Base", ")", "const", "{", "ConstantPoolSDNode", "*", "ConstPoolNode", "=", "dyn_cast", "<", "ConstantPoolSDNode", ">", "(", "N", ".", "getNode", "(", ")", ")", ";", "bool", "HasFlag", "=", "ConstPoolNode", "&&", "ConstPoolNode", "->", "getTargetFlags", "(", ")", "==", "PPCII", "::", "MO_PCREL_FLAG", ";", "bool", "HasNode", "=", "N", ".", "getOpcode", "(", ")", "==", "PPCISD", "::", "MAT_PCREL_ADDR", ";", "if", "(", "HasFlag", "||", "HasNode", ")", "{", "Base", "=", "N", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["SelectAddressPCRel", "-", "Represent", "the", "specified", "address", "as", "pc", "relative", "to", "be", "represented", "as", "[", "pc+imm", "]", "."], "TS_V_token": ["PowerPC", "PPC", "PPCII::MO_PCREL_FLAG", "PPCISD::MAT_PCREL_ADDR"], "File": "PPCISelLowering25", "Func": "SelectAddressPCRel", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22389, "Length": 77, "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": 22390, "Length": 266, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "OR1KFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "OR1KRegisterInfo", "*", "TRI", "=", "static_cast", "<", "const", "OR1KRegisterInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "bool", "IsPIC", "=", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ";", "int", "Offset", "=", "-", "4", ";", "if", "(", "MFI", "->", "adjustsStack", "(", ")", "||", "IsPIC", ")", "{", "MFI", "->", "CreateFixedObject", "(", "4", ",", "Offset", ",", "true", ")", ";", "SavedRegs", ".", "set", "(", "OR1K", "::", "R9", ")", ";", "Offset", "-=", "4", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "MFI", "->", "CreateFixedObject", "(", "4", ",", "Offset", ",", "true", ")", ";", "Offset", "-=", "4", ";", "}", "if", "(", "TRI", "->", "hasBasePointer", "(", "MF", ")", ")", "{", "MFI", "->", "CreateFixedObject", "(", "4", ",", "Offset", ",", "true", ")", ";", "SavedRegs", ".", "set", "(", "TRI", "->", "getBaseRegister", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["OR1K", "OR1K", "OR1K", "OR1K", "4", "4", "OR1K::R9", "4", "4", "4", "4"], "File": "OR1KFrameLowering1", "Func": "determineCalleeSaves", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22391, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "UPTInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "UPT", "::", "STR", ")", ")", ".", "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": ["UPT", "UPT", "UPT::STR", "0"], "File": "UPTInstrInfo", "Func": "storeRegToStackSlot", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22392, "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", "(", ")", ";", "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", ")", ";", "}", "}", "}", ""], "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": "AArch64AsmBackend49", "Func": "applyFixup", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22393, "Length": 262, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "getMemOperandWithOffsetWidth", "(", "const", "MachineInstr", "&", "LdSt", ",", "const", "MachineOperand", "*", "&", "BaseOp", ",", "int64_t", "&", "Offset", ",", "unsigned", "&", "Width", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "assert", "(", "LdSt", ".", "mayLoadOrStore", "(", ")", "&&", "\"Expected a memory operation.\"", ")", ";", "if", "(", "LdSt", ".", "getNumExplicitOperands", "(", ")", "==", "3", ")", "{", "if", "(", "(", "!", "LdSt", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "&&", "!", "LdSt", ".", "getOperand", "(", "1", ")", ".", "isFI", "(", ")", ")", "||", "!", "LdSt", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", ")", "return", "false", ";", "}", "else", "if", "(", "LdSt", ".", "getNumExplicitOperands", "(", ")", "==", "4", ")", "{", "if", "(", "!", "LdSt", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "||", "(", "!", "LdSt", ".", "getOperand", "(", "2", ")", ".", "isReg", "(", ")", "&&", "!", "LdSt", ".", "getOperand", "(", "2", ")", ".", "isFI", "(", ")", ")", "||", "!", "LdSt", ".", "getOperand", "(", "3", ")", ".", "isImm", "(", ")", ")", "return", "false", ";", "}", "else", "return", "false", ";", "unsigned", "Scale", "=", "0", ";", "int64_t", "Dummy1", ",", "Dummy2", ";", "if", "(", "!", "getMemOpInfo", "(", "LdSt", ".", "getOpcode", "(", ")", ",", "Scale", ",", "Width", ",", "Dummy1", ",", "Dummy2", ")", ")", "return", "false", ";", "if", "(", "LdSt", ".", "getNumExplicitOperands", "(", ")", "==", "3", ")", "{", "BaseOp", "=", "&", "LdSt", ".", "getOperand", "(", "1", ")", ";", "Offset", "=", "LdSt", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "*", "Scale", ";", "}", "else", "{", "assert", "(", "LdSt", ".", "getNumExplicitOperands", "(", ")", "==", "4", "&&", "\"invalid number of operands\"", ")", ";", "BaseOp", "=", "&", "LdSt", ".", "getOperand", "(", "2", ")", ";", "Offset", "=", "LdSt", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "*", "Scale", ";", "}", "if", "(", "!", "BaseOp", "->", "isReg", "(", ")", "&&", "!", "BaseOp", "->", "isFI", "(", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "get", "the", "base", "operand", ",", "byte", "offset", "of", "an", "instruction", "and", "the", "memory", "width", "."], "TS_V_token": ["AArch64", "AArch64", "\"Expected a memory operation.\"", "3", "1", "1", "2", "4", "1", "2", "2", "3", "0", "3", "1", "2", "4", "\"invalid number of operands\"", "2", "3"], "File": "AArch64InstrInfo120", "Func": "getMemOperandWithOffsetWidth", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22394, "Length": 303, "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": 22395, "Length": 244, "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": 22396, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86RegisterInfo", "::", "findDeadCallerSavedReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ")", "const", "{", "const", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "if", "(", "MF", "->", "callsEHReturn", "(", ")", ")", "return", "0", ";", "const", "TargetRegisterClass", "&", "AvailableRegs", "=", "*", "getGPRsForTailCall", "(", "*", "MF", ")", ";", "if", "(", "MBBI", "==", "MBB", ".", "end", "(", ")", ")", "return", "0", ";", "switch", "(", "MBBI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "TargetOpcode", "::", "PATCHABLE_RET", ":", "case", "X86", "::", "RET", ":", "case", "X86", "::", "RET32", ":", "case", "X86", "::", "RET64", ":", "case", "X86", "::", "RETI32", ":", "case", "X86", "::", "RETI64", ":", "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", ";", "Register", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "if", "(", "!", "Reg", ")", "continue", ";", "for", "(", "MCRegAliasIterator", "AI", "(", "Reg", ",", "this", ",", "true", ")", ";", "AI", ".", "isValid", "(", ")", ";", "++", "AI", ")", "Uses", ".", "insert", "(", "*", "AI", ")", ";", "}", "for", "(", "auto", "CS", ":", "AvailableRegs", ")", "if", "(", "!", "Uses", ".", "count", "(", "CS", ")", "&&", "CS", "!=", "X86", "::", "RIP", "&&", "CS", "!=", "X86", "::", "RSP", "&&", "CS", "!=", "X86", "::", "ESP", ")", "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::RET32", "X86::RET64", "X86::RETI32", "X86::RETI64", "X86::TCRETURNdi", "X86::TCRETURNri", "X86::TCRETURNmi", "X86::TCRETURNdi64", "X86::TCRETURNri64", "X86::TCRETURNmi64", "X86::EH_RETURN", "X86::EH_RETURN64", "8", "0", "X86::RIP", "X86::RSP", "X86::ESP", "0"], "File": "X86RegisterInfo28", "Func": "findDeadCallerSavedReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22397, "Length": 298, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ia64_spec_check_p", "(", "rtx", "x", ")", "{", "x", "=", "PATTERN", "(", "x", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "COND_EXEC", ")", "x", "=", "COND_EXEC_CODE", "(", "x", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "SET", ")", "return", "ia64_spec_check_src_p", "(", "SET_SRC", "(", "x", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "nonzero", ",", "if", "X", "is", "branchy", "recovery", "check", "."], "TS_V_token": ["ia64", "0"], "File": "ia64", "Func": "ia64_spec_check_p", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22398, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc_flat_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", "(", "frame_pointer_needed", "&&", "!", "for_eh", ")", "emit_move_insn", "(", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ",", "hard_frame_pointer_rtx", ")", ";", "if", "(", "return_addr_reg_needed_p", "(", "sparc_leaf_function_p", ")", ")", "emit_move_insn", "(", "gen_rtx_REG", "(", "Pmode", ",", "INCOMING_RETURN_ADDR_REGNUM", ")", ",", "gen_rtx_REG", "(", "Pmode", ",", "RETURN_ADDR_REGNUM", ")", ")", ";", "if", "(", "sparc_save_local_in_regs_p", ")", "emit_save_or_restore_local_in_regs", "(", "sparc_frame_base_reg", ",", "sparc_frame_base_offset", ",", "SORR_RESTORE", ")", ";", "if", "(", "size", "==", "0", "||", "for_eh", ")", ";", "else", "if", "(", "frame_pointer_needed", ")", "{", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "emit_move_insn", "(", "stack_pointer_rtx", ",", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "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", "1", "0", "1", "4096", "8192", "4096", "4096", "1"], "File": "sparc", "Func": "sparc_flat_expand_epilogue", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22399, "Length": 212, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FrameLowering", "::", "canUseRedZone", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "!", "EnableRedZone", ")", "return", "false", ";", "if", "(", "MF", ".", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "Attribute", "::", "NoRedZone", ")", ")", "return", "false", ";", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "AArch64FunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "unsigned", "NumBytes", "=", "AFI", "->", "getLocalStackSize", "(", ")", ";", "if", "(", "MFI", "->", "hasCalls", "(", ")", "||", "hasFP", "(", "MF", ")", "||", "NumBytes", ">", "128", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Can", "this", "function", "use", "the", "red", "zone", "for", "local", "allocations", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "128"], "File": "AArch64FrameLowering (2)", "Func": "canUseRedZone", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22400, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TargetLowering", "::", "getNumRegistersForCallingConv", "(", "LLVMContext", "&", "Context", ",", "EVT", "VT", ")", "const", "{", "if", "(", "VT", "==", "MVT", "::", "v32i1", "&&", "Subtarget", ".", "hasAVX512", "(", ")", "&&", "!", "Subtarget", ".", "hasBWI", "(", ")", ")", "return", "1", ";", "return", "TargetLowering", "::", "getNumRegistersForCallingConv", "(", "Context", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Certain", "targets", "require", "unusual", "breakdowns", "of", "certain", "types", "."], "TS_V_token": ["X86", "X86", "MVT::v32i1", "1"], "File": "X86ISelLowering102", "Func": "getNumRegistersForCallingConv", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22401, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TTI", "::", "getIntImmCost", "(", "unsigned", "Opcode", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "const", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", ")", "return", "~", "0U", ";", "unsigned", "ImmIdx", "=", "~", "0U", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "TCC_Free", ";", "case", "Instruction", "::", "GetElementPtr", ":", "if", "(", "Idx", "==", "0", ")", "return", "2", "*", "TCC_Basic", ";", "return", "TCC_Free", ";", "case", "Instruction", "::", "Store", ":", "ImmIdx", "=", "0", ";", "break", ";", "case", "Instruction", "::", "Add", ":", "case", "Instruction", "::", "Sub", ":", "case", "Instruction", "::", "Mul", ":", "case", "Instruction", "::", "UDiv", ":", "case", "Instruction", "::", "SDiv", ":", "case", "Instruction", "::", "URem", ":", "case", "Instruction", "::", "SRem", ":", "case", "Instruction", "::", "And", ":", "case", "Instruction", "::", "Or", ":", "case", "Instruction", "::", "Xor", ":", "case", "Instruction", "::", "ICmp", ":", "ImmIdx", "=", "1", ";", "break", ";", "case", "Instruction", "::", "Shl", ":", "case", "Instruction", "::", "LShr", ":", "case", "Instruction", "::", "AShr", ":", "if", "(", "Idx", "==", "1", ")", "return", "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", ")", "&&", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", "&&", "isInt", "<", "32", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "return", "TCC_Free", ";", "return", "X86TTI", "::", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["X86", "X86", "0", "0U", "0U", "0", "2", "0", "1", "1", "64", "32", "X86"], "File": "X86TargetTransformInfo76", "Func": "getIntImmCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22402, "Length": 283, "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", ",", "CodeModel", "::", "Small", ")", ",", "OL", ")", ",", "TargetABI", "(", "computeTargetABI", "(", "TT", ",", "CPU", ",", "Options", ")", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", ",", "isLittle", "(", "isLittle", ")", "{", "if", "(", "Options", ".", "FloatABIType", "==", "FloatABI", "::", "Default", ")", "{", "if", "(", "isTargetHardFloat", "(", ")", ")", "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", ";", "}", "setSupportsDebugEntryValues", "(", "true", ")", ";", "initAsmInfo", "(", ")", ";", "setMachineOutliner", "(", "true", ")", ";", "setSupportsDefaultOutlining", "(", "false", ")", ";", "}", ""], "natrual_language": ["Create", "an", "ARM", "architecture", "model", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMTargetMachine48", "Func": "ARMBaseTargetMachine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22403, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_init_expanders", "(", "void", ")", "{", "init_machine_status", "=", "arm_init_machine_status", ";", "if", "(", "cfun", ")", "mark_reg_pointer", "(", "arg_pointer_rtx", ",", "PARM_BOUNDARY", ")", ";", "}", ""], "natrual_language": ["Do", "anything", "needed", "before", "RTL", "is", "emitted", "for", "each", "function", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_init_expanders", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22404, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FPGATTIImpl", "::", "isLegalMaskedLoad", "(", "Type", "*", "DataType", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "load", "."], "TS_V_token": ["FPGA", "FPGA"], "File": "FPGATargetTransformInfo", "Func": "isLegalMaskedLoad", "Target": "FPGA", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22405, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PassConfig", "::", "addILPOpts", "(", ")", "{", "if", "(", "EnableCondOpt", ")", "addPass", "(", "createAArch64ConditionOptimizerPass", "(", ")", ")", ";", "if", "(", "EnableCCMP", ")", "addPass", "(", "createAArch64ConditionalCompares", "(", ")", ")", ";", "if", "(", "EnableMCR", ")", "addPass", "(", "&", "MachineCombinerID", ")", ";", "if", "(", "EnableCondBrTuning", ")", "addPass", "(", "createAArch64CondBrTuning", "(", ")", ")", ";", "if", "(", "EnableEarlyIfConversion", ")", "addPass", "(", "&", "EarlyIfConverterID", ")", ";", "if", "(", "EnableStPairSuppress", ")", "addPass", "(", "createAArch64StorePairSuppressPass", "(", ")", ")", ";", "addPass", "(", "createAArch64VectorByElementOptPass", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Add", "passes", "that", "optimize", "instruction", "level", "parallelism", "for", "out-of-order", "targets", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine17", "Func": "addILPOpts", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22406, "Length": 82, "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": 22407, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sparc_modes_tieable_p", "(", "machine_mode", "mode1", ",", "machine_mode", "mode2", ")", "{", "enum", "mode_class", "mclass1", ",", "mclass2", ";", "unsigned", "short", "size1", ",", "size2", ";", "if", "(", "mode1", "==", "mode2", ")", "return", "true", ";", "mclass1", "=", "GET_MODE_CLASS", "(", "mode1", ")", ";", "mclass2", "=", "GET_MODE_CLASS", "(", "mode2", ")", ";", "if", "(", "mclass1", "!=", "mclass2", ")", "return", "false", ";", "if", "(", "!", "TARGET_V9", ")", "return", "true", ";", "if", "(", "mclass1", "!=", "MODE_FLOAT", "&&", "mclass1", "!=", "MODE_VECTOR_INT", ")", "return", "true", ";", "size1", "=", "GET_MODE_SIZE", "(", "mode1", ")", ";", "size2", "=", "GET_MODE_SIZE", "(", "mode2", ")", ";", "if", "(", "(", "size1", ">", "4", "&&", "size2", "==", "4", ")", "||", "(", "size2", ">", "4", "&&", "size1", "==", "4", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "it", "is", "a", "good", "idea", "to", "tie", "two", "pseudo", "registers", "when", "one", "has", "mode", "MODE1", "and", "one", "has", "mode", "MODE2", ".", "If", "HARD_REGNO_MODE_OK", "could", "produce", "different", "values", "for", "MODE1", "and", "MODE2", ",", "for", "any", "hard", "reg", ",", "then", "this", "must", "be", "FALSE", "for", "correct", "output", ".", "For", "V9", "we", "have", "to", "deal", "with", "the", "fact", "that", "only", "the", "lower", "32", "floating", "point", "registers", "are", "32-bit", "addressable", "."], "TS_V_token": ["sparc", "4", "4", "4", "4"], "File": "sparc4", "Func": "sparc_modes_tieable_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22408, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86ATTAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "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", "'b'", ":", "case", "'h'", ":", "case", "'w'", ":", "case", "'k'", ":", "case", "'q'", ":", "break", ";", "case", "'P'", ":", "printMemReference", "(", "MI", ",", "OpNo", ",", "\"mem\"", ",", "true", ")", ";", "return", "false", ";", "}", "}", "printMemReference", "(", "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": ["X86", "X86", "0", "1", "0", "0", "\"mem\""], "File": "X86ATTAsmPrinter", "Func": "PrintAsmMemoryOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22409, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "canUseAsEpilogue", "(", "const", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "assert", "(", "MBB", ".", "getParent", "(", ")", "&&", "\"Block is not attached to a function!\"", ")", ";", "if", "(", "canUseLEAForSPInEpilogue", "(", "*", "MBB", ".", "getParent", "(", ")", ")", ")", "return", "true", ";", "return", "!", "terminatorsNeedFlagsAsInput", "(", "MBB", ")", ";", "}", ""], "natrual_language": ["Check", "whether", "or", "not", "the", "given", "MBB", "can", "be", "used", "as", "a", "epilogue", "for", "the", "target", "."], "TS_V_token": ["X86", "X86", "\"Block is not attached to a function!\""], "File": "X86FrameLowering", "Func": "canUseAsEpilogue", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22410, "Length": 46, "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", "+", "X86", "::", "AddrNumOperands", "<=", "MI", ".", "getNumOperands", "(", ")", "&&", "MI", ".", "getOperand", "(", "Op", "+", "X86", "::", "AddrSegmentReg", ")", ".", "isReg", "(", ")", "&&", "isLeaMem", "(", "MI", ",", "Op", ")", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["X86", "X86::AddrNumOperands", "X86::AddrSegmentReg"], "File": "X86InstrInfo (2)2", "Func": "isMem", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 22411, "Length": 66, "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": ["powerpcspe", "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": "powerpcspe", "Func": "rs6000_file_start", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 22412, "Length": 442, "Cover_Rate": 1.0, "Template_token": []}